aboutsummaryrefslogtreecommitdiffstats
path: root/uiframe-iui/src/main/resources/webroot/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'uiframe-iui/src/main/resources/webroot/vendor')
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/animate/animate.min.css6
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/avalon/avalon.js5819
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/avalon/avalon.modern.js4440
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/daterangepicker-bs3.css319
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/daterangepicker.js1257
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/moment.js2808
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/moment.min.js6
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/css/fileinput.min.css11
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/img/loading-sm.gifbin2670 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/img/loading.gifbin847 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/js/fileinput.min.js19
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/js/fileinput_locale_LANG.js45
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/js/fileinput_locale_zh.js49
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-growl/bootstrap-growl.min.js2
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/css/bootstrap-modal-bs3patch.css51
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/css/bootstrap-modal.css214
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/img/ajax-loader.gifbin1737 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/js/bootstrap-modal.js378
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/js/bootstrap-modalmanager.js423
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-select/bootstrap-select.min.css7
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-select/bootstrap-select.min.js8
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-validation/jqBootstrapValidation.js912
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/bootstrap-wizard/jquery.bootstrap.wizard.min.js20
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/cometd/cometd.js3045
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/cometd/jquery.cometd.js139
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/DT_bootstrap.css240
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/DT_bootstrap.js363
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/DataTableICT.js1459
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/DataTableSmartClient.js1215
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/DataTableSmartClientApp.js1312
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/app-test-i18n-datatable-zh-CN.json51
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/app-universal-i18n-datatable-en-US.json89
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/app-universal-i18n-datatable-zh-CN.json90
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/dataTable.html155
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/loading-spinner-grey.gifbin5203 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/sort_asc.pngbin1118 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/sort_both.pngbin1136 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/sort_desc.pngbin1127 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/jquery.dataTables.js15268
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/jquery.dataTables.min.js166
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/data-tables/style-datatable.css154
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/delete.me0
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/echarts/echarts-all.js50
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/CHANGELOG.md51
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/README.md424
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/bower.json42
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/Thumbs.dbbin5120 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/banner.jpgbin32768 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/custom.css261
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/custom.styl1191
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/icheck.pngbin2382 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/arrow-bottom.pngbin184 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/arrow-top.pngbin175 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/header-line.pngbin611 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-fork.pngbin213 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-github.pngbin634 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-lab.pngbin683 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-options.pngbin666 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-star.pngbin348 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.eotbin13099 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.svg1490
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.ttfbin32768 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.woffbin15736 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.eotbin13114 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.svg1365
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.ttfbin32768 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.woffbin15692 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/normalize.css527
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/index.html1544
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/custom.js109
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/custom.min.js5
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/jquery.js4
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/zepto.js41
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/icheck.jquery.json48
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/icheck.js509
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/icheck.min.js11
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/all.css61
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/_all.css530
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/aero.css53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/aero.pngbin1520 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/aero@2x.pngbin3218 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/blue.css53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/blue.pngbin1518 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/blue@2x.pngbin3217 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/flat.css53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/flat.pngbin1515 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/flat@2x.pngbin3217 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/green.css53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/green.pngbin1444 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/green@2x.pngbin3117 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/grey.css53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/grey.pngbin1516 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/grey@2x.pngbin3217 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/orange.css53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/orange.pngbin1518 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/orange@2x.pngbin3275 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/pink.css53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/pink.pngbin1522 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/pink@2x.pngbin3218 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/purple.css53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/purple.pngbin1519 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/purple@2x.pngbin3218 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/red.css53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/red.pngbin1516 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/red@2x.pngbin3276 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/yellow.css53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/yellow.pngbin1516 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/yellow@2x.pngbin3216 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/futurico/futurico.css53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/futurico/futurico.pngbin1734 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/futurico/futurico@2x.pngbin3446 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/Thumbs.dbbin4608 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/_all.css710
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/aero.css71
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/blue.css71
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/green.css71
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/grey.css71
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/line.css71
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/line.pngbin588 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/line@2x.pngbin1073 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/orange.css71
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/pink.css71
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/purple.css71
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/red.css71
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/yellow.css71
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/_all.css590
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/aero.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/aero.pngbin1151 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/aero@2x.pngbin1409 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/blue.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/blue.pngbin1132 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/blue@2x.pngbin1410 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/green.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/green.pngbin1143 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/green@2x.pngbin1408 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/grey.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/grey.pngbin1142 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/grey@2x.pngbin1407 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/minimal.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/minimal.pngbin1114 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/minimal@2x.pngbin1410 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/orange.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/orange.pngbin1139 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/orange@2x.pngbin1407 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/pink.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/pink.pngbin1150 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/pink@2x.pngbin1409 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/purple.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/purple.pngbin1132 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/purple@2x.pngbin1409 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/red.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/red.pngbin1130 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/red@2x.pngbin1410 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/yellow.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/yellow.pngbin1135 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/yellow@2x.pngbin1406 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/polaris/polaris.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/polaris/polaris.pngbin6401 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/polaris/polaris@2x.pngbin32768 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/Thumbs.dbbin32768 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/_all.css590
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/aero.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/aero.pngbin4436 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/aero@2x.pngbin4455 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/blue.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/blue.pngbin2185 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/blue@2x.pngbin4485 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/green.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/green.pngbin2193 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/green@2x.pngbin4498 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/grey.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/grey.pngbin2186 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/grey@2x.pngbin4483 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/orange.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/orange.pngbin2181 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/orange@2x.pngbin4474 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/pink.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/pink.pngbin2189 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/pink@2x.pngbin4479 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/purple.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/purple.pngbin2188 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/purple@2x.pngbin4501 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/red.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/red.pngbin2190 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/red@2x.pngbin4490 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/square.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/square.pngbin2175 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/square@2x.pngbin4478 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/yellow.css59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/yellow.pngbin2131 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/yellow@2x.pngbin4385 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/DashboardConfig-jq.json33
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/DashboardICT-jq.js246
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/DashboardICT.css203
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/c3.css241
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/c3.min.css175
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/components.css14133
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/facebox.css83
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/ict-chart-dashboard.css143
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/transition.css63
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3-angular.js544
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3-angular.min.js206
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3-angular.min.js.map157
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3.js7473
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3.min.js2665
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/d3.min.js6152
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/facebox.js382
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/portlet-draggable-jq.js65
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/c3Chart.js59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-barchart-c3.js29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-linechart-c3.js41
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/ict-barchart-c3.js67
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/ict-linechart-c3.js81
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/index3.html143
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/CPU统计.pngbin8273 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/Thumbs.dbbin25600 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/closelabel.pngbin168 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/delete.pngbin3029 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/loading.gifbin2767 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/open.pngbin3692 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/remove.pngbin3391 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/remove_red.pngbin3405 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/shrink.pngbin3602 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/告警统计.pngbin9662 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/性能统计A.pngbin5805 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/性能统计B.pngbin4343 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/性能统计C.pngbin9994 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/日志统计.pngbin5935 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/demo/demo-barchart-c3.js34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/demo/demo-linechart-c3.js40
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/ict-barchart-c3.js68
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/ict-linechart-c3.js98
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardConfig-jq.json86
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardConfig-jq.json.sdn36
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardConfig.json83
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardICT.js291
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/c3.css257
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/c3.min.css175
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/components.css14135
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/facebox.css83
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/ict-chart-dashboard.css155
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/transition.css64
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/angular.min.js6194
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/angular.min.js.map2369
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3-angular.js544
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3-angular.min.js206
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3-angular.min.js.map157
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3.js7473
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3.min.js2665
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/d3.min.js6152
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/facebox.js388
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/portlet-draggable-jq.js66
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/c3Chart.js59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/demo-barchart-c3.js29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/demo-linechart-c3.js41
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/ict-barchart-c3.js67
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/ict-linechart-c3.js81
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/index3.html142
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/ict.dashboard.css293
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/ict.dashboard.js435
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/ict.dashboard.js.bak413
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/CPU统计.pngbin8273 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/Thumbs.dbbin27136 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/alarm.pngbin4152 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/bar.svg27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/closelabel.pngbin168 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/cpu.pngbin7559 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/delete.pngbin3029 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/gauge.svg15
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/line.svg36
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/lineBar.svg37
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/loading.gifbin2767 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/map.svg53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/open.pngbin3535 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/pie.svg14
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/remove.pngbin3216 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/remove_red.pngbin3214 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/shrink.pngbin3347 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/stacked.svg12
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/zoom.pngbin3100 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/告警统计.pngbin9662 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/性能统计A.pngbin5805 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/性能统计B.pngbin4343 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/性能统计C.pngbin9994 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/日志统计.pngbin5935 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/index4.html99
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/avalon.js5279
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/d3.js9925
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/facebox.js380
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/freewall.js1317
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/css/serverPageTable.css29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/images/details_close.pngbin3300 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/images/details_open.pngbin3304 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/readme.txt70
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/serverPageTable.js217
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/serverPageTable_demo.html51
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/serverpagetable.css70
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/css/bootstrap-dt.css7067
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/css/bootstrap.min.css6235
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/js/bootstrap.js1972
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/js/bootstrap.min.js619
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/js/bootstrap2-typeahead.min.js145
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/css/jquery-ui.css1908
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/css/multi-handle-slider.css53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/index.html67
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/external/jquery/jquery.js9815
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/Thumbs.dbbin8704 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_diagonals-thick_18_b81900_40x40.pngbin418 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_diagonals-thick_20_666666_40x40.pngbin312 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_flat_10_000000_40x100.pngbin205 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_glass_100_f6f6f6_1x400.pngbin262 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_glass_100_fdf5ce_1x400.pngbin348 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_glass_65_ffffff_1x400.pngbin207 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_gloss-wave_35_f6a828_500x100.pngbin5815 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_highlight-soft_100_eeeeee_1x100.pngbin278 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_highlight-soft_75_ffe45c_1x100.pngbin328 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_222222_256x240.pngbin6922 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_228ef1_256x240.pngbin4549 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_ef8c08_256x240.pngbin4549 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_ffd27a_256x240.pngbin4549 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_ffffff_256x240.pngbin6299 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/index.html684
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.css1908
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.js16753
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.min.css1775
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.min.js5102
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.structure.css963
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.structure.min.css894
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.theme.css962
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.theme.min.css882
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/js/avalon.modern.js4481
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/js/jquery-1.10.2.min.js2640
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/js/multi-handle-slider.js64
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/demo.html17
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/skill.css74
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/skillsData.js38
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/sunburst.js321
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap-wizard/jquery.bootstrap.wizard.min.js152
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/css/bootstrap-dt.css7067
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/css/bootstrap.min.css6246
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.eotbin20127 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.svg288
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.ttfbin45404 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.woffbin23424 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.woff2bin18028 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/js/bootstrap.js1972
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/js/bootstrap.min.js619
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/js/bootstrap2-typeahead.min.js145
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/ict-wizard.js129
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/ict_wizard_view.html141
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.10.2.min.js2640
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.11.2.js10319
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.11.2.min.js2625
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.11.2.min.map1209
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-2.1.3.js9179
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-2.1.3.min.js2393
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-2.1.3.min.map1130
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-migrate-1.2.1.js526
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-migrate-1.2.1.min.js125
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/ngict-component.css467
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/plugins.css1532
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/css/jquery.fileupload.css37
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/img/loading.gifbin3897 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/img/progressbar.gifbin3323 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/js/jquery.fileupload.js1477
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/js/jquery.iframe-transport.js217
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/js/vendor/jquery.ui.widget.js572
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ystep/css/ystep.css293
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/ystep/ystep.js682
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/QUI 框架介绍.txt6
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/README.md48
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/API_cn.html103
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/API_en.html102
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/api.js592
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/common.css219
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/common_ie6.css23
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/apiMenu.gifbin1736 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/apiMenu.pngbin3954 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/background.jpgbin36520 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/chinese.pngbin1556 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/close.pngbin1908 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/contact-bg.pngbin177 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/english.pngbin1356 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/header-bg.pngbin148 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/lightbulb.pngbin27355 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_arrow.gifbin625 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_arrow.pngbin830 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_bg.pngbin109 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_close_IE6.gifbin441 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/zTreeStandard.gifbin6851 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/zTreeStandard.pngbin12573 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/jquery-1.6.2.min.js18
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/jquery.ztree.core-3.5.js69
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/zTreeStyleForApi.css49
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree._z.html13
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree.destroy.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree.getZTreeObj.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree.init.html74
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.autoParam.html39
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.contentType.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.dataFilter.html45
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.dataType.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.enable.html30
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.otherParam.html40
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.type.html30
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.url.html50
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeAsync.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeCheck.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeClick.html49
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeCollapse.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDblClick.html36
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDrag.html39
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDragOpen.html37
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDrop.html48
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeEditName.html38
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeExpand.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeMouseDown.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeMouseUp.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeRemove.html37
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeRename.html46
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeRightClick.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onAsyncError.html42
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onAsyncSuccess.html38
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onCheck.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onClick.html49
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onCollapse.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDblClick.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDrag.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDragMove.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDrop.html46
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onExpand.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onMouseDown.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onMouseUp.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onNodeCreated.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onRemove.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onRename.html40
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onRightClick.html36
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.autoCheckTrigger.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.chkDisabledInherit.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.chkStyle.html48
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.chkboxType.html31
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.enable.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.nocheckInherit.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.radioType.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.keep.leaf.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.keep.parent.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.checked.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.children.html23
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.name.html23
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.title.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.url.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.enable.html38
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.idKey.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.pIdKey.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.rootPId.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.autoExpandTrigger.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.autoOpenTime.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.borderMax.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.borderMin.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.inner.html59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.isCopy.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.isMove.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.maxShowNodeNum.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.minMoveSize.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.next.html58
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.prev.html58
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.editNameSelectAll.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.enable.html38
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.removeTitle.html48
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.renameTitle.html48
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.showRemoveBtn.html49
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.showRenameBtn.html51
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.treeId.html14
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.treeObj.html14
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.addDiyDom.html40
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.addHoverDom.html45
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.autoCancelSelected.html26
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.dblClickExpand.html44
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.expandSpeed.html31
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.fontCss.html42
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.nameIsHTML.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.removeHoverDom.html45
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.selectedMulti.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.showIcon.html44
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.showLine.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.showTitle.html46
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.txtSelectedEnable.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.check_Child_State.html43
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.check_Focus.html19
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.checked.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.checkedOld.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.children.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.chkDisabled.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.click.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.diy.html15
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.editNameFlag.html19
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getCheckStatus.html63
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getNextNode.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getParentNode.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getPreNode.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.halfCheck.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.icon.html33
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.iconClose.html33
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.iconOpen.html33
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.iconSkin.html43
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isAjaxing.html26
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isFirstNode.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isHidden.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isHover.html19
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isLastNode.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isParent.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.level.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.name.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.nocheck.html26
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.open.html30
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.parentTId.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.tId.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.target.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.url.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.zAsync.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.addNodes.html42
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.cancelEditName.html30
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.cancelSelectedNode.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.checkAllNodes.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.checkNode.html44
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.copyNode.html44
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.destroy.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.editName.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.expandAll.html30
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.expandNode.html50
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getChangeCheckedNodes.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getCheckedNodes.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodeByParam.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodeByTId.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodeIndex.html30
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodes.html26
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodesByFilter.html43
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodesByParam.html31
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodesByParamFuzzy.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getSelectedNodes.html23
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.hideNode.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.hideNodes.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.moveNode.html46
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.reAsyncChildNodes.html42
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.refresh.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.removeChildNodes.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.removeNode.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.selectNode.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.setChkDisabled.html44
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.setEditable.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.setting.html13
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.showNode.html31
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.showNodes.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.transformToArray.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.transformTozTreeNodes.html43
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.updateNode.html37
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree._z.html13
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree.destroy.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree.getZTreeObj.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree.init.html75
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.autoParam.html39
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.contentType.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.dataFilter.html45
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.dataType.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.enable.html30
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.otherParam.html40
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.type.html30
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.url.html50
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeAsync.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeCheck.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeClick.html49
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeCollapse.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDblClick.html36
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDrag.html39
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDragOpen.html37
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDrop.html50
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeEditName.html38
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeExpand.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeMouseDown.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeMouseUp.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeRemove.html37
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeRename.html46
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeRightClick.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onAsyncError.html42
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onAsyncSuccess.html38
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onCheck.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onClick.html49
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onCollapse.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDblClick.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDrag.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDragMove.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDrop.html48
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onExpand.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onMouseDown.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onMouseUp.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onNodeCreated.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onRemove.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onRename.html40
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onRightClick.html36
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.autoCheckTrigger.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.chkDisabledInherit.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.chkStyle.html48
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.chkboxType.html31
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.enable.html26
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.nocheckInherit.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.radioType.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.keep.leaf.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.keep.parent.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.checked.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.children.html23
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.name.html23
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.title.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.url.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.enable.html39
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.idKey.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.pIdKey.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.rootPId.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.autoExpandTrigger.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.autoOpenTime.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.borderMax.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.borderMin.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.inner.html60
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.isCopy.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.isMove.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.maxShowNodeNum.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.minMoveSize.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.next.html59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.prev.html59
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.editNameSelectAll.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.enable.html39
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.removeTitle.html48
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.renameTitle.html48
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.showRemoveBtn.html50
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.showRenameBtn.html52
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.treeId.html14
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.treeObj.html14
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.addDiyDom.html40
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.addHoverDom.html45
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.autoCancelSelected.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.dblClickExpand.html45
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.expandSpeed.html31
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.fontCss.html42
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.nameIsHTML.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.removeHoverDom.html45
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.selectedMulti.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.showIcon.html45
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.showLine.html26
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.showTitle.html47
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.txtSelectedEnable.html26
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.check_Child_State.html43
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.check_Focus.html19
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.checked.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.checkedOld.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.children.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.chkDisabled.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.click.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.diy.html15
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.editNameFlag.html19
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getCheckStatus.html63
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getNextNode.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getParentNode.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getPreNode.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.halfCheck.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.icon.html33
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.iconClose.html33
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.iconOpen.html33
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.iconSkin.html43
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isAjaxing.html26
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isFirstNode.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isHidden.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isHover.html19
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isLastNode.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isParent.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.level.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.name.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.nocheck.html26
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.open.html30
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.parentTId.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.tId.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.target.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.url.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.zAsync.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.addNodes.html42
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.cancelEditName.html30
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.cancelSelectedNode.html35
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.checkAllNodes.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.checkNode.html44
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.copyNode.html47
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.destroy.html25
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.editName.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.expandAll.html30
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.expandNode.html50
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getChangeCheckedNodes.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getCheckedNodes.html28
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodeByParam.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodeByTId.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodeIndex.html30
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodes.html26
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodesByFilter.html43
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodesByParam.html31
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodesByParamFuzzy.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getSelectedNodes.html23
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.hideNode.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.hideNodes.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.moveNode.html49
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.reAsyncChildNodes.html42
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.refresh.html24
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.removeChildNodes.html32
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.removeNode.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.selectNode.html34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.setChkDisabled.html44
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.setEditable.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.setting.html14
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.showNode.html31
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.showNodes.html29
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.transformToArray.html27
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.transformTozTreeNodes.html44
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.updateNode.html37
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/demo.css33
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/ReadMe.txt1
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/Thumbs.dbbin23552 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/1_close.pngbin601 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/1_open.pngbin580 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/2.pngbin570 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/3.pngbin762 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/4.pngbin399 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/5.pngbin710 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/6.pngbin432 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/7.pngbin534 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/8.pngbin529 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/9.pngbin467 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/Thumbs.dbbin19968 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/line_conn.gifbin45 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/loading.gifbin381 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.gifbin5564 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.gifbakbin5564 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.pngbin11206 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.pngbakbin11173 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.psdbin93494 -> 0 bytes
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/zTreeStyle.css107
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.all.js3506
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.all.min.js160
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.core.js1684
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.core.min.js69
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.excheck.js629
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.excheck.min.js34
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exedit.js1191
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exedit.min.js53
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exhide.js363
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exhide.min.js22
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/log v3.x.txt207
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/readme.txt2
-rw-r--r--uiframe-iui/src/main/resources/webroot/vendor/zTree/zTree.v3.jquery.json35
753 files changed, 0 insertions, 285380 deletions
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/animate/animate.min.css b/uiframe-iui/src/main/resources/webroot/vendor/animate/animate.min.css
deleted file mode 100644
index 3a85ab38..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/animate/animate.min.css
+++ /dev/null
@@ -1,6 +0,0 @@
-@charset "UTF-8";/*!
-Animate.css - http://daneden.me/animate
-Licensed under the MIT license - http://opensource.org/licenses/MIT
-
-Copyright (c) 2014 Daniel Eden
-*/.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes bounce{0%,100%,20%,53%,80%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{-webkit-transition-timing-function:cubic-bezier(0.755,.050,.855,.060);transition-timing-function:cubic-bezier(0.755,.050,.855,.060);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-transition-timing-function:cubic-bezier(0.755,.050,.855,.060);transition-timing-function:cubic-bezier(0.755,.050,.855,.060);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}@keyframes bounce{0%,100%,20%,53%,80%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{-webkit-transition-timing-function:cubic-bezier(0.755,.050,.855,.060);transition-timing-function:cubic-bezier(0.755,.050,.855,.060);-webkit-transform:translate3d(0,-30px,0);-ms-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-transition-timing-function:cubic-bezier(0.755,.050,.855,.060);transition-timing-function:cubic-bezier(0.755,.050,.855,.060);-webkit-transform:translate3d(0,-15px,0);-ms-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);-ms-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;-ms-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);-ms-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}100%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(0.75,1.25,1);transform:scale3d(0.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);-ms-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(0.75,1.25,1);-ms-transform:scale3d(0.75,1.25,1);transform:scale3d(0.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);-ms-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);-ms-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);-ms-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}100%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shake{0%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shake{0%,100%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);-ms-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);-ms-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}100%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0deg)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);-ms-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);-ms-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);-ms-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);-ms-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}100%{-webkit-transform:rotate3d(0,0,1,0deg);-ms-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0deg)}}.swing{-webkit-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);-ms-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);-ms-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);-ms-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}100%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}100%{-webkit-transform:none;transform:none}}@keyframes wobble{0%{-webkit-transform:none;-ms-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);-ms-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);-ms-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);-ms-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);-ms-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);-ms-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}100%{-webkit-transform:none;-ms-transform:none;transform:none}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes bounceIn{0%,100%,20%,40%,60%,80%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes bounceIn{0%,100%,20%,40%,60%,80%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);-ms-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);-ms-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);-ms-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);-ms-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);-ms-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.bounceIn{-webkit-animation-name:bounceIn;animation-name:bounceIn;-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes bounceInDown{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}100%{-webkit-transform:none;transform:none}}@keyframes bounceInDown{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);-ms-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);-ms-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);-ms-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);-ms-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}100%{-webkit-transform:none;-ms-transform:none;transform:none}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}100%{-webkit-transform:none;transform:none}}@keyframes bounceInLeft{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);-ms-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);-ms-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);-ms-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);-ms-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}100%{-webkit-transform:none;-ms-transform:none;transform:none}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}100%{-webkit-transform:none;transform:none}}@keyframes bounceInRight{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);-ms-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);-ms-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);-ms-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);-ms-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}100%{-webkit-transform:none;-ms-transform:none;transform:none}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes bounceInUp{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);-ms-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);-ms-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);-ms-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);-ms-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}100%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}100%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);-ms-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);-ms-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}100%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);-ms-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.bounceOut{-webkit-animation-name:bounceOut;animation-name:bounceOut;-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);-ms-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);-ms-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);-ms-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);-ms-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);-ms-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);-ms-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);-ms-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);-ms-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);-ms-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);-ms-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);-ms-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);-ms-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);-ms-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);-ms-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);-ms-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);-ms-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);-ms-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);-ms-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-100%,0);-ms-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);-ms-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95);transform:perspective(400px) scale3d(.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);-ms-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-ms-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-ms-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95);-ms-transform:perspective(400px) scale3d(.95,.95,.95);transform:perspective(400px) scale3d(.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:perspective(400px);-ms-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;-ms-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);-ms-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);-ms-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);-ms-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);-ms-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}100%{-webkit-transform:perspective(400px);-ms-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);-ms-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);-ms-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);-ms-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);-ms-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}100%{-webkit-transform:perspective(400px);-ms-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);-ms-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);-ms-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);-ms-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}.flipOutX{-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);-ms-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);-ms-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);-ms-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}.flipOutY{-webkit-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY;-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg);opacity:1}100%{-webkit-transform:none;transform:none;opacity:1}}@keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);-ms-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);-ms-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);-ms-transform:skewX(-5deg);transform:skewX(-5deg);opacity:1}100%{-webkit-transform:none;-ms-transform:none;transform:none;opacity:1}}.lightSpeedIn{-webkit-animation-name:lightSpeedIn;animation-name:lightSpeedIn;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOut{0%{opacity:1}100%{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}@keyframes lightSpeedOut{0%{opacity:1}100%{-webkit-transform:translate3d(100%,0,0) skewX(30deg);-ms-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}.lightSpeedOut{-webkit-animation-name:lightSpeedOut;animation-name:lightSpeedOut;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}100%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateIn{0%{-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);-ms-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}100%{-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:none;-ms-transform:none;transform:none;opacity:1}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);-ms-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;-ms-transform:none;transform:none;opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);-ms-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;-ms-transform:none;transform:none;opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);-ms-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;-ms-transform:none;transform:none;opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);-ms-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;-ms-transform:none;transform:none;opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight}@-webkit-keyframes rotateOut{0%{-webkit-transform-origin:center;transform-origin:center;opacity:1}100%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;opacity:1}100%{-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);-ms-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut}@-webkit-keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0,0,1,45deg);transform:rotate(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0,0,1,45deg);-ms-transform:rotate(0,0,1,45deg);transform:rotate(0,0,1,45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft}@-webkit-keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);-ms-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight}@-webkit-keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);-ms-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft}@-webkit-keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);-ms-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight}@-webkit-keyframes hinge{0%{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}100%{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);-ms-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);-ms-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}100%{-webkit-transform:translate3d(0,700px,0);-ms-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-name:hinge;animation-name:hinge}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);-ms-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);-ms-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);-ms-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-ms-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-ms-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-ms-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-ms-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-ms-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-ms-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-ms-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-ms-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}100%{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);-ms-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}100%{opacity:0}}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-ms-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-ms-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;-ms-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}100%{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);-ms-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}100%{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);-ms-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;-ms-transform-origin:left center;transform-origin:left center}}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}100%{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);-ms-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}100%{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);-ms-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;-ms-transform-origin:right center;transform-origin:right center}}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-ms-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-ms-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;-ms-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/avalon/avalon.js b/uiframe-iui/src/main/resources/webroot/vendor/avalon/avalon.js
deleted file mode 100644
index 786ed3c0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/avalon/avalon.js
+++ /dev/null
@@ -1,5819 +0,0 @@
-/*==================================================
- Copyright (c) 2013-2015 司徒正美 and other contributors
- http://www.cnblogs.com/rubylouvre/
- https://github.com/RubyLouvre
- http://weibo.com/jslouvre/
-
- Released under the MIT license
- avalon.js 1.45 built in 2015.7.17
- support IE6+ and other browsers
- ==================================================*/
-(function(global, factory) {
-
- if (typeof module === "object" && typeof module.exports === "object") {
- // For CommonJS and CommonJS-like environments where a proper `window`
- // is present, execute the factory and get avalon.
- // For environments that do not have a `window` with a `document`
- // (such as Node.js), expose a factory as module.exports.
- // This accentuates the need for the creation of a real `window`.
- // e.g. var avalon = require("avalon")(window);
- module.exports = global.document ? factory(global, true) : function(w) {
- if (!w.document) {
- throw new Error("Avalon requires a window with a document")
- }
- return factory(w)
- }
- } else {
- factory(global)
- }
-
-// Pass this if window is not defined yet
-}(typeof window !== "undefined" ? window : this, function(window, noGlobal){
-
-/*********************************************************************
- * 全局变量及方法 *
- **********************************************************************/
-var expose = new Date() - 0
-//http://stackoverflow.com/questions/7290086/javascript-use-strict-and-nicks-find-global-function
-var DOC = window.document
-var head = DOC.getElementsByTagName("head")[0] //HEAD元素
-var ifGroup = head.insertBefore(document.createElement("avalon"), head.firstChild) //避免IE6 base标签BUG
-ifGroup.innerHTML = "X<style id='avalonStyle'>.avalonHide{ display: none!important }</style>"
-ifGroup.setAttribute("ms-skip", "1")
-ifGroup.className = "avalonHide"
-var rnative = /\[native code\]/ //判定是否原生函数
-function log() {
- if (window.console && avalon.config.debug) {
- // http://stackoverflow.com/questions/8785624/how-to-safely-wrap-console-log
- Function.apply.call(console.log, console, arguments)
- }
-}
-
-
-var subscribers = "$" + expose
-var otherRequire = window.require
-var otherDefine = window.define
-var innerRequire
-var stopRepeatAssign = false
-var rword = /[^, ]+/g //切割字符串为一个个小块,以空格或豆号分开它们,结合replace实现字符串的forEach
-var rcomplexType = /^(?:object|array)$/
-var rsvg = /^\[object SVG\w*Element\]$/
-var rwindow = /^\[object (?:Window|DOMWindow|global)\]$/
-var oproto = Object.prototype
-var ohasOwn = oproto.hasOwnProperty
-var serialize = oproto.toString
-var ap = Array.prototype
-var aslice = ap.slice
-var Registry = {} //将函数曝光到此对象上,方便访问器收集依赖
-var W3C = window.dispatchEvent
-var root = DOC.documentElement
-var avalonFragment = DOC.createDocumentFragment()
-var cinerator = DOC.createElement("div")
-var class2type = {}
-"Boolean Number String Function Array Date RegExp Object Error".replace(rword, function (name) {
- class2type["[object " + name + "]"] = name.toLowerCase()
-})
-
-
-function noop() {
-}
-
-
-function oneObject(array, val) {
- if (typeof array === "string") {
- array = array.match(rword) || []
- }
- var result = {},
- value = val !== void 0 ? val : 1
- for (var i = 0, n = array.length; i < n; i++) {
- result[array[i]] = value
- }
- return result
-}
-
-//生成UUID http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
-var generateID = function (prefix) {
- prefix = prefix || "avalon"
- return String(Math.random() + Math.random()).replace(/\d\.\d{4}/, prefix)
-}
-function IE() {
- if (window.VBArray) {
- var mode = document.documentMode
- return mode ? mode : window.XMLHttpRequest ? 7 : 6
- } else {
- return NaN
- }
-}
-var IEVersion = IE()
-
-avalon = function (el) { //创建jQuery式的无new 实例化结构
- return new avalon.init(el)
-}
-
-avalon.profile = function () {
- if (window.console && avalon.config.profile) {
- Function.apply.call(console.log, console, arguments)
- }
-}
-
-/*视浏览器情况采用最快的异步回调*/
-avalon.nextTick = new function () {// jshint ignore:line
- var tickImmediate = window.setImmediate
- var tickObserver = window.MutationObserver
- var tickPost = W3C && window.postMessage
- if (tickImmediate) {
- return tickImmediate.bind(window)
- }
-
- var queue = []
- function callback() {
- var n = queue.length
- for (var i = 0; i < n; i++) {
- queue[i]()
- }
- queue = queue.slice(n)
- }
-
- if (tickObserver) {
- var node = document.createTextNode("avalon")
- new tickObserver(callback).observe(node, {characterData: true})// jshint ignore:line
- return function (fn) {
- queue.push(fn)
- node.data = Math.random()
- }
- }
-
- if (tickPost) {
- window.addEventListener("message", function (e) {
- var source = e.source
- if ((source === window || source === null) && e.data === "process-tick") {
- e.stopPropagation()
- callback()
- }
- })
-
- return function (fn) {
- queue.push(fn)
- window.postMessage('process-tick', '*')
- }
- }
-
- return function (fn) {
- setTimeout(fn, 0)
- }
-}// jshint ignore:line
-/*********************************************************************
- * avalon的静态方法定义区 *
- **********************************************************************/
-avalon.init = function (el) {
- this[0] = this.element = el
-}
-avalon.fn = avalon.prototype = avalon.init.prototype
-
-avalon.type = function (obj) { //取得目标的类型
- if (obj == null) {
- return String(obj)
- }
- // 早期的webkit内核浏览器实现了已废弃的ecma262v4标准,可以将正则字面量当作函数使用,因此typeof在判定正则时会返回function
- return typeof obj === "object" || typeof obj === "function" ?
- class2type[serialize.call(obj)] || "object" :
- typeof obj
-}
-
-var isFunction = typeof alert === "object" ? function (fn) {
- try {
- return /^\s*\bfunction\b/.test(fn + "")
- } catch (e) {
- return false
- }
-} : function (fn) {
- return serialize.call(fn) === "[object Function]"
-}
-avalon.isFunction = isFunction
-
-avalon.isWindow = function (obj) {
- if (!obj)
- return false
- // 利用IE678 window == document为true,document == window竟然为false的神奇特性
- // 标准浏览器及IE9,IE10等使用 正则检测
- return obj == obj.document && obj.document != obj //jshint ignore:line
-}
-
-function isWindow(obj) {
- return rwindow.test(serialize.call(obj))
-}
-if (isWindow(window)) {
- avalon.isWindow = isWindow
-}
-var enu
-for (enu in avalon({})) {
- break
-}
-var enumerateBUG = enu !== "0" //IE6下为true, 其他为false
-/*判定是否是一个朴素的javascript对象(Object),不是DOM对象,不是BOM对象,不是自定义类的实例*/
-avalon.isPlainObject = function (obj, key) {
- if (!obj || avalon.type(obj) !== "object" || obj.nodeType || avalon.isWindow(obj)) {
- return false;
- }
- try { //IE内置对象没有constructor
- if (obj.constructor && !ohasOwn.call(obj, "constructor") && !ohasOwn.call(obj.constructor.prototype, "isPrototypeOf")) {
- return false;
- }
- } catch (e) { //IE8 9会在这里抛错
- return false;
- }
- if (enumerateBUG) {
- for (key in obj) {
- return ohasOwn.call(obj, key)
- }
- }
- for (key in obj) {
- }
- return key === void 0 || ohasOwn.call(obj, key)
-}
-if (rnative.test(Object.getPrototypeOf)) {
- avalon.isPlainObject = function (obj) {
- // 简单的 typeof obj === "object"检测,会致使用isPlainObject(window)在opera下通不过
- return serialize.call(obj) === "[object Object]" && Object.getPrototypeOf(obj) === oproto
- }
-}
-//与jQuery.extend方法,可用于浅拷贝,深拷贝
-avalon.mix = avalon.fn.mix = function () {
- var options, name, src, copy, copyIsArray, clone,
- target = arguments[0] || {},
- i = 1,
- length = arguments.length,
- deep = false
-
- // 如果第一个参数为布尔,判定是否深拷贝
- if (typeof target === "boolean") {
- deep = target
- target = arguments[1] || {}
- i++
- }
-
- //确保接受方为一个复杂的数据类型
- if (typeof target !== "object" && !isFunction(target)) {
- target = {}
- }
-
- //如果只有一个参数,那么新成员添加于mix所在的对象上
- if (i === length) {
- target = this
- i--
- }
-
- for (; i < length; i++) {
- //只处理非空参数
- if ((options = arguments[i]) != null) {
- for (name in options) {
- src = target[name]
- try {
- copy = options[name] //当options为VBS对象时报错
- } catch (e) {
- continue
- }
-
- // 防止环引用
- if (target === copy) {
- continue
- }
- if (deep && copy && (avalon.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) {
-
- if (copyIsArray) {
- copyIsArray = false
- clone = src && Array.isArray(src) ? src : []
-
- } else {
- clone = src && avalon.isPlainObject(src) ? src : {}
- }
-
- target[name] = avalon.mix(deep, clone, copy)
- } else if (copy !== void 0) {
- target[name] = copy
- }
- }
- }
- }
- return target
-}
-
-function _number(a, len) { //用于模拟slice, splice的效果
- a = Math.floor(a) || 0
- return a < 0 ? Math.max(len + a, 0) : Math.min(a, len);
-}
-avalon.mix({
- rword: rword,
- subscribers: subscribers,
- version: 1.45,
- ui: {},
- log: log,
- slice: W3C ? function (nodes, start, end) {
- return aslice.call(nodes, start, end)
- } : function (nodes, start, end) {
- var ret = []
- var len = nodes.length
- if (end === void 0)
- end = len
- if (typeof end === "number" && isFinite(end)) {
- start = _number(start, len)
- end = _number(end, len)
- for (var i = start; i < end; ++i) {
- ret[i - start] = nodes[i]
- }
- }
- return ret
- },
- noop: noop,
- /*如果不用Error对象封装一下,str在控制台下可能会乱码*/
- error: function (str, e) {
- throw (e || Error)(str)
- },
- /*将一个以空格或逗号隔开的字符串或数组,转换成一个键值都为1的对象*/
- oneObject: oneObject,
- /* avalon.range(10)
- => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
- avalon.range(1, 11)
- => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
- avalon.range(0, 30, 5)
- => [0, 5, 10, 15, 20, 25]
- avalon.range(0, -10, -1)
- => [0, -1, -2, -3, -4, -5, -6, -7, -8, -9]
- avalon.range(0)
- => []*/
- range: function (start, end, step) { // 用于生成整数数组
- step || (step = 1)
- if (end == null) {
- end = start || 0
- start = 0
- }
- var index = -1,
- length = Math.max(0, Math.ceil((end - start) / step)),
- result = new Array(length)
- while (++index < length) {
- result[index] = start
- start += step
- }
- return result
- },
- eventHooks: [],
- /*绑定事件*/
- bind: function(el, type, fn, phase) {
- var hooks = avalon.eventHooks
- var hook = hooks[type]
- if (typeof hook === "object") {
- type = hook.type
- if (hook.deel) {
- fn = hook.deel(el, type, fn, phase)
- }
- }
- var callback = W3C ? fn : function(e) {
- fn.call(el, fixEvent(e));
- }
- if (W3C) {
- el.addEventListener(type, callback, !!phase)
- } else {
- el.attachEvent("on" + type, callback)
- }
- return callback
- },
- /*卸载事件*/
- unbind: function(el, type, fn, phase) {
- var hooks = avalon.eventHooks
- var hook = hooks[type]
- var callback = fn || noop
- if (typeof hook === "object") {
- type = hook.type
- if (hook.deel) {
- fn = hook.deel(el, type, fn, false)
- }
- }
- if (W3C) {
- el.removeEventListener(type, callback, !!phase)
- } else {
- el.detachEvent("on" + type, callback)
- }
- },
- /*读写删除元素节点的样式*/
- css: function (node, name, value) {
- if (node instanceof avalon) {
- node = node[0]
- }
- var prop = /[_-]/.test(name) ? camelize(name) : name, fn
- name = avalon.cssName(prop) || prop
- if (value === void 0 || typeof value === "boolean") { //获取样式
- fn = cssHooks[prop + ":get"] || cssHooks["@:get"]
- if (name === "background") {
- name = "backgroundColor"
- }
- var val = fn(node, name)
- return value === true ? parseFloat(val) || 0 : val
- } else if (value === "") { //请除样式
- node.style[name] = ""
- } else { //设置样式
- if (value == null || value !== value) {
- return
- }
- if (isFinite(value) && !avalon.cssNumber[prop]) {
- value += "px"
- }
- fn = cssHooks[prop + ":set"] || cssHooks["@:set"]
- fn(node, name, value)
- }
- },
- /*遍历数组与对象,回调的第一个参数为索引或键名,第二个或元素或键值*/
- each: function (obj, fn) {
- if (obj) { //排除null, undefined
- var i = 0
- if (isArrayLike(obj)) {
- for (var n = obj.length; i < n; i++) {
- if (fn(i, obj[i]) === false)
- break
- }
- } else {
- for (i in obj) {
- if (obj.hasOwnProperty(i) && fn(i, obj[i]) === false) {
- break
- }
- }
- }
- }
- },
- //收集元素的data-{{prefix}}-*属性,并转换为对象
- getWidgetData: function (elem, prefix) {
- var raw = avalon(elem).data()
- var result = {}
- for (var i in raw) {
- if (i.indexOf(prefix) === 0) {
- result[i.replace(prefix, "").replace(/\w/, function (a) {
- return a.toLowerCase()
- })] = raw[i]
- }
- }
- return result
- },
- Array: {
- /*只有当前数组不存在此元素时只添加它*/
- ensure: function (target, item) {
- if (target.indexOf(item) === -1) {
- return target.push(item)
- }
- },
- /*移除数组中指定位置的元素,返回布尔表示成功与否*/
- removeAt: function (target, index) {
- return !!target.splice(index, 1).length
- },
- /*移除数组中第一个匹配传参的那个元素,返回布尔表示成功与否*/
- remove: function (target, item) {
- var index = target.indexOf(item)
- if (~index)
- return avalon.Array.removeAt(target, index)
- return false
- }
- }
-})
-
-var bindingHandlers = avalon.bindingHandlers = {}
-var bindingExecutors = avalon.bindingExecutors = {}
-
-/*判定是否类数组,如节点集合,纯数组,arguments与拥有非负整数的length属性的纯JS对象*/
-function isArrayLike(obj) {
- if (!obj)
- return false
- var n = obj.length
- if (n === (n >>> 0)) { //检测length属性是否为非负整数
- var type = serialize.call(obj).slice(8, -1)
- if (/(?:regexp|string|function|window|global)$/i.test(type))
- return false
- if (type === "Array")
- return true
- try {
- if ({}.propertyIsEnumerable.call(obj, "length") === false) { //如果是原生对象
- return /^\s?function/.test(obj.item || obj.callee)
- }
- return true
- } catch (e) { //IE的NodeList直接抛错
- return !obj.window //IE6-8 window
- }
- }
- return false
-}
-
-
-// https://github.com/rsms/js-lru
-var Cache = new function() {// jshint ignore:line
- function LRU(maxLength) {
- this.size = 0
- this.limit = maxLength
- this.head = this.tail = void 0
- this._keymap = {}
- }
-
- var p = LRU.prototype
-
- p.put = function(key, value) {
- var entry = {
- key: key,
- value: value
- }
- this._keymap[key] = entry
- if (this.tail) {
- this.tail.newer = entry
- entry.older = this.tail
- } else {
- this.head = entry
- }
- this.tail = entry
- if (this.size === this.limit) {
- this.shift()
- } else {
- this.size++
- }
- return value
- }
-
- p.shift = function() {
- var entry = this.head
- if (entry) {
- this.head = this.head.newer
- this.head.older =
- entry.newer =
- entry.older =
- this._keymap[entry.key] = void 0
- }
- }
- p.get = function(key) {
- var entry = this._keymap[key]
- if (entry === void 0)
- return
- if (entry === this.tail) {
- return entry.value
- }
- // HEAD--------------TAIL
- // <.older .newer>
- // <--- add direction --
- // A B C <D> E
- if (entry.newer) {
- if (entry === this.head) {
- this.head = entry.newer
- }
- entry.newer.older = entry.older // C <-- E.
- }
- if (entry.older) {
- entry.older.newer = entry.newer // C. --> E
- }
- entry.newer = void 0 // D --x
- entry.older = this.tail // D. --> E
- if (this.tail) {
- this.tail.newer = entry // E. <-- D
- }
- this.tail = entry
- return entry.value
- }
- return LRU
-}// jshint ignore:line
-
-/*********************************************************************
- * javascript 底层补丁 *
- **********************************************************************/
-if (!"司徒正美".trim) {
- var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g
- String.prototype.trim = function () {
- return this.replace(rtrim, "")
- }
-}
-var hasDontEnumBug = !({
- 'toString': null
-}).propertyIsEnumerable('toString'),
- hasProtoEnumBug = (function () {
- }).propertyIsEnumerable('prototype'),
- dontEnums = [
- "toString",
- "toLocaleString",
- "valueOf",
- "hasOwnProperty",
- "isPrototypeOf",
- "propertyIsEnumerable",
- "constructor"
- ],
- dontEnumsLength = dontEnums.length;
-if (!Object.keys) {
- Object.keys = function (object) { //ecma262v5 15.2.3.14
- var theKeys = []
- var skipProto = hasProtoEnumBug && typeof object === "function"
- if (typeof object === "string" || (object && object.callee)) {
- for (var i = 0; i < object.length; ++i) {
- theKeys.push(String(i))
- }
- } else {
- for (var name in object) {
- if (!(skipProto && name === "prototype") && ohasOwn.call(object, name)) {
- theKeys.push(String(name))
- }
- }
- }
-
- if (hasDontEnumBug) {
- var ctor = object.constructor,
- skipConstructor = ctor && ctor.prototype === object
- for (var j = 0; j < dontEnumsLength; j++) {
- var dontEnum = dontEnums[j]
- if (!(skipConstructor && dontEnum === "constructor") && ohasOwn.call(object, dontEnum)) {
- theKeys.push(dontEnum)
- }
- }
- }
- return theKeys
- }
-}
-if (!Array.isArray) {
- Array.isArray = function (a) {
- return serialize.call(a) === "[object Array]"
- }
-}
-
-if (!noop.bind) {
- Function.prototype.bind = function (scope) {
- if (arguments.length < 2 && scope === void 0)
- return this
- var fn = this,
- argv = arguments
- return function () {
- var args = [],
- i
- for (i = 1; i < argv.length; i++)
- args.push(argv[i])
- for (i = 0; i < arguments.length; i++)
- args.push(arguments[i])
- return fn.apply(scope, args)
- }
- }
-}
-
-function iterator(vars, body, ret) {
- var fun = 'for(var ' + vars + 'i=0,n = this.length; i < n; i++){' + body.replace('_', '((i in this) && fn.call(scope,this[i],i,this))') + '}' + ret
- /* jshint ignore:start */
- return Function("fn,scope", fun)
- /* jshint ignore:end */
-}
-if (!rnative.test([].map)) {
- avalon.mix(ap, {
- //定位操作,返回数组中第一个等于给定参数的元素的索引值。
- indexOf: function (item, index) {
- var n = this.length,
- i = ~~index
- if (i < 0)
- i += n
- for (; i < n; i++)
- if (this[i] === item)
- return i
- return -1
- },
- //定位操作,同上,不过是从后遍历。
- lastIndexOf: function (item, index) {
- var n = this.length,
- i = index == null ? n - 1 : index
- if (i < 0)
- i = Math.max(0, n + i)
- for (; i >= 0; i--)
- if (this[i] === item)
- return i
- return -1
- },
- //迭代操作,将数组的元素挨个儿传入一个函数中执行。Prototype.js的对应名字为each。
- forEach: iterator("", '_', ""),
- //迭代类 在数组中的每个项上运行一个函数,如果此函数的值为真,则此元素作为新数组的元素收集起来,并返回新数组
- filter: iterator('r=[],j=0,', 'if(_)r[j++]=this[i]', 'return r'),
- //收集操作,将数组的元素挨个儿传入一个函数中执行,然后把它们的返回值组成一个新数组返回。Prototype.js的对应名字为collect。
- map: iterator('r=[],', 'r[i]=_', 'return r'),
- //只要数组中有一个元素满足条件(放进给定函数返回true),那么它就返回true。Prototype.js的对应名字为any。
- some: iterator("", 'if(_)return true', 'return false'),
- //只有数组中的元素都满足条件(放进给定函数返回true),它才返回true。Prototype.js的对应名字为all。
- every: iterator("", 'if(!_)return false', 'return true')
- })
-}
-/*********************************************************************
- * DOM 底层补丁 *
- **********************************************************************/
-
-function fixContains(root, el) {
- try { //IE6-8,游离于DOM树外的文本节点,访问parentNode有时会抛错
- while ((el = el.parentNode))
- if (el === root)
- return true
- return false
- } catch (e) {
- return false
- }
-}
-avalon.contains = fixContains
-//IE6-11的文档对象没有contains
-if (!DOC.contains) {
- DOC.contains = function (b) {
- return fixContains(DOC, b)
- }
-}
-
-function outerHTML() {
- return new XMLSerializer().serializeToString(this)
-}
-
-if (window.SVGElement) {
- //safari5+是把contains方法放在Element.prototype上而不是Node.prototype
- if (!DOC.createTextNode("x").contains) {
- Node.prototype.contains = function (arg) {//IE6-8没有Node对象
- return !!(this.compareDocumentPosition(arg) & 16)
- }
- }
- var svgns = "http://www.w3.org/2000/svg"
- var svg = DOC.createElementNS(svgns, "svg")
- svg.innerHTML = '<circle cx="50" cy="50" r="40" fill="red" />'
- if (!rsvg.test(svg.firstChild)) { // #409
- function enumerateNode(node, targetNode) {// jshint ignore:line
- if (node && node.childNodes) {
- var nodes = node.childNodes
- for (var i = 0, el; el = nodes[i++]; ) {
- if (el.tagName) {
- var svg = DOC.createElementNS(svgns,
- el.tagName.toLowerCase())
- ap.forEach.call(el.attributes, function (attr) {
- svg.setAttribute(attr.name, attr.value) //复制属性
- })// jshint ignore:line
- // 递归处理子节点
- enumerateNode(el, svg)
- targetNode.appendChild(svg)
- }
- }
- }
- }
- Object.defineProperties(SVGElement.prototype, {
- "outerHTML": {//IE9-11,firefox不支持SVG元素的innerHTML,outerHTML属性
- enumerable: true,
- configurable: true,
- get: outerHTML,
- set: function (html) {
- var tagName = this.tagName.toLowerCase(),
- par = this.parentNode,
- frag = avalon.parseHTML(html)
- // 操作的svg,直接插入
- if (tagName === "svg") {
- par.insertBefore(frag, this)
- // svg节点的子节点类似
- } else {
- var newFrag = DOC.createDocumentFragment()
- enumerateNode(frag, newFrag)
- par.insertBefore(newFrag, this)
- }
- par.removeChild(this)
- }
- },
- "innerHTML": {
- enumerable: true,
- configurable: true,
- get: function () {
- var s = this.outerHTML
- var ropen = new RegExp("<" + this.nodeName + '\\b(?:(["\'])[^"]*?(\\1)|[^>])*>', "i")
- var rclose = new RegExp("<\/" + this.nodeName + ">$", "i")
- return s.replace(ropen, "").replace(rclose, "")
- },
- set: function (html) {
- if (avalon.clearHTML) {
- avalon.clearHTML(this)
- var frag = avalon.parseHTML(html)
- enumerateNode(frag, this)
- }
- }
- }
- })
- }
-}
-if (!root.outerHTML && window.HTMLElement) { //firefox 到11时才有outerHTML
- HTMLElement.prototype.__defineGetter__("outerHTML", outerHTML);
-}
-
-
-//============================= event binding =======================
-var rmouseEvent = /^(?:mouse|contextmenu|drag)|click/
-function fixEvent(event) {
- var ret = {}
- for (var i in event) {
- ret[i] = event[i]
- }
- var target = ret.target = event.srcElement
- if (event.type.indexOf("key") === 0) {
- ret.which = event.charCode != null ? event.charCode : event.keyCode
- } else if (rmouseEvent.test(event.type)) {
- var doc = target.ownerDocument || DOC
- var box = doc.compatMode === "BackCompat" ? doc.body : doc.documentElement
- ret.pageX = event.clientX + (box.scrollLeft >> 0) - (box.clientLeft >> 0)
- ret.pageY = event.clientY + (box.scrollTop >> 0) - (box.clientTop >> 0)
- ret.wheelDeltaY = ret.wheelDelta
- ret.wheelDeltaX = 0
- }
- ret.timeStamp = new Date() - 0
- ret.originalEvent = event
- ret.preventDefault = function () { //阻止默认行为
- event.returnValue = false
- }
- ret.stopPropagation = function () { //阻止事件在DOM树中的传播
- event.cancelBubble = true
- }
- return ret
-}
-
-var eventHooks = avalon.eventHooks
-//针对firefox, chrome修正mouseenter, mouseleave
-if (!("onmouseenter" in root)) {
- avalon.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout"
- }, function (origType, fixType) {
- eventHooks[origType] = {
- type: fixType,
- deel: function (elem, _, fn) {
- return function (e) {
- var t = e.relatedTarget
- if (!t || (t !== elem && !(elem.compareDocumentPosition(t) & 16))) {
- delete e.type
- e.type = origType
- return fn.call(elem, e)
- }
- }
- }
- }
- })
-}
-//针对IE9+, w3c修正animationend
-avalon.each({
- AnimationEvent: "animationend",
- WebKitAnimationEvent: "webkitAnimationEnd"
-}, function (construct, fixType) {
- if (window[construct] && !eventHooks.animationend) {
- eventHooks.animationend = {
- type: fixType
- }
- }
-})
-//针对IE6-8修正input
-if (!("oninput" in DOC.createElement("input"))) {
- eventHooks.input = {
- type: "propertychange",
- deel: function (elem, _, fn) {
- return function (e) {
- if (e.propertyName === "value") {
- e.type = "input"
- return fn.call(elem, e)
- }
- }
- }
- }
-}
-if (DOC.onmousewheel === void 0) {
- /* IE6-11 chrome mousewheel wheelDetla 下 -120 上 120
- firefox DOMMouseScroll detail 下3 上-3
- firefox wheel detlaY 下3 上-3
- IE9-11 wheel deltaY 下40 上-40
- chrome wheel deltaY 下100 上-100 */
- var fixWheelType = DOC.onwheel !== void 0 ? "wheel" : "DOMMouseScroll"
- var fixWheelDelta = fixWheelType === "wheel" ? "deltaY" : "detail"
- eventHooks.mousewheel = {
- type: fixWheelType,
- deel: function (elem, _, fn) {
- return function (e) {
- e.wheelDeltaY = e.wheelDelta = e[fixWheelDelta] > 0 ? -120 : 120
- e.wheelDeltaX = 0
- if (Object.defineProperty) {
- Object.defineProperty(e, "type", {
- value: "mousewheel"
- })
- }
- fn.call(elem, e)
- }
- }
- }
-}
-
-
-
-/*********************************************************************
- * 配置系统 *
- **********************************************************************/
-
-function kernel(settings) {
- for (var p in settings) {
- if (!ohasOwn.call(settings, p))
- continue
- var val = settings[p]
- if (typeof kernel.plugins[p] === "function") {
- kernel.plugins[p](val)
- } else if (typeof kernel[p] === "object") {
- avalon.mix(kernel[p], val)
- } else {
- kernel[p] = val
- }
- }
- return this
-}
-var openTag, closeTag, rexpr, rexprg, rbind, rregexp = /[-.*+?^${}()|[\]\/\\]/g
-
-function escapeRegExp(target) {
- //http://stevenlevithan.com/regex/xregexp/
- //将字符串安全格式化为正则表达式的源码
- return (target + "").replace(rregexp, "\\$&")
-}
-
-var plugins = {
- loader: function (builtin) {
- var flag = innerRequire && builtin
- window.require = flag ? innerRequire : otherRequire
- window.define = flag ? innerRequire.define : otherDefine
- },
- interpolate: function (array) {
- openTag = array[0]
- closeTag = array[1]
- if (openTag === closeTag) {
- throw new SyntaxError("openTag!==closeTag")
- var test = openTag + "test" + closeTag
- cinerator.innerHTML = test
- if (cinerator.innerHTML !== test && cinerator.innerHTML.indexOf("&lt;") > -1) {
- throw new SyntaxError("此定界符不合法")
- }
- cinerator.innerHTML = ""
- }
- var o = escapeRegExp(openTag),
- c = escapeRegExp(closeTag)
- rexpr = new RegExp(o + "(.*?)" + c)
- rexprg = new RegExp(o + "(.*?)" + c, "g")
- rbind = new RegExp(o + ".*?" + c + "|\\sms-")
- }
-}
-
-kernel.debug = true
-kernel.plugins = plugins
-kernel.plugins['interpolate'](["{{", "}}"])
-kernel.paths = {}
-kernel.shim = {}
-kernel.maxRepeatSize = 100
-avalon.config = kernel
-var ravalon = /(\w+)\[(avalonctrl)="(\S+)"\]/
-var findNodes = DOC.querySelectorAll ? function(str) {
- return DOC.querySelectorAll(str)
-} : function(str) {
- var match = str.match(ravalon)
- var all = DOC.getElementsByTagName(match[1])
- var nodes = []
- for (var i = 0, el; el = all[i++]; ) {
- if (el.getAttribute(match[2]) === match[3]) {
- nodes.push(el)
- }
- }
- return nodes
-}
-/*********************************************************************
- * 事件总线 *
- **********************************************************************/
-var EventBus = {
- $watch: function (type, callback) {
- if (typeof callback === "function") {
- var callbacks = this.$events[type]
- if (callbacks) {
- callbacks.push(callback)
- } else {
- this.$events[type] = [callback]
- }
- } else { //重新开始监听此VM的第一重简单属性的变动
- this.$events = this.$watch.backup
- }
- return this
- },
- $unwatch: function (type, callback) {
- var n = arguments.length
- if (n === 0) { //让此VM的所有$watch回调无效化
- this.$watch.backup = this.$events
- this.$events = {}
- } else if (n === 1) {
- this.$events[type] = []
- } else {
- var callbacks = this.$events[type] || []
- var i = callbacks.length
- while (~--i < 0) {
- if (callbacks[i] === callback) {
- return callbacks.splice(i, 1)
- }
- }
- }
- return this
- },
- $fire: function (type) {
- var special, i, v, callback
- if (/^(\w+)!(\S+)$/.test(type)) {
- special = RegExp.$1
- type = RegExp.$2
- }
- var events = this.$events
- if (!events)
- return
- var args = aslice.call(arguments, 1)
- var detail = [type].concat(args)
- if (special === "all") {
- for (i in avalon.vmodels) {
- v = avalon.vmodels[i]
- if (v !== this) {
- v.$fire.apply(v, detail)
- }
- }
- } else if (special === "up" || special === "down") {
- var elements = events.expr ? findNodes(events.expr) : []
- if (elements.length === 0)
- return
- for (i in avalon.vmodels) {
- v = avalon.vmodels[i]
- if (v !== this) {
- if (v.$events.expr) {
- var eventNodes = findNodes(v.$events.expr)
- if (eventNodes.length === 0) {
- continue
- }
- //循环两个vmodel中的节点,查找匹配(向上匹配或者向下匹配)的节点并设置标识
- /* jshint ignore:start */
- ap.forEach.call(eventNodes, function (node) {
- ap.forEach.call(elements, function (element) {
- var ok = special === "down" ? element.contains(node) : //向下捕获
- node.contains(element) //向上冒泡
- if (ok) {
- node._avalon = v //符合条件的加一个标识
- }
- });
- })
- /* jshint ignore:end */
- }
- }
- }
- var nodes = DOC.getElementsByTagName("*") //实现节点排序
- var alls = []
- ap.forEach.call(nodes, function (el) {
- if (el._avalon) {
- alls.push(el._avalon)
- el._avalon = ""
- el.removeAttribute("_avalon")
- }
- })
- if (special === "up") {
- alls.reverse()
- }
- for (i = 0; callback = alls[i++]; ) {
- if (callback.$fire.apply(callback, detail) === false) {
- break
- }
- }
- } else {
- var callbacks = events[type] || []
- var all = events.$all || []
- for (i = 0; callback = callbacks[i++]; ) {
- if (isFunction(callback))
- callback.apply(this, args)
- }
- for (i = 0; callback = all[i++]; ) {
- if (isFunction(callback))
- callback.apply(this, arguments)
- }
- }
- }
-}
-
-/*********************************************************************
- * modelFactory *
- **********************************************************************/
-//avalon最核心的方法的两个方法之一(另一个是avalon.scan),返回一个ViewModel(VM)
-var VMODELS = avalon.vmodels = {} //所有vmodel都储存在这里
-avalon.define = function (id, factory) {
- var $id = id.$id || id
- if (!$id) {
- log("warning: vm必须指定$id")
- }
- if (VMODELS[$id]) {
- log("warning: " + $id + " 已经存在于avalon.vmodels中")
- }
- if (typeof id === "object") {
- var model = modelFactory(id)
- } else {
- var scope = {
- $watch: noop
- }
- factory(scope) //得到所有定义
-
- model = modelFactory(scope) //偷天换日,将scope换为model
- stopRepeatAssign = true
- factory(model)
- stopRepeatAssign = false
- }
- model.$id = $id
- return VMODELS[$id] = model
-}
-
-//一些不需要被监听的属性
-var $$skipArray = String("$id,$watch,$unwatch,$fire,$events,$model,$skipArray,$proxy,$reinitialize,$propertyNames").match(rword)
-var defineProperty = Object.defineProperty
-var canHideOwn = true
-//如果浏览器不支持ecma262v5的Object.defineProperties或者存在BUG,比如IE8
-//标准浏览器使用__defineGetter__, __defineSetter__实现
-try {
- defineProperty({}, "_", {
- value: "x"
- })
- var defineProperties = Object.defineProperties
-} catch (e) {
- canHideOwn = false
-}
-
-function modelFactory(source, $special, $model) {
- if (Array.isArray(source)) {
- var arr = source.concat()
- source.length = 0
- var collection = arrayFactory(source)
- collection.pushArray(arr)
- return collection
- }
- //0 null undefined || Node || VModel(fix IE6-8 createWithProxy $val: val引发的BUG)
- if (!source || source.nodeType > 0 || (source.$id && source.$events)) {
- return source
- }
- var $skipArray = Array.isArray(source.$skipArray) ? source.$skipArray : []
- $skipArray.$special = $special || {} //强制要监听的属性
- var $vmodel = {} //要返回的对象, 它在IE6-8下可能被偷龙转凤
- $model = $model || {} //vmodels.$model属性
- var $events = {} //vmodel.$events属性
- var accessors = {} //监控属性
- var computed = []
- $$skipArray.forEach(function (name) {
- delete source[name]
- })
- var names = Object.keys(source)
- /* jshint ignore:start */
- names.forEach(function (name, accessor) {
- var val = source[name]
- $model[name] = val
- if (isObservable(name, val, $skipArray)) {
- //总共产生三种accessor
- $events[name] = []
- var valueType = avalon.type(val)
- //总共产生三种accessor
- if (valueType === "object" && isFunction(val.get) && Object.keys(val).length <= 2) {
- accessor = makeComputedAccessor(name, val)
- computed.push(accessor)
- } else if (rcomplexType.test(valueType)) {
- accessor = makeComplexAccessor(name, val, valueType, $events[name])
- } else {
- accessor = makeSimpleAccessor(name, val)
- }
- accessors[name] = accessor
- }
- })
- /* jshint ignore:end */
-
- $vmodel = defineProperties($vmodel, descriptorFactory(accessors), source) //生成一个空的ViewModel
- for (var i = 0; i < names.length; i++) {
- var name = names[i]
- if (!accessors[name]) {
- $vmodel[name] = source[name]
- }
- }
- //添加$id, $model, $events, $watch, $unwatch, $fire
- $vmodel.$propertyNames = names.join("&shy;")
- $vmodel.$id = generateID()
- $vmodel.$model = $model
- $vmodel.$events = $events
- for (i in EventBus) {
- var fn = EventBus[i]
- if (!W3C) { //在IE6-8下,VB对象的方法里的this并不指向自身,需要用bind处理一下
- fn = fn.bind($vmodel)
- }
- $vmodel[i] = fn
- }
- if (canHideOwn) {
- Object.defineProperty($vmodel, "hasOwnProperty", hasOwnDescriptor)
- } else {
- /* jshint ignore:start */
- $vmodel.hasOwnProperty = function (name) {
- return name in $vmodel.$model
- }
- /* jshint ignore:end */
- }
-
- $vmodel.$reinitialize = function () {
- computed.forEach(function (accessor) {
- delete accessor._value
- delete accessor.oldArgs
- accessor.digest = function () {
- accessor.call($vmodel)
- }
- dependencyDetection.begin({
- callback: function (vm, dependency) {//dependency为一个accessor
- var name = dependency._name
- if (dependency !== accessor) {
- var list = vm.$events[name]
- injectDependency(list, accessor.digest)
- }
- }
- })
- try {
- accessor.get.call($vmodel)
- } finally {
- dependencyDetection.end()
- }
- })
- }
- $vmodel.$reinitialize()
- return $vmodel
-}
-
-var hasOwnDescriptor = {
- value: function (name) {
- return name in this.$model
- },
- writable: false,
- enumerable: false,
- configurable: true
-}
-//创建一个简单访问器
-function makeSimpleAccessor(name, value) {
- function accessor(value) {
- var oldValue = accessor._value
- if (arguments.length > 0) {
- if (!stopRepeatAssign && !isEqual(value, oldValue)) {
- accessor.updateValue(this, value)
- accessor.notify(this, value, oldValue)
- }
- return this
- } else {
- dependencyDetection.collectDependency(this, accessor)
- return oldValue
- }
- }
- accessorFactory(accessor, name)
- accessor._value = value
- return accessor;
-}
-
-//创建一个计算访问器
-function makeComputedAccessor(name, options) {
- function accessor(value) {//计算属性
- var oldValue = accessor._value
- var init = ("_value" in accessor)
- if (arguments.length > 0) {
- if (stopRepeatAssign) {
- return this
- }
- if (typeof accessor.set === "function") {
- if (accessor.oldArgs !== value) {
- accessor.oldArgs = value
- var $events = this.$events
- var lock = $events[name]
- $events[name] = [] //清空回调,防止内部冒泡而触发多次$fire
- accessor.set.call(this, value)
- $events[name] = lock
- value = accessor.get.call(this)
- if (value !== oldValue) {
- accessor.updateValue(this, value)
- accessor.notify(this, value, oldValue) //触发$watch回调
- }
- }
- }
- return this
- } else {
- //将依赖于自己的高层访问器或视图刷新函数(以绑定对象形式)放到自己的订阅数组中
- //将自己注入到低层访问器的订阅数组中
- value = accessor.get.call(this)
- accessor.updateValue(this, value)
- if (init && oldValue !== value) {
- accessor.notify(this, value, oldValue) //触发$watch回调
- }
- return value
- }
- }
- accessor.set = options.set
- accessor.get = options.get
- accessorFactory(accessor, name)
- return accessor
-}
-
-//创建一个复杂访问器
-function makeComplexAccessor(name, initValue, valueType, list) {
- function accessor(value) {
- var oldValue = accessor._value
-
- var son = accessor._vmodel
- if (arguments.length > 0) {
- if (stopRepeatAssign) {
- return this
- }
- if (valueType === "array") {
- var a = son, b = value,
- an = a.length,
- bn = b.length
- a.$lock = true
- if (an > bn) {
- a.splice(bn, an - bn)
- } else if (bn > an) {
- a.push.apply(a, b.slice(an))
- }
- var n = Math.min(an, bn)
- for (var i = 0; i < n; i++) {
- a.set(i, b[i])
- }
- delete a.$lock
- a._fire("set")
- } else if (valueType === "object") {
- var newPropertyNames = Object.keys(value).join("&shy;")
- if (son.$propertyNames === newPropertyNames) {
- for (i in value) {
- son[i] = value[i]
- }
- } else {
- var sson = accessor._vmodel = modelFactory(value)
- var sevent = sson.$events
- var oevent = son.$events
- for (var i in sevent) {
- var arr = sevent[i]
- if (Array.isArray(arr)) {
- arr = arr.concat(oevent[i])
- }
- }
- sevent[subscribers] = oevent[subscribers]
- sson.$proxy = son.$proxy
- son = sson
- }
- }
- accessor.updateValue(this, son.$model)
- accessor.notify(this, this._value, oldValue)
- return this
- } else {
- dependencyDetection.collectDependency(this, accessor)
- return son
- }
- }
- accessorFactory(accessor, name)
- var son = accessor._vmodel = modelFactory(initValue)
- son.$events[subscribers] = list
- return accessor
-}
-
-function globalUpdateValue(vmodel, value) {
- vmodel.$model[this._name] = this._value = value
-}
-
-function globalNotify(vmodel, value, oldValue) {
- var name = this._name
- var array = vmodel.$events[name] //刷新值
- if (array) {
- fireDependencies(array) //同步视图
- EventBus.$fire.call(vmodel, name, value, oldValue) //触发$watch回调
- }
-}
-
-function accessorFactory(accessor, name) {
- accessor._name = name
- //同时更新_value与model
- accessor.updateValue = globalUpdateValue
- accessor.notify = globalNotify
-}
-
-//比较两个值是否相等
-var isEqual = Object.is || function (v1, v2) {
- if (v1 === 0 && v2 === 0) {
- return 1 / v1 === 1 / v2
- } else if (v1 !== v1) {
- return v2 !== v2
- } else {
- return v1 === v2
- }
-}
-
-function isObservable(name, value, $skipArray) {
- if (isFunction(value) || value && value.nodeType) {
- return false
- }
- if ($skipArray.indexOf(name) !== -1) {
- return false
- }
- var $special = $skipArray.$special
- if (name && name.charAt(0) === "$" && !$special[name]) {
- return false
- }
- return true
-}
-
-var descriptorFactory = W3C ? function (obj) {
- var descriptors = {}
- for (var i in obj) {
- descriptors[i] = {
- get: obj[i],
- set: obj[i],
- enumerable: true,
- configurable: true
- }
- }
- return descriptors
-} : function (a) {
- return a
-}
-
-//===================修复浏览器对Object.defineProperties的支持=================
-if (!canHideOwn) {
- if ("__defineGetter__" in avalon) {
- defineProperty = function (obj, prop, desc) {
- if ('value' in desc) {
- obj[prop] = desc.value
- }
- if ("get" in desc) {
- obj.__defineGetter__(prop, desc.get)
- }
- if ('set' in desc) {
- obj.__defineSetter__(prop, desc.set)
- }
- return obj
- }
- defineProperties = function (obj, descs) {
- for (var prop in descs) {
- if (descs.hasOwnProperty(prop)) {
- defineProperty(obj, prop, descs[prop])
- }
- }
- return obj
- }
- }
- if (IEVersion) {
- var VBClassPool = {}
- window.execScript([// jshint ignore:line
- "Function parseVB(code)",
- "\tExecuteGlobal(code)",
- "End Function" //转换一段文本为VB代码
- ].join("\n"), "VBScript")
- function VBMediator(instance, accessors, name, value) {// jshint ignore:line
- var accessor = accessors[name]
- if (arguments.length === 4) {
- accessor.call(instance, value)
- } else {
- return accessor.call(instance)
- }
- }
- defineProperties = function (name, accessors, properties) {
- // jshint ignore:line
- var buffer = []
- buffer.push(
- "\r\n\tPrivate [__data__], [__proxy__]",
- "\tPublic Default Function [__const__](d, p)",
- "\t\tSet [__data__] = d: set [__proxy__] = p",
- "\t\tSet [__const__] = Me", //链式调用
- "\tEnd Function")
- //添加普通属性,因为VBScript对象不能像JS那样随意增删属性,必须在这里预先定义好
- for (name in properties) {
- if (!accessors.hasOwnProperty(name)) {
- buffer.push("\tPublic [" + name + "]")
- }
- }
- $$skipArray.forEach(function (name) {
- if (!accessors.hasOwnProperty(name)) {
- buffer.push("\tPublic [" + name + "]")
- }
- })
- buffer.push("\tPublic [" + 'hasOwnProperty' + "]")
- //添加访问器属性
- for (name in accessors) {
- buffer.push(
- //由于不知对方会传入什么,因此set, let都用上
- "\tPublic Property Let [" + name + "](val" + expose + ")", //setter
- "\t\tCall [__proxy__](Me,[__data__], \"" + name + "\", val" + expose + ")",
- "\tEnd Property",
- "\tPublic Property Set [" + name + "](val" + expose + ")", //setter
- "\t\tCall [__proxy__](Me,[__data__], \"" + name + "\", val" + expose + ")",
- "\tEnd Property",
- "\tPublic Property Get [" + name + "]", //getter
- "\tOn Error Resume Next", //必须优先使用set语句,否则它会误将数组当字符串返回
- "\t\tSet[" + name + "] = [__proxy__](Me,[__data__],\"" + name + "\")",
- "\tIf Err.Number <> 0 Then",
- "\t\t[" + name + "] = [__proxy__](Me,[__data__],\"" + name + "\")",
- "\tEnd If",
- "\tOn Error Goto 0",
- "\tEnd Property")
-
- }
-
- buffer.push("End Class")
- var body = buffer.join("\r\n")
- var className =VBClassPool[body]
- if (!className) {
- className = generateID("VBClass")
- window.parseVB("Class " + className + body)
- window.parseVB([
- "Function " + className + "Factory(a, b)", //创建实例并传入两个关键的参数
- "\tDim o",
- "\tSet o = (New " + className + ")(a, b)",
- "\tSet " + className + "Factory = o",
- "End Function"
- ].join("\r\n"))
- VBClassPool[body] = className
- }
- var ret = window[className + "Factory"](accessors, VBMediator) //得到其产品
- return ret //得到其产品
- }
- }
-}
-
-/*********************************************************************
- * 监控数组(与ms-each, ms-repeat配合使用) *
- **********************************************************************/
-
-function arrayFactory(model) {
- var array = []
- array.$id = generateID()
- array.$model = model //数据模型
- array.$events = {}
- array.$events[subscribers] = []
- array._ = modelFactory({
- length: model.length
- })
- array._.$watch("length", function (a, b) {
- array.$fire("length", a, b)
- })
- for (var i in EventBus) {
- array[i] = EventBus[i]
- }
- avalon.mix(array, arrayPrototype)
- return array
-}
-
-function mutateArray(method, pos, n, index, method2, pos2, n2) {
- var oldLen = this.length, loop = 2
- while (--loop) {
- switch (method) {
- case "add":
- /* jshint ignore:start */
- var array = this.$model.slice(pos, pos + n).map(function (el) {
- if (rcomplexType.test(avalon.type(el))) {
- return el.$id ? el : modelFactory(el, 0, el)
- } else {
- return el
- }
- })
- /* jshint ignore:end */
- _splice.apply(this, [pos, 0].concat(array))
- this._fire("add", pos, n)
- break
- case "del":
- var ret = this._splice(pos, n)
- this._fire("del", pos, n)
- break
- }
- if (method2) {
- method = method2
- pos = pos2
- n = n2
- loop = 2
- method2 = 0
- }
- }
- this._fire("index", index)
- if (this.length !== oldLen) {
- this._.length = this.length
- }
- return ret
-}
-
-var _splice = ap.splice
-var arrayPrototype = {
- _splice: _splice,
- _fire: function (method, a, b) {
- fireDependencies(this.$events[subscribers], method, a, b)
- },
- size: function () { //取得数组长度,这个函数可以同步视图,length不能
- return this._.length
- },
- pushArray: function (array) {
- var m = array.length, n = this.length
- if (m) {
- ap.push.apply(this.$model, array)
- mutateArray.call(this, "add", n, m, Math.max(0, n - 1))
- }
- return m + n
- },
- push: function () {
- //http://jsperf.com/closure-with-arguments
- var array = []
- var i, n = arguments.length
- for (i = 0; i < n; i++) {
- array[i] = arguments[i]
- }
- return this.pushArray(array)
- },
- unshift: function () {
- var m = arguments.length, n = this.length
- if (m) {
- ap.unshift.apply(this.$model, arguments)
- mutateArray.call(this, "add", 0, m, 0)
- }
- return m + n //IE67的unshift不会返回长度
- },
- shift: function () {
- if (this.length) {
- var el = this.$model.shift()
- mutateArray.call(this, "del", 0, 1, 0)
- return el //返回被移除的元素
- }
- },
- pop: function () {
- var n = this.length
- if (n) {
- var el = this.$model.pop()
- mutateArray.call(this, "del", n - 1, 1, Math.max(0, n - 2))
- return el //返回被移除的元素
- }
- },
- splice: function (start) {
- var m = arguments.length, args = [], change
- var removed = _splice.apply(this.$model, arguments)
- if (removed.length) { //如果用户删掉了元素
- args.push("del", start, removed.length, 0)
- change = true
- }
- if (m > 2) { //如果用户添加了元素
- if (change) {
- args.splice(3, 1, 0, "add", start, m - 2)
- } else {
- args.push("add", start, m - 2, 0)
- }
- change = true
- }
- if (change) { //返回被移除的元素
- return mutateArray.apply(this, args)
- } else {
- return []
- }
- },
- contains: function (el) { //判定是否包含
- return this.indexOf(el) !== -1
- },
- remove: function (el) { //移除第一个等于给定值的元素
- return this.removeAt(this.indexOf(el))
- },
- removeAt: function (index) { //移除指定索引上的元素
- if (index >= 0) {
- this.$model.splice(index, 1)
- return mutateArray.call(this, "del", index, 1, 0)
- }
- return []
- },
- clear: function () {
- this.$model.length = this.length = this._.length = 0 //清空数组
- this._fire("clear", 0)
- return this
- },
- removeAll: function (all) { //移除N个元素
- if (Array.isArray(all)) {
- for (var i = this.length - 1; i >= 0; i--) {
- if (all.indexOf(this[i]) !== -1) {
- this.removeAt(i)
- }
- }
- } else if (typeof all === "function") {
- for ( i = this.length - 1; i >= 0; i--) {
- var el = this[i]
- if (all(el, i)) {
- this.removeAt(i)
- }
- }
- } else {
- this.clear()
- }
- },
- ensure: function (el) {
- if (!this.contains(el)) { //只有不存在才push
- this.push(el)
- }
- return this
- },
- set: function (index, val) {
- if (index >= 0) {
- var valueType = avalon.type(val)
- if (val && val.$model) {
- val = val.$model
- }
- var target = this[index]
- if (valueType === "object") {
- for (var i in val) {
- if (target.hasOwnProperty(i)) {
- target[i] = val[i]
- }
- }
- } else if (valueType === "array") {
- target.clear().push.apply(target, val)
- } else if (target !== val) {
- this[index] = val
- this.$model[index] = val
- this._fire("set", index, val)
- }
- }
- return this
- }
-}
-//相当于原来bindingExecutors.repeat 的index分支
-function resetIndex(array, pos) {
- var last = array.length - 1
- for (var el; el = array[pos]; pos++) {
- el.$index = pos
- el.$first = pos === 0
- el.$last = pos === last
- }
-}
-
-function sortByIndex(array, indexes) {
- var map = {};
- for (var i = 0, n = indexes.length; i < n; i++) {
- map[i] = array[i] // preserve
- var j = indexes[i]
- if (j in map) {
- array[i] = map[j]
- delete map[j]
- } else {
- array[i] = array[j]
- }
- }
-}
-
-"sort,reverse".replace(rword, function (method) {
- arrayPrototype[method] = function () {
- var newArray = this.$model//这是要排序的新数组
- var oldArray = newArray.concat() //保持原来状态的旧数组
- var mask = Math.random()
- var indexes = []
- var hasSort
- ap[method].apply(newArray, arguments) //排序
- for (var i = 0, n = oldArray.length; i < n; i++) {
- var neo = newArray[i]
- var old = oldArray[i]
- if (isEqual(neo, old)) {
- indexes.push(i)
- } else {
- var index = oldArray.indexOf(neo)
- indexes.push(index)//得到新数组的每个元素在旧数组对应的位置
- oldArray[index] = mask //屏蔽已经找过的元素
- hasSort = true
- }
- }
- if (hasSort) {
- sortByIndex(this, indexes)
- // sortByIndex(this.$proxy, indexes)
- this._fire("move", indexes)
- this._fire("index", 0)
- }
- return this
- }
-})
-
-
-/*********************************************************************
- * 依赖调度系统 *
- **********************************************************************/
-//检测两个对象间的依赖关系
-var dependencyDetection = (function () {
- var outerFrames = []
- var currentFrame
- return {
- begin: function (accessorObject) {
- //accessorObject为一个拥有callback的对象
- outerFrames.push(currentFrame)
- currentFrame = accessorObject
- },
- end: function () {
- currentFrame = outerFrames.pop()
- },
- collectDependency: function (vmodel, accessor) {
- if (currentFrame) {
- //被dependencyDetection.begin调用
- currentFrame.callback(vmodel, accessor);
- }
- }
- };
-})()
-//将绑定对象注入到其依赖项的订阅数组中
-var ronduplex = /^(duplex|on)$/
-avalon.injectBinding = function (data) {
- var valueFn = data.evaluator
- if (valueFn) { //如果是求值函数
- dependencyDetection.begin({
- callback: function (vmodel, dependency) {
- injectDependency(vmodel.$events[dependency._name], data)
- }
- })
- try {
- var value = ronduplex.test(data.type) ? data : valueFn.apply(0, data.args)
- if(value === void 0){
- delete data.evaluator
- }
- data.handler(value, data.element, data)
- } catch (e) {
- //log("warning:exception throwed in [avalon.injectBinding] " + e)
- delete data.evaluator
- var node = data.element
- if (node.nodeType === 3) {
- var parent = node.parentNode
- if (kernel.commentInterpolate) {
- parent.replaceChild(DOC.createComment(data.value), node)
- } else {
- node.data = openTag + (data.oneTime ? "::" : "") + data.value + closeTag
- }
- }
- } finally {
- dependencyDetection.end()
- }
- }
-}
-
-//将依赖项(比它高层的访问器或构建视图刷新函数的绑定对象)注入到订阅者数组
-function injectDependency(list, data) {
- if (data.oneTime)
- return
- if (list && avalon.Array.ensure(list, data) && data.element) {
- injectDisposeQueue(data, list)
- }
-}
-
-//通知依赖于这个访问器的订阅者更新自身
-function fireDependencies(list) {
- if (list && list.length) {
- if (new Date() - beginTime > 444 && typeof list[0] === "object") {
- rejectDisposeQueue()
- }
- var args = aslice.call(arguments, 1)
- for (var i = list.length, fn; fn = list[--i]; ) {
- var el = fn.element
- if (el && el.parentNode) {
- try {
- var valueFn = fn.evaluator
- if (fn.$repeat) {
- fn.handler.apply(fn, args) //处理监控数组的方法
- }else if("$repeat" in fn || !valueFn ){//如果没有eval,先eval
- bindingHandlers[fn.type](fn, fn.vmodels)
- } else if (fn.type !== "on") { //事件绑定只能由用户触发,不能由程序触发
- var value = valueFn.apply(0, fn.args || [])
- fn.handler(value, el, fn)
- }
- } catch (e) { }
- }
- }
- }
-}
-/*********************************************************************
- * 定时GC回收机制 *
- **********************************************************************/
-var disposeCount = 0
-var disposeQueue = avalon.$$subscribers = []
-var beginTime = new Date()
-var oldInfo = {}
-var uuid2Node = {}
-function getUid(obj, makeID) { //IE9+,标准浏览器
- if (!obj.uuid && !makeID) {
- obj.uuid = ++disposeCount
- uuid2Node[obj.uuid] = obj
- }
- return obj.uuid
-}
-function getNode(uuid) {
- return uuid2Node[uuid]
-}
-//添加到回收列队中
-function injectDisposeQueue(data, list) {
- var elem = data.element
- if (!data.uuid) {
- if (elem.nodeType !== 1) {
- data.uuid = data.type + (data.pos || 0) + "-" + getUid(elem.parentNode)
- } else {
- data.uuid = data.name + "-" + getUid(elem)
- }
- }
- var lists = data.lists || (data.lists = [])
- avalon.Array.ensure(lists, list)
- list.$uuid = list.$uuid || generateID()
- if (!disposeQueue[data.uuid]) {
- disposeQueue[data.uuid] = 1
- disposeQueue.push(data)
- }
-}
-
-function rejectDisposeQueue(data) {
- if (avalon.optimize)
- return
- var i = disposeQueue.length
- var n = i
- var allTypes = []
- var iffishTypes = {}
- var newInfo = {}
- //对页面上所有绑定对象进行分门别类, 只检测个数发生变化的类型
- while (data = disposeQueue[--i]) {
- var type = data.type
- if (newInfo[type]) {
- newInfo[type]++
- } else {
- newInfo[type] = 1
- allTypes.push(type)
- }
- }
- var diff = false
- allTypes.forEach(function (type) {
- if (oldInfo[type] !== newInfo[type]) {
- iffishTypes[type] = 1
- diff = true
- }
- })
- i = n
- if (diff) {
- while (data = disposeQueue[--i]) {
- if (!data.element)
- continue
- if (iffishTypes[data.type] && shouldDispose(data.element)) { //如果它没有在DOM树
- disposeQueue.splice(i, 1)
- delete disposeQueue[data.uuid]
- delete uuid2Node[data.element.uuid]
- var lists = data.lists
- for (var k = 0, list; list = lists[k++]; ) {
- avalon.Array.remove(lists, list)
- avalon.Array.remove(list, data)
- }
- disposeData(data)
- }
- }
- }
- oldInfo = newInfo
- beginTime = new Date()
-}
-
-function disposeData(data) {
- data.element = null
- data.rollback && data.rollback()
- for (var key in data) {
- data[key] = null
- }
-}
-
-function shouldDispose(el) {
- try {//IE下,如果文本节点脱离DOM树,访问parentNode会报错
- if (!el.parentNode) {
- return true
- }
- } catch (e) {
- return true
- }
-
- return el.msRetain ? 0 : (el.nodeType === 1 ? !root.contains(el) : !avalon.contains(root, el))
-}
-
-/************************************************************************
- * HTML处理(parseHTML, innerHTML, clearHTML) *
- ************************************************************************/
-// We have to close these tags to support XHTML
-var tagHooks = {
- area: [1, "<map>", "</map>"],
- param: [1, "<object>", "</object>"],
- col: [2, "<table><colgroup>", "</colgroup></table>"],
- legend: [1, "<fieldset>", "</fieldset>"],
- option: [1, "<select multiple='multiple'>", "</select>"],
- thead: [1, "<table>", "</table>"],
- tr: [2, "<table>", "</table>"],
- td: [3, "<table><tr>", "</tr></table>"],
- g: [1, '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">', '</svg>'],
- //IE6-8在用innerHTML生成节点时,不能直接创建no-scope元素与HTML5的新标签
- _default: W3C ? [0, "", ""] : [1, "X<div>", "</div>"] //div可以不用闭合
-}
-tagHooks.th = tagHooks.td
-tagHooks.optgroup = tagHooks.option
-tagHooks.tbody = tagHooks.tfoot = tagHooks.colgroup = tagHooks.caption = tagHooks.thead
-String("circle,defs,ellipse,image,line,path,polygon,polyline,rect,symbol,text,use").replace(rword, function (tag) {
- tagHooks[tag] = tagHooks.g //处理SVG
-})
-var rtagName = /<([\w:]+)/ //取得其tagName
-var rxhtml = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig
-var rcreate = W3C ? /[^\d\D]/ : /(<(?:script|link|style|meta|noscript))/ig
-var scriptTypes = oneObject(["", "text/javascript", "text/ecmascript", "application/ecmascript", "application/javascript"])
-var rnest = /<(?:tb|td|tf|th|tr|col|opt|leg|cap|area)/ //需要处理套嵌关系的标签
-var script = DOC.createElement("script")
-var rhtml = /<|&#?\w+;/
-avalon.parseHTML = function (html) {
- var fragment = avalonFragment.cloneNode(false)
- if (typeof html !== "string") {
- return fragment
- }
- if (!rhtml.test(html)) {
- fragment.appendChild(DOC.createTextNode(html))
- return fragment
- }
- html = html.replace(rxhtml, "<$1></$2>").trim()
- var tag = (rtagName.exec(html) || ["", ""])[1].toLowerCase(),
- //取得其标签名
- wrap = tagHooks[tag] || tagHooks._default,
- wrapper = cinerator,
- firstChild, neo
- if (!W3C) { //fix IE
- html = html.replace(rcreate, "<br class=msNoScope>$1") //在link style script等标签之前添加一个补丁
- }
- wrapper.innerHTML = wrap[1] + html + wrap[2]
- var els = wrapper.getElementsByTagName("script")
- if (els.length) { //使用innerHTML生成的script节点不会发出请求与执行text属性
- for (var i = 0, el; el = els[i++]; ) {
- if (scriptTypes[el.type]) {
- //以偷龙转凤方式恢复执行脚本功能
- neo = script.cloneNode(false) //FF不能省略参数
- ap.forEach.call(el.attributes, function (attr) {
- if (attr && attr.specified) {
- neo[attr.name] = attr.value //复制其属性
- neo.setAttribute(attr.name, attr.value)
- }
- }) // jshint ignore:line
- neo.text = el.text
- el.parentNode.replaceChild(neo, el) //替换节点
- }
- }
- }
- if (!W3C) { //fix IE
- var target = wrap[1] === "X<div>" ? wrapper.lastChild.firstChild : wrapper.lastChild
- if (target && target.tagName === "TABLE" && tag !== "tbody") {
- //IE6-7处理 <thead> --> <thead>,<tbody>
- //<tfoot> --> <tfoot>,<tbody>
- //<table> --> <table><tbody></table>
- for (els = target.childNodes, i = 0; el = els[i++]; ) {
- if (el.tagName === "TBODY" && !el.innerHTML) {
- target.removeChild(el)
- break
- }
- }
- }
- els = wrapper.getElementsByTagName("br")
- var n = els.length
- while (el = els[--n]) {
- if (el.className === "msNoScope") {
- el.parentNode.removeChild(el)
- }
- }
- for (els = wrapper.all, i = 0; el = els[i++]; ) { //fix VML
- if (isVML(el)) {
- fixVML(el)
- }
- }
- }
- //移除我们为了符合套嵌关系而添加的标签
- for (i = wrap[0]; i--; wrapper = wrapper.lastChild) {
- }
- while (firstChild = wrapper.firstChild) { // 将wrapper上的节点转移到文档碎片上!
- fragment.appendChild(firstChild)
- }
- return fragment
-}
-
-function isVML(src) {
- var nodeName = src.nodeName
- return nodeName.toLowerCase() === nodeName && src.scopeName && src.outerText === ""
-}
-
-function fixVML(node) {
- if (node.currentStyle.behavior !== "url(#default#VML)") {
- node.style.behavior = "url(#default#VML)"
- node.style.display = "inline-block"
- node.style.zoom = 1 //hasLayout
- }
-}
-avalon.innerHTML = function (node, html) {
- if (!W3C && (!rcreate.test(html) && !rnest.test(html))) {
- try {
- node.innerHTML = html
- return
- } catch (e) {
- }
- }
- var a = this.parseHTML(html)
- this.clearHTML(node).appendChild(a)
-}
-avalon.clearHTML = function (node) {
- node.textContent = ""
- while (node.firstChild) {
- node.removeChild(node.firstChild)
- }
- return node
-}
-
-/*********************************************************************
- * avalon的原型方法定义区 *
- **********************************************************************/
-
-function hyphen(target) {
- //转换为连字符线风格
- return target.replace(/([a-z\d])([A-Z]+)/g, "$1-$2").toLowerCase()
-}
-
-function camelize(target) {
- //提前判断,提高getStyle等的效率
- if (!target || target.indexOf("-") < 0 && target.indexOf("_") < 0) {
- return target
- }
- //转换为驼峰风格
- return target.replace(/[-_][^-_]/g, function(match) {
- return match.charAt(1).toUpperCase()
- })
-}
-
-var fakeClassListMethods = {
- _toString: function() {
- var node = this.node
- var cls = node.className
- var str = typeof cls === "string" ? cls : cls.baseVal
- return str.split(/\s+/).join(" ")
- },
- _contains: function(cls) {
- return (" " + this + " ").indexOf(" " + cls + " ") > -1
- },
- _add: function(cls) {
- if (!this.contains(cls)) {
- this._set(this + " " + cls)
- }
- },
- _remove: function(cls) {
- this._set((" " + this + " ").replace(" " + cls + " ", " "))
- },
- __set: function(cls) {
- cls = cls.trim()
- var node = this.node
- if (rsvg.test(node)) {
- //SVG元素的className是一个对象 SVGAnimatedString { baseVal="", animVal=""},只能通过set/getAttribute操作
- node.setAttribute("class", cls)
- } else {
- node.className = cls
- }
- } //toggle存在版本差异,因此不使用它
-}
-
- function fakeClassList(node) {
- if (!("classList" in node)) {
- node.classList = {
- node: node
- }
- for (var k in fakeClassListMethods) {
- node.classList[k.slice(1)] = fakeClassListMethods[k]
- }
- }
- return node.classList
- }
-
-
- "add,remove".replace(rword, function(method) {
- avalon.fn[method + "Class"] = function(cls) {
- var el = this[0]
- //https://developer.mozilla.org/zh-CN/docs/Mozilla/Firefox/Releases/26
- if (cls && typeof cls === "string" && el && el.nodeType === 1) {
- cls.replace(/\S+/g, function(c) {
- fakeClassList(el)[method](c)
- })
- }
- return this
- }
- })
- avalon.fn.mix({
- hasClass: function(cls) {
- var el = this[0] || {}
- return el.nodeType === 1 && fakeClassList(el).contains(cls)
- },
- toggleClass: function(value, stateVal) {
- var className, i = 0
- var classNames = String(value).split(/\s+/)
- var isBool = typeof stateVal === "boolean"
- while ((className = classNames[i++])) {
- var state = isBool ? stateVal : !this.hasClass(className)
- this[state ? "addClass" : "removeClass"](className)
- }
- return this
- },
- attr: function(name, value) {
- if (arguments.length === 2) {
- this[0].setAttribute(name, value)
- return this
- } else {
- return this[0].getAttribute(name)
- }
- },
- data: function(name, value) {
- name = "data-" + hyphen(name || "")
- switch (arguments.length) {
- case 2:
- this.attr(name, value)
- return this
- case 1:
- var val = this.attr(name)
- return parseData(val)
- case 0:
- var ret = {}
- ap.forEach.call(this[0].attributes, function(attr) {
- if (attr) {
- name = attr.name
- if (!name.indexOf("data-")) {
- name = camelize(name.slice(5))
- ret[name] = parseData(attr.value)
- }
- }
- })
- return ret
- }
- },
- removeData: function(name) {
- name = "data-" + hyphen(name)
- this[0].removeAttribute(name)
- return this
- },
- css: function(name, value) {
- if (avalon.isPlainObject(name)) {
- for (var i in name) {
- avalon.css(this, i, name[i])
- }
- } else {
- var ret = avalon.css(this, name, value)
- }
- return ret !== void 0 ? ret : this
- },
- position: function() {
- var offsetParent, offset,
- elem = this[0],
- parentOffset = {
- top: 0,
- left: 0
- }
- if (!elem) {
- return
- }
- if (this.css("position") === "fixed") {
- offset = elem.getBoundingClientRect()
- } else {
- offsetParent = this.offsetParent() //得到真正的offsetParent
- offset = this.offset() // 得到正确的offsetParent
- if (offsetParent[0].tagName !== "HTML") {
- parentOffset = offsetParent.offset()
- }
- parentOffset.top += avalon.css(offsetParent[0], "borderTopWidth", true)
- parentOffset.left += avalon.css(offsetParent[0], "borderLeftWidth", true)
-
- // Subtract offsetParent scroll positions
- parentOffset.top -= offsetParent.scrollTop()
- parentOffset.left -= offsetParent.scrollLeft()
- }
- return {
- top: offset.top - parentOffset.top - avalon.css(elem, "marginTop", true),
- left: offset.left - parentOffset.left - avalon.css(elem, "marginLeft", true)
- }
- },
- offsetParent: function() {
- var offsetParent = this[0].offsetParent
- while (offsetParent && avalon.css(offsetParent, "position") === "static") {
- offsetParent = offsetParent.offsetParent;
- }
- return avalon(offsetParent || root)
- },
- bind: function(type, fn, phase) {
- if (this[0]) { //此方法不会链
- return avalon.bind(this[0], type, fn, phase)
- }
- },
- unbind: function(type, fn, phase) {
- if (this[0]) {
- avalon.unbind(this[0], type, fn, phase)
- }
- return this
- },
- val: function(value) {
- var node = this[0]
- if (node && node.nodeType === 1) {
- var get = arguments.length === 0
- var access = get ? ":get" : ":set"
- var fn = valHooks[getValType(node) + access]
- if (fn) {
- var val = fn(node, value)
- } else if (get) {
- return (node.value || "").replace(/\r/g, "")
- } else {
- node.value = value
- }
- }
- return get ? val : this
- }
- })
-
- function parseData(data) {
- try {
- if (typeof data === "object")
- return data
- data = data === "true" ? true :
- data === "false" ? false :
- data === "null" ? null : +data + "" === data ? +data : rbrace.test(data) ? avalon.parseJSON(data) : data
- } catch (e) {}
- return data
- }
-var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/,
- rvalidchars = /^[\],:{}\s]*$/,
- rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,
- rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,
- rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g
-avalon.parseJSON = window.JSON ? JSON.parse : function(data) {
- if (typeof data === "string") {
- data = data.trim();
- if (data) {
- if (rvalidchars.test(data.replace(rvalidescape, "@")
- .replace(rvalidtokens, "]")
- .replace(rvalidbraces, ""))) {
- return (new Function("return " + data))() // jshint ignore:line
- }
- }
- avalon.error("Invalid JSON: " + data)
- }
- return data
-}
-
-//生成avalon.fn.scrollLeft, avalon.fn.scrollTop方法
-avalon.each({
- scrollLeft: "pageXOffset",
- scrollTop: "pageYOffset"
-}, function(method, prop) {
- avalon.fn[method] = function(val) {
- var node = this[0] || {}, win = getWindow(node),
- top = method === "scrollTop"
- if (!arguments.length) {
- return win ? (prop in win) ? win[prop] : root[method] : node[method]
- } else {
- if (win) {
- win.scrollTo(!top ? val : avalon(win).scrollLeft(), top ? val : avalon(win).scrollTop())
- } else {
- node[method] = val
- }
- }
- }
-})
-
-function getWindow(node) {
- return node.window && node.document ? node : node.nodeType === 9 ? node.defaultView || node.parentWindow : false;
-}
-//=============================css相关=======================
-var cssHooks = avalon.cssHooks = {}
-var prefixes = ["", "-webkit-", "-o-", "-moz-", "-ms-"]
-var cssMap = {
- "float": W3C ? "cssFloat" : "styleFloat"
-}
-avalon.cssNumber = oneObject("columnCount,order,fillOpacity,fontWeight,lineHeight,opacity,orphans,widows,zIndex,zoom")
-
-avalon.cssName = function(name, host, camelCase) {
- if (cssMap[name]) {
- return cssMap[name]
- }
- host = host || root.style
- for (var i = 0, n = prefixes.length; i < n; i++) {
- camelCase = camelize(prefixes[i] + name)
- if (camelCase in host) {
- return (cssMap[name] = camelCase)
- }
- }
- return null
-}
-cssHooks["@:set"] = function(node, name, value) {
- try { //node.style.width = NaN;node.style.width = "xxxxxxx";node.style.width = undefine 在旧式IE下会抛异常
- node.style[name] = value
- } catch (e) {}
-}
-if (window.getComputedStyle) {
- cssHooks["@:get"] = function(node, name) {
- if (!node || !node.style) {
- throw new Error("getComputedStyle要求传入一个节点 " + node)
- }
- var ret, styles = getComputedStyle(node, null)
- if (styles) {
- ret = name === "filter" ? styles.getPropertyValue(name) : styles[name]
- if (ret === "") {
- ret = node.style[name] //其他浏览器需要我们手动取内联样式
- }
- }
- return ret
- }
- cssHooks["opacity:get"] = function(node) {
- var ret = cssHooks["@:get"](node, "opacity")
- return ret === "" ? "1" : ret
- }
-} else {
- var rnumnonpx = /^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i
- var rposition = /^(top|right|bottom|left)$/
- var ralpha = /alpha\([^)]*\)/i
- var ie8 = !! window.XDomainRequest
- var salpha = "DXImageTransform.Microsoft.Alpha"
- var border = {
- thin: ie8 ? '1px' : '2px',
- medium: ie8 ? '3px' : '4px',
- thick: ie8 ? '5px' : '6px'
- }
- cssHooks["@:get"] = function(node, name) {
- //取得精确值,不过它有可能是带em,pc,mm,pt,%等单位
- var currentStyle = node.currentStyle
- var ret = currentStyle[name]
- if ((rnumnonpx.test(ret) && !rposition.test(ret))) {
- //①,保存原有的style.left, runtimeStyle.left,
- var style = node.style,
- left = style.left,
- rsLeft = node.runtimeStyle.left
- //②由于③处的style.left = xxx会影响到currentStyle.left,
- //因此把它currentStyle.left放到runtimeStyle.left,
- //runtimeStyle.left拥有最高优先级,不会style.left影响
- node.runtimeStyle.left = currentStyle.left
- //③将精确值赋给到style.left,然后通过IE的另一个私有属性 style.pixelLeft
- //得到单位为px的结果;fontSize的分支见http://bugs.jquery.com/ticket/760
- style.left = name === 'fontSize' ? '1em' : (ret || 0)
- ret = style.pixelLeft + "px"
- //④还原 style.left,runtimeStyle.left
- style.left = left
- node.runtimeStyle.left = rsLeft
- }
- if (ret === "medium") {
- name = name.replace("Width", "Style")
- //border width 默认值为medium,即使其为0"
- if (currentStyle[name] === "none") {
- ret = "0px"
- }
- }
- return ret === "" ? "auto" : border[ret] || ret
- }
- cssHooks["opacity:set"] = function(node, name, value) {
- var style = node.style
- var opacity = isFinite(value) && value <= 1 ? "alpha(opacity=" + value * 100 + ")" : ""
- var filter = style.filter || "";
- style.zoom = 1
- //不能使用以下方式设置透明度
- //node.filters.alpha.opacity = value * 100
- style.filter = (ralpha.test(filter) ?
- filter.replace(ralpha, opacity) :
- filter + " " + opacity).trim()
- if (!style.filter) {
- style.removeAttribute("filter")
- }
- }
- cssHooks["opacity:get"] = function(node) {
- //这是最快的获取IE透明值的方式,不需要动用正则了!
- var alpha = node.filters.alpha || node.filters[salpha],
- op = alpha && alpha.enabled ? alpha.opacity : 100
- return (op / 100) + "" //确保返回的是字符串
- }
-}
-
-"top,left".replace(rword, function(name) {
- cssHooks[name + ":get"] = function(node) {
- var computed = cssHooks["@:get"](node, name)
- return /px$/.test(computed) ? computed :
- avalon(node).position()[name] + "px"
- }
-})
-
-var cssShow = {
- position: "absolute",
- visibility: "hidden",
- display: "block"
-}
-
-var rdisplayswap = /^(none|table(?!-c[ea]).+)/
-
- function showHidden(node, array) {
- //http://www.cnblogs.com/rubylouvre/archive/2012/10/27/2742529.html
- if (node.offsetWidth <= 0) { //opera.offsetWidth可能小于0
- if (rdisplayswap.test(cssHooks["@:get"](node, "display"))) {
- var obj = {
- node: node
- }
- for (var name in cssShow) {
- obj[name] = node.style[name]
- node.style[name] = cssShow[name]
- }
- array.push(obj)
- }
- var parent = node.parentNode
- if (parent && parent.nodeType === 1) {
- showHidden(parent, array)
- }
- }
- }
- "Width,Height".replace(rword, function(name) { //fix 481
- var method = name.toLowerCase(),
- clientProp = "client" + name,
- scrollProp = "scroll" + name,
- offsetProp = "offset" + name
- cssHooks[method + ":get"] = function(node, which, override) {
- var boxSizing = -4
- if (typeof override === "number") {
- boxSizing = override
- }
- which = name === "Width" ? ["Left", "Right"] : ["Top", "Bottom"]
- var ret = node[offsetProp] // border-box 0
- if (boxSizing === 2) { // margin-box 2
- return ret + avalon.css(node, "margin" + which[0], true) + avalon.css(node, "margin" + which[1], true)
- }
- if (boxSizing < 0) { // padding-box -2
- ret = ret - avalon.css(node, "border" + which[0] + "Width", true) - avalon.css(node, "border" + which[1] + "Width", true)
- }
- if (boxSizing === -4) { // content-box -4
- ret = ret - avalon.css(node, "padding" + which[0], true) - avalon.css(node, "padding" + which[1], true)
- }
- return ret
- }
- cssHooks[method + "&get"] = function(node) {
- var hidden = [];
- showHidden(node, hidden);
- var val = cssHooks[method + ":get"](node)
- for (var i = 0, obj; obj = hidden[i++];) {
- node = obj.node
- for (var n in obj) {
- if (typeof obj[n] === "string") {
- node.style[n] = obj[n]
- }
- }
- }
- return val;
- }
- avalon.fn[method] = function(value) { //会忽视其display
- var node = this[0]
- if (arguments.length === 0) {
- if (node.setTimeout) { //取得窗口尺寸,IE9后可以用node.innerWidth /innerHeight代替
- return node["inner" + name] || node.document.documentElement[clientProp]
- }
- if (node.nodeType === 9) { //取得页面尺寸
- var doc = node.documentElement
- //FF chrome html.scrollHeight< body.scrollHeight
- //IE 标准模式 : html.scrollHeight> body.scrollHeight
- //IE 怪异模式 : html.scrollHeight 最大等于可视窗口多一点?
- return Math.max(node.body[scrollProp], doc[scrollProp], node.body[offsetProp], doc[offsetProp], doc[clientProp])
- }
- return cssHooks[method + "&get"](node)
- } else {
- return this.css(method, value)
- }
- }
- avalon.fn["inner" + name] = function() {
- return cssHooks[method + ":get"](this[0], void 0, -2)
- }
- avalon.fn["outer" + name] = function(includeMargin) {
- return cssHooks[method + ":get"](this[0], void 0, includeMargin === true ? 2 : 0)
- }
- })
- avalon.fn.offset = function() { //取得距离页面左右角的坐标
- var node = this[0],
- box = {
- left: 0,
- top: 0
- }
- if (!node || !node.tagName || !node.ownerDocument) {
- return box
- }
- var doc = node.ownerDocument,
- body = doc.body,
- root = doc.documentElement,
- win = doc.defaultView || doc.parentWindow
- if (!avalon.contains(root, node)) {
- return box
- }
- //http://hkom.blog1.fc2.com/?mode=m&no=750 body的偏移量是不包含margin的
- //我们可以通过getBoundingClientRect来获得元素相对于client的rect.
- //http://msdn.microsoft.com/en-us/library/ms536433.aspx
- if (node.getBoundingClientRect) {
- box = node.getBoundingClientRect() // BlackBerry 5, iOS 3 (original iPhone)
- }
- //chrome/IE6: body.scrollTop, firefox/other: root.scrollTop
- var clientTop = root.clientTop || body.clientTop,
- clientLeft = root.clientLeft || body.clientLeft,
- scrollTop = Math.max(win.pageYOffset || 0, root.scrollTop, body.scrollTop),
- scrollLeft = Math.max(win.pageXOffset || 0, root.scrollLeft, body.scrollLeft)
- // 把滚动距离加到left,top中去。
- // IE一些版本中会自动为HTML元素加上2px的border,我们需要去掉它
- // http://msdn.microsoft.com/en-us/library/ms533564(VS.85).aspx
- return {
- top: box.top + scrollTop - clientTop,
- left: box.left + scrollLeft - clientLeft
- }
- }
-
- //==================================val相关============================
-
- function getValType(elem) {
- var ret = elem.tagName.toLowerCase()
- return ret === "input" && /checkbox|radio/.test(elem.type) ? "checked" : ret
- }
-var roption = /^<option(?:\s+\w+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+))?)*\s+value[\s=]/i
-var valHooks = {
- "option:get": IEVersion ? function(node) {
- //在IE11及W3C,如果没有指定value,那么node.value默认为node.text(存在trim作),但IE9-10则是取innerHTML(没trim操作)
- //specified并不可靠,因此通过分析outerHTML判定用户有没有显示定义value
- return roption.test(node.outerHTML) ? node.value : node.text.trim()
- } : function(node) {
- return node.value
- },
- "select:get": function(node, value) {
- var option, options = node.options,
- index = node.selectedIndex,
- getter = valHooks["option:get"],
- one = node.type === "select-one" || index < 0,
- values = one ? null : [],
- max = one ? index + 1 : options.length,
- i = index < 0 ? max : one ? index : 0
- for (; i < max; i++) {
- option = options[i]
- //旧式IE在reset后不会改变selected,需要改用i === index判定
- //我们过滤所有disabled的option元素,但在safari5下,如果设置select为disable,那么其所有孩子都disable
- //因此当一个元素为disable,需要检测其是否显式设置了disable及其父节点的disable情况
- if ((option.selected || i === index) && !option.disabled) {
- value = getter(option)
- if (one) {
- return value
- }
- //收集所有selected值组成数组返回
- values.push(value)
- }
- }
- return values
- },
- "select:set": function(node, values, optionSet) {
- values = [].concat(values) //强制转换为数组
- var getter = valHooks["option:get"]
- for (var i = 0, el; el = node.options[i++];) {
- if ((el.selected = values.indexOf(getter(el)) > -1)) {
- optionSet = true
- }
- }
- if (!optionSet) {
- node.selectedIndex = -1
- }
- }
-}
-
-/*********************************************************************
- * 编译系统 *
- **********************************************************************/
-var meta = {
- '\b': '\\b',
- '\t': '\\t',
- '\n': '\\n',
- '\f': '\\f',
- '\r': '\\r',
- '"': '\\"',
- '\\': '\\\\'
-}
-var quote = window.JSON && JSON.stringify || function(str) {
- return '"' + str.replace(/[\\\"\x00-\x1f]/g, function(a) {
- var c = meta[a];
- return typeof c === 'string' ? c :
- '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
- }) + '"'
-}
-
-var keywords = [
- "break,case,catch,continue,debugger,default,delete,do,else,false",
- "finally,for,function,if,in,instanceof,new,null,return,switch,this",
- "throw,true,try,typeof,var,void,while,with", /* 关键字*/
- "abstract,boolean,byte,char,class,const,double,enum,export,extends",
- "final,float,goto,implements,import,int,interface,long,native",
- "package,private,protected,public,short,static,super,synchronized",
- "throws,transient,volatile", /*保留字*/
- "arguments,let,yield,undefined" /* ECMA 5 - use strict*/].join(",")
-var rrexpstr = /\/\*[\w\W]*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|"(?:[^"\\]|\\[\w\W])*"|'(?:[^'\\]|\\[\w\W])*'|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g
-var rsplit = /[^\w$]+/g
-var rkeywords = new RegExp(["\\b" + keywords.replace(/,/g, '\\b|\\b') + "\\b"].join('|'), 'g')
-var rnumber = /\b\d[^,]*/g
-var rcomma = /^,+|,+$/g
-var variablePool = new Cache(512)
-var getVariables = function (code) {
- var key = "," + code.trim()
- var ret = variablePool.get(key)
- if (ret) {
- return ret
- }
- var match = code
- .replace(rrexpstr, "")
- .replace(rsplit, ",")
- .replace(rkeywords, "")
- .replace(rnumber, "")
- .replace(rcomma, "")
- .split(/^$|,+/)
- return variablePool.put(key, uniqSet(match))
-}
-/*添加赋值语句*/
-
-function addAssign(vars, scope, name, data) {
- var ret = [],
- prefix = " = " + name + "."
- for (var i = vars.length, prop; prop = vars[--i]; ) {
- if (scope.hasOwnProperty(prop)) {
- ret.push(prop + prefix + prop)
- data.vars.push(prop)
- if (data.type === "duplex") {
- vars.get = name + "." + prop
- }
- vars.splice(i, 1)
- }
- }
- return ret
-}
-
-function uniqSet(array) {
- var ret = [],
- unique = {}
- for (var i = 0; i < array.length; i++) {
- var el = array[i]
- var id = el && typeof el.$id === "string" ? el.$id : el
- if (!unique[id]) {
- unique[id] = ret.push(el)
- }
- }
- return ret
-}
-//缓存求值函数,以便多次利用
-var evaluatorPool = new Cache(128)
-//取得求值函数及其传参
-var rduplex = /\w\[.*\]|\w\.\w/
-var rproxy = /(\$proxy\$[a-z]+)\d+$/
-var rthimRightParentheses = /\)\s*$/
-var rthimOtherParentheses = /\)\s*\|/g
-var rquoteFilterName = /\|\s*([$\w]+)/g
-var rpatchBracket = /"\s*\["/g
-var rthimLeftParentheses = /"\s*\(/g
-function parseFilter(val, filters) {
- filters = filters
- .replace(rthimRightParentheses, "")//处理最后的小括号
- .replace(rthimOtherParentheses, function () {//处理其他小括号
- return "],|"
- })
- .replace(rquoteFilterName, function (a, b) { //处理|及它后面的过滤器的名字
- return "[" + quote(b)
- })
- .replace(rpatchBracket, function () {
- return '"],["'
- })
- .replace(rthimLeftParentheses, function () {
- return '",'
- }) + "]"
- return "return avalon.filters.$filter(" + val + ", " + filters + ")"
-}
-
-function parseExpr(code, scopes, data) {
- var dataType = data.type
- var filters = data.filters || ""
- var exprId = scopes.map(function (el) {
- return String(el.$id).replace(rproxy, "$1")
- }) + code + dataType + filters
- var vars = getVariables(code).concat(),
- assigns = [],
- names = [],
- args = [],
- prefix = ""
- //args 是一个对象数组, names 是将要生成的求值函数的参数
- scopes = uniqSet(scopes)
- data.vars = []
- for (var i = 0, sn = scopes.length; i < sn; i++) {
- if (vars.length) {
- var name = "vm" + expose + "_" + i
- names.push(name)
- args.push(scopes[i])
- assigns.push.apply(assigns, addAssign(vars, scopes[i], name, data))
- }
- }
- if (!assigns.length && dataType === "duplex") {
- return
- }
- if (dataType !== "duplex" && (code.indexOf("||") > -1 || code.indexOf("&&") > -1)) {
- //https://github.com/RubyLouvre/avalon/issues/583
- data.vars.forEach(function (v) {
- var reg = new RegExp("\\b" + v + "(?:\\.\\w+|\\[\\w+\\])+", "ig")
- code = code.replace(reg, function (_) {
- var c = _.charAt(v.length)
- var r = IEVersion ? code.slice(arguments[1] + _.length) : RegExp.rightContext
- var method = /^\s*\(/.test(r)
- if (c === "." || c === "[" || method) {//比如v为aa,我们只匹配aa.bb,aa[cc],不匹配aaa.xxx
- var name = "var" + String(Math.random()).replace(/^0\./, "")
- if (method) {//array.size()
- var array = _.split(".")
- if (array.length > 2) {
- var last = array.pop()
- assigns.push(name + " = " + array.join("."))
- return name + "." + last
- } else {
- return _
- }
- }
- assigns.push(name + " = " + _)
- return name
- } else {
- return _
- }
- })
- })
- }
- //---------------args----------------
- data.args = args
- //---------------cache----------------
- delete data.vars
- var fn = evaluatorPool.get(exprId) //直接从缓存,免得重复生成
- if (fn) {
- data.evaluator = fn
- return
- }
- prefix = assigns.join(", ")
- if (prefix) {
- prefix = "var " + prefix
- }
- if (/\S/.test(filters)) { //文本绑定,双工绑定才有过滤器
- if (!/text|html/.test(data.type)) {
- throw Error("ms-" + data.type + "不支持过滤器")
- }
- code = "\nvar ret" + expose + " = " + code + ";\r\n"
- code += parseFilter("ret" + expose, filters)
- } else if (dataType === "duplex") { //双工绑定
- var _body = "'use strict';\nreturn function(vvv){\n\t" +
- prefix +
- ";\n\tif(!arguments.length){\n\t\treturn " +
- code +
- "\n\t}\n\t" + (!rduplex.test(code) ? vars.get : code) +
- "= vvv;\n} "
- try {
- fn = Function.apply(noop, names.concat(_body))
- data.evaluator = evaluatorPool.put(exprId, fn)
- } catch (e) {
- log("debug: parse error," + e.message)
- }
- return
- } else if (dataType === "on") { //事件绑定
- if (code.indexOf("(") === -1) {
- code += ".call(this, $event)"
- } else {
- code = code.replace("(", ".call(this,")
- }
- names.push("$event")
- code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;")
- var lastIndex = code.lastIndexOf("\nreturn")
- var header = code.slice(0, lastIndex)
- var footer = code.slice(lastIndex)
- code = header + "\n" + footer
- } else { //其他绑定
- code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;")
- }
- try {
- fn = Function.apply(noop, names.concat("'use strict';\n" + prefix + code))
- data.evaluator = evaluatorPool.put(exprId, fn)
- } catch (e) {
- log("debug: parse error," + e.message)
- } finally {
- vars = assigns = names = null //释放内存
- }
-}
-
-
-//parseExpr的智能引用代理
-
-function parseExprProxy(code, scopes, data, tokens, noRegister) {
- if (Array.isArray(tokens)) {
- code = tokens.map(function (el) {
- return el.expr ? "(" + el.value + ")" : quote(el.value)
- }).join(" + ")
- }
- parseExpr(code, scopes, data)
- if (data.evaluator && !noRegister) {
- data.handler = bindingExecutors[data.handlerName || data.type]
- //方便调试
- //这里非常重要,我们通过判定视图刷新函数的element是否在DOM树决定
- //将它移出订阅者列表
- avalon.injectBinding(data)
- }
-}
-avalon.parseExprProxy = parseExprProxy
-/*********************************************************************
- * 扫描系统 *
- **********************************************************************/
-
-avalon.scan = function(elem, vmodel) {
- elem = elem || root
- var vmodels = vmodel ? [].concat(vmodel) : []
- scanTag(elem, vmodels)
-}
-
-//http://www.w3.org/TR/html5/syntax.html#void-elements
-var stopScan = oneObject("area,base,basefont,br,col,command,embed,hr,img,input,link,meta,param,source,track,wbr,noscript,script,style,textarea".toUpperCase())
-
-function checkScan(elem, callback, innerHTML) {
- var id = setTimeout(function() {
- var currHTML = elem.innerHTML
- clearTimeout(id)
- if (currHTML === innerHTML) {
- callback()
- } else {
- checkScan(elem, callback, currHTML)
- }
- })
-}
-
-
-function createSignalTower(elem, vmodel) {
- var id = elem.getAttribute("avalonctrl") || vmodel.$id
- elem.setAttribute("avalonctrl", id)
- vmodel.$events.expr = elem.tagName + '[avalonctrl="' + id + '"]'
-}
-
-var getBindingCallback = function(elem, name, vmodels) {
- var callback = elem.getAttribute(name)
- if (callback) {
- for (var i = 0, vm; vm = vmodels[i++]; ) {
- if (vm.hasOwnProperty(callback) && typeof vm[callback] === "function") {
- return vm[callback]
- }
- }
- }
-}
-
-function executeBindings(bindings, vmodels) {
- for (var i = 0, data; data = bindings[i++]; ) {
- data.vmodels = vmodels
- bindingHandlers[data.type](data, vmodels)
- if (data.evaluator && data.element && data.element.nodeType === 1) { //移除数据绑定,防止被二次解析
- //chrome使用removeAttributeNode移除不存在的特性节点时会报错 https://github.com/RubyLouvre/avalon/issues/99
- data.element.removeAttribute(data.name)
- }
- }
- bindings.length = 0
-}
-
-//https://github.com/RubyLouvre/avalon/issues/636
-var mergeTextNodes = IEVersion && window.MutationObserver ? function (elem) {
- var node = elem.firstChild, text
- while (node) {
- var aaa = node.nextSibling
- if (node.nodeType === 3) {
- if (text) {
- text.nodeValue += node.nodeValue
- elem.removeChild(node)
- } else {
- text = node
- }
- } else {
- text = null
- }
- node = aaa
- }
-} : 0
-var roneTime = /^\s*::/
-var rmsAttr = /ms-(\w+)-?(.*)/
-var priorityMap = {
- "if": 10,
- "repeat": 90,
- "data": 100,
- "widget": 110,
- "each": 1400,
- "with": 1500,
- "duplex": 2000,
- "on": 3000
-}
-
-var events = oneObject("animationend,blur,change,input,click,dblclick,focus,keydown,keypress,keyup,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,scan,scroll,submit")
-var obsoleteAttrs = oneObject("value,title,alt,checked,selected,disabled,readonly,enabled")
-function bindingSorter(a, b) {
- return a.priority - b.priority
-}
-
-function scanAttr(elem, vmodels, match) {
- var scanNode = true
- if (vmodels.length) {
- var attributes = getAttributes ? getAttributes(elem) : elem.attributes
- var bindings = []
- var fixAttrs = []
- var msData = {}
- for (var i = 0, attr; attr = attributes[i++]; ) {
- if (attr.specified) {
- if (match = attr.name.match(rmsAttr)) {
- //如果是以指定前缀命名的
- var type = match[1]
- var param = match[2] || ""
- var value = attr.value
- var name = attr.name
- if (events[type]) {
- param = type
- type = "on"
- } else if (obsoleteAttrs[type]) {
- if (type === "enabled") {//吃掉ms-enabled绑定,用ms-disabled代替
- log("warning!ms-enabled或ms-attr-enabled已经被废弃")
- type = "disabled"
- value = "!(" + value + ")"
- }
- param = type
- type = "attr"
- name = "ms-" + type + "-"+ param
- fixAttrs.push([attr.name, name, value])
- }
- msData[name] = value
- if (typeof bindingHandlers[type] === "function") {
- var newValue = value.replace(roneTime, "")
- var oneTime = value !== newValue
- var binding = {
- type: type,
- param: param,
- element: elem,
- name: name,
- value: newValue,
- oneTime: oneTime,
- uuid: name+"-"+getUid(elem),
- //chrome与firefox下Number(param)得到的值不一样 #855
- priority: (priorityMap[type] || type.charCodeAt(0) * 10 )+ (Number(param.replace(/\D/g, "")) || 0)
- }
- if (type === "html" || type === "text") {
- var token = getToken(value)
- avalon.mix(binding, token)
- binding.filters = binding.filters.replace(rhasHtml, function () {
- binding.type = "html"
- binding.group = 1
- return ""
- })// jshint ignore:line
- } else if (type === "duplex") {
- var hasDuplex = name
- } else if (name === "ms-if-loop") {
- binding.priority += 100
- }
- bindings.push(binding)
- if (type === "widget") {
- elem.msData = elem.msData || msData
- }
- }
- }
- }
- }
- if (bindings.length) {
- bindings.sort(bindingSorter)
- fixAttrs.forEach(function (arr) {
- log("warning!请改用" + arr[1] + "代替" + arr[0] + "!")
- elem.removeAttribute(arr[0])
- elem.setAttribute(arr[1], arr[2])
- })
- //http://bugs.jquery.com/ticket/7071
- //在IE下对VML读取type属性,会让此元素所有属性都变成<Failed>
- if (hasDuplex) {
- if (msData["ms-attr-checked"]) {
- log("warning!一个控件不能同时定义ms-attr-checked与" + hasDuplex)
- }
- if (msData["ms-attr-value"]) {
- log("warning!一个控件不能同时定义ms-attr-value与" + hasDuplex)
- }
- }
- for (i = 0; binding = bindings[i]; i++) {
- type = binding.type
- if (rnoscanAttrBinding.test(type)) {
- return executeBindings(bindings.slice(0, i + 1), vmodels)
- } else if (scanNode) {
- scanNode = !rnoscanNodeBinding.test(type)
- }
- }
- executeBindings(bindings, vmodels)
- }
- }
- if (scanNode && !stopScan[elem.tagName] && rbind.test(elem.innerHTML.replace(rlt, "<").replace(rgt, ">"))) {
- mergeTextNodes && mergeTextNodes(elem)
- scanNodeList(elem, vmodels) //扫描子孙元素
- }
-}
-var rnoscanAttrBinding = /^if|widget|repeat$/
-var rnoscanNodeBinding = /^each|with|html|include$/
-//IE67下,在循环绑定中,一个节点如果是通过cloneNode得到,自定义属性的specified为false,无法进入里面的分支,
-//但如果我们去掉scanAttr中的attr.specified检测,一个元素会有80+个特性节点(因为它不区分固有属性与自定义属性),很容易卡死页面
-if (!"1" [0]) {
- var attrPool = new Cache(512)
- var rattrs = /\s+(ms-[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g,
- rquote = /^['"]/,
- rtag = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/i,
- ramp = /&amp;/g
- //IE6-8解析HTML5新标签,会将它分解两个元素节点与一个文本节点
- //<body><section>ddd</section></body>
- // window.onload = function() {
- // var body = document.body
- // for (var i = 0, el; el = body.children[i++]; ) {
- // avalon.log(el.outerHTML)
- // }
- // }
- //依次输出<SECTION>, </SECTION>
- var getAttributes = function (elem) {
- var html = elem.outerHTML
- //处理IE6-8解析HTML5新标签的情况,及<br>等半闭合标签outerHTML为空的情况
- if (html.slice(0, 2) === "</" || !html.trim()) {
- return []
- }
- var str = html.match(rtag)[0]
- var attributes = [],
- match,
- k, v
- var ret = attrPool.get(str)
- if (ret) {
- return ret
- }
- while (k = rattrs.exec(str)) {
- v = k[2]
- if (v) {
- v = (rquote.test(v) ? v.slice(1, -1) : v).replace(ramp, "&")
- }
- var name = k[1].toLowerCase()
- match = name.match(rmsAttr)
- var binding = {
- name: name,
- specified: true,
- value: v || ""
- }
- attributes.push(binding)
- }
- return attrPool.put(str, attributes)
- }
-}
-
-function scanNodeList(parent, vmodels) {
- var nodes = avalon.slice(parent.childNodes)
- scanNodeArray(nodes, vmodels)
-}
-
-function scanNodeArray(nodes, vmodels) {
- for (var i = 0, node; node = nodes[i++];) {
- switch (node.nodeType) {
- case 1:
- scanTag(node, vmodels) //扫描元素节点
- if (node.msCallback) {
- node.msCallback()
- node.msCallback = void 0
- }
- break
- case 3:
- if(rexpr.test(node.nodeValue)){
- scanText(node, vmodels, i) //扫描文本节点
- }
- break
- }
- }
-}
-
-
-function scanTag(elem, vmodels, node) {
- //扫描顺序 ms-skip(0) --> ms-important(1) --> ms-controller(2) --> ms-if(10) --> ms-repeat(100)
- //--> ms-if-loop(110) --> ms-attr(970) ...--> ms-each(1400)-->ms-with(1500)--〉ms-duplex(2000)垫后
- var a = elem.getAttribute("ms-skip")
- //#360 在旧式IE中 Object标签在引入Flash等资源时,可能出现没有getAttributeNode,innerHTML的情形
- if (!elem.getAttributeNode) {
- return log("warning " + elem.tagName + " no getAttributeNode method")
- }
- var b = elem.getAttributeNode("ms-important")
- var c = elem.getAttributeNode("ms-controller")
- if (typeof a === "string") {
- return
- } else if (node = b || c) {
- var newVmodel = avalon.vmodels[node.value]
- if (!newVmodel) {
- return
- }
- //ms-important不包含父VM,ms-controller相反
- vmodels = node === b ? [newVmodel] : [newVmodel].concat(vmodels)
- var name = node.name
- elem.removeAttribute(name) //removeAttributeNode不会刷新[ms-controller]样式规则
- avalon(elem).removeClass(name)
- createSignalTower(elem, newVmodel)
- }
- scanAttr(elem, vmodels) //扫描特性节点
-}
-var rhasHtml = /\|\s*html(?:\b|$)/,
- r11a = /\|\|/g,
- rlt = /&lt;/g,
- rgt = /&gt;/g,
- rstringLiteral = /(['"])(\\\1|.)+?\1/g
-function getToken(value) {
- if (value.indexOf("|") > 0) {
- var scapegoat = value.replace(rstringLiteral, function (_) {
- return Array(_.length + 1).join("1")// jshint ignore:line
- })
- var index = scapegoat.replace(r11a, "\u1122\u3344").indexOf("|") //干掉所有短路或
- if (index > -1) {
- return {
- filters: value.slice(index),
- value: value.slice(0, index),
- expr: true
- }
- }
- }
- return {
- value: value,
- filters: "",
- expr: true
- }
-}
-
-function scanExpr(str) {
- var tokens = [],
- value, start = 0,
- stop
- do {
- stop = str.indexOf(openTag, start)
- if (stop === -1) {
- break
- }
- value = str.slice(start, stop)
- if (value) { // {{ 左边的文本
- tokens.push({
- value: value,
- filters: "",
- expr: false
- })
- }
- start = stop + openTag.length
- stop = str.indexOf(closeTag, start)
- if (stop === -1) {
- break
- }
- value = str.slice(start, stop)
- if (value) { //处理{{ }}插值表达式
- tokens.push(getToken(value, start))
- }
- start = stop + closeTag.length
- } while (1)
- value = str.slice(start)
- if (value) { //}} 右边的文本
- tokens.push({
- value: value,
- expr: false,
- filters: ""
- })
- }
- return tokens
-}
-
-function scanText(textNode, vmodels, index) {
- var bindings = []
- tokens = scanExpr(textNode.data)
- if (tokens.length) {
- for (var i = 0; token = tokens[i++]; ) {
- var node = DOC.createTextNode(token.value) //将文本转换为文本节点,并替换原来的文本节点
- if (token.expr) {
- token.value = token.value.replace(roneTime, function () {
- token.oneTime = true
- return ""
- })
- token.type = "text"
- token.element = node
- token.filters = token.filters.replace(rhasHtml, function (a, b,c) {
- token.type = "html"
- return ""
- })// jshint ignore:line
- token.pos = index * 1000 + i
- bindings.push(token) //收集带有插值表达式的文本
- }
- avalonFragment.appendChild(node)
- }
- textNode.parentNode.replaceChild(avalonFragment, textNode)
- if (bindings.length)
- executeBindings(bindings, vmodels)
- }
-}
-
-var bools = ["autofocus,autoplay,async,allowTransparency,checked,controls",
- "declare,disabled,defer,defaultChecked,defaultSelected",
- "contentEditable,isMap,loop,multiple,noHref,noResize,noShade",
- "open,readOnly,selected"
-].join(",")
-var boolMap = {}
-bools.replace(rword, function(name) {
- boolMap[name.toLowerCase()] = name
-})
-
-var propMap = { //属性名映射
- "accept-charset": "acceptCharset",
- "char": "ch",
- "charoff": "chOff",
- "class": "className",
- "for": "htmlFor",
- "http-equiv": "httpEquiv"
-}
-
-var anomaly = ["accessKey,bgColor,cellPadding,cellSpacing,codeBase,codeType,colSpan",
- "dateTime,defaultValue,frameBorder,longDesc,maxLength,marginWidth,marginHeight",
- "rowSpan,tabIndex,useMap,vSpace,valueType,vAlign"
-].join(",")
-anomaly.replace(rword, function(name) {
- propMap[name.toLowerCase()] = name
-})
-
-var rnoscripts = /<noscript.*?>(?:[\s\S]+?)<\/noscript>/img
-var rnoscriptText = /<noscript.*?>([\s\S]+?)<\/noscript>/im
-
-var getXHR = function() {
- return new(window.XMLHttpRequest || ActiveXObject)("Microsoft.XMLHTTP") // jshint ignore:line
-}
-
-var templatePool = avalon.templateCache = {}
-
-bindingHandlers.attr = function(data, vmodels) {
- var text = data.value.trim(),
- simple = true
- if (text.indexOf(openTag) > -1 && text.indexOf(closeTag) > 2) {
- simple = false
- if (rexpr.test(text) && RegExp.rightContext === "" && RegExp.leftContext === "") {
- simple = true
- text = RegExp.$1
- }
- }
- if (data.type === "include") {
- var elem = data.element
- data.includeRendered = getBindingCallback(elem, "data-include-rendered", vmodels)
- data.includeLoaded = getBindingCallback(elem, "data-include-loaded", vmodels)
- var outer = data.includeReplace = !! avalon(elem).data("includeReplace")
- if (avalon(elem).data("includeCache")) {
- data.templateCache = {}
- }
- data.startInclude = DOC.createComment("ms-include")
- data.endInclude = DOC.createComment("ms-include-end")
- if (outer) {
- data.element = data.startInclude
- elem.parentNode.insertBefore(data.startInclude, elem)
- elem.parentNode.insertBefore(data.endInclude, elem.nextSibling)
- } else {
- elem.insertBefore(data.startInclude, elem.firstChild)
- elem.appendChild(data.endInclude)
- }
- }
- data.handlerName = "attr" //handleName用于处理多种绑定共用同一种bindingExecutor的情况
- parseExprProxy(text, vmodels, data, (simple ? 0 : scanExpr(data.value)))
-}
-
-bindingExecutors.attr = function(val, elem, data) {
- var method = data.type,
- attrName = data.param
- if (method === "css") {
- avalon(elem).css(attrName, val)
- } else if (method === "attr") {
-
- // ms-attr-class="xxx" vm.xxx="aaa bbb ccc"将元素的className设置为aaa bbb ccc
- // ms-attr-class="xxx" vm.xxx=false 清空元素的所有类名
- // ms-attr-name="yyy" vm.yyy="ooo" 为元素设置name属性
- var toRemove = (val === false) || (val === null) || (val === void 0)
-
- if (!W3C && propMap[attrName]) { //旧式IE下需要进行名字映射
- attrName = propMap[attrName]
- }
- var bool = boolMap[attrName]
- if (typeof elem[bool] === "boolean") {
- elem[bool] = !! val //布尔属性必须使用el.xxx = true|false方式设值
- if (!val) { //如果为false, IE全系列下相当于setAttribute(xxx,''),会影响到样式,需要进一步处理
- toRemove = true
- }
- }
- if (toRemove) {
- return elem.removeAttribute(attrName)
- }
- //SVG只能使用setAttribute(xxx, yyy), VML只能使用elem.xxx = yyy ,HTML的固有属性必须elem.xxx = yyy
- var isInnate = rsvg.test(elem) ? false : (DOC.namespaces && isVML(elem)) ? true : attrName in elem.cloneNode(false)
- if (isInnate) {
- elem[attrName] = val+""
- } else {
- elem.setAttribute(attrName, val)
- }
- } else if (method === "include" && val) {
- var vmodels = data.vmodels
- var rendered = data.includeRendered
- var loaded = data.includeLoaded
- var replace = data.includeReplace
- var target = replace ? elem.parentNode : elem
- var scanTemplate = function(text) {
- if (loaded) {
- var newText = loaded.apply(target, [text].concat(vmodels))
- if (typeof newText === "string")
- text = newText
- }
- if (rendered) {
- checkScan(target, function() {
- rendered.call(target)
- }, NaN)
- }
- var lastID = data.includeLastID
- if (data.templateCache && lastID && lastID !== val) {
- var lastTemplate = data.templateCache[lastID]
- if (!lastTemplate) {
- lastTemplate = data.templateCache[lastID] = DOC.createElement("div")
- ifGroup.appendChild(lastTemplate)
- }
- }
- data.includeLastID = val
- while (true) {
- var node = data.startInclude.nextSibling
- if (node && node !== data.endInclude) {
- target.removeChild(node)
- if (lastTemplate)
- lastTemplate.appendChild(node)
- } else {
- break
- }
- }
- var dom = getTemplateNodes(data, val, text)
- var nodes = avalon.slice(dom.childNodes)
- target.insertBefore(dom, data.endInclude)
- scanNodeArray(nodes, vmodels)
- }
-
- if (data.param === "src") {
- if (typeof templatePool[val] === "string") {
- avalon.nextTick(function() {
- scanTemplate(templatePool[val])
- })
- } else if (Array.isArray(templatePool[val])) { //#805 防止在循环绑定中发出许多相同的请求
- templatePool[val].push(scanTemplate)
- } else {
- var xhr = getXHR()
- xhr.onreadystatechange = function() {
- if (xhr.readyState === 4) {
- var s = xhr.status
- if (s >= 200 && s < 300 || s === 304 || s === 1223) {
- var text = xhr.responseText
- for (var f = 0, fn; fn = templatePool[val][f++];) {
- fn(text)
- }
- templatePool[val] = text
- }
- }
- }
- templatePool[val] = [scanTemplate]
- xhr.open("GET", val, true)
- if ("withCredentials" in xhr) {
- xhr.withCredentials = true
- }
- xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")
- xhr.send(null)
- }
- } else {
- //IE系列与够新的标准浏览器支持通过ID取得元素(firefox14+)
- //http://tjvantoll.com/2012/07/19/dom-element-references-as-global-variables/
- var el = val && val.nodeType === 1 ? val : DOC.getElementById(val)
- if (el) {
- if (el.tagName === "NOSCRIPT" && !(el.innerHTML || el.fixIE78)) { //IE7-8 innerText,innerHTML都无法取得其内容,IE6能取得其innerHTML
- xhr = getXHR() //IE9-11与chrome的innerHTML会得到转义的内容,它们的innerText可以
- xhr.open("GET", location, false) //谢谢Nodejs 乱炖群 深圳-纯属虚构
- xhr.send(null)
- //http://bbs.csdn.net/topics/390349046?page=1#post-393492653
- var noscripts = DOC.getElementsByTagName("noscript")
- var array = (xhr.responseText || "").match(rnoscripts) || []
- var n = array.length
- for (var i = 0; i < n; i++) {
- var tag = noscripts[i]
- if (tag) { //IE6-8中noscript标签的innerHTML,innerText是只读的
- tag.style.display = "none" //http://haslayout.net/css/noscript-Ghost-Bug
- tag.fixIE78 = (array[i].match(rnoscriptText) || ["", "&nbsp;"])[1]
- }
- }
- }
- avalon.nextTick(function() {
- scanTemplate(el.fixIE78 || el.value || el.innerText || el.innerHTML)
- })
- }
- }
- } else {
- if (!root.hasAttribute && typeof val === "string" && (method === "src" || method === "href")) {
- val = val.replace(/&amp;/g, "&") //处理IE67自动转义的问题
- }
- elem[method] = val
- if (window.chrome && elem.tagName === "EMBED") {
- var parent = elem.parentNode //#525 chrome1-37下embed标签动态设置src不能发生请求
- var comment = document.createComment("ms-src")
- parent.replaceChild(comment, elem)
- parent.replaceChild(elem, comment)
- }
- }
-}
-
-function getTemplateNodes(data, id, text) {
- var div = data.templateCache && data.templateCache[id]
- if (div) {
- var dom = DOC.createDocumentFragment(),
- firstChild
- while (firstChild = div.firstChild) {
- dom.appendChild(firstChild)
- }
- return dom
- }
- return avalon.parseHTML(text)
-}
-
-//这几个指令都可以使用插值表达式,如ms-src="aaa/{{b}}/{{c}}.html"
-"title,alt,src,value,css,include,href".replace(rword, function(name) {
- bindingHandlers[name] = bindingHandlers.attr
-})
-//根据VM的属性值或表达式的值切换类名,ms-class="xxx yyy zzz:flag"
-//http://www.cnblogs.com/rubylouvre/archive/2012/12/17/2818540.html
-bindingHandlers["class"] = function(data, vmodels) {
- var oldStyle = data.param,
- text = data.value,
- rightExpr
- data.handlerName = "class"
- if (!oldStyle || isFinite(oldStyle)) {
- data.param = "" //去掉数字
- var noExpr = text.replace(rexprg, function(a) {
- return a.replace(/./g, "0")
- //return Math.pow(10, a.length - 1) //将插值表达式插入10的N-1次方来占位
- })
- var colonIndex = noExpr.indexOf(":") //取得第一个冒号的位置
- if (colonIndex === -1) { // 比如 ms-class="aaa bbb ccc" 的情况
- var className = text
- } else { // 比如 ms-class-1="ui-state-active:checked" 的情况
- className = text.slice(0, colonIndex)
- rightExpr = text.slice(colonIndex + 1)
- parseExpr(rightExpr, vmodels, data) //决定是添加还是删除
- if (!data.evaluator) {
- log("debug: ms-class '" + (rightExpr || "").trim() + "' 不存在于VM中")
- return false
- } else {
- data._evaluator = data.evaluator
- data._args = data.args
- }
- }
- var hasExpr = rexpr.test(className) //比如ms-class="width{{w}}"的情况
- if (!hasExpr) {
- data.immobileClass = className
- }
- parseExprProxy("", vmodels, data, (hasExpr ? scanExpr(className) : 0))
- } else {
- data.immobileClass = data.oldStyle = data.param
- parseExprProxy(text, vmodels, data)
- }
-}
-
-bindingExecutors["class"] = function(val, elem, data) {
- var $elem = avalon(elem),
- method = data.type
- if (method === "class" && data.oldStyle) { //如果是旧风格
- $elem.toggleClass(data.oldStyle, !! val)
- } else {
- //如果存在冒号就有求值函数
- data.toggleClass = data._evaluator ? !! data._evaluator.apply(elem, data._args) : true
- data.newClass = data.immobileClass || val
- if (data.oldClass && data.newClass !== data.oldClass) {
- $elem.removeClass(data.oldClass)
- }
- data.oldClass = data.newClass
- switch (method) {
- case "class":
- $elem.toggleClass(data.newClass, data.toggleClass)
- break
- case "hover":
- case "active":
- if (!data.hasBindEvent) { //确保只绑定一次
- var activate = "mouseenter" //在移出移入时切换类名
- var abandon = "mouseleave"
- if (method === "active") { //在聚焦失焦中切换类名
- elem.tabIndex = elem.tabIndex || -1
- activate = "mousedown"
- abandon = "mouseup"
- var fn0 = $elem.bind("mouseleave", function() {
- data.toggleClass && $elem.removeClass(data.newClass)
- })
- }
- var fn1 = $elem.bind(activate, function() {
- data.toggleClass && $elem.addClass(data.newClass)
- })
- var fn2 = $elem.bind(abandon, function() {
- data.toggleClass && $elem.removeClass(data.newClass)
- })
- data.rollback = function() {
- $elem.unbind("mouseleave", fn0)
- $elem.unbind(activate, fn1)
- $elem.unbind(abandon, fn2)
- }
- data.hasBindEvent = true
- }
- break;
- }
- }
-}
-
-"hover,active".replace(rword, function(method) {
- bindingHandlers[method] = bindingHandlers["class"]
-})
-//ms-controller绑定已经在scanTag 方法中实现
-//ms-css绑定已由ms-attr绑定实现
-
-
-// bindingHandlers.data 定义在if.js
-bindingExecutors.data = function(val, elem, data) {
- var key = "data-" + data.param
- if (val && typeof val === "object") {
- elem[key] = val
- } else {
- elem.setAttribute(key, String(val))
- }
-}
-//双工绑定
-var duplexBinding = bindingHandlers.duplex = function(data, vmodels) {
- var elem = data.element,
- hasCast
- parseExprProxy(data.value, vmodels, data, 0, 1)
-
- data.changed = getBindingCallback(elem, "data-duplex-changed", vmodels) || noop
- if (data.evaluator && data.args) {
- var params = []
- var casting = oneObject("string,number,boolean,checked")
- if (elem.type === "radio" && data.param === "") {
- data.param = "checked"
- }
- if (elem.msData) {
- elem.msData["ms-duplex"] = data.value
- }
- data.param.replace(/\w+/g, function(name) {
- if (/^(checkbox|radio)$/.test(elem.type) && /^(radio|checked)$/.test(name)) {
- if (name === "radio")
- log("ms-duplex-radio已经更名为ms-duplex-checked")
- name = "checked"
- data.isChecked = true
- }
- if (name === "bool") {
- name = "boolean"
- log("ms-duplex-bool已经更名为ms-duplex-boolean")
- } else if (name === "text") {
- name = "string"
- log("ms-duplex-text已经更名为ms-duplex-string")
- }
- if (casting[name]) {
- hasCast = true
- }
- avalon.Array.ensure(params, name)
- })
- if (!hasCast) {
- params.push("string")
- }
- data.param = params.join("-")
- data.bound = function(type, callback) {
- if (elem.addEventListener) {
- elem.addEventListener(type, callback, false)
- } else {
- elem.attachEvent("on" + type, callback)
- }
- var old = data.rollback
- data.rollback = function() {
- elem.avalonSetter = null
- avalon.unbind(elem, type, callback)
- old && old()
- }
- }
- for (var i in avalon.vmodels) {
- var v = avalon.vmodels[i]
- v.$fire("avalon-ms-duplex-init", data)
- }
- var cpipe = data.pipe || (data.pipe = pipe)
- cpipe(null, data, "init")
- var tagName = elem.tagName
- duplexBinding[tagName] && duplexBinding[tagName](elem, data.evaluator.apply(null, data.args), data)
- }
-}
-//不存在 bindingExecutors.duplex
-
- function fixNull(val) {
- return val == null ? "" : val
- }
-avalon.duplexHooks = {
- checked: {
- get: function(val, data) {
- return !data.element.oldValue
- }
- },
- string: {
- get: function(val) { //同步到VM
- return val
- },
- set: fixNull
- },
- "boolean": {
- get: function(val) {
- return val === "true"
- },
- set: fixNull
- },
- number: {
- get: function(val, data) {
- var number = parseFloat(val)
- if (-val === -number) {
- return number
- }
- var arr = /strong|medium|weak/.exec(data.element.getAttribute("data-duplex-number")) || ["medium"]
- switch (arr[0]) {
- case "strong":
- return 0
- case "medium":
- return val === "" ? "" : 0
- case "weak":
- return val
- }
- },
- set: fixNull
- }
-}
-
-function pipe(val, data, action, e) {
- data.param.replace(/\w+/g, function(name) {
- var hook = avalon.duplexHooks[name]
- if (hook && typeof hook[action] === "function") {
- val = hook[action](val, data)
- }
- })
- return val
-}
-
-var TimerID, ribbon = []
-
- avalon.tick = function(fn) {
- if (ribbon.push(fn) === 1) {
- TimerID = setInterval(ticker, 60)
- }
- }
-
- function ticker() {
- for (var n = ribbon.length - 1; n >= 0; n--) {
- var el = ribbon[n]
- if (el() === false) {
- ribbon.splice(n, 1)
- }
- }
- if (!ribbon.length) {
- clearInterval(TimerID)
- }
- }
-
-var watchValueInTimer = noop
-var rmsinput = /text|password|hidden/
-new function() { // jshint ignore:line
- try { //#272 IE9-IE11, firefox
- var setters = {}
- var aproto = HTMLInputElement.prototype
- var bproto = HTMLTextAreaElement.prototype
- function newSetter(value) { // jshint ignore:line
- setters[this.tagName].call(this, value)
- if (rmsinput.test(this.type) && !this.msFocus && this.avalonSetter) {
- this.avalonSetter()
- }
- }
- var inputProto = HTMLInputElement.prototype
- Object.getOwnPropertyNames(inputProto) //故意引发IE6-8等浏览器报错
- setters["INPUT"] = Object.getOwnPropertyDescriptor(aproto, "value").set
-
- Object.defineProperty(aproto, "value", {
- set: newSetter
- })
- setters["TEXTAREA"] = Object.getOwnPropertyDescriptor(bproto, "value").set
- Object.defineProperty(bproto, "value", {
- set: newSetter
- })
- } catch (e) {
- //在chrome 43中 ms-duplex终于不需要使用定时器实现双向绑定了
- // http://updates.html5rocks.com/2015/04/DOM-attributes-now-on-the-prototype
- // https://docs.google.com/document/d/1jwA8mtClwxI-QJuHT7872Z0pxpZz8PBkf2bGAbsUtqs/edit?pli=1
- watchValueInTimer = avalon.tick
- }
-} // jshint ignore:line
-if (IEVersion) {
- avalon.bind(DOC, "selectionchange", function(e) {
- var el = DOC.activeElement
- if (el && typeof el.avalonSetter === "function") {
- el.avalonSetter()
- }
- })
-}
-
-//处理radio, checkbox, text, textarea, password
-duplexBinding.INPUT = function(element, evaluator, data) {
- var $type = element.type,
- bound = data.bound,
- $elem = avalon(element),
- composing = false
-
- function callback(value) {
- data.changed.call(this, value, data)
- }
-
- function compositionStart() {
- composing = true
- }
-
- function compositionEnd() {
- composing = false
- }
- //当value变化时改变model的值
- var updateVModel = function() {
- if (composing) //处理中文输入法在minlengh下引发的BUG
- return
- var val = element.oldValue = element.value //防止递归调用形成死循环
- var lastValue = data.pipe(val, data, "get")
- if ($elem.data("duplexObserve") !== false) {
- evaluator(lastValue)
- callback.call(element, lastValue)
- if ($elem.data("duplex-focus")) {
- avalon.nextTick(function() {
- element.focus()
- })
- }
- }
- }
- //当model变化时,它就会改变value的值
- data.handler = function() {
- var val = data.pipe(evaluator(), data, "set") + "" //fix #673
- if (val !== element.oldValue) {
- element.value = val
- }
- }
- if (data.isChecked || $type === "radio") {
- var IE6 = IEVersion === 6
- updateVModel = function() {
- if ($elem.data("duplexObserve") !== false) {
- var lastValue = data.pipe(element.value, data, "get")
- evaluator(lastValue)
- callback.call(element, lastValue)
- }
- }
- data.handler = function() {
- var val = evaluator()
- var checked = data.isChecked ? !! val : val + "" === element.value
- element.oldValue = checked
- if (IE6) {
- setTimeout(function() {
- //IE8 checkbox, radio是使用defaultChecked控制选中状态,
- //并且要先设置defaultChecked后设置checked
- //并且必须设置延迟
- element.defaultChecked = checked
- element.checked = checked
- }, 31)
- } else {
- element.checked = checked
- }
- }
- bound("click", updateVModel)
- } else if ($type === "checkbox") {
- updateVModel = function() {
- if ($elem.data("duplexObserve") !== false) {
- var method = element.checked ? "ensure" : "remove"
- var array = evaluator()
- if (!Array.isArray(array)) {
- log("ms-duplex应用于checkbox上要对应一个数组")
- array = [array]
- }
- var val = data.pipe(element.value, data, "get")
- avalon.Array[method](array, val)
- callback.call(element, array)
- }
- }
-
- data.handler = function() {
- var array = [].concat(evaluator()) //强制转换为数组
- var val = data.pipe(element.value, data, "get")
- element.checked = array.indexOf(val) > -1
- }
- bound(W3C ? "change" : "click", updateVModel)
- } else {
- var events = element.getAttribute("data-duplex-event") || "input"
- if (element.attributes["data-event"]) {
- log("data-event指令已经废弃,请改用data-duplex-event")
- }
-
- function delay(e) { // jshint ignore:line
- setTimeout(function() {
- updateVModel(e)
- })
- }
- events.replace(rword, function(name) {
- switch (name) {
- case "input":
- if (!IEVersion) { // W3C
- bound("input", updateVModel)
- //非IE浏览器才用这个
- bound("compositionstart", compositionStart)
- bound("compositionend", compositionEnd)
- bound("DOMAutoComplete", updateVModel)
- } else { //onpropertychange事件无法区分是程序触发还是用户触发
- // IE下通过selectionchange事件监听IE9+点击input右边的X的清空行为,及粘贴,剪切,删除行为
- if (IEVersion > 8) {
- bound("input", updateVModel) //IE9使用propertychange无法监听中文输入改动
- } else {
- bound("propertychange", function(e) { //IE6-8下第一次修改时不会触发,需要使用keydown或selectionchange修正
- if (e.propertyName === "value") {
- updateVModel()
- }
- })
- }
- bound("dragend", delay)
- //http://www.cnblogs.com/rubylouvre/archive/2013/02/17/2914604.html
- //http://www.matts411.com/post/internet-explorer-9-oninput/
- }
- break
- default:
- bound(name, updateVModel)
- break
- }
- })
- bound("focus", function() {
- element.msFocus = true
- })
- bound("blur", function() {
- element.msFocus = false
- })
-
- if (rmsinput.test($type)) {
- watchValueInTimer(function() {
- if (root.contains(element)) {
- if (!element.msFocus && element.oldValue !== element.value) {
- updateVModel()
- }
- } else if (!element.msRetain) {
- return false
- }
- })
- }
-
- element.avalonSetter = updateVModel //#765
- }
-
- element.oldValue = element.value
- avalon.injectBinding(data)
- callback.call(element, element.value)
-}
-duplexBinding.TEXTAREA = duplexBinding.INPUT
-duplexBinding.SELECT = function(element, evaluator, data) {
- var $elem = avalon(element)
-
- function updateVModel() {
- if ($elem.data("duplexObserve") !== false) {
- var val = $elem.val() //字符串或字符串数组
- if (Array.isArray(val)) {
- val = val.map(function(v) {
- return data.pipe(v, data, "get")
- })
- } else {
- val = data.pipe(val, data, "get")
- }
- if (val + "" !== element.oldValue) {
- evaluator(val)
- }
- data.changed.call(element, val, data)
- }
- }
- data.handler = function() {
- var val = evaluator()
- val = val && val.$model || val
- if (Array.isArray(val)) {
- if (!element.multiple) {
- log("ms-duplex在<select multiple=true>上要求对应一个数组")
- }
- } else {
- if (element.multiple) {
- log("ms-duplex在<select multiple=false>不能对应一个数组")
- }
- }
- //必须变成字符串后才能比较
- val = Array.isArray(val) ? val.map(String) : val + ""
- if (val + "" !== element.oldValue) {
- $elem.val(val)
- element.oldValue = val + ""
- }
- }
- data.bound("change", updateVModel)
- element.msCallback = function() {
- avalon.injectBinding(data)
- data.changed.call(element, evaluator(), data)
- }
-}
-// bindingHandlers.html 定义在if.js
-bindingExecutors.html = function (val, elem, data) {
- var isHtmlFilter = elem.nodeType !== 1
- var parent = isHtmlFilter ? elem.parentNode : elem
- if (!parent)
- return
- val = val == null ? "" : val
- if (data.oldText !== val) {
- data.oldText = val
- } else {
- return
- }
- if (elem.nodeType === 3) {
- var signature = generateID("html")
- parent.insertBefore(DOC.createComment(signature), elem)
- data.element = DOC.createComment(signature + ":end")
- parent.replaceChild(data.element, elem)
- elem = data.element
- }
- if (typeof val !== "object") {//string, number, boolean
- var fragment = avalon.parseHTML(String(val))
- } else if (val.nodeType === 11) { //将val转换为文档碎片
- fragment = val
- } else if (val.nodeType === 1 || val.item) {
- var nodes = val.nodeType === 1 ? val.childNodes : val.item
- fragment = avalonFragment.cloneNode(true)
- while (nodes[0]) {
- fragment.appendChild(nodes[0])
- }
- }
-
- nodes = avalon.slice(fragment.childNodes)
- //插入占位符, 如果是过滤器,需要有节制地移除指定的数量,如果是html指令,直接清空
- if (isHtmlFilter) {
- var endValue = elem.nodeValue.slice(0, -4)
- while (true) {
- var node = elem.previousSibling
- if (!node || node.nodeType === 8 && node.nodeValue === endValue) {
- break
- } else {
- parent.removeChild(node)
- }
- }
- parent.insertBefore(fragment, elem)
- } else {
- avalon.clearHTML(elem).appendChild(fragment)
- }
- scanNodeArray(nodes, data.vmodels)
-}
-bindingHandlers["if"] =
- bindingHandlers.data =
- bindingHandlers.text =
- bindingHandlers.html =
- function(data, vmodels) {
- parseExprProxy(data.value, vmodels, data)
-}
-
-bindingExecutors["if"] = function(val, elem, data) {
- try {
- if(!elem.parentNode) return
- } catch(e) {return}
- if (val) { //插回DOM树
- if (elem.nodeType === 8) {
- elem.parentNode.replaceChild(data.template, elem)
- // animate.enter(data.template, elem.parentNode)
- elem = data.element = data.template //这时可能为null
- }
- if (elem.getAttribute(data.name)) {
- elem.removeAttribute(data.name)
- scanAttr(elem, data.vmodels)
- }
- data.rollback = null
- } else { //移出DOM树,并用注释节点占据原位置
- if (elem.nodeType === 1) {
- var node = data.element = DOC.createComment("ms-if")
- elem.parentNode.replaceChild(node, elem)
- // animate.leave(elem, node.parentNode, node)
- data.template = elem //元素节点
- ifGroup.appendChild(elem)
- data.rollback = function() {
- if (elem.parentNode === ifGroup) {
- ifGroup.removeChild(elem)
- }
- }
- }
- }
-}
-//ms-important绑定已经在scanTag 方法中实现
-//ms-include绑定已由ms-attr绑定实现
-
-var rdash = /\(([^)]*)\)/
-bindingHandlers.on = function(data, vmodels) {
- var value = data.value
- data.type = "on"
- var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10
- if (typeof bindingHandlers.on[eventType + "Hook"] === "function") {
- bindingHandlers.on[eventType + "Hook"](data)
- }
- if (value.indexOf("(") > 0 && value.indexOf(")") > -1) {
- var matched = (value.match(rdash) || ["", ""])[1].trim()
- if (matched === "" || matched === "$event") { // aaa() aaa($event)当成aaa处理
- value = value.replace(rdash, "")
- }
- }
- parseExprProxy(value, vmodels, data)
-}
-
-bindingExecutors.on = function(callback, elem, data) {
- callback = function(e) {
- var fn = data.evaluator || noop
- return fn.apply(this, data.args.concat(e))
- }
- var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10
- if (eventType === "scan") {
- callback.call(elem, {
- type: eventType
- })
- } else if (typeof data.specialBind === "function") {
- data.specialBind(elem, callback)
- } else {
- var removeFn = avalon.bind(elem, eventType, callback)
- }
- data.rollback = function() {
- if (typeof data.specialUnbind === "function") {
- data.specialUnbind()
- } else {
- avalon.unbind(elem, eventType, removeFn)
- }
- }
-}
-bindingHandlers.repeat = function (data, vmodels) {
- var type = data.type
- parseExprProxy(data.value, vmodels, data, 0, 1)
- data.proxies = []
- var freturn = false
- try {
- var $repeat = data.$repeat = data.evaluator.apply(0, data.args || [])
- var xtype = avalon.type($repeat)
- if (xtype !== "object" && xtype !== "array") {
- freturn = true
- avalon.log("warning:" + data.value + "只能是对象或数组")
- }
- } catch (e) {
- freturn = true
- }
- var arr = data.value.split(".") || []
- if (arr.length > 1) {
- arr.pop()
- var n = arr[0]
- for (var i = 0, v; v = vmodels[i++]; ) {
- if (v && v.hasOwnProperty(n)) {
- var events = v[n].$events || {}
- events[subscribers] = events[subscribers] || []
- events[subscribers].push(data)
- break
- }
- }
- }
-
- var elem = data.element
- if (elem.nodeType === 1) {
- elem.removeAttribute(data.name)
- data.sortedCallback = getBindingCallback(elem, "data-with-sorted", vmodels)
- data.renderedCallback = getBindingCallback(elem, "data-" + type + "-rendered", vmodels)
- var signature = generateID(type)
- var start = DOC.createComment(signature)
- var end = DOC.createComment(signature + ":end")
- data.signature = signature
- data.template = avalonFragment.cloneNode(false)
- if (type === "repeat") {
- var parent = elem.parentNode
- parent.replaceChild(end, elem)
- parent.insertBefore(start, end)
- data.template.appendChild(elem)
- } else {
- while (elem.firstChild) {
- data.template.appendChild(elem.firstChild)
- }
- elem.appendChild(start)
- elem.appendChild(end)
- }
- data.element = end
- data.handler = bindingExecutors.repeat
- data.rollback = function () {
- var elem = data.element
- if (!elem)
- return
- data.handler("clear")
- }
- }
-
- if (freturn) {
- return
- }
-
- data.$outer = {}
- var check0 = "$key"
- var check1 = "$val"
- if (Array.isArray($repeat)) {
- check0 = "$first"
- check1 = "$last"
- }
-
- for (i = 0; v = vmodels[i++]; ) {
- if (v.hasOwnProperty(check0) && v.hasOwnProperty(check1)) {
- data.$outer = v
- break
- }
- }
- var $events = $repeat.$events
- var $list = ($events || {})[subscribers]
- injectDependency($list, data)
- if (xtype === "object") {
- data.$with = true
- $repeat.$proxy || ($repeat.$proxy = {})
- data.handler("append", $repeat)
- } else if ($repeat.length) {
- data.handler("add", 0, $repeat.length)
- }
-}
-
-bindingExecutors.repeat = function (method, pos, el) {
- if (!method && this.$with) {
- method = "append"
- var flag = "update"
- }
- if (method) {
- var data = this, start, fragment
- var end = data.element
- var comments = getComments(data)
- var parent = end.parentNode
- var proxies = data.proxies
- var transation = avalonFragment.cloneNode(false)
- switch (method) {
- case "add": //在pos位置后添加el数组(pos为插入位置,el为要插入的个数)
- var n = pos + el
- var fragments = []
- for (var i = pos; i < n; i++) {
- var proxy = eachProxyAgent(i, data)
- proxies.splice(i, 0, proxy)
- shimController(data, transation, proxy, fragments)
- }
- var now = new Date() - 0
- avalon.optimize = avalon.optimize || now
- for (i = 0; fragment = fragments[i++]; ) {
- scanNodeArray(fragment.nodes, fragment.vmodels)
- fragment.nodes = fragment.vmodels = null
- }
- if (avalon.optimize === now) {
- avalon.optimize = null
- }
- parent.insertBefore(transation, comments[pos] || end)
- avalon.profile("插入操作花费了 " + (new Date - now))
- break
- case "del": //将pos后的el个元素删掉(pos, el都是数字)
- sweepNodes(comments[pos], comments[pos + el] || end)
- var removed = proxies.splice(pos, el)
- recycleProxies(removed, "each")
- break
- case "clear":
- start = comments[0]
- if (start) {
- sweepNodes(start, end)
- if (data.$with) {
- parent.insertBefore(start, end)
- }
- }
- recycleProxies(proxies, "each")
- break
- case "move":
- start = comments[0]
- if (start) {
- var signature = start.nodeValue
- var rooms = []
- var room = [],
- node
- sweepNodes(start, end, function () {
- room.unshift(this)
- if (this.nodeValue === signature) {
- rooms.unshift(room)
- room = []
- }
- })
- sortByIndex(rooms, pos)
- sortByIndex(proxies, pos)
- while (room = rooms.shift()) {
- while (node = room.shift()) {
- transation.appendChild(node)
- }
- }
- parent.insertBefore(transation, end)
- }
- break
- case "index": //将proxies中的第pos个起的所有元素重新索引
- var last = proxies.length - 1
- for (; el = proxies[pos]; pos++) {
- el.$index = pos
- el.$first = pos === 0
- el.$last = pos === last
- }
- return
- case "set": //将proxies中的第pos个元素的VM设置为el(pos为数字,el任意)
- proxy = proxies[pos]
- if (proxy) {
- fireDependencies(proxy.$events[data.param || "el"])
- }
- break
- case "append":
- var object = data.$repeat //原来第2参数, 被循环对象
- var oldProxy = object.$proxy //代理对象组成的hash
- var keys = []
- now = new Date() - 0
- avalon.optimize = avalon.optimize || now
- if (flag === "update") {
- if (!data.evaluator) {
- parseExprProxy(data.value, data.vmodels, data, 0, 1)
- }
- object = data.$repeat = data.evaluator.apply(0, data.args || [])
- object.$proxy = oldProxy
- }
- var pool = object.$proxy || {}
- removed = []
- var nodes = data.element.parentNode.childNodes
- var add = false
- for (i = 0; node = nodes[i++]; ) {
- if (node.nodeValue === data.signature) {
- add = true
- } else if (node.nodeValue === data.signature + ":end") {
- add = false
- }
- if (add) {
- removed.push(node)
- }
- }
-
- var indexNode = [], item
- var keyIndex = data.keyIndex || (data.keyIndex = {})
- //将现有的节点全部移出DOM树
- for ( i = 0; i < removed.length; i++) {
- el = removed[i]
- if (el.nodeValue === data.signature) {
- item = avalonFragment.cloneNode(false)
- indexNode.push(item)
- }
- item.appendChild(el)
- }
-
-
- for (var key in object) { //当前对象的所有键名
- if (object.hasOwnProperty(key) && key !== "hasOwnProperty" && key !== "$proxy") {
- keys.push(key)
- }
- }
-
- for (var i = 0; key = keys[i++]; ) {
- if (!pool.hasOwnProperty(key)) {//添加缺失的代理VM
- pool[key] = withProxyAgent(pool[key], key, data)
- } else {
- pool[key].$val = object[key]
- }
- }
-
- for ( key in pool) {
- if (keys.indexOf(key) === -1) {//删除没用的代理VM
- proxyRecycler(pool[key], withProxyPool) //去掉之前的代理VM
- delete pool[key]
- }
- }
- var fragments = []
- var renderKeys = keys //需要渲染到DOM树去的键名
- var end = data.element
- if (data.sortedCallback) { //如果有回调,则让它们排序
- var keys2 = data.sortedCallback.call(parent, keys)
- if (keys2 && Array.isArray(keys2)) {
- renderKeys = keys2
- }
- }
-
- for (i = 0; i < renderKeys.length; i++) {
- key = renderKeys[i]
- if (typeof keyIndex[key] === "number") {
- transation.appendChild(indexNode[keyIndex[key]])
- fragments.push({})
- } else {
- shimController(data, transation, pool[key], fragments)
- }
- }
-
- for (i = 0; i < renderKeys.length; i++) {
- keyIndex[renderKeys[i]] = i
- }
-
- for (i = 0; fragment = fragments[i++]; ) {
- if (fragment.nodes) {
- scanNodeArray(fragment.nodes, fragment.vmodels)
- fragment.nodes = fragment.vmodels = null
- }
- }
- if (avalon.optimize === now) {
- avalon.optimize = null
- }
- parent.insertBefore(transation, end)
- avalon.profile("插入操作花费了 " + (new Date - now))
- break
- }
- if (!data.$repeat || data.$repeat.hasOwnProperty("$lock")) //IE6-8 VBScript对象会报错, 有时候data.$repeat不存在
- return
- if (method === "clear")
- method = "del"
- var callback = data.renderedCallback || noop,
- args = arguments
- if (parent.oldValue && parent.tagName === "SELECT") { //fix #503
- avalon(parent).val(parent.oldValue.split(","))
- }
- callback.apply(parent, args)
- }
-}
-"with,each".replace(rword, function (name) {
- bindingHandlers[name] = bindingHandlers.repeat
-})
-
-function shimController(data, transation, proxy, fragments) {
- var content = data.template.cloneNode(true)
- var nodes = avalon.slice(content.childNodes)
- content.insertBefore(DOC.createComment(data.signature), content.firstChild)
- transation.appendChild(content)
- var nv = [proxy].concat(data.vmodels)
- var fragment = {
- nodes: nodes,
- vmodels: nv
- }
- fragments.push(fragment)
-}
-
-function getComments(data) {
- var ret = []
- var nodes = data.element.parentNode.childNodes
- for(var i= 0, node; node = nodes[i++];){
- if(node.nodeValue === data.signature){
- ret.push( node )
- }else if(node.nodeValue === data.signature+":end"){
- break
- }
- }
- return ret
-}
-
-
-//移除掉start与end之间的节点(保留end)
-function sweepNodes(start, end, callback) {
- while (true) {
- var node = end.previousSibling
- if (!node)
- break
- node.parentNode.removeChild(node)
- callback && callback.call(node)
- if (node === start) {
- break
- }
- }
-}
-
-// 为ms-each,ms-with, ms-repeat会创建一个代理VM,
-// 通过它们保持一个下上文,让用户能调用$index,$first,$last,$remove,$key,$val,$outer等属性与方法
-// 所有代理VM的产生,消费,收集,存放通过xxxProxyFactory,xxxProxyAgent, recycleProxies,xxxProxyPool实现
-var withProxyPool = []
-function withProxyFactory() {
- var proxy = modelFactory({
- $key: "",
- $outer: {},
- $host: {},
- $val: {
- get: function () {
- return this.$host[this.$key]
- },
- set: function (val) {
- this.$host[this.$key] = val
- }
- }
- }, {
- $val: 1
- })
- proxy.$id = generateID("$proxy$with")
- return proxy
-}
-
-function withProxyAgent(proxy, key, data) {
- proxy = proxy || withProxyPool.pop()
- if (!proxy) {
- proxy = withProxyFactory()
- } else {
- proxy.$reinitialize()
- }
- var host = data.$repeat
- proxy.$key = key
- proxy.$host = host
- proxy.$outer = data.$outer
- if (host.$events) {
- proxy.$events.$val = host.$events[key]
- } else {
- proxy.$events = {}
- }
- return proxy
-}
-
-
-function recycleProxies(proxies) {
- eachProxyRecycler(proxies)
-}
-function eachProxyRecycler(proxies) {
- proxies.forEach(function (proxy) {
- proxyRecycler(proxy, eachProxyPool)
- })
- proxies.length = 0
-}
-
-
-var eachProxyPool = []
-function eachProxyFactory(name) {
- var source = {
- $host: [],
- $outer: {},
- $index: 0,
- $first: false,
- $last: false,
- $remove: avalon.noop
- }
- source[name] = {
- get: function () {
- var e = this.$events
- var array = e.$index
- e.$index = e[name] //#817 通过$index为el收集依赖
- try {
- return this.$host[this.$index]
- } finally {
- e.$index = array
- }
- },
- set: function (val) {
- try {
- var e = this.$events
- var array = e.$index
- e.$index = []
- this.$host.set(this.$index, val)
- } finally {
- e.$index = array
- }
- }
- }
- var second = {
- $last: 1,
- $first: 1,
- $index: 1
- }
- var proxy = modelFactory(source, second)
- proxy.$id = generateID("$proxy$each")
- return proxy
-}
-
-function eachProxyAgent(index, data) {
- var param = data.param || "el",
- proxy
- for (var i = 0, n = eachProxyPool.length; i < n; i++) {
- var candidate = eachProxyPool[i]
- if (candidate && candidate.hasOwnProperty(param)) {
- proxy = candidate
- eachProxyPool.splice(i, 1)
- }
- }
- if (!proxy) {
- proxy = eachProxyFactory(param)
- }
- var host = data.$repeat
- var last = host.length - 1
- proxy.$index = index
- proxy.$first = index === 0
- proxy.$last = index === last
- proxy.$host = host
- proxy.$outer = data.$outer
- proxy.$remove = function () {
- return host.removeAt(proxy.$index)
- }
- return proxy
-}
-
-
-function proxyRecycler(proxy, proxyPool) {
- for (var i in proxy.$events) {
- if (Array.isArray(proxy.$events[i])) {
- proxy.$events[i].forEach(function (data) {
- if (typeof data === "object")
- disposeData(data)
- })// jshint ignore:line
- proxy.$events[i].length = 0
- }
- }
- proxy.$host = proxy.$outer = {}
- if (proxyPool.unshift(proxy) > kernel.maxRepeatSize) {
- proxyPool.pop()
- }
-}
-/*********************************************************************
- * 各种指令 *
- **********************************************************************/
-//ms-skip绑定已经在scanTag 方法中实现
-// bindingHandlers.text 定义在if.js
-bindingExecutors.text = function(val, elem) {
- val = val == null ? "" : val //不在页面上显示undefined null
- if (elem.nodeType === 3) { //绑定在文本节点上
- try { //IE对游离于DOM树外的节点赋值会报错
- elem.data = val
- } catch (e) {}
- } else { //绑定在特性节点上
- if ("textContent" in elem) {
- elem.textContent = val
- } else {
- elem.innerText = val
- }
- }
-}
-function parseDisplay(nodeName, val) {
- //用于取得此类标签的默认display值
- var key = "_" + nodeName
- if (!parseDisplay[key]) {
- var node = DOC.createElement(nodeName)
- root.appendChild(node)
- if (W3C) {
- val = getComputedStyle(node, null).display
- } else {
- val = node.currentStyle.display
- }
- root.removeChild(node)
- parseDisplay[key] = val
- }
- return parseDisplay[key]
-}
-
-avalon.parseDisplay = parseDisplay
-
-bindingHandlers.visible = function(data, vmodels) {
- var elem = data.element
- var display = elem.style.display
- if(display === "none"){
- display = parseDisplay(elem.nodeName)
- }
- data.display = display
- parseExprProxy(data.value, vmodels, data)
-}
-
-bindingExecutors.visible = function(val, elem, data) {
- elem.style.display = val ? data.display : "none"
-}
-bindingHandlers.widget = function(data, vmodels) {
- var args = data.value.match(rword)
- var elem = data.element
- var widget = args[0]
- var id = args[1]
- if (!id || id === "$") { //没有定义或为$时,取组件名+随机数
- id = generateID(widget)
- }
- var optName = args[2] || widget //没有定义,取组件名
- var constructor = avalon.ui[widget]
- if (typeof constructor === "function") { //ms-widget="tabs,tabsAAA,optname"
- vmodels = elem.vmodels || vmodels
- for (var i = 0, v; v = vmodels[i++];) {
- if (v.hasOwnProperty(optName) && typeof v[optName] === "object") {
- var vmOptions = v[optName]
- vmOptions = vmOptions.$model || vmOptions
- break
- }
- }
- if (vmOptions) {
- var wid = vmOptions[widget + "Id"]
- if (typeof wid === "string") {
- log("warning!不再支持" + widget + "Id")
- id = wid
- }
- }
- //抽取data-tooltip-text、data-tooltip-attr属性,组成一个配置对象
- var widgetData = avalon.getWidgetData(elem, widget)
- data.value = [widget, id, optName].join(",")
- data[widget + "Id"] = id
- data.evaluator = noop
- elem.msData["ms-widget-id"] = id
- var options = data[widget + "Options"] = avalon.mix({}, constructor.defaults, vmOptions || {}, widgetData)
- elem.removeAttribute("ms-widget")
- var vmodel = constructor(elem, data, vmodels) || {} //防止组件不返回VM
- if (vmodel.$id) {
- avalon.vmodels[id] = vmodel
- createSignalTower(elem, vmodel)
- try {
- vmodel.$init(function() {
- avalon.scan(elem, [vmodel].concat(vmodels))
- if (typeof options.onInit === "function") {
- options.onInit.call(elem, vmodel, options, vmodels)
- }
- })
- } catch (e) {}
- data.rollback = function() {
- try {
- vmodel.widgetElement = null
- vmodel.$remove()
- } catch (e) {}
- elem.msData = {}
- delete avalon.vmodels[vmodel.$id]
- }
- injectDisposeQueue(data, widgetList)
- if (window.chrome) {
- elem.addEventListener("DOMNodeRemovedFromDocument", function() {
- setTimeout(rejectDisposeQueue)
- })
- }
- } else {
- avalon.scan(elem, vmodels)
- }
- } else if (vmodels.length) { //如果该组件还没有加载,那么保存当前的vmodels
- elem.vmodels = vmodels
- }
-}
-var widgetList = []
-//不存在 bindingExecutors.widget
-/*********************************************************************
- * 自带过滤器 *
- **********************************************************************/
-var rscripts = /<script[^>]*>([\S\s]*?)<\/script\s*>/gim
-var ron = /\s+(on[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g
-var ropen = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/ig
-var rsanitize = {
- a: /\b(href)\=("javascript[^"]*"|'javascript[^']*')/ig,
- img: /\b(src)\=("javascript[^"]*"|'javascript[^']*')/ig,
- form: /\b(action)\=("javascript[^"]*"|'javascript[^']*')/ig
-}
-var rsurrogate = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g
-var rnoalphanumeric = /([^\#-~| |!])/g;
-
-function numberFormat(number, decimals, point, thousands) {
- //form http://phpjs.org/functions/number_format/
- //number 必需,要格式化的数字
- //decimals 可选,规定多少个小数位。
- //point 可选,规定用作小数点的字符串(默认为 . )。
- //thousands 可选,规定用作千位分隔符的字符串(默认为 , ),如果设置了该参数,那么所有其他参数都是必需的。
- number = (number + '')
- .replace(/[^0-9+\-Ee.]/g, '')
- var n = !isFinite(+number) ? 0 : +number,
- prec = !isFinite(+decimals) ? 3 : Math.abs(decimals),
- sep = thousands || ",",
- dec = point || ".",
- s = '',
- toFixedFix = function(n, prec) {
- var k = Math.pow(10, prec)
- return '' + (Math.round(n * k) / k)
- .toFixed(prec)
- }
- // Fix for IE parseFloat(0.55).toFixed(0) = 0;
- s = (prec ? toFixedFix(n, prec) : '' + Math.round(n))
- .split('.')
- if (s[0].length > 3) {
- s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep)
- }
- if ((s[1] || '')
- .length < prec) {
- s[1] = s[1] || ''
- s[1] += new Array(prec - s[1].length + 1)
- .join('0')
- }
- return s.join(dec)
-}
-
-
-var filters = avalon.filters = {
- uppercase: function(str) {
- return str.toUpperCase()
- },
- lowercase: function(str) {
- return str.toLowerCase()
- },
- truncate: function(str, length, truncation) {
- //length,新字符串长度,truncation,新字符串的结尾的字段,返回新字符串
- length = length || 30
- truncation = typeof truncation === "string" ? truncation : "..."
- return str.length > length ? str.slice(0, length - truncation.length) + truncation : String(str)
- },
- $filter: function(val) {
- for (var i = 1, n = arguments.length; i < n; i++) {
- var array = arguments[i]
- var fn = avalon.filters[array.shift()]
- if (typeof fn === "function") {
- var arr = [val].concat(array)
- val = fn.apply(null, arr)
- }
- }
- return val
- },
- camelize: camelize,
- //https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
- // <a href="javasc&NewLine;ript&colon;alert('XSS')">chrome</a>
- // <a href="data:text/html;base64, PGltZyBzcmM9eCBvbmVycm9yPWFsZXJ0KDEpPg==">chrome</a>
- // <a href="jav ascript:alert('XSS');">IE67chrome</a>
- // <a href="jav&#x09;ascript:alert('XSS');">IE67chrome</a>
- // <a href="jav&#x0A;ascript:alert('XSS');">IE67chrome</a>
- sanitize: function(str) {
- return str.replace(rscripts, "").replace(ropen, function(a, b) {
- var match = a.toLowerCase().match(/<(\w+)\s/)
- if (match) { //处理a标签的href属性,img标签的src属性,form标签的action属性
- var reg = rsanitize[match[1]]
- if (reg) {
- a = a.replace(reg, function(s, name, value) {
- var quote = value.charAt(0)
- return name + "=" + quote + "javascript:void(0)" + quote// jshint ignore:line
- })
- }
- }
- return a.replace(ron, " ").replace(/\s+/g, " ") //移除onXXX事件
- })
- },
- escape: function(str) {
- //将字符串经过 str 转义得到适合在页面中显示的内容, 例如替换 < 为 &lt
- return String(str).
- replace(/&/g, '&amp;').
- replace(rsurrogate, function(value) {
- var hi = value.charCodeAt(0)
- var low = value.charCodeAt(1)
- return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';'
- }).
- replace(rnoalphanumeric, function(value) {
- return '&#' + value.charCodeAt(0) + ';'
- }).
- replace(/</g, '&lt;').
- replace(/>/g, '&gt;')
- },
- currency: function(amount, symbol, fractionSize) {
- return (symbol || "\uFFE5") + numberFormat(amount, isFinite(fractionSize) ? fractionSize : 2)
- },
- number: numberFormat
-}
-/*
- 'yyyy': 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010)
- 'yy': 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)
- 'y': 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199)
- 'MMMM': Month in year (January-December)
- 'MMM': Month in year (Jan-Dec)
- 'MM': Month in year, padded (01-12)
- 'M': Month in year (1-12)
- 'dd': Day in month, padded (01-31)
- 'd': Day in month (1-31)
- 'EEEE': Day in Week,(Sunday-Saturday)
- 'EEE': Day in Week, (Sun-Sat)
- 'HH': Hour in day, padded (00-23)
- 'H': Hour in day (0-23)
- 'hh': Hour in am/pm, padded (01-12)
- 'h': Hour in am/pm, (1-12)
- 'mm': Minute in hour, padded (00-59)
- 'm': Minute in hour (0-59)
- 'ss': Second in minute, padded (00-59)
- 's': Second in minute (0-59)
- 'a': am/pm marker
- 'Z': 4 digit (+sign) representation of the timezone offset (-1200-+1200)
- format string can also be one of the following predefined localizable formats:
-
- 'medium': equivalent to 'MMM d, y h:mm:ss a' for en_US locale (e.g. Sep 3, 2010 12:05:08 pm)
- 'short': equivalent to 'M/d/yy h:mm a' for en_US locale (e.g. 9/3/10 12:05 pm)
- 'fullDate': equivalent to 'EEEE, MMMM d,y' for en_US locale (e.g. Friday, September 3, 2010)
- 'longDate': equivalent to 'MMMM d, y' for en_US locale (e.g. September 3, 2010
- 'mediumDate': equivalent to 'MMM d, y' for en_US locale (e.g. Sep 3, 2010)
- 'shortDate': equivalent to 'M/d/yy' for en_US locale (e.g. 9/3/10)
- 'mediumTime': equivalent to 'h:mm:ss a' for en_US locale (e.g. 12:05:08 pm)
- 'shortTime': equivalent to 'h:mm a' for en_US locale (e.g. 12:05 pm)
- */
-new function() {// jshint ignore:line
- function toInt(str) {
- return parseInt(str, 10) || 0
- }
-
- function padNumber(num, digits, trim) {
- var neg = ""
- if (num < 0) {
- neg = '-'
- num = -num
- }
- num = "" + num
- while (num.length < digits)
- num = "0" + num
- if (trim)
- num = num.substr(num.length - digits)
- return neg + num
- }
-
- function dateGetter(name, size, offset, trim) {
- return function(date) {
- var value = date["get" + name]()
- if (offset > 0 || value > -offset)
- value += offset
- if (value === 0 && offset === -12) {
- value = 12
- }
- return padNumber(value, size, trim)
- }
- }
-
- function dateStrGetter(name, shortForm) {
- return function(date, formats) {
- var value = date["get" + name]()
- var get = (shortForm ? ("SHORT" + name) : name).toUpperCase()
- return formats[get][value]
- }
- }
-
- function timeZoneGetter(date) {
- var zone = -1 * date.getTimezoneOffset()
- var paddedZone = (zone >= 0) ? "+" : ""
- paddedZone += padNumber(Math[zone > 0 ? "floor" : "ceil"](zone / 60), 2) + padNumber(Math.abs(zone % 60), 2)
- return paddedZone
- }
- //取得上午下午
-
- function ampmGetter(date, formats) {
- return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1]
- }
- var DATE_FORMATS = {
- yyyy: dateGetter("FullYear", 4),
- yy: dateGetter("FullYear", 2, 0, true),
- y: dateGetter("FullYear", 1),
- MMMM: dateStrGetter("Month"),
- MMM: dateStrGetter("Month", true),
- MM: dateGetter("Month", 2, 1),
- M: dateGetter("Month", 1, 1),
- dd: dateGetter("Date", 2),
- d: dateGetter("Date", 1),
- HH: dateGetter("Hours", 2),
- H: dateGetter("Hours", 1),
- hh: dateGetter("Hours", 2, -12),
- h: dateGetter("Hours", 1, -12),
- mm: dateGetter("Minutes", 2),
- m: dateGetter("Minutes", 1),
- ss: dateGetter("Seconds", 2),
- s: dateGetter("Seconds", 1),
- sss: dateGetter("Milliseconds", 3),
- EEEE: dateStrGetter("Day"),
- EEE: dateStrGetter("Day", true),
- a: ampmGetter,
- Z: timeZoneGetter
- }
- var rdateFormat = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/
- var raspnetjson = /^\/Date\((\d+)\)\/$/
- filters.date = function(date, format) {
- var locate = filters.date.locate,
- text = "",
- parts = [],
- fn, match
- format = format || "mediumDate"
- format = locate[format] || format
- if (typeof date === "string") {
- if (/^\d+$/.test(date)) {
- date = toInt(date)
- } else if (raspnetjson.test(date)) {
- date = +RegExp.$1
- } else {
- var trimDate = date.trim()
- var dateArray = [0, 0, 0, 0, 0, 0, 0]
- var oDate = new Date(0)
- //取得年月日
- trimDate = trimDate.replace(/^(\d+)\D(\d+)\D(\d+)/, function(_, a, b, c) {
- var array = c.length === 4 ? [c, a, b] : [a, b, c]
- dateArray[0] = toInt(array[0]) //年
- dateArray[1] = toInt(array[1]) - 1 //月
- dateArray[2] = toInt(array[2]) //日
- return ""
- })
- var dateSetter = oDate.setFullYear
- var timeSetter = oDate.setHours
- trimDate = trimDate.replace(/[T\s](\d+):(\d+):?(\d+)?\.?(\d)?/, function(_, a, b, c, d) {
- dateArray[3] = toInt(a) //小时
- dateArray[4] = toInt(b) //分钟
- dateArray[5] = toInt(c) //秒
- if (d) { //毫秒
- dateArray[6] = Math.round(parseFloat("0." + d) * 1000)
- }
- return ""
- })
- var tzHour = 0
- var tzMin = 0
- trimDate = trimDate.replace(/Z|([+-])(\d\d):?(\d\d)/, function(z, symbol, c, d) {
- dateSetter = oDate.setUTCFullYear
- timeSetter = oDate.setUTCHours
- if (symbol) {
- tzHour = toInt(symbol + c)
- tzMin = toInt(symbol + d)
- }
- return ""
- })
-
- dateArray[3] -= tzHour
- dateArray[4] -= tzMin
- dateSetter.apply(oDate, dateArray.slice(0, 3))
- timeSetter.apply(oDate, dateArray.slice(3))
- date = oDate
- }
- }
- if (typeof date === "number") {
- date = new Date(date)
- }
- if (avalon.type(date) !== "date") {
- return
- }
- while (format) {
- match = rdateFormat.exec(format)
- if (match) {
- parts = parts.concat(match.slice(1))
- format = parts.pop()
- } else {
- parts.push(format)
- format = null
- }
- }
- parts.forEach(function(value) {
- fn = DATE_FORMATS[value]
- text += fn ? fn(date, locate) : value.replace(/(^'|'$)/g, "").replace(/''/g, "'")
- })
- return text
- }
- var locate = {
- AMPMS: {
- 0: "上午",
- 1: "下午"
- },
- DAY: {
- 0: "星期日",
- 1: "星期一",
- 2: "星期二",
- 3: "星期三",
- 4: "星期四",
- 5: "星期五",
- 6: "星期六"
- },
- MONTH: {
- 0: "1月",
- 1: "2月",
- 2: "3月",
- 3: "4月",
- 4: "5月",
- 5: "6月",
- 6: "7月",
- 7: "8月",
- 8: "9月",
- 9: "10月",
- 10: "11月",
- 11: "12月"
- },
- SHORTDAY: {
- "0": "周日",
- "1": "周一",
- "2": "周二",
- "3": "周三",
- "4": "周四",
- "5": "周五",
- "6": "周六"
- },
- fullDate: "y年M月d日EEEE",
- longDate: "y年M月d日",
- medium: "yyyy-M-d H:mm:ss",
- mediumDate: "yyyy-M-d",
- mediumTime: "H:mm:ss",
- "short": "yy-M-d ah:mm",
- shortDate: "yy-M-d",
- shortTime: "ah:mm"
- }
- locate.SHORTMONTH = locate.MONTH
- filters.date.locate = locate
-}// jshint ignore:line
-/*********************************************************************
- * AMD加载器 *
- **********************************************************************/
-//https://www.devbridge.com/articles/understanding-amd-requirejs/
-//http://maxogden.com/nested-dependencies.html
-var modules = avalon.modules = {
- "domReady!": {
- exports: avalon,
- state: 3
- },
- "avalon": {
- exports: avalon,
- state: 4
- }
-}
-//Object(modules[id]).state拥有如下值
-// undefined 没有定义
-// 1(send) 已经发出请求
-// 2(loading) 已经被执行但还没有执行完成,在这个阶段define方法会被执行
-// 3(loaded) 执行完毕,通过onload/onreadystatechange回调判定,在这个阶段checkDeps方法会执行
-// 4(execute) 其依赖也执行完毕, 值放到exports对象上,在这个阶段fireFactory方法会执行
-modules.exports = modules.avalon
-
-new function () {// jshint ignore:line
- var loadings = [] //正在加载中的模块列表
- var factorys = [] //放置define方法的factory函数
- var rjsext = /\.js$/i
- function makeRequest(name, config) {
-//1. 去掉资源前缀
- var res = "js"
- name = name.replace(/^(\w+)\!/, function (a, b) {
- res = b
- return ""
- })
- if (res === "ready") {
- log("debug: ready!已经被废弃,请使用domReady!")
- res = "domReady"
- }
-//2. 去掉querystring, hash
- var query = ""
- name = name.replace(rquery, function (a) {
- query = a
- return ""
- })
- //3. 去掉扩展名
- var suffix = "." + res
- var ext = /js|css/.test(suffix) ? suffix : ""
- name = name.replace(/\.[a-z0-9]+$/g, function (a) {
- if (a === suffix) {
- ext = a
- return ""
- } else {
- return a
- }
- })
- var req = avalon.mix({
- query: query,
- ext: ext,
- res: res,
- name: name,
- toUrl: toUrl
- }, config)
- req.toUrl(name)
- return req
- }
-
- function fireRequest(req) {
- var name = req.name
- var res = req.res
- //1. 如果该模块已经发出请求,直接返回
- var module = modules[name]
- var urlNoQuery = name && req.urlNoQuery
- if (module && module.state >= 1) {
- return name
- }
- module = modules[urlNoQuery]
- if (module && module.state >= 3) {
- innerRequire(module.deps || [], module.factory, urlNoQuery)
- return urlNoQuery
- }
- if (name && !module) {
- module = modules[urlNoQuery] = {
- id: urlNoQuery,
- state: 1 //send
- }
- var wrap = function (obj) {
- resources[res] = obj
- obj.load(name, req, function (a) {
- if (arguments.length && a !== void 0) {
- module.exports = a
- }
- module.state = 4
- checkDeps()
- })
- }
-
- if (!resources[res]) {
- innerRequire([res], wrap)
- } else {
- wrap(resources[res])
- }
- }
- return name ? urlNoQuery : res + "!"
- }
-
-//核心API之一 require
- var requireQueue = []
- var isUserFirstRequire = false
- innerRequire = avalon.require = function (array, factory, parentUrl, defineConfig) {
- if (!isUserFirstRequire) {
- requireQueue.push(avalon.slice(arguments))
- if (arguments.length <= 2) {
- isUserFirstRequire = true
- var queue = requireQueue.splice(0, requireQueue.length), args
- while (args = queue.shift()) {
- innerRequire.apply(null, args)
- }
- }
- return
- }
-
- if (!Array.isArray(array)) {
- avalon.error("require方法的第一个参数应为数组 " + array)
- }
- var deps = [] // 放置所有依赖项的完整路径
- var uniq = {}
- var id = parentUrl || "callback" + setTimeout("1")// jshint ignore:line
- defineConfig = defineConfig || {}
- defineConfig.baseUrl = kernel.baseUrl
- var isBuilt = !!defineConfig.built
- if (parentUrl) {
- defineConfig.parentUrl = parentUrl.substr(0, parentUrl.lastIndexOf("/"))
- defineConfig.mapUrl = parentUrl.replace(rjsext, "")
- }
- if (isBuilt) {
- var req = makeRequest(defineConfig.defineName, defineConfig)
- id = req.urlNoQuery
- } else {
- array.forEach(function (name) {
- var req = makeRequest(name, defineConfig)
- var url = fireRequest(req) //加载资源,并返回该资源的完整地址
- if (url) {
- if (!uniq[url]) {
- deps.push(url)
- uniq[url] = "司徒正美" //去重
- }
- }
- })
- }
-
- var module = modules[id]
- if (!module || module.state !== 4) {
- modules[id] = {
- id: id,
- deps: isBuilt ? array.concat() : deps,
- factory: factory || noop,
- state: 3
- }
- }
- if (!module) {
- //如果此模块是定义在另一个JS文件中, 那必须等该文件加载完毕, 才能放到检测列队中
- loadings.push(id)
- }
- checkDeps()
- }
-
-//核心API之二 require
- innerRequire.define = function (name, deps, factory) { //模块名,依赖列表,模块本身
- if (typeof name !== "string") {
- factory = deps
- deps = name
- name = "anonymous"
- }
- if (!Array.isArray(deps)) {
- factory = deps
- deps = []
- }
- var config = {
- built: !isUserFirstRequire, //用r.js打包后,所有define会放到requirejs之前
- defineName: name
- }
- var args = [deps, factory, config]
- factory.require = function (url) {
- args.splice(2, 0, url)
- if (modules[url]) {
- modules[url].state = 3 //loaded
- var isCycle = false
- try {
- isCycle = checkCycle(modules[url].deps, url)
- } catch (e) {
- }
- if (isCycle) {
- avalon.error(url + "模块与之前的模块存在循环依赖,请不要直接用script标签引入" + url + "模块")
- }
- }
- delete factory.require //释放内存
- innerRequire.apply(null, args) //0,1,2 --> 1,2,0
- }
-//根据标准,所有遵循W3C标准的浏览器,script标签会按标签的出现顺序执行。
-//老的浏览器中,加载也是按顺序的:一个文件下载完成后,才开始下载下一个文件。
-//较新的浏览器中(IE8+ 、FireFox3.5+ 、Chrome4+ 、Safari4+),为了减小请求时间以优化体验,
-//下载可以是并行的,但是执行顺序还是按照标签出现的顺序。
-//但如果script标签是动态插入的, 就未必按照先请求先执行的原则了,目测只有firefox遵守
-//唯一比较一致的是,IE10+及其他标准浏览器,一旦开始解析脚本, 就会一直堵在那里,直接脚本解析完毕
-//亦即,先进入loading阶段的script标签(模块)必然会先进入loaded阶段
- var url = config.built ? "unknown" : getCurrentScript()
- if (url) {
- var module = modules[url]
- if (module) {
- module.state = 2
- }
- factory.require(url)
- } else {//合并前后的safari,合并后的IE6-9走此分支
- factorys.push(factory)
- }
- }
-//核心API之三 require.config(settings)
- innerRequire.config = kernel
- //核心API之四 define.amd 标识其符合AMD规范
- innerRequire.define.amd = modules
-
- //==========================对用户配置项进行再加工==========================
- var allpaths = kernel["orig.paths"] = {}
- var allmaps = kernel["orig.map"] = {}
- var allpackages = kernel["packages"] = []
- var allargs = kernel["orig.args"] = {}
- avalon.mix(plugins, {
- paths: function (hash) {
- avalon.mix(allpaths, hash)
- kernel.paths = makeIndexArray(allpaths)
- },
- map: function (hash) {
- avalon.mix(allmaps, hash)
- var list = makeIndexArray(allmaps, 1, 1)
- avalon.each(list, function (_, item) {
- item.val = makeIndexArray(item.val)
- })
- kernel.map = list
- },
- packages: function (array) {
- array = array.concat(allpackages)
- var uniq = {}
- var ret = []
- for (var i = 0, pkg; pkg = array[i++]; ) {
- pkg = typeof pkg === "string" ? {name: pkg} : pkg
- var name = pkg.name
- if (!uniq[name]) {
- var url = joinPath(pkg.location || name, pkg.main || "main")
- url = url.replace(rjsext, "")
- ret.push(pkg)
- uniq[name] = pkg.location = url
- pkg.reg = makeMatcher(name)
- }
- }
- kernel.packages = ret.sort()
- },
- urlArgs: function (hash) {
- if (typeof hash === "string") {
- hash = {"*": hash}
- }
- avalon.mix(allargs, hash)
- kernel.urlArgs = makeIndexArray(allargs, 1)
- },
- baseUrl: function (url) {
- if (!isAbsUrl(url)) {
- var baseElement = head.getElementsByTagName("base")[0]
- if (baseElement) {
- head.removeChild(baseElement)
- }
- var node = DOC.createElement("a")
- node.href = url
- url = getFullUrl(node, "href")
- if (baseElement) {
- head.insertBefore(baseElement, head.firstChild)
- }
- }
- if (url.length > 3)
- kernel.baseUrl = url
- },
- shim: function (obj) {
- for (var i in obj) {
- var value = obj[i]
- if (Array.isArray(value)) {
- value = obj[i] = {
- deps: value
- }
- }
- if (!value.exportsFn && (value.exports || value.init)) {
- value.exportsFn = makeExports(value)
- }
- }
- kernel.shim = obj
- }
-
- })
-
-
- //==============================内部方法=================================
- function checkCycle(deps, nick) {
- //检测是否存在循环依赖
- for (var i = 0, id; id = deps[i++]; ) {
- if (modules[id].state !== 4 &&
- (id === nick || checkCycle(modules[id].deps, nick))) {
- return true
- }
- }
- }
-
- function checkFail(node, onError, fuckIE) {
- var id = trimQuery(node.src) //检测是否死链
- node.onload = node.onreadystatechange = node.onerror = null
- if (onError || (fuckIE && modules[id] && !modules[id].state)) {
- setTimeout(function () {
- head.removeChild(node)
- node = null // 处理旧式IE下的循环引用问题
- })
- log("debug: 加载 " + id + " 失败" + onError + " " + (!modules[id].state))
- } else {
- return true
- }
- }
-
- function checkDeps() {
- //检测此JS模块的依赖是否都已安装完毕,是则安装自身
- loop: for (var i = loadings.length, id; id = loadings[--i]; ) {
- var obj = modules[id],
- deps = obj.deps
- if (!deps)
- continue
- for (var j = 0, key; key = deps[j]; j++) {
- if (Object(modules[key]).state !== 4) {
- continue loop
- }
- }
- //如果deps是空对象或者其依赖的模块的状态都是2
- if (obj.state !== 4) {
- loadings.splice(i, 1) //必须先移除再安装,防止在IE下DOM树建完后手动刷新页面,会多次执行它
- fireFactory(obj.id, obj.deps, obj.factory)
- checkDeps() //如果成功,则再执行一次,以防有些模块就差本模块没有安装好
- }
- }
- }
-
- var rreadyState = /complete|loaded/
- function loadJS(url, id, callback) {
- //通过script节点加载目标模块
- var node = DOC.createElement("script")
- node.className = subscribers //让getCurrentScript只处理类名为subscribers的script节点
- var supportLoad = "onload" in node
- var onEvent = supportLoad ? "onload" : "onreadystatechange"
- function onload() {
- var factory = factorys.pop()
- factory && factory.require(id)
- if (callback) {
- callback()
- }
- if (checkFail(node, false, !supportLoad)) {
- log("debug: 已成功加载 " + url)
- id && loadings.push(id)
- checkDeps()
- }
- }
- var index = 0, loadID
- node[onEvent] = supportLoad ? onload : function () {
- if (rreadyState.test(node.readyState)) {
- ++index
- if (index === 1) {
- loadID = setTimeout(onload, 500)
- } else {
- clearTimeout(loadID)
- onload()
- }
- }
- }
- node.onerror = function () {
- checkFail(node, true)
- }
-
- head.insertBefore(node, head.firstChild) //chrome下第二个参数不能为null
- node.src = url //插入到head的第一个节点前,防止IE6下head标签没闭合前使用appendChild抛错
- log("debug: 正准备加载 " + url) //更重要的是IE6下可以收窄getCurrentScript的寻找范围
- }
-
- var resources = innerRequire.plugins = {
- //三大常用资源插件 js!, css!, text!, ready!
- ready: {
- load: noop
- },
- js: {
- load: function (name, req, onLoad) {
- var url = req.url
- var id = req.urlNoQuery
- var shim = kernel.shim[name.replace(rjsext, "")]
- if (shim) { //shim机制
- innerRequire(shim.deps || [], function () {
- var args = avalon.slice(arguments)
- loadJS(url, id, function () {
- onLoad(shim.exportsFn ? shim.exportsFn.apply(0, args) : void 0)
- })
- })
- } else {
- loadJS(url, id)
- }
- }
- },
- css: {
- load: function (name, req, onLoad) {
- var url = req.url
- var node = DOC.createElement("link")
- node.rel = "stylesheet"
- node.href = url
- head.insertBefore(node, head.firstChild)
- log("debug: 已成功加载 " + url)
- onLoad()
- }
- },
- text: {
- load: function (name, req, onLoad) {
- var url = req.url
- var xhr = getXHR()
- xhr.onreadystatechange = function () {
- if (xhr.readyState === 4) {
- var status = xhr.status;
- if (status > 399 && status < 600) {
- avalon.error(url + " 对应资源不存在或没有开启 CORS")
- } else {
- log("debug: 已成功加载 " + url)
- onLoad(xhr.responseText)
- }
- }
- }
- var time = "_=" + (new Date() - 0)
- var _url = url.indexOf("?") === -1 ? url + "?" + time : url + "&" + time
- xhr.open("GET", _url, true)
- if ("withCredentials" in xhr) {//这是处理跨域
- xhr.withCredentials = true
- }
- xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")//告诉后端这是AJAX请求
- xhr.send()
- log("debug: 正准备加载 " + url)
- }
- }
- }
- innerRequire.checkDeps = checkDeps
-
- var rquery = /(\?[^#]*)$/
- function trimQuery(url) {
- return (url || "").replace(rquery, "")
- }
-
- function isAbsUrl(path) {
- //http://stackoverflow.com/questions/10687099/how-to-test-if-a-url-string-is-absolute-or-relative
- return /^(?:[a-z]+:)?\/\//i.test(String(path))
- }
-
- function getFullUrl(node, src) {
- return"1"[0] ? node[src] : node.getAttribute(src, 4)
- }
-
- function getCurrentScript() {
- // inspireb by https://github.com/samyk/jiagra/blob/master/jiagra.js
- var stack
- try {
- a.b.c() //强制报错,以便捕获e.stack
- } catch (e) { //safari5的sourceURL,firefox的fileName,它们的效果与e.stack不一样
- stack = e.stack
- if (!stack && window.opera) {
- //opera 9没有e.stack,但有e.Backtrace,但不能直接取得,需要对e对象转字符串进行抽取
- stack = (String(e).match(/of linked script \S+/g) || []).join(" ")
- }
- }
- if (stack) {
- /**e.stack最后一行在所有支持的浏览器大致如下:
- *chrome23:
- * at http://113.93.50.63/data.js:4:1
- *firefox17:
- *@http://113.93.50.63/query.js:4
- *opera12:http://www.oldapps.com/opera.php?system=Windows_XP
- *@http://113.93.50.63/data.js:4
- *IE10:
- * at Global code (http://113.93.50.63/data.js:4:1)
- * //firefox4+ 可以用document.currentScript
- */
- stack = stack.split(/[@ ]/g).pop() //取得最后一行,最后一个空格或@之后的部分
- stack = stack[0] === "(" ? stack.slice(1, -1) : stack.replace(/\s/, "") //去掉换行符
- return trimQuery(stack.replace(/(:\d+)?:\d+$/i, "")) //去掉行号与或许存在的出错字符起始位置
- }
- var nodes = head.getElementsByTagName("script") //只在head标签中寻找
- for (var i = nodes.length, node; node = nodes[--i]; ) {
- if (node.className === subscribers && node.readyState === "interactive") {
- var url = getFullUrl(node, "src")
- return node.className = trimQuery(url)
- }
- }
- }
-
- var rcallback = /^callback\d+$/
- function fireFactory(id, deps, factory) {
- var module = Object(modules[id])
- module.state = 4
- for (var i = 0, array = [], d; d = deps[i++]; ) {
- if (d === "exports") {
- var obj = module.exports || (module.exports = {})
- array.push(obj)
- } else {
- array.push(modules[d].exports)
- }
- }
- try {
- var ret = factory.apply(window, array)
- } catch (e) {
- log("执行[" + id + "]模块的factory抛错: ", e)
- }
- if (ret !== void 0) {
- module.exports = ret
- }
- if (rcallback.test(id)) {
- delete modules[id]
- }
- delete module.factory
- return ret
- }
- function toUrl(id) {
- if (id.indexOf(this.res + "!") === 0) {
- id = id.slice(this.res.length + 1) //处理define("css!style",[], function(){})的情况
- }
- var url = id
- //1. 是否命中paths配置项
- var usePath = 0
- var baseUrl = this.baseUrl
- var rootUrl = this.parentUrl || baseUrl
- eachIndexArray(id, kernel.paths, function (value, key) {
- url = url.replace(key, value)
- usePath = 1
- })
- //2. 是否命中packages配置项
- if (!usePath) {
- eachIndexArray(id, kernel.packages, function (value, key, item) {
- url = url.replace(item.name, item.location)
- })
- }
- //3. 是否命中map配置项
- if (this.mapUrl) {
- eachIndexArray(this.mapUrl, kernel.map, function (array) {
- eachIndexArray(url, array, function (mdValue, mdKey) {
- url = url.replace(mdKey, mdValue)
- rootUrl = baseUrl
- })
- })
- }
- var ext = this.ext
- if (ext && usePath && url.slice(-ext.length) === ext) {
- url = url.slice(0, -ext.length)
- }
- //4. 转换为绝对路径
- if (!isAbsUrl(url)) {
- rootUrl = this.built || /^\w/.test(url) ? baseUrl : rootUrl
- url = joinPath(rootUrl, url)
- }
- //5. 还原扩展名,query
- var urlNoQuery = url + ext
- url = urlNoQuery + this.query
- //6. 处理urlArgs
- eachIndexArray(id, kernel.urlArgs, function (value) {
- url += (url.indexOf("?") === -1 ? "?" : "&") + value;
- })
- this.url = url
- return this.urlNoQuery = urlNoQuery
- }
-
- function makeIndexArray(hash, useStar, part) {
- //创建一个经过特殊算法排好序的数组
- var index = hash2array(hash, useStar, part)
- index.sort(descSorterByName)
- return index
- }
-
- function makeMatcher(prefix) {
- return new RegExp('^' + prefix + '(/|$)')
- }
-
- function makeExports(value) {
- return function () {
- var ret
- if (value.init) {
- ret = value.init.apply(window, arguments)
- }
- return ret || (value.exports && getGlobal(value.exports))
- }
- }
-
-
- function hash2array(hash, useStar, part) {
- var array = [];
- for (var key in hash) {
- if (ohasOwn.call(hash, key)) {
- var item = {
- name: key,
- val: hash[key]
- }
- array.push(item)
- item.reg = key === "*" && useStar ? /^/ : makeMatcher(key)
- if (part && key !== "*") {
- item.reg = new RegExp('\/' + key.replace(/^\//, "") + '(/|$)')
- }
- }
- }
- return array
- }
-
- function eachIndexArray(moduleID, array, matcher) {
- array = array || []
- for (var i = 0, el; el = array[i++]; ) {
- if (el.reg.test(moduleID)) {
- matcher(el.val, el.name, el)
- return false
- }
- }
- }
- // 根据元素的name项进行数组字符数逆序的排序函数
- function descSorterByName(a, b) {
- var aaa = a.name
- var bbb = b.name
- if (bbb === "*") {
- return -1
- }
- if (aaa === "*") {
- return 1
- }
- return bbb.length - aaa.length
- }
-
- var rdeuce = /\/\w+\/\.\./
- function joinPath(a, b) {
- if (a.charAt(a.length - 1) !== "/") {
- a += "/"
- }
- if (b.slice(0, 2) === "./") { //相对于兄弟路径
- return a + b.slice(2)
- }
- if (b.slice(0, 2) === "..") { //相对于父路径
- a += b
- while (rdeuce.test(a)) {
- a = a.replace(rdeuce, "")
- }
- return a
- }
- if (b.slice(0, 1) === "/") {
- return a + b.slice(1)
- }
- return a + b
- }
-
- function getGlobal(value) {
- if (!value) {
- return value
- }
- var g = window
- value.split(".").forEach(function (part) {
- g = g[part]
- })
- return g
- }
-
- var mainNode = DOC.scripts[DOC.scripts.length - 1]
- var dataMain = mainNode.getAttribute("data-main")
- if (dataMain) {
- plugins.baseUrl(dataMain)
- var href = kernel.baseUrl
- kernel.baseUrl = href.slice(0, href.lastIndexOf("/") + 1)
- loadJS(href.replace(rjsext, "") + ".js")
- } else {
- var loaderUrl = trimQuery(getFullUrl(mainNode, "src"))
- kernel.baseUrl = loaderUrl.slice(0, loaderUrl.lastIndexOf("/") + 1)
- }
-}// jshint ignore:line
-
-/*********************************************************************
- * DOMReady *
- **********************************************************************/
-
-var readyList = [], isReady
-var fireReady = function(fn) {
- isReady = true
- if (innerRequire) {
- modules["domReady!"].state = 4
- innerRequire.checkDeps()
- }
- while(fn = readyList.shift()){
- fn(avalon)
- }
-}
-
-function doScrollCheck() {
- try { //IE下通过doScrollCheck检测DOM树是否建完
- root.doScroll("left")
- fireReady()
- } catch (e) {
- setTimeout(doScrollCheck)
- }
-}
-
-if (DOC.readyState === "complete") {
- setTimeout(fireReady) //如果在domReady之外加载
-} else if (W3C) {
- DOC.addEventListener("DOMContentLoaded", fireReady)
-} else {
- DOC.attachEvent("onreadystatechange", function() {
- if (DOC.readyState === "complete") {
- fireReady()
- }
- })
- try {
- var isTop = window.frameElement === null
- } catch (e) {
- }
- if (root.doScroll && isTop && window.external) {//fix IE iframe BUG
- doScrollCheck()
- }
-}
-avalon.bind(window, "load", fireReady)
-
-avalon.ready = function(fn) {
- if (!isReady) {
- readyList.push(fn)
- } else {
- fn(avalon)
- }
-}
-
-avalon.config({
- loader: true
-})
-
-avalon.ready(function() {
- avalon.scan(DOC.body)
-})
-
-// Register as a named AMD module, since avalon can be concatenated with other
-// files that may use define, but not via a proper concatenation script that
-// understands anonymous AMD modules. A named AMD is safest and most robust
-// way to register. Lowercase avalon is used because AMD module names are
-// derived from file names, and Avalon is normally delivered in a lowercase
-// file name. Do this after creating the global so that if an AMD module wants
-// to call noConflict to hide this version of avalon, it will work.
-
-// Note that for maximum portability, libraries that are not avalon should
-// declare themselves as anonymous modules, and avoid setting a global if an
-// AMD loader is present. avalon is a special case. For more information, see
-// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon
- if (typeof define === "function" && define.amd) {
- define("avalon", [], function() {
- return avalon
- })
- }
-// Map over avalon in case of overwrite
- var _avalon = window.avalon
- avalon.noConflict = function(deep) {
- if (deep && window.avalon === avalon) {
- window.avalon = _avalon
- }
- return avalon
- }
-// Expose avalon identifiers, even in AMD
-// and CommonJS for browser emulators
- if (noGlobal === void 0) {
- window.avalon = avalon
- }
- return avalon
-
-})); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/avalon/avalon.modern.js b/uiframe-iui/src/main/resources/webroot/vendor/avalon/avalon.modern.js
deleted file mode 100644
index 5479d1a9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/avalon/avalon.modern.js
+++ /dev/null
@@ -1,4440 +0,0 @@
-/*==================================================
- Copyright (c) 2013-2014 司徒正美 and other contributors
- http://www.cnblogs.com/rubylouvre/
- https://github.com/RubyLouvre
- http://weibo.com/jslouvre/
-
- Released under the MIT license
- avalon.modern.js 1.39 build in 2015.1.15
-______________________________
- support IE6+ and other browsers
- ==================================================*/
-(function(global, factory) {
-
- if (typeof module === "object" && typeof module.exports === "object") {
- // For CommonJS and CommonJS-like environments where a proper `window`
- // is present, execute the factory and get avalon.
- // For environments that do not have a `window` with a `document`
- // (such as Node.js), expose a factory as module.exports.
- // This accentuates the need for the creation of a real `window`.
- // e.g. var avalon = require("avalon")(window);
- module.exports = global.document ? factory(global, true) : function(w) {
- if (!w.document) {
- throw new Error("Avalon requires a window with a document")
- }
- return factory(w)
- }
- } else {
- factory(global)
- }
-
-// Pass this if window is not defined yet
-}(typeof window !== "undefined" ? window : this, function(window, noGlobal){
-
-/*********************************************************************
- * 全局变量及方法 *
- **********************************************************************/
-var expose = Date.now()
-//http://stackoverflow.com/questions/7290086/javascript-use-strict-and-nicks-find-global-function
-var DOC = window.document
-var head = DOC.head //HEAD元素
-head.insertAdjacentHTML("afterBegin", '<avalon ms-skip><style id="avalonStyle">.avalonHide{ display: none!important }</style></avalon>')
-var ifGroup = head.firstChild
-
-function log() {
- if (avalon.config.debug) {
-// http://stackoverflow.com/questions/8785624/how-to-safely-wrap-console-log
- console.log.apply(console, arguments)
- }
-}
-
-var subscribers = "$" + expose
-var otherRequire = window.require
-var otherDefine = window.define
-var stopRepeatAssign = false
-var rword = /[^, ]+/g //切割字符串为一个个小块,以空格或豆号分开它们,结合replace实现字符串的forEach
-var rcomplexType = /^(?:object|array)$/
-var rsvg = /^\[object SVG\w*Element\]$/
-var rwindow = /^\[object (?:Window|DOMWindow|global)\]$/
-var oproto = Object.prototype
-var ohasOwn = oproto.hasOwnProperty
-var serialize = oproto.toString
-var ap = Array.prototype
-var aslice = ap.slice
-var Registry = {} //将函数曝光到此对象上,方便访问器收集依赖
-var W3C = window.dispatchEvent
-var root = DOC.documentElement
-var hyperspace = DOC.createDocumentFragment()
-var cinerator = DOC.createElement("div")
-var class2type = {}
-"Boolean Number String Function Array Date RegExp Object Error".replace(rword, function(name) {
- class2type["[object " + name + "]"] = name.toLowerCase()
-})
-
-
-function noop() {
-}
-
-
-function oneObject(array, val) {
- if (typeof array === "string") {
- array = array.match(rword) || []
- }
- var result = {},
- value = val !== void 0 ? val : 1
- for (var i = 0, n = array.length; i < n; i++) {
- result[array[i]] = value
- }
- return result
-}
-
-function createCache(maxLength) {
- var keys = []
- function cache(key, value) {
- if (keys.push(key) > maxLength) {
- delete cache[keys.shift()]
- }
- return cache[key] = value;
- }
- return cache;
-}
-//生成UUID http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
-var generateID = function(prefix) {
- prefix = prefix || "avalon"
- return (prefix + Math.random() + Math.random()).replace(/0\./g, "")
-}
-function IE() {
- if (window.VBArray) {
- var mode = document.documentMode
- return mode ? mode : window.XMLHttpRequest ? 7 : 6
- } else {
- return 0
- }
-}
-var IEVersion = IE()
-/*********************************************************************
- * avalon的静态方法定义区 *
- **********************************************************************/
-avalon = function(el) { //创建jQuery式的无new 实例化结构
- return new avalon.init(el)
-}
-
-avalon.init = function(el) {
- this[0] = this.element = el
-}
-avalon.fn = avalon.prototype = avalon.init.prototype
-
-avalon.type = function(obj) { //取得目标的类型
- if (obj == null) {
- return String(obj)
- }
- // 早期的webkit内核浏览器实现了已废弃的ecma262v4标准,可以将正则字面量当作函数使用,因此typeof在判定正则时会返回function
- return typeof obj === "object" || typeof obj === "function" ?
- class2type[serialize.call(obj)] || "object" :
- typeof obj
-}
-
-var isFunction = function(fn) {
- return serialize.call(fn) == "[object Function]"
-}
-
-avalon.isFunction = isFunction
-
-avalon.isWindow = function(obj) {
- return rwindow.test(serialize.call(obj))
-}
-
-/*判定是否是一个朴素的javascript对象(Object),不是DOM对象,不是BOM对象,不是自定义类的实例*/
-
-avalon.isPlainObject = function(obj) {
- // 简单的 typeof obj === "object"检测,会致使用isPlainObject(window)在opera下通不过
- return serialize.call(obj) === "[object Object]" && Object.getPrototypeOf(obj) === oproto
-}
-
-//与jQuery.extend方法,可用于浅拷贝,深拷贝
-avalon.mix = avalon.fn.mix = function() {
- var options, name, src, copy, copyIsArray, clone,
- target = arguments[0] || {},
- i = 1,
- length = arguments.length,
- deep = false
-
- // 如果第一个参数为布尔,判定是否深拷贝
- if (typeof target === "boolean") {
- deep = target
- target = arguments[1] || {}
- i++
- }
-
- //确保接受方为一个复杂的数据类型
- if (typeof target !== "object" && !isFunction(target)) {
- target = {}
- }
-
- //如果只有一个参数,那么新成员添加于mix所在的对象上
- if (i === length) {
- target = this
- i--
- }
-
- for (; i < length; i++) {
- //只处理非空参数
- if ((options = arguments[i]) != null) {
- for (name in options) {
- src = target[name]
- copy = options[name]
- // 防止环引用
- if (target === copy) {
- continue
- }
- if (deep && copy && (avalon.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) {
-
- if (copyIsArray) {
- copyIsArray = false
- clone = src && Array.isArray(src) ? src : []
-
- } else {
- clone = src && avalon.isPlainObject(src) ? src : {}
- }
-
- target[name] = avalon.mix(deep, clone, copy)
- } else if (copy !== void 0) {
- target[name] = copy
- }
- }
- }
- }
- return target
-}
-
-function _number(a, len) { //用于模拟slice, splice的效果
- a = Math.floor(a) || 0
- return a < 0 ? Math.max(len + a, 0) : Math.min(a, len);
-}
-avalon.mix({
- rword: rword,
- subscribers: subscribers,
- version: 1.39,
- ui: {},
- log: log,
- slice: function(nodes, start, end) {
- return aslice.call(nodes, start, end)
- },
- noop: noop,
- /*如果不用Error对象封装一下,str在控制台下可能会乱码*/
- error: function(str, e) {
- throw new (e || Error)(str)
- },
- /*将一个以空格或逗号隔开的字符串或数组,转换成一个键值都为1的对象*/
- oneObject: oneObject,
- /* avalon.range(10)
- => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
- avalon.range(1, 11)
- => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
- avalon.range(0, 30, 5)
- => [0, 5, 10, 15, 20, 25]
- avalon.range(0, -10, -1)
- => [0, -1, -2, -3, -4, -5, -6, -7, -8, -9]
- avalon.range(0)
- => []*/
- range: function(start, end, step) { // 用于生成整数数组
- step || (step = 1)
- if (end == null) {
- end = start || 0
- start = 0
- }
- var index = -1,
- length = Math.max(0, Math.ceil((end - start) / step)),
- result = Array(length)
- while (++index < length) {
- result[index] = start
- start += step
- }
- return result
- },
- eventHooks: {},
- /*绑定事件*/
- bind: function(el, type, fn, phase) {
- var hooks = avalon.eventHooks
- var hook = hooks[type]
- if (typeof hook === "object") {
- type = hook.type
- if (hook.deel) {
- fn = hook.deel(el, fn)
- }
- }
- el.addEventListener(type, fn, !!phase)
- return fn
- },
- /*卸载事件*/
- unbind: function(el, type, fn, phase) {
- var hooks = avalon.eventHooks
- var hook = hooks[type]
- var callback = fn || noop
- if (typeof hook === "object") {
- type = hook.type
- }
- el.removeEventListener(type, callback, !!phase)
- },
- /*读写删除元素节点的样式*/
- css: function(node, name, value) {
- if (node instanceof avalon) {
- node = node[0]
- }
- var prop = /[_-]/.test(name) ? camelize(name) : name
- name = avalon.cssName(prop) || prop
- if (value === void 0 || typeof value === "boolean") { //获取样式
- var fn = cssHooks[prop + ":get"] || cssHooks["@:get"]
- if (name === "background") {
- name = "backgroundColor"
- }
- var val = fn(node, name)
- return value === true ? parseFloat(val) || 0 : val
- } else if (value === "") { //请除样式
- node.style[name] = ""
- } else { //设置样式
- if (value == null || value !== value) {
- return
- }
- if (isFinite(value) && !avalon.cssNumber[prop]) {
- value += "px"
- }
- fn = cssHooks[prop + ":set"] || cssHooks["@:set"]
- fn(node, name, value)
- }
- },
- /*遍历数组与对象,回调的第一个参数为索引或键名,第二个或元素或键值*/
- each: function(obj, fn) {
- if (obj) { //排除null, undefined
- var i = 0
- if (isArrayLike(obj)) {
- for (var n = obj.length; i < n; i++) {
- fn(i, obj[i])
- }
- } else {
- for (i in obj) {
- if (obj.hasOwnProperty(i)) {
- fn(i, obj[i])
- }
- }
- }
- }
- },
- //收集元素的data-{{prefix}}-*属性,并转换为对象
- getWidgetData: function(elem, prefix) {
- var raw = avalon(elem).data()
- var result = {}
- for (var i in raw) {
- if (i.indexOf(prefix) === 0) {
- result[i.replace(prefix, "").replace(/\w/, function(a) {
- return a.toLowerCase()
- })] = raw[i]
- }
- }
- return result
- },
- Array: {
- /*只有当前数组不存在此元素时只添加它*/
- ensure: function(target, item) {
- if (target.indexOf(item) === -1) {
- return target.push(item)
- }
- },
- /*移除数组中指定位置的元素,返回布尔表示成功与否*/
- removeAt: function(target, index) {
- return !!target.splice(index, 1).length
- },
- /*移除数组中第一个匹配传参的那个元素,返回布尔表示成功与否*/
- remove: function(target, item) {
- var index = target.indexOf(item)
- if (~index)
- return avalon.Array.removeAt(target, index)
- return false
- }
- }
-})
-
-var bindingHandlers = avalon.bindingHandlers = {}
-var bindingExecutors = avalon.bindingExecutors = {}
-
-/*判定是否类数组,如节点集合,纯数组,arguments与拥有非负整数的length属性的纯JS对象*/
-function isArrayLike(obj) {
- if (obj && typeof obj === "object") {
- var n = obj.length,
- str = serialize.call(obj)
- if (/(Array|List|Collection|Map|Arguments)\]$/.test(str)) {
- return true
- } else if (str === "[object Object]" && n === (n >>> 0)) {
- return true //由于ecma262v5能修改对象属性的enumerable,因此不能用propertyIsEnumerable来判定了
- }
- }
- return false
-}
-/*视浏览器情况采用最快的异步回调(在avalon.ready里,还有一个分支,用于处理IE6-9)*/
-avalon.nextTick = window.setImmediate ? setImmediate.bind(window) : function(callback) {
- setTimeout(callback, 0) //IE10-11 or W3C
-}
-
-/*********************************************************************
- * DOM 底层补丁 *
- **********************************************************************/
-if (!root.contains) { //safari5+是把contains方法放在Element.prototype上而不是Node.prototype
- Node.prototype.contains = function(arg) {
- return !!(this.compareDocumentPosition(arg) & 16)
- }
-}
-avalon.contains = function(root, el) {
- try {
- while ((el = el.parentNode))
- if (el === root)
- return true;
- return false
- } catch (e) {
- return false
- }
-}
-if (window.SVGElement) {
- var svgns = "http://www.w3.org/2000/svg"
- var svg = DOC.createElementNS(svgns, "svg")
- svg.innerHTML = '<circle cx="50" cy="50" r="40" fill="red" />'
- if (!rsvg.test(svg.firstChild)) {// #409
-
- function enumerateNode(node, targetNode) {
- if (node && node.childNodes) {
- var nodes = node.childNodes
- for (var i = 0, el; el = nodes[i++]; ) {
- if (el.tagName) {
- var svg = DOC.createElementNS(svgns,
- el.tagName.toLowerCase())
- // copy attrs
- ap.forEach.call(el.attributes, function(attr) {
- svg.setAttribute(attr.name, attr.value)
- })
- // 递归处理子节点
- enumerateNode(el, svg)
- targetNode.appendChild(svg)
- }
- }
- }
- }
- Object.defineProperties(SVGElement.prototype, {
- "outerHTML": {//IE9-11,firefox不支持SVG元素的innerHTML,outerHTML属性
- enumerable: true,
- configurable: true,
- get: function() {
- return new XMLSerializer().serializeToString(this)
- },
- set: function(html) {
- var tagName = this.tagName.toLowerCase(),
- par = this.parentNode,
- frag = avalon.parseHTML(html)
- // 操作的svg,直接插入
- if (tagName === "svg") {
- par.insertBefore(frag, this)
- // svg节点的子节点类似
- } else {
- var newFrag = DOC.createDocumentFragment()
- enumerateNode(frag, newFrag)
- par.insertBefore(newFrag, this)
- }
- par.removeChild(this)
- }
- },
- "innerHTML": {
- enumerable: true,
- configurable: true,
- get: function() {
- var s = this.outerHTML
- var ropen = new RegExp("<" + this.nodeName + '\\b(?:(["\'])[^"]*?(\\1)|[^>])*>', "i")
- var rclose = new RegExp("<\/" + this.nodeName + ">$", "i")
- return s.replace(ropen, "").replace(rclose, "")
- },
- set: function(html) {
- if (avalon.clearHTML) {
- avalon.clearHTML(this)
- var frag = avalon.parseHTML(html)
- enumerateNode(frag, this)
- }
- }
- }
- })
- }
-}
-//========================= event binding ====================
-var eventHooks = avalon.eventHooks
-//针对firefox, chrome修正mouseenter, mouseleave(chrome30+)
-if (!("onmouseenter" in root)) {
- avalon.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout"
- }, function(origType, fixType) {
- eventHooks[origType] = {
- type: fixType,
- deel: function(elem, fn) {
- return function(e) {
- var t = e.relatedTarget
- if (!t || (t !== elem && !(elem.compareDocumentPosition(t) & 16))) {
- delete e.type
- e.type = origType
- return fn.call(elem, e)
- }
- }
- }
- }
- })
-}
-//针对IE9+, w3c修正animationend
-avalon.each({
- AnimationEvent: "animationend",
- WebKitAnimationEvent: "webkitAnimationEnd"
-}, function(construct, fixType) {
- if (window[construct] && !eventHooks.animationend) {
- eventHooks.animationend = {
- type: fixType
- }
- }
-})
-
-if (DOC.onmousewheel === void 0) {
- /* IE6-11 chrome mousewheel wheelDetla 下 -120 上 120
- firefox DOMMouseScroll detail 下3 上-3
- firefox wheel detlaY 下3 上-3
- IE9-11 wheel deltaY 下40 上-40
- chrome wheel deltaY 下100 上-100 */
- eventHooks.mousewheel = {
- type: "wheel",
- deel: function(elem, fn) {
- return function(e) {
- e.wheelDeltaY = e.wheelDelta = e.deltaY > 0 ? -120 : 120
- e.wheelDeltaX = 0
- Object.defineProperty(e, "type", {
- value: "mousewheel"
- })
- fn.call(elem, e)
- }
- }
- }
-}
-
-/*********************************************************************
- * 配置系统 *
- **********************************************************************/
-
-function kernel(settings) {
- for (var p in settings) {
- if (!ohasOwn.call(settings, p))
- continue
- var val = settings[p]
- if (typeof kernel.plugins[p] === "function") {
- kernel.plugins[p](val)
- } else if (typeof kernel[p] === "object") {
- avalon.mix(kernel[p], val)
- } else {
- kernel[p] = val
- }
- }
- return this
-}
-var openTag, closeTag, rexpr, rexprg, rbind, rregexp = /[-.*+?^${}()|[\]\/\\]/g
-
-function escapeRegExp(target) {
- //http://stevenlevithan.com/regex/xregexp/
- //将字符串安全格式化为正则表达式的源码
- return (target + "").replace(rregexp, "\\$&")
-}
-var innerRequire = noop
-var plugins = {
- loader: function(builtin) {
- window.define = builtin ? innerRequire.define : otherDefine
- window.require = builtin ? innerRequire : otherRequire
- },
- interpolate: function(array) {
- openTag = array[0]
- closeTag = array[1]
- if (openTag === closeTag) {
- throw new SyntaxError("openTag!==closeTag")
- } else if (array + "" === "<!--,-->") {
- kernel.commentInterpolate = true
- } else {
- var test = openTag + "test" + closeTag
- cinerator.innerHTML = test
- if (cinerator.innerHTML !== test && cinerator.innerHTML.indexOf("&lt;") > -1) {
- throw new SyntaxError("此定界符不合法")
- }
- cinerator.innerHTML = ""
- }
- var o = escapeRegExp(openTag),
- c = escapeRegExp(closeTag)
- rexpr = new RegExp(o + "(.*?)" + c)
- rexprg = new RegExp(o + "(.*?)" + c, "g")
- rbind = new RegExp(o + ".*?" + c + "|\\sms-")
- }
-}
-
-kernel.debug = true
-kernel.plugins = plugins
-kernel.plugins['interpolate'](["{{", "}}"])
-kernel.paths = {}
-kernel.shim = {}
-kernel.maxRepeatSize = 100
-avalon.config = kernel
-/*********************************************************************
- * 事件总线 *
- **********************************************************************/
-var EventBus = {
- $watch: function(type, callback) {
- if (typeof callback === "function") {
- var callbacks = this.$events[type]
- if (callbacks) {
- callbacks.push(callback)
- } else {
- this.$events[type] = [callback]
- }
- } else { //重新开始监听此VM的第一重简单属性的变动
- this.$events = this.$watch.backup
- }
- return this
- },
- $unwatch: function(type, callback) {
- var n = arguments.length
- if (n === 0) { //让此VM的所有$watch回调无效化
- this.$watch.backup = this.$events
- this.$events = {}
- } else if (n === 1) {
- this.$events[type] = []
- } else {
- var callbacks = this.$events[type] || []
- var i = callbacks.length
- while (~--i < 0) {
- if (callbacks[i] === callback) {
- return callbacks.splice(i, 1)
- }
- }
- }
- return this
- },
- $fire: function(type) {
- var special
- if (/^(\w+)!(\S+)$/.test(type)) {
- special = RegExp.$1
- type = RegExp.$2
- }
- var events = this.$events
- var args = aslice.call(arguments, 1)
- var detail = [type].concat(args)
- if (special === "all") {
- for (var i in avalon.vmodels) {
- var v = avalon.vmodels[i]
- if (v !== this) {
- v.$fire.apply(v, detail)
- }
- }
- } else if (special === "up" || special === "down") {
- var elements = events.expr ? findNodes(events.expr) : []
- if (elements.length === 0)
- return
- for (var i in avalon.vmodels) {
- var v = avalon.vmodels[i]
- if (v !== this) {
- if (v.$events.expr) {
- var eventNodes = findNodes(v.$events.expr)
- if (eventNodes.length === 0) {
- continue
- }
- //循环两个vmodel中的节点,查找匹配(向上匹配或者向下匹配)的节点并设置标识
- Array.prototype.forEach.call(eventNodes, function(node) {
- Array.prototype.forEach.call(elements, function(element) {
- var ok = special === "down" ? element.contains(node) : //向下捕获
- node.contains(element) //向上冒泡
-
- if (ok) {
- node._avalon = v //符合条件的加一个标识
- }
- });
- })
- }
- }
- }
- var nodes = DOC.getElementsByTagName("*") //实现节点排序
- var alls = []
- Array.prototype.forEach.call(nodes, function(el) {
- if (el._avalon) {
- alls.push(el._avalon)
- el._avalon = ""
- el.removeAttribute("_avalon")
- }
- })
- if (special === "up") {
- alls.reverse()
- }
- for (var i = 0, el; el = alls[i++]; ) {
- if (el.$fire.apply(el, detail) === false) {
- break
- }
- }
- } else {
- var callbacks = events[type] || []
- var all = events.$all || []
- for (var i = 0, callback; callback = callbacks[i++]; ) {
- if (isFunction(callback))
- callback.apply(this, args)
- }
- for (var i = 0, callback; callback = all[i++]; ) {
- if (isFunction(callback))
- callback.apply(this, arguments)
- }
- }
- }
-}
-
-var ravalon = /(\w+)\[(avalonctrl)="(\S+)"\]/
-var findNodes = function(str) {
- //pc safari v5.1: typeof DOC.querySelectorAll(str) === 'function'
- //https://gist.github.com/DavidBruant/1016007
- return DOC.querySelectorAll(str)
-}
-/*********************************************************************
- * modelFactory *
- **********************************************************************/
-//avalon最核心的方法的两个方法之一(另一个是avalon.scan),返回一个ViewModel(VM)
-var VMODELS = avalon.vmodels = {} //所有vmodel都储存在这里
-avalon.define = function(id, factory) {
- var $id = id.$id || id
- if (!$id) {
- log("warning: vm必须指定$id")
- }
- if (VMODELS[$id]) {
- log("warning: " + $id + " 已经存在于avalon.vmodels中")
- }
- if (typeof id === "object") {
- var model = modelFactory(id)
- } else {
- var scope = {
- $watch: noop
- }
- factory(scope) //得到所有定义
- model = modelFactory(scope) //偷天换日,将scope换为model
- stopRepeatAssign = true
- factory(model)
- stopRepeatAssign = false
- }
- model.$id = $id
- return VMODELS[$id] = model
-}
-
-//一些不需要被监听的属性
-var $$skipArray = String("$id,$watch,$unwatch,$fire,$events,$model,$skipArray").match(rword)
-
-function isObservable(name, value, $skipArray) {
- if (isFunction(value) || value && value.nodeType) {
- return false
- }
- if ($skipArray.indexOf(name) !== -1) {
- return false
- }
- if ($$skipArray.indexOf(name) !== -1) {
- return false
- }
- var $special = $skipArray.$special
- if (name && name.charAt(0) === "$" && !$special[name]) {
- return false
- }
- return true
-}
-//ms-with,ms-each, ms-repeat绑定生成的代理对象储存池
-var midway = {}
-function getNewValue(accessor, name, value, $vmodel) {
- switch (accessor.type) {
- case 0://计算属性
- var getter = accessor.get
- var setter = accessor.set
- if (isFunction(setter)) {
- var $events = $vmodel.$events
- var lock = $events[name]
- $events[name] = [] //清空回调,防止内部冒泡而触发多次$fire
- setter.call($vmodel, value)
- $events[name] = lock
- }
- return getter.call($vmodel) //同步$model
- case 1://监控属性
- return value
- case 2://对象属性(包括数组与哈希)
- if (value !== $vmodel.$model[name]) {
- var svmodel = accessor.svmodel = objectFactory($vmodel, name, value, accessor.valueType)
- value = svmodel.$model //同步$model
- var fn = midway[svmodel.$id]
- fn && fn() //同步视图
- }
- return value
- }
-}
-
-var defineProperty = Object.defineProperty
-var canHideOwn = true
-//如果浏览器不支持ecma262v5的Object.defineProperties或者存在BUG,比如IE8
-//标准浏览器使用__defineGetter__, __defineSetter__实现
-try {
- defineProperty({}, "_", {
- value: "x"
- })
- var defineProperties = Object.defineProperties
-} catch (e) {
- canHideOwn = false
-}
-function modelFactory(source, $special, $model) {
- if (Array.isArray(source)) {
- var arr = source.concat()
- source.length = 0
- var collection = Collection(source)
- collection.pushArray(arr)
- return collection
- }
- if (typeof source.nodeType === "number") {
- return source
- }
- if (source.$id && source.$events) { //fix IE6-8 createWithProxy $val: val引发的BUG
- return source
- }
- if (!Array.isArray(source.$skipArray)) {
- source.$skipArray = []
- }
- source.$skipArray.$special = $special || {} //强制要监听的属性
- var $vmodel = {} //要返回的对象, 它在IE6-8下可能被偷龙转凤
- $model = $model || {} //vmodels.$model属性
- var $events = {} //vmodel.$events属性
- var watchedProperties = {} //监控属性
- var initCallbacks = [] //初始化才执行的函数
- for (var i in source) {
- (function(name, val) {
- $model[name] = val
- if (!isObservable(name, val, source.$skipArray)) {
- return //过滤所有非监控属性
- }
- //总共产生三种accessor
- $events[name] = []
- var valueType = avalon.type(val)
- var accessor = function(newValue) {
- var name = accessor._name
- var $vmodel = this
- var $model = $vmodel.$model
- var oldValue = $model[name]
- var $events = $vmodel.$events
-
- if (arguments.length) {
- if (stopRepeatAssign) {
- return
- }
- //计算属性与对象属性需要重新计算newValue
- if (accessor.type !== 1) {
- newValue = getNewValue(accessor, name, newValue, $vmodel)
- }
- if (!isEqual(oldValue, newValue)) {
- $model[name] = newValue
- if ($events.$digest) {
- if(accessor.pedding)
- return
- accessor.pedding = true
- setTimeout(function() {
- notifySubscribers($events[name]) //同步视图
- safeFire($vmodel, name, $model[name], oldValue) //触发$watch回调
- accessor.pedding = false
- })
- } else {
- notifySubscribers($events[name]) //同步视图
- safeFire($vmodel, name, newValue, oldValue) //触发$watch回调
- }
- }
- } else {
- if (accessor.type === 0) { //type 0 计算属性 1 监控属性 2 对象属性
- //计算属性不需要收集视图刷新函数,都是由其他监控属性代劳
- return $model[name] = accessor.get.call($vmodel)
- } else {
- collectSubscribers($events[name]) //收集视图函数
- return accessor.svmodel || oldValue
- }
- }
- }
- //总共产生三种accessor
- if (valueType === "object" && isFunction(val.get) && Object.keys(val).length <= 2) {
- //第1种为计算属性, 因变量,通过其他监控属性触发其改变
- accessor.set = val.set
- accessor.get = val.get
- accessor.type = 0
- initCallbacks.push(function() {
- var data = {
- evaluator: function() {
- data.element = null
- data.type = new Date - 0
- $model[name] = accessor.get.call($vmodel)
- },
- element: head,
- type: new Date - 0,
- handler: noop,
- args: []
- }
- Registry[expose] = data
- accessor.call($vmodel)
- delete Registry[expose]
- })
- } else if (rcomplexType.test(valueType)) {
- //第2种为对象属性,产生子VM与监控数组
- accessor.type = 2
- accessor.valueType = val.valueType
- initCallbacks.push(function() {
- var svmodel = modelFactory(val, 0, $model[name])
- accessor.svmodel = svmodel
- svmodel.$events[subscribers] = $events[name]
- })
- } else {
- accessor.type = 1
- //第3种为监控属性,对应简单的数据类型,自变量
- }
- accessor._name = name
- watchedProperties[name] = accessor
- })(i, source[i])
- }
-
- $$skipArray.forEach(function(name) {
- delete source[name]
- delete $model[name] //这些特殊属性不应该在$model中出现
- })
-
- $vmodel = defineProperties($vmodel, descriptorFactory(watchedProperties), source) //生成一个空的ViewModel
- for (var name in source) {
- if (!watchedProperties[name]) {
- $vmodel[name] = source[name]
- }
- }
- //添加$id, $model, $events, $watch, $unwatch, $fire
- $vmodel.$id = generateID()
- $vmodel.$model = $model
- $vmodel.$events = $events
- for (var i in EventBus) {
- var fn = EventBus[i]
- if (!W3C) { //在IE6-8下,VB对象的方法里的this并不指向自身,需要用bind处理一下
- fn = fn.bind($vmodel)
- }
- $vmodel[i] = fn
- }
-
- if (canHideOwn) {
- Object.defineProperty($vmodel, "hasOwnProperty", {
- value: function(name) {
- return name in this.$model
- },
- writable: false,
- enumerable: false,
- configurable: true
- })
-
- } else {
- $vmodel.hasOwnProperty = function(name) {
- return name in $vmodel.$model
- }
- }
- initCallbacks.forEach(function(cb) { //收集依赖
- cb()
- })
- return $vmodel
-}
-
-//比较两个值是否相等
-var isEqual = Object.is || function(v1, v2) {
- if (v1 === 0 && v2 === 0) {
- return 1 / v1 === 1 / v2
- } else if (v1 !== v1) {
- return v2 !== v2
- } else {
- return v1 === v2
- }
-}
-
-function safeFire(a, b, c, d) {
- if (a.$events) {
- EventBus.$fire.call(a, b, c, d)
- }
-}
-
-var descriptorFactory = W3C ? function(obj) {
- var descriptors = {}
- for (var i in obj) {
- descriptors[i] = {
- get: obj[i],
- set: obj[i],
- enumerable: true,
- configurable: true
- }
- }
- return descriptors
-} : function(a) {
- return a
-}
-
-
-
-//应用于第2种accessor
-function objectFactory(parent, name, value, valueType) {
- //a为原来的VM, b为新数组或新对象
- var son = parent[name]
- if (valueType === "array") {
- if (!Array.isArray(value) || son === value) {
- return son //fix https://github.com/RubyLouvre/avalon/issues/261
- }
- son.clear()
- son.pushArray(value.concat())
- return son
- } else {
- var iterators = parent.$events[name]
- var pool = son.$events.$withProxyPool
- if (pool) {
- recycleProxies(pool, "with")
- son.$events.$withProxyPool = null
- }
- var ret = modelFactory(value)
- ret.$events[subscribers] = iterators
- midway[ret.$id] = function(data) {
- while (data = iterators.shift()) {
- (function(el) {
- avalon.nextTick(function() {
- if (el.type) { //重新绑定
- el.rollback && el.rollback() //还原 ms-with ms-on
- bindingHandlers[el.type](el, el.vmodels)
- }
- })
- })(data)
- }
- delete midway[ret.$id]
- }
- return ret
- }
-}
-/*********************************************************************
- * 监控数组(与ms-each, ms-repeat配合使用) *
- **********************************************************************/
-
-function Collection(model) {
- var array = []
- array.$id = generateID()
- array.$model = model //数据模型
- array.$events = {}
- array.$events[subscribers] = []
- array._ = modelFactory({
- length: model.length
- })
- array._.$watch("length", function(a, b) {
- array.$fire("length", a, b)
- })
- for (var i in EventBus) {
- array[i] = EventBus[i]
- }
- avalon.mix(array, CollectionPrototype)
- return array
-}
-
-function mutateArray(method, pos, n, index, method2, pos2, n2) {
- var oldLen = this.length, loop = 2
- while (--loop) {
- switch (method) {
- case "add":
- var array = this.$model.slice(pos, pos + n).map(function(el) {
- if (rcomplexType.test(avalon.type(el))) {
- return el.$id ? el : modelFactory(el, 0, el)
- } else {
- return el
- }
- })
- _splice.apply(this, [pos, 0].concat(array))
- this._fire("add", pos, n)
- break
- case "del":
- var ret = this._splice(pos, n)
- this._fire("del", pos, n)
- break
- }
- if (method2) {
- method = method2
- pos = pos2
- n = n2
- loop = 2
- method2 = 0
- }
- }
- this._fire("index", index)
- if (this.length !== oldLen) {
- this._.length = this.length
- }
- return ret
-}
-
-var _splice = ap.splice
-var CollectionPrototype = {
- _splice: _splice,
- _fire: function(method, a, b) {
- var list = this.$events[subscribers]
- for (var i = 0, fn; fn = list[i++]; ) {
- if (fn.$repeat) {
- fn.handler.call(fn, method, a, b) //处理监控数组的方法
- }
- }
- },
- size: function() { //取得数组长度,这个函数可以同步视图,length不能
- return this._.length
- },
- pushArray: function(array) {
- var m = array.length, n = this.length
- if (m) {
- ap.push.apply(this.$model, array)
- mutateArray.call(this, "add", n, m, n)
- }
- return m + n
- },
- push: function() {
- //http://jsperf.com/closure-with-arguments
- var array = []
- var i, n = arguments.length
- for (i = 0; i < n; i++) {
- array[i] = arguments[i]
- }
- return this.pushArray(arguments)
- },
- unshift: function() {
- var m = arguments.length, n = this.length
- if (m) {
- ap.unshift.apply(this.$model, arguments)
- mutateArray.call(this, "add", 0, m, 0)
- }
- return m + n //IE67的unshift不会返回长度
- },
- shift: function() {
- if (this.length) {
- var el = this.$model.shift()
- mutateArray.call(this, "del", 0, 1, 0)
- return el //返回被移除的元素
- }
- },
- pop: function() {
- var m = this.length
- if (m) {
- var el = this.$model.pop()
- mutateArray.call(this, "del", m - 1, 1, Math.max(0, m - 2))
- return el //返回被移除的元素
- }
- },
- splice: function(start) {
- var m = arguments.length, args = [], change
- var removed = _splice.apply(this.$model, arguments)
- if (removed.length) { //如果用户删掉了元素
- args.push("del", start, removed.length, 0)
- change = true
- }
- if (m > 2) { //如果用户添加了元素
- args.splice(3, 1, 0, "add", start, m - 2)
- change = true
- }
- if (change) { //返回被移除的元素
- return mutateArray.apply(this, args)
- } else {
- return []
- }
- },
- contains: function(el) { //判定是否包含
- return this.indexOf(el) !== -1
- },
- remove: function(el) { //移除第一个等于给定值的元素
- return this.removeAt(this.indexOf(el))
- },
- removeAt: function(index) { //移除指定索引上的元素
- if (index >= 0) {
- this.$model.splice(index, 1)
- return mutateArray.call(this, "del", index, 1, 0)
- }
- return []
- },
- clear: function() {
- this.$model.length = this.length = this._.length = 0 //清空数组
- this._fire("clear", 0)
- return this
- },
- removeAll: function(all) { //移除N个元素
- if (Array.isArray(all)) {
- all.forEach(function(el) {
- this.remove(el)
- }, this)
- } else if (typeof all === "function") {
- for (var i = this.length - 1; i >= 0; i--) {
- var el = this[i]
- if (all(el, i)) {
- this.removeAt(i)
- }
- }
- } else {
- this.clear()
- }
- },
- ensure: function(el) {
- if (!this.contains(el)) { //只有不存在才push
- this.push(el)
- }
- return this
- },
- set: function(index, val) {
- if (index >= 0) {
- var valueType = avalon.type(val)
- if (val && val.$model) {
- val = val.$model
- }
- var target = this[index]
- if (valueType === "object") {
- for (var i in val) {
- if (target.hasOwnProperty(i)) {
- target[i] = val[i]
- }
- }
- } else if (valueType === "array") {
- target.clear().push.apply(target, val)
- } else if (target !== val) {
- this[index] = val
- this.$model[index] = val
- this._fire("set", index, val)
- }
- }
- return this
- }
-}
-
-function sortByIndex(array, indexes) {
- var map = {};
- for (var i = 0, n = indexes.length; i < n; i++) {
- map[i] = array[i] // preserve
- var j = indexes[i]
- if (j in map) {
- array[i] = map[j]
- delete map[j]
- } else {
- array[i] = array[j]
- }
- }
-}
-
-"sort,reverse".replace(rword, function(method) {
- CollectionPrototype[method] = function() {
- var newArray = this.$model//这是要排序的新数组
- var oldArray = newArray.concat() //保持原来状态的旧数组
- var mask = Math.random()
- var indexes = []
- var hasSort
- ap[method].apply(newArray, arguments) //排序
- for (var i = 0, n = oldArray.length; i < n; i++) {
- var neo = newArray[i]
- var old = oldArray[i]
- if (isEqual(neo, old)) {
- indexes.push(i)
- } else {
- var index = oldArray.indexOf(neo)
- indexes.push(index)//得到新数组的每个元素在旧数组对应的位置
- oldArray[index] = mask //屏蔽已经找过的元素
- hasSort = true
- }
- }
- if (hasSort) {
- sortByIndex(this, indexes)
- this._fire("move", indexes)
- this._fire("index", 0)
- }
- return this
- }
-})
-
-/*********************************************************************
- * 依赖调度系统 *
- **********************************************************************/
-var ronduplex = /^(duplex|on)$/
-
-function registerSubscriber(data) {
- Registry[expose] = data //暴光此函数,方便collectSubscribers收集
- avalon.openComputedCollect = true
- var fn = data.evaluator
- if (fn) { //如果是求值函数
- try {
- var c = ronduplex.test(data.type) ? data : fn.apply(0, data.args)
- data.handler(c, data.element, data)
- } catch (e) {
- //log("warning:exception throwed in [registerSubscriber] " + e)
- delete data.evaluator
- var node = data.element
- if (node.nodeType === 3) {
- var parent = node.parentNode
- if (kernel.commentInterpolate) {
- parent.replaceChild(DOC.createComment(data.value), node)
- } else {
- node.data = openTag + data.value + closeTag
- }
- }
- }
- }
- avalon.openComputedCollect = false
- delete Registry[expose]
-}
-
-function collectSubscribers(list) { //收集依赖于这个访问器的订阅者
- var data = Registry[expose]
- if (list && data && avalon.Array.ensure(list, data) && data.element) { //只有数组不存在此元素才push进去
- addSubscribers(data, list)
- }
-}
-
-
-function addSubscribers(data, list) {
- data.$uuid = data.$uuid || generateID()
- list.$uuid = list.$uuid || generateID()
- var obj = {
- data: data,
- list: list,
- $$uuid: data.$uuid + list.$uuid
- }
- if (!$$subscribers[obj.$$uuid]) {
- $$subscribers[obj.$$uuid] = 1
- $$subscribers.push(obj)
- }
-}
-
-function disposeData(data) {
- data.element = null
- data.rollback && data.rollback()
- for (var key in data) {
- data[key] = null
- }
-}
-
-function isRemove(el) {
- try {//IE下,如果文本节点脱离DOM树,访问parentNode会报错
- if (!el.parentNode) {
- return true
- }
- } catch (e) {
- return true
- }
- return el.msRetain ? 0 : (el.nodeType === 1 ? typeof el.sourceIndex === "number" ?
- el.sourceIndex === 0 : !root.contains(el) : !avalon.contains(root, el))
-}
-var $$subscribers = avalon.$$subscribers = []
-var beginTime = new Date()
-var oldInfo = {}
-function removeSubscribers() {
- var i = $$subscribers.length
- var n = i
- var k = 0
- var obj
- var types = []
- var newInfo = {}
- var needTest = {}
- while (obj = $$subscribers[--i]) {
- var data = obj.data
- var type = data.type
- if (newInfo[type]) {
- newInfo[type]++
- } else {
- newInfo[type] = 1
- types.push(type)
- }
- }
- var diff = false
- types.forEach(function(type) {
- if (oldInfo[type] !== newInfo[type]) {
- needTest[type] = 1
- diff = true
- }
- })
- i = n
- //avalon.log("需要检测的个数 " + i)
- if (diff) {
- //avalon.log("有需要移除的元素")
- while (obj = $$subscribers[--i]) {
- var data = obj.data
- if (data.element === void 0)
- continue
- if (needTest[data.type] && isRemove(data.element)) { //如果它没有在DOM树
- k++
- $$subscribers.splice(i, 1)
- delete $$subscribers[obj.$$uuid]
- avalon.Array.remove(obj.list, data)
- //log("debug: remove " + data.type)
- disposeData(data)
- obj.data = obj.list = null
- }
- }
- }
- oldInfo = newInfo
- // avalon.log("已经移除的个数 " + k)
- beginTime = new Date()
-}
-
-function notifySubscribers(list) { //通知依赖于这个访问器的订阅者更新自身
- if (list && list.length) {
- if (new Date() - beginTime > 444 && typeof list[0] === "object") {
- removeSubscribers()
- }
- var args = aslice.call(arguments, 1)
- for (var i = list.length, fn; fn = list[--i]; ) {
- var el = fn.element
- if (el && el.parentNode) {
- if (fn.$repeat) {
- fn.handler.apply(fn, args) //处理监控数组的方法
- } else if (fn.type !== "on") { //事件绑定只能由用户触发,不能由程序触发
- var fun = fn.evaluator || noop
- fn.handler(fun.apply(0, fn.args || []), el, fn)
- }
- }
- }
- }
-}
-
-/************************************************************************
- * HTML处理(parseHTML, innerHTML, clearHTML) *
- **************************************************************************/
-//parseHTML的辅助变量
-var tagHooks = new function() {
- avalon.mix(this, {
- option: DOC.createElement("select"),
- thead: DOC.createElement("table"),
- td: DOC.createElement("tr"),
- area: DOC.createElement("map"),
- tr: DOC.createElement("tbody"),
- col: DOC.createElement("colgroup"),
- legend: DOC.createElement("fieldset"),
- _default: DOC.createElement("div"),
- "g": DOC.createElementNS("http://www.w3.org/2000/svg", "svg")
- })
- this.optgroup = this.option
- this.tbody = this.tfoot = this.colgroup = this.caption = this.thead
- this.th = this.td
-}
-
-tagHooks.optgroup = tagHooks.option
-tagHooks.tbody = tagHooks.tfoot = tagHooks.colgroup = tagHooks.caption = tagHooks.thead
-tagHooks.th = tagHooks.td
-
-String("circle,defs,ellipse,image,line,path,polygon,polyline,rect,symbol,text,use").replace(rword, function(tag) {
- tagHooks[tag] = tagHooks.g //处理SVG
-})
-var rtagName = /<([\w:]+)/
-var rxhtml = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig
-var scriptTypes = oneObject(["", "text/javascript", "text/ecmascript", "application/ecmascript", "application/javascript"])
-var script = DOC.createElement("script")
-
-avalon.parseHTML = function(html) {
- if (typeof html !== "string") {
- html = html + ""
- }
- html = html.replace(rxhtml, "<$1></$2>").trim()
- var tag = (rtagName.exec(html) || ["", ""])[1].toLowerCase(),
- //取得其标签名
- wrapper = tagHooks[tag] || tagHooks._default,
- fragment = hyperspace.cloneNode(false),
- firstChild
- wrapper.innerHTML = html
- var els = wrapper.getElementsByTagName("script")
- if (els.length) { //使用innerHTML生成的script节点不会发出请求与执行text属性
- for (var i = 0, el; el = els[i++]; ) {
- if (scriptTypes[el.type]) {
- var neo = script.cloneNode(false) //FF不能省略参数
- ap.forEach.call(el.attributes, function(attr) {
- neo.setAttribute(attr.name, attr.value)
- })
- neo.text = el.text
- el.parentNode.replaceChild(neo, el)
- }
- }
- }
-
- while (firstChild = wrapper.firstChild) { // 将wrapper上的节点转移到文档碎片上!
- fragment.appendChild(firstChild)
- }
- return fragment
-}
-
-avalon.innerHTML = function(node, html) {
- var a = this.parseHTML(html)
- this.clearHTML(node).appendChild(a)
-}
-
-avalon.clearHTML = function(node) {
- node.textContent = ""
- while (node.firstChild) {
- node.removeChild(node.firstChild)
- }
- return node
-}
-/*********************************************************************
- * 扫描系统 *
- **********************************************************************/
-
-avalon.scan = function(elem, vmodel, group) {
- elem = elem || root
- var vmodels = vmodel ? [].concat(vmodel) : []
- scanTag(elem, vmodels)
-}
-
-//http://www.w3.org/TR/html5/syntax.html#void-elements
-var stopScan = oneObject("area,base,basefont,br,col,command,embed,hr,img,input,link,meta,param,source,track,wbr,noscript,script,style,textarea".toUpperCase())
-
-function checkScan(elem, callback, innerHTML) {
- var id = setTimeout(function() {
- var currHTML = elem.innerHTML
- clearTimeout(id)
- if (currHTML === innerHTML) {
- callback()
- } else {
- checkScan(elem, callback, currHTML)
- }
- })
-}
-
-
-function createSignalTower(elem, vmodel) {
- var id = elem.getAttribute("avalonctrl") || vmodel.$id
- elem.setAttribute("avalonctrl", id)
- vmodel.$events.expr = elem.tagName + '[avalonctrl="' + id + '"]'
-}
-
-var getBindingCallback = function(elem, name, vmodels) {
- var callback = elem.getAttribute(name)
- if (callback) {
- for (var i = 0, vm; vm = vmodels[i++]; ) {
- if (vm.hasOwnProperty(callback) && typeof vm[callback] === "function") {
- return vm[callback]
- }
- }
- }
-}
-
-function executeBindings(bindings, vmodels) {
- for (var i = 0, data; data = bindings[i++]; ) {
- data.vmodels = vmodels
- bindingHandlers[data.type](data, vmodels)
- if (data.evaluator && data.element && data.element.nodeType === 1) { //移除数据绑定,防止被二次解析
- //chrome使用removeAttributeNode移除不存在的特性节点时会报错 https://github.com/RubyLouvre/avalon/issues/99
- data.element.removeAttribute(data.name)
- }
- }
- bindings.length = 0
-}
-
-//https://github.com/RubyLouvre/avalon/issues/636
-var mergeTextNodes = IEVersion && window.MutationObserver ? function (elem) {
- var node = elem.firstChild, text
- while (node) {
- var aaa = node.nextSibling
- if (node.nodeType === 3) {
- if (text) {
- text.nodeValue += node.nodeValue
- elem.removeChild(node)
- } else {
- text = node
- }
- } else {
- text = null
- }
- node = aaa
- }
-} : 0
-
-var rmsAttr = /ms-(\w+)-?(.*)/
-var priorityMap = {
- "if": 10,
- "repeat": 90,
- "data": 100,
- "widget": 110,
- "each": 1400,
- "with": 1500,
- "duplex": 2000,
- "on": 3000
-}
-
-var events = oneObject("animationend,blur,change,input,click,dblclick,focus,keydown,keypress,keyup,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,scan,scroll,submit")
-var obsoleteAttrs = oneObject("value,title,alt,checked,selected,disabled,readonly,enabled")
-function bindingSorter(a, b) {
- return a.priority - b.priority
-}
-
-function scanTag(elem, vmodels, node) {
- //扫描顺序 ms-skip(0) --> ms-important(1) --> ms-controller(2) --> ms-if(10) --> ms-repeat(100)
- //--> ms-if-loop(110) --> ms-attr(970) ...--> ms-each(1400)-->ms-with(1500)--〉ms-duplex(2000)垫后
- var a = elem.getAttribute("ms-skip")
- var b = elem.getAttributeNode("ms-important")
- var c = elem.getAttributeNode("ms-controller")
- if (typeof a === "string") {
- return
- } else if (node = b || c) {
- var newVmodel = avalon.vmodels[node.value]
- if (!newVmodel) {
- return
- }
- //ms-important不包含父VM,ms-controller相反
- vmodels = node === b ? [newVmodel] : [newVmodel].concat(vmodels)
- elem.removeAttribute(node.name) //removeAttributeNode不会刷新[ms-controller]样式规则
- elem.classList.remove(node.name)
- createSignalTower(elem, newVmodel)
- }
- scanAttr(elem, vmodels) //扫描特性节点
-}
-function scanNodeList(parent, vmodels) {
- var node = parent.firstChild
- while (node) {
- var nextNode = node.nextSibling
- scanNode(node, node.nodeType, vmodels)
- node = nextNode
- }
-}
-
-function scanNodeArray(nodes, vmodels) {
- for (var i = 0, node; node = nodes[i++]; ) {
- scanNode(node, node.nodeType, vmodels)
- }
-}
-function scanNode(node, nodeType, vmodels) {
- if (nodeType === 1) {
- scanTag(node, vmodels) //扫描元素节点
- } else if (nodeType === 3 && rexpr.test(node.data)){
- scanText(node, vmodels) //扫描文本节点
- } else if (kernel.commentInterpolate && nodeType === 8 && !rexpr.test(node.nodeValue)) {
- scanText(node, vmodels) //扫描注释节点
- }
-}
-function scanAttr(elem, vmodels) {
- //防止setAttribute, removeAttribute时 attributes自动被同步,导致for循环出错
- var attributes = elem.hasAttributes() ? avalon.slice(elem.attributes) : []
- var bindings = [],
- msData = {},
- match
- for (var i = 0, attr; attr = attributes[i++]; ) {
- if (attr.specified) {
- if (match = attr.name.match(rmsAttr)) {
- //如果是以指定前缀命名的
- var type = match[1]
- var param = match[2] || ""
- var value = attr.value
- var name = attr.name
- msData[name] = value
- if (events[type]) {
- param = type
- type = "on"
- } else if (obsoleteAttrs[type]) {
- log("ms-" + type + "已经被废弃,请使用ms-attr-*代替")
- if (type === "enabled") {//吃掉ms-enabled绑定,用ms-disabled代替
- type = "disabled"
- value = "!(" + value + ")"
- }
- param = type
- type = "attr"
- elem.removeAttribute(name)
- name = "ms-attr-" + param
- elem.setAttribute(name, value)
- match = [name]
- msData[name] = value
- }
- if (typeof bindingHandlers[type] === "function") {
- var binding = {
- type: type,
- param: param,
- element: elem,
- name: match[0],
- value: value,
- priority: type in priorityMap ? priorityMap[type] : type.charCodeAt(0) * 10 + (Number(param) || 0)
- }
- if (type === "html" || type === "text") {
- var token = getToken(value)
- avalon.mix(binding, token)
- binding.filters = binding.filters.replace(rhasHtml, function() {
- binding.type = "html"
- binding.group = 1
- return ""
- })
- }
- if (name === "ms-if-loop") {
- binding.priority += 100
- }
- if (vmodels.length) {
- bindings.push(binding)
- if (type === "widget") {
- elem.msData = elem.msData || msData
- }
- }
- }
- }
- }
- }
- if (msData["ms-attr-checked"] && msData["ms-duplex"]) {
- log("warning!一个元素上不能同时定义ms-attr-checked与ms-duplex")
- }
- bindings.sort(bindingSorter)
- var scanNode = true
- for (var i = 0, binding; binding = bindings[i]; i++) {
- var type = binding.type
- if (rnoscanAttrBinding.test(type)) {
- return executeBindings(bindings.slice(0, i + 1), vmodels)
- } else if (scanNode) {
- scanNode = !rnoscanNodeBinding.test(type)
- }
- }
- executeBindings(bindings, vmodels)
- if (scanNode && !stopScan[elem.tagName] && rbind.test(elem.innerHTML + elem.textContent)) {
- mergeTextNodes && mergeTextNodes(elem)
- scanNodeList(elem, vmodels) //扫描子孙元素
- }
-}
-
-var rnoscanAttrBinding = /^if|widget|repeat$/
-var rnoscanNodeBinding = /^each|with|html|include$/
-var rhasHtml = /\|\s*html\s*/,
- r11a = /\|\|/g,
- rlt = /&lt;/g,
- rgt = /&gt;/g
-
-function getToken(value) {
- if (value.indexOf("|") > 0) {
- var index = value.replace(r11a, "\u1122\u3344").indexOf("|") //干掉所有短路或
- if (index > -1) {
- return {
- filters: value.slice(index),
- value: value.slice(0, index),
- expr: true
- }
- }
- }
- return {
- value: value,
- filters: "",
- expr: true
- }
-}
-
-function scanExpr(str) {
- var tokens = [],
- value, start = 0,
- stop
- do {
- stop = str.indexOf(openTag, start)
- if (stop === -1) {
- break
- }
- value = str.slice(start, stop)
- if (value) { // {{ 左边的文本
- tokens.push({
- value: value,
- filters: "",
- expr: false
- })
- }
- start = stop + openTag.length
- stop = str.indexOf(closeTag, start)
- if (stop === -1) {
- break
- }
- value = str.slice(start, stop)
- if (value) { //处理{{ }}插值表达式
- tokens.push(getToken(value))
- }
- start = stop + closeTag.length
- } while (1)
- value = str.slice(start)
- if (value) { //}} 右边的文本
- tokens.push({
- value: value,
- expr: false,
- filters: ""
- })
- }
- return tokens
-}
-
-function scanText(textNode, vmodels) {
- var bindings = []
- if (textNode.nodeType === 8) {
- var token = getToken(textNode.nodeValue)
- var tokens = [token]
- } else {
- tokens = scanExpr(textNode.data)
- }
- if (tokens.length) {
- for (var i = 0, token; token = tokens[i++]; ) {
- var node = DOC.createTextNode(token.value) //将文本转换为文本节点,并替换原来的文本节点
- if (token.expr) {
- token.type = "text"
- token.element = node
- token.filters = token.filters.replace(rhasHtml, function() {
- token.type = "html"
- token.group = 1
- return ""
- })
- bindings.push(token) //收集带有插值表达式的文本
- }
- hyperspace.appendChild(node)
- }
- textNode.parentNode.replaceChild(hyperspace, textNode)
- if (bindings.length)
- executeBindings(bindings, vmodels)
- }
-}
-
-
-/*********************************************************************
- * avalon的原型方法定义区 *
- **********************************************************************/
-function hyphen(target) {
- //转换为连字符线风格
- return target.replace(/([a-z\d])([A-Z]+)/g, "$1-$2").toLowerCase()
-}
-function camelize(target) {
- //转换为驼峰风格
- if (target.indexOf("-") < 0 && target.indexOf("_") < 0) {
- return target //提前判断,提高getStyle等的效率
- }
- return target.replace(/[-_][^-_]/g, function(match) {
- return match.charAt(1).toUpperCase()
- })
-}
-
-"add,remove".replace(rword, function(method) {
- avalon.fn[method + "Class"] = function(cls) {
- var el = this[0]
- //https://developer.mozilla.org/zh-CN/docs/Mozilla/Firefox/Releases/26
- if (cls && typeof cls === "string" && el && el.nodeType === 1) {
- cls.replace(/\S+/g, function(c) {
- el.classList[method](c)
- })
- }
- return this
- }
-})
-
-avalon.fn.mix({
- hasClass: function(cls) {
- var el = this[0] || {} //IE10+, chrome8+, firefox3.6+, safari5.1+,opera11.5+支持classList,chrome24+,firefox26+支持classList2.0
- return el.nodeType === 1 && el.classList.contains(cls)
- },
- toggleClass: function(value, stateVal) {
- var className, i = 0
- var classNames = value.split(/\s+/)
- var isBool = typeof stateVal === "boolean"
- while ((className = classNames[i++])) {
- var state = isBool ? stateVal : !this.hasClass(className)
- this[state ? "addClass" : "removeClass"](className)
- }
- return this
- },
- attr: function(name, value) {
- if (arguments.length === 2) {
- this[0].setAttribute(name, value)
- return this
- } else {
- return this[0].getAttribute(name)
- }
- },
- data: function(name, value) {
- name = "data-" + hyphen(name || "")
- switch (arguments.length) {
- case 2:
- this.attr(name, value)
- return this
- case 1:
- var val = this.attr(name)
- return parseData(val)
- case 0:
- var ret = {}
- ap.forEach.call(this[0].attributes, function(attr) {
- if (attr) {
- name = attr.name
- if (!name.indexOf("data-")) {
- name = camelize(name.slice(5))
- ret[name] = parseData(attr.value)
- }
- }
- })
- return ret
- }
- },
- removeData: function(name) {
- name = "data-" + hyphen(name)
- this[0].removeAttribute(name)
- return this
- },
- css: function(name, value) {
- if (avalon.isPlainObject(name)) {
- for (var i in name) {
- avalon.css(this, i, name[i])
- }
- } else {
- var ret = avalon.css(this, name, value)
- }
- return ret !== void 0 ? ret : this
- },
- position: function() {
- var offsetParent, offset,
- elem = this[0],
- parentOffset = {
- top: 0,
- left: 0
- };
- if (!elem) {
- return
- }
- if (this.css("position") === "fixed") {
- offset = elem.getBoundingClientRect()
- } else {
- offsetParent = this.offsetParent() //得到真正的offsetParent
- offset = this.offset() // 得到正确的offsetParent
- if (offsetParent[0].tagName !== "HTML") {
- parentOffset = offsetParent.offset()
- }
- parentOffset.top += avalon.css(offsetParent[0], "borderTopWidth", true)
- parentOffset.left += avalon.css(offsetParent[0], "borderLeftWidth", true)
- }
- return {
- top: offset.top - parentOffset.top - avalon.css(elem, "marginTop", true),
- left: offset.left - parentOffset.left - avalon.css(elem, "marginLeft", true)
- }
- },
- offsetParent: function() {
- var offsetParent = this[0].offsetParent
- while (offsetParent && avalon.css(offsetParent, "position") === "static") {
- offsetParent = offsetParent.offsetParent;
- }
- return avalon(offsetParent)
- },
- bind: function(type, fn, phase) {
- if (this[0]) { //此方法不会链
- return avalon.bind(this[0], type, fn, phase)
- }
- },
- unbind: function(type, fn, phase) {
- if (this[0]) {
- avalon.unbind(this[0], type, fn, phase)
- }
- return this
- },
- val: function(value) {
- var node = this[0]
- if (node && node.nodeType === 1) {
- var get = arguments.length === 0
- var access = get ? ":get" : ":set"
- var fn = valHooks[getValType(node) + access]
- if (fn) {
- var val = fn(node, value)
- } else if (get) {
- return (node.value || "").replace(/\r/g, "")
- } else {
- node.value = value
- }
- }
- return get ? val : this
- }
-})
-
-if (root.dataset) {
- avalon.fn.data = function(name, val) {
- var dataset = this[0].dataset
- switch (arguments.length) {
- case 2:
- dataset[name] = val
- return this
- case 1:
- val = dataset[name]
- return parseData(val)
- case 0:
- var ret = {}
- for (var name in dataset) {
- ret[name] = parseData(dataset[name])
- }
- return ret
- }
- }
-}
-var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/
-avalon.parseJSON = JSON.parse
-
-function parseData(data) {
- try {
- if (typeof data === "object")
- return data
- data = data === "true" ? true :
- data === "false" ? false :
- data === "null" ? null : +data + "" === data ? +data : rbrace.test(data) ? JSON.parse(data) : data
- } catch (e) {
- }
- return data
-}
-avalon.each({
- scrollLeft: "pageXOffset",
- scrollTop: "pageYOffset"
-}, function(method, prop) {
- avalon.fn[method] = function(val) {
- var node = this[0] || {}, win = getWindow(node),
- top = method === "scrollTop"
- if (!arguments.length) {
- return win ? win[prop] : node[method]
- } else {
- if (win) {
- win.scrollTo(!top ? val : avalon(win).scrollLeft(), top ? val : avalon(win).scrollTop())
- } else {
- node[method] = val
- }
- }
- }
-})
-
-function getWindow(node) {
- return node.window && node.document ? node : node.nodeType === 9 ? node.defaultView : false
-}
-
-//=============================css相关==================================
-var cssHooks = avalon.cssHooks = {}
-var prefixes = ["", "-webkit-", "-moz-", "-ms-"]//去掉opera-15的支持
-var cssMap = {
- "float": "cssFloat"
-}
-avalon.cssNumber = oneObject("columnCount,order,fillOpacity,fontWeight,lineHeight,opacity,orphans,widows,zIndex,zoom")
-
-avalon.cssName = function(name, host, camelCase) {
- if (cssMap[name]) {
- return cssMap[name]
- }
- host = host || root.style
- for (var i = 0, n = prefixes.length; i < n; i++) {
- camelCase = camelize(prefixes[i] + name)
- if (camelCase in host) {
- return (cssMap[name] = camelCase)
- }
- }
- return null
-}
-cssHooks["@:set"] = function(node, name, value) {
- node.style[name] = value
-}
-
-cssHooks["@:get"] = function(node, name) {
- if (!node || !node.style) {
- throw new Error("getComputedStyle要求传入一个节点 " + node)
- }
- var ret, computed = getComputedStyle(node, null)
- if (computed) {
- ret = name === "filter" ? computed.getPropertyValue(name) : computed[name]
- if (ret === "") {
- ret = node.style[name] //其他浏览器需要我们手动取内联样式
- }
- }
- return ret
-}
-cssHooks["opacity:get"] = function(node) {
- var ret = cssHooks["@:get"](node, "opacity")
- return ret === "" ? "1" : ret
-}
-
-"top,left".replace(rword, function(name) {
- cssHooks[name + ":get"] = function(node) {
- var computed = cssHooks["@:get"](node, name)
- return /px$/.test(computed) ? computed :
- avalon(node).position()[name] + "px"
- }
-})
-var cssShow = {
- position: "absolute",
- visibility: "hidden",
- display: "block"
-}
-var rdisplayswap = /^(none|table(?!-c[ea]).+)/
-
-function showHidden(node, array) {
- //http://www.cnblogs.com/rubylouvre/archive/2012/10/27/2742529.html
- if (node.offsetWidth <= 0) { //opera.offsetWidth可能小于0
- var styles = getComputedStyle(node, null)
- if (rdisplayswap.test(styles["display"])) {
- var obj = {
- node: node
- }
- for (var name in cssShow) {
- obj[name] = styles[name]
- node.style[name] = cssShow[name]
- }
- array.push(obj)
- }
- var parent = node.parentNode
- if (parent && parent.nodeType === 1) {
- showHidden(parent, array)
- }
- }
-}
-
-"Width,Height".replace(rword, function(name) {//fix 481
- var method = name.toLowerCase(),
- clientProp = "client" + name,
- scrollProp = "scroll" + name,
- offsetProp = "offset" + name
- cssHooks[method + ":get"] = function(node, which, override) {
- var boxSizing = -4
- if (typeof override === "number") {
- boxSizing = override
- }
- which = name === "Width" ? ["Left", "Right"] : ["Top", "Bottom"]
- var ret = node[offsetProp] // border-box 0
- if (boxSizing === 2) { // margin-box 2
- return ret
- + avalon.css(node, "margin" + which[0], true)
- + avalon.css(node, "margin" + which[1], true)
- }
- if (boxSizing < 0) { // padding-box -2
- ret = ret
- - avalon.css(node, "border" + which[0] + "Width", true)
- - avalon.css(node, "border" + which[1] + "Width", true)
- }
- if (boxSizing === -4) { // content-box -4
- ret = ret
- - avalon.css(node, "padding" + which[0], true)
- - avalon.css(node, "padding" + which[1], true)
- }
- return ret
- }
- cssHooks[method + "&get"] = function(node) {
- var hidden = [];
- showHidden(node, hidden);
- var val = cssHooks[method + ":get"](node)
- for (var i = 0, obj; obj = hidden[i++]; ) {
- node = obj.node
- for (var n in obj) {
- if (typeof obj[n] === "string") {
- node.style[n] = obj[n]
- }
- }
- }
- return val;
- }
- avalon.fn[method] = function(value) { //会忽视其display
- var node = this[0]
- if (arguments.length === 0) {
- if (node.setTimeout) { //取得窗口尺寸,IE9后可以用node.innerWidth /innerHeight代替
- return node["inner" + name] || node.document.documentElement[clientProp]
- }
- if (node.nodeType === 9) { //取得页面尺寸
- var doc = node.documentElement
- //FF chrome html.scrollHeight< body.scrollHeight
- //IE 标准模式 : html.scrollHeight> body.scrollHeight
- //IE 怪异模式 : html.scrollHeight 最大等于可视窗口多一点?
- return Math.max(node.body[scrollProp], doc[scrollProp], node.body[offsetProp], doc[offsetProp], doc[clientProp])
- }
- return cssHooks[method + "&get"](node)
- } else {
- return this.css(method, value)
- }
- }
- avalon.fn["inner" + name] = function() {
- return cssHooks[method + ":get"](this[0], void 0, -2)
- }
- avalon.fn["outer" + name] = function(includeMargin) {
- return cssHooks[method + ":get"](this[0], void 0, includeMargin === true ? 2 : 0)
- }
-})
-avalon.fn.offset = function() { //取得距离页面左右角的坐标
- var node = this[0], box = {
- left: 0,
- top: 0
- }
- if (!node || !node.tagName || !node.ownerDocument) {
- return box
- }
- var doc = node.ownerDocument,
- root = doc.documentElement,
- win = doc.defaultView
- if (!root.contains(node)) {
- return box
- }
- if (node.getBoundingClientRect !== void 0) {
- box = node.getBoundingClientRect()
- }
- return {
- top: box.top + win.pageYOffset - root.clientTop,
- left: box.left + win.pageXOffset - root.clientLeft
- }
-}
-//=============================val相关=======================
-
-function getValType(el) {
- var ret = el.tagName.toLowerCase()
- return ret === "input" && /checkbox|radio/.test(el.type) ? "checked" : ret
-}
-var valHooks = {
- "select:get": function(node, value) {
- var option, options = node.options,
- index = node.selectedIndex,
- one = node.type === "select-one" || index < 0,
- values = one ? null : [],
- max = one ? index + 1 : options.length,
- i = index < 0 ? max : one ? index : 0
- for (; i < max; i++) {
- option = options[i]
- //旧式IE在reset后不会改变selected,需要改用i === index判定
- //我们过滤所有disabled的option元素,但在safari5下,如果设置select为disable,那么其所有孩子都disable
- //因此当一个元素为disable,需要检测其是否显式设置了disable及其父节点的disable情况
- if ((option.selected || i === index) && !option.disabled) {
- value = option.value
- if (one) {
- return value
- }
- //收集所有selected值组成数组返回
- values.push(value)
- }
- }
- return values
- },
- "select:set": function(node, values, optionSet) {
- values = [].concat(values) //强制转换为数组
- for (var i = 0, el; el = node.options[i++]; ) {
- if ((el.selected = values.indexOf(el.value) > -1)) {
- optionSet = true
- }
- }
- if (!optionSet) {
- node.selectedIndex = -1
- }
- }
-}
-
-/*********************************************************************
- * 编译系统 *
- **********************************************************************/
-var quote = JSON.stringify
-
-var keywords =
- // 关键字
- "break,case,catch,continue,debugger,default,delete,do,else,false" +
- ",finally,for,function,if,in,instanceof,new,null,return,switch,this" +
- ",throw,true,try,typeof,var,void,while,with"
- // 保留字
- + ",abstract,boolean,byte,char,class,const,double,enum,export,extends" +
- ",final,float,goto,implements,import,int,interface,long,native" +
- ",package,private,protected,public,short,static,super,synchronized" +
- ",throws,transient,volatile"
- // ECMA 5 - use strict
- + ",arguments,let,yield" + ",undefined"
-var rrexpstr = /\/\*[\w\W]*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|"(?:[^"\\]|\\[\w\W])*"|'(?:[^'\\]|\\[\w\W])*'|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g
-var rsplit = /[^\w$]+/g
-var rkeywords = new RegExp(["\\b" + keywords.replace(/,/g, '\\b|\\b') + "\\b"].join('|'), 'g')
-var rnumber = /\b\d[^,]*/g
-var rcomma = /^,+|,+$/g
-var cacheVars = createCache(512)
-var getVariables = function(code) {
- var key = "," + code.trim()
- if (cacheVars[key]) {
- return cacheVars[key]
- }
- var match = code
- .replace(rrexpstr, "")
- .replace(rsplit, ",")
- .replace(rkeywords, "")
- .replace(rnumber, "")
- .replace(rcomma, "")
- .split(/^$|,+/)
- return cacheVars(key, uniqSet(match))
-}
-/*添加赋值语句*/
-
-function addAssign(vars, scope, name, data) {
- var ret = [],
- prefix = " = " + name + "."
- for (var i = vars.length, prop; prop = vars[--i]; ) {
- if (scope.hasOwnProperty(prop)) {
- ret.push(prop + prefix + prop)
- data.vars.push(prop)
- if (data.type === "duplex") {
- vars.get = name + "." + prop
- }
- vars.splice(i, 1)
- }
- }
- return ret
-}
-
-function uniqSet(array) {
- var ret = [],
- unique = {}
- for (var i = 0; i < array.length; i++) {
- var el = array[i]
- var id = el && typeof el.$id === "string" ? el.$id : el
- if (!unique[id]) {
- unique[id] = ret.push(el)
- }
- }
- return ret
-}
-//缓存求值函数,以便多次利用
-var cacheExprs = createCache(128)
-//取得求值函数及其传参
-var rduplex = /\w\[.*\]|\w\.\w/
-var rproxy = /(\$proxy\$[a-z]+)\d+$/
-var rthimRightParentheses = /\)\s*$/
-var rthimOtherParentheses = /\)\s*\|/g
-var rquoteFilterName = /\|\s*([$\w]+)/g
-var rpatchBracket = /"\s*\["/g
-var rthimLeftParentheses = /"\s*\(/g
-function parseFilter(val, filters) {
- filters = filters
- .replace(rthimRightParentheses, "")//处理最后的小括号
- .replace(rthimOtherParentheses, function() {//处理其他小括号
- return "],|"
- })
- .replace(rquoteFilterName, function(a, b) { //处理|及它后面的过滤器的名字
- return "[" + quote(b)
- })
- .replace(rpatchBracket, function() {
- return '"],["'
- })
- .replace(rthimLeftParentheses, function() {
- return '",'
- }) + "]"
- return "return avalon.filters.$filter(" + val + ", " + filters + ")"
-}
-
-function parseExpr(code, scopes, data) {
- var dataType = data.type
- var filters = data.filters || ""
- var exprId = scopes.map(function(el) {
- return String(el.$id).replace(rproxy, "$1")
- }) + code + dataType + filters
- var vars = getVariables(code).concat(),
- assigns = [],
- names = [],
- args = [],
- prefix = ""
- //args 是一个对象数组, names 是将要生成的求值函数的参数
- scopes = uniqSet(scopes)
- data.vars = []
- for (var i = 0, sn = scopes.length; i < sn; i++) {
- if (vars.length) {
- var name = "vm" + expose + "_" + i
- names.push(name)
- args.push(scopes[i])
- assigns.push.apply(assigns, addAssign(vars, scopes[i], name, data))
- }
- }
- if (!assigns.length && dataType === "duplex") {
- return
- }
- if (dataType !== "duplex" && (code.indexOf("||") > -1 || code.indexOf("&&") > -1)) {
- //https://github.com/RubyLouvre/avalon/issues/583
- data.vars.forEach(function(v) {
- var reg = new RegExp("\\b" + v + "(?:\\.\\w+|\\[\\w+\\])+", "ig")
- code = code.replace(reg, function(_) {
- var c = _.charAt(v.length)
- var r = IEVersion ? code.slice(arguments[1] + _.length) : RegExp.rightContext
- var method = /^\s*\(/.test(r)
- if (c === "." || c === "[" || method) {//比如v为aa,我们只匹配aa.bb,aa[cc],不匹配aaa.xxx
- var name = "var" + String(Math.random()).replace(/^0\./, "")
- if (method) {//array.size()
- var array = _.split(".")
- if (array.length > 2) {
- var last = array.pop()
- assigns.push(name + " = " + array.join("."))
- return name + "." + last
- } else {
- return _
- }
- }
- assigns.push(name + " = " + _)
- return name
- } else {
- return _
- }
- })
- })
- }
- //---------------args----------------
- data.args = args
- //---------------cache----------------
- var fn = cacheExprs[exprId] //直接从缓存,免得重复生成
- if (fn) {
- data.evaluator = fn
- return
- }
- var prefix = assigns.join(", ")
- if (prefix) {
- prefix = "var " + prefix
- }
- if (/\S/.test(filters)) { //文本绑定,双工绑定才有过滤器
- if (!/text|html/.test(data.type)) {
- throw Error("ms-" + data.type + "不支持过滤器")
- }
- code = "\nvar ret" + expose + " = " + code + ";\r\n"
- code += parseFilter("ret" + expose, filters)
- } else if (dataType === "duplex") { //双工绑定
- var _body = "'use strict';\nreturn function(vvv){\n\t" +
- prefix +
- ";\n\tif(!arguments.length){\n\t\treturn " +
- code +
- "\n\t}\n\t" + (!rduplex.test(code) ? vars.get : code) +
- "= vvv;\n} "
- try {
- fn = Function.apply(noop, names.concat(_body))
- data.evaluator = cacheExprs(exprId, fn)
- } catch (e) {
- log("debug: parse error," + e.message)
- }
- return
- } else if (dataType === "on") { //事件绑定
- if (code.indexOf("(") === -1) {
- code += ".call(this, $event)"
- } else {
- code = code.replace("(", ".call(this,")
- }
- names.push("$event")
- code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;")
- var lastIndex = code.lastIndexOf("\nreturn")
- var header = code.slice(0, lastIndex)
- var footer = code.slice(lastIndex)
- code = header + "\n" + footer
- } else { //其他绑定
- code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;")
- }
- try {
- fn = Function.apply(noop, names.concat("'use strict';\n" + prefix + code))
- data.evaluator = cacheExprs(exprId, fn)
- } catch (e) {
- log("debug: parse error," + e.message)
- } finally {
- vars = textBuffer = names = null //释放内存
- }
-}
-
-
-//parseExpr的智能引用代理
-
-function parseExprProxy(code, scopes, data, tokens, noregister) {
- if (Array.isArray(tokens)) {
- code = tokens.map(function(el) {
- return el.expr ? "(" + el.value + ")" : quote(el.value)
- }).join(" + ")
- }
- parseExpr(code, scopes, data)
- if (data.evaluator && !noregister) {
- data.handler = bindingExecutors[data.handlerName || data.type]
- //方便调试
- //这里非常重要,我们通过判定视图刷新函数的element是否在DOM树决定
- //将它移出订阅者列表
- registerSubscriber(data)
- }
-}
-avalon.parseExprProxy = parseExprProxy
-/*********************************************************************
- * 各种指令 *
- **********************************************************************/
-//ms-skip绑定已经在scanTag 方法中实现
-//ms-controller绑定已经在scanTag 方法中实现
-//ms-important绑定已经在scanTag 方法中实现
-var bools = "autofocus,autoplay,async,allowTransparency,checked,controls,declare,disabled,defer,defaultChecked,defaultSelected" +
- "contentEditable,isMap,loop,multiple,noHref,noResize,noShade,open,readOnly,selected"
-var boolMap = {}
-bools.replace(rword, function(name) {
- boolMap[name.toLowerCase()] = name
-})
-
-var propMap = {//属性名映射
- "accept-charset": "acceptCharset",
- "char": "ch",
- "charoff": "chOff",
- "class": "className",
- "for": "htmlFor",
- "http-equiv": "httpEquiv"
-}
-
-var anomaly = "accessKey,bgColor,cellPadding,cellSpacing,codeBase,codeType,colSpan," + "dateTime,defaultValue,frameBorder,longDesc,maxLength,marginWidth,marginHeight," + "rowSpan,tabIndex,useMap,vSpace,valueType,vAlign"
-anomaly.replace(rword, function(name) {
- propMap[name.toLowerCase()] = name
-})
-
-var rnoscripts = /<noscript.*?>(?:[\s\S]+?)<\/noscript>/img
-var rnoscriptText = /<noscript.*?>([\s\S]+?)<\/noscript>/im
-
-var getXHR = function() {
- return new (window.XMLHttpRequest || ActiveXObject)("Microsoft.XMLHTTP")
-}
-
-var cacheTmpls = avalon.templateCache = {}
-
-bindingHandlers.attr = function(data, vmodels) {
- var text = data.value.trim(),
- simple = true
- if (text.indexOf(openTag) > -1 && text.indexOf(closeTag) > 2) {
- simple = false
- if (rexpr.test(text) && RegExp.rightContext === "" && RegExp.leftContext === "") {
- simple = true
- text = RegExp.$1
- }
- }
- if (data.type === "include") {
- var elem = data.element
- data.includeRendered = getBindingCallback(elem, "data-include-rendered", vmodels)
- data.includeLoaded = getBindingCallback(elem, "data-include-loaded", vmodels)
- var outer = data.includeReplaced = !!avalon(elem).data("includeReplace")
- data.startInclude = DOC.createComment("ms-include")
- data.endInclude = DOC.createComment("ms-include-end")
- if (outer) {
- data.element = data.startInclude
- elem.parentNode.insertBefore(data.startInclude, elem)
- elem.parentNode.insertBefore(data.endInclude, elem.nextSibling)
- } else {
- elem.insertBefore(data.startInclude, elem.firstChild)
- elem.appendChild(data.endInclude)
- }
- }
- data.handlerName = "attr" //handleName用于处理多种绑定共用同一种bindingExecutor的情况
- parseExprProxy(text, vmodels, data, (simple ? 0 : scanExpr(data.value)))
-}
-
-bindingExecutors.attr = function(val, elem, data) {
- var method = data.type,
- attrName = data.param
- if (method === "css") {
- avalon(elem).css(attrName, val)
- } else if (method === "attr") {
- // ms-attr-class="xxx" vm.xxx="aaa bbb ccc"将元素的className设置为aaa bbb ccc
- // ms-attr-class="xxx" vm.xxx=false 清空元素的所有类名
- // ms-attr-name="yyy" vm.yyy="ooo" 为元素设置name属性
- if (boolMap[attrName]) {
- var bool = boolMap[attrName]
- if (typeof elem[bool] === "boolean") {
- // IE6-11不支持动态设置fieldset的disabled属性,IE11下样式是生效了,但无法阻止用户对其底下的input元素进行设值……
- return elem[bool] = !!val
- }
- }
- var toRemove = (val === false) || (val === null) || (val === void 0)
-
- if (!W3C && propMap[attrName]) { //旧式IE下需要进行名字映射
- attrName = propMap[attrName]
- }
- if (toRemove) {
- return elem.removeAttribute(attrName)
- }
- //SVG只能使用setAttribute(xxx, yyy), VML只能使用elem.xxx = yyy ,HTML的固有属性必须elem.xxx = yyy
- var isInnate = rsvg.test(elem) ? false : (DOC.namespaces && isVML(elem)) ? true : attrName in elem.cloneNode(false)
- if (isInnate) {
- elem[attrName] = val
- } else {
- elem.setAttribute(attrName, val)
- }
- } else if (method === "include" && val) {
- var vmodels = data.vmodels
- var rendered = data.includeRendered
- var loaded = data.includeLoaded
- var replace = data.includeReplaced
- var target = replace ? elem.parentNode : elem
- function scanTemplate(text) {
- if (loaded) {
- text = loaded.apply(target, [text].concat(vmodels))
- }
- if (rendered) {
- checkScan(target, function() {
- rendered.call(target)
- }, NaN)
- }
- while (true) {
- var node = data.startInclude.nextSibling
- if (node && node !== data.endInclude) {
- target.removeChild(node)
- } else {
- break
- }
- }
- var dom = avalon.parseHTML(text)
- var nodes = avalon.slice(dom.childNodes)
- target.insertBefore(dom, data.endInclude)
- scanNodeArray(nodes, vmodels)
- }
- if (data.param === "src") {
- if (cacheTmpls[val]) {
- avalon.nextTick(function() {
- scanTemplate(cacheTmpls[val])
- })
- } else {
- var xhr = getXHR()
- xhr.onreadystatechange = function() {
- if (xhr.readyState === 4) {
- var s = xhr.status
- if (s >= 200 && s < 300 || s === 304 || s === 1223) {
- scanTemplate(cacheTmpls[val] = xhr.responseText)
- }
- }
- }
- xhr.open("GET", val, true)
- if ("withCredentials" in xhr) {
- xhr.withCredentials = true
- }
- xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")
- xhr.send(null)
- }
- } else {
- //IE系列与够新的标准浏览器支持通过ID取得元素(firefox14+)
- //http://tjvantoll.com/2012/07/19/dom-element-references-as-global-variables/
- var el = val && val.nodeType === 1 ? val : DOC.getElementById(val)
- if (el) {
- if (el.tagName === "NOSCRIPT" && !(el.innerHTML || el.fixIE78)) { //IE7-8 innerText,innerHTML都无法取得其内容,IE6能取得其innerHTML
- var xhr = getXHR() //IE9-11与chrome的innerHTML会得到转义的内容,它们的innerText可以
- xhr.open("GET", location, false) //谢谢Nodejs 乱炖群 深圳-纯属虚构
- xhr.send(null)
- //http://bbs.csdn.net/topics/390349046?page=1#post-393492653
- var noscripts = DOC.getElementsByTagName("noscript")
- var array = (xhr.responseText || "").match(rnoscripts) || []
- var n = array.length
- for (var i = 0; i < n; i++) {
- var tag = noscripts[i]
- if (tag) { //IE6-8中noscript标签的innerHTML,innerText是只读的
- tag.style.display = "none" //http://haslayout.net/css/noscript-Ghost-Bug
- tag.fixIE78 = (array[i].match(rnoscriptText) || ["", "&nbsp;"])[1]
- }
- }
- }
- avalon.nextTick(function() {
- scanTemplate(el.fixIE78 || el.value || el.innerText || el.innerHTML)
- })
- }
- }
- } else {
- if (!root.hasAttribute && typeof val === "string" && (method === "src" || method === "href")) {
- val = val.replace(/&amp;/g, "&") //处理IE67自动转义的问题
- }
- elem[method] = val
- if (window.chrome && elem.tagName === "EMBED") {
- var parent = elem.parentNode //#525 chrome1-37下embed标签动态设置src不能发生请求
- var comment = document.createComment("ms-src")
- parent.replaceChild(comment, elem)
- parent.replaceChild(elem, comment)
- }
- }
-}
-
-//这几个指令都可以使用插值表达式,如ms-src="aaa/{{b}}/{{c}}.html"
-"title,alt,src,value,css,include,href".replace(rword, function(name) {
- bindingHandlers[name] = bindingHandlers.attr
-})
-//ms-include绑定已由ms-attr绑定实现
-
-//根据VM的属性值或表达式的值切换类名,ms-class="xxx yyy zzz:flag"
-//http://www.cnblogs.com/rubylouvre/archive/2012/12/17/2818540.html
-bindingHandlers["class"] = function(data, vmodels) {
- var oldStyle = data.param,
- text = data.value,
- rightExpr
- data.handlerName = "class"
- if (!oldStyle || isFinite(oldStyle)) {
- data.param = "" //去掉数字
- var noExpr = text.replace(rexprg, function(a) {
- return a.replace(/./g, "0")
- //return Math.pow(10, a.length - 1) //将插值表达式插入10的N-1次方来占位
- })
- var colonIndex = noExpr.indexOf(":") //取得第一个冒号的位置
- if (colonIndex === -1) { // 比如 ms-class="aaa bbb ccc" 的情况
- var className = text
- } else { // 比如 ms-class-1="ui-state-active:checked" 的情况
- className = text.slice(0, colonIndex)
- rightExpr = text.slice(colonIndex + 1)
- parseExpr(rightExpr, vmodels, data) //决定是添加还是删除
- if (!data.evaluator) {
- log("debug: ms-class '" + (rightExpr || "").trim() + "' 不存在于VM中")
- return false
- } else {
- data._evaluator = data.evaluator
- data._args = data.args
- }
- }
- var hasExpr = rexpr.test(className) //比如ms-class="width{{w}}"的情况
- if (!hasExpr) {
- data.immobileClass = className
- }
- parseExprProxy("", vmodels, data, (hasExpr ? scanExpr(className) : 0))
- } else {
- data.immobileClass = data.oldStyle = data.param
- parseExprProxy(text, vmodels, data)
- }
-}
-
-bindingExecutors ["class"] = function(val, elem, data) {
- var $elem = avalon(elem),
- method = data.type
- if (method === "class" && data.oldStyle) { //如果是旧风格
- $elem.toggleClass(data.oldStyle, !!val)
- } else {
- //如果存在冒号就有求值函数
- data.toggleClass = data._evaluator ? !!data._evaluator.apply(elem, data._args) : true
- data.newClass = data.immobileClass || val
- if (data.oldClass && data.newClass !== data.oldClass) {
- $elem.removeClass(data.oldClass)
- }
- data.oldClass = data.newClass
- switch (method) {
- case "class":
- $elem.toggleClass(data.newClass, data.toggleClass)
- break
- case "hover":
- case "active":
- if (!data.hasBindEvent) { //确保只绑定一次
- var activate = "mouseenter" //在移出移入时切换类名
- var abandon = "mouseleave"
- if (method === "active") { //在聚焦失焦中切换类名
- elem.tabIndex = elem.tabIndex || -1
- activate = "mousedown"
- abandon = "mouseup"
- var fn0 = $elem.bind("mouseleave", function() {
- data.toggleClass && $elem.removeClass(data.newClass)
- })
- }
- var fn1 = $elem.bind(activate, function() {
- data.toggleClass && $elem.addClass(data.newClass)
- })
- var fn2 = $elem.bind(abandon, function() {
- data.toggleClass && $elem.removeClass(data.newClass)
- })
- data.rollback = function() {
- $elem.unbind("mouseleave", fn0)
- $elem.unbind(activate, fn1)
- $elem.unbind(abandon, fn2)
- }
- data.hasBindEvent = true
- }
- break;
- }
- }
-}
-
-"hover,active".replace(rword, function(method) {
- bindingHandlers[method] = bindingHandlers["class"]
-})
-// bindingHandlers.data 定义在if.js
-bindingExecutors.data = function(val, elem, data) {
- var key = "data-" + data.param
- if (val && typeof val === "object") {
- elem[key] = val
- } else {
- elem.setAttribute(key, String(val))
- }
-}
-
-// bindingHandlers.text 定义在if.js
-bindingExecutors.text = function(val, elem) {
- val = val == null ? "" : val //不在页面上显示undefined null
- if (elem.nodeType === 3) { //绑定在文本节点上
- try { //IE对游离于DOM树外的节点赋值会报错
- elem.data = val
- } catch (e) {
- }
- } else { //绑定在特性节点上
- elem.textContent = val
- }
-}
-
-// bindingHandlers.html 定义在if.js
-bindingExecutors.html = function(val, elem, data) {
- val = val == null ? "" : val
- var isHtmlFilter = "group" in data
- var parent = isHtmlFilter ? elem.parentNode : elem
- if (!parent)
- return
- if (val.nodeType === 11) { //将val转换为文档碎片
- var fragment = val
- } else if (val.nodeType === 1 || val.item) {
- var nodes = val.nodeType === 1 ? val.childNodes : val.item ? val : []
- fragment = hyperspace.cloneNode(true)
- while (nodes[0]) {
- fragment.appendChild(nodes[0])
- }
- } else {
- fragment = avalon.parseHTML(val)
- }
- //插入占位符, 如果是过滤器,需要有节制地移除指定的数量,如果是html指令,直接清空
- var comment = DOC.createComment("ms-html")
- if (isHtmlFilter) {
- parent.insertBefore(comment, elem)
- var n = data.group, i = 1
- while (i < n) {
- var node = elem.nextSibling
- if (node) {
- parent.removeChild(node)
- i++
- }
- }
- parent.removeChild(elem)
- data.element = comment //防止被CG
- } else {
- avalon.clearHTML(parent).appendChild(comment)
- }
- if (isHtmlFilter) {
- data.group = fragment.childNodes.length || 1
- }
- var nodes = avalon.slice(fragment.childNodes)
- if (nodes[0]) {
- if (comment.parentNode)
- comment.parentNode.replaceChild(fragment, comment)
- if (isHtmlFilter) {
- data.element = nodes[0]
- }
- }
- scanNodeArray(nodes, data.vmodels)
-}
-
-bindingHandlers["if"] =
- bindingHandlers.data =
- bindingHandlers.text =
- bindingHandlers.html =
- function(data, vmodels) {
- parseExprProxy(data.value, vmodels, data)
- }
-
-bindingExecutors["if"] = function(val, elem, data) {
- if (val) { //插回DOM树
- if (elem.nodeType === 8) {
- elem.parentNode.replaceChild(data.template, elem)
- elem = data.element = data.template //这时可能为null
- }
- if (elem.getAttribute(data.name)) {
- elem.removeAttribute(data.name)
- scanAttr(elem, data.vmodels)
- }
- data.rollback = null
- } else { //移出DOM树,并用注释节点占据原位置
- if (elem.nodeType === 1) {
- var node = data.element = DOC.createComment("ms-if")
- elem.parentNode.replaceChild(node, elem)
- data.template = elem //元素节点
- ifGroup.appendChild(elem)
- data.rollback = function() {
- if (elem.parentNode === ifGroup) {
- ifGroup.removeChild(elem)
- }
- }
- }
- }
-}
-
-
-function parseDisplay(nodeName, val) {
- //用于取得此类标签的默认display值
- var key = "_" + nodeName
- if (!parseDisplay[key]) {
- var node = DOC.createElement(nodeName)
- root.appendChild(node)
- if (W3C) {
- val = getComputedStyle(node, null).display
- } else {
- val = node.currentStyle.display
- }
- root.removeChild(node)
- parseDisplay[key] = val
- }
- return parseDisplay[key]
-}
-
-avalon.parseDisplay = parseDisplay
-
-bindingHandlers.visible = function(data, vmodels) {
- var elem = avalon(data.element)
- var display = elem.css("display")
- if (display === "none") {
- var style = elem[0].style
- var has = /visibility/i.test(style.cssText)
- var visible = elem.css("visibility")
- style.display = ""
- style.visibility = "hidden"
- display = elem.css("display")
- if (display === "none") {
- display = parseDisplay(elem[0].nodeName)
- }
- style.visibility = has ? visible : ""
- }
- data.display = display
- parseExprProxy(data.value, vmodels, data)
-}
-
-bindingExecutors.visible = function(val, elem, data) {
- elem.style.display = val ? data.display : "none"
-}
-
-var rdash = /\(([^)]*)\)/
-bindingHandlers.on = function(data, vmodels) {
- var value = data.value
- var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10
- if (typeof bindingHandlers.on[eventType + "Hook"] === "function") {
- bindingHandlers.on[eventType + "Hook"](data)
- }
- if (value.indexOf("(") > 0 && value.indexOf(")") > -1) {
- var matched = (value.match(rdash) || ["", ""])[1].trim()
- if (matched === "" || matched === "$event") { // aaa() aaa($event)当成aaa处理
- value = value.replace(rdash, "")
- }
- }
- parseExprProxy(value, vmodels, data)
-}
-
-bindingExecutors.on = function(callback, elem, data) {
- data.type = "on"
- callback = function(e) {
- var fn = data.evaluator || noop
- return fn.apply(this, data.args.concat(e))
- }
- var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10
- if (eventType === "scan") {
- callback.call(elem, {
- type: eventType
- })
- } else if (typeof data.specialBind === "function") {
- data.specialBind(elem, callback)
- } else {
- var removeFn = avalon.bind(elem, eventType, callback)
- }
- data.rollback = function() {
- if (typeof data.specialUnbind === "function") {
- data.specialUnbind()
- } else {
- avalon.unbind(elem, eventType, removeFn)
- }
- }
-}
-
-
-bindingHandlers.widget = function(data, vmodels) {
- var args = data.value.match(rword)
- var elem = data.element
- var widget = args[0]
- var id = args[1]
- if (!id || id === "$") {//没有定义或为$时,取组件名+随机数
- id = generateID(widget)
- }
- var optName = args[2] || widget//没有定义,取组件名
- var constructor = avalon.ui[widget]
- if (typeof constructor === "function") { //ms-widget="tabs,tabsAAA,optname"
- vmodels = elem.vmodels || vmodels
- for (var i = 0, v; v = vmodels[i++]; ) {
- if (v.hasOwnProperty(optName) && typeof v[optName] === "object") {
- var vmOptions = v[optName]
- vmOptions = vmOptions.$model || vmOptions
- break
- }
- }
- if (vmOptions) {
- var wid = vmOptions[widget + "Id"]
- if (typeof wid === "string") {
- id = wid
- }
- }
- //抽取data-tooltip-text、data-tooltip-attr属性,组成一个配置对象
- var widgetData = avalon.getWidgetData(elem, widget)
- data.value = [widget, id, optName].join(",")
- data[widget + "Id"] = id
- data.evaluator = noop
- elem.msData["ms-widget-id"] = id
- var options = data[widget + "Options"] = avalon.mix({}, constructor.defaults, vmOptions || {}, widgetData)
- elem.removeAttribute("ms-widget")
- var vmodel = constructor(elem, data, vmodels) || {} //防止组件不返回VM
- if (vmodel.$id) {
- avalon.vmodels[id] = vmodel
- createSignalTower(elem, vmodel)
- if (vmodel.hasOwnProperty("$init")) {
- vmodel.$init(function() {
- avalon.scan(elem, [vmodel].concat(vmodels))
- if (typeof options.onInit === "function") {
- options.onInit.call(elem, vmodel, options, vmodels)
- }
- })
- }
- data.rollback = function() {
- try {
- vmodel.widgetElement = null
- vmodel.$remove()
- } catch (e) {
- }
- elem.msData = {}
- delete avalon.vmodels[vmodel.$id]
- }
- addSubscribers(data, widgetList)
- if (window.chrome) {
- elem.addEventListener("DOMNodeRemovedFromDocument", function() {
- setTimeout(removeSubscribers)
- })
- }
- } else {
- avalon.scan(elem, vmodels)
- }
- } else if (vmodels.length) { //如果该组件还没有加载,那么保存当前的vmodels
- elem.vmodels = vmodels
- }
-}
-var widgetList = []
-//不存在 bindingExecutors.widget
-//双工绑定
-var duplexBinding = bindingHandlers.duplex = function(data, vmodels) {
- var elem = data.element,
- hasCast
- parseExprProxy(data.value, vmodels, data, 0, 1)
-
- data.changed = getBindingCallback(elem, "data-duplex-changed", vmodels) || noop
- if (data.evaluator && data.args) {
- var params = []
- var casting = oneObject("string,number,boolean,checked")
- if (elem.type === "radio" && data.param === "") {
- data.param = "checked"
- }
- if (elem.msData) {
- elem.msData["ms-duplex"] = data.value
- }
- data.param.replace(/\w+/g, function(name) {
- if (/^(checkbox|radio)$/.test(elem.type) && /^(radio|checked)$/.test(name)) {
- if (name === "radio")
- log("ms-duplex-radio已经更名为ms-duplex-checked")
- name = "checked"
- data.isChecked = true
- }
- if (name === "bool") {
- name = "boolean"
- log("ms-duplex-bool已经更名为ms-duplex-boolean")
- } else if (name === "text") {
- name = "string"
- log("ms-duplex-text已经更名为ms-duplex-string")
- }
- if (casting[name]) {
- hasCast = true
- }
- avalon.Array.ensure(params, name)
- })
- if (!hasCast) {
- params.push("string")
- }
- data.param = params.join("-")
- data.bound = function(type, callback) {
- if (elem.addEventListener) {
- elem.addEventListener(type, callback, false)
- } else {
- elem.attachEvent("on" + type, callback)
- }
- var old = data.rollback
- data.rollback = function() {
- elem.avalonSetter = null
- avalon.unbind(elem, type, callback)
- old && old()
- }
- }
- for (var i in avalon.vmodels) {
- var v = avalon.vmodels[i]
- v.$fire("avalon-ms-duplex-init", data)
- }
- var cpipe = data.pipe || (data.pipe = pipe)
- cpipe(null, data, "init")
- var tagName = elem.tagName
- duplexBinding[tagName] && duplexBinding[tagName](elem, data.evaluator.apply(null, data.args), data)
- }
-}
-//不存在 bindingExecutors.duplex
-function fixNull(val) {
- return val == null ? "" : val
-}
-avalon.duplexHooks = {
- checked: {
- get: function(val, data) {
- return !data.element.oldValue
- }
- },
- string: {
- get: function(val) { //同步到VM
- return val
- },
- set: fixNull
- },
- "boolean": {
- get: function(val) {
- return val === "true"
- },
- set: fixNull
- },
- number: {
- get: function(val) {
- return isFinite(val) ? parseFloat(val) || 0 : val
- },
- set: fixNull
- }
-}
-
-function pipe(val, data, action, e) {
- data.param.replace(/\w+/g, function(name) {
- var hook = avalon.duplexHooks[name]
- if (hook && typeof hook[action] === "function") {
- val = hook[action](val, data)
- }
- })
- return val
-}
-
-var TimerID, ribbon = []
-function W3CFire(el, name, detail) {
- var event = DOC.createEvent("Events")
- event.initEvent(name, true, true)
- event.fireByAvalon = true//签名,标记事件是由avalon触发
- //event.isTrusted = false 设置这个opera会报错
- if (detail)
- event.detail = detail
- el.dispatchEvent(event)
-}
-
-
-avalon.tick = function(fn) {
- if (ribbon.push(fn) === 1) {
- TimerID = setInterval(ticker, 60)
- }
-}
-
-function ticker() {
- for (var n = ribbon.length - 1; n >= 0; n--) {
- var el = ribbon[n]
- if (el() === false) {
- ribbon.splice(n, 1)
- }
- }
- if (!ribbon.length) {
- clearInterval(TimerID)
- }
-}
-
-var watchValueInTimer = noop
-new function() {
- try {//#272 IE9-IE11, firefox
- var setters = {}
- var aproto = HTMLInputElement.prototype
- var bproto = HTMLTextAreaElement.prototype
- function newSetter(value) {
- if (avalon.contains(root, this)) {
- setters[this.tagName].call(this, value)
- if (this.avalonSetter) {
- this.avalonSetter()
- }
- }
- }
- var inputProto = HTMLInputElement.prototype
- Object.getOwnPropertyNames(inputProto) //故意引发IE6-8等浏览器报错
- setters["INPUT"] = Object.getOwnPropertyDescriptor(aproto, "value").set
- Object.defineProperty(aproto, "value", {
- set: newSetter
- })
- setters["TEXTAREA"] = Object.getOwnPropertyDescriptor(bproto, "value").set
- Object.defineProperty(bproto, "value", {
- set: newSetter
- })
- } catch (e) {
- watchValueInTimer = avalon.tick
- }
-}
-
-
-//处理radio, checkbox, text, textarea, password
-duplexBinding.INPUT = function(element, evaluator, data) {
- var type = element.type,
- bound = data.bound,
- $elem = avalon(element),
- composing = false
- function callback(value) {
- data.changed.call(this, value, data)
- }
- function compositionStart() {
- composing = true
- }
- function compositionEnd() {
- composing = false
- }
- //当value变化时改变model的值
- function updateVModel() {
- if (composing)//处理中文输入法在minlengh下引发的BUG
- return
- var val = element.oldValue = element.value //防止递归调用形成死循环
- var lastValue = data.pipe(val, data, "get")
- if ($elem.data("duplex-observe") !== false) {
- evaluator(lastValue)
- callback.call(element, lastValue)
- if ($elem.data("duplex-focus")) {
- avalon.nextTick(function() {
- element.focus()
- })
- }
- }
- }
- //当model变化时,它就会改变value的值
- data.handler = function() {
- var val = data.pipe(evaluator(), data, "set")
- if (val !== element.oldValue) {
- element.value = val
- }
- }
- if (data.isChecked || element.type === "radio") {
- updateVModel = function() {
- if ($elem.data("duplex-observe") !== false) {
- var lastValue = data.pipe(element.value, data, "get")
- evaluator(lastValue)
- callback.call(element, lastValue)
- }
- }
- data.handler = function() {
- var val = evaluator()
- var checked = data.isChecked ? !!val : val + "" === element.value
- element.checked = element.oldValue = checked
- }
- bound("click", updateVModel)
- } else if (type === "checkbox") {
- updateVModel = function() {
- if ($elem.data("duplex-observe") !== false) {
- var method = element.checked ? "ensure" : "remove"
- var array = evaluator()
- if (!Array.isArray(array)) {
- log("ms-duplex应用于checkbox上要对应一个数组")
- array = [array]
- }
- avalon.Array[method](array, data.pipe(element.value, data, "get"))
- callback.call(element, array)
- }
- }
- data.handler = function() {
- var array = [].concat(evaluator()) //强制转换为数组
- element.checked = array.indexOf(data.pipe(element.value, data, "get")) > -1
- }
- bound("change", updateVModel)
- } else {
- var events = element.getAttribute("data-duplex-event") || element.getAttribute("data-event") || "input"
- if (element.attributes["data-event"]) {
- log("data-event指令已经废弃,请改用data-duplex-event")
- }
- events.replace(rword, function(name) {
- switch (name) {
- case "input":
- bound("input", updateVModel)
- bound("DOMAutoComplete", updateVModel)
- if (!IEVersion) {
- bound("compositionstart", compositionStart)
- bound("compositionend", compositionEnd)
- }
- break
- default:
- bound(name, updateVModel)
- break
- }
- })
- }
-
- if (/text|password/.test(element.type)) {
- watchValueInTimer(function() {
- if (root.contains(element)) {
- if (element.value !== element.oldValue) {
- updateVModel()
- }
- } else if (!element.msRetain) {
- return false
- }
- })
- }
-
- element.avalonSetter = updateVModel
- element.oldValue = element.value
- registerSubscriber(data)
- callback.call(element, element.value)
-}
-duplexBinding.TEXTAREA = duplexBinding.INPUT
-duplexBinding.SELECT = function(element, evaluator, data) {
- var $elem = avalon(element)
- function updateVModel() {
- if ($elem.data("duplex-observe") !== false) {
- var val = $elem.val() //字符串或字符串数组
- if (Array.isArray(val)) {
- val = val.map(function(v) {
- return data.pipe(v, data, "get")
- })
- } else {
- val = data.pipe(val, data, "get")
- }
- if (val + "" !== element.oldValue) {
- evaluator(val)
- }
- data.changed.call(element, val, data)
- }
- }
- data.handler = function() {
- var val = evaluator()
- val = val && val.$model || val
- if (Array.isArray(val)) {
- if (!element.multiple) {
- log("ms-duplex在<select multiple=true>上要求对应一个数组")
- }
- } else {
- if (element.multiple) {
- log("ms-duplex在<select multiple=false>不能对应一个数组")
- }
- }
- //必须变成字符串后才能比较
- val = Array.isArray(val) ? val.map(String) : val + ""
- if (val + "" !== element.oldValue) {
- $elem.val(val)
- element.oldValue = val + ""
- }
- }
- data.bound("change", updateVModel)
- checkScan(element, function() {
- registerSubscriber(data)
- data.changed.call(element, evaluator(), data)
- }, NaN)
-}
-
-
-bindingHandlers.repeat = function(data, vmodels) {
- var type = data.type
- parseExprProxy(data.value, vmodels, data, 0, 1)
- data.proxies = []
- var freturn = false
- try {
- var $repeat = data.$repeat = data.evaluator.apply(0, data.args || [])
- var xtype = avalon.type($repeat)
- if (xtype !== "object" && xtype !== "array") {
- freturn = true
- avalon.log("warning:" + data.value + "对应类型不正确")
- }
- } catch (e) {
- freturn = true
- avalon.log("warning:" + data.value + "编译出错")
- }
-
- var arr = data.value.split(".") || []
- if (arr.length > 1) {
- arr.pop()
- var n = arr[0]
- for (var i = 0, v; v = vmodels[i++]; ) {
- if (v && v.hasOwnProperty(n)) {
- var events = v[n].$events || {}
- events[subscribers] = events[subscribers] || []
- events[subscribers].push(data)
- break
- }
- }
- }
- var elem = data.element
- elem.removeAttribute(data.name)
-
- data.sortedCallback = getBindingCallback(elem, "data-with-sorted", vmodels)
- data.renderedCallback = getBindingCallback(elem, "data-" + type + "-rendered", vmodels)
- var signature = generateID(type)
- var comment = data.element = DOC.createComment(signature + ":end")
- data.clone = DOC.createComment(signature)
- hyperspace.appendChild(comment)
-
- if (type === "each" || type === "with") {
- data.template = elem.innerHTML.trim()
- avalon.clearHTML(elem).appendChild(comment)
- } else {
- data.template = elem.outerHTML.trim()
- elem.parentNode.replaceChild(comment, elem)
- }
- data.template = avalon.parseHTML(data.template)
- data.rollback = function() {
- var elem = data.element
- if (!elem)
- return
- bindingExecutors.repeat.call(data, "clear")
- var parentNode = elem.parentNode
- var content = data.template
- var target = content.firstChild
- parentNode.replaceChild(content, elem)
- var start = data.$stamp
- start && start.parentNode && start.parentNode.removeChild(start)
- target = data.element = data.type === "repeat" ? target : parentNode
- }
- if (freturn) {
- return
- }
- data.handler = bindingExecutors.repeat
- data.$outer = {}
- var check0 = "$key"
- var check1 = "$val"
- if (Array.isArray($repeat)) {
- check0 = "$first"
- check1 = "$last"
- }
- for (var i = 0, p; p = vmodels[i++]; ) {
- if (p.hasOwnProperty(check0) && p.hasOwnProperty(check1)) {
- data.$outer = p
- break
- }
- }
- var $events = $repeat.$events
- var $list = ($events || {})[subscribers]
- if ($list && avalon.Array.ensure($list, data)) {
- addSubscribers(data, $list)
- }
- if (xtype === "object") {
- data.$with = true
- var pool = !$events ? {} : $events.$withProxyPool || ($events.$withProxyPool = {})
- data.handler("append", $repeat, pool)
- } else if ($repeat.length) {
- data.handler("add", 0, $repeat.length)
- }
-}
-
-bindingExecutors.repeat = function(method, pos, el) {
- if (method) {
- var data = this
- var end = data.element
- var parent = end.parentNode
- var proxies = data.proxies
- var transation = hyperspace.cloneNode(false)
- switch (method) {
- case "add": //在pos位置后添加el数组(pos为数字,el为数组)
- var n = pos + el
- var array = data.$repeat
- var last = array.length - 1
- var fragments = []
- var start = locateNode(data, pos)
- for (var i = pos; i < n; i++) {
- var proxy = eachProxyAgent(i, data)
- proxies.splice(i, 0, proxy)
- shimController(data, transation, proxy, fragments)
- }
- parent.insertBefore(transation, start)
- for (var i = 0, fragment; fragment = fragments[i++]; ) {
- scanNodeArray(fragment.nodes, fragment.vmodels)
- fragment.nodes = fragment.vmodels = null
- }
- break
- case "del": //将pos后的el个元素删掉(pos, el都是数字)
- start = proxies[pos].$stamp
- end = locateNode(data, pos + el)
- sweepNodes(start, end)
- var removed = proxies.splice(pos, el)
- recycleProxies(removed, "each")
- break
- case "clear":
- var check = data.$stamp || proxies[0]
- if (check) {
- start = check.$stamp || check
- sweepNodes(start, end)
- }
- recycleProxies(proxies, "each")
- break
- case "move":
- start = proxies[0].$stamp
- var signature = start.nodeValue
- var rooms = []
- var room = [], node
- sweepNodes(start, end, function() {
- room.unshift(this)
- if (this.nodeValue === signature) {
- rooms.unshift(room)
- room = []
- }
- })
- sortByIndex(proxies, pos)
- sortByIndex(rooms, pos)
- while (room = rooms.shift()) {
- while (node = room.shift()) {
- transation.appendChild(node)
- }
- }
- parent.insertBefore(transation, end)
- break
- case "index": //将proxies中的第pos个起的所有元素重新索引
- var last = proxies.length - 1
- for (; el = proxies[pos]; pos++) {
- el.$index = pos
- el.$first = pos === 0
- el.$last = pos === last
- }
- return
- case "set": //将proxies中的第pos个元素的VM设置为el(pos为数字,el任意)
- var proxy = proxies[pos]
- if (proxy) {
- notifySubscribers(proxy.$events.$index)
- }
- return
- case "append": //将pos的键值对从el中取出(pos为一个普通对象,el为预先生成好的代理VM对象池)
- var pool = el
- var keys = []
- var fragments = []
- for (var key in pos) { //得到所有键名
- if (pos.hasOwnProperty(key) && key !== "hasOwnProperty") {
- keys.push(key)
- }
- }
- if (data.sortedCallback) { //如果有回调,则让它们排序
- var keys2 = data.sortedCallback.call(parent, keys)
- if (keys2 && Array.isArray(keys2) && keys2.length) {
- keys = keys2
- }
- }
- for (var i = 0, key; key = keys[i++]; ) {
- if (key !== "hasOwnProperty") {
- if (!pool[key]) {
- pool[key] = withProxyAgent(key, data)
- }
- shimController(data, transation, pool[key], fragments)
- }
- }
- var comment = data.$stamp = data.clone
- parent.insertBefore(comment, end)
- parent.insertBefore(transation, end)
- for (var i = 0, fragment; fragment = fragments[i++]; ) {
- scanNodeArray(fragment.nodes, fragment.vmodels)
- fragment.nodes = fragment.vmodels = null
- }
- break
- }
- if (method === "clear")
- method = "del"
- var callback = data.renderedCallback || noop,
- args = arguments
- checkScan(parent, function() {
- callback.apply(parent, args)
- if (parent.oldValue && parent.tagName === "SELECT") { //fix #503
- avalon(parent).val(parent.oldValue.split(","))
- }
- }, NaN)
- }
-}
-
-"with,each".replace(rword, function(name) {
- bindingHandlers[name] = bindingHandlers.repeat
-})
-
-function shimController(data, transation, proxy, fragments) {
- var content = data.template.cloneNode(true)
- var nodes = avalon.slice(content.childNodes)
- if (proxy.$stamp) {
- content.insertBefore(proxy.$stamp, content.firstChild)
- }
- transation.appendChild(content)
- var nv = [proxy].concat(data.vmodels)
- var fragment = {
- nodes: nodes,
- vmodels: nv
- }
- fragments.push(fragment)
-}
-
-function locateNode(data, pos) {
- var proxy = data.proxies[pos]
- return proxy ? proxy.$stamp : data.element
-}
-
-function sweepNodes(start, end, callback) {
- while (true) {
- var node = end.previousSibling
- if (!node)
- break
- node.parentNode.removeChild(node)
- callback && callback.call(node)
- if (node === start) {
- break
- }
- }
-}
-
-// 为ms-each,ms-with, ms-repeat会创建一个代理VM,
-// 通过它们保持一个下上文,让用户能调用$index,$first,$last,$remove,$key,$val,$outer等属性与方法
-// 所有代理VM的产生,消费,收集,存放通过xxxProxyFactory,xxxProxyAgent, recycleProxies,xxxProxyPool实现
-var eachProxyPool = []
-var withProxyPool = []
-function eachProxyFactory(name) {
- var source = {
- $host: [],
- $outer: {},
- $stamp: 1,
- $index: 0,
- $first: false,
- $last: false,
- $remove: avalon.noop
- }
- source[name] = {
- get: function() {
- return this.$host[this.$index]
- },
- set: function(val) {
- this.$host.set(this.$index, val)
- }
- }
- var second = {
- $last: 1,
- $first: 1,
- $index: 1
- }
- var proxy = modelFactory(source, second)
- var e = proxy.$events
- e[name] = e.$first = e.$last = e.$index
- proxy.$id = generateID("$proxy$each")
- return proxy
-}
-
-function eachProxyAgent(index, data) {
- var param = data.param || "el", proxy
- for (var i = 0, n = eachProxyPool.length; i < n; i++) {
- var candidate = eachProxyPool[i]
- if (candidate && candidate.hasOwnProperty(param)) {
- proxy = candidate
- eachProxyPool.splice(i, 1)
- }
- }
- if (!proxy) {
- proxy = eachProxyFactory(param)
- }
- var host = data.$repeat
- var last = host.length - 1
- proxy.$index = index
- proxy.$first = index === 0
- proxy.$last = index === last
- proxy.$host = host
- proxy.$outer = data.$outer
- proxy.$stamp = data.clone.cloneNode(false)
- proxy.$remove = function() {
- return host.removeAt(proxy.$index)
- }
- return proxy
-}
-
-function withProxyFactory() {
- var proxy = modelFactory({
- $key: "",
- $outer: {},
- $host: {},
- $val: {
- get: function() {
- return this.$host[this.$key]
- },
- set: function(val) {
- this.$host[this.$key] = val
- }
- }
- }, {
- $val: 1
- })
- proxy.$id = generateID("$proxy$with")
- return proxy
-}
-
-function withProxyAgent(key, data) {
- var proxy = withProxyPool.pop()
- if (!proxy) {
- proxy = withProxyFactory()
- }
- var host = data.$repeat
- proxy.$key = key
- proxy.$host = host
- proxy.$outer = data.$outer
- if (host.$events) {
- proxy.$events.$val = host.$events[key]
- } else {
- proxy.$events = {}
- }
- return proxy
-}
-
-function recycleProxies(proxies, type) {
- var proxyPool = type === "each" ? eachProxyPool : withProxyPool
- avalon.each(proxies, function(key, proxy) {
- if (proxy.$events) {
- for (var i in proxy.$events) {
- if (Array.isArray(proxy.$events[i])) {
- proxy.$events[i].forEach(function(data) {
- if (typeof data === "object")
- disposeData(data)
- })
- proxy.$events[i].length = 0
- }
- }
- proxy.$host = proxy.$outer = {}
- if (proxyPool.unshift(proxy) > kernel.maxRepeatSize) {
- proxyPool.pop()
- }
- }
- })
- if (type === "each")
- proxies.length = 0
-}
-
-
-
-
-/*********************************************************************
- * 自带过滤器 *
- **********************************************************************/
-var rscripts = /<script[^>]*>([\S\s]*?)<\/script\s*>/gim
-var ron = /\s+(on[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g
-var ropen = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/ig
-var rsanitize = {
- a: /\b(href)\=("javascript[^"]*"|'javascript[^']*')/ig,
- img: /\b(src)\=("javascript[^"]*"|'javascript[^']*')/ig,
- form: /\b(action)\=("javascript[^"]*"|'javascript[^']*')/ig
-}
-var rsurrogate = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g
-var rnoalphanumeric = /([^\#-~| |!])/g;
-
-function numberFormat(number, decimals, dec_point, thousands_sep) {
- //form http://phpjs.org/functions/number_format/
- //number 必需,要格式化的数字
- //decimals 可选,规定多少个小数位。
- //dec_point 可选,规定用作小数点的字符串(默认为 . )。
- //thousands_sep 可选,规定用作千位分隔符的字符串(默认为 , ),如果设置了该参数,那么所有其他参数都是必需的。
- number = (number + '')
- .replace(/[^0-9+\-Ee.]/g, '')
- var n = !isFinite(+number) ? 0 : +number,
- prec = !isFinite(+decimals) ? 0 : Math.abs(decimals),
- sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep,
- dec = (typeof dec_point === 'undefined') ? '.' : dec_point,
- s = '',
- toFixedFix = function(n, prec) {
- var k = Math.pow(10, prec)
- return '' + (Math.round(n * k) / k)
- .toFixed(prec)
- }
- // Fix for IE parseFloat(0.55).toFixed(0) = 0;
- s = (prec ? toFixedFix(n, prec) : '' + Math.round(n))
- .split('.')
- if (s[0].length > 3) {
- s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep)
- }
- if ((s[1] || '')
- .length < prec) {
- s[1] = s[1] || ''
- s[1] += new Array(prec - s[1].length + 1)
- .join('0')
- }
- return s.join(dec)
-}
-
-
-var filters = avalon.filters = {
- uppercase: function(str) {
- return str.toUpperCase()
- },
- lowercase: function(str) {
- return str.toLowerCase()
- },
- truncate: function(str, length, truncation) {
- //length,新字符串长度,truncation,新字符串的结尾的字段,返回新字符串
- length = length || 30
- truncation = truncation === void(0) ? "..." : truncation
- return str.length > length ? str.slice(0, length - truncation.length) + truncation : String(str)
- },
- $filter: function(val) {
- for (var i = 1, n = arguments.length; i < n; i++) {
- var array = arguments[i]
- var fn = avalon.filters[array.shift()]
- if (typeof fn === "function") {
- var arr = [val].concat(array)
- val = fn.apply(null, arr)
- }
- }
- return val
- },
- camelize: camelize,
- //https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
- // <a href="javasc&NewLine;ript&colon;alert('XSS')">chrome</a>
- // <a href="data:text/html;base64, PGltZyBzcmM9eCBvbmVycm9yPWFsZXJ0KDEpPg==">chrome</a>
- // <a href="jav ascript:alert('XSS');">IE67chrome</a>
- // <a href="jav&#x09;ascript:alert('XSS');">IE67chrome</a>
- // <a href="jav&#x0A;ascript:alert('XSS');">IE67chrome</a>
- sanitize: function(str) {
- return str.replace(rscripts, "").replace(ropen, function(a, b) {
- var match = a.toLowerCase().match(/<(\w+)\s/)
- if (match) { //处理a标签的href属性,img标签的src属性,form标签的action属性
- var reg = rsanitize[match[1]]
- if (reg) {
- a = a.replace(reg, function(s, name, value) {
- var quote = value.charAt(0)
- return name + "=" + quote + "javascript:void(0)" + quote
- })
- }
- }
- return a.replace(ron, " ").replace(/\s+/g, " ") //移除onXXX事件
- })
- },
- escape: function(str) {
- //将字符串经过 str 转义得到适合在页面中显示的内容, 例如替换 < 为 &lt
- return String(str).
- replace(/&/g, '&amp;').
- replace(rsurrogate, function(value) {
- var hi = value.charCodeAt(0)
- var low = value.charCodeAt(1)
- return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';'
- }).
- replace(rnoalphanumeric, function(value) {
- return '&#' + value.charCodeAt(0) + ';'
- }).
- replace(/</g, '&lt;').
- replace(/>/g, '&gt;')
- },
- currency: function(amount, symbol, fractionSize) {
- return (symbol || "\uFFE5") + numberFormat(amount, isFinite(fractionSize) ? fractionSize: 2)
- },
- number: function(number, fractionSize) {
- return numberFormat(number, isFinite(fractionSize) ? fractionSize: 3 )
- }
-}
-/*
- 'yyyy': 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010)
- 'yy': 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)
- 'y': 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199)
- 'MMMM': Month in year (January-December)
- 'MMM': Month in year (Jan-Dec)
- 'MM': Month in year, padded (01-12)
- 'M': Month in year (1-12)
- 'dd': Day in month, padded (01-31)
- 'd': Day in month (1-31)
- 'EEEE': Day in Week,(Sunday-Saturday)
- 'EEE': Day in Week, (Sun-Sat)
- 'HH': Hour in day, padded (00-23)
- 'H': Hour in day (0-23)
- 'hh': Hour in am/pm, padded (01-12)
- 'h': Hour in am/pm, (1-12)
- 'mm': Minute in hour, padded (00-59)
- 'm': Minute in hour (0-59)
- 'ss': Second in minute, padded (00-59)
- 's': Second in minute (0-59)
- 'a': am/pm marker
- 'Z': 4 digit (+sign) representation of the timezone offset (-1200-+1200)
- format string can also be one of the following predefined localizable formats:
-
- 'medium': equivalent to 'MMM d, y h:mm:ss a' for en_US locale (e.g. Sep 3, 2010 12:05:08 pm)
- 'short': equivalent to 'M/d/yy h:mm a' for en_US locale (e.g. 9/3/10 12:05 pm)
- 'fullDate': equivalent to 'EEEE, MMMM d,y' for en_US locale (e.g. Friday, September 3, 2010)
- 'longDate': equivalent to 'MMMM d, y' for en_US locale (e.g. September 3, 2010
- 'mediumDate': equivalent to 'MMM d, y' for en_US locale (e.g. Sep 3, 2010)
- 'shortDate': equivalent to 'M/d/yy' for en_US locale (e.g. 9/3/10)
- 'mediumTime': equivalent to 'h:mm:ss a' for en_US locale (e.g. 12:05:08 pm)
- 'shortTime': equivalent to 'h:mm a' for en_US locale (e.g. 12:05 pm)
- */
-new function() {
- function toInt(str) {
- return parseInt(str, 10)
- }
-
- function padNumber(num, digits, trim) {
- var neg = ""
- if (num < 0) {
- neg = '-'
- num = -num
- }
- num = "" + num
- while (num.length < digits)
- num = "0" + num
- if (trim)
- num = num.substr(num.length - digits)
- return neg + num
- }
-
- function dateGetter(name, size, offset, trim) {
- return function(date) {
- var value = date["get" + name]()
- if (offset > 0 || value > -offset)
- value += offset
- if (value === 0 && offset === -12) {
- value = 12
- }
- return padNumber(value, size, trim)
- }
- }
-
- function dateStrGetter(name, shortForm) {
- return function(date, formats) {
- var value = date["get" + name]()
- var get = (shortForm ? ("SHORT" + name) : name).toUpperCase()
- return formats[get][value]
- }
- }
-
- function timeZoneGetter(date) {
- var zone = -1 * date.getTimezoneOffset()
- var paddedZone = (zone >= 0) ? "+" : ""
- paddedZone += padNumber(Math[zone > 0 ? "floor" : "ceil"](zone / 60), 2) + padNumber(Math.abs(zone % 60), 2)
- return paddedZone
- }
- //取得上午下午
-
- function ampmGetter(date, formats) {
- return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1]
- }
- var DATE_FORMATS = {
- yyyy: dateGetter("FullYear", 4),
- yy: dateGetter("FullYear", 2, 0, true),
- y: dateGetter("FullYear", 1),
- MMMM: dateStrGetter("Month"),
- MMM: dateStrGetter("Month", true),
- MM: dateGetter("Month", 2, 1),
- M: dateGetter("Month", 1, 1),
- dd: dateGetter("Date", 2),
- d: dateGetter("Date", 1),
- HH: dateGetter("Hours", 2),
- H: dateGetter("Hours", 1),
- hh: dateGetter("Hours", 2, -12),
- h: dateGetter("Hours", 1, -12),
- mm: dateGetter("Minutes", 2),
- m: dateGetter("Minutes", 1),
- ss: dateGetter("Seconds", 2),
- s: dateGetter("Seconds", 1),
- sss: dateGetter("Milliseconds", 3),
- EEEE: dateStrGetter("Day"),
- EEE: dateStrGetter("Day", true),
- a: ampmGetter,
- Z: timeZoneGetter
- }
- var DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,
- NUMBER_STRING = /^\d+$/
- var riso8601 = /^(\d{4})-?(\d+)-?(\d+)(?:T(\d+)(?::?(\d+)(?::?(\d+)(?:\.(\d+))?)?)?(Z|([+-])(\d+):?(\d+))?)?$/
- // 1 2 3 4 5 6 7 8 9 10 11
-
- function jsonStringToDate(string) {
- var match
- if (match = string.match(riso8601)) {
- var date = new Date(0),
- tzHour = 0,
- tzMin = 0,
- dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear,
- timeSetter = match[8] ? date.setUTCHours : date.setHours
- if (match[9]) {
- tzHour = toInt(match[9] + match[10])
- tzMin = toInt(match[9] + match[11])
- }
- dateSetter.call(date, toInt(match[1]), toInt(match[2]) - 1, toInt(match[3]))
- var h = toInt(match[4] || 0) - tzHour
- var m = toInt(match[5] || 0) - tzMin
- var s = toInt(match[6] || 0)
- var ms = Math.round(parseFloat('0.' + (match[7] || 0)) * 1000)
- timeSetter.call(date, h, m, s, ms)
- return date
- }
- return string
- }
- var rfixYMD = /^(\d+)\D(\d+)\D(\d+)/
- filters.date = function(date, format) {
- var locate = filters.date.locate,
- text = "",
- parts = [],
- fn, match
- format = format || "mediumDate"
- format = locate[format] || format
- if (typeof date === "string") {
- if (NUMBER_STRING.test(date)) {
- date = toInt(date)
- } else {
- var trimDate = date.trim()
- date = trimDate.replace(rfixYMD, function(a, b, c, d) {
- var array = d.length === 4 ? [d, b, c] : [b, c, d]
- return array.join("-")
- })
- date = jsonStringToDate(date)
- }
- date = new Date(date)
- }
- if (typeof date === "number") {
- date = new Date(date)
- }
- if (avalon.type(date) !== "date") {
- return
- }
- while (format) {
- match = DATE_FORMATS_SPLIT.exec(format)
- if (match) {
- parts = parts.concat(match.slice(1))
- format = parts.pop()
- } else {
- parts.push(format)
- format = null
- }
- }
- parts.forEach(function(value) {
- fn = DATE_FORMATS[value]
- text += fn ? fn(date, locate) : value.replace(/(^'|'$)/g, "").replace(/''/g, "'")
- })
- return text
- }
- var locate = {
- AMPMS: {
- 0: "上午",
- 1: "下午"
- },
- DAY: {
- 0: "星期日",
- 1: "星期一",
- 2: "星期二",
- 3: "星期三",
- 4: "星期四",
- 5: "星期五",
- 6: "星期六"
- },
- MONTH: {
- 0: "1月",
- 1: "2月",
- 2: "3月",
- 3: "4月",
- 4: "5月",
- 5: "6月",
- 6: "7月",
- 7: "8月",
- 8: "9月",
- 9: "10月",
- 10: "11月",
- 11: "12月"
- },
- SHORTDAY: {
- "0": "周日",
- "1": "周一",
- "2": "周二",
- "3": "周三",
- "4": "周四",
- "5": "周五",
- "6": "周六"
- },
- fullDate: "y年M月d日EEEE",
- longDate: "y年M月d日",
- medium: "yyyy-M-d H:mm:ss",
- mediumDate: "yyyy-M-d",
- mediumTime: "H:mm:ss",
- "short": "yy-M-d ah:mm",
- shortDate: "yy-M-d",
- shortTime: "ah:mm"
- }
- locate.SHORTMONTH = locate.MONTH
- filters.date.locate = locate
-}
-/*********************************************************************
- * AMD加载器 *
- **********************************************************************/
-var modules = avalon.modules = {
- "ready!": {
- exports: avalon
- },
- "avalon": {
- exports: avalon,
- state: 2
- }
-}
-
-new function() {
- var loadings = [] //正在加载中的模块列表
- var factorys = [] //储存需要绑定ID与factory对应关系的模块(标准浏览器下,先parse的script节点会先onload)
- var basepath
-
- function trimHashAndQuery(url) {
- return (url || "").replace(/[?#].*/, "")
- }
-
- var cur = getCurrentScript(true) //求得当前avalon.js 所在的JS文件的路径
- if (!cur) { //处理window safari的Error没有stack的问题
- cur = avalon.slice(DOC.scripts).pop().src
- }
- var url = trimHashAndQuery(cur)
- basepath = kernel.base = url.slice(0, url.lastIndexOf("/") + 1)
-
- function getCurrentScript(base) {
- // 参考 https://github.com/samyk/jiagra/blob/master/jiagra.js
- var stack
- try {
- a.b.c() //强制报错,以便捕获e.stack
- } catch (e) { //safari的错误对象只有line,sourceId,sourceURL
- stack = e.stack
- if (!stack && window.opera) {
- //opera 9没有e.stack,但有e.Backtrace,但不能直接取得,需要对e对象转字符串进行抽取
- stack = (String(e).match(/of linked script \S+/g) || []).join(" ")
- }
- }
- if (stack) {
- /**e.stack最后一行在所有支持的浏览器大致如下:
- *chrome23:
- * at http://113.93.50.63/data.js:4:1
- *firefox17:
- *@http://113.93.50.63/query.js:4
- *opera12:http://www.oldapps.com/opera.php?system=Windows_XP
- *@http://113.93.50.63/data.js:4
- *IE10:
- * at Global code (http://113.93.50.63/data.js:4:1)
- * //firefox4+ 可以用document.currentScript
- */
- stack = stack.split(/[@ ]/g).pop() //取得最后一行,最后一个空格或@之后的部分
- stack = stack[0] === "(" ? stack.slice(1, -1) : stack.replace(/\s/, "") //去掉换行符
- return stack.replace(/(:\d+)?:\d+$/i, "") //去掉行号与或许存在的出错字符起始位置
- }
- var nodes = (base ? DOC : head).getElementsByTagName("script") //只在head标签中寻找
- for (var i = nodes.length, node; node = nodes[--i]; ) {
- if ((base || node.className === subscribers) && node.readyState === "interactive") {
- return node.className = node.src
- }
- }
- }
-
- innerRequire = avalon.require = function(array, factory, parent) {
- if (!Array.isArray(array)) {
- avalon.error("require的第一个参数必须是依赖列数,类型为数组 " + array)
- }
- var args = [] // 放置所有依赖项的完整路径
- var deps = {} // args的另一种表现形式,为的是方便去重
- var dn = 0 //需要安装的模块数
- var cn = 0 // 已安装完的模块数
- var id = parent || "callback" + setTimeout("1")
- parent = parent || basepath
-
- array.forEach(function(el) {
- var url = loadResources(el, parent) //加载资源,并返回能加载资源的完整路径
- if (url) {
- dn++
- if (modules[url] && modules[url].state === 2) {
- cn++
- }
- if (!deps[url]) {
- args.push(url)
- deps[url] = "司徒正美" //去重
- }
- }
- })
- modules[id] = {//保存此模块的相关信息
- id: id,
- factory: factory,
- deps: deps,
- args: args,
- state: 1
- }
- if (dn === cn) { //如果需要安装的等于已安装好的
- fireFactory(id, args, factory) //安装到框架中
- } else {
- //放到检测列队中,等待checkDeps处理
- loadings.unshift(id)
- }
- checkDeps()
- }
-
- innerRequire.define = function(urlOrId, deps, factory) { //模块名,依赖列表,模块本身
- var args = aslice.call(arguments)
- if (typeof urlOrId === "string") {
- var id = args.shift()
- }
- if (typeof args[0] === "function") {
- args.unshift([])
- }
- //上线合并后能直接得到模块ID,否则寻找当前正在解析中的script节点的src作为模块ID
- //现在除了safari5,1-外,我们都能直接通过getCurrentScript一步到位得到当前执行的script节点,
- //safari可通过onload+delay闭包组合解决
- var url = modules[id] && modules[id].state >= 1 ? id : trimHashAndQuery(getCurrentScript())
- if (!modules[url] && id) {
- modules[url] = {
- id: url,
- factory: factory,
- state: 1
- }
- }
- factory = args[1]
- factory.id = id //用于调试
- factory.delay = function(d) {
- args.push(d)
- var isCycle = true
- try {
- isCycle = checkCycle(modules[d].deps, d)
- } catch (e) {
- }
- if (isCycle) {
- avalon.error(d + "模块与之前的模块存在循环依赖,请不要直接用script标签引入" + d + "模块")
- }
- delete factory.delay //释放内存
- innerRequire.apply(null, args) //0,1,2 --> 1,2,0
- }
- if (url) {
- factory.delay(url)
- } else { //先进先出
- factorys.push(factory)
- }
- }
- innerRequire.define.amd = modules
-
- function checkCycle(deps, nick) {
- //检测是否存在循环依赖
- for (var id in deps) {
- if (deps[id] === "司徒正美" && modules[id].state !== 2 && (id === nick || checkCycle(modules[id].deps, nick))) {
- return true
- }
- }
- }
-
- function checkDeps() {
- //检测此JS模块的依赖是否都已安装完毕,是则安装自身
- loop: for (var i = loadings.length, id; id = loadings[--i]; ) {
-
- var obj = modules[id],
- deps = obj.deps
- for (var key in deps) {
- if (ohasOwn.call(deps, key) && modules[key].state !== 2) {
- continue loop
- }
- }
- //如果deps是空对象或者其依赖的模块的状态都是2
- if (obj.state !== 2) {
- loadings.splice(i, 1) //必须先移除再安装,防止在IE下DOM树建完后手动刷新页面,会多次执行它
- fireFactory(obj.id, obj.args, obj.factory)
- checkDeps() //如果成功,则再执行一次,以防有些模块就差本模块没有安装好
- }
- }
- }
-
- function checkFail(node, onError, fuckIE) {
- var id = trimHashAndQuery(node.src) //检测是否死链
- node.onload = node.onreadystatechange = node.onerror = null
- if (onError || (fuckIE && !modules[id].state)) {
- setTimeout(function() {
- head.removeChild(node)
- node = null // 处理旧式IE下的循环引用问题
- })
- log("debug: 加载 " + id + " 失败" + onError + " " + (!modules[id].state))
- } else {
- return true
- }
- }
- var rdeuce = /\/\w+\/\.\./
-
- function loadResources(url, parent, ret, shim) {
- //1. 特别处理mass|ready标识符
- if (url === "ready!" || (modules[url] && modules[url].state === 2)) {
- return url
- }
- //2. 处理text! css! 等资源
- var plugin
- url = url.replace(/^\w+!/, function(a) {
- plugin = a.slice(0, -1)
- return ""
- })
- plugin = plugin || "js"
- plugin = plugins[plugin] || noop
- //3. 转化为完整路径
- if (typeof kernel.shim[url] === "object") {
- shim = kernel.shim[url]
- }
- url = url.split('/');
- //For each module name segment, see if there is a path
- //registered for it. Start with most specific name
- //and work up from it.
- for (var i = url.length, parentModule, parentPath; i > 0; i -= 1) {
- parentModule = url.slice(0, i).join('/');
-
- parentPath = kernel.paths[parentModule];
- if (parentPath) {
- //If an array, it means there are a few choices,
- //Choose the one that is desired
- if (Array.isArray(parentPath)) {
- parentPath = parentPath[0];
- }
- url.splice(0, i, parentPath);
- break;
- }
- }
- //Join the path parts together, then figure out if baseUrl is needed.
- url = url.join('/');
-
- //4. 补全路径
- if (/^(\w+)(\d)?:.*/.test(url)) {
- ret = url
- } else {
- parent = parent.substr(0, parent.lastIndexOf("/"))
- var tmp = url.charAt(0)
- if (tmp !== "." && tmp !== "/") { //相对于根路径
- ret = basepath + url
- } else if (url.slice(0, 2) === "./") { //相对于兄弟路径
- ret = parent + url.slice(1)
- } else if (url.slice(0, 2) === "..") { //相对于父路径
- ret = parent + "/" + url
- while (rdeuce.test(ret)) {
- ret = ret.replace(rdeuce, "")
- }
- } else if (tmp === "/") {
- ret = url //相对于根路径
- } else {
- avalon.error("不符合模块标识规则: " + url)
- }
- }
- //5. 补全扩展名
- url = trimHashAndQuery(ret)
- var ext = plugin.ext
- if (ext) {
- if (url.slice(0 - ext.length) !== ext) {
- ret += ext
- }
- }
- //6. 缓存处理
- if (kernel.nocache) {
- ret += (ret.indexOf("?") === -1 ? "?" : "&") + (new Date - 0)
- }
- return plugin(ret, shim)
- }
-
- function loadJS(url, id, callback) {
- //通过script节点加载目标模块
- var node = DOC.createElement("script")
- node.className = subscribers //让getCurrentScript只处理类名为subscribers的script节点
- node[W3C ? "onload" : "onreadystatechange"] = function() {
- if (W3C || /loaded|complete/i.test(node.readyState)) {
- //mass Framework会在_checkFail把它上面的回调清掉,尽可能释放回存,尽管DOM0事件写法在IE6下GC无望
- var factory = factorys.pop()
- factory && factory.delay(id)
- if (callback) {
- callback()
- }
- if (checkFail(node, false, !W3C)) {
- log("debug: 已成功加载 " + url)
- }
- }
- }
- node.onerror = function() {
- checkFail(node, true)
- }
- node.src = url //插入到head的第一个节点前,防止IE6下head标签没闭合前使用appendChild抛错
- head.insertBefore(node, head.firstChild) //chrome下第二个参数不能为null
- log("debug: 正准备加载 " + url) //更重要的是IE6下可以收窄getCurrentScript的寻找范围
- }
-
- function fireFactory(id, deps, factory) {
- for (var i = 0, array = [], d; d = deps[i++]; ) {
- array.push(modules[d].exports)
- }
- var module = Object(modules[id]),
- ret = factory.apply(window, array)
- module.state = 2
- if (ret !== void 0) {
- modules[id].exports = ret
- }
- return ret
- }
-
- plugins.js = function(url, shim) {
- var id = trimHashAndQuery(url)
- if (!modules[id]) { //如果之前没有加载过
- modules[id] = {
- id: id,
- exports: {}
- }
- if (shim) { //shim机制
- innerRequire(shim.deps || "", function() {
- loadJS(url, id, function() {
- modules[id].state = 2
- var s = shim.exports
- if (s && modules[id].exports === void 0) {
- modules[id].exports = typeof s === "function" ?
- s() : window[s]
- }
- innerRequire.checkDeps()
- })
- })
- } else {
- loadJS(url, id)
- }
- }
- return id
- }
- plugins.css = function(url) {
- var id = trimHashAndQuery(url).replace(/\W/g, "_") ////用于处理掉href中的hash与所有特殊符号
- if (!DOC.getElementById(id)) {
- var node = DOC.createElement("link")
- node.rel = "stylesheet"
- node.href = url
- node.id = id
- head.insertBefore(node, head.firstChild)
- }
- }
- plugins.css.ext = ".css"
- plugins.js.ext = ".js"
-
- plugins.text = function(url) {
- var xhr = getXHR()
- var id = trimHashAndQuery(url)
- modules[id] = {}
- xhr.onreadystatechange = function() {
- if (xhr.readyState === 4) {
- var status = xhr.status;
- if (status > 399 && status < 600) {
- avalon.error(url + " 对应资源不存在或没有开启 CORS")
- } else {
- modules[id].state = 2
- modules[id].exports = xhr.responseText
- innerRequire.checkDeps()
- }
- }
- }
- xhr.open("GET", url, true)
- if ("withCredentials" in xhr) {
- xhr.withCredentials = true
- }
- xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")
- xhr.send()
- return id
- }
-
- innerRequire.config = kernel
- innerRequire.checkDeps = checkDeps
-}
-
-/*********************************************************************
- * DOMReady *
- **********************************************************************/
-var readyList = []
-function fireReady() {
- if (innerRequire) {
- modules["ready!"].state = 2
- innerRequire.checkDeps()//隋性函数,防止IE9二次调用_checkDeps
- } else {
- readyList.forEach(function(a) {
- a(avalon)
- })
- }
- fireReady = noop //隋性函数,防止IE9二次调用_checkDeps
-}
-
-if (DOC.readyState === "complete") {
- setTimeout(fireReady) //如果在domReady之外加载
-} else {
- DOC.addEventListener("DOMContentLoaded", fireReady)
- window.addEventListener("load", fireReady)
-}
-avalon.ready = function(fn) {
- if (innerRequire) {
- innerRequire(["ready!"], fn)
- } else if (fireReady === noop) {
- fn(avalon)
- } else {
- readyList.push(fn)
- }
-}
-avalon.config({
- loader: true
-})
-avalon.ready(function() {
- avalon.scan(DOC.body)
-})
-
-// Register as a named AMD module, since avalon can be concatenated with other
-// files that may use define, but not via a proper concatenation script that
-// understands anonymous AMD modules. A named AMD is safest and most robust
-// way to register. Lowercase avalon is used because AMD module names are
-// derived from file names, and Avalon is normally delivered in a lowercase
-// file name. Do this after creating the global so that if an AMD module wants
-// to call noConflict to hide this version of avalon, it will work.
-
-// Note that for maximum portability, libraries that are not avalon should
-// declare themselves as anonymous modules, and avoid setting a global if an
-// AMD loader is present. avalon is a special case. For more information, see
-// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon
- if (typeof define === "function" && define.amd) {
- define("avalon", [], function() {
- return avalon
- })
- }
-// Map over avalon in case of overwrite
- var _avalon = window.avalon
- avalon.noConflict = function(deep) {
- if (deep && window.avalon === avalon) {
- window.avalon = avalon
- }
- return avalon
- }
-// Expose avalon and $ identifiers, even in AMD
-// and CommonJS for browser emulators
- if (noGlobal === void 0) {
- window.avalon = avalon
- }
- return avalon
-
-}));
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/daterangepicker-bs3.css b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/daterangepicker-bs3.css
deleted file mode 100644
index 8df7b075..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/daterangepicker-bs3.css
+++ /dev/null
@@ -1,319 +0,0 @@
-/*!
- * Stylesheet for the Date Range Picker, for use with Bootstrap 3.x
- *
- * Copyright 2013-2015 Dan Grossman ( http://www.dangrossman.info )
- * Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
- *
- * Built for http://www.improvely.com
- */
-
- .daterangepicker.dropdown-menu {
- max-width: none;
- z-index: 3000;
-}
-
-.daterangepicker.opensleft .ranges, .daterangepicker.opensleft .calendar {
- float: left;
- margin: 4px;
-}
-
-.daterangepicker.opensright .ranges, .daterangepicker.opensright .calendar,
-.daterangepicker.openscenter .ranges, .daterangepicker.openscenter .calendar {
- float: right;
- margin: 4px;
-}
-
-.daterangepicker.single .ranges, .daterangepicker.single .calendar {
- float: none;
-}
-
-.daterangepicker .ranges {
- width: 165px;
- text-align: left;
-}
-
-.daterangepicker .ranges .range_inputs>div {
- float: left;
-}
-
-.daterangepicker .ranges .range_inputs>div:nth-child(2) {
- padding-left: 11px;
-}
-
-.daterangepicker .calendar {
- display: none;
- max-width: 270px;
-}
-
-.daterangepicker.show-calendar .calendar {
- display: block;
-}
-
-.daterangepicker .calendar.single .calendar-date {
- border: none;
-}
-
-.daterangepicker .calendar th, .daterangepicker .calendar td {
- font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
- white-space: nowrap;
- text-align: center;
- min-width: 32px;
-}
-
-.daterangepicker .daterangepicker_start_input label,
-.daterangepicker .daterangepicker_end_input label {
- color: #333;
- display: block;
- font-size: 11px;
- font-weight: normal;
- height: 20px;
- line-height: 20px;
- margin-bottom: 2px;
- text-shadow: #fff 1px 1px 0px;
- text-transform: uppercase;
- width: 74px;
-}
-
-.daterangepicker .ranges input {
- font-size: 11px;
-}
-
-.daterangepicker .ranges .input-mini {
- border: 1px solid #ccc;
- border-radius: 4px;
- color: #555;
- display: block;
- font-size: 11px;
- height: 30px;
- line-height: 30px;
- vertical-align: middle;
- margin: 0 0 10px 0;
- padding: 0 6px;
- width: 77px;
-}
-
-.daterangepicker .ranges ul {
- list-style: none;
- margin: 0;
- padding: 0;
-}
-
-.daterangepicker .ranges li {
- font-size: 13px;
- background: #f5f5f5;
- border: 1px solid #f5f5f5;
- color: #08c;
- padding: 3px 12px;
- margin-bottom: 8px;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
- cursor: pointer;
-}
-
-.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {
- background: #08c;
- border: 1px solid #08c;
- color: #fff;
-}
-
-.daterangepicker .calendar-date {
- border: 1px solid #ddd;
- padding: 4px;
- border-radius: 4px;
- background: #fff;
-}
-
-.daterangepicker .calendar-time {
- text-align: center;
- margin: 8px auto 0 auto;
- line-height: 30px;
-}
-
-.daterangepicker {
- position: absolute;
- background: #fff;
- top: 100px;
- left: 20px;
- padding: 4px;
- margin-top: 1px;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
-}
-
-.daterangepicker.opensleft:before {
- position: absolute;
- top: -7px;
- right: 9px;
- display: inline-block;
- border-right: 7px solid transparent;
- border-bottom: 7px solid #ccc;
- border-left: 7px solid transparent;
- border-bottom-color: rgba(0, 0, 0, 0.2);
- content: '';
-}
-
-.daterangepicker.opensleft:after {
- position: absolute;
- top: -6px;
- right: 10px;
- display: inline-block;
- border-right: 6px solid transparent;
- border-bottom: 6px solid #fff;
- border-left: 6px solid transparent;
- content: '';
-}
-
-.daterangepicker.openscenter:before {
- position: absolute;
- top: -7px;
- left: 0;
- right: 0;
- width: 0;
- margin-left: auto;
- margin-right: auto;
- display: inline-block;
- border-right: 7px solid transparent;
- border-bottom: 7px solid #ccc;
- border-left: 7px solid transparent;
- border-bottom-color: rgba(0, 0, 0, 0.2);
- content: '';
-}
-
-.daterangepicker.openscenter:after {
- position: absolute;
- top: -6px;
- left: 0;
- right: 0;
- width: 0;
- margin-left: auto;
- margin-right: auto;
- display: inline-block;
- border-right: 6px solid transparent;
- border-bottom: 6px solid #fff;
- border-left: 6px solid transparent;
- content: '';
-}
-
-.daterangepicker.opensright:before {
- position: absolute;
- top: -7px;
- left: 9px;
- display: inline-block;
- border-right: 7px solid transparent;
- border-bottom: 7px solid #ccc;
- border-left: 7px solid transparent;
- border-bottom-color: rgba(0, 0, 0, 0.2);
- content: '';
-}
-
-.daterangepicker.opensright:after {
- position: absolute;
- top: -6px;
- left: 10px;
- display: inline-block;
- border-right: 6px solid transparent;
- border-bottom: 6px solid #fff;
- border-left: 6px solid transparent;
- content: '';
-}
-
-.daterangepicker table {
- width: 100%;
- margin: 0;
-}
-
-.daterangepicker td, .daterangepicker th {
- text-align: center;
- width: 20px;
- height: 20px;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- cursor: pointer;
- white-space: nowrap;
-}
-
-.daterangepicker td.off {
- color: #999;
-}
-
-.daterangepicker td.disabled, .daterangepicker option.disabled {
- color: #999;
-}
-
-.daterangepicker td.available:hover, .daterangepicker th.available:hover {
- background: #eee;
-}
-
-.daterangepicker td.in-range {
- background: #ebf4f8;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0;
-}
-
-.daterangepicker td.start-date {
- -webkit-border-radius: 4px 0 0 4px;
- -moz-border-radius: 4px 0 0 4px;
- border-radius: 4px 0 0 4px;
-}
-
-.daterangepicker td.end-date {
- -webkit-border-radius: 0 4px 4px 0;
- -moz-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
-}
-
-.daterangepicker td.start-date.end-date {
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
-}
-
-.daterangepicker td.active, .daterangepicker td.active:hover {
- background-color: #357ebd;
- border-color: #3071a9;
- color: #fff;
-}
-
-.daterangepicker td.week, .daterangepicker th.week {
- font-size: 80%;
- color: #ccc;
-}
-
-.daterangepicker select.monthselect, .daterangepicker select.yearselect {
- font-size: 12px;
- padding: 1px;
- height: auto;
- margin: 0;
- cursor: default;
-}
-
-.daterangepicker select.monthselect {
- margin-right: 2%;
- width: 56%;
-}
-
-.daterangepicker select.yearselect {
- width: 40%;
-}
-
-.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect {
- width: 50px;
- margin-bottom: 0;
-}
-
-.daterangepicker_start_input {
- float: left;
-}
-
-.daterangepicker_end_input {
- float: left;
- padding-left: 11px
-}
-
-.daterangepicker th.month {
- width: auto;
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/daterangepicker.js b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/daterangepicker.js
deleted file mode 100644
index e2bc86d7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/daterangepicker.js
+++ /dev/null
@@ -1,1257 +0,0 @@
-/**
-* @version: 1.3.17
-* @author: Dan Grossman http://www.dangrossman.info/
-* @date: 2014-11-25
-* @copyright: Copyright (c) 2012-2014 Dan Grossman. All rights reserved.
-* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
-* @website: http://www.improvely.com/
-*/
-
-(function(root, factory) {
-
- if (typeof define === 'function' && define.amd) {
- define(['moment', 'jquery', 'exports'], function(momentjs, $, exports) {
- root.daterangepicker = factory(root, exports, momentjs, $);
- });
-
- } else if (typeof exports !== 'undefined') {
- var momentjs = require('moment');
- var jQuery;
- try {
- jQuery = require('jquery');
- } catch (err) {
- jQuery = window.jQuery;
- if (!jQuery) throw new Error('jQuery dependency not found');
- }
-
- factory(root, exports, momentjs, jQuery);
-
- // Finally, as a browser global.
- } else {
- root.daterangepicker = factory(root, {}, root.moment, (root.jQuery || root.Zepto || root.ender || root.$));
- }
-
-}(this, function(root, daterangepicker, moment, $) {
-
- var DateRangePicker = function (element, options, cb) {
-
- // by default, the daterangepicker element is placed at the bottom of HTML body
- this.parentEl = 'body';
-
- //element that triggered the date range picker
- this.element = $(element);
-
- //tracks visible state
- this.isShowing = false;
-
- //create the picker HTML object
- var DRPTemplate = '<div class="daterangepicker dropdown-menu">' +
- '<div class="calendar first left"></div>' +
- '<div class="calendar second right"></div>' +
- '<div class="ranges">' +
- '<div class="range_inputs">' +
- '<div class="daterangepicker_start_input">' +
- '<label for="daterangepicker_start"></label>' +
- '<input class="input-mini" type="text" name="daterangepicker_start" value="" />' +
- '</div>' +
- '<div class="daterangepicker_end_input">' +
- '<label for="daterangepicker_end"></label>' +
- '<input class="input-mini" type="text" name="daterangepicker_end" value="" />' +
- '</div>' +
- '<button class="applyBtn" disabled="disabled"></button>&nbsp;' +
- '<button class="cancelBtn"></button>' +
- '</div>' +
- '</div>' +
- '</div>';
-
- //custom options
- if (typeof options !== 'object' || options === null)
- options = {};
-
- this.parentEl = (typeof options === 'object' && options.parentEl && $(options.parentEl).length) ? $(options.parentEl) : $(this.parentEl);
- this.container = $(DRPTemplate).appendTo(this.parentEl);
-
- this.setOptions(options, cb);
-
- //apply CSS classes and labels to buttons
- var c = this.container;
- $.each(this.buttonClasses, function (idx, val) {
- c.find('button').addClass(val);
- });
- this.container.find('.daterangepicker_start_input label').html(this.locale.fromLabel);
- this.container.find('.daterangepicker_end_input label').html(this.locale.toLabel);
- if (this.applyClass.length)
- this.container.find('.applyBtn').addClass(this.applyClass);
- if (this.cancelClass.length)
- this.container.find('.cancelBtn').addClass(this.cancelClass);
- this.container.find('.applyBtn').html(this.locale.applyLabel);
- this.container.find('.cancelBtn').html(this.locale.cancelLabel);
-
- //event listeners
-
- this.container.find('.calendar')
- .on('click.daterangepicker', '.prev', $.proxy(this.clickPrev, this))
- .on('click.daterangepicker', '.next', $.proxy(this.clickNext, this))
- .on('click.daterangepicker', 'td.available', $.proxy(this.clickDate, this))
- .on('mouseenter.daterangepicker', 'td.available', $.proxy(this.hoverDate, this))
- .on('mouseleave.daterangepicker', 'td.available', $.proxy(this.updateFormInputs, this))
- .on('change.daterangepicker', 'select.yearselect', $.proxy(this.updateMonthYear, this))
- .on('change.daterangepicker', 'select.monthselect', $.proxy(this.updateMonthYear, this))
- .on('change.daterangepicker', 'select.hourselect,select.minuteselect,select.secondselect,select.ampmselect', $.proxy(this.updateTime, this));
-
- this.container.find('.ranges')
- .on('click.daterangepicker', 'button.applyBtn', $.proxy(this.clickApply, this))
- .on('click.daterangepicker', 'button.cancelBtn', $.proxy(this.clickCancel, this))
- .on('click.daterangepicker', '.daterangepicker_start_input,.daterangepicker_end_input', $.proxy(this.showCalendars, this))
- .on('change.daterangepicker', '.daterangepicker_start_input,.daterangepicker_end_input', $.proxy(this.inputsChanged, this))
- .on('keydown.daterangepicker', '.daterangepicker_start_input,.daterangepicker_end_input', $.proxy(this.inputsKeydown, this))
- .on('click.daterangepicker', 'li', $.proxy(this.clickRange, this))
- .on('mouseenter.daterangepicker', 'li', $.proxy(this.enterRange, this))
- .on('mouseleave.daterangepicker', 'li', $.proxy(this.updateFormInputs, this));
-
- if (this.element.is('input')) {
- this.element.on({
- 'click.daterangepicker': $.proxy(this.show, this),
- 'focus.daterangepicker': $.proxy(this.show, this),
- 'keyup.daterangepicker': $.proxy(this.updateFromControl, this)
- });
- } else {
- this.element.on('click.daterangepicker', $.proxy(this.toggle, this));
- }
-
- };
-
- DateRangePicker.prototype = {
-
- constructor: DateRangePicker,
-
- setOptions: function(options, callback) {
-
- this.startDate = moment().startOf('day');
- this.endDate = moment().endOf('day');
- this.timeZone = moment().zone();
- this.minDate = false;
- this.maxDate = false;
- this.dateLimit = false;
-
- this.showDropdowns = false;
- this.showWeekNumbers = false;
- this.timePicker = false;
- this.timePickerSeconds = false;
- this.timePickerIncrement = 30;
- this.timePicker12Hour = true;
- this.singleDatePicker = false;
- this.ranges = {};
-
- this.opens = 'right';
- if (this.element.hasClass('pull-right'))
- this.opens = 'left';
-
- this.buttonClasses = ['btn', 'btn-small btn-sm'];
- this.applyClass = 'btn-success';
- this.cancelClass = 'btn-default';
-
- this.format = 'MM/DD/YYYY';
- this.separator = ' - ';
-
- this.locale = {
- applyLabel: 'Apply',
- cancelLabel: 'Cancel',
- fromLabel: 'From',
- toLabel: 'To',
- weekLabel: 'W',
- customRangeLabel: 'Custom Range',
- daysOfWeek: moment.weekdaysMin(),
- monthNames: moment.monthsShort(),
- firstDay: moment.localeData()._week.dow
- };
-
- this.cb = function () { };
-
- if (typeof options.format === 'string')
- this.format = options.format;
-
- if (typeof options.separator === 'string')
- this.separator = options.separator;
-
- if (typeof options.startDate === 'string')
- this.startDate = moment(options.startDate, this.format);
-
- if (typeof options.endDate === 'string')
- this.endDate = moment(options.endDate, this.format);
-
- if (typeof options.minDate === 'string')
- this.minDate = moment(options.minDate, this.format);
-
- if (typeof options.maxDate === 'string')
- this.maxDate = moment(options.maxDate, this.format);
-
- if (typeof options.startDate === 'object')
- this.startDate = moment(options.startDate);
-
- if (typeof options.endDate === 'object')
- this.endDate = moment(options.endDate);
-
- if (typeof options.minDate === 'object')
- this.minDate = moment(options.minDate);
-
- if (typeof options.maxDate === 'object')
- this.maxDate = moment(options.maxDate);
-
- if (typeof options.applyClass === 'string')
- this.applyClass = options.applyClass;
-
- if (typeof options.cancelClass === 'string')
- this.cancelClass = options.cancelClass;
-
- if (typeof options.dateLimit === 'object')
- this.dateLimit = options.dateLimit;
-
- if (typeof options.locale === 'object') {
-
- if (typeof options.locale.daysOfWeek === 'object') {
- // Create a copy of daysOfWeek to avoid modification of original
- // options object for reusability in multiple daterangepicker instances
- this.locale.daysOfWeek = options.locale.daysOfWeek.slice();
- }
-
- if (typeof options.locale.monthNames === 'object') {
- this.locale.monthNames = options.locale.monthNames.slice();
- }
-
- if (typeof options.locale.firstDay === 'number') {
- this.locale.firstDay = options.locale.firstDay;
- }
-
- if (typeof options.locale.applyLabel === 'string') {
- this.locale.applyLabel = options.locale.applyLabel;
- }
-
- if (typeof options.locale.cancelLabel === 'string') {
- this.locale.cancelLabel = options.locale.cancelLabel;
- }
-
- if (typeof options.locale.fromLabel === 'string') {
- this.locale.fromLabel = options.locale.fromLabel;
- }
-
- if (typeof options.locale.toLabel === 'string') {
- this.locale.toLabel = options.locale.toLabel;
- }
-
- if (typeof options.locale.weekLabel === 'string') {
- this.locale.weekLabel = options.locale.weekLabel;
- }
-
- if (typeof options.locale.customRangeLabel === 'string') {
- this.locale.customRangeLabel = options.locale.customRangeLabel;
- }
- }
-
- if (typeof options.opens === 'string')
- this.opens = options.opens;
-
- if (typeof options.showWeekNumbers === 'boolean') {
- this.showWeekNumbers = options.showWeekNumbers;
- }
-
- if (typeof options.buttonClasses === 'string') {
- this.buttonClasses = [options.buttonClasses];
- }
-
- if (typeof options.buttonClasses === 'object') {
- this.buttonClasses = options.buttonClasses;
- }
-
- if (typeof options.showDropdowns === 'boolean') {
- this.showDropdowns = options.showDropdowns;
- }
-
- if (typeof options.singleDatePicker === 'boolean') {
- this.singleDatePicker = options.singleDatePicker;
- if (this.singleDatePicker) {
- this.endDate = this.startDate.clone();
- }
- }
-
- if (typeof options.timePicker === 'boolean') {
- this.timePicker = options.timePicker;
- }
-
- if (typeof options.timePickerSeconds === 'boolean') {
- this.timePickerSeconds = options.timePickerSeconds;
- }
-
- if (typeof options.timePickerIncrement === 'number') {
- this.timePickerIncrement = options.timePickerIncrement;
- }
-
- if (typeof options.timePicker12Hour === 'boolean') {
- this.timePicker12Hour = options.timePicker12Hour;
- }
-
- // update day names order to firstDay
- if (this.locale.firstDay != 0) {
- var iterator = this.locale.firstDay;
- while (iterator > 0) {
- this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift());
- iterator--;
- }
- }
-
- var start, end, range;
-
- //if no start/end dates set, check if an input element contains initial values
- if (typeof options.startDate === 'undefined' && typeof options.endDate === 'undefined') {
- if ($(this.element).is('input[type=text]')) {
- var val = $(this.element).val(),
- split = val.split(this.separator);
-
- start = end = null;
-
- if (split.length == 2) {
- start = moment(split[0], this.format);
- end = moment(split[1], this.format);
- } else if (this.singleDatePicker && val !== "") {
- start = moment(val, this.format);
- end = moment(val, this.format);
- }
- if (start !== null && end !== null) {
- this.startDate = start;
- this.endDate = end;
- }
- }
- }
-
- // bind the time zone used to build the calendar to either the timeZone passed in through the options or the zone of the startDate (which will be the local time zone by default)
- if (typeof options.timeZone === 'string' || typeof options.timeZone === 'number') {
- this.timeZone = options.timeZone;
- this.startDate.zone(this.timeZone);
- this.endDate.zone(this.timeZone);
- } else {
- this.timeZone = moment(this.startDate).zone();
- }
-
- if (typeof options.ranges === 'object') {
- for (range in options.ranges) {
-
- if (typeof options.ranges[range][0] === 'string')
- start = moment(options.ranges[range][0], this.format);
- else
- start = moment(options.ranges[range][0]);
-
- if (typeof options.ranges[range][1] === 'string')
- end = moment(options.ranges[range][1], this.format);
- else
- end = moment(options.ranges[range][1]);
-
- // If we have a min/max date set, bound this range
- // to it, but only if it would otherwise fall
- // outside of the min/max.
- if (this.minDate && start.isBefore(this.minDate))
- start = moment(this.minDate);
-
- if (this.maxDate && end.isAfter(this.maxDate))
- end = moment(this.maxDate);
-
- // If the end of the range is before the minimum (if min is set) OR
- // the start of the range is after the max (also if set) don't display this
- // range option.
- if ((this.minDate && end.isBefore(this.minDate)) || (this.maxDate && start.isAfter(this.maxDate))) {
- continue;
- }
-
- this.ranges[range] = [start, end];
- }
-
- var list = '<ul>';
- for (range in this.ranges) {
- list += '<li>' + range + '</li>';
- }
- list += '<li>' + this.locale.customRangeLabel + '</li>';
- list += '</ul>';
- this.container.find('.ranges ul').remove();
- this.container.find('.ranges').prepend(list);
- }
-
- if (typeof callback === 'function') {
- this.cb = callback;
- }
-
- if (!this.timePicker) {
- this.startDate = this.startDate.startOf('day');
- this.endDate = this.endDate.endOf('day');
- }
-
- if (this.singleDatePicker) {
- this.opens = 'right';
- this.container.addClass('single');
- this.container.find('.calendar.right').show();
- this.container.find('.calendar.left').hide();
- if (!this.timePicker) {
- this.container.find('.ranges').hide();
- } else {
- this.container.find('.ranges .daterangepicker_start_input, .ranges .daterangepicker_end_input').hide();
- }
- if (!this.container.find('.calendar.right').hasClass('single'))
- this.container.find('.calendar.right').addClass('single');
- } else {
- this.container.removeClass('single');
- this.container.find('.calendar.right').removeClass('single');
- this.container.find('.ranges').show();
- }
-
- this.oldStartDate = this.startDate.clone();
- this.oldEndDate = this.endDate.clone();
- this.oldChosenLabel = this.chosenLabel;
-
- this.leftCalendar = {
- month: moment([this.startDate.year(), this.startDate.month(), 1, this.startDate.hour(), this.startDate.minute(), this.startDate.second()]),
- calendar: []
- };
-
- this.rightCalendar = {
- month: moment([this.endDate.year(), this.endDate.month(), 1, this.endDate.hour(), this.endDate.minute(), this.endDate.second()]),
- calendar: []
- };
-
- if (this.opens == 'right' || this.opens == 'center') {
- //swap calendar positions
- var first = this.container.find('.calendar.first');
- var second = this.container.find('.calendar.second');
-
- if (second.hasClass('single')) {
- second.removeClass('single');
- first.addClass('single');
- }
-
- first.removeClass('left').addClass('right');
- second.removeClass('right').addClass('left');
-
- if (this.singleDatePicker) {
- first.show();
- second.hide();
- }
- }
-
- if (typeof options.ranges === 'undefined' && !this.singleDatePicker) {
- this.container.addClass('show-calendar');
- }
-
- this.container.addClass('opens' + this.opens);
-
- this.updateView();
- this.updateCalendars();
-
- },
-
- setStartDate: function(startDate) {
- if (typeof startDate === 'string')
- this.startDate = moment(startDate, this.format).zone(this.timeZone);
-
- if (typeof startDate === 'object')
- this.startDate = moment(startDate);
-
- if (!this.timePicker)
- this.startDate = this.startDate.startOf('day');
-
- this.oldStartDate = this.startDate.clone();
-
- this.updateView();
- this.updateCalendars();
- this.updateInputText();
- },
-
- setEndDate: function(endDate) {
- if (typeof endDate === 'string')
- this.endDate = moment(endDate, this.format).zone(this.timeZone);
-
- if (typeof endDate === 'object')
- this.endDate = moment(endDate);
-
- if (!this.timePicker)
- this.endDate = this.endDate.endOf('day');
-
- this.oldEndDate = this.endDate.clone();
-
- this.updateView();
- this.updateCalendars();
- this.updateInputText();
- },
-
- updateView: function () {
- this.leftCalendar.month.month(this.startDate.month()).year(this.startDate.year()).hour(this.startDate.hour()).minute(this.startDate.minute());
- this.rightCalendar.month.month(this.endDate.month()).year(this.endDate.year()).hour(this.endDate.hour()).minute(this.endDate.minute());
- this.updateFormInputs();
- },
-
- updateFormInputs: function () {
- this.container.find('input[name=daterangepicker_start]').val(this.startDate.format(this.format));
- this.container.find('input[name=daterangepicker_end]').val(this.endDate.format(this.format));
-
- if (this.startDate.isSame(this.endDate) || this.startDate.isBefore(this.endDate)) {
- this.container.find('button.applyBtn').removeAttr('disabled');
- } else {
- this.container.find('button.applyBtn').attr('disabled', 'disabled');
- }
- },
-
- updateFromControl: function () {
- if (!this.element.is('input')) return;
- if (!this.element.val().length) return;
-
- var dateString = this.element.val().split(this.separator),
- start = null,
- end = null;
-
- if(dateString.length === 2) {
- start = moment(dateString[0], this.format).zone(this.timeZone);
- end = moment(dateString[1], this.format).zone(this.timeZone);
- }
-
- if (this.singleDatePicker || start === null || end === null) {
- start = moment(this.element.val(), this.format).zone(this.timeZone);
- end = start;
- }
-
- if (end.isBefore(start)) return;
-
- this.oldStartDate = this.startDate.clone();
- this.oldEndDate = this.endDate.clone();
-
- this.startDate = start;
- this.endDate = end;
-
- if (!this.startDate.isSame(this.oldStartDate) || !this.endDate.isSame(this.oldEndDate))
- this.notify();
-
- this.updateCalendars();
- },
-
- notify: function () {
- this.updateView();
- this.cb(this.startDate, this.endDate, this.chosenLabel);
- },
-
- move: function () {
- var parentOffset = { top: 0, left: 0 };
- var parentRightEdge = $(window).width();
- if (!this.parentEl.is('body')) {
- parentOffset = {
- top: this.parentEl.offset().top - this.parentEl.scrollTop(),
- left: this.parentEl.offset().left - this.parentEl.scrollLeft()
- };
- parentRightEdge = this.parentEl[0].clientWidth + this.parentEl.offset().left;
- }
-
- if (this.opens == 'left') {
- this.container.css({
- top: this.element.offset().top + this.element.outerHeight() - parentOffset.top,
- right: parentRightEdge - this.element.offset().left - this.element.outerWidth(),
- left: 'auto'
- });
- if (this.container.offset().left < 0) {
- this.container.css({
- right: 'auto',
- left: 9
- });
- }
- } else if (this.opens == 'center') {
- this.container.css({
- top: this.element.offset().top + this.element.outerHeight() - parentOffset.top,
- left: this.element.offset().left - parentOffset.left + this.element.outerWidth() / 2
- - this.container.outerWidth() / 2,
- right: 'auto'
- });
- if (this.container.offset().left < 0) {
- this.container.css({
- right: 'auto',
- left: 9
- });
- }
- } else {
- this.container.css({
- top: this.element.offset().top + this.element.outerHeight() - parentOffset.top,
- left: this.element.offset().left - parentOffset.left,
- right: 'auto'
- });
- if (this.container.offset().left + this.container.outerWidth() > $(window).width()) {
- this.container.css({
- left: 'auto',
- right: 0
- });
- }
- }
- },
-
- toggle: function (e) {
- if (this.element.hasClass('active')) {
- this.hide();
- } else {
- this.show();
- }
- },
-
- show: function (e) {
- if (this.isShowing) return;
-
- this.element.addClass('active');
- this.container.show();
- this.move();
-
- // Create a click proxy that is private to this instance of datepicker, for unbinding
- this._outsideClickProxy = $.proxy(function (e) { this.outsideClick(e); }, this);
- // Bind global datepicker mousedown for hiding and
- $(document)
- .on('mousedown.daterangepicker', this._outsideClickProxy)
- // also support mobile devices
- .on('touchend.daterangepicker', this._outsideClickProxy)
- // also explicitly play nice with Bootstrap dropdowns, which stopPropagation when clicking them
- .on('click.daterangepicker', '[data-toggle=dropdown]', this._outsideClickProxy)
- // and also close when focus changes to outside the picker (eg. tabbing between controls)
- .on('focusin.daterangepicker', this._outsideClickProxy);
-
- this.isShowing = true;
- this.element.trigger('show.daterangepicker', this);
- },
-
- outsideClick: function (e) {
- var target = $(e.target);
- // if the page is clicked anywhere except within the daterangerpicker/button
- // itself then call this.hide()
- if (
- // ie modal dialog fix
- e.type == "focusin" ||
- target.closest(this.element).length ||
- target.closest(this.container).length ||
- target.closest('.calendar-date').length
- ) return;
- this.hide();
- },
-
- hide: function (e) {
- if (!this.isShowing) return;
-
- $(document)
- .off('.daterangepicker');
-
- this.element.removeClass('active');
- this.container.hide();
-
- if (!this.startDate.isSame(this.oldStartDate) || !this.endDate.isSame(this.oldEndDate))
- this.notify();
-
- this.oldStartDate = this.startDate.clone();
- this.oldEndDate = this.endDate.clone();
-
- this.isShowing = false;
- this.element.trigger('hide.daterangepicker', this);
- },
-
- enterRange: function (e) {
- // mouse pointer has entered a range label
- var label = e.target.innerHTML;
- if (label == this.locale.customRangeLabel) {
- this.updateView();
- } else {
- var dates = this.ranges[label];
- this.container.find('input[name=daterangepicker_start]').val(dates[0].format(this.format));
- this.container.find('input[name=daterangepicker_end]').val(dates[1].format(this.format));
- }
- },
-
- showCalendars: function() {
- this.container.addClass('show-calendar');
- this.move();
- this.element.trigger('showCalendar.daterangepicker', this);
- },
-
- hideCalendars: function() {
- this.container.removeClass('show-calendar');
- this.element.trigger('hideCalendar.daterangepicker', this);
- },
-
- // when a date is typed into the start to end date textboxes
- inputsChanged: function (e) {
- var el = $(e.target);
- var date = moment(el.val(), this.format);
- if (!date.isValid()) return;
-
- var startDate, endDate;
- if (el.attr('name') === 'daterangepicker_start') {
- startDate = date;
- endDate = this.endDate;
- } else {
- startDate = this.startDate;
- endDate = date;
- }
- this.setCustomDates(startDate, endDate);
- },
-
- inputsKeydown: function(e) {
- if (e.keyCode === 13) {
- this.inputsChanged(e);
- this.notify();
- }
- },
-
- updateInputText: function() {
- if (this.element.is('input') && !this.singleDatePicker) {
- this.element.val(this.startDate.format(this.format) + this.separator + this.endDate.format(this.format));
- } else if (this.element.is('input')) {
- this.element.val(this.endDate.format(this.format));
- }
- },
-
- clickRange: function (e) {
- var label = e.target.innerHTML;
- this.chosenLabel = label;
- if (label == this.locale.customRangeLabel) {
- this.showCalendars();
- } else {
- var dates = this.ranges[label];
-
- this.startDate = dates[0];
- this.endDate = dates[1];
-
- if (!this.timePicker) {
- this.startDate.startOf('day');
- this.endDate.endOf('day');
- }
-
- this.leftCalendar.month.month(this.startDate.month()).year(this.startDate.year()).hour(this.startDate.hour()).minute(this.startDate.minute());
- this.rightCalendar.month.month(this.endDate.month()).year(this.endDate.year()).hour(this.endDate.hour()).minute(this.endDate.minute());
- this.updateCalendars();
-
- this.updateInputText();
-
- this.hideCalendars();
- this.hide();
- this.element.trigger('apply.daterangepicker', this);
- }
- },
-
- clickPrev: function (e) {
- var cal = $(e.target).parents('.calendar');
- if (cal.hasClass('left')) {
- this.leftCalendar.month.subtract(1, 'month');
- } else {
- this.rightCalendar.month.subtract(1, 'month');
- }
- this.updateCalendars();
- },
-
- clickNext: function (e) {
- var cal = $(e.target).parents('.calendar');
- if (cal.hasClass('left')) {
- this.leftCalendar.month.add(1, 'month');
- } else {
- this.rightCalendar.month.add(1, 'month');
- }
- this.updateCalendars();
- },
-
- hoverDate: function (e) {
- var title = $(e.target).attr('data-title');
- var row = title.substr(1, 1);
- var col = title.substr(3, 1);
- var cal = $(e.target).parents('.calendar');
-
- if (cal.hasClass('left')) {
- this.container.find('input[name=daterangepicker_start]').val(this.leftCalendar.calendar[row][col].format(this.format));
- } else {
- this.container.find('input[name=daterangepicker_end]').val(this.rightCalendar.calendar[row][col].format(this.format));
- }
- },
-
- setCustomDates: function(startDate, endDate) {
- this.chosenLabel = this.locale.customRangeLabel;
- if (startDate.isAfter(endDate)) {
- var difference = this.endDate.diff(this.startDate);
- endDate = moment(startDate).add(difference, 'ms');
- if (this.maxDate && endDate.isAfter(this.maxDate)) {
- endDate = this.maxDate;
- }
- }
- this.startDate = startDate;
- this.endDate = endDate;
-
- this.updateView();
- this.updateCalendars();
- },
-
- clickDate: function (e) {
- var title = $(e.target).attr('data-title');
- var row = title.substr(1, 1);
- var col = title.substr(3, 1);
- var cal = $(e.target).parents('.calendar');
-
- var startDate, endDate;
- if (cal.hasClass('left')) {
- startDate = this.leftCalendar.calendar[row][col];
- endDate = this.endDate;
- if (typeof this.dateLimit === 'object') {
- var maxDate = moment(startDate).add(this.dateLimit).startOf('day');
- if (endDate.isAfter(maxDate)) {
- endDate = maxDate;
- }
- }
- } else {
- startDate = this.startDate;
- endDate = this.rightCalendar.calendar[row][col];
- if (typeof this.dateLimit === 'object') {
- var minDate = moment(endDate).subtract(this.dateLimit).startOf('day');
- if (startDate.isBefore(minDate)) {
- startDate = minDate;
- }
- }
- }
-
- if (this.singleDatePicker && cal.hasClass('left')) {
- endDate = startDate.clone();
- } else if (this.singleDatePicker && cal.hasClass('right')) {
- startDate = endDate.clone();
- }
-
- cal.find('td').removeClass('active');
-
- $(e.target).addClass('active');
-
- this.setCustomDates(startDate, endDate);
-
- if (!this.timePicker)
- endDate.endOf('day');
-
- if (this.singleDatePicker && !this.timePicker)
- this.clickApply();
- },
-
- clickApply: function (e) {
- this.updateInputText();
- this.hide();
- this.element.trigger('apply.daterangepicker', this);
- },
-
- clickCancel: function (e) {
- this.startDate = this.oldStartDate;
- this.endDate = this.oldEndDate;
- this.chosenLabel = this.oldChosenLabel;
- this.updateView();
- this.updateCalendars();
- this.hide();
- this.element.trigger('cancel.daterangepicker', this);
- },
-
- updateMonthYear: function (e) {
- var isLeft = $(e.target).closest('.calendar').hasClass('left'),
- leftOrRight = isLeft ? 'left' : 'right',
- cal = this.container.find('.calendar.'+leftOrRight);
-
- // Month must be Number for new moment versions
- var month = parseInt(cal.find('.monthselect').val(), 10);
- var year = cal.find('.yearselect').val();
-
- this[leftOrRight+'Calendar'].month.month(month).year(year);
- this.updateCalendars();
- },
-
- updateTime: function(e) {
-
- var cal = $(e.target).closest('.calendar'),
- isLeft = cal.hasClass('left');
-
- var hour = parseInt(cal.find('.hourselect').val(), 10);
- var minute = parseInt(cal.find('.minuteselect').val(), 10);
- var second = 0;
-
- if (this.timePickerSeconds) {
- second = parseInt(cal.find('.secondselect').val(), 10);
- }
-
- if (this.timePicker12Hour) {
- var ampm = cal.find('.ampmselect').val();
- if (ampm === 'PM' && hour < 12)
- hour += 12;
- if (ampm === 'AM' && hour === 12)
- hour = 0;
- }
-
- if (isLeft) {
- var start = this.startDate.clone();
- start.hour(hour);
- start.minute(minute);
- start.second(second);
- this.startDate = start;
- this.leftCalendar.month.hour(hour).minute(minute).second(second);
- if (this.singleDatePicker)
- this.endDate = start.clone();
- } else {
- var end = this.endDate.clone();
- end.hour(hour);
- end.minute(minute);
- end.second(second);
- this.endDate = end;
- if (this.singleDatePicker)
- this.startDate = end.clone();
- this.rightCalendar.month.hour(hour).minute(minute).second(second);
- }
-
- this.updateView();
- this.updateCalendars();
- },
-
- updateCalendars: function () {
- this.leftCalendar.calendar = this.buildCalendar(this.leftCalendar.month.month(), this.leftCalendar.month.year(), this.leftCalendar.month.hour(), this.leftCalendar.month.minute(), this.leftCalendar.month.second(), 'left');
- this.rightCalendar.calendar = this.buildCalendar(this.rightCalendar.month.month(), this.rightCalendar.month.year(), this.rightCalendar.month.hour(), this.rightCalendar.month.minute(), this.rightCalendar.month.second(), 'right');
- this.container.find('.calendar.left').empty().html(this.renderCalendar(this.leftCalendar.calendar, this.startDate, this.minDate, this.maxDate, 'left'));
- this.container.find('.calendar.right').empty().html(this.renderCalendar(this.rightCalendar.calendar, this.endDate, this.singleDatePicker ? this.minDate : this.startDate, this.maxDate, 'right'));
-
- this.container.find('.ranges li').removeClass('active');
- var customRange = true;
- var i = 0;
- for (var range in this.ranges) {
- if (this.timePicker) {
- if (this.startDate.isSame(this.ranges[range][0]) && this.endDate.isSame(this.ranges[range][1])) {
- customRange = false;
- this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')')
- .addClass('active').html();
- }
- } else {
- //ignore times when comparing dates if time picker is not enabled
- if (this.startDate.format('YYYY-MM-DD') == this.ranges[range][0].format('YYYY-MM-DD') && this.endDate.format('YYYY-MM-DD') == this.ranges[range][1].format('YYYY-MM-DD')) {
- customRange = false;
- this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')')
- .addClass('active').html();
- }
- }
- i++;
- }
- if (customRange) {
- this.chosenLabel = this.container.find('.ranges li:last').addClass('active').html();
- this.showCalendars();
- }
- },
-
- buildCalendar: function (month, year, hour, minute, second, side) {
- var daysInMonth = moment([year, month]).daysInMonth();
- var firstDay = moment([year, month, 1]);
- var lastDay = moment([year, month, daysInMonth]);
- var lastMonth = moment(firstDay).subtract(1, 'month').month();
- var lastYear = moment(firstDay).subtract(1, 'month').year();
-
- var daysInLastMonth = moment([lastYear, lastMonth]).daysInMonth();
-
- var dayOfWeek = firstDay.day();
-
- var i;
-
- //initialize a 6 rows x 7 columns array for the calendar
- var calendar = [];
- calendar.firstDay = firstDay;
- calendar.lastDay = lastDay;
-
- for (i = 0; i < 6; i++) {
- calendar[i] = [];
- }
-
- //populate the calendar with date objects
- var startDay = daysInLastMonth - dayOfWeek + this.locale.firstDay + 1;
- if (startDay > daysInLastMonth)
- startDay -= 7;
-
- if (dayOfWeek == this.locale.firstDay)
- startDay = daysInLastMonth - 6;
-
- var curDate = moment([lastYear, lastMonth, startDay, 12, minute, second]).zone(this.timeZone);
-
- var col, row;
- for (i = 0, col = 0, row = 0; i < 42; i++, col++, curDate = moment(curDate).add(24, 'hour')) {
- if (i > 0 && col % 7 === 0) {
- col = 0;
- row++;
- }
- calendar[row][col] = curDate.clone().hour(hour);
- curDate.hour(12);
-
- if (this.minDate && calendar[row][col].format('YYYY-MM-DD') == this.minDate.format('YYYY-MM-DD') && calendar[row][col].isBefore(this.minDate) && side == 'left') {
- calendar[row][col] = this.minDate.clone();
- }
-
- if (this.maxDate && calendar[row][col].format('YYYY-MM-DD') == this.maxDate.format('YYYY-MM-DD') && calendar[row][col].isAfter(this.maxDate) && side == 'right') {
- calendar[row][col] = this.maxDate.clone();
- }
-
- }
-
- return calendar;
- },
-
- renderDropdowns: function (selected, minDate, maxDate) {
- var currentMonth = selected.month();
- var currentYear = selected.year();
- var maxYear = (maxDate && maxDate.year()) || (currentYear + 5);
- var minYear = (minDate && minDate.year()) || (currentYear - 50);
-
- var monthHtml = '<select class="monthselect">';
- var inMinYear = currentYear == minYear;
- var inMaxYear = currentYear == maxYear;
-
- for (var m = 0; m < 12; m++) {
- if ((!inMinYear || m >= minDate.month()) && (!inMaxYear || m <= maxDate.month())) {
- monthHtml += "<option value='" + m + "'" +
- (m === currentMonth ? " selected='selected'" : "") +
- ">" + this.locale.monthNames[m] + "</option>";
- }
- }
- monthHtml += "</select>";
-
- var yearHtml = '<select class="yearselect">';
-
- for (var y = minYear; y <= maxYear; y++) {
- yearHtml += '<option value="' + y + '"' +
- (y === currentYear ? ' selected="selected"' : '') +
- '>' + y + '</option>';
- }
-
- yearHtml += '</select>';
-
- return monthHtml + yearHtml;
- },
-
- renderCalendar: function (calendar, selected, minDate, maxDate, side) {
-
- var html = '<div class="calendar-date">';
- html += '<table class="table-condensed">';
- html += '<thead>';
- html += '<tr>';
-
- // add empty cell for week number
- if (this.showWeekNumbers)
- html += '<th></th>';
-
- if (!minDate || minDate.isBefore(calendar.firstDay)) {
- html += '<th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i></th>';
- } else {
- html += '<th></th>';
- }
-
- var dateHtml = this.locale.monthNames[calendar[1][1].month()] + calendar[1][1].format(" YYYY");
-
- if (this.showDropdowns) {
- dateHtml = this.renderDropdowns(calendar[1][1], minDate, maxDate);
- }
-
- html += '<th colspan="5" class="month">' + dateHtml + '</th>';
- if (!maxDate || maxDate.isAfter(calendar.lastDay)) {
- html += '<th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i></th>';
- } else {
- html += '<th></th>';
- }
-
- html += '</tr>';
- html += '<tr>';
-
- // add week number label
- if (this.showWeekNumbers)
- html += '<th class="week">' + this.locale.weekLabel + '</th>';
-
- $.each(this.locale.daysOfWeek, function (index, dayOfWeek) {
- html += '<th>' + dayOfWeek + '</th>';
- });
-
- html += '</tr>';
- html += '</thead>';
- html += '<tbody>';
-
- for (var row = 0; row < 6; row++) {
- html += '<tr>';
-
- // add week number
- if (this.showWeekNumbers)
- html += '<td class="week">' + calendar[row][0].week() + '</td>';
-
- for (var col = 0; col < 7; col++) {
- var cname = 'available ';
- cname += (calendar[row][col].month() == calendar[1][1].month()) ? '' : 'off';
-
- if ((minDate && calendar[row][col].isBefore(minDate, 'day')) || (maxDate && calendar[row][col].isAfter(maxDate, 'day'))) {
- cname = ' off disabled ';
- } else if (calendar[row][col].format('YYYY-MM-DD') == selected.format('YYYY-MM-DD')) {
- cname += ' active ';
- if (calendar[row][col].format('YYYY-MM-DD') == this.startDate.format('YYYY-MM-DD')) {
- cname += ' start-date ';
- }
- if (calendar[row][col].format('YYYY-MM-DD') == this.endDate.format('YYYY-MM-DD')) {
- cname += ' end-date ';
- }
- } else if (calendar[row][col] >= this.startDate && calendar[row][col] <= this.endDate) {
- cname += ' in-range ';
- if (calendar[row][col].isSame(this.startDate)) { cname += ' start-date '; }
- if (calendar[row][col].isSame(this.endDate)) { cname += ' end-date '; }
- }
-
- var title = 'r' + row + 'c' + col;
- html += '<td class="' + cname.replace(/\s+/g, ' ').replace(/^\s?(.*?)\s?$/, '$1') + '" data-title="' + title + '">' + calendar[row][col].date() + '</td>';
- }
- html += '</tr>';
- }
-
- html += '</tbody>';
- html += '</table>';
- html += '</div>';
-
- var i;
- if (this.timePicker) {
-
- html += '<div class="calendar-time">';
- html += '<select class="hourselect">';
-
- // Disallow selections before the minDate or after the maxDate
- var min_hour = 0;
- var max_hour = 23;
-
- if (minDate && (side == 'left' || this.singleDatePicker) && selected.format('YYYY-MM-DD') == minDate.format('YYYY-MM-DD')) {
- min_hour = minDate.hour();
- if (selected.hour() < min_hour)
- selected.hour(min_hour);
- if (this.timePicker12Hour && min_hour >= 12 && selected.hour() >= 12)
- min_hour -= 12;
- if (this.timePicker12Hour && min_hour == 12)
- min_hour = 1;
- }
-
- if (maxDate && (side == 'right' || this.singleDatePicker) && selected.format('YYYY-MM-DD') == maxDate.format('YYYY-MM-DD')) {
- max_hour = maxDate.hour();
- if (selected.hour() > max_hour)
- selected.hour(max_hour);
- if (this.timePicker12Hour && max_hour >= 12 && selected.hour() >= 12)
- max_hour -= 12;
- }
-
- var start = 0;
- var end = 23;
- var selected_hour = selected.hour();
- if (this.timePicker12Hour) {
- start = 1;
- end = 12;
- if (selected_hour >= 12)
- selected_hour -= 12;
- if (selected_hour === 0)
- selected_hour = 12;
- }
-
- for (i = start; i <= end; i++) {
-
- if (i == selected_hour) {
- html += '<option value="' + i + '" selected="selected">' + i + '</option>';
- } else if (i < min_hour || i > max_hour) {
- html += '<option value="' + i + '" disabled="disabled" class="disabled">' + i + '</option>';
- } else {
- html += '<option value="' + i + '">' + i + '</option>';
- }
- }
-
- html += '</select> : ';
-
- html += '<select class="minuteselect">';
-
- // Disallow selections before the minDate or after the maxDate
- var min_minute = 0;
- var max_minute = 59;
-
- if (minDate && (side == 'left' || this.singleDatePicker) && selected.format('YYYY-MM-DD h A') == minDate.format('YYYY-MM-DD h A')) {
- min_minute = minDate.minute();
- if (selected.minute() < min_minute)
- selected.minute(min_minute);
- }
-
- if (maxDate && (side == 'right' || this.singleDatePicker) && selected.format('YYYY-MM-DD h A') == maxDate.format('YYYY-MM-DD h A')) {
- max_minute = maxDate.minute();
- if (selected.minute() > max_minute)
- selected.minute(max_minute);
- }
-
- for (i = 0; i < 60; i += this.timePickerIncrement) {
- var num = i;
- if (num < 10)
- num = '0' + num;
- if (i == selected.minute()) {
- html += '<option value="' + i + '" selected="selected">' + num + '</option>';
- } else if (i < min_minute || i > max_minute) {
- html += '<option value="' + i + '" disabled="disabled" class="disabled">' + num + '</option>';
- } else {
- html += '<option value="' + i + '">' + num + '</option>';
- }
- }
-
- html += '</select> ';
-
- if (this.timePickerSeconds) {
- html += ': <select class="secondselect">';
-
- for (i = 0; i < 60; i += this.timePickerIncrement) {
- var num = i;
- if (num < 10)
- num = '0' + num;
- if (i == selected.second()) {
- html += '<option value="' + i + '" selected="selected">' + num + '</option>';
- } else {
- html += '<option value="' + i + '">' + num + '</option>';
- }
- }
-
- html += '</select>';
- }
-
- if (this.timePicker12Hour) {
- html += '<select class="ampmselect">';
-
- // Disallow selection before the minDate or after the maxDate
- var am_html = '';
- var pm_html = '';
-
- if (minDate && (side == 'left' || this.singleDatePicker) && selected.format('YYYY-MM-DD') == minDate.format('YYYY-MM-DD') && minDate.hour() >= 12) {
- am_html = ' disabled="disabled" class="disabled"';
- }
-
- if (maxDate && (side == 'right' || this.singleDatePicker) && selected.format('YYYY-MM-DD') == maxDate.format('YYYY-MM-DD') && maxDate.hour() < 12) {
- pm_html = ' disabled="disabled" class="disabled"';
- }
-
- if (selected.hour() >= 12) {
- html += '<option value="AM"' + am_html + '>AM</option><option value="PM" selected="selected"' + pm_html + '>PM</option>';
- } else {
- html += '<option value="AM" selected="selected"' + am_html + '>AM</option><option value="PM"' + pm_html + '>PM</option>';
- }
- html += '</select>';
- }
-
- html += '</div>';
-
- }
-
- return html;
-
- },
-
- remove: function() {
-
- this.container.remove();
- this.element.off('.daterangepicker');
- this.element.removeData('daterangepicker');
-
- }
-
- };
-
- $.fn.daterangepicker = function (options, cb) {
- this.each(function () {
- var el = $(this);
- if (el.data('daterangepicker'))
- el.data('daterangepicker').remove();
- el.data('daterangepicker', new DateRangePicker(el, options, cb));
- });
- return this;
- };
-
-}));
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/moment.js b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/moment.js
deleted file mode 100644
index 6d94b173..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/moment.js
+++ /dev/null
@@ -1,2808 +0,0 @@
-//! moment.js
-//! version : 2.8.1
-//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
-//! license : MIT
-//! momentjs.com
-
-(function (undefined) {
- /************************************
- Constants
- ************************************/
-
- var moment,
- VERSION = '2.8.1',
- // the global-scope this is NOT the global object in Node.js
- globalScope = typeof global !== 'undefined' ? global : this,
- oldGlobalMoment,
- round = Math.round,
- i,
-
- YEAR = 0,
- MONTH = 1,
- DATE = 2,
- HOUR = 3,
- MINUTE = 4,
- SECOND = 5,
- MILLISECOND = 6,
-
- // internal storage for locale config files
- locales = {},
-
- // extra moment internal properties (plugins register props here)
- momentProperties = [],
-
- // check for nodeJS
- hasModule = (typeof module !== 'undefined' && module.exports),
-
- // ASP.NET json date format regex
- aspNetJsonRegex = /^\/?Date\((\-?\d+)/i,
- aspNetTimeSpanJsonRegex = /(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,
-
- // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
- // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
- isoDurationRegex = /^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,
-
- // format tokens
- formattingTokens = /(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,
- localFormattingTokens = /(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,
-
- // parsing token regexes
- parseTokenOneOrTwoDigits = /\d\d?/, // 0 - 99
- parseTokenOneToThreeDigits = /\d{1,3}/, // 0 - 999
- parseTokenOneToFourDigits = /\d{1,4}/, // 0 - 9999
- parseTokenOneToSixDigits = /[+\-]?\d{1,6}/, // -999,999 - 999,999
- parseTokenDigits = /\d+/, // nonzero number of digits
- parseTokenWord = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i, // any word (or two) characters or numbers including two/three word month in arabic.
- parseTokenTimezone = /Z|[\+\-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z
- parseTokenT = /T/i, // T (ISO separator)
- parseTokenTimestampMs = /[\+\-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123
- parseTokenOrdinal = /\d{1,2}/,
-
- //strict parsing regexes
- parseTokenOneDigit = /\d/, // 0 - 9
- parseTokenTwoDigits = /\d\d/, // 00 - 99
- parseTokenThreeDigits = /\d{3}/, // 000 - 999
- parseTokenFourDigits = /\d{4}/, // 0000 - 9999
- parseTokenSixDigits = /[+-]?\d{6}/, // -999,999 - 999,999
- parseTokenSignedNumber = /[+-]?\d+/, // -inf - inf
-
- // iso 8601 regex
- // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
- isoRegex = /^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
-
- isoFormat = 'YYYY-MM-DDTHH:mm:ssZ',
-
- isoDates = [
- ['YYYYYY-MM-DD', /[+-]\d{6}-\d{2}-\d{2}/],
- ['YYYY-MM-DD', /\d{4}-\d{2}-\d{2}/],
- ['GGGG-[W]WW-E', /\d{4}-W\d{2}-\d/],
- ['GGGG-[W]WW', /\d{4}-W\d{2}/],
- ['YYYY-DDD', /\d{4}-\d{3}/]
- ],
-
- // iso time formats and regexes
- isoTimes = [
- ['HH:mm:ss.SSSS', /(T| )\d\d:\d\d:\d\d\.\d+/],
- ['HH:mm:ss', /(T| )\d\d:\d\d:\d\d/],
- ['HH:mm', /(T| )\d\d:\d\d/],
- ['HH', /(T| )\d\d/]
- ],
-
- // timezone chunker "+10:00" > ["10", "00"] or "-1530" > ["-15", "30"]
- parseTimezoneChunker = /([\+\-]|\d\d)/gi,
-
- // getter and setter names
- proxyGettersAndSetters = 'Date|Hours|Minutes|Seconds|Milliseconds'.split('|'),
- unitMillisecondFactors = {
- 'Milliseconds' : 1,
- 'Seconds' : 1e3,
- 'Minutes' : 6e4,
- 'Hours' : 36e5,
- 'Days' : 864e5,
- 'Months' : 2592e6,
- 'Years' : 31536e6
- },
-
- unitAliases = {
- ms : 'millisecond',
- s : 'second',
- m : 'minute',
- h : 'hour',
- d : 'day',
- D : 'date',
- w : 'week',
- W : 'isoWeek',
- M : 'month',
- Q : 'quarter',
- y : 'year',
- DDD : 'dayOfYear',
- e : 'weekday',
- E : 'isoWeekday',
- gg: 'weekYear',
- GG: 'isoWeekYear'
- },
-
- camelFunctions = {
- dayofyear : 'dayOfYear',
- isoweekday : 'isoWeekday',
- isoweek : 'isoWeek',
- weekyear : 'weekYear',
- isoweekyear : 'isoWeekYear'
- },
-
- // format function strings
- formatFunctions = {},
-
- // default relative time thresholds
- relativeTimeThresholds = {
- s: 45, // seconds to minute
- m: 45, // minutes to hour
- h: 22, // hours to day
- d: 26, // days to month
- M: 11 // months to year
- },
-
- // tokens to ordinalize and pad
- ordinalizeTokens = 'DDD w W M D d'.split(' '),
- paddedTokens = 'M D H h m s w W'.split(' '),
-
- formatTokenFunctions = {
- M : function () {
- return this.month() + 1;
- },
- MMM : function (format) {
- return this.localeData().monthsShort(this, format);
- },
- MMMM : function (format) {
- return this.localeData().months(this, format);
- },
- D : function () {
- return this.date();
- },
- DDD : function () {
- return this.dayOfYear();
- },
- d : function () {
- return this.day();
- },
- dd : function (format) {
- return this.localeData().weekdaysMin(this, format);
- },
- ddd : function (format) {
- return this.localeData().weekdaysShort(this, format);
- },
- dddd : function (format) {
- return this.localeData().weekdays(this, format);
- },
- w : function () {
- return this.week();
- },
- W : function () {
- return this.isoWeek();
- },
- YY : function () {
- return leftZeroFill(this.year() % 100, 2);
- },
- YYYY : function () {
- return leftZeroFill(this.year(), 4);
- },
- YYYYY : function () {
- return leftZeroFill(this.year(), 5);
- },
- YYYYYY : function () {
- var y = this.year(), sign = y >= 0 ? '+' : '-';
- return sign + leftZeroFill(Math.abs(y), 6);
- },
- gg : function () {
- return leftZeroFill(this.weekYear() % 100, 2);
- },
- gggg : function () {
- return leftZeroFill(this.weekYear(), 4);
- },
- ggggg : function () {
- return leftZeroFill(this.weekYear(), 5);
- },
- GG : function () {
- return leftZeroFill(this.isoWeekYear() % 100, 2);
- },
- GGGG : function () {
- return leftZeroFill(this.isoWeekYear(), 4);
- },
- GGGGG : function () {
- return leftZeroFill(this.isoWeekYear(), 5);
- },
- e : function () {
- return this.weekday();
- },
- E : function () {
- return this.isoWeekday();
- },
- a : function () {
- return this.localeData().meridiem(this.hours(), this.minutes(), true);
- },
- A : function () {
- return this.localeData().meridiem(this.hours(), this.minutes(), false);
- },
- H : function () {
- return this.hours();
- },
- h : function () {
- return this.hours() % 12 || 12;
- },
- m : function () {
- return this.minutes();
- },
- s : function () {
- return this.seconds();
- },
- S : function () {
- return toInt(this.milliseconds() / 100);
- },
- SS : function () {
- return leftZeroFill(toInt(this.milliseconds() / 10), 2);
- },
- SSS : function () {
- return leftZeroFill(this.milliseconds(), 3);
- },
- SSSS : function () {
- return leftZeroFill(this.milliseconds(), 3);
- },
- Z : function () {
- var a = -this.zone(),
- b = '+';
- if (a < 0) {
- a = -a;
- b = '-';
- }
- return b + leftZeroFill(toInt(a / 60), 2) + ':' + leftZeroFill(toInt(a) % 60, 2);
- },
- ZZ : function () {
- var a = -this.zone(),
- b = '+';
- if (a < 0) {
- a = -a;
- b = '-';
- }
- return b + leftZeroFill(toInt(a / 60), 2) + leftZeroFill(toInt(a) % 60, 2);
- },
- z : function () {
- return this.zoneAbbr();
- },
- zz : function () {
- return this.zoneName();
- },
- X : function () {
- return this.unix();
- },
- Q : function () {
- return this.quarter();
- }
- },
-
- deprecations = {},
-
- lists = ['months', 'monthsShort', 'weekdays', 'weekdaysShort', 'weekdaysMin'];
-
- // Pick the first defined of two or three arguments. dfl comes from
- // default.
- function dfl(a, b, c) {
- switch (arguments.length) {
- case 2: return a != null ? a : b;
- case 3: return a != null ? a : b != null ? b : c;
- default: throw new Error('Implement me');
- }
- }
-
- function defaultParsingFlags() {
- // We need to deep clone this object, and es5 standard is not very
- // helpful.
- return {
- empty : false,
- unusedTokens : [],
- unusedInput : [],
- overflow : -2,
- charsLeftOver : 0,
- nullInput : false,
- invalidMonth : null,
- invalidFormat : false,
- userInvalidated : false,
- iso: false
- };
- }
-
- function printMsg(msg) {
- if (moment.suppressDeprecationWarnings === false &&
- typeof console !== 'undefined' && console.warn) {
- console.warn("Deprecation warning: " + msg);
- }
- }
-
- function deprecate(msg, fn) {
- var firstTime = true;
- return extend(function () {
- if (firstTime) {
- printMsg(msg);
- firstTime = false;
- }
- return fn.apply(this, arguments);
- }, fn);
- }
-
- function deprecateSimple(name, msg) {
- if (!deprecations[name]) {
- printMsg(msg);
- deprecations[name] = true;
- }
- }
-
- function padToken(func, count) {
- return function (a) {
- return leftZeroFill(func.call(this, a), count);
- };
- }
- function ordinalizeToken(func, period) {
- return function (a) {
- return this.localeData().ordinal(func.call(this, a), period);
- };
- }
-
- while (ordinalizeTokens.length) {
- i = ordinalizeTokens.pop();
- formatTokenFunctions[i + 'o'] = ordinalizeToken(formatTokenFunctions[i], i);
- }
- while (paddedTokens.length) {
- i = paddedTokens.pop();
- formatTokenFunctions[i + i] = padToken(formatTokenFunctions[i], 2);
- }
- formatTokenFunctions.DDDD = padToken(formatTokenFunctions.DDD, 3);
-
-
- /************************************
- Constructors
- ************************************/
-
- function Locale() {
- }
-
- // Moment prototype object
- function Moment(config, skipOverflow) {
- if (skipOverflow !== false) {
- checkOverflow(config);
- }
- copyConfig(this, config);
- this._d = new Date(+config._d);
- }
-
- // Duration Constructor
- function Duration(duration) {
- var normalizedInput = normalizeObjectUnits(duration),
- years = normalizedInput.year || 0,
- quarters = normalizedInput.quarter || 0,
- months = normalizedInput.month || 0,
- weeks = normalizedInput.week || 0,
- days = normalizedInput.day || 0,
- hours = normalizedInput.hour || 0,
- minutes = normalizedInput.minute || 0,
- seconds = normalizedInput.second || 0,
- milliseconds = normalizedInput.millisecond || 0;
-
- // representation for dateAddRemove
- this._milliseconds = +milliseconds +
- seconds * 1e3 + // 1000
- minutes * 6e4 + // 1000 * 60
- hours * 36e5; // 1000 * 60 * 60
- // Because of dateAddRemove treats 24 hours as different from a
- // day when working around DST, we need to store them separately
- this._days = +days +
- weeks * 7;
- // It is impossible translate months into days without knowing
- // which months you are are talking about, so we have to store
- // it separately.
- this._months = +months +
- quarters * 3 +
- years * 12;
-
- this._data = {};
-
- this._locale = moment.localeData();
-
- this._bubble();
- }
-
- /************************************
- Helpers
- ************************************/
-
-
- function extend(a, b) {
- for (var i in b) {
- if (b.hasOwnProperty(i)) {
- a[i] = b[i];
- }
- }
-
- if (b.hasOwnProperty('toString')) {
- a.toString = b.toString;
- }
-
- if (b.hasOwnProperty('valueOf')) {
- a.valueOf = b.valueOf;
- }
-
- return a;
- }
-
- function copyConfig(to, from) {
- var i, prop, val;
-
- if (typeof from._isAMomentObject !== 'undefined') {
- to._isAMomentObject = from._isAMomentObject;
- }
- if (typeof from._i !== 'undefined') {
- to._i = from._i;
- }
- if (typeof from._f !== 'undefined') {
- to._f = from._f;
- }
- if (typeof from._l !== 'undefined') {
- to._l = from._l;
- }
- if (typeof from._strict !== 'undefined') {
- to._strict = from._strict;
- }
- if (typeof from._tzm !== 'undefined') {
- to._tzm = from._tzm;
- }
- if (typeof from._isUTC !== 'undefined') {
- to._isUTC = from._isUTC;
- }
- if (typeof from._offset !== 'undefined') {
- to._offset = from._offset;
- }
- if (typeof from._pf !== 'undefined') {
- to._pf = from._pf;
- }
- if (typeof from._locale !== 'undefined') {
- to._locale = from._locale;
- }
-
- if (momentProperties.length > 0) {
- for (i in momentProperties) {
- prop = momentProperties[i];
- val = from[prop];
- if (typeof val !== 'undefined') {
- to[prop] = val;
- }
- }
- }
-
- return to;
- }
-
- function absRound(number) {
- if (number < 0) {
- return Math.ceil(number);
- } else {
- return Math.floor(number);
- }
- }
-
- // left zero fill a number
- // see http://jsperf.com/left-zero-filling for performance comparison
- function leftZeroFill(number, targetLength, forceSign) {
- var output = '' + Math.abs(number),
- sign = number >= 0;
-
- while (output.length < targetLength) {
- output = '0' + output;
- }
- return (sign ? (forceSign ? '+' : '') : '-') + output;
- }
-
- function positiveMomentsDifference(base, other) {
- var res = {milliseconds: 0, months: 0};
-
- res.months = other.month() - base.month() +
- (other.year() - base.year()) * 12;
- if (base.clone().add(res.months, 'M').isAfter(other)) {
- --res.months;
- }
-
- res.milliseconds = +other - +(base.clone().add(res.months, 'M'));
-
- return res;
- }
-
- function momentsDifference(base, other) {
- var res;
- other = makeAs(other, base);
- if (base.isBefore(other)) {
- res = positiveMomentsDifference(base, other);
- } else {
- res = positiveMomentsDifference(other, base);
- res.milliseconds = -res.milliseconds;
- res.months = -res.months;
- }
-
- return res;
- }
-
- // TODO: remove 'name' arg after deprecation is removed
- function createAdder(direction, name) {
- return function (val, period) {
- var dur, tmp;
- //invert the arguments, but complain about it
- if (period !== null && !isNaN(+period)) {
- deprecateSimple(name, "moment()." + name + "(period, number) is deprecated. Please use moment()." + name + "(number, period).");
- tmp = val; val = period; period = tmp;
- }
-
- val = typeof val === 'string' ? +val : val;
- dur = moment.duration(val, period);
- addOrSubtractDurationFromMoment(this, dur, direction);
- return this;
- };
- }
-
- function addOrSubtractDurationFromMoment(mom, duration, isAdding, updateOffset) {
- var milliseconds = duration._milliseconds,
- days = duration._days,
- months = duration._months;
- updateOffset = updateOffset == null ? true : updateOffset;
-
- if (milliseconds) {
- mom._d.setTime(+mom._d + milliseconds * isAdding);
- }
- if (days) {
- rawSetter(mom, 'Date', rawGetter(mom, 'Date') + days * isAdding);
- }
- if (months) {
- rawMonthSetter(mom, rawGetter(mom, 'Month') + months * isAdding);
- }
- if (updateOffset) {
- moment.updateOffset(mom, days || months);
- }
- }
-
- // check if is an array
- function isArray(input) {
- return Object.prototype.toString.call(input) === '[object Array]';
- }
-
- function isDate(input) {
- return Object.prototype.toString.call(input) === '[object Date]' ||
- input instanceof Date;
- }
-
- // compare two arrays, return the number of differences
- function compareArrays(array1, array2, dontConvert) {
- var len = Math.min(array1.length, array2.length),
- lengthDiff = Math.abs(array1.length - array2.length),
- diffs = 0,
- i;
- for (i = 0; i < len; i++) {
- if ((dontConvert && array1[i] !== array2[i]) ||
- (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) {
- diffs++;
- }
- }
- return diffs + lengthDiff;
- }
-
- function normalizeUnits(units) {
- if (units) {
- var lowered = units.toLowerCase().replace(/(.)s$/, '$1');
- units = unitAliases[units] || camelFunctions[lowered] || lowered;
- }
- return units;
- }
-
- function normalizeObjectUnits(inputObject) {
- var normalizedInput = {},
- normalizedProp,
- prop;
-
- for (prop in inputObject) {
- if (inputObject.hasOwnProperty(prop)) {
- normalizedProp = normalizeUnits(prop);
- if (normalizedProp) {
- normalizedInput[normalizedProp] = inputObject[prop];
- }
- }
- }
-
- return normalizedInput;
- }
-
- function makeList(field) {
- var count, setter;
-
- if (field.indexOf('week') === 0) {
- count = 7;
- setter = 'day';
- }
- else if (field.indexOf('month') === 0) {
- count = 12;
- setter = 'month';
- }
- else {
- return;
- }
-
- moment[field] = function (format, index) {
- var i, getter,
- method = moment._locale[field],
- results = [];
-
- if (typeof format === 'number') {
- index = format;
- format = undefined;
- }
-
- getter = function (i) {
- var m = moment().utc().set(setter, i);
- return method.call(moment._locale, m, format || '');
- };
-
- if (index != null) {
- return getter(index);
- }
- else {
- for (i = 0; i < count; i++) {
- results.push(getter(i));
- }
- return results;
- }
- };
- }
-
- function toInt(argumentForCoercion) {
- var coercedNumber = +argumentForCoercion,
- value = 0;
-
- if (coercedNumber !== 0 && isFinite(coercedNumber)) {
- if (coercedNumber >= 0) {
- value = Math.floor(coercedNumber);
- } else {
- value = Math.ceil(coercedNumber);
- }
- }
-
- return value;
- }
-
- function daysInMonth(year, month) {
- return new Date(Date.UTC(year, month + 1, 0)).getUTCDate();
- }
-
- function weeksInYear(year, dow, doy) {
- return weekOfYear(moment([year, 11, 31 + dow - doy]), dow, doy).week;
- }
-
- function daysInYear(year) {
- return isLeapYear(year) ? 366 : 365;
- }
-
- function isLeapYear(year) {
- return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
- }
-
- function checkOverflow(m) {
- var overflow;
- if (m._a && m._pf.overflow === -2) {
- overflow =
- m._a[MONTH] < 0 || m._a[MONTH] > 11 ? MONTH :
- m._a[DATE] < 1 || m._a[DATE] > daysInMonth(m._a[YEAR], m._a[MONTH]) ? DATE :
- m._a[HOUR] < 0 || m._a[HOUR] > 23 ? HOUR :
- m._a[MINUTE] < 0 || m._a[MINUTE] > 59 ? MINUTE :
- m._a[SECOND] < 0 || m._a[SECOND] > 59 ? SECOND :
- m._a[MILLISECOND] < 0 || m._a[MILLISECOND] > 999 ? MILLISECOND :
- -1;
-
- if (m._pf._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {
- overflow = DATE;
- }
-
- m._pf.overflow = overflow;
- }
- }
-
- function isValid(m) {
- if (m._isValid == null) {
- m._isValid = !isNaN(m._d.getTime()) &&
- m._pf.overflow < 0 &&
- !m._pf.empty &&
- !m._pf.invalidMonth &&
- !m._pf.nullInput &&
- !m._pf.invalidFormat &&
- !m._pf.userInvalidated;
-
- if (m._strict) {
- m._isValid = m._isValid &&
- m._pf.charsLeftOver === 0 &&
- m._pf.unusedTokens.length === 0;
- }
- }
- return m._isValid;
- }
-
- function normalizeLocale(key) {
- return key ? key.toLowerCase().replace('_', '-') : key;
- }
-
- // pick the locale from the array
- // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
- // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
- function chooseLocale(names) {
- var i = 0, j, next, locale, split;
-
- while (i < names.length) {
- split = normalizeLocale(names[i]).split('-');
- j = split.length;
- next = normalizeLocale(names[i + 1]);
- next = next ? next.split('-') : null;
- while (j > 0) {
- locale = loadLocale(split.slice(0, j).join('-'));
- if (locale) {
- return locale;
- }
- if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) {
- //the next array item is better than a shallower substring of this one
- break;
- }
- j--;
- }
- i++;
- }
- return null;
- }
-
- function loadLocale(name) {
- var oldLocale = null;
- if (!locales[name] && hasModule) {
- try {
- oldLocale = moment.locale();
- require('./locale/' + name);
- // because defineLocale currently also sets the global locale, we want to undo that for lazy loaded locales
- moment.locale(oldLocale);
- } catch (e) { }
- }
- return locales[name];
- }
-
- // Return a moment from input, that is local/utc/zone equivalent to model.
- function makeAs(input, model) {
- return model._isUTC ? moment(input).zone(model._offset || 0) :
- moment(input).local();
- }
-
- /************************************
- Locale
- ************************************/
-
-
- extend(Locale.prototype, {
-
- set : function (config) {
- var prop, i;
- for (i in config) {
- prop = config[i];
- if (typeof prop === 'function') {
- this[i] = prop;
- } else {
- this['_' + i] = prop;
- }
- }
- },
-
- _months : '1_2_3_4_May_June_July_August_September_October_November_December'.split('_'),
- months : function (m) {
- return this._months[m.month()];
- },
-
- _monthsShort : '1_2_3_4_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
- monthsShort : function (m) {
- return this._monthsShort[m.month()];
- },
-
- monthsParse : function (monthName) {
- var i, mom, regex;
-
- if (!this._monthsParse) {
- this._monthsParse = [];
- }
-
- for (i = 0; i < 12; i++) {
- // make the regex if we don't have it already
- if (!this._monthsParse[i]) {
- mom = moment.utc([2000, i]);
- regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');
- this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');
- }
- // test the regex
- if (this._monthsParse[i].test(monthName)) {
- return i;
- }
- }
- },
-
- _weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
- weekdays : function (m) {
- return this._weekdays[m.day()];
- },
-
- _weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
- weekdaysShort : function (m) {
- return this._weekdaysShort[m.day()];
- },
-
- _weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
- weekdaysMin : function (m) {
- return this._weekdaysMin[m.day()];
- },
-
- weekdaysParse : function (weekdayName) {
- var i, mom, regex;
-
- if (!this._weekdaysParse) {
- this._weekdaysParse = [];
- }
-
- for (i = 0; i < 7; i++) {
- // make the regex if we don't have it already
- if (!this._weekdaysParse[i]) {
- mom = moment([2000, 1]).day(i);
- regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, '');
- this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');
- }
- // test the regex
- if (this._weekdaysParse[i].test(weekdayName)) {
- return i;
- }
- }
- },
-
- _longDateFormat : {
- LT : 'h:mm A',
- L : 'MM/DD/YYYY',
- LL : 'MMMM D, YYYY',
- LLL : 'MMMM D, YYYY LT',
- LLLL : 'dddd, MMMM D, YYYY LT'
- },
- longDateFormat : function (key) {
- var output = this._longDateFormat[key];
- if (!output && this._longDateFormat[key.toUpperCase()]) {
- output = this._longDateFormat[key.toUpperCase()].replace(/MMMM|MM|DD|dddd/g, function (val) {
- return val.slice(1);
- });
- this._longDateFormat[key] = output;
- }
- return output;
- },
-
- isPM : function (input) {
- // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
- // Using charAt should be more compatible.
- return ((input + '').toLowerCase().charAt(0) === 'p');
- },
-
- _meridiemParse : /[ap]\.?m?\.?/i,
- meridiem : function (hours, minutes, isLower) {
- if (hours > 11) {
- return isLower ? 'pm' : 'PM';
- } else {
- return isLower ? 'am' : 'AM';
- }
- },
-
- _calendar : {
- sameDay : '[Today at] LT',
- nextDay : '[Tomorrow at] LT',
- nextWeek : 'dddd [at] LT',
- lastDay : '[Yesterday at] LT',
- lastWeek : '[Last] dddd [at] LT',
- sameElse : 'L'
- },
- calendar : function (key, mom) {
- var output = this._calendar[key];
- return typeof output === 'function' ? output.apply(mom) : output;
- },
-
- _relativeTime : {
- future : 'in %s',
- past : '%s ago',
- s : 'a few seconds',
- m : 'a minute',
- mm : '%d minutes',
- h : 'an hour',
- hh : '%d hours',
- d : 'a day',
- dd : '%d days',
- M : 'a month',
- MM : '%d months',
- y : 'a year',
- yy : '%d years'
- },
-
- relativeTime : function (number, withoutSuffix, string, isFuture) {
- var output = this._relativeTime[string];
- return (typeof output === 'function') ?
- output(number, withoutSuffix, string, isFuture) :
- output.replace(/%d/i, number);
- },
-
- pastFuture : function (diff, output) {
- var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
- return typeof format === 'function' ? format(output) : format.replace(/%s/i, output);
- },
-
- ordinal : function (number) {
- return this._ordinal.replace('%d', number);
- },
- _ordinal : '%d',
-
- preparse : function (string) {
- return string;
- },
-
- postformat : function (string) {
- return string;
- },
-
- week : function (mom) {
- return weekOfYear(mom, this._week.dow, this._week.doy).week;
- },
-
- _week : {
- dow : 0, // Sunday is the first day of the week.
- doy : 6 // The week that contains Jan 1st is the first week of the year.
- },
-
- _invalidDate: 'Invalid date',
- invalidDate: function () {
- return this._invalidDate;
- }
- });
-
- /************************************
- Formatting
- ************************************/
-
-
- function removeFormattingTokens(input) {
- if (input.match(/\[[\s\S]/)) {
- return input.replace(/^\[|\]$/g, '');
- }
- return input.replace(/\\/g, '');
- }
-
- function makeFormatFunction(format) {
- var array = format.match(formattingTokens), i, length;
-
- for (i = 0, length = array.length; i < length; i++) {
- if (formatTokenFunctions[array[i]]) {
- array[i] = formatTokenFunctions[array[i]];
- } else {
- array[i] = removeFormattingTokens(array[i]);
- }
- }
-
- return function (mom) {
- var output = '';
- for (i = 0; i < length; i++) {
- output += array[i] instanceof Function ? array[i].call(mom, format) : array[i];
- }
- return output;
- };
- }
-
- // format date using native date object
- function formatMoment(m, format) {
- if (!m.isValid()) {
- return m.localeData().invalidDate();
- }
-
- format = expandFormat(format, m.localeData());
-
- if (!formatFunctions[format]) {
- formatFunctions[format] = makeFormatFunction(format);
- }
-
- return formatFunctions[format](m);
- }
-
- function expandFormat(format, locale) {
- var i = 5;
-
- function replaceLongDateFormatTokens(input) {
- return locale.longDateFormat(input) || input;
- }
-
- localFormattingTokens.lastIndex = 0;
- while (i >= 0 && localFormattingTokens.test(format)) {
- format = format.replace(localFormattingTokens, replaceLongDateFormatTokens);
- localFormattingTokens.lastIndex = 0;
- i -= 1;
- }
-
- return format;
- }
-
-
- /************************************
- Parsing
- ************************************/
-
-
- // get the regex to find the next token
- function getParseRegexForToken(token, config) {
- var a, strict = config._strict;
- switch (token) {
- case 'Q':
- return parseTokenOneDigit;
- case 'DDDD':
- return parseTokenThreeDigits;
- case 'YYYY':
- case 'GGGG':
- case 'gggg':
- return strict ? parseTokenFourDigits : parseTokenOneToFourDigits;
- case 'Y':
- case 'G':
- case 'g':
- return parseTokenSignedNumber;
- case 'YYYYYY':
- case 'YYYYY':
- case 'GGGGG':
- case 'ggggg':
- return strict ? parseTokenSixDigits : parseTokenOneToSixDigits;
- case 'S':
- if (strict) {
- return parseTokenOneDigit;
- }
- /* falls through */
- case 'SS':
- if (strict) {
- return parseTokenTwoDigits;
- }
- /* falls through */
- case 'SSS':
- if (strict) {
- return parseTokenThreeDigits;
- }
- /* falls through */
- case 'DDD':
- return parseTokenOneToThreeDigits;
- case 'MMM':
- case 'MMMM':
- case 'dd':
- case 'ddd':
- case 'dddd':
- return parseTokenWord;
- case 'a':
- case 'A':
- return config._locale._meridiemParse;
- case 'X':
- return parseTokenTimestampMs;
- case 'Z':
- case 'ZZ':
- return parseTokenTimezone;
- case 'T':
- return parseTokenT;
- case 'SSSS':
- return parseTokenDigits;
- case 'MM':
- case 'DD':
- case 'YY':
- case 'GG':
- case 'gg':
- case 'HH':
- case 'hh':
- case 'mm':
- case 'ss':
- case 'ww':
- case 'WW':
- return strict ? parseTokenTwoDigits : parseTokenOneOrTwoDigits;
- case 'M':
- case 'D':
- case 'd':
- case 'H':
- case 'h':
- case 'm':
- case 's':
- case 'w':
- case 'W':
- case 'e':
- case 'E':
- return parseTokenOneOrTwoDigits;
- case 'Do':
- return parseTokenOrdinal;
- default :
- a = new RegExp(regexpEscape(unescapeFormat(token.replace('\\', '')), 'i'));
- return a;
- }
- }
-
- function timezoneMinutesFromString(string) {
- string = string || '';
- var possibleTzMatches = (string.match(parseTokenTimezone) || []),
- tzChunk = possibleTzMatches[possibleTzMatches.length - 1] || [],
- parts = (tzChunk + '').match(parseTimezoneChunker) || ['-', 0, 0],
- minutes = +(parts[1] * 60) + toInt(parts[2]);
-
- return parts[0] === '+' ? -minutes : minutes;
- }
-
- // function to convert string input to date
- function addTimeToArrayFromToken(token, input, config) {
- var a, datePartArray = config._a;
-
- switch (token) {
- // QUARTER
- case 'Q':
- if (input != null) {
- datePartArray[MONTH] = (toInt(input) - 1) * 3;
- }
- break;
- // MONTH
- case 'M' : // fall through to MM
- case 'MM' :
- if (input != null) {
- datePartArray[MONTH] = toInt(input) - 1;
- }
- break;
- case 'MMM' : // fall through to MMMM
- case 'MMMM' :
- a = config._locale.monthsParse(input);
- // if we didn't find a month name, mark the date as invalid.
- if (a != null) {
- datePartArray[MONTH] = a;
- } else {
- config._pf.invalidMonth = input;
- }
- break;
- // DAY OF MONTH
- case 'D' : // fall through to DD
- case 'DD' :
- if (input != null) {
- datePartArray[DATE] = toInt(input);
- }
- break;
- case 'Do' :
- if (input != null) {
- datePartArray[DATE] = toInt(parseInt(input, 10));
- }
- break;
- // DAY OF YEAR
- case 'DDD' : // fall through to DDDD
- case 'DDDD' :
- if (input != null) {
- config._dayOfYear = toInt(input);
- }
-
- break;
- // YEAR
- case 'YY' :
- datePartArray[YEAR] = moment.parseTwoDigitYear(input);
- break;
- case 'YYYY' :
- case 'YYYYY' :
- case 'YYYYYY' :
- datePartArray[YEAR] = toInt(input);
- break;
- // AM / PM
- case 'a' : // fall through to A
- case 'A' :
- config._isPm = config._locale.isPM(input);
- break;
- // 24 HOUR
- case 'H' : // fall through to hh
- case 'HH' : // fall through to hh
- case 'h' : // fall through to hh
- case 'hh' :
- datePartArray[HOUR] = toInt(input);
- break;
- // MINUTE
- case 'm' : // fall through to mm
- case 'mm' :
- datePartArray[MINUTE] = toInt(input);
- break;
- // SECOND
- case 's' : // fall through to ss
- case 'ss' :
- datePartArray[SECOND] = toInt(input);
- break;
- // MILLISECOND
- case 'S' :
- case 'SS' :
- case 'SSS' :
- case 'SSSS' :
- datePartArray[MILLISECOND] = toInt(('0.' + input) * 1000);
- break;
- // UNIX TIMESTAMP WITH MS
- case 'X':
- config._d = new Date(parseFloat(input) * 1000);
- break;
- // TIMEZONE
- case 'Z' : // fall through to ZZ
- case 'ZZ' :
- config._useUTC = true;
- config._tzm = timezoneMinutesFromString(input);
- break;
- // WEEKDAY - human
- case 'dd':
- case 'ddd':
- case 'dddd':
- a = config._locale.weekdaysParse(input);
- // if we didn't get a weekday name, mark the date as invalid
- if (a != null) {
- config._w = config._w || {};
- config._w['d'] = a;
- } else {
- config._pf.invalidWeekday = input;
- }
- break;
- // WEEK, WEEK DAY - numeric
- case 'w':
- case 'ww':
- case 'W':
- case 'WW':
- case 'd':
- case 'e':
- case 'E':
- token = token.substr(0, 1);
- /* falls through */
- case 'gggg':
- case 'GGGG':
- case 'GGGGG':
- token = token.substr(0, 2);
- if (input) {
- config._w = config._w || {};
- config._w[token] = toInt(input);
- }
- break;
- case 'gg':
- case 'GG':
- config._w = config._w || {};
- config._w[token] = moment.parseTwoDigitYear(input);
- }
- }
-
- function dayOfYearFromWeekInfo(config) {
- var w, weekYear, week, weekday, dow, doy, temp;
-
- w = config._w;
- if (w.GG != null || w.W != null || w.E != null) {
- dow = 1;
- doy = 4;
-
- // TODO: We need to take the current isoWeekYear, but that depends on
- // how we interpret now (local, utc, fixed offset). So create
- // a now version of current config (take local/utc/offset flags, and
- // create now).
- weekYear = dfl(w.GG, config._a[YEAR], weekOfYear(moment(), 1, 4).year);
- week = dfl(w.W, 1);
- weekday = dfl(w.E, 1);
- } else {
- dow = config._locale._week.dow;
- doy = config._locale._week.doy;
-
- weekYear = dfl(w.gg, config._a[YEAR], weekOfYear(moment(), dow, doy).year);
- week = dfl(w.w, 1);
-
- if (w.d != null) {
- // weekday -- low day numbers are considered next week
- weekday = w.d;
- if (weekday < dow) {
- ++week;
- }
- } else if (w.e != null) {
- // local weekday -- counting starts from begining of week
- weekday = w.e + dow;
- } else {
- // default to begining of week
- weekday = dow;
- }
- }
- temp = dayOfYearFromWeeks(weekYear, week, weekday, doy, dow);
-
- config._a[YEAR] = temp.year;
- config._dayOfYear = temp.dayOfYear;
- }
-
- // convert an array to a date.
- // the array should mirror the parameters below
- // note: all values past the year are optional and will default to the lowest possible value.
- // [year, month, day , hour, minute, second, millisecond]
- function dateFromConfig(config) {
- var i, date, input = [], currentDate, yearToUse;
-
- if (config._d) {
- return;
- }
-
- currentDate = currentDateArray(config);
-
- //compute day of the year from weeks and weekdays
- if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {
- dayOfYearFromWeekInfo(config);
- }
-
- //if the day of the year is set, figure out what it is
- if (config._dayOfYear) {
- yearToUse = dfl(config._a[YEAR], currentDate[YEAR]);
-
- if (config._dayOfYear > daysInYear(yearToUse)) {
- config._pf._overflowDayOfYear = true;
- }
-
- date = makeUTCDate(yearToUse, 0, config._dayOfYear);
- config._a[MONTH] = date.getUTCMonth();
- config._a[DATE] = date.getUTCDate();
- }
-
- // Default to current date.
- // * if no year, month, day of month are given, default to today
- // * if day of month is given, default month and year
- // * if month is given, default only year
- // * if year is given, don't default anything
- for (i = 0; i < 3 && config._a[i] == null; ++i) {
- config._a[i] = input[i] = currentDate[i];
- }
-
- // Zero out whatever was not defaulted, including time
- for (; i < 7; i++) {
- config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i];
- }
-
- config._d = (config._useUTC ? makeUTCDate : makeDate).apply(null, input);
- // Apply timezone offset from input. The actual zone can be changed
- // with parseZone.
- if (config._tzm != null) {
- config._d.setUTCMinutes(config._d.getUTCMinutes() + config._tzm);
- }
- }
-
- function dateFromObject(config) {
- var normalizedInput;
-
- if (config._d) {
- return;
- }
-
- normalizedInput = normalizeObjectUnits(config._i);
- config._a = [
- normalizedInput.year,
- normalizedInput.month,
- normalizedInput.day,
- normalizedInput.hour,
- normalizedInput.minute,
- normalizedInput.second,
- normalizedInput.millisecond
- ];
-
- dateFromConfig(config);
- }
-
- function currentDateArray(config) {
- var now = new Date();
- if (config._useUTC) {
- return [
- now.getUTCFullYear(),
- now.getUTCMonth(),
- now.getUTCDate()
- ];
- } else {
- return [now.getFullYear(), now.getMonth(), now.getDate()];
- }
- }
-
- // date from string and format string
- function makeDateFromStringAndFormat(config) {
- if (config._f === moment.ISO_8601) {
- parseISO(config);
- return;
- }
-
- config._a = [];
- config._pf.empty = true;
-
- // This array is used to make a Date, either with `new Date` or `Date.UTC`
- var string = '' + config._i,
- i, parsedInput, tokens, token, skipped,
- stringLength = string.length,
- totalParsedInputLength = 0;
-
- tokens = expandFormat(config._f, config._locale).match(formattingTokens) || [];
-
- for (i = 0; i < tokens.length; i++) {
- token = tokens[i];
- parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0];
- if (parsedInput) {
- skipped = string.substr(0, string.indexOf(parsedInput));
- if (skipped.length > 0) {
- config._pf.unusedInput.push(skipped);
- }
- string = string.slice(string.indexOf(parsedInput) + parsedInput.length);
- totalParsedInputLength += parsedInput.length;
- }
- // don't parse if it's not a known token
- if (formatTokenFunctions[token]) {
- if (parsedInput) {
- config._pf.empty = false;
- }
- else {
- config._pf.unusedTokens.push(token);
- }
- addTimeToArrayFromToken(token, parsedInput, config);
- }
- else if (config._strict && !parsedInput) {
- config._pf.unusedTokens.push(token);
- }
- }
-
- // add remaining unparsed input length to the string
- config._pf.charsLeftOver = stringLength - totalParsedInputLength;
- if (string.length > 0) {
- config._pf.unusedInput.push(string);
- }
-
- // handle am pm
- if (config._isPm && config._a[HOUR] < 12) {
- config._a[HOUR] += 12;
- }
- // if is 12 am, change hours to 0
- if (config._isPm === false && config._a[HOUR] === 12) {
- config._a[HOUR] = 0;
- }
-
- dateFromConfig(config);
- checkOverflow(config);
- }
-
- function unescapeFormat(s) {
- return s.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) {
- return p1 || p2 || p3 || p4;
- });
- }
-
- // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
- function regexpEscape(s) {
- return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
- }
-
- // date from string and array of format strings
- function makeDateFromStringAndArray(config) {
- var tempConfig,
- bestMoment,
-
- scoreToBeat,
- i,
- currentScore;
-
- if (config._f.length === 0) {
- config._pf.invalidFormat = true;
- config._d = new Date(NaN);
- return;
- }
-
- for (i = 0; i < config._f.length; i++) {
- currentScore = 0;
- tempConfig = copyConfig({}, config);
- tempConfig._pf = defaultParsingFlags();
- tempConfig._f = config._f[i];
- makeDateFromStringAndFormat(tempConfig);
-
- if (!isValid(tempConfig)) {
- continue;
- }
-
- // if there is any input that was not parsed add a penalty for that format
- currentScore += tempConfig._pf.charsLeftOver;
-
- //or tokens
- currentScore += tempConfig._pf.unusedTokens.length * 10;
-
- tempConfig._pf.score = currentScore;
-
- if (scoreToBeat == null || currentScore < scoreToBeat) {
- scoreToBeat = currentScore;
- bestMoment = tempConfig;
- }
- }
-
- extend(config, bestMoment || tempConfig);
- }
-
- // date from iso format
- function parseISO(config) {
- var i, l,
- string = config._i,
- match = isoRegex.exec(string);
-
- if (match) {
- config._pf.iso = true;
- for (i = 0, l = isoDates.length; i < l; i++) {
- if (isoDates[i][1].exec(string)) {
- // match[5] should be "T" or undefined
- config._f = isoDates[i][0] + (match[6] || ' ');
- break;
- }
- }
- for (i = 0, l = isoTimes.length; i < l; i++) {
- if (isoTimes[i][1].exec(string)) {
- config._f += isoTimes[i][0];
- break;
- }
- }
- if (string.match(parseTokenTimezone)) {
- config._f += 'Z';
- }
- makeDateFromStringAndFormat(config);
- } else {
- config._isValid = false;
- }
- }
-
- // date from iso format or fallback
- function makeDateFromString(config) {
- parseISO(config);
- if (config._isValid === false) {
- delete config._isValid;
- moment.createFromInputFallback(config);
- }
- }
-
- function makeDateFromInput(config) {
- var input = config._i, matched;
- if (input === undefined) {
- config._d = new Date();
- } else if (isDate(input)) {
- config._d = new Date(+input);
- } else if ((matched = aspNetJsonRegex.exec(input)) !== null) {
- config._d = new Date(+matched[1]);
- } else if (typeof input === 'string') {
- makeDateFromString(config);
- } else if (isArray(input)) {
- config._a = input.slice(0);
- dateFromConfig(config);
- } else if (typeof(input) === 'object') {
- dateFromObject(config);
- } else if (typeof(input) === 'number') {
- // from milliseconds
- config._d = new Date(input);
- } else {
- moment.createFromInputFallback(config);
- }
- }
-
- function makeDate(y, m, d, h, M, s, ms) {
- //can't just apply() to create a date:
- //http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply
- var date = new Date(y, m, d, h, M, s, ms);
-
- //the date constructor doesn't accept years < 1970
- if (y < 1970) {
- date.setFullYear(y);
- }
- return date;
- }
-
- function makeUTCDate(y) {
- var date = new Date(Date.UTC.apply(null, arguments));
- if (y < 1970) {
- date.setUTCFullYear(y);
- }
- return date;
- }
-
- function parseWeekday(input, locale) {
- if (typeof input === 'string') {
- if (!isNaN(input)) {
- input = parseInt(input, 10);
- }
- else {
- input = locale.weekdaysParse(input);
- if (typeof input !== 'number') {
- return null;
- }
- }
- }
- return input;
- }
-
- /************************************
- Relative Time
- ************************************/
-
-
- // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
- function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {
- return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);
- }
-
- function relativeTime(posNegDuration, withoutSuffix, locale) {
- var duration = moment.duration(posNegDuration).abs(),
- seconds = round(duration.as('s')),
- minutes = round(duration.as('m')),
- hours = round(duration.as('h')),
- days = round(duration.as('d')),
- months = round(duration.as('M')),
- years = round(duration.as('y')),
-
- args = seconds < relativeTimeThresholds.s && ['s', seconds] ||
- minutes === 1 && ['m'] ||
- minutes < relativeTimeThresholds.m && ['mm', minutes] ||
- hours === 1 && ['h'] ||
- hours < relativeTimeThresholds.h && ['hh', hours] ||
- days === 1 && ['d'] ||
- days < relativeTimeThresholds.d && ['dd', days] ||
- months === 1 && ['M'] ||
- months < relativeTimeThresholds.M && ['MM', months] ||
- years === 1 && ['y'] || ['yy', years];
-
- args[2] = withoutSuffix;
- args[3] = +posNegDuration > 0;
- args[4] = locale;
- return substituteTimeAgo.apply({}, args);
- }
-
-
- /************************************
- Week of Year
- ************************************/
-
-
- // firstDayOfWeek 0 = sun, 6 = sat
- // the day of the week that starts the week
- // (usually sunday or monday)
- // firstDayOfWeekOfYear 0 = sun, 6 = sat
- // the first week is the week that contains the first
- // of this day of the week
- // (eg. ISO weeks use thursday (4))
- function weekOfYear(mom, firstDayOfWeek, firstDayOfWeekOfYear) {
- var end = firstDayOfWeekOfYear - firstDayOfWeek,
- daysToDayOfWeek = firstDayOfWeekOfYear - mom.day(),
- adjustedMoment;
-
-
- if (daysToDayOfWeek > end) {
- daysToDayOfWeek -= 7;
- }
-
- if (daysToDayOfWeek < end - 7) {
- daysToDayOfWeek += 7;
- }
-
- adjustedMoment = moment(mom).add(daysToDayOfWeek, 'd');
- return {
- week: Math.ceil(adjustedMoment.dayOfYear() / 7),
- year: adjustedMoment.year()
- };
- }
-
- //http://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
- function dayOfYearFromWeeks(year, week, weekday, firstDayOfWeekOfYear, firstDayOfWeek) {
- var d = makeUTCDate(year, 0, 1).getUTCDay(), daysToAdd, dayOfYear;
-
- d = d === 0 ? 7 : d;
- weekday = weekday != null ? weekday : firstDayOfWeek;
- daysToAdd = firstDayOfWeek - d + (d > firstDayOfWeekOfYear ? 7 : 0) - (d < firstDayOfWeek ? 7 : 0);
- dayOfYear = 7 * (week - 1) + (weekday - firstDayOfWeek) + daysToAdd + 1;
-
- return {
- year: dayOfYear > 0 ? year : year - 1,
- dayOfYear: dayOfYear > 0 ? dayOfYear : daysInYear(year - 1) + dayOfYear
- };
- }
-
- /************************************
- Top Level Functions
- ************************************/
-
- function makeMoment(config) {
- var input = config._i,
- format = config._f;
-
- config._locale = config._locale || moment.localeData(config._l);
-
- if (input === null || (format === undefined && input === '')) {
- return moment.invalid({nullInput: true});
- }
-
- if (typeof input === 'string') {
- config._i = input = config._locale.preparse(input);
- }
-
- if (moment.isMoment(input)) {
- return new Moment(input, true);
- } else if (format) {
- if (isArray(format)) {
- makeDateFromStringAndArray(config);
- } else {
- makeDateFromStringAndFormat(config);
- }
- } else {
- makeDateFromInput(config);
- }
-
- return new Moment(config);
- }
-
- moment = function (input, format, locale, strict) {
- var c;
-
- if (typeof(locale) === "boolean") {
- strict = locale;
- locale = undefined;
- }
- // object construction must be done this way.
- // https://github.com/moment/moment/issues/1423
- c = {};
- c._isAMomentObject = true;
- c._i = input;
- c._f = format;
- c._l = locale;
- c._strict = strict;
- c._isUTC = false;
- c._pf = defaultParsingFlags();
-
- return makeMoment(c);
- };
-
- moment.suppressDeprecationWarnings = false;
-
- moment.createFromInputFallback = deprecate(
- 'moment construction falls back to js Date. This is ' +
- 'discouraged and will be removed in upcoming major ' +
- 'release. Please refer to ' +
- 'https://github.com/moment/moment/issues/1407 for more info.',
- function (config) {
- config._d = new Date(config._i);
- }
- );
-
- // Pick a moment m from moments so that m[fn](other) is true for all
- // other. This relies on the function fn to be transitive.
- //
- // moments should either be an array of moment objects or an array, whose
- // first element is an array of moment objects.
- function pickBy(fn, moments) {
- var res, i;
- if (moments.length === 1 && isArray(moments[0])) {
- moments = moments[0];
- }
- if (!moments.length) {
- return moment();
- }
- res = moments[0];
- for (i = 1; i < moments.length; ++i) {
- if (moments[i][fn](res)) {
- res = moments[i];
- }
- }
- return res;
- }
-
- moment.min = function () {
- var args = [].slice.call(arguments, 0);
-
- return pickBy('isBefore', args);
- };
-
- moment.max = function () {
- var args = [].slice.call(arguments, 0);
-
- return pickBy('isAfter', args);
- };
-
- // creating with utc
- moment.utc = function (input, format, locale, strict) {
- var c;
-
- if (typeof(locale) === "boolean") {
- strict = locale;
- locale = undefined;
- }
- // object construction must be done this way.
- // https://github.com/moment/moment/issues/1423
- c = {};
- c._isAMomentObject = true;
- c._useUTC = true;
- c._isUTC = true;
- c._l = locale;
- c._i = input;
- c._f = format;
- c._strict = strict;
- c._pf = defaultParsingFlags();
-
- return makeMoment(c).utc();
- };
-
- // creating with unix timestamp (in seconds)
- moment.unix = function (input) {
- return moment(input * 1000);
- };
-
- // duration
- moment.duration = function (input, key) {
- var duration = input,
- // matching against regexp is expensive, do it on demand
- match = null,
- sign,
- ret,
- parseIso,
- diffRes;
-
- if (moment.isDuration(input)) {
- duration = {
- ms: input._milliseconds,
- d: input._days,
- M: input._months
- };
- } else if (typeof input === 'number') {
- duration = {};
- if (key) {
- duration[key] = input;
- } else {
- duration.milliseconds = input;
- }
- } else if (!!(match = aspNetTimeSpanJsonRegex.exec(input))) {
- sign = (match[1] === '-') ? -1 : 1;
- duration = {
- y: 0,
- d: toInt(match[DATE]) * sign,
- h: toInt(match[HOUR]) * sign,
- m: toInt(match[MINUTE]) * sign,
- s: toInt(match[SECOND]) * sign,
- ms: toInt(match[MILLISECOND]) * sign
- };
- } else if (!!(match = isoDurationRegex.exec(input))) {
- sign = (match[1] === '-') ? -1 : 1;
- parseIso = function (inp) {
- // We'd normally use ~~inp for this, but unfortunately it also
- // converts floats to ints.
- // inp may be undefined, so careful calling replace on it.
- var res = inp && parseFloat(inp.replace(',', '.'));
- // apply sign while we're at it
- return (isNaN(res) ? 0 : res) * sign;
- };
- duration = {
- y: parseIso(match[2]),
- M: parseIso(match[3]),
- d: parseIso(match[4]),
- h: parseIso(match[5]),
- m: parseIso(match[6]),
- s: parseIso(match[7]),
- w: parseIso(match[8])
- };
- } else if (typeof duration === 'object' &&
- ('from' in duration || 'to' in duration)) {
- diffRes = momentsDifference(moment(duration.from), moment(duration.to));
-
- duration = {};
- duration.ms = diffRes.milliseconds;
- duration.M = diffRes.months;
- }
-
- ret = new Duration(duration);
-
- if (moment.isDuration(input) && input.hasOwnProperty('_locale')) {
- ret._locale = input._locale;
- }
-
- return ret;
- };
-
- // version number
- moment.version = VERSION;
-
- // default format
- moment.defaultFormat = isoFormat;
-
- // constant that refers to the ISO standard
- moment.ISO_8601 = function () {};
-
- // Plugins that add properties should also add the key here (null value),
- // so we can properly clone ourselves.
- moment.momentProperties = momentProperties;
-
- // This function will be called whenever a moment is mutated.
- // It is intended to keep the offset in sync with the timezone.
- moment.updateOffset = function () {};
-
- // This function allows you to set a threshold for relative time strings
- moment.relativeTimeThreshold = function (threshold, limit) {
- if (relativeTimeThresholds[threshold] === undefined) {
- return false;
- }
- if (limit === undefined) {
- return relativeTimeThresholds[threshold];
- }
- relativeTimeThresholds[threshold] = limit;
- return true;
- };
-
- moment.lang = deprecate(
- "moment.lang is deprecated. Use moment.locale instead.",
- function (key, value) {
- return moment.locale(key, value);
- }
- );
-
- // This function will load locale and then set the global locale. If
- // no arguments are passed in, it will simply return the current global
- // locale key.
- moment.locale = function (key, values) {
- var data;
- if (key) {
- if (typeof(values) !== "undefined") {
- data = moment.defineLocale(key, values);
- }
- else {
- data = moment.localeData(key);
- }
-
- if (data) {
- moment.duration._locale = moment._locale = data;
- }
- }
-
- return moment._locale._abbr;
- };
-
- moment.defineLocale = function (name, values) {
- if (values !== null) {
- values.abbr = name;
- if (!locales[name]) {
- locales[name] = new Locale();
- }
- locales[name].set(values);
-
- // backwards compat for now: also set the locale
- moment.locale(name);
-
- return locales[name];
- } else {
- // useful for testing
- delete locales[name];
- return null;
- }
- };
-
- moment.langData = deprecate(
- "moment.langData is deprecated. Use moment.localeData instead.",
- function (key) {
- return moment.localeData(key);
- }
- );
-
- // returns locale data
- moment.localeData = function (key) {
- var locale;
-
- if (key && key._locale && key._locale._abbr) {
- key = key._locale._abbr;
- }
-
- if (!key) {
- return moment._locale;
- }
-
- if (!isArray(key)) {
- //short-circuit everything else
- locale = loadLocale(key);
- if (locale) {
- return locale;
- }
- key = [key];
- }
-
- return chooseLocale(key);
- };
-
- // compare moment object
- moment.isMoment = function (obj) {
- return obj instanceof Moment ||
- (obj != null && obj.hasOwnProperty('_isAMomentObject'));
- };
-
- // for typechecking Duration objects
- moment.isDuration = function (obj) {
- return obj instanceof Duration;
- };
-
- for (i = lists.length - 1; i >= 0; --i) {
- makeList(lists[i]);
- }
-
- moment.normalizeUnits = function (units) {
- return normalizeUnits(units);
- };
-
- moment.invalid = function (flags) {
- var m = moment.utc(NaN);
- if (flags != null) {
- extend(m._pf, flags);
- }
- else {
- m._pf.userInvalidated = true;
- }
-
- return m;
- };
-
- moment.parseZone = function () {
- return moment.apply(null, arguments).parseZone();
- };
-
- moment.parseTwoDigitYear = function (input) {
- return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);
- };
-
- /************************************
- Moment Prototype
- ************************************/
-
-
- extend(moment.fn = Moment.prototype, {
-
- clone : function () {
- return moment(this);
- },
-
- valueOf : function () {
- return +this._d + ((this._offset || 0) * 60000);
- },
-
- unix : function () {
- return Math.floor(+this / 1000);
- },
-
- toString : function () {
- return this.clone().locale('en').format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
- },
-
- toDate : function () {
- return this._offset ? new Date(+this) : this._d;
- },
-
- toISOString : function () {
- var m = moment(this).utc();
- if (0 < m.year() && m.year() <= 9999) {
- return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]');
- } else {
- return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]');
- }
- },
-
- toArray : function () {
- var m = this;
- return [
- m.year(),
- m.month(),
- m.date(),
- m.hours(),
- m.minutes(),
- m.seconds(),
- m.milliseconds()
- ];
- },
-
- isValid : function () {
- return isValid(this);
- },
-
- isDSTShifted : function () {
- if (this._a) {
- return this.isValid() && compareArrays(this._a, (this._isUTC ? moment.utc(this._a) : moment(this._a)).toArray()) > 0;
- }
-
- return false;
- },
-
- parsingFlags : function () {
- return extend({}, this._pf);
- },
-
- invalidAt: function () {
- return this._pf.overflow;
- },
-
- utc : function (keepLocalTime) {
- return this.zone(0, keepLocalTime);
- },
-
- local : function (keepLocalTime) {
- if (this._isUTC) {
- this.zone(0, keepLocalTime);
- this._isUTC = false;
-
- if (keepLocalTime) {
- this.add(this._d.getTimezoneOffset(), 'm');
- }
- }
- return this;
- },
-
- format : function (inputString) {
- var output = formatMoment(this, inputString || moment.defaultFormat);
- return this.localeData().postformat(output);
- },
-
- add : createAdder(1, 'add'),
-
- subtract : createAdder(-1, 'subtract'),
-
- diff : function (input, units, asFloat) {
- var that = makeAs(input, this),
- zoneDiff = (this.zone() - that.zone()) * 6e4,
- diff, output;
-
- units = normalizeUnits(units);
-
- if (units === 'year' || units === 'month') {
- // average number of days in the months in the given dates
- diff = (this.daysInMonth() + that.daysInMonth()) * 432e5; // 24 * 60 * 60 * 1000 / 2
- // difference in months
- output = ((this.year() - that.year()) * 12) + (this.month() - that.month());
- // adjust by taking difference in days, average number of days
- // and dst in the given months.
- output += ((this - moment(this).startOf('month')) -
- (that - moment(that).startOf('month'))) / diff;
- // same as above but with zones, to negate all dst
- output -= ((this.zone() - moment(this).startOf('month').zone()) -
- (that.zone() - moment(that).startOf('month').zone())) * 6e4 / diff;
- if (units === 'year') {
- output = output / 12;
- }
- } else {
- diff = (this - that);
- output = units === 'second' ? diff / 1e3 : // 1000
- units === 'minute' ? diff / 6e4 : // 1000 * 60
- units === 'hour' ? diff / 36e5 : // 1000 * 60 * 60
- units === 'day' ? (diff - zoneDiff) / 864e5 : // 1000 * 60 * 60 * 24, negate dst
- units === 'week' ? (diff - zoneDiff) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst
- diff;
- }
- return asFloat ? output : absRound(output);
- },
-
- from : function (time, withoutSuffix) {
- return moment.duration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix);
- },
-
- fromNow : function (withoutSuffix) {
- return this.from(moment(), withoutSuffix);
- },
-
- calendar : function (time) {
- // We want to compare the start of today, vs this.
- // Getting start-of-today depends on whether we're zone'd or not.
- var now = time || moment(),
- sod = makeAs(now, this).startOf('day'),
- diff = this.diff(sod, 'days', true),
- format = diff < -6 ? 'sameElse' :
- diff < -1 ? 'lastWeek' :
- diff < 0 ? 'lastDay' :
- diff < 1 ? 'sameDay' :
- diff < 2 ? 'nextDay' :
- diff < 7 ? 'nextWeek' : 'sameElse';
- return this.format(this.localeData().calendar(format, this));
- },
-
- isLeapYear : function () {
- return isLeapYear(this.year());
- },
-
- isDST : function () {
- return (this.zone() < this.clone().month(0).zone() ||
- this.zone() < this.clone().month(5).zone());
- },
-
- day : function (input) {
- var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
- if (input != null) {
- input = parseWeekday(input, this.localeData());
- return this.add(input - day, 'd');
- } else {
- return day;
- }
- },
-
- month : makeAccessor('Month', true),
-
- startOf : function (units) {
- units = normalizeUnits(units);
- // the following switch intentionally omits break keywords
- // to utilize falling through the cases.
- switch (units) {
- case 'year':
- this.month(0);
- /* falls through */
- case 'quarter':
- case 'month':
- this.date(1);
- /* falls through */
- case 'week':
- case 'isoWeek':
- case 'day':
- this.hours(0);
- /* falls through */
- case 'hour':
- this.minutes(0);
- /* falls through */
- case 'minute':
- this.seconds(0);
- /* falls through */
- case 'second':
- this.milliseconds(0);
- /* falls through */
- }
-
- // weeks are a special case
- if (units === 'week') {
- this.weekday(0);
- } else if (units === 'isoWeek') {
- this.isoWeekday(1);
- }
-
- // quarters are also special
- if (units === 'quarter') {
- this.month(Math.floor(this.month() / 3) * 3);
- }
-
- return this;
- },
-
- endOf: function (units) {
- units = normalizeUnits(units);
- return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms');
- },
-
- isAfter: function (input, units) {
- units = typeof units !== 'undefined' ? units : 'millisecond';
- return +this.clone().startOf(units) > +moment(input).startOf(units);
- },
-
- isBefore: function (input, units) {
- units = typeof units !== 'undefined' ? units : 'millisecond';
- return +this.clone().startOf(units) < +moment(input).startOf(units);
- },
-
- isSame: function (input, units) {
- units = units || 'ms';
- return +this.clone().startOf(units) === +makeAs(input, this).startOf(units);
- },
-
- min: deprecate(
- 'moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548',
- function (other) {
- other = moment.apply(null, arguments);
- return other < this ? this : other;
- }
- ),
-
- max: deprecate(
- 'moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548',
- function (other) {
- other = moment.apply(null, arguments);
- return other > this ? this : other;
- }
- ),
-
- // keepLocalTime = true means only change the timezone, without
- // affecting the local hour. So 5:31:26 +0300 --[zone(2, true)]-->
- // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist int zone
- // +0200, so we adjust the time as needed, to be valid.
- //
- // Keeping the time actually adds/subtracts (one hour)
- // from the actual represented time. That is why we call updateOffset
- // a second time. In case it wants us to change the offset again
- // _changeInProgress == true case, then we have to adjust, because
- // there is no such time in the given timezone.
- zone : function (input, keepLocalTime) {
- var offset = this._offset || 0,
- localAdjust;
- if (input != null) {
- if (typeof input === 'string') {
- input = timezoneMinutesFromString(input);
- }
- if (Math.abs(input) < 16) {
- input = input * 60;
- }
- if (!this._isUTC && keepLocalTime) {
- localAdjust = this._d.getTimezoneOffset();
- }
- this._offset = input;
- this._isUTC = true;
- if (localAdjust != null) {
- this.subtract(localAdjust, 'm');
- }
- if (offset !== input) {
- if (!keepLocalTime || this._changeInProgress) {
- addOrSubtractDurationFromMoment(this,
- moment.duration(offset - input, 'm'), 1, false);
- } else if (!this._changeInProgress) {
- this._changeInProgress = true;
- moment.updateOffset(this, true);
- this._changeInProgress = null;
- }
- }
- } else {
- return this._isUTC ? offset : this._d.getTimezoneOffset();
- }
- return this;
- },
-
- zoneAbbr : function () {
- return this._isUTC ? 'UTC' : '';
- },
-
- zoneName : function () {
- return this._isUTC ? 'Coordinated Universal Time' : '';
- },
-
- parseZone : function () {
- if (this._tzm) {
- this.zone(this._tzm);
- } else if (typeof this._i === 'string') {
- this.zone(this._i);
- }
- return this;
- },
-
- hasAlignedHourOffset : function (input) {
- if (!input) {
- input = 0;
- }
- else {
- input = moment(input).zone();
- }
-
- return (this.zone() - input) % 60 === 0;
- },
-
- daysInMonth : function () {
- return daysInMonth(this.year(), this.month());
- },
-
- dayOfYear : function (input) {
- var dayOfYear = round((moment(this).startOf('day') - moment(this).startOf('year')) / 864e5) + 1;
- return input == null ? dayOfYear : this.add((input - dayOfYear), 'd');
- },
-
- quarter : function (input) {
- return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);
- },
-
- weekYear : function (input) {
- var year = weekOfYear(this, this.localeData()._week.dow, this.localeData()._week.doy).year;
- return input == null ? year : this.add((input - year), 'y');
- },
-
- isoWeekYear : function (input) {
- var year = weekOfYear(this, 1, 4).year;
- return input == null ? year : this.add((input - year), 'y');
- },
-
- week : function (input) {
- var week = this.localeData().week(this);
- return input == null ? week : this.add((input - week) * 7, 'd');
- },
-
- isoWeek : function (input) {
- var week = weekOfYear(this, 1, 4).week;
- return input == null ? week : this.add((input - week) * 7, 'd');
- },
-
- weekday : function (input) {
- var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;
- return input == null ? weekday : this.add(input - weekday, 'd');
- },
-
- isoWeekday : function (input) {
- // behaves the same as moment#day except
- // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
- // as a setter, sunday should belong to the previous week.
- return input == null ? this.day() || 7 : this.day(this.day() % 7 ? input : input - 7);
- },
-
- isoWeeksInYear : function () {
- return weeksInYear(this.year(), 1, 4);
- },
-
- weeksInYear : function () {
- var weekInfo = this.localeData()._week;
- return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);
- },
-
- get : function (units) {
- units = normalizeUnits(units);
- return this[units]();
- },
-
- set : function (units, value) {
- units = normalizeUnits(units);
- if (typeof this[units] === 'function') {
- this[units](value);
- }
- return this;
- },
-
- // If passed a locale key, it will set the locale for this
- // instance. Otherwise, it will return the locale configuration
- // variables for this instance.
- locale : function (key) {
- if (key === undefined) {
- return this._locale._abbr;
- } else {
- this._locale = moment.localeData(key);
- return this;
- }
- },
-
- lang : deprecate(
- "moment().lang() is deprecated. Use moment().localeData() instead.",
- function (key) {
- if (key === undefined) {
- return this.localeData();
- } else {
- this._locale = moment.localeData(key);
- return this;
- }
- }
- ),
-
- localeData : function () {
- return this._locale;
- }
- });
-
- function rawMonthSetter(mom, value) {
- var dayOfMonth;
-
- // TODO: Move this out of here!
- if (typeof value === 'string') {
- value = mom.localeData().monthsParse(value);
- // TODO: Another silent failure?
- if (typeof value !== 'number') {
- return mom;
- }
- }
-
- dayOfMonth = Math.min(mom.date(),
- daysInMonth(mom.year(), value));
- mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);
- return mom;
- }
-
- function rawGetter(mom, unit) {
- return mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]();
- }
-
- function rawSetter(mom, unit, value) {
- if (unit === 'Month') {
- return rawMonthSetter(mom, value);
- } else {
- return mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);
- }
- }
-
- function makeAccessor(unit, keepTime) {
- return function (value) {
- if (value != null) {
- rawSetter(this, unit, value);
- moment.updateOffset(this, keepTime);
- return this;
- } else {
- return rawGetter(this, unit);
- }
- };
- }
-
- moment.fn.millisecond = moment.fn.milliseconds = makeAccessor('Milliseconds', false);
- moment.fn.second = moment.fn.seconds = makeAccessor('Seconds', false);
- moment.fn.minute = moment.fn.minutes = makeAccessor('Minutes', false);
- // Setting the hour should keep the time, because the user explicitly
- // specified which hour he wants. So trying to maintain the same hour (in
- // a new timezone) makes sense. Adding/subtracting hours does not follow
- // this rule.
- moment.fn.hour = moment.fn.hours = makeAccessor('Hours', true);
- // moment.fn.month is defined separately
- moment.fn.date = makeAccessor('Date', true);
- moment.fn.dates = deprecate('dates accessor is deprecated. Use date instead.', makeAccessor('Date', true));
- moment.fn.year = makeAccessor('FullYear', true);
- moment.fn.years = deprecate('years accessor is deprecated. Use year instead.', makeAccessor('FullYear', true));
-
- // add plural methods
- moment.fn.days = moment.fn.day;
- moment.fn.months = moment.fn.month;
- moment.fn.weeks = moment.fn.week;
- moment.fn.isoWeeks = moment.fn.isoWeek;
- moment.fn.quarters = moment.fn.quarter;
-
- // add aliased format methods
- moment.fn.toJSON = moment.fn.toISOString;
-
- /************************************
- Duration Prototype
- ************************************/
-
-
- function daysToYears (days) {
- // 400 years have 146097 days (taking into account leap year rules)
- return days * 400 / 146097;
- }
-
- function yearsToDays (years) {
- // years * 365 + absRound(years / 4) -
- // absRound(years / 100) + absRound(years / 400);
- return years * 146097 / 400;
- }
-
- extend(moment.duration.fn = Duration.prototype, {
-
- _bubble : function () {
- var milliseconds = this._milliseconds,
- days = this._days,
- months = this._months,
- data = this._data,
- seconds, minutes, hours, years = 0;
-
- // The following code bubbles up values, see the tests for
- // examples of what that means.
- data.milliseconds = milliseconds % 1000;
-
- seconds = absRound(milliseconds / 1000);
- data.seconds = seconds % 60;
-
- minutes = absRound(seconds / 60);
- data.minutes = minutes % 60;
-
- hours = absRound(minutes / 60);
- data.hours = hours % 24;
-
- days += absRound(hours / 24);
-
- // Accurately convert days to years, assume start from year 0.
- years = absRound(daysToYears(days));
- days -= absRound(yearsToDays(years));
-
- // 30 days to a month
- // TODO (iskren): Use anchor date (like 1st Jan) to compute this.
- months += absRound(days / 30);
- days %= 30;
-
- // 12 months -> 1 year
- years += absRound(months / 12);
- months %= 12;
-
- data.days = days;
- data.months = months;
- data.years = years;
- },
-
- abs : function () {
- this._milliseconds = Math.abs(this._milliseconds);
- this._days = Math.abs(this._days);
- this._months = Math.abs(this._months);
-
- this._data.milliseconds = Math.abs(this._data.milliseconds);
- this._data.seconds = Math.abs(this._data.seconds);
- this._data.minutes = Math.abs(this._data.minutes);
- this._data.hours = Math.abs(this._data.hours);
- this._data.months = Math.abs(this._data.months);
- this._data.years = Math.abs(this._data.years);
-
- return this;
- },
-
- weeks : function () {
- return absRound(this.days() / 7);
- },
-
- valueOf : function () {
- return this._milliseconds +
- this._days * 864e5 +
- (this._months % 12) * 2592e6 +
- toInt(this._months / 12) * 31536e6;
- },
-
- humanize : function (withSuffix) {
- var output = relativeTime(this, !withSuffix, this.localeData());
-
- if (withSuffix) {
- output = this.localeData().pastFuture(+this, output);
- }
-
- return this.localeData().postformat(output);
- },
-
- add : function (input, val) {
- // supports only 2.0-style add(1, 's') or add(moment)
- var dur = moment.duration(input, val);
-
- this._milliseconds += dur._milliseconds;
- this._days += dur._days;
- this._months += dur._months;
-
- this._bubble();
-
- return this;
- },
-
- subtract : function (input, val) {
- var dur = moment.duration(input, val);
-
- this._milliseconds -= dur._milliseconds;
- this._days -= dur._days;
- this._months -= dur._months;
-
- this._bubble();
-
- return this;
- },
-
- get : function (units) {
- units = normalizeUnits(units);
- return this[units.toLowerCase() + 's']();
- },
-
- as : function (units) {
- var days, months;
- units = normalizeUnits(units);
-
- days = this._days + this._milliseconds / 864e5;
- if (units === 'month' || units === 'year') {
- months = this._months + daysToYears(days) * 12;
- return units === 'month' ? months : months / 12;
- } else {
- days += yearsToDays(this._months / 12);
- switch (units) {
- case 'week': return days / 7;
- case 'day': return days;
- case 'hour': return days * 24;
- case 'minute': return days * 24 * 60;
- case 'second': return days * 24 * 60 * 60;
- case 'millisecond': return days * 24 * 60 * 60 * 1000;
- default: throw new Error('Unknown unit ' + units);
- }
- }
- },
-
- lang : moment.fn.lang,
- locale : moment.fn.locale,
-
- toIsoString : deprecate(
- "toIsoString() is deprecated. Please use toISOString() instead " +
- "(notice the capitals)",
- function () {
- return this.toISOString();
- }
- ),
-
- toISOString : function () {
- // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
- var years = Math.abs(this.years()),
- months = Math.abs(this.months()),
- days = Math.abs(this.days()),
- hours = Math.abs(this.hours()),
- minutes = Math.abs(this.minutes()),
- seconds = Math.abs(this.seconds() + this.milliseconds() / 1000);
-
- if (!this.asSeconds()) {
- // this is the same as C#'s (Noda) and python (isodate)...
- // but not other JS (goog.date)
- return 'P0D';
- }
-
- return (this.asSeconds() < 0 ? '-' : '') +
- 'P' +
- (years ? years + 'Y' : '') +
- (months ? months + 'M' : '') +
- (days ? days + 'D' : '') +
- ((hours || minutes || seconds) ? 'T' : '') +
- (hours ? hours + 'H' : '') +
- (minutes ? minutes + 'M' : '') +
- (seconds ? seconds + 'S' : '');
- },
-
- localeData : function () {
- return this._locale;
- }
- });
-
- function makeDurationGetter(name) {
- moment.duration.fn[name] = function () {
- return this._data[name];
- };
- }
-
- for (i in unitMillisecondFactors) {
- if (unitMillisecondFactors.hasOwnProperty(i)) {
- makeDurationGetter(i.toLowerCase());
- }
- }
-
- moment.duration.fn.asMilliseconds = function () {
- return this.as('ms');
- };
- moment.duration.fn.asSeconds = function () {
- return this.as('s');
- };
- moment.duration.fn.asMinutes = function () {
- return this.as('m');
- };
- moment.duration.fn.asHours = function () {
- return this.as('h');
- };
- moment.duration.fn.asDays = function () {
- return this.as('d');
- };
- moment.duration.fn.asWeeks = function () {
- return this.as('weeks');
- };
- moment.duration.fn.asMonths = function () {
- return this.as('M');
- };
- moment.duration.fn.asYears = function () {
- return this.as('y');
- };
-
- /************************************
- Default Locale
- ************************************/
-
-
- // Set default locale, other locale will inherit from English.
- moment.locale('en', {
- ordinal : function (number) {
- var b = number % 10,
- output = (toInt(number % 100 / 10) === 1) ? 'th' :
- (b === 1) ? 'st' :
- (b === 2) ? 'nd' :
- (b === 3) ? 'rd' : 'th';
- return number + output;
- }
- });
-
- /* EMBED_LOCALES */
-
- /************************************
- Exposing Moment
- ************************************/
-
- function makeGlobal(shouldDeprecate) {
- /*global ender:false */
- if (typeof ender !== 'undefined') {
- return;
- }
- oldGlobalMoment = globalScope.moment;
- if (shouldDeprecate) {
- globalScope.moment = deprecate(
- 'Accessing Moment through the global scope is ' +
- 'deprecated, and will be removed in an upcoming ' +
- 'release.',
- moment);
- } else {
- globalScope.moment = moment;
- }
- }
-
- // CommonJS module is defined
- if (hasModule) {
- module.exports = moment;
- } else if (typeof define === 'function' && define.amd) {
- define('moment', function (require, exports, module) {
- if (module.config && module.config() && module.config().noGlobal === true) {
- // release the global variable
- globalScope.moment = oldGlobalMoment;
- }
-
- return moment;
- });
- makeGlobal(true);
- } else {
- makeGlobal();
- }
-}).call(this); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/moment.min.js b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/moment.min.js
deleted file mode 100644
index 197b5488..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-daterangepicker/moment.min.js
+++ /dev/null
@@ -1,6 +0,0 @@
-//! moment.js
-//! version : 2.8.1
-//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
-//! license : MIT
-//! momentjs.com
-(function(a){function b(a,b,c){switch(arguments.length){case 2:return null!=a?a:b;case 3:return null!=a?a:null!=b?b:c;default:throw new Error("Implement me")}}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function d(a){rb.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+a)}function e(a,b){var c=!0;return l(function(){return c&&(d(a),c=!1),b.apply(this,arguments)},b)}function f(a,b){nc[a]||(d(b),nc[a]=!0)}function g(a,b){return function(c){return o(a.call(this,c),b)}}function h(a,b){return function(c){return this.localeData().ordinal(a.call(this,c),b)}}function i(){}function j(a,b){b!==!1&&E(a),m(this,a),this._d=new Date(+a._d)}function k(a){var b=x(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+36e5*h,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=rb.localeData(),this._bubble()}function l(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return b.hasOwnProperty("toString")&&(a.toString=b.toString),b.hasOwnProperty("valueOf")&&(a.valueOf=b.valueOf),a}function m(a,b){var c,d,e;if("undefined"!=typeof b._isAMomentObject&&(a._isAMomentObject=b._isAMomentObject),"undefined"!=typeof b._i&&(a._i=b._i),"undefined"!=typeof b._f&&(a._f=b._f),"undefined"!=typeof b._l&&(a._l=b._l),"undefined"!=typeof b._strict&&(a._strict=b._strict),"undefined"!=typeof b._tzm&&(a._tzm=b._tzm),"undefined"!=typeof b._isUTC&&(a._isUTC=b._isUTC),"undefined"!=typeof b._offset&&(a._offset=b._offset),"undefined"!=typeof b._pf&&(a._pf=b._pf),"undefined"!=typeof b._locale&&(a._locale=b._locale),Fb.length>0)for(c in Fb)d=Fb[c],e=b[d],"undefined"!=typeof e&&(a[d]=e);return a}function n(a){return 0>a?Math.ceil(a):Math.floor(a)}function o(a,b,c){for(var d=""+Math.abs(a),e=a>=0;d.length<b;)d="0"+d;return(e?c?"+":"":"-")+d}function p(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function q(a,b){var c;return b=J(b,a),a.isBefore(b)?c=p(a,b):(c=p(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c}function r(a,b){return function(c,d){var e,g;return null===d||isNaN(+d)||(f(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period)."),g=c,c=d,d=g),c="string"==typeof c?+c:c,e=rb.duration(c,d),s(this,e,a),this}}function s(a,b,c,d){var e=b._milliseconds,f=b._days,g=b._months;d=null==d?!0:d,e&&a._d.setTime(+a._d+e*c),f&&lb(a,"Date",kb(a,"Date")+f*c),g&&jb(a,kb(a,"Month")+g*c),d&&rb.updateOffset(a,f||g)}function t(a){return"[object Array]"===Object.prototype.toString.call(a)}function u(a){return"[object Date]"===Object.prototype.toString.call(a)||a instanceof Date}function v(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;e>d;d++)(c&&a[d]!==b[d]||!c&&z(a[d])!==z(b[d]))&&g++;return g+f}function w(a){if(a){var b=a.toLowerCase().replace(/(.)s$/,"$1");a=gc[a]||hc[b]||b}return a}function x(a){var b,c,d={};for(c in a)a.hasOwnProperty(c)&&(b=w(c),b&&(d[b]=a[c]));return d}function y(b){var c,d;if(0===b.indexOf("week"))c=7,d="day";else{if(0!==b.indexOf("month"))return;c=12,d="month"}rb[b]=function(e,f){var g,h,i=rb._locale[b],j=[];if("number"==typeof e&&(f=e,e=a),h=function(a){var b=rb().utc().set(d,a);return i.call(rb._locale,b,e||"")},null!=f)return h(f);for(g=0;c>g;g++)j.push(h(g));return j}}function z(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=b>=0?Math.floor(b):Math.ceil(b)),c}function A(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function B(a,b,c){return fb(rb([a,11,31+b-c]),b,c).week}function C(a){return D(a)?366:365}function D(a){return a%4===0&&a%100!==0||a%400===0}function E(a){var b;a._a&&-2===a._pf.overflow&&(b=a._a[yb]<0||a._a[yb]>11?yb:a._a[zb]<1||a._a[zb]>A(a._a[xb],a._a[yb])?zb:a._a[Ab]<0||a._a[Ab]>23?Ab:a._a[Bb]<0||a._a[Bb]>59?Bb:a._a[Cb]<0||a._a[Cb]>59?Cb:a._a[Db]<0||a._a[Db]>999?Db:-1,a._pf._overflowDayOfYear&&(xb>b||b>zb)&&(b=zb),a._pf.overflow=b)}function F(a){return null==a._isValid&&(a._isValid=!isNaN(a._d.getTime())&&a._pf.overflow<0&&!a._pf.empty&&!a._pf.invalidMonth&&!a._pf.nullInput&&!a._pf.invalidFormat&&!a._pf.userInvalidated,a._strict&&(a._isValid=a._isValid&&0===a._pf.charsLeftOver&&0===a._pf.unusedTokens.length)),a._isValid}function G(a){return a?a.toLowerCase().replace("_","-"):a}function H(a){for(var b,c,d,e,f=0;f<a.length;){for(e=G(a[f]).split("-"),b=e.length,c=G(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=I(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&v(e,c,!0)>=b-1)break;b--}f++}return null}function I(a){var b=null;if(!Eb[a]&&Gb)try{b=rb.locale(),require("./locale/"+a),rb.locale(b)}catch(c){}return Eb[a]}function J(a,b){return b._isUTC?rb(a).zone(b._offset||0):rb(a).local()}function K(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function L(a){var b,c,d=a.match(Kb);for(b=0,c=d.length;c>b;b++)d[b]=mc[d[b]]?mc[d[b]]:K(d[b]);return function(e){var f="";for(b=0;c>b;b++)f+=d[b]instanceof Function?d[b].call(e,a):d[b];return f}}function M(a,b){return a.isValid()?(b=N(b,a.localeData()),ic[b]||(ic[b]=L(b)),ic[b](a)):a.localeData().invalidDate()}function N(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Lb.lastIndex=0;d>=0&&Lb.test(a);)a=a.replace(Lb,c),Lb.lastIndex=0,d-=1;return a}function O(a,b){var c,d=b._strict;switch(a){case"Q":return Wb;case"DDDD":return Yb;case"YYYY":case"GGGG":case"gggg":return d?Zb:Ob;case"Y":case"G":case"g":return _b;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return d?$b:Pb;case"S":if(d)return Wb;case"SS":if(d)return Xb;case"SSS":if(d)return Yb;case"DDD":return Nb;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Rb;case"a":case"A":return b._locale._meridiemParse;case"X":return Ub;case"Z":case"ZZ":return Sb;case"T":return Tb;case"SSSS":return Qb;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return d?Xb:Mb;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Mb;case"Do":return Vb;default:return c=new RegExp(X(W(a.replace("\\","")),"i"))}}function P(a){a=a||"";var b=a.match(Sb)||[],c=b[b.length-1]||[],d=(c+"").match(ec)||["-",0,0],e=+(60*d[1])+z(d[2]);return"+"===d[0]?-e:e}function Q(a,b,c){var d,e=c._a;switch(a){case"Q":null!=b&&(e[yb]=3*(z(b)-1));break;case"M":case"MM":null!=b&&(e[yb]=z(b)-1);break;case"MMM":case"MMMM":d=c._locale.monthsParse(b),null!=d?e[yb]=d:c._pf.invalidMonth=b;break;case"D":case"DD":null!=b&&(e[zb]=z(b));break;case"Do":null!=b&&(e[zb]=z(parseInt(b,10)));break;case"DDD":case"DDDD":null!=b&&(c._dayOfYear=z(b));break;case"YY":e[xb]=rb.parseTwoDigitYear(b);break;case"YYYY":case"YYYYY":case"YYYYYY":e[xb]=z(b);break;case"a":case"A":c._isPm=c._locale.isPM(b);break;case"H":case"HH":case"h":case"hh":e[Ab]=z(b);break;case"m":case"mm":e[Bb]=z(b);break;case"s":case"ss":e[Cb]=z(b);break;case"S":case"SS":case"SSS":case"SSSS":e[Db]=z(1e3*("0."+b));break;case"X":c._d=new Date(1e3*parseFloat(b));break;case"Z":case"ZZ":c._useUTC=!0,c._tzm=P(b);break;case"dd":case"ddd":case"dddd":d=c._locale.weekdaysParse(b),null!=d?(c._w=c._w||{},c._w.d=d):c._pf.invalidWeekday=b;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":a=a.substr(0,1);case"gggg":case"GGGG":case"GGGGG":a=a.substr(0,2),b&&(c._w=c._w||{},c._w[a]=z(b));break;case"gg":case"GG":c._w=c._w||{},c._w[a]=rb.parseTwoDigitYear(b)}}function R(a){var c,d,e,f,g,h,i;c=a._w,null!=c.GG||null!=c.W||null!=c.E?(g=1,h=4,d=b(c.GG,a._a[xb],fb(rb(),1,4).year),e=b(c.W,1),f=b(c.E,1)):(g=a._locale._week.dow,h=a._locale._week.doy,d=b(c.gg,a._a[xb],fb(rb(),g,h).year),e=b(c.w,1),null!=c.d?(f=c.d,g>f&&++e):f=null!=c.e?c.e+g:g),i=gb(d,e,f,h,g),a._a[xb]=i.year,a._dayOfYear=i.dayOfYear}function S(a){var c,d,e,f,g=[];if(!a._d){for(e=U(a),a._w&&null==a._a[zb]&&null==a._a[yb]&&R(a),a._dayOfYear&&(f=b(a._a[xb],e[xb]),a._dayOfYear>C(f)&&(a._pf._overflowDayOfYear=!0),d=bb(f,0,a._dayOfYear),a._a[yb]=d.getUTCMonth(),a._a[zb]=d.getUTCDate()),c=0;3>c&&null==a._a[c];++c)a._a[c]=g[c]=e[c];for(;7>c;c++)a._a[c]=g[c]=null==a._a[c]?2===c?1:0:a._a[c];a._d=(a._useUTC?bb:ab).apply(null,g),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()+a._tzm)}}function T(a){var b;a._d||(b=x(a._i),a._a=[b.year,b.month,b.day,b.hour,b.minute,b.second,b.millisecond],S(a))}function U(a){var b=new Date;return a._useUTC?[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()]:[b.getFullYear(),b.getMonth(),b.getDate()]}function V(a){if(a._f===rb.ISO_8601)return void Z(a);a._a=[],a._pf.empty=!0;var b,c,d,e,f,g=""+a._i,h=g.length,i=0;for(d=N(a._f,a._locale).match(Kb)||[],b=0;b<d.length;b++)e=d[b],c=(g.match(O(e,a))||[])[0],c&&(f=g.substr(0,g.indexOf(c)),f.length>0&&a._pf.unusedInput.push(f),g=g.slice(g.indexOf(c)+c.length),i+=c.length),mc[e]?(c?a._pf.empty=!1:a._pf.unusedTokens.push(e),Q(e,c,a)):a._strict&&!c&&a._pf.unusedTokens.push(e);a._pf.charsLeftOver=h-i,g.length>0&&a._pf.unusedInput.push(g),a._isPm&&a._a[Ab]<12&&(a._a[Ab]+=12),a._isPm===!1&&12===a._a[Ab]&&(a._a[Ab]=0),S(a),E(a)}function W(a){return a.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e})}function X(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Y(a){var b,d,e,f,g;if(0===a._f.length)return a._pf.invalidFormat=!0,void(a._d=new Date(0/0));for(f=0;f<a._f.length;f++)g=0,b=m({},a),b._pf=c(),b._f=a._f[f],V(b),F(b)&&(g+=b._pf.charsLeftOver,g+=10*b._pf.unusedTokens.length,b._pf.score=g,(null==e||e>g)&&(e=g,d=b));l(a,d||b)}function Z(a){var b,c,d=a._i,e=ac.exec(d);if(e){for(a._pf.iso=!0,b=0,c=cc.length;c>b;b++)if(cc[b][1].exec(d)){a._f=cc[b][0]+(e[6]||" ");break}for(b=0,c=dc.length;c>b;b++)if(dc[b][1].exec(d)){a._f+=dc[b][0];break}d.match(Sb)&&(a._f+="Z"),V(a)}else a._isValid=!1}function $(a){Z(a),a._isValid===!1&&(delete a._isValid,rb.createFromInputFallback(a))}function _(b){var c,d=b._i;d===a?b._d=new Date:u(d)?b._d=new Date(+d):null!==(c=Hb.exec(d))?b._d=new Date(+c[1]):"string"==typeof d?$(b):t(d)?(b._a=d.slice(0),S(b)):"object"==typeof d?T(b):"number"==typeof d?b._d=new Date(d):rb.createFromInputFallback(b)}function ab(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return 1970>a&&h.setFullYear(a),h}function bb(a){var b=new Date(Date.UTC.apply(null,arguments));return 1970>a&&b.setUTCFullYear(a),b}function cb(a,b){if("string"==typeof a)if(isNaN(a)){if(a=b.weekdaysParse(a),"number"!=typeof a)return null}else a=parseInt(a,10);return a}function db(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function eb(a,b,c){var d=rb.duration(a).abs(),e=wb(d.as("s")),f=wb(d.as("m")),g=wb(d.as("h")),h=wb(d.as("d")),i=wb(d.as("M")),j=wb(d.as("y")),k=e<jc.s&&["s",e]||1===f&&["m"]||f<jc.m&&["mm",f]||1===g&&["h"]||g<jc.h&&["hh",g]||1===h&&["d"]||h<jc.d&&["dd",h]||1===i&&["M"]||i<jc.M&&["MM",i]||1===j&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,db.apply({},k)}function fb(a,b,c){var d,e=c-b,f=c-a.day();return f>e&&(f-=7),e-7>f&&(f+=7),d=rb(a).add(f,"d"),{week:Math.ceil(d.dayOfYear()/7),year:d.year()}}function gb(a,b,c,d,e){var f,g,h=bb(a,0,1).getUTCDay();return h=0===h?7:h,c=null!=c?c:e,f=e-h+(h>d?7:0)-(e>h?7:0),g=7*(b-1)+(c-e)+f+1,{year:g>0?a:a-1,dayOfYear:g>0?g:C(a-1)+g}}function hb(b){var c=b._i,d=b._f;return b._locale=b._locale||rb.localeData(b._l),null===c||d===a&&""===c?rb.invalid({nullInput:!0}):("string"==typeof c&&(b._i=c=b._locale.preparse(c)),rb.isMoment(c)?new j(c,!0):(d?t(d)?Y(b):V(b):_(b),new j(b)))}function ib(a,b){var c,d;if(1===b.length&&t(b[0])&&(b=b[0]),!b.length)return rb();for(c=b[0],d=1;d<b.length;++d)b[d][a](c)&&(c=b[d]);return c}function jb(a,b){var c;return"string"==typeof b&&(b=a.localeData().monthsParse(b),"number"!=typeof b)?a:(c=Math.min(a.date(),A(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a)}function kb(a,b){return a._d["get"+(a._isUTC?"UTC":"")+b]()}function lb(a,b,c){return"Month"===b?jb(a,c):a._d["set"+(a._isUTC?"UTC":"")+b](c)}function mb(a,b){return function(c){return null!=c?(lb(this,a,c),rb.updateOffset(this,b),this):kb(this,a)}}function nb(a){return 400*a/146097}function ob(a){return 146097*a/400}function pb(a){rb.duration.fn[a]=function(){return this._data[a]}}function qb(a){"undefined"==typeof ender&&(sb=vb.moment,vb.moment=a?e("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",rb):rb)}for(var rb,sb,tb,ub="2.8.1",vb="undefined"!=typeof global?global:this,wb=Math.round,xb=0,yb=1,zb=2,Ab=3,Bb=4,Cb=5,Db=6,Eb={},Fb=[],Gb="undefined"!=typeof module&&module.exports,Hb=/^\/?Date\((\-?\d+)/i,Ib=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Jb=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Kb=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,Lb=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,Mb=/\d\d?/,Nb=/\d{1,3}/,Ob=/\d{1,4}/,Pb=/[+\-]?\d{1,6}/,Qb=/\d+/,Rb=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Sb=/Z|[\+\-]\d\d:?\d\d/gi,Tb=/T/i,Ub=/[\+\-]?\d+(\.\d{1,3})?/,Vb=/\d{1,2}/,Wb=/\d/,Xb=/\d\d/,Yb=/\d{3}/,Zb=/\d{4}/,$b=/[+-]?\d{6}/,_b=/[+-]?\d+/,ac=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bc="YYYY-MM-DDTHH:mm:ssZ",cc=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],dc=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],ec=/([\+\-]|\d\d)/gi,fc=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),gc={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},hc={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},ic={},jc={s:45,m:45,h:22,d:26,M:11},kc="DDD w W M D d".split(" "),lc="M D H h m s w W".split(" "),mc={M:function(){return this.month()+1},MMM:function(a){return this.localeData().monthsShort(this,a)},MMMM:function(a){return this.localeData().months(this,a)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(a){return this.localeData().weekdaysMin(this,a)},ddd:function(a){return this.localeData().weekdaysShort(this,a)},dddd:function(a){return this.localeData().weekdays(this,a)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return o(this.year()%100,2)},YYYY:function(){return o(this.year(),4)},YYYYY:function(){return o(this.year(),5)},YYYYYY:function(){var a=this.year(),b=a>=0?"+":"-";return b+o(Math.abs(a),6)},gg:function(){return o(this.weekYear()%100,2)},gggg:function(){return o(this.weekYear(),4)},ggggg:function(){return o(this.weekYear(),5)},GG:function(){return o(this.isoWeekYear()%100,2)},GGGG:function(){return o(this.isoWeekYear(),4)},GGGGG:function(){return o(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return z(this.milliseconds()/100)},SS:function(){return o(z(this.milliseconds()/10),2)},SSS:function(){return o(this.milliseconds(),3)},SSSS:function(){return o(this.milliseconds(),3)},Z:function(){var a=-this.zone(),b="+";return 0>a&&(a=-a,b="-"),b+o(z(a/60),2)+":"+o(z(a)%60,2)},ZZ:function(){var a=-this.zone(),b="+";return 0>a&&(a=-a,b="-"),b+o(z(a/60),2)+o(z(a)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},nc={},oc=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];kc.length;)tb=kc.pop(),mc[tb+"o"]=h(mc[tb],tb);for(;lc.length;)tb=lc.pop(),mc[tb+tb]=g(mc[tb],2);mc.DDDD=g(mc.DDD,3),l(i.prototype,{set:function(a){var b,c;for(c in a)b=a[c],"function"==typeof b?this[c]=b:this["_"+c]=b},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(a){return this._months[a.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(a){return this._monthsShort[a.month()]},monthsParse:function(a){var b,c,d;for(this._monthsParse||(this._monthsParse=[]),b=0;12>b;b++)if(this._monthsParse[b]||(c=rb.utc([2e3,b]),d="^"+this.months(c,"")+"|^"+this.monthsShort(c,""),this._monthsParse[b]=new RegExp(d.replace(".",""),"i")),this._monthsParse[b].test(a))return b},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(a){return this._weekdays[a.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(a){return this._weekdaysShort[a.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(a){return this._weekdaysMin[a.day()]},weekdaysParse:function(a){var b,c,d;for(this._weekdaysParse||(this._weekdaysParse=[]),b=0;7>b;b++)if(this._weekdaysParse[b]||(c=rb([2e3,1]).day(b),d="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[b]=new RegExp(d.replace(".",""),"i")),this._weekdaysParse[b].test(a))return b},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(a){var b=this._longDateFormat[a];return!b&&this._longDateFormat[a.toUpperCase()]&&(b=this._longDateFormat[a.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a]=b),b},isPM:function(a){return"p"===(a+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(a,b){var c=this._calendar[a];return"function"==typeof c?c.apply(b):c},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(a,b,c,d){var e=this._relativeTime[c];return"function"==typeof e?e(a,b,c,d):e.replace(/%d/i,a)},pastFuture:function(a,b){var c=this._relativeTime[a>0?"future":"past"];return"function"==typeof c?c(b):c.replace(/%s/i,b)},ordinal:function(a){return this._ordinal.replace("%d",a)},_ordinal:"%d",preparse:function(a){return a},postformat:function(a){return a},week:function(a){return fb(a,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),rb=function(b,d,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._i=b,g._f=d,g._l=e,g._strict=f,g._isUTC=!1,g._pf=c(),hb(g)},rb.suppressDeprecationWarnings=!1,rb.createFromInputFallback=e("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(a){a._d=new Date(a._i)}),rb.min=function(){var a=[].slice.call(arguments,0);return ib("isBefore",a)},rb.max=function(){var a=[].slice.call(arguments,0);return ib("isAfter",a)},rb.utc=function(b,d,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._useUTC=!0,g._isUTC=!0,g._l=e,g._i=b,g._f=d,g._strict=f,g._pf=c(),hb(g).utc()},rb.unix=function(a){return rb(1e3*a)},rb.duration=function(a,b){var c,d,e,f,g=a,h=null;return rb.isDuration(a)?g={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(g={},b?g[b]=a:g.milliseconds=a):(h=Ib.exec(a))?(c="-"===h[1]?-1:1,g={y:0,d:z(h[zb])*c,h:z(h[Ab])*c,m:z(h[Bb])*c,s:z(h[Cb])*c,ms:z(h[Db])*c}):(h=Jb.exec(a))?(c="-"===h[1]?-1:1,e=function(a){var b=a&&parseFloat(a.replace(",","."));return(isNaN(b)?0:b)*c},g={y:e(h[2]),M:e(h[3]),d:e(h[4]),h:e(h[5]),m:e(h[6]),s:e(h[7]),w:e(h[8])}):"object"==typeof g&&("from"in g||"to"in g)&&(f=q(rb(g.from),rb(g.to)),g={},g.ms=f.milliseconds,g.M=f.months),d=new k(g),rb.isDuration(a)&&a.hasOwnProperty("_locale")&&(d._locale=a._locale),d},rb.version=ub,rb.defaultFormat=bc,rb.ISO_8601=function(){},rb.momentProperties=Fb,rb.updateOffset=function(){},rb.relativeTimeThreshold=function(b,c){return jc[b]===a?!1:c===a?jc[b]:(jc[b]=c,!0)},rb.lang=e("moment.lang is deprecated. Use moment.locale instead.",function(a,b){return rb.locale(a,b)}),rb.locale=function(a,b){var c;return a&&(c="undefined"!=typeof b?rb.defineLocale(a,b):rb.localeData(a),c&&(rb.duration._locale=rb._locale=c)),rb._locale._abbr},rb.defineLocale=function(a,b){return null!==b?(b.abbr=a,Eb[a]||(Eb[a]=new i),Eb[a].set(b),rb.locale(a),Eb[a]):(delete Eb[a],null)},rb.langData=e("moment.langData is deprecated. Use moment.localeData instead.",function(a){return rb.localeData(a)}),rb.localeData=function(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return rb._locale;if(!t(a)){if(b=I(a))return b;a=[a]}return H(a)},rb.isMoment=function(a){return a instanceof j||null!=a&&a.hasOwnProperty("_isAMomentObject")},rb.isDuration=function(a){return a instanceof k};for(tb=oc.length-1;tb>=0;--tb)y(oc[tb]);rb.normalizeUnits=function(a){return w(a)},rb.invalid=function(a){var b=rb.utc(0/0);return null!=a?l(b._pf,a):b._pf.userInvalidated=!0,b},rb.parseZone=function(){return rb.apply(null,arguments).parseZone()},rb.parseTwoDigitYear=function(a){return z(a)+(z(a)>68?1900:2e3)},l(rb.fn=j.prototype,{clone:function(){return rb(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var a=rb(this).utc();return 0<a.year()&&a.year()<=9999?M(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):M(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var a=this;return[a.year(),a.month(),a.date(),a.hours(),a.minutes(),a.seconds(),a.milliseconds()]},isValid:function(){return F(this)},isDSTShifted:function(){return this._a?this.isValid()&&v(this._a,(this._isUTC?rb.utc(this._a):rb(this._a)).toArray())>0:!1},parsingFlags:function(){return l({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(a){return this.zone(0,a)},local:function(a){return this._isUTC&&(this.zone(0,a),this._isUTC=!1,a&&this.add(this._d.getTimezoneOffset(),"m")),this},format:function(a){var b=M(this,a||rb.defaultFormat);return this.localeData().postformat(b)},add:r(1,"add"),subtract:r(-1,"subtract"),diff:function(a,b,c){var d,e,f=J(a,this),g=6e4*(this.zone()-f.zone());return b=w(b),"year"===b||"month"===b?(d=432e5*(this.daysInMonth()+f.daysInMonth()),e=12*(this.year()-f.year())+(this.month()-f.month()),e+=(this-rb(this).startOf("month")-(f-rb(f).startOf("month")))/d,e-=6e4*(this.zone()-rb(this).startOf("month").zone()-(f.zone()-rb(f).startOf("month").zone()))/d,"year"===b&&(e/=12)):(d=this-f,e="second"===b?d/1e3:"minute"===b?d/6e4:"hour"===b?d/36e5:"day"===b?(d-g)/864e5:"week"===b?(d-g)/6048e5:d),c?e:n(e)},from:function(a,b){return rb.duration({to:this,from:a}).locale(this.locale()).humanize(!b)},fromNow:function(a){return this.from(rb(),a)},calendar:function(a){var b=a||rb(),c=J(b,this).startOf("day"),d=this.diff(c,"days",!0),e=-6>d?"sameElse":-1>d?"lastWeek":0>d?"lastDay":1>d?"sameDay":2>d?"nextDay":7>d?"nextWeek":"sameElse";return this.format(this.localeData().calendar(e,this))},isLeapYear:function(){return D(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(a){var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=cb(a,this.localeData()),this.add(a-b,"d")):b},month:mb("Month",!0),startOf:function(a){switch(a=w(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a?this.weekday(0):"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(a){return a=w(a),this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms")},isAfter:function(a,b){return b="undefined"!=typeof b?b:"millisecond",+this.clone().startOf(b)>+rb(a).startOf(b)},isBefore:function(a,b){return b="undefined"!=typeof b?b:"millisecond",+this.clone().startOf(b)<+rb(a).startOf(b)},isSame:function(a,b){return b=b||"ms",+this.clone().startOf(b)===+J(a,this).startOf(b)},min:e("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(a){return a=rb.apply(null,arguments),this>a?this:a}),max:e("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(a){return a=rb.apply(null,arguments),a>this?this:a}),zone:function(a,b){var c,d=this._offset||0;return null==a?this._isUTC?d:this._d.getTimezoneOffset():("string"==typeof a&&(a=P(a)),Math.abs(a)<16&&(a=60*a),!this._isUTC&&b&&(c=this._d.getTimezoneOffset()),this._offset=a,this._isUTC=!0,null!=c&&this.subtract(c,"m"),d!==a&&(!b||this._changeInProgress?s(this,rb.duration(d-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,rb.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(a){return a=a?rb(a).zone():0,(this.zone()-a)%60===0},daysInMonth:function(){return A(this.year(),this.month())},dayOfYear:function(a){var b=wb((rb(this).startOf("day")-rb(this).startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")},quarter:function(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)},weekYear:function(a){var b=fb(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==a?b:this.add(a-b,"y")},isoWeekYear:function(a){var b=fb(this,1,4).year;return null==a?b:this.add(a-b,"y")},week:function(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")},isoWeek:function(a){var b=fb(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")},weekday:function(a){var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")},isoWeekday:function(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)},isoWeeksInYear:function(){return B(this.year(),1,4)},weeksInYear:function(){var a=this.localeData()._week;return B(this.year(),a.dow,a.doy)},get:function(a){return a=w(a),this[a]()},set:function(a,b){return a=w(a),"function"==typeof this[a]&&this[a](b),this},locale:function(b){return b===a?this._locale._abbr:(this._locale=rb.localeData(b),this)},lang:e("moment().lang() is deprecated. Use moment().localeData() instead.",function(b){return b===a?this.localeData():(this._locale=rb.localeData(b),this)}),localeData:function(){return this._locale}}),rb.fn.millisecond=rb.fn.milliseconds=mb("Milliseconds",!1),rb.fn.second=rb.fn.seconds=mb("Seconds",!1),rb.fn.minute=rb.fn.minutes=mb("Minutes",!1),rb.fn.hour=rb.fn.hours=mb("Hours",!0),rb.fn.date=mb("Date",!0),rb.fn.dates=e("dates accessor is deprecated. Use date instead.",mb("Date",!0)),rb.fn.year=mb("FullYear",!0),rb.fn.years=e("years accessor is deprecated. Use year instead.",mb("FullYear",!0)),rb.fn.days=rb.fn.day,rb.fn.months=rb.fn.month,rb.fn.weeks=rb.fn.week,rb.fn.isoWeeks=rb.fn.isoWeek,rb.fn.quarters=rb.fn.quarter,rb.fn.toJSON=rb.fn.toISOString,l(rb.duration.fn=k.prototype,{_bubble:function(){var a,b,c,d=this._milliseconds,e=this._days,f=this._months,g=this._data,h=0;g.milliseconds=d%1e3,a=n(d/1e3),g.seconds=a%60,b=n(a/60),g.minutes=b%60,c=n(b/60),g.hours=c%24,e+=n(c/24),h=n(nb(e)),e-=n(ob(h)),f+=n(e/30),e%=30,h+=n(f/12),f%=12,g.days=e,g.months=f,g.years=h},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return n(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*z(this._months/12)},humanize:function(a){var b=eb(this,!a,this.localeData());return a&&(b=this.localeData().pastFuture(+this,b)),this.localeData().postformat(b)},add:function(a,b){var c=rb.duration(a,b);return this._milliseconds+=c._milliseconds,this._days+=c._days,this._months+=c._months,this._bubble(),this},subtract:function(a,b){var c=rb.duration(a,b);return this._milliseconds-=c._milliseconds,this._days-=c._days,this._months-=c._months,this._bubble(),this},get:function(a){return a=w(a),this[a.toLowerCase()+"s"]()},as:function(a){var b,c;if(a=w(a),b=this._days+this._milliseconds/864e5,"month"===a||"year"===a)return c=this._months+12*nb(b),"month"===a?c:c/12;switch(b+=ob(this._months/12),a){case"week":return b/7;case"day":return b;case"hour":return 24*b;case"minute":return 24*b*60;case"second":return 24*b*60*60;case"millisecond":return 24*b*60*60*1e3;default:throw new Error("Unknown unit "+a)}},lang:rb.fn.lang,locale:rb.fn.locale,toIsoString:e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var a=Math.abs(this.years()),b=Math.abs(this.months()),c=Math.abs(this.days()),d=Math.abs(this.hours()),e=Math.abs(this.minutes()),f=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(a?a+"Y":"")+(b?b+"M":"")+(c?c+"D":"")+(d||e||f?"T":"")+(d?d+"H":"")+(e?e+"M":"")+(f?f+"S":""):"P0D"},localeData:function(){return this._locale}});for(tb in fc)fc.hasOwnProperty(tb)&&pb(tb.toLowerCase());rb.duration.fn.asMilliseconds=function(){return this.as("ms")},rb.duration.fn.asSeconds=function(){return this.as("s")},rb.duration.fn.asMinutes=function(){return this.as("m")},rb.duration.fn.asHours=function(){return this.as("h")},rb.duration.fn.asDays=function(){return this.as("d")},rb.duration.fn.asWeeks=function(){return this.as("weeks")},rb.duration.fn.asMonths=function(){return this.as("M")},rb.duration.fn.asYears=function(){return this.as("y")},rb.locale("en",{ordinal:function(a){var b=a%10,c=1===z(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),Gb?module.exports=rb:"function"==typeof define&&define.amd?(define("moment",function(a,b,c){return c.config&&c.config()&&c.config().noGlobal===!0&&(vb.moment=sb),rb}),qb(!0)):qb()}).call(this); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/css/fileinput.min.css b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/css/fileinput.min.css
deleted file mode 100644
index 58c9f455..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/css/fileinput.min.css
+++ /dev/null
@@ -1,11 +0,0 @@
-/*!
- * @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2015
- * @package bootstrap-fileinput
- * @version 4.2.3
- *
- * File input styling for Bootstrap 3.0
- * Built for Yii Framework 2.0
- * Author: Kartik Visweswaran
- * Year: 2015
- * For more Yii related demos visit http://demos.krajee.com
- */.file-input{overflow-x:auto}.file-loading{top:0;right:0;width:25px;height:25px;font-size:999px;text-align:right;color:#fff;background:transparent url(../img/loading.gif) top left no-repeat;border:none}.btn-file{position:relative;overflow:hidden}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;text-align:right;filter:alpha(opacity=0);opacity:0;background:none repeat scroll 0 0 transparent;cursor:inherit;display:block}.file-caption .glyphicon{display:inline-block;min-width:18px;margin-top:2px}.file-caption-name{display:inline-block;overflow:hidden;max-height:20px;padding-right:10px;word-break:break-all}.file-caption-ellipsis{position:absolute;right:10px;margin-top:-6px;font-size:1.2em;display:none;font-weight:700;cursor:default}.kv-has-ellipsis .file-caption-ellipsis{display:inline}.kv-has-ellipsis{padding-right:17px}.kv-search-container .kv-search-clear{position:absolute;padding:10px;right:0}.file-error-message{background-color:#f2dede;color:#a94442;text-align:center;border-radius:5px;padding:5px}.file-error-message pre,.file-error-message ul{margin:5px 0;text-align:left}.file-caption-disabled{background-color:#EEE;cursor:not-allowed;opacity:1}.file-input .btn .disabled,.file-input .btn[disabled]{cursor:not-allowed}.file-preview{border-radius:5px;border:1px solid #ddd;padding:5px;width:100%;margin-bottom:5px}.file-preview-frame{display:table;margin:8px;height:100px;border:1px solid #ddd;box-shadow:1px 1px 5px 0 #a2958a;padding:6px;float:left;text-align:center;vertical-align:middle}.file-preview-frame:hover{box-shadow:3px 3px 5px 0 #333}.file-preview-image{height:160px;vertical-align:text-center}.file-preview-text{width:160px;color:#428bca;font-size:11px;text-align:center}.file-preview-other{padding-top:20px;text-align:center}.file-preview-other i{font-size:2.4em}.file-other-error{width:100%;padding-top:30px;text-align:right}.file-input-ajax-new .fileinput-remove-button,.file-input-ajax-new .fileinput-upload-button,.file-input-new .close,.file-input-new .file-preview,.file-input-new .fileinput-remove-button,.file-input-new .fileinput-upload-button,.file-input-new .glyphicon-file{display:none}.loading{background:transparent url(../img/loading.gif) no-repeat scroll center center content-box!important}.wrap-indicator{font-weight:700;color:#245269;cursor:pointer}.file-actions{text-align:left}.file-footer-buttons{float:right}.file-thumbnail-footer .file-caption-name{padding-top:4px;font-size:11px;color:#777}.file-upload-indicator{padding-top:2px;cursor:default}.file-upload-indicator:hover{font-size:1.2em;font-weight:700;padding-top:0}.file-drop-zone{border:1px dashed #aaa;border-radius:4px;height:100%;text-align:center;vertical-align:middle;margin:12px 15px 12px 12px;padding:5px}.file-drop-zone-title{color:#aaa;font-size:30px;padding:20px 10px}.highlighted{border:2px dashed #999!important;background-color:#f0f0f0}.file-uploading{background-image:url(../img/loading-sm.gif);background-position:center bottom 10px;background-repeat:no-repeat;opacity:.6}.file-icon-large{font-size:1.2em} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/img/loading-sm.gif b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/img/loading-sm.gif
deleted file mode 100644
index 44e3b7a0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/img/loading-sm.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/img/loading.gif b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/img/loading.gif
deleted file mode 100644
index 0ea146c0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/img/loading.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/js/fileinput.min.js b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/js/fileinput.min.js
deleted file mode 100644
index efe8633c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/js/fileinput.min.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*!
- * @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2015
- * @version 4.2.3
- *
- * File input styled for Bootstrap 3.0 that utilizes HTML5 File Input's advanced
- * features including the FileReader API.
- *
- * The plugin drastically enhances the HTML file input to preview multiple files on the client before
- * upload. In addition it provides the ability to preview content of images, text, videos, audio, html,
- * flash and other objects. It also offers the ability to upload and delete files using AJAX, and add
- * files in batches (i.e. preview, append, or remove before upload).
- *
- * Author: Kartik Visweswaran
- * Copyright: 2015, Kartik Visweswaran, Krajee.com
- * For more JQuery plugins visit http://plugins.krajee.com
- * For more Yii related demos visit http://demos.krajee.com
- */!function(e){"use strict";e.fn.fileinputLocales={},String.prototype.repl=function(e,i){return this.split(e).join(i)};var i=function(e){var i,t=document.createElement("div");return t.innerHTML="<!--[if IE "+e+"]><i></i><![endif]-->",i=1===t.getElementsByTagName("i").length,document.body.appendChild(t),t.parentNode.removeChild(t),i},t={data:{},init:function(e){var i=e.initialPreview,a=e.id;i.length>0&&!z(i)&&(i=i.split(e.initialPreviewDelimiter)),t.data[a]={content:i,config:e.initialPreviewConfig,tags:e.initialPreviewThumbTags,delimiter:e.initialPreviewDelimiter,template:e.previewGenericTemplate,msg:function(i){return e.getMsgSelected(i)},initId:e.previewInitId,footer:e.getLayoutTemplate("footer"),isDelete:e.initialPreviewShowDelete,caption:e.initialCaption,actions:function(i,t,a,n,r){return e.renderFileActions(i,t,a,n,r)}}},fetch:function(e){return t.data[e].content.filter(function(e){return null!==e})},count:function(e,i){return t.data[e]&&t.data[e].content?i?t.data[e].content.length:t.fetch(e).length:0},get:function(i,a,n){var r,l,o="init_"+a,s=t.data[i],d=s.config[a],c=s.initId+"-"+o,p=" file-preview-initial";return n=void 0===n?!0:n,null===s.content[a]?"":(R(d)||R(d.frameClass)||(p+=" "+d.frameClass),r=s.template.repl("{previewId}",c).repl("{frameClass}",p).repl("{fileindex}",o).repl("{content}",s.content[a]).repl("{footer}",t.footer(i,a,n)),s.tags.length&&s.tags[a]&&(r=H(r,s.tags[a])),R(d)||R(d.frameAttr)||(l=e(document.createElement("div")).html(r),l.find(".file-preview-initial").attr(d.frameAttr),r=l.html(),l.remove()),r)},add:function(i,a,n,r,l){var o,s=e.extend(!0,{},t.data[i]);return z(a)||(a=a.split(s.delimiter)),l?(o=s.content.push(a)-1,s.config[o]=n,s.tags[o]=r):(o=a.length,s.content=a,s.config=n,s.tags=r),t.data[i]=s,o},set:function(i,a,n,r,l){var o,s=e.extend(!0,{},t.data[i]);if(z(a)||(a=a.split(s.delimiter)),l){for(o=0;o<a.length;o++)s.content.push(a[o]);for(o=0;o<n.length;o++)s.config.push(n[o]);for(o=0;o<r.length;o++)s.tags.push(r[o])}else s.content=a,s.config=n,s.tags=r;t.data[i]=s},unset:function(e,i){var a=t.count(e);if(a){if(1===a)return t.data[e].content=[],void(t.data[e].config=[]);t.data[e].content[i]=null,t.data[e].config[i]=null}},out:function(e){var i,a="",n=t.data[e],r=t.count(e,!0);if(0===r)return{content:"",caption:""};for(var l=0;r>l;l++)a+=t.get(e,l);return i=n.msg(t.count(e)),{content:a,caption:i}},footer:function(e,i,a){var n=t.data[e];if(a=void 0===a?!0:a,0===n.config.length||R(n.config[i]))return"";var r=n.config[i],l=M("caption",r)?r.caption:"",o=M("width",r)?r.width:"auto",s=M("url",r)?r.url:!1,d=M("key",r)?r.key:null,c=s===!1&&a,p=n.isDelete?n.actions(!1,!0,c,s,d):"",u=n.footer.repl("{actions}",p);return u.repl("{caption}",l).repl("{width}",o).repl("{indicator}","").repl("{indicatorTitle}","")}},a=function(e,i){return i=i||0,"number"==typeof e?e:("string"==typeof e&&(e=parseFloat(e)),isNaN(e)?i:e)},n=function(){return window.File&&window.FileReader},r=function(){var e=document.createElement("div");return!i(9)&&(void 0!==e.draggable||void 0!==e.ondragstart&&void 0!==e.ondrop)},l=function(){return n()&&window.FormData},o=function(e,i){e.removeClass(i).addClass(i)},s='style="width:{width};height:{height};"',d=' <param name="controller" value="true" />\n <param name="allowFullScreen" value="true" />\n <param name="allowScriptAccess" value="always" />\n <param name="autoPlay" value="false" />\n <param name="autoStart" value="false" />\n <param name="quality" value="high" />\n',c='<div class="file-preview-other">\n {previewFileIcon}\n </div>',p={removeIcon:'<i class="glyphicon glyphicon-trash text-danger"></i>',removeClass:"btn btn-xs btn-default",removeTitle:"Remove file",uploadIcon:'<i class="glyphicon glyphicon-upload text-info"></i>',uploadClass:"btn btn-xs btn-default",uploadTitle:"Upload file",indicatorNew:'<i class="glyphicon glyphicon-hand-down text-warning"></i>',indicatorSuccess:'<i class="glyphicon glyphicon-ok-sign file-icon-large text-success"></i>',indicatorError:'<i class="glyphicon glyphicon-exclamation-sign text-danger"></i>',indicatorLoading:'<i class="glyphicon glyphicon-hand-up text-muted"></i>',indicatorNewTitle:"Not uploaded yet",indicatorSuccessTitle:"Uploaded",indicatorErrorTitle:"Upload Error",indicatorLoadingTitle:"Uploading ..."},u='{preview}\n<div class="kv-upload-progress hide"></div>\n<div class="input-group {class}">\n {caption}\n <div class="input-group-btn">\n {remove}\n {cancel}\n {upload}\n {browse}\n </div>\n</div>',f='{preview}\n<div class="kv-upload-progress hide"></div>\n{remove}\n{cancel}\n{upload}\n{browse}\n',v='<div class="file-preview {class}">\n <div class="close fileinput-remove">&times;</div>\n <div class="{dropClass}">\n <div class="file-preview-thumbnails">\n </div>\n <div class="clearfix"></div> <div class="file-preview-status text-center text-success"></div>\n <div class="kv-fileinput-error"></div>\n </div>\n</div>',h='<span class="glyphicon glyphicon-file kv-caption-icon"></span>',m='<div tabindex="-1" class="form-control file-caption {class}">\n <span class="file-caption-ellipsis">&hellip;</span>\n <div class="file-caption-name"></div>\n</div>',g='<div id="{id}" class="modal fade">\n <div class="modal-dialog modal-lg">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>\n <h3 class="modal-title">Detailed Preview <small>{title}</small></h3>\n </div>\n <div class="modal-body">\n <textarea class="form-control" style="font-family:Monaco,Consolas,monospace; height: {height}px;" readonly>{body}</textarea>\n </div>\n </div>\n </div>\n</div>',w='<div class="progress">\n <div class="{class}" role="progressbar" aria-valuenow="{percent}" aria-valuemin="0" aria-valuemax="100" style="width:{percent}%;">\n {percent}%\n </div>\n</div>',b='<div class="file-thumbnail-footer">\n <div class="file-caption-name">{caption}</div>\n {actions}\n</div>',x='<div class="file-actions">\n <div class="file-footer-buttons">\n {upload}{delete}{other} </div>\n <div class="file-upload-indicator" tabindex="-1" title="{indicatorTitle}">{indicator}</div>\n <div class="clearfix"></div>\n</div>',C='<button type="button" class="kv-file-remove {removeClass}" title="{removeTitle}"{dataUrl}{dataKey}>{removeIcon}</button>\n',y='<button type="button" class="kv-file-upload {uploadClass}" title="{uploadTitle}"> {uploadIcon}\n</button>\n',T='<div class="file-preview-frame{frameClass}" id="{previewId}" data-fileindex="{fileindex}">\n {content}\n {footer}\n</div>\n',E='<div class="file-preview-frame{frameClass}" id="{previewId}" data-fileindex="{fileindex}">\n <object data="{data}" type="{type}" width="{width}" height="{height}">\n '+c+"\n </object>\n {footer}\n</div>",k='<div class="file-preview-frame{frameClass}" id="{previewId}" data-fileindex="{fileindex}">\n <img src="{data}" class="file-preview-image" title="{caption}" alt="{caption}" '+s+">\n {footer}\n</div>\n",F='<div class="file-preview-frame{frameClass}" id="{previewId}" data-fileindex="{fileindex}">\n <div class="file-preview-text" title="{caption}" '+s+">\n {data}\n </div>\n {footer}\n</div>",$='<div class="file-preview-frame{frameClass}" id="{previewId}" data-fileindex="{fileindex}" title="{caption}" '+s+'>\n <video width="{width}" height="{height}" controls>\n <source src="{data}" type="{type}">\n '+c+"\n </video>\n {footer}\n</div>\n",I='<div class="file-preview-frame{frameClass}" id="{previewId}" data-fileindex="{fileindex}" title="{caption}" '+s+'>\n <audio controls>\n <source src="{data}" type="{type}">\n '+c+"\n </audio>\n {footer}\n</div>",D='<div class="file-preview-frame{frameClass}" id="{previewId}" data-fileindex="{fileindex}" title="{caption}" '+s+'>\n <object type="application/x-shockwave-flash" width="{width}" height="{height}" data="{data}">\n'+d+" "+c+"\n </object>\n {footer}\n</div>\n",P='<div class="file-preview-frame{frameClass}" id="{previewId}" data-fileindex="{fileindex}" title="{caption}" '+s+'>\n <object data="{data}" type="{type}" width="{width}" height="{height}">\n <param name="movie" value="{caption}" />\n'+d+" "+c+"\n </object>\n {footer}\n</div>",S='<div class="file-preview-frame{frameClass}" id="{previewId}" data-fileindex="{fileindex}" title="{caption}" '+s+">\n "+c+"\n {footer}\n</div>",U={main1:u,main2:f,preview:v,icon:h,caption:m,modal:g,progress:w,footer:b,actions:x,actionDelete:C,actionUpload:y},j={generic:T,html:E,image:k,text:F,video:$,audio:I,flash:D,object:P,other:S},A=["image","html","text","video","audio","flash","object"],L={image:{width:"auto",height:"160px"},html:{width:"213px",height:"160px"},text:{width:"160px",height:"160px"},video:{width:"213px",height:"160px"},audio:{width:"213px",height:"80px"},flash:{width:"213px",height:"160px"},object:{width:"160px",height:"160px"},other:{width:"160px",height:"160px"}},O={image:function(e,i){return void 0!==e?e.match("image.*"):i.match(/\.(gif|png|jpe?g)$/i)},html:function(e,i){return void 0!==e?"text/html"===e:i.match(/\.(htm|html)$/i)},text:function(e,i){return void 0!==e&&e.match("text.*")||i.match(/\.(txt|md|csv|nfo|php|ini)$/i)},video:function(e,i){return void 0!==e&&e.match(/\.video\/(ogg|mp4|webm)$/i)||i.match(/\.(og?|mp4|webm)$/i)},audio:function(e,i){return void 0!==e&&e.match(/\.audio\/(ogg|mp3|wav)$/i)||i.match(/\.(ogg|mp3|wav)$/i)},flash:function(e,i){return void 0!==e&&"application/x-shockwave-flash"===e||i.match(/\.(swf)$/i)},object:function(){return!0},other:function(){return!0}},R=function(i,t){return null===i||void 0===i||0===i.length||t&&""===e.trim(i)},z=function(e){return Array.isArray(e)||"[object Array]"===Object.prototype.toString.call(e)},M=function(e,i){return"object"==typeof i&&e in i},N=function(i,t,a){return R(i)||R(i[t])?a:e(i[t])},B=function(){return Math.round((new Date).getTime()+100*Math.random())},Z=function(e){return String(e).repl("&","&amp;").repl('"',"&quot;").repl("'","&#39;").repl("<","&lt;").repl(">","&gt;")},H=function(i,t){var a=i;return t=t||{},e.each(t,function(e,i){"function"==typeof i&&(i=i()),a=a.repl(e,i)}),a},W=window.URL||window.webkitURL,_=function(t,a){var r=this;r.$element=e(t),r.validate()&&(r.isPreviewable=n(),r.isIE9=i(9),r.isIE10=i(10),r.isPreviewable||r.isIE9?(r.init(a),r.listen()):r.$element.removeClass("file-loading"))};_.prototype={constructor:_,validate:function(){var e,i=this;return"file"===i.$element.attr("type")?!0:(e='<div class="help-block alert alert-warning"><h4>Invalid Input Type</h4>You must set an input <code>type = file</code> for <b>bootstrap-fileinput</b> plugin to initialize.</div>',i.$element.after(e),!1)},init:function(i){var n,s=this,d=s.$element;e.each(i,function(e,i){s[e]="maxFileCount"===e||"maxFileSize"===e?a(i):i}),s.fileInputCleared=!1,s.fileBatchCompleted=!0,R(s.allowedPreviewTypes)&&(s.allowedPreviewTypes=A),s.isPreviewable||(s.showPreview=!1),s.uploadFileAttr=R(d.attr("name"))?"file_data":d.attr("name"),s.reader=null,s.formdata={},s.filestack=[],s.ajaxRequests=[],s.isError=!1,s.ajaxAborted=!1,s.dropZoneEnabled=r()&&s.dropZoneEnabled,s.isDisabled=s.$element.attr("disabled")||s.$element.attr("readonly"),s.isUploadable=l()&&!R(s.uploadUrl),s.slug="function"==typeof i.slugCallback?i.slugCallback:s.slugDefault,s.mainTemplate=s.getLayoutTemplate(s.showCaption?"main1":"main2"),s.captionTemplate=s.getLayoutTemplate("caption"),s.previewGenericTemplate=s.getPreviewTemplate("generic"),R(s.$element.attr("id"))&&s.$element.attr("id",B()),void 0===s.$container?s.$container=s.createContainer():s.refreshContainer(),s.$progress=s.$container.find(".kv-upload-progress"),s.$btnUpload=s.$container.find(".kv-fileinput-upload"),s.$captionContainer=N(i,"elCaptionContainer",s.$container.find(".file-caption")),s.$caption=N(i,"elCaptionText",s.$container.find(".file-caption-name")),s.$previewContainer=N(i,"elPreviewContainer",s.$container.find(".file-preview")),s.$preview=N(i,"elPreviewImage",s.$container.find(".file-preview-thumbnails")),s.$previewStatus=N(i,"elPreviewStatus",s.$container.find(".file-preview-status")),s.$errorContainer=N(i,"elErrorContainer",s.$previewContainer.find(".kv-fileinput-error")),R(s.msgErrorClass)||o(s.$errorContainer,s.msgErrorClass),s.$errorContainer.hide(),s.fileActionSettings=e.extend(p,i.fileActionSettings),s.previewInitId="preview-"+B(),s.id=s.$element.attr("id"),t.init(s),s.initPreview(!0),s.initPreviewDeletes(),s.options=i,s.setFileDropZoneTitle(),s.uploadCount=0,s.uploadPercent=0,s.$element.removeClass("file-loading"),n=s.getLayoutTemplate("progress"),s.progressTemplate=n.replace("{class}",s.progressClass),s.progressCompleteTemplate=n.replace("{class}",s.progressCompleteClass),s.setEllipsis()},parseError:function(i,t,a){var n=this,r=e.trim(t+""),l="."===r.slice(-1)?"":".",o=void 0!==i.responseJSON&&void 0!==i.responseJSON.error?i.responseJSON.error:i.responseText;return n.showAjaxErrorDetails?(o=e.trim(o.replace(/\n\s*\n/g,"\n")),o=o.length>0?"<pre>"+o+"</pre>":"",r+=l+o):r+=l,a?"<b>"+a+": </b>"+i:r},raise:function(i,t){var a=this,n=e.Event(i);if(void 0!==t?a.$element.trigger(n,t):a.$element.trigger(n),!n.result)return n.result;switch(i){case"filebatchuploadcomplete":case"filebatchuploadsuccess":case"fileuploaded":case"fileclear":case"filecleared":case"filereset":case"fileerror":case"filefoldererror":case"fileuploaderror":case"filebatchuploaderror":case"filedeleteerror":case"filecustomerror":case"filesuccessremove":break;default:a.ajaxAborted=n.result}return!0},getLayoutTemplate:function(e){var i=this,t=M(e,i.layoutTemplates)?i.layoutTemplates[e]:U[e];return R(i.customLayoutTags)?t:H(t,i.customLayoutTags)},getPreviewTemplate:function(e){var i=this,t=M(e,i.previewTemplates)?i.previewTemplates[e]:j[e];return t=t.repl("{previewFileIcon}",i.previewFileIcon),R(i.customPreviewTags)?t:H(t,i.customPreviewTags)},getOutData:function(e,i,t){var a=this;return e=e||{},i=i||{},t=t||a.filestack.slice(0)||{},{form:a.formdata,files:t,extra:a.getExtraData(),response:i,reader:a.reader,jqXHR:e}},setEllipsis:function(){var e=this,i=e.$captionContainer,t=e.$caption,a=t.clone().css("height","auto").hide();i.parent().before(a),i.removeClass("kv-has-ellipsis"),a.outerWidth()>t.outerWidth()&&i.addClass("kv-has-ellipsis"),a.remove()},listen:function(){var i=this,t=i.$element,a=i.$captionContainer,n=i.$btnFile,r=t.closest("form");t.on("change",e.proxy(i.change,i)),e(window).on("resize",function(){i.setEllipsis()}),n.off("click").on("click",function(){i.raise("filebrowse"),i.isError&&!i.isUploadable&&i.clear(),a.focus()}),r.off("reset").on("reset",e.proxy(i.reset,i)),i.$container.off("click").on("click",".fileinput-remove:not([disabled])",e.proxy(i.clear,i)).on("click",".fileinput-cancel",e.proxy(i.cancel,i)),i.isUploadable&&i.dropZoneEnabled&&i.showPreview&&i.initDragDrop(),i.isUploadable||r.on("submit",e.proxy(i.submitForm,i)),i.$container.find(".kv-fileinput-upload").off("click").on("click",function(t){var a,n=e(this),r=!n.hasClass("disabled")&&R(n.attr("disabled"));return i.isUploadable?(t.preventDefault(),void(r&&i.upload())):void(r&&"submit"!==n.attr("type")&&(a=n.closest("form"),a.length&&a.trigger("submit"),t.preventDefault()))})},submitForm:function(){var e=this,i=e.$element,t=i.get(0).files;return t&&t.length<e.minFileCount&&e.minFileCount>0?(e.noFilesError({}),!1):!e.abort({})},abort:function(i){var t,a=this;return a.ajaxAborted&&"object"==typeof a.ajaxAborted&&void 0!==a.ajaxAborted.message?(t=e.extend(a.getOutData(),i),t.abortData=a.ajaxAborted.data||{},t.abortMessage=a.ajaxAborted.message,a.showUploadError(a.ajaxAborted.message,t,"filecustomerror"),!0):!1},noFilesError:function(e){var i=this,t=i.minFileCount>1?i.filePlural:i.fileSingle,a=i.msgFilesTooLess.replace("{n}",i.minFileCount).replace("{files}",t),n=i.$errorContainer;n.html(a),i.isError=!0,i.updateFileDetails(0),n.fadeIn(800),i.raise("fileerror",[e]),i.clearFileInput(),o(i.$container,"has-error")},setProgress:function(e){var i=this,t=Math.min(e,100),a=100>t?i.progressTemplate:i.progressCompleteTemplate;R(a)||i.$progress.html(a.repl("{percent}",t))},upload:function(){var i,t,a,n=this,r=n.getFileStack().length,l={},o=!e.isEmptyObject(n.getExtraData());if(r<n.minFileCount&&n.minFileCount>0)return void n.noFilesError(l);if(n.isUploadable&&!n.isDisabled&&(0!==r||o)){if(n.resetUpload(),n.$progress.removeClass("hide"),n.uploadCount=0,n.uploadPercent=0,n.lock(),n.setProgress(0),0===r&&o)return void n.uploadExtraOnly();if(a=n.filestack.length,n.hasInitData=!1,n.uploadAsync&&n.showPreview)for(t=n.getOutData(),n.raise("filebatchpreupload",[t]),n.fileBatchCompleted=!1,n.uploadCache={content:[],config:[],tags:[],append:!0},i=0;a>i;i+=1)void 0!==n.filestack[i]&&n.uploadSingle(i,n.filestack,!0);else n.uploadBatch()}},lock:function(){var e=this;e.resetErrors(),e.disable(),e.showRemove&&o(e.$container.find(".fileinput-remove"),"hide"),e.showCancel&&e.$container.find(".fileinput-cancel").removeClass("hide"),e.raise("filelock",[e.filestack,e.getExtraData()])},unlock:function(e){var i=this;void 0===e&&(e=!0),i.enable(),i.showCancel&&o(i.$container.find(".fileinput-cancel"),"hide"),i.showRemove&&i.$container.find(".fileinput-remove").removeClass("hide"),e&&i.resetFileStack(),i.raise("fileunlock",[i.filestack,i.getExtraData()])},resetFileStack:function(){var i=this,t=0,a=[];i.getThumbs().each(function(){var n=e(this),r=n.attr("data-fileindex"),l=i.filestack[r];-1!==r&&(void 0!==l?(a[t]=l,n.attr({id:i.previewInitId+"-"+t,"data-fileindex":t}),t+=1):n.attr({id:"uploaded-"+B(),"data-fileindex":"-1"}))}),i.filestack=a},refresh:function(i){var t,a=this,n=a.$element,r=arguments.length?e.extend(a.options,i):a.options;n.off(),a.init(r),t=a.$container.find(".file-drop-zone"),t.off("dragenter dragover dragleave drop"),e(document).off("dragenter dragover drop"),a.listen(),a.setFileDropZoneTitle()},initDragDrop:function(){var i=this,t=i.$container.find(".file-drop-zone");t.off("dragenter dragover dragleave drop"),e(document).off("dragenter dragover drop"),t.on("dragenter dragover",function(t){var a=e.inArray("Files",t.originalEvent.dataTransfer.types)>-1;return t.stopPropagation(),t.preventDefault(),i.isDisabled||!a?(t.originalEvent.dataTransfer.effectAllowed="none",void(t.originalEvent.dataTransfer.dropEffect="none")):void o(e(this),"highlighted")}),t.on("dragleave",function(t){t.stopPropagation(),t.preventDefault(),i.isDisabled||e(this).removeClass("highlighted")}),t.on("drop",function(t){t.preventDefault(),i.isDisabled||R(t.originalEvent.dataTransfer.files)||(i.change(t,"dragdrop"),e(this).removeClass("highlighted"))}),e(document).on("dragenter dragover drop",function(e){e.stopPropagation(),e.preventDefault()})},setFileDropZoneTitle:function(){var e=this,i=e.$container.find(".file-drop-zone");i.find("."+e.dropZoneTitleClass).remove(),e.isUploadable&&e.showPreview&&0!==i.length&&!(e.getFileStack().length>0)&&e.dropZoneEnabled&&(0===i.find(".file-preview-frame").length&&i.prepend('<div class="'+e.dropZoneTitleClass+'">'+e.dropZoneTitle+"</div>"),e.$container.removeClass("file-input-new"),o(e.$container,"file-input-ajax-new"))},initFileActions:function(){var i=this;i.$preview.find(".kv-file-remove").each(function(){var a,n,r=e(this),l=r.closest(".file-preview-frame"),o=l.attr("data-fileindex");r.off("click").on("click",function(){i.cleanMemory(l),l.fadeOut("slow",function(){i.filestack[o]=void 0,i.clearObjects(l),l.remove();var e=i.getFileStack(!0),r=e.length,s=t.count(i.id);i.clearFileInput(),0===r&&0===s?i.reset():(a=s+r,n=a>1?i.getMsgSelected(a):e[0]?e[0].name:"",i.setCaption(n))})})}),i.$preview.find(".kv-file-upload").each(function(){var t=e(this);t.off("click").on("click",function(){var e=t.closest(".file-preview-frame"),a=e.attr("data-fileindex");i.uploadSingle(a,i.filestack,!1)})})},getMsgSelected:function(e){var i=this,t=1===e?i.fileSingle:i.filePlural;return i.msgSelected.replace("{n}",e).replace("{files}",t)},renderFileFooter:function(e,i){var t,a,n=this,r=n.fileActionSettings,l=n.getLayoutTemplate("footer");return n.isUploadable?(t=l.repl("{actions}",n.renderFileActions(!0,!0,!1,!1,!1)),a=t.repl("{caption}",e).repl("{width}",i).repl("{indicator}",r.indicatorNew).repl("{indicatorTitle}",r.indicatorNewTitle)):a=l.repl("{actions}","").repl("{caption}",e).repl("{width}",i).repl("{indicator}","").repl("{indicatorTitle}",""),a=H(a,n.previewThumbTags)},renderFileActions:function(e,i,t,a,n){if(!e&&!i)return"";var r=this,l=a===!1?"":' data-url="'+a+'"',o=n===!1?"":' data-key="'+n+'"',s=r.getLayoutTemplate("actionDelete"),d="",c=r.getLayoutTemplate("actions"),p=r.otherActionButtons.repl("{dataKey}",o),u=r.fileActionSettings,f=t?u.removeClass+" disabled":u.removeClass;return s=s.repl("{removeClass}",f).repl("{removeIcon}",u.removeIcon).repl("{removeTitle}",u.removeTitle).repl("{dataUrl}",l).repl("{dataKey}",o),e&&(d=r.getLayoutTemplate("actionUpload").repl("{uploadClass}",u.uploadClass).repl("{uploadIcon}",u.uploadIcon).repl("{uploadTitle}",u.uploadTitle)),c.repl("{delete}",s).repl("{upload}",d).repl("{other}",p)},setThumbStatus:function(e,i){var t=this,a="indicator"+i,n=a+"Title",r="file-preview-"+i.toLowerCase(),l=e.find(".file-upload-indicator"),o=t.fileActionSettings;e.removeClass("file-preview-success file-preview-error file-preview-loading"),l.html(o[a]),l.attr("title",o[n]),e.addClass(r)},clearPreview:function(){var e=this,i=e.$preview.find(e.showUploadedThumbs?".file-preview-frame:not(.file-preview-success)":".file-preview-frame");i.remove(),e.$preview.find(".file-preview-frame").length&&e.showPreview||e.resetUpload()},initPreview:function(e){var i,a=this,n=a.initialCaption||"";return t.count(a.id)?(i=t.out(a.id),n=e&&a.initialCaption?a.initialCaption:i.caption,a.$preview.html(i.content),a.setCaption(n),void(R(i.content)||a.$container.removeClass("file-input-new"))):(a.clearPreview(),void(e?a.setCaption(n):a.initCaption()))},initPreviewDeletes:function(){var i=this,a=i.deleteExtraData||{},n=function(){0===i.$preview.find(".kv-file-remove").length&&(i.reset(),i.initialCaption="")};i.$preview.find(".kv-file-remove").each(function(){var r=e(this),l=r.data("url")||i.deleteUrl,s=r.data("key");if(!R(l)&&void 0!==s){var d,c,p,u,f=r.closest(".file-preview-frame"),v=t.data[i.id],h=f.data("fileindex");h=parseInt(h.replace("init_","")),p=R(v.config)&&R(v.config[h])?null:v.config[h],u=R(p)||R(p.extra)?a:p.extra,"function"==typeof u&&(u=u()),c={id:r.attr("id"),key:s,extra:u},d=e.extend({url:l,type:"DELETE",dataType:"json",data:e.extend({key:s},u),beforeSend:function(e){i.ajaxAborted=!1,i.raise("filepredelete",[s,e,u]),i.ajaxAborted?e.abort():(o(f,"file-uploading"),o(r,"disabled"))},success:function(e,a,l){var o,d;return R(e)||R(e.error)?(t.unset(i.id,h),o=t.count(i.id),d=o>0?i.getMsgSelected(o):"",i.raise("filedeleted",[s,l,u]),i.setCaption(d),f.removeClass("file-uploading").addClass("file-deleted"),void f.fadeOut("slow",function(){i.clearObjects(f),f.remove(),n(),o||0!==i.getFileStack().length||(i.setCaption(""),i.reset())})):(c.jqXHR=l,c.response=e,i.showError(e.error,c,"filedeleteerror"),f.removeClass("file-uploading"),r.removeClass("disabled"),void n())},error:function(e,t,a){var r=i.parseError(e,a);c.jqXHR=e,c.response={},i.showError(r,c,"filedeleteerror"),f.removeClass("file-uploading"),n()}},i.ajaxDeleteSettings),r.off("click").on("click",function(){e.ajax(d)})}})},clearObjects:function(i){i.find("video audio").each(function(){this.pause(),e(this).remove()}),i.find("img object div").each(function(){e(this).remove()})},clearFileInput:function(){var i,t,a,n=this,r=n.$element;R(r.val())||(n.isIE9||n.isIE10?(i=r.closest("form"),t=e(document.createElement("form")),a=e(document.createElement("div")),r.before(a),i.length?i.after(t):a.after(t),t.append(r).trigger("reset"),a.before(r).remove(),t.remove()):r.val(""),n.fileInputCleared=!0)},resetUpload:function(){var e=this;e.uploadCache={content:[],config:[],tags:[],append:!0},e.uploadCount=0,e.uploadPercent=0,e.$btnUpload.removeAttr("disabled"),e.setProgress(0),o(e.$progress,"hide"),e.resetErrors(!1),e.ajaxAborted=!1,e.ajaxRequests=[]},cancel:function(){var i,t=this,a=t.ajaxRequests,n=a.length;if(n>0)for(i=0;n>i;i+=1)a[i].abort();t.getThumbs().each(function(){var i=e(this),a=i.attr("data-fileindex");i.removeClass("file-uploading"),void 0!==t.filestack[a]&&(i.find(".kv-file-upload").removeClass("disabled").removeAttr("disabled"),i.find(".kv-file-remove").removeClass("disabled").removeAttr("disabled")),t.unlock()})},cleanMemory:function(e){var i=e.is("img")?e.attr("src"):e.find("source").attr("src");W.revokeObjectURL(i)},hasInitialPreview:function(){var e=this;return!e.overwriteInitial&&t.count(e.id)},clear:function(){var i,t=this;t.$btnUpload.removeAttr("disabled"),t.getThumbs().find("video,audio,img").each(function(){t.cleanMemory(e(this))}),t.resetUpload(),t.filestack=[],t.clearFileInput(),t.resetErrors(!0),t.raise("fileclear"),t.hasInitialPreview()?(t.showFileIcon(),t.resetPreview(),t.setEllipsis(),t.initPreviewDeletes(),t.$container.removeClass("file-input-new")):(t.getThumbs().each(function(){t.clearObjects(e(this))}),t.$preview.html(""),i=!t.overwriteInitial&&t.initialCaption.length>0?t.initialCaption:"",t.setCaption(i),t.setEllipsis(),t.$caption.attr("title",""),o(t.$container,"file-input-new")),0===t.$container.find(".file-preview-frame").length&&(t.initCaption()||t.$captionContainer.find(".kv-caption-icon").hide(),t.setEllipsis()),t.hideFileIcon(),t.raise("filecleared"),t.$captionContainer.focus(),t.setFileDropZoneTitle()},resetPreview:function(){var e,i=this;t.count(i.id)?(e=t.out(i.id),i.$preview.html(e.content),i.setCaption(e.caption)):(i.clearPreview(),i.initCaption())},reset:function(){var e=this;e.resetPreview(),e.setEllipsis(),e.$container.find(".fileinput-filename").text(""),e.raise("filereset"),e.initialPreview.length>0&&e.$container.removeClass("file-input-new"),e.setFileDropZoneTitle(),e.filestack=[],e.formdata={}},disable:function(){var e=this;e.isDisabled=!0,e.raise("filedisabled"),e.$element.attr("disabled","disabled"),e.$container.find(".kv-fileinput-caption").addClass("file-caption-disabled"),e.$container.find(".btn-file, .fileinput-remove, .kv-fileinput-upload").attr("disabled",!0),e.initDragDrop()},enable:function(){var e=this;e.isDisabled=!1,e.raise("fileenabled"),e.$element.removeAttr("disabled"),e.$container.find(".kv-fileinput-caption").removeClass("file-caption-disabled"),e.$container.find(".btn-file, .fileinput-remove, .kv-fileinput-upload").removeAttr("disabled"),e.initDragDrop()},getThumbs:function(e){return e=e||"",this.$preview.find(".file-preview-frame:not(.file-preview-initial)"+e)},getExtraData:function(){var e=this,i=e.uploadExtraData;return"function"==typeof e.uploadExtraData&&(i=e.uploadExtraData()),i},uploadExtra:function(){var i=this,t=i.getExtraData();0!==t.length&&e.each(t,function(e,t){i.formdata.append(e,t)})},initXhr:function(e,i){var t=this;return e.upload&&e.upload.addEventListener("progress",function(e){var a=0,n=e.loaded||e.position,r=e.total;e.lengthComputable&&(a=Math.ceil(n/r*i)),t.uploadPercent=Math.max(a,t.uploadPercent),t.setProgress(t.uploadPercent)},!1),e},ajaxSubmit:function(i,t,a,n){var r,l=this;l.uploadExtra(),r=e.extend({xhr:function(){var i=e.ajaxSettings.xhr();return l.initXhr(i,98)},url:l.uploadUrl,type:"POST",dataType:"json",data:l.formdata,cache:!1,processData:!1,contentType:!1,beforeSend:i,success:t,complete:a,error:n},l.ajaxSettings),l.ajaxRequests.push(e.ajax(r))},initUploadSuccess:function(i,a,n){var r,l,o,s,d,c,p,u=this;"object"!=typeof i||e.isEmptyObject(i)||void 0!==i.initialPreview&&i.initialPreview.length>0&&(u.hasInitData=!0,d=i.initialPreview||[],c=i.initialPreviewConfig||[],p=i.initialPreviewThumbTags||[],r=void 0===i.append||i.append?!0:!1,u.overwriteInitial=!1,void 0===a||n?n?(u.uploadCache.content.push(d[0]),u.uploadCache.config.push(c[0]),u.uploadCache.tags.push(p[0]),u.uploadCache.append=r):(t.set(u.id,d,c,p,r),u.initPreview(),u.initPreviewDeletes()):(o=t.add(u.id,d,c[0],p[0],r),l=t.get(u.id,o,!1),s=e(l).hide(),a.after(s).fadeOut("slow",function(){s.fadeIn("slow").css("display:inline-block"),u.initPreviewDeletes(),u.clearFileInput(),a.remove()})))},initSuccessThumbs:function(){var i=this;i.getThumbs(".file-preview-success").each(function(){var t=e(this),a=t.find(".kv-file-remove");a.removeAttr("disabled").off("click").on("click",function(){var e=i.raise("filesuccessremove",[t.attr("id"),t.data("fileindex")]);i.cleanMemory(t),e!==!1&&t.fadeOut("slow",function(){t.remove(),i.$preview.find(".file-preview-frame").length||i.reset()})})})},uploadSingle:function(i,a,n){var r,l,s,d,c,p,u,f,v,h=this,m=h.getFileStack().length,g=new FormData,w=h.previewInitId+"-"+i,b=e("#"+w+":not(.file-preview-initial)"),x=b.find(".kv-file-upload"),C=b.find(".kv-file-remove"),y=h.filestack.length>0||!e.isEmptyObject(h.uploadExtraData),T={id:w,index:i};h.formdata=g,0===m||!y||x.hasClass("disabled")||h.abort(T)||(s=function(){var e=h.getThumbs(".file-uploading");e.length>0||h.fileBatchCompleted||(h.fileBatchCompleted=!0,setTimeout(function(){t.set(h.id,h.uploadCache.content,h.uploadCache.config,h.uploadCache.tags,h.uploadCache.append),h.hasInitData&&(h.initPreview(),h.initPreviewDeletes()),h.setProgress(100),h.unlock(),h.clearFileInput(),h.raise("filebatchuploadcomplete",[h.filestack,h.getExtraData()])},100))},d=function(){!n||0===m||h.uploadPercent>=100||(h.uploadCount+=1,l=80+Math.ceil(20*h.uploadCount/m),h.uploadPercent=Math.max(l,h.uploadPercent),h.setProgress(h.uploadPercent),h.initPreviewDeletes())},c=function(){x.removeAttr("disabled"),C.removeAttr("disabled"),b.removeClass("file-uploading")},p=function(t){r=h.getOutData(t),b.hasClass("file-preview-success")||(h.setThumbStatus(b,"Loading"),o(b,"file-uploading")),x.attr("disabled",!0),C.attr("disabled",!0),n||h.lock(),h.raise("filepreupload",[r,w,i]),T=e.extend(T,r),h.abort(T)&&(t.abort(),h.setProgress(100))},u=function(t,a,l){r=h.getOutData(l,t),T=e.extend(T,r),setTimeout(function(){R(t)||R(t.error)?(h.setThumbStatus(b,"Success"),x.hide(),h.filestack[i]=void 0,h.raise("fileuploaded",[r,w,i]),h.initUploadSuccess(t,b,n),n||h.resetFileStack()):(h.setThumbStatus(b,"Error"),h.showUploadError(t.error,T))},100)},f=function(){setTimeout(function(){d(),c(),n?s():h.unlock(!1),h.initSuccessThumbs()},100)},v=function(t,r,l){var o=h.parseError(t,l,n?a[i].name:null);h.setThumbStatus(b,"Error"),T=e.extend(T,h.getOutData(t)),h.showUploadError(o,T)},g.append(h.uploadFileAttr,a[i]),g.append("file_id",i),h.ajaxSubmit(p,u,f,v))},uploadBatch:function(){var i,t,a,n,r,l=this,s=l.filestack,d=s.length,c=l.filestack.length>0||!e.isEmptyObject(l.uploadExtraData),p={};l.formdata=new FormData,0!==d&&c&&!l.abort(p)&&(i=function(){e.each(s,function(e){l.filestack[e]=void 0}),l.clearFileInput()},t=function(i){l.lock();var t=l.getOutData(i);l.showPreview&&l.getThumbs().each(function(){var i=e(this),t=i.find(".kv-file-upload"),a=i.find(".kv-file-remove");i.hasClass("file-preview-success")||(l.setThumbStatus(i,"Loading"),o(i,"file-uploading")),t.attr("disabled",!0),a.attr("disabled",!0)}),l.raise("filebatchpreupload",[t]),l.abort(t)&&i.abort()},a=function(t,a,n){var r=l.getOutData(n,t),o=l.getThumbs(),s=R(t.errorkeys)?[]:t.errorkeys;R(t)||R(t.error)?(l.raise("filebatchuploadsuccess",[r]),i(),l.showPreview?(o.each(function(){var i=e(this),t=i.find(".kv-file-upload");i.find(".kv-file-upload").hide(),l.setThumbStatus(i,"Success"),i.removeClass("file-uploading"),t.removeAttr("disabled")}),l.initUploadSuccess(t)):l.reset()):(l.showPreview&&(o.each(function(){var i=e(this),t=i.find(".kv-file-remove"),a=i.find(".kv-file-upload");return i.removeClass("file-uploading"),a.removeAttr("disabled"),t.removeAttr("disabled"),0===s.length?void l.setThumbStatus(i,"Error"):void(-1!==e.inArray(key,s)?l.setThumbStatus(i,"Error"):(i.find(".kv-file-upload").hide(),l.setThumbStatus(i,"Success"),l.filestack[key]=void 0));
-
-}),l.initUploadSuccess(t)),l.showUploadError(t.error,r,"filebatchuploaderror"))},n=function(){l.setProgress(100),l.unlock(),l.initSuccessThumbs(),l.raise("filebatchuploadcomplete",[l.filestack,l.getExtraData()]),l.clearFileInput()},r=function(i,t,a){var n=l.getOutData(i),r=l.parseError(i,a);l.showUploadError(r,n,"filebatchuploaderror"),l.uploadFileCount=d-1,l.showPreview&&(l.getThumbs().each(function(){var i=e(this),t=i.attr("data-fileindex");i.removeClass("file-uploading"),void 0!==l.filestack[t]&&l.setThumbStatus(i,"Error")}),l.getThumbs().removeClass("file-uploading"),l.getThumbs(" .kv-file-upload").removeAttr("disabled"),l.getThumbs(" .kv-file-delete").removeAttr("disabled"))},e.each(s,function(e,i){R(s[e])||l.formdata.append(l.uploadFileAttr,i)}),l.ajaxSubmit(t,a,n,r))},uploadExtraOnly:function(){var e,i,t,a,n=this,r={};n.formdata=new FormData,n.abort(r)||(e=function(e){n.lock();var i=n.getOutData(e);n.raise("filebatchpreupload",[i]),n.setProgress(50),r.data=i,r.xhr=e,n.abort(r)&&(e.abort(),n.setProgress(100))},i=function(e,i,t){var a=n.getOutData(t,e);R(e)||R(e.error)?(n.raise("filebatchuploadsuccess",[a]),n.clearFileInput(),n.initUploadSuccess(e)):n.showUploadError(e.error,a,"filebatchuploaderror")},t=function(){n.setProgress(100),n.unlock(),n.raise("filebatchuploadcomplete",[n.filestack,n.getExtraData()]),n.clearFileInput()},a=function(e,i,t){var a=n.getOutData(e),l=n.parseError(e,t);r.data=a,n.showUploadError(l,a,"filebatchuploaderror")},n.ajaxSubmit(e,i,t,a))},hideFileIcon:function(){this.overwriteInitial&&this.$captionContainer.find(".kv-caption-icon").hide()},showFileIcon:function(){this.$captionContainer.find(".kv-caption-icon").show()},resetErrors:function(e){var i=this,t=i.$errorContainer;i.isError=!1,i.$container.removeClass("has-error"),t.html(""),e?t.fadeOut("slow"):t.hide()},showFolderError:function(e){var i=this,t=i.$errorContainer;e&&(t.html(i.msgFoldersNotAllowed.repl("{n}",e)),t.fadeIn(800),o(i.$container,"has-error"),i.raise("filefoldererror",[e]))},showUploadError:function(e,i,t){var a=this,n=a.$errorContainer,r=t||"fileuploaderror";return 0===n.find("ul").length?n.html("<ul><li>"+e+"</li></ul>"):n.find("ul").append("<li>"+e+"</li>"),n.fadeIn(800),a.raise(r,[i]),o(a.$container,"has-error"),!0},showError:function(e,i,t){var a=this,n=a.$errorContainer,r=t||"fileerror";return i=i||{},i.reader=a.reader,n.html(e),n.fadeIn(800),a.raise(r,[i]),a.isUploadable||a.clearFileInput(),o(a.$container,"has-error"),a.$btnUpload.attr("disabled",!0),!0},errorHandler:function(e,i){var t=this,a=e.target.error;switch(a.code){case a.NOT_FOUND_ERR:t.showError(t.msgFileNotFound.replace("{name}",i));break;case a.SECURITY_ERR:t.showError(t.msgFileSecured.replace("{name}",i));break;case a.NOT_READABLE_ERR:t.showError(t.msgFileNotReadable.replace("{name}",i));break;case a.ABORT_ERR:t.showError(t.msgFilePreviewAborted.replace("{name}",i));break;default:t.showError(t.msgFilePreviewError.replace("{name}",i))}},parseFileType:function(e){var i,t,a,n,r=this;for(n=0;n<A.length;n+=1)if(a=A[n],i=M(a,r.fileTypeSettings)?r.fileTypeSettings[a]:O[a],t=i(e.type,e.name)?a:"",!R(t))return t;return"other"},previewDefault:function(i,t,a){if(this.showPreview){var n=this,r=W.createObjectURL(i),l=(e("#"+t),n.previewSettings.other||L.other),o=n.renderFileFooter(i.name,l.width),s=n.getPreviewTemplate("other"),d=t.slice(t.lastIndexOf("-")+1),c="";a===!0&&(c=" btn disabled",o+='<div class="file-other-error text-danger"><i class="glyphicon glyphicon-exclamation-sign"></i></div>'),n.$preview.append("\n"+s.repl("{previewId}",t).repl("{frameClass}",c).repl("{fileindex}",d).repl("{caption}",n.slug(i.name)).repl("{width}",l.width).repl("{height}",l.height).repl("{type}",i.type).repl("{data}",r).repl("{footer}",o))}},previewFile:function(e,i,t,a,n){if(this.showPreview){var r,l,o,s,d=this,c=d.parseFileType(i),p=d.slug(i.name),u=d.allowedPreviewTypes,f=d.allowedPreviewMimeTypes,v=d.getPreviewTemplate(c),h=M(c,d.previewSettings)?d.previewSettings[c]:L[c],m=parseInt(d.wrapTextLength,10),g=d.wrapIndicator,w=u.indexOf(c)>=0,b=R(f)||!R(f)&&-1!==f.indexOf(i.type),x=d.renderFileFooter(p,h.width),C="",y=a.slice(a.lastIndexOf("-")+1);w&&b?("text"===c?(l=Z(t.target.result),l.length>m&&(o="text-"+B(),s=.75*window.innerHeight,C=d.getLayoutTemplate("modal").repl("{id}",o).repl("{title}",p).repl("{height}",s).repl("{body}",l),g=g.repl("{title}",p).repl("{dialog}","$('#"+o+"').modal('show')"),l=l.substring(0,m-1)+g),r=v.repl("{previewId}",a).repl("{caption}",p).repl("{frameClass}","").repl("{type}",i.type).repl("{width}",h.width).repl("{height}",h.height).repl("{data}",l).repl("{footer}",x).repl("{fileindex}",y)+C):r=v.repl("{previewId}",a).repl("{caption}",p).repl("{frameClass}","").repl("{type}",i.type).repl("{data}",n).repl("{width}",h.width).repl("{height}",h.height).repl("{footer}",x).repl("{fileindex}",y),d.$preview.append("\n"+r),d.validateImage(e,a)):d.previewDefault(i,a)}},slugDefault:function(e){return R(e)?"":e.split(/(\\|\/)/g).pop().replace(/[^\w\u00C0-\u017F\-.\\\/ ]+/g,"")},getFileStack:function(e){var i=this;return i.filestack.filter(function(i){return e?void 0!==i:void 0!==i&&null!==i})},readFiles:function(i){function t(e){if(R(n.attr("multiple"))&&(u=1),e>=u)return a.isUploadable&&a.filestack.length>0?a.raise("filebatchselected",[a.getFileStack()]):a.raise("filebatchselected",[i]),o.removeClass("loading"),void s.html("");var m,g,w,b,x,C,y=v+e,T=p+"-"+y,E=i[e],k=a.slug(E.name),F=(E.size||0)/1e3,$="",I=W.createObjectURL(E),D=0,P=a.allowedFileTypes,S=R(P)?"":P.join(", "),U=a.allowedFileExtensions,j=R(U)?"":U.join(", ");if(R(U)||($=new RegExp("\\.("+U.join("|")+")$","i")),F=F.toFixed(2),a.maxFileSize>0&&F>a.maxFileSize)return b=a.msgSizeTooLarge.replace("{name}",k).replace("{size}",F).replace("{maxSize}",a.maxFileSize),void(a.isError=h(b,E,T,e));if(!R(P)&&z(P)){for(w=0;w<P.length;w+=1)x=P[w],g=f[x],C=void 0!==g&&g(E.type,k),D+=R(C)?0:C.length;if(0===D)return b=a.msgInvalidFileType.replace("{name}",k).replace("{types}",S),void(a.isError=h(b,E,T,e))}return 0!==D||R(U)||!z(U)||R($)||(C=k.match($),D+=R(C)?0:C.length,0!==D)?a.showPreview?(r.length>0&&void 0!==FileReader?(s.html(d.replace("{index}",e+1).replace("{files}",u)),o.addClass("loading"),l.onerror=function(e){a.errorHandler(e,k)},l.onload=function(i){a.previewFile(e,E,i,T,I),a.initFileActions()},l.onloadend=function(){b=c.replace("{index}",e+1).replace("{files}",u).replace("{percent}",50).replace("{name}",k),setTimeout(function(){s.html(b),t(e+1),a.updateFileDetails(u)},100),a.raise("fileloaded",[E,T,e,l])},l.onprogress=function(i){if(i.lengthComputable){var t=i.loaded/i.total*100,a=Math.ceil(t);b=c.replace("{index}",e+1).replace("{files}",u).replace("{percent}",a).replace("{name}",k),setTimeout(function(){s.html(b)},100)}},m=M("text",f)?f.text:O.text,m(E.type,k)?l.readAsText(E,a.textEncoding):l.readAsArrayBuffer(E)):(a.previewDefault(E,T),setTimeout(function(){t(e+1),a.updateFileDetails(u)},100),a.raise("fileloaded",[E,T,e,l])),void a.filestack.push(E)):(a.filestack.push(E),setTimeout(t(e+1),100),void a.raise("fileloaded",[E,T,e,l])):(b=a.msgInvalidFileExtension.replace("{name}",k).replace("{extensions}",j),void(a.isError=h(b,E,T,e)))}this.reader=new FileReader;var a=this,n=a.$element,r=a.$preview,l=a.reader,o=a.$previewContainer,s=a.$previewStatus,d=a.msgLoading,c=a.msgProgress,p=a.previewInitId,u=i.length,f=a.fileTypeSettings,v=a.filestack.length,h=function(t,n,r,l){var o=e.extend(a.getOutData({},{},i),{id:r,index:l}),s={id:r,index:l,file:n,files:i};return a.previewDefault(n,r,!0),a.isUploadable?a.showUploadError(t,o):a.showError(t,s)};t(0),a.updateFileDetails(u,!1)},updateFileDetails:function(e){var i=this,a=i.$element,n=i.getFileStack(),r=a.val()||n.length&&n[0].name||"",l=i.slug(r),o=i.isUploadable?n.length:e,s=t.count(i.id)+o,d=o>1?i.getMsgSelected(s):l;i.isError?(i.$previewContainer.removeClass("loading"),i.$previewStatus.html(""),i.$captionContainer.find(".kv-caption-icon").hide()):i.showFileIcon(),i.setCaption(d,i.isError),i.$container.removeClass("file-input-new file-input-ajax-new"),1===arguments.length&&i.raise("fileselect",[e,l]),t.count(i.id)&&i.initPreviewDeletes()},change:function(i){var a=this,n=a.$element;if(!a.isUploadable&&R(n.val())&&a.fileInputCleared)return void(a.fileInputCleared=!1);a.fileInputCleared=!1;var r,l,o,s,d=a.$preview,c=arguments.length>1,p=c?i.originalEvent.dataTransfer.files:n.get(0).files,u=R(n.attr("multiple")),f=0,v=0,h=a.filestack.length,m=a.isUploadable,g=function(i,t,n,r){var l=e.extend(a.getOutData({},{},p),{id:n,index:r}),o={id:n,index:r,file:t,files:p};return a.isUploadable?a.showUploadError(i,l):a.showError(i,o)};if(a.reader=null,a.resetUpload(),a.hideFileIcon(),a.isUploadable&&a.$container.find(".file-drop-zone ."+a.dropZoneTitleClass).remove(),c)for(r=[];p[f];)s=p[f],s.type||s.size%4096!==0?r.push(s):v++,f++;else r=void 0===i.target.files?i.target&&i.target.value?[{name:i.target.value.replace(/^.+\\/,"")}]:[]:i.target.files;if(R(r)||0===r.length)return m||a.clear(),a.showFolderError(v),void a.raise("fileselectnone");if(a.resetErrors(),o=a.isUploadable?a.getFileStack().length+r.length:r.length,a.maxFileCount>0&&o>a.maxFileCount)return l=a.msgFilesTooMany.replace("{m}",a.maxFileCount).replace("{n}",o),a.isError=g(l,null,null,null),a.$captionContainer.find(".kv-caption-icon").hide(),a.setCaption("",!0),a.setEllipsis(),void a.$container.removeClass("file-input-new file-input-ajax-new");if(!m||u&&h>0){if(a.hasInitialPreview()){var w=t.out(a.id);d.html(w.content),a.setCaption(w.caption),a.initPreviewDeletes()}else a.clearPreview();u&&h>0&&(a.filestack=[])}else!m||0!==h||t.count(a.id)&&!a.overwriteInitial||(a.clearPreview(),a.filestack=[]);a.isPreviewable?a.readFiles(r):a.updateFileDetails(1),a.showFolderError(v)},validateImage:function(e,i){var t,a,n,r,l=this,o=l.$preview,s=o.find("#"+i),d="Untitled",c=s.find("img");c.length&&c.on("load",function(){a=s.width(),n=o.width(),a>n&&(c.css("width","100%"),s.css("width","97%")),r=c.closest(".file-preview-frame").find(".file-caption-name"),r.length&&(r.width(c.width()),d=r.text(),r.attr("title",d)),t={ind:e,id:i},l.checkDimensions(e,"Small",c,s,d,"Width",t),l.checkDimensions(e,"Small",c,s,d,"Height",t),l.checkDimensions(e,"Large",c,s,d,"Width",t),l.checkDimensions(e,"Large",c,s,d,"Height",t),l.raise("fileimageloaded",[i]),W.revokeObjectURL(c.attr("src"))})},checkDimensions:function(e,i,t,a,n,r,l){var o,s,d,c,p=this,u="Small"===i?"min":"max",f=p[u+"Image"+r];!R(f)&&t.length&&(d=t[0],s="Width"===r?d.naturalWidth||d.width:d.naturalHeight||d.height,c="Small"===i?s>=f:f>=s,c||(o=p["msgImage"+r+i].replace("{name}",n).replace("{size}",f),p.showUploadError(o,l),p.setThumbStatus(a,"Error"),p.filestack[e]=null))},initCaption:function(){var e=this,i=e.initialCaption||"";return e.overwriteInitial||R(i)?(e.$caption.html(""),!1):(e.setCaption(i),!0)},setCaption:function(i,t){var a,n,r=this;if(t)a=e("<div>"+r.msgValidationError+"</div>").text(),n='<span class="'+r.msgValidationErrorClass+'">'+r.msgValidationErrorIcon+a+"</span>";else{if(R(i)||0===r.$caption.length)return;a=e("<div>"+i+"</div>").text(),n=r.getLayoutTemplate("icon")+a}r.$caption.html(n),r.$caption.attr("title",a),r.$captionContainer.find(".file-caption-ellipsis").attr("title",a),r.setEllipsis()},initBrowse:function(e){var i=this;i.$btnFile=e.find(".btn-file"),i.$btnFile.append(i.$element)},createContainer:function(){var i=this,t=e(document.createElement("span")).attr({"class":"file-input file-input-new"}).html(i.renderMain());return i.$element.before(t),i.initBrowse(t),t},refreshContainer:function(){var e=this,i=e.$container;i.before(e.$element),i.html(e.renderMain()),e.initBrowse(i)},renderMain:function(){var e=this,i=e.isUploadable&&e.dropZoneEnabled?" file-drop-zone":"",t=e.showPreview?e.getLayoutTemplate("preview").repl("{class}",e.previewClass).repl("{dropClass}",i):"",a=e.isDisabled?e.captionClass+" file-caption-disabled":e.captionClass,n=e.captionTemplate.repl("{class}",a+" kv-fileinput-caption");return e.mainTemplate.repl("{class}",e.mainClass).repl("{preview}",t).repl("{caption}",n).repl("{upload}",e.renderUpload()).repl("{remove}",e.renderRemove()).repl("{cancel}",e.renderCancel()).repl("{browse}",e.renderBrowse())},renderBrowse:function(){var e=this,i=e.browseClass+" btn-file",t="";return e.isDisabled&&(t=" disabled "),'<div class="'+i+'"'+t+"> "+e.browseIcon+e.browseLabel+" </div>"},renderRemove:function(){var e=this,i=e.removeClass+" fileinput-remove fileinput-remove-button",t="";return e.showRemove?(e.isDisabled&&(t=" disabled "),'<button type="button" title="'+e.removeTitle+'" class="'+i+'"'+t+">"+e.removeIcon+e.removeLabel+"</button>"):""},renderCancel:function(){var e=this,i=e.cancelClass+" fileinput-cancel fileinput-cancel-button";return e.showCancel?'<button type="button" title="'+e.cancelTitle+'" class="hide '+i+'">'+e.cancelIcon+e.cancelLabel+"</button>":""},renderUpload:function(){var e=this,i=e.uploadClass+" kv-fileinput-upload fileinput-upload-button",t="",a="";return e.showUpload?(e.isDisabled&&(a=" disabled "),t=!e.isUploadable||e.isDisabled?'<button type="submit" title="'+e.uploadTitle+'"class="'+i+'"'+a+">"+e.uploadIcon+e.uploadLabel+"</button>":'<a href="'+e.uploadUrl+'" title="'+e.uploadTitle+'" class="'+i+'"'+a+">"+e.uploadIcon+e.uploadLabel+"</a>"):""}},e.fn.fileinput=function(t){if(n()||i(9)){var a=Array.apply(null,arguments);return a.shift(),this.each(function(){var i,n=e(this),r=n.data("fileinput"),l="object"==typeof t&&t,o=l.language||n.data("language")||"en";r||(i=e.extend({},e.fn.fileinput.defaults),"en"===o||R(e.fn.fileinputLocales[o])||(i=e.extend(i,e.fn.fileinputLocales[o])),r=new _(this,e.extend(i,l,n.data())),n.data("fileinput",r)),"string"==typeof t&&r[t].apply(r,a)})}},e.fn.fileinput.defaults={language:"en",showCaption:!0,showPreview:!0,showRemove:!0,showUpload:!0,showCancel:!0,showUploadedThumbs:!0,mainClass:"",previewClass:"",captionClass:"",mainTemplate:null,initialCaption:"",initialPreview:[],initialPreviewDelimiter:"*$$*",initialPreviewConfig:[],initialPreviewThumbTags:[],previewThumbTags:{},initialPreviewShowDelete:!0,deleteUrl:"",deleteExtraData:{},overwriteInitial:!0,layoutTemplates:U,previewTemplates:j,allowedPreviewTypes:A,allowedPreviewMimeTypes:null,allowedFileTypes:null,allowedFileExtensions:null,customLayoutTags:{},customPreviewTags:{},previewSettings:L,fileTypeSettings:O,previewFileIcon:'<i class="glyphicon glyphicon-file"></i>',browseIcon:'<i class="glyphicon glyphicon-folder-open"></i> &nbsp;',browseClass:"btn btn-primary",removeIcon:'<i class="glyphicon glyphicon-trash"></i> ',removeClass:"btn btn-default",cancelIcon:'<i class="glyphicon glyphicon-ban-circle"></i> ',cancelClass:"btn btn-default",uploadIcon:'<i class="glyphicon glyphicon-upload"></i> ',uploadClass:"btn btn-default",uploadUrl:null,uploadAsync:!0,uploadExtraData:{},minImageWidth:null,minImageHeight:null,maxImageWidth:null,maxImageHeight:null,maxFileSize:0,minFileCount:0,maxFileCount:0,msgValidationErrorClass:"text-danger",msgValidationErrorIcon:'<i class="glyphicon glyphicon-exclamation-sign"></i> ',msgErrorClass:"file-error-message",progressClass:"progress-bar progress-bar-success progress-bar-striped active",progressCompleteClass:"progress-bar progress-bar-success",previewFileType:"image",wrapTextLength:250,wrapIndicator:' <span class="wrap-indicator" title="{title}" onclick="{dialog}">[&hellip;]</span>',elCaptionContainer:null,elCaptionText:null,elPreviewContainer:null,elPreviewImage:null,elPreviewStatus:null,elErrorContainer:null,slugCallback:null,dropZoneEnabled:!0,dropZoneTitleClass:"file-drop-zone-title",fileActionSettings:{},otherActionButtons:"",textEncoding:"UTF-8",ajaxSettings:{},ajaxDeleteSettings:{},showAjaxErrorDetails:!0},e.fn.fileinputLocales.en={fileSingle:"file",filePlural:"files",browseLabel:"Browse &hellip;",removeLabel:"Remove",removeTitle:"Clear selected files",cancelLabel:"Cancel",cancelTitle:"Abort ongoing upload",uploadLabel:"Upload",uploadTitle:"Upload selected files",msgSizeTooLarge:'File "{name}" (<b>{size} KB</b>) exceeds maximum allowed upload size of <b>{maxSize} KB</b>. Please retry your upload!',msgFilesTooLess:"You must select at least <b>{n}</b> {files} to upload. Please retry your upload!",msgFilesTooMany:"Number of files selected for upload <b>({n})</b> exceeds maximum allowed limit of <b>{m}</b>. Please retry your upload!",msgFileNotFound:'File "{name}" not found!',msgFileSecured:'Security restrictions prevent reading the file "{name}".',msgFileNotReadable:'File "{name}" is not readable.',msgFilePreviewAborted:'File preview aborted for "{name}".',msgFilePreviewError:'An error occurred while reading the file "{name}".',msgInvalidFileType:'Invalid type for file "{name}". Only "{types}" files are supported.',msgInvalidFileExtension:'Invalid extension for file "{name}". Only "{extensions}" files are supported.',msgValidationError:"File Upload Error",msgLoading:"Loading file {index} of {files} &hellip;",msgProgress:"Loading file {index} of {files} - {name} - {percent}% completed.",msgSelected:"{n} {files} selected",msgFoldersNotAllowed:"Drag & drop files only! {n} folder(s) dropped were skipped.",msgImageWidthSmall:'Width of image file "{name}" must be at least {size} px.',msgImageHeightSmall:'Height of image file "{name}" must be at least {size} px.',msgImageWidthLarge:'Width of image file "{name}" cannot exceed {size} px.',msgImageHeightLarge:'Height of image file "{name}" cannot exceed {size} px.',dropZoneTitle:"Drag & drop files here &hellip;"},e.extend(e.fn.fileinput.defaults,e.fn.fileinputLocales.en),e.fn.fileinput.Constructor=_,e(document).ready(function(){var i=e("input.file[type=file]");i.length&&i.fileinput()})}(window.jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/js/fileinput_locale_LANG.js b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/js/fileinput_locale_LANG.js
deleted file mode 100644
index 492d8c4d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/js/fileinput_locale_LANG.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*!
- * FileInput <_LANG_> Translations
- *
- * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
- * any HTML markup tags in the messages must not be converted or translated.
- *
- * @see http://github.com/kartik-v/bootstrap-fileinput
- *
- * NOTE: this file must be saved in UTF-8 encoding.
- */
-(function ($) {
- "use strict";
-
- $.fn.fileinputLocales['_LANG_'] = {
- fileSingle: 'file',
- filePlural: 'files',
- browseLabel: 'Browse &hellip;',
- removeLabel: 'Remove',
- removeTitle: 'Clear selected files',
- cancelLabel: 'Cancel',
- cancelTitle: 'Abort ongoing upload',
- uploadLabel: 'Upload',
- uploadTitle: 'Upload selected files',
- msgSizeTooLarge: 'File "{name}" (<b>{size} KB</b>) exceeds maximum allowed upload size of <b>{maxSize} KB</b>. Please retry your upload!',
- msgFilesTooLess: 'You must select at least <b>{n}</b> {files} to upload. Please retry your upload!',
- msgFilesTooMany: 'Number of files selected for upload <b>({n})</b> exceeds maximum allowed limit of <b>{m}</b>. Please retry your upload!',
- msgFileNotFound: 'File "{name}" not found!',
- msgFileSecured: 'Security restrictions prevent reading the file "{name}".',
- msgFileNotReadable: 'File "{name}" is not readable.',
- msgFilePreviewAborted: 'File preview aborted for "{name}".',
- msgFilePreviewError: 'An error occurred while reading the file "{name}".',
- msgInvalidFileType: 'Invalid type for file "{name}". Only "{types}" files are supported.',
- msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.',
- msgValidationError: 'File Upload Error',
- msgLoading: 'Loading file {index} of {files} &hellip;',
- msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.',
- msgSelected: '{n} {files} selected',
- msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).',
- msgImageWidthSmall: 'Width of image file "{name}" must be at least {size} px.',
- msgImageHeightSmall: 'Height of image file "{name}" must be at least {size} px.',
- msgImageWidthLarge: 'Width of image file "{name}" cannot exceed {size} px.',
- msgImageHeightLarge: 'Height of image file "{name}" cannot exceed {size} px.',
- dropZoneTitle: 'Drag & drop files here &hellip;'
- };
-})(window.jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/js/fileinput_locale_zh.js b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/js/fileinput_locale_zh.js
deleted file mode 100644
index 12d83710..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-fileinput/js/fileinput_locale_zh.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/*!
- * FileInput Chinese Translations
- *
- * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
- * any HTML markup tags in the messages must not be converted or translated.
- *
- * @see http://github.com/kartik-v/bootstrap-fileinput
- * @author kangqf <kangqingfei@gmail.com>
- *
- * NOTE: this file must be saved in UTF-8 encoding.
- */
-(function ($) {
- "use strict";
-
- $.fn.fileinputLocales['zh'] = {
- fileSingle: '文件',
- filePlural: '多个文件',
- browseLabel: '选择 &hellip;',
- removeLabel: '移除',
- removeTitle: '清除选中文件',
- cancelLabel: '取消',
- cancelTitle: '取消进行中的上传',
- uploadLabel: '上传',
- uploadTitle: '上传选中文件',
- msgSizeTooLarge: '文件 "{name}" (<b>{size} KB</b>) 超过了允许大小 <b>{maxSize} KB</b>. 请重新上传!',
- msgFilesTooLess: '你必须选择最少 <b>{n}</b> {files} 来上传. 请重新上传!',
- msgFilesTooMany: '选择的上传文件个数 <b>({n})</b> 超出最大文件的限制个数 <b>{m}</b>. 请重新上传!',
- msgFileNotFound: '文件 "{name}" 未找到!',
- msgFileSecured: '安全限制,为了防止读取文件 "{name}".',
- msgFileNotReadable: '文件 "{name}" 不可读.',
- msgFilePreviewAborted: '取消 "{name}" 的预览.',
- msgFilePreviewError: '读取 "{name}" 时出现了一个错误.',
- msgInvalidFileType: '不正确的类型 "{name}". 只支持 "{types}" 类型的文件.',
- msgInvalidFileExtension: '不正确的文件扩展名 "{name}". 只支持 "{extensions}" 的文件扩展名.',
- msgValidationError: '文件上传错误',
- msgLoading: '加载第 {index} 文件 共 {files} &hellip;',
- msgProgress: '加载第 {index} 文件 共 {files} - {name} - {percent}% 完成.',
- msgSelected: '{n} {files} 选中',
- msgFoldersNotAllowed: '只支持拖拽文件! 跳过 {n} 拖拽的文件夹.',
- msgImageWidthSmall: '宽度的图像文件的"{name}"的必须是至少{size}像素.',
- msgImageHeightSmall: '图像文件的"{name}"的高度必须至少为{size}像素.',
- msgImageWidthLarge: '宽度的图像文件"{name}"不能超过{size}像素.',
- msgImageHeightLarge: '图像文件"{name}"的高度不能超过{size}像素.',
- dropZoneTitle: '拖拽文件到这里 &hellip;',
- slugCallback: function(text) {
- return text ? text.split(/(\\|\/)/g).pop().replace(/[^\w\u4e00-\u9fa5\-.\\\/ ]+/g, '') : '';
- }
- };
-})(window.jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-growl/bootstrap-growl.min.js b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-growl/bootstrap-growl.min.js
deleted file mode 100644
index 40642941..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-growl/bootstrap-growl.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/* Project: Bootstrap Growl - v2.0.0 | Author: Mouse0270 aka Robert McIntosh | License: MIT License | Website: https://github.com/mouse0270/bootstrap-growl */
-(function(e,t,n,r){var i="growl",s="plugin_"+i,o={element:"body",type:"info",allow_dismiss:true,placement:{from:"top",align:"right"},offset:20,spacing:10,z_index:1031,delay:5e3,timer:1e3,url_target:"_blank",mouse_over:false,animate:{enter:"animated fadeInDown",exit:"animated fadeOutUp"},icon_type:"class",template:'<div data-growl="container" class="alert" role="alert"><button type="button" class="close" data-growl="dismiss"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button><span data-growl="icon"></span><span data-growl="title"></span><span data-growl="message"></span><a href="#" data-growl="url"></a></div>'};var u=function(t,n){o=e.extend(true,{},o,n)},a=function(t,n,r){var n={content:{message:typeof n=="object"?n.message:n,title:n.title?n.title:null,icon:n.icon?n.icon:null,url:n.url?n.url:null}};r=e.extend(true,{},n,r);this.settings=e.extend(true,{},o,r);plugin=this;f(r,this.settings,plugin);this.$template=$template},f=function(t,n,r){var i={settings:n,$element:e(n.element),template:n.template};$template=l(i);c($template,i.settings);h($template,i.settings);p($template,i.settings,r)},l=function(t){var n=e(t.settings.template);n.addClass("alert-"+t.settings.type);n.attr("data-growl-position",t.settings.placement.from+"-"+t.settings.placement.align);n.find('[data-growl="dismiss"]').css("display","none");if(t.settings.allow_dismiss){n.find('[data-growl="dismiss"]').css("display","inline-block")}return n},c=function(e,t){e.find('[data-growl="dismiss"]').css({position:"absolute",top:"5px",right:"10px","z-index":t.z_index-1>=1?t.z_index-1:1});if(t.content.icon){if(t.icon_type.toLowerCase()=="class"){e.find('[data-growl="icon"]').addClass(t.content.icon)}else{if(e.find('[data-growl="icon"]').is("img")){e.find('[data-growl="icon"]').attr("src",t.content.icon)}else{e.find('[data-growl="icon"]').append('<img src="'+t.content.icon+'" />')}}}if(t.content.title){e.find('[data-growl="title"]').html(t.content.title)}if(t.content.message){e.find('[data-growl="message"]').html(t.content.message)}if(t.content.url){e.find('[data-growl="url"]').attr("href",t.content.url).attr("target",t.url_target);e.find('[data-growl="url"]').css({position:"absolute",top:"0px",left:"0px",width:"100%",height:"100%","z-index":t.z_index-2>=1?t.z_index-2:1})}},h=function(t,n){var r=n.offset,i={position:n.element==="body"?"fixed":"absolute",margin:0,"z-index":n.z_index,display:"inline-block"};e('[data-growl-position="'+n.placement.from+"-"+n.placement.align+'"]').each(function(){return r=Math.max(r,parseInt(e(this).css(n.placement.from))+e(this).outerHeight()+n.spacing)});i[n.placement.from]=r+"px";t.css(i);e(n.element).append(t);switch(n.placement.align){case"center":t.css({left:"50%",marginLeft:-(t.outerWidth()/2)+"px"});break;case"left":t.css("left",n.offset+"px");break;case"right":t.css("right",n.offset+"px");break}t.addClass("growl-animated")},p=function(e,t,n){e.addClass(t.animate.enter);e.find('[data-growl="dismiss"]').on("click",function(){n.close()});e.on("mouseover",function(t){e.addClass("hovering")}).on("mouseout",function(){e.removeClass("hovering")});if(t.delay>=1){e.data("growl-delay",t.delay);var r=setInterval(function(){var i=parseInt(e.data("growl-delay"))-t.timer;console.log();if(!e.hasClass("hovering")&&t.mouse_over=="pause"||t.mouse_over!="pause"){e.data("growl-delay",i)}if(i<=0){clearInterval(r);n.close()}},t.timer)}};a.prototype={update:function(e,t){switch(e){case"icon":if(this.settings.icon_type.toLowerCase()=="class"){this.$template.find('[data-growl="icon"]').removeClass(this.settings.content.icon);this.$template.find('[data-growl="icon"]').addClass(t)}else{if(this.$template.find('[data-growl="icon"]').is("img")){this.$template.find('[data-growl="icon"]')}else{this.$template.find('[data-growl="icon"]').find("img").attr().attr("src",t)}}break;case"url":this.$template.find('[data-growl="url"]').attr("href",t);break;case"type":this.$template.removeClass("alert-"+this.settings.type);this.$template.addClass("alert-"+t);break;default:this.$template.find('[data-growl="'+e+'"]').html(t)}return this},close:function(){var t=this.$template,n=this.settings,r=t.css(n.placement.from),i=false;t.addClass(this.settings.animate.exit);t.nextAll('[data-growl-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]').each(function(){e(this).css(n.placement.from,r);r=parseInt(r)+n.spacing+e(this).outerHeight()});t.one("webkitAnimationStart oanimationstart MSAnimationStart animationstart",function(e){i=true});t.one("webkitAnimationEnd oanimationend MSAnimationEnd animationend",function(t){e(this).remove()});setTimeout(function(){console.log(i);if(!i){t.remove()}},100);return this}};e.growl=function(e,t){if(e==false){u(this,t);return false}var n=new a(this,e,t);return n}})(jQuery,window,document) \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/css/bootstrap-modal-bs3patch.css b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/css/bootstrap-modal-bs3patch.css
deleted file mode 100644
index 9939f3ce..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/css/bootstrap-modal-bs3patch.css
+++ /dev/null
@@ -1,51 +0,0 @@
-/*!
- * Bootstrap Modal
- *
- * Copyright Jordan Schroter
- * Licensed under the Apache License v2.0
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Boostrap 3 patch for for bootstrap-modal. Include BEFORE bootstrap-modal.css!
- */
-
-body.modal-open,
-.modal-open .navbar-fixed-top,
-.modal-open .navbar-fixed-bottom {
- margin-right: 0;
-}
-
-.modal {
- left: 50%;
- bottom: auto;
- right: auto;
- z-index: 1050;
- padding: 0;
- width: 600px;
- margin-left: -300px;
- background-color: #ffffff;
- border: 1px solid #999999;
- border: 1px solid rgba(0, 0, 0, 0.2);
- border-radius: 6px;
- -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
- box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
- background-clip: padding-box;
-}
-
-.modal.container {
- max-width: none;
-}
-
-.modal-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1040;
-}
-
-.modal.bootbox {
- border: none;
- background: none;
- box-shadow: none;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/css/bootstrap-modal.css b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/css/bootstrap-modal.css
deleted file mode 100644
index bc62761a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/css/bootstrap-modal.css
+++ /dev/null
@@ -1,214 +0,0 @@
-/*!
- * Bootstrap Modal
- *
- * Copyright Jordan Schroter
- * Licensed under the Apache License v2.0
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- */
-
-.modal-open {
- overflow: hidden;
-}
-
-
-/* add a scroll bar to stop page from jerking around */
-.modal-open.page-overflow .page-container,
-.modal-open.page-overflow .page-container .navbar-fixed-top,
-.modal-open.page-overflow .page-container .navbar-fixed-bottom,
-.modal-open.page-overflow .modal-scrollable {
- overflow-y: scroll;
-}
-
-@media (max-width: 979px) {
- .modal-open.page-overflow .page-container .navbar-fixed-top,
- .modal-open.page-overflow .page-container .navbar-fixed-bottom {
- overflow-y: visible;
- }
-}
-
-
-.modal-scrollable {
- position: fixed;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- overflow: auto;
-}
-
-.modal {
- outline: none;
- position: absolute;
- margin-top: 0;
- top: 50%;
- overflow: visible; /* allow content to popup out (i.e tooltips) */
-}
-
-.modal.fade {
- top: -100%;
- -webkit-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
- -moz-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
- -o-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
- transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
-}
-
-.modal.fade.in {
- top: 50%;
-}
-
-.modal-body {
- max-height: none;
- overflow: visible;
-}
-
-.modal.modal-absolute {
- position: absolute;
- z-index: 950;
-}
-
-.modal .loading-mask {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- background: #fff;
- border-radius: 6px;
-}
-
-.modal-backdrop.modal-absolute{
- position: absolute;
- z-index: 940;
-}
-
-.modal-backdrop,
-.modal-backdrop.fade.in{
- opacity: 0.7;
- filter: alpha(opacity=70);
- background: #fff;
-}
-
-.modal.container {
- width: 940px;
- margin-left: -470px;
-}
-
-/* Modal Overflow */
-
-.modal-overflow.modal {
- top: 5%;
-}
-
-.modal-overflow.modal.fade {
- top: -100%;
-}
-
-.modal-overflow.modal.fade.in {
- top: 5%;
-}
-
-.modal-overflow .modal-body {
- overflow: auto;
- -webkit-overflow-scrolling: touch;
-}
-
-/* Responsive */
-
-@media (min-width: 1200px) {
- .modal.container {
- width: 1170px;
- margin-left: -585px;
- }
-}
-
-@media (max-width: 979px) {
- .modal,
- .modal.container,
- .modal.modal-overflow {
- top: 1%;
- right: 1%;
- left: 1%;
- bottom: auto;
- width: auto !important;
- height: auto !important;
- margin: 0 !important;
- padding: 0 !important;
- }
-
- .modal.fade.in,
- .modal.container.fade.in,
- .modal.modal-overflow.fade.in {
- top: 1%;
- bottom: auto;
- }
-
- .modal-body,
- .modal-overflow .modal-body {
- position: static;
- margin: 0;
- height: auto !important;
- max-height: none !important;
- overflow: visible !important;
- }
-
- .modal-footer,
- .modal-overflow .modal-footer {
- position: static;
- }
-}
-
-.loading-spinner {
- position: absolute;
- top: 50%;
- left: 50%;
- margin: -12px 0 0 -12px;
-}
-
-/*
-Animate.css - http://daneden.me/animate
-Licensed under the ☺ license (http://licence.visualidiot.com/)
-
-Copyright (c) 2012 Dan Eden*/
-
-.animated {
- -webkit-animation-duration: 1s;
- -moz-animation-duration: 1s;
- -o-animation-duration: 1s;
- animation-duration: 1s;
- -webkit-animation-fill-mode: both;
- -moz-animation-fill-mode: both;
- -o-animation-fill-mode: both;
- animation-fill-mode: both;
-}
-
-@-webkit-keyframes shake {
- 0%, 100% {-webkit-transform: translateX(0);}
- 10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);}
- 20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);}
-}
-
-@-moz-keyframes shake {
- 0%, 100% {-moz-transform: translateX(0);}
- 10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-10px);}
- 20%, 40%, 60%, 80% {-moz-transform: translateX(10px);}
-}
-
-@-o-keyframes shake {
- 0%, 100% {-o-transform: translateX(0);}
- 10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-10px);}
- 20%, 40%, 60%, 80% {-o-transform: translateX(10px);}
-}
-
-@keyframes shake {
- 0%, 100% {transform: translateX(0);}
- 10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);}
- 20%, 40%, 60%, 80% {transform: translateX(10px);}
-}
-
-.shake {
- -webkit-animation-name: shake;
- -moz-animation-name: shake;
- -o-animation-name: shake;
- animation-name: shake;
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/img/ajax-loader.gif b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/img/ajax-loader.gif
deleted file mode 100644
index 4e651edc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/img/ajax-loader.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/js/bootstrap-modal.js b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/js/bootstrap-modal.js
deleted file mode 100644
index 20bb29c8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/js/bootstrap-modal.js
+++ /dev/null
@@ -1,378 +0,0 @@
-/* ===========================================================
- * bootstrap-modal.js v2.2.5
- * ===========================================================
- * Copyright 2012 Jordan Schroter
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ========================================================== */
-
-
-!function ($) {
-
- "use strict"; // jshint ;_;
-
- /* MODAL CLASS DEFINITION
- * ====================== */
-
- var Modal = function (element, options) {
- this.init(element, options);
- };
-
- Modal.prototype = {
-
- constructor: Modal,
-
- init: function (element, options) {
- var that = this;
-
- this.options = options;
-
- this.$element = $(element)
- .delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this));
-
- this.options.remote && this.$element.find('.modal-body').load(this.options.remote, function () {
- var e = $.Event('loaded');
- that.$element.trigger(e);
- });
-
- var manager = typeof this.options.manager === 'function' ?
- this.options.manager.call(this) : this.options.manager;
-
- manager = manager.appendModal ?
- manager : $(manager).modalmanager().data('modalmanager');
-
- manager.appendModal(this);
- },
-
- toggle: function () {
- return this[!this.isShown ? 'show' : 'hide']();
- },
-
- show: function () {
- var e = $.Event('show');
-
- if (this.isShown) return;
-
- this.$element.trigger(e);
-
- if (e.isDefaultPrevented()) return;
-
- this.escape();
-
- this.tab();
-
- this.options.loading && this.loading();
- },
-
- hide: function (e) {
- e && e.preventDefault();
-
- e = $.Event('hide');
-
- this.$element.trigger(e);
-
- if (!this.isShown || e.isDefaultPrevented()) return;
-
- this.isShown = false;
-
- this.escape();
-
- this.tab();
-
- this.isLoading && this.loading();
-
- $(document).off('focusin.modal');
-
- this.$element
- .removeClass('in')
- .removeClass('animated')
- .removeClass(this.options.attentionAnimation)
- .removeClass('modal-overflow')
- .attr('aria-hidden', true);
-
- $.support.transition && this.$element.hasClass('fade') ?
- this.hideWithTransition() :
- this.hideModal();
- },
-
- layout: function () {
- var prop = this.options.height ? 'height' : 'max-height',
- value = this.options.height || this.options.maxHeight;
-
- if (this.options.width){
- this.$element.css('width', this.options.width);
-
- var that = this;
- this.$element.css('margin-left', function () {
- if (/%/ig.test(that.options.width)){
- return -(parseInt(that.options.width) / 2) + '%';
- } else {
- return -($(this).width() / 2) + 'px';
- }
- });
- } else {
- this.$element.css('width', '');
- this.$element.css('margin-left', '');
- }
-
- this.$element.find('.modal-body')
- .css('overflow', '')
- .css(prop, '');
-
- if (value){
- this.$element.find('.modal-body')
- .css('overflow', 'auto')
- .css(prop, value);
- }
-
- var modalOverflow = $(window).height() - 10 < this.$element.height();
-
- if (modalOverflow || this.options.modalOverflow) {
- this.$element
- .css('margin-top', 0)
- .addClass('modal-overflow');
- } else {
- this.$element
- .css('margin-top', 0 - this.$element.height() / 2)
- .removeClass('modal-overflow');
- }
- },
-
- tab: function () {
- var that = this;
-
- if (this.isShown && this.options.consumeTab) {
- this.$element.on('keydown.tabindex.modal', '[data-tabindex]', function (e) {
- if (e.keyCode && e.keyCode == 9){
- var elements = [],
- tabindex = Number($(this).data('tabindex'));
-
- that.$element.find('[data-tabindex]:enabled:visible:not([readonly])').each(function (ev) {
- elements.push(Number($(this).data('tabindex')));
- });
- elements.sort(function(a,b){return a-b});
-
- var arrayPos = $.inArray(tabindex, elements);
- if (!e.shiftKey){
- arrayPos < elements.length-1 ?
- that.$element.find('[data-tabindex='+elements[arrayPos+1]+']').focus() :
- that.$element.find('[data-tabindex='+elements[0]+']').focus();
- } else {
- arrayPos == 0 ?
- that.$element.find('[data-tabindex='+elements[elements.length-1]+']').focus() :
- that.$element.find('[data-tabindex='+elements[arrayPos-1]+']').focus();
- }
-
- e.preventDefault();
- }
- });
- } else if (!this.isShown) {
- this.$element.off('keydown.tabindex.modal');
- }
- },
-
- escape: function () {
- var that = this;
- if (this.isShown && this.options.keyboard) {
- if (!this.$element.attr('tabindex')) this.$element.attr('tabindex', -1);
-
- this.$element.on('keyup.dismiss.modal', function (e) {
- e.which == 27 && that.hide();
- });
- } else if (!this.isShown) {
- this.$element.off('keyup.dismiss.modal')
- }
- },
-
- hideWithTransition: function () {
- var that = this
- , timeout = setTimeout(function () {
- that.$element.off($.support.transition.end);
- that.hideModal();
- }, 500);
-
- this.$element.one($.support.transition.end, function () {
- clearTimeout(timeout);
- that.hideModal();
- });
- },
-
- hideModal: function () {
- var prop = this.options.height ? 'height' : 'max-height';
- var value = this.options.height || this.options.maxHeight;
-
- if (value){
- this.$element.find('.modal-body')
- .css('overflow', '')
- .css(prop, '');
- }
-
- this.$element
- .hide()
- .trigger('hidden');
- },
-
- removeLoading: function () {
- this.$loading.remove();
- this.$loading = null;
- this.isLoading = false;
- },
-
- loading: function (callback) {
- callback = callback || function () {};
-
- var animate = this.$element.hasClass('fade') ? 'fade' : '';
-
- if (!this.isLoading) {
- var doAnimate = $.support.transition && animate;
-
- this.$loading = $('<div class="loading-mask ' + animate + '">')
- .append(this.options.spinner)
- .appendTo(this.$element);
-
- if (doAnimate) this.$loading[0].offsetWidth; // force reflow
-
- this.$loading.addClass('in');
-
- this.isLoading = true;
-
- doAnimate ?
- this.$loading.one($.support.transition.end, callback) :
- callback();
-
- } else if (this.isLoading && this.$loading) {
- this.$loading.removeClass('in');
-
- var that = this;
- $.support.transition && this.$element.hasClass('fade')?
- this.$loading.one($.support.transition.end, function () { that.removeLoading() }) :
- that.removeLoading();
-
- } else if (callback) {
- callback(this.isLoading);
- }
- },
-
- focus: function () {
- var $focusElem = this.$element.find(this.options.focusOn);
-
- $focusElem = $focusElem.length ? $focusElem : this.$element;
-
- $focusElem.focus();
- },
-
- attention: function (){
- // NOTE: transitionEnd with keyframes causes odd behaviour
-
- if (this.options.attentionAnimation){
- this.$element
- .removeClass('animated')
- .removeClass(this.options.attentionAnimation);
-
- var that = this;
-
- setTimeout(function () {
- that.$element
- .addClass('animated')
- .addClass(that.options.attentionAnimation);
- }, 0);
- }
-
-
- this.focus();
- },
-
-
- destroy: function () {
- var e = $.Event('destroy');
-
- this.$element.trigger(e);
-
- if (e.isDefaultPrevented()) return;
-
- this.$element
- .off('.modal')
- .removeData('modal')
- .removeClass('in')
- .attr('aria-hidden', true);
-
- if (this.$parent !== this.$element.parent()) {
- this.$element.appendTo(this.$parent);
- } else if (!this.$parent.length) {
- // modal is not part of the DOM so remove it.
- this.$element.remove();
- this.$element = null;
- }
-
- this.$element.trigger('destroyed');
- }
- };
-
-
- /* MODAL PLUGIN DEFINITION
- * ======================= */
-
- $.fn.modal = function (option, args) {
- return this.each(function () {
- var $this = $(this),
- data = $this.data('modal'),
- options = $.extend({}, $.fn.modal.defaults, $this.data(), typeof option == 'object' && option);
-
- if (!data) $this.data('modal', (data = new Modal(this, options)));
- if (typeof option == 'string') data[option].apply(data, [].concat(args));
- else if (options.show) data.show()
- })
- };
-
- $.fn.modal.defaults = {
- keyboard: true,
- backdrop: true,
- loading: false,
- show: true,
- width: null,
- height: null,
- maxHeight: null,
- modalOverflow: false,
- consumeTab: true,
- focusOn: null,
- replace: false,
- resize: false,
- attentionAnimation: 'shake',
- manager: 'body',
- spinner: '<div class="loading-spinner" style="width: 200px; margin-left: -100px;"><div class="progress progress-striped active"><div class="bar" style="width: 100%;"></div></div></div>',
- backdropTemplate: '<div class="modal-backdrop" />'
- };
-
- $.fn.modal.Constructor = Modal;
-
-
- /* MODAL DATA-API
- * ============== */
-
- $(function () {
- $(document).off('click.modal').on('click.modal.data-api', '[data-toggle="modal"]', function ( e ) {
- var $this = $(this),
- href = $this.attr('href'),
- $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))), //strip for ie7
- option = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data());
-
- e.preventDefault();
- $target
- .modal(option)
- .one('hide', function () {
- $this.focus();
- })
- });
- });
-
-}(window.jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/js/bootstrap-modalmanager.js b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/js/bootstrap-modalmanager.js
deleted file mode 100644
index ba6f7eb2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-modal/js/bootstrap-modalmanager.js
+++ /dev/null
@@ -1,423 +0,0 @@
-/* ===========================================================
- * bootstrap-modalmanager.js v2.2.5
- * ===========================================================
- * Copyright 2012 Jordan Schroter.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ========================================================== */
-
-!function ($) {
-
- "use strict"; // jshint ;_;
-
- /* MODAL MANAGER CLASS DEFINITION
- * ====================== */
-
- var ModalManager = function (element, options) {
- this.init(element, options);
- };
-
- ModalManager.prototype = {
-
- constructor: ModalManager,
-
- init: function (element, options) {
- this.$element = $(element);
- this.options = $.extend({}, $.fn.modalmanager.defaults, this.$element.data(), typeof options == 'object' && options);
- this.stack = [];
- this.backdropCount = 0;
-
- if (this.options.resize) {
- var resizeTimeout,
- that = this;
-
- $(window).on('resize.modal', function(){
- resizeTimeout && clearTimeout(resizeTimeout);
- resizeTimeout = setTimeout(function(){
- for (var i = 0; i < that.stack.length; i++){
- that.stack[i].isShown && that.stack[i].layout();
- }
- }, 10);
- });
- }
- },
-
- createModal: function (element, options) {
- $(element).modal($.extend({ manager: this }, options));
- },
-
- appendModal: function (modal) {
- this.stack.push(modal);
-
- var that = this;
-
- modal.$element.on('show.modalmanager', targetIsSelf(function (e) {
-
- var showModal = function(){
- modal.isShown = true;
-
- var transition = $.support.transition && modal.$element.hasClass('fade');
-
- that.$element
- .toggleClass('modal-open', that.hasOpenModal())
- .toggleClass('page-overflow', $(window).height() < that.$element.height());
-
- modal.$parent = modal.$element.parent();
-
- modal.$container = that.createContainer(modal);
-
- modal.$element.appendTo(modal.$container);
-
- that.backdrop(modal, function () {
- modal.$element.show();
-
- if (transition) {
- //modal.$element[0].style.display = 'run-in';
- modal.$element[0].offsetWidth;
- //modal.$element.one($.support.transition.end, function () { modal.$element[0].style.display = 'block' });
- }
-
- modal.layout();
-
- modal.$element
- .addClass('in')
- .attr('aria-hidden', false);
-
- var complete = function () {
- that.setFocus();
- modal.$element.trigger('shown');
- };
-
- transition ?
- modal.$element.one($.support.transition.end, complete) :
- complete();
- });
- };
-
- modal.options.replace ?
- that.replace(showModal) :
- showModal();
- }));
-
- modal.$element.on('hidden.modalmanager', targetIsSelf(function (e) {
- that.backdrop(modal);
- // handle the case when a modal may have been removed from the dom before this callback executes
- if (!modal.$element.parent().length) {
- that.destroyModal(modal);
- } else if (modal.$backdrop){
- var transition = $.support.transition && modal.$element.hasClass('fade');
-
- // trigger a relayout due to firebox's buggy transition end event
- if (transition) { modal.$element[0].offsetWidth; }
- $.support.transition && modal.$element.hasClass('fade') ?
- modal.$backdrop.one($.support.transition.end, function () { modal.destroy(); }) :
- modal.destroy();
- } else {
- modal.destroy();
- }
-
- }));
-
- modal.$element.on('destroyed.modalmanager', targetIsSelf(function (e) {
- that.destroyModal(modal);
- }));
- },
-
- getOpenModals: function () {
- var openModals = [];
- for (var i = 0; i < this.stack.length; i++){
- if (this.stack[i].isShown) openModals.push(this.stack[i]);
- }
-
- return openModals;
- },
-
- hasOpenModal: function () {
- return this.getOpenModals().length > 0;
- },
-
- setFocus: function () {
- var topModal;
-
- for (var i = 0; i < this.stack.length; i++){
- if (this.stack[i].isShown) topModal = this.stack[i];
- }
-
- if (!topModal) return;
-
- topModal.focus();
- },
-
- destroyModal: function (modal) {
- modal.$element.off('.modalmanager');
- if (modal.$backdrop) this.removeBackdrop(modal);
- this.stack.splice(this.getIndexOfModal(modal), 1);
-
- var hasOpenModal = this.hasOpenModal();
-
- this.$element.toggleClass('modal-open', hasOpenModal);
-
- if (!hasOpenModal){
- this.$element.removeClass('page-overflow');
- }
-
- this.removeContainer(modal);
-
- this.setFocus();
- },
-
- getModalAt: function (index) {
- return this.stack[index];
- },
-
- getIndexOfModal: function (modal) {
- for (var i = 0; i < this.stack.length; i++){
- if (modal === this.stack[i]) return i;
- }
- },
-
- replace: function (callback) {
- var topModal;
-
- for (var i = 0; i < this.stack.length; i++){
- if (this.stack[i].isShown) topModal = this.stack[i];
- }
-
- if (topModal) {
- this.$backdropHandle = topModal.$backdrop;
- topModal.$backdrop = null;
-
- callback && topModal.$element.one('hidden',
- targetIsSelf( $.proxy(callback, this) ));
-
- topModal.hide();
- } else if (callback) {
- callback();
- }
- },
-
- removeBackdrop: function (modal) {
- modal.$backdrop.remove();
- modal.$backdrop = null;
- },
-
- createBackdrop: function (animate, tmpl) {
- var $backdrop;
-
- if (!this.$backdropHandle) {
- $backdrop = $(tmpl)
- .addClass(animate)
- .appendTo(this.$element);
- } else {
- $backdrop = this.$backdropHandle;
- $backdrop.off('.modalmanager');
- this.$backdropHandle = null;
- this.isLoading && this.removeSpinner();
- }
-
- return $backdrop;
- },
-
- removeContainer: function (modal) {
- modal.$container.remove();
- modal.$container = null;
- },
-
- createContainer: function (modal) {
- var $container;
-
- $container = $('<div class="modal-scrollable">')
- .css('z-index', getzIndex('modal', this.getOpenModals().length))
- .appendTo(this.$element);
-
- if (modal && modal.options.backdrop != 'static') {
- $container.on('click.modal', targetIsSelf(function (e) {
- modal.hide();
- }));
- } else if (modal) {
- $container.on('click.modal', targetIsSelf(function (e) {
- modal.attention();
- }));
- }
-
- return $container;
-
- },
-
- backdrop: function (modal, callback) {
- var animate = modal.$element.hasClass('fade') ? 'fade' : '',
- showBackdrop = modal.options.backdrop &&
- this.backdropCount < this.options.backdropLimit;
-
- if (modal.isShown && showBackdrop) {
- var doAnimate = $.support.transition && animate && !this.$backdropHandle;
-
- modal.$backdrop = this.createBackdrop(animate, modal.options.backdropTemplate);
-
- modal.$backdrop.css('z-index', getzIndex( 'backdrop', this.getOpenModals().length ));
-
- if (doAnimate) modal.$backdrop[0].offsetWidth; // force reflow
-
- modal.$backdrop.addClass('in');
-
- this.backdropCount += 1;
-
- doAnimate ?
- modal.$backdrop.one($.support.transition.end, callback) :
- callback();
-
- } else if (!modal.isShown && modal.$backdrop) {
- modal.$backdrop.removeClass('in');
-
- this.backdropCount -= 1;
-
- var that = this;
-
- $.support.transition && modal.$element.hasClass('fade')?
- modal.$backdrop.one($.support.transition.end, function () { that.removeBackdrop(modal) }) :
- that.removeBackdrop(modal);
-
- } else if (callback) {
- callback();
- }
- },
-
- removeSpinner: function(){
- this.$spinner && this.$spinner.remove();
- this.$spinner = null;
- this.isLoading = false;
- },
-
- removeLoading: function () {
- this.$backdropHandle && this.$backdropHandle.remove();
- this.$backdropHandle = null;
- this.removeSpinner();
- },
-
- loading: function (callback) {
- callback = callback || function () { };
-
- this.$element
- .toggleClass('modal-open', !this.isLoading || this.hasOpenModal())
- .toggleClass('page-overflow', $(window).height() < this.$element.height());
-
- if (!this.isLoading) {
-
- this.$backdropHandle = this.createBackdrop('fade', this.options.backdropTemplate);
-
- this.$backdropHandle[0].offsetWidth; // force reflow
-
- var openModals = this.getOpenModals();
-
- this.$backdropHandle
- .css('z-index', getzIndex('backdrop', openModals.length + 1))
- .addClass('in');
-
- var $spinner = $(this.options.spinner)
- .css('z-index', getzIndex('modal', openModals.length + 1))
- .appendTo(this.$element)
- .addClass('in');
-
- this.$spinner = $(this.createContainer())
- .append($spinner)
- .on('click.modalmanager', $.proxy(this.loading, this));
-
- this.isLoading = true;
-
- $.support.transition ?
- this.$backdropHandle.one($.support.transition.end, callback) :
- callback();
-
- } else if (this.isLoading && this.$backdropHandle) {
- this.$backdropHandle.removeClass('in');
-
- var that = this;
- $.support.transition ?
- this.$backdropHandle.one($.support.transition.end, function () { that.removeLoading() }) :
- that.removeLoading();
-
- } else if (callback) {
- callback(this.isLoading);
- }
- }
- };
-
- /* PRIVATE METHODS
- * ======================= */
-
- // computes and caches the zindexes
- var getzIndex = (function () {
- var zIndexFactor,
- baseIndex = {};
-
- return function (type, pos) {
-
- if (typeof zIndexFactor === 'undefined'){
- var $baseModal = $('<div class="modal hide" />').appendTo('body'),
- $baseBackdrop = $('<div class="modal-backdrop hide" />').appendTo('body');
-
- baseIndex['modal'] = +$baseModal.css('z-index');
- baseIndex['backdrop'] = +$baseBackdrop.css('z-index');
- zIndexFactor = baseIndex['modal'] - baseIndex['backdrop'];
-
- $baseModal.remove();
- $baseBackdrop.remove();
- $baseBackdrop = $baseModal = null;
- }
-
- return baseIndex[type] + (zIndexFactor * pos);
-
- }
- }());
-
- // make sure the event target is the modal itself in order to prevent
- // other components such as tabsfrom triggering the modal manager.
- // if Boostsrap namespaced events, this would not be needed.
- function targetIsSelf(callback){
- return function (e) {
- if (e && this === e.target){
- return callback.apply(this, arguments);
- }
- }
- }
-
-
- /* MODAL MANAGER PLUGIN DEFINITION
- * ======================= */
-
- $.fn.modalmanager = function (option, args) {
- return this.each(function () {
- var $this = $(this),
- data = $this.data('modalmanager');
-
- if (!data) $this.data('modalmanager', (data = new ModalManager(this, option)));
- if (typeof option === 'string') data[option].apply(data, [].concat(args))
- })
- };
-
- $.fn.modalmanager.defaults = {
- backdropLimit: 999,
- resize: true,
- spinner: '<div class="loading-spinner fade" style="width: 200px; margin-left: -100px;"><div class="progress progress-striped active"><div class="bar" style="width: 100%;"></div></div></div>',
- backdropTemplate: '<div class="modal-backdrop" />'
- };
-
- $.fn.modalmanager.Constructor = ModalManager
-
- // ModalManager handles the modal-open class so we need
- // to remove conflicting bootstrap 3 event handlers
- $(function () {
- $(document).off('show.bs.modal').off('hidden.bs.modal');
- });
-
-}(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-select/bootstrap-select.min.css b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-select/bootstrap-select.min.css
deleted file mode 100644
index 73109d46..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-select/bootstrap-select.min.css
+++ /dev/null
@@ -1,7 +0,0 @@
-/*!
- * bootstrap-select v1.4.3
- * http://silviomoreto.github.io/bootstrap-select/
- *
- * Copyright 2013 bootstrap-select
- * Licensed under the MIT license
- */.bootstrap-select.btn-group,.bootstrap-select.btn-group[class*="span"]{float:none;display:inline-block;margin-bottom:10px;margin-left:0}.form-search .bootstrap-select.btn-group,.form-inline .bootstrap-select.btn-group,.form-horizontal .bootstrap-select.btn-group{margin-bottom:0}.bootstrap-select.form-control{margin-bottom:0;padding:0;border:0}.bootstrap-select.btn-group.pull-right,.bootstrap-select.btn-group[class*="span"].pull-right,.row-fluid .bootstrap-select.btn-group[class*="span"].pull-right{float:right}.input-append .bootstrap-select.btn-group{margin-left:-1px}.input-prepend .bootstrap-select.btn-group{margin-right:-1px}.bootstrap-select:not([class*="span"]):not([class*="col-"]):not([class*="form-control"]){width:220px}.bootstrap-select{width:220px\0}.bootstrap-select.form-control:not([class*="span"]){width:100%}.bootstrap-select>.btn{width:100%}.error .bootstrap-select .btn{border:1px solid #b94a48}.dropdown-menu{z-index:2000}.bootstrap-select.show-menu-arrow.open>.btn{z-index:2051}.bootstrap-select .btn:focus{outline:thin dotted #333 !important;outline:5px auto -webkit-focus-ring-color !important;outline-offset:-2px}.bootstrap-select.btn-group .btn .filter-option{overflow:hidden;position:absolute;left:12px;right:25px;text-align:left}.bootstrap-select.btn-group .btn .caret{position:absolute;top:50%;right:12px;margin-top:-2px;vertical-align:middle}.bootstrap-select.btn-group>.disabled,.bootstrap-select.btn-group .dropdown-menu li.disabled>a{cursor:not-allowed}.bootstrap-select.btn-group>.disabled:focus{outline:none !important}.bootstrap-select.btn-group[class*="span"] .btn{width:100%}.bootstrap-select.btn-group .dropdown-menu{min-width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.bootstrap-select.btn-group .dropdown-menu.inner{position:static;border:0;padding:0;margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.bootstrap-select.btn-group .dropdown-menu dt{display:block;padding:3px 20px;cursor:default}.bootstrap-select.btn-group .div-contain{overflow:hidden}.bootstrap-select.btn-group .dropdown-menu li{position:relative}.bootstrap-select.btn-group .dropdown-menu li>a.opt{position:relative;padding-left:35px}.bootstrap-select.btn-group .dropdown-menu li>a{cursor:pointer}.bootstrap-select.btn-group .dropdown-menu li>dt small{font-weight:normal}.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a i.check-mark{display:inline-block;position:absolute;right:15px;margin-top:2.5px}.bootstrap-select.btn-group .dropdown-menu li a i.check-mark{display:none}.bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text{margin-right:34px}.bootstrap-select.btn-group .dropdown-menu li small{padding-left:.5em}.bootstrap-select.btn-group .dropdown-menu li:not(.disabled)>a:hover small,.bootstrap-select.btn-group .dropdown-menu li:not(.disabled)>a:focus small,.bootstrap-select.btn-group .dropdown-menu li.active:not(.disabled)>a small{color:#64b1d8;color:rgba(255,255,255,0.4)}.bootstrap-select.btn-group .dropdown-menu li>dt small{font-weight:normal}.bootstrap-select.show-menu-arrow .dropdown-toggle:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #CCC;border-bottom-color:rgba(0,0,0,0.2);position:absolute;bottom:-4px;left:9px;display:none}.bootstrap-select.show-menu-arrow .dropdown-toggle:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid white;position:absolute;bottom:-4px;left:10px;display:none}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before{bottom:auto;top:-3px;border-top:7px solid #ccc;border-bottom:0;border-top-color:rgba(0,0,0,0.2)}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after{bottom:auto;top:-3px;border-top:6px solid #fff;border-bottom:0}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before{right:12px;left:auto}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after{right:13px;left:auto}.bootstrap-select.show-menu-arrow.open>.dropdown-toggle:before,.bootstrap-select.show-menu-arrow.open>.dropdown-toggle:after{display:block}.bootstrap-select.btn-group .no-results{padding:3px;background:#f5f5f5;margin:0 5px}.mobile-device{position:absolute;top:0;left:0;display:block !important;width:100%;height:100% !important;opacity:0}.bootstrap-select.fit-width{width:auto !important}.bootstrap-select.btn-group.fit-width .btn .filter-option{position:static}.bootstrap-select.btn-group.fit-width .btn .caret{position:static;top:auto;margin-top:-1px}.control-group.error .bootstrap-select .dropdown-toggle{border-color:#b94a48}.bootstrap-select-searchbox{padding:4px 8px}.bootstrap-select-searchbox input{margin-bottom:0}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-select/bootstrap-select.min.js b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-select/bootstrap-select.min.js
deleted file mode 100644
index 2df99958..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-select/bootstrap-select.min.js
+++ /dev/null
@@ -1,8 +0,0 @@
-/*!
- * bootstrap-select v1.4.3
- * http://silviomoreto.github.io/bootstrap-select/
- *
- * Copyright 2013 bootstrap-select
- * Licensed under the MIT license
- */
-;!function(b){b.expr[":"].icontains=function(e,c,d){return b(e).text().toUpperCase().indexOf(d[3].toUpperCase())>=0};var a=function(d,c,f){if(f){f.stopPropagation();f.preventDefault()}this.$element=b(d);this.$newElement=null;this.$button=null;this.$menu=null;this.$lis=null;this.options=b.extend({},b.fn.selectpicker.defaults,this.$element.data(),typeof c=="object"&&c);if(this.options.title===null){this.options.title=this.$element.attr("title")}this.val=a.prototype.val;this.render=a.prototype.render;this.refresh=a.prototype.refresh;this.setStyle=a.prototype.setStyle;this.selectAll=a.prototype.selectAll;this.deselectAll=a.prototype.deselectAll;this.init()};a.prototype={constructor:a,init:function(){var c=this,d=this.$element.attr("id");this.$element.hide();this.multiple=this.$element.prop("multiple");this.autofocus=this.$element.prop("autofocus");this.$newElement=this.createView();this.$element.after(this.$newElement);this.$menu=this.$newElement.find("> .dropdown-menu");this.$button=this.$newElement.find("> button");this.$searchbox=this.$newElement.find("input");if(d!==undefined){this.$button.attr("data-id",d);b('label[for="'+d+'"]').click(function(f){f.preventDefault();c.$button.focus()})}this.checkDisabled();this.clickListener();if(this.options.liveSearch){this.liveSearchListener()}this.render();this.liHeight();this.setStyle();this.setWidth();if(this.options.container){this.selectPosition()}this.$menu.data("this",this);this.$newElement.data("this",this)},createDropdown:function(){var c=this.multiple?" show-tick":"";var g=this.autofocus?" autofocus":"";var f=this.options.header?'<div class="popover-title"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>":"";var e=this.options.liveSearch?'<div class="bootstrap-select-searchbox"><input type="text" class="input-block-level form-control" /></div>':"";var d='<div class="btn-group bootstrap-select'+c+'"><button type="button" class="btn dropdown-toggle selectpicker" data-toggle="dropdown"'+g+'><span class="filter-option pull-left"></span>&nbsp;<span class="caret"></span></button><div class="dropdown-menu open">'+f+e+'<ul class="dropdown-menu inner selectpicker" role="menu"></ul></div></div>';return b(d)},createView:function(){var c=this.createDropdown();var d=this.createLi();c.find("ul").append(d);return c},reloadLi:function(){this.destroyLi();var c=this.createLi();this.$menu.find("ul").append(c)},destroyLi:function(){this.$menu.find("li").remove()},createLi:function(){var d=this,e=[],c="";this.$element.find("option").each(function(){var i=b(this);var g=i.attr("class")||"";var h=i.attr("style")||"";var m=i.data("content")?i.data("content"):i.html();var k=i.data("subtext")!==undefined?'<small class="muted text-muted">'+i.data("subtext")+"</small>":"";var j=i.data("icon")!==undefined?'<i class="'+d.options.iconBase+" "+i.data("icon")+'"></i> ':"";if(j!==""&&(i.is(":disabled")||i.parent().is(":disabled"))){j="<span>"+j+"</span>"}if(!i.data("content")){m=j+'<span class="text">'+m+k+"</span>"}if(d.options.hideDisabled&&(i.is(":disabled")||i.parent().is(":disabled"))){e.push('<a style="min-height: 0; padding: 0"></a>')}else{if(i.parent().is("optgroup")&&i.data("divider")!==true){if(i.index()===0){var l=i.parent().attr("label");var n=i.parent().data("subtext")!==undefined?'<small class="muted text-muted">'+i.parent().data("subtext")+"</small>":"";var f=i.parent().data("icon")?'<i class="'+i.parent().data("icon")+'"></i> ':"";l=f+'<span class="text">'+l+n+"</span>";if(i[0].index!==0){e.push('<div class="div-contain"><div class="divider"></div></div><dt>'+l+"</dt>"+d.createA(m,"opt "+g,h))}else{e.push("<dt>"+l+"</dt>"+d.createA(m,"opt "+g,h))}}else{e.push(d.createA(m,"opt "+g,h))}}else{if(i.data("divider")===true){e.push('<div class="div-contain"><div class="divider"></div></div>')}else{if(b(this).data("hidden")===true){e.push("")}else{e.push(d.createA(m,g,h))}}}}});b.each(e,function(f,g){c+="<li rel="+f+">"+g+"</li>"});if(!this.multiple&&this.$element.find("option:selected").length===0&&!this.options.title){this.$element.find("option").eq(0).prop("selected",true).attr("selected","selected")}return b(c)},createA:function(e,c,d){return'<a tabindex="0" class="'+c+'" style="'+d+'">'+e+'<i class="'+this.options.iconBase+" "+this.options.tickIcon+' icon-ok check-mark"></i></a>'},render:function(e){var d=this;if(e!==false){this.$element.find("option").each(function(i){d.setDisabled(i,b(this).is(":disabled")||b(this).parent().is(":disabled"));d.setSelected(i,b(this).is(":selected"))})}this.tabIndex();var h=this.$element.find("option:selected").map(function(){var k=b(this);var j=k.data("icon")&&d.options.showIcon?'<i class="'+d.options.iconBase+" "+k.data("icon")+'"></i> ':"";var i;if(d.options.showSubtext&&k.attr("data-subtext")&&!d.multiple){i=' <small class="muted text-muted">'+k.data("subtext")+"</small>"}else{i=""}if(k.data("content")&&d.options.showContent){return k.data("content")}else{if(k.attr("title")!==undefined){return k.attr("title")}else{return j+k.html()+i}}}).toArray();var g=!this.multiple?h[0]:h.join(this.options.multipleSeparator);if(this.multiple&&this.options.selectedTextFormat.indexOf("count")>-1){var c=this.options.selectedTextFormat.split(">");var f=this.options.hideDisabled?":not([disabled])":"";if((c.length>1&&h.length>c[1])||(c.length==1&&h.length>=2)){g=this.options.countSelectedText.replace("{0}",h.length).replace("{1}",this.$element.find('option:not([data-divider="true"]):not([data-hidden="true"])'+f).length)}}if(!g){g=this.options.title!==undefined?this.options.title:this.options.noneSelectedText}this.$button.attr("title",b.trim(g));this.$newElement.find(".filter-option").html(g)},setStyle:function(e,d){if(this.$element.attr("class")){this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device/gi,""))}var c=e?e:this.options.style;if(d=="add"){this.$button.addClass(c)}else{if(d=="remove"){this.$button.removeClass(c)}else{this.$button.removeClass(this.options.style);this.$button.addClass(c)}}},liHeight:function(){var e=this.$menu.parent().clone().find("> .dropdown-toggle").prop("autofocus",false).end().appendTo("body"),f=e.addClass("open").find("> .dropdown-menu"),d=f.find("li > a").outerHeight(),c=this.options.header?f.find(".popover-title").outerHeight():0,g=this.options.liveSearch?f.find(".bootstrap-select-searchbox").outerHeight():0;e.remove();this.$newElement.data("liHeight",d).data("headerHeight",c).data("searchHeight",g)},setSize:function(){var h=this,d=this.$menu,i=d.find(".inner"),t=this.$newElement.outerHeight(),f=this.$newElement.data("liHeight"),r=this.$newElement.data("headerHeight"),l=this.$newElement.data("searchHeight"),k=d.find("li .divider").outerHeight(true),q=parseInt(d.css("padding-top"))+parseInt(d.css("padding-bottom"))+parseInt(d.css("border-top-width"))+parseInt(d.css("border-bottom-width")),o=this.options.hideDisabled?":not(.disabled)":"",n=b(window),g=q+parseInt(d.css("margin-top"))+parseInt(d.css("margin-bottom"))+2,p,u,s,j=function(){u=h.$newElement.offset().top-n.scrollTop();s=n.height()-u-t};j();if(this.options.header){d.css("padding-top",0)}if(this.options.size=="auto"){var e=function(){var v;j();p=s-g;if(h.options.dropupAuto){h.$newElement.toggleClass("dropup",(u>s)&&((p-g)<d.height()))}if(h.$newElement.hasClass("dropup")){p=u-g}if((d.find("li").length+d.find("dt").length)>3){v=f*3+g-2}else{v=0}d.css({"max-height":p+"px",overflow:"hidden","min-height":v+"px"});i.css({"max-height":p-r-l-q+"px","overflow-y":"auto","min-height":v-q+"px"})};e();b(window).resize(e);b(window).scroll(e)}else{if(this.options.size&&this.options.size!="auto"&&d.find("li"+o).length>this.options.size){var m=d.find("li"+o+" > *").filter(":not(.div-contain)").slice(0,this.options.size).last().parent().index();var c=d.find("li").slice(0,m+1).find(".div-contain").length;p=f*this.options.size+c*k+q;if(h.options.dropupAuto){this.$newElement.toggleClass("dropup",(u>s)&&(p<d.height()))}d.css({"max-height":p+r+l+"px",overflow:"hidden"});i.css({"max-height":p-q+"px","overflow-y":"auto"})}}},setWidth:function(){if(this.options.width=="auto"){this.$menu.css("min-width","0");var d=this.$newElement.clone().appendTo("body");var c=d.find("> .dropdown-menu").css("width");d.remove();this.$newElement.css("width",c)}else{if(this.options.width=="fit"){this.$menu.css("min-width","");this.$newElement.css("width","").addClass("fit-width")}else{if(this.options.width){this.$menu.css("min-width","");this.$newElement.css("width",this.options.width)}else{this.$menu.css("min-width","");this.$newElement.css("width","")}}}if(this.$newElement.hasClass("fit-width")&&this.options.width!=="fit"){this.$newElement.removeClass("fit-width")}},selectPosition:function(){var e=this,d="<div />",f=b(d),h,g,c=function(i){f.addClass(i.attr("class")).toggleClass("dropup",i.hasClass("dropup"));h=i.offset();g=i.hasClass("dropup")?0:i[0].offsetHeight;f.css({top:h.top+g,left:h.left,width:i[0].offsetWidth,position:"absolute"})};this.$newElement.on("click",function(){c(b(this));f.appendTo(e.options.container);f.toggleClass("open",!b(this).hasClass("open"));f.append(e.$menu)});b(window).resize(function(){c(e.$newElement)});b(window).on("scroll",function(){c(e.$newElement)});b("html").on("click",function(i){if(b(i.target).closest(e.$newElement).length<1){f.removeClass("open")}})},mobile:function(){this.$element.addClass("mobile-device").appendTo(this.$newElement);if(this.options.container){this.$menu.hide()}},refresh:function(){this.$lis=null;this.reloadLi();this.render();this.setWidth();this.setStyle();this.checkDisabled();this.liHeight()},update:function(){this.reloadLi();this.setWidth();this.setStyle();this.checkDisabled();this.liHeight()},setSelected:function(c,d){if(this.$lis==null){this.$lis=this.$menu.find("li")}b(this.$lis[c]).toggleClass("selected",d)},setDisabled:function(c,d){if(this.$lis==null){this.$lis=this.$menu.find("li")}if(d){b(this.$lis[c]).addClass("disabled").find("a").attr("href","#").attr("tabindex",-1)}else{b(this.$lis[c]).removeClass("disabled").find("a").removeAttr("href").attr("tabindex",0)}},isDisabled:function(){return this.$element.is(":disabled")},checkDisabled:function(){var c=this;if(this.isDisabled()){this.$button.addClass("disabled").attr("tabindex",-1)}else{if(this.$button.hasClass("disabled")){this.$button.removeClass("disabled")}if(this.$button.attr("tabindex")==-1){if(!this.$element.data("tabindex")){this.$button.removeAttr("tabindex")}}}this.$button.click(function(){return !c.isDisabled()})},tabIndex:function(){if(this.$element.is("[tabindex]")){this.$element.data("tabindex",this.$element.attr("tabindex"));this.$button.attr("tabindex",this.$element.data("tabindex"))}},clickListener:function(){var c=this;b("body").on("touchstart.dropdown",".dropdown-menu",function(d){d.stopPropagation()});this.$newElement.on("click",function(){c.setSize();if(!c.options.liveSearch&&!c.multiple){setTimeout(function(){c.$menu.find(".selected a").focus()},10)}});this.$menu.on("click","li a",function(k){var g=b(this).parent().index(),j=c.$element.val(),f=c.$element.prop("selectedIndex");if(c.multiple){k.stopPropagation()}k.preventDefault();if(!c.isDisabled()&&!b(this).parent().hasClass("disabled")){var d=c.$element.find("option"),i=d.eq(g),h=i.prop("selected");if(!c.multiple){d.prop("selected",false);i.prop("selected",true);c.$menu.find(".selected").removeClass("selected");c.setSelected(g,true)}else{i.prop("selected",!h);c.setSelected(g,!h)}if(!c.multiple){c.$button.focus()}else{if(c.options.liveSearch){c.$searchbox.focus()}}if((j!=c.$element.val()&&c.multiple)||(f!=c.$element.prop("selectedIndex")&&!c.multiple)){c.$element.change()}}});this.$menu.on("click","li.disabled a, li dt, li .div-contain, .popover-title, .popover-title :not(.close)",function(d){if(d.target==this){d.preventDefault();d.stopPropagation();if(!c.options.liveSearch){c.$button.focus()}else{c.$searchbox.focus()}}});this.$menu.on("click",".popover-title .close",function(){c.$button.focus()});this.$searchbox.on("click",function(d){d.stopPropagation()});this.$element.change(function(){c.render(false)})},liveSearchListener:function(){var d=this,c=b('<li class="no-results"></li>');this.$newElement.on("click.dropdown.data-api",function(){d.$menu.find(".active").removeClass("active");if(!!d.$searchbox.val()){d.$searchbox.val("");d.$menu.find("li").show();if(!!c.parent().length){c.remove()}}if(!d.multiple){d.$menu.find(".selected").addClass("active")}setTimeout(function(){d.$searchbox.focus()},10)});this.$searchbox.on("input propertychange",function(){if(d.$searchbox.val()){d.$menu.find("li").show().not(":icontains("+d.$searchbox.val()+")").hide();if(!d.$menu.find("li").filter(":visible:not(.no-results)").length){if(!!c.parent().length){c.remove()}c.html(d.options.noneResultsText+' "'+d.$searchbox.val()+'"').show();d.$menu.find("li").last().after(c)}else{if(!!c.parent().length){c.remove()}}}else{d.$menu.find("li").show();if(!!c.parent().length){c.remove()}}d.$menu.find("li.active").removeClass("active");d.$menu.find("li").filter(":visible:not(.divider)").eq(0).addClass("active").find("a").focus();b(this).focus()});this.$menu.on("mouseenter","a",function(f){d.$menu.find(".active").removeClass("active");b(f.currentTarget).parent().not(".disabled").addClass("active")});this.$menu.on("mouseleave","a",function(){d.$menu.find(".active").removeClass("active")})},val:function(c){if(c!==undefined){this.$element.val(c);this.$element.change();return this.$element}else{return this.$element.val()}},selectAll:function(){this.$element.find("option").prop("selected",true).attr("selected","selected");this.render()},deselectAll:function(){this.$element.find("option").prop("selected",false).removeAttr("selected");this.render()},keydown:function(p){var q,o,i,n,k,j,r,f,h,m,d,s,g={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"};q=b(this);i=q.parent();if(q.is("input")){i=q.parent().parent()}m=i.data("this");if(m.options.liveSearch){i=q.parent().parent()}if(m.options.container){i=m.$menu}o=b("[role=menu] li:not(.divider) a",i);s=m.$menu.parent().hasClass("open");if(m.options.liveSearch){if(/(^9$|27)/.test(p.keyCode)&&s&&m.$menu.find(".active").length===0){p.preventDefault();m.$menu.parent().removeClass("open");m.$button.focus()}o=b("[role=menu] li:not(.divider):visible",i);if(!q.val()&&!/(38|40)/.test(p.keyCode)){if(o.filter(".active").length===0){o=m.$newElement.find("li").filter(":icontains("+g[p.keyCode]+")")}}}if(!o.length){return}if(/(38|40)/.test(p.keyCode)){if(!s){m.$menu.parent().addClass("open")}n=o.index(o.filter(":focus"));j=o.parent(":not(.disabled):visible").first().index();r=o.parent(":not(.disabled):visible").last().index();k=o.eq(n).parent().nextAll(":not(.disabled):visible").eq(0).index();f=o.eq(n).parent().prevAll(":not(.disabled):visible").eq(0).index();h=o.eq(k).parent().prevAll(":not(.disabled):visible").eq(0).index();if(m.options.liveSearch){o.each(function(e){if(b(this).is(":not(.disabled)")){b(this).data("index",e)}});n=o.index(o.filter(".active"));j=o.filter(":not(.disabled):visible").first().data("index");r=o.filter(":not(.disabled):visible").last().data("index");k=o.eq(n).nextAll(":not(.disabled):visible").eq(0).data("index");f=o.eq(n).prevAll(":not(.disabled):visible").eq(0).data("index");h=o.eq(k).prevAll(":not(.disabled):visible").eq(0).data("index")}d=q.data("prevIndex");if(p.keyCode==38){if(m.options.liveSearch){n-=1}if(n!=h&&n>f){n=f}if(n<j){n=j}if(n==d){n=r}}if(p.keyCode==40){if(m.options.liveSearch){n+=1}if(n==-1){n=0}if(n!=h&&n<k){n=k}if(n>r){n=r}if(n==d){n=j}}q.data("prevIndex",n);if(!m.options.liveSearch){o.eq(n).focus()}else{p.preventDefault();if(!q.is(".dropdown-toggle")){o.removeClass("active");o.eq(n).addClass("active").find("a").focus();q.focus()}}}else{if(!q.is("input")){var c=[],l,t;o.each(function(){if(b(this).parent().is(":not(.disabled)")){if(b.trim(b(this).text().toLowerCase()).substring(0,1)==g[p.keyCode]){c.push(b(this).parent().index())}}});l=b(document).data("keycount");l++;b(document).data("keycount",l);t=b.trim(b(":focus").text().toLowerCase()).substring(0,1);if(t!=g[p.keyCode]){l=1;b(document).data("keycount",l)}else{if(l>=c.length){b(document).data("keycount",0);if(l>c.length){l=1}}}o.eq(c[l-1]).focus()}}if(/(13|32|^9$)/.test(p.keyCode)&&s){if(!/(32)/.test(p.keyCode)){p.preventDefault()}if(!m.options.liveSearch){b(":focus").click()}else{if(!/(32)/.test(p.keyCode)){m.$menu.find(".active a").click();q.focus()}}b(document).data("keycount",0)}if((/(^9$|27)/.test(p.keyCode)&&s&&(m.multiple||m.options.liveSearch))||(/(27)/.test(p.keyCode)&&!s)){m.$menu.parent().removeClass("open");m.$button.focus()}},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},destroy:function(){this.$newElement.remove();this.$element.remove()}};b.fn.selectpicker=function(e,f){var c=arguments;var g;var d=this.each(function(){if(b(this).is("select")){var m=b(this),l=m.data("selectpicker"),h=typeof e=="object"&&e;if(!l){m.data("selectpicker",(l=new a(this,h,f)))}else{if(h){for(var j in h){l.options[j]=h[j]}}}if(typeof e=="string"){var k=e;if(l[k] instanceof Function){[].shift.apply(c);g=l[k].apply(l,c)}else{g=l.options[k]}}}});if(g!==undefined){return g}else{return d}};b.fn.selectpicker.defaults={style:"btn-default",size:"auto",title:null,selectedTextFormat:"values",noneSelectedText:"Nothing selected",noneResultsText:"No results match",countSelectedText:"{0} of {1} selected",width:false,container:false,hideDisabled:false,showSubtext:false,showIcon:true,showContent:true,dropupAuto:true,header:false,liveSearch:false,multipleSeparator:", ",iconBase:"glyphicon",tickIcon:"glyphicon-ok"};b(document).data("keycount",0).on("keydown",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bootstrap-select-searchbox input",a.prototype.keydown).on("focusin.modal",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bootstrap-select-searchbox input",function(c){c.stopPropagation()})}(window.jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-validation/jqBootstrapValidation.js b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-validation/jqBootstrapValidation.js
deleted file mode 100644
index 5d752ad5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-validation/jqBootstrapValidation.js
+++ /dev/null
@@ -1,912 +0,0 @@
-/* jqBootstrapValidation
- * A plugin for automating validation on Twitter Bootstrap formatted forms.
- *
- * v1.3.6
- *
- * License: MIT <http://opensource.org/licenses/mit-license.php> - see LICENSE file
- *
- * http://ReactiveRaven.github.com/jqBootstrapValidation/
- */
-
-(function( $ ){
-
- var createdElements = [];
-
- var defaults = {
- options: {
- prependExistingHelpBlock: false,
- sniffHtml: true, // sniff for 'required', 'maxlength', etc
- preventSubmit: true, // stop the form submit event from firing if validation fails
- submitError: false, // function called if there is an error when trying to submit
- submitSuccess: false, // function called just before a successful submit event is sent to the server
- semanticallyStrict: false, // set to true to tidy up generated HTML output
- autoAdd: {
- helpBlocks: true
- },
- filter: function () {
- // return $(this).is(":visible"); // only validate elements you can see
- return true; // validate everything
- }
- },
- methods: {
- init : function( options ) {
-
- var settings = $.extend(true, {}, defaults);
-
- settings.options = $.extend(true, settings.options, options);
-
- var $siblingElements = this;
-
- var uniqueForms = $.unique(
- $siblingElements.map( function () {
- return $(this).parents("form")[0];
- }).toArray()
- );
-
- $(uniqueForms).bind("submit", function (e) {
- var $form = $(this);
- var warningsFound = 0;
- var $inputs = $form.find("input,textarea,select").not("[type=submit],[type=image]").filter(settings.options.filter);
- $inputs.trigger("submit.validation").trigger("validationLostFocus.validation");
-
- $inputs.each(function (i, el) {
- var $this = $(el),
- $controlGroup = $this.parents(".control-group").first();
- if (
- $controlGroup.hasClass("warning")
- ) {
- $controlGroup.removeClass("warning").addClass("error");
- warningsFound++;
- }
- });
-
- $inputs.trigger("validationLostFocus.validation");
-
- if (warningsFound) {
- if (settings.options.preventSubmit) {
- e.preventDefault();
- }
- $form.addClass("error");
- if ($.isFunction(settings.options.submitError)) {
- settings.options.submitError($form, e, $inputs.jqBootstrapValidation("collectErrors", true));
- }
- } else {
- $form.removeClass("error");
- if ($.isFunction(settings.options.submitSuccess)) {
- settings.options.submitSuccess($form, e);
- }
- }
- });
-
- return this.each(function(){
-
- // Get references to everything we're interested in
- var $this = $(this),
- $controlGroup = $this.parents(".control-group").first(),
- $helpBlock = $controlGroup.find(".help-block").first(),
- $form = $this.parents("form").first(),
- validatorNames = [];
-
- // create message container if not exists
- if (!$helpBlock.length && settings.options.autoAdd && settings.options.autoAdd.helpBlocks) {
- $helpBlock = $('<div class="help-block" />');
- $controlGroup.find('.controls').append($helpBlock);
- createdElements.push($helpBlock[0]);
- }
-
- // =============================================================
- // SNIFF HTML FOR VALIDATORS
- // =============================================================
-
- // *snort sniff snuffle*
-
- if (settings.options.sniffHtml) {
- var message = "";
- // ---------------------------------------------------------
- // PATTERN
- // ---------------------------------------------------------
- if ($this.attr("pattern") !== undefined) {
- message = "Not in the expected format<!-- data-validation-pattern-message to override -->";
- if ($this.data("validationPatternMessage")) {
- message = $this.data("validationPatternMessage");
- }
- $this.data("validationPatternMessage", message);
- $this.data("validationPatternRegex", $this.attr("pattern"));
- }
- // ---------------------------------------------------------
- // MAX
- // ---------------------------------------------------------
- if ($this.attr("max") !== undefined || $this.attr("aria-valuemax") !== undefined) {
- var max = ($this.attr("max") !== undefined ? $this.attr("max") : $this.attr("aria-valuemax"));
- message = "Too high: Maximum of '" + max + "'<!-- data-validation-max-message to override -->";
- if ($this.data("validationMaxMessage")) {
- message = $this.data("validationMaxMessage");
- }
- $this.data("validationMaxMessage", message);
- $this.data("validationMaxMax", max);
- }
- // ---------------------------------------------------------
- // MIN
- // ---------------------------------------------------------
- if ($this.attr("min") !== undefined || $this.attr("aria-valuemin") !== undefined) {
- var min = ($this.attr("min") !== undefined ? $this.attr("min") : $this.attr("aria-valuemin"));
- message = "Too low: Minimum of '" + min + "'<!-- data-validation-min-message to override -->";
- if ($this.data("validationMinMessage")) {
- message = $this.data("validationMinMessage");
- }
- $this.data("validationMinMessage", message);
- $this.data("validationMinMin", min);
- }
- // ---------------------------------------------------------
- // MAXLENGTH
- // ---------------------------------------------------------
- if ($this.attr("maxlength") !== undefined) {
- message = "Too long: Maximum of '" + $this.attr("maxlength") + "' characters<!-- data-validation-maxlength-message to override -->";
- if ($this.data("validationMaxlengthMessage")) {
- message = $this.data("validationMaxlengthMessage");
- }
- $this.data("validationMaxlengthMessage", message);
- $this.data("validationMaxlengthMaxlength", $this.attr("maxlength"));
- }
- // ---------------------------------------------------------
- // MINLENGTH
- // ---------------------------------------------------------
- if ($this.attr("minlength") !== undefined) {
- message = "Too short: Minimum of '" + $this.attr("minlength") + "' characters<!-- data-validation-minlength-message to override -->";
- if ($this.data("validationMinlengthMessage")) {
- message = $this.data("validationMinlengthMessage");
- }
- $this.data("validationMinlengthMessage", message);
- $this.data("validationMinlengthMinlength", $this.attr("minlength"));
- }
- // ---------------------------------------------------------
- // REQUIRED
- // ---------------------------------------------------------
- if ($this.attr("required") !== undefined || $this.attr("aria-required") !== undefined) {
- message = settings.builtInValidators.required.message;
- if ($this.data("validationRequiredMessage")) {
- message = $this.data("validationRequiredMessage");
- }
- $this.data("validationRequiredMessage", message);
- }
- // ---------------------------------------------------------
- // NUMBER
- // ---------------------------------------------------------
- if ($this.attr("type") !== undefined && $this.attr("type").toLowerCase() === "number") {
- message = settings.builtInValidators.number.message;
- if ($this.data("validationNumberMessage")) {
- message = $this.data("validationNumberMessage");
- }
- $this.data("validationNumberMessage", message);
- }
- // ---------------------------------------------------------
- // EMAIL
- // ---------------------------------------------------------
- if ($this.attr("type") !== undefined && $this.attr("type").toLowerCase() === "email") {
- message = "Not a valid email address<!-- data-validator-validemail-message to override -->";
- if ($this.data("validationValidemailMessage")) {
- message = $this.data("validationValidemailMessage");
- } else if ($this.data("validationEmailMessage")) {
- message = $this.data("validationEmailMessage");
- }
- $this.data("validationValidemailMessage", message);
- }
- // ---------------------------------------------------------
- // MINCHECKED
- // ---------------------------------------------------------
- if ($this.attr("minchecked") !== undefined) {
- message = "Not enough options checked; Minimum of '" + $this.attr("minchecked") + "' required<!-- data-validation-minchecked-message to override -->";
- if ($this.data("validationMincheckedMessage")) {
- message = $this.data("validationMincheckedMessage");
- }
- $this.data("validationMincheckedMessage", message);
- $this.data("validationMincheckedMinchecked", $this.attr("minchecked"));
- }
- // ---------------------------------------------------------
- // MAXCHECKED
- // ---------------------------------------------------------
- if ($this.attr("maxchecked") !== undefined) {
- message = "Too many options checked; Maximum of '" + $this.attr("maxchecked") + "' required<!-- data-validation-maxchecked-message to override -->";
- if ($this.data("validationMaxcheckedMessage")) {
- message = $this.data("validationMaxcheckedMessage");
- }
- $this.data("validationMaxcheckedMessage", message);
- $this.data("validationMaxcheckedMaxchecked", $this.attr("maxchecked"));
- }
- }
-
- // =============================================================
- // COLLECT VALIDATOR NAMES
- // =============================================================
-
- // Get named validators
- if ($this.data("validation") !== undefined) {
- validatorNames = $this.data("validation").split(",");
- }
-
- // Get extra ones defined on the element's data attributes
- $.each($this.data(), function (i, el) {
- var parts = i.replace(/([A-Z])/g, ",$1").split(",");
- if (parts[0] === "validation" && parts[1]) {
- validatorNames.push(parts[1]);
- }
- });
-
- // =============================================================
- // NORMALISE VALIDATOR NAMES
- // =============================================================
-
- var validatorNamesToInspect = validatorNames;
- var newValidatorNamesToInspect = [];
-
- do // repeatedly expand 'shortcut' validators into their real validators
- {
- // Uppercase only the first letter of each name
- $.each(validatorNames, function (i, el) {
- validatorNames[i] = formatValidatorName(el);
- });
-
- // Remove duplicate validator names
- validatorNames = $.unique(validatorNames);
-
- // Pull out the new validator names from each shortcut
- newValidatorNamesToInspect = [];
- $.each(validatorNamesToInspect, function(i, el) {
- if ($this.data("validation" + el + "Shortcut") !== undefined) {
- // Are these custom validators?
- // Pull them out!
- $.each($this.data("validation" + el + "Shortcut").split(","), function(i2, el2) {
- newValidatorNamesToInspect.push(el2);
- });
- } else if (settings.builtInValidators[el.toLowerCase()]) {
- // Is this a recognised built-in?
- // Pull it out!
- var validator = settings.builtInValidators[el.toLowerCase()];
- if (validator.type.toLowerCase() === "shortcut") {
- $.each(validator.shortcut.split(","), function (i, el) {
- el = formatValidatorName(el);
- newValidatorNamesToInspect.push(el);
- validatorNames.push(el);
- });
- }
- }
- });
-
- validatorNamesToInspect = newValidatorNamesToInspect;
-
- } while (validatorNamesToInspect.length > 0)
-
- // =============================================================
- // SET UP VALIDATOR ARRAYS
- // =============================================================
-
- var validators = {};
-
- $.each(validatorNames, function (i, el) {
- // Set up the 'override' message
- var message = $this.data("validation" + el + "Message");
- var hasOverrideMessage = (message !== undefined);
- var foundValidator = false;
- message =
- (
- message
- ? message
- : "'" + el + "' validation failed <!-- Add attribute 'data-validation-" + el.toLowerCase() + "-message' to input to change this message -->"
- )
- ;
-
- $.each(
- settings.validatorTypes,
- function (validatorType, validatorTemplate) {
- if (validators[validatorType] === undefined) {
- validators[validatorType] = [];
- }
- if (!foundValidator && $this.data("validation" + el + formatValidatorName(validatorTemplate.name)) !== undefined) {
- validators[validatorType].push(
- $.extend(
- true,
- {
- name: formatValidatorName(validatorTemplate.name),
- message: message
- },
- validatorTemplate.init($this, el)
- )
- );
- foundValidator = true;
- }
- }
- );
-
- if (!foundValidator && settings.builtInValidators[el.toLowerCase()]) {
-
- var validator = $.extend(true, {}, settings.builtInValidators[el.toLowerCase()]);
- if (hasOverrideMessage) {
- validator.message = message;
- }
- var validatorType = validator.type.toLowerCase();
-
- if (validatorType === "shortcut") {
- foundValidator = true;
- } else {
- $.each(
- settings.validatorTypes,
- function (validatorTemplateType, validatorTemplate) {
- if (validators[validatorTemplateType] === undefined) {
- validators[validatorTemplateType] = [];
- }
- if (!foundValidator && validatorType === validatorTemplateType.toLowerCase()) {
- $this.data("validation" + el + formatValidatorName(validatorTemplate.name), validator[validatorTemplate.name.toLowerCase()]);
- validators[validatorType].push(
- $.extend(
- validator,
- validatorTemplate.init($this, el)
- )
- );
- foundValidator = true;
- }
- }
- );
- }
- }
-
- if (! foundValidator) {
- $.error("Cannot find validation info for '" + el + "'");
- }
- });
-
- // =============================================================
- // STORE FALLBACK VALUES
- // =============================================================
-
- $helpBlock.data(
- "original-contents",
- (
- $helpBlock.data("original-contents")
- ? $helpBlock.data("original-contents")
- : $helpBlock.html()
- )
- );
-
- $helpBlock.data(
- "original-role",
- (
- $helpBlock.data("original-role")
- ? $helpBlock.data("original-role")
- : $helpBlock.attr("role")
- )
- );
-
- $controlGroup.data(
- "original-classes",
- (
- $controlGroup.data("original-clases")
- ? $controlGroup.data("original-classes")
- : $controlGroup.attr("class")
- )
- );
-
- $this.data(
- "original-aria-invalid",
- (
- $this.data("original-aria-invalid")
- ? $this.data("original-aria-invalid")
- : $this.attr("aria-invalid")
- )
- );
-
- // =============================================================
- // VALIDATION
- // =============================================================
-
- $this.bind(
- "validation.validation",
- function (event, params) {
-
- var value = getValue($this);
-
- // Get a list of the errors to apply
- var errorsFound = [];
-
- $.each(validators, function (validatorType, validatorTypeArray) {
- if (value || value.length || (params && params.includeEmpty) || (!!settings.validatorTypes[validatorType].blockSubmit && params && !!params.submitting)) {
- $.each(validatorTypeArray, function (i, validator) {
- if (settings.validatorTypes[validatorType].validate($this, value, validator)) {
- errorsFound.push(validator.message);
- }
- });
- }
- });
-
- return errorsFound;
- }
- );
-
- $this.bind(
- "getValidators.validation",
- function () {
- return validators;
- }
- );
-
- // =============================================================
- // WATCH FOR CHANGES
- // =============================================================
- $this.bind(
- "submit.validation",
- function () {
- return $this.triggerHandler("change.validation", {submitting: true});
- }
- );
- $this.bind(
- [
- "keyup",
- "focus",
- "blur",
- "click",
- "keydown",
- "keypress",
- "change"
- ].join(".validation ") + ".validation",
- function (e, params) {
-
- var value = getValue($this);
-
- var errorsFound = [];
-
- $controlGroup.find("input,textarea,select").each(function (i, el) {
- var oldCount = errorsFound.length;
- $.each($(el).triggerHandler("validation.validation", params), function (j, message) {
- errorsFound.push(message);
- });
- if (errorsFound.length > oldCount) {
- $(el).attr("aria-invalid", "true");
- } else {
- var original = $this.data("original-aria-invalid");
- $(el).attr("aria-invalid", (original !== undefined ? original : false));
- }
- });
-
- $form.find("input,select,textarea").not($this).not("[name=\"" + $this.attr("name") + "\"]").trigger("validationLostFocus.validation");
-
- errorsFound = $.unique(errorsFound.sort());
-
- // Were there any errors?
- if (errorsFound.length) {
- // Better flag it up as a warning.
- $controlGroup.removeClass("success error").addClass("warning");
-
- // How many errors did we find?
- if (settings.options.semanticallyStrict && errorsFound.length === 1) {
- // Only one? Being strict? Just output it.
- $helpBlock.html(errorsFound[0] +
- ( settings.options.prependExistingHelpBlock ? $helpBlock.data("original-contents") : "" ));
- } else {
- // Multiple? Being sloppy? Glue them together into an UL.
- $helpBlock.html("<ul role=\"alert\"><li>" + errorsFound.join("</li><li>") + "</li></ul>" +
- ( settings.options.prependExistingHelpBlock ? $helpBlock.data("original-contents") : "" ));
- }
- } else {
- $controlGroup.removeClass("warning error success");
- if (value.length > 0) {
- $controlGroup.addClass("success");
- }
- $helpBlock.html($helpBlock.data("original-contents"));
- }
-
- if (e.type === "blur") {
- $controlGroup.removeClass("success");
- }
- }
- );
- $this.bind("validationLostFocus.validation", function () {
- $controlGroup.removeClass("success");
- });
- });
- },
- destroy : function( ) {
-
- return this.each(
- function() {
-
- var
- $this = $(this),
- $controlGroup = $this.parents(".control-group").first(),
- $helpBlock = $controlGroup.find(".help-block").first();
-
- // remove our events
- $this.unbind('.validation'); // events are namespaced.
- // reset help text
- $helpBlock.html($helpBlock.data("original-contents"));
- // reset classes
- $controlGroup.attr("class", $controlGroup.data("original-classes"));
- // reset aria
- $this.attr("aria-invalid", $this.data("original-aria-invalid"));
- // reset role
- $helpBlock.attr("role", $this.data("original-role"));
- // remove all elements we created
- if (createdElements.indexOf($helpBlock[0]) > -1) {
- $helpBlock.remove();
- }
-
- }
- );
-
- },
- collectErrors : function(includeEmpty) {
-
- var errorMessages = {};
- this.each(function (i, el) {
- var $el = $(el);
- var name = $el.attr("name");
- var errors = $el.triggerHandler("validation.validation", {includeEmpty: true});
- errorMessages[name] = $.extend(true, errors, errorMessages[name]);
- });
-
- $.each(errorMessages, function (i, el) {
- if (el.length === 0) {
- delete errorMessages[i];
- }
- });
-
- return errorMessages;
-
- },
- hasErrors: function() {
-
- var errorMessages = [];
-
- this.each(function (i, el) {
- errorMessages = errorMessages.concat(
- $(el).triggerHandler("getValidators.validation") ? $(el).triggerHandler("validation.validation", {submitting: true}) : []
- );
- });
-
- return (errorMessages.length > 0);
- },
- override : function (newDefaults) {
- defaults = $.extend(true, defaults, newDefaults);
- }
- },
- validatorTypes: {
- callback: {
- name: "callback",
- init: function ($this, name) {
- return {
- validatorName: name,
- callback: $this.data("validation" + name + "Callback"),
- lastValue: $this.val(),
- lastValid: true,
- lastFinished: true
- };
- },
- validate: function ($this, value, validator) {
- if (validator.lastValue === value && validator.lastFinished) {
- return !validator.lastValid;
- }
-
- if (validator.lastFinished === true)
- {
- validator.lastValue = value;
- validator.lastValid = true;
- validator.lastFinished = false;
-
- var rrjqbvValidator = validator;
- var rrjqbvThis = $this;
- executeFunctionByName(
- validator.callback,
- window,
- $this,
- value,
- function (data) {
- if (rrjqbvValidator.lastValue === data.value) {
- rrjqbvValidator.lastValid = data.valid;
- if (data.message) {
- rrjqbvValidator.message = data.message;
- }
- rrjqbvValidator.lastFinished = true;
- rrjqbvThis.data("validation" + rrjqbvValidator.validatorName + "Message", rrjqbvValidator.message);
- // Timeout is set to avoid problems with the events being considered 'already fired'
- setTimeout(function () {
- rrjqbvThis.trigger("change.validation");
- }, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
- }
- }
- );
- }
-
- return false;
-
- }
- },
- ajax: {
- name: "ajax",
- init: function ($this, name) {
- return {
- validatorName: name,
- url: $this.data("validation" + name + "Ajax"),
- lastValue: $this.val(),
- lastValid: true,
- lastFinished: true
- };
- },
- validate: function ($this, value, validator) {
- if (""+validator.lastValue === ""+value && validator.lastFinished === true) {
- return validator.lastValid === false;
- }
-
- if (validator.lastFinished === true)
- {
- validator.lastValue = value;
- validator.lastValid = true;
- validator.lastFinished = false;
- $.ajax({
- url: validator.url,
- data: "value=" + value + "&field=" + $this.attr("name"),
- dataType: "json",
- success: function (data) {
- if (""+validator.lastValue === ""+data.value) {
- validator.lastValid = !!(data.valid);
- if (data.message) {
- validator.message = data.message;
- }
- validator.lastFinished = true;
- $this.data("validation" + validator.validatorName + "Message", validator.message);
- // Timeout is set to avoid problems with the events being considered 'already fired'
- setTimeout(function () {
- $this.trigger("change.validation");
- }, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
- }
- },
- failure: function () {
- validator.lastValid = true;
- validator.message = "ajax call failed";
- validator.lastFinished = true;
- $this.data("validation" + validator.validatorName + "Message", validator.message);
- // Timeout is set to avoid problems with the events being considered 'already fired'
- setTimeout(function () {
- $this.trigger("change.validation");
- }, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
- }
- });
- }
-
- return false;
-
- }
- },
- regex: {
- name: "regex",
- init: function ($this, name) {
- return {regex: regexFromString($this.data("validation" + name + "Regex"))};
- },
- validate: function ($this, value, validator) {
- return (!validator.regex.test(value) && ! validator.negative)
- || (validator.regex.test(value) && validator.negative);
- }
- },
- required: {
- name: "required",
- init: function ($this, name) {
- return {};
- },
- validate: function ($this, value, validator) {
- return !!(value.length === 0 && ! validator.negative)
- || !!(value.length > 0 && validator.negative);
- },
- blockSubmit: true
- },
- match: {
- name: "match",
- init: function ($this, name) {
- var element = $this.parents("form").first().find("[name=\"" + $this.data("validation" + name + "Match") + "\"]").first();
- element.bind("validation.validation", function () {
- $this.trigger("change.validation", {submitting: true});
- });
- return {"element": element};
- },
- validate: function ($this, value, validator) {
- return (value !== validator.element.val() && ! validator.negative)
- || (value === validator.element.val() && validator.negative);
- },
- blockSubmit: true
- },
- max: {
- name: "max",
- init: function ($this, name) {
- return {max: $this.data("validation" + name + "Max")};
- },
- validate: function ($this, value, validator) {
- return (parseFloat(value, 10) > parseFloat(validator.max, 10) && ! validator.negative)
- || (parseFloat(value, 10) <= parseFloat(validator.max, 10) && validator.negative);
- }
- },
- min: {
- name: "min",
- init: function ($this, name) {
- return {min: $this.data("validation" + name + "Min")};
- },
- validate: function ($this, value, validator) {
- return (parseFloat(value) < parseFloat(validator.min) && ! validator.negative)
- || (parseFloat(value) >= parseFloat(validator.min) && validator.negative);
- }
- },
- maxlength: {
- name: "maxlength",
- init: function ($this, name) {
- return {maxlength: $this.data("validation" + name + "Maxlength")};
- },
- validate: function ($this, value, validator) {
- return ((value.length > validator.maxlength) && ! validator.negative)
- || ((value.length <= validator.maxlength) && validator.negative);
- }
- },
- minlength: {
- name: "minlength",
- init: function ($this, name) {
- return {minlength: $this.data("validation" + name + "Minlength")};
- },
- validate: function ($this, value, validator) {
- return ((value.length < validator.minlength) && ! validator.negative)
- || ((value.length >= validator.minlength) && validator.negative);
- }
- },
- maxchecked: {
- name: "maxchecked",
- init: function ($this, name) {
- var elements = $this.parents("form").first().find("[name=\"" + $this.attr("name") + "\"]");
- elements.bind("click.validation", function () {
- $this.trigger("change.validation", {includeEmpty: true});
- });
- return {maxchecked: $this.data("validation" + name + "Maxchecked"), elements: elements};
- },
- validate: function ($this, value, validator) {
- return (validator.elements.filter(":checked").length > validator.maxchecked && ! validator.negative)
- || (validator.elements.filter(":checked").length <= validator.maxchecked && validator.negative);
- },
- blockSubmit: true
- },
- minchecked: {
- name: "minchecked",
- init: function ($this, name) {
- var elements = $this.parents("form").first().find("[name=\"" + $this.attr("name") + "\"]");
- elements.bind("click.validation", function () {
- $this.trigger("change.validation", {includeEmpty: true});
- });
- return {minchecked: $this.data("validation" + name + "Minchecked"), elements: elements};
- },
- validate: function ($this, value, validator) {
- return (validator.elements.filter(":checked").length < validator.minchecked && ! validator.negative)
- || (validator.elements.filter(":checked").length >= validator.minchecked && validator.negative);
- },
- blockSubmit: true
- }
- },
- builtInValidators: {
- email: {
- name: "Email",
- type: "shortcut",
- shortcut: "validemail"
- },
- validemail: {
- name: "Validemail",
- type: "regex",
- regex: "[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\.[A-Za-z]{2,4}",
- message: "Not a valid email address<!-- data-validator-validemail-message to override -->"
- },
- passwordagain: {
- name: "Passwordagain",
- type: "match",
- match: "password",
- message: "Does not match the given password<!-- data-validator-paswordagain-message to override -->"
- },
- positive: {
- name: "Positive",
- type: "shortcut",
- shortcut: "number,positivenumber"
- },
- negative: {
- name: "Negative",
- type: "shortcut",
- shortcut: "number,negativenumber"
- },
- number: {
- name: "Number",
- type: "regex",
- regex: "([+-]?\\\d+(\\\.\\\d*)?([eE][+-]?[0-9]+)?)?",
- message: "Must be a number<!-- data-validator-number-message to override -->"
- },
- integer: {
- name: "Integer",
- type: "regex",
- regex: "[+-]?\\\d+",
- message: "No decimal places allowed<!-- data-validator-integer-message to override -->"
- },
- positivenumber: {
- name: "Positivenumber",
- type: "min",
- min: 0,
- message: "Must be a positive number<!-- data-validator-positivenumber-message to override -->"
- },
- negativenumber: {
- name: "Negativenumber",
- type: "max",
- max: 0,
- message: "Must be a negative number<!-- data-validator-negativenumber-message to override -->"
- },
- required: {
- name: "Required",
- type: "required",
- message: "This is required<!-- data-validator-required-message to override -->"
- },
- checkone: {
- name: "Checkone",
- type: "minchecked",
- minchecked: 1,
- message: "Check at least one option<!-- data-validation-checkone-message to override -->"
- }
- }
- };
-
- var formatValidatorName = function (name) {
- return name
- .toLowerCase()
- .replace(
- /(^|\s)([a-z])/g ,
- function(m,p1,p2) {
- return p1+p2.toUpperCase();
- }
- )
- ;
- };
-
- var getValue = function ($this) {
- // Extract the value we're talking about
- var value = $this.val();
- var type = $this.attr("type");
- if (type === "checkbox") {
- value = ($this.is(":checked") ? value : "");
- }
- if (type === "radio") {
- value = ($('input[name="' + $this.attr("name") + '"]:checked').length > 0 ? value : "");
- }
- return value;
- };
-
- function regexFromString(inputstring) {
- return new RegExp("^" + inputstring + "$");
- }
-
- /**
- * Thanks to Jason Bunting via StackOverflow.com
- *
- * http://stackoverflow.com/questions/359788/how-to-execute-a-javascript-function-when-i-have-its-name-as-a-string#answer-359910
- * Short link: http://tinyurl.com/executeFunctionByName
- **/
- function executeFunctionByName(functionName, context /*, args*/) {
- var args = Array.prototype.slice.call(arguments).splice(2);
- var namespaces = functionName.split(".");
- var func = namespaces.pop();
- for(var i = 0; i < namespaces.length; i++) {
- context = context[namespaces[i]];
- }
- return context[func].apply(this, args);
- }
-
- $.fn.jqBootstrapValidation = function( method ) {
-
- if ( defaults.methods[method] ) {
- return defaults.methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
- } else if ( typeof method === 'object' || ! method ) {
- return defaults.methods.init.apply( this, arguments );
- } else {
- $.error( 'Method ' + method + ' does not exist on jQuery.jqBootstrapValidation' );
- return null;
- }
-
- };
-
- $.jqBootstrapValidation = function (options) {
- $(":input").not("[type=image],[type=submit]").jqBootstrapValidation.apply(this,arguments);
- };
-
-})( jQuery );
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-wizard/jquery.bootstrap.wizard.min.js b/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-wizard/jquery.bootstrap.wizard.min.js
deleted file mode 100644
index f362c170..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/bootstrap-wizard/jquery.bootstrap.wizard.min.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*!
- * jQuery twitter bootstrap wizard plugin
- * Examples and documentation at: http://github.com/VinceG/twitter-bootstrap-wizard
- * version 1.0
- * Requires jQuery v1.3.2 or later
- * Supports Bootstrap 2.2.x, 2.3.x, 3.0
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
- * Authors: Vadim Vincent Gabriel (http://vadimg.com), Jason Gill (www.gilluminate.com)
- */
-(function(e){var k=function(d,g){d=e(d);var a=this,b=e.extend({},e.fn.bootstrapWizard.defaults,g),f=null,c=null;this.rebindClick=function(b,a){b.unbind("click",a).bind("click",a)};this.fixNavigationButtons=function(){f.length||(c.find("a:first").tab("show"),f=c.find('li:has([data-toggle="tab"]):first'));e(b.previousSelector,d).toggleClass("disabled",a.firstIndex()>=a.currentIndex());e(b.nextSelector,d).toggleClass("disabled",a.currentIndex()>=a.navigationLength());a.rebindClick(e(b.nextSelector,d),
-a.next);a.rebindClick(e(b.previousSelector,d),a.previous);a.rebindClick(e(b.lastSelector,d),a.last);a.rebindClick(e(b.firstSelector,d),a.first);if(b.onTabShow&&"function"===typeof b.onTabShow&&!1===b.onTabShow(f,c,a.currentIndex()))return!1};this.next=function(h){if(d.hasClass("last")||b.onNext&&"function"===typeof b.onNext&&!1===b.onNext(f,c,a.nextIndex()))return!1;$index=a.nextIndex();$index>a.navigationLength()||c.find('li:has([data-toggle="tab"]):eq('+$index+") a").tab("show")};this.previous=
-function(h){if(d.hasClass("first")||b.onPrevious&&"function"===typeof b.onPrevious&&!1===b.onPrevious(f,c,a.previousIndex()))return!1;$index=a.previousIndex();0>$index||c.find('li:has([data-toggle="tab"]):eq('+$index+") a").tab("show")};this.first=function(h){if(b.onFirst&&"function"===typeof b.onFirst&&!1===b.onFirst(f,c,a.firstIndex())||d.hasClass("disabled"))return!1;c.find('li:has([data-toggle="tab"]):eq(0) a').tab("show")};this.last=function(h){if(b.onLast&&"function"===typeof b.onLast&&!1===
-b.onLast(f,c,a.lastIndex())||d.hasClass("disabled"))return!1;c.find('li:has([data-toggle="tab"]):eq('+a.navigationLength()+") a").tab("show")};this.currentIndex=function(){return c.find('li:has([data-toggle="tab"])').index(f)};this.firstIndex=function(){return 0};this.lastIndex=function(){return a.navigationLength()};this.getIndex=function(a){return c.find('li:has([data-toggle="tab"])').index(a)};this.nextIndex=function(){return c.find('li:has([data-toggle="tab"])').index(f)+1};this.previousIndex=
-function(){return c.find('li:has([data-toggle="tab"])').index(f)-1};this.navigationLength=function(){return c.find('li:has([data-toggle="tab"])').length-1};this.activeTab=function(){return f};this.nextTab=function(){return c.find('li:has([data-toggle="tab"]):eq('+(a.currentIndex()+1)+")").length?c.find('li:has([data-toggle="tab"]):eq('+(a.currentIndex()+1)+")"):null};this.previousTab=function(){return 0>=a.currentIndex()?null:c.find('li:has([data-toggle="tab"]):eq('+parseInt(a.currentIndex()-1)+")")};
-this.show=function(a){return d.find('li:has([data-toggle="tab"]):eq('+a+") a").tab("show")};this.disable=function(a){c.find('li:has([data-toggle="tab"]):eq('+a+")").addClass("disabled")};this.enable=function(a){c.find('li:has([data-toggle="tab"]):eq('+a+")").removeClass("disabled")};this.hide=function(a){c.find('li:has([data-toggle="tab"]):eq('+a+")").hide()};this.display=function(a){c.find('li:has([data-toggle="tab"]):eq('+a+")").show()};this.remove=function(a){var b="undefined"!=typeof a[1]?a[1]:
-!1;a=c.find('li:has([data-toggle="tab"]):eq('+a[0]+")");b&&(b=a.find("a").attr("href"),e(b).remove());a.remove()};c=d.find("ul:first",d);f=c.find('li:has([data-toggle="tab"]).active',d);c.hasClass(b.tabClass)||c.addClass(b.tabClass);if(b.onInit&&"function"===typeof b.onInit)b.onInit(f,c,0);if(b.onShow&&"function"===typeof b.onShow)b.onShow(f,c,a.nextIndex());a.fixNavigationButtons();e('a[data-toggle="tab"]',c).on("click",function(d){d=c.find('li:has([data-toggle="tab"])').index(e(d.currentTarget).parent('li:has([data-toggle="tab"])'));
-if(b.onTabClick&&"function"===typeof b.onTabClick&&!1===b.onTabClick(f,c,a.currentIndex(),d))return!1});e('a[data-toggle="tab"]',c).on("shown shown.bs.tab",function(d){$element=e(d.target).parent();d=c.find('li:has([data-toggle="tab"])').index($element);if($element.hasClass("disabled")||b.onTabChange&&"function"===typeof b.onTabChange&&!1===b.onTabChange(f,c,a.currentIndex(),d))return!1;f=$element;a.fixNavigationButtons()})};e.fn.bootstrapWizard=function(d){if("string"==typeof d){var g=Array.prototype.slice.call(arguments,
-1);1===g.length&&g.toString();return this.data("bootstrapWizard")[d](g)}return this.each(function(a){a=e(this);if(!a.data("bootstrapWizard")){var b=new k(a,d);a.data("bootstrapWizard",b)}})};e.fn.bootstrapWizard.defaults={tabClass:"nav nav-pills",nextSelector:".wizard li.next",previousSelector:".wizard li.previous",firstSelector:".wizard li.first",lastSelector:".wizard li.last",onShow:null,onInit:null,onNext:null,onPrevious:null,onLast:null,onFirst:null,onTabChange:null,onTabClick:null,onTabShow:null}})(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/cometd/cometd.js b/uiframe-iui/src/main/resources/webroot/vendor/cometd/cometd.js
deleted file mode 100644
index 448a6790..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/cometd/cometd.js
+++ /dev/null
@@ -1,3045 +0,0 @@
-/*
- * Copyright (c) 2010 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-// Namespaces for the cometd implementation
-this.org = this.org || {};
-org.cometd = {};
-
-org.cometd.JSON = {};
-org.cometd.JSON.toJSON = org.cometd.JSON.fromJSON = function(object)
-{
- throw 'Abstract';
-};
-
-org.cometd.Utils = {};
-
-org.cometd.Utils.isString = function(value)
-{
- if (value === undefined || value === null)
- {
- return false;
- }
- return typeof value === 'string' || value instanceof String;
-};
-
-org.cometd.Utils.isArray = function(value)
-{
- if (value === undefined || value === null)
- {
- return false;
- }
- return value instanceof Array;
-};
-
-/**
- * Returns whether the given element is contained into the given array.
- * @param element the element to check presence for
- * @param array the array to check for the element presence
- * @return the index of the element, if present, or a negative index if the element is not present
- */
-org.cometd.Utils.inArray = function(element, array)
-{
- for (var i = 0; i < array.length; ++i)
- {
- if (element === array[i])
- {
- return i;
- }
- }
- return -1;
-};
-
-org.cometd.Utils.setTimeout = function(cometd, funktion, delay)
-{
- return window.setTimeout(function()
- {
- try
- {
- funktion();
- }
- catch (x)
- {
- cometd._debug('Exception invoking timed function', funktion, x);
- }
- }, delay);
-};
-
-org.cometd.Utils.clearTimeout = function(timeoutHandle)
-{
- window.clearTimeout(timeoutHandle);
-};
-
-/**
- * A registry for transports used by the Cometd object.
- */
-org.cometd.TransportRegistry = function()
-{
- var _types = [];
- var _transports = {};
-
- this.getTransportTypes = function()
- {
- return _types.slice(0);
- };
-
- this.findTransportTypes = function(version, crossDomain, url)
- {
- var result = [];
- for (var i = 0; i < _types.length; ++i)
- {
- var type = _types[i];
- if (_transports[type].accept(version, crossDomain, url) === true)
- {
- result.push(type);
- }
- }
- return result;
- };
-
- this.negotiateTransport = function(types, version, crossDomain, url)
- {
- for (var i = 0; i < _types.length; ++i)
- {
- var type = _types[i];
- for (var j = 0; j < types.length; ++j)
- {
- if (type === types[j])
- {
- var transport = _transports[type];
- if (transport.accept(version, crossDomain, url) === true)
- {
- return transport;
- }
- }
- }
- }
- return null;
- };
-
- this.add = function(type, transport, index)
- {
- var existing = false;
- for (var i = 0; i < _types.length; ++i)
- {
- if (_types[i] === type)
- {
- existing = true;
- break;
- }
- }
-
- if (!existing)
- {
- if (typeof index !== 'number')
- {
- _types.push(type);
- }
- else
- {
- _types.splice(index, 0, type);
- }
- _transports[type] = transport;
- }
-
- return !existing;
- };
-
- this.find = function(type)
- {
- for (var i = 0; i < _types.length; ++i)
- {
- if (_types[i] === type)
- {
- return _transports[type];
- }
- }
- return null;
- };
-
- this.remove = function(type)
- {
- for (var i = 0; i < _types.length; ++i)
- {
- if (_types[i] === type)
- {
- _types.splice(i, 1);
- var transport = _transports[type];
- delete _transports[type];
- return transport;
- }
- }
- return null;
- };
-
- this.clear = function()
- {
- _types = [];
- _transports = {};
- };
-
- this.reset = function()
- {
- for (var i = 0; i < _types.length; ++i)
- {
- _transports[_types[i]].reset();
- }
- };
-};
-
-/**
- * Base object with the common functionality for transports.
- */
-org.cometd.Transport = function()
-{
- var _type;
- var _cometd;
-
- /**
- * Function invoked just after a transport has been successfully registered.
- * @param type the type of transport (for example 'long-polling')
- * @param cometd the cometd object this transport has been registered to
- * @see #unregistered()
- */
- this.registered = function(type, cometd)
- {
- _type = type;
- _cometd = cometd;
- };
-
- /**
- * Function invoked just after a transport has been successfully unregistered.
- * @see #registered(type, cometd)
- */
- this.unregistered = function()
- {
- _type = null;
- _cometd = null;
- };
-
- this._debug = function()
- {
- _cometd._debug.apply(_cometd, arguments);
- };
-
- this._mixin = function()
- {
- return _cometd._mixin.apply(_cometd, arguments);
- };
-
- this.getConfiguration = function()
- {
- return _cometd.getConfiguration();
- };
-
- this.getAdvice = function()
- {
- return _cometd.getAdvice();
- };
-
- this.setTimeout = function(funktion, delay)
- {
- return org.cometd.Utils.setTimeout(_cometd, funktion, delay);
- };
-
- this.clearTimeout = function(handle)
- {
- org.cometd.Utils.clearTimeout(handle);
- };
-
- /**
- * Converts the given response into an array of bayeux messages
- * @param response the response to convert
- * @return an array of bayeux messages obtained by converting the response
- */
- this.convertToMessages = function (response)
- {
- if (org.cometd.Utils.isString(response))
- {
- try
- {
- return org.cometd.JSON.fromJSON(response);
- }
- catch(x)
- {
- this._debug('Could not convert to JSON the following string', '"' + response + '"');
- throw x;
- }
- }
- if (org.cometd.Utils.isArray(response))
- {
- return response;
- }
- if (response === undefined || response === null)
- {
- return [];
- }
- if (response instanceof Object)
- {
- return [response];
- }
- throw 'Conversion Error ' + response + ', typeof ' + (typeof response);
- };
-
- /**
- * Returns whether this transport can work for the given version and cross domain communication case.
- * @param version a string indicating the transport version
- * @param crossDomain a boolean indicating whether the communication is cross domain
- * @return true if this transport can work for the given version and cross domain communication case,
- * false otherwise
- */
- this.accept = function(version, crossDomain, url)
- {
- throw 'Abstract';
- };
-
- /**
- * Returns the type of this transport.
- * @see #registered(type, cometd)
- */
- this.getType = function()
- {
- return _type;
- };
-
- this.send = function(envelope, metaConnect)
- {
- throw 'Abstract';
- };
-
- this.reset = function()
- {
- this._debug('Transport', _type, 'reset');
- };
-
- this.abort = function()
- {
- this._debug('Transport', _type, 'aborted');
- };
-
- this.toString = function()
- {
- return this.getType();
- };
-};
-
-org.cometd.Transport.derive = function(baseObject)
-{
- function F() {}
- F.prototype = baseObject;
- return new F();
-};
-
-/**
- * Base object with the common functionality for transports based on requests.
- * The key responsibility is to allow at most 2 outstanding requests to the server,
- * to avoid that requests are sent behind a long poll.
- * To achieve this, we have one reserved request for the long poll, and all other
- * requests are serialized one after the other.
- */
-org.cometd.RequestTransport = function()
-{
- var _super = new org.cometd.Transport();
- var _self = org.cometd.Transport.derive(_super);
- var _requestIds = 0;
- var _metaConnectRequest = null;
- var _requests = [];
- var _envelopes = [];
-
- function _coalesceEnvelopes(envelope)
- {
- while (_envelopes.length > 0)
- {
- var envelopeAndRequest = _envelopes[0];
- var newEnvelope = envelopeAndRequest[0];
- var newRequest = envelopeAndRequest[1];
- if (newEnvelope.url === envelope.url &&
- newEnvelope.sync === envelope.sync)
- {
- _envelopes.shift();
- envelope.messages = envelope.messages.concat(newEnvelope.messages);
- this._debug('Coalesced', newEnvelope.messages.length, 'messages from request', newRequest.id);
- continue;
- }
- break;
- }
- }
-
- function _transportSend(envelope, request)
- {
- this.transportSend(envelope, request);
- request.expired = false;
-
- if (!envelope.sync)
- {
- var maxDelay = this.getConfiguration().maxNetworkDelay;
- var delay = maxDelay;
- if (request.metaConnect === true)
- {
- delay += this.getAdvice().timeout;
- }
-
- this._debug('Transport', this.getType(), 'waiting at most', delay, 'ms for the response, maxNetworkDelay', maxDelay);
-
- var self = this;
- request.timeout = this.setTimeout(function()
- {
- request.expired = true;
- if (request.xhr)
- {
- request.xhr.abort();
- }
- var errorMessage = 'Request ' + request.id + ' of transport ' + self.getType() + ' exceeded ' + delay + ' ms max network delay';
- self._debug(errorMessage);
- self.complete(request, false, request.metaConnect);
- envelope.onFailure(request.xhr, envelope.messages, 'timeout', errorMessage);
- }, delay);
- }
- }
-
- function _queueSend(envelope)
- {
- var requestId = ++_requestIds;
- var request = {
- id: requestId,
- metaConnect: false
- };
-
- // Consider the metaConnect requests which should always be present
- if (_requests.length < this.getConfiguration().maxConnections - 1)
- {
- _requests.push(request);
- _transportSend.call(this, envelope, request);
- }
- else
- {
- this._debug('Transport', this.getType(), 'queueing request', requestId, 'envelope', envelope);
- _envelopes.push([envelope, request]);
- }
- }
-
- function _metaConnectComplete(request)
- {
- var requestId = request.id;
- this._debug('Transport', this.getType(), 'metaConnect complete, request', requestId);
- if (_metaConnectRequest !== null && _metaConnectRequest.id !== requestId)
- {
- throw 'Longpoll request mismatch, completing request ' + requestId;
- }
-
- // Reset metaConnect request
- _metaConnectRequest = null;
- }
-
- function _complete(request, success)
- {
- var index = org.cometd.Utils.inArray(request, _requests);
- // The index can be negative if the request has been aborted
- if (index >= 0)
- {
- _requests.splice(index, 1);
- }
-
- if (_envelopes.length > 0)
- {
- var envelopeAndRequest = _envelopes.shift();
- var nextEnvelope = envelopeAndRequest[0];
- var nextRequest = envelopeAndRequest[1];
- this._debug('Transport dequeued request', nextRequest.id);
- if (success)
- {
- if (this.getConfiguration().autoBatch)
- {
- _coalesceEnvelopes.call(this, nextEnvelope);
- }
- _queueSend.call(this, nextEnvelope);
- this._debug('Transport completed request', request.id, nextEnvelope);
- }
- else
- {
- // Keep the semantic of calling response callbacks asynchronously after the request
- var self = this;
- this.setTimeout(function()
- {
- self.complete(nextRequest, false, nextRequest.metaConnect);
- nextEnvelope.onFailure(nextRequest.xhr, nextEnvelope.messages, 'error', 'Previous request failed');
- }, 0);
- }
- }
- }
-
- _self.complete = function(request, success, metaConnect)
- {
- if (metaConnect)
- {
- _metaConnectComplete.call(this, request);
- }
- else
- {
- _complete.call(this, request, success);
- }
- };
-
- /**
- * Performs the actual send depending on the transport type details.
- * @param envelope the envelope to send
- * @param request the request information
- */
- _self.transportSend = function(envelope, request)
- {
- throw 'Abstract';
- };
-
- _self.transportSuccess = function(envelope, request, responses)
- {
- if (!request.expired)
- {
- this.clearTimeout(request.timeout);
- this.complete(request, true, request.metaConnect);
- if (responses && responses.length > 0)
- {
- envelope.onSuccess(responses);
- }
- else
- {
- envelope.onFailure(request.xhr, envelope.messages, 'Empty HTTP response');
- }
- }
- };
-
- _self.transportFailure = function(envelope, request, reason, exception)
- {
- if (!request.expired)
- {
- this.clearTimeout(request.timeout);
- this.complete(request, false, request.metaConnect);
- envelope.onFailure(request.xhr, envelope.messages, reason, exception);
- }
- };
-
- function _metaConnectSend(envelope)
- {
- if (_metaConnectRequest !== null)
- {
- throw 'Concurrent metaConnect requests not allowed, request id=' + _metaConnectRequest.id + ' not yet completed';
- }
-
- var requestId = ++_requestIds;
- this._debug('Transport', this.getType(), 'metaConnect send, request', requestId, 'envelope', envelope);
- var request = {
- id: requestId,
- metaConnect: true
- };
- _transportSend.call(this, envelope, request);
- _metaConnectRequest = request;
- }
-
- _self.send = function(envelope, metaConnect)
- {
- if (metaConnect)
- {
- _metaConnectSend.call(this, envelope);
- }
- else
- {
- _queueSend.call(this, envelope);
- }
- };
-
- _self.abort = function()
- {
- _super.abort();
- for (var i = 0; i < _requests.length; ++i)
- {
- var request = _requests[i];
- this._debug('Aborting request', request);
- if (request.xhr)
- {
- request.xhr.abort();
- }
- }
- if (_metaConnectRequest)
- {
- this._debug('Aborting metaConnect request', _metaConnectRequest);
- if (_metaConnectRequest.xhr)
- {
- _metaConnectRequest.xhr.abort();
- }
- }
- this.reset();
- };
-
- _self.reset = function()
- {
- _super.reset();
- _metaConnectRequest = null;
- _requests = [];
- _envelopes = [];
- };
-
- return _self;
-};
-
-org.cometd.LongPollingTransport = function()
-{
- var _super = new org.cometd.RequestTransport();
- var _self = org.cometd.Transport.derive(_super);
- // By default, support cross domain
- var _supportsCrossDomain = true;
-
- _self.accept = function(version, crossDomain, url)
- {
- return _supportsCrossDomain || !crossDomain;
- };
-
- _self.xhrSend = function(packet)
- {
- throw 'Abstract';
- };
-
- _self.transportSend = function(envelope, request)
- {
- this._debug('Transport', this.getType(), 'sending request', request.id, 'envelope', envelope);
-
- var self = this;
- try
- {
- var sameStack = true;
- request.xhr = this.xhrSend({
- transport: this,
- url: envelope.url,
- sync: envelope.sync,
- headers: this.getConfiguration().requestHeaders,
- body: org.cometd.JSON.toJSON(envelope.messages),
- onSuccess: function(response)
- {
- self._debug('Transport', self.getType(), 'received response', response);
- var success = false;
- try
- {
- var received = self.convertToMessages(response);
- if (received.length === 0)
- {
- _supportsCrossDomain = false;
- self.transportFailure(envelope, request, 'no response', null);
- }
- else
- {
- success = true;
- self.transportSuccess(envelope, request, received);
- }
- }
- catch(x)
- {
- self._debug(x);
- if (!success)
- {
- _supportsCrossDomain = false;
- self.transportFailure(envelope, request, 'bad response', x);
- }
- }
- },
- onError: function(reason, exception)
- {
- _supportsCrossDomain = false;
- if (sameStack)
- {
- // Keep the semantic of calling response callbacks asynchronously after the request
- self.setTimeout(function()
- {
- self.transportFailure(envelope, request, reason, exception);
- }, 0);
- }
- else
- {
- self.transportFailure(envelope, request, reason, exception);
- }
- }
- });
- sameStack = false;
- }
- catch (x)
- {
- _supportsCrossDomain = false;
- // Keep the semantic of calling response callbacks asynchronously after the request
- this.setTimeout(function()
- {
- self.transportFailure(envelope, request, 'error', x);
- }, 0);
- }
- };
-
- _self.reset = function()
- {
- _super.reset();
- _supportsCrossDomain = true;
- };
-
- return _self;
-};
-
-org.cometd.CallbackPollingTransport = function()
-{
- var _super = new org.cometd.RequestTransport();
- var _self = org.cometd.Transport.derive(_super);
- var _maxLength = 2000;
-
- _self.accept = function(version, crossDomain, url)
- {
- return true;
- };
-
- _self.jsonpSend = function(packet)
- {
- throw 'Abstract';
- };
-
- _self.transportSend = function(envelope, request)
- {
- var self = this;
-
- // Microsoft Internet Explorer has a 2083 URL max length
- // We must ensure that we stay within that length
- var start = 0;
- var length = envelope.messages.length;
- var lengths = [];
- while (length > 0)
- {
- // Encode the messages because all brackets, quotes, commas, colons, etc
- // present in the JSON will be URL encoded, taking many more characters
- var json = org.cometd.JSON.toJSON(envelope.messages.slice(start, start + length));
- var urlLength = envelope.url.length + encodeURI(json).length;
-
- // Let's stay on the safe side and use 2000 instead of 2083
- // also because we did not count few characters among which
- // the parameter name 'message' and the parameter 'jsonp',
- // which sum up to about 50 chars
- if (urlLength > _maxLength)
- {
- if (length === 1)
- {
- var x = 'Bayeux message too big (' + urlLength + ' bytes, max is ' + _maxLength + ') ' +
- 'for transport ' + this.getType();
- // Keep the semantic of calling response callbacks asynchronously after the request
- this.setTimeout(function()
- {
- self.transportFailure(envelope, request, 'error', x);
- }, 0);
- return;
- }
-
- --length;
- continue;
- }
-
- lengths.push(length);
- start += length;
- length = envelope.messages.length - start;
- }
-
- // Here we are sure that the messages can be sent within the URL limit
-
- var envelopeToSend = envelope;
- if (lengths.length > 1)
- {
- var begin = 0;
- var end = lengths[0];
- this._debug('Transport', this.getType(), 'split', envelope.messages.length, 'messages into', lengths.join(' + '));
- envelopeToSend = this._mixin(false, {}, envelope);
- envelopeToSend.messages = envelope.messages.slice(begin, end);
- envelopeToSend.onSuccess = envelope.onSuccess;
- envelopeToSend.onFailure = envelope.onFailure;
-
- for (var i = 1; i < lengths.length; ++i)
- {
- var nextEnvelope = this._mixin(false, {}, envelope);
- begin = end;
- end += lengths[i];
- nextEnvelope.messages = envelope.messages.slice(begin, end);
- nextEnvelope.onSuccess = envelope.onSuccess;
- nextEnvelope.onFailure = envelope.onFailure;
- this.send(nextEnvelope, request.metaConnect);
- }
- }
-
- this._debug('Transport', this.getType(), 'sending request', request.id, 'envelope', envelopeToSend);
-
- try
- {
- var sameStack = true;
- this.jsonpSend({
- transport: this,
- url: envelopeToSend.url,
- sync: envelopeToSend.sync,
- headers: this.getConfiguration().requestHeaders,
- body: org.cometd.JSON.toJSON(envelopeToSend.messages),
- onSuccess: function(responses)
- {
- var success = false;
- try
- {
- var received = self.convertToMessages(responses);
- if (received.length === 0)
- {
- self.transportFailure(envelopeToSend, request, 'no response');
- }
- else
- {
- success=true;
- self.transportSuccess(envelopeToSend, request, received);
- }
- }
- catch (x)
- {
- self._debug(x);
- if (!success)
- {
- self.transportFailure(envelopeToSend, request, 'bad response', x);
- }
- }
- },
- onError: function(reason, exception)
- {
- if (sameStack)
- {
- // Keep the semantic of calling response callbacks asynchronously after the request
- self.setTimeout(function()
- {
- self.transportFailure(envelopeToSend, request, reason, exception);
- }, 0);
- }
- else
- {
- self.transportFailure(envelopeToSend, request, reason, exception);
- }
- }
- });
- sameStack = false;
- }
- catch (xx)
- {
- // Keep the semantic of calling response callbacks asynchronously after the request
- this.setTimeout(function()
- {
- self.transportFailure(envelopeToSend, request, 'error', xx);
- }, 0);
- }
- };
-
- return _self;
-};
-
-org.cometd.WebSocketTransport = function()
-{
- var _super = new org.cometd.Transport();
- var _self = org.cometd.Transport.derive(_super);
- var _cometd;
- // By default, support WebSocket
- var _supportsWebSocket = true;
- // Whether we were able to establish a WebSocket connection
- var _webSocketSupported = false;
- // Envelopes that have been sent
- var _envelopes = {};
- // Timeouts for messages that have been sent
- var _timeouts = {};
- var _webSocket = null;
- var _opened = false;
- var _connected = false;
- var _successCallback;
-
- function _websocketConnect()
- {
- // Mangle the URL, changing the scheme from 'http' to 'ws'
- var url = _cometd.getURL().replace(/^http/, 'ws');
- this._debug('Transport', this.getType(), 'connecting to URL', url);
-
- var self = this;
- var connectTimer = null;
-
- var connectTimeout = _cometd.getConfiguration().connectTimeout;
- if (connectTimeout > 0)
- {
- connectTimer = this.setTimeout(function()
- {
- connectTimer = null;
- if (!_opened)
- {
- self._debug('Transport', self.getType(), 'timed out while connecting to URL', url, ':', connectTimeout, 'ms');
- self.onClose(1002, 'Connect Timeout');
- }
- }, connectTimeout);
- }
-
- var webSocket = new org.cometd.WebSocket(url);
- var onopen = function()
- {
- self._debug('WebSocket opened', webSocket);
- if (connectTimer)
- {
- self.clearTimeout(connectTimer);
- connectTimer = null;
- }
- if (webSocket !== _webSocket)
- {
- // It's possible that the onopen callback is invoked
- // with a delay so that we have already reconnected
- self._debug('Ignoring open event, WebSocket', _webSocket);
- return;
- }
- self.onOpen();
- };
- var onclose = function(event)
- {
- var code = event ? event.code : 1000;
- var reason = event ? event.reason : undefined;
- self._debug('WebSocket closed', code, '/', reason, webSocket);
- if (connectTimer)
- {
- self.clearTimeout(connectTimer);
- connectTimer = null;
- }
- if (webSocket !== _webSocket)
- {
- // The onclose callback may be invoked when the server sends
- // the close message reply, but after we have already reconnected
- self._debug('Ignoring close event, WebSocket', _webSocket);
- return;
- }
- self.onClose(code, reason);
- };
- var onmessage = function(message)
- {
- self._debug('WebSocket message', message, webSocket);
- if (webSocket !== _webSocket)
- {
- self._debug('Ignoring message event, WebSocket', _webSocket);
- return;
- }
- self.onMessage(message);
- };
-
- webSocket.onopen = onopen;
- webSocket.onclose = onclose;
- webSocket.onerror = function()
- {
- onclose({ code: 1002 });
- };
- webSocket.onmessage = onmessage;
-
- _webSocket = webSocket;
- this._debug('Transport', this.getType(), 'configured callbacks on', webSocket);
- }
-
- function _webSocketSend(envelope, metaConnect)
- {
- var json = org.cometd.JSON.toJSON(envelope.messages);
-
- _webSocket.send(json);
- this._debug('Transport', this.getType(), 'sent', envelope, 'metaConnect =', metaConnect);
-
- // Manage the timeout waiting for the response
- var maxDelay = this.getConfiguration().maxNetworkDelay;
- var delay = maxDelay;
- if (metaConnect)
- {
- delay += this.getAdvice().timeout;
- _connected = true;
- }
-
- var messageIds = [];
- for (var i = 0; i < envelope.messages.length; ++i)
- {
- var message = envelope.messages[i];
- if (message.id)
- {
- messageIds.push(message.id);
- var self = this;
- var webSocket = _webSocket;
- _timeouts[message.id] = this.setTimeout(function()
- {
- if (webSocket)
- {
- webSocket.close(1000, 'Timeout');
- }
- }, delay);
- }
- }
-
- this._debug('Transport', this.getType(), 'waiting at most', delay, 'ms for messages', messageIds, 'maxNetworkDelay', maxDelay, ', timeouts:', _timeouts);
- }
-
- function _send(envelope, metaConnect)
- {
- try
- {
- if (_webSocket === null)
- {
- _websocketConnect.call(this);
- }
- // We may have a non-null _webSocket, but not be open yet so
- // to avoid out of order deliveries, we check if we are open
- else if (_opened)
- {
- _webSocketSend.call(this, envelope, metaConnect);
- }
- }
- catch (x)
- {
- // Keep the semantic of calling response callbacks asynchronously after the request
- var webSocket = _webSocket;
- this.setTimeout(function()
- {
- envelope.onFailure(webSocket, envelope.messages, 'error', x);
- }, 0);
- }
- }
-
- _self.onOpen = function()
- {
- this._debug('Transport', this.getType(), 'opened', _webSocket);
- _opened = true;
- _webSocketSupported = true;
-
- this._debug('Sending pending messages', _envelopes);
- for (var key in _envelopes)
- {
- var element = _envelopes[key];
- var envelope = element[0];
- var metaConnect = element[1];
- // Store the success callback, which is independent from the envelope,
- // so that it can be used to notify arrival of messages.
- _successCallback = envelope.onSuccess;
- _webSocketSend.call(this, envelope, metaConnect);
- }
- };
-
- _self.onMessage = function(wsMessage)
- {
- this._debug('Transport', this.getType(), 'received websocket message', wsMessage, _webSocket);
-
- var close = false;
- var messages = this.convertToMessages(wsMessage.data);
- var messageIds = [];
- for (var i = 0; i < messages.length; ++i)
- {
- var message = messages[i];
-
- // Detect if the message is a response to a request we made.
- // If it's a meta message, for sure it's a response;
- // otherwise it's a publish message and publish responses lack the data field
- if (/^\/meta\//.test(message.channel) || message.data === undefined)
- {
- if (message.id)
- {
- messageIds.push(message.id);
-
- var timeout = _timeouts[message.id];
- if (timeout)
- {
- this.clearTimeout(timeout);
- delete _timeouts[message.id];
- this._debug('Transport', this.getType(), 'removed timeout for message', message.id, ', timeouts', _timeouts);
- }
- }
- }
-
- if ('/meta/connect' === message.channel)
- {
- _connected = false;
- }
- if ('/meta/disconnect' === message.channel && !_connected)
- {
- close = true;
- }
- }
-
- // Remove the envelope corresponding to the messages
- var removed = false;
- for (var j = 0; j < messageIds.length; ++j)
- {
- var id = messageIds[j];
- for (var key in _envelopes)
- {
- var ids = key.split(',');
- var index = org.cometd.Utils.inArray(id, ids);
- if (index >= 0)
- {
- removed = true;
- ids.splice(index, 1);
- var envelope = _envelopes[key][0];
- var metaConnect = _envelopes[key][1];
- delete _envelopes[key];
- if (ids.length > 0)
- {
- _envelopes[ids.join(',')] = [envelope, metaConnect];
- }
- break;
- }
- }
- }
- if (removed)
- {
- this._debug('Transport', this.getType(), 'removed envelope, envelopes', _envelopes);
- }
-
- _successCallback.call(this, messages);
-
- if (close)
- {
- _webSocket.close(1000, 'Disconnect');
- }
- };
-
- _self.onClose = function(code, reason)
- {
- this._debug('Transport', this.getType(), 'closed', code, reason, _webSocket);
-
- // Remember if we were able to connect
- // This close event could be due to server shutdown, and if it restarts we want to try websocket again
- _supportsWebSocket = _webSocketSupported;
-
- for (var id in _timeouts)
- {
- this.clearTimeout(_timeouts[id]);
- }
- _timeouts = {};
-
- for (var key in _envelopes)
- {
- var envelope = _envelopes[key][0];
- var metaConnect = _envelopes[key][1];
- if (metaConnect)
- {
- _connected = false;
- }
- envelope.onFailure(_webSocket, envelope.messages, 'closed ' + code + '/' + reason);
- }
- _envelopes = {};
-
- if (_webSocket !== null && _opened)
- {
- _webSocket.close(1000, 'Close');
- }
- _opened = false;
- _webSocket = null;
- };
-
- _self.registered = function(type, cometd)
- {
- _super.registered(type, cometd);
- _cometd = cometd;
- };
-
- _self.accept = function(version, crossDomain, url)
- {
- // Using !! to return a boolean (and not the WebSocket object)
- return _supportsWebSocket && !!org.cometd.WebSocket && _cometd.websocketEnabled !== false;
- };
-
- _self.send = function(envelope, metaConnect)
- {
- this._debug('Transport', this.getType(), 'sending', envelope, 'metaConnect =', metaConnect);
-
- // Store the envelope in any case; if the websocket cannot be opened, we fail it in close()
- var messageIds = [];
- for (var i = 0; i < envelope.messages.length; ++i)
- {
- var message = envelope.messages[i];
- if (message.id)
- {
- messageIds.push(message.id);
- }
- }
- _envelopes[messageIds.join(',')] = [envelope, metaConnect];
- this._debug('Transport', this.getType(), 'stored envelope, envelopes', _envelopes);
-
- _send.call(this, envelope, metaConnect);
- };
-
- _self.abort = function()
- {
- _super.abort();
- if (_webSocket !== null)
- {
- try
- {
- _webSocket.close(1001);
- }
- catch (x)
- {
- // Firefox may throw, just ignore
- this._debug(x);
- }
- }
- this.reset();
- };
-
- _self.reset = function()
- {
- _super.reset();
- if (_webSocket !== null && _opened)
- {
- _webSocket.close(1000, 'Reset');
- }
- _supportsWebSocket = true;
- _webSocketSupported = false;
- _timeouts = {};
- _envelopes = {};
- _webSocket = null;
- _opened = false;
- _successCallback = null;
- };
-
- return _self;
-};
-
-/**
- * The constructor for a Cometd object, identified by an optional name.
- * The default name is the string 'default'.
- * In the rare case a page needs more than one Bayeux conversation,
- * a new instance can be created via:
- * <pre>
- * var bayeuxUrl2 = ...;
- *
- * // Dojo style
- * var cometd2 = new dojox.Cometd('another_optional_name');
- *
- * // jQuery style
- * var cometd2 = new $.Cometd('another_optional_name');
- *
- * cometd2.init({url: bayeuxUrl2});
- * </pre>
- * @param name the optional name of this cometd object
- */
-// IMPLEMENTATION NOTES:
-// Be very careful in not changing the function order and pass this file every time through JSLint (http://jslint.com)
-// The only implied globals must be "dojo", "org" and "window", and check that there are no "unused" warnings
-// Failing to pass JSLint may result in shrinkers/minifiers to create an unusable file.
-org.cometd.Cometd = function(name)
-{
- var _cometd = this;
- var _name = name || 'default';
- var _crossDomain = false;
- var _transports = new org.cometd.TransportRegistry();
- var _transport;
- var _status = 'disconnected';
- var _messageId = 0;
- var _clientId = null;
- var _batch = 0;
- var _messageQueue = [];
- var _internalBatch = false;
- var _listeners = {};
- var _backoff = 0;
- var _scheduledSend = null;
- var _extensions = [];
- var _advice = {};
- var _handshakeProps;
- var _publishCallbacks = {};
- var _reestablish = false;
- var _connected = false;
- var _config = {
- connectTimeout: 0,
- maxConnections: 2,
- backoffIncrement: 1000,
- maxBackoff: 60000,
- logLevel: 'info',
- reverseIncomingExtensions: true,
- maxNetworkDelay: 10000,
- requestHeaders: {},
- appendMessageTypeToURL: true,
- autoBatch: false,
- advice: {
- timeout: 60000,
- interval: 0,
- reconnect: 'retry'
- }
- };
-
- /**
- * Mixes in the given objects into the target object by copying the properties.
- * @param deep if the copy must be deep
- * @param target the target object
- * @param objects the objects whose properties are copied into the target
- */
- this._mixin = function(deep, target, objects)
- {
- var result = target || {};
-
- // Skip first 2 parameters (deep and target), and loop over the others
- for (var i = 2; i < arguments.length; ++i)
- {
- var object = arguments[i];
-
- if (object === undefined || object === null)
- {
- continue;
- }
-
- for (var propName in object)
- {
- var prop = object[propName];
- var targ = result[propName];
-
- // Avoid infinite loops
- if (prop === target)
- {
- continue;
- }
- // Do not mixin undefined values
- if (prop === undefined)
- {
- continue;
- }
-
- if (deep && typeof prop === 'object' && prop !== null)
- {
- if (prop instanceof Array)
- {
- result[propName] = this._mixin(deep, targ instanceof Array ? targ : [], prop);
- }
- else
- {
- var source = typeof targ === 'object' && !(targ instanceof Array) ? targ : {};
- result[propName] = this._mixin(deep, source, prop);
- }
- }
- else
- {
- result[propName] = prop;
- }
- }
- }
-
- return result;
- };
-
- function _isString(value)
- {
- return org.cometd.Utils.isString(value);
- }
-
- function _isFunction(value)
- {
- if (value === undefined || value === null)
- {
- return false;
- }
- return typeof value === 'function';
- }
-
- function _log(level, args)
- {
- if (window.console)
- {
- var logger = window.console[level];
- if (_isFunction(logger))
- {
- logger.apply(window.console, args);
- }
- }
- }
-
- this._warn = function()
- {
- _log('warn', arguments);
- };
-
- this._info = function()
- {
- if (_config.logLevel !== 'warn')
- {
- _log('info', arguments);
- }
- };
-
- this._debug = function()
- {
- if (_config.logLevel === 'debug')
- {
- _log('debug', arguments);
- }
- };
-
- /**
- * Returns whether the given hostAndPort is cross domain.
- * The default implementation checks against window.location.host
- * but this function can be overridden to make it work in non-browser
- * environments.
- *
- * @param hostAndPort the host and port in format host:port
- * @return whether the given hostAndPort is cross domain
- */
- this._isCrossDomain = function(hostAndPort)
- {
- return hostAndPort && hostAndPort !== window.location.host;
- };
-
- function _configure(configuration)
- {
- _cometd._debug('Configuring cometd object with', configuration);
- // Support old style param, where only the Bayeux server URL was passed
- if (_isString(configuration))
- {
- configuration = { url: configuration };
- }
- if (!configuration)
- {
- configuration = {};
- }
-
- _config = _cometd._mixin(false, _config, configuration);
-
- if (!_config.url)
- {
- throw 'Missing required configuration parameter \'url\' specifying the Bayeux server URL';
- }
-
- // Check if we're cross domain
- // [1] = protocol://, [2] = host:port, [3] = host, [4] = IPv6_host, [5] = IPv4_host, [6] = :port, [7] = port, [8] = uri, [9] = rest
- var urlParts = /(^https?:\/\/)?(((\[[^\]]+\])|([^:\/\?#]+))(:(\d+))?)?([^\?#]*)(.*)?/.exec(_config.url);
- var hostAndPort = urlParts[2];
- var uri = urlParts[8];
- var afterURI = urlParts[9];
- _crossDomain = _cometd._isCrossDomain(hostAndPort);
-
- // Check if appending extra path is supported
- if (_config.appendMessageTypeToURL)
- {
- if (afterURI !== undefined && afterURI.length > 0)
- {
- _cometd._info('Appending message type to URI ' + uri + afterURI + ' is not supported, disabling \'appendMessageTypeToURL\' configuration');
- _config.appendMessageTypeToURL = false;
- }
- else
- {
- var uriSegments = uri.split('/');
- var lastSegmentIndex = uriSegments.length - 1;
- if (uri.match(/\/$/))
- {
- lastSegmentIndex -= 1;
- }
- if (uriSegments[lastSegmentIndex].indexOf('.') >= 0)
- {
- // Very likely the CometD servlet's URL pattern is mapped to an extension, such as *.cometd
- // It will be difficult to add the extra path in this case
- _cometd._info('Appending message type to URI ' + uri + ' is not supported, disabling \'appendMessageTypeToURL\' configuration');
- _config.appendMessageTypeToURL = false;
- }
- }
- }
- }
-
- function _clearSubscriptions()
- {
- for (var channel in _listeners)
- {
- var subscriptions = _listeners[channel];
- for (var i = 0; i < subscriptions.length; ++i)
- {
- var subscription = subscriptions[i];
- if (subscription && !subscription.listener)
- {
- delete subscriptions[i];
- _cometd._debug('Removed subscription', subscription, 'for channel', channel);
- }
- }
- }
- }
-
- function _setStatus(newStatus)
- {
- if (_status !== newStatus)
- {
- _cometd._debug('Status', _status, '->', newStatus);
- _status = newStatus;
- }
- }
-
- function _isDisconnected()
- {
- return _status === 'disconnecting' || _status === 'disconnected';
- }
-
- function _nextMessageId()
- {
- return ++_messageId;
- }
-
- function _applyExtension(scope, callback, name, message, outgoing)
- {
- try
- {
- return callback.call(scope, message);
- }
- catch (x)
- {
- _cometd._debug('Exception during execution of extension', name, x);
- var exceptionCallback = _cometd.onExtensionException;
- if (_isFunction(exceptionCallback))
- {
- _cometd._debug('Invoking extension exception callback', name, x);
- try
- {
- exceptionCallback.call(_cometd, x, name, outgoing, message);
- }
- catch(xx)
- {
- _cometd._info('Exception during execution of exception callback in extension', name, xx);
- }
- }
- return message;
- }
- }
-
- function _applyIncomingExtensions(message)
- {
- for (var i = 0; i < _extensions.length; ++i)
- {
- if (message === undefined || message === null)
- {
- break;
- }
-
- var index = _config.reverseIncomingExtensions ? _extensions.length - 1 - i : i;
- var extension = _extensions[index];
- var callback = extension.extension.incoming;
- if (_isFunction(callback))
- {
- var result = _applyExtension(extension.extension, callback, extension.name, message, false);
- message = result === undefined ? message : result;
- }
- }
- return message;
- }
-
- function _applyOutgoingExtensions(message)
- {
- for (var i = 0; i < _extensions.length; ++i)
- {
- if (message === undefined || message === null)
- {
- break;
- }
-
- var extension = _extensions[i];
- var callback = extension.extension.outgoing;
- if (_isFunction(callback))
- {
- var result = _applyExtension(extension.extension, callback, extension.name, message, true);
- message = result === undefined ? message : result;
- }
- }
- return message;
- }
-
- function _notify(channel, message)
- {
- var subscriptions = _listeners[channel];
- if (subscriptions && subscriptions.length > 0)
- {
- for (var i = 0; i < subscriptions.length; ++i)
- {
- var subscription = subscriptions[i];
- // Subscriptions may come and go, so the array may have 'holes'
- if (subscription)
- {
- try
- {
- subscription.callback.call(subscription.scope, message);
- }
- catch (x)
- {
- _cometd._debug('Exception during notification', subscription, message, x);
- var listenerCallback = _cometd.onListenerException;
- if (_isFunction(listenerCallback))
- {
- _cometd._debug('Invoking listener exception callback', subscription, x);
- try
- {
- listenerCallback.call(_cometd, x, subscription.handle, subscription.listener, message);
- }
- catch (xx)
- {
- _cometd._info('Exception during execution of listener callback', subscription, xx);
- }
- }
- }
- }
- }
- }
- }
-
- function _notifyListeners(channel, message)
- {
- // Notify direct listeners
- _notify(channel, message);
-
- // Notify the globbing listeners
- var channelParts = channel.split('/');
- var last = channelParts.length - 1;
- for (var i = last; i > 0; --i)
- {
- var channelPart = channelParts.slice(0, i).join('/') + '/*';
- // We don't want to notify /foo/* if the channel is /foo/bar/baz,
- // so we stop at the first non recursive globbing
- if (i === last)
- {
- _notify(channelPart, message);
- }
- // Add the recursive globber and notify
- channelPart += '*';
- _notify(channelPart, message);
- }
- }
-
- function _cancelDelayedSend()
- {
- if (_scheduledSend !== null)
- {
- org.cometd.Utils.clearTimeout(_scheduledSend);
- }
- _scheduledSend = null;
- }
-
- function _delayedSend(operation)
- {
- _cancelDelayedSend();
- var delay = _advice.interval + _backoff;
- _cometd._debug('Function scheduled in', delay, 'ms, interval =', _advice.interval, 'backoff =', _backoff, operation);
- _scheduledSend = org.cometd.Utils.setTimeout(_cometd, operation, delay);
- }
-
- // Needed to break cyclic dependencies between function definitions
- var _handleMessages;
- var _handleFailure;
-
- /**
- * Delivers the messages to the CometD server
- * @param messages the array of messages to send
- * @param longpoll true if this send is a long poll
- */
- function _send(sync, messages, longpoll, extraPath)
- {
- // We must be sure that the messages have a clientId.
- // This is not guaranteed since the handshake may take time to return
- // (and hence the clientId is not known yet) and the application
- // may create other messages.
- for (var i = 0; i < messages.length; ++i)
- {
- var message = messages[i];
- message.id = '' + _nextMessageId();
-
- if (_clientId)
- {
- message.clientId = _clientId;
- }
-
- var callback = undefined;
- if (_isFunction(message._callback))
- {
- callback = message._callback;
- // Remove the publish callback before calling the extensions
- delete message._callback;
- }
-
- message = _applyOutgoingExtensions(message);
- if (message !== undefined && message !== null)
- {
- messages[i] = message;
- if (callback)
- _publishCallbacks[message.id] = callback;
- }
- else
- {
- messages.splice(i--, 1);
- }
- }
-
- if (messages.length === 0)
- {
- return;
- }
-
- var url = _config.url;
- if (_config.appendMessageTypeToURL)
- {
- // If url does not end with '/', then append it
- if (!url.match(/\/$/))
- {
- url = url + '/';
- }
- if (extraPath)
- {
- url = url + extraPath;
- }
- }
-
- var envelope = {
- url: url,
- sync: sync,
- messages: messages,
- onSuccess: function(rcvdMessages)
- {
- try
- {
- _handleMessages.call(_cometd, rcvdMessages);
- }
- catch (x)
- {
- _cometd._debug('Exception during handling of messages', x);
- }
- },
- onFailure: function(conduit, messages, reason, exception)
- {
- try
- {
- _handleFailure.call(_cometd, conduit, messages, reason, exception);
- }
- catch (x)
- {
- _cometd._debug('Exception during handling of failure', x);
- }
- }
- };
- _cometd._debug('Send', envelope);
- _transport.send(envelope, longpoll);
- }
-
- function _queueSend(message)
- {
- if (_batch > 0 || _internalBatch === true)
- {
- _messageQueue.push(message);
- }
- else
- {
- _send(false, [message], false);
- }
- }
-
- /**
- * Sends a complete bayeux message.
- * This method is exposed as a public so that extensions may use it
- * to send bayeux message directly, for example in case of re-sending
- * messages that have already been sent but that for some reason must
- * be resent.
- */
- this.send = _queueSend;
-
- function _resetBackoff()
- {
- _backoff = 0;
- }
-
- function _increaseBackoff()
- {
- if (_backoff < _config.maxBackoff)
- {
- _backoff += _config.backoffIncrement;
- }
- }
-
- /**
- * Starts a the batch of messages to be sent in a single request.
- * @see #_endBatch(sendMessages)
- */
- function _startBatch()
- {
- ++_batch;
- }
-
- function _flushBatch()
- {
- var messages = _messageQueue;
- _messageQueue = [];
- if (messages.length > 0)
- {
- _send(false, messages, false);
- }
- }
-
- /**
- * Ends the batch of messages to be sent in a single request,
- * optionally sending messages present in the message queue depending
- * on the given argument.
- * @see #_startBatch()
- */
- function _endBatch()
- {
- --_batch;
- if (_batch < 0)
- {
- throw 'Calls to startBatch() and endBatch() are not paired';
- }
-
- if (_batch === 0 && !_isDisconnected() && !_internalBatch)
- {
- _flushBatch();
- }
- }
-
- /**
- * Sends the connect message
- */
- function _connect()
- {
- if (!_isDisconnected())
- {
- var message = {
- channel: '/meta/connect',
- connectionType: _transport.getType()
- };
-
- // In case of reload or temporary loss of connection
- // we want the next successful connect to return immediately
- // instead of being held by the server, so that connect listeners
- // can be notified that the connection has been re-established
- if (!_connected)
- {
- message.advice = { timeout: 0 };
- }
-
- _setStatus('connecting');
- _cometd._debug('Connect sent', message);
- _send(false, [message], true, 'connect');
- _setStatus('connected');
- }
- }
-
- function _delayedConnect()
- {
- _setStatus('connecting');
- _delayedSend(function()
- {
- _connect();
- });
- }
-
- function _updateAdvice(newAdvice)
- {
- if (newAdvice)
- {
- _advice = _cometd._mixin(false, {}, _config.advice, newAdvice);
- _cometd._debug('New advice', _advice);
- }
- }
-
- function _disconnect(abort)
- {
- _cancelDelayedSend();
- if (abort)
- {
- _transport.abort();
- }
- _clientId = null;
- _setStatus('disconnected');
- _batch = 0;
- _resetBackoff();
-
- // Fail any existing queued message
- if (_messageQueue.length > 0)
- {
- _handleFailure.call(_cometd, undefined, _messageQueue, 'error', 'Disconnected');
- _messageQueue = [];
- }
- }
-
- /**
- * Sends the initial handshake message
- */
- function _handshake(handshakeProps)
- {
- _clientId = null;
-
- _clearSubscriptions();
-
- // Reset the transports if we're not retrying the handshake
- if (_isDisconnected())
- {
- _transports.reset();
- _updateAdvice(_config.advice);
- }
- else
- {
- // We are retrying the handshake, either because another handshake failed
- // and we're backing off, or because the server timed us out and asks us to
- // re-handshake: in both cases, make sure that if the handshake succeeds
- // the next action is a connect.
- _updateAdvice(_cometd._mixin(false, _advice, {reconnect: 'retry'}));
- }
-
- _batch = 0;
-
- // Mark the start of an internal batch.
- // This is needed because handshake and connect are async.
- // It may happen that the application calls init() then subscribe()
- // and the subscribe message is sent before the connect message, if
- // the subscribe message is not held until the connect message is sent.
- // So here we start a batch to hold temporarily any message until
- // the connection is fully established.
- _internalBatch = true;
-
- // Save the properties provided by the user, so that
- // we can reuse them during automatic re-handshake
- _handshakeProps = handshakeProps;
-
- var version = '1.0';
-
- // Figure out the transports to send to the server
- var transportTypes = _transports.findTransportTypes(version, _crossDomain, _config.url);
-
- var bayeuxMessage = {
- version: version,
- minimumVersion: '0.9',
- channel: '/meta/handshake',
- supportedConnectionTypes: transportTypes,
- advice: {
- timeout: _advice.timeout,
- interval: _advice.interval
- }
- };
- // Do not allow the user to mess with the required properties,
- // so merge first the user properties and *then* the bayeux message
- var message = _cometd._mixin(false, {}, _handshakeProps, bayeuxMessage);
-
- // Pick up the first available transport as initial transport
- // since we don't know if the server supports it
- _transport = _transports.negotiateTransport(transportTypes, version, _crossDomain, _config.url);
- _cometd._debug('Initial transport is', _transport.getType());
-
- // We started a batch to hold the application messages,
- // so here we must bypass it and send immediately.
- _setStatus('handshaking');
- _cometd._debug('Handshake sent', message);
- _send(false, [message], false, 'handshake');
- }
-
- function _delayedHandshake()
- {
- _setStatus('handshaking');
-
- // We will call _handshake() which will reset _clientId, but we want to avoid
- // that between the end of this method and the call to _handshake() someone may
- // call publish() (or other methods that call _queueSend()).
- _internalBatch = true;
-
- _delayedSend(function()
- {
- _handshake(_handshakeProps);
- });
- }
-
- function _failHandshake(message)
- {
- _notifyListeners('/meta/handshake', message);
- _notifyListeners('/meta/unsuccessful', message);
-
- // Only try again if we haven't been disconnected and
- // the advice permits us to retry the handshake
- var retry = !_isDisconnected() && _advice.reconnect !== 'none';
- if (retry)
- {
- _increaseBackoff();
- _delayedHandshake();
- }
- else
- {
- _disconnect(false);
- }
- }
-
- function _handshakeResponse(message)
- {
- if (message.successful)
- {
- // Save clientId, figure out transport, then follow the advice to connect
- _clientId = message.clientId;
-
- var newTransport = _transports.negotiateTransport(message.supportedConnectionTypes, message.version, _crossDomain, _config.url);
- if (newTransport === null)
- {
- throw 'Could not negotiate transport with server; client ' +
- _transports.findTransportTypes(message.version, _crossDomain, _config.url) +
- ', server ' + message.supportedConnectionTypes;
- }
- else if (_transport !== newTransport)
- {
- _cometd._debug('Transport', _transport, '->', newTransport);
- _transport = newTransport;
- }
-
- // End the internal batch and allow held messages from the application
- // to go to the server (see _handshake() where we start the internal batch).
- _internalBatch = false;
- _flushBatch();
-
- // Here the new transport is in place, as well as the clientId, so
- // the listeners can perform a publish() if they want.
- // Notify the listeners before the connect below.
- message.reestablish = _reestablish;
- _reestablish = true;
- _notifyListeners('/meta/handshake', message);
-
- var action = _isDisconnected() ? 'none' : _advice.reconnect;
- switch (action)
- {
- case 'retry':
- _resetBackoff();
- _delayedConnect();
- break;
- case 'none':
- _disconnect(false);
- break;
- default:
- throw 'Unrecognized advice action ' + action;
- }
- }
- else
- {
- _failHandshake(message);
- }
- }
-
- function _handshakeFailure(xhr, message)
- {
- _failHandshake({
- successful: false,
- failure: true,
- channel: '/meta/handshake',
- request: message,
- xhr: xhr,
- advice: {
- reconnect: 'retry',
- interval: _backoff
- }
- });
- }
-
- function _failConnect(message)
- {
- // Notify the listeners after the status change but before the next action
- _notifyListeners('/meta/connect', message);
- _notifyListeners('/meta/unsuccessful', message);
-
- // This may happen when the server crashed, the current clientId
- // will be invalid, and the server will ask to handshake again
- // Listeners can call disconnect(), so check the state after they run
- var action = _isDisconnected() ? 'none' : _advice.reconnect;
- switch (action)
- {
- case 'retry':
- _delayedConnect();
- _increaseBackoff();
- break;
- case 'handshake':
- // The current transport may be failed (e.g. network disconnection)
- // Reset the transports so the new handshake picks up the right one
- _transports.reset();
- _resetBackoff();
- _delayedHandshake();
- break;
- case 'none':
- _disconnect(false);
- break;
- default:
- throw 'Unrecognized advice action' + action;
- }
- }
-
- function _connectResponse(message)
- {
- _connected = message.successful;
-
- if (_connected)
- {
- _notifyListeners('/meta/connect', message);
-
- // Normally, the advice will say "reconnect: 'retry', interval: 0"
- // and the server will hold the request, so when a response returns
- // we immediately call the server again (long polling)
- // Listeners can call disconnect(), so check the state after they run
- var action = _isDisconnected() ? 'none' : _advice.reconnect;
- switch (action)
- {
- case 'retry':
- _resetBackoff();
- _delayedConnect();
- break;
- case 'none':
- _disconnect(false);
- break;
- default:
- throw 'Unrecognized advice action ' + action;
- }
- }
- else
- {
- _failConnect(message);
- }
- }
-
- function _connectFailure(xhr, message)
- {
- _connected = false;
- _failConnect({
- successful: false,
- failure: true,
- channel: '/meta/connect',
- request: message,
- xhr: xhr,
- advice: {
- reconnect: 'retry',
- interval: _backoff
- }
- });
- }
-
- function _failDisconnect(message)
- {
- _disconnect(true);
- _notifyListeners('/meta/disconnect', message);
- _notifyListeners('/meta/unsuccessful', message);
- }
-
- function _disconnectResponse(message)
- {
- if (message.successful)
- {
- _disconnect(false);
- _notifyListeners('/meta/disconnect', message);
- }
- else
- {
- _failDisconnect(message);
- }
- }
-
- function _disconnectFailure(xhr, message)
- {
- _failDisconnect({
- successful: false,
- failure: true,
- channel: '/meta/disconnect',
- request: message,
- xhr: xhr,
- advice: {
- reconnect: 'none',
- interval: 0
- }
- });
- }
-
- function _failSubscribe(message)
- {
- _notifyListeners('/meta/subscribe', message);
- _notifyListeners('/meta/unsuccessful', message);
- }
-
- function _subscribeResponse(message)
- {
- if (message.successful)
- {
- _notifyListeners('/meta/subscribe', message);
- }
- else
- {
- _failSubscribe(message);
- }
- }
-
- function _subscribeFailure(xhr, message)
- {
- _failSubscribe({
- successful: false,
- failure: true,
- channel: '/meta/subscribe',
- request: message,
- xhr: xhr,
- advice: {
- reconnect: 'none',
- interval: 0
- }
- });
- }
-
- function _failUnsubscribe(message)
- {
- _notifyListeners('/meta/unsubscribe', message);
- _notifyListeners('/meta/unsuccessful', message);
- }
-
- function _unsubscribeResponse(message)
- {
- if (message.successful)
- {
- _notifyListeners('/meta/unsubscribe', message);
- }
- else
- {
- _failUnsubscribe(message);
- }
- }
-
- function _unsubscribeFailure(xhr, message)
- {
- _failUnsubscribe({
- successful: false,
- failure: true,
- channel: '/meta/unsubscribe',
- request: message,
- xhr: xhr,
- advice: {
- reconnect: 'none',
- interval: 0
- }
- });
- }
-
- function _handlePublishCallback(message)
- {
- var callback = _publishCallbacks[message.id];
- if (_isFunction(callback))
- {
- delete _publishCallbacks[message.id];
- callback.call(_cometd, message);
- }
- }
-
- function _failMessage(message)
- {
- _handlePublishCallback(message);
- _notifyListeners('/meta/publish', message);
- _notifyListeners('/meta/unsuccessful', message);
- }
-
- function _messageResponse(message)
- {
- if (message.successful === undefined)
- {
- if (message.data)
- {
- // It is a plain message, and not a bayeux meta message
- _notifyListeners(message.channel, message);
- }
- else
- {
- _cometd._debug('Unknown message', message);
- }
- }
- else
- {
- if (message.successful)
- {
- _handlePublishCallback(message);
- _notifyListeners('/meta/publish', message);
- }
- else
- {
- _failMessage(message);
- }
- }
- }
-
- function _messageFailure(xhr, message)
- {
- _failMessage({
- successful: false,
- failure: true,
- channel: message.channel,
- request: message,
- xhr: xhr,
- advice: {
- reconnect: 'none',
- interval: 0
- }
- });
- }
-
- function _receive(message)
- {
- message = _applyIncomingExtensions(message);
- if (message === undefined || message === null)
- {
- return;
- }
-
- _updateAdvice(message.advice);
-
- var channel = message.channel;
- switch (channel)
- {
- case '/meta/handshake':
- _handshakeResponse(message);
- break;
- case '/meta/connect':
- _connectResponse(message);
- break;
- case '/meta/disconnect':
- _disconnectResponse(message);
- break;
- case '/meta/subscribe':
- _subscribeResponse(message);
- break;
- case '/meta/unsubscribe':
- _unsubscribeResponse(message);
- break;
- default:
- _messageResponse(message);
- break;
- }
- }
-
- /**
- * Receives a message.
- * This method is exposed as a public so that extensions may inject
- * messages simulating that they had been received.
- */
- this.receive = _receive;
-
- _handleMessages = function(rcvdMessages)
- {
- _cometd._debug('Received', rcvdMessages);
-
- for (var i = 0; i < rcvdMessages.length; ++i)
- {
- var message = rcvdMessages[i];
- _receive(message);
- }
- };
-
- _handleFailure = function(conduit, messages, reason, exception)
- {
- _cometd._debug('handleFailure', conduit, messages, reason, exception);
-
- for (var i = 0; i < messages.length; ++i)
- {
- var message = messages[i];
- var channel = message.channel;
- switch (channel)
- {
- case '/meta/handshake':
- _handshakeFailure(conduit, message);
- break;
- case '/meta/connect':
- _connectFailure(conduit, message);
- break;
- case '/meta/disconnect':
- _disconnectFailure(conduit, message);
- break;
- case '/meta/subscribe':
- _subscribeFailure(conduit, message);
- break;
- case '/meta/unsubscribe':
- _unsubscribeFailure(conduit, message);
- break;
- default:
- _messageFailure(conduit, message);
- break;
- }
- }
- };
-
- function _hasSubscriptions(channel)
- {
- var subscriptions = _listeners[channel];
- if (subscriptions)
- {
- for (var i = 0; i < subscriptions.length; ++i)
- {
- if (subscriptions[i])
- {
- return true;
- }
- }
- }
- return false;
- }
-
- function _resolveScopedCallback(scope, callback)
- {
- var delegate = {
- scope: scope,
- method: callback
- };
- if (_isFunction(scope))
- {
- delegate.scope = undefined;
- delegate.method = scope;
- }
- else
- {
- if (_isString(callback))
- {
- if (!scope)
- {
- throw 'Invalid scope ' + scope;
- }
- delegate.method = scope[callback];
- if (!_isFunction(delegate.method))
- {
- throw 'Invalid callback ' + callback + ' for scope ' + scope;
- }
- }
- else if (!_isFunction(callback))
- {
- throw 'Invalid callback ' + callback;
- }
- }
- return delegate;
- }
-
- function _addListener(channel, scope, callback, isListener)
- {
- // The data structure is a map<channel, subscription[]>, where each subscription
- // holds the callback to be called and its scope.
-
- var delegate = _resolveScopedCallback(scope, callback);
- _cometd._debug('Adding listener on', channel, 'with scope', delegate.scope, 'and callback', delegate.method);
-
- var subscription = {
- channel: channel,
- scope: delegate.scope,
- callback: delegate.method,
- listener: isListener
- };
-
- var subscriptions = _listeners[channel];
- if (!subscriptions)
- {
- subscriptions = [];
- _listeners[channel] = subscriptions;
- }
-
- // Pushing onto an array appends at the end and returns the id associated with the element increased by 1.
- // Note that if:
- // a.push('a'); var hb=a.push('b'); delete a[hb-1]; var hc=a.push('c');
- // then:
- // hc==3, a.join()=='a',,'c', a.length==3
- var subscriptionID = subscriptions.push(subscription) - 1;
- subscription.id = subscriptionID;
- subscription.handle = [channel, subscriptionID];
-
- _cometd._debug('Added listener', subscription, 'for channel', channel, 'having id =', subscriptionID);
-
- // The subscription to allow removal of the listener is made of the channel and the index
- return subscription.handle;
- }
-
- function _removeListener(subscription)
- {
- var subscriptions = _listeners[subscription[0]];
- if (subscriptions)
- {
- delete subscriptions[subscription[1]];
- _cometd._debug('Removed listener', subscription);
- }
- }
-
- //
- // PUBLIC API
- //
-
- /**
- * Registers the given transport under the given transport type.
- * The optional index parameter specifies the "priority" at which the
- * transport is registered (where 0 is the max priority).
- * If a transport with the same type is already registered, this function
- * does nothing and returns false.
- * @param type the transport type
- * @param transport the transport object
- * @param index the index at which this transport is to be registered
- * @return true if the transport has been registered, false otherwise
- * @see #unregisterTransport(type)
- */
- this.registerTransport = function(type, transport, index)
- {
- var result = _transports.add(type, transport, index);
- if (result)
- {
- this._debug('Registered transport', type);
-
- if (_isFunction(transport.registered))
- {
- transport.registered(type, this);
- }
- }
- return result;
- };
-
- /**
- * @return an array of all registered transport types
- */
- this.getTransportTypes = function()
- {
- return _transports.getTransportTypes();
- };
-
- /**
- * Unregisters the transport with the given transport type.
- * @param type the transport type to unregister
- * @return the transport that has been unregistered,
- * or null if no transport was previously registered under the given transport type
- */
- this.unregisterTransport = function(type)
- {
- var transport = _transports.remove(type);
- if (transport !== null)
- {
- this._debug('Unregistered transport', type);
-
- if (_isFunction(transport.unregistered))
- {
- transport.unregistered();
- }
- }
- return transport;
- };
-
- this.unregisterTransports = function()
- {
- _transports.clear();
- };
-
- this.findTransport = function(name)
- {
- return _transports.find(name);
- };
-
- /**
- * Configures the initial Bayeux communication with the Bayeux server.
- * Configuration is passed via an object that must contain a mandatory field <code>url</code>
- * of type string containing the URL of the Bayeux server.
- * @param configuration the configuration object
- */
- this.configure = function(configuration)
- {
- _configure.call(this, configuration);
- };
-
- /**
- * Configures and establishes the Bayeux communication with the Bayeux server
- * via a handshake and a subsequent connect.
- * @param configuration the configuration object
- * @param handshakeProps an object to be merged with the handshake message
- * @see #configure(configuration)
- * @see #handshake(handshakeProps)
- */
- this.init = function(configuration, handshakeProps)
- {
- this.configure(configuration);
- this.handshake(handshakeProps);
- };
-
- /**
- * Establishes the Bayeux communication with the Bayeux server
- * via a handshake and a subsequent connect.
- * @param handshakeProps an object to be merged with the handshake message
- */
- this.handshake = function(handshakeProps)
- {
- _setStatus('disconnected');
- _reestablish = false;
- _handshake(handshakeProps);
- };
-
- /**
- * Disconnects from the Bayeux server.
- * It is possible to suggest to attempt a synchronous disconnect, but this feature
- * may only be available in certain transports (for example, long-polling may support
- * it, callback-polling certainly does not).
- * @param sync whether attempt to perform a synchronous disconnect
- * @param disconnectProps an object to be merged with the disconnect message
- */
- this.disconnect = function(sync, disconnectProps)
- {
- if (_isDisconnected())
- {
- return;
- }
-
- if (disconnectProps === undefined)
- {
- if (typeof sync !== 'boolean')
- {
- disconnectProps = sync;
- sync = false;
- }
- }
-
- var bayeuxMessage = {
- channel: '/meta/disconnect'
- };
- var message = this._mixin(false, {}, disconnectProps, bayeuxMessage);
- _setStatus('disconnecting');
- _send(sync === true, [message], false, 'disconnect');
- };
-
- /**
- * Marks the start of a batch of application messages to be sent to the server
- * in a single request, obtaining a single response containing (possibly) many
- * application reply messages.
- * Messages are held in a queue and not sent until {@link #endBatch()} is called.
- * If startBatch() is called multiple times, then an equal number of endBatch()
- * calls must be made to close and send the batch of messages.
- * @see #endBatch()
- */
- this.startBatch = function()
- {
- _startBatch();
- };
-
- /**
- * Marks the end of a batch of application messages to be sent to the server
- * in a single request.
- * @see #startBatch()
- */
- this.endBatch = function()
- {
- _endBatch();
- };
-
- /**
- * Executes the given callback in the given scope, surrounded by a {@link #startBatch()}
- * and {@link #endBatch()} calls.
- * @param scope the scope of the callback, may be omitted
- * @param callback the callback to be executed within {@link #startBatch()} and {@link #endBatch()} calls
- */
- this.batch = function(scope, callback)
- {
- var delegate = _resolveScopedCallback(scope, callback);
- this.startBatch();
- try
- {
- delegate.method.call(delegate.scope);
- this.endBatch();
- }
- catch (x)
- {
- this._debug('Exception during execution of batch', x);
- this.endBatch();
- throw x;
- }
- };
-
- /**
- * Adds a listener for bayeux messages, performing the given callback in the given scope
- * when a message for the given channel arrives.
- * @param channel the channel the listener is interested to
- * @param scope the scope of the callback, may be omitted
- * @param callback the callback to call when a message is sent to the channel
- * @returns the subscription handle to be passed to {@link #removeListener(object)}
- * @see #removeListener(subscription)
- */
- this.addListener = function(channel, scope, callback)
- {
- if (arguments.length < 2)
- {
- throw 'Illegal arguments number: required 2, got ' + arguments.length;
- }
- if (!_isString(channel))
- {
- throw 'Illegal argument type: channel must be a string';
- }
-
- return _addListener(channel, scope, callback, true);
- };
-
- /**
- * Removes the subscription obtained with a call to {@link #addListener(string, object, function)}.
- * @param subscription the subscription to unsubscribe.
- * @see #addListener(channel, scope, callback)
- */
- this.removeListener = function(subscription)
- {
- if (!org.cometd.Utils.isArray(subscription))
- {
- throw 'Invalid argument: expected subscription, not ' + subscription;
- }
-
- _removeListener(subscription);
- };
-
- /**
- * Removes all listeners registered with {@link #addListener(channel, scope, callback)} or
- * {@link #subscribe(channel, scope, callback)}.
- */
- this.clearListeners = function()
- {
- _listeners = {};
- };
-
- /**
- * Subscribes to the given channel, performing the given callback in the given scope
- * when a message for the channel arrives.
- * @param channel the channel to subscribe to
- * @param scope the scope of the callback, may be omitted
- * @param callback the callback to call when a message is sent to the channel
- * @param subscribeProps an object to be merged with the subscribe message
- * @return the subscription handle to be passed to {@link #unsubscribe(object)}
- */
- this.subscribe = function(channel, scope, callback, subscribeProps)
- {
- if (arguments.length < 2)
- {
- throw 'Illegal arguments number: required 2, got ' + arguments.length;
- }
- if (!_isString(channel))
- {
- throw 'Illegal argument type: channel must be a string';
- }
- if (_isDisconnected())
- {
- throw 'Illegal state: already disconnected';
- }
-
- // Normalize arguments
- if (_isFunction(scope))
- {
- subscribeProps = callback;
- callback = scope;
- scope = undefined;
- }
-
- // Only send the message to the server if this client has not yet subscribed to the channel
- var send = !_hasSubscriptions(channel);
-
- var subscription = _addListener(channel, scope, callback, false);
-
- if (send)
- {
- // Send the subscription message after the subscription registration to avoid
- // races where the server would send a message to the subscribers, but here
- // on the client the subscription has not been added yet to the data structures
- var bayeuxMessage = {
- channel: '/meta/subscribe',
- subscription: channel
- };
- var message = this._mixin(false, {}, subscribeProps, bayeuxMessage);
- _queueSend(message);
- }
-
- return subscription;
- };
-
- /**
- * Unsubscribes the subscription obtained with a call to {@link #subscribe(string, object, function)}.
- * @param subscription the subscription to unsubscribe.
- */
- this.unsubscribe = function(subscription, unsubscribeProps)
- {
- if (arguments.length < 1)
- {
- throw 'Illegal arguments number: required 1, got ' + arguments.length;
- }
- if (_isDisconnected())
- {
- throw 'Illegal state: already disconnected';
- }
-
- // Remove the local listener before sending the message
- // This ensures that if the server fails, this client does not get notifications
- this.removeListener(subscription);
-
- var channel = subscription[0];
- // Only send the message to the server if this client unsubscribes the last subscription
- if (!_hasSubscriptions(channel))
- {
- var bayeuxMessage = {
- channel: '/meta/unsubscribe',
- subscription: channel
- };
- var message = this._mixin(false, {}, unsubscribeProps, bayeuxMessage);
- _queueSend(message);
- }
- };
-
- /**
- * Removes all subscriptions added via {@link #subscribe(channel, scope, callback, subscribeProps)},
- * but does not remove the listeners added via {@link addListener(channel, scope, callback)}.
- */
- this.clearSubscriptions = function()
- {
- _clearSubscriptions();
- };
-
- /**
- * Publishes a message on the given channel, containing the given content.
- * @param channel the channel to publish the message to
- * @param content the content of the message
- * @param publishProps an object to be merged with the publish message
- */
- this.publish = function(channel, content, publishProps, publishCallback)
- {
- if (arguments.length < 1)
- {
- throw 'Illegal arguments number: required 1, got ' + arguments.length;
- }
- if (!_isString(channel))
- {
- throw 'Illegal argument type: channel must be a string';
- }
- if (_isDisconnected())
- {
- throw 'Illegal state: already disconnected';
- }
-
- if (_isFunction(content))
- {
- publishCallback = content;
- content = publishProps = {};
- }
- else if (_isFunction(publishProps))
- {
- publishCallback = publishProps;
- publishProps = {};
- }
-
- var bayeuxMessage = {
- channel: channel,
- data: content,
- _callback: publishCallback
- };
- var message = this._mixin(false, {}, publishProps, bayeuxMessage);
- _queueSend(message);
- };
-
- /**
- * Returns a string representing the status of the bayeux communication with the Bayeux server.
- */
- this.getStatus = function()
- {
- return _status;
- };
-
- /**
- * Returns whether this instance has been disconnected.
- */
- this.isDisconnected = _isDisconnected;
-
- /**
- * Sets the backoff period used to increase the backoff time when retrying an unsuccessful or failed message.
- * Default value is 1 second, which means if there is a persistent failure the retries will happen
- * after 1 second, then after 2 seconds, then after 3 seconds, etc. So for example with 15 seconds of
- * elapsed time, there will be 5 retries (at 1, 3, 6, 10 and 15 seconds elapsed).
- * @param period the backoff period to set
- * @see #getBackoffIncrement()
- */
- this.setBackoffIncrement = function(period)
- {
- _config.backoffIncrement = period;
- };
-
- /**
- * Returns the backoff period used to increase the backoff time when retrying an unsuccessful or failed message.
- * @see #setBackoffIncrement(period)
- */
- this.getBackoffIncrement = function()
- {
- return _config.backoffIncrement;
- };
-
- /**
- * Returns the backoff period to wait before retrying an unsuccessful or failed message.
- */
- this.getBackoffPeriod = function()
- {
- return _backoff;
- };
-
- /**
- * Sets the log level for console logging.
- * Valid values are the strings 'error', 'warn', 'info' and 'debug', from
- * less verbose to more verbose.
- * @param level the log level string
- */
- this.setLogLevel = function(level)
- {
- _config.logLevel = level;
- };
-
- /**
- * Registers an extension whose callbacks are called for every incoming message
- * (that comes from the server to this client implementation) and for every
- * outgoing message (that originates from this client implementation for the
- * server).
- * The format of the extension object is the following:
- * <pre>
- * {
- * incoming: function(message) { ... },
- * outgoing: function(message) { ... }
- * }
- * </pre>
- * Both properties are optional, but if they are present they will be called
- * respectively for each incoming message and for each outgoing message.
- * @param name the name of the extension
- * @param extension the extension to register
- * @return true if the extension was registered, false otherwise
- * @see #unregisterExtension(name)
- */
- this.registerExtension = function(name, extension)
- {
- if (arguments.length < 2)
- {
- throw 'Illegal arguments number: required 2, got ' + arguments.length;
- }
- if (!_isString(name))
- {
- throw 'Illegal argument type: extension name must be a string';
- }
-
- var existing = false;
- for (var i = 0; i < _extensions.length; ++i)
- {
- var existingExtension = _extensions[i];
- if (existingExtension.name === name)
- {
- existing = true;
- break;
- }
- }
- if (!existing)
- {
- _extensions.push({
- name: name,
- extension: extension
- });
- this._debug('Registered extension', name);
-
- // Callback for extensions
- if (_isFunction(extension.registered))
- {
- extension.registered(name, this);
- }
-
- return true;
- }
- else
- {
- this._info('Could not register extension with name', name, 'since another extension with the same name already exists');
- return false;
- }
- };
-
- /**
- * Unregister an extension previously registered with
- * {@link #registerExtension(name, extension)}.
- * @param name the name of the extension to unregister.
- * @return true if the extension was unregistered, false otherwise
- */
- this.unregisterExtension = function(name)
- {
- if (!_isString(name))
- {
- throw 'Illegal argument type: extension name must be a string';
- }
-
- var unregistered = false;
- for (var i = 0; i < _extensions.length; ++i)
- {
- var extension = _extensions[i];
- if (extension.name === name)
- {
- _extensions.splice(i, 1);
- unregistered = true;
- this._debug('Unregistered extension', name);
-
- // Callback for extensions
- var ext = extension.extension;
- if (_isFunction(ext.unregistered))
- {
- ext.unregistered();
- }
-
- break;
- }
- }
- return unregistered;
- };
-
- /**
- * Find the extension registered with the given name.
- * @param name the name of the extension to find
- * @return the extension found or null if no extension with the given name has been registered
- */
- this.getExtension = function(name)
- {
- for (var i = 0; i < _extensions.length; ++i)
- {
- var extension = _extensions[i];
- if (extension.name === name)
- {
- return extension.extension;
- }
- }
- return null;
- };
-
- /**
- * Returns the name assigned to this Cometd object, or the string 'default'
- * if no name has been explicitly passed as parameter to the constructor.
- */
- this.getName = function()
- {
- return _name;
- };
-
- /**
- * Returns the clientId assigned by the Bayeux server during handshake.
- */
- this.getClientId = function()
- {
- return _clientId;
- };
-
- /**
- * Returns the URL of the Bayeux server.
- */
- this.getURL = function()
- {
- return _config.url;
- };
-
- this.getTransport = function()
- {
- return _transport;
- };
-
- this.getConfiguration = function()
- {
- return this._mixin(true, {}, _config);
- };
-
- this.getAdvice = function()
- {
- return this._mixin(true, {}, _advice);
- };
-
- // WebSocket handling for Firefox, which deploys WebSocket
- // under the name of MozWebSocket in Firefox 6, 7, 8 and 9
- org.cometd.WebSocket = window.WebSocket;
- if (!org.cometd.WebSocket)
- {
- org.cometd.WebSocket = window.MozWebSocket;
- }
-};
-
-if (typeof define === 'function' && define.amd)
-{
- define(function()
- {
- return org.cometd;
- });
-}
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/cometd/jquery.cometd.js b/uiframe-iui/src/main/resources/webroot/vendor/cometd/jquery.cometd.js
deleted file mode 100644
index 1c571aff..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/cometd/jquery.cometd.js
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * Copyright (c) 2010 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-(function($)
-{
- function bind($, org_cometd)
- {
- // Remap cometd JSON functions to jquery JSON functions
- org_cometd.JSON.toJSON = JSON.stringify;
- org_cometd.JSON.fromJSON = JSON.parse;
-
- function _setHeaders(xhr, headers)
- {
- if (headers)
- {
- for (var headerName in headers)
- {
- if (headerName.toLowerCase() === 'content-type')
- {
- continue;
- }
- xhr.setRequestHeader(headerName, headers[headerName]);
- }
- }
- }
-
- // Remap toolkit-specific transport calls
- function LongPollingTransport()
- {
- var _super = new org_cometd.LongPollingTransport();
- var that = org_cometd.Transport.derive(_super);
-
- that.xhrSend = function(packet)
- {
- return $.ajax({
- url: packet.url,
- async: packet.sync !== true,
- type: 'POST',
- contentType: 'application/json;charset=UTF-8',
- data: packet.body,
- xhrFields: {
- // Has no effect if the request is not cross domain
- // but if it is, allows cookies to be sent to the server
- withCredentials: true
- },
- beforeSend: function(xhr)
- {
- _setHeaders(xhr, packet.headers);
- // Returning false will abort the XHR send
- return true;
- },
- success: packet.onSuccess,
- error: function(xhr, reason, exception)
- {
- packet.onError(reason, exception);
- }
- });
- };
-
- return that;
- }
-
- function CallbackPollingTransport()
- {
- var _super = new org_cometd.CallbackPollingTransport();
- var that = org_cometd.Transport.derive(_super);
-
- that.jsonpSend = function(packet)
- {
- $.ajax({
- url: packet.url,
- async: packet.sync !== true,
- type: 'GET',
- dataType: 'jsonp',
- jsonp: 'jsonp',
- data: {
- // In callback-polling, the content must be sent via the 'message' parameter
- message: packet.body
- },
- beforeSend: function(xhr)
- {
- _setHeaders(xhr, packet.headers);
- // Returning false will abort the XHR send
- return true;
- },
- success: packet.onSuccess,
- error: function(xhr, reason, exception)
- {
- packet.onError(reason, exception);
- }
- });
- };
-
- return that;
- }
-
- $.Cometd = function(name)
- {
- var cometd = new org_cometd.Cometd(name);
-
- // Registration order is important
- if (org_cometd.WebSocket)
- {
- cometd.registerTransport('websocket', new org_cometd.WebSocketTransport());
- }
- cometd.registerTransport('long-polling', new LongPollingTransport());
- cometd.registerTransport('callback-polling', new CallbackPollingTransport());
-
- return cometd;
- };
-
- // The default cometd instance
- $.cometd = new $.Cometd();
-
- return $.cometd;
- }
-
- if (typeof define === 'function' && define.amd)
- {
- define(['jquery', 'org/cometd'], bind);
- }
- else
- {
- bind($, org.cometd);
- }
-})(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DT_bootstrap.css b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DT_bootstrap.css
deleted file mode 100644
index 3ad454be..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DT_bootstrap.css
+++ /dev/null
@@ -1,240 +0,0 @@
-div.dataTables_length label {
- float: left;
- text-align: left;
-}
-
-div.dataTables_length label .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle;
-}
-
-div.dataTables_length select {
- width: 75px;
-}
-
-div.dataTables_filter label {
- float: right;
-}
-
-div.dataTables_info {
- position: relative;
- top:15px;
-}
-
-div.dataTables_paginate {
- float: right;
- margin: 0;
-}
-
-table.table {
- clear: both;
- margin-bottom: 6px !important;
- max-width: none !important;
-}
-
-table.table thead .sorting,
-table.table thead .sorting_asc,
-table.table thead .sorting_desc,
-table.table thead .sorting_asc_disabled,
-table.table thead .sorting_desc_disabled {
- cursor: pointer;
- *cursor: hand;
-}
-
-table.table thead .sorting { background: url('images/sort_both.png') no-repeat center right; }
-table.table thead .sorting_asc { background: url('images/sort_asc.png') no-repeat center right; }
-table.table thead .sorting_desc { background: url('images/sort_desc.png') no-repeat center right; }
-
-table.table thead .sorting_asc_disabled { background: url('images/sort_asc_disabled.png') no-repeat center right; }
-table.table thead .sorting_desc_disabled { background: url('images/sort_desc_disabled.png') no-repeat center right; }
-
-table.dataTable th:active {
- outline: none;
-}
-
-table.dataTable tbody {
- font-size:13px;
-}
-
-/* Scrolling */
-div.dataTables_scroll {
- margin-bottom: 5px;
- margin-top: 5px;
-}
-div.dataTables_scrollHead table {
- margin-bottom: 0 !important;
- border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-div.dataTables_scrollHead table thead tr:last-child th:first-child,
-div.dataTables_scrollHead table thead tr:last-child td:first-child {
- border-bottom-left-radius: 0 !important;
- border-bottom-right-radius: 0 !important;
-}
-
-div.dataTables_scrollBody table {
- border-top: none;
- margin-bottom: 0 !important;
-}
-
-div.dataTables_scrollBody tbody tr:first-child th,
-div.dataTables_scrollBody tbody tr:first-child td {
- border-top: none;
-}
-
-/*
-div.dataTables_scrollBody tbody tr td {
- padding-left: 10px !important;
- padding-right: 10px !important;
-}
-div.dataTables_scrollHeadInner table thead tr th,
-div.dataTables_scrollBody table thead tr th{
- padding-left: 10px !important;
- padding-right: 18px !important;
- text-align: center !important;
-}*/
-
-div.dataTables_scrollFoot table {
- border-top: none;
-}
-
-/*
- * TableTools styles
- */
-
-table.DTTT_selectable tbody tr {
- cursor: pointer;
- *cursor: hand;
-}
-
-div.DTTT .btn {
- color: #333 !important;
- font-size: 12px;
-}
-
-div.DTTT .btn:hover {
- text-decoration: none !important;
-}
-
-
-ul.DTTT_dropdown.dropdown-menu a {
- color: #333 !important; /* needed only when demo_page.css is included */
-}
-
-ul.DTTT_dropdown.dropdown-menu li:hover a {
- background-color: #0088cc;
- color: white !important;
-}
-
-/* TableTools information display */
-div.DTTT_print_info.modal {
- height: 150px;
- margin-top: -75px;
- text-align: center;
-}
-
-div.DTTT_print_info h6 {
- font-weight: normal;
- font-size: 28px;
- line-height: 28px;
- margin: 1em;
-}
-
-div.DTTT_print_info p {
- font-size: 14px;
- line-height: 20px;
-}
-
-
-
-/*
- * FixedColumns styles
- */
-div.DTFC_LeftHeadWrapper table,
-div.DTFC_LeftFootWrapper table,
-table.DTFC_Cloned tr.even {
- background-color: white;
-}
-
-div.DTFC_LeftHeadWrapper table {
- margin-bottom: 0 !important;
- border-top-right-radius: 0 !important;
- border-bottom-left-radius: 0 !important;
- border-bottom-right-radius: 0 !important;
-}
-
-div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child,
-div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child {
- border-bottom-left-radius: 0 !important;
- border-bottom-right-radius: 0 !important;
-}
-
-div.DTFC_LeftBodyWrapper table {
- border-top: none;
- margin-bottom: 0 !important;
-}
-
-div.DTFC_LeftBodyWrapper tbody tr:first-child th,
-div.DTFC_LeftBodyWrapper tbody tr:first-child td {
- border-top: none;
-}
-
-div.DTFC_LeftFootWrapper table {
- border-top: none;
-}
-
-/*浮动的确认反确认样式 */
-td.buttonRounded {
- background-color: #e5e5e5;
- color: #333333;
- border: 0px solid #b15a59;
- -webkit-border-radius: 0px;
- -moz-border-radius: 0px;
- -ms-border-radius: 0px;
- -o-border-radius: 0px;
- border-radius: 0px;
- font-family: Arial, Verdana, sans-serif;
- font-size: 12px;
- /*padding: 0 3px;*/
- padding-left:5px !important;
- padding-right:5px !important;
- height:30px !important;
-}
-
-td.buttonRoundedDisabled {
- opacity: .65;
- height:30px !important;
-}
-
-div.buttonConfirm{
- position: absolute; left: 0px; top: 0px; width: 120px; height: 30px; z-index: 201224; overflow: visible;
- font-size: 13px;
-}
-div.buttonUnConfirm{
- position: absolute; left: 120px; top: 0px; width: 100px; height: 30px; z-index: 201242; overflow: visible;
- font-size: 13px;
-}
-div.buttonDelete{
- position: absolute; left: 250px; top: 0px; width: 60px; height: 30px; z-index: 201260; overflow: visible;
- font-size: 13px;
-}
-
-button.btn-confirm {
- width:90px;
-}
-
-/***
-Extended pagination
-***/
-.paging_bootstrap_extended {
- margin: 0 !important;
- padding: 0 !important;
- float: none !important;
- font-size: 13px;
-}
-
-.modal-body {
- font-size: 13px;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DT_bootstrap.js b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DT_bootstrap.js
deleted file mode 100644
index 278745c7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DT_bootstrap.js
+++ /dev/null
@@ -1,363 +0,0 @@
-/* Set the defaults for DataTables initialisation */
-
-$.extend( true, $.fn.dataTable.defaults, {
- "sDom": "<'row'<'col-md-6 col-sm-12'l><'col-md-6 col-sm-12'f>r><'table-scrollable't><'row'<'col-md-5 col-sm-12'i><'col-md-7 col-sm-12'p>>", // horizobtal scrollable datatable
- //"sDom": "<'row'<'col-md-6 col-sm-12'l><'col-md-6 col-sm-12'f>r>t<'row'<'col-md-5 col-sm-12'i><'col-md-7 col-sm-12'p>>", // defaukt datatable without horizobtal scroll
- "sPaginationType": "bootstrap",
- "oLanguage": {
- "sLengthMenu": " _MENU_ records ",
- }
-} );
-
-
-/* Default class modification */
-
-$.extend( $.fn.dataTableExt.oStdClasses, {
- "sWrapper": "dataTables_wrapper"
-} );
-
-
-/* API method to get paging information */
-
-$.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings )
-{
- return {
- "iStart": oSettings._iDisplayStart,
- "iEnd": oSettings.fnDisplayEnd(),
- "iLength": oSettings._iDisplayLength,
- "iTotal": oSettings.fnRecordsTotal(),
- "iFilteredTotal": oSettings.fnRecordsDisplay(),
- "iPage": Math.ceil( oSettings._iDisplayStart / oSettings._iDisplayLength ),
- "iTotalPages": Math.ceil( oSettings.fnRecordsDisplay() / oSettings._iDisplayLength )
- };
-};
-
-
-/* Bootstrap style pagination control */
-$.extend( $.fn.dataTableExt.oPagination, {
- "bootstrap": {
- "fnInit": function( oSettings, nPaging, fnDraw ) {
- var oLang = oSettings.oLanguage.oPaginate;
- var fnClickHandler = function ( e ) {
- e.preventDefault();
- if ( oSettings.oApi._fnPageChange(oSettings, e.data.action) ) {
- fnDraw( oSettings );
- }
- };
-
- // pagination with prev, next link icons
- $(nPaging).append(
- '<ul class="pagination">'+
- '<li class="prev disabled"><a href="#" title="'+oLang.sPrevious+'"><i class="fa fa-angle-left"></i></a></li>'+
- '<li class="next disabled"><a href="#" title="'+oLang.sNext+'"><i class="fa fa-angle-right"></i></a></li>'+
- '</ul>'
- );
-
- var els = $('a', nPaging);
- $(els[0]).bind( 'click.DT', { action: "previous" }, fnClickHandler );
- $(els[1]).bind( 'click.DT', { action: "next" }, fnClickHandler );
- },
-
- "fnUpdate": function ( oSettings, fnDraw ) {
- var iListLength = 5;
- var oPaging = oSettings.oInstance.fnPagingInfo();
- var an = oSettings.aanFeatures.p;
- var i, j, sClass, iStart, iEnd, iHalf=Math.floor(iListLength/2);
-
- if ( oPaging.iTotalPages < iListLength) {
- iStart = 1;
- iEnd = oPaging.iTotalPages;
- }
- else if ( oPaging.iPage <= iHalf ) {
- iStart = 1;
- iEnd = iListLength;
- } else if ( oPaging.iPage >= (oPaging.iTotalPages-iHalf) ) {
- iStart = oPaging.iTotalPages - iListLength + 1;
- iEnd = oPaging.iTotalPages;
- } else {
- iStart = oPaging.iPage - iHalf + 1;
- iEnd = iStart + iListLength - 1;
- }
-
- for ( i=0, iLen=an.length ; i<iLen ; i++ ) {
-
- if (oPaging.iTotalPages < 0) {
- $('.pagination', an[i]).css('visibility', 'hidden');
- } else {
- $('.pagination', an[i]).css('visibility', 'visible');
- }
-
- // Remove the middle elements
- $('li:gt(0)', an[i]).filter(':not(:last)').remove();
-
- // Add the new list items and their event handlers
- for ( j=iStart ; j<=iEnd ; j++ ) {
- sClass = (j==oPaging.iPage+1) ? 'class="active"' : '';
- $('<li '+sClass+'><a href="#">'+j+'</a></li>')
- .insertBefore( $('li:last', an[i])[0] )
- .bind('click', function (e) {
- e.preventDefault();
- oSettings._iDisplayStart = (parseInt($('a', this).text(),10)-1) * oPaging.iLength;
- fnDraw( oSettings );
- } );
- }
-
- // Add / remove disabled classes from the static elements
- if ( oPaging.iPage === 0 ) {
- $('li:first', an[i]).addClass('disabled');
- } else {
- $('li:first', an[i]).removeClass('disabled');
- }
-
- if ( oPaging.iPage === oPaging.iTotalPages-1 || oPaging.iTotalPages === 0 ) {
- $('li:last', an[i]).addClass('disabled');
- } else {
- $('li:last', an[i]).removeClass('disabled');
- }
- }
- }
- }
-} );
-
-/* Bootstrap style full number pagination control */
-$.extend( $.fn.dataTableExt.oPagination, {
- "bootstrap_full_number": {
- "fnInit": function( oSettings, nPaging, fnDraw ) {
- var oLang = oSettings.oLanguage.oPaginate;
- var fnClickHandler = function ( e ) {
- e.preventDefault();
- if ( oSettings.oApi._fnPageChange(oSettings, e.data.action) ) {
- fnDraw( oSettings );
- }
- };
-
- $(nPaging).append(
- '<ul class="pagination">' +
- '<li class="prev disabled"><a href="#" title="' + oLang.sFirst + '"><i class="fa fa-angle-double-left"></i></a></li>' +
- '<li class="prev disabled"><a href="#" title="' + oLang.sPrevious + '"><i class="fa fa-angle-left"></i></a></li>'+
- '<li class="next disabled"><a href="#" title="' + oLang.sNext + '"><i class="fa fa-angle-right"></i></a></li>' +
- '<li class="next disabled"><a href="#" title="' + oLang.sLast + '"><i class="fa fa-angle-double-right"></i></a></li>' +
- '</ul>'
- );
- var els = $('a', nPaging);
- $(els[0]).bind('click.DT', { action: "first" }, fnClickHandler);
- $(els[1]).bind( 'click.DT', { action: "previous" }, fnClickHandler );
- $(els[2]).bind('click.DT', { action: "next" }, fnClickHandler);
- $(els[3]).bind('click.DT', { action: "last" }, fnClickHandler);
- },
-
- "fnUpdate": function ( oSettings, fnDraw ) {
- var iListLength = 5;
- var oPaging = oSettings.oInstance.fnPagingInfo();
- var an = oSettings.aanFeatures.p;
- var i, j, sClass, iStart, iEnd, iHalf=Math.floor(iListLength/2);
-
- if ( oPaging.iTotalPages < iListLength) {
- iStart = 1;
- iEnd = oPaging.iTotalPages;
- }
- else if ( oPaging.iPage <= iHalf ) {
- iStart = 1;
- iEnd = iListLength;
- } else if ( oPaging.iPage >= (oPaging.iTotalPages-iHalf) ) {
- iStart = oPaging.iTotalPages - iListLength + 1;
- iEnd = oPaging.iTotalPages;
- } else {
- iStart = oPaging.iPage - iHalf + 1;
- iEnd = iStart + iListLength - 1;
- }
-
-
-
- for ( i=0, iLen=an.length ; i<iLen ; i++ ) {
- if (oPaging.iTotalPages < 0) {
- $('.pagination', an[i]).css('visibility', 'hidden');
- } else {
- $('.pagination', an[i]).css('visibility', 'visible');
- }
-
- // Remove the middle elements
- $('li:gt(1)', an[i]).filter(':not(.next)').remove();
-
- // Add the new list items and their event handlers
- for ( j=iStart ; j<=iEnd ; j++ ) {
- sClass = (j==oPaging.iPage+1) ? 'class="active"' : '';
- $('<li '+sClass+'><a href="#">'+j+'</a></li>')
- .insertBefore( $('li.next:first', an[i])[0] )
- .bind('click', function (e) {
- e.preventDefault();
- oSettings._iDisplayStart = (parseInt($('a', this).text(),10)-1) * oPaging.iLength;
- fnDraw( oSettings );
- } );
- }
-
- // Add / remove disabled classes from the static elements
- if ( oPaging.iPage === 0 ) {
- $('li.prev', an[i]).addClass('disabled');
- } else {
- $('li.prev', an[i]).removeClass('disabled');
- }
-
- if ( oPaging.iPage === oPaging.iTotalPages-1 || oPaging.iTotalPages === 0 ) {
- $('li.next', an[i]).addClass('disabled');
- } else {
- $('li.next', an[i]).removeClass('disabled');
- }
- }
- }
- }
-} );
-
-/* Bootstrap style full number pagination control */
-$.extend( $.fn.dataTableExt.oPagination, {
- "bootstrap_extended": {
- "fnInit": function( oSettings, nPaging, fnDraw ) {
- var oLang = oSettings.oLanguage.oPaginate;
- var oPaging = oSettings.oInstance.fnPagingInfo();
-
- var fnClickHandler = function ( e ) {
- e.preventDefault();
- if ( oSettings.oApi._fnPageChange(oSettings, e.data.action) ) {
- fnDraw( oSettings );
- }
- };
-
- $(nPaging).append(
- '<div class="pagination-panel"> ' + oLang.sPage + ' ' +
- '<a href="#" class="btn btn-sm default prev disabled" title="' + oLang.sPrevious + '"><i class="fa fa-angle-left"></i></a>' +
- '<input type="text" class="pagination-panel-input form-control input-mini input-inline input-sm" maxlenght="5" style="text-align:center; margin: 0 5px;">' +
- '<a href="#" class="btn btn-sm default next disabled" title="' + oLang.sNext + '"><i class="fa fa-angle-right"></i></a> ' +
- oLang.sPageOf + ' <span class="pagination-panel-total"></span>' +
- '</div>'
- );
-
- var els = $('a', nPaging);
-
- $(els[0]).bind('click.DT', { action: "previous" }, fnClickHandler );
- $(els[1]).bind('click.DT', { action: "next" }, fnClickHandler);
-
- $('.pagination-panel-input', nPaging).bind('change.DT', function(e) {
- var oPaging = oSettings.oInstance.fnPagingInfo();
- e.preventDefault();
- var page = parseInt($(this).val());
- if (page > 0 && page < oPaging.iTotalPages) {
- if ( oSettings.oApi._fnPageChange(oSettings, page-1) ) {
- fnDraw( oSettings );
- }
- } else {
- $(this).val(oPaging.iPage + 1);
- }
- });
-
- $('.pagination-panel-input', nPaging).bind('keypress.DT', function(e) {
- var oPaging = oSettings.oInstance.fnPagingInfo();
- if (e.which == 13) {
- var page = parseInt($(this).val());
- if (page > 0 && page < oSettings.oInstance.fnPagingInfo().iTotalPages) {
- if ( oSettings.oApi._fnPageChange(oSettings, page-1) ) {
- fnDraw( oSettings );
- }
- } else {
- $(this).val(oPaging.iPage + 1);
- }
- e.preventDefault();
- }
- });
- },
-
- "fnUpdate": function ( oSettings, fnDraw ) {
- var iListLength = 5;
- var oPaging = oSettings.oInstance.fnPagingInfo();
- var an = oSettings.aanFeatures.p;
- var i, j, sClass, iStart, iEnd, iHalf=Math.floor(iListLength/2);
-
- if ( oPaging.iTotalPages < iListLength) {
- iStart = 1;
- iEnd = oPaging.iTotalPages;
- }
- else if ( oPaging.iPage <= iHalf ) {
- iStart = 1;
- iEnd = iListLength;
- } else if ( oPaging.iPage >= (oPaging.iTotalPages-iHalf) ) {
- iStart = oPaging.iTotalPages - iListLength + 1;
- iEnd = oPaging.iTotalPages;
- } else {
- iStart = oPaging.iPage - iHalf + 1;
- iEnd = iStart + iListLength - 1;
- }
-
-
- for ( i=0, iLen=an.length ; i<iLen ; i++ ) {
- var wrapper = $(an[i]).parents(".dataTables_wrapper");
-
- if (oPaging.iTotalPages <= 0) {
- $('.pagination-panel, .dataTables_length', wrapper).hide();
- } else {
- $('.pagination-panel, .dataTables_length', wrapper).show();
- }
-
- $('.pagination-panel-total', an[i]).html(oPaging.iTotalPages);
- $('.pagination-panel-input', an[i]).val(oPaging.iPage + 1);
-
- // Remove the middle elements
- $('li:gt(1)', an[i]).filter(':not(.next)').remove();
-
- // Add the new list items and their event handlers
- for ( j=iStart ; j<=iEnd ; j++ ) {
- sClass = (j==oPaging.iPage+1) ? 'class="active"' : '';
- $('<li '+sClass+'><a href="#">'+j+'</a></li>')
- .insertBefore( $('li.next:first', an[i])[0] )
- .bind('click', function (e) {
- e.preventDefault();
- oSettings._iDisplayStart = (parseInt($('a', this).text(),10)-1) * oPaging.iLength;
- fnDraw( oSettings );
- } );
- }
-
- // Add / remove disabled classes from the static elements
- if ( oPaging.iPage === 0 ) {
- $('a.prev', an[i]).addClass('disabled');
- } else {
- $('a.prev', an[i]).removeClass('disabled');
- }
-
- if ( oPaging.iPage === oPaging.iTotalPages-1 || oPaging.iTotalPages === 0 ) {
- $('a.next', an[i]).addClass('disabled');
- } else {
- $('a.next', an[i]).removeClass('disabled');
- }
- }
- }
- }
-} );
-
-/*
- * TableTools Bootstrap compatibility
- * Required TableTools 2.1+
- */
-if ( $.fn.DataTable.TableTools ) {
- // Set the classes that TableTools uses to something suitable for Bootstrap
- $.extend( true, $.fn.DataTable.TableTools.classes, {
- "container": "btn-group",
- "buttons": {
- "normal": "btn default",
- "disabled": "btn disabled"
- },
- "collection": {
- "container": "DTTT_dropdown dropdown-menu",
- "buttons": {
- "normal": "",
- "disabled": "disabled"
- }
- }
- } );
-
- // Have the collection use a bootstrap compatible dropdown
- $.extend( true, $.fn.DataTable.TableTools.DEFAULTS.oTags, {
- "collection": {
- "container": "ul",
- "button": "li",
- "liner": "a"
- }
- } );
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DataTableICT.js b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DataTableICT.js
deleted file mode 100644
index 3273231b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DataTableICT.js
+++ /dev/null
@@ -1,1459 +0,0 @@
-/***
- Wrapper/Helper Class for datagrid based on jQuery Datatable Plugin
- ***/
-var DatatableICT = function () {
-
- var contextData;
- var tableOptions; // main options
- var dataTable; // datatable object
- var table; // actual table jquery object
- var tableContainer; // actual table container object
- var tableWrapper; // actual table wrapper jquery object
- var tableInitialized = false;
- var ajaxParams = []; // set filter mode
- var columns;
- var xsHiddenColumns;
- var smHiddenColumns;
- var columnMaxLength = 30;
- var columnsTooLong;
- var hidden_xs_maxWidth = 768;
- var hidden_sm_maxWidth = 991;
-
- var openRowFlag = false;
- var rowOverFlag = false;
- var rowCheckable = false;
-
- var aTargetsAll;
- var sTotalRecordsSource;
- var totalRecords;
- var tableHeight;
-
- var requestType="GET";
- var callbackList = [];
- var checkedRowDatas = [];
- var currentPageData;
-
- var includedInXsHiddenColumns = function(columnId){
- for(var i=0;i<xsHiddenColumns.length; i++ ){
- var column = xsHiddenColumns[i];
- if(columnId == column.columnId){
- return true;
- }
- }
- return false;
- }
-
- var includedInSmHiddenColumns = function(columnId){
- for(var i=0;i<smHiddenColumns.length; i++ ){
- var column = smHiddenColumns[i];
- if(columnId == column.columnId){
- return true;
- }
- }
- return false;
- }
-
- var countSelectedRecords = function() {
- var selected = $('tbody > tr > td:nth-child(1) input[type="checkbox"]:checked', table).size();
- var text = tableOptions.dataTable.oLanguage.sGroupActions;
- if (selected > 0) {
- $('.table-group-actions > span', tableWrapper).text(text.replace("_TOTAL_", selected));
- } else {
- $('.table-group-actions > span', tableWrapper).text("");
- }
- }
-
- var jsonObjectToArray = function(json, columns, iDraw){
- var jsonToDatatable = {aaData:[], sEcho:iDraw, iTotalRecords:0, iTotalDisplayRecords:0 };
- //获取数据的属性
- var dataField;
- //性能的情况
- if(json.data){
- dataField = json.data;
- }
- //告警的情况
- if(json.response && json.response.data){
- dataField = json.response.data;
- }
- for(var i=0; i<dataField.length; i++){
- jsonToDatatable.aaData[i] = [];
- var resRowObject;
- //性能的情况
- if(json.data){
- resRowObject = json.data[i].data;
- }
- //告警的情况
- if(json.response && json.response.data){
- resRowObject = json.response.data[i];
- }
- if(rowCheckable){
- jsonToDatatable.aaData[i].push("<input type=\"checkbox\" name=\"id[]\" rowDataNo='rowNo_" + i + "' value=\"1\">");
- }
- if(openRowFlag){
- jsonToDatatable.aaData[i].push("<span class=\"row-details row-details-close\"></span>");
- }
- for(var j=0; j<columns.length; j++){
-
- if($(window).width() >= hidden_xs_maxWidth && $(window).width() < hidden_sm_maxWidth && includedInSmHiddenColumns(columns[j].columnId )){
- /*隐藏pad尺寸需要隐藏的列*/
- }else if($(window).width() < hidden_xs_maxWidth && includedInXsHiddenColumns(columns[j].columnId )){
- /*隐藏手机尺寸需要隐藏的列*/
- }else{
- var currentColumnId = columns[j].columnId;
- if(jQuery.inArray(currentColumnId, columnsTooLong) > -1){
- var rawText = "";
- for(var k=0;k<columnsTooLong.length;k++){
- if(currentColumnId == columnsTooLong[k]){
- rawText = resRowObject[currentColumnId];
- break;
- }
- }
- if(rawText.length > columnMaxLength){
- jsonToDatatable.aaData[i].push(rawText.slice(0, columnMaxLength) + '...');
- }else{
- jsonToDatatable.aaData[i].push(resRowObject[currentColumnId]);
- }
- } else {
- jsonToDatatable.aaData[i].push(resRowObject[currentColumnId]);
- }
-
- }
- }
- }
- jsonToDatatable.sEcho++;
- //取得总行数
- var totalRow = 0;
- if(requestType == "POST"){ //性能的情况单独发请求获得总行数
- totalRow = totalRecords;
- }else{
- var totalRecordsSource = eval('json.' + sTotalRecordsSource);
- if(totalRecordsSource && totalRecordsSource.length >0){
- totalRow = parseInt(totalRecordsSource);
- }
- }
- if(isNaN(totalRow)){
- alert('All rows counting number got fail!');
- }else{
- jsonToDatatable.iTotalRecords = totalRow;
- jsonToDatatable.iTotalDisplayRecords = totalRow;
- }
- return jsonToDatatable;
- }
-
- var singleAlarmDel = function(divOverlay){
-
- //根据浮动框的当前id获取需要删除的行
- var trId = divOverlay.attr('id_tr');
- tr=$('tr#' + trId);
- var tds = $(tr).children();
- var tdAlarmId = "";
- if(rowCheckable){
- tdAlarmId = $(tds.eq(2)).text();
- }else{
- tdAlarmId = $(tds.eq(1)).text();
- }
-
- var data= {
- "alarmId":[parseInt(tdAlarmId)]
- };
-
- var sSource = "/web/rest/web/fm/curalarms?data=" + JSON.stringify(data) + "&_operationType=remove&_dataSource=isc_PageRestDataSource_0&isc_metaDataPrefix=_&isc_dataFormat=json";
-
- $.ajax( {
- "dataType": 'json',
- "type": "DELETE",
- "url": sSource,
- "data" : null,
- "contentType" : 'application/json; charset=utf-8',
- "success": function(json) {
- if(json.response.status == 0){
- var resRowObject = json.response.data[0];
- //alert('删除成功');
- }
- if(json.response.status == -1){
- //alert('删除失败');
- }
- },
- "error": function() {
- alert('Communication Error!');
- }
- } );
- }
-
- var singleAlarmAckUnAck = function(divOverlay, ackType){
-
- //根据浮动框的当前id获取需要确认的行
- var trId = divOverlay.attr('id_tr');
- var tr = $('tr#' + trId);
-
- //取得隐藏的头部表格的相应行
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', contextData.wrapperDivContext);
- //var trHead = $('tbody > tr:nth-child(' + trId + ')', $tableHead);
- var trHead = $('tr#' + trId.replace('body', 'head'), $tableHead);
- var tdDivs = $('td > div', trHead);
-
- var tds = $(tr).children();
- var tdAlarmId = "";
- if(rowCheckable){
- tdAlarmId = $(tds.eq(2)).text();
- }else{
- tdAlarmId = $(tds.eq(1)).text();
- }
-
- var aoData =
- {
- "dataSource":"isc_PageRestDataSource_0",
- "operationType":"update",
- "componentId":"isc_com_zte_ums_aos_fm_view_eventview_table_AlarmTable_0",
- "data":{
- "viewType":1,
- "state":ackType,
- "alarmId":[
- parseInt(tdAlarmId)
- ]
- },
- "oldValues":null
- };
-
- var sSource = "/web/rest/web/fm/curalarms?isc_dataFormat=json";
-
- $.ajax( {
- "dataType": 'json',
- "type": "PUT",
- "url": sSource,
- "contentType": 'application/json; charset=utf-8',
- "data": JSON.stringify(aoData),
- "success": function(json) {
- if(callbackList[1]){
- json = callbackList[1](json);
- }
- if(json.response.status == 0){
- var resRowObject = json.response.data[0];
- var columnsCopy = $.extend(true, [], columns);
- //隐藏列的情况下需要特殊处理
- if($(window).width()>=hidden_xs_maxWidth && $(window).width()<hidden_sm_maxWidth){
- columnsCopy = [];
- for(var i=0;i<columns.length;i++){
- if(!includedInSmHiddenColumns(columns[i].columnId)){
- columnsCopy.push(columns[i]);
- }
- }
- } else if($(window).width()<hidden_xs_maxWidth){
- columnsCopy = [];
- for(var i=0;i<columns.length;i++){
- if(!includedInXsHiddenColumns(columns[i].columnId)){
- columnsCopy.push(columns[i]);
- }
- }
- }
- var iIndex = 1;
- if(rowCheckable){
- iIndex = 2;
- }
- for(var i=iIndex;i<tds.length && (i-iIndex)<columnsCopy.length;i++){
- var currentColumnId = columnsCopy[i-iIndex].columnId;
- if(jQuery.inArray(currentColumnId, columnsTooLong) > -1) {
- var rawText = "";
- for(var k=0;k<columnsTooLong.length;k++){
- if(currentColumnId == columnsTooLong[k]){
- rawText = resRowObject[currentColumnId];
- break;
- }
- }
- if(rawText.length > columnMaxLength){
- $(tds.eq(i)).html(rawText.slice(0, columnMaxLength) + '...');
- $(tdDivs.eq(i)).html(rawText.slice(0, columnMaxLength) + '...');
- }else{
- $(tds.eq(i)).html(resRowObject[currentColumnId]);
- $(tdDivs.eq(i)).html(resRowObject[currentColumnId]);
- }
- } else {
- $(tds.eq(i)).html(resRowObject[currentColumnId]);
- $(tdDivs.eq(i)).html(resRowObject[currentColumnId]);
- }
- }
- //更新缓存中的当前行数据
- for (var t = 0; t < dataTable.datas.length; t++) {
- var temp = dataTable.datas[t];
- if (temp.alarmId == resRowObject['alarmId']) {
- dataTable.datas[t] = resRowObject;
- break;
- }
- }
- }
- if(json.response.status == -1){
- $('div#myModalConfirm' + contextData.curentDatableId).modal({
- keyboard: false,
- backdrop: 'static'
- });
- $('span#alarm_number' + contextData.curentDatableId).html(tdAlarmId);
- //国际化信息
- if(ackType==1){
- $('span#aos_fm_alarm_opeater_ack_already').html($.i18n.prop('aos_fm_alarm_opeater_ack_already_ok').replace(/\"/g,"").replace(";", ""));
- }else{
- $('span#aos_fm_alarm_opeater_ack_already').html($.i18n.prop('aos_fm_alarm_opeater_ack_already_un').replace(/\"/g,"").replace(";", ""));
- }
- }
- },
- "error": function() {
- alert('Communication Error!');
- }
- } );
- }
-
- var addRowOverlap = function(){
- var $tableData = $('table#datatable_ajax' + contextData.curentDatableId);
- //取得隐藏的头部表格的相应行
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', contextData.wrapperDivContext);
- var trHeads = $tableHead.find('tr').get();
- $.each( trHeads, function( index, trHead ){
- $(trHead).attr('id', 'headTableTR' + index);
- });
- //取得浮动div
- var $divOverlay = $('div#divOverlay' + contextData.curentDatableId);
- var divScrollHead = $('div.dataTables_scrollHead', contextData.wrapperDivContext);
- var divRightPadding = $('div#divRightPadding' + contextData.curentDatableId);
- //取表头下边沿位置
- var tableHeadBottomHeight = $(divScrollHead).position().top + $(divScrollHead).height();
- var tableBottom = $tableData.position().top + $tableData.height() + 3;
- //取表格右边沿位置
- var tableRightEdgePosition = $(divRightPadding).position().left;
- var trs = $tableData.find('tr').get();
- $.each( trs, function( index, tr ){
- var tdEmpty = $('td.dataTables_empty',tr);
- if(!tdEmpty || tdEmpty.length ==0 ){
- $(tr).attr('id', 'bodyTableTR' + index + contextData.curentDatableId);
- //$divOverlay.attr('id_tr', 'bodyTableTR' + index);
- $(tr).one('hover', function(){
- var rowPos = $(tr).position();
- var currentTrTop = rowPos.top;
- //var bottomLeft = rowPos.left;
- $divOverlay.attr('id_tr', 'bodyTableTR' + index + contextData.curentDatableId);
- $divOverlay.css({
- display: 'block',
- position: 'absolute',
- 'background-color': '#e5e5e5',
- //opacity: 0.7,
- border: 'solid 0px',
- top: currentTrTop + 6,
- left: tableRightEdgePosition - 308,
- width: 300,
- height: 30
- });
- //防止浮动框跳出表格内容区域
- if( $divOverlay.position().top < tableHeadBottomHeight || $divOverlay.position().top + $divOverlay.height() > tableBottom){
- $divOverlay.css('display', 'none');
- }
- var buttonConfirm = $('div#buttonConfirm', $divOverlay);
- var buttonUnConfirm = $('div#buttonUnConfirm', $divOverlay);
- $(buttonConfirm).one('click', function(){
- var buttonRoundedTDsConfirm = $(buttonConfirm).find('td.buttonRounded');
- var buttonRoundedTDsUnConfirm = $(buttonUnConfirm).find('td.buttonRoundedDisabled');
- if(buttonRoundedTDsConfirm && buttonRoundedTDsConfirm.length > 0){
- $.each(buttonRoundedTDsConfirm, function(index, td){
- $(td).removeClass('buttonRounded').addClass('buttonRoundedDisabled');
- });
- $.each(buttonRoundedTDsUnConfirm, function(index, td){
- $(td).removeClass('buttonRoundedDisabled').addClass('buttonRounded');
- });
- $divOverlay.css('display', 'none');
- singleAlarmAckUnAck($divOverlay, 1);
- }
- });
- $(buttonUnConfirm).one('click', function(){
- var buttonRoundedTDsUnConfirm = $(buttonUnConfirm).find('td.buttonRounded');
- var buttonRoundedTDsConfirm = $(buttonConfirm).find('td.buttonRoundedDisabled');
- if(buttonRoundedTDsUnConfirm && buttonRoundedTDsUnConfirm.length > 0){
- $.each(buttonRoundedTDsUnConfirm, function(index, td){
- $(td).removeClass('buttonRounded').addClass('buttonRoundedDisabled');
- });
- $.each(buttonRoundedTDsConfirm, function(index, td){
- $(td).removeClass('buttonRoundedDisabled').addClass('buttonRounded');
- });
- $divOverlay.css('display', 'none');
- singleAlarmAckUnAck($divOverlay, 2);
- }
- });
- var buttonDelete = $('div#buttonDelete', $divOverlay);
- $(buttonDelete).die().live('click', function(){
- //弹出删除确认对话框
- $('div#myModal' + contextData.curentDatableId).modal({
- keyboard: false,
- backdrop: 'static'
- });
- $('#delConfirm' + contextData.curentDatableId).die().live('click', function(){
- $divOverlay.css('display', 'none');
- dataTable.fnClose(tr);
- $(tr).remove();
- //删除表头表格的相应行
- $('tr#' + $(tr).attr('id').replace('body', 'head'), $tableHead).remove();
- //删除后端数据
- singleAlarmDel($divOverlay);
- //刷新表格
- dataTable.fnAdjustColumnSizing();
- });
- });
- //展开行的情况隐藏
- $('td.details > table.detailTable').on('hover', function(){
- $divOverlay.css('display', 'none');
- });
- });
- }
- });
- }
-
- return {
-
- //main function to initiate the module
- init: function (options, columnsDefined, xsHiddenColumnsDefined, smHiddenColumnsDefined) {
-
- if (!$().dataTable) {
- return;
- }
-
- var the = this;
-
- //记录需要禁掉默认排序的列
- var aTargets = [];
- var targetsLength = columnsDefined.length;
- if(rowCheckable)targetsLength++;
- if(openRowFlag)targetsLength++;
- for(var i=0;i<targetsLength;i++){
- aTargets.push(i);
- }
- aTargetsAll = aTargets;
-
- // default settings
- options = $.extend(true, {
- src: "", // actual table
- filterApplyAction: "filter",
- filterCancelAction: "filter_cancel",
- resetGroupActionInputOnSuccess: true,
- dataTable: {
- //"sDom" : "<'row'<'col-md-8 col-sm-12'pli><'col-md-4 col-sm-12'<'table-group-actions pull-right'>>r><'table-scrollable't><'row'<'col-md-8 col-sm-12'pli><'col-md-4 col-sm-12'>r>>", // datatable layout
-
- "aoColumnDefs" : [{ // define columns sorting options(by default all columns are sortable extept the first checkbox column)
- 'bSortable' : false,
- 'aTargets' : aTargets
- }],
-
- "bAutoWidth": false, // disable fixed width and enable fluid table
- //"bSortCellsTop": true, // make sortable only the first row in thead
- "sPaginationType": "bootstrap_extended", // pagination type(bootstrap, bootstrap_full_number or bootstrap_extended)
- "bProcessing": true, // enable/disable display message box on record load
- "bServerSide": true, // enable/disable server side ajax loading
- "sAjaxSource": "", // define ajax source URL
- //"sServerMethod": "GET",
-
- // handle ajax request
- "fnServerData": function ( sSource, aoData, fnCallback, oSettings ) {
- //for ICT Paging
- //var startIndex = aoData[3].value;//"iDisplayStart"
- //var pageLength = aoData[4].value;//"iDisplayLength"
- var oPaging = oSettings.oInstance.fnPagingInfo();
- //var startIndex = oPaging.iStart;
- var pageLength = oPaging.iLength;
- var curPageNo = oPaging.iPage + 1;
-
- for(var k=aoData.length-1;k>=0;k--){
- var flag = -1;
- if(aoData[k].name=='pageSize'){
- aoData[k].value=pageLength;
- flag++;
- }
- if(aoData[k].name=='pageNo'){
- aoData[k].value=curPageNo;
- flag++
- }
- if(flag == 1)break;
- }
-
- if(requestType == "POST"){
-
- var postData;
- for(var k=aoData.length-1;k>=0;k--){
- if(aoData[k].name=='data'){
- postData = aoData[k].value;
- postData.pageSize = pageLength;
- postData.pageNo = curPageNo;
- break;
- }
- }
-
- oSettings.jqXHR = $.ajax( {
- "dataType": 'json',
- "type": "POST",
- "url": sSource,
- "data": JSON.stringify(postData),
- "contentType": 'application/json; charset=utf-8',
- "success": function(res, textStatus, jqXHR) {
- if (res.sMessage) {
- ZteFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'});
- }
- if ($('.group-checkable', tableContainer).size() === 1) {
- $('.group-checkable', tableContainer).attr("checked", false);
- $.uniform.update($('.group-checkable', tableContainer));
- }
- if (tableOptions.onSuccess) {
- tableOptions.onSuccess.call(the);
- }
-
- if(callbackList[1]){
- res = callbackList[1](res);
- }
-
- //转换返回数据给datatable
- res = jsonObjectToArray(res, columns, oSettings.iDraw);
-
- //重绘表格
- fnCallback(res, textStatus, jqXHR);
- },
- "error": function() {
- if (tableOptions.onError) {
- tableOptions.onError.call(the);
- }
- ZteFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'});
- $('.dataTables_processing', tableWrapper).remove();
- }
- } );
-
- } else {
-
- oSettings.jqXHR = $.ajax( {
- "dataType": 'json',
- "type": "GET",
- "url": sSource,
- "data": aoData,
- "success": function(res, textStatus, jqXHR) {
- if (res.sMessage) {
- ZteFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'});
- }
- if ($('.group-checkable', tableContainer).size() === 1) {
- $('.group-checkable', tableContainer).attr("checked", false);
- $.uniform.update($('.group-checkable', tableContainer));
- }
- if (tableOptions.onSuccess) {
- tableOptions.onSuccess.call(the);
- }
- //保存数据在dataTable对象中给行详细信息面板用
- if(res.response){ //告警的情况,返回数据在response属性里
- dataTable.datas = res.response.data;
- if(res.response.status < 0){
- alert(res.response.data);
- return;
- }
- }
-
- //保存当前页原始数据的备份
- currentPageData = $.extend(true, {}, res.response.data);;
-
- if(callbackList[1]){
- res = callbackList[1](res);
- }
-
- //转换返回数据给datatable
- res = jsonObjectToArray(res, columns, oSettings.iDraw);
-
- //重绘表格
- fnCallback(res, textStatus, jqXHR);
- },
- "error": function() {
- if (tableOptions.onError) {
- tableOptions.onError.call(the);
- }
- ZteFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'});
- $('.dataTables_processing', tableWrapper).remove();
- }
- } );
- }
-
- },
-
- // pass additional parameter
- "fnServerParams": function ( aoData ) {
- //here can be added an external ajax request parameters.
- //for(var i in ajaxParams) {
- for(var i=0; i<ajaxParams.length; i++){
- var param = ajaxParams[i];
- aoData.push({"name" : param.name, "value": param.value});
- }
- },
-
- "fnDrawCallback": function( oSettings ) { // run some code on table redraw
- if (tableInitialized === false) { // check if table has been initialized
- tableInitialized = true; // set table initialized
- table.show(); // display table
- }
- ZteFrameWork.initUniform($('input[type="checkbox"]', tableContainer)); // reinitialize uniform checkboxes on each table reload
- countSelectedRecords(); // reset selected records indicator
- //所有td不换行
- $('table#datatable_ajax' + contextData.curentDatableId).find('td').css('white-space', 'nowrap');
-
- //自适应对齐表头
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', tableWrapper);
- var tbodyHead = $('tbody', $tableHead);
- if(tbodyHead && tbodyHead.length >0){
- $(tbodyHead).remove();
- }
-
- var $tableBody = $('table#datatable_ajax' + contextData.curentDatableId, tableWrapper);
- var trIn = $('thead > tr:nth-child(1)', $tableHead);
- var trBodyHead = $('thead > tr:nth-child(1)', $tableBody);
- var tds = $(trIn).children();
- var ths = $(trBodyHead).children();
- for(var k=0;k<tds.length;k++){
- $(ths.eq(k)).html('<div style="height: 0;overflow: hidden;">' + tds.eq(k).html() + '</div>');
- }
- var bodyRows = $('tbody > tr', $tableBody);
- for(var i=0;i<bodyRows.length;i++){
- var rowClone = $(bodyRows.eq(i)).clone();
- var tds = $(rowClone).children();
- for(var j=0;j<tds.length;j++){
- $(tds.eq(j)).html('<div style="height: 0;overflow: hidden;">' + tds.eq(j).html() + '</div>');
- $(tds.eq(j)).height('0px');
- $(tds.eq(j)).css('padding-top','0px');
- $(tds.eq(j)).css('padding-bottom','0px');
- $(tds.eq(j)).css('border-top-width','0px');
- $(tds.eq(j)).css('border-bottom-width','0px');
- }
- $(rowClone).height('0px');
- $tableHead.append($(rowClone).prop("outerHTML"));
- }
-
- $('div.dataTables_scrollBody', tableWrapper).css('width','100%');
- $('div.dataTables_scrollHead', tableWrapper).css('width','98.5%');
- $('div.dataTables_scrollHeadInner', tableWrapper).css('padding-right', 0);
-
- //添加浮动确认反确认按钮
- if(rowOverFlag){
- addRowOverlap();
- }
-
- //设置表格本体高度
- $('div.dataTables_scrollBody', tableWrapper).css('height', tableHeight);
- }
- }
- }, options);
-
- tableOptions = options;
-
- columns = columnsDefined;
- xsHiddenColumns = xsHiddenColumnsDefined;
- smHiddenColumns = smHiddenColumnsDefined;
- // create table's jquery object
- table = $(options.src);
- tableContainer = table.parents("div#table-container" + contextData.curentDatableId);
- // apply the special class that used to restyle the default datatable
-
- $.fn.dataTableExt.oStdClasses.sWrapper = $.fn.dataTableExt.oStdClasses.sWrapper + " dataTables_extended_wrapper";
-
- // initialize a datatable
- dataTable = table.dataTable(options.dataTable);
-
- tableWrapper = table.parents('div.dataTables_wrapper', tableContainer);
-
- // modify table per page dropdown input by appliying some classes
- $('.dataTables_length select', tableWrapper).addClass("form-control input-xsmall input-sm");
-
- // handle group checkboxes check/uncheck
- $('.group-checkable', tableContainer).change(function () {
- var set = $('tbody > tr > td:nth-child(1) input[type="checkbox"]', table);
- var checked = $(this).is(":checked");
- $(set).each(function () {
- $(this).attr("checked", checked);
- });
- $.uniform.update(set);
- countSelectedRecords();
- });
-
- // handle row's checkbox click
- table.on('change', 'tbody > tr > td:nth-child(1) input[type="checkbox"]', function(){
- countSelectedRecords();
- });
-
- //if ($.browser.safari) {
- // $('.table-container').css('width','100%');
- //}
- //填充表头右边界
- $('div.dataTables_scrollHead', tableContainer).css('display','inline-block');
- //var dataTables_scrollHead_height = $('.dataTables_scrollHead').css( "height" );
- $("div.dataTables_scrollHead", tableContainer).after("<div id='divRightPadding" + contextData.curentDatableId + "' style='overflow: hidden; background:#eee; position: relative; float:right; border: 1px solid #ddd; height:" + 38 + "px; width: 1.4%;'></div>");
- if($.browser.mozilla){
- $('div#divRightPadding', tableContainer).css('height', '40');
- }
-
- //隐藏掉某些列
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', tableWrapper);
- var $tableBody = $('table#datatable_ajax' + contextData.curentDatableId, tableWrapper);
-
- for(var i=0;i<xsHiddenColumns.length;i++){
- for(var j=0;j<columns.length;j++){
- if(xsHiddenColumns[i].columnId == columns[j].columnId){
- $('thead > tr > th#' + columns[j].columnId, $tableHead).addClass('hidden-xs');
- $('thead > tr > th#' + columns[j].columnId, $tableBody).addClass('hidden-xs');
- break;
- }
- }
- }
-
- for(var i=0;i<smHiddenColumns.length;i++){
- for(var j=0;j<columns.length;j++){
- if(smHiddenColumns[i].columnId == columns[j].columnId){
- $('thead > tr > th#' + columns[j].columnId, $tableHead).addClass('hidden-sm');
- $('thead > tr > th#' + columns[j].columnId, $tableBody).addClass('hidden-sm');
- break;
- }
- }
- }
- },//end init------------------------------------------------------------------------------------
-
- getSelectedRowsCount: function() {
- return $('tbody > tr > td:nth-child(1) input[type="checkbox"]:checked', table).size();
- },
-
- getSelectedRows: function() {
- var rows = [];
- $('tbody > tr > td:nth-child(1) input[type="checkbox"]:checked', table).each(function(){
- rows.push({rowDataNo: $(this).attr("rowDataNo"), name: $(this).attr("name"), value: $(this).val()});
- });
-
- return rows;
- },
-
- addAjaxParam: function(name, value) {
- ajaxParams.push({"name": name, "value": value});
- },
-
- clearAjaxParams: function(name, value) {
- ajaxParams = [];
- },
-
- getDataTable: function() {
- return dataTable;
- },
-
- getTableWrapper: function() {
- return tableWrapper;
- },
-
- gettableContainer: function() {
- return tableContainer;
- },
-
- getTable: function() {
- return table;
- },
-
- setOpenRowFlag: function(openRowFlagInput) {
- openRowFlag = openRowFlagInput;
- },
-
- setRowOverFlag: function(rowOverFlagInput) {
- rowOverFlag = rowOverFlagInput;
- },
-
- setRowCheckable: function(rowCheckableInput) {
- rowCheckable = rowCheckableInput;
- },
-
- setColumnsTooLong: function(columnsTooLongInput) {
- columnsTooLong = columnsTooLongInput;
- },
-
- setSTotalRecordsSource: function(sTotalRecordsSourceInput){
- sTotalRecordsSource = sTotalRecordsSourceInput;
- },
-
- setTotalRecords: function(totalRecordsInput){
- totalRecords = totalRecordsInput;
- },
-
- setTableHeight: function(tableHeightInput){
- tableHeight = tableHeightInput;
- },
-
- setCallbackList: function(list){
- if($.isArray(list)){
- callbackList = list;
- }
- },
-
- getCheckedRowDatas:function(){
- checkedRowDatas = [];
- $('tbody > tr > td:nth-child(1) input[type="checkbox"]:checked', table).each(function(){
- var rowNoId = $(this).attr("rowDataNo");
- var rowNoIndex = rowNoId.slice(rowNoId.indexOf("_") + 1);
- checkedRowDatas.push(currentPageData[parseInt(rowNoIndex)]);
- });
- return checkedRowDatas;
- },
-
- setRequestType: function(requestTypeInput){
- requestType = requestTypeInput;
- },
-
- setContextData: function(newContextData){
- contextData = newContextData;
- },
-
- setTotalPage: function(newTotalPage){
- $("#datatable_ajax" + contextData.curentDatableId + "_info").html(tableOptions.dataTable.oLanguage.sInfo.replace("_TOTAL_", newTotalPage + ""));
- }
-
- };
-
-};
-
-var TableAjaxICT = function () {
-
- var contextData;
-
- var initPickers = function () {
- //init date pickers
- $('.date-picker').datepicker({
- //rtl: App.isRTL(),
- autoclose: true
- });
- }
-
- //判断a数组是否包含b数组
- function isContained(largeArray, smallArray){
- if(!(largeArray instanceof Array) || !(smallArray instanceof Array))
- return false;
- if(largeArray.length < smallArray.length)
- return false;
- for(var i = 0; i < smallArray.length; i++){
- var flag = false;
- for(j=0;j<largeArray.length;j++){
- if(largeArray[j].columnId == smallArray[i].columnId){
- flag = true;
- break;
- }
- }
- if(flag==false)return false;
- }
- return true;
- }
-
- //var grid = DatatableICT();
- var grid;
-
- /* Formatting function for row details */
- function fnFormatDetails(oTable, nTr, columns, rowCheckable) {
- //取得当前行显示数据
- var tds = $(nTr).children();
- var alarmId="";
- if(rowCheckable){
- alarmId = $(tds.eq(2)).html();
- }else{
- alarmId = $(tds.eq(1)).html();
- }
- //取得当前行完整数据
- var systemType = 0;
- var code = 0;
- //所有字段
- var resDisplayName="";
- var moc="";
- var alarmRaisedTime="";
- var perceivedSeverity="";
- var probableCauseDesc="";
- var neip="";
- var alarmType="";
- var ackState="";
- var ackTime="";
- var ackUserId="";
- var ackSystemId="";
- var alarmChangedTime="";
- var componentname="";
- var position1="";
- var specificproblem="";
- var additionalText="";
- for (var i = 0; i < oTable.datas.length; i++) {
- var temp = oTable.datas[i];
- if (temp.alarmId == alarmId) {
- alarmId = temp.alarmId;
- resDisplayName = temp.resDisplayName;
- alarmRaisedTime = temp.alarmRaisedTime;
- perceivedSeverity = temp.perceivedSeverity;
- probableCauseDesc = temp.probableCauseDesc;
- neip = temp.neip;
- alarmType = temp.alarmType;
- ackState = temp.ackState;
- ackTime = temp.ackTime;
- ackUserId = temp.ackUserId;
- ackSystemId = temp.ackSystemId;
- alarmChangedTime = temp.alarmChangedTime;
-
- systemType = temp.systemType;
- code = temp.probableCauseCode;
- moc = temp.moc;
- componentname = temp.componentname;
- position1 = temp.position1;
- specificproblem = temp.specificproblem;
- additionalText = temp.additionalText;
- break;
- }
- }
-
- var id = alarmId;
- var sOut = '<table class = "detailTable" width = 900>';
- sOut += '<tr><td class = "detailTitleStyle" width = 80><span class = "label label-primary">' + columns[0].columnTitle + '</span></td><td class = "detailCellStyle" width = 160>' + alarmId + '</td>';
- sOut += '<td class = "detailTitleStyle" width = 80><span class = "label label-primary">' + columns[4].columnTitle + '</span></td><td class = "detailCellStyle" width = 160>' + perceivedSeverity + '</td>';
- sOut += '<td class = "detailTitleStyle" width = 80><span class = "label label-primary">' + columns[9].columnTitle + '</span></td><td class = "detailCellStyle" width = 160>' + alarmType + '</td>';
- sOut += '<td class = "detailTitleStyle" width = 80><span class = "label label-primary">' + columns[3].columnTitle + '</span></td><td class = "detailCellStyle" width = 160>' + alarmRaisedTime + '</td></tr>';
-
- sOut += '<tr><td class = "detailTitleStyle"><span class = "label label-primary">' + columns[5].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + probableCauseDesc + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "label label-primary">' + columns[15].columnTitle + '</span></td><td class = "detailCellStyle">' + alarmChangedTime + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "label label-primary">' + columns[11].columnTitle + '</span></td><td class = "detailCellStyle">' + ackState + '</td></tr>';
-
- sOut += '<tr><td class = "detailTitleStyle"><span class = "label label-primary">' + columns[12].columnTitle + '</span></td><td class = "detailCellStyle">' + ackTime + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "label label-primary">' + columns[13].columnTitle + '</span></td><td class = "detailCellStyle">' + ackUserId + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "label label-primary">' + columns[14].columnTitle + '</span></td><td class = "detailCellStyle">' + ackSystemId + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "label label-primary">' + columns[7].columnTitle + '</span></td><td class = "detailCellStyle">' + neip + '</td></tr>';
-
- sOut += '<tr><td class = "detailTitleStyle"><span class = "label label-primary">' + columns[2].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + moc + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "label label-primary">' + columns[1].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + resDisplayName + '</td></tr>';
-
- sOut += '<tr><td class = "detailTitleStyle"><span class = "label label-primary">' + columns[8].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + componentname + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "label label-primary">' + columns[16].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + position1 + '</td></tr>';
-
- sOut += '<tr><td class = "detailTitleStyle"><span class = "label label-primary">' + columns[10].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 7>' + specificproblem + '</td></tr>';
-
- sOut += '<tr><td class = "detailTitleStyle"><span class = "label label-primary">' + columns[6].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 7>' + additionalText + '</td></tr>';
-
- sOut += '<tr><td class = "detailTitleStyle"><span class = "label label-primary">' + $.i18n.prop('aos_fm_SuggestionSetting_view_DefaultSuggestionGroupTitle').replace(';', '').replace(/\"/g,'') + '</span></td><td id = "defaulInfo' + id + '" class = "detailCellStyle" colspan = 7>' + '</td></tr>';
-
- sOut += '<tr><td class = "detailTitleStyle"><span class = "label label-primary">' + $.i18n.prop('aos_fm_SuggestionSetting_view_SettingSuggestionGroupTitle').replace(';', '').replace(/\"/g,'') + '</span></td><td id = "customInfo' + id + '" class = "detailCellStyle" colspan = 7><td align="right"><button id = "customInfoModify' + id + '" class="btn-toolbar" type="button"><span id = "modifyBtnSpan' + id + '"class="fa fa-pencil-square-o"></span></button></td><td id="cancelDiv' + id + '"></td></td></tr>';
-
- sOut += '</table>';
-
- /*
- var systemType = 0;
- var code = 0;
- for (var i = 0; i < oTable.datas.length; i++) {
- var temp = oTable.datas[i];
- if (temp.alarmId == oTr['alarmId'].value) {
- systemType = temp.systemType;
- code = temp.probableCauseCode;
- }
- }*/
- var data = {
- "systemType" : systemType,
- "code" : code
- };
- var sendData = JSON.stringify(data);
- $.ajax({
- "dataType" : 'json',
- "type" : "GET",
- "url" : "/web/rest/web/fm/Maintenance" + "?" + "data=" + sendData,
- "contentType" : 'application/json; charset=utf-8',
- "data" : null,
- "success" : function (json) {
- $('tr').find('td#defaulInfo' + id).text(json.defaulInfo);
- $('tr').find('td#customInfo' + id).text(json.customInfo);
- var modify = $('#customInfoModify' + id);
- modify.on('click', function () {
- var span = $('#modifyBtnSpan' + id);
- var customInfo = $('tr').find('td#customInfo' + id);
- var cancel = $('#cancelDiv' + id);
- if (span['0'].className === 'fa fa-pencil-square-o') {
- var value = customInfo['0'].textContent;
- customInfo['0'].textContent = '';
- customInfo['0'].innerHTML = '<textarea id="customInfoInput' + id + '" type="textarea" cols=100 rows=4>' + value + '</textarea>';
- span['0'].className = 'fa fa-floppy-o';
- cancel['0'].innerHTML = '<button id = "cancelBtn' + id + '" class="btn-toolbar" type="button"><span class="fa fa-sign-out"></span></button>';
- $('#cancelBtn' + id).on('click', function () {
- customInfo['0'].innerHTML = '';
- customInfo['0'].textContent = value;
- cancel['0'].innerHTML = '';
- span['0'].className = 'fa fa-pencil-square-o';
- });
- } else {
- var inputValue = $('#customInfoInput' + id)['0'].value;
- customInfo['0'].innerHTML = '';
- customInfo['0'].textContent = inputValue;
- span['0'].className = 'fa fa-pencil-square-o';
- cancel['0'].innerHTML = '';
- var modifyData = {
- "systemType" : systemType,
- "code" : code,
- "defaulInfo" : json.defaulInfo,
- "customInfo" : inputValue
- };
- $.ajax({
- "dataType" : 'json',
- "type" : "PUT",
- "url" : "/web/rest/web/fm/Maintenance",
- "contentType" : 'application/json; charset=utf-8',
- "data" : JSON.stringify(modifyData),
- "error" : function () {
- alert('Modify Error!');
- }
- });
- }
- });
- },
- "error" : function () {
- alert('Communication Error!');
- }
- });
-
- return sOut;
- }
-
- var generateColumns = function(columns, openRowFlag, rowCheckable){
- var $tableData = $('table#datatable_ajax' + contextData.curentDatableId);
- var theadTR = $('thead > tr', $tableData);
- if(rowCheckable){
- theadTR.append('<th><input type="checkbox" class="group-checkable"></th>');
- }
- if(openRowFlag){
- theadTR.append('<th>&nbsp;&nbsp;</th>');
- }
- for(var i=0;i<columns.length;i++){
- theadTR.append('<TH id="' + columns[i].columnId + '" style="white-space: nowrap;">' + columns[i].columnTitle + '</TH>');
- }
- }
-
- var sortHandling = function(oTable, openRowFlag, rowCheckable){
- var indexSkip = -1;
- if(openRowFlag&&rowCheckable){
- indexSkip = 1;
- }else if(openRowFlag&&!rowCheckable||!openRowFlag&&rowCheckable){
- indexSkip = 0;
- }
- var $sortOrder = 0; //排序类型 1表示升序,0表示降序
- var tableWrapper = $('div.dataTables_wrapper', contextData.wrapperDivContext);
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', tableWrapper);
- var $tableData = $('table#datatable_ajax' + contextData.curentDatableId);
- var clearSort = function(currentTh){
- var ths = $tableHead.find('th').get();
- var tableDataHeadTHs = $tableData.find('th').get();
- $.each( ths, function( index, th ){
- if(index > indexSkip){
- if($(th).text() != currentTh.text()){
- if($(th).is('.sorting_disabled')){
- //do nothing;
- }else if($(th).is('.sorting_asc')){
- $(th).removeClass('sorting_asc').addClass('sorting_disabled');
- $(tableDataHeadTHs[index]).removeClass('sorting_asc').addClass('sorting_disabled');
- }else if($(th).is('.sorting_desc')){
- $(th).removeClass('sorting_desc').addClass('sorting_disabled');
- $(tableDataHeadTHs[index]).removeClass('sorting_desc').addClass('sorting_disabled');
- }
- }
- }
- });
- }
-
- $('th', $tableHead).each(function( column )
- {
- if(column>indexSkip){
- //处理三种有可能存在的排序字段,比较方法
- var findSortKey;
- if( $(this).is('.sort-title') || $(this).is('.sorting_disabled') )
- {
- findSortKey = function( $cell )
- {
- var cellText = $cell.text();
- if(isNaN(cellText)){
- return $cell.text().toUpperCase();
- }else{
- return parseFloat(cellText);
- }
- //return $cell.text().toUpperCase();
- }
- }
- else if( $(this).is('.sort-date') )
- {
- findSortKey = function( $cell )
- {
- return Date.parse('1' + $cell.text());
- }
- }
- else if( $(this).is('.sort-price') )
- {
- findSortKey = function( $cell )
- {
- var key = parseFloat($cell.text().replace(/^[^\d.]*/, ''))
- return isNaN(key) ? 0 : key;
- }
- }
-
- //排序
- if( findSortKey )
- {
- $(this).click(function()
- {
- $sortOrder = $sortOrder == 0 ? 1 : 0;
- var tableDataHeadTHs = $tableData.find('th').get();
-
- if($sortOrder == 1){
- if($(this).is('.sorting_disabled')){
- $(this).removeClass('sorting_disabled').addClass('sorting_asc');
- $(tableDataHeadTHs[column]).removeClass('sorting_disabled').addClass('sorting_asc');
- }else if($(this).is('.sorting_asc')){
- $(this).removeClass('sorting_asc').addClass('sorting_desc');
- $(tableDataHeadTHs[column]).removeClass('sorting_asc').addClass('sorting_desc');
- }else if($(this).is('.sorting_desc')){
- $(this).removeClass('sorting_desc').addClass('sorting_asc');
- $(tableDataHeadTHs[column]).removeClass('sorting_desc').addClass('sorting_asc');
- }
- }else{
- if($(this).is('.sorting_disabled')){
- $(this).removeClass('sorting_disabled').addClass('sorting_desc');
- $(tableDataHeadTHs[column]).removeClass('sorting_disabled').addClass('sorting_desc');
- }else if($(this).is('.sorting_asc')){
- $(this).removeClass('sorting_asc').addClass('sorting_desc');
- $(tableDataHeadTHs[column]).removeClass('sorting_asc').addClass('sorting_desc');
- }else if($(this).is('.sorting_desc')){
- $(this).removeClass('sorting_desc').addClass('sorting_asc');
- $(tableDataHeadTHs[column]).removeClass('sorting_desc').addClass('sorting_asc');
- }
- }
- clearSort($(this));
-
- var rows = $tableData.find('tbody > tr').get();
-
- $.each( rows, function( index, row )
- {
- //先关掉所有行
- if ( oTable.fnIsOpen(row) )
- {
- $(row).find('.row-details').click();
- }
- });
-
- //重新取得所有行,否则排序后表格显示异常
- rows = $tableData.find('tbody > tr').get();
-
- $.each( rows, function( index, row )
- {
- row.sortKey = findSortKey($(row).children('td').eq(column));
- });
- //排序方法
- rows.sort(function( a, b )
- {
- if( $sortOrder == 1 )
- {
- //升序
- if(a.sortKey < b.sortKey) return -1;
- if(a.sortKey > b.sortKey) return 1;
- return 0;
- }
- else
- {
- //降序
- if(a.sortKey < b.sortKey) return 1;
- if(a.sortKey > b.sortKey) return -1;
- return 0;
- }
- });
- //排序后的对象添加给$table
- $.each( rows, function( index, row )
- {
- $tableData.children('tbody').append(row);
- row.sortKey = null;
- });
- });
- }
- }
- });
- }
-
- var handleRecords = function(requestDatas, columns, xsHiddenColumns, smHiddenColumns, oLanguage, openRowFlag, rowCheckable, rowOverFlag, requestURL, requestParameters, tableHeight, columnsTooLong, sTotalRecordsSource, callbackList, totalRecords, requestType) {
-
- /*
- jQuery.getJSON('/web/newict/framework/thirdparty/data-tables/app-universal-i18n-datatable-' + lang + '.json',
- function(data) {
- oLanguage = data;
- });
- */
- grid = DatatableICT();
- grid.setCallbackList(callbackList);
- grid.setContextData(contextData);
- grid.setOpenRowFlag(openRowFlag);
- grid.setRowCheckable(rowCheckable);
- grid.setRowOverFlag(rowOverFlag);
- grid.setColumnsTooLong(columnsTooLong);
- grid.setSTotalRecordsSource(sTotalRecordsSource);
- grid.setTotalRecords(totalRecords);
- grid.setTableHeight(tableHeight);
- grid.setRequestType(requestType);
- //取得查询条件
-// if(!requestStr || requestStr.length == 0){
-// requestStr = JSON.stringify(requestAllData);
-// }
- grid.clearAjaxParams();
- if(requestType == "GET"){
- grid.addAjaxParam('data', JSON.stringify(requestDatas));
- }else{
- grid.addAjaxParam('data', requestDatas);
- }
- //取得其他参数
- for(var i=0;i<requestParameters.length;i++){
- grid.addAjaxParam(requestParameters[i].paraId,requestParameters[i].paraValue);
- }
-
- grid.init({
- src: $("table#datatable_ajax" + contextData.curentDatableId),
- onSuccess: function(grid) {
- // execute some code after table records loaded
- var tableWrapper = $('div#datatable_ajax_wrapper', contextData.wrapperDivContext);
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', tableWrapper);
- var ths = $tableHead.find('th').get();
- var $tableData = $('table#datatable_ajax' + contextData.curentDatableId);
- var tableDataHeadTHs = $tableData.find('th').get();
- $.each( ths, function( index, th ){
- //clear all sort direction
- if($(th).is('.sorting_disabled')){
- //do nothing;
- }else if($(th).is('.sorting_asc')){
- $(th).removeClass('sorting_asc').addClass('sorting_disabled');
- $(tableDataHeadTHs[index]).removeClass('sorting_asc').addClass('sorting_disabled');
- }else if($(th).is('.sorting_desc')){
- $(th).removeClass('sorting_desc').addClass('sorting_disabled');
- $(tableDataHeadTHs[index]).removeClass('sorting_desc').addClass('sorting_disabled');
- }
- });
-
- },
- onError: function(grid) {
- // execute some code on network or other general error
- },
- dataTable: {
- "sDom" : "tr<'row'<'col-md-6 col-sm-12'><'col-md-6 col-sm-12'pli>>", // datatable layout
- "oLanguage": oLanguage,
- //"bAutoWidth": true,
- "sScrollY": tableHeight,
- "bScrollCollapse": true,
- "sScrollX": "100%",
- //"sScrollXInner": "110%",
- "aLengthMenu": [
- [20, 50, 100],
- [20, 50, 100] // change per page values here
- ],
- "iDisplayLength": 100, // default record count per page
- "bServerSide": true, // server side processing
- "sAjaxSource": requestURL // ajax source
- }
- }, columns, xsHiddenColumns, smHiddenColumns, openRowFlag, rowCheckable);
- }
-
- /*
- * Insert a 'details' column to the table
- */
- var insertDetails = function (oTable, columns, rowCheckable) {
-
- var $tableData = $('table#datatable_ajax' + contextData.curentDatableId);
-
- $tableData.on('click', ' tbody td .row-details', function () {
- var nTr = $(this).parents('tr')[0];
- if (oTable.fnIsOpen(nTr)) {
- /* This row is already open - close it */
- $(this).addClass("row-details-close").removeClass("row-details-open");
- oTable.fnClose(nTr);
- } else {
- /* Open this row */
- $(this).addClass("row-details-open").removeClass("row-details-close");
- oTable.fnOpen(nTr, fnFormatDetails(oTable, nTr, columns, rowCheckable), 'details');
- }
- });
- }
-
- return {
-
- //main function to initiate the module
- init: function (requestDatas, lang, configPathPrefix, callbackList, newColumns, totalPage) {
-
- var oLanguage;
- var columns;
- var xsHiddenColumns;
- var smHiddenColumns;
- var columnsAll;
-
- var openRowFlag = false;
- var rowOverFlag = false;
- var rowCheckable = false;
- var requestURL="";
- var requestAllData;
- var requestParameters;
-
- var tableHeight;
- var tableWidth;
-
- var columnsTooLong;
- var sTotalRecordsSource="";
- var totalRecords = 0;
-
- var requestType = "GET";
-
- //取得当前配置及国际化信息
- $.ajax({
- dataType: 'json',
- url: configPathPrefix + '-' + lang + '.json',
- async: false,
- contentType:'application/json; charset=utf-8',
- "success": function(data) {
- oLanguage = data.language;
- columns = data.columns;
- if(newColumns){
- columns = newColumns;
- }
- xsHiddenColumns = data.xsHiddenColumns;
- smHiddenColumns = data.smHiddenColumns;
- columnsAll = data.columnsAll;
- if(newColumns){
- columnsAll = newColumns;
- }
- openRowFlag = data.openRowFlag == 'true'? true: false;
- rowOverFlag = data.rowOverFlag == 'true'? true: false;
- rowCheckable = data.rowCheckable == 'true'? true: false;
- requestURL = data.requestURL;
- //requestAllData = data.requestAllData;
- requestParameters = data.requestParameters;
- tableHeight = data.tableHeight;
- tableWidth = data.tableWidth;
- columnsTooLong = data.columnsTooLong;
- sTotalRecordsSource = data.sTotalRecordsSource;
- if(data.sTotalRecords){ //性能的情况直接指定总行数
- totalRecords = parseInt(data.sTotalRecords);
- }
- if(totalPage){ //可以从参数指定总行数,适用于单独发请求获得总行数的场景
- totalRecords = totalPage;
- }
- if(data.requestType){
- requestType = data.requestType;
- }
- },
- "error" : function (xhr, info) {
- alert('Communication Error! Error reason:' + info);
- }
- });
-
- $('div#dataTableWrapperDiv' + contextData.curentDatableId).css('width', tableWidth);
-
- if(!isContained(xsHiddenColumns, smHiddenColumns) || !isContained(columns, xsHiddenColumns) || !isContained(columnsAll, columns)){
- alert('Columns claim error: (smHiddenColumns <= xsHiddenColumns <= columns <= columnsAll) Please!');
- return;
- }
-
- generateColumns(columns, openRowFlag, rowCheckable);
- //initPickers();
- handleRecords(requestDatas, columns, xsHiddenColumns, smHiddenColumns, oLanguage, openRowFlag, rowCheckable, rowOverFlag, requestURL, requestParameters, tableHeight, columnsTooLong, sTotalRecordsSource, callbackList, totalRecords, requestType);
- //获得初始化完毕的DataTable对象
- var oTable = grid.getDataTable();
- if(openRowFlag){
- insertDetails(oTable, columnsAll, rowCheckable);
- }
- sortHandling(oTable, openRowFlag, rowCheckable);
- //oTable.fnAdjustColumnSizing(true);
- return oTable;
- },
-
- getDataGrid: function(){
- return grid;
- },
-
- setContextData: function(newContextData){
- contextData = newContextData;
- }
-
- };
-
-}();
-
-var addTableElementsId = function(){
-
- var outterDivs = $('div.dataTableWrapperDiv');
- var currentId;
-
- if(outterDivs && outterDivs.length > 0) {
- var maxId = -1;
- var divIdNo;
- $.each(outterDivs, function (index, div) {
- var divId = $(div).attr("id");
- divIdNo = divId.substring(20);
- if (divIdNo || divIdNo.length > 0){
- if (parseInt(divIdNo) > maxId) {
- maxId = parseInt(divIdNo);
- }
- }
- });
- currentId = maxId + 1;
- }
-
- var curentDatableId = "_" + currentId;
-
- var dataTableWrapperDiv = $('div#dataTableWrapperDiv');//新添加的outterDiv
- $(dataTableWrapperDiv).attr("id", "dataTableWrapperDiv" + curentDatableId);
- var dataTableWrapperDivContext = dataTableWrapperDiv;
- $('div.table-container', dataTableWrapperDiv).attr("id", "table-container" + curentDatableId);
- $('table#datatable_ajax', dataTableWrapperDiv).attr("id", "datatable_ajax" + curentDatableId);
- $('div#divOverlay', dataTableWrapperDiv).attr("id", "divOverlay" + curentDatableId);
- //$('div#buttonConfirm', dataTableWrapperDiv).attr("id", "buttonConfirm" + curentDatableId);
- //$('div#buttonUnConfirm', dataTableWrapperDiv).attr("id", "buttonUnConfirm" + curentDatableId);
- $('div#myModal', dataTableWrapperDiv).attr("id", "myModal" + curentDatableId);
- $('div#myModalConfirm', dataTableWrapperDiv).attr("id", "myModalConfirm" + curentDatableId);
- $('span#alarm_number', dataTableWrapperDiv).attr("id", "alarm_number" + curentDatableId);
-
- return {
- "curentDatableId": curentDatableId,
- "wrapperDivContext":dataTableWrapperDivContext
- }
-}
-
-var DataTableICT = function(requestDatas, tableDivId, tableDivPath, configPathPrefix, callbackList, newColumns, totalPage){
-
- /* var requestStr = "";
- if(datas){
- requestStr = JSON.stringify(datas);
- } */
-
- var lang = getLanguage();
- //lang = 'en-US';
-
- /**取得表格组件所需html片段 **/
- /*jQuery('div#' + tableDivId).load(tableDivPath, function() {
- var contextData = addTableElementsId();
- TableAjaxICT.setContextData(contextData);
-
- var lang = getLanguage();
- //lang = 'en-US';
- var oTable = TableAjaxICT.init(requestStr, lang, configPathPrefix);
-
- //重新调节列宽以适应window resize
- $(window).bind('resize', function () {
- //oTable.DataTable.models.oSettings.bAjaxDataGet = false;
- oTable.fnAdjustColumnSizing();
- } );
- });*/
-
- /**同步取得表格组件所需html片段 **/
- $.ajax({
- async : false,
- "dataType" : "html",
- "type" : "GET",
- "url" : tableDivPath,
- "data" : null,
- "success" : function (html, textStatus, jqXHR) {
- $('div#' + tableDivId).html(html);
- },
- "error" : function () {
- alert("Communication error!");
- }
- });
-
- var contextData = addTableElementsId();
- TableAjaxICT.setContextData(contextData);
-
- var oTable = TableAjaxICT.init(requestDatas, lang, configPathPrefix, callbackList, newColumns, totalPage);
-
- //重新调节列宽以适应window resize
- $(window).bind('resize', function () {
- //oTable.DataTable.models.oSettings.bAjaxDataGet = false;
- oTable.fnAdjustColumnSizing();
- } );
-
- return TableAjaxICT.getDataGrid();
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DataTableSmartClient.js b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DataTableSmartClient.js
deleted file mode 100644
index f46c55d8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DataTableSmartClient.js
+++ /dev/null
@@ -1,1215 +0,0 @@
-/***
- Wrapper/Helper Class for datagrid based on jQuery Datatable Plugin
- ***/
-var DatatableICT = function () {
-
- var tableOptions; // main options
- var dataTable; // datatable object
- var table; // actual table jquery object
- var tableContainer; // actual table container object
- var tableWrapper; // actual table wrapper jquery object
- var tableInitialized = false;
- var ajaxParams = []; // set filter mode
- var columns;
- var xsHiddenColumns;
- var smHiddenColumns;
- var columnMaxLength = 30;
- var columnsTooLong;
- var hidden_xs_maxWidth = 768;
- var hidden_sm_maxWidth = 991;
-
- var openRowFlag = false;
- var rowOverFlag = false;
- var rowCheckable = false;
-
- var aTargetsAll;
- var sTotalRecordsSource;
- var tableHeight;
-
- var includedInXsHiddenColumns = function(columnId){
- for(var i=0;i<xsHiddenColumns.length; i++ ){
- var column = xsHiddenColumns[i];
- if(columnId == column.columnId){
- return true;
- }
- }
- return false;
- }
-
- var includedInSmHiddenColumns = function(columnId){
- for(var i=0;i<smHiddenColumns.length; i++ ){
- var column = smHiddenColumns[i];
- if(columnId == column.columnId){
- return true;
- }
- }
- return false;
- }
-
- var countSelectedRecords = function() {
- var selected = $('tbody > tr > td:nth-child(1) input[type="checkbox"]:checked', table).size();
- var text = tableOptions.dataTable.oLanguage.sGroupActions;
- if (selected > 0) {
- $('.table-group-actions > span', tableWrapper).text(text.replace("_TOTAL_", selected));
- } else {
- $('.table-group-actions > span', tableWrapper).text("");
- }
- }
-
- var jsonObjectToArray = function(json, columns, iDraw){
- var jsonToDatatable = {aaData:[], sEcho:iDraw, iTotalRecords:0, iTotalDisplayRecords:0 };
- for(var i=0; i<json.response.data.length; i++){
- jsonToDatatable.aaData[i] = [];
- var resRowObject = json.response.data[i];
- if(rowCheckable){
- jsonToDatatable.aaData[i].push("<input type=\"checkbox\" name=\"id[]\" value=\"1\">");
- }
- if(openRowFlag){
- jsonToDatatable.aaData[i].push("<span class=\"row-details row-details-close\"></span>");
- }
- for(var j=0; j<columns.length; j++){
-
- if($(window).width() >= hidden_xs_maxWidth && $(window).width() < hidden_sm_maxWidth && includedInSmHiddenColumns(columns[j].columnId )){
- /*隐藏pad尺寸需要隐藏的列*/
- }else if($(window).width() < hidden_xs_maxWidth && includedInXsHiddenColumns(columns[j].columnId )){
- /*隐藏手机尺寸需要隐藏的列*/
- }else{
- var currentColumnId = columns[j].columnId;
- if(jQuery.inArray(currentColumnId, columnsTooLong) > -1){
- var rawText = "";
- for(var k=0;k<columnsTooLong.length;k++){
- if(currentColumnId == columnsTooLong[k]){
- rawText = resRowObject[currentColumnId];
- break;
- }
- }
- if(rawText.length > columnMaxLength){
- jsonToDatatable.aaData[i].push(rawText.slice(0, columnMaxLength) + '...');
- }else{
- jsonToDatatable.aaData[i].push(resRowObject[currentColumnId]);
- }
- } else {
- jsonToDatatable.aaData[i].push(resRowObject[currentColumnId]);
- }
-
- }
- }
- }
- jsonToDatatable.sEcho++;
- var totalRow = 0;
- var totalRecordsSource = eval('json.' + sTotalRecordsSource);
- if(totalRecordsSource && totalRecordsSource.length >0){
- totalRow = parseInt(totalRecordsSource);
- }
- if(isNaN(totalRow)){
- alert('All rows counting number got fail!');
- }else{
- jsonToDatatable.iTotalRecords = totalRow;
- jsonToDatatable.iTotalDisplayRecords = totalRow;
- }
- return jsonToDatatable;
- }
-
- var singleAlarmDel = function(divOverlay){
-
- //根据浮动框的当前id获取需要删除的行
- var trId = divOverlay.attr('id_tr');
- tr=$('tr#' + trId);
- var tds = $(tr).children();
- var tdAlarmId = $(tds.eq(2)).text();
-
- var data= {
- "alarmId":[parseInt(tdAlarmId)]
- };
-
- var sSource = "/web/rest/web/fm/curalarms?data=" + JSON.stringify(data) + "&_operationType=remove&_dataSource=isc_PageRestDataSource_0&isc_metaDataPrefix=_&isc_dataFormat=json";
-
- $.ajax( {
- "dataType": 'json',
- "type": "DELETE",
- "url": sSource,
- "data" : null,
- "contentType" : 'application/json; charset=utf-8',
- "success": function(json) {
- if(json.response.status == 0){
- var resRowObject = json.response.data[0];
- //alert('删除成功');
- }
- if(json.response.status == -1){
- //alert('删除失败');
- }
- },
- "error": function() {
- alert('Communication Error!');
- }
- } );
- }
-
- var singleAlarmAckUnAck = function(divOverlay, ackType){
-
- //根据浮动框的当前id获取需要确认的行
- var trId = divOverlay.attr('id_tr');
- var tr = $('tr#' + trId);
-
- //取得隐藏的头部表格的相应行
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable');
- //var trHead = $('tbody > tr:nth-child(' + trId + ')', $tableHead);
- var trHead = $('tr#' + trId.replace('body', 'head'), $tableHead);
- var tdDivs = $('td > div', trHead);
-
- var tds = $(tr).children();
- var tdAlarmId = "";
- if(rowCheckable){
- tdAlarmId = $(tds.eq(2)).text();
- }else{
- tdAlarmId = $(tds.eq(1)).text();
- }
-
- var aoData =
- {
- "dataSource":"isc_PageRestDataSource_0",
- "operationType":"update",
- "componentId":"isc_com_zte_ums_aos_fm_view_eventview_table_AlarmTable_0",
- "data":{
- "viewType":1,
- "state":ackType,
- "alarmId":[
- parseInt(tdAlarmId)
- ]
- },
- "oldValues":null
- };
-
- var sSource = "/web/rest/web/fm/curalarms?isc_dataFormat=json";
-
- $.ajax( {
- "dataType": 'json',
- "type": "PUT",
- "url": sSource,
- "contentType": 'application/json; charset=utf-8',
- "data": JSON.stringify(aoData),
- "success": function(json) {
- json = AlarmLabels.transformFieldNames(json);
- if(json.response.status == 0){
- var resRowObject = json.response.data[0];
- var columnsCopy = $.extend(true, [], columns);
- //隐藏列的情况下需要特殊处理
- if($(window).width()>=hidden_xs_maxWidth && $(window).width()<hidden_sm_maxWidth){
- columnsCopy = [];
- for(var i=0;i<columns.length;i++){
- if(!includedInSmHiddenColumns(columns[i].columnId)){
- columnsCopy.push(columns[i]);
- }
- }
- } else if($(window).width()<hidden_xs_maxWidth){
- columnsCopy = [];
- for(var i=0;i<columns.length;i++){
- if(!includedInXsHiddenColumns(columns[i].columnId)){
- columnsCopy.push(columns[i]);
- }
- }
- }
- var iIndex = 1;
- if(rowCheckable){
- iIndex = 2;
- }
- for(var i=iIndex;i<tds.length && (i-iIndex)<columnsCopy.length;i++){
- var currentColumnId = columnsCopy[i-iIndex].columnId;
- if(jQuery.inArray(currentColumnId, columnsTooLong) > -1) {
- var rawText = "";
- for(var k=0;k<columnsTooLong.length;k++){
- if(currentColumnId == columnsTooLong[k]){
- rawText = resRowObject[currentColumnId];
- break;
- }
- }
- if(rawText.length > columnMaxLength){
- $(tds.eq(i)).html(rawText.slice(0, columnMaxLength) + '...');
- $(tdDivs.eq(i)).html(rawText.slice(0, columnMaxLength) + '...');
- }else{
- $(tds.eq(i)).html(resRowObject[currentColumnId]);
- $(tdDivs.eq(i)).html(resRowObject[currentColumnId]);
- }
- } else {
- $(tds.eq(i)).html(resRowObject[currentColumnId]);
- $(tdDivs.eq(i)).html(resRowObject[currentColumnId]);
- }
- }
- //更新缓存中的当前行数据
- for (var t = 0; t < dataTable.datas.length; t++) {
- var temp = dataTable.datas[t];
- if (temp.alarmId == resRowObject['alarmId']) {
- dataTable.datas[t] = resRowObject;
- break;
- }
- }
- }
- if(json.response.status == -1){
- $('div#myModalConfirm').modal({
- keyboard: false,
- backdrop: 'static'
- });
- $('span#alarm_number').html(tdAlarmId);
- //国际化信息
- if(ackType==1){
- $('span#aos_fm_alarm_opeater_ack_already').html($.i18n.prop('aos_fm_alarm_opeater_ack_already_ok'));
- }else{
- $('span#aos_fm_alarm_opeater_ack_already').html($.i18n.prop('aos_fm_alarm_opeater_ack_already_un'));
- }
- }
- },
- "error": function() {
- alert('Communication Error!');
- }
- } );
- }
-
- var addRowOverlap = function(){
- var $tableData = $('table#datatable_ajax');
- //取得隐藏的头部表格的相应行
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable');
- var trHeads = $tableHead.find('tr').get();
- $.each( trHeads, function( index, trHead ){
- $(trHead).attr('id', 'headTableTR' + index);
- });
- //取得浮动div
- var $divOverlay = $('div#divOverlay');
- var divScrollHead = $('div.dataTables_scrollHead');
- var divRightPadding = $('div#divRightPadding');
- //取表头下边沿位置
- var tableHeadBottomHeight = $(divScrollHead).position().top + $(divScrollHead).height();
- var tableBottom = $tableData.position().top + $tableData.height();
- //取表格右边沿位置
- var tableRightEdgePosition = $(divRightPadding).position().left;
- var trs = $tableData.find('tr').get();
- $.each( trs, function( index, tr ){
- var tdEmpty = $('td.dataTables_empty',tr);
- if(!tdEmpty || tdEmpty.length ==0 ){
- $(tr).attr('id', 'bodyTableTR' + index);
- //$divOverlay.attr('id_tr', 'bodyTableTR' + index);
- $(tr).one('hover', function(){
- var rowPos = $(tr).position();
- var currentTrTop = rowPos.top;
- //var bottomLeft = rowPos.left;
- $divOverlay.attr('id_tr', 'bodyTableTR' + index);
- $divOverlay.css({
- display: 'block',
- position: 'absolute',
- 'background-color': '#e5e5e5',
- //opacity: 0.7,
- border: 'solid 0px',
- top: currentTrTop + 6,
- left: tableRightEdgePosition - 308,
- width: 300,
- height: 30
- });
- //防止浮动框跳出表格内容区域
- if( $divOverlay.position().top < tableHeadBottomHeight || $divOverlay.position().top + $divOverlay.height() > tableBottom){
- $divOverlay.css('display', 'none');
- }
- var buttonConfirm = $('div#buttonConfirm', $divOverlay);
- var buttonUnConfirm = $('div#buttonUnConfirm', $divOverlay);
- $(buttonConfirm).one('click', function(){
- var buttonRoundedTDsConfirm = $(buttonConfirm).find('td.buttonRounded');
- var buttonRoundedTDsUnConfirm = $(buttonUnConfirm).find('td.buttonRoundedDisabled');
- if(buttonRoundedTDsConfirm && buttonRoundedTDsConfirm.length > 0){
- $.each(buttonRoundedTDsConfirm, function(index, td){
- $(td).removeClass('buttonRounded').addClass('buttonRoundedDisabled');
- });
- $.each(buttonRoundedTDsUnConfirm, function(index, td){
- $(td).removeClass('buttonRoundedDisabled').addClass('buttonRounded');
- });
- $divOverlay.css('display', 'none');
- singleAlarmAckUnAck($divOverlay, 1);
- }
- });
- $(buttonUnConfirm).one('click', function(){
- var buttonRoundedTDsUnConfirm = $(buttonUnConfirm).find('td.buttonRounded');
- var buttonRoundedTDsConfirm = $(buttonConfirm).find('td.buttonRoundedDisabled');
- if(buttonRoundedTDsUnConfirm && buttonRoundedTDsUnConfirm.length > 0){
- $.each(buttonRoundedTDsUnConfirm, function(index, td){
- $(td).removeClass('buttonRounded').addClass('buttonRoundedDisabled');
- });
- $.each(buttonRoundedTDsConfirm, function(index, td){
- $(td).removeClass('buttonRoundedDisabled').addClass('buttonRounded');
- });
- $divOverlay.css('display', 'none');
- singleAlarmAckUnAck($divOverlay, 2);
- }
- });
- var buttonDelete = $('div#buttonDelete', $divOverlay);
- $(buttonDelete).die().live('click', function(){
- //弹出删除确认对话框
- $('div#myModal').modal({
- keyboard: false,
- backdrop: 'static'
- });
- $('#delConfirm').die().live('click', function(){
- $divOverlay.css('display', 'none');
- dataTable.fnClose(tr);
- $(tr).remove();
- //删除表头表格的相应行
- $('tr#' + $(tr).attr('id').replace('body', 'head'), $tableHead).remove();
- //删除后端数据
- singleAlarmDel($divOverlay);
- //刷新表格
- dataTable.fnAdjustColumnSizing();
- });
- });
- //展开行的情况隐藏
- $('td.details > table.detailTable').on('hover', function(){
- $divOverlay.css('display', 'none');
- });
- });
- }
- });
- }
-
- return {
-
- //main function to initiate the module
- init: function (options, columnsDefined, xsHiddenColumnsDefined, smHiddenColumnsDefined) {
-
- if (!$().dataTable) {
- return;
- }
-
- var the = this;
-
- //记录需要禁掉默认排序的列
- var aTargets = [];
- var targetsLength = columnsDefined.length;
- if(rowCheckable)targetsLength++;
- if(openRowFlag)targetsLength++;
- for(var i=0;i<targetsLength;i++){
- aTargets.push(i);
- }
- aTargetsAll = aTargets;
-
- // default settings
- options = $.extend(true, {
- src: "", // actual table
- filterApplyAction: "filter",
- filterCancelAction: "filter_cancel",
- resetGroupActionInputOnSuccess: true,
- dataTable: {
- //"sDom" : "<'row'<'col-md-8 col-sm-12'pli><'col-md-4 col-sm-12'<'table-group-actions pull-right'>>r><'table-scrollable't><'row'<'col-md-8 col-sm-12'pli><'col-md-4 col-sm-12'>r>>", // datatable layout
-
- "aoColumnDefs" : [{ // define columns sorting options(by default all columns are sortable extept the first checkbox column)
- 'bSortable' : false,
- 'aTargets' : aTargets
- }],
-
- "bAutoWidth": false, // disable fixed width and enable fluid table
- //"bSortCellsTop": true, // make sortable only the first row in thead
- "sPaginationType": "bootstrap_extended", // pagination type(bootstrap, bootstrap_full_number or bootstrap_extended)
- "bProcessing": true, // enable/disable display message box on record load
- "bServerSide": true, // enable/disable server side ajax loading
- "sAjaxSource": "", // define ajax source URL
- //"sServerMethod": "GET",
-
- // handle ajax request
- "fnServerData": function ( sSource, aoData, fnCallback, oSettings ) {
- //for ICT Paging
- //var startIndex = aoData[3].value;//"iDisplayStart"
- //var pageLength = aoData[4].value;//"iDisplayLength"
- var oPaging = oSettings.oInstance.fnPagingInfo();
- //var startIndex = oPaging.iStart;
- var pageLength = oPaging.iLength;
- var curPageNo = oPaging.iPage + 1;
-
- for(var k=aoData.length-1;k>=0;k--){
- var flag = -1;
- if(aoData[k].name=='pageSize'){
- aoData[k].value=pageLength;
- flag++;
- }
- if(aoData[k].name=='pageNo'){
- aoData[k].value=curPageNo;
- flag++
- }
- if(flag == 1)break;
- }
-
- oSettings.jqXHR = $.ajax( {
- "dataType": 'json',
- "type": "GET",
- "url": sSource,
- "data": aoData,
- "success": function(res, textStatus, jqXHR) {
- if (res.sMessage) {
- ZteFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'});
- }
- if ($('.group-checkable', tableContainer).size() === 1) {
- $('.group-checkable', tableContainer).attr("checked", false);
- $.uniform.update($('.group-checkable', tableContainer));
- }
- if (tableOptions.onSuccess) {
- tableOptions.onSuccess.call(the);
- }
- //保存数据在dataTable对象中给行详细信息面板用
- dataTable.datas = res.response.data;
- if(res.response.status < 0){
- alert(res.response.data);
- return;
- }
-
- //告警字段值转换
- res = AlarmLabels.transformFieldNames(res);
-
- res = jsonObjectToArray(res, columns, oSettings.iDraw);
-
- //重绘表格
- fnCallback(res, textStatus, jqXHR);
- },
- "error": function() {
- if (tableOptions.onError) {
- tableOptions.onError.call(the);
- }
- ZteFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'});
- $('.dataTables_processing', tableWrapper).remove();
- }
- } );
-
- },
-
- // pass additional parameter
- "fnServerParams": function ( aoData ) {
- //here can be added an external ajax request parameters.
- //for(var i in ajaxParams) {
- for(var i=0; i<ajaxParams.length; i++){
- var param = ajaxParams[i];
- aoData.push({"name" : param.name, "value": param.value});
- }
- },
-
- "fnDrawCallback": function( oSettings ) { // run some code on table redraw
- if (tableInitialized === false) { // check if table has been initialized
- tableInitialized = true; // set table initialized
- table.show(); // display table
- }
- ZteFrameWork.initUniform($('input[type="checkbox"]', tableContainer)); // reinitialize uniform checkboxes on each table reload
- countSelectedRecords(); // reset selected records indicator
- //所有td不换行
- $('table#datatable_ajax').find('td').css('white-space', 'nowrap');
-
- //自适应对齐表头
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', tableWrapper);
- var tbodyHead = $('tbody', $tableHead);
- if(tbodyHead && tbodyHead.length >0){
- $(tbodyHead).remove();
- }
-
- var $tableBody = $('table#datatable_ajax', tableWrapper);
- var trIn = $('thead > tr:nth-child(1)', $tableHead);
- var trBodyHead = $('thead > tr:nth-child(1)', $tableBody);
- var tds = $(trIn).children();
- var ths = $(trBodyHead).children();
- for(var k=0;k<tds.length;k++){
- $(ths.eq(k)).html('<div style="height: 0;overflow: hidden;">' + tds.eq(k).html() + '</div>');
- }
- var bodyRows = $('tbody > tr', $tableBody);
- for(var i=0;i<bodyRows.length;i++){
- var rowClone = $(bodyRows.eq(i)).clone();
- var tds = $(rowClone).children();
- for(var j=0;j<tds.length;j++){
- $(tds.eq(j)).html('<div style="height: 0;overflow: hidden;">' + tds.eq(j).html() + '</div>');
- $(tds.eq(j)).height('0px');
- $(tds.eq(j)).css('padding-top','0px');
- $(tds.eq(j)).css('padding-bottom','0px');
- $(tds.eq(j)).css('border-top-width','0px');
- $(tds.eq(j)).css('border-bottom-width','0px');
- }
- $(rowClone).height('0px');
- $tableHead.append($(rowClone).prop("outerHTML"));
- }
-
- $('.dataTables_scrollBody').css('width','100%');
- $('.dataTables_scrollHead').css('width','98.5%');
- $('.dataTables_scrollHeadInner').css('padding-right', 0);
-
- //添加浮动确认反确认按钮
- if(rowOverFlag){
- addRowOverlap();
- }
-
- //设置表格本体高度
- $('div.dataTables_scrollBody').css('height', tableHeight);
- }
- }
- }, options);
-
- tableOptions = options;
-
- columns = columnsDefined;
- xsHiddenColumns = xsHiddenColumnsDefined;
- smHiddenColumns = smHiddenColumnsDefined;
- // create table's jquery object
- table = $(options.src);
- tableContainer = table.parents(".table-container");
- // apply the special class that used to restyle the default datatable
-
- $.fn.dataTableExt.oStdClasses.sWrapper = $.fn.dataTableExt.oStdClasses.sWrapper + " dataTables_extended_wrapper";
-
- // initialize a datatable
- dataTable = table.dataTable(options.dataTable);
-
- tableWrapper = table.parents('.dataTables_wrapper');
-
- // modify table per page dropdown input by appliying some classes
- $('.dataTables_length select', tableWrapper).addClass("form-control input-xsmall input-sm");
-
- // handle group checkboxes check/uncheck
- $('.group-checkable', tableContainer).change(function () {
- var set = $('tbody > tr > td:nth-child(1) input[type="checkbox"]', table);
- var checked = $(this).is(":checked");
- $(set).each(function () {
- $(this).attr("checked", checked);
- });
- $.uniform.update(set);
- countSelectedRecords();
- });
-
- // handle row's checkbox click
- table.on('change', 'tbody > tr > td:nth-child(1) input[type="checkbox"]', function(){
- countSelectedRecords();
- });
-
- //填充表头右边界
- $('.dataTables_scrollHead').css('display','inline-block');
- //var dataTables_scrollHead_height = $('.dataTables_scrollHead').css( "height" );
- $(".dataTables_scrollHead").after("<div id='divRightPadding' style='overflow: hidden; background:#eee; position: relative; float:right; border: 1px solid #ddd; height:" + 38 + "px; width: 1.4%;'></div>");
- if($.browser.mozilla){
- $('#divRightPadding').css('height', '40');
- }
-
- //隐藏掉某些列
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', tableWrapper);
- var $tableBody = $('table#datatable_ajax', tableWrapper);
-
- for(var i=0;i<xsHiddenColumns.length;i++){
- for(var j=0;j<columns.length;j++){
- if(xsHiddenColumns[i].columnId == columns[j].columnId){
- $('thead > tr > th#' + columns[j].columnId, $tableHead).addClass('hidden-xs');
- $('thead > tr > th#' + columns[j].columnId, $tableBody).addClass('hidden-xs');
- break;
- }
- }
- }
-
- for(var i=0;i<smHiddenColumns.length;i++){
- for(var j=0;j<columns.length;j++){
- if(smHiddenColumns[i].columnId == columns[j].columnId){
- $('thead > tr > th#' + columns[j].columnId, $tableHead).addClass('hidden-sm');
- $('thead > tr > th#' + columns[j].columnId, $tableBody).addClass('hidden-sm');
- break;
- }
- }
- }
- },//end init------------------------------------------------------------------------------------
-
- getSelectedRowsCount: function() {
- return $('tbody > tr > td:nth-child(1) input[type="checkbox"]:checked', table).size();
- },
-
- getSelectedRows: function() {
- var rows = [];
- $('tbody > tr > td:nth-child(1) input[type="checkbox"]:checked', table).each(function(){
- rows.push({name: $(this).attr("name"), value: $(this).val()});
- });
-
- return rows;
- },
-
- addAjaxParam: function(name, value) {
- ajaxParams.push({"name": name, "value": value});
- },
-
- clearAjaxParams: function(name, value) {
- ajaxParams = [];
- },
-
- getDataTable: function() {
- return dataTable;
- },
-
- getTableWrapper: function() {
- return tableWrapper;
- },
-
- gettableContainer: function() {
- return tableContainer;
- },
-
- getTable: function() {
- return table;
- },
-
- setOpenRowFlag: function(openRowFlagInput) {
- openRowFlag = openRowFlagInput;
- },
-
- setRowOverFlag: function(rowOverFlagInput) {
- rowOverFlag = rowOverFlagInput;
- },
-
- setRowCheckable: function(rowCheckableInput) {
- rowCheckable = rowCheckableInput;
- },
-
- setColumnsTooLong: function(columnsTooLongInput) {
- columnsTooLong = columnsTooLongInput;
- },
-
- setSTotalRecordsSource: function(sTotalRecordsSourceInput){
- sTotalRecordsSource = sTotalRecordsSourceInput;
- },
-
- setTableHeight: function(tableHeightInput){
- tableHeight = tableHeightInput;
- }
-
- };
-
-};
-
-var TableAjaxICT = function () {
-
- var initPickers = function () {
- //init date pickers
- $('.date-picker').datepicker({
- //rtl: App.isRTL(),
- autoclose: true
- });
- }
-
- //判断a数组是否包含b数组
- function isContained(largeArray, smallArray){
- if(!(largeArray instanceof Array) || !(smallArray instanceof Array))
- return false;
- if(largeArray.length < smallArray.length)
- return false;
- for(var i = 0; i < smallArray.length; i++){
- var flag = false;
- for(j=0;j<largeArray.length;j++){
- if(largeArray[j].columnId == smallArray[i].columnId){
- flag = true;
- break;
- }
- }
- if(flag==false)return false;
- }
- return true;
- }
-
- var grid = new DatatableICT();
-
- /* Formatting function for row details */
- function fnFormatDetails(oTable, nTr, columns, rowCheckable) {
- //取得当前行显示数据
- var tds = $(nTr).children();
- var alarmId="";
- if(rowCheckable){
- alarmId = $(tds.eq(2)).html();
- }else{
- alarmId = $(tds.eq(1)).html();
- }
- //取得当前行完整数据
- var systemType = 0;
- var code = 0;
- //所有字段
- var resDisplayName="";
- var moc="";
- var alarmRaisedTime="";
- var perceivedSeverity="";
- var probableCauseDesc="";
- var neip="";
- var alarmType="";
- var ackState="";
- var ackTime="";
- var ackUserId="";
- var ackSystemId="";
- var alarmChangedTime="";
- var componentname="";
- var position1="";
- var specificproblem="";
- var additionalText="";
- for (var i = 0; i < oTable.datas.length; i++) {
- var temp = oTable.datas[i];
- if (temp.alarmId == alarmId) {
- alarmId = temp.alarmId;
- resDisplayName = temp.resDisplayName;
- alarmRaisedTime = temp.alarmRaisedTime;
- perceivedSeverity = temp.perceivedSeverity;
- probableCauseDesc = temp.probableCauseDesc;
- neip = temp.neip;
- alarmType = temp.alarmType;
- ackState = temp.ackState;
- ackTime = temp.ackTime;
- ackUserId = temp.ackUserId;
- ackSystemId = temp.ackSystemId;
- alarmChangedTime = temp.alarmChangedTime;
-
- systemType = temp.systemType;
- code = temp.probableCauseCode;
- moc = temp.moc;
- componentname = temp.componentname;
- position1 = temp.position1;
- specificproblem = temp.specificproblem;
- additionalText = temp.additionalText;
- break;
- }
- }
-
- var id = alarmId;
- var sOut = '<table class = "detailTable" width = 900>';
- sOut += '<tr class="oddDetailTable"><td class = "detailTitleStyle" width = 80><span class = "labelDetailTable">' + columns[0].columnTitle + '</span></td><td class = "detailCellStyle" width = 160>' + alarmId + '</td>';
- sOut += '<td class = "detailTitleStyle" width = 80><span class = "labelDetailTable">' + columns[4].columnTitle + '</span></td><td class = "detailCellStyle" width = 160>' + perceivedSeverity + '</td>';
- sOut += '<td class = "detailTitleStyle" width = 80><span class = "labelDetailTable">' + columns[9].columnTitle + '</span></td><td class = "detailCellStyle" width = 160>' + alarmType + '</td>';
- sOut += '<td class = "detailTitleStyle" width = 80><span class = "labelDetailTable">' + columns[3].columnTitle + '</span></td><td class = "detailCellStyle" width = 160>' + alarmRaisedTime + '</td></tr>';
-
- sOut += '<tr class="evenDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[5].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + probableCauseDesc + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[15].columnTitle + '</span></td><td class = "detailCellStyle">' + alarmChangedTime + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[11].columnTitle + '</span></td><td class = "detailCellStyle">' + ackState + '</td></tr>';
-
- sOut += '<tr class="oddDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[12].columnTitle + '</span></td><td class = "detailCellStyle">' + ackTime + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[13].columnTitle + '</span></td><td class = "detailCellStyle">' + ackUserId + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[14].columnTitle + '</span></td><td class = "detailCellStyle">' + ackSystemId + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[7].columnTitle + '</span></td><td class = "detailCellStyle">' + neip + '</td></tr>';
-
- sOut += '<tr class="evenDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[2].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + moc + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[1].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + resDisplayName + '</td></tr>';
-
- sOut += '<tr class="oddDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[8].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + componentname + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[16].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + position1 + '</td></tr>';
-
- sOut += '<tr class="evenDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[10].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 7>' + specificproblem + '</td></tr>';
-
- sOut += '<tr class="oddDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[6].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 7>' + additionalText + '</td></tr>';
-
- sOut += '<tr class="evenDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + $.i18n.prop('aos_fm_SuggestionSetting_view_DefaultSuggestionGroupTitle').replace(';', '').replace(/\"/g,'') + '</span></td><td id = "defaulInfo' + id + '" class = "detailCellStyle" colspan = 7>' + '</td></tr>';
-
- sOut += '<tr class="oddDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + $.i18n.prop('aos_fm_SuggestionSetting_view_SettingSuggestionGroupTitle').replace(';', '').replace(/\"/g,'') + '</span></td><td id = "customInfo' + id + '" class = "detailCellStyle" colspan = 7><td align="right"><button id = "customInfoModify' + id + '" class="btn-toolbar" type="button"><span id = "modifyBtnSpan' + id + '"class="fa fa-pencil-square-o"></span></button></td><td id="cancelDiv' + id + '"></td></td></tr>';
-
- sOut += '</table>';
-
- /*
- var systemType = 0;
- var code = 0;
- for (var i = 0; i < oTable.datas.length; i++) {
- var temp = oTable.datas[i];
- if (temp.alarmId == oTr['alarmId'].value) {
- systemType = temp.systemType;
- code = temp.probableCauseCode;
- }
- }*/
- var data = {
- "systemType" : systemType,
- "code" : code
- };
- var sendData = JSON.stringify(data);
- $.ajax({
- "dataType" : 'json',
- "type" : "GET",
- "url" : "/web/rest/web/fm/Maintenance" + "?" + "data=" + sendData,
- "contentType" : 'application/json; charset=utf-8',
- "data" : null,
- "success" : function (json) {
- $('tr').find('td#defaulInfo' + id).text(json.defaulInfo);
- $('tr').find('td#customInfo' + id).text(json.customInfo);
- var modify = $('#customInfoModify' + id);
- modify.on('click', function () {
- var span = $('#modifyBtnSpan' + id);
- var customInfo = $('tr').find('td#customInfo' + id);
- var cancel = $('#cancelDiv' + id);
- if (span['0'].className === 'fa fa-pencil-square-o') {
- var value = customInfo['0'].textContent;
- customInfo['0'].textContent = '';
- customInfo['0'].innerHTML = '<textarea id="customInfoInput' + id + '" type="textarea" cols=100 rows=4>' + value + '</textarea>';
- span['0'].className = 'fa fa-floppy-o';
- cancel['0'].innerHTML = '<button id = "cancelBtn' + id + '" class="btn-toolbar" type="button"><span class="fa fa-sign-out"></span></button>';
- $('#cancelBtn' + id).on('click', function () {
- customInfo['0'].innerHTML = '';
- customInfo['0'].textContent = value;
- cancel['0'].innerHTML = '';
- span['0'].className = 'fa fa-pencil-square-o';
- });
- } else {
- var inputValue = $('#customInfoInput' + id)['0'].value;
- customInfo['0'].innerHTML = '';
- customInfo['0'].textContent = inputValue;
- span['0'].className = 'fa fa-pencil-square-o';
- cancel['0'].innerHTML = '';
- var modifyData = {
- "systemType" : systemType,
- "code" : code,
- "defaulInfo" : json.defaulInfo,
- "customInfo" : inputValue
- };
- $.ajax({
- "dataType" : 'json',
- "type" : "PUT",
- "url" : "/web/rest/web/fm/Maintenance",
- "contentType" : 'application/json; charset=utf-8',
- "data" : JSON.stringify(modifyData),
- "error" : function () {
- alert('Modify Error!');
- }
- });
- }
- });
- },
- "error" : function () {
- alert('Communication Error!');
- }
- });
-
- return sOut;
- }
-
- var generateColumns = function(columns, openRowFlag, rowCheckable){
- var $tableData = $('table#datatable_ajax');
- var theadTR = $('thead > tr', $tableData);
- if(rowCheckable){
- theadTR.append('<th><input type="checkbox" class="group-checkable"></th>');
- }
- if(openRowFlag){
- theadTR.append('<th>&nbsp;&nbsp;</th>');
- }
- for(var i=0;i<columns.length;i++){
- theadTR.append('<TH id="' + columns[i].columnId + '" style="white-space: nowrap;">' + columns[i].columnTitle + '</TH>');
- }
- }
-
- var sortHandling = function(oTable, openRowFlag, rowCheckable){
- var indexSkip = -1;
- if(openRowFlag&&rowCheckable){
- indexSkip = 1;
- }else if(openRowFlag&&!rowCheckable||!openRowFlag&&rowCheckable){
- indexSkip = 0;
- }
- var $sortOrder = 0; //排序类型 1表示升序,0表示降序
- var tableWrapper = $('div#datatable_ajax_wrapper');
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', tableWrapper);
- var $tableData = $('table#datatable_ajax');
- var clearSort = function(currentTh){
- var ths = $tableHead.find('th').get();
- var tableDataHeadTHs = $tableData.find('th').get();
- $.each( ths, function( index, th ){
- if(index > indexSkip){
- if($(th).text() != currentTh.text()){
- if($(th).is('.sorting_disabled')){
- //do nothing;
- }else if($(th).is('.sorting_asc')){
- $(th).removeClass('sorting_asc').addClass('sorting_disabled');
- $(tableDataHeadTHs[index]).removeClass('sorting_asc').addClass('sorting_disabled');
- }else if($(th).is('.sorting_desc')){
- $(th).removeClass('sorting_desc').addClass('sorting_disabled');
- $(tableDataHeadTHs[index]).removeClass('sorting_desc').addClass('sorting_disabled');
- }
- }
- }
- });
- }
-
- $('th', $tableHead).each(function( column )
- {
- if(column>indexSkip){
- //处理三种有可能存在的排序字段,比较方法
- var findSortKey;
- if( $(this).is('.sort-title') || $(this).is('.sorting_disabled') )
- {
- findSortKey = function( $cell )
- {
- var cellText = $cell.text();
- if(isNaN(cellText)){
- return $cell.text().toUpperCase();
- }else{
- return parseFloat(cellText);
- }
- //return $cell.text().toUpperCase();
- }
- }
- else if( $(this).is('.sort-date') )
- {
- findSortKey = function( $cell )
- {
- return Date.parse('1' + $cell.text());
- }
- }
- else if( $(this).is('.sort-price') )
- {
- findSortKey = function( $cell )
- {
- var key = parseFloat($cell.text().replace(/^[^\d.]*/, ''))
- return isNaN(key) ? 0 : key;
- }
- }
-
- //排序
- if( findSortKey )
- {
- $(this).click(function()
- {
- $sortOrder = $sortOrder == 0 ? 1 : 0;
- var tableDataHeadTHs = $tableData.find('th').get();
-
- if($sortOrder == 1){
- if($(this).is('.sorting_disabled')){
- $(this).removeClass('sorting_disabled').addClass('sorting_asc');
- $(tableDataHeadTHs[column]).removeClass('sorting_disabled').addClass('sorting_asc');
- }else if($(this).is('.sorting_asc')){
- $(this).removeClass('sorting_asc').addClass('sorting_desc');
- $(tableDataHeadTHs[column]).removeClass('sorting_asc').addClass('sorting_desc');
- }else if($(this).is('.sorting_desc')){
- $(this).removeClass('sorting_desc').addClass('sorting_asc');
- $(tableDataHeadTHs[column]).removeClass('sorting_desc').addClass('sorting_asc');
- }
- }else{
- if($(this).is('.sorting_disabled')){
- $(this).removeClass('sorting_disabled').addClass('sorting_desc');
- $(tableDataHeadTHs[column]).removeClass('sorting_disabled').addClass('sorting_desc');
- }else if($(this).is('.sorting_asc')){
- $(this).removeClass('sorting_asc').addClass('sorting_desc');
- $(tableDataHeadTHs[column]).removeClass('sorting_asc').addClass('sorting_desc');
- }else if($(this).is('.sorting_desc')){
- $(this).removeClass('sorting_desc').addClass('sorting_asc');
- $(tableDataHeadTHs[column]).removeClass('sorting_desc').addClass('sorting_asc');
- }
- }
- clearSort($(this));
-
- var rows = $tableData.find('tbody > tr').get();
-
- $.each( rows, function( index, row )
- {
- //先关掉所有行
- if ( oTable.fnIsOpen(row) )
- {
- $(row).find('.row-details').click();
- }
- });
-
- //重新取得所有行,否则排序后表格显示异常
- rows = $tableData.find('tbody > tr').get();
-
- $.each( rows, function( index, row )
- {
- row.sortKey = findSortKey($(row).children('td').eq(column));
- });
- //排序方法
- rows.sort(function( a, b )
- {
- if( $sortOrder == 1 )
- {
- //升序
- if(a.sortKey < b.sortKey) return -1;
- if(a.sortKey > b.sortKey) return 1;
- return 0;
- }
- else
- {
- //降序
- if(a.sortKey < b.sortKey) return 1;
- if(a.sortKey > b.sortKey) return -1;
- return 0;
- }
- });
- //排序后的对象添加给$table
- $.each( rows, function( index, row )
- {
- $tableData.children('tbody').append(row);
- row.sortKey = null;
- });
- });
- }
- }
- });
- }
-
- var handleRecords = function(requestStr, columns, xsHiddenColumns, smHiddenColumns, oLanguage, openRowFlag, rowCheckable, rowOverFlag, requestURL, requestParameters, tableHeight, columnsTooLong, sTotalRecordsSource) {
-
- /*
- jQuery.getJSON('/web/newict/framework/thirdparty/data-tables/app-universal-i18n-datatable-' + lang + '.json',
- function(data) {
- oLanguage = data;
- });
- */
- grid.setOpenRowFlag(openRowFlag);
- grid.setRowCheckable(rowCheckable);
- grid.setRowOverFlag(rowOverFlag);
- grid.setColumnsTooLong(columnsTooLong);
- grid.setSTotalRecordsSource(sTotalRecordsSource);
- grid.setTableHeight(tableHeight);
- //取得查询条件
-// if(!requestStr || requestStr.length == 0){
-// requestStr = JSON.stringify(requestAllData);
-// }
- grid.clearAjaxParams();
- grid.addAjaxParam('data', requestStr);
- //取得其他参数
- for(var i=0;i<requestParameters.length;i++){
- grid.addAjaxParam(requestParameters[i].paraId,requestParameters[i].paraValue);
- }
-
- grid.init({
- src: $("#datatable_ajax"),
- onSuccess: function(grid) {
- // execute some code after table records loaded
- var tableWrapper = $('div#datatable_ajax_wrapper');
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', tableWrapper);
- var ths = $tableHead.find('th').get();
- var $tableData = $('table#datatable_ajax');
- var tableDataHeadTHs = $tableData.find('th').get();
- $.each( ths, function( index, th ){
- //clear all sort direction
- if($(th).is('.sorting_disabled')){
- //do nothing;
- }else if($(th).is('.sorting_asc')){
- $(th).removeClass('sorting_asc').addClass('sorting_disabled');
- $(tableDataHeadTHs[index]).removeClass('sorting_asc').addClass('sorting_disabled');
- }else if($(th).is('.sorting_desc')){
- $(th).removeClass('sorting_desc').addClass('sorting_disabled');
- $(tableDataHeadTHs[index]).removeClass('sorting_desc').addClass('sorting_disabled');
- }
- });
-
- },
- onError: function(grid) {
- // execute some code on network or other general error
- },
- dataTable: {
- "sDom" : "tr<'row'<'col-md-6 col-sm-12'><'col-md-6 col-sm-12'pli>>", // datatable layout
- "oLanguage": oLanguage,
- //"bAutoWidth": true,
- "sScrollY": tableHeight,
- "bScrollCollapse": true,
- "sScrollX": "100%",
- //"sScrollXInner": "110%",
- "aLengthMenu": [
- [20, 50, 100],
- [20, 50, 100] // change per page values here
- ],
- "iDisplayLength": 20, // default record count per page
- "bServerSide": true, // server side processing
- "sAjaxSource": requestURL // ajax source
- }
- }, columns, xsHiddenColumns, smHiddenColumns, openRowFlag, rowCheckable);
- }
-
- /*
- * Insert a 'details' column to the table
- */
- var insertDetails = function (oTable, columns, rowCheckable) {
-
- var $tableData = $('table#datatable_ajax');
-
- $tableData.on('click', ' tbody td .row-details', function () {
- var nTr = $(this).parents('tr')[0];
- if (oTable.fnIsOpen(nTr)) {
- /* This row is already open - close it */
- $(this).addClass("row-details-close").removeClass("row-details-open");
- oTable.fnClose(nTr);
- } else {
- /* Open this row */
- $(this).addClass("row-details-open").removeClass("row-details-close");
- oTable.fnOpen(nTr, fnFormatDetails(oTable, nTr, columns, rowCheckable), 'details');
- }
- });
- }
-
- return {
-
- //main function to initiate the module
- init: function (requestStr, lang, configPathPrefix) {
-
- var oLanguage;
- var columns;
- var xsHiddenColumns;
- var smHiddenColumns;
- var columnsAll;
-
- var openRowFlag = false;
- var rowOverFlag = false;
- var rowCheckable = false;
- var requestURL="";
- var requestAllData;
- var requestParameters;
-
- var tableHeight;
- var tableWidth;
-
- var columnsTooLong;
- var sTotalRecordsSource="";
-
- //取得当前配置及国际化信息
- $.ajax({
- dataType: 'json',
- url: configPathPrefix + '-' + lang + '.json',
- async: false,
- contentType:'application/json; charset=utf-8',
- "success": function(data) {
- oLanguage = data.language;
- columns = data.columns;
- xsHiddenColumns = data.xsHiddenColumns;
- smHiddenColumns = data.smHiddenColumns;
- columnsAll = data.columnsAll;
- openRowFlag = data.openRowFlag == 'true'? true: false;
- rowOverFlag = data.rowOverFlag == 'true'? true: false;
- rowCheckable = data.rowCheckable == 'true'? true: false;
- requestURL = data.requestURL;
- //requestAllData = data.requestAllData;
- requestParameters = data.requestParameters;
- tableHeight = data.tableHeight;
- tableWidth = data.tableWidth;
- columnsTooLong = data.columnsTooLong;
- sTotalRecordsSource = data.sTotalRecordsSource;
- },
- "error" : function (xhr, info) {
- alert('Communication Error! Error reason:' + info);
- }
- });
-
- $('#dataTableWrapperDiv').css('width', tableWidth);
-
- if(!isContained(xsHiddenColumns, smHiddenColumns) || !isContained(columns, xsHiddenColumns) || !isContained(columnsAll, columns)){
- alert('Columns claim error: (smHiddenColumns <= xsHiddenColumns <= columns <= columnsAll) Please!');
- return;
- }
-
- generateColumns(columns, openRowFlag, rowCheckable);
- //initPickers();
- handleRecords(requestStr, columns, xsHiddenColumns, smHiddenColumns, oLanguage, openRowFlag, rowCheckable, rowOverFlag, requestURL, requestParameters, tableHeight, columnsTooLong, sTotalRecordsSource);
- //获得初始化完毕的DataTable对象
- var oTable = grid.getDataTable();
- if(openRowFlag){
- insertDetails(oTable, columnsAll, rowCheckable);
- }
- sortHandling(oTable, openRowFlag, rowCheckable);
- //oTable.fnAdjustColumnSizing(true);
- return oTable;
- }
-
- };
-
-}();
-
-var DataTableSmartClient = function(datas, configPathPrefix){
-
- var requestStr = "";
- if(datas){
- requestStr = JSON.stringify(datas);
- }
-
- var lang = getLanguage();
- //lang = 'en-US';
- loadi18n_FM(lang);
- //requestStr = "";
- var oTable = TableAjaxICT.init(requestStr, lang, configPathPrefix);
-
- //重新调节列宽以适应window resize
- $(window).one('resize', function () {
- //oTable.DataTable.models.oSettings.bAjaxDataGet = false;
- oTable.fnAdjustColumnSizing(false);
- } );
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DataTableSmartClientApp.js b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DataTableSmartClientApp.js
deleted file mode 100644
index ef0ef7d0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/DataTableSmartClientApp.js
+++ /dev/null
@@ -1,1312 +0,0 @@
-/***
- Wrapper/Helper Class for datagrid based on jQuery Datatable Plugin
- ***/
-var DatatableICT = function () {
-
- var tableOptions; // main options
- var dataTable; // datatable object
- var table; // actual table jquery object
- var tableContainer; // actual table container object
- var tableWrapper; // actual table wrapper jquery object
- var tableInitialized = false;
- var ajaxParams = []; // set filter mode
- var columns;
- var xsHiddenColumns;
- var smHiddenColumns;
- var columnMaxLength = 30;
- var columnsTooLong;
- var hidden_xs_maxWidth = 768;
- var hidden_sm_maxWidth = 991;
-
- var openRowFlag = false;
- var rowOverFlag = false;
- var rowCheckable = false;
-
- var aTargetsAll;
- var sTotalRecordsSource;
- var tableHeight;
-
- var callbackList = [];
-
- var includedInXsHiddenColumns = function(columnId){
- for(var i=0;i<xsHiddenColumns.length; i++ ){
- var column = xsHiddenColumns[i];
- if(columnId == column.columnId){
- return true;
- }
- }
- return false;
- }
-
- var includedInSmHiddenColumns = function(columnId){
- for(var i=0;i<smHiddenColumns.length; i++ ){
- var column = smHiddenColumns[i];
- if(columnId == column.columnId){
- return true;
- }
- }
- return false;
- }
-
- var countSelectedRecords = function() {
- var selected = $('tbody > tr > td:nth-child(1) input[type="checkbox"]:checked', table).size();
- var text = tableOptions.dataTable.oLanguage.sGroupActions;
- if (selected > 0) {
- $('.table-group-actions > span', tableWrapper).text(text.replace("_TOTAL_", selected));
- } else {
- $('.table-group-actions > span', tableWrapper).text("");
- }
- }
-
- var jsonObjectToArray = function(json, columns, iDraw){
- var jsonToDatatable = {aaData:[], sEcho:iDraw, iTotalRecords:0, iTotalDisplayRecords:0 };
- for(var i=0; i<json.response.data.length; i++){
- jsonToDatatable.aaData[i] = [];
- var resRowObject = json.response.data[i];
- if(rowCheckable){
- jsonToDatatable.aaData[i].push("<input type=\"checkbox\" name=\"id[]\" value=\"1\">");
- }
- if(openRowFlag){
- jsonToDatatable.aaData[i].push("<span class=\"row-details row-details-close\"></span>");
- }
- for(var j=0; j<columns.length; j++){
-
- if($(window).width() >= hidden_xs_maxWidth && $(window).width() < hidden_sm_maxWidth && includedInSmHiddenColumns(columns[j].columnId )){
- /*隐藏pad尺寸需要隐藏的列*/
- }else if($(window).width() < hidden_xs_maxWidth && includedInXsHiddenColumns(columns[j].columnId )){
- /*隐藏手机尺寸需要隐藏的列*/
- }else{
- var currentColumnId = columns[j].columnId;
- if(jQuery.inArray(currentColumnId, columnsTooLong) > -1){
- var rawText = "";
- for(var k=0;k<columnsTooLong.length;k++){
- if(currentColumnId == columnsTooLong[k]){
- rawText = resRowObject[currentColumnId];
- break;
- }
- }
- if(rawText.length > columnMaxLength){
- jsonToDatatable.aaData[i].push(rawText.slice(0, columnMaxLength) + '...');
- }else{
- jsonToDatatable.aaData[i].push(resRowObject[currentColumnId]);
- }
- } else {
- jsonToDatatable.aaData[i].push(resRowObject[currentColumnId]);
- }
-
- }
- }
- }
- jsonToDatatable.sEcho++;
- var totalRow = 0;
- var totalRecordsSource = eval('json.' + sTotalRecordsSource);
- if(totalRecordsSource && totalRecordsSource.length >0){
- totalRow = parseInt(totalRecordsSource);
- }
- if(isNaN(totalRow)){
- alert('All rows counting number got fail!');
- }else{
- jsonToDatatable.iTotalRecords = totalRow;
- jsonToDatatable.iTotalDisplayRecords = totalRow;
- }
- return jsonToDatatable;
- }
-
- var singleAlarmDel = function(divOverlay){
-
- //根据浮动框的当前id获取需要删除的行
- var trId = divOverlay.attr('id_tr');
- tr=$('tr#' + trId);
- var tds = $(tr).children();
- var tdAlarmId = "";
- if(rowCheckable){
- tdAlarmId = $(tds.eq(2)).text();
- }else{
- tdAlarmId = $(tds.eq(1)).text();
- }
-
- var data= {
- "alarmId":[parseInt(tdAlarmId)]
- };
-
- var sSource = "/web/rest/web/fm/curalarms?data=" + JSON.stringify(data) + "&_operationType=remove&_dataSource=isc_PageRestDataSource_0&isc_metaDataPrefix=_&isc_dataFormat=json";
-
- $.ajax( {
- "dataType": 'json',
- "type": "DELETE",
- "url": sSource,
- "data" : null,
- "contentType" : 'application/json; charset=utf-8',
- "success": function(json) {
- if(json.response.status == 0){
- var resRowObject = json.response.data[0];
- //alert('删除成功');
- }
- if(json.response.status == -1){
- //alert('删除失败');
- }
- },
- "error": function() {
- alert('Communication Error!');
- }
- } );
- }
-
- var singleAlarmAckUnAck = function(divOverlay, ackType){
-
- //根据浮动框的当前id获取需要确认的行
- var trId = divOverlay.attr('id_tr');
- var tr = $('tr#' + trId);
-
- //取得隐藏的头部表格的相应行
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable');
- //var trHead = $('tbody > tr:nth-child(' + trId + ')', $tableHead);
- var trHead = $('tr#' + trId.replace('body', 'head'), $tableHead);
- var tdDivs = $('td > div', trHead);
-
- var tds = $(tr).children();
- var tdAlarmId = "";
- if(rowCheckable){
- tdAlarmId = $(tds.eq(2)).text();
- }else{
- tdAlarmId = $(tds.eq(1)).text();
- }
-
- var aoData =
- {
- "dataSource":"isc_PageRestDataSource_0",
- "operationType":"update",
- "componentId":"isc_com_zte_ums_aos_fm_view_eventview_table_AlarmTable_0",
- "data":{
- "viewType":1,
- "state":ackType,
- "alarmId":[
- parseInt(tdAlarmId)
- ]
- },
- "oldValues":null
- };
-
- var sSource = "/web/rest/web/fm/curalarms?isc_dataFormat=json";
-
- $.ajax( {
- "dataType": 'json',
- "type": "PUT",
- "url": sSource,
- "contentType": 'application/json; charset=utf-8',
- "data": JSON.stringify(aoData),
- "success": function(json) {
- /*for(var i=0;i<callbackList.length;i++){
- if(getFnName(callbackList[i]).indexOf("transformFieldNames")>0){
- json = callbackList[i](json);
- break;
- }
- }*/
- //json = AlarmLabels.transformFieldNames(json);
- if(callbackList[1]){
- json = callbackList[1](json);
- }
- if(json.response.status == 0){
- var resRowObject = json.response.data[0];
- var columnsCopy = $.extend(true, [], columns);
- //隐藏列的情况下需要特殊处理
- if($(window).width()>=hidden_xs_maxWidth && $(window).width()<hidden_sm_maxWidth){
- columnsCopy = [];
- for(var i=0;i<columns.length;i++){
- if(!includedInSmHiddenColumns(columns[i].columnId)){
- columnsCopy.push(columns[i]);
- }
- }
- } else if($(window).width()<hidden_xs_maxWidth){
- columnsCopy = [];
- for(var i=0;i<columns.length;i++){
- if(!includedInXsHiddenColumns(columns[i].columnId)){
- columnsCopy.push(columns[i]);
- }
- }
- }
- var iIndex = 1;
- if(rowCheckable){
- iIndex = 2;
- }
- for(var i=iIndex;i<tds.length && (i-iIndex)<columnsCopy.length;i++){
- var currentColumnId = columnsCopy[i-iIndex].columnId;
- if(jQuery.inArray(currentColumnId, columnsTooLong) > -1) {
- var rawText = "";
- for(var k=0;k<columnsTooLong.length;k++){
- if(currentColumnId == columnsTooLong[k]){
- rawText = resRowObject[currentColumnId];
- break;
- }
- }
- if(rawText.length > columnMaxLength){
- $(tds.eq(i)).html(rawText.slice(0, columnMaxLength) + '...');
- $(tdDivs.eq(i)).html(rawText.slice(0, columnMaxLength) + '...');
- }else{
- $(tds.eq(i)).html(resRowObject[currentColumnId]);
- $(tdDivs.eq(i)).html(resRowObject[currentColumnId]);
- }
- } else {
- $(tds.eq(i)).html(resRowObject[currentColumnId]);
- $(tdDivs.eq(i)).html(resRowObject[currentColumnId]);
- }
- }
- //更新缓存中的当前行数据
- for (var t = 0; t < dataTable.datas.length; t++) {
- var temp = dataTable.datas[t];
- if (temp.alarmId == resRowObject['alarmId']) {
- dataTable.datas[t] = resRowObject;
- break;
- }
- }
- }
- if(json.response.status == -1){
- $('div#myModalConfirm').modal({
- keyboard: false,
- backdrop: 'static'
- });
- $('span#alarm_number').html(tdAlarmId);
- //国际化信息
- if(ackType==1){
- $('span#aos_fm_alarm_opeater_ack_already').html($.i18n.prop('aos_fm_alarm_opeater_ack_already_ok'));
- }else{
- $('span#aos_fm_alarm_opeater_ack_already').html($.i18n.prop('aos_fm_alarm_opeater_ack_already_un'));
- }
- }
- //填充单元格颜色
- var divColor = $("div.cellBackgroundColor", tr);
- $(divColor).parent().css("background", $(divColor).css("background-color"));
- },
- "error": function() {
- alert('Communication Error!');
- }
- } );
- }
-
- var addRowOverlap = function(){
- var $tableData = $('table#datatable_ajax');
- //取得隐藏的头部表格的相应行
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable');
- var trHeads = $tableHead.find('tr').get();
- $.each( trHeads, function( index, trHead ){
- $(trHead).attr('id', 'headTableTR' + index);
- });
- //取得浮动div
- var $divOverlay = $('div#divOverlay');
- var divScrollHead = $('div.dataTables_scrollHead');
- var divRightPadding = $('div#divRightPadding');
- //取表头下边沿位置
- var tableHeadBottomHeight = $(divScrollHead).position().top + $(divScrollHead).height();
- var tableBottom = $tableData.position().top + $tableData.height() + 3;
- //取表格右边沿位置
- var tableRightEdgePosition = $(divRightPadding).position().left;
- var trs = $tableData.find('tr').get();
- $.each( trs, function( index, tr ){
- var tdEmpty = $('td.dataTables_empty',tr);
- if(!tdEmpty || tdEmpty.length ==0 ){
- $(tr).attr('id', 'bodyTableTR' + index);
- //$divOverlay.attr('id_tr', 'bodyTableTR' + index);
- $(tr).one('hover', function(){
- var rowPos = $(tr).position();
- var currentTrTop = rowPos.top;
- //var bottomLeft = rowPos.left;
- $divOverlay.attr('id_tr', 'bodyTableTR' + index);
- $divOverlay.css({
- display: 'block',
- position: 'absolute',
- 'background-color': '#e5e5e5',
- //opacity: 0.7,
- border: 'solid 0px',
- top: currentTrTop + 6,
- left: tableRightEdgePosition - 308,
- width: 300,
- height: 30
- });
- //防止浮动框跳出表格内容区域
- if( $divOverlay.position().top < tableHeadBottomHeight || $divOverlay.position().top + $divOverlay.height() > tableBottom){
- $divOverlay.css('display', 'none');
- }
- var buttonConfirm = $('div#buttonConfirm', $divOverlay);
- var buttonUnConfirm = $('div#buttonUnConfirm', $divOverlay);
- //初始化悬浮按钮当前行的确认反确认状态
- if($(tr).find('span.alarmAck') && $(tr).find('span.alarmAck').length >0){
- var spanAck = $(tr).find('span.alarmAck');
- var ackState = $(spanAck).attr('ack_id');
- var buttonTDsConfirm = $(buttonConfirm).find('td');
- var buttonTDsUnConfirm = $(buttonUnConfirm).find('td');
- if(ackState=="2"){
- if(buttonTDsConfirm && buttonTDsConfirm.length > 0 && buttonTDsUnConfirm && buttonTDsUnConfirm.length > 0){
- $.each(buttonTDsConfirm, function(index, td){
- $(td).removeClass('buttonRoundedDisabled').addClass('buttonRounded');
- });
- $.each(buttonTDsUnConfirm, function(index, td){
- $(td).removeClass('buttonRounded').addClass('buttonRoundedDisabled');
- });
- }
- }else{
- if(buttonTDsConfirm && buttonTDsConfirm.length > 0 && buttonTDsUnConfirm && buttonTDsUnConfirm.length > 0){
- $.each(buttonTDsConfirm, function(index, td){
- $(td).removeClass('buttonRounded').addClass('buttonRoundedDisabled');
- });
- $.each(buttonTDsUnConfirm, function(index, td){
- $(td).removeClass('buttonRoundedDisabled').addClass('buttonRounded');
- });
- }
- }
- }
- //添加确认反确认点击事件
- $(buttonConfirm).one('click', function(){
- var buttonRoundedTDsConfirm = $(buttonConfirm).find('td.buttonRounded');
- var buttonRoundedTDsUnConfirm = $(buttonUnConfirm).find('td.buttonRoundedDisabled');
- if(buttonRoundedTDsConfirm && buttonRoundedTDsConfirm.length > 0){
- $.each(buttonRoundedTDsConfirm, function(index, td){
- $(td).removeClass('buttonRounded').addClass('buttonRoundedDisabled');
- });
- $.each(buttonRoundedTDsUnConfirm, function(index, td){
- $(td).removeClass('buttonRoundedDisabled').addClass('buttonRounded');
- });
- $divOverlay.css('display', 'none');
- singleAlarmAckUnAck($divOverlay, 1);
- }
- });
- $(buttonUnConfirm).one('click', function(){
- var buttonRoundedTDsUnConfirm = $(buttonUnConfirm).find('td.buttonRounded');
- var buttonRoundedTDsConfirm = $(buttonConfirm).find('td.buttonRoundedDisabled');
- if(buttonRoundedTDsUnConfirm && buttonRoundedTDsUnConfirm.length > 0){
- $.each(buttonRoundedTDsUnConfirm, function(index, td){
- $(td).removeClass('buttonRounded').addClass('buttonRoundedDisabled');
- });
- $.each(buttonRoundedTDsConfirm, function(index, td){
- $(td).removeClass('buttonRoundedDisabled').addClass('buttonRounded');
- });
- $divOverlay.css('display', 'none');
- singleAlarmAckUnAck($divOverlay, 2);
- }
- });
- var buttonDelete = $('div#buttonDelete', $divOverlay);
- $(buttonDelete).die().live('click', function(){
- $divOverlay.css('display', 'none');
- var trIdToDelete = $divOverlay.attr('id_tr');
- var toDeleteTr=$('tr#' + trIdToDelete);
- $("td", toDeleteTr).addClass('dataTableTdSelected');
- //弹出删除确认对话框
- $('div#myModal').modal({
- keyboard: false,
- backdrop: 'static'
- });
- $('#delConfirm').die().live('click', function(){
- //$divOverlay.css('display', 'none');
- dataTable.fnClose(tr);
- //删除后端数据
- singleAlarmDel($divOverlay);
- //删除当前行
- $(tr).remove();
- //删除表头表格的相应行
- $('tr#' + $(tr).attr('id').replace('body', 'head'), $tableHead).remove();
- //刷新表格
- //dataTable.fnAdjustColumnSizing();
- });
- $('#myModal').on('hidden.bs.modal', function (e) {
- $("td", toDeleteTr).removeClass('dataTableTdSelected');
- })
- });
- //展开行的情况隐藏
- $('td.details > table.detailTable').on('hover', function(){
- $divOverlay.css('display', 'none');
- });
- $('div#myModal').on('hover', function(){
- $divOverlay.css('display', 'none');
- });
- });
- }
- });
- }
-
- return {
-
- //main function to initiate the module
- init: function (options, columnsDefined, xsHiddenColumnsDefined, smHiddenColumnsDefined) {
-
- if (!$().dataTable) {
- return;
- }
-
- var the = this;
-
- //记录需要禁掉默认排序的列
- var aTargets = [];
- var targetsLength = columnsDefined.length;
- if(rowCheckable)targetsLength++;
- if(openRowFlag)targetsLength++;
- for(var i=0;i<targetsLength;i++){
- aTargets.push(i);
- }
- aTargetsAll = aTargets;
-
- // default settings
- options = $.extend(true, {
- src: "", // actual table
- filterApplyAction: "filter",
- filterCancelAction: "filter_cancel",
- resetGroupActionInputOnSuccess: true,
- dataTable: {
- //"sDom" : "<'row'<'col-md-8 col-sm-12'pli><'col-md-4 col-sm-12'<'table-group-actions pull-right'>>r><'table-scrollable't><'row'<'col-md-8 col-sm-12'pli><'col-md-4 col-sm-12'>r>>", // datatable layout
-
- "aoColumnDefs" : [{ // define columns sorting options(by default all columns are sortable extept the first checkbox column)
- 'bSortable' : false,
- 'aTargets' : aTargets
- }],
-
- "bAutoWidth": false, // disable fixed width and enable fluid table
- //"bSortCellsTop": true, // make sortable only the first row in thead
- "sPaginationType": "bootstrap_extended", // pagination type(bootstrap, bootstrap_full_number or bootstrap_extended)
- "bProcessing": true, // enable/disable display message box on record load
- "bServerSide": true, // enable/disable server side ajax loading
- "sAjaxSource": "", // define ajax source URL
- //"sServerMethod": "GET",
-
- // handle ajax request
- "fnServerData": function ( sSource, aoData, fnCallback, oSettings ) {
- //for ICT Paging
- //var startIndex = aoData[3].value;//"iDisplayStart"
- //var pageLength = aoData[4].value;//"iDisplayLength"
- var oPaging = oSettings.oInstance.fnPagingInfo();
- //var startIndex = oPaging.iStart;
- var pageLength = oPaging.iLength;
- var curPageNo = oPaging.iPage + 1;
-
- for(var k=aoData.length-1;k>=0;k--){
- var flag = -1;
- if(aoData[k].name=='pageSize'){
- aoData[k].value=pageLength;
- flag++;
- }
- if(aoData[k].name=='pageNo'){
- aoData[k].value=curPageNo;
- flag++
- }
- if(flag == 1)break;
- }
-
- oSettings.jqXHR = $.ajax( {
- "dataType": 'json',
- "type": "GET",
- "url": sSource,
- "data": aoData,
- "success": function(res, textStatus, jqXHR) {
- if (res.sMessage) {
- ZteFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'});
- }
- if ($('.group-checkable', tableContainer).size() === 1) {
- $('.group-checkable', tableContainer).attr("checked", false);
- $.uniform.update($('.group-checkable', tableContainer));
- }
- if (tableOptions.onSuccess) {
- tableOptions.onSuccess.call(the);
- }
- //保存数据在dataTable对象中给行详细信息面板用
- dataTable.datas = res.response.data;
- if(res.response.status < 0){
- alert(res.response.data);
- return;
- }
-
- //告警字段值转换
- //res = AlarmLabels.transformFieldNames(res);
- /*for(var i=0;i<callbackList.length;i++){
- if(getFnName(callbackList[i]).indexOf("transformFieldNames")>0){
- res = callbackList[i](res);
- break;
- }
- }*/
- if(callbackList[1]){
- res = callbackList[1](res);
- }
-
- res = jsonObjectToArray(res, columns, oSettings.iDraw);
-
- //重绘表格
- fnCallback(res, textStatus, jqXHR);
- },
- "error": function() {
- if (tableOptions.onError) {
- tableOptions.onError.call(the);
- }
- ZteFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'});
- $('.dataTables_processing', tableWrapper).remove();
- }
- } );
-
- },
-
- // pass additional parameter
- "fnServerParams": function ( aoData ) {
- //here can be added an external ajax request parameters.
- //for(var i in ajaxParams) {
- for(var i=0; i<ajaxParams.length; i++){
- var param = ajaxParams[i];
- aoData.push({"name" : param.name, "value": param.value});
- }
- },
-
- "fnDrawCallback": function( oSettings ) { // run some code on table redraw
- if (tableInitialized === false) { // check if table has been initialized
- tableInitialized = true; // set table initialized
- table.show(); // display table
- }
- ZteFrameWork.initUniform($('input[type="checkbox"]', tableContainer)); // reinitialize uniform checkboxes on each table reload
- countSelectedRecords(); // reset selected records indicator
- //所有td不换行
- $('table#datatable_ajax').find('td').css('white-space', 'nowrap');
-
- //自适应对齐表头
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', tableWrapper);
- var tbodyHead = $('tbody', $tableHead);
- if(tbodyHead && tbodyHead.length >0){
- $(tbodyHead).remove();
- }
-
- var $tableBody = $('table#datatable_ajax', tableWrapper);
- var trIn = $('thead > tr:nth-child(1)', $tableHead);
- var trBodyHead = $('thead > tr:nth-child(1)', $tableBody);
- var tds = $(trIn).children();
- var ths = $(trBodyHead).children();
- for(var k=0;k<tds.length;k++){
- $(ths.eq(k)).html('<div style="height: 0;overflow: hidden;">' + tds.eq(k).html() + '</div>');
- }
- var bodyRows = $('tbody > tr', $tableBody);
- for(var i=0;i<bodyRows.length;i++){
- var rowClone = $(bodyRows.eq(i)).clone();
- var tds = $(rowClone).children();
- for(var j=0;j<tds.length;j++){
- $(tds.eq(j)).html('<div style="height: 0;overflow: hidden;">' + tds.eq(j).html() + '</div>');
- $(tds.eq(j)).height('0px');
- $(tds.eq(j)).css('padding-top','0px');
- $(tds.eq(j)).css('padding-bottom','0px');
- $(tds.eq(j)).css('border-top-width','0px');
- $(tds.eq(j)).css('border-bottom-width','0px');
- }
- $(rowClone).height('0px');
- $tableHead.append($(rowClone).prop("outerHTML"));
- }
-
- $('.dataTables_scrollBody').css('width','100%');
- $('.dataTables_scrollHead').css('width','98.5%');
- $('.dataTables_scrollHeadInner').css('padding-right', 0);
-
- //添加浮动确认反确认按钮
- if(rowOverFlag){
- addRowOverlap();
- }
-
- //填充单元格颜色
- var divColors = $("div.cellBackgroundColor", $tableBody);
- $.each( divColors, function( index, divColor ){
- $(divColor).parent().css("background", $(divColor).css("background-color"));
- });
-
- //设置表格本体高度
- $('div.dataTables_scrollBody').css('height', tableHeight);
- }
- }
- }, options);
-
- tableOptions = options;
-
- columns = columnsDefined;
- xsHiddenColumns = xsHiddenColumnsDefined;
- smHiddenColumns = smHiddenColumnsDefined;
- // create table's jquery object
- table = $(options.src);
- tableContainer = table.parents(".table-container");
- // apply the special class that used to restyle the default datatable
-
- $.fn.dataTableExt.oStdClasses.sWrapper = $.fn.dataTableExt.oStdClasses.sWrapper + " dataTables_extended_wrapper";
-
- // initialize a datatable
- dataTable = table.dataTable(options.dataTable);
-
- tableWrapper = table.parents('.dataTables_wrapper');
-
- // modify table per page dropdown input by appliying some classes
- $('.dataTables_length select', tableWrapper).addClass("form-control input-xsmall input-sm");
-
- // handle group checkboxes check/uncheck
- $('.group-checkable', tableContainer).change(function () {
- var set = $('tbody > tr > td:nth-child(1) input[type="checkbox"]', table);
- var checked = $(this).is(":checked");
- $(set).each(function () {
- $(this).attr("checked", checked);
- });
- $.uniform.update(set);
- countSelectedRecords();
- });
-
- // handle row's checkbox click
- table.on('change', 'tbody > tr > td:nth-child(1) input[type="checkbox"]', function(){
- countSelectedRecords();
- });
-
- //填充表头右边界
- $('.dataTables_scrollHead').css('display','inline-block');
- //var dataTables_scrollHead_height = $('.dataTables_scrollHead').css( "height" );
- $(".dataTables_scrollHead").after("<div id='divRightPadding' style='overflow: hidden; background:#eee; position: relative; float:right; border: 1px solid #ddd; height:" + 38 + "px; width: 1.4%;'></div>");
- if($.browser.mozilla){
- $('#divRightPadding').css('height', '40');
- }
-
- //隐藏掉某些列
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', tableWrapper);
- var $tableBody = $('table#datatable_ajax', tableWrapper);
-
- for(var i=0;i<xsHiddenColumns.length;i++){
- for(var j=0;j<columns.length;j++){
- if(xsHiddenColumns[i].columnId == columns[j].columnId){
- $('thead > tr > th#' + columns[j].columnId, $tableHead).addClass('hidden-xs');
- $('thead > tr > th#' + columns[j].columnId, $tableBody).addClass('hidden-xs');
- break;
- }
- }
- }
-
- for(var i=0;i<smHiddenColumns.length;i++){
- for(var j=0;j<columns.length;j++){
- if(smHiddenColumns[i].columnId == columns[j].columnId){
- $('thead > tr > th#' + columns[j].columnId, $tableHead).addClass('hidden-sm');
- $('thead > tr > th#' + columns[j].columnId, $tableBody).addClass('hidden-sm');
- break;
- }
- }
- }
- },//end init------------------------------------------------------------------------------------
-
- getSelectedRowsCount: function() {
- return $('tbody > tr > td:nth-child(1) input[type="checkbox"]:checked', table).size();
- },
-
- getSelectedRows: function() {
- var rows = [];
- $('tbody > tr > td:nth-child(1) input[type="checkbox"]:checked', table).each(function(){
- rows.push({name: $(this).attr("name"), value: $(this).val()});
- });
-
- return rows;
- },
-
- addAjaxParam: function(name, value) {
- ajaxParams.push({"name": name, "value": value});
- },
-
- clearAjaxParams: function(name, value) {
- ajaxParams = [];
- },
-
- getDataTable: function() {
- return dataTable;
- },
-
- getTableWrapper: function() {
- return tableWrapper;
- },
-
- gettableContainer: function() {
- return tableContainer;
- },
-
- getTable: function() {
- return table;
- },
-
- setOpenRowFlag: function(openRowFlagInput) {
- openRowFlag = openRowFlagInput;
- },
-
- setRowOverFlag: function(rowOverFlagInput) {
- rowOverFlag = rowOverFlagInput;
- },
-
- setRowCheckable: function(rowCheckableInput) {
- rowCheckable = rowCheckableInput;
- },
-
- setColumnsTooLong: function(columnsTooLongInput) {
- columnsTooLong = columnsTooLongInput;
- },
-
- setSTotalRecordsSource: function(sTotalRecordsSourceInput){
- sTotalRecordsSource = sTotalRecordsSourceInput;
- },
-
- setTableHeight: function(tableHeightInput){
- tableHeight = tableHeightInput;
- },
-
- setCallbackList: function(list){
- if($.isArray(list)){
- callbackList = list;
- }
- }
-
- };
-
-};
-
-var TableAjaxICT = function () {
-
- var initPickers = function () {
- //init date pickers
- $('.date-picker').datepicker({
- //rtl: App.isRTL(),
- autoclose: true
- });
- }
-
- //判断a数组是否包含b数组
- function isContained(largeArray, smallArray){
- if(!(largeArray instanceof Array) || !(smallArray instanceof Array))
- return false;
- if(largeArray.length < smallArray.length)
- return false;
- for(var i = 0; i < smallArray.length; i++){
- var flag = false;
- for(j=0;j<largeArray.length;j++){
- if(largeArray[j].columnId == smallArray[i].columnId){
- flag = true;
- break;
- }
- }
- if(flag==false)return false;
- }
- return true;
- }
-
- var grid = new DatatableICT();
-
- var detailTableId = "alarmDetailInfo";
-
- /* Formatting function for row details */
- function fnFormatDetails(oTable, nTr, columns, rowCheckable) {
- //取得当前行显示数据
- var tds = $(nTr).children();
- var alarmId="";
- if(rowCheckable){
- alarmId = $(tds.eq(2)).html();
- }else{
- alarmId = $(tds.eq(1)).html();
- }
- //取得当前行完整数据
- var systemType = 0;
- var code = 0;
- //所有字段
- var resDisplayName="";
- var moc="";
- var alarmRaisedTime="";
- var perceivedSeverity="";
- var probableCauseDesc="";
- var neip="";
- var alarmType="";
- var ackState="";
- var ackTime="";
- var ackUserId="";
- var ackSystemId="";
- var alarmChangedTime="";
- var componentname="";
- var position1="";
- var specificproblem="";
- var additionalText="";
- for (var i = 0; i < oTable.datas.length; i++) {
- var temp = oTable.datas[i];
- if (temp.alarmId == alarmId) {
- alarmId = temp.alarmId;
- resDisplayName = temp.resDisplayName;
- alarmRaisedTime = temp.alarmRaisedTime;
- perceivedSeverity = temp.perceivedSeverity;
- probableCauseDesc = temp.probableCauseDesc;
- neip = temp.neip;
- alarmType = temp.alarmType;
- ackState = temp.ackState;
- ackTime = temp.ackTime;
- ackUserId = temp.ackUserId;
- ackSystemId = temp.ackSystemId;
- alarmChangedTime = temp.alarmChangedTime;
-
- systemType = temp.systemType;
- code = temp.probableCauseCode;
- moc = temp.moc;
- componentname = temp.componentname;
- position1 = temp.position1;
- specificproblem = temp.specificproblem;
- additionalText = temp.additionalText;
- break;
- }
- }
-
- var id = alarmId;
- //获取所有展开的详细信息面板生成当前的面板id用于定位
- var detailTables = $('[class_id=detailTableAlarm]');
- if(detailTables && detailTables.length > 0){
- detailTableId = "alarmDetailInfo" + detailTables.length;
- }
- var sOut = '<table id="' + detailTableId + '" class_id="detailTableAlarm" class = "detailTable" width = "800" style="table-layout: fixed;">';
- sOut += '<tr class="oddDetailTable"><td class = "detailTitleStyle" width = 130><span class = "labelDetailTable">' + columns[0].columnTitle + '</span></td><td class = "detailCellStyle" width = 160>' + alarmId + '</td>';
- sOut += '<td class = "detailTitleStyle" width = 130><span class = "labelDetailTable">' + columns[4].columnTitle + '</span></td><td class = "detailCellStyle" width = 130>' + perceivedSeverity + '</td>';
- sOut += '<td class = "detailTitleStyle" width = 130><span class = "labelDetailTable">' + columns[9].columnTitle + '</span></td><td class = "detailCellStyle" width = 160>' + alarmType + '</td>';
- sOut += '<td class = "detailTitleStyle" width = 130><span class = "labelDetailTable">' + columns[3].columnTitle + '</span></td><td class = "detailCellStyle" width = 160 colspan = 2>' + alarmRaisedTime + '</td></tr>';
-
- sOut += '<tr class="evenDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[5].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + probableCauseDesc + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[15].columnTitle + '</span></td><td class = "detailCellStyle">' + alarmChangedTime + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[11].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 2>' + ackState + '</td></tr>';
-
- sOut += '<tr class="oddDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[12].columnTitle + '</span></td><td class = "detailCellStyle">' + ackTime + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[13].columnTitle + '</span></td><td class = "detailCellStyle">' + ackUserId + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[14].columnTitle + '</span></td><td class = "detailCellStyle">' + ackSystemId + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[7].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 2>' + neip + '</td></tr>';
-
- sOut += '<tr class="evenDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[2].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + moc + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[1].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 4>' + resDisplayName + '</td></tr>';
-
- sOut += '<tr class="oddDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[8].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 3>' + componentname + '</td>';
- sOut += '<td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[16].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 4>' + position1 + '</td></tr>';
-
- sOut += '<tr class="evenDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[10].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 8>' + specificproblem + '</td></tr>';
-
- sOut += '<tr class="oddDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + columns[6].columnTitle + '</span></td><td class = "detailCellStyle" colspan = 8>' + additionalText + '</td></tr>';
-
- sOut += '<tr class="evenDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + $.i18n.prop('aos_fm_SuggestionSetting_view_DefaultSuggestionGroupTitle').replace(';', '').replace(/\"/g,'') + '</span></td><td id = "defaulInfo' + id + '" class = "detailCellStyle" colspan = 8>' + '</td></tr>';
-
- sOut += '<tr class="oddDetailTable"><td class = "detailTitleStyle"><span class = "labelDetailTable">' + $.i18n.prop('aos_fm_SuggestionSetting_view_SettingSuggestionGroupTitle').replace(';', '').replace(/\"/g,'') + '</span></td><td id = "customInfo' + id + '" class = "detailCellStyle" colspan = 6><td style="width:80px" align="right"><button id = "customInfoModify' + id + '" class="btn-toolbar" type="button"><span id = "modifyBtnSpan' + id + '"class="fa fa-pencil-square-o"></span></button></td><td style="width:80px" id="cancelDiv' + id + '"></td></tr>';
-
- sOut += '</table>';
-
- /*
- var systemType = 0;
- var code = 0;
- for (var i = 0; i < oTable.datas.length; i++) {
- var temp = oTable.datas[i];
- if (temp.alarmId == oTr['alarmId'].value) {
- systemType = temp.systemType;
- code = temp.probableCauseCode;
- }
- }*/
- var data = {
- "systemType" : systemType,
- "code" : code
- };
- var sendData = JSON.stringify(data);
- $.ajax({
- "dataType" : 'json',
- "type" : "GET",
- "url" : "/web/rest/web/fm/Maintenance" + "?" + "data=" + sendData,
- "contentType" : 'application/json; charset=utf-8',
- "data" : null,
- "success" : function (json) {
- $('tr').find('td#defaulInfo' + id).text(json.defaulInfo);
- $('tr').find('td#customInfo' + id).text(json.customInfo);
- var modify = $('#customInfoModify' + id);
- modify.on('click', function () {
- var span = $('#modifyBtnSpan' + id);
- var customInfo = $('tr').find('td#customInfo' + id);
- var cancel = $('#cancelDiv' + id);
- if (span['0'].className === 'fa fa-pencil-square-o') {
- var value = customInfo['0'].textContent;
- customInfo['0'].textContent = '';
- customInfo['0'].innerHTML = '<textarea id="customInfoInput' + id + '" type="textarea" cols=110 rows=4 onKeyUp="if(this.value.length > 700) this.value=this.value.substr(0,700)">' + value + '</textarea>';
- span['0'].className = 'fa fa-floppy-o';
- cancel['0'].innerHTML = '<button id = "cancelBtn' + id + '" class="btn-toolbar" type="button"><span class="fa fa-sign-out"></span></button>';
- $('#cancelBtn' + id).on('click', function () {
- customInfo['0'].innerHTML = '';
- customInfo['0'].textContent = value;
- cancel['0'].innerHTML = '';
- span['0'].className = 'fa fa-pencil-square-o';
- });
- } else {
- var inputValue = $('#customInfoInput' + id)['0'].value;
- customInfo['0'].innerHTML = '';
- customInfo['0'].textContent = inputValue;
- span['0'].className = 'fa fa-pencil-square-o';
- cancel['0'].innerHTML = '';
- var modifyData = {
- "systemType" : systemType,
- "code" : code,
- "defaulInfo" : json.defaulInfo,
- "customInfo" : inputValue
- };
- $.ajax({
- "dataType" : 'json',
- "type" : "PUT",
- "url" : "/web/rest/web/fm/Maintenance",
- "contentType" : 'application/json; charset=utf-8',
- "data" : JSON.stringify(modifyData),
- "error" : function () {
- alert('Modify Error!');
- }
- });
- }
- });
- },
- "error" : function () {
- alert('Communication Error!');
- }
- });
-
- return sOut;
- }
-
- var generateColumns = function(columns, openRowFlag, rowCheckable){
- var $tableData = $('table#datatable_ajax');
- var theadTR = $('thead > tr', $tableData);
- if(rowCheckable){
- theadTR.append('<th><input type="checkbox" class="group-checkable"></th>');
- }
- if(openRowFlag){
- theadTR.append('<th>&nbsp;&nbsp;</th>');
- }
- for(var i=0;i<columns.length;i++){
- theadTR.append('<TH id="' + columns[i].columnId + '" style="white-space: nowrap;">' + columns[i].columnTitle + '</TH>');
- }
- }
-
- var sortHandling = function(oTable, openRowFlag, rowCheckable){
- var indexSkip = -1;
- if(openRowFlag&&rowCheckable){
- indexSkip = 1;
- }else if(openRowFlag&&!rowCheckable||!openRowFlag&&rowCheckable){
- indexSkip = 0;
- }
- var $sortOrder = 0; //排序类型 1表示升序,0表示降序
- var tableWrapper = $('div#datatable_ajax_wrapper');
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', tableWrapper);
- var $tableData = $('table#datatable_ajax');
- var clearSort = function(currentTh){
- var ths = $tableHead.find('th').get();
- var tableDataHeadTHs = $tableData.find('th').get();
- $.each( ths, function( index, th ){
- if(index > indexSkip){
- if($(th).text() != currentTh.text()){
- if($(th).is('.sorting_disabled')){
- //do nothing;
- }else if($(th).is('.sorting_asc')){
- $(th).removeClass('sorting_asc').addClass('sorting_disabled');
- $(tableDataHeadTHs[index]).removeClass('sorting_asc').addClass('sorting_disabled');
- }else if($(th).is('.sorting_desc')){
- $(th).removeClass('sorting_desc').addClass('sorting_disabled');
- $(tableDataHeadTHs[index]).removeClass('sorting_desc').addClass('sorting_disabled');
- }
- }
- }
- });
- }
-
- $('th', $tableHead).each(function( column )
- {
- if(column>indexSkip){
- //处理三种有可能存在的排序字段,比较方法
- var findSortKey;
- if( $(this).is('.sort-title') || $(this).is('.sorting_disabled') )
- {
- findSortKey = function( $cell )
- {
- var cellText = $cell.text();
- if(isNaN(cellText)){
- return $cell.text().toUpperCase();
- }else{
- return parseFloat(cellText);
- }
- //return $cell.text().toUpperCase();
- }
- }
- else if( $(this).is('.sort-date') )
- {
- findSortKey = function( $cell )
- {
- return Date.parse('1' + $cell.text());
- }
- }
- else if( $(this).is('.sort-price') )
- {
- findSortKey = function( $cell )
- {
- var key = parseFloat($cell.text().replace(/^[^\d.]*/, ''))
- return isNaN(key) ? 0 : key;
- }
- }
-
- //排序
- if( findSortKey )
- {
- $(this).click(function()
- {
- $sortOrder = $sortOrder == 0 ? 1 : 0;
- var tableDataHeadTHs = $tableData.find('th').get();
-
- if($sortOrder == 1){
- if($(this).is('.sorting_disabled')){
- $(this).removeClass('sorting_disabled').addClass('sorting_asc');
- $(tableDataHeadTHs[column]).removeClass('sorting_disabled').addClass('sorting_asc');
- }else if($(this).is('.sorting_asc')){
- $(this).removeClass('sorting_asc').addClass('sorting_desc');
- $(tableDataHeadTHs[column]).removeClass('sorting_asc').addClass('sorting_desc');
- }else if($(this).is('.sorting_desc')){
- $(this).removeClass('sorting_desc').addClass('sorting_asc');
- $(tableDataHeadTHs[column]).removeClass('sorting_desc').addClass('sorting_asc');
- }
- }else{
- if($(this).is('.sorting_disabled')){
- $(this).removeClass('sorting_disabled').addClass('sorting_desc');
- $(tableDataHeadTHs[column]).removeClass('sorting_disabled').addClass('sorting_desc');
- }else if($(this).is('.sorting_asc')){
- $(this).removeClass('sorting_asc').addClass('sorting_desc');
- $(tableDataHeadTHs[column]).removeClass('sorting_asc').addClass('sorting_desc');
- }else if($(this).is('.sorting_desc')){
- $(this).removeClass('sorting_desc').addClass('sorting_asc');
- $(tableDataHeadTHs[column]).removeClass('sorting_desc').addClass('sorting_asc');
- }
- }
- clearSort($(this));
-
- var rows = $tableData.find('tbody > tr').get();
-
- $.each( rows, function( index, row )
- {
- //先关掉所有行
- if ( oTable.fnIsOpen(row) )
- {
- $(row).find('.row-details').click();
- }
- });
-
- //重新取得所有行,否则排序后表格显示异常
- rows = $tableData.find('tbody > tr').get();
-
- $.each( rows, function( index, row )
- {
- row.sortKey = findSortKey($(row).children('td').eq(column));
- });
- //排序方法
- rows.sort(function( a, b )
- {
- if( $sortOrder == 1 )
- {
- //升序
- if(a.sortKey < b.sortKey) return -1;
- if(a.sortKey > b.sortKey) return 1;
- return 0;
- }
- else
- {
- //降序
- if(a.sortKey < b.sortKey) return 1;
- if(a.sortKey > b.sortKey) return -1;
- return 0;
- }
- });
- //排序后的对象添加给$table
- $.each( rows, function( index, row )
- {
- $tableData.children('tbody').append(row);
- row.sortKey = null;
- });
- });
- }
- }
- });
- }
-
- var handleRecords = function(requestStr, columns, xsHiddenColumns, smHiddenColumns, oLanguage, openRowFlag, rowCheckable, rowOverFlag, requestURL, requestParameters, tableHeight, columnsTooLong, sTotalRecordsSource, callbackList) {
-
- /*
- jQuery.getJSON('/web/newict/framework/thirdparty/data-tables/app-universal-i18n-datatable-' + lang + '.json',
- function(data) {
- oLanguage = data;
- });
- */
- grid.setCallbackList(callbackList);
- grid.setOpenRowFlag(openRowFlag);
- grid.setRowCheckable(rowCheckable);
- grid.setRowOverFlag(rowOverFlag);
- grid.setColumnsTooLong(columnsTooLong);
- grid.setSTotalRecordsSource(sTotalRecordsSource);
- grid.setTableHeight(tableHeight);
- //取得查询条件
-// if(!requestStr || requestStr.length == 0){
-// requestStr = JSON.stringify(requestAllData);
-// }
- grid.clearAjaxParams();
- grid.addAjaxParam('data', requestStr);
- //取得其他参数
- for(var i=0;i<requestParameters.length;i++){
- grid.addAjaxParam(requestParameters[i].paraId,requestParameters[i].paraValue);
- }
-
- grid.init({
- src: $("#datatable_ajax"),
- onSuccess: function(grid) {
- // execute some code after table records loaded
- var tableWrapper = $('div#datatable_ajax_wrapper');
- var $tableHead = $('div.dataTables_scrollHeadInner > table.dataTable', tableWrapper);
- var ths = $tableHead.find('th').get();
- var $tableData = $('table#datatable_ajax');
- var tableDataHeadTHs = $tableData.find('th').get();
- $.each( ths, function( index, th ){
- //clear all sort direction
- if($(th).is('.sorting_disabled')){
- //do nothing;
- }else if($(th).is('.sorting_asc')){
- $(th).removeClass('sorting_asc').addClass('sorting_disabled');
- $(tableDataHeadTHs[index]).removeClass('sorting_asc').addClass('sorting_disabled');
- }else if($(th).is('.sorting_desc')){
- $(th).removeClass('sorting_desc').addClass('sorting_disabled');
- $(tableDataHeadTHs[index]).removeClass('sorting_desc').addClass('sorting_disabled');
- }
- });
-
- },
- onError: function(grid) {
- // execute some code on network or other general error
- },
- dataTable: {
- "sDom" : "tr<'row'<'col-md-6 col-sm-12'><'col-md-6 col-sm-12'pli>>", // datatable layout
- "oLanguage": oLanguage,
- //"bAutoWidth": true,
- "sScrollY": tableHeight,
- "bScrollCollapse": true,
- "sScrollX": "100%",
- //"sScrollXInner": "110%",
- "aLengthMenu": [
- [20, 50, 100],
- [20, 50, 100] // change per page values here
- ],
- "iDisplayLength": 20, // default record count per page
- "bServerSide": true, // server side processing
- "sAjaxSource": requestURL // ajax source
- }
- }, columns, xsHiddenColumns, smHiddenColumns, openRowFlag, rowCheckable);
- }
-
- /*
- * Insert a 'details' column to the table
- */
- var insertDetails = function (oTable, columns, rowCheckable) {
-
- var $tableData = $('table#datatable_ajax');
-
- $tableData.on('click', ' tbody td .row-details', function () {
- var nTr = $(this).parents('tr')[0];
- if (oTable.fnIsOpen(nTr)) {
- /* This row is already open - close it */
- $(this).addClass("row-details-close").removeClass("row-details-open");
- oTable.fnClose(nTr);
- } else {
- /* Open this row */
- $(this).addClass("row-details-open").removeClass("row-details-close");
- oTable.fnOpen(nTr, fnFormatDetails(oTable, nTr, columns, rowCheckable), 'details');
- //填充单元格颜色
- var divColor = $("div.cellBackgroundColor", $("table#" + detailTableId));
- $(divColor).parent().css("background", $(divColor).css("background-color"));
- }
- });
- }
-
- return {
-
- //main function to initiate the module
- init: function (requestStr, lang, configPathPrefix, callbackList) {
-
- var oLanguage;
- var columns;
- var xsHiddenColumns;
- var smHiddenColumns;
- var columnsAll;
-
- var openRowFlag = false;
- var rowOverFlag = false;
- var rowCheckable = false;
- var requestURL="";
- var requestAllData;
- var requestParameters;
-
- var tableHeight;
- var tableWidth;
-
- var columnsTooLong;
- var sTotalRecordsSource="";
-
- //取得当前配置及国际化信息
- $.ajax({
- dataType: 'json',
- url: configPathPrefix + '-' + lang + '.json',
- async: false,
- contentType:'application/json; charset=utf-8',
- "success": function(data) {
- oLanguage = data.language;
- columns = data.columns;
- xsHiddenColumns = data.xsHiddenColumns;
- smHiddenColumns = data.smHiddenColumns;
- columnsAll = data.columnsAll;
- openRowFlag = data.openRowFlag == 'true'? true: false;
- rowOverFlag = data.rowOverFlag == 'true'? true: false;
- rowCheckable = data.rowCheckable == 'true'? true: false;
- requestURL = data.requestURL;
- //requestAllData = data.requestAllData;
- requestParameters = data.requestParameters;
- tableHeight = data.tableHeight;
- tableWidth = data.tableWidth;
- columnsTooLong = data.columnsTooLong;
- sTotalRecordsSource = data.sTotalRecordsSource;
- },
- "error" : function (xhr, info) {
- alert('Communication Error! Error reason:' + info);
- }
- });
-
- $('#dataTableWrapperDiv').css('width', tableWidth);
-
- if(!isContained(xsHiddenColumns, smHiddenColumns) || !isContained(columns, xsHiddenColumns) || !isContained(columnsAll, columns)){
- alert('Columns claim error: (smHiddenColumns <= xsHiddenColumns <= columns <= columnsAll) Please!');
- return;
- }
-
- generateColumns(columns, openRowFlag, rowCheckable);
- //initPickers();
- handleRecords(requestStr, columns, xsHiddenColumns, smHiddenColumns, oLanguage, openRowFlag, rowCheckable, rowOverFlag, requestURL, requestParameters, tableHeight, columnsTooLong, sTotalRecordsSource, callbackList);
- //获得初始化完毕的DataTable对象
- var oTable = grid.getDataTable();
- if(openRowFlag){
- insertDetails(oTable, columnsAll, rowCheckable);
- }
- sortHandling(oTable, openRowFlag, rowCheckable);
- //oTable.fnAdjustColumnSizing(true);
- return oTable;
- }
-
- };
-
-}();
-
-var DataTableSmartClientApp = function(datas, configPathPrefix, callbackList){
-
- var requestStr = "";
- if(datas){
- requestStr = JSON.stringify(datas);
- }
-
- var lang = getLanguage();
- //lang = 'en-US';
- /*for(var i=0;i<callbackList.length;i++){
- if(getFnName(callbackList[i]).indexOf("i18n")>0){
- callbackList[i](lang);
- break;
- }
- }*/
- if(callbackList && callbackList[0]){
- callbackList[0](lang);
- }
- //requestStr = "";
- var oTable = TableAjaxICT.init(requestStr, lang, configPathPrefix, callbackList);
-
- //重新调节列宽以适应window resize
- $(window).one('resize', function () {
- //oTable.DataTable.models.oSettings.bAjaxDataGet = false;
- oTable.fnAdjustColumnSizing(false);
- } );
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/app-test-i18n-datatable-zh-CN.json b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/app-test-i18n-datatable-zh-CN.json
deleted file mode 100644
index 90996845..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/app-test-i18n-datatable-zh-CN.json
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- "language":{
- "sProcessing": "<img src='/web/newict/framework/thirdparty/data-tables/images/loading-spinner-grey.gif'/><span>&nbsp;&nbsp;处理中...</span>",
- "sLengthMenu": "<span class='seperator'>|</span>每页 _MENU_ 条结果",
- "sZeroRecords": "没有匹配结果",
- "sInfo": "<span class='seperator'>|</span>总共找到 _TOTAL_ 条结果",
- "sInfoEmpty": "共 0 项",
- "sGroupActions": "_TOTAL_ 条结果被选择: ",
- "sAjaxRequestGeneralError": "不能完成请求,请检查您的网络连接情况。",
- "sEmptyTable": "表中数据为空",
- "oPaginate": {
- "sPrevious": "前页",
- "sNext": "下页",
- "sPage": "第",
- "sPageOf": "页,总页数:"
- }
- },
- "columnsAll":[
- {"columnId":"0", "columnTitle":"开始时间"},
- {"columnId":"1", "columnTitle":"结束时间"},
- {"columnId":"2", "columnTitle":"查询粒度"},
- {"columnId":"3", "columnTitle":"网元位置"},
- {"columnId":"4", "columnTitle":"CPU使用率(百分比)"}
- ],
- "columns":[
- {"columnId":"0", "columnTitle":"开始时间"},
- {"columnId":"1", "columnTitle":"结束时间"},
- {"columnId":"2", "columnTitle":"查询粒度"},
- {"columnId":"3", "columnTitle":"网元位置"},
- {"columnId":"4", "columnTitle":"CPU使用率(百分比)"}
- ],
- "xsHiddenColumns":[
- ],
- "smHiddenColumns":[
- ],
- "columnsTooLong":["3"],
-
- "rowCheckable": "true",
- "openRowFlag" : "false",
- "rowOverFlag" : "false",
-
- "tableHeight":"250px",
- "tableWidth":"100%",
-
- "requestType": "POST",
- "requestURL": "/web/rest/web-pm/queryPmPageData",
- "requestParameters":[
- ],
- "sTotalRecordsSource":"response.extData",
- "sTotalRecords":"108"
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/app-universal-i18n-datatable-en-US.json b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/app-universal-i18n-datatable-en-US.json
deleted file mode 100644
index 666f1cda..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/app-universal-i18n-datatable-en-US.json
+++ /dev/null
@@ -1,89 +0,0 @@
-{
- "language":{
- "sProcessing": "<img src='/web/newict/framework/thirdparty/data-tables/images/loading-spinner-grey.gif'/><span>&nbsp;&nbsp;Loading...</span>",
- "sLengthMenu": "<span class='seperator'>|</span>View _MENU_ records",
- "sInfo": "<span class='seperator'>|</span>Found total _TOTAL_ records",
- "sInfoEmpty": "No records found to show",
- "sGroupActions": "_TOTAL_ records selected: ",
- "sAjaxRequestGeneralError": "Could not complete request. Please check your internet connection",
- "sEmptyTable": "No data available in table",
- "sZeroRecords": "No matching records found",
- "oPaginate": {
- "sPrevious": "Prev",
- "sNext": "Next",
- "sPage": "Page",
- "sPageOf": "of"
- }
- },
- "columnsAll":[
- {"columnId":"alarmId", "columnTitle":"Alarm Id"},
- {"columnId":"resDisplayName", "columnTitle":"NE"},
- {"columnId":"moc", "columnTitle":"NE Type"},
- {"columnId":"alarmRaisedTime", "columnTitle":"Raised Time"},
- {"columnId":"perceivedSeverity", "columnTitle":"Severity"},
- {"columnId":"probableCauseDesc", "columnTitle":"Alarm Code"},
- {"columnId":"additionalText", "columnTitle":"Appendix Text"},
- {"columnId":"neip", "columnTitle":"NE IP"},
- {"columnId":"componentname", "columnTitle":"Location"},
- {"columnId":"alarmType", "columnTitle":"Alarm Type"},
- {"columnId":"specificproblem", "columnTitle":"Specific Problem"},
- {"columnId":"ackState", "columnTitle":"Acknowledged State"},
- {"columnId":"ackTime", "columnTitle":"Acknowledge Time"},
- {"columnId":"ackUserId", "columnTitle":"Acknowledge User"},
- {"columnId":"ackSystemId", "columnTitle":"Acknowledge System"},
- {"columnId":"alarmChangedTime", "columnTitle":"Changed Time"},
- {"columnId":"position1", "columnTitle":"Resource ID"}
- ],
- "columns":[
- {"columnId":"alarmId", "columnTitle":"Alarm Id"},
- {"columnId":"resDisplayName", "columnTitle":"NE"},
- {"columnId":"moc", "columnTitle":"NE Type"},
- {"columnId":"alarmRaisedTime", "columnTitle":"Raised Time"},
- {"columnId":"perceivedSeverity", "columnTitle":"Severity"},
- {"columnId":"probableCauseDesc", "columnTitle":"Alarm Code"},
- {"columnId":"additionalText", "columnTitle":"Appendix Text"},
- {"columnId":"neip", "columnTitle":"NE IP"},
- {"columnId":"componentname", "columnTitle":"Location"},
- {"columnId":"alarmType", "columnTitle":"Alarm Type"},
- {"columnId":"specificproblem", "columnTitle":"Specific Problem"},
- {"columnId":"ackState", "columnTitle":"Acknowledged State"},
- {"columnId":"ackTime", "columnTitle":"Acknowledge Time"},
- {"columnId":"ackUserId", "columnTitle":"Acknowledge User"},
- {"columnId":"ackSystemId", "columnTitle":"Acknowledge System"},
- {"columnId":"alarmChangedTime", "columnTitle":"Changed Time"},
- {"columnId":"position1", "columnTitle":"Resource ID"}
- ],
- "xsHiddenColumns":[
- {"columnId":"additionalText", "columnTitle":"Appendix Text"},
- {"columnId":"neip", "columnTitle":"NE IP"},
- {"columnId":"componentname", "columnTitle":"Location"},
- {"columnId":"position1", "columnTitle":"Resource ID"}
- ],
- "smHiddenColumns":[
- {"columnId":"position1", "columnTitle":"Resource ID"}
- ],
- "columnsTooLong":["additionalText", "moc", "componentname", "specificproblem", "position1"],
- "sTotalRecordsSource":"response.extData",
-
- "rowCheckable": "true",
- "openRowFlag" : "true",
- "rowOverFlag" : "true",
-
- "tableHeight":"520px",
- "tableWidth":"100%",
-
- "requestURL": "/web/rest/web/fm/curalarms",
- "requestParameters":[
- {"paraId":"pageSize", "paraValue":"20"},
- {"paraId":"pageNo", "paraValue":"1"},
- {"paraId":"_operationType", "paraValue":"fetch"},
- {"paraId":"_startRow", "paraValue":"0"},
- {"paraId":"_endRow", "paraValue":"75"},
- {"paraId":"_textMatchStyle", "paraValue":"exact"},
- {"paraId":"_componentId", "paraValue":"isc_com_zte_ums_aos_fm_view_eventview_table_AlarmTable_0"},
- {"paraId":"_dataSource", "paraValue":"isc_PageRestDataSource_0"},
- {"paraId":"isc_metaDataPrefix", "paraValue":"_"},
- {"paraId":"isc_dataFormat", "paraValue":"json"}
- ],
- "sTotalRecordsSource":"response.extData"
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/app-universal-i18n-datatable-zh-CN.json b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/app-universal-i18n-datatable-zh-CN.json
deleted file mode 100644
index 155ed357..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/app-universal-i18n-datatable-zh-CN.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "language":{
- "sProcessing": "<img src='/web/newict/framework/thirdparty/data-tables/images/loading-spinner-grey.gif'/><span>&nbsp;&nbsp;处理中...</span>",
- "sLengthMenu": "<span class='seperator'>|</span>每页 _MENU_ 条结果",
- "sZeroRecords": "没有匹配结果",
- "sInfo": "<span class='seperator'>|</span>总共找到 _TOTAL_ 条结果",
- "sInfoEmpty": "共 0 项",
- "sGroupActions": "_TOTAL_ 条结果被选择: ",
- "sAjaxRequestGeneralError": "不能完成请求,请检查您的网络连接情况。",
- "sEmptyTable": "表中数据为空",
- "oPaginate": {
- "sPrevious": "前页",
- "sNext": "下页",
- "sPage": "第",
- "sPageOf": "页,总页数:"
- }
- },
- "columnsAll":[
- {"columnId":"alarmId", "columnTitle":"告警编号"},
- {"columnId":"resDisplayName", "columnTitle":"网元"},
- {"columnId":"moc", "columnTitle":"网元类型"},
- {"columnId":"alarmRaisedTime", "columnTitle":"发生时间"},
- {"columnId":"perceivedSeverity", "columnTitle":"级别"},
- {"columnId":"probableCauseDesc", "columnTitle":"告警码"},
- {"columnId":"additionalText", "columnTitle":"附加文本"},
- {"columnId":"neip", "columnTitle":"网元IP"},
- {"columnId":"componentname", "columnTitle":"网元内定位"},
- {"columnId":"alarmType", "columnTitle":"告警类型"},
- {"columnId":"specificproblem", "columnTitle":"告警原因"},
- {"columnId":"ackState", "columnTitle":"确认状态"},
- {"columnId":"ackTime", "columnTitle":"确认时间"},
- {"columnId":"ackUserId", "columnTitle":"确认用户"},
- {"columnId":"ackSystemId", "columnTitle":"确认系统"},
- {"columnId":"alarmChangedTime", "columnTitle":"修改时间"},
- {"columnId":"position1", "columnTitle":"资源ID"}
- ],
- "columns":[
- {"columnId":"alarmId", "columnTitle":"告警编号"},
- {"columnId":"resDisplayName", "columnTitle":"网元"},
- {"columnId":"moc", "columnTitle":"网元类型"},
- {"columnId":"alarmRaisedTime", "columnTitle":"发生时间"},
- {"columnId":"perceivedSeverity", "columnTitle":"级别"},
- {"columnId":"probableCauseDesc", "columnTitle":"告警码"},
- {"columnId":"additionalText", "columnTitle":"附加文本"},
- {"columnId":"neip", "columnTitle":"网元IP"},
- {"columnId":"componentname", "columnTitle":"网元内定位"},
- {"columnId":"alarmType", "columnTitle":"告警类型"},
- {"columnId":"specificproblem", "columnTitle":"告警原因"},
- {"columnId":"ackState", "columnTitle":"确认状态"},
- {"columnId":"ackTime", "columnTitle":"确认时间"},
- {"columnId":"ackUserId", "columnTitle":"确认用户"},
- {"columnId":"ackSystemId", "columnTitle":"确认系统"},
- {"columnId":"alarmChangedTime", "columnTitle":"修改时间"},
- {"columnId":"position1", "columnTitle":"资源ID"}
- ],
- "xsHiddenColumns":[
- {"columnId":"additionalText", "columnTitle":"附加文本"},
- {"columnId":"neip", "columnTitle":"网元IP"},
- {"columnId":"componentname", "columnTitle":"网元内定位"},
- {"columnId":"position1", "columnTitle":"资源ID"}
- ],
- "smHiddenColumns":[
- {"columnId":"position1", "columnTitle":"资源ID"}
- ],
- "columnsTooLong":["additionalText", "moc", "componentname", "specificproblem", "position1"],
-
- "rowCheckable": "true",
- "openRowFlag" : "true",
- "rowOverFlag" : "true",
-
- "tableHeight":"520px",
- "tableWidth":"100%",
-
- "requestURL": "/web/rest/web/fm/curalarms",
- "requestAllData": {"rule":{"ruleId":-1,"name":"当前告警","creator":"admin","createTime":1397439767310,"modifier":"","modifyTime":0,"description":"","state":true,"ruleType":1,"ruleSort":1,"owner":"","attrs":"<Attrs/>","ruleData":"<CompoundCond><FilterState value='1' /></CompoundCond>"}},
- "requestParameters":[
- {"paraId":"pageSize", "paraValue":"20"},
- {"paraId":"pageNo", "paraValue":"1"},
- {"paraId":"_operationType", "paraValue":"fetch"},
- {"paraId":"_startRow", "paraValue":"0"},
- {"paraId":"_endRow", "paraValue":"75"},
- {"paraId":"_textMatchStyle", "paraValue":"exact"},
- {"paraId":"_componentId", "paraValue":"isc_com_zte_ums_aos_fm_view_eventview_table_AlarmTable_0"},
- {"paraId":"_dataSource", "paraValue":"isc_PageRestDataSource_0"},
- {"paraId":"isc_metaDataPrefix", "paraValue":"_"},
- {"paraId":"isc_dataFormat", "paraValue":"json"}
- ],
- "sTotalRecordsSource":"response.extData"
-}
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/dataTable.html b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/dataTable.html
deleted file mode 100644
index be4a4b8e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/dataTable.html
+++ /dev/null
@@ -1,155 +0,0 @@
-<!-- FOR TEST -->
-<link href="/web/newict/framework/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
-<link href="/web/newict/framework/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
-<link href="/web/newict/framework/thirdparty/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
-<link href="/web/newict/framework/css/style-custom.css" rel="stylesheet" type="text/css"/>
-<link href="/web/newict/framework/css/style.css" rel="stylesheet" type="text/css"/>
-<link href="/web/newict/framework/css/plugins.css" rel="stylesheet" type="text/css"/>
-<link href="/web/newict/framework/thirdparty/data-tables/DT_bootstrap.css" rel="stylesheet" type="text/css"/>
-<!-- FOR TEST -->
-<div id="dataTableWrapperDiv" class="dataTableWrapperDiv" style="overflow: auto; overflow-y: hidden; padding: 0;z-index: 200999;">
- <div class="col-md-12">
- <div class="portlet">
- <div class="portlet-body">
- <div class="table-container" >
- <table class="table table-striped table-bordered table-hover" cellpadding="0" cellspacing="0" border="0"id="datatable_ajax" >
- <thead>
- <tr role="row" class="heading">
- </tr>
- </thead>
- <tbody></tbody>
- </table>
- <div id="divOverlay" style="display:none;Z-INDEX:10000;">
- <div id="isc_3A" style="POSITION:relative;-webkit-margin-collapse:separate separate;VISIBILITY:inherit;Z-INDEX:1100;CURSOR:default;">&nbsp;
- <div id="buttonConfirm" role="button" class="buttonConfirm" >
- <div id="isc_3B" style="POSITION:relative;-webkit-margin-collapse:separate separate;VISIBILITY:inherit;Z-INDEX:201224;CURSOR:default;">
- <table cellspacing="0" cellpadding="0" width="70" height="22">
- <tbody>
- <tr>
- <td nowrap="true" class="buttonRounded" align="center" valign="center" tabindex="-1" >
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr>
- <td class="buttonRounded" style="margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;font-size:1px;padding-right:6px">
- <img id="img_acknownledge" src= "/web/res/web-common/comp/skins/EnterpriseBlue/images/Common/web-modulePrivate/fm/aos_acknownledge.gif" width="16" height="16" align="absmiddle" style="vertical-align:middle" name="isc_3Bicon" eventpart="icon" border="0" suppress="TRUE">
- </td>
- <td class="buttonRounded" style="margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;" nowrap="true">
- <span id="aos_fm_alarm_opeater_ack" name_i18n="com_zte_ums_ict_framework_ui_i18n_fm"></span>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div id="buttonUnConfirm" role="button" tabindex="1336" class="buttonUnConfirm" >
- <div id="isc_3D" style="POSITION:relative;-webkit-margin-collapse:separate separate;VISIBILITY:inherit;Z-INDEX:201242;CURSOR:hand;">
- <table cellspacing="0" cellpadding="0" width="82" height="22">
- <tbody>
- <tr>
- <td nowrap="true" class="buttonRoundedDisabled" align="center" valign="center" tabindex="-1" >
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr>
- <td class="buttonRoundedDisabled" style="margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;font-size:1px;padding-right:6px">
- <img src="/web/res/web-common/comp/skins/EnterpriseBlue/images/Common/web-modulePrivate/fm/aos_unacknownledge.gif" width="16" height="16" align="absmiddle" style="vertical-align:middle" name="isc_3Dicon" eventpart="icon" border="0" suppress="TRUE">
- </td>
- <td class="buttonRoundedDisabled" style="margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;" nowrap="true">
- <span id="aos_fm_alarm_opeater_unack" name_i18n="com_zte_ums_ict_framework_ui_i18n_fm"></span>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div id="buttonDelete" role="button" tabindex="1337" class="buttonDelete" >
- <div id="isc_3F" style="POSITION:relative;-webkit-margin-collapse:separate separate;VISIBILITY:inherit;Z-INDEX:201260;CURSOR:hand;">
- <table cellspacing="0" cellpadding="0" width="70" height="22">
- <tbody>
- <tr>
- <td nowrap="true" class="buttonRounded" align="center" valign="center" tabindex="-1" >
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr>
- <td class="buttonRounded" style="margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;font-size:1px;padding-right:6px">
- <img src="/web/res/web-common/comp/skins/EnterpriseBlue/images/Common/web-common/aos_delete.gif" width="16" height="16" align="absmiddle" style="vertical-align:middle" name="isc_3Ficon" eventpart="icon" border="0" suppress="TRUE">
- </td>
- <td class="buttonRounded" style="margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;" nowrap="true">
- <span id="aos_fm_alarm_opeater_clean" name_i18n="com_zte_ums_ict_framework_ui_i18n_fm"></span>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div><!-- end of overlap -->
- <!-- Modal 消除确认对话框-->
- <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
- <h4 class="modal-title" id="myModalLabel"><span id="aos_fm_SuggestionSetting_dialog_title" name_i18n="com_zte_ums_ict_framework_ui_i18n_fm"></span></h4>
- </div>
- <div class="modal-body">
- <span id="aos_fm_fmalarm_view_confirm_deletedata" name_i18n="com_zte_ums_ict_framework_ui_i18n_fm"></span>
- </div>
- <div class="modal-footer">
- <button id="delConfirm" type="button" class="btn btn-default btn-confirm" data-dismiss="modal"><span id="aos_fm_condition_dialog_ok" name_i18n="com_zte_ums_ict_framework_ui_i18n_fm"></span></button>
- <button type="button" class="btn btn-primary btn-confirm" data-dismiss="modal"><span id="aos_fm_condition_dialog_cancel" name_i18n="com_zte_ums_ict_framework_ui_i18n_fm"></span></button>
- </div>
- </div><!-- /.modal-content -->
- </div><!-- /.modal-dialog -->
- </div><!-- /.modal -->
- <!-- Modal 已确认提示对话框-->
- <div class="modal fade" id="myModalConfirm" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
- <h4 class="modal-title" id="myModalLabel"><span id="aos_fm_level_title_4" name_i18n="com_zte_ums_ict_framework_ui_i18n_fm"></span></h4>
- </div>
- <div class="modal-body">
- <span id="aos_fm_alarm_title" name_i18n="com_zte_ums_ict_framework_ui_i18n_fm"></span>
- <span id="alarm_number"></span>
- <span id="aos_fm_alarm_opeater_ack_already" ></span>
- </div>
- <div class="modal-footer">
- <button id="confirmAlready" type="button" class="btn btn-default btn-confirm" data-dismiss="modal"><span id="aos_fm_condition_dialog_ok" name_i18n="com_zte_ums_ict_framework_ui_i18n_fm"></span></button>
-
- </div>
- </div><!-- /.modal-content -->
- </div><!-- /.modal-dialog -->
- </div><!-- /.modal -->
- </div>
- </div>
- </div>
- <!-- End: life time stats -->
- </div>
-</div>
-<!-- FOR TEST-->
-<script type="text/javascript" src="/web/newict/framework/thirdparty/bootstrap/js/bootstrap.min.js"></script>
-<script type="text/javascript" src="/web/newict/framework/zte/scripts/core/ZteFrameWork.min.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/uniform/jquery.uniform.min.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/data-tables/jquery.dataTables.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/data-tables/DT_bootstrap.js"></script>
-<script src="/web/res/web-fm/i18n/jquery.i18n.properties-1.0.9-fm.js"></script>
-<script src="/web/res/web-fm/i18n/loadi18n-fm.js"></script>
-<script>
-var lang = getLanguage();
-//lang = "en-US";
-loadi18n_FM(lang);
-</script>
-<!-- END PAGE LEVEL PLUGINS -->
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/loading-spinner-grey.gif b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/loading-spinner-grey.gif
deleted file mode 100644
index 6d614d3d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/loading-spinner-grey.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/sort_asc.png b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/sort_asc.png
deleted file mode 100644
index a88d7975..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/sort_asc.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/sort_both.png b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/sort_both.png
deleted file mode 100644
index 18670406..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/sort_both.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/sort_desc.png b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/sort_desc.png
deleted file mode 100644
index def071ed..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/images/sort_desc.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/jquery.dataTables.js b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/jquery.dataTables.js
deleted file mode 100644
index 5e2808c2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/jquery.dataTables.js
+++ /dev/null
@@ -1,15268 +0,0 @@
-/*! DataTables 1.10.11
- * ©2008-2015 SpryMedia Ltd - datatables.net/license
- */
-
-/**
- * @summary DataTables
- * @description Paginate, search and order HTML tables
- * @version 1.10.11
- * @file jquery.dataTables.js
- * @author SpryMedia Ltd (www.sprymedia.co.uk)
- * @contact www.sprymedia.co.uk/contact
- * @copyright Copyright 2008-2015 SpryMedia Ltd.
- *
- * This source file is free software, available under the following license:
- * MIT license - http://datatables.net/license
- *
- * This source file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
- *
- * For details please refer to: http://www.datatables.net
- */
-
-/*jslint evil: true, undef: true, browser: true */
-/*globals $,require,jQuery,define,_selector_run,_selector_opts,_selector_first,_selector_row_indexes,_ext,_Api,_api_register,_api_registerPlural,_re_new_lines,_re_html,_re_formatted_numeric,_re_escape_regex,_empty,_intVal,_numToDecimal,_isNumber,_isHtml,_htmlNumeric,_pluck,_pluck_order,_range,_stripHtml,_unique,_fnBuildAjax,_fnAjaxUpdate,_fnAjaxParameters,_fnAjaxUpdateDraw,_fnAjaxDataSrc,_fnAddColumn,_fnColumnOptions,_fnAdjustColumnSizing,_fnVisibleToColumnIndex,_fnColumnIndexToVisible,_fnVisbleColumns,_fnGetColumns,_fnColumnTypes,_fnApplyColumnDefs,_fnHungarianMap,_fnCamelToHungarian,_fnLanguageCompat,_fnBrowserDetect,_fnAddData,_fnAddTr,_fnNodeToDataIndex,_fnNodeToColumnIndex,_fnGetCellData,_fnSetCellData,_fnSplitObjNotation,_fnGetObjectDataFn,_fnSetObjectDataFn,_fnGetDataMaster,_fnClearTable,_fnDeleteIndex,_fnInvalidate,_fnGetRowElements,_fnCreateTr,_fnBuildHead,_fnDrawHead,_fnDraw,_fnReDraw,_fnAddOptionsHtml,_fnDetectHeader,_fnGetUniqueThs,_fnFeatureHtmlFilter,_fnFilterComplete,_fnFilterCustom,_fnFilterColumn,_fnFilter,_fnFilterCreateSearch,_fnEscapeRegex,_fnFilterData,_fnFeatureHtmlInfo,_fnUpdateInfo,_fnInfoMacros,_fnInitialise,_fnInitComplete,_fnLengthChange,_fnFeatureHtmlLength,_fnFeatureHtmlPaginate,_fnPageChange,_fnFeatureHtmlProcessing,_fnProcessingDisplay,_fnFeatureHtmlTable,_fnScrollDraw,_fnApplyToChildren,_fnCalculateColumnWidths,_fnThrottle,_fnConvertToWidth,_fnGetWidestNode,_fnGetMaxLenString,_fnStringToCss,_fnSortFlatten,_fnSort,_fnSortAria,_fnSortListener,_fnSortAttachListener,_fnSortingClasses,_fnSortData,_fnSaveState,_fnLoadState,_fnSettingsFromNode,_fnLog,_fnMap,_fnBindAction,_fnCallbackReg,_fnCallbackFire,_fnLengthOverflow,_fnRenderer,_fnDataSource,_fnRowAttributes*/
-
-(function( factory ) {
- "use strict";
-
- if ( typeof define === 'function' && define.amd ) {
- // AMD
- define( ['jquery'], function ( $ ) {
- return factory( $, window, document );
- } );
- }
- else if ( typeof exports === 'object' ) {
- // CommonJS
- module.exports = function (root, $) {
- if ( ! root ) {
- // CommonJS environments without a window global must pass a
- // root. This will give an error otherwise
- root = window;
- }
-
- if ( ! $ ) {
- $ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window
- require('jquery') :
- require('jquery')( root );
- }
-
- return factory( $, root, root.document );
- };
- }
- else {
- // Browser
- factory( jQuery, window, document );
- }
-}
-(function( $, window, document, undefined ) {
- "use strict";
-
- /**
- * DataTables is a plug-in for the jQuery Javascript library. It is a highly
- * flexible tool, based upon the foundations of progressive enhancement,
- * which will add advanced interaction controls to any HTML table. For a
- * full list of features please refer to
- * [DataTables.net](href="http://datatables.net).
- *
- * Note that the `DataTable` object is not a global variable but is aliased
- * to `jQuery.fn.DataTable` and `jQuery.fn.dataTable` through which it may
- * be accessed.
- *
- * @class
- * @param {object} [init={}] Configuration object for DataTables. Options
- * are defined by {@link DataTable.defaults}
- * @requires jQuery 1.7+
- *
- * @example
- * // Basic initialisation
- * $(document).ready( function {
- * $('#example').dataTable();
- * } );
- *
- * @example
- * // Initialisation with configuration options - in this case, disable
- * // pagination and sorting.
- * $(document).ready( function {
- * $('#example').dataTable( {
- * "paginate": false,
- * "sort": false
- * } );
- * } );
- */
- var DataTable;
-
-
- /*
- * It is useful to have variables which are scoped locally so only the
- * DataTables functions can access them and they don't leak into global space.
- * At the same time these functions are often useful over multiple files in the
- * core and API, so we list, or at least document, all variables which are used
- * by DataTables as private variables here. This also ensures that there is no
- * clashing of variable names and that they can easily referenced for reuse.
- */
-
-
- // Defined else where
- // _selector_run
- // _selector_opts
- // _selector_first
- // _selector_row_indexes
-
- var _ext; // DataTable.ext
- var _Api; // DataTable.Api
- var _api_register; // DataTable.Api.register
- var _api_registerPlural; // DataTable.Api.registerPlural
-
- var _re_dic = {};
- var _re_new_lines = /[\r\n]/g;
- var _re_html = /<.*?>/g;
- var _re_date_start = /^[\w\+\-]/;
- var _re_date_end = /[\w\+\-]$/;
-
- // Escape regular expression special characters
- var _re_escape_regex = new RegExp( '(\\' + [ '/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\', '$', '^', '-' ].join('|\\') + ')', 'g' );
-
- // http://en.wikipedia.org/wiki/Foreign_exchange_market
- // - \u20BD - Russian ruble.
- // - \u20a9 - South Korean Won
- // - \u20BA - Turkish Lira
- // - \u20B9 - Indian Rupee
- // - R - Brazil (R$) and South Africa
- // - fr - Swiss Franc
- // - kr - Swedish krona, Norwegian krone and Danish krone
- // - \u2009 is thin space and \u202F is narrow no-break space, both used in many
- // standards as thousands separators.
- var _re_formatted_numeric = /[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi;
-
-
- var _empty = function ( d ) {
- return !d || d === true || d === '-' ? true : false;
- };
-
-
- var _intVal = function ( s ) {
- var integer = parseInt( s, 10 );
- return !isNaN(integer) && isFinite(s) ? integer : null;
- };
-
- // Convert from a formatted number with characters other than `.` as the
- // decimal place, to a Javascript number
- var _numToDecimal = function ( num, decimalPoint ) {
- // Cache created regular expressions for speed as this function is called often
- if ( ! _re_dic[ decimalPoint ] ) {
- _re_dic[ decimalPoint ] = new RegExp( _fnEscapeRegex( decimalPoint ), 'g' );
- }
- return typeof num === 'string' && decimalPoint !== '.' ?
- num.replace( /\./g, '' ).replace( _re_dic[ decimalPoint ], '.' ) :
- num;
- };
-
-
- var _isNumber = function ( d, decimalPoint, formatted ) {
- var strType = typeof d === 'string';
-
- // If empty return immediately so there must be a number if it is a
- // formatted string (this stops the string "k", or "kr", etc being detected
- // as a formatted number for currency
- if ( _empty( d ) ) {
- return true;
- }
-
- if ( decimalPoint && strType ) {
- d = _numToDecimal( d, decimalPoint );
- }
-
- if ( formatted && strType ) {
- d = d.replace( _re_formatted_numeric, '' );
- }
-
- return !isNaN( parseFloat(d) ) && isFinite( d );
- };
-
-
- // A string without HTML in it can be considered to be HTML still
- var _isHtml = function ( d ) {
- return _empty( d ) || typeof d === 'string';
- };
-
-
- var _htmlNumeric = function ( d, decimalPoint, formatted ) {
- if ( _empty( d ) ) {
- return true;
- }
-
- var html = _isHtml( d );
- return ! html ?
- null :
- _isNumber( _stripHtml( d ), decimalPoint, formatted ) ?
- true :
- null;
- };
-
-
- var _pluck = function ( a, prop, prop2 ) {
- var out = [];
- var i=0, ien=a.length;
-
- // Could have the test in the loop for slightly smaller code, but speed
- // is essential here
- if ( prop2 !== undefined ) {
- for ( ; i<ien ; i++ ) {
- if ( a[i] && a[i][ prop ] ) {
- out.push( a[i][ prop ][ prop2 ] );
- }
- }
- }
- else {
- for ( ; i<ien ; i++ ) {
- if ( a[i] ) {
- out.push( a[i][ prop ] );
- }
- }
- }
-
- return out;
- };
-
-
- // Basically the same as _pluck, but rather than looping over `a` we use `order`
- // as the indexes to pick from `a`
- var _pluck_order = function ( a, order, prop, prop2 )
- {
- var out = [];
- var i=0, ien=order.length;
-
- // Could have the test in the loop for slightly smaller code, but speed
- // is essential here
- if ( prop2 !== undefined ) {
- for ( ; i<ien ; i++ ) {
- if ( a[ order[i] ][ prop ] ) {
- out.push( a[ order[i] ][ prop ][ prop2 ] );
- }
- }
- }
- else {
- for ( ; i<ien ; i++ ) {
- out.push( a[ order[i] ][ prop ] );
- }
- }
-
- return out;
- };
-
-
- var _range = function ( len, start )
- {
- var out = [];
- var end;
-
- if ( start === undefined ) {
- start = 0;
- end = len;
- }
- else {
- end = start;
- start = len;
- }
-
- for ( var i=start ; i<end ; i++ ) {
- out.push( i );
- }
-
- return out;
- };
-
-
- var _removeEmpty = function ( a )
- {
- var out = [];
-
- for ( var i=0, ien=a.length ; i<ien ; i++ ) {
- if ( a[i] ) { // careful - will remove all falsy values!
- out.push( a[i] );
- }
- }
-
- return out;
- };
-
-
- var _stripHtml = function ( d ) {
- return d.replace( _re_html, '' );
- };
-
-
- /**
- * Find the unique elements in a source array.
- *
- * @param {array} src Source array
- * @return {array} Array of unique items
- * @ignore
- */
- var _unique = function ( src )
- {
- // A faster unique method is to use object keys to identify used values,
- // but this doesn't work with arrays or objects, which we must also
- // consider. See jsperf.com/compare-array-unique-versions/4 for more
- // information.
- var
- out = [],
- val,
- i, ien=src.length,
- j, k=0;
-
- again: for ( i=0 ; i<ien ; i++ ) {
- val = src[i];
-
- for ( j=0 ; j<k ; j++ ) {
- if ( out[j] === val ) {
- continue again;
- }
- }
-
- out.push( val );
- k++;
- }
-
- return out;
- };
-
-
-
- /**
- * Create a mapping object that allows camel case parameters to be looked up
- * for their Hungarian counterparts. The mapping is stored in a private
- * parameter called `_hungarianMap` which can be accessed on the source object.
- * @param {object} o
- * @memberof DataTable#oApi
- */
- function _fnHungarianMap ( o )
- {
- var
- hungarian = 'a aa ai ao as b fn i m o s ',
- match,
- newKey,
- map = {};
-
- $.each( o, function (key, val) {
- match = key.match(/^([^A-Z]+?)([A-Z])/);
-
- if ( match && hungarian.indexOf(match[1]+' ') !== -1 )
- {
- newKey = key.replace( match[0], match[2].toLowerCase() );
- map[ newKey ] = key;
-
- if ( match[1] === 'o' )
- {
- _fnHungarianMap( o[key] );
- }
- }
- } );
-
- o._hungarianMap = map;
- }
-
-
- /**
- * Convert from camel case parameters to Hungarian, based on a Hungarian map
- * created by _fnHungarianMap.
- * @param {object} src The model object which holds all parameters that can be
- * mapped.
- * @param {object} user The object to convert from camel case to Hungarian.
- * @param {boolean} force When set to `true`, properties which already have a
- * Hungarian value in the `user` object will be overwritten. Otherwise they
- * won't be.
- * @memberof DataTable#oApi
- */
- function _fnCamelToHungarian ( src, user, force )
- {
- if ( ! src._hungarianMap ) {
- _fnHungarianMap( src );
- }
-
- var hungarianKey;
-
- $.each( user, function (key, val) {
- hungarianKey = src._hungarianMap[ key ];
-
- if ( hungarianKey !== undefined && (force || user[hungarianKey] === undefined) )
- {
- // For objects, we need to buzz down into the object to copy parameters
- if ( hungarianKey.charAt(0) === 'o' )
- {
- // Copy the camelCase options over to the hungarian
- if ( ! user[ hungarianKey ] ) {
- user[ hungarianKey ] = {};
- }
- $.extend( true, user[hungarianKey], user[key] );
-
- _fnCamelToHungarian( src[hungarianKey], user[hungarianKey], force );
- }
- else {
- user[hungarianKey] = user[ key ];
- }
- }
- } );
- }
-
-
- /**
- * Language compatibility - when certain options are given, and others aren't, we
- * need to duplicate the values over, in order to provide backwards compatibility
- * with older language files.
- * @param {object} oSettings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnLanguageCompat( lang )
- {
- var defaults = DataTable.defaults.oLanguage;
- var zeroRecords = lang.sZeroRecords;
-
- /* Backwards compatibility - if there is no sEmptyTable given, then use the same as
- * sZeroRecords - assuming that is given.
- */
- if ( ! lang.sEmptyTable && zeroRecords &&
- defaults.sEmptyTable === "No data available in table" )
- {
- _fnMap( lang, lang, 'sZeroRecords', 'sEmptyTable' );
- }
-
- /* Likewise with loading records */
- if ( ! lang.sLoadingRecords && zeroRecords &&
- defaults.sLoadingRecords === "Loading..." )
- {
- _fnMap( lang, lang, 'sZeroRecords', 'sLoadingRecords' );
- }
-
- // Old parameter name of the thousands separator mapped onto the new
- if ( lang.sInfoThousands ) {
- lang.sThousands = lang.sInfoThousands;
- }
-
- var decimal = lang.sDecimal;
- if ( decimal ) {
- _addNumericSort( decimal );
- }
- }
-
-
- /**
- * Map one parameter onto another
- * @param {object} o Object to map
- * @param {*} knew The new parameter name
- * @param {*} old The old parameter name
- */
- var _fnCompatMap = function ( o, knew, old ) {
- if ( o[ knew ] !== undefined ) {
- o[ old ] = o[ knew ];
- }
- };
-
-
- /**
- * Provide backwards compatibility for the main DT options. Note that the new
- * options are mapped onto the old parameters, so this is an external interface
- * change only.
- * @param {object} init Object to map
- */
- function _fnCompatOpts ( init )
- {
- _fnCompatMap( init, 'ordering', 'bSort' );
- _fnCompatMap( init, 'orderMulti', 'bSortMulti' );
- _fnCompatMap( init, 'orderClasses', 'bSortClasses' );
- _fnCompatMap( init, 'orderCellsTop', 'bSortCellsTop' );
- _fnCompatMap( init, 'order', 'aaSorting' );
- _fnCompatMap( init, 'orderFixed', 'aaSortingFixed' );
- _fnCompatMap( init, 'paging', 'bPaginate' );
- _fnCompatMap( init, 'pagingType', 'sPaginationType' );
- _fnCompatMap( init, 'pageLength', 'iDisplayLength' );
- _fnCompatMap( init, 'searching', 'bFilter' );
-
- // Boolean initialisation of x-scrolling
- if ( typeof init.sScrollX === 'boolean' ) {
- init.sScrollX = init.sScrollX ? '100%' : '';
- }
- if ( typeof init.scrollX === 'boolean' ) {
- init.scrollX = init.scrollX ? '100%' : '';
- }
-
- // Column search objects are in an array, so it needs to be converted
- // element by element
- var searchCols = init.aoSearchCols;
-
- if ( searchCols ) {
- for ( var i=0, ien=searchCols.length ; i<ien ; i++ ) {
- if ( searchCols[i] ) {
- _fnCamelToHungarian( DataTable.models.oSearch, searchCols[i] );
- }
- }
- }
- }
-
-
- /**
- * Provide backwards compatibility for column options. Note that the new options
- * are mapped onto the old parameters, so this is an external interface change
- * only.
- * @param {object} init Object to map
- */
- function _fnCompatCols ( init )
- {
- _fnCompatMap( init, 'orderable', 'bSortable' );
- _fnCompatMap( init, 'orderData', 'aDataSort' );
- _fnCompatMap( init, 'orderSequence', 'asSorting' );
- _fnCompatMap( init, 'orderDataType', 'sortDataType' );
-
- // orderData can be given as an integer
- var dataSort = init.aDataSort;
- if ( dataSort && ! $.isArray( dataSort ) ) {
- init.aDataSort = [ dataSort ];
- }
- }
-
-
- /**
- * Browser feature detection for capabilities, quirks
- * @param {object} settings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnBrowserDetect( settings )
- {
- // We don't need to do this every time DataTables is constructed, the values
- // calculated are specific to the browser and OS configuration which we
- // don't expect to change between initialisations
- if ( ! DataTable.__browser ) {
- var browser = {};
- DataTable.__browser = browser;
-
- // Scrolling feature / quirks detection
- var n = $('<div/>')
- .css( {
- position: 'fixed',
- top: 0,
- left: 0,
- height: 1,
- width: 1,
- overflow: 'hidden'
- } )
- .append(
- $('<div/>')
- .css( {
- position: 'absolute',
- top: 1,
- left: 1,
- width: 100,
- overflow: 'scroll'
- } )
- .append(
- $('<div/>')
- .css( {
- width: '100%',
- height: 10
- } )
- )
- )
- .appendTo( 'body' );
-
- var outer = n.children();
- var inner = outer.children();
-
- // Numbers below, in order, are:
- // inner.offsetWidth, inner.clientWidth, outer.offsetWidth, outer.clientWidth
- //
- // IE6 XP: 100 100 100 83
- // IE7 Vista: 100 100 100 83
- // IE 8+ Windows: 83 83 100 83
- // Evergreen Windows: 83 83 100 83
- // Evergreen Mac with scrollbars: 85 85 100 85
- // Evergreen Mac without scrollbars: 100 100 100 100
-
- // Get scrollbar width
- browser.barWidth = outer[0].offsetWidth - outer[0].clientWidth;
-
- // IE6/7 will oversize a width 100% element inside a scrolling element, to
- // include the width of the scrollbar, while other browsers ensure the inner
- // element is contained without forcing scrolling
- browser.bScrollOversize = inner[0].offsetWidth === 100 && outer[0].clientWidth !== 100;
-
- // In rtl text layout, some browsers (most, but not all) will place the
- // scrollbar on the left, rather than the right.
- browser.bScrollbarLeft = Math.round( inner.offset().left ) !== 1;
-
- // IE8- don't provide height and width for getBoundingClientRect
- browser.bBounding = n[0].getBoundingClientRect().width ? true : false;
-
- n.remove();
- }
-
- $.extend( settings.oBrowser, DataTable.__browser );
- settings.oScroll.iBarWidth = DataTable.__browser.barWidth;
- }
-
-
- /**
- * Array.prototype reduce[Right] method, used for browsers which don't support
- * JS 1.6. Done this way to reduce code size, since we iterate either way
- * @param {object} settings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnReduce ( that, fn, init, start, end, inc )
- {
- var
- i = start,
- value,
- isSet = false;
-
- if ( init !== undefined ) {
- value = init;
- isSet = true;
- }
-
- while ( i !== end ) {
- if ( ! that.hasOwnProperty(i) ) {
- continue;
- }
-
- value = isSet ?
- fn( value, that[i], i, that ) :
- that[i];
-
- isSet = true;
- i += inc;
- }
-
- return value;
- }
-
- /**
- * Add a column to the list used for the table with default values
- * @param {object} oSettings dataTables settings object
- * @param {node} nTh The th element for this column
- * @memberof DataTable#oApi
- */
- function _fnAddColumn( oSettings, nTh )
- {
- // Add column to aoColumns array
- var oDefaults = DataTable.defaults.column;
- var iCol = oSettings.aoColumns.length;
- var oCol = $.extend( {}, DataTable.models.oColumn, oDefaults, {
- "nTh": nTh ? nTh : document.createElement('th'),
- "sTitle": oDefaults.sTitle ? oDefaults.sTitle : nTh ? nTh.innerHTML : '',
- "aDataSort": oDefaults.aDataSort ? oDefaults.aDataSort : [iCol],
- "mData": oDefaults.mData ? oDefaults.mData : iCol,
- idx: iCol
- } );
- oSettings.aoColumns.push( oCol );
-
- // Add search object for column specific search. Note that the `searchCols[ iCol ]`
- // passed into extend can be undefined. This allows the user to give a default
- // with only some of the parameters defined, and also not give a default
- var searchCols = oSettings.aoPreSearchCols;
- searchCols[ iCol ] = $.extend( {}, DataTable.models.oSearch, searchCols[ iCol ] );
-
- // Use the default column options function to initialise classes etc
- _fnColumnOptions( oSettings, iCol, $(nTh).data() );
- }
-
-
- /**
- * Apply options for a column
- * @param {object} oSettings dataTables settings object
- * @param {int} iCol column index to consider
- * @param {object} oOptions object with sType, bVisible and bSearchable etc
- * @memberof DataTable#oApi
- */
- function _fnColumnOptions( oSettings, iCol, oOptions )
- {
- var oCol = oSettings.aoColumns[ iCol ];
- var oClasses = oSettings.oClasses;
- var th = $(oCol.nTh);
-
- // Try to get width information from the DOM. We can't get it from CSS
- // as we'd need to parse the CSS stylesheet. `width` option can override
- if ( ! oCol.sWidthOrig ) {
- // Width attribute
- oCol.sWidthOrig = th.attr('width') || null;
-
- // Style attribute
- var t = (th.attr('style') || '').match(/width:\s*(\d+[pxem%]+)/);
- if ( t ) {
- oCol.sWidthOrig = t[1];
- }
- }
-
- /* User specified column options */
- if ( oOptions !== undefined && oOptions !== null )
- {
- // Backwards compatibility
- _fnCompatCols( oOptions );
-
- // Map camel case parameters to their Hungarian counterparts
- _fnCamelToHungarian( DataTable.defaults.column, oOptions );
-
- /* Backwards compatibility for mDataProp */
- if ( oOptions.mDataProp !== undefined && !oOptions.mData )
- {
- oOptions.mData = oOptions.mDataProp;
- }
-
- if ( oOptions.sType )
- {
- oCol._sManualType = oOptions.sType;
- }
-
- // `class` is a reserved word in Javascript, so we need to provide
- // the ability to use a valid name for the camel case input
- if ( oOptions.className && ! oOptions.sClass )
- {
- oOptions.sClass = oOptions.className;
- }
-
- $.extend( oCol, oOptions );
- _fnMap( oCol, oOptions, "sWidth", "sWidthOrig" );
-
- /* iDataSort to be applied (backwards compatibility), but aDataSort will take
- * priority if defined
- */
- if ( oOptions.iDataSort !== undefined )
- {
- oCol.aDataSort = [ oOptions.iDataSort ];
- }
- _fnMap( oCol, oOptions, "aDataSort" );
- }
-
- /* Cache the data get and set functions for speed */
- var mDataSrc = oCol.mData;
- var mData = _fnGetObjectDataFn( mDataSrc );
- var mRender = oCol.mRender ? _fnGetObjectDataFn( oCol.mRender ) : null;
-
- var attrTest = function( src ) {
- return typeof src === 'string' && src.indexOf('@') !== -1;
- };
- oCol._bAttrSrc = $.isPlainObject( mDataSrc ) && (
- attrTest(mDataSrc.sort) || attrTest(mDataSrc.type) || attrTest(mDataSrc.filter)
- );
- oCol._setter = null;
-
- oCol.fnGetData = function (rowData, type, meta) {
- var innerData = mData( rowData, type, undefined, meta );
-
- return mRender && type ?
- mRender( innerData, type, rowData, meta ) :
- innerData;
- };
- oCol.fnSetData = function ( rowData, val, meta ) {
- return _fnSetObjectDataFn( mDataSrc )( rowData, val, meta );
- };
-
- // Indicate if DataTables should read DOM data as an object or array
- // Used in _fnGetRowElements
- if ( typeof mDataSrc !== 'number' ) {
- oSettings._rowReadObject = true;
- }
-
- /* Feature sorting overrides column specific when off */
- if ( !oSettings.oFeatures.bSort )
- {
- oCol.bSortable = false;
- th.addClass( oClasses.sSortableNone ); // Have to add class here as order event isn't called
- }
-
- /* Check that the class assignment is correct for sorting */
- var bAsc = $.inArray('asc', oCol.asSorting) !== -1;
- var bDesc = $.inArray('desc', oCol.asSorting) !== -1;
- if ( !oCol.bSortable || (!bAsc && !bDesc) )
- {
- oCol.sSortingClass = oClasses.sSortableNone;
- oCol.sSortingClassJUI = "";
- }
- else if ( bAsc && !bDesc )
- {
- oCol.sSortingClass = oClasses.sSortableAsc;
- oCol.sSortingClassJUI = oClasses.sSortJUIAscAllowed;
- }
- else if ( !bAsc && bDesc )
- {
- oCol.sSortingClass = oClasses.sSortableDesc;
- oCol.sSortingClassJUI = oClasses.sSortJUIDescAllowed;
- }
- else
- {
- oCol.sSortingClass = oClasses.sSortable;
- oCol.sSortingClassJUI = oClasses.sSortJUI;
- }
- }
-
-
- /**
- * Adjust the table column widths for new data. Note: you would probably want to
- * do a redraw after calling this function!
- * @param {object} settings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnAdjustColumnSizing ( settings )
- {
- /* Not interested in doing column width calculation if auto-width is disabled */
- if ( settings.oFeatures.bAutoWidth !== false )
- {
- var columns = settings.aoColumns;
-
- _fnCalculateColumnWidths( settings );
- for ( var i=0 , iLen=columns.length ; i<iLen ; i++ )
- {
- columns[i].nTh.style.width = columns[i].sWidth;
- }
- }
-
- var scroll = settings.oScroll;
- if ( scroll.sY !== '' || scroll.sX !== '')
- {
- _fnScrollDraw( settings );
- }
-
- _fnCallbackFire( settings, null, 'column-sizing', [settings] );
- }
-
-
- /**
- * Covert the index of a visible column to the index in the data array (take account
- * of hidden columns)
- * @param {object} oSettings dataTables settings object
- * @param {int} iMatch Visible column index to lookup
- * @returns {int} i the data index
- * @memberof DataTable#oApi
- */
- function _fnVisibleToColumnIndex( oSettings, iMatch )
- {
- var aiVis = _fnGetColumns( oSettings, 'bVisible' );
-
- return typeof aiVis[iMatch] === 'number' ?
- aiVis[iMatch] :
- null;
- }
-
-
- /**
- * Covert the index of an index in the data array and convert it to the visible
- * column index (take account of hidden columns)
- * @param {int} iMatch Column index to lookup
- * @param {object} oSettings dataTables settings object
- * @returns {int} i the data index
- * @memberof DataTable#oApi
- */
- function _fnColumnIndexToVisible( oSettings, iMatch )
- {
- var aiVis = _fnGetColumns( oSettings, 'bVisible' );
- var iPos = $.inArray( iMatch, aiVis );
-
- return iPos !== -1 ? iPos : null;
- }
-
-
- /**
- * Get the number of visible columns
- * @param {object} oSettings dataTables settings object
- * @returns {int} i the number of visible columns
- * @memberof DataTable#oApi
- */
- function _fnVisbleColumns( oSettings )
- {
- return $( _pluck( oSettings.aoColumns, 'nTh' ) ).filter(':visible').length;
- }
-
-
- /**
- * Get an array of column indexes that match a given property
- * @param {object} oSettings dataTables settings object
- * @param {string} sParam Parameter in aoColumns to look for - typically
- * bVisible or bSearchable
- * @returns {array} Array of indexes with matched properties
- * @memberof DataTable#oApi
- */
- function _fnGetColumns( oSettings, sParam )
- {
- var a = [];
-
- $.map( oSettings.aoColumns, function(val, i) {
- if ( val[sParam] ) {
- a.push( i );
- }
- } );
-
- return a;
- }
-
-
- /**
- * Calculate the 'type' of a column
- * @param {object} settings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnColumnTypes ( settings )
- {
- var columns = settings.aoColumns;
- var data = settings.aoData;
- var types = DataTable.ext.type.detect;
- var i, ien, j, jen, k, ken;
- var col, cell, detectedType, cache;
-
- // For each column, spin over the
- for ( i=0, ien=columns.length ; i<ien ; i++ ) {
- col = columns[i];
- cache = [];
-
- if ( ! col.sType && col._sManualType ) {
- col.sType = col._sManualType;
- }
- else if ( ! col.sType ) {
- for ( j=0, jen=types.length ; j<jen ; j++ ) {
- for ( k=0, ken=data.length ; k<ken ; k++ ) {
- // Use a cache array so we only need to get the type data
- // from the formatter once (when using multiple detectors)
- if ( cache[k] === undefined ) {
- cache[k] = _fnGetCellData( settings, k, i, 'type' );
- }
-
- detectedType = types[j]( cache[k], settings );
-
- // If null, then this type can't apply to this column, so
- // rather than testing all cells, break out. There is an
- // exception for the last type which is `html`. We need to
- // scan all rows since it is possible to mix string and HTML
- // types
- if ( ! detectedType && j !== types.length-1 ) {
- break;
- }
-
- // Only a single match is needed for html type since it is
- // bottom of the pile and very similar to string
- if ( detectedType === 'html' ) {
- break;
- }
- }
-
- // Type is valid for all data points in the column - use this
- // type
- if ( detectedType ) {
- col.sType = detectedType;
- break;
- }
- }
-
- // Fall back - if no type was detected, always use string
- if ( ! col.sType ) {
- col.sType = 'string';
- }
- }
- }
- }
-
-
- /**
- * Take the column definitions and static columns arrays and calculate how
- * they relate to column indexes. The callback function will then apply the
- * definition found for a column to a suitable configuration object.
- * @param {object} oSettings dataTables settings object
- * @param {array} aoColDefs The aoColumnDefs array that is to be applied
- * @param {array} aoCols The aoColumns array that defines columns individually
- * @param {function} fn Callback function - takes two parameters, the calculated
- * column index and the definition for that column.
- * @memberof DataTable#oApi
- */
- function _fnApplyColumnDefs( oSettings, aoColDefs, aoCols, fn )
- {
- var i, iLen, j, jLen, k, kLen, def;
- var columns = oSettings.aoColumns;
-
- // Column definitions with aTargets
- if ( aoColDefs )
- {
- /* Loop over the definitions array - loop in reverse so first instance has priority */
- for ( i=aoColDefs.length-1 ; i>=0 ; i-- )
- {
- def = aoColDefs[i];
-
- /* Each definition can target multiple columns, as it is an array */
- var aTargets = def.targets !== undefined ?
- def.targets :
- def.aTargets;
-
- if ( ! $.isArray( aTargets ) )
- {
- aTargets = [ aTargets ];
- }
-
- for ( j=0, jLen=aTargets.length ; j<jLen ; j++ )
- {
- if ( typeof aTargets[j] === 'number' && aTargets[j] >= 0 )
- {
- /* Add columns that we don't yet know about */
- while( columns.length <= aTargets[j] )
- {
- _fnAddColumn( oSettings );
- }
-
- /* Integer, basic index */
- fn( aTargets[j], def );
- }
- else if ( typeof aTargets[j] === 'number' && aTargets[j] < 0 )
- {
- /* Negative integer, right to left column counting */
- fn( columns.length+aTargets[j], def );
- }
- else if ( typeof aTargets[j] === 'string' )
- {
- /* Class name matching on TH element */
- for ( k=0, kLen=columns.length ; k<kLen ; k++ )
- {
- if ( aTargets[j] == "_all" ||
- $(columns[k].nTh).hasClass( aTargets[j] ) )
- {
- fn( k, def );
- }
- }
- }
- }
- }
- }
-
- // Statically defined columns array
- if ( aoCols )
- {
- for ( i=0, iLen=aoCols.length ; i<iLen ; i++ )
- {
- fn( i, aoCols[i] );
- }
- }
- }
-
- /**
- * Add a data array to the table, creating DOM node etc. This is the parallel to
- * _fnGatherData, but for adding rows from a Javascript source, rather than a
- * DOM source.
- * @param {object} oSettings dataTables settings object
- * @param {array} aData data array to be added
- * @param {node} [nTr] TR element to add to the table - optional. If not given,
- * DataTables will create a row automatically
- * @param {array} [anTds] Array of TD|TH elements for the row - must be given
- * if nTr is.
- * @returns {int} >=0 if successful (index of new aoData entry), -1 if failed
- * @memberof DataTable#oApi
- */
- function _fnAddData ( oSettings, aDataIn, nTr, anTds )
- {
- /* Create the object for storing information about this new row */
- var iRow = oSettings.aoData.length;
- var oData = $.extend( true, {}, DataTable.models.oRow, {
- src: nTr ? 'dom' : 'data',
- idx: iRow
- } );
-
- oData._aData = aDataIn;
- oSettings.aoData.push( oData );
-
- /* Create the cells */
- var nTd, sThisType;
- var columns = oSettings.aoColumns;
-
- // Invalidate the column types as the new data needs to be revalidated
- for ( var i=0, iLen=columns.length ; i<iLen ; i++ )
- {
- columns[i].sType = null;
- }
-
- /* Add to the display array */
- oSettings.aiDisplayMaster.push( iRow );
-
- var id = oSettings.rowIdFn( aDataIn );
- if ( id !== undefined ) {
- oSettings.aIds[ id ] = oData;
- }
-
- /* Create the DOM information, or register it if already present */
- if ( nTr || ! oSettings.oFeatures.bDeferRender )
- {
- _fnCreateTr( oSettings, iRow, nTr, anTds );
- }
-
- return iRow;
- }
-
-
- /**
- * Add one or more TR elements to the table. Generally we'd expect to
- * use this for reading data from a DOM sourced table, but it could be
- * used for an TR element. Note that if a TR is given, it is used (i.e.
- * it is not cloned).
- * @param {object} settings dataTables settings object
- * @param {array|node|jQuery} trs The TR element(s) to add to the table
- * @returns {array} Array of indexes for the added rows
- * @memberof DataTable#oApi
- */
- function _fnAddTr( settings, trs )
- {
- var row;
-
- // Allow an individual node to be passed in
- if ( ! (trs instanceof $) ) {
- trs = $(trs);
- }
-
- return trs.map( function (i, el) {
- row = _fnGetRowElements( settings, el );
- return _fnAddData( settings, row.data, el, row.cells );
- } );
- }
-
-
- /**
- * Take a TR element and convert it to an index in aoData
- * @param {object} oSettings dataTables settings object
- * @param {node} n the TR element to find
- * @returns {int} index if the node is found, null if not
- * @memberof DataTable#oApi
- */
- function _fnNodeToDataIndex( oSettings, n )
- {
- return (n._DT_RowIndex!==undefined) ? n._DT_RowIndex : null;
- }
-
-
- /**
- * Take a TD element and convert it into a column data index (not the visible index)
- * @param {object} oSettings dataTables settings object
- * @param {int} iRow The row number the TD/TH can be found in
- * @param {node} n The TD/TH element to find
- * @returns {int} index if the node is found, -1 if not
- * @memberof DataTable#oApi
- */
- function _fnNodeToColumnIndex( oSettings, iRow, n )
- {
- return $.inArray( n, oSettings.aoData[ iRow ].anCells );
- }
-
-
- /**
- * Get the data for a given cell from the internal cache, taking into account data mapping
- * @param {object} settings dataTables settings object
- * @param {int} rowIdx aoData row id
- * @param {int} colIdx Column index
- * @param {string} type data get type ('display', 'type' 'filter' 'sort')
- * @returns {*} Cell data
- * @memberof DataTable#oApi
- */
- function _fnGetCellData( settings, rowIdx, colIdx, type )
- {
- var draw = settings.iDraw;
- var col = settings.aoColumns[colIdx];
- var rowData = settings.aoData[rowIdx]._aData;
- var defaultContent = col.sDefaultContent;
- var cellData = col.fnGetData( rowData, type, {
- settings: settings,
- row: rowIdx,
- col: colIdx
- } );
-
- if ( cellData === undefined ) {
- if ( settings.iDrawError != draw && defaultContent === null ) {
- _fnLog( settings, 0, "Requested unknown parameter "+
- (typeof col.mData=='function' ? '{function}' : "'"+col.mData+"'")+
- " for row "+rowIdx+", column "+colIdx, 4 );
- settings.iDrawError = draw;
- }
- return defaultContent;
- }
-
- // When the data source is null and a specific data type is requested (i.e.
- // not the original data), we can use default column data
- if ( (cellData === rowData || cellData === null) && defaultContent !== null && type !== undefined ) {
- cellData = defaultContent;
- }
- else if ( typeof cellData === 'function' ) {
- // If the data source is a function, then we run it and use the return,
- // executing in the scope of the data object (for instances)
- return cellData.call( rowData );
- }
-
- if ( cellData === null && type == 'display' ) {
- return '';
- }
- return cellData;
- }
-
-
- /**
- * Set the value for a specific cell, into the internal data cache
- * @param {object} settings dataTables settings object
- * @param {int} rowIdx aoData row id
- * @param {int} colIdx Column index
- * @param {*} val Value to set
- * @memberof DataTable#oApi
- */
- function _fnSetCellData( settings, rowIdx, colIdx, val )
- {
- var col = settings.aoColumns[colIdx];
- var rowData = settings.aoData[rowIdx]._aData;
-
- col.fnSetData( rowData, val, {
- settings: settings,
- row: rowIdx,
- col: colIdx
- } );
- }
-
-
- // Private variable that is used to match action syntax in the data property object
- var __reArray = /\[.*?\]$/;
- var __reFn = /\(\)$/;
-
- /**
- * Split string on periods, taking into account escaped periods
- * @param {string} str String to split
- * @return {array} Split string
- */
- function _fnSplitObjNotation( str )
- {
- return $.map( str.match(/(\\.|[^\.])+/g) || [''], function ( s ) {
- return s.replace(/\\./g, '.');
- } );
- }
-
-
- /**
- * Return a function that can be used to get data from a source object, taking
- * into account the ability to use nested objects as a source
- * @param {string|int|function} mSource The data source for the object
- * @returns {function} Data get function
- * @memberof DataTable#oApi
- */
- function _fnGetObjectDataFn( mSource )
- {
- if ( $.isPlainObject( mSource ) )
- {
- /* Build an object of get functions, and wrap them in a single call */
- var o = {};
- $.each( mSource, function (key, val) {
- if ( val ) {
- o[key] = _fnGetObjectDataFn( val );
- }
- } );
-
- return function (data, type, row, meta) {
- var t = o[type] || o._;
- return t !== undefined ?
- t(data, type, row, meta) :
- data;
- };
- }
- else if ( mSource === null )
- {
- /* Give an empty string for rendering / sorting etc */
- return function (data) { // type, row and meta also passed, but not used
- return data;
- };
- }
- else if ( typeof mSource === 'function' )
- {
- return function (data, type, row, meta) {
- return mSource( data, type, row, meta );
- };
- }
- else if ( typeof mSource === 'string' && (mSource.indexOf('.') !== -1 ||
- mSource.indexOf('[') !== -1 || mSource.indexOf('(') !== -1) )
- {
- /* If there is a . in the source string then the data source is in a
- * nested object so we loop over the data for each level to get the next
- * level down. On each loop we test for undefined, and if found immediately
- * return. This allows entire objects to be missing and sDefaultContent to
- * be used if defined, rather than throwing an error
- */
- var fetchData = function (data, type, src) {
- var arrayNotation, funcNotation, out, innerSrc;
-
- if ( src !== "" )
- {
- var a = _fnSplitObjNotation( src );
-
- for ( var i=0, iLen=a.length ; i<iLen ; i++ )
- {
- // Check if we are dealing with special notation
- arrayNotation = a[i].match(__reArray);
- funcNotation = a[i].match(__reFn);
-
- if ( arrayNotation )
- {
- // Array notation
- a[i] = a[i].replace(__reArray, '');
-
- // Condition allows simply [] to be passed in
- if ( a[i] !== "" ) {
- data = data[ a[i] ];
- }
- out = [];
-
- // Get the remainder of the nested object to get
- a.splice( 0, i+1 );
- innerSrc = a.join('.');
-
- // Traverse each entry in the array getting the properties requested
- if ( $.isArray( data ) ) {
- for ( var j=0, jLen=data.length ; j<jLen ; j++ ) {
- out.push( fetchData( data[j], type, innerSrc ) );
- }
- }
-
- // If a string is given in between the array notation indicators, that
- // is used to join the strings together, otherwise an array is returned
- var join = arrayNotation[0].substring(1, arrayNotation[0].length-1);
- data = (join==="") ? out : out.join(join);
-
- // The inner call to fetchData has already traversed through the remainder
- // of the source requested, so we exit from the loop
- break;
- }
- else if ( funcNotation )
- {
- // Function call
- a[i] = a[i].replace(__reFn, '');
- data = data[ a[i] ]();
- continue;
- }
-
- if ( data === null || data[ a[i] ] === undefined )
- {
- return undefined;
- }
- data = data[ a[i] ];
- }
- }
-
- return data;
- };
-
- return function (data, type) { // row and meta also passed, but not used
- return fetchData( data, type, mSource );
- };
- }
- else
- {
- /* Array or flat object mapping */
- return function (data, type) { // row and meta also passed, but not used
- return data[mSource];
- };
- }
- }
-
-
- /**
- * Return a function that can be used to set data from a source object, taking
- * into account the ability to use nested objects as a source
- * @param {string|int|function} mSource The data source for the object
- * @returns {function} Data set function
- * @memberof DataTable#oApi
- */
- function _fnSetObjectDataFn( mSource )
- {
- if ( $.isPlainObject( mSource ) )
- {
- /* Unlike get, only the underscore (global) option is used for for
- * setting data since we don't know the type here. This is why an object
- * option is not documented for `mData` (which is read/write), but it is
- * for `mRender` which is read only.
- */
- return _fnSetObjectDataFn( mSource._ );
- }
- else if ( mSource === null )
- {
- /* Nothing to do when the data source is null */
- return function () {};
- }
- else if ( typeof mSource === 'function' )
- {
- return function (data, val, meta) {
- mSource( data, 'set', val, meta );
- };
- }
- else if ( typeof mSource === 'string' && (mSource.indexOf('.') !== -1 ||
- mSource.indexOf('[') !== -1 || mSource.indexOf('(') !== -1) )
- {
- /* Like the get, we need to get data from a nested object */
- var setData = function (data, val, src) {
- var a = _fnSplitObjNotation( src ), b;
- var aLast = a[a.length-1];
- var arrayNotation, funcNotation, o, innerSrc;
-
- for ( var i=0, iLen=a.length-1 ; i<iLen ; i++ )
- {
- // Check if we are dealing with an array notation request
- arrayNotation = a[i].match(__reArray);
- funcNotation = a[i].match(__reFn);
-
- if ( arrayNotation )
- {
- a[i] = a[i].replace(__reArray, '');
- data[ a[i] ] = [];
-
- // Get the remainder of the nested object to set so we can recurse
- b = a.slice();
- b.splice( 0, i+1 );
- innerSrc = b.join('.');
-
- // Traverse each entry in the array setting the properties requested
- if ( $.isArray( val ) )
- {
- for ( var j=0, jLen=val.length ; j<jLen ; j++ )
- {
- o = {};
- setData( o, val[j], innerSrc );
- data[ a[i] ].push( o );
- }
- }
- else
- {
- // We've been asked to save data to an array, but it
- // isn't array data to be saved. Best that can be done
- // is to just save the value.
- data[ a[i] ] = val;
- }
-
- // The inner call to setData has already traversed through the remainder
- // of the source and has set the data, thus we can exit here
- return;
- }
- else if ( funcNotation )
- {
- // Function call
- a[i] = a[i].replace(__reFn, '');
- data = data[ a[i] ]( val );
- }
-
- // If the nested object doesn't currently exist - since we are
- // trying to set the value - create it
- if ( data[ a[i] ] === null || data[ a[i] ] === undefined )
- {
- data[ a[i] ] = {};
- }
- data = data[ a[i] ];
- }
-
- // Last item in the input - i.e, the actual set
- if ( aLast.match(__reFn ) )
- {
- // Function call
- data = data[ aLast.replace(__reFn, '') ]( val );
- }
- else
- {
- // If array notation is used, we just want to strip it and use the property name
- // and assign the value. If it isn't used, then we get the result we want anyway
- data[ aLast.replace(__reArray, '') ] = val;
- }
- };
-
- return function (data, val) { // meta is also passed in, but not used
- return setData( data, val, mSource );
- };
- }
- else
- {
- /* Array or flat object mapping */
- return function (data, val) { // meta is also passed in, but not used
- data[mSource] = val;
- };
- }
- }
-
-
- /**
- * Return an array with the full table data
- * @param {object} oSettings dataTables settings object
- * @returns array {array} aData Master data array
- * @memberof DataTable#oApi
- */
- function _fnGetDataMaster ( settings )
- {
- return _pluck( settings.aoData, '_aData' );
- }
-
-
- /**
- * Nuke the table
- * @param {object} oSettings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnClearTable( settings )
- {
- settings.aoData.length = 0;
- settings.aiDisplayMaster.length = 0;
- settings.aiDisplay.length = 0;
- settings.aIds = {};
- }
-
-
- /**
- * Take an array of integers (index array) and remove a target integer (value - not
- * the key!)
- * @param {array} a Index array to target
- * @param {int} iTarget value to find
- * @memberof DataTable#oApi
- */
- function _fnDeleteIndex( a, iTarget, splice )
- {
- var iTargetIndex = -1;
-
- for ( var i=0, iLen=a.length ; i<iLen ; i++ )
- {
- if ( a[i] == iTarget )
- {
- iTargetIndex = i;
- }
- else if ( a[i] > iTarget )
- {
- a[i]--;
- }
- }
-
- if ( iTargetIndex != -1 && splice === undefined )
- {
- a.splice( iTargetIndex, 1 );
- }
- }
-
-
- /**
- * Mark cached data as invalid such that a re-read of the data will occur when
- * the cached data is next requested. Also update from the data source object.
- *
- * @param {object} settings DataTables settings object
- * @param {int} rowIdx Row index to invalidate
- * @param {string} [src] Source to invalidate from: undefined, 'auto', 'dom'
- * or 'data'
- * @param {int} [colIdx] Column index to invalidate. If undefined the whole
- * row will be invalidated
- * @memberof DataTable#oApi
- *
- * @todo For the modularisation of v1.11 this will need to become a callback, so
- * the sort and filter methods can subscribe to it. That will required
- * initialisation options for sorting, which is why it is not already baked in
- */
- function _fnInvalidate( settings, rowIdx, src, colIdx )
- {
- var row = settings.aoData[ rowIdx ];
- var i, ien;
- var cellWrite = function ( cell, col ) {
- // This is very frustrating, but in IE if you just write directly
- // to innerHTML, and elements that are overwritten are GC'ed,
- // even if there is a reference to them elsewhere
- while ( cell.childNodes.length ) {
- cell.removeChild( cell.firstChild );
- }
-
- cell.innerHTML = _fnGetCellData( settings, rowIdx, col, 'display' );
- };
-
- // Are we reading last data from DOM or the data object?
- if ( src === 'dom' || ((! src || src === 'auto') && row.src === 'dom') ) {
- // Read the data from the DOM
- row._aData = _fnGetRowElements(
- settings, row, colIdx, colIdx === undefined ? undefined : row._aData
- )
- .data;
- }
- else {
- // Reading from data object, update the DOM
- var cells = row.anCells;
-
- if ( cells ) {
- if ( colIdx !== undefined ) {
- cellWrite( cells[colIdx], colIdx );
- }
- else {
- for ( i=0, ien=cells.length ; i<ien ; i++ ) {
- cellWrite( cells[i], i );
- }
- }
- }
- }
-
- // For both row and cell invalidation, the cached data for sorting and
- // filtering is nulled out
- row._aSortData = null;
- row._aFilterData = null;
-
- // Invalidate the type for a specific column (if given) or all columns since
- // the data might have changed
- var cols = settings.aoColumns;
- if ( colIdx !== undefined ) {
- cols[ colIdx ].sType = null;
- }
- else {
- for ( i=0, ien=cols.length ; i<ien ; i++ ) {
- cols[i].sType = null;
- }
-
- // Update DataTables special `DT_*` attributes for the row
- _fnRowAttributes( settings, row );
- }
- }
-
-
- /**
- * Build a data source object from an HTML row, reading the contents of the
- * cells that are in the row.
- *
- * @param {object} settings DataTables settings object
- * @param {node|object} TR element from which to read data or existing row
- * object from which to re-read the data from the cells
- * @param {int} [colIdx] Optional column index
- * @param {array|object} [d] Data source object. If `colIdx` is given then this
- * parameter should also be given and will be used to write the data into.
- * Only the column in question will be written
- * @returns {object} Object with two parameters: `data` the data read, in
- * document order, and `cells` and array of nodes (they can be useful to the
- * caller, so rather than needing a second traversal to get them, just return
- * them from here).
- * @memberof DataTable#oApi
- */
- function _fnGetRowElements( settings, row, colIdx, d )
- {
- var
- tds = [],
- td = row.firstChild,
- name, col, o, i=0, contents,
- columns = settings.aoColumns,
- objectRead = settings._rowReadObject;
-
- // Allow the data object to be passed in, or construct
- d = d !== undefined ?
- d :
- objectRead ?
- {} :
- [];
-
- var attr = function ( str, td ) {
- if ( typeof str === 'string' ) {
- var idx = str.indexOf('@');
-
- if ( idx !== -1 ) {
- var attr = str.substring( idx+1 );
- var setter = _fnSetObjectDataFn( str );
- setter( d, td.getAttribute( attr ) );
- }
- }
- };
-
- // Read data from a cell and store into the data object
- var cellProcess = function ( cell ) {
- if ( colIdx === undefined || colIdx === i ) {
- col = columns[i];
- contents = $.trim(cell.innerHTML);
-
- if ( col && col._bAttrSrc ) {
- var setter = _fnSetObjectDataFn( col.mData._ );
- setter( d, contents );
-
- attr( col.mData.sort, cell );
- attr( col.mData.type, cell );
- attr( col.mData.filter, cell );
- }
- else {
- // Depending on the `data` option for the columns the data can
- // be read to either an object or an array.
- if ( objectRead ) {
- if ( ! col._setter ) {
- // Cache the setter function
- col._setter = _fnSetObjectDataFn( col.mData );
- }
- col._setter( d, contents );
- }
- else {
- d[i] = contents;
- }
- }
- }
-
- i++;
- };
-
- if ( td ) {
- // `tr` element was passed in
- while ( td ) {
- name = td.nodeName.toUpperCase();
-
- if ( name == "TD" || name == "TH" ) {
- cellProcess( td );
- tds.push( td );
- }
-
- td = td.nextSibling;
- }
- }
- else {
- // Existing row object passed in
- tds = row.anCells;
-
- for ( var j=0, jen=tds.length ; j<jen ; j++ ) {
- cellProcess( tds[j] );
- }
- }
-
- // Read the ID from the DOM if present
- var rowNode = row.firstChild ? row : row.nTr;
-
- if ( rowNode ) {
- var id = rowNode.getAttribute( 'id' );
-
- if ( id ) {
- _fnSetObjectDataFn( settings.rowId )( d, id );
- }
- }
-
- return {
- data: d,
- cells: tds
- };
- }
- /**
- * Create a new TR element (and it's TD children) for a row
- * @param {object} oSettings dataTables settings object
- * @param {int} iRow Row to consider
- * @param {node} [nTrIn] TR element to add to the table - optional. If not given,
- * DataTables will create a row automatically
- * @param {array} [anTds] Array of TD|TH elements for the row - must be given
- * if nTr is.
- * @memberof DataTable#oApi
- */
- function _fnCreateTr ( oSettings, iRow, nTrIn, anTds )
- {
- var
- row = oSettings.aoData[iRow],
- rowData = row._aData,
- cells = [],
- nTr, nTd, oCol,
- i, iLen;
-
- if ( row.nTr === null )
- {
- nTr = nTrIn || document.createElement('tr');
-
- row.nTr = nTr;
- row.anCells = cells;
-
- /* Use a private property on the node to allow reserve mapping from the node
- * to the aoData array for fast look up
- */
- nTr._DT_RowIndex = iRow;
-
- /* Special parameters can be given by the data source to be used on the row */
- _fnRowAttributes( oSettings, row );
-
- /* Process each column */
- for ( i=0, iLen=oSettings.aoColumns.length ; i<iLen ; i++ )
- {
- oCol = oSettings.aoColumns[i];
-
- nTd = nTrIn ? anTds[i] : document.createElement( oCol.sCellType );
- nTd._DT_CellIndex = {
- row: iRow,
- column: i
- };
-
- cells.push( nTd );
-
- // Need to create the HTML if new, or if a rendering function is defined
- if ( (!nTrIn || oCol.mRender || oCol.mData !== i) &&
- (!$.isPlainObject(oCol.mData) || oCol.mData._ !== i+'.display')
- ) {
- nTd.innerHTML = _fnGetCellData( oSettings, iRow, i, 'display' );
- }
-
- /* Add user defined class */
- if ( oCol.sClass )
- {
- nTd.className += ' '+oCol.sClass;
- }
-
- // Visibility - add or remove as required
- if ( oCol.bVisible && ! nTrIn )
- {
- nTr.appendChild( nTd );
- }
- else if ( ! oCol.bVisible && nTrIn )
- {
- nTd.parentNode.removeChild( nTd );
- }
-
- if ( oCol.fnCreatedCell )
- {
- oCol.fnCreatedCell.call( oSettings.oInstance,
- nTd, _fnGetCellData( oSettings, iRow, i ), rowData, iRow, i
- );
- }
- }
-
- _fnCallbackFire( oSettings, 'aoRowCreatedCallback', null, [nTr, rowData, iRow] );
- }
-
- // Remove once webkit bug 131819 and Chromium bug 365619 have been resolved
- // and deployed
- row.nTr.setAttribute( 'role', 'row' );
- }
-
-
- /**
- * Add attributes to a row based on the special `DT_*` parameters in a data
- * source object.
- * @param {object} settings DataTables settings object
- * @param {object} DataTables row object for the row to be modified
- * @memberof DataTable#oApi
- */
- function _fnRowAttributes( settings, row )
- {
- var tr = row.nTr;
- var data = row._aData;
-
- if ( tr ) {
- var id = settings.rowIdFn( data );
-
- if ( id ) {
- tr.id = id;
- }
-
- if ( data.DT_RowClass ) {
- // Remove any classes added by DT_RowClass before
- var a = data.DT_RowClass.split(' ');
- row.__rowc = row.__rowc ?
- _unique( row.__rowc.concat( a ) ) :
- a;
-
- $(tr)
- .removeClass( row.__rowc.join(' ') )
- .addClass( data.DT_RowClass );
- }
-
- if ( data.DT_RowAttr ) {
- $(tr).attr( data.DT_RowAttr );
- }
-
- if ( data.DT_RowData ) {
- $(tr).data( data.DT_RowData );
- }
- }
- }
-
-
- /**
- * Create the HTML header for the table
- * @param {object} oSettings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnBuildHead( oSettings )
- {
- var i, ien, cell, row, column;
- var thead = oSettings.nTHead;
- var tfoot = oSettings.nTFoot;
- var createHeader = $('th, td', thead).length === 0;
- var classes = oSettings.oClasses;
- var columns = oSettings.aoColumns;
-
- if ( createHeader ) {
- row = $('<tr/>').appendTo( thead );
- }
-
- for ( i=0, ien=columns.length ; i<ien ; i++ ) {
- column = columns[i];
- cell = $( column.nTh ).addClass( column.sClass );
-
- if ( createHeader ) {
- cell.appendTo( row );
- }
-
- // 1.11 move into sorting
- if ( oSettings.oFeatures.bSort ) {
- cell.addClass( column.sSortingClass );
-
- if ( column.bSortable !== false ) {
- cell
- .attr( 'tabindex', oSettings.iTabIndex )
- .attr( 'aria-controls', oSettings.sTableId );
-
- _fnSortAttachListener( oSettings, column.nTh, i );
- }
- }
-
- if ( column.sTitle != cell[0].innerHTML ) {
- cell.html( column.sTitle );
- }
-
- _fnRenderer( oSettings, 'header' )(
- oSettings, cell, column, classes
- );
- }
-
- if ( createHeader ) {
- _fnDetectHeader( oSettings.aoHeader, thead );
- }
-
- /* ARIA role for the rows */
- $(thead).find('>tr').attr('role', 'row');
-
- /* Deal with the footer - add classes if required */
- $(thead).find('>tr>th, >tr>td').addClass( classes.sHeaderTH );
- $(tfoot).find('>tr>th, >tr>td').addClass( classes.sFooterTH );
-
- // Cache the footer cells. Note that we only take the cells from the first
- // row in the footer. If there is more than one row the user wants to
- // interact with, they need to use the table().foot() method. Note also this
- // allows cells to be used for multiple columns using colspan
- if ( tfoot !== null ) {
- var cells = oSettings.aoFooter[0];
-
- for ( i=0, ien=cells.length ; i<ien ; i++ ) {
- column = columns[i];
- column.nTf = cells[i].cell;
-
- if ( column.sClass ) {
- $(column.nTf).addClass( column.sClass );
- }
- }
- }
- }
-
-
- /**
- * Draw the header (or footer) element based on the column visibility states. The
- * methodology here is to use the layout array from _fnDetectHeader, modified for
- * the instantaneous column visibility, to construct the new layout. The grid is
- * traversed over cell at a time in a rows x columns grid fashion, although each
- * cell insert can cover multiple elements in the grid - which is tracks using the
- * aApplied array. Cell inserts in the grid will only occur where there isn't
- * already a cell in that position.
- * @param {object} oSettings dataTables settings object
- * @param array {objects} aoSource Layout array from _fnDetectHeader
- * @param {boolean} [bIncludeHidden=false] If true then include the hidden columns in the calc,
- * @memberof DataTable#oApi
- */
- function _fnDrawHead( oSettings, aoSource, bIncludeHidden )
- {
- var i, iLen, j, jLen, k, kLen, n, nLocalTr;
- var aoLocal = [];
- var aApplied = [];
- var iColumns = oSettings.aoColumns.length;
- var iRowspan, iColspan;
-
- if ( ! aoSource )
- {
- return;
- }
-
- if ( bIncludeHidden === undefined )
- {
- bIncludeHidden = false;
- }
-
- /* Make a copy of the master layout array, but without the visible columns in it */
- for ( i=0, iLen=aoSource.length ; i<iLen ; i++ )
- {
- aoLocal[i] = aoSource[i].slice();
- aoLocal[i].nTr = aoSource[i].nTr;
-
- /* Remove any columns which are currently hidden */
- for ( j=iColumns-1 ; j>=0 ; j-- )
- {
- if ( !oSettings.aoColumns[j].bVisible && !bIncludeHidden )
- {
- aoLocal[i].splice( j, 1 );
- }
- }
-
- /* Prep the applied array - it needs an element for each row */
- aApplied.push( [] );
- }
-
- for ( i=0, iLen=aoLocal.length ; i<iLen ; i++ )
- {
- nLocalTr = aoLocal[i].nTr;
-
- /* All cells are going to be replaced, so empty out the row */
- if ( nLocalTr )
- {
- while( (n = nLocalTr.firstChild) )
- {
- nLocalTr.removeChild( n );
- }
- }
-
- for ( j=0, jLen=aoLocal[i].length ; j<jLen ; j++ )
- {
- iRowspan = 1;
- iColspan = 1;
-
- /* Check to see if there is already a cell (row/colspan) covering our target
- * insert point. If there is, then there is nothing to do.
- */
- if ( aApplied[i][j] === undefined )
- {
- nLocalTr.appendChild( aoLocal[i][j].cell );
- aApplied[i][j] = 1;
-
- /* Expand the cell to cover as many rows as needed */
- while ( aoLocal[i+iRowspan] !== undefined &&
- aoLocal[i][j].cell == aoLocal[i+iRowspan][j].cell )
- {
- aApplied[i+iRowspan][j] = 1;
- iRowspan++;
- }
-
- /* Expand the cell to cover as many columns as needed */
- while ( aoLocal[i][j+iColspan] !== undefined &&
- aoLocal[i][j].cell == aoLocal[i][j+iColspan].cell )
- {
- /* Must update the applied array over the rows for the columns */
- for ( k=0 ; k<iRowspan ; k++ )
- {
- aApplied[i+k][j+iColspan] = 1;
- }
- iColspan++;
- }
-
- /* Do the actual expansion in the DOM */
- $(aoLocal[i][j].cell)
- .attr('rowspan', iRowspan)
- .attr('colspan', iColspan);
- }
- }
- }
- }
-
-
- /**
- * Insert the required TR nodes into the table for display
- * @param {object} oSettings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnDraw( oSettings )
- {
- /* Provide a pre-callback function which can be used to cancel the draw is false is returned */
- var aPreDraw = _fnCallbackFire( oSettings, 'aoPreDrawCallback', 'preDraw', [oSettings] );
- if ( $.inArray( false, aPreDraw ) !== -1 )
- {
- _fnProcessingDisplay( oSettings, false );
- return;
- }
-
- var i, iLen, n;
- var anRows = [];
- var iRowCount = 0;
- var asStripeClasses = oSettings.asStripeClasses;
- var iStripes = asStripeClasses.length;
- var iOpenRows = oSettings.aoOpenRows.length;
- var oLang = oSettings.oLanguage;
- var iInitDisplayStart = oSettings.iInitDisplayStart;
- var bServerSide = _fnDataSource( oSettings ) == 'ssp';
- var aiDisplay = oSettings.aiDisplay;
-
- oSettings.bDrawing = true;
-
- /* Check and see if we have an initial draw position from state saving */
- if ( iInitDisplayStart !== undefined && iInitDisplayStart !== -1 )
- {
- oSettings._iDisplayStart = bServerSide ?
- iInitDisplayStart :
- iInitDisplayStart >= oSettings.fnRecordsDisplay() ?
- 0 :
- iInitDisplayStart;
-
- oSettings.iInitDisplayStart = -1;
- }
-
- var iDisplayStart = oSettings._iDisplayStart;
- var iDisplayEnd = oSettings.fnDisplayEnd();
-
- /* Server-side processing draw intercept */
- if ( oSettings.bDeferLoading )
- {
- oSettings.bDeferLoading = false;
- oSettings.iDraw++;
- _fnProcessingDisplay( oSettings, false );
- }
- else if ( !bServerSide )
- {
- oSettings.iDraw++;
- }
- else if ( !oSettings.bDestroying && !_fnAjaxUpdate( oSettings ) )
- {
- return;
- }
-
- if ( aiDisplay.length !== 0 )
- {
- var iStart = bServerSide ? 0 : iDisplayStart;
- var iEnd = bServerSide ? oSettings.aoData.length : iDisplayEnd;
-
- for ( var j=iStart ; j<iEnd ; j++ )
- {
- var iDataIndex = aiDisplay[j];
- var aoData = oSettings.aoData[ iDataIndex ];
- if ( aoData.nTr === null )
- {
- _fnCreateTr( oSettings, iDataIndex );
- }
-
- var nRow = aoData.nTr;
-
- /* Remove the old striping classes and then add the new one */
- if ( iStripes !== 0 )
- {
- var sStripe = asStripeClasses[ iRowCount % iStripes ];
- if ( aoData._sRowStripe != sStripe )
- {
- $(nRow).removeClass( aoData._sRowStripe ).addClass( sStripe );
- aoData._sRowStripe = sStripe;
- }
- }
-
- // Row callback functions - might want to manipulate the row
- // iRowCount and j are not currently documented. Are they at all
- // useful?
- _fnCallbackFire( oSettings, 'aoRowCallback', null,
- [nRow, aoData._aData, iRowCount, j] );
-
- anRows.push( nRow );
- iRowCount++;
- }
- }
- else
- {
- /* Table is empty - create a row with an empty message in it */
- var sZero = oLang.sZeroRecords;
- if ( oSettings.iDraw == 1 && _fnDataSource( oSettings ) == 'ajax' )
- {
- sZero = oLang.sLoadingRecords;
- }
- else if ( oLang.sEmptyTable && oSettings.fnRecordsTotal() === 0 )
- {
- sZero = oLang.sEmptyTable;
- }
-
- anRows[ 0 ] = $( '<tr/>', { 'class': iStripes ? asStripeClasses[0] : '' } )
- .append( $('<td />', {
- 'valign': 'top',
- 'colSpan': _fnVisbleColumns( oSettings ),
- 'class': oSettings.oClasses.sRowEmpty
- } ).html( sZero ) )[0];
- }
-
- /* Header and footer callbacks */
- _fnCallbackFire( oSettings, 'aoHeaderCallback', 'header', [ $(oSettings.nTHead).children('tr')[0],
- _fnGetDataMaster( oSettings ), iDisplayStart, iDisplayEnd, aiDisplay ] );
-
- _fnCallbackFire( oSettings, 'aoFooterCallback', 'footer', [ $(oSettings.nTFoot).children('tr')[0],
- _fnGetDataMaster( oSettings ), iDisplayStart, iDisplayEnd, aiDisplay ] );
-
- var body = $(oSettings.nTBody);
-
- body.children().detach();
- body.append( $(anRows) );
-
- /* Call all required callback functions for the end of a draw */
- _fnCallbackFire( oSettings, 'aoDrawCallback', 'draw', [oSettings] );
-
- /* Draw is complete, sorting and filtering must be as well */
- oSettings.bSorted = false;
- oSettings.bFiltered = false;
- oSettings.bDrawing = false;
- }
-
-
- /**
- * Redraw the table - taking account of the various features which are enabled
- * @param {object} oSettings dataTables settings object
- * @param {boolean} [holdPosition] Keep the current paging position. By default
- * the paging is reset to the first page
- * @memberof DataTable#oApi
- */
- function _fnReDraw( settings, holdPosition )
- {
- var
- features = settings.oFeatures,
- sort = features.bSort,
- filter = features.bFilter;
-
- if ( sort ) {
- _fnSort( settings );
- }
-
- if ( filter ) {
- _fnFilterComplete( settings, settings.oPreviousSearch );
- }
- else {
- // No filtering, so we want to just use the display master
- settings.aiDisplay = settings.aiDisplayMaster.slice();
- }
-
- if ( holdPosition !== true ) {
- settings._iDisplayStart = 0;
- }
-
- // Let any modules know about the draw hold position state (used by
- // scrolling internally)
- settings._drawHold = holdPosition;
-
- _fnDraw( settings );
-
- settings._drawHold = false;
- }
-
-
- /**
- * Add the options to the page HTML for the table
- * @param {object} oSettings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnAddOptionsHtml ( oSettings )
- {
- var classes = oSettings.oClasses;
- var table = $(oSettings.nTable);
- var holding = $('<div/>').insertBefore( table ); // Holding element for speed
- var features = oSettings.oFeatures;
-
- // All DataTables are wrapped in a div
- var insert = $('<div/>', {
- id: oSettings.sTableId+'_wrapper',
- 'class': classes.sWrapper + (oSettings.nTFoot ? '' : ' '+classes.sNoFooter)
- } );
-
- oSettings.nHolding = holding[0];
- oSettings.nTableWrapper = insert[0];
- oSettings.nTableReinsertBefore = oSettings.nTable.nextSibling;
-
- /* Loop over the user set positioning and place the elements as needed */
- var aDom = oSettings.sDom.split('');
- var featureNode, cOption, nNewNode, cNext, sAttr, j;
- for ( var i=0 ; i<aDom.length ; i++ )
- {
- featureNode = null;
- cOption = aDom[i];
-
- if ( cOption == '<' )
- {
- /* New container div */
- nNewNode = $('<div/>')[0];
-
- /* Check to see if we should append an id and/or a class name to the container */
- cNext = aDom[i+1];
- if ( cNext == "'" || cNext == '"' )
- {
- sAttr = "";
- j = 2;
- while ( aDom[i+j] != cNext )
- {
- sAttr += aDom[i+j];
- j++;
- }
-
- /* Replace jQuery UI constants @todo depreciated */
- if ( sAttr == "H" )
- {
- sAttr = classes.sJUIHeader;
- }
- else if ( sAttr == "F" )
- {
- sAttr = classes.sJUIFooter;
- }
-
- /* The attribute can be in the format of "#id.class", "#id" or "class" This logic
- * breaks the string into parts and applies them as needed
- */
- if ( sAttr.indexOf('.') != -1 )
- {
- var aSplit = sAttr.split('.');
- nNewNode.id = aSplit[0].substr(1, aSplit[0].length-1);
- nNewNode.className = aSplit[1];
- }
- else if ( sAttr.charAt(0) == "#" )
- {
- nNewNode.id = sAttr.substr(1, sAttr.length-1);
- }
- else
- {
- nNewNode.className = sAttr;
- }
-
- i += j; /* Move along the position array */
- }
-
- insert.append( nNewNode );
- insert = $(nNewNode);
- }
- else if ( cOption == '>' )
- {
- /* End container div */
- insert = insert.parent();
- }
- // @todo Move options into their own plugins?
- else if ( cOption == 'l' && features.bPaginate && features.bLengthChange )
- {
- /* Length */
- featureNode = _fnFeatureHtmlLength( oSettings );
- }
- else if ( cOption == 'f' && features.bFilter )
- {
- /* Filter */
- featureNode = _fnFeatureHtmlFilter( oSettings );
- }
- else if ( cOption == 'r' && features.bProcessing )
- {
- /* pRocessing */
- featureNode = _fnFeatureHtmlProcessing( oSettings );
- }
- else if ( cOption == 't' )
- {
- /* Table */
- featureNode = _fnFeatureHtmlTable( oSettings );
- }
- else if ( cOption == 'i' && features.bInfo )
- {
- /* Info */
- featureNode = _fnFeatureHtmlInfo( oSettings );
- }
- else if ( cOption == 'p' && features.bPaginate )
- {
- /* Pagination */
- featureNode = _fnFeatureHtmlPaginate( oSettings );
- }
- else if ( DataTable.ext.feature.length !== 0 )
- {
- /* Plug-in features */
- var aoFeatures = DataTable.ext.feature;
- for ( var k=0, kLen=aoFeatures.length ; k<kLen ; k++ )
- {
- if ( cOption == aoFeatures[k].cFeature )
- {
- featureNode = aoFeatures[k].fnInit( oSettings );
- break;
- }
- }
- }
-
- /* Add to the 2D features array */
- if ( featureNode )
- {
- var aanFeatures = oSettings.aanFeatures;
-
- if ( ! aanFeatures[cOption] )
- {
- aanFeatures[cOption] = [];
- }
-
- aanFeatures[cOption].push( featureNode );
- insert.append( featureNode );
- }
- }
-
- /* Built our DOM structure - replace the holding div with what we want */
- holding.replaceWith( insert );
- oSettings.nHolding = null;
- }
-
-
- /**
- * Use the DOM source to create up an array of header cells. The idea here is to
- * create a layout grid (array) of rows x columns, which contains a reference
- * to the cell that that point in the grid (regardless of col/rowspan), such that
- * any column / row could be removed and the new grid constructed
- * @param array {object} aLayout Array to store the calculated layout in
- * @param {node} nThead The header/footer element for the table
- * @memberof DataTable#oApi
- */
- function _fnDetectHeader ( aLayout, nThead )
- {
- var nTrs = $(nThead).children('tr');
- var nTr, nCell;
- var i, k, l, iLen, jLen, iColShifted, iColumn, iColspan, iRowspan;
- var bUnique;
- var fnShiftCol = function ( a, i, j ) {
- var k = a[i];
- while ( k[j] ) {
- j++;
- }
- return j;
- };
-
- aLayout.splice( 0, aLayout.length );
-
- /* We know how many rows there are in the layout - so prep it */
- for ( i=0, iLen=nTrs.length ; i<iLen ; i++ )
- {
- aLayout.push( [] );
- }
-
- /* Calculate a layout array */
- for ( i=0, iLen=nTrs.length ; i<iLen ; i++ )
- {
- nTr = nTrs[i];
- iColumn = 0;
-
- /* For every cell in the row... */
- nCell = nTr.firstChild;
- while ( nCell ) {
- if ( nCell.nodeName.toUpperCase() == "TD" ||
- nCell.nodeName.toUpperCase() == "TH" )
- {
- /* Get the col and rowspan attributes from the DOM and sanitise them */
- iColspan = nCell.getAttribute('colspan') * 1;
- iRowspan = nCell.getAttribute('rowspan') * 1;
- iColspan = (!iColspan || iColspan===0 || iColspan===1) ? 1 : iColspan;
- iRowspan = (!iRowspan || iRowspan===0 || iRowspan===1) ? 1 : iRowspan;
-
- /* There might be colspan cells already in this row, so shift our target
- * accordingly
- */
- iColShifted = fnShiftCol( aLayout, i, iColumn );
-
- /* Cache calculation for unique columns */
- bUnique = iColspan === 1 ? true : false;
-
- /* If there is col / rowspan, copy the information into the layout grid */
- for ( l=0 ; l<iColspan ; l++ )
- {
- for ( k=0 ; k<iRowspan ; k++ )
- {
- aLayout[i+k][iColShifted+l] = {
- "cell": nCell,
- "unique": bUnique
- };
- aLayout[i+k].nTr = nTr;
- }
- }
- }
- nCell = nCell.nextSibling;
- }
- }
- }
-
-
- /**
- * Get an array of unique th elements, one for each column
- * @param {object} oSettings dataTables settings object
- * @param {node} nHeader automatically detect the layout from this node - optional
- * @param {array} aLayout thead/tfoot layout from _fnDetectHeader - optional
- * @returns array {node} aReturn list of unique th's
- * @memberof DataTable#oApi
- */
- function _fnGetUniqueThs ( oSettings, nHeader, aLayout )
- {
- var aReturn = [];
- if ( !aLayout )
- {
- aLayout = oSettings.aoHeader;
- if ( nHeader )
- {
- aLayout = [];
- _fnDetectHeader( aLayout, nHeader );
- }
- }
-
- for ( var i=0, iLen=aLayout.length ; i<iLen ; i++ )
- {
- for ( var j=0, jLen=aLayout[i].length ; j<jLen ; j++ )
- {
- if ( aLayout[i][j].unique &&
- (!aReturn[j] || !oSettings.bSortCellsTop) )
- {
- aReturn[j] = aLayout[i][j].cell;
- }
- }
- }
-
- return aReturn;
- }
-
- /**
- * Create an Ajax call based on the table's settings, taking into account that
- * parameters can have multiple forms, and backwards compatibility.
- *
- * @param {object} oSettings dataTables settings object
- * @param {array} data Data to send to the server, required by
- * DataTables - may be augmented by developer callbacks
- * @param {function} fn Callback function to run when data is obtained
- */
- function _fnBuildAjax( oSettings, data, fn )
- {
- // Compatibility with 1.9-, allow fnServerData and event to manipulate
- _fnCallbackFire( oSettings, 'aoServerParams', 'serverParams', [data] );
-
- // Convert to object based for 1.10+ if using the old array scheme which can
- // come from server-side processing or serverParams
- if ( data && $.isArray(data) ) {
- var tmp = {};
- var rbracket = /(.*?)\[\]$/;
-
- $.each( data, function (key, val) {
- var match = val.name.match(rbracket);
-
- if ( match ) {
- // Support for arrays
- var name = match[0];
-
- if ( ! tmp[ name ] ) {
- tmp[ name ] = [];
- }
- tmp[ name ].push( val.value );
- }
- else {
- tmp[val.name] = val.value;
- }
- } );
- data = tmp;
- }
-
- var ajaxData;
- var ajax = oSettings.ajax;
- var instance = oSettings.oInstance;
- var callback = function ( json ) {
- _fnCallbackFire( oSettings, null, 'xhr', [oSettings, json, oSettings.jqXHR] );
- fn( json );
- };
-
- if ( $.isPlainObject( ajax ) && ajax.data )
- {
- ajaxData = ajax.data;
-
- var newData = $.isFunction( ajaxData ) ?
- ajaxData( data, oSettings ) : // fn can manipulate data or return
- ajaxData; // an object object or array to merge
-
- // If the function returned something, use that alone
- data = $.isFunction( ajaxData ) && newData ?
- newData :
- $.extend( true, data, newData );
-
- // Remove the data property as we've resolved it already and don't want
- // jQuery to do it again (it is restored at the end of the function)
- delete ajax.data;
- }
-
- var baseAjax = {
- "data": data,
- "success": function (json) {
- var error = json.error || json.sError;
- if ( error ) {
- _fnLog( oSettings, 0, error );
- }
-
- oSettings.json = json;
- callback( json );
- },
- "dataType": "json",
- "cache": false,
- "type": oSettings.sServerMethod,
- "error": function (xhr, error, thrown) {
- var ret = _fnCallbackFire( oSettings, null, 'xhr', [oSettings, null, oSettings.jqXHR] );
-
- if ( $.inArray( true, ret ) === -1 ) {
- if ( error == "parsererror" ) {
- _fnLog( oSettings, 0, 'Invalid JSON response', 1 );
- }
- else if ( xhr.readyState === 4 ) {
- _fnLog( oSettings, 0, 'Ajax error', 7 );
- }
- }
-
- _fnProcessingDisplay( oSettings, false );
- }
- };
-
- // Store the data submitted for the API
- oSettings.oAjaxData = data;
-
- // Allow plug-ins and external processes to modify the data
- _fnCallbackFire( oSettings, null, 'preXhr', [oSettings, data] );
-
- if ( oSettings.fnServerData )
- {
- // DataTables 1.9- compatibility
- oSettings.fnServerData.call( instance,
- oSettings.sAjaxSource,
- $.map( data, function (val, key) { // Need to convert back to 1.9 trad format
- return { name: key, value: val };
- } ),
- callback,
- oSettings
- );
- }
- else if ( oSettings.sAjaxSource || typeof ajax === 'string' )
- {
- // DataTables 1.9- compatibility
- oSettings.jqXHR = $.ajax( $.extend( baseAjax, {
- url: ajax || oSettings.sAjaxSource
- } ) );
- }
- else if ( $.isFunction( ajax ) )
- {
- // Is a function - let the caller define what needs to be done
- oSettings.jqXHR = ajax.call( instance, data, callback, oSettings );
- }
- else
- {
- // Object to extend the base settings
- oSettings.jqXHR = $.ajax( $.extend( baseAjax, ajax ) );
-
- // Restore for next time around
- ajax.data = ajaxData;
- }
- }
-
-
- /**
- * Update the table using an Ajax call
- * @param {object} settings dataTables settings object
- * @returns {boolean} Block the table drawing or not
- * @memberof DataTable#oApi
- */
- function _fnAjaxUpdate( settings )
- {
- if ( settings.bAjaxDataGet ) {
- settings.iDraw++;
- _fnProcessingDisplay( settings, true );
-
- _fnBuildAjax(
- settings,
- _fnAjaxParameters( settings ),
- function(json) {
- _fnAjaxUpdateDraw( settings, json );
- }
- );
-
- return false;
- }
- return true;
- }
-
-
- /**
- * Build up the parameters in an object needed for a server-side processing
- * request. Note that this is basically done twice, is different ways - a modern
- * method which is used by default in DataTables 1.10 which uses objects and
- * arrays, or the 1.9- method with is name / value pairs. 1.9 method is used if
- * the sAjaxSource option is used in the initialisation, or the legacyAjax
- * option is set.
- * @param {object} oSettings dataTables settings object
- * @returns {bool} block the table drawing or not
- * @memberof DataTable#oApi
- */
- function _fnAjaxParameters( settings )
- {
- var
- columns = settings.aoColumns,
- columnCount = columns.length,
- features = settings.oFeatures,
- preSearch = settings.oPreviousSearch,
- preColSearch = settings.aoPreSearchCols,
- i, data = [], dataProp, column, columnSearch,
- sort = _fnSortFlatten( settings ),
- displayStart = settings._iDisplayStart,
- displayLength = features.bPaginate !== false ?
- settings._iDisplayLength :
- -1;
-
- var param = function ( name, value ) {
- data.push( { 'name': name, 'value': value } );
- };
-
- // DataTables 1.9- compatible method
- param( 'sEcho', settings.iDraw );
- param( 'iColumns', columnCount );
- param( 'sColumns', _pluck( columns, 'sName' ).join(',') );
- param( 'iDisplayStart', displayStart );
- param( 'iDisplayLength', displayLength );
-
- // DataTables 1.10+ method
- var d = {
- draw: settings.iDraw,
- columns: [],
- order: [],
- start: displayStart,
- length: displayLength,
- search: {
- value: preSearch.sSearch,
- regex: preSearch.bRegex
- }
- };
-
- for ( i=0 ; i<columnCount ; i++ ) {
- column = columns[i];
- columnSearch = preColSearch[i];
- dataProp = typeof column.mData=="function" ? 'function' : column.mData ;
-
- d.columns.push( {
- data: dataProp,
- name: column.sName,
- searchable: column.bSearchable,
- orderable: column.bSortable,
- search: {
- value: columnSearch.sSearch,
- regex: columnSearch.bRegex
- }
- } );
-
- param( "mDataProp_"+i, dataProp );
-
- if ( features.bFilter ) {
- param( 'sSearch_'+i, columnSearch.sSearch );
- param( 'bRegex_'+i, columnSearch.bRegex );
- param( 'bSearchable_'+i, column.bSearchable );
- }
-
- if ( features.bSort ) {
- param( 'bSortable_'+i, column.bSortable );
- }
- }
-
- if ( features.bFilter ) {
- param( 'sSearch', preSearch.sSearch );
- param( 'bRegex', preSearch.bRegex );
- }
-
- if ( features.bSort ) {
- $.each( sort, function ( i, val ) {
- d.order.push( { column: val.col, dir: val.dir } );
-
- param( 'iSortCol_'+i, val.col );
- param( 'sSortDir_'+i, val.dir );
- } );
-
- param( 'iSortingCols', sort.length );
- }
-
- // If the legacy.ajax parameter is null, then we automatically decide which
- // form to use, based on sAjaxSource
- var legacy = DataTable.ext.legacy.ajax;
- if ( legacy === null ) {
- return settings.sAjaxSource ? data : d;
- }
-
- // Otherwise, if legacy has been specified then we use that to decide on the
- // form
- return legacy ? data : d;
- }
-
-
- /**
- * Data the data from the server (nuking the old) and redraw the table
- * @param {object} oSettings dataTables settings object
- * @param {object} json json data return from the server.
- * @param {string} json.sEcho Tracking flag for DataTables to match requests
- * @param {int} json.iTotalRecords Number of records in the data set, not accounting for filtering
- * @param {int} json.iTotalDisplayRecords Number of records in the data set, accounting for filtering
- * @param {array} json.aaData The data to display on this page
- * @param {string} [json.sColumns] Column ordering (sName, comma separated)
- * @memberof DataTable#oApi
- */
- function _fnAjaxUpdateDraw ( settings, json )
- {
- // v1.10 uses camelCase variables, while 1.9 uses Hungarian notation.
- // Support both
- var compat = function ( old, modern ) {
- return json[old] !== undefined ? json[old] : json[modern];
- };
-
- var data = _fnAjaxDataSrc( settings, json );
- var draw = compat( 'sEcho', 'draw' );
- var recordsTotal = compat( 'iTotalRecords', 'recordsTotal' );
- var recordsFiltered = compat( 'iTotalDisplayRecords', 'recordsFiltered' );
-
- if ( draw ) {
- // Protect against out of sequence returns
- if ( draw*1 < settings.iDraw ) {
- return;
- }
- settings.iDraw = draw * 1;
- }
-
- _fnClearTable( settings );
- settings._iRecordsTotal = parseInt(recordsTotal, 10);
- settings._iRecordsDisplay = parseInt(recordsFiltered, 10);
-
- for ( var i=0, ien=data.length ; i<ien ; i++ ) {
- _fnAddData( settings, data[i] );
- }
- settings.aiDisplay = settings.aiDisplayMaster.slice();
-
- settings.bAjaxDataGet = false;
- _fnDraw( settings );
-
- if ( ! settings._bInitComplete ) {
- _fnInitComplete( settings, json );
- }
-
- settings.bAjaxDataGet = true;
- _fnProcessingDisplay( settings, false );
- }
-
-
- /**
- * Get the data from the JSON data source to use for drawing a table. Using
- * `_fnGetObjectDataFn` allows the data to be sourced from a property of the
- * source object, or from a processing function.
- * @param {object} oSettings dataTables settings object
- * @param {object} json Data source object / array from the server
- * @return {array} Array of data to use
- */
- function _fnAjaxDataSrc ( oSettings, json )
- {
- var dataSrc = $.isPlainObject( oSettings.ajax ) && oSettings.ajax.dataSrc !== undefined ?
- oSettings.ajax.dataSrc :
- oSettings.sAjaxDataProp; // Compatibility with 1.9-.
-
- // Compatibility with 1.9-. In order to read from aaData, check if the
- // default has been changed, if not, check for aaData
- if ( dataSrc === 'data' ) {
- return json.aaData || json[dataSrc];
- }
-
- return dataSrc !== "" ?
- _fnGetObjectDataFn( dataSrc )( json ) :
- json;
- }
-
- /**
- * Generate the node required for filtering text
- * @returns {node} Filter control element
- * @param {object} oSettings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnFeatureHtmlFilter ( settings )
- {
- var classes = settings.oClasses;
- var tableId = settings.sTableId;
- var language = settings.oLanguage;
- var previousSearch = settings.oPreviousSearch;
- var features = settings.aanFeatures;
- var input = '<input type="search" class="'+classes.sFilterInput+'"/>';
-
- var str = language.sSearch;
- str = str.match(/_INPUT_/) ?
- str.replace('_INPUT_', input) :
- str+input;
-
- var filter = $('<div/>', {
- 'id': ! features.f ? tableId+'_filter' : null,
- 'class': classes.sFilter
- } )
- .append( $('<label/>' ).append( str ) );
-
- var searchFn = function() {
- /* Update all other filter input elements for the new display */
- var n = features.f;
- var val = !this.value ? "" : this.value; // mental IE8 fix :-(
-
- /* Now do the filter */
- if ( val != previousSearch.sSearch ) {
- _fnFilterComplete( settings, {
- "sSearch": val,
- "bRegex": previousSearch.bRegex,
- "bSmart": previousSearch.bSmart ,
- "bCaseInsensitive": previousSearch.bCaseInsensitive
- } );
-
- // Need to redraw, without resorting
- settings._iDisplayStart = 0;
- _fnDraw( settings );
- }
- };
-
- var searchDelay = settings.searchDelay !== null ?
- settings.searchDelay :
- _fnDataSource( settings ) === 'ssp' ?
- 400 :
- 0;
-
- var jqFilter = $('input', filter)
- .val( previousSearch.sSearch )
- .attr( 'placeholder', language.sSearchPlaceholder )
- .bind(
- 'keyup.DT search.DT input.DT paste.DT cut.DT',
- searchDelay ?
- _fnThrottle( searchFn, searchDelay ) :
- searchFn
- )
- .bind( 'keypress.DT', function(e) {
- /* Prevent form submission */
- if ( e.keyCode == 13 ) {
- return false;
- }
- } )
- .attr('aria-controls', tableId);
-
- // Update the input elements whenever the table is filtered
- $(settings.nTable).on( 'search.dt.DT', function ( ev, s ) {
- if ( settings === s ) {
- // IE9 throws an 'unknown error' if document.activeElement is used
- // inside an iframe or frame...
- try {
- if ( jqFilter[0] !== document.activeElement ) {
- jqFilter.val( previousSearch.sSearch );
- }
- }
- catch ( e ) {}
- }
- } );
-
- return filter[0];
- }
-
-
- /**
- * Filter the table using both the global filter and column based filtering
- * @param {object} oSettings dataTables settings object
- * @param {object} oSearch search information
- * @param {int} [iForce] force a research of the master array (1) or not (undefined or 0)
- * @memberof DataTable#oApi
- */
- function _fnFilterComplete ( oSettings, oInput, iForce )
- {
- var oPrevSearch = oSettings.oPreviousSearch;
- var aoPrevSearch = oSettings.aoPreSearchCols;
- var fnSaveFilter = function ( oFilter ) {
- /* Save the filtering values */
- oPrevSearch.sSearch = oFilter.sSearch;
- oPrevSearch.bRegex = oFilter.bRegex;
- oPrevSearch.bSmart = oFilter.bSmart;
- oPrevSearch.bCaseInsensitive = oFilter.bCaseInsensitive;
- };
- var fnRegex = function ( o ) {
- // Backwards compatibility with the bEscapeRegex option
- return o.bEscapeRegex !== undefined ? !o.bEscapeRegex : o.bRegex;
- };
-
- // Resolve any column types that are unknown due to addition or invalidation
- // @todo As per sort - can this be moved into an event handler?
- _fnColumnTypes( oSettings );
-
- /* In server-side processing all filtering is done by the server, so no point hanging around here */
- if ( _fnDataSource( oSettings ) != 'ssp' )
- {
- /* Global filter */
- _fnFilter( oSettings, oInput.sSearch, iForce, fnRegex(oInput), oInput.bSmart, oInput.bCaseInsensitive );
- fnSaveFilter( oInput );
-
- /* Now do the individual column filter */
- for ( var i=0 ; i<aoPrevSearch.length ; i++ )
- {
- _fnFilterColumn( oSettings, aoPrevSearch[i].sSearch, i, fnRegex(aoPrevSearch[i]),
- aoPrevSearch[i].bSmart, aoPrevSearch[i].bCaseInsensitive );
- }
-
- /* Custom filtering */
- _fnFilterCustom( oSettings );
- }
- else
- {
- fnSaveFilter( oInput );
- }
-
- /* Tell the draw function we have been filtering */
- oSettings.bFiltered = true;
- _fnCallbackFire( oSettings, null, 'search', [oSettings] );
- }
-
-
- /**
- * Apply custom filtering functions
- * @param {object} oSettings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnFilterCustom( settings )
- {
- var filters = DataTable.ext.search;
- var displayRows = settings.aiDisplay;
- var row, rowIdx;
-
- for ( var i=0, ien=filters.length ; i<ien ; i++ ) {
- var rows = [];
-
- // Loop over each row and see if it should be included
- for ( var j=0, jen=displayRows.length ; j<jen ; j++ ) {
- rowIdx = displayRows[ j ];
- row = settings.aoData[ rowIdx ];
-
- if ( filters[i]( settings, row._aFilterData, rowIdx, row._aData, j ) ) {
- rows.push( rowIdx );
- }
- }
-
- // So the array reference doesn't break set the results into the
- // existing array
- displayRows.length = 0;
- $.merge( displayRows, rows );
- }
- }
-
-
- /**
- * Filter the table on a per-column basis
- * @param {object} oSettings dataTables settings object
- * @param {string} sInput string to filter on
- * @param {int} iColumn column to filter
- * @param {bool} bRegex treat search string as a regular expression or not
- * @param {bool} bSmart use smart filtering or not
- * @param {bool} bCaseInsensitive Do case insenstive matching or not
- * @memberof DataTable#oApi
- */
- function _fnFilterColumn ( settings, searchStr, colIdx, regex, smart, caseInsensitive )
- {
- if ( searchStr === '' ) {
- return;
- }
-
- var data;
- var display = settings.aiDisplay;
- var rpSearch = _fnFilterCreateSearch( searchStr, regex, smart, caseInsensitive );
-
- for ( var i=display.length-1 ; i>=0 ; i-- ) {
- data = settings.aoData[ display[i] ]._aFilterData[ colIdx ];
-
- if ( ! rpSearch.test( data ) ) {
- display.splice( i, 1 );
- }
- }
- }
-
-
- /**
- * Filter the data table based on user input and draw the table
- * @param {object} settings dataTables settings object
- * @param {string} input string to filter on
- * @param {int} force optional - force a research of the master array (1) or not (undefined or 0)
- * @param {bool} regex treat as a regular expression or not
- * @param {bool} smart perform smart filtering or not
- * @param {bool} caseInsensitive Do case insenstive matching or not
- * @memberof DataTable#oApi
- */
- function _fnFilter( settings, input, force, regex, smart, caseInsensitive )
- {
- var rpSearch = _fnFilterCreateSearch( input, regex, smart, caseInsensitive );
- var prevSearch = settings.oPreviousSearch.sSearch;
- var displayMaster = settings.aiDisplayMaster;
- var display, invalidated, i;
-
- // Need to take account of custom filtering functions - always filter
- if ( DataTable.ext.search.length !== 0 ) {
- force = true;
- }
-
- // Check if any of the rows were invalidated
- invalidated = _fnFilterData( settings );
-
- // If the input is blank - we just want the full data set
- if ( input.length <= 0 ) {
- settings.aiDisplay = displayMaster.slice();
- }
- else {
- // New search - start from the master array
- if ( invalidated ||
- force ||
- prevSearch.length > input.length ||
- input.indexOf(prevSearch) !== 0 ||
- settings.bSorted // On resort, the display master needs to be
- // re-filtered since indexes will have changed
- ) {
- settings.aiDisplay = displayMaster.slice();
- }
-
- // Search the display array
- display = settings.aiDisplay;
-
- for ( i=display.length-1 ; i>=0 ; i-- ) {
- if ( ! rpSearch.test( settings.aoData[ display[i] ]._sFilterRow ) ) {
- display.splice( i, 1 );
- }
- }
- }
- }
-
-
- /**
- * Build a regular expression object suitable for searching a table
- * @param {string} sSearch string to search for
- * @param {bool} bRegex treat as a regular expression or not
- * @param {bool} bSmart perform smart filtering or not
- * @param {bool} bCaseInsensitive Do case insensitive matching or not
- * @returns {RegExp} constructed object
- * @memberof DataTable#oApi
- */
- function _fnFilterCreateSearch( search, regex, smart, caseInsensitive )
- {
- search = regex ?
- search :
- _fnEscapeRegex( search );
-
- if ( smart ) {
- /* For smart filtering we want to allow the search to work regardless of
- * word order. We also want double quoted text to be preserved, so word
- * order is important - a la google. So this is what we want to
- * generate:
- *
- * ^(?=.*?\bone\b)(?=.*?\btwo three\b)(?=.*?\bfour\b).*$
- */
- var a = $.map( search.match( /"[^"]+"|[^ ]+/g ) || [''], function ( word ) {
- if ( word.charAt(0) === '"' ) {
- var m = word.match( /^"(.*)"$/ );
- word = m ? m[1] : word;
- }
-
- return word.replace('"', '');
- } );
-
- search = '^(?=.*?'+a.join( ')(?=.*?' )+').*$';
- }
-
- return new RegExp( search, caseInsensitive ? 'i' : '' );
- }
-
-
- /**
- * Escape a string such that it can be used in a regular expression
- * @param {string} sVal string to escape
- * @returns {string} escaped string
- * @memberof DataTable#oApi
- */
- function _fnEscapeRegex ( sVal )
- {
- return sVal.replace( _re_escape_regex, '\\$1' );
- }
-
-
-
- var __filter_div = $('<div>')[0];
- var __filter_div_textContent = __filter_div.textContent !== undefined;
-
- // Update the filtering data for each row if needed (by invalidation or first run)
- function _fnFilterData ( settings )
- {
- var columns = settings.aoColumns;
- var column;
- var i, j, ien, jen, filterData, cellData, row;
- var fomatters = DataTable.ext.type.search;
- var wasInvalidated = false;
-
- for ( i=0, ien=settings.aoData.length ; i<ien ; i++ ) {
- row = settings.aoData[i];
-
- if ( ! row._aFilterData ) {
- filterData = [];
-
- for ( j=0, jen=columns.length ; j<jen ; j++ ) {
- column = columns[j];
-
- if ( column.bSearchable ) {
- cellData = _fnGetCellData( settings, i, j, 'filter' );
-
- if ( fomatters[ column.sType ] ) {
- cellData = fomatters[ column.sType ]( cellData );
- }
-
- // Search in DataTables 1.10 is string based. In 1.11 this
- // should be altered to also allow strict type checking.
- if ( cellData === null ) {
- cellData = '';
- }
-
- if ( typeof cellData !== 'string' && cellData.toString ) {
- cellData = cellData.toString();
- }
- }
- else {
- cellData = '';
- }
-
- // If it looks like there is an HTML entity in the string,
- // attempt to decode it so sorting works as expected. Note that
- // we could use a single line of jQuery to do this, but the DOM
- // method used here is much faster http://jsperf.com/html-decode
- if ( cellData.indexOf && cellData.indexOf('&') !== -1 ) {
- __filter_div.innerHTML = cellData;
- cellData = __filter_div_textContent ?
- __filter_div.textContent :
- __filter_div.innerText;
- }
-
- if ( cellData.replace ) {
- cellData = cellData.replace(/[\r\n]/g, '');
- }
-
- filterData.push( cellData );
- }
-
- row._aFilterData = filterData;
- row._sFilterRow = filterData.join(' ');
- wasInvalidated = true;
- }
- }
-
- return wasInvalidated;
- }
-
-
- /**
- * Convert from the internal Hungarian notation to camelCase for external
- * interaction
- * @param {object} obj Object to convert
- * @returns {object} Inverted object
- * @memberof DataTable#oApi
- */
- function _fnSearchToCamel ( obj )
- {
- return {
- search: obj.sSearch,
- smart: obj.bSmart,
- regex: obj.bRegex,
- caseInsensitive: obj.bCaseInsensitive
- };
- }
-
-
-
- /**
- * Convert from camelCase notation to the internal Hungarian. We could use the
- * Hungarian convert function here, but this is cleaner
- * @param {object} obj Object to convert
- * @returns {object} Inverted object
- * @memberof DataTable#oApi
- */
- function _fnSearchToHung ( obj )
- {
- return {
- sSearch: obj.search,
- bSmart: obj.smart,
- bRegex: obj.regex,
- bCaseInsensitive: obj.caseInsensitive
- };
- }
-
- /**
- * Generate the node required for the info display
- * @param {object} oSettings dataTables settings object
- * @returns {node} Information element
- * @memberof DataTable#oApi
- */
- function _fnFeatureHtmlInfo ( settings )
- {
- var
- tid = settings.sTableId,
- nodes = settings.aanFeatures.i,
- n = $('<div/>', {
- 'class': settings.oClasses.sInfo,
- 'id': ! nodes ? tid+'_info' : null
- } );
-
- if ( ! nodes ) {
- // Update display on each draw
- settings.aoDrawCallback.push( {
- "fn": _fnUpdateInfo,
- "sName": "information"
- } );
-
- n
- .attr( 'role', 'status' )
- .attr( 'aria-live', 'polite' );
-
- // Table is described by our info div
- $(settings.nTable).attr( 'aria-describedby', tid+'_info' );
- }
-
- return n[0];
- }
-
-
- /**
- * Update the information elements in the display
- * @param {object} settings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnUpdateInfo ( settings )
- {
- /* Show information about the table */
- var nodes = settings.aanFeatures.i;
- if ( nodes.length === 0 ) {
- return;
- }
-
- var
- lang = settings.oLanguage,
- start = settings._iDisplayStart+1,
- end = settings.fnDisplayEnd(),
- max = settings.fnRecordsTotal(),
- total = settings.fnRecordsDisplay(),
- out = total ?
- lang.sInfo :
- lang.sInfoEmpty;
-
- if ( total !== max ) {
- /* Record set after filtering */
- out += ' ' + lang.sInfoFiltered;
- }
-
- // Convert the macros
- out += lang.sInfoPostFix;
- out = _fnInfoMacros( settings, out );
-
- var callback = lang.fnInfoCallback;
- if ( callback !== null ) {
- out = callback.call( settings.oInstance,
- settings, start, end, max, total, out
- );
- }
-
- $(nodes).html( out );
- }
-
-
- function _fnInfoMacros ( settings, str )
- {
- // When infinite scrolling, we are always starting at 1. _iDisplayStart is used only
- // internally
- var
- formatter = settings.fnFormatNumber,
- start = settings._iDisplayStart+1,
- len = settings._iDisplayLength,
- vis = settings.fnRecordsDisplay(),
- all = len === -1;
-
- return str.
- replace(/_START_/g, formatter.call( settings, start ) ).
- replace(/_END_/g, formatter.call( settings, settings.fnDisplayEnd() ) ).
- replace(/_MAX_/g, formatter.call( settings, settings.fnRecordsTotal() ) ).
- replace(/_TOTAL_/g, formatter.call( settings, vis ) ).
- replace(/_PAGE_/g, formatter.call( settings, all ? 1 : Math.ceil( start / len ) ) ).
- replace(/_PAGES_/g, formatter.call( settings, all ? 1 : Math.ceil( vis / len ) ) );
- }
-
-
-
- /**
- * Draw the table for the first time, adding all required features
- * @param {object} settings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnInitialise ( settings )
- {
- var i, iLen, iAjaxStart=settings.iInitDisplayStart;
- var columns = settings.aoColumns, column;
- var features = settings.oFeatures;
- var deferLoading = settings.bDeferLoading; // value modified by the draw
-
- /* Ensure that the table data is fully initialised */
- if ( ! settings.bInitialised ) {
- setTimeout( function(){ _fnInitialise( settings ); }, 200 );
- return;
- }
-
- /* Show the display HTML options */
- _fnAddOptionsHtml( settings );
-
- /* Build and draw the header / footer for the table */
- _fnBuildHead( settings );
- _fnDrawHead( settings, settings.aoHeader );
- _fnDrawHead( settings, settings.aoFooter );
-
- /* Okay to show that something is going on now */
- _fnProcessingDisplay( settings, true );
-
- /* Calculate sizes for columns */
- if ( features.bAutoWidth ) {
- _fnCalculateColumnWidths( settings );
- }
-
- for ( i=0, iLen=columns.length ; i<iLen ; i++ ) {
- column = columns[i];
-
- if ( column.sWidth ) {
- column.nTh.style.width = _fnStringToCss( column.sWidth );
- }
- }
-
- _fnCallbackFire( settings, null, 'preInit', [settings] );
-
- // If there is default sorting required - let's do it. The sort function
- // will do the drawing for us. Otherwise we draw the table regardless of the
- // Ajax source - this allows the table to look initialised for Ajax sourcing
- // data (show 'loading' message possibly)
- _fnReDraw( settings );
-
- // Server-side processing init complete is done by _fnAjaxUpdateDraw
- var dataSrc = _fnDataSource( settings );
- if ( dataSrc != 'ssp' || deferLoading ) {
- // if there is an ajax source load the data
- if ( dataSrc == 'ajax' ) {
- _fnBuildAjax( settings, [], function(json) {
- var aData = _fnAjaxDataSrc( settings, json );
-
- // Got the data - add it to the table
- for ( i=0 ; i<aData.length ; i++ ) {
- _fnAddData( settings, aData[i] );
- }
-
- // Reset the init display for cookie saving. We've already done
- // a filter, and therefore cleared it before. So we need to make
- // it appear 'fresh'
- settings.iInitDisplayStart = iAjaxStart;
-
- _fnReDraw( settings );
-
- _fnProcessingDisplay( settings, false );
- _fnInitComplete( settings, json );
- }, settings );
- }
- else {
- _fnProcessingDisplay( settings, false );
- _fnInitComplete( settings );
- }
- }
- }
-
-
- /**
- * Draw the table for the first time, adding all required features
- * @param {object} oSettings dataTables settings object
- * @param {object} [json] JSON from the server that completed the table, if using Ajax source
- * with client-side processing (optional)
- * @memberof DataTable#oApi
- */
- function _fnInitComplete ( settings, json )
- {
- settings._bInitComplete = true;
-
- // When data was added after the initialisation (data or Ajax) we need to
- // calculate the column sizing
- if ( json || settings.oInit.aaData ) {
- _fnAdjustColumnSizing( settings );
- }
-
- _fnCallbackFire( settings, null, 'plugin-init', [settings, json] );
- _fnCallbackFire( settings, 'aoInitComplete', 'init', [settings, json] );
- }
-
-
- function _fnLengthChange ( settings, val )
- {
- var len = parseInt( val, 10 );
- settings._iDisplayLength = len;
-
- _fnLengthOverflow( settings );
-
- // Fire length change event
- _fnCallbackFire( settings, null, 'length', [settings, len] );
- }
-
-
- /**
- * Generate the node required for user display length changing
- * @param {object} settings dataTables settings object
- * @returns {node} Display length feature node
- * @memberof DataTable#oApi
- */
- function _fnFeatureHtmlLength ( settings )
- {
- var
- classes = settings.oClasses,
- tableId = settings.sTableId,
- menu = settings.aLengthMenu,
- d2 = $.isArray( menu[0] ),
- lengths = d2 ? menu[0] : menu,
- language = d2 ? menu[1] : menu;
-
- var select = $('<select/>', {
- 'name': tableId+'_length',
- 'aria-controls': tableId,
- 'class': classes.sLengthSelect
- } );
-
- for ( var i=0, ien=lengths.length ; i<ien ; i++ ) {
- select[0][ i ] = new Option( language[i], lengths[i] );
- }
-
- var div = $('<div><label/></div>').addClass( classes.sLength );
- if ( ! settings.aanFeatures.l ) {
- div[0].id = tableId+'_length';
- }
-
- div.children().append(
- settings.oLanguage.sLengthMenu.replace( '_MENU_', select[0].outerHTML )
- );
-
- // Can't use `select` variable as user might provide their own and the
- // reference is broken by the use of outerHTML
- $('select', div)
- .val( settings._iDisplayLength )
- .bind( 'change.DT', function(e) {
- _fnLengthChange( settings, $(this).val() );
- _fnDraw( settings );
- } );
-
- // Update node value whenever anything changes the table's length
- $(settings.nTable).bind( 'length.dt.DT', function (e, s, len) {
- if ( settings === s ) {
- $('select', div).val( len );
- }
- } );
-
- return div[0];
- }
-
-
-
- /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * Note that most of the paging logic is done in
- * DataTable.ext.pager
- */
-
- /**
- * Generate the node required for default pagination
- * @param {object} oSettings dataTables settings object
- * @returns {node} Pagination feature node
- * @memberof DataTable#oApi
- */
- function _fnFeatureHtmlPaginate ( settings )
- {
- var
- type = settings.sPaginationType,
- plugin = DataTable.ext.pager[ type ],
- modern = typeof plugin === 'function',
- redraw = function( settings ) {
- _fnDraw( settings );
- },
- node = $('<div/>').addClass( settings.oClasses.sPaging + type )[0],
- features = settings.aanFeatures;
-
- if ( ! modern ) {
- plugin.fnInit( settings, node, redraw );
- }
-
- /* Add a draw callback for the pagination on first instance, to update the paging display */
- if ( ! features.p )
- {
- node.id = settings.sTableId+'_paginate';
-
- settings.aoDrawCallback.push( {
- "fn": function( settings ) {
- if ( modern ) {
- var
- start = settings._iDisplayStart,
- len = settings._iDisplayLength,
- visRecords = settings.fnRecordsDisplay(),
- all = len === -1,
- page = all ? 0 : Math.ceil( start / len ),
- pages = all ? 1 : Math.ceil( visRecords / len ),
- buttons = plugin(page, pages),
- i, ien;
-
- for ( i=0, ien=features.p.length ; i<ien ; i++ ) {
- _fnRenderer( settings, 'pageButton' )(
- settings, features.p[i], i, buttons, page, pages
- );
- }
- }
- else {
- plugin.fnUpdate( settings, redraw );
- }
- },
- "sName": "pagination"
- } );
- }
-
- return node;
- }
-
-
- /**
- * Alter the display settings to change the page
- * @param {object} settings DataTables settings object
- * @param {string|int} action Paging action to take: "first", "previous",
- * "next" or "last" or page number to jump to (integer)
- * @param [bool] redraw Automatically draw the update or not
- * @returns {bool} true page has changed, false - no change
- * @memberof DataTable#oApi
- */
- function _fnPageChange ( settings, action, redraw )
- {
- var
- start = settings._iDisplayStart,
- len = settings._iDisplayLength,
- records = settings.fnRecordsDisplay();
-
- if ( records === 0 || len === -1 )
- {
- start = 0;
- }
- else if ( typeof action === "number" )
- {
- start = action * len;
-
- if ( start > records )
- {
- start = 0;
- }
- }
- else if ( action == "first" )
- {
- start = 0;
- }
- else if ( action == "previous" )
- {
- start = len >= 0 ?
- start - len :
- 0;
-
- if ( start < 0 )
- {
- start = 0;
- }
- }
- else if ( action == "next" )
- {
- if ( start + len < records )
- {
- start += len;
- }
- }
- else if ( action == "last" )
- {
- start = Math.floor( (records-1) / len) * len;
- }
- else
- {
- _fnLog( settings, 0, "Unknown paging action: "+action, 5 );
- }
-
- var changed = settings._iDisplayStart !== start;
- settings._iDisplayStart = start;
-
- if ( changed ) {
- _fnCallbackFire( settings, null, 'page', [settings] );
-
- if ( redraw ) {
- _fnDraw( settings );
- }
- }
-
- return changed;
- }
-
-
-
- /**
- * Generate the node required for the processing node
- * @param {object} settings dataTables settings object
- * @returns {node} Processing element
- * @memberof DataTable#oApi
- */
- function _fnFeatureHtmlProcessing ( settings )
- {
- return $('<div/>', {
- 'id': ! settings.aanFeatures.r ? settings.sTableId+'_processing' : null,
- 'class': settings.oClasses.sProcessing
- } )
- .html( settings.oLanguage.sProcessing )
- .insertBefore( settings.nTable )[0];
- }
-
-
- /**
- * Display or hide the processing indicator
- * @param {object} settings dataTables settings object
- * @param {bool} show Show the processing indicator (true) or not (false)
- * @memberof DataTable#oApi
- */
- function _fnProcessingDisplay ( settings, show )
- {
- if ( settings.oFeatures.bProcessing ) {
- $(settings.aanFeatures.r).css( 'display', show ? 'block' : 'none' );
- }
-
- _fnCallbackFire( settings, null, 'processing', [settings, show] );
- }
-
- /**
- * Add any control elements for the table - specifically scrolling
- * @param {object} settings dataTables settings object
- * @returns {node} Node to add to the DOM
- * @memberof DataTable#oApi
- */
- function _fnFeatureHtmlTable ( settings )
- {
- var table = $(settings.nTable);
-
- // Add the ARIA grid role to the table
- table.attr( 'role', 'grid' );
-
- // Scrolling from here on in
- var scroll = settings.oScroll;
-
- if ( scroll.sX === '' && scroll.sY === '' ) {
- return settings.nTable;
- }
-
- var scrollX = scroll.sX;
- var scrollY = scroll.sY;
- var classes = settings.oClasses;
- var caption = table.children('caption');
- var captionSide = caption.length ? caption[0]._captionSide : null;
- var headerClone = $( table[0].cloneNode(false) );
- var footerClone = $( table[0].cloneNode(false) );
- var footer = table.children('tfoot');
- var _div = '<div/>';
- var size = function ( s ) {
- return !s ? null : _fnStringToCss( s );
- };
-
- if ( ! footer.length ) {
- footer = null;
- }
-
- /*
- * The HTML structure that we want to generate in this function is:
- * div - scroller
- * div - scroll head
- * div - scroll head inner
- * table - scroll head table
- * thead - thead
- * div - scroll body
- * table - table (master table)
- * thead - thead clone for sizing
- * tbody - tbody
- * div - scroll foot
- * div - scroll foot inner
- * table - scroll foot table
- * tfoot - tfoot
- */
- var scroller = $( _div, { 'class': classes.sScrollWrapper } )
- .append(
- $(_div, { 'class': classes.sScrollHead } )
- .css( {
- overflow: 'hidden',
- position: 'relative',
- border: 0,
- width: scrollX ? size(scrollX) : '100%'
- } )
- .append(
- $(_div, { 'class': classes.sScrollHeadInner } )
- .css( {
- 'box-sizing': 'content-box',
- width: scroll.sXInner || '100%'
- } )
- .append(
- headerClone
- .removeAttr('id')
- .css( 'margin-left', 0 )
- .append( captionSide === 'top' ? caption : null )
- .append(
- table.children('thead')
- )
- )
- )
- )
- .append(
- $(_div, { 'class': classes.sScrollBody } )
- .css( {
- position: 'relative',
- overflow: 'auto',
- width: size( scrollX )
- } )
- .append( table )
- );
-
- if ( footer ) {
- scroller.append(
- $(_div, { 'class': classes.sScrollFoot } )
- .css( {
- overflow: 'hidden',
- border: 0,
- width: scrollX ? size(scrollX) : '100%'
- } )
- .append(
- $(_div, { 'class': classes.sScrollFootInner } )
- .append(
- footerClone
- .removeAttr('id')
- .css( 'margin-left', 0 )
- .append( captionSide === 'bottom' ? caption : null )
- .append(
- table.children('tfoot')
- )
- )
- )
- );
- }
-
- var children = scroller.children();
- var scrollHead = children[0];
- var scrollBody = children[1];
- var scrollFoot = footer ? children[2] : null;
-
- // When the body is scrolled, then we also want to scroll the headers
- if ( scrollX ) {
- $(scrollBody).on( 'scroll.DT', function (e) {
- var scrollLeft = this.scrollLeft;
-
- scrollHead.scrollLeft = scrollLeft;
-
- if ( footer ) {
- scrollFoot.scrollLeft = scrollLeft;
- }
- } );
- }
-
- $(scrollBody).css(
- scrollY && scroll.bCollapse ? 'max-height' : 'height',
- scrollY
- );
-
- settings.nScrollHead = scrollHead;
- settings.nScrollBody = scrollBody;
- settings.nScrollFoot = scrollFoot;
-
- // On redraw - align columns
- settings.aoDrawCallback.push( {
- "fn": _fnScrollDraw,
- "sName": "scrolling"
- } );
-
- return scroller[0];
- }
-
-
-
- /**
- * Update the header, footer and body tables for resizing - i.e. column
- * alignment.
- *
- * Welcome to the most horrible function DataTables. The process that this
- * function follows is basically:
- * 1. Re-create the table inside the scrolling div
- * 2. Take live measurements from the DOM
- * 3. Apply the measurements to align the columns
- * 4. Clean up
- *
- * @param {object} settings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnScrollDraw ( settings )
- {
- // Given that this is such a monster function, a lot of variables are use
- // to try and keep the minimised size as small as possible
- var
- scroll = settings.oScroll,
- scrollX = scroll.sX,
- scrollXInner = scroll.sXInner,
- scrollY = scroll.sY,
- barWidth = scroll.iBarWidth,
- divHeader = $(settings.nScrollHead),
- divHeaderStyle = divHeader[0].style,
- divHeaderInner = divHeader.children('div'),
- divHeaderInnerStyle = divHeaderInner[0].style,
- divHeaderTable = divHeaderInner.children('table'),
- divBodyEl = settings.nScrollBody,
- divBody = $(divBodyEl),
- divBodyStyle = divBodyEl.style,
- divFooter = $(settings.nScrollFoot),
- divFooterInner = divFooter.children('div'),
- divFooterTable = divFooterInner.children('table'),
- header = $(settings.nTHead),
- table = $(settings.nTable),
- tableEl = table[0],
- tableStyle = tableEl.style,
- footer = settings.nTFoot ? $(settings.nTFoot) : null,
- browser = settings.oBrowser,
- ie67 = browser.bScrollOversize,
- dtHeaderCells = _pluck( settings.aoColumns, 'nTh' ),
- headerTrgEls, footerTrgEls,
- headerSrcEls, footerSrcEls,
- headerCopy, footerCopy,
- headerWidths=[], footerWidths=[],
- headerContent=[], footerContent=[],
- idx, correction, sanityWidth,
- zeroOut = function(nSizer) {
- var style = nSizer.style;
- style.paddingTop = "0";
- style.paddingBottom = "0";
- style.borderTopWidth = "0";
- style.borderBottomWidth = "0";
- style.height = 0;
- };
-
- // If the scrollbar visibility has changed from the last draw, we need to
- // adjust the column sizes as the table width will have changed to account
- // for the scrollbar
- var scrollBarVis = divBodyEl.scrollHeight > divBodyEl.clientHeight;
-
- if ( settings.scrollBarVis !== scrollBarVis && settings.scrollBarVis !== undefined ) {
- settings.scrollBarVis = scrollBarVis;
- _fnAdjustColumnSizing( settings );
- return; // adjust column sizing will call this function again
- }
- else {
- settings.scrollBarVis = scrollBarVis;
- }
-
- /*
- * 1. Re-create the table inside the scrolling div
- */
-
- // Remove the old minimised thead and tfoot elements in the inner table
- table.children('thead, tfoot').remove();
-
- if ( footer ) {
- footerCopy = footer.clone().prependTo( table );
- footerTrgEls = footer.find('tr'); // the original tfoot is in its own table and must be sized
- footerSrcEls = footerCopy.find('tr');
- }
-
- // Clone the current header and footer elements and then place it into the inner table
- headerCopy = header.clone().prependTo( table );
- headerTrgEls = header.find('tr'); // original header is in its own table
- headerSrcEls = headerCopy.find('tr');
- headerCopy.find('th, td').removeAttr('tabindex');
-
-
- /*
- * 2. Take live measurements from the DOM - do not alter the DOM itself!
- */
-
- // Remove old sizing and apply the calculated column widths
- // Get the unique column headers in the newly created (cloned) header. We want to apply the
- // calculated sizes to this header
- if ( ! scrollX )
- {
- divBodyStyle.width = '100%';
- divHeader[0].style.width = '100%';
- }
-
- $.each( _fnGetUniqueThs( settings, headerCopy ), function ( i, el ) {
- idx = _fnVisibleToColumnIndex( settings, i );
- el.style.width = settings.aoColumns[idx].sWidth;
- } );
-
- if ( footer ) {
- _fnApplyToChildren( function(n) {
- n.style.width = "";
- }, footerSrcEls );
- }
-
- // Size the table as a whole
- sanityWidth = table.outerWidth();
- if ( scrollX === "" ) {
- // No x scrolling
- tableStyle.width = "100%";
-
- // IE7 will make the width of the table when 100% include the scrollbar
- // - which is shouldn't. When there is a scrollbar we need to take this
- // into account.
- if ( ie67 && (table.find('tbody').height() > divBodyEl.offsetHeight ||
- divBody.css('overflow-y') == "scroll")
- ) {
- tableStyle.width = _fnStringToCss( table.outerWidth() - barWidth);
- }
-
- // Recalculate the sanity width
- sanityWidth = table.outerWidth();
- }
- else if ( scrollXInner !== "" ) {
- // legacy x scroll inner has been given - use it
- tableStyle.width = _fnStringToCss(scrollXInner);
-
- // Recalculate the sanity width
- sanityWidth = table.outerWidth();
- }
-
- // Hidden header should have zero height, so remove padding and borders. Then
- // set the width based on the real headers
-
- // Apply all styles in one pass
- _fnApplyToChildren( zeroOut, headerSrcEls );
-
- // Read all widths in next pass
- _fnApplyToChildren( function(nSizer) {
- headerContent.push( nSizer.innerHTML );
- headerWidths.push( _fnStringToCss( $(nSizer).css('width') ) );
- }, headerSrcEls );
-
- // Apply all widths in final pass
- _fnApplyToChildren( function(nToSize, i) {
- // Only apply widths to the DataTables detected header cells - this
- // prevents complex headers from having contradictory sizes applied
- if ( $.inArray( nToSize, dtHeaderCells ) !== -1 ) {
- nToSize.style.width = headerWidths[i];
- }
- }, headerTrgEls );
-
- $(headerSrcEls).height(0);
-
- /* Same again with the footer if we have one */
- if ( footer )
- {
- _fnApplyToChildren( zeroOut, footerSrcEls );
-
- _fnApplyToChildren( function(nSizer) {
- footerContent.push( nSizer.innerHTML );
- footerWidths.push( _fnStringToCss( $(nSizer).css('width') ) );
- }, footerSrcEls );
-
- _fnApplyToChildren( function(nToSize, i) {
- nToSize.style.width = footerWidths[i];
- }, footerTrgEls );
-
- $(footerSrcEls).height(0);
- }
-
-
- /*
- * 3. Apply the measurements
- */
-
- // "Hide" the header and footer that we used for the sizing. We need to keep
- // the content of the cell so that the width applied to the header and body
- // both match, but we want to hide it completely. We want to also fix their
- // width to what they currently are
- _fnApplyToChildren( function(nSizer, i) {
- nSizer.innerHTML = '<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+headerContent[i]+'</div>';
- nSizer.style.width = headerWidths[i];
- }, headerSrcEls );
-
- if ( footer )
- {
- _fnApplyToChildren( function(nSizer, i) {
- nSizer.innerHTML = '<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+footerContent[i]+'</div>';
- nSizer.style.width = footerWidths[i];
- }, footerSrcEls );
- }
-
- // Sanity check that the table is of a sensible width. If not then we are going to get
- // misalignment - try to prevent this by not allowing the table to shrink below its min width
- if ( table.outerWidth() < sanityWidth )
- {
- // The min width depends upon if we have a vertical scrollbar visible or not */
- correction = ((divBodyEl.scrollHeight > divBodyEl.offsetHeight ||
- divBody.css('overflow-y') == "scroll")) ?
- sanityWidth+barWidth :
- sanityWidth;
-
- // IE6/7 are a law unto themselves...
- if ( ie67 && (divBodyEl.scrollHeight >
- divBodyEl.offsetHeight || divBody.css('overflow-y') == "scroll")
- ) {
- tableStyle.width = _fnStringToCss( correction-barWidth );
- }
-
- // And give the user a warning that we've stopped the table getting too small
- if ( scrollX === "" || scrollXInner !== "" ) {
- _fnLog( settings, 1, 'Possible column misalignment', 6 );
- }
- }
- else
- {
- correction = '100%';
- }
-
- // Apply to the container elements
- divBodyStyle.width = _fnStringToCss( correction );
- divHeaderStyle.width = _fnStringToCss( correction );
-
- if ( footer ) {
- settings.nScrollFoot.style.width = _fnStringToCss( correction );
- }
-
-
- /*
- * 4. Clean up
- */
- if ( ! scrollY ) {
- /* IE7< puts a vertical scrollbar in place (when it shouldn't be) due to subtracting
- * the scrollbar height from the visible display, rather than adding it on. We need to
- * set the height in order to sort this. Don't want to do it in any other browsers.
- */
- if ( ie67 ) {
- divBodyStyle.height = _fnStringToCss( tableEl.offsetHeight+barWidth );
- }
- }
-
- /* Finally set the width's of the header and footer tables */
- var iOuterWidth = table.outerWidth();
- divHeaderTable[0].style.width = _fnStringToCss( iOuterWidth );
- divHeaderInnerStyle.width = _fnStringToCss( iOuterWidth );
-
- // Figure out if there are scrollbar present - if so then we need a the header and footer to
- // provide a bit more space to allow "overflow" scrolling (i.e. past the scrollbar)
- var bScrolling = table.height() > divBodyEl.clientHeight || divBody.css('overflow-y') == "scroll";
- var padding = 'padding' + (browser.bScrollbarLeft ? 'Left' : 'Right' );
- divHeaderInnerStyle[ padding ] = bScrolling ? barWidth+"px" : "0px";
-
- if ( footer ) {
- divFooterTable[0].style.width = _fnStringToCss( iOuterWidth );
- divFooterInner[0].style.width = _fnStringToCss( iOuterWidth );
- divFooterInner[0].style[padding] = bScrolling ? barWidth+"px" : "0px";
- }
-
- // Correct DOM ordering for colgroup - comes before the thead
- table.children('colgroup').insertBefore( table.children('thead') );
-
- /* Adjust the position of the header in case we loose the y-scrollbar */
- divBody.scroll();
-
- // If sorting or filtering has occurred, jump the scrolling back to the top
- // only if we aren't holding the position
- if ( (settings.bSorted || settings.bFiltered) && ! settings._drawHold ) {
- divBodyEl.scrollTop = 0;
- }
- }
-
-
-
- /**
- * Apply a given function to the display child nodes of an element array (typically
- * TD children of TR rows
- * @param {function} fn Method to apply to the objects
- * @param array {nodes} an1 List of elements to look through for display children
- * @param array {nodes} an2 Another list (identical structure to the first) - optional
- * @memberof DataTable#oApi
- */
- function _fnApplyToChildren( fn, an1, an2 )
- {
- var index=0, i=0, iLen=an1.length;
- var nNode1, nNode2;
-
- while ( i < iLen ) {
- nNode1 = an1[i].firstChild;
- nNode2 = an2 ? an2[i].firstChild : null;
-
- while ( nNode1 ) {
- if ( nNode1.nodeType === 1 ) {
- if ( an2 ) {
- fn( nNode1, nNode2, index );
- }
- else {
- fn( nNode1, index );
- }
-
- index++;
- }
-
- nNode1 = nNode1.nextSibling;
- nNode2 = an2 ? nNode2.nextSibling : null;
- }
-
- i++;
- }
- }
-
-
-
- var __re_html_remove = /<.*?>/g;
-
-
- /**
- * Calculate the width of columns for the table
- * @param {object} oSettings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnCalculateColumnWidths ( oSettings )
- {
- var
- table = oSettings.nTable,
- columns = oSettings.aoColumns,
- scroll = oSettings.oScroll,
- scrollY = scroll.sY,
- scrollX = scroll.sX,
- scrollXInner = scroll.sXInner,
- columnCount = columns.length,
- visibleColumns = _fnGetColumns( oSettings, 'bVisible' ),
- headerCells = $('th', oSettings.nTHead),
- tableWidthAttr = table.getAttribute('width'), // from DOM element
- tableContainer = table.parentNode,
- userInputs = false,
- i, column, columnIdx, width, outerWidth,
- browser = oSettings.oBrowser,
- ie67 = browser.bScrollOversize;
-
- var styleWidth = table.style.width;
- if ( styleWidth && styleWidth.indexOf('%') !== -1 ) {
- tableWidthAttr = styleWidth;
- }
-
- /* Convert any user input sizes into pixel sizes */
- for ( i=0 ; i<visibleColumns.length ; i++ ) {
- column = columns[ visibleColumns[i] ];
-
- if ( column.sWidth !== null ) {
- column.sWidth = _fnConvertToWidth( column.sWidthOrig, tableContainer );
-
- userInputs = true;
- }
- }
-
- /* If the number of columns in the DOM equals the number that we have to
- * process in DataTables, then we can use the offsets that are created by
- * the web- browser. No custom sizes can be set in order for this to happen,
- * nor scrolling used
- */
- if ( ie67 || ! userInputs && ! scrollX && ! scrollY &&
- columnCount == _fnVisbleColumns( oSettings ) &&
- columnCount == headerCells.length
- ) {
- for ( i=0 ; i<columnCount ; i++ ) {
- var colIdx = _fnVisibleToColumnIndex( oSettings, i );
-
- if ( colIdx !== null ) {
- columns[ colIdx ].sWidth = _fnStringToCss( headerCells.eq(i).width() );
- }
- }
- }
- else
- {
- // Otherwise construct a single row, worst case, table with the widest
- // node in the data, assign any user defined widths, then insert it into
- // the DOM and allow the browser to do all the hard work of calculating
- // table widths
- var tmpTable = $(table).clone() // don't use cloneNode - IE8 will remove events on the main table
- .css( 'visibility', 'hidden' )
- .removeAttr( 'id' );
-
- // Clean up the table body
- tmpTable.find('tbody tr').remove();
- var tr = $('<tr/>').appendTo( tmpTable.find('tbody') );
-
- // Clone the table header and footer - we can't use the header / footer
- // from the cloned table, since if scrolling is active, the table's
- // real header and footer are contained in different table tags
- tmpTable.find('thead, tfoot').remove();
- tmpTable
- .append( $(oSettings.nTHead).clone() )
- .append( $(oSettings.nTFoot).clone() );
-
- // Remove any assigned widths from the footer (from scrolling)
- tmpTable.find('tfoot th, tfoot td').css('width', '');
-
- // Apply custom sizing to the cloned header
- headerCells = _fnGetUniqueThs( oSettings, tmpTable.find('thead')[0] );
-
- for ( i=0 ; i<visibleColumns.length ; i++ ) {
- column = columns[ visibleColumns[i] ];
-
- headerCells[i].style.width = column.sWidthOrig !== null && column.sWidthOrig !== '' ?
- _fnStringToCss( column.sWidthOrig ) :
- '';
-
- // For scrollX we need to force the column width otherwise the
- // browser will collapse it. If this width is smaller than the
- // width the column requires, then it will have no effect
- if ( column.sWidthOrig && scrollX ) {
- $( headerCells[i] ).append( $('<div/>').css( {
- width: column.sWidthOrig,
- margin: 0,
- padding: 0,
- border: 0,
- height: 1
- } ) );
- }
- }
-
- // Find the widest cell for each column and put it into the table
- if ( oSettings.aoData.length ) {
- for ( i=0 ; i<visibleColumns.length ; i++ ) {
- columnIdx = visibleColumns[i];
- column = columns[ columnIdx ];
-
- $( _fnGetWidestNode( oSettings, columnIdx ) )
- .clone( false )
- .append( column.sContentPadding )
- .appendTo( tr );
- }
- }
-
- // Tidy the temporary table - remove name attributes so there aren't
- // duplicated in the dom (radio elements for example)
- $('[name]', tmpTable).removeAttr('name');
-
- // Table has been built, attach to the document so we can work with it.
- // A holding element is used, positioned at the top of the container
- // with minimal height, so it has no effect on if the container scrolls
- // or not. Otherwise it might trigger scrolling when it actually isn't
- // needed
- var holder = $('<div/>').css( scrollX || scrollY ?
- {
- position: 'absolute',
- top: 0,
- left: 0,
- height: 1,
- right: 0,
- overflow: 'hidden'
- } :
- {}
- )
- .append( tmpTable )
- .appendTo( tableContainer );
-
- // When scrolling (X or Y) we want to set the width of the table as
- // appropriate. However, when not scrolling leave the table width as it
- // is. This results in slightly different, but I think correct behaviour
- if ( scrollX && scrollXInner ) {
- tmpTable.width( scrollXInner );
- }
- else if ( scrollX ) {
- tmpTable.css( 'width', 'auto' );
- tmpTable.removeAttr('width');
-
- // If there is no width attribute or style, then allow the table to
- // collapse
- if ( tmpTable.width() < tableContainer.clientWidth && tableWidthAttr ) {
- tmpTable.width( tableContainer.clientWidth );
- }
- }
- else if ( scrollY ) {
- tmpTable.width( tableContainer.clientWidth );
- }
- else if ( tableWidthAttr ) {
- tmpTable.width( tableWidthAttr );
- }
-
- // Get the width of each column in the constructed table - we need to
- // know the inner width (so it can be assigned to the other table's
- // cells) and the outer width so we can calculate the full width of the
- // table. This is safe since DataTables requires a unique cell for each
- // column, but if ever a header can span multiple columns, this will
- // need to be modified.
- var total = 0;
- for ( i=0 ; i<visibleColumns.length ; i++ ) {
- var cell = $(headerCells[i]);
- var border = cell.outerWidth() - cell.width();
-
- // Use getBounding... where possible (not IE8-) because it can give
- // sub-pixel accuracy, which we then want to round up!
- var bounding = browser.bBounding ?
- Math.ceil( headerCells[i].getBoundingClientRect().width ) :
- cell.outerWidth();
-
- // Total is tracked to remove any sub-pixel errors as the outerWidth
- // of the table might not equal the total given here (IE!).
- total += bounding;
-
- // Width for each column to use
- columns[ visibleColumns[i] ].sWidth = _fnStringToCss( bounding - border );
- }
-
- table.style.width = _fnStringToCss( total );
-
- // Finished with the table - ditch it
- holder.remove();
- }
-
- // If there is a width attr, we want to attach an event listener which
- // allows the table sizing to automatically adjust when the window is
- // resized. Use the width attr rather than CSS, since we can't know if the
- // CSS is a relative value or absolute - DOM read is always px.
- if ( tableWidthAttr ) {
- table.style.width = _fnStringToCss( tableWidthAttr );
- }
-
- if ( (tableWidthAttr || scrollX) && ! oSettings._reszEvt ) {
- var bindResize = function () {
- $(window).bind('resize.DT-'+oSettings.sInstance, _fnThrottle( function () {
- _fnAdjustColumnSizing( oSettings );
- } ) );
- };
-
- // IE6/7 will crash if we bind a resize event handler on page load.
- // To be removed in 1.11 which drops IE6/7 support
- if ( ie67 ) {
- setTimeout( bindResize, 1000 );
- }
- else {
- bindResize();
- }
-
- oSettings._reszEvt = true;
- }
- }
-
-
- /**
- * Throttle the calls to a function. Arguments and context are maintained for
- * the throttled function
- * @param {function} fn Function to be called
- * @param {int} [freq=200] call frequency in mS
- * @returns {function} wrapped function
- * @memberof DataTable#oApi
- */
- function _fnThrottle( fn, freq ) {
- var
- frequency = freq !== undefined ? freq : 200,
- last,
- timer;
-
- return function () {
- var
- that = this,
- now = +new Date(),
- args = arguments;
-
- if ( last && now < last + frequency ) {
- clearTimeout( timer );
-
- timer = setTimeout( function () {
- last = undefined;
- fn.apply( that, args );
- }, frequency );
- }
- else {
- last = now;
- fn.apply( that, args );
- }
- };
- }
-
-
- /**
- * Convert a CSS unit width to pixels (e.g. 2em)
- * @param {string} width width to be converted
- * @param {node} parent parent to get the with for (required for relative widths) - optional
- * @returns {int} width in pixels
- * @memberof DataTable#oApi
- */
- function _fnConvertToWidth ( width, parent )
- {
- if ( ! width ) {
- return 0;
- }
-
- var n = $('<div/>')
- .css( 'width', _fnStringToCss( width ) )
- .appendTo( parent || document.body );
-
- var val = n[0].offsetWidth;
- n.remove();
-
- return val;
- }
-
-
- /**
- * Get the widest node
- * @param {object} settings dataTables settings object
- * @param {int} colIdx column of interest
- * @returns {node} widest table node
- * @memberof DataTable#oApi
- */
- function _fnGetWidestNode( settings, colIdx )
- {
- var idx = _fnGetMaxLenString( settings, colIdx );
- if ( idx < 0 ) {
- return null;
- }
-
- var data = settings.aoData[ idx ];
- return ! data.nTr ? // Might not have been created when deferred rendering
- $('<td/>').html( _fnGetCellData( settings, idx, colIdx, 'display' ) )[0] :
- data.anCells[ colIdx ];
- }
-
-
- /**
- * Get the maximum strlen for each data column
- * @param {object} settings dataTables settings object
- * @param {int} colIdx column of interest
- * @returns {string} max string length for each column
- * @memberof DataTable#oApi
- */
- function _fnGetMaxLenString( settings, colIdx )
- {
- var s, max=-1, maxIdx = -1;
-
- for ( var i=0, ien=settings.aoData.length ; i<ien ; i++ ) {
- s = _fnGetCellData( settings, i, colIdx, 'display' )+'';
- s = s.replace( __re_html_remove, '' );
- s = s.replace( /&nbsp;/g, ' ' );
-
- if ( s.length > max ) {
- max = s.length;
- maxIdx = i;
- }
- }
-
- return maxIdx;
- }
-
-
- /**
- * Append a CSS unit (only if required) to a string
- * @param {string} value to css-ify
- * @returns {string} value with css unit
- * @memberof DataTable#oApi
- */
- function _fnStringToCss( s )
- {
- if ( s === null ) {
- return '0px';
- }
-
- if ( typeof s == 'number' ) {
- return s < 0 ?
- '0px' :
- s+'px';
- }
-
- // Check it has a unit character already
- return s.match(/\d$/) ?
- s+'px' :
- s;
- }
-
-
-
- function _fnSortFlatten ( settings )
- {
- var
- i, iLen, k, kLen,
- aSort = [],
- aiOrig = [],
- aoColumns = settings.aoColumns,
- aDataSort, iCol, sType, srcCol,
- fixed = settings.aaSortingFixed,
- fixedObj = $.isPlainObject( fixed ),
- nestedSort = [],
- add = function ( a ) {
- if ( a.length && ! $.isArray( a[0] ) ) {
- // 1D array
- nestedSort.push( a );
- }
- else {
- // 2D array
- $.merge( nestedSort, a );
- }
- };
-
- // Build the sort array, with pre-fix and post-fix options if they have been
- // specified
- if ( $.isArray( fixed ) ) {
- add( fixed );
- }
-
- if ( fixedObj && fixed.pre ) {
- add( fixed.pre );
- }
-
- add( settings.aaSorting );
-
- if (fixedObj && fixed.post ) {
- add( fixed.post );
- }
-
- for ( i=0 ; i<nestedSort.length ; i++ )
- {
- srcCol = nestedSort[i][0];
- aDataSort = aoColumns[ srcCol ].aDataSort;
-
- for ( k=0, kLen=aDataSort.length ; k<kLen ; k++ )
- {
- iCol = aDataSort[k];
- sType = aoColumns[ iCol ].sType || 'string';
-
- if ( nestedSort[i]._idx === undefined ) {
- nestedSort[i]._idx = $.inArray( nestedSort[i][1], aoColumns[iCol].asSorting );
- }
-
- aSort.push( {
- src: srcCol,
- col: iCol,
- dir: nestedSort[i][1],
- index: nestedSort[i]._idx,
- type: sType,
- formatter: DataTable.ext.type.order[ sType+"-pre" ]
- } );
- }
- }
-
- return aSort;
- }
-
- /**
- * Change the order of the table
- * @param {object} oSettings dataTables settings object
- * @memberof DataTable#oApi
- * @todo This really needs split up!
- */
- function _fnSort ( oSettings )
- {
- var
- i, ien, iLen, j, jLen, k, kLen,
- sDataType, nTh,
- aiOrig = [],
- oExtSort = DataTable.ext.type.order,
- aoData = oSettings.aoData,
- aoColumns = oSettings.aoColumns,
- aDataSort, data, iCol, sType, oSort,
- formatters = 0,
- sortCol,
- displayMaster = oSettings.aiDisplayMaster,
- aSort;
-
- // Resolve any column types that are unknown due to addition or invalidation
- // @todo Can this be moved into a 'data-ready' handler which is called when
- // data is going to be used in the table?
- _fnColumnTypes( oSettings );
-
- aSort = _fnSortFlatten( oSettings );
-
- for ( i=0, ien=aSort.length ; i<ien ; i++ ) {
- sortCol = aSort[i];
-
- // Track if we can use the fast sort algorithm
- if ( sortCol.formatter ) {
- formatters++;
- }
-
- // Load the data needed for the sort, for each cell
- _fnSortData( oSettings, sortCol.col );
- }
-
- /* No sorting required if server-side or no sorting array */
- if ( _fnDataSource( oSettings ) != 'ssp' && aSort.length !== 0 )
- {
- // Create a value - key array of the current row positions such that we can use their
- // current position during the sort, if values match, in order to perform stable sorting
- for ( i=0, iLen=displayMaster.length ; i<iLen ; i++ ) {
- aiOrig[ displayMaster[i] ] = i;
- }
-
- /* Do the sort - here we want multi-column sorting based on a given data source (column)
- * and sorting function (from oSort) in a certain direction. It's reasonably complex to
- * follow on it's own, but this is what we want (example two column sorting):
- * fnLocalSorting = function(a,b){
- * var iTest;
- * iTest = oSort['string-asc']('data11', 'data12');
- * if (iTest !== 0)
- * return iTest;
- * iTest = oSort['numeric-desc']('data21', 'data22');
- * if (iTest !== 0)
- * return iTest;
- * return oSort['numeric-asc']( aiOrig[a], aiOrig[b] );
- * }
- * Basically we have a test for each sorting column, if the data in that column is equal,
- * test the next column. If all columns match, then we use a numeric sort on the row
- * positions in the original data array to provide a stable sort.
- *
- * Note - I know it seems excessive to have two sorting methods, but the first is around
- * 15% faster, so the second is only maintained for backwards compatibility with sorting
- * methods which do not have a pre-sort formatting function.
- */
- if ( formatters === aSort.length ) {
- // All sort types have formatting functions
- displayMaster.sort( function ( a, b ) {
- var
- x, y, k, test, sort,
- len=aSort.length,
- dataA = aoData[a]._aSortData,
- dataB = aoData[b]._aSortData;
-
- for ( k=0 ; k<len ; k++ ) {
- sort = aSort[k];
-
- x = dataA[ sort.col ];
- y = dataB[ sort.col ];
-
- test = x<y ? -1 : x>y ? 1 : 0;
- if ( test !== 0 ) {
- return sort.dir === 'asc' ? test : -test;
- }
- }
-
- x = aiOrig[a];
- y = aiOrig[b];
- return x<y ? -1 : x>y ? 1 : 0;
- } );
- }
- else {
- // Depreciated - remove in 1.11 (providing a plug-in option)
- // Not all sort types have formatting methods, so we have to call their sorting
- // methods.
- displayMaster.sort( function ( a, b ) {
- var
- x, y, k, l, test, sort, fn,
- len=aSort.length,
- dataA = aoData[a]._aSortData,
- dataB = aoData[b]._aSortData;
-
- for ( k=0 ; k<len ; k++ ) {
- sort = aSort[k];
-
- x = dataA[ sort.col ];
- y = dataB[ sort.col ];
-
- fn = oExtSort[ sort.type+"-"+sort.dir ] || oExtSort[ "string-"+sort.dir ];
- test = fn( x, y );
- if ( test !== 0 ) {
- return test;
- }
- }
-
- x = aiOrig[a];
- y = aiOrig[b];
- return x<y ? -1 : x>y ? 1 : 0;
- } );
- }
- }
-
- /* Tell the draw function that we have sorted the data */
- oSettings.bSorted = true;
- }
-
-
- function _fnSortAria ( settings )
- {
- var label;
- var nextSort;
- var columns = settings.aoColumns;
- var aSort = _fnSortFlatten( settings );
- var oAria = settings.oLanguage.oAria;
-
- // ARIA attributes - need to loop all columns, to update all (removing old
- // attributes as needed)
- for ( var i=0, iLen=columns.length ; i<iLen ; i++ )
- {
- var col = columns[i];
- var asSorting = col.asSorting;
- var sTitle = col.sTitle.replace( /<.*?>/g, "" );
- var th = col.nTh;
-
- // IE7 is throwing an error when setting these properties with jQuery's
- // attr() and removeAttr() methods...
- th.removeAttribute('aria-sort');
-
- /* In ARIA only the first sorting column can be marked as sorting - no multi-sort option */
- if ( col.bSortable ) {
- if ( aSort.length > 0 && aSort[0].col == i ) {
- th.setAttribute('aria-sort', aSort[0].dir=="asc" ? "ascending" : "descending" );
- nextSort = asSorting[ aSort[0].index+1 ] || asSorting[0];
- }
- else {
- nextSort = asSorting[0];
- }
-
- label = sTitle + ( nextSort === "asc" ?
- oAria.sSortAscending :
- oAria.sSortDescending
- );
- }
- else {
- label = sTitle;
- }
-
- th.setAttribute('aria-label', label);
- }
- }
-
-
- /**
- * Function to run on user sort request
- * @param {object} settings dataTables settings object
- * @param {node} attachTo node to attach the handler to
- * @param {int} colIdx column sorting index
- * @param {boolean} [append=false] Append the requested sort to the existing
- * sort if true (i.e. multi-column sort)
- * @param {function} [callback] callback function
- * @memberof DataTable#oApi
- */
- function _fnSortListener ( settings, colIdx, append, callback )
- {
- var col = settings.aoColumns[ colIdx ];
- var sorting = settings.aaSorting;
- var asSorting = col.asSorting;
- var nextSortIdx;
- var next = function ( a, overflow ) {
- var idx = a._idx;
- if ( idx === undefined ) {
- idx = $.inArray( a[1], asSorting );
- }
-
- return idx+1 < asSorting.length ?
- idx+1 :
- overflow ?
- null :
- 0;
- };
-
- // Convert to 2D array if needed
- if ( typeof sorting[0] === 'number' ) {
- sorting = settings.aaSorting = [ sorting ];
- }
-
- // If appending the sort then we are multi-column sorting
- if ( append && settings.oFeatures.bSortMulti ) {
- // Are we already doing some kind of sort on this column?
- var sortIdx = $.inArray( colIdx, _pluck(sorting, '0') );
-
- if ( sortIdx !== -1 ) {
- // Yes, modify the sort
- nextSortIdx = next( sorting[sortIdx], true );
-
- if ( nextSortIdx === null && sorting.length === 1 ) {
- nextSortIdx = 0; // can't remove sorting completely
- }
-
- if ( nextSortIdx === null ) {
- sorting.splice( sortIdx, 1 );
- }
- else {
- sorting[sortIdx][1] = asSorting[ nextSortIdx ];
- sorting[sortIdx]._idx = nextSortIdx;
- }
- }
- else {
- // No sort on this column yet
- sorting.push( [ colIdx, asSorting[0], 0 ] );
- sorting[sorting.length-1]._idx = 0;
- }
- }
- else if ( sorting.length && sorting[0][0] == colIdx ) {
- // Single column - already sorting on this column, modify the sort
- nextSortIdx = next( sorting[0] );
-
- sorting.length = 1;
- sorting[0][1] = asSorting[ nextSortIdx ];
- sorting[0]._idx = nextSortIdx;
- }
- else {
- // Single column - sort only on this column
- sorting.length = 0;
- sorting.push( [ colIdx, asSorting[0] ] );
- sorting[0]._idx = 0;
- }
-
- // Run the sort by calling a full redraw
- _fnReDraw( settings );
-
- // callback used for async user interaction
- if ( typeof callback == 'function' ) {
- callback( settings );
- }
- }
-
-
- /**
- * Attach a sort handler (click) to a node
- * @param {object} settings dataTables settings object
- * @param {node} attachTo node to attach the handler to
- * @param {int} colIdx column sorting index
- * @param {function} [callback] callback function
- * @memberof DataTable#oApi
- */
- function _fnSortAttachListener ( settings, attachTo, colIdx, callback )
- {
- var col = settings.aoColumns[ colIdx ];
-
- _fnBindAction( attachTo, {}, function (e) {
- /* If the column is not sortable - don't to anything */
- if ( col.bSortable === false ) {
- return;
- }
-
- // If processing is enabled use a timeout to allow the processing
- // display to be shown - otherwise to it synchronously
- if ( settings.oFeatures.bProcessing ) {
- _fnProcessingDisplay( settings, true );
-
- setTimeout( function() {
- _fnSortListener( settings, colIdx, e.shiftKey, callback );
-
- // In server-side processing, the draw callback will remove the
- // processing display
- if ( _fnDataSource( settings ) !== 'ssp' ) {
- _fnProcessingDisplay( settings, false );
- }
- }, 0 );
- }
- else {
- _fnSortListener( settings, colIdx, e.shiftKey, callback );
- }
- } );
- }
-
-
- /**
- * Set the sorting classes on table's body, Note: it is safe to call this function
- * when bSort and bSortClasses are false
- * @param {object} oSettings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnSortingClasses( settings )
- {
- var oldSort = settings.aLastSort;
- var sortClass = settings.oClasses.sSortColumn;
- var sort = _fnSortFlatten( settings );
- var features = settings.oFeatures;
- var i, ien, colIdx;
-
- if ( features.bSort && features.bSortClasses ) {
- // Remove old sorting classes
- for ( i=0, ien=oldSort.length ; i<ien ; i++ ) {
- colIdx = oldSort[i].src;
-
- // Remove column sorting
- $( _pluck( settings.aoData, 'anCells', colIdx ) )
- .removeClass( sortClass + (i<2 ? i+1 : 3) );
- }
-
- // Add new column sorting
- for ( i=0, ien=sort.length ; i<ien ; i++ ) {
- colIdx = sort[i].src;
-
- $( _pluck( settings.aoData, 'anCells', colIdx ) )
- .addClass( sortClass + (i<2 ? i+1 : 3) );
- }
- }
-
- settings.aLastSort = sort;
- }
-
-
- // Get the data to sort a column, be it from cache, fresh (populating the
- // cache), or from a sort formatter
- function _fnSortData( settings, idx )
- {
- // Custom sorting function - provided by the sort data type
- var column = settings.aoColumns[ idx ];
- var customSort = DataTable.ext.order[ column.sSortDataType ];
- var customData;
-
- if ( customSort ) {
- customData = customSort.call( settings.oInstance, settings, idx,
- _fnColumnIndexToVisible( settings, idx )
- );
- }
-
- // Use / populate cache
- var row, cellData;
- var formatter = DataTable.ext.type.order[ column.sType+"-pre" ];
-
- for ( var i=0, ien=settings.aoData.length ; i<ien ; i++ ) {
- row = settings.aoData[i];
-
- if ( ! row._aSortData ) {
- row._aSortData = [];
- }
-
- if ( ! row._aSortData[idx] || customSort ) {
- cellData = customSort ?
- customData[i] : // If there was a custom sort function, use data from there
- _fnGetCellData( settings, i, idx, 'sort' );
-
- row._aSortData[ idx ] = formatter ?
- formatter( cellData ) :
- cellData;
- }
- }
- }
-
-
-
- /**
- * Save the state of a table
- * @param {object} oSettings dataTables settings object
- * @memberof DataTable#oApi
- */
- function _fnSaveState ( settings )
- {
- if ( !settings.oFeatures.bStateSave || settings.bDestroying )
- {
- return;
- }
-
- /* Store the interesting variables */
- var state = {
- time: +new Date(),
- start: settings._iDisplayStart,
- length: settings._iDisplayLength,
- order: $.extend( true, [], settings.aaSorting ),
- search: _fnSearchToCamel( settings.oPreviousSearch ),
- columns: $.map( settings.aoColumns, function ( col, i ) {
- return {
- visible: col.bVisible,
- search: _fnSearchToCamel( settings.aoPreSearchCols[i] )
- };
- } )
- };
-
- _fnCallbackFire( settings, "aoStateSaveParams", 'stateSaveParams', [settings, state] );
-
- settings.oSavedState = state;
- settings.fnStateSaveCallback.call( settings.oInstance, settings, state );
- }
-
-
- /**
- * Attempt to load a saved table state
- * @param {object} oSettings dataTables settings object
- * @param {object} oInit DataTables init object so we can override settings
- * @memberof DataTable#oApi
- */
- function _fnLoadState ( settings, oInit )
- {
- var i, ien;
- var columns = settings.aoColumns;
-
- if ( ! settings.oFeatures.bStateSave ) {
- return;
- }
-
- var state = settings.fnStateLoadCallback.call( settings.oInstance, settings );
- if ( ! state || ! state.time ) {
- return;
- }
-
- /* Allow custom and plug-in manipulation functions to alter the saved data set and
- * cancelling of loading by returning false
- */
- var abStateLoad = _fnCallbackFire( settings, 'aoStateLoadParams', 'stateLoadParams', [settings, state] );
- if ( $.inArray( false, abStateLoad ) !== -1 ) {
- return;
- }
-
- /* Reject old data */
- var duration = settings.iStateDuration;
- if ( duration > 0 && state.time < +new Date() - (duration*1000) ) {
- return;
- }
-
- // Number of columns have changed - all bets are off, no restore of settings
- if ( columns.length !== state.columns.length ) {
- return;
- }
-
- // Store the saved state so it might be accessed at any time
- settings.oLoadedState = $.extend( true, {}, state );
-
- // Restore key features - todo - for 1.11 this needs to be done by
- // subscribed events
- if ( state.start !== undefined ) {
- settings._iDisplayStart = state.start;
- settings.iInitDisplayStart = state.start;
- }
- if ( state.length !== undefined ) {
- settings._iDisplayLength = state.length;
- }
-
- // Order
- if ( state.order !== undefined ) {
- settings.aaSorting = [];
- $.each( state.order, function ( i, col ) {
- settings.aaSorting.push( col[0] >= columns.length ?
- [ 0, col[1] ] :
- col
- );
- } );
- }
-
- // Search
- if ( state.search !== undefined ) {
- $.extend( settings.oPreviousSearch, _fnSearchToHung( state.search ) );
- }
-
- // Columns
- for ( i=0, ien=state.columns.length ; i<ien ; i++ ) {
- var col = state.columns[i];
-
- // Visibility
- if ( col.visible !== undefined ) {
- columns[i].bVisible = col.visible;
- }
-
- // Search
- if ( col.search !== undefined ) {
- $.extend( settings.aoPreSearchCols[i], _fnSearchToHung( col.search ) );
- }
- }
-
- _fnCallbackFire( settings, 'aoStateLoaded', 'stateLoaded', [settings, state] );
- }
-
-
- /**
- * Return the settings object for a particular table
- * @param {node} table table we are using as a dataTable
- * @returns {object} Settings object - or null if not found
- * @memberof DataTable#oApi
- */
- function _fnSettingsFromNode ( table )
- {
- var settings = DataTable.settings;
- var idx = $.inArray( table, _pluck( settings, 'nTable' ) );
-
- return idx !== -1 ?
- settings[ idx ] :
- null;
- }
-
-
- /**
- * Log an error message
- * @param {object} settings dataTables settings object
- * @param {int} level log error messages, or display them to the user
- * @param {string} msg error message
- * @param {int} tn Technical note id to get more information about the error.
- * @memberof DataTable#oApi
- */
- function _fnLog( settings, level, msg, tn )
- {
- msg = 'DataTables warning: '+
- (settings ? 'table id='+settings.sTableId+' - ' : '')+msg;
-
- if ( tn ) {
- msg += '. For more information about this error, please see '+
- 'http://datatables.net/tn/'+tn;
- }
-
- if ( ! level ) {
- // Backwards compatibility pre 1.10
- var ext = DataTable.ext;
- var type = ext.sErrMode || ext.errMode;
-
- if ( settings ) {
- _fnCallbackFire( settings, null, 'error', [ settings, tn, msg ] );
- }
-
- if ( type == 'alert' ) {
- alert( msg );
- }
- else if ( type == 'throw' ) {
- throw new Error(msg);
- }
- else if ( typeof type == 'function' ) {
- type( settings, tn, msg );
- }
- }
- else if ( window.console && console.log ) {
- console.log( msg );
- }
- }
-
-
- /**
- * See if a property is defined on one object, if so assign it to the other object
- * @param {object} ret target object
- * @param {object} src source object
- * @param {string} name property
- * @param {string} [mappedName] name to map too - optional, name used if not given
- * @memberof DataTable#oApi
- */
- function _fnMap( ret, src, name, mappedName )
- {
- if ( $.isArray( name ) ) {
- $.each( name, function (i, val) {
- if ( $.isArray( val ) ) {
- _fnMap( ret, src, val[0], val[1] );
- }
- else {
- _fnMap( ret, src, val );
- }
- } );
-
- return;
- }
-
- if ( mappedName === undefined ) {
- mappedName = name;
- }
-
- if ( src[name] !== undefined ) {
- ret[mappedName] = src[name];
- }
- }
-
-
- /**
- * Extend objects - very similar to jQuery.extend, but deep copy objects, and
- * shallow copy arrays. The reason we need to do this, is that we don't want to
- * deep copy array init values (such as aaSorting) since the dev wouldn't be
- * able to override them, but we do want to deep copy arrays.
- * @param {object} out Object to extend
- * @param {object} extender Object from which the properties will be applied to
- * out
- * @param {boolean} breakRefs If true, then arrays will be sliced to take an
- * independent copy with the exception of the `data` or `aaData` parameters
- * if they are present. This is so you can pass in a collection to
- * DataTables and have that used as your data source without breaking the
- * references
- * @returns {object} out Reference, just for convenience - out === the return.
- * @memberof DataTable#oApi
- * @todo This doesn't take account of arrays inside the deep copied objects.
- */
- function _fnExtend( out, extender, breakRefs )
- {
- var val;
-
- for ( var prop in extender ) {
- if ( extender.hasOwnProperty(prop) ) {
- val = extender[prop];
-
- if ( $.isPlainObject( val ) ) {
- if ( ! $.isPlainObject( out[prop] ) ) {
- out[prop] = {};
- }
- $.extend( true, out[prop], val );
- }
- else if ( breakRefs && prop !== 'data' && prop !== 'aaData' && $.isArray(val) ) {
- out[prop] = val.slice();
- }
- else {
- out[prop] = val;
- }
- }
- }
-
- return out;
- }
-
-
- /**
- * Bind an event handers to allow a click or return key to activate the callback.
- * This is good for accessibility since a return on the keyboard will have the
- * same effect as a click, if the element has focus.
- * @param {element} n Element to bind the action to
- * @param {object} oData Data object to pass to the triggered function
- * @param {function} fn Callback function for when the event is triggered
- * @memberof DataTable#oApi
- */
- function _fnBindAction( n, oData, fn )
- {
- $(n)
- .bind( 'click.DT', oData, function (e) {
- n.blur(); // Remove focus outline for mouse users
- fn(e);
- } )
- .bind( 'keypress.DT', oData, function (e){
- if ( e.which === 13 ) {
- e.preventDefault();
- fn(e);
- }
- } )
- .bind( 'selectstart.DT', function () {
- /* Take the brutal approach to cancelling text selection */
- return false;
- } );
- }
-
-
- /**
- * Register a callback function. Easily allows a callback function to be added to
- * an array store of callback functions that can then all be called together.
- * @param {object} oSettings dataTables settings object
- * @param {string} sStore Name of the array storage for the callbacks in oSettings
- * @param {function} fn Function to be called back
- * @param {string} sName Identifying name for the callback (i.e. a label)
- * @memberof DataTable#oApi
- */
- function _fnCallbackReg( oSettings, sStore, fn, sName )
- {
- if ( fn )
- {
- oSettings[sStore].push( {
- "fn": fn,
- "sName": sName
- } );
- }
- }
-
-
- /**
- * Fire callback functions and trigger events. Note that the loop over the
- * callback array store is done backwards! Further note that you do not want to
- * fire off triggers in time sensitive applications (for example cell creation)
- * as its slow.
- * @param {object} settings dataTables settings object
- * @param {string} callbackArr Name of the array storage for the callbacks in
- * oSettings
- * @param {string} eventName Name of the jQuery custom event to trigger. If
- * null no trigger is fired
- * @param {array} args Array of arguments to pass to the callback function /
- * trigger
- * @memberof DataTable#oApi
- */
- function _fnCallbackFire( settings, callbackArr, eventName, args )
- {
- var ret = [];
-
- if ( callbackArr ) {
- ret = $.map( settings[callbackArr].slice().reverse(), function (val, i) {
- return val.fn.apply( settings.oInstance, args );
- } );
- }
-
- if ( eventName !== null ) {
- var e = $.Event( eventName+'.dt' );
-
- $(settings.nTable).trigger( e, args );
-
- ret.push( e.result );
- }
-
- return ret;
- }
-
-
- function _fnLengthOverflow ( settings )
- {
- var
- start = settings._iDisplayStart,
- end = settings.fnDisplayEnd(),
- len = settings._iDisplayLength;
-
- /* If we have space to show extra rows (backing up from the end point - then do so */
- if ( start >= end )
- {
- start = end - len;
- }
-
- // Keep the start record on the current page
- start -= (start % len);
-
- if ( len === -1 || start < 0 )
- {
- start = 0;
- }
-
- settings._iDisplayStart = start;
- }
-
-
- function _fnRenderer( settings, type )
- {
- var renderer = settings.renderer;
- var host = DataTable.ext.renderer[type];
-
- if ( $.isPlainObject( renderer ) && renderer[type] ) {
- // Specific renderer for this type. If available use it, otherwise use
- // the default.
- return host[renderer[type]] || host._;
- }
- else if ( typeof renderer === 'string' ) {
- // Common renderer - if there is one available for this type use it,
- // otherwise use the default
- return host[renderer] || host._;
- }
-
- // Use the default
- return host._;
- }
-
-
- /**
- * Detect the data source being used for the table. Used to simplify the code
- * a little (ajax) and to make it compress a little smaller.
- *
- * @param {object} settings dataTables settings object
- * @returns {string} Data source
- * @memberof DataTable#oApi
- */
- function _fnDataSource ( settings )
- {
- if ( settings.oFeatures.bServerSide ) {
- return 'ssp';
- }
- else if ( settings.ajax || settings.sAjaxSource ) {
- return 'ajax';
- }
- return 'dom';
- }
-
-
- DataTable = function( options )
- {
- /**
- * Perform a jQuery selector action on the table's TR elements (from the tbody) and
- * return the resulting jQuery object.
- * @param {string|node|jQuery} sSelector jQuery selector or node collection to act on
- * @param {object} [oOpts] Optional parameters for modifying the rows to be included
- * @param {string} [oOpts.filter=none] Select TR elements that meet the current filter
- * criterion ("applied") or all TR elements (i.e. no filter).
- * @param {string} [oOpts.order=current] Order of the TR elements in the processed array.
- * Can be either 'current', whereby the current sorting of the table is used, or
- * 'original' whereby the original order the data was read into the table is used.
- * @param {string} [oOpts.page=all] Limit the selection to the currently displayed page
- * ("current") or not ("all"). If 'current' is given, then order is assumed to be
- * 'current' and filter is 'applied', regardless of what they might be given as.
- * @returns {object} jQuery object, filtered by the given selector.
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- *
- * // Highlight every second row
- * oTable.$('tr:odd').css('backgroundColor', 'blue');
- * } );
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- *
- * // Filter to rows with 'Webkit' in them, add a background colour and then
- * // remove the filter, thus highlighting the 'Webkit' rows only.
- * oTable.fnFilter('Webkit');
- * oTable.$('tr', {"search": "applied"}).css('backgroundColor', 'blue');
- * oTable.fnFilter('');
- * } );
- */
- this.$ = function ( sSelector, oOpts )
- {
- return this.api(true).$( sSelector, oOpts );
- };
-
-
- /**
- * Almost identical to $ in operation, but in this case returns the data for the matched
- * rows - as such, the jQuery selector used should match TR row nodes or TD/TH cell nodes
- * rather than any descendants, so the data can be obtained for the row/cell. If matching
- * rows are found, the data returned is the original data array/object that was used to
- * create the row (or a generated array if from a DOM source).
- *
- * This method is often useful in-combination with $ where both functions are given the
- * same parameters and the array indexes will match identically.
- * @param {string|node|jQuery} sSelector jQuery selector or node collection to act on
- * @param {object} [oOpts] Optional parameters for modifying the rows to be included
- * @param {string} [oOpts.filter=none] Select elements that meet the current filter
- * criterion ("applied") or all elements (i.e. no filter).
- * @param {string} [oOpts.order=current] Order of the data in the processed array.
- * Can be either 'current', whereby the current sorting of the table is used, or
- * 'original' whereby the original order the data was read into the table is used.
- * @param {string} [oOpts.page=all] Limit the selection to the currently displayed page
- * ("current") or not ("all"). If 'current' is given, then order is assumed to be
- * 'current' and filter is 'applied', regardless of what they might be given as.
- * @returns {array} Data for the matched elements. If any elements, as a result of the
- * selector, were not TR, TD or TH elements in the DataTable, they will have a null
- * entry in the array.
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- *
- * // Get the data from the first row in the table
- * var data = oTable._('tr:first');
- *
- * // Do something useful with the data
- * alert( "First cell is: "+data[0] );
- * } );
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- *
- * // Filter to 'Webkit' and get all data for
- * oTable.fnFilter('Webkit');
- * var data = oTable._('tr', {"search": "applied"});
- *
- * // Do something with the data
- * alert( data.length+" rows matched the search" );
- * } );
- */
- this._ = function ( sSelector, oOpts )
- {
- return this.api(true).rows( sSelector, oOpts ).data();
- };
-
-
- /**
- * Create a DataTables Api instance, with the currently selected tables for
- * the Api's context.
- * @param {boolean} [traditional=false] Set the API instance's context to be
- * only the table referred to by the `DataTable.ext.iApiIndex` option, as was
- * used in the API presented by DataTables 1.9- (i.e. the traditional mode),
- * or if all tables captured in the jQuery object should be used.
- * @return {DataTables.Api}
- */
- this.api = function ( traditional )
- {
- return traditional ?
- new _Api(
- _fnSettingsFromNode( this[ _ext.iApiIndex ] )
- ) :
- new _Api( this );
- };
-
-
- /**
- * Add a single new row or multiple rows of data to the table. Please note
- * that this is suitable for client-side processing only - if you are using
- * server-side processing (i.e. "bServerSide": true), then to add data, you
- * must add it to the data source, i.e. the server-side, through an Ajax call.
- * @param {array|object} data The data to be added to the table. This can be:
- * <ul>
- * <li>1D array of data - add a single row with the data provided</li>
- * <li>2D array of arrays - add multiple rows in a single call</li>
- * <li>object - data object when using <i>mData</i></li>
- * <li>array of objects - multiple data objects when using <i>mData</i></li>
- * </ul>
- * @param {bool} [redraw=true] redraw the table or not
- * @returns {array} An array of integers, representing the list of indexes in
- * <i>aoData</i> ({@link DataTable.models.oSettings}) that have been added to
- * the table.
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * // Global var for counter
- * var giCount = 2;
- *
- * $(document).ready(function() {
- * $('#example').dataTable();
- * } );
- *
- * function fnClickAddRow() {
- * $('#example').dataTable().fnAddData( [
- * giCount+".1",
- * giCount+".2",
- * giCount+".3",
- * giCount+".4" ]
- * );
- *
- * giCount++;
- * }
- */
- this.fnAddData = function( data, redraw )
- {
- var api = this.api( true );
-
- /* Check if we want to add multiple rows or not */
- var rows = $.isArray(data) && ( $.isArray(data[0]) || $.isPlainObject(data[0]) ) ?
- api.rows.add( data ) :
- api.row.add( data );
-
- if ( redraw === undefined || redraw ) {
- api.draw();
- }
-
- return rows.flatten().toArray();
- };
-
-
- /**
- * This function will make DataTables recalculate the column sizes, based on the data
- * contained in the table and the sizes applied to the columns (in the DOM, CSS or
- * through the sWidth parameter). This can be useful when the width of the table's
- * parent element changes (for example a window resize).
- * @param {boolean} [bRedraw=true] Redraw the table or not, you will typically want to
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable( {
- * "sScrollY": "200px",
- * "bPaginate": false
- * } );
- *
- * $(window).bind('resize', function () {
- * oTable.fnAdjustColumnSizing();
- * } );
- * } );
- */
- this.fnAdjustColumnSizing = function ( bRedraw )
- {
- var api = this.api( true ).columns.adjust();
- var settings = api.settings()[0];
- var scroll = settings.oScroll;
-
- if ( bRedraw === undefined || bRedraw ) {
- api.draw( false );
- }
- else if ( scroll.sX !== "" || scroll.sY !== "" ) {
- /* If not redrawing, but scrolling, we want to apply the new column sizes anyway */
- _fnScrollDraw( settings );
- }
- };
-
-
- /**
- * Quickly and simply clear a table
- * @param {bool} [bRedraw=true] redraw the table or not
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- *
- * // Immediately 'nuke' the current rows (perhaps waiting for an Ajax callback...)
- * oTable.fnClearTable();
- * } );
- */
- this.fnClearTable = function( bRedraw )
- {
- var api = this.api( true ).clear();
-
- if ( bRedraw === undefined || bRedraw ) {
- api.draw();
- }
- };
-
-
- /**
- * The exact opposite of 'opening' a row, this function will close any rows which
- * are currently 'open'.
- * @param {node} nTr the table row to 'close'
- * @returns {int} 0 on success, or 1 if failed (can't find the row)
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable;
- *
- * // 'open' an information row when a row is clicked on
- * $('#example tbody tr').click( function () {
- * if ( oTable.fnIsOpen(this) ) {
- * oTable.fnClose( this );
- * } else {
- * oTable.fnOpen( this, "Temporary row opened", "info_row" );
- * }
- * } );
- *
- * oTable = $('#example').dataTable();
- * } );
- */
- this.fnClose = function( nTr )
- {
- this.api( true ).row( nTr ).child.hide();
- };
-
-
- /**
- * Remove a row for the table
- * @param {mixed} target The index of the row from aoData to be deleted, or
- * the TR element you want to delete
- * @param {function|null} [callBack] Callback function
- * @param {bool} [redraw=true] Redraw the table or not
- * @returns {array} The row that was deleted
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- *
- * // Immediately remove the first row
- * oTable.fnDeleteRow( 0 );
- * } );
- */
- this.fnDeleteRow = function( target, callback, redraw )
- {
- var api = this.api( true );
- var rows = api.rows( target );
- var settings = rows.settings()[0];
- var data = settings.aoData[ rows[0][0] ];
-
- rows.remove();
-
- if ( callback ) {
- callback.call( this, settings, data );
- }
-
- if ( redraw === undefined || redraw ) {
- api.draw();
- }
-
- return data;
- };
-
-
- /**
- * Restore the table to it's original state in the DOM by removing all of DataTables
- * enhancements, alterations to the DOM structure of the table and event listeners.
- * @param {boolean} [remove=false] Completely remove the table from the DOM
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * // This example is fairly pointless in reality, but shows how fnDestroy can be used
- * var oTable = $('#example').dataTable();
- * oTable.fnDestroy();
- * } );
- */
- this.fnDestroy = function ( remove )
- {
- this.api( true ).destroy( remove );
- };
-
-
- /**
- * Redraw the table
- * @param {bool} [complete=true] Re-filter and resort (if enabled) the table before the draw.
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- *
- * // Re-draw the table - you wouldn't want to do it here, but it's an example :-)
- * oTable.fnDraw();
- * } );
- */
- this.fnDraw = function( complete )
- {
- // Note that this isn't an exact match to the old call to _fnDraw - it takes
- // into account the new data, but can hold position.
- this.api( true ).draw( complete );
- };
-
-
- /**
- * Filter the input based on data
- * @param {string} sInput String to filter the table on
- * @param {int|null} [iColumn] Column to limit filtering to
- * @param {bool} [bRegex=false] Treat as regular expression or not
- * @param {bool} [bSmart=true] Perform smart filtering or not
- * @param {bool} [bShowGlobal=true] Show the input global filter in it's input box(es)
- * @param {bool} [bCaseInsensitive=true] Do case-insensitive matching (true) or not (false)
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- *
- * // Sometime later - filter...
- * oTable.fnFilter( 'test string' );
- * } );
- */
- this.fnFilter = function( sInput, iColumn, bRegex, bSmart, bShowGlobal, bCaseInsensitive )
- {
- var api = this.api( true );
-
- if ( iColumn === null || iColumn === undefined ) {
- api.search( sInput, bRegex, bSmart, bCaseInsensitive );
- }
- else {
- api.column( iColumn ).search( sInput, bRegex, bSmart, bCaseInsensitive );
- }
-
- api.draw();
- };
-
-
- /**
- * Get the data for the whole table, an individual row or an individual cell based on the
- * provided parameters.
- * @param {int|node} [src] A TR row node, TD/TH cell node or an integer. If given as
- * a TR node then the data source for the whole row will be returned. If given as a
- * TD/TH cell node then iCol will be automatically calculated and the data for the
- * cell returned. If given as an integer, then this is treated as the aoData internal
- * data index for the row (see fnGetPosition) and the data for that row used.
- * @param {int} [col] Optional column index that you want the data of.
- * @returns {array|object|string} If mRow is undefined, then the data for all rows is
- * returned. If mRow is defined, just data for that row, and is iCol is
- * defined, only data for the designated cell is returned.
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * // Row data
- * $(document).ready(function() {
- * oTable = $('#example').dataTable();
- *
- * oTable.$('tr').click( function () {
- * var data = oTable.fnGetData( this );
- * // ... do something with the array / object of data for the row
- * } );
- * } );
- *
- * @example
- * // Individual cell data
- * $(document).ready(function() {
- * oTable = $('#example').dataTable();
- *
- * oTable.$('td').click( function () {
- * var sData = oTable.fnGetData( this );
- * alert( 'The cell clicked on had the value of '+sData );
- * } );
- * } );
- */
- this.fnGetData = function( src, col )
- {
- var api = this.api( true );
-
- if ( src !== undefined ) {
- var type = src.nodeName ? src.nodeName.toLowerCase() : '';
-
- return col !== undefined || type == 'td' || type == 'th' ?
- api.cell( src, col ).data() :
- api.row( src ).data() || null;
- }
-
- return api.data().toArray();
- };
-
-
- /**
- * Get an array of the TR nodes that are used in the table's body. Note that you will
- * typically want to use the '$' API method in preference to this as it is more
- * flexible.
- * @param {int} [iRow] Optional row index for the TR element you want
- * @returns {array|node} If iRow is undefined, returns an array of all TR elements
- * in the table's body, or iRow is defined, just the TR element requested.
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- *
- * // Get the nodes from the table
- * var nNodes = oTable.fnGetNodes( );
- * } );
- */
- this.fnGetNodes = function( iRow )
- {
- var api = this.api( true );
-
- return iRow !== undefined ?
- api.row( iRow ).node() :
- api.rows().nodes().flatten().toArray();
- };
-
-
- /**
- * Get the array indexes of a particular cell from it's DOM element
- * and column index including hidden columns
- * @param {node} node this can either be a TR, TD or TH in the table's body
- * @returns {int} If nNode is given as a TR, then a single index is returned, or
- * if given as a cell, an array of [row index, column index (visible),
- * column index (all)] is given.
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * $('#example tbody td').click( function () {
- * // Get the position of the current data from the node
- * var aPos = oTable.fnGetPosition( this );
- *
- * // Get the data array for this row
- * var aData = oTable.fnGetData( aPos[0] );
- *
- * // Update the data array and return the value
- * aData[ aPos[1] ] = 'clicked';
- * this.innerHTML = 'clicked';
- * } );
- *
- * // Init DataTables
- * oTable = $('#example').dataTable();
- * } );
- */
- this.fnGetPosition = function( node )
- {
- var api = this.api( true );
- var nodeName = node.nodeName.toUpperCase();
-
- if ( nodeName == 'TR' ) {
- return api.row( node ).index();
- }
- else if ( nodeName == 'TD' || nodeName == 'TH' ) {
- var cell = api.cell( node ).index();
-
- return [
- cell.row,
- cell.columnVisible,
- cell.column
- ];
- }
- return null;
- };
-
-
- /**
- * Check to see if a row is 'open' or not.
- * @param {node} nTr the table row to check
- * @returns {boolean} true if the row is currently open, false otherwise
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable;
- *
- * // 'open' an information row when a row is clicked on
- * $('#example tbody tr').click( function () {
- * if ( oTable.fnIsOpen(this) ) {
- * oTable.fnClose( this );
- * } else {
- * oTable.fnOpen( this, "Temporary row opened", "info_row" );
- * }
- * } );
- *
- * oTable = $('#example').dataTable();
- * } );
- */
- this.fnIsOpen = function( nTr )
- {
- return this.api( true ).row( nTr ).child.isShown();
- };
-
-
- /**
- * This function will place a new row directly after a row which is currently
- * on display on the page, with the HTML contents that is passed into the
- * function. This can be used, for example, to ask for confirmation that a
- * particular record should be deleted.
- * @param {node} nTr The table row to 'open'
- * @param {string|node|jQuery} mHtml The HTML to put into the row
- * @param {string} sClass Class to give the new TD cell
- * @returns {node} The row opened. Note that if the table row passed in as the
- * first parameter, is not found in the table, this method will silently
- * return.
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable;
- *
- * // 'open' an information row when a row is clicked on
- * $('#example tbody tr').click( function () {
- * if ( oTable.fnIsOpen(this) ) {
- * oTable.fnClose( this );
- * } else {
- * oTable.fnOpen( this, "Temporary row opened", "info_row" );
- * }
- * } );
- *
- * oTable = $('#example').dataTable();
- * } );
- */
- this.fnOpen = function( nTr, mHtml, sClass )
- {
- return this.api( true )
- .row( nTr )
- .child( mHtml, sClass )
- .show()
- .child()[0];
- };
-
-
- /**
- * Change the pagination - provides the internal logic for pagination in a simple API
- * function. With this function you can have a DataTables table go to the next,
- * previous, first or last pages.
- * @param {string|int} mAction Paging action to take: "first", "previous", "next" or "last"
- * or page number to jump to (integer), note that page 0 is the first page.
- * @param {bool} [bRedraw=true] Redraw the table or not
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- * oTable.fnPageChange( 'next' );
- * } );
- */
- this.fnPageChange = function ( mAction, bRedraw )
- {
- var api = this.api( true ).page( mAction );
-
- if ( bRedraw === undefined || bRedraw ) {
- api.draw(false);
- }
- };
-
-
- /**
- * Show a particular column
- * @param {int} iCol The column whose display should be changed
- * @param {bool} bShow Show (true) or hide (false) the column
- * @param {bool} [bRedraw=true] Redraw the table or not
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- *
- * // Hide the second column after initialisation
- * oTable.fnSetColumnVis( 1, false );
- * } );
- */
- this.fnSetColumnVis = function ( iCol, bShow, bRedraw )
- {
- var api = this.api( true ).column( iCol ).visible( bShow );
-
- if ( bRedraw === undefined || bRedraw ) {
- api.columns.adjust().draw();
- }
- };
-
-
- /**
- * Get the settings for a particular table for external manipulation
- * @returns {object} DataTables settings object. See
- * {@link DataTable.models.oSettings}
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- * var oSettings = oTable.fnSettings();
- *
- * // Show an example parameter from the settings
- * alert( oSettings._iDisplayStart );
- * } );
- */
- this.fnSettings = function()
- {
- return _fnSettingsFromNode( this[_ext.iApiIndex] );
- };
-
-
- /**
- * Sort the table by a particular column
- * @param {int} iCol the data index to sort on. Note that this will not match the
- * 'display index' if you have hidden data entries
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- *
- * // Sort immediately with columns 0 and 1
- * oTable.fnSort( [ [0,'asc'], [1,'asc'] ] );
- * } );
- */
- this.fnSort = function( aaSort )
- {
- this.api( true ).order( aaSort ).draw();
- };
-
-
- /**
- * Attach a sort listener to an element for a given column
- * @param {node} nNode the element to attach the sort listener to
- * @param {int} iColumn the column that a click on this node will sort on
- * @param {function} [fnCallback] callback function when sort is run
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- *
- * // Sort on column 1, when 'sorter' is clicked on
- * oTable.fnSortListener( document.getElementById('sorter'), 1 );
- * } );
- */
- this.fnSortListener = function( nNode, iColumn, fnCallback )
- {
- this.api( true ).order.listener( nNode, iColumn, fnCallback );
- };
-
-
- /**
- * Update a table cell or row - this method will accept either a single value to
- * update the cell with, an array of values with one element for each column or
- * an object in the same format as the original data source. The function is
- * self-referencing in order to make the multi column updates easier.
- * @param {object|array|string} mData Data to update the cell/row with
- * @param {node|int} mRow TR element you want to update or the aoData index
- * @param {int} [iColumn] The column to update, give as null or undefined to
- * update a whole row.
- * @param {bool} [bRedraw=true] Redraw the table or not
- * @param {bool} [bAction=true] Perform pre-draw actions or not
- * @returns {int} 0 on success, 1 on error
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- * oTable.fnUpdate( 'Example update', 0, 0 ); // Single cell
- * oTable.fnUpdate( ['a', 'b', 'c', 'd', 'e'], $('tbody tr')[0] ); // Row
- * } );
- */
- this.fnUpdate = function( mData, mRow, iColumn, bRedraw, bAction )
- {
- var api = this.api( true );
-
- if ( iColumn === undefined || iColumn === null ) {
- api.row( mRow ).data( mData );
- }
- else {
- api.cell( mRow, iColumn ).data( mData );
- }
-
- if ( bAction === undefined || bAction ) {
- api.columns.adjust();
- }
-
- if ( bRedraw === undefined || bRedraw ) {
- api.draw();
- }
- return 0;
- };
-
-
- /**
- * Provide a common method for plug-ins to check the version of DataTables being used, in order
- * to ensure compatibility.
- * @param {string} sVersion Version string to check for, in the format "X.Y.Z". Note that the
- * formats "X" and "X.Y" are also acceptable.
- * @returns {boolean} true if this version of DataTables is greater or equal to the required
- * version, or false if this version of DataTales is not suitable
- * @method
- * @dtopt API
- * @deprecated Since v1.10
- *
- * @example
- * $(document).ready(function() {
- * var oTable = $('#example').dataTable();
- * alert( oTable.fnVersionCheck( '1.9.0' ) );
- * } );
- */
- this.fnVersionCheck = _ext.fnVersionCheck;
-
-
- var _that = this;
- var emptyInit = options === undefined;
- var len = this.length;
-
- if ( emptyInit ) {
- options = {};
- }
-
- this.oApi = this.internal = _ext.internal;
-
- // Extend with old style plug-in API methods
- for ( var fn in DataTable.ext.internal ) {
- if ( fn ) {
- this[fn] = _fnExternApiFunc(fn);
- }
- }
-
- this.each(function() {
- // For each initialisation we want to give it a clean initialisation
- // object that can be bashed around
- var o = {};
- var oInit = len > 1 ? // optimisation for single table case
- _fnExtend( o, options, true ) :
- options;
-
- /*global oInit,_that,emptyInit*/
- var i=0, iLen, j, jLen, k, kLen;
- var sId = this.getAttribute( 'id' );
- var bInitHandedOff = false;
- var defaults = DataTable.defaults;
- var $this = $(this);
-
-
- /* Sanity check */
- if ( this.nodeName.toLowerCase() != 'table' )
- {
- _fnLog( null, 0, 'Non-table node initialisation ('+this.nodeName+')', 2 );
- return;
- }
-
- /* Backwards compatibility for the defaults */
- _fnCompatOpts( defaults );
- _fnCompatCols( defaults.column );
-
- /* Convert the camel-case defaults to Hungarian */
- _fnCamelToHungarian( defaults, defaults, true );
- _fnCamelToHungarian( defaults.column, defaults.column, true );
-
- /* Setting up the initialisation object */
- _fnCamelToHungarian( defaults, $.extend( oInit, $this.data() ) );
-
-
-
- /* Check to see if we are re-initialising a table */
- var allSettings = DataTable.settings;
- for ( i=0, iLen=allSettings.length ; i<iLen ; i++ )
- {
- var s = allSettings[i];
-
- /* Base check on table node */
- if ( s.nTable == this || s.nTHead.parentNode == this || (s.nTFoot && s.nTFoot.parentNode == this) )
- {
- var bRetrieve = oInit.bRetrieve !== undefined ? oInit.bRetrieve : defaults.bRetrieve;
- var bDestroy = oInit.bDestroy !== undefined ? oInit.bDestroy : defaults.bDestroy;
-
- if ( emptyInit || bRetrieve )
- {
- return s.oInstance;
- }
- else if ( bDestroy )
- {
- s.oInstance.fnDestroy();
- break;
- }
- else
- {
- _fnLog( s, 0, 'Cannot reinitialise DataTable', 3 );
- return;
- }
- }
-
- /* If the element we are initialising has the same ID as a table which was previously
- * initialised, but the table nodes don't match (from before) then we destroy the old
- * instance by simply deleting it. This is under the assumption that the table has been
- * destroyed by other methods. Anyone using non-id selectors will need to do this manually
- */
- if ( s.sTableId == this.id )
- {
- allSettings.splice( i, 1 );
- break;
- }
- }
-
- /* Ensure the table has an ID - required for accessibility */
- if ( sId === null || sId === "" )
- {
- sId = "DataTables_Table_"+(DataTable.ext._unique++);
- this.id = sId;
- }
-
- /* Create the settings object for this table and set some of the default parameters */
- var oSettings = $.extend( true, {}, DataTable.models.oSettings, {
- "sDestroyWidth": $this[0].style.width,
- "sInstance": sId,
- "sTableId": sId
- } );
- oSettings.nTable = this;
- oSettings.oApi = _that.internal;
- oSettings.oInit = oInit;
-
- allSettings.push( oSettings );
-
- // Need to add the instance after the instance after the settings object has been added
- // to the settings array, so we can self reference the table instance if more than one
- oSettings.oInstance = (_that.length===1) ? _that : $this.dataTable();
-
- // Backwards compatibility, before we apply all the defaults
- _fnCompatOpts( oInit );
-
- if ( oInit.oLanguage )
- {
- _fnLanguageCompat( oInit.oLanguage );
- }
-
- // If the length menu is given, but the init display length is not, use the length menu
- if ( oInit.aLengthMenu && ! oInit.iDisplayLength )
- {
- oInit.iDisplayLength = $.isArray( oInit.aLengthMenu[0] ) ?
- oInit.aLengthMenu[0][0] : oInit.aLengthMenu[0];
- }
-
- // Apply the defaults and init options to make a single init object will all
- // options defined from defaults and instance options.
- oInit = _fnExtend( $.extend( true, {}, defaults ), oInit );
-
-
- // Map the initialisation options onto the settings object
- _fnMap( oSettings.oFeatures, oInit, [
- "bPaginate",
- "bLengthChange",
- "bFilter",
- "bSort",
- "bSortMulti",
- "bInfo",
- "bProcessing",
- "bAutoWidth",
- "bSortClasses",
- "bServerSide",
- "bDeferRender"
- ] );
- _fnMap( oSettings, oInit, [
- "asStripeClasses",
- "ajax",
- "fnServerData",
- "fnFormatNumber",
- "sServerMethod",
- "aaSorting",
- "aaSortingFixed",
- "aLengthMenu",
- "sPaginationType",
- "sAjaxSource",
- "sAjaxDataProp",
- "iStateDuration",
- "sDom",
- "bSortCellsTop",
- "iTabIndex",
- "fnStateLoadCallback",
- "fnStateSaveCallback",
- "renderer",
- "searchDelay",
- "rowId",
- [ "iCookieDuration", "iStateDuration" ], // backwards compat
- [ "oSearch", "oPreviousSearch" ],
- [ "aoSearchCols", "aoPreSearchCols" ],
- [ "iDisplayLength", "_iDisplayLength" ],
- [ "bJQueryUI", "bJUI" ]
- ] );
- _fnMap( oSettings.oScroll, oInit, [
- [ "sScrollX", "sX" ],
- [ "sScrollXInner", "sXInner" ],
- [ "sScrollY", "sY" ],
- [ "bScrollCollapse", "bCollapse" ]
- ] );
- _fnMap( oSettings.oLanguage, oInit, "fnInfoCallback" );
-
- /* Callback functions which are array driven */
- _fnCallbackReg( oSettings, 'aoDrawCallback', oInit.fnDrawCallback, 'user' );
- _fnCallbackReg( oSettings, 'aoServerParams', oInit.fnServerParams, 'user' );
- _fnCallbackReg( oSettings, 'aoStateSaveParams', oInit.fnStateSaveParams, 'user' );
- _fnCallbackReg( oSettings, 'aoStateLoadParams', oInit.fnStateLoadParams, 'user' );
- _fnCallbackReg( oSettings, 'aoStateLoaded', oInit.fnStateLoaded, 'user' );
- _fnCallbackReg( oSettings, 'aoRowCallback', oInit.fnRowCallback, 'user' );
- _fnCallbackReg( oSettings, 'aoRowCreatedCallback', oInit.fnCreatedRow, 'user' );
- _fnCallbackReg( oSettings, 'aoHeaderCallback', oInit.fnHeaderCallback, 'user' );
- _fnCallbackReg( oSettings, 'aoFooterCallback', oInit.fnFooterCallback, 'user' );
- _fnCallbackReg( oSettings, 'aoInitComplete', oInit.fnInitComplete, 'user' );
- _fnCallbackReg( oSettings, 'aoPreDrawCallback', oInit.fnPreDrawCallback, 'user' );
-
- oSettings.rowIdFn = _fnGetObjectDataFn( oInit.rowId );
-
- /* Browser support detection */
- _fnBrowserDetect( oSettings );
-
- var oClasses = oSettings.oClasses;
-
- // @todo Remove in 1.11
- if ( oInit.bJQueryUI )
- {
- /* Use the JUI classes object for display. You could clone the oStdClasses object if
- * you want to have multiple tables with multiple independent classes
- */
- $.extend( oClasses, DataTable.ext.oJUIClasses, oInit.oClasses );
-
- if ( oInit.sDom === defaults.sDom && defaults.sDom === "lfrtip" )
- {
- /* Set the DOM to use a layout suitable for jQuery UI's theming */
- oSettings.sDom = '<"H"lfr>t<"F"ip>';
- }
-
- if ( ! oSettings.renderer ) {
- oSettings.renderer = 'jqueryui';
- }
- else if ( $.isPlainObject( oSettings.renderer ) && ! oSettings.renderer.header ) {
- oSettings.renderer.header = 'jqueryui';
- }
- }
- else
- {
- $.extend( oClasses, DataTable.ext.classes, oInit.oClasses );
- }
- $this.addClass( oClasses.sTable );
-
-
- if ( oSettings.iInitDisplayStart === undefined )
- {
- /* Display start point, taking into account the save saving */
- oSettings.iInitDisplayStart = oInit.iDisplayStart;
- oSettings._iDisplayStart = oInit.iDisplayStart;
- }
-
- if ( oInit.iDeferLoading !== null )
- {
- oSettings.bDeferLoading = true;
- var tmp = $.isArray( oInit.iDeferLoading );
- oSettings._iRecordsDisplay = tmp ? oInit.iDeferLoading[0] : oInit.iDeferLoading;
- oSettings._iRecordsTotal = tmp ? oInit.iDeferLoading[1] : oInit.iDeferLoading;
- }
-
- /* Language definitions */
- var oLanguage = oSettings.oLanguage;
- $.extend( true, oLanguage, oInit.oLanguage );
-
- if ( oLanguage.sUrl !== "" )
- {
- /* Get the language definitions from a file - because this Ajax call makes the language
- * get async to the remainder of this function we use bInitHandedOff to indicate that
- * _fnInitialise will be fired by the returned Ajax handler, rather than the constructor
- */
- $.ajax( {
- dataType: 'json',
- url: oLanguage.sUrl,
- success: function ( json ) {
- _fnLanguageCompat( json );
- _fnCamelToHungarian( defaults.oLanguage, json );
- $.extend( true, oLanguage, json );
- _fnInitialise( oSettings );
- },
- error: function () {
- // Error occurred loading language file, continue on as best we can
- _fnInitialise( oSettings );
- }
- } );
- bInitHandedOff = true;
- }
-
- /*
- * Stripes
- */
- if ( oInit.asStripeClasses === null )
- {
- oSettings.asStripeClasses =[
- oClasses.sStripeOdd,
- oClasses.sStripeEven
- ];
- }
-
- /* Remove row stripe classes if they are already on the table row */
- var stripeClasses = oSettings.asStripeClasses;
- var rowOne = $this.children('tbody').find('tr').eq(0);
- if ( $.inArray( true, $.map( stripeClasses, function(el, i) {
- return rowOne.hasClass(el);
- } ) ) !== -1 ) {
- $('tbody tr', this).removeClass( stripeClasses.join(' ') );
- oSettings.asDestroyStripes = stripeClasses.slice();
- }
-
- /*
- * Columns
- * See if we should load columns automatically or use defined ones
- */
- var anThs = [];
- var aoColumnsInit;
- var nThead = this.getElementsByTagName('thead');
- if ( nThead.length !== 0 )
- {
- _fnDetectHeader( oSettings.aoHeader, nThead[0] );
- anThs = _fnGetUniqueThs( oSettings );
- }
-
- /* If not given a column array, generate one with nulls */
- if ( oInit.aoColumns === null )
- {
- aoColumnsInit = [];
- for ( i=0, iLen=anThs.length ; i<iLen ; i++ )
- {
- aoColumnsInit.push( null );
- }
- }
- else
- {
- aoColumnsInit = oInit.aoColumns;
- }
-
- /* Add the columns */
- for ( i=0, iLen=aoColumnsInit.length ; i<iLen ; i++ )
- {
- _fnAddColumn( oSettings, anThs ? anThs[i] : null );
- }
-
- /* Apply the column definitions */
- _fnApplyColumnDefs( oSettings, oInit.aoColumnDefs, aoColumnsInit, function (iCol, oDef) {
- _fnColumnOptions( oSettings, iCol, oDef );
- } );
-
- /* HTML5 attribute detection - build an mData object automatically if the
- * attributes are found
- */
- if ( rowOne.length ) {
- var a = function ( cell, name ) {
- return cell.getAttribute( 'data-'+name ) !== null ? name : null;
- };
-
- $( rowOne[0] ).children('th, td').each( function (i, cell) {
- var col = oSettings.aoColumns[i];
-
- if ( col.mData === i ) {
- var sort = a( cell, 'sort' ) || a( cell, 'order' );
- var filter = a( cell, 'filter' ) || a( cell, 'search' );
-
- if ( sort !== null || filter !== null ) {
- col.mData = {
- _: i+'.display',
- sort: sort !== null ? i+'.@data-'+sort : undefined,
- type: sort !== null ? i+'.@data-'+sort : undefined,
- filter: filter !== null ? i+'.@data-'+filter : undefined
- };
-
- _fnColumnOptions( oSettings, i );
- }
- }
- } );
- }
-
- var features = oSettings.oFeatures;
-
- /* Must be done after everything which can be overridden by the state saving! */
- if ( oInit.bStateSave )
- {
- features.bStateSave = true;
- _fnLoadState( oSettings, oInit );
- _fnCallbackReg( oSettings, 'aoDrawCallback', _fnSaveState, 'state_save' );
- }
-
-
- /*
- * Sorting
- * @todo For modularisation (1.11) this needs to do into a sort start up handler
- */
-
- // If aaSorting is not defined, then we use the first indicator in asSorting
- // in case that has been altered, so the default sort reflects that option
- if ( oInit.aaSorting === undefined )
- {
- var sorting = oSettings.aaSorting;
- for ( i=0, iLen=sorting.length ; i<iLen ; i++ )
- {
- sorting[i][1] = oSettings.aoColumns[ i ].asSorting[0];
- }
- }
-
- /* Do a first pass on the sorting classes (allows any size changes to be taken into
- * account, and also will apply sorting disabled classes if disabled
- */
- _fnSortingClasses( oSettings );
-
- if ( features.bSort )
- {
- _fnCallbackReg( oSettings, 'aoDrawCallback', function () {
- if ( oSettings.bSorted ) {
- var aSort = _fnSortFlatten( oSettings );
- var sortedColumns = {};
-
- $.each( aSort, function (i, val) {
- sortedColumns[ val.src ] = val.dir;
- } );
-
- _fnCallbackFire( oSettings, null, 'order', [oSettings, aSort, sortedColumns] );
- _fnSortAria( oSettings );
- }
- } );
- }
-
- _fnCallbackReg( oSettings, 'aoDrawCallback', function () {
- if ( oSettings.bSorted || _fnDataSource( oSettings ) === 'ssp' || features.bDeferRender ) {
- _fnSortingClasses( oSettings );
- }
- }, 'sc' );
-
-
- /*
- * Final init
- * Cache the header, body and footer as required, creating them if needed
- */
-
- // Work around for Webkit bug 83867 - store the caption-side before removing from doc
- var captions = $this.children('caption').each( function () {
- this._captionSide = $this.css('caption-side');
- } );
-
- var thead = $this.children('thead');
- if ( thead.length === 0 )
- {
- thead = $('<thead/>').appendTo(this);
- }
- oSettings.nTHead = thead[0];
-
- var tbody = $this.children('tbody');
- if ( tbody.length === 0 )
- {
- tbody = $('<tbody/>').appendTo(this);
- }
- oSettings.nTBody = tbody[0];
-
- var tfoot = $this.children('tfoot');
- if ( tfoot.length === 0 && captions.length > 0 && (oSettings.oScroll.sX !== "" || oSettings.oScroll.sY !== "") )
- {
- // If we are a scrolling table, and no footer has been given, then we need to create
- // a tfoot element for the caption element to be appended to
- tfoot = $('<tfoot/>').appendTo(this);
- }
-
- if ( tfoot.length === 0 || tfoot.children().length === 0 ) {
- $this.addClass( oClasses.sNoFooter );
- }
- else if ( tfoot.length > 0 ) {
- oSettings.nTFoot = tfoot[0];
- _fnDetectHeader( oSettings.aoFooter, oSettings.nTFoot );
- }
-
- /* Check if there is data passing into the constructor */
- if ( oInit.aaData )
- {
- for ( i=0 ; i<oInit.aaData.length ; i++ )
- {
- _fnAddData( oSettings, oInit.aaData[ i ] );
- }
- }
- else if ( oSettings.bDeferLoading || _fnDataSource( oSettings ) == 'dom' )
- {
- /* Grab the data from the page - only do this when deferred loading or no Ajax
- * source since there is no point in reading the DOM data if we are then going
- * to replace it with Ajax data
- */
- _fnAddTr( oSettings, $(oSettings.nTBody).children('tr') );
- }
-
- /* Copy the data index array */
- oSettings.aiDisplay = oSettings.aiDisplayMaster.slice();
-
- /* Initialisation complete - table can be drawn */
- oSettings.bInitialised = true;
-
- /* Check if we need to initialise the table (it might not have been handed off to the
- * language processor)
- */
- if ( bInitHandedOff === false )
- {
- _fnInitialise( oSettings );
- }
- } );
- _that = null;
- return this;
- };
-
-
-
- /**
- * Computed structure of the DataTables API, defined by the options passed to
- * `DataTable.Api.register()` when building the API.
- *
- * The structure is built in order to speed creation and extension of the Api
- * objects since the extensions are effectively pre-parsed.
- *
- * The array is an array of objects with the following structure, where this
- * base array represents the Api prototype base:
- *
- * [
- * {
- * name: 'data' -- string - Property name
- * val: function () {}, -- function - Api method (or undefined if just an object
- * methodExt: [ ... ], -- array - Array of Api object definitions to extend the method result
- * propExt: [ ... ] -- array - Array of Api object definitions to extend the property
- * },
- * {
- * name: 'row'
- * val: {},
- * methodExt: [ ... ],
- * propExt: [
- * {
- * name: 'data'
- * val: function () {},
- * methodExt: [ ... ],
- * propExt: [ ... ]
- * },
- * ...
- * ]
- * }
- * ]
- *
- * @type {Array}
- * @ignore
- */
- var __apiStruct = [];
-
-
- /**
- * `Array.prototype` reference.
- *
- * @type object
- * @ignore
- */
- var __arrayProto = Array.prototype;
-
-
- /**
- * Abstraction for `context` parameter of the `Api` constructor to allow it to
- * take several different forms for ease of use.
- *
- * Each of the input parameter types will be converted to a DataTables settings
- * object where possible.
- *
- * @param {string|node|jQuery|object} mixed DataTable identifier. Can be one
- * of:
- *
- * * `string` - jQuery selector. Any DataTables' matching the given selector
- * with be found and used.
- * * `node` - `TABLE` node which has already been formed into a DataTable.
- * * `jQuery` - A jQuery object of `TABLE` nodes.
- * * `object` - DataTables settings object
- * * `DataTables.Api` - API instance
- * @return {array|null} Matching DataTables settings objects. `null` or
- * `undefined` is returned if no matching DataTable is found.
- * @ignore
- */
- var _toSettings = function ( mixed )
- {
- var idx, jq;
- var settings = DataTable.settings;
- var tables = $.map( settings, function (el, i) {
- return el.nTable;
- } );
-
- if ( ! mixed ) {
- return [];
- }
- else if ( mixed.nTable && mixed.oApi ) {
- // DataTables settings object
- return [ mixed ];
- }
- else if ( mixed.nodeName && mixed.nodeName.toLowerCase() === 'table' ) {
- // Table node
- idx = $.inArray( mixed, tables );
- return idx !== -1 ? [ settings[idx] ] : null;
- }
- else if ( mixed && typeof mixed.settings === 'function' ) {
- return mixed.settings().toArray();
- }
- else if ( typeof mixed === 'string' ) {
- // jQuery selector
- jq = $(mixed);
- }
- else if ( mixed instanceof $ ) {
- // jQuery object (also DataTables instance)
- jq = mixed;
- }
-
- if ( jq ) {
- return jq.map( function(i) {
- idx = $.inArray( this, tables );
- return idx !== -1 ? settings[idx] : null;
- } ).toArray();
- }
- };
-
-
- /**
- * DataTables API class - used to control and interface with one or more
- * DataTables enhanced tables.
- *
- * The API class is heavily based on jQuery, presenting a chainable interface
- * that you can use to interact with tables. Each instance of the API class has
- * a "context" - i.e. the tables that it will operate on. This could be a single
- * table, all tables on a page or a sub-set thereof.
- *
- * Additionally the API is designed to allow you to easily work with the data in
- * the tables, retrieving and manipulating it as required. This is done by
- * presenting the API class as an array like interface. The contents of the
- * array depend upon the actions requested by each method (for example
- * `rows().nodes()` will return an array of nodes, while `rows().data()` will
- * return an array of objects or arrays depending upon your table's
- * configuration). The API object has a number of array like methods (`push`,
- * `pop`, `reverse` etc) as well as additional helper methods (`each`, `pluck`,
- * `unique` etc) to assist your working with the data held in a table.
- *
- * Most methods (those which return an Api instance) are chainable, which means
- * the return from a method call also has all of the methods available that the
- * top level object had. For example, these two calls are equivalent:
- *
- * // Not chained
- * api.row.add( {...} );
- * api.draw();
- *
- * // Chained
- * api.row.add( {...} ).draw();
- *
- * @class DataTable.Api
- * @param {array|object|string|jQuery} context DataTable identifier. This is
- * used to define which DataTables enhanced tables this API will operate on.
- * Can be one of:
- *
- * * `string` - jQuery selector. Any DataTables' matching the given selector
- * with be found and used.
- * * `node` - `TABLE` node which has already been formed into a DataTable.
- * * `jQuery` - A jQuery object of `TABLE` nodes.
- * * `object` - DataTables settings object
- * @param {array} [data] Data to initialise the Api instance with.
- *
- * @example
- * // Direct initialisation during DataTables construction
- * var api = $('#example').DataTable();
- *
- * @example
- * // Initialisation using a DataTables jQuery object
- * var api = $('#example').dataTable().api();
- *
- * @example
- * // Initialisation as a constructor
- * var api = new $.fn.DataTable.Api( 'table.dataTable' );
- */
- _Api = function ( context, data )
- {
- if ( ! (this instanceof _Api) ) {
- return new _Api( context, data );
- }
-
- var settings = [];
- var ctxSettings = function ( o ) {
- var a = _toSettings( o );
- if ( a ) {
- settings = settings.concat( a );
- }
- };
-
- if ( $.isArray( context ) ) {
- for ( var i=0, ien=context.length ; i<ien ; i++ ) {
- ctxSettings( context[i] );
- }
- }
- else {
- ctxSettings( context );
- }
-
- // Remove duplicates
- this.context = _unique( settings );
-
- // Initial data
- if ( data ) {
- $.merge( this, data );
- }
-
- // selector
- this.selector = {
- rows: null,
- cols: null,
- opts: null
- };
-
- _Api.extend( this, this, __apiStruct );
- };
-
- DataTable.Api = _Api;
-
- // Don't destroy the existing prototype, just extend it. Required for jQuery 2's
- // isPlainObject.
- $.extend( _Api.prototype, {
- any: function ()
- {
- return this.count() !== 0;
- },
-
-
- concat: __arrayProto.concat,
-
-
- context: [], // array of table settings objects
-
-
- count: function ()
- {
- return this.flatten().length;
- },
-
-
- each: function ( fn )
- {
- for ( var i=0, ien=this.length ; i<ien; i++ ) {
- fn.call( this, this[i], i, this );
- }
-
- return this;
- },
-
-
- eq: function ( idx )
- {
- var ctx = this.context;
-
- return ctx.length > idx ?
- new _Api( ctx[idx], this[idx] ) :
- null;
- },
-
-
- filter: function ( fn )
- {
- var a = [];
-
- if ( __arrayProto.filter ) {
- a = __arrayProto.filter.call( this, fn, this );
- }
- else {
- // Compatibility for browsers without EMCA-252-5 (JS 1.6)
- for ( var i=0, ien=this.length ; i<ien ; i++ ) {
- if ( fn.call( this, this[i], i, this ) ) {
- a.push( this[i] );
- }
- }
- }
-
- return new _Api( this.context, a );
- },
-
-
- flatten: function ()
- {
- var a = [];
- return new _Api( this.context, a.concat.apply( a, this.toArray() ) );
- },
-
-
- join: __arrayProto.join,
-
-
- indexOf: __arrayProto.indexOf || function (obj, start)
- {
- for ( var i=(start || 0), ien=this.length ; i<ien ; i++ ) {
- if ( this[i] === obj ) {
- return i;
- }
- }
- return -1;
- },
-
- iterator: function ( flatten, type, fn, alwaysNew ) {
- var
- a = [], ret,
- i, ien, j, jen,
- context = this.context,
- rows, items, item,
- selector = this.selector;
-
- // Argument shifting
- if ( typeof flatten === 'string' ) {
- alwaysNew = fn;
- fn = type;
- type = flatten;
- flatten = false;
- }
-
- for ( i=0, ien=context.length ; i<ien ; i++ ) {
- var apiInst = new _Api( context[i] );
-
- if ( type === 'table' ) {
- ret = fn.call( apiInst, context[i], i );
-
- if ( ret !== undefined ) {
- a.push( ret );
- }
- }
- else if ( type === 'columns' || type === 'rows' ) {
- // this has same length as context - one entry for each table
- ret = fn.call( apiInst, context[i], this[i], i );
-
- if ( ret !== undefined ) {
- a.push( ret );
- }
- }
- else if ( type === 'column' || type === 'column-rows' || type === 'row' || type === 'cell' ) {
- // columns and rows share the same structure.
- // 'this' is an array of column indexes for each context
- items = this[i];
-
- if ( type === 'column-rows' ) {
- rows = _selector_row_indexes( context[i], selector.opts );
- }
-
- for ( j=0, jen=items.length ; j<jen ; j++ ) {
- item = items[j];
-
- if ( type === 'cell' ) {
- ret = fn.call( apiInst, context[i], item.row, item.column, i, j );
- }
- else {
- ret = fn.call( apiInst, context[i], item, i, j, rows );
- }
-
- if ( ret !== undefined ) {
- a.push( ret );
- }
- }
- }
- }
-
- if ( a.length || alwaysNew ) {
- var api = new _Api( context, flatten ? a.concat.apply( [], a ) : a );
- var apiSelector = api.selector;
- apiSelector.rows = selector.rows;
- apiSelector.cols = selector.cols;
- apiSelector.opts = selector.opts;
- return api;
- }
- return this;
- },
-
-
- lastIndexOf: __arrayProto.lastIndexOf || function (obj, start)
- {
- // Bit cheeky...
- return this.indexOf.apply( this.toArray.reverse(), arguments );
- },
-
-
- length: 0,
-
-
- map: function ( fn )
- {
- var a = [];
-
- if ( __arrayProto.map ) {
- a = __arrayProto.map.call( this, fn, this );
- }
- else {
- // Compatibility for browsers without EMCA-252-5 (JS 1.6)
- for ( var i=0, ien=this.length ; i<ien ; i++ ) {
- a.push( fn.call( this, this[i], i ) );
- }
- }
-
- return new _Api( this.context, a );
- },
-
-
- pluck: function ( prop )
- {
- return this.map( function ( el ) {
- return el[ prop ];
- } );
- },
-
- pop: __arrayProto.pop,
-
-
- push: __arrayProto.push,
-
-
- // Does not return an API instance
- reduce: __arrayProto.reduce || function ( fn, init )
- {
- return _fnReduce( this, fn, init, 0, this.length, 1 );
- },
-
-
- reduceRight: __arrayProto.reduceRight || function ( fn, init )
- {
- return _fnReduce( this, fn, init, this.length-1, -1, -1 );
- },
-
-
- reverse: __arrayProto.reverse,
-
-
- // Object with rows, columns and opts
- selector: null,
-
-
- shift: __arrayProto.shift,
-
-
- sort: __arrayProto.sort, // ? name - order?
-
-
- splice: __arrayProto.splice,
-
-
- toArray: function ()
- {
- return __arrayProto.slice.call( this );
- },
-
-
- to$: function ()
- {
- return $( this );
- },
-
-
- toJQuery: function ()
- {
- return $( this );
- },
-
-
- unique: function ()
- {
- return new _Api( this.context, _unique(this) );
- },
-
-
- unshift: __arrayProto.unshift
- } );
-
-
- _Api.extend = function ( scope, obj, ext )
- {
- // Only extend API instances and static properties of the API
- if ( ! ext.length || ! obj || ( ! (obj instanceof _Api) && ! obj.__dt_wrapper ) ) {
- return;
- }
-
- var
- i, ien,
- j, jen,
- struct, inner,
- methodScoping = function ( scope, fn, struc ) {
- return function () {
- var ret = fn.apply( scope, arguments );
-
- // Method extension
- _Api.extend( ret, ret, struc.methodExt );
- return ret;
- };
- };
-
- for ( i=0, ien=ext.length ; i<ien ; i++ ) {
- struct = ext[i];
-
- // Value
- obj[ struct.name ] = typeof struct.val === 'function' ?
- methodScoping( scope, struct.val, struct ) :
- $.isPlainObject( struct.val ) ?
- {} :
- struct.val;
-
- obj[ struct.name ].__dt_wrapper = true;
-
- // Property extension
- _Api.extend( scope, obj[ struct.name ], struct.propExt );
- }
- };
-
-
- // @todo - Is there need for an augment function?
- // _Api.augment = function ( inst, name )
- // {
- // // Find src object in the structure from the name
- // var parts = name.split('.');
-
- // _Api.extend( inst, obj );
- // };
-
-
- // [
- // {
- // name: 'data' -- string - Property name
- // val: function () {}, -- function - Api method (or undefined if just an object
- // methodExt: [ ... ], -- array - Array of Api object definitions to extend the method result
- // propExt: [ ... ] -- array - Array of Api object definitions to extend the property
- // },
- // {
- // name: 'row'
- // val: {},
- // methodExt: [ ... ],
- // propExt: [
- // {
- // name: 'data'
- // val: function () {},
- // methodExt: [ ... ],
- // propExt: [ ... ]
- // },
- // ...
- // ]
- // }
- // ]
-
- _Api.register = _api_register = function ( name, val )
- {
- if ( $.isArray( name ) ) {
- for ( var j=0, jen=name.length ; j<jen ; j++ ) {
- _Api.register( name[j], val );
- }
- return;
- }
-
- var
- i, ien,
- heir = name.split('.'),
- struct = __apiStruct,
- key, method;
-
- var find = function ( src, name ) {
- for ( var i=0, ien=src.length ; i<ien ; i++ ) {
- if ( src[i].name === name ) {
- return src[i];
- }
- }
- return null;
- };
-
- for ( i=0, ien=heir.length ; i<ien ; i++ ) {
- method = heir[i].indexOf('()') !== -1;
- key = method ?
- heir[i].replace('()', '') :
- heir[i];
-
- var src = find( struct, key );
- if ( ! src ) {
- src = {
- name: key,
- val: {},
- methodExt: [],
- propExt: []
- };
- struct.push( src );
- }
-
- if ( i === ien-1 ) {
- src.val = val;
- }
- else {
- struct = method ?
- src.methodExt :
- src.propExt;
- }
- }
- };
-
-
- _Api.registerPlural = _api_registerPlural = function ( pluralName, singularName, val ) {
- _Api.register( pluralName, val );
-
- _Api.register( singularName, function () {
- var ret = val.apply( this, arguments );
-
- if ( ret === this ) {
- // Returned item is the API instance that was passed in, return it
- return this;
- }
- else if ( ret instanceof _Api ) {
- // New API instance returned, want the value from the first item
- // in the returned array for the singular result.
- return ret.length ?
- $.isArray( ret[0] ) ?
- new _Api( ret.context, ret[0] ) : // Array results are 'enhanced'
- ret[0] :
- undefined;
- }
-
- // Non-API return - just fire it back
- return ret;
- } );
- };
-
-
- /**
- * Selector for HTML tables. Apply the given selector to the give array of
- * DataTables settings objects.
- *
- * @param {string|integer} [selector] jQuery selector string or integer
- * @param {array} Array of DataTables settings objects to be filtered
- * @return {array}
- * @ignore
- */
- var __table_selector = function ( selector, a )
- {
- // Integer is used to pick out a table by index
- if ( typeof selector === 'number' ) {
- return [ a[ selector ] ];
- }
-
- // Perform a jQuery selector on the table nodes
- var nodes = $.map( a, function (el, i) {
- return el.nTable;
- } );
-
- return $(nodes)
- .filter( selector )
- .map( function (i) {
- // Need to translate back from the table node to the settings
- var idx = $.inArray( this, nodes );
- return a[ idx ];
- } )
- .toArray();
- };
-
-
-
- /**
- * Context selector for the API's context (i.e. the tables the API instance
- * refers to.
- *
- * @name DataTable.Api#tables
- * @param {string|integer} [selector] Selector to pick which tables the iterator
- * should operate on. If not given, all tables in the current context are
- * used. This can be given as a jQuery selector (for example `':gt(0)'`) to
- * select multiple tables or as an integer to select a single table.
- * @returns {DataTable.Api} Returns a new API instance if a selector is given.
- */
- _api_register( 'tables()', function ( selector ) {
- // A new instance is created if there was a selector specified
- return selector ?
- new _Api( __table_selector( selector, this.context ) ) :
- this;
- } );
-
-
- _api_register( 'table()', function ( selector ) {
- var tables = this.tables( selector );
- var ctx = tables.context;
-
- // Truncate to the first matched table
- return ctx.length ?
- new _Api( ctx[0] ) :
- tables;
- } );
-
-
- _api_registerPlural( 'tables().nodes()', 'table().node()' , function () {
- return this.iterator( 'table', function ( ctx ) {
- return ctx.nTable;
- }, 1 );
- } );
-
-
- _api_registerPlural( 'tables().body()', 'table().body()' , function () {
- return this.iterator( 'table', function ( ctx ) {
- return ctx.nTBody;
- }, 1 );
- } );
-
-
- _api_registerPlural( 'tables().header()', 'table().header()' , function () {
- return this.iterator( 'table', function ( ctx ) {
- return ctx.nTHead;
- }, 1 );
- } );
-
-
- _api_registerPlural( 'tables().footer()', 'table().footer()' , function () {
- return this.iterator( 'table', function ( ctx ) {
- return ctx.nTFoot;
- }, 1 );
- } );
-
-
- _api_registerPlural( 'tables().containers()', 'table().container()' , function () {
- return this.iterator( 'table', function ( ctx ) {
- return ctx.nTableWrapper;
- }, 1 );
- } );
-
-
-
- /**
- * Redraw the tables in the current context.
- */
- _api_register( 'draw()', function ( paging ) {
- return this.iterator( 'table', function ( settings ) {
- if ( paging === 'page' ) {
- _fnDraw( settings );
- }
- else {
- if ( typeof paging === 'string' ) {
- paging = paging === 'full-hold' ?
- false :
- true;
- }
-
- _fnReDraw( settings, paging===false );
- }
- } );
- } );
-
-
-
- /**
- * Get the current page index.
- *
- * @return {integer} Current page index (zero based)
- *//**
- * Set the current page.
- *
- * Note that if you attempt to show a page which does not exist, DataTables will
- * not throw an error, but rather reset the paging.
- *
- * @param {integer|string} action The paging action to take. This can be one of:
- * * `integer` - The page index to jump to
- * * `string` - An action to take:
- * * `first` - Jump to first page.
- * * `next` - Jump to the next page
- * * `previous` - Jump to previous page
- * * `last` - Jump to the last page.
- * @returns {DataTables.Api} this
- */
- _api_register( 'page()', function ( action ) {
- if ( action === undefined ) {
- return this.page.info().page; // not an expensive call
- }
-
- // else, have an action to take on all tables
- return this.iterator( 'table', function ( settings ) {
- _fnPageChange( settings, action );
- } );
- } );
-
-
- /**
- * Paging information for the first table in the current context.
- *
- * If you require paging information for another table, use the `table()` method
- * with a suitable selector.
- *
- * @return {object} Object with the following properties set:
- * * `page` - Current page index (zero based - i.e. the first page is `0`)
- * * `pages` - Total number of pages
- * * `start` - Display index for the first record shown on the current page
- * * `end` - Display index for the last record shown on the current page
- * * `length` - Display length (number of records). Note that generally `start
- * + length = end`, but this is not always true, for example if there are
- * only 2 records to show on the final page, with a length of 10.
- * * `recordsTotal` - Full data set length
- * * `recordsDisplay` - Data set length once the current filtering criterion
- * are applied.
- */
- _api_register( 'page.info()', function ( action ) {
- if ( this.context.length === 0 ) {
- return undefined;
- }
-
- var
- settings = this.context[0],
- start = settings._iDisplayStart,
- len = settings.oFeatures.bPaginate ? settings._iDisplayLength : -1,
- visRecords = settings.fnRecordsDisplay(),
- all = len === -1;
-
- return {
- "page": all ? 0 : Math.floor( start / len ),
- "pages": all ? 1 : Math.ceil( visRecords / len ),
- "start": start,
- "end": settings.fnDisplayEnd(),
- "length": len,
- "recordsTotal": settings.fnRecordsTotal(),
- "recordsDisplay": visRecords,
- "serverSide": _fnDataSource( settings ) === 'ssp'
- };
- } );
-
-
- /**
- * Get the current page length.
- *
- * @return {integer} Current page length. Note `-1` indicates that all records
- * are to be shown.
- *//**
- * Set the current page length.
- *
- * @param {integer} Page length to set. Use `-1` to show all records.
- * @returns {DataTables.Api} this
- */
- _api_register( 'page.len()', function ( len ) {
- // Note that we can't call this function 'length()' because `length`
- // is a Javascript property of functions which defines how many arguments
- // the function expects.
- if ( len === undefined ) {
- return this.context.length !== 0 ?
- this.context[0]._iDisplayLength :
- undefined;
- }
-
- // else, set the page length
- return this.iterator( 'table', function ( settings ) {
- _fnLengthChange( settings, len );
- } );
- } );
-
-
-
- var __reload = function ( settings, holdPosition, callback ) {
- // Use the draw event to trigger a callback
- if ( callback ) {
- var api = new _Api( settings );
-
- api.one( 'draw', function () {
- callback( api.ajax.json() );
- } );
- }
-
- if ( _fnDataSource( settings ) == 'ssp' ) {
- _fnReDraw( settings, holdPosition );
- }
- else {
- _fnProcessingDisplay( settings, true );
-
- // Cancel an existing request
- var xhr = settings.jqXHR;
- if ( xhr && xhr.readyState !== 4 ) {
- xhr.abort();
- }
-
- // Trigger xhr
- _fnBuildAjax( settings, [], function( json ) {
- _fnClearTable( settings );
-
- var data = _fnAjaxDataSrc( settings, json );
- for ( var i=0, ien=data.length ; i<ien ; i++ ) {
- _fnAddData( settings, data[i] );
- }
-
- _fnReDraw( settings, holdPosition );
- _fnProcessingDisplay( settings, false );
- } );
- }
- };
-
-
- /**
- * Get the JSON response from the last Ajax request that DataTables made to the
- * server. Note that this returns the JSON from the first table in the current
- * context.
- *
- * @return {object} JSON received from the server.
- */
- _api_register( 'ajax.json()', function () {
- var ctx = this.context;
-
- if ( ctx.length > 0 ) {
- return ctx[0].json;
- }
-
- // else return undefined;
- } );
-
-
- /**
- * Get the data submitted in the last Ajax request
- */
- _api_register( 'ajax.params()', function () {
- var ctx = this.context;
-
- if ( ctx.length > 0 ) {
- return ctx[0].oAjaxData;
- }
-
- // else return undefined;
- } );
-
-
- /**
- * Reload tables from the Ajax data source. Note that this function will
- * automatically re-draw the table when the remote data has been loaded.
- *
- * @param {boolean} [reset=true] Reset (default) or hold the current paging
- * position. A full re-sort and re-filter is performed when this method is
- * called, which is why the pagination reset is the default action.
- * @returns {DataTables.Api} this
- */
- _api_register( 'ajax.reload()', function ( callback, resetPaging ) {
- return this.iterator( 'table', function (settings) {
- __reload( settings, resetPaging===false, callback );
- } );
- } );
-
-
- /**
- * Get the current Ajax URL. Note that this returns the URL from the first
- * table in the current context.
- *
- * @return {string} Current Ajax source URL
- *//**
- * Set the Ajax URL. Note that this will set the URL for all tables in the
- * current context.
- *
- * @param {string} url URL to set.
- * @returns {DataTables.Api} this
- */
- _api_register( 'ajax.url()', function ( url ) {
- var ctx = this.context;
-
- if ( url === undefined ) {
- // get
- if ( ctx.length === 0 ) {
- return undefined;
- }
- ctx = ctx[0];
-
- return ctx.ajax ?
- $.isPlainObject( ctx.ajax ) ?
- ctx.ajax.url :
- ctx.ajax :
- ctx.sAjaxSource;
- }
-
- // set
- return this.iterator( 'table', function ( settings ) {
- if ( $.isPlainObject( settings.ajax ) ) {
- settings.ajax.url = url;
- }
- else {
- settings.ajax = url;
- }
- // No need to consider sAjaxSource here since DataTables gives priority
- // to `ajax` over `sAjaxSource`. So setting `ajax` here, renders any
- // value of `sAjaxSource` redundant.
- } );
- } );
-
-
- /**
- * Load data from the newly set Ajax URL. Note that this method is only
- * available when `ajax.url()` is used to set a URL. Additionally, this method
- * has the same effect as calling `ajax.reload()` but is provided for
- * convenience when setting a new URL. Like `ajax.reload()` it will
- * automatically redraw the table once the remote data has been loaded.
- *
- * @returns {DataTables.Api} this
- */
- _api_register( 'ajax.url().load()', function ( callback, resetPaging ) {
- // Same as a reload, but makes sense to present it for easy access after a
- // url change
- return this.iterator( 'table', function ( ctx ) {
- __reload( ctx, resetPaging===false, callback );
- } );
- } );
-
-
-
-
- var _selector_run = function ( type, selector, selectFn, settings, opts )
- {
- var
- out = [], res,
- a, i, ien, j, jen,
- selectorType = typeof selector;
-
- // Can't just check for isArray here, as an API or jQuery instance might be
- // given with their array like look
- if ( ! selector || selectorType === 'string' || selectorType === 'function' || selector.length === undefined ) {
- selector = [ selector ];
- }
-
- for ( i=0, ien=selector.length ; i<ien ; i++ ) {
- a = selector[i] && selector[i].split ?
- selector[i].split(',') :
- [ selector[i] ];
-
- for ( j=0, jen=a.length ; j<jen ; j++ ) {
- res = selectFn( typeof a[j] === 'string' ? $.trim(a[j]) : a[j] );
-
- if ( res && res.length ) {
- out = out.concat( res );
- }
- }
- }
-
- // selector extensions
- var ext = _ext.selector[ type ];
- if ( ext.length ) {
- for ( i=0, ien=ext.length ; i<ien ; i++ ) {
- out = ext[i]( settings, opts, out );
- }
- }
-
- return _unique( out );
- };
-
-
- var _selector_opts = function ( opts )
- {
- if ( ! opts ) {
- opts = {};
- }
-
- // Backwards compatibility for 1.9- which used the terminology filter rather
- // than search
- if ( opts.filter && opts.search === undefined ) {
- opts.search = opts.filter;
- }
-
- return $.extend( {
- search: 'none',
- order: 'current',
- page: 'all'
- }, opts );
- };
-
-
- var _selector_first = function ( inst )
- {
- // Reduce the API instance to the first item found
- for ( var i=0, ien=inst.length ; i<ien ; i++ ) {
- if ( inst[i].length > 0 ) {
- // Assign the first element to the first item in the instance
- // and truncate the instance and context
- inst[0] = inst[i];
- inst[0].length = 1;
- inst.length = 1;
- inst.context = [ inst.context[i] ];
-
- return inst;
- }
- }
-
- // Not found - return an empty instance
- inst.length = 0;
- return inst;
- };
-
-
- var _selector_row_indexes = function ( settings, opts )
- {
- var
- i, ien, tmp, a=[],
- displayFiltered = settings.aiDisplay,
- displayMaster = settings.aiDisplayMaster;
-
- var
- search = opts.search, // none, applied, removed
- order = opts.order, // applied, current, index (original - compatibility with 1.9)
- page = opts.page; // all, current
-
- if ( _fnDataSource( settings ) == 'ssp' ) {
- // In server-side processing mode, most options are irrelevant since
- // rows not shown don't exist and the index order is the applied order
- // Removed is a special case - for consistency just return an empty
- // array
- return search === 'removed' ?
- [] :
- _range( 0, displayMaster.length );
- }
- else if ( page == 'current' ) {
- // Current page implies that order=current and fitler=applied, since it is
- // fairly senseless otherwise, regardless of what order and search actually
- // are
- for ( i=settings._iDisplayStart, ien=settings.fnDisplayEnd() ; i<ien ; i++ ) {
- a.push( displayFiltered[i] );
- }
- }
- else if ( order == 'current' || order == 'applied' ) {
- a = search == 'none' ?
- displayMaster.slice() : // no search
- search == 'applied' ?
- displayFiltered.slice() : // applied search
- $.map( displayMaster, function (el, i) { // removed search
- return $.inArray( el, displayFiltered ) === -1 ? el : null;
- } );
- }
- else if ( order == 'index' || order == 'original' ) {
- for ( i=0, ien=settings.aoData.length ; i<ien ; i++ ) {
- if ( search == 'none' ) {
- a.push( i );
- }
- else { // applied | removed
- tmp = $.inArray( i, displayFiltered );
-
- if ((tmp === -1 && search == 'removed') ||
- (tmp >= 0 && search == 'applied') )
- {
- a.push( i );
- }
- }
- }
- }
-
- return a;
- };
-
-
- /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * Rows
- *
- * {} - no selector - use all available rows
- * {integer} - row aoData index
- * {node} - TR node
- * {string} - jQuery selector to apply to the TR elements
- * {array} - jQuery array of nodes, or simply an array of TR nodes
- *
- */
-
-
- var __row_selector = function ( settings, selector, opts )
- {
- var run = function ( sel ) {
- var selInt = _intVal( sel );
- var i, ien;
-
- // Short cut - selector is a number and no options provided (default is
- // all records, so no need to check if the index is in there, since it
- // must be - dev error if the index doesn't exist).
- if ( selInt !== null && ! opts ) {
- return [ selInt ];
- }
-
- var rows = _selector_row_indexes( settings, opts );
-
- if ( selInt !== null && $.inArray( selInt, rows ) !== -1 ) {
- // Selector - integer
- return [ selInt ];
- }
- else if ( ! sel ) {
- // Selector - none
- return rows;
- }
-
- // Selector - function
- if ( typeof sel === 'function' ) {
- return $.map( rows, function (idx) {
- var row = settings.aoData[ idx ];
- return sel( idx, row._aData, row.nTr ) ? idx : null;
- } );
- }
-
- // Get nodes in the order from the `rows` array with null values removed
- var nodes = _removeEmpty(
- _pluck_order( settings.aoData, rows, 'nTr' )
- );
-
- // Selector - node
- if ( sel.nodeName ) {
- if ( sel._DT_RowIndex !== undefined ) {
- return [ sel._DT_RowIndex ]; // Property added by DT for fast lookup
- }
- else if ( sel._DT_CellIndex ) {
- return [ sel._DT_CellIndex.row ];
- }
- else {
- var host = $(sel).closest('*[data-dt-row]');
- return host.length ?
- [ host.data('dt-row') ] :
- [];
- }
- }
-
- // ID selector. Want to always be able to select rows by id, regardless
- // of if the tr element has been created or not, so can't rely upon
- // jQuery here - hence a custom implementation. This does not match
- // Sizzle's fast selector or HTML4 - in HTML5 the ID can be anything,
- // but to select it using a CSS selector engine (like Sizzle or
- // querySelect) it would need to need to be escaped for some characters.
- // DataTables simplifies this for row selectors since you can select
- // only a row. A # indicates an id any anything that follows is the id -
- // unescaped.
- if ( typeof sel === 'string' && sel.charAt(0) === '#' ) {
- // get row index from id
- var rowObj = settings.aIds[ sel.replace( /^#/, '' ) ];
- if ( rowObj !== undefined ) {
- return [ rowObj.idx ];
- }
-
- // need to fall through to jQuery in case there is DOM id that
- // matches
- }
-
- // Selector - jQuery selector string, array of nodes or jQuery object/
- // As jQuery's .filter() allows jQuery objects to be passed in filter,
- // it also allows arrays, so this will cope with all three options
- return $(nodes)
- .filter( sel )
- .map( function () {
- return this._DT_RowIndex;
- } )
- .toArray();
- };
-
- return _selector_run( 'row', selector, run, settings, opts );
- };
-
-
- _api_register( 'rows()', function ( selector, opts ) {
- // argument shifting
- if ( selector === undefined ) {
- selector = '';
- }
- else if ( $.isPlainObject( selector ) ) {
- opts = selector;
- selector = '';
- }
-
- opts = _selector_opts( opts );
-
- var inst = this.iterator( 'table', function ( settings ) {
- return __row_selector( settings, selector, opts );
- }, 1 );
-
- // Want argument shifting here and in __row_selector?
- inst.selector.rows = selector;
- inst.selector.opts = opts;
-
- return inst;
- } );
-
- _api_register( 'rows().nodes()', function () {
- return this.iterator( 'row', function ( settings, row ) {
- return settings.aoData[ row ].nTr || undefined;
- }, 1 );
- } );
-
- _api_register( 'rows().data()', function () {
- return this.iterator( true, 'rows', function ( settings, rows ) {
- return _pluck_order( settings.aoData, rows, '_aData' );
- }, 1 );
- } );
-
- _api_registerPlural( 'rows().cache()', 'row().cache()', function ( type ) {
- return this.iterator( 'row', function ( settings, row ) {
- var r = settings.aoData[ row ];
- return type === 'search' ? r._aFilterData : r._aSortData;
- }, 1 );
- } );
-
- _api_registerPlural( 'rows().invalidate()', 'row().invalidate()', function ( src ) {
- return this.iterator( 'row', function ( settings, row ) {
- _fnInvalidate( settings, row, src );
- } );
- } );
-
- _api_registerPlural( 'rows().indexes()', 'row().index()', function () {
- return this.iterator( 'row', function ( settings, row ) {
- return row;
- }, 1 );
- } );
-
- _api_registerPlural( 'rows().ids()', 'row().id()', function ( hash ) {
- var a = [];
- var context = this.context;
-
- // `iterator` will drop undefined values, but in this case we want them
- for ( var i=0, ien=context.length ; i<ien ; i++ ) {
- for ( var j=0, jen=this[i].length ; j<jen ; j++ ) {
- var id = context[i].rowIdFn( context[i].aoData[ this[i][j] ]._aData );
- a.push( (hash === true ? '#' : '' )+ id );
- }
- }
-
- return new _Api( context, a );
- } );
-
- _api_registerPlural( 'rows().remove()', 'row().remove()', function () {
- var that = this;
-
- this.iterator( 'row', function ( settings, row, thatIdx ) {
- var data = settings.aoData;
- var rowData = data[ row ];
- var i, ien, j, jen;
- var loopRow, loopCells;
-
- data.splice( row, 1 );
-
- // Update the cached indexes
- for ( i=0, ien=data.length ; i<ien ; i++ ) {
- loopRow = data[i];
- loopCells = loopRow.anCells;
-
- // Rows
- if ( loopRow.nTr !== null ) {
- loopRow.nTr._DT_RowIndex = i;
- }
-
- // Cells
- if ( loopCells !== null ) {
- for ( j=0, jen=loopCells.length ; j<jen ; j++ ) {
- loopCells[j]._DT_CellIndex.row = i;
- }
- }
- }
-
- // Delete from the display arrays
- _fnDeleteIndex( settings.aiDisplayMaster, row );
- _fnDeleteIndex( settings.aiDisplay, row );
- _fnDeleteIndex( that[ thatIdx ], row, false ); // maintain local indexes
-
- // Check for an 'overflow' they case for displaying the table
- _fnLengthOverflow( settings );
-
- // Remove the row's ID reference if there is one
- var id = settings.rowIdFn( rowData._aData );
- if ( id !== undefined ) {
- delete settings.aIds[ id ];
- }
- } );
-
- this.iterator( 'table', function ( settings ) {
- for ( var i=0, ien=settings.aoData.length ; i<ien ; i++ ) {
- settings.aoData[i].idx = i;
- }
- } );
-
- return this;
- } );
-
-
- _api_register( 'rows.add()', function ( rows ) {
- var newRows = this.iterator( 'table', function ( settings ) {
- var row, i, ien;
- var out = [];
-
- for ( i=0, ien=rows.length ; i<ien ; i++ ) {
- row = rows[i];
-
- if ( row.nodeName && row.nodeName.toUpperCase() === 'TR' ) {
- out.push( _fnAddTr( settings, row )[0] );
- }
- else {
- out.push( _fnAddData( settings, row ) );
- }
- }
-
- return out;
- }, 1 );
-
- // Return an Api.rows() extended instance, so rows().nodes() etc can be used
- var modRows = this.rows( -1 );
- modRows.pop();
- $.merge( modRows, newRows );
-
- return modRows;
- } );
-
-
-
-
-
- /**
- *
- */
- _api_register( 'row()', function ( selector, opts ) {
- return _selector_first( this.rows( selector, opts ) );
- } );
-
-
- _api_register( 'row().data()', function ( data ) {
- var ctx = this.context;
-
- if ( data === undefined ) {
- // Get
- return ctx.length && this.length ?
- ctx[0].aoData[ this[0] ]._aData :
- undefined;
- }
-
- // Set
- ctx[0].aoData[ this[0] ]._aData = data;
-
- // Automatically invalidate
- _fnInvalidate( ctx[0], this[0], 'data' );
-
- return this;
- } );
-
-
- _api_register( 'row().node()', function () {
- var ctx = this.context;
-
- return ctx.length && this.length ?
- ctx[0].aoData[ this[0] ].nTr || null :
- null;
- } );
-
-
- _api_register( 'row.add()', function ( row ) {
- // Allow a jQuery object to be passed in - only a single row is added from
- // it though - the first element in the set
- if ( row instanceof $ && row.length ) {
- row = row[0];
- }
-
- var rows = this.iterator( 'table', function ( settings ) {
- if ( row.nodeName && row.nodeName.toUpperCase() === 'TR' ) {
- return _fnAddTr( settings, row )[0];
- }
- return _fnAddData( settings, row );
- } );
-
- // Return an Api.rows() extended instance, with the newly added row selected
- return this.row( rows[0] );
- } );
-
-
-
- var __details_add = function ( ctx, row, data, klass )
- {
- // Convert to array of TR elements
- var rows = [];
- var addRow = function ( r, k ) {
- // Recursion to allow for arrays of jQuery objects
- if ( $.isArray( r ) || r instanceof $ ) {
- for ( var i=0, ien=r.length ; i<ien ; i++ ) {
- addRow( r[i], k );
- }
- return;
- }
-
- // If we get a TR element, then just add it directly - up to the dev
- // to add the correct number of columns etc
- if ( r.nodeName && r.nodeName.toLowerCase() === 'tr' ) {
- rows.push( r );
- }
- else {
- // Otherwise create a row with a wrapper
- var created = $('<tr><td/></tr>').addClass( k );
- $('td', created)
- .addClass( k )
- .html( r )
- [0].colSpan = _fnVisbleColumns( ctx );
-
- rows.push( created[0] );
- }
- };
-
- addRow( data, klass );
-
- if ( row._details ) {
- row._details.remove();
- }
-
- row._details = $(rows);
-
- // If the children were already shown, that state should be retained
- if ( row._detailsShow ) {
- row._details.insertAfter( row.nTr );
- }
- };
-
-
- var __details_remove = function ( api, idx )
- {
- var ctx = api.context;
-
- if ( ctx.length ) {
- var row = ctx[0].aoData[ idx !== undefined ? idx : api[0] ];
-
- if ( row && row._details ) {
- row._details.remove();
-
- row._detailsShow = undefined;
- row._details = undefined;
- }
- }
- };
-
-
- var __details_display = function ( api, show ) {
- var ctx = api.context;
-
- if ( ctx.length && api.length ) {
- var row = ctx[0].aoData[ api[0] ];
-
- if ( row._details ) {
- row._detailsShow = show;
-
- if ( show ) {
- row._details.insertAfter( row.nTr );
- }
- else {
- row._details.detach();
- }
-
- __details_events( ctx[0] );
- }
- }
- };
-
-
- var __details_events = function ( settings )
- {
- var api = new _Api( settings );
- var namespace = '.dt.DT_details';
- var drawEvent = 'draw'+namespace;
- var colvisEvent = 'column-visibility'+namespace;
- var destroyEvent = 'destroy'+namespace;
- var data = settings.aoData;
-
- api.off( drawEvent +' '+ colvisEvent +' '+ destroyEvent );
-
- if ( _pluck( data, '_details' ).length > 0 ) {
- // On each draw, insert the required elements into the document
- api.on( drawEvent, function ( e, ctx ) {
- if ( settings !== ctx ) {
- return;
- }
-
- api.rows( {page:'current'} ).eq(0).each( function (idx) {
- // Internal data grab
- var row = data[ idx ];
-
- if ( row._detailsShow ) {
- row._details.insertAfter( row.nTr );
- }
- } );
- } );
-
- // Column visibility change - update the colspan
- api.on( colvisEvent, function ( e, ctx, idx, vis ) {
- if ( settings !== ctx ) {
- return;
- }
-
- // Update the colspan for the details rows (note, only if it already has
- // a colspan)
- var row, visible = _fnVisbleColumns( ctx );
-
- for ( var i=0, ien=data.length ; i<ien ; i++ ) {
- row = data[i];
-
- if ( row._details ) {
- row._details.children('td[colspan]').attr('colspan', visible );
- }
- }
- } );
-
- // Table destroyed - nuke any child rows
- api.on( destroyEvent, function ( e, ctx ) {
- if ( settings !== ctx ) {
- return;
- }
-
- for ( var i=0, ien=data.length ; i<ien ; i++ ) {
- if ( data[i]._details ) {
- __details_remove( api, i );
- }
- }
- } );
- }
- };
-
- // Strings for the method names to help minification
- var _emp = '';
- var _child_obj = _emp+'row().child';
- var _child_mth = _child_obj+'()';
-
- // data can be:
- // tr
- // string
- // jQuery or array of any of the above
- _api_register( _child_mth, function ( data, klass ) {
- var ctx = this.context;
-
- if ( data === undefined ) {
- // get
- return ctx.length && this.length ?
- ctx[0].aoData[ this[0] ]._details :
- undefined;
- }
- else if ( data === true ) {
- // show
- this.child.show();
- }
- else if ( data === false ) {
- // remove
- __details_remove( this );
- }
- else if ( ctx.length && this.length ) {
- // set
- __details_add( ctx[0], ctx[0].aoData[ this[0] ], data, klass );
- }
-
- return this;
- } );
-
-
- _api_register( [
- _child_obj+'.show()',
- _child_mth+'.show()' // only when `child()` was called with parameters (without
- ], function ( show ) { // it returns an object and this method is not executed)
- __details_display( this, true );
- return this;
- } );
-
-
- _api_register( [
- _child_obj+'.hide()',
- _child_mth+'.hide()' // only when `child()` was called with parameters (without
- ], function () { // it returns an object and this method is not executed)
- __details_display( this, false );
- return this;
- } );
-
-
- _api_register( [
- _child_obj+'.remove()',
- _child_mth+'.remove()' // only when `child()` was called with parameters (without
- ], function () { // it returns an object and this method is not executed)
- __details_remove( this );
- return this;
- } );
-
-
- _api_register( _child_obj+'.isShown()', function () {
- var ctx = this.context;
-
- if ( ctx.length && this.length ) {
- // _detailsShown as false or undefined will fall through to return false
- return ctx[0].aoData[ this[0] ]._detailsShow || false;
- }
- return false;
- } );
-
-
-
- /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * Columns
- *
- * {integer} - column index (>=0 count from left, <0 count from right)
- * "{integer}:visIdx" - visible column index (i.e. translate to column index) (>=0 count from left, <0 count from right)
- * "{integer}:visible" - alias for {integer}:visIdx (>=0 count from left, <0 count from right)
- * "{string}:name" - column name
- * "{string}" - jQuery selector on column header nodes
- *
- */
-
- // can be an array of these items, comma separated list, or an array of comma
- // separated lists
-
- var __re_column_selector = /^(.+):(name|visIdx|visible)$/;
-
-
- // r1 and r2 are redundant - but it means that the parameters match for the
- // iterator callback in columns().data()
- var __columnData = function ( settings, column, r1, r2, rows ) {
- var a = [];
- for ( var row=0, ien=rows.length ; row<ien ; row++ ) {
- a.push( _fnGetCellData( settings, rows[row], column ) );
- }
- return a;
- };
-
-
- var __column_selector = function ( settings, selector, opts )
- {
- var
- columns = settings.aoColumns,
- names = _pluck( columns, 'sName' ),
- nodes = _pluck( columns, 'nTh' );
-
- var run = function ( s ) {
- var selInt = _intVal( s );
-
- // Selector - all
- if ( s === '' ) {
- return _range( columns.length );
- }
-
- // Selector - index
- if ( selInt !== null ) {
- return [ selInt >= 0 ?
- selInt : // Count from left
- columns.length + selInt // Count from right (+ because its a negative value)
- ];
- }
-
- // Selector = function
- if ( typeof s === 'function' ) {
- var rows = _selector_row_indexes( settings, opts );
-
- return $.map( columns, function (col, idx) {
- return s(
- idx,
- __columnData( settings, idx, 0, 0, rows ),
- nodes[ idx ]
- ) ? idx : null;
- } );
- }
-
- // jQuery or string selector
- var match = typeof s === 'string' ?
- s.match( __re_column_selector ) :
- '';
-
- if ( match ) {
- switch( match[2] ) {
- case 'visIdx':
- case 'visible':
- var idx = parseInt( match[1], 10 );
- // Visible index given, convert to column index
- if ( idx < 0 ) {
- // Counting from the right
- var visColumns = $.map( columns, function (col,i) {
- return col.bVisible ? i : null;
- } );
- return [ visColumns[ visColumns.length + idx ] ];
- }
- // Counting from the left
- return [ _fnVisibleToColumnIndex( settings, idx ) ];
-
- case 'name':
- // match by name. `names` is column index complete and in order
- return $.map( names, function (name, i) {
- return name === match[1] ? i : null;
- } );
-
- default:
- return [];
- }
- }
-
- // Cell in the table body
- if ( s.nodeName && s._DT_CellIndex ) {
- return [ s._DT_CellIndex.column ];
- }
-
- // jQuery selector on the TH elements for the columns
- var jqResult = $( nodes )
- .filter( s )
- .map( function () {
- return $.inArray( this, nodes ); // `nodes` is column index complete and in order
- } )
- .toArray();
-
- if ( jqResult.length || ! s.nodeName ) {
- return jqResult;
- }
-
- // Otherwise a node which might have a `dt-column` data attribute, or be
- // a child or such an element
- var host = $(s).closest('*[data-dt-column]');
- return host.length ?
- [ host.data('dt-column') ] :
- [];
- };
-
- return _selector_run( 'column', selector, run, settings, opts );
- };
-
-
- var __setColumnVis = function ( settings, column, vis, recalc ) {
- var
- cols = settings.aoColumns,
- col = cols[ column ],
- data = settings.aoData,
- row, cells, i, ien, tr;
-
- // Get
- if ( vis === undefined ) {
- return col.bVisible;
- }
-
- // Set
- // No change
- if ( col.bVisible === vis ) {
- return;
- }
-
- if ( vis ) {
- // Insert column
- // Need to decide if we should use appendChild or insertBefore
- var insertBefore = $.inArray( true, _pluck(cols, 'bVisible'), column+1 );
-
- for ( i=0, ien=data.length ; i<ien ; i++ ) {
- tr = data[i].nTr;
- cells = data[i].anCells;
-
- if ( tr ) {
- // insertBefore can act like appendChild if 2nd arg is null
- tr.insertBefore( cells[ column ], cells[ insertBefore ] || null );
- }
- }
- }
- else {
- // Remove column
- $( _pluck( settings.aoData, 'anCells', column ) ).detach();
- }
-
- // Common actions
- col.bVisible = vis;
- _fnDrawHead( settings, settings.aoHeader );
- _fnDrawHead( settings, settings.aoFooter );
-
- if ( recalc === undefined || recalc ) {
- // Automatically adjust column sizing
- _fnAdjustColumnSizing( settings );
- }
-
- _fnCallbackFire( settings, null, 'column-visibility', [settings, column, vis, recalc] );
-
- _fnSaveState( settings );
- };
-
-
- _api_register( 'columns()', function ( selector, opts ) {
- // argument shifting
- if ( selector === undefined ) {
- selector = '';
- }
- else if ( $.isPlainObject( selector ) ) {
- opts = selector;
- selector = '';
- }
-
- opts = _selector_opts( opts );
-
- var inst = this.iterator( 'table', function ( settings ) {
- return __column_selector( settings, selector, opts );
- }, 1 );
-
- // Want argument shifting here and in _row_selector?
- inst.selector.cols = selector;
- inst.selector.opts = opts;
-
- return inst;
- } );
-
- _api_registerPlural( 'columns().header()', 'column().header()', function ( selector, opts ) {
- return this.iterator( 'column', function ( settings, column ) {
- return settings.aoColumns[column].nTh;
- }, 1 );
- } );
-
- _api_registerPlural( 'columns().footer()', 'column().footer()', function ( selector, opts ) {
- return this.iterator( 'column', function ( settings, column ) {
- return settings.aoColumns[column].nTf;
- }, 1 );
- } );
-
- _api_registerPlural( 'columns().data()', 'column().data()', function () {
- return this.iterator( 'column-rows', __columnData, 1 );
- } );
-
- _api_registerPlural( 'columns().dataSrc()', 'column().dataSrc()', function () {
- return this.iterator( 'column', function ( settings, column ) {
- return settings.aoColumns[column].mData;
- }, 1 );
- } );
-
- _api_registerPlural( 'columns().cache()', 'column().cache()', function ( type ) {
- return this.iterator( 'column-rows', function ( settings, column, i, j, rows ) {
- return _pluck_order( settings.aoData, rows,
- type === 'search' ? '_aFilterData' : '_aSortData', column
- );
- }, 1 );
- } );
-
- _api_registerPlural( 'columns().nodes()', 'column().nodes()', function () {
- return this.iterator( 'column-rows', function ( settings, column, i, j, rows ) {
- return _pluck_order( settings.aoData, rows, 'anCells', column ) ;
- }, 1 );
- } );
-
- _api_registerPlural( 'columns().visible()', 'column().visible()', function ( vis, calc ) {
- return this.iterator( 'column', function ( settings, column ) {
- if ( vis === undefined ) {
- return settings.aoColumns[ column ].bVisible;
- } // else
- __setColumnVis( settings, column, vis, calc );
- } );
- } );
-
- _api_registerPlural( 'columns().indexes()', 'column().index()', function ( type ) {
- return this.iterator( 'column', function ( settings, column ) {
- return type === 'visible' ?
- _fnColumnIndexToVisible( settings, column ) :
- column;
- }, 1 );
- } );
-
- _api_register( 'columns.adjust()', function () {
- return this.iterator( 'table', function ( settings ) {
- _fnAdjustColumnSizing( settings );
- }, 1 );
- } );
-
- _api_register( 'column.index()', function ( type, idx ) {
- if ( this.context.length !== 0 ) {
- var ctx = this.context[0];
-
- if ( type === 'fromVisible' || type === 'toData' ) {
- return _fnVisibleToColumnIndex( ctx, idx );
- }
- else if ( type === 'fromData' || type === 'toVisible' ) {
- return _fnColumnIndexToVisible( ctx, idx );
- }
- }
- } );
-
- _api_register( 'column()', function ( selector, opts ) {
- return _selector_first( this.columns( selector, opts ) );
- } );
-
-
-
-
- var __cell_selector = function ( settings, selector, opts )
- {
- var data = settings.aoData;
- var rows = _selector_row_indexes( settings, opts );
- var cells = _removeEmpty( _pluck_order( data, rows, 'anCells' ) );
- var allCells = $( [].concat.apply([], cells) );
- var row;
- var columns = settings.aoColumns.length;
- var a, i, ien, j, o, host;
-
- var run = function ( s ) {
- var fnSelector = typeof s === 'function';
-
- if ( s === null || s === undefined || fnSelector ) {
- // All cells and function selectors
- a = [];
-
- for ( i=0, ien=rows.length ; i<ien ; i++ ) {
- row = rows[i];
-
- for ( j=0 ; j<columns ; j++ ) {
- o = {
- row: row,
- column: j
- };
-
- if ( fnSelector ) {
- // Selector - function
- host = data[ row ];
-
- if ( s( o, _fnGetCellData(settings, row, j), host.anCells ? host.anCells[j] : null ) ) {
- a.push( o );
- }
- }
- else {
- // Selector - all
- a.push( o );
- }
- }
- }
-
- return a;
- }
-
- // Selector - index
- if ( $.isPlainObject( s ) ) {
- return [s];
- }
-
- // Selector - jQuery filtered cells
- var jqResult = allCells
- .filter( s )
- .map( function (i, el) {
- return { // use a new object, in case someone changes the values
- row: el._DT_CellIndex.row,
- column: el._DT_CellIndex.column
- };
- } )
- .toArray();
-
- if ( jqResult.length || ! s.nodeName ) {
- return jqResult;
- }
-
- // Otherwise the selector is a node, and there is one last option - the
- // element might be a child of an element which has dt-row and dt-column
- // data attributes
- host = $(s).closest('*[data-dt-row]');
- return host.length ?
- [ {
- row: host.data('dt-row'),
- column: host.data('dt-column')
- } ] :
- [];
- };
-
- return _selector_run( 'cell', selector, run, settings, opts );
- };
-
-
-
-
- _api_register( 'cells()', function ( rowSelector, columnSelector, opts ) {
- // Argument shifting
- if ( $.isPlainObject( rowSelector ) ) {
- // Indexes
- if ( rowSelector.row === undefined ) {
- // Selector options in first parameter
- opts = rowSelector;
- rowSelector = null;
- }
- else {
- // Cell index objects in first parameter
- opts = columnSelector;
- columnSelector = null;
- }
- }
- if ( $.isPlainObject( columnSelector ) ) {
- opts = columnSelector;
- columnSelector = null;
- }
-
- // Cell selector
- if ( columnSelector === null || columnSelector === undefined ) {
- return this.iterator( 'table', function ( settings ) {
- return __cell_selector( settings, rowSelector, _selector_opts( opts ) );
- } );
- }
-
- // Row + column selector
- var columns = this.columns( columnSelector, opts );
- var rows = this.rows( rowSelector, opts );
- var a, i, ien, j, jen;
-
- var cells = this.iterator( 'table', function ( settings, idx ) {
- a = [];
-
- for ( i=0, ien=rows[idx].length ; i<ien ; i++ ) {
- for ( j=0, jen=columns[idx].length ; j<jen ; j++ ) {
- a.push( {
- row: rows[idx][i],
- column: columns[idx][j]
- } );
- }
- }
-
- return a;
- }, 1 );
-
- $.extend( cells.selector, {
- cols: columnSelector,
- rows: rowSelector,
- opts: opts
- } );
-
- return cells;
- } );
-
-
- _api_registerPlural( 'cells().nodes()', 'cell().node()', function () {
- return this.iterator( 'cell', function ( settings, row, column ) {
- var data = settings.aoData[ row ];
-
- return data && data.anCells ?
- data.anCells[ column ] :
- undefined;
- }, 1 );
- } );
-
-
- _api_register( 'cells().data()', function () {
- return this.iterator( 'cell', function ( settings, row, column ) {
- return _fnGetCellData( settings, row, column );
- }, 1 );
- } );
-
-
- _api_registerPlural( 'cells().cache()', 'cell().cache()', function ( type ) {
- type = type === 'search' ? '_aFilterData' : '_aSortData';
-
- return this.iterator( 'cell', function ( settings, row, column ) {
- return settings.aoData[ row ][ type ][ column ];
- }, 1 );
- } );
-
-
- _api_registerPlural( 'cells().render()', 'cell().render()', function ( type ) {
- return this.iterator( 'cell', function ( settings, row, column ) {
- return _fnGetCellData( settings, row, column, type );
- }, 1 );
- } );
-
-
- _api_registerPlural( 'cells().indexes()', 'cell().index()', function () {
- return this.iterator( 'cell', function ( settings, row, column ) {
- return {
- row: row,
- column: column,
- columnVisible: _fnColumnIndexToVisible( settings, column )
- };
- }, 1 );
- } );
-
-
- _api_registerPlural( 'cells().invalidate()', 'cell().invalidate()', function ( src ) {
- return this.iterator( 'cell', function ( settings, row, column ) {
- _fnInvalidate( settings, row, src, column );
- } );
- } );
-
-
-
- _api_register( 'cell()', function ( rowSelector, columnSelector, opts ) {
- return _selector_first( this.cells( rowSelector, columnSelector, opts ) );
- } );
-
-
- _api_register( 'cell().data()', function ( data ) {
- var ctx = this.context;
- var cell = this[0];
-
- if ( data === undefined ) {
- // Get
- return ctx.length && cell.length ?
- _fnGetCellData( ctx[0], cell[0].row, cell[0].column ) :
- undefined;
- }
-
- // Set
- _fnSetCellData( ctx[0], cell[0].row, cell[0].column, data );
- _fnInvalidate( ctx[0], cell[0].row, 'data', cell[0].column );
-
- return this;
- } );
-
-
-
- /**
- * Get current ordering (sorting) that has been applied to the table.
- *
- * @returns {array} 2D array containing the sorting information for the first
- * table in the current context. Each element in the parent array represents
- * a column being sorted upon (i.e. multi-sorting with two columns would have
- * 2 inner arrays). The inner arrays may have 2 or 3 elements. The first is
- * the column index that the sorting condition applies to, the second is the
- * direction of the sort (`desc` or `asc`) and, optionally, the third is the
- * index of the sorting order from the `column.sorting` initialisation array.
- *//**
- * Set the ordering for the table.
- *
- * @param {integer} order Column index to sort upon.
- * @param {string} direction Direction of the sort to be applied (`asc` or `desc`)
- * @returns {DataTables.Api} this
- *//**
- * Set the ordering for the table.
- *
- * @param {array} order 1D array of sorting information to be applied.
- * @param {array} [...] Optional additional sorting conditions
- * @returns {DataTables.Api} this
- *//**
- * Set the ordering for the table.
- *
- * @param {array} order 2D array of sorting information to be applied.
- * @returns {DataTables.Api} this
- */
- _api_register( 'order()', function ( order, dir ) {
- var ctx = this.context;
-
- if ( order === undefined ) {
- // get
- return ctx.length !== 0 ?
- ctx[0].aaSorting :
- undefined;
- }
-
- // set
- if ( typeof order === 'number' ) {
- // Simple column / direction passed in
- order = [ [ order, dir ] ];
- }
- else if ( ! $.isArray( order[0] ) ) {
- // Arguments passed in (list of 1D arrays)
- order = Array.prototype.slice.call( arguments );
- }
- // otherwise a 2D array was passed in
-
- return this.iterator( 'table', function ( settings ) {
- settings.aaSorting = order.slice();
- } );
- } );
-
-
- /**
- * Attach a sort listener to an element for a given column
- *
- * @param {node|jQuery|string} node Identifier for the element(s) to attach the
- * listener to. This can take the form of a single DOM node, a jQuery
- * collection of nodes or a jQuery selector which will identify the node(s).
- * @param {integer} column the column that a click on this node will sort on
- * @param {function} [callback] callback function when sort is run
- * @returns {DataTables.Api} this
- */
- _api_register( 'order.listener()', function ( node, column, callback ) {
- return this.iterator( 'table', function ( settings ) {
- _fnSortAttachListener( settings, node, column, callback );
- } );
- } );
-
-
- _api_register( 'order.fixed()', function ( set ) {
- if ( ! set ) {
- var ctx = this.context;
- var fixed = ctx.length ?
- ctx[0].aaSortingFixed :
- undefined;
-
- return $.isArray( fixed ) ?
- { pre: fixed } :
- fixed;
- }
-
- return this.iterator( 'table', function ( settings ) {
- settings.aaSortingFixed = $.extend( true, {}, set );
- } );
- } );
-
-
- // Order by the selected column(s)
- _api_register( [
- 'columns().order()',
- 'column().order()'
- ], function ( dir ) {
- var that = this;
-
- return this.iterator( 'table', function ( settings, i ) {
- var sort = [];
-
- $.each( that[i], function (j, col) {
- sort.push( [ col, dir ] );
- } );
-
- settings.aaSorting = sort;
- } );
- } );
-
-
-
- _api_register( 'search()', function ( input, regex, smart, caseInsen ) {
- var ctx = this.context;
-
- if ( input === undefined ) {
- // get
- return ctx.length !== 0 ?
- ctx[0].oPreviousSearch.sSearch :
- undefined;
- }
-
- // set
- return this.iterator( 'table', function ( settings ) {
- if ( ! settings.oFeatures.bFilter ) {
- return;
- }
-
- _fnFilterComplete( settings, $.extend( {}, settings.oPreviousSearch, {
- "sSearch": input+"",
- "bRegex": regex === null ? false : regex,
- "bSmart": smart === null ? true : smart,
- "bCaseInsensitive": caseInsen === null ? true : caseInsen
- } ), 1 );
- } );
- } );
-
-
- _api_registerPlural(
- 'columns().search()',
- 'column().search()',
- function ( input, regex, smart, caseInsen ) {
- return this.iterator( 'column', function ( settings, column ) {
- var preSearch = settings.aoPreSearchCols;
-
- if ( input === undefined ) {
- // get
- return preSearch[ column ].sSearch;
- }
-
- // set
- if ( ! settings.oFeatures.bFilter ) {
- return;
- }
-
- $.extend( preSearch[ column ], {
- "sSearch": input+"",
- "bRegex": regex === null ? false : regex,
- "bSmart": smart === null ? true : smart,
- "bCaseInsensitive": caseInsen === null ? true : caseInsen
- } );
-
- _fnFilterComplete( settings, settings.oPreviousSearch, 1 );
- } );
- }
- );
-
- /*
- * State API methods
- */
-
- _api_register( 'state()', function () {
- return this.context.length ?
- this.context[0].oSavedState :
- null;
- } );
-
-
- _api_register( 'state.clear()', function () {
- return this.iterator( 'table', function ( settings ) {
- // Save an empty object
- settings.fnStateSaveCallback.call( settings.oInstance, settings, {} );
- } );
- } );
-
-
- _api_register( 'state.loaded()', function () {
- return this.context.length ?
- this.context[0].oLoadedState :
- null;
- } );
-
-
- _api_register( 'state.save()', function () {
- return this.iterator( 'table', function ( settings ) {
- _fnSaveState( settings );
- } );
- } );
-
-
-
- /**
- * Provide a common method for plug-ins to check the version of DataTables being
- * used, in order to ensure compatibility.
- *
- * @param {string} version Version string to check for, in the format "X.Y.Z".
- * Note that the formats "X" and "X.Y" are also acceptable.
- * @returns {boolean} true if this version of DataTables is greater or equal to
- * the required version, or false if this version of DataTales is not
- * suitable
- * @static
- * @dtopt API-Static
- *
- * @example
- * alert( $.fn.dataTable.versionCheck( '1.9.0' ) );
- */
- DataTable.versionCheck = DataTable.fnVersionCheck = function( version )
- {
- var aThis = DataTable.version.split('.');
- var aThat = version.split('.');
- var iThis, iThat;
-
- for ( var i=0, iLen=aThat.length ; i<iLen ; i++ ) {
- iThis = parseInt( aThis[i], 10 ) || 0;
- iThat = parseInt( aThat[i], 10 ) || 0;
-
- // Parts are the same, keep comparing
- if (iThis === iThat) {
- continue;
- }
-
- // Parts are different, return immediately
- return iThis > iThat;
- }
-
- return true;
- };
-
-
- /**
- * Check if a `<table>` node is a DataTable table already or not.
- *
- * @param {node|jquery|string} table Table node, jQuery object or jQuery
- * selector for the table to test. Note that if more than more than one
- * table is passed on, only the first will be checked
- * @returns {boolean} true the table given is a DataTable, or false otherwise
- * @static
- * @dtopt API-Static
- *
- * @example
- * if ( ! $.fn.DataTable.isDataTable( '#example' ) ) {
- * $('#example').dataTable();
- * }
- */
- DataTable.isDataTable = DataTable.fnIsDataTable = function ( table )
- {
- var t = $(table).get(0);
- var is = false;
-
- $.each( DataTable.settings, function (i, o) {
- var head = o.nScrollHead ? $('table', o.nScrollHead)[0] : null;
- var foot = o.nScrollFoot ? $('table', o.nScrollFoot)[0] : null;
-
- if ( o.nTable === t || head === t || foot === t ) {
- is = true;
- }
- } );
-
- return is;
- };
-
-
- /**
- * Get all DataTable tables that have been initialised - optionally you can
- * select to get only currently visible tables.
- *
- * @param {boolean} [visible=false] Flag to indicate if you want all (default)
- * or visible tables only.
- * @returns {array} Array of `table` nodes (not DataTable instances) which are
- * DataTables
- * @static
- * @dtopt API-Static
- *
- * @example
- * $.each( $.fn.dataTable.tables(true), function () {
- * $(table).DataTable().columns.adjust();
- * } );
- */
- DataTable.tables = DataTable.fnTables = function ( visible )
- {
- var api = false;
-
- if ( $.isPlainObject( visible ) ) {
- api = visible.api;
- visible = visible.visible;
- }
-
- var a = $.map( DataTable.settings, function (o) {
- if ( !visible || (visible && $(o.nTable).is(':visible')) ) {
- return o.nTable;
- }
- } );
-
- return api ?
- new _Api( a ) :
- a;
- };
-
-
- /**
- * DataTables utility methods
- *
- * This namespace provides helper methods that DataTables uses internally to
- * create a DataTable, but which are not exclusively used only for DataTables.
- * These methods can be used by extension authors to save the duplication of
- * code.
- *
- * @namespace
- */
- DataTable.util = {
- /**
- * Throttle the calls to a function. Arguments and context are maintained
- * for the throttled function.
- *
- * @param {function} fn Function to be called
- * @param {integer} freq Call frequency in mS
- * @return {function} Wrapped function
- */
- throttle: _fnThrottle,
-
-
- /**
- * Escape a string such that it can be used in a regular expression
- *
- * @param {string} sVal string to escape
- * @returns {string} escaped string
- */
- escapeRegex: _fnEscapeRegex
- };
-
-
- /**
- * Convert from camel case parameters to Hungarian notation. This is made public
- * for the extensions to provide the same ability as DataTables core to accept
- * either the 1.9 style Hungarian notation, or the 1.10+ style camelCase
- * parameters.
- *
- * @param {object} src The model object which holds all parameters that can be
- * mapped.
- * @param {object} user The object to convert from camel case to Hungarian.
- * @param {boolean} force When set to `true`, properties which already have a
- * Hungarian value in the `user` object will be overwritten. Otherwise they
- * won't be.
- */
- DataTable.camelToHungarian = _fnCamelToHungarian;
-
-
-
- /**
- *
- */
- _api_register( '$()', function ( selector, opts ) {
- var
- rows = this.rows( opts ).nodes(), // Get all rows
- jqRows = $(rows);
-
- return $( [].concat(
- jqRows.filter( selector ).toArray(),
- jqRows.find( selector ).toArray()
- ) );
- } );
-
-
- // jQuery functions to operate on the tables
- $.each( [ 'on', 'one', 'off' ], function (i, key) {
- _api_register( key+'()', function ( /* event, handler */ ) {
- var args = Array.prototype.slice.call(arguments);
-
- // Add the `dt` namespace automatically if it isn't already present
- if ( ! args[0].match(/\.dt\b/) ) {
- args[0] += '.dt';
- }
-
- var inst = $( this.tables().nodes() );
- inst[key].apply( inst, args );
- return this;
- } );
- } );
-
-
- _api_register( 'clear()', function () {
- return this.iterator( 'table', function ( settings ) {
- _fnClearTable( settings );
- } );
- } );
-
-
- _api_register( 'settings()', function () {
- return new _Api( this.context, this.context );
- } );
-
-
- _api_register( 'init()', function () {
- var ctx = this.context;
- return ctx.length ? ctx[0].oInit : null;
- } );
-
-
- _api_register( 'data()', function () {
- return this.iterator( 'table', function ( settings ) {
- return _pluck( settings.aoData, '_aData' );
- } ).flatten();
- } );
-
-
- _api_register( 'destroy()', function ( remove ) {
- remove = remove || false;
-
- return this.iterator( 'table', function ( settings ) {
- var orig = settings.nTableWrapper.parentNode;
- var classes = settings.oClasses;
- var table = settings.nTable;
- var tbody = settings.nTBody;
- var thead = settings.nTHead;
- var tfoot = settings.nTFoot;
- var jqTable = $(table);
- var jqTbody = $(tbody);
- var jqWrapper = $(settings.nTableWrapper);
- var rows = $.map( settings.aoData, function (r) { return r.nTr; } );
- var i, ien;
-
- // Flag to note that the table is currently being destroyed - no action
- // should be taken
- settings.bDestroying = true;
-
- // Fire off the destroy callbacks for plug-ins etc
- _fnCallbackFire( settings, "aoDestroyCallback", "destroy", [settings] );
-
- // If not being removed from the document, make all columns visible
- if ( ! remove ) {
- new _Api( settings ).columns().visible( true );
- }
-
- // Blitz all `DT` namespaced events (these are internal events, the
- // lowercase, `dt` events are user subscribed and they are responsible
- // for removing them
- jqWrapper.unbind('.DT').find(':not(tbody *)').unbind('.DT');
- $(window).unbind('.DT-'+settings.sInstance);
-
- // When scrolling we had to break the table up - restore it
- if ( table != thead.parentNode ) {
- jqTable.children('thead').detach();
- jqTable.append( thead );
- }
-
- if ( tfoot && table != tfoot.parentNode ) {
- jqTable.children('tfoot').detach();
- jqTable.append( tfoot );
- }
-
- settings.aaSorting = [];
- settings.aaSortingFixed = [];
- _fnSortingClasses( settings );
-
- $( rows ).removeClass( settings.asStripeClasses.join(' ') );
-
- $('th, td', thead).removeClass( classes.sSortable+' '+
- classes.sSortableAsc+' '+classes.sSortableDesc+' '+classes.sSortableNone
- );
-
- if ( settings.bJUI ) {
- $('th span.'+classes.sSortIcon+ ', td span.'+classes.sSortIcon, thead).detach();
- $('th, td', thead).each( function () {
- var wrapper = $('div.'+classes.sSortJUIWrapper, this);
- $(this).append( wrapper.contents() );
- wrapper.detach();
- } );
- }
-
- // Add the TR elements back into the table in their original order
- jqTbody.children().detach();
- jqTbody.append( rows );
-
- // Remove the DataTables generated nodes, events and classes
- var removedMethod = remove ? 'remove' : 'detach';
- jqTable[ removedMethod ]();
- jqWrapper[ removedMethod ]();
-
- // If we need to reattach the table to the document
- if ( ! remove && orig ) {
- // insertBefore acts like appendChild if !arg[1]
- orig.insertBefore( table, settings.nTableReinsertBefore );
-
- // Restore the width of the original table - was read from the style property,
- // so we can restore directly to that
- jqTable
- .css( 'width', settings.sDestroyWidth )
- .removeClass( classes.sTable );
-
- // If the were originally stripe classes - then we add them back here.
- // Note this is not fool proof (for example if not all rows had stripe
- // classes - but it's a good effort without getting carried away
- ien = settings.asDestroyStripes.length;
-
- if ( ien ) {
- jqTbody.children().each( function (i) {
- $(this).addClass( settings.asDestroyStripes[i % ien] );
- } );
- }
- }
-
- /* Remove the settings object from the settings array */
- var idx = $.inArray( settings, DataTable.settings );
- if ( idx !== -1 ) {
- DataTable.settings.splice( idx, 1 );
- }
- } );
- } );
-
-
- // Add the `every()` method for rows, columns and cells in a compact form
- $.each( [ 'column', 'row', 'cell' ], function ( i, type ) {
- _api_register( type+'s().every()', function ( fn ) {
- var opts = this.selector.opts;
- var api = this;
-
- return this.iterator( type, function ( settings, arg1, arg2, arg3, arg4 ) {
- // Rows and columns:
- // arg1 - index
- // arg2 - table counter
- // arg3 - loop counter
- // arg4 - undefined
- // Cells:
- // arg1 - row index
- // arg2 - column index
- // arg3 - table counter
- // arg4 - loop counter
- fn.call(
- api[ type ](
- arg1,
- type==='cell' ? arg2 : opts,
- type==='cell' ? opts : undefined
- ),
- arg1, arg2, arg3, arg4
- );
- } );
- } );
- } );
-
-
- // i18n method for extensions to be able to use the language object from the
- // DataTable
- _api_register( 'i18n()', function ( token, def, plural ) {
- var ctx = this.context[0];
- var resolved = _fnGetObjectDataFn( token )( ctx.oLanguage );
-
- if ( resolved === undefined ) {
- resolved = def;
- }
-
- if ( plural !== undefined && $.isPlainObject( resolved ) ) {
- resolved = resolved[ plural ] !== undefined ?
- resolved[ plural ] :
- resolved._;
- }
-
- return resolved.replace( '%d', plural ); // nb: plural might be undefined,
- } );
-
- /**
- * Version string for plug-ins to check compatibility. Allowed format is
- * `a.b.c-d` where: a:int, b:int, c:int, d:string(dev|beta|alpha). `d` is used
- * only for non-release builds. See http://semver.org/ for more information.
- * @member
- * @type string
- * @default Version number
- */
- DataTable.version = "1.10.11";
-
- /**
- * Private data store, containing all of the settings objects that are
- * created for the tables on a given page.
- *
- * Note that the `DataTable.settings` object is aliased to
- * `jQuery.fn.dataTableExt` through which it may be accessed and
- * manipulated, or `jQuery.fn.dataTable.settings`.
- * @member
- * @type array
- * @default []
- * @private
- */
- DataTable.settings = [];
-
- /**
- * Object models container, for the various models that DataTables has
- * available to it. These models define the objects that are used to hold
- * the active state and configuration of the table.
- * @namespace
- */
- DataTable.models = {};
-
-
-
- /**
- * Template object for the way in which DataTables holds information about
- * search information for the global filter and individual column filters.
- * @namespace
- */
- DataTable.models.oSearch = {
- /**
- * Flag to indicate if the filtering should be case insensitive or not
- * @type boolean
- * @default true
- */
- "bCaseInsensitive": true,
-
- /**
- * Applied search term
- * @type string
- * @default <i>Empty string</i>
- */
- "sSearch": "",
-
- /**
- * Flag to indicate if the search term should be interpreted as a
- * regular expression (true) or not (false) and therefore and special
- * regex characters escaped.
- * @type boolean
- * @default false
- */
- "bRegex": false,
-
- /**
- * Flag to indicate if DataTables is to use its smart filtering or not.
- * @type boolean
- * @default true
- */
- "bSmart": true
- };
-
-
-
-
- /**
- * Template object for the way in which DataTables holds information about
- * each individual row. This is the object format used for the settings
- * aoData array.
- * @namespace
- */
- DataTable.models.oRow = {
- /**
- * TR element for the row
- * @type node
- * @default null
- */
- "nTr": null,
-
- /**
- * Array of TD elements for each row. This is null until the row has been
- * created.
- * @type array nodes
- * @default []
- */
- "anCells": null,
-
- /**
- * Data object from the original data source for the row. This is either
- * an array if using the traditional form of DataTables, or an object if
- * using mData options. The exact type will depend on the passed in
- * data from the data source, or will be an array if using DOM a data
- * source.
- * @type array|object
- * @default []
- */
- "_aData": [],
-
- /**
- * Sorting data cache - this array is ostensibly the same length as the
- * number of columns (although each index is generated only as it is
- * needed), and holds the data that is used for sorting each column in the
- * row. We do this cache generation at the start of the sort in order that
- * the formatting of the sort data need be done only once for each cell
- * per sort. This array should not be read from or written to by anything
- * other than the master sorting methods.
- * @type array
- * @default null
- * @private
- */
- "_aSortData": null,
-
- /**
- * Per cell filtering data cache. As per the sort data cache, used to
- * increase the performance of the filtering in DataTables
- * @type array
- * @default null
- * @private
- */
- "_aFilterData": null,
-
- /**
- * Filtering data cache. This is the same as the cell filtering cache, but
- * in this case a string rather than an array. This is easily computed with
- * a join on `_aFilterData`, but is provided as a cache so the join isn't
- * needed on every search (memory traded for performance)
- * @type array
- * @default null
- * @private
- */
- "_sFilterRow": null,
-
- /**
- * Cache of the class name that DataTables has applied to the row, so we
- * can quickly look at this variable rather than needing to do a DOM check
- * on className for the nTr property.
- * @type string
- * @default <i>Empty string</i>
- * @private
- */
- "_sRowStripe": "",
-
- /**
- * Denote if the original data source was from the DOM, or the data source
- * object. This is used for invalidating data, so DataTables can
- * automatically read data from the original source, unless uninstructed
- * otherwise.
- * @type string
- * @default null
- * @private
- */
- "src": null,
-
- /**
- * Index in the aoData array. This saves an indexOf lookup when we have the
- * object, but want to know the index
- * @type integer
- * @default -1
- * @private
- */
- "idx": -1
- };
-
-
- /**
- * Template object for the column information object in DataTables. This object
- * is held in the settings aoColumns array and contains all the information that
- * DataTables needs about each individual column.
- *
- * Note that this object is related to {@link DataTable.defaults.column}
- * but this one is the internal data store for DataTables's cache of columns.
- * It should NOT be manipulated outside of DataTables. Any configuration should
- * be done through the initialisation options.
- * @namespace
- */
- DataTable.models.oColumn = {
- /**
- * Column index. This could be worked out on-the-fly with $.inArray, but it
- * is faster to just hold it as a variable
- * @type integer
- * @default null
- */
- "idx": null,
-
- /**
- * A list of the columns that sorting should occur on when this column
- * is sorted. That this property is an array allows multi-column sorting
- * to be defined for a column (for example first name / last name columns
- * would benefit from this). The values are integers pointing to the
- * columns to be sorted on (typically it will be a single integer pointing
- * at itself, but that doesn't need to be the case).
- * @type array
- */
- "aDataSort": null,
-
- /**
- * Define the sorting directions that are applied to the column, in sequence
- * as the column is repeatedly sorted upon - i.e. the first value is used
- * as the sorting direction when the column if first sorted (clicked on).
- * Sort it again (click again) and it will move on to the next index.
- * Repeat until loop.
- * @type array
- */
- "asSorting": null,
-
- /**
- * Flag to indicate if the column is searchable, and thus should be included
- * in the filtering or not.
- * @type boolean
- */
- "bSearchable": null,
-
- /**
- * Flag to indicate if the column is sortable or not.
- * @type boolean
- */
- "bSortable": null,
-
- /**
- * Flag to indicate if the column is currently visible in the table or not
- * @type boolean
- */
- "bVisible": null,
-
- /**
- * Store for manual type assignment using the `column.type` option. This
- * is held in store so we can manipulate the column's `sType` property.
- * @type string
- * @default null
- * @private
- */
- "_sManualType": null,
-
- /**
- * Flag to indicate if HTML5 data attributes should be used as the data
- * source for filtering or sorting. True is either are.
- * @type boolean
- * @default false
- * @private
- */
- "_bAttrSrc": false,
-
- /**
- * Developer definable function that is called whenever a cell is created (Ajax source,
- * etc) or processed for input (DOM source). This can be used as a compliment to mRender
- * allowing you to modify the DOM element (add background colour for example) when the
- * element is available.
- * @type function
- * @param {element} nTd The TD node that has been created
- * @param {*} sData The Data for the cell
- * @param {array|object} oData The data for the whole row
- * @param {int} iRow The row index for the aoData data store
- * @default null
- */
- "fnCreatedCell": null,
-
- /**
- * Function to get data from a cell in a column. You should <b>never</b>
- * access data directly through _aData internally in DataTables - always use
- * the method attached to this property. It allows mData to function as
- * required. This function is automatically assigned by the column
- * initialisation method
- * @type function
- * @param {array|object} oData The data array/object for the array
- * (i.e. aoData[]._aData)
- * @param {string} sSpecific The specific data type you want to get -
- * 'display', 'type' 'filter' 'sort'
- * @returns {*} The data for the cell from the given row's data
- * @default null
- */
- "fnGetData": null,
-
- /**
- * Function to set data for a cell in the column. You should <b>never</b>
- * set the data directly to _aData internally in DataTables - always use
- * this method. It allows mData to function as required. This function
- * is automatically assigned by the column initialisation method
- * @type function
- * @param {array|object} oData The data array/object for the array
- * (i.e. aoData[]._aData)
- * @param {*} sValue Value to set
- * @default null
- */
- "fnSetData": null,
-
- /**
- * Property to read the value for the cells in the column from the data
- * source array / object. If null, then the default content is used, if a
- * function is given then the return from the function is used.
- * @type function|int|string|null
- * @default null
- */
- "mData": null,
-
- /**
- * Partner property to mData which is used (only when defined) to get
- * the data - i.e. it is basically the same as mData, but without the
- * 'set' option, and also the data fed to it is the result from mData.
- * This is the rendering method to match the data method of mData.
- * @type function|int|string|null
- * @default null
- */
- "mRender": null,
-
- /**
- * Unique header TH/TD element for this column - this is what the sorting
- * listener is attached to (if sorting is enabled.)
- * @type node
- * @default null
- */
- "nTh": null,
-
- /**
- * Unique footer TH/TD element for this column (if there is one). Not used
- * in DataTables as such, but can be used for plug-ins to reference the
- * footer for each column.
- * @type node
- * @default null
- */
- "nTf": null,
-
- /**
- * The class to apply to all TD elements in the table's TBODY for the column
- * @type string
- * @default null
- */
- "sClass": null,
-
- /**
- * When DataTables calculates the column widths to assign to each column,
- * it finds the longest string in each column and then constructs a
- * temporary table and reads the widths from that. The problem with this
- * is that "mmm" is much wider then "iiii", but the latter is a longer
- * string - thus the calculation can go wrong (doing it properly and putting
- * it into an DOM object and measuring that is horribly(!) slow). Thus as
- * a "work around" we provide this option. It will append its value to the
- * text that is found to be the longest string for the column - i.e. padding.
- * @type string
- */
- "sContentPadding": null,
-
- /**
- * Allows a default value to be given for a column's data, and will be used
- * whenever a null data source is encountered (this can be because mData
- * is set to null, or because the data source itself is null).
- * @type string
- * @default null
- */
- "sDefaultContent": null,
-
- /**
- * Name for the column, allowing reference to the column by name as well as
- * by index (needs a lookup to work by name).
- * @type string
- */
- "sName": null,
-
- /**
- * Custom sorting data type - defines which of the available plug-ins in
- * afnSortData the custom sorting will use - if any is defined.
- * @type string
- * @default std
- */
- "sSortDataType": 'std',
-
- /**
- * Class to be applied to the header element when sorting on this column
- * @type string
- * @default null
- */
- "sSortingClass": null,
-
- /**
- * Class to be applied to the header element when sorting on this column -
- * when jQuery UI theming is used.
- * @type string
- * @default null
- */
- "sSortingClassJUI": null,
-
- /**
- * Title of the column - what is seen in the TH element (nTh).
- * @type string
- */
- "sTitle": null,
-
- /**
- * Column sorting and filtering type
- * @type string
- * @default null
- */
- "sType": null,
-
- /**
- * Width of the column
- * @type string
- * @default null
- */
- "sWidth": null,
-
- /**
- * Width of the column when it was first "encountered"
- * @type string
- * @default null
- */
- "sWidthOrig": null
- };
-
-
- /*
- * Developer note: The properties of the object below are given in Hungarian
- * notation, that was used as the interface for DataTables prior to v1.10, however
- * from v1.10 onwards the primary interface is camel case. In order to avoid
- * breaking backwards compatibility utterly with this change, the Hungarian
- * version is still, internally the primary interface, but is is not documented
- * - hence the @name tags in each doc comment. This allows a Javascript function
- * to create a map from Hungarian notation to camel case (going the other direction
- * would require each property to be listed, which would at around 3K to the size
- * of DataTables, while this method is about a 0.5K hit.
- *
- * Ultimately this does pave the way for Hungarian notation to be dropped
- * completely, but that is a massive amount of work and will break current
- * installs (therefore is on-hold until v2).
- */
-
- /**
- * Initialisation options that can be given to DataTables at initialisation
- * time.
- * @namespace
- */
- DataTable.defaults = {
- /**
- * An array of data to use for the table, passed in at initialisation which
- * will be used in preference to any data which is already in the DOM. This is
- * particularly useful for constructing tables purely in Javascript, for
- * example with a custom Ajax call.
- * @type array
- * @default null
- *
- * @dtopt Option
- * @name DataTable.defaults.data
- *
- * @example
- * // Using a 2D array data source
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "data": [
- * ['Trident', 'Internet Explorer 4.0', 'Win 95+', 4, 'X'],
- * ['Trident', 'Internet Explorer 5.0', 'Win 95+', 5, 'C'],
- * ],
- * "columns": [
- * { "title": "Engine" },
- * { "title": "Browser" },
- * { "title": "Platform" },
- * { "title": "Version" },
- * { "title": "Grade" }
- * ]
- * } );
- * } );
- *
- * @example
- * // Using an array of objects as a data source (`data`)
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "data": [
- * {
- * "engine": "Trident",
- * "browser": "Internet Explorer 4.0",
- * "platform": "Win 95+",
- * "version": 4,
- * "grade": "X"
- * },
- * {
- * "engine": "Trident",
- * "browser": "Internet Explorer 5.0",
- * "platform": "Win 95+",
- * "version": 5,
- * "grade": "C"
- * }
- * ],
- * "columns": [
- * { "title": "Engine", "data": "engine" },
- * { "title": "Browser", "data": "browser" },
- * { "title": "Platform", "data": "platform" },
- * { "title": "Version", "data": "version" },
- * { "title": "Grade", "data": "grade" }
- * ]
- * } );
- * } );
- */
- "aaData": null,
-
-
- /**
- * If ordering is enabled, then DataTables will perform a first pass sort on
- * initialisation. You can define which column(s) the sort is performed
- * upon, and the sorting direction, with this variable. The `sorting` array
- * should contain an array for each column to be sorted initially containing
- * the column's index and a direction string ('asc' or 'desc').
- * @type array
- * @default [[0,'asc']]
- *
- * @dtopt Option
- * @name DataTable.defaults.order
- *
- * @example
- * // Sort by 3rd column first, and then 4th column
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "order": [[2,'asc'], [3,'desc']]
- * } );
- * } );
- *
- * // No initial sorting
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "order": []
- * } );
- * } );
- */
- "aaSorting": [[0,'asc']],
-
-
- /**
- * This parameter is basically identical to the `sorting` parameter, but
- * cannot be overridden by user interaction with the table. What this means
- * is that you could have a column (visible or hidden) which the sorting
- * will always be forced on first - any sorting after that (from the user)
- * will then be performed as required. This can be useful for grouping rows
- * together.
- * @type array
- * @default null
- *
- * @dtopt Option
- * @name DataTable.defaults.orderFixed
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "orderFixed": [[0,'asc']]
- * } );
- * } )
- */
- "aaSortingFixed": [],
-
-
- /**
- * DataTables can be instructed to load data to display in the table from a
- * Ajax source. This option defines how that Ajax call is made and where to.
- *
- * The `ajax` property has three different modes of operation, depending on
- * how it is defined. These are:
- *
- * * `string` - Set the URL from where the data should be loaded from.
- * * `object` - Define properties for `jQuery.ajax`.
- * * `function` - Custom data get function
- *
- * `string`
- * --------
- *
- * As a string, the `ajax` property simply defines the URL from which
- * DataTables will load data.
- *
- * `object`
- * --------
- *
- * As an object, the parameters in the object are passed to
- * [jQuery.ajax](http://api.jquery.com/jQuery.ajax/) allowing fine control
- * of the Ajax request. DataTables has a number of default parameters which
- * you can override using this option. Please refer to the jQuery
- * documentation for a full description of the options available, although
- * the following parameters provide additional options in DataTables or
- * require special consideration:
- *
- * * `data` - As with jQuery, `data` can be provided as an object, but it
- * can also be used as a function to manipulate the data DataTables sends
- * to the server. The function takes a single parameter, an object of
- * parameters with the values that DataTables has readied for sending. An
- * object may be returned which will be merged into the DataTables
- * defaults, or you can add the items to the object that was passed in and
- * not return anything from the function. This supersedes `fnServerParams`
- * from DataTables 1.9-.
- *
- * * `dataSrc` - By default DataTables will look for the property `data` (or
- * `aaData` for compatibility with DataTables 1.9-) when obtaining data
- * from an Ajax source or for server-side processing - this parameter
- * allows that property to be changed. You can use Javascript dotted
- * object notation to get a data source for multiple levels of nesting, or
- * it my be used as a function. As a function it takes a single parameter,
- * the JSON returned from the server, which can be manipulated as
- * required, with the returned value being that used by DataTables as the
- * data source for the table. This supersedes `sAjaxDataProp` from
- * DataTables 1.9-.
- *
- * * `success` - Should not be overridden it is used internally in
- * DataTables. To manipulate / transform the data returned by the server
- * use `ajax.dataSrc`, or use `ajax` as a function (see below).
- *
- * `function`
- * ----------
- *
- * As a function, making the Ajax call is left up to yourself allowing
- * complete control of the Ajax request. Indeed, if desired, a method other
- * than Ajax could be used to obtain the required data, such as Web storage
- * or an AIR database.
- *
- * The function is given four parameters and no return is required. The
- * parameters are:
- *
- * 1. _object_ - Data to send to the server
- * 2. _function_ - Callback function that must be executed when the required
- * data has been obtained. That data should be passed into the callback
- * as the only parameter
- * 3. _object_ - DataTables settings object for the table
- *
- * Note that this supersedes `fnServerData` from DataTables 1.9-.
- *
- * @type string|object|function
- * @default null
- *
- * @dtopt Option
- * @name DataTable.defaults.ajax
- * @since 1.10.0
- *
- * @example
- * // Get JSON data from a file via Ajax.
- * // Note DataTables expects data in the form `{ data: [ ...data... ] }` by default).
- * $('#example').dataTable( {
- * "ajax": "data.json"
- * } );
- *
- * @example
- * // Get JSON data from a file via Ajax, using `dataSrc` to change
- * // `data` to `tableData` (i.e. `{ tableData: [ ...data... ] }`)
- * $('#example').dataTable( {
- * "ajax": {
- * "url": "data.json",
- * "dataSrc": "tableData"
- * }
- * } );
- *
- * @example
- * // Get JSON data from a file via Ajax, using `dataSrc` to read data
- * // from a plain array rather than an array in an object
- * $('#example').dataTable( {
- * "ajax": {
- * "url": "data.json",
- * "dataSrc": ""
- * }
- * } );
- *
- * @example
- * // Manipulate the data returned from the server - add a link to data
- * // (note this can, should, be done using `render` for the column - this
- * // is just a simple example of how the data can be manipulated).
- * $('#example').dataTable( {
- * "ajax": {
- * "url": "data.json",
- * "dataSrc": function ( json ) {
- * for ( var i=0, ien=json.length ; i<ien ; i++ ) {
- * json[i][0] = '<a href="/message/'+json[i][0]+'>View message</a>';
- * }
- * return json;
- * }
- * }
- * } );
- *
- * @example
- * // Add data to the request
- * $('#example').dataTable( {
- * "ajax": {
- * "url": "data.json",
- * "data": function ( d ) {
- * return {
- * "extra_search": $('#extra').val()
- * };
- * }
- * }
- * } );
- *
- * @example
- * // Send request as POST
- * $('#example').dataTable( {
- * "ajax": {
- * "url": "data.json",
- * "type": "POST"
- * }
- * } );
- *
- * @example
- * // Get the data from localStorage (could interface with a form for
- * // adding, editing and removing rows).
- * $('#example').dataTable( {
- * "ajax": function (data, callback, settings) {
- * callback(
- * JSON.parse( localStorage.getItem('dataTablesData') )
- * );
- * }
- * } );
- */
- "ajax": null,
-
-
- /**
- * This parameter allows you to readily specify the entries in the length drop
- * down menu that DataTables shows when pagination is enabled. It can be
- * either a 1D array of options which will be used for both the displayed
- * option and the value, or a 2D array which will use the array in the first
- * position as the value, and the array in the second position as the
- * displayed options (useful for language strings such as 'All').
- *
- * Note that the `pageLength` property will be automatically set to the
- * first value given in this array, unless `pageLength` is also provided.
- * @type array
- * @default [ 10, 25, 50, 100 ]
- *
- * @dtopt Option
- * @name DataTable.defaults.lengthMenu
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]]
- * } );
- * } );
- */
- "aLengthMenu": [ 10, 25, 50, 100 ],
-
-
- /**
- * The `columns` option in the initialisation parameter allows you to define
- * details about the way individual columns behave. For a full list of
- * column options that can be set, please see
- * {@link DataTable.defaults.column}. Note that if you use `columns` to
- * define your columns, you must have an entry in the array for every single
- * column that you have in your table (these can be null if you don't which
- * to specify any options).
- * @member
- *
- * @name DataTable.defaults.column
- */
- "aoColumns": null,
-
- /**
- * Very similar to `columns`, `columnDefs` allows you to target a specific
- * column, multiple columns, or all columns, using the `targets` property of
- * each object in the array. This allows great flexibility when creating
- * tables, as the `columnDefs` arrays can be of any length, targeting the
- * columns you specifically want. `columnDefs` may use any of the column
- * options available: {@link DataTable.defaults.column}, but it _must_
- * have `targets` defined in each object in the array. Values in the `targets`
- * array may be:
- * <ul>
- * <li>a string - class name will be matched on the TH for the column</li>
- * <li>0 or a positive integer - column index counting from the left</li>
- * <li>a negative integer - column index counting from the right</li>
- * <li>the string "_all" - all columns (i.e. assign a default)</li>
- * </ul>
- * @member
- *
- * @name DataTable.defaults.columnDefs
- */
- "aoColumnDefs": null,
-
-
- /**
- * Basically the same as `search`, this parameter defines the individual column
- * filtering state at initialisation time. The array must be of the same size
- * as the number of columns, and each element be an object with the parameters
- * `search` and `escapeRegex` (the latter is optional). 'null' is also
- * accepted and the default will be used.
- * @type array
- * @default []
- *
- * @dtopt Option
- * @name DataTable.defaults.searchCols
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "searchCols": [
- * null,
- * { "search": "My filter" },
- * null,
- * { "search": "^[0-9]", "escapeRegex": false }
- * ]
- * } );
- * } )
- */
- "aoSearchCols": [],
-
-
- /**
- * An array of CSS classes that should be applied to displayed rows. This
- * array may be of any length, and DataTables will apply each class
- * sequentially, looping when required.
- * @type array
- * @default null <i>Will take the values determined by the `oClasses.stripe*`
- * options</i>
- *
- * @dtopt Option
- * @name DataTable.defaults.stripeClasses
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "stripeClasses": [ 'strip1', 'strip2', 'strip3' ]
- * } );
- * } )
- */
- "asStripeClasses": null,
-
-
- /**
- * Enable or disable automatic column width calculation. This can be disabled
- * as an optimisation (it takes some time to calculate the widths) if the
- * tables widths are passed in using `columns`.
- * @type boolean
- * @default true
- *
- * @dtopt Features
- * @name DataTable.defaults.autoWidth
- *
- * @example
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "autoWidth": false
- * } );
- * } );
- */
- "bAutoWidth": true,
-
-
- /**
- * Deferred rendering can provide DataTables with a huge speed boost when you
- * are using an Ajax or JS data source for the table. This option, when set to
- * true, will cause DataTables to defer the creation of the table elements for
- * each row until they are needed for a draw - saving a significant amount of
- * time.
- * @type boolean
- * @default false
- *
- * @dtopt Features
- * @name DataTable.defaults.deferRender
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "ajax": "sources/arrays.txt",
- * "deferRender": true
- * } );
- * } );
- */
- "bDeferRender": false,
-
-
- /**
- * Replace a DataTable which matches the given selector and replace it with
- * one which has the properties of the new initialisation object passed. If no
- * table matches the selector, then the new DataTable will be constructed as
- * per normal.
- * @type boolean
- * @default false
- *
- * @dtopt Options
- * @name DataTable.defaults.destroy
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "srollY": "200px",
- * "paginate": false
- * } );
- *
- * // Some time later....
- * $('#example').dataTable( {
- * "filter": false,
- * "destroy": true
- * } );
- * } );
- */
- "bDestroy": false,
-
-
- /**
- * Enable or disable filtering of data. Filtering in DataTables is "smart" in
- * that it allows the end user to input multiple words (space separated) and
- * will match a row containing those words, even if not in the order that was
- * specified (this allow matching across multiple columns). Note that if you
- * wish to use filtering in DataTables this must remain 'true' - to remove the
- * default filtering input box and retain filtering abilities, please use
- * {@link DataTable.defaults.dom}.
- * @type boolean
- * @default true
- *
- * @dtopt Features
- * @name DataTable.defaults.searching
- *
- * @example
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "searching": false
- * } );
- * } );
- */
- "bFilter": true,
-
-
- /**
- * Enable or disable the table information display. This shows information
- * about the data that is currently visible on the page, including information
- * about filtered data if that action is being performed.
- * @type boolean
- * @default true
- *
- * @dtopt Features
- * @name DataTable.defaults.info
- *
- * @example
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "info": false
- * } );
- * } );
- */
- "bInfo": true,
-
-
- /**
- * Enable jQuery UI ThemeRoller support (required as ThemeRoller requires some
- * slightly different and additional mark-up from what DataTables has
- * traditionally used).
- * @type boolean
- * @default false
- *
- * @dtopt Features
- * @name DataTable.defaults.jQueryUI
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "jQueryUI": true
- * } );
- * } );
- */
- "bJQueryUI": false,
-
-
- /**
- * Allows the end user to select the size of a formatted page from a select
- * menu (sizes are 10, 25, 50 and 100). Requires pagination (`paginate`).
- * @type boolean
- * @default true
- *
- * @dtopt Features
- * @name DataTable.defaults.lengthChange
- *
- * @example
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "lengthChange": false
- * } );
- * } );
- */
- "bLengthChange": true,
-
-
- /**
- * Enable or disable pagination.
- * @type boolean
- * @default true
- *
- * @dtopt Features
- * @name DataTable.defaults.paging
- *
- * @example
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "paging": false
- * } );
- * } );
- */
- "bPaginate": true,
-
-
- /**
- * Enable or disable the display of a 'processing' indicator when the table is
- * being processed (e.g. a sort). This is particularly useful for tables with
- * large amounts of data where it can take a noticeable amount of time to sort
- * the entries.
- * @type boolean
- * @default false
- *
- * @dtopt Features
- * @name DataTable.defaults.processing
- *
- * @example
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "processing": true
- * } );
- * } );
- */
- "bProcessing": false,
-
-
- /**
- * Retrieve the DataTables object for the given selector. Note that if the
- * table has already been initialised, this parameter will cause DataTables
- * to simply return the object that has already been set up - it will not take
- * account of any changes you might have made to the initialisation object
- * passed to DataTables (setting this parameter to true is an acknowledgement
- * that you understand this). `destroy` can be used to reinitialise a table if
- * you need.
- * @type boolean
- * @default false
- *
- * @dtopt Options
- * @name DataTable.defaults.retrieve
- *
- * @example
- * $(document).ready( function() {
- * initTable();
- * tableActions();
- * } );
- *
- * function initTable ()
- * {
- * return $('#example').dataTable( {
- * "scrollY": "200px",
- * "paginate": false,
- * "retrieve": true
- * } );
- * }
- *
- * function tableActions ()
- * {
- * var table = initTable();
- * // perform API operations with oTable
- * }
- */
- "bRetrieve": false,
-
-
- /**
- * When vertical (y) scrolling is enabled, DataTables will force the height of
- * the table's viewport to the given height at all times (useful for layout).
- * However, this can look odd when filtering data down to a small data set,
- * and the footer is left "floating" further down. This parameter (when
- * enabled) will cause DataTables to collapse the table's viewport down when
- * the result set will fit within the given Y height.
- * @type boolean
- * @default false
- *
- * @dtopt Options
- * @name DataTable.defaults.scrollCollapse
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "scrollY": "200",
- * "scrollCollapse": true
- * } );
- * } );
- */
- "bScrollCollapse": false,
-
-
- /**
- * Configure DataTables to use server-side processing. Note that the
- * `ajax` parameter must also be given in order to give DataTables a
- * source to obtain the required data for each draw.
- * @type boolean
- * @default false
- *
- * @dtopt Features
- * @dtopt Server-side
- * @name DataTable.defaults.serverSide
- *
- * @example
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "serverSide": true,
- * "ajax": "xhr.php"
- * } );
- * } );
- */
- "bServerSide": false,
-
-
- /**
- * Enable or disable sorting of columns. Sorting of individual columns can be
- * disabled by the `sortable` option for each column.
- * @type boolean
- * @default true
- *
- * @dtopt Features
- * @name DataTable.defaults.ordering
- *
- * @example
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "ordering": false
- * } );
- * } );
- */
- "bSort": true,
-
-
- /**
- * Enable or display DataTables' ability to sort multiple columns at the
- * same time (activated by shift-click by the user).
- * @type boolean
- * @default true
- *
- * @dtopt Options
- * @name DataTable.defaults.orderMulti
- *
- * @example
- * // Disable multiple column sorting ability
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "orderMulti": false
- * } );
- * } );
- */
- "bSortMulti": true,
-
-
- /**
- * Allows control over whether DataTables should use the top (true) unique
- * cell that is found for a single column, or the bottom (false - default).
- * This is useful when using complex headers.
- * @type boolean
- * @default false
- *
- * @dtopt Options
- * @name DataTable.defaults.orderCellsTop
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "orderCellsTop": true
- * } );
- * } );
- */
- "bSortCellsTop": false,
-
-
- /**
- * Enable or disable the addition of the classes `sorting\_1`, `sorting\_2` and
- * `sorting\_3` to the columns which are currently being sorted on. This is
- * presented as a feature switch as it can increase processing time (while
- * classes are removed and added) so for large data sets you might want to
- * turn this off.
- * @type boolean
- * @default true
- *
- * @dtopt Features
- * @name DataTable.defaults.orderClasses
- *
- * @example
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "orderClasses": false
- * } );
- * } );
- */
- "bSortClasses": true,
-
-
- /**
- * Enable or disable state saving. When enabled HTML5 `localStorage` will be
- * used to save table display information such as pagination information,
- * display length, filtering and sorting. As such when the end user reloads
- * the page the display display will match what thy had previously set up.
- *
- * Due to the use of `localStorage` the default state saving is not supported
- * in IE6 or 7. If state saving is required in those browsers, use
- * `stateSaveCallback` to provide a storage solution such as cookies.
- * @type boolean
- * @default false
- *
- * @dtopt Features
- * @name DataTable.defaults.stateSave
- *
- * @example
- * $(document).ready( function () {
- * $('#example').dataTable( {
- * "stateSave": true
- * } );
- * } );
- */
- "bStateSave": false,
-
-
- /**
- * This function is called when a TR element is created (and all TD child
- * elements have been inserted), or registered if using a DOM source, allowing
- * manipulation of the TR element (adding classes etc).
- * @type function
- * @param {node} row "TR" element for the current row
- * @param {array} data Raw data array for this row
- * @param {int} dataIndex The index of this row in the internal aoData array
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.createdRow
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "createdRow": function( row, data, dataIndex ) {
- * // Bold the grade for all 'A' grade browsers
- * if ( data[4] == "A" )
- * {
- * $('td:eq(4)', row).html( '<b>A</b>' );
- * }
- * }
- * } );
- * } );
- */
- "fnCreatedRow": null,
-
-
- /**
- * This function is called on every 'draw' event, and allows you to
- * dynamically modify any aspect you want about the created DOM.
- * @type function
- * @param {object} settings DataTables settings object
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.drawCallback
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "drawCallback": function( settings ) {
- * alert( 'DataTables has redrawn the table' );
- * }
- * } );
- * } );
- */
- "fnDrawCallback": null,
-
-
- /**
- * Identical to fnHeaderCallback() but for the table footer this function
- * allows you to modify the table footer on every 'draw' event.
- * @type function
- * @param {node} foot "TR" element for the footer
- * @param {array} data Full table data (as derived from the original HTML)
- * @param {int} start Index for the current display starting point in the
- * display array
- * @param {int} end Index for the current display ending point in the
- * display array
- * @param {array int} display Index array to translate the visual position
- * to the full data array
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.footerCallback
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "footerCallback": function( tfoot, data, start, end, display ) {
- * tfoot.getElementsByTagName('th')[0].innerHTML = "Starting index is "+start;
- * }
- * } );
- * } )
- */
- "fnFooterCallback": null,
-
-
- /**
- * When rendering large numbers in the information element for the table
- * (i.e. "Showing 1 to 10 of 57 entries") DataTables will render large numbers
- * to have a comma separator for the 'thousands' units (e.g. 1 million is
- * rendered as "1,000,000") to help readability for the end user. This
- * function will override the default method DataTables uses.
- * @type function
- * @member
- * @param {int} toFormat number to be formatted
- * @returns {string} formatted string for DataTables to show the number
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.formatNumber
- *
- * @example
- * // Format a number using a single quote for the separator (note that
- * // this can also be done with the language.thousands option)
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "formatNumber": function ( toFormat ) {
- * return toFormat.toString().replace(
- * /\B(?=(\d{3})+(?!\d))/g, "'"
- * );
- * };
- * } );
- * } );
- */
- "fnFormatNumber": function ( toFormat ) {
- return toFormat.toString().replace(
- /\B(?=(\d{3})+(?!\d))/g,
- this.oLanguage.sThousands
- );
- },
-
-
- /**
- * This function is called on every 'draw' event, and allows you to
- * dynamically modify the header row. This can be used to calculate and
- * display useful information about the table.
- * @type function
- * @param {node} head "TR" element for the header
- * @param {array} data Full table data (as derived from the original HTML)
- * @param {int} start Index for the current display starting point in the
- * display array
- * @param {int} end Index for the current display ending point in the
- * display array
- * @param {array int} display Index array to translate the visual position
- * to the full data array
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.headerCallback
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "fheaderCallback": function( head, data, start, end, display ) {
- * head.getElementsByTagName('th')[0].innerHTML = "Displaying "+(end-start)+" records";
- * }
- * } );
- * } )
- */
- "fnHeaderCallback": null,
-
-
- /**
- * The information element can be used to convey information about the current
- * state of the table. Although the internationalisation options presented by
- * DataTables are quite capable of dealing with most customisations, there may
- * be times where you wish to customise the string further. This callback
- * allows you to do exactly that.
- * @type function
- * @param {object} oSettings DataTables settings object
- * @param {int} start Starting position in data for the draw
- * @param {int} end End position in data for the draw
- * @param {int} max Total number of rows in the table (regardless of
- * filtering)
- * @param {int} total Total number of rows in the data set, after filtering
- * @param {string} pre The string that DataTables has formatted using it's
- * own rules
- * @returns {string} The string to be displayed in the information element.
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.infoCallback
- *
- * @example
- * $('#example').dataTable( {
- * "infoCallback": function( settings, start, end, max, total, pre ) {
- * return start +" to "+ end;
- * }
- * } );
- */
- "fnInfoCallback": null,
-
-
- /**
- * Called when the table has been initialised. Normally DataTables will
- * initialise sequentially and there will be no need for this function,
- * however, this does not hold true when using external language information
- * since that is obtained using an async XHR call.
- * @type function
- * @param {object} settings DataTables settings object
- * @param {object} json The JSON object request from the server - only
- * present if client-side Ajax sourced data is used
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.initComplete
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "initComplete": function(settings, json) {
- * alert( 'DataTables has finished its initialisation.' );
- * }
- * } );
- * } )
- */
- "fnInitComplete": null,
-
-
- /**
- * Called at the very start of each table draw and can be used to cancel the
- * draw by returning false, any other return (including undefined) results in
- * the full draw occurring).
- * @type function
- * @param {object} settings DataTables settings object
- * @returns {boolean} False will cancel the draw, anything else (including no
- * return) will allow it to complete.
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.preDrawCallback
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "preDrawCallback": function( settings ) {
- * if ( $('#test').val() == 1 ) {
- * return false;
- * }
- * }
- * } );
- * } );
- */
- "fnPreDrawCallback": null,
-
-
- /**
- * This function allows you to 'post process' each row after it have been
- * generated for each table draw, but before it is rendered on screen. This
- * function might be used for setting the row class name etc.
- * @type function
- * @param {node} row "TR" element for the current row
- * @param {array} data Raw data array for this row
- * @param {int} displayIndex The display index for the current table draw
- * @param {int} displayIndexFull The index of the data in the full list of
- * rows (after filtering)
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.rowCallback
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "rowCallback": function( row, data, displayIndex, displayIndexFull ) {
- * // Bold the grade for all 'A' grade browsers
- * if ( data[4] == "A" ) {
- * $('td:eq(4)', row).html( '<b>A</b>' );
- * }
- * }
- * } );
- * } );
- */
- "fnRowCallback": null,
-
-
- /**
- * __Deprecated__ The functionality provided by this parameter has now been
- * superseded by that provided through `ajax`, which should be used instead.
- *
- * This parameter allows you to override the default function which obtains
- * the data from the server so something more suitable for your application.
- * For example you could use POST data, or pull information from a Gears or
- * AIR database.
- * @type function
- * @member
- * @param {string} source HTTP source to obtain the data from (`ajax`)
- * @param {array} data A key/value pair object containing the data to send
- * to the server
- * @param {function} callback to be called on completion of the data get
- * process that will draw the data on the page.
- * @param {object} settings DataTables settings object
- *
- * @dtopt Callbacks
- * @dtopt Server-side
- * @name DataTable.defaults.serverData
- *
- * @deprecated 1.10. Please use `ajax` for this functionality now.
- */
- "fnServerData": null,
-
-
- /**
- * __Deprecated__ The functionality provided by this parameter has now been
- * superseded by that provided through `ajax`, which should be used instead.
- *
- * It is often useful to send extra data to the server when making an Ajax
- * request - for example custom filtering information, and this callback
- * function makes it trivial to send extra information to the server. The
- * passed in parameter is the data set that has been constructed by
- * DataTables, and you can add to this or modify it as you require.
- * @type function
- * @param {array} data Data array (array of objects which are name/value
- * pairs) that has been constructed by DataTables and will be sent to the
- * server. In the case of Ajax sourced data with server-side processing
- * this will be an empty array, for server-side processing there will be a
- * significant number of parameters!
- * @returns {undefined} Ensure that you modify the data array passed in,
- * as this is passed by reference.
- *
- * @dtopt Callbacks
- * @dtopt Server-side
- * @name DataTable.defaults.serverParams
- *
- * @deprecated 1.10. Please use `ajax` for this functionality now.
- */
- "fnServerParams": null,
-
-
- /**
- * Load the table state. With this function you can define from where, and how, the
- * state of a table is loaded. By default DataTables will load from `localStorage`
- * but you might wish to use a server-side database or cookies.
- * @type function
- * @member
- * @param {object} settings DataTables settings object
- * @return {object} The DataTables state object to be loaded
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.stateLoadCallback
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "stateSave": true,
- * "stateLoadCallback": function (settings) {
- * var o;
- *
- * // Send an Ajax request to the server to get the data. Note that
- * // this is a synchronous request.
- * $.ajax( {
- * "url": "/state_load",
- * "async": false,
- * "dataType": "json",
- * "success": function (json) {
- * o = json;
- * }
- * } );
- *
- * return o;
- * }
- * } );
- * } );
- */
- "fnStateLoadCallback": function ( settings ) {
- try {
- return JSON.parse(
- (settings.iStateDuration === -1 ? sessionStorage : localStorage).getItem(
- 'DataTables_'+settings.sInstance+'_'+location.pathname
- )
- );
- } catch (e) {}
- },
-
-
- /**
- * Callback which allows modification of the saved state prior to loading that state.
- * This callback is called when the table is loading state from the stored data, but
- * prior to the settings object being modified by the saved state. Note that for
- * plug-in authors, you should use the `stateLoadParams` event to load parameters for
- * a plug-in.
- * @type function
- * @param {object} settings DataTables settings object
- * @param {object} data The state object that is to be loaded
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.stateLoadParams
- *
- * @example
- * // Remove a saved filter, so filtering is never loaded
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "stateSave": true,
- * "stateLoadParams": function (settings, data) {
- * data.oSearch.sSearch = "";
- * }
- * } );
- * } );
- *
- * @example
- * // Disallow state loading by returning false
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "stateSave": true,
- * "stateLoadParams": function (settings, data) {
- * return false;
- * }
- * } );
- * } );
- */
- "fnStateLoadParams": null,
-
-
- /**
- * Callback that is called when the state has been loaded from the state saving method
- * and the DataTables settings object has been modified as a result of the loaded state.
- * @type function
- * @param {object} settings DataTables settings object
- * @param {object} data The state object that was loaded
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.stateLoaded
- *
- * @example
- * // Show an alert with the filtering value that was saved
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "stateSave": true,
- * "stateLoaded": function (settings, data) {
- * alert( 'Saved filter was: '+data.oSearch.sSearch );
- * }
- * } );
- * } );
- */
- "fnStateLoaded": null,
-
-
- /**
- * Save the table state. This function allows you to define where and how the state
- * information for the table is stored By default DataTables will use `localStorage`
- * but you might wish to use a server-side database or cookies.
- * @type function
- * @member
- * @param {object} settings DataTables settings object
- * @param {object} data The state object to be saved
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.stateSaveCallback
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "stateSave": true,
- * "stateSaveCallback": function (settings, data) {
- * // Send an Ajax request to the server with the state object
- * $.ajax( {
- * "url": "/state_save",
- * "data": data,
- * "dataType": "json",
- * "method": "POST"
- * "success": function () {}
- * } );
- * }
- * } );
- * } );
- */
- "fnStateSaveCallback": function ( settings, data ) {
- try {
- (settings.iStateDuration === -1 ? sessionStorage : localStorage).setItem(
- 'DataTables_'+settings.sInstance+'_'+location.pathname,
- JSON.stringify( data )
- );
- } catch (e) {}
- },
-
-
- /**
- * Callback which allows modification of the state to be saved. Called when the table
- * has changed state a new state save is required. This method allows modification of
- * the state saving object prior to actually doing the save, including addition or
- * other state properties or modification. Note that for plug-in authors, you should
- * use the `stateSaveParams` event to save parameters for a plug-in.
- * @type function
- * @param {object} settings DataTables settings object
- * @param {object} data The state object to be saved
- *
- * @dtopt Callbacks
- * @name DataTable.defaults.stateSaveParams
- *
- * @example
- * // Remove a saved filter, so filtering is never saved
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "stateSave": true,
- * "stateSaveParams": function (settings, data) {
- * data.oSearch.sSearch = "";
- * }
- * } );
- * } );
- */
- "fnStateSaveParams": null,
-
-
- /**
- * Duration for which the saved state information is considered valid. After this period
- * has elapsed the state will be returned to the default.
- * Value is given in seconds.
- * @type int
- * @default 7200 <i>(2 hours)</i>
- *
- * @dtopt Options
- * @name DataTable.defaults.stateDuration
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "stateDuration": 60*60*24; // 1 day
- * } );
- * } )
- */
- "iStateDuration": 7200,
-
-
- /**
- * When enabled DataTables will not make a request to the server for the first
- * page draw - rather it will use the data already on the page (no sorting etc
- * will be applied to it), thus saving on an XHR at load time. `deferLoading`
- * is used to indicate that deferred loading is required, but it is also used
- * to tell DataTables how many records there are in the full table (allowing
- * the information element and pagination to be displayed correctly). In the case
- * where a filtering is applied to the table on initial load, this can be
- * indicated by giving the parameter as an array, where the first element is
- * the number of records available after filtering and the second element is the
- * number of records without filtering (allowing the table information element
- * to be shown correctly).
- * @type int | array
- * @default null
- *
- * @dtopt Options
- * @name DataTable.defaults.deferLoading
- *
- * @example
- * // 57 records available in the table, no filtering applied
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "serverSide": true,
- * "ajax": "scripts/server_processing.php",
- * "deferLoading": 57
- * } );
- * } );
- *
- * @example
- * // 57 records after filtering, 100 without filtering (an initial filter applied)
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "serverSide": true,
- * "ajax": "scripts/server_processing.php",
- * "deferLoading": [ 57, 100 ],
- * "search": {
- * "search": "my_filter"
- * }
- * } );
- * } );
- */
- "iDeferLoading": null,
-
-
- /**
- * Number of rows to display on a single page when using pagination. If
- * feature enabled (`lengthChange`) then the end user will be able to override
- * this to a custom setting using a pop-up menu.
- * @type int
- * @default 10
- *
- * @dtopt Options
- * @name DataTable.defaults.pageLength
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "pageLength": 50
- * } );
- * } )
- */
- "iDisplayLength": 10,
-
-
- /**
- * Define the starting point for data display when using DataTables with
- * pagination. Note that this parameter is the number of records, rather than
- * the page number, so if you have 10 records per page and want to start on
- * the third page, it should be "20".
- * @type int
- * @default 0
- *
- * @dtopt Options
- * @name DataTable.defaults.displayStart
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "displayStart": 20
- * } );
- * } )
- */
- "iDisplayStart": 0,
-
-
- /**
- * By default DataTables allows keyboard navigation of the table (sorting, paging,
- * and filtering) by adding a `tabindex` attribute to the required elements. This
- * allows you to tab through the controls and press the enter key to activate them.
- * The tabindex is default 0, meaning that the tab follows the flow of the document.
- * You can overrule this using this parameter if you wish. Use a value of -1 to
- * disable built-in keyboard navigation.
- * @type int
- * @default 0
- *
- * @dtopt Options
- * @name DataTable.defaults.tabIndex
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "tabIndex": 1
- * } );
- * } );
- */
- "iTabIndex": 0,
-
-
- /**
- * Classes that DataTables assigns to the various components and features
- * that it adds to the HTML table. This allows classes to be configured
- * during initialisation in addition to through the static
- * {@link DataTable.ext.oStdClasses} object).
- * @namespace
- * @name DataTable.defaults.classes
- */
- "oClasses": {},
-
-
- /**
- * All strings that DataTables uses in the user interface that it creates
- * are defined in this object, allowing you to modified them individually or
- * completely replace them all as required.
- * @namespace
- * @name DataTable.defaults.language
- */
- "oLanguage": {
- /**
- * Strings that are used for WAI-ARIA labels and controls only (these are not
- * actually visible on the page, but will be read by screenreaders, and thus
- * must be internationalised as well).
- * @namespace
- * @name DataTable.defaults.language.aria
- */
- "oAria": {
- /**
- * ARIA label that is added to the table headers when the column may be
- * sorted ascending by activing the column (click or return when focused).
- * Note that the column header is prefixed to this string.
- * @type string
- * @default : activate to sort column ascending
- *
- * @dtopt Language
- * @name DataTable.defaults.language.aria.sortAscending
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "aria": {
- * "sortAscending": " - click/return to sort ascending"
- * }
- * }
- * } );
- * } );
- */
- "sSortAscending": ": activate to sort column ascending",
-
- /**
- * ARIA label that is added to the table headers when the column may be
- * sorted descending by activing the column (click or return when focused).
- * Note that the column header is prefixed to this string.
- * @type string
- * @default : activate to sort column ascending
- *
- * @dtopt Language
- * @name DataTable.defaults.language.aria.sortDescending
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "aria": {
- * "sortDescending": " - click/return to sort descending"
- * }
- * }
- * } );
- * } );
- */
- "sSortDescending": ": activate to sort column descending"
- },
-
- /**
- * Pagination string used by DataTables for the built-in pagination
- * control types.
- * @namespace
- * @name DataTable.defaults.language.paginate
- */
- "oPaginate": {
- /**
- * Text to use when using the 'full_numbers' type of pagination for the
- * button to take the user to the first page.
- * @type string
- * @default First
- *
- * @dtopt Language
- * @name DataTable.defaults.language.paginate.first
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "paginate": {
- * "first": "First page"
- * }
- * }
- * } );
- * } );
- */
- "sFirst": "First",
-
-
- /**
- * Text to use when using the 'full_numbers' type of pagination for the
- * button to take the user to the last page.
- * @type string
- * @default Last
- *
- * @dtopt Language
- * @name DataTable.defaults.language.paginate.last
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "paginate": {
- * "last": "Last page"
- * }
- * }
- * } );
- * } );
- */
- "sLast": "Last",
-
-
- /**
- * Text to use for the 'next' pagination button (to take the user to the
- * next page).
- * @type string
- * @default Next
- *
- * @dtopt Language
- * @name DataTable.defaults.language.paginate.next
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "paginate": {
- * "next": "Next page"
- * }
- * }
- * } );
- * } );
- */
- "sNext": "Next",
-
-
- /**
- * Text to use for the 'previous' pagination button (to take the user to
- * the previous page).
- * @type string
- * @default Previous
- *
- * @dtopt Language
- * @name DataTable.defaults.language.paginate.previous
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "paginate": {
- * "previous": "Previous page"
- * }
- * }
- * } );
- * } );
- */
- "sPrevious": "Previous"
- },
-
- /**
- * This string is shown in preference to `zeroRecords` when the table is
- * empty of data (regardless of filtering). Note that this is an optional
- * parameter - if it is not given, the value of `zeroRecords` will be used
- * instead (either the default or given value).
- * @type string
- * @default No data available in table
- *
- * @dtopt Language
- * @name DataTable.defaults.language.emptyTable
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "emptyTable": "No data available in table"
- * }
- * } );
- * } );
- */
- "sEmptyTable": "No data available in table",
-
-
- /**
- * This string gives information to the end user about the information
- * that is current on display on the page. The following tokens can be
- * used in the string and will be dynamically replaced as the table
- * display updates. This tokens can be placed anywhere in the string, or
- * removed as needed by the language requires:
- *
- * * `\_START\_` - Display index of the first record on the current page
- * * `\_END\_` - Display index of the last record on the current page
- * * `\_TOTAL\_` - Number of records in the table after filtering
- * * `\_MAX\_` - Number of records in the table without filtering
- * * `\_PAGE\_` - Current page number
- * * `\_PAGES\_` - Total number of pages of data in the table
- *
- * @type string
- * @default Showing _START_ to _END_ of _TOTAL_ entries
- *
- * @dtopt Language
- * @name DataTable.defaults.language.info
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "info": "Showing page _PAGE_ of _PAGES_"
- * }
- * } );
- * } );
- */
- "sInfo": "Showing _START_ to _END_ of _TOTAL_ entries",
-
-
- /**
- * Display information string for when the table is empty. Typically the
- * format of this string should match `info`.
- * @type string
- * @default Showing 0 to 0 of 0 entries
- *
- * @dtopt Language
- * @name DataTable.defaults.language.infoEmpty
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "infoEmpty": "No entries to show"
- * }
- * } );
- * } );
- */
- "sInfoEmpty": "Showing 0 to 0 of 0 entries",
-
-
- /**
- * When a user filters the information in a table, this string is appended
- * to the information (`info`) to give an idea of how strong the filtering
- * is. The variable _MAX_ is dynamically updated.
- * @type string
- * @default (filtered from _MAX_ total entries)
- *
- * @dtopt Language
- * @name DataTable.defaults.language.infoFiltered
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "infoFiltered": " - filtering from _MAX_ records"
- * }
- * } );
- * } );
- */
- "sInfoFiltered": "(filtered from _MAX_ total entries)",
-
-
- /**
- * If can be useful to append extra information to the info string at times,
- * and this variable does exactly that. This information will be appended to
- * the `info` (`infoEmpty` and `infoFiltered` in whatever combination they are
- * being used) at all times.
- * @type string
- * @default <i>Empty string</i>
- *
- * @dtopt Language
- * @name DataTable.defaults.language.infoPostFix
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "infoPostFix": "All records shown are derived from real information."
- * }
- * } );
- * } );
- */
- "sInfoPostFix": "",
-
-
- /**
- * This decimal place operator is a little different from the other
- * language options since DataTables doesn't output floating point
- * numbers, so it won't ever use this for display of a number. Rather,
- * what this parameter does is modify the sort methods of the table so
- * that numbers which are in a format which has a character other than
- * a period (`.`) as a decimal place will be sorted numerically.
- *
- * Note that numbers with different decimal places cannot be shown in
- * the same table and still be sortable, the table must be consistent.
- * However, multiple different tables on the page can use different
- * decimal place characters.
- * @type string
- * @default
- *
- * @dtopt Language
- * @name DataTable.defaults.language.decimal
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "decimal": ","
- * "thousands": "."
- * }
- * } );
- * } );
- */
- "sDecimal": "",
-
-
- /**
- * DataTables has a build in number formatter (`formatNumber`) which is
- * used to format large numbers that are used in the table information.
- * By default a comma is used, but this can be trivially changed to any
- * character you wish with this parameter.
- * @type string
- * @default ,
- *
- * @dtopt Language
- * @name DataTable.defaults.language.thousands
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "thousands": "'"
- * }
- * } );
- * } );
- */
- "sThousands": ",",
-
-
- /**
- * Detail the action that will be taken when the drop down menu for the
- * pagination length option is changed. The '_MENU_' variable is replaced
- * with a default select list of 10, 25, 50 and 100, and can be replaced
- * with a custom select box if required.
- * @type string
- * @default Show _MENU_ entries
- *
- * @dtopt Language
- * @name DataTable.defaults.language.lengthMenu
- *
- * @example
- * // Language change only
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "lengthMenu": "Display _MENU_ records"
- * }
- * } );
- * } );
- *
- * @example
- * // Language and options change
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "lengthMenu": 'Display <select>'+
- * '<option value="10">10</option>'+
- * '<option value="20">20</option>'+
- * '<option value="30">30</option>'+
- * '<option value="40">40</option>'+
- * '<option value="50">50</option>'+
- * '<option value="-1">All</option>'+
- * '</select> records'
- * }
- * } );
- * } );
- */
- "sLengthMenu": "Show _MENU_ entries",
-
-
- /**
- * When using Ajax sourced data and during the first draw when DataTables is
- * gathering the data, this message is shown in an empty row in the table to
- * indicate to the end user the the data is being loaded. Note that this
- * parameter is not used when loading data by server-side processing, just
- * Ajax sourced data with client-side processing.
- * @type string
- * @default Loading...
- *
- * @dtopt Language
- * @name DataTable.defaults.language.loadingRecords
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "loadingRecords": "Please wait - loading..."
- * }
- * } );
- * } );
- */
- "sLoadingRecords": "Loading...",
-
-
- /**
- * Text which is displayed when the table is processing a user action
- * (usually a sort command or similar).
- * @type string
- * @default Processing...
- *
- * @dtopt Language
- * @name DataTable.defaults.language.processing
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "processing": "DataTables is currently busy"
- * }
- * } );
- * } );
- */
- "sProcessing": "Processing...",
-
-
- /**
- * Details the actions that will be taken when the user types into the
- * filtering input text box. The variable "_INPUT_", if used in the string,
- * is replaced with the HTML text box for the filtering input allowing
- * control over where it appears in the string. If "_INPUT_" is not given
- * then the input box is appended to the string automatically.
- * @type string
- * @default Search:
- *
- * @dtopt Language
- * @name DataTable.defaults.language.search
- *
- * @example
- * // Input text box will be appended at the end automatically
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "search": "Filter records:"
- * }
- * } );
- * } );
- *
- * @example
- * // Specify where the filter should appear
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "search": "Apply filter _INPUT_ to table"
- * }
- * } );
- * } );
- */
- "sSearch": "Search:",
-
-
- /**
- * Assign a `placeholder` attribute to the search `input` element
- * @type string
- * @default
- *
- * @dtopt Language
- * @name DataTable.defaults.language.searchPlaceholder
- */
- "sSearchPlaceholder": "",
-
-
- /**
- * All of the language information can be stored in a file on the
- * server-side, which DataTables will look up if this parameter is passed.
- * It must store the URL of the language file, which is in a JSON format,
- * and the object has the same properties as the oLanguage object in the
- * initialiser object (i.e. the above parameters). Please refer to one of
- * the example language files to see how this works in action.
- * @type string
- * @default <i>Empty string - i.e. disabled</i>
- *
- * @dtopt Language
- * @name DataTable.defaults.language.url
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "url": "http://www.sprymedia.co.uk/dataTables/lang.txt"
- * }
- * } );
- * } );
- */
- "sUrl": "",
-
-
- /**
- * Text shown inside the table records when the is no information to be
- * displayed after filtering. `emptyTable` is shown when there is simply no
- * information in the table at all (regardless of filtering).
- * @type string
- * @default No matching records found
- *
- * @dtopt Language
- * @name DataTable.defaults.language.zeroRecords
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "language": {
- * "zeroRecords": "No records to display"
- * }
- * } );
- * } );
- */
- "sZeroRecords": "No matching records found"
- },
-
-
- /**
- * This parameter allows you to have define the global filtering state at
- * initialisation time. As an object the `search` parameter must be
- * defined, but all other parameters are optional. When `regex` is true,
- * the search string will be treated as a regular expression, when false
- * (default) it will be treated as a straight string. When `smart`
- * DataTables will use it's smart filtering methods (to word match at
- * any point in the data), when false this will not be done.
- * @namespace
- * @extends DataTable.models.oSearch
- *
- * @dtopt Options
- * @name DataTable.defaults.search
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "search": {"search": "Initial search"}
- * } );
- * } )
- */
- "oSearch": $.extend( {}, DataTable.models.oSearch ),
-
-
- /**
- * __Deprecated__ The functionality provided by this parameter has now been
- * superseded by that provided through `ajax`, which should be used instead.
- *
- * By default DataTables will look for the property `data` (or `aaData` for
- * compatibility with DataTables 1.9-) when obtaining data from an Ajax
- * source or for server-side processing - this parameter allows that
- * property to be changed. You can use Javascript dotted object notation to
- * get a data source for multiple levels of nesting.
- * @type string
- * @default data
- *
- * @dtopt Options
- * @dtopt Server-side
- * @name DataTable.defaults.ajaxDataProp
- *
- * @deprecated 1.10. Please use `ajax` for this functionality now.
- */
- "sAjaxDataProp": "data",
-
-
- /**
- * __Deprecated__ The functionality provided by this parameter has now been
- * superseded by that provided through `ajax`, which should be used instead.
- *
- * You can instruct DataTables to load data from an external
- * source using this parameter (use aData if you want to pass data in you
- * already have). Simply provide a url a JSON object can be obtained from.
- * @type string
- * @default null
- *
- * @dtopt Options
- * @dtopt Server-side
- * @name DataTable.defaults.ajaxSource
- *
- * @deprecated 1.10. Please use `ajax` for this functionality now.
- */
- "sAjaxSource": null,
-
-
- /**
- * This initialisation variable allows you to specify exactly where in the
- * DOM you want DataTables to inject the various controls it adds to the page
- * (for example you might want the pagination controls at the top of the
- * table). DIV elements (with or without a custom class) can also be added to
- * aid styling. The follow syntax is used:
- * <ul>
- * <li>The following options are allowed:
- * <ul>
- * <li>'l' - Length changing</li>
- * <li>'f' - Filtering input</li>
- * <li>'t' - The table!</li>
- * <li>'i' - Information</li>
- * <li>'p' - Pagination</li>
- * <li>'r' - pRocessing</li>
- * </ul>
- * </li>
- * <li>The following constants are allowed:
- * <ul>
- * <li>'H' - jQueryUI theme "header" classes ('fg-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix')</li>
- * <li>'F' - jQueryUI theme "footer" classes ('fg-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix')</li>
- * </ul>
- * </li>
- * <li>The following syntax is expected:
- * <ul>
- * <li>'&lt;' and '&gt;' - div elements</li>
- * <li>'&lt;"class" and '&gt;' - div with a class</li>
- * <li>'&lt;"#id" and '&gt;' - div with an ID</li>
- * </ul>
- * </li>
- * <li>Examples:
- * <ul>
- * <li>'&lt;"wrapper"flipt&gt;'</li>
- * <li>'&lt;lf&lt;t&gt;ip&gt;'</li>
- * </ul>
- * </li>
- * </ul>
- * @type string
- * @default lfrtip <i>(when `jQueryUI` is false)</i> <b>or</b>
- * <"H"lfr>t<"F"ip> <i>(when `jQueryUI` is true)</i>
- *
- * @dtopt Options
- * @name DataTable.defaults.dom
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "dom": '&lt;"top"i&gt;rt&lt;"bottom"flp&gt;&lt;"clear"&gt;'
- * } );
- * } );
- */
- "sDom": "lfrtip",
-
-
- /**
- * Search delay option. This will throttle full table searches that use the
- * DataTables provided search input element (it does not effect calls to
- * `dt-api search()`, providing a delay before the search is made.
- * @type integer
- * @default 0
- *
- * @dtopt Options
- * @name DataTable.defaults.searchDelay
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "searchDelay": 200
- * } );
- * } )
- */
- "searchDelay": null,
-
-
- /**
- * DataTables features four different built-in options for the buttons to
- * display for pagination control:
- *
- * * `simple` - 'Previous' and 'Next' buttons only
- * * 'simple_numbers` - 'Previous' and 'Next' buttons, plus page numbers
- * * `full` - 'First', 'Previous', 'Next' and 'Last' buttons
- * * `full_numbers` - 'First', 'Previous', 'Next' and 'Last' buttons, plus
- * page numbers
- *
- * Further methods can be added using {@link DataTable.ext.oPagination}.
- * @type string
- * @default simple_numbers
- *
- * @dtopt Options
- * @name DataTable.defaults.pagingType
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "pagingType": "full_numbers"
- * } );
- * } )
- */
- "sPaginationType": "simple_numbers",
-
-
- /**
- * Enable horizontal scrolling. When a table is too wide to fit into a
- * certain layout, or you have a large number of columns in the table, you
- * can enable x-scrolling to show the table in a viewport, which can be
- * scrolled. This property can be `true` which will allow the table to
- * scroll horizontally when needed, or any CSS unit, or a number (in which
- * case it will be treated as a pixel measurement). Setting as simply `true`
- * is recommended.
- * @type boolean|string
- * @default <i>blank string - i.e. disabled</i>
- *
- * @dtopt Features
- * @name DataTable.defaults.scrollX
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "scrollX": true,
- * "scrollCollapse": true
- * } );
- * } );
- */
- "sScrollX": "",
-
-
- /**
- * This property can be used to force a DataTable to use more width than it
- * might otherwise do when x-scrolling is enabled. For example if you have a
- * table which requires to be well spaced, this parameter is useful for
- * "over-sizing" the table, and thus forcing scrolling. This property can by
- * any CSS unit, or a number (in which case it will be treated as a pixel
- * measurement).
- * @type string
- * @default <i>blank string - i.e. disabled</i>
- *
- * @dtopt Options
- * @name DataTable.defaults.scrollXInner
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "scrollX": "100%",
- * "scrollXInner": "110%"
- * } );
- * } );
- */
- "sScrollXInner": "",
-
-
- /**
- * Enable vertical scrolling. Vertical scrolling will constrain the DataTable
- * to the given height, and enable scrolling for any data which overflows the
- * current viewport. This can be used as an alternative to paging to display
- * a lot of data in a small area (although paging and scrolling can both be
- * enabled at the same time). This property can be any CSS unit, or a number
- * (in which case it will be treated as a pixel measurement).
- * @type string
- * @default <i>blank string - i.e. disabled</i>
- *
- * @dtopt Features
- * @name DataTable.defaults.scrollY
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "scrollY": "200px",
- * "paginate": false
- * } );
- * } );
- */
- "sScrollY": "",
-
-
- /**
- * __Deprecated__ The functionality provided by this parameter has now been
- * superseded by that provided through `ajax`, which should be used instead.
- *
- * Set the HTTP method that is used to make the Ajax call for server-side
- * processing or Ajax sourced data.
- * @type string
- * @default GET
- *
- * @dtopt Options
- * @dtopt Server-side
- * @name DataTable.defaults.serverMethod
- *
- * @deprecated 1.10. Please use `ajax` for this functionality now.
- */
- "sServerMethod": "GET",
-
-
- /**
- * DataTables makes use of renderers when displaying HTML elements for
- * a table. These renderers can be added or modified by plug-ins to
- * generate suitable mark-up for a site. For example the Bootstrap
- * integration plug-in for DataTables uses a paging button renderer to
- * display pagination buttons in the mark-up required by Bootstrap.
- *
- * For further information about the renderers available see
- * DataTable.ext.renderer
- * @type string|object
- * @default null
- *
- * @name DataTable.defaults.renderer
- *
- */
- "renderer": null,
-
-
- /**
- * Set the data property name that DataTables should use to get a row's id
- * to set as the `id` property in the node.
- * @type string
- * @default DT_RowId
- *
- * @name DataTable.defaults.rowId
- */
- "rowId": "DT_RowId"
- };
-
- _fnHungarianMap( DataTable.defaults );
-
-
-
- /*
- * Developer note - See note in model.defaults.js about the use of Hungarian
- * notation and camel case.
- */
-
- /**
- * Column options that can be given to DataTables at initialisation time.
- * @namespace
- */
- DataTable.defaults.column = {
- /**
- * Define which column(s) an order will occur on for this column. This
- * allows a column's ordering to take multiple columns into account when
- * doing a sort or use the data from a different column. For example first
- * name / last name columns make sense to do a multi-column sort over the
- * two columns.
- * @type array|int
- * @default null <i>Takes the value of the column index automatically</i>
- *
- * @name DataTable.defaults.column.orderData
- * @dtopt Columns
- *
- * @example
- * // Using `columnDefs`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [
- * { "orderData": [ 0, 1 ], "targets": [ 0 ] },
- * { "orderData": [ 1, 0 ], "targets": [ 1 ] },
- * { "orderData": 2, "targets": [ 2 ] }
- * ]
- * } );
- * } );
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * { "orderData": [ 0, 1 ] },
- * { "orderData": [ 1, 0 ] },
- * { "orderData": 2 },
- * null,
- * null
- * ]
- * } );
- * } );
- */
- "aDataSort": null,
- "iDataSort": -1,
-
-
- /**
- * You can control the default ordering direction, and even alter the
- * behaviour of the sort handler (i.e. only allow ascending ordering etc)
- * using this parameter.
- * @type array
- * @default [ 'asc', 'desc' ]
- *
- * @name DataTable.defaults.column.orderSequence
- * @dtopt Columns
- *
- * @example
- * // Using `columnDefs`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [
- * { "orderSequence": [ "asc" ], "targets": [ 1 ] },
- * { "orderSequence": [ "desc", "asc", "asc" ], "targets": [ 2 ] },
- * { "orderSequence": [ "desc" ], "targets": [ 3 ] }
- * ]
- * } );
- * } );
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * null,
- * { "orderSequence": [ "asc" ] },
- * { "orderSequence": [ "desc", "asc", "asc" ] },
- * { "orderSequence": [ "desc" ] },
- * null
- * ]
- * } );
- * } );
- */
- "asSorting": [ 'asc', 'desc' ],
-
-
- /**
- * Enable or disable filtering on the data in this column.
- * @type boolean
- * @default true
- *
- * @name DataTable.defaults.column.searchable
- * @dtopt Columns
- *
- * @example
- * // Using `columnDefs`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [
- * { "searchable": false, "targets": [ 0 ] }
- * ] } );
- * } );
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * { "searchable": false },
- * null,
- * null,
- * null,
- * null
- * ] } );
- * } );
- */
- "bSearchable": true,
-
-
- /**
- * Enable or disable ordering on this column.
- * @type boolean
- * @default true
- *
- * @name DataTable.defaults.column.orderable
- * @dtopt Columns
- *
- * @example
- * // Using `columnDefs`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [
- * { "orderable": false, "targets": [ 0 ] }
- * ] } );
- * } );
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * { "orderable": false },
- * null,
- * null,
- * null,
- * null
- * ] } );
- * } );
- */
- "bSortable": true,
-
-
- /**
- * Enable or disable the display of this column.
- * @type boolean
- * @default true
- *
- * @name DataTable.defaults.column.visible
- * @dtopt Columns
- *
- * @example
- * // Using `columnDefs`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [
- * { "visible": false, "targets": [ 0 ] }
- * ] } );
- * } );
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * { "visible": false },
- * null,
- * null,
- * null,
- * null
- * ] } );
- * } );
- */
- "bVisible": true,
-
-
- /**
- * Developer definable function that is called whenever a cell is created (Ajax source,
- * etc) or processed for input (DOM source). This can be used as a compliment to mRender
- * allowing you to modify the DOM element (add background colour for example) when the
- * element is available.
- * @type function
- * @param {element} td The TD node that has been created
- * @param {*} cellData The Data for the cell
- * @param {array|object} rowData The data for the whole row
- * @param {int} row The row index for the aoData data store
- * @param {int} col The column index for aoColumns
- *
- * @name DataTable.defaults.column.createdCell
- * @dtopt Columns
- *
- * @example
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [ {
- * "targets": [3],
- * "createdCell": function (td, cellData, rowData, row, col) {
- * if ( cellData == "1.7" ) {
- * $(td).css('color', 'blue')
- * }
- * }
- * } ]
- * });
- * } );
- */
- "fnCreatedCell": null,
-
-
- /**
- * This parameter has been replaced by `data` in DataTables to ensure naming
- * consistency. `dataProp` can still be used, as there is backwards
- * compatibility in DataTables for this option, but it is strongly
- * recommended that you use `data` in preference to `dataProp`.
- * @name DataTable.defaults.column.dataProp
- */
-
-
- /**
- * This property can be used to read data from any data source property,
- * including deeply nested objects / properties. `data` can be given in a
- * number of different ways which effect its behaviour:
- *
- * * `integer` - treated as an array index for the data source. This is the
- * default that DataTables uses (incrementally increased for each column).
- * * `string` - read an object property from the data source. There are
- * three 'special' options that can be used in the string to alter how
- * DataTables reads the data from the source object:
- * * `.` - Dotted Javascript notation. Just as you use a `.` in
- * Javascript to read from nested objects, so to can the options
- * specified in `data`. For example: `browser.version` or
- * `browser.name`. If your object parameter name contains a period, use
- * `\\` to escape it - i.e. `first\\.name`.
- * * `[]` - Array notation. DataTables can automatically combine data
- * from and array source, joining the data with the characters provided
- * between the two brackets. For example: `name[, ]` would provide a
- * comma-space separated list from the source array. If no characters
- * are provided between the brackets, the original array source is
- * returned.
- * * `()` - Function notation. Adding `()` to the end of a parameter will
- * execute a function of the name given. For example: `browser()` for a
- * simple function on the data source, `browser.version()` for a
- * function in a nested property or even `browser().version` to get an
- * object property if the function called returns an object. Note that
- * function notation is recommended for use in `render` rather than
- * `data` as it is much simpler to use as a renderer.
- * * `null` - use the original data source for the row rather than plucking
- * data directly from it. This action has effects on two other
- * initialisation options:
- * * `defaultContent` - When null is given as the `data` option and
- * `defaultContent` is specified for the column, the value defined by
- * `defaultContent` will be used for the cell.
- * * `render` - When null is used for the `data` option and the `render`
- * option is specified for the column, the whole data source for the
- * row is used for the renderer.
- * * `function` - the function given will be executed whenever DataTables
- * needs to set or get the data for a cell in the column. The function
- * takes three parameters:
- * * Parameters:
- * * `{array|object}` The data source for the row
- * * `{string}` The type call data requested - this will be 'set' when
- * setting data or 'filter', 'display', 'type', 'sort' or undefined
- * when gathering data. Note that when `undefined` is given for the
- * type DataTables expects to get the raw data for the object back<
- * * `{*}` Data to set when the second parameter is 'set'.
- * * Return:
- * * The return value from the function is not required when 'set' is
- * the type of call, but otherwise the return is what will be used
- * for the data requested.
- *
- * Note that `data` is a getter and setter option. If you just require
- * formatting of data for output, you will likely want to use `render` which
- * is simply a getter and thus simpler to use.
- *
- * Note that prior to DataTables 1.9.2 `data` was called `mDataProp`. The
- * name change reflects the flexibility of this property and is consistent
- * with the naming of mRender. If 'mDataProp' is given, then it will still
- * be used by DataTables, as it automatically maps the old name to the new
- * if required.
- *
- * @type string|int|function|null
- * @default null <i>Use automatically calculated column index</i>
- *
- * @name DataTable.defaults.column.data
- * @dtopt Columns
- *
- * @example
- * // Read table data from objects
- * // JSON structure for each row:
- * // {
- * // "engine": {value},
- * // "browser": {value},
- * // "platform": {value},
- * // "version": {value},
- * // "grade": {value}
- * // }
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "ajaxSource": "sources/objects.txt",
- * "columns": [
- * { "data": "engine" },
- * { "data": "browser" },
- * { "data": "platform" },
- * { "data": "version" },
- * { "data": "grade" }
- * ]
- * } );
- * } );
- *
- * @example
- * // Read information from deeply nested objects
- * // JSON structure for each row:
- * // {
- * // "engine": {value},
- * // "browser": {value},
- * // "platform": {
- * // "inner": {value}
- * // },
- * // "details": [
- * // {value}, {value}
- * // ]
- * // }
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "ajaxSource": "sources/deep.txt",
- * "columns": [
- * { "data": "engine" },
- * { "data": "browser" },
- * { "data": "platform.inner" },
- * { "data": "platform.details.0" },
- * { "data": "platform.details.1" }
- * ]
- * } );
- * } );
- *
- * @example
- * // Using `data` as a function to provide different information for
- * // sorting, filtering and display. In this case, currency (price)
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [ {
- * "targets": [ 0 ],
- * "data": function ( source, type, val ) {
- * if (type === 'set') {
- * source.price = val;
- * // Store the computed dislay and filter values for efficiency
- * source.price_display = val=="" ? "" : "$"+numberFormat(val);
- * source.price_filter = val=="" ? "" : "$"+numberFormat(val)+" "+val;
- * return;
- * }
- * else if (type === 'display') {
- * return source.price_display;
- * }
- * else if (type === 'filter') {
- * return source.price_filter;
- * }
- * // 'sort', 'type' and undefined all just use the integer
- * return source.price;
- * }
- * } ]
- * } );
- * } );
- *
- * @example
- * // Using default content
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [ {
- * "targets": [ 0 ],
- * "data": null,
- * "defaultContent": "Click to edit"
- * } ]
- * } );
- * } );
- *
- * @example
- * // Using array notation - outputting a list from an array
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [ {
- * "targets": [ 0 ],
- * "data": "name[, ]"
- * } ]
- * } );
- * } );
- *
- */
- "mData": null,
-
-
- /**
- * This property is the rendering partner to `data` and it is suggested that
- * when you want to manipulate data for display (including filtering,
- * sorting etc) without altering the underlying data for the table, use this
- * property. `render` can be considered to be the the read only companion to
- * `data` which is read / write (then as such more complex). Like `data`
- * this option can be given in a number of different ways to effect its
- * behaviour:
- *
- * * `integer` - treated as an array index for the data source. This is the
- * default that DataTables uses (incrementally increased for each column).
- * * `string` - read an object property from the data source. There are
- * three 'special' options that can be used in the string to alter how
- * DataTables reads the data from the source object:
- * * `.` - Dotted Javascript notation. Just as you use a `.` in
- * Javascript to read from nested objects, so to can the options
- * specified in `data`. For example: `browser.version` or
- * `browser.name`. If your object parameter name contains a period, use
- * `\\` to escape it - i.e. `first\\.name`.
- * * `[]` - Array notation. DataTables can automatically combine data
- * from and array source, joining the data with the characters provided
- * between the two brackets. For example: `name[, ]` would provide a
- * comma-space separated list from the source array. If no characters
- * are provided between the brackets, the original array source is
- * returned.
- * * `()` - Function notation. Adding `()` to the end of a parameter will
- * execute a function of the name given. For example: `browser()` for a
- * simple function on the data source, `browser.version()` for a
- * function in a nested property or even `browser().version` to get an
- * object property if the function called returns an object.
- * * `object` - use different data for the different data types requested by
- * DataTables ('filter', 'display', 'type' or 'sort'). The property names
- * of the object is the data type the property refers to and the value can
- * defined using an integer, string or function using the same rules as
- * `render` normally does. Note that an `_` option _must_ be specified.
- * This is the default value to use if you haven't specified a value for
- * the data type requested by DataTables.
- * * `function` - the function given will be executed whenever DataTables
- * needs to set or get the data for a cell in the column. The function
- * takes three parameters:
- * * Parameters:
- * * {array|object} The data source for the row (based on `data`)
- * * {string} The type call data requested - this will be 'filter',
- * 'display', 'type' or 'sort'.
- * * {array|object} The full data source for the row (not based on
- * `data`)
- * * Return:
- * * The return value from the function is what will be used for the
- * data requested.
- *
- * @type string|int|function|object|null
- * @default null Use the data source value.
- *
- * @name DataTable.defaults.column.render
- * @dtopt Columns
- *
- * @example
- * // Create a comma separated list from an array of objects
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "ajaxSource": "sources/deep.txt",
- * "columns": [
- * { "data": "engine" },
- * { "data": "browser" },
- * {
- * "data": "platform",
- * "render": "[, ].name"
- * }
- * ]
- * } );
- * } );
- *
- * @example
- * // Execute a function to obtain data
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [ {
- * "targets": [ 0 ],
- * "data": null, // Use the full data source object for the renderer's source
- * "render": "browserName()"
- * } ]
- * } );
- * } );
- *
- * @example
- * // As an object, extracting different data for the different types
- * // This would be used with a data source such as:
- * // { "phone": 5552368, "phone_filter": "5552368 555-2368", "phone_display": "555-2368" }
- * // Here the `phone` integer is used for sorting and type detection, while `phone_filter`
- * // (which has both forms) is used for filtering for if a user inputs either format, while
- * // the formatted phone number is the one that is shown in the table.
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [ {
- * "targets": [ 0 ],
- * "data": null, // Use the full data source object for the renderer's source
- * "render": {
- * "_": "phone",
- * "filter": "phone_filter",
- * "display": "phone_display"
- * }
- * } ]
- * } );
- * } );
- *
- * @example
- * // Use as a function to create a link from the data source
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [ {
- * "targets": [ 0 ],
- * "data": "download_link",
- * "render": function ( data, type, full ) {
- * return '<a href="'+data+'">Download</a>';
- * }
- * } ]
- * } );
- * } );
- */
- "mRender": null,
-
-
- /**
- * Change the cell type created for the column - either TD cells or TH cells. This
- * can be useful as TH cells have semantic meaning in the table body, allowing them
- * to act as a header for a row (you may wish to add scope='row' to the TH elements).
- * @type string
- * @default td
- *
- * @name DataTable.defaults.column.cellType
- * @dtopt Columns
- *
- * @example
- * // Make the first column use TH cells
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [ {
- * "targets": [ 0 ],
- * "cellType": "th"
- * } ]
- * } );
- * } );
- */
- "sCellType": "td",
-
-
- /**
- * Class to give to each cell in this column.
- * @type string
- * @default <i>Empty string</i>
- *
- * @name DataTable.defaults.column.class
- * @dtopt Columns
- *
- * @example
- * // Using `columnDefs`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [
- * { "class": "my_class", "targets": [ 0 ] }
- * ]
- * } );
- * } );
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * { "class": "my_class" },
- * null,
- * null,
- * null,
- * null
- * ]
- * } );
- * } );
- */
- "sClass": "",
-
- /**
- * When DataTables calculates the column widths to assign to each column,
- * it finds the longest string in each column and then constructs a
- * temporary table and reads the widths from that. The problem with this
- * is that "mmm" is much wider then "iiii", but the latter is a longer
- * string - thus the calculation can go wrong (doing it properly and putting
- * it into an DOM object and measuring that is horribly(!) slow). Thus as
- * a "work around" we provide this option. It will append its value to the
- * text that is found to be the longest string for the column - i.e. padding.
- * Generally you shouldn't need this!
- * @type string
- * @default <i>Empty string<i>
- *
- * @name DataTable.defaults.column.contentPadding
- * @dtopt Columns
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * null,
- * null,
- * null,
- * {
- * "contentPadding": "mmm"
- * }
- * ]
- * } );
- * } );
- */
- "sContentPadding": "",
-
-
- /**
- * Allows a default value to be given for a column's data, and will be used
- * whenever a null data source is encountered (this can be because `data`
- * is set to null, or because the data source itself is null).
- * @type string
- * @default null
- *
- * @name DataTable.defaults.column.defaultContent
- * @dtopt Columns
- *
- * @example
- * // Using `columnDefs`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [
- * {
- * "data": null,
- * "defaultContent": "Edit",
- * "targets": [ -1 ]
- * }
- * ]
- * } );
- * } );
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * null,
- * null,
- * null,
- * {
- * "data": null,
- * "defaultContent": "Edit"
- * }
- * ]
- * } );
- * } );
- */
- "sDefaultContent": null,
-
-
- /**
- * This parameter is only used in DataTables' server-side processing. It can
- * be exceptionally useful to know what columns are being displayed on the
- * client side, and to map these to database fields. When defined, the names
- * also allow DataTables to reorder information from the server if it comes
- * back in an unexpected order (i.e. if you switch your columns around on the
- * client-side, your server-side code does not also need updating).
- * @type string
- * @default <i>Empty string</i>
- *
- * @name DataTable.defaults.column.name
- * @dtopt Columns
- *
- * @example
- * // Using `columnDefs`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [
- * { "name": "engine", "targets": [ 0 ] },
- * { "name": "browser", "targets": [ 1 ] },
- * { "name": "platform", "targets": [ 2 ] },
- * { "name": "version", "targets": [ 3 ] },
- * { "name": "grade", "targets": [ 4 ] }
- * ]
- * } );
- * } );
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * { "name": "engine" },
- * { "name": "browser" },
- * { "name": "platform" },
- * { "name": "version" },
- * { "name": "grade" }
- * ]
- * } );
- * } );
- */
- "sName": "",
-
-
- /**
- * Defines a data source type for the ordering which can be used to read
- * real-time information from the table (updating the internally cached
- * version) prior to ordering. This allows ordering to occur on user
- * editable elements such as form inputs.
- * @type string
- * @default std
- *
- * @name DataTable.defaults.column.orderDataType
- * @dtopt Columns
- *
- * @example
- * // Using `columnDefs`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [
- * { "orderDataType": "dom-text", "targets": [ 2, 3 ] },
- * { "type": "numeric", "targets": [ 3 ] },
- * { "orderDataType": "dom-select", "targets": [ 4 ] },
- * { "orderDataType": "dom-checkbox", "targets": [ 5 ] }
- * ]
- * } );
- * } );
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * null,
- * null,
- * { "orderDataType": "dom-text" },
- * { "orderDataType": "dom-text", "type": "numeric" },
- * { "orderDataType": "dom-select" },
- * { "orderDataType": "dom-checkbox" }
- * ]
- * } );
- * } );
- */
- "sSortDataType": "std",
-
-
- /**
- * The title of this column.
- * @type string
- * @default null <i>Derived from the 'TH' value for this column in the
- * original HTML table.</i>
- *
- * @name DataTable.defaults.column.title
- * @dtopt Columns
- *
- * @example
- * // Using `columnDefs`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [
- * { "title": "My column title", "targets": [ 0 ] }
- * ]
- * } );
- * } );
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * { "title": "My column title" },
- * null,
- * null,
- * null,
- * null
- * ]
- * } );
- * } );
- */
- "sTitle": null,
-
-
- /**
- * The type allows you to specify how the data for this column will be
- * ordered. Four types (string, numeric, date and html (which will strip
- * HTML tags before ordering)) are currently available. Note that only date
- * formats understood by Javascript's Date() object will be accepted as type
- * date. For example: "Mar 26, 2008 5:03 PM". May take the values: 'string',
- * 'numeric', 'date' or 'html' (by default). Further types can be adding
- * through plug-ins.
- * @type string
- * @default null <i>Auto-detected from raw data</i>
- *
- * @name DataTable.defaults.column.type
- * @dtopt Columns
- *
- * @example
- * // Using `columnDefs`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [
- * { "type": "html", "targets": [ 0 ] }
- * ]
- * } );
- * } );
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * { "type": "html" },
- * null,
- * null,
- * null,
- * null
- * ]
- * } );
- * } );
- */
- "sType": null,
-
-
- /**
- * Defining the width of the column, this parameter may take any CSS value
- * (3em, 20px etc). DataTables applies 'smart' widths to columns which have not
- * been given a specific width through this interface ensuring that the table
- * remains readable.
- * @type string
- * @default null <i>Automatic</i>
- *
- * @name DataTable.defaults.column.width
- * @dtopt Columns
- *
- * @example
- * // Using `columnDefs`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columnDefs": [
- * { "width": "20%", "targets": [ 0 ] }
- * ]
- * } );
- * } );
- *
- * @example
- * // Using `columns`
- * $(document).ready( function() {
- * $('#example').dataTable( {
- * "columns": [
- * { "width": "20%" },
- * null,
- * null,
- * null,
- * null
- * ]
- * } );
- * } );
- */
- "sWidth": null
- };
-
- _fnHungarianMap( DataTable.defaults.column );
-
-
-
- /**
- * DataTables settings object - this holds all the information needed for a
- * given table, including configuration, data and current application of the
- * table options. DataTables does not have a single instance for each DataTable
- * with the settings attached to that instance, but rather instances of the
- * DataTable "class" are created on-the-fly as needed (typically by a
- * $().dataTable() call) and the settings object is then applied to that
- * instance.
- *
- * Note that this object is related to {@link DataTable.defaults} but this
- * one is the internal data store for DataTables's cache of columns. It should
- * NOT be manipulated outside of DataTables. Any configuration should be done
- * through the initialisation options.
- * @namespace
- * @todo Really should attach the settings object to individual instances so we
- * don't need to create new instances on each $().dataTable() call (if the
- * table already exists). It would also save passing oSettings around and
- * into every single function. However, this is a very significant
- * architecture change for DataTables and will almost certainly break
- * backwards compatibility with older installations. This is something that
- * will be done in 2.0.
- */
- DataTable.models.oSettings = {
- /**
- * Primary features of DataTables and their enablement state.
- * @namespace
- */
- "oFeatures": {
-
- /**
- * Flag to say if DataTables should automatically try to calculate the
- * optimum table and columns widths (true) or not (false).
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bAutoWidth": null,
-
- /**
- * Delay the creation of TR and TD elements until they are actually
- * needed by a driven page draw. This can give a significant speed
- * increase for Ajax source and Javascript source data, but makes no
- * difference at all fro DOM and server-side processing tables.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bDeferRender": null,
-
- /**
- * Enable filtering on the table or not. Note that if this is disabled
- * then there is no filtering at all on the table, including fnFilter.
- * To just remove the filtering input use sDom and remove the 'f' option.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bFilter": null,
-
- /**
- * Table information element (the 'Showing x of y records' div) enable
- * flag.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bInfo": null,
-
- /**
- * Present a user control allowing the end user to change the page size
- * when pagination is enabled.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bLengthChange": null,
-
- /**
- * Pagination enabled or not. Note that if this is disabled then length
- * changing must also be disabled.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bPaginate": null,
-
- /**
- * Processing indicator enable flag whenever DataTables is enacting a
- * user request - typically an Ajax request for server-side processing.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bProcessing": null,
-
- /**
- * Server-side processing enabled flag - when enabled DataTables will
- * get all data from the server for every draw - there is no filtering,
- * sorting or paging done on the client-side.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bServerSide": null,
-
- /**
- * Sorting enablement flag.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bSort": null,
-
- /**
- * Multi-column sorting
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bSortMulti": null,
-
- /**
- * Apply a class to the columns which are being sorted to provide a
- * visual highlight or not. This can slow things down when enabled since
- * there is a lot of DOM interaction.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bSortClasses": null,
-
- /**
- * State saving enablement flag.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bStateSave": null
- },
-
-
- /**
- * Scrolling settings for a table.
- * @namespace
- */
- "oScroll": {
- /**
- * When the table is shorter in height than sScrollY, collapse the
- * table container down to the height of the table (when true).
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bCollapse": null,
-
- /**
- * Width of the scrollbar for the web-browser's platform. Calculated
- * during table initialisation.
- * @type int
- * @default 0
- */
- "iBarWidth": 0,
-
- /**
- * Viewport width for horizontal scrolling. Horizontal scrolling is
- * disabled if an empty string.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type string
- */
- "sX": null,
-
- /**
- * Width to expand the table to when using x-scrolling. Typically you
- * should not need to use this.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type string
- * @deprecated
- */
- "sXInner": null,
-
- /**
- * Viewport height for vertical scrolling. Vertical scrolling is disabled
- * if an empty string.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type string
- */
- "sY": null
- },
-
- /**
- * Language information for the table.
- * @namespace
- * @extends DataTable.defaults.oLanguage
- */
- "oLanguage": {
- /**
- * Information callback function. See
- * {@link DataTable.defaults.fnInfoCallback}
- * @type function
- * @default null
- */
- "fnInfoCallback": null
- },
-
- /**
- * Browser support parameters
- * @namespace
- */
- "oBrowser": {
- /**
- * Indicate if the browser incorrectly calculates width:100% inside a
- * scrolling element (IE6/7)
- * @type boolean
- * @default false
- */
- "bScrollOversize": false,
-
- /**
- * Determine if the vertical scrollbar is on the right or left of the
- * scrolling container - needed for rtl language layout, although not
- * all browsers move the scrollbar (Safari).
- * @type boolean
- * @default false
- */
- "bScrollbarLeft": false,
-
- /**
- * Flag for if `getBoundingClientRect` is fully supported or not
- * @type boolean
- * @default false
- */
- "bBounding": false,
-
- /**
- * Browser scrollbar width
- * @type integer
- * @default 0
- */
- "barWidth": 0
- },
-
-
- "ajax": null,
-
-
- /**
- * Array referencing the nodes which are used for the features. The
- * parameters of this object match what is allowed by sDom - i.e.
- * <ul>
- * <li>'l' - Length changing</li>
- * <li>'f' - Filtering input</li>
- * <li>'t' - The table!</li>
- * <li>'i' - Information</li>
- * <li>'p' - Pagination</li>
- * <li>'r' - pRocessing</li>
- * </ul>
- * @type array
- * @default []
- */
- "aanFeatures": [],
-
- /**
- * Store data information - see {@link DataTable.models.oRow} for detailed
- * information.
- * @type array
- * @default []
- */
- "aoData": [],
-
- /**
- * Array of indexes which are in the current display (after filtering etc)
- * @type array
- * @default []
- */
- "aiDisplay": [],
-
- /**
- * Array of indexes for display - no filtering
- * @type array
- * @default []
- */
- "aiDisplayMaster": [],
-
- /**
- * Map of row ids to data indexes
- * @type object
- * @default {}
- */
- "aIds": {},
-
- /**
- * Store information about each column that is in use
- * @type array
- * @default []
- */
- "aoColumns": [],
-
- /**
- * Store information about the table's header
- * @type array
- * @default []
- */
- "aoHeader": [],
-
- /**
- * Store information about the table's footer
- * @type array
- * @default []
- */
- "aoFooter": [],
-
- /**
- * Store the applied global search information in case we want to force a
- * research or compare the old search to a new one.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @namespace
- * @extends DataTable.models.oSearch
- */
- "oPreviousSearch": {},
-
- /**
- * Store the applied search for each column - see
- * {@link DataTable.models.oSearch} for the format that is used for the
- * filtering information for each column.
- * @type array
- * @default []
- */
- "aoPreSearchCols": [],
-
- /**
- * Sorting that is applied to the table. Note that the inner arrays are
- * used in the following manner:
- * <ul>
- * <li>Index 0 - column number</li>
- * <li>Index 1 - current sorting direction</li>
- * </ul>
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type array
- * @todo These inner arrays should really be objects
- */
- "aaSorting": null,
-
- /**
- * Sorting that is always applied to the table (i.e. prefixed in front of
- * aaSorting).
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type array
- * @default []
- */
- "aaSortingFixed": [],
-
- /**
- * Classes to use for the striping of a table.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type array
- * @default []
- */
- "asStripeClasses": null,
-
- /**
- * If restoring a table - we should restore its striping classes as well
- * @type array
- * @default []
- */
- "asDestroyStripes": [],
-
- /**
- * If restoring a table - we should restore its width
- * @type int
- * @default 0
- */
- "sDestroyWidth": 0,
-
- /**
- * Callback functions array for every time a row is inserted (i.e. on a draw).
- * @type array
- * @default []
- */
- "aoRowCallback": [],
-
- /**
- * Callback functions for the header on each draw.
- * @type array
- * @default []
- */
- "aoHeaderCallback": [],
-
- /**
- * Callback function for the footer on each draw.
- * @type array
- * @default []
- */
- "aoFooterCallback": [],
-
- /**
- * Array of callback functions for draw callback functions
- * @type array
- * @default []
- */
- "aoDrawCallback": [],
-
- /**
- * Array of callback functions for row created function
- * @type array
- * @default []
- */
- "aoRowCreatedCallback": [],
-
- /**
- * Callback functions for just before the table is redrawn. A return of
- * false will be used to cancel the draw.
- * @type array
- * @default []
- */
- "aoPreDrawCallback": [],
-
- /**
- * Callback functions for when the table has been initialised.
- * @type array
- * @default []
- */
- "aoInitComplete": [],
-
-
- /**
- * Callbacks for modifying the settings to be stored for state saving, prior to
- * saving state.
- * @type array
- * @default []
- */
- "aoStateSaveParams": [],
-
- /**
- * Callbacks for modifying the settings that have been stored for state saving
- * prior to using the stored values to restore the state.
- * @type array
- * @default []
- */
- "aoStateLoadParams": [],
-
- /**
- * Callbacks for operating on the settings object once the saved state has been
- * loaded
- * @type array
- * @default []
- */
- "aoStateLoaded": [],
-
- /**
- * Cache the table ID for quick access
- * @type string
- * @default <i>Empty string</i>
- */
- "sTableId": "",
-
- /**
- * The TABLE node for the main table
- * @type node
- * @default null
- */
- "nTable": null,
-
- /**
- * Permanent ref to the thead element
- * @type node
- * @default null
- */
- "nTHead": null,
-
- /**
- * Permanent ref to the tfoot element - if it exists
- * @type node
- * @default null
- */
- "nTFoot": null,
-
- /**
- * Permanent ref to the tbody element
- * @type node
- * @default null
- */
- "nTBody": null,
-
- /**
- * Cache the wrapper node (contains all DataTables controlled elements)
- * @type node
- * @default null
- */
- "nTableWrapper": null,
-
- /**
- * Indicate if when using server-side processing the loading of data
- * should be deferred until the second draw.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- * @default false
- */
- "bDeferLoading": false,
-
- /**
- * Indicate if all required information has been read in
- * @type boolean
- * @default false
- */
- "bInitialised": false,
-
- /**
- * Information about open rows. Each object in the array has the parameters
- * 'nTr' and 'nParent'
- * @type array
- * @default []
- */
- "aoOpenRows": [],
-
- /**
- * Dictate the positioning of DataTables' control elements - see
- * {@link DataTable.model.oInit.sDom}.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type string
- * @default null
- */
- "sDom": null,
-
- /**
- * Search delay (in mS)
- * @type integer
- * @default null
- */
- "searchDelay": null,
-
- /**
- * Which type of pagination should be used.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type string
- * @default two_button
- */
- "sPaginationType": "two_button",
-
- /**
- * The state duration (for `stateSave`) in seconds.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type int
- * @default 0
- */
- "iStateDuration": 0,
-
- /**
- * Array of callback functions for state saving. Each array element is an
- * object with the following parameters:
- * <ul>
- * <li>function:fn - function to call. Takes two parameters, oSettings
- * and the JSON string to save that has been thus far created. Returns
- * a JSON string to be inserted into a json object
- * (i.e. '"param": [ 0, 1, 2]')</li>
- * <li>string:sName - name of callback</li>
- * </ul>
- * @type array
- * @default []
- */
- "aoStateSave": [],
-
- /**
- * Array of callback functions for state loading. Each array element is an
- * object with the following parameters:
- * <ul>
- * <li>function:fn - function to call. Takes two parameters, oSettings
- * and the object stored. May return false to cancel state loading</li>
- * <li>string:sName - name of callback</li>
- * </ul>
- * @type array
- * @default []
- */
- "aoStateLoad": [],
-
- /**
- * State that was saved. Useful for back reference
- * @type object
- * @default null
- */
- "oSavedState": null,
-
- /**
- * State that was loaded. Useful for back reference
- * @type object
- * @default null
- */
- "oLoadedState": null,
-
- /**
- * Source url for AJAX data for the table.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type string
- * @default null
- */
- "sAjaxSource": null,
-
- /**
- * Property from a given object from which to read the table data from. This
- * can be an empty string (when not server-side processing), in which case
- * it is assumed an an array is given directly.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type string
- */
- "sAjaxDataProp": null,
-
- /**
- * Note if draw should be blocked while getting data
- * @type boolean
- * @default true
- */
- "bAjaxDataGet": true,
-
- /**
- * The last jQuery XHR object that was used for server-side data gathering.
- * This can be used for working with the XHR information in one of the
- * callbacks
- * @type object
- * @default null
- */
- "jqXHR": null,
-
- /**
- * JSON returned from the server in the last Ajax request
- * @type object
- * @default undefined
- */
- "json": undefined,
-
- /**
- * Data submitted as part of the last Ajax request
- * @type object
- * @default undefined
- */
- "oAjaxData": undefined,
-
- /**
- * Function to get the server-side data.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type function
- */
- "fnServerData": null,
-
- /**
- * Functions which are called prior to sending an Ajax request so extra
- * parameters can easily be sent to the server
- * @type array
- * @default []
- */
- "aoServerParams": [],
-
- /**
- * Send the XHR HTTP method - GET or POST (could be PUT or DELETE if
- * required).
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type string
- */
- "sServerMethod": null,
-
- /**
- * Format numbers for display.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type function
- */
- "fnFormatNumber": null,
-
- /**
- * List of options that can be used for the user selectable length menu.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type array
- * @default []
- */
- "aLengthMenu": null,
-
- /**
- * Counter for the draws that the table does. Also used as a tracker for
- * server-side processing
- * @type int
- * @default 0
- */
- "iDraw": 0,
-
- /**
- * Indicate if a redraw is being done - useful for Ajax
- * @type boolean
- * @default false
- */
- "bDrawing": false,
-
- /**
- * Draw index (iDraw) of the last error when parsing the returned data
- * @type int
- * @default -1
- */
- "iDrawError": -1,
-
- /**
- * Paging display length
- * @type int
- * @default 10
- */
- "_iDisplayLength": 10,
-
- /**
- * Paging start point - aiDisplay index
- * @type int
- * @default 0
- */
- "_iDisplayStart": 0,
-
- /**
- * Server-side processing - number of records in the result set
- * (i.e. before filtering), Use fnRecordsTotal rather than
- * this property to get the value of the number of records, regardless of
- * the server-side processing setting.
- * @type int
- * @default 0
- * @private
- */
- "_iRecordsTotal": 0,
-
- /**
- * Server-side processing - number of records in the current display set
- * (i.e. after filtering). Use fnRecordsDisplay rather than
- * this property to get the value of the number of records, regardless of
- * the server-side processing setting.
- * @type boolean
- * @default 0
- * @private
- */
- "_iRecordsDisplay": 0,
-
- /**
- * Flag to indicate if jQuery UI marking and classes should be used.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bJUI": null,
-
- /**
- * The classes to use for the table
- * @type object
- * @default {}
- */
- "oClasses": {},
-
- /**
- * Flag attached to the settings object so you can check in the draw
- * callback if filtering has been done in the draw. Deprecated in favour of
- * events.
- * @type boolean
- * @default false
- * @deprecated
- */
- "bFiltered": false,
-
- /**
- * Flag attached to the settings object so you can check in the draw
- * callback if sorting has been done in the draw. Deprecated in favour of
- * events.
- * @type boolean
- * @default false
- * @deprecated
- */
- "bSorted": false,
-
- /**
- * Indicate that if multiple rows are in the header and there is more than
- * one unique cell per column, if the top one (true) or bottom one (false)
- * should be used for sorting / title by DataTables.
- * Note that this parameter will be set by the initialisation routine. To
- * set a default use {@link DataTable.defaults}.
- * @type boolean
- */
- "bSortCellsTop": null,
-
- /**
- * Initialisation object that is used for the table
- * @type object
- * @default null
- */
- "oInit": null,
-
- /**
- * Destroy callback functions - for plug-ins to attach themselves to the
- * destroy so they can clean up markup and events.
- * @type array
- * @default []
- */
- "aoDestroyCallback": [],
-
-
- /**
- * Get the number of records in the current record set, before filtering
- * @type function
- */
- "fnRecordsTotal": function ()
- {
- return _fnDataSource( this ) == 'ssp' ?
- this._iRecordsTotal * 1 :
- this.aiDisplayMaster.length;
- },
-
- /**
- * Get the number of records in the current record set, after filtering
- * @type function
- */
- "fnRecordsDisplay": function ()
- {
- return _fnDataSource( this ) == 'ssp' ?
- this._iRecordsDisplay * 1 :
- this.aiDisplay.length;
- },
-
- /**
- * Get the display end point - aiDisplay index
- * @type function
- */
- "fnDisplayEnd": function ()
- {
- var
- len = this._iDisplayLength,
- start = this._iDisplayStart,
- calc = start + len,
- records = this.aiDisplay.length,
- features = this.oFeatures,
- paginate = features.bPaginate;
-
- if ( features.bServerSide ) {
- return paginate === false || len === -1 ?
- start + records :
- Math.min( start+len, this._iRecordsDisplay );
- }
- else {
- return ! paginate || calc>records || len===-1 ?
- records :
- calc;
- }
- },
-
- /**
- * The DataTables object for this table
- * @type object
- * @default null
- */
- "oInstance": null,
-
- /**
- * Unique identifier for each instance of the DataTables object. If there
- * is an ID on the table node, then it takes that value, otherwise an
- * incrementing internal counter is used.
- * @type string
- * @default null
- */
- "sInstance": null,
-
- /**
- * tabindex attribute value that is added to DataTables control elements, allowing
- * keyboard navigation of the table and its controls.
- */
- "iTabIndex": 0,
-
- /**
- * DIV container for the footer scrolling table if scrolling
- */
- "nScrollHead": null,
-
- /**
- * DIV container for the footer scrolling table if scrolling
- */
- "nScrollFoot": null,
-
- /**
- * Last applied sort
- * @type array
- * @default []
- */
- "aLastSort": [],
-
- /**
- * Stored plug-in instances
- * @type object
- * @default {}
- */
- "oPlugins": {},
-
- /**
- * Function used to get a row's id from the row's data
- * @type function
- * @default null
- */
- "rowIdFn": null,
-
- /**
- * Data location where to store a row's id
- * @type string
- * @default null
- */
- "rowId": null
- };
-
- /**
- * Extension object for DataTables that is used to provide all extension
- * options.
- *
- * Note that the `DataTable.ext` object is available through
- * `jQuery.fn.dataTable.ext` where it may be accessed and manipulated. It is
- * also aliased to `jQuery.fn.dataTableExt` for historic reasons.
- * @namespace
- * @extends DataTable.models.ext
- */
-
-
- /**
- * DataTables extensions
- *
- * This namespace acts as a collection area for plug-ins that can be used to
- * extend DataTables capabilities. Indeed many of the build in methods
- * use this method to provide their own capabilities (sorting methods for
- * example).
- *
- * Note that this namespace is aliased to `jQuery.fn.dataTableExt` for legacy
- * reasons
- *
- * @namespace
- */
- DataTable.ext = _ext = {
- /**
- * Buttons. For use with the Buttons extension for DataTables. This is
- * defined here so other extensions can define buttons regardless of load
- * order. It is _not_ used by DataTables core.
- *
- * @type object
- * @default {}
- */
- buttons: {},
-
-
- /**
- * Element class names
- *
- * @type object
- * @default {}
- */
- classes: {},
-
-
- /**
- * DataTables build type (expanded by the download builder)
- *
- * @type string
- */
- builder: "-source-",
-
-
- /**
- * Error reporting.
- *
- * How should DataTables report an error. Can take the value 'alert',
- * 'throw', 'none' or a function.
- *
- * @type string|function
- * @default alert
- */
- errMode: "alert",
-
-
- /**
- * Feature plug-ins.
- *
- * This is an array of objects which describe the feature plug-ins that are
- * available to DataTables. These feature plug-ins are then available for
- * use through the `dom` initialisation option.
- *
- * Each feature plug-in is described by an object which must have the
- * following properties:
- *
- * * `fnInit` - function that is used to initialise the plug-in,
- * * `cFeature` - a character so the feature can be enabled by the `dom`
- * instillation option. This is case sensitive.
- *
- * The `fnInit` function has the following input parameters:
- *
- * 1. `{object}` DataTables settings object: see
- * {@link DataTable.models.oSettings}
- *
- * And the following return is expected:
- *
- * * {node|null} The element which contains your feature. Note that the
- * return may also be void if your plug-in does not require to inject any
- * DOM elements into DataTables control (`dom`) - for example this might
- * be useful when developing a plug-in which allows table control via
- * keyboard entry
- *
- * @type array
- *
- * @example
- * $.fn.dataTable.ext.features.push( {
- * "fnInit": function( oSettings ) {
- * return new TableTools( { "oDTSettings": oSettings } );
- * },
- * "cFeature": "T"
- * } );
- */
- feature: [],
-
-
- /**
- * Row searching.
- *
- * This method of searching is complimentary to the default type based
- * searching, and a lot more comprehensive as it allows you complete control
- * over the searching logic. Each element in this array is a function
- * (parameters described below) that is called for every row in the table,
- * and your logic decides if it should be included in the searching data set
- * or not.
- *
- * Searching functions have the following input parameters:
- *
- * 1. `{object}` DataTables settings object: see
- * {@link DataTable.models.oSettings}
- * 2. `{array|object}` Data for the row to be processed (same as the
- * original format that was passed in as the data source, or an array
- * from a DOM data source
- * 3. `{int}` Row index ({@link DataTable.models.oSettings.aoData}), which
- * can be useful to retrieve the `TR` element if you need DOM interaction.
- *
- * And the following return is expected:
- *
- * * {boolean} Include the row in the searched result set (true) or not
- * (false)
- *
- * Note that as with the main search ability in DataTables, technically this
- * is "filtering", since it is subtractive. However, for consistency in
- * naming we call it searching here.
- *
- * @type array
- * @default []
- *
- * @example
- * // The following example shows custom search being applied to the
- * // fourth column (i.e. the data[3] index) based on two input values
- * // from the end-user, matching the data in a certain range.
- * $.fn.dataTable.ext.search.push(
- * function( settings, data, dataIndex ) {
- * var min = document.getElementById('min').value * 1;
- * var max = document.getElementById('max').value * 1;
- * var version = data[3] == "-" ? 0 : data[3]*1;
- *
- * if ( min == "" && max == "" ) {
- * return true;
- * }
- * else if ( min == "" && version < max ) {
- * return true;
- * }
- * else if ( min < version && "" == max ) {
- * return true;
- * }
- * else if ( min < version && version < max ) {
- * return true;
- * }
- * return false;
- * }
- * );
- */
- search: [],
-
-
- /**
- * Selector extensions
- *
- * The `selector` option can be used to extend the options available for the
- * selector modifier options (`selector-modifier` object data type) that
- * each of the three built in selector types offer (row, column and cell +
- * their plural counterparts). For example the Select extension uses this
- * mechanism to provide an option to select only rows, columns and cells
- * that have been marked as selected by the end user (`{selected: true}`),
- * which can be used in conjunction with the existing built in selector
- * options.
- *
- * Each property is an array to which functions can be pushed. The functions
- * take three attributes:
- *
- * * Settings object for the host table
- * * Options object (`selector-modifier` object type)
- * * Array of selected item indexes
- *
- * The return is an array of the resulting item indexes after the custom
- * selector has been applied.
- *
- * @type object
- */
- selector: {
- cell: [],
- column: [],
- row: []
- },
-
-
- /**
- * Internal functions, exposed for used in plug-ins.
- *
- * Please note that you should not need to use the internal methods for
- * anything other than a plug-in (and even then, try to avoid if possible).
- * The internal function may change between releases.
- *
- * @type object
- * @default {}
- */
- internal: {},
-
-
- /**
- * Legacy configuration options. Enable and disable legacy options that
- * are available in DataTables.
- *
- * @type object
- */
- legacy: {
- /**
- * Enable / disable DataTables 1.9 compatible server-side processing
- * requests
- *
- * @type boolean
- * @default null
- */
- ajax: null
- },
-
-
- /**
- * Pagination plug-in methods.
- *
- * Each entry in this object is a function and defines which buttons should
- * be shown by the pagination rendering method that is used for the table:
- * {@link DataTable.ext.renderer.pageButton}. The renderer addresses how the
- * buttons are displayed in the document, while the functions here tell it
- * what buttons to display. This is done by returning an array of button
- * descriptions (what each button will do).
- *
- * Pagination types (the four built in options and any additional plug-in
- * options defined here) can be used through the `paginationType`
- * initialisation parameter.
- *
- * The functions defined take two parameters:
- *
- * 1. `{int} page` The current page index
- * 2. `{int} pages` The number of pages in the table
- *
- * Each function is expected to return an array where each element of the
- * array can be one of:
- *
- * * `first` - Jump to first page when activated
- * * `last` - Jump to last page when activated
- * * `previous` - Show previous page when activated
- * * `next` - Show next page when activated
- * * `{int}` - Show page of the index given
- * * `{array}` - A nested array containing the above elements to add a
- * containing 'DIV' element (might be useful for styling).
- *
- * Note that DataTables v1.9- used this object slightly differently whereby
- * an object with two functions would be defined for each plug-in. That
- * ability is still supported by DataTables 1.10+ to provide backwards
- * compatibility, but this option of use is now decremented and no longer
- * documented in DataTables 1.10+.
- *
- * @type object
- * @default {}
- *
- * @example
- * // Show previous, next and current page buttons only
- * $.fn.dataTableExt.oPagination.current = function ( page, pages ) {
- * return [ 'previous', page, 'next' ];
- * };
- */
- pager: {},
-
-
- renderer: {
- pageButton: {},
- header: {}
- },
-
-
- /**
- * Ordering plug-ins - custom data source
- *
- * The extension options for ordering of data available here is complimentary
- * to the default type based ordering that DataTables typically uses. It
- * allows much greater control over the the data that is being used to
- * order a column, but is necessarily therefore more complex.
- *
- * This type of ordering is useful if you want to do ordering based on data
- * live from the DOM (for example the contents of an 'input' element) rather
- * than just the static string that DataTables knows of.
- *
- * The way these plug-ins work is that you create an array of the values you
- * wish to be ordering for the column in question and then return that
- * array. The data in the array much be in the index order of the rows in
- * the table (not the currently ordering order!). Which order data gathering
- * function is run here depends on the `dt-init columns.orderDataType`
- * parameter that is used for the column (if any).
- *
- * The functions defined take two parameters:
- *
- * 1. `{object}` DataTables settings object: see
- * {@link DataTable.models.oSettings}
- * 2. `{int}` Target column index
- *
- * Each function is expected to return an array:
- *
- * * `{array}` Data for the column to be ordering upon
- *
- * @type array
- *
- * @example
- * // Ordering using `input` node values
- * $.fn.dataTable.ext.order['dom-text'] = function ( settings, col )
- * {
- * return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) {
- * return $('input', td).val();
- * } );
- * }
- */
- order: {},
-
-
- /**
- * Type based plug-ins.
- *
- * Each column in DataTables has a type assigned to it, either by automatic
- * detection or by direct assignment using the `type` option for the column.
- * The type of a column will effect how it is ordering and search (plug-ins
- * can also make use of the column type if required).
- *
- * @namespace
- */
- type: {
- /**
- * Type detection functions.
- *
- * The functions defined in this object are used to automatically detect
- * a column's type, making initialisation of DataTables super easy, even
- * when complex data is in the table.
- *
- * The functions defined take two parameters:
- *
- * 1. `{*}` Data from the column cell to be analysed
- * 2. `{settings}` DataTables settings object. This can be used to
- * perform context specific type detection - for example detection
- * based on language settings such as using a comma for a decimal
- * place. Generally speaking the options from the settings will not
- * be required
- *
- * Each function is expected to return:
- *
- * * `{string|null}` Data type detected, or null if unknown (and thus
- * pass it on to the other type detection functions.
- *
- * @type array
- *
- * @example
- * // Currency type detection plug-in:
- * $.fn.dataTable.ext.type.detect.push(
- * function ( data, settings ) {
- * // Check the numeric part
- * if ( ! $.isNumeric( data.substring(1) ) ) {
- * return null;
- * }
- *
- * // Check prefixed by currency
- * if ( data.charAt(0) == '$' || data.charAt(0) == '&pound;' ) {
- * return 'currency';
- * }
- * return null;
- * }
- * );
- */
- detect: [],
-
-
- /**
- * Type based search formatting.
- *
- * The type based searching functions can be used to pre-format the
- * data to be search on. For example, it can be used to strip HTML
- * tags or to de-format telephone numbers for numeric only searching.
- *
- * Note that is a search is not defined for a column of a given type,
- * no search formatting will be performed.
- *
- * Pre-processing of searching data plug-ins - When you assign the sType
- * for a column (or have it automatically detected for you by DataTables
- * or a type detection plug-in), you will typically be using this for
- * custom sorting, but it can also be used to provide custom searching
- * by allowing you to pre-processing the data and returning the data in
- * the format that should be searched upon. This is done by adding
- * functions this object with a parameter name which matches the sType
- * for that target column. This is the corollary of <i>afnSortData</i>
- * for searching data.
- *
- * The functions defined take a single parameter:
- *
- * 1. `{*}` Data from the column cell to be prepared for searching
- *
- * Each function is expected to return:
- *
- * * `{string|null}` Formatted string that will be used for the searching.
- *
- * @type object
- * @default {}
- *
- * @example
- * $.fn.dataTable.ext.type.search['title-numeric'] = function ( d ) {
- * return d.replace(/\n/g," ").replace( /<.*?>/g, "" );
- * }
- */
- search: {},
-
-
- /**
- * Type based ordering.
- *
- * The column type tells DataTables what ordering to apply to the table
- * when a column is sorted upon. The order for each type that is defined,
- * is defined by the functions available in this object.
- *
- * Each ordering option can be described by three properties added to
- * this object:
- *
- * * `{type}-pre` - Pre-formatting function
- * * `{type}-asc` - Ascending order function
- * * `{type}-desc` - Descending order function
- *
- * All three can be used together, only `{type}-pre` or only
- * `{type}-asc` and `{type}-desc` together. It is generally recommended
- * that only `{type}-pre` is used, as this provides the optimal
- * implementation in terms of speed, although the others are provided
- * for compatibility with existing Javascript sort functions.
- *
- * `{type}-pre`: Functions defined take a single parameter:
- *
- * 1. `{*}` Data from the column cell to be prepared for ordering
- *
- * And return:
- *
- * * `{*}` Data to be sorted upon
- *
- * `{type}-asc` and `{type}-desc`: Functions are typical Javascript sort
- * functions, taking two parameters:
- *
- * 1. `{*}` Data to compare to the second parameter
- * 2. `{*}` Data to compare to the first parameter
- *
- * And returning:
- *
- * * `{*}` Ordering match: <0 if first parameter should be sorted lower
- * than the second parameter, ===0 if the two parameters are equal and
- * >0 if the first parameter should be sorted height than the second
- * parameter.
- *
- * @type object
- * @default {}
- *
- * @example
- * // Numeric ordering of formatted numbers with a pre-formatter
- * $.extend( $.fn.dataTable.ext.type.order, {
- * "string-pre": function(x) {
- * a = (a === "-" || a === "") ? 0 : a.replace( /[^\d\-\.]/g, "" );
- * return parseFloat( a );
- * }
- * } );
- *
- * @example
- * // Case-sensitive string ordering, with no pre-formatting method
- * $.extend( $.fn.dataTable.ext.order, {
- * "string-case-asc": function(x,y) {
- * return ((x < y) ? -1 : ((x > y) ? 1 : 0));
- * },
- * "string-case-desc": function(x,y) {
- * return ((x < y) ? 1 : ((x > y) ? -1 : 0));
- * }
- * } );
- */
- order: {}
- },
-
- /**
- * Unique DataTables instance counter
- *
- * @type int
- * @private
- */
- _unique: 0,
-
-
- //
- // Depreciated
- // The following properties are retained for backwards compatiblity only.
- // The should not be used in new projects and will be removed in a future
- // version
- //
-
- /**
- * Version check function.
- * @type function
- * @depreciated Since 1.10
- */
- fnVersionCheck: DataTable.fnVersionCheck,
-
-
- /**
- * Index for what 'this' index API functions should use
- * @type int
- * @deprecated Since v1.10
- */
- iApiIndex: 0,
-
-
- /**
- * jQuery UI class container
- * @type object
- * @deprecated Since v1.10
- */
- oJUIClasses: {},
-
-
- /**
- * Software version
- * @type string
- * @deprecated Since v1.10
- */
- sVersion: DataTable.version
- };
-
-
- //
- // Backwards compatibility. Alias to pre 1.10 Hungarian notation counter parts
- //
- $.extend( _ext, {
- afnFiltering: _ext.search,
- aTypes: _ext.type.detect,
- ofnSearch: _ext.type.search,
- oSort: _ext.type.order,
- afnSortData: _ext.order,
- aoFeatures: _ext.feature,
- oApi: _ext.internal,
- oStdClasses: _ext.classes,
- oPagination: _ext.pager
- } );
-
-
- $.extend( DataTable.ext.classes, {
- "sTable": "dataTable",
- "sNoFooter": "no-footer",
-
- /* Paging buttons */
- "sPageButton": "paginate_button",
- "sPageButtonActive": "current",
- "sPageButtonDisabled": "disabled",
-
- /* Striping classes */
- "sStripeOdd": "odd",
- "sStripeEven": "even",
-
- /* Empty row */
- "sRowEmpty": "dataTables_empty",
-
- /* Features */
- "sWrapper": "dataTables_wrapper",
- "sFilter": "dataTables_filter",
- "sInfo": "dataTables_info",
- "sPaging": "dataTables_paginate paging_", /* Note that the type is postfixed */
- "sLength": "dataTables_length",
- "sProcessing": "dataTables_processing",
-
- /* Sorting */
- "sSortAsc": "sorting_asc",
- "sSortDesc": "sorting_desc",
- "sSortable": "sorting", /* Sortable in both directions */
- "sSortableAsc": "sorting_asc_disabled",
- "sSortableDesc": "sorting_desc_disabled",
- "sSortableNone": "sorting_disabled",
- "sSortColumn": "sorting_", /* Note that an int is postfixed for the sorting order */
-
- /* Filtering */
- "sFilterInput": "",
-
- /* Page length */
- "sLengthSelect": "",
-
- /* Scrolling */
- "sScrollWrapper": "dataTables_scroll",
- "sScrollHead": "dataTables_scrollHead",
- "sScrollHeadInner": "dataTables_scrollHeadInner",
- "sScrollBody": "dataTables_scrollBody",
- "sScrollFoot": "dataTables_scrollFoot",
- "sScrollFootInner": "dataTables_scrollFootInner",
-
- /* Misc */
- "sHeaderTH": "",
- "sFooterTH": "",
-
- // Deprecated
- "sSortJUIAsc": "",
- "sSortJUIDesc": "",
- "sSortJUI": "",
- "sSortJUIAscAllowed": "",
- "sSortJUIDescAllowed": "",
- "sSortJUIWrapper": "",
- "sSortIcon": "",
- "sJUIHeader": "",
- "sJUIFooter": ""
- } );
-
-
- (function() {
-
- // Reused strings for better compression. Closure compiler appears to have a
- // weird edge case where it is trying to expand strings rather than use the
- // variable version. This results in about 200 bytes being added, for very
- // little preference benefit since it this run on script load only.
- var _empty = '';
- _empty = '';
-
- var _stateDefault = _empty + 'ui-state-default';
- var _sortIcon = _empty + 'css_right ui-icon ui-icon-';
- var _headerFooter = _empty + 'fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix';
-
- $.extend( DataTable.ext.oJUIClasses, DataTable.ext.classes, {
- /* Full numbers paging buttons */
- "sPageButton": "fg-button ui-button "+_stateDefault,
- "sPageButtonActive": "ui-state-disabled",
- "sPageButtonDisabled": "ui-state-disabled",
-
- /* Features */
- "sPaging": "dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi "+
- "ui-buttonset-multi paging_", /* Note that the type is postfixed */
-
- /* Sorting */
- "sSortAsc": _stateDefault+" sorting_asc",
- "sSortDesc": _stateDefault+" sorting_desc",
- "sSortable": _stateDefault+" sorting",
- "sSortableAsc": _stateDefault+" sorting_asc_disabled",
- "sSortableDesc": _stateDefault+" sorting_desc_disabled",
- "sSortableNone": _stateDefault+" sorting_disabled",
- "sSortJUIAsc": _sortIcon+"triangle-1-n",
- "sSortJUIDesc": _sortIcon+"triangle-1-s",
- "sSortJUI": _sortIcon+"carat-2-n-s",
- "sSortJUIAscAllowed": _sortIcon+"carat-1-n",
- "sSortJUIDescAllowed": _sortIcon+"carat-1-s",
- "sSortJUIWrapper": "DataTables_sort_wrapper",
- "sSortIcon": "DataTables_sort_icon",
-
- /* Scrolling */
- "sScrollHead": "dataTables_scrollHead "+_stateDefault,
- "sScrollFoot": "dataTables_scrollFoot "+_stateDefault,
-
- /* Misc */
- "sHeaderTH": _stateDefault,
- "sFooterTH": _stateDefault,
- "sJUIHeader": _headerFooter+" ui-corner-tl ui-corner-tr",
- "sJUIFooter": _headerFooter+" ui-corner-bl ui-corner-br"
- } );
-
- }());
-
-
-
- var extPagination = DataTable.ext.pager;
-
- function _numbers ( page, pages ) {
- var
- numbers = [],
- buttons = extPagination.numbers_length,
- half = Math.floor( buttons / 2 ),
- i = 1;
-
- if ( pages <= buttons ) {
- numbers = _range( 0, pages );
- }
- else if ( page <= half ) {
- numbers = _range( 0, buttons-2 );
- numbers.push( 'ellipsis' );
- numbers.push( pages-1 );
- }
- else if ( page >= pages - 1 - half ) {
- numbers = _range( pages-(buttons-2), pages );
- numbers.splice( 0, 0, 'ellipsis' ); // no unshift in ie6
- numbers.splice( 0, 0, 0 );
- }
- else {
- numbers = _range( page-half+2, page+half-1 );
- numbers.push( 'ellipsis' );
- numbers.push( pages-1 );
- numbers.splice( 0, 0, 'ellipsis' );
- numbers.splice( 0, 0, 0 );
- }
-
- numbers.DT_el = 'span';
- return numbers;
- }
-
-
- $.extend( extPagination, {
- simple: function ( page, pages ) {
- return [ 'previous', 'next' ];
- },
-
- full: function ( page, pages ) {
- return [ 'first', 'previous', 'next', 'last' ];
- },
-
- numbers: function ( page, pages ) {
- return [ _numbers(page, pages) ];
- },
-
- simple_numbers: function ( page, pages ) {
- return [ 'previous', _numbers(page, pages), 'next' ];
- },
-
- full_numbers: function ( page, pages ) {
- return [ 'first', 'previous', _numbers(page, pages), 'next', 'last' ];
- },
-
- // For testing and plug-ins to use
- _numbers: _numbers,
-
- // Number of number buttons (including ellipsis) to show. _Must be odd!_
- numbers_length: 7
- } );
-
-
- $.extend( true, DataTable.ext.renderer, {
- pageButton: {
- _: function ( settings, host, idx, buttons, page, pages ) {
- var classes = settings.oClasses;
- var lang = settings.oLanguage.oPaginate;
- var aria = settings.oLanguage.oAria.paginate || {};
- var btnDisplay, btnClass, counter=0;
-
- var attach = function( container, buttons ) {
- var i, ien, node, button;
- var clickHandler = function ( e ) {
- _fnPageChange( settings, e.data.action, true );
- };
-
- for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
- button = buttons[i];
-
- if ( $.isArray( button ) ) {
- var inner = $( '<'+(button.DT_el || 'div')+'/>' )
- .appendTo( container );
- attach( inner, button );
- }
- else {
- btnDisplay = null;
- btnClass = '';
-
- switch ( button ) {
- case 'ellipsis':
- container.append('<span class="ellipsis">&#x2026;</span>');
- break;
-
- case 'first':
- btnDisplay = lang.sFirst;
- btnClass = button + (page > 0 ?
- '' : ' '+classes.sPageButtonDisabled);
- break;
-
- case 'previous':
- btnDisplay = lang.sPrevious;
- btnClass = button + (page > 0 ?
- '' : ' '+classes.sPageButtonDisabled);
- break;
-
- case 'next':
- btnDisplay = lang.sNext;
- btnClass = button + (page < pages-1 ?
- '' : ' '+classes.sPageButtonDisabled);
- break;
-
- case 'last':
- btnDisplay = lang.sLast;
- btnClass = button + (page < pages-1 ?
- '' : ' '+classes.sPageButtonDisabled);
- break;
-
- default:
- btnDisplay = button + 1;
- btnClass = page === button ?
- classes.sPageButtonActive : '';
- break;
- }
-
- if ( btnDisplay !== null ) {
- node = $('<a>', {
- 'class': classes.sPageButton+' '+btnClass,
- 'aria-controls': settings.sTableId,
- 'aria-label': aria[ button ],
- 'data-dt-idx': counter,
- 'tabindex': settings.iTabIndex,
- 'id': idx === 0 && typeof button === 'string' ?
- settings.sTableId +'_'+ button :
- null
- } )
- .html( btnDisplay )
- .appendTo( container );
-
- _fnBindAction(
- node, {action: button}, clickHandler
- );
-
- counter++;
- }
- }
- }
- };
-
- // IE9 throws an 'unknown error' if document.activeElement is used
- // inside an iframe or frame. Try / catch the error. Not good for
- // accessibility, but neither are frames.
- var activeEl;
-
- try {
- // Because this approach is destroying and recreating the paging
- // elements, focus is lost on the select button which is bad for
- // accessibility. So we want to restore focus once the draw has
- // completed
- activeEl = $(host).find(document.activeElement).data('dt-idx');
- }
- catch (e) {}
-
- attach( $(host).empty(), buttons );
-
- if ( activeEl ) {
- $(host).find( '[data-dt-idx='+activeEl+']' ).focus();
- }
- }
- }
- } );
-
-
-
- // Built in type detection. See model.ext.aTypes for information about
- // what is required from this methods.
- $.extend( DataTable.ext.type.detect, [
- // Plain numbers - first since V8 detects some plain numbers as dates
- // e.g. Date.parse('55') (but not all, e.g. Date.parse('22')...).
- function ( d, settings )
- {
- var decimal = settings.oLanguage.sDecimal;
- return _isNumber( d, decimal ) ? 'num'+decimal : null;
- },
-
- // Dates (only those recognised by the browser's Date.parse)
- function ( d, settings )
- {
- // V8 will remove any unknown characters at the start and end of the
- // expression, leading to false matches such as `$245.12` or `10%` being
- // a valid date. See forum thread 18941 for detail.
- if ( d && !(d instanceof Date) && ( ! _re_date_start.test(d) || ! _re_date_end.test(d) ) ) {
- return null;
- }
- var parsed = Date.parse(d);
- return (parsed !== null && !isNaN(parsed)) || _empty(d) ? 'date' : null;
- },
-
- // Formatted numbers
- function ( d, settings )
- {
- var decimal = settings.oLanguage.sDecimal;
- return _isNumber( d, decimal, true ) ? 'num-fmt'+decimal : null;
- },
-
- // HTML numeric
- function ( d, settings )
- {
- var decimal = settings.oLanguage.sDecimal;
- return _htmlNumeric( d, decimal ) ? 'html-num'+decimal : null;
- },
-
- // HTML numeric, formatted
- function ( d, settings )
- {
- var decimal = settings.oLanguage.sDecimal;
- return _htmlNumeric( d, decimal, true ) ? 'html-num-fmt'+decimal : null;
- },
-
- // HTML (this is strict checking - there must be html)
- function ( d, settings )
- {
- return _empty( d ) || (typeof d === 'string' && d.indexOf('<') !== -1) ?
- 'html' : null;
- }
- ] );
-
-
-
- // Filter formatting functions. See model.ext.ofnSearch for information about
- // what is required from these methods.
- //
- // Note that additional search methods are added for the html numbers and
- // html formatted numbers by `_addNumericSort()` when we know what the decimal
- // place is
-
-
- $.extend( DataTable.ext.type.search, {
- html: function ( data ) {
- return _empty(data) ?
- data :
- typeof data === 'string' ?
- data
- .replace( _re_new_lines, " " )
- .replace( _re_html, "" ) :
- '';
- },
-
- string: function ( data ) {
- return _empty(data) ?
- data :
- typeof data === 'string' ?
- data.replace( _re_new_lines, " " ) :
- data;
- }
- } );
-
-
-
- var __numericReplace = function ( d, decimalPlace, re1, re2 ) {
- if ( d !== 0 && (!d || d === '-') ) {
- return -Infinity;
- }
-
- // If a decimal place other than `.` is used, it needs to be given to the
- // function so we can detect it and replace with a `.` which is the only
- // decimal place Javascript recognises - it is not locale aware.
- if ( decimalPlace ) {
- d = _numToDecimal( d, decimalPlace );
- }
-
- if ( d.replace ) {
- if ( re1 ) {
- d = d.replace( re1, '' );
- }
-
- if ( re2 ) {
- d = d.replace( re2, '' );
- }
- }
-
- return d * 1;
- };
-
-
- // Add the numeric 'deformatting' functions for sorting and search. This is done
- // in a function to provide an easy ability for the language options to add
- // additional methods if a non-period decimal place is used.
- function _addNumericSort ( decimalPlace ) {
- $.each(
- {
- // Plain numbers
- "num": function ( d ) {
- return __numericReplace( d, decimalPlace );
- },
-
- // Formatted numbers
- "num-fmt": function ( d ) {
- return __numericReplace( d, decimalPlace, _re_formatted_numeric );
- },
-
- // HTML numeric
- "html-num": function ( d ) {
- return __numericReplace( d, decimalPlace, _re_html );
- },
-
- // HTML numeric, formatted
- "html-num-fmt": function ( d ) {
- return __numericReplace( d, decimalPlace, _re_html, _re_formatted_numeric );
- }
- },
- function ( key, fn ) {
- // Add the ordering method
- _ext.type.order[ key+decimalPlace+'-pre' ] = fn;
-
- // For HTML types add a search formatter that will strip the HTML
- if ( key.match(/^html\-/) ) {
- _ext.type.search[ key+decimalPlace ] = _ext.type.search.html;
- }
- }
- );
- }
-
-
- // Default sort methods
- $.extend( _ext.type.order, {
- // Dates
- "date-pre": function ( d ) {
- return Date.parse( d ) || 0;
- },
-
- // html
- "html-pre": function ( a ) {
- return _empty(a) ?
- '' :
- a.replace ?
- a.replace( /<.*?>/g, "" ).toLowerCase() :
- a+'';
- },
-
- // string
- "string-pre": function ( a ) {
- // This is a little complex, but faster than always calling toString,
- // http://jsperf.com/tostring-v-check
- return _empty(a) ?
- '' :
- typeof a === 'string' ?
- a.toLowerCase() :
- ! a.toString ?
- '' :
- a.toString();
- },
-
- // string-asc and -desc are retained only for compatibility with the old
- // sort methods
- "string-asc": function ( x, y ) {
- return ((x < y) ? -1 : ((x > y) ? 1 : 0));
- },
-
- "string-desc": function ( x, y ) {
- return ((x < y) ? 1 : ((x > y) ? -1 : 0));
- }
- } );
-
-
- // Numeric sorting types - order doesn't matter here
- _addNumericSort( '' );
-
-
- $.extend( true, DataTable.ext.renderer, {
- header: {
- _: function ( settings, cell, column, classes ) {
- // No additional mark-up required
- // Attach a sort listener to update on sort - note that using the
- // `DT` namespace will allow the event to be removed automatically
- // on destroy, while the `dt` namespaced event is the one we are
- // listening for
- $(settings.nTable).on( 'order.dt.DT', function ( e, ctx, sorting, columns ) {
- if ( settings !== ctx ) { // need to check this this is the host
- return; // table, not a nested one
- }
-
- var colIdx = column.idx;
-
- cell
- .removeClass(
- column.sSortingClass +' '+
- classes.sSortAsc +' '+
- classes.sSortDesc
- )
- .addClass( columns[ colIdx ] == 'asc' ?
- classes.sSortAsc : columns[ colIdx ] == 'desc' ?
- classes.sSortDesc :
- column.sSortingClass
- );
- } );
- },
-
- jqueryui: function ( settings, cell, column, classes ) {
- $('<div/>')
- .addClass( classes.sSortJUIWrapper )
- .append( cell.contents() )
- .append( $('<span/>')
- .addClass( classes.sSortIcon+' '+column.sSortingClassJUI )
- )
- .appendTo( cell );
-
- // Attach a sort listener to update on sort
- $(settings.nTable).on( 'order.dt.DT', function ( e, ctx, sorting, columns ) {
- if ( settings !== ctx ) {
- return;
- }
-
- var colIdx = column.idx;
-
- cell
- .removeClass( classes.sSortAsc +" "+classes.sSortDesc )
- .addClass( columns[ colIdx ] == 'asc' ?
- classes.sSortAsc : columns[ colIdx ] == 'desc' ?
- classes.sSortDesc :
- column.sSortingClass
- );
-
- cell
- .find( 'span.'+classes.sSortIcon )
- .removeClass(
- classes.sSortJUIAsc +" "+
- classes.sSortJUIDesc +" "+
- classes.sSortJUI +" "+
- classes.sSortJUIAscAllowed +" "+
- classes.sSortJUIDescAllowed
- )
- .addClass( columns[ colIdx ] == 'asc' ?
- classes.sSortJUIAsc : columns[ colIdx ] == 'desc' ?
- classes.sSortJUIDesc :
- column.sSortingClassJUI
- );
- } );
- }
- }
- } );
-
- /*
- * Public helper functions. These aren't used internally by DataTables, or
- * called by any of the options passed into DataTables, but they can be used
- * externally by developers working with DataTables. They are helper functions
- * to make working with DataTables a little bit easier.
- */
-
- var __htmlEscapeEntities = function ( d ) {
- return typeof d === 'string' ?
- d.replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;') :
- d;
- };
-
- /**
- * Helpers for `columns.render`.
- *
- * The options defined here can be used with the `columns.render` initialisation
- * option to provide a display renderer. The following functions are defined:
- *
- * * `number` - Will format numeric data (defined by `columns.data`) for
- * display, retaining the original unformatted data for sorting and filtering.
- * It takes 5 parameters:
- * * `string` - Thousands grouping separator
- * * `string` - Decimal point indicator
- * * `integer` - Number of decimal points to show
- * * `string` (optional) - Prefix.
- * * `string` (optional) - Postfix (/suffix).
- * * `text` - Escape HTML to help prevent XSS attacks. It has no optional
- * parameters.
- *
- * @example
- * // Column definition using the number renderer
- * {
- * data: "salary",
- * render: $.fn.dataTable.render.number( '\'', '.', 0, '$' )
- * }
- *
- * @namespace
- */
- DataTable.render = {
- number: function ( thousands, decimal, precision, prefix, postfix ) {
- return {
- display: function ( d ) {
- if ( typeof d !== 'number' && typeof d !== 'string' ) {
- return d;
- }
-
- var negative = d < 0 ? '-' : '';
- var flo = parseFloat( d );
-
- // If NaN then there isn't much formatting that we can do - just
- // return immediately, escaping any HTML (this was supposed to
- // be a number after all)
- if ( isNaN( flo ) ) {
- return __htmlEscapeEntities( d );
- }
-
- d = Math.abs( flo );
-
- var intPart = parseInt( d, 10 );
- var floatPart = precision ?
- decimal+(d - intPart).toFixed( precision ).substring( 2 ):
- '';
-
- return negative + (prefix||'') +
- intPart.toString().replace(
- /\B(?=(\d{3})+(?!\d))/g, thousands
- ) +
- floatPart +
- (postfix||'');
- }
- };
- },
-
- text: function () {
- return {
- display: __htmlEscapeEntities
- };
- }
- };
-
-
- /*
- * This is really a good bit rubbish this method of exposing the internal methods
- * publicly... - To be fixed in 2.0 using methods on the prototype
- */
-
-
- /**
- * Create a wrapper function for exporting an internal functions to an external API.
- * @param {string} fn API function name
- * @returns {function} wrapped function
- * @memberof DataTable#internal
- */
- function _fnExternApiFunc (fn)
- {
- return function() {
- var args = [_fnSettingsFromNode( this[DataTable.ext.iApiIndex] )].concat(
- Array.prototype.slice.call(arguments)
- );
- return DataTable.ext.internal[fn].apply( this, args );
- };
- }
-
-
- /**
- * Reference to internal functions for use by plug-in developers. Note that
- * these methods are references to internal functions and are considered to be
- * private. If you use these methods, be aware that they are liable to change
- * between versions.
- * @namespace
- */
- $.extend( DataTable.ext.internal, {
- _fnExternApiFunc: _fnExternApiFunc,
- _fnBuildAjax: _fnBuildAjax,
- _fnAjaxUpdate: _fnAjaxUpdate,
- _fnAjaxParameters: _fnAjaxParameters,
- _fnAjaxUpdateDraw: _fnAjaxUpdateDraw,
- _fnAjaxDataSrc: _fnAjaxDataSrc,
- _fnAddColumn: _fnAddColumn,
- _fnColumnOptions: _fnColumnOptions,
- _fnAdjustColumnSizing: _fnAdjustColumnSizing,
- _fnVisibleToColumnIndex: _fnVisibleToColumnIndex,
- _fnColumnIndexToVisible: _fnColumnIndexToVisible,
- _fnVisbleColumns: _fnVisbleColumns,
- _fnGetColumns: _fnGetColumns,
- _fnColumnTypes: _fnColumnTypes,
- _fnApplyColumnDefs: _fnApplyColumnDefs,
- _fnHungarianMap: _fnHungarianMap,
- _fnCamelToHungarian: _fnCamelToHungarian,
- _fnLanguageCompat: _fnLanguageCompat,
- _fnBrowserDetect: _fnBrowserDetect,
- _fnAddData: _fnAddData,
- _fnAddTr: _fnAddTr,
- _fnNodeToDataIndex: _fnNodeToDataIndex,
- _fnNodeToColumnIndex: _fnNodeToColumnIndex,
- _fnGetCellData: _fnGetCellData,
- _fnSetCellData: _fnSetCellData,
- _fnSplitObjNotation: _fnSplitObjNotation,
- _fnGetObjectDataFn: _fnGetObjectDataFn,
- _fnSetObjectDataFn: _fnSetObjectDataFn,
- _fnGetDataMaster: _fnGetDataMaster,
- _fnClearTable: _fnClearTable,
- _fnDeleteIndex: _fnDeleteIndex,
- _fnInvalidate: _fnInvalidate,
- _fnGetRowElements: _fnGetRowElements,
- _fnCreateTr: _fnCreateTr,
- _fnBuildHead: _fnBuildHead,
- _fnDrawHead: _fnDrawHead,
- _fnDraw: _fnDraw,
- _fnReDraw: _fnReDraw,
- _fnAddOptionsHtml: _fnAddOptionsHtml,
- _fnDetectHeader: _fnDetectHeader,
- _fnGetUniqueThs: _fnGetUniqueThs,
- _fnFeatureHtmlFilter: _fnFeatureHtmlFilter,
- _fnFilterComplete: _fnFilterComplete,
- _fnFilterCustom: _fnFilterCustom,
- _fnFilterColumn: _fnFilterColumn,
- _fnFilter: _fnFilter,
- _fnFilterCreateSearch: _fnFilterCreateSearch,
- _fnEscapeRegex: _fnEscapeRegex,
- _fnFilterData: _fnFilterData,
- _fnFeatureHtmlInfo: _fnFeatureHtmlInfo,
- _fnUpdateInfo: _fnUpdateInfo,
- _fnInfoMacros: _fnInfoMacros,
- _fnInitialise: _fnInitialise,
- _fnInitComplete: _fnInitComplete,
- _fnLengthChange: _fnLengthChange,
- _fnFeatureHtmlLength: _fnFeatureHtmlLength,
- _fnFeatureHtmlPaginate: _fnFeatureHtmlPaginate,
- _fnPageChange: _fnPageChange,
- _fnFeatureHtmlProcessing: _fnFeatureHtmlProcessing,
- _fnProcessingDisplay: _fnProcessingDisplay,
- _fnFeatureHtmlTable: _fnFeatureHtmlTable,
- _fnScrollDraw: _fnScrollDraw,
- _fnApplyToChildren: _fnApplyToChildren,
- _fnCalculateColumnWidths: _fnCalculateColumnWidths,
- _fnThrottle: _fnThrottle,
- _fnConvertToWidth: _fnConvertToWidth,
- _fnGetWidestNode: _fnGetWidestNode,
- _fnGetMaxLenString: _fnGetMaxLenString,
- _fnStringToCss: _fnStringToCss,
- _fnSortFlatten: _fnSortFlatten,
- _fnSort: _fnSort,
- _fnSortAria: _fnSortAria,
- _fnSortListener: _fnSortListener,
- _fnSortAttachListener: _fnSortAttachListener,
- _fnSortingClasses: _fnSortingClasses,
- _fnSortData: _fnSortData,
- _fnSaveState: _fnSaveState,
- _fnLoadState: _fnLoadState,
- _fnSettingsFromNode: _fnSettingsFromNode,
- _fnLog: _fnLog,
- _fnMap: _fnMap,
- _fnBindAction: _fnBindAction,
- _fnCallbackReg: _fnCallbackReg,
- _fnCallbackFire: _fnCallbackFire,
- _fnLengthOverflow: _fnLengthOverflow,
- _fnRenderer: _fnRenderer,
- _fnDataSource: _fnDataSource,
- _fnRowAttributes: _fnRowAttributes,
- _fnCalculateEnd: function () {} // Used by a lot of plug-ins, but redundant
- // in 1.10, so this dead-end function is
- // added to prevent errors
- } );
-
-
- // jQuery access
- $.fn.dataTable = DataTable;
-
- // Provide access to the host jQuery object (circular reference)
- DataTable.$ = $;
-
- // Legacy aliases
- $.fn.dataTableSettings = DataTable.settings;
- $.fn.dataTableExt = DataTable.ext;
-
- // With a capital `D` we return a DataTables API instance rather than a
- // jQuery object
- $.fn.DataTable = function ( opts ) {
- return $(this).dataTable( opts ).api();
- };
-
- // All properties that are available to $.fn.dataTable should also be
- // available on $.fn.DataTable
- $.each( DataTable, function ( prop, val ) {
- $.fn.DataTable[ prop ] = val;
- } );
-
-
- // Information about events fired by DataTables - for documentation.
- /**
- * Draw event, fired whenever the table is redrawn on the page, at the same
- * point as fnDrawCallback. This may be useful for binding events or
- * performing calculations when the table is altered at all.
- * @name DataTable#draw.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} o DataTables settings object {@link DataTable.models.oSettings}
- */
-
- /**
- * Search event, fired when the searching applied to the table (using the
- * built-in global search, or column filters) is altered.
- * @name DataTable#search.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} o DataTables settings object {@link DataTable.models.oSettings}
- */
-
- /**
- * Page change event, fired when the paging of the table is altered.
- * @name DataTable#page.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} o DataTables settings object {@link DataTable.models.oSettings}
- */
-
- /**
- * Order event, fired when the ordering applied to the table is altered.
- * @name DataTable#order.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} o DataTables settings object {@link DataTable.models.oSettings}
- */
-
- /**
- * DataTables initialisation complete event, fired when the table is fully
- * drawn, including Ajax data loaded, if Ajax data is required.
- * @name DataTable#init.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} oSettings DataTables settings object
- * @param {object} json The JSON object request from the server - only
- * present if client-side Ajax sourced data is used</li></ol>
- */
-
- /**
- * State save event, fired when the table has changed state a new state save
- * is required. This event allows modification of the state saving object
- * prior to actually doing the save, including addition or other state
- * properties (for plug-ins) or modification of a DataTables core property.
- * @name DataTable#stateSaveParams.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} oSettings DataTables settings object
- * @param {object} json The state information to be saved
- */
-
- /**
- * State load event, fired when the table is loading state from the stored
- * data, but prior to the settings object being modified by the saved state
- * - allowing modification of the saved state is required or loading of
- * state for a plug-in.
- * @name DataTable#stateLoadParams.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} oSettings DataTables settings object
- * @param {object} json The saved state information
- */
-
- /**
- * State loaded event, fired when state has been loaded from stored data and
- * the settings object has been modified by the loaded data.
- * @name DataTable#stateLoaded.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} oSettings DataTables settings object
- * @param {object} json The saved state information
- */
-
- /**
- * Processing event, fired when DataTables is doing some kind of processing
- * (be it, order, searcg or anything else). It can be used to indicate to
- * the end user that there is something happening, or that something has
- * finished.
- * @name DataTable#processing.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} oSettings DataTables settings object
- * @param {boolean} bShow Flag for if DataTables is doing processing or not
- */
-
- /**
- * Ajax (XHR) event, fired whenever an Ajax request is completed from a
- * request to made to the server for new data. This event is called before
- * DataTables processed the returned data, so it can also be used to pre-
- * process the data returned from the server, if needed.
- *
- * Note that this trigger is called in `fnServerData`, if you override
- * `fnServerData` and which to use this event, you need to trigger it in you
- * success function.
- * @name DataTable#xhr.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} o DataTables settings object {@link DataTable.models.oSettings}
- * @param {object} json JSON returned from the server
- *
- * @example
- * // Use a custom property returned from the server in another DOM element
- * $('#table').dataTable().on('xhr.dt', function (e, settings, json) {
- * $('#status').html( json.status );
- * } );
- *
- * @example
- * // Pre-process the data returned from the server
- * $('#table').dataTable().on('xhr.dt', function (e, settings, json) {
- * for ( var i=0, ien=json.aaData.length ; i<ien ; i++ ) {
- * json.aaData[i].sum = json.aaData[i].one + json.aaData[i].two;
- * }
- * // Note no return - manipulate the data directly in the JSON object.
- * } );
- */
-
- /**
- * Destroy event, fired when the DataTable is destroyed by calling fnDestroy
- * or passing the bDestroy:true parameter in the initialisation object. This
- * can be used to remove bound events, added DOM nodes, etc.
- * @name DataTable#destroy.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} o DataTables settings object {@link DataTable.models.oSettings}
- */
-
- /**
- * Page length change event, fired when number of records to show on each
- * page (the length) is changed.
- * @name DataTable#length.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} o DataTables settings object {@link DataTable.models.oSettings}
- * @param {integer} len New length
- */
-
- /**
- * Column sizing has changed.
- * @name DataTable#column-sizing.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} o DataTables settings object {@link DataTable.models.oSettings}
- */
-
- /**
- * Column visibility has changed.
- * @name DataTable#column-visibility.dt
- * @event
- * @param {event} e jQuery event object
- * @param {object} o DataTables settings object {@link DataTable.models.oSettings}
- * @param {int} column Column index
- * @param {bool} vis `false` if column now hidden, or `true` if visible
- */
-
- return $.fn.dataTable;
-}));
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/jquery.dataTables.min.js b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/jquery.dataTables.min.js
deleted file mode 100644
index 1280adf7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/jquery.dataTables.min.js
+++ /dev/null
@@ -1,166 +0,0 @@
-/*!
- DataTables 1.10.11
- ©2008-2015 SpryMedia Ltd - datatables.net/license
-*/
-(function(h){"function"===typeof define&&define.amd?define(["jquery"],function(D){return h(D,window,document)}):"object"===typeof exports?module.exports=function(D,I){D||(D=window);I||(I="undefined"!==typeof window?require("jquery"):require("jquery")(D));return h(I,D,D.document)}:h(jQuery,window,document)})(function(h,D,I,k){function Y(a){var b,c,d={};h.each(a,function(e){if((b=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(b[1]+" "))c=e.replace(b[0],b[2].toLowerCase()),
-d[c]=e,"o"===b[1]&&Y(a[e])});a._hungarianMap=d}function K(a,b,c){a._hungarianMap||Y(a);var d;h.each(b,function(e){d=a._hungarianMap[e];if(d!==k&&(c||b[d]===k))"o"===d.charAt(0)?(b[d]||(b[d]={}),h.extend(!0,b[d],b[e]),K(a[d],b[d],c)):b[d]=b[e]})}function Fa(a){var b=m.defaults.oLanguage,c=a.sZeroRecords;!a.sEmptyTable&&(c&&"No data available in table"===b.sEmptyTable)&&E(a,a,"sZeroRecords","sEmptyTable");!a.sLoadingRecords&&(c&&"Loading..."===b.sLoadingRecords)&&E(a,a,"sZeroRecords","sLoadingRecords");
-a.sInfoThousands&&(a.sThousands=a.sInfoThousands);(a=a.sDecimal)&&db(a)}function eb(a){A(a,"ordering","bSort");A(a,"orderMulti","bSortMulti");A(a,"orderClasses","bSortClasses");A(a,"orderCellsTop","bSortCellsTop");A(a,"order","aaSorting");A(a,"orderFixed","aaSortingFixed");A(a,"paging","bPaginate");A(a,"pagingType","sPaginationType");A(a,"pageLength","iDisplayLength");A(a,"searching","bFilter");"boolean"===typeof a.sScrollX&&(a.sScrollX=a.sScrollX?"100%":"");"boolean"===typeof a.scrollX&&(a.scrollX=
-a.scrollX?"100%":"");if(a=a.aoSearchCols)for(var b=0,c=a.length;b<c;b++)a[b]&&K(m.models.oSearch,a[b])}function fb(a){A(a,"orderable","bSortable");A(a,"orderData","aDataSort");A(a,"orderSequence","asSorting");A(a,"orderDataType","sortDataType");var b=a.aDataSort;b&&!h.isArray(b)&&(a.aDataSort=[b])}function gb(a){if(!m.__browser){var b={};m.__browser=b;var c=h("<div/>").css({position:"fixed",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(h("<div/>").css({position:"absolute",top:1,left:1,
-width:100,overflow:"scroll"}).append(h("<div/>").css({width:"100%",height:10}))).appendTo("body"),d=c.children(),e=d.children();b.barWidth=d[0].offsetWidth-d[0].clientWidth;b.bScrollOversize=100===e[0].offsetWidth&&100!==d[0].clientWidth;b.bScrollbarLeft=1!==Math.round(e.offset().left);b.bBounding=c[0].getBoundingClientRect().width?!0:!1;c.remove()}h.extend(a.oBrowser,m.__browser);a.oScroll.iBarWidth=m.__browser.barWidth}function hb(a,b,c,d,e,f){var g,j=!1;c!==k&&(g=c,j=!0);for(;d!==e;)a.hasOwnProperty(d)&&
-(g=j?b(g,a[d],d,a):a[d],j=!0,d+=f);return g}function Ga(a,b){var c=m.defaults.column,d=a.aoColumns.length,c=h.extend({},m.models.oColumn,c,{nTh:b?b:I.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML:"",aDataSort:c.aDataSort?c.aDataSort:[d],mData:c.mData?c.mData:d,idx:d});a.aoColumns.push(c);c=a.aoPreSearchCols;c[d]=h.extend({},m.models.oSearch,c[d]);ja(a,d,h(b).data())}function ja(a,b,c){var b=a.aoColumns[b],d=a.oClasses,e=h(b.nTh);if(!b.sWidthOrig){b.sWidthOrig=e.attr("width")||null;var f=
-(e.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);f&&(b.sWidthOrig=f[1])}c!==k&&null!==c&&(fb(c),K(m.defaults.column,c),c.mDataProp!==k&&!c.mData&&(c.mData=c.mDataProp),c.sType&&(b._sManualType=c.sType),c.className&&!c.sClass&&(c.sClass=c.className),h.extend(b,c),E(b,c,"sWidth","sWidthOrig"),c.iDataSort!==k&&(b.aDataSort=[c.iDataSort]),E(b,c,"aDataSort"));var g=b.mData,j=Q(g),i=b.mRender?Q(b.mRender):null,c=function(a){return"string"===typeof a&&-1!==a.indexOf("@")};b._bAttrSrc=h.isPlainObject(g)&&
-(c(g.sort)||c(g.type)||c(g.filter));b._setter=null;b.fnGetData=function(a,b,c){var d=j(a,b,k,c);return i&&b?i(d,b,a,c):d};b.fnSetData=function(a,b,c){return R(g)(a,b,c)};"number"!==typeof g&&(a._rowReadObject=!0);a.oFeatures.bSort||(b.bSortable=!1,e.addClass(d.sSortableNone));a=-1!==h.inArray("asc",b.asSorting);c=-1!==h.inArray("desc",b.asSorting);!b.bSortable||!a&&!c?(b.sSortingClass=d.sSortableNone,b.sSortingClassJUI=""):a&&!c?(b.sSortingClass=d.sSortableAsc,b.sSortingClassJUI=d.sSortJUIAscAllowed):
-!a&&c?(b.sSortingClass=d.sSortableDesc,b.sSortingClassJUI=d.sSortJUIDescAllowed):(b.sSortingClass=d.sSortable,b.sSortingClassJUI=d.sSortJUI)}function U(a){if(!1!==a.oFeatures.bAutoWidth){var b=a.aoColumns;Ha(a);for(var c=0,d=b.length;c<d;c++)b[c].nTh.style.width=b[c].sWidth}b=a.oScroll;(""!==b.sY||""!==b.sX)&&ka(a);u(a,null,"column-sizing",[a])}function Z(a,b){var c=la(a,"bVisible");return"number"===typeof c[b]?c[b]:null}function $(a,b){var c=la(a,"bVisible"),c=h.inArray(b,c);return-1!==c?c:null}
-function aa(a){return h(F(a.aoColumns,"nTh")).filter(":visible").length}function la(a,b){var c=[];h.map(a.aoColumns,function(a,e){a[b]&&c.push(e)});return c}function Ia(a){var b=a.aoColumns,c=a.aoData,d=m.ext.type.detect,e,f,g,j,i,h,l,q,t;e=0;for(f=b.length;e<f;e++)if(l=b[e],t=[],!l.sType&&l._sManualType)l.sType=l._sManualType;else if(!l.sType){g=0;for(j=d.length;g<j;g++){i=0;for(h=c.length;i<h;i++){t[i]===k&&(t[i]=B(a,i,e,"type"));q=d[g](t[i],a);if(!q&&g!==d.length-1)break;if("html"===q)break}if(q){l.sType=
-q;break}}l.sType||(l.sType="string")}}function ib(a,b,c,d){var e,f,g,j,i,n,l=a.aoColumns;if(b)for(e=b.length-1;0<=e;e--){n=b[e];var q=n.targets!==k?n.targets:n.aTargets;h.isArray(q)||(q=[q]);f=0;for(g=q.length;f<g;f++)if("number"===typeof q[f]&&0<=q[f]){for(;l.length<=q[f];)Ga(a);d(q[f],n)}else if("number"===typeof q[f]&&0>q[f])d(l.length+q[f],n);else if("string"===typeof q[f]){j=0;for(i=l.length;j<i;j++)("_all"==q[f]||h(l[j].nTh).hasClass(q[f]))&&d(j,n)}}if(c){e=0;for(a=c.length;e<a;e++)d(e,c[e])}}
-function N(a,b,c,d){var e=a.aoData.length,f=h.extend(!0,{},m.models.oRow,{src:c?"dom":"data",idx:e});f._aData=b;a.aoData.push(f);for(var g=a.aoColumns,j=0,i=g.length;j<i;j++)g[j].sType=null;a.aiDisplayMaster.push(e);b=a.rowIdFn(b);b!==k&&(a.aIds[b]=f);(c||!a.oFeatures.bDeferRender)&&Ja(a,e,c,d);return e}function ma(a,b){var c;b instanceof h||(b=h(b));return b.map(function(b,e){c=Ka(a,e);return N(a,c.data,e,c.cells)})}function B(a,b,c,d){var e=a.iDraw,f=a.aoColumns[c],g=a.aoData[b]._aData,j=f.sDefaultContent,
-i=f.fnGetData(g,d,{settings:a,row:b,col:c});if(i===k)return a.iDrawError!=e&&null===j&&(L(a,0,"Requested unknown parameter "+("function"==typeof f.mData?"{function}":"'"+f.mData+"'")+" for row "+b+", column "+c,4),a.iDrawError=e),j;if((i===g||null===i)&&null!==j&&d!==k)i=j;else if("function"===typeof i)return i.call(g);return null===i&&"display"==d?"":i}function jb(a,b,c,d){a.aoColumns[c].fnSetData(a.aoData[b]._aData,d,{settings:a,row:b,col:c})}function La(a){return h.map(a.match(/(\\.|[^\.])+/g)||
-[""],function(a){return a.replace(/\\./g,".")})}function Q(a){if(h.isPlainObject(a)){var b={};h.each(a,function(a,c){c&&(b[a]=Q(c))});return function(a,c,f,g){var j=b[c]||b._;return j!==k?j(a,c,f,g):a}}if(null===a)return function(a){return a};if("function"===typeof a)return function(b,c,f,g){return a(b,c,f,g)};if("string"===typeof a&&(-1!==a.indexOf(".")||-1!==a.indexOf("[")||-1!==a.indexOf("("))){var c=function(a,b,f){var g,j;if(""!==f){j=La(f);for(var i=0,n=j.length;i<n;i++){f=j[i].match(ba);g=
-j[i].match(V);if(f){j[i]=j[i].replace(ba,"");""!==j[i]&&(a=a[j[i]]);g=[];j.splice(0,i+1);j=j.join(".");if(h.isArray(a)){i=0;for(n=a.length;i<n;i++)g.push(c(a[i],b,j))}a=f[0].substring(1,f[0].length-1);a=""===a?g:g.join(a);break}else if(g){j[i]=j[i].replace(V,"");a=a[j[i]]();continue}if(null===a||a[j[i]]===k)return k;a=a[j[i]]}}return a};return function(b,e){return c(b,e,a)}}return function(b){return b[a]}}function R(a){if(h.isPlainObject(a))return R(a._);if(null===a)return function(){};if("function"===
-typeof a)return function(b,d,e){a(b,"set",d,e)};if("string"===typeof a&&(-1!==a.indexOf(".")||-1!==a.indexOf("[")||-1!==a.indexOf("("))){var b=function(a,d,e){var e=La(e),f;f=e[e.length-1];for(var g,j,i=0,n=e.length-1;i<n;i++){g=e[i].match(ba);j=e[i].match(V);if(g){e[i]=e[i].replace(ba,"");a[e[i]]=[];f=e.slice();f.splice(0,i+1);g=f.join(".");if(h.isArray(d)){j=0;for(n=d.length;j<n;j++)f={},b(f,d[j],g),a[e[i]].push(f)}else a[e[i]]=d;return}j&&(e[i]=e[i].replace(V,""),a=a[e[i]](d));if(null===a[e[i]]||
-a[e[i]]===k)a[e[i]]={};a=a[e[i]]}if(f.match(V))a[f.replace(V,"")](d);else a[f.replace(ba,"")]=d};return function(c,d){return b(c,d,a)}}return function(b,d){b[a]=d}}function Ma(a){return F(a.aoData,"_aData")}function na(a){a.aoData.length=0;a.aiDisplayMaster.length=0;a.aiDisplay.length=0;a.aIds={}}function oa(a,b,c){for(var d=-1,e=0,f=a.length;e<f;e++)a[e]==b?d=e:a[e]>b&&a[e]--; -1!=d&&c===k&&a.splice(d,1)}function ca(a,b,c,d){var e=a.aoData[b],f,g=function(c,d){for(;c.childNodes.length;)c.removeChild(c.firstChild);
-c.innerHTML=B(a,b,d,"display")};if("dom"===c||(!c||"auto"===c)&&"dom"===e.src)e._aData=Ka(a,e,d,d===k?k:e._aData).data;else{var j=e.anCells;if(j)if(d!==k)g(j[d],d);else{c=0;for(f=j.length;c<f;c++)g(j[c],c)}}e._aSortData=null;e._aFilterData=null;g=a.aoColumns;if(d!==k)g[d].sType=null;else{c=0;for(f=g.length;c<f;c++)g[c].sType=null;Na(a,e)}}function Ka(a,b,c,d){var e=[],f=b.firstChild,g,j,i=0,n,l=a.aoColumns,q=a._rowReadObject,d=d!==k?d:q?{}:[],t=function(a,b){if("string"===typeof a){var c=a.indexOf("@");
--1!==c&&(c=a.substring(c+1),R(a)(d,b.getAttribute(c)))}},S=function(a){if(c===k||c===i)j=l[i],n=h.trim(a.innerHTML),j&&j._bAttrSrc?(R(j.mData._)(d,n),t(j.mData.sort,a),t(j.mData.type,a),t(j.mData.filter,a)):q?(j._setter||(j._setter=R(j.mData)),j._setter(d,n)):d[i]=n;i++};if(f)for(;f;){g=f.nodeName.toUpperCase();if("TD"==g||"TH"==g)S(f),e.push(f);f=f.nextSibling}else{e=b.anCells;f=0;for(g=e.length;f<g;f++)S(e[f])}if(b=b.firstChild?b:b.nTr)(b=b.getAttribute("id"))&&R(a.rowId)(d,b);return{data:d,cells:e}}
-function Ja(a,b,c,d){var e=a.aoData[b],f=e._aData,g=[],j,i,n,l,q;if(null===e.nTr){j=c||I.createElement("tr");e.nTr=j;e.anCells=g;j._DT_RowIndex=b;Na(a,e);l=0;for(q=a.aoColumns.length;l<q;l++){n=a.aoColumns[l];i=c?d[l]:I.createElement(n.sCellType);i._DT_CellIndex={row:b,column:l};g.push(i);if((!c||n.mRender||n.mData!==l)&&(!h.isPlainObject(n.mData)||n.mData._!==l+".display"))i.innerHTML=B(a,b,l,"display");n.sClass&&(i.className+=" "+n.sClass);n.bVisible&&!c?j.appendChild(i):!n.bVisible&&c&&i.parentNode.removeChild(i);
-n.fnCreatedCell&&n.fnCreatedCell.call(a.oInstance,i,B(a,b,l),f,b,l)}u(a,"aoRowCreatedCallback",null,[j,f,b])}e.nTr.setAttribute("role","row")}function Na(a,b){var c=b.nTr,d=b._aData;if(c){var e=a.rowIdFn(d);e&&(c.id=e);d.DT_RowClass&&(e=d.DT_RowClass.split(" "),b.__rowc=b.__rowc?pa(b.__rowc.concat(e)):e,h(c).removeClass(b.__rowc.join(" ")).addClass(d.DT_RowClass));d.DT_RowAttr&&h(c).attr(d.DT_RowAttr);d.DT_RowData&&h(c).data(d.DT_RowData)}}function kb(a){var b,c,d,e,f,g=a.nTHead,j=a.nTFoot,i=0===
-h("th, td",g).length,n=a.oClasses,l=a.aoColumns;i&&(e=h("<tr/>").appendTo(g));b=0;for(c=l.length;b<c;b++)f=l[b],d=h(f.nTh).addClass(f.sClass),i&&d.appendTo(e),a.oFeatures.bSort&&(d.addClass(f.sSortingClass),!1!==f.bSortable&&(d.attr("tabindex",a.iTabIndex).attr("aria-controls",a.sTableId),Oa(a,f.nTh,b))),f.sTitle!=d[0].innerHTML&&d.html(f.sTitle),Pa(a,"header")(a,d,f,n);i&&da(a.aoHeader,g);h(g).find(">tr").attr("role","row");h(g).find(">tr>th, >tr>td").addClass(n.sHeaderTH);h(j).find(">tr>th, >tr>td").addClass(n.sFooterTH);
-if(null!==j){a=a.aoFooter[0];b=0;for(c=a.length;b<c;b++)f=l[b],f.nTf=a[b].cell,f.sClass&&h(f.nTf).addClass(f.sClass)}}function ea(a,b,c){var d,e,f,g=[],j=[],i=a.aoColumns.length,n;if(b){c===k&&(c=!1);d=0;for(e=b.length;d<e;d++){g[d]=b[d].slice();g[d].nTr=b[d].nTr;for(f=i-1;0<=f;f--)!a.aoColumns[f].bVisible&&!c&&g[d].splice(f,1);j.push([])}d=0;for(e=g.length;d<e;d++){if(a=g[d].nTr)for(;f=a.firstChild;)a.removeChild(f);f=0;for(b=g[d].length;f<b;f++)if(n=i=1,j[d][f]===k){a.appendChild(g[d][f].cell);
-for(j[d][f]=1;g[d+i]!==k&&g[d][f].cell==g[d+i][f].cell;)j[d+i][f]=1,i++;for(;g[d][f+n]!==k&&g[d][f].cell==g[d][f+n].cell;){for(c=0;c<i;c++)j[d+c][f+n]=1;n++}h(g[d][f].cell).attr("rowspan",i).attr("colspan",n)}}}}function O(a){var b=u(a,"aoPreDrawCallback","preDraw",[a]);if(-1!==h.inArray(!1,b))C(a,!1);else{var b=[],c=0,d=a.asStripeClasses,e=d.length,f=a.oLanguage,g=a.iInitDisplayStart,j="ssp"==y(a),i=a.aiDisplay;a.bDrawing=!0;g!==k&&-1!==g&&(a._iDisplayStart=j?g:g>=a.fnRecordsDisplay()?0:g,a.iInitDisplayStart=
--1);var g=a._iDisplayStart,n=a.fnDisplayEnd();if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++,C(a,!1);else if(j){if(!a.bDestroying&&!lb(a))return}else a.iDraw++;if(0!==i.length){f=j?a.aoData.length:n;for(j=j?0:g;j<f;j++){var l=i[j],q=a.aoData[l];null===q.nTr&&Ja(a,l);l=q.nTr;if(0!==e){var t=d[c%e];q._sRowStripe!=t&&(h(l).removeClass(q._sRowStripe).addClass(t),q._sRowStripe=t)}u(a,"aoRowCallback",null,[l,q._aData,c,j]);b.push(l);c++}}else c=f.sZeroRecords,1==a.iDraw&&"ajax"==y(a)?c=f.sLoadingRecords:
-f.sEmptyTable&&0===a.fnRecordsTotal()&&(c=f.sEmptyTable),b[0]=h("<tr/>",{"class":e?d[0]:""}).append(h("<td />",{valign:"top",colSpan:aa(a),"class":a.oClasses.sRowEmpty}).html(c))[0];u(a,"aoHeaderCallback","header",[h(a.nTHead).children("tr")[0],Ma(a),g,n,i]);u(a,"aoFooterCallback","footer",[h(a.nTFoot).children("tr")[0],Ma(a),g,n,i]);d=h(a.nTBody);d.children().detach();d.append(h(b));u(a,"aoDrawCallback","draw",[a]);a.bSorted=!1;a.bFiltered=!1;a.bDrawing=!1}}function T(a,b){var c=a.oFeatures,d=c.bFilter;
-c.bSort&&mb(a);d?fa(a,a.oPreviousSearch):a.aiDisplay=a.aiDisplayMaster.slice();!0!==b&&(a._iDisplayStart=0);a._drawHold=b;O(a);a._drawHold=!1}function nb(a){var b=a.oClasses,c=h(a.nTable),c=h("<div/>").insertBefore(c),d=a.oFeatures,e=h("<div/>",{id:a.sTableId+"_wrapper","class":b.sWrapper+(a.nTFoot?"":" "+b.sNoFooter)});a.nHolding=c[0];a.nTableWrapper=e[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var f=a.sDom.split(""),g,j,i,n,l,q,t=0;t<f.length;t++){g=null;j=f[t];if("<"==j){i=h("<div/>")[0];
-n=f[t+1];if("'"==n||'"'==n){l="";for(q=2;f[t+q]!=n;)l+=f[t+q],q++;"H"==l?l=b.sJUIHeader:"F"==l&&(l=b.sJUIFooter);-1!=l.indexOf(".")?(n=l.split("."),i.id=n[0].substr(1,n[0].length-1),i.className=n[1]):"#"==l.charAt(0)?i.id=l.substr(1,l.length-1):i.className=l;t+=q}e.append(i);e=h(i)}else if(">"==j)e=e.parent();else if("l"==j&&d.bPaginate&&d.bLengthChange)g=ob(a);else if("f"==j&&d.bFilter)g=pb(a);else if("r"==j&&d.bProcessing)g=qb(a);else if("t"==j)g=rb(a);else if("i"==j&&d.bInfo)g=sb(a);else if("p"==
-j&&d.bPaginate)g=tb(a);else if(0!==m.ext.feature.length){i=m.ext.feature;q=0;for(n=i.length;q<n;q++)if(j==i[q].cFeature){g=i[q].fnInit(a);break}}g&&(i=a.aanFeatures,i[j]||(i[j]=[]),i[j].push(g),e.append(g))}c.replaceWith(e);a.nHolding=null}function da(a,b){var c=h(b).children("tr"),d,e,f,g,j,i,n,l,q,t;a.splice(0,a.length);f=0;for(i=c.length;f<i;f++)a.push([]);f=0;for(i=c.length;f<i;f++){d=c[f];for(e=d.firstChild;e;){if("TD"==e.nodeName.toUpperCase()||"TH"==e.nodeName.toUpperCase()){l=1*e.getAttribute("colspan");
-q=1*e.getAttribute("rowspan");l=!l||0===l||1===l?1:l;q=!q||0===q||1===q?1:q;g=0;for(j=a[f];j[g];)g++;n=g;t=1===l?!0:!1;for(j=0;j<l;j++)for(g=0;g<q;g++)a[f+g][n+j]={cell:e,unique:t},a[f+g].nTr=d}e=e.nextSibling}}}function qa(a,b,c){var d=[];c||(c=a.aoHeader,b&&(c=[],da(c,b)));for(var b=0,e=c.length;b<e;b++)for(var f=0,g=c[b].length;f<g;f++)if(c[b][f].unique&&(!d[f]||!a.bSortCellsTop))d[f]=c[b][f].cell;return d}function ra(a,b,c){u(a,"aoServerParams","serverParams",[b]);if(b&&h.isArray(b)){var d={},
-e=/(.*?)\[\]$/;h.each(b,function(a,b){var c=b.name.match(e);c?(c=c[0],d[c]||(d[c]=[]),d[c].push(b.value)):d[b.name]=b.value});b=d}var f,g=a.ajax,j=a.oInstance,i=function(b){u(a,null,"xhr",[a,b,a.jqXHR]);c(b)};if(h.isPlainObject(g)&&g.data){f=g.data;var n=h.isFunction(f)?f(b,a):f,b=h.isFunction(f)&&n?n:h.extend(!0,b,n);delete g.data}n={data:b,success:function(b){var c=b.error||b.sError;c&&L(a,0,c);a.json=b;i(b)},dataType:"json",cache:!1,type:a.sServerMethod,error:function(b,c){var d=u(a,null,"xhr",
-[a,null,a.jqXHR]);-1===h.inArray(!0,d)&&("parsererror"==c?L(a,0,"Invalid JSON response",1):4===b.readyState&&L(a,0,"Ajax error",7));C(a,!1)}};a.oAjaxData=b;u(a,null,"preXhr",[a,b]);a.fnServerData?a.fnServerData.call(j,a.sAjaxSource,h.map(b,function(a,b){return{name:b,value:a}}),i,a):a.sAjaxSource||"string"===typeof g?a.jqXHR=h.ajax(h.extend(n,{url:g||a.sAjaxSource})):h.isFunction(g)?a.jqXHR=g.call(j,b,i,a):(a.jqXHR=h.ajax(h.extend(n,g)),g.data=f)}function lb(a){return a.bAjaxDataGet?(a.iDraw++,C(a,
-!0),ra(a,ub(a),function(b){vb(a,b)}),!1):!0}function ub(a){var b=a.aoColumns,c=b.length,d=a.oFeatures,e=a.oPreviousSearch,f=a.aoPreSearchCols,g,j=[],i,n,l,q=W(a);g=a._iDisplayStart;i=!1!==d.bPaginate?a._iDisplayLength:-1;var k=function(a,b){j.push({name:a,value:b})};k("sEcho",a.iDraw);k("iColumns",c);k("sColumns",F(b,"sName").join(","));k("iDisplayStart",g);k("iDisplayLength",i);var S={draw:a.iDraw,columns:[],order:[],start:g,length:i,search:{value:e.sSearch,regex:e.bRegex}};for(g=0;g<c;g++)n=b[g],
-l=f[g],i="function"==typeof n.mData?"function":n.mData,S.columns.push({data:i,name:n.sName,searchable:n.bSearchable,orderable:n.bSortable,search:{value:l.sSearch,regex:l.bRegex}}),k("mDataProp_"+g,i),d.bFilter&&(k("sSearch_"+g,l.sSearch),k("bRegex_"+g,l.bRegex),k("bSearchable_"+g,n.bSearchable)),d.bSort&&k("bSortable_"+g,n.bSortable);d.bFilter&&(k("sSearch",e.sSearch),k("bRegex",e.bRegex));d.bSort&&(h.each(q,function(a,b){S.order.push({column:b.col,dir:b.dir});k("iSortCol_"+a,b.col);k("sSortDir_"+
-a,b.dir)}),k("iSortingCols",q.length));b=m.ext.legacy.ajax;return null===b?a.sAjaxSource?j:S:b?j:S}function vb(a,b){var c=sa(a,b),d=b.sEcho!==k?b.sEcho:b.draw,e=b.iTotalRecords!==k?b.iTotalRecords:b.recordsTotal,f=b.iTotalDisplayRecords!==k?b.iTotalDisplayRecords:b.recordsFiltered;if(d){if(1*d<a.iDraw)return;a.iDraw=1*d}na(a);a._iRecordsTotal=parseInt(e,10);a._iRecordsDisplay=parseInt(f,10);d=0;for(e=c.length;d<e;d++)N(a,c[d]);a.aiDisplay=a.aiDisplayMaster.slice();a.bAjaxDataGet=!1;O(a);a._bInitComplete||
-ta(a,b);a.bAjaxDataGet=!0;C(a,!1)}function sa(a,b){var c=h.isPlainObject(a.ajax)&&a.ajax.dataSrc!==k?a.ajax.dataSrc:a.sAjaxDataProp;return"data"===c?b.aaData||b[c]:""!==c?Q(c)(b):b}function pb(a){var b=a.oClasses,c=a.sTableId,d=a.oLanguage,e=a.oPreviousSearch,f=a.aanFeatures,g='<input type="search" class="'+b.sFilterInput+'"/>',j=d.sSearch,j=j.match(/_INPUT_/)?j.replace("_INPUT_",g):j+g,b=h("<div/>",{id:!f.f?c+"_filter":null,"class":b.sFilter}).append(h("<label/>").append(j)),f=function(){var b=!this.value?
-"":this.value;b!=e.sSearch&&(fa(a,{sSearch:b,bRegex:e.bRegex,bSmart:e.bSmart,bCaseInsensitive:e.bCaseInsensitive}),a._iDisplayStart=0,O(a))},g=null!==a.searchDelay?a.searchDelay:"ssp"===y(a)?400:0,i=h("input",b).val(e.sSearch).attr("placeholder",d.sSearchPlaceholder).bind("keyup.DT search.DT input.DT paste.DT cut.DT",g?ua(f,g):f).bind("keypress.DT",function(a){if(13==a.keyCode)return!1}).attr("aria-controls",c);h(a.nTable).on("search.dt.DT",function(b,c){if(a===c)try{i[0]!==I.activeElement&&i.val(e.sSearch)}catch(d){}});
-return b[0]}function fa(a,b,c){var d=a.oPreviousSearch,e=a.aoPreSearchCols,f=function(a){d.sSearch=a.sSearch;d.bRegex=a.bRegex;d.bSmart=a.bSmart;d.bCaseInsensitive=a.bCaseInsensitive};Ia(a);if("ssp"!=y(a)){wb(a,b.sSearch,c,b.bEscapeRegex!==k?!b.bEscapeRegex:b.bRegex,b.bSmart,b.bCaseInsensitive);f(b);for(b=0;b<e.length;b++)xb(a,e[b].sSearch,b,e[b].bEscapeRegex!==k?!e[b].bEscapeRegex:e[b].bRegex,e[b].bSmart,e[b].bCaseInsensitive);yb(a)}else f(b);a.bFiltered=!0;u(a,null,"search",[a])}function yb(a){for(var b=
-m.ext.search,c=a.aiDisplay,d,e,f=0,g=b.length;f<g;f++){for(var j=[],i=0,n=c.length;i<n;i++)e=c[i],d=a.aoData[e],b[f](a,d._aFilterData,e,d._aData,i)&&j.push(e);c.length=0;h.merge(c,j)}}function xb(a,b,c,d,e,f){if(""!==b)for(var g=a.aiDisplay,d=Qa(b,d,e,f),e=g.length-1;0<=e;e--)b=a.aoData[g[e]]._aFilterData[c],d.test(b)||g.splice(e,1)}function wb(a,b,c,d,e,f){var d=Qa(b,d,e,f),e=a.oPreviousSearch.sSearch,f=a.aiDisplayMaster,g;0!==m.ext.search.length&&(c=!0);g=zb(a);if(0>=b.length)a.aiDisplay=f.slice();
-else{if(g||c||e.length>b.length||0!==b.indexOf(e)||a.bSorted)a.aiDisplay=f.slice();b=a.aiDisplay;for(c=b.length-1;0<=c;c--)d.test(a.aoData[b[c]]._sFilterRow)||b.splice(c,1)}}function Qa(a,b,c,d){a=b?a:va(a);c&&(a="^(?=.*?"+h.map(a.match(/"[^"]+"|[^ ]+/g)||[""],function(a){if('"'===a.charAt(0))var b=a.match(/^"(.*)"$/),a=b?b[1]:a;return a.replace('"',"")}).join(")(?=.*?")+").*$");return RegExp(a,d?"i":"")}function va(a){return a.replace(Zb,"\\$1")}function zb(a){var b=a.aoColumns,c,d,e,f,g,j,i,h,l=
-m.ext.type.search;c=!1;d=0;for(f=a.aoData.length;d<f;d++)if(h=a.aoData[d],!h._aFilterData){j=[];e=0;for(g=b.length;e<g;e++)c=b[e],c.bSearchable?(i=B(a,d,e,"filter"),l[c.sType]&&(i=l[c.sType](i)),null===i&&(i=""),"string"!==typeof i&&i.toString&&(i=i.toString())):i="",i.indexOf&&-1!==i.indexOf("&")&&(wa.innerHTML=i,i=$b?wa.textContent:wa.innerText),i.replace&&(i=i.replace(/[\r\n]/g,"")),j.push(i);h._aFilterData=j;h._sFilterRow=j.join(" ");c=!0}return c}function Ab(a){return{search:a.sSearch,smart:a.bSmart,
-regex:a.bRegex,caseInsensitive:a.bCaseInsensitive}}function Bb(a){return{sSearch:a.search,bSmart:a.smart,bRegex:a.regex,bCaseInsensitive:a.caseInsensitive}}function sb(a){var b=a.sTableId,c=a.aanFeatures.i,d=h("<div/>",{"class":a.oClasses.sInfo,id:!c?b+"_info":null});c||(a.aoDrawCallback.push({fn:Cb,sName:"information"}),d.attr("role","status").attr("aria-live","polite"),h(a.nTable).attr("aria-describedby",b+"_info"));return d[0]}function Cb(a){var b=a.aanFeatures.i;if(0!==b.length){var c=a.oLanguage,
-d=a._iDisplayStart+1,e=a.fnDisplayEnd(),f=a.fnRecordsTotal(),g=a.fnRecordsDisplay(),j=g?c.sInfo:c.sInfoEmpty;g!==f&&(j+=" "+c.sInfoFiltered);j+=c.sInfoPostFix;j=Db(a,j);c=c.fnInfoCallback;null!==c&&(j=c.call(a.oInstance,a,d,e,f,g,j));h(b).html(j)}}function Db(a,b){var c=a.fnFormatNumber,d=a._iDisplayStart+1,e=a._iDisplayLength,f=a.fnRecordsDisplay(),g=-1===e;return b.replace(/_START_/g,c.call(a,d)).replace(/_END_/g,c.call(a,a.fnDisplayEnd())).replace(/_MAX_/g,c.call(a,a.fnRecordsTotal())).replace(/_TOTAL_/g,
-c.call(a,f)).replace(/_PAGE_/g,c.call(a,g?1:Math.ceil(d/e))).replace(/_PAGES_/g,c.call(a,g?1:Math.ceil(f/e)))}function ga(a){var b,c,d=a.iInitDisplayStart,e=a.aoColumns,f;c=a.oFeatures;var g=a.bDeferLoading;if(a.bInitialised){nb(a);kb(a);ea(a,a.aoHeader);ea(a,a.aoFooter);C(a,!0);c.bAutoWidth&&Ha(a);b=0;for(c=e.length;b<c;b++)f=e[b],f.sWidth&&(f.nTh.style.width=x(f.sWidth));u(a,null,"preInit",[a]);T(a);e=y(a);if("ssp"!=e||g)"ajax"==e?ra(a,[],function(c){var f=sa(a,c);for(b=0;b<f.length;b++)N(a,f[b]);
-a.iInitDisplayStart=d;T(a);C(a,!1);ta(a,c)},a):(C(a,!1),ta(a))}else setTimeout(function(){ga(a)},200)}function ta(a,b){a._bInitComplete=!0;(b||a.oInit.aaData)&&U(a);u(a,null,"plugin-init",[a,b]);u(a,"aoInitComplete","init",[a,b])}function Ra(a,b){var c=parseInt(b,10);a._iDisplayLength=c;Sa(a);u(a,null,"length",[a,c])}function ob(a){for(var b=a.oClasses,c=a.sTableId,d=a.aLengthMenu,e=h.isArray(d[0]),f=e?d[0]:d,d=e?d[1]:d,e=h("<select/>",{name:c+"_length","aria-controls":c,"class":b.sLengthSelect}),
-g=0,j=f.length;g<j;g++)e[0][g]=new Option(d[g],f[g]);var i=h("<div><label/></div>").addClass(b.sLength);a.aanFeatures.l||(i[0].id=c+"_length");i.children().append(a.oLanguage.sLengthMenu.replace("_MENU_",e[0].outerHTML));h("select",i).val(a._iDisplayLength).bind("change.DT",function(){Ra(a,h(this).val());O(a)});h(a.nTable).bind("length.dt.DT",function(b,c,d){a===c&&h("select",i).val(d)});return i[0]}function tb(a){var b=a.sPaginationType,c=m.ext.pager[b],d="function"===typeof c,e=function(a){O(a)},
-b=h("<div/>").addClass(a.oClasses.sPaging+b)[0],f=a.aanFeatures;d||c.fnInit(a,b,e);f.p||(b.id=a.sTableId+"_paginate",a.aoDrawCallback.push({fn:function(a){if(d){var b=a._iDisplayStart,i=a._iDisplayLength,h=a.fnRecordsDisplay(),l=-1===i,b=l?0:Math.ceil(b/i),i=l?1:Math.ceil(h/i),h=c(b,i),k,l=0;for(k=f.p.length;l<k;l++)Pa(a,"pageButton")(a,f.p[l],l,h,b,i)}else c.fnUpdate(a,e)},sName:"pagination"}));return b}function Ta(a,b,c){var d=a._iDisplayStart,e=a._iDisplayLength,f=a.fnRecordsDisplay();0===f||-1===
-e?d=0:"number"===typeof b?(d=b*e,d>f&&(d=0)):"first"==b?d=0:"previous"==b?(d=0<=e?d-e:0,0>d&&(d=0)):"next"==b?d+e<f&&(d+=e):"last"==b?d=Math.floor((f-1)/e)*e:L(a,0,"Unknown paging action: "+b,5);b=a._iDisplayStart!==d;a._iDisplayStart=d;b&&(u(a,null,"page",[a]),c&&O(a));return b}function qb(a){return h("<div/>",{id:!a.aanFeatures.r?a.sTableId+"_processing":null,"class":a.oClasses.sProcessing}).html(a.oLanguage.sProcessing).insertBefore(a.nTable)[0]}function C(a,b){a.oFeatures.bProcessing&&h(a.aanFeatures.r).css("display",
-b?"block":"none");u(a,null,"processing",[a,b])}function rb(a){var b=h(a.nTable);b.attr("role","grid");var c=a.oScroll;if(""===c.sX&&""===c.sY)return a.nTable;var d=c.sX,e=c.sY,f=a.oClasses,g=b.children("caption"),j=g.length?g[0]._captionSide:null,i=h(b[0].cloneNode(!1)),n=h(b[0].cloneNode(!1)),l=b.children("tfoot");l.length||(l=null);i=h("<div/>",{"class":f.sScrollWrapper}).append(h("<div/>",{"class":f.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:d?!d?null:x(d):"100%"}).append(h("<div/>",
-{"class":f.sScrollHeadInner}).css({"box-sizing":"content-box",width:c.sXInner||"100%"}).append(i.removeAttr("id").css("margin-left",0).append("top"===j?g:null).append(b.children("thead"))))).append(h("<div/>",{"class":f.sScrollBody}).css({position:"relative",overflow:"auto",width:!d?null:x(d)}).append(b));l&&i.append(h("<div/>",{"class":f.sScrollFoot}).css({overflow:"hidden",border:0,width:d?!d?null:x(d):"100%"}).append(h("<div/>",{"class":f.sScrollFootInner}).append(n.removeAttr("id").css("margin-left",
-0).append("bottom"===j?g:null).append(b.children("tfoot")))));var b=i.children(),k=b[0],f=b[1],t=l?b[2]:null;if(d)h(f).on("scroll.DT",function(){var a=this.scrollLeft;k.scrollLeft=a;l&&(t.scrollLeft=a)});h(f).css(e&&c.bCollapse?"max-height":"height",e);a.nScrollHead=k;a.nScrollBody=f;a.nScrollFoot=t;a.aoDrawCallback.push({fn:ka,sName:"scrolling"});return i[0]}function ka(a){var b=a.oScroll,c=b.sX,d=b.sXInner,e=b.sY,b=b.iBarWidth,f=h(a.nScrollHead),g=f[0].style,j=f.children("div"),i=j[0].style,n=j.children("table"),
-j=a.nScrollBody,l=h(j),q=j.style,t=h(a.nScrollFoot).children("div"),m=t.children("table"),o=h(a.nTHead),G=h(a.nTable),p=G[0],r=p.style,u=a.nTFoot?h(a.nTFoot):null,Eb=a.oBrowser,Ua=Eb.bScrollOversize,s=F(a.aoColumns,"nTh"),P,v,w,y,z=[],A=[],B=[],C=[],D,E=function(a){a=a.style;a.paddingTop="0";a.paddingBottom="0";a.borderTopWidth="0";a.borderBottomWidth="0";a.height=0};v=j.scrollHeight>j.clientHeight;if(a.scrollBarVis!==v&&a.scrollBarVis!==k)a.scrollBarVis=v,U(a);else{a.scrollBarVis=v;G.children("thead, tfoot").remove();
-u&&(w=u.clone().prependTo(G),P=u.find("tr"),w=w.find("tr"));y=o.clone().prependTo(G);o=o.find("tr");v=y.find("tr");y.find("th, td").removeAttr("tabindex");c||(q.width="100%",f[0].style.width="100%");h.each(qa(a,y),function(b,c){D=Z(a,b);c.style.width=a.aoColumns[D].sWidth});u&&J(function(a){a.style.width=""},w);f=G.outerWidth();if(""===c){r.width="100%";if(Ua&&(G.find("tbody").height()>j.offsetHeight||"scroll"==l.css("overflow-y")))r.width=x(G.outerWidth()-b);f=G.outerWidth()}else""!==d&&(r.width=
-x(d),f=G.outerWidth());J(E,v);J(function(a){B.push(a.innerHTML);z.push(x(h(a).css("width")))},v);J(function(a,b){if(h.inArray(a,s)!==-1)a.style.width=z[b]},o);h(v).height(0);u&&(J(E,w),J(function(a){C.push(a.innerHTML);A.push(x(h(a).css("width")))},w),J(function(a,b){a.style.width=A[b]},P),h(w).height(0));J(function(a,b){a.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+B[b]+"</div>";a.style.width=z[b]},v);u&&J(function(a,b){a.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+
-C[b]+"</div>";a.style.width=A[b]},w);if(G.outerWidth()<f){P=j.scrollHeight>j.offsetHeight||"scroll"==l.css("overflow-y")?f+b:f;if(Ua&&(j.scrollHeight>j.offsetHeight||"scroll"==l.css("overflow-y")))r.width=x(P-b);(""===c||""!==d)&&L(a,1,"Possible column misalignment",6)}else P="100%";q.width=x(P);g.width=x(P);u&&(a.nScrollFoot.style.width=x(P));!e&&Ua&&(q.height=x(p.offsetHeight+b));c=G.outerWidth();n[0].style.width=x(c);i.width=x(c);d=G.height()>j.clientHeight||"scroll"==l.css("overflow-y");e="padding"+
-(Eb.bScrollbarLeft?"Left":"Right");i[e]=d?b+"px":"0px";u&&(m[0].style.width=x(c),t[0].style.width=x(c),t[0].style[e]=d?b+"px":"0px");G.children("colgroup").insertBefore(G.children("thead"));l.scroll();if((a.bSorted||a.bFiltered)&&!a._drawHold)j.scrollTop=0}}function J(a,b,c){for(var d=0,e=0,f=b.length,g,j;e<f;){g=b[e].firstChild;for(j=c?c[e].firstChild:null;g;)1===g.nodeType&&(c?a(g,j,d):a(g,d),d++),g=g.nextSibling,j=c?j.nextSibling:null;e++}}function Ha(a){var b=a.nTable,c=a.aoColumns,d=a.oScroll,
-e=d.sY,f=d.sX,g=d.sXInner,j=c.length,i=la(a,"bVisible"),n=h("th",a.nTHead),l=b.getAttribute("width"),k=b.parentNode,t=!1,m,o,p=a.oBrowser,d=p.bScrollOversize;(m=b.style.width)&&-1!==m.indexOf("%")&&(l=m);for(m=0;m<i.length;m++)o=c[i[m]],null!==o.sWidth&&(o.sWidth=Fb(o.sWidthOrig,k),t=!0);if(d||!t&&!f&&!e&&j==aa(a)&&j==n.length)for(m=0;m<j;m++)i=Z(a,m),null!==i&&(c[i].sWidth=x(n.eq(m).width()));else{j=h(b).clone().css("visibility","hidden").removeAttr("id");j.find("tbody tr").remove();var r=h("<tr/>").appendTo(j.find("tbody"));
-j.find("thead, tfoot").remove();j.append(h(a.nTHead).clone()).append(h(a.nTFoot).clone());j.find("tfoot th, tfoot td").css("width","");n=qa(a,j.find("thead")[0]);for(m=0;m<i.length;m++)o=c[i[m]],n[m].style.width=null!==o.sWidthOrig&&""!==o.sWidthOrig?x(o.sWidthOrig):"",o.sWidthOrig&&f&&h(n[m]).append(h("<div/>").css({width:o.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(a.aoData.length)for(m=0;m<i.length;m++)t=i[m],o=c[t],h(Gb(a,t)).clone(!1).append(o.sContentPadding).appendTo(r);h("[name]",
-j).removeAttr("name");o=h("<div/>").css(f||e?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(j).appendTo(k);f&&g?j.width(g):f?(j.css("width","auto"),j.removeAttr("width"),j.width()<k.clientWidth&&l&&j.width(k.clientWidth)):e?j.width(k.clientWidth):l&&j.width(l);for(m=e=0;m<i.length;m++)k=h(n[m]),g=k.outerWidth()-k.width(),k=p.bBounding?Math.ceil(n[m].getBoundingClientRect().width):k.outerWidth(),e+=k,c[i[m]].sWidth=x(k-g);b.style.width=x(e);o.remove()}l&&(b.style.width=
-x(l));if((l||f)&&!a._reszEvt)b=function(){h(D).bind("resize.DT-"+a.sInstance,ua(function(){U(a)}))},d?setTimeout(b,1E3):b(),a._reszEvt=!0}function ua(a,b){var c=b!==k?b:200,d,e;return function(){var b=this,g=+new Date,j=arguments;d&&g<d+c?(clearTimeout(e),e=setTimeout(function(){d=k;a.apply(b,j)},c)):(d=g,a.apply(b,j))}}function Fb(a,b){if(!a)return 0;var c=h("<div/>").css("width",x(a)).appendTo(b||I.body),d=c[0].offsetWidth;c.remove();return d}function Gb(a,b){var c=Hb(a,b);if(0>c)return null;var d=
-a.aoData[c];return!d.nTr?h("<td/>").html(B(a,c,b,"display"))[0]:d.anCells[b]}function Hb(a,b){for(var c,d=-1,e=-1,f=0,g=a.aoData.length;f<g;f++)c=B(a,f,b,"display")+"",c=c.replace(ac,""),c=c.replace(/&nbsp;/g," "),c.length>d&&(d=c.length,e=f);return e}function x(a){return null===a?"0px":"number"==typeof a?0>a?"0px":a+"px":a.match(/\d$/)?a+"px":a}function W(a){var b,c,d=[],e=a.aoColumns,f,g,j,i;b=a.aaSortingFixed;c=h.isPlainObject(b);var n=[];f=function(a){a.length&&!h.isArray(a[0])?n.push(a):h.merge(n,
-a)};h.isArray(b)&&f(b);c&&b.pre&&f(b.pre);f(a.aaSorting);c&&b.post&&f(b.post);for(a=0;a<n.length;a++){i=n[a][0];f=e[i].aDataSort;b=0;for(c=f.length;b<c;b++)g=f[b],j=e[g].sType||"string",n[a]._idx===k&&(n[a]._idx=h.inArray(n[a][1],e[g].asSorting)),d.push({src:i,col:g,dir:n[a][1],index:n[a]._idx,type:j,formatter:m.ext.type.order[j+"-pre"]})}return d}function mb(a){var b,c,d=[],e=m.ext.type.order,f=a.aoData,g=0,j,i=a.aiDisplayMaster,h;Ia(a);h=W(a);b=0;for(c=h.length;b<c;b++)j=h[b],j.formatter&&g++,Ib(a,
-j.col);if("ssp"!=y(a)&&0!==h.length){b=0;for(c=i.length;b<c;b++)d[i[b]]=b;g===h.length?i.sort(function(a,b){var c,e,g,j,i=h.length,k=f[a]._aSortData,m=f[b]._aSortData;for(g=0;g<i;g++)if(j=h[g],c=k[j.col],e=m[j.col],c=c<e?-1:c>e?1:0,0!==c)return"asc"===j.dir?c:-c;c=d[a];e=d[b];return c<e?-1:c>e?1:0}):i.sort(function(a,b){var c,g,j,i,k=h.length,m=f[a]._aSortData,p=f[b]._aSortData;for(j=0;j<k;j++)if(i=h[j],c=m[i.col],g=p[i.col],i=e[i.type+"-"+i.dir]||e["string-"+i.dir],c=i(c,g),0!==c)return c;c=d[a];
-g=d[b];return c<g?-1:c>g?1:0})}a.bSorted=!0}function Jb(a){for(var b,c,d=a.aoColumns,e=W(a),a=a.oLanguage.oAria,f=0,g=d.length;f<g;f++){c=d[f];var j=c.asSorting;b=c.sTitle.replace(/<.*?>/g,"");var i=c.nTh;i.removeAttribute("aria-sort");c.bSortable&&(0<e.length&&e[0].col==f?(i.setAttribute("aria-sort","asc"==e[0].dir?"ascending":"descending"),c=j[e[0].index+1]||j[0]):c=j[0],b+="asc"===c?a.sSortAscending:a.sSortDescending);i.setAttribute("aria-label",b)}}function Va(a,b,c,d){var e=a.aaSorting,f=a.aoColumns[b].asSorting,
-g=function(a,b){var c=a._idx;c===k&&(c=h.inArray(a[1],f));return c+1<f.length?c+1:b?null:0};"number"===typeof e[0]&&(e=a.aaSorting=[e]);c&&a.oFeatures.bSortMulti?(c=h.inArray(b,F(e,"0")),-1!==c?(b=g(e[c],!0),null===b&&1===e.length&&(b=0),null===b?e.splice(c,1):(e[c][1]=f[b],e[c]._idx=b)):(e.push([b,f[0],0]),e[e.length-1]._idx=0)):e.length&&e[0][0]==b?(b=g(e[0]),e.length=1,e[0][1]=f[b],e[0]._idx=b):(e.length=0,e.push([b,f[0]]),e[0]._idx=0);T(a);"function"==typeof d&&d(a)}function Oa(a,b,c,d){var e=
-a.aoColumns[c];Wa(b,{},function(b){!1!==e.bSortable&&(a.oFeatures.bProcessing?(C(a,!0),setTimeout(function(){Va(a,c,b.shiftKey,d);"ssp"!==y(a)&&C(a,!1)},0)):Va(a,c,b.shiftKey,d))})}function xa(a){var b=a.aLastSort,c=a.oClasses.sSortColumn,d=W(a),e=a.oFeatures,f,g;if(e.bSort&&e.bSortClasses){e=0;for(f=b.length;e<f;e++)g=b[e].src,h(F(a.aoData,"anCells",g)).removeClass(c+(2>e?e+1:3));e=0;for(f=d.length;e<f;e++)g=d[e].src,h(F(a.aoData,"anCells",g)).addClass(c+(2>e?e+1:3))}a.aLastSort=d}function Ib(a,
-b){var c=a.aoColumns[b],d=m.ext.order[c.sSortDataType],e;d&&(e=d.call(a.oInstance,a,b,$(a,b)));for(var f,g=m.ext.type.order[c.sType+"-pre"],j=0,i=a.aoData.length;j<i;j++)if(c=a.aoData[j],c._aSortData||(c._aSortData=[]),!c._aSortData[b]||d)f=d?e[j]:B(a,j,b,"sort"),c._aSortData[b]=g?g(f):f}function ya(a){if(a.oFeatures.bStateSave&&!a.bDestroying){var b={time:+new Date,start:a._iDisplayStart,length:a._iDisplayLength,order:h.extend(!0,[],a.aaSorting),search:Ab(a.oPreviousSearch),columns:h.map(a.aoColumns,
-function(b,d){return{visible:b.bVisible,search:Ab(a.aoPreSearchCols[d])}})};u(a,"aoStateSaveParams","stateSaveParams",[a,b]);a.oSavedState=b;a.fnStateSaveCallback.call(a.oInstance,a,b)}}function Kb(a){var b,c,d=a.aoColumns;if(a.oFeatures.bStateSave){var e=a.fnStateLoadCallback.call(a.oInstance,a);if(e&&e.time&&(b=u(a,"aoStateLoadParams","stateLoadParams",[a,e]),-1===h.inArray(!1,b)&&(b=a.iStateDuration,!(0<b&&e.time<+new Date-1E3*b)&&d.length===e.columns.length))){a.oLoadedState=h.extend(!0,{},e);
-e.start!==k&&(a._iDisplayStart=e.start,a.iInitDisplayStart=e.start);e.length!==k&&(a._iDisplayLength=e.length);e.order!==k&&(a.aaSorting=[],h.each(e.order,function(b,c){a.aaSorting.push(c[0]>=d.length?[0,c[1]]:c)}));e.search!==k&&h.extend(a.oPreviousSearch,Bb(e.search));b=0;for(c=e.columns.length;b<c;b++){var f=e.columns[b];f.visible!==k&&(d[b].bVisible=f.visible);f.search!==k&&h.extend(a.aoPreSearchCols[b],Bb(f.search))}u(a,"aoStateLoaded","stateLoaded",[a,e])}}}function za(a){var b=m.settings,a=
-h.inArray(a,F(b,"nTable"));return-1!==a?b[a]:null}function L(a,b,c,d){c="DataTables warning: "+(a?"table id="+a.sTableId+" - ":"")+c;d&&(c+=". For more information about this error, please see http://datatables.net/tn/"+d);if(b)D.console&&console.log&&console.log(c);else if(b=m.ext,b=b.sErrMode||b.errMode,a&&u(a,null,"error",[a,d,c]),"alert"==b)alert(c);else{if("throw"==b)throw Error(c);"function"==typeof b&&b(a,d,c)}}function E(a,b,c,d){h.isArray(c)?h.each(c,function(c,d){h.isArray(d)?E(a,b,d[0],
-d[1]):E(a,b,d)}):(d===k&&(d=c),b[c]!==k&&(a[d]=b[c]))}function Lb(a,b,c){var d,e;for(e in b)b.hasOwnProperty(e)&&(d=b[e],h.isPlainObject(d)?(h.isPlainObject(a[e])||(a[e]={}),h.extend(!0,a[e],d)):a[e]=c&&"data"!==e&&"aaData"!==e&&h.isArray(d)?d.slice():d);return a}function Wa(a,b,c){h(a).bind("click.DT",b,function(b){a.blur();c(b)}).bind("keypress.DT",b,function(a){13===a.which&&(a.preventDefault(),c(a))}).bind("selectstart.DT",function(){return!1})}function z(a,b,c,d){c&&a[b].push({fn:c,sName:d})}
-function u(a,b,c,d){var e=[];b&&(e=h.map(a[b].slice().reverse(),function(b){return b.fn.apply(a.oInstance,d)}));null!==c&&(b=h.Event(c+".dt"),h(a.nTable).trigger(b,d),e.push(b.result));return e}function Sa(a){var b=a._iDisplayStart,c=a.fnDisplayEnd(),d=a._iDisplayLength;b>=c&&(b=c-d);b-=b%d;if(-1===d||0>b)b=0;a._iDisplayStart=b}function Pa(a,b){var c=a.renderer,d=m.ext.renderer[b];return h.isPlainObject(c)&&c[b]?d[c[b]]||d._:"string"===typeof c?d[c]||d._:d._}function y(a){return a.oFeatures.bServerSide?
-"ssp":a.ajax||a.sAjaxSource?"ajax":"dom"}function Aa(a,b){var c=[],c=Mb.numbers_length,d=Math.floor(c/2);b<=c?c=X(0,b):a<=d?(c=X(0,c-2),c.push("ellipsis"),c.push(b-1)):(a>=b-1-d?c=X(b-(c-2),b):(c=X(a-d+2,a+d-1),c.push("ellipsis"),c.push(b-1)),c.splice(0,0,"ellipsis"),c.splice(0,0,0));c.DT_el="span";return c}function db(a){h.each({num:function(b){return Ba(b,a)},"num-fmt":function(b){return Ba(b,a,Xa)},"html-num":function(b){return Ba(b,a,Ca)},"html-num-fmt":function(b){return Ba(b,a,Ca,Xa)}},function(b,
-c){v.type.order[b+a+"-pre"]=c;b.match(/^html\-/)&&(v.type.search[b+a]=v.type.search.html)})}function Nb(a){return function(){var b=[za(this[m.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return m.ext.internal[a].apply(this,b)}}var m,v,r,p,s,Ya={},Ob=/[\r\n]/g,Ca=/<.*?>/g,bc=/^[\w\+\-]/,cc=/[\w\+\-]$/,Zb=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Xa=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi,M=function(a){return!a||!0===a||"-"===a?!0:!1},
-Pb=function(a){var b=parseInt(a,10);return!isNaN(b)&&isFinite(a)?b:null},Qb=function(a,b){Ya[b]||(Ya[b]=RegExp(va(b),"g"));return"string"===typeof a&&"."!==b?a.replace(/\./g,"").replace(Ya[b],"."):a},Za=function(a,b,c){var d="string"===typeof a;if(M(a))return!0;b&&d&&(a=Qb(a,b));c&&d&&(a=a.replace(Xa,""));return!isNaN(parseFloat(a))&&isFinite(a)},Rb=function(a,b,c){return M(a)?!0:!(M(a)||"string"===typeof a)?null:Za(a.replace(Ca,""),b,c)?!0:null},F=function(a,b,c){var d=[],e=0,f=a.length;if(c!==k)for(;e<
-f;e++)a[e]&&a[e][b]&&d.push(a[e][b][c]);else for(;e<f;e++)a[e]&&d.push(a[e][b]);return d},ha=function(a,b,c,d){var e=[],f=0,g=b.length;if(d!==k)for(;f<g;f++)a[b[f]][c]&&e.push(a[b[f]][c][d]);else for(;f<g;f++)e.push(a[b[f]][c]);return e},X=function(a,b){var c=[],d;b===k?(b=0,d=a):(d=b,b=a);for(var e=b;e<d;e++)c.push(e);return c},Sb=function(a){for(var b=[],c=0,d=a.length;c<d;c++)a[c]&&b.push(a[c]);return b},pa=function(a){var b=[],c,d,e=a.length,f,g=0;d=0;a:for(;d<e;d++){c=a[d];for(f=0;f<g;f++)if(b[f]===
-c)continue a;b.push(c);g++}return b},A=function(a,b,c){a[b]!==k&&(a[c]=a[b])},ba=/\[.*?\]$/,V=/\(\)$/,wa=h("<div>")[0],$b=wa.textContent!==k,ac=/<.*?>/g;m=function(a){this.$=function(a,b){return this.api(!0).$(a,b)};this._=function(a,b){return this.api(!0).rows(a,b).data()};this.api=function(a){return a?new r(za(this[v.iApiIndex])):new r(this)};this.fnAddData=function(a,b){var c=this.api(!0),d=h.isArray(a)&&(h.isArray(a[0])||h.isPlainObject(a[0]))?c.rows.add(a):c.row.add(a);(b===k||b)&&c.draw();return d.flatten().toArray()};
-this.fnAdjustColumnSizing=function(a){var b=this.api(!0).columns.adjust(),c=b.settings()[0],d=c.oScroll;a===k||a?b.draw(!1):(""!==d.sX||""!==d.sY)&&ka(c)};this.fnClearTable=function(a){var b=this.api(!0).clear();(a===k||a)&&b.draw()};this.fnClose=function(a){this.api(!0).row(a).child.hide()};this.fnDeleteRow=function(a,b,c){var d=this.api(!0),a=d.rows(a),e=a.settings()[0],h=e.aoData[a[0][0]];a.remove();b&&b.call(this,e,h);(c===k||c)&&d.draw();return h};this.fnDestroy=function(a){this.api(!0).destroy(a)};
-this.fnDraw=function(a){this.api(!0).draw(a)};this.fnFilter=function(a,b,c,d,e,h){e=this.api(!0);null===b||b===k?e.search(a,c,d,h):e.column(b).search(a,c,d,h);e.draw()};this.fnGetData=function(a,b){var c=this.api(!0);if(a!==k){var d=a.nodeName?a.nodeName.toLowerCase():"";return b!==k||"td"==d||"th"==d?c.cell(a,b).data():c.row(a).data()||null}return c.data().toArray()};this.fnGetNodes=function(a){var b=this.api(!0);return a!==k?b.row(a).node():b.rows().nodes().flatten().toArray()};this.fnGetPosition=
-function(a){var b=this.api(!0),c=a.nodeName.toUpperCase();return"TR"==c?b.row(a).index():"TD"==c||"TH"==c?(a=b.cell(a).index(),[a.row,a.columnVisible,a.column]):null};this.fnIsOpen=function(a){return this.api(!0).row(a).child.isShown()};this.fnOpen=function(a,b,c){return this.api(!0).row(a).child(b,c).show().child()[0]};this.fnPageChange=function(a,b){var c=this.api(!0).page(a);(b===k||b)&&c.draw(!1)};this.fnSetColumnVis=function(a,b,c){a=this.api(!0).column(a).visible(b);(c===k||c)&&a.columns.adjust().draw()};
-this.fnSettings=function(){return za(this[v.iApiIndex])};this.fnSort=function(a){this.api(!0).order(a).draw()};this.fnSortListener=function(a,b,c){this.api(!0).order.listener(a,b,c)};this.fnUpdate=function(a,b,c,d,e){var h=this.api(!0);c===k||null===c?h.row(b).data(a):h.cell(b,c).data(a);(e===k||e)&&h.columns.adjust();(d===k||d)&&h.draw();return 0};this.fnVersionCheck=v.fnVersionCheck;var b=this,c=a===k,d=this.length;c&&(a={});this.oApi=this.internal=v.internal;for(var e in m.ext.internal)e&&(this[e]=
-Nb(e));this.each(function(){var e={},e=1<d?Lb(e,a,!0):a,g=0,j,i=this.getAttribute("id"),n=!1,l=m.defaults,q=h(this);if("table"!=this.nodeName.toLowerCase())L(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{eb(l);fb(l.column);K(l,l,!0);K(l.column,l.column,!0);K(l,h.extend(e,q.data()));var t=m.settings,g=0;for(j=t.length;g<j;g++){var p=t[g];if(p.nTable==this||p.nTHead.parentNode==this||p.nTFoot&&p.nTFoot.parentNode==this){g=e.bRetrieve!==k?e.bRetrieve:l.bRetrieve;if(c||g)return p.oInstance;
-if(e.bDestroy!==k?e.bDestroy:l.bDestroy){p.oInstance.fnDestroy();break}else{L(p,0,"Cannot reinitialise DataTable",3);return}}if(p.sTableId==this.id){t.splice(g,1);break}}if(null===i||""===i)this.id=i="DataTables_Table_"+m.ext._unique++;var o=h.extend(!0,{},m.models.oSettings,{sDestroyWidth:q[0].style.width,sInstance:i,sTableId:i});o.nTable=this;o.oApi=b.internal;o.oInit=e;t.push(o);o.oInstance=1===b.length?b:q.dataTable();eb(e);e.oLanguage&&Fa(e.oLanguage);e.aLengthMenu&&!e.iDisplayLength&&(e.iDisplayLength=
-h.isArray(e.aLengthMenu[0])?e.aLengthMenu[0][0]:e.aLengthMenu[0]);e=Lb(h.extend(!0,{},l),e);E(o.oFeatures,e,"bPaginate bLengthChange bFilter bSort bSortMulti bInfo bProcessing bAutoWidth bSortClasses bServerSide bDeferRender".split(" "));E(o,e,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback",
-"renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"],["bJQueryUI","bJUI"]]);E(o.oScroll,e,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]);E(o.oLanguage,e,"fnInfoCallback");z(o,"aoDrawCallback",e.fnDrawCallback,"user");z(o,"aoServerParams",e.fnServerParams,"user");z(o,"aoStateSaveParams",e.fnStateSaveParams,"user");z(o,"aoStateLoadParams",
-e.fnStateLoadParams,"user");z(o,"aoStateLoaded",e.fnStateLoaded,"user");z(o,"aoRowCallback",e.fnRowCallback,"user");z(o,"aoRowCreatedCallback",e.fnCreatedRow,"user");z(o,"aoHeaderCallback",e.fnHeaderCallback,"user");z(o,"aoFooterCallback",e.fnFooterCallback,"user");z(o,"aoInitComplete",e.fnInitComplete,"user");z(o,"aoPreDrawCallback",e.fnPreDrawCallback,"user");o.rowIdFn=Q(e.rowId);gb(o);i=o.oClasses;e.bJQueryUI?(h.extend(i,m.ext.oJUIClasses,e.oClasses),e.sDom===l.sDom&&"lfrtip"===l.sDom&&(o.sDom=
-'<"H"lfr>t<"F"ip>'),o.renderer)?h.isPlainObject(o.renderer)&&!o.renderer.header&&(o.renderer.header="jqueryui"):o.renderer="jqueryui":h.extend(i,m.ext.classes,e.oClasses);q.addClass(i.sTable);o.iInitDisplayStart===k&&(o.iInitDisplayStart=e.iDisplayStart,o._iDisplayStart=e.iDisplayStart);null!==e.iDeferLoading&&(o.bDeferLoading=!0,g=h.isArray(e.iDeferLoading),o._iRecordsDisplay=g?e.iDeferLoading[0]:e.iDeferLoading,o._iRecordsTotal=g?e.iDeferLoading[1]:e.iDeferLoading);var r=o.oLanguage;h.extend(!0,
-r,e.oLanguage);""!==r.sUrl&&(h.ajax({dataType:"json",url:r.sUrl,success:function(a){Fa(a);K(l.oLanguage,a);h.extend(true,r,a);ga(o)},error:function(){ga(o)}}),n=!0);null===e.asStripeClasses&&(o.asStripeClasses=[i.sStripeOdd,i.sStripeEven]);var g=o.asStripeClasses,v=q.children("tbody").find("tr").eq(0);-1!==h.inArray(!0,h.map(g,function(a){return v.hasClass(a)}))&&(h("tbody tr",this).removeClass(g.join(" ")),o.asDestroyStripes=g.slice());t=[];g=this.getElementsByTagName("thead");0!==g.length&&(da(o.aoHeader,
-g[0]),t=qa(o));if(null===e.aoColumns){p=[];g=0;for(j=t.length;g<j;g++)p.push(null)}else p=e.aoColumns;g=0;for(j=p.length;g<j;g++)Ga(o,t?t[g]:null);ib(o,e.aoColumnDefs,p,function(a,b){ja(o,a,b)});if(v.length){var s=function(a,b){return a.getAttribute("data-"+b)!==null?b:null};h(v[0]).children("th, td").each(function(a,b){var c=o.aoColumns[a];if(c.mData===a){var d=s(b,"sort")||s(b,"order"),e=s(b,"filter")||s(b,"search");if(d!==null||e!==null){c.mData={_:a+".display",sort:d!==null?a+".@data-"+d:k,type:d!==
-null?a+".@data-"+d:k,filter:e!==null?a+".@data-"+e:k};ja(o,a)}}})}var w=o.oFeatures;e.bStateSave&&(w.bStateSave=!0,Kb(o,e),z(o,"aoDrawCallback",ya,"state_save"));if(e.aaSorting===k){t=o.aaSorting;g=0;for(j=t.length;g<j;g++)t[g][1]=o.aoColumns[g].asSorting[0]}xa(o);w.bSort&&z(o,"aoDrawCallback",function(){if(o.bSorted){var a=W(o),b={};h.each(a,function(a,c){b[c.src]=c.dir});u(o,null,"order",[o,a,b]);Jb(o)}});z(o,"aoDrawCallback",function(){(o.bSorted||y(o)==="ssp"||w.bDeferRender)&&xa(o)},"sc");g=
-q.children("caption").each(function(){this._captionSide=q.css("caption-side")});j=q.children("thead");0===j.length&&(j=h("<thead/>").appendTo(this));o.nTHead=j[0];j=q.children("tbody");0===j.length&&(j=h("<tbody/>").appendTo(this));o.nTBody=j[0];j=q.children("tfoot");if(0===j.length&&0<g.length&&(""!==o.oScroll.sX||""!==o.oScroll.sY))j=h("<tfoot/>").appendTo(this);0===j.length||0===j.children().length?q.addClass(i.sNoFooter):0<j.length&&(o.nTFoot=j[0],da(o.aoFooter,o.nTFoot));if(e.aaData)for(g=0;g<
-e.aaData.length;g++)N(o,e.aaData[g]);else(o.bDeferLoading||"dom"==y(o))&&ma(o,h(o.nTBody).children("tr"));o.aiDisplay=o.aiDisplayMaster.slice();o.bInitialised=!0;!1===n&&ga(o)}});b=null;return this};var Tb=[],w=Array.prototype,dc=function(a){var b,c,d=m.settings,e=h.map(d,function(a){return a.nTable});if(a){if(a.nTable&&a.oApi)return[a];if(a.nodeName&&"table"===a.nodeName.toLowerCase())return b=h.inArray(a,e),-1!==b?[d[b]]:null;if(a&&"function"===typeof a.settings)return a.settings().toArray();"string"===
-typeof a?c=h(a):a instanceof h&&(c=a)}else return[];if(c)return c.map(function(){b=h.inArray(this,e);return-1!==b?d[b]:null}).toArray()};r=function(a,b){if(!(this instanceof r))return new r(a,b);var c=[],d=function(a){(a=dc(a))&&(c=c.concat(a))};if(h.isArray(a))for(var e=0,f=a.length;e<f;e++)d(a[e]);else d(a);this.context=pa(c);b&&h.merge(this,b);this.selector={rows:null,cols:null,opts:null};r.extend(this,this,Tb)};m.Api=r;h.extend(r.prototype,{any:function(){return 0!==this.count()},concat:w.concat,
-context:[],count:function(){return this.flatten().length},each:function(a){for(var b=0,c=this.length;b<c;b++)a.call(this,this[b],b,this);return this},eq:function(a){var b=this.context;return b.length>a?new r(b[a],this[a]):null},filter:function(a){var b=[];if(w.filter)b=w.filter.call(this,a,this);else for(var c=0,d=this.length;c<d;c++)a.call(this,this[c],c,this)&&b.push(this[c]);return new r(this.context,b)},flatten:function(){var a=[];return new r(this.context,a.concat.apply(a,this.toArray()))},join:w.join,
-indexOf:w.indexOf||function(a,b){for(var c=b||0,d=this.length;c<d;c++)if(this[c]===a)return c;return-1},iterator:function(a,b,c,d){var e=[],f,g,h,i,n,l=this.context,m,t,p=this.selector;"string"===typeof a&&(d=c,c=b,b=a,a=!1);g=0;for(h=l.length;g<h;g++){var o=new r(l[g]);if("table"===b)f=c.call(o,l[g],g),f!==k&&e.push(f);else if("columns"===b||"rows"===b)f=c.call(o,l[g],this[g],g),f!==k&&e.push(f);else if("column"===b||"column-rows"===b||"row"===b||"cell"===b){t=this[g];"column-rows"===b&&(m=Da(l[g],
-p.opts));i=0;for(n=t.length;i<n;i++)f=t[i],f="cell"===b?c.call(o,l[g],f.row,f.column,g,i):c.call(o,l[g],f,g,i,m),f!==k&&e.push(f)}}return e.length||d?(a=new r(l,a?e.concat.apply([],e):e),b=a.selector,b.rows=p.rows,b.cols=p.cols,b.opts=p.opts,a):this},lastIndexOf:w.lastIndexOf||function(a,b){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(a){var b=[];if(w.map)b=w.map.call(this,a,this);else for(var c=0,d=this.length;c<d;c++)b.push(a.call(this,this[c],c));return new r(this.context,
-b)},pluck:function(a){return this.map(function(b){return b[a]})},pop:w.pop,push:w.push,reduce:w.reduce||function(a,b){return hb(this,a,b,0,this.length,1)},reduceRight:w.reduceRight||function(a,b){return hb(this,a,b,this.length-1,-1,-1)},reverse:w.reverse,selector:null,shift:w.shift,sort:w.sort,splice:w.splice,toArray:function(){return w.slice.call(this)},to$:function(){return h(this)},toJQuery:function(){return h(this)},unique:function(){return new r(this.context,pa(this))},unshift:w.unshift});r.extend=
-function(a,b,c){if(c.length&&b&&(b instanceof r||b.__dt_wrapper)){var d,e,f,g=function(a,b,c){return function(){var d=b.apply(a,arguments);r.extend(d,d,c.methodExt);return d}};d=0;for(e=c.length;d<e;d++)f=c[d],b[f.name]="function"===typeof f.val?g(a,f.val,f):h.isPlainObject(f.val)?{}:f.val,b[f.name].__dt_wrapper=!0,r.extend(a,b[f.name],f.propExt)}};r.register=p=function(a,b){if(h.isArray(a))for(var c=0,d=a.length;c<d;c++)r.register(a[c],b);else for(var e=a.split("."),f=Tb,g,j,c=0,d=e.length;c<d;c++){g=
-(j=-1!==e[c].indexOf("()"))?e[c].replace("()",""):e[c];var i;a:{i=0;for(var n=f.length;i<n;i++)if(f[i].name===g){i=f[i];break a}i=null}i||(i={name:g,val:{},methodExt:[],propExt:[]},f.push(i));c===d-1?i.val=b:f=j?i.methodExt:i.propExt}};r.registerPlural=s=function(a,b,c){r.register(a,c);r.register(b,function(){var a=c.apply(this,arguments);return a===this?this:a instanceof r?a.length?h.isArray(a[0])?new r(a.context,a[0]):a[0]:k:a})};p("tables()",function(a){var b;if(a){b=r;var c=this.context;if("number"===
-typeof a)a=[c[a]];else var d=h.map(c,function(a){return a.nTable}),a=h(d).filter(a).map(function(){var a=h.inArray(this,d);return c[a]}).toArray();b=new b(a)}else b=this;return b});p("table()",function(a){var a=this.tables(a),b=a.context;return b.length?new r(b[0]):a});s("tables().nodes()","table().node()",function(){return this.iterator("table",function(a){return a.nTable},1)});s("tables().body()","table().body()",function(){return this.iterator("table",function(a){return a.nTBody},1)});s("tables().header()",
-"table().header()",function(){return this.iterator("table",function(a){return a.nTHead},1)});s("tables().footer()","table().footer()",function(){return this.iterator("table",function(a){return a.nTFoot},1)});s("tables().containers()","table().container()",function(){return this.iterator("table",function(a){return a.nTableWrapper},1)});p("draw()",function(a){return this.iterator("table",function(b){"page"===a?O(b):("string"===typeof a&&(a="full-hold"===a?!1:!0),T(b,!1===a))})});p("page()",function(a){return a===
-k?this.page.info().page:this.iterator("table",function(b){Ta(b,a)})});p("page.info()",function(){if(0===this.context.length)return k;var a=this.context[0],b=a._iDisplayStart,c=a.oFeatures.bPaginate?a._iDisplayLength:-1,d=a.fnRecordsDisplay(),e=-1===c;return{page:e?0:Math.floor(b/c),pages:e?1:Math.ceil(d/c),start:b,end:a.fnDisplayEnd(),length:c,recordsTotal:a.fnRecordsTotal(),recordsDisplay:d,serverSide:"ssp"===y(a)}});p("page.len()",function(a){return a===k?0!==this.context.length?this.context[0]._iDisplayLength:
-k:this.iterator("table",function(b){Ra(b,a)})});var Ub=function(a,b,c){if(c){var d=new r(a);d.one("draw",function(){c(d.ajax.json())})}if("ssp"==y(a))T(a,b);else{C(a,!0);var e=a.jqXHR;e&&4!==e.readyState&&e.abort();ra(a,[],function(c){na(a);for(var c=sa(a,c),d=0,e=c.length;d<e;d++)N(a,c[d]);T(a,b);C(a,!1)})}};p("ajax.json()",function(){var a=this.context;if(0<a.length)return a[0].json});p("ajax.params()",function(){var a=this.context;if(0<a.length)return a[0].oAjaxData});p("ajax.reload()",function(a,
-b){return this.iterator("table",function(c){Ub(c,!1===b,a)})});p("ajax.url()",function(a){var b=this.context;if(a===k){if(0===b.length)return k;b=b[0];return b.ajax?h.isPlainObject(b.ajax)?b.ajax.url:b.ajax:b.sAjaxSource}return this.iterator("table",function(b){h.isPlainObject(b.ajax)?b.ajax.url=a:b.ajax=a})});p("ajax.url().load()",function(a,b){return this.iterator("table",function(c){Ub(c,!1===b,a)})});var $a=function(a,b,c,d,e){var f=[],g,j,i,n,l,m;i=typeof b;if(!b||"string"===i||"function"===
-i||b.length===k)b=[b];i=0;for(n=b.length;i<n;i++){j=b[i]&&b[i].split?b[i].split(","):[b[i]];l=0;for(m=j.length;l<m;l++)(g=c("string"===typeof j[l]?h.trim(j[l]):j[l]))&&g.length&&(f=f.concat(g))}a=v.selector[a];if(a.length){i=0;for(n=a.length;i<n;i++)f=a[i](d,e,f)}return pa(f)},ab=function(a){a||(a={});a.filter&&a.search===k&&(a.search=a.filter);return h.extend({search:"none",order:"current",page:"all"},a)},bb=function(a){for(var b=0,c=a.length;b<c;b++)if(0<a[b].length)return a[0]=a[b],a[0].length=
-1,a.length=1,a.context=[a.context[b]],a;a.length=0;return a},Da=function(a,b){var c,d,e,f=[],g=a.aiDisplay;c=a.aiDisplayMaster;var j=b.search;d=b.order;e=b.page;if("ssp"==y(a))return"removed"===j?[]:X(0,c.length);if("current"==e){c=a._iDisplayStart;for(d=a.fnDisplayEnd();c<d;c++)f.push(g[c])}else if("current"==d||"applied"==d)f="none"==j?c.slice():"applied"==j?g.slice():h.map(c,function(a){return-1===h.inArray(a,g)?a:null});else if("index"==d||"original"==d){c=0;for(d=a.aoData.length;c<d;c++)"none"==
-j?f.push(c):(e=h.inArray(c,g),(-1===e&&"removed"==j||0<=e&&"applied"==j)&&f.push(c))}return f};p("rows()",function(a,b){a===k?a="":h.isPlainObject(a)&&(b=a,a="");var b=ab(b),c=this.iterator("table",function(c){var e=b;return $a("row",a,function(a){var b=Pb(a);if(b!==null&&!e)return[b];var j=Da(c,e);if(b!==null&&h.inArray(b,j)!==-1)return[b];if(!a)return j;if(typeof a==="function")return h.map(j,function(b){var e=c.aoData[b];return a(b,e._aData,e.nTr)?b:null});b=Sb(ha(c.aoData,j,"nTr"));if(a.nodeName){if(a._DT_RowIndex!==
-k)return[a._DT_RowIndex];if(a._DT_CellIndex)return[a._DT_CellIndex.row];b=h(a).closest("*[data-dt-row]");return b.length?[b.data("dt-row")]:[]}if(typeof a==="string"&&a.charAt(0)==="#"){j=c.aIds[a.replace(/^#/,"")];if(j!==k)return[j.idx]}return h(b).filter(a).map(function(){return this._DT_RowIndex}).toArray()},c,e)},1);c.selector.rows=a;c.selector.opts=b;return c});p("rows().nodes()",function(){return this.iterator("row",function(a,b){return a.aoData[b].nTr||k},1)});p("rows().data()",function(){return this.iterator(!0,
-"rows",function(a,b){return ha(a.aoData,b,"_aData")},1)});s("rows().cache()","row().cache()",function(a){return this.iterator("row",function(b,c){var d=b.aoData[c];return"search"===a?d._aFilterData:d._aSortData},1)});s("rows().invalidate()","row().invalidate()",function(a){return this.iterator("row",function(b,c){ca(b,c,a)})});s("rows().indexes()","row().index()",function(){return this.iterator("row",function(a,b){return b},1)});s("rows().ids()","row().id()",function(a){for(var b=[],c=this.context,
-d=0,e=c.length;d<e;d++)for(var f=0,g=this[d].length;f<g;f++){var h=c[d].rowIdFn(c[d].aoData[this[d][f]]._aData);b.push((!0===a?"#":"")+h)}return new r(c,b)});s("rows().remove()","row().remove()",function(){var a=this;this.iterator("row",function(b,c,d){var e=b.aoData,f=e[c],g,h,i,n,l;e.splice(c,1);g=0;for(h=e.length;g<h;g++)if(i=e[g],l=i.anCells,null!==i.nTr&&(i.nTr._DT_RowIndex=g),null!==l){i=0;for(n=l.length;i<n;i++)l[i]._DT_CellIndex.row=g}oa(b.aiDisplayMaster,c);oa(b.aiDisplay,c);oa(a[d],c,!1);
-Sa(b);c=b.rowIdFn(f._aData);c!==k&&delete b.aIds[c]});this.iterator("table",function(a){for(var c=0,d=a.aoData.length;c<d;c++)a.aoData[c].idx=c});return this});p("rows.add()",function(a){var b=this.iterator("table",function(b){var c,f,g,h=[];f=0;for(g=a.length;f<g;f++)c=a[f],c.nodeName&&"TR"===c.nodeName.toUpperCase()?h.push(ma(b,c)[0]):h.push(N(b,c));return h},1),c=this.rows(-1);c.pop();h.merge(c,b);return c});p("row()",function(a,b){return bb(this.rows(a,b))});p("row().data()",function(a){var b=
-this.context;if(a===k)return b.length&&this.length?b[0].aoData[this[0]]._aData:k;b[0].aoData[this[0]]._aData=a;ca(b[0],this[0],"data");return this});p("row().node()",function(){var a=this.context;return a.length&&this.length?a[0].aoData[this[0]].nTr||null:null});p("row.add()",function(a){a instanceof h&&a.length&&(a=a[0]);var b=this.iterator("table",function(b){return a.nodeName&&"TR"===a.nodeName.toUpperCase()?ma(b,a)[0]:N(b,a)});return this.row(b[0])});var cb=function(a,b){var c=a.context;if(c.length&&
-(c=c[0].aoData[b!==k?b:a[0]])&&c._details)c._details.remove(),c._detailsShow=k,c._details=k},Vb=function(a,b){var c=a.context;if(c.length&&a.length){var d=c[0].aoData[a[0]];if(d._details){(d._detailsShow=b)?d._details.insertAfter(d.nTr):d._details.detach();var e=c[0],f=new r(e),g=e.aoData;f.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details");0<F(g,"_details").length&&(f.on("draw.dt.DT_details",function(a,b){e===b&&f.rows({page:"current"}).eq(0).each(function(a){a=g[a];
-a._detailsShow&&a._details.insertAfter(a.nTr)})}),f.on("column-visibility.dt.DT_details",function(a,b){if(e===b)for(var c,d=aa(b),f=0,h=g.length;f<h;f++)c=g[f],c._details&&c._details.children("td[colspan]").attr("colspan",d)}),f.on("destroy.dt.DT_details",function(a,b){if(e===b)for(var c=0,d=g.length;c<d;c++)g[c]._details&&cb(f,c)}))}}};p("row().child()",function(a,b){var c=this.context;if(a===k)return c.length&&this.length?c[0].aoData[this[0]]._details:k;if(!0===a)this.child.show();else if(!1===
-a)cb(this);else if(c.length&&this.length){var d=c[0],c=c[0].aoData[this[0]],e=[],f=function(a,b){if(h.isArray(a)||a instanceof h)for(var c=0,k=a.length;c<k;c++)f(a[c],b);else a.nodeName&&"tr"===a.nodeName.toLowerCase()?e.push(a):(c=h("<tr><td/></tr>").addClass(b),h("td",c).addClass(b).html(a)[0].colSpan=aa(d),e.push(c[0]))};f(a,b);c._details&&c._details.remove();c._details=h(e);c._detailsShow&&c._details.insertAfter(c.nTr)}return this});p(["row().child.show()","row().child().show()"],function(){Vb(this,
-!0);return this});p(["row().child.hide()","row().child().hide()"],function(){Vb(this,!1);return this});p(["row().child.remove()","row().child().remove()"],function(){cb(this);return this});p("row().child.isShown()",function(){var a=this.context;return a.length&&this.length?a[0].aoData[this[0]]._detailsShow||!1:!1});var ec=/^(.+):(name|visIdx|visible)$/,Wb=function(a,b,c,d,e){for(var c=[],d=0,f=e.length;d<f;d++)c.push(B(a,e[d],b));return c};p("columns()",function(a,b){a===k?a="":h.isPlainObject(a)&&
-(b=a,a="");var b=ab(b),c=this.iterator("table",function(c){var e=a,f=b,g=c.aoColumns,j=F(g,"sName"),i=F(g,"nTh");return $a("column",e,function(a){var b=Pb(a);if(a==="")return X(g.length);if(b!==null)return[b>=0?b:g.length+b];if(typeof a==="function"){var e=Da(c,f);return h.map(g,function(b,f){return a(f,Wb(c,f,0,0,e),i[f])?f:null})}var k=typeof a==="string"?a.match(ec):"";if(k)switch(k[2]){case "visIdx":case "visible":b=parseInt(k[1],10);if(b<0){var m=h.map(g,function(a,b){return a.bVisible?b:null});
-return[m[m.length+b]]}return[Z(c,b)];case "name":return h.map(j,function(a,b){return a===k[1]?b:null});default:return[]}if(a.nodeName&&a._DT_CellIndex)return[a._DT_CellIndex.column];b=h(i).filter(a).map(function(){return h.inArray(this,i)}).toArray();if(b.length||!a.nodeName)return b;b=h(a).closest("*[data-dt-column]");return b.length?[b.data("dt-column")]:[]},c,f)},1);c.selector.cols=a;c.selector.opts=b;return c});s("columns().header()","column().header()",function(){return this.iterator("column",
-function(a,b){return a.aoColumns[b].nTh},1)});s("columns().footer()","column().footer()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].nTf},1)});s("columns().data()","column().data()",function(){return this.iterator("column-rows",Wb,1)});s("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].mData},1)});s("columns().cache()","column().cache()",function(a){return this.iterator("column-rows",function(b,
-c,d,e,f){return ha(b.aoData,f,"search"===a?"_aFilterData":"_aSortData",c)},1)});s("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(a,b,c,d,e){return ha(a.aoData,e,"anCells",b)},1)});s("columns().visible()","column().visible()",function(a,b){return this.iterator("column",function(c,d){if(a===k)return c.aoColumns[d].bVisible;var e=c.aoColumns,f=e[d],g=c.aoData,j,i,n;if(a!==k&&f.bVisible!==a){if(a){var l=h.inArray(!0,F(e,"bVisible"),d+1);j=0;for(i=g.length;j<
-i;j++)n=g[j].nTr,e=g[j].anCells,n&&n.insertBefore(e[d],e[l]||null)}else h(F(c.aoData,"anCells",d)).detach();f.bVisible=a;ea(c,c.aoHeader);ea(c,c.aoFooter);(b===k||b)&&U(c);u(c,null,"column-visibility",[c,d,a,b]);ya(c)}})});s("columns().indexes()","column().index()",function(a){return this.iterator("column",function(b,c){return"visible"===a?$(b,c):c},1)});p("columns.adjust()",function(){return this.iterator("table",function(a){U(a)},1)});p("column.index()",function(a,b){if(0!==this.context.length){var c=
-this.context[0];if("fromVisible"===a||"toData"===a)return Z(c,b);if("fromData"===a||"toVisible"===a)return $(c,b)}});p("column()",function(a,b){return bb(this.columns(a,b))});p("cells()",function(a,b,c){h.isPlainObject(a)&&(a.row===k?(c=a,a=null):(c=b,b=null));h.isPlainObject(b)&&(c=b,b=null);if(null===b||b===k)return this.iterator("table",function(b){var d=a,e=ab(c),f=b.aoData,g=Da(b,e),j=Sb(ha(f,g,"anCells")),i=h([].concat.apply([],j)),l,n=b.aoColumns.length,m,p,r,u,v,s;return $a("cell",d,function(a){var c=
-typeof a==="function";if(a===null||a===k||c){m=[];p=0;for(r=g.length;p<r;p++){l=g[p];for(u=0;u<n;u++){v={row:l,column:u};if(c){s=f[l];a(v,B(b,l,u),s.anCells?s.anCells[u]:null)&&m.push(v)}else m.push(v)}}return m}if(h.isPlainObject(a))return[a];c=i.filter(a).map(function(a,b){return{row:b._DT_CellIndex.row,column:b._DT_CellIndex.column}}).toArray();if(c.length||!a.nodeName)return c;s=h(a).closest("*[data-dt-row]");return s.length?[{row:s.data("dt-row"),column:s.data("dt-column")}]:[]},b,e)});var d=
-this.columns(b,c),e=this.rows(a,c),f,g,j,i,n,l=this.iterator("table",function(a,b){f=[];g=0;for(j=e[b].length;g<j;g++){i=0;for(n=d[b].length;i<n;i++)f.push({row:e[b][g],column:d[b][i]})}return f},1);h.extend(l.selector,{cols:b,rows:a,opts:c});return l});s("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(a,b,c){return(a=a.aoData[b])&&a.anCells?a.anCells[c]:k},1)});p("cells().data()",function(){return this.iterator("cell",function(a,b,c){return B(a,b,c)},1)});s("cells().cache()",
-"cell().cache()",function(a){a="search"===a?"_aFilterData":"_aSortData";return this.iterator("cell",function(b,c,d){return b.aoData[c][a][d]},1)});s("cells().render()","cell().render()",function(a){return this.iterator("cell",function(b,c,d){return B(b,c,d,a)},1)});s("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(a,b,c){return{row:b,column:c,columnVisible:$(a,c)}},1)});s("cells().invalidate()","cell().invalidate()",function(a){return this.iterator("cell",function(b,
-c,d){ca(b,c,a,d)})});p("cell()",function(a,b,c){return bb(this.cells(a,b,c))});p("cell().data()",function(a){var b=this.context,c=this[0];if(a===k)return b.length&&c.length?B(b[0],c[0].row,c[0].column):k;jb(b[0],c[0].row,c[0].column,a);ca(b[0],c[0].row,"data",c[0].column);return this});p("order()",function(a,b){var c=this.context;if(a===k)return 0!==c.length?c[0].aaSorting:k;"number"===typeof a?a=[[a,b]]:h.isArray(a[0])||(a=Array.prototype.slice.call(arguments));return this.iterator("table",function(b){b.aaSorting=
-a.slice()})});p("order.listener()",function(a,b,c){return this.iterator("table",function(d){Oa(d,a,b,c)})});p("order.fixed()",function(a){if(!a){var b=this.context,b=b.length?b[0].aaSortingFixed:k;return h.isArray(b)?{pre:b}:b}return this.iterator("table",function(b){b.aaSortingFixed=h.extend(!0,{},a)})});p(["columns().order()","column().order()"],function(a){var b=this;return this.iterator("table",function(c,d){var e=[];h.each(b[d],function(b,c){e.push([c,a])});c.aaSorting=e})});p("search()",function(a,
-b,c,d){var e=this.context;return a===k?0!==e.length?e[0].oPreviousSearch.sSearch:k:this.iterator("table",function(e){e.oFeatures.bFilter&&fa(e,h.extend({},e.oPreviousSearch,{sSearch:a+"",bRegex:null===b?!1:b,bSmart:null===c?!0:c,bCaseInsensitive:null===d?!0:d}),1)})});s("columns().search()","column().search()",function(a,b,c,d){return this.iterator("column",function(e,f){var g=e.aoPreSearchCols;if(a===k)return g[f].sSearch;e.oFeatures.bFilter&&(h.extend(g[f],{sSearch:a+"",bRegex:null===b?!1:b,bSmart:null===
-c?!0:c,bCaseInsensitive:null===d?!0:d}),fa(e,e.oPreviousSearch,1))})});p("state()",function(){return this.context.length?this.context[0].oSavedState:null});p("state.clear()",function(){return this.iterator("table",function(a){a.fnStateSaveCallback.call(a.oInstance,a,{})})});p("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null});p("state.save()",function(){return this.iterator("table",function(a){ya(a)})});m.versionCheck=m.fnVersionCheck=function(a){for(var b=
-m.version.split("."),a=a.split("."),c,d,e=0,f=a.length;e<f;e++)if(c=parseInt(b[e],10)||0,d=parseInt(a[e],10)||0,c!==d)return c>d;return!0};m.isDataTable=m.fnIsDataTable=function(a){var b=h(a).get(0),c=!1;h.each(m.settings,function(a,e){var f=e.nScrollHead?h("table",e.nScrollHead)[0]:null,g=e.nScrollFoot?h("table",e.nScrollFoot)[0]:null;if(e.nTable===b||f===b||g===b)c=!0});return c};m.tables=m.fnTables=function(a){var b=!1;h.isPlainObject(a)&&(b=a.api,a=a.visible);var c=h.map(m.settings,function(b){if(!a||
-a&&h(b.nTable).is(":visible"))return b.nTable});return b?new r(c):c};m.util={throttle:ua,escapeRegex:va};m.camelToHungarian=K;p("$()",function(a,b){var c=this.rows(b).nodes(),c=h(c);return h([].concat(c.filter(a).toArray(),c.find(a).toArray()))});h.each(["on","one","off"],function(a,b){p(b+"()",function(){var a=Array.prototype.slice.call(arguments);a[0].match(/\.dt\b/)||(a[0]+=".dt");var d=h(this.tables().nodes());d[b].apply(d,a);return this})});p("clear()",function(){return this.iterator("table",
-function(a){na(a)})});p("settings()",function(){return new r(this.context,this.context)});p("init()",function(){var a=this.context;return a.length?a[0].oInit:null});p("data()",function(){return this.iterator("table",function(a){return F(a.aoData,"_aData")}).flatten()});p("destroy()",function(a){a=a||!1;return this.iterator("table",function(b){var c=b.nTableWrapper.parentNode,d=b.oClasses,e=b.nTable,f=b.nTBody,g=b.nTHead,j=b.nTFoot,i=h(e),f=h(f),k=h(b.nTableWrapper),l=h.map(b.aoData,function(a){return a.nTr}),
-p;b.bDestroying=!0;u(b,"aoDestroyCallback","destroy",[b]);a||(new r(b)).columns().visible(!0);k.unbind(".DT").find(":not(tbody *)").unbind(".DT");h(D).unbind(".DT-"+b.sInstance);e!=g.parentNode&&(i.children("thead").detach(),i.append(g));j&&e!=j.parentNode&&(i.children("tfoot").detach(),i.append(j));b.aaSorting=[];b.aaSortingFixed=[];xa(b);h(l).removeClass(b.asStripeClasses.join(" "));h("th, td",g).removeClass(d.sSortable+" "+d.sSortableAsc+" "+d.sSortableDesc+" "+d.sSortableNone);b.bJUI&&(h("th span."+
-d.sSortIcon+", td span."+d.sSortIcon,g).detach(),h("th, td",g).each(function(){var a=h("div."+d.sSortJUIWrapper,this);h(this).append(a.contents());a.detach()}));f.children().detach();f.append(l);g=a?"remove":"detach";i[g]();k[g]();!a&&c&&(c.insertBefore(e,b.nTableReinsertBefore),i.css("width",b.sDestroyWidth).removeClass(d.sTable),(p=b.asDestroyStripes.length)&&f.children().each(function(a){h(this).addClass(b.asDestroyStripes[a%p])}));c=h.inArray(b,m.settings);-1!==c&&m.settings.splice(c,1)})});h.each(["column",
-"row","cell"],function(a,b){p(b+"s().every()",function(a){var d=this.selector.opts,e=this;return this.iterator(b,function(f,g,h,i,n){a.call(e[b](g,"cell"===b?h:d,"cell"===b?d:k),g,h,i,n)})})});p("i18n()",function(a,b,c){var d=this.context[0],a=Q(a)(d.oLanguage);a===k&&(a=b);c!==k&&h.isPlainObject(a)&&(a=a[c]!==k?a[c]:a._);return a.replace("%d",c)});m.version="1.10.11";m.settings=[];m.models={};m.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0};m.models.oRow={nTr:null,anCells:null,
-_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1};m.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null};m.defaults=
-{aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bJQueryUI:!1,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(a){return a.toString().replace(/\B(?=(\d{3})+(?!\d))/g,
-this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(a){try{return JSON.parse((-1===a.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+a.sInstance+"_"+location.pathname))}catch(b){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(a,b){try{(-1===a.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+a.sInstance+
-"_"+location.pathname,JSON.stringify(b))}catch(c){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",
-sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:h.extend({},m.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"};
-Y(m.defaults);m.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null};Y(m.defaults.column);m.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,
-bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],
-aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:k,oAjaxData:k,fnServerData:null,
-aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==y(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==y(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var a=
-this._iDisplayLength,b=this._iDisplayStart,c=b+a,d=this.aiDisplay.length,e=this.oFeatures,f=e.bPaginate;return e.bServerSide?!1===f||-1===a?b+d:Math.min(b+a,this._iRecordsDisplay):!f||c>d||-1===a?d:c},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null};m.ext=v={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},
-header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:m.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:m.version};h.extend(v,{afnFiltering:v.search,aTypes:v.type.detect,ofnSearch:v.type.search,oSort:v.type.order,afnSortData:v.order,aoFeatures:v.feature,oApi:v.internal,oStdClasses:v.classes,oPagination:v.pager});h.extend(m.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",
-sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",
-sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Ea="",Ea="",H=Ea+"ui-state-default",ia=Ea+"css_right ui-icon ui-icon-",Xb=Ea+"fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix";h.extend(m.ext.oJUIClasses,
-m.ext.classes,{sPageButton:"fg-button ui-button "+H,sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:H+" sorting_asc",sSortDesc:H+" sorting_desc",sSortable:H+" sorting",sSortableAsc:H+" sorting_asc_disabled",sSortableDesc:H+" sorting_desc_disabled",sSortableNone:H+" sorting_disabled",sSortJUIAsc:ia+"triangle-1-n",sSortJUIDesc:ia+"triangle-1-s",sSortJUI:ia+"carat-2-n-s",
-sSortJUIAscAllowed:ia+"carat-1-n",sSortJUIDescAllowed:ia+"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+H,sScrollFoot:"dataTables_scrollFoot "+H,sHeaderTH:H,sFooterTH:H,sJUIHeader:Xb+" ui-corner-tl ui-corner-tr",sJUIFooter:Xb+" ui-corner-bl ui-corner-br"});var Mb=m.ext.pager;h.extend(Mb,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(a,b){return[Aa(a,
-b)]},simple_numbers:function(a,b){return["previous",Aa(a,b),"next"]},full_numbers:function(a,b){return["first","previous",Aa(a,b),"next","last"]},_numbers:Aa,numbers_length:7});h.extend(!0,m.ext.renderer,{pageButton:{_:function(a,b,c,d,e,f){var g=a.oClasses,j=a.oLanguage.oPaginate,i=a.oLanguage.oAria.paginate||{},k,l,m=0,p=function(b,d){var o,r,u,s,v=function(b){Ta(a,b.data.action,true)};o=0;for(r=d.length;o<r;o++){s=d[o];if(h.isArray(s)){u=h("<"+(s.DT_el||"div")+"/>").appendTo(b);p(u,s)}else{k=null;
-l="";switch(s){case "ellipsis":b.append('<span class="ellipsis">&#x2026;</span>');break;case "first":k=j.sFirst;l=s+(e>0?"":" "+g.sPageButtonDisabled);break;case "previous":k=j.sPrevious;l=s+(e>0?"":" "+g.sPageButtonDisabled);break;case "next":k=j.sNext;l=s+(e<f-1?"":" "+g.sPageButtonDisabled);break;case "last":k=j.sLast;l=s+(e<f-1?"":" "+g.sPageButtonDisabled);break;default:k=s+1;l=e===s?g.sPageButtonActive:""}if(k!==null){u=h("<a>",{"class":g.sPageButton+" "+l,"aria-controls":a.sTableId,"aria-label":i[s],
-"data-dt-idx":m,tabindex:a.iTabIndex,id:c===0&&typeof s==="string"?a.sTableId+"_"+s:null}).html(k).appendTo(b);Wa(u,{action:s},v);m++}}}},r;try{r=h(b).find(I.activeElement).data("dt-idx")}catch(o){}p(h(b).empty(),d);r&&h(b).find("[data-dt-idx="+r+"]").focus()}}});h.extend(m.ext.type.detect,[function(a,b){var c=b.oLanguage.sDecimal;return Za(a,c)?"num"+c:null},function(a){if(a&&!(a instanceof Date)&&(!bc.test(a)||!cc.test(a)))return null;var b=Date.parse(a);return null!==b&&!isNaN(b)||M(a)?"date":
-null},function(a,b){var c=b.oLanguage.sDecimal;return Za(a,c,!0)?"num-fmt"+c:null},function(a,b){var c=b.oLanguage.sDecimal;return Rb(a,c)?"html-num"+c:null},function(a,b){var c=b.oLanguage.sDecimal;return Rb(a,c,!0)?"html-num-fmt"+c:null},function(a){return M(a)||"string"===typeof a&&-1!==a.indexOf("<")?"html":null}]);h.extend(m.ext.type.search,{html:function(a){return M(a)?a:"string"===typeof a?a.replace(Ob," ").replace(Ca,""):""},string:function(a){return M(a)?a:"string"===typeof a?a.replace(Ob,
-" "):a}});var Ba=function(a,b,c,d){if(0!==a&&(!a||"-"===a))return-Infinity;b&&(a=Qb(a,b));a.replace&&(c&&(a=a.replace(c,"")),d&&(a=a.replace(d,"")));return 1*a};h.extend(v.type.order,{"date-pre":function(a){return Date.parse(a)||0},"html-pre":function(a){return M(a)?"":a.replace?a.replace(/<.*?>/g,"").toLowerCase():a+""},"string-pre":function(a){return M(a)?"":"string"===typeof a?a.toLowerCase():!a.toString?"":a.toString()},"string-asc":function(a,b){return a<b?-1:a>b?1:0},"string-desc":function(a,
-b){return a<b?1:a>b?-1:0}});db("");h.extend(!0,m.ext.renderer,{header:{_:function(a,b,c,d){h(a.nTable).on("order.dt.DT",function(e,f,g,h){if(a===f){e=c.idx;b.removeClass(c.sSortingClass+" "+d.sSortAsc+" "+d.sSortDesc).addClass(h[e]=="asc"?d.sSortAsc:h[e]=="desc"?d.sSortDesc:c.sSortingClass)}})},jqueryui:function(a,b,c,d){h("<div/>").addClass(d.sSortJUIWrapper).append(b.contents()).append(h("<span/>").addClass(d.sSortIcon+" "+c.sSortingClassJUI)).appendTo(b);h(a.nTable).on("order.dt.DT",function(e,
-f,g,h){if(a===f){e=c.idx;b.removeClass(d.sSortAsc+" "+d.sSortDesc).addClass(h[e]=="asc"?d.sSortAsc:h[e]=="desc"?d.sSortDesc:c.sSortingClass);b.find("span."+d.sSortIcon).removeClass(d.sSortJUIAsc+" "+d.sSortJUIDesc+" "+d.sSortJUI+" "+d.sSortJUIAscAllowed+" "+d.sSortJUIDescAllowed).addClass(h[e]=="asc"?d.sSortJUIAsc:h[e]=="desc"?d.sSortJUIDesc:c.sSortingClassJUI)}})}}});var Yb=function(a){return"string"===typeof a?a.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):a};m.render={number:function(a,
-b,c,d,e){return{display:function(f){if("number"!==typeof f&&"string"!==typeof f)return f;var g=0>f?"-":"",h=parseFloat(f);if(isNaN(h))return Yb(f);f=Math.abs(h);h=parseInt(f,10);f=c?b+(f-h).toFixed(c).substring(2):"";return g+(d||"")+h.toString().replace(/\B(?=(\d{3})+(?!\d))/g,a)+f+(e||"")}}},text:function(){return{display:Yb}}};h.extend(m.ext.internal,{_fnExternApiFunc:Nb,_fnBuildAjax:ra,_fnAjaxUpdate:lb,_fnAjaxParameters:ub,_fnAjaxUpdateDraw:vb,_fnAjaxDataSrc:sa,_fnAddColumn:Ga,_fnColumnOptions:ja,
-_fnAdjustColumnSizing:U,_fnVisibleToColumnIndex:Z,_fnColumnIndexToVisible:$,_fnVisbleColumns:aa,_fnGetColumns:la,_fnColumnTypes:Ia,_fnApplyColumnDefs:ib,_fnHungarianMap:Y,_fnCamelToHungarian:K,_fnLanguageCompat:Fa,_fnBrowserDetect:gb,_fnAddData:N,_fnAddTr:ma,_fnNodeToDataIndex:function(a,b){return b._DT_RowIndex!==k?b._DT_RowIndex:null},_fnNodeToColumnIndex:function(a,b,c){return h.inArray(c,a.aoData[b].anCells)},_fnGetCellData:B,_fnSetCellData:jb,_fnSplitObjNotation:La,_fnGetObjectDataFn:Q,_fnSetObjectDataFn:R,
-_fnGetDataMaster:Ma,_fnClearTable:na,_fnDeleteIndex:oa,_fnInvalidate:ca,_fnGetRowElements:Ka,_fnCreateTr:Ja,_fnBuildHead:kb,_fnDrawHead:ea,_fnDraw:O,_fnReDraw:T,_fnAddOptionsHtml:nb,_fnDetectHeader:da,_fnGetUniqueThs:qa,_fnFeatureHtmlFilter:pb,_fnFilterComplete:fa,_fnFilterCustom:yb,_fnFilterColumn:xb,_fnFilter:wb,_fnFilterCreateSearch:Qa,_fnEscapeRegex:va,_fnFilterData:zb,_fnFeatureHtmlInfo:sb,_fnUpdateInfo:Cb,_fnInfoMacros:Db,_fnInitialise:ga,_fnInitComplete:ta,_fnLengthChange:Ra,_fnFeatureHtmlLength:ob,
-_fnFeatureHtmlPaginate:tb,_fnPageChange:Ta,_fnFeatureHtmlProcessing:qb,_fnProcessingDisplay:C,_fnFeatureHtmlTable:rb,_fnScrollDraw:ka,_fnApplyToChildren:J,_fnCalculateColumnWidths:Ha,_fnThrottle:ua,_fnConvertToWidth:Fb,_fnGetWidestNode:Gb,_fnGetMaxLenString:Hb,_fnStringToCss:x,_fnSortFlatten:W,_fnSort:mb,_fnSortAria:Jb,_fnSortListener:Va,_fnSortAttachListener:Oa,_fnSortingClasses:xa,_fnSortData:Ib,_fnSaveState:ya,_fnLoadState:Kb,_fnSettingsFromNode:za,_fnLog:L,_fnMap:E,_fnBindAction:Wa,_fnCallbackReg:z,
-_fnCallbackFire:u,_fnLengthOverflow:Sa,_fnRenderer:Pa,_fnDataSource:y,_fnRowAttributes:Na,_fnCalculateEnd:function(){}});h.fn.dataTable=m;m.$=h;h.fn.dataTableSettings=m.settings;h.fn.dataTableExt=m.ext;h.fn.DataTable=function(a){return h(this).dataTable(a).api()};h.each(m,function(a,b){h.fn.DataTable[a]=b});return h.fn.dataTable});
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/style-datatable.css b/uiframe-iui/src/main/resources/webroot/vendor/data-tables/style-datatable.css
deleted file mode 100644
index b9d39d0b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/data-tables/style-datatable.css
+++ /dev/null
@@ -1,154 +0,0 @@
-/* remove rounds from all elements */
-
-div,
-input,
-select,
-textarea,
-span,
-img,
-table,
-td,
-th,
-p,
-a,
-button,
-ul,
-code,
-pre,
-li {
- -webkit-border-radius: 0 !important;
- -moz-border-radius: 0 !important;
- border-radius: 0 !important;
-}
-
-.input-mini {
- width: 25px !important;
- height:15px !important;
- padding-top: 2px !important;
- margin: 0 2px !important;
-}
-
-.input-xsmall {
- width: 80px !important;
- height:25px !important;
- padding-top: 2%;
-}
-
-.input-small {
- width: 120px !important;
-}
-
-.input-medium {
- width: 240px !important;
-}
-
-.input-large {
- width: 320px !important;
-}
-
-.input-xlarge {
- width: 480px !important;
-}
-
-.input-inline {
- display: inline-block;
- width: auto;
- vertical-align: middle;
-}
-
-.form-control {
- font-size: 14px;
- font-weight: normal;
- color: #333333;
- background-color: #ffffff;
- border: 1px solid #e5e5e5;
- border-radius: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
- -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-}
-
-.pagination-panel {
- font-size: 13px !important;
-}
-
-.dataTables_length label {
- font-weight: 400;
- font-size: 13px !important;
-}
-
-.dataTables_info {
- font-size: 13px !important;
-}
-
-.dataTable tbody {
- font-size: 13px;
-}
-
-/***
-Bootstrap Tables
-***/
-
-.table thead > tr > th {
- border-bottom: 0;
-}
-
-.table tbody tr.active td,
-.table tbody tr.active th {
- background-color: #e9e9e9 !important;
-}
-
-.table tbody tr.active:hover td,
-.table tbody tr.active:hover th {
- background-color: #e1e1e1 !important;
-}
-
-.table-striped tbody tr.active:nth-child(odd) td,
-.table-striped tbody tr.active:nth-child(odd) th {
- background-color: #017ebc;
-}
-
-.table .heading > th {
- background-color: #eee !important;
-}
-
-.detailTable {
- border-collapse:collapse;border-spacing:0;border-left:1px solid #888;border-top:1px solid #888;
-}
-
-.detailTable td{border:1px solid #ddd !important;}
-
-/*
-.detailTitleStyle {
- background-color: #428bca !important;
-}
-*/
-
-.labelDetailTable {
- display: inline;
- padding: .2em .6em .3em;
- font-size: 75%;
- font-weight: bold;
- line-height: 1;
- text-align: center;
- white-space: nowrap;
- vertical-align: baseline;
- border-radius: .25em;
-}
-/*
-.oddDetailTable td{
- background-color: #fff !important;
-}
-*/
-.evenDetailTable td{
- background-color: #f9f9f9 !important;
-}
-
-.detailCellStyle{
- WORD-WRAP: break-word;
-}
-
-#buttonConfirm:hover {
- cursor:pointer !important;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/delete.me b/uiframe-iui/src/main/resources/webroot/vendor/delete.me
deleted file mode 100644
index e69de29b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/delete.me
+++ /dev/null
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/echarts/echarts-all.js b/uiframe-iui/src/main/resources/webroot/vendor/echarts/echarts-all.js
deleted file mode 100644
index 607e4488..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/echarts/echarts-all.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-!function(e){var t,i;!function(){function e(e,t){if(!t)return e;if(0===e.indexOf(".")){var i=t.split("/"),n=e.split("/"),a=i.length-1,o=n.length,r=0,s=0;e:for(var l=0;o>l;l++)switch(n[l]){case"..":if(!(a>r))break e;r++,s++;break;case".":s++;break;default:break e}return i.length=a-r,n=n.slice(s),i.concat(n).join("/")}return e}function n(t){function i(i,r){if("string"==typeof i){var s=n[i];return s||(s=o(e(i,t)),n[i]=s),s}i instanceof Array&&(r=r||function(){},r.apply(this,a(i,r,t)))}var n={};return i}function a(i,n,a){for(var s=[],l=r[a],h=0,m=Math.min(i.length,n.length);m>h;h++){var V,U=e(i[h],a);switch(U){case"require":V=l&&l.require||t;break;case"exports":V=l.exports;break;case"module":V=l;break;default:V=o(U)}s.push(V)}return s}function o(e){var t=r[e];if(!t)throw new Error("No "+e);if(!t.defined){var i=t.factory,n=i.apply(this,a(t.deps||[],i,e));"undefined"!=typeof n&&(t.exports=n),t.defined=1}return t.exports}var r={};i=function(e,t,i){r[e]={id:e,deps:t,factory:i,defined:0,exports:{},require:n(e)}},t=n("")}(),i("echarts",["echarts/echarts"],function(e){return e}),i("echarts/echarts",["require","./config","zrender/tool/util","zrender/tool/event","zrender/tool/env","zrender","zrender/config","./chart/island","./component/toolbox","./component","./component/title","./component/tooltip","./component/legend","./util/ecData","./chart","zrender/tool/color","./component/timeline","zrender/shape/Image","zrender/loadingEffect/Bar","zrender/loadingEffect/Bubble","zrender/loadingEffect/DynamicLine","zrender/loadingEffect/Ring","zrender/loadingEffect/Spin","zrender/loadingEffect/Whirling","./theme/macarons","./theme/infographic"],function(e){function t(){r.Dispatcher.call(this)}function i(e){e.innerHTML="",this._themeConfig={},this.dom=e,this._connected=!1,this._status={dragIn:!1,dragOut:!1,needRefresh:!1},this._curEventType=!1,this._chartList=[],this._messageCenter=new t,this._messageCenterOutSide=new t,this.resize=this.resize(),this._init()}function n(e,t,i,n,a){for(var o=e._chartList,r=o.length;r--;){var s=o[r];"function"==typeof s[t]&&s[t](i,n,a)}}var a=e("./config"),o=e("zrender/tool/util"),r=e("zrender/tool/event"),s={},l=e("zrender/tool/env").canvasSupported,h=new Date-0,m={},V="_echarts_instance_";s.version="2.2.7",s.dependencies={zrender:"2.1.1"},s.init=function(t,n){var a=e("zrender");a.version.replace(".","")-0<s.dependencies.zrender.replace(".","")-0&&console.error("ZRender "+a.version+" is too old for ECharts "+s.version+". Current version need ZRender "+s.dependencies.zrender+"+"),t=t instanceof Array?t[0]:t;var o=t.getAttribute(V);return o||(o=h++,t.setAttribute(V,o)),m[o]&&m[o].dispose(),m[o]=new i(t),m[o].id=o,m[o].canvasSupported=l,m[o].setTheme(n),m[o]},s.getInstanceById=function(e){return m[e]},o.merge(t.prototype,r.Dispatcher.prototype,!0);var U=e("zrender/config").EVENT,d=["CLICK","DBLCLICK","MOUSEOVER","MOUSEOUT","DRAGSTART","DRAGEND","DRAGENTER","DRAGOVER","DRAGLEAVE","DROP"];return i.prototype={_init:function(){var t=this,i=e("zrender").init(this.dom);this._zr=i,this._messageCenter.dispatch=function(e,i,n,a){n=n||{},n.type=e,n.event=i,t._messageCenter.dispatchWithContext(e,n,a),t._messageCenterOutSide.dispatchWithContext(e,n,a)},this._onevent=function(e){return t.__onevent(e)};for(var n in a.EVENT)"CLICK"!=n&&"DBLCLICK"!=n&&"HOVER"!=n&&"MOUSEOUT"!=n&&"MAP_ROAM"!=n&&this._messageCenter.bind(a.EVENT[n],this._onevent,this);var o={};this._onzrevent=function(e){return t[o[e.type]](e)};for(var r=0,s=d.length;s>r;r++){var l=d[r],h=U[l];o[h]="_on"+l.toLowerCase(),i.on(h,this._onzrevent)}this.chart={},this.component={};var m=e("./chart/island");this._island=new m(this._themeConfig,this._messageCenter,i,{},this),this.chart.island=this._island;var V=e("./component/toolbox");this._toolbox=new V(this._themeConfig,this._messageCenter,i,{},this),this.component.toolbox=this._toolbox;var p=e("./component");p.define("title",e("./component/title")),p.define("tooltip",e("./component/tooltip")),p.define("legend",e("./component/legend")),(0===i.getWidth()||0===i.getHeight())&&console.error("Dom’s width & height should be ready before init.")},__onevent:function(e){e.__echartsId=e.__echartsId||this.id;var t=e.__echartsId===this.id;switch(this._curEventType||(this._curEventType=e.type),e.type){case a.EVENT.LEGEND_SELECTED:this._onlegendSelected(e);break;case a.EVENT.DATA_ZOOM:if(!t){var i=this.component.dataZoom;i&&(i.silence(!0),i.absoluteZoom(e.zoom),i.silence(!1))}this._ondataZoom(e);break;case a.EVENT.DATA_RANGE:t&&this._ondataRange(e);break;case a.EVENT.MAGIC_TYPE_CHANGED:if(!t){var n=this.component.toolbox;n&&(n.silence(!0),n.setMagicType(e.magicType),n.silence(!1))}this._onmagicTypeChanged(e);break;case a.EVENT.DATA_VIEW_CHANGED:t&&this._ondataViewChanged(e);break;case a.EVENT.TOOLTIP_HOVER:t&&this._tooltipHover(e);break;case a.EVENT.RESTORE:this._onrestore();break;case a.EVENT.REFRESH:t&&this._onrefresh(e);break;case a.EVENT.TOOLTIP_IN_GRID:case a.EVENT.TOOLTIP_OUT_GRID:if(t){if(this._connected){var o=this.component.grid;o&&(e.x=(e.event.zrenderX-o.getX())/o.getWidth(),e.y=(e.event.zrenderY-o.getY())/o.getHeight())}}else{var o=this.component.grid;o&&this._zr.trigger("mousemove",{connectTrigger:!0,zrenderX:o.getX()+e.x*o.getWidth(),zrenderY:o.getY()+e.y*o.getHeight()})}}if(this._connected&&t&&this._curEventType===e.type){for(var r in this._connected)this._connected[r].connectedEventHandler(e);this._curEventType=null}(!t||!this._connected&&t)&&(this._curEventType=null)},_onclick:function(e){if(n(this,"onclick",e),e.target){var t=this._eventPackage(e.target);t&&null!=t.seriesIndex&&this._messageCenter.dispatch(a.EVENT.CLICK,e.event,t,this)}},_ondblclick:function(e){if(n(this,"ondblclick",e),e.target){var t=this._eventPackage(e.target);t&&null!=t.seriesIndex&&this._messageCenter.dispatch(a.EVENT.DBLCLICK,e.event,t,this)}},_onmouseover:function(e){if(e.target){var t=this._eventPackage(e.target);t&&null!=t.seriesIndex&&this._messageCenter.dispatch(a.EVENT.HOVER,e.event,t,this)}},_onmouseout:function(e){if(e.target){var t=this._eventPackage(e.target);t&&null!=t.seriesIndex&&this._messageCenter.dispatch(a.EVENT.MOUSEOUT,e.event,t,this)}},_ondragstart:function(e){this._status={dragIn:!1,dragOut:!1,needRefresh:!1},n(this,"ondragstart",e)},_ondragenter:function(e){n(this,"ondragenter",e)},_ondragover:function(e){n(this,"ondragover",e)},_ondragleave:function(e){n(this,"ondragleave",e)},_ondrop:function(e){n(this,"ondrop",e,this._status),this._island.ondrop(e,this._status)},_ondragend:function(e){if(n(this,"ondragend",e,this._status),this._timeline&&this._timeline.ondragend(e,this._status),this._island.ondragend(e,this._status),this._status.needRefresh){this._syncBackupData(this._option);var t=this._messageCenter;t.dispatch(a.EVENT.DATA_CHANGED,e.event,this._eventPackage(e.target),this),t.dispatch(a.EVENT.REFRESH,null,null,this)}},_onlegendSelected:function(e){this._status.needRefresh=!1,n(this,"onlegendSelected",e,this._status),this._status.needRefresh&&this._messageCenter.dispatch(a.EVENT.REFRESH,null,null,this)},_ondataZoom:function(e){this._status.needRefresh=!1,n(this,"ondataZoom",e,this._status),this._status.needRefresh&&this._messageCenter.dispatch(a.EVENT.REFRESH,null,null,this)},_ondataRange:function(e){this._clearEffect(),this._status.needRefresh=!1,n(this,"ondataRange",e,this._status),this._status.needRefresh&&this._zr.refreshNextFrame()},_onmagicTypeChanged:function(){this._clearEffect(),this._render(this._toolbox.getMagicOption())},_ondataViewChanged:function(e){this._syncBackupData(e.option),this._messageCenter.dispatch(a.EVENT.DATA_CHANGED,null,e,this),this._messageCenter.dispatch(a.EVENT.REFRESH,null,null,this)},_tooltipHover:function(e){var t=[];n(this,"ontooltipHover",e,t)},_onrestore:function(){this.restore()},_onrefresh:function(e){this._refreshInside=!0,this.refresh(e),this._refreshInside=!1},_syncBackupData:function(e){this.component.dataZoom&&this.component.dataZoom.syncBackupData(e)},_eventPackage:function(t){if(t){var i=e("./util/ecData"),n=i.get(t,"seriesIndex"),a=i.get(t,"dataIndex");return a=-1!=n&&this.component.dataZoom?this.component.dataZoom.getRealDataIndex(n,a):a,{seriesIndex:n,seriesName:(i.get(t,"series")||{}).name,dataIndex:a,data:i.get(t,"data"),name:i.get(t,"name"),value:i.get(t,"value"),special:i.get(t,"special")}}},_noDataCheck:function(e){for(var t=e.series,i=0,n=t.length;n>i;i++)if(t[i].type==a.CHART_TYPE_MAP||t[i].data&&t[i].data.length>0||t[i].markPoint&&t[i].markPoint.data&&t[i].markPoint.data.length>0||t[i].markLine&&t[i].markLine.data&&t[i].markLine.data.length>0||t[i].nodes&&t[i].nodes.length>0||t[i].links&&t[i].links.length>0||t[i].matrix&&t[i].matrix.length>0||t[i].eventList&&t[i].eventList.length>0)return!1;var o=this._option&&this._option.noDataLoadingOption||this._themeConfig.noDataLoadingOption||a.noDataLoadingOption||{text:this._option&&this._option.noDataText||this._themeConfig.noDataText||a.noDataText,effect:this._option&&this._option.noDataEffect||this._themeConfig.noDataEffect||a.noDataEffect};return this.clear(),this.showLoading(o),!0},_render:function(t){if(this._mergeGlobalConifg(t),!this._noDataCheck(t)){var i=t.backgroundColor;if(i)if(l||-1==i.indexOf("rgba"))this.dom.style.backgroundColor=i;else{var n=i.split(",");this.dom.style.filter="alpha(opacity="+100*n[3].substring(0,n[3].lastIndexOf(")"))+")",n.length=3,n[0]=n[0].replace("a",""),this.dom.style.backgroundColor=n.join(",")+")"}this._zr.clearAnimation(),this._chartList=[];var o=e("./chart"),r=e("./component");(t.xAxis||t.yAxis)&&(t.grid=t.grid||{},t.dataZoom=t.dataZoom||{});for(var s,h,m,V=["title","legend","tooltip","dataRange","roamController","grid","dataZoom","xAxis","yAxis","polar"],U=0,d=V.length;d>U;U++)h=V[U],m=this.component[h],t[h]?(m?m.refresh&&m.refresh(t):(s=r.get(/^[xy]Axis$/.test(h)?"axis":h),m=new s(this._themeConfig,this._messageCenter,this._zr,t,this,h),this.component[h]=m),this._chartList.push(m)):m&&(m.dispose(),this.component[h]=null,delete this.component[h]);for(var p,c,u,y={},U=0,d=t.series.length;d>U;U++)c=t.series[U].type,c?y[c]||(y[c]=!0,p=o.get(c),p?(this.chart[c]?(u=this.chart[c],u.refresh(t)):u=new p(this._themeConfig,this._messageCenter,this._zr,t,this),this._chartList.push(u),this.chart[c]=u):console.error(c+" has not been required.")):console.error("series["+U+"] chart type has not been defined.");for(c in this.chart)c==a.CHART_TYPE_ISLAND||y[c]||(this.chart[c].dispose(),this.chart[c]=null,delete this.chart[c]);this.component.grid&&this.component.grid.refixAxisShape(this.component),this._island.refresh(t),this._toolbox.refresh(t),t.animation&&!t.renderAsImage?this._zr.refresh():this._zr.render();var g="IMG"+this.id,b=document.getElementById(g);t.renderAsImage&&l?(b?b.src=this.getDataURL(t.renderAsImage):(b=this.getImage(t.renderAsImage),b.id=g,b.style.position="absolute",b.style.left=0,b.style.top=0,this.dom.firstChild.appendChild(b)),this.un(),this._zr.un(),this._disposeChartList(),this._zr.clear()):b&&b.parentNode.removeChild(b),b=null,this._option=t}},restore:function(){this._clearEffect(),this._option=o.clone(this._optionRestore),this._disposeChartList(),this._island.clear(),this._toolbox.reset(this._option,!0),this._render(this._option)},refresh:function(e){this._clearEffect(),e=e||{};var t=e.option;!this._refreshInside&&t&&(t=this.getOption(),o.merge(t,e.option,!0),o.merge(this._optionRestore,e.option,!0),this._toolbox.reset(t)),this._island.refresh(t),this._toolbox.refresh(t),this._zr.clearAnimation();for(var i=0,n=this._chartList.length;n>i;i++)this._chartList[i].refresh&&this._chartList[i].refresh(t);this.component.grid&&this.component.grid.refixAxisShape(this.component),this._zr.refresh()},_disposeChartList:function(){this._clearEffect(),this._zr.clearAnimation();for(var e=this._chartList.length;e--;){var t=this._chartList[e];if(t){var i=t.type;this.chart[i]&&delete this.chart[i],this.component[i]&&delete this.component[i],t.dispose&&t.dispose()}}this._chartList=[]},_mergeGlobalConifg:function(t){for(var i=["backgroundColor","calculable","calculableColor","calculableHolderColor","nameConnector","valueConnector","animation","animationThreshold","animationDuration","animationDurationUpdate","animationEasing","addDataAnimation","symbolList","DRAG_ENABLE_TIME"],n=i.length;n--;){var o=i[n];null==t[o]&&(t[o]=null!=this._themeConfig[o]?this._themeConfig[o]:a[o])}var r=t.color;r&&r.length||(r=this._themeConfig.color||a.color),this._zr.getColor=function(t){var i=e("zrender/tool/color");return i.getColor(t,r)},l||(t.animation=!1,t.addDataAnimation=!1)},setOption:function(e,t){return e.timeline?this._setTimelineOption(e):this._setOption(e,t)},_setOption:function(e,t,i){return!t&&this._option?this._option=o.merge(this.getOption(),o.clone(e),!0):(this._option=o.clone(e),!i&&this._timeline&&this._timeline.dispose()),this._optionRestore=o.clone(this._option),this._option.series&&0!==this._option.series.length?(this.component.dataZoom&&(this._option.dataZoom||this._option.toolbox&&this._option.toolbox.feature&&this._option.toolbox.feature.dataZoom&&this._option.toolbox.feature.dataZoom.show)&&this.component.dataZoom.syncOption(this._option),this._toolbox.reset(this._option),this._render(this._option),this):void this._zr.clear()},getOption:function(){function e(e){var n=i._optionRestore[e];if(n)if(n instanceof Array)for(var a=n.length;a--;)t[e][a].data=o.clone(n[a].data);else t[e].data=o.clone(n.data)}var t=o.clone(this._option),i=this;return e("xAxis"),e("yAxis"),e("series"),t},setSeries:function(e,t){return t?(this._option.series=e,this.setOption(this._option,t)):this.setOption({series:e}),this},getSeries:function(){return this.getOption().series},_setTimelineOption:function(t){this._timeline&&this._timeline.dispose();var i=e("./component/timeline"),n=new i(this._themeConfig,this._messageCenter,this._zr,t,this);return this._timeline=n,this.component.timeline=this._timeline,this},addData:function(e,t,i,n,r){function s(){if(V._zr){V._zr.clearAnimation();for(var e=0,t=X.length;t>e;e++)X[e].motionlessOnce=h.addDataAnimation&&X[e].addDataAnimation;V._messageCenter.dispatch(a.EVENT.REFRESH,null,{option:h},V)}}for(var l=e instanceof Array?e:[[e,t,i,n,r]],h=this.getOption(),m=this._optionRestore,V=this,U=0,d=l.length;d>U;U++){e=l[U][0],t=l[U][1],i=l[U][2],n=l[U][3],r=l[U][4];var p=m.series[e],c=i?"unshift":"push",u=i?"pop":"shift";if(p){var y=p.data,g=h.series[e].data;if(y[c](t),g[c](t),n||(y[u](),t=g[u]()),null!=r){var b,f;if(p.type===a.CHART_TYPE_PIE&&(b=m.legend)&&(f=b.data)){var k=h.legend.data;if(f[c](r),k[c](r),!n){var x=o.indexOf(f,t.name);-1!=x&&f.splice(x,1),x=o.indexOf(k,t.name),-1!=x&&k.splice(x,1)}}else if(null!=m.xAxis&&null!=m.yAxis){var _,L,W=p.xAxisIndex||0;(null==m.xAxis[W].type||"category"===m.xAxis[W].type)&&(_=m.xAxis[W].data,L=h.xAxis[W].data,_[c](r),L[c](r),n||(_[u](),L[u]())),W=p.yAxisIndex||0,"category"===m.yAxis[W].type&&(_=m.yAxis[W].data,L=h.yAxis[W].data,_[c](r),L[c](r),n||(_[u](),L[u]()))}}this._option.series[e].data=h.series[e].data}}this._zr.clearAnimation();for(var X=this._chartList,v=0,w=function(){v--,0===v&&s()},U=0,d=X.length;d>U;U++)h.addDataAnimation&&X[U].addDataAnimation&&(v++,X[U].addDataAnimation(l,w));return this.component.dataZoom&&this.component.dataZoom.syncOption(h),this._option=h,h.addDataAnimation||setTimeout(s,0),this},addMarkPoint:function(e,t){return this._addMark(e,t,"markPoint")},addMarkLine:function(e,t){return this._addMark(e,t,"markLine")},_addMark:function(e,t,i){var n,a=this._option.series;if(a&&(n=a[e])){var r=this._optionRestore.series,s=r[e],l=n[i],h=s[i];l=n[i]=l||{data:[]},h=s[i]=h||{data:[]};for(var m in t)"data"===m?(l.data=l.data.concat(t.data),h.data=h.data.concat(t.data)):"object"!=typeof t[m]||null==l[m]?l[m]=h[m]=t[m]:(o.merge(l[m],t[m],!0),o.merge(h[m],t[m],!0));var V=this.chart[n.type];V&&V.addMark(e,t,i)}return this},delMarkPoint:function(e,t){return this._delMark(e,t,"markPoint")},delMarkLine:function(e,t){return this._delMark(e,t,"markLine")},_delMark:function(e,t,i){var n,a,o,r=this._option.series;if(!(r&&(n=r[e])&&(a=n[i])&&(o=a.data)))return this;t=t.split(" > ");for(var s=-1,l=0,h=o.length;h>l;l++){var m=o[l];if(m instanceof Array){if(m[0].name===t[0]&&m[1].name===t[1]){s=l;break}}else if(m.name===t[0]){s=l;break}}if(s>-1){o.splice(s,1),this._optionRestore.series[e][i].data.splice(s,1);var V=this.chart[n.type];V&&V.delMark(e,t.join(" > "),i)}return this},getDom:function(){return this.dom},getZrender:function(){return this._zr},getDataURL:function(e){if(!l)return"";if(0===this._chartList.length){var t="IMG"+this.id,i=document.getElementById(t);if(i)return i.src}var n=this.component.tooltip;switch(n&&n.hideTip(),e){case"jpeg":break;default:e="png"}var a=this._option.backgroundColor;return a&&"rgba(0,0,0,0)"===a.replace(" ","")&&(a="#fff"),this._zr.toDataURL("image/"+e,a)},getImage:function(e){var t=this._optionRestore.title,i=document.createElement("img");return i.src=this.getDataURL(e),i.title=t&&t.text||"ECharts",i},getConnectedDataURL:function(t){if(!this.isConnected())return this.getDataURL(t);var i=this.dom,n={self:{img:this.getDataURL(t),left:i.offsetLeft,top:i.offsetTop,right:i.offsetLeft+i.offsetWidth,bottom:i.offsetTop+i.offsetHeight}},a=n.self.left,o=n.self.top,r=n.self.right,s=n.self.bottom;for(var l in this._connected)i=this._connected[l].getDom(),n[l]={img:this._connected[l].getDataURL(t),left:i.offsetLeft,top:i.offsetTop,right:i.offsetLeft+i.offsetWidth,bottom:i.offsetTop+i.offsetHeight},a=Math.min(a,n[l].left),o=Math.min(o,n[l].top),r=Math.max(r,n[l].right),s=Math.max(s,n[l].bottom);var h=document.createElement("div");h.style.position="absolute",h.style.left="-4000px",h.style.width=r-a+"px",h.style.height=s-o+"px",document.body.appendChild(h);var m=e("zrender").init(h),V=e("zrender/shape/Image");for(var l in n)m.addShape(new V({style:{x:n[l].left-a,y:n[l].top-o,image:n[l].img}}));m.render();var U=this._option.backgroundColor;U&&"rgba(0,0,0,0)"===U.replace(/ /g,"")&&(U="#fff");var d=m.toDataURL("image/png",U);return setTimeout(function(){m.dispose(),h.parentNode.removeChild(h),h=null},100),d},getConnectedImage:function(e){var t=this._optionRestore.title,i=document.createElement("img");return i.src=this.getConnectedDataURL(e),i.title=t&&t.text||"ECharts",i},on:function(e,t){return this._messageCenterOutSide.bind(e,t,this),this},un:function(e,t){return this._messageCenterOutSide.unbind(e,t),this},connect:function(e){if(!e)return this;if(this._connected||(this._connected={}),e instanceof Array)for(var t=0,i=e.length;i>t;t++)this._connected[e[t].id]=e[t];else this._connected[e.id]=e;return this},disConnect:function(e){if(!e||!this._connected)return this;if(e instanceof Array)for(var t=0,i=e.length;i>t;t++)delete this._connected[e[t].id];else delete this._connected[e.id];for(var n in this._connected)return this;return this._connected=!1,this},connectedEventHandler:function(e){e.__echartsId!=this.id&&this._onevent(e)},isConnected:function(){return!!this._connected},showLoading:function(t){var i={bar:e("zrender/loadingEffect/Bar"),bubble:e("zrender/loadingEffect/Bubble"),dynamicLine:e("zrender/loadingEffect/DynamicLine"),ring:e("zrender/loadingEffect/Ring"),spin:e("zrender/loadingEffect/Spin"),whirling:e("zrender/loadingEffect/Whirling")};this._toolbox.hideDataView(),t=t||{};var n=t.textStyle||{};t.textStyle=n;var r=o.merge(o.merge(o.clone(n),this._themeConfig.textStyle),a.textStyle);n.textFont=r.fontStyle+" "+r.fontWeight+" "+r.fontSize+"px "+r.fontFamily,n.text=t.text||this._option&&this._option.loadingText||this._themeConfig.loadingText||a.loadingText,null!=t.x&&(n.x=t.x),null!=t.y&&(n.y=t.y),t.effectOption=t.effectOption||{},t.effectOption.textStyle=n;var s=t.effect;return("string"==typeof s||null==s)&&(s=i[t.effect||this._option&&this._option.loadingEffect||this._themeConfig.loadingEffect||a.loadingEffect]||i.spin),this._zr.showLoading(new s(t.effectOption)),this},hideLoading:function(){return this._zr.hideLoading(),this},setTheme:function(t){if(t){if("string"==typeof t)switch(t){case"macarons":t=e("./theme/macarons");break;case"infographic":t=e("./theme/infographic");break;default:t={}}else t=t||{};this._themeConfig=t}if(!l){var i=this._themeConfig.textStyle;i&&i.fontFamily&&i.fontFamily2&&(i.fontFamily=i.fontFamily2),i=a.textStyle,i.fontFamily=i.fontFamily2}this._timeline&&this._timeline.setTheme(!0),this._optionRestore&&this.restore()},resize:function(){var e=this;return function(){if(e._clearEffect(),e._zr.resize(),e._option&&e._option.renderAsImage&&l)return e._render(e._option),e;e._zr.clearAnimation(),e._island.resize(),e._toolbox.resize(),e._timeline&&e._timeline.resize();for(var t=0,i=e._chartList.length;i>t;t++)e._chartList[t].resize&&e._chartList[t].resize();return e.component.grid&&e.component.grid.refixAxisShape(e.component),e._zr.refresh(),e._messageCenter.dispatch(a.EVENT.RESIZE,null,null,e),e}},_clearEffect:function(){this._zr.modLayer(a.EFFECT_ZLEVEL,{motionBlur:!1}),this._zr.painter.clearLayer(a.EFFECT_ZLEVEL)},clear:function(){return this._disposeChartList(),this._zr.clear(),this._option={},this._optionRestore={},this.dom.style.backgroundColor=null,this},dispose:function(){var e=this.dom.getAttribute(V);e&&delete m[e],this._island.dispose(),this._toolbox.dispose(),this._timeline&&this._timeline.dispose(),this._messageCenter.unbind(),this.clear(),this._zr.dispose(),this._zr=null}},s}),i("echarts/config",[],function(){var e={CHART_TYPE_LINE:"line",CHART_TYPE_BAR:"bar",CHART_TYPE_SCATTER:"scatter",CHART_TYPE_PIE:"pie",CHART_TYPE_RADAR:"radar",CHART_TYPE_VENN:"venn",CHART_TYPE_TREEMAP:"treemap",CHART_TYPE_TREE:"tree",CHART_TYPE_MAP:"map",CHART_TYPE_K:"k",CHART_TYPE_ISLAND:"island",CHART_TYPE_FORCE:"force",CHART_TYPE_CHORD:"chord",CHART_TYPE_GAUGE:"gauge",CHART_TYPE_FUNNEL:"funnel",CHART_TYPE_EVENTRIVER:"eventRiver",CHART_TYPE_WORDCLOUD:"wordCloud",CHART_TYPE_HEATMAP:"heatmap",COMPONENT_TYPE_TITLE:"title",COMPONENT_TYPE_LEGEND:"legend",COMPONENT_TYPE_DATARANGE:"dataRange",COMPONENT_TYPE_DATAVIEW:"dataView",COMPONENT_TYPE_DATAZOOM:"dataZoom",COMPONENT_TYPE_TOOLBOX:"toolbox",COMPONENT_TYPE_TOOLTIP:"tooltip",COMPONENT_TYPE_GRID:"grid",COMPONENT_TYPE_AXIS:"axis",COMPONENT_TYPE_POLAR:"polar",COMPONENT_TYPE_X_AXIS:"xAxis",COMPONENT_TYPE_Y_AXIS:"yAxis",COMPONENT_TYPE_AXIS_CATEGORY:"categoryAxis",COMPONENT_TYPE_AXIS_VALUE:"valueAxis",COMPONENT_TYPE_TIMELINE:"timeline",COMPONENT_TYPE_ROAMCONTROLLER:"roamController",backgroundColor:"rgba(0,0,0,0)",color:["#ff7f50","#87cefa","#da70d6","#32cd32","#6495ed","#ff69b4","#ba55d3","#cd5c5c","#ffa500","#40e0d0","#1e90ff","#ff6347","#7b68ee","#00fa9a","#ffd700","#6699FF","#ff6666","#3cb371","#b8860b","#30e0e0"],markPoint:{clickable:!0,symbol:"pin",symbolSize:10,large:!1,effect:{show:!1,loop:!0,period:15,type:"scale",scaleSize:2,bounceDistance:10},itemStyle:{normal:{borderWidth:2,label:{show:!0,position:"inside"}},emphasis:{label:{show:!0}}}},markLine:{clickable:!0,symbol:["circle","arrow"],symbolSize:[2,4],smoothness:.2,precision:2,effect:{show:!1,loop:!0,period:15,scaleSize:2},bundling:{enable:!1,maxTurningAngle:45},itemStyle:{normal:{borderWidth:1.5,label:{show:!0,position:"end"},lineStyle:{type:"dashed"}},emphasis:{label:{show:!1},lineStyle:{}}}},textStyle:{decoration:"none",fontFamily:"Arial, Verdana, sans-serif",fontFamily2:"微软雅黑",fontSize:12,fontStyle:"normal",fontWeight:"normal"},EVENT:{REFRESH:"refresh",RESTORE:"restore",RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",HOVER:"hover",MOUSEOUT:"mouseout",DATA_CHANGED:"dataChanged",DATA_ZOOM:"dataZoom",DATA_RANGE:"dataRange",DATA_RANGE_SELECTED:"dataRangeSelected",DATA_RANGE_HOVERLINK:"dataRangeHoverLink",LEGEND_SELECTED:"legendSelected",LEGEND_HOVERLINK:"legendHoverLink",MAP_SELECTED:"mapSelected",PIE_SELECTED:"pieSelected",MAGIC_TYPE_CHANGED:"magicTypeChanged",DATA_VIEW_CHANGED:"dataViewChanged",TIMELINE_CHANGED:"timelineChanged",MAP_ROAM:"mapRoam",FORCE_LAYOUT_END:"forceLayoutEnd",TOOLTIP_HOVER:"tooltipHover",TOOLTIP_IN_GRID:"tooltipInGrid",TOOLTIP_OUT_GRID:"tooltipOutGrid",ROAMCONTROLLER:"roamController"},DRAG_ENABLE_TIME:120,EFFECT_ZLEVEL:10,effectBlendAlpha:.95,symbolList:["circle","rectangle","triangle","diamond","emptyCircle","emptyRectangle","emptyTriangle","emptyDiamond"],loadingEffect:"spin",loadingText:"数据读取中...",noDataEffect:"bubble",noDataText:"暂无数据",calculable:!1,calculableColor:"rgba(255,165,0,0.6)",calculableHolderColor:"#ccc",nameConnector:" & ",valueConnector:": ",animation:!0,addDataAnimation:!0,animationThreshold:2e3,animationDuration:2e3,animationDurationUpdate:500,animationEasing:"ExponentialOut"};return e}),i("zrender/tool/util",["require","../dep/excanvas"],function(e){function t(e){return e&&1===e.nodeType&&"string"==typeof e.nodeName}function i(e){if("object"==typeof e&&null!==e){var n=e;if(e instanceof Array){n=[];for(var a=0,o=e.length;o>a;a++)n[a]=i(e[a])}else if(!y[g.call(e)]&&!t(e)){n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=i(e[r]))}return n}return e}function n(e,i,n,o){if(i.hasOwnProperty(n)){var r=e[n];"object"!=typeof r||y[g.call(r)]||t(r)?!o&&n in e||(e[n]=i[n]):a(e[n],i[n],o)}}function a(e,t,i){for(var a in t)n(e,t,a,i);return e}function o(){if(!U)if(e("../dep/excanvas"),window.G_vmlCanvasManager){var t=document.createElement("div");t.style.position="absolute",t.style.top="-1000px",document.body.appendChild(t),U=G_vmlCanvasManager.initElement(t).getContext("2d")}else U=document.createElement("canvas").getContext("2d");return U}function r(e,t){if(e.indexOf)return e.indexOf(t);for(var i=0,n=e.length;n>i;i++)if(e[i]===t)return i;return-1}function s(e,t){function i(){}var n=e.prototype;i.prototype=t.prototype,e.prototype=new i;for(var a in n)e.prototype[a]=n[a];e.constructor=e}function l(e,t,i){if(e&&t)if(e.forEach&&e.forEach===p)e.forEach(t,i);else if(e.length===+e.length)for(var n=0,a=e.length;a>n;n++)t.call(i,e[n],n,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(i,e[o],o,e)}function h(e,t,i){if(e&&t){if(e.map&&e.map===c)return e.map(t,i);for(var n=[],a=0,o=e.length;o>a;a++)n.push(t.call(i,e[a],a,e));return n}}function m(e,t,i){if(e&&t){if(e.filter&&e.filter===u)return e.filter(t,i);for(var n=[],a=0,o=e.length;o>a;a++)t.call(i,e[a],a,e)&&n.push(e[a]);return n}}function V(e,t){return function(){e.apply(t,arguments)}}var U,d=Array.prototype,p=d.forEach,c=d.map,u=d.filter,y={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1},g=Object.prototype.toString;return{inherits:s,clone:i,merge:a,getContext:o,indexOf:r,each:l,map:h,filter:m,bind:V}}),i("zrender/tool/event",["require","../mixin/Eventful"],function(e){"use strict";function t(e){return"undefined"!=typeof e.zrenderX&&e.zrenderX||"undefined"!=typeof e.offsetX&&e.offsetX||"undefined"!=typeof e.layerX&&e.layerX||"undefined"!=typeof e.clientX&&e.clientX}function i(e){return"undefined"!=typeof e.zrenderY&&e.zrenderY||"undefined"!=typeof e.offsetY&&e.offsetY||"undefined"!=typeof e.layerY&&e.layerY||"undefined"!=typeof e.clientY&&e.clientY}function n(e){return"undefined"!=typeof e.zrenderDelta&&e.zrenderDelta||"undefined"!=typeof e.wheelDelta&&e.wheelDelta||"undefined"!=typeof e.detail&&-e.detail}var a=e("../mixin/Eventful"),o="function"==typeof window.addEventListener?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};return{getX:t,getY:i,getDelta:n,stop:o,Dispatcher:a}}),i("zrender/tool/env",[],function(){function e(e){var t=this.os={},i=this.browser={},n=e.match(/Web[kK]it[\/]{0,1}([\d.]+)/),a=e.match(/(Android);?[\s\/]+([\d.]+)?/),o=e.match(/(iPad).*OS\s([\d_]+)/),r=e.match(/(iPod)(.*OS\s([\d_]+))?/),s=!o&&e.match(/(iPhone\sOS)\s([\d_]+)/),l=e.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),h=l&&e.match(/TouchPad/),m=e.match(/Kindle\/([\d.]+)/),V=e.match(/Silk\/([\d._]+)/),U=e.match(/(BlackBerry).*Version\/([\d.]+)/),d=e.match(/(BB10).*Version\/([\d.]+)/),p=e.match(/(RIM\sTablet\sOS)\s([\d.]+)/),c=e.match(/PlayBook/),u=e.match(/Chrome\/([\d.]+)/)||e.match(/CriOS\/([\d.]+)/),y=e.match(/Firefox\/([\d.]+)/),g=e.match(/MSIE ([\d.]+)/),b=n&&e.match(/Mobile\//)&&!u,f=e.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/)&&!u,g=e.match(/MSIE\s([\d.]+)/);return(i.webkit=!!n)&&(i.version=n[1]),a&&(t.android=!0,t.version=a[2]),s&&!r&&(t.ios=t.iphone=!0,t.version=s[2].replace(/_/g,".")),o&&(t.ios=t.ipad=!0,t.version=o[2].replace(/_/g,".")),r&&(t.ios=t.ipod=!0,t.version=r[3]?r[3].replace(/_/g,"."):null),l&&(t.webos=!0,t.version=l[2]),h&&(t.touchpad=!0),U&&(t.blackberry=!0,t.version=U[2]),d&&(t.bb10=!0,t.version=d[2]),p&&(t.rimtabletos=!0,t.version=p[2]),c&&(i.playbook=!0),m&&(t.kindle=!0,t.version=m[1]),V&&(i.silk=!0,i.version=V[1]),!V&&t.android&&e.match(/Kindle Fire/)&&(i.silk=!0),u&&(i.chrome=!0,i.version=u[1]),y&&(i.firefox=!0,i.version=y[1]),g&&(i.ie=!0,i.version=g[1]),b&&(e.match(/Safari/)||t.ios)&&(i.safari=!0),f&&(i.webview=!0),g&&(i.ie=!0,i.version=g[1]),t.tablet=!!(o||c||a&&!e.match(/Mobile/)||y&&e.match(/Tablet/)||g&&!e.match(/Phone/)&&e.match(/Touch/)),t.phone=!(t.tablet||t.ipod||!(a||s||l||U||d||u&&e.match(/Android/)||u&&e.match(/CriOS\/([\d.]+)/)||y&&e.match(/Mobile/)||g&&e.match(/Touch/))),{browser:i,os:t,canvasSupported:document.createElement("canvas").getContext?!0:!1}}return e(navigator.userAgent)}),i("zrender",["zrender/zrender"],function(e){return e}),i("zrender/zrender",["require","./dep/excanvas","./tool/util","./tool/log","./tool/guid","./Handler","./Painter","./Storage","./animation/Animation","./tool/env"],function(e){function t(e){return function(){e._needsRefreshNextFrame&&e.refresh()}}e("./dep/excanvas");var i=e("./tool/util"),n=e("./tool/log"),a=e("./tool/guid"),o=e("./Handler"),r=e("./Painter"),s=e("./Storage"),l=e("./animation/Animation"),h={},m={};m.version="2.1.1",m.init=function(e){var t=new V(a(),e);return h[t.id]=t,t},m.dispose=function(e){if(e)e.dispose();else{for(var t in h)h[t].dispose();h={}}return m},m.getInstance=function(e){return h[e]},m.delInstance=function(e){return delete h[e],m};var V=function(i,n){this.id=i,this.env=e("./tool/env"),this.storage=new s,this.painter=new r(n,this.storage),this.handler=new o(n,this.storage,this.painter),this.animation=new l({stage:{update:t(this)}}),this.animation.start();var a=this;this.painter.refreshNextFrame=function(){a.refreshNextFrame()},this._needsRefreshNextFrame=!1;var a=this,h=this.storage,m=h.delFromMap;h.delFromMap=function(e){var t=h.get(e);a.stopAnimation(t),m.call(h,e)}};return V.prototype.getId=function(){return this.id},V.prototype.addShape=function(e){return this.addElement(e),this},V.prototype.addGroup=function(e){return this.addElement(e),this},V.prototype.delShape=function(e){return this.delElement(e),this},V.prototype.delGroup=function(e){return this.delElement(e),this},V.prototype.modShape=function(e,t){return this.modElement(e,t),this},V.prototype.modGroup=function(e,t){return this.modElement(e,t),this},V.prototype.addElement=function(e){return this.storage.addRoot(e),this._needsRefreshNextFrame=!0,this},V.prototype.delElement=function(e){return this.storage.delRoot(e),this._needsRefreshNextFrame=!0,this},V.prototype.modElement=function(e,t){return this.storage.mod(e,t),this._needsRefreshNextFrame=!0,this},V.prototype.modLayer=function(e,t){return this.painter.modLayer(e,t),this._needsRefreshNextFrame=!0,this},V.prototype.addHoverShape=function(e){return this.storage.addHover(e),this},V.prototype.render=function(e){return this.painter.render(e),this._needsRefreshNextFrame=!1,this},V.prototype.refresh=function(e){return this.painter.refresh(e),this._needsRefreshNextFrame=!1,this},V.prototype.refreshNextFrame=function(){return this._needsRefreshNextFrame=!0,this},V.prototype.refreshHover=function(e){return this.painter.refreshHover(e),this},V.prototype.refreshShapes=function(e,t){return this.painter.refreshShapes(e,t),this},V.prototype.resize=function(){return this.painter.resize(),this},V.prototype.animate=function(e,t,a){var o=this;if("string"==typeof e&&(e=this.storage.get(e)),e){var r;if(t){for(var s=t.split("."),l=e,h=0,m=s.length;m>h;h++)l&&(l=l[s[h]]);l&&(r=l)}else r=e;if(!r)return void n('Property "'+t+'" is not existed in element '+e.id);
-
-null==e.__animators&&(e.__animators=[]);var V=e.__animators,U=this.animation.animate(r,{loop:a}).during(function(){o.modShape(e)}).done(function(){var t=i.indexOf(e.__animators,U);t>=0&&V.splice(t,1)});return V.push(U),U}n("Element not existed")},V.prototype.stopAnimation=function(e){if(e.__animators){for(var t=e.__animators,i=t.length,n=0;i>n;n++)t[n].stop();t.length=0}return this},V.prototype.clearAnimation=function(){return this.animation.clear(),this},V.prototype.showLoading=function(e){return this.painter.showLoading(e),this},V.prototype.hideLoading=function(){return this.painter.hideLoading(),this},V.prototype.getWidth=function(){return this.painter.getWidth()},V.prototype.getHeight=function(){return this.painter.getHeight()},V.prototype.toDataURL=function(e,t,i){return this.painter.toDataURL(e,t,i)},V.prototype.shapeToImage=function(e,t,i){var n=a();return this.painter.shapeToImage(n,e,t,i)},V.prototype.on=function(e,t,i){return this.handler.on(e,t,i),this},V.prototype.un=function(e,t){return this.handler.un(e,t),this},V.prototype.trigger=function(e,t){return this.handler.trigger(e,t),this},V.prototype.clear=function(){return this.storage.delRoot(),this.painter.clear(),this},V.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,m.delInstance(this.id)},m}),i("zrender/config",[],function(){var e={EVENT:{RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",MOUSEWHEEL:"mousewheel",MOUSEMOVE:"mousemove",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",GLOBALOUT:"globalout",DRAGSTART:"dragstart",DRAGEND:"dragend",DRAGENTER:"dragenter",DRAGOVER:"dragover",DRAGLEAVE:"dragleave",DROP:"drop",touchClickDelay:300},elementClassName:"zr-element",catchBrushException:!1,debugMode:0,devicePixelRatio:Math.max(window.devicePixelRatio||1,1)};return e}),i("echarts/chart/island",["require","./base","zrender/shape/Circle","../config","../util/ecData","zrender/tool/util","zrender/tool/event","zrender/tool/color","../util/accMath","../chart"],function(e){function t(e,t,n,a,r){i.call(this,e,t,n,a,r),this._nameConnector,this._valueConnector,this._zrHeight=this.zr.getHeight(),this._zrWidth=this.zr.getWidth();var l=this;l.shapeHandler.onmousewheel=function(e){var t=e.target,i=e.event,n=s.getDelta(i);n=n>0?-1:1,t.style.r-=n,t.style.r=t.style.r<5?5:t.style.r;var a=o.get(t,"value"),r=a*l.option.island.calculateStep;a=r>1?Math.round(a-r*n):+(a-r*n).toFixed(2);var h=o.get(t,"name");t.style.text=h+":"+a,o.set(t,"value",a),o.set(t,"name",h),l.zr.modShape(t.id),l.zr.refreshNextFrame(),s.stop(i)}}var i=e("./base"),n=e("zrender/shape/Circle"),a=e("../config");a.island={zlevel:0,z:5,r:15,calculateStep:.1};var o=e("../util/ecData"),r=e("zrender/tool/util"),s=e("zrender/tool/event");return t.prototype={type:a.CHART_TYPE_ISLAND,_combine:function(t,i){var n=e("zrender/tool/color"),a=e("../util/accMath"),r=a.accAdd(o.get(t,"value"),o.get(i,"value")),s=o.get(t,"name")+this._nameConnector+o.get(i,"name");t.style.text=s+this._valueConnector+r,o.set(t,"value",r),o.set(t,"name",s),t.style.r=this.option.island.r,t.style.color=n.mix(t.style.color,i.style.color)},refresh:function(e){e&&(e.island=this.reformOption(e.island),this.option=e,this._nameConnector=this.option.nameConnector,this._valueConnector=this.option.valueConnector)},getOption:function(){return this.option},resize:function(){var e=this.zr.getWidth(),t=this.zr.getHeight(),i=e/(this._zrWidth||e),n=t/(this._zrHeight||t);if(1!==i||1!==n){this._zrWidth=e,this._zrHeight=t;for(var a=0,o=this.shapeList.length;o>a;a++)this.zr.modShape(this.shapeList[a].id,{style:{x:Math.round(this.shapeList[a].style.x*i),y:Math.round(this.shapeList[a].style.y*n)}})}},add:function(e){var t=o.get(e,"name"),i=o.get(e,"value"),a=null!=o.get(e,"series")?o.get(e,"series").name:"",r=this.getFont(this.option.island.textStyle),s=this.option.island,l={zlevel:s.zlevel,z:s.z,style:{x:e.style.x,y:e.style.y,r:this.option.island.r,color:e.style.color||e.style.strokeColor,text:t+this._valueConnector+i,textFont:r},draggable:!0,hoverable:!0,onmousewheel:this.shapeHandler.onmousewheel,_type:"island"};"#fff"===l.style.color&&(l.style.color=e.style.strokeColor),this.setCalculable(l),l.dragEnableTime=0,o.pack(l,{name:a},-1,i,-1,t),l=new n(l),this.shapeList.push(l),this.zr.addShape(l)},del:function(e){this.zr.delShape(e.id);for(var t=[],i=0,n=this.shapeList.length;n>i;i++)this.shapeList[i].id!=e.id&&t.push(this.shapeList[i]);this.shapeList=t},ondrop:function(e,t){if(this.isDrop&&e.target){var i=e.target,n=e.dragged;this._combine(i,n),this.zr.modShape(i.id),t.dragIn=!0,this.isDrop=!1}},ondragend:function(e,t){var i=e.target;this.isDragend?t.dragIn&&(this.del(i),t.needRefresh=!0):t.dragIn||(i.style.x=s.getX(e.event),i.style.y=s.getY(e.event),this.add(i),t.needRefresh=!0),this.isDragend=!1}},r.inherits(t,i),e("../chart").define("island",t),t}),i("echarts/component/toolbox",["require","./base","zrender/shape/Line","zrender/shape/Image","zrender/shape/Rectangle","../util/shape/Icon","../config","zrender/tool/util","zrender/config","zrender/tool/event","./dataView","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.dom=o.dom,this._magicType={},this._magicMap={},this._isSilence=!1,this._iconList,this._iconShapeMap={},this._featureTitle={},this._featureIcon={},this._featureColor={},this._featureOption={},this._enableColor="red",this._disableColor="#ccc",this._markShapeList=[];var r=this;r._onMark=function(e){r.__onMark(e)},r._onMarkUndo=function(e){r.__onMarkUndo(e)},r._onMarkClear=function(e){r.__onMarkClear(e)},r._onDataZoom=function(e){r.__onDataZoom(e)},r._onDataZoomReset=function(e){r.__onDataZoomReset(e)},r._onDataView=function(e){r.__onDataView(e)},r._onRestore=function(e){r.__onRestore(e)},r._onSaveAsImage=function(e){r.__onSaveAsImage(e)},r._onMagicType=function(e){r.__onMagicType(e)},r._onCustomHandler=function(e){r.__onCustomHandler(e)},r._onmousemove=function(e){return r.__onmousemove(e)},r._onmousedown=function(e){return r.__onmousedown(e)},r._onmouseup=function(e){return r.__onmouseup(e)},r._onclick=function(e){return r.__onclick(e)}}var i=e("./base"),n=e("zrender/shape/Line"),a=e("zrender/shape/Image"),o=e("zrender/shape/Rectangle"),r=e("../util/shape/Icon"),s=e("../config");s.toolbox={zlevel:0,z:6,show:!1,orient:"horizontal",x:"right",y:"top",color:["#1e90ff","#22bb22","#4b0082","#d2691e"],disableColor:"#ddd",effectiveColor:"red",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,itemSize:16,showTitle:!0,feature:{mark:{show:!1,title:{mark:"辅助线开关",markUndo:"删除辅助线",markClear:"清空辅助线"},lineStyle:{width:1,color:"#1e90ff",type:"dashed"}},dataZoom:{show:!1,title:{dataZoom:"区域缩放",dataZoomReset:"区域缩放后退"}},dataView:{show:!1,title:"数据视图",readOnly:!1,lang:["数据视图","关闭","刷新"]},magicType:{show:!1,title:{line:"折线图切换",bar:"柱形图切换",stack:"堆积",tiled:"平铺",force:"力导向布局图切换",chord:"和弦图切换",pie:"饼图切换",funnel:"漏斗图切换"},type:[]},restore:{show:!1,title:"还原"},saveAsImage:{show:!1,title:"保存为图片",type:"png",lang:["点击保存"]}}};var l=e("zrender/tool/util"),h=e("zrender/config"),m=e("zrender/tool/event"),V="stack",U="tiled";return t.prototype={type:s.COMPONENT_TYPE_TOOLBOX,_buildShape:function(){this._iconList=[];var e=this.option.toolbox;this._enableColor=e.effectiveColor,this._disableColor=e.disableColor;var t=e.feature,i=[];for(var n in t)if(t[n].show)switch(n){case"mark":i.push({key:n,name:"mark"}),i.push({key:n,name:"markUndo"}),i.push({key:n,name:"markClear"});break;case"magicType":for(var a=0,o=t[n].type.length;o>a;a++)t[n].title[t[n].type[a]+"Chart"]=t[n].title[t[n].type[a]],t[n].option&&(t[n].option[t[n].type[a]+"Chart"]=t[n].option[t[n].type[a]]),i.push({key:n,name:t[n].type[a]+"Chart"});break;case"dataZoom":i.push({key:n,name:"dataZoom"}),i.push({key:n,name:"dataZoomReset"});break;case"saveAsImage":this.canvasSupported&&i.push({key:n,name:"saveAsImage"});break;default:i.push({key:n,name:n})}if(i.length>0){for(var r,n,a=0,o=i.length;o>a;a++)r=i[a].name,n=i[a].key,this._iconList.push(r),this._featureTitle[r]=t[n].title[r]||t[n].title,t[n].icon&&(this._featureIcon[r]=t[n].icon[r]||t[n].icon),t[n].color&&(this._featureColor[r]=t[n].color[r]||t[n].color),t[n].option&&(this._featureOption[r]=t[n].option[r]||t[n].option);this._itemGroupLocation=this._getItemGroupLocation(),this._buildBackground(),this._buildItem();for(var a=0,o=this.shapeList.length;o>a;a++)this.zr.addShape(this.shapeList[a]);this._iconShapeMap.mark&&(this._iconDisable(this._iconShapeMap.markUndo),this._iconDisable(this._iconShapeMap.markClear)),this._iconShapeMap.dataZoomReset&&0===this._zoomQueue.length&&this._iconDisable(this._iconShapeMap.dataZoomReset)}},_buildItem:function(){var t,i,n,o,s=this.option.toolbox,l=this._iconList.length,h=this._itemGroupLocation.x,m=this._itemGroupLocation.y,V=s.itemSize,U=s.itemGap,d=s.color instanceof Array?s.color:[s.color],p=this.getFont(s.textStyle);"horizontal"===s.orient?(i=this._itemGroupLocation.y/this.zr.getHeight()<.5?"bottom":"top",n=this._itemGroupLocation.x/this.zr.getWidth()<.5?"left":"right",o=this._itemGroupLocation.y/this.zr.getHeight()<.5?"top":"bottom"):i=this._itemGroupLocation.x/this.zr.getWidth()<.5?"right":"left",this._iconShapeMap={};for(var c=this,u=0;l>u;u++){switch(t={type:"icon",zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:h,y:m,width:V,height:V,iconType:this._iconList[u],lineWidth:1,strokeColor:this._featureColor[this._iconList[u]]||d[u%d.length],brushType:"stroke"},highlightStyle:{lineWidth:1,text:s.showTitle?this._featureTitle[this._iconList[u]]:void 0,textFont:p,textPosition:i,strokeColor:this._featureColor[this._iconList[u]]||d[u%d.length]},hoverable:!0,clickable:!0},this._featureIcon[this._iconList[u]]&&(t.style.image=this._featureIcon[this._iconList[u]].replace(new RegExp("^image:\\/\\/"),""),t.style.opacity=.8,t.highlightStyle.opacity=1,t.type="image"),"horizontal"===s.orient&&(0===u&&"left"===n&&(t.highlightStyle.textPosition="specific",t.highlightStyle.textAlign=n,t.highlightStyle.textBaseline=o,t.highlightStyle.textX=h,t.highlightStyle.textY="top"===o?m+V+10:m-10),u===l-1&&"right"===n&&(t.highlightStyle.textPosition="specific",t.highlightStyle.textAlign=n,t.highlightStyle.textBaseline=o,t.highlightStyle.textX=h+V,t.highlightStyle.textY="top"===o?m+V+10:m-10)),this._iconList[u]){case"mark":t.onclick=c._onMark;break;case"markUndo":t.onclick=c._onMarkUndo;break;case"markClear":t.onclick=c._onMarkClear;break;case"dataZoom":t.onclick=c._onDataZoom;break;case"dataZoomReset":t.onclick=c._onDataZoomReset;break;case"dataView":if(!this._dataView){var y=e("./dataView");this._dataView=new y(this.ecTheme,this.messageCenter,this.zr,this.option,this.myChart)}t.onclick=c._onDataView;break;case"restore":t.onclick=c._onRestore;break;case"saveAsImage":t.onclick=c._onSaveAsImage;break;default:this._iconList[u].match("Chart")?(t._name=this._iconList[u].replace("Chart",""),t.onclick=c._onMagicType):t.onclick=c._onCustomHandler}"icon"===t.type?t=new r(t):"image"===t.type&&(t=new a(t)),this.shapeList.push(t),this._iconShapeMap[this._iconList[u]]=t,"horizontal"===s.orient?h+=V+U:m+=V+U}},_buildBackground:function(){var e=this.option.toolbox,t=this.reformCssArray(this.option.toolbox.padding);this.shapeList.push(new o({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._itemGroupLocation.x-t[3],y:this._itemGroupLocation.y-t[0],width:this._itemGroupLocation.width+t[3]+t[1],height:this._itemGroupLocation.height+t[0]+t[2],brushType:0===e.borderWidth?"fill":"both",color:e.backgroundColor,strokeColor:e.borderColor,lineWidth:e.borderWidth}}))},_getItemGroupLocation:function(){var e=this.option.toolbox,t=this.reformCssArray(this.option.toolbox.padding),i=this._iconList.length,n=e.itemGap,a=e.itemSize,o=0,r=0;"horizontal"===e.orient?(o=(a+n)*i-n,r=a):(r=(a+n)*i-n,o=a);var s,l=this.zr.getWidth();switch(e.x){case"center":s=Math.floor((l-o)/2);break;case"left":s=t[3]+e.borderWidth;break;case"right":s=l-o-t[1]-e.borderWidth;break;default:s=e.x-0,s=isNaN(s)?0:s}var h,m=this.zr.getHeight();switch(e.y){case"top":h=t[0]+e.borderWidth;break;case"bottom":h=m-r-t[2]-e.borderWidth;break;case"center":h=Math.floor((m-r)/2);break;default:h=e.y-0,h=isNaN(h)?0:h}return{x:s,y:h,width:o,height:r}},__onmousemove:function(e){this._marking&&(this._markShape.style.xEnd=m.getX(e.event),this._markShape.style.yEnd=m.getY(e.event),this.zr.addHoverShape(this._markShape)),this._zooming&&(this._zoomShape.style.width=m.getX(e.event)-this._zoomShape.style.x,this._zoomShape.style.height=m.getY(e.event)-this._zoomShape.style.y,this.zr.addHoverShape(this._zoomShape),this.dom.style.cursor="crosshair",m.stop(e.event)),this._zoomStart&&"pointer"!=this.dom.style.cursor&&"move"!=this.dom.style.cursor&&(this.dom.style.cursor="crosshair")},__onmousedown:function(e){if(!e.target){this._zooming=!0;var t=m.getX(e.event),i=m.getY(e.event),n=this.option.dataZoom||{};return this._zoomShape=new o({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:t,y:i,width:1,height:1,brushType:"both"},highlightStyle:{lineWidth:2,color:n.fillerColor||s.dataZoom.fillerColor,strokeColor:n.handleColor||s.dataZoom.handleColor,brushType:"both"}}),this.zr.addHoverShape(this._zoomShape),!0}},__onmouseup:function(){if(!this._zoomShape||Math.abs(this._zoomShape.style.width)<10||Math.abs(this._zoomShape.style.height)<10)return this._zooming=!1,!0;if(this._zooming&&this.component.dataZoom){this._zooming=!1;var e=this.component.dataZoom.rectZoom(this._zoomShape.style);e&&(this._zoomQueue.push({start:e.start,end:e.end,start2:e.start2,end2:e.end2}),this._iconEnable(this._iconShapeMap.dataZoomReset),this.zr.refreshNextFrame())}return!0},__onclick:function(e){if(!e.target)if(this._marking)this._marking=!1,this._markShapeList.push(this._markShape),this._iconEnable(this._iconShapeMap.markUndo),this._iconEnable(this._iconShapeMap.markClear),this.zr.addShape(this._markShape),this.zr.refreshNextFrame();else if(this._markStart){this._marking=!0;var t=m.getX(e.event),i=m.getY(e.event);this._markShape=new n({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{xStart:t,yStart:i,xEnd:t,yEnd:i,lineWidth:this.query(this.option,"toolbox.feature.mark.lineStyle.width"),strokeColor:this.query(this.option,"toolbox.feature.mark.lineStyle.color"),lineType:this.query(this.option,"toolbox.feature.mark.lineStyle.type")}}),this.zr.addHoverShape(this._markShape)}},__onMark:function(e){var t=e.target;if(this._marking||this._markStart)this._resetMark(),this.zr.refreshNextFrame();else{this._resetZoom(),this.zr.modShape(t.id,{style:{strokeColor:this._enableColor}}),this.zr.refreshNextFrame(),this._markStart=!0;var i=this;setTimeout(function(){i.zr&&i.zr.on(h.EVENT.CLICK,i._onclick)&&i.zr.on(h.EVENT.MOUSEMOVE,i._onmousemove)},10)}return!0},__onMarkUndo:function(){if(this._marking)this._marking=!1;else{var e=this._markShapeList.length;if(e>=1){var t=this._markShapeList[e-1];this.zr.delShape(t.id),this.zr.refreshNextFrame(),this._markShapeList.pop(),1===e&&(this._iconDisable(this._iconShapeMap.markUndo),this._iconDisable(this._iconShapeMap.markClear))}}return!0},__onMarkClear:function(){this._marking&&(this._marking=!1);var e=this._markShapeList.length;if(e>0){for(;e--;)this.zr.delShape(this._markShapeList.pop().id);this._iconDisable(this._iconShapeMap.markUndo),this._iconDisable(this._iconShapeMap.markClear),this.zr.refreshNextFrame()}return!0},__onDataZoom:function(e){var t=e.target;if(this._zooming||this._zoomStart)this._resetZoom(),this.zr.refreshNextFrame(),this.dom.style.cursor="default";else{this._resetMark(),this.zr.modShape(t.id,{style:{strokeColor:this._enableColor}}),this.zr.refreshNextFrame(),this._zoomStart=!0;var i=this;setTimeout(function(){i.zr&&i.zr.on(h.EVENT.MOUSEDOWN,i._onmousedown)&&i.zr.on(h.EVENT.MOUSEUP,i._onmouseup)&&i.zr.on(h.EVENT.MOUSEMOVE,i._onmousemove)},10),this.dom.style.cursor="crosshair"}return!0},__onDataZoomReset:function(){return this._zooming&&(this._zooming=!1),this._zoomQueue.pop(),this._zoomQueue.length>0?this.component.dataZoom.absoluteZoom(this._zoomQueue[this._zoomQueue.length-1]):(this.component.dataZoom.rectZoom(),this._iconDisable(this._iconShapeMap.dataZoomReset),this.zr.refreshNextFrame()),!0},_resetMark:function(){this._marking=!1,this._markStart&&(this._markStart=!1,this._iconShapeMap.mark&&this.zr.modShape(this._iconShapeMap.mark.id,{style:{strokeColor:this._iconShapeMap.mark.highlightStyle.strokeColor}}),this.zr.un(h.EVENT.CLICK,this._onclick),this.zr.un(h.EVENT.MOUSEMOVE,this._onmousemove))},_resetZoom:function(){this._zooming=!1,this._zoomStart&&(this._zoomStart=!1,this._iconShapeMap.dataZoom&&this.zr.modShape(this._iconShapeMap.dataZoom.id,{style:{strokeColor:this._iconShapeMap.dataZoom.highlightStyle.strokeColor}}),this.zr.un(h.EVENT.MOUSEDOWN,this._onmousedown),this.zr.un(h.EVENT.MOUSEUP,this._onmouseup),this.zr.un(h.EVENT.MOUSEMOVE,this._onmousemove))},_iconDisable:function(e){"image"!=e.type?this.zr.modShape(e.id,{hoverable:!1,clickable:!1,style:{strokeColor:this._disableColor}}):this.zr.modShape(e.id,{hoverable:!1,clickable:!1,style:{opacity:.3}})},_iconEnable:function(e){"image"!=e.type?this.zr.modShape(e.id,{hoverable:!0,clickable:!0,style:{strokeColor:e.highlightStyle.strokeColor}}):this.zr.modShape(e.id,{hoverable:!0,clickable:!0,style:{opacity:.8}})},__onDataView:function(){return this._dataView.show(this.option),!0},__onRestore:function(){return this._resetMark(),this._resetZoom(),this.messageCenter.dispatch(s.EVENT.RESTORE,null,null,this.myChart),!0},__onSaveAsImage:function(){var e=this.option.toolbox.feature.saveAsImage,t=e.type||"png";"png"!=t&&"jpeg"!=t&&(t="png");var i;i=this.myChart.isConnected()?this.myChart.getConnectedDataURL(t):this.zr.toDataURL("image/"+t,this.option.backgroundColor&&"rgba(0,0,0,0)"===this.option.backgroundColor.replace(" ","")?"#fff":this.option.backgroundColor);var n=document.createElement("div");n.id="__echarts_download_wrap__",n.style.cssText="position:fixed;z-index:99999;display:block;top:0;left:0;background-color:rgba(33,33,33,0.5);text-align:center;width:100%;height:100%;line-height:"+document.documentElement.clientHeight+"px;";var a=document.createElement("a");a.href=i,a.setAttribute("download",(e.name?e.name:this.option.title&&(this.option.title.text||this.option.title.subtext)?this.option.title.text||this.option.title.subtext:"ECharts")+"."+t),a.innerHTML='<img style="vertical-align:middle" src="'+i+'" title="'+(window.ActiveXObject||"ActiveXObject"in window?"右键->图片另存为":e.lang?e.lang[0]:"点击保存")+'"/>',n.appendChild(a),document.body.appendChild(n),a=null,n=null,setTimeout(function(){var e=document.getElementById("__echarts_download_wrap__");e&&(e.onclick=function(){var e=document.getElementById("__echarts_download_wrap__");e.onclick=null,e.innerHTML="",document.body.removeChild(e),e=null},e=null)},500)},__onMagicType:function(e){this._resetMark();var t=e.target._name;return this._magicType[t]||(this._magicType[t]=!0,t===s.CHART_TYPE_LINE?this._magicType[s.CHART_TYPE_BAR]=!1:t===s.CHART_TYPE_BAR&&(this._magicType[s.CHART_TYPE_LINE]=!1),t===s.CHART_TYPE_PIE?this._magicType[s.CHART_TYPE_FUNNEL]=!1:t===s.CHART_TYPE_FUNNEL&&(this._magicType[s.CHART_TYPE_PIE]=!1),t===s.CHART_TYPE_FORCE?this._magicType[s.CHART_TYPE_CHORD]=!1:t===s.CHART_TYPE_CHORD&&(this._magicType[s.CHART_TYPE_FORCE]=!1),t===V?this._magicType[U]=!1:t===U&&(this._magicType[V]=!1),this.messageCenter.dispatch(s.EVENT.MAGIC_TYPE_CHANGED,e.event,{magicType:this._magicType},this.myChart)),!0},setMagicType:function(e){this._resetMark(),this._magicType=e,!this._isSilence&&this.messageCenter.dispatch(s.EVENT.MAGIC_TYPE_CHANGED,null,{magicType:this._magicType},this.myChart)},__onCustomHandler:function(e){var t=e.target.style.iconType,i=this.option.toolbox.feature[t].onclick;"function"==typeof i&&i.call(this,this.option)},reset:function(e,t){if(t&&this.clear(),this.query(e,"toolbox.show")&&this.query(e,"toolbox.feature.magicType.show")){var i=e.toolbox.feature.magicType.type,n=i.length;for(this._magicMap={};n--;)this._magicMap[i[n]]=!0;n=e.series.length;for(var a,o;n--;)a=e.series[n].type,this._magicMap[a]&&(o=e.xAxis instanceof Array?e.xAxis[e.series[n].xAxisIndex||0]:e.xAxis,o&&"category"===(o.type||"category")&&(o.__boundaryGap=null!=o.boundaryGap?o.boundaryGap:!0),o=e.yAxis instanceof Array?e.yAxis[e.series[n].yAxisIndex||0]:e.yAxis,o&&"category"===o.type&&(o.__boundaryGap=null!=o.boundaryGap?o.boundaryGap:!0),e.series[n].__type=a,e.series[n].__itemStyle=l.clone(e.series[n].itemStyle||{})),(this._magicMap[V]||this._magicMap[U])&&(e.series[n].__stack=e.series[n].stack)}this._magicType=t?{}:this._magicType||{};for(var r in this._magicType)if(this._magicType[r]){this.option=e,this.getMagicOption();break}var s=e.dataZoom;if(s&&s.show){var h=null!=s.start&&s.start>=0&&s.start<=100?s.start:0,m=null!=s.end&&s.end>=0&&s.end<=100?s.end:100;h>m&&(h+=m,m=h-m,h-=m),this._zoomQueue=[{start:h,end:m,start2:0,end2:100}]}else this._zoomQueue=[]},getMagicOption:function(){var e,t;if(this._magicType[s.CHART_TYPE_LINE]||this._magicType[s.CHART_TYPE_BAR]){for(var i=this._magicType[s.CHART_TYPE_LINE]?!1:!0,n=0,a=this.option.series.length;a>n;n++)t=this.option.series[n].type,(t==s.CHART_TYPE_LINE||t==s.CHART_TYPE_BAR)&&(e=this.option.xAxis instanceof Array?this.option.xAxis[this.option.series[n].xAxisIndex||0]:this.option.xAxis,e&&"category"===(e.type||"category")&&(e.boundaryGap=i?!0:e.__boundaryGap),e=this.option.yAxis instanceof Array?this.option.yAxis[this.option.series[n].yAxisIndex||0]:this.option.yAxis,e&&"category"===e.type&&(e.boundaryGap=i?!0:e.__boundaryGap));this._defaultMagic(s.CHART_TYPE_LINE,s.CHART_TYPE_BAR)}if(this._defaultMagic(s.CHART_TYPE_CHORD,s.CHART_TYPE_FORCE),this._defaultMagic(s.CHART_TYPE_PIE,s.CHART_TYPE_FUNNEL),this._magicType[V]||this._magicType[U])for(var n=0,a=this.option.series.length;a>n;n++)this._magicType[V]?(this.option.series[n].stack="_ECHARTS_STACK_KENER_2014_",t=V):this._magicType[U]&&(this.option.series[n].stack=null,t=U),this._featureOption[t+"Chart"]&&l.merge(this.option.series[n],this._featureOption[t+"Chart"]||{},!0);return this.option},_defaultMagic:function(e,t){if(this._magicType[e]||this._magicType[t])for(var i=0,n=this.option.series.length;n>i;i++){var a=this.option.series[i].type;(a==e||a==t)&&(this.option.series[i].type=this._magicType[e]?e:t,this.option.series[i].itemStyle=l.clone(this.option.series[i].__itemStyle),a=this.option.series[i].type,this._featureOption[a+"Chart"]&&l.merge(this.option.series[i],this._featureOption[a+"Chart"]||{},!0))}},silence:function(e){this._isSilence=e},resize:function(){this._resetMark(),this.clear(),this.option&&this.option.toolbox&&this.option.toolbox.show&&this._buildShape(),this._dataView&&this._dataView.resize()},hideDataView:function(){this._dataView&&this._dataView.hide()},clear:function(e){this.zr&&(this.zr.delShape(this.shapeList),this.shapeList=[],e||(this.zr.delShape(this._markShapeList),this._markShapeList=[]))},onbeforDispose:function(){this._dataView&&(this._dataView.dispose(),this._dataView=null),this._markShapeList=null},refresh:function(e){e&&(this._resetMark(),this._resetZoom(),e.toolbox=this.reformOption(e.toolbox),this.option=e,this.clear(!0),e.toolbox.show&&this._buildShape(),this.hideDataView())}},l.inherits(t,i),e("../component").define("toolbox",t),t}),i("echarts/component",[],function(){var e={},t={};return e.define=function(i,n){return t[i]=n,e},e.get=function(e){return t[e]},e}),i("echarts/component/title",["require","./base","zrender/shape/Text","zrender/shape/Rectangle","../config","zrender/tool/util","zrender/tool/area","zrender/tool/color","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Rectangle"),o=e("../config");o.title={zlevel:0,z:6,show:!0,text:"",subtext:"",x:"left",y:"top",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:5,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}};var r=e("zrender/tool/util"),s=e("zrender/tool/area"),l=e("zrender/tool/color");return t.prototype={type:o.COMPONENT_TYPE_TITLE,_buildShape:function(){if(this.titleOption.show){this._itemGroupLocation=this._getItemGroupLocation(),this._buildBackground(),this._buildItem();for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e])}},_buildItem:function(){var e=this.titleOption.text,t=this.titleOption.link,i=this.titleOption.target,a=this.titleOption.subtext,o=this.titleOption.sublink,r=this.titleOption.subtarget,s=this.getFont(this.titleOption.textStyle),h=this.getFont(this.titleOption.subtextStyle),m=this._itemGroupLocation.x,V=this._itemGroupLocation.y,U=this._itemGroupLocation.width,d=this._itemGroupLocation.height,p={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{y:V,color:this.titleOption.textStyle.color,text:e,textFont:s,textBaseline:"top"},highlightStyle:{color:l.lift(this.titleOption.textStyle.color,1),brushType:"fill"},hoverable:!1};t&&(p.hoverable=!0,p.clickable=!0,p.onclick=function(){i&&"self"==i?window.location=t:window.open(t)});var c={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{y:V+d,color:this.titleOption.subtextStyle.color,text:a,textFont:h,textBaseline:"bottom"},highlightStyle:{color:l.lift(this.titleOption.subtextStyle.color,1),brushType:"fill"},hoverable:!1};switch(o&&(c.hoverable=!0,c.clickable=!0,c.onclick=function(){r&&"self"==r?window.location=o:window.open(o)}),this.titleOption.x){case"center":p.style.x=c.style.x=m+U/2,p.style.textAlign=c.style.textAlign="center";break;case"left":p.style.x=c.style.x=m,p.style.textAlign=c.style.textAlign="left";break;case"right":p.style.x=c.style.x=m+U,p.style.textAlign=c.style.textAlign="right";break;default:m=this.titleOption.x-0,m=isNaN(m)?0:m,p.style.x=c.style.x=m}this.titleOption.textAlign&&(p.style.textAlign=c.style.textAlign=this.titleOption.textAlign),this.shapeList.push(new n(p)),""!==a&&this.shapeList.push(new n(c))},_buildBackground:function(){var e=this.reformCssArray(this.titleOption.padding);this.shapeList.push(new a({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._itemGroupLocation.x-e[3],y:this._itemGroupLocation.y-e[0],width:this._itemGroupLocation.width+e[3]+e[1],height:this._itemGroupLocation.height+e[0]+e[2],brushType:0===this.titleOption.borderWidth?"fill":"both",color:this.titleOption.backgroundColor,strokeColor:this.titleOption.borderColor,lineWidth:this.titleOption.borderWidth}}))},_getItemGroupLocation:function(){var e,t=this.reformCssArray(this.titleOption.padding),i=this.titleOption.text,n=this.titleOption.subtext,a=this.getFont(this.titleOption.textStyle),o=this.getFont(this.titleOption.subtextStyle),r=Math.max(s.getTextWidth(i,a),s.getTextWidth(n,o)),l=s.getTextHeight(i,a)+(""===n?0:this.titleOption.itemGap+s.getTextHeight(n,o)),h=this.zr.getWidth();switch(this.titleOption.x){case"center":e=Math.floor((h-r)/2);break;case"left":e=t[3]+this.titleOption.borderWidth;break;case"right":e=h-r-t[1]-this.titleOption.borderWidth;break;default:e=this.titleOption.x-0,e=isNaN(e)?0:e}var m,V=this.zr.getHeight();switch(this.titleOption.y){case"top":m=t[0]+this.titleOption.borderWidth;break;case"bottom":m=V-l-t[2]-this.titleOption.borderWidth;break;case"center":m=Math.floor((V-l)/2);break;default:m=this.titleOption.y-0,m=isNaN(m)?0:m}return{x:e,y:m,width:r,height:l}},refresh:function(e){e&&(this.option=e,this.option.title=this.reformOption(this.option.title),this.titleOption=this.option.title,this.titleOption.textStyle=this.getTextStyle(this.titleOption.textStyle),this.titleOption.subtextStyle=this.getTextStyle(this.titleOption.subtextStyle)),this.clear(),this._buildShape()}},r.inherits(t,i),e("../component").define("title",t),t}),i("echarts/component/tooltip",["require","./base","../util/shape/Cross","zrender/shape/Line","zrender/shape/Rectangle","../config","../util/ecData","zrender/config","zrender/tool/event","zrender/tool/area","zrender/tool/color","zrender/tool/util","zrender/shape/Base","../component"],function(e){function t(e,t,o,r,s){i.call(this,e,t,o,r,s),this.dom=s.dom;var l=this;l._onmousemove=function(e){return l.__onmousemove(e)},l._onglobalout=function(e){return l.__onglobalout(e)},this.zr.on(h.EVENT.MOUSEMOVE,l._onmousemove),this.zr.on(h.EVENT.GLOBALOUT,l._onglobalout),l._hide=function(e){return l.__hide(e)},l._tryShow=function(e){return l.__tryShow(e)},l._refixed=function(e){return l.__refixed(e)},l._setContent=function(e,t){return l.__setContent(e,t)},this._tDom=this._tDom||document.createElement("div"),this._tDom.onselectstart=function(){return!1},this._tDom.onmouseover=function(){l._mousein=!0},this._tDom.onmouseout=function(){l._mousein=!1},this._tDom.className="echarts-tooltip",this._tDom.style.position="absolute",this.hasAppend=!1,this._axisLineShape&&this.zr.delShape(this._axisLineShape.id),this._axisLineShape=new a({zlevel:this.getZlevelBase(),z:this.getZBase(),invisible:!0,hoverable:!1}),this.shapeList.push(this._axisLineShape),this.zr.addShape(this._axisLineShape),this._axisShadowShape&&this.zr.delShape(this._axisShadowShape.id),this._axisShadowShape=new a({zlevel:this.getZlevelBase(),z:1,invisible:!0,hoverable:!1}),this.shapeList.push(this._axisShadowShape),this.zr.addShape(this._axisShadowShape),this._axisCrossShape&&this.zr.delShape(this._axisCrossShape.id),this._axisCrossShape=new n({zlevel:this.getZlevelBase(),z:this.getZBase(),invisible:!0,hoverable:!1}),this.shapeList.push(this._axisCrossShape),this.zr.addShape(this._axisCrossShape),this.showing=!1,this.refresh(r)}var i=e("./base"),n=e("../util/shape/Cross"),a=e("zrender/shape/Line"),o=e("zrender/shape/Rectangle"),r=new o({}),s=e("../config");s.tooltip={zlevel:1,z:8,show:!0,showContent:!0,trigger:"item",islandFormatter:"{a} <br/>{b} : {c}",showDelay:20,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(0,0,0,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,axisPointer:{type:"line",lineStyle:{color:"#48b",width:2,type:"solid"},crossStyle:{color:"#1e90ff",width:1,type:"dashed"},shadowStyle:{color:"rgba(150,150,150,0.3)",width:"auto",type:"default"}},textStyle:{color:"#fff"}};var l=e("../util/ecData"),h=e("zrender/config"),m=e("zrender/tool/event"),V=e("zrender/tool/area"),U=e("zrender/tool/color"),d=e("zrender/tool/util"),p=e("zrender/shape/Base");return t.prototype={type:s.COMPONENT_TYPE_TOOLTIP,_gCssText:"position:absolute;display:block;border-style:solid;white-space:nowrap;",_style:function(e){if(!e)return"";var t=[];if(e.transitionDuration){var i="left "+e.transitionDuration+"s,top "+e.transitionDuration+"s";t.push("transition:"+i),t.push("-moz-transition:"+i),t.push("-webkit-transition:"+i),t.push("-o-transition:"+i)}e.backgroundColor&&(t.push("background-Color:"+U.toHex(e.backgroundColor)),t.push("filter:alpha(opacity=70)"),t.push("background-Color:"+e.backgroundColor)),null!=e.borderWidth&&t.push("border-width:"+e.borderWidth+"px"),null!=e.borderColor&&t.push("border-color:"+e.borderColor),null!=e.borderRadius&&(t.push("border-radius:"+e.borderRadius+"px"),t.push("-moz-border-radius:"+e.borderRadius+"px"),t.push("-webkit-border-radius:"+e.borderRadius+"px"),t.push("-o-border-radius:"+e.borderRadius+"px"));var n=e.textStyle;n&&(n.color&&t.push("color:"+n.color),n.decoration&&t.push("text-decoration:"+n.decoration),n.align&&t.push("text-align:"+n.align),n.fontFamily&&t.push("font-family:"+n.fontFamily),n.fontSize&&t.push("font-size:"+n.fontSize+"px"),n.fontSize&&t.push("line-height:"+Math.round(3*n.fontSize/2)+"px"),n.fontStyle&&t.push("font-style:"+n.fontStyle),n.fontWeight&&t.push("font-weight:"+n.fontWeight));var a=e.padding;return null!=a&&(a=this.reformCssArray(a),t.push("padding:"+a[0]+"px "+a[1]+"px "+a[2]+"px "+a[3]+"px")),t=t.join(";")+";"},__hide:function(){this._lastDataIndex=-1,this._lastSeriesIndex=-1,this._lastItemTriggerId=-1,this._tDom&&(this._tDom.style.display="none");var e=!1;this._axisLineShape.invisible||(this._axisLineShape.invisible=!0,
-this.zr.modShape(this._axisLineShape.id),e=!0),this._axisShadowShape.invisible||(this._axisShadowShape.invisible=!0,this.zr.modShape(this._axisShadowShape.id),e=!0),this._axisCrossShape.invisible||(this._axisCrossShape.invisible=!0,this.zr.modShape(this._axisCrossShape.id),e=!0),this._lastTipShape&&this._lastTipShape.tipShape.length>0&&(this.zr.delShape(this._lastTipShape.tipShape),this._lastTipShape=!1,this.shapeList.length=2),e&&this.zr.refreshNextFrame(),this.showing=!1},_show:function(e,t,i,n){var a=this._tDom.offsetHeight,o=this._tDom.offsetWidth;e&&("function"==typeof e&&(e=e([t,i])),e instanceof Array&&(t=e[0],i=e[1])),t+o>this._zrWidth&&(t-=o+40),i+a>this._zrHeight&&(i-=a-20),20>i&&(i=0),this._tDom.style.cssText=this._gCssText+this._defaultCssText+(n?n:"")+"left:"+t+"px;top:"+i+"px;",(10>a||10>o)&&setTimeout(this._refixed,20),this.showing=!0},__refixed:function(){if(this._tDom){var e="",t=this._tDom.offsetHeight,i=this._tDom.offsetWidth;this._tDom.offsetLeft+i>this._zrWidth&&(e+="left:"+(this._zrWidth-i-20)+"px;"),this._tDom.offsetTop+t>this._zrHeight&&(e+="top:"+(this._zrHeight-t-10)+"px;"),""!==e&&(this._tDom.style.cssText+=e)}},__tryShow:function(){var e,t;if(this._curTarget){if("island"===this._curTarget._type&&this.option.tooltip.show)return void this._showItemTrigger();var i=l.get(this._curTarget,"series"),n=l.get(this._curTarget,"data");e=this.deepQuery([n,i,this.option],"tooltip.show"),null!=i&&null!=n&&e?(t=this.deepQuery([n,i,this.option],"tooltip.trigger"),"axis"===t?this._showAxisTrigger(i.xAxisIndex,i.yAxisIndex,l.get(this._curTarget,"dataIndex")):this._showItemTrigger()):(clearTimeout(this._hidingTicket),clearTimeout(this._showingTicket),this._hidingTicket=setTimeout(this._hide,this._hideDelay))}else this._findPolarTrigger()||this._findAxisTrigger()},_findAxisTrigger:function(){if(!this.component.xAxis||!this.component.yAxis)return void(this._hidingTicket=setTimeout(this._hide,this._hideDelay));for(var e,t,i=this.option.series,n=0,a=i.length;a>n;n++)if("axis"===this.deepQuery([i[n],this.option],"tooltip.trigger"))return e=i[n].xAxisIndex||0,t=i[n].yAxisIndex||0,this.component.xAxis.getAxis(e)&&this.component.xAxis.getAxis(e).type===s.COMPONENT_TYPE_AXIS_CATEGORY?void this._showAxisTrigger(e,t,this._getNearestDataIndex("x",this.component.xAxis.getAxis(e))):this.component.yAxis.getAxis(t)&&this.component.yAxis.getAxis(t).type===s.COMPONENT_TYPE_AXIS_CATEGORY?void this._showAxisTrigger(e,t,this._getNearestDataIndex("y",this.component.yAxis.getAxis(t))):void this._showAxisTrigger(e,t,-1);"cross"===this.option.tooltip.axisPointer.type&&this._showAxisTrigger(-1,-1,-1)},_findPolarTrigger:function(){if(!this.component.polar)return!1;var e,t=m.getX(this._event),i=m.getY(this._event),n=this.component.polar.getNearestIndex([t,i]);return n?(e=n.valueIndex,n=n.polarIndex):n=-1,-1!=n?this._showPolarTrigger(n,e):!1},_getNearestDataIndex:function(e,t){var i=-1,n=m.getX(this._event),a=m.getY(this._event);if("x"===e){for(var o,r,s=this.component.grid.getXend(),l=t.getCoordByIndex(i);s>l&&(r=l,n>=l);)o=l,l=t.getCoordByIndex(++i);return 0>=i?i=0:r-n>=n-o?i-=1:null==t.getNameByIndex(i)&&(i-=1),i}for(var h,V,U=this.component.grid.getY(),l=t.getCoordByIndex(i);l>U&&(h=l,l>=a);)V=l,l=t.getCoordByIndex(++i);return 0>=i?i=0:a-h>=V-a?i-=1:null==t.getNameByIndex(i)&&(i-=1),i},_showAxisTrigger:function(e,t,i){if(!this._event.connectTrigger&&this.messageCenter.dispatch(s.EVENT.TOOLTIP_IN_GRID,this._event,null,this.myChart),null==this.component.xAxis||null==this.component.yAxis||null==e||null==t)return clearTimeout(this._hidingTicket),clearTimeout(this._showingTicket),void(this._hidingTicket=setTimeout(this._hide,this._hideDelay));var n,a,o,r,l=this.option.series,h=[],V=[],U="";if("axis"===this.option.tooltip.trigger){if(!this.option.tooltip.show)return;a=this.option.tooltip.formatter,o=this.option.tooltip.position}var d,p,c=-1!=e&&this.component.xAxis.getAxis(e).type===s.COMPONENT_TYPE_AXIS_CATEGORY?"xAxis":-1!=t&&this.component.yAxis.getAxis(t).type===s.COMPONENT_TYPE_AXIS_CATEGORY?"yAxis":!1;if(c){var u="xAxis"==c?e:t;n=this.component[c].getAxis(u);for(var y=0,g=l.length;g>y;y++)this._isSelected(l[y].name)&&l[y][c+"Index"]===u&&"axis"===this.deepQuery([l[y],this.option],"tooltip.trigger")&&(r=this.query(l[y],"tooltip.showContent")||r,a=this.query(l[y],"tooltip.formatter")||a,o=this.query(l[y],"tooltip.position")||o,U+=this._style(this.query(l[y],"tooltip")),null!=l[y].stack&&"xAxis"==c?(h.unshift(l[y]),V.unshift(y)):(h.push(l[y]),V.push(y)));this.messageCenter.dispatch(s.EVENT.TOOLTIP_HOVER,this._event,{seriesIndex:V,dataIndex:i},this.myChart);var b;"xAxis"==c?(d=this.subPixelOptimize(n.getCoordByIndex(i),this._axisLineWidth),p=m.getY(this._event),b=[d,this.component.grid.getY(),d,this.component.grid.getYend()]):(d=m.getX(this._event),p=this.subPixelOptimize(n.getCoordByIndex(i),this._axisLineWidth),b=[this.component.grid.getX(),p,this.component.grid.getXend(),p]),this._styleAxisPointer(h,b[0],b[1],b[2],b[3],n.getGap(),d,p)}else d=m.getX(this._event),p=m.getY(this._event),this._styleAxisPointer(l,this.component.grid.getX(),p,this.component.grid.getXend(),p,0,d,p),i>=0?this._showItemTrigger(!0):(clearTimeout(this._hidingTicket),clearTimeout(this._showingTicket),this._tDom.style.display="none");if(h.length>0){if(this._lastItemTriggerId=-1,this._lastDataIndex!=i||this._lastSeriesIndex!=V[0]){this._lastDataIndex=i,this._lastSeriesIndex=V[0];var f,k;if("function"==typeof a){for(var x=[],y=0,g=h.length;g>y;y++)f=h[y].data[i],k=this.getDataFromOption(f,"-"),x.push({seriesIndex:V[y],seriesName:h[y].name||"",series:h[y],dataIndex:i,data:f,name:n.getNameByIndex(i),value:k,0:h[y].name||"",1:n.getNameByIndex(i),2:k,3:f});this._curTicket="axis:"+i,this._tDom.innerHTML=a.call(this.myChart,x,this._curTicket,this._setContent)}else if("string"==typeof a){this._curTicket=0/0,a=a.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}");for(var y=0,g=h.length;g>y;y++)a=a.replace("{a"+y+"}",this._encodeHTML(h[y].name||"")),a=a.replace("{b"+y+"}",this._encodeHTML(n.getNameByIndex(i))),f=h[y].data[i],f=this.getDataFromOption(f,"-"),a=a.replace("{c"+y+"}",f instanceof Array?f:this.numAddCommas(f));this._tDom.innerHTML=a}else{this._curTicket=0/0,a=this._encodeHTML(n.getNameByIndex(i));for(var y=0,g=h.length;g>y;y++)a+="<br/>"+this._encodeHTML(h[y].name||"")+" : ",f=h[y].data[i],f=this.getDataFromOption(f,"-"),a+=f instanceof Array?f:this.numAddCommas(f);this._tDom.innerHTML=a}}if(r===!1||!this.option.tooltip.showContent)return;this.hasAppend||(this._tDom.style.left=this._zrWidth/2+"px",this._tDom.style.top=this._zrHeight/2+"px",this.dom.firstChild.appendChild(this._tDom),this.hasAppend=!0),this._show(o,d+10,p+10,U)}},_showPolarTrigger:function(e,t){if(null==this.component.polar||null==e||null==t||0>t)return!1;var i,n,a,o=this.option.series,r=[],s=[],l="";if("axis"===this.option.tooltip.trigger){if(!this.option.tooltip.show)return!1;i=this.option.tooltip.formatter,n=this.option.tooltip.position}for(var h=this.option.polar[e].indicator[t].text,V=0,U=o.length;U>V;V++)this._isSelected(o[V].name)&&o[V].polarIndex===e&&"axis"===this.deepQuery([o[V],this.option],"tooltip.trigger")&&(a=this.query(o[V],"tooltip.showContent")||a,i=this.query(o[V],"tooltip.formatter")||i,n=this.query(o[V],"tooltip.position")||n,l+=this._style(this.query(o[V],"tooltip")),r.push(o[V]),s.push(V));if(r.length>0){for(var d,p,c,u=[],V=0,U=r.length;U>V;V++){d=r[V].data;for(var y=0,g=d.length;g>y;y++)p=d[y],this._isSelected(p.name)&&(p=null!=p?p:{name:"",value:{dataIndex:"-"}},c=this.getDataFromOption(p.value[t]),u.push({seriesIndex:s[V],seriesName:r[V].name||"",series:r[V],dataIndex:t,data:p,name:p.name,indicator:h,value:c,0:r[V].name||"",1:p.name,2:c,3:h}))}if(u.length<=0)return;if(this._lastItemTriggerId=-1,this._lastDataIndex!=t||this._lastSeriesIndex!=s[0])if(this._lastDataIndex=t,this._lastSeriesIndex=s[0],"function"==typeof i)this._curTicket="axis:"+t,this._tDom.innerHTML=i.call(this.myChart,u,this._curTicket,this._setContent);else if("string"==typeof i){i=i.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}").replace("{d}","{d0}");for(var V=0,U=u.length;U>V;V++)i=i.replace("{a"+V+"}",this._encodeHTML(u[V].seriesName)),i=i.replace("{b"+V+"}",this._encodeHTML(u[V].name)),i=i.replace("{c"+V+"}",this.numAddCommas(u[V].value)),i=i.replace("{d"+V+"}",this._encodeHTML(u[V].indicator));this._tDom.innerHTML=i}else{i=this._encodeHTML(u[0].name)+"<br/>"+this._encodeHTML(u[0].indicator)+" : "+this.numAddCommas(u[0].value);for(var V=1,U=u.length;U>V;V++)i+="<br/>"+this._encodeHTML(u[V].name)+"<br/>",i+=this._encodeHTML(u[V].indicator)+" : "+this.numAddCommas(u[V].value);this._tDom.innerHTML=i}if(a===!1||!this.option.tooltip.showContent)return;return this.hasAppend||(this._tDom.style.left=this._zrWidth/2+"px",this._tDom.style.top=this._zrHeight/2+"px",this.dom.firstChild.appendChild(this._tDom),this.hasAppend=!0),this._show(n,m.getX(this._event),m.getY(this._event),l),!0}},_showItemTrigger:function(e){if(this._curTarget){var t,i,n,a=l.get(this._curTarget,"series"),o=l.get(this._curTarget,"seriesIndex"),r=l.get(this._curTarget,"data"),h=l.get(this._curTarget,"dataIndex"),V=l.get(this._curTarget,"name"),U=l.get(this._curTarget,"value"),d=l.get(this._curTarget,"special"),p=l.get(this._curTarget,"special2"),c=[r,a,this.option],u="";if("island"!=this._curTarget._type){var y=e?"axis":"item";this.option.tooltip.trigger===y&&(t=this.option.tooltip.formatter,i=this.option.tooltip.position),this.query(a,"tooltip.trigger")===y&&(n=this.query(a,"tooltip.showContent")||n,t=this.query(a,"tooltip.formatter")||t,i=this.query(a,"tooltip.position")||i,u+=this._style(this.query(a,"tooltip"))),n=this.query(r,"tooltip.showContent")||n,t=this.query(r,"tooltip.formatter")||t,i=this.query(r,"tooltip.position")||i,u+=this._style(this.query(r,"tooltip"))}else this._lastItemTriggerId=0/0,n=this.deepQuery(c,"tooltip.showContent"),t=this.deepQuery(c,"tooltip.islandFormatter"),i=this.deepQuery(c,"tooltip.islandPosition");this._lastDataIndex=-1,this._lastSeriesIndex=-1,this._lastItemTriggerId!==this._curTarget.id&&(this._lastItemTriggerId=this._curTarget.id,"function"==typeof t?(this._curTicket=(a.name||"")+":"+h,this._tDom.innerHTML=t.call(this.myChart,{seriesIndex:o,seriesName:a.name||"",series:a,dataIndex:h,data:r,name:V,value:U,percent:d,indicator:d,value2:p,indicator2:p,0:a.name||"",1:V,2:U,3:d,4:p,5:r,6:o,7:h},this._curTicket,this._setContent)):"string"==typeof t?(this._curTicket=0/0,t=t.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}"),t=t.replace("{a0}",this._encodeHTML(a.name||"")).replace("{b0}",this._encodeHTML(V)).replace("{c0}",U instanceof Array?U:this.numAddCommas(U)),t=t.replace("{d}","{d0}").replace("{d0}",d||""),t=t.replace("{e}","{e0}").replace("{e0}",l.get(this._curTarget,"special2")||""),this._tDom.innerHTML=t):(this._curTicket=0/0,this._tDom.innerHTML=a.type===s.CHART_TYPE_RADAR&&d?this._itemFormatter.radar.call(this,a,V,U,d):a.type===s.CHART_TYPE_EVENTRIVER?this._itemFormatter.eventRiver.call(this,a,V,U,r):""+(null!=a.name?this._encodeHTML(a.name)+"<br/>":"")+(""===V?"":this._encodeHTML(V)+" : ")+(U instanceof Array?U:this.numAddCommas(U))));var g=m.getX(this._event),b=m.getY(this._event);this.deepQuery(c,"tooltip.axisPointer.show")&&this.component.grid?this._styleAxisPointer([a],this.component.grid.getX(),b,this.component.grid.getXend(),b,0,g,b):this._hide(),n!==!1&&this.option.tooltip.showContent&&(this.hasAppend||(this._tDom.style.left=this._zrWidth/2+"px",this._tDom.style.top=this._zrHeight/2+"px",this.dom.firstChild.appendChild(this._tDom),this.hasAppend=!0),this._show(i,g+20,b-20,u))}},_itemFormatter:{radar:function(e,t,i,n){var a="";a+=this._encodeHTML(""===t?e.name||"":t),a+=""===a?"":"<br />";for(var o=0;o<n.length;o++)a+=this._encodeHTML(n[o].text)+" : "+this.numAddCommas(i[o])+"<br />";return a},chord:function(e,t,i,n,a){if(null==a)return this._encodeHTML(t)+" ("+this.numAddCommas(i)+")";var o=this._encodeHTML(t),r=this._encodeHTML(n);return""+(null!=e.name?this._encodeHTML(e.name)+"<br/>":"")+o+" -> "+r+" ("+this.numAddCommas(i)+")<br />"+r+" -> "+o+" ("+this.numAddCommas(a)+")"},eventRiver:function(e,t,i,n){var a="";a+=this._encodeHTML(""===e.name?"":e.name+" : "),a+=this._encodeHTML(t),a+=""===a?"":"<br />",n=n.evolution;for(var o=0,r=n.length;r>o;o++)a+='<div style="padding-top:5px;">',n[o].detail&&(n[o].detail.img&&(a+='<img src="'+n[o].detail.img+'" style="float:left;width:40px;height:40px;">'),a+='<div style="margin-left:45px;">'+n[o].time+"<br/>",a+='<a href="'+n[o].detail.link+'" target="_blank">',a+=n[o].detail.text+"</a></div>",a+="</div>");return a}},_styleAxisPointer:function(e,t,i,n,a,o,r,s){if(e.length>0){var l,h,m=this.option.tooltip.axisPointer,V=m.type,U={line:{},cross:{},shadow:{}};for(var d in U)U[d].color=m[d+"Style"].color,U[d].width=m[d+"Style"].width,U[d].type=m[d+"Style"].type;for(var p=0,c=e.length;c>p;p++)l=e[p],h=this.query(l,"tooltip.axisPointer.type"),V=h||V,h&&(U[h].color=this.query(l,"tooltip.axisPointer."+h+"Style.color")||U[h].color,U[h].width=this.query(l,"tooltip.axisPointer."+h+"Style.width")||U[h].width,U[h].type=this.query(l,"tooltip.axisPointer."+h+"Style.type")||U[h].type);if("line"===V){var u=U.line.width,y=t==n;this._axisLineShape.style={xStart:y?this.subPixelOptimize(t,u):t,yStart:y?i:this.subPixelOptimize(i,u),xEnd:y?this.subPixelOptimize(n,u):n,yEnd:y?a:this.subPixelOptimize(a,u),strokeColor:U.line.color,lineWidth:u,lineType:U.line.type},this._axisLineShape.invisible=!1,this.zr.modShape(this._axisLineShape.id)}else if("cross"===V){var g=U.cross.width;this._axisCrossShape.style={brushType:"stroke",rect:this.component.grid.getArea(),x:this.subPixelOptimize(r,g),y:this.subPixelOptimize(s,g),text:("( "+this.component.xAxis.getAxis(0).getValueFromCoord(r)+" , "+this.component.yAxis.getAxis(0).getValueFromCoord(s)+" )").replace(" , "," ").replace(" , "," "),textPosition:"specific",strokeColor:U.cross.color,lineWidth:g,lineType:U.cross.type},this.component.grid.getXend()-r>100?(this._axisCrossShape.style.textAlign="left",this._axisCrossShape.style.textX=r+10):(this._axisCrossShape.style.textAlign="right",this._axisCrossShape.style.textX=r-10),s-this.component.grid.getY()>50?(this._axisCrossShape.style.textBaseline="bottom",this._axisCrossShape.style.textY=s-10):(this._axisCrossShape.style.textBaseline="top",this._axisCrossShape.style.textY=s+10),this._axisCrossShape.invisible=!1,this.zr.modShape(this._axisCrossShape.id)}else"shadow"===V&&((null==U.shadow.width||"auto"===U.shadow.width||isNaN(U.shadow.width))&&(U.shadow.width=o),t===n?Math.abs(this.component.grid.getX()-t)<2?(U.shadow.width/=2,t=n+=U.shadow.width/2):Math.abs(this.component.grid.getXend()-t)<2&&(U.shadow.width/=2,t=n-=U.shadow.width/2):i===a&&(Math.abs(this.component.grid.getY()-i)<2?(U.shadow.width/=2,i=a+=U.shadow.width/2):Math.abs(this.component.grid.getYend()-i)<2&&(U.shadow.width/=2,i=a-=U.shadow.width/2)),this._axisShadowShape.style={xStart:t,yStart:i,xEnd:n,yEnd:a,strokeColor:U.shadow.color,lineWidth:U.shadow.width},this._axisShadowShape.invisible=!1,this.zr.modShape(this._axisShadowShape.id));this.zr.refreshNextFrame()}},__onmousemove:function(e){if(clearTimeout(this._hidingTicket),clearTimeout(this._showingTicket),!this._mousein||!this._enterable){var t=e.target,i=m.getX(e.event),n=m.getY(e.event);if(t){this._curTarget=t,this._event=e.event,this._event.zrenderX=i,this._event.zrenderY=n;var a;if(this._needAxisTrigger&&this.component.polar&&-1!=(a=this.component.polar.isInside([i,n])))for(var o=this.option.series,l=0,h=o.length;h>l;l++)if(o[l].polarIndex===a&&"axis"===this.deepQuery([o[l],this.option],"tooltip.trigger")){this._curTarget=null;break}this._showingTicket=setTimeout(this._tryShow,this._showDelay)}else this._curTarget=!1,this._event=e.event,this._event.zrenderX=i,this._event.zrenderY=n,this._needAxisTrigger&&this.component.grid&&V.isInside(r,this.component.grid.getArea(),i,n)?this._showingTicket=setTimeout(this._tryShow,this._showDelay):this._needAxisTrigger&&this.component.polar&&-1!=this.component.polar.isInside([i,n])?this._showingTicket=setTimeout(this._tryShow,this._showDelay):(!this._event.connectTrigger&&this.messageCenter.dispatch(s.EVENT.TOOLTIP_OUT_GRID,this._event,null,this.myChart),this._hidingTicket=setTimeout(this._hide,this._hideDelay))}},__onglobalout:function(){clearTimeout(this._hidingTicket),clearTimeout(this._showingTicket),this._hidingTicket=setTimeout(this._hide,this._hideDelay)},__setContent:function(e,t){this._tDom&&(e===this._curTicket&&(this._tDom.innerHTML=t),setTimeout(this._refixed,20))},ontooltipHover:function(e,t){if(!this._lastTipShape||this._lastTipShape&&this._lastTipShape.dataIndex!=e.dataIndex){this._lastTipShape&&this._lastTipShape.tipShape.length>0&&(this.zr.delShape(this._lastTipShape.tipShape),this.shapeList.length=2);for(var i=0,n=t.length;n>i;i++)t[i].zlevel=this.getZlevelBase(),t[i].z=this.getZBase(),t[i].style=p.prototype.getHighlightStyle(t[i].style,t[i].highlightStyle),t[i].draggable=!1,t[i].hoverable=!1,t[i].clickable=!1,t[i].ondragend=null,t[i].ondragover=null,t[i].ondrop=null,this.shapeList.push(t[i]),this.zr.addShape(t[i]);this._lastTipShape={dataIndex:e.dataIndex,tipShape:t}}},ondragend:function(){this._hide()},onlegendSelected:function(e){this._selectedMap=e.selected},_setSelectedMap:function(){this._selectedMap=this.component.legend?d.clone(this.component.legend.getSelectedMap()):{}},_isSelected:function(e){return null!=this._selectedMap[e]?this._selectedMap[e]:!0},showTip:function(e){if(e){var t,i=this.option.series;if(null!=e.seriesIndex)t=e.seriesIndex;else for(var n=e.seriesName,a=0,o=i.length;o>a;a++)if(i[a].name===n){t=a;break}var r=i[t];if(null!=r){var m=this.myChart.chart[r.type],V="axis"===this.deepQuery([r,this.option],"tooltip.trigger");if(m)if(V){var U=e.dataIndex;switch(m.type){case s.CHART_TYPE_LINE:case s.CHART_TYPE_BAR:case s.CHART_TYPE_K:case s.CHART_TYPE_RADAR:if(null==this.component.polar||r.data[0].value.length<=U)return;var d=r.polarIndex||0,p=this.component.polar.getVector(d,U,"max");this._event={zrenderX:p[0],zrenderY:p[1]},this._showPolarTrigger(d,U)}}else{var c,u,y=m.shapeList;switch(m.type){case s.CHART_TYPE_LINE:case s.CHART_TYPE_BAR:case s.CHART_TYPE_K:case s.CHART_TYPE_TREEMAP:case s.CHART_TYPE_SCATTER:for(var U=e.dataIndex,a=0,o=y.length;o>a;a++)if(null==y[a]._mark&&l.get(y[a],"seriesIndex")==t&&l.get(y[a],"dataIndex")==U){this._curTarget=y[a],c=y[a].style.x,u=m.type!=s.CHART_TYPE_K?y[a].style.y:y[a].style.y[0];break}break;case s.CHART_TYPE_RADAR:for(var U=e.dataIndex,a=0,o=y.length;o>a;a++)if("polygon"===y[a].type&&l.get(y[a],"seriesIndex")==t&&l.get(y[a],"dataIndex")==U){this._curTarget=y[a];var p=this.component.polar.getCenter(r.polarIndex||0);c=p[0],u=p[1];break}break;case s.CHART_TYPE_PIE:for(var g=e.name,a=0,o=y.length;o>a;a++)if("sector"===y[a].type&&l.get(y[a],"seriesIndex")==t&&l.get(y[a],"name")==g){this._curTarget=y[a];var b=this._curTarget.style,f=(b.startAngle+b.endAngle)/2*Math.PI/180;c=this._curTarget.style.x+Math.cos(f)*b.r/1.5,u=this._curTarget.style.y-Math.sin(f)*b.r/1.5;break}break;case s.CHART_TYPE_MAP:for(var g=e.name,k=r.mapType,a=0,o=y.length;o>a;a++)if("text"===y[a].type&&y[a]._mapType===k&&y[a].style._name===g){this._curTarget=y[a],c=this._curTarget.style.x+this._curTarget.position[0],u=this._curTarget.style.y+this._curTarget.position[1];break}break;case s.CHART_TYPE_CHORD:for(var g=e.name,a=0,o=y.length;o>a;a++)if("sector"===y[a].type&&l.get(y[a],"name")==g){this._curTarget=y[a];var b=this._curTarget.style,f=(b.startAngle+b.endAngle)/2*Math.PI/180;return c=this._curTarget.style.x+Math.cos(f)*(b.r-2),u=this._curTarget.style.y-Math.sin(f)*(b.r-2),void this.zr.trigger(h.EVENT.MOUSEMOVE,{zrenderX:c,zrenderY:u})}break;case s.CHART_TYPE_FORCE:for(var g=e.name,a=0,o=y.length;o>a;a++)if("circle"===y[a].type&&l.get(y[a],"name")==g){this._curTarget=y[a],c=this._curTarget.position[0],u=this._curTarget.position[1];break}}null!=c&&null!=u&&(this._event={zrenderX:c,zrenderY:u},this.zr.addHoverShape(this._curTarget),this.zr.refreshHover(),this._showItemTrigger())}}}},hideTip:function(){this._hide()},refresh:function(e){if(this._zrHeight=this.zr.getHeight(),this._zrWidth=this.zr.getWidth(),this._lastTipShape&&this._lastTipShape.tipShape.length>0&&this.zr.delShape(this._lastTipShape.tipShape),this._lastTipShape=!1,this.shapeList.length=2,this._lastDataIndex=-1,this._lastSeriesIndex=-1,this._lastItemTriggerId=-1,e){this.option=e,this.option.tooltip=this.reformOption(this.option.tooltip),this.option.tooltip.textStyle=d.merge(this.option.tooltip.textStyle,this.ecTheme.textStyle),this._needAxisTrigger=!1,"axis"===this.option.tooltip.trigger&&(this._needAxisTrigger=!0);for(var t=this.option.series,i=0,n=t.length;n>i;i++)if("axis"===this.query(t[i],"tooltip.trigger")){this._needAxisTrigger=!0;break}this._showDelay=this.option.tooltip.showDelay,this._hideDelay=this.option.tooltip.hideDelay,this._defaultCssText=this._style(this.option.tooltip),this._setSelectedMap(),this._axisLineWidth=this.option.tooltip.axisPointer.lineStyle.width,this._enterable=this.option.tooltip.enterable,!this._enterable&&this._tDom.className.indexOf(h.elementClassName)<0&&(this._tDom.className+=" "+h.elementClassName)}if(this.showing){var a=this;setTimeout(function(){a.zr.trigger(h.EVENT.MOUSEMOVE,a.zr.handler._event)},50)}},onbeforDispose:function(){this._lastTipShape&&this._lastTipShape.tipShape.length>0&&this.zr.delShape(this._lastTipShape.tipShape),clearTimeout(this._hidingTicket),clearTimeout(this._showingTicket),this.zr.un(h.EVENT.MOUSEMOVE,this._onmousemove),this.zr.un(h.EVENT.GLOBALOUT,this._onglobalout),this.hasAppend&&this.dom.firstChild&&this.dom.firstChild.removeChild(this._tDom),this._tDom=null},_encodeHTML:function(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}},d.inherits(t,i),e("../component").define("tooltip",t),t}),i("echarts/component/legend",["require","./base","zrender/shape/Text","zrender/shape/Rectangle","zrender/shape/Sector","../util/shape/Icon","../util/shape/Candle","../config","zrender/tool/util","zrender/tool/area","../component"],function(e){function t(e,t,n,a,o){if(!this.query(a,"legend.data"))return void console.error("option.legend.data has not been defined.");i.call(this,e,t,n,a,o);var r=this;r._legendSelected=function(e){r.__legendSelected(e)},r._dispatchHoverLink=function(e){return r.__dispatchHoverLink(e)},this._colorIndex=0,this._colorMap={},this._selectedMap={},this._hasDataMap={},this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Rectangle"),o=e("zrender/shape/Sector"),r=e("../util/shape/Icon"),s=e("../util/shape/Candle"),l=e("../config");l.legend={zlevel:0,z:4,show:!0,orient:"horizontal",x:"center",y:"top",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,itemWidth:20,itemHeight:14,textStyle:{color:"#333"},selectedMode:!0};var h=e("zrender/tool/util"),m=e("zrender/tool/area");t.prototype={type:l.COMPONENT_TYPE_LEGEND,_buildShape:function(){if(this.legendOption.show){this._itemGroupLocation=this._getItemGroupLocation(),this._buildBackground(),this._buildItem();for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e])}},_buildItem:function(){var e,t,i,a,o,s,l,V,U=this.legendOption.data,d=U.length,p=this.legendOption.textStyle,c=this.zr.getWidth(),u=this.zr.getHeight(),y=this._itemGroupLocation.x,g=this._itemGroupLocation.y,b=this.legendOption.itemWidth,f=this.legendOption.itemHeight,k=this.legendOption.itemGap;"vertical"===this.legendOption.orient&&"right"===this.legendOption.x&&(y=this._itemGroupLocation.x+this._itemGroupLocation.width-b);for(var x=0;d>x;x++)o=h.merge(U[x].textStyle||{},p),s=this.getFont(o),e=this._getName(U[x]),l=this._getFormatterName(e),""!==e?(t=U[x].icon||this._getSomethingByName(e).type,V=this.getColor(e),"horizontal"===this.legendOption.orient?200>c-y&&b+5+m.getTextWidth(l,s)+(x===d-1||""===U[x+1]?0:k)>=c-y&&(y=this._itemGroupLocation.x,g+=f+k):200>u-g&&f+(x===d-1||""===U[x+1]?0:k)>=u-g&&("right"===this.legendOption.x?y-=this._itemGroupLocation.maxWidth+k:y+=this._itemGroupLocation.maxWidth+k,g=this._itemGroupLocation.y),i=this._getItemShapeByType(y,g,b,f,this._selectedMap[e]&&this._hasDataMap[e]?V:"#ccc",t,V),i._name=e,i=new r(i),a={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:y+b+5,y:g+f/2,color:this._selectedMap[e]?"auto"===o.color?V:o.color:"#ccc",text:l,textFont:s,textBaseline:"middle"},highlightStyle:{color:V,brushType:"fill"},hoverable:!!this.legendOption.selectedMode,clickable:!!this.legendOption.selectedMode},"vertical"===this.legendOption.orient&&"right"===this.legendOption.x&&(a.style.x-=b+10,a.style.textAlign="right"),a._name=e,a=new n(a),this.legendOption.selectedMode&&(i.onclick=a.onclick=this._legendSelected,i.onmouseover=a.onmouseover=this._dispatchHoverLink,i.hoverConnect=a.id,a.hoverConnect=i.id),this.shapeList.push(i),this.shapeList.push(a),"horizontal"===this.legendOption.orient?y+=b+5+m.getTextWidth(l,s)+k:g+=f+k):"horizontal"===this.legendOption.orient?(y=this._itemGroupLocation.x,g+=f+k):("right"===this.legendOption.x?y-=this._itemGroupLocation.maxWidth+k:y+=this._itemGroupLocation.maxWidth+k,g=this._itemGroupLocation.y);"horizontal"===this.legendOption.orient&&"center"===this.legendOption.x&&g!=this._itemGroupLocation.y&&this._mLineOptimize()},_getName:function(e){return"undefined"!=typeof e.name?e.name:e},_getFormatterName:function(e){var t,i=this.legendOption.formatter;return t="function"==typeof i?i.call(this.myChart,e):"string"==typeof i?i.replace("{name}",e):e},_getFormatterNameFromData:function(e){var t=this._getName(e);return this._getFormatterName(t)},_mLineOptimize:function(){for(var e=[],t=this._itemGroupLocation.x,i=2,n=this.shapeList.length;n>i;i++)this.shapeList[i].style.x===t?e.push((this._itemGroupLocation.width-(this.shapeList[i-1].style.x+m.getTextWidth(this.shapeList[i-1].style.text,this.shapeList[i-1].style.textFont)-t))/2):i===n-1&&e.push((this._itemGroupLocation.width-(this.shapeList[i].style.x+m.getTextWidth(this.shapeList[i].style.text,this.shapeList[i].style.textFont)-t))/2);for(var a=-1,i=1,n=this.shapeList.length;n>i;i++)this.shapeList[i].style.x===t&&a++,0!==e[a]&&(this.shapeList[i].style.x+=e[a])},_buildBackground:function(){var e=this.reformCssArray(this.legendOption.padding);this.shapeList.push(new a({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._itemGroupLocation.x-e[3],y:this._itemGroupLocation.y-e[0],width:this._itemGroupLocation.width+e[3]+e[1],height:this._itemGroupLocation.height+e[0]+e[2],brushType:0===this.legendOption.borderWidth?"fill":"both",color:this.legendOption.backgroundColor,strokeColor:this.legendOption.borderColor,lineWidth:this.legendOption.borderWidth}}))},_getItemGroupLocation:function(){var e=this.legendOption.data,t=e.length,i=this.legendOption.itemGap,n=this.legendOption.itemWidth+5,a=this.legendOption.itemHeight,o=this.legendOption.textStyle,r=this.getFont(o),s=0,l=0,V=this.reformCssArray(this.legendOption.padding),U=this.zr.getWidth()-V[1]-V[3],d=this.zr.getHeight()-V[0]-V[2],p=0,c=0;if("horizontal"===this.legendOption.orient){l=a;for(var u=0;t>u;u++)if(""!==this._getName(e[u])){var y=m.getTextWidth(this._getFormatterNameFromData(e[u]),e[u].textStyle?this.getFont(h.merge(e[u].textStyle||{},o)):r);p+n+y+i>U?(p-=i,s=Math.max(s,p),l+=a+i,p=0):(p+=n+y+i,s=Math.max(s,p-i))}else p-=i,s=Math.max(s,p),l+=a+i,p=0}else{for(var u=0;t>u;u++)c=Math.max(c,m.getTextWidth(this._getFormatterNameFromData(e[u]),e[u].textStyle?this.getFont(h.merge(e[u].textStyle||{},o)):r));c+=n,s=c;for(var u=0;t>u;u++)""!==this._getName(e[u])?p+a+i>d?(s+=c+i,p-=i,l=Math.max(l,p),p=0):(p+=a+i,l=Math.max(l,p-i)):(s+=c+i,p-=i,l=Math.max(l,p),p=0)}U=this.zr.getWidth(),d=this.zr.getHeight();var g;switch(this.legendOption.x){case"center":g=Math.floor((U-s)/2);break;case"left":g=V[3]+this.legendOption.borderWidth;break;case"right":g=U-s-V[1]-V[3]-2*this.legendOption.borderWidth;break;default:g=this.parsePercent(this.legendOption.x,U)}var b;switch(this.legendOption.y){case"top":b=V[0]+this.legendOption.borderWidth;break;case"bottom":b=d-l-V[0]-V[2]-2*this.legendOption.borderWidth;break;case"center":b=Math.floor((d-l)/2);break;default:b=this.parsePercent(this.legendOption.y,d)}return{x:g,y:b,width:s,height:l,maxWidth:c}},_getSomethingByName:function(e){for(var t,i=this.option.series,n=0,a=i.length;a>n;n++){if(i[n].name===e)return{type:i[n].type,series:i[n],seriesIndex:n,data:null,dataIndex:-1};if(i[n].type===l.CHART_TYPE_PIE||i[n].type===l.CHART_TYPE_RADAR||i[n].type===l.CHART_TYPE_CHORD||i[n].type===l.CHART_TYPE_FORCE||i[n].type===l.CHART_TYPE_FUNNEL||i[n].type===l.CHART_TYPE_TREEMAP){t=i[n].categories||i[n].data||i[n].nodes;for(var o=0,r=t.length;r>o;o++)if(t[o].name===e)return{type:i[n].type,series:i[n],seriesIndex:n,data:t[o],dataIndex:o}}}return{type:"bar",series:null,seriesIndex:-1,data:null,dataIndex:-1}},_getItemShapeByType:function(e,t,i,n,a,o,r){var s,h="#ccc"===a?r:a,m={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{iconType:"legendicon"+o,x:e,y:t,width:i,height:n,color:a,strokeColor:a,lineWidth:2},highlightStyle:{color:h,strokeColor:h,lineWidth:1},hoverable:this.legendOption.selectedMode,clickable:this.legendOption.selectedMode};if(o.match("image")){var s=o.replace(new RegExp("^image:\\/\\/"),"");o="image"}switch(o){case"line":m.style.brushType="stroke",m.highlightStyle.lineWidth=3;break;case"radar":case"venn":case"tree":case"treemap":case"scatter":m.highlightStyle.lineWidth=3;break;case"k":m.style.brushType="both",m.highlightStyle.lineWidth=3,m.highlightStyle.color=m.style.color=this.deepQuery([this.ecTheme,l],"k.itemStyle.normal.color")||"#fff",m.style.strokeColor="#ccc"!=a?this.deepQuery([this.ecTheme,l],"k.itemStyle.normal.lineStyle.color")||"#ff3200":a;break;case"image":m.style.iconType="image",m.style.image=s,"#ccc"===a&&(m.style.opacity=.5)}return m},__legendSelected:function(e){var t=e.target._name;if("single"===this.legendOption.selectedMode)for(var i in this._selectedMap)this._selectedMap[i]=!1;this._selectedMap[t]=!this._selectedMap[t],this.messageCenter.dispatch(l.EVENT.LEGEND_SELECTED,e.event,{selected:this._selectedMap,target:t},this.myChart)},__dispatchHoverLink:function(e){this.messageCenter.dispatch(l.EVENT.LEGEND_HOVERLINK,e.event,{target:e.target._name},this.myChart)},refresh:function(e){if(e){this.option=e||this.option,this.option.legend=this.reformOption(this.option.legend),this.legendOption=this.option.legend;var t,i,n,a,o=this.legendOption.data||[];if(this.legendOption.selected)for(var r in this.legendOption.selected)this._selectedMap[r]="undefined"!=typeof this._selectedMap[r]?this._selectedMap[r]:this.legendOption.selected[r];for(var s=0,h=o.length;h>s;s++)t=this._getName(o[s]),""!==t&&(i=this._getSomethingByName(t),i.series?(this._hasDataMap[t]=!0,a=!i.data||i.type!==l.CHART_TYPE_PIE&&i.type!==l.CHART_TYPE_FORCE&&i.type!==l.CHART_TYPE_FUNNEL?[i.series]:[i.data,i.series],n=this.getItemStyleColor(this.deepQuery(a,"itemStyle.normal.color"),i.seriesIndex,i.dataIndex,i.data),n&&i.type!=l.CHART_TYPE_K&&this.setColor(t,n),this._selectedMap[t]=null!=this._selectedMap[t]?this._selectedMap[t]:!0):this._hasDataMap[t]=!1)}this.clear(),this._buildShape()},getRelatedAmount:function(e){for(var t,i=0,n=this.option.series,a=0,o=n.length;o>a;a++)if(n[a].name===e&&i++,n[a].type===l.CHART_TYPE_PIE||n[a].type===l.CHART_TYPE_RADAR||n[a].type===l.CHART_TYPE_CHORD||n[a].type===l.CHART_TYPE_FORCE||n[a].type===l.CHART_TYPE_FUNNEL){t=n[a].type!=l.CHART_TYPE_FORCE?n[a].data:n[a].categories;for(var r=0,s=t.length;s>r;r++)t[r].name===e&&"-"!=t[r].value&&i++}return i},setColor:function(e,t){this._colorMap[e]=t},getColor:function(e){return this._colorMap[e]||(this._colorMap[e]=this.zr.getColor(this._colorIndex++)),this._colorMap[e]},hasColor:function(e){return this._colorMap[e]?this._colorMap[e]:!1},add:function(e,t){
-for(var i=this.legendOption.data,n=0,a=i.length;a>n;n++)if(this._getName(i[n])===e)return;this.legendOption.data.push(e),this.setColor(e,t),this._selectedMap[e]=!0,this._hasDataMap[e]=!0},del:function(e){for(var t=this.legendOption.data,i=0,n=t.length;n>i;i++)if(this._getName(t[i])===e)return this.legendOption.data.splice(i,1)},getItemShape:function(e){if(null!=e)for(var t,i=0,n=this.shapeList.length;n>i;i++)if(t=this.shapeList[i],t._name===e&&"text"!=t.type)return t},setItemShape:function(e,t){for(var i,n=0,a=this.shapeList.length;a>n;n++)i=this.shapeList[n],i._name===e&&"text"!=i.type&&(this._selectedMap[e]||(t.style.color="#ccc",t.style.strokeColor="#ccc"),this.zr.modShape(i.id,t))},isSelected:function(e){return"undefined"!=typeof this._selectedMap[e]?this._selectedMap[e]:!0},getSelectedMap:function(){return this._selectedMap},setSelected:function(e,t){if("single"===this.legendOption.selectedMode)for(var i in this._selectedMap)this._selectedMap[i]=!1;this._selectedMap[e]=t,this.messageCenter.dispatch(l.EVENT.LEGEND_SELECTED,null,{selected:this._selectedMap,target:e},this.myChart)},onlegendSelected:function(e,t){var i=e.selected;for(var n in i)this._selectedMap[n]!=i[n]&&(t.needRefresh=!0),this._selectedMap[n]=i[n]}};var V={line:function(e,t){var i=t.height/2;e.moveTo(t.x,t.y+i),e.lineTo(t.x+t.width,t.y+i)},pie:function(e,t){var i=t.x,n=t.y,a=t.width,r=t.height;o.prototype.buildPath(e,{x:i+a/2,y:n+r+2,r:r,r0:6,startAngle:45,endAngle:135})},eventRiver:function(e,t){var i=t.x,n=t.y,a=t.width,o=t.height;e.moveTo(i,n+o),e.bezierCurveTo(i+a,n+o,i,n+4,i+a,n+4),e.lineTo(i+a,n),e.bezierCurveTo(i,n,i+a,n+o-4,i,n+o-4),e.lineTo(i,n+o)},k:function(e,t){var i=t.x,n=t.y,a=t.width,o=t.height;s.prototype.buildPath(e,{x:i+a/2,y:[n+1,n+1,n+o-6,n+o],width:a-6})},bar:function(e,t){var i=t.x,n=t.y+1,a=t.width,o=t.height-2,r=3;e.moveTo(i+r,n),e.lineTo(i+a-r,n),e.quadraticCurveTo(i+a,n,i+a,n+r),e.lineTo(i+a,n+o-r),e.quadraticCurveTo(i+a,n+o,i+a-r,n+o),e.lineTo(i+r,n+o),e.quadraticCurveTo(i,n+o,i,n+o-r),e.lineTo(i,n+r),e.quadraticCurveTo(i,n,i+r,n)},force:function(e,t){r.prototype.iconLibrary.circle(e,t)},radar:function(e,t){var i=6,n=t.x+t.width/2,a=t.y+t.height/2,o=t.height/2,r=2*Math.PI/i,s=-Math.PI/2,l=n+o*Math.cos(s),h=a+o*Math.sin(s);e.moveTo(l,h),s+=r;for(var m=0,V=i-1;V>m;m++)e.lineTo(n+o*Math.cos(s),a+o*Math.sin(s)),s+=r;e.lineTo(l,h)}};V.chord=V.pie,V.map=V.bar;for(var U in V)r.prototype.iconLibrary["legendicon"+U]=V[U];return h.inherits(t,i),e("../component").define("legend",t),t}),i("echarts/util/ecData",[],function(){function e(e,t,i,n,a,o,r,s){var l;return"undefined"!=typeof n&&(l=null==n.value?n:n.value),e._echartsData={_series:t,_seriesIndex:i,_data:n,_dataIndex:a,_name:o,_value:l,_special:r,_special2:s},e._echartsData}function t(e,t){var i=e._echartsData;if(!t)return i;switch(t){case"series":case"seriesIndex":case"data":case"dataIndex":case"name":case"value":case"special":case"special2":return i&&i["_"+t]}return null}function i(e,t,i){switch(e._echartsData=e._echartsData||{},t){case"series":case"seriesIndex":case"data":case"dataIndex":case"name":case"value":case"special":case"special2":e._echartsData["_"+t]=i}}function n(e,t){t._echartsData={_series:e._echartsData._series,_seriesIndex:e._echartsData._seriesIndex,_data:e._echartsData._data,_dataIndex:e._echartsData._dataIndex,_name:e._echartsData._name,_value:e._echartsData._value,_special:e._echartsData._special,_special2:e._echartsData._special2}}return{pack:e,set:i,get:t,clone:n}}),i("echarts/chart",[],function(){var e={},t={};return e.define=function(i,n){return t[i]=n,e},e.get=function(e){return t[e]},e}),i("zrender/tool/color",["require","../tool/util"],function(e){function t(e){D=e}function i(){D=N}function n(e,t){return e=0|e,t=t||D,t[e%t.length]}function a(e){B=e}function o(){H=B}function r(){return B}function s(e,t,i,n,a,o,r){O||(O=P.getContext());for(var s=O.createRadialGradient(e,t,i,n,a,o),l=0,h=r.length;h>l;l++)s.addColorStop(r[l][0],r[l][1]);return s.__nonRecursion=!0,s}function l(e,t,i,n,a){O||(O=P.getContext());for(var o=O.createLinearGradient(e,t,i,n),r=0,s=a.length;s>r;r++)o.addColorStop(a[r][0],a[r][1]);return o.__nonRecursion=!0,o}function h(e,t,i){e=p(e),t=p(t),e=I(e),t=I(t);for(var n=[],a=(t[0]-e[0])/i,o=(t[1]-e[1])/i,r=(t[2]-e[2])/i,s=(t[3]-e[3])/i,l=0,h=e[0],m=e[1],U=e[2],d=e[3];i>l;l++)n[l]=V([S(Math.floor(h),[0,255]),S(Math.floor(m),[0,255]),S(Math.floor(U),[0,255]),d.toFixed(4)-0],"rgba"),h+=a,m+=o,U+=r,d+=s;return h=t[0],m=t[1],U=t[2],d=t[3],n[l]=V([h,m,U,d],"rgba"),n}function m(e,t){var i=[],n=e.length;if(void 0===t&&(t=20),1===n)i=h(e[0],e[0],t);else if(n>1)for(var a=0,o=n-1;o>a;a++){var r=h(e[a],e[a+1],t);o-1>a&&r.pop(),i=i.concat(r)}return i}function V(e,t){if(t=t||"rgb",e&&(3===e.length||4===e.length)){if(e=C(e,function(e){return e>1?Math.ceil(e):e}),t.indexOf("hex")>-1)return"#"+((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1);if(t.indexOf("hs")>-1){var i=C(e.slice(1,3),function(e){return e+"%"});e[1]=i[0],e[2]=i[1]}return t.indexOf("a")>-1?(3===e.length&&e.push(1),e[3]=S(e[3],[0,1]),t+"("+e.slice(0,4).join(",")+")"):t+"("+e.slice(0,3).join(",")+")"}}function U(e){e=L(e),e.indexOf("rgba")<0&&(e=p(e));var t=[],i=0;return e.replace(/[\d.]+/g,function(e){e=3>i?0|e:+e,t[i++]=e}),t}function d(e,t){if(!E(e))return e;var i=I(e),n=i[3];return"undefined"==typeof n&&(n=1),e.indexOf("hsb")>-1?i=F(i):e.indexOf("hsl")>-1&&(i=T(i)),t.indexOf("hsb")>-1||t.indexOf("hsv")>-1?i=A(i):t.indexOf("hsl")>-1&&(i=M(i)),i[3]=n,V(i,t)}function p(e){return d(e,"rgba")}function c(e){return d(e,"rgb")}function u(e){return d(e,"hex")}function y(e){return d(e,"hsva")}function g(e){return d(e,"hsv")}function b(e){return d(e,"hsba")}function f(e){return d(e,"hsb")}function k(e){return d(e,"hsla")}function x(e){return d(e,"hsl")}function _(e){for(var t in G)if(u(G[t])===u(e))return t;return null}function L(e){return String(e).replace(/\s+/g,"")}function W(e){if(G[e]&&(e=G[e]),e=L(e),e=e.replace(/hsv/i,"hsb"),/^#[\da-f]{3}$/i.test(e)){e=parseInt(e.slice(1),16);var t=(3840&e)<<8,i=(240&e)<<4,n=15&e;e="#"+((1<<24)+(t<<4)+t+(i<<4)+i+(n<<4)+n).toString(16).slice(1)}return e}function X(e,t){if(!E(e))return e;var i=t>0?1:-1;"undefined"==typeof t&&(t=0),t=Math.abs(t)>1?1:Math.abs(t),e=c(e);for(var n=I(e),a=0;3>a;a++)n[a]=1===i?n[a]*(1-t)|0:(255-n[a])*t+n[a]|0;return"rgb("+n.join(",")+")"}function v(e){if(!E(e))return e;var t=I(p(e));return t=C(t,function(e){return 255-e}),V(t,"rgb")}function w(e,t,i){if(!E(e)||!E(t))return e;"undefined"==typeof i&&(i=.5),i=1-S(i,[0,1]);for(var n=2*i-1,a=I(p(e)),o=I(p(t)),r=a[3]-o[3],s=((n*r===-1?n:(n+r)/(1+n*r))+1)/2,l=1-s,h=[],m=0;3>m;m++)h[m]=a[m]*s+o[m]*l;var U=a[3]*i+o[3]*(1-i);return U=Math.max(0,Math.min(1,U)),1===a[3]&&1===o[3]?V(h,"rgb"):(h[3]=U,V(h,"rgba"))}function K(){return"#"+(Math.random().toString(16)+"0000").slice(2,8)}function I(e){e=W(e);var t=e.match(R);if(null===t)throw new Error("The color format error");var i,n,a,o=[];if(t[2])i=t[2].replace("#","").split(""),a=[i[0]+i[1],i[2]+i[3],i[4]+i[5]],o=C(a,function(e){return S(parseInt(e,16),[0,255])});else if(t[4]){var r=t[4].split(",");n=r[3],a=r.slice(0,3),o=C(a,function(e){return e=Math.floor(e.indexOf("%")>0?2.55*parseInt(e,0):e),S(e,[0,255])}),"undefined"!=typeof n&&o.push(S(parseFloat(n),[0,1]))}else if(t[5]||t[6]){var s=(t[5]||t[6]).split(","),l=parseInt(s[0],0)/360,h=s[1],m=s[2];n=s[3],o=C([h,m],function(e){return S(parseFloat(e)/100,[0,1])}),o.unshift(l),"undefined"!=typeof n&&o.push(S(parseFloat(n),[0,1]))}return o}function J(e,t){if(!E(e))return e;null===t&&(t=1);var i=I(p(e));return i[3]=S(Number(t).toFixed(4),[0,1]),V(i,"rgba")}function C(e,t){if("function"!=typeof t)throw new TypeError;for(var i=e?e.length:0,n=0;i>n;n++)e[n]=t(e[n]);return e}function S(e,t){return e<=t[0]?e=t[0]:e>=t[1]&&(e=t[1]),e}function E(e){return e instanceof Array||"string"==typeof e}function F(e){var t,i,n,a=e[0],o=e[1],r=e[2];if(0===o)t=255*r,i=255*r,n=255*r;else{var s=6*a;6===s&&(s=0);var l=0|s,h=r*(1-o),m=r*(1-o*(s-l)),V=r*(1-o*(1-(s-l))),U=0,d=0,p=0;0===l?(U=r,d=V,p=h):1===l?(U=m,d=r,p=h):2===l?(U=h,d=r,p=V):3===l?(U=h,d=m,p=r):4===l?(U=V,d=h,p=r):(U=r,d=h,p=m),t=255*U,i=255*d,n=255*p}return[t,i,n]}function T(e){var t,i,n,a=e[0],o=e[1],r=e[2];if(0===o)t=255*r,i=255*r,n=255*r;else{var s;s=.5>r?r*(1+o):r+o-o*r;var l=2*r-s;t=255*z(l,s,a+1/3),i=255*z(l,s,a),n=255*z(l,s,a-1/3)}return[t,i,n]}function z(e,t,i){return 0>i&&(i+=1),i>1&&(i-=1),1>6*i?e+6*(t-e)*i:1>2*i?t:2>3*i?e+(t-e)*(2/3-i)*6:e}function A(e){var t,i,n=e[0]/255,a=e[1]/255,o=e[2]/255,r=Math.min(n,a,o),s=Math.max(n,a,o),l=s-r,h=s;if(0===l)t=0,i=0;else{i=l/s;var m=((s-n)/6+l/2)/l,V=((s-a)/6+l/2)/l,U=((s-o)/6+l/2)/l;n===s?t=U-V:a===s?t=1/3+m-U:o===s&&(t=2/3+V-m),0>t&&(t+=1),t>1&&(t-=1)}return t=360*t,i=100*i,h=100*h,[t,i,h]}function M(e){var t,i,n=e[0]/255,a=e[1]/255,o=e[2]/255,r=Math.min(n,a,o),s=Math.max(n,a,o),l=s-r,h=(s+r)/2;if(0===l)t=0,i=0;else{i=.5>h?l/(s+r):l/(2-s-r);var m=((s-n)/6+l/2)/l,V=((s-a)/6+l/2)/l,U=((s-o)/6+l/2)/l;n===s?t=U-V:a===s?t=1/3+m-U:o===s&&(t=2/3+V-m),0>t&&(t+=1),t>1&&(t-=1)}return t=360*t,i=100*i,h=100*h,[t,i,h]}var O,P=e("../tool/util"),D=["#ff9277"," #dddd00"," #ffc877"," #bbe3ff"," #d5ffbb","#bbbbff"," #ddb000"," #b0dd00"," #e2bbff"," #ffbbe3","#ff7777"," #ff9900"," #83dd00"," #77e3ff"," #778fff","#c877ff"," #ff77ab"," #ff6600"," #aa8800"," #77c7ff","#ad77ff"," #ff77ff"," #dd0083"," #777700"," #00aa00","#0088aa"," #8400dd"," #aa0088"," #dd0000"," #772e00"],N=D,B="rgba(255,255,0,0.5)",H=B,R=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i,G={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#789",lightslategrey:"#789",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#f0f",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"};return{customPalette:t,resetPalette:i,getColor:n,getHighlightColor:r,customHighlight:a,resetHighlight:o,getRadialGradient:s,getLinearGradient:l,getGradientColors:m,getStepColors:h,reverse:v,mix:w,lift:X,trim:L,random:K,toRGB:c,toRGBA:p,toHex:u,toHSL:x,toHSLA:k,toHSB:f,toHSBA:b,toHSV:g,toHSVA:y,toName:_,toColor:V,toArray:U,alpha:J,getData:I}}),i("echarts/component/timeline",["require","./base","zrender/shape/Rectangle","../util/shape/Icon","../util/shape/Chain","../config","zrender/tool/util","zrender/tool/area","zrender/tool/event","../component"],function(e){function t(e,t,i,a,o){n.call(this,e,t,i,a,o);var r=this;if(r._onclick=function(e){return r.__onclick(e)},r._ondrift=function(e,t){return r.__ondrift(this,e,t)},r._ondragend=function(){return r.__ondragend()},r._setCurrentOption=function(){var e=r.timelineOption;r.currentIndex%=e.data.length;var t=r.options[r.currentIndex]||{};r.myChart._setOption(t,e.notMerge,!0),r.messageCenter.dispatch(s.EVENT.TIMELINE_CHANGED,null,{currentIndex:r.currentIndex,data:null!=e.data[r.currentIndex].name?e.data[r.currentIndex].name:e.data[r.currentIndex]},r.myChart)},r._onFrame=function(){r._setCurrentOption(),r._syncHandleShape(),r.timelineOption.autoPlay&&(r.playTicket=setTimeout(function(){return r.currentIndex+=1,!r.timelineOption.loop&&r.currentIndex>=r.timelineOption.data.length?(r.currentIndex=r.timelineOption.data.length-1,void r.stop()):void r._onFrame()},r.timelineOption.playInterval))},this.setTheme(!1),this.options=this.option.options,this.currentIndex=this.timelineOption.currentIndex%this.timelineOption.data.length,this.timelineOption.notMerge||0===this.currentIndex||(this.options[this.currentIndex]=l.merge(this.options[this.currentIndex],this.options[0])),this.timelineOption.show&&(this._buildShape(),this._syncHandleShape()),this._setCurrentOption(),this.timelineOption.autoPlay){var r=this;this.playTicket=setTimeout(function(){r.play()},null!=this.ecTheme.animationDuration?this.ecTheme.animationDuration:s.animationDuration)}}function i(e,t){var i=2,n=t.x+i,a=t.y+i+2,r=t.width-i,s=t.height-i,l=t.symbol;if("last"===l)e.moveTo(n+r-2,a+s/3),e.lineTo(n+r-2,a),e.lineTo(n+2,a+s/2),e.lineTo(n+r-2,a+s),e.lineTo(n+r-2,a+s/3*2),e.moveTo(n,a),e.lineTo(n,a);else if("next"===l)e.moveTo(n+2,a+s/3),e.lineTo(n+2,a),e.lineTo(n+r-2,a+s/2),e.lineTo(n+2,a+s),e.lineTo(n+2,a+s/3*2),e.moveTo(n,a),e.lineTo(n,a);else if("play"===l)if("stop"===t.status)e.moveTo(n+2,a),e.lineTo(n+r-2,a+s/2),e.lineTo(n+2,a+s),e.lineTo(n+2,a);else{var h="both"===t.brushType?2:3;e.rect(n+2,a,h,s),e.rect(n+r-h-2,a,h,s)}else if(l.match("image")){var m="";m=l.replace(new RegExp("^image:\\/\\/"),""),l=o.prototype.iconLibrary.image,l(e,{x:n,y:a,width:r,height:s,image:m})}}var n=e("./base"),a=e("zrender/shape/Rectangle"),o=e("../util/shape/Icon"),r=e("../util/shape/Chain"),s=e("../config");s.timeline={zlevel:0,z:4,show:!0,type:"time",notMerge:!1,realtime:!0,x:80,x2:80,y2:0,height:50,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,controlPosition:"left",autoPlay:!1,loop:!0,playInterval:2e3,lineStyle:{width:1,color:"#666",type:"dashed"},label:{show:!0,interval:"auto",rotate:0,textStyle:{color:"#333"}},checkpointStyle:{symbol:"auto",symbolSize:"auto",color:"auto",borderColor:"auto",borderWidth:"auto",label:{show:!1,textStyle:{color:"auto"}}},controlStyle:{itemSize:15,itemGap:5,normal:{color:"#333"},emphasis:{color:"#1e90ff"}},symbol:"emptyDiamond",symbolSize:4,currentIndex:0};var l=e("zrender/tool/util"),h=e("zrender/tool/area"),m=e("zrender/tool/event");return t.prototype={type:s.COMPONENT_TYPE_TIMELINE,_buildShape:function(){if(this._location=this._getLocation(),this._buildBackground(),this._buildControl(),this._chainPoint=this._getChainPoint(),this.timelineOption.label.show)for(var e=this._getInterval(),t=0,i=this._chainPoint.length;i>t;t+=e)this._chainPoint[t].showLabel=!0;this._buildChain(),this._buildHandle();for(var t=0,n=this.shapeList.length;n>t;t++)this.zr.addShape(this.shapeList[t])},_getLocation:function(){var e,t=this.timelineOption,i=this.reformCssArray(this.timelineOption.padding),n=this.zr.getWidth(),a=this.parsePercent(t.x,n),o=this.parsePercent(t.x2,n);null==t.width?(e=n-a-o,o=n-o):(e=this.parsePercent(t.width,n),o=a+e);var r,s,l=this.zr.getHeight(),h=this.parsePercent(t.height,l);return null!=t.y?(r=this.parsePercent(t.y,l),s=r+h):(s=l-this.parsePercent(t.y2,l),r=s-h),{x:a+i[3],y:r+i[0],x2:o-i[1],y2:s-i[2],width:e-i[1]-i[3],height:h-i[0]-i[2]}},_getReformedLabel:function(e){var t=this.timelineOption,i=null!=t.data[e].name?t.data[e].name:t.data[e],n=t.data[e].formatter||t.label.formatter;return n&&("function"==typeof n?i=n.call(this.myChart,i):"string"==typeof n&&(i=n.replace("{value}",i))),i},_getInterval:function(){var e=this._chainPoint,t=this.timelineOption,i=t.label.interval;if("auto"===i){var n=t.label.textStyle.fontSize,a=t.data,o=t.data.length;if(o>3){var r,s,l=!1;for(i=0;!l&&o>i;){i++,l=!0;for(var m=i;o>m;m+=i){if(r=e[m].x-e[m-i].x,0!==t.label.rotate)s=n;else if(a[m].textStyle)s=h.getTextWidth(e[m].name,e[m].textFont);else{var V=e[m].name+"",U=(V.match(/\w/g)||"").length,d=V.length-U;s=U*n*2/3+d*n}if(s>r){l=!1;break}}}}else i=1}else i=i-0+1;return i},_getChainPoint:function(){function e(e){return null!=h[e].name?h[e].name:h[e]+""}var t,i=this.timelineOption,n=i.symbol.toLowerCase(),a=i.symbolSize,o=i.label.rotate,r=i.label.textStyle,s=this.getFont(r),h=i.data,m=this._location.x,V=this._location.y+this._location.height/4*3,U=this._location.x2-this._location.x,d=h.length,p=[];if(d>1){var c=U/d;if(c=c>50?50:20>c?5:c,U-=2*c,"number"===i.type)for(var u=0;d>u;u++)p.push(m+c+U/(d-1)*u);else{p[0]=new Date(e(0).replace(/-/g,"/")),p[d-1]=new Date(e(d-1).replace(/-/g,"/"))-p[0];for(var u=1;d>u;u++)p[u]=m+c+U*(new Date(e(u).replace(/-/g,"/"))-p[0])/p[d-1];p[0]=m+c}}else p.push(m+U/2);for(var y,g,b,f,k,x=[],u=0;d>u;u++)m=p[u],y=h[u].symbol&&h[u].symbol.toLowerCase()||n,y.match("empty")?(y=y.replace("empty",""),b=!0):b=!1,y.match("star")&&(g=y.replace("star","")-0||5,y="star"),t=h[u].textStyle?l.merge(h[u].textStyle||{},r):r,f=t.align||"center",o?(f=o>0?"right":"left",k=[o*Math.PI/180,m,V-5]):k=!1,x.push({x:m,n:g,isEmpty:b,symbol:y,symbolSize:h[u].symbolSize||a,color:h[u].color,borderColor:h[u].borderColor,borderWidth:h[u].borderWidth,name:this._getReformedLabel(u),textColor:t.color,textAlign:f,textBaseline:t.baseline||"middle",textX:m,textY:V-(o?5:0),textFont:h[u].textStyle?this.getFont(t):s,rotation:k,showLabel:!1});return x},_buildBackground:function(){var e=this.timelineOption,t=this.reformCssArray(this.timelineOption.padding),i=this._location.width,n=this._location.height;(0!==e.borderWidth||"rgba(0,0,0,0)"!=e.backgroundColor.replace(/\s/g,""))&&this.shapeList.push(new a({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._location.x-t[3],y:this._location.y-t[0],width:i+t[1]+t[3],height:n+t[0]+t[2],brushType:0===e.borderWidth?"fill":"both",color:e.backgroundColor,strokeColor:e.borderColor,lineWidth:e.borderWidth}}))},_buildControl:function(){var e=this,t=this.timelineOption,i=t.lineStyle,n=t.controlStyle;if("none"!==t.controlPosition){var a,r=n.itemSize,s=n.itemGap;"left"===t.controlPosition?(a=this._location.x,this._location.x+=3*(r+s)):(a=this._location.x2-(3*(r+s)-s),this._location.x2-=3*(r+s));var h=this._location.y,m={zlevel:this.getZlevelBase(),z:this.getZBase()+1,style:{iconType:"timelineControl",symbol:"last",x:a,y:h,width:r,height:r,brushType:"stroke",color:n.normal.color,strokeColor:n.normal.color,lineWidth:i.width},highlightStyle:{color:n.emphasis.color,strokeColor:n.emphasis.color,lineWidth:i.width+1},clickable:!0};this._ctrLastShape=new o(m),this._ctrLastShape.onclick=function(){e.last()},this.shapeList.push(this._ctrLastShape),a+=r+s,this._ctrPlayShape=new o(l.clone(m)),this._ctrPlayShape.style.brushType="fill",this._ctrPlayShape.style.symbol="play",this._ctrPlayShape.style.status=this.timelineOption.autoPlay?"playing":"stop",this._ctrPlayShape.style.x=a,this._ctrPlayShape.onclick=function(){"stop"===e._ctrPlayShape.style.status?e.play():e.stop()},this.shapeList.push(this._ctrPlayShape),a+=r+s,this._ctrNextShape=new o(l.clone(m)),this._ctrNextShape.style.symbol="next",this._ctrNextShape.style.x=a,this._ctrNextShape.onclick=function(){e.next()},this.shapeList.push(this._ctrNextShape)}},_buildChain:function(){var e=this.timelineOption,t=e.lineStyle;this._timelineShae={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:this._location.x,y:this.subPixelOptimize(this._location.y,t.width),width:this._location.x2-this._location.x,height:this._location.height,chainPoint:this._chainPoint,brushType:"both",strokeColor:t.color,lineWidth:t.width,lineType:t.type},hoverable:!1,clickable:!0,onclick:this._onclick},this._timelineShae=new r(this._timelineShae),this.shapeList.push(this._timelineShae)},_buildHandle:function(){var e=this._chainPoint[this.currentIndex],t=e.symbolSize+1;t=5>t?5:t,this._handleShape={zlevel:this.getZlevelBase(),z:this.getZBase()+1,hoverable:!1,draggable:!0,style:{iconType:"diamond",n:e.n,x:e.x-t,y:this._location.y+this._location.height/4-t,width:2*t,height:2*t,brushType:"both",textPosition:"specific",textX:e.x,textY:this._location.y-this._location.height/4,textAlign:"center",textBaseline:"middle"},highlightStyle:{},ondrift:this._ondrift,ondragend:this._ondragend},this._handleShape=new o(this._handleShape),this.shapeList.push(this._handleShape)},_syncHandleShape:function(){if(this.timelineOption.show){var e=this.timelineOption,t=e.checkpointStyle,i=this._chainPoint[this.currentIndex];this._handleShape.style.text=t.label.show?i.name:"",this._handleShape.style.textFont=i.textFont,this._handleShape.style.n=i.n,"auto"===t.symbol?this._handleShape.style.iconType="none"!=i.symbol?i.symbol:"diamond":(this._handleShape.style.iconType=t.symbol,t.symbol.match("star")&&(this._handleShape.style.n=t.symbol.replace("star","")-0||5,this._handleShape.style.iconType="star"));var n;"auto"===t.symbolSize?(n=i.symbolSize+2,n=5>n?5:n):n=t.symbolSize-0,this._handleShape.style.color="auto"===t.color?i.color?i.color:e.controlStyle.emphasis.color:t.color,this._handleShape.style.textColor="auto"===t.label.textStyle.color?this._handleShape.style.color:t.label.textStyle.color,this._handleShape.highlightStyle.strokeColor=this._handleShape.style.strokeColor="auto"===t.borderColor?i.borderColor?i.borderColor:"#fff":t.borderColor,this._handleShape.style.lineWidth="auto"===t.borderWidth?i.borderWidth?i.borderWidth:0:t.borderWidth-0,this._handleShape.highlightStyle.lineWidth=this._handleShape.style.lineWidth+1,this.zr.animate(this._handleShape.id,"style").when(500,{x:i.x-n,textX:i.x,y:this._location.y+this._location.height/4-n,width:2*n,height:2*n}).start("ExponentialOut")}},_findChainIndex:function(e){var t=this._chainPoint,i=t.length;if(e<=t[0].x)return 0;if(e>=t[i-1].x)return i-1;for(var n=0;i-1>n;n++)if(e>=t[n].x&&e<=t[n+1].x)return Math.abs(e-t[n].x)<Math.abs(e-t[n+1].x)?n:n+1},__onclick:function(e){var t=m.getX(e.event),i=this._findChainIndex(t);return i===this.currentIndex?!0:(this.currentIndex=i,this.timelineOption.autoPlay&&this.stop(),clearTimeout(this.playTicket),void this._onFrame())},__ondrift:function(e,t){this.timelineOption.autoPlay&&this.stop();var i,n=this._chainPoint,a=n.length;e.style.x+t<=n[0].x-n[0].symbolSize?(e.style.x=n[0].x-n[0].symbolSize,i=0):e.style.x+t>=n[a-1].x-n[a-1].symbolSize?(e.style.x=n[a-1].x-n[a-1].symbolSize,i=a-1):(e.style.x+=t,i=this._findChainIndex(e.style.x));var o=n[i],r=o.symbolSize+2;if(e.style.iconType=o.symbol,e.style.n=o.n,e.style.textX=e.style.x+r/2,e.style.y=this._location.y+this._location.height/4-r,e.style.width=2*r,e.style.height=2*r,e.style.text=o.name,i===this.currentIndex)return!0;if(this.currentIndex=i,this.timelineOption.realtime){clearTimeout(this.playTicket);var s=this;this.playTicket=setTimeout(function(){s._setCurrentOption()},200)}return!0},__ondragend:function(){this.isDragend=!0},ondragend:function(e,t){this.isDragend&&e.target&&(!this.timelineOption.realtime&&this._setCurrentOption(),t.dragOut=!0,t.dragIn=!0,t.needRefresh=!1,this.isDragend=!1,this._syncHandleShape())},last:function(){return this.timelineOption.autoPlay&&this.stop(),this.currentIndex-=1,this.currentIndex<0&&(this.currentIndex=this.timelineOption.data.length-1),this._onFrame(),this.currentIndex},next:function(){return this.timelineOption.autoPlay&&this.stop(),this.currentIndex+=1,this.currentIndex>=this.timelineOption.data.length&&(this.currentIndex=0),this._onFrame(),this.currentIndex},play:function(e,t){return this._ctrPlayShape&&"playing"!=this._ctrPlayShape.style.status&&(this._ctrPlayShape.style.status="playing",this.zr.modShape(this._ctrPlayShape.id),this.zr.refreshNextFrame()),this.timelineOption.autoPlay=null!=t?t:!0,this.timelineOption.autoPlay||clearTimeout(this.playTicket),this.currentIndex=null!=e?e:this.currentIndex+1,this.currentIndex>=this.timelineOption.data.length&&(this.currentIndex=0),this._onFrame(),this.currentIndex},stop:function(){return this._ctrPlayShape&&"stop"!=this._ctrPlayShape.style.status&&(this._ctrPlayShape.style.status="stop",this.zr.modShape(this._ctrPlayShape.id),this.zr.refreshNextFrame()),this.timelineOption.autoPlay=!1,clearTimeout(this.playTicket),this.currentIndex},resize:function(){this.timelineOption.show&&(this.clear(),this._buildShape(),this._syncHandleShape())},setTheme:function(e){this.timelineOption=this.reformOption(l.clone(this.option.timeline)),this.timelineOption.label.textStyle=this.getTextStyle(this.timelineOption.label.textStyle),this.timelineOption.checkpointStyle.label.textStyle=this.getTextStyle(this.timelineOption.checkpointStyle.label.textStyle),this.myChart.canvasSupported||(this.timelineOption.realtime=!1),this.timelineOption.show&&e&&(this.clear(),this._buildShape(),this._syncHandleShape())},onbeforDispose:function(){clearTimeout(this.playTicket)}},o.prototype.iconLibrary.timelineControl=i,l.inherits(t,n),e("../component").define("timeline",t),t}),i("zrender/shape/Image",["require","./Base","../tool/util"],function(e){var t=e("./Base"),i=function(e){t.call(this,e)};return i.prototype={type:"image",brush:function(e,t,i){var n=this.style||{};t&&(n=this.getHighlightStyle(n,this.highlightStyle||{}));var a=n.image,o=this;if(this._imageCache||(this._imageCache={}),"string"==typeof a){var r=a;this._imageCache[r]?a=this._imageCache[r]:(a=new Image,a.onload=function(){a.onload=null,o.modSelf(),i()},a.src=r,this._imageCache[r]=a)}if(a){if("IMG"==a.nodeName.toUpperCase())if(window.ActiveXObject){if("complete"!=a.readyState)return}else if(!a.complete)return;var s=n.width||a.width,l=n.height||a.height,h=n.x,m=n.y;if(!a.width||!a.height)return;if(e.save(),this.doClip(e),this.setContext(e,n),this.setTransform(e),n.sWidth&&n.sHeight){var V=n.sx||0,U=n.sy||0;e.drawImage(a,V,U,n.sWidth,n.sHeight,h,m,s,l)}else if(n.sx&&n.sy){var V=n.sx,U=n.sy,d=s-V,p=l-U;e.drawImage(a,V,U,d,p,h,m,s,l)}else e.drawImage(a,h,m,s,l);n.width||(n.width=s),n.height||(n.height=l),this.style.width||(this.style.width=s),this.style.height||(this.style.height=l),this.drawText(e,n,this.style),e.restore()}},getRect:function(e){return{x:e.x,y:e.y,width:e.width,height:e.height}},clearCache:function(){this._imageCache={}}},e("../tool/util").inherits(i,t),i}),i("zrender/loadingEffect/Bar",["require","./Base","../tool/util","../tool/color","../shape/Rectangle"],function(e){function t(e){i.call(this,e)}var i=e("./Base"),n=e("../tool/util"),a=e("../tool/color"),o=e("../shape/Rectangle");return n.inherits(t,i),t.prototype._start=function(e,t){var i=n.merge(this.options,{textStyle:{color:"#888"},backgroundColor:"rgba(250, 250, 250, 0.8)",effectOption:{x:0,y:this.canvasHeight/2-30,width:this.canvasWidth,height:5,brushType:"fill",timeInterval:100}}),r=this.createTextShape(i.textStyle),s=this.createBackgroundShape(i.backgroundColor),l=i.effectOption,h=new o({highlightStyle:n.clone(l)});return h.highlightStyle.color=l.color||a.getLinearGradient(l.x,l.y,l.x+l.width,l.y+l.height,[[0,"#ff6400"],[.5,"#ffe100"],[1,"#b1ff00"]]),null!=i.progress?(e(s),h.highlightStyle.width=this.adjust(i.progress,[0,1])*i.effectOption.width,e(h),e(r),void t()):(h.highlightStyle.width=0,setInterval(function(){e(s),h.highlightStyle.width<l.width?h.highlightStyle.width+=8:h.highlightStyle.width=0,e(h),e(r),t()},l.timeInterval))},t}),i("zrender/loadingEffect/Bubble",["require","./Base","../tool/util","../tool/color","../shape/Circle"],function(e){function t(e){i.call(this,e)}var i=e("./Base"),n=e("../tool/util"),a=e("../tool/color"),o=e("../shape/Circle");return n.inherits(t,i),t.prototype._start=function(e,t){for(var i=n.merge(this.options,{textStyle:{color:"#888"},backgroundColor:"rgba(250, 250, 250, 0.8)",effect:{n:50,lineWidth:2,brushType:"stroke",color:"random",timeInterval:100}}),r=this.createTextShape(i.textStyle),s=this.createBackgroundShape(i.backgroundColor),l=i.effect,h=l.n,m=l.brushType,V=l.lineWidth,U=[],d=this.canvasWidth,p=this.canvasHeight,c=0;h>c;c++){var u="random"==l.color?a.alpha(a.random(),.3):l.color;U[c]=new o({highlightStyle:{x:Math.ceil(Math.random()*d),y:Math.ceil(Math.random()*p),r:Math.ceil(40*Math.random()),brushType:m,color:u,strokeColor:u,lineWidth:V},animationY:Math.ceil(20*Math.random())})}return setInterval(function(){e(s);for(var i=0;h>i;i++){var n=U[i].highlightStyle;n.y-U[i].animationY+n.r<=0&&(U[i].highlightStyle.y=p+n.r,U[i].highlightStyle.x=Math.ceil(Math.random()*d)),U[i].highlightStyle.y-=U[i].animationY,e(U[i])}e(r),t()},l.timeInterval)},t}),i("zrender/loadingEffect/DynamicLine",["require","./Base","../tool/util","../tool/color","../shape/Line"],function(e){function t(e){i.call(this,e)}var i=e("./Base"),n=e("../tool/util"),a=e("../tool/color"),o=e("../shape/Line");return n.inherits(t,i),t.prototype._start=function(e,t){for(var i=n.merge(this.options,{textStyle:{color:"#fff"},backgroundColor:"rgba(0, 0, 0, 0.8)",effectOption:{n:30,lineWidth:1,color:"random",timeInterval:100}}),r=this.createTextShape(i.textStyle),s=this.createBackgroundShape(i.backgroundColor),l=i.effectOption,h=l.n,m=l.lineWidth,V=[],U=this.canvasWidth,d=this.canvasHeight,p=0;h>p;p++){var c=-Math.ceil(1e3*Math.random()),u=Math.ceil(400*Math.random()),y=Math.ceil(Math.random()*d),g="random"==l.color?a.random():l.color;V[p]=new o({highlightStyle:{xStart:c,yStart:y,xEnd:c+u,yEnd:y,strokeColor:g,lineWidth:m},animationX:Math.ceil(100*Math.random()),len:u})}return setInterval(function(){e(s);for(var i=0;h>i;i++){var n=V[i].highlightStyle;n.xStart>=U&&(V[i].len=Math.ceil(400*Math.random()),n.xStart=-400,n.xEnd=-400+V[i].len,n.yStart=Math.ceil(Math.random()*d),n.yEnd=n.yStart),n.xStart+=V[i].animationX,n.xEnd+=V[i].animationX,e(V[i])}e(r),t()},l.timeInterval)},t}),i("zrender/loadingEffect/Ring",["require","./Base","../tool/util","../tool/color","../shape/Ring","../shape/Sector"],function(e){function t(e){i.call(this,e)}var i=e("./Base"),n=e("../tool/util"),a=e("../tool/color"),o=e("../shape/Ring"),r=e("../shape/Sector");return n.inherits(t,i),t.prototype._start=function(e,t){var i=n.merge(this.options,{textStyle:{color:"#07a"},backgroundColor:"rgba(250, 250, 250, 0.8)",effect:{x:this.canvasWidth/2,y:this.canvasHeight/2,r0:60,r:100,color:"#bbdcff",brushType:"fill",textPosition:"inside",textFont:"normal 30px verdana",textColor:"rgba(30, 144, 255, 0.6)",timeInterval:100}}),s=i.effect,l=i.textStyle;
-
-null==l.x&&(l.x=s.x),null==l.y&&(l.y=s.y+(s.r0+s.r)/2-5);for(var h=this.createTextShape(i.textStyle),m=this.createBackgroundShape(i.backgroundColor),V=s.x,U=s.y,d=s.r0+6,p=s.r-6,c=s.color,u=a.lift(c,.1),y=new o({highlightStyle:n.clone(s)}),g=[],b=a.getGradientColors(["#ff6400","#ffe100","#97ff00"],25),f=15,k=240,x=0;16>x;x++)g.push(new r({highlightStyle:{x:V,y:U,r0:d,r:p,startAngle:k-f,endAngle:k,brushType:"fill",color:u},_color:a.getLinearGradient(V+d*Math.cos(k,!0),U-d*Math.sin(k,!0),V+d*Math.cos(k-f,!0),U-d*Math.sin(k-f,!0),[[0,b[2*x]],[1,b[2*x+1]]])})),k-=f;k=360;for(var x=0;4>x;x++)g.push(new r({highlightStyle:{x:V,y:U,r0:d,r:p,startAngle:k-f,endAngle:k,brushType:"fill",color:u},_color:a.getLinearGradient(V+d*Math.cos(k,!0),U-d*Math.sin(k,!0),V+d*Math.cos(k-f,!0),U-d*Math.sin(k-f,!0),[[0,b[2*x+32]],[1,b[2*x+33]]])})),k-=f;var _=0;if(null!=i.progress){e(m),_=100*this.adjust(i.progress,[0,1]).toFixed(2)/5,y.highlightStyle.text=5*_+"%",e(y);for(var x=0;20>x;x++)g[x].highlightStyle.color=_>x?g[x]._color:u,e(g[x]);return e(h),void t()}return setInterval(function(){e(m),_+=_>=20?-20:1,e(y);for(var i=0;20>i;i++)g[i].highlightStyle.color=_>i?g[i]._color:u,e(g[i]);e(h),t()},s.timeInterval)},t}),i("zrender/loadingEffect/Spin",["require","./Base","../tool/util","../tool/color","../tool/area","../shape/Sector"],function(e){function t(e){i.call(this,e)}var i=e("./Base"),n=e("../tool/util"),a=e("../tool/color"),o=e("../tool/area"),r=e("../shape/Sector");return n.inherits(t,i),t.prototype._start=function(e,t){var i=n.merge(this.options,{textStyle:{color:"#fff",textAlign:"start"},backgroundColor:"rgba(0, 0, 0, 0.8)"}),s=this.createTextShape(i.textStyle),l=10,h=o.getTextWidth(s.highlightStyle.text,s.highlightStyle.textFont),m=o.getTextHeight(s.highlightStyle.text,s.highlightStyle.textFont),V=n.merge(this.options.effect||{},{r0:9,r:15,n:18,color:"#fff",timeInterval:100}),U=this.getLocation(this.options.textStyle,h+l+2*V.r,Math.max(2*V.r,m));V.x=U.x+V.r,V.y=s.highlightStyle.y=U.y+U.height/2,s.highlightStyle.x=V.x+V.r+l;for(var d=this.createBackgroundShape(i.backgroundColor),p=V.n,c=V.x,u=V.y,y=V.r0,g=V.r,b=V.color,f=[],k=Math.round(180/p),x=0;p>x;x++)f[x]=new r({highlightStyle:{x:c,y:u,r0:y,r:g,startAngle:k*x*2,endAngle:k*x*2+k,color:a.alpha(b,(x+1)/p),brushType:"fill"}});var _=[0,c,u];return setInterval(function(){e(d),_[0]-=.3;for(var i=0;p>i;i++)f[i].rotation=_,e(f[i]);e(s),t()},V.timeInterval)},t}),i("zrender/loadingEffect/Whirling",["require","./Base","../tool/util","../tool/area","../shape/Ring","../shape/Droplet","../shape/Circle"],function(e){function t(e){i.call(this,e)}var i=e("./Base"),n=e("../tool/util"),a=e("../tool/area"),o=e("../shape/Ring"),r=e("../shape/Droplet"),s=e("../shape/Circle");return n.inherits(t,i),t.prototype._start=function(e,t){var i=n.merge(this.options,{textStyle:{color:"#888",textAlign:"start"},backgroundColor:"rgba(250, 250, 250, 0.8)"}),l=this.createTextShape(i.textStyle),h=10,m=a.getTextWidth(l.highlightStyle.text,l.highlightStyle.textFont),V=a.getTextHeight(l.highlightStyle.text,l.highlightStyle.textFont),U=n.merge(this.options.effect||{},{r:18,colorIn:"#fff",colorOut:"#555",colorWhirl:"#6cf",timeInterval:50}),d=this.getLocation(this.options.textStyle,m+h+2*U.r,Math.max(2*U.r,V));U.x=d.x+U.r,U.y=l.highlightStyle.y=d.y+d.height/2,l.highlightStyle.x=U.x+U.r+h;var p=this.createBackgroundShape(i.backgroundColor),c=new r({highlightStyle:{a:Math.round(U.r/2),b:Math.round(U.r-U.r/6),brushType:"fill",color:U.colorWhirl}}),u=new s({highlightStyle:{r:Math.round(U.r/6),brushType:"fill",color:U.colorIn}}),y=new o({highlightStyle:{r0:Math.round(U.r-U.r/3),r:U.r,brushType:"fill",color:U.colorOut}}),g=[0,U.x,U.y];return c.highlightStyle.x=u.highlightStyle.x=y.highlightStyle.x=g[1],c.highlightStyle.y=u.highlightStyle.y=y.highlightStyle.y=g[2],setInterval(function(){e(p),e(y),g[0]-=.3,c.rotation=g,e(c),e(u),e(l),t()},U.timeInterval)},t}),i("echarts/theme/macarons",[],function(){var e={color:["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],title:{textStyle:{fontWeight:"normal",color:"#008acd"}},dataRange:{itemWidth:15,color:["#5ab1ef","#e0ffff"]},toolbox:{color:["#1e90ff","#1e90ff","#1e90ff","#1e90ff"],effectiveColor:"#ff4500"},tooltip:{backgroundColor:"rgba(50,50,50,0.5)",axisPointer:{type:"line",lineStyle:{color:"#008acd"},crossStyle:{color:"#008acd"},shadowStyle:{color:"rgba(200,200,200,0.2)"}}},dataZoom:{dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd"},grid:{borderColor:"#eee"},categoryAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitLine:{lineStyle:{color:["#eee"]}}},valueAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.1)","rgba(200,200,200,0.1)"]}},splitLine:{lineStyle:{color:["#eee"]}}},polar:{axisLine:{lineStyle:{color:"#ddd"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(200,200,200,0.2)"]}},splitLine:{lineStyle:{color:"#ddd"}}},timeline:{lineStyle:{color:"#008acd"},controlStyle:{normal:{color:"#008acd"},emphasis:{color:"#008acd"}},symbol:"emptyCircle",symbolSize:3},bar:{itemStyle:{normal:{barBorderRadius:5},emphasis:{barBorderRadius:5}}},line:{smooth:!0,symbol:"emptyCircle",symbolSize:3},k:{itemStyle:{normal:{color:"#d87a80",color0:"#2ec7c9",lineStyle:{color:"#d87a80",color0:"#2ec7c9"}}}},scatter:{symbol:"circle",symbolSize:4},radar:{symbol:"emptyCircle",symbolSize:3},map:{itemStyle:{normal:{areaStyle:{color:"#ddd"},label:{textStyle:{color:"#d87a80"}}},emphasis:{areaStyle:{color:"#fe994e"}}}},force:{itemStyle:{normal:{linkStyle:{color:"#1e90ff"}}}},chord:{itemStyle:{normal:{borderWidth:1,borderColor:"rgba(128, 128, 128, 0.5)",chordStyle:{lineStyle:{color:"rgba(128, 128, 128, 0.5)"}}},emphasis:{borderWidth:1,borderColor:"rgba(128, 128, 128, 0.5)",chordStyle:{lineStyle:{color:"rgba(128, 128, 128, 0.5)"}}}}},gauge:{axisLine:{lineStyle:{color:[[.2,"#2ec7c9"],[.8,"#5ab1ef"],[1,"#d87a80"]],width:10}},axisTick:{splitNumber:10,length:15,lineStyle:{color:"auto"}},splitLine:{length:22,lineStyle:{color:"auto"}},pointer:{width:5}},textStyle:{fontFamily:"微软雅黑, Arial, Verdana, sans-serif"}};return e}),i("echarts/theme/infographic",[],function(){var e={color:["#C1232B","#B5C334","#FCCE10","#E87C25","#27727B","#FE8463","#9BCA63","#FAD860","#F3A43B","#60C0DD","#D7504B","#C6E579","#F4E001","#F0805A","#26C0C0"],title:{textStyle:{fontWeight:"normal",color:"#27727B"}},dataRange:{x:"right",y:"center",itemWidth:5,itemHeight:25,color:["#C1232B","#FCCE10"]},toolbox:{color:["#C1232B","#B5C334","#FCCE10","#E87C25","#27727B","#FE8463","#9BCA63","#FAD860","#F3A43B","#60C0DD"],effectiveColor:"#ff4500"},tooltip:{backgroundColor:"rgba(50,50,50,0.5)",axisPointer:{type:"line",lineStyle:{color:"#27727B",type:"dashed"},crossStyle:{color:"#27727B"},shadowStyle:{color:"rgba(200,200,200,0.3)"}}},dataZoom:{dataBackgroundColor:"rgba(181,195,52,0.3)",fillerColor:"rgba(181,195,52,0.2)",handleColor:"#27727B"},grid:{borderWidth:0},categoryAxis:{axisLine:{lineStyle:{color:"#27727B"}},splitLine:{show:!1}},valueAxis:{axisLine:{show:!1},splitArea:{show:!1},splitLine:{lineStyle:{color:["#ccc"],type:"dashed"}}},polar:{axisLine:{lineStyle:{color:"#ddd"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(200,200,200,0.2)"]}},splitLine:{lineStyle:{color:"#ddd"}}},timeline:{lineStyle:{color:"#27727B"},controlStyle:{normal:{color:"#27727B"},emphasis:{color:"#27727B"}},symbol:"emptyCircle",symbolSize:3},line:{itemStyle:{normal:{borderWidth:2,borderColor:"#fff",lineStyle:{width:3}},emphasis:{borderWidth:0}},symbol:"circle",symbolSize:3.5},k:{itemStyle:{normal:{color:"#C1232B",color0:"#B5C334",lineStyle:{width:1,color:"#C1232B",color0:"#B5C334"}}}},scatter:{itemStyle:{normal:{borderWidth:1,borderColor:"rgba(200,200,200,0.5)"},emphasis:{borderWidth:0}},symbol:"star4",symbolSize:4},radar:{symbol:"emptyCircle",symbolSize:3},map:{itemStyle:{normal:{areaStyle:{color:"#ddd"},label:{textStyle:{color:"#C1232B"}}},emphasis:{areaStyle:{color:"#fe994e"},label:{textStyle:{color:"rgb(100,0,0)"}}}}},force:{itemStyle:{normal:{linkStyle:{color:"#27727B"}}}},chord:{itemStyle:{normal:{borderWidth:1,borderColor:"rgba(128, 128, 128, 0.5)",chordStyle:{lineStyle:{color:"rgba(128, 128, 128, 0.5)"}}},emphasis:{borderWidth:1,borderColor:"rgba(128, 128, 128, 0.5)",chordStyle:{lineStyle:{color:"rgba(128, 128, 128, 0.5)"}}}}},gauge:{center:["50%","80%"],radius:"100%",startAngle:180,endAngle:0,axisLine:{show:!0,lineStyle:{color:[[.2,"#B5C334"],[.8,"#27727B"],[1,"#C1232B"]],width:"40%"}},axisTick:{splitNumber:2,length:5,lineStyle:{color:"#fff"}},axisLabel:{textStyle:{color:"#fff",fontWeight:"bolder"}},splitLine:{length:"5%",lineStyle:{color:"#fff"}},pointer:{width:"40%",length:"80%",color:"#fff"},title:{offsetCenter:[0,-20],textStyle:{color:"auto",fontSize:20}},detail:{offsetCenter:[0,0],textStyle:{color:"auto",fontSize:40}}},textStyle:{fontFamily:"微软雅黑, Arial, Verdana, sans-serif"}};return e}),i("zrender/dep/excanvas",["require"],function(){return document.createElement("canvas").getContext?G_vmlCanvasManager=!1:!function(){function e(){return this.context_||(this.context_=new f(this))}function t(e,t){var i=O.call(arguments,2);return function(){return e.apply(t,i.concat(O.call(arguments)))}}function i(e){return String(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;")}function n(e,t,i){e.namespaces[t]||e.namespaces.add(t,i,"#default#VML")}function a(e){if(n(e,"g_vml_","urn:schemas-microsoft-com:vml"),n(e,"g_o_","urn:schemas-microsoft-com:office:office"),!e.styleSheets.ex_canvas_){var t=e.createStyleSheet();t.owningElement.id="ex_canvas_",t.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}"}}function o(e){var t=e.srcElement;switch(e.propertyName){case"width":t.getContext().clearRect(),t.style.width=t.attributes.width.nodeValue+"px",t.firstChild.style.width=t.clientWidth+"px";break;case"height":t.getContext().clearRect(),t.style.height=t.attributes.height.nodeValue+"px",t.firstChild.style.height=t.clientHeight+"px"}}function r(e){var t=e.srcElement;t.firstChild&&(t.firstChild.style.width=t.clientWidth+"px",t.firstChild.style.height=t.clientHeight+"px")}function s(){return[[1,0,0],[0,1,0],[0,0,1]]}function l(e,t){for(var i=s(),n=0;3>n;n++)for(var a=0;3>a;a++){for(var o=0,r=0;3>r;r++)o+=e[n][r]*t[r][a];i[n][a]=o}return i}function h(e,t){t.fillStyle=e.fillStyle,t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.lineWidth=e.lineWidth,t.miterLimit=e.miterLimit,t.shadowBlur=e.shadowBlur,t.shadowColor=e.shadowColor,t.shadowOffsetX=e.shadowOffsetX,t.shadowOffsetY=e.shadowOffsetY,t.strokeStyle=e.strokeStyle,t.globalAlpha=e.globalAlpha,t.font=e.font,t.textAlign=e.textAlign,t.textBaseline=e.textBaseline,t.scaleX_=e.scaleX_,t.scaleY_=e.scaleY_,t.lineScale_=e.lineScale_}function m(e){var t=e.indexOf("(",3),i=e.indexOf(")",t+1),n=e.substring(t+1,i).split(",");return(4!=n.length||"a"!=e.charAt(3))&&(n[3]=1),n}function V(e){return parseFloat(e)/100}function U(e,t,i){return Math.min(i,Math.max(t,e))}function d(e){var t,i,n,a,o,r;if(a=parseFloat(e[0])/360%360,0>a&&a++,o=U(V(e[1]),0,1),r=U(V(e[2]),0,1),0==o)t=i=n=r;else{var s=.5>r?r*(1+o):r+o-r*o,l=2*r-s;t=p(l,s,a+1/3),i=p(l,s,a),n=p(l,s,a-1/3)}return"#"+D[Math.floor(255*t)]+D[Math.floor(255*i)]+D[Math.floor(255*n)]}function p(e,t,i){return 0>i&&i++,i>1&&i--,1>6*i?e+6*(t-e)*i:1>2*i?t:2>3*i?e+(t-e)*(2/3-i)*6:e}function c(e){if(e in R)return R[e];var t,i=1;if(e=String(e),"#"==e.charAt(0))t=e;else if(/^rgb/.test(e)){for(var n,a=m(e),t="#",o=0;3>o;o++)n=-1!=a[o].indexOf("%")?Math.floor(255*V(a[o])):+a[o],t+=D[U(n,0,255)];i=+a[3]}else if(/^hsl/.test(e)){var a=m(e);t=d(a),i=a[3]}else t=H[e]||e;return R[e]={color:t,alpha:i}}function u(e){if(Y[e])return Y[e];var t,i=document.createElement("div"),n=i.style;try{n.font=e,t=n.fontFamily.split(",")[0]}catch(a){}return Y[e]={style:n.fontStyle||G.style,variant:n.fontVariant||G.variant,weight:n.fontWeight||G.weight,size:n.fontSize||G.size,family:t||G.family}}function y(e,t){var i={};for(var n in e)i[n]=e[n];var a=parseFloat(t.currentStyle.fontSize),o=parseFloat(e.size);return i.size="number"==typeof e.size?e.size:-1!=e.size.indexOf("px")?o:-1!=e.size.indexOf("em")?a*o:-1!=e.size.indexOf("%")?a/100*o:-1!=e.size.indexOf("pt")?o/.75:a,i}function g(e){return e.style+" "+e.variant+" "+e.weight+" "+e.size+"px '"+e.family+"'"}function b(e){return Q[e]||"square"}function f(e){this.m_=s(),this.mStack_=[],this.aStack_=[],this.currentPath_=[],this.strokeStyle="#000",this.fillStyle="#000",this.lineWidth=1,this.lineJoin="miter",this.lineCap="butt",this.miterLimit=1*A,this.globalAlpha=1,this.font="12px 微软雅黑",this.textAlign="left",this.textBaseline="alphabetic",this.canvas=e;var t="width:"+e.clientWidth+"px;height:"+e.clientHeight+"px;overflow:hidden;position:absolute",i=e.ownerDocument.createElement("div");i.style.cssText=t,e.appendChild(i);var n=i.cloneNode(!1);n.style.backgroundColor="#fff",n.style.filter="alpha(opacity=0)",e.appendChild(n),this.element_=i,this.scaleX_=1,this.scaleY_=1,this.lineScale_=1}function k(e,t,i,n){e.currentPath_.push({type:"bezierCurveTo",cp1x:t.x,cp1y:t.y,cp2x:i.x,cp2y:i.y,x:n.x,y:n.y}),e.currentX_=n.x,e.currentY_=n.y}function x(e,t){var i=c(e.strokeStyle),n=i.color,a=i.alpha*e.globalAlpha,o=e.lineScale_*e.lineWidth;1>o&&(a*=o),t.push("<g_vml_:stroke",' opacity="',a,'"',' joinstyle="',e.lineJoin,'"',' miterlimit="',e.miterLimit,'"',' endcap="',b(e.lineCap),'"',' weight="',o,'px"',' color="',n,'" />')}function _(e,t,i,n){var a=e.fillStyle,o=e.scaleX_,r=e.scaleY_,s=n.x-i.x,l=n.y-i.y;if(a instanceof v){var h=0,m={x:0,y:0},V=0,U=1;if("gradient"==a.type_){var d=a.x0_/o,p=a.y0_/r,u=a.x1_/o,y=a.y1_/r,g=L(e,d,p),b=L(e,u,y),f=b.x-g.x,k=b.y-g.y;h=180*Math.atan2(f,k)/Math.PI,0>h&&(h+=360),1e-6>h&&(h=0)}else{var g=L(e,a.x0_,a.y0_);m={x:(g.x-i.x)/s,y:(g.y-i.y)/l},s/=o*A,l/=r*A;var x=C.max(s,l);V=2*a.r0_/x,U=2*a.r1_/x-V}var _=a.colors_;_.sort(function(e,t){return e.offset-t.offset});for(var W=_.length,X=_[0].color,K=_[W-1].color,I=_[0].alpha*e.globalAlpha,J=_[W-1].alpha*e.globalAlpha,S=[],E=0;W>E;E++){var F=_[E];S.push(F.offset*U+V+" "+F.color)}t.push('<g_vml_:fill type="',a.type_,'"',' method="none" focus="100%"',' color="',X,'"',' color2="',K,'"',' colors="',S.join(","),'"',' opacity="',J,'"',' g_o_:opacity2="',I,'"',' angle="',h,'"',' focusposition="',m.x,",",m.y,'" />')}else if(a instanceof w){if(s&&l){var T=-i.x,z=-i.y;t.push("<g_vml_:fill",' position="',T/s*o*o,",",z/l*r*r,'"',' type="tile"',' src="',a.src_,'" />')}}else{var M=c(e.fillStyle),O=M.color,P=M.alpha*e.globalAlpha;t.push('<g_vml_:fill color="',O,'" opacity="',P,'" />')}}function L(e,t,i){var n=e.m_;return{x:A*(t*n[0][0]+i*n[1][0]+n[2][0])-M,y:A*(t*n[0][1]+i*n[1][1]+n[2][1])-M}}function W(e){return isFinite(e[0][0])&&isFinite(e[0][1])&&isFinite(e[1][0])&&isFinite(e[1][1])&&isFinite(e[2][0])&&isFinite(e[2][1])}function X(e,t,i){if(W(t)&&(e.m_=t,e.scaleX_=Math.sqrt(t[0][0]*t[0][0]+t[0][1]*t[0][1]),e.scaleY_=Math.sqrt(t[1][0]*t[1][0]+t[1][1]*t[1][1]),i)){var n=t[0][0]*t[1][1]-t[0][1]*t[1][0];e.lineScale_=z(T(n))}}function v(e){this.type_=e,this.x0_=0,this.y0_=0,this.r0_=0,this.x1_=0,this.y1_=0,this.r1_=0,this.colors_=[]}function w(e,t){switch(I(e),t){case"repeat":case null:case"":this.repetition_="repeat";break;case"repeat-x":case"repeat-y":case"no-repeat":this.repetition_=t;break;default:K("SYNTAX_ERR")}this.src_=e.src,this.width_=e.width,this.height_=e.height}function K(e){throw new J(e)}function I(e){e&&1==e.nodeType&&"IMG"==e.tagName||K("TYPE_MISMATCH_ERR"),"complete"!=e.readyState&&K("INVALID_STATE_ERR")}function J(e){this.code=this[e],this.message=e+": DOM Exception "+this.code}var C=Math,S=C.round,E=C.sin,F=C.cos,T=C.abs,z=C.sqrt,A=10,M=A/2,O=(+navigator.userAgent.match(/MSIE ([\d.]+)?/)[1],Array.prototype.slice);a(document);var P={init:function(e){var i=e||document;i.createElement("canvas"),i.attachEvent("onreadystatechange",t(this.init_,this,i))},init_:function(e){for(var t=e.getElementsByTagName("canvas"),i=0;i<t.length;i++)this.initElement(t[i])},initElement:function(t){if(!t.getContext){t.getContext=e,a(t.ownerDocument),t.innerHTML="",t.attachEvent("onpropertychange",o),t.attachEvent("onresize",r);var i=t.attributes;i.width&&i.width.specified?t.style.width=i.width.nodeValue+"px":t.width=t.clientWidth,i.height&&i.height.specified?t.style.height=i.height.nodeValue+"px":t.height=t.clientHeight}return t}};P.init();for(var D=[],N=0;16>N;N++)for(var B=0;16>B;B++)D[16*N+B]=N.toString(16)+B.toString(16);var H={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",grey:"#808080",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",oldlace:"#FDF5E6",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",whitesmoke:"#F5F5F5",yellowgreen:"#9ACD32"},R={},G={style:"normal",variant:"normal",weight:"normal",size:12,family:"微软雅黑"},Y={},Q={butt:"flat",round:"round"},Z=f.prototype;Z.clearRect=function(){this.textMeasureEl_&&(this.textMeasureEl_.removeNode(!0),this.textMeasureEl_=null),this.element_.innerHTML=""},Z.beginPath=function(){this.currentPath_=[]},Z.moveTo=function(e,t){var i=L(this,e,t);this.currentPath_.push({type:"moveTo",x:i.x,y:i.y}),this.currentX_=i.x,this.currentY_=i.y},Z.lineTo=function(e,t){var i=L(this,e,t);this.currentPath_.push({type:"lineTo",x:i.x,y:i.y}),this.currentX_=i.x,this.currentY_=i.y},Z.bezierCurveTo=function(e,t,i,n,a,o){var r=L(this,a,o),s=L(this,e,t),l=L(this,i,n);k(this,s,l,r)},Z.quadraticCurveTo=function(e,t,i,n){var a=L(this,e,t),o=L(this,i,n),r={x:this.currentX_+2/3*(a.x-this.currentX_),y:this.currentY_+2/3*(a.y-this.currentY_)},s={x:r.x+(o.x-this.currentX_)/3,y:r.y+(o.y-this.currentY_)/3};k(this,r,s,o)},Z.arc=function(e,t,i,n,a,o){i*=A;var r=o?"at":"wa",s=e+F(n)*i-M,l=t+E(n)*i-M,h=e+F(a)*i-M,m=t+E(a)*i-M;s!=h||o||(s+=.125);var V=L(this,e,t),U=L(this,s,l),d=L(this,h,m);this.currentPath_.push({type:r,x:V.x,y:V.y,radius:i,xStart:U.x,yStart:U.y,xEnd:d.x,yEnd:d.y})},Z.rect=function(e,t,i,n){this.moveTo(e,t),this.lineTo(e+i,t),this.lineTo(e+i,t+n),this.lineTo(e,t+n),this.closePath()},Z.strokeRect=function(e,t,i,n){var a=this.currentPath_;this.beginPath(),this.moveTo(e,t),this.lineTo(e+i,t),this.lineTo(e+i,t+n),this.lineTo(e,t+n),this.closePath(),this.stroke(),this.currentPath_=a},Z.fillRect=function(e,t,i,n){var a=this.currentPath_;this.beginPath(),this.moveTo(e,t),this.lineTo(e+i,t),this.lineTo(e+i,t+n),this.lineTo(e,t+n),this.closePath(),this.fill(),this.currentPath_=a},Z.createLinearGradient=function(e,t,i,n){var a=new v("gradient");return a.x0_=e,a.y0_=t,a.x1_=i,a.y1_=n,a},Z.createRadialGradient=function(e,t,i,n,a,o){var r=new v("gradientradial");return r.x0_=e,r.y0_=t,r.r0_=i,r.x1_=n,r.y1_=a,r.r1_=o,r},Z.drawImage=function(e){var t,i,n,a,o,r,s,l,h=e.runtimeStyle.width,m=e.runtimeStyle.height;e.runtimeStyle.width="auto",e.runtimeStyle.height="auto";var V=e.width,U=e.height;if(e.runtimeStyle.width=h,e.runtimeStyle.height=m,3==arguments.length)t=arguments[1],i=arguments[2],o=r=0,s=n=V,l=a=U;else if(5==arguments.length)t=arguments[1],i=arguments[2],n=arguments[3],a=arguments[4],o=r=0,s=V,l=U;else{if(9!=arguments.length)throw Error("Invalid number of arguments");o=arguments[1],r=arguments[2],s=arguments[3],l=arguments[4],t=arguments[5],i=arguments[6],n=arguments[7],a=arguments[8]}var d=L(this,t,i),p=[],c=10,u=10,y=b=1;if(p.push(" <g_vml_:group",' coordsize="',A*c,",",A*u,'"',' coordorigin="0,0"',' style="width:',c,"px;height:",u,"px;position:absolute;"),1!=this.m_[0][0]||this.m_[0][1]||1!=this.m_[1][1]||this.m_[1][0]){var g=[],y=this.scaleX_,b=this.scaleY_;g.push("M11=",this.m_[0][0]/y,",","M12=",this.m_[1][0]/b,",","M21=",this.m_[0][1]/y,",","M22=",this.m_[1][1]/b,",","Dx=",S(d.x/A),",","Dy=",S(d.y/A),"");var f=d,k=L(this,t+n,i),x=L(this,t,i+a),_=L(this,t+n,i+a);f.x=C.max(f.x,k.x,x.x,_.x),f.y=C.max(f.y,k.y,x.y,_.y),p.push("padding:0 ",S(f.x/A),"px ",S(f.y/A),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",g.join(""),", SizingMethod='clip');")}else p.push("top:",S(d.y/A),"px;left:",S(d.x/A),"px;");p.push(' ">'),(o||r)&&p.push('<div style="overflow: hidden; width:',Math.ceil((n+o*n/s)*y),"px;"," height:",Math.ceil((a+r*a/l)*b),"px;"," filter:progid:DxImageTransform.Microsoft.Matrix(Dx=",-o*n/s*y,",Dy=",-r*a/l*b,');">'),p.push('<div style="width:',Math.round(y*V*n/s),"px;"," height:",Math.round(b*U*a/l),"px;"," filter:"),this.globalAlpha<1&&p.push(" progid:DXImageTransform.Microsoft.Alpha(opacity="+100*this.globalAlpha+")"),p.push(" progid:DXImageTransform.Microsoft.AlphaImageLoader(src=",e.src,',sizingMethod=scale)">'),(o||r)&&p.push("</div>"),p.push("</div></div>"),this.element_.insertAdjacentHTML("BeforeEnd",p.join(""))},Z.stroke=function(e){var t=[],i=10,n=10;t.push("<g_vml_:shape",' filled="',!!e,'"',' style="position:absolute;width:',i,"px;height:",n,'px;"',' coordorigin="0,0"',' coordsize="',A*i,",",A*n,'"',' stroked="',!e,'"',' path="');for(var a={x:null,y:null},o={x:null,y:null},r=0;r<this.currentPath_.length;r++){var s,l=this.currentPath_[r];switch(l.type){case"moveTo":s=l,t.push(" m ",S(l.x),",",S(l.y));break;case"lineTo":t.push(" l ",S(l.x),",",S(l.y));break;case"close":t.push(" x "),l=null;break;case"bezierCurveTo":t.push(" c ",S(l.cp1x),",",S(l.cp1y),",",S(l.cp2x),",",S(l.cp2y),",",S(l.x),",",S(l.y));break;case"at":case"wa":t.push(" ",l.type," ",S(l.x-this.scaleX_*l.radius),",",S(l.y-this.scaleY_*l.radius)," ",S(l.x+this.scaleX_*l.radius),",",S(l.y+this.scaleY_*l.radius)," ",S(l.xStart),",",S(l.yStart)," ",S(l.xEnd),",",S(l.yEnd))}l&&((null==a.x||l.x<a.x)&&(a.x=l.x),(null==o.x||l.x>o.x)&&(o.x=l.x),(null==a.y||l.y<a.y)&&(a.y=l.y),(null==o.y||l.y>o.y)&&(o.y=l.y))}t.push(' ">'),e?_(this,t,a,o):x(this,t),t.push("</g_vml_:shape>"),this.element_.insertAdjacentHTML("beforeEnd",t.join(""))},Z.fill=function(){this.stroke(!0)},Z.closePath=function(){this.currentPath_.push({type:"close"})},Z.save=function(){var e={};h(this,e),this.aStack_.push(e),this.mStack_.push(this.m_),this.m_=l(s(),this.m_)},Z.restore=function(){this.aStack_.length&&(h(this.aStack_.pop(),this),this.m_=this.mStack_.pop())},Z.translate=function(e,t){var i=[[1,0,0],[0,1,0],[e,t,1]];X(this,l(i,this.m_),!1)},Z.rotate=function(e){var t=F(e),i=E(e),n=[[t,i,0],[-i,t,0],[0,0,1]];X(this,l(n,this.m_),!1)},Z.scale=function(e,t){var i=[[e,0,0],[0,t,0],[0,0,1]];X(this,l(i,this.m_),!0)},Z.transform=function(e,t,i,n,a,o){var r=[[e,t,0],[i,n,0],[a,o,1]];X(this,l(r,this.m_),!0)},Z.setTransform=function(e,t,i,n,a,o){var r=[[e,t,0],[i,n,0],[a,o,1]];X(this,r,!0)},Z.drawText_=function(e,t,n,a,o){var r=this.m_,s=1e3,l=0,h=s,m={x:0,y:0},V=[],U=y(u(this.font),this.element_),d=g(U),p=this.element_.currentStyle,c=this.textAlign.toLowerCase();switch(c){case"left":case"center":case"right":break;case"end":c="ltr"==p.direction?"right":"left";break;case"start":c="rtl"==p.direction?"right":"left";break;default:c="left"}switch(this.textBaseline){case"hanging":case"top":m.y=U.size/1.75;break;case"middle":break;default:case null:case"alphabetic":case"ideographic":case"bottom":m.y=-U.size/2.25}switch(c){case"right":l=s,h=.05;break;case"center":l=h=s/2}var b=L(this,t+m.x,n+m.y);V.push('<g_vml_:line from="',-l,' 0" to="',h,' 0.05" ',' coordsize="100 100" coordorigin="0 0"',' filled="',!o,'" stroked="',!!o,'" style="position:absolute;width:1px;height:1px;">'),o?x(this,V):_(this,V,{x:-l,y:0},{x:h,y:U.size});var f=r[0][0].toFixed(3)+","+r[1][0].toFixed(3)+","+r[0][1].toFixed(3)+","+r[1][1].toFixed(3)+",0,0",k=S(b.x/A)+","+S(b.y/A);V.push('<g_vml_:skew on="t" matrix="',f,'" ',' offset="',k,'" origin="',l,' 0" />','<g_vml_:path textpathok="true" />','<g_vml_:textpath on="true" string="',i(e),'" style="v-text-align:',c,";font:",i(d),'" /></g_vml_:line>'),this.element_.insertAdjacentHTML("beforeEnd",V.join(""))},Z.fillText=function(e,t,i,n){this.drawText_(e,t,i,n,!1)},Z.strokeText=function(e,t,i,n){this.drawText_(e,t,i,n,!0)},Z.measureText=function(e){if(!this.textMeasureEl_){var t='<span style="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;"></span>';this.element_.insertAdjacentHTML("beforeEnd",t),this.textMeasureEl_=this.element_.lastChild}var i=this.element_.ownerDocument;this.textMeasureEl_.innerHTML="";try{this.textMeasureEl_.style.font=this.font}catch(n){}return this.textMeasureEl_.appendChild(i.createTextNode(e)),{width:this.textMeasureEl_.offsetWidth}},Z.clip=function(){},Z.arcTo=function(){},Z.createPattern=function(e,t){return new w(e,t)},v.prototype.addColorStop=function(e,t){t=c(t),this.colors_.push({offset:e,color:t.color,alpha:t.alpha})};var q=J.prototype=new Error;q.INDEX_SIZE_ERR=1,q.DOMSTRING_SIZE_ERR=2,q.HIERARCHY_REQUEST_ERR=3,q.WRONG_DOCUMENT_ERR=4,q.INVALID_CHARACTER_ERR=5,q.NO_DATA_ALLOWED_ERR=6,q.NO_MODIFICATION_ALLOWED_ERR=7,q.NOT_FOUND_ERR=8,q.NOT_SUPPORTED_ERR=9,q.INUSE_ATTRIBUTE_ERR=10,q.INVALID_STATE_ERR=11,q.SYNTAX_ERR=12,q.INVALID_MODIFICATION_ERR=13,q.NAMESPACE_ERR=14,q.INVALID_ACCESS_ERR=15,q.VALIDATION_ERR=16,q.TYPE_MISMATCH_ERR=17,G_vmlCanvasManager=P,CanvasRenderingContext2D=f,CanvasGradient=v,CanvasPattern=w,DOMException=J}(),G_vmlCanvasManager}),i("zrender/mixin/Eventful",["require"],function(){var e=function(){this._handlers={}};return e.prototype.one=function(e,t,i){var n=this._handlers;return t&&e?(n[e]||(n[e]=[]),n[e].push({h:t,one:!0,ctx:i||this}),this):this},e.prototype.bind=function(e,t,i){var n=this._handlers;return t&&e?(n[e]||(n[e]=[]),n[e].push({h:t,one:!1,ctx:i||this}),this):this},e.prototype.unbind=function(e,t){var i=this._handlers;if(!e)return this._handlers={},this;if(t){if(i[e]){for(var n=[],a=0,o=i[e].length;o>a;a++)i[e][a].h!=t&&n.push(i[e][a]);i[e]=n}i[e]&&0===i[e].length&&delete i[e]}else delete i[e];return this},e.prototype.dispatch=function(e){if(this._handlers[e]){var t=arguments,i=t.length;i>3&&(t=Array.prototype.slice.call(t,1));for(var n=this._handlers[e],a=n.length,o=0;a>o;){switch(i){case 1:n[o].h.call(n[o].ctx);break;case 2:n[o].h.call(n[o].ctx,t[1]);break;case 3:n[o].h.call(n[o].ctx,t[1],t[2]);break;default:n[o].h.apply(n[o].ctx,t)}n[o].one?(n.splice(o,1),a--):o++}}return this},e.prototype.dispatchWithContext=function(e){if(this._handlers[e]){var t=arguments,i=t.length;i>4&&(t=Array.prototype.slice.call(t,1,t.length-1));for(var n=t[t.length-1],a=this._handlers[e],o=a.length,r=0;o>r;){switch(i){case 1:a[r].h.call(n);break;case 2:a[r].h.call(n,t[1]);break;case 3:a[r].h.call(n,t[1],t[2]);break;default:a[r].h.apply(n,t)}a[r].one?(a.splice(r,1),o--):r++}}return this},e}),i("zrender/tool/log",["require","../config"],function(e){var t=e("../config");return function(){if(0!==t.debugMode)if(1==t.debugMode)for(var e in arguments)throw new Error(arguments[e]);else if(t.debugMode>1)for(var e in arguments)console.log(arguments[e])}}),i("zrender/tool/guid",[],function(){var e=2311;return function(){return"zrender__"+e++}}),i("zrender/Handler",["require","./config","./tool/env","./tool/event","./tool/util","./tool/vector","./tool/matrix","./mixin/Eventful"],function(e){"use strict";function t(e,t){return function(i,n){return e.call(t,i,n)}}function i(e,t){return function(i,n,a){return e.call(t,i,n,a)}}function n(e){for(var i=d.length;i--;){var n=d[i];e["_"+n+"Handler"]=t(c[n],e)}}function a(e,t,i){if(this._draggingTarget&&this._draggingTarget.id==e.id||e.isSilent())return!1;var n=this._event;if(e.isCover(t,i)){e.hoverable&&this.storage.addHover(e);for(var a=e.parent;a;){if(a.clipShape&&!a.clipShape.isCover(this._mouseX,this._mouseY))return!1;a=a.parent}return this._lastHover!=e&&(this._processOutShape(n),this._processDragLeave(n),this._lastHover=e,this._processDragEnter(n)),this._processOverShape(n),this._processDragOver(n),this._hasfound=1,!0}return!1}var o=e("./config"),r=e("./tool/env"),s=e("./tool/event"),l=e("./tool/util"),h=e("./tool/vector"),m=e("./tool/matrix"),V=o.EVENT,U=e("./mixin/Eventful"),d=["resize","click","dblclick","mousewheel","mousemove","mouseout","mouseup","mousedown","touchstart","touchend","touchmove"],p=function(e){if(window.G_vmlCanvasManager)return!0;e=e||window.event;var t=e.toElement||e.relatedTarget||e.srcElement||e.target;return t&&t.className.match(o.elementClassName)},c={resize:function(e){e=e||window.event,this._lastHover=null,this._isMouseDown=0,this.dispatch(V.RESIZE,e)},click:function(e,t){if(p(e)||t){e=this._zrenderEventFixed(e);var i=this._lastHover;(i&&i.clickable||!i)&&this._clickThreshold<5&&this._dispatchAgency(i,V.CLICK,e),this._mousemoveHandler(e)}},dblclick:function(e,t){if(p(e)||t){e=e||window.event,e=this._zrenderEventFixed(e);var i=this._lastHover;(i&&i.clickable||!i)&&this._clickThreshold<5&&this._dispatchAgency(i,V.DBLCLICK,e),this._mousemoveHandler(e)}},mousewheel:function(e,t){if(p(e)||t){e=this._zrenderEventFixed(e);var i=e.wheelDelta||-e.detail,n=i>0?1.1:1/1.1,a=!1,o=this._mouseX,r=this._mouseY;this.painter.eachBuildinLayer(function(t){var i=t.position;if(t.zoomable){t.__zoom=t.__zoom||1;var l=t.__zoom;l*=n,l=Math.max(Math.min(t.maxZoom,l),t.minZoom),n=l/t.__zoom,t.__zoom=l,i[0]-=(o-i[0])*(n-1),i[1]-=(r-i[1])*(n-1),t.scale[0]*=n,t.scale[1]*=n,t.dirty=!0,a=!0,s.stop(e)}}),a&&this.painter.refresh(),this._dispatchAgency(this._lastHover,V.MOUSEWHEEL,e),this._mousemoveHandler(e)}},mousemove:function(e,t){if((p(e)||t)&&!this.painter.isLoading()){e=this._zrenderEventFixed(e),this._lastX=this._mouseX,this._lastY=this._mouseY,this._mouseX=s.getX(e),this._mouseY=s.getY(e);var i=this._mouseX-this._lastX,n=this._mouseY-this._lastY;this._processDragStart(e),this._hasfound=0,this._event=e,this._iterateAndFindHover(),this._hasfound||((!this._draggingTarget||this._lastHover&&this._lastHover!=this._draggingTarget)&&(this._processOutShape(e),
-this._processDragLeave(e)),this._lastHover=null,this.storage.delHover(),this.painter.clearHover());var a="default";if(this._draggingTarget)this.storage.drift(this._draggingTarget.id,i,n),this._draggingTarget.modSelf(),this.storage.addHover(this._draggingTarget),this._clickThreshold++;else if(this._isMouseDown){var o=!1;this.painter.eachBuildinLayer(function(e){e.panable&&(a="move",e.position[0]+=i,e.position[1]+=n,o=!0,e.dirty=!0)}),o&&this.painter.refresh()}this._draggingTarget||this._hasfound&&this._lastHover.draggable?a="move":this._hasfound&&this._lastHover.clickable&&(a="pointer"),this.root.style.cursor=a,this._dispatchAgency(this._lastHover,V.MOUSEMOVE,e),(this._draggingTarget||this._hasfound||this.storage.hasHoverShape())&&this.painter.refreshHover()}},mouseout:function(e,t){if(p(e)||t){e=this._zrenderEventFixed(e);var i=e.toElement||e.relatedTarget;if(i!=this.root)for(;i&&9!=i.nodeType;){if(i==this.root)return void this._mousemoveHandler(e);i=i.parentNode}e.zrenderX=this._lastX,e.zrenderY=this._lastY,this.root.style.cursor="default",this._isMouseDown=0,this._processOutShape(e),this._processDrop(e),this._processDragEnd(e),this.painter.isLoading()||this.painter.refreshHover(),this.dispatch(V.GLOBALOUT,e)}},mousedown:function(e,t){if(p(e)||t){if(this._clickThreshold=0,2==this._lastDownButton)return this._lastDownButton=e.button,void(this._mouseDownTarget=null);this._lastMouseDownMoment=new Date,e=this._zrenderEventFixed(e),this._isMouseDown=1,this._mouseDownTarget=this._lastHover,this._dispatchAgency(this._lastHover,V.MOUSEDOWN,e),this._lastDownButton=e.button}},mouseup:function(e,t){(p(e)||t)&&(e=this._zrenderEventFixed(e),this.root.style.cursor="default",this._isMouseDown=0,this._mouseDownTarget=null,this._dispatchAgency(this._lastHover,V.MOUSEUP,e),this._processDrop(e),this._processDragEnd(e))},touchstart:function(e,t){(p(e)||t)&&(e=this._zrenderEventFixed(e,!0),this._lastTouchMoment=new Date,this._mobileFindFixed(e),this._mousedownHandler(e))},touchmove:function(e,t){(p(e)||t)&&(e=this._zrenderEventFixed(e,!0),this._mousemoveHandler(e),this._isDragging&&s.stop(e))},touchend:function(e,t){if(p(e)||t){e=this._zrenderEventFixed(e,!0),this._mouseupHandler(e);var i=new Date;i-this._lastTouchMoment<V.touchClickDelay&&(this._mobileFindFixed(e),this._clickHandler(e),i-this._lastClickMoment<V.touchClickDelay/2&&(this._dblclickHandler(e),this._lastHover&&this._lastHover.clickable&&s.stop(e)),this._lastClickMoment=i),this.painter.clearHover()}}},u=function(e,t,o){U.call(this),this.root=e,this.storage=t,this.painter=o,this._lastX=this._lastY=this._mouseX=this._mouseY=0,this._findHover=i(a,this),this._domHover=o.getDomHover(),n(this),window.addEventListener?(window.addEventListener("resize",this._resizeHandler),r.os.tablet||r.os.phone?(e.addEventListener("touchstart",this._touchstartHandler),e.addEventListener("touchmove",this._touchmoveHandler),e.addEventListener("touchend",this._touchendHandler)):(e.addEventListener("click",this._clickHandler),e.addEventListener("dblclick",this._dblclickHandler),e.addEventListener("mousewheel",this._mousewheelHandler),e.addEventListener("mousemove",this._mousemoveHandler),e.addEventListener("mousedown",this._mousedownHandler),e.addEventListener("mouseup",this._mouseupHandler)),e.addEventListener("DOMMouseScroll",this._mousewheelHandler),e.addEventListener("mouseout",this._mouseoutHandler)):(window.attachEvent("onresize",this._resizeHandler),e.attachEvent("onclick",this._clickHandler),e.ondblclick=this._dblclickHandler,e.attachEvent("onmousewheel",this._mousewheelHandler),e.attachEvent("onmousemove",this._mousemoveHandler),e.attachEvent("onmouseout",this._mouseoutHandler),e.attachEvent("onmousedown",this._mousedownHandler),e.attachEvent("onmouseup",this._mouseupHandler))};u.prototype.on=function(e,t,i){return this.bind(e,t,i),this},u.prototype.un=function(e,t){return this.unbind(e,t),this},u.prototype.trigger=function(e,t){switch(e){case V.RESIZE:case V.CLICK:case V.DBLCLICK:case V.MOUSEWHEEL:case V.MOUSEMOVE:case V.MOUSEDOWN:case V.MOUSEUP:case V.MOUSEOUT:this["_"+e+"Handler"](t,!0)}},u.prototype.dispose=function(){var e=this.root;window.removeEventListener?(window.removeEventListener("resize",this._resizeHandler),r.os.tablet||r.os.phone?(e.removeEventListener("touchstart",this._touchstartHandler),e.removeEventListener("touchmove",this._touchmoveHandler),e.removeEventListener("touchend",this._touchendHandler)):(e.removeEventListener("click",this._clickHandler),e.removeEventListener("dblclick",this._dblclickHandler),e.removeEventListener("mousewheel",this._mousewheelHandler),e.removeEventListener("mousemove",this._mousemoveHandler),e.removeEventListener("mousedown",this._mousedownHandler),e.removeEventListener("mouseup",this._mouseupHandler)),e.removeEventListener("DOMMouseScroll",this._mousewheelHandler),e.removeEventListener("mouseout",this._mouseoutHandler)):(window.detachEvent("onresize",this._resizeHandler),e.detachEvent("onclick",this._clickHandler),e.detachEvent("dblclick",this._dblclickHandler),e.detachEvent("onmousewheel",this._mousewheelHandler),e.detachEvent("onmousemove",this._mousemoveHandler),e.detachEvent("onmouseout",this._mouseoutHandler),e.detachEvent("onmousedown",this._mousedownHandler),e.detachEvent("onmouseup",this._mouseupHandler)),this.root=this._domHover=this.storage=this.painter=null,this.un()},u.prototype._processDragStart=function(e){var t=this._lastHover;if(this._isMouseDown&&t&&t.draggable&&!this._draggingTarget&&this._mouseDownTarget==t){if(t.dragEnableTime&&new Date-this._lastMouseDownMoment<t.dragEnableTime)return;var i=t;this._draggingTarget=i,this._isDragging=1,i.invisible=!0,this.storage.mod(i.id),this._dispatchAgency(i,V.DRAGSTART,e),this.painter.refresh()}},u.prototype._processDragEnter=function(e){this._draggingTarget&&this._dispatchAgency(this._lastHover,V.DRAGENTER,e,this._draggingTarget)},u.prototype._processDragOver=function(e){this._draggingTarget&&this._dispatchAgency(this._lastHover,V.DRAGOVER,e,this._draggingTarget)},u.prototype._processDragLeave=function(e){this._draggingTarget&&this._dispatchAgency(this._lastHover,V.DRAGLEAVE,e,this._draggingTarget)},u.prototype._processDrop=function(e){this._draggingTarget&&(this._draggingTarget.invisible=!1,this.storage.mod(this._draggingTarget.id),this.painter.refresh(),this._dispatchAgency(this._lastHover,V.DROP,e,this._draggingTarget))},u.prototype._processDragEnd=function(e){this._draggingTarget&&(this._dispatchAgency(this._draggingTarget,V.DRAGEND,e),this._lastHover=null),this._isDragging=0,this._draggingTarget=null},u.prototype._processOverShape=function(e){this._dispatchAgency(this._lastHover,V.MOUSEOVER,e)},u.prototype._processOutShape=function(e){this._dispatchAgency(this._lastHover,V.MOUSEOUT,e)},u.prototype._dispatchAgency=function(e,t,i,n){var a="on"+t,o={type:t,event:i,target:e,cancelBubble:!1},r=e;for(n&&(o.dragged=n);r&&(r[a]&&(o.cancelBubble=r[a](o)),r.dispatch(t,o),r=r.parent,!o.cancelBubble););if(e)o.cancelBubble||this.dispatch(t,o);else if(!n){var s={type:t,event:i};this.dispatch(t,s),this.painter.eachOtherLayer(function(e){"function"==typeof e[a]&&e[a](s),e.dispatch&&e.dispatch(t,s)})}},u.prototype._iterateAndFindHover=function(){var e=m.create();return function(){for(var t,i,n=this.storage.getShapeList(),a=[0,0],o=n.length-1;o>=0;o--){var r=n[o];if(t!==r.zlevel&&(i=this.painter.getLayer(r.zlevel,i),a[0]=this._mouseX,a[1]=this._mouseY,i.needTransform&&(m.invert(e,i.transform),h.applyTransform(a,a,e))),this._findHover(r,a[0],a[1]))break}}}();var y=[{x:10},{x:-20},{x:10,y:10},{y:-20}];return u.prototype._mobileFindFixed=function(e){this._lastHover=null,this._mouseX=e.zrenderX,this._mouseY=e.zrenderY,this._event=e,this._iterateAndFindHover();for(var t=0;!this._lastHover&&t<y.length;t++){var i=y[t];i.x&&(this._mouseX+=i.x),i.y&&(this._mouseY+=i.y),this._iterateAndFindHover()}this._lastHover&&(e.zrenderX=this._mouseX,e.zrenderY=this._mouseY)},u.prototype._zrenderEventFixed=function(e,t){if(e.zrenderFixed)return e;if(t){var i="touchend"!=e.type?e.targetTouches[0]:e.changedTouches[0];if(i){var n=this.painter._domRoot.getBoundingClientRect();e.zrenderX=i.clientX-n.left,e.zrenderY=i.clientY-n.top}}else{e=e||window.event;var a=e.toElement||e.relatedTarget||e.srcElement||e.target;a&&a!=this._domHover&&(e.zrenderX=("undefined"!=typeof e.offsetX?e.offsetX:e.layerX)+a.offsetLeft,e.zrenderY=("undefined"!=typeof e.offsetY?e.offsetY:e.layerY)+a.offsetTop)}return e.zrenderFixed=1,e},l.merge(u.prototype,U.prototype,!0),u}),i("zrender/Painter",["require","./config","./tool/util","./tool/log","./loadingEffect/Base","./Layer","./shape/Image"],function(e){"use strict";function t(){return!1}function i(){}function n(e){return e?e.isBuildin?!0:"function"!=typeof e.resize||"function"!=typeof e.refresh?!1:!0:!1}var a=e("./config"),o=e("./tool/util"),r=e("./tool/log"),s=e("./loadingEffect/Base"),l=e("./Layer"),h=function(e,i){this.root=e,e.style["-webkit-tap-highlight-color"]="transparent",e.style["-webkit-user-select"]="none",e.style["user-select"]="none",e.style["-webkit-touch-callout"]="none",this.storage=i,e.innerHTML="",this._width=this._getWidth(),this._height=this._getHeight();var n=document.createElement("div");this._domRoot=n,n.style.position="relative",n.style.overflow="hidden",n.style.width=this._width+"px",n.style.height=this._height+"px",e.appendChild(n),this._layers={},this._zlevelList=[],this._layerConfig={},this._loadingEffect=new s({}),this.shapeToImage=this._createShapeToImageProcessor(),this._bgDom=document.createElement("div"),this._bgDom.style.cssText=["position:absolute;left:0px;top:0px;width:",this._width,"px;height:",this._height+"px;","-webkit-user-select:none;user-select;none;","-webkit-touch-callout:none;"].join(""),this._bgDom.setAttribute("data-zr-dom-id","bg"),this._bgDom.className=a.elementClassName,n.appendChild(this._bgDom),this._bgDom.onselectstart=t;var o=new l("_zrender_hover_",this);this._layers.hover=o,n.appendChild(o.dom),o.initContext(),o.dom.onselectstart=t,o.dom.style["-webkit-user-select"]="none",o.dom.style["user-select"]="none",o.dom.style["-webkit-touch-callout"]="none",this.refreshNextFrame=null};return h.prototype.render=function(e){return this.isLoading()&&this.hideLoading(),this.refresh(e,!0),this},h.prototype.refresh=function(e,t){var i=this.storage.getShapeList(!0);this._paintList(i,t);for(var n=0;n<this._zlevelList.length;n++){var a=this._zlevelList[n],o=this._layers[a];!o.isBuildin&&o.refresh&&o.refresh()}return"function"==typeof e&&e(),this},h.prototype._preProcessLayer=function(e){e.unusedCount++,e.updateTransform()},h.prototype._postProcessLayer=function(e){e.dirty=!1,1==e.unusedCount&&e.clear()},h.prototype._paintList=function(e,t){"undefined"==typeof t&&(t=!1),this._updateLayerStatus(e);var i,n,o;this.eachBuildinLayer(this._preProcessLayer);for(var s=0,l=e.length;l>s;s++){var h=e[s];if(n!==h.zlevel&&(i&&(i.needTransform&&o.restore(),o.flush&&o.flush()),n=h.zlevel,i=this.getLayer(n),i.isBuildin||r("ZLevel "+n+" has been used by unkown layer "+i.id),o=i.ctx,i.unusedCount=0,(i.dirty||t)&&i.clear(),i.needTransform&&(o.save(),i.setTransform(o))),(i.dirty||t)&&!h.invisible&&(!h.onbrush||h.onbrush&&!h.onbrush(o,!1)))if(a.catchBrushException)try{h.brush(o,!1,this.refreshNextFrame)}catch(m){r(m,"brush error of "+h.type,h)}else h.brush(o,!1,this.refreshNextFrame);h.__dirty=!1}i&&(i.needTransform&&o.restore(),o.flush&&o.flush()),this.eachBuildinLayer(this._postProcessLayer)},h.prototype.getLayer=function(e){var t=this._layers[e];return t||(t=new l(e,this),t.isBuildin=!0,this._layerConfig[e]&&o.merge(t,this._layerConfig[e],!0),t.updateTransform(),this.insertLayer(e,t),t.initContext()),t},h.prototype.insertLayer=function(e,t){if(this._layers[e])return void r("ZLevel "+e+" has been used already");if(!n(t))return void r("Layer of zlevel "+e+" is not valid");var i=this._zlevelList.length,a=null,o=-1;if(i>0&&e>this._zlevelList[0]){for(o=0;i-1>o&&!(this._zlevelList[o]<e&&this._zlevelList[o+1]>e);o++);a=this._layers[this._zlevelList[o]]}this._zlevelList.splice(o+1,0,e);var s=a?a.dom:this._bgDom;s.nextSibling?s.parentNode.insertBefore(t.dom,s.nextSibling):s.parentNode.appendChild(t.dom),this._layers[e]=t},h.prototype.eachLayer=function(e,t){for(var i=0;i<this._zlevelList.length;i++){var n=this._zlevelList[i];e.call(t,this._layers[n],n)}},h.prototype.eachBuildinLayer=function(e,t){for(var i=0;i<this._zlevelList.length;i++){var n=this._zlevelList[i],a=this._layers[n];a.isBuildin&&e.call(t,a,n)}},h.prototype.eachOtherLayer=function(e,t){for(var i=0;i<this._zlevelList.length;i++){var n=this._zlevelList[i],a=this._layers[n];a.isBuildin||e.call(t,a,n)}},h.prototype.getLayers=function(){return this._layers},h.prototype._updateLayerStatus=function(e){var t=this._layers,i={};this.eachBuildinLayer(function(e,t){i[t]=e.elCount,e.elCount=0});for(var n=0,a=e.length;a>n;n++){var o=e[n],r=o.zlevel,s=t[r];if(s){if(s.elCount++,s.dirty)continue;s.dirty=o.__dirty}}this.eachBuildinLayer(function(e,t){i[t]!==e.elCount&&(e.dirty=!0)})},h.prototype.refreshShapes=function(e,t){for(var i=0,n=e.length;n>i;i++){var a=e[i];a.modSelf()}return this.refresh(t),this},h.prototype.setLoadingEffect=function(e){return this._loadingEffect=e,this},h.prototype.clear=function(){return this.eachBuildinLayer(this._clearLayer),this},h.prototype._clearLayer=function(e){e.clear()},h.prototype.modLayer=function(e,t){if(t){this._layerConfig[e]?o.merge(this._layerConfig[e],t,!0):this._layerConfig[e]=t;var i=this._layers[e];i&&o.merge(i,this._layerConfig[e],!0)}},h.prototype.delLayer=function(e){var t=this._layers[e];t&&(this.modLayer(e,{position:t.position,rotation:t.rotation,scale:t.scale}),t.dom.parentNode.removeChild(t.dom),delete this._layers[e],this._zlevelList.splice(o.indexOf(this._zlevelList,e),1))},h.prototype.refreshHover=function(){this.clearHover();for(var e=this.storage.getHoverShapes(!0),t=0,i=e.length;i>t;t++)this._brushHover(e[t]);var n=this._layers.hover.ctx;return n.flush&&n.flush(),this.storage.delHover(),this},h.prototype.clearHover=function(){var e=this._layers.hover;return e&&e.clear(),this},h.prototype.showLoading=function(e){return this._loadingEffect&&this._loadingEffect.stop(),e&&this.setLoadingEffect(e),this._loadingEffect.start(this),this.loading=!0,this},h.prototype.hideLoading=function(){return this._loadingEffect.stop(),this.clearHover(),this.loading=!1,this},h.prototype.isLoading=function(){return this.loading},h.prototype.resize=function(){var e=this._domRoot;e.style.display="none";var t=this._getWidth(),i=this._getHeight();if(e.style.display="",this._width!=t||i!=this._height){this._width=t,this._height=i,e.style.width=t+"px",e.style.height=i+"px";for(var n in this._layers)this._layers[n].resize(t,i);this.refresh(null,!0)}return this},h.prototype.clearLayer=function(e){var t=this._layers[e];t&&t.clear()},h.prototype.dispose=function(){this.isLoading()&&this.hideLoading(),this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},h.prototype.getDomHover=function(){return this._layers.hover.dom},h.prototype.toDataURL=function(e,t,i){if(window.G_vmlCanvasManager)return null;var n=new l("image",this);this._bgDom.appendChild(n.dom),n.initContext();var o=n.ctx;n.clearColor=t||"#fff",n.clear();var s=this;this.storage.iterShape(function(e){if(!e.invisible&&(!e.onbrush||e.onbrush&&!e.onbrush(o,!1)))if(a.catchBrushException)try{e.brush(o,!1,s.refreshNextFrame)}catch(t){r(t,"brush error of "+e.type,e)}else e.brush(o,!1,s.refreshNextFrame)},{normal:"up",update:!0});var h=n.dom.toDataURL(e,i);return o=null,this._bgDom.removeChild(n.dom),h},h.prototype.getWidth=function(){return this._width},h.prototype.getHeight=function(){return this._height},h.prototype._getWidth=function(){var e=this.root,t=e.currentStyle||document.defaultView.getComputedStyle(e);return((e.clientWidth||parseInt(t.width,10))-parseInt(t.paddingLeft,10)-parseInt(t.paddingRight,10)).toFixed(0)-0},h.prototype._getHeight=function(){var e=this.root,t=e.currentStyle||document.defaultView.getComputedStyle(e);return((e.clientHeight||parseInt(t.height,10))-parseInt(t.paddingTop,10)-parseInt(t.paddingBottom,10)).toFixed(0)-0},h.prototype._brushHover=function(e){var t=this._layers.hover.ctx;if(!e.onbrush||e.onbrush&&!e.onbrush(t,!0)){var i=this.getLayer(e.zlevel);if(i.needTransform&&(t.save(),i.setTransform(t)),a.catchBrushException)try{e.brush(t,!0,this.refreshNextFrame)}catch(n){r(n,"hoverBrush error of "+e.type,e)}else e.brush(t,!0,this.refreshNextFrame);i.needTransform&&t.restore()}},h.prototype._shapeToImage=function(t,i,n,a,o){var r=document.createElement("canvas"),s=r.getContext("2d");r.style.width=n+"px",r.style.height=a+"px",r.setAttribute("width",n*o),r.setAttribute("height",a*o),s.clearRect(0,0,n*o,a*o);var l={position:i.position,rotation:i.rotation,scale:i.scale};i.position=[0,0,0],i.rotation=0,i.scale=[1,1],i&&i.brush(s,!1);var h=e("./shape/Image"),m=new h({id:t,style:{x:0,y:0,image:r}});return null!=l.position&&(m.position=i.position=l.position),null!=l.rotation&&(m.rotation=i.rotation=l.rotation),null!=l.scale&&(m.scale=i.scale=l.scale),m},h.prototype._createShapeToImageProcessor=function(){if(window.G_vmlCanvasManager)return i;var e=this;return function(t,i,n,o){return e._shapeToImage(t,i,n,o,a.devicePixelRatio)}},h}),i("zrender/Storage",["require","./tool/util","./Group"],function(e){"use strict";function t(e,t){return e.zlevel==t.zlevel?e.z==t.z?e.__renderidx-t.__renderidx:e.z-t.z:e.zlevel-t.zlevel}var i=e("./tool/util"),n=e("./Group"),a={hover:!1,normal:"down",update:!1},o=function(){this._elements={},this._hoverElements=[],this._roots=[],this._shapeList=[],this._shapeListOffset=0};return o.prototype.iterShape=function(e,t){if(t||(t=a),t.hover)for(var i=0,n=this._hoverElements.length;n>i;i++){var o=this._hoverElements[i];if(o.updateTransform(),e(o))return this}switch(t.update&&this.updateShapeList(),t.normal){case"down":for(var n=this._shapeList.length;n--;)if(e(this._shapeList[n]))return this;break;default:for(var i=0,n=this._shapeList.length;n>i;i++)if(e(this._shapeList[i]))return this}return this},o.prototype.getHoverShapes=function(e){for(var i=[],n=0,a=this._hoverElements.length;a>n;n++){i.push(this._hoverElements[n]);var o=this._hoverElements[n].hoverConnect;if(o){var r;o=o instanceof Array?o:[o];for(var s=0,l=o.length;l>s;s++)r=o[s].id?o[s]:this.get(o[s]),r&&i.push(r)}}if(i.sort(t),e)for(var n=0,a=i.length;a>n;n++)i[n].updateTransform();return i},o.prototype.getShapeList=function(e){return e&&this.updateShapeList(),this._shapeList},o.prototype.updateShapeList=function(){this._shapeListOffset=0;for(var e=0,i=this._roots.length;i>e;e++){var n=this._roots[e];this._updateAndAddShape(n)}this._shapeList.length=this._shapeListOffset;for(var e=0,i=this._shapeList.length;i>e;e++)this._shapeList[e].__renderidx=e;this._shapeList.sort(t)},o.prototype._updateAndAddShape=function(e,t){if(!e.ignore)if(e.updateTransform(),e.clipShape&&(e.clipShape.parent=e,e.clipShape.updateTransform(),t?(t=t.slice(),t.push(e.clipShape)):t=[e.clipShape]),"group"==e.type){for(var i=0;i<e._children.length;i++){var n=e._children[i];n.__dirty=e.__dirty||n.__dirty,this._updateAndAddShape(n,t)}e.__dirty=!1}else e.__clipShapes=t,this._shapeList[this._shapeListOffset++]=e},o.prototype.mod=function(e,t){if("string"==typeof e&&(e=this._elements[e]),e&&(e.modSelf(),t))if(t.parent||t._storage||t.__clipShapes){var n={};for(var a in t)"parent"!==a&&"_storage"!==a&&"__clipShapes"!==a&&t.hasOwnProperty(a)&&(n[a]=t[a]);i.merge(e,n,!0)}else i.merge(e,t,!0);return this},o.prototype.drift=function(e,t,i){var n=this._elements[e];return n&&(n.needTransform=!0,"horizontal"===n.draggable?i=0:"vertical"===n.draggable&&(t=0),(!n.ondrift||n.ondrift&&!n.ondrift(t,i))&&n.drift(t,i)),this},o.prototype.addHover=function(e){return e.updateNeedTransform(),this._hoverElements.push(e),this},o.prototype.delHover=function(){return this._hoverElements=[],this},o.prototype.hasHoverShape=function(){return this._hoverElements.length>0},o.prototype.addRoot=function(e){this._elements[e.id]||(e instanceof n&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e))},o.prototype.delRoot=function(e){if("undefined"==typeof e){for(var t=0;t<this._roots.length;t++){var a=this._roots[t];a instanceof n&&a.delChildrenFromStorage(this)}return this._elements={},this._hoverElements=[],this._roots=[],this._shapeList=[],void(this._shapeListOffset=0)}if(e instanceof Array)for(var t=0,o=e.length;o>t;t++)this.delRoot(e[t]);else{var r;r="string"==typeof e?this._elements[e]:e;var s=i.indexOf(this._roots,r);s>=0&&(this.delFromMap(r.id),this._roots.splice(s,1),r instanceof n&&r.delChildrenFromStorage(this))}},o.prototype.addToMap=function(e){return e instanceof n&&(e._storage=this),e.modSelf(),this._elements[e.id]=e,this},o.prototype.get=function(e){return this._elements[e]},o.prototype.delFromMap=function(e){var t=this._elements[e];return t&&(delete this._elements[e],t instanceof n&&(t._storage=null)),this},o.prototype.dispose=function(){this._elements=this._renderList=this._roots=this._hoverElements=null},o}),i("zrender/animation/Animation",["require","./Clip","../tool/color","../tool/util","../tool/event"],function(e){"use strict";function t(e,t){return e[t]}function i(e,t,i){e[t]=i}function n(e,t,i){return(t-e)*i+e}function a(e,t,i,a,o){var r=e.length;if(1==o)for(var s=0;r>s;s++)a[s]=n(e[s],t[s],i);else for(var l=e[0].length,s=0;r>s;s++)for(var h=0;l>h;h++)a[s][h]=n(e[s][h],t[s][h],i)}function o(e){switch(typeof e){case"undefined":case"string":return!1}return"undefined"!=typeof e.length}function r(e,t,i,n,a,o,r,l,h){var m=e.length;if(1==h)for(var V=0;m>V;V++)l[V]=s(e[V],t[V],i[V],n[V],a,o,r);else for(var U=e[0].length,V=0;m>V;V++)for(var d=0;U>d;d++)l[V][d]=s(e[V][d],t[V][d],i[V][d],n[V][d],a,o,r)}function s(e,t,i,n,a,o,r){var s=.5*(i-e),l=.5*(n-t);return(2*(t-i)+s+l)*r+(-3*(t-i)-2*s-l)*o+s*a+t}function l(e){if(o(e)){var t=e.length;if(o(e[0])){for(var i=[],n=0;t>n;n++)i.push(c.call(e[n]));return i}return c.call(e)}return e}function h(e){return e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.floor(e[2]),"rgba("+e.join(",")+")"}var m=e("./Clip"),V=e("../tool/color"),U=e("../tool/util"),d=e("../tool/event").Dispatcher,p=window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){setTimeout(e,16)},c=Array.prototype.slice,u=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time=0,d.call(this)};u.prototype={add:function(e){this._clips.push(e)},remove:function(e){if(e.__inStep)e.__needsRemove=!0;else{var t=U.indexOf(this._clips,e);t>=0&&this._clips.splice(t,1)}},_update:function(){for(var e=(new Date).getTime(),t=e-this._time,i=this._clips,n=i.length,a=[],o=[],r=0;n>r;r++){var s=i[r];s.__inStep=!0;var l=s.step(e);s.__inStep=!1,l&&(a.push(l),o.push(s))}for(var r=0;n>r;)i[r].__needsRemove?(i[r]=i[n-1],i.pop(),n--):r++;n=a.length;for(var r=0;n>r;r++)o[r].fire(a[r]);this._time=e,this.onframe(t),this.dispatch("frame",t),this.stage.update&&this.stage.update()},start:function(){function e(){t._running&&(p(e),t._update())}var t=this;this._running=!0,this._time=(new Date).getTime(),p(e)},stop:function(){this._running=!1},clear:function(){this._clips=[]},animate:function(e,t){t=t||{};var i=new y(e,t.loop,t.getter,t.setter);return i.animation=this,i},constructor:u},U.merge(u.prototype,d.prototype,!0);var y=function(e,n,a,o){this._tracks={},this._target=e,this._loop=n||!1,this._getter=a||t,this._setter=o||i,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};return y.prototype={when:function(e,t){for(var i in t)this._tracks[i]||(this._tracks[i]=[],0!==e&&this._tracks[i].push({time:0,value:l(this._getter(this._target,i))})),this._tracks[i].push({time:parseInt(e,10),value:t[i]});return this},during:function(e){return this._onframeList.push(e),this},start:function(e){var t=this,i=this._setter,l=this._getter,U="spline"===e,d=function(){if(t._clipCount--,0===t._clipCount){t._tracks={};for(var e=t._doneList.length,i=0;e>i;i++)t._doneList[i].call(t)}},p=function(p,c){var u=p.length;if(u){var y=p[0].value,g=o(y),b=!1,f=g&&o(y[0])?2:1;p.sort(function(e,t){return e.time-t.time});var k;if(u){k=p[u-1].time;for(var x=[],_=[],L=0;u>L;L++){x.push(p[L].time/k);var W=p[L].value;"string"==typeof W&&(W=V.toArray(W),0===W.length&&(W[0]=W[1]=W[2]=0,W[3]=1),b=!0),_.push(W)}var X,L,v,w,K,I,J,C=0,S=0;if(b)var E=[0,0,0,0];var F=function(e,o){if(S>o){for(X=Math.min(C+1,u-1),L=X;L>=0&&!(x[L]<=o);L--);L=Math.min(L,u-2)}else{for(L=C;u>L&&!(x[L]>o);L++);L=Math.min(L-1,u-2)}C=L,S=o;var m=x[L+1]-x[L];if(0!==m){if(v=(o-x[L])/m,U)if(K=_[L],w=_[0===L?L:L-1],I=_[L>u-2?u-1:L+1],J=_[L>u-3?u-1:L+2],g)r(w,K,I,J,v,v*v,v*v*v,l(e,c),f);else{var V;b?(V=r(w,K,I,J,v,v*v,v*v*v,E,1),V=h(E)):V=s(w,K,I,J,v,v*v,v*v*v),i(e,c,V)}else if(g)a(_[L],_[L+1],v,l(e,c),f);else{var V;b?(a(_[L],_[L+1],v,E,1),V=h(E)):V=n(_[L],_[L+1],v),i(e,c,V)}for(L=0;L<t._onframeList.length;L++)t._onframeList[L](e,o)}},T=new m({target:t._target,life:k,loop:t._loop,delay:t._delay,onframe:F,ondestroy:d});e&&"spline"!==e&&(T.easing=e),t._clipList.push(T),t._clipCount++,t.animation.add(T)}}};for(var c in this._tracks)p(this._tracks[c],c);return this},stop:function(){for(var e=0;e<this._clipList.length;e++){var t=this._clipList[e];this.animation.remove(t)}this._clipList=[]},delay:function(e){return this._delay=e,this},done:function(e){return e&&this._doneList.push(e),this}},u}),i("zrender/tool/vector",[],function(){var e="undefined"==typeof Float32Array?Array:Float32Array,t={create:function(t,i){var n=new e(2);return n[0]=t||0,n[1]=i||0,n},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},clone:function(t){var i=new e(2);return i[0]=t[0],i[1]=t[1],i},set:function(e,t,i){return e[0]=t,e[1]=i,e},add:function(e,t,i){return e[0]=t[0]+i[0],e[1]=t[1]+i[1],e},scaleAndAdd:function(e,t,i,n){return e[0]=t[0]+i[0]*n,e[1]=t[1]+i[1]*n,e},sub:function(e,t,i){return e[0]=t[0]-i[0],e[1]=t[1]-i[1],e},len:function(e){return Math.sqrt(this.lenSquare(e))},lenSquare:function(e){return e[0]*e[0]+e[1]*e[1]},mul:function(e,t,i){return e[0]=t[0]*i[0],e[1]=t[1]*i[1],e},div:function(e,t,i){return e[0]=t[0]/i[0],e[1]=t[1]/i[1],e},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]},scale:function(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e},normalize:function(e,i){var n=t.len(i);return 0===n?(e[0]=0,e[1]=0):(e[0]=i[0]/n,e[1]=i[1]/n),e},distance:function(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))},distanceSquare:function(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])},negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e},lerp:function(e,t,i,n){return e[0]=t[0]+n*(i[0]-t[0]),e[1]=t[1]+n*(i[1]-t[1]),e},applyTransform:function(e,t,i){var n=t[0],a=t[1];return e[0]=i[0]*n+i[2]*a+i[4],e[1]=i[1]*n+i[3]*a+i[5],e},min:function(e,t,i){return e[0]=Math.min(t[0],i[0]),e[1]=Math.min(t[1],i[1]),e},max:function(e,t,i){return e[0]=Math.max(t[0],i[0]),e[1]=Math.max(t[1],i[1]),e}};return t.length=t.len,t.lengthSquare=t.lenSquare,t.dist=t.distance,t.distSquare=t.distanceSquare,t}),i("zrender/tool/matrix",[],function(){var e="undefined"==typeof Float32Array?Array:Float32Array,t={create:function(){var i=new e(6);return t.identity(i),i},identity:function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e},mul:function(e,t,i){return e[0]=t[0]*i[0]+t[2]*i[1],e[1]=t[1]*i[0]+t[3]*i[1],e[2]=t[0]*i[2]+t[2]*i[3],e[3]=t[1]*i[2]+t[3]*i[3],e[4]=t[0]*i[4]+t[2]*i[5]+t[4],e[5]=t[1]*i[4]+t[3]*i[5]+t[5],e},translate:function(e,t,i){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+i[0],e[5]=t[5]+i[1],e},rotate:function(e,t,i){var n=t[0],a=t[2],o=t[4],r=t[1],s=t[3],l=t[5],h=Math.sin(i),m=Math.cos(i);return e[0]=n*m+r*h,e[1]=-n*h+r*m,e[2]=a*m+s*h,e[3]=-a*h+m*s,e[4]=m*o+h*l,e[5]=m*l-h*o,e},scale:function(e,t,i){var n=i[0],a=i[1];return e[0]=t[0]*n,e[1]=t[1]*a,e[2]=t[2]*n,e[3]=t[3]*a,e[4]=t[4]*n,e[5]=t[5]*a,e},invert:function(e,t){var i=t[0],n=t[2],a=t[4],o=t[1],r=t[3],s=t[5],l=i*r-o*n;return l?(l=1/l,e[0]=r*l,e[1]=-o*l,e[2]=-n*l,e[3]=i*l,e[4]=(n*s-r*a)*l,e[5]=(o*a-i*s)*l,e):null}};return t}),i("zrender/loadingEffect/Base",["require","../tool/util","../shape/Text","../shape/Rectangle"],function(e){function t(e){this.setOptions(e)}var i=e("../tool/util"),n=e("../shape/Text"),a=e("../shape/Rectangle"),o="Loading...",r="normal 16px Arial";return t.prototype.createTextShape=function(e){return new n({highlightStyle:i.merge({x:this.canvasWidth/2,y:this.canvasHeight/2,text:o,textAlign:"center",textBaseline:"middle",textFont:r,color:"#333",brushType:"fill"},e,!0)})},t.prototype.createBackgroundShape=function(e){return new a({highlightStyle:{x:0,y:0,width:this.canvasWidth,height:this.canvasHeight,brushType:"fill",color:e}})},t.prototype.start=function(e){function t(t){e.storage.addHover(t)}function i(){e.refreshHover()}this.canvasWidth=e._width,this.canvasHeight=e._height,this.loadingTimer=this._start(t,i)},t.prototype._start=function(){return setInterval(function(){},1e4)},t.prototype.stop=function(){clearInterval(this.loadingTimer)},t.prototype.setOptions=function(e){this.options=e||{}},t.prototype.adjust=function(e,t){return e<=t[0]?e=t[0]:e>=t[1]&&(e=t[1]),e},t.prototype.getLocation=function(e,t,i){var n=null!=e.x?e.x:"center";switch(n){case"center":n=Math.floor((this.canvasWidth-t)/2);break;case"left":n=0;break;case"right":n=this.canvasWidth-t}var a=null!=e.y?e.y:"center";switch(a){case"center":a=Math.floor((this.canvasHeight-i)/2);break;case"top":a=0;break;case"bottom":a=this.canvasHeight-i}return{x:n,y:a,width:t,height:i}},t}),i("zrender/Layer",["require","./mixin/Transformable","./tool/util","./config"],function(e){function t(){return!1}function i(e,t,i){var n=document.createElement(t),a=i.getWidth(),o=i.getHeight();return n.style.position="absolute",n.style.left=0,n.style.top=0,n.style.width=a+"px",n.style.height=o+"px",n.width=a*r.devicePixelRatio,n.height=o*r.devicePixelRatio,n.setAttribute("data-zr-dom-id",e),n}var n=e("./mixin/Transformable"),a=e("./tool/util"),o=window.G_vmlCanvasManager,r=e("./config"),s=function(e,a){this.id=e,this.dom=i(e,"canvas",a),this.dom.onselectstart=t,this.dom.style["-webkit-user-select"]="none",this.dom.style["user-select"]="none",this.dom.style["-webkit-touch-callout"]="none",this.dom.style["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",this.dom.className=r.elementClassName,o&&o.initElement(this.dom),this.domBack=null,this.ctxBack=null,this.painter=a,this.unusedCount=0,this.config=null,this.dirty=!0,this.elCount=0,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.zoomable=!1,this.panable=!1,this.maxZoom=1/0,this.minZoom=0,n.call(this)};return s.prototype.initContext=function(){this.ctx=this.dom.getContext("2d");var e=r.devicePixelRatio;1!=e&&this.ctx.scale(e,e)},s.prototype.createBackBuffer=function(){if(!o){this.domBack=i("back-"+this.id,"canvas",this.painter),this.ctxBack=this.domBack.getContext("2d");var e=r.devicePixelRatio;1!=e&&this.ctxBack.scale(e,e)}},s.prototype.resize=function(e,t){var i=r.devicePixelRatio;this.dom.style.width=e+"px",this.dom.style.height=t+"px",this.dom.setAttribute("width",e*i),this.dom.setAttribute("height",t*i),1!=i&&this.ctx.scale(i,i),this.domBack&&(this.domBack.setAttribute("width",e*i),this.domBack.setAttribute("height",t*i),1!=i&&this.ctxBack.scale(i,i))},s.prototype.clear=function(){var e=this.dom,t=this.ctx,i=e.width,n=e.height,a=this.clearColor&&!o,s=this.motionBlur&&!o,l=this.lastFrameAlpha,h=r.devicePixelRatio;if(s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(e,0,0,i/h,n/h)),t.clearRect(0,0,i/h,n/h),a&&(t.save(),t.fillStyle=this.clearColor,t.fillRect(0,0,i/h,n/h),t.restore()),s){var m=this.domBack;t.save(),t.globalAlpha=l,t.drawImage(m,0,0,i/h,n/h),t.restore()}},a.merge(s.prototype,n.prototype),s}),i("zrender/shape/Text",["require","../tool/area","./Base","../tool/util"],function(e){
-var t=e("../tool/area"),i=e("./Base"),n=function(e){i.call(this,e)};return n.prototype={type:"text",brush:function(e,i){var n=this.style;if(i&&(n=this.getHighlightStyle(n,this.highlightStyle||{})),"undefined"!=typeof n.text&&n.text!==!1){e.save(),this.doClip(e),this.setContext(e,n),this.setTransform(e),n.textFont&&(e.font=n.textFont),e.textAlign=n.textAlign||"start",e.textBaseline=n.textBaseline||"middle";var a,o=(n.text+"").split("\n"),r=t.getTextHeight("国",n.textFont),s=this.getRect(n),l=n.x;a="top"==n.textBaseline?s.y:"bottom"==n.textBaseline?s.y+r:s.y+r/2;for(var h=0,m=o.length;m>h;h++){if(n.maxWidth)switch(n.brushType){case"fill":e.fillText(o[h],l,a,n.maxWidth);break;case"stroke":e.strokeText(o[h],l,a,n.maxWidth);break;case"both":e.fillText(o[h],l,a,n.maxWidth),e.strokeText(o[h],l,a,n.maxWidth);break;default:e.fillText(o[h],l,a,n.maxWidth)}else switch(n.brushType){case"fill":e.fillText(o[h],l,a);break;case"stroke":e.strokeText(o[h],l,a);break;case"both":e.fillText(o[h],l,a),e.strokeText(o[h],l,a);break;default:e.fillText(o[h],l,a)}a+=r}e.restore()}},getRect:function(e){if(e.__rect)return e.__rect;var i=t.getTextWidth(e.text,e.textFont),n=t.getTextHeight(e.text,e.textFont),a=e.x;"end"==e.textAlign||"right"==e.textAlign?a-=i:"center"==e.textAlign&&(a-=i/2);var o;return o="top"==e.textBaseline?e.y:"bottom"==e.textBaseline?e.y-n:e.y-n/2,e.__rect={x:a,y:o,width:i,height:n},e.__rect}},e("../tool/util").inherits(n,i),n}),i("zrender/shape/Rectangle",["require","./Base","../tool/util"],function(e){var t=e("./Base"),i=function(e){t.call(this,e)};return i.prototype={type:"rectangle",_buildRadiusPath:function(e,t){var i,n,a,o,r=t.x,s=t.y,l=t.width,h=t.height,m=t.radius;"number"==typeof m?i=n=a=o=m:m instanceof Array?1===m.length?i=n=a=o=m[0]:2===m.length?(i=a=m[0],n=o=m[1]):3===m.length?(i=m[0],n=o=m[1],a=m[2]):(i=m[0],n=m[1],a=m[2],o=m[3]):i=n=a=o=0;var V;i+n>l&&(V=i+n,i*=l/V,n*=l/V),a+o>l&&(V=a+o,a*=l/V,o*=l/V),n+a>h&&(V=n+a,n*=h/V,a*=h/V),i+o>h&&(V=i+o,i*=h/V,o*=h/V),e.moveTo(r+i,s),e.lineTo(r+l-n,s),0!==n&&e.quadraticCurveTo(r+l,s,r+l,s+n),e.lineTo(r+l,s+h-a),0!==a&&e.quadraticCurveTo(r+l,s+h,r+l-a,s+h),e.lineTo(r+o,s+h),0!==o&&e.quadraticCurveTo(r,s+h,r,s+h-o),e.lineTo(r,s+i),0!==i&&e.quadraticCurveTo(r,s,r+i,s)},buildPath:function(e,t){t.radius?this._buildRadiusPath(e,t):(e.moveTo(t.x,t.y),e.lineTo(t.x+t.width,t.y),e.lineTo(t.x+t.width,t.y+t.height),e.lineTo(t.x,t.y+t.height),e.lineTo(t.x,t.y)),e.closePath()},getRect:function(e){if(e.__rect)return e.__rect;var t;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x-t/2),y:Math.round(e.y-t/2),width:e.width+t,height:e.height+t},e.__rect}},e("../tool/util").inherits(i,t),i}),i("zrender/tool/area",["require","./util","./curve"],function(e){"use strict";function t(e){return e%=C,0>e&&(e+=C),e}function i(e,t,i,o){if(!t||!e)return!1;var r=e.type;L=L||W.getContext();var s=n(e,t,i,o);if("undefined"!=typeof s)return s;if(e.buildPath&&L.isPointInPath)return a(e,L,t,i,o);switch(r){case"ellipse":return!0;case"trochoid":var l="out"==t.location?t.r1+t.r2+t.d:t.r1-t.r2+t.d;return d(t,i,o,l);case"rose":return d(t,i,o,t.maxr);default:return!1}}function n(e,t,i,n){var a=e.type;switch(a){case"bezier-curve":return"undefined"==typeof t.cpX2?l(t.xStart,t.yStart,t.cpX1,t.cpY1,t.xEnd,t.yEnd,t.lineWidth,i,n):s(t.xStart,t.yStart,t.cpX1,t.cpY1,t.cpX2,t.cpY2,t.xEnd,t.yEnd,t.lineWidth,i,n);case"line":return r(t.xStart,t.yStart,t.xEnd,t.yEnd,t.lineWidth,i,n);case"polyline":return m(t.pointList,t.lineWidth,i,n);case"ring":return V(t.x,t.y,t.r0,t.r,i,n);case"circle":return d(t.x,t.y,t.r,i,n);case"sector":var o=t.startAngle*Math.PI/180,h=t.endAngle*Math.PI/180;return t.clockWise||(o=-o,h=-h),p(t.x,t.y,t.r0,t.r,o,h,!t.clockWise,i,n);case"path":return t.pathArray&&k(t.pathArray,Math.max(t.lineWidth,5),t.brushType,i,n);case"polygon":case"star":case"isogon":return c(t.pointList,i,n);case"text":var u=t.__rect||e.getRect(t);return U(u.x,u.y,u.width,u.height,i,n);case"rectangle":case"image":return U(t.x,t.y,t.width,t.height,i,n)}}function a(e,t,i,n,a){return t.beginPath(),e.buildPath(t,i),t.closePath(),t.isPointInPath(n,a)}function o(e,t,n,a){return!i(e,t,n,a)}function r(e,t,i,n,a,o,r){if(0===a)return!1;var s=Math.max(a,5),l=0,h=e;if(r>t+s&&r>n+s||t-s>r&&n-s>r||o>e+s&&o>i+s||e-s>o&&i-s>o)return!1;if(e===i)return Math.abs(o-e)<=s/2;l=(t-n)/(e-i),h=(e*n-i*t)/(e-i);var m=l*o-r+h,V=m*m/(l*l+1);return s/2*s/2>=V}function s(e,t,i,n,a,o,r,s,l,h,m){if(0===l)return!1;var V=Math.max(l,5);if(m>t+V&&m>n+V&&m>o+V&&m>s+V||t-V>m&&n-V>m&&o-V>m&&s-V>m||h>e+V&&h>i+V&&h>a+V&&h>r+V||e-V>h&&i-V>h&&a-V>h&&r-V>h)return!1;var U=X.cubicProjectPoint(e,t,i,n,a,o,r,s,h,m,null);return V/2>=U}function l(e,t,i,n,a,o,r,s,l){if(0===r)return!1;var h=Math.max(r,5);if(l>t+h&&l>n+h&&l>o+h||t-h>l&&n-h>l&&o-h>l||s>e+h&&s>i+h&&s>a+h||e-h>s&&i-h>s&&a-h>s)return!1;var m=X.quadraticProjectPoint(e,t,i,n,a,o,s,l,null);return h/2>=m}function h(e,i,n,a,o,r,s,l,h){if(0===s)return!1;var m=Math.max(s,5);l-=e,h-=i;var V=Math.sqrt(l*l+h*h);if(V-m>n||n>V+m)return!1;if(Math.abs(a-o)>=C)return!0;if(r){var U=a;a=t(o),o=t(U)}else a=t(a),o=t(o);a>o&&(o+=C);var d=Math.atan2(h,l);return 0>d&&(d+=C),d>=a&&o>=d||d+C>=a&&o>=d+C}function m(e,t,i,n){for(var t=Math.max(t,10),a=0,o=e.length-1;o>a;a++){var s=e[a][0],l=e[a][1],h=e[a+1][0],m=e[a+1][1];if(r(s,l,h,m,t,i,n))return!0}return!1}function V(e,t,i,n,a,o){var r=(a-e)*(a-e)+(o-t)*(o-t);return n*n>r&&r>i*i}function U(e,t,i,n,a,o){return a>=e&&e+i>=a&&o>=t&&t+n>=o}function d(e,t,i,n,a){return i*i>(n-e)*(n-e)+(a-t)*(a-t)}function p(e,t,i,n,a,o,r,s,l){return h(e,t,(i+n)/2,a,o,r,n-i,s,l)}function c(e,t,i){for(var n=e.length,a=0,o=0,r=n-1;n>o;o++){var s=e[r][0],l=e[r][1],h=e[o][0],m=e[o][1];a+=u(s,l,h,m,t,i),r=o}return 0!==a}function u(e,t,i,n,a,o){if(o>t&&o>n||t>o&&n>o)return 0;if(n==t)return 0;var r=t>n?1:-1,s=(o-t)/(n-t),l=s*(i-e)+e;return l>a?r:0}function y(){var e=E[0];E[0]=E[1],E[1]=e}function g(e,t,i,n,a,o,r,s,l,h){if(h>t&&h>n&&h>o&&h>s||t>h&&n>h&&o>h&&s>h)return 0;var m=X.cubicRootAt(t,n,o,s,h,S);if(0===m)return 0;for(var V,U,d=0,p=-1,c=0;m>c;c++){var u=S[c],g=X.cubicAt(e,i,a,r,u);l>g||(0>p&&(p=X.cubicExtrema(t,n,o,s,E),E[1]<E[0]&&p>1&&y(),V=X.cubicAt(t,n,o,s,E[0]),p>1&&(U=X.cubicAt(t,n,o,s,E[1]))),d+=2==p?u<E[0]?t>V?1:-1:u<E[1]?V>U?1:-1:U>s?1:-1:u<E[0]?t>V?1:-1:V>s?1:-1)}return d}function b(e,t,i,n,a,o,r,s){if(s>t&&s>n&&s>o||t>s&&n>s&&o>s)return 0;var l=X.quadraticRootAt(t,n,o,s,S);if(0===l)return 0;var h=X.quadraticExtremum(t,n,o);if(h>=0&&1>=h){for(var m=0,V=X.quadraticAt(t,n,o,h),U=0;l>U;U++){var d=X.quadraticAt(e,i,a,S[U]);r>d||(m+=S[U]<h?t>V?1:-1:V>o?1:-1)}return m}var d=X.quadraticAt(e,i,a,S[0]);return r>d?0:t>o?1:-1}function f(e,i,n,a,o,r,s,l){if(l-=i,l>n||-n>l)return 0;var h=Math.sqrt(n*n-l*l);if(S[0]=-h,S[1]=h,Math.abs(a-o)>=C){a=0,o=C;var m=r?1:-1;return s>=S[0]+e&&s<=S[1]+e?m:0}if(r){var h=a;a=t(o),o=t(h)}else a=t(a),o=t(o);a>o&&(o+=C);for(var V=0,U=0;2>U;U++){var d=S[U];if(d+e>s){var p=Math.atan2(l,d),m=r?1:-1;0>p&&(p=C+p),(p>=a&&o>=p||p+C>=a&&o>=p+C)&&(p>Math.PI/2&&p<1.5*Math.PI&&(m=-m),V+=m)}}return V}function k(e,t,i,n,a){var o=0,m=0,V=0,U=0,d=0,p=!0,c=!0;i=i||"fill";for(var y="stroke"===i||"both"===i,k="fill"===i||"both"===i,x=0;x<e.length;x++){var _=e[x],L=_.points;if(p||"M"===_.command){if(x>0&&(k&&(o+=u(m,V,U,d,n,a)),0!==o))return!0;U=L[L.length-2],d=L[L.length-1],p=!1,c&&"A"!==_.command&&(c=!1,m=U,V=d)}switch(_.command){case"M":m=L[0],V=L[1];break;case"L":if(y&&r(m,V,L[0],L[1],t,n,a))return!0;k&&(o+=u(m,V,L[0],L[1],n,a)),m=L[0],V=L[1];break;case"C":if(y&&s(m,V,L[0],L[1],L[2],L[3],L[4],L[5],t,n,a))return!0;k&&(o+=g(m,V,L[0],L[1],L[2],L[3],L[4],L[5],n,a)),m=L[4],V=L[5];break;case"Q":if(y&&l(m,V,L[0],L[1],L[2],L[3],t,n,a))return!0;k&&(o+=b(m,V,L[0],L[1],L[2],L[3],n,a)),m=L[2],V=L[3];break;case"A":var W=L[0],X=L[1],v=L[2],w=L[3],K=L[4],I=L[5],J=Math.cos(K)*v+W,C=Math.sin(K)*w+X;c?(c=!1,U=J,d=C):o+=u(m,V,J,C);var S=(n-W)*w/v+W;if(y&&h(W,X,w,K,K+I,1-L[7],t,S,a))return!0;k&&(o+=f(W,X,w,K,K+I,1-L[7],S,a)),m=Math.cos(K+I)*v+W,V=Math.sin(K+I)*w+X;break;case"z":if(y&&r(m,V,U,d,t,n,a))return!0;p=!0}}return k&&(o+=u(m,V,U,d,n,a)),0!==o}function x(e,t){var i=e+":"+t;if(v[i])return v[i];L=L||W.getContext(),L.save(),t&&(L.font=t),e=(e+"").split("\n");for(var n=0,a=0,o=e.length;o>a;a++)n=Math.max(L.measureText(e[a]).width,n);return L.restore(),v[i]=n,++K>J&&(K=0,v={}),n}function _(e,t){var i=e+":"+t;if(w[i])return w[i];L=L||W.getContext(),L.save(),t&&(L.font=t),e=(e+"").split("\n");var n=(L.measureText("国").width+2)*e.length;return L.restore(),w[i]=n,++I>J&&(I=0,w={}),n}var L,W=e("./util"),X=e("./curve"),v={},w={},K=0,I=0,J=5e3,C=2*Math.PI,S=[-1,-1,-1],E=[-1,-1];return{isInside:i,isOutside:o,getTextWidth:x,getTextHeight:_,isInsidePath:k,isInsidePolygon:c,isInsideSector:p,isInsideCircle:d,isInsideLine:r,isInsideRect:U,isInsidePolyline:m,isInsideCubicStroke:s,isInsideQuadraticStroke:l}}),i("zrender/shape/Base",["require","../tool/matrix","../tool/guid","../tool/util","../tool/log","../mixin/Transformable","../mixin/Eventful","../tool/area","../tool/color"],function(e){function t(t,n,a,o,r,s,l){r&&(t.font=r),t.textAlign=s,t.textBaseline=l;var h=i(n,a,o,r,s,l);n=(n+"").split("\n");var m=e("../tool/area").getTextHeight("国",r);switch(l){case"top":o=h.y;break;case"bottom":o=h.y+m;break;default:o=h.y+m/2}for(var V=0,U=n.length;U>V;V++)t.fillText(n[V],a,o),o+=m}function i(t,i,n,a,o,r){var s=e("../tool/area"),l=s.getTextWidth(t,a),h=s.getTextHeight("国",a);switch(t=(t+"").split("\n"),o){case"end":case"right":i-=l;break;case"center":i-=l/2}switch(r){case"top":break;case"bottom":n-=h*t.length;break;default:n-=h*t.length/2}return{x:i,y:n,width:l,height:h*t.length}}var n=window.G_vmlCanvasManager,a=e("../tool/matrix"),o=e("../tool/guid"),r=e("../tool/util"),s=e("../tool/log"),l=e("../mixin/Transformable"),h=e("../mixin/Eventful"),m=function(e){e=e||{},this.id=e.id||o();for(var t in e)this[t]=e[t];this.style=this.style||{},this.highlightStyle=this.highlightStyle||null,this.parent=null,this.__dirty=!0,this.__clipShapes=[],l.call(this),h.call(this)};m.prototype.invisible=!1,m.prototype.ignore=!1,m.prototype.zlevel=0,m.prototype.draggable=!1,m.prototype.clickable=!1,m.prototype.hoverable=!0,m.prototype.z=0,m.prototype.brush=function(e,t){var i=this.beforeBrush(e,t);switch(e.beginPath(),this.buildPath(e,i),i.brushType){case"both":e.fill();case"stroke":i.lineWidth>0&&e.stroke();break;default:e.fill()}this.drawText(e,i,this.style),this.afterBrush(e)},m.prototype.beforeBrush=function(e,t){var i=this.style;return this.brushTypeOnly&&(i.brushType=this.brushTypeOnly),t&&(i=this.getHighlightStyle(i,this.highlightStyle||{},this.brushTypeOnly)),"stroke"==this.brushTypeOnly&&(i.strokeColor=i.strokeColor||i.color),e.save(),this.doClip(e),this.setContext(e,i),this.setTransform(e),i},m.prototype.afterBrush=function(e){e.restore()};var V=[["color","fillStyle"],["strokeColor","strokeStyle"],["opacity","globalAlpha"],["lineCap","lineCap"],["lineJoin","lineJoin"],["miterLimit","miterLimit"],["lineWidth","lineWidth"],["shadowBlur","shadowBlur"],["shadowColor","shadowColor"],["shadowOffsetX","shadowOffsetX"],["shadowOffsetY","shadowOffsetY"]];m.prototype.setContext=function(e,t){for(var i=0,n=V.length;n>i;i++){var a=V[i][0],o=t[a],r=V[i][1];"undefined"!=typeof o&&(e[r]=o)}};var U=a.create();return m.prototype.doClip=function(e){if(this.__clipShapes&&!n)for(var t=0;t<this.__clipShapes.length;t++){var i=this.__clipShapes[t];if(i.needTransform){var o=i.transform;a.invert(U,o),e.transform(o[0],o[1],o[2],o[3],o[4],o[5])}if(e.beginPath(),i.buildPath(e,i.style),e.clip(),i.needTransform){var o=U;e.transform(o[0],o[1],o[2],o[3],o[4],o[5])}}},m.prototype.getHighlightStyle=function(t,i,n){var a={};for(var o in t)a[o]=t[o];var r=e("../tool/color"),s=r.getHighlightColor();"stroke"!=t.brushType?(a.strokeColor=s,a.lineWidth=(t.lineWidth||1)+this.getHighlightZoom(),a.brushType="both"):"stroke"!=n?(a.strokeColor=s,a.lineWidth=(t.lineWidth||1)+this.getHighlightZoom()):a.strokeColor=i.strokeColor||r.mix(t.strokeColor,r.toRGB(s));for(var o in i)"undefined"!=typeof i[o]&&(a[o]=i[o]);return a},m.prototype.getHighlightZoom=function(){return"text"!=this.type?6:2},m.prototype.drift=function(e,t){this.position[0]+=e,this.position[1]+=t},m.prototype.buildPath=function(){s("buildPath not implemented in "+this.type)},m.prototype.getRect=function(){s("getRect not implemented in "+this.type)},m.prototype.isCover=function(t,i){var n=this.transformCoordToLocal(t,i);return t=n[0],i=n[1],this.isCoverRect(t,i)?e("../tool/area").isInside(this,this.style,t,i):!1},m.prototype.isCoverRect=function(e,t){var i=this.style.__rect;return i||(i=this.style.__rect=this.getRect(this.style)),e>=i.x&&e<=i.x+i.width&&t>=i.y&&t<=i.y+i.height},m.prototype.drawText=function(e,i,n){if("undefined"!=typeof i.text&&i.text!==!1){var a=i.textColor||i.color||i.strokeColor;e.fillStyle=a;var o,r,s,l,h=10,m=i.textPosition||this.textPosition||"top";switch(m){case"inside":case"top":case"bottom":case"left":case"right":if(this.getRect){var V=(n||i).__rect||this.getRect(n||i);switch(m){case"inside":s=V.x+V.width/2,l=V.y+V.height/2,o="center",r="middle","stroke"!=i.brushType&&a==i.color&&(e.fillStyle="#fff");break;case"left":s=V.x-h,l=V.y+V.height/2,o="end",r="middle";break;case"right":s=V.x+V.width+h,l=V.y+V.height/2,o="start",r="middle";break;case"top":s=V.x+V.width/2,l=V.y-h,o="center",r="bottom";break;case"bottom":s=V.x+V.width/2,l=V.y+V.height+h,o="center",r="top"}}break;case"start":case"end":var U=i.pointList||[[i.xStart||0,i.yStart||0],[i.xEnd||0,i.yEnd||0]],d=U.length;if(2>d)return;var p,c,u,y;switch(m){case"start":p=U[1][0],c=U[0][0],u=U[1][1],y=U[0][1];break;case"end":p=U[d-2][0],c=U[d-1][0],u=U[d-2][1],y=U[d-1][1]}s=c,l=y;var g=Math.atan((u-y)/(c-p))/Math.PI*180;0>c-p?g+=180:0>u-y&&(g+=360),h=5,g>=30&&150>=g?(o="center",r="bottom",l-=h):g>150&&210>g?(o="right",r="middle",s-=h):g>=210&&330>=g?(o="center",r="top",l+=h):(o="left",r="middle",s+=h);break;case"specific":s=i.textX||0,l=i.textY||0,o="start",r="middle"}null!=s&&null!=l&&t(e,i.text,s,l,i.textFont,i.textAlign||o,i.textBaseline||r)}},m.prototype.modSelf=function(){this.__dirty=!0,this.style&&(this.style.__rect=null),this.highlightStyle&&(this.highlightStyle.__rect=null)},m.prototype.isSilent=function(){return!(this.hoverable||this.draggable||this.clickable||this.onmousemove||this.onmouseover||this.onmouseout||this.onmousedown||this.onmouseup||this.onclick||this.ondragenter||this.ondragover||this.ondragleave||this.ondrop)},r.merge(m.prototype,l.prototype,!0),r.merge(m.prototype,h.prototype,!0),m}),i("zrender/tool/curve",["require","./vector"],function(e){function t(e){return e>-u&&u>e}function i(e){return e>u||-u>e}function n(e,t,i,n,a){var o=1-a;return o*o*(o*e+3*a*t)+a*a*(a*n+3*o*i)}function a(e,t,i,n,a){var o=1-a;return 3*(((t-e)*o+2*(i-t)*a)*o+(n-i)*a*a)}function o(e,i,n,a,o,r){var s=a+3*(i-n)-e,l=3*(n-2*i+e),h=3*(i-e),m=e-o,V=l*l-3*s*h,U=l*h-9*s*m,d=h*h-3*l*m,p=0;if(t(V)&&t(U))if(t(l))r[0]=0;else{var c=-h/l;c>=0&&1>=c&&(r[p++]=c)}else{var u=U*U-4*V*d;if(t(u)){var b=U/V,c=-l/s+b,f=-b/2;c>=0&&1>=c&&(r[p++]=c),f>=0&&1>=f&&(r[p++]=f)}else if(u>0){var k=Math.sqrt(u),x=V*l+1.5*s*(-U+k),_=V*l+1.5*s*(-U-k);x=0>x?-Math.pow(-x,g):Math.pow(x,g),_=0>_?-Math.pow(-_,g):Math.pow(_,g);var c=(-l-(x+_))/(3*s);c>=0&&1>=c&&(r[p++]=c)}else{var L=(2*V*l-3*s*U)/(2*Math.sqrt(V*V*V)),W=Math.acos(L)/3,X=Math.sqrt(V),v=Math.cos(W),c=(-l-2*X*v)/(3*s),f=(-l+X*(v+y*Math.sin(W)))/(3*s),w=(-l+X*(v-y*Math.sin(W)))/(3*s);c>=0&&1>=c&&(r[p++]=c),f>=0&&1>=f&&(r[p++]=f),w>=0&&1>=w&&(r[p++]=w)}}return p}function r(e,n,a,o,r){var s=6*a-12*n+6*e,l=9*n+3*o-3*e-9*a,h=3*n-3*e,m=0;if(t(l)){if(i(s)){var V=-h/s;V>=0&&1>=V&&(r[m++]=V)}}else{var U=s*s-4*l*h;if(t(U))r[0]=-s/(2*l);else if(U>0){var d=Math.sqrt(U),V=(-s+d)/(2*l),p=(-s-d)/(2*l);V>=0&&1>=V&&(r[m++]=V),p>=0&&1>=p&&(r[m++]=p)}}return m}function s(e,t,i,n,a,o){var r=(t-e)*a+e,s=(i-t)*a+t,l=(n-i)*a+i,h=(s-r)*a+r,m=(l-s)*a+s,V=(m-h)*a+h;o[0]=e,o[1]=r,o[2]=h,o[3]=V,o[4]=V,o[5]=m,o[6]=l,o[7]=n}function l(e,t,i,a,o,r,s,l,h,m,V){var U,d=.005,p=1/0;b[0]=h,b[1]=m;for(var y=0;1>y;y+=.05){f[0]=n(e,i,o,s,y),f[1]=n(t,a,r,l,y);var g=c.distSquare(b,f);p>g&&(U=y,p=g)}p=1/0;for(var x=0;32>x&&!(u>d);x++){var _=U-d,L=U+d;f[0]=n(e,i,o,s,_),f[1]=n(t,a,r,l,_);var g=c.distSquare(f,b);if(_>=0&&p>g)U=_,p=g;else{k[0]=n(e,i,o,s,L),k[1]=n(t,a,r,l,L);var W=c.distSquare(k,b);1>=L&&p>W?(U=L,p=W):d*=.5}}return V&&(V[0]=n(e,i,o,s,U),V[1]=n(t,a,r,l,U)),Math.sqrt(p)}function h(e,t,i,n){var a=1-n;return a*(a*e+2*n*t)+n*n*i}function m(e,t,i,n){return 2*((1-n)*(t-e)+n*(i-t))}function V(e,n,a,o,r){var s=e-2*n+a,l=2*(n-e),h=e-o,m=0;if(t(s)){if(i(l)){var V=-h/l;V>=0&&1>=V&&(r[m++]=V)}}else{var U=l*l-4*s*h;if(t(U)){var V=-l/(2*s);V>=0&&1>=V&&(r[m++]=V)}else if(U>0){var d=Math.sqrt(U),V=(-l+d)/(2*s),p=(-l-d)/(2*s);V>=0&&1>=V&&(r[m++]=V),p>=0&&1>=p&&(r[m++]=p)}}return m}function U(e,t,i){var n=e+i-2*t;return 0===n?.5:(e-t)/n}function d(e,t,i,n,a){var o=(t-e)*n+e,r=(i-t)*n+t,s=(r-o)*n+o;a[0]=e,a[1]=o,a[2]=s,a[3]=s,a[4]=r,a[5]=i}function p(e,t,i,n,a,o,r,s,l){var m,V=.005,U=1/0;b[0]=r,b[1]=s;for(var d=0;1>d;d+=.05){f[0]=h(e,i,a,d),f[1]=h(t,n,o,d);var p=c.distSquare(b,f);U>p&&(m=d,U=p)}U=1/0;for(var y=0;32>y&&!(u>V);y++){var g=m-V,x=m+V;f[0]=h(e,i,a,g),f[1]=h(t,n,o,g);var p=c.distSquare(f,b);if(g>=0&&U>p)m=g,U=p;else{k[0]=h(e,i,a,x),k[1]=h(t,n,o,x);var _=c.distSquare(k,b);1>=x&&U>_?(m=x,U=_):V*=.5}}return l&&(l[0]=h(e,i,a,m),l[1]=h(t,n,o,m)),Math.sqrt(U)}var c=e("./vector"),u=1e-4,y=Math.sqrt(3),g=1/3,b=c.create(),f=c.create(),k=c.create();return{cubicAt:n,cubicDerivativeAt:a,cubicRootAt:o,cubicExtrema:r,cubicSubdivide:s,cubicProjectPoint:l,quadraticAt:h,quadraticDerivativeAt:m,quadraticRootAt:V,quadraticExtremum:U,quadraticSubdivide:d,quadraticProjectPoint:p}}),i("zrender/mixin/Transformable",["require","../tool/matrix","../tool/vector"],function(e){"use strict";function t(e){return e>-s&&s>e}function i(e){return e>s||-s>e}var n=e("../tool/matrix"),a=e("../tool/vector"),o=[0,0],r=n.translate,s=5e-5,l=function(){this.position||(this.position=[0,0]),"undefined"==typeof this.rotation&&(this.rotation=[0,0,0]),this.scale||(this.scale=[1,1,0,0]),this.needLocalTransform=!1,this.needTransform=!1};return l.prototype={constructor:l,updateNeedTransform:function(){this.needLocalTransform=i(this.rotation[0])||i(this.position[0])||i(this.position[1])||i(this.scale[0]-1)||i(this.scale[1]-1)},updateTransform:function(){this.updateNeedTransform();var e=this.parent&&this.parent.needTransform;if(this.needTransform=this.needLocalTransform||e,this.needTransform){var t=this.transform||n.create();if(n.identity(t),this.needLocalTransform){var a=this.scale;if(i(a[0])||i(a[1])){o[0]=-a[2]||0,o[1]=-a[3]||0;var s=i(o[0])||i(o[1]);s&&r(t,t,o),n.scale(t,t,a),s&&(o[0]=-o[0],o[1]=-o[1],r(t,t,o))}if(this.rotation instanceof Array){if(0!==this.rotation[0]){o[0]=-this.rotation[1]||0,o[1]=-this.rotation[2]||0;var s=i(o[0])||i(o[1]);s&&r(t,t,o),n.rotate(t,t,this.rotation[0]),s&&(o[0]=-o[0],o[1]=-o[1],r(t,t,o))}}else 0!==this.rotation&&n.rotate(t,t,this.rotation);(i(this.position[0])||i(this.position[1]))&&r(t,t,this.position)}e&&(this.needLocalTransform?n.mul(t,this.parent.transform,t):n.copy(t,this.parent.transform)),this.transform=t,this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,t)}},setTransform:function(e){if(this.needTransform){var t=this.transform;e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}},lookAt:function(){var e=a.create();return function(i){this.transform||(this.transform=n.create());var o=this.transform;if(a.sub(e,i,this.position),!t(e[0])||!t(e[1])){a.normalize(e,e);var r=this.scale;o[2]=e[0]*r[1],o[3]=e[1]*r[1],o[0]=e[1]*r[0],o[1]=-e[0]*r[0],o[4]=this.position[0],o[5]=this.position[1],this.decomposeTransform()}}}(),decomposeTransform:function(){if(this.transform){var e=this.transform,t=e[0]*e[0]+e[1]*e[1],n=this.position,a=this.scale,o=this.rotation;i(t-1)&&(t=Math.sqrt(t));var r=e[2]*e[2]+e[3]*e[3];i(r-1)&&(r=Math.sqrt(r)),n[0]=e[4],n[1]=e[5],a[0]=t,a[1]=r,a[2]=a[3]=0,o[0]=Math.atan2(-e[1]/r,e[0]/t),o[1]=o[2]=0}},transformCoordToLocal:function(e,t){var i=[e,t];return this.needTransform&&this.invTransform&&a.applyTransform(i,i,this.invTransform),i}},l}),i("zrender/Group",["require","./tool/guid","./tool/util","./mixin/Transformable","./mixin/Eventful"],function(e){var t=e("./tool/guid"),i=e("./tool/util"),n=e("./mixin/Transformable"),a=e("./mixin/Eventful"),o=function(e){e=e||{},this.id=e.id||t();for(var i in e)this[i]=e[i];this.type="group",this.clipShape=null,this._children=[],this._storage=null,this.__dirty=!0,n.call(this),a.call(this)};return o.prototype.ignore=!1,o.prototype.children=function(){return this._children.slice()},o.prototype.childAt=function(e){return this._children[e]},o.prototype.addChild=function(e){e!=this&&e.parent!=this&&(e.parent&&e.parent.removeChild(e),this._children.push(e),e.parent=this,this._storage&&this._storage!==e._storage&&(this._storage.addToMap(e),e instanceof o&&e.addChildrenToStorage(this._storage)))},o.prototype.removeChild=function(e){var t=i.indexOf(this._children,e);t>=0&&this._children.splice(t,1),e.parent=null,this._storage&&(this._storage.delFromMap(e.id),e instanceof o&&e.delChildrenFromStorage(this._storage))},o.prototype.clearChildren=function(){for(var e=0;e<this._children.length;e++){var t=this._children[e];this._storage&&(this._storage.delFromMap(t.id),t instanceof o&&t.delChildrenFromStorage(this._storage))}this._children.length=0},o.prototype.eachChild=function(e,t){for(var i=!!t,n=0;n<this._children.length;n++){var a=this._children[n];i?e.call(t,a):e(a)}},o.prototype.traverse=function(e,t){for(var i=!!t,n=0;n<this._children.length;n++){var a=this._children[n];i?e.call(t,a):e(a),"group"===a.type&&a.traverse(e,t)}},o.prototype.addChildrenToStorage=function(e){for(var t=0;t<this._children.length;t++){var i=this._children[t];e.addToMap(i),i instanceof o&&i.addChildrenToStorage(e)}},o.prototype.delChildrenFromStorage=function(e){for(var t=0;t<this._children.length;t++){var i=this._children[t];e.delFromMap(i.id),i instanceof o&&i.delChildrenFromStorage(e)}},o.prototype.modSelf=function(){this.__dirty=!0},i.merge(o.prototype,n.prototype,!0),i.merge(o.prototype,a.prototype,!0),o}),i("zrender/animation/Clip",["require","./easing"],function(e){function t(e){this._targetPool=e.target||{},this._targetPool instanceof Array||(this._targetPool=[this._targetPool]),this._life=e.life||1e3,this._delay=e.delay||0,this._startTime=(new Date).getTime()+this._delay,this._endTime=this._startTime+1e3*this._life,this.loop="undefined"==typeof e.loop?!1:e.loop,this.gap=e.gap||0,this.easing=e.easing||"Linear",this.onframe=e.onframe,this.ondestroy=e.ondestroy,this.onrestart=e.onrestart}var i=e("./easing");return t.prototype={step:function(e){var t=(e-this._startTime)/this._life;if(!(0>t)){t=Math.min(t,1);var n="string"==typeof this.easing?i[this.easing]:this.easing,a="function"==typeof n?n(t):t;return this.fire("frame",a),1==t?this.loop?(this.restart(),"restart"):(this.__needsRemove=!0,"destroy"):null}},restart:function(){var e=(new Date).getTime(),t=(e-this._startTime)%this._life;this._startTime=(new Date).getTime()-t+this.gap,this.__needsRemove=!1},fire:function(e,t){for(var i=0,n=this._targetPool.length;n>i;i++)this["on"+e]&&this["on"+e](this._targetPool[i],t)},constructor:t},t}),i("zrender/animation/easing",[],function(){var e={Linear:function(e){return e},QuadraticIn:function(e){return e*e},QuadraticOut:function(e){return e*(2-e)},QuadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},CubicIn:function(e){return e*e*e},CubicOut:function(e){return--e*e*e+1},CubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},QuarticIn:function(e){return e*e*e*e},QuarticOut:function(e){return 1- --e*e*e*e},QuarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},QuinticIn:function(e){return e*e*e*e*e},QuinticOut:function(e){return--e*e*e*e*e+1},QuinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},SinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},SinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},SinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},ExponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},ExponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},ExponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},CircularIn:function(e){return 1-Math.sqrt(1-e*e)},CircularOut:function(e){return Math.sqrt(1- --e*e)},CircularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},ElasticIn:function(e){var t,i=.1,n=.4;return 0===e?0:1===e?1:(!i||1>i?(i=1,t=n/4):t=n*Math.asin(1/i)/(2*Math.PI),-(i*Math.pow(2,10*(e-=1))*Math.sin(2*(e-t)*Math.PI/n)))},ElasticOut:function(e){var t,i=.1,n=.4;return 0===e?0:1===e?1:(!i||1>i?(i=1,t=n/4):t=n*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*e)*Math.sin(2*(e-t)*Math.PI/n)+1)},ElasticInOut:function(e){var t,i=.1,n=.4;return 0===e?0:1===e?1:(!i||1>i?(i=1,t=n/4):t=n*Math.asin(1/i)/(2*Math.PI),(e*=2)<1?-.5*i*Math.pow(2,10*(e-=1))*Math.sin(2*(e-t)*Math.PI/n):i*Math.pow(2,-10*(e-=1))*Math.sin(2*(e-t)*Math.PI/n)*.5+1)},BackIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},BackOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},BackInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*e*e*((t+1)*e-t):.5*((e-=2)*e*((t+1)*e+t)+2)},BounceIn:function(t){return 1-e.BounceOut(1-t)},BounceOut:function(e){return 1/2.75>e?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},BounceInOut:function(t){return.5>t?.5*e.BounceIn(2*t):.5*e.BounceOut(2*t-1)+.5}};return e}),i("echarts/chart/base",["require","zrender/shape/Image","../util/shape/Icon","../util/shape/MarkLine","../util/shape/Symbol","zrender/shape/Polyline","zrender/shape/ShapeBundle","../config","../util/ecData","../util/ecAnimation","../util/ecEffect","../util/accMath","../component/base","../layout/EdgeBundling","zrender/tool/util","zrender/tool/area"],function(e){function t(e){return null!=e.x&&null!=e.y}function i(e,t,i,n,a){p.call(this,e,t,i,n,a);var o=this;this.selectedMap={},this.lastShapeList=[],this.shapeHandler={onclick:function(){o.isClick=!0},ondragover:function(e){var t=e.target;t.highlightStyle=t.highlightStyle||{};var i=t.highlightStyle,n=i.brushTyep,a=i.strokeColor,r=i.lineWidth;i.brushType="stroke",i.strokeColor=o.ecTheme.calculableColor||h.calculableColor,i.lineWidth="icon"===t.type?30:10,o.zr.addHoverShape(t),setTimeout(function(){i&&(i.brushType=n,i.strokeColor=a,i.lineWidth=r)},20)},ondrop:function(e){null!=m.get(e.dragged,"data")&&(o.isDrop=!0)},ondragend:function(){o.isDragend=!0}}}var n=e("zrender/shape/Image"),a=e("../util/shape/Icon"),o=e("../util/shape/MarkLine"),r=e("../util/shape/Symbol"),s=e("zrender/shape/Polyline"),l=e("zrender/shape/ShapeBundle"),h=e("../config"),m=e("../util/ecData"),V=e("../util/ecAnimation"),U=e("../util/ecEffect"),d=e("../util/accMath"),p=e("../component/base"),c=e("../layout/EdgeBundling"),u=e("zrender/tool/util"),y=e("zrender/tool/area");return i.prototype={setCalculable:function(e){return e.dragEnableTime=this.ecTheme.DRAG_ENABLE_TIME||h.DRAG_ENABLE_TIME,e.ondragover=this.shapeHandler.ondragover,e.ondragend=this.shapeHandler.ondragend,e.ondrop=this.shapeHandler.ondrop,e},ondrop:function(e,t){if(this.isDrop&&e.target&&!t.dragIn){var i,n=e.target,a=e.dragged,o=m.get(n,"seriesIndex"),r=m.get(n,"dataIndex"),s=this.series,l=this.component.legend;if(-1===r){if(m.get(a,"seriesIndex")==o)return t.dragOut=t.dragIn=t.needRefresh=!0,void(this.isDrop=!1);i={value:m.get(a,"value"),name:m.get(a,"name")},this.type===h.CHART_TYPE_PIE&&i.value<0&&(i.value=0);for(var V=!1,U=s[o].data,p=0,c=U.length;c>p;p++)U[p].name===i.name&&"-"===U[p].value&&(s[o].data[p].value=i.value,V=!0);!V&&s[o].data.push(i),l&&l.add(i.name,a.style.color||a.style.strokeColor)}else i=s[o].data[r]||"-",null!=i.value?(s[o].data[r].value="-"!=i.value?d.accAdd(s[o].data[r].value,m.get(a,"value")):m.get(a,"value"),(this.type===h.CHART_TYPE_FUNNEL||this.type===h.CHART_TYPE_PIE)&&(l&&1===l.getRelatedAmount(i.name)&&this.component.legend.del(i.name),i.name+=this.option.nameConnector+m.get(a,"name"),l&&l.add(i.name,a.style.color||a.style.strokeColor))):s[o].data[r]="-"!=i?d.accAdd(s[o].data[r],m.get(a,"value")):m.get(a,"value");t.dragIn=t.dragIn||!0,this.isDrop=!1;var u=this;setTimeout(function(){u.zr.trigger("mousemove",e.event)},300)}},ondragend:function(e,t){if(this.isDragend&&e.target&&!t.dragOut){var i=e.target,n=m.get(i,"seriesIndex"),a=m.get(i,"dataIndex"),o=this.series;if(null!=o[n].data[a].value){o[n].data[a].value="-";var r=o[n].data[a].name,s=this.component.legend;s&&0===s.getRelatedAmount(r)&&s.del(r)}else o[n].data[a]="-";t.dragOut=!0,t.needRefresh=!0,this.isDragend=!1}},onlegendSelected:function(e,t){var i=e.selected;for(var n in this.selectedMap)this.selectedMap[n]!=i[n]&&(t.needRefresh=!0),this.selectedMap[n]=i[n]},_buildPosition:function(){this._symbol=this.option.symbolList,this._sIndex2ShapeMap={},this._sIndex2ColorMap={},this.selectedMap={},this.xMarkMap={};for(var e,t,i,n,a=this.series,o={top:[],bottom:[],left:[],right:[],other:[]},r=0,s=a.length;s>r;r++)a[r].type===this.type&&(a[r]=this.reformOption(a[r]),this.legendHoverLink=a[r].legendHoverLink||this.legendHoverLink,e=a[r].xAxisIndex,t=a[r].yAxisIndex,i=this.component.xAxis.getAxis(e),n=this.component.yAxis.getAxis(t),i.type===h.COMPONENT_TYPE_AXIS_CATEGORY?o[i.getPosition()].push(r):n.type===h.COMPONENT_TYPE_AXIS_CATEGORY?o[n.getPosition()].push(r):o.other.push(r));for(var l in o)o[l].length>0&&this._buildSinglePosition(l,o[l]);this.addShapeList()},_buildSinglePosition:function(e,t){var i=this._mapData(t),n=i.locationMap,a=i.maxDataLength;if(0!==a&&0!==n.length){switch(e){case"bottom":case"top":this._buildHorizontal(t,a,n,this.xMarkMap);break;case"left":case"right":this._buildVertical(t,a,n,this.xMarkMap);break;case"other":this._buildOther(t,a,n,this.xMarkMap)}for(var o=0,r=t.length;r>o;o++)this.buildMark(t[o])}},_mapData:function(e){for(var t,i,n,a,o=this.series,r=0,s={},l="__kener__stack__",m=this.component.legend,V=[],U=0,d=0,p=e.length;p>d;d++){if(t=o[e[d]],n=t.name,this._sIndex2ShapeMap[e[d]]=this._sIndex2ShapeMap[e[d]]||this.query(t,"symbol")||this._symbol[d%this._symbol.length],m){if(this.selectedMap[n]=m.isSelected(n),this._sIndex2ColorMap[e[d]]=m.getColor(n),a=m.getItemShape(n)){var c=a.style;if(this.type==h.CHART_TYPE_LINE)c.iconType="legendLineIcon",c.symbol=this._sIndex2ShapeMap[e[d]];else if(t.itemStyle.normal.barBorderWidth>0){var u=a.highlightStyle;c.brushType="both",c.x+=1,c.y+=1,c.width-=2,c.height-=2,c.strokeColor=u.strokeColor=t.itemStyle.normal.barBorderColor,u.lineWidth=3}m.setItemShape(n,a)}}else this.selectedMap[n]=!0,this._sIndex2ColorMap[e[d]]=this.zr.getColor(e[d]);this.selectedMap[n]&&(i=t.stack||l+e[d],null==s[i]?(s[i]=r,V[r]=[e[d]],r++):V[s[i]].push(e[d])),U=Math.max(U,t.data.length)}return{locationMap:V,maxDataLength:U}},_calculMarkMapXY:function(e,t,i){for(var n=this.series,a=0,o=t.length;o>a;a++)for(var r=0,s=t[a].length;s>r;r++){var l=t[a][r],h="xy"==i?0:"",m=this.component.grid,V=e[l];if("-1"!=i.indexOf("x")){V["counter"+h]>0&&(V["average"+h]=V["sum"+h]/V["counter"+h]);var U=this.component.xAxis.getAxis(n[l].xAxisIndex||0).getCoord(V["average"+h]);V["averageLine"+h]=[[U,m.getYend()],[U,m.getY()]],V["minLine"+h]=[[V["minX"+h],m.getYend()],[V["minX"+h],m.getY()]],V["maxLine"+h]=[[V["maxX"+h],m.getYend()],[V["maxX"+h],m.getY()]],V.isHorizontal=!1}if(h="xy"==i?1:"","-1"!=i.indexOf("y")){V["counter"+h]>0&&(V["average"+h]=V["sum"+h]/V["counter"+h]);var d=this.component.yAxis.getAxis(n[l].yAxisIndex||0).getCoord(V["average"+h]);V["averageLine"+h]=[[m.getX(),d],[m.getXend(),d]],V["minLine"+h]=[[m.getX(),V["minY"+h]],[m.getXend(),V["minY"+h]]],V["maxLine"+h]=[[m.getX(),V["maxY"+h]],[m.getXend(),V["maxY"+h]]],V.isHorizontal=!0}}},addLabel:function(e,t,i,n,a){var o=[i,t],r=this.deepMerge(o,"itemStyle.normal.label"),s=this.deepMerge(o,"itemStyle.emphasis.label"),l=r.textStyle||{},h=s.textStyle||{};
-
-if(r.show){var m=e.style;m.text=this._getLabelText(t,i,n,"normal"),m.textPosition=null==r.position?"horizontal"===a?"right":"top":r.position,m.textColor=l.color,m.textFont=this.getFont(l),m.textAlign=l.align,m.textBaseline=l.baseline}if(s.show){var V=e.highlightStyle;V.text=this._getLabelText(t,i,n,"emphasis"),V.textPosition=r.show?e.style.textPosition:null==s.position?"horizontal"===a?"right":"top":s.position,V.textColor=h.color,V.textFont=this.getFont(h),V.textAlign=h.align,V.textBaseline=h.baseline}return e},_getLabelText:function(e,t,i,n){var a=this.deepQuery([t,e],"itemStyle."+n+".label.formatter");a||"emphasis"!==n||(a=this.deepQuery([t,e],"itemStyle.normal.label.formatter"));var o=this.getDataFromOption(t,"-");return a?"function"==typeof a?a.call(this.myChart,{seriesName:e.name,series:e,name:i,value:o,data:t,status:n}):"string"==typeof a?a=a.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}").replace("{a0}",e.name).replace("{b0}",i).replace("{c0}",this.numAddCommas(o)):void 0:o instanceof Array?null!=o[2]?this.numAddCommas(o[2]):o[0]+" , "+o[1]:this.numAddCommas(o)},buildMark:function(e){var t=this.series[e];this.selectedMap[t.name]&&(t.markLine&&this._buildMarkLine(e),t.markPoint&&this._buildMarkPoint(e))},_buildMarkPoint:function(e){for(var t,i,n=(this.markAttachStyle||{})[e],a=this.series[e],o=u.clone(a.markPoint),r=0,s=o.data.length;s>r;r++)t=o.data[r],i=this.getMarkCoord(e,t),t.x=null!=t.x?t.x:i[0],t.y=null!=t.y?t.y:i[1],!t.type||"max"!==t.type&&"min"!==t.type||(t.value=i[3],t.name=t.name||t.type,t.symbolSize=t.symbolSize||y.getTextWidth(i[3],this.getFont())/2+5);for(var l=this._markPoint(e,o),r=0,s=l.length;s>r;r++){var m=l[r];m.zlevel=a.zlevel,m.z=a.z+1;for(var V in n)m[V]=u.clone(n[V]);this.shapeList.push(m)}if(this.type===h.CHART_TYPE_FORCE||this.type===h.CHART_TYPE_CHORD)for(var r=0,s=l.length;s>r;r++)this.zr.addShape(l[r])},_buildMarkLine:function(e){for(var t,i=(this.markAttachStyle||{})[e],n=this.series[e],a=u.clone(n.markLine),o=0,r=a.data.length;r>o;o++){var s=a.data[o];!s.type||"max"!==s.type&&"min"!==s.type&&"average"!==s.type?t=[this.getMarkCoord(e,s[0]),this.getMarkCoord(e,s[1])]:(t=this.getMarkCoord(e,s),a.data[o]=[u.clone(s),{}],a.data[o][0].name=s.name||s.type,a.data[o][0].value="average"!==s.type?t[3]:+t[3].toFixed(null!=a.precision?a.precision:this.deepQuery([this.ecTheme,h],"markLine.precision")),t=t[2],s=[{},{}]),null!=t&&null!=t[0]&&null!=t[1]&&(a.data[o][0].x=null!=s[0].x?s[0].x:t[0][0],a.data[o][0].y=null!=s[0].y?s[0].y:t[0][1],a.data[o][1].x=null!=s[1].x?s[1].x:t[1][0],a.data[o][1].y=null!=s[1].y?s[1].y:t[1][1])}var m=this._markLine(e,a),V=a.large;if(V){var U=new l({style:{shapeList:m}}),d=m[0];if(d){u.merge(U.style,d.style),u.merge(U.highlightStyle={},d.highlightStyle),U.style.brushType="stroke",U.zlevel=n.zlevel,U.z=n.z+1,U.hoverable=!1;for(var p in i)U[p]=u.clone(i[p])}this.shapeList.push(U),this.zr.addShape(U),U._mark="largeLine";var c=a.effect;c.show&&(U.effect=c)}else{for(var o=0,r=m.length;r>o;o++){var y=m[o];y.zlevel=n.zlevel,y.z=n.z+1;for(var p in i)y[p]=u.clone(i[p]);this.shapeList.push(y)}if(this.type===h.CHART_TYPE_FORCE||this.type===h.CHART_TYPE_CHORD)for(var o=0,r=m.length;r>o;o++)this.zr.addShape(m[o])}},_markPoint:function(e,t){var i=this.series[e],n=this.component;u.merge(u.merge(t,u.clone(this.ecTheme.markPoint||{})),u.clone(h.markPoint)),t.name=i.name;var a,o,r,s,l,V,U,d=[],p=t.data,c=n.dataRange,y=n.legend,g=this.zr.getWidth(),b=this.zr.getHeight();if(t.large)a=this.getLargeMarkPointShape(e,t),a._mark="largePoint",a&&d.push(a);else for(var f=0,k=p.length;k>f;f++)null!=p[f].x&&null!=p[f].y&&(r=null!=p[f].value?p[f].value:"",y&&(o=y.getColor(i.name)),c&&(o=isNaN(r)?o:c.getColor(r),s=[p[f],t],l=this.deepQuery(s,"itemStyle.normal.color")||o,V=this.deepQuery(s,"itemStyle.emphasis.color")||l,null==l&&null==V)||(o=null==o?this.zr.getColor(e):o,p[f].tooltip=p[f].tooltip||t.tooltip||{trigger:"item"},p[f].name=null!=p[f].name?p[f].name:"",p[f].value=r,a=this.getSymbolShape(t,e,p[f],f,p[f].name,this.parsePercent(p[f].x,g),this.parsePercent(p[f].y,b),"pin",o,"rgba(0,0,0,0)","horizontal"),a._mark="point",U=this.deepMerge([p[f],t],"effect"),U.show&&(a.effect=U),i.type===h.CHART_TYPE_MAP&&(a._geo=this.getMarkGeo(p[f])),m.pack(a,i,e,p[f],f,p[f].name,r),d.push(a)));return d},_markLine:function(){function e(e,t){e[t]=e[t]instanceof Array?e[t].length>1?e[t]:[e[t][0],e[t][0]]:[e[t],e[t]]}return function(i,n){var a=this.series[i],o=this.component,r=o.dataRange,s=o.legend;u.merge(u.merge(n,u.clone(this.ecTheme.markLine||{})),u.clone(h.markLine));var l=s?s.getColor(a.name):this.zr.getColor(i);e(n,"symbol"),e(n,"symbolSize"),e(n,"symbolRotate");for(var V=n.data,U=[],d=this.zr.getWidth(),p=this.zr.getHeight(),y=0;y<V.length;y++){var g=V[y];if(t(g[0])&&t(g[1])){var b=this.deepMerge(g),f=[b,n],k=l,x=null!=b.value?b.value:"";if(r){k=isNaN(x)?k:r.getColor(x);var _=this.deepQuery(f,"itemStyle.normal.color")||k,L=this.deepQuery(f,"itemStyle.emphasis.color")||_;if(null==_&&null==L)continue}g[0].tooltip=b.tooltip||n.tooltip||{trigger:"item"},g[0].name=g[0].name||"",g[1].name=g[1].name||"",g[0].value=x,U.push({points:[[this.parsePercent(g[0].x,d),this.parsePercent(g[0].y,p)],[this.parsePercent(g[1].x,d),this.parsePercent(g[1].y,p)]],rawData:g,color:k})}}var W=this.query(n,"bundling.enable");if(W){var X=new c;X.maxTurningAngle=this.query(n,"bundling.maxTurningAngle")/180*Math.PI,U=X.run(U)}n.name=a.name;for(var v=[],y=0,w=U.length;w>y;y++){var K=U[y],I=K.rawEdge||K,g=I.rawData,x=null!=g.value?g.value:"",J=this.getMarkLineShape(n,i,g,y,K.points,W,I.color);J._mark="line";var C=this.deepMerge([g[0],g[1],n],"effect");C.show&&(J.effect=C,J.effect.large=n.large),a.type===h.CHART_TYPE_MAP&&(J._geo=[this.getMarkGeo(g[0]),this.getMarkGeo(g[1])]),m.pack(J,a,i,g[0],y,g[0].name+(""!==g[1].name?" > "+g[1].name:""),x),v.push(J)}return v}}(),getMarkCoord:function(){return[0,0]},getSymbolShape:function(e,t,i,o,r,s,l,h,V,U,d){var p=[i,e],c=this.getDataFromOption(i,"-");h=this.deepQuery(p,"symbol")||h;var u=this.deepQuery(p,"symbolSize");u="function"==typeof u?u(c):u,"number"==typeof u&&(u=[u,u]);var y=this.deepQuery(p,"symbolRotate"),g=this.deepMerge(p,"itemStyle.normal"),b=this.deepMerge(p,"itemStyle.emphasis"),f=null!=g.borderWidth?g.borderWidth:g.lineStyle&&g.lineStyle.width;null==f&&(f=h.match("empty")?2:0);var k=null!=b.borderWidth?b.borderWidth:b.lineStyle&&b.lineStyle.width;null==k&&(k=f+2);var x=this.getItemStyleColor(g.color,t,o,i),_=this.getItemStyleColor(b.color,t,o,i),L=u[0],W=u[1],X=new a({style:{iconType:h.replace("empty","").toLowerCase(),x:s-L,y:l-W,width:2*L,height:2*W,brushType:"both",color:h.match("empty")?U:x||V,strokeColor:g.borderColor||x||V,lineWidth:f},highlightStyle:{color:h.match("empty")?U:_||x||V,strokeColor:b.borderColor||g.borderColor||_||x||V,lineWidth:k},clickable:this.deepQuery(p,"clickable")});return h.match("image")&&(X.style.image=h.replace(new RegExp("^image:\\/\\/"),""),X=new n({style:X.style,highlightStyle:X.highlightStyle,clickable:this.deepQuery(p,"clickable")})),null!=y&&(X.rotation=[y*Math.PI/180,s,l]),h.match("star")&&(X.style.iconType="star",X.style.n=h.replace("empty","").replace("star","")-0||5),"none"===h&&(X.invisible=!0,X.hoverable=!1),X=this.addLabel(X,e,i,r,d),h.match("empty")&&(null==X.style.textColor&&(X.style.textColor=X.style.strokeColor),null==X.highlightStyle.textColor&&(X.highlightStyle.textColor=X.highlightStyle.strokeColor)),m.pack(X,e,t,i,o,r),X._x=s,X._y=l,X._dataIndex=o,X._seriesIndex=t,X},getMarkLineShape:function(e,t,i,n,a,r,l){var h=null!=i[0].value?i[0].value:"-",m=null!=i[1].value?i[1].value:"-",V=[i[0].symbol||e.symbol[0],i[1].symbol||e.symbol[1]],U=[i[0].symbolSize||e.symbolSize[0],i[1].symbolSize||e.symbolSize[1]];U[0]="function"==typeof U[0]?U[0](h):U[0],U[1]="function"==typeof U[1]?U[1](m):U[1];var d=[this.query(i[0],"symbolRotate")||e.symbolRotate[0],this.query(i[1],"symbolRotate")||e.symbolRotate[1]],p=[i[0],i[1],e],c=this.deepMerge(p,"itemStyle.normal");c.color=this.getItemStyleColor(c.color,t,n,i);var u=this.deepMerge(p,"itemStyle.emphasis");u.color=this.getItemStyleColor(u.color,t,n,i);var y=c.lineStyle,g=u.lineStyle,b=y.width;null==b&&(b=c.borderWidth);var f=g.width;null==f&&(f=null!=u.borderWidth?u.borderWidth:b+2);var k=this.deepQuery(p,"smoothness");this.deepQuery(p,"smooth")||(k=0);var x=r?s:o,_=new x({style:{symbol:V,symbolSize:U,symbolRotate:d,brushType:"both",lineType:y.type,shadowColor:y.shadowColor||y.color||c.borderColor||c.color||l,shadowBlur:y.shadowBlur,shadowOffsetX:y.shadowOffsetX,shadowOffsetY:y.shadowOffsetY,color:c.color||l,strokeColor:y.color||c.borderColor||c.color||l,lineWidth:b,symbolBorderColor:c.borderColor||c.color||l,symbolBorder:c.borderWidth},highlightStyle:{shadowColor:g.shadowColor,shadowBlur:g.shadowBlur,shadowOffsetX:g.shadowOffsetX,shadowOffsetY:g.shadowOffsetY,color:u.color||c.color||l,strokeColor:g.color||y.color||u.borderColor||c.borderColor||u.color||c.color||l,lineWidth:f,symbolBorderColor:u.borderColor||c.borderColor||u.color||c.color||l,symbolBorder:null==u.borderWidth?c.borderWidth+2:u.borderWidth},clickable:this.deepQuery(p,"clickable")}),L=_.style;return r?(L.pointList=a,L.smooth=k):(L.xStart=a[0][0],L.yStart=a[0][1],L.xEnd=a[1][0],L.yEnd=a[1][1],L.curveness=k,_.updatePoints(_.style)),_=this.addLabel(_,e,i[0],i[0].name+" : "+i[1].name)},getLargeMarkPointShape:function(e,t){var i,n,a,o,s,l,h=this.series[e],m=this.component,V=t.data,U=m.dataRange,d=m.legend,p=[V[0],t];if(d&&(n=d.getColor(h.name)),!U||(a=null!=V[0].value?V[0].value:"",n=isNaN(a)?n:U.getColor(a),o=this.deepQuery(p,"itemStyle.normal.color")||n,s=this.deepQuery(p,"itemStyle.emphasis.color")||o,null!=o||null!=s)){n=this.deepMerge(p,"itemStyle.normal").color||n;var c=this.deepQuery(p,"symbol")||"circle";c=c.replace("empty","").replace(/\d/g,""),l=this.deepMerge([V[0],t],"effect");var u=window.devicePixelRatio||1;return i=new r({style:{pointList:V,color:n,strokeColor:n,shadowColor:l.shadowColor||n,shadowBlur:(null!=l.shadowBlur?l.shadowBlur:8)*u,size:this.deepQuery(p,"symbolSize"),iconType:c,brushType:"fill",lineWidth:1},draggable:!1,hoverable:!1}),l.show&&(i.effect=l),i}},backupShapeList:function(){this.shapeList&&this.shapeList.length>0?(this.lastShapeList=this.shapeList,this.shapeList=[]):this.lastShapeList=[]},addShapeList:function(){var e,t,i=this.option.animationThreshold/(this.canvasSupported?2:4),n=this.lastShapeList,a=this.shapeList,o=n.length>0,r=o?this.query(this.option,"animationDurationUpdate"):this.query(this.option,"animationDuration"),s=this.query(this.option,"animationEasing"),l={},m={};if(this.option.animation&&!this.option.renderAsImage&&a.length<i&&!this.motionlessOnce){for(var V=0,U=n.length;U>V;V++)t=this._getAnimationKey(n[V]),t.match("undefined")?this.zr.delShape(n[V].id):(t+=n[V].type,l[t]?this.zr.delShape(n[V].id):l[t]=n[V]);for(var V=0,U=a.length;U>V;V++)t=this._getAnimationKey(a[V]),t.match("undefined")?this.zr.addShape(a[V]):(t+=a[V].type,m[t]=a[V]);for(t in l)m[t]||this.zr.delShape(l[t].id);for(t in m)l[t]?(this.zr.delShape(l[t].id),this._animateMod(l[t],m[t],r,s,0,o)):(e=this.type!=h.CHART_TYPE_LINE&&this.type!=h.CHART_TYPE_RADAR||0===t.indexOf("icon")?0:r/2,this._animateMod(!1,m[t],r,s,e,o));this.zr.refresh(),this.animationEffect()}else{this.motionlessOnce=!1,this.zr.delShape(n);for(var V=0,U=a.length;U>V;V++)this.zr.addShape(a[V])}},_getAnimationKey:function(e){return this.type!=h.CHART_TYPE_MAP&&this.type!=h.CHART_TYPE_TREEMAP&&this.type!=h.CHART_TYPE_VENN&&this.type!=h.CHART_TYPE_TREE?m.get(e,"seriesIndex")+"_"+m.get(e,"dataIndex")+(e._mark?e._mark:"")+(this.type===h.CHART_TYPE_RADAR?m.get(e,"special"):""):m.get(e,"seriesIndex")+"_"+m.get(e,"dataIndex")+(e._mark?e._mark:"undefined")},_animateMod:function(e,t,i,n,a,o){switch(t.type){case"polyline":case"half-smooth-polygon":V.pointList(this.zr,e,t,i,n);break;case"rectangle":V.rectangle(this.zr,e,t,i,n);break;case"image":case"icon":V.icon(this.zr,e,t,i,n,a);break;case"candle":o?this.zr.addShape(t):V.candle(this.zr,e,t,i,n);break;case"ring":case"sector":case"circle":o?"sector"===t.type?V.sector(this.zr,e,t,i,n):this.zr.addShape(t):V.ring(this.zr,e,t,i+(m.get(t,"dataIndex")||0)%20*100,n);break;case"text":V.text(this.zr,e,t,i,n);break;case"polygon":o?V.pointList(this.zr,e,t,i,n):V.polygon(this.zr,e,t,i,n);break;case"ribbon":V.ribbon(this.zr,e,t,i,n);break;case"gauge-pointer":V.gaugePointer(this.zr,e,t,i,n);break;case"mark-line":V.markline(this.zr,e,t,i,n);break;case"bezier-curve":case"line":V.line(this.zr,e,t,i,n);break;default:this.zr.addShape(t)}},animationMark:function(e,t,i){for(var i=i||this.shapeList,n=0,a=i.length;a>n;n++)i[n]._mark&&this._animateMod(!1,i[n],e,t,0,!0);this.animationEffect(i)},animationEffect:function(e){if(!e&&this.clearEffectShape(),e=e||this.shapeList,null!=e){var t=h.EFFECT_ZLEVEL;this.canvasSupported&&this.zr.modLayer(t,{motionBlur:!0,lastFrameAlpha:this.option.effectBlendAlpha||h.effectBlendAlpha});for(var i,n=0,a=e.length;a>n;n++)i=e[n],i._mark&&i.effect&&i.effect.show&&U[i._mark]&&(U[i._mark](this.zr,this.effectList,i,t),this.effectList[this.effectList.length-1]._mark=i._mark)}},clearEffectShape:function(e){var t=this.effectList;if(this.zr&&t&&t.length>0){e&&this.zr.modLayer(h.EFFECT_ZLEVEL,{motionBlur:!1}),this.zr.delShape(t);for(var i=0;i<t.length;i++)t[i].effectAnimator&&t[i].effectAnimator.stop()}this.effectList=[]},addMark:function(e,t,i){var n=this.series[e];if(this.selectedMap[n.name]){var a=this.query(this.option,"animationDurationUpdate"),o=this.query(this.option,"animationEasing"),r=n[i].data,s=this.shapeList.length;if(n[i].data=t.data,this["_build"+i.replace("m","M")](e),this.option.animation&&!this.option.renderAsImage)this.animationMark(a,o,this.shapeList.slice(s));else{for(var l=s,h=this.shapeList.length;h>l;l++)this.zr.addShape(this.shapeList[l]);this.zr.refreshNextFrame()}n[i].data=r}},delMark:function(e,t,i){i=i.replace("mark","").replace("large","").toLowerCase();var n=this.series[e];if(this.selectedMap[n.name]){for(var a=!1,o=[this.shapeList,this.effectList],r=2;r--;)for(var s=0,l=o[r].length;l>s;s++)if(o[r][s]._mark==i&&m.get(o[r][s],"seriesIndex")==e&&m.get(o[r][s],"name")==t){this.zr.delShape(o[r][s].id),o[r].splice(s,1),a=!0;break}a&&this.zr.refreshNextFrame()}}},u.inherits(i,p),i}),i("zrender/shape/Circle",["require","./Base","../tool/util"],function(e){"use strict";var t=e("./Base"),i=function(e){t.call(this,e)};return i.prototype={type:"circle",buildPath:function(e,t){e.moveTo(t.x+t.r,t.y),e.arc(t.x,t.y,t.r,0,2*Math.PI,!0)},getRect:function(e){if(e.__rect)return e.__rect;var t;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x-e.r-t/2),y:Math.round(e.y-e.r-t/2),width:2*e.r+t,height:2*e.r+t},e.__rect}},e("../tool/util").inherits(i,t),i}),i("echarts/util/accMath",[],function(){function e(e,t){var i=e.toString(),n=t.toString(),a=0;try{a=n.split(".")[1].length}catch(o){}try{a-=i.split(".")[1].length}catch(o){}return(i.replace(".","")-0)/(n.replace(".","")-0)*Math.pow(10,a)}function t(e,t){var i=e.toString(),n=t.toString(),a=0;try{a+=i.split(".")[1].length}catch(o){}try{a+=n.split(".")[1].length}catch(o){}return(i.replace(".","")-0)*(n.replace(".","")-0)/Math.pow(10,a)}function i(e,t){var i=0,n=0;try{i=e.toString().split(".")[1].length}catch(a){}try{n=t.toString().split(".")[1].length}catch(a){}var o=Math.pow(10,Math.max(i,n));return(Math.round(e*o)+Math.round(t*o))/o}function n(e,t){return i(e,-t)}return{accDiv:e,accMul:t,accAdd:i,accSub:n}}),i("echarts/util/shape/Icon",["require","zrender/tool/util","zrender/shape/Star","zrender/shape/Heart","zrender/shape/Droplet","zrender/shape/Image","zrender/shape/Base"],function(e){function t(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i,n+t.height),e.lineTo(i+5*a,n+14*o),e.lineTo(i+t.width,n+3*o),e.lineTo(i+13*a,n),e.lineTo(i+2*a,n+11*o),e.lineTo(i,n+t.height),e.moveTo(i+6*a,n+10*o),e.lineTo(i+14*a,n+2*o),e.moveTo(i+10*a,n+13*o),e.lineTo(i+t.width,n+13*o),e.moveTo(i+13*a,n+10*o),e.lineTo(i+13*a,n+t.height)}function i(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i,n+t.height),e.lineTo(i+5*a,n+14*o),e.lineTo(i+t.width,n+3*o),e.lineTo(i+13*a,n),e.lineTo(i+2*a,n+11*o),e.lineTo(i,n+t.height),e.moveTo(i+6*a,n+10*o),e.lineTo(i+14*a,n+2*o),e.moveTo(i+10*a,n+13*o),e.lineTo(i+t.width,n+13*o)}function n(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i+4*a,n+15*o),e.lineTo(i+9*a,n+13*o),e.lineTo(i+14*a,n+8*o),e.lineTo(i+11*a,n+5*o),e.lineTo(i+6*a,n+10*o),e.lineTo(i+4*a,n+15*o),e.moveTo(i+5*a,n),e.lineTo(i+11*a,n),e.moveTo(i+5*a,n+o),e.lineTo(i+11*a,n+o),e.moveTo(i,n+2*o),e.lineTo(i+t.width,n+2*o),e.moveTo(i,n+5*o),e.lineTo(i+3*a,n+t.height),e.lineTo(i+13*a,n+t.height),e.lineTo(i+t.width,n+5*o)}function a(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i,n+3*o),e.lineTo(i+6*a,n+3*o),e.moveTo(i+3*a,n),e.lineTo(i+3*a,n+6*o),e.moveTo(i+3*a,n+8*o),e.lineTo(i+3*a,n+t.height),e.lineTo(i+t.width,n+t.height),e.lineTo(i+t.width,n+3*o),e.lineTo(i+8*a,n+3*o)}function o(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i+6*a,n),e.lineTo(i+2*a,n+3*o),e.lineTo(i+6*a,n+6*o),e.moveTo(i+2*a,n+3*o),e.lineTo(i+14*a,n+3*o),e.lineTo(i+14*a,n+11*o),e.moveTo(i+2*a,n+5*o),e.lineTo(i+2*a,n+13*o),e.lineTo(i+14*a,n+13*o),e.moveTo(i+10*a,n+10*o),e.lineTo(i+14*a,n+13*o),e.lineTo(i+10*a,n+t.height)}function r(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16,r=t.width/2;e.lineWidth=1.5,e.arc(i+r,n+r,r-a,0,2*Math.PI/3),e.moveTo(i+3*a,n+t.height),e.lineTo(i+0*a,n+12*o),e.lineTo(i+5*a,n+11*o),e.moveTo(i,n+8*o),e.arc(i+r,n+r,r-a,Math.PI,5*Math.PI/3),e.moveTo(i+13*a,n),e.lineTo(i+t.width,n+4*o),e.lineTo(i+11*a,n+5*o)}function s(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i,n),e.lineTo(i,n+t.height),e.lineTo(i+t.width,n+t.height),e.moveTo(i+2*a,n+14*o),e.lineTo(i+7*a,n+6*o),e.lineTo(i+11*a,n+11*o),e.lineTo(i+15*a,n+2*o)}function l(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i,n),e.lineTo(i,n+t.height),e.lineTo(i+t.width,n+t.height),e.moveTo(i+3*a,n+14*o),e.lineTo(i+3*a,n+6*o),e.lineTo(i+4*a,n+6*o),e.lineTo(i+4*a,n+14*o),e.moveTo(i+7*a,n+14*o),e.lineTo(i+7*a,n+2*o),e.lineTo(i+8*a,n+2*o),e.lineTo(i+8*a,n+14*o),e.moveTo(i+11*a,n+14*o),e.lineTo(i+11*a,n+9*o),e.lineTo(i+12*a,n+9*o),e.lineTo(i+12*a,n+14*o)}function h(e,t){var i=t.x,n=t.y,a=t.width-2,o=t.height-2,r=Math.min(a,o)/2;n+=2,e.moveTo(i+r+3,n+r-3),e.arc(i+r+3,n+r-3,r-1,0,-Math.PI/2,!0),e.lineTo(i+r+3,n+r-3),e.moveTo(i+r,n),e.lineTo(i+r,n+r),e.arc(i+r,n+r,r,-Math.PI/2,2*Math.PI,!0),e.lineTo(i+r,n+r),e.lineWidth=1.5}function m(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;n-=o,e.moveTo(i+1*a,n+2*o),e.lineTo(i+15*a,n+2*o),e.lineTo(i+14*a,n+3*o),e.lineTo(i+2*a,n+3*o),e.moveTo(i+3*a,n+6*o),e.lineTo(i+13*a,n+6*o),e.lineTo(i+12*a,n+7*o),e.lineTo(i+4*a,n+7*o),e.moveTo(i+5*a,n+10*o),e.lineTo(i+11*a,n+10*o),e.lineTo(i+10*a,n+11*o),e.lineTo(i+6*a,n+11*o),e.moveTo(i+7*a,n+14*o),e.lineTo(i+9*a,n+14*o),e.lineTo(i+8*a,n+15*o),e.lineTo(i+7*a,n+15*o)}function V(e,t){var i=t.x,n=t.y,a=t.width,o=t.height,r=a/16,s=o/16,l=2*Math.min(r,s);e.moveTo(i+r+l,n+s+l),e.arc(i+r,n+s,l,Math.PI/4,3*Math.PI),e.lineTo(i+7*r-l,n+6*s-l),e.arc(i+7*r,n+6*s,l,Math.PI/4*5,4*Math.PI),e.arc(i+7*r,n+6*s,l/2,Math.PI/4*5,4*Math.PI),e.moveTo(i+7*r-l/2,n+6*s+l),e.lineTo(i+r+l,n+14*s-l),e.arc(i+r,n+14*s,l,-Math.PI/4,2*Math.PI),e.moveTo(i+7*r+l/2,n+6*s),e.lineTo(i+14*r-l,n+10*s-l/2),e.moveTo(i+16*r,n+10*s),e.arc(i+14*r,n+10*s,l,0,3*Math.PI),e.lineWidth=1.5}function U(e,t){var i=t.x,n=t.y,a=t.width,o=t.height,r=Math.min(a,o)/2;e.moveTo(i+a,n+o/2),e.arc(i+r,n+r,r,0,2*Math.PI),e.arc(i+r,n,r,Math.PI/4,Math.PI/5*4),e.arc(i,n+r,r,-Math.PI/3,Math.PI/3),e.arc(i+a,n+o,r,Math.PI,Math.PI/2*3),e.lineWidth=1.5}function d(e,t){for(var i=t.x,n=t.y,a=t.width,o=t.height,r=Math.round(o/3),s=Math.round((r-2)/2),l=3;l--;)e.rect(i,n+r*l+s,a,2)}function p(e,t){for(var i=t.x,n=t.y,a=t.width,o=t.height,r=Math.round(a/3),s=Math.round((r-2)/2),l=3;l--;)e.rect(i+r*l+s,n,2,o)}function c(e,t){var i=t.x,n=t.y,a=t.width/16;e.moveTo(i+a,n),e.lineTo(i+a,n+t.height),e.lineTo(i+15*a,n+t.height),e.lineTo(i+15*a,n),e.lineTo(i+a,n),e.moveTo(i+3*a,n+3*a),e.lineTo(i+13*a,n+3*a),e.moveTo(i+3*a,n+6*a),e.lineTo(i+13*a,n+6*a),e.moveTo(i+3*a,n+9*a),e.lineTo(i+13*a,n+9*a),e.moveTo(i+3*a,n+12*a),e.lineTo(i+9*a,n+12*a)}function u(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i,n),e.lineTo(i,n+t.height),e.lineTo(i+t.width,n+t.height),e.lineTo(i+t.width,n),e.lineTo(i,n),e.moveTo(i+4*a,n),e.lineTo(i+4*a,n+8*o),e.lineTo(i+12*a,n+8*o),e.lineTo(i+12*a,n),e.moveTo(i+6*a,n+11*o),e.lineTo(i+6*a,n+13*o),e.lineTo(i+10*a,n+13*o),e.lineTo(i+10*a,n+11*o),e.lineTo(i+6*a,n+11*o)}function y(e,t){var i=t.x,n=t.y,a=t.width,o=t.height;e.moveTo(i,n+o/2),e.lineTo(i+a,n+o/2),e.moveTo(i+a/2,n),e.lineTo(i+a/2,n+o)}function g(e,t){var i=t.width/2,n=t.height/2,a=Math.min(i,n);e.moveTo(t.x+i+a,t.y+n),e.arc(t.x+i,t.y+n,a,0,2*Math.PI),e.closePath()}function b(e,t){e.rect(t.x,t.y,t.width,t.height),e.closePath()}function f(e,t){var i=t.width/2,n=t.height/2,a=t.x+i,o=t.y+n,r=Math.min(i,n);e.moveTo(a,o-r),e.lineTo(a+r,o+r),e.lineTo(a-r,o+r),e.lineTo(a,o-r),e.closePath()}function k(e,t){var i=t.width/2,n=t.height/2,a=t.x+i,o=t.y+n,r=Math.min(i,n);e.moveTo(a,o-r),e.lineTo(a+r,o),e.lineTo(a,o+r),e.lineTo(a-r,o),e.lineTo(a,o-r),e.closePath()}function x(e,t){var i=t.x,n=t.y,a=t.width/16;e.moveTo(i+8*a,n),e.lineTo(i+a,n+t.height),e.lineTo(i+8*a,n+t.height/4*3),e.lineTo(i+15*a,n+t.height),e.lineTo(i+8*a,n),e.closePath()}function _(t,i){var n=e("zrender/shape/Star"),a=i.width/2,o=i.height/2;n.prototype.buildPath(t,{x:i.x+a,y:i.y+o,r:Math.min(a,o),n:i.n||5})}function L(t,i){var n=e("zrender/shape/Heart");n.prototype.buildPath(t,{x:i.x+i.width/2,y:i.y+.2*i.height,a:i.width/2,b:.8*i.height})}function W(t,i){var n=e("zrender/shape/Droplet");n.prototype.buildPath(t,{x:i.x+.5*i.width,y:i.y+.5*i.height,a:.5*i.width,b:.8*i.height})}function X(e,t){var i=t.x,n=t.y-t.height/2*1.5,a=t.width/2,o=t.height/2,r=Math.min(a,o);e.arc(i+a,n+o,r,Math.PI/5*4,Math.PI/5),e.lineTo(i+a,n+o+1.5*r),e.closePath()}function v(t,i,n){var a=e("zrender/shape/Image");this._imageShape=this._imageShape||new a({style:{}});for(var o in i)this._imageShape.style[o]=i[o];this._imageShape.brush(t,!1,n)}function w(e){I.call(this,e)}var K=e("zrender/tool/util"),I=e("zrender/shape/Base");return w.prototype={type:"icon",iconLibrary:{mark:t,markUndo:i,markClear:n,dataZoom:a,dataZoomReset:o,restore:r,lineChart:s,barChart:l,pieChart:h,funnelChart:m,forceChart:V,chordChart:U,stackChart:d,tiledChart:p,dataView:c,saveAsImage:u,cross:y,circle:g,rectangle:b,triangle:f,diamond:k,arrow:x,star:_,heart:L,droplet:W,pin:X,image:v},brush:function(t,i,n){var a=i?this.highlightStyle:this.style;a=a||{};var o=a.iconType||this.style.iconType;if("image"===o){var r=e("zrender/shape/Image");r.prototype.brush.call(this,t,i,n)}else{var a=this.beforeBrush(t,i);switch(t.beginPath(),this.buildPath(t,a,n),a.brushType){case"both":t.fill();case"stroke":a.lineWidth>0&&t.stroke();break;default:t.fill()}this.drawText(t,a,this.style),this.afterBrush(t)}},buildPath:function(e,t,i){this.iconLibrary[t.iconType]?this.iconLibrary[t.iconType].call(this,e,t,i):(e.moveTo(t.x,t.y),e.lineTo(t.x+t.width,t.y),e.lineTo(t.x+t.width,t.y+t.height),e.lineTo(t.x,t.y+t.height),e.lineTo(t.x,t.y),e.closePath())},getRect:function(e){return e.__rect?e.__rect:(e.__rect={x:Math.round(e.x),y:Math.round(e.y-("pin"==e.iconType?e.height/2*1.5:0)),width:e.width,height:e.height*("pin"===e.iconType?1.25:1)},e.__rect)},isCover:function(e,t){var i=this.transformCoordToLocal(e,t);e=i[0],t=i[1];var n=this.style.__rect;n||(n=this.style.__rect=this.getRect(this.style));var a=n.height<8||n.width<8?4:0;return e>=n.x-a&&e<=n.x+n.width+a&&t>=n.y-a&&t<=n.y+n.height+a}},K.inherits(w,I),w}),i("echarts/util/shape/MarkLine",["require","zrender/shape/Base","./Icon","zrender/shape/Line","zrender/shape/BezierCurve","zrender/tool/area","zrender/shape/util/dashedLineTo","zrender/tool/util","zrender/tool/curve"],function(e){function t(e){i.call(this,e),this.style.curveness>0&&this.updatePoints(this.style),this.highlightStyle.curveness>0&&this.updatePoints(this.highlightStyle)}var i=e("zrender/shape/Base"),n=e("./Icon"),a=e("zrender/shape/Line"),o=new a({}),r=e("zrender/shape/BezierCurve"),s=new r({}),l=e("zrender/tool/area"),h=e("zrender/shape/util/dashedLineTo"),m=e("zrender/tool/util"),V=e("zrender/tool/curve");return t.prototype={type:"mark-line",brush:function(e,t){var i=this.style;t&&(i=this.getHighlightStyle(i,this.highlightStyle||{})),e.save(),this.setContext(e,i),this.setTransform(e),e.save(),e.beginPath(),this.buildPath(e,i),e.stroke(),e.restore(),this.brushSymbol(e,i,0),this.brushSymbol(e,i,1),this.drawText(e,i,this.style),e.restore()},buildPath:function(e,t){var i=t.lineType||"solid";if(e.moveTo(t.xStart,t.yStart),t.curveness>0){var n=null;switch(i){case"dashed":n=[5,5];break;case"dotted":n=[1,1]}n&&e.setLineDash&&e.setLineDash(n),e.quadraticCurveTo(t.cpX1,t.cpY1,t.xEnd,t.yEnd)}else if("solid"==i)e.lineTo(t.xEnd,t.yEnd);else{var a=(t.lineWidth||1)*("dashed"==t.lineType?5:1);h(e,t.xStart,t.yStart,t.xEnd,t.yEnd,a)}},updatePoints:function(e){var t=e.curveness||0,i=1,n=e.xStart,a=e.yStart,o=e.xEnd,r=e.yEnd,s=(n+o)/2-i*(a-r)*t,l=(a+r)/2-i*(o-n)*t;e.cpX1=s,e.cpY1=l},brushSymbol:function(e,t,i){if("none"!=t.symbol[i]){e.save(),e.beginPath(),e.lineWidth=t.symbolBorder,e.strokeStyle=t.symbolBorderColor;var a=t.symbol[i].replace("empty","").toLowerCase();t.symbol[i].match("empty")&&(e.fillStyle="#fff");var o=t.xStart,r=t.yStart,s=t.xEnd,l=t.yEnd,h=0===i?o:s,m=0===i?r:l,U=t.curveness||0,d=null!=t.symbolRotate[i]?t.symbolRotate[i]-0:0;if(d=d/180*Math.PI,"arrow"==a&&0===d)if(0===U){var p=0===i?-1:1;d=Math.PI/2+Math.atan2(p*(l-r),p*(s-o))}else{var c=t.cpX1,u=t.cpY1,y=V.quadraticDerivativeAt,g=y(o,c,s,i),b=y(r,u,l,i);d=Math.PI/2+Math.atan2(b,g)}e.translate(h,m),0!==d&&e.rotate(d);var f=t.symbolSize[i];n.prototype.buildPath(e,{x:-f,y:-f,width:2*f,height:2*f,iconType:a}),e.closePath(),e.fill(),e.stroke(),e.restore()}},getRect:function(e){return e.curveness>0?s.getRect(e):o.getRect(e),e.__rect},isCover:function(e,t){var i=this.transformCoordToLocal(e,t);return e=i[0],t=i[1],this.isCoverRect(e,t)?this.style.curveness>0?l.isInside(s,this.style,e,t):l.isInside(o,this.style,e,t):!1}},m.inherits(t,i),t}),i("echarts/util/shape/Symbol",["require","zrender/shape/Base","zrender/shape/Polygon","zrender/tool/util","./normalIsCover"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/shape/Polygon"),a=new n({}),o=e("zrender/tool/util");return t.prototype={type:"symbol",buildPath:function(e,t){var i=t.pointList,n=i.length;if(0!==n)for(var a,o,r,s,l,h=1e4,m=Math.ceil(n/h),V=i[0]instanceof Array,U=t.size?t.size:2,d=U,p=U/2,c=2*Math.PI,u=0;m>u;u++){e.beginPath(),a=u*h,o=a+h,o=o>n?n:o;for(var y=a;o>y;y++)if(t.random&&(r=t["randomMap"+y%20]/100,d=U*r*r,p=d/2),V?(s=i[y][0],l=i[y][1]):(s=i[y].x,l=i[y].y),3>d)e.rect(s-p,l-p,d,d);else switch(t.iconType){case"circle":e.moveTo(s,l),e.arc(s,l,p,0,c,!0);break;case"diamond":e.moveTo(s,l-p),e.lineTo(s+p/3,l-p/3),e.lineTo(s+p,l),e.lineTo(s+p/3,l+p/3),e.lineTo(s,l+p),e.lineTo(s-p/3,l+p/3),e.lineTo(s-p,l),e.lineTo(s-p/3,l-p/3),e.lineTo(s,l-p);break;default:e.rect(s-p,l-p,d,d)}if(e.closePath(),m-1>u)switch(t.brushType){case"both":e.fill(),t.lineWidth>0&&e.stroke();break;case"stroke":t.lineWidth>0&&e.stroke();break;default:e.fill()}}},getRect:function(e){return e.__rect||a.getRect(e)},isCover:e("./normalIsCover")},o.inherits(t,i),t}),i("zrender/shape/Polyline",["require","./Base","./util/smoothSpline","./util/smoothBezier","./util/dashedLineTo","./Polygon","../tool/util"],function(e){var t=e("./Base"),i=e("./util/smoothSpline"),n=e("./util/smoothBezier"),a=e("./util/dashedLineTo"),o=function(e){this.brushTypeOnly="stroke",this.textPosition="end",t.call(this,e)};return o.prototype={type:"polyline",buildPath:function(e,t){var n=t.pointList;if(!(n.length<2)){var o=Math.min(t.pointList.length,Math.round(t.pointListLength||t.pointList.length));if(t.smooth&&"spline"!==t.smooth){t.controlPointList||this.updateControlPoints(t);var r=t.controlPointList;e.moveTo(n[0][0],n[0][1]);for(var s,l,h,m=0;o-1>m;m++)s=r[2*m],l=r[2*m+1],h=n[m+1],e.bezierCurveTo(s[0],s[1],l[0],l[1],h[0],h[1])}else if("spline"===t.smooth&&(n=i(n),o=n.length),t.lineType&&"solid"!=t.lineType){if("dashed"==t.lineType||"dotted"==t.lineType){var V=(t.lineWidth||1)*("dashed"==t.lineType?5:1);e.moveTo(n[0][0],n[0][1]);for(var m=1;o>m;m++)a(e,n[m-1][0],n[m-1][1],n[m][0],n[m][1],V)}}else{e.moveTo(n[0][0],n[0][1]);for(var m=1;o>m;m++)e.lineTo(n[m][0],n[m][1])}}},updateControlPoints:function(e){e.controlPointList=n(e.pointList,e.smooth,!1,e.smoothConstraint)},getRect:function(t){return e("./Polygon").prototype.getRect(t)}},e("../tool/util").inherits(o,t),o}),i("zrender/shape/ShapeBundle",["require","./Base","../tool/util"],function(e){var t=e("./Base"),i=function(e){t.call(this,e)};return i.prototype={constructor:i,type:"shape-bundle",brush:function(e,t){var i=this.beforeBrush(e,t);e.beginPath();for(var n=0;n<i.shapeList.length;n++){var a=i.shapeList[n],o=a.style;t&&(o=a.getHighlightStyle(o,a.highlightStyle||{},a.brushTypeOnly)),a.buildPath(e,o)}switch(i.brushType){case"both":e.fill();case"stroke":i.lineWidth>0&&e.stroke();break;default:e.fill()}this.drawText(e,i,this.style),this.afterBrush(e)},getRect:function(e){if(e.__rect)return e.__rect;for(var t=1/0,i=-(1/0),n=1/0,a=-(1/0),o=0;o<e.shapeList.length;o++)var r=e.shapeList[o],s=r.getRect(r.style),t=Math.min(s.x,t),n=Math.min(s.y,n),i=Math.max(s.x+s.width,i),a=Math.max(s.y+s.height,a);return e.__rect={x:t,y:n,width:i-t,height:a-n},e.__rect},isCover:function(e,t){var i=this.transformCoordToLocal(e,t);if(e=i[0],t=i[1],this.isCoverRect(e,t))for(var n=0;n<this.style.shapeList.length;n++){var a=this.style.shapeList[n];if(a.isCover(e,t))return!0}return!1}},e("../tool/util").inherits(i,t),i}),i("echarts/util/ecAnimation",["require","zrender/tool/util","zrender/tool/curve","zrender/shape/Polygon"],function(e){function t(e,t,i,n,a){var o,r=i.style.pointList,s=r.length;if(!t){if(o=[],"vertical"!=i._orient)for(var l=r[0][1],h=0;s>h;h++)o[h]=[r[h][0],l];else for(var m=r[0][0],h=0;s>h;h++)o[h]=[m,r[h][1]];"half-smooth-polygon"==i.type&&(o[s-1]=p.clone(r[s-1]),o[s-2]=p.clone(r[s-2])),t={style:{pointList:o}}}o=t.style.pointList;var V=o.length;i.style.pointList=V==s?o:s>V?o.concat(r.slice(V)):o.slice(0,s),e.addShape(i),i.__animating=!0,e.animate(i.id,"style").when(n,{pointList:r}).during(function(){i.updateControlPoints&&i.updateControlPoints(i.style)}).done(function(){i.__animating=!1}).start(a)}function i(e,t){for(var i=arguments.length,n=2;i>n;n++){var a=arguments[n];e.style[a]=t.style[a]}}function n(e,t,n,a,o){var r=n.style;t||(t={position:n.position,style:{x:r.x,y:"vertical"==n._orient?r.y+r.height:r.y,width:"vertical"==n._orient?r.width:0,height:"vertical"!=n._orient?r.height:0}});var s=r.x,l=r.y,h=r.width,m=r.height,V=[n.position[0],n.position[1]];i(n,t,"x","y","width","height"),n.position=t.position,e.addShape(n),(V[0]!=t.position[0]||V[1]!=t.position[1])&&e.animate(n.id,"").when(a,{position:V}).start(o),n.__animating=!0,e.animate(n.id,"style").when(a,{x:s,y:l,width:h,height:m}).done(function(){n.__animating=!1}).start(o)}function a(e,t,i,n,a){if(!t){var o=i.style.y;t={style:{y:[o[0],o[0],o[0],o[0]]}}}var r=i.style.y;i.style.y=t.style.y,e.addShape(i),i.__animating=!0,e.animate(i.id,"style").when(n,{y:r}).done(function(){i.__animating=!1}).start(a)}function o(e,t,i,n,a){var o=i.style.x,r=i.style.y,s=i.style.r0,l=i.style.r;i.__animating=!0,"r"!=i._animationAdd?(i.style.r0=0,i.style.r=0,i.rotation=[2*Math.PI,o,r],e.addShape(i),e.animate(i.id,"style").when(n,{r0:s,r:l}).done(function(){i.__animating=!1}).start(a),e.animate(i.id,"").when(n,{rotation:[0,o,r]}).start(a)):(i.style.r0=i.style.r,e.addShape(i),e.animate(i.id,"style").when(n,{r0:s}).done(function(){i.__animating=!1}).start(a))}function r(e,t,n,a,o){t||(t="r"!=n._animationAdd?{
-style:{startAngle:n.style.startAngle,endAngle:n.style.startAngle}}:{style:{r0:n.style.r}});var r=n.style.startAngle,s=n.style.endAngle;i(n,t,"startAngle","endAngle"),e.addShape(n),n.__animating=!0,e.animate(n.id,"style").when(a,{startAngle:r,endAngle:s}).done(function(){n.__animating=!1}).start(o)}function s(e,t,n,a,o){t||(t={style:{x:"left"==n.style.textAlign?n.style.x+100:n.style.x-100,y:n.style.y}});var r=n.style.x,s=n.style.y;i(n,t,"x","y"),e.addShape(n),n.__animating=!0,e.animate(n.id,"style").when(a,{x:r,y:s}).done(function(){n.__animating=!1}).start(o)}function l(t,i,n,a,o){var r=e("zrender/shape/Polygon").prototype.getRect(n.style),s=r.x+r.width/2,l=r.y+r.height/2;n.scale=[.1,.1,s,l],t.addShape(n),n.__animating=!0,t.animate(n.id,"").when(a,{scale:[1,1,s,l]}).done(function(){n.__animating=!1}).start(o)}function h(e,t,n,a,o){t||(t={style:{source0:0,source1:n.style.source1>0?360:-360,target0:0,target1:n.style.target1>0?360:-360}});var r=n.style.source0,s=n.style.source1,l=n.style.target0,h=n.style.target1;t.style&&i(n,t,"source0","source1","target0","target1"),e.addShape(n),n.__animating=!0,e.animate(n.id,"style").when(a,{source0:r,source1:s,target0:l,target1:h}).done(function(){n.__animating=!1}).start(o)}function m(e,t,i,n,a){t||(t={style:{angle:i.style.startAngle}});var o=i.style.angle;i.style.angle=t.style.angle,e.addShape(i),i.__animating=!0,e.animate(i.id,"style").when(n,{angle:o}).done(function(){i.__animating=!1}).start(a)}function V(e,t,i,a,o,r){if(i.style._x=i.style.x,i.style._y=i.style.y,i.style._width=i.style.width,i.style._height=i.style.height,t)n(e,t,i,a,o);else{var s=i._x||0,l=i._y||0;i.scale=[.01,.01,s,l],e.addShape(i),i.__animating=!0,e.animate(i.id,"").delay(r).when(a,{scale:[1,1,s,l]}).done(function(){i.__animating=!1}).start(o||"QuinticOut")}}function U(e,t,n,a,o){t||(t={style:{xStart:n.style.xStart,yStart:n.style.yStart,xEnd:n.style.xStart,yEnd:n.style.yStart}});var r=n.style.xStart,s=n.style.xEnd,l=n.style.yStart,h=n.style.yEnd;i(n,t,"xStart","xEnd","yStart","yEnd"),e.addShape(n),n.__animating=!0,e.animate(n.id,"style").when(a,{xStart:r,xEnd:s,yStart:l,yEnd:h}).done(function(){n.__animating=!1}).start(o)}function d(e,t,i,n,a){a=a||"QuinticOut",i.__animating=!0,e.addShape(i);var o=i.style,r=function(){i.__animating=!1},s=o.xStart,l=o.yStart,h=o.xEnd,m=o.yEnd;if(o.curveness>0){i.updatePoints(o);var V={p:0},U=o.cpX1,d=o.cpY1,p=[],u=[],y=c.quadraticSubdivide;e.animation.animate(V).when(n,{p:1}).during(function(){y(s,U,h,V.p,p),y(l,d,m,V.p,u),o.cpX1=p[1],o.cpY1=u[1],o.xEnd=p[2],o.yEnd=u[2],e.modShape(i)}).done(r).start(a)}else e.animate(i.id,"style").when(0,{xEnd:s,yEnd:l}).when(n,{xEnd:h,yEnd:m}).done(r).start(a)}var p=e("zrender/tool/util"),c=e("zrender/tool/curve");return{pointList:t,rectangle:n,candle:a,ring:o,sector:r,text:s,polygon:l,ribbon:h,gaugePointer:m,icon:V,line:U,markline:d}}),i("echarts/util/ecEffect",["require","../util/ecData","zrender/shape/Circle","zrender/shape/Image","zrender/tool/curve","../util/shape/Icon","../util/shape/Symbol","zrender/shape/ShapeBundle","zrender/shape/Polyline","zrender/tool/vector","zrender/tool/env"],function(e){function t(e,t,i,n){var a,r=i.effect,l=r.color||i.style.strokeColor||i.style.color,m=r.shadowColor||l,V=r.scaleSize,U=r.bounceDistance,d="undefined"!=typeof r.shadowBlur?r.shadowBlur:V;"image"!==i.type?(a=new h({zlevel:n,style:{brushType:"stroke",iconType:"droplet"!=i.style.iconType?i.style.iconType:"circle",x:d+1,y:d+1,n:i.style.n,width:i.style._width*V,height:i.style._height*V,lineWidth:1,strokeColor:l,shadowColor:m,shadowBlur:d},draggable:!1,hoverable:!1}),"pin"==i.style.iconType&&(a.style.y+=a.style.height/2*1.5),p&&(a.style.image=e.shapeToImage(a,a.style.width+2*d+2,a.style.height+2*d+2).style.image,a=new s({zlevel:a.zlevel,style:a.style,draggable:!1,hoverable:!1}))):a=new s({zlevel:n,style:i.style,draggable:!1,hoverable:!1}),o.clone(i,a),a.position=i.position,t.push(a),e.addShape(a);var c="image"!==i.type?window.devicePixelRatio||1:1,u=(a.style.width/c-i.style._width)/2;a.style.x=i.style._x-u,a.style.y=i.style._y-u,"pin"==i.style.iconType&&(a.style.y-=i.style.height/2*1.5);var y=100*(r.period+10*Math.random());e.modShape(i.id,{invisible:!0});var g=a.style.x+a.style.width/2/c,b=a.style.y+a.style.height/2/c;"scale"===r.type?(e.modShape(a.id,{scale:[.1,.1,g,b]}),e.animate(a.id,"",r.loop).when(y,{scale:[1,1,g,b]}).done(function(){i.effect.show=!1,e.delShape(a.id)}).start()):e.animate(a.id,"style",r.loop).when(y,{y:a.style.y-U}).when(2*y,{y:a.style.y}).done(function(){i.effect.show=!1,e.delShape(a.id)}).start()}function i(e,t,i,n){var a=i.effect,o=a.color||i.style.strokeColor||i.style.color,r=a.scaleSize,s=a.shadowColor||o,l="undefined"!=typeof a.shadowBlur?a.shadowBlur:2*r,h=window.devicePixelRatio||1,V=new m({zlevel:n,position:i.position,scale:i.scale,style:{pointList:i.style.pointList,iconType:i.style.iconType,color:o,strokeColor:o,shadowColor:s,shadowBlur:l*h,random:!0,brushType:"fill",lineWidth:1,size:i.style.size},draggable:!1,hoverable:!1});t.push(V),e.addShape(V),e.modShape(i.id,{invisible:!0});for(var U=Math.round(100*a.period),d={},p={},c=0;20>c;c++)V.style["randomMap"+c]=0,d={},d["randomMap"+c]=100,p={},p["randomMap"+c]=0,V.style["randomMap"+c]=100*Math.random(),e.animate(V.id,"style",!0).when(U,d).when(2*U,p).when(3*U,d).when(4*U,d).delay(Math.random()*U*c).start()}function n(e,t,i,n,a){var s=i.effect,h=i.style,m=s.color||h.strokeColor||h.color,V=s.shadowColor||h.strokeColor||m,c=h.lineWidth*s.scaleSize,u="undefined"!=typeof s.shadowBlur?s.shadowBlur:c,y=new r({zlevel:n,style:{x:u,y:u,r:c,color:m,shadowColor:V,shadowBlur:u},hoverable:!1}),g=0;if(p&&!a){var n=y.zlevel;y=e.shapeToImage(y,2*(c+u),2*(c+u)),y.zlevel=n,y.hoverable=!1,g=u}a||(o.clone(i,y),y.position=i.position,t.push(y),e.addShape(y));var b=function(){a||(i.effect.show=!1,e.delShape(y.id)),y.effectAnimator=null};if(i instanceof U){for(var f=[0],k=0,x=h.pointList,_=h.controlPointList,L=1;L<x.length;L++){if(_){var W=_[2*(L-1)],X=_[2*(L-1)+1];k+=d.dist(x[L-1],W)+d.dist(W,X)+d.dist(X,x[L])}else k+=d.dist(x[L-1],x[L]);f.push(k)}for(var v={p:0},w=e.animation.animate(v,{loop:s.loop}),L=0;L<f.length;L++)w.when(f[L]*s.period,{p:L});w.during(function(){var t,i,n=Math.floor(v.p);if(n==x.length-1)t=x[n][0],i=x[n][1];else{var o=v.p-n,r=x[n],s=x[n+1];if(_){var h=_[2*n],m=_[2*n+1];t=l.cubicAt(r[0],h[0],m[0],s[0],o),i=l.cubicAt(r[1],h[1],m[1],s[1],o)}else t=(s[0]-r[0])*o+r[0],i=(s[1]-r[1])*o+r[1]}y.style.x=t,y.style.y=i,a||e.modShape(y)}).done(b).start(),w.duration=k*s.period,y.effectAnimator=w}else{var K=h.xStart-g,I=h.yStart-g,J=h.xEnd-g,C=h.yEnd-g;y.style.x=K,y.style.y=I;var S=(J-K)*(J-K)+(C-I)*(C-I),E=Math.round(Math.sqrt(Math.round(S*s.period*s.period)));if(i.style.curveness>0){var F=h.cpX1-g,T=h.cpY1-g;y.effectAnimator=e.animation.animate(y,{loop:s.loop}).when(E,{p:1}).during(function(t,i){y.style.x=l.quadraticAt(K,F,J,i),y.style.y=l.quadraticAt(I,T,C,i),a||e.modShape(y)}).done(b).start()}else y.effectAnimator=e.animation.animate(y.style,{loop:s.loop}).when(E,{x:J,y:C}).during(function(){a||e.modShape(y)}).done(b).start();y.effectAnimator.duration=E}return y}function a(e,t,i,a){var o=new V({style:{shapeList:[]},zlevel:a,hoverable:!1}),r=i.style.shapeList,s=i.effect;o.position=i.position;for(var l=0,h=[],m=0;m<r.length;m++){r[m].effect=s;var U=n(e,null,r[m],a,!0),d=U.effectAnimator;o.style.shapeList.push(U),d.duration>l&&(l=d.duration),0===m&&(o.style.color=U.style.color,o.style.shadowBlur=U.style.shadowBlur,o.style.shadowColor=U.style.shadowColor),h.push(d)}t.push(o),e.addShape(o);var p=function(){for(var e=0;e<h.length;e++)h[e].stop()};if(l){o.__dummy=0;var c=e.animate(o.id,"",s.loop).when(l,{__dummy:1}).during(function(){e.modShape(o)}).done(function(){i.effect.show=!1,e.delShape(o.id)}).start(),u=c.stop;c.stop=function(){p(),u.call(this)}}}var o=e("../util/ecData"),r=e("zrender/shape/Circle"),s=e("zrender/shape/Image"),l=e("zrender/tool/curve"),h=e("../util/shape/Icon"),m=e("../util/shape/Symbol"),V=e("zrender/shape/ShapeBundle"),U=e("zrender/shape/Polyline"),d=e("zrender/tool/vector"),p=e("zrender/tool/env").canvasSupported;return{point:t,largePoint:i,line:n,largeLine:a}}),i("echarts/component/base",["require","../config","../util/ecData","../util/ecQuery","../util/number","zrender/tool/util","zrender/tool/env"],function(e){function t(e,t,a,o,r){this.ecTheme=e,this.messageCenter=t,this.zr=a,this.option=o,this.series=o.series,this.myChart=r,this.component=r.component,this.shapeList=[],this.effectList=[];var s=this;s._onlegendhoverlink=function(e){if(s.legendHoverLink)for(var t,a=e.target,o=s.shapeList.length-1;o>=0;o--)t=s.type==i.CHART_TYPE_PIE||s.type==i.CHART_TYPE_FUNNEL?n.get(s.shapeList[o],"name"):(n.get(s.shapeList[o],"series")||{}).name,t!=a||s.shapeList[o].invisible||s.shapeList[o].__animating||s.zr.addHoverShape(s.shapeList[o])},t&&t.bind(i.EVENT.LEGEND_HOVERLINK,this._onlegendhoverlink)}var i=e("../config"),n=e("../util/ecData"),a=e("../util/ecQuery"),o=e("../util/number"),r=e("zrender/tool/util");return t.prototype={canvasSupported:e("zrender/tool/env").canvasSupported,_getZ:function(e){if(null!=this[e])return this[e];var t=this.ecTheme[this.type];return t&&null!=t[e]?t[e]:(t=i[this.type],t&&null!=t[e]?t[e]:0)},getZlevelBase:function(){return this._getZ("zlevel")},getZBase:function(){return this._getZ("z")},reformOption:function(e){return e=r.merge(r.merge(e||{},r.clone(this.ecTheme[this.type]||{})),r.clone(i[this.type]||{})),this.z=e.z,this.zlevel=e.zlevel,e},reformCssArray:function(e){if(!(e instanceof Array))return[e,e,e,e];switch(e.length+""){case"4":return e;case"3":return[e[0],e[1],e[2],e[1]];case"2":return[e[0],e[1],e[0],e[1]];case"1":return[e[0],e[0],e[0],e[0]];case"0":return[0,0,0,0]}},getShapeById:function(e){for(var t=0,i=this.shapeList.length;i>t;t++)if(this.shapeList[t].id===e)return this.shapeList[t];return null},getFont:function(e){var t=this.getTextStyle(r.clone(e));return t.fontStyle+" "+t.fontWeight+" "+t.fontSize+"px "+t.fontFamily},getTextStyle:function(e){return r.merge(r.merge(e||{},this.ecTheme.textStyle),i.textStyle)},getItemStyleColor:function(e,t,i,n){return"function"==typeof e?e.call(this.myChart,{seriesIndex:t,series:this.series[t],dataIndex:i,data:n}):e},getDataFromOption:function(e,t){return null!=e?null!=e.value?e.value:e:t},subPixelOptimize:function(e,t){return e=t%2===1?Math.floor(e)+.5:Math.round(e)},resize:function(){this.refresh&&this.refresh(),this.clearEffectShape&&this.clearEffectShape(!0);var e=this;setTimeout(function(){e.animationEffect&&e.animationEffect()},200)},clear:function(){this.clearEffectShape&&this.clearEffectShape(),this.zr&&this.zr.delShape(this.shapeList),this.shapeList=[]},dispose:function(){this.onbeforDispose&&this.onbeforDispose(),this.clear(),this.shapeList=null,this.effectList=null,this.messageCenter&&this.messageCenter.unbind(i.EVENT.LEGEND_HOVERLINK,this._onlegendhoverlink),this.onafterDispose&&this.onafterDispose()},query:a.query,deepQuery:a.deepQuery,deepMerge:a.deepMerge,parsePercent:o.parsePercent,parseCenter:o.parseCenter,parseRadius:o.parseRadius,numAddCommas:o.addCommas,getPrecision:o.getPrecision},t}),i("echarts/layout/EdgeBundling",["require","../data/KDTree","zrender/tool/vector"],function(e){function t(e,t){e=e.array,t=t.array;var i=t[0]-e[0],n=t[1]-e[1],a=t[2]-e[2],o=t[3]-e[3];return i*i+n*n+a*a+o*o}function i(e){this.points=[e.mp0,e.mp1],this.group=e}function n(e){var t=e.points;t[0][1]<t[1][1]||e instanceof i?(this.array=[t[0][0],t[0][1],t[1][0],t[1][1]],this._startPoint=t[0],this._endPoint=t[1]):(this.array=[t[1][0],t[1][1],t[0][0],t[0][1]],this._startPoint=t[1],this._endPoint=t[0]),this.ink=m(t[0],t[1]),this.edge=e,this.group=null}function a(){this.edgeList=[],this.mp0=l(),this.mp1=l(),this.ink=0}function o(){this.maxNearestEdge=6,this.maxTurningAngle=Math.PI/4,this.maxIteration=20}var r=e("../data/KDTree"),s=e("zrender/tool/vector"),l=s.create,h=s.distSquare,m=s.dist,V=s.copy,U=s.clone;return n.prototype.getStartPoint=function(){return this._startPoint},n.prototype.getEndPoint=function(){return this._endPoint},a.prototype.addEdge=function(e){e.group=this,this.edgeList.push(e)},a.prototype.removeEdge=function(e){e.group=null,this.edgeList.splice(this.edgeList.indexOf(e),1)},o.prototype={constructor:o,run:function(e){function t(e,t){return h(e,t)<1e-10}function n(e,i){for(var n=[],a=0,o=0;o<e.length;o++)a>0&&t(e[o],n[a-1])||(n[a++]=U(e[o]));return i[0]&&!t(n[0],i[0])&&(n=n.reverse()),n}for(var a=this._iterate(e),o=0;o++<this.maxIteration;){for(var r=[],s=0;s<a.groups.length;s++)r.push(new i(a.groups[s]));var l=this._iterate(r);if(l.savedInk<=0)break;a=l}var m=[],V=function(e,t){for(var a,o=0;o<e.length;o++){var r=e[o];if(r.edgeList[0]&&r.edgeList[0].edge instanceof i){for(var s=[],l=0;l<r.edgeList.length;l++)s.push(r.edgeList[l].edge.group);a=t?t.slice():[],a.unshift(r.mp0),a.push(r.mp1),V(s,a)}else for(var l=0;l<r.edgeList.length;l++){var h=r.edgeList[l];a=t?t.slice():[],a.unshift(r.mp0),a.push(r.mp1),a.unshift(h.getStartPoint()),a.push(h.getEndPoint()),m.push({points:n(a,h.edge.points),rawEdge:h.edge})}}};return V(a.groups),m},_iterate:function(e){for(var i=[],o=[],s=0,h=0;h<e.length;h++){var m=new n(e[h]);i.push(m)}for(var U=new r(i,4),d=[],p=l(),c=l(),u=0,y=l(),g=l(),b=0,h=0;h<i.length;h++){var m=i[h];if(!m.group){U.nearestN(m,this.maxNearestEdge,t,d);for(var f=0,k=null,x=null,_=0;_<d.length;_++){var L=d[_],W=0;L.group?L.group!==x&&(x=L.group,u=this._calculateGroupEdgeInk(L.group,m,p,c),W=L.group.ink+m.ink-u):(u=this._calculateEdgeEdgeInk(m,L,p,c),W=L.ink+m.ink-u),W>f&&(f=W,k=L,V(g,c),V(y,p),b=u)}if(k){s+=f;var X;k.group||(X=new a,o.push(X),X.addEdge(k)),X=k.group,V(X.mp0,y),V(X.mp1,g),X.ink=b,k.group.addEdge(m)}else{var X=new a;o.push(X),V(X.mp0,m.getStartPoint()),V(X.mp1,m.getEndPoint()),X.ink=m.ink,X.addEdge(m)}}}return{groups:o,edges:i,savedInk:s}},_calculateEdgeEdgeInk:function(){var e=[],t=[];return function(i,n,a,o){e[0]=i.getStartPoint(),e[1]=n.getStartPoint(),t[0]=i.getEndPoint(),t[1]=n.getEndPoint(),this._calculateMeetPoints(e,t,a,o);var r=m(e[0],a)+m(a,o)+m(o,t[0])+m(e[1],a)+m(o,t[1]);return r}}(),_calculateGroupEdgeInk:function(e,t,i,n){for(var a=[],o=[],r=0;r<e.edgeList.length;r++){var s=e.edgeList[r];a.push(s.getStartPoint()),o.push(s.getEndPoint())}a.push(t.getStartPoint()),o.push(t.getEndPoint()),this._calculateMeetPoints(a,o,i,n);for(var l=m(i,n),r=0;r<a.length;r++)l+=m(a[r],i)+m(o[r],n);return l},_calculateMeetPoints:function(){var e=l(),t=l();return function(i,n,a,o){s.set(e,0,0),s.set(t,0,0);for(var r=i.length,l=0;r>l;l++)s.add(e,e,i[l]);s.scale(e,e,1/r),r=n.length;for(var l=0;r>l;l++)s.add(t,t,n[l]);s.scale(t,t,1/r),this._limitTurningAngle(i,e,t,a),this._limitTurningAngle(n,t,e,o)}}(),_limitTurningAngle:function(){var e=l(),t=l(),i=l(),n=l();return function(a,o,r,l){var V=Math.cos(this.maxTurningAngle),U=Math.tan(this.maxTurningAngle);s.sub(e,o,r),s.normalize(e,e),s.copy(l,o);for(var d=0,p=0;p<a.length;p++){var c=a[p];s.sub(t,c,o);var u=s.len(t);s.scale(t,t,1/u);var y=s.dot(t,e);if(V>y){s.scaleAndAdd(i,o,e,u*y);var g=m(i,c),b=g/U;s.scaleAndAdd(n,i,e,-b);var f=h(n,o);f>d&&(d=f,s.copy(l,n))}}}}()},o}),i("zrender/shape/Star",["require","../tool/math","./Base","../tool/util"],function(e){var t=e("../tool/math"),i=t.sin,n=t.cos,a=Math.PI,o=e("./Base"),r=function(e){o.call(this,e)};return r.prototype={type:"star",buildPath:function(e,t){var o=t.n;if(o&&!(2>o)){var r=t.x,s=t.y,l=t.r,h=t.r0;null==h&&(h=o>4?l*n(2*a/o)/n(a/o):l/3);var m=a/o,V=-a/2,U=r+l*n(V),d=s+l*i(V);V+=m;var p=t.pointList=[];p.push([U,d]);for(var c,u=0,y=2*o-1;y>u;u++)c=u%2===0?h:l,p.push([r+c*n(V),s+c*i(V)]),V+=m;p.push([U,d]),e.moveTo(p[0][0],p[0][1]);for(var u=0;u<p.length;u++)e.lineTo(p[u][0],p[u][1]);e.closePath()}},getRect:function(e){if(e.__rect)return e.__rect;var t;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x-e.r-t/2),y:Math.round(e.y-e.r-t/2),width:2*e.r+t,height:2*e.r+t},e.__rect}},e("../tool/util").inherits(r,o),r}),i("zrender/shape/Heart",["require","./Base","./util/PathProxy","../tool/area","../tool/util"],function(e){"use strict";var t=e("./Base"),i=e("./util/PathProxy"),n=e("../tool/area"),a=function(e){t.call(this,e),this._pathProxy=new i};return a.prototype={type:"heart",buildPath:function(e,t){var n=this._pathProxy||new i;n.begin(e),n.moveTo(t.x,t.y),n.bezierCurveTo(t.x+t.a/2,t.y-2*t.b/3,t.x+2*t.a,t.y+t.b/3,t.x,t.y+t.b),n.bezierCurveTo(t.x-2*t.a,t.y+t.b/3,t.x-t.a/2,t.y-2*t.b/3,t.x,t.y),n.closePath()},getRect:function(e){return e.__rect?e.__rect:(this._pathProxy.isEmpty()||this.buildPath(null,e),this._pathProxy.fastBoundingRect())},isCover:function(e,t){var i=this.transformCoordToLocal(e,t);return e=i[0],t=i[1],this.isCoverRect(e,t)?n.isInsidePath(this._pathProxy.pathCommands,this.style.lineWidth,this.style.brushType,e,t):void 0}},e("../tool/util").inherits(a,t),a}),i("zrender/shape/Droplet",["require","./Base","./util/PathProxy","../tool/area","../tool/util"],function(e){"use strict";var t=e("./Base"),i=e("./util/PathProxy"),n=e("../tool/area"),a=function(e){t.call(this,e),this._pathProxy=new i};return a.prototype={type:"droplet",buildPath:function(e,t){var n=this._pathProxy||new i;n.begin(e),n.moveTo(t.x,t.y+t.a),n.bezierCurveTo(t.x+t.a,t.y+t.a,t.x+3*t.a/2,t.y-t.a/3,t.x,t.y-t.b),n.bezierCurveTo(t.x-3*t.a/2,t.y-t.a/3,t.x-t.a,t.y+t.a,t.x,t.y+t.a),n.closePath()},getRect:function(e){return e.__rect?e.__rect:(this._pathProxy.isEmpty()||this.buildPath(null,e),this._pathProxy.fastBoundingRect())},isCover:function(e,t){var i=this.transformCoordToLocal(e,t);return e=i[0],t=i[1],this.isCoverRect(e,t)?n.isInsidePath(this._pathProxy.pathCommands,this.style.lineWidth,this.style.brushType,e,t):void 0}},e("../tool/util").inherits(a,t),a}),i("zrender/tool/math",[],function(){function e(e,t){return Math.sin(t?e*a:e)}function t(e,t){return Math.cos(t?e*a:e)}function i(e){return e*a}function n(e){return e/a}var a=Math.PI/180;return{sin:e,cos:t,degreeToRadian:i,radianToDegree:n}}),i("zrender/shape/util/PathProxy",["require","../../tool/vector"],function(e){var t=e("../../tool/vector"),i=function(e,t){this.command=e,this.points=t||null},n=function(){this.pathCommands=[],this._ctx=null,this._min=[],this._max=[]};return n.prototype.fastBoundingRect=function(){var e=this._min,i=this._max;e[0]=e[1]=1/0,i[0]=i[1]=-(1/0);for(var n=0;n<this.pathCommands.length;n++){var a=this.pathCommands[n],o=a.points;switch(a.command){case"M":t.min(e,e,o),t.max(i,i,o);break;case"L":t.min(e,e,o),t.max(i,i,o);break;case"C":for(var r=0;6>r;r+=2)e[0]=Math.min(e[0],e[0],o[r]),e[1]=Math.min(e[1],e[1],o[r+1]),i[0]=Math.max(i[0],i[0],o[r]),i[1]=Math.max(i[1],i[1],o[r+1]);break;case"Q":for(var r=0;4>r;r+=2)e[0]=Math.min(e[0],e[0],o[r]),e[1]=Math.min(e[1],e[1],o[r+1]),i[0]=Math.max(i[0],i[0],o[r]),i[1]=Math.max(i[1],i[1],o[r+1]);break;case"A":var s=o[0],l=o[1],h=o[2],m=o[3];e[0]=Math.min(e[0],e[0],s-h),e[1]=Math.min(e[1],e[1],l-m),i[0]=Math.max(i[0],i[0],s+h),i[1]=Math.max(i[1],i[1],l+m)}}return{x:e[0],y:e[1],width:i[0]-e[0],height:i[1]-e[1]}},n.prototype.begin=function(e){return this._ctx=e||null,this.pathCommands.length=0,this},n.prototype.moveTo=function(e,t){return this.pathCommands.push(new i("M",[e,t])),this._ctx&&this._ctx.moveTo(e,t),this},n.prototype.lineTo=function(e,t){return this.pathCommands.push(new i("L",[e,t])),this._ctx&&this._ctx.lineTo(e,t),this},n.prototype.bezierCurveTo=function(e,t,n,a,o,r){return this.pathCommands.push(new i("C",[e,t,n,a,o,r])),this._ctx&&this._ctx.bezierCurveTo(e,t,n,a,o,r),this},n.prototype.quadraticCurveTo=function(e,t,n,a){return this.pathCommands.push(new i("Q",[e,t,n,a])),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,a),this},n.prototype.arc=function(e,t,n,a,o,r){return this.pathCommands.push(new i("A",[e,t,n,n,a,o-a,0,r?0:1])),this._ctx&&this._ctx.arc(e,t,n,a,o,r),this},n.prototype.arcTo=function(e,t,i,n,a){return this._ctx&&this._ctx.arcTo(e,t,i,n,a),this},n.prototype.rect=function(e,t,i,n){return this._ctx&&this._ctx.rect(e,t,i,n),this},n.prototype.closePath=function(){return this.pathCommands.push(new i("z")),this._ctx&&this._ctx.closePath(),this},n.prototype.isEmpty=function(){return 0===this.pathCommands.length},n.PathSegment=i,n}),i("zrender/shape/Line",["require","./Base","./util/dashedLineTo","../tool/util"],function(e){var t=e("./Base"),i=e("./util/dashedLineTo"),n=function(e){this.brushTypeOnly="stroke",this.textPosition="end",t.call(this,e)};return n.prototype={type:"line",buildPath:function(e,t){if(t.lineType&&"solid"!=t.lineType){if("dashed"==t.lineType||"dotted"==t.lineType){var n=(t.lineWidth||1)*("dashed"==t.lineType?5:1);i(e,t.xStart,t.yStart,t.xEnd,t.yEnd,n)}}else e.moveTo(t.xStart,t.yStart),e.lineTo(t.xEnd,t.yEnd)},getRect:function(e){if(e.__rect)return e.__rect;var t=e.lineWidth||1;return e.__rect={x:Math.min(e.xStart,e.xEnd)-t,y:Math.min(e.yStart,e.yEnd)-t,width:Math.abs(e.xStart-e.xEnd)+t,height:Math.abs(e.yStart-e.yEnd)+t},e.__rect}},e("../tool/util").inherits(n,t),n}),i("zrender/shape/BezierCurve",["require","./Base","../tool/util"],function(e){"use strict";var t=e("./Base"),i=function(e){this.brushTypeOnly="stroke",this.textPosition="end",t.call(this,e)};return i.prototype={type:"bezier-curve",buildPath:function(e,t){e.moveTo(t.xStart,t.yStart),"undefined"!=typeof t.cpX2&&"undefined"!=typeof t.cpY2?e.bezierCurveTo(t.cpX1,t.cpY1,t.cpX2,t.cpY2,t.xEnd,t.yEnd):e.quadraticCurveTo(t.cpX1,t.cpY1,t.xEnd,t.yEnd)},getRect:function(e){if(e.__rect)return e.__rect;var t=Math.min(e.xStart,e.xEnd,e.cpX1),i=Math.min(e.yStart,e.yEnd,e.cpY1),n=Math.max(e.xStart,e.xEnd,e.cpX1),a=Math.max(e.yStart,e.yEnd,e.cpY1),o=e.cpX2,r=e.cpY2;"undefined"!=typeof o&&"undefined"!=typeof r&&(t=Math.min(t,o),i=Math.min(i,r),n=Math.max(n,o),a=Math.max(a,r));var s=e.lineWidth||1;return e.__rect={x:t-s,y:i-s,width:n-t+s,height:a-i+s},e.__rect}},e("../tool/util").inherits(i,t),i}),i("zrender/shape/util/dashedLineTo",[],function(){var e=[5,5];return function(t,i,n,a,o,r){if(t.setLineDash)return e[0]=e[1]=r,t.setLineDash(e),t.moveTo(i,n),void t.lineTo(a,o);r="number"!=typeof r?5:r;var s=a-i,l=o-n,h=Math.floor(Math.sqrt(s*s+l*l)/r);s/=h,l/=h;for(var m=!0,V=0;h>V;++V)m?t.moveTo(i,n):t.lineTo(i,n),m=!m,i+=s,n+=l;t.lineTo(a,o)}}),i("zrender/shape/Polygon",["require","./Base","./util/smoothSpline","./util/smoothBezier","./util/dashedLineTo","../tool/util"],function(e){var t=e("./Base"),i=e("./util/smoothSpline"),n=e("./util/smoothBezier"),a=e("./util/dashedLineTo"),o=function(e){t.call(this,e)};return o.prototype={type:"polygon",buildPath:function(e,t){var o=t.pointList;if(!(o.length<2)){if(t.smooth&&"spline"!==t.smooth){var r=n(o,t.smooth,!0,t.smoothConstraint);e.moveTo(o[0][0],o[0][1]);for(var s,l,h,m=o.length,V=0;m>V;V++)s=r[2*V],l=r[2*V+1],h=o[(V+1)%m],e.bezierCurveTo(s[0],s[1],l[0],l[1],h[0],h[1])}else if("spline"===t.smooth&&(o=i(o,!0)),t.lineType&&"solid"!=t.lineType){if("dashed"==t.lineType||"dotted"==t.lineType){var U=t._dashLength||(t.lineWidth||1)*("dashed"==t.lineType?5:1);t._dashLength=U,e.moveTo(o[0][0],o[0][1]);for(var V=1,d=o.length;d>V;V++)a(e,o[V-1][0],o[V-1][1],o[V][0],o[V][1],U);a(e,o[o.length-1][0],o[o.length-1][1],o[0][0],o[0][1],U)}}else{e.moveTo(o[0][0],o[0][1]);for(var V=1,d=o.length;d>V;V++)e.lineTo(o[V][0],o[V][1]);e.lineTo(o[0][0],o[0][1])}e.closePath()}},getRect:function(e){if(e.__rect)return e.__rect;for(var t=Number.MAX_VALUE,i=Number.MIN_VALUE,n=Number.MAX_VALUE,a=Number.MIN_VALUE,o=e.pointList,r=0,s=o.length;s>r;r++)o[r][0]<t&&(t=o[r][0]),o[r][0]>i&&(i=o[r][0]),o[r][1]<n&&(n=o[r][1]),o[r][1]>a&&(a=o[r][1]);var l;return l="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(t-l/2),y:Math.round(n-l/2),width:i-t+l,height:a-n+l},e.__rect}},e("../tool/util").inherits(o,t),o}),i("echarts/util/shape/normalIsCover",[],function(){return function(e,t){var i=this.transformCoordToLocal(e,t);return e=i[0],t=i[1],this.isCoverRect(e,t)}}),i("zrender/shape/util/smoothSpline",["require","../../tool/vector"],function(e){function t(e,t,i,n,a,o,r){var s=.5*(i-e),l=.5*(n-t);return(2*(t-i)+s+l)*r+(-3*(t-i)-2*s-l)*o+s*a+t}var i=e("../../tool/vector");return function(e,n){for(var a=e.length,o=[],r=0,s=1;a>s;s++)r+=i.distance(e[s-1],e[s]);var l=r/5;l=a>l?a:l;for(var s=0;l>s;s++){var h,m,V,U=s/(l-1)*(n?a:a-1),d=Math.floor(U),p=U-d,c=e[d%a];n?(h=e[(d-1+a)%a],m=e[(d+1)%a],V=e[(d+2)%a]):(h=e[0===d?d:d-1],m=e[d>a-2?a-1:d+1],V=e[d>a-3?a-1:d+2]);var u=p*p,y=p*u;o.push([t(h[0],c[0],m[0],V[0],p,u,y),t(h[1],c[1],m[1],V[1],p,u,y)])}return o}}),i("zrender/shape/util/smoothBezier",["require","../../tool/vector"],function(e){var t=e("../../tool/vector");return function(e,i,n,a){var o,r,s,l,h=[],m=[],V=[],U=[],d=!!a;if(d){s=[1/0,1/0],l=[-(1/0),-(1/0)];for(var p=0,c=e.length;c>p;p++)t.min(s,s,e[p]),t.max(l,l,e[p]);t.min(s,s,a[0]),t.max(l,l,a[1])}for(var p=0,c=e.length;c>p;p++){var o,r,u=e[p];if(n)o=e[p?p-1:c-1],r=e[(p+1)%c];else{if(0===p||p===c-1){h.push(t.clone(e[p]));continue}o=e[p-1],r=e[p+1]}t.sub(m,r,o),t.scale(m,m,i);var y=t.distance(u,o),g=t.distance(u,r),b=y+g;0!==b&&(y/=b,g/=b),t.scale(V,m,-y),t.scale(U,m,g);var f=t.add([],u,V),k=t.add([],u,U);d&&(t.max(f,f,s),t.min(f,f,l),t.max(k,k,s),t.min(k,k,l)),h.push(f),h.push(k)}return n&&h.push(t.clone(h.shift())),h}}),i("echarts/util/ecQuery",["require","zrender/tool/util"],function(e){function t(e,t){if("undefined"!=typeof e){if(!t)return e;t=t.split(".");for(var i=t.length,n=0;i>n;){if(e=e[t[n]],"undefined"==typeof e)return;n++}return e}}function i(e,i){for(var n,a=0,o=e.length;o>a;a++)if(n=t(e[a],i),"undefined"!=typeof n)return n}function n(e,i){for(var n,o=e.length;o--;){var r=t(e[o],i);"undefined"!=typeof r&&("undefined"==typeof n?n=a.clone(r):a.merge(n,r,!0))}return n}var a=e("zrender/tool/util");return{query:t,deepQuery:i,deepMerge:n}}),i("echarts/util/number",[],function(){function e(e){return e.replace(/^\s+/,"").replace(/\s+$/,"")}function t(t,i){return"string"==typeof t?e(t).match(/%$/)?parseFloat(t)/100*i:parseFloat(t):t}function i(e,i){return[t(i[0],e.getWidth()),t(i[1],e.getHeight())]}function n(e,i){i instanceof Array||(i=[0,i]);var n=Math.min(e.getWidth(),e.getHeight())/2;return[t(i[0],n),t(i[1],n)]}function a(e){return isNaN(e)?"-":(e=(e+"").split("."),e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:""))}function o(e){for(var t=1,i=0;Math.round(e*t)/t!==e;)t*=10,i++;return i}return{parsePercent:t,parseCenter:i,parseRadius:n,addCommas:a,getPrecision:o}}),i("echarts/data/KDTree",["require","./quickSelect"],function(e){function t(e,t){this.left=null,this.right=null,this.axis=e,this.data=t}var i=e("./quickSelect"),n=function(e,t){e.length&&(t||(t=e[0].array.length),this.dimension=t,this.root=this._buildTree(e,0,e.length-1,0),this._stack=[],this._nearstNList=[])};return n.prototype._buildTree=function(e,n,a,o){if(n>a)return null;var r=Math.floor((n+a)/2);r=i(e,n,a,r,function(e,t){return e.array[o]-t.array[o]});var s=e[r],l=new t(o,s);return o=(o+1)%this.dimension,a>n&&(l.left=this._buildTree(e,n,r-1,o),l.right=this._buildTree(e,r+1,a,o)),l},n.prototype.nearest=function(e,t){var i=this.root,n=this._stack,a=0,o=1/0,r=null;for(i.data!==e&&(o=t(i.data,e),r=i),e.array[i.axis]<i.data.array[i.axis]?(i.right&&(n[a++]=i.right),i.left&&(n[a++]=i.left)):(i.left&&(n[a++]=i.left),i.right&&(n[a++]=i.right));a--;){i=n[a];var s=e.array[i.axis]-i.data.array[i.axis],l=0>s,h=!1;s*=s,o>s&&(s=t(i.data,e),o>s&&i.data!==e&&(o=s,r=i),h=!0),l?(h&&i.right&&(n[a++]=i.right),i.left&&(n[a++]=i.left)):(h&&i.left&&(n[a++]=i.left),i.right&&(n[a++]=i.right))}return r.data},n.prototype._addNearest=function(e,t,i){for(var n=this._nearstNList,a=e-1;a>0&&!(t>=n[a-1].dist);a--)n[a].dist=n[a-1].dist,n[a].node=n[a-1].node;n[a].dist=t,n[a].node=i},n.prototype.nearestN=function(e,t,i,n){if(0>=t)return n.length=0,n;for(var a=this.root,o=this._stack,r=0,s=this._nearstNList,l=0;t>l;l++)s[l]||(s[l]={}),s[l].dist=0,s[l].node=null;var h=i(a.data,e),m=0;for(a.data!==e&&(m++,this._addNearest(m,h,a)),e.array[a.axis]<a.data.array[a.axis]?(a.right&&(o[r++]=a.right),a.left&&(o[r++]=a.left)):(a.left&&(o[r++]=a.left),a.right&&(o[r++]=a.right));r--;){a=o[r];var h=e.array[a.axis]-a.data.array[a.axis],V=0>h,U=!1;h*=h,(t>m||h<s[m-1].dist)&&(h=i(a.data,e),(t>m||h<s[m-1].dist)&&a.data!==e&&(t>m&&m++,this._addNearest(m,h,a)),U=!0),V?(U&&a.right&&(o[r++]=a.right),a.left&&(o[r++]=a.left)):(U&&a.left&&(o[r++]=a.left),a.right&&(o[r++]=a.right))}for(var l=0;m>l;l++)n[l]=s[l].node.data;return n.length=m,n},n}),i("echarts/data/quickSelect",["require"],function(){function e(e,t){return e-t}function t(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function i(e,i,n,a,o){for(var r=i;n>i;){var r=Math.round((n+i)/2),s=e[r];t(e,r,n),r=i;for(var l=i;n-1>=l;l++)o(s,e[l])>=0&&(t(e,l,r),r++);if(t(e,n,r),r===a)return r;a>r?i=r+1:n=r-1}return i}function n(t,n,a,o,r){return arguments.length<=3&&(o=n,r=2==arguments.length?e:a,n=0,a=t.length-1),i(t,n,a,o,r)}return n}),i("echarts/component/dataView",["require","./base","../config","zrender/tool/util","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.dom=o.dom,this._tDom=document.createElement("div"),this._textArea=document.createElement("textArea"),this._buttonRefresh=document.createElement("button"),this._buttonRefresh.setAttribute("type","button"),this._buttonClose=document.createElement("button"),this._buttonClose.setAttribute("type","button"),this._hasShow=!1,this._zrHeight=n.getHeight(),this._zrWidth=n.getWidth(),this._tDom.className="echarts-dataview",this.hide(),this.dom.firstChild.appendChild(this._tDom),window.addEventListener?(this._tDom.addEventListener("click",this._stop),this._tDom.addEventListener("mousewheel",this._stop),this._tDom.addEventListener("mousemove",this._stop),this._tDom.addEventListener("mousedown",this._stop),this._tDom.addEventListener("mouseup",this._stop),this._tDom.addEventListener("touchstart",this._stop),this._tDom.addEventListener("touchmove",this._stop),this._tDom.addEventListener("touchend",this._stop)):(this._tDom.attachEvent("onclick",this._stop),this._tDom.attachEvent("onmousewheel",this._stop),this._tDom.attachEvent("onmousemove",this._stop),this._tDom.attachEvent("onmousedown",this._stop),this._tDom.attachEvent("onmouseup",this._stop))}var i=e("./base"),n=e("../config"),a=e("zrender/tool/util");return t.prototype={type:n.COMPONENT_TYPE_DATAVIEW,_lang:["Data View","close","refresh"],_gCssText:"position:absolute;display:block;overflow:hidden;transition:height 0.8s,background-color 1s;-moz-transition:height 0.8s,background-color 1s;-webkit-transition:height 0.8s,background-color 1s;-o-transition:height 0.8s,background-color 1s;z-index:1;left:0;top:0;",hide:function(){this._sizeCssText="width:"+this._zrWidth+"px;height:0px;background-color:#f0ffff;",this._tDom.style.cssText=this._gCssText+this._sizeCssText},show:function(e){this._hasShow=!0;var t=this.query(this.option,"toolbox.feature.dataView.lang")||this._lang;this.option=e,this._tDom.innerHTML='<p style="padding:8px 0;margin:0 0 10px 0;border-bottom:1px solid #eee">'+(t[0]||this._lang[0])+"</p>";var i=this.query(this.option,"toolbox.feature.dataView.optionToContent");"function"!=typeof i?this._textArea.value=this._optionToContent():(this._textArea=document.createElement("div"),this._textArea.innerHTML=i(this.option)),this._textArea.style.cssText="display:block;margin:0 0 8px 0;padding:4px 6px;overflow:auto;width:100%;height:"+(this._zrHeight-100)+"px;",this._tDom.appendChild(this._textArea),this._buttonClose.style.cssText="float:right;padding:1px 6px;",this._buttonClose.innerHTML=t[1]||this._lang[1];var n=this;this._buttonClose.onclick=function(){n.hide()},this._tDom.appendChild(this._buttonClose),this.query(this.option,"toolbox.feature.dataView.readOnly")===!1?(this._buttonRefresh.style.cssText="float:right;margin-right:10px;padding:1px 6px;",this._buttonRefresh.innerHTML=t[2]||this._lang[2],this._buttonRefresh.onclick=function(){n._save()},this._textArea.readOnly=!1,this._textArea.style.cursor="default"):(this._buttonRefresh.style.cssText="display:none",
-this._textArea.readOnly=!0,this._textArea.style.cursor="text"),this._tDom.appendChild(this._buttonRefresh),this._sizeCssText="width:"+this._zrWidth+"px;height:"+this._zrHeight+"px;background-color:#fff;",this._tDom.style.cssText=this._gCssText+this._sizeCssText},_optionToContent:function(){var e,t,i,a,o,r,s=[],l="";if(this.option.xAxis)for(s=this.option.xAxis instanceof Array?this.option.xAxis:[this.option.xAxis],e=0,a=s.length;a>e;e++)if("category"==(s[e].type||"category")){for(r=[],t=0,i=s[e].data.length;i>t;t++)r.push(this.getDataFromOption(s[e].data[t]));l+=r.join(", ")+"\n\n"}if(this.option.yAxis)for(s=this.option.yAxis instanceof Array?this.option.yAxis:[this.option.yAxis],e=0,a=s.length;a>e;e++)if("category"==s[e].type){for(r=[],t=0,i=s[e].data.length;i>t;t++)r.push(this.getDataFromOption(s[e].data[t]));l+=r.join(", ")+"\n\n"}var h,m=this.option.series;for(e=0,a=m.length;a>e;e++){for(r=[],t=0,i=m[e].data.length;i>t;t++)o=m[e].data[t],h=m[e].type==n.CHART_TYPE_PIE||m[e].type==n.CHART_TYPE_MAP?(o.name||"-")+":":"",m[e].type==n.CHART_TYPE_SCATTER&&(o=this.getDataFromOption(o).join(", ")),r.push(h+this.getDataFromOption(o));l+=(m[e].name||"-")+" : \n",l+=r.join(m[e].type==n.CHART_TYPE_SCATTER?"\n":", "),l+="\n\n"}return l},_save:function(){var e=this.query(this.option,"toolbox.feature.dataView.contentToOption");if("function"!=typeof e){for(var t=this._textArea.value.split("\n"),i=[],a=0,o=t.length;o>a;a++)t[a]=this._trim(t[a]),""!==t[a]&&i.push(t[a]);this._contentToOption(i)}else e(this._textArea,this.option);this.hide();var r=this;setTimeout(function(){r.messageCenter&&r.messageCenter.dispatch(n.EVENT.DATA_VIEW_CHANGED,null,{option:r.option},r.myChart)},r.canvasSupported?800:100)},_contentToOption:function(e){var t,i,a,o,r,s,l,h=[],m=0;if(this.option.xAxis)for(h=this.option.xAxis instanceof Array?this.option.xAxis:[this.option.xAxis],t=0,o=h.length;o>t;t++)if("category"==(h[t].type||"category")){for(s=e[m].split(","),i=0,a=h[t].data.length;a>i;i++)l=this._trim(s[i]||""),r=h[t].data[i],"undefined"!=typeof h[t].data[i].value?h[t].data[i].value=l:h[t].data[i]=l;m++}if(this.option.yAxis)for(h=this.option.yAxis instanceof Array?this.option.yAxis:[this.option.yAxis],t=0,o=h.length;o>t;t++)if("category"==h[t].type){for(s=e[m].split(","),i=0,a=h[t].data.length;a>i;i++)l=this._trim(s[i]||""),r=h[t].data[i],"undefined"!=typeof h[t].data[i].value?h[t].data[i].value=l:h[t].data[i]=l;m++}var V=this.option.series;for(t=0,o=V.length;o>t;t++)if(m++,V[t].type==n.CHART_TYPE_SCATTER)for(var i=0,a=V[t].data.length;a>i;i++)s=e[m],l=s.replace(" ","").split(","),"undefined"!=typeof V[t].data[i].value?V[t].data[i].value=l:V[t].data[i]=l,m++;else{s=e[m].split(",");for(var i=0,a=V[t].data.length;a>i;i++)l=(s[i]||"").replace(/.*:/,""),l=this._trim(l),l="-"!=l&&""!==l?l-0:"-","undefined"!=typeof V[t].data[i].value?V[t].data[i].value=l:V[t].data[i]=l;m++}},_trim:function(e){var t=new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");return e.replace(t,"")},_stop:function(e){e=e||window.event,e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},resize:function(){this._zrHeight=this.zr.getHeight(),this._zrWidth=this.zr.getWidth(),this._tDom.offsetHeight>10&&(this._sizeCssText="width:"+this._zrWidth+"px;height:"+this._zrHeight+"px;background-color:#fff;",this._tDom.style.cssText=this._gCssText+this._sizeCssText,this._textArea.style.cssText="display:block;margin:0 0 8px 0;padding:4px 6px;overflow:auto;width:100%;height:"+(this._zrHeight-100)+"px;")},dispose:function(){window.removeEventListener?(this._tDom.removeEventListener("click",this._stop),this._tDom.removeEventListener("mousewheel",this._stop),this._tDom.removeEventListener("mousemove",this._stop),this._tDom.removeEventListener("mousedown",this._stop),this._tDom.removeEventListener("mouseup",this._stop),this._tDom.removeEventListener("touchstart",this._stop),this._tDom.removeEventListener("touchmove",this._stop),this._tDom.removeEventListener("touchend",this._stop)):(this._tDom.detachEvent("onclick",this._stop),this._tDom.detachEvent("onmousewheel",this._stop),this._tDom.detachEvent("onmousemove",this._stop),this._tDom.detachEvent("onmousedown",this._stop),this._tDom.detachEvent("onmouseup",this._stop)),this._buttonRefresh.onclick=null,this._buttonClose.onclick=null,this._hasShow&&(this._tDom.removeChild(this._textArea),this._tDom.removeChild(this._buttonRefresh),this._tDom.removeChild(this._buttonClose)),this._textArea=null,this._buttonRefresh=null,this._buttonClose=null,this.dom.firstChild.removeChild(this._tDom),this._tDom=null}},a.inherits(t,i),e("../component").define("dataView",t),t}),i("echarts/util/shape/Cross",["require","zrender/shape/Base","zrender/shape/Line","zrender/tool/util","./normalIsCover"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/shape/Line"),a=e("zrender/tool/util");return t.prototype={type:"cross",buildPath:function(e,t){var i=t.rect;t.xStart=i.x,t.xEnd=i.x+i.width,t.yStart=t.yEnd=t.y,n.prototype.buildPath(e,t),t.xStart=t.xEnd=t.x,t.yStart=i.y,t.yEnd=i.y+i.height,n.prototype.buildPath(e,t)},getRect:function(e){return e.rect},isCover:e("./normalIsCover")},a.inherits(t,i),t}),i("zrender/shape/Sector",["require","../tool/math","../tool/computeBoundingBox","../tool/vector","./Base","../tool/util"],function(e){var t=e("../tool/math"),i=e("../tool/computeBoundingBox"),n=e("../tool/vector"),a=e("./Base"),o=n.create(),r=n.create(),s=n.create(),l=n.create(),h=function(e){a.call(this,e)};return h.prototype={type:"sector",buildPath:function(e,i){var n=i.x,a=i.y,o=i.r0||0,r=i.r,s=i.startAngle,l=i.endAngle,h=i.clockWise||!1;s=t.degreeToRadian(s),l=t.degreeToRadian(l),h||(s=-s,l=-l);var m=t.cos(s),V=t.sin(s);e.moveTo(m*o+n,V*o+a),e.lineTo(m*r+n,V*r+a),e.arc(n,a,r,s,l,!h),e.lineTo(t.cos(l)*o+n,t.sin(l)*o+a),0!==o&&e.arc(n,a,o,l,s,h),e.closePath()},getRect:function(e){if(e.__rect)return e.__rect;var a=e.x,h=e.y,m=e.r0||0,V=e.r,U=t.degreeToRadian(e.startAngle),d=t.degreeToRadian(e.endAngle),p=e.clockWise;return p||(U=-U,d=-d),m>1?i.arc(a,h,m,U,d,!p,o,s):(o[0]=s[0]=a,o[1]=s[1]=h),i.arc(a,h,V,U,d,!p,r,l),n.min(o,o,r),n.max(s,s,l),e.__rect={x:o[0],y:o[1],width:s[0]-o[0],height:s[1]-o[1]},e.__rect}},e("../tool/util").inherits(h,a),h}),i("echarts/util/shape/Candle",["require","zrender/shape/Base","zrender/tool/util","./normalIsCover"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/tool/util");return t.prototype={type:"candle",_numberOrder:function(e,t){return t-e},buildPath:function(e,t){var i=n.clone(t.y).sort(this._numberOrder);e.moveTo(t.x,i[3]),e.lineTo(t.x,i[2]),e.moveTo(t.x-t.width/2,i[2]),e.rect(t.x-t.width/2,i[2],t.width,i[1]-i[2]),e.moveTo(t.x,i[1]),e.lineTo(t.x,i[0])},getRect:function(e){if(!e.__rect){var t=0;("stroke"==e.brushType||"fill"==e.brushType)&&(t=e.lineWidth||1);var i=n.clone(e.y).sort(this._numberOrder);e.__rect={x:Math.round(e.x-e.width/2-t/2),y:Math.round(i[3]-t/2),width:e.width+t,height:i[0]-i[3]+t}}return e.__rect},isCover:e("./normalIsCover")},n.inherits(t,i),t}),i("zrender/tool/computeBoundingBox",["require","./vector","./curve"],function(e){function t(e,t,i){if(0!==e.length){for(var n=e[0][0],a=e[0][0],o=e[0][1],r=e[0][1],s=1;s<e.length;s++){var l=e[s];l[0]<n&&(n=l[0]),l[0]>a&&(a=l[0]),l[1]<o&&(o=l[1]),l[1]>r&&(r=l[1])}t[0]=n,t[1]=o,i[0]=a,i[1]=r}}function i(e,t,i,n,a,r){var s=[];o.cubicExtrema(e[0],t[0],i[0],n[0],s);for(var l=0;l<s.length;l++)s[l]=o.cubicAt(e[0],t[0],i[0],n[0],s[l]);var h=[];o.cubicExtrema(e[1],t[1],i[1],n[1],h);for(var l=0;l<h.length;l++)h[l]=o.cubicAt(e[1],t[1],i[1],n[1],h[l]);s.push(e[0],n[0]),h.push(e[1],n[1]);var m=Math.min.apply(null,s),V=Math.max.apply(null,s),U=Math.min.apply(null,h),d=Math.max.apply(null,h);a[0]=m,a[1]=U,r[0]=V,r[1]=d}function n(e,t,i,n,a){var r=o.quadraticExtremum(e[0],t[0],i[0]),s=o.quadraticExtremum(e[1],t[1],i[1]);r=Math.max(Math.min(r,1),0),s=Math.max(Math.min(s,1),0);var l=1-r,h=1-s,m=l*l*e[0]+2*l*r*t[0]+r*r*i[0],V=l*l*e[1]+2*l*r*t[1]+r*r*i[1],U=h*h*e[0]+2*h*s*t[0]+s*s*i[0],d=h*h*e[1]+2*h*s*t[1]+s*s*i[1];n[0]=Math.min(e[0],i[0],m,U),n[1]=Math.min(e[1],i[1],V,d),a[0]=Math.max(e[0],i[0],m,U),a[1]=Math.max(e[1],i[1],V,d)}var a=e("./vector"),o=e("./curve"),r=a.create(),s=a.create(),l=a.create(),h=function(e,t,i,n,o,h,m,V){if(Math.abs(n-o)>=2*Math.PI)return m[0]=e-i,m[1]=t-i,V[0]=e+i,void(V[1]=t+i);if(r[0]=Math.cos(n)*i+e,r[1]=Math.sin(n)*i+t,s[0]=Math.cos(o)*i+e,s[1]=Math.sin(o)*i+t,a.min(m,r,s),a.max(V,r,s),n%=2*Math.PI,0>n&&(n+=2*Math.PI),o%=2*Math.PI,0>o&&(o+=2*Math.PI),n>o&&!h?o+=2*Math.PI:o>n&&h&&(n+=2*Math.PI),h){var U=o;o=n,n=U}for(var d=0;o>d;d+=Math.PI/2)d>n&&(l[0]=Math.cos(d)*i+e,l[1]=Math.sin(d)*i+t,a.min(m,l,m),a.max(V,l,V))};return t.cubeBezier=i,t.quadraticBezier=n,t.arc=h,t}),i("echarts/util/shape/Chain",["require","zrender/shape/Base","./Icon","zrender/shape/util/dashedLineTo","zrender/tool/util","zrender/tool/matrix"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("./Icon"),a=e("zrender/shape/util/dashedLineTo"),o=e("zrender/tool/util"),r=e("zrender/tool/matrix");return t.prototype={type:"chain",brush:function(e,t){var i=this.style;t&&(i=this.getHighlightStyle(i,this.highlightStyle||{})),e.save(),this.setContext(e,i),this.setTransform(e),e.save(),e.beginPath(),this.buildLinePath(e,i),e.stroke(),e.restore(),this.brushSymbol(e,i),e.restore()},buildLinePath:function(e,t){var i=t.x,n=t.y+5,o=t.width,r=t.height/2-10;if(e.moveTo(i,n),e.lineTo(i,n+r),e.moveTo(i+o,n),e.lineTo(i+o,n+r),e.moveTo(i,n+r/2),t.lineType&&"solid"!=t.lineType){if("dashed"==t.lineType||"dotted"==t.lineType){var s=(t.lineWidth||1)*("dashed"==t.lineType?5:1);a(e,i,n+r/2,i+o,n+r/2,s)}}else e.lineTo(i+o,n+r/2)},brushSymbol:function(e,t){var i=t.y+t.height/4;e.save();for(var a,o=t.chainPoint,r=0,s=o.length;s>r;r++){if(a=o[r],"none"!=a.symbol){e.beginPath();var l=a.symbolSize;n.prototype.buildPath(e,{iconType:a.symbol,x:a.x-l,y:i-l,width:2*l,height:2*l,n:a.n}),e.fillStyle=a.isEmpty?"#fff":t.strokeColor,e.closePath(),e.fill(),e.stroke()}a.showLabel&&(e.font=a.textFont,e.fillStyle=a.textColor,e.textAlign=a.textAlign,e.textBaseline=a.textBaseline,a.rotation?(e.save(),this._updateTextTransform(e,a.rotation),e.fillText(a.name,a.textX,a.textY),e.restore()):e.fillText(a.name,a.textX,a.textY))}e.restore()},_updateTextTransform:function(e,t){var i=r.create();if(r.identity(i),0!==t[0]){var n=t[1]||0,a=t[2]||0;(n||a)&&r.translate(i,i,[-n,-a]),r.rotate(i,i,t[0]),(n||a)&&r.translate(i,i,[n,a])}e.transform.apply(e,i)},isCover:function(e,t){var i=this.style;return e>=i.x&&e<=i.x+i.width&&t>=i.y&&t<=i.y+i.height?!0:!1}},o.inherits(t,i),t}),i("zrender/shape/Ring",["require","./Base","../tool/util"],function(e){var t=e("./Base"),i=function(e){t.call(this,e)};return i.prototype={type:"ring",buildPath:function(e,t){e.arc(t.x,t.y,t.r,0,2*Math.PI,!1),e.moveTo(t.x+t.r0,t.y),e.arc(t.x,t.y,t.r0,0,2*Math.PI,!0)},getRect:function(e){if(e.__rect)return e.__rect;var t;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x-e.r-t/2),y:Math.round(e.y-e.r-t/2),width:2*e.r+t,height:2*e.r+t},e.__rect}},e("../tool/util").inherits(i,t),i}),i("echarts/component/axis",["require","./base","zrender/shape/Line","../config","../util/ecData","zrender/tool/util","zrender/tool/color","./categoryAxis","./valueAxis","../component"],function(e){function t(e,t,n,a,o,r){i.call(this,e,t,n,a,o),this.axisType=r,this._axisList=[],this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Line"),a=e("../config"),o=e("../util/ecData"),r=e("zrender/tool/util"),s=e("zrender/tool/color");return t.prototype={type:a.COMPONENT_TYPE_AXIS,axisBase:{_buildAxisLine:function(){var e=this.option.axisLine.lineStyle.width,t=e/2,i={_axisShape:"axisLine",zlevel:this.getZlevelBase(),z:this.getZBase()+3,hoverable:!1},a=this.grid;switch(this.option.position){case"left":i.style={xStart:a.getX()-t,yStart:a.getYend(),xEnd:a.getX()-t,yEnd:a.getY(),lineCap:"round"};break;case"right":i.style={xStart:a.getXend()+t,yStart:a.getYend(),xEnd:a.getXend()+t,yEnd:a.getY(),lineCap:"round"};break;case"bottom":i.style={xStart:a.getX(),yStart:a.getYend()+t,xEnd:a.getXend(),yEnd:a.getYend()+t,lineCap:"round"};break;case"top":i.style={xStart:a.getX(),yStart:a.getY()-t,xEnd:a.getXend(),yEnd:a.getY()-t,lineCap:"round"}}var o=i.style;""!==this.option.name&&(o.text=this.option.name,o.textPosition=this.option.nameLocation,o.textFont=this.getFont(this.option.nameTextStyle),this.option.nameTextStyle.align&&(o.textAlign=this.option.nameTextStyle.align),this.option.nameTextStyle.baseline&&(o.textBaseline=this.option.nameTextStyle.baseline),this.option.nameTextStyle.color&&(o.textColor=this.option.nameTextStyle.color)),o.strokeColor=this.option.axisLine.lineStyle.color,o.lineWidth=e,this.isHorizontal()?o.yStart=o.yEnd=this.subPixelOptimize(o.yEnd,e):o.xStart=o.xEnd=this.subPixelOptimize(o.xEnd,e),o.lineType=this.option.axisLine.lineStyle.type,i=new n(i),this.shapeList.push(i)},_axisLabelClickable:function(e,t){return e?(o.pack(t,void 0,-1,void 0,-1,t.style.text),t.hoverable=!0,t.clickable=!0,t.highlightStyle={color:s.lift(t.style.color,1),brushType:"fill"},t):t},refixAxisShape:function(e,t){if(this.option.axisLine.onZero){var i;if(this.isHorizontal()&&null!=t)for(var n=0,a=this.shapeList.length;a>n;n++)"axisLine"===this.shapeList[n]._axisShape?(this.shapeList[n].style.yStart=this.shapeList[n].style.yEnd=this.subPixelOptimize(t,this.shapeList[n].stylelineWidth),this.zr.modShape(this.shapeList[n].id)):"axisTick"===this.shapeList[n]._axisShape&&(i=this.shapeList[n].style.yEnd-this.shapeList[n].style.yStart,this.shapeList[n].style.yStart=t-i,this.shapeList[n].style.yEnd=t,this.zr.modShape(this.shapeList[n].id));if(!this.isHorizontal()&&null!=e)for(var n=0,a=this.shapeList.length;a>n;n++)"axisLine"===this.shapeList[n]._axisShape?(this.shapeList[n].style.xStart=this.shapeList[n].style.xEnd=this.subPixelOptimize(e,this.shapeList[n].stylelineWidth),this.zr.modShape(this.shapeList[n].id)):"axisTick"===this.shapeList[n]._axisShape&&(i=this.shapeList[n].style.xEnd-this.shapeList[n].style.xStart,this.shapeList[n].style.xStart=e,this.shapeList[n].style.xEnd=e+i,this.zr.modShape(this.shapeList[n].id))}},getPosition:function(){return this.option.position},isHorizontal:function(){return"bottom"===this.option.position||"top"===this.option.position}},reformOption:function(e){if(!e||e instanceof Array&&0===e.length?e=[{type:a.COMPONENT_TYPE_AXIS_VALUE}]:e instanceof Array||(e=[e]),e.length>2&&(e=[e[0],e[1]]),"xAxis"===this.axisType){(!e[0].position||"bottom"!=e[0].position&&"top"!=e[0].position)&&(e[0].position="bottom"),e.length>1&&(e[1].position="bottom"===e[0].position?"top":"bottom");for(var t=0,i=e.length;i>t;t++)e[t].type=e[t].type||"category",e[t].xAxisIndex=t,e[t].yAxisIndex=-1}else{(!e[0].position||"left"!=e[0].position&&"right"!=e[0].position)&&(e[0].position="left"),e.length>1&&(e[1].position="left"===e[0].position?"right":"left");for(var t=0,i=e.length;i>t;t++)e[t].type=e[t].type||"value",e[t].xAxisIndex=-1,e[t].yAxisIndex=t}return e},refresh:function(t){var i;t&&(this.option=t,"xAxis"===this.axisType?(this.option.xAxis=this.reformOption(t.xAxis),i=this.option.xAxis):(this.option.yAxis=this.reformOption(t.yAxis),i=this.option.yAxis),this.series=t.series);for(var n=e("./categoryAxis"),a=e("./valueAxis"),o=Math.max(i&&i.length||0,this._axisList.length),r=0;o>r;r++)!this._axisList[r]||!t||i[r]&&this._axisList[r].type==i[r].type||(this._axisList[r].dispose&&this._axisList[r].dispose(),this._axisList[r]=!1),this._axisList[r]?this._axisList[r].refresh&&this._axisList[r].refresh(i?i[r]:!1,this.series):i&&i[r]&&(this._axisList[r]="category"===i[r].type?new n(this.ecTheme,this.messageCenter,this.zr,i[r],this.myChart,this.axisBase):new a(this.ecTheme,this.messageCenter,this.zr,i[r],this.myChart,this.axisBase,this.series))},getAxis:function(e){return this._axisList[e]},getAxisCount:function(){return this._axisList.length},clear:function(){for(var e=0,t=this._axisList.length;t>e;e++)this._axisList[e].dispose&&this._axisList[e].dispose();this._axisList=[]}},r.inherits(t,i),e("../component").define("axis",t),t}),i("echarts/component/grid",["require","./base","zrender/shape/Rectangle","../config","zrender/tool/util","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Rectangle"),a=e("../config");a.grid={zlevel:0,z:0,x:80,y:60,x2:80,y2:60,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"};var o=e("zrender/tool/util");return t.prototype={type:a.COMPONENT_TYPE_GRID,getX:function(){return this._x},getY:function(){return this._y},getWidth:function(){return this._width},getHeight:function(){return this._height},getXend:function(){return this._x+this._width},getYend:function(){return this._y+this._height},getArea:function(){return{x:this._x,y:this._y,width:this._width,height:this._height}},getBbox:function(){return[[this._x,this._y],[this.getXend(),this.getYend()]]},refixAxisShape:function(e){for(var t,i,n,o=e.xAxis._axisList.concat(e.yAxis?e.yAxis._axisList:[]),r=o.length;r--;)n=o[r],n.type==a.COMPONENT_TYPE_AXIS_VALUE&&n._min<0&&n._max>=0&&(n.isHorizontal()?t=n.getCoord(0):i=n.getCoord(0));if("undefined"!=typeof t||"undefined"!=typeof i)for(r=o.length;r--;)o[r].refixAxisShape(t,i)},refresh:function(e){if(e||this._zrWidth!=this.zr.getWidth()||this._zrHeight!=this.zr.getHeight()){this.clear(),this.option=e||this.option,this.option.grid=this.reformOption(this.option.grid);var t=this.option.grid;this._zrWidth=this.zr.getWidth(),this._zrHeight=this.zr.getHeight(),this._x=this.parsePercent(t.x,this._zrWidth),this._y=this.parsePercent(t.y,this._zrHeight);var i=this.parsePercent(t.x2,this._zrWidth),a=this.parsePercent(t.y2,this._zrHeight);this._width="undefined"==typeof t.width?this._zrWidth-this._x-i:this.parsePercent(t.width,this._zrWidth),this._width=this._width<=0?10:this._width,this._height="undefined"==typeof t.height?this._zrHeight-this._y-a:this.parsePercent(t.height,this._zrHeight),this._height=this._height<=0?10:this._height,this._x=this.subPixelOptimize(this._x,t.borderWidth),this._y=this.subPixelOptimize(this._y,t.borderWidth),this.shapeList.push(new n({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._x,y:this._y,width:this._width,height:this._height,brushType:t.borderWidth>0?"both":"fill",color:t.backgroundColor,strokeColor:t.borderColor,lineWidth:t.borderWidth}})),this.zr.addShape(this.shapeList[0])}}},o.inherits(t,i),e("../component").define("grid",t),t}),i("echarts/component/dataZoom",["require","./base","zrender/shape/Rectangle","zrender/shape/Polygon","../util/shape/Icon","../config","../util/date","zrender/tool/util","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o);var r=this;r._ondrift=function(e,t){return r.__ondrift(this,e,t)},r._ondragend=function(){return r.__ondragend()},this._fillerSize=30,this._isSilence=!1,this._zoom={},this.option.dataZoom=this.reformOption(this.option.dataZoom),this.zoomOption=this.option.dataZoom,this._handleSize=this.zoomOption.handleSize,this.myChart.canvasSupported||(this.zoomOption.realtime=!1),this._location=this._getLocation(),this._zoom=this._getZoom(),this._backupData(),this.option.dataZoom.show&&this._buildShape(),this._syncData()}var i=e("./base"),n=e("zrender/shape/Rectangle"),a=e("zrender/shape/Polygon"),o=e("../util/shape/Icon"),r=e("../config");r.dataZoom={zlevel:0,z:4,show:!1,orient:"horizontal",backgroundColor:"rgba(0,0,0,0)",dataBackgroundColor:"#eee",fillerColor:"rgba(144,197,237,0.2)",handleColor:"rgba(70,130,180,0.8)",handleSize:8,showDetail:!0,realtime:!0};var s=e("../util/date"),l=e("zrender/tool/util");return t.prototype={type:r.COMPONENT_TYPE_DATAZOOM,_buildShape:function(){this._buildBackground(),this._buildFiller(),this._buildHandle(),this._buildFrame();for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e]);this._syncFrameShape()},_getLocation:function(){var e,t,i,n,a=this.component.grid;return"horizontal"==this.zoomOption.orient?(i=this.zoomOption.width||a.getWidth(),n=this.zoomOption.height||this._fillerSize,e=null!=this.zoomOption.x?this.zoomOption.x:a.getX(),t=null!=this.zoomOption.y?this.zoomOption.y:this.zr.getHeight()-n-2):(i=this.zoomOption.width||this._fillerSize,n=this.zoomOption.height||a.getHeight(),e=null!=this.zoomOption.x?this.zoomOption.x:2,t=null!=this.zoomOption.y?this.zoomOption.y:a.getY()),{x:e,y:t,width:i,height:n}},_getZoom:function(){var e=this.option.series,t=this.option.xAxis;!t||t instanceof Array||(t=[t],this.option.xAxis=t);var i=this.option.yAxis;!i||i instanceof Array||(i=[i],this.option.yAxis=i);var n,a,o=[],s=this.zoomOption.xAxisIndex;if(t&&null==s){n=[];for(var l=0,h=t.length;h>l;l++)("category"==t[l].type||null==t[l].type)&&n.push(l)}else n=s instanceof Array?s:null!=s?[s]:[];if(s=this.zoomOption.yAxisIndex,i&&null==s){a=[];for(var l=0,h=i.length;h>l;l++)"category"==i[l].type&&a.push(l)}else a=s instanceof Array?s:null!=s?[s]:[];for(var m,l=0,h=e.length;h>l;l++)if(m=e[l],m.type==r.CHART_TYPE_LINE||m.type==r.CHART_TYPE_BAR||m.type==r.CHART_TYPE_SCATTER||m.type==r.CHART_TYPE_K){for(var V=0,U=n.length;U>V;V++)if(n[V]==(m.xAxisIndex||0)){o.push(l);break}for(var V=0,U=a.length;U>V;V++)if(a[V]==(m.yAxisIndex||0)){o.push(l);break}null==this.zoomOption.xAxisIndex&&null==this.zoomOption.yAxisIndex&&m.data&&this.getDataFromOption(m.data[0])instanceof Array&&(m.type==r.CHART_TYPE_SCATTER||m.type==r.CHART_TYPE_LINE||m.type==r.CHART_TYPE_BAR)&&o.push(l)}var d=null!=this._zoom.start?this._zoom.start:null!=this.zoomOption.start?this.zoomOption.start:0,p=null!=this._zoom.end?this._zoom.end:null!=this.zoomOption.end?this.zoomOption.end:100;d>p&&(d+=p,p=d-p,d-=p);var c=Math.round((p-d)/100*("horizontal"==this.zoomOption.orient?this._location.width:this._location.height));return{start:d,end:p,start2:0,end2:100,size:c,xAxisIndex:n,yAxisIndex:a,seriesIndex:o,scatterMap:this._zoom.scatterMap||{}}},_backupData:function(){this._originalData={xAxis:{},yAxis:{},series:{}};for(var e=this.option.xAxis,t=this._zoom.xAxisIndex,i=0,n=t.length;n>i;i++)this._originalData.xAxis[t[i]]=e[t[i]].data;for(var a=this.option.yAxis,o=this._zoom.yAxisIndex,i=0,n=o.length;n>i;i++)this._originalData.yAxis[o[i]]=a[o[i]].data;for(var s,l=this.option.series,h=this._zoom.seriesIndex,i=0,n=h.length;n>i;i++)s=l[h[i]],this._originalData.series[h[i]]=s.data,s.data&&this.getDataFromOption(s.data[0])instanceof Array&&(s.type==r.CHART_TYPE_SCATTER||s.type==r.CHART_TYPE_LINE||s.type==r.CHART_TYPE_BAR)&&(this._backupScale(),this._calculScatterMap(h[i]))},_calculScatterMap:function(t){this._zoom.scatterMap=this._zoom.scatterMap||{},this._zoom.scatterMap[t]=this._zoom.scatterMap[t]||{};var i=e("../component"),n=i.get("axis"),a=l.clone(this.option.xAxis);"category"==a[0].type&&(a[0].type="value"),a[1]&&"category"==a[1].type&&(a[1].type="value");var o=new n(this.ecTheme,null,!1,{xAxis:a,series:this.option.series},this,"xAxis"),r=this.option.series[t].xAxisIndex||0;this._zoom.scatterMap[t].x=o.getAxis(r).getExtremum(),o.dispose(),a=l.clone(this.option.yAxis),"category"==a[0].type&&(a[0].type="value"),a[1]&&"category"==a[1].type&&(a[1].type="value"),o=new n(this.ecTheme,null,!1,{yAxis:a,series:this.option.series},this,"yAxis"),r=this.option.series[t].yAxisIndex||0,this._zoom.scatterMap[t].y=o.getAxis(r).getExtremum(),o.dispose()},_buildBackground:function(){var e=this._location.width,t=this._location.height;this.shapeList.push(new n({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._location.x,y:this._location.y,width:e,height:t,color:this.zoomOption.backgroundColor}}));for(var i=0,o=this._originalData.xAxis,s=this._zoom.xAxisIndex,l=0,h=s.length;h>l;l++)i=Math.max(i,o[s[l]].length);for(var m=this._originalData.yAxis,V=this._zoom.yAxisIndex,l=0,h=V.length;h>l;l++)i=Math.max(i,m[V[l]].length);for(var U,d=this._zoom.seriesIndex[0],p=this._originalData.series[d],c=Number.MIN_VALUE,u=Number.MAX_VALUE,l=0,h=p.length;h>l;l++)U=this.getDataFromOption(p[l],0),this.option.series[d].type==r.CHART_TYPE_K&&(U=U[1]),isNaN(U)&&(U=0),c=Math.max(c,U),u=Math.min(u,U);var y=c-u,g=[],b=e/(i-(i>1?1:0)),f=t/(i-(i>1?1:0)),k=1;"horizontal"==this.zoomOption.orient&&1>b?k=Math.floor(3*i/e):"vertical"==this.zoomOption.orient&&1>f&&(k=Math.floor(3*i/t));for(var l=0,h=i;h>l;l+=k)U=this.getDataFromOption(p[l],0),this.option.series[d].type==r.CHART_TYPE_K&&(U=U[1]),isNaN(U)&&(U=0),g.push("horizontal"==this.zoomOption.orient?[this._location.x+b*l,this._location.y+t-1-Math.round((U-u)/y*(t-10))]:[this._location.x+1+Math.round((U-u)/y*(e-10)),this._location.y+f*(h-l-1)]);"horizontal"==this.zoomOption.orient?(g.push([this._location.x+e,this._location.y+t]),g.push([this._location.x,this._location.y+t])):(g.push([this._location.x,this._location.y]),g.push([this._location.x,this._location.y+t])),this.shapeList.push(new a({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{pointList:g,color:this.zoomOption.dataBackgroundColor},hoverable:!1}))},_buildFiller:function(){this._fillerShae={zlevel:this.getZlevelBase(),z:this.getZBase(),draggable:!0,ondrift:this._ondrift,ondragend:this._ondragend,_type:"filler"},this._fillerShae.style="horizontal"==this.zoomOption.orient?{x:this._location.x+Math.round(this._zoom.start/100*this._location.width)+this._handleSize,y:this._location.y,width:this._zoom.size-2*this._handleSize,height:this._location.height,color:this.zoomOption.fillerColor,text:":::",textPosition:"inside"}:{x:this._location.x,y:this._location.y+Math.round(this._zoom.start/100*this._location.height)+this._handleSize,width:this._location.width,height:this._zoom.size-2*this._handleSize,color:this.zoomOption.fillerColor,text:"::",textPosition:"inside"},this._fillerShae.highlightStyle={brushType:"fill",color:"rgba(0,0,0,0)"},this._fillerShae=new n(this._fillerShae),this.shapeList.push(this._fillerShae)},_buildHandle:function(){var e=this.zoomOption.showDetail?this._getDetail():{start:"",end:""};this._startShape={zlevel:this.getZlevelBase(),z:this.getZBase(),draggable:!0,style:{iconType:"rectangle",x:this._location.x,y:this._location.y,width:this._handleSize,height:this._handleSize,color:this.zoomOption.handleColor,text:"=",textPosition:"inside"},highlightStyle:{text:e.start,brushType:"fill",textPosition:"left"},ondrift:this._ondrift,ondragend:this._ondragend},"horizontal"==this.zoomOption.orient?(this._startShape.style.height=this._location.height,this._endShape=l.clone(this._startShape),this._startShape.style.x=this._fillerShae.style.x-this._handleSize,this._endShape.style.x=this._fillerShae.style.x+this._fillerShae.style.width,this._endShape.highlightStyle.text=e.end,this._endShape.highlightStyle.textPosition="right"):(this._startShape.style.width=this._location.width,this._endShape=l.clone(this._startShape),this._startShape.style.y=this._fillerShae.style.y+this._fillerShae.style.height,this._startShape.highlightStyle.textPosition="bottom",this._endShape.style.y=this._fillerShae.style.y-this._handleSize,this._endShape.highlightStyle.text=e.end,this._endShape.highlightStyle.textPosition="top"),this._startShape=new o(this._startShape),this._endShape=new o(this._endShape),this.shapeList.push(this._startShape),this.shapeList.push(this._endShape)},_buildFrame:function(){var e=this.subPixelOptimize(this._location.x,1),t=this.subPixelOptimize(this._location.y,1);this._startFrameShape={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:e,y:t,width:this._location.width-(e>this._location.x?1:0),height:this._location.height-(t>this._location.y?1:0),lineWidth:1,brushType:"stroke",strokeColor:this.zoomOption.handleColor}},this._endFrameShape=l.clone(this._startFrameShape),this._startFrameShape=new n(this._startFrameShape),this._endFrameShape=new n(this._endFrameShape),this.shapeList.push(this._startFrameShape),this.shapeList.push(this._endFrameShape)},_syncHandleShape:function(){"horizontal"==this.zoomOption.orient?(this._startShape.style.x=this._fillerShae.style.x-this._handleSize,this._endShape.style.x=this._fillerShae.style.x+this._fillerShae.style.width,this._zoom.start=(this._startShape.style.x-this._location.x)/this._location.width*100,this._zoom.end=(this._endShape.style.x+this._handleSize-this._location.x)/this._location.width*100):(this._startShape.style.y=this._fillerShae.style.y+this._fillerShae.style.height,this._endShape.style.y=this._fillerShae.style.y-this._handleSize,this._zoom.start=(this._location.y+this._location.height-this._startShape.style.y)/this._location.height*100,this._zoom.end=(this._location.y+this._location.height-this._endShape.style.y-this._handleSize)/this._location.height*100),this.zr.modShape(this._startShape.id),this.zr.modShape(this._endShape.id),this._syncFrameShape(),this.zr.refreshNextFrame()},_syncFillerShape:function(){var e,t;"horizontal"==this.zoomOption.orient?(e=this._startShape.style.x,t=this._endShape.style.x,this._fillerShae.style.x=Math.min(e,t)+this._handleSize,this._fillerShae.style.width=Math.abs(e-t)-this._handleSize,this._zoom.start=(Math.min(e,t)-this._location.x)/this._location.width*100,this._zoom.end=(Math.max(e,t)+this._handleSize-this._location.x)/this._location.width*100):(e=this._startShape.style.y,t=this._endShape.style.y,this._fillerShae.style.y=Math.min(e,t)+this._handleSize,this._fillerShae.style.height=Math.abs(e-t)-this._handleSize,this._zoom.start=(this._location.y+this._location.height-Math.max(e,t))/this._location.height*100,this._zoom.end=(this._location.y+this._location.height-Math.min(e,t)-this._handleSize)/this._location.height*100),this.zr.modShape(this._fillerShae.id),this._syncFrameShape(),this.zr.refreshNextFrame()},_syncFrameShape:function(){"horizontal"==this.zoomOption.orient?(this._startFrameShape.style.width=this._fillerShae.style.x-this._location.x,this._endFrameShape.style.x=this._fillerShae.style.x+this._fillerShae.style.width,this._endFrameShape.style.width=this._location.x+this._location.width-this._endFrameShape.style.x):(this._startFrameShape.style.y=this._fillerShae.style.y+this._fillerShae.style.height,this._startFrameShape.style.height=this._location.y+this._location.height-this._startFrameShape.style.y,this._endFrameShape.style.height=this._fillerShae.style.y-this._location.y),this.zr.modShape(this._startFrameShape.id),this.zr.modShape(this._endFrameShape.id)},_syncShape:function(){this.zoomOption.show&&("horizontal"==this.zoomOption.orient?(this._startShape.style.x=this._location.x+this._zoom.start/100*this._location.width,this._endShape.style.x=this._location.x+this._zoom.end/100*this._location.width-this._handleSize,this._fillerShae.style.x=this._startShape.style.x+this._handleSize,this._fillerShae.style.width=this._endShape.style.x-this._startShape.style.x-this._handleSize):(this._startShape.style.y=this._location.y+this._location.height-this._zoom.start/100*this._location.height,this._endShape.style.y=this._location.y+this._location.height-this._zoom.end/100*this._location.height-this._handleSize,this._fillerShae.style.y=this._endShape.style.y+this._handleSize,this._fillerShae.style.height=this._startShape.style.y-this._endShape.style.y-this._handleSize),this.zr.modShape(this._startShape.id),this.zr.modShape(this._endShape.id),this.zr.modShape(this._fillerShae.id),this._syncFrameShape(),this.zr.refresh())},_syncData:function(e){var t,i,n,a,o;for(var s in this._originalData){t=this._originalData[s];for(var l in t)o=t[l],null!=o&&(a=o.length,i=Math.floor(this._zoom.start/100*a),n=Math.ceil(this._zoom.end/100*a),this.getDataFromOption(o[0])instanceof Array&&this.option[s][l].type!=r.CHART_TYPE_K?(this._setScale(),this.option[s][l].data=this._synScatterData(l,o)):this.option[s][l].data=o.slice(i,n))}this._isSilence||!this.zoomOption.realtime&&!e||this.messageCenter.dispatch(r.EVENT.DATA_ZOOM,null,{zoom:this._zoom},this.myChart)},_synScatterData:function(e,t){if(0===this._zoom.start&&100==this._zoom.end&&0===this._zoom.start2&&100==this._zoom.end2)return t;var i,n,a,o,r,s=[],l=this._zoom.scatterMap[e];
-
-"horizontal"==this.zoomOption.orient?(i=l.x.max-l.x.min,n=this._zoom.start/100*i+l.x.min,a=this._zoom.end/100*i+l.x.min,i=l.y.max-l.y.min,o=this._zoom.start2/100*i+l.y.min,r=this._zoom.end2/100*i+l.y.min):(i=l.x.max-l.x.min,n=this._zoom.start2/100*i+l.x.min,a=this._zoom.end2/100*i+l.x.min,i=l.y.max-l.y.min,o=this._zoom.start/100*i+l.y.min,r=this._zoom.end/100*i+l.y.min);var h;(h=l.x.dataMappingMethods)&&(n=h.coord2Value(n),a=h.coord2Value(a)),(h=l.y.dataMappingMethods)&&(o=h.coord2Value(o),r=h.coord2Value(r));for(var m,V=0,U=t.length;U>V;V++)m=t[V].value||t[V],m[0]>=n&&m[0]<=a&&m[1]>=o&&m[1]<=r&&s.push(t[V]);return s},_setScale:function(){var e=0!==this._zoom.start||100!==this._zoom.end||0!==this._zoom.start2||100!==this._zoom.end2,t={xAxis:this.option.xAxis,yAxis:this.option.yAxis};for(var i in t)for(var n=0,a=t[i].length;a>n;n++)t[i][n].scale=e||t[i][n]._scale},_backupScale:function(){var e={xAxis:this.option.xAxis,yAxis:this.option.yAxis};for(var t in e)for(var i=0,n=e[t].length;n>i;i++)e[t][i]._scale=e[t][i].scale},_getDetail:function(){for(var e=["xAxis","yAxis"],t=0,i=e.length;i>t;t++){var n=this._originalData[e[t]];for(var a in n){var o=n[a];if(null!=o){var r=o.length,l=Math.floor(this._zoom.start/100*r),h=Math.ceil(this._zoom.end/100*r);return h-=h>0?1:0,{start:this.getDataFromOption(o[l]),end:this.getDataFromOption(o[h])}}}}e="horizontal"==this.zoomOption.orient?"xAxis":"yAxis";var m=this._zoom.seriesIndex[0],V=this.option.series[m][e+"Index"]||0,U=this.option[e][V].type,d=this._zoom.scatterMap[m][e.charAt(0)].min,p=this._zoom.scatterMap[m][e.charAt(0)].max,c=p-d;if("value"==U)return{start:d+c*this._zoom.start/100,end:d+c*this._zoom.end/100};if("time"==U){p=d+c*this._zoom.end/100,d+=c*this._zoom.start/100;var u=s.getAutoFormatter(d,p).formatter;return{start:s.format(u,d),end:s.format(u,p)}}return{start:"",end:""}},__ondrift:function(e,t,i){this.zoomOption.zoomLock&&(e=this._fillerShae);var n="filler"==e._type?this._handleSize:0;if("horizontal"==this.zoomOption.orient?e.style.x+t-n<=this._location.x?e.style.x=this._location.x+n:e.style.x+t+e.style.width+n>=this._location.x+this._location.width?e.style.x=this._location.x+this._location.width-e.style.width-n:e.style.x+=t:e.style.y+i-n<=this._location.y?e.style.y=this._location.y+n:e.style.y+i+e.style.height+n>=this._location.y+this._location.height?e.style.y=this._location.y+this._location.height-e.style.height-n:e.style.y+=i,"filler"==e._type?this._syncHandleShape():this._syncFillerShape(),this.zoomOption.realtime&&this._syncData(),this.zoomOption.showDetail){var a=this._getDetail();this._startShape.style.text=this._startShape.highlightStyle.text=a.start,this._endShape.style.text=this._endShape.highlightStyle.text=a.end,this._startShape.style.textPosition=this._startShape.highlightStyle.textPosition,this._endShape.style.textPosition=this._endShape.highlightStyle.textPosition}return!0},__ondragend:function(){this.zoomOption.showDetail&&(this._startShape.style.text=this._endShape.style.text="=",this._startShape.style.textPosition=this._endShape.style.textPosition="inside",this.zr.modShape(this._startShape.id),this.zr.modShape(this._endShape.id),this.zr.refreshNextFrame()),this.isDragend=!0},ondragend:function(e,t){this.isDragend&&e.target&&(!this.zoomOption.realtime&&this._syncData(),t.dragOut=!0,t.dragIn=!0,this._isSilence||this.zoomOption.realtime||this.messageCenter.dispatch(r.EVENT.DATA_ZOOM,null,{zoom:this._zoom},this.myChart),t.needRefresh=!1,this.isDragend=!1)},ondataZoom:function(e,t){t.needRefresh=!0},absoluteZoom:function(e){this._zoom.start=e.start,this._zoom.end=e.end,this._zoom.start2=e.start2,this._zoom.end2=e.end2,this._syncShape(),this._syncData(!0)},rectZoom:function(e){if(!e)return this._zoom.start=this._zoom.start2=0,this._zoom.end=this._zoom.end2=100,this._syncShape(),this._syncData(!0),this._zoom;var t=this.component.grid.getArea(),i={x:e.x,y:e.y,width:e.width,height:e.height};if(i.width<0&&(i.x+=i.width,i.width=-i.width),i.height<0&&(i.y+=i.height,i.height=-i.height),i.x>t.x+t.width||i.y>t.y+t.height)return!1;i.x<t.x&&(i.x=t.x),i.x+i.width>t.x+t.width&&(i.width=t.x+t.width-i.x),i.y+i.height>t.y+t.height&&(i.height=t.y+t.height-i.y);var n,a=(i.x-t.x)/t.width,o=1-(i.x+i.width-t.x)/t.width,r=1-(i.y+i.height-t.y)/t.height,s=(i.y-t.y)/t.height;return"horizontal"==this.zoomOption.orient?(n=this._zoom.end-this._zoom.start,this._zoom.start+=n*a,this._zoom.end-=n*o,n=this._zoom.end2-this._zoom.start2,this._zoom.start2+=n*r,this._zoom.end2-=n*s):(n=this._zoom.end-this._zoom.start,this._zoom.start+=n*r,this._zoom.end-=n*s,n=this._zoom.end2-this._zoom.start2,this._zoom.start2+=n*a,this._zoom.end2-=n*o),this._syncShape(),this._syncData(!0),this._zoom},syncBackupData:function(e){for(var t,i,n=this._originalData.series,a=e.series,o=0,r=a.length;r>o;o++){i=a[o].data||a[o].eventList,t=n[o]?Math.floor(this._zoom.start/100*n[o].length):0;for(var s=0,l=i.length;l>s;s++)n[o]&&(n[o][s+t]=i[s])}},syncOption:function(e){this.silence(!0),this.option=e,this.option.dataZoom=this.reformOption(this.option.dataZoom),this.zoomOption=this.option.dataZoom,this.myChart.canvasSupported||(this.zoomOption.realtime=!1),this.clear(),this._location=this._getLocation(),this._zoom=this._getZoom(),this._backupData(),this.option.dataZoom&&this.option.dataZoom.show&&this._buildShape(),this._syncData(),this.silence(!1)},silence:function(e){this._isSilence=e},getRealDataIndex:function(e,t){if(!this._originalData||0===this._zoom.start&&100==this._zoom.end)return t;var i=this._originalData.series;return i[e]?Math.floor(this._zoom.start/100*i[e].length)+t:-1},resize:function(){this.clear(),this._location=this._getLocation(),this._zoom=this._getZoom(),this.option.dataZoom.show&&this._buildShape()}},l.inherits(t,i),e("../component").define("dataZoom",t),t}),i("echarts/component/categoryAxis",["require","./base","zrender/shape/Text","zrender/shape/Line","zrender/shape/Rectangle","../config","zrender/tool/util","zrender/tool/area","../component"],function(e){function t(e,t,n,a,o,r){if(a.data.length<1)return void console.error("option.data.length < 1.");i.call(this,e,t,n,a,o),this.grid=this.component.grid;for(var s in r)this[s]=r[s];this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Line"),o=e("zrender/shape/Rectangle"),r=e("../config");r.categoryAxis={zlevel:0,z:0,show:!0,position:"bottom",name:"",nameLocation:"end",nameTextStyle:{},boundaryGap:!0,axisLine:{show:!0,onZero:!0,lineStyle:{color:"#48b",width:2,type:"solid"}},axisTick:{show:!0,interval:"auto",inside:!1,length:5,lineStyle:{color:"#333",width:1}},axisLabel:{show:!0,interval:"auto",rotate:0,margin:8,textStyle:{color:"#333"}},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}};var s=e("zrender/tool/util"),l=e("zrender/tool/area");return t.prototype={type:r.COMPONENT_TYPE_AXIS_CATEGORY,_getReformedLabel:function(e){var t=this.getDataFromOption(this.option.data[e]),i=this.option.data[e].formatter||this.option.axisLabel.formatter;return i&&("function"==typeof i?t=i.call(this.myChart,t):"string"==typeof i&&(t=i.replace("{value}",t))),t},_getInterval:function(){var e=this.option.axisLabel.interval;if("auto"==e){var t=this.option.axisLabel.textStyle.fontSize,i=this.option.data,n=this.option.data.length;if(this.isHorizontal())if(n>3){var a,o,r=this.getGap(),h=!1,m=Math.floor(.5/r);for(m=1>m?1:m,e=Math.floor(15/r);!h&&n>e;){e+=m,h=!0,a=Math.floor(r*e);for(var V=Math.floor((n-1)/e)*e;V>=0;V-=e){if(0!==this.option.axisLabel.rotate)o=t;else if(i[V].textStyle)o=l.getTextWidth(this._getReformedLabel(V),this.getFont(s.merge(i[V].textStyle,this.option.axisLabel.textStyle)));else{var U=this._getReformedLabel(V)+"",d=(U.match(/\w/g)||"").length,p=U.length-d;o=d*t*2/3+p*t}if(o>a){h=!1;break}}}}else e=1;else if(n>3){var r=this.getGap();for(e=Math.floor(11/r);t>r*e-6&&n>e;)e++}else e=1}else e="function"==typeof e?1:e-0+1;return e},_buildShape:function(){if(this._interval=this._getInterval(),this.option.show){this.option.splitArea.show&&this._buildSplitArea(),this.option.splitLine.show&&this._buildSplitLine(),this.option.axisLine.show&&this._buildAxisLine(),this.option.axisTick.show&&this._buildAxisTick(),this.option.axisLabel.show&&this._buildAxisLabel();for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e])}},_buildAxisTick:function(){var e,t=this.option.data,i=this.option.data.length,n=this.option.axisTick,o=n.length,r=n.lineStyle.color,s=n.lineStyle.width,l="function"==typeof n.interval?n.interval:"auto"==n.interval&&"function"==typeof this.option.axisLabel.interval?this.option.axisLabel.interval:!1,h=l?1:"auto"==n.interval?this._interval:n.interval-0+1,m=n.onGap,V=m?this.getGap()/2:"undefined"==typeof m&&this.option.boundaryGap?this.getGap()/2:0,U=V>0?-h:0;if(this.isHorizontal())for(var d,p="bottom"==this.option.position?n.inside?this.grid.getYend()-o-1:this.grid.getYend()+1:n.inside?this.grid.getY()+1:this.grid.getY()-o-1,c=U;i>c;c+=h)(!l||l(c,t[c]))&&(d=this.subPixelOptimize(this.getCoordByIndex(c)+(c>=0?V:0),s),e={_axisShape:"axisTick",zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:d,yStart:p,xEnd:d,yEnd:p+o,strokeColor:r,lineWidth:s}},this.shapeList.push(new a(e)));else for(var u,y="left"==this.option.position?n.inside?this.grid.getX()+1:this.grid.getX()-o-1:n.inside?this.grid.getXend()-o-1:this.grid.getXend()+1,c=U;i>c;c+=h)(!l||l(c,t[c]))&&(u=this.subPixelOptimize(this.getCoordByIndex(c)-(c>=0?V:0),s),e={_axisShape:"axisTick",zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:y,yStart:u,xEnd:y+o,yEnd:u,strokeColor:r,lineWidth:s}},this.shapeList.push(new a(e)))},_buildAxisLabel:function(){var e,t,i=this.option.data,a=this.option.data.length,o=this.option.axisLabel,r=o.rotate,l=o.margin,h=o.clickable,m=o.textStyle,V="function"==typeof o.interval?o.interval:!1;if(this.isHorizontal()){var U,d;"bottom"==this.option.position?(U=this.grid.getYend()+l,d="top"):(U=this.grid.getY()-l,d="bottom");for(var p=0;a>p;p+=this._interval)V&&!V(p,i[p])||""===this._getReformedLabel(p)||(t=s.merge(i[p].textStyle||{},m),e={zlevel:this.getZlevelBase(),z:this.getZBase()+3,hoverable:!1,style:{x:this.getCoordByIndex(p),y:U,color:t.color,text:this._getReformedLabel(p),textFont:this.getFont(t),textAlign:t.align||"center",textBaseline:t.baseline||d}},r&&(e.style.textAlign=r>0?"bottom"==this.option.position?"right":"left":"bottom"==this.option.position?"left":"right",e.rotation=[r*Math.PI/180,e.style.x,e.style.y]),this.shapeList.push(new n(this._axisLabelClickable(h,e))))}else{var c,u;"left"==this.option.position?(c=this.grid.getX()-l,u="right"):(c=this.grid.getXend()+l,u="left");for(var p=0;a>p;p+=this._interval)V&&!V(p,i[p])||""===this._getReformedLabel(p)||(t=s.merge(i[p].textStyle||{},m),e={zlevel:this.getZlevelBase(),z:this.getZBase()+3,hoverable:!1,style:{x:c,y:this.getCoordByIndex(p),color:t.color,text:this._getReformedLabel(p),textFont:this.getFont(t),textAlign:t.align||u,textBaseline:t.baseline||0===p&&""!==this.option.name?"bottom":p==a-1&&""!==this.option.name?"top":"middle"}},r&&(e.rotation=[r*Math.PI/180,e.style.x,e.style.y]),this.shapeList.push(new n(this._axisLabelClickable(h,e))))}},_buildSplitLine:function(){var e,t=this.option.data,i=this.option.data.length,n=this.option.splitLine,o=n.lineStyle.type,r=n.lineStyle.width,s=n.lineStyle.color;s=s instanceof Array?s:[s];var l=s.length,h="function"==typeof this.option.axisLabel.interval?this.option.axisLabel.interval:!1,m=n.onGap,V=m?this.getGap()/2:"undefined"==typeof m&&this.option.boundaryGap?this.getGap()/2:0;if(i-=m||"undefined"==typeof m&&this.option.boundaryGap?1:0,this.isHorizontal())for(var U,d=this.grid.getY(),p=this.grid.getYend(),c=0;i>c;c+=this._interval)(!h||h(c,t[c]))&&(U=this.subPixelOptimize(this.getCoordByIndex(c)+V,r),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:U,yStart:d,xEnd:U,yEnd:p,strokeColor:s[c/this._interval%l],lineType:o,lineWidth:r}},this.shapeList.push(new a(e)));else for(var u,y=this.grid.getX(),g=this.grid.getXend(),c=0;i>c;c+=this._interval)(!h||h(c,t[c]))&&(u=this.subPixelOptimize(this.getCoordByIndex(c)-V,r),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:y,yStart:u,xEnd:g,yEnd:u,strokeColor:s[c/this._interval%l],lineType:o,lineWidth:r}},this.shapeList.push(new a(e)))},_buildSplitArea:function(){var e,t=this.option.data,i=this.option.splitArea,n=i.areaStyle.color;if(n instanceof Array){var a=n.length,r=this.option.data.length,s="function"==typeof this.option.axisLabel.interval?this.option.axisLabel.interval:!1,l=i.onGap,h=l?this.getGap()/2:"undefined"==typeof l&&this.option.boundaryGap?this.getGap()/2:0;if(this.isHorizontal())for(var m,V=this.grid.getY(),U=this.grid.getHeight(),d=this.grid.getX(),p=0;r>=p;p+=this._interval)s&&!s(p,t[p])&&r>p||(m=r>p?this.getCoordByIndex(p)+h:this.grid.getXend(),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:d,y:V,width:m-d,height:U,color:n[p/this._interval%a]}},this.shapeList.push(new o(e)),d=m);else for(var c,u=this.grid.getX(),y=this.grid.getWidth(),g=this.grid.getYend(),p=0;r>=p;p+=this._interval)s&&!s(p,t[p])&&r>p||(c=r>p?this.getCoordByIndex(p)-h:this.grid.getY(),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:u,y:c,width:y,height:g-c,color:n[p/this._interval%a]}},this.shapeList.push(new o(e)),g=c)}else e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this.grid.getX(),y:this.grid.getY(),width:this.grid.getWidth(),height:this.grid.getHeight(),color:n}},this.shapeList.push(new o(e))},refresh:function(e){e&&(this.option=this.reformOption(e),this.option.axisLabel.textStyle=this.getTextStyle(this.option.axisLabel.textStyle)),this.clear(),this._buildShape()},getGap:function(){var e=this.option.data.length,t=this.isHorizontal()?this.grid.getWidth():this.grid.getHeight();return this.option.boundaryGap?t/e:t/(e>1?e-1:1)},getCoord:function(e){for(var t=this.option.data,i=t.length,n=this.getGap(),a=this.option.boundaryGap?n/2:0,o=0;i>o;o++){if(this.getDataFromOption(t[o])==e)return a=this.isHorizontal()?this.grid.getX()+a:this.grid.getYend()-a;a+=n}},getCoordByIndex:function(e){if(0>e)return this.isHorizontal()?this.grid.getX():this.grid.getYend();if(e>this.option.data.length-1)return this.isHorizontal()?this.grid.getXend():this.grid.getY();var t=this.getGap(),i=this.option.boundaryGap?t/2:0;return i+=e*t,i=this.isHorizontal()?this.grid.getX()+i:this.grid.getYend()-i},getNameByIndex:function(e){return this.getDataFromOption(this.option.data[e])},getIndexByName:function(e){for(var t=this.option.data,i=t.length,n=0;i>n;n++)if(this.getDataFromOption(t[n])==e)return n;return-1},getValueFromCoord:function(){return""},isMainAxis:function(e){return e%this._interval===0}},s.inherits(t,i),e("../component").define("categoryAxis",t),t}),i("echarts/component/valueAxis",["require","./base","zrender/shape/Text","zrender/shape/Line","zrender/shape/Rectangle","../config","../util/date","zrender/tool/util","../util/smartSteps","../util/accMath","../util/smartLogSteps","../component"],function(e){function t(e,t,n,a,o,r,s){if(!s||0===s.length)return void console.err("option.series.length == 0.");i.call(this,e,t,n,a,o),this.series=s,this.grid=this.component.grid;for(var l in r)this[l]=r[l];this.refresh(a,s)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Line"),o=e("zrender/shape/Rectangle"),r=e("../config");r.valueAxis={zlevel:0,z:0,show:!0,position:"left",name:"",nameLocation:"end",nameTextStyle:{},boundaryGap:[0,0],axisLine:{show:!0,onZero:!0,lineStyle:{color:"#48b",width:2,type:"solid"}},axisTick:{show:!1,inside:!1,length:5,lineStyle:{color:"#333",width:1}},axisLabel:{show:!0,rotate:0,margin:8,textStyle:{color:"#333"}},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}};var s=e("../util/date"),l=e("zrender/tool/util");return t.prototype={type:r.COMPONENT_TYPE_AXIS_VALUE,_buildShape:function(){if(this._hasData=!1,this._calculateValue(),this._hasData&&this.option.show){this.option.splitArea.show&&this._buildSplitArea(),this.option.splitLine.show&&this._buildSplitLine(),this.option.axisLine.show&&this._buildAxisLine(),this.option.axisTick.show&&this._buildAxisTick(),this.option.axisLabel.show&&this._buildAxisLabel();for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e])}},_buildAxisTick:function(){var e,t=this._valueList,i=this._valueList.length,n=this.option.axisTick,o=n.length,r=n.lineStyle.color,s=n.lineStyle.width;if(this.isHorizontal())for(var l,h="bottom"===this.option.position?n.inside?this.grid.getYend()-o-1:this.grid.getYend()+1:n.inside?this.grid.getY()+1:this.grid.getY()-o-1,m=0;i>m;m++)l=this.subPixelOptimize(this.getCoord(t[m]),s),e={_axisShape:"axisTick",zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:l,yStart:h,xEnd:l,yEnd:h+o,strokeColor:r,lineWidth:s}},this.shapeList.push(new a(e));else for(var V,U="left"===this.option.position?n.inside?this.grid.getX()+1:this.grid.getX()-o-1:n.inside?this.grid.getXend()-o-1:this.grid.getXend()+1,m=0;i>m;m++)V=this.subPixelOptimize(this.getCoord(t[m]),s),e={_axisShape:"axisTick",zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:U,yStart:V,xEnd:U+o,yEnd:V,strokeColor:r,lineWidth:s}},this.shapeList.push(new a(e))},_buildAxisLabel:function(){var e,t=this._valueList,i=this._valueList.length,a=this.option.axisLabel.rotate,o=this.option.axisLabel.margin,r=this.option.axisLabel.clickable,s=this.option.axisLabel.textStyle;if(this.isHorizontal()){var l,h;"bottom"===this.option.position?(l=this.grid.getYend()+o,h="top"):(l=this.grid.getY()-o,h="bottom");for(var m=0;i>m;m++)e={zlevel:this.getZlevelBase(),z:this.getZBase()+3,hoverable:!1,style:{x:this.getCoord(t[m]),y:l,color:"function"==typeof s.color?s.color(t[m]):s.color,text:this._valueLabel[m],textFont:this.getFont(s),textAlign:s.align||"center",textBaseline:s.baseline||h}},a&&(e.style.textAlign=a>0?"bottom"===this.option.position?"right":"left":"bottom"===this.option.position?"left":"right",e.rotation=[a*Math.PI/180,e.style.x,e.style.y]),this.shapeList.push(new n(this._axisLabelClickable(r,e)))}else{var V,U;"left"===this.option.position?(V=this.grid.getX()-o,U="right"):(V=this.grid.getXend()+o,U="left");for(var m=0;i>m;m++)e={zlevel:this.getZlevelBase(),z:this.getZBase()+3,hoverable:!1,style:{x:V,y:this.getCoord(t[m]),color:"function"==typeof s.color?s.color(t[m]):s.color,text:this._valueLabel[m],textFont:this.getFont(s),textAlign:s.align||U,textBaseline:s.baseline||(0===m&&""!==this.option.name?"bottom":m===i-1&&""!==this.option.name?"top":"middle")}},a&&(e.rotation=[a*Math.PI/180,e.style.x,e.style.y]),this.shapeList.push(new n(this._axisLabelClickable(r,e)))}},_buildSplitLine:function(){var e,t=this._valueList,i=this._valueList.length,n=this.option.splitLine,o=n.lineStyle.type,r=n.lineStyle.width,s=n.lineStyle.color;s=s instanceof Array?s:[s];var l=s.length;if(this.isHorizontal())for(var h,m=this.grid.getY(),V=this.grid.getYend(),U=0;i>U;U++)h=this.subPixelOptimize(this.getCoord(t[U]),r),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:h,yStart:m,xEnd:h,yEnd:V,strokeColor:s[U%l],lineType:o,lineWidth:r}},this.shapeList.push(new a(e));else for(var d,p=this.grid.getX(),c=this.grid.getXend(),U=0;i>U;U++)d=this.subPixelOptimize(this.getCoord(t[U]),r),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:p,yStart:d,xEnd:c,yEnd:d,strokeColor:s[U%l],lineType:o,lineWidth:r}},this.shapeList.push(new a(e))},_buildSplitArea:function(){var e,t=this.option.splitArea.areaStyle.color;if(t instanceof Array){var i=t.length,n=this._valueList,a=this._valueList.length;if(this.isHorizontal())for(var r,s=this.grid.getY(),l=this.grid.getHeight(),h=this.grid.getX(),m=0;a>=m;m++)r=a>m?this.getCoord(n[m]):this.grid.getXend(),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:h,y:s,width:r-h,height:l,color:t[m%i]}},this.shapeList.push(new o(e)),h=r;else for(var V,U=this.grid.getX(),d=this.grid.getWidth(),p=this.grid.getYend(),m=0;a>=m;m++)V=a>m?this.getCoord(n[m]):this.grid.getY(),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:U,y:V,width:d,height:p-V,color:t[m%i]}},this.shapeList.push(new o(e)),p=V}else e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this.grid.getX(),y:this.grid.getY(),width:this.grid.getWidth(),height:this.grid.getHeight(),color:t}},this.shapeList.push(new o(e))},_calculateValue:function(){if(isNaN(this.option.min-0)||isNaN(this.option.max-0)){for(var e,t,i={},n=this.component.legend,a=0,o=this.series.length;o>a;a++)!(this.series[a].type!=r.CHART_TYPE_LINE&&this.series[a].type!=r.CHART_TYPE_BAR&&this.series[a].type!=r.CHART_TYPE_SCATTER&&this.series[a].type!=r.CHART_TYPE_K&&this.series[a].type!=r.CHART_TYPE_EVENTRIVER||n&&!n.isSelected(this.series[a].name)||(e=this.series[a].xAxisIndex||0,t=this.series[a].yAxisIndex||0,this.option.xAxisIndex!=e&&this.option.yAxisIndex!=t||!this._calculSum(i,a)));var s;for(var a in i){s=i[a];for(var l=0,h=s.length;h>l;l++)if(!isNaN(s[l])){this._hasData=!0,this._min=s[l],this._max=s[l];break}if(this._hasData)break}for(var a in i){s=i[a];for(var l=0,h=s.length;h>l;l++)isNaN(s[l])||(this._min=Math.min(this._min,s[l]),this._max=Math.max(this._max,s[l]))}var m="log"!==this.option.type?this.option.boundaryGap:[0,0],V=Math.abs(this._max-this._min);this._min=isNaN(this.option.min-0)?this._min-Math.abs(V*m[0]):this.option.min-0,this._max=isNaN(this.option.max-0)?this._max+Math.abs(V*m[1]):this.option.max-0,this._min===this._max&&(0===this._max?this._max=1:this._max>0?this._min=this._max/this.option.splitNumber!=null?this.option.splitNumber:5:this._max=this._max/this.option.splitNumber!=null?this.option.splitNumber:5),"time"===this.option.type?this._reformTimeValue():"log"===this.option.type?this._reformLogValue():this._reformValue(this.option.scale)}else this._hasData=!0,this._min=this.option.min-0,this._max=this.option.max-0,"time"===this.option.type?this._reformTimeValue():"log"===this.option.type?this._reformLogValue():this._customerValue()},_calculSum:function(e,t){var i,n,a=this.series[t].name||"kener";if(this.series[t].stack){var o="__Magic_Key_Positive__"+this.series[t].stack,l="__Magic_Key_Negative__"+this.series[t].stack;e[o]=e[o]||[],e[l]=e[l]||[],e[a]=e[a]||[],n=this.series[t].data;for(var h=0,m=n.length;m>h;h++)i=this.getDataFromOption(n[h]),"-"!==i&&(i-=0,i>=0?null!=e[o][h]?e[o][h]+=i:e[o][h]=i:null!=e[l][h]?e[l][h]+=i:e[l][h]=i,this.option.scale&&e[a].push(i))}else if(e[a]=e[a]||[],this.series[t].type!=r.CHART_TYPE_EVENTRIVER){n=this.series[t].data;for(var h=0,m=n.length;m>h;h++)i=this.getDataFromOption(n[h]),this.series[t].type===r.CHART_TYPE_K?(e[a].push(i[0]),e[a].push(i[1]),e[a].push(i[2]),e[a].push(i[3])):i instanceof Array?(-1!=this.option.xAxisIndex&&e[a].push("time"!=this.option.type?i[0]:s.getNewDate(i[0])),-1!=this.option.yAxisIndex&&e[a].push("time"!=this.option.type?i[1]:s.getNewDate(i[1]))):e[a].push(i)}else{n=this.series[t].data;for(var h=0,m=n.length;m>h;h++)for(var V=n[h].evolution,U=0,d=V.length;d>U;U++)e[a].push(s.getNewDate(V[U].time))}},_reformValue:function(t){var i=e("../util/smartSteps"),n=this.option.splitNumber;!t&&this._min>=0&&this._max>=0&&(this._min=0),!t&&this._min<=0&&this._max<=0&&(this._max=0);var a=i(this._min,this._max,n);n=null!=n?n:a.secs,this._min=a.min,this._max=a.max,this._valueList=a.pnts,this._reformLabelData()},_reformTimeValue:function(){var e=null!=this.option.splitNumber?this.option.splitNumber:5,t=s.getAutoFormatter(this._min,this._max,e),i=t.formatter,n=t.gapValue;this._valueList=[s.getNewDate(this._min)];var a;switch(i){case"week":a=s.nextMonday(this._min);break;case"month":a=s.nextNthOnMonth(this._min,1);break;case"quarter":a=s.nextNthOnQuarterYear(this._min,1);break;case"half-year":a=s.nextNthOnHalfYear(this._min,1);break;case"year":a=s.nextNthOnYear(this._min,1);break;default:72e5>=n?a=(Math.floor(this._min/n)+1)*n:(a=s.getNewDate(this._min- -n),a.setHours(6*Math.round(a.getHours()/6)),a.setMinutes(0),a.setSeconds(0))}for(a-this._min<n/2&&(a-=-n),t=s.getNewDate(a),e*=1.5;e-->=0&&(("month"==i||"quarter"==i||"half-year"==i||"year"==i)&&t.setDate(1),!(this._max-t<n/2));)this._valueList.push(t),t=s.getNewDate(t- -n);this._valueList.push(s.getNewDate(this._max)),this._reformLabelData(function(e){return function(t){return s.format(e,t)}}(i))},_customerValue:function(){var t=e("../util/accMath"),i=null!=this.option.splitNumber?this.option.splitNumber:5,n=(this._max-this._min)/i;this._valueList=[];for(var a=0;i>=a;a++)this._valueList.push(t.accAdd(this._min,t.accMul(n,a)));this._reformLabelData()},_reformLogValue:function(){var t=this.option,i=e("../util/smartLogSteps")({dataMin:this._min,dataMax:this._max,logPositive:t.logPositive,logLabelBase:t.logLabelBase,splitNumber:t.splitNumber});this._min=i.dataMin,this._max=i.dataMax,this._valueList=i.tickList,this._dataMappingMethods=i.dataMappingMethods,this._reformLabelData(i.labelFormatter)},_reformLabelData:function(e){this._valueLabel=[];var t=this.option.axisLabel.formatter;if(t)for(var i=0,n=this._valueList.length;n>i;i++)"function"==typeof t?this._valueLabel.push(e?t.call(this.myChart,this._valueList[i],e):t.call(this.myChart,this._valueList[i])):"string"==typeof t&&this._valueLabel.push(e?s.format(t,this._valueList[i]):t.replace("{value}",this._valueList[i]));else for(var i=0,n=this._valueList.length;n>i;i++)this._valueLabel.push(e?e(this._valueList[i]):this.numAddCommas(this._valueList[i]))},getExtremum:function(){this._calculateValue();var e=this._dataMappingMethods;return{min:this._min,max:this._max,dataMappingMethods:e?l.merge({},e):null}},refresh:function(e,t){e&&(this.option=this.reformOption(e),this.option.axisLabel.textStyle=l.merge(this.option.axisLabel.textStyle||{},this.ecTheme.textStyle),this.series=t),this.zr&&(this.clear(),this._buildShape())},getCoord:function(e){this._dataMappingMethods&&(e=this._dataMappingMethods.value2Coord(e)),e=e<this._min?this._min:e,e=e>this._max?this._max:e;var t;return t=this.isHorizontal()?this.grid.getX()+(e-this._min)/(this._max-this._min)*this.grid.getWidth():this.grid.getYend()-(e-this._min)/(this._max-this._min)*this.grid.getHeight()},getCoordSize:function(e){return Math.abs(this.isHorizontal()?e/(this._max-this._min)*this.grid.getWidth():e/(this._max-this._min)*this.grid.getHeight())},getValueFromCoord:function(e){var t;return this.isHorizontal()?(e=e<this.grid.getX()?this.grid.getX():e,e=e>this.grid.getXend()?this.grid.getXend():e,t=this._min+(e-this.grid.getX())/this.grid.getWidth()*(this._max-this._min)):(e=e<this.grid.getY()?this.grid.getY():e,e=e>this.grid.getYend()?this.grid.getYend():e,t=this._max-(e-this.grid.getY())/this.grid.getHeight()*(this._max-this._min)),this._dataMappingMethods&&(t=this._dataMappingMethods.coord2Value(t)),t.toFixed(2)-0},isMaindAxis:function(e){for(var t=0,i=this._valueList.length;i>t;t++)if(this._valueList[t]===e)return!0;return!1}},l.inherits(t,i),e("../component").define("valueAxis",t),t}),i("echarts/util/date",[],function(){function e(e,t,i){i=i>1?i:2;for(var n,a,o,r,s=0,l=m.length;l>s;s++)if(n=m[s].value,a=Math.ceil(t/n)*n-Math.floor(e/n)*n,Math.round(a/n)<=1.2*i){o=m[s].formatter,r=m[s].value;break}return null==o&&(o="year",n=317088e5,a=Math.ceil(t/n)*n-Math.floor(e/n)*n,r=Math.round(a/(i-1)/n)*n),{formatter:o,gapValue:r}}function t(e){return 10>e?"0"+e:e}function i(e,i){("week"==e||"month"==e||"quarter"==e||"half-year"==e||"year"==e)&&(e="MM - dd\nyyyy");var n=h(i),a=n.getFullYear(),o=n.getMonth()+1,r=n.getDate(),s=n.getHours(),l=n.getMinutes(),m=n.getSeconds();return e=e.replace("MM",t(o)),e=e.toLowerCase(),e=e.replace("yyyy",a),e=e.replace("yy",a%100),e=e.replace("dd",t(r)),e=e.replace("d",r),e=e.replace("hh",t(s)),e=e.replace("h",s),e=e.replace("mm",t(l)),e=e.replace("m",l),e=e.replace("ss",t(m)),e=e.replace("s",m)}function n(e){return e=h(e),e.setDate(e.getDate()+8-e.getDay()),e}function a(e,t,i){return e=h(e),e.setMonth(Math.ceil((e.getMonth()+1)/i)*i),e.setDate(t),e}function o(e,t){return a(e,t,1)}function r(e,t){return a(e,t,3)}function s(e,t){return a(e,t,6)}function l(e,t){return a(e,t,12)}function h(e){return e instanceof Date?e:new Date("string"==typeof e?e.replace(/-/g,"/"):e)}var m=[{formatter:"hh : mm : ss",value:1e3},{formatter:"hh : mm : ss",value:5e3},{formatter:"hh : mm : ss",value:1e4},{formatter:"hh : mm : ss",value:15e3},{formatter:"hh : mm : ss",value:3e4},{formatter:"hh : mm\nMM - dd",value:6e4},{formatter:"hh : mm\nMM - dd",value:3e5},{formatter:"hh : mm\nMM - dd",value:6e5},{formatter:"hh : mm\nMM - dd",value:9e5},{formatter:"hh : mm\nMM - dd",value:18e5},{formatter:"hh : mm\nMM - dd",value:36e5},{formatter:"hh : mm\nMM - dd",value:72e5},{formatter:"hh : mm\nMM - dd",value:216e5},{formatter:"hh : mm\nMM - dd",value:432e5},{formatter:"MM - dd\nyyyy",value:864e5},{formatter:"week",value:6048e5},{formatter:"month",value:26784e5},{formatter:"quarter",value:8208e6},{formatter:"half-year",value:16416e6},{formatter:"year",value:32832e6}];return{getAutoFormatter:e,getNewDate:h,format:i,nextMonday:n,nextNthPerNmonth:a,nextNthOnMonth:o,nextNthOnQuarterYear:r,nextNthOnHalfYear:s,nextNthOnYear:l}}),i("echarts/util/smartSteps",[],function(){function e(e){return X.log(I(e))/X.LN10}function t(e){return X.pow(10,e)}function i(e){return e===w(e)}function n(e,t,n,a){b=a||{},f=b.steps||L,k=b.secs||W,n=v(+n||0)%99,e=+e||0,t=+t||0,x=_=0,"min"in b&&(e=+b.min||0,x=1),"max"in b&&(t=+b.max||0,_=1),e>t&&(t=[e,e=t][0]);var o=t-e;if(x&&_)return g(e,t,n);if((n||5)>o){if(i(e)&&i(t))return d(e,t,n);if(0===o)return p(e,t,n)}return h(e,t,n)}function a(e,i,n,a){a=a||0;var s=o((i-e)/n,-1),l=o(e,-1,1),h=o(i,-1),m=X.min(s.e,l.e,h.e);0===l.c?m=X.min(s.e,h.e):0===h.c&&(m=X.min(s.e,l.e)),r(s,{c:0,e:m}),r(l,s,1),r(h,s),a+=m,e=l.c,i=h.c;for(var V=(i-e)/n,U=t(a),d=0,p=[],c=n+1;c--;)p[c]=(e+V*c)*U;if(0>a){d=u(U),V=+(V*U).toFixed(d),e=+(e*U).toFixed(d),i=+(i*U).toFixed(d);for(var c=p.length;c--;)p[c]=p[c].toFixed(d),0===+p[c]&&(p[c]="0")}else e*=U,i*=U,V*=U;return k=0,f=0,b=0,{min:e,max:i,secs:n,step:V,fix:d,exp:a,pnts:p}}function o(n,a,o){a=v(a%10)||2,0>a&&(i(n)?a=(""+I(n)).replace(/0+$/,"").length||1:(n=n.toFixed(15).replace(/0+$/,""),a=n.replace(".","").replace(/^[-0]+/,"").length,n=+n));var r=w(e(n))-a+1,s=+(n*t(-r)).toFixed(15)||0;return s=o?w(s):K(s),!s&&(r=0),(""+I(s)).length>a&&(r+=1,s/=10),{c:s,e:r}}function r(e,i,n){var a=i.e-e.e;a&&(e.e+=a,e.c*=t(-a),e.c=n?w(e.c):K(e.c))}function s(e,t,i){e.e<t.e?r(t,e,i):r(e,t,i)}function l(e,t){t=t||L,e=o(e);for(var i=e.c,n=0;i>t[n];)n++;if(!t[n])for(i/=10,e.e+=1,n=0;i>t[n];)n++;return e.c=t[n],e}function h(e,t,n){var s,h=n||+k.slice(-1),p=l((t-e)/h,f),u=o(t-e),g=o(e,-1,1),b=o(t,-1);if(r(u,p),r(g,p,1),r(b,p),n?s=V(g,b,h):h=m(g,b),i(e)&&i(t)&&e*t>=0){if(h>t-e)return d(e,t,h);h=U(e,t,n,g,b,h)}var L=c(e,t,g.c,b.c);return g.c=L[0],b.c=L[1],(x||_)&&y(e,t,g,b),a(g.c,b.c,h,b.e)}function m(e,i){for(var n,a,o,r,s=[],h=k.length;h--;)n=k[h],a=l((i.c-e.c)/n,f),a=a.c*t(a.e),o=w(e.c/a)*a,r=K(i.c/a)*a,s[h]={min:o,max:r,step:a,span:r-o};return s.sort(function(e,t){var i=e.span-t.span;return 0===i&&(i=e.step-t.step),i}),s=s[0],n=s.span/s.step,e.c=s.min,i.c=s.max,3>n?2*n:n}function V(e,i,n){for(var a,o,r=i.c,s=(i.c-e.c)/n-1;r>e.c;)s=l(s+1,f),s=s.c*t(s.e),a=s*n,o=K(i.c/s)*s,r=o-a;var h=e.c-r,m=o-i.c,V=h-m;return V>1.1*s&&(V=v(V/s/2)*s,r+=V,o+=V),e.c=r,i.c=o,s}function U(e,n,a,o,r,s){var l=r.c-o.c,h=l/s*t(r.e);if(!i(h)&&(h=w(h),l=h*s,n-e>l&&(h+=1,l=h*s,!a&&h*(s-1)>=n-e&&(s-=1,l=h*s)),l>=n-e)){var m=l-(n-e);o.c=v(e-m/2),r.c=v(n+m/2),o.e=0,r.e=0}return s}function d(e,t,i){if(i=i||5,x)t=e+i;else if(_)e=t-i;else{var n=i-(t-e),o=v(e-n/2),r=v(t+n/2),s=c(e,t,o,r);e=s[0],t=s[1]}return a(e,t,i)}function p(e,t,i){i=i||5;var n=X.min(I(t/i),i)/2.1;return x?t=e+n:_?e=t-n:(e-=n,t+=n),h(e,t,i)}function c(e,t,i,n){
-return e>=0&&0>i?(n-=i,i=0):0>=t&&n>0&&(i-=n,n=0),[i,n]}function u(e){return e=(+e).toFixed(15).split("."),e.pop().replace(/0+$/,"").length}function y(e,t,i,n){if(x){var a=o(e,4,1);i.e-a.e>6&&(a={c:0,e:i.e}),s(i,a),s(n,a),n.c+=a.c-i.c,i.c=a.c}else if(_){var r=o(t,4);n.e-r.e>6&&(r={c:0,e:n.e}),s(i,r),s(n,r),i.c+=r.c-n.c,n.c=r.c}}function g(e,t,i){var n=i?[i]:k,s=t-e;if(0===s)return t=o(t,3),i=n[0],t.c=v(t.c+i/2),a(t.c-i,t.c,i,t.e);I(t/s)<1e-6&&(t=0),I(e/s)<1e-6&&(e=0);var l,h,m,V=[[5,10],[10,2],[50,10],[100,2]],U=[],d=[],p=o(t-e,3),c=o(e,-1,1),u=o(t,-1);r(c,p,1),r(u,p),s=u.c-c.c,p.c=s;for(var y=n.length;y--;){i=n[y],l=K(s/i),h=l*i-s,m=3*(h+3),m+=2*(i-n[0]+2),i%5===0&&(m-=10);for(var g=V.length;g--;)l%V[g][0]===0&&(m/=V[g][1]);d[y]=[i,l,h,m].join(),U[y]={secs:i,step:l,delta:h,score:m}}return U.sort(function(e,t){return e.score-t.score}),U=U[0],c.c=v(c.c-U.delta/2),u.c=v(u.c+U.delta/2),a(c.c,u.c,U.secs,p.e)}var b,f,k,x,_,L=[10,20,25,50],W=[4,5,6],X=Math,v=X.round,w=X.floor,K=X.ceil,I=X.abs;return n}),i("echarts/util/smartLogSteps",["require","./number"],function(e){function t(e){return i(),u=e||{},n(),a(),[o(),i()][0]}function i(){U=u=g=c=b=f=y=k=d=p=null}function n(){d=u.logLabelBase,null==d?(p="plain",d=10,c=I):(d=+d,1>d&&(d=10),p="exponent",c=L(d)),y=u.splitNumber,null==y&&(y=E);var e=parseFloat(u.dataMin),t=parseFloat(u.dataMax);isFinite(e)||isFinite(t)?isFinite(e)?isFinite(t)?e>t&&(t=[e,e=t][0]):t=e:e=t:e=t=1,U=u.logPositive,null==U&&(U=t>0||0===e),b=U?e:-t,f=U?t:-e,S>b&&(b=S),S>f&&(f=S)}function a(){function e(){y>m&&(y=m);var e=w(l(m/y)),t=v(l(m/e)),i=e*t,n=(i-U)/2,a=w(l(r-n));V(a-r)&&(a-=1),g=-a*c;for(var s=a;o>=s-e;s+=e)k.push(W(d,s))}function t(){for(var e=i(h,0),t=e+2;t>e&&a(e+1)+n(e+1)*C<r;)e++;for(var l=i(s,0),t=l-2;l>t&&a(l-1)+n(l-1)*C>o;)l--;g=-(a(e)*I+n(e)*J);for(var m=e;l>=m;m++){var V=a(m),U=n(m);k.push(W(10,V)*W(2,U))}}function i(e,t){return 3*e+t}function n(e){return e-3*a(e)}function a(e){return w(l(e/3))}k=[];var o=l(L(f)/c),r=l(L(b)/c),s=v(o),h=w(r),m=s-h,U=o-r;"exponent"===p?e():F>=m&&y>F?t():e()}function o(){for(var e=[],t=0,i=k.length;i>t;t++)e[t]=(U?1:-1)*k[t];!U&&e.reverse();var n=s(),a=n.value2Coord,o=a(e[0]),l=a(e[e.length-1]);return o===l&&(o-=1,l+=1),{dataMin:o,dataMax:l,tickList:e,logPositive:U,labelFormatter:r(),dataMappingMethods:n}}function r(){if("exponent"===p){var e=d,t=c;return function(i){if(!isFinite(parseFloat(i)))return"";var n="";return 0>i&&(i=-i,n="-"),n+e+m(L(i)/t)}}return function(e){return isFinite(parseFloat(e))?x.addCommas(h(e)):""}}function s(){var e=U,t=g;return{value2Coord:function(i){return null==i||isNaN(i)||!isFinite(i)?i:(i=parseFloat(i),isFinite(i)?e&&S>i?i=S:!e&&i>-S&&(i=-S):i=S,i=X(i),(e?1:-1)*(L(i)+t))},coord2Value:function(i){return null==i||isNaN(i)||!isFinite(i)?i:(i=parseFloat(i),isFinite(i)||(i=S),e?W(K,i-t):-W(K,-i+t))}}}function l(e){return+Number(+e).toFixed(14)}function h(e){return Number(e).toFixed(15).replace(/\.?0*$/,"")}function m(e){e=h(Math.round(e));for(var t=[],i=0,n=e.length;n>i;i++){var a=e.charAt(i);t.push(T[a]||"")}return t.join("")}function V(e){return e>-S&&S>e}var U,d,p,c,u,y,g,b,f,k,x=e("./number"),_=Math,L=_.log,W=_.pow,X=_.abs,v=_.ceil,w=_.floor,K=_.E,I=_.LN10,J=_.LN2,C=J/I,S=1e-9,E=5,F=2,T={0:"⁰",1:"¹",2:"²",3:"³",4:"⁴",5:"⁵",6:"⁶",7:"⁷",8:"⁸",9:"⁹","-":"⁻"};return t}),i("echarts/chart/line",["require","./base","zrender/shape/Polyline","../util/shape/Icon","../util/shape/HalfSmoothPolygon","../component/axis","../component/grid","../component/dataZoom","../config","../util/ecData","zrender/tool/util","zrender/tool/color","../chart"],function(e){function t(e,t,i,a,o){n.call(this,e,t,i,a,o),this.refresh(a)}function i(e,t,i){var n=t.x,a=t.y,r=t.width,s=t.height,l=s/2;t.symbol.match("empty")&&(e.fillStyle="#fff"),t.brushType="both";var h=t.symbol.replace("empty","").toLowerCase();h.match("star")?(l=h.replace("star","")-0||5,a-=1,h="star"):("rectangle"===h||"arrow"===h)&&(n+=(r-s)/2,r=s);var m="";if(h.match("image")&&(m=h.replace(new RegExp("^image:\\/\\/"),""),h="image",n+=Math.round((r-s)/2)-1,r=s+=2),h=o.prototype.iconLibrary[h]){var V=t.x,U=t.y;e.moveTo(V,U+l),e.lineTo(V+5,U+l),e.moveTo(V+t.width-5,U+l),e.lineTo(V+t.width,U+l);var d=this;h(e,{x:n+4,y:a+4,width:r-8,height:s-8,n:l,image:m},function(){d.modSelf(),i()})}else e.moveTo(n,a+l),e.lineTo(n+r,a+l)}var n=e("./base"),a=e("zrender/shape/Polyline"),o=e("../util/shape/Icon"),r=e("../util/shape/HalfSmoothPolygon");e("../component/axis"),e("../component/grid"),e("../component/dataZoom");var s=e("../config");s.line={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,dataFilter:"nearest",itemStyle:{normal:{label:{show:!1},lineStyle:{width:2,type:"solid",shadowColor:"rgba(0,0,0,0)",shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0}},emphasis:{label:{show:!1}}},symbolSize:2,showAllSymbol:!1};var l=e("../util/ecData"),h=e("zrender/tool/util"),m=e("zrender/tool/color");return t.prototype={type:s.CHART_TYPE_LINE,_buildShape:function(){this.finalPLMap={},this._buildPosition()},_buildHorizontal:function(e,t,i,n){for(var a,o,r,s,l,h,m,V,U,d=this.series,p=i[0][0],c=d[p],u=this.component.xAxis.getAxis(c.xAxisIndex||0),y={},g=0,b=t;b>g&&null!=u.getNameByIndex(g);g++){o=u.getCoordByIndex(g);for(var f=0,k=i.length;k>f;f++){a=this.component.yAxis.getAxis(d[i[f][0]].yAxisIndex||0),l=s=m=h=a.getCoord(0);for(var x=0,_=i[f].length;_>x;x++)p=i[f][x],c=d[p],V=c.data[g],U=this.getDataFromOption(V,"-"),y[p]=y[p]||[],n[p]=n[p]||{min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY,sum:0,counter:0,average:0},"-"!==U?(U>=0?(s-=x>0?a.getCoordSize(U):l-a.getCoord(U),r=s):0>U&&(h+=x>0?a.getCoordSize(U):a.getCoord(U)-m,r=h),y[p].push([o,r,g,u.getNameByIndex(g),o,l]),n[p].min>U&&(n[p].min=U,n[p].minY=r,n[p].minX=o),n[p].max<U&&(n[p].max=U,n[p].maxY=r,n[p].maxX=o),n[p].sum+=U,n[p].counter++):y[p].length>0&&(this.finalPLMap[p]=this.finalPLMap[p]||[],this.finalPLMap[p].push(y[p]),y[p]=[])}s=this.component.grid.getY();for(var L,f=0,k=i.length;k>f;f++)for(var x=0,_=i[f].length;_>x;x++)p=i[f][x],c=d[p],V=c.data[g],U=this.getDataFromOption(V,"-"),"-"==U&&this.deepQuery([V,c,this.option],"calculable")&&(L=this.deepQuery([V,c],"symbolSize"),s+=2*L+5,r=s,this.shapeList.push(this._getCalculableItem(p,g,u.getNameByIndex(g),o,r,"horizontal")))}for(var W in y)y[W].length>0&&(this.finalPLMap[W]=this.finalPLMap[W]||[],this.finalPLMap[W].push(y[W]),y[W]=[]);this._calculMarkMapXY(n,i,"y"),this._buildBorkenLine(e,this.finalPLMap,u,"horizontal")},_buildVertical:function(e,t,i,n){for(var a,o,r,s,l,h,m,V,U,d=this.series,p=i[0][0],c=d[p],u=this.component.yAxis.getAxis(c.yAxisIndex||0),y={},g=0,b=t;b>g&&null!=u.getNameByIndex(g);g++){r=u.getCoordByIndex(g);for(var f=0,k=i.length;k>f;f++){a=this.component.xAxis.getAxis(d[i[f][0]].xAxisIndex||0),l=s=m=h=a.getCoord(0);for(var x=0,_=i[f].length;_>x;x++)p=i[f][x],c=d[p],V=c.data[g],U=this.getDataFromOption(V,"-"),y[p]=y[p]||[],n[p]=n[p]||{min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY,sum:0,counter:0,average:0},"-"!==U?(U>=0?(s+=x>0?a.getCoordSize(U):a.getCoord(U)-l,o=s):0>U&&(h-=x>0?a.getCoordSize(U):m-a.getCoord(U),o=h),y[p].push([o,r,g,u.getNameByIndex(g),l,r]),n[p].min>U&&(n[p].min=U,n[p].minX=o,n[p].minY=r),n[p].max<U&&(n[p].max=U,n[p].maxX=o,n[p].maxY=r),n[p].sum+=U,n[p].counter++):y[p].length>0&&(this.finalPLMap[p]=this.finalPLMap[p]||[],this.finalPLMap[p].push(y[p]),y[p]=[])}s=this.component.grid.getXend();for(var L,f=0,k=i.length;k>f;f++)for(var x=0,_=i[f].length;_>x;x++)p=i[f][x],c=d[p],V=c.data[g],U=this.getDataFromOption(V,"-"),"-"==U&&this.deepQuery([V,c,this.option],"calculable")&&(L=this.deepQuery([V,c],"symbolSize"),s-=2*L+5,o=s,this.shapeList.push(this._getCalculableItem(p,g,u.getNameByIndex(g),o,r,"vertical")))}for(var W in y)y[W].length>0&&(this.finalPLMap[W]=this.finalPLMap[W]||[],this.finalPLMap[W].push(y[W]),y[W]=[]);this._calculMarkMapXY(n,i,"x"),this._buildBorkenLine(e,this.finalPLMap,u,"vertical")},_buildOther:function(e,t,i,n){for(var a,o=this.series,r={},s=0,l=i.length;l>s;s++)for(var h=0,m=i[s].length;m>h;h++){var V=i[s][h],U=o[V];a=this.component.xAxis.getAxis(U.xAxisIndex||0);var d=this.component.yAxis.getAxis(U.yAxisIndex||0),p=d.getCoord(0);r[V]=r[V]||[],n[V]=n[V]||{min0:Number.POSITIVE_INFINITY,min1:Number.POSITIVE_INFINITY,max0:Number.NEGATIVE_INFINITY,max1:Number.NEGATIVE_INFINITY,sum0:0,sum1:0,counter0:0,counter1:0,average0:0,average1:0};for(var c=0,u=U.data.length;u>c;c++){var y=U.data[c],g=this.getDataFromOption(y,"-");if(g instanceof Array){var b=a.getCoord(g[0]),f=d.getCoord(g[1]);r[V].push([b,f,c,g[0],b,p]),n[V].min0>g[0]&&(n[V].min0=g[0],n[V].minY0=f,n[V].minX0=b),n[V].max0<g[0]&&(n[V].max0=g[0],n[V].maxY0=f,n[V].maxX0=b),n[V].sum0+=g[0],n[V].counter0++,n[V].min1>g[1]&&(n[V].min1=g[1],n[V].minY1=f,n[V].minX1=b),n[V].max1<g[1]&&(n[V].max1=g[1],n[V].maxY1=f,n[V].maxX1=b),n[V].sum1+=g[1],n[V].counter1++}}}for(var k in r)r[k].length>0&&(this.finalPLMap[k]=this.finalPLMap[k]||[],this.finalPLMap[k].push(r[k]),r[k]=[]);this._calculMarkMapXY(n,i,"xy"),this._buildBorkenLine(e,this.finalPLMap,a,"other")},_buildBorkenLine:function(e,t,i,n){for(var o,s="other"==n?"horizontal":n,V=this.series,U=e.length-1;U>=0;U--){var d=e[U],p=V[d],c=t[d];if(p.type===this.type&&null!=c)for(var u=this._getBbox(d,s),y=this._sIndex2ColorMap[d],g=this.query(p,"itemStyle.normal.lineStyle.width"),b=this.query(p,"itemStyle.normal.lineStyle.type"),f=this.query(p,"itemStyle.normal.lineStyle.color"),k=this.getItemStyleColor(this.query(p,"itemStyle.normal.color"),d,-1),x=null!=this.query(p,"itemStyle.normal.areaStyle"),_=this.query(p,"itemStyle.normal.areaStyle.color"),L=0,W=c.length;W>L;L++){var X=c[L],v="other"!=n&&this._isLarge(s,X);if(v)X=this._getLargePointList(s,X,p.dataFilter);else for(var w=0,K=X.length;K>w;w++)o=p.data[X[w][2]],(this.deepQuery([o,p,this.option],"calculable")||this.deepQuery([o,p],"showAllSymbol")||"categoryAxis"===i.type&&i.isMainAxis(X[w][2])&&"none"!=this.deepQuery([o,p],"symbol"))&&this.shapeList.push(this._getSymbol(d,X[w][2],X[w][3],X[w][0],X[w][1],s));var I=new a({zlevel:p.zlevel,z:p.z,style:{miterLimit:g,pointList:X,strokeColor:f||k||y,lineWidth:g,lineType:b,smooth:this._getSmooth(p.smooth),smoothConstraint:u,shadowColor:this.query(p,"itemStyle.normal.lineStyle.shadowColor"),shadowBlur:this.query(p,"itemStyle.normal.lineStyle.shadowBlur"),shadowOffsetX:this.query(p,"itemStyle.normal.lineStyle.shadowOffsetX"),shadowOffsetY:this.query(p,"itemStyle.normal.lineStyle.shadowOffsetY")},hoverable:!1,_main:!0,_seriesIndex:d,_orient:s});if(l.pack(I,V[d],d,0,L,V[d].name),this.shapeList.push(I),x){var J=new r({zlevel:p.zlevel,z:p.z,style:{miterLimit:g,pointList:h.clone(X).concat([[X[X.length-1][4],X[X.length-1][5]],[X[0][4],X[0][5]]]),brushType:"fill",smooth:this._getSmooth(p.smooth),smoothConstraint:u,color:_?_:m.alpha(y,.5)},highlightStyle:{brushType:"fill"},hoverable:!1,_main:!0,_seriesIndex:d,_orient:s});l.pack(J,V[d],d,0,L,V[d].name),this.shapeList.push(J)}}}},_getBbox:function(e,t){var i=this.component.grid.getBbox(),n=this.xMarkMap[e];return null!=n.minX0?[[Math.min(n.minX0,n.maxX0,n.minX1,n.maxX1),Math.min(n.minY0,n.maxY0,n.minY1,n.maxY1)],[Math.max(n.minX0,n.maxX0,n.minX1,n.maxX1),Math.max(n.minY0,n.maxY0,n.minY1,n.maxY1)]]:("horizontal"===t?(i[0][1]=Math.min(n.minY,n.maxY),i[1][1]=Math.max(n.minY,n.maxY)):(i[0][0]=Math.min(n.minX,n.maxX),i[1][0]=Math.max(n.minX,n.maxX)),i)},_isLarge:function(e,t){return t.length<2?!1:"horizontal"===e?Math.abs(t[0][0]-t[1][0])<.5:Math.abs(t[0][1]-t[1][1])<.5},_getLargePointList:function(e,t,i){var n;n="horizontal"===e?this.component.grid.getWidth():this.component.grid.getHeight();var a=t.length,o=[];if("function"!=typeof i)switch(i){case"min":i=function(e){return Math.max.apply(null,e)};break;case"max":i=function(e){return Math.min.apply(null,e)};break;case"average":i=function(e){for(var t=0,i=0;i<e.length;i++)t+=e[i];return t/e.length};break;default:i=function(e){return e[0]}}for(var r=[],s=0;n>s;s++){var l=Math.floor(a/n*s),h=Math.min(Math.floor(a/n*(s+1)),a);if(!(l>=h)){for(var m=l;h>m;m++)r[m-l]="horizontal"===e?t[m][1]:t[m][0];r.length=h-l;for(var V=i(r),U=-1,d=1/0,m=l;h>m;m++){var p="horizontal"===e?t[m][1]:t[m][0],c=Math.abs(p-V);d>c&&(U=m,d=c)}var u=t[U].slice();"horizontal"===e?u[1]=V:u[0]=V,o.push(u)}}return o},_getSmooth:function(e){return e?.3:0},_getCalculableItem:function(e,t,i,n,a,o){var r=this.series,l=r[e].calculableHolderColor||this.ecTheme.calculableHolderColor||s.calculableHolderColor,h=this._getSymbol(e,t,i,n,a,o);return h.style.color=l,h.style.strokeColor=l,h.rotation=[0,0],h.hoverable=!1,h.draggable=!1,h.style.text=void 0,h},_getSymbol:function(e,t,i,n,a,o){var r=this.series,s=r[e],l=s.data[t],h=this.getSymbolShape(s,e,l,t,i,n,a,this._sIndex2ShapeMap[e],this._sIndex2ColorMap[e],"#fff","vertical"===o?"horizontal":"vertical");return h.zlevel=s.zlevel,h.z=s.z+1,this.deepQuery([l,s,this.option],"calculable")&&(this.setCalculable(h),h.draggable=!0),h},getMarkCoord:function(e,t){var i=this.series[e],n=this.xMarkMap[e],a=this.component.xAxis.getAxis(i.xAxisIndex),o=this.component.yAxis.getAxis(i.yAxisIndex);if(t.type&&("max"===t.type||"min"===t.type||"average"===t.type)){var r=null!=t.valueIndex?t.valueIndex:null!=n.maxX0?"1":"";return[n[t.type+"X"+r],n[t.type+"Y"+r],n[t.type+"Line"+r],n[t.type+r]]}return["string"!=typeof t.xAxis&&a.getCoordByIndex?a.getCoordByIndex(t.xAxis||0):a.getCoord(t.xAxis||0),"string"!=typeof t.yAxis&&o.getCoordByIndex?o.getCoordByIndex(t.yAxis||0):o.getCoord(t.yAxis||0)]},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()},ontooltipHover:function(e,t){for(var i,n,a=e.seriesIndex,o=e.dataIndex,r=a.length;r--;)if(i=this.finalPLMap[a[r]])for(var s=0,l=i.length;l>s;s++){n=i[s];for(var h=0,m=n.length;m>h;h++)o===n[h][2]&&t.push(this._getSymbol(a[r],n[h][2],n[h][3],n[h][0],n[h][1],"horizontal"))}},addDataAnimation:function(e,t){function i(){c--,0===c&&t&&t()}function n(e){e.style.controlPointList=null}for(var a=this.series,o={},r=0,s=e.length;s>r;r++)o[e[r][0]]=e[r];for(var l,h,m,V,U,d,p,c=0,r=this.shapeList.length-1;r>=0;r--)if(U=this.shapeList[r]._seriesIndex,o[U]&&!o[U][3]){if(this.shapeList[r]._main&&this.shapeList[r].style.pointList.length>1){if(d=this.shapeList[r].style.pointList,h=Math.abs(d[0][0]-d[1][0]),V=Math.abs(d[0][1]-d[1][1]),p="horizontal"===this.shapeList[r]._orient,o[U][2]){if("half-smooth-polygon"===this.shapeList[r].type){var u=d.length;this.shapeList[r].style.pointList[u-3]=d[u-2],this.shapeList[r].style.pointList[u-3][p?0:1]=d[u-4][p?0:1],this.shapeList[r].style.pointList[u-2]=d[u-1]}this.shapeList[r].style.pointList.pop(),p?(l=h,m=0):(l=0,m=-V)}else{if(this.shapeList[r].style.pointList.shift(),"half-smooth-polygon"===this.shapeList[r].type){var y=this.shapeList[r].style.pointList.pop();p?y[0]=d[0][0]:y[1]=d[0][1],this.shapeList[r].style.pointList.push(y)}p?(l=-h,m=0):(l=0,m=V)}this.shapeList[r].style.controlPointList=null,this.zr.modShape(this.shapeList[r])}else{if(o[U][2]&&this.shapeList[r]._dataIndex===a[U].data.length-1){this.zr.delShape(this.shapeList[r].id);continue}if(!o[U][2]&&0===this.shapeList[r]._dataIndex){this.zr.delShape(this.shapeList[r].id);continue}}this.shapeList[r].position=[0,0],c++,this.zr.animate(this.shapeList[r].id,"").when(this.query(this.option,"animationDurationUpdate"),{position:[l,m]}).during(n).done(i).start()}c||t&&t()}},o.prototype.iconLibrary.legendLineIcon=i,h.inherits(t,n),e("../chart").define("line",t),t}),i("echarts/util/shape/HalfSmoothPolygon",["require","zrender/shape/Base","zrender/shape/util/smoothBezier","zrender/tool/util","zrender/shape/Polygon"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/shape/util/smoothBezier"),a=e("zrender/tool/util");return t.prototype={type:"half-smooth-polygon",buildPath:function(t,i){var a=i.pointList;if(!(a.length<2))if(i.smooth){var o=n(a.slice(0,-2),i.smooth,!1,i.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var r,s,l,h=a.length,m=0;h-3>m;m++)r=o[2*m],s=o[2*m+1],l=a[m+1],t.bezierCurveTo(r[0],r[1],s[0],s[1],l[0],l[1]);t.lineTo(a[h-2][0],a[h-2][1]),t.lineTo(a[h-1][0],a[h-1][1]),t.lineTo(a[0][0],a[0][1])}else e("zrender/shape/Polygon").prototype.buildPath(t,i)}},a.inherits(t,i),t}),i("echarts/chart/bar",["require","./base","zrender/shape/Rectangle","../component/axis","../component/grid","../component/dataZoom","../config","../util/ecData","zrender/tool/util","zrender/tool/color","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Rectangle");e("../component/axis"),e("../component/grid"),e("../component/dataZoom");var a=e("../config");a.bar={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,barMinHeight:0,barGap:"30%",barCategoryGap:"20%",itemStyle:{normal:{barBorderColor:"#fff",barBorderRadius:0,barBorderWidth:0,label:{show:!1}},emphasis:{barBorderColor:"#fff",barBorderRadius:0,barBorderWidth:0,label:{show:!1}}}};var o=e("../util/ecData"),r=e("zrender/tool/util"),s=e("zrender/tool/color");return t.prototype={type:a.CHART_TYPE_BAR,_buildShape:function(){this._buildPosition()},_buildNormal:function(e,t,i,o,r){for(var s,l,h,m,V,U,d,p,c,u,y,g,b=this.series,f=i[0][0],k=b[f],x="horizontal"==r,_=this.component.xAxis,L=this.component.yAxis,W=x?_.getAxis(k.xAxisIndex):L.getAxis(k.yAxisIndex),X=this._mapSize(W,i),v=X.gap,w=X.barGap,K=X.barWidthMap,I=X.barMaxWidthMap,J=X.barWidth,C=X.barMinHeightMap,S=X.interval,E=this.deepQuery([this.ecTheme,a],"island.r"),F=0,T=t;T>F&&null!=W.getNameByIndex(F);F++){x?m=W.getCoordByIndex(F)-v/2:V=W.getCoordByIndex(F)+v/2;for(var z=0,A=i.length;A>z;z++){var M=b[i[z][0]].yAxisIndex||0,O=b[i[z][0]].xAxisIndex||0;s=x?L.getAxis(M):_.getAxis(O),d=U=c=p=s.getCoord(0);for(var P=0,D=i[z].length;D>P;P++)f=i[z][P],k=b[f],y=k.data[F],g=this.getDataFromOption(y,"-"),o[f]=o[f]||{min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY,sum:0,counter:0,average:0},h=Math.min(I[f]||Number.MAX_VALUE,K[f]||J),"-"!==g&&(g>0?(l=P>0?s.getCoordSize(g):x?d-s.getCoord(g):s.getCoord(g)-d,1===D&&C[f]>l&&(l=C[f]),x?(U-=l,V=U):(m=U,U+=l)):0>g?(l=P>0?s.getCoordSize(g):x?s.getCoord(g)-c:c-s.getCoord(g),1===D&&C[f]>l&&(l=C[f]),x?(V=p,p+=l):(p-=l,m=p)):(l=0,x?(U-=l,V=U):(m=U,U+=l)),o[f][F]=x?m+h/2:V-h/2,o[f].min>g&&(o[f].min=g,x?(o[f].minY=V,o[f].minX=o[f][F]):(o[f].minX=m+l,o[f].minY=o[f][F])),o[f].max<g&&(o[f].max=g,x?(o[f].maxY=V,o[f].maxX=o[f][F]):(o[f].maxX=m+l,o[f].maxY=o[f][F])),o[f].sum+=g,o[f].counter++,F%S===0&&(u=this._getBarItem(f,F,W.getNameByIndex(F),m,V-(x?0:h),x?h:l,x?l:h,x?"vertical":"horizontal"),this.shapeList.push(new n(u))));for(var P=0,D=i[z].length;D>P;P++)f=i[z][P],k=b[f],y=k.data[F],g=this.getDataFromOption(y,"-"),h=Math.min(I[f]||Number.MAX_VALUE,K[f]||J),"-"==g&&this.deepQuery([y,k,this.option],"calculable")&&(x?(U-=E,V=U):(m=U,U+=E),u=this._getBarItem(f,F,W.getNameByIndex(F),m,V-(x?0:h),x?h:E,x?E:h,x?"vertical":"horizontal"),u.hoverable=!1,u.draggable=!1,u.style.lineWidth=1,u.style.brushType="stroke",u.style.strokeColor=k.calculableHolderColor||this.ecTheme.calculableHolderColor||a.calculableHolderColor,this.shapeList.push(new n(u)));x?m+=h+w:V-=h+w}}this._calculMarkMapXY(o,i,x?"y":"x")},_buildHorizontal:function(e,t,i,n){return this._buildNormal(e,t,i,n,"horizontal")},_buildVertical:function(e,t,i,n){return this._buildNormal(e,t,i,n,"vertical")},_buildOther:function(e,t,i,a){for(var o=this.series,r=0,s=i.length;s>r;r++)for(var l=0,h=i[r].length;h>l;l++){var m=i[r][l],V=o[m],U=V.xAxisIndex||0,d=this.component.xAxis.getAxis(U),p=d.getCoord(0),c=V.yAxisIndex||0,u=this.component.yAxis.getAxis(c),y=u.getCoord(0);a[m]=a[m]||{min0:Number.POSITIVE_INFINITY,min1:Number.POSITIVE_INFINITY,max0:Number.NEGATIVE_INFINITY,max1:Number.NEGATIVE_INFINITY,sum0:0,sum1:0,counter0:0,counter1:0,average0:0,average1:0};for(var g=0,b=V.data.length;b>g;g++){var f=V.data[g],k=this.getDataFromOption(f,"-");if(k instanceof Array){var x,_,L=d.getCoord(k[0]),W=u.getCoord(k[1]),X=[f,V],v=this.deepQuery(X,"barWidth")||10,w=this.deepQuery(X,"barHeight");null!=w?(x="horizontal",k[0]>0?(v=L-p,L-=v):v=k[0]<0?p-L:0,_=this._getBarItem(m,g,k[0],L,W-w/2,v,w,x)):(x="vertical",k[1]>0?w=y-W:k[1]<0?(w=W-y,W-=w):w=0,_=this._getBarItem(m,g,k[0],L-v/2,W,v,w,x)),this.shapeList.push(new n(_)),L=d.getCoord(k[0]),W=u.getCoord(k[1]),a[m].min0>k[0]&&(a[m].min0=k[0],a[m].minY0=W,a[m].minX0=L),a[m].max0<k[0]&&(a[m].max0=k[0],a[m].maxY0=W,a[m].maxX0=L),a[m].sum0+=k[0],a[m].counter0++,a[m].min1>k[1]&&(a[m].min1=k[1],a[m].minY1=W,a[m].minX1=L),a[m].max1<k[1]&&(a[m].max1=k[1],a[m].maxY1=W,a[m].maxX1=L),a[m].sum1+=k[1],a[m].counter1++}}}this._calculMarkMapXY(a,i,"xy")},_mapSize:function(e,t,i){var n,a,o=this._findSpecialBarSzie(t,i),r=o.barWidthMap,s=o.barMaxWidthMap,l=o.barMinHeightMap,h=o.sBarWidthCounter,m=o.sBarWidthTotal,V=o.barGap,U=o.barCategoryGap,d=1;if(t.length!=h){if(i)n=e.getGap(),V=0,a=+(n/t.length).toFixed(2),0>=a&&(d=Math.floor(t.length/n),a=1);else if(n="string"==typeof U&&U.match(/%$/)?(e.getGap()*(100-parseFloat(U))/100).toFixed(2)-0:e.getGap()-U,"string"==typeof V&&V.match(/%$/)?(V=parseFloat(V)/100,a=+((n-m)/((t.length-1)*V+t.length-h)).toFixed(2),V=a*V):(V=parseFloat(V),a=+((n-m-V*(t.length-1))/(t.length-h)).toFixed(2)),0>=a)return this._mapSize(e,t,!0)}else if(n=h>1?"string"==typeof U&&U.match(/%$/)?+(e.getGap()*(100-parseFloat(U))/100).toFixed(2):e.getGap()-U:m,a=0,V=h>1?+((n-m)/(h-1)).toFixed(2):0,0>V)return this._mapSize(e,t,!0);return this._recheckBarMaxWidth(t,r,s,l,n,a,V,d)},_findSpecialBarSzie:function(e,t){for(var i,n,a,o,r=this.series,s={},l={},h={},m=0,V=0,U=0,d=e.length;d>U;U++)for(var p={barWidth:!1,barMaxWidth:!1},c=0,u=e[U].length;u>c;c++){var y=e[U][c],g=r[y];if(!t){if(p.barWidth)s[y]=i;else if(i=this.query(g,"barWidth"),null!=i){s[y]=i,V+=i,m++,p.barWidth=!0;for(var b=0,f=c;f>b;b++){var k=e[U][b];s[k]=i}}if(p.barMaxWidth)l[y]=n;else if(n=this.query(g,"barMaxWidth"),null!=n){l[y]=n,p.barMaxWidth=!0;for(var b=0,f=c;f>b;b++){var k=e[U][b];l[k]=n}}}h[y]=this.query(g,"barMinHeight"),a=null!=a?a:this.query(g,"barGap"),o=null!=o?o:this.query(g,"barCategoryGap")}return{barWidthMap:s,barMaxWidthMap:l,barMinHeightMap:h,sBarWidth:i,sBarMaxWidth:n,sBarWidthCounter:m,sBarWidthTotal:V,barGap:a,barCategoryGap:o}},_recheckBarMaxWidth:function(e,t,i,n,a,o,r,s){for(var l=0,h=e.length;h>l;l++){var m=e[l][0];i[m]&&i[m]<o&&(a-=o-i[m])}return{barWidthMap:t,barMaxWidthMap:i,barMinHeightMap:n,gap:a,barWidth:o,barGap:r,interval:s}},_getBarItem:function(e,t,i,n,a,r,l,h){var m,V=this.series,U=V[e],d=U.data[t],p=this._sIndex2ColorMap[e],c=[d,U],u=this.deepMerge(c,"itemStyle.normal"),y=this.deepMerge(c,"itemStyle.emphasis"),g=u.barBorderWidth;m={zlevel:U.zlevel,z:U.z,clickable:this.deepQuery(c,"clickable"),style:{x:n,y:a,width:r,height:l,brushType:"both",color:this.getItemStyleColor(this.deepQuery(c,"itemStyle.normal.color")||p,e,t,d),radius:u.barBorderRadius,lineWidth:g,strokeColor:u.barBorderColor},highlightStyle:{color:this.getItemStyleColor(this.deepQuery(c,"itemStyle.emphasis.color"),e,t,d),radius:y.barBorderRadius,lineWidth:y.barBorderWidth,strokeColor:y.barBorderColor},_orient:h};var b=m.style;m.highlightStyle.color=m.highlightStyle.color||("string"==typeof b.color?s.lift(b.color,-.3):b.color),b.x=Math.floor(b.x),b.y=Math.floor(b.y),b.height=Math.ceil(b.height),b.width=Math.ceil(b.width),g>0&&b.height>g&&b.width>g?(b.y+=g/2,b.height-=g,b.x+=g/2,b.width-=g):b.brushType="fill",m.highlightStyle.textColor=m.highlightStyle.color,m=this.addLabel(m,U,d,i,h);for(var f=[b,m.highlightStyle],k=0,x=f.length;x>k;k++){var _=f[k].textPosition;if("insideLeft"===_||"insideRight"===_||"insideTop"===_||"insideBottom"===_){var L=5;switch(_){case"insideLeft":f[k].textX=b.x+L,f[k].textY=b.y+b.height/2,f[k].textAlign="left",f[k].textBaseline="middle";break;case"insideRight":f[k].textX=b.x+b.width-L,f[k].textY=b.y+b.height/2,f[k].textAlign="right",f[k].textBaseline="middle";break;case"insideTop":f[k].textX=b.x+b.width/2,f[k].textY=b.y+L/2,f[k].textAlign="center",f[k].textBaseline="top";break;case"insideBottom":f[k].textX=b.x+b.width/2,f[k].textY=b.y+b.height-L/2,f[k].textAlign="center",f[k].textBaseline="bottom"}f[k].textPosition="specific",f[k].textColor=f[k].textColor||"#fff"}}return this.deepQuery([d,U,this.option],"calculable")&&(this.setCalculable(m),m.draggable=!0),o.pack(m,V[e],e,V[e].data[t],t,i),m},getMarkCoord:function(e,t){var i,n,a=this.series[e],o=this.xMarkMap[e],r=this.component.xAxis.getAxis(a.xAxisIndex),s=this.component.yAxis.getAxis(a.yAxisIndex);if(!t.type||"max"!==t.type&&"min"!==t.type&&"average"!==t.type)if(o.isHorizontal){i="string"==typeof t.xAxis&&r.getIndexByName?r.getIndexByName(t.xAxis):t.xAxis||0;var l=o[i];l=null!=l?l:"string"!=typeof t.xAxis&&r.getCoordByIndex?r.getCoordByIndex(t.xAxis||0):r.getCoord(t.xAxis||0),n=[l,s.getCoord(t.yAxis||0)]}else{i="string"==typeof t.yAxis&&s.getIndexByName?s.getIndexByName(t.yAxis):t.yAxis||0;var h=o[i];h=null!=h?h:"string"!=typeof t.yAxis&&s.getCoordByIndex?s.getCoordByIndex(t.yAxis||0):s.getCoord(t.yAxis||0),n=[r.getCoord(t.xAxis||0),h]}else{var m=null!=t.valueIndex?t.valueIndex:null!=o.maxX0?"1":"";n=[o[t.type+"X"+m],o[t.type+"Y"+m],o[t.type+"Line"+m],o[t.type+m]]}return n},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()},addDataAnimation:function(e,t){function i(){c--,0===c&&t&&t()}for(var n=this.series,a={},r=0,s=e.length;s>r;r++)a[e[r][0]]=e[r];for(var l,h,m,V,U,d,p,c=0,r=this.shapeList.length-1;r>=0;r--)if(d=o.get(this.shapeList[r],"seriesIndex"),a[d]&&!a[d][3]&&"rectangle"===this.shapeList[r].type){if(p=o.get(this.shapeList[r],"dataIndex"),U=n[d],a[d][2]&&p===U.data.length-1){this.zr.delShape(this.shapeList[r].id);continue}if(!a[d][2]&&0===p){this.zr.delShape(this.shapeList[r].id);continue}"horizontal"===this.shapeList[r]._orient?(V=this.component.yAxis.getAxis(U.yAxisIndex||0).getGap(),m=a[d][2]?-V:V,l=0):(h=this.component.xAxis.getAxis(U.xAxisIndex||0).getGap(),l=a[d][2]?h:-h,m=0),this.shapeList[r].position=[0,0],c++,this.zr.animate(this.shapeList[r].id,"").when(this.query(this.option,"animationDurationUpdate"),{position:[l,m]}).done(i).start()}c||t&&t()}},r.inherits(t,i),e("../chart").define("bar",t),t}),i("echarts/chart/scatter",["require","./base","../util/shape/Symbol","../component/axis","../component/grid","../component/dataZoom","../component/dataRange","../config","zrender/tool/util","zrender/tool/color","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("../util/shape/Symbol");e("../component/axis"),e("../component/grid"),e("../component/dataZoom"),e("../component/dataRange");var a=e("../config");a.scatter={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbolSize:4,large:!1,largeThreshold:2e3,itemStyle:{normal:{label:{show:!1}},emphasis:{label:{show:!1}}}};var o=e("zrender/tool/util"),r=e("zrender/tool/color");return t.prototype={type:a.CHART_TYPE_SCATTER,_buildShape:function(){var e=this.series;this._sIndex2ColorMap={},this._symbol=this.option.symbolList,this._sIndex2ShapeMap={},this.selectedMap={},this.xMarkMap={};for(var t,i,n,o,s=this.component.legend,l=[],h=0,m=e.length;m>h;h++)if(t=e[h],i=t.name,t.type===a.CHART_TYPE_SCATTER){if(e[h]=this.reformOption(e[h]),this.legendHoverLink=e[h].legendHoverLink||this.legendHoverLink,this._sIndex2ShapeMap[h]=this.query(t,"symbol")||this._symbol[h%this._symbol.length],s){if(this.selectedMap[i]=s.isSelected(i),this._sIndex2ColorMap[h]=r.alpha(s.getColor(i),.5),n=s.getItemShape(i)){var o=this._sIndex2ShapeMap[h];n.style.brushType=o.match("empty")?"stroke":"both",o=o.replace("empty","").toLowerCase(),o.match("rectangle")&&(n.style.x+=Math.round((n.style.width-n.style.height)/2),n.style.width=n.style.height),o.match("star")&&(n.style.n=o.replace("star","")-0||5,o="star"),o.match("image")&&(n.style.image=o.replace(new RegExp("^image:\\/\\/"),""),n.style.x+=Math.round((n.style.width-n.style.height)/2),n.style.width=n.style.height,o="image"),n.style.iconType=o,s.setItemShape(i,n)}}else this.selectedMap[i]=!0,this._sIndex2ColorMap[h]=r.alpha(this.zr.getColor(h),.5);this.selectedMap[i]&&l.push(h)}this._buildSeries(l),this.addShapeList()},_buildSeries:function(e){if(0!==e.length){for(var t,i,n,a,o,r,s,l,h=this.series,m={},V=0,U=e.length;U>V;V++)if(t=e[V],i=h[t],0!==i.data.length){o=this.component.xAxis.getAxis(i.xAxisIndex||0),r=this.component.yAxis.getAxis(i.yAxisIndex||0),m[t]=[];for(var d=0,p=i.data.length;p>d;d++)n=i.data[d],a=this.getDataFromOption(n,"-"),"-"===a||a.length<2||(s=o.getCoord(a[0]),l=r.getCoord(a[1]),m[t].push([s,l,d,n.name||""]));this.xMarkMap[t]=this._markMap(o,r,i.data,m[t]),this.buildMark(t)}this._buildPointList(m)}},_markMap:function(e,t,i,n){for(var a,o={min0:Number.POSITIVE_INFINITY,max0:Number.NEGATIVE_INFINITY,sum0:0,counter0:0,average0:0,min1:Number.POSITIVE_INFINITY,max1:Number.NEGATIVE_INFINITY,sum1:0,counter1:0,average1:0},r=0,s=n.length;s>r;r++)a=i[n[r][2]].value||i[n[r][2]],o.min0>a[0]&&(o.min0=a[0],o.minY0=n[r][1],o.minX0=n[r][0]),o.max0<a[0]&&(o.max0=a[0],o.maxY0=n[r][1],o.maxX0=n[r][0]),o.sum0+=a[0],o.counter0++,o.min1>a[1]&&(o.min1=a[1],o.minY1=n[r][1],o.minX1=n[r][0]),o.max1<a[1]&&(o.max1=a[1],o.maxY1=n[r][1],o.maxX1=n[r][0]),o.sum1+=a[1],o.counter1++;var l=this.component.grid.getX(),h=this.component.grid.getXend(),m=this.component.grid.getY(),V=this.component.grid.getYend();o.average0=o.sum0/o.counter0;var U=e.getCoord(o.average0);o.averageLine0=[[U,V],[U,m]],o.minLine0=[[o.minX0,V],[o.minX0,m]],o.maxLine0=[[o.maxX0,V],[o.maxX0,m]],o.average1=o.sum1/o.counter1;var d=t.getCoord(o.average1);return o.averageLine1=[[l,d],[h,d]],o.minLine1=[[l,o.minY1],[h,o.minY1]],o.maxLine1=[[l,o.maxY1],[h,o.maxY1]],o},_buildPointList:function(e){var t,i,n,a,o=this.series;for(var r in e)if(t=o[r],i=e[r],t.large&&t.data.length>t.largeThreshold)this.shapeList.push(this._getLargeSymbol(t,i,this.getItemStyleColor(this.query(t,"itemStyle.normal.color"),r,-1)||this._sIndex2ColorMap[r]));else for(var s=0,l=i.length;l>s;s++)n=i[s],a=this._getSymbol(r,n[2],n[3],n[0],n[1]),a&&this.shapeList.push(a)},_getSymbol:function(e,t,i,n,a){var o,r=this.series,s=r[e],l=s.data[t],h=this.component.dataRange;if(h){if(o=isNaN(l[2])?this._sIndex2ColorMap[e]:h.getColor(l[2]),!o)return null}else o=this._sIndex2ColorMap[e];var m=this.getSymbolShape(s,e,l,t,i,n,a,this._sIndex2ShapeMap[e],o,"rgba(0,0,0,0)","vertical");return m.zlevel=s.zlevel,m.z=s.z,m._main=!0,m},_getLargeSymbol:function(e,t,i){return new n({zlevel:e.zlevel,z:e.z,_main:!0,hoverable:!1,style:{pointList:t,color:i,strokeColor:i},highlightStyle:{pointList:[]}})},getMarkCoord:function(e,t){var i,n=this.series[e],a=this.xMarkMap[e],o=this.component.xAxis.getAxis(n.xAxisIndex),r=this.component.yAxis.getAxis(n.yAxisIndex);if(!t.type||"max"!==t.type&&"min"!==t.type&&"average"!==t.type)i=["string"!=typeof t.xAxis&&o.getCoordByIndex?o.getCoordByIndex(t.xAxis||0):o.getCoord(t.xAxis||0),"string"!=typeof t.yAxis&&r.getCoordByIndex?r.getCoordByIndex(t.yAxis||0):r.getCoord(t.yAxis||0)];else{var s=null!=t.valueIndex?t.valueIndex:1;i=[a[t.type+"X"+s],a[t.type+"Y"+s],a[t.type+"Line"+s],a[t.type+s]]}return i},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()},ondataRange:function(e,t){this.component.dataRange&&(this.refresh(),t.needRefresh=!0)}},o.inherits(t,i),e("../chart").define("scatter",t),t}),i("echarts/component/dataRange",["require","./base","zrender/shape/Text","zrender/shape/Rectangle","../util/shape/HandlePolygon","../config","zrender/tool/util","zrender/tool/event","zrender/tool/area","zrender/tool/color","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o);var s=this;s._ondrift=function(e,t){return s.__ondrift(this,e,t)},s._ondragend=function(){return s.__ondragend()},s._dataRangeSelected=function(e){return s.__dataRangeSelected(e)},s._dispatchHoverLink=function(e){return s.__dispatchHoverLink(e)},s._onhoverlink=function(e){return s.__onhoverlink(e);
-
-},this._selectedMap={},this._range={},this.refresh(a),t.bind(r.EVENT.HOVER,this._onhoverlink)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Rectangle"),o=e("../util/shape/HandlePolygon"),r=e("../config");r.dataRange={zlevel:0,z:4,show:!0,orient:"vertical",x:"left",y:"bottom",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,itemWidth:20,itemHeight:14,precision:0,splitNumber:5,splitList:null,calculable:!1,selectedMode:!0,hoverLink:!0,realtime:!0,color:["#006edd","#e0ffff"],textStyle:{color:"#333"}};var s=e("zrender/tool/util"),l=e("zrender/tool/event"),h=e("zrender/tool/area"),m=e("zrender/tool/color");return t.prototype={type:r.COMPONENT_TYPE_DATARANGE,_textGap:10,_buildShape:function(){if(this._itemGroupLocation=this._getItemGroupLocation(),this._buildBackground(),this._isContinuity()?this._buildGradient():this._buildItem(),this.dataRangeOption.show)for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e]);this._syncShapeFromRange()},_buildItem:function(){var e,t,i,o,r=this._valueTextList,s=r.length,l=this.getFont(this.dataRangeOption.textStyle),m=this._itemGroupLocation.x,V=this._itemGroupLocation.y,U=this.dataRangeOption.itemWidth,d=this.dataRangeOption.itemHeight,p=this.dataRangeOption.itemGap,c=h.getTextHeight("国",l);"vertical"==this.dataRangeOption.orient&&"right"==this.dataRangeOption.x&&(m=this._itemGroupLocation.x+this._itemGroupLocation.width-U);var u=!0;this.dataRangeOption.text&&(u=!1,this.dataRangeOption.text[0]&&(i=this._getTextShape(m,V,this.dataRangeOption.text[0]),"horizontal"==this.dataRangeOption.orient?m+=h.getTextWidth(this.dataRangeOption.text[0],l)+this._textGap:(V+=c+this._textGap,i.style.y+=c/2+this._textGap,i.style.textBaseline="bottom"),this.shapeList.push(new n(i))));for(var y=0;s>y;y++)e=r[y],o=this.getColorByIndex(y),t=this._getItemShape(m,V,U,d,this._selectedMap[y]?o:"#ccc"),t._idx=y,t.onmousemove=this._dispatchHoverLink,this.dataRangeOption.selectedMode&&(t.clickable=!0,t.onclick=this._dataRangeSelected),this.shapeList.push(new a(t)),u&&(i={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:m+U+5,y:V,color:this._selectedMap[y]?this.dataRangeOption.textStyle.color:"#ccc",text:r[y],textFont:l,textBaseline:"top"},highlightStyle:{brushType:"fill"}},"vertical"==this.dataRangeOption.orient&&"right"==this.dataRangeOption.x&&(i.style.x-=U+10,i.style.textAlign="right"),i._idx=y,i.onmousemove=this._dispatchHoverLink,this.dataRangeOption.selectedMode&&(i.clickable=!0,i.onclick=this._dataRangeSelected),this.shapeList.push(new n(i))),"horizontal"==this.dataRangeOption.orient?m+=U+(u?5:0)+(u?h.getTextWidth(e,l):0)+p:V+=d+p;!u&&this.dataRangeOption.text[1]&&("horizontal"==this.dataRangeOption.orient?m=m-p+this._textGap:V=V-p+this._textGap,i=this._getTextShape(m,V,this.dataRangeOption.text[1]),"horizontal"!=this.dataRangeOption.orient&&(i.style.y-=5,i.style.textBaseline="top"),this.shapeList.push(new n(i)))},_buildGradient:function(){var t,i,o=this.getFont(this.dataRangeOption.textStyle),r=this._itemGroupLocation.x,s=this._itemGroupLocation.y,l=this.dataRangeOption.itemWidth,m=this.dataRangeOption.itemHeight,V=h.getTextHeight("国",o),U=10,d=!0;this.dataRangeOption.text&&(d=!1,this.dataRangeOption.text[0]&&(i=this._getTextShape(r,s,this.dataRangeOption.text[0]),"horizontal"==this.dataRangeOption.orient?r+=h.getTextWidth(this.dataRangeOption.text[0],o)+this._textGap:(s+=V+this._textGap,i.style.y+=V/2+this._textGap,i.style.textBaseline="bottom"),this.shapeList.push(new n(i))));for(var p=e("zrender/tool/color"),c=1/(this.dataRangeOption.color.length-1),u=[],y=0,g=this.dataRangeOption.color.length;g>y;y++)u.push([y*c,this.dataRangeOption.color[y]]);"horizontal"==this.dataRangeOption.orient?(t={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:r,y:s,width:l*U,height:m,color:p.getLinearGradient(r,s,r+l*U,s,u)},hoverable:!1},r+=l*U+this._textGap):(t={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:r,y:s,width:l,height:m*U,color:p.getLinearGradient(r,s,r,s+m*U,u)},hoverable:!1},s+=m*U+this._textGap),this.shapeList.push(new a(t)),this._calculableLocation=t.style,this.dataRangeOption.calculable&&(this._buildFiller(),this._bulidMask(),this._bulidHandle()),this._buildIndicator(),!d&&this.dataRangeOption.text[1]&&(i=this._getTextShape(r,s,this.dataRangeOption.text[1]),this.shapeList.push(new n(i)))},_buildIndicator:function(){var e,t,i=this._calculableLocation.x,n=this._calculableLocation.y,a=this._calculableLocation.width,r=this._calculableLocation.height,s=5;"horizontal"==this.dataRangeOption.orient?"bottom"!=this.dataRangeOption.y?(e=[[i,n+r],[i-s,n+r+s],[i+s,n+r+s]],t="bottom"):(e=[[i,n],[i-s,n-s],[i+s,n-s]],t="top"):"right"!=this.dataRangeOption.x?(e=[[i+a,n],[i+a+s,n-s],[i+a+s,n+s]],t="right"):(e=[[i,n],[i-s,n-s],[i-s,n+s]],t="left"),this._indicatorShape={style:{pointList:e,color:"#fff",__rect:{x:Math.min(e[0][0],e[1][0]),y:Math.min(e[0][1],e[1][1]),width:s*("horizontal"==this.dataRangeOption.orient?2:1),height:s*("horizontal"==this.dataRangeOption.orient?1:2)}},highlightStyle:{brushType:"fill",textPosition:t,textColor:this.dataRangeOption.textStyle.color},hoverable:!1},this._indicatorShape=new o(this._indicatorShape)},_buildFiller:function(){this._fillerShape={zlevel:this.getZlevelBase(),z:this.getZBase()+1,style:{x:this._calculableLocation.x,y:this._calculableLocation.y,width:this._calculableLocation.width,height:this._calculableLocation.height,color:"rgba(255,255,255,0)"},highlightStyle:{strokeColor:"rgba(255,255,255,0.5)",lineWidth:1},draggable:!0,ondrift:this._ondrift,ondragend:this._ondragend,onmousemove:this._dispatchHoverLink,_type:"filler"},this._fillerShape=new a(this._fillerShape),this.shapeList.push(this._fillerShape)},_bulidHandle:function(){var e,t,i,n,a,r,s,l,m=this._calculableLocation.x,V=this._calculableLocation.y,U=this._calculableLocation.width,d=this._calculableLocation.height,p=this.getFont(this.dataRangeOption.textStyle),c=h.getTextHeight("国",p),u=Math.max(h.getTextWidth(this._textFormat(this.dataRangeOption.max),p),h.getTextWidth(this._textFormat(this.dataRangeOption.min),p))+2;"horizontal"==this.dataRangeOption.orient?"bottom"!=this.dataRangeOption.y?(e=[[m,V],[m,V+d+c],[m-c,V+d+c],[m-1,V+d],[m-1,V]],t=m-u/2-c,i=V+d+c/2+2,n={x:m-u-c,y:V+d,width:u+c,height:c},a=[[m+U,V],[m+U,V+d+c],[m+U+c,V+d+c],[m+U+1,V+d],[m+U+1,V]],r=m+U+u/2+c,s=i,l={x:m+U,y:V+d,width:u+c,height:c}):(e=[[m,V+d],[m,V-c],[m-c,V-c],[m-1,V],[m-1,V+d]],t=m-u/2-c,i=V-c/2-2,n={x:m-u-c,y:V-c,width:u+c,height:c},a=[[m+U,V+d],[m+U,V-c],[m+U+c,V-c],[m+U+1,V],[m+U+1,V+d]],r=m+U+u/2+c,s=i,l={x:m+U,y:V-c,width:u+c,height:c}):(u+=c,"right"!=this.dataRangeOption.x?(e=[[m,V],[m+U+c,V],[m+U+c,V-c],[m+U,V-1],[m,V-1]],t=m+U+u/2+c/2,i=V-c/2,n={x:m+U,y:V-c,width:u+c,height:c},a=[[m,V+d],[m+U+c,V+d],[m+U+c,V+c+d],[m+U,V+1+d],[m,V+d+1]],r=t,s=V+d+c/2,l={x:m+U,y:V+d,width:u+c,height:c}):(e=[[m+U,V],[m-c,V],[m-c,V-c],[m,V-1],[m+U,V-1]],t=m-u/2-c/2,i=V-c/2,n={x:m-u-c,y:V-c,width:u+c,height:c},a=[[m+U,V+d],[m-c,V+d],[m-c,V+c+d],[m,V+1+d],[m+U,V+d+1]],r=t,s=V+d+c/2,l={x:m-u-c,y:V+d,width:u+c,height:c})),this._startShape={style:{pointList:e,text:this._textFormat(this.dataRangeOption.max),textX:t,textY:i,textFont:p,color:this.getColor(this.dataRangeOption.max),rect:n,x:e[0][0],y:e[0][1],_x:e[0][0],_y:e[0][1]}},this._startShape.highlightStyle={strokeColor:this._startShape.style.color,lineWidth:1},this._endShape={style:{pointList:a,text:this._textFormat(this.dataRangeOption.min),textX:r,textY:s,textFont:p,color:this.getColor(this.dataRangeOption.min),rect:l,x:a[0][0],y:a[0][1],_x:a[0][0],_y:a[0][1]}},this._endShape.highlightStyle={strokeColor:this._endShape.style.color,lineWidth:1},this._startShape.zlevel=this._endShape.zlevel=this.getZlevelBase(),this._startShape.z=this._endShape.z=this.getZBase()+1,this._startShape.draggable=this._endShape.draggable=!0,this._startShape.ondrift=this._endShape.ondrift=this._ondrift,this._startShape.ondragend=this._endShape.ondragend=this._ondragend,this._startShape.style.textColor=this._endShape.style.textColor=this.dataRangeOption.textStyle.color,this._startShape.style.textAlign=this._endShape.style.textAlign="center",this._startShape.style.textPosition=this._endShape.style.textPosition="specific",this._startShape.style.textBaseline=this._endShape.style.textBaseline="middle",this._startShape.style.width=this._endShape.style.width=0,this._startShape.style.height=this._endShape.style.height=0,this._startShape.style.textPosition=this._endShape.style.textPosition="specific",this._startShape=new o(this._startShape),this._endShape=new o(this._endShape),this.shapeList.push(this._startShape),this.shapeList.push(this._endShape)},_bulidMask:function(){var e=this._calculableLocation.x,t=this._calculableLocation.y,i=this._calculableLocation.width,n=this._calculableLocation.height;this._startMask={zlevel:this.getZlevelBase(),z:this.getZBase()+1,style:{x:e,y:t,width:"horizontal"==this.dataRangeOption.orient?0:i,height:"horizontal"==this.dataRangeOption.orient?n:0,color:"#ccc"},hoverable:!1},this._endMask={zlevel:this.getZlevelBase(),z:this.getZBase()+1,style:{x:"horizontal"==this.dataRangeOption.orient?e+i:e,y:"horizontal"==this.dataRangeOption.orient?t:t+n,width:"horizontal"==this.dataRangeOption.orient?0:i,height:"horizontal"==this.dataRangeOption.orient?n:0,color:"#ccc"},hoverable:!1},this._startMask=new a(this._startMask),this._endMask=new a(this._endMask),this.shapeList.push(this._startMask),this.shapeList.push(this._endMask)},_buildBackground:function(){var e=this.reformCssArray(this.dataRangeOption.padding);this.shapeList.push(new a({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._itemGroupLocation.x-e[3],y:this._itemGroupLocation.y-e[0],width:this._itemGroupLocation.width+e[3]+e[1],height:this._itemGroupLocation.height+e[0]+e[2],brushType:0===this.dataRangeOption.borderWidth?"fill":"both",color:this.dataRangeOption.backgroundColor,strokeColor:this.dataRangeOption.borderColor,lineWidth:this.dataRangeOption.borderWidth}}))},_getItemGroupLocation:function(){var e=this._valueTextList,t=e.length,i=this.dataRangeOption.itemGap,n=this.dataRangeOption.itemWidth,a=this.dataRangeOption.itemHeight,o=0,r=0,s=this.getFont(this.dataRangeOption.textStyle),l=h.getTextHeight("国",s),m=10;if("horizontal"==this.dataRangeOption.orient){if(this.dataRangeOption.text||this._isContinuity())o=(this._isContinuity()?n*m+i:t*(n+i))+(this.dataRangeOption.text&&"undefined"!=typeof this.dataRangeOption.text[0]?h.getTextWidth(this.dataRangeOption.text[0],s)+this._textGap:0)+(this.dataRangeOption.text&&"undefined"!=typeof this.dataRangeOption.text[1]?h.getTextWidth(this.dataRangeOption.text[1],s)+this._textGap:0);else{n+=5;for(var V=0;t>V;V++)o+=n+h.getTextWidth(e[V],s)+i}o-=i,r=Math.max(l,a)}else{var U;if(this.dataRangeOption.text||this._isContinuity())r=(this._isContinuity()?a*m+i:t*(a+i))+(this.dataRangeOption.text&&"undefined"!=typeof this.dataRangeOption.text[0]?this._textGap+l:0)+(this.dataRangeOption.text&&"undefined"!=typeof this.dataRangeOption.text[1]?this._textGap+l:0),U=Math.max(h.getTextWidth(this.dataRangeOption.text&&this.dataRangeOption.text[0]||"",s),h.getTextWidth(this.dataRangeOption.text&&this.dataRangeOption.text[1]||"",s)),o=Math.max(n,U);else{r=(a+i)*t,n+=5,U=0;for(var V=0;t>V;V++)U=Math.max(U,h.getTextWidth(e[V],s));o=n+U}r-=i}var d,p=this.reformCssArray(this.dataRangeOption.padding),c=this.zr.getWidth();switch(this.dataRangeOption.x){case"center":d=Math.floor((c-o)/2);break;case"left":d=p[3]+this.dataRangeOption.borderWidth;break;case"right":d=c-o-p[1]-this.dataRangeOption.borderWidth;break;default:d=this.parsePercent(this.dataRangeOption.x,c),d=isNaN(d)?0:d}var u,y=this.zr.getHeight();switch(this.dataRangeOption.y){case"top":u=p[0]+this.dataRangeOption.borderWidth;break;case"bottom":u=y-r-p[2]-this.dataRangeOption.borderWidth;break;case"center":u=Math.floor((y-r)/2);break;default:u=this.parsePercent(this.dataRangeOption.y,y),u=isNaN(u)?0:u}if(this.dataRangeOption.calculable){var g=Math.max(h.getTextWidth(this.dataRangeOption.max,s),h.getTextWidth(this.dataRangeOption.min,s))+l;"horizontal"==this.dataRangeOption.orient?(g>d&&(d=g),d+o+g>c&&(d-=g)):(l>u&&(u=l),u+r+l>y&&(u-=l))}return{x:d,y:u,width:o,height:r}},_getTextShape:function(e,t,i){return{zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:"horizontal"==this.dataRangeOption.orient?e:this._itemGroupLocation.x+this._itemGroupLocation.width/2,y:"horizontal"==this.dataRangeOption.orient?this._itemGroupLocation.y+this._itemGroupLocation.height/2:t,color:this.dataRangeOption.textStyle.color,text:i,textFont:this.getFont(this.dataRangeOption.textStyle),textBaseline:"horizontal"==this.dataRangeOption.orient?"middle":"top",textAlign:"horizontal"==this.dataRangeOption.orient?"left":"center"},hoverable:!1}},_getItemShape:function(e,t,i,n,a){return{zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:e,y:t+1,width:i,height:n-2,color:a},highlightStyle:{strokeColor:a,lineWidth:1}}},__ondrift:function(e,t,i){var n=this._calculableLocation.x,a=this._calculableLocation.y,o=this._calculableLocation.width,r=this._calculableLocation.height;return"horizontal"==this.dataRangeOption.orient?e.style.x+t<=n?e.style.x=n:e.style.x+t+e.style.width>=n+o?e.style.x=n+o-e.style.width:e.style.x+=t:e.style.y+i<=a?e.style.y=a:e.style.y+i+e.style.height>=a+r?e.style.y=a+r-e.style.height:e.style.y+=i,"filler"==e._type?this._syncHandleShape():this._syncFillerShape(e),this.dataRangeOption.realtime&&this._dispatchDataRange(),!0},__ondragend:function(){this.isDragend=!0},ondragend:function(e,t){this.isDragend&&e.target&&(t.dragOut=!0,t.dragIn=!0,this.dataRangeOption.realtime||this._dispatchDataRange(),t.needRefresh=!1,this.isDragend=!1)},_syncShapeFromRange:function(){var e=this.dataRangeOption.range||{},t=e.start,i=e.end;if(t>i&&(t=[i,i=t][0]),this._range.end=null!=t?t:null!=this._range.end?this._range.end:0,this._range.start=null!=i?i:null!=this._range.start?this._range.start:100,100!=this._range.start||0!==this._range.end){if("horizontal"==this.dataRangeOption.orient){var n=this._fillerShape.style.width;this._fillerShape.style.x+=n*(100-this._range.start)/100,this._fillerShape.style.width=n*(this._range.start-this._range.end)/100}else{var a=this._fillerShape.style.height;this._fillerShape.style.y+=a*(100-this._range.start)/100,this._fillerShape.style.height=a*(this._range.start-this._range.end)/100}this.zr.modShape(this._fillerShape.id),this._syncHandleShape()}},_syncHandleShape:function(){var e=this._calculableLocation.x,t=this._calculableLocation.y,i=this._calculableLocation.width,n=this._calculableLocation.height;"horizontal"==this.dataRangeOption.orient?(this._startShape.style.x=this._fillerShape.style.x,this._startMask.style.width=this._startShape.style.x-e,this._endShape.style.x=this._fillerShape.style.x+this._fillerShape.style.width,this._endMask.style.x=this._endShape.style.x,this._endMask.style.width=e+i-this._endShape.style.x,this._range.start=Math.ceil(100-(this._startShape.style.x-e)/i*100),this._range.end=Math.floor(100-(this._endShape.style.x-e)/i*100)):(this._startShape.style.y=this._fillerShape.style.y,this._startMask.style.height=this._startShape.style.y-t,this._endShape.style.y=this._fillerShape.style.y+this._fillerShape.style.height,this._endMask.style.y=this._endShape.style.y,this._endMask.style.height=t+n-this._endShape.style.y,this._range.start=Math.ceil(100-(this._startShape.style.y-t)/n*100),this._range.end=Math.floor(100-(this._endShape.style.y-t)/n*100)),this._syncShape()},_syncFillerShape:function(e){var t,i,n=this._calculableLocation.x,a=this._calculableLocation.y,o=this._calculableLocation.width,r=this._calculableLocation.height;"horizontal"==this.dataRangeOption.orient?(t=this._startShape.style.x,i=this._endShape.style.x,e.id==this._startShape.id&&t>=i?(i=t,this._endShape.style.x=t):e.id==this._endShape.id&&t>=i&&(t=i,this._startShape.style.x=t),this._fillerShape.style.x=t,this._fillerShape.style.width=i-t,this._startMask.style.width=t-n,this._endMask.style.x=i,this._endMask.style.width=n+o-i,this._range.start=Math.ceil(100-(t-n)/o*100),this._range.end=Math.floor(100-(i-n)/o*100)):(t=this._startShape.style.y,i=this._endShape.style.y,e.id==this._startShape.id&&t>=i?(i=t,this._endShape.style.y=t):e.id==this._endShape.id&&t>=i&&(t=i,this._startShape.style.y=t),this._fillerShape.style.y=t,this._fillerShape.style.height=i-t,this._startMask.style.height=t-a,this._endMask.style.y=i,this._endMask.style.height=a+r-i,this._range.start=Math.ceil(100-(t-a)/r*100),this._range.end=Math.floor(100-(i-a)/r*100)),this._syncShape()},_syncShape:function(){this._startShape.position=[this._startShape.style.x-this._startShape.style._x,this._startShape.style.y-this._startShape.style._y],this._startShape.style.text=this._textFormat(this._gap*this._range.start+this.dataRangeOption.min),this._startShape.style.color=this._startShape.highlightStyle.strokeColor=this.getColor(this._gap*this._range.start+this.dataRangeOption.min),this._endShape.position=[this._endShape.style.x-this._endShape.style._x,this._endShape.style.y-this._endShape.style._y],this._endShape.style.text=this._textFormat(this._gap*this._range.end+this.dataRangeOption.min),this._endShape.style.color=this._endShape.highlightStyle.strokeColor=this.getColor(this._gap*this._range.end+this.dataRangeOption.min),this.zr.modShape(this._startShape.id),this.zr.modShape(this._endShape.id),this.zr.modShape(this._startMask.id),this.zr.modShape(this._endMask.id),this.zr.modShape(this._fillerShape.id),this.zr.refreshNextFrame()},_dispatchDataRange:function(){this.messageCenter.dispatch(r.EVENT.DATA_RANGE,null,{range:{start:this._range.end,end:this._range.start}},this.myChart)},__dataRangeSelected:function(e){if("single"===this.dataRangeOption.selectedMode)for(var t in this._selectedMap)this._selectedMap[t]=!1;var i=e.target._idx;this._selectedMap[i]=!this._selectedMap[i];var n,a;this._useCustomizedSplit()?(n=this._splitList[i].max,a=this._splitList[i].min):(n=(this._colorList.length-i)*this._gap+this.dataRangeOption.min,a=n-this._gap),this.messageCenter.dispatch(r.EVENT.DATA_RANGE_SELECTED,e.event,{selected:this._selectedMap,target:i,valueMax:n,valueMin:a},this.myChart),this.messageCenter.dispatch(r.EVENT.REFRESH,null,null,this.myChart)},__dispatchHoverLink:function(e){var t,i;if(this.dataRangeOption.calculable){var n,a=this.dataRangeOption.max-this.dataRangeOption.min;n="horizontal"==this.dataRangeOption.orient?(1-(l.getX(e.event)-this._calculableLocation.x)/this._calculableLocation.width)*a:(1-(l.getY(e.event)-this._calculableLocation.y)/this._calculableLocation.height)*a,t=n-.05*a,i=n+.05*a}else if(this._useCustomizedSplit()){var o=e.target._idx;i=this._splitList[o].max,t=this._splitList[o].min}else{var o=e.target._idx;i=(this._colorList.length-o)*this._gap+this.dataRangeOption.min,t=i-this._gap}this.messageCenter.dispatch(r.EVENT.DATA_RANGE_HOVERLINK,e.event,{valueMin:t,valueMax:i},this.myChart)},__onhoverlink:function(e){if(this.dataRangeOption.show&&this.dataRangeOption.hoverLink&&this._indicatorShape&&e&&null!=e.seriesIndex&&null!=e.dataIndex){var t=e.value;if(""===t||isNaN(t))return;t<this.dataRangeOption.min?t=this.dataRangeOption.min:t>this.dataRangeOption.max&&(t=this.dataRangeOption.max),this._indicatorShape.position="horizontal"==this.dataRangeOption.orient?[(this.dataRangeOption.max-t)/(this.dataRangeOption.max-this.dataRangeOption.min)*this._calculableLocation.width,0]:[0,(this.dataRangeOption.max-t)/(this.dataRangeOption.max-this.dataRangeOption.min)*this._calculableLocation.height],this._indicatorShape.style.text=this._textFormat(e.value),this._indicatorShape.style.color=this.getColor(t),this.zr.addHoverShape(this._indicatorShape)}},_textFormat:function(e,t){var i=this.dataRangeOption;if(e!==-Number.MAX_VALUE&&(e=(+e).toFixed(i.precision)),null!=t&&t!==Number.MAX_VALUE&&(t=(+t).toFixed(i.precision)),i.formatter){if("string"==typeof i.formatter)return i.formatter.replace("{value}",e===-Number.MAX_VALUE?"min":e).replace("{value2}",t===Number.MAX_VALUE?"max":t);if("function"==typeof i.formatter)return i.formatter.call(this.myChart,e,t)}return null==t?e:e===-Number.MAX_VALUE?"< "+t:t===Number.MAX_VALUE?"> "+e:e+" - "+t},_isContinuity:function(){var e=this.dataRangeOption;return!(e.splitList?e.splitList.length>0:e.splitNumber>0)||e.calculable},_useCustomizedSplit:function(){var e=this.dataRangeOption;return e.splitList&&e.splitList.length>0},_buildColorList:function(e){if(this._colorList=m.getGradientColors(this.dataRangeOption.color,Math.max((e-this.dataRangeOption.color.length)/(this.dataRangeOption.color.length-1),0)+1),this._colorList.length>e){for(var t=this._colorList.length,i=[this._colorList[0]],n=t/(e-1),a=1;e-1>a;a++)i.push(this._colorList[Math.floor(a*n)]);i.push(this._colorList[t-1]),this._colorList=i}if(this._useCustomizedSplit())for(var o=this._splitList,a=0,t=o.length;t>a;a++)o[a].color&&(this._colorList[a]=o[a].color)},_buildGap:function(e){if(!this._useCustomizedSplit()){var t=this.dataRangeOption.precision;for(this._gap=(this.dataRangeOption.max-this.dataRangeOption.min)/e;this._gap.toFixed(t)-0!=this._gap&&5>t;)t++;this.dataRangeOption.precision=t,this._gap=((this.dataRangeOption.max-this.dataRangeOption.min)/e).toFixed(t)-0}},_buildDataList:function(e){for(var t=this._valueTextList=[],i=this.dataRangeOption,n=this._useCustomizedSplit(),a=0;e>a;a++){this._selectedMap[a]=!0;var o="";if(n){var r=this._splitList[e-1-a];o=null!=r.label?r.label:null!=r.single?this._textFormat(r.single):this._textFormat(r.min,r.max)}else o=this._textFormat(a*this._gap+i.min,(a+1)*this._gap+i.min);t.unshift(o)}},_buildSplitList:function(){if(this._useCustomizedSplit())for(var e=this.dataRangeOption.splitList,t=this._splitList=[],i=0,n=e.length;n>i;i++){var a=e[i];if(!a||null==a.start&&null==a.end)throw new Error("Empty item exists in splitList!");var o={label:a.label,color:a.color};o.min=a.start,o.max=a.end,o.min>o.max&&(o.min=[o.max,o.max=o.min][0]),o.min===o.max&&(o.single=o.max),null==o.min&&(o.min=-Number.MAX_VALUE),null==o.max&&(o.max=Number.MAX_VALUE),t.push(o)}},refresh:function(e){if(e){this.option=e,this.option.dataRange=this.reformOption(this.option.dataRange);var t=this.dataRangeOption=this.option.dataRange;if(!this._useCustomizedSplit()&&(null==t.min||null==t.max))throw new Error("option.dataRange.min or option.dataRange.max has not been defined.");this.myChart.canvasSupported||(t.realtime=!1);var i=this._isContinuity()?100:this._useCustomizedSplit()?t.splitList.length:t.splitNumber;this._buildSplitList(),this._buildColorList(i),this._buildGap(i),this._buildDataList(i)}this.clear(),this._buildShape()},getColor:function(e){if(isNaN(e))return null;var t;if(this._useCustomizedSplit()){for(var i=this._splitList,n=0,a=i.length;a>n;n++)if(i[n].min<=e&&i[n].max>=e){t=n;break}}else{if(this.dataRangeOption.min==this.dataRangeOption.max)return this._colorList[0];if(e<this.dataRangeOption.min?e=this.dataRangeOption.min:e>this.dataRangeOption.max&&(e=this.dataRangeOption.max),this.dataRangeOption.calculable&&(e-(this._gap*this._range.start+this.dataRangeOption.min)>5e-5||e-(this._gap*this._range.end+this.dataRangeOption.min)<-5e-5))return null;t=this._colorList.length-Math.ceil((e-this.dataRangeOption.min)/(this.dataRangeOption.max-this.dataRangeOption.min)*this._colorList.length),t==this._colorList.length&&t--}return this._selectedMap[t]?this._colorList[t]:null},getColorByIndex:function(e){return e>=this._colorList.length?e=this._colorList.length-1:0>e&&(e=0),this._colorList[e]},onbeforDispose:function(){this.messageCenter.unbind(r.EVENT.HOVER,this._onhoverlink)}},s.inherits(t,i),e("../component").define("dataRange",t),t}),i("echarts/util/shape/HandlePolygon",["require","zrender/shape/Base","zrender/shape/Polygon","zrender/tool/util"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/shape/Polygon"),a=e("zrender/tool/util");return t.prototype={type:"handle-polygon",buildPath:function(e,t){n.prototype.buildPath(e,t)},isCover:function(e,t){var i=this.transformCoordToLocal(e,t);e=i[0],t=i[1];var n=this.style.rect;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height?!0:!1}},a.inherits(t,i),t}),i("echarts/chart/k",["require","./base","../util/shape/Candle","../component/axis","../component/grid","../component/dataZoom","../config","../util/ecData","zrender/tool/util","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("../util/shape/Candle");e("../component/axis"),e("../component/grid"),e("../component/dataZoom");var a=e("../config");a.k={zlevel:0,z:2,clickable:!0,hoverable:!0,legendHoverLink:!1,xAxisIndex:0,yAxisIndex:0,itemStyle:{normal:{color:"#fff",color0:"#00aa11",lineStyle:{width:1,color:"#ff3200",color0:"#00aa11"},label:{show:!1}},emphasis:{label:{show:!1}}}};var o=e("../util/ecData"),r=e("zrender/tool/util");return t.prototype={type:a.CHART_TYPE_K,_buildShape:function(){var e=this.series;this.selectedMap={};for(var t,i={top:[],bottom:[]},n=0,o=e.length;o>n;n++)e[n].type===a.CHART_TYPE_K&&(e[n]=this.reformOption(e[n]),this.legendHoverLink=e[n].legendHoverLink||this.legendHoverLink,t=this.component.xAxis.getAxis(e[n].xAxisIndex),t.type===a.COMPONENT_TYPE_AXIS_CATEGORY&&i[t.getPosition()].push(n));for(var r in i)i[r].length>0&&this._buildSinglePosition(r,i[r]);this.addShapeList()},_buildSinglePosition:function(e,t){var i=this._mapData(t),n=i.locationMap,a=i.maxDataLength;if(0!==a&&0!==n.length){this._buildHorizontal(t,a,n);for(var o=0,r=t.length;r>o;o++)this.buildMark(t[o])}},_mapData:function(e){for(var t,i,n=this.series,a=this.component.legend,o=[],r=0,s=0,l=e.length;l>s;s++)t=n[e[s]],i=t.name,this.selectedMap[i]=a?a.isSelected(i):!0,this.selectedMap[i]&&o.push(e[s]),r=Math.max(r,t.data.length);return{locationMap:o,maxDataLength:r}},_buildHorizontal:function(e,t,i){for(var n,a,o,r,s,l,h,m,V,U,d=this.series,p={},c=0,u=i.length;u>c;c++){n=i[c],a=d[n],o=a.xAxisIndex||0,r=this.component.xAxis.getAxis(o),h=a.barWidth||Math.floor(r.getGap()/2),U=a.barMaxWidth,U&&h>U&&(h=U),s=a.yAxisIndex||0,l=this.component.yAxis.getAxis(s),p[n]=[];for(var y=0,g=t;g>y&&null!=r.getNameByIndex(y);y++)m=a.data[y],V=this.getDataFromOption(m,"-"),"-"!==V&&4==V.length&&p[n].push([r.getCoordByIndex(y),h,l.getCoord(V[0]),l.getCoord(V[1]),l.getCoord(V[2]),l.getCoord(V[3]),y,r.getNameByIndex(y)])}this._buildKLine(e,p)},_buildKLine:function(e,t){for(var i,n,o,r,s,l,h,m,V,U,d,p,c,u,y,g,b,f=this.series,k=0,x=e.length;x>k;k++)if(b=e[k],d=f[b],u=t[b],this._isLarge(u)&&(u=this._getLargePointList(u)),d.type===a.CHART_TYPE_K&&null!=u){p=d,i=this.query(p,"itemStyle.normal.lineStyle.width"),n=this.query(p,"itemStyle.normal.lineStyle.color"),o=this.query(p,"itemStyle.normal.lineStyle.color0"),r=this.query(p,"itemStyle.normal.color"),s=this.query(p,"itemStyle.normal.color0"),l=this.query(p,"itemStyle.emphasis.lineStyle.width"),h=this.query(p,"itemStyle.emphasis.lineStyle.color"),m=this.query(p,"itemStyle.emphasis.lineStyle.color0"),V=this.query(p,"itemStyle.emphasis.color"),U=this.query(p,"itemStyle.emphasis.color0");for(var _=0,L=u.length;L>_;_++)y=u[_],c=d.data[y[6]],p=c,g=y[3]<y[2],this.shapeList.push(this._getCandle(b,y[6],y[7],y[0],y[1],y[2],y[3],y[4],y[5],g?this.query(p,"itemStyle.normal.color")||r:this.query(p,"itemStyle.normal.color0")||s,this.query(p,"itemStyle.normal.lineStyle.width")||i,g?this.query(p,"itemStyle.normal.lineStyle.color")||n:this.query(p,"itemStyle.normal.lineStyle.color0")||o,g?this.query(p,"itemStyle.emphasis.color")||V||r:this.query(p,"itemStyle.emphasis.color0")||U||s,this.query(p,"itemStyle.emphasis.lineStyle.width")||l||i,g?this.query(p,"itemStyle.emphasis.lineStyle.color")||h||n:this.query(p,"itemStyle.emphasis.lineStyle.color0")||m||o))}},_isLarge:function(e){return e[0][1]<.5},_getLargePointList:function(e){for(var t=this.component.grid.getWidth(),i=e.length,n=[],a=0;t>a;a++)n[a]=e[Math.floor(i/t*a)];return n},_getCandle:function(e,t,i,a,r,s,l,h,m,V,U,d,p,c,u){var y=this.series,g=y[e],b=g.data[t],f=[b,g],k={zlevel:g.zlevel,z:g.z,clickable:this.deepQuery(f,"clickable"),hoverable:this.deepQuery(f,"hoverable"),style:{x:a,y:[s,l,h,m],width:r,color:V,strokeColor:d,lineWidth:U,brushType:"both"},highlightStyle:{color:p,strokeColor:u,lineWidth:c},_seriesIndex:e};return k=this.addLabel(k,g,b,i),o.pack(k,g,e,b,t,i),k=new n(k)},getMarkCoord:function(e,t){var i=this.series[e],n=this.component.xAxis.getAxis(i.xAxisIndex),a=this.component.yAxis.getAxis(i.yAxisIndex);return["string"!=typeof t.xAxis&&n.getCoordByIndex?n.getCoordByIndex(t.xAxis||0):n.getCoord(t.xAxis||0),"string"!=typeof t.yAxis&&a.getCoordByIndex?a.getCoordByIndex(t.yAxis||0):a.getCoord(t.yAxis||0)]},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()},addDataAnimation:function(e,t){function i(){p--,0===p&&t&&t()}for(var n=this.series,a={},r=0,s=e.length;s>r;r++)a[e[r][0]]=e[r];for(var l,h,m,V,U,d,p=0,r=0,s=this.shapeList.length;s>r;r++)if(U=this.shapeList[r]._seriesIndex,a[U]&&!a[U][3]&&"candle"===this.shapeList[r].type){if(d=o.get(this.shapeList[r],"dataIndex"),V=n[U],a[U][2]&&d===V.data.length-1){this.zr.delShape(this.shapeList[r].id);continue}if(!a[U][2]&&0===d){this.zr.delShape(this.shapeList[r].id);continue}h=this.component.xAxis.getAxis(V.xAxisIndex||0).getGap(),l=a[U][2]?h:-h,m=0,p++,this.zr.animate(this.shapeList[r].id,"").when(this.query(this.option,"animationDurationUpdate"),{position:[l,m]}).done(i).start()}p||t&&t()}},r.inherits(t,i),e("../chart").define("k",t),t}),i("echarts/chart/pie",["require","./base","zrender/shape/Text","zrender/shape/Ring","zrender/shape/Circle","zrender/shape/Sector","zrender/shape/Polyline","../config","../util/ecData","zrender/tool/util","zrender/tool/math","zrender/tool/color","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o);var r=this;r.shapeHandler.onmouseover=function(e){var t=e.target,i=h.get(t,"seriesIndex"),n=h.get(t,"dataIndex"),a=h.get(t,"special"),o=[t.style.x,t.style.y],s=t.style.startAngle,l=t.style.endAngle,m=((l+s)/2+360)%360,V=t.highlightStyle.color,U=r.getLabel(i,n,a,o,m,V,!0);U&&r.zr.addHoverShape(U);var d=r.getLabelLine(i,n,o,t.style.r0,t.style.r,m,V,!0);d&&r.zr.addHoverShape(d)},this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Ring"),o=e("zrender/shape/Circle"),r=e("zrender/shape/Sector"),s=e("zrender/shape/Polyline"),l=e("../config");l.pie={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,center:["50%","50%"],radius:[0,"75%"],clockWise:!0,startAngle:90,minAngle:0,selectedOffset:10,itemStyle:{normal:{borderColor:"rgba(0,0,0,0)",borderWidth:1,label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}}},emphasis:{borderColor:"rgba(0,0,0,0)",borderWidth:1,label:{show:!1},labelLine:{show:!1,length:20,lineStyle:{width:1,type:"solid"}}}}};var h=e("../util/ecData"),m=e("zrender/tool/util"),V=e("zrender/tool/math"),U=e("zrender/tool/color");return t.prototype={type:l.CHART_TYPE_PIE,_buildShape:function(){var e=this.series,t=this.component.legend;this.selectedMap={},this._selected={};var i,n,r;this._selectedMode=!1;for(var s,m=0,V=e.length;V>m;m++)if(e[m].type===l.CHART_TYPE_PIE){if(e[m]=this.reformOption(e[m]),this.legendHoverLink=e[m].legendHoverLink||this.legendHoverLink,s=e[m].name||"",this.selectedMap[s]=t?t.isSelected(s):!0,!this.selectedMap[s])continue;i=this.parseCenter(this.zr,e[m].center),n=this.parseRadius(this.zr,e[m].radius),this._selectedMode=this._selectedMode||e[m].selectedMode,this._selected[m]=[],this.deepQuery([e[m],this.option],"calculable")&&(r={zlevel:e[m].zlevel,z:e[m].z,hoverable:!1,style:{x:i[0],y:i[1],r0:n[0]<=10?0:n[0]-10,r:n[1]+10,brushType:"stroke",lineWidth:1,strokeColor:e[m].calculableHolderColor||this.ecTheme.calculableHolderColor||l.calculableHolderColor}},h.pack(r,e[m],m,void 0,-1),this.setCalculable(r),r=n[0]<=10?new o(r):new a(r),this.shapeList.push(r)),this._buildSinglePie(m),this.buildMark(m)}this.addShapeList()},_buildSinglePie:function(e){for(var t,i=this.series,n=i[e],a=n.data,o=this.component.legend,r=0,s=0,l=0,h=Number.NEGATIVE_INFINITY,m=[],V=0,U=a.length;U>V;V++)t=a[V].name,
-this.selectedMap[t]=o?o.isSelected(t):!0,this.selectedMap[t]&&!isNaN(a[V].value)&&(0!==+a[V].value?r++:s++,l+=+a[V].value,h=Math.max(h,+a[V].value));if(0!==l){for(var d,p,c,u,y,g,b=100,f=n.clockWise,k=(n.startAngle.toFixed(2)-0+360)%360,x=n.minAngle||.01,_=360-x*r-.01*s,L=n.roseType,V=0,U=a.length;U>V;V++)if(t=a[V].name,this.selectedMap[t]&&!isNaN(a[V].value)){if(p=o?o.getColor(t):this.zr.getColor(V),b=a[V].value/l,d="area"!=L?f?k-b*_-(0!==b?x:.01):b*_+k+(0!==b?x:.01):f?k-360/U:360/U+k,d=d.toFixed(2)-0,b=(100*b).toFixed(2),c=this.parseCenter(this.zr,n.center),u=this.parseRadius(this.zr,n.radius),y=+u[0],g=+u[1],"radius"===L?g=a[V].value/h*(g-y)*.8+.2*(g-y)+y:"area"===L&&(g=Math.sqrt(a[V].value/h)*(g-y)+y),f){var W;W=k,k=d,d=W}this._buildItem(m,e,V,b,a[V].selected,c,y,g,k,d,p),f||(k=d)}this._autoLabelLayout(m,c,g);for(var V=0,U=m.length;U>V;V++)this.shapeList.push(m[V]);m=null}},_buildItem:function(e,t,i,n,a,o,r,s,l,m,V){var U=this.series,d=((m+l)/2+360)%360,p=this.getSector(t,i,n,a,o,r,s,l,m,V);h.pack(p,U[t],t,U[t].data[i],i,U[t].data[i].name,n),e.push(p);var c=this.getLabel(t,i,n,o,d,V,!1),u=this.getLabelLine(t,i,o,r,s,d,V,!1);u&&(h.pack(u,U[t],t,U[t].data[i],i,U[t].data[i].name,n),e.push(u)),c&&(h.pack(c,U[t],t,U[t].data[i],i,U[t].data[i].name,n),c._labelLine=u,e.push(c))},getSector:function(e,t,i,n,a,o,s,l,h,m){var d=this.series,p=d[e],c=p.data[t],u=[c,p],y=this.deepMerge(u,"itemStyle.normal")||{},g=this.deepMerge(u,"itemStyle.emphasis")||{},b=this.getItemStyleColor(y.color,e,t,c)||m,f=this.getItemStyleColor(g.color,e,t,c)||("string"==typeof b?U.lift(b,-.2):b),k={zlevel:p.zlevel,z:p.z,clickable:this.deepQuery(u,"clickable"),style:{x:a[0],y:a[1],r0:o,r:s,startAngle:l,endAngle:h,brushType:"both",color:b,lineWidth:y.borderWidth,strokeColor:y.borderColor,lineJoin:"round"},highlightStyle:{color:f,lineWidth:g.borderWidth,strokeColor:g.borderColor,lineJoin:"round"},_seriesIndex:e,_dataIndex:t};if(n){var x=((k.style.startAngle+k.style.endAngle)/2).toFixed(2)-0;k.style._hasSelected=!0,k.style._x=k.style.x,k.style._y=k.style.y;var _=this.query(p,"selectedOffset");k.style.x+=V.cos(x,!0)*_,k.style.y-=V.sin(x,!0)*_,this._selected[e][t]=!0}else this._selected[e][t]=!1;return this._selectedMode&&(k.onclick=this.shapeHandler.onclick),this.deepQuery([c,p,this.option],"calculable")&&(this.setCalculable(k),k.draggable=!0),(this._needLabel(p,c,!0)||this._needLabelLine(p,c,!0))&&(k.onmouseover=this.shapeHandler.onmouseover),k=new r(k)},getLabel:function(e,t,i,a,o,r,s){var l=this.series,h=l[e],U=h.data[t];if(this._needLabel(h,U,s)){var d,p,c,u=s?"emphasis":"normal",y=m.merge(m.clone(U.itemStyle)||{},h.itemStyle),g=y[u].label,b=g.textStyle||{},f=a[0],k=a[1],x=this.parseRadius(this.zr,h.radius),_="middle";g.position=g.position||y.normal.label.position,"center"===g.position?(d=f,p=k,c="center"):"inner"===g.position||"inside"===g.position?(x=(x[0]+x[1])*(g.distance||.5),d=Math.round(f+x*V.cos(o,!0)),p=Math.round(k-x*V.sin(o,!0)),r="#fff",c="center"):(x=x[1]- -y[u].labelLine.length,d=Math.round(f+x*V.cos(o,!0)),p=Math.round(k-x*V.sin(o,!0)),c=o>=90&&270>=o?"right":"left"),"center"!=g.position&&"inner"!=g.position&&"inside"!=g.position&&(d+="left"===c?20:-20),U.__labelX=d-("left"===c?5:-5),U.__labelY=p;var L=new n({zlevel:h.zlevel,z:h.z+1,hoverable:!1,style:{x:d,y:p,color:b.color||r,text:this.getLabelText(e,t,i,u),textAlign:b.align||c,textBaseline:b.baseline||_,textFont:this.getFont(b)},highlightStyle:{brushType:"fill"}});return L._radius=x,L._labelPosition=g.position||"outer",L._rect=L.getRect(L.style),L._seriesIndex=e,L._dataIndex=t,L}},getLabelText:function(e,t,i,n){var a=this.series,o=a[e],r=o.data[t],s=this.deepQuery([r,o],"itemStyle."+n+".label.formatter");return s?"function"==typeof s?s.call(this.myChart,{seriesIndex:e,seriesName:o.name||"",series:o,dataIndex:t,data:r,name:r.name,value:r.value,percent:i}):"string"==typeof s?(s=s.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}").replace("{d}","{d0}"),s=s.replace("{a0}",o.name).replace("{b0}",r.name).replace("{c0}",r.value).replace("{d0}",i)):void 0:r.name},getLabelLine:function(e,t,i,n,a,o,r,l){var h=this.series,U=h[e],d=U.data[t];if(this._needLabelLine(U,d,l)){var p=l?"emphasis":"normal",c=m.merge(m.clone(d.itemStyle)||{},U.itemStyle),u=c[p].labelLine,y=u.lineStyle||{},g=i[0],b=i[1],f=a,k=this.parseRadius(this.zr,U.radius)[1]- -u.length,x=V.cos(o,!0),_=V.sin(o,!0);return new s({zlevel:U.zlevel,z:U.z+1,hoverable:!1,style:{pointList:[[g+f*x,b-f*_],[g+k*x,b-k*_],[d.__labelX,d.__labelY]],strokeColor:y.color||r,lineType:y.type,lineWidth:y.width},_seriesIndex:e,_dataIndex:t})}},_needLabel:function(e,t,i){return this.deepQuery([t,e],"itemStyle."+(i?"emphasis":"normal")+".label.show")},_needLabelLine:function(e,t,i){return this.deepQuery([t,e],"itemStyle."+(i?"emphasis":"normal")+".labelLine.show")},_autoLabelLayout:function(e,t,i){for(var n=[],a=[],o=0,r=e.length;r>o;o++)("outer"===e[o]._labelPosition||"outside"===e[o]._labelPosition)&&(e[o]._rect._y=e[o]._rect.y,e[o]._rect.x<t[0]?n.push(e[o]):a.push(e[o]));this._layoutCalculate(n,t,i,-1),this._layoutCalculate(a,t,i,1)},_layoutCalculate:function(e,t,i,n){function a(t,i,n){for(var a=t;i>a;a++)if(e[a]._rect.y+=n,e[a].style.y+=n,e[a]._labelLine&&(e[a]._labelLine.style.pointList[1][1]+=n,e[a]._labelLine.style.pointList[2][1]+=n),a>t&&i>a+1&&e[a+1]._rect.y>e[a]._rect.y+e[a]._rect.height)return void o(a,n/2);o(i-1,n/2)}function o(t,i){for(var n=t;n>=0&&(e[n]._rect.y-=i,e[n].style.y-=i,e[n]._labelLine&&(e[n]._labelLine.style.pointList[1][1]-=i,e[n]._labelLine.style.pointList[2][1]-=i),!(n>0&&e[n]._rect.y>e[n-1]._rect.y+e[n-1]._rect.height));n--);}function r(e,t,i,n,a){for(var o,r,s,l=i[0],h=i[1],m=a>0?t?Number.MAX_VALUE:0:t?Number.MAX_VALUE:0,V=0,U=e.length;U>V;V++)r=Math.abs(e[V]._rect.y-h),s=e[V]._radius-n,o=n+s>r?Math.sqrt((n+s+20)*(n+s+20)-Math.pow(e[V]._rect.y-h,2)):Math.abs(e[V]._rect.x+(a>0?0:e[V]._rect.width)-l),t&&o>=m&&(o=m-10),!t&&m>=o&&(o=m+10),e[V]._rect.x=e[V].style.x=l+o*a,e[V]._labelLine&&(e[V]._labelLine.style.pointList[2][0]=l+(o-5)*a,e[V]._labelLine.style.pointList[1][0]=l+(o-20)*a),m=o}e.sort(function(e,t){return e._rect.y-t._rect.y});for(var s,l=0,h=e.length,m=[],V=[],U=0;h>U;U++)s=e[U]._rect.y-l,0>s&&a(U,h,-s,n),l=e[U]._rect.y+e[U]._rect.height;this.zr.getHeight()-l<0&&o(h-1,l-this.zr.getHeight());for(var U=0;h>U;U++)e[U]._rect.y>=t[1]?V.push(e[U]):m.push(e[U]);r(V,!0,t,i,n),r(m,!1,t,i,n)},reformOption:function(e){var t=m.merge;return e=t(t(e||{},m.clone(this.ecTheme.pie||{})),m.clone(l.pie)),e.itemStyle.normal.label.textStyle=this.getTextStyle(e.itemStyle.normal.label.textStyle),e.itemStyle.emphasis.label.textStyle=this.getTextStyle(e.itemStyle.emphasis.label.textStyle),this.z=e.z,this.zlevel=e.zlevel,e},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()},addDataAnimation:function(e,t){function i(){s--,0===s&&t&&t()}for(var n=this.series,a={},o=0,r=e.length;r>o;o++)a[e[o][0]]=e[o];var s=0,h={},m={},V={},U=this.shapeList;this.shapeList=[];for(var d,p,c,u={},o=0,r=e.length;r>o;o++)d=e[o][0],p=e[o][2],c=e[o][3],n[d]&&n[d].type===l.CHART_TYPE_PIE&&(p?(c||(h[d+"_"+n[d].data.length]="delete"),u[d]=1):c?u[d]=0:(h[d+"_-1"]="delete",u[d]=-1),this._buildSinglePie(d));for(var y,g,o=0,r=this.shapeList.length;r>o;o++)switch(d=this.shapeList[o]._seriesIndex,y=this.shapeList[o]._dataIndex,g=d+"_"+y,this.shapeList[o].type){case"sector":h[g]=this.shapeList[o];break;case"text":m[g]=this.shapeList[o];break;case"polyline":V[g]=this.shapeList[o]}this.shapeList=[];for(var b,o=0,r=U.length;r>o;o++)if(d=U[o]._seriesIndex,a[d]){if(y=U[o]._dataIndex+u[d],g=d+"_"+y,b=h[g],!b)continue;if("sector"===U[o].type)"delete"!=b?(s++,this.zr.animate(U[o].id,"style").when(400,{startAngle:b.style.startAngle,endAngle:b.style.endAngle}).done(i).start()):(s++,this.zr.animate(U[o].id,"style").when(400,u[d]<0?{startAngle:U[o].style.startAngle}:{endAngle:U[o].style.endAngle}).done(i).start());else if("text"===U[o].type||"polyline"===U[o].type)if("delete"===b)this.zr.delShape(U[o].id);else switch(U[o].type){case"text":s++,b=m[g],this.zr.animate(U[o].id,"style").when(400,{x:b.style.x,y:b.style.y}).done(i).start();break;case"polyline":s++,b=V[g],this.zr.animate(U[o].id,"style").when(400,{pointList:b.style.pointList}).done(i).start()}}this.shapeList=U,s||t&&t()},onclick:function(e){var t=this.series;if(this.isClick&&e.target){this.isClick=!1;for(var i,n=e.target,a=n.style,o=h.get(n,"seriesIndex"),r=h.get(n,"dataIndex"),s=0,m=this.shapeList.length;m>s;s++)if(this.shapeList[s].id===n.id){if(o=h.get(n,"seriesIndex"),r=h.get(n,"dataIndex"),a._hasSelected)n.style.x=n.style._x,n.style.y=n.style._y,n.style._hasSelected=!1,this._selected[o][r]=!1;else{var U=((a.startAngle+a.endAngle)/2).toFixed(2)-0;n.style._hasSelected=!0,this._selected[o][r]=!0,n.style._x=n.style.x,n.style._y=n.style.y,i=this.query(t[o],"selectedOffset"),n.style.x+=V.cos(U,!0)*i,n.style.y-=V.sin(U,!0)*i}this.zr.modShape(n.id)}else this.shapeList[s].style._hasSelected&&"single"===this._selectedMode&&(o=h.get(this.shapeList[s],"seriesIndex"),r=h.get(this.shapeList[s],"dataIndex"),this.shapeList[s].style.x=this.shapeList[s].style._x,this.shapeList[s].style.y=this.shapeList[s].style._y,this.shapeList[s].style._hasSelected=!1,this._selected[o][r]=!1,this.zr.modShape(this.shapeList[s].id));this.messageCenter.dispatch(l.EVENT.PIE_SELECTED,e.event,{selected:this._selected,target:h.get(n,"name")},this.myChart),this.zr.refreshNextFrame()}}},m.inherits(t,i),e("../chart").define("pie",t),t}),i("echarts/chart/radar",["require","./base","zrender/shape/Polygon","../component/polar","../config","../util/ecData","zrender/tool/util","zrender/tool/color","../util/accMath","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Polygon");e("../component/polar");var a=e("../config");a.radar={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,polarIndex:0,itemStyle:{normal:{label:{show:!1},lineStyle:{width:2,type:"solid"}},emphasis:{label:{show:!1}}},symbolSize:2};var o=e("../util/ecData"),r=e("zrender/tool/util"),s=e("zrender/tool/color");return t.prototype={type:a.CHART_TYPE_RADAR,_buildShape:function(){this.selectedMap={},this._symbol=this.option.symbolList,this._queryTarget,this._dropBoxList=[],this._radarDataCounter=0;for(var e,t=this.series,i=this.component.legend,n=0,o=t.length;o>n;n++)t[n].type===a.CHART_TYPE_RADAR&&(this.serie=this.reformOption(t[n]),this.legendHoverLink=t[n].legendHoverLink||this.legendHoverLink,e=this.serie.name||"",this.selectedMap[e]=i?i.isSelected(e):!0,this.selectedMap[e]&&(this._queryTarget=[this.serie,this.option],this.deepQuery(this._queryTarget,"calculable")&&this._addDropBox(n),this._buildSingleRadar(n),this.buildMark(n)));this.addShapeList()},_buildSingleRadar:function(e){for(var t,i,n,a,o=this.component.legend,r=this.serie.data,s=this.deepQuery(this._queryTarget,"calculable"),l=0;l<r.length;l++)n=r[l].name||"",this.selectedMap[n]=o?o.isSelected(n):!0,this.selectedMap[n]&&(o?(i=o.getColor(n),t=o.getItemShape(n),t&&(t.style.brushType=this.deepQuery([r[l],this.serie],"itemStyle.normal.areaStyle")?"both":"stroke",o.setItemShape(n,t))):i=this.zr.getColor(l),a=this._getPointList(this.serie.polarIndex,r[l]),this._addSymbol(a,i,l,e,this.serie.polarIndex),this._addDataShape(a,i,r[l],e,l,s),this._radarDataCounter++)},_getPointList:function(e,t){for(var i,n,a=[],o=this.component.polar,r=0,s=t.value.length;s>r;r++)n=this.getDataFromOption(t.value[r]),i="-"!=n?o.getVector(e,r,n):!1,i&&a.push(i);return a},_addSymbol:function(e,t,i,n,a){for(var r,s=this.series,l=this.component.polar,h=0,m=e.length;m>h;h++)r=this.getSymbolShape(this.deepMerge([s[n].data[i],s[n]]),n,s[n].data[i].value[h],h,l.getIndicatorText(a,h),e[h][0],e[h][1],this._symbol[this._radarDataCounter%this._symbol.length],t,"#fff","vertical"),r.zlevel=this.getZlevelBase(),r.z=this.getZBase()+1,o.set(r,"data",s[n].data[i]),o.set(r,"value",s[n].data[i].value),o.set(r,"dataIndex",i),o.set(r,"special",h),this.shapeList.push(r)},_addDataShape:function(e,t,i,a,r,l){var h=this.series,m=[i,this.serie],V=this.getItemStyleColor(this.deepQuery(m,"itemStyle.normal.color"),a,r,i),U=this.deepQuery(m,"itemStyle.normal.lineStyle.width"),d=this.deepQuery(m,"itemStyle.normal.lineStyle.type"),p=this.deepQuery(m,"itemStyle.normal.areaStyle.color"),c=this.deepQuery(m,"itemStyle.normal.areaStyle"),u={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{pointList:e,brushType:c?"both":"stroke",color:p||V||("string"==typeof t?s.alpha(t,.5):t),strokeColor:V||t,lineWidth:U,lineType:d},highlightStyle:{brushType:this.deepQuery(m,"itemStyle.emphasis.areaStyle")||c?"both":"stroke",color:this.deepQuery(m,"itemStyle.emphasis.areaStyle.color")||p||V||("string"==typeof t?s.alpha(t,.5):t),strokeColor:this.getItemStyleColor(this.deepQuery(m,"itemStyle.emphasis.color"),a,r,i)||V||t,lineWidth:this.deepQuery(m,"itemStyle.emphasis.lineStyle.width")||U,lineType:this.deepQuery(m,"itemStyle.emphasis.lineStyle.type")||d}};o.pack(u,h[a],a,i,r,i.name,this.component.polar.getIndicator(h[a].polarIndex)),l&&(u.draggable=!0,this.setCalculable(u)),u=new n(u),this.shapeList.push(u)},_addDropBox:function(e){var t=this.series,i=this.deepQuery(this._queryTarget,"polarIndex");if(!this._dropBoxList[i]){var n=this.component.polar.getDropBox(i);n.zlevel=this.getZlevelBase(),n.z=this.getZBase(),this.setCalculable(n),o.pack(n,t,e,void 0,-1),this.shapeList.push(n),this._dropBoxList[i]=!0}},ondragend:function(e,t){var i=this.series;if(this.isDragend&&e.target){var n=e.target,a=o.get(n,"seriesIndex"),r=o.get(n,"dataIndex");this.component.legend&&this.component.legend.del(i[a].data[r].name),i[a].data.splice(r,1),t.dragOut=!0,t.needRefresh=!0,this.isDragend=!1}},ondrop:function(t,i){var n=this.series;if(this.isDrop&&t.target){var a,r,s=t.target,l=t.dragged,h=o.get(s,"seriesIndex"),m=o.get(s,"dataIndex"),V=this.component.legend;if(-1===m)a={value:o.get(l,"value"),name:o.get(l,"name")},n[h].data.push(a),V&&V.add(a.name,l.style.color||l.style.strokeColor);else{var U=e("../util/accMath");a=n[h].data[m],V&&V.del(a.name),a.name+=this.option.nameConnector+o.get(l,"name"),r=o.get(l,"value");for(var d=0;d<r.length;d++)a.value[d]=U.accAdd(a.value[d],r[d]);V&&V.add(a.name,l.style.color||l.style.strokeColor)}i.dragIn=i.dragIn||!0,this.isDrop=!1}},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()}},r.inherits(t,i),e("../chart").define("radar",t),t}),i("echarts/component/polar",["require","./base","zrender/shape/Text","zrender/shape/Line","zrender/shape/Polygon","zrender/shape/Circle","zrender/shape/Ring","../config","zrender/tool/util","../util/coordinates","../util/accMath","../util/smartSteps","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Line"),o=e("zrender/shape/Polygon"),r=e("zrender/shape/Circle"),s=e("zrender/shape/Ring"),l=e("../config");l.polar={zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,boundaryGap:[0,0],splitNumber:5,name:{show:!0,textStyle:{color:"#333"}},axisLine:{show:!0,lineStyle:{color:"#ccc",width:1,type:"solid"}},axisLabel:{show:!1,textStyle:{color:"#333"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}},splitLine:{show:!0,lineStyle:{width:1,color:"#ccc"}},type:"polygon"};var h=e("zrender/tool/util"),m=e("../util/coordinates");return t.prototype={type:l.COMPONENT_TYPE_POLAR,_buildShape:function(){for(var e=0;e<this.polar.length;e++)this._index=e,this.reformOption(this.polar[e]),this._queryTarget=[this.polar[e],this.option],this._createVector(e),this._buildSpiderWeb(e),this._buildText(e),this._adjustIndicatorValue(e),this._addAxisLabel(e);for(var e=0;e<this.shapeList.length;e++)this.zr.addShape(this.shapeList[e])},_createVector:function(e){for(var t,i=this.polar[e],n=this.deepQuery(this._queryTarget,"indicator"),a=n.length,o=i.startAngle,r=2*Math.PI/a,s=this._getRadius(),l=i.__ecIndicator=[],h=0;a>h;h++)t=m.polar2cartesian(s,o*Math.PI/180+r*h),l.push({vector:[t[1],-t[0]]})},_getRadius:function(){var e=this.polar[this._index];return this.parsePercent(e.radius,Math.min(this.zr.getWidth(),this.zr.getHeight())/2)},_buildSpiderWeb:function(e){var t=this.polar[e],i=t.__ecIndicator,n=t.splitArea,a=t.splitLine,o=this.getCenter(e),r=t.splitNumber,s=a.lineStyle.color,l=a.lineStyle.width,h=a.show,m=this.deepQuery(this._queryTarget,"axisLine");this._addArea(i,r,o,n,s,l,h),m.show&&this._addLine(i,o,m)},_addAxisLabel:function(t){for(var i,a,o,r,a,s,l,m,V,U,d=e("../util/accMath"),p=this.polar[t],c=this.deepQuery(this._queryTarget,"indicator"),u=p.__ecIndicator,y=this.deepQuery(this._queryTarget,"splitNumber"),g=this.getCenter(t),b=0;b<c.length;b++)if(i=this.deepQuery([c[b],p,this.option],"axisLabel"),i.show){var f=this.deepQuery([i,p,this.option],"textStyle"),k=this.deepQuery([i,p],"formatter");if(o={},o.textFont=this.getFont(f),o.color=f.color,o=h.merge(o,i),o.lineWidth=o.width,a=u[b].vector,s=u[b].value,m=b/c.length*2*Math.PI,V=i.offset||10,U=i.interval||0,!s)return;for(var x=1;y>=x;x+=U+1)r=h.merge({},o),l=d.accAdd(s.min,d.accMul(s.step,x)),l="function"==typeof k?k(l):"string"==typeof k?k.replace("{a}","{a0}").replace("{a0}",l):this.numAddCommas(l),r.text=l,r.x=x*a[0]/y+Math.cos(m)*V+g[0],r.y=x*a[1]/y+Math.sin(m)*V+g[1],this.shapeList.push(new n({zlevel:this.getZlevelBase(),z:this.getZBase(),style:r,draggable:!1,hoverable:!1}))}},_buildText:function(e){for(var t,i,a,o,r,s,l,h=this.polar[e],m=h.__ecIndicator,V=this.deepQuery(this._queryTarget,"indicator"),U=this.getCenter(e),d=0,p=0,c=0;c<V.length;c++)o=this.deepQuery([V[c],h,this.option],"name"),o.show&&(l=this.deepQuery([o,h,this.option],"textStyle"),i={},i.textFont=this.getFont(l),i.color=l.color,i.text="function"==typeof o.formatter?o.formatter.call(this.myChart,V[c].text,c):"string"==typeof o.formatter?o.formatter.replace("{value}",V[c].text):V[c].text,m[c].text=i.text,t=m[c].vector,a=Math.round(t[0])>0?"left":Math.round(t[0])<0?"right":"center",null==o.margin?t=this._mapVector(t,U,1.1):(s=o.margin,d=t[0]>0?s:-s,p=t[1]>0?s:-s,d=0===t[0]?0:d,p=0===t[1]?0:p,t=this._mapVector(t,U,1)),i.textAlign=a,i.x=t[0]+d,i.y=t[1]+p,r=o.rotate?[o.rotate/180*Math.PI,t[0],t[1]]:[0,0,0],this.shapeList.push(new n({zlevel:this.getZlevelBase(),z:this.getZBase(),style:i,draggable:!1,hoverable:!1,rotation:r})))},getIndicatorText:function(e,t){return this.polar[e]&&this.polar[e].__ecIndicator[t]&&this.polar[e].__ecIndicator[t].text},getDropBox:function(e){var t,i,e=e||0,n=this.polar[e],a=this.getCenter(e),o=n.__ecIndicator,r=o.length,s=[],l=n.type;if("polygon"==l){for(var h=0;r>h;h++)t=o[h].vector,s.push(this._mapVector(t,a,1.2));i=this._getShape(s,"fill","rgba(0,0,0,0)","",1)}else"circle"==l&&(i=this._getCircle("",1,1.2,a,"fill","rgba(0,0,0,0)"));return i},_addArea:function(e,t,i,n,a,o,r){for(var s,l,h,m,V=this.deepQuery(this._queryTarget,"type"),U=0;t>U;U++)l=(t-U)/t,r&&("polygon"==V?(m=this._getPointList(e,l,i),s=this._getShape(m,"stroke","",a,o)):"circle"==V&&(s=this._getCircle(a,o,l,i,"stroke")),this.shapeList.push(s)),n.show&&(h=(t-U-1)/t,this._addSplitArea(e,n,l,h,i,U))},_getCircle:function(e,t,i,n,a,o){var s=this._getRadius();return new r({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:n[0],y:n[1],r:s*i,brushType:a,strokeColor:e,lineWidth:t,color:o},hoverable:!1,draggable:!1})},_getRing:function(e,t,i,n){var a=this._getRadius();return new s({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:n[0],y:n[1],r:t*a,r0:i*a,color:e,brushType:"fill"},hoverable:!1,draggable:!1})},_getPointList:function(e,t,i){for(var n,a=[],o=e.length,r=0;o>r;r++)n=e[r].vector,a.push(this._mapVector(n,i,t));return a},_getShape:function(e,t,i,n,a){return new o({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{pointList:e,brushType:t,color:i,strokeColor:n,lineWidth:a},hoverable:!1,draggable:!1})},_addSplitArea:function(e,t,i,n,a,o){var r,s,l,h,m,V=e.length,U=t.areaStyle.color,d=[],V=e.length,p=this.deepQuery(this._queryTarget,"type");if("string"==typeof U&&(U=[U]),s=U.length,r=U[o%s],"polygon"==p)for(var c=0;V>c;c++)d=[],l=e[c].vector,h=e[(c+1)%V].vector,d.push(this._mapVector(l,a,i)),d.push(this._mapVector(l,a,n)),d.push(this._mapVector(h,a,n)),d.push(this._mapVector(h,a,i)),m=this._getShape(d,"fill",r,"",1),this.shapeList.push(m);else"circle"==p&&(m=this._getRing(r,i,n,a),this.shapeList.push(m))},_mapVector:function(e,t,i){return[e[0]*i+t[0],e[1]*i+t[1]]},getCenter:function(e){var e=e||0;return this.parseCenter(this.zr,this.polar[e].center)},_addLine:function(e,t,i){for(var n,a,o=e.length,r=i.lineStyle,s=r.color,l=r.width,h=r.type,m=0;o>m;m++)a=e[m].vector,n=this._getLine(t[0],t[1],a[0]+t[0],a[1]+t[1],s,l,h),this.shapeList.push(n)},_getLine:function(e,t,i,n,o,r,s){return new a({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{xStart:e,yStart:t,xEnd:i,yEnd:n,strokeColor:o,lineWidth:r,lineType:s},hoverable:!1})},_adjustIndicatorValue:function(t){for(var i,n,a,o=this.polar[t],r=this.deepQuery(this._queryTarget,"indicator"),s=r.length,l=o.__ecIndicator,h=this._getSeriesData(t),m=o.boundaryGap,V=o.splitNumber,U=o.scale,d=e("../util/smartSteps"),p=0;s>p;p++){if("number"==typeof r[p].max)i=r[p].max,n=r[p].min||0,a={max:i,min:n};else{var c=this._findValue(h,p,V,m);n=c.min,i=c.max}!U&&n>=0&&i>=0&&(n=0),!U&&0>=n&&0>=i&&(i=0);var u=d(n,i,V,a);l[p].value={min:u.min,max:u.max,step:u.step}}},_getSeriesData:function(e){for(var t,i,n,a=[],o=this.component.legend,r=0;r<this.series.length;r++)if(t=this.series[r],t.type==l.CHART_TYPE_RADAR){i=t.data||[];for(var s=0;s<i.length;s++)n=this.deepQuery([i[s],t,this.option],"polarIndex")||0,n!=e||o&&!o.isSelected(i[s].name)||a.push(i[s])}return a},_findValue:function(e,t,i,n){function a(e){(e>o||void 0===o)&&(o=e),(r>e||void 0===r)&&(r=e)}var o,r,s;if(e&&0!==e.length){if(1==e.length&&(r=0),1!=e.length)for(var l=0;l<e.length;l++)a(this.getDataFromOption(e[l].value[t]));else{s=e[0];for(var l=0;l<s.value.length;l++)a(this.getDataFromOption(s.value[l]))}var h=Math.abs(o-r);return r-=Math.abs(h*n[0]),o+=Math.abs(h*n[1]),r===o&&(0===o?o=1:o>0?r=o/i:o/=i),{max:o,min:r}}},getVector:function(e,t,i){e=e||0,t=t||0;var n=this.polar[e].__ecIndicator;if(!(t>=n.length)){var a,o=this.polar[e].__ecIndicator[t],r=this.getCenter(e),s=o.vector,l=o.value.max,h=o.value.min;if("undefined"==typeof i)return r;switch(i){case"min":i=h;break;case"max":i=l;break;case"center":i=(l+h)/2}return a=l!=h?(i-h)/(l-h):.5,this._mapVector(s,r,a)}},isInside:function(e){var t=this.getNearestIndex(e);return t?t.polarIndex:-1},getNearestIndex:function(e){for(var t,i,n,a,o,r,s,l,h,V=0;V<this.polar.length;V++){if(t=this.polar[V],i=this.getCenter(V),e[0]==i[0]&&e[1]==i[1])return{polarIndex:V,valueIndex:0};if(n=this._getRadius(),o=t.startAngle,r=t.indicator,s=r.length,l=2*Math.PI/s,a=m.cartesian2polar(e[0]-i[0],i[1]-e[1]),e[0]-i[0]<0&&(a[1]+=Math.PI),a[1]<0&&(a[1]+=2*Math.PI),h=a[1]-o/180*Math.PI+2*Math.PI,Math.abs(Math.cos(h%(l/2)))*n>a[0])return{polarIndex:V,valueIndex:Math.floor((h+l/2)/l)%s}}},getIndicator:function(e){var e=e||0;return this.polar[e].indicator},refresh:function(e){e&&(this.option=e,this.polar=this.option.polar,this.series=this.option.series),this.clear(),this._buildShape()}},h.inherits(t,i),e("../component").define("polar",t),t}),i("echarts/util/coordinates",["require","zrender/tool/math"],function(e){function t(e,t){return[e*n.sin(t),e*n.cos(t)]}function i(e,t){return[Math.sqrt(e*e+t*t),Math.atan(t/e)]}var n=e("zrender/tool/math");return{polar2cartesian:t,cartesian2polar:i}}),i("echarts/chart/chord",["require","./base","zrender/shape/Text","zrender/shape/Line","zrender/shape/Sector","../util/shape/Ribbon","../util/shape/Icon","zrender/shape/BezierCurve","../config","../util/ecData","zrender/tool/util","zrender/tool/vector","../data/Graph","../layout/Chord","../chart"],function(e){"use strict";function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.scaleLineLength=4,this.scaleUnitAngle=4,this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Line"),o=e("zrender/shape/Sector"),r=e("../util/shape/Ribbon"),s=e("../util/shape/Icon"),l=e("zrender/shape/BezierCurve"),h=e("../config");h.chord={zlevel:0,z:2,clickable:!0,radius:["65%","75%"],center:["50%","50%"],padding:2,sort:"none",sortSub:"none",startAngle:90,clockWise:!0,ribbonType:!0,minRadius:10,maxRadius:20,symbol:"circle",showScale:!1,showScaleText:!1,itemStyle:{normal:{borderWidth:0,borderColor:"#000",label:{show:!0,rotate:!1,distance:5},chordStyle:{width:1,color:"black",borderWidth:1,borderColor:"#999",opacity:.5}},emphasis:{borderWidth:0,borderColor:"#000",chordStyle:{width:1,color:"black",borderWidth:1,borderColor:"#999"}}}};var m=e("../util/ecData"),V=e("zrender/tool/util"),U=e("zrender/tool/vector"),d=e("../data/Graph"),p=e("../layout/Chord");return t.prototype={type:h.CHART_TYPE_CHORD,_init:function(){var e=this.series;this.selectedMap={};for(var t={},i={},n=0,a=e.length;a>n;n++)if(e[n].type===this.type){var o=this.isSelected(e[n].name);this.selectedMap[e[n].name]=o,o&&this.buildMark(n),this.reformOption(e[n]),t[e[n].name]=e[n]}for(var n=0,a=e.length;a>n;n++)if(e[n].type===this.type)if(e[n].insertToSerie){var r=t[e[n].insertToSerie];e[n]._referenceSerie=r}else i[e[n].name]=[e[n]];for(var n=0,a=e.length;a>n;n++)if(e[n].type===this.type&&e[n].insertToSerie){for(var s=e[n]._referenceSerie;s&&s._referenceSerie;)s=s._referenceSerie;i[s.name]&&this.selectedMap[e[n].name]&&i[s.name].push(e[n])}for(var l in i)this._buildChords(i[l]);this.addShapeList()},_getNodeCategory:function(e,t){return e.categories&&e.categories[t.category||0]},_getNodeQueryTarget:function(e,t){var i=this._getNodeCategory(e,t);return[t,i,e]},_getEdgeQueryTarget:function(e,t,i){return i=i||"normal",[t.itemStyle&&t.itemStyle[i],e.itemStyle[i].chordStyle]},_buildChords:function(e){for(var t=[],i=e[0],n=function(e){return e.layout.size>0},a=function(e){return function(t){return e.getEdge(t.node2,t.node1)}},o=0;o<e.length;o++){var r=e[o];if(this.selectedMap[r.name]){var s;r.matrix?s=this._getSerieGraphFromDataMatrix(r,i):r.links&&(s=this._getSerieGraphFromNodeLinks(r,i)),s.filterNode(n,this),r.ribbonType&&s.filterEdge(a(s)),t.push(s),s.__serie=r}}if(t.length){var l=t[0];if(!i.ribbonType){var h=i.minRadius,m=i.maxRadius,V=1/0,U=-(1/0);l.eachNode(function(e){U=Math.max(e.layout.size,U),V=Math.min(e.layout.size,V)});var d=(m-h)/(U-V);l.eachNode(function(e){var t=this._getNodeQueryTarget(i,e),n=this.query(t,"symbolSize");e.layout.size=U===V?n||V:n||(e.layout.size-V)*d+h},this)}var c=new p;c.clockWise=i.clockWise,c.startAngle=i.startAngle*Math.PI/180,c.clockWise||(c.startAngle=-c.startAngle),c.padding=i.padding*Math.PI/180,c.sort=i.sort,c.sortSub=i.sortSub,c.directed=i.ribbonType,c.run(t);var u=this.query(i,"itemStyle.normal.label.show");if(i.ribbonType){this._buildSectors(i,0,l,i,t),u&&this._buildLabels(i,0,l,i,t);for(var o=0,y=0;o<e.length;o++)this.selectedMap[e[o].name]&&this._buildRibbons(e,o,t[y++],i);i.showScale&&this._buildScales(i,0,l)}else{this._buildNodeIcons(i,0,l,i,t),u&&this._buildLabels(i,0,l,i,t);for(var o=0,y=0;o<e.length;o++)this.selectedMap[e[o].name]&&this._buildEdgeCurves(e,o,t[y++],i,l)}this._initHoverHandler(e,t)}},_getSerieGraphFromDataMatrix:function(e,t){for(var i=[],n=0,a=[],o=0;o<e.matrix.length;o++)a[o]=e.matrix[o].slice();for(var r=e.data||e.nodes,o=0;o<r.length;o++){var s={},l=r[o];l.rawIndex=o;for(var h in l)"name"===h?s.id=l.name:s[h]=l[h];var m=this._getNodeCategory(t,l),V=m?m.name:l.name;if(this.selectedMap[V]=this.isSelected(V),this.selectedMap[V])i.push(s),n++;else{a.splice(n,1);for(var U=0;U<a.length;U++)a[U].splice(n,1)}}var p=d.fromMatrix(i,a,!0);return p.eachNode(function(e){e.layout={size:e.data.outValue},e.rawIndex=e.data.rawIndex}),p.eachEdge(function(e){e.layout={weight:e.data.weight}}),p},_getSerieGraphFromNodeLinks:function(e,t){for(var i=new d(!0),n=e.data||e.nodes,a=0,o=n.length;o>a;a++){var r=n[a];if(r&&!r.ignore){var s=this._getNodeCategory(t,r),l=s?s.name:r.name;if(this.selectedMap[l]=this.isSelected(l),this.selectedMap[l]){var h=i.addNode(r.name,r);h.rawIndex=a}}}for(var a=0,o=e.links.length;o>a;a++){var m=e.links[a],V=m.source,U=m.target;"number"==typeof V&&(V=n[V],V&&(V=V.name)),"number"==typeof U&&(U=n[U],U&&(U=U.name));var p=i.addEdge(V,U,m);p&&(p.rawIndex=a)}return i.eachNode(function(e){var i=e.data.value;if(null==i)if(i=0,t.ribbonType)for(var n=0;n<e.outEdges.length;n++)i+=e.outEdges[n].data.weight||0;else for(var n=0;n<e.edges.length;n++)i+=e.edges[n].data.weight||0;e.layout={size:i}}),i.eachEdge(function(e){e.layout={weight:null==e.data.weight?1:e.data.weight}}),i},_initHoverHandler:function(e,t){var i=e[0],n=t[0],a=this;n.eachNode(function(e){e.shape.onmouseover=function(){n.eachNode(function(e){e.shape.style.opacity=.1,e.labelShape&&(e.labelShape.style.opacity=.1,e.labelShape.modSelf()),e.shape.modSelf()});for(var i=0;i<t.length;i++)for(var o=0;o<t[i].edges.length;o++){var r=t[i].edges[o],s=a._getEdgeQueryTarget(t[i].__serie,r.data);r.shape.style.opacity=.1*a.deepQuery(s,"opacity"),r.shape.modSelf()}e.shape.style.opacity=1,e.labelShape&&(e.labelShape.style.opacity=1);for(var i=0;i<t.length;i++){var l=t[i].getNodeById(e.id);if(l)for(var o=0;o<l.outEdges.length;o++){var r=l.outEdges[o],s=a._getEdgeQueryTarget(t[i].__serie,r.data);r.shape.style.opacity=a.deepQuery(s,"opacity");var h=t[0].getNodeById(r.node2.id);h&&(h.shape&&(h.shape.style.opacity=1),h.labelShape&&(h.labelShape.style.opacity=1))}}a.zr.refreshNextFrame()},e.shape.onmouseout=function(){n.eachNode(function(e){e.shape.style.opacity=1,e.labelShape&&(e.labelShape.style.opacity=1,e.labelShape.modSelf()),e.shape.modSelf()});for(var e=0;e<t.length;e++)for(var o=0;o<t[e].edges.length;o++){var r=t[e].edges[o],s=[r.data,i];r.shape.style.opacity=a.deepQuery(s,"itemStyle.normal.chordStyle.opacity"),r.shape.modSelf()}a.zr.refreshNextFrame()}})},_buildSectors:function(e,t,i,n){var a=this.parseCenter(this.zr,n.center),r=this.parseRadius(this.zr,n.radius),s=n.clockWise,l=s?1:-1;i.eachNode(function(i){var h=this._getNodeCategory(n,i.data),V=this.getColor(h?h.name:i.id),U=i.layout.startAngle/Math.PI*180*l,d=i.layout.endAngle/Math.PI*180*l,p=new o({zlevel:e.zlevel,z:e.z,style:{x:a[0],y:a[1],r0:r[0],r:r[1],startAngle:U,endAngle:d,brushType:"fill",opacity:1,color:V,clockWise:s},clickable:n.clickable,highlightStyle:{brushType:"fill"}});p.style.lineWidth=this.deepQuery([i.data,n],"itemStyle.normal.borderWidth"),p.highlightStyle.lineWidth=this.deepQuery([i.data,n],"itemStyle.emphasis.borderWidth"),p.style.strokeColor=this.deepQuery([i.data,n],"itemStyle.normal.borderColor"),p.highlightStyle.strokeColor=this.deepQuery([i.data,n],"itemStyle.emphasis.borderColor"),p.style.lineWidth>0&&(p.style.brushType="both"),p.highlightStyle.lineWidth>0&&(p.highlightStyle.brushType="both"),m.pack(p,e,t,i.data,i.rawIndex,i.id,i.category),this.shapeList.push(p),i.shape=p},this)},_buildNodeIcons:function(e,t,i,n){var a=this.parseCenter(this.zr,n.center),o=this.parseRadius(this.zr,n.radius),r=o[1];i.eachNode(function(i){var o=i.layout.startAngle,l=i.layout.endAngle,h=(o+l)/2,V=r*Math.cos(h),U=r*Math.sin(h),d=this._getNodeQueryTarget(n,i.data),p=this._getNodeCategory(n,i.data),c=this.deepQuery(d,"itemStyle.normal.color");c||(c=this.getColor(p?p.name:i.id));var u=new s({zlevel:e.zlevel,z:e.z+1,style:{x:-i.layout.size,y:-i.layout.size,width:2*i.layout.size,height:2*i.layout.size,iconType:this.deepQuery(d,"symbol"),color:c,brushType:"both",lineWidth:this.deepQuery(d,"itemStyle.normal.borderWidth"),strokeColor:this.deepQuery(d,"itemStyle.normal.borderColor")},highlightStyle:{color:this.deepQuery(d,"itemStyle.emphasis.color"),lineWidth:this.deepQuery(d,"itemStyle.emphasis.borderWidth"),strokeColor:this.deepQuery(d,"itemStyle.emphasis.borderColor")},clickable:n.clickable,position:[V+a[0],U+a[1]]});m.pack(u,e,t,i.data,i.rawIndex,i.id,i.category),this.shapeList.push(u),i.shape=u},this)},_buildLabels:function(e,t,i,a){var o=this.query(a,"itemStyle.normal.label.rotate"),r=this.query(a,"itemStyle.normal.label.distance"),s=this.parseCenter(this.zr,a.center),l=this.parseRadius(this.zr,a.radius),h=a.clockWise,m=h?1:-1;
-
-i.eachNode(function(t){var i=t.layout.startAngle/Math.PI*180*m,h=t.layout.endAngle/Math.PI*180*m,V=(i*-m+h*-m)/2;V%=360,0>V&&(V+=360);var d=90>=V||V>=270;V=V*Math.PI/180;var p=[Math.cos(V),-Math.sin(V)],c=0;c=a.ribbonType?a.showScaleText?35+r:r:r+t.layout.size;var u=U.scale([],p,l[1]+c);U.add(u,u,s);var y={zlevel:e.zlevel,z:e.z+1,hoverable:!1,style:{text:null==t.data.label?t.id:t.data.label,textAlign:d?"left":"right"}};o?(y.rotation=d?V:Math.PI+V,y.style.x=d?l[1]+c:-l[1]-c,y.style.y=0,y.position=s.slice()):(y.style.x=u[0],y.style.y=u[1]),y.style.color=this.deepQuery([t.data,a],"itemStyle.normal.label.textStyle.color")||"#000000",y.style.textFont=this.getFont(this.deepQuery([t.data,a],"itemStyle.normal.label.textStyle")),y=new n(y),this.shapeList.push(y),t.labelShape=y},this)},_buildRibbons:function(e,t,i,n){var a=e[t],o=this.parseCenter(this.zr,n.center),s=this.parseRadius(this.zr,n.radius);i.eachEdge(function(l,h){var V,U=i.getEdge(l.node2,l.node1);if(U&&!l.shape){if(U.shape)return void(l.shape=U.shape);var d=l.layout.startAngle/Math.PI*180,p=l.layout.endAngle/Math.PI*180,c=U.layout.startAngle/Math.PI*180,u=U.layout.endAngle/Math.PI*180;V=this.getColor(1===e.length?l.layout.weight<=U.layout.weight?l.node1.id:l.node2.id:a.name);var y,g,b=this._getEdgeQueryTarget(a,l.data),f=this._getEdgeQueryTarget(a,l.data,"emphasis"),k=new r({zlevel:a.zlevel,z:a.z,style:{x:o[0],y:o[1],r:s[0],source0:d,source1:p,target0:c,target1:u,brushType:"both",opacity:this.deepQuery(b,"opacity"),color:V,lineWidth:this.deepQuery(b,"borderWidth"),strokeColor:this.deepQuery(b,"borderColor"),clockWise:n.clockWise},clickable:n.clickable,highlightStyle:{brushType:"both",opacity:this.deepQuery(f,"opacity"),lineWidth:this.deepQuery(f,"borderWidth"),strokeColor:this.deepQuery(f,"borderColor")}});l.layout.weight<=U.layout.weight?(y=U.node1,g=U.node2):(y=l.node1,g=l.node2),m.pack(k,a,t,l.data,null==l.rawIndex?h:l.rawIndex,l.data.name||y.id+"-"+g.id,y.id,g.id),this.shapeList.push(k),l.shape=k}},this)},_buildEdgeCurves:function(e,t,i,n,a){var o=e[t],r=this.parseCenter(this.zr,n.center);i.eachEdge(function(e,i){var n=a.getNodeById(e.node1.id),s=a.getNodeById(e.node2.id),h=n.shape,V=s.shape,U=this._getEdgeQueryTarget(o,e.data),d=this._getEdgeQueryTarget(o,e.data,"emphasis"),p=new l({zlevel:o.zlevel,z:o.z,style:{xStart:h.position[0],yStart:h.position[1],xEnd:V.position[0],yEnd:V.position[1],cpX1:r[0],cpY1:r[1],lineWidth:this.deepQuery(U,"width"),strokeColor:this.deepQuery(U,"color"),opacity:this.deepQuery(U,"opacity")},highlightStyle:{lineWidth:this.deepQuery(d,"width"),strokeColor:this.deepQuery(d,"color"),opacity:this.deepQuery(d,"opacity")}});m.pack(p,o,t,e.data,null==e.rawIndex?i:e.rawIndex,e.data.name||e.node1.id+"-"+e.node2.id,e.node1.id,e.node2.id),this.shapeList.push(p),e.shape=p},this)},_buildScales:function(e,t,i){var o,r,s=e.clockWise,l=this.parseCenter(this.zr,e.center),h=this.parseRadius(this.zr,e.radius),m=s?1:-1,V=0,d=-(1/0);e.showScaleText&&(i.eachNode(function(e){var t=e.data.value;t>d&&(d=t),V+=t}),d>1e10?(o="b",r=1e-9):d>1e7?(o="m",r=1e-6):d>1e4?(o="k",r=.001):(o="",r=1));var p=V/(360-e.padding);i.eachNode(function(t){for(var i=t.layout.startAngle/Math.PI*180,V=t.layout.endAngle/Math.PI*180,d=i;;){if(s&&d>V||!s&&V>d)break;var c=d/180*Math.PI,u=[Math.cos(c),Math.sin(c)],y=U.scale([],u,h[1]+1);U.add(y,y,l);var g=U.scale([],u,h[1]+this.scaleLineLength);U.add(g,g,l);var b=new a({zlevel:e.zlevel,z:e.z-1,hoverable:!1,style:{xStart:y[0],yStart:y[1],xEnd:g[0],yEnd:g[1],lineCap:"round",brushType:"stroke",strokeColor:"#666",lineWidth:1}});this.shapeList.push(b),d+=m*this.scaleUnitAngle}if(e.showScaleText)for(var f=i,k=5*p*this.scaleUnitAngle,x=0;;){if(s&&f>V||!s&&V>f)break;var c=f;c%=360,0>c&&(c+=360);var _=90>=c||c>=270,L=new n({zlevel:e.zlevel,z:e.z-1,hoverable:!1,style:{x:_?h[1]+this.scaleLineLength+4:-h[1]-this.scaleLineLength-4,y:0,text:Math.round(10*x)/10+o,textAlign:_?"left":"right"},position:l.slice(),rotation:_?[-c/180*Math.PI,0,0]:[-(c+180)/180*Math.PI,0,0]});this.shapeList.push(L),x+=k*r,f+=m*this.scaleUnitAngle*5}},this)},refresh:function(e){if(e&&(this.option=e,this.series=e.series),this.legend=this.component.legend,this.legend)this.getColor=function(e){return this.legend.getColor(e)},this.isSelected=function(e){return this.legend.isSelected(e)};else{var t={},i=0;this.getColor=function(e){return t[e]?t[e]:(t[e]||(t[e]=this.zr.getColor(i++)),t[e])},this.isSelected=function(){return!0}}this.backupShapeList(),this._init()},reformOption:function(e){var t=V.merge;e=t(t(e||{},this.ecTheme.chord),h.chord),e.itemStyle.normal.label.textStyle=this.getTextStyle(e.itemStyle.normal.label.textStyle),this.z=e.z,this.zlevel=e.zlevel}},V.inherits(t,i),e("../chart").define("chord",t),t}),i("echarts/util/shape/Ribbon",["require","zrender/shape/Base","zrender/shape/util/PathProxy","zrender/tool/util","zrender/tool/area"],function(e){function t(e){i.call(this,e),this._pathProxy=new n}var i=e("zrender/shape/Base"),n=e("zrender/shape/util/PathProxy"),a=e("zrender/tool/util"),o=e("zrender/tool/area");return t.prototype={type:"ribbon",buildPath:function(e,t){var i=t.clockWise||!1,n=this._pathProxy;n.begin(e);var a=t.x,o=t.y,r=t.r,s=t.source0/180*Math.PI,l=t.source1/180*Math.PI,h=t.target0/180*Math.PI,m=t.target1/180*Math.PI,V=a+Math.cos(s)*r,U=o+Math.sin(s)*r,d=a+Math.cos(l)*r,p=o+Math.sin(l)*r,c=a+Math.cos(h)*r,u=o+Math.sin(h)*r,y=a+Math.cos(m)*r,g=o+Math.sin(m)*r;n.moveTo(V,U),n.arc(a,o,t.r,s,l,!i),n.bezierCurveTo(.7*(a-d)+d,.7*(o-p)+p,.7*(a-c)+c,.7*(o-u)+u,c,u),(t.source0!==t.target0||t.source1!==t.target1)&&(n.arc(a,o,t.r,h,m,!i),n.bezierCurveTo(.7*(a-y)+y,.7*(o-g)+g,.7*(a-V)+V,.7*(o-U)+U,V,U))},getRect:function(e){return e.__rect?e.__rect:(this._pathProxy.isEmpty()||this.buildPath(null,e),this._pathProxy.fastBoundingRect())},isCover:function(e,t){var i=this.getRect(this.style);return e>=i.x&&e<=i.x+i.width&&t>=i.y&&t<=i.y+i.height?o.isInsidePath(this._pathProxy.pathCommands,0,"fill",e,t):void 0}},a.inherits(t,i),t}),i("echarts/data/Graph",["require","zrender/tool/util"],function(e){var t=e("zrender/tool/util"),i=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={}};i.prototype.isDirected=function(){return this._directed},i.prototype.addNode=function(e,t){if(this._nodesMap[e])return this._nodesMap[e];var n=new i.Node(e,t);return this.nodes.push(n),this._nodesMap[e]=n,n},i.prototype.getNodeById=function(e){return this._nodesMap[e]},i.prototype.addEdge=function(e,t,n){if("string"==typeof e&&(e=this._nodesMap[e]),"string"==typeof t&&(t=this._nodesMap[t]),e&&t){var a=e.id+"-"+t.id;if(this._edgesMap[a])return this._edgesMap[a];var o=new i.Edge(e,t,n);return this._directed&&(e.outEdges.push(o),t.inEdges.push(o)),e.edges.push(o),e!==t&&t.edges.push(o),this.edges.push(o),this._edgesMap[a]=o,o}},i.prototype.removeEdge=function(e){var i=e.node1,n=e.node2,a=i.id+"-"+n.id;this._directed&&(i.outEdges.splice(t.indexOf(i.outEdges,e),1),n.inEdges.splice(t.indexOf(n.inEdges,e),1)),i.edges.splice(t.indexOf(i.edges,e),1),i!==n&&n.edges.splice(t.indexOf(n.edges,e),1),delete this._edgesMap[a],this.edges.splice(t.indexOf(this.edges,e),1)},i.prototype.getEdge=function(e,t){return"string"!=typeof e&&(e=e.id),"string"!=typeof t&&(t=t.id),this._directed?this._edgesMap[e+"-"+t]:this._edgesMap[e+"-"+t]||this._edgesMap[t+"-"+e]},i.prototype.removeNode=function(e){if("string"!=typeof e||(e=this._nodesMap[e])){delete this._nodesMap[e.id],this.nodes.splice(t.indexOf(this.nodes,e),1);for(var i=0;i<this.edges.length;){var n=this.edges[i];n.node1===e||n.node2===e?this.removeEdge(n):i++}}},i.prototype.filterNode=function(e,t){for(var i=this.nodes.length,n=0;i>n;)e.call(t,this.nodes[n],n)?n++:(this.removeNode(this.nodes[n]),i--)},i.prototype.filterEdge=function(e,t){for(var i=this.edges.length,n=0;i>n;)e.call(t,this.edges[n],n)?n++:(this.removeEdge(this.edges[n]),i--)},i.prototype.eachNode=function(e,t){for(var i=this.nodes.length,n=0;i>n;n++)this.nodes[n]&&e.call(t,this.nodes[n],n)},i.prototype.eachEdge=function(e,t){for(var i=this.edges.length,n=0;i>n;n++)this.edges[n]&&e.call(t,this.edges[n],n)},i.prototype.clear=function(){this.nodes.length=0,this.edges.length=0,this._nodesMap={},this._edgesMap={}},i.prototype.breadthFirstTraverse=function(e,t,i,n){if("string"==typeof t&&(t=this._nodesMap[t]),t){var a="edges";"out"===i?a="outEdges":"in"===i&&(a="inEdges");for(var o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!e.call(n,t,null))for(var r=[t];r.length;)for(var s=r.shift(),l=s[a],o=0;o<l.length;o++){var h=l[o],m=h.node1===s?h.node2:h.node1;if(!m.__visited){if(e.call(m,m,s))return;r.push(m),m.__visited=!0}}}},i.prototype.clone=function(){for(var e=new i(this._directed),t=0;t<this.nodes.length;t++)e.addNode(this.nodes[t].id,this.nodes[t].data);for(var t=0;t<this.edges.length;t++){var n=this.edges[t];e.addEdge(n.node1.id,n.node2.id,n.data)}return e};var n=function(e,t){this.id=e,this.data=t||null,this.inEdges=[],this.outEdges=[],this.edges=[]};n.prototype.degree=function(){return this.edges.length},n.prototype.inDegree=function(){return this.inEdges.length},n.prototype.outDegree=function(){return this.outEdges.length};var a=function(e,t,i){this.node1=e,this.node2=t,this.data=i||null};return i.Node=n,i.Edge=a,i.fromMatrix=function(e,t,n){if(t&&t.length&&t[0].length===t.length&&e.length===t.length){for(var a=t.length,o=new i(n),r=0;a>r;r++){var s=o.addNode(e[r].id,e[r]);s.data.value=0,n&&(s.data.outValue=s.data.inValue=0)}for(var r=0;a>r;r++)for(var l=0;a>l;l++){var h=t[r][l];n&&(o.nodes[r].data.outValue+=h,o.nodes[l].data.inValue+=h),o.nodes[r].data.value+=h,o.nodes[l].data.value+=h}for(var r=0;a>r;r++)for(var l=r;a>l;l++){var h=t[r][l];if(0!==h){var m=o.nodes[r],V=o.nodes[l],U=o.addEdge(m,V,{});if(U.data.weight=h,r!==l&&n&&t[l][r]){var d=o.addEdge(V,m,{});d.data.weight=t[l][r]}}}return o}},i}),i("echarts/layout/Chord",["require"],function(){var e=function(e){e=e||{},this.sort=e.sort||null,this.sortSub=e.sortSub||null,this.padding=.05,this.startAngle=e.startAngle||0,this.clockWise=null==e.clockWise?!1:e.clockWise,this.center=e.center||[0,0],this.directed=!0};e.prototype.run=function(e){e instanceof Array||(e=[e]);var n=e.length;if(n){for(var a=e[0],o=a.nodes.length,r=[],s=0,l=0;o>l;l++){var h=a.nodes[l],m={size:0,subGroups:[],node:h};r.push(m);for(var V=0,U=0;U<e.length;U++){var d=e[U],p=d.getNodeById(h.id);if(p){m.size+=p.layout.size;for(var c=this.directed?p.outEdges:p.edges,u=0;u<c.length;u++){var y=c[u],g=y.layout.weight;m.subGroups.push({weight:g,edge:y,graph:d}),V+=g}}}s+=m.size;for(var b=m.size/V,u=0;u<m.subGroups.length;u++)m.subGroups[u].weight*=b;"ascending"===this.sortSub?m.subGroups.sort(t):"descending"===this.sort&&(m.subGroups.sort(t),m.subGroups.reverse())}"ascending"===this.sort?r.sort(i):"descending"===this.sort&&(r.sort(i),r.reverse());for(var b=(2*Math.PI-this.padding*o)/s,f=this.startAngle,k=this.clockWise?1:-1,l=0;o>l;l++){var m=r[l];m.node.layout.startAngle=f,m.node.layout.endAngle=f+k*m.size*b,m.node.layout.subGroups=[];for(var u=0;u<m.subGroups.length;u++){var x=m.subGroups[u];x.edge.layout.startAngle=f,f+=k*x.weight*b,x.edge.layout.endAngle=f}f=m.node.layout.endAngle+k*this.padding}}};var t=function(e,t){return e.weight-t.weight},i=function(e,t){return e.size-t.size};return e}),i("echarts/chart/force",["require","./base","../data/Graph","../layout/Force","zrender/shape/Line","zrender/shape/BezierCurve","zrender/shape/Image","../util/shape/Icon","../config","../util/ecData","zrender/tool/util","zrender/config","zrender/tool/vector","../chart"],function(e){"use strict";function t(e,t,o,h,m){var V=this;r.call(this,e,t,o,h,m),this.__nodePositionMap={},this._graph=new s(!0),this._layout=new l,this._layout.onupdate=function(){V._step()},this._steps=1,this.ondragstart=function(){i.apply(V,arguments)},this.ondragend=function(){a.apply(V,arguments)},this.ondrop=function(){},this.shapeHandler.ondragstart=function(){V.isDragstart=!0},this.onmousemove=function(){n.apply(V,arguments)},this.refresh(h)}function i(e){if(this.isDragstart&&e.target){var t=e.target;t.fixed=!0,this.isDragstart=!1,this.zr.on(u.EVENT.MOUSEMOVE,this.onmousemove)}}function n(){this._layout.temperature=.8,this._step()}function a(e,t){if(this.isDragend&&e.target){var i=e.target;i.fixed=!1,t.dragIn=!0,t.needRefresh=!1,this.isDragend=!1,this.zr.un(u.EVENT.MOUSEMOVE,this.onmousemove)}}function o(e,t,i){var n=y.create();return n[0]=(Math.random()-.5)*i+e,n[1]=(Math.random()-.5)*i+t,n}var r=e("./base"),s=e("../data/Graph"),l=e("../layout/Force"),h=e("zrender/shape/Line"),m=e("zrender/shape/BezierCurve"),V=e("zrender/shape/Image"),U=e("../util/shape/Icon"),d=e("../config");d.force={zlevel:1,z:2,center:["50%","50%"],size:"100%",preventOverlap:!1,coolDown:.99,minRadius:10,maxRadius:20,ratioScaling:!1,large:!1,useWorker:!1,steps:1,scaling:1,gravity:1,symbol:"circle",symbolSize:0,linkSymbol:null,linkSymbolSize:[10,15],draggable:!0,clickable:!0,roam:!1,itemStyle:{normal:{label:{show:!1,position:"inside"},nodeStyle:{brushType:"both",borderColor:"#5182ab",borderWidth:1},linkStyle:{color:"#5182ab",width:1,type:"line"}},emphasis:{label:{show:!1},nodeStyle:{},linkStyle:{opacity:0}}}};var p=e("../util/ecData"),c=e("zrender/tool/util"),u=e("zrender/config"),y=e("zrender/tool/vector");return t.prototype={constructor:t,type:d.CHART_TYPE_FORCE,_init:function(){this.selectedMap={};var e,t=this.component.legend,i=this.series;this.clear();for(var n=0,a=i.length;a>n;n++){var o=i[n];if(o.type===d.CHART_TYPE_FORCE){if(i[n]=this.reformOption(i[n]),e=i[n].name||"",this.selectedMap[e]=t?t.isSelected(e):!0,!this.selectedMap[e])continue;this.buildMark(n),this._initSerie(o,n);break}}this.animationEffect()},_getNodeCategory:function(e,t){return e.categories&&e.categories[t.category||0]},_getNodeQueryTarget:function(e,t,i){i=i||"normal";var n=this._getNodeCategory(e,t)||{};return[t.itemStyle&&t.itemStyle[i],n&&n.itemStyle&&n.itemStyle[i],e.itemStyle[i].nodeStyle]},_getEdgeQueryTarget:function(e,t,i){return i=i||"normal",[t.itemStyle&&t.itemStyle[i],e.itemStyle[i].linkStyle]},_initSerie:function(e,t){this._temperature=1,e.matrix?this._graph=this._getSerieGraphFromDataMatrix(e):e.links&&(this._graph=this._getSerieGraphFromNodeLinks(e)),this._buildLinkShapes(e,t),this._buildNodeShapes(e,t);var i=e.roam===!0||"move"===e.roam,n=e.roam===!0||"scale"===e.roam;this.zr.modLayer(this.getZlevelBase(),{panable:i,zoomable:n}),(this.query("markPoint.effect.show")||this.query("markLine.effect.show"))&&this.zr.modLayer(d.EFFECT_ZLEVEL,{panable:i,zoomable:n}),this._initLayout(e),this._step()},_getSerieGraphFromDataMatrix:function(e){for(var t=[],i=0,n=[],a=0;a<e.matrix.length;a++)n[a]=e.matrix[a].slice();for(var o=e.data||e.nodes,a=0;a<o.length;a++){var r={},l=o[a];for(var h in l)"name"===h?r.id=l.name:r[h]=l[h];var m=this._getNodeCategory(e,l),V=m?m.name:l.name;if(this.selectedMap[V]=this.isSelected(V),this.selectedMap[V])t.push(r),i++;else{n.splice(i,1);for(var U=0;U<n.length;U++)n[U].splice(i,1)}}var d=s.fromMatrix(t,n,!0);return d.eachNode(function(e,t){e.layout={size:e.data.value,mass:0},e.rawIndex=t}),d.eachEdge(function(e){e.layout={weight:e.data.weight}}),d},_getSerieGraphFromNodeLinks:function(e){for(var t=new s(!0),i=e.data||e.nodes,n=0,a=i.length;a>n;n++){var o=i[n];if(o&&!o.ignore){var r=this._getNodeCategory(e,o),l=r?r.name:o.name;if(this.selectedMap[l]=this.isSelected(l),this.selectedMap[l]){var h=t.addNode(o.name,o);h.rawIndex=n}}}for(var n=0,a=e.links.length;a>n;n++){var m=e.links[n],V=m.source,U=m.target;"number"==typeof V&&(V=i[V],V&&(V=V.name)),"number"==typeof U&&(U=i[U],U&&(U=U.name));var d=t.addEdge(V,U,m);d&&(d.rawIndex=n)}return t.eachNode(function(e){var t=e.data.value;if(null==t){t=0;for(var i=0;i<e.edges.length;i++)t+=e.edges[i].data.weight||0}e.layout={size:t,mass:0}}),t.eachEdge(function(e){e.layout={weight:null==e.data.weight?1:e.data.weight}}),t},_initLayout:function(e){var t=this._graph,i=t.nodes.length,n=this.query(e,"minRadius"),a=this.query(e,"maxRadius");this._steps=e.steps||1;var r=this._layout;r.center=this.parseCenter(this.zr,e.center),r.width=this.parsePercent(e.size,this.zr.getWidth()),r.height=this.parsePercent(e.size,this.zr.getHeight()),r.large=e.large,r.scaling=e.scaling,r.ratioScaling=e.ratioScaling,r.gravity=e.gravity,r.temperature=1,r.coolDown=e.coolDown,r.preventNodeEdgeOverlap=e.preventOverlap,r.preventNodeOverlap=e.preventOverlap;for(var s=1/0,l=-(1/0),h=0;i>h;h++){var m=t.nodes[h];l=Math.max(m.layout.size,l),s=Math.min(m.layout.size,s)}for(var V=l-s,h=0;i>h;h++){var m=t.nodes[h];V>0?(m.layout.size=(m.layout.size-s)*(a-n)/V+n,m.layout.mass=m.layout.size/a):(m.layout.size=(a-n)/2,m.layout.mass=.5)}for(var h=0;i>h;h++){var m=t.nodes[h];if("undefined"!=typeof this.__nodePositionMap[m.id])m.layout.position=y.create(),y.copy(m.layout.position,this.__nodePositionMap[m.id]);else if("undefined"!=typeof m.data.initial)m.layout.position=y.create(),y.copy(m.layout.position,m.data.initial);else{var U=this._layout.center,d=Math.min(this._layout.width,this._layout.height);m.layout.position=o(U[0],U[1],.8*d)}var p=m.shape.style,c=m.layout.size;p.width=p.width||2*c,p.height=p.height||2*c,p.x=-p.width/2,p.y=-p.height/2,y.copy(m.shape.position,m.layout.position)}i=t.edges.length,l=-(1/0);for(var h=0;i>h;h++){var u=t.edges[h];u.layout.weight>l&&(l=u.layout.weight)}for(var h=0;i>h;h++){var u=t.edges[h];u.layout.weight/=l}this._layout.init(t,e.useWorker)},_buildNodeShapes:function(e,t){var i=this._graph,n=this.query(e,"categories");i.eachNode(function(i){var a=this._getNodeCategory(e,i.data),o=[i.data,a,e],r=this._getNodeQueryTarget(e,i.data),s=this._getNodeQueryTarget(e,i.data,"emphasis"),l=new U({style:{x:0,y:0,color:this.deepQuery(r,"color"),brushType:"both",strokeColor:this.deepQuery(r,"strokeColor")||this.deepQuery(r,"borderColor"),lineWidth:this.deepQuery(r,"lineWidth")||this.deepQuery(r,"borderWidth")},highlightStyle:{color:this.deepQuery(s,"color"),strokeColor:this.deepQuery(s,"strokeColor")||this.deepQuery(s,"borderColor"),lineWidth:this.deepQuery(s,"lineWidth")||this.deepQuery(s,"borderWidth")},clickable:e.clickable,zlevel:this.getZlevelBase(),z:this.getZBase()});l.style.color||(l.style.color=this.getColor(a?a.name:i.id)),l.style.iconType=this.deepQuery(o,"symbol");var h=this.deepQuery(o,"symbolSize")||0;"number"==typeof h&&(h=[h,h]),l.style.width=2*h[0],l.style.height=2*h[1],l.style.iconType.match("image")&&(l.style.image=l.style.iconType.replace(new RegExp("^image:\\/\\/"),""),l=new V({style:l.style,highlightStyle:l.highlightStyle,clickable:l.clickable,zlevel:this.getZlevelBase(),z:this.getZBase()})),this.deepQuery(o,"itemStyle.normal.label.show")&&(l.style.text=null==i.data.label?i.id:i.data.label,l.style.textPosition=this.deepQuery(o,"itemStyle.normal.label.position"),l.style.textColor=this.deepQuery(o,"itemStyle.normal.label.textStyle.color"),l.style.textFont=this.getFont(this.deepQuery(o,"itemStyle.normal.label.textStyle")||{})),this.deepQuery(o,"itemStyle.emphasis.label.show")&&(l.highlightStyle.textPosition=this.deepQuery(o,"itemStyle.emphasis.label.position"),l.highlightStyle.textColor=this.deepQuery(o,"itemStyle.emphasis.label.textStyle.color"),l.highlightStyle.textFont=this.getFont(this.deepQuery(o,"itemStyle.emphasis.label.textStyle")||{})),this.deepQuery(o,"draggable")&&(this.setCalculable(l),l.dragEnableTime=0,l.draggable=!0,l.ondragstart=this.shapeHandler.ondragstart,l.ondragover=null);var m="";if("undefined"!=typeof i.category){var a=n[i.category];m=a&&a.name||""}p.pack(l,e,t,i.data,i.rawIndex,i.data.name||"",i.category),this.shapeList.push(l),this.zr.addShape(l),i.shape=l},this)},_buildLinkShapes:function(e,t){for(var i=this._graph,n=i.edges.length,a=0;n>a;a++){var o=i.edges[a],r=o.data,s=o.node1,l=o.node2,V=i.getEdge(l,s),d=this._getEdgeQueryTarget(e,r),u=this.deepQuery(d,"type");e.linkSymbol&&"none"!==e.linkSymbol&&(u="line");var y="line"===u?h:m,g=new y({style:{xStart:0,yStart:0,xEnd:0,yEnd:0},clickable:this.query(e,"clickable"),highlightStyle:{},zlevel:this.getZlevelBase(),z:this.getZBase()});if(V&&V.shape&&(g.style.offset=4,V.shape.style.offset=4),c.merge(g.style,this.query(e,"itemStyle.normal.linkStyle"),!0),c.merge(g.highlightStyle,this.query(e,"itemStyle.emphasis.linkStyle"),!0),"undefined"!=typeof r.itemStyle&&(r.itemStyle.normal&&c.merge(g.style,r.itemStyle.normal,!0),r.itemStyle.emphasis&&c.merge(g.highlightStyle,r.itemStyle.emphasis,!0)),g.style.lineWidth=g.style.lineWidth||g.style.width,g.style.strokeColor=g.style.strokeColor||g.style.color,g.highlightStyle.lineWidth=g.highlightStyle.lineWidth||g.highlightStyle.width,g.highlightStyle.strokeColor=g.highlightStyle.strokeColor||g.highlightStyle.color,p.pack(g,e,t,o.data,null==o.rawIndex?a:o.rawIndex,o.data.name||s.id+" - "+l.id,s.id,l.id),this.shapeList.push(g),this.zr.addShape(g),o.shape=g,e.linkSymbol&&"none"!==e.linkSymbol){var b=new U({style:{x:-5,y:0,width:e.linkSymbolSize[0],height:e.linkSymbolSize[1],iconType:e.linkSymbol,brushType:"fill",color:g.style.strokeColor},highlightStyle:{brushType:"fill"},position:[0,0],rotation:0,zlevel:this.getZlevelBase(),z:this.getZBase()});g._symbolShape=b,this.shapeList.push(b),this.zr.addShape(b)}}},_updateLinkShapes:function(){for(var e=y.create(),t=y.create(),i=y.create(),n=y.create(),a=this._graph.edges,o=0,r=a.length;r>o;o++){var s=a[o],l=s.node1.shape,h=s.node2.shape;y.copy(i,l.position),y.copy(n,h.position);var m=s.shape.style;if(y.sub(e,i,n),y.normalize(e,e),m.offset?(t[0]=e[1],t[1]=-e[0],y.scaleAndAdd(i,i,t,m.offset),y.scaleAndAdd(n,n,t,m.offset)):"bezier-curve"===s.shape.type&&(m.cpX1=(i[0]+n[0])/2-(n[1]-i[1])/4,m.cpY1=(i[1]+n[1])/2-(i[0]-n[0])/4),m.xStart=i[0],m.yStart=i[1],m.xEnd=n[0],m.yEnd=n[1],s.shape.modSelf(),s.shape._symbolShape){var V=s.shape._symbolShape;y.copy(V.position,n),y.scaleAndAdd(V.position,V.position,e,h.style.width/2+2);var U=Math.atan2(e[1],e[0]);V.rotation=Math.PI/2-U,V.modSelf()}}},_syncNodePositions:function(){for(var e=this._graph,t=0;t<e.nodes.length;t++){var i=e.nodes[t],n=i.layout.position,a=i.data,o=i.shape,r=o.fixed||a.fixX,s=o.fixed||a.fixY;r===!0?r=1:isNaN(r)&&(r=0),s===!0?s=1:isNaN(s)&&(s=0),o.position[0]+=(n[0]-o.position[0])*(1-r),o.position[1]+=(n[1]-o.position[1])*(1-s),y.copy(n,o.position);var l=a.name;if(l){var h=this.__nodePositionMap[l];h||(h=this.__nodePositionMap[l]=y.create()),y.copy(h,n)}o.modSelf()}},_step:function(){this._syncNodePositions(),this._updateLinkShapes(),this.zr.refreshNextFrame(),this._layout.temperature>.01?this._layout.step(this._steps):this.messageCenter.dispatch(d.EVENT.FORCE_LAYOUT_END,{},{},this.myChart)},refresh:function(e){if(e&&(this.option=e,this.series=this.option.series),this.legend=this.component.legend,this.legend)this.getColor=function(e){return this.legend.getColor(e)},this.isSelected=function(e){return this.legend.isSelected(e)};else{var t={},i=0;this.getColor=function(e){return t[e]?t[e]:(t[e]||(t[e]=this.zr.getColor(i++)),t[e])},this.isSelected=function(){return!0}}this._init()},dispose:function(){this.clear(),this.shapeList=null,this.effectList=null,this._layout.dispose(),this._layout=null,this.__nodePositionMap={}},getPosition:function(){var e=[];return this._graph.eachNode(function(t){t.layout&&e.push({name:t.data.name,position:Array.prototype.slice.call(t.layout.position)})}),e}},c.inherits(t,r),e("../chart").define("force",t),t}),i("echarts/layout/Force",["require","./forceLayoutWorker","zrender/tool/vector"],function(e){function t(){if("undefined"!=typeof Worker&&"undefined"!=typeof Blob)try{var e=new Blob([n.getWorkerCode()]);i=window.URL.createObjectURL(e)}catch(t){i=""}return i}var i,n=e("./forceLayoutWorker"),a=e("zrender/tool/vector"),o=window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){setTimeout(e,16)},r="undefined"==typeof Float32Array?Array:Float32Array,s=function(e){"undefined"==typeof i&&t(),e=e||{},this.width=e.width||500,this.height=e.height||500,this.center=e.center||[this.width/2,this.height/2],this.ratioScaling=e.ratioScaling||!1,this.scaling=e.scaling||1,this.gravity="undefined"!=typeof e.gravity?e.gravity:1,this.large=e.large||!1,this.preventNodeOverlap=e.preventNodeOverlap||!1,this.preventNodeEdgeOverlap=e.preventNodeEdgeOverlap||!1,this.maxSpeedIncrease=e.maxSpeedIncrease||1,this.onupdate=e.onupdate||function(){},this.temperature=e.temperature||1,this.coolDown=e.coolDown||.99,this._layout=null,this._layoutWorker=null;var n=this,a=this._$onupdate;this._$onupdate=function(e){a.call(n,e)}};return s.prototype.updateConfig=function(){var e=this.width,t=this.height,i=Math.min(e,t),n={center:this.center,width:this.ratioScaling?e:i,height:this.ratioScaling?t:i,scaling:this.scaling||1,gravity:this.gravity||1,barnesHutOptimize:this.large,preventNodeOverlap:this.preventNodeOverlap,preventNodeEdgeOverlap:this.preventNodeEdgeOverlap,maxSpeedIncrease:this.maxSpeedIncrease};if(this._layoutWorker)this._layoutWorker.postMessage({cmd:"updateConfig",config:n});else for(var a in n)this._layout[a]=n[a]},s.prototype.init=function(e,t){if(this._layoutWorker&&(this._layoutWorker.terminate(),this._layoutWorker=null),i&&t)try{this._layoutWorker||(this._layoutWorker=new Worker(i),this._layoutWorker.onmessage=this._$onupdate),this._layout=null}catch(a){this._layoutWorker=null,this._layout||(this._layout=new n)}else this._layout||(this._layout=new n);this.temperature=1,this.graph=e;for(var o=e.nodes.length,s=new r(2*o),l=new r(o),h=new r(o),m=0;o>m;m++){var V=e.nodes[m];s[2*m]=V.layout.position[0],s[2*m+1]=V.layout.position[1],l[m]="undefined"==typeof V.layout.mass?1:V.layout.mass,h[m]="undefined"==typeof V.layout.size?1:V.layout.size,V.layout.__index=m}o=e.edges.length;for(var U=new r(2*o),d=new r(o),m=0;o>m;m++){var p=e.edges[m];U[2*m]=p.node1.layout.__index,U[2*m+1]=p.node2.layout.__index,d[m]=p.layout.weight||1}this._layoutWorker?this._layoutWorker.postMessage({cmd:"init",nodesPosition:s,nodesMass:l,nodesSize:h,edges:U,edgesWeight:d}):(this._layout.initNodes(s,l,h),this._layout.initEdges(U,d)),this.updateConfig()},s.prototype.step=function(e){var t=this.graph.nodes;if(this._layoutWorker){for(var i=new r(2*t.length),n=0;n<t.length;n++){var s=t[n];i[2*n]=s.layout.position[0],i[2*n+1]=s.layout.position[1]}this._layoutWorker.postMessage(i.buffer,[i.buffer]),this._layoutWorker.postMessage({cmd:"update",steps:e,temperature:this.temperature,coolDown:this.coolDown});for(var n=0;e>n;n++)this.temperature*=this.coolDown}else{o(this._$onupdate);for(var n=0;n<t.length;n++){var s=t[n];a.copy(this._layout.nodes[n].position,s.layout.position)}for(var n=0;e>n;n++)this._layout.temperature=this.temperature,this._layout.update(),this.temperature*=this.coolDown}},s.prototype._$onupdate=function(e){if(this._layoutWorker){for(var t=new Float32Array(e.data),i=0;i<this.graph.nodes.length;i++){var n=this.graph.nodes[i];n.layout.position[0]=t[2*i],n.layout.position[1]=t[2*i+1]}this.onupdate&&this.onupdate()}else if(this._layout){for(var i=0;i<this.graph.nodes.length;i++){var n=this.graph.nodes[i];a.copy(n.layout.position,this._layout.nodes[i].position)}this.onupdate&&this.onupdate()}},s.prototype.dispose=function(){this._layoutWorker&&this._layoutWorker.terminate(),this._layoutWorker=null,this._layout=null},s}),i("echarts/layout/forceLayoutWorker",["require","zrender/tool/vector"],function o(e){"use strict";function t(){this.subRegions=[],this.nSubRegions=0,this.node=null,this.mass=0,this.centerOfMass=null,this.bbox=new l(4),this.size=0}function i(){this.position=r.create(),this.force=r.create(),this.forcePrev=r.create(),this.speed=r.create(),this.speedPrev=r.create(),this.mass=1,this.inDegree=0,this.outDegree=0}function n(e,t){this.node1=e,this.node2=t,this.weight=1}function a(){this.barnesHutOptimize=!1,this.barnesHutTheta=1.5,this.repulsionByDegree=!1,this.preventNodeOverlap=!1,this.preventNodeEdgeOverlap=!1,this.strongGravity=!0,this.gravity=1,this.scaling=1,this.edgeWeightInfluence=1,this.center=[0,0],this.width=500,this.height=500,this.maxSpeedIncrease=1,this.nodes=[],this.edges=[],this.bbox=new l(4),this._rootRegion=new t,this._rootRegion.centerOfMass=r.create(),this._massArr=null,this._k=0}var r,s="undefined"==typeof window&&"undefined"==typeof e;r=s?{create:function(e,t){var i=new Float32Array(2);return i[0]=e||0,i[1]=t||0,i},dist:function(e,t){var i=t[0]-e[0],n=t[1]-e[1];return Math.sqrt(i*i+n*n)},len:function(e){var t=e[0],i=e[1];return Math.sqrt(t*t+i*i)},scaleAndAdd:function(e,t,i,n){return e[0]=t[0]+i[0]*n,e[1]=t[1]+i[1]*n,e},scale:function(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e},add:function(e,t,i){return e[0]=t[0]+i[0],e[1]=t[1]+i[1],e},sub:function(e,t,i){return e[0]=t[0]-i[0],e[1]=t[1]-i[1],e},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]},normalize:function(e,t){var i=t[0],n=t[1],a=i*i+n*n;return a>0&&(a=1/Math.sqrt(a),e[0]=t[0]*a,e[1]=t[1]*a),e},negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},set:function(e,t,i){return e[0]=t,e[1]=i,e}}:e("zrender/tool/vector");var l="undefined"==typeof Float32Array?Array:Float32Array;if(t.prototype.beforeUpdate=function(){for(var e=0;e<this.nSubRegions;e++)this.subRegions[e].beforeUpdate();this.mass=0,this.centerOfMass&&(this.centerOfMass[0]=0,this.centerOfMass[1]=0),this.nSubRegions=0,this.node=null},t.prototype.afterUpdate=function(){this.subRegions.length=this.nSubRegions;for(var e=0;e<this.nSubRegions;e++)this.subRegions[e].afterUpdate()},t.prototype.addNode=function(e){if(0===this.nSubRegions){if(null==this.node)return void(this.node=e);this._addNodeToSubRegion(this.node),this.node=null}this._addNodeToSubRegion(e),this._updateCenterOfMass(e)},t.prototype.findSubRegion=function(e,t){for(var i=0;i<this.nSubRegions;i++){var n=this.subRegions[i];if(n.contain(e,t))return n}},t.prototype.contain=function(e,t){return this.bbox[0]<=e&&this.bbox[2]>=e&&this.bbox[1]<=t&&this.bbox[3]>=t},t.prototype.setBBox=function(e,t,i,n){this.bbox[0]=e,this.bbox[1]=t,this.bbox[2]=i,this.bbox[3]=n,this.size=(i-e+n-t)/2},t.prototype._newSubRegion=function(){var e=this.subRegions[this.nSubRegions];return e||(e=new t,this.subRegions[this.nSubRegions]=e),this.nSubRegions++,e},t.prototype._addNodeToSubRegion=function(e){var t=this.findSubRegion(e.position[0],e.position[1]),i=this.bbox;if(!t){var n=(i[0]+i[2])/2,a=(i[1]+i[3])/2,o=(i[2]-i[0])/2,r=(i[3]-i[1])/2,s=e.position[0]>=n?1:0,l=e.position[1]>=a?1:0,t=this._newSubRegion();t.setBBox(s*o+i[0],l*r+i[1],(s+1)*o+i[0],(l+1)*r+i[1])}t.addNode(e)},t.prototype._updateCenterOfMass=function(e){null==this.centerOfMass&&(this.centerOfMass=r.create());var t=this.centerOfMass[0]*this.mass,i=this.centerOfMass[1]*this.mass;t+=e.position[0]*e.mass,i+=e.position[1]*e.mass,this.mass+=e.mass,this.centerOfMass[0]=t/this.mass,this.centerOfMass[1]=i/this.mass},a.prototype.nodeToNodeRepulsionFactor=function(e,t,i){return i*i*e/t},a.prototype.edgeToNodeRepulsionFactor=function(e,t,i){return i*e/t},a.prototype.attractionFactor=function(e,t,i){return e*t/i},a.prototype.initNodes=function(e,t,n){this.temperature=1;var a=e.length/2;this.nodes.length=0;for(var o="undefined"!=typeof n,r=0;a>r;r++){var s=new i;s.position[0]=e[2*r],s.position[1]=e[2*r+1],s.mass=t[r],o&&(s.size=n[r]),this.nodes.push(s)}this._massArr=t,o&&(this._sizeArr=n)},a.prototype.initEdges=function(e,t){var i=e.length/2;this.edges.length=0;for(var a="undefined"!=typeof t,o=0;i>o;o++){var r=e[2*o],s=e[2*o+1],l=this.nodes[r],h=this.nodes[s];if(l&&h){l.outDegree++,h.inDegree++;var m=new n(l,h);a&&(m.weight=t[o]),this.edges.push(m)}}},a.prototype.update=function(){var e=this.nodes.length;if(this.updateBBox(),this._k=.4*this.scaling*Math.sqrt(this.width*this.height/e),this.barnesHutOptimize){this._rootRegion.setBBox(this.bbox[0],this.bbox[1],this.bbox[2],this.bbox[3]),this._rootRegion.beforeUpdate();for(var t=0;e>t;t++)this._rootRegion.addNode(this.nodes[t]);this._rootRegion.afterUpdate()}else{var i=0,n=this._rootRegion.centerOfMass;r.set(n,0,0);for(var t=0;e>t;t++){var a=this.nodes[t];i+=a.mass,r.scaleAndAdd(n,n,a.position,a.mass);
-
-}i>0&&r.scale(n,n,1/i)}this.updateForce(),this.updatePosition()},a.prototype.updateForce=function(){for(var e=this.nodes.length,t=0;e>t;t++){var i=this.nodes[t];r.copy(i.forcePrev,i.force),r.copy(i.speedPrev,i.speed),r.set(i.force,0,0)}this.updateNodeNodeForce(),this.gravity>0&&this.updateGravityForce(),this.updateEdgeForce(),this.preventNodeEdgeOverlap&&this.updateNodeEdgeForce()},a.prototype.updatePosition=function(){for(var e=this.nodes.length,t=r.create(),i=0;e>i;i++){var n=this.nodes[i],a=n.speed;r.scale(n.force,n.force,1/30);var o=r.len(n.force)+.1,s=Math.min(o,500)/o;r.scale(n.force,n.force,s),r.add(a,a,n.force),r.scale(a,a,this.temperature),r.sub(t,a,n.speedPrev);var l=r.len(t);if(l>0){r.scale(t,t,1/l);var h=r.len(n.speedPrev);h>0&&(l=Math.min(l/h,this.maxSpeedIncrease)*h,r.scaleAndAdd(a,n.speedPrev,t,l))}var m=r.len(a),s=Math.min(m,100)/(m+.1);r.scale(a,a,s),r.add(n.position,n.position,a)}},a.prototype.updateNodeNodeForce=function(){for(var e=this.nodes.length,t=0;e>t;t++){var i=this.nodes[t];if(this.barnesHutOptimize)this.applyRegionToNodeRepulsion(this._rootRegion,i);else for(var n=t+1;e>n;n++){var a=this.nodes[n];this.applyNodeToNodeRepulsion(i,a,!1)}}},a.prototype.updateGravityForce=function(){for(var e=0;e<this.nodes.length;e++)this.applyNodeGravity(this.nodes[e])},a.prototype.updateEdgeForce=function(){for(var e=0;e<this.edges.length;e++)this.applyEdgeAttraction(this.edges[e])},a.prototype.updateNodeEdgeForce=function(){for(var e=0;e<this.nodes.length;e++)for(var t=0;t<this.edges.length;t++)this.applyEdgeToNodeRepulsion(this.edges[t],this.nodes[e])},a.prototype.applyRegionToNodeRepulsion=function(){var e=r.create();return function(t,i){if(t.node)this.applyNodeToNodeRepulsion(t.node,i,!0);else{if(0===t.mass&&0===i.mass)return;r.sub(e,i.position,t.centerOfMass);var n=e[0]*e[0]+e[1]*e[1];if(n>this.barnesHutTheta*t.size*t.size){var a=this._k*this._k*(i.mass+t.mass)/(n+1);r.scaleAndAdd(i.force,i.force,e,2*a)}else for(var o=0;o<t.nSubRegions;o++)this.applyRegionToNodeRepulsion(t.subRegions[o],i)}}}(),a.prototype.applyNodeToNodeRepulsion=function(){var e=r.create();return function(t,i,n){if(t!==i&&(0!==t.mass||0!==i.mass)){r.sub(e,t.position,i.position);var a=e[0]*e[0]+e[1]*e[1];if(0!==a){var o,s=t.mass+i.mass,l=Math.sqrt(a);r.scale(e,e,1/l),this.preventNodeOverlap?(l=l-t.size-i.size,l>0?o=this.nodeToNodeRepulsionFactor(s,l,this._k):0>=l&&(o=this._k*this._k*10*s)):o=this.nodeToNodeRepulsionFactor(s,l,this._k),n||r.scaleAndAdd(t.force,t.force,e,2*o),r.scaleAndAdd(i.force,i.force,e,2*-o)}}}}(),a.prototype.applyEdgeAttraction=function(){var e=r.create();return function(t){var i=t.node1,n=t.node2;r.sub(e,i.position,n.position);var a,o=r.len(e);a=0===this.edgeWeightInfluence?1:1==this.edgeWeightInfluence?t.weight:Math.pow(t.weight,this.edgeWeightInfluence);var s;if(!(this.preventOverlap&&(o=o-i.size-n.size,0>=o))){var s=this.attractionFactor(a,o,this._k);r.scaleAndAdd(i.force,i.force,e,-s),r.scaleAndAdd(n.force,n.force,e,s)}}}(),a.prototype.applyNodeGravity=function(){var e=r.create();return function(t){r.sub(e,this.center,t.position),this.width>this.height?e[1]*=this.width/this.height:e[0]*=this.height/this.width;var i=r.len(e)/100;this.strongGravity?r.scaleAndAdd(t.force,t.force,e,i*this.gravity*t.mass):r.scaleAndAdd(t.force,t.force,e,this.gravity*t.mass/(i+1))}}(),a.prototype.applyEdgeToNodeRepulsion=function(){var e=r.create(),t=r.create(),i=r.create();return function(n,a){var o=n.node1,s=n.node2;if(o!==a&&s!==a){r.sub(e,s.position,o.position),r.sub(t,a.position,o.position);var l=r.len(e);r.scale(e,e,1/l);var h=r.dot(e,t);if(!(0>h||h>l)){r.scaleAndAdd(i,o.position,e,h);var m=r.dist(i,a.position)-a.size,V=this.edgeToNodeRepulsionFactor(a.mass,Math.max(m,.1),100);r.sub(e,a.position,i),r.normalize(e,e),r.scaleAndAdd(a.force,a.force,e,V),r.scaleAndAdd(o.force,o.force,e,-V),r.scaleAndAdd(s.force,s.force,e,-V)}}}}(),a.prototype.updateBBox=function(){for(var e=1/0,t=1/0,i=-(1/0),n=-(1/0),a=0;a<this.nodes.length;a++){var o=this.nodes[a].position;e=Math.min(e,o[0]),t=Math.min(t,o[1]),i=Math.max(i,o[0]),n=Math.max(n,o[1])}this.bbox[0]=e,this.bbox[1]=t,this.bbox[2]=i,this.bbox[3]=n},a.getWorkerCode=function(){var e=o.toString();return e.slice(e.indexOf("{")+1,e.lastIndexOf("return"))},s){var h=null;self.onmessage=function(e){if(e.data instanceof ArrayBuffer){if(!h)return;for(var t=new Float32Array(e.data),i=t.length/2,n=0;i>n;n++){var o=h.nodes[n];o.position[0]=t[2*n],o.position[1]=t[2*n+1]}}else switch(e.data.cmd){case"init":h||(h=new a),h.initNodes(e.data.nodesPosition,e.data.nodesMass,e.data.nodesSize),h.initEdges(e.data.edges,e.data.edgesWeight);break;case"updateConfig":if(h)for(var r in e.data.config)h[r]=e.data.config[r];break;case"update":var s=e.data.steps;if(h){var i=h.nodes.length,t=new Float32Array(2*i);h.temperature=e.data.temperature;for(var n=0;s>n;n++)h.update(),h.temperature*=e.data.coolDown;for(var n=0;i>n;n++){var o=h.nodes[n];t[2*n]=o.position[0],t[2*n+1]=o.position[1]}self.postMessage(t.buffer,[t.buffer])}else{var l=new Float32Array;self.postMessage(l.buffer,[l.buffer])}}}}return a}),i("echarts/chart/map",["require","./base","zrender/shape/Text","zrender/shape/Path","zrender/shape/Circle","zrender/shape/Rectangle","zrender/shape/Line","zrender/shape/Polygon","zrender/shape/Ellipse","zrender/shape/Image","../component/dataRange","../component/roamController","../layer/heatmap","../config","../util/ecData","zrender/tool/util","zrender/config","zrender/tool/event","../util/mapData/params","../util/mapData/textFixed","../util/mapData/geoCoord","../util/projection/svg","../util/projection/normal","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o);var r=this;r._onmousewheel=function(e){return r.__onmousewheel(e)},r._onmousedown=function(e){return r.__onmousedown(e)},r._onmousemove=function(e){return r.__onmousemove(e)},r._onmouseup=function(e){return r.__onmouseup(e)},r._onroamcontroller=function(e){return r.__onroamcontroller(e)},r._ondrhoverlink=function(e){return r.__ondrhoverlink(e)},this._isAlive=!0,this._selectedMode={},this._activeMapType={},this._clickable={},this._hoverable={},this._showLegendSymbol={},this._selected={},this._mapTypeMap={},this._mapDataMap={},this._nameMap={},this._specialArea={},this._refreshDelayTicket,this._mapDataRequireCounter,this._markAnimation=!1,this._hoverLinkMap={},this._roamMap={},this._scaleLimitMap={},this._mx,this._my,this._mousedown,this._justMove,this._curMapType,this.refresh(a),this.zr.on(c.EVENT.MOUSEWHEEL,this._onmousewheel),this.zr.on(c.EVENT.MOUSEDOWN,this._onmousedown),t.bind(U.EVENT.ROAMCONTROLLER,this._onroamcontroller),t.bind(U.EVENT.DATA_RANGE_HOVERLINK,this._ondrhoverlink)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Path"),o=e("zrender/shape/Circle"),r=e("zrender/shape/Rectangle"),s=e("zrender/shape/Line"),l=e("zrender/shape/Polygon"),h=e("zrender/shape/Ellipse"),m=e("zrender/shape/Image");e("../component/dataRange"),e("../component/roamController");var V=e("../layer/heatmap"),U=e("../config");U.map={zlevel:0,z:2,mapType:"china",showLegendSymbol:!0,dataRangeHoverLink:!0,hoverable:!0,clickable:!0,itemStyle:{normal:{borderColor:"rgba(0,0,0,0)",borderWidth:1,areaStyle:{color:"#ccc"},label:{show:!1,textStyle:{color:"rgb(139,69,19)"}}},emphasis:{borderColor:"rgba(0,0,0,0)",borderWidth:1,areaStyle:{color:"rgba(255,215,0,0.8)"},label:{show:!1,textStyle:{color:"rgb(100,0,0)"}}}}};var d=e("../util/ecData"),p=e("zrender/tool/util"),c=e("zrender/config"),u=e("zrender/tool/event"),y=e("../util/mapData/params").params,g=e("../util/mapData/textFixed"),b=e("../util/mapData/geoCoord");return t.prototype={type:U.CHART_TYPE_MAP,_buildShape:function(){var e=this.series;this.selectedMap={},this._activeMapType={};for(var t,i,n,a,o=this.component.legend,r={},s={},l={},h={},m=0,V=e.length;V>m;m++)if(e[m].type==U.CHART_TYPE_MAP&&(e[m]=this.reformOption(e[m]),i=e[m].mapType,s[i]=s[i]||{},s[i][m]=!0,l[i]=l[i]||e[m].mapValuePrecision,this._scaleLimitMap[i]=this._scaleLimitMap[i]||{},e[m].scaleLimit&&p.merge(this._scaleLimitMap[i],e[m].scaleLimit,!0),this._roamMap[i]=e[m].roam||this._roamMap[i],(null==this._hoverLinkMap[i]||this._hoverLinkMap[i])&&(this._hoverLinkMap[i]=e[m].dataRangeHoverLink),this._nameMap[i]=this._nameMap[i]||{},e[m].nameMap&&p.merge(this._nameMap[i],e[m].nameMap,!0),this._activeMapType[i]=!0,e[m].textFixed&&p.merge(g,e[m].textFixed,!0),e[m].geoCoord&&p.merge(b,e[m].geoCoord,!0),this._selectedMode[i]=this._selectedMode[i]||e[m].selectedMode,(null==this._hoverable[i]||this._hoverable[i])&&(this._hoverable[i]=e[m].hoverable),(null==this._clickable[i]||this._clickable[i])&&(this._clickable[i]=e[m].clickable),(null==this._showLegendSymbol[i]||this._showLegendSymbol[i])&&(this._showLegendSymbol[i]=e[m].showLegendSymbol),h[i]=h[i]||e[m].mapValueCalculation,t=e[m].name,this.selectedMap[t]=o?o.isSelected(t):!0,this.selectedMap[t])){r[i]=r[i]||{},n=e[m].data;for(var d=0,c=n.length;c>d;d++){a=this._nameChange(i,n[d].name),r[i][a]=r[i][a]||{seriesIndex:[],valueMap:{},precision:0};for(var u in n[d])"value"!=u?r[i][a][u]=n[d][u]:isNaN(n[d].value)||(null==r[i][a].value&&(r[i][a].value=0),r[i][a].precision=Math.max(this.getPrecision(+n[d].value),r[i][a].precision),r[i][a].value+=+n[d].value,r[i][a].valueMap[m]=+n[d].value);r[i][a].seriesIndex.push(m)}}this._mapDataRequireCounter=0;for(var f in r)this._mapDataRequireCounter++;this._clearSelected(),0===this._mapDataRequireCounter&&(this.clear(),this.zr&&this.zr.delShape(this.lastShapeList),this.lastShapeList=[]);for(var f in r){for(var c in r[f]){"average"==h[f]&&(r[f][c].value/=r[f][c].seriesIndex.length);var k=r[f][c].value;null!=k&&(r[f][c].value=k.toFixed(null==l[f]?r[f][c].precision:l[f])-0)}this._mapDataMap[f]=this._mapDataMap[f]||{},this._mapDataMap[f].mapData?this._mapDataCallback(f,r[f],s[f])(this._mapDataMap[f].mapData):y[f.replace(/\|.*/,"")].getGeoJson&&(this._specialArea[f]=y[f.replace(/\|.*/,"")].specialArea||this._specialArea[f],y[f.replace(/\|.*/,"")].getGeoJson(this._mapDataCallback(f,r[f],s[f])))}},_mapDataCallback:function(t,i,n){var a=this;return function(o){a._isAlive&&null!=a._activeMapType[t]&&(-1!=t.indexOf("|")&&(o=a._getSubMapData(t,o)),a._mapDataMap[t].mapData=o,o.firstChild?(a._mapDataMap[t].rate=1,a._mapDataMap[t].projection=e("../util/projection/svg")):(a._mapDataMap[t].rate=.75,a._mapDataMap[t].projection=e("../util/projection/normal")),a._buildMap(t,a._getProjectionData(t,o,n),i,n),a._buildMark(t,n),--a._mapDataRequireCounter<=0&&(a.addShapeList(),a.zr.refreshNextFrame()),a._buildHeatmap(t))}},_clearSelected:function(){for(var e in this._selected)this._activeMapType[this._mapTypeMap[e]]||(delete this._selected[e],delete this._mapTypeMap[e])},_getSubMapData:function(e,t){for(var i=e.replace(/^.*\|/,""),n=t.features,a=0,o=n.length;o>a;a++)if(n[a].properties&&n[a].properties.name==i){n=n[a],"United States of America"==i&&n.geometry.coordinates.length>1&&(n={geometry:{coordinates:n.geometry.coordinates.slice(5,6),type:n.geometry.type},id:n.id,properties:n.properties,type:n.type});break}return{type:"FeatureCollection",features:[n]}},_getProjectionData:function(e,t,i){var n,a=this._mapDataMap[e].projection,o=[],r=this._mapDataMap[e].bbox||a.getBbox(t,this._specialArea[e]);n=this._mapDataMap[e].hasRoam?this._mapDataMap[e].transform:this._getTransform(r,i,this._mapDataMap[e].rate);var s,l=this._mapDataMap[e].lastTransform||{scale:{}};n.left!=l.left||n.top!=l.top||n.scale.x!=l.scale.x||n.scale.y!=l.scale.y?(s=a.geoJson2Path(t,n,this._specialArea[e]),l=p.clone(n)):(n=this._mapDataMap[e].transform,s=this._mapDataMap[e].pathArray),this._mapDataMap[e].bbox=r,this._mapDataMap[e].transform=n,this._mapDataMap[e].lastTransform=l,this._mapDataMap[e].pathArray=s;for(var h=[n.left,n.top],m=0,V=s.length;V>m;m++)o.push(this._getSingleProvince(e,s[m],h));if(this._specialArea[e])for(var U in this._specialArea[e])o.push(this._getSpecialProjectionData(e,t,U,this._specialArea[e][U],h));if("china"==e){var d=this.geo2pos(e,b["南海诸岛"]||y["南海诸岛"].textCoord),c=n.scale.x/10.5,u=[32*c+d[0],83*c+d[1]];g["南海诸岛"]&&(u[0]+=g["南海诸岛"][0],u[1]+=g["南海诸岛"][1]),o.push({name:this._nameChange(e,"南海诸岛"),path:y["南海诸岛"].getPath(d,c),position:h,textX:u[0],textY:u[1]})}return o},_getSpecialProjectionData:function(t,i,n,a,o){i=this._getSubMapData("x|"+n,i);var r=e("../util/projection/normal"),s=r.getBbox(i),l=this.geo2pos(t,[a.left,a.top]),h=this.geo2pos(t,[a.left+a.width,a.top+a.height]),m=Math.abs(h[0]-l[0]),V=Math.abs(h[1]-l[1]),U=s.width,d=s.height,p=m/.75/U,c=V/d;p>c?(p=.75*c,m=U*p):(c=p,p=.75*c,V=d*c);var u={OffsetLeft:l[0],OffsetTop:l[1],scale:{x:p,y:c}},y=r.geoJson2Path(i,u);return this._getSingleProvince(t,y[0],o)},_getSingleProvince:function(e,t,i){var n,a=t.properties.name,o=g[a]||[0,0];if(b[a])n=this.geo2pos(e,b[a]);else if(t.cp)n=[t.cp[0]+o[0],t.cp[1]+o[1]];else{var r=this._mapDataMap[e].bbox;n=this.geo2pos(e,[r.left+r.width/2,r.top+r.height/2]),n[0]+=o[0],n[1]+=o[1]}return t.name=this._nameChange(e,a),t.position=i,t.textX=n[0],t.textY=n[1],t},_getTransform:function(e,t,i){var n,a,o,r,s,l,h,m=this.series,V=this.zr.getWidth(),U=this.zr.getHeight(),d=Math.round(.02*Math.min(V,U));for(var p in t)n=m[p].mapLocation||{},o=n.x||o,s=n.y||s,l=n.width||l,h=n.height||h;a=this.parsePercent(o,V),a=isNaN(a)?d:a,r=this.parsePercent(s,U),r=isNaN(r)?d:r,l=null==l?V-a-2*d:this.parsePercent(l,V),h=null==h?U-r-2*d:this.parsePercent(h,U);var c=e.width,u=e.height,y=l/i/c,g=h/u;if(y>g?(y=g*i,l=c*y):(g=y,y=g*i,h=u*g),isNaN(o))switch(o=o||"center",o+""){case"center":a=Math.floor((V-l)/2);break;case"right":a=V-l}if(isNaN(s))switch(s=s||"center",s+""){case"center":r=Math.floor((U-h)/2);break;case"bottom":r=U-h}return{left:a,top:r,width:l,height:h,baseScale:1,scale:{x:y,y:g}}},_buildMap:function(e,t,i,m){for(var V,c,u,y,g,b,f,k,x,_,L,W=this.series,X=this.component.legend,v=this.component.dataRange,w=0,K=t.length;K>w;w++){if(k=p.clone(t[w]),x={name:k.name,path:k.path,position:p.clone(k.position)},c=k.name,u=i[c]){g=[u],V="";for(var I=0,J=u.seriesIndex.length;J>I;I++){var C=W[u.seriesIndex[I]];g.push(C),V+=C.name+" ",X&&this._showLegendSymbol[e]&&X.hasColor(C.name)&&this.shapeList.push(new o({zlevel:C.zlevel,z:C.z+1,position:p.clone(k.position),_mapType:e,style:{x:k.textX+3+7*I,y:k.textY-10,r:3,color:X.getColor(C.name)},hoverable:!1}))}y=u.value}else{u={name:c,value:"-"},V="",g=[];for(var S in m)g.push(W[S]);y="-"}switch(this.ecTheme.map&&g.push(this.ecTheme.map),g.push(U.map),b=v&&!isNaN(y)?v.getColor(y):null,k.color=k.color||b||this.getItemStyleColor(this.deepQuery(g,"itemStyle.normal.color"),u.seriesIndex,-1,u)||this.deepQuery(g,"itemStyle.normal.areaStyle.color"),k.strokeColor=k.strokeColor||this.deepQuery(g,"itemStyle.normal.borderColor"),k.lineWidth=k.lineWidth||this.deepQuery(g,"itemStyle.normal.borderWidth"),x.color=this.getItemStyleColor(this.deepQuery(g,"itemStyle.emphasis.color"),u.seriesIndex,-1,u)||this.deepQuery(g,"itemStyle.emphasis.areaStyle.color")||k.color,x.strokeColor=this.deepQuery(g,"itemStyle.emphasis.borderColor")||k.strokeColor,x.lineWidth=this.deepQuery(g,"itemStyle.emphasis.borderWidth")||k.lineWidth,k.brushType=x.brushType=k.brushType||"both",k.lineJoin=x.lineJoin="round",k._name=x._name=c,f=this.deepQuery(g,"itemStyle.normal.label.textStyle"),L={zlevel:this.getZlevelBase(),z:this.getZBase()+1,position:p.clone(k.position),_mapType:e,_geo:this.pos2geo(e,[k.textX,k.textY]),style:{brushType:"fill",x:k.textX,y:k.textY,text:this.getLabelText(c,y,g,"normal"),_name:c,textAlign:"center",color:this.deepQuery(g,"itemStyle.normal.label.show")?this.deepQuery(g,"itemStyle.normal.label.textStyle.color"):"rgba(0,0,0,0)",textFont:this.getFont(f)}},L._style=p.clone(L.style),L.highlightStyle=p.clone(L.style),this.deepQuery(g,"itemStyle.emphasis.label.show")?(L.highlightStyle.text=this.getLabelText(c,y,g,"emphasis"),L.highlightStyle.color=this.deepQuery(g,"itemStyle.emphasis.label.textStyle.color")||L.style.color,f=this.deepQuery(g,"itemStyle.emphasis.label.textStyle")||f,L.highlightStyle.textFont=this.getFont(f)):L.highlightStyle.color="rgba(0,0,0,0)",_={zlevel:this.getZlevelBase(),z:this.getZBase(),position:p.clone(k.position),style:k,highlightStyle:x,_style:p.clone(k),_mapType:e},null!=k.scale&&(_.scale=p.clone(k.scale)),L=new n(L),_.style.shapeType){case"rectangle":_=new r(_);break;case"line":_=new s(_);break;case"circle":_=new o(_);break;case"polygon":_=new l(_);break;case"ellipse":_=new h(_);break;default:_=new a(_),_.buildPathArray&&(_.style.pathArray=_.buildPathArray(_.style.path))}(this._selectedMode[e]&&this._selected[c]&&u.selected!==!1||u.selected===!0)&&(L.style=L.highlightStyle,_.style=_.highlightStyle),L.clickable=_.clickable=this._clickable[e]&&(null==u.clickable||u.clickable),this._selectedMode[e]&&(this._selected[c]=null!=this._selected[c]?this._selected[c]:u.selected,this._mapTypeMap[c]=e,(null==u.selectable||u.selectable)&&(_.clickable=L.clickable=!0,_.onclick=L.onclick=this.shapeHandler.onclick)),this._hoverable[e]&&(null==u.hoverable||u.hoverable)?(L.hoverable=_.hoverable=!0,_.hoverConnect=L.id,L.hoverConnect=_.id):L.hoverable=_.hoverable=!1,d.pack(L,{name:V,tooltip:this.deepQuery(g,"tooltip")},0,u,0,c),this.shapeList.push(L),d.pack(_,{name:V,tooltip:this.deepQuery(g,"tooltip")},0,u,0,c),this.shapeList.push(_)}},_buildMark:function(e,t){this._seriesIndexToMapType=this._seriesIndexToMapType||{},this.markAttachStyle=this.markAttachStyle||{};var i=[this._mapDataMap[e].transform.left,this._mapDataMap[e].transform.top];"none"==e&&(i=[0,0]);for(var n in t)this._seriesIndexToMapType[n]=e,this.markAttachStyle[n]={position:i,_mapType:e},this.buildMark(n)},_buildHeatmap:function(e){for(var t=this.series,i=0,n=t.length;n>i;i++)if(t[i].heatmap){var a=t[i].heatmap.data;if(t[i].heatmap.needsTransform===!1){for(var o=[],r=0,s=a.length;s>r;++r)o.push([a[r][3],a[r][4],a[r][2]]);var l=[0,0]}else{var h=t[i].heatmap._geoData;if(void 0===h){t[i].heatmap._geoData=[];for(var r=0,s=a.length;s>r;++r)t[i].heatmap._geoData[r]=a[r];h=t[i].heatmap._geoData}for(var s=a.length,U=0;s>U;++U)a[U]=this.geo2pos(e,[h[U][0],h[U][1]]);var l=[this._mapDataMap[e].transform.left,this._mapDataMap[e].transform.top]}var d=new V(t[i].heatmap),p=d.getCanvas(a[0][3]?o:a,this.zr.getWidth(),this.zr.getHeight()),c=new m({zlevel:this.getZlevelBase(),z:this.getZBase()+1,position:l,scale:[1,1],hoverable:!1,style:{x:0,y:0,image:p,width:p.width,height:p.height}});c.type="heatmap",c._mapType=e,this.shapeList.push(c),this.zr.addShape(c)}},getMarkCoord:function(e,t){return t.geoCoord||b[t.name]?this.geo2pos(this._seriesIndexToMapType[e],t.geoCoord||b[t.name]):[0,0]},getMarkGeo:function(e){return e.geoCoord||b[e.name]},_nameChange:function(e,t){return this._nameMap[e][t]||t},getLabelText:function(e,t,i,n){var a=this.deepQuery(i,"itemStyle."+n+".label.formatter");return a?"function"==typeof a?a.call(this.myChart,e,t):"string"==typeof a?(a=a.replace("{a}","{a0}").replace("{b}","{b0}"),a=a.replace("{a0}",e).replace("{b0}",t)):void 0:e},_findMapTypeByPos:function(e,t){var i,n,a,o,r;for(var s in this._mapDataMap)if(i=this._mapDataMap[s].transform,i&&this._roamMap[s]&&this._activeMapType[s]&&(n=i.left,a=i.top,o=i.width,r=i.height,e>=n&&n+o>=e&&t>=a&&a+r>=t))return s},__onmousewheel:function(e){function t(e,t){for(var i=0;i<e.pointList.length;i++){var n=e.pointList[i];n[0]*=t,n[1]*=t}var a=e.controlPointList;if(a)for(var i=0;i<a.length;i++){var n=a[i];n[0]*=t,n[1]*=t}}function i(e,t){e.xStart*=t,e.yStart*=t,e.xEnd*=t,e.yEnd*=t,null!=e.cpX1&&(e.cpX1*=t,e.cpY1*=t)}if(!(this.shapeList.length<=0)){for(var n=0,a=this.shapeList.length;a>n;n++){var o=this.shapeList[n];if(o.__animating)return}var r,s,l=e.event,h=u.getX(l),m=u.getY(l),V=u.getDelta(l),d=e.mapTypeControl;d||(d={},s=this._findMapTypeByPos(h,m),s&&this._roamMap[s]&&"move"!=this._roamMap[s]&&(d[s]=!0));var p=!1;for(s in d)if(d[s]){p=!0;var c=this._mapDataMap[s].transform,y=c.left,g=c.top,b=c.width,f=c.height,k=this.pos2geo(s,[h-y,m-g]);if(V>0){if(r=1.2,null!=this._scaleLimitMap[s].max&&c.baseScale>=this._scaleLimitMap[s].max)continue}else if(r=1/1.2,null!=this._scaleLimitMap[s].min&&c.baseScale<=this._scaleLimitMap[s].min)continue;c.baseScale*=r,c.scale.x*=r,c.scale.y*=r,c.width=b*r,c.height=f*r,this._mapDataMap[s].hasRoam=!0,this._mapDataMap[s].transform=c,k=this.geo2pos(s,k),c.left-=k[0]-(h-y),c.top-=k[1]-(m-g),this._mapDataMap[s].transform=c,this.clearEffectShape(!0);for(var n=0,a=this.shapeList.length;a>n;n++){var o=this.shapeList[n];if(o._mapType==s){var x=o.type,_=o.style;switch(o.position[0]=c.left,o.position[1]=c.top,x){case"path":case"symbol":case"circle":case"rectangle":case"polygon":case"line":case"ellipse":case"heatmap":o.scale[0]*=r,o.scale[1]*=r;break;case"mark-line":i(_,r);break;case"polyline":t(_,r);break;case"shape-bundle":for(var L=0;L<_.shapeList.length;L++){var W=_.shapeList[L];"mark-line"==W.type?i(W.style,r):"polyline"==W.type&&t(W.style,r)}break;case"icon":case"image":k=this.geo2pos(s,o._geo),_.x=_._x=k[0]-_.width/2,_.y=_._y=k[1]-_.height/2;break;default:k=this.geo2pos(s,o._geo),_.x=k[0],_.y=k[1],"text"==x&&(o._style.x=o.highlightStyle.x=k[0],o._style.y=o.highlightStyle.y=k[1])}this.zr.modShape(o.id)}}}if(p){u.stop(l),this.zr.refreshNextFrame();var X=this;clearTimeout(this._refreshDelayTicket),this._refreshDelayTicket=setTimeout(function(){X&&X.shapeList&&X.animationEffect()},100),this.messageCenter.dispatch(U.EVENT.MAP_ROAM,e.event,{type:"scale"},this.myChart)}}},__onmousedown:function(e){if(!(this.shapeList.length<=0)){var t=e.target;if(!t||!t.draggable){var i=e.event,n=u.getX(i),a=u.getY(i),o=this._findMapTypeByPos(n,a);if(o&&this._roamMap[o]&&"scale"!=this._roamMap[o]){this._mousedown=!0,this._mx=n,this._my=a,this._curMapType=o,this.zr.on(c.EVENT.MOUSEUP,this._onmouseup);var r=this;setTimeout(function(){r.zr.on(c.EVENT.MOUSEMOVE,r._onmousemove)},100)}}}},__onmousemove:function(e){if(this._mousedown&&this._isAlive){var t=e.event,i=u.getX(t),n=u.getY(t),a=this._mapDataMap[this._curMapType].transform;a.hasRoam=!0,a.left-=this._mx-i,a.top-=this._my-n,this._mx=i,this._my=n,this._mapDataMap[this._curMapType].transform=a;for(var o=0,r=this.shapeList.length;r>o;o++)this.shapeList[o]._mapType==this._curMapType&&(this.shapeList[o].position[0]=a.left,this.shapeList[o].position[1]=a.top,this.zr.modShape(this.shapeList[o].id));this.messageCenter.dispatch(U.EVENT.MAP_ROAM,e.event,{type:"move"},this.myChart),this.clearEffectShape(!0),this.zr.refreshNextFrame(),this._justMove=!0,u.stop(t)}},__onmouseup:function(e){var t=e.event;this._mx=u.getX(t),this._my=u.getY(t),this._mousedown=!1;var i=this;setTimeout(function(){i._justMove&&i.animationEffect(),i._justMove=!1,i.zr.un(c.EVENT.MOUSEMOVE,i._onmousemove),i.zr.un(c.EVENT.MOUSEUP,i._onmouseup)},120)},__onroamcontroller:function(e){var t=e.event;t.zrenderX=this.zr.getWidth()/2,t.zrenderY=this.zr.getHeight()/2;var i=e.mapTypeControl,n=0,a=0,o=e.step;switch(e.roamType){case"scaleUp":return t.zrenderDelta=1,void this.__onmousewheel({event:t,mapTypeControl:i});case"scaleDown":return t.zrenderDelta=-1,void this.__onmousewheel({event:t,mapTypeControl:i});case"up":n=-o;break;case"down":n=o;break;case"left":a=-o;break;case"right":a=o}var r,s;for(s in i)this._mapDataMap[s]&&this._activeMapType[s]&&(r=this._mapDataMap[s].transform,r.hasRoam=!0,r.left-=a,r.top-=n,this._mapDataMap[s].transform=r);for(var l=0,h=this.shapeList.length;h>l;l++)s=this.shapeList[l]._mapType,i[s]&&this._activeMapType[s]&&(r=this._mapDataMap[s].transform,this.shapeList[l].position[0]=r.left,this.shapeList[l].position[1]=r.top,this.zr.modShape(this.shapeList[l].id));this.messageCenter.dispatch(U.EVENT.MAP_ROAM,e.event,{type:"move"},this.myChart),this.clearEffectShape(!0),this.zr.refreshNextFrame(),clearTimeout(this.dircetionTimer);var m=this;this.dircetionTimer=setTimeout(function(){m.animationEffect()},150)},__ondrhoverlink:function(e){for(var t,i,n=0,a=this.shapeList.length;a>n;n++)t=this.shapeList[n]._mapType,this._hoverLinkMap[t]&&this._activeMapType[t]&&(i=d.get(this.shapeList[n],"value"),null!=i&&i>=e.valueMin&&i<=e.valueMax&&this.zr.addHoverShape(this.shapeList[n]))},onclick:function(e){if(this.isClick&&e.target&&!this._justMove&&"icon"!=e.target.type){this.isClick=!1;var t=e.target,i=t.style._name,n=this.shapeList.length,a=t._mapType||"";if("single"==this._selectedMode[a])for(var o in this._selected)if(this._selected[o]&&this._mapTypeMap[o]==a){for(var r=0;n>r;r++)this.shapeList[r].style._name==o&&this.shapeList[r]._mapType==a&&(this.shapeList[r].style=this.shapeList[r]._style,this.zr.modShape(this.shapeList[r].id));o!=i&&(this._selected[o]=!1)}this._selected[i]=!this._selected[i];for(var r=0;n>r;r++)this.shapeList[r].style._name==i&&this.shapeList[r]._mapType==a&&(this.shapeList[r].style=this._selected[i]?this.shapeList[r].highlightStyle:this.shapeList[r]._style,this.zr.modShape(this.shapeList[r].id));this.messageCenter.dispatch(U.EVENT.MAP_SELECTED,e.event,{selected:this._selected,target:i},this.myChart),this.zr.refreshNextFrame();var s=this;setTimeout(function(){s.zr.trigger(c.EVENT.MOUSEMOVE,e.event)},100)}},refresh:function(e){e&&(this.option=e,this.series=e.series),this._mapDataRequireCounter>0?this.clear():this.backupShapeList(),this._buildShape(),this.zr.refreshHover()},ondataRange:function(e,t){this.component.dataRange&&(this.refresh(),t.needRefresh=!0)},pos2geo:function(e,t){return this._mapDataMap[e].transform?this._mapDataMap[e].projection.pos2geo(this._mapDataMap[e].transform,t):null},getGeoByPos:function(e,t){if(!this._mapDataMap[e].transform)return null;var i=[this._mapDataMap[e].transform.left,this._mapDataMap[e].transform.top];return t instanceof Array?(t[0]-=i[0],t[1]-=i[1]):(t.x-=i[0],t.y-=i[1]),this.pos2geo(e,t)},geo2pos:function(e,t){return this._mapDataMap[e].transform?this._mapDataMap[e].projection.geo2pos(this._mapDataMap[e].transform,t):null},getPosByGeo:function(e,t){if(!this._mapDataMap[e].transform)return null;var i=this.geo2pos(e,t);return i[0]+=this._mapDataMap[e].transform.left,i[1]+=this._mapDataMap[e].transform.top,i},getMapPosition:function(e){return this._mapDataMap[e].transform?[this._mapDataMap[e].transform.left,this._mapDataMap[e].transform.top]:null},onbeforDispose:function(){this._isAlive=!1,this.zr.un(c.EVENT.MOUSEWHEEL,this._onmousewheel),this.zr.un(c.EVENT.MOUSEDOWN,this._onmousedown),this.messageCenter.unbind(U.EVENT.ROAMCONTROLLER,this._onroamcontroller),this.messageCenter.unbind(U.EVENT.DATA_RANGE_HOVERLINK,this._ondrhoverlink)}},p.inherits(t,i),e("../chart").define("map",t),t}),i("zrender/shape/Path",["require","./Base","./util/PathProxy","../tool/util"],function(e){var t=e("./Base"),i=e("./util/PathProxy"),n=i.PathSegment,a=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},o=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(a(e)*a(t))},r=function(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(o(e,t))},s=function(e){t.call(this,e)};return s.prototype={type:"path",buildPathArray:function(e,t,i){if(!e)return[];t=t||0,i=i||0;var a=e,o=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"];a=a.replace(/-/g," -"),a=a.replace(/ /g," "),a=a.replace(/ /g,","),a=a.replace(/,,/g,",");var r;for(r=0;r<o.length;r++)a=a.replace(new RegExp(o[r],"g"),"|"+o[r]);var s=a.split("|"),l=[],h=0,m=0;for(r=1;r<s.length;r++){var V=s[r],U=V.charAt(0);V=V.slice(1),V=V.replace(new RegExp("e,-","g"),"e-");var d=V.split(",");d.length>0&&""===d[0]&&d.shift();for(var p=0;p<d.length;p++)d[p]=parseFloat(d[p]);for(;d.length>0&&!isNaN(d[0]);){var c,u,y,g,b,f,k,x,_=null,L=[],W=h,X=m;switch(U){case"l":h+=d.shift(),m+=d.shift(),_="L",L.push(h,m);break;case"L":h=d.shift(),m=d.shift(),L.push(h,m);break;case"m":h+=d.shift(),m+=d.shift(),_="M",L.push(h,m),U="l";break;case"M":h=d.shift(),m=d.shift(),_="M",L.push(h,m),U="L";break;case"h":h+=d.shift(),_="L",L.push(h,m);break;case"H":h=d.shift(),_="L",L.push(h,m);break;case"v":m+=d.shift(),_="L",L.push(h,m);break;case"V":m=d.shift(),_="L",L.push(h,m);break;case"C":L.push(d.shift(),d.shift(),d.shift(),d.shift()),h=d.shift(),m=d.shift(),L.push(h,m);break;case"c":L.push(h+d.shift(),m+d.shift(),h+d.shift(),m+d.shift()),h+=d.shift(),m+=d.shift(),_="C",L.push(h,m);break;case"S":c=h,u=m,y=l[l.length-1],"C"===y.command&&(c=h+(h-y.points[2]),u=m+(m-y.points[3])),L.push(c,u,d.shift(),d.shift()),h=d.shift(),m=d.shift(),_="C",L.push(h,m);break;case"s":c=h,u=m,y=l[l.length-1],"C"===y.command&&(c=h+(h-y.points[2]),u=m+(m-y.points[3])),L.push(c,u,h+d.shift(),m+d.shift()),h+=d.shift(),m+=d.shift(),_="C",L.push(h,m);break;case"Q":L.push(d.shift(),d.shift()),h=d.shift(),m=d.shift(),L.push(h,m);break;case"q":L.push(h+d.shift(),m+d.shift()),h+=d.shift(),m+=d.shift(),_="Q",L.push(h,m);break;case"T":c=h,u=m,y=l[l.length-1],"Q"===y.command&&(c=h+(h-y.points[0]),u=m+(m-y.points[1])),h=d.shift(),m=d.shift(),_="Q",L.push(c,u,h,m);break;case"t":c=h,u=m,y=l[l.length-1],"Q"===y.command&&(c=h+(h-y.points[0]),u=m+(m-y.points[1])),h+=d.shift(),m+=d.shift(),_="Q",L.push(c,u,h,m);break;case"A":g=d.shift(),b=d.shift(),f=d.shift(),k=d.shift(),x=d.shift(),W=h,X=m,h=d.shift(),m=d.shift(),_="A",L=this._convertPoint(W,X,h,m,k,x,g,b,f);break;case"a":g=d.shift(),b=d.shift(),f=d.shift(),k=d.shift(),x=d.shift(),W=h,X=m,h+=d.shift(),m+=d.shift(),_="A",L=this._convertPoint(W,X,h,m,k,x,g,b,f)}for(var v=0,w=L.length;w>v;v+=2)L[v]+=t,L[v+1]+=i;l.push(new n(_||U,L))}("z"===U||"Z"===U)&&l.push(new n("z",[]))}return l},_convertPoint:function(e,t,i,n,a,s,l,h,m){var V=m*(Math.PI/180),U=Math.cos(V)*(e-i)/2+Math.sin(V)*(t-n)/2,d=-1*Math.sin(V)*(e-i)/2+Math.cos(V)*(t-n)/2,p=U*U/(l*l)+d*d/(h*h);p>1&&(l*=Math.sqrt(p),h*=Math.sqrt(p));var c=Math.sqrt((l*l*h*h-l*l*d*d-h*h*U*U)/(l*l*d*d+h*h*U*U));a===s&&(c*=-1),isNaN(c)&&(c=0);var u=c*l*d/h,y=c*-h*U/l,g=(e+i)/2+Math.cos(V)*u-Math.sin(V)*y,b=(t+n)/2+Math.sin(V)*u+Math.cos(V)*y,f=r([1,0],[(U-u)/l,(d-y)/h]),k=[(U-u)/l,(d-y)/h],x=[(-1*U-u)/l,(-1*d-y)/h],_=r(k,x);return o(k,x)<=-1&&(_=Math.PI),o(k,x)>=1&&(_=0),0===s&&_>0&&(_-=2*Math.PI),1===s&&0>_&&(_+=2*Math.PI),[g,b,l,h,f,_,V,s]},buildPath:function(e,t){var i=t.path,n=t.x||0,a=t.y||0;t.pathArray=t.pathArray||this.buildPathArray(i,n,a);for(var o=t.pathArray,r=t.pointList=[],s=[],l=0,h=o.length;h>l;l++){"M"==o[l].command.toUpperCase()&&(s.length>0&&r.push(s),s=[]);for(var m=o[l].points,V=0,U=m.length;U>V;V+=2)s.push([m[V],m[V+1]])}s.length>0&&r.push(s);for(var l=0,h=o.length;h>l;l++){var d=o[l].command,m=o[l].points;switch(d){case"L":e.lineTo(m[0],m[1]);break;case"M":e.moveTo(m[0],m[1]);break;case"C":e.bezierCurveTo(m[0],m[1],m[2],m[3],m[4],m[5]);break;case"Q":e.quadraticCurveTo(m[0],m[1],m[2],m[3]);break;case"A":var p=m[0],c=m[1],u=m[2],y=m[3],g=m[4],b=m[5],f=m[6],k=m[7],x=u>y?u:y,_=u>y?1:u/y,L=u>y?y/u:1;e.translate(p,c),e.rotate(f),e.scale(_,L),e.arc(0,0,x,g,g+b,1-k),e.scale(1/_,1/L),e.rotate(-f),e.translate(-p,-c);break;case"z":e.closePath()}}},getRect:function(e){if(e.__rect)return e.__rect;var t;t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0;for(var i=Number.MAX_VALUE,n=Number.MIN_VALUE,a=Number.MAX_VALUE,o=Number.MIN_VALUE,r=e.x||0,s=e.y||0,l=e.pathArray||this.buildPathArray(e.path),h=0;h<l.length;h++)for(var m=l[h].points,V=0;V<m.length;V++)V%2===0?(m[V]+r<i&&(i=m[V]),m[V]+r>n&&(n=m[V])):(m[V]+s<a&&(a=m[V]),m[V]+s>o&&(o=m[V]));var U;return U=i===Number.MAX_VALUE||n===Number.MIN_VALUE||a===Number.MAX_VALUE||o===Number.MIN_VALUE?{x:0,y:0,width:0,height:0}:{x:Math.round(i-t/2),y:Math.round(a-t/2),width:n-i+t,height:o-a+t},e.__rect=U,U}},e("../tool/util").inherits(s,t),s}),i("zrender/shape/Ellipse",["require","./Base","../tool/util"],function(e){var t=e("./Base"),i=function(e){t.call(this,e)};return i.prototype={type:"ellipse",buildPath:function(e,t){var i=.5522848,n=t.x,a=t.y,o=t.a,r=t.b,s=o*i,l=r*i;e.moveTo(n-o,a),e.bezierCurveTo(n-o,a-l,n-s,a-r,n,a-r),e.bezierCurveTo(n+s,a-r,n+o,a-l,n+o,a),e.bezierCurveTo(n+o,a+l,n+s,a+r,n,a+r),e.bezierCurveTo(n-s,a+r,n-o,a+l,n-o,a),e.closePath()},getRect:function(e){if(e.__rect)return e.__rect;var t;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x-e.a-t/2),
-y:Math.round(e.y-e.b-t/2),width:2*e.a+t,height:2*e.b+t},e.__rect}},e("../tool/util").inherits(i,t),i}),i("echarts/component/roamController",["require","./base","zrender/shape/Rectangle","zrender/shape/Sector","zrender/shape/Circle","../config","zrender/tool/util","zrender/tool/color","zrender/tool/event","../component"],function(e){function t(e,t,n,a,o){if(this.rcOption={},a.roamController&&a.roamController.show){if(!a.roamController.mapTypeControl)return void console.error("option.roamController.mapTypeControl has not been defined.");i.call(this,e,t,n,a,o),this.rcOption=a.roamController;var r=this;this._drictionMouseDown=function(e){return r.__drictionMouseDown(e)},this._drictionMouseUp=function(e){return r.__drictionMouseUp(e)},this._drictionMouseMove=function(e){return r.__drictionMouseMove(e)},this._drictionMouseOut=function(e){return r.__drictionMouseOut(e)},this._scaleHandler=function(e){return r.__scaleHandler(e)},this.refresh(a)}}var i=e("./base"),n=e("zrender/shape/Rectangle"),a=e("zrender/shape/Sector"),o=e("zrender/shape/Circle"),r=e("../config");r.roamController={zlevel:0,z:4,show:!0,x:"left",y:"top",width:80,height:120,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,handleColor:"#6495ed",fillerColor:"#fff",step:15,mapTypeControl:null};var s=e("zrender/tool/util"),l=e("zrender/tool/color"),h=e("zrender/tool/event");return t.prototype={type:r.COMPONENT_TYPE_ROAMCONTROLLER,_buildShape:function(){if(this.rcOption.show){this._itemGroupLocation=this._getItemGroupLocation(),this._buildBackground(),this._buildItem();for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e])}},_buildItem:function(){this.shapeList.push(this._getDirectionShape("up")),this.shapeList.push(this._getDirectionShape("down")),this.shapeList.push(this._getDirectionShape("left")),this.shapeList.push(this._getDirectionShape("right")),this.shapeList.push(this._getScaleShape("scaleUp")),this.shapeList.push(this._getScaleShape("scaleDown"))},_getDirectionShape:function(e){var t=this._itemGroupLocation.r,i=this._itemGroupLocation.x+t,n=this._itemGroupLocation.y+t,o={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:i,y:n,r:t,startAngle:-45,endAngle:45,color:this.rcOption.handleColor,text:">",textX:i+t/2+4,textY:n-.5,textAlign:"center",textBaseline:"middle",textPosition:"specific",textColor:this.rcOption.fillerColor,textFont:Math.floor(t/2)+"px arial"},highlightStyle:{color:l.lift(this.rcOption.handleColor,-.2),brushType:"fill"},clickable:!0};switch(e){case"up":o.rotation=[Math.PI/2,i,n];break;case"left":o.rotation=[Math.PI,i,n];break;case"down":o.rotation=[-Math.PI/2,i,n]}return o=new a(o),o._roamType=e,o.onmousedown=this._drictionMouseDown,o.onmouseup=this._drictionMouseUp,o.onmousemove=this._drictionMouseMove,o.onmouseout=this._drictionMouseOut,o},_getScaleShape:function(e){var t=this._itemGroupLocation.width,i=this._itemGroupLocation.height-t;i=0>i?20:i;var n=Math.min(t/2-5,i)/2,a=this._itemGroupLocation.x+("scaleDown"===e?t-n:n),r=this._itemGroupLocation.y+this._itemGroupLocation.height-n,s={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:a,y:r,r:n,color:this.rcOption.handleColor,text:"scaleDown"===e?"-":"+",textX:a,textY:r-2,textAlign:"center",textBaseline:"middle",textPosition:"specific",textColor:this.rcOption.fillerColor,textFont:Math.floor(n)+"px verdana"},highlightStyle:{color:l.lift(this.rcOption.handleColor,-.2),brushType:"fill"},clickable:!0};return s=new o(s),s._roamType=e,s.onmousedown=this._scaleHandler,s},_buildBackground:function(){var e=this.reformCssArray(this.rcOption.padding);this.shapeList.push(new n({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._itemGroupLocation.x-e[3],y:this._itemGroupLocation.y-e[0],width:this._itemGroupLocation.width+e[3]+e[1],height:this._itemGroupLocation.height+e[0]+e[2],brushType:0===this.rcOption.borderWidth?"fill":"both",color:this.rcOption.backgroundColor,strokeColor:this.rcOption.borderColor,lineWidth:this.rcOption.borderWidth}}))},_getItemGroupLocation:function(){var e,t=this.reformCssArray(this.rcOption.padding),i=this.rcOption.width,n=this.rcOption.height,a=this.zr.getWidth(),o=this.zr.getHeight();switch(this.rcOption.x){case"center":e=Math.floor((a-i)/2);break;case"left":e=t[3]+this.rcOption.borderWidth;break;case"right":e=a-i-t[1]-t[3]-2*this.rcOption.borderWidth;break;default:e=this.parsePercent(this.rcOption.x,a)}var r;switch(this.rcOption.y){case"top":r=t[0]+this.rcOption.borderWidth;break;case"bottom":r=o-n-t[0]-t[2]-2*this.rcOption.borderWidth;break;case"center":r=Math.floor((o-n)/2);break;default:r=this.parsePercent(this.rcOption.y,o)}return{x:e,y:r,r:i/2,width:i,height:n}},__drictionMouseDown:function(e){this.mousedown=!0,this._drictionHandlerOn(e)},__drictionMouseUp:function(e){this.mousedown=!1,this._drictionHandlerOff(e)},__drictionMouseMove:function(e){this.mousedown&&this._drictionHandlerOn(e)},__drictionMouseOut:function(e){this._drictionHandlerOff(e)},_drictionHandlerOn:function(e){this._dispatchEvent(e.event,e.target._roamType),clearInterval(this.dircetionTimer);var t=this;this.dircetionTimer=setInterval(function(){t._dispatchEvent(e.event,e.target._roamType)},100),h.stop(e.event)},_drictionHandlerOff:function(){clearInterval(this.dircetionTimer)},__scaleHandler:function(e){this._dispatchEvent(e.event,e.target._roamType),h.stop(e.event)},_dispatchEvent:function(e,t){this.messageCenter.dispatch(r.EVENT.ROAMCONTROLLER,e,{roamType:t,mapTypeControl:this.rcOption.mapTypeControl,step:this.rcOption.step},this.myChart)},refresh:function(e){e&&(this.option=e||this.option,this.option.roamController=this.reformOption(this.option.roamController),this.rcOption=this.option.roamController),this.clear(),this._buildShape()}},s.inherits(t,i),e("../component").define("roamController",t),t}),i("echarts/layer/heatmap",["require"],function(){function e(e){if(this.option=e,e)for(var i in t)this.option[i]=void 0!==e[i]?e[i]:t[i];else this.option=t}var t={blurSize:30,gradientColors:["blue","cyan","lime","yellow","red"],minAlpha:.05,valueScale:1,opacity:1},i=20,n=256;return e.prototype={getCanvas:function(e,t,a){var o=this._getBrush(),r=this._getGradient(),s=i+this.option.blurSize,l=document.createElement("canvas");l.width=t,l.height=a;for(var h=l.getContext("2d"),m=e.length,V=0;m>V;++V){var U=e[V],d=U[0],p=U[1],c=U[2],u=Math.min(1,Math.max(c*this.option.valueScale||this.option.minAlpha,this.option.minAlpha));h.globalAlpha=u,h.drawImage(o,d-s,p-s)}for(var y=h.getImageData(0,0,l.width,l.height),g=y.data,m=g.length/4;m--;){var b=4*m+3,u=g[b]/256,f=Math.floor(u*(n-1));g[b-3]=r[4*f],g[b-2]=r[4*f+1],g[b-1]=r[4*f+2],g[b]*=this.option.opacity}return h.putImageData(y,0,0),l},_getBrush:function(){if(!this._brushCanvas){this._brushCanvas=document.createElement("canvas");var e=i+this.option.blurSize,t=2*e;this._brushCanvas.width=t,this._brushCanvas.height=t;var n=this._brushCanvas.getContext("2d");n.shadowOffsetX=t,n.shadowBlur=this.option.blurSize,n.shadowColor="black",n.beginPath(),n.arc(-e,e,i,0,2*Math.PI,!0),n.closePath(),n.fill()}return this._brushCanvas},_getGradient:function(){if(!this._gradientPixels){var e=n,t=document.createElement("canvas");t.width=1,t.height=e;for(var i=t.getContext("2d"),a=i.createLinearGradient(0,0,0,e),o=this.option.gradientColors.length,r=0;o>r;++r)"string"==typeof this.option.gradientColors[r]?a.addColorStop((r+1)/o,this.option.gradientColors[r]):a.addColorStop(this.option.gradientColors[r].offset,this.option.gradientColors[r].color);i.fillStyle=a,i.fillRect(0,0,1,e),this._gradientPixels=i.getImageData(0,0,1,e).data}return this._gradientPixels}},e}),i("echarts/util/mapData/params",["require"],function(e){function t(e){if(!e.UTF8Encoding)return e;for(var t=e.features,n=0;n<t.length;n++)for(var a=t[n],o=a.geometry.coordinates,r=a.geometry.encodeOffsets,s=0;s<o.length;s++){var l=o[s];if("Polygon"===a.geometry.type)o[s]=i(l,r[s]);else if("MultiPolygon"===a.geometry.type)for(var h=0;h<l.length;h++){var m=l[h];l[h]=i(m,r[s][h])}}return e.UTF8Encoding=!1,e}function i(e,t){for(var i=[],n=t[0],a=t[1],o=0;o<e.length;o+=2){var r=e.charCodeAt(o)-64,s=e.charCodeAt(o+1)-64;r=r>>1^-(1&r),s=s>>1^-(1&s),r+=n,s+=a,n=r,a=s,i.push([r/1024,s/1024])}return i}var n={none:{getGeoJson:function(e){e({type:"FeatureCollection",features:[{type:"Feature",geometry:{coordinates:[],encodeOffsets:[],type:"Polygon"},properties:{}}]})}},world:{getGeoJson:function(i){e(["./geoJson/world_geo"],function(e){i(t(e))})}},china:{getGeoJson:function(i){e(["./geoJson/china_geo"],function(e){i(t(e))})}},"南海诸岛":{textCoord:[126,25],getPath:function(e,t){for(var i=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],n="",a=e[0],o=e[1],r=0,s=i.length;s>r;r++){n+="M "+((i[r][0][0]*t+a).toFixed(2)-0)+" "+((i[r][0][1]*t+o).toFixed(2)-0)+" ";for(var l=1,h=i[r].length;h>l;l++)n+="L "+((i[r][l][0]*t+a).toFixed(2)-0)+" "+((i[r][l][1]*t+o).toFixed(2)-0)+" "}return n+" Z"}},"新疆":{getGeoJson:function(i){e(["./geoJson/xin_jiang_geo"],function(e){i(t(e))})}},"西藏":{getGeoJson:function(i){e(["./geoJson/xi_zang_geo"],function(e){i(t(e))})}},"内蒙古":{getGeoJson:function(i){e(["./geoJson/nei_meng_gu_geo"],function(e){i(t(e))})}},"青海":{getGeoJson:function(i){e(["./geoJson/qing_hai_geo"],function(e){i(t(e))})}},"四川":{getGeoJson:function(i){e(["./geoJson/si_chuan_geo"],function(e){i(t(e))})}},"黑龙江":{getGeoJson:function(i){e(["./geoJson/hei_long_jiang_geo"],function(e){i(t(e))})}},"甘肃":{getGeoJson:function(i){e(["./geoJson/gan_su_geo"],function(e){i(t(e))})}},"云南":{getGeoJson:function(i){e(["./geoJson/yun_nan_geo"],function(e){i(t(e))})}},"广西":{getGeoJson:function(i){e(["./geoJson/guang_xi_geo"],function(e){i(t(e))})}},"湖南":{getGeoJson:function(i){e(["./geoJson/hu_nan_geo"],function(e){i(t(e))})}},"陕西":{getGeoJson:function(i){e(["./geoJson/shan_xi_1_geo"],function(e){i(t(e))})}},"广东":{getGeoJson:function(i){e(["./geoJson/guang_dong_geo"],function(e){i(t(e))})}},"吉林":{getGeoJson:function(i){e(["./geoJson/ji_lin_geo"],function(e){i(t(e))})}},"河北":{getGeoJson:function(i){e(["./geoJson/he_bei_geo"],function(e){i(t(e))})}},"湖北":{getGeoJson:function(i){e(["./geoJson/hu_bei_geo"],function(e){i(t(e))})}},"贵州":{getGeoJson:function(i){e(["./geoJson/gui_zhou_geo"],function(e){i(t(e))})}},"山东":{getGeoJson:function(i){e(["./geoJson/shan_dong_geo"],function(e){i(t(e))})}},"江西":{getGeoJson:function(i){e(["./geoJson/jiang_xi_geo"],function(e){i(t(e))})}},"河南":{getGeoJson:function(i){e(["./geoJson/he_nan_geo"],function(e){i(t(e))})}},"辽宁":{getGeoJson:function(i){e(["./geoJson/liao_ning_geo"],function(e){i(t(e))})}},"山西":{getGeoJson:function(i){e(["./geoJson/shan_xi_2_geo"],function(e){i(t(e))})}},"安徽":{getGeoJson:function(i){e(["./geoJson/an_hui_geo"],function(e){i(t(e))})}},"福建":{getGeoJson:function(i){e(["./geoJson/fu_jian_geo"],function(e){i(t(e))})}},"浙江":{getGeoJson:function(i){e(["./geoJson/zhe_jiang_geo"],function(e){i(t(e))})}},"江苏":{getGeoJson:function(i){e(["./geoJson/jiang_su_geo"],function(e){i(t(e))})}},"重庆":{getGeoJson:function(i){e(["./geoJson/chong_qing_geo"],function(e){i(t(e))})}},"宁夏":{getGeoJson:function(i){e(["./geoJson/ning_xia_geo"],function(e){i(t(e))})}},"海南":{getGeoJson:function(i){e(["./geoJson/hai_nan_geo"],function(e){i(t(e))})}},"台湾":{getGeoJson:function(i){e(["./geoJson/tai_wan_geo"],function(e){i(t(e))})}},"北京":{getGeoJson:function(i){e(["./geoJson/bei_jing_geo"],function(e){i(t(e))})}},"天津":{getGeoJson:function(i){e(["./geoJson/tian_jin_geo"],function(e){i(t(e))})}},"上海":{getGeoJson:function(i){e(["./geoJson/shang_hai_geo"],function(e){i(t(e))})}},"香港":{getGeoJson:function(i){e(["./geoJson/xiang_gang_geo"],function(e){i(t(e))})}},"澳门":{getGeoJson:function(i){e(["./geoJson/ao_men_geo"],function(e){i(t(e))})}}};return{decode:t,params:n}}),i("echarts/util/mapData/textFixed",[],function(){return{"广东":[0,-10],"香港":[10,10],"澳门":[-10,18],"黑龙江":[0,20],"天津":[5,5],"深圳市":[-35,0],"红河哈尼族彝族自治州":[0,20],"楚雄彝族自治州":[-5,15],"石河子市":[-5,5],"五家渠市":[0,-10],"昌吉回族自治州":[10,10],"昌江黎族自治县":[0,20],"陵水黎族自治县":[0,20],"东方市":[0,20],"渭南市":[0,20]}}),i("echarts/util/mapData/geoCoord",[],function(){return{Russia:[100,60],"United States of America":[-99,38]}}),i("echarts/util/projection/svg",["require","zrender/shape/Path"],function(e){function t(e){return parseFloat(e||0)}function i(e){for(var i=e.firstChild;"svg"!=i.nodeName.toLowerCase()||1!=i.nodeType;)i=i.nextSibling;var n=t(i.getAttribute("x")),a=t(i.getAttribute("y")),o=t(i.getAttribute("width")),r=t(i.getAttribute("height"));return{left:n,top:a,width:o,height:r}}function n(e,t){function i(e){var t=e.tagName;if(m[t]){var o=m[t](e,n);o&&(o.scale=n,o.properties={name:e.getAttribute("name")||""},o.id=e.id,s(o,e),a.push(o))}for(var r=e.childNodes,l=0,h=r.length;h>l;l++)i(r[l])}var n=[t.scale.x,t.scale.y],a=[];return i(e),a}function a(e,t){var i=t instanceof Array?[1*t[0],1*t[1]]:[1*t.x,1*t.y];return[i[0]/e.scale.x,i[1]/e.scale.y]}function o(e,t){var i=t instanceof Array?[1*t[0],1*t[1]]:[1*t.x,1*t.y];return[i[0]*e.scale.x,i[1]*e.scale.y]}function r(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function s(e,t){var i=t.getAttribute("fill"),n=t.getAttribute("stroke"),a=t.getAttribute("stroke-width"),o=t.getAttribute("opacity");i&&"none"!=i?(e.color=i,n?(e.brushType="both",e.strokeColor=n):e.brushType="fill"):n&&"none"!=n&&(e.strokeColor=n,e.brushType="stroke"),a&&"none"!=a&&(e.lineWidth=parseFloat(a)),o&&"none"!=o&&(e.opacity=parseFloat(o))}function l(e){for(var t=r(e).replace(/,/g," ").split(/\s+/),i=[],n=0;n<t.length;){var a=parseFloat(t[n++]),o=parseFloat(t[n++]);i.push([a,o])}return i}var h=e("zrender/shape/Path"),m={path:function(e,t){var i=e.getAttribute("d"),n=h.prototype.getRect({path:i});return{shapeType:"path",path:i,cp:[(n.x+n.width/2)*t[0],(n.y+n.height/2)*t[1]]}},rect:function(e,i){var n=t(e.getAttribute("x")),a=t(e.getAttribute("y")),o=t(e.getAttribute("width")),r=t(e.getAttribute("height"));return{shapeType:"rectangle",x:n,y:a,width:o,height:r,cp:[(n+o/2)*i[0],(a+r/2)*i[1]]}},line:function(e,i){var n=t(e.getAttribute("x1")),a=t(e.getAttribute("y1")),o=t(e.getAttribute("x2")),r=t(e.getAttribute("y2"));return{shapeType:"line",xStart:n,yStart:a,xEnd:o,yEnd:r,cp:[.5*(n+o)*i[0],.5*(a+r)*i[1]]}},circle:function(e,i){var n=t(e.getAttribute("cx")),a=t(e.getAttribute("cy")),o=t(e.getAttribute("r"));return{shapeType:"circle",x:n,y:a,r:o,cp:[n*i[0],a*i[1]]}},ellipse:function(e,t){var i=parseFloat(e.getAttribute("cx")||0),n=parseFloat(e.getAttribute("cy")||0),a=parseFloat(e.getAttribute("rx")||0),o=parseFloat(e.getAttribute("ry")||0);return{shapeType:"ellipse",x:i,y:n,a:a,b:o,cp:[i*t[0],n*t[1]]}},polygon:function(e,t){var i=e.getAttribute("points"),n=[1/0,1/0],a=[-(1/0),-(1/0)];if(i){i=l(i);for(var o=0;o<i.length;o++){var r=i[o];n[0]=Math.min(r[0],n[0]),n[1]=Math.min(r[1],n[1]),a[0]=Math.max(r[0],a[0]),a[1]=Math.max(r[1],a[1])}return{shapeType:"polygon",pointList:i,cp:[(n[0]+a[0])/2*t[0],(n[1]+a[1])/2*t[0]]}}},polyline:function(e,t){var i=m.polygon(e,t);return i}};return{getBbox:i,geoJson2Path:n,pos2geo:a,geo2pos:o}}),i("echarts/util/projection/normal",[],function(){function e(e,i){return i=i||{},e.srcSize||t(e,i),e.srcSize}function t(e,t){t=t||{},r.xmin=360,r.xmax=-360,r.ymin=180,r.ymax=-180;for(var i,n,a=e.features,o=0,s=a.length;s>o;o++)if(n=a[o],!n.properties.name||!t[n.properties.name])switch(n.type){case"Feature":r[n.geometry.type](n.geometry.coordinates);break;case"GeometryCollection":i=n.geometries;for(var l=0,h=i.length;h>l;l++)r[i[l].type](i[l].coordinates)}return e.srcSize={left:1*r.xmin.toFixed(4),top:1*r.ymin.toFixed(4),width:1*(r.xmax-r.xmin).toFixed(4),height:1*(r.ymax-r.ymin).toFixed(4)},e}function i(e,i,n){function a(e,t){c=e.type,u=e.coordinates,o._bbox={xmin:360,xmax:-360,ymin:180,ymax:-180},y=o[c](u),m.push({path:y,cp:o.makePoint(t.properties.cp?t.properties.cp:[(o._bbox.xmin+o._bbox.xmax)/2,(o._bbox.ymin+o._bbox.ymax)/2]),properties:t.properties,id:t.id})}n=n||{},o.scale=null,o.offset=null,e.srcSize||t(e,n),i.offset={x:e.srcSize.left,y:e.srcSize.top,left:i.OffsetLeft||0,top:i.OffsetTop||0},o.scale=i.scale,o.offset=i.offset;for(var r,s,l,h=e.features,m=[],V=0,U=h.length;U>V;V++)if(l=h[V],!l.properties.name||!n[l.properties.name])if("Feature"==l.type)a(l.geometry,l);else if("GeometryCollection"==l.type){r=l.geometries;for(var d=0,p=r.length;p>d;d++)s=r[d],a(s,s)}var c,u,y;return m}function n(e,t){var i,n;return t instanceof Array?(i=1*t[0],n=1*t[1]):(i=1*t.x,n=1*t.y),i=i/e.scale.x+e.offset.x-168.5,i=i>180?i-360:i,n=90-(n/e.scale.y+e.offset.y),[i,n]}function a(e,t){return o.offset=e.offset,o.scale=e.scale,o.makePoint(t instanceof Array?[1*t[0],1*t[1]]:[1*t.x,1*t.y])}var o={formatPoint:function(e){return[(e[0]<-168.5&&e[1]>63.8?e[0]+360:e[0])+168.5,90-e[1]]},makePoint:function(e){var t=this,i=t.formatPoint(e);t._bbox.xmin>e[0]&&(t._bbox.xmin=e[0]),t._bbox.xmax<e[0]&&(t._bbox.xmax=e[0]),t._bbox.ymin>e[1]&&(t._bbox.ymin=e[1]),t._bbox.ymax<e[1]&&(t._bbox.ymax=e[1]);var n=(i[0]-o.offset.x)*o.scale.x+o.offset.left,a=(i[1]-o.offset.y)*o.scale.y+o.offset.top;return[n,a]},Point:function(e){return e=this.makePoint(e),e.join(",")},LineString:function(e){for(var t,i="",n=0,a=e.length;a>n;n++)t=o.makePoint(e[n]),i=0===n?"M"+t.join(","):i+"L"+t.join(",");return i},Polygon:function(e){for(var t="",i=0,n=e.length;n>i;i++)t=t+o.LineString(e[i])+"z";return t},MultiPoint:function(e){for(var t=[],i=0,n=e.length;n>i;i++)t.push(o.Point(e[i]));return t},MultiLineString:function(e){for(var t="",i=0,n=e.length;n>i;i++)t+=o.LineString(e[i]);return t},MultiPolygon:function(e){for(var t="",i=0,n=e.length;n>i;i++)t+=o.Polygon(e[i]);return t}},r={formatPoint:o.formatPoint,makePoint:function(e){var t=this,i=t.formatPoint(e),n=i[0],a=i[1];t.xmin>n&&(t.xmin=n),t.xmax<n&&(t.xmax=n),t.ymin>a&&(t.ymin=a),t.ymax<a&&(t.ymax=a)},Point:function(e){this.makePoint(e)},LineString:function(e){for(var t=0,i=e.length;i>t;t++)this.makePoint(e[t])},Polygon:function(e){for(var t=0,i=e.length;i>t;t++)this.LineString(e[t])},MultiPoint:function(e){for(var t=0,i=e.length;i>t;t++)this.Point(e[t])},MultiLineString:function(e){for(var t=0,i=e.length;i>t;t++)this.LineString(e[t])},MultiPolygon:function(e){for(var t=0,i=e.length;i>t;t++)this.Polygon(e[t])}};return{getBbox:e,geoJson2Path:i,pos2geo:n,geo2pos:a}}),i("echarts/util/mapData/geoJson/an_hui_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"3415",properties:{name:"六安市",cp:[116.3123,31.8329],childNum:6},geometry:{type:"Polygon",coordinates:["@@„„nJ‚UXUVƒ°U„ÑnU@mlLVaVln@@bn@VU@xlb@lšLnKlšƒVI„JšUVxnI@lVL@b„Ž°VX@˜b„x„nVVUnVVnU‚›@kX@VwV@„al¥UUnUWa@ƒ@wĸU„LU¥lKUa@aUI@alLVaUƒ¯anƒWkUKm@XV@VaXlW@aU_UWVUƒI¯@ma¯W¯™™I@UU@WWU@U@@UU@VkV@@WUUm@UaU@„lK@IUK„L@KWmXUWaXI@ƒ@a@a@U@U@KV¥lw„k°b²JVIVKlV@UX„la„Ul`œUVLVVVUšJ„U@Lnm@_VK@KUIW@™J@Xk@WW@U—ƒmm™XmWk@kK@aUUƒVmmkUwUmWL™@WmU@™UJmUULkKWakLWVkIƒlƒwULƒW@X°lUJ@°ULƒWV—wmJ@bmb¯Vkm@@WkWm¯wƒL@lkXƒWmXym¯UImJUbkV™@Vn¯„@V@lUbƒ@mk@maUxmlUbULWn@J—LmKUkWKkwUKƒbm„X„WxkVUKmLkVV@JUUWL@xkJUUƒV@X@VVlUbVX@xk¤šx‚¼œxWxn„‚nn@Þ¼„JVb°aVn„@šmlnXU„JlbVlkz@‚lUŽlXJmxVxXnWxXÈWlUŽ@šUxU@VX@xUL@šUÆmLnV@lWXk@@JlbXblnlJ"],encodeOffsets:[[118710,33351]]}},{type:"Feature",id:"3408",properties:{name:"安庆市",cp:[116.7517,30.5255],childNum:9},geometry:{type:"Polygon",coordinates:["@@n°‚znW„XlW@k„K°xXn‚l@Xn@l‚°Una@anI˜xXU„ŽVK@¯VIkW¯X@‚„VK„x„klJXUlKXblLVKnVVIšŽV@Xn‚@šŽXKVnVxlŽnn„UlmV@²óUkV™lW„b„lƒšƒn@VVVIn@lw@WVIXblV„@Èx‚aUaVIVVnKVLšK„ƒln@b²K@»U£ƒÑķƒġÝÅb™K™a@Im@ۍ„@kWÓkkmKÅnóJƒUÅ£›W@w„ĕ@wĉţ¯¯ƒUkK±l¯Uƒ¥UÑkÝUķ»Ý¥¯™JƒIUŽVbUl¯ÈV¼VJU¼Vb@bkLUl@„VJ@bUXǚ@lkVmXmKkLVxš‚Ž„VƒL@VkVVVlzW˜kbmLUUUbVbUV™šlÒnJlUnLllUL@bU„Vx„l‚LXVƦÈVU¦WJ"],encodeOffsets:[[118834,31759]]}},{type:"Feature",id:"3411",properties:{name:"滁州市",cp:[118.1909,32.536],childNum:7},geometry:{type:"Polygon",coordinates:["@@š„@`nnl@„xšK@X°KXV˜IXVlbXVWnX‚lL@šÈ»‚LVan@VJ„êVVn@‚X@laÞbVaƒyn@„_‚xnWVXnWl@VnUVkI@l‚nXKVLVV@V@kW@LlVô„@J@bVnnKnkVa@»lç@ƒnwšKma™UUUVњ@n™mWXalI@alVn@VwUaVU„@„nlaôJnU„VVXlJšaXXVK@UšV@VWx@nXVWšXVšUlLUbV‚ULVVnUVbUbVbš@@a„KÆnnKVK@U@UU@@a„@Vƒ°¯ÈJVIlķ@aa˜UaVKU_@mkxUI@aƒUlyU@@™wkKWmUbUnUVWbkJW_J@bƒn@Vm@@KULk@V@@bVbÅm@LW@UVVbkK@UkKWL@VULUKWIUJUbkK@_WVXU›Jka@XƒVa@kšy@aVIUUW@@m„UlLœKWÑUKVan@UkVmmIXKƒaVaUwVU@UmykU¯@±UUL@WUIVUU@KkIWaƒaU@kUUaǃUó»mKƒk¯@y@kWK@bkI¯`mn™l¯XWlkVUzUJlbUbVJl@nnm„@VULV`XnWƗbmUUn™JmUknƒJ¯km@ƒyk@kU›xL@VUbmnn¤lX@`™z@JmaULUVl@Xn@xllkXWa—aW@UVmUbƒ@mVXšWxXbWbUŽƒÒnVVnVVUL"],encodeOffsets:[[120004,33520]]}},{type:"Feature",id:"3418",properties:{name:"宣城市",cp:[118.8062,30.6244],childNum:7},geometry:{type:"Polygon",coordinates:["@@Vb@„XL˜JXxlIXxlVlV@I²¤šnlUnVšU@VULWVUJ@Lnb@lV@UnV@@VVVlLnbnJ‚UVkUUVWn@@anUVnVJVIV‚@@nUJVbUb‚„@VUbVK@bn@VbnIlxkllXVlXKWUXUlL°¤UVVb@bš„UlkXW‚ƒxXz@‚„Ila„UlƒnUlJVInVÆJ„U„LVUnV„K°@VnlVnxV@XLlK@wVL@KnUlJXU˜bnKVLX„lUw@VWlLXKm@@a„@VLnmlIVVnKn@škVašVlwk@@a@k@ƒVIUa™@maUa@wna@kmWƒ™UUmVUIVǗ@aƒKm™aƒ™kU™J@InmUUaVa„k‚lX@Vk@m@VU@wnK@alKVUkUkKƒbmUkmƒ@U£WVk@@UÝbbƒaÇx@b@WVUa¯ƒ@wVwUUV@VwnK@KWaŁ@KšIUyUI@WmXó™UbWaKm™@km@IUyƒIUaWKƒx@zUKUL@llVUnkLVVkJWX@VUKUVƒIkVWakb@VWb@n@JkXUlmL@xkL@`VxšLUÈUJ@Vm@@bmIUlUL@VUVVbknm@mKUw™KVÈ@J@LV±kkJUIƒl"],encodeOffsets:[[120803,31247]]}},{type:"Feature",id:"3412",properties:{name:"阜阳市",cp:[115.7629,32.9919],childNum:6},geometry:{type:"Polygon",coordinates:["@@V™nƒš@ša„k°aš±@‚¥@UUI@aUmlwUUx›b@¥XU@mmI@a@Kn@@_W@@W„I@mšUVVXUl@XaV@‚K@I@a„LX@aVI°K@KVL„UUw‚yXkšK@kšKÆbXnlK@k@a„JlU@w@U@»@aXKWƒn_‚JXkVKnƒ@°LlKXƒW@¯Uƒ@aUK@kmJUw™VƒIUJ™„kŽmL™K@kka@wUVm@@am@UkUbkK@nmVƒÒ¯VU„WVVmIƒƒULk@ƒƒma@kkKƒƒ@nUbUamU™`UUVUkKVkkƒW@@bkmƒnƒmUXVKXVƒL@VƒbU„m‚™bVXJ@nmKÅI@KWKUXVJUL@VUKUX@KUKWL@LUJmaXXm@kVVV@L@VUL@VlK@L@V@LUK@VUb@UUU@°@nVxU`‚Lkn@`@XVJ@X™Vm„k@UKmV¯LVVn±Wm@Ub@JlLUl„@VLk„@lmVVn@bnV@V°IV™šaVJXI°K°V@XXVlVVU„nšKVlUš„bWXnV@bV`U„„@@m@@‚ƒ@nxmn@bXVlL@¤nb„Ul¦šVVUnJVU„Vl@@bÞL"],encodeOffsets:[[118418,34392]]}},{type:"Feature",id:"3413",properties:{name:"宿州市",cp:[117.5208,33.6841],childNum:5},geometry:{type:"Polygon",coordinates:["@@@UWU@bkW@aWU@aUIkWV™lLXb„lVIUVV@‚mn@V_n@VaUK@I‚@UašanJVU„@lV„UVnnKVVlaUa„I@wnK‚Lnll@nVlk@wVKXkl@@b„bUJ@V‚U@U„UUyVk@aVUXwlWXX‚WU¹@aU™@WUI@mlUšn„J@Il@šaXbV@VKl@XxVL@W„IšJlb„@„al@„IUUm@@aVK@¥¯—@mUķ¯bWƒk£Vm@akm@VaÅ@UVWaƒ@UJWkƒJ—UƒbWbU@UlƒXk@ƒamV@K¯nk@ƒlU@Uxmz@bU`ÇbUbÅVm£U@Ww™x@akLUK@UlakwUJWVkLmaUal@n_ƒmVUnKVUUmÅXWa™@kJmx@XUJ@bVLXxl@VVUVV„UbkLWbU@@lUVV„VVX„›K@XkJ@nU@@bV@VxUVlb„U@xXLWŽn@UxVbVĊ„V@b@XV`mnkJ@kUKmbƒaU@VbnbÆx@XU@@`k@@bl„™@@bkL@WƒakXWaU@Vmkx@XWW@@wUUUbƒJ™U¯V™@¯ÞU@WxXŽlL@bkb@ŽlVlnb™JW@kkU@mbkaWJ—IVlmz¯`UnU@mb™@@„ƒ`@bkVlœnV@b@šV@„aVxn@Vx‚KXnl@nbVK„bVK@a„_V@Vƒ„w@W„LlwnK@UmIU@VWš@šUÈ@lKnal„wš@@V°@šaUmlUUw@„ƒV@@UXK"],encodeOffsets:[[119836,35061]]}},{type:"Feature",id:"3410",properties:{name:"黄山市",cp:[118.0481,29.9542],childNum:5},geometry:{type:"Polygon",coordinates:["@@lXnlWX@VUJVnUJVzXJVx„kVJlI²l‚U@K@IUǚLVxnLn@lmUaVU@UVKVknJ@an@@UVIVǙKUw@_lK@wnKVklW@I@mXa@UlaXblU„JVUVL@UXWlIUUlKVmkU@kVKVL@y„wXLVb„JVz@Jlnš@nŽ‚LXbVaôšnW@la@UVWUa@@a@mk@WIk@VwUa¯¥m@UUVK@ImK@aX£ƒkK›ÅV™a™™ƒ_@±ƒakXWW—LƒƒƒnU@@a@¯mK@L™JUWwUV™VmbXX@lWLn`mzUJUb™Lƒ„k@makVWmkX™ambkKknƒaƒ@ƒaƒb@‚U@Unm@—ƒWVƒ@VbUbUJWIk@@lmL@°UVUVm„nš™@@kmWkb@xƒ_m@@aU@b@JlŽUz™lWxXn„@‚b²@l`„IVl„UlL@VšK„nVbUl@VlIn@@b„bVWUk‚@@bX@Valb@bnb°Vn@„xVKlbVnV@V‚x„L@ln@UXVV‚L˜"],encodeOffsets:[[120747,31095]]}},{type:"Feature",id:"3414",properties:{name:"巢湖市",cp:[117.7734,31.4978],childNum:5},geometry:{type:"Polygon",coordinates:["@@VV@blL@ŽXlWnnšnŽ˜„@VXXl@@WšIX@VJ@LšxŎxlnšŽ@bXJVblX@VVbUVn@VbUVlb@LnJVbVLV‚XLšÒVL„ÒšV„bVIVylUXk°Wšknm°_lJ@aXL@l‚z°@„lnLô¼V‚È„VUUaVKU@WW@@UUa@knmVLlaV@„a@kšak±@UmwkKmk™lj™ÝUUkL@mlIVmnÝWkkUÝ@KƑĉ™a@»ƒmma@mX™¤¯Uƒw@ƒ@UU@bU±±L@akmƒ„™LUKmLUUUJVbbÇwƒ@kUWaUJ@Xkxm@UJUUm@™„k„ƒ‚ƒakXUšVl±ôU@kn"],encodeOffsets:[[119847,32007]]}},{type:"Feature",id:"3416",properties:{name:"亳州市",cp:[116.1914,33.4698],childNum:4},geometry:{type:"Polygon",coordinates:["@@lU@Un@@anUlw@KVmUwlaX_lKna@KU@@kWKUU@ankW™XK˜@@V²VVIÈU@al@VaÈamK@wU™@klaUƒV@XƒVUU»WUUbkmUkVmk@aÈw@mWU@VkIkVWKUÑķXȭºU¯lƒ@kkLWmÅa™L@l™LWlzVxƒVUK@L¯LUJ@bWƒK@b@JLU@Wbk@WVUU™V@nƒJ@XX@@`m@@L@bnJ@nWV@¦œa‚wVVkxVn@bVJ@V¦@Ž™²¯bƒl™b™@m„UšUŽƒŽ@¼ƒ¦Xb‚UV`@nnxUxWLkUkVWKkV@XV@@VVL@VX„@lVV@L@blL@`šL@xXKVL‚@„VnUš@lwnU@ml@XnV@@UVW°LnalƒUI@aUK@a‚a@U„kXW@I@mWL@UXK@UVW@U‚@@k„Wn‚@@V„@XblaVxšL@bVKXb„IlJ"],encodeOffsets:[[119183,34594]]}},{type:"Feature",id:"3417",properties:{name:"池州市",cp:[117.3889,30.2014],childNum:4},geometry:{type:"Polygon",coordinates:["@@„V°°ĊŤ@xƒĖ@xœXƤ„VôIÆmnLllXÔ@lƒÜŽn@@JšbšLÆaĢÞĸ„°VVUUKVanK@UV@VL„VVn„ln@‚xnklxXamk@WV@Xa˜@naVk„Klk™@mkUWwkJWw—IWK@ƒUaUwWIUyVIUmVI@UXWmkkW‚—KUUVWm@@kƒKw@U‚UUmkaULƒwm@¯Uma@akaUbW@@a@VlUXƒa@am@kJ@UVkUaƒm™L@UkKƒVUkƒJk_±@aƒ@WmXwÇkkaVaUa±ƒœwV@VkƒwnyUaW@UU¯amLk@m™@kmmU™™¯K@L@lUX¯ƒWlkXƒŽVb„bƒVUL@J@LVKnlJXnlb@`nXlalV@bnL@Vnb˜¼@lXbWlkL™K@zUJmIUxUVUVmX","@@llUL@VlxšL@a@UƒwXa¯@"],encodeOffsets:[[119543,30781],[120061,31152]]}},{type:"Feature",id:"3401",properties:{name:"合肥市",cp:[117.29,32.0581],childNum:4},geometry:{type:"Polygon",coordinates:["@@„L„xV‚ĊLÞkšVlVVXaWaXwW™nU„@‚anVVUX@˜bXblWkk@wWmk@VUVKnb@Išy@_kWm£nmVa@U‚KœwlVl@„zn@°l„IlmnVšIVmnV˜aXÅWmU_VK@Unƒmmk@UIVakaƒa™UƒÑUK™ÑWKUUKUamI@KkaVUUam@VUUa@UkWUaWI@a™kmōw™wUL@`mn@KƒV™IUVUUUK›Vk_ƒVkbWƒ@VkUULUJ±I¯aƒlkxU¦@L@V@V@b@b@„WJXbWVXn@LƒKVL@JkLƒŽV@Vbn@VV@XU@UlV@@VV@V@XXV@@VšJ°š°Xnb°@„JUVVXV`@bkXWŽUbU@WŽn@VLXlm„°bV„UbkK@bVJ@bVbkLV¦ƒKķV@x@„XbmVVVk¦"],encodeOffsets:[[119678,33323]]}},{type:"Feature",id:"3403",properties:{name:"蚌埠市",cp:[117.4109,33.1073],childNum:4},geometry:{type:"Polygon",coordinates:["@@VÒXLlUlJ@UXV@nÇx@bnlUVllnVaXVV¼UVW„U@V„²wVV@Vl@„VnwlIš@XbÆWVnUVmLUV„nm`k@VbnblKXUVIlxkb@VVLlK@bšwXxV@n¤ÆUVaÈaV_@anyVwV@„kl@°m@LnU„bl@„WVkV@Xa„a˜V„IXl‚IV‚„@XbVUÆ@XKWwUkmW@_UmnIlJXkWKXmV@‚w@_XV@Kl@kU@KlX@@UUUUKWLm@klJVUUmk@mXUWmXwƒ`m@„zUbÝakbW@m@UUƒéUIm@UbKǼ@™kKWXmWUkaWU—JWU¯L@W™Lƒwk@mm@_™ƒÅl™UVkmWUnV@VWLUb™bƑĬ¯l"],encodeOffsets:[[119543,33722]]}},{type:"Feature",id:"3402",properties:{name:"芜湖市",cp:[118.3557,31.0858],childNum:4},geometry:{type:"Polygon",coordinates:["@@„bVaV@XllLXU°ŽlL@V@VUnVl¯Ikš›VUVU@@b@lUXUWmb„n@¼šbƒĊ‚LÞ@lVXlmÞUnkJ@nlKVVšÞXklWVaVI@aUKn»lL@Kn@‚XXwlm@mn°@„V@Wy„wXlWVk™ƒ@aUaVU¯£kKWVXVWLUkkWlkkwmJUam@@aULVa@UƒVaUaVI@m‚@UUJUIUmmV@bm@UXVVUlVmImakKUU@UU@VmU@@kma@KVIXUVK@U™VmUkV™m±£@JkU@nlšk‚ƒLUlmb—@WbU@@XnlWb"],encodeOffsets:[[120814,31585]]}},{type:"Feature",id:"3406",properties:{name:"淮北市",cp:[116.6968,33.6896],childNum:3},geometry:{type:"MultiPolygon",coordinates:[["@@lnnK@¦n@@V‚V„@@VV@nIV„V@VW²a@b@bVnUVVV@V™z@lš@°UšV„IVaVV@x@ŽXX@WlwUnV@XblW„b@XlK@aš@kƒ@al@@_V@@WÅwmaUaV@„bnaVL@llInmU_@W@aƒUUĉUaVwm@XWK@wƒVkaVUUwU@@aV@@mlI@WœLWƒUUUƒVU@kV@XalKVaUƒVUUUk@WwUK@aVI@WƒUk@@UUU±xkb@lVš@xnLÇbUbk@@bÇVUJ±U@U—@WLXšml@bVVXL@lV@@LmbkLW`kbVxUn@LkxmV@bm@@VkV"],["@@VVVkV@¥@UV@U@VUUJƒkWakKUšlXVJ@bXV@blX@aXV@V"]],encodeOffsets:[[[119183,34594]],[[119836,35061]]]}},{type:"Feature",id:"3404",properties:{name:"淮南市",cp:[116.7847,32.7722],childNum:2},geometry:{type:"Polygon",coordinates:["@@°kƒīšaVaXK@U‚UVmnXUlšVÆkVKUUUmmU„ÑkU™UÝlĉKUƒwƒKƒbU@UxW@@lœmVUUVmUUƒmƒw—aW„kL¯K@Žm„ULWlIm`X„WL@b@¼@V@xkVƒI@b@l@lk„V°Ȯ¹ĸW"],encodeOffsets:[[119543,33722]]}},{type:"Feature",id:"3405",properties:{name:"马鞍山市",cp:[118.6304,31.5363],childNum:2},geometry:{type:"Polygon",coordinates:["@@šNJnllLnxV@laXLVKma„aXbVI„bVKVVVIVyn@n_ƒƒW@@ƒ„UnJlUVVXlLnaUWlV@VV„IXW@_W@XK@K@UVUUwVamÑXmmwƒw™KUnUK™çU@ƒJƒU¯@mŽ@nknWxWm@@LkKm¼VL@bUJUbkXWl"],encodeOffsets:[[121219,32288]]}},{type:"Feature",id:"3407",properties:{name:"铜陵市",cp:[117.9382,30.9375],childNum:3},geometry:{type:"MultiPolygon",coordinates:[["@@„ÒV¤@¼V²@aVV@Ž@„„x°Vš£nW‚@nbnaVXVW@k@aV@VUœUl™°JUkVm@U@UkK¯WVkKWkU@Ubƒakwmlwm@ƒkUmƒUUKU@@VmLUbVLUV¯U"],["@@LllUL@VlxšL@a@UƒwXamK"]],encodeOffsets:[[[120522,31529]],[[120094,31146]]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/ao_men_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"8200",properties:{name:"澳门",cp:[113.5715,22.1583],childNum:1},geometry:{type:"Polygon",coordinates:["@@HQFMDIDGBI@E@EEKEGCEIGGEKEMGSEU@CBEDAJAP@F@LBT@JCHMPOdADCFADAB@LFLDFFP@DAB@@AF@D@B@@FBD@FADHBBHAD@FAJ@JEDCJI`gFIJW"],encodeOffsets:[[116325,22699]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/bei_jing_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"110228",properties:{name:"密云县",cp:[117.0923,40.5121],childNum:1},geometry:{type:"Polygon",coordinates:["@@vIHZDZQtDLNMXIbHRCXXITbJ@H`LGPRDDJNCLHTOCWFGvGBUJMKGFO^IHWXITQCI’Y^AXGfRˆDXF`DJOLB~G\\DZIHHpErUVMhHb]\\M†BVF@FTP`@zTbD\\@~M\\K`H^EVODWICAakAQXoIcCOCIgGYNWFWNGGKKGaJEGMEIKYJUT_J_Go@_SyQaSFMEGTcYOQLIIi@EKAUPCV[EEXQCW|aMUMAaYCYNIDGGACIMGGSKDQGaF_C[GaB@GOIiOKAYL“mI@CN]F[SWWAcKKI@HMUimEKbeYQYISNUOcBKPIFBNgvDPGZYFSf]CMSIWGEUFgDIQ[MeDMJS@RR@LphFPCHaBAJKF@J]IBJO@HlO@@RKAMPJHCNDJTHFP@ZGNANBRFH@J_fM^ONJNF\\VTDJHDON@XRND\\XRCPVETCLBVKDFJINHRGPRV@\\CLJN@VbXbLVT"],encodeOffsets:[[119561,41684]]}},{type:"Feature",id:"110116",properties:{name:"怀柔区",cp:[116.6377,40.6219],childNum:1},geometry:{type:"Polygon",coordinates:["@@JHTVHXCHPfnDJGHNDJSB[JSBGVSAOH@PMPuDEHHXZN@PHF@ZLJ@LHVYJA\\OFWP]BMtMBSRGV[JeVAPQVIFENMD¡–@^NV\\JH@NNL@NM\\kTQ\\I^FNIpBHGTBFFAZQfKDIXQTLXFXNNVMVHRGpCFLlRLEVBBH`IVO\\G`RDPAXLXBXORHZEHTDLLN@VGTMrQNFPeASKG@GMOAKBYMK@GTUHUXSHMVDNMOUEOZMJML@^KRACMZEZMRQLUHE@OFENPR@DI\\ChMHIDG\\GJMDWHCKGMDCIQCHO_K@GaIJSWWQDaGWJMNCKRsCYGYuJUSaKaW@UIMDK@[QUHOGQJMEILCAUDKFSOUQD[WMC‚Q@WPMGCCIUSE[IMPMN]`e@IEGAQBMHM@YEOSGCIDMIGNOLB@QP@GkP@AI^J@ILEBIbADGEOog@KQQWSekWQQUOFKZLF@PUNmIaHIUeBCTSHENcJa@_IWSaGu`GLSBKJQFOXGDXVQVOBIHcDSJWBEFGTMH[^mLaXcHiKElTRKtFXZ`MHMPCNRDxZˆB\\ICIHK@KŽHbIVFZ@BPnGTGbDXRDJaZKRiGEFSFEJhjFNZFjn"],encodeOffsets:[[119314,41552]]}},{type:"Feature",id:"110111",properties:{name:"房山区",cp:[115.8453,39.7163],childNum:1},geometry:{type:"Polygon",coordinates:["@@h@bl@HRJDZ``TA\\VVD^H`\\pF\\JŒ`JGv@ZO\\GPSTEjPTR`FnEbDTDHEhLFMTK@ETSPULKEI@OVISKSJACEQNQbV˜IXGDIN@dMB[IIBcN]ZHNLP@XOWCFWŠCNRHTpATD@^NVNLED@Rh@jCEF}E[OOHUEW]W@QGGDIQSH_MmFmCUT_K]i@MHCMW—FCF‹E{BMHMPOHKS]CFNGBELDH_@BcAKOACESAOBELaXAROB@FODMEDWJAG[aE@UM@DImEWJMC@OeCA{aE[@{L@MINUCQXKfUJORCHqJBF@TCXWNQX]M[EAJO@@KMBQJIC]EWMCCUBEBFHKDOTMBGNGF]MWDBRDdMDQVyE@LPVHDCP@JVVMTG~HNSH[CmRUvHPHBbA\\PTNRC\\YNJ€PRARPJDDR"],encodeOffsets:[[118343,40770]]}},{type:"Feature",id:"110229",properties:{name:"延庆县",cp:[116.1543,40.5286],childNum:1},geometry:{type:"Polygon",coordinates:["@@^AXOPEB[ZIGU@KKI@YGE@OYMGWFGvCNO@OPGTBHUTA\\ITACIGMIHmCOeDGGWSUIGimYEEMgiFITEFEjHLQbYCIWQaCSHmHAOY@UEaJG@LGLDJ[J‡AwYQCDMNONGY_EWLsSQFkMO[NWAIGaIYL@HMBOKiOQDWEUDMQSF_QIUBWdg@[NaAKQ@M]OQ@WhgLUMMFYQDIRCEUZOOCIOJ[KIUMKL@HIDKVEBM`HJAJSJUdBLGNEdMBMO[BYEWJSNKNaD]PE\\SjOT_RQVEZPpƒNQXfŠNA~lNG`@PNLp¼RFLfbdKbATUh@FSNWjGFZVLFHVA~X¨PPROfFJbNJPLFbENJPrEFNPFRHDDJdENJLVEPBJTVTHGHFRFH@PXP\\ORQHW\\BjWFDERLPPBbB\\E`B\\D\\L`@F]FCnJ^AZL"],encodeOffsets:[[119262,41751]]}},{type:"Feature",id:"110109",properties:{name:"门头沟区",cp:[115.8,39.9957],childNum:1},geometry:{type:"Polygon",coordinates:["@@V@XMnGPY²‰JQNEhH\\AZMPDVTTDZCPiJkHSHCjIdFtEHITCNITQEKUAMCEIKCECABYESKFWAKBEIIHABGDCKCAIHMHALKEI\\CFIBILIJQZS]BBEECS@E@@C]COKI@CABAAEEDMGƒCH]A[M@CJWH—JaUMRFRBDTITLUJ@PFJKLOVST@FSLENgKGFSCaCmF_ESQiOSFOT[HYPu@IH‹_[IoE_[]GUC[USB__CYQI@Gakg@qZeHQNMNV\\FVLPgJAFJPRLCH[XcPELUT[JiV_EELFTADBXRTRLJC@fHXHHbPd`fR@NfT`@TLplHMpCEJHJBVLFŽ@JT‚VnG^KXDXHNVGRLRXFJVdDHSNWLGfEzA"],encodeOffsets:[[118635,41113]]}},{type:"Feature",id:"110114",properties:{name:"昌平区",cp:[116.1777,40.2134],childNum:1},geometry:{type:"Polygon",coordinates:["@@VNLJI\\JPPDYPFVQDCJZRNEVNhKXgR@^P@NLRbB\\Mh@XcVARJE`RTCNFV€XRCjPPLNA@GZKbJJHXB\\MNPjLdGbWnK\\]NGHSFEXATIdCJGPARUWUHCPWRELITAHKv_E@iYCaW_BQ\\Y@QIO@QDCIGZCEMWGFMFAFgHEDOCSqKCCFGAMKEAC@ODGCGs@WH@KQA@EE@CE@GEA@EH@GGUEEJEAYD@JM@@DAA@FHD@FTJEHUC@JUBKCKG@G[CIIQReAYhO@OXGDO@@FF@IHJFCPEBACBIAAKDOABXARHPNEHGbQAAKQFGIAM[C@WHKaGiCEGOA‹HUKCIokSCUSOCYN[BgGMFIR±ŠOZmHWNU@ShbbXDHVXXGJ^lZ@PZ\\Nb@\\FHJAD"],
-encodeOffsets:[[118750,41232]]}},{type:"Feature",id:"110115",properties:{name:"大兴区",cp:[116.4716,39.6352],childNum:1},geometry:{type:"Polygon",coordinates:["@@F\\E~DFN@BDFEpHFCHBBEGCDCJBHUDSBB@ELCPbF@B\\J@BJVAFJ\\ADKTCBGECFMT@BMN@@FH@DaNBEnvB@FPBATK@FHEFIAKFBFL@@PKBFJHC@FXBRAFCDMPDTOL@JIVFDHH@DDH@BGRFCDLD@N^@@CNA@KNOAEBCECFEGCFGMGFIPMOEJOLBADBBHGG@GCHIECY@INC@DMGS\\AIOZAAEYA@GT@KKMBEETCGMVINFxA@MJADB@FlA@HJA@NND@DFA@DVAZBBOFKH_JA@K^GBC@EFE„G@gAENMXKJigC@IbSJMqGOP£RGSMGE@kbQFDPEFiBSGGSBK]I{CDWCIDOic[C_G@SuSO@EWKCO@MNY@\\uZOPENQD[LKESSKGBKEG@EJGAGHoH¥CqhifeJkX_XFFGHFNEDFPENKHM^IFIVL^S`DVEnNnG`RTCJHH@R^XFXGVPP"],encodeOffsets:[[119042,40704]]}},{type:"Feature",id:"110113",properties:{name:"顺义区",cp:[116.7242,40.1619],childNum:1},geometry:{type:"Polygon",coordinates:["@@EhEBENXHFNYDJHCD@RJP@R[ZARX`DbjZF@bHXT`Jb@dIFMTGDSfAJVbGnJVM@OKELYPERVXRflXTT@NIfC\\NJRhCVEHFJXNT^DTeZEHYCOhuAMJELOdAVPTMOWBWNMNEJgl]@WGUFIC[T{EEDEHGCIGMI@SECUQI[D{A{GQESPUH]CsiMCmHUeoHENcAaDGCMDGMQCACCBaCGLMAHB@DIEQLOAAEEJ@CW@CDINGAAGKQOCgV@LG@BEGDKNeREFBNCFIDOPKD[@YRW@GFWDAFE@EHDDrLDTCPGF","@@KrJEH[\\B@FF@CHFBHUN‹AJKADGECBCMAG^E@EbI@BEGP"],encodeOffsets:[[119283,41084],[119377,41046]]}},{type:"Feature",id:"110117",properties:{name:"平谷区",cp:[117.1706,40.2052],childNum:1},geometry:{type:"Polygon",coordinates:["@@ZJZRafFLjn€VGNJ@LLBdXX\\T^EDMJ@”nZKLBjPPJ@HbA\\H`DbERHLCFK^BZaFWXQLAGMHa\\OLO@SBIpBdCLƒVQfElO@GSAKEDQTC@GEBKG@ORIJBDAPDFA@CaOq@GGQAAEJK@KMUGAAGEAa@MGMBGCGSIIW@WSUCMDOJeWOM@IUF{WMWaDIMgIoRoCOKeEOEAG_I[cg@wLIFENQFDVTFJ@HNDJGHCFFFS|D\\EJHV@Xk^IhMFMNAXPX"],encodeOffsets:[[119748,41190]]}},{type:"Feature",id:"110112",properties:{name:"通州区",cp:[116.7297,39.8131],childNum:1},geometry:{type:"Polygon",coordinates:["@@FDAJTGDNDCTDDEDBBE@DT@@EHCDGJ@EIZ@@FDBR@ATFBBVFFE@@HNA\\VE@CLIFNJFNJBCP]A@LJFA@HJEDD\\C@DBCHLAEPF@@DH@APHAERDF\\GIxDTM@CFLBBFJ@CNUPMHECGDBF]BMFPDLRBHHBJMDCX@@DFIBFPBRKJF@CGANBHKbDDABDRDHNNCHDbCdBFMpGHiOYMefKJMC}HWAUNW\\NNBNA„kNU|]HMTMN@MZBLFFF@RIRUT‘BMFIEGaAGGAOIIUGTSFcYKS@MSLYPKRUBU]EWDOI]CKGASgW@MTWKIMCS@uMAKKADMECGAKVUTSDy@IjWLMNBF@hƒHEF@FAD]H@LIBG`ELAPYAUB@CEB@CMC@MIB@GkB@ECAIB@NwBMEUJHNSDFFNALLS@@HZBBFYBJP[BHTCND@JMZ@FDGJHDH@GHAABCKAIPPFONEJNHEHHDEFFDADBFMP@L"],encodeOffsets:[[119329,40782]]}},{type:"Feature",id:"110105",properties:{name:"朝阳区",cp:[116.4977,39.949],childNum:2},geometry:{type:"MultiPolygon",coordinates:[["@@bFGHBHFBFIVFHHG@@FFB@HDFF@@FRB@LXGt@DHCH@PBDLFBNF@BEXCHEX@ZQ\\@LCPOJCDEAMFEfQLMHCAFH@@KhUNE^AAEHCFDNGVODMI@AEKADEN@CSJw[HCEFQGBBOG@@CE@FOKBDGCAD@C[FCGIB@IE@K^BDOIAEMMIJEDKF@[UMB@GF@EEAUEABSQ@CA@EY@FJI@CHGD@FS@@CAFCACFSCCDCMSHBIECMB@D]@@MKCDCQEAHG@CCG@CGUEIJK@SPOCCNEDQBDNDB@DJCDLFCBBALJB@BVGPBKVO@KHCCCD@FE@BNA@FNCTDDJA@FGB@NBDW@CL@hT@@ZHHQDDDAFSAANBC@HG@EFS@@DE@@PCB@Ue@CADNJB@FCBWA@LI^ix@FIHrH"],["@@HUN‹AJKADGECBCMAG^E@EbI@BEGPKrJEH[\\B@FF@CHFB"]],encodeOffsets:[[[119169,40992]],[[119398,41063]]]}},{type:"Feature",id:"110108",properties:{name:"海淀区",cp:[116.2202,40.0239],childNum:1},geometry:{type:"Polygon",coordinates:["@@plDJVLŒGPBFHjDbHGL@X\\DBNHJREBLRBHaFGŽMGOBQAWPBLCBBAJBDFADOIEJGE@@EP@HCPWP@ZgfBRQJJ\\D@HLHLDVA@IVDFGSI@EGC@EBB@CN@@IZCAGHGaEqGJG@EjwJ]@K@GSA@e_I@NE@CA@Kg@KC@ENCFƒAKQAW@WIMK@V‹@I@@F@^EDFB@HcIaDYCBRRDCHD@EFLN@FE@CJUPEJOJMTBPEDIFCMIAKNOGMRFJNDVBFLSRMJSDGJsFcEiJGDGTIlOjYD"],encodeOffsets:[[118834,41050]]}},{type:"Feature",id:"110106",properties:{name:"丰台区",cp:[116.2683,39.8309],childNum:1},geometry:{type:"Polygon",coordinates:["@@hMN@NFTQCFRCBJFA@HJ@@HJ@HJ\\FTACDŒ@@UNLXJX@@MA@@IECAQlDFEHBDI~D@GXCFMVDFCH@@NF@ANJC@FnAB@AMF@@EDCDDLGP@LUOAUH@AIABKAAEDCKID@CCACMWA@EGDEILA@OK@AELEJBFEEGL@BSOA@EuAFmMACbG@@EM@ANS@ENFDAHSDCL[BEIUBAII@A[E@OaKD@FAACTGVIACDHDAFGAEDoGEFACM@i€g@@QFCMKMU@]SCoBGSMQ‰DEXXDWPO@MKYGM^AdJJA\\cNB\\G^„DNHFCBFABDBJ@PL^D@DF@T@FDAF^A"],encodeOffsets:[[118958,40846]]}},{type:"Feature",id:"110107",properties:{name:"石景山区",cp:[116.1887,39.9346],childNum:1},geometry:{type:"Polygon",coordinates:["@@NQPHLMJBDNJEFCAONSPIFIVODIF@@EKMFEC@DGQCAQZDbCdJ@GEAFC@]@EJ@DCSB[EGII@@GI@@GEBAIQDDESRMEM@gNYTIRKJAJEJ[DFJKLGBGNBJLDCDAHGBJJAFBLEXTLZFBAFDLD"],encodeOffsets:[[118940,40953]]}},{type:"Feature",id:"110102",properties:{name:"西城区",cp:[116.3631,39.9353],childNum:1},geometry:{type:"Polygon",coordinates:["@@XBDA@EIACM@IJAD]BC@SFABISAD]H@@OAEDQEW@BLE„MD@FLDh@@LDBF@@M`J@fTB@H"],encodeOffsets:[[119175,40932]]}},{type:"Feature",id:"110101",properties:{name:"东城区",cp:[116.418,39.9367],childNum:1},geometry:{type:"Polygon",coordinates:["@@DBf@@VDA@OF@@CT@FEH@@GADBMTBBECCRCGG@YS@@gDK@A‘C@PG@C^TBAJEB@TADC^IB@J"],encodeOffsets:[[119182,40921]]}},{type:"Feature",id:"110104",properties:{name:"宣武区",cp:[116.3603,39.8852],childNum:1},geometry:{type:"Polygon",coordinates:["@@RBX@RFFCŽBFU@aK@WA}CCJGAEFkCBRFD@JB@@N"],encodeOffsets:[[119118,40855]]}},{type:"Feature",id:"110103",properties:{name:"崇文区",cp:[116.4166,39.8811],childNum:1},geometry:{type:"Polygon",coordinates:["@@XBL@@bEV’D@BX@AC@MHA@EIBCCDSEMmB@EIDBME@@MG@EDUCENWD@H"],encodeOffsets:[[119175,40829]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/china_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"xin_jiang",properties:{name:"新疆",cp:[84.9023,41.748],childNum:18},geometry:{type:"Polygon",coordinates:["@@@›ρȁôƧƦóəʵסʵóƪԫʵѵͩƧͩړ›υࡓɛʵ@ȃ@óᇑѵƨɝɚôóНѺͩɜ̏ԭʵôƧɞñ@υƩ—݇ȂóƩƧ@ѵȂυœƥŌਗ—॥ɛóʵѵƧѹ˜݇̍ࢯ˜əɞυ˜ρͩ̏óਙƨƧŋôōóš̍ͩóʵן›óŋړͪƧѶ@ɜԭ—ԫƦɛȄ̍›ɝȄöςƩȂ̏œñȀ̏œƩóóŎə˜@Ő̎@ɞȀɝŎôƨóנѵȄƧ@óŏɝœóɜôŎ̍ͨςŎ@ƨóôƨɞ݈ʶóƨφó̎Ȁƨ̍ԮòѸԮמ@ѺȀ@ƪၬֆòȂñ̐òȂɜ˜óƨ̒Ŏ̑߼@φρȀ@Ő๐ς̎Ƨφ@ɝφڔ೦Ԯǿࢰ@ƦŏԮƨƨȄƧ۬ɜʶڔŐɚɚóŐôƨ߼˜ôƧƧó̐ƥóŏѺǿƦȁφƧς˜ƨƧ̒@ɜƥƦυ̐ɛƪͩƩəƪʷ̑ə@ȃƨʵנŋྸōਚԭԪ—@ɝƨŋ̒օςʵôƧ"],encodeOffsets:[[98730,43786]]}},{type:"Feature",id:"xi_zang",properties:{name:"西藏",cp:[88.7695,31.6846],childNum:7},geometry:{type:"Polygon",coordinates:["@@ôŌנœôʶ̎ͪô™óŎƨŌਚƧ̐ôςͪφ—ɚɝࢰ—݈̎Ѻ—Ѷƨôʶ०ɜਘ˜Ʀŋφ›Ѷȁ̍—ôŏɚŋ@̑ə—@ŏò̍ɜ›óƥôʷƧ̍φѹԪ̍ע@Ѹʷɜ@ôñנ@Ѷɛɞô̐ŏѶƨѸƧƥōƦœôŏô—@ƧôƩ̒ŋƨŌƦǿô̎ɜȁ̒—óʶѶôôО̒›ςƥɜНφσɛȁ̎υƨఱƧŏ@ʵƥœ@ŌóóóͩƨƧóŋ̑õóɞóɝԩͪɝρôƧ̍ƧѹͨڑŎ̑ōóƧࢭͩ̏ѵɝóఱóóԪυô@̒ƥŌ̏Ƨ̑Ȅ݇ŎƧ›ѵӏ@ɛõŏɛȄôӒƧŌѵǿɝ˜Ƨŋԫ@̏ʴƥ@óǿ̑Ȁóǿ̍ςóóυô@ʶɛñρƦƩŐó̎óœѵó̑ͪࢯОóɜן˜Ƨ̏ƥȄ߻̎̏̐ןŎɝɜöɞƩȀôöɛȀóͪ̐ƨƪ̍̎ȂƥԪυО@φɞ˜ôƪ"],encodeOffsets:[[80911,35146]]}},{type:"Feature",id:"nei_meng_gu",properties:{name:"内蒙古",cp:[117.5977,44.3408],childNum:12},geometry:{type:"Polygon",coordinates:["@@ኊȁ૊ö߼ƩɜɛנñԮɛѶóԮô@ȁѸóמ̎ගѺၬ@߼ʶԮӒ߼̎@ŐѹӒ̒Ԫƨöග̑ѶȄ̒ς।œѶɚöɞɜʴڔôôȂ̎—ѺȀς—ƨ˜ƪóԪ—ɜôɛОਕڔԭ˜ѵ̍ѹȂԫ›ɛƥ̍Ȃóɜ̎ô@ʶ݊ੲࢮʵږͪנƨôȂƧ˜̐ͪ@ŐƦƨφԬѶɜôƦ@ŐƧôôƦəŐ̏›@ŐڒѶԬô̐ʳԩНςōôŏɞ@ƨȂѶəóƧ̒ػ̎ó̐Őנóƨô̒@ƨɚɚ@עԫɛɛ@ȁυͩƥʳòևρ—̑ࡗƧͪ༃ॣԮփ̎Ʀ@ôô@ôō@š@ȁѵóƨ̍υȃóʵɛƨƥóυȂóəƪ›̐ρƧͩɜԭڔȄ̎عƧȁ̐ŏó̍ɛ›ƥƧ̑óρŐ@Ƨ̏˜ɝəɛ˜߻ͩ̍ͩɝО̍ƪƧóóӓƨóƧʳ݇@ɝςƪœ@ʴƩ—ƧƦôƨɛȄə›Ƨŋυ›óͩѵ@ɝǿóŌן̍ɛ˜óО̍œ̑̏ôȁ̍ŏòȁñóƦͩ@ǿə@ɛƧ̑˜ρȁυô̍օѹœóȃə™@ȂσʵѷƪòƩ̍—ôó߻ۯôʳƧ™óšõʵѵóѹɜ̍ȂѹôɛŌφֈƩͨρóυӑóޟఱ̑݇ͪóƪƨŌóȄڔԬƩςםñ̑ȃѵŐԭŏƨȁɛǿρôõɚɛóƧОə@ѹ̐ѵöԪͨôͪɛ̒ןŏƧƥóôƥƧɛŌôóɝó@̒݇Ӓ̒Ō@Ŏԭࢰ"],encodeOffsets:[[99540,43830]]}},{type:"Feature",id:"qing_hai",properties:{name:"青海",cp:[96.2402,35.4199],childNum:8},geometry:{type:"Polygon",coordinates:["@@ƨ@ôƪ݈ȁƪ˜@φɝòóƨԮʶɛ̐ѹͪôОəóƧɞᇒѶ@ôږô@ǿѶ›ƪȁςœɜͩφ˜ςŋɞôѶɛƨŌɞ—@ɚςŐñԪॢͩƨȂɞóƨŐ̎ŏעӏ̎óƧƦôœ̒ȁɜ›ςͩ̒œɚɛƨôƨɝφɛóȁƨŋóóɚͩƨóóƩ@ƧəŋƦƩ̍@ƧƧôǿυ̑@ȁɞǿõŏρƥסɚƧóτԫɞœôƧƦ@ñȃòñƥóυôôѹѵ—@ŏ̏Ȅɝó@ȂəŌóəѹƦ@Ő̍Ōυ݈ԩŐƧóôƧ̑›ôʵɞƧ̑ѵôƩɞƧ̑œóНѵóôʵ̑˜ɛȂó̍ƥȀƧŋ̑Ōóƪ@ƨó˜óŐƥ›ƦŎѷƨѵƧ̏Őɝóѵɜן@óòɛ@ѷʸס@ԩ̎υѺƨ̎óʸôƦɛœñ̎@Őɚ˜@̒əŌóŐ̎˜"],encodeOffsets:[[91890,36945]]}},{type:"Feature",id:"si_chuan",properties:{name:"四川",cp:[102.9199,30.1904],childNum:21},geometry:{type:"Polygon",coordinates:["@@ô˜ôŋó̑Ԯ̒ɛОמͪƨōöͫ߼ƥôȃƨóóñôƧóƧôōڔŏƨŐ@Ŏô˜òƥѺŎ@ōɜóנ˜ôǿô›ƦôԮ̍ɜôɚ›Ƨ—ñɛɚȁ̍Ƨɛևυ@óóôŋρԭɝ@Ƨʸ̍ŏυɜƧƧóƧƨȁρ̍ƨȃɚ—ôʵφóô̑̏Ȃ̑ʵɜʵɞ@ƨʳסƩóŎə—óɜƧôƩƧρ˜óôôô@ŎƧƨƨƪѹ˜ó̍̍Ʃ@̏ѹНôޟ̍Ʃóƪυɝɛ—əƨôŎɛȀ@Ȃ@ñɝʶ@Ōρנ̏—õóɛͨƨȂѵОɛʵ@̏ƩŐó߼Ƨల̍φɜȂυτɛОρƦɝƨóƪ̒Ѷɝƨóʶ̒œóƨƨôԪŏφ݇̎ŋ@ŏѺƥôɚɚŋ@ȁɞô̐ȃ@ŐѶ˜óѺφóƦôñòòȄ"],encodeOffsets:[[104220,34336]]}},{type:"Feature",id:"hei_long_jiang",properties:{name:"黑龙江",cp:[128.1445,48.5156],childNum:13},geometry:{type:"Polygon",coordinates:["@@ᇔȂਚНƨŐѶŏöƥςŏñƧƦóƨȁ@óƨ—óȁφӑóóƨ˜óǿ̎̑ôНɞ—ó̑ɜə߼›̎ǿ̒ôڒӑφ@Ƨȁ̎̏ƥƩ̎ρశ˜ôȂςƨφ@נɞ݈˜̑ƥƧɛƨʵƧȃƥ@Ƨƥ@ŏ̑ԩôɝρρóɛƧ›ƩͩƧó߻ʸ̍ʷѹƥɞڕõ̍öɝυ—̍ȂƧ̐̑ŏóƨñŋѹóóȁ̍›̏Ԭõʸ̏ŏ@ǿ̍@ƧОυ@ñƨòȀƥŎ̑ŐѵóɛŌóȂԫōƧŎѹñ̍ʶóОן@Ƨ̎Ѷô@Ȃ@™óŎó@@ó̍ƥԭք༄।ƨͩ̒ࡘς˜ñֈƦʴφͪ@ȂɜɜסԬə@Ƨə̑@Ƨóןô̏ŏ̍ô̑ؼôƨѵɚƧȁɝ@óŐρŎԪО̏ʴ"],encodeOffsets:[[124380,54630]]}},{type:"Feature",id:"gan_su",properties:{name:"甘肃",cp:[95.7129,40.166],childNum:14},geometry:{type:"Polygon",coordinates:["@@ڔôԮࢯ@ō̑ŋ݈ӑ@̑ɞôóôɜŋƦƨôóƨƦנŐɜ̑óͩԩͧѶõѺ̏ɚ@ƨНɜôöəςóɜȀƧȂԮŐѶŏ̒ȄמòƪρړԫôȃƧŋôƩ݈ͩɚ@@ǿɜ@φͩóŏɜӑƧōôǿ̎›ôƥƪóõ›ö@ô—ƨ˜ôƧƦôó̒ɜ@ɞŌõʶ̏Ő@ȀóôƨȂ@ʶע@@ƥ୾ӑó̑óŋôʵóɛړ@@ƩöóƩóρ—ɛƨ̑@óʷƥƥ̎ɛƧ›ôōƧǿôͩѵôɝȃɞȁõƧρóó—@ōƧŏړŐóŎôƨóƨôòƧôóȄ߻ƦõͬƧŎםͩɜНԭ̑ô̒óŌó—ƥ@óƨɝ›σԬƨôעəςƦöŐɝȀ@Ȃφ̒óȀƨƨ̎@ƥƪɚŌ@ƨôƪƧôəͪôôƧŌôȂυɜƧɞƧóəɜ̑›ρͪɛœ̑Ȃó›ƨƥ̍ôסӐ̍ŐƧŏɝôƧȁॡͪòԩρŏ@əɝ˜ƧŋѵɜɝóρŌυ—ɛͪρ›ƩȂѵœ@Ȁڕó@ȄɜʶφࡔڔœƨͪѶͪԬʶôƩעʶɚʶƥôóƨςȂ"],encodeOffsets:[[98730,43740]]}},{type:"Feature",id:"yun_nan",properties:{name:"云南",cp:[101.8652,25.1807],childNum:16},geometry:{type:"Polygon",coordinates:["@@ôɞôɝ̒öôŌƧƨôͪôô@ŋƦ›@ʶƨŐô߻ƪŏ@̐ɜʶѶНƧȁɜͧöô̐˜ςן@ŋɞʵ@ò@ȁɜǿóōɚƧɜ˜φɞôƩ̎ƪóޠѺО@̐̎ƪô̎Ѻ—ƧƩƨƧ@ōóóôóς—ƪƨƨóôɛó̑ԭ—ƥŌɛǿɝƨɛͩô›@ǿƨȁѺŌɚɛ̍ןѶНɛƧôóƥȁƦͩôŎɞ—ƨ̑ɜ—òôφ@ƨʵ@ɛѹōóȃəƨυǿóʵρƧƧŌƩɛ̏ȄñƧƧȀɝ̍ԩʶƧ̑υ—óŌƥʳɚӑóНƥô̑›óӒѵʵѹœƧӐןôƪφõŌƪ̒ԫŌƧؼƨƨס›ρȁƧœƨȂóʶó@@ʴƨôôφ̎Ŏ@Ȁƨ—ƪɚƨœóƨôôôςóޤƧŌƩŋƧԪ"],encodeOffsets:[[100530,28800]]}},{type:"Feature",id:"guang_xi",properties:{name:"广西",cp:[108.2813,23.6426],childNum:14},geometry:{type:"Polygon",coordinates:["@@ƦŋѺ̎ڔʵƨŐ@ƦמȄƪôóȂɜŌɚͩɜ@öóɜôôȂƦôɜȁ@ɞφ›óȄ̎›ƨʶɞŋƨʴɚǿ̐̎Ԭ@ôñ@̏ƨ›ρ۫ô›ɚƨƨНƪŐ̎›ƥóƦʵƥŋ@ȃóƥƧ@@ŏɝǿôυƧȁѵɛ@əóŏ̑@@ə̍›óƧó—@ȁƩ˜ρóòНƥô@Ӓ̑@óŎ̍ƥσŎυ@̍ƨ@Ō̑ôóͪƨ̒óŌړœ̏Ŏ@ŌôȄѺŎ@ɜƧʶυ@ñóɛ˜Ƨ̒ɝ˜óōƥͪ"],encodeOffsets:[[107011,25335]]}},{type:"Feature",id:"hu_nan",properties:{name:"湖南",cp:[111.5332,27.3779],childNum:14},geometry:{type:"Polygon",coordinates:["@@@քɜОƨ@öŐמóƪôƩɚ̒Ő߼ȁςͩɜòƪ—ɜȀò—ñɝò—Ѻͪ@ŏƨŋóɝôǿƨ™ɚȃóəƨȃѵͩó̍@ȃƨóóƥƨƧ@ʵƦ›óͩɜ—ɛóñԭɛōυȂ̍ƧƦō@ɛƥ—ɛȀ̑œóʷóō̍œƩŏƧОəƧóœς۬Ƨœ@̐óòԫ@̏̍əȀƧʳɝŌóɞƧ˜ƨɜóŐƨò@ȄƧŌρŋóôԪОóʶ@̎óȄ"],encodeOffsets:[[111870,29161]]}},{type:"Feature",id:"shan_xi_1",properties:{name:"陕西",cp:[109.5996,35.6396],childNum:10},geometry:{type:"Polygon",coordinates:["@@ςôöƨɝȂɞȄѶóóͪƨȀóŎƨœ̍ɜƦƦôʸ̒@ɜƧς˜ƪôõô@ƪڔ@ôɜóʶôŌô̒୽Ӓ@Ʀ@Ѻ̎ɜѺɛѶôöʶô™ƨšóʴ߼۰óô̎˜ñƪѸƩτʶ@ȁòŋəѹóǿ̑ʵ@ȁ̒ʷυփô݉ôН̏ط@ȁƨóô̏ƪõ@ʳ̐ʵ@ɝɛŋƩŌɛóןôƧŋ̒ó@ŏ̐ƥ@ŏυ@ƧƧôן̏@ƥȂѹɜəœɛóԭ̎ƥóóœóȀן—ɛô@ŎѹōñƦ"],encodeOffsets:[[108001,33705]]}},{type:"Feature",id:"guang_dong",properties:{name:"广东",cp:[113.4668,22.8076],childNum:21},geometry:{type:"Polygon",coordinates:["@@@Ȃô˜ôƨ̎œ@ɚ̒@ôŐ@ɚѶɜƨȂóφɞȀ@Őƨ@ôƦ@ȄƦŌƥʶƦôôŎôʸ̒›ɜǿƦ˜@ɜƥŎ̎ƨφȁɜŎòƥԮŎƨōóŏɛƧɝəɞƧ߼ɜςȃñȄƦŎ̒ōôòƨəƨ˜ɚН@əƨ̏ƪʵυŌəɛóəԭŏəœóŏѹœρʵɝƦ̏™ƥʳѶ›öō̑óóŋρȀυƧƥɛѹōƧôן—ɛŏѵ@óŋôʵɝ›ƪԩõ@Ƨō̍@Ƨ@@ƦɝԮƪО@@","@@X¯aWĀ„@l"],encodeOffsets:[[112411,21916],[116325,22697]]}},{type:"Feature",id:"ji_lin",properties:{name:"吉林",cp:[126.4746,43.5938],childNum:9},geometry:{type:"Polygon",coordinates:["@@נ@ôН̎ʵѺòƨōԬŎôȁɜŋѶô̒ŏƦōñǿòƧφ@ƨН̎@@Ȁ̐Őöʷ̐ԫ̎œôȂѺôòŌôƧ̒Őƨ̏̎ȁφ˜@ŋƩͩםȃƨ—@ȁ̑ʶ@Ōóôɛœƥѹ̑—συ݇@ɜρƧȃࢯƨôœəȂɛōƩɛ̏υρóõœƪʴυφ@ʶôŌóœρք@ɜƧ@ɝǿƧͪρȀƩó̏ŐƨȂ̍غړȃɛԮƨͪ̏ςƩœôɚφȁƦôɜƧôʶφȄ"],encodeOffsets:[[126181,47341]]}},{type:"Feature",id:"he_bei",properties:{name:"河北",cp:[115.4004,37.9688],childNum:11},geometry:{type:"MultiPolygon",coordinates:[["@@Ʃ̒̏ŌѺ̒Ʃ˜óȄƧŌƥͪòôñȂ̎ŐóȂ̒̐̎›ôНɜ—נ̎ôŋɞȀѶ@ôͪφœƨŌɚœɜȃóƧƨƥƪ˜@ʳƩ›ɞρ݈@υНφʵɜ˜ƦρƨƧ̍ɝóɛѹ̍ρŏ̑ôóƨ@œƧƦôƨɛ@ƥƨ@ȂƦ@@ôəŐƧʶƨŌυœ̍̎ɛŋôōɝ@óƧ̍›ƦʵѵʳôʵɜŏςôƪŋƨŌɚ@ôНƥƧ@ōѸɛ̐ô̎ʵѵНԭ@̍̍Ƨò@ȁɝ@əρυͩƪ̏ƩõƧŎƧōóšॡȄɛʶɜȀ@ɞςѶƧœƥςɛŐ@ɚɜɜ@Ŏôôςœƪς"],["@@õə@Ƨɛ˜@ŐóƦφô"]],encodeOffsets:[[[117271,40455]],[[120061,41040]]]}},{type:"Feature",id:"hu_bei",properties:{name:"湖北",cp:[112.2363,31.1572],childNum:17},geometry:{type:"Polygon",coordinates:["@@ñȄυƦöŐƩ˜óנƨƨφ@@Ő̏Ʀ@Ő̑ôƨŌנóɜôƪŋɜŌѶօڔə݈òɞōɜŎôӏƦóƨô̒óôȃƨó̎ŐôƧƪ@ƨȁςƧə̑̎Н@̍Ƨŏρôԭͩԫ—̍ʵƧšóȀôɞƧŌ@Őѹͩñ˜òɞñ˜ɛǿƩ˜ɛñρͪ߻Ȃ̑ŏƪəƩóםôõŏƧ@ɛНƥȄó›̑ѺƧ›ôφóƨƨƦƪóɜŐôóòôƨóφ̐ƨóƦ̎"],encodeOffsets:[[112860,31905]]}},{type:"Feature",id:"gui_zhou",properties:{name:"贵州",cp:[106.6113,26.9385],childNum:9},geometry:{type:"Polygon",coordinates:["@@ɜȀƦŋԮ˜ô̒ɚ˜ôōעƪƧʴɝ@ɛʶ̒ʶ̐ȁƦœóȂô@ôŏ@ōô—ƨʶѸô@ʶƨ˜ɞó@ōτöòυƨ@@əƨô@ɛ̒@Ʀɜôȃ@̍ôʵԩНôóςŌƨŋ@ȃƧñôŏƧɛƨ—ôɝƧʵ̍œôȃυœ@ɝɛȂƥóóȁɛóõôɛ@əͪɛŋôȁƩóםȃ@ƥƧŏړʶѹ̍ƥŌƦȂóôɜƨѵО̎נəɜѹŋƧȂ@ȀóœɜͪɞƧ"],encodeOffsets:[[106651,27901]]}},{type:"Feature",id:"shan_dong",properties:{name:"山东",cp:[118.7402,36.4307],childNum:17},geometry:{type:"Polygon",coordinates:["@@Ʃ̐φͪɚςɞ@@Ȃƨñ̎̎Ԯ@ѶОƨƧڔ@φН̑ŋ@Ʃ̒ǿ̎@ƨɜԬςôʶ̐ʶöԫƨƧנƥɜŎôō̎@ôŏóρƧŏԫôóƧԩó@ƥɜƧԭóƨʵɛƨ߻ӑɜНԩ˜óô̑óƧʳə™óɛƧ@õȀƧœ̍ȃɛŐóŏυО̍—óɝƩ—ԩ@ƧɚԫȄɚʶƨ˜ɞʶԪ̐ړɛƪ̒"],encodeOffsets:[[118261,37036]]}},{type:"Feature",id:"jiang_xi",properties:{name:"江西",cp:[116.0156,27.29],childNum:11},geometry:{type:"Polygon",coordinates:["@@ƧȄôɚəȄ̎ʶԬ˜ԮͪςóƨŐƪ›τɞƦōƥƧ@ŏςôóŐôô̒ʷѶ—ƪƩƩǿ@ō̒ɛôυ@—Ƨȁѹɛəƨѹ̑ƨ̏óƥѵʷô̍ɛȁôŏɝǿƧԫƧ›ôʳƥōòȃρȄ߻ɛɝƨɞɚɜƨôŐƧŎԭōñƦòԮɜôɛ˜ôͪƥœ@ʶƧƨôƦƧô@Ȅô̎Ѷͪ"],encodeOffsets:[[117e3,29025]]}},{type:"Feature",id:"he_nan",properties:{name:"河南",cp:[113.4668,33.8818],childNum:17},geometry:{type:"Polygon",coordinates:["@@φ˜̎ƪ̐˜ɞȄɚ@@Ȃעó̎ŌѺ̒ôֆॢȃô™ƨŎƨōƪöƩ̑ڔɜԩ̏ɝʵƧ—əʵԬȃƨəԪ@@Ƨ̒ŏô̍υȁƧɚ̍ôóŋ@ɝƧŋõ̑σ—@ŏɜŋôɝ̒ƧɚôôطρóóɛƩ@óƨ̍ŏƧôóȄ̑ôƧóƥôóӐɛōɝŎ݇ñړɚѵֆ@ɞ̏ʶ@ʴƩöó̐"],encodeOffsets:[[113040,35416]]}},{type:"Feature",id:"liao_ning",properties:{name:"辽宁",cp:[122.3438,41.0889],childNum:14},geometry:{type:"Polygon",coordinates:["@@ƨʴƧôôӔƨô̎ƩɞН̎ͪ߼ͪɜ—ɞɚ̐—@ƨςŏ̒ôƦƨɜœô̎ƪôςǿƨͩɞȀƨ@@ɛςփô›óŋ@ʵφυƩʳö›॥փρѹס@əɛ@ͩࢯ@ѹʵρ—ƩʶφȀƧ݈̒۬óʸɝŎѵ@ԭԫןɛƧƨƥςɛ—υʶφО"],encodeOffsets:[[122131,42301]]}},{type:"Feature",id:"shan_xi_2",properties:{name:"山西",cp:[112.4121,37.6611],childNum:11},geometry:{type:"Polygon",coordinates:["@@ɚѺñŌɚšôȄѺ›̎ֆφóςȂ̒—ɜƨɚ@@Ȁƨŋôȃƪ—ѹ̑̐ŋƪ̑Ʃρρ›óó@ōɛɛ@əɜŏƦρƨ›ρѵ@ɝɛǿɜʵóօѹ̑̍ŋסô@ȁə@ɝȃ̏—̍Ʃυ—Ƨô@Ȃ̐ظóОó݊φք̑ʸ@Ȃ̒ʶôȀ"],encodeOffsets:[[113581,39645]]}},{type:"Feature",id:"an_hui",properties:{name:"安徽",cp:[117.2461,32.0361],childNum:17},geometry:{type:"Polygon",coordinates:["@@ó̎̑Ő@ƨƪ˜Ѷǿɜ̑φ—Ʀʵ̐˜Ƨѵôóƪôôυς—ƨȂɞŏ@̍ԫôò̑ƥ—óȃѶͩƧƥôŏѺœôŏƦ—@›ƥͩƧ—ôȁυó@̑ƧɛѵʵƩƪѵ˜̑ʸóóôŏρó@ŐƦƨƥŎσɝƩœ@̎̍Оɚ̒ρƨƧȂôɜςôóظəó̑ƨóɞɛŌ@Őτ˜ö̒ƨŌ@ɞôŌ̎óƨəφȂ"],encodeOffsets:[[119431,34741]]}},{type:"Feature",id:"fu_jian",properties:{name:"福建",cp:[118.3008,25.9277],childNum:9},geometry:{type:"Polygon",coordinates:["@@̎›óȁƨӑ̒—̎ɚƨͩφŐƨɝ̎ŋóŏρ—@ōƨ›òʳəóƨō̏˜õɛƧ@ƨѵƧōəŏóŋƧô̑ɝɛʳƥ@@óɛõ@Ƨ̑ƧóȁəƧ̑—Ƨ̐@ɚəОƧ—Ƨɚóñ̑ŎóʴƨœƨԬɞȀóŐɜȂó̎ѶʸôƦƧ̐Ѻ̒ɚƧѺɜƨȂ"],encodeOffsets:[[121321,28981]]}},{type:"Feature",id:"zhe_jiang",properties:{name:"浙江",cp:[120.498,29.0918],childNum:11},geometry:{type:"Polygon",coordinates:["@@Ѷʶƨɜ@̒φôóȂƨ˜Ʀͪ@œ̐˜Ѹ̍τȂ̒̑נŐמôƪƧôӑ̑›@ƥρͩƨօ̏@@υɝó@ŋɛ@ôƩəóƧѵυó@ƩɜŋƧ@̍ŌƧɞυŏƧͪ̍ə̑˜ƧӒôȂ̍œ@˜óφ̑ɜ@ŎƪȀ"],encodeOffsets:[[121051,30105]]}},{type:"Feature",id:"jiang_su",properties:{name:"江苏",cp:[120.0586,32.915],childNum:13},geometry:{type:"Polygon",coordinates:["@@ôɞ̎˜φНôŐɜŏ̎Ȅƨ›öǿƨ@ôɜɚšƨʴ̒ôôó@Ƨ̎əԮȃԪૉöͩ̐ƧòʵφƧôʵ@óړɜóŏɜǿƧ›ɝρσȁѷ̎̏—ƥ˜óŐѹ›óŐƨƦѵͪôȄƦ˜ñ̒Ԭó@̎ɝŐƧȁρ˜óφƩóóôƨѶ̏—ƥʶυ˜ɛ̒ѵȀ"],encodeOffsets:[[119161,35460]]}},{type:"Feature",id:"chong_qing",properties:{name:"重庆",cp:[107.7539,30.1904],childNum:40},geometry:{type:"Polygon",coordinates:["@@əȂòɜƨ˜ѺɛƦȁ̐@ƪ—õŏφƥòȃƥ̍Ƨôυ̏ƧôñóóôɛŏƩôƧƥôƧóυƨœ̒ѹôœƦȃ@փƥɛ̑@@ɜƧó@ɚƧ@ñφσõ@ŎɝôƧ—@ʵѷóƧʵó˜@ŎóŐó@ôȁƥ›ó̒υôóʶə˜ƧȄς̎ƧȂôƨƨƨφɛ̎Őƨʷɞ@ςԮóŌôôφ@ɜֈ̎ƨ"],encodeOffsets:[[111150,32446]]}},{type:"Feature",id:"ning_xia",properties:{name:"宁夏",cp:[105.9961,37.3096],childNum:5},geometry:{type:"Polygon",coordinates:["@@ల̒ôޠφӒςôƪͧυևɜŋѺó̎ȁ̍ɛ@ѹס@@ʵƧȁôó@ǿ̐ŏöʵɝŋɛ@ô̑ƥóóƨƧ—ó˜ôœó@ƩôóƦ̍œóȀƨŎɛӒôŐυͪɛ@@Ȁə@"],encodeOffsets:[[106831,38340]]}},{type:"Feature",id:"hai_nan",properties:{name:"海南",cp:[109.9512,19.2041],childNum:18},geometry:{type:"Polygon",coordinates:["@@φɜƦʶ̐ôφô̎@ƨŎö@τʵƦ˜ԩ۫õН̏óƥȃƧ@Ʃəםƨ̑Ʀ@ޤ"],encodeOffsets:[[111240,19846]]}},{type:"Feature",id:"tai_wan",properties:{name:"台湾",cp:[121.0254,23.5986],childNum:1},geometry:{type:"Polygon",coordinates:["@@ô—ƩɝöƧɝѵəޣ̏ρƩԭóōóͪρɞƧОôԪ݈ଦѶɜ̒ɛ"],encodeOffsets:[[124831,25650]]}},{type:"Feature",id:"bei_jing",properties:{name:"北京",cp:[116.4551,40.2539],childNum:19},geometry:{type:"Polygon",coordinates:["@@óóó›υóôƥ@ŏóóə@ƧŋƩŌρóɛŐóʶѶʴƥʶ̎œôƨɞ@óŎɜŌ̎̍φ›Ƨŋƨʵ"],encodeOffsets:[[120241,41176]]}},{type:"Feature",id:"tian_jin",properties:{name:"天津",cp:[117.4219,39.4189],childNum:18},geometry:{type:"Polygon",coordinates:["@@ôôɜ—@ƨöɚôœôôɚŏ@óƥ@@ȁƦƧɜ@óƧƨƥ@›ƧóəН̏óѷɜ@ŎƦƨóО"],encodeOffsets:[[119610,40545]]}},{type:"Feature",id:"shang_hai",properties:{name:"上海",cp:[121.4648,31.2891],childNum:19},geometry:{type:"Polygon",coordinates:["@@ɞςƨœɛȀôŐڔɛóυô̍ןŏ̑̒"],encodeOffsets:[[123840,31771]]}},{type:"Feature",id:"xiang_gang",properties:{name:"香港",cp:[114.2578,22.3242],childNum:1},geometry:{type:"Polygon",coordinates:["@@óɛƩ@ρ@óœôȀɚŎƨ@ö@@ōƨ@"],encodeOffsets:[[117361,22950]]}},{type:"Feature",id:"ao_men",properties:{name:"澳门",cp:[113.5547,22.1484],childNum:1},geometry:{type:"Polygon",coordinates:["@@X¯aWĀ„@l"],encodeOffsets:[[116325,22697]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/chong_qing_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"500242",properties:{name:"酉阳土家族苗族自治县",cp:[108.8196,28.8666],childNum:1},geometry:{type:"Polygon",coordinates:["@@XJ°œlJX@lbl@XbV@VLnJlxnbšƒUU@IVK@lVIVwnJlU@n@J@L@Jn@l_nWVLVln@@blLšmV@@xœÔ‚`nœ™xV‚ÈLlx„LVxVVšƒV_U»VWn_m¥XwVmnX°ƒlmUUVwÞaVƒk@a@mmIUa@™mwk@™ƒm@@U¯a@UV@@K™@ykkmwkV@kU@ƒÑƒVkKWLÅamaUm@kyU@WkU@Ua™IUašVaUUmUUa@aVLXKWa¯UUbmJXnWnX`l@@xkzWÆ@V„LU¦‚x@b@JkIkJ@LmbUamJwm@óxƒnk@V„@x„ŽVnUVmVUVŽUbVlUbkXWŽ"],encodeOffsets:[[110914,29695]]}},{type:"Feature",id:"500236",properties:{name:"奉节县",cp:[109.3909,30.9265],childNum:1},geometry:{type:"Polygon",coordinates:["@@WVXb‚UnK@x@b‚²kxmKkl¯_ƒVV°™VU@bnKVVV@@nkŽ@n›bn‚@š°@VLČUš@°WV@V™nU@InKVl@nU„b˜KnX„WlknLlKUwnalLša„VlUXmWk@UU@UWWIUyķ¹XaWW@X™ƒKUIVm„U@W@UVU@KV@n»VkUkÇmUmVIUmULUbm@ƒwUaƒKkkm¯ÑUL@bWVnx@VmxUI@„klmkkK@aƒK@IlJ@I¯ƒk@mak@mnkJVL@bV@Ub„„W`UUUV™I@VƒU@VVbUJVLUVVbUX„VVxk¦VJUnVxnVVUšJV@Ubl@@bXV@L"],encodeOffsets:[[111781,31658]]}},{type:"Feature",id:"500238",properties:{name:"巫溪县",cp:[109.3359,31.4813],childNum:1},geometry:{type:"Polygon",coordinates:["@@nLWbX‚VLVU„V@KšIVl@b„@lbšU„VnU@JÆU@V@n°KĢUl@VbÞKšVš@„_„V‚KXU‚U@KXƒ@wlkkU@mWKUU@UôJ@XV@œaVmÞIVaVLƒƒ@»kmƒ@ƒUkL™U@aU@WWƒLUUU™™KkbƒwWa@KU@kaƒXmW—LƒamVk@UmL@JmVUšU@¯X™@ċVUK¯@ÅnWK™LkKULWK@UXK@wW@™LkV@bVLƒlXn›`¯xU„°LnŽlV@n°Lnl"],encodeOffsets:[[111488,32361]]}},{type:"Feature",id:"500234",properties:{name:"开县",cp:[108.4131,31.2561],childNum:1},geometry:{type:"Polygon",coordinates:["@@n@na‚I„wš@@VVK„LVbVxnVÆUnanKWXamKmk¯K@mkUm¯KVƒ°w@Wm@UIUUlKUU@a¯KWanwmUXamKkUWUnU@KƒkUwWKXaWLUWkImaUUUƒƒKka±k@lƒ¯w™wmbUƒ™ƒkXm@UJkIW‚XXƒbƒmƒ„UJ™XUV@°šKlšlVXV@xmbnV@blV@VšœU`UL@V™a@bULlb°VXbܚ@V@bƒL@J„xnLVb@lVb@V@@z˜bXWšX„KVLV‚š@@bUVVL@b„„lVna@ll@„zl@@J"],encodeOffsets:[[111150,32434]]}},{type:"Feature",id:"500243",properties:{name:"彭水苗族土家族自治县",cp:[108.2043,29.3994],childNum:1},geometry:{type:"Polygon",coordinates:["@@„Jlb@nVV@bXb@ÆlL„Ul`nVKU¼VxkbW„nlUxlXX‚@°°WnnJ@VUn@J„k°L@VlV@nUJ„x@bVVVz@VnLla„KnalVlIUŽ„¼@nV@@anKUwVal@UlJœƒlI@akU@UWXKVI‚¯Uak@@KmkXWÜkXWykIWwXw@laXamkVUUym_XmlkkmmakwmIUKU@Wak@kaW@kI¯›WIk¦VŽƒUUƒmaUV@XkVUV±aUb¯b¯¥m@@ImJ—@mƒmL@kUKUkkJƒbV¦"],encodeOffsets:[[110408,29729]]}},{type:"Feature",id:"500235",properties:{name:"云阳县",cp:[108.8306,31.0089],childNum:1},geometry:{type:"Polygon",coordinates:["@@lb„LV„VVnblJVXXKWbXLVx„l@LmVXVVl‚nLWbnVmxXb°L@bVVkLVVVJn@@X‚‚œ_Wm„kUK@alUšKX@@xWL@VXLVKlLšKXLÆm@™mœa@ml@mU@UUmL@aVšUU¯„U°`lknLlw±@a@wmLVWaXU@KWU@ak@VaU@™IUVmUUwVmUIl¥UwƒUVWUaVUUKVIUa@UUUUJƒUUm™kƒ„nl@„@VWV@L¯aUb™Ulxƒ@@b@VULUx@VUxVV™U@bU@mxU„U@mUVŽklkkƒ@WxknlxK@amLƒKU„K"],encodeOffsets:[[111016,31742]]}},{type:"Feature",id:"500101",properties:{name:"万州区",cp:[108.3911,30.6958],childNum:1},geometry:{type:"Polygon",coordinates:["@@ĸĊVI„ƒ„n„aWWXlJVIn@lWš„V„našx°xk„l@²Ž‚LVƒ„LnK@b‚LkwlmXw„@lllkUnVV@VƒnwV@@ašVUUVw@UVwVK@U@a„@kwšVVa°b@KXU@U@ƒmk„ƒÇсaml™kUVmn@VULU˜m@kUVkUaƒwUWm@Uw¯„mKUUmVUUULUKU„W@XbWVkaWwkUU™ƒ™k@maUbmbVlk¦ƒxUVUIWVU„kJVVkL@UmJ™UUVU@lLUVU„lx„@@VbƒJ™U™L¯¤@Vƒ„"],encodeOffsets:[[110464,31551]]}},{type:"Feature",id:"500229",properties:{name:"城口县",cp:[108.7756,31.9098],childNum:1},geometry:{type:"Polygon",coordinates:["@@VK@w¯L@m@UÅV@ImVƒU™Vkaƒ@@aUk™J@LƒUUVUKmLmbÅVmUUwUaƒKUL@U™@ƒxJmbm@nVJ@X@VkV‚n™lƒLXx™@ƒb@bUVƒLU`UnƒbU@@ŽmVVX@JX@VLVVšklV—„‚`@bUL@V„LVKn@‚U@„UJkn@lmLmK@X@Jn@mb„nÞWVXnJ‚k„KČÑÆ@VK@knaÜmXlUČW°kôÇƁ@a@yÞ_VmƒUnU@K"],encodeOffsets:[[111893,32513]]}},{type:"Feature",id:"500116",properties:{name:"江津区",cp:[106.2158,28.9874],childNum:1},geometry:{type:"Polygon",coordinates:["@@„InWUUlU@LVašlX@°²lÒXxlK@Ul@@Un@UaVJ@I@W@UƒUUVUwVIUKUa‚UUVwn@Üx@XUlnn‚bœJ@¥VklKUUlk@ynU@kVƒUUVWnI@¥V£VWVIUKU@UVƒa@n@Vm@@nlUaVkUwƒJ@blLkLW@XWmXkmmLn™@m@U@UVm@™„UVUUlakUVa„ƒVkV@@wnaWUk@VwkƒlmVIkUUxmJ@U„™@KƒIkx±V@IUm@K@IUKkbWKUbn„m„@bmVnbmb@xkxUJ@ULW`@bX@WVXL@Vƒš¯„mk¯@UJ@VmLUaWnX@WJ@nkKkxW@UIV@@KkImmkK@UW@XaWIU@U‚ƒIkbWb„xXŽlLVbnV@bWlX@VxVLnl@nÆÞVÜ"],encodeOffsets:[[108585,30032]]}},{type:"Feature",id:"500240",properties:{name:"石柱土家族自治县",cp:[108.2813,30.1025],childNum:1},geometry:{type:"Polygon",coordinates:["@@„š@kl@š¼UbmVXJ@bV@nxVIVJULVVk@@LWbnJVU@bVbUJ@blLXnWV—@mbnV‚@V„„bn@VJVLnaVanbl@„šVšlVXxlbXUWaX@VƒUUVwUUVm@I@WmI@a„mlLœ™lK@alwnUV@kóVaƒÝk@UlbVK@™VU»VUUVWUƒ@U`ULkwm@@KmU@knKƒ»VkJkUmbƒLkbmK@UUyUU@aƒwm@@XXJ@VVLVVUbVnUJVX@K„„k`WXXJWXUbmW@bkL™Um`Xnƒb@JVL@LU@™°VVXKVnUxVLUbmJ"],encodeOffsets:[[110588,30769]]}},{type:"Feature",id:"500237",properties:{name:"巫山县",cp:[109.8853,31.1188],childNum:1},geometry:{type:"Polygon",coordinates:["@@kVƒU™bkKmbVxkLmKkllbV@@LXb„xlašLVšVV„KXXV@@bšVlK„V„@ln@¼°KXa„U@Ulw°JXalIUa„ÝWXW@kVU@ƒVUVWUUUamUw@aVamwn@VUUƒlLXWm£@wÇĉkKklmLUÒ¯ƒWn™@ğ±kwmaWm¼U@@LUV@V@XƒVUnVJ„LWš@‚XXWbĸºVzXJVXV@@VXlWn"],encodeOffsets:[[112399,31917]]}},{type:"Feature",id:"500102",properties:{name:"涪陵区",cp:[107.3364,29.6796],childNum:1},geometry:{type:"Polygon",coordinates:["@@nèVblĖVVnLšŽ„@šx‚V„n@nšJ@L„UVVX@lbUJV@@nn@VVVK@z„˜V@nzVJVUlmX@@_VVVbnaVal@@knW@wnaƒVK@aVI„J@£kUVW@‚wXUVJ„amƒ@Ikƒƒƒƒ_X¥ƒ@WwkKkwmŽ™šƒkUxƒnÅmm¥™WV@Um@UlVL@JU@@Xƒ@UVkKVk™KVk™Kkb@bmJVXU„VVUbU@@`W_UV¯b"],encodeOffsets:[[109508,30207]]}},{type:"Feature",id:"500230",properties:{name:"丰都县",cp:[107.8418,29.9048],childNum:1},geometry:{type:"Polygon",coordinates:["@@Þè@XUK@LlV@blbUJ@„„V@bnV‚@VVVXU@ƒlbXal@VXnKV@maXUރ@amk@aVKXV‚anbš£°mnIVaUKVwUmWLUUš¯V@@KUK@I„aWmn_šVlK@anXVaXWWIXWl_ƒƒ@LUWVIUmVaUUUK@UWI@Wn@VI@mkU@U¯Kƒl@ImVÅLƒwU¤óbUU@wWXkmm@LU@@VUIWVUL@JUnƒaƒx@Jn„ƒbUIWVx@ŽUXlV@¤ƒIUJ@bUL„Žmb@xmX@lk@UbmbUaUU@`W@kn"],encodeOffsets:[[110048,30713]]}},{type:"Feature",id:"500232",properties:{name:"武隆县",cp:[107.655,29.35],childNum:1},geometry:{type:"Polygon",coordinates:["@@l„„w„bVm@IVKXUVJ@UV@@KnnWlX@xVVôaV£„xÆKnUVm@UmIXm¯¯@WkWVwmkXƒlaUwV»ULmk_ƒVkK@ÅWa@aUU@mkaƒIƒb@‚n¼ƒnm‚_@mmK@UƒLUVVmI@aUJ@XWJ@U`UIkm±kk@@lULmUmKUnVšnlUVmI@VkVlx™bkIƒVmLUxkKUŽ‚Xš‚n¦Æn„mVw„lš™nlxlLXx„@W¦„`„„"],encodeOffsets:[[110262,30291]]}},{type:"Feature",id:"500119",properties:{name:"南川区",cp:[107.1716,29.1302],childNum:1},geometry:{type:"Polygon",coordinates:["@@VšUbVJVUn@VLX@WVXVVI@VUVWxU@mš@ĊX@@¼V°aVUX`@_V@VaUUVƒUWnI@alašLUlšLUllLVU„@@WV@@IUKVkn@@VlLVwnK„UlJšakwlU@UnJVUmkU™VmXa@wVK@UUw™@VƒVI@akƒ@alInwlKXUmaUW@wWLk™™KVak_ÇaUƒƒV@šXbƒLVxUlWIk@UK@V™@ƒkU@VbUVUlVnƒLUV@lVXmxkV@L@V@Vk@WbUwmL@JUI@xVxkx"],encodeOffsets:[[109463,29830]]}},{type:"Feature",id:"500241",properties:{name:"秀山土家族苗族自治县",cp:[109.0173,28.5205],childNum:1},geometry:{type:"Polygon",coordinates:["@@XlV@lzn@VŽnbÆbXKlL„U„ÒV@@llUnxll@zšŽ@LU@@V°b@Vn@š„l@VÑUƒnK@UšU@aUaƒkVm@K¯wƒklmnn„Ul`nI@almkIUwmWVkUaƒkkJmUUa@K@aU@@_m@@wUyVUUa@Umƒ@awl@Wka±„UkUykIWV™b@bUVk@›aU@UXU‚UIWakUWmUxUV@nUVWbšŽ@XXVVŽmXXŽ@VƒbVLkVWx"],encodeOffsets:[[111330,29183]]}},{type:"Feature",id:"500114",properties:{name:"黔江区",cp:[108.7207,29.4708],childNum:1},geometry:{type:"Polygon",coordinates:["@@VX@V@LV@VJUL@lVnnxlb@VXV‚XV@@W„@UIVK@kUKna@£VWUaVUUalIVJVIUW„_lm@bXKV@mn@J„UUw@KnIVll@VanLVmUkVKXLVKUIVamw@UaU_lw„KlwUWV_Ua@aUa@KUšwm›_›Ó@wU@™nkK@am@UkUKmXk`m@@I@K@I@mkVmIUxUJ@kUL@JVV™„lnklWnn`VzUVnlWbkb@WxXxlJXzWŽÛlWXnl@Ll@Vb°UJWLX@VlV@bkJ"],encodeOffsets:[[111106,30420]]}},{type:"Feature",id:"500117",properties:{name:"合川区",cp:[106.3257,30.108],childNum:1},geometry:{type:"Polygon",coordinates:["@@XKVXlK„ƒVL@UnV@aValXXK„U@WVwUaVU@IV@@aVW„L@U@anVV@@bVK@UVL@bnJWL@VnUnb˜@@JnIlVl‚@@bXIWbn@UKVLVKXLlaV@VVnK@bVL„m„IVƒ@KmknUUWVI@aVJ@_„WU_VmUwƒU@K™ƒVak@am¯mJU_UJUkU@WkIV`UI@JV@LmmU@@mƒbUzś™@„VK@nUKƒ„ƒb™akb@UWK@bkVVbV„Û@@`ƒXk@WŽ@n@lXL@bmb@VVJUn@JnUlnUlmX@`XLlbkJW@kzlb@`@b@b"],encodeOffsets:[[108529,31101]]}},{type:"Feature",id:"500222",properties:{name:"綦江县",cp:[106.6553,28.8171],childNum:1},geometry:{type:"Polygon",coordinates:["@@@¦‚@X„lVX@@UVKl„VUX@lanVlUVbXWVXVƒ„VVUnKVUlwUwU@UJ@nmVkUV™lwXam@VaUUUw@W@kk»mV@UmKkwVKVUU@@LUKVI@mV@XVWxnXVKUUUK@wWU@UUWnUlLXa‚mUI„am@wI@K@amIm‚UUkI@m‚akUkKWUUanƒ@wƒamLVxk@UVmUUL@Vm@kV@I@ak@@bWVXJlLVbVL@š@bn@@`Un„@WbUKULWVXbƒ@UVmbX„WVƒb@bVmxUKUƒV@šUn@V@V@nmšnKlnnWWXX@lKkK@a„IVxUlVb‚k@mn@@U@m„bVUV@VLUJUXU¤"],encodeOffsets:[[109137,29779]]}},{type:"Feature",id:"500233",properties:{name:"忠县",cp:[107.8967,30.3223],childNum:1},geometry:{type:"Polygon",coordinates:["@@VLÞĊ„U@Wš@¼V‚„@lk@w²mlšVUœ„llšVnI@VlKUUlIVƒXUVJVU„wl¥UkUKUIm@ƒaUƒ@mUna˜@XUWmkK@aVIUa@aUVmIXa@Kl@UUVKUIUJmwU@@aWInUVa™»k@@lƒ™¯n™¤mabWUUL@bnl@b݄WVnbU@mLUWk@Wbka@„WVUU@UmUmVkUULV„lVUx„l@L@VƒbÈÒlb"],encodeOffsets:[[110239,31146]]}},{type:"Feature",id:"500228",properties:{name:"梁平县",cp:[107.7429,30.6519],childNum:1},geometry:{type:"Polygon",coordinates:["@@XLV@VV@b°°nšƒnkb@bƒšnJWVXblIUVšxWnUJnVVLVU„JlUnLVK@UnUVJš²nKVbVKla@aXlJ„k„Klb„ƒ@U°£šKšV„IUa@ƒ@kwVƒVUkKV@VUkk›ƒUVk™±n@xklƒ@U@»™‚@XƒVÝĉUJnxWb@UX›KkVUbUKWUkVmkkLU`›b"],encodeOffsets:[[109980,31247]]}},{type:"Feature",id:"500113",properties:{name:"巴南区",cp:[106.7322,29.4214],childNum:1},geometry:{type:"Polygon",coordinates:["@@nxnVlJlUXLƒ¦@x@Vl@nKVVX@V_V@@KlVXU„@lKlxXIl@ÈĊ@Vl@n_VJlŽnVlnb„²VVVJVVmUUkĕUamçU@»W@@ĉn™V@XwVU@UUJWUXUW@UKm@UVUIVaU™UVmLUVƒUU„UWWXUakVmUkbW@UVkƒUL@VW@kUWƒ@mJUXVVU„@lmV@zklVVkLUl@¦›I"],encodeOffsets:[[108990,30061]]}},{type:"Feature",id:"500223",properties:{name:"潼南县",cp:[105.7764,30.1135],childNum:1},geometry:{type:"Polygon",coordinates:["@@@a@a@_kalyX@lIkaWK@_nWVkkmmV@IVmUI@Una@aWK@k@mkbWaknmJUk@mk@@kUal@Uaš@Wa@aXLlwUKlkkƒ@KmI@VUJ@Lk@@VUUmL@amJU£kKUaWakLmU@bVVUbnbWV@xkL@bUb‚xUxVbXJVbUVWIUVU@kLWxkKWV@n¯VUbU@@VVX@VmaUL@VUK@VVbn@lVnI‚@@lnLULm@Ub@Žl@na„@lK@XVVkJ@b@zl@@VnV@bVb@J@bnXV`lXXmVI@W@InbV@@aVKUblKVLUanLlmnLlK"],encodeOffsets:[[108529,31101]]}},{type:"Feature",id:"500118",properties:{name:"永川区",cp:[105.8643,29.2566],childNum:1},geometry:{type:"Polygon",coordinates:["@@@b܄nWVLX„lxV„VxXxlVn@@bVblK@a@UnLVJV@@UnLVU@VXaVKVXš@n`WUÿ@IUKlaUUUkWyUÛÅÝ@mmkUKUwW@Xk@amUUakKWƒwXaƒK@VVLklƒXVlkxV„UL@bm@Vxn`ƒIVxUVkLVšUšl@@lkXmmƒVUn@VV@Xb"],encodeOffsets:[[108192,30038]]}},{type:"Feature",id:"500231",properties:{name:"垫江县",cp:[107.4573,30.2454],childNum:1},geometry:{type:"Polygon",coordinates:["@@šĊ°¤nҘ¼œaV_lKnllUXVVLValUœLVW‚@XamwVIUKkaÇфa@U@KƒkVwkUUƒVKlVnU@aƒU@ƒVIka@akU@KVL@WÝçUV@Vmbů@L™KƒnnJW„ƒVkxlL@VX@VxmnXVWxUb@bkn"],encodeOffsets:[[109812,30961]]}},{type:"Feature",id:"500112",properties:{name:"渝北区",cp:[106.7212,29.8499],childNum:1},geometry:{type:"Polygon",coordinates:["@@@bVVXL‚a@lnbWn@L„@XVlK@VVLUVlbkLUKVVVL@VšnX‚VL@VV@UbVb@x@¦UxVb@bUJƒL@L„VVxlK@™nk@U@W„UVLlKXV„@VblU@UUKVU@wn@VJVanLlkX@VaVK™¯@a@U@U@ƒVaUK„kUUƒ±maUkm@UUkbm@@Vk@@JƒwU@Ub@I@JmwUL@aƒ@@KkVÇLkƒWkƒ@kUU@@xUVmKUnllUb"],encodeOffsets:[[109013,30381]]}},{type:"Feature",id:"500115",properties:{name:"长寿区",cp:[107.1606,29.9762],childNum:1},geometry:{type:"Polygon",coordinates:["@@VVšU„bX‚lX„¥l@XnVmlxUx„@@blVnnôĀlm@aVaXwWUnmUwW@@UkKlw„UXƒmI„mšL@KÆ°na@UUImyU@ƒ—@yULUUm@@mU@VIkaW@UUƒV@K™I@mƒmU™wƒ@™mKUnU‚UIƒlVLUb@„@V@V@bš°ULUbW@klmKUbUIm@@xUVVL"],encodeOffsets:[[109429,30747]]}},{type:"Feature",id:"500225",properties:{name:"大足县",cp:[105.7544,29.6136],childNum:1},geometry:{type:"Polygon",coordinates:["@@XUmaVaUU@anVlKXbValU@aV@@IXKš@@bV@VxVK@UXLlUšJXa@_‚@@aVK—ÅWVkwWaƒƒwUa@am@kUWLU@kWmX@ykI@W@UV@na@LlLV@UƒkwWƒUKmXX`mIVl@bXLWVkbkkƒx@`VXm@@J@U@UUKUxk@WbUIVl@VXLW„ƒJUkUlUImxXlmb@X@VUJUnVbšW@UV@@VVX@bnW@LVxUnlJUV@n„@VxVIn@l`„UVVVL"],encodeOffsets:[[108270,30578]]}},{type:"Feature",id:"500224",properties:{name:"铜梁县",cp:[106.0291,29.8059],childNum:1},geometry:{type:"Polygon",coordinates:["@@VblLV¤nI@bnKVV@Ul@@KVI@UnJ@Ll„klVLkxWK@bXb™@Vbk@Vb@ll@@nVlnIlmXblaXl@„W@_Ü@UƒUalU@aXL@Vlašb„a„ƒVL@mUL@ƒUUƒƒÇXUW›X_WaƒƒUƒ»m_™@UWULWb@UUVmK@VU@UImK@V@bkL„x‚„XblxXU˜ÆUL@b@@`Wb™IkVWK@VULUwU@@a™@WL@JU@@bkVUb"],encodeOffsets:[[108316,30527]]}},{type:"Feature",id:"500226",properties:{name:"荣昌县",cp:[105.5127,29.4708],childNum:1},geometry:{type:"Polygon",coordinates:["@@VI@U@WnaWknwVJVkVl„IXƒWK@UUkVJXal@VwVL@V@V@In@UW@_„wlllaXUWK@aUknJW_ۃ@aWaU@@UVm„UUaUImJVnÅUmVUm`kUUVWLnVU@VVmXƒK@„nxmŽULkx™ImJ@nU`@X@Vkn@`@nlV@nVJVaX„VLnK@bVV@nV@lbXWš@"],encodeOffsets:[[108012,30392]]}},{type:"Feature",id:"500227",properties:{name:"璧山县",cp:[106.2048,29.5807],childNum:1},geometry:{type:"Polygon",coordinates:["@@XzVlVVkbVL@JVĀXŽ‚¼V„„„XbW`XœWVȎ„„VVšŽVkV@@UXa@alK@IƒƒU@UKWUyUI@wVUUWVak@VUkƒW¹@WXI@yVIUK@kWwkѯ±W@™kUb@KkVVVmXƒJ"],encodeOffsets:[[108585,30032]]}},{type:"Feature",id:"500109",properties:{name:"北碚区",cp:[106.5674,29.8883],childNum:1},geometry:{type:"Polygon",coordinates:["@@X‚VLV@„„@JkL@bWb@VU@UlƜVy„a@nV@nn@KU@IVJU_lJXV@VlVIV`nIn°@b‚lUbš„„KVI@aUaVw@¥@wUaVaU@@UUKW™m@UUKUUVLlKkaVUUK@UkLWUƒ@@KXmma@kbWKUU@aUamLnÞ@VWLk@@Wm@ULU@@U™KUVWI"],encodeOffsets:[[108855,30449]]}},{type:"Feature",id:"500110",properties:{name:"万盛区",cp:[106.908,28.9325],childNum:1},geometry:{type:"Polygon",coordinates:["@@VIV@@wVJ@InKVxXal@@U@U@KlUnwUW@kVU„KUmVkUa@I@KW@@bk@@mƒU@m@k@a@aƒIUxmJk@ƒwULƒwkKmVVX@VXV@xVLVVULmWXwWUU@@nUJVL@KV@UVULlxnL@VnUl¼@l@XVxVVUbn@WbkxUšlVnU@m"],encodeOffsets:[[109452,29779]]}},{type:"Feature",id:"500107",properties:{name:"九龙坡区",cp:[106.3586,29.4049],childNum:1},geometry:{type:"Polygon",coordinates:["@@XK‚L@Vš@XbV@lW@UV@@VXIV@U™VKlL@KnnJ@VV@VU@I„@@mVUVWUUmL@V¯LUK@UV@UU@a@U@yU@WLUK@X@KUVmL@ƒ@aXI@w@ammVk@WÛwm@UxVVVbVLUJVxVU„V@V@X@JUIVbm@@Vk@@VkL@lVLUJ@zWJ@X"],encodeOffsets:[[108799,30241]]}},{type:"Feature",id:"500106",properties:{name:"沙坪坝区",cp:[106.3696,29.6191],childNum:1},geometry:{type:"Polygon",coordinates:["@@Xºl„UVl@UbVXUV@xVJVzXJVUšL@VV@VKn@@Xl@XK@UmÝnKVbVakkVm@k„ƒUK@UmIm@LkKULVšU@WJ@UU@@VkXU@Wa™@@UKWL"],encodeOffsets:[[108799,30241]]}},{type:"Feature",id:"500108",properties:{name:"南岸区",cp:[106.6663,29.5367],childNum:1},geometry:{type:"Polygon",coordinates:["@@VV„JVL@bUVVnl`XIlwXJlw°nnl‚IXW@UÇĉk@WJkwkLƒ@WVkU@LU@U`W@UXUV@n"],encodeOffsets:[[109092,30241]]}},{type:"Feature",id:"500105",properties:{name:"江北区",cp:[106.8311,29.6191],childNum:1},geometry:{type:"Polygon",coordinates:["@@nLVU@wV@lV„@Xll„ÈKlU@L„@@bVKnx@I@JVaV@„x@Il@@Un@laVVn@mkUIm`k@WXJmk¯mkxWIkxWJk_UmVUUKƒ@UU™@ƒ„@l"],encodeOffsets:[[109013,30319]]}},{type:"Feature",id:"500104",properties:{name:"大渡口区",cp:[106.4905,29.4214],childNum:1},geometry:{type:"Polygon",coordinates:["@@k@@U@w„¥WKkVkImUmwa@b@xWJ@b@„nKVU@L@WVLXKV@@z@V@bVVU@@VVL°K@U"],encodeOffsets:[[109080,30190]]}},{type:"Feature",id:"500111",properties:{name:"双桥区",cp:[105.7874,29.4928],childNum:1},geometry:{type:"Polygon",coordinates:["@@WwUwU@kK@KmbU@@V@XlJ@znWlXV@XK"],encodeOffsets:[[108372,30235]]}},{type:"Feature",id:"500103",properties:{name:"渝中区",cp:[106.5344,29.5477],childNum:1},geometry:{type:"Polygon",coordinates:["@@VLš@VV„@VL@aUKƒIUUƒ@@JUVU@"],encodeOffsets:[[109036,30257]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/fu_jian_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"3507",properties:{name:"南平市",cp:[118.136,27.2845],childNum:10},geometry:{type:"Polygon",coordinates:["@@@knyƒk@ƒKU¥šwV@nkƒWƒzUmk@@lKUa@aVI@UƒKUamKUUVaUI‚@Xƒ@UV@K±IUVVlUbUbUL@KWUXmWk@KkXmmkŃKUƒ™a@amUƒbkUkKWUnwUƒÇwV™UUƒÝUKV£U™@ƒnKWwXLVKm¥@wUXkmWk@ƒ@wX@lU„@šyVImaXwVƒƒ@kŽƒnU@mbk@mlUXƒmU@mV@n@bnW@bUIWJ—ImVUKWbUK@nkKƒaU@W_VUUmWmL@UU@™bUWUL@V@bmVUz@`mUUVVbXL@V™L@lmLUxmVamXkW@xWbU„VbUxkU±@ÅUmmkLUbW@@`kLknVlV@lbXxlVUXVV™ŽU„U@UbWŽkIWVUUUJkI@llbUxVL@V™VƒUU°ULUmWXUV@VULWb@™xm@UaVLVKUa@ƒw@V›bkmVambUUm@@VkK@„@b„xlxX@‚„n¤@Xƒ@@lkLWV@Žn„V„kb@bWJXLWx@nkxmm™bXn@VWVUn@VnJ@bVXl@„™VJXnWbX`lL„UlJVI@Žœ@VXV@Vl@bn@@Æmn@VšxXU@mVIlxšVššnI„l@nVJ‚aXI@mlU@aXkVm°klmnVV_naš°@V@xܦXK„V‚nnUlVXbVK‚LXKV@naV@@VVl@@lXblXšWnLlbVK²nš@@‚VLUnlV@lƒXxô°‚V@UnaUUlKXLVUVVUbVVlUnJVX„@VW@an@lb„@nl@VU@anƒšUVW@kƒaUm@InVVKVU@kUW@Uam@km@kVa@a@™nwšU@WlI@mVI@WXaW_nƒ@™nƒlkkW@U‚¥@kV@Uw@wUƒ@@IXK‚¥VIn@nU@`@Xl@VV„LnašW‚bVaUwnU„@VIšKlV"],encodeOffsets:[[122119,28086]]}},{type:"Feature",id:"3504",properties:{name:"三明市",cp:[117.5317,26.3013],childNum:11},geometry:{type:"Polygon",coordinates:["@@lL@Un@VVna‚bnUlœa@U‚x@„VbULUKVbn@šw‚@XaVK@UVUXWVnVKV¯„VšU@UUKVwka@klJVIVVXUlJXVaV@VƒšUUVWkUWwkaU@UklmlK@_X@ValKnnÆV²@lVVwUaVƒXa@wlXnW‚bnUVwnK@kšK@UWKUaVUnV@_VynU@a@UVKVXšaV@@VnKnXVV‚UX`V@„blL@mVLXaVLnU˜JXIVJ@amX@a@mnUV@„nVWnkl@naV@„ml„@@KmKUam@UU@ƒ@UlKU™Vk™U™K@aVaUwV™U¥UIkJ@wmI@‚mbkwkVW@UXƒKULU`™IVKUa@LƒkkVmUU@WlULUWÅU@I@ƒWW™nU@@w@a@ƒUam_XyVIVWkkƒ@mwVKXUV@nw˜VXkWƒÅ™U@ƒaƒU¯KUnƒK@ƒ¯šmUƒLXŽVLnWVbVbUVm@Ub¯¼W@amƒ`kb™amLUUUƒ™aUXV`@x@XmJ@n@L@xkJUU@kU@mWm@kUUwUUVWl@VUkIƒy@kkaVUUm™IWVXbWxU@k„mVkK@nWVX¦WxU@@bkx@VU@WŽk@™kUbmJUUmkUW@_kKWKƒ@knV¤kIUKWLUbV‚@Wbk@@VWL@VkI@lUXVxUVU@@mWIƒV@a¯nUaƒaUV@„ƒJ™b@bÞ°VbUš@X™aUVmL@‚VXblŽnV„°˜n@Vnx„@VUUUlK@InJVb@„Vlnn@V™L@VWJU„x@XlJUVVVl@LUUUJ@Lƒ„@lUL°¦k˜V„VnV@„xV„„l@blLnlšLVaXll@šnVUn@‚xn@nml°‚X@lb"],
-encodeOffsets:[[119858,27754]]}},{type:"Feature",id:"3508",properties:{name:"龙岩市",cp:[116.8066,25.2026],childNum:7},geometry:{type:"Polygon",coordinates:["@@ša„I@ƒVU„bVb°m@b„UXJ@nV@VUUwVW@klJ@UXK@Ul@Xa‚@UVaXKVLlJU£lm„@XLlL@`VXnlVVnIVašll@XV@@Ulw@aV@XwW¥XU@mlLnUlƒV@XwWaXUšJVnUVlb@l„zlJUVk@UXVVVxlVn@nXV@@lVVlI@w@K@mnI@W@wU_VWšbV„VVnKšbla„_n‚bX@°»Van@VUUaUamXUKW„K@a@Ukƒ@wWkXƒWW@wUU™Kw@_lyƒwUkU@@Uƒ@kamVmƒXašUVUka@Wk@»UUUVƒKkbWU™VUbk@mkƒxkƒƒKnIVUmW@kUKmXUmVaU@kU@m@KUWVkIWJ@ŽU@UI@wUUUa@KW»nU@mVkUmm@XwWU@ƒUUmL@ƒw@mnƒVUU@aWak@@amxU@UxULWVXbVLU`mbUImVU„ƒbn‚V@@bVn@bnVWxLmyUbƒIUKƒ@aƒVm™akbV‚UXW„UlKWbkV@„WLUlk@@nšbƒb@lkKmU@ƒUIWJkw¯UUVVxm@@XkbWx—›XKƒlUzWJkUUL@bmKkVƒ@@VUIUlWV@X„K@VkbWx°xUb@LUbk@@VWb@LXJ@VWXU@@bUVV„VVn@VVlLn„@l„@‚xk¦Vx@bVJXbƒn@JlnXxV@@„nJ@X@V@lmx„bUn@xVL@VVKlL@l„„nLVaVL@xkl@LƒxVl°š„X„WVX„Vl„œJWnxlJ"],encodeOffsets:[[119194,26657]]}},{type:"Feature",id:"3509",properties:{name:"宁德市",cp:[119.6521,26.9824],childNum:9},geometry:{type:"Polygon",coordinates:["@@@LVKVaVaUkVU²J@LVU„@@W‚VJUbVVnLVb„L@VUJ@bVbkL@Žl@Vn„y„XmlU@™xV¦„L@Ž„lmz@lnL@bVVšbVb@l„nšKVk„Vl¤@zXV@šl@XJVLVKnXVK‚VnU@wUm@šKUƒ@UlVlw@U@U@ƒUaUKlU@kXKlmXIWKXaVIVUVK@KU@@k„JVUnLVJUL@V‚IVa@VnLšKUnl`Vb„V„V@š‚Vbn@Vzn@lKnVlI„VVKUalkXJl@XXVWVLVUUmVU@Unm„£lK@Uk@WUXK@U@WVwVkšƒĠkĢÇ°aUÅUwmaţƒɱUÇa™w„±V¹XalKôx„@„UVaÜʓͿVóbÅLƒJm„¯Vk¦ƒŽk@mamXkKUƒUL›akbk@mV@LkJWb@Vk„mXk@UVmaUV@amLUKUamI@KUaU@WbU@UUUƒUIWJUkm@šƒw™Kk„VJm@kxǁVƒUK@mUVUkmlkkVm@amwƒLVWU@UbVLkšUbƒ@VƒmK@XaVWU_VJnwV@@kUmWakxƒ@kwWakIWxnbUJ™zƒ@kVW@@x@„XllnVW@xn¦ULWKXxmL@„VšU¤VL„ÞVVUšÈxV„mxXVlLlV„anV@bšbV„„LlÆnnlW@LXlWnXV"],encodeOffsets:[[121816,27816]]}},{type:"Feature",id:"3501",properties:{name:"福州市",cp:[119.4543,25.9222],childNum:9},geometry:{type:"Polygon",coordinates:["@@lxna@nJ@xlIVJV¦UšVxUb@bšLšVUlVškL@V@„VVn@Vb‚Ln‚@LU„lJXblx„@lwXbVn@lU@mxUIV`UXWb@‚nLU„„@Val™UKVaV@UX„Knx‚bn@lUkllnUVnV‚@VLU„È‚lwn@UIlƒšL„x‚™n@VlXIVJV„VVV@XaV@Vb@LnJVbVLnK@bVUnbVUl@nWlƒ@UXalI@KnUl@laœbVKV„lLnWnbl@„l¥°Unƒ„IÆKôa΀U„a@UUwÇWǓIUWUÅVkƨm@ƒ@£@KmLU¤ULˣJ™kUƒVǟUUķ@ĉVƒKUk@Ñ°wôǚç@īšé@Åţ¥mīÛkm¼Å@ƒVķVó°ō¦U°ƒn@bVJXVVL@bUŽƒakLmx@xmxXzW`XbWnXV@bWLÛ@™aƒ@ƒaXbWVkaÝwU@mlWKkLWWkLUKULW@kVmVUU݁UamV—¤›n@xUVUzkJV¦lJU„"],encodeOffsets:[[121253,26511]]}},{type:"Feature",id:"3506",properties:{name:"漳州市",cp:[117.5757,24.3732],childNum:10},geometry:{type:"Polygon",coordinates:["@@@bl@Xb@bVVUŽm„@n„x‚@nKVV@„XVWxn@VnUl@nmVX¼@LVbVV@xVJV@@XIlJXU‚V@Ln‚@lVV@UbVnnWVL@lnXUVmJ„Ll„„wnll@VašUXVla„LVUVV@¼Xl@lbUV™VWbn„nUlb„@@VV@„aVUšmlUašUny@kU@Wkk@WaUVk@@ammk@@U@UlU@aUa@wl@šmXLllnL‚U@anVnU@L@VVV@KlXnWVnVanUšw@w@wm›nÅ@wƒaUam@Uk„mUl@@a„a@U@¥škôK‚wȯ°w@ŻkwǕaK›ÑÛk@ĕōřċ£ĵƒUKW»kÅŻLU@Ulġw@¤Vz™VUbkKUbmLmlULU¼UxmbXl@bWVƒb@bUnV‚UšVbULU@@VkbVL@`U@WX@ŽXV@b°„@b¯š@¤@Xm@@b@`U„VVUL"],encodeOffsets:[[119712,24953]]}},{type:"Feature",id:"3505",properties:{name:"泉州市",cp:[118.3228,25.1147],childNum:9},geometry:{type:"Polygon",coordinates:["@@Vl„xkz@`‚xšLVV@xXXW„Xl@xl„@V@bnV°™@„„LVm°L„V„bV@ƚX„Wl—UmxU@WVULnx„@llUXUJWzn`Vb@„@b@xV@šmXX@„@JÆVVXVKXkV@nVlU„l@KVbULšJV_VK„LVWX@lUVƒkIU¥lIVyVU@wœm˜£nUVWU@aƒm@UmWw@UX@@am™VUn@@aUUlUVanaWUXWmUnkšK@VšUlVVUUwš@XLWWX™ma@knm‚bVb„VXbVL‚@XJlInlšL„w˜mXóšw@çV»ÇçŋaķƧóƅóKġ°nÅUķƑUÇW@—¯xÇ°öÆlV„n@llšaš@„Lšbƒ`™@™„VšXVƒVx@V@bULVJUk‚Ç@ƒ¼ƒXUKk@mmULkaWbk@ƒx@UkL@a@K@U@UmKmbU@kV@UmVUbUmmXkW@LUU@U@KmVmU@bVmKkkWK™nk@@xVb@bkV@V@Vl@nn@bl@VUXbl@XlV@@lmz™VVbkŽ™nUVƒb"],encodeOffsets:[[120398,25797]]}},{type:"Feature",id:"3503",properties:{name:"莆田市",cp:[119.0918,25.3455],childNum:2},geometry:{type:"Polygon",coordinates:["@@VbނVVnUlUX@VKVLlKXXlKXL‚‚nkV@ÞxlbXUWa„b„@šbÜ@XK@aWUXmWaX_Wynw@wnwlK„bV@aUKWUUI@a„mV¯Ŏ¥ô¯ĸU„UÆ@n»¯aƿé@ţ¯nĉĬÝK™óó@™ÑU¼@è™xWô—nƒx™KmkkJWI@UKWaƒUUaamn@lnbWšXXWK™@VxUVkU™V@U™LmlnVWXXVmbUbkVVV@bm@UVnš@bW@@VXx‚n@V„n@bV‚UX"],encodeOffsets:[[121388,26264]]}},{type:"Feature",id:"3502",properties:{name:"厦门市",cp:[118.1689,24.6478],childNum:1},geometry:{type:"Polygon",coordinates:["@@@VlUV@nanL@V@V@L@blK@V„wl@XalbVKnnl@VL„W„»È@lVUIVK@a@UUw„WUU™šƒš@„_™aƒK™@™bkkm@UƒkõŁxóL™l@¦@Vƒb@bk@VŽƒnVln@Vb„b@xmÆnœ@x@x™x"],encodeOffsets:[[120747,25465]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/gan_su_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"6209",properties:{name:"酒泉市",cp:[96.2622,40.4517],childNum:8},geometry:{type:"Polygon",coordinates:["@@ÇnÅaĉ@ƒU¯¥›UŹ‚ƒ£™WUýUU±JkkUw‚yÞIČxĊĕĊ¯š¥ÆUkţ™UÅÓ±¼™IUx¯UƒÒƑ‚ݐŰƒKÝnğ°ÅU@Žƒ@Vn@þš¼¯šWnŎ°XLWlnVnbWnƒVXxmbƒa—bóUƒlǕUUa™IUmlU™ƒš¥™kƒ¥ĉwkkƒÝɛa@¯™™U¯°mVƒkVnKlƒōÑÇÑU@kl™UġŽkUŻnUW™@š¯ƒk»šmWV£UKnUƒmUw‚w@ƒUIVaX™šwm»Èmmwn¯ċ™¯LĉŽUƒJUalka±Va@U‚k@ƒÛф¯WmnUaɝ¤Ûmƒn¯m±x@wóxÛLġÒUx¯VƒÈ™JUbóz݃ÇKĉ¯ōlÝUŎWl¯nťbÝ@¯ǩLġmV@ƯĢkÆm™ĊkVťLɃmÝXó°@„ĢbVŽóVݦɱ@Ƨaġ„UV„ĠÇÈV¼UVţwmbJÇwˋa™XmǯKkkmŽƒbXšm¼V¼ǬŚ²¤ôŰÆƴô̐ŤǪnɆӨ¼ɆLÆłUĊšxŎƞȘǔˎǬǪnƨŮǬö°»šġ„„ÞÜÆĸÒĊ„ǀbƾèôÈ@¼¯þŤĸƧ°VĀ¯b@lÈĊ‚šʠń̐„ȘKǀŽֲॗţÿǕý@ʊǓƨóÆÑǖŃôw@΋ʈƆÅÈVVĊV„óĊÅ@ÞƒĬV@Þīš@°Ž„V@ĸĢƒ°XτƜĠ@ÈaÜ¥Őƅ‚™nğóĕVġUůƿŋ—ĕƒa±V—UťÇğÑ"],encodeOffsets:[[101892,40821]]}},{type:"Feature",id:"6207",properties:{name:"张掖市",cp:[99.7998,38.7433],childNum:9},geometry:{type:"Polygon",coordinates:["@@ÈÒŎÒk„mLUŽlŽU„¯nV°šš@°ɜb„ÞĠaÈ»ĸl‚š„LVUÈ@Ċ@ýUm„@@ÆVĠ¯Þm„LƯޏƒ„Ñ°VVwšJ²»ÆԚVlŤÅV™¦ĉ°ĉĖċwÝJzVxll²IVVVþšX„¤źœV°¦„VĊ@ÆbÈmǔLĸĠ¯Ģaô¯ĸmÆÛUƒlÇĸk°XyĊUǔV„ǩnmV»ƒa@ýnK°n@l¥@»ż„Ċ¤m皃@£ČU@mƒmVkÞUƐ±²¹°‚ĠwÅƑŃU¯™›V¯aÈŁšƒÇ»™ġn_°xŎKlxœklx„@Þw‚„„@Æm²b‚DzLlkšWXať¯ĊaœÑšK±w@wƒUÅçV±Uk™@@„¯š¯xƒU™±±UU°ōxVxÅÔō°ó¯UÝ¦óbÝþƒ@ĉÈóUV‚Ux„„@VŽUVÝwÅÈǎóVkk¯JǐkmmL@„™KÇx@bkš™@U°ķ²ó`ƒš™šmn¯°ƒUwlÅkUƒ`™¦ɛô™Žķz@ŽÅnÇ°U¼¯KmVk²ƒJƒ¼ƏÞķôš¤ULƒ@mnğ`™šÇnUxÇ@Ûÿ™U@ƒƒkŻŽ@x@móJkŃ¥VŹĉóÒĉlċ°ķ„Uƽ܃@›x"],encodeOffsets:[[99720,40090]]}},{type:"Feature",id:"6230",properties:{name:"甘南藏族自治州",cp:[102.9199,34.6893],childNum:9},geometry:{type:"Polygon",coordinates:["@@ލš™nKlnšwX¥WÝXk˜xÞUnƒ°aĊVnUUKlÞĶWXnĠ¥ô»„™@nmVL@¤°™Vz„JšanU@aÆwna@k›ƒU¯šyX_›aĉb™ƒ„wƒéXkWwÅaš¯V¥mƒ¯UƒƒI@ƒš@„mšb°aÈçšUš¥@»‚knwɜƇ°I°ÑÈmVU™¯Xa@w‚W@wšV¯Č¥l¯Uwnm@k˜aUaóKkk@™Ça™b@ŽÒWa¯IÇxÛam¼™VUƒxÒl‚@zÝÒ¯bÝaĉVĉwDŽW›zJ™mJn²mܯUƒ¯ĉ@ġ¤Åb@²nšmlƒ@@Ž„„U„ƒLVxšV™„U¼Ålma™b@ƒ°™l@WIUƒ¯@mƒ™@™™ó„™„@U›zţyƒXÇU™ÇVUUVLkbWakVWmUbkkƒKUÆ»nƒ°Knk@aƒUVmšnk»l¯Ģ›lw@_kKVU@ƒnaƒ@lUk@¯¥mV@kmbW™b¯Åõa@mkU@kƒÇŽkU@›`@™óó—bl¼Uxƒn„¼šlVȄx@blVkVVnƒ`XÈġÈ@ǃK£ÝJmUUnUĖmlU„mKUn™VÅaUw›Uĉ`¯n¯wW¼nxVŽ™š@bĉnƒ‚kIċŘkXUŽ±Ò™xšÈ@ŽX°`l„œV˜IȯĊV„ƒšVVan@VašUVażVmšblkÈW„ƒWIXa„alL@wVb„„V„¦lL@lĠ™n҄U‚nk‚šL@ÆÞkšÞšK‚bñþW¦Û„ċVƒ„ULUºkÈlŎUxÆxÞUUxšÒ‚x„@XbšL@lÆ@„ÒlXVln@„bm¼ƒJ@„Ån„šƒx@bnšĠm„xVXmbÈè@ŽĊ£ČW˜w"],encodeOffsets:[[105210,36349]]}},{type:"Feature",id:"6206",properties:{name:"武威市",cp:[103.0188,38.1061],childNum:4},geometry:{type:"Polygon",coordinates:["@@±¯¥@klwU»ƒƒÞÝmwKm¯™™ç@™kVÇUL¯lVUKġ„ġm@a@U„@X£°l°LŎÇ@aōVÝw™ÔƒKUŽÅš„WJ¯lm@ÛVWa™@klĉUmaƒLUanaƒ™ƒk¯J„™™±KkXóÜÅxƒ²Ç‚@„„nUÒĊb°@™ÆkL™Ž™XÇÆ@xÝn—xWxţ„¯¤ƒI@Æn„ƒVV„VlU²Æè„V@x²x™L›ÒĉbŦ°Wb™Xklބš@l¤šXĊ`„wl@ĢÈŎm@bšnV‚Ubƒ„@șÆÛLƒèǚUÒŦlĸ™`°ĮʟÆǓbĉôϚĊƚĢnŤé΀ÑĸĀĊ¦„@@l°lœ¦Ȯ¦ɆÞĊKŤ™ĵĸů„»mŁyġ™ķŭ@Çɱȭ¯mƧUĊķnŁŻ»UaU™˜ƛɞÝƨů"],encodeOffsets:[[106336,38543]]}},{type:"Feature",id:"6212",properties:{name:"陇南市",cp:[105.304,33.5632],childNum:9},geometry:{type:"Polygon",coordinates:["@@šÈÞ@l`UmVƒ¼œŽ‚@nnÆwVlnVVa„LVƒÈ_‚ÿރ@n„a„xÆ@„lš_š@VxnK@llLnxmÈŎJnbUxšI°Žl@n¦‚lÈIlmX¥„k°@šk‚J„k²é˜@klaUaVaU@@ÝnIWnmnx‚k„ºÞ„„aV™°„V@nw‚KšxôbÞ£šVšU„bšþšLn»mƒVw„IšJ°Ž@„nb@°°I„ġUkÇKVƒ™™@ů»lƒ„Lnmƒ£@anK@Ñ܍n@»mL@£™yk„UUmbUÞÝ@kyÇbó»™XUxƒWVzb±mÝbXaƒwUamL¯»@wUKVwm¯ĵJ°ÅUWVk„KVk°wÈVšVуlUšƒ¥škmVamknƒUw¯¯ƒbċ¥ÅKƒk™Kk„™VċVk£kKVw‚Ñ„a@kóyÛ¯ÇVk™ów›š—Xō¥Ç¼ów™Ž¯U±‚k„ƒ@x›IĉÒÅVmÈnšÜ@n°„bUbÝV‚ŽUnnJ¯Į@‚m¦nV܃@„„L°JXb‚Ñ@šaÈb@šllôLVb—b@lmnVxk°ċ¦U°™Ž@xX@xWbš°UVÇn¯Ò¯Jɛƈmxl@¼"],encodeOffsets:[[106527,34943]]}},{type:"Feature",id:"6210",properties:{name:"庆阳市",cp:[107.5342,36.2],childNum:8},geometry:{type:"Polygon",coordinates:["@@kw‚ĉ—»VamƒƒV¯wƒIóVkl¯™Km™Vō¯ÝWkL@bÝKō¦@Ž™„@š™Lx›@b@l™a@km@@l¯nm@UaÅ@ƒ„óWUXm¥™nƒw`@UUxķôÇ°ğ¦@„VJš_n‚‚IVŽnalxkX„JWn¯šnVƒLšxl¤nnVbklVX@xnxmV@bUK@nm@@xƒV—°±aÅnƒŽkUWnUaƒx@m™n@ƒ¯LƒššmUĀlU@lV@blLUblxklkIÇx¯°‚UXbšaVŽUnšV@°‚LUlnbšX@`°nVmbnÆmV‚kLmK™¦UŽ@X„y@kl@U„°K@¼XbW„ƒš@b„WnLVa„VšƒVz@xlVČ¥lbUxލlV„U@nÆWôn²™VJlU„Ƨ„LnmÜLXa˜n@mœw@wlUlV²mšblwšVȃlLލ„±@lVnUlxnkma@mškšJ@kXV‚U@mn@š¼VXUƒVƒlLnmVbôaVnWV»ÈUl°È¯ÆIn›ÆU@kk»mKkÆġk¯@»mƒk—¯@óÇlÇ@—Vykkl™Uml¯Þ™@w"],encodeOffsets:[[111229,36383]]}},{type:"Feature",id:"6204",properties:{name:"白银市",cp:[104.8645,36.5076],childNum:6},geometry:{type:"Polygon",coordinates:["@@VKUȚl@šè°šnŽ‚LnxÝބ„V¼kx@l‚¦²°ĊóĠ„™Ċ»š@ÈxšaĊxlwÈVŤa@¯²aÇ£ƒJk£lƒnUÞ@°šô™@y„wl»lIX¥Ǫnw@ÑÞWla„ÅlL@ƒUwĉakƒl@ƒš¯mwna°J„V¯nUVÓÞÑm£²óWaUƒÇ@óÝUçV»ÈkkW@¯‚xV@XlK@wX@Vmm_@wÈݙKU¯ÇwVwÅK¯VƒkƒJ™™™XkWVaƒImŽ¯Uk„ÇlVšœĀV°mxóšk„@¼ó„WxĉÜU@Ub‚zÛJÇk@‚ÆnVlԙ@kŽ„x™ô@ĬWL¯ƒƒK@aÛImm™@ƒIUaƒ@™™UŽÇêU¤VÒÇx¯ÒV„šš™lk@Wbĉ¦UbkWV_‚y¯Lƒaó„kŽ@b@nmbkx„°"],encodeOffsets:[[106077,37885]]}},{type:"Feature",id:"6211",properties:{name:"定西市",cp:[104.5569,35.0848],childNum:7},geometry:{type:"Polygon",coordinates:["@@„a‚V²wVJV_@„LlanÅllŦçÜӚ_šlnƒWaôk„xUš„bmV@È°lèšnk°l¦„`@nnL‚@ÈlÜIyVaV@ĊÛXwôƒ@»lƒô™nwU¯›ÿU™Èklƒ°Vn„JUblXšWšš„I„l°U„ƒVƒš—@aVVVmnL@„lƒ„UUw‚mkƒš£„bV¥VUVwۂƒlaÇÝރmk£ƒLUy¯L@WlkKW_XaWƒ—mƒ„ġU@a™k™‚ƒakXkmVwmŹVƒU™b™WƒónmwnWW£„KÈnV¥ƒ¥„ƒÆ_k™lW„bU¯„V°aôbnaVwmaōInÇmwkK@kmLUw™@™`ƒkÅ@ƒwƒb@m݄ĀÇ`U„ƒKUbmUUkÅxmm@›„»nUVk_Ý@™Ç™¦™VÇè¯b™aƒn™@@„„JV„°Žn„U¦™°ÆbXxWl„êƒxš„ĊaœbW`™zV°œ„@lmbÅx@bmV™bƒI™`™¦@ÒUVUI@ƃL@bš¼@ššŽ@„šlmxnL„°ULƒŽƒÞğޛ°kLUŽƒL™°™xVŽ„n„KVƒl@šzX@"],encodeOffsets:[[106122,36794]]}},{type:"Feature",id:"6205",properties:{name:"天水市",cp:[105.6445,34.6289],childNum:6},geometry:{type:"Polygon",coordinates:["@@UyȍVƒVUnn@ƒVU„`UblzšJnk‚@Vb„KU„°l„wš„„W°„nkVŽ‚UÈlš£°V@n¥šV„kl™kU˜±U„ƒn™ƒlw¯UkwmKUlmkUmnkym@ō@U„mWÈU°l°anlJškUKlU„¯Èm@kmWV»kkÝLUWUx±b™@¯ma@ƒ¯™IƒJUxn„m¼™K™ýƒa™V™Uݤóa™wLmxU@¯ƒUšƒb݃ƒ¹lmwmnXŽmJ@ÞV@UbVbkblŽ—@±êƒlI™l¯@ƒlW¦knÇJkm¥k@¯™Jmbóa¯bƒUV°ƒakXlšÅ`ƒ„„¦U¦ÇmƒLX¤mXnxm‚„ôšXša„VźUnŽUxlnlW„bššl@bĢV„ƒ˜nX„WbX`lLXk@Ž°KVz„Kl¤„nÞ݂Èkb„‚܁"],encodeOffsets:[[108180,35984]]}},{type:"Feature",id:"6201",properties:{name:"兰州市",cp:[103.5901,36.3043],childNum:5},geometry:{type:"MultiPolygon",coordinates:[["@@lW²LššƒŽ°I„l„šmbVb„KnbĊVlkš@XbÜU@Žkn°‚XIƒÆ™V„LšÓÞxŎUlôƒ„b°KzU`lXVaĊ¥Xal@šk™™Uƒ°ÑÈwUтV£ÈéVšš„@Vb„Jš@nnÜJ@b„L°„XK@īšóƒwlš@kÓmUÅmK@mƒ_k¥l¯™mkçǯ@nUƒaV™ƒwólXbm„™k™`ÛÔťèkkmÆkbƒK@U`UI±xUƒbWlX„mbVbÅÒólkƒƒIWJkšƒ@ƒz—KŻ¼™@™xUx󎃄¯LWb@ŽÅ҄„±¦U`nbťĀUšVb„LšŽ„U"],["@@ƒ¯lwna@mōȯK¯kW¤ƒ@@V@bĢnĢƒVLU‚°k"]],encodeOffsets:[[[105188,37649]],[[106077,37885]]]}},{type:"Feature",id:"6208",properties:{name:"平凉市",cp:[107.0728,35.321],childNum:7},geometry:{type:"Polygon",coordinates:["@@ÆLUxÈxV°šLÇÞ@xn`Ü@X@nĊŽÆwnJmwUx‚aUkšw@V@w„aVmlLXÝl@X‚VĢmV°@nl@UUUWK@w„ÿVI²Òlmš@nÝĊýVV@nšJ°„„šUłm@kV¼nK›ĢȤôK„blnKllVk²aĠ¥È¯ĸóVw@V‚_„xšmn¦VWôX„ƒÆ@Vbn@°m@kn@@lšb@k‚aœ@‚wšK@™šƒ@UlKVaƒWX™W²¹lӄw@_°›n@@_lKōķW™@ŽmLUWƒn™»Û@›l_Ç`ƒÛmm°ÅbWb@š—VWbƒUUKDŽÅaġlmkUġlƒ»—Lƒl™Um¦@Ž¯U™¤ÇkVUml¯ƒƒX™ƒƒx¯kVƒƒLUa@ml™IkyVaƒ_UV@„mmUVU„ÇŽVzUxUVU¦ƒa™¤l„nVxƒVk„@ƒmKUnUU@b™˜U„ƒ„","@@@Žż@™mlkƒġk"],encodeOffsets:[[107877,36338],[108439,36265]]}},{type:"Feature",id:"6229",properties:{name:"临夏回族自治州",cp:[103.2715,35.5737],childNum:8},geometry:{type:"Polygon",coordinates:["@@š@ż»˜L„y„@l™XI„Jl„ôkÆÑUanaWƒXkW@™yk@U„ƒLƒmUšwš¯„KVlKœ¯Ġ݄݄VKƒ¯mKnw™k@ƒ™@™™»@a„K@ÅVJVU@њ¥š_Uy¯š@£UKmn@‚ƒšó¼ğ¦WmĵXݎkŽVLmVĉU¯bm„ÝV—wWlXÞW¦™xkmmL™šÝŽœ„±U@Vގ™š@„ÅÈW°X„ܼƨyUĮnŽWŽnXÝxUx°lVXJlôV"],encodeOffsets:[[105548,37075]]}},{type:"Feature",id:"6203",properties:{name:"金昌市",cp:[102.074,38.5126],childNum:2},geometry:{type:"Polygon",coordinates:["@@šĢȼ™„Çł°bœU°šV‚ƒń‚ÆǖŰnšÆ„ōĬǔaʠůĭš_kķÆ¥VÑș„çÜKšÅ@DŽƒVaU™m@aōnġÇk@ƒxĉ_™Wk£™@݃±KÈ±aÅnƒ@ƒÝxƒ@kw›lkwōL¯wm`"],encodeOffsets:[[103849,38970]]}},{type:"Feature",id:"6202",properties:{name:"嘉峪关市",cp:[98.1738,39.8035],childNum:1},geometry:{type:"Polygon",coordinates:["@@llĊx„¦šl™¦š„kVVnšJVbǖV„kôV˜a„bnaWw„UXmmamUXkWKō¯Xm°™™»ĉÇ@UVƒK™ķkǼğb"],encodeOffsets:[[100182,40664]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/guang_dong_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"4418",properties:{name:"清远市",cp:[112.9175,24.3292],childNum:8},geometry:{type:"Polygon",coordinates:["@@lǯkÿƒaV¯™VaÈU„¥ÆDŽIlxšmnb‚Uœxl™„Uôl°kš„„Wl„š@ô™VwUanUl@„xVkšaX¥‚kU»„aš¯±@kka@ƒUwmUkwƒJk™˜„±k@ƒ™™L@ÝWUwV݃—xÇU¯ŽÇX@m™Åƒ@@yĉ£VmUwȗ»ÇšUn„lUnWU¯`Ukƒ@@„™x„Ž@bÇxX¼ƒVVš¯LšĀk‚ÝLƒ„¯@VŽƒĀ¯lnĊW¦kVÇôkUDŽUK@ţ™U@a™™ó܃UU»ƒ@™¦k@Vx„KVb„n‚š@„Æ™„l„@xšƒbWšnlU„lxÈlV„È°Æ„@¼™„@x„šWxœŎ‚V„šK°„š¥ššnƒÆkŎ@ÈÑm™„K@¥šk@™ô@„nôV"],encodeOffsets:[[115707,25527]]}},{type:"Feature",id:"4402",properties:{name:"韶关市",cp:[113.7964,24.7028],childNum:8},geometry:{type:"Polygon",coordinates:["@@W™Xk±Ñ@ƒUw™mUwĉwlmn@Æwn£mkIš¥ÇÅ@¥šaƒón£nWWwš£V`Þ@šnVml@xô¼„IV¥ƒkUmkamUkVWwÛ»móƒ£UVÅKmn@x™@kbmm¯a™Xka›VĉaUb݃ƒ²—‚lš„IlxnVVx@„lb@l²™°ƒbV¼lW¦™bUlƒwk@mVVbUxóš™@kƒƒX™ƒ¯lókƒVkš›wVma™nkwƒJÅȃ¦ÇVUbšŽU°„blĀ°ŽkÈ@x™¦Æܙ°@„°„¦óa™VUôlUlbXl@nÜV„„nKlŽnIVÞ°Wš„°U@bnm@¥šIVƒ²Ulƒ°VnalzXyl_Vyƒ¦lƒœLlxš„@ŽÞbšKm„knVWanwƒÑVwČº˜@n_ÞV„aVŽÜIœl@„˜KȚ„VJ@aš£È@˜™@km™„aV¯W@_ƒa¯KmbkÇkLmwƒ@Å¥"],encodeOffsets:[[117147,25549]]}},{type:"Feature",id:"4408",properties:{name:"湛江市",cp:[110.3577,20.9894],childNum:6},geometry:{type:"Polygon",coordinates:["@@@ƒkXƒ™@a„UUċlk„Jƒk„™@wVJXUWk°W@nKnwlUlš²ƒ„blU@‚lI„l@„XbW„šxnm@lW@w„wU‚JX¯VU°`ŎóˋkÝÝkÅ@ÇmğÈřmw™aĵV›xUہ»°™ĠǷnýmóX¥ɅĵҏÇ@°²ĊUĖ±ĮU¤Ç°™Ā¯ɐnżUĊĊĬV@脎@ԃÒU¼l¤nƒĠb„êVĠ°Èy„zVaV‚nUÆL„ašbVl„wÆ@"],encodeOffsets:[[113040,22416]]}},{type:"Feature",id:"4414",properties:{name:"梅州市",cp:[116.1255,24.1534],childNum:8},geometry:{type:"Polygon",coordinates:["@@„‚nԚlW¼x‚¦@lœVl™lLkè„a@zš¤ƒĖ„¼UxlnUKUbÝlU¼lb@„Vx„V„klJÈwV¯š@ĠlÛĖšnƒbkšÆźÞƒUÈôklmšL„¥‚LœW˜„„™nKUkVa°V„x@IVV@x°bUk„a™a@mV@„@y„w‚L„ÑUwVUšV„‚„U‚bÞVVann‚@XwÇÿš¯²aVamkXaÆ»@»nw@¥›UXaƒkbWa¯KUw@¥m@kwmLU»UU™J@kmU@UUWUƒ@ƒyƒanwmçÛl¯ƒŽ¯UƒmKUmƒwVkmÝXbW@XWÝbƒk¯@±‚w@»U@W¯Å@ƒÇ¥UƒU@ƒƒ™IU™ƒakJƒĀ„ꃰšþƒXkamŽ@Žƒ_J°m‚@X"],encodeOffsets:[[118125,24419]]}},{type:"Feature",id:"4416",properties:{name:"河源市",cp:[114.917,23.9722],childNum:6},geometry:{type:"Polygon",coordinates:["@@°VlmX¹laĢÒlm„@„„šVš£‚‚@¦Ģklynn¼lW°z„W„„°VbÈV@lÆbnn‚JškX„šVÆašÅ„W@™ƒUUw@ƒkaV»ÞkVaVLkmVwƒ»„ĕ™£@yƒblçkKkš›U@k¥‚wX»™kmӃ@Wn¯‚I„`@nlb„W™ý„¯ƒé„ÿlI@™XUmWUwƒ@@UJU„Ç„mKUV@x™„ţk¯¯LWƒƒnUxK@ű»Vwa¯š@¤WX@ŽÛ¦@¤ÇIȼWxXŽƒ@Wx—w›ŽUnVbÅèmVa±²UWl@Žk„lȄ¤nôܼXxlUnVlbVn„lU¦ƒJó»@wnkmU™‚Ý@U_™¤XxmXm¤„ô™b@¦Èƙ¦lJn"],encodeOffsets:[[117057,25167]]}},{type:"Feature",id:"4412",properties:{name:"肇庆市",cp:[112.1265,23.5822],childNum:7},geometry:{type:"Polygon",coordinates:["@@l@š¥„@V¼„Vôۚš@bšV@ŤVLȃlVÈólUX¥mĉ°k„ÿU°@„ƒÞKl™ÿ°KU™„UW»Èw@aƒšw@ƒ„@nm@w›£kÓVUVn„Kš™k¥™£Vamƒ@nkKkbÆǫma—kmLU¥™UmƒÛwmVU™mUƒJ—ÇaUxÇIn`mb@Þ¯b@„nJ@nl„U‚V„lVU„L›W¯—Û`Ç_¯`mš¯I™bĉWċzx±J™xš¯ÆUƒƒ_k@™šƒJ@Umb„šXôlLš˜n¦@¼ĊxlUXŽ˜xUbL‚Ġ„UnVĊwlšUš„b@lW„X„‚m²˜@ÞWxXš‚Unb"],encodeOffsets:[[114627,24818]]}},{type:"Feature",id:"4413",properties:{name:"惠州市",cp:[114.6204,23.1647],childNum:4},geometry:{type:"Polygon",coordinates:["@@lbšW°bnnlaš@@wnmÆLVUkÇlƒ@Xk‚V²±‚bnUÆçUaVmœ˜xXw„@WXwÇ»ÈJ@£Ü¥@XW@£°™‚bUx²¼@ƂLVw„mX„°K°Ťlšƒ@wVUnLȃVƒVIky±wkƒKU¯ƒÅkƒ™XġÑۃlwUwlm@m„nKWašÅm›¯óÇmğb¯alĉUwķbmb@lÞÒVn—šmĀŹ@VŽƒbVŽUnmakLm`@xĉkklVÔVJVn—lV„UnmJmaLUbl‚™zmŽkL™a™‚ō@@zš‚V¦UŽV²kJ„nÜU@˜VXUŽL@„lJƒL@bݤUnVŽ—b@xVnlK²„Vx°V„xlI„lkVl²k¤@n"],encodeOffsets:[[116776,24492]]}},{type:"Feature",id:"4409",properties:{name:"茂名市",cp:[111.0059,22.0221],childNum:5},geometry:{type:"Polygon",coordinates:["@@‚LnÇlk„KnkÆL„ƒUm™ÈxlUœJló°n@ššanŽš„„a@ƒ˜@X_@mÝóóU@a™aU¯mL¯ƒƒkV¯™ÇVwkw@V±Ŏ£@™™@šalw±Vk@m„Åm¯™ÿŃƧIÇ`ōô¯_UVW°IV‚ƒx@xkX@Žmn™wXƒWa@ƒƒkkJ@kVƒa±„k™kVmxmL@‚¯XXlWVUI@xƒš„lƒIklVȃV@b„šlW@„@nUxVblVxkôlx™n„‚y„šnIƻư„aXwlK„bVnƒŽXb‚L„¤„k‚L—èƒVV¼ƒŽ²IlĠVX„ynz°KVx°@VlœLlblKœš"],encodeOffsets:[[113761,23237]]}},{type:"Feature",id:"4407",properties:{name:"江门市",cp:[112.6318,22.1484],childNum:5},geometry:{type:"Polygon",coordinates:["@@lUXx°JWnnƚXVš„W„X@„šºVLV¯nU‚Vnb™ô„x‚aXmW™XIšŽUb°xlK„l¯œK˜xXÞ°ŽšXÈ¥Ü@„ĉޏU™‚çš»nóƒVma—x‚¯UÅU¥Ý¯@ƒƒç@ș@çĉÅUmU籃ĉKÝxÝ_ÅJƒk¯»ó¯nmèkǀšŽWxœ¼mnUÜġ°@¦@ƒxƒLkŽÇaVnUxV„™šVlnIlbnÆÆKX¦"],encodeOffsets:[[114852,22928]]}},{type:"Feature",id:"4417",properties:{name:"阳江市",cp:[111.8298,22.0715],childNum:4},geometry:{type:"Polygon",coordinates:["@@°„nKV°šb@bôVÞô@n„VlÒôÆUnlnn@lmkmVkƒaÈkÆƄ™k¥‚ÅÞ»ÆKXkW¥ÅLmÅkamJUkš™UƒVwUmÈbl„K„w‚@@¥Ģ¯VÛnm›»Xw™lƿ™@kbW™—aʵ@óL›l¯ƽ@™ƒƒLn°ƒÆ@nUl‚²kx™b@‚š@šō¤U²@ŽlxUxšÈU°lŽ„"],encodeOffsets:[[114053,22782]]}},{type:"Feature",id:"4453",properties:{name:"云浮市",cp:[111.7859,22.8516],childNum:5},geometry:{type:"Polygon",coordinates:["@@@V„Iš™l@„`V„°Å™šw²I‚wČyĊXša°Jn™°_È`Ü_°˜œX‚KVƒkUUƒVkƒ@mmI@ƒ°a@Ýnam_ÈJVwlĉX@„šlUšómaUmVU°UK™¹@ƒƒWƒXU™™WmÅXm¯IWwkVWlÅLݼÆl¦ƒšÅÅÇl„bUllnknm@kmVmóÅkуUW`—@@„ƒb™ƒm™b@™¯mkô›IkVÇwnš„VƒÅKmlƒLklmȁKƒšVĊK°²„`n˜¤n„U„bWl„xVx™LUx@°nXm`VklVxmnnx"],encodeOffsets:[[114053,23873]]}},{type:"Feature",id:"4401",properties:{name:"广州市",cp:[113.5107,23.2196],childNum:13},geometry:{type:"Polygon",coordinates:["@@Ș¼VxUnĊ¤@z„@šÆ@nÈW°ÈV˜w„ŽUÞVxÞX@ŽšK„šl@ބVaĊbœU@ml£k±lUƒkkJƒw¯UUw±ƒkLUm@w˜aUVmÞ£@a„KkI@ƒ‚KVUW@—ÛVƒmlIU±VU¥™@yğzƧǃƒšƽĠřšÅnī±m@ƒ²¯lƒ°@nÝÆóUll@XnÝVU¦mVV°—„V¼™Jƒn„b@°mbn„ƒ‚@²¯‚¯wVwƒ@@nmxX¤¯L@ŽVLU„m@@l"],encodeOffsets:[[115673,24019]]}},{type:"Feature",id:"4415",properties:{name:"汕尾市",cp:[115.5762,23.0438],childNum:4},geometry:{type:"Polygon",coordinates:["@@@‚„@VxnXWV@š„bVššJ„„V@ÞÅU¥Ċxš£UWU‚wÅUU¥WVUkĊÇnkV`°LV™„wƒƒnU@™„ƒlbĊ¯„Vnalšš@@çkUÝ¥ġaó¯ÅaÅLŻÆUýmy¯ó@ĉÆó„ȯw™ÆXbmLƒ‚@nknVxkx܄ĢҚW„Æl„V°„Ll‚²xlz"],encodeOffsets:[[118193,23806]]}},{type:"Feature",id:"4452",properties:{name:"揭阳市",cp:[116.1255,23.313],childNum:5},geometry:{type:"Polygon",coordinates:["@@V„Ȧ„Æ@X°V@@¼‚x²°@„lÞaWXX@‚aÞWlnUŽ„xVnnL„‚°V„@k‚mĢl@„ak™@mlk°aXƒ±„nwm±™²¯JV²@ƒwW˜—_mƒa„V»ƒU@m¯ĉUф™šJl™„ašbVn„lĸLlƅÛDZwÝ@ĉxó@è™@k™mbƒUĉ°kaƒ„@šmV„„ƒxUš¯KU_mlĉÈVlXUV¦ÆVxVŽVX™¤ĉwV¦ÝÆ"],encodeOffsets:[[118384,24036]]}},{type:"Feature",id:"4404",properties:{name:"珠海市",cp:[113.7305,22.1155],childNum:1},geometry:{type:"Polygon",coordinates:["@@„è@„Þ°V¦VƁ°˜wnb„UÆ»nçƏ@nxܤ²llU°VnÈJސ°UôéšķUklƒô£VVˌKÞV°£n¥ƒ£ȗ™Ýy¯¯mÅkw¯bÇĔğ@Ýn¯ĊƒVğōŁŻƒķJ@Ț","@@X¯kmèVbnJ‚™"],encodeOffsets:[[115774,22602],[116325,22697]]}},{type:"Feature",id:"4406",properties:{name:"佛山市",cp:[112.8955,23.1097],childNum:1},geometry:{type:"Polygon",coordinates:["@@Èb˜Ž„InVVšnUÜxn„šVV¦nK˜lnbÅǬlalL@mn„Ubš¤l¦™šƒLUmUVlԜ¤@xmnVl°_XVVmƒkVmș@kn@VƒUK@°KW£nw@m„@Ux°x°@±„mƒna@¯ƒa„mšIU»˜ƒU¯nUV¥ÞUWmk@Vk¯™Ukn›ÑWݐƒĊÛ@Ǧ™W¯Wݗw›Lk°ƒkL¯wVa™WJXšWnbƒwkVƒ™W@kĊ"],encodeOffsets:[[115088,23316]]}},{type:"Feature",id:"4451",properties:{name:"潮州市",cp:[116.7847,23.8293],childNum:3},geometry:{type:"Polygon",coordinates:["@@°ŽÜknèmx„b„z„@V‚VX@VnV@lšIVVV¼nKlxn@@¦Vx°LXbla„ŽWbœV°£¯™W@nW@™‚aUñVœwWš»@¥ŤÅUÝǓÝóV@ńǎkUVmƒIUwÅVWÇX¹›—@W„¯bkl@nlšƒb@‚kġŽn@l"],encodeOffsets:[[119161,24306]]}},{type:"Feature",id:"4405",properties:{name:"汕头市",cp:[117.1692,23.3405],childNum:2},geometry:{type:"Polygon",coordinates:["@@‚@U±°Iš±n²mx²ƒ˜@œWºXÈÆUVx„JUnlVȍ@ŃôUǔÞVçn»VyĢÛVm@»kaÝUǼóšÛÈķKċ¥X„¥Wwğk™ƒ¯@ƒwķKƒkUm™aƒbkš™IƒšVÒ°Ċ@n„VU¼ƒ‚„bn˜`X—„x"],encodeOffsets:[[119251,24059]]}},{type:"Feature",id:"4403",properties:{name:"深圳市",cp:[114.5435,22.5439],childNum:1},geometry:{type:"Polygon",coordinates:["@@ÞLš„@xšbV„šVšK°™X°Kô¥Vw@anU„胐š‚lkĊl@wn_lKnbVmU„aUź@nÿ˜™UmÝѯUƒbk„@ÆkxŻ@™aÇX—wƒJƒƒ¯LķÝUĕ™ó™ĸóêWº@b²nmĬ™Æ"],encodeOffsets:[[116404,23265]]}},{type:"Feature",id:"4419",properties:{name:"东莞市",cp:[113.8953,22.901],childNum:1},geometry:{type:"Polygon",coordinates:["@@Ŏ@ššblKnšykVa‚KnbnIVmUƒ˜kUmUIUә„ƒçmV@bUxó¦¯LW‚¯š™L™UUƒ™a@w™ƒÝKğŚ™ƾ„„ƨÈĠy"],encodeOffsets:[[116573,23670]]}},{type:"Feature",id:"4420",properties:{name:"中山市",cp:[113.4229,22.478],childNum:1},geometry:{type:"Polygon",coordinates:["@@‚XœÒlmšV°ôÞÅ@m„¯°k„±‚@@aX¹¯VݏÇIUmV¯kk‚±Û£mw@‚Őmèżmô™¼èVš"],encodeOffsets:[[115887,23209]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/guang_xi_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"4510",properties:{name:"百色市",cp:[106.6003,23.9227],childNum:12},geometry:{type:"Polygon",coordinates:["@@lklWXL@VšI‚l@XnJn@VUUalk@mK@kny@UlU@a°™„ƒUU@VmaU@Ua@UWw@ƒn@KmLm@alkšmnI‚m@an@VIUamWÅImwU@@a@K„X@JVL„UVmUaVkUa@m„@@Ulmkk°ƒUaVUlKXbVwVIkaVmUk@KVk@a„aW¯m@w„¥laœX@KmaškVmnUl@nxVKšInU@yVaVIV@na°KlxX@@_lmXšUV`VIV™V@„n@lšbn@@WUkValK@²yl@„„VUV@@K°L@KU@@UVaXIVVV@naVkVa@K@UUK@UUa™LWa—w@m@K@UVVƒ@mVUUVKnL„mVL„K‚bVK@UUIk›mI@mUIVK@IUK@VkLƒ@WU@mU@WmUk@ƒI@VƒJk@WwX_@amK@UUWkIƒ„ƒK@LVb@mVmakL@J@bU@Ux@xƒbmI@`ƒIwm@UbmKUaUWa¯UkJWV@XƒJUU¯LUmV@ma@kkamKwƒLUUmWVkkm@aVUUkVKnVVUmXK@UW@km@Ukkm@@W@U™kUy@I@aUUmbƒ¤U@kUmL@bmJU@Ua@wkLWWkL@Uƒ@VaU@ƒLUakKWbkUWVkKkLVLUV@JVbƒz@Vƒ„@ƒVmUU@kVmK¯@VƒU_™VWakVmIUKUaU@@bml@XU@@V@LmKUV„mVUKƒƒKƒbkaUXƒKUL@x@V@l@„mxU¦„V@ŽlL@V@Ln@@VV@„nlKUaV@nLUbmJnL@VWLkbmV„@@L„W‚„XLlx„VVIVV@x@V²blUVm„LVUœK@kWWXUlV@Xl`„LX„l@@VšŽƒn@VnbVš@lVUVUÈVbš@@`UXU`l@@XUVm@kš@xmVknUJVXUbmKULmbx@VlJ@LVbkKUbVLÇUUVƒUVmU@VaUkUKƒVUwmLkUUVVlƒbka™XmwƒKUšVVU@@V±Uk@VWUUm»XamU™bƒKk™`ƒ„™U@UnWW_kKmbUVUVmnUV@„nJVUlšUbU@UV@n@JmI@VmbnVUXlx¯ŽkKmnVV@L@V™bkV™Umm™@Ub¯LmlUƒL@VWLkmkLmmn£WmnKU_mW™š™bnbmxƒ@U¦UJU„@Xmlk¦@‚mnUUm@@Jn@lV„ÔVJnIVW„I@a„ƒÆK@I@aVK„IlŽÞnnl@nl`nbÆX²l@xV„@llbVn²ŽVVl@nn„V@IlW@Un@@kVa°KšnÈmVaVXUlaVƒÈU„VlwôUlynIVašan@lVXb‚Iš@n¥la@Kš_n‚@bÆx@XnJV„nKVz@`VXVšU`@bƒ¦UV@VšIlx„UnV‚K„XÈbšVllšbVbnVn@"],encodeOffsets:[[109126,25684]]}},{type:"Feature",id:"4512",properties:{name:"河池市",cp:[107.8638,24.5819],childNum:11},geometry:{type:"Polygon",coordinates:["@@lLVl„bVV@nXVlI@JVX„mšn„W°b„IVV@‚ln„@nalVUb„nW‚@kVkÒlbVKn²°bUŽlV²@˜X@`nb„aUI@ƒ°wlU@aXJVI@aVK@wUamIXm‚@XUV@@bV@Vm„ImnUUwVaVKXU‚nVK@akƒVwV@nL@UV`n@@X‚lnIUJl@X¦˜V@aUIVm@anƒV@UwnL@VlbVL@KVVXUWƒ„wUUVUka@UVJnUlbnalbVVn@°„„LV`Þ@šXVxV@@bVlUVVbXnWlXnmlš@XXWVXJmbUI@V„llUVkn@@VWV@Vnb„@VXUJVnn`lLVk„a„»lVšLnw@WV@lInw@WnU@U@m‚knUVó„K‚wUmUXUƒU@@wVJVIl@XKVVVbVI„J@Un@lŽVLnm„b@U@Ul@nUš°VUVJnnVJV@„@mVU@ƒ@wkUVwkKWk™yUUkU@alkÈ@lJ@x„Ilƒ@UUWVkUw@Kn@@kmaƒVUl™UUL™ÇƒUUKl@UUmL@aXU@mlUUwmKkUUVKVUƒaƒKUnK@U@Vl@XUWU„KlwX@šb@K‚@XkV@UwWJka@aUwmV@U™@@U@wUm@»kLWVkIWŽXnmV@VkbmKƒLUbk™Va@aƒa@@aVU@aVak£@ƒ±UkVU¯V™UUƒJVƒUIƒ@kxmUmWUbL›w@K@aU@@aVU@Kma@aka@_VWkk@UWVUKULWKULUš@KUnƒwVaUKƒxU@UmaƒL—m@kVmVa@UkƒmI@ƒ@KmIkxU@@K™U@mmakI@VƒLkmWkkJ™_U‚@V@L@n˜xXbšKVb@VVL@V@LUbUlmbU@UUWJUb@VV@@L¯K@LU@UVƒƒk@±z@‚kLUbVl@Xm@™akm@ƒU@UšUJU_™VWŽkn@`W@kw¯LmbU@UJUb@zmV™JULmwk@mVUn™lnb@L›Wkbƒ¦@x°nXŽƒb@bUl@LVlUnlbUJUxWakLUVVb¯„llkn@Vƒ@@nVbUlVbUnƒVUK@IƒW@L@bV@nxÆJnXVbUJm@@bnmJ™nkl@b‚nnK@L„m‚@Xx@VVbV@nb@UVVƒ„¯š@bkV@Vmz@lnLl@kŽVbUVm@mI@Wk™J@UWKkXkl"],encodeOffsets:[[109126,25684]]}},{type:"Feature",id:"4503",properties:{name:"桂林市",cp:[110.5554,25.318],childNum:13},geometry:{type:"Polygon",coordinates:["@@nU@J‚X@`XLm¦Vb`lšVXXWš@VblČnVšŽlanLnmVLšK@_Vaƒ¥@kUa„@VmVb„aV@XVVzlVVK@knKVmX£VKšLlbnš@b@llL@xĊôXaV@°È@¤„bn„V@@Wl_„V„U@W„nVamw„wVbn@„K‚VšLX@VmVUxlV@šnVV_nK@m‚I@Wn@@IšUĊ@@wVWX@@I°VVm@wmU@m@IUƒV™kƒlkUmmkÅV@@aV@@Wn_UKla@kšaV„šlVanb@k„@@KlVn@@aV@nIWW™UUaVU@™kKmwU@UImKk@UU@w@W@‚™k@™UkWƒ@mk_W@Ua@a™ƒƒ@—¯ƒmV£@mƒUUam@—kWakƒVama@UUm@nw@alaUmnUlVlIœV‚™šLVyk£Vm@k@UUJkƒK@kmKUw™KkWK@UXImyVwnI@m‚ƒkUlkUKkUVmƒw@kkJWUÈm@_k@@aƒaW@U„UJUwU@@IWKkƒmUUV@nVl@bVb@bU‚UXƒakw@ƒWUkbkKƒbm@™xUlkLm@@wmKUX@‚™UaVW™XVmU@@UUUƒxkmWXkKkUWaUaUb™L@`UL@LV`UXmK@VmakLVbkL‚xUJUIVbUVVb¯KƒV@Xnl@lVXbmÒnV@L@VWKkVUIWJkIƒŽUamUUbm@U„kU@JUbW@X„WxUam@kbVVUnUJmUUV@bƒU@UUV™@ƒVk@ƒbƒmULV¦U@V„U`VLUL@xVbn@UJ@nWJXXVŽVV@bkxVbUx‚Lšš@x„¦@šU‚lXUVVlULV@@šnŽU„ƒb@xl„nJVnlVknUlVUbmŽU@ƒbVš„x"],encodeOffsets:[[112399,26500]]}},{type:"Feature",id:"4501",properties:{name:"南宁市",cp:[108.479,23.1152],childNum:7},geometry:{type:"Polygon",coordinates:["@@lKnbnU‚@Ua@K„L„ƒlJVX@VnL@bW`Xxl@„I@U„Jl@nV@X‚V@nXV„@lK@UVL@JULVJ@nnJlœVJ@VULaƒLUKƒnmKULVVUŽ@nU„š`lIXlln„K@UlJnb@nšV@LV@lwnJ@L@„nJl„@VUbUn@l˜n„KnbVŽV@„wVLUb„xVm@LV™VKXLVKVLXU@VllUX@`lb@bnb‚L@ŽUV@bV@@b@Lœx‚KVanXVƒUUmVUUUaVUky‚UUa„ImK@mUUVUkKU_@W@UVVVIUW„UVaVU@UUKnƒ@k@al@ll@bnL@b„VUV˜X@Vœ@@b‚Knblmn@V_@aUalL@a@akK@kVKUKlwUUnV¥VmU_VWVIVaX@Va„alńK@LVJnalL@LnK„wlVUw‚mX@VXšƒlLUVnblaUmVUVwXU@Wm¯Va@ÞKnw@w™mšk„»‚UVW²a@_mW@U@I„y„LVUUKW@@™„LX@VUV@@yVU@UV@nwUUmJka@IU@ƒmƒVkaW@UwUX@`ƒ@kLWUk@mƒkUUm@k‚UUWkUƒkWxk@@VƒK@nV@UVaƒUUJmIkVƒ@UamLUbkVmamLka™@ƒ‚kmL¯WI@wJmwƒx@akU@aUKmbkaW_nW@_U@Wm@a@wkwUKmƒk@ƒbkb›w@mKUkkU@J@bW@kVWz@bVUa›VUx@„ULkJWbXVVXƒ`@œmJUVU@@Lk@WbU@UJlnXlm„Vx@Ln@‚b@K„LX„WJUUW@kƒaUVUbmV@nnV@n@lVLƒVmLX‚mXkV±@kxÅL›šUbJWIÅJ@I‚mXalkUamKkškL±aVwKƒUU@mÞnbWJX„m„@lbmKULWUUVkaƒbnn@Vl@VVV@VƒbVbnLWLXJWxXLV@@VV"],encodeOffsets:[[109958,23806]]}},{type:"Feature",id:"4502",properties:{name:"柳州市",cp:[109.3799,24.9774],childNum:7},geometry:{type:"Polygon",coordinates:["@@ƒwU™„aV@nVaUVklmkUUmmIkƒ@w„aVƒm@™U@VKUkVUkWV@™ƒ¥@w™™KVwUalw@aUUUWWXI@mVIm@Ua@wVKUKV_UƒV@U¥VK„n„al@„Uš@VU@V„V@aVUnVVIVmUUlan@VbXwWƒX@Va@IlVVƒn@VanVVb„lJXIVJlUXL@U@KmUnÑWakU@mkƒJUI@mk™@wUmmUV@JXaWIXWmaUIƒJƒkk@W„nJ@„ƒaUak@›kkJ@kUKU_ƒ@myUóWUkm¥kUmL@KUKm@k_UmVa@ƒk@@UmU@mm_—JWIUVUŽWLUlbVUJÇVUIVwƒKUVk@mU@n@lUL@Km@@l@L™VƒzJmUU¤m@UbV²U`U@@¼Vn@x@Vš@@VnUVx@blbXIVxU@Wl@@L™aW@kxƒLXVWVk@@U@VmLVŽ„L„bUVULVV‚lnLVxkV@nWV@bnKVVk@VL„VšÈVKšVVk„Unb@lm@@LVxUlVX@Vk„ƒJ@wkIÇ@kl@blVVVšzXllLUxlV@x@„UV@nƒ‚U@UImmUIUV™¯mVk@@V@VƒamnUKkm@@VƒIUJUaUUWLk@UJUI@xV@V„VWVnxƒLUômVV„@VkVVVUnV@UVkL@VVV@bVxla@bkXVJVn„`nU@bƒb@bVL@VnJ@„l@šV„aU@@_lW@UUU@Unƒlll@XLl@@UX@°bVWVanLlknVV@VVX@VVƒnUŽVLmbXJ@nllXX@`VXƒlmaXVWk@Wkƒw—J@„VL@J‚bnU@bn@@bVKUnVJVIVVVL²a@bV@@Vl@nUVakalmš„UL@VUL@V‚a@mXl@nK@UlK„L@Vl@@nkllb@š„Vnn@‚šnV„™V°l„šVInwlKXxlU°Žn@@ƒ‚I@UnVlakUJWkUK@anUWK@_ÞJ@U"],encodeOffsets:[[112399,26500]]}},{type:"Feature",id:"4514",properties:{name:"崇左市",cp:[107.3364,22.4725],childNum:7},geometry:{type:"Polygon",coordinates:["@@@JVzšl@V@Xn@ll@VlnX@@VWLnŽUVmUULVlUV@blnUlnXVV„K‚xnLlb@lnbU@Vn°KVV„I@WXUlI°VXb‚VVbnLVan@‚x„J@_nJ„a@wVwV@@a@IU@UU@WKXwWIXKmKUa„a@U‚UUUk@@Umm„albVUXVVKnL‚a@knƒWƒXImanÝV@„V‚LUx²blKl™nLVbklWbn@JÆIXJ‚IVaœ™ÆKlw²@lUnWWnK„UUK@k@mmU@mnUVaVU„b@lVXVXIWƒƒK@Lam@@KUwnƒWkkmVIV@Xal@@KV@VUnI@›„_UWWUkam@kkm@ka@mƒk@wkJWIUU@WXkW™XkWWLUUƒ@UakLƒW™XV±VIVWUU@anUWaUK@IU@Vak@@UUKWaƒ@m@ak@@wUkla@mUaUklakwVƒ¯¯@WWUkLkKmaƒ™kLUnV`UxWX@Jkn@bmlƒakkk@ƒb@l¯bm„ƒbJ›b@VXn„bVV@„ƒbƒJUkkKWVU@mœÛVUUW@UVUJWXkVkKmUL@WW@U„Vl@XXKW„XJ@XVlmbUxnnm@UlVnV@XVm¦VJb@šmLkKÇbXblVkn@l@bWnX`V@@IVV@ŽV„V°n@@_naÆVVbUVVbUJnzlVUl‚XkV@Vlx@X„VnxƒbƒKUK@b¯VVUV™L"],encodeOffsets:[[109227,23440]]}},{type:"Feature",id:"4513",properties:{name:"来宾市",cp:[109.7095,23.8403],childNum:6},geometry:{type:"Polygon",coordinates:["@@nVlw„@VJU„„IVVUšV°lU²V@„l¤Ub@bUV@b‚@„b@bUblšVa„KnLla@UnUWmXlJXUlKV@V_U±Van@V£nV‚I„yšU@K@kn@@LVK@k@mnVl@VU„LUxVJÈUVIU‚aVkXKVVUXJ˜In`@nnV@Vl@@„UbVnl`n@VL@LnKlVn¦VlôXV‚nz„@V`VL@llIœll@Vb„b@ƒmIXƒl@„l„IVJnbWXXJWb@IU‚nVVn@xlš@nVJ„I@W„U°LUaVUUaVJVIwlKUalKnb@UnLVWU_@KVK@_šKVa„@VKU¯VLVKn@la„aUkU@maVU„J@k™@Um@XmbkyVaUIUU@KV@laVn@KXKWUkUk@ƒaW™UUVw@aXKmƒVaUUkšmIƒlUU@wUa™xUmmU™¯™U@WƒLUmVIUym@UVmUa@wmw@çm@aWLU„™JUIUamKmL@™aƒx¯¥ƒkU¥U@±„k„UVmKU_mJUbkKm„ƒLÅǙ_@WWUXUmaVUkK™„UWW@nVxkUƒxmL@KkKmbUI@KƒLkƃbUbW@UbUJUXV`UnU¦mŽVVkxVLUL@llL@b@bkKVb@bU`m@knmaL@a›@@U—WVUƒU@amK@akkk@@b@lm„VL@VUVUbƒVVXUJUU@V@XV`lLUVVV@nnLƒJVbVlzUVVbVVnUVVU„"],encodeOffsets:[[111083,24599]]}},{type:"Feature",id:"4509",properties:{name:"玉林市",cp:[110.2148,22.3792],childNum:6},geometry:{type:"Polygon",coordinates:["@@VJUXVVXlWX@V™xVnX@@`ššULWŽUXÅbWK@mULUUmJ@n¯b@l@VULVx„x‚XU`VXXJVI„V@nm`@nUŽVXn@lWVn@b@Jn@nU@Lm`@Xn@WJƒ¦U@@VnL„lV@@Xl`nIlJnkVL„w@KVK@UšaVL@bVKX™lUUKVK@I„VšL„a@U@WšLUlVL@bU@@blb@VlbUxVbXUVJ@xVL„U„lV@VU„bVLnKl„XJ@L‚b@an@VanL@`VLšKV_UWl@U_„a@WVInlVUUUVm@I@W@wVakIWm@U@ƒXwlaVbnI@ƒm»Va@aXaVLšU„»@aVa@k™KkL@KmU@WƒzUK@wU@VWUUVUUKUa@mKmbUK@_nWVaUkVaUaVUVLXKVƒVUVmVI@UkKkLm`UkW@UwWW_„UaU@WakXmK@xUXƒJkƒUUWUk@Wl—mJ@km@@aUKzmyVk„a@kkWVUU¯lmU@@w‚kkmV@Vk@mÅIƒ‚Ukƒaƒ@Ub@m@UUU`mUbWaWmb™X™XKWIXUWm@љ@y@UkIUJUUWLUWƒL@UkVUxW@kaWbKWnXxW¦n„m`XLVlUbVbUx™I@JmLUKUb@VW@@bkL@b@VlU@xkš@L@lƒxXxWXX°V@VVVbUVV@UVVbULVnVJUb²b‚aUb@VVVVInlV@VnXaVUšlI„VUb"],encodeOffsets:[[112478,22872]]}},{type:"Feature",id:"4504",properties:{name:"梧州市",cp:[110.9949,23.5052],childNum:6},geometry:{type:"Polygon",coordinates:["@@VbXblVlLXWln„wVV@VV@UnšWUXVbš‚@VWXa@kVK„UaVaVkšUlyX@Vaƒ—VmUwUaVU@UÈymI@aU°@š™nWV@VaVaw@IV@VmnLVK@kmmna@™„™VbVI@aV@XbW`U„„LUVVx„@VbUV@bl@VLXblJn¦lL„°°@n™@K@UlLnK„a°LWbnJ„¦UÒV„UllLlVnKnbWnn„V`„w‚@@Xa±™n™l@XKV_„WVkVa@kVyUa@wU£UW@UIVW‚@@a—wWaX_WKkVmUULmak@UJUI@±m»™—k@m»VyUIm™nmmwnkUmVaVIUn_mW@»Vk„@VwkmmUXa@IƒaVm—mƒ@Wm_U@mIUWóLmUk@laXmmkUK@UmKULUUmWULƒ@VakU™@Ub@bƒ¼™VUKWb@bUbn¼@„mJUakbWx@„@VXnlJUb@x@X@JUnVVUVmkUJ@XƒbV`k@VXU`™LUK@_mKUbm@@b@„U`@nlV@b„UnbVbn@@`VbUbVV¯bm@@mJXb@bVnUllVXUlbUl@LU¦VVmŽkLVb@b™l@V@XlK@V@nUJUz„°mŽwmLmlXbWVU@UUUlƒIU@VVmV@@¦‚bXbWxX„WlXVWL@LUmkbU@@LVVVJUblzna@WVnš@@lƒIUVnbV@Vlƒbkbm@ULUKV°ULƒ@"],encodeOffsets:[[112973,24863]]}},{type:"Feature",id:"4511",properties:{name:"贺州市",cp:[111.3135,24.4006],childNum:4},geometry:{type:"Polygon",coordinates:["@@nL@xn@lKVkšwn@„alLlaXV@„lx„bVWV@aUa@aUk@mVUnVl„XL@JV@VxVIVƒX@„b@bl@@`ÇnXVlI@l„xUnlVVLkllV„@nmJUxnzWJ@VXLlŽšLVxnL@l„LlŽVI@V@lUnl¤Uz™Kš@„Vl@š„L‚l„Lnš‚b@VnVVU@k„a‚Knxn@VkVJ@ńUlakmWIUaVanm@_UK@UVWUa@klXam™U@Vmƒ™VIXW„@lUVknVlKVLXŽVXšW@b@VlšnnVL@KXL‚Kn@lb@UnW°@Va„X„WVb°aVa@I¯aUkUaVKVwƒaXk@a„a‚™@wkm@alanUVw@alK@Umkw@UƒaUmU@WXUaUK@UW@UaVWI@¥Xa@w@WWšVƒXwƒU@mKUXUWVU@a¯kl@akU@UULmK¯VUVW@U_m`U@@xVbUz@lUbUlƒXU`WLk@mš²šWb@Ž@ƒxU_mƒXmmamLkUkKVkUƒVу¥mIXa¯KƒbmLkK@V@Lmš¯@ƒ¯kKm¥kIWaUKk@@aVUUaƒ@UwVUƒKVƒX_WaU@@bUJUaƒš@šmbnn@lULmKUnU@@J‚xUbUbU@mX™š¯@VŽ@bnJÇz@VUVVbVxUn„˜UbW@kz™VUlUbVbƒŽUL@lWb"],encodeOffsets:[[113220,24947]]}},{type:"Feature",id:"4507",properties:{name:"钦州市",cp:[109.0283,22.0935],childNum:3},geometry:{type:"Polygon",coordinates:["@@@IlVVlnL‚@œxla„al@n„VLlx@x@bXnV@@`mXX`lbnaVL@blV@b„wnx‚I@xXJ°nK‚l„š@lbnKnblUVanKVb„@lUnJVI„VUb@V‚U@m„L@Ul@Xw„llVVXV@lVnlVn„l@XVlK„@@_VWVxX@lb„U„nV@@JlbnIlmnVV@UwVK@U@k°a@mnIVVVK@nXLÆaVWXVK™™@_W@Umšw@UXWWkUUVWUIVaƒUkJ™UVWbUmU@mkUJUU@UVab±aVaUIUmVKUaVUU@VUUaUUU@W¯XWWw„w@k@Kl™@wkV@U@alK@aX@@UmIUWUIƒ@mmkXU`U_WJUnUJmUk@@amLU@UVW@UkU@@VƒbUWVUk@@wmKkUWLUWX@JmIƒlUkkKWKkLWU@UKWa@bU@@a@_UKWƒUUUmJmw@nV_@ġğKóLmbU¼VÆ@xUXƒ@Um@wklVnUn›lkaUV@„lV²WVklWXXbWlkVkIm`UUƒLƒUU@UWƒx@XU@@lWLU@kbUbV`UXllUV@bmb@LnKVbULm‚šnVVIV`X@"],encodeOffsets:[[110881,22742]]}},{type:"Feature",id:"4508",properties:{name:"贵港市",cp:[109.9402,23.3459],childNum:3},geometry:{type:"Polygon",coordinates:["@@n@VzUJ‚nVŽ„K@XšVš°nVVnšwVb@xVV„knJl™VVUbn„WL@bUxVVXš„bl@lVXkWƒXwWaa@¥‚@nUUUV@„JVkVVV@XUWanknK‚xnƒ¯VyVI@m@UkL@W@Ušk@aUalKnUUV¥@KVkkaWVkUVkUm@aWanI@n@°aUUVaUa@_m@UamaƒV@akU@mV_@ƒa@KWIkƒmLUKƒaUVU@ƒkƒVUK@wUIWVUaVwka@Uka@aV@@aUKVk™K@X@Vƒb™KƒU@JULVLkVWšUL@aUK™b@VUL@LƒxUKmlkImJk_@WU@ƒkmK@UV@„¥XIm@@Wn_@KmVm@@I@aUmkXm@UWV@mn_@mƒUUJWIUWV_WƒwU@mUknVVmxU@@VUV@zU@UVW@ƒK@šX@VLUVƒKƒz@J@VnX@`±bUXVƒ¼™lšn@xmxÝL@‚Ubn°@XWVUxUVVnkbWVXV@Xš`ÆȄKnƒlLVanIV`nLVUlƒ²ƒV@V¦„l°¦„w‚b@šnKnLVbVJšIVƒXK@b‚n@ènx@xVbUnV‚"],encodeOffsets:[[112568,24255]]}},{type:"Feature",id:"4506",properties:{name:"防城港市",cp:[108.0505,21.9287],childNum:3},geometry:{type:"Polygon",coordinates:["@@XV@X°°U„lxkbVlVb@nkbVl@xl@@b@n„‚XbVL@Vl@UbV@@JVLXbmV@bVVUXUJU²šW„XlKVb„@VVXKlXšWlXXWV@VXJlI@x„l@nlbn@lln@lbXalIVK@ƒVwœUVb‚U@aXylUX@@aW@U_UJmU™nVKUamL@Kna@aVUkkVWU_ValaV@XK@kV@@W„wVXV@„V„KVVn_lJlUXkWaXWlkXU‚±kU@ƒVUlbœkVmUmlk™¯Ý™™W@mb@¦VxULm™kJUU@ma¯wƒmkX@VóJ±bUVUXÝWk™lWXXlƒxUaƒbƒIğ™Ç@U@mVUKkkm@UJm@XnWV@x"],encodeOffsets:[[110070,22174]]}},{type:"Feature",id:"4505",properties:{name:"北海市",cp:[109.314,21.6211],childNum:2},geometry:{type:"Polygon",coordinates:["@@VaVLnK@IšJVwUaVaUkWKn_mƒX¥WwXm‚LXalbU£UyV„Å@ݙwm@™°l›LÅUƒmk™mwÛaƑLÝUUm@ȣƃV_„Ó@£UƒƒUVƒ„™¼U°W̄™ÞVbXbôx@b@bmV@ǃ™UÝ@@ĢU`m@ŽnxnIVV‚VX„VL@`@bV@@aXbVL‚@XVlKXLlLVl„knJ@I‚WVXXKlVnL@xl@UVVX„a@UV@VlX@VUV@nK@bl@nVVIVmXIV`V_lWnn„@VJVXnJ"],encodeOffsets:[[112242,22444]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/gui_zhou_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"5203",properties:{name:"遵义市",cp:[106.908,28.1744],childNum:14},geometry:{type:"MultiPolygon",coordinates:[["@@@UnUlJn„w‚JU°VL@bnVšU„wlJ@XƒŽXVlU@klVUJknl„UllL@bUJ@xULUlƒ„UblVkblbnw‚UXmla@„wV@VK@L@UXaVKVLXWƒUVa@U@Im@@W@£UKUakKWIXU@al@@llUnL@W@Un@@VlUV@VIUanKl@Xb@lmxVb@b°bb@nlJVVnnJ@b@L‚V@ln„@LmV@Vx@blnVK„nlJXIlw„J@҄b@nlK@Un@UL@VVVVUUUVK„l„@VUVL„J@UVUUw„@Wm@™„UV„ÈVlbUb@JšLlŽX@@x„„ƒLmŽk@@nlx@bUJUzVJ„@@LVxUV@bWxnLnVVK@_‚K²xVbV@n¥@aVI@b„@l@Va„Knb@n‚`n„mmý„W@ƒU_šwV@VlVV@Vn@n„˜@nI@Jn@°¦VaUU@™„mVVWVaUńU@aVKnƒVbVUmmU@a@kUw™m@aUUmUUJ¯lakU‚aXaWUUaVƒkk„amkmUnVlULƒVlJ@XU@UJWUUw„k@aU@WbkWƒL@U@WU@@XUKmV@aUVwUĕUJUamUUVUÑm™nIVJ@kl@XalJVn@KVLœ¥@UWIXWmU@mVUKnUWLUKUaWUUKVU@U@anUny@UlUkK@w@a@aVUƒ»UkVw@Wmk—JƒÅmUUVmwXalLXWWUnam@XkƒJ@UVU@U@W„@@U@I@Wl@Ènlw@KXLWb„lVUkalKUU„VVaV@@wnIlaUmkUƒKWU@KkUkLWaƒKUUWUn@VƒK@LnnWJUIƒVkUWVnV@V™@@XƒK@VUIUJ@IWJkX@VVJ™IƒVkK@I@UVaUWk@m„@wnUWKk@mxk@@„lV@b„xmb@x@VUmLkUƒJ@nVV@b@VkLVbU`¯I›l@™U_UW@UU@™™ƒK¯wm@™xƒL¯¥kIƒ™ƒ‚@bkbƒ@Ua@ƒm@kkW@XVbmV@ŽkV@bWbUbV@„¦ƒxXlmVk@ƒ¦™bkaWL@KUImK@wUK@VUI™b@bmK@LÅy@akXW@kbWlXblL@ŽULUbƒ`@U™kUymX¯@mšUJUUJƒL@Lm@@WX@lU„VlšXll„@l@Èk°V°Ž„X@VU@UVll@XUJVXUVm@@VXLWlnV@Xƒšk@mVULnxV@@bm‚kL@VWLUbU@UVm@ƒb@ķ¥UnmJ@UUVƒkkJUšlÔU`UIW@ƒ°kLUlUI@WVI™U@mWKkXk@ƒ‚WU@bXšW„@J@xX@l@LVl@xšLVxXX@x‚KnxVknb‚KVV@U„L„WlXU`@nUlšX@llVXšVU„KlkUKlI@anKVLXKVaUIVWV_VK@VnLlU„»VKVL„m"],["@@@KlKkUUVVX"]],
-encodeOffsets:[[[108799,29239]],[[110532,27822]]]}},{type:"Feature",id:"5226",properties:{name:"黔东南苗族侗族自治州",cp:[108.4241,26.4166],childNum:17},geometry:{type:"MultiPolygon",coordinates:[["@@VV@XkV@bUbWJU¼Vb@Vnb@bš„@J@bƒL@LV@UVƒlUI@a™KULVb@bkJmx„šlLVxknVJk„‚xnKmnnL@bn`WIXlWLU@UxVbUVmKV„XI@JVIVJ@U„L@Wš@@UmUXUlV„UVJXImm@K„L@UVmVXV‚„LXblKlV@LXV„LlVVnkbmJ@xnXl@šbXa‚@Vana„ÒšL„m‚VnIl‚Þ¦°k@b„@@lV„nJlUnš‚VX_„@lVlK„šV„UUxVLVWVIXJšUlnnWlI@KUaUUVKn@VaVXV@na@ƒmw¯@mUkJUamI@lk@@am@@I„ƒUmVImUUw˜™@anUVaUU@LU@WaWUXWW„wV@VwnU@L@ynbl@@X@a„J@nW@@Vn@„lVLlxnI„lš@@UWKUƒnIlJXIVllIVVš¼XK@aVI„V‚@@bn@VKXLVKVVVInw„J@UWI@mX@WKnI@KmU„UVJUL@V„KW@@k„@aU@@W@InJWUXwWI@Wƒ@¯wkaVaUIl@nŽValIXWWI@UUm@anwWkXWWIUbk@UJmIUamKVUUUVVama¯VkIVVUlKnXVwX@@WVaUUVa@IlƒaVmƒkna›wk™UU@ƒU@mUVƒšUVwœl°LVbnJVU™¯la@mX@@UWKXU@aV_V@@JlkUƒ¯@V™nK@km¯k„U@ƒWUW@mmƒU@™kmlU@wkL@WƒUkL@VmLƒJ@b@V@bknUUVK@UVKUK@Uk@Wa@LUVVnUbmVk@@UU@@aƒV¯K@U@UU@WmUL@aU@WV—w@ƒ˜I„xXll@UX‚K@KXXVJna@wWaƒ£naUKV„m@UU@mUmalm@@XkVm@U@VƒLmWU@kkWxU@@bVV@VkXVlƒVƒ@UUk@@ƒmI@KUw„m@UmVƒUUwU@lwkV@IUa@mUaVIVKVa@w@U@™UJkb@n@bmJ@XmlVUxWXkJmUkUUVW™xUlU@ƒaULUšmbU@@‚WXkmƒL@xUV@nUxÇm@„XLWbnlƒnV‚nnUV˜U‚nVVz„@lbUVVlULVb@V@nUJkwm@Ux@bWbUK@UULka›JbƒU™U@U@lUK@XUJmn™J@bU@UwWa™x@zkJWnUJUUVšVV@bXn@xVb@J™L™m@X™w@`@bkb@VmXUV¯L@mW@@n@V@‚ƒL@K—IW@@aƒaUx¯@U„m@XbW@@L„V@bnVWVkKUzlV@bÆa@lnI@VV@@LnVVKUaV_VJVbnU@bn@‚‚nX@yVIVxXKVLlUVaXU°J","@@@KlKkUUVVX"],["@@UUVUkUmV@ln@VXVK@K"]],encodeOffsets:[[[110318,27214],[110532,27822]],[[112219,27394]]]}},{type:"Feature",id:"5224",properties:{name:"毕节地区",cp:[105.1611,27.0648],childNum:8},geometry:{type:"Polygon",coordinates:["@@UkVƒ@k‚W@Xn@@K„KVIVVIn™°@nWVzšl@V„_VaVK@kKWaXklaX@lW@bÆz@KnL@ašaVJ@UVL@xnLVJ@LXKlbša„¥l@nUWk„wƒ¥U@VaXa@amLkUƒKmƒ¯kƒmkIUaƒKUIWƒkKm@anw@mlwXIƒmƒUk¯@a@amUƒ`kkKWVkxmUUak_mJmw@w„mXUW¯X›_@WnI@aVwkWWýŃU@WLkU™aUbVV@lUVVnm@kUmV¯™kK™LƒwmVUUaWV™aaWw¯wƒÈ@VULUVUUƒK@nWJkI™l@Umxnbm@kbUJƒa¯bUbVxmLUV™aU@VUUWxkVVV@bUV@XWbnlUbƒbUJlbUV¯b@z„`WbXnmbƒaƒwUwVWUƒbUxmbU@Uam™@Vƒk™VaƒwVaUƒWI@mUKóz@lUlÅ@WIƒb@xXxml@XklULWKUmwUa¯KUXWJkaULmKkLWbkKUVƒImƒƒWa@kUaULƒW¯LƒK¯@kbƒL@b™x@J@bmnnlUšlzU`U@@Uƒb@„m‚n¦°bU„Vx@bkVm¼mx@mk™mVV@bkxVn„aVV@bU@mL@b²`lIVV@lXLlš„bVxn@@bl@XllIVšnbVšn°°wlbXw@mVa°lVnU@mš™VLVbn@@b„@@WVnUV@Xlxn`VznJVb@L@bV`V@šUnwšU„@WUXKV@UUlmUUlaXalLšm„bšIVbnJVIlVVaUUnWVXn‚VL‚k@ƒnWnblnlb²x„xVKVXlVXLVW„LlUVJna@wVL„¼@JVX@`@nnx@nWJU@Vx@XXKšŽUblxUš°„LVKVVlL@KnbVUnJ„IlUšƒnKl£VW„x„IlJ@nšVÞUVVnb‚VX@V_°lnK","@@@UmWUwkU@Um@@VkL@V@„„‚V„VkV@nbVa@ƒ"],encodeOffsets:[[108552,28412],[107213,27445]]}},{type:"Feature",id:"5227",properties:{name:"黔南布依族苗族自治州",cp:[107.2485,25.8398],childNum:12},geometry:{type:"Polygon",coordinates:["@@‚V@IöalK@UV@@KUaVIVVœLlaVbVWnX@‚@LnUlxl@naVLXVVaVU„J@lUUanWWI„@VlV@Xbƒb@V„n@VmVVbk@kU@V›V@X„J@zn`ULW@kK@_WVUK@LUb@Jlxn@nnWlU@@b„x@XVVU@UbVb‚@n`VI@VVLUlUIUV@KmL@VV@XIV@@lVLVmXV„@WLXLW@U`šnkb@Vl@UL@VVV„L„llX@`lIXb„J˜IXW„L‚aVL@ŽXXW‚Ģ™b@bmK@L@°@Vnxmxšn„K@xVn@VkL@V™Lƒakbl`VnnxVnUlššV@@VVXV`@šœk°JV_UalK@U@aUU@m„IlVnK‚V@U@wnaƒw@akU@ƒl@nwl@XLmV@xnƒl@VXUb@V@JlL„UšJUI@UlWUƒnLVUUaVwV@XKWkXJm_@amKnmmLwlƒUIlmUwkKƒ™nwlI@aUaVKšL@bVJ„kVUU@@K„K@a@I™ƒ@ama@UUaV»XIVa@alU@WUU¯IWVUbkVUKWLUwUJ@zmWm@@amVUaUIU`VbULmU@KU@@UmJ@kÅb@akUVylLXUmU@aƒU@KX@Wan@Vƒ°@Vw„b@bX@˜J@L„K@@U@mX@@n°KVUnW@Ula@a@_šx@WšnšK@IUa@wWm@aUUU™VVVIXmlI@yšwXbVxV@@ašInmVI@WVL@k@VšV„V‚aœIlbVK@VVLXa@aVwn@lxVI@m@UUaVKUkVUkaƒ@UymUV—VUmmU„mmkXaWK@ƒÈnVw@mVU@w„KlnXW@V@naV™VKUk@KVIUWƒ@mk@KXU@Um@@lVƒk@UVJna@UWaƒL@a@ƒXa@kmmVUUk@mkkƒamJ—ImJUUmIm±aUUkambkamVUU@VlbUbVVƒxX„WVUU@VUakU@UmUV‚U@mnUVVnUbVJ@b—UW¥kLVamVkUaWJU_UVWKk@@nl„UVVJUXm@Vm@UnVlmbnmJUbULU@@UUKWVIWxnJVb@xUL@bUJWIkxƒbkb@xVJƒbmU@kW±LkKUkVa@a¯am¥ULkalÑlKXUWƒXƒaVakImVƒ@ka@UUƒJ¯aƒX™mmb—KWU@wUUƒaUa™KmU@UXlWb—¼WLUKUb°„UlVbkbVL@VƒšƒJ@nVlUbUXmJ@VX@lbUbU@@bWb@VnLVJ@bVVUz„ŽVL@lnL@b™VVVULmKUk™Jkbm@ƒxVb@V—kƒKVnnV@b@ŽWXU‚„nV„l‚VVXVJUXlVXbWV@VU@Ubk@@KWbUUmL@JnXV°XJ@_‚`UbkXVVlÆkbƒ@VLXVV@‚V@k„KXX@`V@@n"],encodeOffsets:[[108912,26905]]}},{type:"Feature",id:"5222",properties:{name:"铜仁地区",cp:[108.6218,28.0096],childNum:10},geometry:{type:"Polygon",coordinates:["@@°a@aÈbVUlU@aVKnVV„VUlyX¹lWVa@U™VƒnUVU@m™@mUl@„mÞw„@‚xnIVbna@KVI‚J@kwV¥ƒUXÇVkVW@kkKWU@aXUWmnIVa°VXbmL@VVbnVVVUb™VbšJVbVKXkVKVanU@aWnWUWa@U™nk@mVIVK@wXxlLXbVJVlKœbl@VI@mšaXalVV„VbX@@ašalnkx@b@V‚b@Vnx@bVVUXn¤WXn@Vl@Vlzn@š`@I@KUU@ƒV£namVkXa@aVK‚nnU@anVlKƒa@UUU@amk@»kƒU¯@aš„VWnkWmkImU@akaVm@»VUV@UKnkW¯XWlkUKnIWaš@nmlIXmWUnwUwWm@wULmaUJkIUaƒaWa—klwkwmJmU@bkJ@XUJ¯W@XbWbUKUkWJUUVKnn@UmmXUWa@mU@@UI@WmXVykwm@kaULWwU@¯ƒlKUUVU@mU@UkmaUbmV@b—š‚xVnVUJVnƒ„@Jn@@bl@@knJVblInV°@nx@„mbU@UWUbm@ULVVVb@LkJmXkm™VWIUJUXUKVwƒV™UƒŽkLkUƒ@W`Um™kVmIUƒ@kƒ@@a¯lÝ¥kmJUƒn™KƒÑmbUb@Wb™ak@mWU@UbƒUVVkLlbUVƒkXaWK@LkxÇmk@@X@J@Vƒ@@X@VUV@V„IWln@mbXVWXkKWbnxVUnV„ƘInl@XUxVl„¼UV@b@b@xlLkV@VmzmV@b@VUVVLXVVbVLXKmVVLU‚@nnVWXXJ@V›¦UK@LUmkIWbk@@lUImJnšVÒVUnVVbVIVĖUxV‚@bnUVL@WV@@X@V„KlXXaV@@bƒlVxXVVIV@@WkI„UVKUkVmlnnŽƒbllU„VbXVWbblVkb°ŽVInVVV@bšnVx@l@bnVVnUŽUam„UL@bƒVVÆUbUXU‚ƒn@šVVUb"],encodeOffsets:[[110667,29785]]}},{type:"Feature",id:"5223",properties:{name:"黔西南布依族苗族自治州",cp:[105.5347,25.3949],childNum:8},geometry:{type:"Polygon",coordinates:["@@VL@Vl@@IXW@kVUVbnW@XlKVVnU„VlL@b„aVbƒb@xX‚°ÔUxV@kbm@VxkxWJœ„V¦ƒŽ@ÈnšVKšxWXJmV@n„Ò@xVbn@@blLk`VX@bššla²JVUlnn@U±lw@wnw@mlwVIX@@m@klKnk‚a„KnwmmXkƍVm„Uš¥l@nb°n@„aVwVmVIVnI@a„¯@mšU°ƒl@@VnI@JV@UV@b@IUbVJmXöºƒzllUbVa@aXUl@„U@llLnKVaUa@UmK@UšwV„bnKV@VwVK@UXƒV@Vbn@‚w@U„WnX‚@„a@m„I„™@UUKlaUaVk¯ƒVaVLXK˜»XaWk¯mƒkğwmW@mIƒVkwƒJUIšÇVwU™UkVKkƒm@UkmU@WÅwm£Vƒ„m¤¯IkJWa™_™lUbmJzÝJk„ƒUÇVU„ƒ‚@bU„Ýn™m¯LUb@`mL@VkL@VƒUmmk@UU±Umka@kUƒ@ķymUkk@mmkÝmUaUakImV@V@VÅLƒ¦ƒJUXmJXšWb@n°Æœx‚¼nV@LlbUŽUbmL¯@ÞbV¤nbVx@bUVlblIœ™@KVVUnVJUn@VlLUlmLUUUxmK@I@@VW@@bU@UJmUkLVVUl@b@V"],encodeOffsets:[[107157,25965]]}},{type:"Feature",id:"5202",properties:{name:"六盘水市",cp:[104.7546,26.0925],childNum:5},geometry:{type:"MultiPolygon",coordinates:[["@@ôyVL@nXJV„Ub„x‚bUŽlšU„@ŽšnŽVbV@naVw„a‚VUXVx„x„bnaWmXaƒ_@y°aVUkaVI„aVamkXa@WVU@aUUlUXwVV@UVšbVUnKUwVa°a„bVIlan@manw@VšklJXI@m„LVVVUVK@U„ǃk@KUa@UkaVU@UVWV_XWVXVWlLXKlLXaÆKšwVL@akKm@Uwƒ@@XUVk@VUI@wWK@aUV™I@UkK@ƒmL™Wƒ@kImJƒUÅVmkXUW@UJkx@nmx@xkxV²m@kmUV±Ikb™™@aUWl_kK@am@Ua@wƒÑ@mnUWIX™wULm™@DŽU¥›ƒXIlwUwn@laU@Vw¯ÓW@w„aUaƒb@akKƒUmVUUkL@WmXUaUV@lWX@Jk@@UUKULmLUJmzkKmVX°VšUnWKUL™ƒƒL@mU@UnVJ@b@„UV@Xƒ`m_@l@@bmbXJmnnš@°˜wnn@ŽVLX@V‚@nVl@nk@@b‚l@nn°WlXzW`XXVKnUlxVbUb@‚V„Xb@Ž‚VxÈbVlnbmn@ŽkVUL@„ƒŽmLUVVL"],["@@@ƒ@UmWUwkU@Um@@VkL@V@„„‚@„V@VkV@nbVa"]],encodeOffsets:[[[107089,27181]],[[107213,27479]]]}},{type:"Feature",id:"5204",properties:{name:"安顺市",cp:[105.9082,25.9882],childNum:6},geometry:{type:"Polygon",coordinates:["@@lL@bUK™xÅLWbkKWLkKUXUWWXU`UX@VUVlb@VVb@L„l°xXx‚bšbXUVb‚VnU„xšKlL°šnUlVn@UmVU@kUUVašblVXKV@ƄXþlXUxnU@mVK@_@ml@UU„@šblU@KnLVyUw„@@UmkšWVw@UVK@VXzVK@n„VVUUW@kVJnlaš@nKW™kaWL@U—™õb@JU@mU@@_WWƒL@lUU@WUUK„@lakÅUUlWVa_@`WIU¯mW@InKVVXa@Ll@VaV@@UXUWakUVWUIUW‚UkUƒƒmVXW@@amUUm„L˜l@UUa„wn@lašIVlnLVKUUšU@amK@kUKƒVyUU@aUImK@UXa@aV@VakaW@@UnIVWVaUkƒb@mWƒX@Vxm@UaU@W„@VULUxU@mLƒaUŽ™x@VnL@VVbUbmLkK@kƒVk@WV@bUbVakk„yõ¹nWUIVa@J@aVUU@@ImJ@Uk@¯„™V@nƒ°@bmJUUJUnUxƒbm@¯Žmak@™¦ƒVUnŎWlnnmxƒLbmlkL@l@nWVnlÆU„VnIlJ„@šXnK@„lL@VšJVU@bXL@xVJUl@VU@W„@Vxn@"],encodeOffsets:[[108237,26792]]}},{type:"Feature",id:"5201",properties:{name:"贵阳市",cp:[106.6992,26.7682],childNum:5},geometry:{type:"Polygon",coordinates:["@@nŽlLX„VJ„LVblJ„n°ln„„LlVnKlU@nUUa@WlX@l„n@‚Vb„@la@a„„šlJ°¦„Kšwn@°x„LVkUmmwUmk_la„bšK@UlK@UUm@wƒL™mnwmw@U@¯@KnL@aša‚ġXWW@UKbƒKWX—JƒIWakJ@_kWƒkƒKUU@UVKk@@Ula™mV_X@WKXKƒ@WUUnUK@kU@WJU@@UnK@LVUVJVkUK@UUJm_@UaVaV@UU@Wƒw@aV@Xkmmm@kw@IVa@KVLXU@`lLX@VKm_@yƒI@WœU@UlVl@UanU@Uƒm@U„aWaU@Ukƒ@XJmXVbkV@ŽƒIUVUbWUUKmbk@kwmV@K@mWUXUakb›KUUUJVb@LU@@VkL˜š@VXKlbXšmL™@kbm‚UI@lVXUVƒU@mULWy@UUL@VUx™Xnl@Vƒ@VxUzmK@LkV™aƒ@VVk@@n@`UL@nmV@bmJ@Xœ`WX°WVƒn@xnxnIl`VbnVlwXUlLl‚„_nV@b@bl°„V„nWJkx@nmx@b"],encodeOffsets:[[108945,27760]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/hai_nan_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"469003",properties:{name:"儋州市",cp:[109.3291,19.5653],childNum:1},geometry:{type:"Polygon",coordinates:["@@஼jpnr’``ŽpRVHʘ̤žZt^JÖA˜[†CâlTébQhRPOhMBcRSQiROE[FYdGNOEIH]MgEAMLLIAG_WMCSL@ED]PCLYC[ZIHgjSxJTMbHNEFCMEE_HSDFHSLECRNSFDRICHNADGPI\\RZGIJTIAHLDQOHG`GTNCOIC@eIGDWHIS[kiE[FMbECZS@KKS[FDWsCeRuU_DUQNOE[LKGUBM¨EDQP@HWHGDImXƒCog_~‹I_fGDG|QDUWKBC\\ore|}[KLsISBHVXHCN`lNdQLOnFJSXcUEJMCKSHOUMDIm_‹DI`kNDIGEYFM\\YPEEIPMSGLIKOVAU_EBGQ@CIk`WGGDUM_XcIOLCJphHT_NCISG_R@V]\\OjSGAQSAKF]@q^mGFKSW^cQUC[]T}SGD@^_ˆaRUTO@OHATŸ”"],encodeOffsets:[[111506,20018]]}},{type:"Feature",id:"469005",properties:{name:"文昌市",cp:[110.8905,19.7823],childNum:1},geometry:{type:"Polygon",coordinates:["@@€hIJ¤Ī¯LQDaFßL[VQìw€G‚F~Z^Ab[€¹ZYöpFº lN®D´INQQk]U‘[GSU©S_­c‹}aoSiA£cŁ¡©EiQeU­qWoESKSSOmwŸćõWkàmJMAAMMCWHGoM]gA[FGZLZCTURFNBncVOXCdGB@TSbk\\gDOKMNKWQHIvXDJ\\VDTXPERHJMFNj@OwX@LOTGzL^GHN^@RPHPE^KTDhhtBjZL[Pg@MNGLEdHV[HbRb@JHEV_NKLBRTPZhERHJcH^HDRlZJOPGdDJPOpXTETaV[GOZXTARQTRLBLWDa^QAF`ENUPBP…\\Eji`yºEvåà"],encodeOffsets:[[113115,20665]]}},{type:"Feature",id:"469033",properties:{name:"乐东黎族自治县",cp:[109.0283,18.6301],childNum:1},geometry:{type:"Polygon",coordinates:["@@ªVLP`@PEdNRAHOPEAKHEVL`GZBJfvdTAXNNTZJFPrHHNpKTD\\ILHbEVd^J‚OHLh@NNBnHP`\\xH@NBRLJTlŽNv_^CTLd@bNDVFbxdFV€UPBTKOGEOUO@OEBXQP[H_EI\\EbeYa@UO_J‹MEJ_IEDKJUGMDcNUd_FMTEJSGoZ]EIYGO[YW‘gEQ]a@WHEDQKUSDUGAbYBUpSCYNiWqOSQEoF[UcQISWWNMSDe_cLQ_UBiKQOOASQAWgS­ā]ZaŽSPÝZ]XMXSŒ[^oVËNgNKlE RôEø"],encodeOffsets:[[111263,19164]]}},{type:"Feature",id:"4602",properties:{name:"三亚市",cp:[109.3716,18.3698],childNum:1},geometry:{type:"Polygon",coordinates:["@@®ĂhTBXTRPBRPjLVAR`dKf`TC‚NXMTXRJVdE\\FpTRrPjXZMTDVoZABaVHTCLVCRGF@X^bFR’hZXP\\ZHHMA[^wBWXJlW¤EJ[bCTOF‹WWMm@ILMGWQ@DQ^QNWFSHEbF`OXNbO„VNKTEPDTLTCCVTREfvfEHNbRAENH^RJXCFHNFRpVGHWISDOTMVCZeGamaLoLÛD¹¹ėgsia{OųE—Tt‰lɂwr}jŸR±E{L}j]HąKÃT[P"],encodeOffsets:[[111547,18737]]}},{type:"Feature",id:"469036",properties:{name:"琼中黎族苗族自治县",cp:[109.8413,19.0736],childNum:1},geometry:{type:"Polygon",coordinates:["@@bRFnHNbHŒgN@NPEnbXP@bND`NT\\@\\QZb@`@J]V@XhžDpW„nCJGHGXO@CR§FANHVKLF\\MPVR`CvVfQtDPKpGHG@S`WJP~^dSTHWX\\RHTFACQTIAUPOU@MG__IaYSFQK‘NSbORHXCZeTFJg„B`YBMNMFi~IVDV[tGJWXGDQRGF]ˆJrALgESLSAYDGIaFeXQLS\\MKSLSQYJY}eKO[EHiGSaK[Yw[bmdURgEK^_kcSGEOHKIAS]aFSU@Y]IWFUTYlkP_CUOUEkmYbSQK@EMWUuAU\\M@EpK^_ZMDQ^OXwC_ZODBrERURGVVZ\\DTXcFWNIAWJWAYUUFYEWLQQaCIZeDM`cLKRGpanJZQd"],encodeOffsets:[[112153,19488]]}},{type:"Feature",id:"469007",properties:{name:"东方市",cp:[108.8498,19.0414],childNum:1},geometry:{type:"Polygon",coordinates:["@@ºŸx‹JYZQ”IŠYXLl@dR\\WZEn]bA\\S~F`KXaDeTiNO^EEKWEDQXITBXaWaDQMUJOIaTWf@NJV@dSxGZ‰Fu_@WMKAUˆ}AQ@MwG_[GOAmMMg@GKP]IUcaFKG[JSCoLGMqGEOYIMSWMSBucIeYA_HUKGFBLOFGPQBcMOF_@KO©UAtERadwZQ\\@ÊJÒgòUĪRlR°KĮVŽLJ"],encodeOffsets:[[111208,19833]]}},{type:"Feature",id:"4601",properties:{name:"海口市",cp:[110.3893,19.8516],childNum:1},geometry:{type:"Polygon",coordinates:["@@ńZƂtĢ¬æßFuz¹j_Fi†[AOVOFME_RBb]XCAKQKRSBQWSPY\\HbUFSWSPoIOcCOHIPkYCQ]GdGGIFQYgSOAQLK`MFUIGa@aQ\\GGUFcHKNMh@\\OYKAigsCgLSF]GOQO]@GM]HyKSHKPW@Pxi@EMINYREXWRQ@MQcFGWIAwXGRH\\yDI`KJIdOCGRNPNtd\\UTMbQYi@]JeYOWaL[EcICMUJqWGDNZEXGJWFEXNbZRELFV]XQbAZFrYVUBCLNFCHmJaMIDDHXHEhQNXZ_TARFHVB@DTQIRR@YHAJVnAbKFUEMLd\\c^ÍÞ"],encodeOffsets:[[112711,20572]]}},{type:"Feature",id:"469006",properties:{name:"万宁市",cp:[110.3137,18.8388],childNum:1},geometry:{type:"Polygon",coordinates:["@@^J@ZTVbET^JBGLFPTHld]`FLQhcVanx\\\\ZbLHTGj\\FLP~fIZRZPVTQFSVAFJE^NDLEE[~LjsxVTG\\NZZNGlLRRGLJTV@hPZANN^@T\\NEPPbDZXO`d^HSvcJDIV\\XZAJUFCLNP@PQ¤@[ïKLÑIÏ]ÇE±I{uƒ­YśUćFcYUmsVeBSVgB[RO@aYYPO^]@UVaNeDShMLG\\EfFVE\\F`"],encodeOffsets:[[112657,19182]]}},{type:"Feature",id:"469027",properties:{name:"澄迈县",cp:[109.9937,19.7314],childNum:1},geometry:{type:"Polygon",coordinates:["@@T\\GJCXJH@fJDDPNCNJENN^NLHBNSx@DDYbBLLDRbjZTj@`XXTlG^Xr@PJLW\\WLTlWR@HDJTD@X_PO@STMDNTMVV@NLDM`M\\XM\\JNBH[PYZ‡úYzŸ`Ċ\\ÎÝd]c[NKVFLEBaUmBIZGQ@JQSR@CUAEGBQ`SWYRMFgWGCGJCbNnIDGMEDKVAZUEqBYRa^WEUFKYQMaFWXEHIFWMYHCrXVIIiaK@aMCUYNSIISTwXALKH@XWXIEIJQCG[IEQDE_XSBaa[AIPW@]RS[FWS[CD]PEBYNGFSaSyJG]@ugEUDQlGHiBKHUIoNSKqHFaPMICK]UUHIPDJMuCA[SCPIDIOILGAEmU[POPBVSJDREBGS[QXWSGcT}]IO_X@TGHoHOLCX\\ELT@LYTD‚aFENF\\lj"],encodeOffsets:[[112385,19987]]}},{type:"Feature",id:"469030",properties:{name:"白沙黎族自治县",cp:[109.3703,19.211],childNum:1},geometry:{type:"Polygon",coordinates:["@@D\\RV]dTXELnHr]^@LETBBRTHPi^[@U`QTHDJ`MGSogDIPKdJ`WVNHCXHl_DJR@AH`FBVPUJLHKNTJOFFZON[ZEHFCJlMJ_ŒCn`CJVNGPLTNDFIdVTWEIPmRKMc_kDMWGGUTAtJLK~\\f{pqD[LAVXRCH{HC`eŒJ`}@W^U@I@_Ya[R[@MSC_aMO@aWFmMOM@‹haGGMEmaQ[@MESHaIQJQ……MckBIw[AOSKKAMPSDSLOAV_@@`KJRbKRDfMdHZERgAWVsDMTUHqOUr@VQXTT@Tƒfg‚L^NH\\@heTCZaESNObHPƒHeZF\\X^ElM^F^"],encodeOffsets:[[111665,19890]]}},{type:"Feature",id:"469002",properties:{name:"琼海市",cp:[110.4208,19.224],childNum:1},geometry:{type:"Polygon",coordinates:["@@TP\\pATHTGlZDJGAQjE\\Rb@jVBDCN`JZ[NCNHNXbULPrP\\KNbMTLjJJRFP`“pNLZz^FLRHjVPZ@hxVKbHBHMNNJFRlLzGPnNHhIrHHADcPWdUAmEMVQDSKYHY\\EhBN^HpXGNDBNNBnIß‹Å_g{³So]ã@ORO@KMEDIVYB[WJUICudGTc]P_YWaCOOMFS[]@MMYBgOU@ISHKQQkKMHYY[MSHwUit}KF\\KFMCF]EIUBETSROUKTLT[NKTWREfJbCHBZKTFTKh"],encodeOffsets:[[112763,19595]]}},{type:"Feature",id:"469031",properties:{name:"昌江黎族自治县",cp:[109.0407,19.2137],childNum:1},geometry:{type:"Polygon",coordinates:["@@`ZĤd–`òüˆ˜ “BSPGP@VSbQ`‡@]HC~T^SE]N]FkW]E[fY„GGOPaTMbFDYfS@g[MGK]h„e@SSSRW@UVqrPVGNStCXUhBFQGYNcCeLQQaLI@_`@EUwcEaCUaMc@SK]Du`MSkKI‡~BVNL@X`‚EvYŠwHcTU@MIe@SXJbIPNVCRXbWbSAWJCRXFFL]FMPSjCfWb_L}E[TaBm^YF[XcQk@WK‰Z“JYRIZwŒ¹ "],encodeOffsets:[[111208,19833]]}},{type:"Feature",id:"469028",properties:{name:"临高县",cp:[109.6957,19.8063],childNum:1},geometry:{type:"Polygon",coordinates:["@@jD`hNd\\^dZädĒH´Op@ˆùZY\\OAGIMN[[W_NCNMKU@NUMSNCTSP@`O@WSCCI@GXQSkXKX[IK@OWqH]SkWW@_SiiYQaKCAKZaCCw@MTGAMKM]FMMIMDSM_HGHRPKCBGSJJIYH[QOJCHMBDGQJECMTDQKFGTCEGTF`NFEDMFaGSNwIiTGhYJD\\KZODC^@FTKND`XBHKJNKFBNhG^FJMPcHEZF\\QPRjQTAdgNOPgQaRSê"],encodeOffsets:[[112122,20431]]}},{type:"Feature",id:"469034",properties:{name:"陵水黎族自治县",cp:[109.9924,18.5415],childNum:1},geometry:{type:"Polygon",coordinates:["@@R]NC`YL]FoN@V[vBXVFNL@TRZalnVFVP`DlOZkVSXEE_F[EUFeH[NKTgfCbMVU^@P]ZObZP@\\QhATUfAtUasñiāEoI]eYǯ@aKmaeƒWuCºKÜKpnbHbYfUDSNCPJTRAHJTDJSfDNLHXC``VBNGTYCQDIXMDSP@xLNEFRNXBIpVNLXah@RgF@`qOML@LJNSPLbaHAh@Jdj"],encodeOffsets:[[112409,19261]]}},{type:"Feature",id:"469026",properties:{name:"屯昌县",cp:[110.0377,19.362],childNum:1},geometry:{type:"Polygon",coordinates:["@@\\OnVBFKHPJCJOJTDB\\vDINOCGJVVL^JDONEbrGTLpMVJLGjAHGRkVChF@vH^zIbTETMHAZOFC^\\DXT\\EffAP\\PdAV@UIYfS|S@YPICMeM@sC[_A]VQEwyHSMuNcAUlQJMVGMS@mVBZPFO\\CSFQK[LqDMACiUa@[QiFBRIHYCHkGSBS[oSOqB‡IE^QHCRWHIXsHU\\UC}JEjMNAN_ZƒAIhSEYfWDQGaPMTL’ERZTJb``NHV@"],encodeOffsets:[[112513,19852]]}},{type:"Feature",id:"469025",properties:{name:"定安县",cp:[110.3384,19.4698],childNum:1},geometry:{type:"Polygon",coordinates:["@@JjDNdJ\\FbKPXfZ^Ij@RZNaVSc[MsMOHQPDJcLIJ_zCG[HQxWJBHXdENRR@XQFWZQQGOFSWUCI[WCJuRGLXNMPLhCl[Ta@SqGgJMGOmyHkKEQMINMAGaGULgwY@UOGiKQ]EYyMK”oO_QEIIKiNSMa[LqOKOaVMWMGMDY\\_IKrL\\ERT[DEPYOUA@nNTUHINkRBVMdNvGTxzRF^U`BD\\@tfNDNOJ@Z{TeTJZ@VU€cB[OBOeeQT@^OXBJb\\AbWTF`RCJFH\\RDJIJFXW@WLGBKxWTSJJMTVZND@bbL"],encodeOffsets:[[112903,20139]]}},{type:"Feature",id:"469035",properties:{name:"保亭黎族苗族自治县",cp:[109.6284,18.6108],childNum:1},geometry:{type:"Polygon",coordinates:["@@FJp@fxpQ\\ApN\\GNPNBM`HLMrXLXj\\PEHnI@WUCEM\\GTc\\GZYHTPBHRCPTd€H\\K\\@HXi–BJILJJAVNTOZJNtFPC`YxDPWci@IBgbGKaTOIM@KNKrP@_hE@QbgKWUMJoWAQMFEKM@wTONCJWRCZDHSAM_UD_GWMKeCITSCGIQBGXUHQoMEEGWDQIG]FMQBMaFGueFeSQDUSDSKOCSFMLƒUaPWM_PaEGFETMX]RCRR@HXKN@JNnXXEŒSPaDI\\£FkXWIAX]xB\\GN"],encodeOffsets:[[112031,19071]]}},{type:"Feature",id:"469001",properties:{name:"五指山市",cp:[109.5282,18.8299],childNum:1},geometry:{type:"Polygon",coordinates:["@@TCNOLBTLBPx\\AJdl†NR†RIbJTGNF\\@RcIYbmHoLQdKN_fCJYbDRRXKZFVEZVXBXIJBXMdESW[CUYHUVQFQAqsEIMPYMSBUIIJKAIj•GW[@[LGScDOGQOAGSYZ[HSd[HFNVD@XmJFG[OWiWKNqGKN_MAMO[HoM[BoRewo@Y^HpITSFENc`MVCdHNIVCLJFI`NFIŒP`@VZbaf[FFJG`O\\WRFA@PVPFPPH"],encodeOffsets:[[111973,19401]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/hei_long_jiang_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"2311",properties:{name:"黑河市",cp:[127.1448,49.2957],childNum:6},geometry:{type:"Polygon",coordinates:["@@VÈÞ@Žkx˜nXŽ°VÈa°V@kôw„b‚š„JVškXlVUx„„@ŽlL@xkVV°ƒ„VbxlVUnVxk@ƒ„ƒKkŽVb„Il„@°kVl„@„™lÆnkll@@V„VXƒŽš@V„²bUlƒVlV„U„VÇn@nkJšŽlkVbœ@›x²V@n°VUnlKU„n`@n°bWLnVUblVUVVbknV`°kkŽl@@V°@nz„J@XšxlWXb°n@bƒĠlbXb™bVbƒJ@Všb„a@„„@lbUbšVmnœ@lšVmnIW‚œ@WbÞ@„n@x°@š„ĢaƐéϚnœ„‚lČ¯ĠŻÈwm@ôçU™mm£Xy°UV™›@wÈ£Ǫ¯kõÝçUњ™Uķ‚ƒĢkVфÆšÞU°nŎ¥ČUĊx°m°¦żVƐœx°ƒÇ£@y„UônރÆ@Èĉ°Kô¦šW„kWU—bÇ»@™ÈĕWÇÈ£ŤU@›n£ÆUUKVamanwŃmÝJ¯k@JƒIkaVaUUÇbkaÆÑkWmÝUۙ™Ý@™ƒwnU±ƒ@kkV¯KUkƒJƒ¼U¦ƒšÅ@ówķaķůV¥Uaó@Åwmƒƒ_kVƒwĉ‚ĉmmn_V»™a@U™ƒVwķóƒ‚U¦LǫéóXÇmōLǓÇķxÝkƒƒĉ™kmakbUĶ°@W¼„@bƒšÈÆ@Ė™L„l@„°J¯„mkl¯L݃±L—amJ@¼ƒ„™VƧUó„™UX˜ċb¯ńVbkÆÝI@llx„k°V²šV@Uxގ˜L@b„@b™`ƒšÇzkókݤ@ğ¯Wƒ™LĉǙLmmnċVkbUaƒL@Ž¯„‚bU°ğL݂Ý@"],encodeOffsets:[[127744,50102]]}},{type:"Feature",id:"2327",properties:{name:"大兴安岭地区",cp:[124.1016,52.2345],childNum:3},geometry:{type:"Polygon",coordinates:["@@k›ƒϙmƏêġb™ƒ¯@@wƒmÝ@XV@IlŽl@bUxl¯VlV™bV@ULVlUV™_kx™VVV™ÈÝJ@„¯šU„™lm¯x@xóÒĉ¼m„¯Wƒxţ@Uz¯ƒWwnUwťƒ@knƒWƒ£óVƒUUwğyó¦WI—Vmm™I@±kwÇ@@bƒ@ĉ¼ó@¯wó@¯aó¼›KՃaUwmWUwÅI@aƒKó@Ua™LƒaƒVÅwō¼UUÝl±I—¤VxÇx@zkJmnn‚mbnz™xlŽƒl¯ČkJl™°@„kb„Žmx@x™@kêmVnŽWxôXšxU°„bWLóJnÇWĵ„V¦™ŽƒUUb™b™ÆġK™šk¯™VU±aXmċÑUwĉKġ„k„™ŽVxk„ÇKkbƒIƒ‚ÛXWl¯bƒŽ™X¯K™bĊš„„ÞVƚnŽĸ²lxUŽ°n°òÈb‚¦—xVbƒŽƒ@¯„Vx@¯VķÞČlĊ°KĸŽȘI°¤ČIôŽò»ƨnȰKǬ¦ôWŎÈƨwlƒnKVXmbX`lbšwkVW‚XXŽ„L°a„ƾaĊ£nƒ°@°¥ŎzÞ¥‚»œalwôkƒJ„a@ĶK„£„bU°ĊxźVÈUĠ¥ƨ™VI@XU°x°Ln¥šw°UmwXm݁V¥ĢŽ°@nU@mÆ£š¯lKœšÜw@aÅU‚¥UaÝIkmV²‚nn@Ķ»@Uk¥VKÞ@ÞÛ@ƒkVmĢa@_ƒJómƒǖ¯Æw—óÇa@alƒUwšwĢřšk@wÆWXUWXƒWa™m@_ƒ»ÇéXaĸwVa@ÝKkUWkX‚kšKXxƒn@lĊV@¯m¯nřÆwš¥"],encodeOffsets:[[130084,52206]]}},{type:"Feature",id:"2301",properties:{name:"哈尔滨市",cp:[127.9688,45.368],childNum:11},geometry:{type:"Polygon",coordinates:["@@°`„_šJlUšŽ@„„@V¦°JUšŽnLôlnŤ@@šÈaUÒVbkbl¤ƒzk°ÇVÛô°IlVUVôU„xÆU„Ž@bźĀ„º@¦šb@l²‚UVlœ@°ÒĠxšnXxÆVô¼Þ@Üx²KލlƒVÑ°UȰôlwô@²ƒĸ°„lanV@„šVŎUll@bÈnÜm„wĢ@la@ÝÞb°UXb˜lŎ²ÆškšV‚I@ŽnJnĠŽ°knƒÜbĢwna@a˜kÞKƒĀ„a‚™œ‚‚IVbU¥wĠwkô˜xnLƒċVçkaUƒ±IUmnġW„°WôĉšalƒÞÅĵ¯@W¹XÝaƒb¯a±X¯ºLƒaVƒmkLóƒƒbkaƒVUKVkkKV_@aÝykk±L@ƒÅU@yV_™aU¥ówÇx™@UkVƒn@lƒkÅlwšWVwUkĉmkklW@šašbVwnWWƒ—wWL™™@Ušƒ™UƒÇLšÇmƒ„@wƒJĉƒL¥@ƒÝ_@a¯y„UWw¯ƒ¯Uġx¯aÝXVmaU£ó±›¯nwƒa¯óÅVƒXman™„Uƒ›lUXkWa@mkI„›ğaƒm™IklÇU™„kĊƒƒzkKƒš„lU„ōĬlš™„@ŽnX°@llUxŹ²mKĉVWwk@UbUK@bmVmI—ƒVmwaWxXlWȁšmºšÞÆbUxV@ĵńWÆĉLkWUbƒaWzkbĉ`U„±LklōwUVÝ£™UW`Uwk@mk¯VkaõVX@WbL™K@XƧºWzxƒK@lmX@bkVVÆk¼Vbk@Vn"],encodeOffsets:[[128712,46604]]}},{type:"Feature",id:"2302",properties:{name:"齐齐哈尔市",cp:[124.541,47.5818],childNum:11},geometry:{type:"Polygon",coordinates:["@@Þ@ށĠKV¯a°ƒ@„KVblaČU‚mnnšKĊȚKX„°ŽĠ@Þ£ôllÈy„™š_@a‚ƒ@a—KݍVwU@±™¯Uƒlkw@kÞJlÅUa°ŃČaW—šVôƒƨVšU„ƒ@»nI˜b²Kބ°Klkn°ƒ¯I@ƒƒkšK@ĕÇń™@aƒX»¯@VĵlaÿVamI@aÅÝउýƒĊȗJƒôȁÅkmƑۃ@kxġ@@l™aVk¯»ƒīŹaƒkƒ¥Å¯™JUaWU@@w™aƒ»„KUkÆkUm„UmwÛ±±UUbUŽUXƒwWwÆÝk™lkUanaWwnKl™kal¯ka™ƽa›kÅx™a¯@™amb¯V™lÇwÛĀ™V@x™šmêVƜVV‚aôV„wÈx@šˌx„¦VÞ¯VšlmX@‚ƒL@¯Ua¯LmV@„„°X„ċK™V™ƒ@UƒÈ@‚¥@w—ƒġIU™km¥Źwƒ¦¯lmn@°kxVV@¦óam„n¦l@nx™lĉVóšmx™n™ÒĉĀĊ¼„þ„šǔêÞ°ˌĠÞÒ°ĀɲĀƨźˤȤƨĊ°w@£nymwnkUUV¥ôÑVmkÆmUUVa™mVIkmô„lxkXÞþƒbl„ƒl@kV„ƆƒV„xV@š¼VÒ@šŽUŽšnnނJ"],encodeOffsets:[[127744,50102]]}},{type:"Feature",id:"2310",properties:{name:"牡丹江市",cp:[129.7815,44.7089],childNum:7},geometry:{type:"Polygon",coordinates:["@@U`lLUlVL„Ulb„aô„lKnŽU„„b‚K°¹²W°b„aÞb˜knyUlUkamř²L@m°@lšmš²n`ôÅlK„x„ÜKnxV@„l@œƒ›ÅXyW_k@™wm™ŹĕmƒX™»‚ƒÛ™l°ƒôšÈ„»š—ô˜ô_WW@Uœal»šwU@@wšUVƒš@VƒXI@w‚Ģ͑ÞȻ›aU_@mUkly@¯óV»XmWUXUWmnm¥nUUaWLk»Æ²IÇa™wÅaÝ°¯nUa±a™ƒ™@¦õÆğ„@„™@Åb›xU܁nÇłlb¯¦„ôó»mƒ—@±ƒUk@Wwƒa¯xU„V°ƒxXbǎŁUV™™ƒK@¹ƒKUaȯ@ōݙXƒal™ƒlÛkalÇUǫÇńÇakbÝƆ¯nlš¯Ž@¼™VUx@x¯W¼™Æ¯šmĖ„Ĭ¯ČƒVk‚ķÅmxœ°ô²V¤‚bUnÞW°bĢw°V°„XxƒV°z@bÞ`@„‚¦„KĊŽ„I@xƒŽn„™ÈÈK‚„šV™„@VššXK˜xX„mXUx™a™b@‚kXllĊnVlUx™XkxlÆk„m@U„Vlš@ÈwôxV¦šbU`@zÆV@„²KllÞz@b"],encodeOffsets:[[132672,46936]]}},{type:"Feature",id:"2312",properties:{name:"绥化市",cp:[126.7163,46.8018],childNum:10},geometry:{type:"Polygon",coordinates:["@@ऊþÆÞ@bnJUb‚ĀnblŽĊš„„ÞlĸwǔÈŎKÈnôWǬê‚KV¥„ĸôUxš„@VšbU¼m`nnĊŽĊ„xlUšmkaVÿšLšwš@°»UmbKmݙUšwUmVknKUUl¯ƒKU™ƒUȃ‚™nK@ĠkX±lX„°„L@¯¥@wV_m›ĵ¯Ww™L¯ƒUkōƒÇVU™l›w—V󁱃¯aƒVka°wVk°mÞ¯Ŧřƙl™²™Ŏk™U@ƒmUkb¯ƒķŽ±„ó@kxȯó¯VUÒk„ÝŽ±LÛwÝ@ó»ÅUWw™mğw¯Ñ›@UkV±@k™a@¥ƒ¹Źÿ@aƒÅVƒwóVVUkU¯JÜóÈUl¯„yk£laUaVÑÇb@™ţ@kmómK™V¯IU¥ƒ@@ƒ™kV™Iƒ`@ô™¼„blU„lƒ™bÈb@xÇKkĢɳaÅɆō@ƒŽVƒK@z™@@¥ÆKnÜ@@aۏUw›wnU‚ķ@ƒ_ƒV°Ž@„klVššnULVVÞbVl@°™@nx™n°LŚÆlV„ȃmU²@VmĠLƒx„n¯xkWƒzšJ‚wnLmbXbW°šÆ‚™²™@™Žšx@JVx„L‚Ā²Æ°I¯º‚È@ÒnÈ"],encodeOffsets:[[128352,48421]]}},{type:"Feature",id:"2307",properties:{name:"伊春市",cp:[129.1992,47.9608],childNum:3},geometry:{type:"Polygon",coordinates:["@@ƒKƒ¯kWW²ğl@ŽmLšÇ„„VVš„Lk°VVmLUlVn™xšVnނLnaVŽ¯¼™@™x™KUĀlb™n„`n„Æxô@VbU¦ĸŰĸbôxÆ@„™V¥„»„IVl°LUŽll@²„mV„x@ššÞܚÞVnŽlXÅÒlbÈaVVUblb„J@I°lÞIn‚Æ„mxnbUbVLÅVm¤@œţVǤXÈÇĖ@šÈ¼˜aXVÜaXbWŽnzŎašř„KôbšUlw@¯naÆKnUU¯Üa@mkkVUĊm„™żÝ‚ǖŽ‚K„™°L²lÆI@ƒ¯¥ĉƛVaÞk@ÝVaĠlnUVwƒœómaƒ@™wĉ@™a™VƒxamX@aƒ@UaÅLƒaVWƒ_nWm£nWm_ÅV¯ƒm@m„󤁚ݦƒ¯ÅalmX£ƒ™VWUŚw™mÇ@@IV™„WUw@ašI@„k@wŎ»Wƒ„ƒ™ÅVaœK›Ika@¥lUkUlwÅwVyÈwWU@a¯U°m—Ç@UçƒaVa¯mV»ÅwÝUlƒUk™V@k„mUk‚X£šw°@@ǃaÝIƒƒam™Ûam„¯lğmmI@J™U™l±ÅōŽ—kWa¯VÝa@Þkbġ@ƒxÛnÇm@akkōVōl±škšÅšťŚÝ°¯nUl¯xlb„U°b²„ô‚˜Uœxšk‚VÈUŎ„Vl°„šKXxĶ°nœU`@x°¦@"],encodeOffsets:[[131637,48556]]}},{type:"Feature",id:"2308",properties:{name:"佳木斯市",cp:[133.0005,47.5763],childNum:7},geometry:{type:"Polygon",coordinates:["@@nš„b‚„ÞJ„b@ȯ@™xW¤Vlƒn@lšUVlk„ÞVÆxU¼°nUb„bVèÈ@˜ŽnIn‚@šĢmlUw°™żƒ‚VUn@lnL@VôbšwĊ‚lœ„JķĸĢl„wôwƨxVVUƒŦšxšLź™Èš°`nnĠwŎJސĶwôJ„@¤Xn܄ĸlšn°¼È°lŽ„„Uš‚b„xš@„l@ÞÞÈm°„lôwšL°¼ĸ‚°Þ²nĠ@ôwÞ`ŤI„V„ÒĠU„„@„VJĸbƄ²@°ŽĊKšœ„JĶaĢȰ@ô¥°nš¤‚bČUš@Vx„mUw@a݁ţƒÇ™ķƒ@ĕķīU¯²@ÆmVÑô¯X¥ċç@™ĉ»U¥ÝţKWVÅkUVÝŎUmǍÝx¯aķxÛUóL¯a±óōb¯™ƒÑŃVÿƒ_Åķ„a@UƒK@wm@Van@UmmLVa—@VImmXUWƒÝUřƒKUwÝUUƒkVƒk@l¯X›‚Å_ƒJ¯k™Jm„ÅLƒa@¥U@¯Vƒz¯@ƒ`@¼šmxƥšŏKÛk@±laÛ@@Xm@™ƒ@xƽ@WŎnšˣĕÅ@@aÅ@@nÝbǏ¯@ƒ_U›kUWƒkb™wÝU@ç„Wlw@anIƒ¯lyœX°m°VšašÛšm@„mVwÞK°ƒšXlaXmm_ƒ@UƒkwÝK@ƒVI™ƒXmV»ƒI@aƒ¯ğW™bġaU_¯JU¯ġŽƒ„ĉ„k„ō`±nÝÆk„™bóĊ¯Xƒ‚ĢX‚mVn²JV„lbUè„ČmK—wlóğx‚xV¦UaJ›šƒbƑÿÝL—l@bmbġx"],encodeOffsets:[[132615,47740]]}},{type:"Feature",id:"2303",properties:{name:"鸡西市",cp:[132.7917,45.7361],childNum:4},geometry:{type:"Polygon",coordinates:["@@‚LšKVVnkšbVšÈb‚²U°VnklVlaÈL@anU°ÜmXV`œnôLƒèšxlŽšLX„˜L²ašVVmÈX@ķ˜lnU„Èl`ȹš@ŤŽ°U@x„KnnV„mlnnUl‚lVnnaŎwlVÞ҄@n¦šLVŽ°lšwVk„Lšaގl„n҄š@xmLÞ¤Wnœ¼‚WÈLVVUxlÈô„„WVaU_VKšKXUÆbn™‚nôK„bÞw°bÆWXamVwœK˜™Uw¯WUk„UlJUwVUa™@@kmyzm›ĉw@kVwškƒW¯ÅKU_Vmƒƒ™xU@aW@@kK@w„a@Kƒ@@kVUƒaky°_Vm™kna¯K@™ƒL™wġk@@IÇóX™ƒwVakmV@mwXUWanƒlĉ@ǙUw™KƒƒóšܛNJۄm°@›w—Å@ƒ±b¯Wƒ¹„WVwŹĕ¯kVmōb¯w@aƒwmV™UUb™V™IkaVwķ™xk¼›b@VXXó`󗙘ƒ¼Çó™¯„kŽÜš„š¼WŽn„źĖnššxl@X`WzœÆ"],encodeOffsets:[[133921,46716]]}},{type:"Feature",id:"2305",properties:{name:"双鸭山市",cp:[133.5938,46.7523],childNum:5},geometry:{type:"Polygon",coordinates:["@@™UƒƒUwó™mÑÞÑUÝÝUkmmŃyV¯ī„¥ƒUÿĉ¯mÇkaWbÅX¯aÝxƒaóLmmšÅaWV™LULV`UbƒXóƒkÇVwUUÇKX›»XmÝ£nK@wƒ™mÑkƒÝ™bƒKUl™x¯kU™Km¥ƒ@ÝÑkUōxmbUmkVkmmnkUƒmmƒL@w¯Vţ™@Ǻk_ƒÇmV—k@ĸVx‚VÈ°lLkllšUbōwƒnVW¼nlUx¯XmWUnÝ@™xÝUó¼¯J@LVbkJWnkb™W¯„ÝLUxƒn@‚™n™Ü™b¯U¯n›Wkz„°mJ@bkxƒX@èÞVšxlaX„lVVœ„`°@ȐÞa@mÆ@@bÆ@ˤĖm™Xōƾ@@wš„n@@WÜ@kb@²ÜlŐLƦ™nw™@»„_°@„y°UV@@¦„bÆKnƒšI°l„IÆ`œ°W@k„llUV„ÞVVx„LƚÞVX„WVnnUJ˜@UbnKVnm@Ubn@@x„L@VƒbÆĸ„`UĀƄ„Ò°šŎa²ô°bôKÜVĸw°bÞwȎVnÞōVUÆlXU"],encodeOffsets:[[137577,48578]]}},{type:"Feature",id:"2306",properties:{name:"大庆市",cp:[124.7717,46.4282],childNum:5},geometry:{type:"Polygon",coordinates:["@@mÇ@сǰ¹¯J±ÅÿƒKUw‚I@™wšš@š±Å‚™X¯WanamKx™I„ylX°wƒm„wğKUn±@nVDŽUƒÅkƙ¯Kšmmwš@@¯UkÝaUUVK™mU™lk@ƒ¯„U„`ĸ@V‚mœxVxܐ@bÛ@m‚ÅL@¦š@@y„L‚U„Ŏ@ÆɅɴblġÈL@wÇaša„ƒkkVƒaš»@ó¯_ÝJ™wÇaÅXny›U¯¥Å„@w™bÝa™Lmm@@ƒVUŽlbğVmš™¯Xƒm_ƒ`¯_Ux™m™L™a¯b@mƒaó¦Çk™¤V„@bóJknVx™VXx±aƒLUbVxkLVlLWlƒ@nX@VÅbWlÈnƒx„bWšÅbmŽ@xœbml°b™„XbW„XVmnn`ƒLmšnbmb@šk@mwU@@š¯Jlbk°lbkšmLXxmbVbkllšÅނxX„xVWVVa²VܲnxƒVVnÅlVlƒL„¼šb@xV@XŽVbšIÆ°„¦„lźb„Ĭ°¼Ulšb@kĢ@lw„@ƒÜlnȂƄóȘI„ĉ"],encodeOffsets:[[128352,48421]]}},{type:"Feature",id:"2304",properties:{name:"鹤岗市",cp:[130.4407,47.7081],childNum:3},geometry:{type:"Polygon",coordinates:["@@Þ¥‚™ô£nƒn@°„ÆUn`mXn¤mX„`UX„bÆKVb„@@bnW‚b„wšUšbĊ@šx„@nbšWVmƒ_mm@ó»Um„ŘWXkĠ»²¯‚¯nķšwŎ@ĊšŎK°bĸUnјKȦĠÈbÆknJššÆUĢV°IšŽšVƾƒwaV™ƒƒkÇ¯¯»™mķkۃWm@£ƒóIĵxݏōIğxmm¯_ǙŹš™K™wťŽ„UVUŽƧwóxƒxġkĸķƒIk›ĉ™xóa@UmK@kVmUŻ„¯šVxkŽġn™‚@mmJ¯n°V@bXVÇxUzÆxkxlVkV@¦lbœJ›LUbšÆƒ„X„ō¼@xƒl@™J@bVxƒXUš@JÈ@šn™xVÆUXš‚„W¤knÆb„°"],encodeOffsets:[[132998,49478]]}},{type:"Feature",id:"2309",properties:{name:"七台河市",cp:[131.2756,45.9558],childNum:2},geometry:{type:"Polygon",coordinates:["@@²mŎ_lƒĊƒ„ƒĢV°°IV`ĢbšaĠX„°@b„JU¼Wnš„UJ@„ÞLlxV„„@n`lIUa@K°Iô»ÞVšwÞ@VmnX°WVwmkX»‚U„mŎxVak™lkkKǯUUwÇWUn™U±b—KWƒ™Kk™w„çóK›mU_nW¯ÛmV@bÇKkbkUml¯U±VÇaU™™amlUU™LK›„k@ƒU@mwÛLƒŽƒwkLóÆm_™±™nkŽ¯@@n±KnŚlbkVV‚mz—lWXº@Ķ°"],encodeOffsets:[[133369,47228]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/he_bei_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"1308",properties:{name:"承德市",cp:[117.5757,41.4075],childNum:11},geometry:{type:"Polygon",coordinates:["@@lLnlmxn„„IVVlUnb@VVxXJWL@LގVnnV„J˜_@wkmšK„b‚x„wXk˜WXXšKlb²K@nVVVb„L@WlU²„lKVnUJVz@VVb@lżmVUVnbôaVX@°Ub@lWbXš@b@bVb°x„@VxÈLVlšaÆ@Þb²k°@lVUŽ@Xn@VW‚LXb@¤VXšKVVVLnm°_ƨ¤@aUIVa„alkX›°k„™V@„alwUVy„U@k󙰃na°UVUUmUÆw@mkLVUƒWVI„WšLnn@xlVnK„myU@ƒU°UXaV@U¥ƒU@Uƙ@aVUkWU¯ƒaU@WLUV@bkbmKULmKkUVUkmVIUwlWV²™Uml°U@W„LUwVm@UUK@_ƒKUUÜaXw@ƒVKUU@mVIUUlmnIVVVbÈVlKnbVKš@nI˜@nVnwVLVK„K„„˜Vnb@aUIVW@In™°@lVnIš@lWĢ@°UVL@b„@VyUUƒa@w@WUnU@Wǯ™K@UkkJWaÛbmk@mVaÞU@amkWƒ@mXUKkÿƒ£@a„kl@Um°UXwla„al@nmlXnW°znW@aƒwV™@ƒakbĉ¥VmU@ƒIƒVƒUƒJkUmWU™KbmkUaƒKkUVU@KV@@klw—™WaU@kmƒXVènbmlUUƒKƒX¯JkbƒI@JmIUWU@ƒLml@XkJ@U™kƒK@aVKwWa—IWwƒmUƒ@mU@J@UaċU™aUUƒVkI±ƒk@UUƒ@UbVVm@UVKƒLƒlkIWaULUWƒXUJU„ƒ@WbUb@lkXUxm@@JVn@J@b„nƒb@Vkx@bšLU‚Æn„JšaVXnKVVmzX‚°V@_lJXxWXƒK¯bÅamUƒ@lUI›bñJ@LÇKkIÇ`kxWL@„ƒ@@bUVUb¯xWKk„Å„VlULW@ƒŽn¦Ul@I™lmUUUVm@kWƒnkKma¯XUKWmnwVwÝL„mŽ™VUbUVWb@Lnxm„xVŽmbXx›¦@„nb@`™„ƒVƒ@kbƒLU„mVUlkbVXkºmnm@@xk¦šbĢÜlš"],encodeOffsets:[[118868,42784]]}},{type:"Feature",id:"1307",properties:{name:"张家口市",cp:[115.1477,40.8527],childNum:15},geometry:{type:"Polygon",coordinates:["@@k™ġۙal¥@wn@nml¹UWlaVknUVƒ„Kla„@„Ušƒ@_ma@ƒœ¥WwnaU‚wnƒmw@KXaVUVašUnmWUk°™lƒnUVUXWVw™IWVóKUI@WXƒxUU@mma@kUKWLkw@yk@ƒaVkUUċaUU@Wk@Unm@UVmLm±IUƒkJ™kWƒ@a„I@m@U„ƒVƒ„Ula„@VXVƒXmVwnkWKƒKU_k@m¥ƒmX_™JmnU@km@U@KmU™VƒU@U™@Umk@@LƒmW@Û£Wƒka@wk™@aƒI@mmk@mUa@UmUƒIƒwW@aWUƒbU@kbÇ@kwƒ@makVUk™U@aƒm@aU@mxkUƒbƒKUXUƒ±KXVWLUK@wkU@V™@WXUa@WbUxƒJIƒŽ@¦VèVVX@±ê¯KUIƒ`¯UULVx@Vƒ@UKƒIƒVkLmVkKmš@nUJÝbkIUJVXšVVxVbU„VJ„Un™°bV„mlU°„XnK@Ul@lVÈVUXšx@W„@VXšV‚KÞb„n@VnbV„m`ƒUx™kW@UVkL™Km¼@lUnUJVnV„XV@Vm@@LV„klƒIkl@VƒWlŽULWKUL@mJ„@blbUVUlmzUJUxm@UUbċÜk@Ub@VšLVV„¦ôbVŽmšUKUkU@m„„@VlVn¼WbUJ¯@@„°šnIllÈl˜@nXšWlLœk‚J@bkxlxkxlXUlklJƒšXL@bW„n`@nƎXxlL@xl@Xb‚LœKlVlIXblVUbUJW@lX@VL@VVŽšXšJšw„n@WnL°K„bVbl@VI@K„@U@nmVmV@XUWI@aXm@™VUUkWmn@lmUUk@mUmK@UnwVĉ@ƒƒmU_V@XJôVVUšLVUn@šllUnJl_n@šml@XŽlLlw²LVJUL@VmbVblVXmVnlš@Ť¦„nn@܎@bšl„@@XV`„Unb@VlLVb²J‚Xn¥ÆÑ@¥Þ@"],encodeOffsets:[[118868,42784]]}},{type:"Feature",id:"1306",properties:{name:"保定市",cp:[115.0488,39.0948],childNum:23},geometry:{type:"Polygon",coordinates:["@@VbXWš@@UlV@xVLXKWU²LV„VW„L„alVnwV@@b„n@bšVVllUnb„@lxÈ@laV@„aXV@b‚X„x„J‚nV@VVb@nnl@n„J@blšl@„ašƒU_VWUwVUškUm™Ukb±mVwœU@VIUW@UWk„@VU@ynL„m@IV@‚bnK„LVaVmnIlaXwV@@WVL°@@xnX„@V`V@VbUVVLVKnwnL@ll@@_V@VVnaÆ@œKVXÆ@nƒ@wƒKmU—™Wm@km@kÜKXU@ÑW±nIUwVƒ„Kla@I°wU±kškmm¯mƒ_ƒJnƒaƒwW@IVaUama@wƒUƒmU@mVw@aXk@mWa@£km@aƒ_kVmUnWW@¯bƒkUmk@ƒVÇm@@kUU™KUU™@UVUamVUaWIkb@xU@@amUkKƒVkam@@kVUkUWmKmUkLUb@xmJƒ™U@UImVÛVmnUwƒJƒU@VƒX@UWm@Ub°¦UšmxklmX@`ULU@@UW@@xkn¯@makV™UmxUb™°ƒlUšƒbUbƒnUJƒUUVƒa™LkbUU›JUU@mUUUƒJkaƒ@™xUIWJƒUnƒJ@V™zƒ@kb@`@bln@l™bƒŽ@X@š@š„@Xl‚bnbVb„@„„VJlInlšbVw@U„K„l@lbnan@Vb‚JôLn‚UzlV@lÈLVbVK@LVx—VWXX`WxXz‚bV`UXV¤nx@„bVlVnVlUL"],encodeOffsets:[[117304,40512]]}},{type:"Feature",id:"1302",properties:{name:"唐山市",cp:[118.4766,39.6826],childNum:11},geometry:{type:"Polygon",coordinates:["@@„@VVl@²„lJ„UVVšbČVVb‚@@InV„@‚V„nXx˜JXb‚xUL@b„Lšl@VlI@Wnk„KV@VXnJ@I„Jla°I„W„LVVnkmaUç„WVkôaܯ„@nV°wnJlaV@VUnUUaW¯wXWWwna@£UaWKU¯ƒ¯@aVUkKUamUUƒn»‚an™„IVwUWlkš@„LlWVakU@K„_lƒšbÞU°@šy°n„@„KÈkWW™ţ¥ĉōƒkġWUw¯£¯ƒÇwţwƒ@kK@kƒ¥ÝwÅbǤېťV™lW°@ĸ™x@VVVULVLkl@V@Xƒ`Ub@Xm@UWbƒk@ÆVbnLWV@lnXUbl‚@X¯lmU™VkKWLkK@_UK@U@UmmUxmVXLWVULkU@`W@ULUK@XlJXzV@@xml@VU@UX@Kk@WbUK@Xn`ƒXmJnšmškxUVbUVlVVxUbV@nKlL„kVKÞbVKXI°KVšmVUIUKULVxVJVLkV@Vƒ@UbU@WUU@UbUK@b@nƒV@VkLmb@b"],encodeOffsets:[[120398,41159]]}},{type:"Feature",id:"1309",properties:{name:"沧州市",cp:[116.8286,38.2104],childNum:15},geometry:{type:"Polygon",coordinates:["@@@ln@UȄŽl@Vn„l°aX@mXnVlU„`@bln@¤Xb@nWl@bUx@nnV‚„„V@xnbVbUb@J‚X„x„b‚mXa@k„UVwlW„k„KôVm@w™kkK@kl»Èƒm™VKXkla°@XVV@VI@ml@@Vn@VX@V@J„@VxUzVVšš²blVk¦@šĠ@@»š@VK@VÈLlK@XnJ@alIUl„a„VVbš@„n@a„U@WUIV@mUn@mKXml@lL@LnWšb@XV@@a„VVb„V„@VV„IVWÈb˜IÈ»ƒǟlWšaVUÅUƒƒ™Um@kVU™WVkaUwmaóUƒJUU¯ÑU¥mk™¯UaƒKÅnÇyóXmWÛX¯aċbÛa›J—W™ÝU¯»ƒaóóUm@IƒšVVl@bƒLUJWLX@@xšXUxl¤V@V„nVUV„XVbVš@Ž„@@VVn„°VŽ@ţU¯VƒUmƒUWV@mUXƒaƒbUKUwUaÇKn„ƒVk¦Wb@VnLmV@bkV@n„xW`Å_UVƒV@bƒUklVX@VmlUƒx@VVL@x—VWVL@VW@UUm@"],encodeOffsets:[[118485,39280]]}},{type:"Feature",id:"1301",properties:{name:"石家庄市",cp:[114.4995,38.1006],childNum:19},geometry:{type:"Polygon",coordinates:["@@la„@šy@U„I‚m„VXIVJšw„@lb„IVVnV‚@VVœIVVlašK„bVU„VVI„mVa„aV™„kš¯VanwšVlUnb°@lm@wX@@VV@VK@_nWlknwV™¯¥Van@VX‚@„W@U„V„IVxnmÜUnUVJV@„šnI@wValKnV@k‚mU£na@mVk°K„LVa@UU@UƒmknWWkXU@aWW@@km@UaU@@klK@UkaWaUnamm@U„a¯wWU@UkƒL@ŽUn@x™V™lUXVJUb™LmU@aUWUkmKkLUUm@mW—XƒaƒmmkkWUm@@U¯JUUm™kU¯@mKĉxÝwÝ¥LƒUóŽmwkUUUWVkKm™kKmLX„lxVLVxXJ@nVJnz@VWL@`nX@šƒxƒ@kVUUmJmIXx„JV„ƒnUVƒ@UVV„@LUšƒ`UXVVƒ„ƒlXL@l@b@VmX@b™xn°™UƒbkKWLXlW@@bƒK„mKULmakLUlmb@šXb@xmXU`V„b@`lLx@nWVXL@‚°WlXnlb„KVK„XVb@˜X@l_lJ@V@XnŽ„I"],encodeOffsets:[[116562,39691]]}},{type:"Feature",id:"1305",properties:{name:"邢台市",cp:[114.8071,37.2821],childNum:18},geometry:{type:"Polygon",coordinates:["@@nKlLnšlLXUVVlVnxô„V‚KÞ¦ÞxĊwnL°@lVnšVV°I@Vn@V‚lXnl„n„b˜WnXn@VVlKnLVlVX@bnVšKVaUIVWškšU@wVm@¯@U¥VmU_°lšK„k‚w@LX‚Va„U@wšUƒUUKlUóW@UVUœUlƒ°K„wlKU_na„KVnlKkkšWWa@IœJVa@IlJnU@„KVUUmVlaXUl@lm@kXWÝÑnkƒ™±™k@wğ›@@U@mKĉLmVJ@zmlnŽWLUÝJU_ƒ@@šmJkXUVlbklÝ@Ýa™b¯@¯±JÅwġaUU@ƒkU™@mVI±bUKƒL™WUXƒJkaƒLóKULWbUVkKmnk@@bmLUŽƒl@b@mnmJkUULƒaƒbnŽmn@lVV@¦n@„l@b‚znx@`Vz@b„xnV@xl„lbnKVx"],encodeOffsets:[[116764,38346]]}},{type:"Feature",id:"1304",properties:{name:"邯郸市",cp:[114.4775,36.535],childNum:18},geometry:{type:"Polygon",coordinates:["@@„bVKlVnInm‚@@a„kVnK@al@nmlLVUXaVKôL„Klb„IVWšX„KVL²a‚JnUš@lV@„VVĢbÆx²I°Ž°@šaÞbÞ@lkkaVUlWnI@™„@V`ÞI‚VXKmnk@y‚InUĊKƒÇkUUamUUkƒƒ@aU@U™ƒk@WUwVkVJVkkw°a@„mK@UX@VV„LVW@wšwVa@¯Xm@@lUIWaU@UWkXWmU@UwmUkKmn@lkVƒ²™VƒaULUVmJUUUwƒLma@™UmkIUm›L—mVšmx@b™LUamKÅL@VmbkU¯KÝamzkJUb±Vkb™L@lU@WIkJƒzkKmKƒnUalWkkKW@@nkbk@WW¯XUVUJ@XlJ@Xƒ@XlWLkUƒ`VUnaWa„UV@UVIƒaUxUUmVƒK@I@W@DŽU@@U@bƒ‚@nmKXmx™@UxkVWUX„@`VLlL@`™zX‚Ýb@b‚„@VUVkIUJVz°KVlnLlKnL„xlLVVUVlXUJ@nn‚„I@mVUlbn@@Žm„@bV„nV"],encodeOffsets:[[116528,37885]]}},{type:"Feature",id:"1303",properties:{name:"秦皇岛市",cp:[119.2126,40.0232],childNum:5},geometry:{type:"Polygon",coordinates:["@@lnV@Xb˜škx@lU@@LUVlV„LVbnl‚ašLXVVn‚l„I„V„U„JV@UnĊ¦la„bš@nJ°UmƒV@„wn@VU„JVI°bnWlXnWVLVK²b‚akk„lI@aUaVƒUwVUUalaVwnUVak¥šX@W‚kœLVÓm„mUK@_lWš@n_UK@alÅ@ğÅƑŃݍmƒ@їţÇlƒLƒ@¯m™z¯@ÝV™ak„ƒ`@LlVUbkXƒK™@klVXUxƒJmšbm¼V„nVVblLUV@b„°V°XLVb@¤mbXxWX°xXŽVbmVUVU@kbmI¯xmUƒ@Û°óbUl"],encodeOffsets:[[121411,41254]]}},{type:"Feature",id:"1311",properties:{name:"衡水市",cp:[115.8838,37.7161],childNum:11},geometry:{type:"Polygon",coordinates:["@@„KVlV@X°xƒb@VnnmbVŽXblb@VkL@lV@Vbn@@l‚@XX@bWVXlmXnlV„V@@VUbƒK¯LUl@nmbV¤n@l‚LXnlVUV@ln@lb„UlLnV@bV@@wlaXJVbnUVbVUš@VVšLVVn@VVX@@U‚KXU˜U@wUK@U„wVnk@UUWlk„V@a„UVUÆ`X_ƒw@mlU@anUmK@UXal¥„UmƒÈLVbVxVL„a„bVW@nXU‚Vn„„V°UŤV@Uƒ¯Um@Uƒ@@U™UaƒWVUmUUƒU@k£Vw™W@wW@XKƒIUa@wU@@al@UK@_mKXKƒbUU@aVKmš@Xmƒƒ±@kbÇakLğVaUw@a@ƒmkUJƒk@ykw@£ƒWX@lknk@WVkbUŽVnUVƒL@‚mVkI@JUb›I@JXb™XllkLUmƒLmbV`kLƒx¯Lk„›VUV@VôXkVVL„V™V@xƒVUbW@Kxƒl™L¯kV`UnV¦°@"],encodeOffsets:[[118024,38549]]}},{type:"Feature",id:"1310",properties:{name:"廊坊市",cp:[116.521,39.0509],childNum:9},geometry:{type:"MultiPolygon",coordinates:[["@@la„Ušš@šUnL@VWbklWxnIVV„V@X„JlbUlšXVbn@@K„mV@@X°WVInJmn²@lmVbnL@amKV_kwlmX@@LVamaXaƒaVU@UnJVanLlUkaW@UaVakK@IlKUU@an@ln@alKUƒkIVa@a@klaUKUV@UkUV¯šKVƒV@kUmƒU@@a¯ImJUU@VV@UL@Uƒ@@WXUWa@Ukwm™@ƒX@@w@al@@aVIUmVUUUVWUknK@I@™l¥kU±a™™UUVyUwƒ@@I@UUWm@@Uk@@nUJU@WU¯@kbWlULnšÇ„k¼@llLšl@xUnóŽƒLƒlkXUxƒV@lWb„I„`°nnn™llŽV²¯x@JkbƒLU„VxmJX²@ÒWVÛL@lln@‚Xn˜šnV„L"],["@@@kX@Valaa@KWI@UXW@WanaUIW@UaUKķŽk_W@UVUKUš@bƒ@UamxVXnJUbWVXLVbn@W°kb@U@Wó¼mIU¼k`V„@bVbl@„lX@lUôVlUœIV`lX„Vn@lUlVn@„l@UVaƒIUWl£Um™VWU@@UUKlUUUnƒVL@KšUnLVWUa›@™U"]],encodeOffsets:[[[119037,40467]],[[119970,40776]]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/he_nan_geo",[],function(){
-return{type:"FeatureCollection",features:[{type:"Feature",id:"4113",properties:{name:"南阳市",cp:[112.4011,33.0359],childNum:12},geometry:{type:"Polygon",coordinates:["@@lKl@nVV@„bn„@VVnm‚nL‚LXx@š„‚VLlKVU„IXWÜ@șlbl@XUĊUlwnW„LÞw‚m@ÞUVmnVl@nX‚JXLm@VnnJla„I@VkxVb„@VŽln„J@knKVn„@°aVanal@XK°b„‚@š¯VJXIš„VK@al@nV„k‚@nK„a‚b„@XL@blVVKVLXK„@VaVI°mVaX@V_@a@yUkVw„VšIVašJ°™@anIlaV@nKnXÆm@wUUV±UUWUKnaWwXUWmŁ¯Vƒam@kakImƒUKƒ»lan@VXXa˜W@@UlUUa@a@UlwUƒV@Xal@@anIVaUK@V™XmwVmUmV„LXl‚@nalLnal@„šnKlkV@@UnJ‚UXnl@nVl¦V@@VnJ@nUVVVVIn@Va„JƗn@@K@m„kƒa@kmWVaUI@a@™k@@aUL@mmaVIUKUVƒ@@IU@mƒUmmL@K@UUUU@mW@@nU@ğ»mVmbk@klW@UXnV@LƒJm„™lUnUJ™UUUWƒƒ@UnkKƒxmLa@ƒ@@lUU™bmUVWk@@nkUmam@UakJU_ƒVm@ÅlÇLUVmVUwULƒKU@ƒk@UƒVUlU@@Uƒ@UaUUWaŎƒzJƒaWLkl™b@bmL@„kKƒabWŽUVƒ_@mV@b¯JmXUbUK™¤ÇLUU@b@JkLWmkUWIkJ@VmX@JUbVXU`¯VV¯blK@LXKl„UV@Um@@Uk@kxWŽkbƒL@KkbmL@‚UXmaU@@l@x@blX@xUJ@bULUlULÇ@@VšnU`W@@nÛ¼U@@VmKUkm@VVX@@xǚ@bUbVb@VX@@x‚LUb@lƒ¼XLlbUlVVU„Ub@n"],encodeOffsets:[[113671,34364]]}},{type:"Feature",id:"4115",properties:{name:"信阳市",cp:[114.8291,32.0197],childNum:9},geometry:{type:"Polygon",coordinates:["@@VllInJlknJVkVU@mXlUÞ`VnV™VU@U@y„@nXlKV„nJVkXKWaXI‚b@yVk„VUkVwn@‚K@nW@k„KlUXVVUlbnUV`n@V_V@llX@@V„b@bV@@nlVUb¯‚WLnbmb@ŽnLnK˜b„U„bVWnLlaX@VVUX@Vln@`kL@ll@VXVJÈIVl@XÞJ°Una„LlylU@UXKlnn@lanLWWnbVI@KXKVL@LVWVL@UVKUIVWX@@XÆJ@In`@lJVI@a„WšÛnK@UlK@UU@VK„nlm„nXal„UllLUbVVšknJ@nV@Vm@a„l@@xnV„„lJVUU@™w@aƒk„@XW@_mWnUlŁUmVKV@VXwW»XƒWaUwnkWUkVUƒU@@@WlaUkkaƒIWVkm¯xmIUmƒLUVƒaUIó»m@mmwXk@a›mk¯¯l™@wƒmkLmmU@UbkUWJ@XUbƒJ@b@l@znÆmK@Xk@Ub@lm@ƒI@akmVKUUVUkU@U±JUbkƒ@IWmkxƒa@UUV™UWVkIUaW@UlLWn@VkJƒI@VkK@L@bmKƒkJmUUaUKWXk¼VxnJ@„V@@VULV¼ƒ@@UkaUlWL@U@W@IkKmL@KULUWULWKUXUJmIƒb—KƒŽƒ²UW™nWKUUkLUƒmUUam@UU™@ƒmUL@xkV@„VV@bmV@Vk@mwkUƒVUx@mbX‚ÇnVb„‚UL¯šWŽnUVLVb@xnlWnU@UVUVVUbVVlVkn@llVUXUWUXVbUJ@bmLUJnb@nVK@bl@@š@bVJUbnX@l„b"],encodeOffsets:[[116551,33385]]}},{type:"Feature",id:"4103",properties:{name:"洛阳市",cp:[112.0605,34.3158],childNum:11},geometry:{type:"Polygon",coordinates:["@@VVUllLXl@LWn@J„@bƒKUVmnL@`VblLnbV@„b@JmL@LnV@VV@¯„VJVnXL˜@nm@aÞ@‚a„k@m„IšmVbXL‚ynLšk°@°aVJnUV@UVVXk@WJ@VXLlUnJVnnƒ°U@»°U„wl@šb„WmUXƒÆ@VLXU@m@U„a@I›mkb™a@naWW@_@WXUV@@U‚ƒ²@„K@I±U@¥kKWLóLlƒa@£Um@kWKXU@mlLXUVKUU±J¯_@`UL¯Wmk@Wa„kkƒlUnƒVUVaU@KUU@mmK@_ƒa@KX@VaUIm±™k„aVKVUkw™@kaƒƒW@kbkL±UUaƒK@UUKVak£ƒ@UmmL@lƒIkmUƒ@Ualw@UƒJkbmIUmn@WKImWk@mUUnÝV@ŽnÝxƒKmXkxĉVWVk@kaċšÛ@WXƒJUV@zŽm„VWnbUbVbšLlUnŽ‚lUÒnWV—VWnk@@Vm@kxm@Un™l@Ll@@V@šXnƒškJV„šV@nlVXx˜U@l„n@aš@VLnWĊ¦nxš@lbVKXLl@ރVLƒ„XJl@XXl`lIXVl@Xl‚XUVšK„wV@lanx„zUbVJ@VVX@b"],encodeOffsets:[[114683,35551]]}},{type:"Feature",id:"4117",properties:{name:"驻马店市",cp:[114.1589,32.9041],childNum:10},geometry:{type:"Polygon",coordinates:["@@n@„b°UƂXnVlnLÜ@VLœm@n˜@na@J„„m@k„@lVšVxXX@„V`lLV„XVV@VVÞLVV°„²@lašbnxV@@b„Lšmlm„_VWnIWUna@lšLšbnV°ƒVL@KšV„LVUVaVLXK@mÆXna@wVm„a‚@Xw@KlL@a„@Va@wUkaWnIVƒla@Kn@Vn@VUl@nKVn„J@LnK@aVkVUUWƒ@VakUVanI‚²X‚W@UUU°KnUVLl@XaVK@ašU@KUI@W@_lm@KkLUKV_Uƒ@»@UVJ@XV@@mVL@K@U@Kk@VwUUm@kmWL@VkVkzƒKmb¯VÝI@WUkÇJUIUWk@@klK@_km@UVWUUW@kbmKUXƒaƒV—amLmK@namaXK°VakU@mU@@aƒa@UW@kkU@U`m@U_mVkaUVWUkVƒL@lmX@ŽLm@UxVlƒUUl@zaWJXbWLUlmIUƒkLmWƒ@@z@VUVUšUmÝ_kVWŽ@nUVUlmIklmIkJUkƒl@n@Lm@؃IUbm@UJUUVU@mmI@UU@k¥mUk@WmVmI@VU@klmLƒ™k@mbkKmb@WkƒKUŽVnUnnxšW@UVLUbmJ@bk@WbU@V„kx@V@bVbkV@V‚@‚—XWbUWm@kb„¼VLn„lJlb"],encodeOffsets:[[115920,33863]]}},{type:"Feature",id:"4116",properties:{name:"周口市",cp:[114.873,33.6951],childNum:10},geometry:{type:"Polygon",coordinates:["@@lšnb@xlJ@UnLlKXUlJl_„KnV@xVL@bkbVVUè@šWb@„Ubmš„ŽkšVšmbX„VJnUl@„a°@@b„LVbƒlXx˜InmnLVw‚anJÆw²IlmnXVl°VVbÈaVb„@lkn@VWnLlUVmÞUUklƒkƒVkUaVaVaUw™K@kkaVWmw„_„‚l@nU„VVb@b„aV@VV@zXJl@@kl@šlœk°WVnÆbnbUšVJ„Iš@VKVm@k™K@_kK@a@aU@@wW@@k@aUW@IUWVUnLlUlVXKVwmk@W@—VWa„¥@k@lnƒUIÇKUaU@ƒUUVmIUV™Uk¥ƒVma@¯k@Wanwmƒ„@@n@@m@UIVƒkUVamUXWƒaV™U_™@ƒmUVUImW@aUIĉK@VmI™b@lU@@n™JƒkU™@KƒIUmmLk@UVm@UŽm@@LkbU„mJXlbV‚@xUbƒ@@bkK@LWx@ƒbUn@xmbÅW@nWLUKUbUVƒK™U@LUK¯„mU@šVV@xULUŽVL@bU`WšUz¯aUamKUaƒ@@xkX@x"],encodeOffsets:[[116832,34527]]}},{type:"Feature",id:"4114",properties:{name:"商丘市",cp:[115.741,34.2828],childNum:8},geometry:{type:"Polygon",coordinates:["@@XVl@lLȃ„@VkV@V»UanƒWX@VaÆÇô@ÈaVX@xVJXUÞU‚aVLĸbXKl„V@šm°Vn_ny˜XX»mUk¥lK@a„_@yšInaVKVa°_@WXI@ƒ@K‚VnIlbnaV@„l„@‚a@_w@ƒlwUKm™Xa@UV@š»Vƒšw@kUKVUUm@w±VUXUKUwmJUUƒ@km@@±mXkmUI™@mm™KUwkbWakLWaUIkJmŽƒX@l@@VUX@JWbX@VbULWbƒlUVULknlV@bVJk„mb¯KknWmk@@nmVkx™@ƒVmU¯KUnUL™@ƒJUIV™maÅaUm¯X›l™kk@@lk@WI@yUUU@ƒb@aUaƒUmVk@ƒƒ`nxUXlb@lšLVxUbUbVbUll„k„VlÝVUnkVmKUXm@klƒ@ƒnUx@xnxƒn@`VX@V²x@V@b@„Wl@zU`VUVVb„L@Vƒb™W@bkXllkLWV@V„@VVÈwlVœ@@X˜K²Llb„WnnÆL@VnJWn"],encodeOffsets:[[118024,35680]]}},{type:"Feature",id:"4112",properties:{name:"三门峡市",cp:[110.8301,34.3158],childNum:6},geometry:{type:"Polygon",coordinates:["@@WKUmUI°ƒU@@UmU@KnK@IƒaU@makKUa@_‚KnmVU„L@a‚ƒ@IXm@KWkkKVkUU@aUW@UUIVaƒymwkbU@ƒx™LVUWWkk@WUkJk_WWk@WI„ƒUK݄k@WKULka™@mwĉ¥mXUK™@@bƒm@k—VWwkU@m™UUƒlI„™Wm@™@Uk@@KškVmn@lwn@@Ul@Xm˜UXUmVсkmkV™KUaVamaUXnƒ‚@ykLUKƒ@™WwKmKnUm@UmƒƒaU@mUk@kL@lƒxċxUnkVmnXxWb@`kzWJ@V—LmVUn™lmUL@lW@Ub@VšXUbš`VLUbUJ@nmnUlUUm@@bUJlnU„š‚U@lxkbƒ@@XƒJUnƒ@kb¯VVVmlXXlJlzn@VlkVW@bkK™bmškŽUbVb„lƒXVxšKÈnšwÞlĊKlšVnKlwX@lL@xlUnVn„@šl@lmX@ƄÈb°¼ÈwVJlx„_°xšašlšUÈxlUnbVxnL@lllšbm„n@nb‚@@V„L@V„@@„VLšJnIVVlKnV„_"],encodeOffsets:[[114661,35911]]}},{type:"Feature",id:"4107",properties:{name:"新乡市",cp:[114.2029,35.3595],childNum:9},geometry:{type:"Polygon",coordinates:["@@XVlL„K°bUblbUbšl@nX@W„XVVKVkš@@Žmb@„Ubn„W`kL„LƒV@VVLnKlVXIlVš@@a„@l£nWlƒkVa„@°bnUlLVlna‚bnUVUXKlU@ƒ@lk@a„I°y„@ôkUU@wšmôšnkWakml™UkVmkUlmUUm@nkUKWanamU„LXW@U‚VnUln„`l„œblL°KXV@ĠJ@L°„šJšUVw„anK@UUImmƒkK@¯±Um@IVmUmmÅnWaUK¯aUk„w@W±kVƒx™U™VƒwƒnÅJUIWaÝJóI—bm`ÝbÅImJUI¯¥¯@mU¯UƒJmnUVóUkl±V@zXl„bWVXL@bm„mº@@XmJUXU°llk„@nWJk@U„@¦U`m¯ŽWx"],encodeOffsets:[[116100,36349]]}},{type:"Feature",id:"4104",properties:{name:"平顶山市",cp:[112.9724,33.739],childNum:8},geometry:{type:"Polygon",coordinates:["@@l¤UbVL@V„LVb²VlKlaX@„„lbš@lxUVULƒbšln²VJUbW@@L„b@`nL@nVV@LVŽUbUVm„kVl„ƒlXbl@Xn°ŽVK@_°`²IVVV@VUVJnInaWK@Uš@„K„LÆ@nmlXXWVUUw@klKVa@knyVkVanI‚JXUl@XbVUl@@aša@mXk‚bnK@UlK@UUUVaXaWmkUm¥n—WmXaWaœkl@VmÞb„KVL@aVI@mUwVm„@KōméUL™KVaUk@kUK@U˜WXI@VlKXU‚@VVnInVV@VLlK@UUƒkKU_@ƒWWUwU™@klƒn@ƒƒ@Imb—@@m›nUKÛ@mKUkWVXxmbVLXŽVVU²VV@xÅnmWmLU@kbmJ@b¯š™IUb™JƒUUxVl@z@bU`W@Ub¯nUJUbƒ@WLUKULkU@aWKƒ@aƒbmL@ƒlmUk@@bUL™ƒWJUI™°@ƒŽ¯aWLk@mbUb¯b"],encodeOffsets:[[114942,34527]]}},{type:"Feature",id:"4101",properties:{name:"郑州市",cp:[113.4668,34.6234],childNum:8},geometry:{type:"Polygon",coordinates:["@@@nWVUKÅ@W„nVnI‚ŽV@œkƂšwV@šnn@lxÞlnôJ˜zXJl@nalUČVlƒl@²UlkôVVUnm„I°VnV°@°¦VJnIÆJÞan_VmU@ama™@kU˜¥kaUklw@UIV¥kVUI@ƒmmUÅmUlƒwVU@amU—JWbUakVƒ—Vé¯Im`ƒk—@ƒwVWmLkU¯ŽƒXkWmLmx@UUƒbm@@x™J@LbW@UUVWUkVKƒ@ka™IUamKUkkmmLƒUkJUVWXkWmnÅ@ƒKƒL™@@VXLmbmJUIUVU@ULWVkK@nWVXL@lVn@¤„b‚kôKXKlL@¦²V@JƒL±@„@VU@WV@X@`XXmb@Žšblaœn@Jƒb@V"],encodeOffsets:[[115617,35584]]}},{type:"Feature",id:"4105",properties:{name:"安阳市",cp:[114.5325,36.0022],childNum:6},geometry:{type:"Polygon",coordinates:["@@°kVaV¥kVmUkWkWVkVKUwkkmKUU@a„wWWXWakKWkXmlašIVmX¥ƒU@a„@WnK@kƒƒ™V™I¯ƒ@KğI@WU¯LkK›akƒƒ_kmmVU@VWXƒKnVmbXbVLmln@VVknlVUnVlkšlnXbmlmlXblnÈlWbn@@nšK@V„L„bVV°VVzšlnš@V™xƒI™b™ŽU@WLUa¯V™UkWõ@¯kkmxk¼l‚„XUlVbVLnlULmU@lƒLkVUlƒX@xW@¯mUƒ@UmIUW™L@aXa˜kU™¯anƒWk°@k™kKmmUIWaambUkkKmV¯aƒ@UblŽk„mXk¤ƒ@@b™@UbULWVnb@lUVVnmšnVVU„J@bWXX@WJkL@blVU°UV@XlWnXUbW@UVkVšVWbnLUJWLUK@Lnn@blVU‚„nUblxVUVJXU„a˜@Ub„LnUVV@mVIVVn@UbV@‚XbmbUV„_lVXUWanJVI@WkI@WVIVU°WXXl@la@mX@lLXl‚kVbœm‚X„ylIXJV@@kšKla²UVa„IVyÞb°LlVna@UÆKnLVbšK@anwU™"],encodeOffsets:[[117676,36917]]}},{type:"Feature",id:"4102",properties:{name:"开封市",cp:[114.5764,34.6124],childNum:6},geometry:{type:"Polygon",coordinates:["@@lUVbXa˜InV@bUV„x‚knVVÆnn@„VJlUU¦VJ@kxVllb—¦lVš@nb@bVŽUn˜aôJÞIXbVJÆI„m„xšUšV„w‚U²l@XƒxVl°bVLXb‚`XklUnmVblLœ@lmšx°LVK@UXIVašWlL@Ukƒ°KkVaVUXmmI@UÅKmmƒXka±K—L@W›@kUÇxUUƒ@@UXUlKkklW@ašX„a@UƒKUaVUUV_@yXk@ƒ@a@U±w@UUW@_„mmw@wVw„mUaÇbUa¯UUkmWkn±JÅxmIbUxmKmn—JWw„kUaƒK@a¯@ƒbk@mVUIWƒ—Lmwm@Ua@WJUb@LUl™@UUmLUbWJ@VL@VmXWWzUJUꄘ"],encodeOffsets:[[116641,35280]]}},{type:"Feature",id:"4108",properties:{name:"焦作市",cp:[112.8406,35.1508],childNum:8},geometry:{type:"Polygon",coordinates:["@@V@VL@x@bXŽWV@XkššlUŽWX@J„@nI@KlL„KšUVaV@œJlL@KUk@KÞL‚l²_‚@nWlL„UVVš@nLWVUJVn@anV@a„wÞUVLVx„b„@lW„@lbXn‚Vn@@¼šL°mšKVn@bnl@nVK@blb„L„W„U@VWLXV@nlKn@lVVbXw°nV_@¥Vƒl@XI@mlƒkkV¯VWnI@W‚@n¹nƒ@aWKXUƒaWk@yk@k„ċUkVmbk@WI—yóImÝkkwm@™mU@™xŁ›lU@mJƒX™ak@ƒx¯V@¼¯Vm„UmmIkVWK@UXIl@UWVUU@mVUI¯b¯@™lmKzWKUa™nƒJ@nƒlbÝ@@b"],encodeOffsets:[[114728,35888]]}},{type:"Feature",id:"4110",properties:{name:"许昌市",cp:[113.6975,34.0466],childNum:6},geometry:{type:"Polygon",coordinates:["@@lI„VnKlnVlnLVbšJlb„@ULVlUXVVX@‚a@KšI@wn@„aVV‚@nwnKlX„W°lVnKUX„x˜@„ln_°JVIXy‚XnW@U‚K@UXIVanKVVš@Vk@KVaXI‚@Vbn@nx˜KnaU™l™ƒn™Va@ƒXa@™VçUUla@aUK@wmUƒLk`kIWVkLmK@V@XUlƒn@JXV@nm„™bU‚óIƒmUa±@@ÑóVUUk@UlKVU@akWVUUlUUaUK@UUKWbUkÅJ@XWaƒ@XbmJ@nUJ@bUKƒLÝaUnk@›lXbWbXnm˜n¦lVXnWbUbVV@VkL@VmLaWl@n™b@bk@UVWak@WVImJUbUlmz@lUbkL@lVx"],encodeOffsets:[[115797,35089]]}},{type:"Feature",id:"4109",properties:{name:"濮阳市",cp:[115.1917,35.799],childNum:6},geometry:{type:"Polygon",coordinates:["@@lLXbW‚XXƒx@bVVnLllVxULUl‚XXlVlUnlŽU¦Ub¯l˜nœK@V‚bVb@šXbVL„KVxVVnIlašb„a„¥lU@wnalLnVVlVLXnlWVXn@@lVI@WnU@mƒÅW¥—aW_k@WwXy@kmƒ@wU„mš„š¦šlUxVLV@UwšJ°xš@VX„@Vb„@š`VX@VX@llšIVbnJlI„bšV„l„˜J@ƒmѯLóa@ƒƒKUa„k™ƒ™Xƒ@UK@wU@ƒlWUUݯImW¯aƒLUKU@ƒkƒ»k@mƒwƒa@UnKWI@ƒUU@akVWK—k@a±ƒbóUWKXUmk™KUmLƒbUx„„@lmLXŽƒ@@b„VW¦Un™JkbWnXl"],encodeOffsets:[[117642,36501]]}},{type:"Feature",id:"4111",properties:{name:"漯河市",cp:[113.8733,33.6951],childNum:3},geometry:{type:"Polygon",coordinates:["@@@Lƒ‚UnVxnIWa„@Xb@WÆIVlXaVL@VVLVbkVVŽUVlX@bUVkLV‚l@VVôU@Ò²@Vb„nôJVšanƒ@mWU@I„mVk@WkI@wmak™@wlW@w„@VbnLVb°bVyX™V_@aUKVVK@wUU@™™a™K@kmbXVmJUXƒ`kn™nƒK@aU@mw™akb±@¯ƒUUÝKUUU@WU@VkLUKU@mUmJUU@WVkL@UWJ—X@VVL@lVlUbšLVKnêƎ"],encodeOffsets:[[116348,34431]]}},{type:"Feature",id:"4106",properties:{name:"鹤壁市",cp:[114.3787,35.744],childNum:3},geometry:{type:"Polygon",coordinates:["@@ó™™n@xVVólƒ@¯zƒJ@bkl@@„kVWLUVmVXbVJnnlLlš¯@Xlm„°bVš—lWb@bšKVXnJ@VV„°nX@@w„WVklU„K@knVVKmkUKUaVkƒWkl»nwlŽ°lö@lXšV°UVbXKV@šša„Jšw@Um™™kUy¯UUUƒaƒK@U™L@mm@XaÇkkmWank"],encodeOffsets:[[117158,36338]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/hu_bei_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"4228",properties:{name:"恩施土家族苗族自治州",cp:[109.5007,30.2563],childNum:8},geometry:{type:"Polygon",coordinates:["@@VK‚bX@lbUVnL°„@VlVnUl@VUX@„aVƒmaXƒlašUUU@wmaVUn@Vƒnmmk@m™U@kna™aU¥Vam™X_@WƒU™mW@_kƒVaVKnL‚lœ@VVal@k¥@kUW@kUKVUlUVсW@kÇaU»ValmkUVUVak™@aƒV¯_@W‚UkmVUlU@aœƒƒalI@akkVWUaWXUWwœWVbÆ@„„l„alIVK@U™m@UU„W@al²a‚¯UağÇm@ƒbkk@wƒ@@W™aULmxƒIU‚™ƒb¯@U`UX™JmL¯aƒKX›WUL@aknmK™@aWUXaWm@I@UÅmVU@™™aUV@b™VƒI@WkU›bXkm@VakwUKULWKXmJ@XUK@ƒmL@KUwVaUI@KU@mmn™mXka@»V@@UUaƒw¯yVk@ƒUUVmmkÛÈU@mWUnmx„šmlUbV¦UlbWVUL@UUƒ™IUmÇKV„VbUVVxkn™LUxV`VX@š„„kJVVUXWaUVVlUnmKUbkI@WULmK@L@LVlƒLnmUIWV@aknƒ`VXUJIVlUVVbUX@¤mbnLm‚m@UXk@mm@Ukaƒ¥@kV@@KkU@aUKWbkLWVkIVŽk@UbVlmX@bU@@mmL@bn`@Ln@llVLVk„@XVVU@`VXUš‚¼k`VULka@VllVIn¤VU@@bl܃bkx@bkL›škKƒn@bn@@b@JUnV`UnVbVKlVXUlbn@°ƒVx„@@b„nVbUllVn@V—VK@UnW@UVUšlnk‚VÈޚxVb„VVI„xVaÆ@@aka@UVaU@@a„k@Wl@nbVIƎ@Jk@„L@VlXnlla@VJnw@UmwXU@aVK°ÒnllnLlb„xnKVaV@l¦²nVl@llL„x@XVVœ‚Ķš@našx@U@al™XUVa‚LÈþV°XxWXkK@šmLnlUb@b‚xnLVlVVkb@UJ@xWXXš"],encodeOffsets:[[112816,32052]]}},{type:"Feature",id:"4203",properties:{name:"十堰市",cp:[110.5115,32.3877],childNum:9},geometry:{type:"MultiPolygon",coordinates:[["@@@a@w@kV@nbVK@ƒnUla„@la„Ål@nlVakwWX@WkLšaVmšwV@anK@UlIXmWkk@@mmLkWlwk@U_mKXwWK@U¯K@UU@ƒVUa™kmƒkI™yUUVUmanU@mlwkƒ@_mWXaƒUWU@ǃ@U@aUaVwUKUIƒVkK@UWIXƒmaV@k@Vm@UnwlƒUamk@V@„ULUamxUJkU@Iƒ`WkkK¯XWak@@W@IUV™LWJkXkaÇVUKƒ@kUmbmUUƒUKƒbkKWUkI@ƒkKÝ@@aƒUm»nI@mƒU@UnWV_@aUmWbkLUl¯b@a›kkk@WkkJm_k@UV±@J@b›nU@@WÝIUJVbXL@nlJkx@„Wn@VkJmb—LmUƒ`VbUL@xVn„@XVƒŽ@„mVVnnJVbU„ƒx@„V„nVUbVVƒx@šn„™bUK@bƒ„@bƒJ„šm²„VU‚lbXzVJV„„JVbn@@Xmb@V@bVJÈ@‚Vnkn@°aVVV@šX„KnalLVmšUnnVKVlnLWlXX„Klk°š™šXŽWškLUVVV@nU@ml¯nmbk@W`Å@mb—LWm¯UƒxnêVèk@mbƒVƒnUK™@kKmXk@@JUI›lÛLllnbVnlJ@LULnlÆaVLnŽV@nkVJ„@lkô@²bÆm°w„L„WV@VXšKšVXI@W°ÆVšK„b°U„JVIVV„¦XKVL@l‚InaVÝnUl@@bX@‚™nmVL@lVL„lVLVUnbVW@xXn˜bœU°¤V@š™„a@kWKUUn@VlnL@UV@Ü»@mX@V_ƒakaÞ@VK‚¯@kkW"],["@@mUkUUm@nllVKXXVK"]],encodeOffsets:[[[113918,33739]],[[113817,32811]]]}},{type:"Feature",id:"4205",properties:{name:"宜昌市",cp:[111.1707,30.7617],childNum:9},geometry:{type:"Polygon",coordinates:["@@°`„U@blšUbUVlVkn‚ŽUbV¼Èb@l‚XUÒkVUVVL@lVX@ll¦k@UbU‚›@kmKULUbl„@`nXšŽ„V@XW`nšUbV¦šbmb@lšV@nnlmnU„m@UVnb@xVV™VkbW„nb‚VnVa@an@UaVU‚JXnWlXX@l„¦@ŽlKÆX„bX‚V@VV„@°¯°xXx‚XV@nV°UVWU_VWXkmaVnWVkn@lln@lb@UVLXWlnX@˜aXUmaVK@UXU„U@WVI‚W„XXV‚U@¥VKœ@‚Uގ„„‚a²LlV@kV@UanKma@UVUnK@UVLXyVL‚knJ@UV@@UXKWUXaV@Vb@mVLnKW„m@aUUm@@UkK@Ula„LXKWaXI@alKlmUk@wVKXL@m@WWn@UVa@K@wna@aW_XWWkXbVW@k@U¯WWwka@UUaVIVƒkU@m±@U@@wVKkaš_@VV@XUVwU¥‚šyUkm@V±ÈUKk»ÇL„m˜mLk@ó£kmWwƒm@U„IkWKXwWU@ƒkLƒwkbmaƒbkK@VƒLkmWIUKkUUƒÇIǫJ™XÅJULVŽÇLUVƒ@UK™@kI@WVI@UaƒWmXVVUL`±kÅLmKkƒƒkƒÅ@Ua›XXxWVXŽVbUXll@bkJ„b›„@bkVUVlnV@X"],encodeOffsets:[[112906,30961]]}},{type:"Feature",id:"4206",properties:{name:"襄樊市",cp:[111.9397,31.9263],childNum:7},geometry:{type:"Polygon",coordinates:["@@@Xl@Xb°WlLXl„_@JlVVInwVbVK@ƒ@UnlVbk„mx@VUnl@U@nbW„XJ@VlL„UVJVLUxVb@b@VȄ‚@XV„VWbnX@`l„kx@nmVnbUVVVšzlJn„šlVb„UV@@V°L@VXLWxnLV`l@kxlXnK@nl@XlWn„`Xnl@@UVa@VÈKš£VLVanW°U@UVU„@„`VIn‚mV@„nV@Xa@aVW@UšalkXKšblI„yƍXnlJXbl@@VV@nklU@`„nVK„LVKVb@V„U@UÈK„UVKšIlUX@V`lIVbn@nblVVmV@@XXJšUVV@knKVn@`@X‚VnK„wlLVmUUU@ƒU@aXL@WlU@UUW@UmU@KkLWaXkWmXUWm@U@ƒnk@UmK@U@UaUVUUKV_@al@namWUI@KUƒK@aV@WUIƒbƒ¥ULUJkIm™ƒK@U@K™V@U@a@UkU@K@wVaUwlU@mUƒULmKUkV@@anIWmUK@I¯„mKkl@LUb±lUakLmk@WwUKÝVUIm`¯n@Uk@makJU_@ƒƒJma¯ImwUVkKƒb™aUÅ@wWaU@VU@mXIVmmUkJkwm@mIlUKWzUK@VmLUV@VnbmLVbU@@lkU±KbƒƒÝV›@UL@¦VWUƒWXUJ@XƒVWV@VULnbWV—bW@kmWXUK@Vkam@kkm@UlmXUŽnbWlUXV`UX¯VmUU@Ul@Lll@nnJ@LƒnWmbmš@b™`ƒš","@@kUUm@nllVKXXVKmU"],encodeOffsets:[[113423,32597],[113794,32800]]}},{type:"Feature",id:"4211",properties:{name:"黄冈市",cp:[115.2686,30.6628],childNum:10},geometry:{type:"Polygon",coordinates:["@@VVUnWVXnVJ@„‚U@V@VXŽV@@IVJUnŽ@V@L@KlIVlVanLVbnVlI„ƒn@@a@Kl@@I„JlI@aXU@KlK„kVblJXU„VlU@V„bVkVKXn@VlxVa²I@VlVUxln@bšJXklaVWnLmÅ@y@k@ašI@W@aXIlVVaV@nnlKnLVW@IUa@a@K„UVVlI@wXKVV@IUƒla„@lUXwWƒnƒnalLlxXLll°@XwVKVaXIl™nb˜@nln@Va@U@k°ƒUmÆUVaXI„JV¯ÇUmmkU@WaKmakVm@U@aVKkkmKkVmIkÇ°£@aUUVaVVnKlkX‚mkƒ@ƒlUVaX@@Um@‚™UmlUXV„UVU@w‚K²¥Ua@I@UV™l@U™V±UIUÇ°»VkUmVI@a@U™m™ĉ™¯V±bŹĖğaÇL¯lmŽkX@‚óĀ@ŽmšÝêb±WkLƒn@xXx@Ž@b@V@LW@UbƒlţXƒ`kxWnXô¯¦ÆV@L@JVLƒxkK@V@bkz°l‚lXz@J„UlVla@XUV„bVKXnW`XXV@laVV@V„X@V¯xƒx@xULVbUJ@n@LU@VmmakbUK@b™IWWUUVkUmkLm@VJkb@nUJƒ@`V@kX™aUaVmmLkUmJ@Uk@U„±lkzmJUb@b„VUxVXU¤ƒL@JƒX@VlL@JkLUVU@mnUl„¦@V"],encodeOffsets:[[117181,32063]]}},{type:"Feature",id:"4210",properties:{name:"荆州市",cp:[113.291,30.0092],childNum:7},geometry:{type:"Polygon",coordinates:["@@ÈJV„lVVLXJln„K@UlL„anbla„xlK@„XVWxXLlƒJ@V„nXxlnô¤l@nKn—‚ƒÈKl¼VL²Ç‚Un@Vl™zŽV¦UxWVU@@U™`lbUL@xV@²@@nlVU„UJVb@VlbXx°XVWX_VKUwVKVa@UVKUUVk@KnblaUU@wnWl@UX@lÆ@@a„IVmUk„™šxVJ„U„bܙ@Uk@WWnk@Vƒ„™Vm@I@m@Un@m™XUlVlUnJ@knJVU°@@aÆLX@ƒllL@¦nJV@XblLVa²U@UlWš@VX@`@LV@@bXJlIXml_lJœU°b„KÆLnVVl‚@ö—Vƒ‚mXaVIĢllUlVnLVlX@@b‚ašnnxšV„L‚bn@°ÆXmmkĉƒ¯w±™™™Uċ@KÝÅƧŃÝ癙Uw¯ƒm™¯k@W‚kV@¯UIUJW¼kb™Uƒwk@W`@¦Uônb@VƚlÈ@VU@ƒƒ£UWWnUÆUnmJkUÇ£VWUI@aUU@WkI@Uƒa@JW@k£kaWVUKmnkKƒb™kkVWb—VmUUmwU@kk›@UakUUa@V@nlx@lUb±lUbnnWLUyk@UamœUK™@mlk@Wb@VXL@x@xWI@a¯Ž¯V@bVn@LkKmL@`XmKmVU@@bkL@V±bk@Uaƒa™L™KUVƒIƒ„™W™XamVVbUK@b@Lm@UWkxULWVUnm@UlUX"],encodeOffsets:[[113918,30764]]}},{type:"Feature",id:"4208",properties:{name:"荆门市",cp:[112.6758,30.9979],childNum:4},geometry:{type:"Polygon",coordinates:["@@n@lxlInVUnWJ@nUVV@Xb@xVƚb„alLVUnx°Jnb„I@„V`lInbl@@V°mn_VJÞUVLXx‚@nllKVb²kVa@KlknL°ƒ@JVLXnmJ@bU@VlnLVKV„@nX@lUšKVaXal@VKn@¥°L@Unw˜bnašV@KV@VUX@lVXI@KW@@IXWV@laVL„„KlaXUVVnkVWV@lwXblIXWVkVmšaU£VaUmVIkU@y@WakKUamU@UUK@kmK@w@@mK@LƒV¯™U@WwkmULƒamVVUU@ƒƒIƒbUKUa™kmƒm@UakLmxU@UÒWlULţÿmwkIUm@a‚kÈblW@UVƒUUk@JW@XkWWUkUKUIlw@aUWknWUUmnIWƒ™aUwVaۚƒaƒVUI™wƒšVlUnƒJ@bÅ@@kVWk@mX@xVVkbma@LUlVVUL@VUbULVxULW`UX@V@lUXWaXlWXX`@bmb@x@LUb@VmŽXX@‚@nWKUL@xVlknkL@bWJXbWLƒKkb@VlL@Vn@VV@bƒnX‚mLUK@nUaU@WbXVWL@VU@@V"],encodeOffsets:[[114548,31984]]}},{type:"Feature",id:"4212",properties:{name:"咸宁市",cp:[114.2578,29.6631],childNum:6},geometry:{type:"Polygon",coordinates:["@@ÞƂLČ@šV‚š²š°xĊ„nlWnŎ¯m@aƒK@„„°‚n„Jšwn™VIUaÆJšÅ@wšwV™XW@aV_l@²V°lĊwlaXLšwlUkalVVaX@lVXI@a˜UXJ@U°UU¥VIVKVklanLVa@VÈIVV@nk@aVa@mV_@a„K@klKUa@UnKWk@@lU@@UW@@nUWUwmaVIXƒ„lV@mLXblJ@kV@kk@KU@WƒkUWVÅwkLmW@UmL@lUL™KULƒak@maUUÝwUJƒIb›KUUƒ@š™aWK@kUWVkUwVw@™mÝ@™I@wkW@a›ww@LU¥™kƒJ@nVJƒIkVVnkV›UkyUIUl@xWUkaW@@°kz„ŽWxkLUWmzk@@bVVVš„b@‚@XlVœ@Vl@bVbUn™`Wn—@Wb„VVI@`„LVbXLV`mnU@@lƒL@LUŽƒak@ƒLk@WbUJn¦@lVb@xVb@n"],encodeOffsets:[[116303,30567]]}},{type:"Feature",id:"4213",properties:{name:"随州市",cp:[113.4338,31.8768],childNum:2},geometry:{type:"Polygon",coordinates:["@@„@nš`lw„k„ƒ„UmUVWX@lk„@VanUĠ¼V@@mX@@nVV‚VXLmJVLnK@b„V@@J„@VUn@VaVUUUVWVLV@@Kk_@almaVkUU@WVƒVUVLXmmk@wUaUKUV@°™@kmaUaÈmW„mUƒVklaX@lVnxl@@UnaUk@ƒVUVwVK„nš@VVn@VbVJUknUmmVmk_Vw„KUUm™Vak¥@UVKVIkW@UmIVWkIVƒkmmLkwmVUƒ@LƒUU@VVXL@JmLUbmK@UUKmkKUUmVUaUnÇlk¯™mJUnmLUaUJUaWL@UkJ™ƒUƒ@ƒaklkU@¯@KWLUmUUWVkbƒLƒŽUKkbU@WX@JX@@LWJkUW@UVU@@L™Umb—amx@V¯K@¦mŽULk@WbUb™LkVW@kVVxUb@x@LlV@V@b@VšU@L@V„LnšlJVIVK„¦„aVJ@XUŽ@b„LV‚@LVJnXmbk@@bU`VLUVV‚b@V@VnL@Vml@„@VXnWVXnWlXblK@LnV@VVX@VkV@XWK@b„VV@VV"],encodeOffsets:[[115830,33154]]}},{type:"Feature",id:"4209",properties:{name:"孝感市",cp:[113.9502,31.1188],childNum:7},geometry:{type:"Polygon",coordinates:["@@VnXK@L@°lVlk„b„@„VšlI@VXKVbVIVbnKVmnI°šlŽÈkVmVbnUVVlLnVL@VnLVanK@IWKUUV@„V@KV„nUlxnKlnU„lJUXnJ@VlXUJUL@Vl¦UbnšVVƒLUxl`UnnnmVVlnVK„bšmVX@a°Ý°LšaXJV@VUnKVXVK@LnKlLUbVVX@VwVJVn„@@UU¥V@@UUK@ƒmaUVUkkJ@L@K@UmVUI@JU@W@U@UV@ƒUIWmXUVmUUÇ@UVmIlmnmakK@akaW@UwVUkKVnUlKVwk™ƒVU_WKUkVW@UXaWkUa@w@VU@XaW±@IkbƒKƒb¯L@WƒXkWƒ@UakL@UV@UmVUmL@UXWVL@ašUƒVUUUVU@yUUƒIUa@wUKWVU@kƒ™™Wk¯UkwVKƒLUx™K@nVxUlUUWVUmw@wƒUUyXWlX¦WbUV@„U‚@blbUVVbXXƒl@lVL@bk@lxkVVnVx™¦ƒ`UnkL@V@L@Ž‚@@xnL@lVL@VnVVblLXb@‚@zlVUJVnUbV¤™bUnUlWXkJWakxU@UXml"],encodeOffsets:[[116033,32091]]}},{type:"Feature",id:"4201",properties:{name:"武汉市",cp:[114.3896,30.6628],childNum:1},geometry:{type:"Polygon",coordinates:["@@nbnm‚knJVUÈ@@Uƒ¥VknmV@VUlK@IkK@U„W@I„KV£UWVwƒU@aVanIly²kVƒl@@VnIlVnKUnVbšblWU@@_„‚VI@mlaUIn@lKVnUlVVXXšJ@aVLlanbUnV@@K@mVIUaVK@w„w°w@UƒW@UUUkbU@WWX_WmULƒaVU@WkbkUƒV@IWyk¯kly@a@UlL„wUK@I@KÅUW@ѱUm@wl¥kaƒ@@_Vw@ķƒa@akw@ƒkKW£XVUVwVwUaU@VUU™™xWKkbĉx¯k±Uk@U`@bWXUš™x@x™ÆÅIVbUJmš™xƒImƒ¯@ƒ™Umx™nUVVbnJV„@Lƒ@@ŽkV@bVnƒ@UVULlx°VXlššl„V@XUVL@xVb„JVV@zUVVVUV„™V@bUKWX@VnKUVVnU@@VlKVb„@lX„W@X°K„a„Lla@JX²Wb@ŽUV@@xVbXlWb@VUXVlXLV`Uš„lŽUxkLmVUŽlLUVVxX@lb@blL"],encodeOffsets:[[117e3,32097]]}},{type:"Feature",id:"4202",properties:{name:"黄石市",cp:[115.0159,29.9213],childNum:3},geometry:{type:"Polygon",coordinates:["@@VšUVV@VbUx„aWUœblUVmnKlX@bXJVIlVUxVVVIU‚zlx¯š@‚VbnL@x‚x@UVaXK„b˜@Xk‚WU_Vm²klW„XVK„Žl@nXV@@w„mlK²X‚aÞén™@ôÿ@lWn°kUKmmUљUmm@ƒwkImWU@UakL@bVLUVċ@™bUK@alIXKWK@™nXnKmkUVwƒ@¯b@L„lUL±W™n@KULUaW@kL@lƒL@bU`@nUb@bmlU@UÇJ@UUbmKkblŽUULUJV¦¯V@VWI—V@bWJkUW@UbkUlbkV"],encodeOffsets:[[117282,30685]]}},{type:"Feature",id:"429021",properties:{name:"神农架林区",cp:[110.4565,31.5802],childNum:1},geometry:{type:"Polygon",coordinates:["@@n`lIXll@lœl@b°aVklKXaVn@bU`mX@V„V@nmJn¼„V@bÞ@lL@„lJXVlL„aVLV„nVnalV„@VLÈUlblWXIšKVU@J„™š_‚@an™na‚X„m@KmI@mkk@KVkWWw¯w¯°ƒ@UUU@WƒaÅWkL@ƒ¥@kWWXkWmIUVVbm@@bUbmUU„ƒbW@UVk@mVkU@U¯ƒmKVUkaW@aULƒÆVbƒb@VÅ@Un@VƒLWl¯Lš„"],encodeOffsets:[[112624,32266]]}},{type:"Feature",id:"429006",properties:{name:"天门市",cp:[113.0273,30.6409],childNum:1},geometry:{type:"Polygon",coordinates:["@@@K@UlKVm„_š¥UwUmlUkwl@@aUK@k„kWWUaVUka@aV@ƒVUXaW¥Xk@WWIklm@ÅxmI™VÝUkxkaƒ„@bWJaUL@„W@™l¯UULU‚ƒbƒkV™Ua¯bm¤UnÇUkmUšUx˜b@VkXÇal@bVnlJnxŤĀVKXkVÑV@nwlKVbn@n„šlVbVL„a„J@„VV‚UnU„bVKlnXxV@°š„U@KnL"],encodeOffsets:[[116056,31636]]}},{type:"Feature",id:"429004",properties:{name:"仙桃市",cp:[113.3789,30.3003],childNum:1},geometry:{type:"Polygon",coordinates:["@@VK°VškX@@ƒVK‚bXI@a„ƒlblwÞVšUnJÆwn@lkXJ@X‚WVz„V@xnx‚VXUVVVkUw@mšLVw„KVU„@Um@alU@„@@KUƒmIUaVUšmnwmw™mb@aW@UkmKkUkVġkUJWbnU„õ˜@UkmUÅKƒL¯a›VkIk`WnkJƒ@xVLUVVbUbk@WlXbm„VxnxUblbUV™@@VUV@nVL"],encodeOffsets:[[115662,31259]]}},{type:"Feature",id:"429005",properties:{name:"潜江市",cp:[112.7637,30.3607],childNum:1},geometry:{type:"Polygon",coordinates:["@@UbVxšbX„mJVnXVlmVX@bkxVJVLVlXXWlX@@IVl„V‚U—aVwV™lnÈVVmn£°aVbUš„l„aVUK@mVU@Uš@VUkaVamwUwnƒWaXkl@VaUaVUUK@w„WI@aU@@K@_UW™@kX@V±VUbkKWaU@mI@¥kK„kW@ÅK@b¯@UVmI@lmIkVkUWVnšm@@V@n@JUnƒšU„@ŽmlXXl@@V"],encodeOffsets:[[115234,31118]]}},{type:"Feature",id:"4207",properties:{name:"鄂州市",cp:[114.7302,30.4102],childNum:1},geometry:{type:"Polygon",coordinates:["@@°¥WóXmlw„_ŤW„kVaX@@K@U@a@WwU@mWk@ƒULƒWkX±lUnV`XWl—@ƒaWLUb@Vw@wmKUa@°™kw‚yVUJUUVwkUUJWI@akWmLUnkV›aXVƒbUxUVWX¤lL@„lx@b„b@ĸUx@`„@lbk¦@x‚n²VƄX@"],encodeOffsets:[[117541,31349]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/hu_nan_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"4312",properties:{name:"怀化市",cp:[109.9512,27.4438],childNum:12},geometry:{type:"Polygon",coordinates:["@@@n„‚@b@XnJ@k°x@aVUnl‚UXnV@@VnJWUJV„nIVV°ŽUbVVVL@Ž²LUVa°V@aV@nm‚UXblLXWVXVmVLVK@an_„`@X@l°„VlXXW`nX@Jmn@b„@nV@Lm`„bUb‚n@VUVl@nIVbUlƒV@LkJUnVV@xVblVUbU@ƒzUKU@mx@xUnn@@WV@lbUb@šnVWXX‚V@VIV@VUnJ@VUz@JWbXllI@VXVVL@ŽVn@„„Wlb@„Žl„XVlL„aV@VJ@XX`„kVwVl@bk„‚bUŽlVXIlƒnLVa„mVwV@@nV@XaVJVbX@lwV@n„@nV@VWnIVVUŽÆ@Xx‚a@I„UUKmk@mVƒ„IXmWUš™VJnUVU@anaVwk™›U@UXa@W™@m_@a¯@@K@UVƒ„bnK@blIlbXa@WW_n@VƒU@¯bmyƒUkUJÇÅ@WU@kWKÅwƒnm°KVkmankVWnXVWV@UƒƒwXkV@mƒ„UlLnaƒVaX@VUn@VnVK@xlnXWšU@a™@@klak™Vw™mUaV@™wmIÛ`m—@mVUXmlIXƒV‚I@K@aU@UaV_UK@wkUmmUKWXŽmVkUƒL@mƒƒU_nK‚™@aVU@Ukak»@U™™@ymUƒ„¯™ƒUUƒVKkam@™nka@ƒmwkLWb¯mkaƒ_VaVKUƒ™IUw@kKmU@WK@UnƒmaULkU@wUalWV¹U@@WUI@WU@‚_@W@U@mƒU@WbbUK@Um@@UmbUwWWkk@WU„a@anUUwlWUwUU@wlJVUnnV@@mnI@m‚K@U@w„a@wUm@_mƒVUUaVUkƒƒƒ_kċUk™VWLƒ@mlU@kn¥W@UwUWV@VÝU@lXLWVUbVLXlVIl‚knmU@VUJk@@„ƒ@™kVmwmVkxU@@XmVUb@xnKVLl@VxUxkIU`@bWVXX@JWL@bkb„¤@bmUUU¯Kƒkmb@V™VU„VVn@@„Vb@`lnœxmb„lUn‚bk„@xU„mV@bmWbUV@VJ„Il@nVUb‚K@nn@VbnJVIlJVkXJ@X@lmx@bnnWVXJWXU@UlU@mk@@llb°x„IUbnJ@VWbXVmI@JVX@bk‚@bWL@JUXUK@U@Uƒ`n@@Xm@XVW@@nX@@`ƒImxU@@JUI@KƒLmK@UÅUUV@VW@™¯kUU@UamVUUmJ@n„xmLKƒkmJkwkKm_mKXU@aƒU@b@Wk@ma@zUJVUmbUlU@™xnXlWlXXblK„¤V@@nUVVLkVš„l@Xb@VVK‚nXKVx@znW@X‚@@lVK@X@JXbWbnn@JUamLVVXIVxnK@aWUX@˜x@VnI@WlI@anV„IVxk‚l@lbXXšxVVVJVInbV@@ln¦ml@XXVWbkJWb","@@XLVKVXVKUa@UUUmV@l"],encodeOffsets:[[112050,28384],[112174,27394]]}},{type:"Feature",id:"4311",properties:{name:"永州市",cp:[111.709,25.752],childNum:10},geometry:{type:"Polygon",coordinates:["@@lxUXV‚lXUVnlVĢ„JVbUXVJV@XUW¯„VIUK@klW@Un@„nl@V`XUVL@l@šVx@„XXW`UnUbšxUlVnUšV„lb@VnJšUVVVInJlUšVnwVklKnw„LVJVšV@nIV@nbVa@KVVVUUa„KV_nVVJ@_VW„nV@n¥lI@anƒl¥X_VKlwVlULUVVVš@šU@VXL˜ƒ@IUmn@VU@wmKXUWU@m²šl@VIXWWkWUkWlkIVamUXamUnmWUU@@Un™lK@XJl@kVUk@mWKXkl@@aVU@UVWUUVa„In`VUVLnw@U@K@Uƒƒ@w@UVmUUƒ™°K@UnV@bV@Xk@KVm@amk„aU£VWUUmUUwm`UbULka›KXU@kVmU™@aV_UWVIn@˜y„XXK@klmV„V_kWVUn@WUU@UƒmaU@™wnwWanUmmXkƒam@UakLmK@b™xUUUU@Km¥Vaƒ¯@ƒkUaVUlm„UU@mUUÇmUk™Uyƒb™bUa™XUWWbÅLmL@V™aL@WWXUKmmk@a@UUK™XW¥kU@VƒUkxmVkUWbUJnVJ@nVJXzWxkŽ@lVbUX@VVL@`mbUnšŽUn™VV¼k@Ulm@mwLƒb@lmLUK@UamƒWkƒK@£Ua@ƒ›UkJkUmbVlkX@bWbUŽVŽnnUVl„@bšbVK@VX@lb„V@nU¤šx‚²„Knblb@x„V„ô@šlŽ@b@l@XWxnVl@„VV@XLVl‚LUŽUXV`šbXXmJU@@bm@UUkLW@UlUKWUUb™wUm™L@nklVVmVXXm@@bUKlÆn„‚XkllVUVVL@nUbV‚@V@nnV@xUn¯U@JW@UX@xĉ@™`m@@LV@b"],encodeOffsets:[[113671,26989]]}},{type:"Feature",id:"4305",properties:{name:"邵阳市",cp:[110.9619,26.8121],childNum:10},geometry:{type:"Polygon",coordinates:["@@XIlJšI„VVK@n@VVVKnLVwVmnLVK@U„@šw„J@wVIƚ°X@ÜȄUÈxll@kn@VwVaXJWXn@@WVL@UUKVKV_U@@aVK„x@U„aV@lk„@XylbUaV_šVnal@W„U@a„I@aV@@aVUl@Xm‚UXWaXml@@kk@ma@V_UnUV™UUWJUa@kkaWLUmk@@LUVWUkJWkK@¼UnWJƒIkV@b@JUIm@Ul™V™m@Uw@a@kWƒXWKUknW@ƒWUU@k™mx™UkVmIUJUU™VmI@UkaUƒV™UmVk™wVaVmX_WW@ƒUw@™@kUKWVU_k@ƒmm@@VkX@lVLUJƒX°WVU@UIVWUaƒIUġmkVUkWUVWkwWXk`mI@¥kUVƒUƒUn±@m›XkWknV„UVmmU@@XƒVƒUk`@Xƒƒƒk@¥¯»mbĉó@mkU@kU™ƒƒ™KmX@˜UnmL@lULkKUƒWUU@ƒbUaUnƒ@Vb@l„¦Ub@l™@UKmnƒKUnl„UVVbUVn„@`Vn@xƒb@x@VL@nmJ@nU@mmUVkI@xVVVxkXVxmV@bƒbXVl@Xl‚XVxna@Vn@@VVL‚aXaV@n„‚@@V@X`V@@XVJ@XV@UºkXVb@xlVVKnbm„@VXLV@n‚lL@VxšJV„ULUb„`lb°nXalKnx@„lbšmn@lbULV„„V°š„ƒnV@zšš@Vl¼lb@VUV@bšmLV`„„@n„KlVnU‚XWVLnnlV@xVLU`VbV@"],encodeOffsets:[[113535,28322]]}},{type:"Feature",id:"4310",properties:{name:"郴州市",cp:[113.2361,25.8673],childNum:10},geometry:{type:"Polygon",coordinates:["@@²zVaVlnVl@nšVk„Jl_XJlIVmnL@mV@VXn@lV@‚XzV@lyV¯²U@UlJ@XVKnVVIXl@UVLV`@n@J„I@mlI„KVLnUlVUVVLXašKVLl@nb@ŽW„XV°KUnVV„L@xVJ„L@b@LUVVVU„˜VXbmbVbn@@lUbm@x@XVVVŽ@@˜@bkImx@Vm@Xbƒb@l°XU¤„a‚L„mnL@bl@@™VUX@VxnV˜anLnƒWƒ¥XKVwnUWXmVIUWÆLVx„L„w@wVmlU@¥XƒWUkwlÇn_Uw„WV@VU°wnU—ƒy@aVškVlnL@lVn„w@VlJ@b„X„x@bVKnb@U@WVUl@@Vnbl@XLlK@aVLVKnxÞn@a„LlmUaVU™ƒm@ÅknUmaUKmVk@m™kk@UlWUkVm@w@kUU@W™U¯™¥@w„Ç@aVIlUV@kUWU@UUm»@k@mKVkUKUwƒaUaUa›@k„kUWJkImaU@UK™@maUzk`@zƒy@XmJkL@UUJmUkV@z›@kŽkVmK@¦UbWL@a@UbmKmwUK™Xk›VUUkmVkw@UUKmL@WUIWa—JW_k@@WmI@mk@WkWULUUVKUUVm@šU„bš@‚nUǃ@U@w„™V@Ua@aƒL@ak„›l@k™UƒJƒwó@@L@V@„™`@œƒJ@xnn™šmV@bkJmUó@ƒn—JW„UUmƒU@UV@Lk„WlnnmVXbmxšxV@nbV„V@XVm@UVlXU`ƒUŽkn@lWLƒW—zm@UJVXU`@bVšUn@lWVœLlbVKVan_VxnVVVUXV¤ƒbnl@bUn@LWlU@@amU@V¯L„šVVUn@V@x„„@V@L@VmxUKUVm_ƒJUbVV"],encodeOffsets:[[114930,26747]]}},{type:"Feature",id:"4307",properties:{name:"常德市",cp:[111.4014,29.2676],childNum:8},geometry:{type:"Polygon",coordinates:["@@l™U™mkUwUyV™@VW@¯Va—VmUU@KVUVUVLnaWƒnkUÓV_@mVU@݄w@ƒka@kVmƒUmK@IkaUamKkXWaUW@WUk„™@@KVU@aU@™L@J@XÇVUKVak_mWkLWakVUbmLUUmlUVKUU@kUWW@UImJ@xkLkKm@@Xƒ@ó݃@UUk@UKƒV™ƒULƒKƒXkWWbkaƒIUƒWU@mUk@WLaUJġ™ƒ@@XÈÆVIl‚„Vnz°aV@U„m@X`@XWbkakJ@amLƒaU„@V@L°@@bn`š@@XWb@VœVlšUxmb@bUVmVUI™šXVWnƒJU„@nnlVLƒV@JbWzk`m@UVK²V‚x„k„LVl„@Vn@V„„°xVKVkœVVlUblx@bU„‚Æœ@@nVnUll„kx@VW@@VkLWxUL@bÝ@kKkVõV@bkXVVUVƒ@ƒVkUkV›LkV™a™@@™ƒ¯xUxmX@JVb°WXkK@Vm@k„Vb™bn¤‚xUXkJƒblxnXÆK²l‚_@Wnašn@ŽUL@b‚JnIlV„@lUœ@@¯ô@lWȂIVKVm„U@aXaV@lwVXn@@K@UVKUUnU‚bn@lWšX„ƒlJnUšLšKV@„„l@²a@UlK@aV@naVX„WV_nKlL@KUm@a°U°@VXL@a@wWmXal@„k„@VLn›V@@bl@VnX@mwVa²aVU@mk@"],encodeOffsets:[[114976,30201]]}},{type:"Feature",id:"4331",properties:{name:"湘西土家族苗族自治州",cp:[109.7864,28.6743],childNum:8},geometry:{type:"Polygon",coordinates:["@@@KšL@wnK±nƒnm‚—@WUk„ƒÜÈn@n»@mVamk„mšU„„l@V™nmmU@wUan¯VKšLn„VWlInyWUœI@WWk@KXU˜n@mnUmU@WœƒmkV@ƒkXašaVaUm‚Ikƒƒ@kaƒX@ƒUm@UKWU@UkJWkXa@IVy@UmIUVU@UJU@WXWmU@™VakaU@@Xm@Vm@wnwV@VL„yV@VakUUa@wUUVmlI@K„UVkUamJk@VU@UmVaƒan_@KmUƒ@@anm@ImWX_WWUk¯ƒ@k@Wƒ_m`@bULUKUnUWWXkKWaVmnU@@b¯UUbVŽ±K@UKUUVa¯UUmJUƒVIXmI@UU@WmVmkUV@b¯w@lmI@W@aƒ@m¯LXbmJVLklWL@V@XXŽmbVVU@@VU²Ul@VlX@bš`Xx›zUmkUVÒlŽ@bXLWxXVlš@V„bkLma@nmVmULVbmVUb@lnzmbUÒVl@°nLV„lJkn@bmJk_ƒVmmkblxÈx@LUb„xVb@V™n@JmLVŽUš@„nV@¦VbnJ@lVVbkx™bm@UxVLV@n`UnVVV„kl°z„xVb@VU@@ÆlXnWm¦nbVK@XVVUVVl@X„KUV@nVL@WnIWŽXLVKVLlxUbVKXVWbn@@UnKVLVb„JšU@aVU°b"],encodeOffsets:[[112354,30325]]}},{type:"Feature",id:"4304",properties:{name:"衡阳市",cp:[112.4121,26.7902],childNum:9},geometry:{type:"Polygon",coordinates:["@@lšV@XV@„mXVlXL„W‚X@l@bVxn@šŽšUVkn@VJ@I@alU„JXIVm@»‚LXllIXVVU@Kl@VnXKlb@lVbXIVVUšmVVU`@nbl@@lXLVVVKVbnXWJ@VXbWxXb„Ul™VK„¦nLVVUVVbšb„K@U˜LnK@Un@VxlUV`UnnL@VVL@JV@VUnxnKVbV@@VšIVUnJUVUl@nW„XllIUa„KVbÞLV¼²`V@VIUwlaVmXa@IWanK@U@m„kVƒVUVaX@lšnaVLÈ@‚¥@kkJUWJUaƒXkaUm‚wVXJ@_lWUU@¥n_‚KkamUK„™@amKƒnKƒbV£¯W@k„aWan@@UnwlJ@a@—@UUU@W‚wn@Va@km@UanaWa—UVƒUUVU@K@aƒKUI@wƒKUUVm¯LWUXƒ@mak@UK™LWbUKVUkUmVUKƒLkJ@nƒJ@I@mU_UK@VWkUJmUUL@WkI@V±VU°kzU@Wy@kUm@UWU@@nmKUnkJWIk`ƒIUlm™k@mUUkUb±yUX@VUV@bk@WlXL@nVlUl‚k@WI@ŽkLmš@VV@XVmnnVWbnVUblJXkVl‚XXlWXUJk@±™@nXVWVnL@xUVm@Vn@J—„WK@U™V™@UUVUVKUkkxULW`k¦m„@bkJm¦U@ƒmUX@`UImUU`ƒLVbUVUU@LUbmaU@mJU@U™UIƒKmxkLUl"],encodeOffsets:[[114222,27484]]}},{type:"Feature",id:"4306",properties:{name:"岳阳市",cp:[113.2361,29.1357],childNum:7},geometry:{type:"Polygon",coordinates:["@@@wUklmUUmU@@UVm@wUaV_mmUKmwkIkJmUUnm@™™@UUƒbUKUƒmÛamm¯xVLkbÇƃUƒVUzkVUlƒUUKWLX¦W@ƒVUUUaƒKUbmLKm„@akU@aƒmVaUUVIVWkk@wkƒƒ@@xmLlmÅwmbVlXlÝIWVkK@kkVƒL@VWKU@Ublnaƒƒm@b@bšnW`@XUJk@UUWKƒk@UKƒnn‚@xmLUVm@kbVbV„nV@V„b‚@KnV„LWšXŽÆVĢ¦VblŽš„n„UJWz@ƙVóUVbkV™aÅx@¦lVUbVVknWKƒ„k@ƒwƒK™VU„Å„ƒl@zkb@`m_mJ@xX„mbVbœ@llV@n„@llbXL˜UXalUšl„alVnwnLVKlšVbX@@I„V@blJ@bVL@VVVUXȤ‚VnkVÑXmlbnš‚„VKkÑř@UmaVç@±XUlI„xlV„@VaX¯lUVVUšVJn—V@°°nŽ°„Vxĸł°¦šb²¦lJ@U@aUK@kUm@_m±VIXal@„Kl@„bV@K„K@k„m@UmUUaƒK@_UJƒaXU˜@Xmš_VmUk@WUk›@kU@a@m@UƒaUUU@al@ny‚XXWWwkly@¯n@@bnV@k@mVI‚„œVlUUmlU„JUw„I‚bXƒVaUal@K„b@ƒVKVkXVl@VkUU@ylUœVVaVL"],encodeOffsets:[[116888,29526]]}},{type:"Feature",id:"4309",properties:{name:"益阳市",cp:[111.731,28.3832],childNum:5},geometry:{type:"Polygon",coordinates:["@@„ŽÆxXL@l‚V„@ĢšVI‚bXKl@nVV@„XVŽ„JlbXalX„W„LVKš„„UVLl@VV„@ôބ@@Wn@lLlK@wnIVJX@VX@lVVUL‚VnkVVnKValUXblKnXl`UbVLÈU@W@IšKV@@bUV@Lš@lƒXV‚@VXXblWnLVblb@JnL„VUn@llb@„ƒx@ÞUV@nU`VÔmlX„mbUKUVUV@LVVUn˜ŽUb@°UXš@U‚VzVxnlVškšVnlVnaWƒ@wnIn`@_la@y„kƃVƒšU„L„xl@„ƒXLlmUUVakU@¥ÆwšblUUaôVšU@ÅXyVImƒ™ƒkUaġ¥ÅUWX™ƒKmU@Lƒa@UmUUƒUalan@VUnK@wm„m‚L@V„lXLVVl@VI@WX_™m@a™¯mKUkwW¥UK@_UWWLUVkUWL@WUIkVƒU@JƒwkLUUmJVI@WkXm@VmkKUIU@mmm_@VUV™@™„kJċwUU@KUWkkW@IWW@km@klwkWVkkU™V¯m@kWLU`mIkmkXm@@`@L@xUKWkU@VL@JUU@mbUKVa¯WVnL@`lXUVkU@xW@UbUWVU@UJ@„lnU@m‚nÈmVƒa@bUL™wUb™@@VkxmUUƒ™UV›K@IƒUƒmk@akm@wmIƒŽkK@b™VWXkm@wULUmm@UVW@Ub„mbkKƒVn„U@Wl„xV„U@UXmWUXmlnbUl¯Lmn"],encodeOffsets:[[113378,28981]]}},{type:"Feature",id:"4301",properties:{name:"长沙市",cp:[113.0823,28.2568],childNum:5},geometry:{type:"Polygon",coordinates:["@@lVUllXkx@lln@‚XX@JlXXl‚V@LVVČxlIšƒš@VU@Un`nnV@VJlLUnn@lW@XUJnIVVlK„x@I„VlUVJ@XXKlVVUXKVX@`VLX¦lxVŽnLš°‚an@„„‚bkmVaV@XL@U„KlU@llLXUÞJWkUknaÆxnŽ‚knK@w„@l„@xllUXUJVVUb„n@blV@bnƒ‚LnKVa„LVbVV„UX@W¥XKVL„VVklUVy„U„VÈÅlaUK°wnnÜbn‚V„VL„aVVš@šn@VmnVlIlJna„@Valkn@na@amwm@„UXw˜K@aUUVUUaVa—wWK@kU@UaW@kKUUƒƒ@k™W¯XWan@k„™mmÅ@@I@U@KmLkaVUƒKkLWVUƒk@UVmU@am@kkk¥ƒUƒVUK™„maUb@ŽUb™I@aƒKkkWm@W¯K¯b@VmaULVxUXlVk@UxVJVbUb@xULƒ@ULWW—LƒĕmxVVL@šVb™KUwƒaŲWwX@@WƒUWLU@VbkV@aU@@VUnmJ@VUn@VƒLUK@U‚mUIk@UÇmU@@UW@J@LƒbUmVI@aUmW@@bkXUx@lmLUbm@UbkJ@V@XmlUbkKm@ma@kUaVU@aUK@mImJUIkVƒUƒVUakbWwka@UWKkLUamKUXm`Å_U˜ƒULmaU@@lUV@X"],encodeOffsets:[[114582,28694]]}},{type:"Feature",id:"4302",properties:{name:"株洲市",cp:[113.5327,27.0319],childNum:6},geometry:{type:"Polygon",coordinates:["@@X‚‚Unw„Ė˜KXXVK„@VK@wVaUaUIVwl@kUVWUwVKnb@U°a°LXŽ‚@Xnll„L@bšJVa@VanbšƒVL„U„V@al@@UV¯ÅÇ@Ummk™w@¯ƒyVwnUVVVUkmWV—nKVUƒa@WXkVKn@lUVU„VVVXIlV°VnI@VlKnV@mwVm@LXKWkU¥wWwƒƒ@k@m„X@KX¯V@VUVa@VnKWkœƒV@VUkm@aWa@wkUWwkmV£VÿXUVL@mVIXaò@nW@ašUš@@am™@aUU„UmXmWUk@ƒƒnUW@_maVm™wUkamaUL@aƒwƒW@akI@UƒxUm@kmKUk™lUŽ@b„zV˜m¯xUVU@ƒXVxm`kÈlxXVW„@¦kVUn@xƒxƒKUwÅKVXUJWnXŽmVUxWL„¦XŽm„mK—bmUUwW@UV@šk@ƒšVLnŽlbLm`@¦VVkX@`WIUŽxVnlb„WVbXIV‚lI@l¦Ç@UKmbk™W@UbUVU„ƒl@n@VmLXb@JWbUnkbVxUJUxWXXlWL@V@V@XXJWx„zUVVVVKnXW`@bkIUl‚„nLVJUbUIWVXlWV@XklVbnn@xlš"],encodeOffsets:[[115774,28587]]}},{type:"Feature",id:"4308",properties:{name:"张家界市",cp:[110.5115,29.328],childNum:3},geometry:{type:"Polygon",coordinates:["@@@InWVw°wš„@š@šblUœKlUlV„U„@VUUUlW@aöUlUlLÞ@@aVKXwlK@UX@@UlwkƒVkUm@m›@ÅVƒ@akwVaUk›UUlUL¯wƒƒ@UUmƒ@UkƒKƒlw±UULVn@l_XyWwÅ@VUUmJUXU@@mmƒU@kxW@UaUIWbU@@mU@UxƒnUbmKk„WJkUValƒ@aUkUxƒlW_@WUIU@ƒbkKWUJVnUb™bWb„lU@nl›„@XnVmV@n—mWV@LXl@X›JXVmzkJUXmƒ™KULm°Vb@xnVmnUšk@ƒƒ™VƒnnlUb@nm¼m@Ûǃ„Vl@X˜mnm„²ŽmL@x™K@LUl@nULÆx@V@VXVWbXX˜l„@nLlm@bVKœX‚W„L°bnUš@VaVUš@šmšVw„JnwVK°zn@V‚Vb„a„@Ċ¼"],encodeOffsets:[[113288,30471]]}},{type:"Feature",id:"4313",properties:{name:"娄底市",cp:[111.6431,27.7185],childNum:5},geometry:{type:"Polygon",coordinates:["@@lL„nJ@xln@bnlV„‚„@JœLVUšŽV„nVlw@Uš@VašxVK@a„bnUmÇnV@km@ƒ‚I@VUVVXVaX@@wlVVUkW@_mKXU°‚UbVLnaV@‚V@IUKV@XlVL@w@K@_n@lWlnnJV_XK@l°nšU@WVU@kV@nbVK„V—lƒ@nLlƒ„LXU@ƒlmkw@nW@UKVa¯IVn@@aVUUKl@nXVKVn²a˜ŽXblKnLlmVI@KUU@akLUaVa‚UXm@aƒ@wVUVKnLnWlXl‚n@@U@anUVm@U‚Inm@IUK@UmKVmU_kVUwm@@VmL—K@VƒL™aUaVUUUmKƒ¥ULkšƒVWaXwWa@UXImWUaULUUWKk@WnXbWŽVWnk@UV@bU@@bƒJ@bƒV@XkŽmb™UU`VbkaWzƒ@klU@ƒb@VƒwUL@bV@U`ULVL@VUK@Xm@XWWIUbUxm@@lkkÇwƒVÛÇW@¯Å™UJ@xƒI™xƒ@@VULmKUnUxmKULUUm@@‚ULƒU™JkIWJ@b@LJUW„kJWnUV@nn˜Ü_nJšxU@VbšnUxlškb@lš@"],encodeOffsets:[[113682,28699]]}},{type:"Feature",id:"4303",properties:{name:"湘潭市",cp:[112.5439,27.7075],childNum:4},geometry:{type:"Polygon",coordinates:["@@Æ`n_VWnLVblKXL@VlbXxlaVb„U„VlUVJnInJ‚@VL@bUVVb@lnbn@lLVank@W@UlIVan@VanK@kVwlW@aX@Vn@bUJVn„a@K‚IX@@VV@nŽVÈl@VJn@VVL„K@UVm@UnIVm@UV@@blUUaV@XK„V@XW@XxƱ„bVxšLUa@™UKWk™@wmmUalk@WXUWkXUVJVaUImKƒVklJ@aX_mWULUUVUƒyXwWI@W@U@UXKWkXWVwU@±_U»ÝKUaƒLVbkJkƒWmXk@UVVŽmIUV™J@UU@UamLmwUVU@mnJ@VUnmV@b@Vm@kkWmXmKULUV@x„Ž@bWnVUbVblK@bVV@LUJknmKkLWa—±bUmULmWk@VLUV@bm@U°JUbVLX@@mlxkn@„WVƒKk„mK@k„"],encodeOffsets:[[114683,28576]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/jiang_su_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"3209",properties:{name:"盐城市",cp:[120.2234,33.5577],childNum:8},geometry:{type:"Polygon",coordinates:["@@„n@‚°ĀÞ°@¦ULWKkx@bkLWb@lUlVXXJVbƒnUKmxXV@bm@@Xš‚„LޚܦXlVnš‚mzVJ@n@‚²ÞôkƃÞaȰĉ‚wnljÜó„éVÛnĊīČlj‚ĉ@ō@KÞUlU@ƒkklÇÈњÑlġXɛ@UġƒƒaU@U_ƒW@n™@kaUL@VW@kKmkUV@bkbWW@bkzma@ƒJWI@KUKULƒ@U¦™`@XUJ™U@KmXƒw¯KXkmy@aUIWJXXmV@K¯UU@@bVL@¤VLXbV@@JVXVK@„„JVn@bkKmakVVXUVVVlI@`U@nzVVƒb@¤n@@UlKXLVVšI@V@nV@V‚@ÈUx@šóVōšƒkÅWó@mU@bk@Ýwk@WbXxm@@J@zV@kVƒbV‚nLWVUX™WUXUŽWLUŽ@Wl°z@VkxU@UVWIxWJkbƒĬ„nW@@bUl"],
-encodeOffsets:[[122344,34504]]}},{type:"Feature",id:"3203",properties:{name:"徐州市",cp:[117.5208,34.3268],childNum:7},geometry:{type:"Polygon",coordinates:["@@XKVX@WnIVx@K°Lnll@@I°K„nVašU°x²mlxš@VanU@aƒk@akmV@@w™@Ua@aUwVwUw@w›@UK@£kaĉlóIÇVkŽ±@@kUKmVkIkxW@Ua¯UUm@UVI@WVI„JV@ƒ@Um@Uana„U@m‚I@J@XV@XaVlkXƒVaUUWLUyVIXmWak@ƒXkJókƒJUL@KWkk@ULU@Wa™lUIkJmI™mk„VbVš@lV°kXUKWKULU„mb@VUlVnƒb@VV@IVKUUmU@ak@@bmV@xklƒUƒU@UKmV@nƒJVbkXƒKUamLUJ¯UUVmI™bVV—Ll`@LƒLU`m@kXUVU@V„lxUK@xkIWbUKƒx@V‚kVVn™b¯@@U™@ƒxk‚mbkLÇK™b™@@XnJ@LmVklƒ@@XƒlUƒVkxƒakVVb@bVnUbU@@x˜VUšVb@š„ŽnIĊ`šXVVôJš_„K@xlU²Klk„U„@VaVVÈm@kVUVmnamUUaVƒXIVJ„@‚ç@¥nkVLn›„@@XVK@VUX@JVUV@UnVJVLUJVLUVlšnI„b‚KnU@m°™VanI@anV‚KVL„an„lK„blš„KÞk@¦@¤@„VKnLVK„L„KVzlWšLX@VmV@VbnU°@Ualk™˜WXLVU„KWkUUWšƒ@£Wa"],encodeOffsets:[[121005,35213]]}},{type:"Feature",id:"3206",properties:{name:"南通市",cp:[121.1023,32.1625],childNum:7},geometry:{type:"Polygon",coordinates:["@@VJ@bnzWl°L„xnW@LšVVI@Wš_V¥„@VKVL@LXJ„I‚@nbly@aXXla@aVUnllLX@@UVKlbš@@m„XV`V@„bĢ„lkČÇƃȘ¯šwnĕVĉVÿšUƒUĠƒŦğlXÑVǵ@±ōLʵĖ¯lÇbÝÞ¯xk@Çkķé™n¯@ğŽġƴǫ@kVVlUbƒL@xULǂóLUl¤@nkVV°VLkxVb@l™aUXUKWĖklVX@¤UšƒUkb"],encodeOffsets:[[123087,33385]]}},{type:"Feature",id:"3208",properties:{name:"淮安市",cp:[118.927,33.4039],childNum:5},geometry:{type:"Polygon",coordinates:["@@šnźUôÒɴ胚l¦nĖV‚kbmš„X@xVlVL@xUb@bUJVnUx‚šœ„lKVLÈx‚m„zXV@lW@XV‚b@bȚVxnb‚ƒVIXa°L„aÆVVaXUlK@aXIƄVlXKVUlIXalK@alwXLVK@¥Ý¯¯ÿ@ƒmVk@aX@ƒm„īlaXI‚wXJVUV@lw@U¯yb›UaƒUġUÅaUKVknaġm@kUm@wÆIV±nLÆw„ÇnUUkƒ@ƅÝU¯JÝI¯¦Ul@bƒ@@VVL@l@LƒLÅmƒL@b™@UaVaUWmLUKV¹KƒLWKX¥WI@mXk@UmaUVUU@VmL@W™bkIUWƒUmVóIkbmm™@UbVLUxmJkU@bkJWbnXU`Wz™KUÞÈlVb™Lmx@„kè@Æ"],encodeOffsets:[[121062,33975]]}},{type:"Feature",id:"3205",properties:{name:"苏州市",cp:[120.6519,31.3989],childNum:6},geometry:{type:"Polygon",coordinates:["@@ôèĊVnX°¤²„lxƒÈÜ@²x@J@b@X‚`nIUƙUUV@bl@VVnL@L@xƒJ@X@blJXnW@@`XbW„kVƒ@UbVxƒXUxkV@LóxVbUVWš²šVJĸklUǬ@ĢƳĠ°@šmƒī°»ÈÇ¥ULUU±a@bU@¯ƒU@KnImUVWUk™mXUVU@lIVaUUVWKUbUkWKU¥n£WakJUkUL›K¯L™KkƒVIn@VaUƒVUUƒ›UkVk@ƒU@amUkJƒ@UUlwX¥W@@UkVmk@JUakL›@kk¯ÝmJUn@nmVXlmbVVkn@„UJ@±WUxV¯a¯KōbżÇxUxƒšUUlWL"],encodeOffsets:[[122794,31917]]}},{type:"Feature",id:"3213",properties:{name:"宿迁市",cp:[118.5535,33.7775],childNum:4},geometry:{type:"Polygon",coordinates:["@@XbWnUJVzXKVVUbW„klUWbU@@W@IJ@nƒVmbVbn@@V@„UŽƒIUJ@XUJ@VVn°VVbX@lwlJnUVL@l²@lÈUôJĊklb@¤VLœ@@xVxUxVx@bVbš@@xU@ln„mnX˜mXLVmV@X@lxVnVJôL„LXa‚x@b„@@KVL@bn@@m@™@alLUUVaU¥nIV±‚I@mXI@aWWXU@LlUXWW_XWmaUwǙ@aaWUX@@kWUƒynÇwUKkL›ƒ™VwUmVI@aVa@wUKUk@wƒWn™laUmĕk¥„™ɳçóÑŹV™mmzkVmm@a@Ióƒk@@LWU@`—„WbXLWlkImJVn@`nXVbXŽmL@Vn@‚l@nUVl°Xx°U@LVĠ@z°˜@¦UV@Xn@VJmV"],encodeOffsets:[[121005,34560]]}},{type:"Feature",id:"3207",properties:{name:"连云港市",cp:[119.1248,34.552],childNum:5},geometry:{type:"Polygon",coordinates:["@@@‚lzXxmÆV„„@@¦„@l`XnlKšXXm‚KnLla„b„@„xmbm@kL@V@Vl@@VUXšJX„mbš@@„°Æ@èÈzlW°XĢJlÈ`lInbšWV_@mš™@UUķnƒôw°ÆmnaVƒVÛVmĸ»Ģw±Ý@@mUIny™UmWkۥݙƒK™@Wn@@aWUnwVL„mUaWIUWVk@kkJUVWLUkŃWJ@bkLWVUbÅUƒb¯KWbUJ„WXX`WXkV@KWVXX@bWJ@nJU²mJV¦UbVVkK@b@š@nm@@aUK@Lƒ@@awWbƒKóKUIUmkwW@U@UnWK—nmWƒn@b„l@bmVUb™@kw±n¯w™VUb"],encodeOffsets:[[121253,35264]]}},{type:"Feature",id:"3210",properties:{name:"扬州市",cp:[119.4653,32.8162],childNum:5},geometry:{type:"Polygon",coordinates:["@@VUXblVVV„b@xV@kz„V@l‚wVLUbVV@VU@VbUbl‚b@nkĶ°IÞV@Ɔ„VlmVƒÈÅxmKU²ÅJ@xVn@lĢnmbUlVLÆbĢV„V‚bœV‚aXk‚@VXKVVWšXVWXUmKU„aWaU@™¥@£XW‚UUV@@ynam_VWkUVUna@ÆV@mnkWmXkWU„W@k„@@akklƒlWUI@UnKl¥™I@VVma@a@I@U@a@anK@UmK@ÅVUnJl™kI@aVwka@mVIUW@UWL@WÅbmIƒƒULka™UWƒUxkLUKWlXL@VƒImƒÅVƒU™mĉL™Uól¯I±l@ÒUbVbUVVXUJUnVV@lnbl@"],encodeOffsets:[[121928,33244]]}},{type:"Feature",id:"3201",properties:{name:"南京市",cp:[118.8062,31.9208],childNum:3},geometry:{type:"Polygon",coordinates:["@@k@ma@kUUVmVIUWVUUaVa@Ѳk°Jôk@Wmk¯KmX¯aUakKƒƒWU„@XU‚LXaV@@mUaVUUl@VmkaUXm@ƒWUUna°IlmV™m™IUW‚@Uk@@aV@VVX@„V‚I°»nm„U@VKVan@m»UaU@U_@WlIUa™aVaUala@¯n@‚ƒkaUkUUWKU@mwkUUmmL@K@ƒLmUUVƒKƒVÅImU—JƒƒVkVVLšèVLVU@W„L„V„š@nVÜULVŽUL@bW@XbWbkJƒUUVUxVXmVk@WUUkVmIƒV@„nbnVWbƒJU„kUULƒa@Jma@XkK@VVL@L@JƒLUVU@V¼ƒnXlƒbm@kbUKmn@lVb@VXXV‚UV@b@LVbÆxXbl@@lV@U„VV@XVK²VlIš`„UbVbUlVVn@WXn@@VUV@„@KmbVLXқLkKƒV@nX@VVUV@b™nVllbšmnb„IWVXU@`lLlknVnmlLlbUmVInK°nUƒU@l@VU@Vn@„ƒ@alI„`VIXaVaVa"],encodeOffsets:[[121928,33244]]}},{type:"Feature",id:"3212",properties:{name:"泰州市",cp:[120.0586,32.5525],childNum:5},geometry:{type:"Polygon",coordinates:["@@lUU@@y@In@WwXal@Þxl@@anVô@ÆX„lŎ™ôU@™Vw@ÇUU@@m@U™JUUWKkL@Vm@@£„aUUmyV@@_kJUUVUUWlUnblL@aUmƒI@ƒULUW@IU@WaUK@£UK@aV@°V@LnUWWXIla„VV™@£UWlkXĕVLVWšb@kUalwUKU¯lU@mk£VôKȁVK@w„KVaUkķlUI±™ğ¥ÝUŹš™Ž¯ôm¦ƒĸ™‚@XXK@VVXUJ@nlbUx@blJkšmIUV@ÆnL@VmL@b@b@V@J@bnb‚U@UšJk¦mL@VVJkXk„ll@bƒ@@lƒXXVWlXnml@nÅU@ŽmbUVlVUXn`mb@zU@V‚VWX@¤š¦V@Xb"],encodeOffsets:[[122592,34015]]}},{type:"Feature",id:"3202",properties:{name:"无锡市",cp:[120.3442,31.5527],childNum:3},geometry:{type:"Polygon",coordinates:["@@nLƒÒlxUVkL™am@™ƒkVWUULUxVVVbUV@bVLU‚nnź™ÞVĠ¦X™VUUaôw@KlUVw„WUwVa„@lUXƒWa@_X@WmkI@a@W„I@w@KmKUUk@@aVUšVVÅmJ_@W@a@I±wÛ@ƑÇkw±ƒ¯£mWĉUóçƒK¯VkUWK@XkV¯UWabƒmUa™UUb™lln@b@xƒbXŽWX`@„VxUblL@bn@Vb@`m@XbWnn@l¤„n@xnVlU„™VLÆWœkV@VbÞJ‚_nƒl@nKVU@aU™U@mVk°WVLUV¯bVXŽ˜bXlVn@VmL@x—V@bl„š‚@œnW@X@VVJ@²VJVU"],encodeOffsets:[[123064,32513]]}},{type:"Feature",id:"3204",properties:{name:"常州市",cp:[119.4543,31.5582],childNum:3},geometry:{type:"Polygon",coordinates:["@@„L˜ŽnxUbVVƒL@xnnW‚nn@VVXn@‚yœImx„„°ƒšL„a‚¥n@VkšKVw„W@nX„VJ@b‚@UVn„ƒ@UnUV@L‚b@`VLklVÞn„Æ@VaXLl™ÈJšmmVUK@aVUUaUUVwVKXVlUš„n@šblKVUkw„ÑmKUVUI@±UI@U@WmX@›™kƒ@a˜U@wnK@UUmWk—aWU°aVUUK¯XUl@nVŽVš@bUVmLk@m„`ÝIUaU@›lÅXUKƒškVmU@wƒmk£m@XmWan@@_Uam@@akKVaUw@ƒW_XW„a@w@akmm@mL@UJmnUKƒ@@XnJWLkKUb@„Vxk„WƒL—aWVUImVULUK@L@lkLVVVllb„m@@°kbVbUbšbVbkJ@XV`V@Vbn¼"],encodeOffsets:[[122097,32389]]}},{type:"Feature",id:"3211",properties:{name:"镇江市",cp:[119.4763,31.9702],childNum:4},geometry:{type:"Polygon",coordinates:["@@šVĊKšn„VÆUn„„J@UWKXkVLlKVwX„šVlbVK„„nJÆaš„ķn¥°óÇIkšWKUbÅ@mƒUÝlkUK@_a@KVUVm„@mƒVU@@aUIWƒ@mƒXUx™LUlm@¦ƒb™K¯„ƒƒnw›Jzm@UW@UmmXmm@w„KUUVamw—ƒKm@UbUL@ŽƒVmn¯¼JƒUW@UUU@@bl@@VŽVXšJšnnU‚‚k¯JmbVV„Xn@VWlbUnk@VVUŽVb@nU@WbKWVƒ@XV„„lLVb°bnW°Lnl@X"],encodeOffsets:[[122097,32997]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/jiang_xi_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"3607",properties:{name:"赣州市",cp:[115.2795,25.8124],childNum:18},geometry:{type:"Polygon",coordinates:["@@„`l@Èbln„@„KVLl@„V@bȎlnšKXkVlVL@„lJnb„¦VKVVnX„W@w°@VU„mln„UV`šU„bVUV@„xnKVI°KXKVkVL@al@Xa„LVlULWV™VVL@b„x@VXVmb@x@V™VV@nn¤„šlb°b°KXXWbX`lbXx‚z@x„`VIVUnK„L‚x„WXLVKVbVLVU@wnW°b„@nalX„‚mXVJn@U²mKkVl„U@@xlnœaVmlKnœ@JVLlŽnVššl@XXÆèVlUX@xVLXVšb°W@wnUWmXk@K‚LVwUmUkUKUw@wVaVK@kƒ@WnkUKWkwlmXL@KVUlLVKXmWU„L@ašL@malaVk@aa‚ašƒnXš@VVUblb„Jn˜ƒXa„V‚wn£„K@UWmUk@ƒUaWIV@b™JW@KmmU@aUUUkmKkVKlUU™nKVU„lVaV£Å¥WUUK@UkUUw@m@mIkƒƒUUWƒLƒK¯Uw°¯@wUKUbƒKmƒ@kkKUL@UUKV¥U@manw@k@U@Wm@@U@Wwkm„wWaUU@UUmV¯kwƒ@@kmƒkKkUW@UK@ÅV@XWWkXa@Ul@Va@KVaUUU@ƒaXwla@UkVWaXk@K@lmkUmV@Vmbk@ƒ»XIƒ¥VUkƒVUVU@anKVUƒKUalU@wX@˜™@a@K—@ÝwƒL@ŽUnÇlUIkJmn@ŽƒbVVb@VmnkLƒV¯U@ƒ±l—IWmƒ@kaUI@aÇU@K@KUIkbWbƒJUIUyƒX¯ƒUbU@méUUmUk„WK—xWIkJm@V¥U_UJUwmVkšƒUU@ƒƒƒ@knƒwm@UmkWJkL@n@VW@@‚U@knm@kUml@xÅxƒ@@XUJlb„@VX„JVxn@lbV„@lULnV@VlnV@bWV@bXL@lVLVb„V@blLn@Vl„K@xln@bX@lašLVbnKUVVb„KlXVVkxƒV@nnVUb‚lV@@z—°WWkbƒIk‚WL@LUJ@bUI@b™`@UmI@mkK¯XW™™mUV¯@UUVUUam@@VULWUJƒIm`IUJ›KUkW@Uxn‚WbnnmlXbmIUVmV@Vnb@V™LUKWLnÒVVV@V„UL@„kJUV@bƒÈ@ŽšV°šŽ@XVV@l@xUz"],encodeOffsets:[[116753,26596]]}},{type:"Feature",id:"3608",properties:{name:"吉安市",cp:[114.884,26.9659],childNum:12},geometry:{type:"Polygon",coordinates:["@@lxnb@V@bV@ln@‚n„‚lInš@blVXK‚nk¼@VUKWL@b™L@`UXU`ƒ@V¦XLĠ@lJ„¦@„nV@l°nn@‚mVXnaš@nb‚K„n@l„IVƒš@VanJ@_lKVVnš„L@L‚K@Vn@VbšUVanKlLnbnJVbšnWVnVVanI@‚Vb@L„bVKVanXVbVJVU@aXLll„bôlƼXxVLVK@Xn@ƒxnVVVmb@LnVVKVXV@@mnaVXUVnV˜K@_UaUmšwnKV_‚anKVLš»„K@¯ÝU@›™U@kWlUn™lknK‚VnaUkma@ƒUIUwl»Åw@ƒVwV@n™‚n@ÈXlKVmna@kVw@anm‚@n_WWk@™™mUkUK@Im›kLUn›bkm@wV@kƒlUnLV±m@UInWƒkWmbƒ@¯amX@xUVUKUaULWKƒXwƒKmLUVUJƒ_@wyWwkaW_XaWW¯L¯akaƒ™m£@mUUš@U@wnaWU@Uƒw@aUKšUXUVKUkƒKWbk@@bUKUlWL¯LUJmLƒwU@UVƒa™VU_ƒVkmƒnUV¯@@xƒXmWUUULƒ¥makI@ƒUKUkWl™LkmǍ@aƒUk@UKƒLƒ@kmÇak@ƒ_VlkL@`lbnšlLVanLnbmVÆln@škJlbknmKUbÝmmwULUK@bkLWKULUUma@Kk@UV@L@llbVzšxUxnl@bVLmŽšŽ@IVJXœVlƒLV`@bn²@J™@™V@Xmbñ@WbUJ@bm@@LUĬU‚„¦lV@xXb@blnUV"],encodeOffsets:[[116652,27608]]}},{type:"Feature",id:"3611",properties:{name:"上饶市",cp:[117.8613,28.7292],childNum:12},geometry:{type:"Polygon",coordinates:["@@„„@„V‚š„„I°`nm¤²@bVJUVVXUl@Vmb@xV@XbmVVœ@lkLmbn`VbnU‚@Va„UnbVllUXV„a@w°VW@_VWšLššnVlbšLVbnl„KšnVK@IUW@_@am@™‚ÑUólK@U@WU@VwU@UI@aUU‚aXƒƒ@kwmJV@yX@k‚anƒƒ@mkwVmmI@aUU@aUUW@kVkV@@anKš»„XVWnIVUl`@_„W@wlUœV@UWKnU‚bnŽ°InJl„UV@VnI‚b„Wn@VklL@l@Vn²m@U`kI@bWJƒnV@°VXnJm„XVmx@VVL@bkLmWULUmU@ƒbWXb@llnX@‚xkxVV„nVV@¤nL‚nVxnJVXX@˜ššbn`VI„b„@„blmlLnaV@„blWXnlUnbl@„ƒšKVanUVmm_XK@kWWnašU@UnaWUXa›ƒXamUkKmXUWƒLX¯WakKm™nUWwXa@KW_„aXWW_@WnIVl@XU‚LnWVknK@ImyUUÆbXK„Û@W@IÆUnƒVÝlkVK@mUIVwkUVaUm@aVIVyXIƒaÈwmmk@UnanVUmÅaó»lwšW@kkUVmUK@WKLƒUmWULkamK™Lk@Wa@wk@UU@U@mbUIWVKUXWmkUmVm›U@LkakKƒw@w@U™¯ƒ‚ƒUUn¯l@bmn@xkJWxkL@VkI@mƒkmJUI@V@b@VVxnbWlkÈkVƒLƒbkKmVƒL@V@²nxW‚kLUL@xlKVx„bXmVnšWJ@ޙ°@n™xUKUw±`UImVmnU@kalm@akwƒU@UUJmxU@@Uƒ@kU@Um@@Kn™ƒVm@k™KmkU@@WUnkLWxkVUwmKmLkU™bmKUbVŽ@xUnkJ@n±ŽšUxVXUšWJ@LUb™lUnm@ƒW@nknUJUVm@kXllknVbÆK„VVbš¼V„@šUl"],encodeOffsets:[[119194,29751]]}},{type:"Feature",id:"3604",properties:{name:"九江市",cp:[115.4224,29.3774],childNum:12},geometry:{type:"Polygon",coordinates:["@@WUkVUkmaƒVUb@mVUam_nalK@kU›nUWaU@@wna@UVkUWVUUI@a‚±n£m¯_ƒJ™ƒU@ƒƒƒĉ¦Ul@UV™Km™mLlm@ğ¹m`Uk¯@@UVK¯™@UUK@amkmKkVVUa@UkUƒKƒŽUa™L@VVXUJ™@ƒnƒ@™š™WUbƒnVb¯V@LÅlÝIƒJÅkݙm@Ua™WUU@UmUXmmwVUUKWUX±mUam@kWƒzUaVmÇw@aÅLmKXƒ‚UWKkL@W¯IƒwVw™lkUƒJ@Um@ÛÈWŽKUxWkƒaUU@KkLVl@„UKUX±KUb@nVVUbUVmaUlUL@„ƒaUL@‚@nUlWzX`@„V@lx²„@Vlb@bšVÞ@°nl@UxVL@lUbVV@n²xVUVmnUÞb‚a„J@IšV°xnbl@nbÆ@VwnK@VnXlK°xnUlVX„V@Vl@L@lk@W_XK@KƒkWxUL@J„nVx@aX@VVUa˜IXlmL@bVVX@VbnK‚a²XVWƒk°a„@UnV¤nbmLmW@XbmJUbVL„aÞK„L@K@U@aVKlbV@nXlJœxV@VnšŽVȚ„ÞKôbźĕČmV@ĊšŽ²xÆIšV@Þ¦ĸ¼ÞVlŽVÞnxln°Jœk‚LXWVUVUVwnJVI@yn@lXlaXmWI@w—»ma@UmK@akKkXmW@_kaWakKWk@@K@IšWƒkUa„ƒ"],encodeOffsets:[[119487,30319]]}},{type:"Feature",id:"3610",properties:{name:"抚州市",cp:[116.4441,27.4933],childNum:11},geometry:{type:"Polygon",coordinates:["@@°V°UnÜ@n@lnLlV@bšV°L„lnLllVzVVXlV„V@@L@xX@WlX„m@UVƒL@V@n„°škVmVUnKlaXxVbšnlU@lVVnaVI@aX@V„šJš@V„@b„b@šVbš‚@X@lUL@Ž@VlIVm@wUVanLšalVnKnLVxlUXwlKVm@k@Una@mWIXKWUÛVƒk@a@UVWn@@kl@@W„XlW@_Um@UVK@a„LnalInWV@@xnI@¥‚K„—šm@kKmƒnk@mlI„¤laXbVblknV@U‚KXVlUXa‚@@Unw@±mU@ak_±a@ƒUJUIƒVKW_Xa@aWU™šK@mmUVa@IXa@UWmšannlmX¯WKXwVUVwƒ@XUlK@klJXa@kƒkmm@Uwƒw@¯ƒW¯kw@WmbULƒaUUU@mVUU™WmkUb™KmkkK@aƒkUƒ¯¥Uƒl—ƒm@akU@mš@KVIVV@KUkUVUkaƒUWb—„mƒIkaVaUU™@mW™„b‚b@bUlkb‚b@n™K@bƒKXVWnULkKUV@LWKknlxXŽVLml@X„Ž@lULUb@xVxVLVlVnUxK@LWlXnmV@x¯X™aWUUK@wVWUkÅçm`@mn@bUx@lmbUnkLÇWm@mšU@Ux@„Æxk¼VxVJ@„nbVlmbUmLklmškVlX@‚VœšV@°Þ"],encodeOffsets:[[118508,28396]]}},{type:"Feature",id:"3609",properties:{name:"宜春市",cp:[115.0159,28.3228],childNum:10},geometry:{type:"Polygon",coordinates:["@@@VlbnK@b@JšLlUnx±ĀXxÆW„X@lš@V„@@blJ@nX@˜xUbVVUbVV@b—VmnmJœ„@bmbm@klUbƒLmbœš@lVb@xUX@bVVVbV¤@LVV„bXlVw‚LXÜÇn@@V„IlVškUx„x°J@XlKXLV„‚WnLÆK@bÈxUnVb„ylXn@Vbn‚W²XV‚LVVUŽnxWnnV@VVVšXVbn@ޚÆl„IÞJÆk@K°UUa„mVa@UUUš»@wV@VƒkkUKUVW£U@UmW@@aXkVUnVlKVV„UUkVmU™@kWaUanU„VVamIX¥W@@aUaUVW@_mW@UnIVVn@VbVm@bVL@anKVUkƒWK„UXV‚Ikx‚@na„bVK„b@nVJ„_V›@Vw„‚VUVVXUlUUaV@X@VblašbnKlkVaXaƒ¯@m@U„KVUn@WƒXkW@@w@KU@UƒWkUUUykkmKƒk¯K™U@akUmK@k@mmÛ¯V¯U@‚ƒL™¼UKmLbU`mL™xVnVb@`—LmUVUUWmb@nU@UWULmU@KnaUUmU„wmJ¯IUJWIkVkaWVUIUlWaUIUVkKmbUIƒÒlVUnnŽ@VlLUJ@bUX¯@ƒaWVUKUXƒKUbm@UwKWa@a@VkUWn™@Uak@mbX„WJXbm@mL—aWVk@™wƒL@WmanU@knwWmkaWL—KWUXaƒU@¥l„UVVVbnwƒ¥nKV™»@aUk@a@UƒJ@kƒmLma™@mbUWnm@ULǺ@LXnmxUŽm@UbkbW@@akLmWk@UXmJmUkV@VUXVlULmKUxkL@lmXnJ@X‚l°Vnb@bU@WbKUX@VmKUX"],encodeOffsets:[[116652,28666]]}},{type:"Feature",id:"3601",properties:{name:"南昌市",cp:[116.0046,28.6633],childNum:6},geometry:{type:"Polygon",coordinates:["@@šXš™„@„mš@VIUW@UšKVb„„LlV@VVbUŽlUnLnl@bVL@V°šUL@V°@Vln_Ġºn@‚knKnššLVU@VkĊ¥Vk@™Uƒ™»UaƒUÅLUalmkklWn@VUVIlm@m„Xn@VmškVa@KXIV™UWVw‚™²@m@U@VK@k@W™Ua@™ƒa@aUƒ™@™IUƒW@@bUJmbUU@kkV™mUaWwkbmLUVUn™lWbUbklmL™akbUaW@U@VbkVWVUUUVƒUx@‚Uœƒ`UI@mƒaULƒamb@lwJWUƒVXLl„UVmL@bUK@aUnUam@UUmJ@VnX@`UXVŽVb@bX@W¦nJUbƒUmVVbXb@lVšUnVlƒVUUkLmUUVWl@bX@VnV@X¤VUVLllU„U@@x™¼VV@V"],encodeOffsets:[[118249,29700]]}},{type:"Feature",id:"3602",properties:{name:"景德镇市",cp:[117.334,29.3225],childNum:3},geometry:{type:"Polygon",coordinates:["@@VVX@Vbmz„xUlU@mbmL@V²xVbUVVblbX@šVškVykValKVI@bn@n`lVWnX@l„L@™WKnƒVIVa@¯nK@alIXJVIVWUw‚ƒn@nU˜„nK@alI@a@anKm_™a—™W@UWmIUwmmK@£UUƒmUUlwwW@km@kWaX„aV@VnVKnXlK@aUK@UnwWUnƒmIUW@¯mU„XI@alJV_n@m±@U@kkKUlm@ƒXamJ@UVUkƒmI¯JmamVXL@V›UkV@xƒX@`k_UVmJUXƒW™¼mL@bU@UllX@VV@bVV@bnJUnlx@n„Žm„b@lWŽ@zU‚nIlx„@W„bVV@bVJV@UxV@@X@VkLVôÒ‚šn@@b@`VX@J"],encodeOffsets:[[119903,30409]]}},{type:"Feature",id:"3603",properties:{name:"萍乡市",cp:[113.9282,27.4823],childNum:4},geometry:{type:"Polygon",coordinates:["@@VWnL@UVW‚LXaV@@ama¯Uk@WmInW@klKVwnLVKUkVW@UlUnVnIVWl@nXlK@bX@laVan@VnwWm@KȹVK¯m@kmU@ƒƒ¥kIğ@WKU¥„@V_VW@_šK@aXKVL@Ul»mWLkU@am™kJƒm@kmU@@a@UmakwU@›„Xlƒ@VXk`UIW¼kWWX@‚œ@l‚xV¦XlW@Ubn„@ŽmUkL@UmJ¯UkUWVUaƒUlm@UXWl„nUJ@LmLU˜nXll@bUVUUmVUn„Ž@¦šxlŽnn@VÆÈU°kbV„VxllnL@VnVVUl@V„„anL"],encodeOffsets:[[116652,28666]]}},{type:"Feature",id:"3606",properties:{name:"鹰潭市",cp:[117.0813,28.2349],childNum:3},geometry:{type:"Polygon",coordinates:["@@@XV@nlšL@lUnš„mŽ@Ln@@VlV„@@VV@nwVI@V„Vlx@bknlbV@nmnUVJ‚_²‚VxVLšw@mš¯@ÝXIm™nUWƒaUwkL@wVKlKXmw@±@U„KnUlL„a„KlUlÇXkmaUw@U@a@Uƒ™UkwUJ@zWJ™w@WbkVWUL@VmUklUaWakbƒ£kJ@nmln„lL@Ž™nƒ˜L@¦mJ@wU@mXkJmbƒK@bUL@VVn@`kXƒW@Xk@@lm@UX@V@b„lÜUXVWLXJ@nmb@V@l"],encodeOffsets:[[119599,29025]]}},{type:"Feature",id:"3605",properties:{name:"新余市",cp:[114.95,27.8174],childNum:2},geometry:{type:"Polygon",coordinates:["@@m@@WULUKWwÅ»ókƒakkWK@bUVUIUamWUbULƒa@KUa@mJUbmUXU™mUamImakKmLUb™VUam@@UL@KƒKm™UUkL@`mIUb™@U„@V@bVl@bš¼UŽmL„¦mxUaUUƒVkŽ@¦„VWbXV˜LXKlbXnmx@lmVnb@X„Kšxl@XU˜bnKn@WaXIWƒnal@Vbš@XmlV@U@bXb‚LVxn@Va„LVWVLXU„b°@VW@aVIkK@UmVmkU„ÑVJnalLVUVJXbVkVJXUlblUXJVI°JnI"],encodeOffsets:[[118182,28542]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/ji_lin_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"2224",properties:{name:"延边朝鲜族自治州",cp:[129.397,43.2587],childNum:8},geometry:{type:"Polygon",coordinates:["@@Wxĵ„mš@„ó¤VX@@xܼƨš²xWxƒV„V@„XVƒ„„„ƒbWšXllaÞU°Ċ„@ô¼„LôÝWanV¥ƒÑnĉ°¥šÅX¥°¯@w°w@»°k£°mÈŹ‚mÈbƃŎ¦„K°z@Žkxl¦UbU¤šššklV„KŤÞȰ@@bšV@nVVUlÞ¦lUllœVlU°ÑU¯Vƒ°w„bXxl@VŽ²„˜@n„ô¼ƒó°™kmVk²ĕ‚w@wV™ÞÞ@@Ġƒö»˜¯œ@‚„šbnb°mÞ¯°V°„ÈJmX¥mam™UřƒUƒlaU¯™ƒ@w™Kk—l±n@@wƒkÝVUUl±¯I¯b™a™lƒ@™kLmakbƒ@ġƒŹé°™Þb°šékƒƒLm™„wX™‚aÅb@bVlƒbVb—ÒVbUb›UUanwƒakbVŽUV›ak„¯„UŽƒLmxV°UxnôŻX@J„Xkl‚bkbĉaƒbƒWU„ƒ@ƒk„WUU¯@@klmƒ@@™Å@aƒwWXlKkI@WbUaVIUanUƒƒ@ĕƒ¯K™„mUnWUwm@£ċèkUmbUmm@@nkJUalwk@@nmWUan_óaWmnw±KœIƒwl@UmƒI@an@@mlUÅmV_™KUkƒ@U`@_ƒKUmU™@U¯™mmb¯@kb™ImV¯ƒƒLkbƒKƒƒÛ@ÇnɱJóaÝĢkb@„›x—ÒÇllœ@‚Ž²V‚„ÆUVV„UÇ°X„óxlV¯„lV@bƒV@n—x›@—¤@„șŎnxV¼knšJ‚nšKX°˜¦UlnVbUbÆVnÞWVX¦llšb@l°œVJôÒnLVbšbXŽ"],encodeOffsets:[[131086,44798]]}},{type:"Feature",id:"2202",properties:{name:"吉林市",cp:[126.8372,43.6047],childNum:6},geometry:{type:"Polygon",coordinates:["@@ôl‚zšaÈV°„šK@„mŽ—LWl™nšVxUV‚È@ŽÝĬUÈn‚ôLša‚„²VmĀkV@„ĠĊnU@b„V@b˜@nl°UVnÞaôJ@bš™V„¦mlkššbmVXx¯@Vxm„nbƒ„šbÈK‚V@bÈL„wĠyônšmnbÜ@nn„V˜x@n²K‚„„J@k„al@nxÞU„Lź±Vwkw¯LWWUš™kŎīVwƒw„°y„Vĕ°wÈVlkÛ»@wW@Uô£@ƒn™ĶƒXwW™aUamKóÑUI¯›@k™akkW¥XUmÝÅUVaUa‚mVk—¥W¯™Lm™IlmU»mwȚō@ƒ˜£kJUÇk@am¯y¯UVwƒa@wġx¦ƒKƒƒ¯X°Ċ¯¦U°ċWULÅa±b¯@UkÅWmVƒ™ƒkIUlóŽċ¹™`óIƒlX„WŽXxmbUƒLݏƒbƧ@ƒx¯bƒÈ—l@xƒš¯zƒaݤ@nšm„VWb²bmn¯J¯Ò@n„š"],encodeOffsets:[[128701,44303]]}},{type:"Feature",id:"2208",properties:{name:"白城市",cp:[123.0029,45.2637],childNum:5},geometry:{type:"Polygon",coordinates:["@@ó™ǩŁ@WlwUaƑwÛÅÇéĉamKƒōÇ@Iƒ™ôġVƒȁÑŹçƒ™ÝUƧċĉwóóÝ@Ƒ»ğL¯ll²@ƆÅV@¦m‚Åb@nmlU²VxšlUn™@VbnW„bÇbk҃š„n@èlnlšU҄Ž°Lšx@¼ĉb@҄šUŽċxՃènLVxƒÒƒbÅJ±a@_ÅJÅnƒŽVb„Kl„nUÜĊ@„Uš™xXVÆn„mšVššJÞ¯V™ĠwšƒXw°xWL„x„KV¦ôU„wVÝǬóÞޙ¼‚‚„ÞkŽVôȘxބU„lVn¦ÞšĊa°w„b°@šbÆw„lŤL²`„z°@V@@™nJVnl@@¥nUmmn„@mwnmmUnk@mlwUaƒLnƒ›wn¯°anƒWakI„ƒÇmXwÆamUXUlJXa‚UUklKUknmÞV@‚K@VWÞ@VkUwVƒ"],encodeOffsets:[[127350,46553]]}},{type:"Feature",id:"2207",properties:{name:"松原市",cp:[124.0906,44.7198],childNum:5},geometry:{type:"Polygon",coordinates:["@@„šźèȂÒU„óĢ„š@JŎȄ‚‚LnŽĊbÈêÜƃxVbkx@XǪłôš„kÞ`„šW„b@n°ašbšKšnVw°`š_X`W„š¦„ĊIkmVšakw‚K„x°UÞb„U@lšƒl@°¦œVW„šaÞbšxÞI@mVI@ƒVkŚUWK„¥nL‚a@ƒ„@ȍ„@°ƒÆ@nU@KÞalkUwVékUWw„™kU›VkkƒJk¯@»ókƒV¯ÆÇI@bĉô¯@™ķw¯nmmÅL¯wƒVƒUÞy@UówÇLkmm@@UóxkkĉmL¯wVwkWWX™mLõm@kűV_ƒƒô»ÛƒÆ¯@™Va™VšaĠVlmğwķUóÝƽ£ÇJkbǫaƽLW@nxݤkzƒy¯XɅm@VšôÇX¯Ė¯ºÝnUŽnLVlUÔmV"],encodeOffsets:[[126068,45580]]}},{type:"Feature",id:"2201",properties:{name:"长春市",cp:[125.8154,44.2584],childNum:5},geometry:{type:"Polygon",coordinates:["@@„U°xÆKnn°mĸxš°@Ċó@aÈJ°Å„Uôl@¼l°„IllœUlVƒšXxlVUêVxkllnÈUVll@Vx²IÞ¤VUlVnIôlރlwô_„›„bVaĶLXÅÞÇ@K˜¯@wÛaƒçn¥š¯WXyW¯XwƒUmmÛ@ma™nómğzƒxÇK@aUÇL™a„ƒmanƒUw°@WwnU™al™nkƒ¥šU™@aóIÝbUm¯Vmk—@@aƒU@amVğĉ@ƒlUnÿ±Uƒ™bóKmVÇÞī@ÇVUUw‚™šmXk˜Kn@ƒ™L¯ƒÇU™byókōè@b‚n@lÝX@x¯ô@ƙUV_maXm@aóƒJWxnX@ŽVVnĖVnUJ@nōÆǼV¼kxƒLklÝw@xƒx@zV`ÅbmxU±xU„nnm‚kn‚ŽğU™bUŽ‚šUb@šÅ°Ü„󼄄U`Ʋ@lön‚KšnXWlXUx°xnKĊllôw@Vn@lnÈKôx@VÝz„V"],encodeOffsets:[[128262,45940]]}},{type:"Feature",id:"2206",properties:{name:"白山市",cp:[127.2217,42.0941],childNum:5},geometry:{type:"Polygon",coordinates:["@@Ušl¦kÒÆ°„IlÒU¤ôz„¼lJš„U„n‚ÆXVl°@²aÆbVKČXV¯°¥¯ĉ°W„„„L‚¥Ģw@x„bUx°V°zn‚‚b@ÈlVŽlIœ@˜w@m„U@akU°ƒkUôwWƒÈ¯VUƒVUƒÅ±U›@kÈk˜Ñœw@ƒlaÞġƒUÞ£@ƅ‚KnÑĢ¯@W‚aUaVUVkkw@a¯@¯™Ý™ƒVXnW@@WkXmK@xkKUb@bW@Uw¯„mmb@WKUbmUbUaWbƒJĉIVW@I—l±LkšmU™bUm™@ƒnkKWa¯n™@„`Ubma™„ĉL@bƚ—@W`ƒL@n¯‚Xb‚@kb@x™Lƒ„™@V‚kL±™™mlUIU¥mL@lÅx@_laƒƒ@U—aƒV@kmmƒK„£ƒƒLƒƒmKUnÅKVbmXVlèĉUUbml„ĢŤƒIlŽ¯bǦœl‚@ô¼Ģ„@x°„l¤„n„a„l@x™b"],encodeOffsets:[[129567,43262]]}},{type:"Feature",id:"2205",properties:{name:"通化市",cp:[125.9583,41.8579],childNum:7},geometry:{type:"Polygon",coordinates:["@@ÆlXnĠxĢ°lÈ°š„K„°kXm‚@¦Vbk„ŤJšnݤk„VÞVVkȄb°y„™@w˜k„Ç°a„wƨ@„aސ„K‚VnaWwXWƒ„kôJš_ČºôVkƒ»óyV£kуJůlÑk¥V™ša@wƒkƒbƒmk£¯ƒ@wġƒó»@›kÈ¥°ak„JÆ£ƒġnkVaĊVkçWUnUaÆLVmnL„„‚KU™±@—„m@a¯U„bmV¯m@_ƒK™™U™ƒaƒÅ™Wó¹ƒ@UanmWak@@wmI@y™@mk„JVa™@UaƒIkJ@n™@Um±kkxƒm™Ik„ƒbÇm@Ž°bXn„V@Ž°ÈmlÞ¼¯XVº¯Lm„kWWXLmVVlknƒ@@lnWƙ„Vxbmšnšm„¯lÝaVȁè@¼V„„b™„ÆŽ°ÞUVšJ„„kx›I—xƒƒƒIV¤™ÒXxmn"],encodeOffsets:[[128273,43330]]}},{type:"Feature",id:"2203",properties:{name:"四平市",cp:[124.541,43.4894],childNum:5},geometry:{type:"Polygon",coordinates:["@@Ɇn°W„zlyÞ£mwX@ƾKǬblaÈIƾ¤ôÞĸVĠxnmmVƒ²w‚VnwÆaU_@y„w@wÞxlk„KlwU»È»ŎÅ@mVIUmmĕUU@mWXw„Iô‚@bWnnbU`‚šV@Å°ó@wÞW@km@aŎ烙@m°Ñ°Inm±aXaƒU™n@mƑšU¦@šÇŽ¯aU£šaU™ġ¦ÅҙJōUŻókUÇ@™¥¯ak¯mUVak@@aċçÅaUƒm¦Ý`XbƄ@n`ƒI™xĊÞōÞml@šUb@Wl™_¯JkšÇUÝÆÅb@n™„llUb¯„±a@ƒ—ƒWĉJġĀ¯™Unóšm¤œxôaVnƒxôI@x„V@bmƙ„@lnLmޯޙxVb¯þ"],encodeOffsets:[[126293,45124]]}},{type:"Feature",id:"2204",properties:{name:"辽源市",cp:[125.343,42.7643],childNum:3},geometry:{type:"Polygon",coordinates:["@@żôŎVšIÆÑĢ¥Vš™bV¤°bȍ@™V¥ƒ™Þ£lÇUUUÝlƒÞ£™mţIlƒUa@¥nlWƒ¯ƒL¯™kÇġ¯ğwWmÅk¯UƒVU„„bWlXlmnƒbUx¯xVVknlŽUbV„ÇKUb@„™VnbmlnzUº±bmJUbWÈnèm҄š@X`WL"],encodeOffsets:[[127879,44168]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/liao_ning_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"2102",properties:{name:"大连市",cp:[122.2229,39.4409],childNum:5},geometry:{type:"Polygon",coordinates:["@@‚IÞmVk@wXWÜbnwlLnU„@‚nLlbXW@a‚wnbl@XL‚aš@Ċ¥@LULnJ@xVnmV@VXXV@VJkn@VÜKXXôJlb„xl@„IVbnJVLUbn‚lnVw„JVU@ƒXU‚aUUlwn@°ƒn„VKnV°_VJšwl@nwlV„IXWlIVVnK@IWmkIVaVU@WÈUlmU@U„WUalkXġŻ@kIƒ»mm™akUm›ĉUŁV»²ġVĕ@aUU؍IɃ`ȃ@kƒw@ƒUƒmwĉ™@ƒWķсIĉÇbÝLkymbIƒwÇmÛbmbU„¯ÜõÈkÆVbŎxnXVÆnšǪ¦„bš¤Uš™xÝnĉÒmĊVȄ¤Èš„bƼ„Ā„„ÆÆބźb„VVbX„‚°²¤"],encodeOffsets:[[124786,41102]]}},{type:"Feature",id:"2113",properties:{name:"朝阳市",cp:[120.0696,41.4899],childNum:6},geometry:{type:"Polygon",coordinates:["@@na@UVI@m„ÑW™kaV¥UI@wl@„aÈbšm@wVašk„@@K@kƒ™@a@UUmƒUUalmU@KÇUű¯@±kUKVkUaƒaU@¥m@@¯k@WLUmkn@mmIkm@amU@wVmkU@Klk@U—m˜aXIWWUL™aULVbƒmk@UUmUk±™_Uym@mbkImaX¯WW™xWKzU@WƒkJWwkV™@Um@UbVVVVXb@VWX—@WŽ@Vkb@V™nUK±aUUlwX™ÇWKknU@mmUkƒLUVƒVUUVƒUaƒw™bkKmwnIƒ™kJ@nmbƒ`kmVkLWwUm@UUU™K@UmaUa@UUaWK@mUƒ¯Wkk¯VmUUŽ„xVXUVmL¯ymXkWUbmXUKƒVknWx¯JVnkLƒl@VVxnxlĀVL²WlX„l@bÝVUn@bnlÜaXblIVl@šš@Ȧ@VmbXV‚@@x„VVnUn@`°@VnXU@K@„VV@VmbnVn@ln@b„xƒ°Ub@bšLV`Ånƒ„W@@lUšnnWVU@Vbkl@Xl`XxV„UblŽkX@Ž°¦V„UVVbUlkV›@UbVbkLUxmJkXšš@b‚bœxVKÆlXX˜bnŽnala@ƒUk@U„VVklKVUXKVU°KVan@VUnLšKVL„WVaU_@mmUXa@m˜wXwVkVWXk‚k@›„k@klm@wXKl@U@KVUUUVaUƒV@„alL„xUx@b°°VnnVšxlIXJmx„LUVlV@bnX@Všb„aVx‚@XJ@b‚n@VŽVXȄl@llX@lU„Vô°°@ބVbn@‚V„k„@VW"],encodeOffsets:[[123919,43262]]}},{type:"Feature",id:"2106",properties:{name:"丹东市",cp:[124.541,40.4242],childNum:4},geometry:{type:"Polygon",coordinates:["@@lzXJ‚U@š²x‚@@Vš„@bUVmKUn„°n@lnVK„„nV@n@VlV„°WbXn@‚VzƒJ@¦@bkb‚bUl@bkbƒJ¯zƒWULWbklV„nb™¦VJ@„„K°U„kl@@W„bVn°@„Všm²U˜nX`„UÜLXmVXlKVbUVVnUbn˜ƒX@VUL@lUbWxš@²kl`n@Vlb„@nUVWVLVU@aV@²bl@ÈmšxWX„VÈU„JV„l@„„la„WnX‚KÈkÈ@Va°bÆm„@XV°IVV°UnalƒVUn@UwVU„@@VVJ„I@bl@XK@wWmXU‚UVbkJVXnJVI@mƒknwlKXL@`l@VI@UUaVKÞn„aVm@aÇ£XW„U@aÇUU@mbkKm£™@WW™ƒL@@Kk@kl›U—bWKUkUU¯UõÛƒmUUaVU„U@WU_W@kVkJƒ_WKkV@bUL™¯¯ƒ±mk¯ġƒğÑ@UmwƒKUakƒ™ƒa@a„m¥ÝƒIUWmk@w™mţ—L›KʝbȗKWĢklVbƒX@VV‚knÇV@XUVUblJXn@J"],encodeOffsets:[[126372,40967]]}},{type:"Feature",id:"2112",properties:{name:"铁岭市",cp:[124.2773,42.7423],childNum:7},geometry:{type:"Polygon",coordinates:["@@XJm@¯šmXUlnVbUJƒU@bV@UJWL@VXLmJVbkXlJXxVL@b@V@n@b@`Vbk@lxknV@VV™V@bUL@bV@@bVK@VXLWLXJ@LV@nbWJ@IUV„x@LVJUXVxVx@VV@@LXJWL@VU@@L@VnL@bVVmVX@@VVInJmbnLWVnVULVVU@VVmX@@JVz‚l@„nVVKVXރ@mk_lm„UUWV_nJlUÞÑÞVVUVƒVL„UVJ@I„Vna‚@@KV@XwWknwnKlalU„w„aĉݚwšJl_@aUaƒKUUU@WU@WXUÆ@@UVK@n@UnVVšblK@bœllb@b„bW@Xbl@UlnLl°°bš¦nKlVnI„V@UWU@WXkƒw@am@nm@aVw@I@KUaVIm±XÑlknJVnVJšaX_VaUaVKmwnkmmn@lU@U@mnašXlKUmUIVmklaUK@UlUVUW@U™kVm™a@UUU@JmUU@@bmb—KWV¯XUKm@ka@UVKVk@aUKmLkKUUÝUmbXbÇJ@k@WU_@m™™@klm@UXKVaUI@KWUXaƒÇWk™aWUkWUL±U@lUU@ƒUJƒI@V¯JmIm@@aU@Uwƒa™@UV@VkI›V¯aUkƒWkb@bVL„@@VVVUXW@Uaƒ@@b—‚ÝbUV݄@ŽƒLmUkVUbVllLUV@LššXŽWbUXm@U`@„kxlnnJlbnIllšLX„lVlUXmVK„n‚V@L"],encodeOffsets:[[126720,43572]]}},{type:"Feature",id:"2101",properties:{name:"沈阳市",cp:[123.1238,42.1216],childNum:5},geometry:{type:"Polygon",coordinates:["@@ȚĊÜ°„b„L‚lÞxUbUn±‚@ÈnVÆL@xnLšlUVƒbƒxkImJkn@V±LUxkV@bšbšKVKnzVl@L°@Va„xÞUlbôxVVœ@@V±bnŽ@llXL˜ŽöXĶŽnal@nkVJVI@aU@@aVK@ašUUUU@lmkwl@Ua@_@a@m@U@aUKWwkIlWUanIWK@UXKVIU@@a„VVIUa‚mVknW°™n@WI@KUƒmULWnkVkUWƒ™KkkmJkamIkmlw@ƒV_n@VWXaW™™@KVUkKUkValUnV„K@ÞƒVUÞa˜@a„@VbX@VWUU@Uƒ@UK@ala@IkKmUUa@U@ƒVƒkk™WVwU_@KÜUXbl@V¥XUVmƒƒƒXa‚kŃlUUkIm`UIUJW@UIKmkm@UUJƒImmU@ƒVUXU`mIUbUK@LƒJUU™l@Xƒ@UbƒJ™kU@ƒŽn„m@Uam@@ƒ™aUmLKƒwƒ™mWXUK@kUaÇa@JUIUa@aƒKVUƒUXmƒUy™_@lmbkLUKWLX`‚n@bVL@JXL„‚WX@Vnb@Vm@UbnVmL@V@x@LUbVV@V@LƒUVl@mb¯U@xU@UVVV@X@VVblJ@bn„VKUn„x@llnL±¤™b@k`VXÆK@„kV@¼kl@bWIUl@VmLnbm@@JXXmb"],encodeOffsets:[[125359,43139]]}},{type:"Feature",id:"2104",properties:{name:"抚顺市",cp:[124.585,41.8579],childNum:4},geometry:{type:"Polygon",coordinates:["@@„XVl°bœUlJ@UVUš@„bVxV@@bn@nJ°I@U„J‚I„VV@V@k²VVKlXXVšb‚lÈX„ŽWbXV@LVJUbWL@Vkn@lšš@nV`@X@lÈIWanaÞVVVlLnKVL@bUlUL@Vlbn@VL°WXU˜Lna@aV@nV@IVV@VšbUnšl@V‚XnKVa@U„UnyWkXaƒaVk@ašašbnm@_WKXmWanU@alaU—l@XJVLVxX@˜wnKnVlwƒƒ™@V_@a¯¥@UkKWUaUU‚anK@IƒaU@WUaVw@klUVyUUVUUÇ@Iôbša@mnUma@kXa@UWak@Wa—l@a›@WUƒLmU@U`mIUU™`mUk@@UUK±nkJƒbUam@kwm@@a@UU@Ua@@K@ƒVK@kmKU_UKƒUUaĉWmkkL@`™LƒnmlkLkbmK@k™@Ulmb@b™„@Ž„xUVƒIUlmVXXƒxm@™JUUk@WUk@ƒakx±@¯x¯Umb™KUUVmUU¯UmVVn™WkÆ„lWb„„„ŽUnWVU¦k@WaÛV@LV`UxšXllU„@„@VVbnVlL@J"],encodeOffsets:[[126754,42992]]}},{type:"Feature",id:"2114",properties:{name:"葫芦岛市",cp:[120.1575,40.578],childNum:4},geometry:{type:"Polygon",coordinates:["@@ll°X„ŽnV‚@XLVb@VVbnb@VšLVV@VVnXxlKnU‚l„_na@mlI„šmJnxlLša„xVbU„VV„UVU„KVlnnV@lmXLšÈWŽkxVV²bVLšm@Ula@UX˜@XW@UWaUUUUVan@V‚š@lUXxlIX„V@‚yXLšw‚ŽXXW°nblJnan@Vzš`l²nVVVl@„nUaVKšbVKnXVaUaVUšyšnXK@kVK‚@X@m@m‚LXa„LWƒU¯„w@™ƒa@UVw„¥°™ó¯¯y¯ƒUǯ»›w¯Iƒm—¯Ç™UUl™¯»ţKċÑţķm¯w@mU_ómk¼VnU`±IkbVlƒnnŽU¼±Lk`@X™Wl¦UbmVUxkXVlkbllU„Vb@bkVmx@XVV@Jb±aULkKWXkWmX¯aUJmIkVm@ƒxU@n„"],encodeOffsets:[[122097,41575]]}},{type:"Feature",id:"2109",properties:{name:"阜新市",cp:[122.0032,42.2699],childNum:4},geometry:{type:"Polygon",coordinates:["@@šXnb°lš„VlnXVJ„LlVnl@zÆxnK@b„blKVLn@@V„aVLVK@L@Vl@XVVInVVKVwlUXwlKšL„ššVVb@aV@X„lUXbVW@n„lWnXKV@@V@XUVVLUVV@@bVVV@@ln@VbVUXV‚I„xVanJ@UšIVWšL@UV@@¤V@nInw˜W„k„lnIVx‚lnzUVÇJ¦VVÜLĸUnW@aV_šWĊXXa‚Knkl@nm™L™a@alUVw²K@UlmnIlJ„w„aVU™kmK@wÅKmU@DzVmVaÝwkƒKƒaÛ¯șĉķ¥ğ¥ƒ@kUWkƏī݃ƒ@@akU„K@KWIUm¯nƒU¯JmwUVmIkJÇLm@™UImJUU@aW@U@@nUb™JƒaƒbXVWn@UVmX@V@b„š@l@Lƒ@™lUb@x™nÇaƒbk@@xVJU¦lbXšƒÒ@nUJ@Vmb"],encodeOffsets:[[123919,43262]]}},{type:"Feature",id:"2107",properties:{name:"锦州市",cp:[121.6626,41.4294],childNum:5},geometry:{type:"Polygon",coordinates:["@@nJ@nlmVnXKl@@°n@@¦‚V„bVbUlVL²l°@ƲÈV@LV‚knVb„VVnnWVU‚@XmWU„a„bšIVa@mV@X@@bVVnIVJ@š‚nÈKlInJVUnx°I„V°mVnXJ@LƒLlV@b„@ބƐĬXllV„@Ġ¦ĸ¦naWW@In@manK@UVkXJ@alk@»lU@ƒÅLUWl_@ša²£‚Kkm@kƒwVmULmƒ@akIUa@U@WUUVU™aÝ@ğ›wkƒƒmĉ£UWƒ@@bÇL@m—a@_mKƒlƒXUwKƒLţÓ@UWw@K@U„I@m™U@UV¥„@°UnJ°@@_™KUwƒW@UnaWUmmI@m™ķwUaÇLóVĵwݙUUW™¯šƒ¦Ux@V„b@šƒxV°X„ƒKWbK@n@nW‚@UL@lWL™m™zUVVbUbmWXXWJ—b˜n@Vkl@LlVUn@xnV@bln"],encodeOffsets:[[123694,42391]]}},{type:"Feature",id:"2103",properties:{name:"鞍山市",cp:[123.0798,40.6055],childNum:4},geometry:{type:"Polygon",coordinates:["@@l„œxĠŽÞ@šbV@@w°Vna‚@Uk„V@K@UUUVa@K@w@UnKmUVan@@Uma@UXWƒWK@IUK@amW_XKVLlKna@kmKVak@VU„@VmšU@anIÆan@‚a„šUVnb@blLV`ÞLlU„bna‚Kn@naVU@¥°IVK@anUUKVaƒUVak™@mJƒkXƒ™UVwkƒVUUa°U@Wƒ@WlkXWlIXUlJlaœx‚IVVXLšll@nLV@lLXl„KĊzš¥maUƒlkXaVK„X°y„Ila@aVkala@a@¥„IUy@WmXaƒ¯kU@U@mmUƒƒULkmm@ƒ¯VmnLVU@a™ƒ@U@±w@™VWIkymLUUkJWXƒJkUmxk@™xUI¯`mUULmƒ¯„m@kxVVbWV@„UVƒIUx@bkšVšVVšxUbVV@V@zšJVXU‚lnk@@lkLƒlƒLUU±Jkšm@UIUVƒLUVU@™K@UƒnnV@l@Ll„ƒaUJ@zn`@nWlƒIUVUUUV±Ln‚@nmL@VUVkLVlUxVLVlÅXma™@@akLmWUX@JUnVJVkXJ@X@`WX„VUVUIlb„W@bVUVL@`Un@¦U`@bUV@z@Jm@@XV`„LUL¯J@IVKmKÅI@J™nWVnLnšVxV¤™z@bmV@VUV@bUL"],encodeOffsets:[[125123,42447]]}},{type:"Feature",id:"2105",properties:{name:"本溪市",cp:[124.1455,41.1987],childNum:3},geometry:{type:"Polygon",coordinates:["@@lb@Vn„lnVVUb@šVJ@nnJ@bmXUx@xVbkbkŽWLUxnl@Ul@„xWx@nUV@¼Ull„knkK@bmbnl‚LVJX@VIVJn_lJVVšXUmnU°VVVUnVVšLna°V°w²@lw„bl@XVl@VVšIn@„wWWnUVk„JVUƒw@šƒ@anaVkš@@lnLlalKnk„mšK@_lKnlĊXVb„VVLV`nL@lUL@„@L@‚VbV@@V@bn@lxn@Vb„alI²mVL@Vl@nVš_VVnJV_‚@nV„K‚V@Xœ‚@b˜kXbl@XblylUUkš™@Xa@UVIlK@UUWVU„Llm@UUUnKWU@K@UXm„XVa@U°KVUUWUk@ašUVKkaWkƒKUknaWa@U—@m@mk@ƒaUJk@@_WKkLmx„l@nUJmIUWlIUaVWVXn@xWLk@@aƒJUI@Uƒ@UVVxm@UVk„mb¯VUU¯JWUƒ@Ån¯aUbÇ@ÇlLmWƒXkbƒƒk@UƒƒIÇVƒUXW™wÇnk@±aU@@bUVUKUXmVƒ@kaUm@k_±l™@XwVa@kVK@U„Wm—VaUmVUUakLUWWnÛKƒVW_—m±V™nƒU¯@Umƒa@Xk@ƒl¯V"],encodeOffsets:[[126552,41839]]}},{type:"Feature",id:"2108",properties:{name:"营口市",cp:[122.4316,40.4297],childNum:4},geometry:{type:"Polygon",coordinates:["@@ĊĖƐn¤„„°Ċ¯ŎWšô„@xXb‚wnKl@nX@VUVƒKmL@VU@Ux݄@Vlb„x„U@VUb@b‚kœ`‚IUlVUn„V@@UV@@JnXlK@bš@nbÆWUkUKVwUklKVU@UnK@mm²KVUVVVU„JXk@mm_@yVI„bkƒ@K@kmU„m@VšLV@VU„KVUVJn@l™²IVV„K„klK@kl@kmVUW™I@y@UUUVa™wUUU™l™@akmmVaUKmIUaƒJk@ƒwkaóIWWÛL@UlmUIU@WW@UnUUm@wmIVK@Kĉ¦™@bWKk@max@bWXkamKƒ@mVkKmxÛaWX@xUlÝnJ"],encodeOffsets:[[124786,41102]]}},{type:"Feature",id:"2110",properties:{name:"辽阳市",cp:[123.4094,41.1383],childNum:5},geometry:{type:"Polygon",coordinates:["@@š`Vz„‚Wn„VUV„L@bVbVJ@IÈbVb@lVLXW‚n„š„x‚LnKVŽšb@„n@Vbn@mƒ„V@šl„IVa„@@WškVV„I@KVLVanJV_VW„UV@nn„JVI‚Vn@na@alLlmkƒVk@»VU@mXwƒwk@@VmkVwXKllaUa@wVwnW@amI@mUI@™VaUUkmmƒ@UkaƒL@ƒUIĉyƒLWkkKU@mKk@™kWKUUJ›wkbkIWVkJWXkl@X„‚@X¯VVbUVl„UxšVW„„lnIš@l‚Ub„VUbVLmV@bUL¯J@¦UVmbm@LmbƒakVÝKU_kK@amaVUƒ™bm@ÅbmJ@b™VUnƒ@UVl@UbnL"],encodeOffsets:[[125562,42194]]}},{type:"Feature",id:"2111",properties:{name:"盘锦市",cp:[121.9482,41.0449],childNum:3},geometry:{type:"Polygon",coordinates:["@@Vbĸx‚š@nnJVnXŽmb@V„XVxšL@`¯@mI¯Vƒ@U¦@VšV@nƒJ@V@LXx@VŤÔ„K‚LVx„W„knL@`˜b@nÈK@a„@VXĊ¤„nVK@aVU@UnU@ašyU£Uwm™mKXUšm@IÆJnLUL@J°IVKƒKU_@Wn@@I@yVU@aV_@¥Vm@_UKUV@aƒXkaVJVUƒUXW@_@WWIUlUIVm@IVW@IU@@VU@mƒUVVkJ›_l@aVa@UƒVƒwka@UރVwV@@UnK„LVU@UmWk@mLxWa@wóƒUVUIÇÆĉ¦¯¦¯xʟJ"],encodeOffsets:[[124392,41822]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/nei_meng_gu_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"1507",properties:{name:"呼伦贝尔市",cp:[120.8057,50.2185],childNum:13},geometry:{type:"Polygon",coordinates:["@@„m@Łkƒ™Žƒklƒôƒ@£kJ°ý™ɅķÑó¤ğLĉÅlÇğŁW¯¯›™ƥóÿlwkţÈéÝƛó™°ÞÅxV¤ĉĖWƒ¯lȭţυ̃ɱÿķƅˋğɱřÝţϙȍƧĊţ@¯kWKUKm¹Å@ķJU@ƧÑƧ„ō¥˹Ɔ@L@„Þ‚VLnš@VōČWJX¦@JŻbU@ţÞmVU@ȁýóbkWWLƒƒÅ™¯UWġkmóƒ±UŹôV¼ƽ¼ƒł̥ĖƽǬʉxĉŽŻȗKΕ̛ʵƨʟÞ˹»Ƨţ»Ǖō˷Ȍ±ȚʊĠUɾɜɨmÜ֞߼˸ƅȂ¯ǖKˢğÈÒǔnƾŎՂ@šĊbôô̐¼ƒ@ĊôĊŽÞĀ™xšĖƧL±ŽœŽ‚Uš°U„°ĬƒČ°ÜƒêɴȂVł°@ƒ„nxŎèƒbȄÞȌ΀ǸlŽ²IlxĊl²ÒmšôĖ™Èl„ĵºm„ÈêVþ„xɛČʉÇĵVmš„ÒƒÈɆôƐŰǀĊ°ÆǬĮƾb„yĊ@ĠšƒXǀċm»ôw°Ûk¥Çm¯ç™kkÇǫţǕéX_ĶWǖīŎaÆĵĸĊ@ȚȘ‚™ĊLĢĉ„VÆĉʊÇĕóaU¥šĉ°mkÅ°ġUĠřk°mƒÑČÿ˜ÛƒWĸ£ʠšÆxÈÞŎÞ»ʈ²ĊÇČalÒ°Ť±ĸz„ŽĊKȲm¤Ŏ@Ò°¼nyȂUźīǖƳÈē°@šÝĶƒ@ƒÈkl¥Ççkxk™›JXÇƒUÅ@˜£k»„óƿīÛ@lÅJl¥óý@¯ƽġƍÅan™ċ™°é¯¹"],encodeOffsets:[[128194,51014]]}},{type:"Feature",id:"1529",properties:{name:"阿拉善盟",cp:[102.019,40.1001],childNum:3},geometry:{type:"Polygon",coordinates:["@@™ƏnǟƨʫšŹɆÿ°¯ÆV²ˢ™żÿ@ÝÆŁȰ¯ȀƳĉó™™@ğkyš¹@īš›ƒwl£Źƒƒ¯Ŧé@™ÇÇxŋĉƩUUŃōL™Ç™ĵóÝnƒóç@™™ó@ġƒƱ„¥ƒç™WUçÆōƒ@é—çťK™çȭVһƽ̻aW¥ȁ£ʵNJǓƲɳޗǔlżÞmĠóĬȂɲȮ@ÈĢŮźÔnĶŻǠšŎȭœгŃċóȭţΗÆƑÞƧÅΫóȘǫɱȁġlÛkÇ°ȁÈnšõl¯ô„ÞɛÝkĢóWĊ„zÇɼʝ@ÇÈķlUČÅÜķnέƒǓKȮŎŎb°ĢǀŌ@ȼôĬmĠğŰōĖƧbЇƧōx@ķó£Ål±ĀƧīXÝġƃêĉK°Ýʇƅ@ΌʉżÅÒϱʈ@˺ƾ֛।࡬ţશóЈèʞUš¤Ґ_޸Ƒʠɽ̦ÝɜL׈ɛϜóȂJϚÈ@ǟͪaÞ»Ȯź"],encodeOffsets:[[107764,42750]]}},{type:"Feature",id:"1525",properties:{name:"锡林郭勒盟",cp:[115.6421,44.176],childNum:12},geometry:{type:"Polygon",coordinates:["@@ʶĬĊIȘƨƨŽ@ĬÛĢșŤĉĬƒĀóšU‚ÈŚÜènŦƐȤȄłϰUƨťƾÑ܆ğɲƜǔÈèʈƲĊƞƒšɆ¯̼V˺Ò˺ȂŤVĢêU܃x„Āˌ˘ƨ„Æ°ѢmÞżU¼ÆlŎ@ĊçŎnÈÒͪŎźƒĸU°lżwUb°°°Vš£ÞlĠĉĊLޏɆnźÞ„n¦ĊaȂīġŃ¯Iĉůl»kƒ„™Çý„¥Ŏ¯ƒén£ġљÝȭxƒÇ™@Åçķ»óƱŎ¥™çWÿmlóa£Çb™yVÅČÇV»ÝU¯™KĉýǕċţnġ¯»ÇōUm»ğƒÑ™wƏbċÇŎċwˋÈÛÿʉÑ°Łkw@óÇ»ĉw™¥VÑŹU™mW»ğğljVÿŤÅźī@ř¯ğnõƐ@ÞÅnŁVljóJƒwĊÑkĕÝw¯nk¥ŏaó¦ĉƒV¦Å`ğуÑÝ@mwn¯m±@óƒÛKˍƏǓ±UšÝ™a¯lƒōšșk„èƒĬގn@ŤġŰk°ċx@œĉ`Ƨĕ°@ţÒĉwmĉ@ƒƒnƒƒa„™¥ķnƒÞĉVóÆókĉŽķ@ÝkƧƧÛaƒ°Ç@ÝÈU˜óbݼ@„ÛÒV°™@V¼ˋL™ÞɅŤŹǠVÞȗŤÇĖŚōbȁƜ"],encodeOffsets:[[113817,44421]]}},{type:"Feature",id:"1506",properties:{name:"鄂尔多斯市",cp:[108.9734,39.2487],childNum:8},geometry:{type:"Polygon",coordinates:["@@ĶL²ĬVłƑkkl@Ȏ™ŘWńÈĬȗ¯™ºlz@ĠššĊôŦô„ÒĠ°kÞܚ™n@¤„UĸèĸbŌÈXŽĸLlÒĢxɲÆ¤ÈÛƾJÈÝ°UšÅĶ»²VW¯ĸJôšbk‚V@ôlbnĊyÈzVôašb@ĸ‚ÞUl°yǬ²Ǭm°ššk„±lbn°@È»˜JX„VŎÑÆJ@k„LšƒÆl²™Ġ²ʊůĊġ‚řóƛÞÅ@m„ƒmLUÿóĉƧ@™»L@„›`ČĸmšȗÑţů±ĉğl¯Ā™wǎƒçƧŤÛI@±ÜĉǓçō°Uwô™ǫůķƳř±bÅ£™ÓÇwnÑó@ȁƽ@™ƒÇƧĢón»ŏĕóĊ¯b„Å™™VȯÅImƒōKU„™LǓ±Ýxċ—ŋ˜V±Āȗ°™„Źl±šÛ@WÒȁŚŹНŚÅèŌô„¼°ȰɞȂVĊ"],encodeOffsets:[[109542,39983]]}},{type:"Feature",id:"1504",properties:{name:"赤峰市",cp:[118.6743,43.2642],childNum:10},geometry:{type:"Polygon",coordinates:["@@ɲŁĢljĊwƾōÞĭ°_ŎŃźȹƒUČÿl»¯ôķVÿǬƽ™ɅġÅÑǫ»̐ʟȣU™¯wVWݍÈġW»Þ¹m݃ɛŎÿŎōͩůV¹›ō™éċ™óŹÅVVĢǩʈ@Ėċ@ķšÛšV°¯xÇÅţ¥™»°Ûô™ĉʟ„¥WýČ¥™w‚灻±mnÅķ¥ˋVƒbUÒġ»ÅxğLƧ™ƒbWĖÅxš¦U°ÝVóŰlô²@š¥ÜÞÛô„V@²±`š¦™„™¯Ý@„ŽÅ„VÒō¼ôš™¤V²ŹĬÇĊƑƒţxƒç¯Lk»ʟlƽýmłÝÆƏ@mö°Ġ@ŚŹĬţÆUĀĠNJĠŽX¼šnźVUҚ¦Ċxȼ@ôlx¯łʊÒÜĀˌÇČxƍČÈƐašx„ÒĠŽn¼ŎVȐ‚¼Ģ°ŤmǖČĊþšLV°ÞŽU¼ċÈUƚzÈa‚¤ôbkŽ‚nXĀšè"],encodeOffsets:[[122232,46328]]}},{type:"Feature",id:"1508",properties:{name:"巴彦淖尔市",cp:[107.5562,41.3196],childNum:7},geometry:{type:"Polygon",coordinates:["@@²@Ζǀݴʶհĸ„˜ƒ¦Ķ™̒Uˌ¼ӾÇƾ¼̨UÞĉ˜Ƨ—éÝ»ƒĕĉ—ƐȍœōǪakó‚ó¯a@™ôţ™aV¯Þ¯°@²él¥ĵğťwōxó¯k±š—Vó@™aóbUÇyĉzmŽkaóŽU@l™aó‚ķIX°±Uĵ¼™Æ¯VÇÞƽIÇÜÅ£ɱŽġwkÑķKWŋÇķaķçƒV@£šmۙlÝğ¯ƒÑťóǿƴȯ°Åł@ÞŻĀˡš±ŽÅU¯°ɅĀ™źƧʬmǠšƐ"],encodeOffsets:[[107764,42750]]}},{type:"Feature",id:"1505",properties:{name:"通辽市",cp:[121.4758,43.9673],childNum:8},geometry:{type:"Polygon",coordinates:["@@ôƲĸ¼Æèš@„ÈȮwƾ»ʠĢ¥VÆ@²¥@»Ŏњ¯ĊJŤ£k»ÆÇX¯̼ōšī°aX£ôƒƾȁź¥„ƒ™aôŤ™ĢL°ƒĸ@Ȯ¼ÈÒʈŚôVXůÆaĠƛÈKƒķšĉôÿ@ğÈĉ™»ÇVn™ĉV›wXĠÝ°šČÿĸwVƒ™¯¯ǵ±™ĉ‚ǫ™ÅÅm»²Ż±ƽIm¥ţÈķ@¯šƧJV»ÞUÝç¯UġºU£ţŽóaÅÅlƒƒ™Ƨī¯K¯Þ݃ğL̑ȍƽ@ōŎōĀƑɜnÞݺX¼ÇĢގUX°xVšʠȤ̏Ǭ¼ÆÒɆĢšŽǫƾUĀóĸ°‚k¼ċĀƑVŹȺōń¯`ÝĮƽŎĉxġNJɱłō¦"],encodeOffsets:[[122097,46379]]}},{type:"Feature",id:"1509",properties:{name:"乌兰察布市",cp:[112.5769,41.77],childNum:11},geometry:{type:"Polygon",coordinates:["@@ʠǠÞĸɲȺƒÒȂƛŎaƙÈĕȘţUÝźǟɆţšÝˌKU»š@U¯ÜÑ@ƒÞ»ôaV—ÞÇÈ@„¯ÜbƨƨÞlĸ@ĊôlôÅĊU„Ýĸmš¦ƒŽ„bm„„„Ċ@n‚ĊxŤÑ@¯‚ƨĖĊ_@›Čwl¯™ƒȭL›Ý„»ƽ¯ķů„Ǔ@ÇǓbċ™ÅÅÆwÿĠÇU£óaƒ¥¯aŎğĠţkw°»¯ůlÝĵkǻݰɱƧǫaóôɱ»Çk¯ŃóƒʇŐŻ›ĉNJŻĢ„Ž¯ÒÈUl°ƒx°n„Ò™Ĭón™Ċğ°ÇŚĉ¦ʵVƒ°°ĬÛżÇJȁńʇʹó˂ƽŎ›Æţ¦"],encodeOffsets:[[112984,43763]]}},{type:"Feature",id:"1522",properties:{name:"兴安盟",cp:[121.3879,46.1426],childNum:6},geometry:{type:"Polygon",coordinates:["@@ÆXnlŎ°@LVLĠþœxĊUȮĊnU„ĠV@żaW¯XIŎġƒ¥Ý@K@w@K@I˺ŻŎ¦ƨƒƨÒŎIÆ@X@VºnX°lŎ@ƾĉˤƒȘǷȘÑÝݚÞbVţĸÿŤxÈĖƐŽêÇKnĸ¥ô@›ķÞUnÒl@UŚaƒīˋƒ¯ÑƧx@±kXřƐƏÛéV™ˋ»lō¯ĉ„ÅÇÓǫޗĖġV@ğ»›°ĵ„ÇÞǓ¼¯m˜ÛÅŃĉĠÇƾb²çƒ™šéż¯VƒƒğÞml»ōÑV痻V¯™¯šĕÆU¯y°k¯¯V»ôDŽѰa@Źk™ġKţšóŽšbƒ„Ź¦ƽȂó„W¤¯b™Ĭ̻ŎW°ÅÈl¼ţ¤ĉI™°ōÒ@¼±¦Å@UŽġ¦ʟŽƽ¼šÞĢÒm¤„êō°ƒ¦Èþƒšl„k¼ĊŰ°JĢńȁĬ„°ƒżn‚ÇbV„ݼ@¼óĸţ¤@°Ånšl"],encodeOffsets:[[122412,48482]]}},{type:"Feature",id:"1502",properties:{name:"包头市",cp:[110.3467,41.4899],childNum:5},geometry:{type:"Polygon",coordinates:["@@źxżĀǔÆǬVȘĀŤ¥œÅƾōôˁʈͳȂŃÈIÜŻ¯ī„¯ōm™¯ɱĖ¯ƒķÒÝIÝ»ÅV™ƒlÅôфġ™ğVmÞnnƒWçkW܁XƝÆwU»Șĕš£ĉÑ𱱚Åk™„ƒK@lÅIō҃UW‚—IǼ¯@m‚kaƒ²™l¯™ǫnǫ±¯zkŽÝVķUô™˜l²ô°ŎwŦxĶĠk¦±ê¯@Ý°U°šbóŤ@š°bôlôǩb›ŎƏȎĊ˜„ĖÞ¼˜ê—ƨÝĊ"],encodeOffsets:[[112017,43465]]}},{type:"Feature",id:"1501",
-properties:{name:"呼和浩特市",cp:[111.4124,40.4901],childNum:6},geometry:{type:"Polygon",coordinates:["@@ʶUĊ¥ÈřĠ¯šĉômšīƒÑ¯m„wk¯ÇV°ÑƒżġĊljǓɱţǓ›ƝóX¯ƒɛÒóa@nÝÆôƜŚĉĢʉŰĊҙ¤ȗĖV¼ÅxWƞۂlXXèm„ÝmUnšĠƒĢóÒkƚ„ÆUÞ¼ÞJĸÑ°„ɲĕš°Ŏn"],encodeOffsets:[[114098,42312]]}},{type:"Feature",id:"1503",properties:{name:"乌海市",cp:[106.886,39.4739],childNum:1},geometry:{type:"Polygon",coordinates:["@@Ș°ÇīXњŗ@ȍlkƒlUŁ±īĵKō¼VŽÇôXĸ¯Ž@šťê„°ź„k¤„x™œ@Ĭ"],encodeOffsets:[[109317,40799]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/ning_xia_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"6403",properties:{name:"吴忠市",cp:[106.853,37.3755],childNum:4},geometry:{type:"Polygon",coordinates:["@@nLV‚@šVLšaÞbn@@l˜š@bUVlUV„zVx™¤kÞVèšXnš‚@nm°a@UƒÑ„@VŽXnV@Va„UšŽVKUUU@@U‚@@KVa@U²@‚wXkWnk„±lLnU@UmmVKnIVWnI@UK›@UK@@UVKXkmWLWUXmlkVwUyVa@w„w@aVI„K@aVÈw„KlLVV@LnV„VVnU‚ܲ°WÈIUÆ@nÞ¼‚‚@¦™@UÞUVW@UxUxVn„b„K‚b¯ÞU`VbǬ™V@XXÆVVl°InmnUôƒ°¯‚anam£œWVX‚KXmškôaVU@ƒVak@@wmaƒn@K@UÛUWKXUƒÇƒ@UI™b@alW@akLUKV@@Ukw±Iš›nL@kmwkWmk@JUIƒůVmnnU@m@UƒK„VKlkUwkƒƒnVUKmbkI±š—KƒkmVkKƒb@U@aƒVkUmn™`kIlaUK@UUKmbUIݚUa@mUa@aƒ„m@UUULUK@bmKkbWI@WXwlkXƒWa@k@kKƒLVkkK@L@JUVmzUKlwUUnW˜£XVlKUwVU@aXI@aWaUw@W@_nam@¯‚UkWVkUWaU@nwmJkUVkWVUmUkJ@ImbUaƒ@@WÅ_mJknmak@@mƒXƒaUV@„ƒxUšƒ„@‚ƒ„@VUnkVƒ@Vn@`ULUbWLXVW@kbUJ@XW`@ƒnÅĖWJƒ@—m°@xƒxšbnUa‚w²lƒÞ°xŤIVVULۂWbšbkVVXÆ`UbVL„@kx°LlV@Vœ„WbƒJn@bl¤ULV„°@lmL@ƒƒ£U@@aUwmKULVxUVVx@„™@kU™@mK¯LÇa¯@"],encodeOffsets:[[108124,38605]]}},{type:"Feature",id:"6405",properties:{name:"中卫市",cp:[105.4028,36.9525],childNum:3},geometry:{type:"Polygon",coordinates:["@@°@Èb°KnLš@lVš@@ƒUwVUUwVKnLVx@bV@„¤@„nK@k‚¯UƒVKk£@a‚m„IXa›ƒ@UkU¯Klwƒ@UKVaÅ_UWlU™aXa܁VKUUţJ¯w„ݱkxVbmŽ™a„w@wn¯˜„@XIÆĕ„m‚@X_@WVIlaX@WUXKVaVK@_Um„@lUVm@U„ƒ@„ƒV™„w@ƒVUÛwm@@W@ImKUkU@Ua‚aXƒ@wWaUKkw@UVaUamLU™nk@»±`¯@k—W@Ua™ykbƒI„„@VWJkLWUkJƒwU@ƒn¤mL¯wm@Umƒ²XVWbnV@bmxƒVkxUblLUV@kVWKU¼ƒŽkUƒ@mn@JnV@bUnmJUn@„k‚@XlxšLVVnKlLVV@š@LkKULVbk`WL@lkXW@kVƒ@UÞUlÇX™lkaUbmV¯@@L@šƒV@bkb@xƒlW„—bƒbW@—±@UJ@IU@mVk„VxV@@l„Illœn@Vm@ƒVUbl„@JLmKÛXmVkU›KULU`@LĉwƒKUX„lVUl@Vb„JX¦̼bÞxŎxɜĖĠ„Ŏaô@"],encodeOffsets:[[108124,38605]]}},{type:"Feature",id:"6404",properties:{name:"固原市",cp:[106.1389,35.9363],childNum:6},geometry:{type:"MultiPolygon",coordinates:[["@@Vnn@°xnK‚£„mV@„xlIXVlKXI@Uƒƒ„JlašzVbX@l˜°@²_@¼mlVšnKVbUb@VlxVLXb@xW„bVbV@VlnL@J@Xn@Üx„b„W@nl@nblmnIÆ`@X„@Vbna@aVUUWVkƒ@kbWakbU@VwšW@_l@nmn@@alVlk@UkmVak@@a‚UXaƒL@¯@KVa@axWI@KnkVaVJn_lJ@„X@‚m@nVanUVb@mXLlJ„VWnLla„VVaVX@KXVVkVKlknKVa@aVU@KXb@klJUknUmƒ@K@_UW@alIUamaU¯kJma@IUK@U„@@UW@@aXLVƒVJVaXIƒKlaUkUV@ambUUJkIWJ@wUI™V@JU@UwV@@Um@™nU`@UkUmVUxWUUV@aÅb@aWXkKUUƒUUaWK@wnm@IVU@aXwm@UmVaUalk@anKUwlƒUwlkK@wmaƒUkmmIk@VmkUUbW@UVUnW@kV@xkVmbVnU‚™@UbUV@a›k@kkW@„kLW¤@„nV@VU@W_UV™UU`VLUV@IUVõVULU@UUUJ@wmkUJ@šWI@l@bkKkbVVƒbVbUL@UUJ@Vm@@L@xbVVVLVlVwX@Vb@bmUkbk@@JWIUVÅw@Km@UkWKXxWLÅ@UVUnWK@xkVW„@KULwWVXVWzXVVKVXkV›V@VUbV@U„VV@š@LXxVL@V„b‚Ž„LnKVLVxXVmb@l"],["@@@J@aƒU@LWK¯UUxVVn@Ġ„„LUW@UbUUUa@KUX"]],encodeOffsets:[[[108023,37052]],[[108541,36299]]]}},{type:"Feature",id:"6401",properties:{name:"银川市",cp:[106.3586,38.1775],childNum:4},geometry:{type:"Polygon",coordinates:["@@šUšwVK@UVWÞUšbšw„V@knV˜@@KU_VK@K„ƒn@W_XWlL@Vn@Ċw@Ulaœ@Wanamī@aƒ»ŋó@aÆÅɲÿUaV_°ÝaƒLƒaUmVwVwX@VUVݚ@@¥Ý»@mVÅÇJ¯XÛ±VUmƒUmU@KUUkKƒLÇxUŽ@bƒLUJ@bƒx@xUbVzUxklWnXV‚KnXWlUL@V@ŽVLœ@VL@ŽmJUXmJULnn@VmVkKƒ²mlXWlx±@@VUb@L@@VV@VVUL™ƒVUbU@WmUƒ@„Ò@V¯bmn@VŽƒ„@lVnUšnVWŽXVl@¦VVUn@x‚š@‚XL@¦‚lXxš„Vb"],encodeOffsets:[[108563,39803]]}},{type:"Feature",id:"6402",properties:{name:"石嘴山市",cp:[106.4795,39.0015],childNum:2},geometry:{type:"Polygon",coordinates:["@@U¯ķó±ÇÛ¯™ķmbXb›@kb@Vĉxm@@UkKWXX`m@ƒ„@LULV`@L—@mU@lƒU™x™aÝVUX@VUL™x™VkLWVšš@J„nVLXVlŽUV@zl‚VL@V@b„„n@lU²WVLlLVbUŽVxUx@xǀL˜xôҜk‚K²ŽVa‚U@wXa@W™ÈĉUa@‚bÈk„m@¯"],encodeOffsets:[[109542,39938]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/qing_hai_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"6328",properties:{name:"海西蒙古族藏族自治州",cp:[94.9768,37.1118],childNum:7},geometry:{type:"MultiPolygon",coordinates:[["@@„V£°š@laœXô±źwš™ô@„Ulƒża܍n™Kƒw@U„aƒ™ša²L‚mÈLƚÈxlaUa„wÞmÜbÞUšnJ°a„kôƒ‚ÑkwÝVğwÇ@ÝkkV¯¥@ò„»„nŤ¥XImw@mVwša@Åw™mLkaW—wƒ¥l»kçƒó„»@ƒWÑĉŽğ@ĉ„™‚Ń„UwóřVómĵ»™™Ý@VǕ¯kšÝĊÅk™°ÓUklkU±šI„ÇÞkƒ±@šƽJƒ™@UġIk@W¦™VÑșÓÅnťKULnŽ¯X›ƒ@¯mUÛ@WřmóKknōbƒxÝ@ƒŽU@kw@ÿÇLţšÝUkšmwƒŽk™lċVŚU¦™ŽƒLkUWlÅÑ@aƒ@ÅѱUóġŹ¼ƒÈĉmŻ@@wkw™Kl¯U™ġ@—„lÇU™Ó¯_ƒ‚Waĉ²Åló¼VbknƒKǎÅ@ƧĢō°Ý@ğ„W™ÅxUUm@™‚ÝXۂW„ULUè¯@mbUaƒLƒbUWġxIUJWz™a¯b™y™@ōÈóLU`ÇXUl™UĉV¯n›mÛbǕLklƒUĉVƒšóaġ„ƏbġKţnkbÝmmnÝWȭȃŽÝXţWókUÇl¯U¯‚ġUɅĀ@°¯„„š¯„VÆnmJ@ĊķnóJUbÝXUlVškL@lVxnnmb@¤Vzš`ÞÞŤ@„VnÆJV„°b„UôJkzlŽkl@²óš@ÆÇ°kĖƒšÇbÛU@lmb™XV˜kzƒV™ŽɅĀXˢlń„ĬŹ@›éÅ@ĉńÆ°ğbUšlŽɜ_°‚@xŦ˜škbVbƒKĢ„ŤVŎŽ°@żÈźlĊ„ôKôb@nôxŦ„Æ@ôŽŎL@þÆb@šnnšWˌbÈx‚InaŎxlU@Ѳ±ƒğVUĢƒƨbɲ@Þ¥ôUUķWVô¯ĊWʶnôaŤˁ@£nmnIôŽǪK°xUXô@Ŧa°m‚kXÆÞVŎkĊ°ÞLȄôyVašIlwX°UVwĢÑÜKôw@nV@œm°nmŽn„Ü‚ɞ£VbmŽXnƒ°ÜÒ@xx@V‚b²UlbkxVnšJUnVVĊ°KȚm°nxÇnn¤±¦@ŽUXVV@„lV„„bmVVȁŽVxšÒ™°šIšbźaȃšbVwš@šƒVL„™ƾÑ@ƒŦô¯ĊkôÑ"],["@@„@šƒ„@n„òVœa‚w²bVxšxÜaČVô_ĊJšIVmšL„a°@Ŏ¥XlK@ƒšk„l„KVbUb˜@nUĢn‚aÈ@lmǬ»Ġ¯œn‚mnƒƨVy™Ñǖ™Ġ»ɲInŽ‚@@ÅĢƳ@¯°™ôV„KÈbVIÇ¥¯@Ýó„™@ÑnīWKšƒk™‚k@¥š™¯™Åa™Xƒ±VÅw@±Ġ¯@»™š™n™Wmw@ƒ™@¯ƒVƒUUWçƒKĉ„a±VkkƒV¯w™x@šUJ‚x@bknÇb™mÅ@Uw±U¯¦UŽ™Kmš¯I¯Žť¼ğĊ™@ǃŹÈ¯@Ý»ÇnˡJƒbÛèÇnƒ„ÅK¯„ġĠŹW¼Ålm„@¤n²ƒŽÝb@b„š¯lƒ¯@ƒšÅ¤W„™¼nV@x„„°@Vx„@lbUblbX¼W‚œšÇ²lšUŽ@¼ŽV¦@bÇlVxUbVxÞbVšœbm¦ƒVV„"]],encodeOffsets:[[[100452,39719]],[[91980,35742]]]}},{type:"Feature",id:"6327",properties:{name:"玉树藏族自治州",cp:[93.5925,33.9368],childNum:6},geometry:{type:"Polygon",coordinates:["@@ɆÿĢV°°VÈklVôŤXÞW„ȮÇÞXnmÞnlaŤmĢLƐaĢƒôb„™ĊU„VlkǖKÜaœn°mĊUšVVkÈWV_ôKŎǚ@šz°ašbXyVI‚JĢwVX„a„KVbna°@VçVKXƒÜÞWšn@VVÆwXšĠƒÞ@Ŏ¯ƨġÆ@ȍ„LlmUaô»ÆkĊ±Xb„°`šÔV‚kȘƒĢ@Všk°šLlx@xż@Ċn„Çź»ôĢ²VÆ҄@@bÆÒXklV„KšV¥Æ™ČUšk‚l„nxl™çƒ¥ċç@±m¥ƒwÅJƒ@™™™Vƒ„mÈIléÈa°U¥™™@kÞV‚K²ÑWƒ°w²Ñ‚K²ñšyƐ„ÝšVmw„»kkWĉ—JWUƒVÅwƒL™mÅ@@ƒmw„kn¥Vу»°™°@@»„¯„Lla„JônV‚UůƒU@W¯Umѯ¯k@WykU@¯„wV¥ƒkVwţƒk»šwWǜĉĶçšK„ƒÞ™ÇaĉbƒI™lUƒ@kwƒWƒXUƒ°w™±@UšKn£Wĉ—KWxƒkĕVƒšamwXw™@™„Wmnk@aƒVkƒ™bĉLƒl™Imm„wUÇ‚Wx™nÝJn@¥Æ™kwƒaXƒÜĉ™¯ÅV¯¤mkƒx¯kķܙ²VWôŹVUƒƒ@V£™¥@ƒ°wn@™m@¯@UbUôķŽmn@ÆÛ@ÇýVaUÇĊVƒ@Çlğ—¯xÝŤ™lVÈÈVƒx„ƒ¤Vx™„kK@™@ƒx@„kVƒĖġ¥kIWbXŽŎx@nƒxÅUW`ƒ_—@±ŽUa™LUxƒK¯„WbkVlb—bmŽƒLÛÆWIUwƒWkwÝV@kI›ŽéUb›UUk™V¯Km¯k@Umݐ¯m¯›m—L›Þĉ‚ÛUm™ġ£UxkKm°™Lw›šk@kšƒVm„ƒKVUk›@¯a¯Ģ™móKUU™x™ImlÅn™™ÇbXèVVU„°„@ŽšŽ@„‚xXnmš™ššŽ@¼ğ°@²ÆxU‚„²šWÆb°š™š@¦llš™„XLmĬ@҃šÞô°@ȦUJÇaƒLóU¯š@°ġƴ@Ɓ@mɱJğ¼ǕššÒUzƧ‚m„n›mğ°ǫ¼knÇ@bġmmV—@VaUaƒLƒk™l@„kLW‚ō¦¯@ƒb™KUn™JĉIó`ċUÛb™wUw±ax›bñUmƒƒ@™„ƒ@—bƒaƒbǏÅXm˜„ƒÝ„ÅôVbގ™bl„UšÞVޚ„U‚°„VUxƒ@U„V„@l`™¼nL@Ċ„LW„„¤kXķWġXUVVVķ„UbVb@°kVVxÈa‚@ȦĊbšaźJ„U@Ț„„˜Vœƒlš@XkôaWƒĢ™Þ@laĸUÆb²mÞLĠ™ÞÑôbšÒĊa„JVbm¦"],encodeOffsets:[[93285,37030]]}},{type:"Feature",id:"6326",properties:{name:"果洛藏族自治州",cp:[99.3823,34.0466],childNum:6},geometry:{type:"Polygon",coordinates:["@@ÞVŤ™ÈK@ĀlxV@„Þ@„wŎalmôLšnXÆÜ@nV‚°@œ„°WmVKŦLÆmȚԂҚUX¥l@ĢJVš@„ŽƾI@w™W°™™Ån¥›kÅÝVwôƒÈç„@lÑĊĕša„JnaÆLVw°kny°UnkÆVȍĊll¦„Vƾ@@™nUźƒÈǂIn°X„wÞKô¦VWV£„@£°ókċ±I™™am¯Va™»ČĉV¥°™@m„k„¥l@„Ċm@ašU™mwXƒ@wÆxšmĢ_„`VnÆbšKVw„@@ƒnUVğVmVVöIlŽl@@çÛmƒ£UDŽw°@VUƒ¯»m¯ƒJōĖÅLƒa@»ĉĢ±`U_k`ÇçšóƒkX™lK@ƒakÝރš£WċkÝ™kxƒJݯÅw™xķxmIÅx„@k±J@ýŋš›¤UœkŽmV™°ÅÝxkwmġƒnÝVU„š¦ƒŤlmšóXk¤™UKƒç™@mVkK@klīƒ£mš¯VUbƒW¯¼ċb¯ĵam¼mVX„m@k¤ÇX‚ÇbƒUƒ„¯J¯„¯È@˜™bVXVҙ¤V¼kxݚV„@l‚V—„WxÛ¦Wš¯šmKnlŽkŽ‚šU‚@nƑUĉ„Ý@ǺۄċUĉ¥™UƒÞŏ™z±òL±Ò¯xX„±ÒLÝU@lššV¦¯‚ÇbkêÇJƒnU„šš@š„‚ÆI„xn¦‚‚@²Č脦‚è"],encodeOffsets:[[99709,36130]]}},{type:"Feature",id:"6325",properties:{name:"海南藏族自治州",cp:[100.3711,35.9418],childNum:5},geometry:{type:"Polygon",coordinates:["@@VxƒŽńƒš@ĊĠŽĊXÒ°UƾĕÞm°£nb@‚@LUUW„Ûº@nlÆǬšĠ£ÞV°UXb‚VȂǵ„éƒ@kWanm°@™x„z„K°¯ĠVšƒVƒkw™Lnm°kÞxÆa„¥@‚wnĉƏ@™œ_l›š_VwšmĸèŤÅČU@™˜Wn@ÑmKU™nğƒK@ƒ°¯UÿV£nmšLl™„UƒUÛé±óókkmƒnƒakV@Ç°óÝXƒWəÞťIţxmm™VÛUVȂÓnWyȁĉkƒVš°WnkĊa„¥‚_œK°ÿWna@ƒmU¯wƒlÝIU¤UXó¥ÝLƒx¯WmJÇÈŹ„mV@šƽ@ƒUk¥ĉkċŽÅUml¯Vmz¯lUxÅKmbƒI™bĉĖk҃@Çèó„UxÆޜlm¦šÆ¯ššX@x™Ž@Ž„²ÝlƒÈ™JV²klVl¯ÔlšĉƙްlUǖÞ@ššĶ¼nŽUôôŚ"],encodeOffsets:[[101712,37632]]}},{type:"Feature",id:"6322",properties:{name:"海北藏族自治州",cp:[100.3711,37.9138],childNum:4},geometry:{type:"Polygon",coordinates:["@@ōmġxƽUm±Lǿþġԙ@kxmWƒb¯I¯‚mIUx@bƒbŹVǎƒkĵbƒlĉI¯¥ƒUšm@ƒÆ¯È@šašóšUlƒČ»@w›œ»›wXaƒƒó°ţç݄kUƒaV¥ÅbÝw¯lmnšKlxU„™„ğU¯°ƒLƒyšw¯@mnXb‚l„@ƒêȁǶUWa¯VÝUğ¤ǫ™kÅ@mܹXƒVV@K@ma¯¤ÝnƽĖ¯V@„ƒ¼„ôlèk¼„¦˜xXŽlbnKšÆx@Ž™bUx@nnxWJţ¦ƒmƒ¼ñ@Ž°¦lUÞlÈ@ĠxÞUlxÒó„ƒl¯bmI™ŽÝVÛaÝnƒxVbkbÇwřÇKn±K™b„šƒb@V„xšLmŽÛŽŻbk„ƒVó@™šŹxó²›Wkb™@¯U¤ƒźĊ@lUX„°lÆôU„ƒlLX‚aœV°wšxUb°xÜôÈKVkÈmlwškÈKšwšK™™VUŤĉŎ»„»„Il¥na°LV»²¯Üy@wĢƒ°ĸwlwĢw°±„_lVkš@°ƒbƒÆ¯zƒ‚„š„@l_„@Ģ±lŚVlUaރ„LVƒnKlnȏ°IllČa˜wÞÑ°x„UU™@wƒVkmĠLô»„KÞýôaÞ¥ôĀÞmƁ„™‚mUƒŎV¥Èl°²°a²¥V„@@w„amm@Ñn@Æ£żƒVƒĠ£@W„¯Þƒšl@š»@Uk@"],encodeOffsets:[[105087,37992]]}},{type:"Feature",id:"6323",properties:{name:"黄南藏族自治州",cp:[101.5686,35.1178],childNum:4},geometry:{type:"Polygon",coordinates:["@@ôl²ôÜê„VƒVkš™KmnU¤VĀ¯°@„„LmĠVšnLÈL@alb@al@n°Vš_XmWUÈamaVIn@n‚aV£œóVWƒ™U£°ašxÈ¥@™‚aĊwȹ@óša™ƒğbm@k„w@mƒaÆw@ƒ„In¯mmƒ@UkkWƒÑÅ@@kċÅçVkÝJÅkVykŹl¥@¯š™ĢU܃X¥òý—mmX™ÝÅlmU@£™Wly™XW»Åbƒl@aI›»k@klm@UxUUƒVƒ¼¯Xƒl™aUnķ‚ƒI@x™@¯„ƒK™„ĉUU`óšlČ¯ô@¤ƒÞJ„k°xVŽ„n@ŽmbXŽ¯Ā›L`ƒ¦ĉbml¯X™ŽUŽl„ȂĊXzm‚ȁÔU‚ÜVšUnnŤwŦJɚ݄XÞW¯ô@ÈlU„b„mln"],encodeOffsets:[[103984,36344]]}},{type:"Feature",id:"6321",properties:{name:"海东地区",cp:[102.3706,36.2988],childNum:6},geometry:{type:"Polygon",coordinates:["@@@҄bš¤ÆI°ôU¼š°UŽnnWx™š@b¯L@lUUWbXxWl„ƨnxVUllš„XVŽUŽnL@lȀý²KVnƾ‚ĢwV»ƒ@mÞ£nÆƒÞÑmL™ƒKUaVżĕƒWVk²ƒƒÆÝ@ƒXw°@„ô™@a°wóUUmIk™™aVmÞwmknyƒ¹VÿƧnŏm£X»˜™naV±„Ýw@ašb@aƒm¯„ĉVó¦kÝWKUU@WanU™b@ôǺĉxb@šÇ¦™w¯bV¤„šUX›ôU¤bmm@UJnbÇbXVWn™`¯Umk@@bka@bÇK"],encodeOffsets:[[104108,37030]]}},{type:"Feature",id:"6301",properties:{name:"西宁市",cp:[101.4038,36.8207],childNum:4},geometry:{type:"Polygon",coordinates:["@@@kmKVUƒWk™VkUmwƒƧXkWwXaVV@k°K@aš™XwmmV™¯V»¯óÅJ™£ƒamŽ—X@šċVţÆķç™nUx™`kœ›`@šÅmĊx@Žƒ¦U¦„blVރŤèô¯„„Wbœx›¼œŽ@xċ¼k„™V™ô™bÇ@Å°@„™n„V°¦ĊJ„kĶa„lȍźU„a@aVwnJ°°J„anXlwš@ĢÓ"],encodeOffsets:[[104356,38042]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/shang_hai_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"310230",properties:{name:"崇明县",cp:[121.5637,31.5383],childNum:1},geometry:{type:"Polygon",coordinates:["@@uŏu»GPIV±ÐɃŜ{\\qJmC[W\\t„¾ÕjÕp‡nα|ěÔe`²„ †nZzZ~V|B^IpUbU†{bs\\a\\OvQ’Kªs†Mň£RAhQĤ‹lA`GĂA@ĥWĝO“"],encodeOffsets:[[124908,32105]]}},{type:"Feature",id:"310119",properties:{name:"南汇区",cp:[121.8755,30.954],childNum:1},geometry:{type:"Polygon",coordinates:["@@`y”ĉNǕDwǏ»ƒÖLxCdJ`HB@LBTD@CPFXANC@@PGBKNECCBB@EBFHEDDDSNKAUNBDMNqf[HcDCCcF…@EFGLEBa@ACoCCDDD@LGHD@DJFBBJED@BGAEGGFKIGDBDLBAD@FHBEF@RFDMLE@SGANFFJBANPH@@E@FJjRIACDMDOEKLFD@DbDAJI@AP@BGHFBCBGDCC@DCA@CECGH@FKCEHFJGBFDIHACEDNJDCVFBDCRKRLDLITB@CjNJI^DBCfNVDHDFKHAFGDIICDWBIF@@CFAjFJNJBBHD@CJ@AEFJ@@DH@BFBCPDBMFEQGDIFCNDHIP@HDABFACBJFHEBSZC@DP@@JDBƤ~"],encodeOffsets:[[124854,31907]]}},{type:"Feature",id:"310120",properties:{name:"奉贤区",cp:[121.5747,30.8475],childNum:1},geometry:{type:"Polygon",coordinates:["@@~T~JjZdDbLXDLCB_J@@FHFZJJIAGH@HGR@BENBLID@@LFCDF\\FpDBDb@FAHKFE†@dEDDdC\\GreNMACVMLBTMCCFCEGFAA@DAFDLMHA@OD@BMEWDOC@AS@KGAI_DcKw„ÕísƝ‘åĆctKbMBQ@EGEBEJ@@MBKL@BJB@FIBGKE@ABG@@FMFCPL@AjCD@ZOFCJIDICIlKJHNGJALH@@FPDCTJDGDBNCn"],encodeOffsets:[[124274,31722]]}},{type:"Feature",id:"310115",properties:{name:"浦东新区",cp:[121.6928,31.2561],childNum:1},geometry:{type:"Polygon",coordinates:["@@EN@JJLNHjLJNR^GRYVBNZJRBV@PDvbLNDN@LGNER@nCNQNuT_TIVFV\\Z\\XnDrI|[Ʉś²ÏJUHOƣ}CA@IO@@CYDATGFIEDAEBBAGCO@GJMCEDCJRHEFANOCADAEG@@CI@FE@BDIC@AGIAIMiEEB@DE@AJCXJDCJEHGBELGCUCeMAD]CIJiM@DSAKJKCLQDQACUECDMIFCBDJGECHAEIWCK@GLMCCGEACNKCEJG@MMBMC@@CIJUINT@JAJSTEPZZCP"],encodeOffsets:[[124383,31915]]}},{type:"Feature",id:"310116",properties:{name:"金山区",cp:[121.2657,30.8112],childNum:1},geometry:{type:"Polygon",coordinates:["@@L@BIHFN@@EE@@EFBDGDAADVDD@@EF@CA@IIsRE@GDAF@BF@CV@|FBCHBLCNHAFCADBMDCFZXHILBVEEQA@MWFARJJ@DCX@@TEFBLHAAERE@AJABRPBNK\\BrJ\\VHGND@CNADKDADQjGAGNC@GJ@FCFFHC@JF@@dLBDSFADHVG\\DTEPDDHJALIJkJDJCDIPE@YDCBiK@DONE@EH@BAF@HLJA@EIA@ALKNA@@FIFAFHR@NALadsæąyQY@ƒA±DʼnXUVI^BF@FFF@HBJEDFFGFEBSRkVEXGHFBMFIVW@GAEEFOIAIPKABGWEKFSCQLQBSEIBC\\FdBLRR@JGACFDDEF@AWB@LJJYNABBA@CUEGPaO_AIE@MYMFIGAEFECHSAAKAO\\[JEDB@E@MMA@@AGBKMGDFFCDDFEDFJF@NPBAFLHFH@EDDHBADDC@DDCDHHCDDFDABDAD@FEFOBCJ[D@HEDDNJBDDHABJIBBvGLBJAH"],encodeOffsets:[[123901,31695]]}},{type:"Feature",id:"310118",properties:{name:"青浦区",cp:[121.1751,31.1909],childNum:1},geometry:{type:"Polygon",coordinates:["@@RUNKdOFDJCbRFMLAHPLDN@JGL@@APBWYCKN@TU@SHGCEJIDIJKVIZVNM`iNY@CIE@CA@KBOEGEUFCCSADEIEFCDDDIDDHC@CKIeDCG@IG@DHWFEEGCH@@GO@@O]CNpeEQDBFME[JC]DGF@CKOA@QSB@GB@@GW@@ED@AQIJIAAFE@@DO@CFI@KNG@CDACAFEGKGBEGBDCCAIFCCLIECFI@MBCLDHGNAHSF@DMB@EEKBA@@C]DEICFG@ADBHGFKCDAKKHKD@@FHGAANGEEFCHKCECBCKG@ADKCNE\\[A[I@@mGBDQQEO@BCE@AI[AML@JGACLOAFKEMM@EQKC@CUCBCCBCHEA@FF@@FM@GEAJK@GNF@EXPH@FD@M^@HIADJCFDBER@DK@@DE@CAKFOCCBDHIBCNSB@GFC@GQEEOWFICGDUAEJIDBTAHJHEB@DIF@NE@H|HBDBEH@DKBAHEF@HEEUB@FGFGCCCE@AHOB@NH@PRLVNNFBX@RC€PbAvMtBfH@DJF@ELBFA@EH@HNED@FFB@HLC@CJ@@DJ@PIRf@HE@CFF@GPHD@DKE@FFBEFFD@DEFCA@DD@IjCRFBAHFDKD@HF@@PM@H@BlbDJDBFEF@DLXB@HCD@@IFCBIFEJD@FDC@FBALLF@PAACJERACAJCBD@EL@JD"],encodeOffsets:[[124061,32028]]}},{type:"Feature",id:"310117",properties:{name:"松江区",cp:[121.1984,31.0268],childNum:1},geometry:{type:"Polygon",coordinates:["@@@DLDFRN@FNELPBDKHB@INK\\BBJF@ADP@RFCRHA@nJ@B\\[\\MFLDBCH@DLDADFGLEDFFMHBBGH@EC@GLLLCBLDHEAGBCH@DEFJ^C@DB@LAFFA@CNE@GTMBGHKCAD@NEJFDKJDDJEDBCDHAAFLHFHBEBDDCH@LMJ@DEP@@CF@BEJBJIBRC@@FX@@HA@@HTA@RPBDLE@CHD^\\INFAERCfFMo^D@PP@@HG@HDFFXECGH@@JDHfCLJ@DGDCCCJCCEDJFCFTBDDVEHFPFLAB@NBFCFKFC@CHIACNOHWHCAAFIDD@CDAGEI@ACFMF@R@R_@GQED@EGFEQEDE_IAHKAEXCQUOQCUDEN@ZI\\DDmAMHCICDSOC@EG@BKHIGMIBCGOCSF[CUHCGEBCTKA@cE@@IGDEEEDI@@HMDBHiHCRCBCLMB@DMCGH[UqI[AMLOAAQIB@BQFBFGBAKFE@SW@CDI@QIEBNXB@FRUFKAGJYWDENCCADBBEMGKDGAAD{EU@@DAEE@CB@HQFJt@JDBE@@FC@"],encodeOffsets:[[123933,31687]]}},{type:"Feature",id:"310114",properties:{name:"嘉定区",cp:[121.2437,31.3625],childNum:1},geometry:{type:"Polygon",coordinates:["@@F@LI@IDKJADKIEJICADGACFECCJ@HKCAFOHAJI@aCBEE@ICAEB[GFGCKL@FGEIFADMLCAEJM@ELQECEIG@BE^QKKLQCA@EHBIGQ[GEHOMGGDHKH@JOECFCjCBEFDNCACMBCILGTABDLEEOEIG@GFIMM@CGKFBFCDE@@GEAGEEACIcGaHMFITIHDN[AKF@FS@OA@BK@IHM@KCGOKBENaQIDECcPMLQVFHFB@BFBKLGD@FAJOVGIACQ@A`LPCB@JEF@RU@ANS@@RCL\\HIFpRBFRBBDKLLDADJDGBFDABHBEDNF@DGBBBADKDAHC@\\JJFBDEH[DEFDH\\LX@XLBLbT@DNJLDCEL@VJABJNDHB@HBHYFBAA@GNFB@@AFB@AFABFLFBHFCL@HJBAFBLC@DN@HN"],encodeOffsets:[[124213,32254]]}},{type:"Feature",id:"310113",properties:{name:"宝山区",cp:[121.4346,31.4051],childNum:1},geometry:{type:"Polygon",coordinates:["@@ˆmÖoÖiƒ½[s[YEUJU`SCIEBCCWJY_LIICDWU@@FaBCJIB[ICH[@@CDKEE@MK@@IMCAEBCH@AMFI@SMGEFGB@FK@BHCAIFJNQD@FEBDFMBKGACG@ECWH@@CDDTOEEBGEK@GC@EE@GPHFR\\JHGA@FDBKRLL]RAFH@FJFDKR@FINBFKDCNEBFJEHK@DLEH\\HFADB@JFFDA@bIJGBEPDBGLI@DDEFBDCHDBIJJFCLIBCL@JKJE@ADHDBHJ@HIBBDFHBBAEIJ@BJFAVL¢ˆ"],encodeOffsets:[[124300,32302]]}},{type:"Feature",id:"310112",properties:{name:"闵行区",cp:[121.4992,31.0838],childNum:1},geometry:{type:"Polygon",coordinates:["@@T@@ELE\\BCMJGJSNEbGdHDJFBJAFIEIFCEWG@@gMENSFCVJFAxR~B@IH@AIiI@GE@FGEAFQPDRiV[\\DFSGMHAXHDOMCJCDETBBNVJJI@DD@ANNNH@FILDDMFBDHNDHKL@XDFGLD@EHGFD@DDB@CDDHCDAEAHG@ABOJ@BIaC@CECLKPFNCDCJBiQEIF@@@OGBMIAEEBMTHF@NKEC@QFEGA@EBCKAACHCLJHEFHHB@AFCAIEACIC@HG@KCCDC[ECEED@KC@KJMAAFQ@GHG@BHIJYIGE@EI@A`KDWCaKcCiY}I}S[CYJM@CFDVPRRVWDFžLBBG`JCFRFEFFHC@RF@HQ`Q@E@ENBDJ@HFCB@DCCEJBBGDGXMPBDGJ@DEDELEDMA@DJF@DMZ_jMNYUUJILCJIJDFGH@TSVM@DLXZ"],encodeOffsets:[[124165,32010]]}},{type:"Feature",id:"310110",properties:{name:"杨浦区",cp:[121.528,31.2966],childNum:1},geometry:{type:"Polygon",coordinates:["@@V@CXJDKJZ`XIDDFADJvSRMDM@mFQHM@KCMKMuaOCU@BDAJSX@HKJGD@PNJCJWAGT@R"],encodeOffsets:[[124402,32064]]}},{type:"Feature",id:"310107",properties:{name:"普陀区",cp:[121.3879,31.2602],childNum:1},geometry:{type:"Polygon",coordinates:["@@F@@FHDL@HFFAPFCSDC@@XGFDH@BDLHNACEFA@ERCIMJEDBAGL@@EHAFENHHJ\\ONQBQCIBC[MKACKI@GGGH@I_G@CW@[DMHCDIBMTDHN@JNHEH@FJFPKFACSBKHDJNABDMDECAFiDEDFDIPG@GLHCNH"],encodeOffsets:[[124248,32045]]}},{type:"Feature",id:"310104",properties:{name:"徐汇区",cp:[121.4333,31.1607],childNum:1},geometry:{type:"Polygon",coordinates:["@@RADL\\NCPHFfLJaJ@FWLGMGIK@IFMDOYYFOTSBI@IMSAMSACFIDNDCPWGGBHNET[CU\\QjOCERFBEHF@@HjJBJG@@J"],encodeOffsets:[[124327,31941]]}},{type:"Feature",id:"310105",properties:{name:"长宁区",cp:[121.3852,31.2115],childNum:1},geometry:{type:"Polygon",coordinates:["@@HFFB@HF@DCAELENSJADCNG\\CX@@D`H@JHGHHJ@BINBFUGEDO[MCKQB}AwQEBUIEDMTNF@hH@FXEDFJEJIB"],encodeOffsets:[[124250,31987]]}},{type:"Feature",id:"310108",properties:{name:"闸北区",cp:[121.4511,31.2794],childNum:1},geometry:{type:"Polygon",coordinates:["@@CSG@BQGODUPWTOBQAAFMECKBGEMFKEOHADDJARMR[PGI@TEJBNG@ADBFND@JL@@NFFCL@D\\@DG\\JJADI"],encodeOffsets:[[124385,32068]]}},{type:"Feature",id:"310109",properties:{name:"虹口区",cp:[121.4882,31.2788],childNum:1},geometry:{type:"Polygon",coordinates:["@@bA@E@QHSXBDIMI@OHCLI@GTWBIACQAYIOFGCENBBARSPOXCVHPARH@DT"],encodeOffsets:[[124385,32068]]}},{type:"Feature",id:"310101",properties:{name:"黄浦区",cp:[121.4868,31.219],childNum:1},geometry:{type:"Polygon",coordinates:["@@NEHFLAFDHDPEAMZUHQQ]IMKJG@EPERABHBGRUCCNGV"],encodeOffsets:[[124379,31992]]}},{type:"Feature",id:"310103",properties:{name:"卢湾区",cp:[121.4758,31.2074],childNum:1},geometry:{type:"Polygon",coordinates:["@@VDHQGABAFQFOH@LIiKKHEXI@IbAFZB"],encodeOffsets:[[124385,31974]]}},{type:"Feature",id:"310106",properties:{name:"静安区",cp:[121.4484,31.2286],childNum:1},geometry:{type:"Polygon",coordinates:["@@DLLB\\NPGLFHUDMYABEeKEVMAAJ"],encodeOffsets:[[124343,31979]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/shan_dong_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"3706",properties:{name:"烟台市",cp:[120.7397,37.5128],childNum:9},geometry:{type:"Polygon",coordinates:["@@ŤLšLllVń²è°xżĢĠÆl҄šŤbœ„V¤ĊXnŽlĢVĊ„Òš„È°ĊŰÞè˜L„±@џn»VUźċ²»ÆkôVɆkĊŃ²kŤVVwUUVmUaƒ@KkU@ƒmUmmk@UwUkmW@UVIXa@ƒmw@a™KULƒaƒx@Uk@UbWU@yULmK¯@kXƒVUwm@@JUUknWKUVƒLUbU@™wWykIƒa@w@mUI@ašUVynIWa„k„@@W„bl@@knmƒK@wnIl™°Kna@V¥ğ@ġUķ»™¥@UōJƒX¯¤k@™wmI¯‚k@mwƒak@@šlX@bUJ@VƒbknWxkLkxlŽšLVlkLmŽšb@bU@ƒbU@VbU`Vb@n„L@Žmb—U@˜VnUVmnU@mm™@kIUWVIUK›VkkUJUnmL@VmLUaVWaXamU@™™U@KUUmVƒU—JƒU™VÇwğn™mƒ@mXĉV@l¯xnô"],encodeOffsets:[[122446,38042]]}},{type:"Feature",id:"3713",properties:{name:"临沂市",cp:[118.3118,35.2936],childNum:10},geometry:{type:"Polygon",coordinates:["@@˜bXlƒl@zlV@lXXmŽkbVVlš„U@Vn@@Vmb@XšKšVX„WJ@XXl@„‚ŽÈbVLšUl`„@XXV@VVUxVbUxVbš¦„@‚WnXVJ@bnVUzl@„°Æx„U„KlU@mUUnUlUVWVUnVV@XX°V@Všll@Vk„aXVl@Ux@bmbXLlKlb@b@bUJn@@„„b@n°x°K@an@@UlLVKVbXb@bVVnK°LVa@UVa@™Xw‚KVxnLšU°@naV@UWUkWƒULmV—wÝKUUla@aó_@mƒK@aUU@ƒWUkwVm@aVI°W„@@IUw@a±¯@¥kUVUm@a‚wkw™@ƒK@kVKk@maXalI@alL„WXblaVLVU„V@LnKš@„l@w˜aXašLlnUl„LšmV@n°J@_VmnIVym£UKmI@WnIVm@anUVmÇ_kġIÅWUXÇm@U@ݯÅ@ƒ™@naWƒ™IVW@IkK@klKn@naWIƒmk@ƒaƒbkKkLWn™WkLWmk_ƒ@UaVƒUKmLUw@mn£WwUmU™ƒaóV@UkUm@UKULUwmJUX@WW@XҙzVblJXŽWXk@UVWK—X‚¤UL@xU@ƒ@ƒVUaU@@XmVkLmWkXUyÝLmKXnVŽ@n@l™x@bWLnVVn™`knULmxUl„„WLXŽVb@VƒK@z¯x¯¼Wx™KUn@bk@ƒlƒVVVz"],encodeOffsets:[[120241,36119]]}},{type:"Feature",id:"3707",properties:{name:"潍坊市",cp:[119.0918,36.524],childNum:9},geometry:{type:"Polygon",coordinates:["@@l@@UšK@Ž@L@bX@@VlL@JƒLUVnX@`ÜXn`V²mJ@bU@@n„b@l°xnnĸVƚ°@„ƒĊ£Þ@lWnÑnkʶJmó°w@kk»V@»ƒ¥k@V@kw@wVm„a˜Å„mšaô£ŎƒXI@mln„Kla@mV_UKƒ@kUkw@alW™IU»™mƒ—@WUIl±UUÅU›bkJƒ@a@wUKUaVIÆmXIWaka@m@Ul£XKVw@ƒUIƒJUkmJ™ƒVkU@a„ƒWK—ImVƒ@UxmL@bX`WXU@U`ÇkUak@@°UblXk‚mLUKmL@VULóƒƒVk@@Vlbn@Ub@ċaUJUbƒIUlVLUVVbVKX„VlVXU@mb¯@™VmKUwLWx@šUb@VUb¯KmLUU@aWaUaULkK@Vm@@b¯L¯w@mƒa@ƒm@UUU@U¦lJUXƒVƒmkb@nm„XVWŽkb™IVxUV@VUbWLXVƒLW`Ux@nk@Vn@x@VkJ@œV`mXkŽ@V„xV@lVššI@VULš˜VU„IV`°bVXXx„V@VWVnL@xV„Ub"],encodeOffsets:[[121332,37840]]}},{type:"Feature",id:"3702",properties:{name:"青岛市",cp:[120.4651,36.3373],childNum:6},geometry:{type:"Polygon",coordinates:["@@„@nU˜JXLƒ„@blVU‚š„nIVl„IVJ@„UxWLk¤@V@nlbXbWJÅnUJVbVL@x@b„ŽlIœaÆVVVk²VJ@X„˜šnV¼šJkX@blxlV„@VLU`@nkbƒLkm@nWJō„ó¤™bƒn—ƃbUn@xlxU@l@„¦@¼UŽl¼ĊUnW„@šnĠmÈxšU„V˜I„VnUVV@LšV@šnVWbXb‚UVbnK@UnKVmVIllœUVLUJVXlJš@nnV@nmVUUm@—˜Vna@ƒK@mUaV_UaV@„aV@@a™anlKUk™KklwlKXwlm„a@UVI@akW@™l@„bnxl@°nJšxl@°£„WŎIUÑn»lašmô¹Ŏ¥VaUUkƒmkġWɱIUUŹ`›@kk@ĉƨřV¥_Ç@™Ĭƒ¤ÝL¯m¯£ƽóķwUW±ī¯kōaĉĕ™kğmó°ƒbW@UKkLUaƒVmz@V@ŽUxVn"],encodeOffsets:[[122389,36580]]}},{type:"Feature",id:"3717",properties:{name:"菏泽市",cp:[115.6201,35.2057],childNum:9},geometry:{type:"Polygon",coordinates:["@@@¥šIVUÈmÞ»@UlU@Un@VW@UVmkk@aVUUKVÝ@UVknK@UV@VVnIVƒ@wnƒmwmKXaWaXI@UV@Vy²blkVKkam™U@kb@Um@VmUkmƒKmkXKWwkU@Ulƒ@UnK@UVUUm‚KXwšUVL„w‚K„U„@@Wl@@wUkV¥—@@I@W@_V@VWUw@UUa@aƒaWa—@@_mKUw™l¯amzmV—@WK™nU@kƒWLķaUKbÝVmV@UWÇbÛ@ƒX™°UbW@XŽm„Vlk²UJUbmLÇxÅWUzl‚¯Ll„@VkK™XUbWJ@bU@¯@™ƒkbƒLmKka™„@l™_WšXºVbUz@J‚n²V@¤lX„Ž„nV°šLn`WbXLôVlKVUšxXn˜lXLlU@bVV@„XJWLUVnVV@„„@n‚l„°nn‚V„KÈbVXÆJU°VnXV„kV@@xVL„@šWlb"],encodeOffsets:[[118654,36726]]}},{type:"Feature",id:"3708",properties:{name:"济宁市",cp:[116.8286,35.3375],childNum:11},geometry:{type:"Polygon",coordinates:["@@nam_nKlVLXa„Il`š_@KVVXI@m@w‚ƒ„@@k@Kšnô@n`VbV@@L„L@KVVn@VX@‚VL„Jl„š@VUUƒU@Uam@Uk„wšKWaXamkJmIUVUÈblašUnV@kVKl@@lXL°kVJ@VÈnVJUX@V‚LXl@xVLnU‚@VK„V@a„IUaV@„bĊU„x„K‚kVJXUlV„ƒ„UVašI@WUI@KlUnw„mWk@WXIWƒ™U™L@Wna@Um@@UƒVk™UUlanWW@kkU@y„kWk—aWVUlÝbUU@kƒJUIU@@ƒ™JmaókƒLKǃUUkKWLk@WbkUUaƒbmKn¯°¥V@XwV@VanaVaU_@Wlk@WÈ@VUÈVVۂm„aklKȯlLVUX@lK@aX@@kV@VmV@VwnJV_UWUwƒX™am@kW@wVUkKVIUUVmU@UV@IVK@aUL@aƒV@Lm„UKmx@ŽômLkUWJ@šnXmlUxUL@Vkn›VUšU„@V™L™`Ub±LkV@kUKÇbÛ@ƒU™Wó_mJƒ@Wk@@Xƒ@ƒVLƒxUK™VWxLVnUV@VmL@Vk„@VlVXxWLnl‚Ln„VlUnn@@VlaV@nšlbULkl±aUzU@@VWJXbWbnLnxm„@xU„mJUUU@@VmLUl@VUÞVLUV@bllUn@VUXm@@VkV@VݼÇnUV™J@¦nnƒlnVlL@„Þb°KVV"],encodeOffsets:[[118834,36844]]}},{type:"Feature",id:"3714",properties:{name:"德州市",cp:[116.6858,37.2107],childNum:11},geometry:{type:"Polygon",coordinates:["@@„¤@VmbVXnVVbVJššX@Žll@z„lVInl@„@bVxUbĠ‚l@Èbla„IšxXVWb@L™@n‚ULWVXXšWWLnL@`@LUVVL@lVn„JšU@UUk‚a„™nš‚Vôô„b°¼V‚ސXš˜‚œIÜbČa˜bôW„XÞWÈzÆmnLVJ°ÈnlV²lbnW@™@UƒUV™šmnwmkkKWƒkla@mVIUKUa™aUwmn™JU@@amIk@@bVlkX@mmUklUUƒƒa@_UaUUƒV@wƒw™WkXmW@I@WUaÝU@UXaWUU@UUVW@UUUWUn¥nUVa@m@k@alU@wk™LWa@UUm@@wnmU™wla@anKn_@alK@ݙ_ƒ@@WUUUmlkaƒIƒyU@UwU_Wa¯yU_mWUwkImm@InWWUk@@UVWV—kW¯U@VƒL@b¯b@l±¦@šVV@lUbV„@škxVnUšl¼XV@b@lV@nIWxnbƒ‚™@UU™LƒxÅxm¯ƒaUƒ™wU@mUÅVÝKULm@bmKUXó@"],encodeOffsets:[[118542,37801]]}},{type:"Feature",id:"3716",properties:{name:"滨州市",cp:[117.8174,37.4963],childNum:7},geometry:{type:"Polygon",coordinates:["@@Vb@`„bV„kVlnV@nlWUk@al@nJ@bV@šInmVxšbVbVLUJ@nkb‚lX„lLnlmx™nUš„V@V@šmXn˜lbĸ@nnVx‚b@lnXV@UJ@nVxšxnxVbÆVn¯ƒĕ‚@@wÈçUÇlķVIœb‚@„Çmk@¥k@UkUK@aWakUóJW_UW@wkkWK@U@Kš@XUƒƒUkmUUalKXala@U@kkWlkÈl@kšV„mVIVmU_‚a„ƒƒwnwVW@wƒwUƒ@wU£ƒwkJWIyUI±bk‚VUJ@nmV™Ukl„Xmx@lnbW„kVƒUkLWŽƒxkKUUmUkb™J±—LÇxUKmkUmkkW™™a„mUaVkšJÆ_²KĠ@U„W@w„U‚¥nUWwK@aÝUkÅVaVK@akLWƒƒƒ¯I@bnbVx¯JW„ñšWbUL@šƒŽnV@VmbkUUV@IÇak@@bWak@WJUœJWL@bXV@„‚@„V„Jlb@zUlUŽUImšnbV‚mz@°UV@V™bV@@V@L@xLmKUnmJVX„J@VkLW@UVUL@b"],encodeOffsets:[[120083,38442]]}},{type:"Feature",id:"3715",properties:{name:"聊城市",cp:[115.9167,36.4032],childNum:8},geometry:{type:"Polygon",coordinates:["@@ô@VWnL‚an@VKÞLÆUnVV@šxV„„bn°Æw„wšKVVš@„maXwmJU@@k@aWUk»V™Umlw@™UƒVa@kUU@™²¥@k°a@a„K@U›ƒU@mmm@ów—ѱ¥¯@@w™Kmw—I›¥kU¯UmakJmIUaƒVkKUkm@VUUa™Uƒ@UaƒKUK¯@™w™UVŽUIUKVw™k™¥™wƒbVŽ@xn„@lWnXxlL@`„XlJX¦l°XxW¦@¦Ul™n@Ž™@@Um@@VXVmx@¯bllUnUJ@VULVn@b„xV‚VL@b„„VlnVVblV„ÈnVlIVJœLô„lJ@xl²„"],encodeOffsets:[[118542,37801]]}},{type:"Feature",id:"3705",properties:{name:"东营市",cp:[118.7073,37.5513],childNum:5},geometry:{type:"Polygon",coordinates:["@@ͬUǪlô@°Uœw°ōĠ¯š»Ģ炻XÇ@w™wƑa™ÇƒkwVƑ¯@řķUmm¯w@kƒa@mV@@anIU±m_ÛW@_mWVU„K@IkK@UW@@a@K@™L@Vk@±U@UV@lm@mUU@kLm„„xV¤@xV„„x@xUXmx„xƒ„bV`UnUJƒn™U@lÇkkllX@l@VkbWbkLVbnVVl„„WV™@@L@VXLll@xVXX`ôIlVXb@bVLVll@@¦nlƒÈ@›aUJkĸVÈÇè@x"],encodeOffsets:[[121005,39066]]}},{type:"Feature",id:"3701",properties:{name:"济南市",cp:[117.1582,36.8701],childNum:5},geometry:{type:"Polygon",coordinates:["@@²¦˜Òôxn@nn‚@V‚œ„°VlXU˜UX@Vl@XVmX@JnnlJVxnXV`°zXbV`VxV@„z„JlbkŽVnVV@X„@š`@ÞkL@bm`mL@bkbšxnVm@xn@VV‚@XbšKl@xkV@b@l@nUbmVm¦XVVV@VUXVVV@XVWb@VÞVVb@X@JnXlWšX„x@x„UVV@aVKVUX@lK@UƒIUWnIVmnL‚K@w@K@UU@ša@UVU@¯nyUman™VJVVk@ykaƒIƒU@@ƒWU@aXK‚IV›XIl@Xb@al@Èb@JVUlVna@UmU„@™VKXaò™Xƒ°IUwma@aU@UU@wVW@фw@a™I±`kbƒUkw™UmJ@UkmÇUUkmKknUVƒ@mJUkaWkƒa@KmKkUƒLmyXa¯_@WmImmbƒLmUkVUbUVƒJ™bƒUkkWJkUƒl™IUm™k™Lƒ›„lK@knaVmkI@mWaƒLUK™UU@@VmLUVLWK@UUUƒWUkkVmx@„Vl™¦"],encodeOffsets:[[119014,37041]]}},{type:"Feature",id:"3709",properties:{name:"泰安市",cp:[117.0264,36.0516],childNum:5},geometry:{type:"Polygon",coordinates:["@@n¼šŽW„nxšL@x°@š¥Uk@ƒnwlUVl„XVV@VXL‚KVUnK@UV@šVVL„KXb@nlJUnmb@lkLƒ‚„œšKšlVnšJ„klVXIll„Vša„IVUValUnV„K‚annnJ@X°`Wbnz„KlVnL‚Ž@L„bXl‚bVlnI„@VUU@UmVƒ@U@Uš¥@VmV@@_Ua@m°@@ƒ„kmUUm@UVmn@nX‚@@a„anJVUVL„mlIVJn@nkVLVa@KVmVLXVVLš@@U°bn@VaV@@K@aVkœbWaXUVymU@aUImWXƒ@™¥UaVwUaVwUUU@WWƒ@k_™VUKÇa@ƒƒnmxkV@LVJ@X™JUbƒVƒ„kUWVUIlƒLƒwĉVƒaU@VbƒJ@bƒUUL@mVUK@wWkK@UVWUIÇm@UUI¯lWK@kk@UL@lmU™VkbÇaUVVnJlIn‚WbXb™LƒxVln@VbV@V„UV™@kƒƒIUK@UWm@UU@LƒK@KU@Uam_ó@™m@L@lƒ@„@x@nWJUU@L™`k_ƒJWbUKkmLn`mb"],encodeOffsets:[[118834,36844]]}},{type:"Feature",id:"3710",properties:{name:"威海市",cp:[121.9482,37.1393],childNum:4},geometry:{type:"Polygon",coordinates:["@@VbUnVVUxĊ¼š¼ô@Þф¯‚WǬLŎUÆW„¹Uǃō¯ÑƒÝkţ™™ţóġ™óL™ł̥U™wm¥kÝmkkKóbÝ@U¦@‚mb¯LkšmJ@x„Lmn@lk@ƒa@Xƒ@ƒlXbmJUz™V@bVJ@n@x„blJXzšxV@Va„KVUXLlmVV@In@Vx„UlW°@nLVK@zXVVal@@V„w„bVKšL@bnx@„WbUJ@VnXVlVxl@nnnV@„lV@L„‚"],encodeOffsets:[[124842,38312]]}},{type:"Feature",id:"3711",properties:{name:"日照市",cp:[119.2786,35.5023],childNum:3},geometry:{type:"Polygon",coordinates:["@@UaVUUKVk„JVaVIČb@Vam@ka@Ul@„Uô„VK@UnKVLnKlkWVa@¯l@VbÈlV_V@XWW_@anKVwUmVw@@Uny„UVblKVLX@„aô¯ó¥mÛĊÿÈ¥š™Þ¹lUīƒ¯Kĉ¼ʟbÇV™U™ŽUŽ™XmakJUnmV@bUnmJ@XnJVLn¤UzmJUn@`¯ImŽU@™nƒKVkkm™KWb—b@xƒk™@mL@KƒUUVUKkbWaƒXkK@bkJWbnbl@UL@l„Lš@lxx@b‚nUVlV@¦²°@bVx@Jƒ@¯XUJ@bUnlxVŽ„X@‚VV@b„L@nô`@bkbVVÞL˜xnU"],encodeOffsets:[[121883,36895]]}},{type:"Feature",id:"3703",properties:{name:"淄博市",cp:[118.0371,36.6064],childNum:4},geometry:{type:"Polygon",coordinates:["@@nƒlKV@nVn@@kVU‚@²VVaUƒ@wmKXU@UƒUWwUW¯aU_ƒJUV™—VK@U™JU™@kUƒw@UlnWU_@›lI@U@wUml@@mVwX_„KWUXKVa@UVUUwšJlaXWUnƒ@mla„n„UVWkIV¥V@VVVI@a@akakLWKna@aVwk@WUƒbUlk@™k@U¯UWWU@mUUVUXkVmVVV@nkVƒLƒVÅwƒ¯k@WVXb›aUl@bV@@b@xkVVXVxkJ@nk@@ŽVLUlVb‚VXUVVUzV‚™LVbUbV„VWVkLmškJ@n±@UxU„VVkV@bƒx@ÒUX@xVVV@°J„„X„lK@bULUblÆÞV@b‚LXxmV¦ƒV@xƒXVŽğ@±LÅ`™IUlVbƒnšbXšllVnnlVLÈw˜K²ŽšIlanVVVlL„wXlK„VlUXƒma@knwƒWlkšVnU@mVIUl²aVJ‚zXJlI"],encodeOffsets:[[121129,37891]]}},{type:"Feature",id:"3704",properties:{name:"枣庄市",cp:[117.323,34.8926],childNum:2},geometry:{type:"Polygon",coordinates:["@@‚yUU„U„kl@@aVmšLXw°»°w@y„L@UUaWXKƒƒVknwVKlmš_UmmUXK@ašw@k@mUWmUL@ƒ@™@£@KƒbÝV@akw™aULmƒƒbUK™LUU@lm@—°mL@nUJVxVXU`mIUxU@UnU@@lW@@bkLW@UVkKÇ°kLlŽƒbnUÜÇUUVÇ@@Xkl@XV`UbmbUbU@WxU@¯¦m°nL„aVblVXal@XKlLVVȄ‚L„KôlnbšI@„V@VJ„I@lVVÞaVkXU"],encodeOffsets:[[120241,36119]]}},{type:"Feature",id:"3712",properties:{name:"莱芜市",cp:[117.6526,36.2714],childNum:1},geometry:{type:"Polygon",coordinates:["@@lmnLVlÈVln@VnIšVlx„Vla²_šJlUUUVƒVw²@@mlIn™lKXU‚UUƒVaUašKUVyUUWVUUaVkUK@l@@mlIUwUWlU@w@aU@@LU@Ubm@¯a@V™@UKWUUKUn@LUbUKmlm@UIkJƒnUKUVmIƒb@b@mWm@Un@VVnnVƒl@„¯@@nVb@`U@Un@Ž™¦@V@VU„VnV@"],encodeOffsets:[[120173,37334]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/shan_xi_1_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"6108",properties:{name:"榆林市",cp:[109.8743,38.205],childNum:12},geometry:{type:"Polygon",coordinates:["@@™ýVƒnIW»ƒW@»kUÇL—݃U¯¥ÇIUWWїUWwX¯mƒ@»n@ÜÈķô™@a±kȱƒw„ÑmwçċmU»ÆkkVyIm™ĉÿ@ƒÝ¹ƒWnwÇVš™Åaƒzmmĉ¦ó™kVmx™xU¼VškVm_UlVlk„°IV‚kmJa›¦k™™LmmV@XmKnšlUô›VXbƒbƒ@UaÇLğܙ™Åwƒ£mKnmċwÅ@UkƒbmaVƒƒƒn@m¯aU™Jm_k˜@kWXyl@@kÅamw™LU™Þ™ƒ™mWÅzUKƒš™Uk±@™b@nnK‚bX¤mzVšŽVxÇn„‚¯„@ÒknWƒƒVUbkķÈÑWkk@Va™™U@„mUkbƒÝÅ@Ý¥ÇbkĬ™XV`kLǍVmalUUa™nV±nwmkƒJ@Inƒ°KVw¯UnÅ@¥™ƒ™U±bUU˜±œmWbÛKWnUm`UƒVK@bmnœm‚Èż@V„L@xƒxmš„Ť°nŽ@VmK™²VlšlKk„ô@„êÜV@VXLlmš¦UššV°Ș¯²ÿ@¥š@ƁĊ˜²IšmĶnnb°b„KVƒĸLl„Þ@UȮš™Ü°IVƒÞÝސlŽœx@ŽķĀWŽ„Ux„èƐ@š°ŽXnšlĊĖ°m„nƒšV„²V°ÒƦ„aބ„˜@zll@bÞĀšlš¼nKĊ¼óȂb²±šIǪÒ¯ĖV@„lxnVlk„JlaXwŌĉ„„@VnŽššlÆĕ„UÆLœèŌŤôxȚlUœ@šxlaUċĕXm„IWmnkšVVƒ„VW_@aÈWUUmk@ƒ¯çVm»™±W¯n¥V™mkXw±ÇVwƒ"],encodeOffsets:[[113592,39645]]}},{type:"Feature",id:"6106",properties:{name:"延安市",cp:[109.1052,36.4252],childNum:13},geometry:{type:"Polygon",coordinates:["@@@kkÇmIšmUwVkUƒƒU²WmšVkm@m`mIĢĕUƒVa@™mXƒƒÿVVkyUýšĕ@l_UmnƒW„KVkţ™™¥™aƒwğ@™@aôƒ„ƒWa„kUmƒa¯¯™a±£kx™mmxUwÝ@xmU™b¯K™wó„Ý@kmm¹Ub@lklVbmnnVUV@x›UknƧJUX@ŽƒLÇWkw™LķƧÅwWJk„ƒLkþĉxWz™JUnǚkš@Ɛk¼ÜÔÈKšè@°lșÆk¦l„n@l¼@l¯L™°UU™VÇ°ƒ¹—`m¼mXk‚™bUaƒV@U¯x@¦™Ç™„UUmlmUVm„nnmlkw™@@šƒ¦Å‚ÇLmx¯Iklš„@¦mÆ°VUx¯Lm„@J„InlmxU²šmVbkV‚bUnȎlKU_šWlīÈaÞ¦Æ@„ÞlanV@ƒšVšUbl@XlÇÒĸlŽVa„UX„lm@Ñ°ƒƒÈmUw‚U™nyW£amL@mša²@lšV„™VLÆynX„šÝšVššKnxÆb@lk@WzXŽ@ll—n`šIV‚°b@n„m„„‚Unb„aVlÆ@ČxmnnL„¤ÆxššĠÛÈKVb„@„aWaœU‚ókVm™nL@W‚UnnšKlšœ¥‚bnIlU¯JlƒUkVkn`lUU™V»šwnwlUôšĊ¥nn„yÆb"],encodeOffsets:[[113074,37862]]}},{type:"Feature",id:"6107",properties:{name:"汉中市",cp:[106.886,33.0139],childNum:11},geometry:{type:"Polygon",coordinates:["@@lKnb@n„lWb°bkxĸwVb@ł„nlŽ„ƒĊ¥šL@XŽl™ÈƒVblÈK‚b„akVwôml²`‚nœ@‚nVKœl˜k²xŎƒ°¦VU„JĊw@çnWçރVkUóÛ@¥kwš™šUmƒX¯WšÑkƒ@UymIUwlUn¥‚mUk²a°¯V»@™ÝVș„ÝċÅÅVl»@l@a°±@_kammÅb™a@ƒƒm@ż™KknõĠ—@mšƒ„¯LÅw›‚—LVxmb@¼kV™@mw¯wVakKW»X±¼¯Vkxƒb„¼WŽ@nx@x±bóakbƒ@ÝmU™@ķÓÛL™kƒVUm™k¯¤ÝLUlÝ@Ýz™š„x@x™°™™™bƒmƒX¯aUJW¯—k@bÇWƒwÛwWxƒ@XWlb@Žƒ„VŽÈUlwšLnl°VlUô¦œU°¤VšUxVXUxlbkVVlƒI„°„ÅVlU°m@k„ÇU¯xUlƒLUlVL@b™°ĠInĠ°ÈnK‚„@xÞa²n‚aUyšXUKVkšWô¼Èa‚z°JXUVÇV_„JVƒšz@Žnb"],encodeOffsets:[[109137,34392]]}},{type:"Feature",id:"6109",properties:{name:"安康市",cp:[109.1162,32.7722],childNum:10},geometry:{type:"Polygon",coordinates:["@@„bĊaƨèšwôô„¼šb°ašXVƒÞVUÞ@‚aXƒm¥kImx¯¯ƒV@anU@UÇéğL@ƒ¯¥V£mƒ@ÝÈb„K‚™„X°wČÿ˜ƒ„b@xÈblxȯĊ„„mÆUVƒ„nÈ@ƨÜLĢ¥ƒŹnƒ°Vnn˜K„aô_ȃšwU‚aXmnW‚¯kl›LXƒÇ™ō¦ÝaÅVmbğUn¥±wÅéVƒan¥ƒ„U„»°am¥„£ƒÝ@ƒ„wVw™¥nU„уUmmVwmķIÅaóVWxkblb@ból@œğÒĉ¤ċXƒ˜¯X™xk„Ç@óÆÅx@š™xķ_kmݎǣkblb@`¯²@bk‚‚@k¼ÆUČƃÞǚÞU@šU¼¯°±bVlnm¦kVVxnJVz@‚l„™ÒXW°n„™V™šlx@¦ôÜVUl݄Xèm@è"],encodeOffsets:[[110644,34521]]}},{type:"Feature",id:"6110",properties:{name:"商洛市",cp:[109.8083,33.761],childNum:7},geometry:{type:"Polygon",coordinates:["@@²nl‚ôbš„°aVwnKÞIš`°wšXôw°VĊ°@ŽÅš„ÞÆV„zÞK@xšŽ@a‚LŚ@b@ŽnLlƒ@šln„mnLVw„a„bVƒ‚VnbU¼„Vƒ°„bl„šbÈ@ĶŦb˜@nÇ@amIyUI@ĠVmôƒU™ƒVwkwlanJ„¯lwó¥@an°Jš_„‚@š™nóƒó@£l¥UwmašÑ@ƒUm±V_ƒJ—£›J—UW¥¯@ƒ_k¯¼mUƒVUè¯b@wmL™»ğVmağI¯¤ċIUW™XƒKĵ¦ķaƒJUb™IƒlUóVmk@WÅÅÇ@ƒmU„ÅVƒnĉƒÇ°kwÇa@wƒa—„ċĀ¯xƒWšƒLÇa@Þn„U¤°¦@„ĠKÈê@VmV@b„U°°nwlJn¦W„bÝ@VŽ"],encodeOffsets:[[111454,34628]]}},{type:"Feature",id:"6103",properties:{name:"宝鸡市",cp:[107.1826,34.3433],childNum:10},geometry:{type:"Polygon",coordinates:["@@@ƒ„£@›°Išb@¯°ynŹƒaUƒlƒU£„Umšĵĉ@@ylUÞ@@£kWU¯WaU£¯ÇV¥ƒ@kb¯wƒn™¥ÇkUÇnUƒ@¯±›kULm›@m±_kŽónUxlŽƒbaÇLkŽUaDŽkšW@™Kĉ¦ƒ„kƒm@ŁUaķxlw¯aXaƒk@mmakL@šmšÛŽ@¼m„@l„XV`ƒn™KUš°°@²š¤UÈ@VxmôƒxKl„VV²aVw„Xla„Vlx@UVnŽÇnk°ƒVVL™lkI™šƒJÇk¯V@šknƘn@lznmlVkzVŽ„VVxš@Ux„z@x±¼VxxU„l‚kb˜@„¼Čk˜VXlĠkôV²w‚LUKlwœJ@a‚IV¥Þƒn¯Ün„‚„@nk˜l²kÆ@š°„aVbnI@™š‚Ťn"],encodeOffsets:[[110408,35815]]}},{type:"Feature",id:"6105",properties:{name:"渭南市",cp:[109.7864,35.0299],childNum:11},geometry:{type:"Polygon",coordinates:["@@@ÈôL„xUŽ°„Þ@mŽÈnl¤nUôL‚wX`@ÞÝL™ŽUšmLô„„ŽôbVbnºlnÞ@ôƒšx°LšanV‚wÞ@Vxnwšnlw²¤šb°°„bVnƒlXbƒ„ó„@bš‚Ġ@„xšbš¦ŤšV™Xġ„£W¥ƽɽƒó@ýóƝÝ»„£X™mƅšĊkUƒ„@™™šó„kťaĵŽÇ@™akƒƒa„¯ƒUV»maUU„ƒaƒbUxmKƒnkm@™k„mK@ƒxó@¯n¯KǦ@ôÅèlxkx°nƒƾ¯KU¯WķL@VÝIUb™yWbX¼Ç°"],encodeOffsets:[[111589,35657]]}},{type:"Feature",id:"6104",properties:{name:"咸阳市",cp:[108.4131,34.8706],childNum:14},geometry:{type:"Polygon",coordinates:["@@šIXyĊwlý„KlƒXIVaķƒ™»a›£„¯aVU@a™‚wÈō‚ašL²»‚VœUln°WȯW»XašzVaÞJ@Uƒ»@¯Ýbğwly@£kÑţ±Wу@ka™IUƒƒnƒ@¯ƒómţU™b™U¯lÇIÝb@¤Ý@kV@zĊ@™ĶnƒVV¤k„V„„bmź¯z@°™a¯J@œƒ¤@„„bUx™bƒ„@`™xUÔ±ºVXœW‚„UnUJ‚LĢ¯ÈKlblmÈXŎ°šU„°LšŽlkÞKš@Èxl_°ĶUÒkblš"],encodeOffsets:[[111229,36394]]}},{type:"Feature",id:"6101",properties:{name:"西安市",cp:[109.1162,34.2004],childNum:5},geometry:{type:"Polygon",coordinates:["@@°²@‚„mVVÈÈlš¦„m°xla„@U¦°ÈV¤XbV°lXÞaÈJ°kšVšaŤVôn°„„@„mV„šJlb„@XÒŤ²lÒ@¤kzĠxÞa@°„¼ĸK°XV‚°L„ƽ¯mlwkwÆç@óÈ¥°L°mô@„w@aƙK@b™@wÝLƒyÅUƒÝƙ@ĉ¯¯Uóx™W¯x™_ÝJmLUx¯b™ƒóak±mÝUU„™W¯b™aƒ»óó™xƧçĉbƒaĉxƒIUV¯¥ō„±w—l"],encodeOffsets:[[110206,34532]]}},{type:"Feature",id:"6102",properties:{name:"铜川市",cp:[109.0393,35.1947],childNum:2},geometry:{type:"Polygon",coordinates:["@@ÆxĸƨšKlxÈX„K@VWƨIlmœV@wVUmUnmUalk@kVaUaóaƒóƒnKV™šÞK@ÝW_xóKmVk£ÇmnÝ@¯ƒVƒwóK@ǯXkm›VU±¼™KbÇŎx‚š@bUV°bƒœ¤‚bš¼ĸ„Ub"],encodeOffsets:[[111477,36192]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/shan_xi_2_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"1409",properties:{name:"忻州市",cp:[112.4561,38.8971],childNum:14},geometry:{type:"Polygon",coordinates:["@@Vx@lnbn¦WlnnUšmš°š²VšV‚VVVnUn„ºlz@l„„@Jƒ@kXWVXl@Lƒa@„ƒKUL„ŽlbnKlLnK‚LnKÆXn°šbVV@bUVl°Un@LnaVJUbW@UX²l‚@ČwlVVIšWnkÆa°„„anV‚Kn°™UW¯@™aVUVk@Un@„aV@ValwUanmWU„k@WVUUanaVwnLVl°@nk@mVU@UVK@w„LVKVU@ƒ„K@UUKVUV@@bnL„a‚V„aôšlIXmlKX_°KVV@bVV„@šzV`kblI„V„Ul‚šL@bnV@V„Ċll„„VlIXW@k„a‚U²blKšVnIlJ„albXXlWVn°JnšnL@l@XlJlaX@„X˜W²@l_VmnKšU„blU@mnkVK„¯@U@ƒma@kX¥VƒmakkƒLƒa@aƒ@WIUUVXWWnk@a°a@kkm@kUUmJm@WUUUIk`m@V—kaWWkX™KmƒXk¯ƒ@WKƒLkak@±bƒw@ƒaƒa@akaƒ@ma¯@ƒL—KÇÅkKWbkmġ™±ÅUƒLUK™VVkƒm¯LUVVbƒ„UwUW¯bm„ƒULƒxWJ—@ƒklmkUm@@KnwVkVK@akwƒ@@a¯bƒKkn›VUI™b¯mmbk@UbmKUL@xUUƒ@klmLUŽlVXI‚VVVUVUœU`mLXVWbXnW`Ų°xmŽxU@mĉƒƒwU@mbU@UƒmbkVW¦kJ™@ƒX@`¯Im@UlUVVnb@bWJXnmbƒJUU™UUaƒ@UamIkaƒxƒ@@x@b"],
-encodeOffsets:[[113614,39657]]}},{type:"Feature",id:"1411",properties:{name:"吕梁市",cp:[111.3574,37.7325],childNum:13},geometry:{type:"Polygon",coordinates:["@@@a@w„@„wlbnJVb„@VbšVVV„InaWmXI@a‚aUmVUVkn@°J@_„Wš@lIX¥lUnaV„V@naV@„xĊ„n‚V@‚wn¯wƱX_WmXaWUnKV_V›VUUUUWJkUVnKlk¯™@@kmKUaŁ±KkU@WmI@WUIlUUmVwXƒ‚w@ƒUlUVwœV‚@„Lnb‚W@anU@UšaVkô@l»n@na˜JnUÈLVaƃUUVm„VKVƒ²L@mU_lK@UVWkU‚a@a@U¯aUaƒÑóÑUb™„ƒKk@@aƒk¯mVaUwVƒÑkWUmK@UUKmXUWÝwUa™LUU@aWJUUU@Ua݄U@WL@VKVaVI@WnU@alIVKƒƒ@kIƒmIkJ@™m@ƒ™@@_™K@xƒ@kaW@U„@Vmn@ŽUK@mIƒJUXV¤XXWlkKƒkkK@XmJVakImJU@ó™¯LWKUV@nUVƒLkxmKkLma@kXKmmƒLƒab™LmK@V@mXVÆUxƒX@`nL„aV@@VmLUVnLlLš˜„b@„šŽ°²nx@b‚VUxlb@V¯bUV@zV‚XVĊXVx@lVn@VnnmŽUš@LlJXVƒz¯VWVXbšV@bmn™VUVk„Çþń@XVxmbUlV„Uln„W„@„Xl‚@VLXÒ@bÞJ°¦„L˜ò„@nU‚b@°„X@ŽXbmVU„V„nb@x‚x"],encodeOffsets:[[113614,39657]]}},{type:"Feature",id:"1410",properties:{name:"临汾市",cp:[111.4783,36.1615],childNum:17},geometry:{type:"Polygon",coordinates:["@@nW‚@@UnLšK‚a„b„KnnWL@lnblKnLlw„KVU@mVUXL°KôšV@nIlJUbnI@WlL„llLXkWWU£VW„InJ‚@VL@nm@UVƒX@lb„@@wšL@`‚@„šn@V@lw„@n„VmVX„WmwnUlƒœa@_lK„wVlUn°xVKVXXWlUšVVI@K@K„n°KœwlVlU@kna@V_„Wn‚m„UVm@kXml_@m„LlKXw°m@_ôJVUV@X™l@UaV@Va°I„lk»VwUkVmwUmmVn@V¯@KƒU—wmK@U¯wUVÝ@mJƒU—nWK™@@UnKVa„_lykUmKÛnm@™x@ƒUUlwVk™ƒXW@ƒa@Uƒ@@K@ƒkIV™nammVakUlƒ@wX@@kƒ™¯@ƒVVbml@„„°UbULmlVbnbÅK±VƒKVXUJWa@ULWaUU@@U@aWK@UkxUKƒLUUUJ±UkL@V±kk@kam@UV@l@LWl@n@VVUx„LlUUx@VUV™U@aƒIUl™L@°mLU‚ƒbkUUaWUUaUU@aWK—LWJ@bUL@VUVVbU@m@a@kmKmnĉlUK™XƒWUblb—xmIkƒƒU@xWb@lkšVx™LXŽmzVV@bklVVUzm˜@bk„@Vx@xlŽU„@lUbVnl@„Wxnl@n@ŽUbV„mL‚mƒb@`X@lUX@@xlnkLWaUJnnWV™Vn@l„@bULVV@l™V@XnJVX"],encodeOffsets:[[113063,37784]]}},{type:"Feature",id:"1407",properties:{name:"晋中市",cp:[112.7747,37.37],childNum:11},geometry:{type:"Polygon",coordinates:["@@@šlInJ„lJ„@‚„ULkJ@bmV@XUJUb‚L@UXKV@ރVbV@VVXI@bVVšKVbÞxVXnWVL@VnLV‚lX„ÒUŽVxUb°n„l@bl@„LšƒVaô҄ÒVb°b@VnLnnV@lmn@lb„U„V@„‚JœUVV‚Xkl@lUzmJ@xšXkl‚bUn„JVšUb„nU‚lb„V@nlLX@lakšV`Ub°š@XVJnU‚L²KlxnI@KV@lbUbVV„KnVl@„zlm@Uš@nŽšI@WUaVl@@mVU„@XkW@ƒnkVKVƒ„_Vw„y@knwVa‚@XalU„@šVnml@„X@V„L‚KVaÞbnnlJšI„mVKn„VVVInVlU„@„m@™mXK@UmyUI@mWUUakamw@wUwmLkakwVƒmK™w@wUam£y@am_ƒW@™UU@knmm„amU@WUa@knw@ƒUUUUV@nƒJm@mVUkKVUUUkKmwƒKULƒKUImV@lUn™nŽm@mbUK@°™bUnmbUmkkƒWUb@am@UXkK@a±@™V™@ĉř„V‚UXVxUVkLWl¯@@bULUlm@@nm`—XƒlWakIkm›VUbUL@Vm@kIƒ@@Kšm@—VaX‚I@W@aU@kUƒVU_™KƒbƒJkkǎ™b@nkKmL™wÅW@kVUUƒVU@WUIƒJmIXmma@_kyVaUUlkUm@ƒkU›x¯Lƒm@L@LUJ™UkVWXUWUL¯wVmUkƒxkL@`›bk„mVnxƒXUWUnmƒƒ@kxU@"],encodeOffsets:[[114087,37682]]}},{type:"Feature",id:"1408",properties:{name:"运城市",cp:[111.1487,35.2002],childNum:13},geometry:{type:"Polygon",coordinates:["@@„Vl„nJ˜wkaVa„XšWVLĊknmnL‚l@@bn‚V@UaVU@UVK@aXI˜KXL@bVVVbXVVblV„aVnK@¯šKVk„J@bšVVU@UVwkVƒKVwUUm@@Xk@K@kVUn@lbl@²l@UlK²VVIVV„KVLlw@VXL@b@VV@VŽXbVK‚@XbVIUW„L‚U²ÆLmaUankVKVaƒ¯@ƒnkUa„U°@„š‚n@@kWa„UVaXUW@IXKVw@U™ƒ„™WU@W@@UUƒU@mn@ƒ`m@UUULkUmJ™IUƒ@@UƒK@U@›anƒ™ak_@wmKUwmakV™kmK™V™k¯b™wƒ`kwUIÇx¯»ÇaŃmn@@™mƒmUkV@wkKW@kxmL™UkĉLÝk™xÝw¯lóVU„mV@ĀVVX¦W¤kz@`Vx°„²ĸ‚š@„Ul@x„êĸNJ°¤V„VlXLWnXxmV@nUl@„"],encodeOffsets:[[113232,36597]]}},{type:"Feature",id:"1402",properties:{name:"大同市",cp:[113.7854,39.8035],childNum:8},geometry:{type:"Polygon",coordinates:["@@²£šyl@Ȑ˜Ė@bĸŽĢbĸ„˜X„a‚KŤnn@ŎôllÈx„nVnÞDŽV@b‚nXllL°KšbVb@J@b—„‚„@ŽU„„xlKXLlKlXk„@Ulk„JlkUƒVKXUƒÇVIVm@_nǚLšašl‚w„VnU@UUwma@aƒaÝaLmUk@@Wƒ@U@@X™wVWÝUUUk@@VmLƒKV»nwUw™aUL@`mzƒJUIVƒUaUw™KUaVIlJôanÑlLVUn@ša„@VV„@@UUwVK°Vn_lJÆLœéW@UUUÅ@»lm@aÞIVwXW˜UUkkm@U@aƒU@mwU£VWU_kWmƒXwW_°yUkkK@UÇK@kkUVymóK—U@KWIƒbUak@mJ@bkbmLkŽ™UmƒkVU„W¦@lnb@„@Vƒ°ULml@nkVƒa™VmLUnk`±@—XƒWW@kbǦXŽ¯„WxI@xmbmxXlWV„„@bŎUz@J‚b@bÞb™ŽU@Wbk@ƒxk@WX¯VۙƒWÝbÝUkVUU@alI@a@akLWa™m@U¯UUmÇL@K@aU@¯VUkƒKmX@`@œkJ@nV‚Ub@lbVÆXVW„ULU`VbkLUV@XWl@bXJ˜@VbV@Vl"],encodeOffsets:[[115335,41209]]}},{type:"Feature",id:"1404",properties:{name:"长治市",cp:[112.8625,36.4746],childNum:12},geometry:{type:"Polygon",coordinates:["@@Uk™Lky@I‚JVa@mÞaWšy@_W@_WƒXVlUVwš@nw°K@m„UƒVaƒmVkU@mmmnLVUmKXa™U@IlKVUnK@UmWkX@WV_Vƒ@akU@a„KWIXyƒIUVmUn™Ua@WaXUVKVmkUWVkUƒLU@@VƒbƒKbƒIUmƒ@mbVL—x›WUUkn±V¯wƒbÅJUbmLkbmKÅKƒbVnUbƒV™KUb™KUbmLKmƒb™aƒKkUm@UŽnn‚VnxUVlUxl¼ƒk¯JUbU@Vbk@WšU@UVóI@`¯nWxkLƒK@nk`Wn@lUnƒVnm‚ƒXU`@mb@lkV@„VnklVVUblz@`nbWnnJ„IVJ@XUVV„UV@lÆXšxnKlL@mšaȍll„I„ašLV`„UlVV@@b@XJWUb@˜™n@L„@lJn@@UVKVaœUlnlJXb„k˜Wn_@mn@VkVK@a°@XklKVUUwVWUšƒĊƚ@šU²@@blLVWn@@bVa„XllVnnaVmša@¯VLnan@‚šmVm@knUVJ"],encodeOffsets:[[116269,37637]]}},{type:"Feature",id:"1406",properties:{name:"朔州市",cp:[113.0713,39.6991],childNum:5},geometry:{type:"Polygon",coordinates:["@@XXWVXVWnnlnn@èƼ@„„xlš„ŽV„nblšššVŽÈUVl‚š@„blnœL܃ĊmUkU@Ua‚—@WI@aXk@WVUlKUaV_VKXƒWUUÅka@VaU@mlI@›@_nW„LVl°UV@@b@LÈKVn°V@VšnXblK@b@bkJ@bVVlUÞVÞa„Xܚ°UXWl@„wl@XaV@šÝa@aa@IVyƍ@aƒƒXUWknwna@w‚JXw°ƒWÈ¥kI@W@kmKm™¯IUmkXWWkaƒbkImJ™UkL±aVƒb@lWXkJƒUkƒĉkƒ@UmU@a™KkƒVƒUkJlaU_™yƒ@UU@aUU¯LW`kLWnkJó™ƒbUƒbmK@aU@UVVL@VƒL@„UVULƒK@xUL@VUV@nml¯@UkmKUxmbVbUV@XƒlXVmnVbkxUbU@ƒbm@@VUlUVšb°@VX¯šm‚"],encodeOffsets:[[114615,40562]]}},{type:"Feature",id:"1405",properties:{name:"晋城市",cp:[112.7856,35.6342],childNum:6},geometry:{type:"Polygon",coordinates:["@@lV„Lšb„an‚LnKVašLVašL„UVaUm„aÆLnLlanKVaÆI„a°x²UlmVVœX˜wUKna„@Vn„J‚a„L„a@UV@@alUkKVKnkmmVwUk„w@ƒ™@kxWUXƒW@@mƒk@aUa@a¯aƒLkKmwkUm@kL@K@aWIXmƒVƒXƒWkUVakL@UVKƒw@aUK@UUKmLU@¯n™KUwVƒUIWJUWmka™@UXƒJƒk@UkmW@kLWKVƒx@bmI@VUaVU@a¯@UUmVKmX@±`kÝKVxUL±akL@V™bƒLkKmVƒ@XWVUbƒVXb@lm@@lW@@xk„lVUbnnmbUšlJ@„@L„@@V„b@‚WXš„UlkxVV@„šwn@ÜmnLlVkzƒ`UbmL@Vš@XL˜m„VnIÞ@VU°x@VnL˜x„V@LU°"],encodeOffsets:[[115223,36895]]}},{type:"Feature",id:"1401",properties:{name:"太原市",cp:[112.3352,37.9413],childNum:5},geometry:{type:"Polygon",coordinates:["@@„@VV@wVKnLVal@na°nšaVJœUlm„L°a@b„@lx@bULUlmx@Ln@lVkn„l˜@XI„w‚K„Vnƒ°aVXVx„ƒUaVU°K„nUlšUVL„KÆVš²Ģ‚lnXalLÈƘL„KUaVkUanmWU™a@WwkUWU¯y¯Ñ@anIl@@aVU„m„I„ymUƒLUUVakaU@@LmJkw±LKmVUI@W¯™VaU_l™kbW@kK@mƒUkaVƒmVaU™ƒIVmalk™W@wnIVy@klkWUU›VI@ƒƒUƒVkam@knU@mmmK@bblVUX@VkLV`@n±KU„ULƒ‚UnVVńUbÇKmV—Imbm@k¼ó@Ul™b@VmV@bXmaƒK@›UUxkV‚V@„xW„UxVnkVVJ@XnJ@XlV²LƂVbnL@lš@°"],encodeOffsets:[[114503,39134]]}},{type:"Feature",id:"1403",properties:{name:"阳泉市",cp:[113.4778,38.0951],childNum:3},geometry:{type:"Polygon",coordinates:["@@°@nb„@lb@b„b„b‚@„x²al@lb„KXU@m‚kUWkkmUUƒVwV@XUW@™naVklKXblKnL‚ƒnLVanImaXKlL„ašV@U@KUKW„alƒXK@£WKXUV@VU„ƒUUVW„_V™@W@@K„@šƒUƒƒIWmXUmƒULƒn™JkImmÝaUbLƒK@UƒWk@mn™Uƒ@kVWb@Ubmx@lƒzUxƒ`U„ULml@„XWlƒ@UV@nk@U‚Vb@X™Jm™@@Vknƒyk@ƒzƒJƒnUV@bk@mJ@b°Ò°zXVlVXx‚@šbXVmnVbUlVb"],encodeOffsets:[[115864,39336]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/si_chuan_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"5133",properties:{name:"甘孜藏族自治州",cp:[99.9207,31.0803],childNum:18},geometry:{type:"Polygon",coordinates:["@@ƒaXamƒ¯wm@±°wUwV@UaVw²Kš™„U@UƒU„¥‚a„ƒ@£Þ™ôx‚Knkm™X¥™IUƒÝUwlk°V„@ƒÈ™‚KUwlkUyV¹„mšx²Xll„ÑW»š„l„w°UŎ„nƒ„„˜Jœƒl¯°V@wôIVÇn™nUllšLšVǚLô¼XW£@±„@¥k_ÇJƒkUéƒkšƒƒwXa@ƒšLlw²™Vx„b‚mš¼ÈxlLȃ„VWÞn¯mǙÑUÝlÛkwlĉmƒULmwUJ™ç@wkm@ÑlUX™ƒÑôġƒVa™ƒUф¯@wķÓkbV„mnU@@y¯IķKƒV@¹šaƒé@k„mÞU°¥@a¯@anKlblU„¥@óğç@Çw@wkla„çݱk¯±@ğÝUÛmݯwƒ@kb±¯akXWÜkXUÆÇUš¤X_Ɛw„V@¤ƒXU‚ƒbUƒŽƒIUlÇUkŽġ@™aXČmlUlèUV@„mVk¦Vxš@¦±š¯ƒƒ¯¯anlWš¯nƒƒÅw@w°KVak£m@klƒKknÇU™»óKšīlaUaV£@™™¯@ƙU™VƒÛÝÇXƒÇl—ÓlŹ„»WUğJ¯£mx™Lĵô›ºX„VlUll²bl„„lŽƒxónn°ÝšU¼mJUš¯nƒƒƒV@êĉ°Uĸ™w™@mƒ@¯kmXamѯaUwÝKU¥„mÅn¥Wmn™ƒ¹n±ƑƆÇôXê±NJnšƒ‚UôlĖkȂVÒ¯¼VnƒȮ¯ĀnƆ˜Ģ@Žk°V°¯ĢVlkšVxm¼X²™Ŏ@ŽVxknWÜ°U‚¯n™Æݜ@`„ôݲÒƒ‚Çzn‚mX@x„è°K°Å„UČĬóĖ݄ƒ˜ó¼ÅêƒÒƒbmšk@V„Ž˜„@ҁl@nĉܛê—x@Ėml՛J¯¦óxȭ°ÝmŽ¯Lĵè›Ā@Ɓ„l°żƒ‚šX@xmŽkV@z@‚„°blŽnÞ°J@bn@ƼUVƒUóŽóLƒ°X°ÝLƒxUn„°ƒĬƒn@lnL@ŽÆ@šn„KÆxnUnV˜InĬmÆnxŎ¼ĊIĢóÞ@ĊƒƨbUƒ‚mV¥lkƒ‚wnL„mšÅÆ¥Xƒ˜wU@w‚wUÞ™@alUUŚU™Vkkm°aU—°Ó°w°U„ƒ„b°aš²K˜¯œĕ˜@ÈbޏĊaš»„XVm°In„‚Ĭk¼Vb„ašJšôš£VĊan™‚k„ů™™nƒÜU@anKnĮ‚bÈmƎš»nI‚霣Ġ™"],encodeOffsets:[[103073,33295]]}},{type:"Feature",id:"5132",properties:{name:"阿坝藏族羌族自治州",cp:[102.4805,32.4536],childNum:13},geometry:{type:"Polygon",coordinates:["@@l@@þ²I@lƒ„VL°wnJ°Uĸ™Ŏè„Ilw„V°¤nĮ™¤Ý„lè„L@„ƒ„@x„l™è²ôĊ_ĊġVÈôJżīlbXšÆÈVŽkxÇVƒ„n°„¦Üb@è@nn@@°šUÈ¥WDŽ_Uala¯¯UǙkƒ»„mVwk»˜k²°VxlL@¤œ_@x‚`ȍ‚Ėöb˜š@l²alX„a@bnK°¦VK@nnWmx@nUnl@@lƒlĉk°l°UXkmW@Unš`k„ÇL„ŽW„ÛÈVxšVVlVk@l„IXb@ylXÈW˜Į„WŤzœy@šmIƒŽ²šJ‚š@nŽ°@V„„J°a„Å@ƒŎkVǚk™aUw„KVw™™Vƒ„@nkm™@±ôkô™ĊJš¼šInÑm±nIššÞ‚XȃĊxĊUÈbÜyÈ£Vkw@kVUV™„m@ša„»ÜbÈmƒUXwÝxƒUn¥@°ġ™Å‚aœJVk™aW¯Û@W¥—UŏĶ™@¯kUƒŃ@ašI@mmanwސ‚W@œ™mw°»Uřk¹±W„xVx¯¦U°ƒzţW™w@°ÇVÑk¯@„y°aš£š@šmšnl¼„ašÝÝakwUƒ±aĉImlĵn@ƒm@kkVƒ¯Ñm™ĸ™°x„l™œ@˜ƒXVÞmlÛݙĉUÅ¥mwÅ¥VaUw›™XġċaVůÛŹlwU¯U™ó±™xÛV±¯¯n¯mċƒLmnĊm‚™@™_kJWaXmwUƒĉK™»™@mwX݃UDŽkKÇw™»nƒaUw±škx™K@„Wb„x™„„lVê„lÈIl`@¦ƒŽ@²X¤Wó»™KUșŽ™KkkmVmšUÈóJ@x¯Uk°›„—Iƒƒm„ōƒ¯Vƒxƒk™ŽX¼ƒÒkk±W™wƒnUºVzklVxLǚ@„ƒŽ¯UklVxސV„šJW¦nšmlLówݚ@¤ƒ„bƒ¦„V@VƒV™š±LUxVbU@Vx¯x@²n‚°xn„Wb„b"],encodeOffsets:[[103073,33295]]}},{type:"Feature",id:"5134",properties:{name:"凉山彝族自治州",cp:[101.9641,27.6746],childNum:17},geometry:{type:"Polygon",coordinates:["@@ĶóšKnw°¤ĠIXVƒ¼kź˜Ôk‚„ÈWŽÞȄÜUVšÅš°@šš‚@U¤Vbkb™ĬôLš¼ÈVlm„Llkn@l¤Ub¯L@xÆx„„°mX™mk°b„°°„²™@¥‚™Uwl¥nU@ƒVUkçVnkWċšbĢ@lÈVVk„J„‚V„aV„W@£ƒUƏxW`™£ÈVVÅlWXÛlW°b²la„@°xnÞVÜĠÞ²@l°Þ²ƒèkblŽ@xÈx@Ġènal£nU‚Dz@‚ÞK„nn¤@¼˜°U¼„nV‚šXU‚šbn™ĠUVbUlVš°LX„@lV„èÜUnK@_ƒyXVyUwmIU»Vƒ„kÇ¥šÿkkV¯m±n@ƒn¯ÜanVVƄz@Ž‚bœwÜb„m@wša@kƒmk»@™a@VUUó„w˜@nb°mš„XŽmnVbގVôanwšJ‚ak£lw„˜šLšÅnÝ@wl¥IÇӃ@U™™Lƒ¼kVǃÅó¯kVmmw@ƒn_‚Vn»°LÅ»@éÇçŹīVÇÝ@ÝğU™ƒaVݙ™š¯ķlŭġlƒ@óÞۂċ@¯nkUӄ—m±™IVġUwóKUn±¯—K›w»ƒKݐV„nl@„óxUwţ›£ĉƒUmŗÇ݃K™„ÝUlmKƒ£UVŽ@ÞȎW¦„Ò@Ĭšnny‚@nÒmœVŽ—¼@°Vbl@VlnUUwl™°a@„œ„@llnk°lbnKWĀnŽU„VxUŽ‚²Å‚m¦Û›ÇŚƒaU„Vbš@¦m`móX™Umm™xÅ@±Þn虲™U¯»m™ƒV—m@wƒU@wݚÝmLƒa@„™VÇUk„l°¯„VlkVƒ¦UšmxƒaULUèVx@„kIUxmWV¼¯VmȯšU„nl›È—@m»Å™ƒVWxÅbÅğW@kƒm@kVV¦mlnn@‚ō„l¦Åƙxkœ"],encodeOffsets:[[102466,28756]]}},{type:"Feature",id:"5107",properties:{name:"绵阳市",cp:[104.7327,31.8713],childNum:8},geometry:{type:"Polygon",coordinates:["@@„ńlV°š@Őĵ˜VX»ÆUĊќJ‚w„@È»m»š£°Kšk@ÇnÑƍš@„w°JUwnw@wšbVbš@VlźLUw„aƒ»„aUklyUUVakwWXwWƒUxkLƒmn¥mšwk™˜UX™lJ„w@aƒIk°X„¥Wƒ²l¥šaU™„IlmkklƒÈL@m°nlWU™aW—š@Vƒ„@UaV¥@ašk@Çk¹ƒK@a™K@kƒKkšÇX@VU@kx±V™èkIWwUVUkkKÇ@ƒa@wkml¯@kUWn£Wa„aVwnaV݃w¯@UaWx—n›JńUxUšma@L@„mbUŽU±VVnkxUƙ„VŽm@kkKW°„X@¤ÇUkÆÇnU¦¯ŽkƒmLVwÅK@UóbÇƁVƒ¦™L@‚±êX¦mVޚkÜÝnWU—„›@kšƒŽ¯wķšnš°ÒU„lln@@„ĶmnkĊJ²bV„lxÞb™Þƒbk»™m™n™@™¤¯bƒz@Žl°UÒ¯È@ŽšxŤX„yV¯°¥Uwƒw²XlºVŚ¯¼nx›š@ŽXݏmxnb@n™J@b"],encodeOffsets:[[106448,33694]]}},{type:"Feature",id:"5117",properties:{name:"达州市",cp:[107.6111,31.333],childNum:7},geometry:{type:"Polygon",coordinates:["@@Uxn°‚bnŽlUnÒƃnn@n‚¤„LnxlU„ššV@„Æl„x°XXxl`XœƒVW‚œL˜è—„±nÈbƒŽ°b@š²x°Kܼ°ĉ„V¦lJnU@¦šÞ‚JÞğ„mšLÞ»šxU„lb„VÆann„alŽ„VƍX@lnŎV„mU™maÅXƒa@aWmœ@‚£@wĉJVƒkk‚kkmƒnk@ƒmna@šal„Kš™‚J@Þwm‚ÅŃ@ambkUƒƒ@™™KUġKU@m‚ak¯±ƒ„a@aĉÑÅaVwšXlwƒ±—V¥l@@a™kƒ›@@£šmƒĉÝónWV@ŽnÝÇÇx—UmbƒaVkkk@m„@m°ƒÝýXm›akÅīƒ@@ƒmb@@xmšnbƒ@mxšŽkWL@ƒ¯b@WUXmWœWKkbm@kx™Xmm@LUl„xlêóK™nUš„all™LƒlLó°m¯JVšU„K„„@x˜K²Āô¦l°"],encodeOffsets:[[109519,31917]]}},{type:"Feature",id:"5108",properties:{name:"广元市",cp:[105.6885,32.2284],childNum:5},geometry:{type:"Polygon",coordinates:["@@ÆL„Ċx°»Ŧ¦˜W„™šLȄ@xÞKÜ°ÞnVxÅĀlÒnJ°a@w„V¯l@XWknKnw˜VȚ°XXa˜lX°VI°b„W„nšaššš¥@ƒw°™n@šyÆ@nkÞ@°¯lJn„°IÈl‚UšlXÅ@ķlUV¥VUUÝޙUUƒ@UwƒJUkĉm@ýƒƒlk™WUwVwWJk@VUK™lUkaVƒUƒmLk„m@ƒƒ@Uƒ›Ik`@„™UmlUkV¯ÇXKÝ_mm¯@Uƒ`kwmƒl¼±KV¯—¯Vk±Vk±kzma™KUnDZ™bk¦±ŽX„ƒ¦¯Wl„J@bƒxkIWš—Vlš™xnŽm¦„nlKVwX„WxXŽlxUbVVkzVlƒb„¼ƒbVxŹKUk™@Ua™a@xmxVx¯Iƒx™@ŎmÒ@șl¯L™¤n¼"],encodeOffsets:[[107146,33452]]}},{type:"Feature",id:"5118",properties:{name:"雅安市",cp:[102.6672,29.8938],childNum:8},geometry:{type:"Polygon",coordinates:["@@ln@xšèVInxVKn„‚ĊklxkÜVޚÒnÈm°nxš@š¼ĊLV„nx‚WXblIš`š@nmĉn‚KȄôÅlUÑmU„K²¹@ÇÅVÓůVýÞW„‚UVmX„ÆbnwšKUÿ‚™@UmmIUb¯¥Uwƒ™¯™Çmš™„çmanUm»UUƒl—kƒ¤ƒa¯bV™U_WĕmÇŚ±ĢUlƒUl™ÛVƒçkUƒ@WŽ¯KU™VkUağVmš™aV™WUƒmV»—¯@»m£ƒmÝLŽ±@ÈmVk¤mb@ôƒ¦kVkamL@b°‚@b¯¦ÝVƒn@l„ê™b@º„UĸL°J@zV@nmUƒlaĸÔ@xƒ°VҚ„Ub„‚óĢ„ÒWškV@Ò"],encodeOffsets:[[104727,30797]]}},{type:"Feature",id:"5115",properties:{name:"宜宾市",cp:[104.6558,28.548],childNum:10},geometry:{type:"Polygon",coordinates:["@@VlÈnl‚XnWLX`m„²nV‚@b°xĢçlnšVm‚nn„@@„°‚UzšlV°nޘÒkxl„w„`UnVb„mšL@albÞKÈۚmܼ°@Xǚ@wmW@ńKĊL„lV„šLVŎçÞL²±‚ğkw@Uƒy@¹lKX™lKVa@w™™Č@‚w@a˜ÇU¯n™@@wġak—™aō‚ƒƒK@Å»VakUWmķwkbğ¥mL™akš™@ġރ°¯xVVÞ@VšxVš—VWx„XlxU‚™@k²WVŃULmèULVĊklĠ„VœJVx±nŃ¯¦mwğ@mƒƒlğkkl±@kšUk@¯±Ç™Kƒ—kxl¤b™Imx"],encodeOffsets:[[106099,29279]]}},{type:"Feature",id:"5111",properties:{name:"乐山市",cp:[103.5791,29.1742],childNum:9},geometry:{type:"Polygon",coordinates:["@@kšVŽk„ššÆkšV²UlºÈIlxƒLXèÜlU„„XU‚mkƒbVè„x°@„@¼°Knnn@m˜ÆIUbnJ@bVI°b°±@nK@mVakkƒKl¯nbšmĸ„èl@VnÈl‚UUw„wmwnm°¥„L„™lLnU@Va™ImbkƒmK„ƒƒnk@mƒb™ƒƒLV„JVUUƒ„VnkVmb@a¯JUaÆkk¥„IW¥„Klw—ÑmÝU¯™kVy¯@ƒƒ@mmn™Ukmġè¯w@aU±mnƒW_XKWmkÇmUkóbUÝUanmW™ƒ¯nma—@ƒxVôUV@šb@‚l¼„n@l™b@xƒnÛa›xa@ƒyUÅmUÛbm°@„m‚n²U°ll™ĀȦƒlU„V¼nJVxUz‚W„z@`mL"],encodeOffsets:[[105480,29993]]}},{type:"Feature",id:"5113",properties:{name:"南充市",cp:[106.2048,31.1517],childNum:7},geometry:{type:"Polygon",coordinates:["@@ȲVmšLnblyl²²UUl˜°U°²L‚»„knlx„_VŽ°@nnÞ`WL°ÈUŽVlnkšV@ƒl_œJV„‚@„„n@lƒnKV£™Çšƒ„UV¯šm„@laX˜U„‚UbVx„@VkôJU°Jn™@™‚wUk°wnUƒV_nJmknmm¯Vwk¯ó¥±ÿ—L@wƒƒƒLVU™kU›bX¯mykI@a±Kk¦ULmaXƒƒVm¯ƒK—z±ƒklUIVbÇJšƒkL¯™l™ƒU™ÿ™UƒlUkJƒUmŽUUkVVklKk@@a™U@„™J„²ƒxƒ¦kĬ@¼±ºXnWb—xƒU@xƒx@lšL@b„Llº@șl@bU¦Vbƒ@U„™@X˜‚bVškX¯m@nÇKk„llknƒJVš"],encodeOffsets:[[107989,32282]]}},{type:"Feature",id:"5119",properties:{name:"巴中市",cp:[107.0618,31.9977],childNum:4},geometry:{type:"Polygon",coordinates:["@@V„U„lbkVšŽVLUŽl@XI‚ŽUxVxšXkl„„@þĊnVl„IVx„@VVݚVÞUVU¦kV@ĸWÆô²š@VÞnš@Vaôb²W@‚K@XUmÑUW°¯°Ina@y„_lWn¼lLUbô¼„Kla@™nkUyô—Æx°@šn£™Ý@¥mVkIU¥Ċƒ‚¯Û»¯L±w@™¯a„Ça²m˜ƒ—ç›KX„UW›k_Ww¯WƒwÅk@ƒ™Uƒ™kVmwƒK£@mmmńmÑkVmamnnlmIU`V„m¯xVlx@šmš¯IV‚óIUlƒ@UwVaƒ—VW‚kbƒ@™nU°ƒV™„šÈU¤"],encodeOffsets:[[108957,32569]]}},{type:"Feature",id:"5105",properties:{name:"泸州市",cp:[105.4578,28.493],childNum:5},geometry:{type:"Polygon",coordinates:["@@VVXwVKn„˜wnVƒn„l@b¯xmKUbVn°°X°@blLšènV„@Vn‚l@U„LnmmUna„VV_ĶV@wnJ„„l@@kkKVólaUwnJm„wUlm@ašUaôKVnJWbޚ@VšwVLX¥VVš_Þ`šw„WƒÞŹmmnIn¥Wƒ@k„WV¯@ƒ°kI™ŽƒLk¼Ç@k¤±Xk˜™nmݯUlÅÛKWV¯kƒlUwkLƒÓ™@U—@ƒ‚w@ġXV„˜WX„š@UbVbšV›š_kÇV™lU°lnwŎ¦ÞaƯnmm¯šU„™m¥nkVmkƒl_ó¥¯UÇl¯@™ƒ™L™kƒ`¯ķLUy¯@mw—¼ķ°ġ_řU°mlšnÇVUޚ„@‚ƒš_ƒJUnV‚UXšbl˜Ģb@x@mšV°—È‚b@‚xċ@šš@xUbkLWškL@º„zV‚@lxĠ±²"],encodeOffsets:[[107674,29639]]}},{type:"Feature",id:"5101",properties:{name:"成都市",cp:[103.9526,30.7617],childNum:11},geometry:{type:"Polygon",coordinates:["@@°n°m²°ÜUšw²ŽôVš°ŽVkxÜźUŰČb‚ŽĢlaÈL„»ƒ@k„wVǂ@„ƒnÛƻșUÝ°Kl_„V°Uš`Vbn@VbÈLšaVU@ƨ»V™nIl™šUUa„±lIk±š@VnKmÅ@WaƒK¦™lVōškK™Ý@maXÇmw¯IU‚@kƒVƒwUmVIƒƒƒç—ÿƒU±ŽÅ@¯È@xƒK@wƒLUbÇKō@mÝ£@yóUóóUxkI@WlIUaƒbƒaŽVĀ™LmxÅaWƒUnVƒÝXUþÆ°UÔÈÆ@±ºƒLnVVÒkóÆ"],encodeOffsets:[[105492,31534]]}},{type:"Feature",id:"5120",properties:{name:"资阳市",cp:[104.9744,30.1575],childNum:4},geometry:{type:"Polygon",coordinates:["@@„è„„UJVn„x„U@lV°JnxWÈnbÞ@šŽlLŎ™Ušk‚¥„LXbÆ@nŽmLU‚@zlbXmlnVynL„çšJVb‚UnómUnamU„an¥lKV_²aValWô„n@nƒ‚bVœK°¯VblW@kkƒlUnlV£°W@w„UXk°KVwƒmVkwVyVI@wkmƒVÅ_Umm@Uÿmbk£™xUaVw±V¼V¤kLWxU@Uk™bƒyƒXšómƒ°V@@zÝÒkKƒn™±U@@_VVkƒÇaVwnLWalm@@kkVVl™¦kIV`±n@w„Kƒƒk²™aƒVUUV¤™nkxmUkVWVnLUbVbƒ`kUU„mLU‚mX@`ÅbǚXbWLXŽ›n"],encodeOffsets:[[106695,31062]]}},{type:"Feature",id:"5104",properties:{name:"攀枝花市",cp:[101.6895,26.7133],childNum:3},geometry:{type:"Polygon",coordinates:["@@„b‚KÞnޙ@x„V@x˜n„Unš°¼šVš±mç²ÝÆ@šwnnšVWŽnôn_@¥‚™UaVƒ„bƙœÈ܎n¥Æ±VUwVƒmXÿmLkal¯km@k›ƒ@ƒ¯bkšVxmVUkk@Ua@¯˜»Un›mс@mz™m@īƒÑX¥Ç@ݙxU¦ƒšÅŽÇUkx@šlb„UWVX„mV@xĵĖ±@@Ž¯xUšÆLnÆm„šx@nXL±lUUVwKWak@WxkbšÞƒŽĉbUn@‚ƒ@@xó¦„Ŏ"],encodeOffsets:[[103602,27816]]}},{type:"Feature",id:"5114",properties:{name:"眉山市",cp:[103.8098,30.0146],childNum:6},geometry:{type:"Polygon",coordinates:["@@„šVx°¦VanJVnš@„b„aVbkJ@XlJVwôôôV@zÞ¤@nƎÈLVa„K@x„L@w°ÇÆ@²„V˜ĀœmWXKWașÆa@_nWVnKVƒlV„_UaVamKXUWwnmmwœÑm£@ynUƒkWƒĉUkWVkkV±çkJmkKƒšƒK¯¦mnnxƒxVxVÇkUmk@ƒçķ™nmak°„LllUb@nmL@‚¯²¯aUJ@amIVaÅJn—m@mm¯L@»ƒŽ¯@ƒwUç„anlVƒWVƒÛkWç„KkwÇJk¹±V™UÅl™™ġV™²ÈƂnXĖV`Uš°a„b„£˜l„kVVn¼mVnbƒè™šÈn°š"],encodeOffsets:[[105683,30685]]}},{type:"Feature",id:"5116",properties:{name:"广安市",cp:[106.6333,30.4376],childNum:5},geometry:{type:"Polygon",coordinates:["@@„VlIV‚„kšVšĀ„Vkš°šlK™„ÈIUaVJlk²„˜y„Ln°„UW„nbVKl¥²L@blJnzW°œalV°Inô¯‚K„kšKkkƒbV™šmôLkéƒwVk@KnnšWlwn@laXL›ŽnXVW@X°a@„XKl™nw„@man™@w‚@na@„„@ƒw™ĕġġ™wUkUWb@mk@™¦ƒ¥mUÛb±yÅn@bml@kV@„ƒlknVbmVnlmš—bÇk¯bWyk@V_UamJ@I—@WaƒVXamIVWkUkbVaƒUUxƒ@VnkVU¼›bkKUxmK™„@WšƒxnV@n"],encodeOffsets:[[108518,31208]]}},{type:"Feature",id:"5106",properties:{name:"德阳市",cp:[104.48,31.1133],childNum:6},geometry:{type:"Polygon",coordinates:["@@nUW¥²é@šK„¥‚UÈÅôa@VÆLUxnKl„°V¥ÈmlÅÈV@£ƒWX¯lLln@UšƒVÅlwUm²U‚VVna@ƒ@KnbV™VwƃœI˜mXwWƒkIVwÝĕVUa™IƒèmKUzkmWnka@y™@l²kJƒ²Vb™VkšmJUšƧ¼@UV™bÇKUam@Ua™_¯VƒUk`¯LVÞǚżm܃„@Uȃx@l„ƒ¼ÇKkbWŽœšVxUbƦnxƦĊV"],encodeOffsets:[[106594,32457]]}},{type:"Feature",id:"5110",properties:{name:"内江市",cp:[104.8535,29.6136],childNum:4},geometry:{type:"Polygon",coordinates:["@@²èlUUllXĊVX„„lmV@zn¤›ÒnxmnXxlUnVlwšmU£VV„Ušbl±„„ƒL@x²mU_lJš¥UklU@ln@‚kXbmKUxÈbl„UU@`V@š²„mlLÞÑ@yU@„¯ôn‚™„W„zšaVlV@XwlKU£‚»—aVaUwm@mwUVUwkƒlVDzLlƒ„KV™m_@ykUmƒ@mU™çkKmxkIU‚Ý„@LUJ@n±„kº‚LXb™¼@mmIXa™@mamnkW™ƒKUƒƒxƒ_U`UklwUw™mUbƒV™²ƒakbƒmkn@`„UmҙšVxUb™I™`UƒaÝÈ"],encodeOffsets:[[106774,30342]]}},{type:"Feature",id:"5109",properties:{name:"遂宁市",cp:[105.5347,30.6683],childNum:4},geometry:{type:"Polygon",coordinates:["@@ÞĖUxlJX„Vb°@„xUÞmbUxƒbXbm¤VX@lk°ln@x„bÈ@lLVlVUXxlJšç²UlwV@@UÈWl™„L„w@w„V˜wXaWm²¹@»lī„¥„wƒ±šI@ƒšV@bl@kLUllUVVn@mmU„wX™ċbVb@VUkbmamšW@kƒa@™™k@ƒlaUa™@¯b@šmmwó@@lkXUa¯°›LU‚am„m@óƒkXUb±bU`kLm¦ƒbnVmbnVmô"],encodeOffsets:[[107595,31270]]}},{type:"Feature",id:"5103",properties:{name:"自贡市",cp:[104.6667,29.2786],childNum:3},geometry:{type:"Polygon",coordinates:["@@lIÞDŽbVŽš_šJVaUwš™nуV@_lm„nla„bš±„UVašnVxkxVlV_„`„wV„„LšlXnmnbš@WbnJ@nš»WaKl¹²ƒ@mVI@KރVlJnw@aW¯¯¯UmVanL°w@aƒk„mmU—xmƒULWxUUÝKōèU™KUƒƒkĉKƒL@ÆnX@x™‚Wȯ@Û»™nÇÜÝLka@b™KƒnUaVmƒ_ƒxkƒLX¦ƒJl¦ÅlVb°I@bnaUŽmlƒUV„UVƒIUŽ„Kš„„a@nml„„ƒŽnLl„našJUbV@"],encodeOffsets:[[106752,30347]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/tai_wan_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"7100",properties:{name:"台湾",cp:[121.0295,23.6082],childNum:1},geometry:{type:"Polygon",coordinates:["@@\\sŽ@pS}aekgKSu™SsMß`¡CqZ·be@Q^o@‹gieMp‹‰]}•}Ľc_Kk…{™ù“A¡r‰[uom@эĥJiq©mʼnq¯Bq]ÙYgSåk_gwU­isTE…“‘ĕiqiUEkue_‰OSsZ‹aWKo¡­q“ycY£w}‹ĩ™ĕS§Z©S™N¥SyLÑ¡±Ks^IY‰PdƒY[Uo†Fp}´\\¬\\j]ˆe܍ò‹¤¡–ā a\\bn™U㺹Ìs¼j®[cíȈEŽĝĆ`ļf¶Š®K|VØDdKGpVnU‚FjpH—F`†B’[pMºxÖjbpÎxp€¬‚|ΟÜÒCŠ²®‚ÜAp„ZG~€Šd˜ÞàV¨|¸€`|Œ²tx~\\~|dFf^zG€ĄŚhœdL\\hĸž¼†ŠOªP®lV`p\\]Xpll˜æ¤œCpQ|oF}fMRi†NSon_²qämœM„NM‹\\•"],encodeOffsets:[[124853,25650]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/tian_jin_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"120225",properties:{name:"蓟县",cp:[117.4672,40.004],childNum:1},geometry:{type:"Polygon",coordinates:["@@EUDAEI@WNMNCBFAHFFNACDJDPBD@@GD@DIFFHEFGDBDEQOFG@EI_KG@OcJQM]RMEKBGPG@[LaCIICBWKCEEG@WBQHCDFD@HSLEJI@IHWECFGAAEKCGDBFCBSBIDCKKHEADMJMFABKOKEQAA@IEEG@GIQAEK@OZEESMOL“lu@SLUTYFQCMG@@SQUAYKAACA@IB@BDB@B@DC@@BGAEFAA@BEGKJCC@AGAIHA@@JC@QEIP@@A@EGIDC@O@C@@@@CJCWKABFLBBEBSQGBAAMIEM@AKBcJEN@BEBCFMAEFEF@J@BG@BFABECKFG@AFQ@@F@BEB@@A@@AAAKAE@GFGDECEFEECBKIKDELDFEDYH@EIACDCHKBEB@BAAC@ADBHABKJIAIJICEDGDCD@@A@A@DHCHJHDFEFGBKRKBGIK@GIMHSBCH_BOJECCJCFKKMD@DNJEDEGC@OJCJHRUL@HRJ@H[DCNKDZHCTFDHCFFKR`TANVDFZRDLFARB@HPAPG`ILAR@TERNDFNHDLCLDDCXDYbHF@FEB@LDDVE@JPNfXPINCVDJJD@NJPAJHLXHDNANHhB@DPNLRMTBFRBHHr@`NBFEBOCCBIAQJDHCHLHFA@HSDCRLFTB@HEFLNF@PELBDJALFLTC@EPFLLP@tUHQJDfIHGTB^JTCPDLKAIBATFPADIEGECEMJ@JIAIHGECFEAGDI\\SPOXAFCL@BQTQBBTMZECYGAHA@GJAE@HCAEME@IECFKJADDBABLTHHG@ILEAMNDJCDHEBF@@JNFJELDFKTOT@JETBFFHBHEHKI@@IJEJ@XKEOUMS@AF@CEB"],encodeOffsets:[[120575,41009]]}},{type:"Feature",id:"120114",properties:{name:"武清区",cp:[117.0621,39.4121],childNum:1},geometry:{type:"Polygon",coordinates:["@@FWôµ@IFCLIB@EHNBp]AGEAKAEDMGZKFGBGME@ILGP@HEFB@BXMEAHUGC@IHCLOD@X[NWHWPKAEF[@EKIOL@EKGBNMJ@EIEHKBIC@BAKMIACCFQZCF]DB@ERAKADIHGEIBCGIIECFaGLZO@EFCNGAGDGAKL@BMG@IE@ADSDEH[JGC@CGA@BMDeK@EIACFE@@GG@FIAMM@CCGC@EM@ADE@CFMAAGHBDKIEAJG@DOGCDEKAGIS@KFCHKAEHIE]BeKNO[IFIOELC@A]GMBKVYCDDgGAICARc@MW@AQE@DGI@@AQ@@BKBAIQQYEFW@CEADIGGBCEIiMEMF_LGEKMBBDWEBGRC@E_CHYGCH_IAED@FFBQh@FGJaJ}AHRAREF@bE\\C@CT`FHC@\\BBF@BID@HGDDJ@@FAHKBARECKDAZBJIVNHCTA@EREAMLHDAFFBVFFC@RNRETHD@FOJMACH@CAB@P@DF@@FGDWE@FFSIEMKQDYCCHKb^JADOCIDGNDBdBCFJB@EC\\A@BJEA@JAAAD@HHD@LFBCFF@BERDHNhZQHMBGHOACCEBWEGD@PSJKCGEUD@CINLFGHE@AJK@HDABBHTB@F`DBFLBBHEDARCFG@ABJBAPVFE^FBGLGCFG_BMLEXGAAFE@@JNRVJHFALFBEHQJCTbNDHCF@PlFLJSXCHFHfVBTNJ\\BPJXC^FAVNFCHFB@FFH@JF@\\ABCFD\\BDMCAAJKQBGAILOEGHILECQLWFENJHADC@QxNHFJNLDFA@CBA@D˜UÂmR@FBL@BD"],encodeOffsets:[[119959,40574]]}},{type:"Feature",id:"120115",properties:{name:"宝坻区",cp:[117.4274,39.5913],childNum:1},geometry:{type:"Polygon",coordinates:["@@TZbB@JHD@DODCLM@AP@LL@BNH@ETFN@`E@DNG@CHLBCJA@AICFKDDBKA@\\N@AFNAGRBFjFFFL@DHLBLFQPcXAZMJ]GAVHAIZJFNE@JpDRRDCLFDGXA@EFF@CFFPDfEBDB@DCHCFCJDJIJBLI@I@CB@@ADBB@FALADGDC@@H@BB@FZGFCCE@@FMLALJDAFFFEFDFCB@@AHCF@L@@BBB@BB@FC@E@@R@BEL@HEFD@G@AH@AIB@@@FEFEBALDDEFAFO^IF@JCBBFPNJJ@D@PRDCEKBAXL@BIFD@T@JE@BHHJORFDI@@B@JGH@@B@BDDLIFFHCD@D@DEE@BAAAB@DAF@B@H@NGLJLMRDNMfGIEPMI@GDAKK@KIDIJ@GE@CFDN@FE@GFEPGV@TCDFKHBBF@RW@DD@@ID@TJFKIKLI@EP@IGBCLAEKLEN@KSHIGYACSD@SEAMBBMGEBMQBCMIGKFB[D@HDLPHDBC@IFITDLG@IIIFGVBNJDLN@VIRI@YIAIHIC@CLKZCBEE@JECEIHEAKGDGECBGEEM@@DA@CCCBBEGA[GEDBBoNAAH]MKiIAWKQoIIPMFQAEEDMH@FMSUYIeF@EK@BIOEKJEBICFKaKPFAFSE@LWCCFMHDDEKESBOGBKIEIODLG@CCDEQCEDWEMDIEIB@EHGEEDAEAa@@HqDEJGF[AECCFa@WCEIKAAEQB@FCAE^YDERDDJBLNABD@AJGLJF@FNIAMLH@FPKLJ@FE\\BFOLGXMXW\\C@KPGD@JHDGVFBWN@AEAGFO@KH@JNFAHEHYLNHFCLBFBBHo^MAFGA@KJED@Jó¶EX"],encodeOffsets:[[119959,40574]]}},{type:"Feature",id:"120223",properties:{name:"静海县",cp:[116.9824,38.8312],childNum:1},geometry:{type:"Polygon",coordinates:["@@NGFMDATCNDR@CCbINEHNJA@C\\EEGVE@IhE–[˜w”epc¢·²›^QEKIEKIgiQDkehY£uSDBMkUDOJDHC@GF@CAFBFEN@C‹Q@BeP@@G@HD@@MHQKi@[IGCOCESE@GMA_OcCGDu`aˆ@VZzKDkJBLNXGDqKEWE@cFEFA@ƒISIi@@KMABJGBcMuFEzGVH\\ATSEUBeALCEMG@CEBUHUCGXaBPtUBBFIBFTDFF@DDKBFNGBJPHXDDMDCLJ^mBIHIL@LR\\@LCR[@@z@NFD@LLBNb@RHDBNTPT\\F@BJF@BXCFBHHBDLFB@HODADE@@JHVXCPDHCFTLBBFNCDCCCU@@GAABEHHZHBCAEdEjFDD@GfD@DXFCHF@ERFDLBH@"],encodeOffsets:[[119688,40010]]}},{type:"Feature",id:"120221",properties:{name:"宁河县",cp:[117.6801,39.3853],childNum:1},geometry:{type:"Polygon",coordinates:["@@BFLBFJXDb@DEFD\\BHEFIrC@Gb@FBCBFFGH@FJAJFNCXFFCRDCFDDH@CKJPJFALPHTALFCFGCENDDKXF@ETEBO‚bLELJDFALIPFAJL@@FfEZJTVENG@CNFFRBNEJOpJLRBXjJNLG^BBpMAAFC\\HHBAFDADDB@@CN@FFAHFDCHLHFBJGFCFUNKJJTD\\XUXF\\^F@DDDQXXBRLRCBDFEVCDLVDpUl@LEDJHAPRFGL@CETGPBTCDDVI@CFF@GFDCCVGLKEK[Y@MECISG@BKNSCGCKWEAaEBEKNGFSECO@GGM@GYI@DÅCMLHPTF@DJHAVVNKEGDETJ^[TJNNd@NOAMFYJ@@GFANDPEJB^aOadSTQSI@MHBDIEOKCG@EEFCKCqXO@@DMFENCDDHCCGJ]AKFoDaGGHYFDHKJiCMFGC@EQ@AEHGAC@IEAATKOHGIC@IXIFEoƒGE[JCFCDHNmRADFZMF[EEBMO{GU@AOW@@]ZeHBDEHBKEfQkuIWBs‡@EC@d[@[^EDMTKCEEcI@cDAB@FCBCACmOCG{PYHeBgPwPFDDALFFFCHQGSD@BHFAR[TaFYXMASUiGFL@DQNCJI@@D@PLDN`ETEFIGMCGBCE‘~CAIFDPEHGEQPHJADFJGHCJLB"],encodeOffsets:[[120145,40295]]}},{type:"Feature",id:"120109",properties:{name:"大港区",cp:[117.3875,38.757],childNum:1},geometry:{type:"Polygon",coordinates:["@@JFFL°_`ONJKDDFIFZN xlb~yFVNRŒrdJGzDPVFBCTNND\\UR@E`F@@Ip@IWGUoawOEE@ÏDgK{İEEMFëC—b…™@—KwOCDHHKBDJCDEEEAGHOABFABMCgDLSQ@CFEB‰MgYIDQINE@AUSwSAdYEHQMEyK[KI@GRMLE@@OqOoBOnpJ@BmEAFHL^FDB[C@BBDVFAHFJENB@sNEjQAMYsUgCSBGDJH@\\LjGR@NC@@G@HO@AfR@DŒM@EFEADBE@@HGDICCPlVANTC¤vgZlfRChjLJ"],encodeOffsets:[[120065,39771]]}},{type:"Feature",id:"120107",properties:{name:"塘沽区",cp:[117.6801,38.9987],childNum:1},geometry:{type:"Polygon",coordinates:["@@|ODHnPBDADEDA@CB@ddJFFLDNSFC\\]\\@@cFDˆ@nACOMW@M@ITURBRZNHNWRQšoO•j½f‡cqŸAqeiDÿÍyÓįFL|Ch@ÐFFxPpbHVJXo@@JCTR^BPABQA]^MB@bE@@FQBFVJRH@FXtPNZSBAja@@NƒDTŽLJrQTHFXZFB`"],encodeOffsets:[[120391,40118]]}},{type:"Feature",id:"120111",properties:{name:"西青区",cp:[117.1829,39.0022],childNum:1},geometry:{type:"Polygon",coordinates:["@@@LHAHRHATh`LHNHDG`HDGZ`D@FQDAHXFACNAFLVRTBFOfHDCVBFQH@HSXHEPFB@LDBF[bDbLFKJBFLADBDjLvCPEI]FGEIGCBEUSjcFiBIVWfaHCjN^HtwBBFGPBJGjFBEGECGDONMFAP]TDHQOWCMGAMHKIJEIGQ]aDlUG]VGEGDC„{PEbBZmE@@GH@BCA@FMQCFMYMJECELCMI_P¯`]R±œ¡¸od“f—x•\\gF@JUFFH[F@DIBGMMFaJDDQ@MCSDCBENMH"],encodeOffsets:[[119688,40010]]}},{type:"Feature",id:"120113",properties:{name:"北辰区",cp:[117.1761,39.2548],childNum:1},geometry:{type:"Polygon",coordinates:["@@ROHFFGCOJEDB’}DFHANDJHFEFSM_KC@O@CJ@DIRM@CEKKA…L…FKACHoLSJSIBETDJaEIIE]E]K[MYUYQILC@GF[MGNKEK@A@BCWECAIFEFYAGFOMI[OFuDiKACBCEKIAELaKaCE\\CA@KEAFOWGGTG@ERUACDeGEPSAUQKHE`FNjNFJADHHCJFB@DEXZFRRBJLA@AR@@BJ@CHF@BRX@@NQdDBBJhHCCZDLUNA^H@BKDPFEJ\\JMPfL^AJFFGLBDGLET@HJLBCFHDCPH@BIJFCLGABHNBDEF@BCN@@FHDDDN@BNEJH@@HF@DEJB@FfLNC@AHB@DHD\\IFGTCBCF@@JNH@ALKHBHCHBDMFEP@KYbHDEJF"],encodeOffsets:[[120139,40273]]}},{type:"Feature",id:"120110",properties:{name:"东丽区",cp:[117.4013,39.1223],childNum:1},geometry:{type:"Polygon",coordinates:["@@ZV\\N^L^FJFFJIbSCAFTJTIpKDGLB†E†KLBjHTVNBZWbE\\SBQGE@ATCRHDGEEKECBECxOhOfAZGA_YEEWSGqRKIS„C@Mb@BiTAMYsOEWG@IQEURA@EF@@acUOXQRYCUDCHDTEF[SUEgAYDcVGJM`iAWDWLQRMHUHgDsDBLHJFCFDFGHBFFVEAGHCJN@RJF‡PIhBD\\FENCPWA@LFBAFHBEJUEARCDIAEDQBRNa^"],encodeOffsets:[[120048,40134]]}},{type:"Feature",id:"120108",properties:{name:"汉沽区",cp:[117.8888,39.2191],childNum:1},geometry:{type:"Polygon",coordinates:["@@LMEI\\MTABKN@FCDMH@COAcH[AoēA™M¡Wa[Meq™pQRMXMGQYQASV@J@NNXDPmBAtJXlveRLFGACFGAYf@^X@BPV@|HNPFA\\FNEEYBCnQGMDCDE\\IHFp„EFWJ@JJDGHLPBSFB@JBDGHBFR@@FHDNEjDLICGZEHGbHpCLE^BHIDDCGDCFMNE@CP@rWLDEDFFH@"],encodeOffsets:[[120859,40235]]}},{type:"Feature",id:"120112",properties:{name:"津南区",cp:[117.3958,38.9603],childNum:1},geometry:{type:"Polygon",coordinates:["@@TLv@CNHFFBHGZFETNPhCVGNGRQXKXCjBN_HIdUZChBVF\\TFECSDGVCZDRQPWdVNA^]RBBAAOQ]DSE@F_Q@[VMCSMADUECOHycI‹qMQEU}zkaŸwENRDENB@ADG@@HF@YnaAOFƒ|CDFHUHH^kVbCR^JHIFLJNGHBDNPXGRSCO^EBMNCPDHHFAFiEIHOAEH"],encodeOffsets:[[120045,39982]]}},{type:"Feature",id:"120103",properties:{name:"河西区",cp:[117.2365,39.0804],childNum:1},geometry:{type:"Polygon",coordinates:["@@d@hZNFdcLYXKRCtCMOFSYEGHEAGEDMu@SKAAsx]GMTGt"],encodeOffsets:[[119992,40041]]}},{type:"Feature",id:"120102",properties:{name:"河东区",cp:[117.2571,39.1209],childNum:1},geometry:{type:"Polygon",coordinates:["@@ZBVFFIGABEEA@KXBDOFM[EACJgˆOIE@QIMGDBHUFEEGAEHECEDGIAKQDWLKZcdQPEP@FOFBJTJ@HNORJf@DBCN"],encodeOffsets:[[120063,40098]]}},{type:"Feature",id:"120104",properties:{name:"南开区",cp:[117.1527,39.1065],childNum:1},geometry:{type:"Polygon",coordinates:["@@NMVDCG\\E^B@HlB@YEDS@C…HsNSiMGDebUXAJEjidVTAFHDFJ"],encodeOffsets:[[119940,40093]]}},{type:"Feature",id:"120105",properties:{name:"河北区",cp:[117.2145,39.1615],childNum:1},geometry:{type:"Polygon",coordinates:["@@DBXFADB@L@LFHM\\NHED@JKZRb]QMRAFCJBDCBQYADMCAe@QIMP@GSIAIPE@E[EGH@ZEF]^HJAXK@KF"],encodeOffsets:[[119980,40125]]}},{type:"Feature",id:"120106",properties:{name:"红桥区",cp:[117.1596,39.1663],childNum:1},geometry:{type:"Polygon",coordinates:["@@J\\PNHEZBFEJELEL@BWGI^]FEkA@G]A[FDHUCMNEHJ^"],encodeOffsets:[[119942,40112]]}},{type:"Feature",id:"120101",properties:{name:"和平区",cp:[117.2008,39.1189],childNum:1},geometry:{type:"Polygon",coordinates:["@@D†T@FCHG\\FFOROMEgYc@"],encodeOffsets:[[119992,40041]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/world_geo",[],function(){return{type:"FeatureCollection",offset:{x:170,y:90},features:[{type:"Feature",id:"AFG",properties:{name:"Afghanistan"},geometry:{type:"Polygon",coordinates:["@@ࡪ͇وŐǬϠڐŶӂʮǚڦ۾njƀ̚ІɣʪҴMوǯʲĹ،˒˰Nj˖ϪԈiżŬĘͺβ̈Ҕȏĝʱʪ¡ý۷ͪ˟̊ǰώĊԼϖׂ×ࢀAƬʋӧĥяƹ७ĭࣗǭӫλȤΣĪллΛ–͑ɳ̡ߛ€ͦ։՗ɅΥԕ²ԋ͡ɿ̳þٝŋğɻسDҵӇ‡܍થΓבôǝȁԇņ࠿űටіހހåզُƚßՔ˟ڢάҢιŮɲؒ΂ਸ"],encodeOffsets:[[62680,36506]]}},{type:"Feature",id:"AGO",properties:{name:"Angola"},geometry:{type:"MultiPolygon",coordinates:[["@@ȸصʌԋȘ˕͐ѯ֊æˤŠҬşŲɀɂӨԶ®ƤіHñ̡৴RfՉǞ͕ūԑÖԫ˪̷­ৃȼüκsԴŴϦ¹ĘʹĩСƨϿů̿î́ყZᦵ֤ۋպԽ໳΁᎝Š׋Ж₭—ŵÏԃϞկ~ԉƝЙDžÿՈŜ݊̂ޒªΰ˚ݶȨΆӘռːϐĘج«ӊʣ̜ɡԚȵԎ®Ǩʶͬʭ߼ǣ֚сՐĄǎΌŔʒg̎ĸៜ["],["@@ɉėɣلͼδʪƘ̀˽̩ǯƍɍλ"]],encodeOffsets:[[[16719,-6018]],[[12736,-5820]]]}},{type:"Feature",id:"ALB",properties:{name:"Albania"},geometry:{type:"Polygon",coordinates:["@@Ń˷ŢέΒȳiə˗ŧ»˙ϷСƛÐgȂү˰ñАîֶŖʼƗƂÉˌθаÂƿɨôǴɥȪďȨ̂"],encodeOffsets:[[21085,42860]]}},{type:"Feature",id:"ARE",properties:{name:"United Arab Emirates"},geometry:{type:"Polygon",coordinates:["@@Ƭ¤ŒɱڂƂ۞uԖ{ֺ֪ظՠՎԮdž˹ŖڑѕGçճƪŝϝǑE΅ʓΏuͷǝDZᡋъ͏࡚Ț"],encodeOffsets:[[52818,24828]]}},{type:"Feature",id:"ARG",properties:{name:"Argentina"},geometry:{type:"MultiPolygon",coordinates:[["@@ߗ§ѓ̔ԑx࣑@Aሞ͒ϵрؿનԋ୲ȿϙп"],["@@Ӵ؇͠ڰॠ“ƊǷ໶ോۊŷਆاࡾ͡Ŧχࠡ౧ࡒɭ़ŷڔƈނ٢ƎݐжLjфӝiڣۻҩ֟΁ॅࠃ૭ଧȽڥɣࡹT࠷ǽȇÝիËѫ੨ܙŗ׃Հν§Ч߯ઁఛ҉။ǩउĎǰԅǣػƺщԋ̏ࡱř̪͕߱ɗŜ࠳֨ʧҠˆʢѧޛʻڭԹūࡋȣ҇ߏEڃљʋؿؙࠞߦǝ˿ݭ঳Ӄձটލͧ΅Ͽ˔ࢍ֔ӡΟ¨ީƀ᎓ŒΑӪhؾ֓Ą̃̏óࢺ٤φˈՒĭьѾܔ̬૘ěӲξDŽę̈́ϵǚˢΜϛ͈ȝॺ͸Ǣƙ਀ȠࡲɤݢԊ̨ʭࠐEޚَոo۰ӒࠎDޜɓƶϭฐԬࡺÿࠀ̜ބռ߂צԺʥ͢Ǭ˔ඔࣶд̀ࢎĹɂ۬ݺશȱ"]],encodeOffsets:[[[-67072,-56524]],[[-66524,-22605]]]}},{type:"Feature",id:"ARM",properties:{name:"Armenia"},geometry:{type:"Polygon",coordinates:["@@୞ƀǨə͌ƣǛɁ҄˽ʁˋΦɫϘƏl׋̣}΃ӢHżχCʝɤǩuͧʖرȼĄФƛ̒"],encodeOffsets:[[44629,42079]]}},{type:"Feature",id:"ATF",properties:{name:"French Southern and Antarctic Lands"},geometry:{type:"Polygon",coordinates:["@@ը˃ߐĿˆDžɽϣಇÃq҂ŮΎÊǢ"],encodeOffsets:[[70590,-49792]]}},{type:"Feature",id:"AUS",properties:{name:"Australia"},geometry:{type:"MultiPolygon",coordinates:[["@@ߺ́ҜŘپNJԎÉÐঽ˽́ēگ̉ɰ׍בǧ®ԫ€ԭܘŗֈӝܸtϬռõ"],["@@̢ڇբ̈́˦ΡЖ͟đϋǴܛŸнɄĹɬܕąѥ˖֭࣬ѭצЋ֞λŋȯӔՃࣧ͜ͲȂ;ηȴźƢࢹ׬ԩϸ͋ڀڹʀڭtӏËԳА܋µݓơϵɩݡjӕǕ׻χއثЭ̫ٱ˫гʝܧ͕нɅػʼnׁªˇӕ̇व‰ޡ·ϫ͙ԕέ۟ψԥƪżѬҝǃ݁؉ܩɪӉƄӑÔ߿ʐիԮƻْțьЭ;߱ĸˢРȯزЧ׉ݝƷѮҬŶӞ͘ЬãجہܑԿ˽͏ڛٽΊ~ҀԿ،ѹ̀ǂȘઃԚןz߯Цຓāછ̝ख़˫ߡÈࢻљܯȗljѱ̳Ϳ܉qՅõݑƶ׿ğֽԁ҃ʕœуʁЗˋؕ֛Bࢽ՜ҋDŽlӖкŘƚȒ‡̠ĺאģӼѻࡖƏӒ˜ӎͭնsʚϋͰĽڄӓڔřΪτε˳ެиʑʞ͗aјеڎă˄țʦĠӠǢȸŘрęӮΎ؀Úٕ΢׀ۀˬЦΪٜ̰ϤàɴĻڎ̺ԚĤŶȀɞüҬoࢨʖҚώɊ҆ӲѐœͲvҘט܎ΠܩΦǚ̗Ј˂ТψǻĸٖҠаȮͨцƜ`ɼτĭdɂτŦОŔبϫҲӽՂMՖÿDZҦДڪϜɘſȾκӒԘ̒јıۺǂeі؛ˢ҂Ū֎ȻҀ·ۼɋʈĐԶʵӬʊ͂ñȠNJϬеɡ͉҇ͻ˿ƒĮͱʙп̗ЭÔʁڜҫ٨ˏѠ́؈ӻʂBѰɍŶʷߤ˵ֈ˼ǐҊǠόľҤʰڞŝОÔʔīӔŌنLjǠŽˬȮѾdžҦtʈ̸̾ʂЩÎՃȾķ˜Λ̨ёÚӇ‡̥"]],encodeOffsets:[[[148888,-41771]],[[147008,-14093]]]}},{type:"Feature",id:"AUT",properties:{name:"Austria"},geometry:{type:"Polygon",coordinates:["@@Û΃ӁCǎǻ˧էLJƗܽsщȏۛÞயɐȉ̊ࠧƣĭDžԗŢѕxϝƶźȴƬʪ²ьɹŤɜݎ•׸ƮЖ}ˀǣþƜšո̠ń̒ϰز˓ӀΆ̐ÚٶʱЂªϰǁãŃČ̅"],encodeOffsets:[[17388,49279]]}},{type:"Feature",id:"AZE",properties:{name:"Azerbaijan"},geometry:{type:"MultiPolygon",coordinates:[["@@ʞɣψDGŻ΄ӡֽŒщϰƃ͆Ǫv"],["@@ϊËƞɈԈͺѴѵђ׭ϺŸʸɧۗãƣٵƟ̭̍ȝvзȽ¥ԻѲ̂дʝʚ̿×যإk׌ϗƐΥɬʂˌ҃˾ǜɂ͋ƤǧɚȶƎضʍҐ¹ŘIJбҔɔŚʀ…׀ԙ"]],encodeOffsets:[[[46083,40694]],[[48511,42210]]]}},{type:"Feature",id:"BDI",properties:{name:"Burundi"},geometry:{type:"Polygon",coordinates:["@@Á০ɃϢԜßʲӎҀŸͧǸȏT˗ȹǭ͛ѫ̧̥΍Ÿ"],encodeOffsets:[[30045,-4607]]}},{type:"Feature",id:"BEL",properties:{name:"Belgium"},geometry:{type:"Polygon",coordinates:["@@؜áުǪՐοҦȝħ֧ɕĝһܿϦћßדІϷͶϷ`ũ̒ڪǔ"],encodeOffsets:[[3395,52579]]}},{type:"Feature",id:"BEN",properties:{name:"Benin"},geometry:{type:"Polygon",coordinates:["@@ۛįȹ׆žኞǛǦЮ̇̌ʱʞņѶ̀ĨǠξЪĀȀʤˮʘ̠F٘ә˩ȎӽǓͷĘɧСԳʵʳǁՉt՗µണ"],encodeOffsets:[[2757,6410]]}},{type:"Feature",id:"BFA",properties:{name:"Burkina Faso"},geometry:{type:"Polygon",coordinates:["@@ֹɐϽ‹̍Ƀϗǰƥ˦ϙǾÅӦɮΤo˴ښۢŬּɲȴОœΚǢŘɎٴϖdžˀ޼ΒҦŢɀLJՠJáСŔϣӀչ€НॺȏmֻǿʣЩÿǟν˿ħ݁lϳâ˓ƉωÖร¡qӉŘم"],encodeOffsets:[[-2895,9874]]}},{type:"Feature",id:"BGD",properties:{name:"Bangladesh"},geometry:{type:"Polygon",coordinates:["@@i׽̉ŶÆگʉѬµєDžКΕӨޟ’ü΋˃ҳΧǠũƵʃĠ͗øŽۖ̅لƜԒԫɤȆ̪Հ̼؅Ѽ֮̔ږεВ£ô׏ߞřު^Ӟƛϯ܅ϕµʷӍҢѥƎ՞ɶFѶ೯"],encodeOffsets:[[94897,22571]]}},{type:"Feature",id:"BGR",properties:{name:"Bulgaria"},geometry:{type:"Polygon",coordinates:["@@ʎΉ͚Ö٦ſ௾«иɌবȜ̩ؒӴĕѥΏ̫׹˔ӏܣŒࡥ˃Uлޅÿס̊ڧɱة|Ñ֊сːƒŢĝĴƘˌ͌ˀСδ÷̬ȸȐ"],encodeOffsets:[[23201,45297]]}},{type:"Feature",id:"BHS",properties:{name:"The Bahamas"},geometry:{type:"MultiPolygon",coordinates:[["@@ȵ£ɇӜ̿ʐǾՔʨ‘ۣ̎Jӥ"],["@@ࣷƅÏ̴Ђäֈ{~ɕ"],["@@ƟׯƷņ`ѮϓͪCĪڐϗ"]],encodeOffsets:[[[-79395,24330]],[[-79687,27218]],[[-78848,27229]]]}},{type:"Feature",id:"BIH",properties:{name:"Bosnia and Herzegovina"},geometry:{type:"Polygon",coordinates:["@@̦FȿσМ͓ūЃȡ™ƽû˙țūҥݓ͈ͅΘ͋Ȅϭ̾ǻʺЩϾǬΒ̞ȕǼǨϾnܠƓ׈\\Ϟȅ"],encodeOffsets:[[19462,45937]]}},{type:"Feature",id:"BLR",properties:{name:"Belarus"},geometry:{type:"Polygon",coordinates:["@@߼Mࣰ̈́ȚӄېːÿϔԜƚ͖ࣘࢮɁŢȻѲĴࠒȧĊЁǷɧՄս΂Ƴ»Ʊ֦Ʃʎɡ͝ǿڳˆljÿȠ˧ȸ՝ܝ¹ʵȁÃхͭĆݷ¡əȞ̿ƥ́ŨڍjफȬࡕàٱmҡɩГeϐʷϴԌǢLͰɷ͌™ϊ"],encodeOffsets:[[24048,55207]]}},{type:"Feature",id:"BLZ",properties:{name:"Belize"},geometry:{type:"Polygon",coordinates:["@@OŮĸžƴı̞ԔDŽZHūDŽGaɭƋεôŻĕ̝ÀăīщǓɟƱǓ̅ʣ@àॆPژ"],encodeOffsets:[[-91282,18236]]}},{type:"Feature",id:"BMU",properties:{name:"Bermuda"},geometry:{type:"Polygon",coordinates:["@@OEMA]NOGNG\\Q^McMOI_OK@CQSGa@WNLVWHFLJXVFGJ`ZRTDLeeWKIHGIK@@[MQNi`]VDTBHCJAPBJLVFjT^LV\\RJZRn^RH`TfJjZHHOTTFJP_NOX[EYQQKMEJOLANJH@HQHAARF@ZEPS[U_IcRQXE@EEKKOCGGCQCOGISKYGUC"],encodeOffsets:[[-66334,33083]]}},{type:"Feature",id:"BOL",properties:{name:"Bolivia"},geometry:{type:"Polygon",coordinates:["@@य़”͟گӳ؈વȲ۫ݹ؅ŗ͡୆ҋऺˆ߾ѳ΢ŏ؆ЫֲՌ࣢αۺȖ˰ƭ̶͠рh܎¤נǸ˶ܩഠزíѠnȈʪ݀;Ѷ͂સƚęؽļ͓ãࣰ֛ݫऴƑ̻ͦ֨ǕΐʑՈTӦʟšӟǐʕZγʓa͒এྖ“ūӟĜͧҞɽȤԹƫڋɯρĄӏʿǥaʶ޳јޭ^ัʓЕ݋sҋͥ৕ƉǸ"],encodeOffsets:[[-64354,-22563]]}},{type:"Feature",id:"BRA",properties:{name:"Brazil"},geometry:{type:"Polygon",coordinates:["@@૮ନॆࠄ֠΂ۼҪjڤуӞеLJǒӜŖӼBҦ̡ƴ̿Ƌ̻œį͔ýޔƿʤ֥ɪ΃ǏࢱLjÈଜʝҴˀǦăӐɰςƬڌȣԺҝɾěͨŬӠྕ”͑ঐʔbYδǏʖ™ӠӥʠՇSΏʒ֧ǖ̼ͥळƒ࣯ݬä֜Ļ͔Ěؾષƙѵ́ܿͽȇʩџmرîӃƟϡĪÈ౨ۏӷݏv҄ͅ֏¶DzΰұԞΓݴɜƶA΢ԖʎċҔɊ̈Ôϼ०ֲێNJŔŴݴŸϚᘰpθſӔύ̬LؐӀƒǚē†͐ӯĔYՀ࿖k˦̂ɸˉǐӷǂļҨѻٸÆnjʲشȞΊƐĮΤ׸ʆ¯Ǯ܅ðśՊ’֞ϓɒǀþجŅڜȿʐȤ؀žल̮͎̾ŏʂѪšȜȗʼnσ̀ŵȖϷɷ̏ƅ܏ɌыÔϳԬϿЮ¥Ģǒˆ˜ϠƦ˚ɢҬíȲŠҚçøǢƗǘĎʐͺõЈĒӔDZξǥʺɪȊ•ŘɿДÒ͒͊ʴؤӼޒ˺¢ȺҫҼ฽҈Ƒxׅمەʾʩ๤ƁŠࡃٔր੐̟ඊԡШӱƏҫ঎ʶ࿐ѹఴŽఔ۝੸व٪ʏܖ‘̦˅˸੭Ɣԗͯ൹ёշஅୡՙोثܯȿgɻءÒ༽ɹಓęօˇͧƫ૱࡛઱ƛࢁڹηȟԋ࣯Fೕ͓סύवʗ঩ڝ܅࠯ũطƔҫƽࡓȏЧחҥट๕݉ڗ֯Ͻϥߛ։ӑɷӈψЊӟֲڇҬࡹՠ̹{ࡅٰձę"],
-encodeOffsets:[[-59008,-30941]]}},{type:"Feature",id:"BRN",properties:{name:"Brunei"},geometry:{type:"Polygon",coordinates:["@@ͬ̾܎Ң›Я·՛Б€ǭ˹ϥѦ"],encodeOffsets:[[116945,4635]]}},{type:"Feature",id:"BTN",properties:{name:"Bhutan"},geometry:{type:"Polygon",coordinates:["@@΂ˍÏԩۇ{ۿÈՇſޅ͊kǚ֌زҒɈ׸șѺqπɥ"],encodeOffsets:[[93898,28439]]}},{type:"Feature",id:"BWA",properties:{name:"Botswana"},geometry:{type:"Polygon",coordinates:["@@ǜƭ˄ӡॎइήĝD̑ʚՑٰŹ՚ϝ஑أݭع˩֓ʧ́ҙãƧГďʽ՝țہ¤БɾΟĸХșȵГЉʧпϑ׻đȇ̐üԠӽߚɧŲAរࠤˆ|Ჾش„ಖ͎̎΍՜ͤʮDӂȎưÙ͔ڣ"],encodeOffsets:[[26265,-18980]]}},{type:"Feature",id:"CAF",properties:{name:"Central African Republic"},geometry:{type:"Polygon",coordinates:["@@ۜÚƺɎƔgȾȏ੔͐Τ͠Ѭ̌ĉ̐ʂüߺ½߆ϴ؊ࣺю;ՐƜĪΫӜԿF΃ƋΓÄʻ̆ʍٖοҢͻT˗֠ѫΖεɆԋغͩƊˉˣęաpكĘ̹ïųȱ˕}ͧDzधнϥĎŗÝʥԕطǐؙĊ՗̴ۓ˸҉˓͛яùדգ²֩Ƙԅѻѯޱėʐ›Ϧϧ˔̳Ѡï̠ЇѮæʢċΞÞٴȬƴц࡜"],encodeOffsets:[[15647,7601]]}},{type:"Feature",id:"CAN",properties:{name:"Canada"},geometry:{type:"MultiPolygon",coordinates:[["@@؎œުxЯ΅̵Å੥Φȿˬ͆ʸ̎С"],["@@Хcઝ˂ޯІ̄î૆Ɂ࡮Η|Ʒ"],["@@хŝൡϢʥ̘ݩ̌Ưʈࡻư͕ҜðȚࢨǿԨŵ߄ė˺̃дЋ࠼΍Όҩ"],["@@։ܿո˴֠ǵ̏̉ݚɱϰȴ࠼ʵʹ؛טƞņѿʼԷΝ݉ϝ‹փǂǾیɻńইܯԅ†צЂ߫Ȳࣙ¹࿅~ŹʠԼ̐λɬ۸Ԓࢄ೾Զӎܲ̂϶™Njɫ҅Չ"],["@@@@@@@@߰äʥ॓ܶگͯDԑϪ̵ϮчʾƻτºˎЂŋ"],["@@͡ѳχîəʢ Î͖ʦΆkɈǣ"],["@@ঝҧץnǿɪزϲ଼SiǍ"],["@@ƼυјżӨɗं˽४ʽöЍؤÞ׶˥ݙ˃ಳȬҽϚ࠭ҁ஡ѣ˿Ӯଗăܴдņڌ˺ޔ؈å"],["@@ष¥ȿЪΦҼޖŜپɷXέħřձʛ"],["@@Է̍ଉʬۃğଫϘ݊ʼטζࢼʃԎƯʦDžԠ͍"],["@@G࡭૰ڄ৐եʡح߾֥࢚؈ؖܨ°ईஞÝఔūૼй¼зس҃פ҇ŃУ࿩חୡŻࢃʨʣуߵ۽ʓοই֩ளÇڏΡÇձ঍Ŀਉڻ࣭ु͙ڏ±উంƕϜ޻ϼّ୲ǔ༞εࡀ͋׺Ѕ੆ɳࢸΟ൶µࣴąƍܫʼࡋ،ळనߗ٨˚ҔࡺѭೢףѶഎЀ॒לҮהç֭֘܌৷لলࢤνݾ˫ಾגȘ෸ɫࡸć۠ɚ޴˵ਚӣʮ͙ຄÛ}۷˪ਜ਼ގſ،ӵ௖Ұߦऔ֌ϸٺݣબੳघ৙͵Յ૤Ӂݰӓംɏբˍͬ܃ټŏͶͅÖऻ؍́׽̏൯̗੏ۑ෇ƋᅛǮుPࢇÍ۱׽ੳω௉૗ॵޡ܌Ɛഘૄᄈ۪సČݔЫߍ֟ˊࣟ˜هતп൸ŨࡆीÎ؍ժ̥ਣսᇷԁ࠯ͽय؁ٓ֍܆ฤ۞഍ƒणĹջӆBନύʐ֛ƛ˧ɚٙىʱٹ̕ϡΥŽˏ¥čȹ໽A౥MϛƷࢵ؃Ŀßˍ͝ޗBࠛGϛƅƊǑøʯeďષлࡽſউ҅Ɂ@˷ƂĥŦnĔȂ̎ЂҦʘӺǙܴǵނ࢕ЂľƬūĺɳ@ǛƆ¥ȤǍēɥ€¾ĊȡĊćɚٵːڹ˪ࠑ͘߁̨ݧʃ˝Sਕɔڻʼnࠁʺ࡫Ɔו¾ʻƜƫҤ˳IE͓჏BᮝA᭯@ᡃ@ᠿ@៙@ᢡ@ࠛ@᠁@ᛷ@őF྽ࠜ׵δຽΐҳݖŤԨ੻ΨƧڴ৭؎iѠҲКwՌෙ՘࡭ॠՁ׾ޑϚ֣ΈѿѢࡇ˕ࠇҹݛւדπࠋɸࠟ|JⷎNᷲ༬ȭ೘Й࢘û݆ΖৰˀఢĹ఼τ൘Ⱦ־ΑظȠȊЄ׈ęෆݫ૦֬ŖّਔƐ͆ʖৰ·౼Λዸ̭ୄƛࠖÄଊэ஁зຶǷᗘIJܒƦࣆԋࣴьࡩΦժ˼৾žڦĎڴȩࡊҗरä๢ϛಬƄ௬oĭԺݞƦದ˵KߑՖڠڰuϞࡊ࣑԰কͺäघশ؎ૌƇࡘχଞॅݗЭ༠ǝ"],["@@нϿሎʬୠщॊіސ˟یࠛфΒ׭ࡰ݊Ŭ࠲Ƈश͹ՆࠉʼץථеະЉĝσൡã՚͓˱ູ̯Ƃฃɪঋ»ཅ˷ᒃű๻āҕІଫɮݙģਛږ֔ĚಘƜஈ›રƦྷȞᅗã஗jѷ̴ዎͲಗ[ืɚ۶ـגͮᖬԠ࡬Nj"],["@@݉ևಹך˸Ş૸’ٔȁ"],["@@öɵࢿ|ࣟjࣿőʑ¼ऍѾ˜̠ИÈነěชң"],["@@ڎԽޤڴᒆΈ෺ࢅůջဒʒߒͮሀыୄЏŊν༚Ȑ࢘՗᎐ܸͩ͹ߐ޻໯ϹጘչೲȁீޙೖÇʽכ้ঋਗά೓߲ઙĿŁӕࢪӥଜϯΌɟմࠩ́׿੕ɪᑏڨஎܣ࢔ԕƎ̉ᗱͲᅩӤ৳Ц̌ʂయќ௥Т`ʑᝡƅ܃˾ֆؤ཈dႸņ˫̜̊оચࠊɳϊ͕˾౿Рၳ˺՞ɆࢷԺ݋´ڏ˸҇ʛ຿ŅᵝȈᄫʚഹŴۥ̐࢞Ϧ஝Hˉ࡚٦ݨࡺ΄ᓪɢأի"],["@@৊ǯຄńɖʑ޷Е౜αƱݳ൝͗߳ê׉͎ᐡٮjˎ႖ĽएռসР"],["@@࣓عय़ŒԽ݆`кѮΨ࠰ɮც‡ྈȱళݟ৉Ǎ"],["@@ᕍЙѷςኹѺήΤ׌ؘܰւࠑԦᭊƀ஬ǧᒰ±ࠄʑࣖΝ੍ɃᏝןਫי@ν"],["@@ҙ͙௝Øৱɖ҂Ϛீɨܼ̬̍ˇ"],["@@ٞϵ€љϣس൱đࣗƈjӬ൝ÝÁٮࣜౌ˺ஂµÜŎ"],["@@̙͢ݠƘࢢ™ƪЩԝЋ᭗Žᑯη౩mŅ˜პϊ④ij୯Ʈପࠐ߈ɾᛄ˳๶ӻฺÛறߨޔ̪ࢄĭ˲Џ"],["@@ढ˓ကFܨˡȑ́८ȍՔȧଊ™௬ë೸ǼႊðീÏ࣒ͅȊ΍ԽɟభǷ੽ĸᜱŻႫcഫļᖁ˔̃ҦĹжࡇξ჋ĺঅʼ͂ΈႾÁ"],["@@ŗ٣٩̇޹£༝Ϋ഍ŹଗǼ@@ුؼႮծಆ[ସŬ"],["@@ϣy༽Âɡɼၜ]מƻĵĩ"],["@@༩ʋఝ˔ڼˎ௮Đஈſ˩ʥ"],["@@৽ǏඉBbŤࡴʦҌદǝ"],["@@కǥۃȚέ͂áΎજ‘ӪÅ৐̇ɫ̣"],["@@͜Ε൏Ĥ൩˘ሏŒߺʠ৫ȮÕ͐࿶ŕᗢ̫ٞЍ"],["@@০˕ଽʟ༇ك๥Óდņࣗ΄^̦ڔɢ໡Oए˨ՑϠ׌ώ׊ʲࡴÎοȖዜ¨੶҅මǵ൞ǃڒև"],["@@ᖢßᅮŅ໤ɫ™ɡᏅη᎙ǟݻȉᆬJጡԙേʃ෯ۇႿƓՙǡᡷěୈĿׇƭ۞бߙ˽ಛʃЋ͡୫ʣŞȏ෬lȳᖟԋᔧɴឿŻధĸཟªĿЖ༊Ȑб؆ԢÐᖤγ଩բഹLjڼ͘๰Ȩʄ̊஋͠ΥѠᘞ—ڒĝ಼̪ቃĬ᰽Á๣˸۩ͼগʘȁ˺దLjঘ‚࿲ƌం̺ਬ©ࣤɽٔҒૐƈບĢᢲ–Ҁĝ᝚ƚᆔÁᆒÁ"]],encodeOffsets:[[[-65192,47668]],[[-63289,50284]],[[-126474,49675]],[[-57481,51904]],[[-135895,55337]],[[-81168,63651]],[[-83863,64216]],[[-87205,67234]],[[-77686,68761]],[[-97943,70767]],[[-92720,71166]],[[-116907,74877]],[[-107008,75183]],[[-78172,74858]],[[-88639,74914]],[[-102764,75617]],[[-95433,74519]],[[-123351,73097]],[[-95859,76780]],[[-100864,78562]],[[-110808,78031]],[[-96956,78949]],[[-118987,79509]],[[-96092,79381]],[[-112831,79562]],[[-112295,80489]],[[-98130,79931]],[[-102461,80205]],[[-89108,81572]],[[-70144,85101]]]}},{type:"Feature",id:"CHE",properties:{name:"Switzerland"},geometry:{type:"Polygon",coordinates:["@@ƫŹȳϞƵіwá΅χƙةŀǻ͹ЏơƄһ˵Л¡αǶ˽ςБſ^ϠؚҾɈϤûɲƞ܎MǦǼ࣒ʱ"],encodeOffsets:[[9825,48666]]}},{type:"Feature",id:"CHL",properties:{name:"Chile"},geometry:{type:"MultiPolygon",coordinates:[["@@Bም࣒@Ԓw˧ͻܛʻЭ‚ӻä؏ʨ࢟ŨੑҸ࡫Ҏୃशۘǭ୼֗૜̟ѢϬ˘ֺޠΎװı"],["@@͢୅؆ŘĺɁ˿ࢍࣵг€ඓǫ˓ʦ͡ץԹջ߁̛ރĀ߿ԫࡹϮฏɔƵCޛӑࠍpۯٍշFޙʮࠏԉ̧ɣݡȟࡱƚ৿ͷǡȞॹϜ͇ˡΛ϶ǙĚ̓νǃĜӱ̫૗ѽܓĮыˇՑ٣υôࢹ̧̐֔ÄgؽΒө᎔őުſݝPЙȷݷ̣Ɖ޹Σoॅ˚१ג@@ਲ਼ӔˁՒʄӰх֒Ņ෤Φ߰ࢴٰౣʔߞݒ˸ඊत̏Ѯგ֝ɠʿ਻ՉŠ˂ல˺༒ϮָʍࠎéूΠ„Ԩപ׈എΤబȗ఼ʤۚĵਞӮਆưྺ˒ნˀሤÕ൘ǩ஄ќɌɦњЬֱŐ؅ѴΡ˅߽Ҍह"]],encodeOffsets:[[[-70281,-53899]],[[-69857,-22010]]]}},{type:"Feature",id:"CHN",properties:{name:"China"},geometry:{type:"MultiPolygon",coordinates:[["@@ԑഓΫۏѷ܂ĩخӶࠜڦَϨʡƣԓ","@@ܩЗۏʺyܢаϠࣾɾӚoȊ͍σσșӟ"],["@@ฬˍ঺ׯͼ߃౨Cܰͨ൸ʜѳݱ͙̭˽ः֡ࠇ৵ƪܝ̑ɜܙť঳ѕwLяթӺͯһಙαƀѹܩŒЍ˂ֽ׭ऑҋۃա୭ʑأϽࣝɭ҂ϴǭ͞ږ֠ѹѲܷ̓ॉ׏ԫթ࠙¡ѓϻѸ֩یƏ„ϕڔʕस׶ݚ͝լuƌѱஓɻϻҏࠇућיࣜҥͦࠝԞޓ֮٥_دՅɯȪ҃ӶʻŻۃɇڗҷ÷ؗࣧڹિޭোିޡୟۻृĩԣύ̃˘Ӈй୭сࢵŹ˻ࢱҭ·ə؎Ȧ͘ૻːЇƍࡍɔЏ΀ƄӜޏƶЙܑ̀҃ࠇīڡJ҉ȳѥūŶ॥҃x÷Ȣ}Ύ؝ʓεƸر͂ʔۤՏǎȧޜࢱƓĴাߔۮ”ۚ{٠νȨ˭ӶӭÙࣟŲ˴ΜϿԺ׳Ν۵ȸॷ՗އسڳĿοɦѹr׷Țґɇ֋رëڌԟǭওĈोȖڿτٵǔ˯ЖҽŦࡓոکʴΑȩଢ଼טࠛՒɽऐ׾ő‚іͭјĐۆࣙঠ൧ͼʝ٦ةϼƫʌųӎˆ͜ԛȔ˟ďɇިʈȔśȠߤЈ׈ǐࢸő͆՜ંIJͮ̚೜ҔŠȐãӐּɔݱฦဘͲјȈ؆ຒဠˡҲϞ¢ࡆۦĀٖ֔͢èɚו۸ѽப̿׆ڱ͕ঙ̢ηূƝଆŝ৪ԻԲġϤޟӲӿऒnჄȉ૤Ŝࠦůఔԛ৮BόʽঐҌബ̈ాŒঘ̒׾҈ך˰Ƌˤˍ͔ѴըӀùࡺǝ࠸Ѿ౲͚؞֊נʆ௠ŐڐĥĠ̘ݿזګː٥̳ࠣžӇŃɏΆר࠾Цو৚̓ஆՎQτݸࢾҲːWҪңȦۜмਰƲ૜vసʡ݈̱԰ࡏ̀α̊ԩ̶ࠕ"]],encodeOffsets:[[[124701,24980],[112988,19127]],[[130722,50955]]]}},{type:"Feature",id:"CIV",properties:{name:"Ivory Coast"},geometry:{type:"Polygon",coordinates:["@@ϣUוǒ՟Wহƥ׍ʍ̯ࠫNjvÞۖĄŀ}ͨΣΚˉÈʕɲǾώčО ʔƄB¸ξÝnjĄŜ̸ĶȹڨȗΎæ˸ǘÞŊúɸųٮOƸʖƢgʎĦžΫȞłΌŰϚǽƦ˥Ϙǯ̎ɄϾŒֺɏɠ஡Ο۷ɕेθܣ›ͧ"],encodeOffsets:[[-2924,5115]]}},{type:"Feature",id:"CMR",properties:{name:"Cameroon"},geometry:{type:"Polygon",coordinates:["@@Ľ°ӻŇԝŒЋÅ൅nŬڒ͟֊ϧƚǟϖɋŦXɶɎתЎ߸ʒRԄӮ͈bҾΉ־˲ĀΔȌͺžь҆ΊǞךDzȊŢѨɜ՚۾ٲ¬˨ĠƲͫͰ‚ˌʂ¶ͮ՟Ê֏‹֏ҜޅҷTʁÏϥČǻЅӸөμƛŠΏˆ׃ſɩх࡛ȫƳÝٳČΝåʡЈѭð̴̟џϨ˓œϥĘʏÓґڛȤڷɜ੗"],encodeOffsets:[[13390,2322]]}},{type:"Feature",id:"COD",properties:{name:"Democratic Republic of the Congo"},geometry:{type:"Polygon",coordinates:["@@»ঙͶŕˑ̗͓ɟ͍ѫǯϷ±ګț͍Oهʍɹ‹ԃŗÝýҟɄϡÂ৥ưޝċѧǘӣӤҹҒ੕ͥĒ૿ƙɣĵʇՙȊχƫষĻࡇɨƫט͝ɲƴìٟࣟR·Ҧ̳ΨٟŠȋѰԣ˅ڧŞ˫ϢՕüϽqµʾ́rϥºԳųιtȻû®ৄ˩̸ÕԬŬԒǝ͖eՊ৳Qò̢ѕG­ƣԵɁӧűȿҫŠˣş։å͏Ѱȗ˖ʋԌȷض៛\\̍ķʑh΋œşʼɊʀμƎɎ̪ǰɚđ˼͐ҜSÄʃ̼ƩӶՄӨШɆːƒ۔θࠆϬўքМĪˌt̰Ǝ̆«ӊŀݖǐԾʦ҈¸Ԕúה͜ѐҊ˔۔˷՘ؚ̳ĉظǏʦԖŘÞϦčनоͨDZ˖~ŴȲ̺ðلėբoˤĚԘۙϘķɤƖϲÅҶDzȦΫ݊֏"],encodeOffsets:[[31574,3594]]}},{type:"Feature",id:"COG",properties:{name:"Republic of the Congo"},geometry:{type:"Polygon",coordinates:["@@̿˾ʩƗͻγۏࢸٖҪ̓֌˾ɂ֦ĺäό҆Зݐ•ʴЈł֒ĝڀЉӺζ঄ȽǘسçɻѢÔξ੘ڸɛڜȣÔҒѰ޲ԆѼ֪Ɨդ±·ԓʥ҇ǏԽĿݕ¬Ӊƍ̅s̯ĩˋփЛϫѝηࠅ„ۓɅˏӧЧӵՃ̻ƪÃʄқT˻͏əĒ"],encodeOffsets:[[13308,-4895]]}},{type:"Feature",id:"COL",properties:{name:"Colombia"},geometry:{type:"Polygon",coordinates:["@@ΫȤЭ˨ʅƅ܉Ŝȱΰƽ_࠿Ӓŕʺ̼ڛтȢ̦иÊΞՆ͐Ѵ̳ȦDŽӦȏސǸɚƃ܄ͻ҄ņТ˔ÑǂʠțӶĺŬѢـהΌĚT˦ƺ܂ӖϸՊfäǪڂéڌъ͞ȊОК̖»ɚɛǍ˱գƕɇп͗ʋʓ̷Ĺ׵ɷӭѢÇņϭȄȁâ͹ij̵ˆǫȸéȨ̉ઊĄӦŃעܡͼĚ؂­ӐĪ̔ƟƱҍȇ˯ß׻ǜ֑ʆʟ†ȉэл̨ȃɠ̋ʰ࠹ǁĻǏӸɷˊ˥́࿕lZԿӰē…͏ǙĔҿƑK؏ώ̫ƀӓoηϙᘯп҂ʣpժࡤٟϾԍị̈ƤҧɝصŀӵࢤϳɐˍІ֑Њɡā"],encodeOffsets:[[-77182,-155]]}},{type:"Feature",id:"CRI",properties:{name:"Costa Rica"},geometry:{type:"Polygon",coordinates:["@@җȆǟǮĬƤ‰ȄɷȪͥǔ́ņÅʖəƮÄʑǗȩȓɸˑĊŗǞLʮŎˆʁŠȖnjŴňֆɝȖŊˊéƔǥʜÇȪDzɈҙ͖ͷЂΩ͗õLͷǪűűıƱëǟ©Ǖ"],encodeOffsets:[[-84956,8423]]}},{type:"Feature",id:"CUB",properties:{name:"Cuba"},geometry:{type:"Polygon",coordinates:["@@ܨÑڊW߄˹̭ͮ޺Ĩ̔ȡ܈ԳԺϛˢ\\ԆǟÕʁئ“ٌ΅ıȟ֑Ń֡¥׃âளą֜Ҷ΁ɔէÈ̃ʐȥӎӃ޵ɦʥǬભž̋ǐ̀ɀࠗ¨׿ѧΏ[ťȳеğΫĂѺʸǼ̤ϞȈіǎَĄȰĢ"],encodeOffsets:[[-84242,23746]]}},{type:"Feature",id:"-99",properties:{name:"Northern Cyprus"},geometry:{type:"Polygon",coordinates:["@@ÐJŨȮ؄Yކʢ֧ΧÔƿęˆLJÙűj¥iĎѾNjVɫïƿ¬"],encodeOffsets:[[33518,35984]]}},{type:"Feature",id:"CYP",properties:{name:"Cyprus"},geometry:{type:"Polygon",coordinates:["@@€ãࡱͿЩŊȟͶЎŒǀ«ɬðnjUÒ½j覎ŲiLjÚ̇"],encodeOffsets:[[34789,35900]]}},{type:"Feature",id:"CZE",properties:{name:"Czech Republic"},geometry:{type:"Polygon",coordinates:["@@ϯǂЁ©ٵʲ̏Ùҿ΅ر˔ӃΰѕȬėΠƧʠؒǾ̸Ⱦ׾ǎɂdžɜīϒĖЊ˓ؼñ¿ɳҘǧŲɒּĥĄʿز»ϮЯʡCŽƯȕ—ÅȑLJ¡wý˹ēϋbšȁ"],encodeOffsets:[[17368,49764]]}},{type:"Feature",id:"DEU",properties:{name:"Germany"},geometry:{type:"Polygon",coordinates:["@@d͗ࡔțS̗ࡢǂҾɰॊͧІˋȞёɹɣ̨̙Ⱥ҅ß́Έ՛ϑĕɛĬɁDž׽Ǎ̷ȽؑǽƨʟĘΟіȫӄί̑ϯ̟ŃŢշýƛʿǤЕ~׷ƭݍ–ţɛыɺʩ±࣑ʲǥǻ܍Nń״ьֺ௅ƸЇɘ´ςǗȐĨ֨ƗࢢԎ@Ɉ͂Ⱦޔƿ˴ǐDz۰°Ƽȃ֮вȓ̀ӈٌōՠŸ"],encodeOffsets:[[10161,56303]]}},{type:"Feature",id:"DJI",properties:{name:"Djibouti"},geometry:{type:"Polygon",coordinates:["@@ȤʹΑӏȩήɯ̱҇ȅƬȭÏҷb_ʮßɶ˴Ѐ̐ϊήñʪȴ"],encodeOffsets:[[44116,13005]]}},{type:"Feature",id:"DNK",properties:{name:"Denmark"},geometry:{type:"MultiPolygon",coordinates:[["@@ԋڹ࢟ӄŝΒ௼˨ˎу"],["@@ȵ̓ʡĞ؁؁ɮХ՟ŷًŎͽҲ}࡬Ɣɪʌʦ݌À̐ɴڮʂƒѝʟ˙ĶɽҘŵ"]],encodeOffsets:[[[12995,56945]],[[11175,57814]]]}},{type:"Feature",id:"DOM",properties:{name:"Dominican Republic"},geometry:{type:"Polygon",coordinates:["@@ŀƞپIӾɏɜtƴ̕Ҡhʡϐ‰Ю̷̯ͿЍǼϫ•ˡ¢ƱƵ͑½ŷȲˣťͳֻɏƆ§ʎjɬɍʦȲƚÞ͒óҜ"],encodeOffsets:[[-73433,20188]]}},{type:"Feature",id:"DZA",properties:{name:"Algeria"},geometry:{type:"Polygon",coordinates:["@@ᮩཽᝩ࿷இϑटćU՘ϵƌԹʊȧЀᬻᆴᬻᆴṕᎠfnj@ÊQ঺ബب࠼Ÿێɦ͎тচͪ˜جӢòϞ̶સƚƸ͜ɛDz̃ࢲ¹Ԟ́ՠ߰ҠࣦƢՌΎ߶ʰ෎Ƭർæшůߊͨ࣌P΀ȝֺ¾ǟћƄߟȡۙԭҵôمۊԃRȯԮ͹Ϊຝ˖ݏ°ϵƧۇÔϥŃҟòՇͫΗӺؓŽέ̘ҵϼƸڒϷςՃ"],encodeOffsets:[[12288,24035]]}},{type:"Feature",id:"ECU",properties:{name:"Ecuador"},geometry:{type:"Polygon",coordinates:["@@҂غǻξ͍ϵԉςǞʀƙބ̎ŴƺԼ͆զÍ΄ҢǸ׀Ͱࡀӑƾ`Ȳί܊śʆƆЮ˧άȣŞٓʽճࣷ࢟য়ͧԥܵǃ֣Ӆ΋ΙъͻĞ΍áw̮ʈȨıΔ"],encodeOffsets:[[-82229,-3486]]}},{type:"Feature",id:"EGY",properties:{name:"Egypt"},geometry:{type:"Polygon",coordinates:["@@ɽͷǹىɫѩȝƥ˩˔ϛϒ׵ஸđùΐࢯԪࡋٌವ̴ҙ˒ӃݮछǗƣ‚ճ঒ݭƨǣΏ@Ὁ@⁩@@ᶶ@Ჴʥڲɐ԰Żά̤Ж૦b߲ɝ࠲ʛϴſ٨ˊΌʊݎêװŃɮеȜ˜ڨȣټ³аɄւ෽"],encodeOffsets:[[35761,30210]]}},{type:"Feature",id:"ERI",properties:{name:"Eritrea"},geometry:{type:"Polygon",coordinates:["@@˻˖ΉӰϋ˒ɏܷ̄ͶֻXȭǬӯȡԛϢʽط঑ǬęʹβఀĊ֒ˆʴؤƐьӒӦঃɴޗҢУବߏҲӍҖӝˀ˿аʧʩȳέò"],encodeOffsets:[[43368,12844]]}},{type:"Feature",id:"ESP",properties:{name:"Spain"},geometry:{type:"Polygon",coordinates:["@@¦״΃θஒ؆ਊƱ૾NࣂƝۦªമƒͰ͛໺ϡ̨ǺीϝআŊ®ӥߓ֓ઁǯõ˱ԩү͕ہ͞ӑӟϑǹճىǗש٥੧_ߟhՃ͍̓ͅЩê̵˴ʃӚ޷žé˦̶̀Śɬ̃ʢɶրͳԌδè’ЈƎŬZپϲɪɻфөˆƝŁӹCɁЬ΃ū̥ɇ"],encodeOffsets:[[-9251,42886]]}},{type:"Feature",id:"EST",properties:{name:"Estonia"},geometry:{type:"Polygon",coordinates:["@@ĮӸ̱ŁՓ̘ñӘਫ਼ɼ੔Ũ࣮Ƒࢂ|Ŵƣׯӝʞ޵ΫˉۙDܡ̸ρļ܏Ʃ"],encodeOffsets:[[24897,59181]]}},{type:"Feature",id:"ETH",properties:{name:"Ethiopia"},geometry:{type:"Polygon",coordinates:["@@ԜϡӰȢȮǫּWܸ͵ɐ̃όˑΊӯ˼˕̏ω˳Ͽàɵ`ʭҸaȮÐȆƫǽ̴̕ҧ̴Й̛͎ᩨঽۺNᛛᡃફ™ݟףաeɯ˅ַB͹˴ލΙʝΓ֕àȃĬȟwˇT੟܌ב@˹ˢ@ҾѧƘӻࣴϥȚƧʹэЦԧÒ˸ӐҀrŲʰ[ݲʞࢠЊɾĎ΄ήٜԔи΀ࠠƆܠ঒ǫʾظ"],encodeOffsets:[[38816,15319]]}},{type:"Feature",id:"FIN",properties:{name:"Finland"},geometry:{type:"Polygon",coordinates:["@@ūיಀ֓ޡى঎ख़֡ܛݴس΅յఘֻ́ѓޭӟᅡੵໃá๑̯ൃǯӡҞ߿ˠȈࠢСݶАӪނՆ኎࣮֖Ǭē΢ୟЈ˳͜uಒ಻ֲ૩ЪԊɞतѻલ¦ࣘȭߠϊЬ؞ಬ˶઄ͯΡכ"],encodeOffsets:[[29279,70723]]}},{type:"Feature",id:"FJI",properties:{name:"Fiji"},geometry:{type:"MultiPolygon",coordinates:[["@@̂ʍƓѭԳŗҩļąτ͖̀ϤĻȼƐ"],["@@՛ǯŅ̼оǤˊ°Ӱˀ@ЧՕȷ"],["@@é­@ШǨžĽЗ"]],encodeOffsets:[[[182655,-17756]],[[183669,-17204]],[[-184235,-16897]]]}},{type:"Feature",id:"FLK",properties:{name:"Falkland Islands"},geometry:{type:"Polygon",coordinates:["@@৘Ԍ܎ȿԌʹڦϙʥ̋ଋʥϙ̌܋ϙпϚ"],encodeOffsets:[[-62668,-53094]]}},{type:"Feature",id:"FRA",properties:{name:"France"},geometry:{type:"MultiPolygon",coordinates:[["@@ˣ٭ϡǠș֢ǜ̺ը͎Ɯܛ"],["@@הЅќà݀ϥȊñʎjЈɗெƷыֹŃ׳ɱƝϣü‚ɇؙҽ]ϟВƀ˾ρ“ʁʚ̿̅ʯɐٱҖŃĩηݿӅစɬ௧˗ĩԑঅʼnिϞ̧ǹ໹Ϣͯ͜ѢԎdžူࢁࢤإю౹͒čؖઠǾථɏˇॎߌέዠپʨێܾǞŪ̑ϸ_ϸ͵"]],encodeOffsets:[[[9790,43165]],[[3675,51589]]]}},{type:"Feature",id:"GAB",properties:{name:"Gabon"},geometry:{type:"Polygon",coordinates:["@@ࡹࡔ։ۚԙࢄ‚˨ǾˎȲؔǜخ˴¶௢SOৠЌÆԞőӼňľ¯ÓνɼѡشèȾǗεঃЊӹĞٿŁ֑ʳЇݏ–҅Иãϋ֥Ĺ˽Ɂ̈́֋ٕҩ"],encodeOffsets:[[11361,-4074]]}},{type:"Feature",id:"GBR",properties:{name:"United Kingdom"},geometry:{type:"MultiPolygon",coordinates:[["@@҉ֽًǦԱ[ǦҊǥ҈۴–ࣔԳ"],["@@࣋ࣧࡦŘऄIɕۅݯݩࢄÃäĕݠ঱ֺƇԬढ़ʈͧৰDžķ՝ѓʗͲѣݱѯ૳Rෝɱϻǒ։ϿޥĪם͍ҁǘ௼ࢨݪǺOBಽƔʃͰ࢜ʺҡҐdžռఢ÷D@ŮӤ֛Ԯ_\\৵ƨȧɬ̨ϒˡɴҍЇ·߶щє̨ࢆٶھڤá০ì"]],encodeOffsets:[[[-5797,55864]],[[-3077,60043]]]}},{type:"Feature",id:"GEO",properties:{name:"Georgia"},geometry:{type:"Polygon",coordinates:["@@Ųάȿִӟ̲ҭĬ̯ʴĺIJ܄ƝఆƋଦЕƦƻԚƂ޶ǭʴ·Նșɓřвғŗıҏºصʎȵƍଢ଼ſ߳Юࣅ¡"],encodeOffsets:[[42552,42533]]}},{type:"Feature",id:"GHA",properties:{name:"Ghana"},geometry:{type:"Polygon",coordinates:["@@೉ӯҳ˽ݳʑݡʆœͨηܤɖैΠ۸ɟ஢ŗنrӊฤ¢ϊÕ˔ƊϴáÕʿΖџC؍Ąڍɂ̫ȅݳäйɢՓȈ̍"],encodeOffsets:[[1086,6072]]}},{type:"Feature",id:"GIN",properties:{name:"Guinea"},geometry:{type:"Polygon",coordinates:["@@ʃtǡͷʁJǏǴÈͶΗԨɕħǵmɳ³V̮Ƈɘ‚ʔǻΜɹ̜ڥDțǁɵoƝǷīɹ҅σρӼ͛͢ɋŊȿǖħϊūȂʓƐώЦʮeɖƘȄDƄŎï˨ĢĖd˶МU؀ȱȄlÚĤҜáŨ´¶̭ƆBɖŒƔƒɸɇάãɲǺ˖ŒȬŠǚuȈȁĴɳΆΙǣɏ˙ǴĊŀį«ʡʲʍǗÝå˷Ș΍Ⱥڧ̷ĵăśÞNj·νƃA"],encodeOffsets:[[-8641,7871]]}},{type:"Feature",id:"GMB",properties:{name:"Gambia"},geometry:{type:"Polygon",coordinates:["@@ņόࣶzȎȦˊ`ͨȷʼIˢƚǞʏεȋιdέǰ̷ȗƭQȫŝއl"],encodeOffsets:[[-17245,13468]]}},{type:"Feature",id:"GNB",properties:{name:"Guinea Bissau"},geometry:{type:"Polygon",coordinates:["@@҅ΘΝÈȕʀLŸʯǴÁǶѼƌ˦ɦĨ༈•c˵ġĕð˧ƃōȃCɕƗʭfύХ"],encodeOffsets:[[-15493,11306]]}},{type:"Feature",id:"GNQ",properties:{name:"Equatorial Guinea"},geometry:{type:"Polygon",coordinates:["@@ƿŴ़̀െmPয়௡T˳µ"],encodeOffsets:[[9721,1035]]}},{type:"Feature",id:"GRC",properties:{name:"Greece"},geometry:{type:"MultiPolygon",coordinates:[["@@Ҡ˱ٺ¶شÑqƣҜĶĿʛ௃íTƒਁǎƺΦ"],["@@ʹՁȥĥԟ|ѫĀৱɓ׌ҿяƋҳAѻўƿȁȊԅрЁ̓ǿҴϯжʑ^ӅޥɠʜѕՓĕ͈ݏ֏Yۍμ̿ڦƧ֒͝ϮљӐÉʆϸТ¼˚˘Ũjɚռö͌ȀҖgƒƦdž„ت{ڨɲע̉ކĀVмЦɝ"]],encodeOffsets:[[[24269,36562]],[[27243,42560]]]}},{type:"Feature",id:"GRL",properties:{name:"Greenland"},geometry:{type:"Polygon",coordinates:["@@ᬜԆ᱒›ੴ̴ᲈĄ䀦Ŀ㉊ڗ༅͕ộ™⭏ćшƫᲐĠᡚ́࿈ʴۦ̝इӧᒞ̺✘͚ᠼNjҾΫ⃝ױӃȕ᧑ơወ¡ছؕگկ€ध৚շಽ“൧ˇ༂ѽȢ܋࣍ýઞܡህÑঈ΁˟̑இŽ୥E੆֩\\Ϗပΐћɣଌȿ઼ԣ͈ڱກlj٫͖ਣӘ˼֭উѵᕖ•୆¯ᖯܵᗿڏឧ́ओIࢅ͓ୟࢱᅵכׅ“૧ȷ஽ȝܛԱ[כыտോڧͺٿϗ۝љࠍஅ½఍ۈဿLࠁҢ֕ࠐฝਲэոŗݮ୓ޢ̢ئ֗̒ࠪচొ̺ͨΘǬڀॡ̕қůݯţਏ˜Éְ͢҂ެ\\႔ɟ෿Քݩ˾࠷ş۫ȼम޴ԝ̺ڗ׈ৡࢼ੯͚XΚᖷӮᄻÖᖟ‘Ꮕ×ইˌวՈᕂ˄ၚ¬≹ɖ቉΄Ś͜ẊИᶎИ̪͘ᗗ̠ܺͰ᯲ז௢ĚΓϘጲɜᣚƂᣖRࣺʽᕺҨፘ̽୺áპ˙ፅҐŘή"],encodeOffsets:[[-47886,84612]]}},{type:"Feature",id:"GTM",properties:{name:"Guatemala"},geometry:{type:"Polygon",coordinates:["@@ћƦԻfϩǖҍΌrʖĮȠšƾКۆ઄Ft˸Ƌ¾ġǺ̵Ț̹ˬϜDBӂ޸BަUOڗßॅʤ@˚ƱòŰʘŃϥ͍ЉɻÏljâǑǧɇȟ½¬ıƿġ˽Ƀ}ŭ"],encodeOffsets:[[-92257,14065]]}},{type:"Feature",id:"GUF",properties:{name:"French Guiana"},geometry:{type:"Polygon",coordinates:["@@͉͑ГÑŗʀȉ–ʹɩνǦɈΪòϤƢή͛ӸáֺѪܠ˸ğؤȥࢸۿƔ·ӻޑʳأ"],encodeOffsets:[[-53817,2565]]}},{type:"Feature",id:"GUY",properties:{name:"Guyana"},geometry:{type:"Polygon",coordinates:["@@ր̯Դյzџ̈́o҈Чͪ̇Ƈݱԛɕ°ȣƹџϊ؏ːAŎӃԢܳȱ‰ҫî˙ɡϟƥ˅—ġǑЭ¦ԫЀÓϴɋьƆܐɸ̐ȕϸ˿ŶŊτțȘѩ™ْ֩ɬɲiϲԬƊȾƾ˽̸ô̬ږӲ"],encodeOffsets:[[-61192,8568]]}},{type:"Feature",id:"HND",properties:{name:"Honduras"},geometry:{type:"Polygon",coordinates:["@@ơˀʭòÐʹŗĞǣÒσij‹ŔʩƈǷǚʛìǨɈáǒÐNJЊɼϦ͎ĔȂƨʊ\\þ垦ϸùϲv˒ĢİĦˎ©ȪÉɘnǖòϨśƄkʲƿʐį̏Źɜɳ˽jśŕ̇ŋɃAȅŃǙœƛźĕ{ŇȩăRaǥ̉ɳƹıđĽʛǞǹɣǫPȟqlЭūQĿȓʽ“"],encodeOffsets:[[-89412,13297]]}},{type:"Feature",id:"HRV",properties:{name:"Croatia"},geometry:{type:"Polygon",coordinates:["@@Ȳ͗ˊʇ͓̓ϝȆׇ[ܟƔϽmǻǧ̝ȖǫΑЪϽǼʹϮ̽͌ȃ͆Ηݔ͇ġƛ߃̶ӣ̢ޑʠ۹ؤǞØϥΞe˲եƄʱγʝˮn̆Šbג…Ƹƚ˸ƍͤgGɼ̈ĒĈͺڞɠˊĻؼέۜlj̼Ų"],encodeOffsets:[[19282,47011]]}},{type:"Feature",id:"HTI",properties:{name:"Haiti"},geometry:{type:"Polygon",coordinates:["@@Ԣ™ܰƁôқÝ͑ȱƙɎʥiɫ֏ƜЅÍԡÔϽƿ҉ʾö˔ޜśيã̢ȈϧθP͎ՋžȌɶ"],encodeOffsets:[[-74946,20394]]}},{type:"Feature",id:"HUN",properties:{name:"Hungary"},geometry:{type:"Polygon",coordinates:["@@˨ըǍǼӂDÜ΄ђɋ̲ğ۸ļäǚͮ~ЦžĜÃЂŀȠȢˠ¼࣒ʭǴĒҲɭÎɣԡǭЉ֫ԕ֭کǁԽš١ə̻űۛNJػήˉļǍ˴ƗV"],encodeOffsets:[[16592,47977]]}},{type:"Feature",id:"IDN",properties:{name:"Indonesia"},geometry:{type:"MultiPolygon",coordinates:[["@@Λe૝ך޴ǒѴʭ̎ʭ»ɩ"],["@@ܙȁijĶø˸ΰԢࠨͬĐǓfʫշع"],["@@̢ɣԲèȼΥॿǛ׉őҍP̀ӚҤPɤ̖"],["@@ūұ౅ʅૣľE̬ښǪՂʥ֔Üݬ̮"],["@@ྔċȂΌ༘З̪կీƵਐӿय़͋ऍ͸ݻwࢍØ޻ưঅ͎؝ČΓŁ໕ΌƣΰޑØּߤ৶·ڴ͡ΒÛŘ̗"],["@@ѝֱćنƬ̠Ǭ˴ȒʗCЏ"],["@@̿˥ׅƸǏΰࡘ¢Ⱦˣ"],["@@̨ٝۿΌۯìӃÅׇˆȦҦਠ”ऎʕ"],["@@ɼയ࢈ԉ۰ࢼ८ԔݜBܘ̉خ̛ࣘLJbᩑbᩑݟې࡟ǜȷʇ੡}ΦۂՈɺɕࣲЕ۸࿃܆ۗêృަʛУ͑óȏ̮GκٛЮ̢ࣞ״gëɠ௵DͩԄݥƺΡдଈȰњ˜ഘ·Ƃ̹"],["@@ڭ࠭كlj߱ǐඓ¥ܽŧţٍݪݛҒϠ༪˸çϯλŪιӯ͙݉ߒ੿Ƶ˿ݲॻQտ҅ʙ̐͡Мی࠙͗ȻɶŊ͖؅ӲØࠌ֕ʭîও”றՓũίʚʌޜŽ߸ΛPʻֺΎվŤښф౎ǮΎ܎ذپʛ੖śॴ–ࠨ؎Ʀȉ"],["@@©ܽџĈŷԝΌѷɽĵ͹Ւʟ੺ǚڤ˨̨ÔҝӸóĀ΃"],["@@सާহį˫ֵšݿַ߱u࠷͕౻ŭ̚ॕϙͫԤ׳´лːৃ̟̩Оս¯ۗĬŹૺнɺЕܘŝ݀ĮުԂ֐Ɩָ֗ӅըǠ՜ÑӪъЖôߒɽۆǶњୠ͔̈̆क़ॲ@ܰƙӍݷآߓơϭ"],["@@छkۻ۰અۊέԚٍۄзؾٕ୴۪݅ʙܠ̳ڀݵՊѭܘمҺࢗऒóђզ‘ಢNjݔࠓٮ֫ҪΓߔࣙࡢ_ۺֹӠ۳٘ϥͳۉӖ̞̅sƜו̊ҵؠõФՏɁ਱‘ಟ"]],encodeOffsets:[[[123613,-10485]],[[127423,-10383]],[[120730,-8289]],[[125854,-8288]],[[111231,-6940]],[[137959,-6363]],[[130304,-3542]],[[133603,-3168]],[[137363,-1179]],[[128247,1454]],[[131777,1160]],[[120705,1872]],[[108358,-5992]]]}},{type:"Feature",id:"IND",properties:{name:"India"},geometry:{type:"Polygon",coordinates:["@@ࣚটďۅͮїѕ׽ŒɾएࠜՑ୞חՑϟ͛޻ࠀͅߊЭરһସʼnӜёٮāৠȝ۪bĪͪŋՖÞβԠǮìڋlǙކ͉Ոƀ܀Çۈ|ÐԪ΁ˎڴŀވشॸ՘۶ȷ״ΞЀԹ˳Λ࣠űÜ͇̍Ʒèԫ׷Ʋછׅ~ӓҩ۵§ХϏۗځȒࢇȏ˹ĚΣгȥѵ೰ɵEƍ՝ҡѦʸӎϖ¶ϰ܆ӝƜީ]ߝŚóאБ¤ڕζ֭̓؆ѻԿ̻ȅ̩Ԭɣƛԑ̆كžەţֱ̫Zਛǩ´ك҃ӻ௃֡ळ঩كՋ࠷ջCϭлȹݳ̝Ͻ«ʥٙǪધ®ۡΣߙI෗ѣ¡ϣٙʰˣދʃ˱֯͵ʍߑ޸ϳ୴͑ࡒ̍Јѿ߰ȻੂơՀޅ଼Α࿀ʣ੾HৰǍ޾௣ԉףĶ઱৲И̤ʝͤড܊֖֔ᇜCǗܞҽюĩ٨ջϘऒࢢঊÙ࢞ࢢՄ࡞ࠄࡈ_״ܒӠڳд֪݂̇̕Ьβ౤ȱपŰߺ۸"],encodeOffsets:[[79706,36346]]}},{type:"Feature",id:"IRL",properties:{name:"Ireland"},geometry:{type:"Polygon",coordinates:["@@ƒ׷ًݣ๯ӹ஑Ŷڼ࢚ѭࡢତڄٌϼǦ҇ǥ҉Բ\\ٌǥ"],encodeOffsets:[[-6346,55161]]}},{type:"Feature",id:"IRN",properties:{name:"Iran"},geometry:{type:"Polygon",coordinates:["@@݈njװӔ֚{τƾװýघэڤğ।ݓظ‰òۻ΁਷ɱؑκŭΫҡˠڡàՓِƙæեݿݿжѵ͸ԓߦυx݉ДƋêϯ௉ѡ̓উཌྷʪࣷȖेŊΧਐЕƪ٣ƭࡑНਇ˦ࡑ٦߳ʈ֗ߘا૪ҍƋՕ˦̻͝ҭѴS҂ˍ@Ɛ،ѝٔ਍Ң׉ߜȜپц̂ÙӬտʨխ৊ҟڨǐʼʿ६ּʈƄͅъϯ־ő̤~রئ̀Øʞʙ́гԼѱȾ¦ˈإߖǩ׎у஠ƟಾɞĄȞ"],encodeOffsets:[[55216,38092]]}},{type:"Feature",id:"IRQ",properties:{name:"Iraq"},geometry:{type:"Polygon",coordinates:["@@րʧÚӫх́țٽ׊ߛ਎ҡўٓƏ؋ˎ@TҁҮѳӿ¤֟ê؝߭༟äᛍၖఫךৡɪ͹৾ᇶ࢔͆৬āؘҢȺјԾΰž঎Ň̐ɉЖƚծ৉"],encodeOffsets:[[46511,36842]]}},{type:"Feature",id:"ISL",properties:{name:"Iceland"},geometry:{type:"Polygon",coordinates:["@@șիॊֵથٙᝓֹܣƵૉŮᚑˈࠠψᆧЪ๪ǎ—ʘᄋȜ֨նౠŰಸ֭౨Ҝ੒ʃൌ҄ආÑ"],encodeOffsets:[[-14856,68051]]}},{type:"Feature",id:"ISR",properties:{name:"Israel"},geometry:{type:"Polygon",coordinates:["@@ƥ˅̣Ŝǫ֓ɂĥɋř—ɛЄŖp͛нഉց෾ʔˢ˶ɞϼǠيŤɆzVˬCþƦɤ\\`·ŕŵhM"],encodeOffsets:[[36578,33495]]}},{type:"Feature",id:"ITA",properties:{name:"Italy"},geometry:{type:"MultiPolygon",coordinates:[["@@̟ڋŲʹǭѝٝ̈́ёĞ୩ѐŞќজûࡪĠْò"],["@@Ԍ׭ş૕ϣÂ΁˫͇ɞ‘২ȓӒҨ¥рʼ"],["@@ரɏĝЯȬΧڝŪہ̗²зĻʇˠё߀чцۛदڱچLȲȃɽǗݪ̥ؠʩܜѫĔƿƽ̛үϼܳƐΝի؈̷ıѫΗ¹҅ܛΕÝHʲǢҊǼǶ͝ӤʱшΑŀʛδգƴεͶثÆٿϜޑմ֯ӜʿࠪйĮہˤϯŕӝϵΓÕĪθҕńɏٲ̆ʰʙ̀”ʂβǵМ¢Ҽ˶ƢƃА€ǼͺتĿψƚâΆԘšĮdžࠨƤȊ̉"]],encodeOffsets:[[[15893,39149]],[[9432,42200]],[[12674,47890]]]}},{type:"Feature",id:"JAM",properties:{name:"Jamaica"},geometry:{type:"Polygon",coordinates:["@@֢÷ҀȫƔɯןeʭƗҹƊӑ̪ĶȔΜÎȒƒ"],encodeOffsets:[[-79431,18935]]}},{type:"Feature",id:"JOR",properties:{name:"Jordan"},geometry:{type:"Polygon",coordinates:["@@Ʀˆपͫ࿪ࣆͺ৽Džų၅у࠸࠿ˣƛƑ˭ٙřȩ̡εʵधƆƒŨоഊo͜Ůʚ@Ԥ"],encodeOffsets:[[36399,33172]]}},{type:"Feature",id:"JPN",properties:{name:"Japan"},geometry:{type:"MultiPolygon",coordinates:[["@@ņ˽ҿԕΉːљțɝӭշʈRЊҬԆӌīΊΜؠǹ"],["@@́ڡƤсѩף੹Ѓ๏½ணॡ͔֡“غษȃষЃঝe࡞أ֗෗իΝН͜ȶݶՏʒͿ־ߐʶѲՈࡌѢ؞ָာʤ࣎ǣࢠ๺֔Б௾ࡀӌ͜ՈਈƟा΢ՎࣀƸҞୗ}ڻޥࡍbࢁ"],["@@נǵרΤȈहఝɯ݁࠱೓ָқँण]ř࠴д٨࣌²ʖ୐ʜټন࢓٤˯"]],encodeOffsets:[[[137870,34969]],[[144360,38034]],[[147365,45235]]]}},{type:"Feature",id:"KAZ",properties:{name:"Kazakhstan"},geometry:{type:"Polygon",coordinates:["@@ӕƹ્דο׹̹KɱЊ੫‚ǡێХNÚࡆ৓ؘ෷ßডũߣݶۋ͆ಥ׼ƽðᓗӹᶽљ£יچ֧ɼॕǩχ˧±ȲȶΖDž̊অ˺ϛݮҩɆ…˜ࠊāŽؘ܎ƎܼűƲࠎƭԲ࠿£܍ȴঃσ޵ǭяƌĐўՙ֘دw܉֬ӞِʕǢڢऊࡺӣŀؘჄࣴಾtᇢ׉঺ͻࢼΠ೰j੺ѥʔʠ୼—ɂЊഷ׀߮Цƿɮ߮ɔ؅ֺϬ˼Ḯ̈ШȺᑆ̴ݰΒຢǹ˄ࢉ࢚Ȳઆ˹éҝ߮´ᑌߎ̭ˁ੶٭ሠᒑ҄ѰୄӛீɎҪƯКӟטNjΨΥ઎ŒѾԣٕ֓ۥÿ¡ࡅұϝဟˢ؅ຑїȇဗͱݲลֻɓäӏԭŬу̠ఝĖඃx̧ġ஥ΞӉǧŽӹ൩̂փşȉρ"],encodeOffsets:[[72666,43281]]}},{type:"Feature",id:"KEN",properties:{name:"Kenya"},geometry:{type:"Polygon",coordinates:["@@ӾۙיͱȹΕ̿Õšףˑ͹Ǐ֑ͷ˥஻ࡀËӤᵁႌƙĢSࢺʊ;а֌̨ؔσ॰įтЉ׎ԬԈ֬ֆѨƗ@ҽ˺ˡג@੠܋ˈSȠxȄī֖ßʞΔގΚͺ˳ָAܽ॑Xᵣ"],encodeOffsets:[[41977,-878]]}},{type:"Feature",id:"KGZ",properties:{name:"Kyrgyzstan"},geometry:{type:"Polygon",coordinates:["@@ȊςքŠ൪́žӺӊǨ஦Ν̨Ģ඄wఞĕф̟Ԯūşȏ೛ғ̙ͭઁıͅ՛ࢷŒׇǏߣЇŜȟʇȓཟŵਡ˘࣫ÝĂӜࣴƕ̮ʸٖĉ੾؂঻ѸױȽإ͂۶ծʟĊ"],encodeOffsets:[[72666,43281]]}},{type:"Feature",id:"KHM",properties:{name:"Cambodia"},geometry:{type:"Polygon",coordinates:["@@΁Ѭыࢄȣ২ՠۨઘdž߀ťۚ͡Ϟׄݖ̱Ȝ֕Ļ৕ඳ٧τԙࢥÓܫͷ۱Ū"],encodeOffsets:[[105982,10888]]}},{type:"Feature",id:"KOR",properties:{name:"South Korea"},geometry:{type:"Polygon",coordinates:["@@ܨযȺխPॷ̓ҥݽljڥΏݳïĥҚƼـχ࢔ذƚֻܘÂúϒ‡͞Ϝצ¢ΨÈŨȮ"],encodeOffsets:[[131431,39539]]}},{type:"Feature",id:"CS-KM",properties:{name:"Kosovo"},geometry:{type:"Polygon",coordinates:["@@›ǣŃPĘ́ȩĐdzɦƾȌȪÒŜ˨ư²Ţşƾ¿ŌƅƒŸǎƻŢLĥȳijij„×ȉӹŻ"],encodeOffsets:[[21261,43062]]}},{type:"Feature",id:"KWT",properties:{name:"Kuwait"},geometry:{type:"Polygon",coordinates:["@@Ǭχõȓ˔هשuȽАݟĆ؞߮֠é"],encodeOffsets:[[49126,30696]]}},{type:"Feature",id:"LAO",properties:{name:"Laos"},geometry:{type:"Polygon",coordinates:["@@˚Ϝœ܆ڹܸ¿ٕࠦھٍÎǛ̉ӯyʣƨࢯԅoݬȸࢮ֧ž³ԎηʸǴ̲ܐնøȡ҄wŵ०ѦŬӮڏϖޅਚO͚ܹ՝ɗʉ̟৔ԉۦ঳Ռ݋َ׏ɄץƵ࠿ݕ̲ϝ׃ۙ͢"],encodeOffsets:[[107745,14616]]}},{type:"Feature",id:"LBN",properties:{name:"Lebanon"},geometry:{type:"Polygon",coordinates:["@@ɣ[ýƥ˫D̘ۄмעfˆϘ§Ɛͣқ̓ȷҟ"],encodeOffsets:[[36681,34077]]}},{type:"Feature",id:"LBR",properties:{name:"Liberia"},geometry:{type:"Polygon",coordinates:["@@ɗQࡽАޅٖ܏Ң֣ըȪː¬ʔϜҘϺϺǶnɖĨΘԧÇ͵ǐdzʂIǢ͸ʄsŸʓĎНǽύʖɱˊÇΤΙ~ͧăĿÝە"],encodeOffsets:[[-7897,4470]]}},{type:"Feature",id:"LBY",properties:{name:"Libya"},geometry:{type:"Polygon",coordinates:["@@ק̷ҿҤ೧βρՄڑϸϻƷ̗ҶήӹؔͬΘñՈńҠÓϦƨۈ¯϶˕ݐШȜðΠėΒ־͔ʶːЦʌ´٦দ́ΜðۮƓ૞ϓЀݛݮǍஆΙࣆйЦɔЖϮț٠˂Ф؄ЀׂŘ଒ǣ˺ϑ̺Iˌƛ࠴ıȲˣ̣ЕżΫɏԯʦڱ@Ჳ@ᶵ@့ॱGYΙ‧ྐ‧ྒࡓҟ"],encodeOffsets:[[15208,23412]]}},{type:"Feature",id:"LKA",properties:{name:"Sri Lanka"},geometry:{type:"Polygon",coordinates:["@@ų࢓ΙʇܵȓЍڜƫீϠ഼׆ұϺסО࢓"],encodeOffsets:[[83751,7704]]}},{type:"Feature",id:"LSO",properties:{name:"Lesotho"},geometry:{type:"Polygon",coordinates:["@@̆ʩʳУƛ˛ҳſƹˍ̛ċؿ٨҄ՐҖ͢ϼǠξʵ"],encodeOffsets:[[29674,-29650]]}},{type:"Feature",id:"LTU",properties:{name:"Lithuania"},geometry:{type:"Polygon",coordinates:["@@ãɊĚɲχƄࢡƨDZ۸२ʴඬÁࠜĊŞǩ҂Ã߲СĀϓۏˏșӃ࣯̓߻NȫʶљĜ"],encodeOffsets:[[23277,55632]]}},{type:"Feature",id:"LUX",properties:{name:"Luxembourg"},geometry:{type:"Polygon",coordinates:["@@ǘȏ³ρʍiȉòĞҼɖŽ"],encodeOffsets:[[6189,51332]]}},{type:"Feature",id:"LVA",properties:{name:"Latvia"},geometry:{type:"Polygon",coordinates:["@@†نЮՆߊ˼ڜعڪhNJ٤ܐƪςĻܢ̷ۚCКȕîС˒ӷ͕ࣗԛƙ߱ТҁÄŝǪࠛĉණÂ१ʳ"],encodeOffsets:[[21562,57376]]}},{type:"Feature",id:"MAR",properties:{name:"Morocco"},geometry:{type:"Polygon",coordinates:["@@ԒΥߜÎࢊȃκU͂՟ºԝ̄ࢱɜDZƷ͛ષƙϝ̵ӡñ—ثঙ͍ͩсۍɥ࠻ŷഫاRহŷ@@@p҉Ա˓ȑϡ@̥Ŋ۹ě˛ٻʿÕЁ੕ୟ࣡ˣୋ΅ϗĵ̡ቅãaD ϶͒ɮ˞ѪÃ˶̀פҴՖ˲ƊɞӬp҂̤Բ̪֔Ւ࡬f\\ц͔ްĢڎָтɠۮۮȿਸ਼͊ܢŔѶդ֨ࡈϦخΐ֘࢈˄ԪؤI"],encodeOffsets:[[-5318,36614]]}},{type:"Feature",id:"MDA",properties:{name:"Moldova"},geometry:{type:"Polygon",coordinates:["@@ȨŮ֒ĊؤʽΊϞɥÑ˵̪ƏŨΗ̊ɇÏűƾčɝ×ӷ|ĉŜǫãÒƭɱˍƥ˽ɁĝƯϦĘΪςӝԂˉΠʹʠʯĈ"],encodeOffsets:[[27259,49379]]}},{type:"Feature",id:"MDG",properties:{name:"Madagascar"},geometry:{type:"Polygon",coordinates:["@@ɠΥȺ։Ɗঢ়ɒϽĉЗƩʙ˷ӰǁʝLjثõΥɵȗ¿܅ͧওб୅ԯཧ͑ୟϛইہȣܻΡӛɊڙ̜ɳѺÇݘ̑ڠù؂Ʈ؄ϰƢD˪Дِø՚șЈǃՌãޠ̊ҺŔՒмŒҶǤ̶Ʋτ\\ӐӎۖԮʦцŗάΦĵҪ׎fԐ˦ϔ̊ί"],encodeOffsets:[[50733,-12769]]}},{type:"Feature",id:"MEX",properties:{name:"Mexico"},geometry:{type:"Polygon",coordinates:["@@͙݅ƥ؁Õ૷ąЧƤқʺЧǚٳ֎سȞӏ͢бࢾɝΐΙ݄ɾٚĎؼưՊƠՖ΂ȨӬè۸Ƣʖ֬ɚࢶȚݔ‡ԚîȬDZ…ЙҋԁȥԝƸƥűγɁٽɅɎǭcǃY̝ԓƳIJķPŭޥV޷AAӁϛC̺˫̶șĢǹƌ½s˷ઃEЙۅŢƽĭȟqʕ्ࣞџ˘ۇɖҷÓګ́чĉץɜؿDŽ޹ϬؿŠ्ϸ۱ВɃɤҹº࡯ˈΓϦࣗӊсՌȧЦ˪ĈđʈȖɔJ̄˱Ϙùͮ˭ъ݋࠴ࡋڀУԼܝ΄ƷȴŸԲѓȞӹФȽהҍæӣѸϿФ™ˀҍو̓٠^͔؇ͬ˫™ӑɴƇͿƔЕĆف̀΋خׁƒȡŸÓŎ˽Ƭ\\ǜթʮɇǴ̕Նё˨ޯʠρɸϿ²ѷКƒͶϡ̨ϑqƭΝ̱ƫJɛԞջӎ؃РїɈ„ؚŵҖЏʺֿϒŏŇɃɖԭȰӷӦÖÚΊ³̸̼ŽϜ٩׶ӱɶ̱Հ̷վϳڦͿݲॖÞ੪ĞÿǑ౔СኀףဪPژ@DΌผ@̪̕јˇԀσ˨ѭȾҥѢʩۤʥՊڒۊhפͱфֹ̄ӯӸӏȂחɾЃپʹ׮ȁ͞|"],encodeOffsets:[[-99471,26491]]}},{type:"Feature",id:"MKD",properties:{name:"Macedonia"},geometry:{type:"Polygon",coordinates:["@@ńOœǤӺżȊ˺¶ϴbтˏÒ։DžƒƑƥҕh͋ǿջõΑȴšήń˸"],encodeOffsets:[[21085,42860]]}},{type:"Feature",id:"MLI",properties:{name:"Mali"},geometry:{type:"Polygon",coordinates:["@@˰ƶƘӶˊpזɻӄǖ͖ÇŴȈ⁚^ȈךƣļЛ⋈Л⋆౾dᬼᆳᬼᆳȨϿԺʉ϶ƋV՗ठĈFካҟ֗íԭݛƃ଩ï̳̗ա՟IȿLjҥš޻ΑDžʿٳϕŗɍΙǡНŔɱȳūֻڙۡp˳ɭΣÆӥ΋ůȝŁŽάʍĥơhƷʕ٭PɷŴʼnùʱʎ¬ʢĿİdzĉ˚Ǥɐ΅ΚijɴȇȂǙvȫş˕őɱǹΫäɷɈƓ„ɕőƅAµ̮žʾí̽͘ʀǓӔԺ"],encodeOffsets:[[-12462,14968]]}},{type:"Feature",id:"MMR",properties:{name:"Myanmar"},geometry:{type:"Polygon",coordinates:["@@ӫηץ›ϥࣥΟƳО݅ՔؗΈօ̭ܵ̃ƹȪу֖ڙĪҷ_ϵ͠ދң޵Сࡷăذʴ٠˯ӼæࣸͽѤ˛৔Ʊਗ਼εۢօуॕ׳ҽöԳȠ̂ਪǫ޾څॺļ̢ӭņ׭ۆÅڰ̊ŵj׾дȦęΤȐ˺Ž࢈ڂȑϐۘ¨ЦҪ۶}Ӕજ׆׸ƱçԬ̎ƸÛ͈ӮÚˮӵξȧ|ٟ“ۙߓۭijঽࢲƔȨޛՐǍʓۣز́ζƷ؞ʔ~΍܏յdẕӓȗ"],encodeOffsets:[[101933,20672]]}},{type:"Feature",id:"MNE",properties:{name:"Montenegro"},geometry:{type:"Polygon",coordinates:["@@ÁǀηЯÊˋǫÞɽ˞εǖĢƜŬҦ˚ȜƾüɠƟŬśˠě͌ǧçïƽȋɧó"],encodeOffsets:[[20277,43521]]}},{type:"Feature",id:"MNG",properties:{name:"Mongolia"},geometry:{type:"Polygon",coordinates:["@@ࢮƢ྄ܤ౬Єܴʳ࢚]֘Ͻ࠼‰ௐɁࠈגͿӶࢊࢊश΍ނįনɍLjؿஜΛߐƺਫ਼ŌࡆōࠖЗԚѕެT੒Ƌޜȼૈƒ௸פԌĝѰ˭ৌêХهק࠽ɐ΅ӈńࠤŽ٦̴ڬˏހוğ̗ڏĦ௟ŏןʅ؝։౱͙࠷ѽࡹǞҿúѳէˎ͓ƌˣי˯׽҇গ̑ఽ‹ഫ̇এҋϋʾ৭AఓԜࠥŰૣśჃȊऑmӱԀϣޠԱĢ৩ԼଅŞুƞ̡θ͖চׅڲன̀۷Ѿəז"],encodeOffsets:[[89858,50481]]}},{type:"Feature",id:"MOZ",properties:{name:"Mozambique"},geometry:{type:"Polygon",coordinates:["@@لæ৞ʁɖńגt̚ʦԌaऀ͜ڞӤƊϕ“࠷ľ݅ಿƨЫʣ׷͙׍՗Եޏ͉ृСॉ͓ࣕƵוׯ΋ȗí׳ЌُǔӱZʣƪ¦{ࠗƋϷȤƝűΓΗ̗ۗ˳য়ҕρ̳ðΟɊÉíѵّRïϊůϖí̠ƬपɓװГஂࢬ॔ɜ؆ŶúĨӶƉʞ˜غǐ׌E੠ѥ˒ЏÔǹȼϳǰ۫gÅ̼āװᢈۘӚЕɴüͨɅ¸͵ǯϷØסոԱʲ׌ζǰíઊΙ؈̣˖̅]ɽદɾٔ"],encodeOffsets:[[35390,-11796]]}},{type:"Feature",id:"MRT",properties:{name:"Mauritania"},geometry:{type:"Polygon",coordinates:["@@և־ԗؤ֍ɞГʚҵUЧǽйð˽ˏïҐɺаŀߊģࠨĵкČмɑЎѵδǾˬᾔMǃ௎ȴќ߀øᒸ᪂©F౞Ṗ᎟౽cМ⋅М⋇ƤĻȇי⁙]ųȇ͕ÈӃǕוɼˉoƗӵ˯Ƶ"],encodeOffsets:[[-12462,14968]]}},{type:"Feature",id:"MWI",properties:{name:"Malawi"},geometry:{type:"Polygon",coordinates:["@@ɽٓɾથ̆^̤˕Κ؇îઉεǯʱ׋շԲ×עǰϸ·ͶͧɆɳûәЖѵɔʮޮ˄̈LJۢǚڼƞɪɉ܌Ѕϐ࠘ƽǜɵ˶Ϲɾଡ"],encodeOffsets:[[35390,-11796]]}},{type:"Feature",id:"MYS",properties:{name:"Malaysia"},geometry:{type:"MultiPolygon",coordinates:[["@@àћֈĶ˞ΈȘýӸԓΜ֛¶֣ęϡĆ˿Öӻ̒ɵͤݑe˳׫Éߑخ঵ښįђӟ֚ś̡۠ҜĠؔȃΤƤƮۈρ"],["@@أ˹ܯƚॱ@̅ॗ͓̇љୟۅǵߑɾЕóөщ՛Òէǟַӆƕ֘؜˽ٮǀǜ܆άǂ৖Ǻ׾ڔЬՐϦѥǮ˺В¸՜œа٪אшڀͼHќыžιֆɻ۬ʧÑ֝͡¥ƮЧ"]],encodeOffsets:[[[103502,6354]],[[121466,4586]]]}},{type:"Feature",id:"NAM",properties:{name:"Namibia"},geometry:{type:"Polygon",coordinates:["@@رٌؖ͡ȃࠊȷ،˯ಒm৒ŅҞ͛Όѡۜѳ৘ǽՆۃࠐ»٢КdžԊƞհ}ԄϝŶÐ₮˜׌Е᎞ş໴΂یȒհµͨȍPéӁȍʭC՛͍ͣΎಕ̍سƒ{Ჽࠣ‡BយA᷋ݣѕҋÕՇDŽϗÔƗάͩɰГг"],encodeOffsets:[[16738,-29262]]}},{type:"Feature",id:"NCL",properties:{name:"New Caledonia"},geometry:{type:"Polygon",coordinates:["@@ېԵѨϭ͉ȫҥɪ׹ϚէѼ։פś˶β[Һ˹φ˷ˎɻ"],encodeOffsets:[[169759,-21585]]}},{type:"Feature",id:"NER",properties:{name:"Niger"},geometry:{type:"Polygon",coordinates:["@@nּॹȐОҿպœϤâТբ̴̘ପðݜƄîԮҠ֘Eኬஈϒᝪ࿸᮪ཾ೨αӀңר̸ȸಯ̾ɓ`ˋΔ˽ǻί͕ၻ«ધੳߋγૉΔ̵CեբmčЃʁµˋƻm֩ंȟ’ځҷٱʔҍ¸ʏşӯ~ӷΧѓq৯ѢЉȵѓb̿͆ࡅ̼ࣗıɕǻşӗʋ͹ÍݣٗӚ̟E˭ʗ"],encodeOffsets:[[2207,12227]]}},{type:"Feature",id:"NGA",properties:{name:"Nigeria"},geometry:{type:"Polygon",coordinates:["@@ࢍ̡͉¬͓ȉڥl҇Ղˡ؊שֆكYݍB¶തs՘ǂՊʶʴТԴėɨǔ͸ȍӾ˪ÎݤʌͺŠӘɖǼࣘIJࡆ̻̀ͅєaЊȶৰѡєrӸΨӰ}ʐŠҎ·ٲʓڂҸȠ‘֪ँƼnͬͯğƱ«˧۽ٱɛՙšѧDZȉǝי҅ΉŽыȋ͹ÿΓֽ˱ҽΊ͇aԃӭʑQЍ߷ɍש"],encodeOffsets:[[8705,4887]]}},{type:"Feature",id:"NIC",properties:{name:"Nicaragua"},geometry:{type:"Polygon",coordinates:["@@̃ˆϽͺȁ˲Ο˄сϜĤžƒŵÚÒʾ”ŀȔŬRkЮȠrǬOǺɤʜǝĒľƺIJ̊ɴbǦĄQňȪĖ|ƜŹǚ›ȆńɄB̈ŌŜŖ˾iïă§ȉĐ̫ȗ˹ěͷυ®ɏtϙŹĉýΫÌɛǣɋ ɩźƏȩDZʛÈƓǦˉêȕʼnօɞųŇ"],encodeOffsets:[[-87769,11355]]}},{type:"Feature",id:"NLD",properties:{name:"Netherlands"},geometry:{type:"Polygon",coordinates:["@@ۦyǀ˳Ƚޓɇ́ԍ@ƘࢡҥȞՏπީǩ؛âѠɲ݀ఆଲΘ"],encodeOffsets:[[6220,54795]]}},{type:"Feature",id:"NOR",properties:{name:"Norway"},geometry:{type:"MultiPolygon",coordinates:[["@@᥆ؙઍɣऄՅෛ͵ڵû΢לઃͰಫ˵Ы؝ߟωࣗȮ઱¥णѼԉɝԷ“ūփནƊɝҵ߭Hևױ࠿झಫ஁̨˹̇ͫ࠯bձ޿¾૟՞э˥ধֻۧυӛ֝Ԫဋঁ૫ȟ୏є̛ࣚˇ኶ޞզᕠ۶ဌࢂ໤୦፺ྴඦلᘼ੊ᇎπ൪­౮ۢ໖›ພǘ"],["@@ም΅๝Ȝ׆ɐԕˎეǚͮ̿ொȍ"],["@@᪖صᑟͥұأ݅ǁЍۡৣᅵԢނ̘ఽʐ࿕܂ٷڄᘎ̜Ң̋஦\\͊˼௾ˆ੖̋"],["@@࿮̏ఝҍ᝱ı៙ƖƫɴஹdँϬᣴɼ௞ȫࡘʤᑺȽ"]],encodeOffsets:[[[28842,72894]],[[25318,79723]],[[18690,81615]],[[26059,82338]]]}},{type:"Feature",id:"NPL",properties:{name:"Nepal"},geometry:{type:"Polygon",coordinates:["@@ÝαŌՕĩͩ۩aয়Ȟ٭ĂӛђଷŊયҼ߉Ю߿͆͜޼ՒϠΒȪڪʳࡔշҾť˰ЕٶǓۀσौȕঔć"],encodeOffsets:[[90236,28546]]}},{type:"Feature",id:"NZL",properties:{name:"New Zealand"},geometry:{type:"MultiPolygon",coordinates:[["@@Ȓ΋װ;ʐΡBΝ̹ϳչإїͷ̴З٭Yܗ̓ɣջӋࡗڇϓнʇޝlխˢࣱÐƗ̰Ҍذ੐ࠦժǀ׾͌ܜѰԎѦώظ͈ɆŰҶלϴȆΧ"],["@@،ࢫlָϜɯŲًڰ˛֨ãӒ͎юĭȯݗʯӫٛjɡʭþαūƻͅҏзֹ٭ͯƟɘΕŨӞ۔˟ҨࣛͲz̦؈̌ƚ٨Ÿլͻ֜vƪБΎڋݔΗת̸àҚұٺɑʂݡ"]],encodeOffsets:[[[177173,-41901]],[[178803,-37024]]]}},{type:"Feature",id:"OMN",properties:{name:"Oman"},geometry:{type:"MultiPolygon",coordinates:[["@@ֹ̻ϟªǩȧƉэļ֗ÿĻϯFԽ̻ćХȓǯԹP͡ɃJͻПɷҩĂ֗˳ϱ³˝טٿ൴ᠾ࠾֖၂ϩתv͸ʔΐFΆϞǒƩŞèմіHϖֵҸ̧؞ŋӼƳϜӕɨ˧̞ŃCȉ̩ԃƅɽΟˏ"],["@@ʼnƳDž˺ʔ˺ľñā΍"]],encodeOffsets:[[[60274,21621]],[[57745,26518]]]}},{type:"Feature",id:"PAK",properties:{name:"Pakistan"},geometry:{type:"Polygon",coordinates:["@@تϻʞ٥൨ͻ߹۷ऩůౣȲЫα̖݁̈֩ڴгܑӟ`׳ࠃࡇՃ࡝࢝ࢡউÚऑࢡռϗĪ٧ҾэǘܝᇛD֓֕؛Ɇʣ؀٭٘໻ǁിeஃŝ̈́ঊொѢéϰГƌw݊ߥφͷԔеѶඨѕࡀŲԈŅǞȂגóદĈ܎ҶӈشCĠɼٞŌ̴ý͢ʀ±ԌΦԖ՘Ɇͥ֊ߜɴ̢•͒мΜĩмȣΤӬμࣘǮ८ĮѐƺӨĦ"],encodeOffsets:[[76962,38025]]}},{type:"Feature",id:"PAN",properties:{name:"Panama"},geometry:{type:"Polygon",coordinates:["@@˫ʎǵҒȺɢɅÎƿˤлɸοÁǝ̇ͻɁǽ‡ĉǩВҗɯŅŧŭϷ©ơԈŋƛˡ¸ǝ͸·ÈɓİέCǻĩŶªǖìǠƲŲIJǩŲK͸͘ö̠̝iDZͲ›ĀæɴȵЮÔΨɄԜǞ˺ʤҬ·‹ĉҶ…ώơ˜ʧ̈́ɵĹūȜӵǁʟ˓ÒŅС"],encodeOffsets:[[-79750,7398]]}},{type:"Feature",id:"PER",properties:{name:"Peru"},geometry:{type:"Polygon",coordinates:["@@ɥљћɋࡅӘñΈရࡊທࣾ٫԰ΏۜƐʎ܅ાࠣ༄ߍီ΅Ϥ˃ؤٷպױͼ˖ϒПߢʼךڢՎIJΓʇȧx̭ΎâͼĝΚщӆΌDŽ֤ԦܶৠͨࣸࢠʾմŝٔɢĂ֒ЉˎЅϴɏӶࢣضĿҨɞ̤ƣԎð٠Ͻթࡣʤoрҁݳ œųۍlj॥ֱÓϻɉ̇ČғԕʍBΡɛƵΔݳҲԝDZί֐µ͆҃ݐuېӸÇ౧ϢĩӄƠܪടǷ˵£ןg܍͟пƮ̵ȕ˯β۹Ջ࣡"],encodeOffsets:[[-71260,-18001]]}},{type:"Feature",id:"PHL",properties:{name:"Philippines"},geometry:{type:"MultiPolygon",coordinates:[["@@Đ֏ºҽ˹ޑ̫ࡨϽэˎإʉϿ঩Ӧɿ؊ʰЎՑЈˁΑЃثҵƑʖ͢۾ՌʀҜ̈́̔ϝٔɰƎϒרv·ٰڼЋêхÐ̱"],["@@̟ˡˁՍ˃ʝԫ׈ǦɤɂɾĢԸҨ¸Ɖ֣جߺāߡ"],["@@ૣߕЬט؈԰Ԏ׊Ѱ࠲Ʈۅևҧѳֿ"],["@@Ԏʹ՘BgΗϳΣՕʧ‡ϸÒєŽА"],["@@ʀभ٫ɞj˭ȶԯЍȋ•עʧªƁԘӶãY͈ԣٜ߮mɴ̻"],["@@ɟܩέоѓ٘ܚ‰̡̈"],["@@ԮʉʶɖüɇƍΑ˼׻ɛۥӷ˥ƁڳȊڝѾġϊIJਾүăҙ˜ȫēϯٻЮ̵Ѵɍ̯՗ԊރůлȆ¨ΎˀɊʣȘŇ̡бӚűμߨͺˡĔೄ˜ހԘA"]],encodeOffsets:[[[129410,8617]],[[126959,10526]],[[121349,9540]],[[124809,12178]],[[128515,12455]],[[124445,13384]],[[124234,18949]]]}},{type:"Feature",id:"PNG",properties:{name:"Papua New Guinea"},geometry:{type:"MultiPolygon",coordinates:[["@@ɽčε͔ρՔǷ٘ŜĆĜʡʬȏРՑЈ˵ŝɽ"],["@@ѯçƃɽҟȱћȟѽBۏʔӑɺêʺݬũҠàŶЖŦrĆѽӐÜʂ˼Ҹ̚ġӸԌfǜƏgү˯ԡ"],["@@ݤտղࢻӖ„‘ω٬ƛʥǁࣀΝġʏ֋ÏȷɔܟĦࡕŴٷ՚ӉҦѧ݀ભπ܇ʇԡˣńإڇ˿һƖࢅ–aᩒaᩒภ׃༊ӓׄїҴхŸӵඔԱȲѽޛěȄ֕"],["@@ʿɡǁӸȝ͘ϝ˞ӍΪ؇ʚɺȮҒɻ˸ȁΜȫʹΛ͊ˏĶѧ"]],encodeOffsets:[[[159622,-6983]],[[155631,-5609]],[[150725,-7565]],[[156816,-4607]]]}},{type:"Feature",id:"POL",properties:{name:"Poland"},geometry:{type:"Polygon",coordinates:["@@·՜à̂ȹ̧҆̚ɺɤȝђָʘ಼ϴ੒˴࠼ƙÚȱ߸Yਚħ໶^њěȬʵšωɸ͋KͯԋǡʸϳfϏцܻěɽзįރۥɒϗǿ¶ߙ͔؁šЇĒӹǵч̖Ήŕ³¼ϭаر¼ăˀֻĦűɑҗǨÀɴػòЉ˔"],encodeOffsets:[[15378,52334]]}},{type:"Feature",id:"PRI",properties:{name:"Puerto Rico"},geometry:{type:"Polygon",coordinates:["@@јõưǕɋɃمLӫ‡·άŢŬیK"],encodeOffsets:[[-67873,18960]]}},{type:"Feature",id:"PRK",properties:{name:"North Korea"},geometry:{type:"Polygon",coordinates:["@@Şƥ͉ºη˵ʣ˷Ž׽ѣȅƫƧ̓ʝ֓ƏηɥηįġͰƋӈσŧȭΧÇץ¡͝ϛϑˆÁùСdžĵƿʙé‡ǀɑüɥƆɰφȤİõƶɆҒÅƎөĠЇɤۄբऒҌ־׮Ўˁܪ‹ſѺಚβͰҼժӹ"],encodeOffsets:[[133776,43413]]}},{type:"Feature",id:"PRT",properties:{name:"Portugal"},geometry:{type:"Polygon",coordinates:["@@̦Ɉ΄ŬɂЫӺDƞłӪ‡ɼуϱɩYٽƍū‘Їγçʹԋɵտ̄ʡřɫ̵̿ê˥ͷɓѷŠџġŸڂÿԬϓþȩ͈äռͰ̨ÒͼǪԎkΤǙ̠™˲"],encodeOffsets:[[-9251,42886]]}},{type:"Feature",id:"PRY",properties:{name:"Paraguay"},geometry:{type:"Polygon",coordinates:["@@ͦ৖tҌЖ݌าʔޮ]޴їbʵʞҳÇଛࢲLJ΄ǐ֦ɩǀʣþޓİ͓̼›̀ƌ̢ƳAҥŕӻǑӛƍݏށ١ړƇऻŸࡑɮࠢ౨ťψࡽ͢ਅبۉŸ໵ൌ"],encodeOffsets:[[-64189,-22783]]}},{type:"Feature",id:"QAT",properties:{name:"Qatar"},geometry:{type:"Polygon",coordinates:["@@ÇؔɨѲɰĜʬˁdӯǽӳɵÑʫǖ"],encodeOffsets:[[52030,25349]]}},{type:"Feature",id:"ROU",properties:{name:"Romania"},geometry:{type:"Polygon",coordinates:["@@δǶԴġՠGϸȳ˺źبĄɄȠΠ@ʰćʺʟˊΟӞԁ€ρėΩưϥϒƹЂƊϠƟpɏПǹʯĀɻ৥ӳĖ̪ؑফțзɋ௽¬٥ƀ͙ÕʍΊƵƦȚƘȷŀ˃ȋөʔßΌԟȢĥˌҕͤڪǂԖ֮Њ֬ԢǮ"],encodeOffsets:[[23256,49032]]}},{type:"Feature",id:"RUS",properties:{name:"Russia"},geometry:{type:"MultiPolygon",coordinates:[["@@ࡌ๫కˤԫ்ࠌࡳyוُԒսٱƻ۸Ĥࠊħ࣢Țٌš૴ӯࠜôରަϮͭϴϐŠɔ։̆ߵuࠟΎࡑ"],["@@໵]ਙĨȒτ୊˚ࢢƧψƃęɱäɉ"],["@@֦Ƚțؐᗸű࿨޻࠭λ൛ēsࠑͳǩ޽~ٗ̊ૣʖȉθ࡟Ǝॗʼnҗ̎Ǽ̸৓ȥϚЃӉΣ@„Ꮪٛᔺ࠳ïԷ"],["@@ः©ƭˌੲΖ@ַ"],["@@ળ»@ָň–܈E௒ʉïŗࡽȩ"],["@@ౡMႣĤƧ¬ߘͪੀþஞ͏ĸə"],["@@ॿͩഉø༛ͨȪ˖༨ųᑔɗ"],["@@ډرᶽzඃȣမղҎ׀૎ǂᕞ™ᴬѽ"],["@@ӹóᩣŊɟώູɦūҒ࡮Ƕ…Ҟသܒޙĺ፨݆ɩϢሤѺ᪪բ᫠ǀ෴̸࿐Ŋאͩ֟ʻᲗз᢭Џᤙߝఫࠍ೉߱Ǡۥྎۏ"],["@@ɨгސȲឤYቈЧڬ̿ȽѧङʝᕅүفʟਬşఖɃݴDŽєաτɔഊƂ᧪ƑȴϽ↲ů´ٜᄼƥഄLബѷϮ՝ӹΙੌڋ೔Ϳ߸ࢦഖϙ෢ɦྼʵؤʀൖş؅ޮૐζ䢀ձܐӿᔲٛ₎DŽာƑ۪΍Ĺؙਜʇ૴Ǥ๰vཚǑཪĢะݛਪˎڷ՞ϐώᧆɻფºᝂБ୲ν@”MKઇσઝÖݶҁԄەϲɧĮΏɑɝ༧Ǿ᚝مݛĭ౽ן௛ԧ̱ϣய׊ᔗڇϣ̸ߵΫ૱Ř˓ց৙߽Šͻड़ȋő௣ޭ‹Ϋ۱Δα฽ѕ̅ॡభȳʥ࡟ே޳ׂ̳έ௬ҵለИ୘܀ԆªϾರȊຊ੒คࡺຢڢڮஆ৷ëԍۗᒉइۍਖᓧ˷ᑃටۚԧሙɕಝēÔ؊ಯŶ਩ЭᢵƠ᪏ʟᨩ࿛ủጝ೚ŁаՃࠄȅ՞оईÃௌऍ†܍ځ࠽ë্ϛഉ్௓˯ׇଙ঑ଇॻթӹ૩ӱՉYՇФૻؙſ˩ŝƦKѐіxŦ঴ɛܚܞ̒৶Ʃ֢ࠈ˾ऄ͚̮Ѵݲ൷ʛܯͧ౧Dͻ߄হװหˎ̵ࠖ̉Ԫ̿βԯࡐ̲݇షʢ૛uਯƱۛлҤȥXҩұˑݷࢻRσஅՍ৙̈́োéѯˮԋĞ௷ףેƑޛȻੑƌޫSԙіࠕИࡅŎ੝ŋߏƹ஛ΜLJـধɎށİवΎࢉࢉ΀ӵࠇב௏ɂ࠻Š֗Ͼ࢙^ܳʴ౫Ѓྃܣࢭơ͡çѽԤઍőΧΦחnjЙӠҩưிɍୃӜ҃ѯሟᒒੵٮ̮˂ᑋߍ߭³êҞઅ˺࢙ȱ˃ࢊມǺݯΑᑅ̳Чȹḭ̇ϫ˻؆ֹ߭ɓǀɭ߭ХസֿɁЉ୻˜ʓʟ੹Ѧ೯iࢻΟহͼᇡ׊ಽsჃࣳĿؗࡹӤڡउʖǡӝُ܊֫ذx՚֗ďѝѐƋϥӽ߿Ƒ࠳ࢁކߕĉ֣ࣼফԇ͹ƝɇωÌֿԚɿ†ՅȚʳΈ޵ǮԙƁƥƼଥЖఅƌ܃ƞĹıੱ܂य़̈́ܩӴؒƈۤ۰ҹͪఌ΄uȀݯƉ‚ώѠɼ߼ÖƄ˪ȅҪ΀ѰWʚఉ˚ӭUԯЀ١ƃ੩̐lǒ̗θڟ¤éʼɀǞ՝ӈࢋąʭ¦Ƀȑ̽”ȷ՞ȟ˨NJĀڴ‡͞Ȁʍɢ֥ƪ¼Ʋ΁ƴՃվǸɨĉЂࠑȨѱijšȼࢭɂˑӸíТЙȖάˊʝ޶װӞųƤक़ҬࢡЎᅢ੶ޮӠ͂єగּΆնݳش֢ܜ঍ग़ޢي౿֔ŬךڶüොͶࢀ̈൦ԕᘨȧṺो٤ЋÆ֓टѳ൏ɡ⏷ٔ؟Ńൌ؛ÂϵÆ࡫ઌʯڂɓňРԑΰ՘͈᎖Թ۾Ȳ֣؜ዦࠖޢµ޸̋Ӫ׀۫ԄЪԊءԶᚠˑӔҹ੡ĻNҳڌ˽ಜǼȶ՚ჶАᰪܞي£ࠣԙਬĕ׼˼༾xఢΐफ़ԏॖ֌ࢡӢѪˤ២ʫ୒ʿᴾॣ֚ѰࡡѺ{ǴৣĈˢЌ҅ټ}ː༄ݾրކزǒᕮɛǬұߕڽԺˋ˒חȏଵऒԧέ֕࿫஝०ŭ̢ͮऎɎɞжܮЎөӌϼֈࣿêȫҲڢࡈણۆຒ֦șװмnѴүͧ߷࣐Ƶϥ؄ඤͦლ¬༈ӏݛ۪ċࣆศǞ፾™ᆘŌہѮংւॲx࿎иᕠŐ˪ɲᕂþیȋሴҀ໲aɶδߤΨጤΈ෸˗ଥȷበŹ"],["@@ⵙ͕ໞીےĦقÃᒈӋʟͿ"],["@@૽ōݱÛśƏঙƑ࣫ȦӐʾል~࿞ƶ౨XǢɧӘȬߊƐఞǿ͗ŷ"],["@@ᆳĿᚉʎඅ͎٣׾଩ǔᔆָᆎȎ࿌чኬ߻ȹݯ"]],encodeOffsets:[[[147096,51966]],[[23277,55632]],[[-179214,68183]],[[184320,72533]],[[-182982,72595]],[[147051,74970]],[[154350,76887]],[[148569,77377]],[[58917,72418]],[[109538,78822]],[[107598,80187]],[[52364,82481]],[[102339,80775]]]}},{type:"Feature",id:"RWA",properties:{name:"Rwanda"},geometry:{type:"Polygon",coordinates:["@@ͬӃµӵʏŁѿÆʱӍԛàþҠŘތԄʎɺȰďԈʸ"],encodeOffsets:[[31150,-1161]]}},{type:"Feature",id:"ESH",properties:{name:"Western Sahara"},geometry:{type:"Polygon",coordinates:["@@oҊŸ@@ÉeNjEౝ᪁ª‚ᒷ޿÷ȳћDŽ்ᾓNǽ˫˜΢bCቆäĶ̢ΆϘˤୌୠ࣢Ђ੖ˀÖ˜ټۺĜ̦ʼnϢ@˔ȒԲ‚"],encodeOffsets:[[-9005,27772]]}},{type:"Feature",id:"SAU",properties:{name:"Saudi Arabia"},geometry:{type:"Polygon",coordinates:["@@ʼnΪʩʨÝͲѡ̞҃۴ʁۆׇ׀ϑƐ֋ߠīא–ӾӕञϿ͠ґǨˡӖ°ȎɹѦʕȊ͝زԟڴѓ־лIžҦœ̌ļͲनƅζʶȪ̢ٚŚƒˮˤƜ࠷ࡀ၆фdžŴৢɩబיᛎၕ༠ãݠąȾЏתv͠ܥаȓƠִ̏Λ¼΍ċ˩ł˯ʎɽŐ˟ŲȵʬǕɶÒdž͍Žș࡙͐ᡌщǞDzϪש֕၁ᠽ࠽ᝑ͑޷ϙ׻ࢥϹƕɁˬ͏§߻ĎƷČॹmɫùΉɔɝЭĒΟρˋ"],encodeOffsets:[[43807,16741]]}},{type:"Feature",id:"SDN",properties:{name:"Sudan"},geometry:{type:"Polygon",coordinates:["@@śhdмĵ̀џͨĵ؄ĶبϳÌÍȇԍ©Ȭʕðԍңңл؅џđ۹Ӫͅǥđʓџǃ…ǥ࠵@řǦ؃†̡ƝɳîѝӬƟɲ؃ŗɱϵɏݣ˿ǁʳğå ̅ʎÃʼƌΔE΄ӛՀĩάZȰ̱ʜUӦǭ͖̍µĎ̰ɒΖħΐˢʴǫȞɞ԰ϨئܦÏ¥ ZΚॲH@း@Ὂ@ῼ@˔ࠗȁƳŪࡻ্̰͌ȷҠ̳ыӑأƏ˅ʳĉ֑α௿ĚͳƅܟͿࠟԓзέٛč΃Љɽʝ࢟Dij"],encodeOffsets:[[34779,9692]]}},{type:"Feature",id:"SDS",properties:{name:"South Sudan"},geometry:{type:"Polygon",coordinates:["@@Xٽűʯѿq˷ӏԨÑюХƨͳϦșӼࣳ֫օԫԇԫϭסFگȟՕȊ΋ɭ݉֐ȥάҵDZϱÆɣƕϗĸԗۚƉˊعͪɅԌΕζ֟ѬS˘ҡͼ֯͠ʴĠ̀ǂɐݤɲ϶؄ŘƠɱўӫɴí̢ƞ؄…Śǥ࠶@†ǦѠDŽĒʔ͆ǦۺөѠĒм؆ҤҤïԎȫʖԎªÎȈϴËĵاĶ؃ѠͧĶ˿cлŜg"],encodeOffsets:[[34779,9692]]}},{type:"Feature",id:"SEN",properties:{name:"Senegal"},geometry:{type:"Polygon",coordinates:["@@΍ٺн̚φDŽРמȦќ˾ːкïШǾҶVДʙ֎ɝԘأֈֽžԹǔӓ̾ɿî͗ʽŧ³қâÙģȃk׿ȲЛV༇–ɥħ˥‚ѻƋƏ٢ވkȬŞƮR̸ȘήǯκcζȌǝʐˡƙʻJͧȸˉ_ȍȥࣵy"],encodeOffsets:[[-17114,13922]]}},{type:"Feature",id:"SLB",properties:{name:"Solomon Islands"},geometry:{type:"MultiPolygon",coordinates:[["@@ɾ˿חN͉ԬԈȯǜ‰"],["@@͝mԧĎǫżÀͮֈƁ˜ǭƎə"],["@@ųƹحܰǫԈ˺@̠ڥʹЗ"],["@@–ǛڅΦҟ̠̿˪ŰĐϮȫېϭȢˉ"],["@@Ǘ³οȒ·Ί¨ƖԈΡͰ˛"]],encodeOffsets:[[[166010,-10734]],[[164713,-10109]],[[165561,-9830]],[[163713,-8537]],[[161320,-7524]]]}},{type:"Feature",id:"SLE",properties:{name:"Sierra Leone"},geometry:{type:"Polygon",coordinates:["@@ɧØ؁ͺѩ҈Ƨ̬Ĺت҆τĬɺƞǸɶpȜǂڦCɺ̛ǼˁʓƈɗṶɴ´ϹϹϛҗ«ʓȩˏ"],encodeOffsets:[[-11713,6949]]}},{type:"Feature",id:"SLV",properties:{name:"El Salvador"},geometry:{type:"Polygon",coordinates:["@@ġȡӡ^̡Ą΍ǘұÀʃǶ~Ů˾ɄǀĢ«IJȠ¾ʜëǸǙʪƇŒœτĴǤÑŘĝÏͳ"],encodeOffsets:[[-89900,13706]]}},{type:"Feature",id:"-99",properties:{name:"Somaliland"},geometry:{type:"Polygon",coordinates:["@@ϛԩד۫۹Mᩧা͍̜̳К̳ҨǾ̖̲҈˚ƹǒΏϜΗкGߊɌࣴĴ݌ʼиÆ̚ƶӎˆKaE΋Aࡑ@ѫ"],
-encodeOffsets:[[50113,9679]]}},{type:"Feature",id:"SOM",properties:{name:"Somalia"},geometry:{type:"Polygon",coordinates:["@@ѼĎЊ˾͈FpɵýӧHѳǯ̣ʁࣥЙयԱ੷ܝ௷ܓवধ଩ࡁڹష࠯޳ٕँৱȗѷȍȣӽۚWᵤܾ॒ɰˆբfݠפબšᛜᡄה۬ϜԪ@ѬBࡒFΌLbːhϰŰ"],encodeOffsets:[[50923,11857]]}},{type:"Feature",id:"SRB",properties:{name:"Republic of Serbia"},geometry:{type:"Polygon",coordinates:["@@Ԡȡà΋Ӫʓ˄ȌȸĿșƗƶƥȷȏø̫Тγ͋ʿƗˋĞijƑšϳa˹µƒØĴĴĦȴšKǍƼƑ ŋƆƽÀšŠƯ±ś˧ȩÑèð͋Ǩ˟ĜūŜɟƠȢšŬЄЛ͔ɀτ̥Ë͔́ˉʈȱ͘٢ɚԾ™ҖͣĦˋ"],encodeOffsets:[[21376,46507]]}},{type:"Feature",id:"SUR",properties:{name:"Suriname"},geometry:{type:"Polygon",coordinates:["@@৔ǙĞưڶÔࣚɥѩܟâֹͤӽƥίóϩɉΛӓDzЇđ͹öčʏƘǗ÷ǡҙèԡܴōӄˏBωؐƺѠ¯ȤԜɖƈݲ"],encodeOffsets:[[-58518,6117]]}},{type:"Feature",id:"SVK",properties:{name:"Slovakia"},geometry:{type:"Polygon",coordinates:["@@´»ΊŖш̕ӺǶЈđ؂Ţߚ͓ɷɓǏ͹dzđ࣑ʮ˟»ȟȡЁĿěÄХŽͭ}ãǙ۷Ļ̱ĠёɌċ̆äńŢȂόa˺ĔxþLj¢ÆȒȖ˜žưʢD"],encodeOffsets:[[19306,50685]]}},{type:"Feature",id:"SVN",properties:{name:"Slovenia"},geometry:{type:"Polygon",coordinates:["@@ۜÝъȐܾtLjƘƘUǎ˳ڝɟć͹̇đHɻͣh˷ƎƷƙב†ȈúȫΨĞа"],encodeOffsets:[[14138,47626]]}},{type:"Feature",id:"SWE",properties:{name:"Sweden"},geometry:{type:"Polygon",coordinates:["@@ࠁוƀԥ೹ڭྱܡؓஃײףߦүޗॅ࢑ȝ͍තӋ޿৳ĆӅڗঃˉߐ۳॔ٓஐφӜּۨ˦ন՝ю½ૠղ߀࠰ä̧ͬ˺ಬஂࡀञֈײ߮GɞҶཔƉŬքԸ”૪Щ಼ֱv಑˴͛ฃʃ"],encodeOffsets:[[22716,67302]]}},{type:"Feature",id:"SWZ",properties:{name:"Swaziland"},geometry:{type:"Polygon",coordinates:["@@ǡύӭěԅҖS̄ɰ̀ĂʔʐÒшƵŰϕðω"],encodeOffsets:[[32842,-27375]]}},{type:"Feature",id:"SYR",properties:{name:"Syria"},geometry:{type:"Polygon",coordinates:["@@࿩ࣅऩͬgNŖŶ_ΈȸҠҜ̈́Əͤϗ¨ÿٞȶΌɤȀɤȀ°Ҹ˞Ǐऎɺ҂ƿۖFॴ̀Ґaक़žїԽҡȹĂؗͅ৫ᇵ࢓"],encodeOffsets:[[39724,34180]]}},{type:"Feature",id:"TCD",properties:{name:"Chad"},geometry:{type:"Polygon",coordinates:["@@ĎЄաnDզΓ̶δ૊ੴߌ¬ન͖ၼǼΰΓ˾_ˌ̽ɔȷರࡔҠ…ྑ…ྏ¦ ܥÐϧإɝԯǬȝˡʳĨΏɑΕč̯̎¶Ǯ͕Vӥ̲ʛYȯՏƛэͽ؉ࣹ߅ϳ߹¾ʁûĊ̏ѫ̋Σ͟੓͏ȽȐƓhƹɍۛÙƀɪ˅ׄşΐλƜӷӪǼІϦċʂÐҸSқކŒ֐É֐ͭՠ"],encodeOffsets:[[14844,13169]]}},{type:"Feature",id:"TGO",properties:{name:"Togo"},geometry:{type:"Polygon",coordinates:["@@ڱdzȇ̎ɡՔãкȆݴɁ̬ăڎD؎ΕѠÖˀ݂kŅѵʲʝ̈̋ŽЭǜǥኝȺׅ"],encodeOffsets:[[1911,6290]]}},{type:"Feature",id:"THA",properties:{name:"Thailand"},geometry:{type:"Polygon",coordinates:["@@ݭϬܗeŬڈ݉Káऋґ௯˙ݏÌ؋ն΀ދưܭҶӓԚĭѤѧ˝·ևĵßќۇςƣƭͧ͒ƝжҁӄПЌƏӳǃҲĠԾʚ߬ТࡸҤ޶͟ތ`϶ĩҸ֕ښȩф̄ƺ̮ܶ·ֆՓؘН݆ΠƴϦࣦצœӬθӔȘθʷ´ԍ֨ȷࢭpݫࢰԆʤƧӰzǜَ̊ÍٖڽÀࠥںܷ›܅˙ϛ޿ŦગDž՟ۧȤ১"],encodeOffsets:[[105047,12480]]}},{type:"Feature",id:"TJK",properties:{name:"Tajikistan"},geometry:{type:"Polygon",coordinates:["@@̭ʷࣳƖāӛ࣬Þਢ˗འŶɈާˠĐԜȓ‡͛ŴӍࡿBׁØԻϕύĉ̉ǯͩˠþ۸ʩ¢ĞʲғȐα̇ė͹Żūԇj˕ϩ˯nj؋ˑʱĺӀࡘǹض؟ȨɔφۮŸЌҬˌբ૲ȜǩϵŤɹΎv"],encodeOffsets:[[72719,41211]]}},{type:"Feature",id:"TKM",properties:{name:"Turkmenistan"},geometry:{type:"Polygon",coordinates:["@@ñۼطŠॣݔڣĠगюׯþσƽ֙|ׯӓ݇NjƻרŪ࢞ٽ˶Ɏֺ֏¸Ȇ۾ߊȵ݈ˎؓԎʉӔڱɋď؛ʿհψ˨ॖǪ֨ɻךڅњ¤ॆ\\Əцܖ̂۾ӦଆѹĜڡ͐ǣࣦžˮƳаࡽ०ׇոЃ࢞Щ૤Ϋwԥʩ€Ѕɤſ̙۽NjǙڥӁʭڏŵǫϟهŏࡩ͈"],encodeOffsets:[[62680,36506]]}},{type:"Feature",id:"TLS",properties:{name:"East Timor"},geometry:{type:"Polygon",coordinates:["@@IJȤܢȌז†ˀŀ͆Ľ̯ɫ࢕ο۳ʋeʬďǔ"],encodeOffsets:[[127968,-9106]]}},{type:"Feature",id:"TTO",properties:{name:"Trinidad and Tobago"},geometry:{type:"Polygon",coordinates:["@@ӚŊǮ‡‘صۭġƯúʒɲiͪ"],encodeOffsets:[[-63160,11019]]}},{type:"Feature",id:"TUN",properties:{name:"Tunisia"},geometry:{type:"Polygon",coordinates:["@@ΩພԭͺQȰۉԄóنԮҶȢۚƃߠǠќࣶͺךĵ}ы܊̲ÒljпЫMϱ̆ȽōܫփхDŽқѤaɄЍ͊ſ³٥Хʋʵˏֽ͓ĘΑïΟЧț"],encodeOffsets:[[9710,31035]]}},{type:"Feature",id:"TUR",properties:{name:"Turkey"},geometry:{type:"MultiPolygon",coordinates:[["@@஺͗ঐżܤõলѬࣆ¢ߴЭƜ̑ăУزȻͨʕֻʇˀ५ǏʻҠڧЕƙ̏Ɋ঍ňίŽॗŽҏbॳ̿ەEҁǀऍɹ˝ǐ¯ҷɣǿɣǿ̱Ϡ͈͂ԟí۱ȖֿәౣĥڹҊࣟ†ȗΑׇij߻҄ࣻeӽ࠶ؗҰЦٸՓВठߨಒ’Μྀٔŏ৞հ঒ʄർlุף"],["@@۫ҏ˃Ϻ\\ǦȦĦʺՂХɞࡦ˄ܤőĴ͓ܼ˓Ƶȵি±Ωʷ"]],encodeOffsets:[[[37800,42328]],[[27845,41668]]]}},{type:"Feature",id:"TZA",properties:{name:"United Republic of Tanzania"},geometry:{type:"Polygon",coordinates:["@@ƚġᵂႋÌӣ஼࠿ϱਙ¸Ӊՠ̩~ɓɳԓ¶ʭÇГ̌Ճΐ̰ࠡǿڝӣࣿ͛ԋb̙ʥבsɕŃঢ়ʂكåɽଢ˵ϺǛɶࠗƾӉʨՕƘͯƘΗɈґ੖ӣҺǗӤČѨƯޞΎ ̨̦͜ѬȺǮS˘ǷȐ·ͨʐł¶Ӷͫӄ̎Ķऄ[ႎà"],encodeOffsets:[[34718,-972]]}},{type:"Feature",id:"UGA",properties:{name:"Uganda"},geometry:{type:"Polygon",coordinates:["@@ः\\̍ĵԇʷȯĐPوȜ͎²ڬǰϸ͎Ѭ͔ɠ˒̘͵Ŗ¼চΌɮՖȉڰȠעEԬϮЊ׍İсτ९̧ؓЯ֋ʉͽTࢹႍß"],encodeOffsets:[[32631,-1052]]}},{type:"Feature",id:"UKR",properties:{name:"Ukraine"},geometry:{type:"Polygon",coordinates:["@@̾“ɄȒʮ¥ࢌĆ՞Ӈȿǝêʻڠ£̘ηkǑ੪̏٢Ƅ԰ϿӮVఊ˙XʙͿѯȆҩƃ˩߻Õџɻύڡã֑˕޽«ܣ̻¸ԹЪȭࡨ¼Ǐ̛ँơଛӟұǠȄЂࣽʘƨLjߪ˪ʑȔಯɆË̼ީĻ̷ҧٱةϟƠЁƉϑƺɂĞƦ˾ɲˎÑƮǬäĊśӸ{ɞØƽĎÐŲ̉ɈŧΘ̩ƐÒ˶ϝɦΉŽأʾ֑ĉȧŭΟ@Ƀȟاă˹ŹϷȴ՟HԳĢγǵÍɤұɮǐͺɸɔȀµɑϘބۦиİĜɾхܼДҢɪٲnࡖßबȫڎi͂ŧ̀Ʀɚȝݸ¢ͮąÄцʶȂܞº"],encodeOffsets:[[32549,53353]]}},{type:"Feature",id:"URY",properties:{name:"Uruguay"},geometry:{type:"Polygon",coordinates:["@@ղĚࡆٯ̺|ࡺ՟ڈҫӠֱχЉɸӇεՇॉұاǚғěޥΰ֫ԟҬÞլǾȈS࠸ɤࡺȾڦ"],encodeOffsets:[[-59008,-30941]]}},{type:"Feature",id:"USA",properties:{name:"United States of America"},geometry:{type:"MultiPolygon",coordinates:[["@@ũƕȽŤ|ɾƓ̨¦ĤƤƎÍǔ¸þÜe͐ƙƬñƌőɊ̍q¯͟ǵˏſ"],["@@˭ÑƟǮīèQÀĈî̘āɘŹëĵ"],["@@ĝ҉|Úĸа•"],["@@­µÓŻˆŃȒ’ɤŚêÃʐ˥"],["@@ıĉ˱ƴªÖŸĈȘijȝ"],["@@Ƭңʼƛז½࡬ƅࠂʹڼŊਖɓ˞Tݨʄ߂̧ࠒ͗ں˩ٶˏĈəȢĉ½ĉɦǎĔ¦ȣǜƅɴ@ŬĹĽƫ࢖ЁǶށǚܳʗӹЁҥȁ̍mēĦť˸Ɓɂ@ঊ҆ࡾƀસмfĐ÷ʰƉǒϜƆࠜHޘAˎ͞ŀàࢶ؄ϜƸ౦N໾BĎȺː¦Φž̖Ϣʲٺٚي˨ə֜ƜώʏAଧռӅƢ˝࣋Пࡷ̃ࢱʝѻӿƛȋSѽˤѽΒsė̬ʦȇãʇ֥ƋЗhةƥλ¥ӥ¥۫ʏఀǂʠǃ୳ʥ՗C|ĺʭɷʚǹ׽ؑ٧×Ɏȁª˟ɀǪҍȼƭ^ͅˏ͛ҿڡûʺֲѕ͎įۦljεǴՑևƀׂ˓˜ߛʊÍĖ̃ŠࡁՕدࢇʝցӱнÁэ̱ţ˭इձӁЍЅӽŻׯƪ׍ˬܗώשLεЊঅ֥—͛ȿԡʣŃЯĺƁς͋ȖѻܢϹٞű͢Ǥ֐ɽҦٻ۲͟źࡑϡƭ¦СϼՃȺोŁݗĤٙÍΏſƲɟaͽǴǓLJō̵Ů́ǃ؍€طѺܻĿ؏ȚԹÏۻȝއح࠳γҝБȕϗUׅ¨ЕDŽ˹͝{׭ȂٽʺɽЄȁטӷӐ̃ӰуֺףͲۉgՉڑۣʦѡʪȽҦ˧Ѯӿτїˈ̩̖ป@C΋ڗ@ဩOቿפ౓ТĀǒ੩ĝॕÝƙіխӚϻĴğʌһ¦̝ɪޭĊɉƌĹҢࠁࡊ۩ୠˆȚχˤٯ۴řۆ҃ҞȀۢ…ܜˍ٢͠ߊĸނĺނƱૼˇܘʓ϶ĸǐ௒˷҂ߋȺɜƇې˷ێᛸ@᠂@ࠜ@ᢢ@៚@ᡀ@ᡄ@᭰@ᮞBაAF͔˴J"],["@@࠽͋ѕɐŽЀބ̘҆Ÿ֐ÉΤʻܫЍ"],["@@ԧŽսƾԛɮࠦƞښùĂ͑"],["@@԰DžԾĒڸɛ࠲őéĝُDZٕǾ͋Ʋݍµȧôº̈́"],["@@؊ϛώnjහ»¹ȕ౾ƛࡨČᄚ˅ྤā٨ʼn૦Ǝౢʧࣲŝ@@MᷱIⷍࠠ{ࠌɵהρݜցࠈҺࡈ˖Ҁѡ֤·ޒϙՂ׽࡮य़ේ՗xՋұЙҥ͂ݍˌʃܺએںҍߎ߯Ä೷rটʌ჉ࢎߩDŽ฽̜୑í࿻ϬৃΨटǯǦ׏ҫÁঁǫ݉˱झdzťӶϚࠚࣀʶɱɂੱҵֵ֑௅ױؚСߏ׿ࣗΗࡁʱȻωಽѡ˅ϿছΫֽÞ޷ɻ࡝˹ۧ˫෹ʉſƘऀϾࠔʸࣆҠਬĨвΈ୘ԊȈǚب̒ƢْђӸॹʫ˓Ơҕ̧շюɧ̝̽м࠿ͳԩBïԄƲ̮ե̚થLJ܁ЀַȬIӈ٩Ϊ͘ӘۆҸ̚њںÖ־ƇڴМ؎ï٘ʼƻϨҹưج͖ԩWࢻǽʯȃڏȄஏĥ௷ȬΛ͸੟Ӧ୾ΘመШ۔@ŕнᄢŽڽԶਕ͌ױр߫ΨଽˈҺѲ๰‚ਗ਼ϦȨФ࡬ЎࠊĪཪώޜÉಐ҄ౚǭ"]],encodeOffsets:[[[-159275,19542]],[[-159825,21140]],[[-160520,21686]],[[-161436,21834]],[[-163169,22510]],[[-97093,50575]],[[-156678,58487]],[[-169553,61348]],[[-175853,65314]],[[-158789,72856]]]}},{type:"Feature",id:"UZB",properties:{name:"Uzbekistan"},geometry:{type:"Polygon",coordinates:["@@xԦૣά࢝ЪշЄ॥׈Яࡾ˭ƴࣥ͏ǤěڢଅѺ۽ӥܕ́Ɛхॅ[ᶾᓘӺƾïದ׻یͅߤݵঢŪ෸à৔ؗÙࡅЦMǢۍ੬ɲЉ̺Lπ׺૎הӖƺʠĉ۵խئ́ײȾ়ѷ੽؁ٕĊ΍uţɺǪ϶૱țˋաЋҫۭ ɓυؠȧǺصҿࡗهǰҳN"],encodeOffsets:[[68116,38260]]}},{type:"Feature",id:"VEN",properties:{name:"Venezuela"},geometry:{type:"Polygon",coordinates:["@@yȣӱĭ˜ϡYѭυӥ͆ڙδÆȌ؈ʻ̒§َਸ਼΀řІ̎ˆ̞ןל_մҵ˧ݮQ࣌ĔӖϕٞĻҼʾXɄਨ¼৖\\܉ʛ˼Їڦ×ِЯƆڧѬn͢ȣڕӱó̫˾̷ȽƽԫƉjϱɫɱّ֪Őʁ̭͍ऱ̽׿Žʏȣڛɀثņƿýϔɑ‘֝ŜՉ܆ï°ǭ׷ʅĭΣΉƏسȝNjʱٷÅҧѼʯ࠺ɟ̧̌Ȅюм…ȊʅʠǛ֒à׼Ȉ˰ƲҎ̓Ơӏĩ؁®ͻęסܢӥńઉăȧ̊ȷê‡ǬĴ̶áͺȃȂŅϮѡÈɸӮĺ׶ʔ̸͘ʌɈрդƖ"],encodeOffsets:[[-73043,12059]]}},{type:"Feature",id:"VNM",properties:{name:"Vietnam"},geometry:{type:"Polygon",coordinates:["@@૭ܗ۫ߍȁ׍٠ࢭ޺ળނԱԞګϪ།ŕ๓۫փ१եۇ۫਷ޱ̧ՠʀ֬دӌܬ͸ࢦÔσԚප٨ļ৖ț֖ƶࡀɃצٍאՋ݌ۥ঴৓Ԋʊ̠՞ɘ͙ܺਙPϕކӭڐҊȴڢIࠈĬܒ҄К̿ސƵƃӛАͿࡎɓ"],encodeOffsets:[[110644,22070]]}},{type:"Feature",id:"VUT",properties:{name:"Vanuatu"},geometry:{type:"MultiPolygon",coordinates:[["@@ˣō˭ςŒɤՆӗ"],["@@ƌڱɥŀǩ­ťɴi٢Дʵ"]],encodeOffsets:[[[171874,-16861]],[[171119,-15292]]]}},{type:"Feature",id:"PSE",properties:{name:"West Bank"},geometry:{type:"Polygon",coordinates:["@@@ԣŭʙЃŕ˜ɜɌŚɁĦǬ̤֔ś"],encodeOffsets:[[36399,33172]]}},{type:"Feature",id:"YEM",properties:{name:"Yemen"},geometry:{type:"Polygon",coordinates:["@@؉ɥNjύo˹࠷Οഇϻݩףυ±ʥºӭΑ՗lj۷©ɃµǿɛəÕŻɇеlˍœ׉¨ɓӬzҠƍʜǑتʋΊǚ¤đϨĸNJ™ξςˌđΠɞЮΊɓɬúॺnƸċ߼č͐¨ɂ˫ϺƖ׼ࢦ޸Ϛᝒ͒ڀ൳˞ח"],encodeOffsets:[[54384,17051]]}},{type:"Feature",id:"ZAF",properties:{name:"South Africa"},geometry:{type:"Polygon",coordinates:["@@ǏŧΣяɻћӇ׻ोࢁףԋًϣ࢛͙ѓ«ŇɷԛŰеDž࣫NJԙĹΏ¬ࡿͩܓƃԱͅϡoΣ̚˳fαϒŸśŏɦLӰ˙֞˔ƴs٤ս޼х܈AF׽તДдͪɯƘΫϘÓՈǃҌÖݤіB᷌ɨűӾߙûԟȈ̏׼ĒрϒЊʨȶДЦȚΠķВɽۂ£՞ȜĐʾƨДҚäʨ͂˪֔ݮغஒؤ΂UОƛ˲Ķ҂ċД஁ɔׯƫऩî̟чƶʏÑāʓɯ̿T̃ԆҕӮĜǢώْQȿؑıۥɑϛֵщ","@@νʶϻǟҕ҃͡Տـ٧̜ČƺˎҴƀƜ˜ʴФ̅ʪ"],encodeOffsets:[[32278,-29959],[29674,-29650]]}},{type:"Feature",id:"ZMB",properties:{name:"Zambia"},geometry:{type:"Polygon",coordinates:["@@ІϏɊ܋ƝɩǙڻLjۡ˃̇ʭޭѶɓᢇۗĂׯٍřӍͯĹ̛̅ßܵۓҭխ˳o˗ĬऱĠƯÚOêͧȎկ¶ۋȑչԾ֣یžᦶშYí̂Ű̀ƧЀĪТėʺ̂q¶ʽϾrՖûˬϡڨŝԤˆȌѯ٠ş̴ΧΈҥ٠Që࣠ɱƳח͞ɧƬļࡈƬসȉψʈ՚ɤĶ଀ƚͦđΘɇͰƗՖƗӊʧ"],encodeOffsets:[[33546,-9452]]}},{type:"Feature",id:"ZWE",properties:{name:"Zimbabwe"},geometry:{type:"Polygon",coordinates:["@@ҁČ˱ĵНƜ΁VՙϞٯźʙՒC̒έĞ्ई˃ӢǛƮ͓ڤलğ˘ī˴pҮծܶ۔̜àĺ̆ӎͰَŚÆ̻۬hϴǯǺȻАÓѦˑF੟Ǐ׋—عƊʝħӵŵùɛ؅ࢫ॓"],encodeOffsets:[[31941,-22785]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/xiang_gang_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"8100",properties:{name:"香港",cp:[114.2784,22.3057],childNum:1},geometry:{type:"Polygon",coordinates:["@@™@}ScTʟ@cWuJÁ–]„l¦RLj¼BĄà˜ ŽH@TOHCTDDDHDNAT@PEHDDNJLX@BABALHFF@DKHADBBLDHHFBLEJB@GDBBFBADDB@@KFAFBBJJA@BB@@FFDDADFF@FADDDBJC@AFBD@@DDD@DAA@D@DB@DHHBFJBBFEHDFAN@DGDC@DLCBDDCFDlAFBFCBEF@BC@GDAB@FD@DZJ‚X´HĐMja@Ý`p_PCZ@lLnRGSDMFK|a\\Y}­ƒ§™Mën"],encodeOffsets:[[117078,22678]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/xin_jiang_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"6528",properties:{name:"巴音郭楞蒙古自治州",cp:[88.1653,39.6002],childNum:9},geometry:{type:"Polygon",coordinates:["@@˜@ÈÒĊanwŎV„™Ȯ¦ͪŃĢ„ÜōȂçČéƐżLɆóĊ‚ĊaʊŁ±¯²Um»ˌmÈ»V™ʠţWÑůǓ郙ôƑƒğÆīŎī@Ƿ™wô™˺LÞ¯ƨVǪуšĢ™ȘV°wĢŽôk°¯ƒ»΀@Ȃ»ĸŽǔ@΀ƒ͔ôôLɆó̐ÝɜLɲōͪƒƨóŤK@ī@IU܃ÛmȻţǩÝ˹ÛljťǓǫō@Ɲ²¯VçōKͿŁΗÇţ»ƽ™ɅƑLÓŏÅÅɱV@ÝĊU¯ÑĊĭÞLšÞŎJ±̃XȣˌōlƒUÈ¯ŎKÆƅ°™XÑܱnŗġV¯™óaUƒƧUōŁ„Ñ™±„çɲ¥lĉkğ°ƒk¥˜ƒnğţL¯ÝÝUƽĬ΁lķ°@„ō„XÿݯV»ŹLʉÞɱŤĉó°ÝJ™¦ÝKÝ£ţܙÈĉ@ƒxǩUċƑ@ky͓¹™`U²ĉVġ»ğa¯¥ť@ĉ™‚ó@ŻÛÛJƒw¯nó¯ġWƽʩķÝɛwĉĕݼȭÞķō@ó£Å΀ƑŽ¯ôȯÞ¯Ȱ™ÆōèĉXǼó@ݚnºƒĸ„ÞVƜĸȚUʶõˀĵĖɱŎÝĖVࢰӒѢ°˘nϚVˌ™ÈmɼĵŦW¤öʊõʔ@°ÈXVŽ™ènŎȁb¯ǫĉ„±Èğ`ġwōÔğ»mVVŽ„Ý¥ó@™ĸķô@ššbX„ĶmV²²`Þ_˜˜ɴbͪÈ°„ÞWĸÈŌmބškɲŽÈUÆ»n¼ǬVķĸźô¯°n¦ɄǜÈ"],encodeOffsets:[[86986,44534]]}},{type:"Feature",id:"6532",properties:{name:"和田地区",cp:[81.167,36.9855],childNum:8},geometry:{type:"Polygon",coordinates:["@@ƨ¥šèź٨ΘƑᩄbUࢯÞĕɲōĶĕöʿVʵķșUƛƒÝ„ķm¹Þ™ô@È»ĊWŎçšÅ°ȯȰÝ°óƒÆͿĉ»̽çnƒmɱĵƧºóU™™ƽ@±wóL¯°̻L±Æ¯Vƴķb¯VÇ¥ğ²Ǖbk¥ÇKlÅɱġ@у™óK@™ÇaÝXğţxĉČǫķê¯K@уaŹ„ƑKƒ¼¯Vóaónġw™óÞéU™ġbóĉğÇl¹™aUóğKW„Vůn›ÇŋƑ›ķnʇ»óxĉw™çÇ°Åw™°ċ„XŽ™„ób±ƒkÈÇJ—ƒm²ţx@ÒݎšŦǺn„ó¼n°ÇbUÒ±¼XĸĠłƽXmwĉºƒzÈÜmnxmx²ĖmҚbnŽƧêUºĊêÆVóĖóUĉ¼ÅĬƑ°ɆƆŻŚlłÞLš¼nĠƒ¼@ޙšÞź@ŎÞ°VšɄɴжϼِ͈Ŏ„"],encodeOffsets:[[81293,39764]]}},{type:"Feature",id:"6522",properties:{name:"哈密地区",cp:[93.7793,42.9236],childNum:3},geometry:{type:"Polygon",coordinates:["@@WnŐÆĶLĢ¦ţºź„lxÅĸƽŚ‚Ʉ—Į˜è@ô²ÞUĔƐńV°¯ĸX¦Ɛm̐bƒ»Ɇa΀šĢ™ƐLˤ™ȘÑnƒІljĸÿn¯ĶaŎ¯ĢĕȘ¯°΂œla¯¥™ǕǔwˤӱlťО̻nŻmɃĕċţUw°WUóƨÅţķ°ýV±óÅǓéʉ¯ƽŁƒéōǖȁÝƏůǕw˹ǫȗǓƧǕVý™é@ĬţLƧôͩ„ɱŎɛK̏ÞɅôóK@²@°ōؚ¼lŦ¯ŰóƜÛlV¼ķ¼ƒ°kȰ™Ű„ĠƒǬ™ŚÝŎmĖ`@ÇÜn„"],encodeOffsets:[[93387,44539]]}},{type:"Feature",id:"6529",properties:{name:"阿克苏地区",cp:[82.9797,41.0229],childNum:10},geometry:{type:"Polygon",coordinates:["@@VƚxˌŎÞŎƒ°n„ȂÒ°²VĊ¯VğƾˍǬƨÞÞKÈÞĊVźôɆÞĢèŌôWČ²ŤVÞĸʶbl‚¯ôn_VÆĸlmÞnVź_ĸ¼Ȯmǖ„šéĸW°°„ĸJ„kʠ¼Æw°¤ÈƒlxɆzČºĶI²ÆǔUš°ô@Þ¦‚ƒUnUĠ¼ŎÓĢxĠ_²ÇĊƒǬ°ŽȂamōšçUÇW@¯öʓõʉX£ĶťnɻšÇUˋmϙ¯˗ӑѡᩃaΗƒœɜ°xWƴUxɃÒˣ¤Ʌwğ„ʉōóÝŹ±°ȗ@¯„ƃ²¼","@@ō™гwȁ¥Ƨ°ŹÑķV™¼ÞêĊ»‚lĵšm¦ÅW@ĀôÈźaɜxÈbÞÆĶIОŘnIÇŃÛÝĊÑĠƏ"],encodeOffsets:[[80022,41294],[83914,41474]]}},{type:"Feature",id:"6543",properties:{name:"阿勒泰地区",cp:[88.2971,47.0929],childNum:7},geometry:{type:"Polygon",coordinates:["@@ɲˣĊIÈ¥‚ÅU±Ċýkō°ƒĉƽó»ĶƽXóʵʵ™ȯƑÅȁɅ¯ĉ@ÇሗK֛@@ˤV֜ʵрƒǬVĸƑŎ@ƆϯÑóŽķ@ʇ»ķ¦έmlÈĸĊX¼WźÛÞÝѸ‚ĢČþ„ĀĊôάVö¼ĊUƨ°°èŎČUÜƐóôVôôŽ²êȘlˌç°`n²ǬŽĊaš™ƒÛ°±kğmm»š@°ÝɆÛÅÇVaݍVm͔ğôÝÈb‚„@„ƒ™n¯š™ÜUĢÑĊ@źīżWŤÈǖWôŁÆI²ÓƨL@ŽĊX„mmÑÆ»ȰÑkƒĶō@ý°m—¯"],encodeOffsets:[[92656,48460]]}},{type:"Feature",id:"6531",properties:{name:"喀什地区",cp:[77.168,37.8534],childNum:13},geometry:{type:"Polygon",coordinates:["@@Č@°ƒĠ„ôÓô@Ŏĉ@Ƴĸ@Ť£ĢlVôWVóřXĉŤêÞ@ƐÒĢÑlèÈV@šĠIk°ÆŘ@ÈÈĀ@ǶťÒğ@š„@ÒĉlŻ_@šƧĖÅĬōÆ@bźÞnƒƒlVœÝĬšWƼʇ„ƒÝÅ@ÇÅÈwWóĉ±ğz‚ĬČƨƂÝIĉݯbÇÑĉƒ¯ʈV°xUŰĊ¤ƪ_ôÓɚI@lȚXȮ™ŎlɴȘ՘š„¦ɲÆʈ_ɴŽźŽôÞʊŎĠƒɆxˤ£ɄÑVwXƳ¯w›ɛŹ٧™çƧ¦ōƒُ͇еϻɃɳU™Ý¯@ōÝŹš™@݄»mğ™»ÝKkŁżřɅƅƒ¯ÆīĊ»ôVôĕÅUĉéV¹ƨém™anѱĕnwmwnÇۄyĉ¹ŹlŏkĵèķmōÞġKñÔċKÅèĉzƒŽ„ômxȗÿƿI@þÅČÝKÝ°@¼ÈVºš@ÅĢšÆUċłn„ÝÆǕČĵJm£ÝJ¦@ĊƒxV°ƏLċ¼ǩ™@™m@ÅĢómÇÆğ¹Çš™ÆšĖÞKšx„wô¦ÆÑÆL²ÆƾŽU„Ž±ŚÅŻĖ@ĬŤÈñ„@ǔÇx„Èǃ","@@VÇ™ţ°ğUĠ¯mk¯ó¥ķIġÿƏbƒ„ĉa±ÒĸĀlKU„_m»nwšŽ„m@ÈŤ¦ĉbÞ°±Þżł̦°ĢŁVé"],encodeOffsets:[[76624,39196],[81507,40877]]}},{type:"Feature",id:"6542",properties:{name:"塔城地区",cp:[86.6272,45.8514],childNum:7},geometry:{type:"Polygon",coordinates:["@@ήnĸ¥ʈ¼ĸ@ôϰÒ@ƅƒōUķƑǫʶпU֛܃LګK@΋ĸ@Æ£ÞġÅĠċšLV݄»™@Å»Ýnm¯š»nŻĊ@nķŃ@¯ómóÛÝǟ¯aÝóȭ¥ƒšōUmxĉbÇї@›bUº¯X¯ÆƧbVÒĉnǕw¯°ƑŽV„—ŽÇ@kx±Uƒšɱn™ŽÅKƒ„¯ƒĠǠU°ɜL@°ƒxnĬ‚ĀŋŎÇLƒŽğšϱÞέƜkôÅĀǕłƒĸĊŤUŰĢ°„¦ȂϰÜɨ°x@°żǠÆƈČVĠ»ČL°ÇšbĊÑ̐óÞlĶwބɆVÞwǬxǪţȼÜLŐĶˢ@","@@óKĵĀV͈ĉłƾNJÆŤƒzXl°ƒÆL²¼źŽôÈĢǔ™¦l„ô°ɜÞʊĠğŃm»ʵƳƑʝȗīV¥¯ĉ°Ñ@ŃÅI™»ĉmğn™ƒašƒċƨbš™Vğ—w›ġ¯@Uōa™ĉÝJğÑÆŎkŎÞĀlźƒ¦"],encodeOffsets:[[87593,48184],[86884,45760]]}},{type:"Feature",id:"6523",properties:{name:"昌吉回族自治州",cp:[89.6814,44.4507],childNum:7},geometry:{type:"MultiPolygon",coordinates:[["@@መL@È°ĊȂɆƒÆĊ£„ťôWÓɆbĢÅŎƒÆ¦ČÑW¥°ķU¯ƏŃVē±Ý@ó—ç˜ĭɃƾřÆķkwŹƒŤ¹ġ¥ĵKŏÅXmˍщwǓ¤Ƒ@wóōVķ£ɱšġôÛa±Òȁ„óèţIVŽƽ¼k¤ó¹ġJmx—»ÝUƒ²™@ÅƃĸǫŎ„ĊmŎǬ՘"],["@@Þô°bÞǠôÜôn@°ĸń˜Ƕkłƒ¼UޙKğȂÆÝĢŤķ@@ΌڬL܄K@ˣȂ˭lĉńW¥ĵVÆý@ŃÞēUŃȗƅ@ŹƩǕĉ»k»Ç™VğóřX™ŻKƏŽċêȁèÛŎġƒͩń"]],encodeOffsets:[[[90113,46080]],[[87638,44579]]]}},{type:"Feature",id:"6530",properties:{name:"克孜勒苏柯尔克孜自治州",cp:[74.6301,39.5233],childNum:4},geometry:{type:"Polygon",coordinates:["@@ˎǫĠƽ°UUĉ¯±ȁÑmƒ„¯Ýōˋō™wUű»ÅƑ°ƒȘ@²¯ɳʇ`ɱŃ¥՗™ɳȗōkȭšșW@kəJóÔƩ`ĉ£Vů¯wU°ʇĊ„ÈÒ°aĊÞÞJŁċƧīĠyĊ²XôÇxÈÆÆ@„ÞʈƒÅ»™XÞīU›Ƒkm„ŹÝ@aŎÅÆīƨĕ@™ż`Ċk@љƒĠ@ŦÑ@ǵÇÿ@ÇÅŗl¯ğJ@™ÇUkçġÒƏÑÝ@ţéWĊôŚUŽóXUġkţ¤ķ@@ƴōĊó@óÔğƒ¯„ċ@@Қ¤kôˣŰ͓„k»ƒKX¯ċwƧôğɐšÒôIVƙš¯UķǬķšnŽ™¼ôb°ÒȰVVÈÞ°ƒĸó¤V¼°„V°²êƒlĢ҂Uƨ¦ôȰƴĊVV¼ǖIċĊ„ÞɜéšnČW˸Ǹša„řÈw±īšçĸ¤ĊšôšwšŽĸUĢ¦˜éǖĬ„Āô¼lÞkÒ°x°ƆÞx„šÆV²ǔ»„b°wގȘ¥°n„šŎV@°„„ʠè‚ŰȂb"],encodeOffsets:[[80269,42396]]}},{type:"Feature",id:"6521",properties:{name:"吐鲁番地区",cp:[89.6375,42.4127],childNum:3},geometry:{type:"Polygon",coordinates:["@@ôK„ĉǪa²¼lÜô@ʠê°Ĭ™ôȂƒ²ÑÜbĢóɲ™ĸ¤ŎUô@xƒŽǔ£ъxˎmƒÈÛ@‚_nĕÞōšř„ǫƒğšůlȯ„¯ĸ»U»Ükôƛ°ůkť™»Ŏŗ@¯@±͓óͿ„Ǔ@ķȁ¼Ϳ@Ƒ¼¯°ólġ¯xȗUġšƑ™ǩÒƧUÝ°˹Kóššx@ǸōĬÅĬƑĠ󃄚ǔêÆ°XÒʟŤUšÇ¼ˋnn¼±V²°ȂUŌݜbʟǔɅô@żǬaҎÈ"],encodeOffsets:[[90248,44371]]}},{type:"Feature",id:"6540",properties:{name:"伊犁哈萨克自治州",cp:[82.5513,43.5498],childNum:10},geometry:{type:"MultiPolygon",coordinates:[["@@ĉ„ÆŘȁ̐mÞ¯ĀX°±¼@ƾ¯ƴ°ŎÝþŋ¦WÜÞbȂĉźUœÇmwVUȂóô@ȰÝ΀nÆJn™ƾ™ʠ™ŌLČóǪ¯œ¥ǔaǖšŌaôÝĢLšx„ƒÆLšɲm„™²VlwÈ@˜Uƒƒ°¯ǖxĊmUÑƨa°Å°WV¹œa›ÇɃÈm¥°¯ŹóĸķǫUm»Å¼ÇVɱ™l݃ŋnķÇÝX¯ƒͩÇɳa——Ý`±_U±ĵnWƒ™a@™ĸóšķ™¯ǓV±ÅĵJċ¹ɅykwDŽ¯£Åxʟ»ƒlķI¯ƒX¯ķ‚™êǕƒȭnķ»Ź`±„kÞ@Žš„Ýô@Þ°xšŤŎIƨÆUxōš¯²ǔĬǬlUŚ"],["@@ÞĀlźƒ¦¯ĸŤKޙšƒċƨbš™Vğ—w›ġ¯@ţƽJ"]],encodeOffsets:[[[82722,44337]],[[86817,45456]]]}},{type:"Feature",id:"6527",properties:{name:"博尔塔拉蒙古自治州",cp:[81.8481,44.6979],childNum:3},geometry:{type:"Polygon",coordinates:["@@ήƛϲÝĠ™„ÈKŌōÿmī„w@¯ɛKV¯ğǟ°Ƒ™wġKóÞŋbǕ™Ǔb›¦ǩ°ċôŋKʟšƽšmšÅImŽͿŽȯÞó@ȁôUVnx›ÈŹVȁĊÝabŻ£¯°l„óxȂŤĸkĊšÞyĊêĊmĢxV„ƨÈŽĠX„ŽΘÆĠÔź‚Ɇţ°LXƾŤŤb"],encodeOffsets:[[84555,46311]]}},{type:"Feature",id:"6501",properties:{name:"乌鲁木齐市",cp:[87.9236,43.5883],childNum:4},geometry:{type:"Polygon",coordinates:["@@šŽWŽôŚUĠȚl¼Ċ¼ƪǖ@źȘƆ@ýlܚXVŘޙš¦V¼kĖó҃èkĊȁˮ֜@ǫ՗nōƒĉǬō„ķÆŚ@„±ÞV˜¼nwĢIôºl£ƾ»UŤJôçšó¯īʟéó@kÛ±»ǩbƒĊóLҍÇǫb@ŻɆóʠǓ›aŋÞȁVʉłĉbĉɅô"],encodeOffsets:[[88887,44146]]}},{type:"Feature",id:"6502",properties:{name:"克拉玛依市",cp:[85.2869,45.5054],childNum:2},geometry:{type:"MultiPolygon",coordinates:[["@@ɜÞʊĊýVaŃm»ʵƳƑʝȗīV¥¯ĉ°Ñ@ŃÅI™»ĉmğn™ƒaݚţL°ķóKĵĀV͈ĉłƾNJÆŤƒzXl°ƒÆL²¼źŽôÈĢǔ™¦l„ô°"],["@@ƾIŤ@UUwōa™ĉÝJğÑÆŎkŎ"]],encodeOffsets:[[[87424,47245]],[[86817,45456]]]}},{type:"Feature",id:"659002",properties:{name:"阿拉尔市",cp:[81.2769,40.6549],childNum:1},geometry:{type:"Polygon",coordinates:["@@nIÇŃÛÝĊÑĠƏō™гwȁ¥Ƨ°ŹÑķV™¼ÞêĊ»‚lĵšm¦ÅW@ĀôÈźaɜxÈbÞÆĶIОŘ"],encodeOffsets:[[83824,41929]]}},{type:"Feature",id:"659003",properties:{name:"图木舒克市",cp:[79.1345,39.8749],childNum:1},geometry:{type:"Polygon",coordinates:["@@VéVÇ™ţ°ğUĠ¯mk¯ó¥ķIġÿƏbƒ„ĉa±ÒĸĀlKU„_m»nwšŽ„m@ÈŤ¦ĉbÞ°±Þżł̦°ĢŁ"],encodeOffsets:[[81496,40962]]}},{type:"Feature",id:"659004",properties:{name:"五家渠市",cp:[87.5391,44.3024],childNum:1},geometry:{type:"Polygon",coordinates:["@@„çôÑlĕU»™¥ÝšUŗ™WkÛ@þVńÝĔ@ńÅþĶUX¦Æƒ"],encodeOffsets:[[89674,45636]]}},{type:"Feature",id:"659001",properties:{name:"石河子市",cp:[86.0229,44.2914],childNum:1},geometry:{type:"Polygon",coordinates:["@@lŁ—ǵm‚ĉ@mż™¼n°ÞmƼš@"],encodeOffsets:[[88178,45529]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/xi_zang_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"5424",properties:{name:"那曲地区",cp:[88.1982,33.3215],childNum:10},geometry:{type:"Polygon",coordinates:["@@ƨʔĸbܺÞwnxźbÞ°ô@„ĶŽĸIȼĊJŎÈôUšÝƒ¤ǔLސŎ@ĢŽȘblƒôL„ÇźçȤôLš¥ÞIÞ¯Ķxʊťƨ™ƿÑĉXVķŦ¯ȂKÇǕšÑ¯IUš£¯Óƿ£VĕōÞÿÆwƒƑ„£ǖxÞĕ±ÇÝaUÑȃU¯‚UōÈ݃wWŁĵ™±Ý„óĢÿ°IÞ±mÅĢ¯mÿ„¥°UnÑŤĢĕĶwǬŻͪwŎ¼źÇĢ„ĠĕˎŁ°óƨ¼Èa‚m@¥°wǔ„ǖ°ŽƨÇŤœšġƨ„ŎŃôbÈÛŎĊ°@Ġw²ÑÞJƃÆb²ƒ°êĊUނlȲƒV„ÈKĊÒĸĉ›»ÅôťUÅǃk¯@ǂÑklǁÅl™Ģ™VÑóƒ@°@„ÛĸƒV¯ƒÇĊ™n¯Uĕšƽ¯m›¯b™È@Ò°Ĭƒbĵ›¼„‚kxķýÇJk£ÝaUÑÅóĶǟkÓʉnĉƒÝ¼Ƒ„ó»Þmn£m™Č¯@ƒȮÿV¯ĸƒ™k@Ýówƒ»ğ„ġ±ǓLō„ƒšV¼Əèķĉ™è±b@Òţ„UÑóakƒl£™Ó@¯L@™ÇlUóȁš¯aġÈÅĕÝLķ¯Ė¯@WĬ—x‚ÒÈnW°ţôU²ǓÓġ²V°¯ôƒǔÝL—ċšk™š»Ý»Ýš¯ÞƒVƒwۄÝÇōͩÈĉċ»ĉm¯£W¥ţKkóġƏW@¯±kōŽÈ›b@җšÇaƒÆ¯a™„ƒkóŽÛƒÇ¦Ýa¯šÝ™ĉ@ǻۄmƒǓxķƛ¯lVĀÅÞġb™™ÇJUÅV™ĖƑW™zō»ōšƒW™n@è¯ÞóVkwƩnkźÇބҙޯƒƒýğÇUxÆÈnè±bĉÝ»ÈуwšwÞ@m»ÈV@ýÇ°ķ™xƒa„ݯXċ¥ƒÈóW@ôkxlnxVÈóĊkŤġ¼@°¯ŰƑL̻۱ŎÝV—Þ›VƒÇÞŎÇakƞ‚š@èğŎĸżšƾ°ÒšLÞôĠKȰĖźVÈÒĠ„¤™VôšŽU„ÈþťL@ôǬÞlÜÈnÇÒUŚ™@šĊƨW°™°Xƒ‚@ČÇþ„ƴĉÒķ¦@ŽĢôWĀôłUÞĢǬ™ź°¼š@ƒôV°„bUÆnzm¤ƽĸƒÈ"],encodeOffsets:[[88133,36721]]}},{type:"Feature",id:"5425",properties:{name:"阿里地区",cp:[82.3645,32.7667],childNum:7},geometry:{type:"Polygon",coordinates:["@@„Çƾķn£myVŃaU¯„ó™@¯»šŹġǫVÝóŁXÿġó@ĸ¥ĊуƳÈý@ċ„Wš¯X¯ĉƧ‚™š@VřÈÑÇmkÛǫÝ@óŦKÇýVƒ™U󚏃£ğÇÑŹUȯĕğLÝó™K¯Ñ™ƽķŻĠō@灙lƝÈbƍÈ݂„œU˜ÝÞU²ō̼ůƒK°ů@¯UK±—ĊƧbōÇmçÈġƒóšÅób™™źóš¥kīƯól™ç™KôĵUƒÅ„VŃķ¥nÅŏm¯¹Å‚™»@ÑǍóxÝkʇȤU¤ķb@ƒ¯ĊÇx¯ĸĉKm°šĀk¦l„„KnĬȀƾÛ¦WÆŐmNJĉ°ōUţ¤UšŎ°šŎKÞłÆ„Ǔ¦ƒÞ™‚™„ř¯bmUÝl¯Um™ğl¯£șwŎǫaÝnĉĶƒk@¯™K™šō»ĉn™aÞ»ťnkml™ĸ¥UŚŻkÑťƒĉV™ôó°LôīĠU„ÿĉǕÅz±Kƒ¤„²ō¤¯Ė¯UÝ¥Vĵ™óÈťÝwķșÑk¤ó„™ƒWýĵĕ™„VĠƒV󍃎Ǔ„ķ°k±VU±ţ¦UǟÝřJVљ¥XUċUŎlÛƆǕÆȗƆ¯wŏÞÅ@™šĉl݁óŽƒÒ™nUôńlxólÝôێ±™™LÛôÝL@‚ġ¯X¯ÇUżóa󤛼XÒġŎóLk¦‚ôżĸĠ™¼™KġƆô¦„ÆƑÔĉĶ¯ImÒ°¦n°¯Þl˜ÝČn„ƒÒšKĠޚĕkƒlýƾťœšôI‚ĖŤÒnƜm¼¯lnżóÞ@Ůó¦™ôƽĖċŚn°Ý°ôÈUƜƒblÞóŽ@Žǖô°UÈƆ°X„þôŽô‚lѢšŽ²Ėm¦°š@¤™XŽĊblܚzkºƒĖmX„šŎWVšóÞn°lĠxȚa°»żLźƒ„b@Æ°XĠÝȚxĊĕŤaȚ‚°È@„„@èŤ¦Ü¼œW˜ÞkŽÈ@V°lŤkŎ±²¦ƐUšlj°aÈÑŎbĢƒŎbÆ¥ÞIȘlššôVÈU‚™šb„kɲĶn„mnXb̼òƾĖŎ@ĢȂÑôÓĠĖʊšĊÔ"],encodeOffsets:[[88133,36721]]}},{type:"Feature",id:"5423",properties:{name:"日喀则地区",cp:[86.2427,29.5093],childNum:18},geometry:{type:"Polygon",coordinates:["@@ĶĖXþš„ôƒl£šÒĸÇÞxÇŦšôUĶÞ¦°V°ĕŎ£ƒ±„£²LÆyĊǖƒĀğVóĬ¯KóôUš‚ĊŦ„lҙżVÆķ¦kšlnŦmݼšbĊmŎ¼š™šL@°„lĊĵÞmǬbƍȚx°¤Ġknš°VÞkVn°aƒŚš‚š„Ýǔ¥ÅƒÝŁōL¯™ōV™Ť£ŎVĊ¯nljƏXÅÜ¥ǿƽmīƒLkƒl¥™ÿn¯ĊL°ķÈw°ĉ@ƑĸaV£ʈȣÞlôwȎ@Қ¼Æ°ºŐnmÆĸ¦UńƃV„óĶšLšèôkÅ°lĬ™¦Źôššôa™Æ„ôÇĢnèŎÈƨa˜ĉ²‚VLĢ»lţôĉUǂwkmlw@óôX„ÇȦ°WƒÞ„b‚wĸšÈ¯@þÇUn¼Ý@™x„xÇńÞ¼ĊŽ²amçÅÇVwĠȄþ°„šÝƒÑÈÝlŹƪmlxôU°Ý@çšm„XŎ™Ŏ¼šyƒXšĕÆUVÈIššĢaÆÝUÿ°kĸƜǔwn„܃ȼĊ@ޚ°™Þbȥ܄ô„lšƒ°b„ÅÈb˜™@ќa‚ǯUU¯Vġš»ƒ™¯aV¯Ç°Å™mnÑŤçǬVǬ™±ĉ¯¥Vĕ¯Ýk£˜ō—w@±ġÛ°ÇVїƒ@ۘa@ČL™Ƴ™„ƒÇa¯¤ÝIĵ¼U¥ƿōķÅţŻókÝóĕ‚¥¯™U»Æ£X¯ġŃÛkÝ°V°ó¼¯èWôÞĖ„ȎƒŽkĀƧĀówm¥¯JŹÝJݙōVVŁaݐƑ@ƒ˜ğŭǂ¯_ƒ˜ĵ—›VnxŃón›ƒĵxÇĖĉVÝÈğV™Ò󃯐±Żĉ£ķÆÅL™Ljĉý˜ţۃ¯VƒnV¤ÝÈ@°ÅÞݤ™ŰğŁm¦ÝxóKƒ¥ɱÈUĠôêVôÛ¼ÇWÝçĵaō¦óĖƧlÇĢƑŽnŎDŽV¼¼‚ºÛ@m¦ƽ„ĉmm¯ÝKÛç¯bŏłĬ™bƒ¼ÅLmŽ„xť°ÅU™šÝXkŽÝmĉ¦W„¯K„ÒknÝaV„Ýè¯KɅńÝKnÞ¯¼"],encodeOffsets:[[84117,30927]]}},{type:"Feature",id:"5426",properties:{name:"林芝地区",cp:[95.4602,29.1138],childNum:7},geometry:{type:"Polygon",coordinates:["@@‚VÈłVôÈk@š°K@ŽšÔk¤l„ôbVÒŤƒ@ѲašçĸĊƐçU»„™ŎƒǔKĢ²Ġƒ„¼ôx@ޚlƨĬ„Ul¯ÈLV‚šÞJ„°Ünʊ„wÜbXê‚VÞ¯°ššanaU°wƼɴÑWÑ°mÈýÈam¥Þ£Ť@„¥ôblÞĢ„ź¥ôxÈÅmݚ™ƒĕŃV»ĉōŤōnóƒ»ÈīķIUƒĠÑ°ġĸLÞ¯VÒƂ@Ābš¼WôÈ@V¼ôóŤKÈÑU»šwVǫżnWÒÈx™¼‚lŦ£ĊōŤx²¯@ƒÆƒU¯šçÆ@„¤°£„é°k°lšůÈó@¯ŤÇÈĉƒkkÿó¥ÝXķљÜ@ÒóŚÝ¯°ĉówÇ±¦ÅJUÒĉĀķw¯°mĖ¯„±akxÝÅnƒ™»lуK@¯lU™¯UVѯóĊ¯mōğVǓƅƒÞƒWÝÈÛ@ƿô¯ÜġzÅþ¯ólmôʇġĊÅUͿřŏȁˋŁóÇˡōƧƒÇb™w°Ķôk¦šÒƒnUþġҙÔkǔķèó@ƒ²@ŘōńĵyƒzġaݤÅIƒ¤Ƀť¦ğѯ¤ķbóš¯ó±ŽU²°¤ČÜVnÈƂ„ŚŎ°ôĢ„þÆzèVĀǎĀǘƒXŹÑ¯¤ówċķk¦šłUÒġzÇ@ƒ™ÆÝx@²Þ@Ƥ„Uô¦Uš°x„U"],encodeOffsets:[[94737,30809]]}},{type:"Feature",id:"5421",properties:{name:"昌都地区",cp:[97.0203,30.7068],childNum:11},geometry:{type:"Polygon",coordinates:["@@™ŽVĖm°ĉš„ÈU°ķ„ƒÜ¯@@ô„UÒġškš‚ÆkÈlŽÒ@Èl°È„VÆóŦƂœ¼‚a„ÅĢ™Ʉwnōw@¥Ŏ¦°ŹÞmVš°wnÿƒw„wÝw@¯šmÞŗ°wĠ˜ĸkÞğlĔ²¦°@„ĕĸwVóšal@nĢÇĊn°@¦šŽźUXçǔůĸVš™ÆK„ÈÝĠš²ÅĔô@lšŽÈ_m˜„zǖl„šaU¼ôwV°¯¦‚ĬÈa„l@Čǎ„¼™„nŽ˜I„xô»ɜ@ƨ¥ɆŁ„ŃǪȁkƛƨȍʊȡóĭ›@—ÈÇVƒůރĸƅmēƨť™ÅÈʉVǵ°ġVŭÅɧ°ÿnɛš£mƒķ²ŃóÑUĉ°mÇ»¯@mxUĀ¯èţ°ȁÝç„ġU¯ÆÇţÈ@°Çô™Ű¯k¯lƒê¯¤ƒ£Å@™èV°Å„@„±°ţwĉŎť¤kš»ÇwXÑŻmUǬ™xV¼ÇÒţLóôU»Ç@X󙻂a@ÿŁUÑÝ°ķK¯ĢğÒV„ĸJÇĬ„¼môţŎĊŎU¼Æ„„Ė™šnÞÇÆówŹ¦ġƒkÝóaƒ¦ţ@ݤn¦ÇbÇþ¯nXÒɳÒÅ»¯xVmb™b¯™Ý°UWéÛaƒxʉÛmƒ¯ÝI™‚UÇKk°ƒVƧīķ„U°ȭĀ@„ċ°nšm¤Ýnô¼ƒƒÞ»Ċ„ʊmlÔĵǠÆôVÒÞbl¤ÈIĸþlwƒœ»ĶŽ„a¯ī@њǰanœƾ°"],encodeOffsets:[[97302,31917]]}},{type:"Feature",id:"5422",properties:{name:"山南地区",cp:[92.2083,28.3392],childNum:12},geometry:{type:"Polygon",coordinates:["@@°ÞUĖ°¦²ĊôÇÜLǖĀɜŽȘŰÞLĸźêÞ@UÜUŤ°ɞ¯Ü„°WŦĀmŎ„¦ĢyVљŁl¥Čĸôx°£źÒ„Wȗ‚ÿȍUÿ‚çÅyƒýóġō¯ƒřŁmÇÛUċŽ¯£V±²°ôô™ĸa°£ĠÒŦ¥ɄŽ„£ÆJÞ£Ģb„yĶzŎŃ@ŗ„±ô@ĸçlǓšÓĢÑVý„m™Ñl¥ĵó‚¯̻̥™ƛǫÝһÇƧĉyţ¼ҍēVĶĉŎ°ĸmšÞVÝĸ™ÒÛaċ„ó™ŹĖƒèÈÈl¼k¤ÝX@`ސŏ¼Æō¼ÇçĉKUÝÝ£ğ¤@¦ġl¯Òġĉ¯óš™móxÝÞğVšƴċK@—b@ܘ„UÒ¯ÈĢÜ@²˜x—Ŏl¤"],encodeOffsets:[[92363,29672]]}},{type:"Feature",id:"5401",properties:{name:"拉萨市",cp:[91.1865,30.1465],childNum:8},geometry:{type:"Polygon",coordinates:["@@Ŏ²l@°‚XĢƐlôŤLX¦°¤ĊnČ¼ÇĊŎͪÞÈ܃„x„U°Ýޙ޼™¼lšČ™˜ŽÞK„Ǔ°óU¯Ģ±ǔÔV±ŤóX¯ÇmÑ˜wXī°@°ĕĸÞKÆĖĢÇ°bȂ™ÇŁUƒV¯wV™ó¥ƒVÅ£Ý@@±ÞwšÅ‚„È@ƒ¥nōťÿ¯Xۃɝ°ţ¯ÛVVÝ@ŹéķÝKȗůɛǕÿÛKóÈǫšǫUţèmҚn¯Æ°ÈU‚°b„š™¼UĢV°°V"],encodeOffsets:[[92059,30696]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/yun_nan_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"5308",properties:{name:"普洱市",cp:[100.7446,23.4229],childNum:10},geometry:{type:"Polygon",coordinates:["@@U‚ô²‚a@Ž²²Ķ¥œV°šĶ²bl¤kVxl‚@œ°‚Ś²@˜„„y„@ô¦¯„@xƒxVxU„VššbVšÜm¼Ŏ„„ĢmºXXWÆ@ĀœšmŽmXU°ÅÒm¼Þx°w„@°‚XêĠ°»nV°U„l@k„@V±ôī@£‚ƒČŃÆ£„KÞý@¥‚k@y„a@—nWV„UVƒšwƒmƒ£Jƒknm@wmkn‚X„˜šX„¥mUUlUnbš¯°ŽnkƒVInlIUw°n™mk@@mlanXlanmšk@wVWUw™_@éĠašnmUaÜ£ƒmXƒ¥¯@@„óUmݯ¯ÞÝlKnxô£š»„»Ġ„J°aV„UÝÿV¥ÛbƒI@wmŽón¯yÛL@ƒWkŎmș`IWa¯K@¯mUnmaXm™bmak„¯ŽƒĢ™ÒÝm¯mV¯KÇb¯KۜWW™X@a™V™knċLUWV™kXóW@k™a@ƒób¯Uƒwmb¥UUlaU¥U£maķšƒKXkƒmÝ@kwmѯk±ċbUUVakaġ¦ƒƒkL@`ƒœ™a¯xƒm™Åƒ™LUWƒ@ċnŎUV°LkL@b°°@¤š²ƒ‚šnôôk„l°kè›ÒÈzV¤È„WôôƒnV@„ƒ¦@¼Ux"],encodeOffsets:[[101903,23637]]}},{type:"Feature",id:"5325",properties:{name:"红河哈尼族彝族自治州",cp:[103.0408,23.6041],childNum:13},geometry:{type:"Polygon",coordinates:["@@°°nÞôV@ƒ°@„¦WŽ„nÛ¤Vbmn™ğb@êš`VxUX@xš„ƏÞUnn˜WÞĸĢƒšÈ@ŽÇè@zÛÜWšÅêlš²„˜KnV¯ĖĊx@bk@@„°JÆ£Èbl„nnm°nlUkVUUwVm„Kn„‚nVŽÞxVLX¥laX@@xl@VzȎVmšk@b°šÈĸmŽV¦`W„XšƒbUb‚bX¼°x@ašVVkn@lþnXUlVxŤÅ„y‚IUƒka‚IŎĊ@lXx@b„z@‚ô„ƒ¥„_V@l‚n@„ôy@al_l`nmƒÈ»@kƒmXwWK™U¯»™a™Å@wƒmUÝKUa™UUƒ™wWƒ@w²»@kƃV£—mm£VKkÑV@@»nwƒ¥™ƒ@kƙnllIVlnLVakalknJšWmnaUaVÑVVލn¥m@ƒ„¯Uÿl™@™™™VçƒaXaV¯UyVLVkš@nJlšXLlŽkxlbla²Òl@nVJVkšx„KlkUaVķÝÑU@Åm¯@±™Uó°ğńķĠmU™Ñ@ǯ¯Å¼@nml@°¯¯`@w™£@¯Çƒk@ƒ»nmċ¯U»™I™Ž¯LÇĶÛn@bó°™U›šwmŽ¯„™Umǯa„™ƒ™ƒI@ykIƒVUŽ¯bƒIğŽƒ¼™¼ó¤mwkLÝÞ"],encodeOffsets:[[104243,23429]]}},{type:"Feature",id:"5326",properties:{name:"文山壮族苗族自治州",cp:[104.8865,23.5712],childNum:8},geometry:{type:"Polygon",coordinates:["@@šwô„š@²¯maUmôUÆxš@Xš˜bÞInlVUVw„JVaU„K°¥„xmÞXnlKlnna°@ĊČ„ÆwUmnkl@°ƒƒ£nyn@VV@Vak™ƒ@@kÞ݄bmx°Vnw°klÞInĖÞVlKl™@Xa°„„KlV„U@šJnx‚U@ÈĢbUKlm@ak_‚wšanWUk°ƒl»„k@Wk@lwU_ƒ@UalóU¥ƒÇnƒ™kJWƒ@mVXx±bƒK@nV±a@™Åa™£ÝK²ƒWknamKknǏk¯ƒaV™™V¯ĀƒU™„™Ò¥ƒI@mm¯¯xōW@@`k@ó»ƒUU¯lm£ÅWlĵ„w@mmwÅmWU@y±U—xmwU„¯Uƒ¥Ý¥¯£m@kŽÇVUV°VbklƒL™wUlUIm‚k@±ÑkbkalwkWKk™mI™@UlUKVzU°Wb„bU蚚@škšVĀƒ°@„n‚m¦ÝŽUUUÒVbmbXn™‚mIkllbUbmKUkkJmkŚ@lš„„¦mx@¼U@lÒULn¤˜nU¤Å„@l±¼@xX„šxV„šVVbÞLVŽ„n@xšÆšb°¼šV"],encodeOffsets:[[106504,25037]]}},{type:"Feature",id:"5303",properties:{name:"曲靖市",cp:[103.9417,25.7025],childNum:9},geometry:{type:"Polygon",coordinates:["@@ȦlKÞĕUV¯Um¯„ÇVUnVVUƒĉn™ĊÇƾLn°°È„JÆw„@lbÞa„¦V„XJ°¯W¯„aÞJVkUša„ƒ@lKnÅmWUk¯a¯»@m±@уkkbWWX_WÓU»_l™kÑm@U»m@l@IWċn¯l@VanV„UV™UVwVx„KȄVmUē‚@„ƒn@VÝÆL„w„VVwnVlmkUVÑÇ°ka@k™ÿÝaÞUl£™›—ċĕX±±ĉƒa@UnVnalónk@wl™UVmkÝJ—aW™™@ÅwóVVnnb±°™@óƒ™xXLWx„n@lǼn„m‚k_k`@bózƒ‚m@kU@ƒ`„¦óƒ@nWš@ÜÅXWw@ƒyƒb¦@ÒlnUb@x™lܐk‚@²Ç@Uƒ¯bmy@kV@bƒb„¦U`lLVx@b—Ll¼Þ¤@„°VVބU@WސUb›J@nnš@lnnm„šxUŽƒUUbƒK@šÇwklkUƒVWakn@ŽlbU@@„ULVxkKUn‚°¯Ò@¼™„kmƒ¦m@kl™Ȱ@lU„l¦„@Vl°wšnnþĊUÆbUx™b„ŽV„šĖU°„a‚nnašV„al@@b"],encodeOffsets:[[106099,27653]]}},{type:"Feature",id:"5323",properties:{name:"楚雄彝族自治州",cp:[101.6016,25.3619],childNum:10},geometry:{type:"Polygon",coordinates:["@@mҁXU`Wnšš™@Xl±¦š„Uxnbl°knmKUx„„ƒxVôUx°¼ôÒȄ°JlnÞKĠœW°¦ƒ„Vx²JVwš_°¥@UV@@wnymknK¯I@‚™²b°ƒš£V¥šwU‚V„¤nLškÆJÈwôô°„l»Č¯ƒġVƒUU@@ƒ°ƒƒÝXl@U»°Å„@U„¯@w±¯VmUUlm@m™„ÑnIVyUwmak£Vwm±—@Çw@nƒ@UxkwlÇnL‚mkř@±Žk™ka@kóJV¯Ç»U£lw¯™Xalbl¥¯UXƒ@a˜™UaÈL@ÇVIVƒkaU¯mm™akLWkUJ¯Umxnšƒ@ƒkUx¯xƒ„mWÅīÝkkbƒŤƒbkxWmXwWk¯wƒKkƒƒLŤċń„@¤óĬU²ƒ@@lƒk¯VmU¯¼@xV@k°l°kbUš°nm‚VnUš@°„š„UVèރÆbUÒÞnU¦›V—¼lô„@Vl"],encodeOffsets:[[103433,26196]]}},{type:"Feature",id:"5329",properties:{name:"大理白族自治州",cp:[99.9536,25.6805],childNum:12},geometry:{type:"Polygon",coordinates:["@@lbœKVIUa˜@²m@b™xôÒÜxXLmbnšl@š„„K°šš¼k„Uô‚xôlV¦nJ„Uš™Ænšm„@šx„ÆwšbXšÆôô„LUVwôK@wlmšaVwœ@WknmƒIUmlnJla@_™@kÝmKUašÑm¯Xw°aUaVl»²JV„bÆJkôĶĀ²VVk„mšbVwUó„wƒƒVwnLlmk¯maVw™ƒ²¥Wkš@™™XmV_‚WnÑUkƒ@k󘻜UV¥ÝmVÑÅa݄UçƒVƒ™@¯V™Umn¯mV™lak¯l¯U@@wğŽW鯁ƒ@¯xÝw¯š¯Jċa¯U¥mLU¤„bÞȤƒbÇLWUwmIUVW¼kbš`U„Vb¯L±ĊÛkƒÿÝKkwƒKţê™UĉþƒÈƒV¯ÞVbUŽ°KVšk²Ý‚mI—ƒmV@kƒm™UkšVxm„¯KXÈķJU¦V°ULWxšL@môƒšb@bkx±LnVUŽVLnkÜWnwlLŃmW@kkJU_ƒV„šWĊ„Þ"],encodeOffsets:[[101408,26770]]}},{type:"Feature",id:"5309",properties:{name:"临沧市",cp:[99.613,24.0546],childNum:8},geometry:{type:"Polygon",coordinates:["@@‚xĢ„l`²X°ŽV„šx@x°Þ°KXašğUњW‚bnIl`X²°b„xl°„„šV@xVxk¦mb„l@xšXV‚ÆzX¤™Æ˜k°„kx@lźêlaX»VUnJVx‚XÈK„aÝȣƒaV£nKV¦°‚Čb°I°™n»ÆÑV¯nWn›™@ÿXÅWWn¹ƒġōƒn»‚ÛU™™aU™VƒUw„w@w°ƒó¥ƒ@ƒz—ƒ±@ř›¯@kUwlk£±aĵŽ¯™›Uĵ¦±±@bó±VÝ@ó¤ƒw¯I@mńóm±XŽ¯IólƒK@š°Ullb™zkKlln@@ԙºƒUmVk²ôҙx™ŎUVóLƒb„ŽmÈnŽmbnl‚a„x@z„@Ǝ„¦kš"],encodeOffsets:[[101251,24734]]}},{type:"Feature",id:"5334",properties:{name:"迪庆藏族自治州",cp:[99.4592,27.9327],childNum:3},geometry:{type:"Polygon",coordinates:["@@W™Xwƒ™@akk@y›—k°īX¥›Uóķ¯w@n»UaVaUۃ¯ƒmV¼k‚™Þċô@n¯xÛÒm„V‚¯Ô@xƒ‚@šk™wm™Åa@ƒUa‚݁¯VŃyV„a@ÿšn»ÝVmank™mmÞÅôƒ@n£±›ğzÇmU¦™Vm„nÜmbn@°nV@xmzÅ@mºV¦k°ln¤š¼õô„n@xkƃIUxUš@Ťƒ¦VšmVkmkXW¤XzVx@ƚx™¼ƒÞ¯b@lVš™ĸގV„m¼XŽm¦V„ŽÞ@Ǝš¹Vón¥ÆKn„‚KX¯x@èĊȱłXšaÆxnlV@UÛlȻkğV¥„m²ljmÅÞĕƒƛm°„ÆmX¤mznƃŽV¦ÞVVb°bnÞWbnŽ°l@V„È@„‚VĵĊ±@ó„InxÆw„¥@£Þ›W¯ĸ£UƒUK‚ƒk±akkkbmWmÈķ„aÆÇU—ȃÆW@wmknmU¯"],encodeOffsets:[[102702,28401]]}},{type:"Feature",id:"5306",properties:{name:"昭通市",cp:[104.0955,27.6031],childNum:11},geometry:{type:"Polygon",coordinates:["@@mƒnK@wmƒUř¥mšóXǓŏmX@Ž—VƒmL@xţ™nk@mlUšŻÒğŋ@ƒL@mmLkm™š@b™XŎW¼ka¯lÇŹ¯aÇ»™ÝÝ_@m„@@a™@UklwUm@ak@ƒb™UmbmƒbV¯™ĕUƒƒšaVwÅaĉVmý™m¯xUkƒ@k¥VƒUXƒ¤VÈm`@„—ńÇÜ@Ākn‚ĔkƞÆĠ„™Þš‚U„VôƆÞI@ŽUxƦn„l@ĊĊnxUÒ°¦Vb¯WUnWŽIml@xn„Ubô¤‚¼ÈxlI„»šKVš„@ÈԂJkšUĖ±ÆVb@nœ„VÜVUVƒšL„wĠl„kn„Ġ@nx°¥Æ„²mUwƒ@m™mÅUl¯UњÑUm„Lll„Il±š@VkwƒW@w°@U»™kUóI°ƒ„»ĢтL„™š`nUĠ²lm„bôV@n„JUxƦX¦l@š‚ŎUƒV„@lV„KVřV£UaÞU™ƒnW@¯VU@ó™"],encodeOffsets:[[107787,28244]]}},{type:"Feature",id:"5301",properties:{name:"昆明市",cp:[102.9199,25.4663],childNum:11},geometry:{type:"Polygon",coordinates:["@@n@Vk‚VUn²°@xƒ°Vƒ@¯ÆV¼k@WŽ„Þ¯„@„@‚VVU„„Ģċ°k¼V„Ċxœ¤Ōœx°mVkƒÑȏšL‚°„x°Xœ°VmĊLVxUĖ°bX¦VW@kšȯlkn@„¥lnšƒ@»°Ñ¯VmlLUwVK@ƒV@ka@lmXb„UlVlkÈx@™„LVa„VV™wnƒmm@km™@mœIVaݏ@XƒVUݯU@ƒÝ£k»˜K@aUwkKV_ƒ¥„a@alU@nz°aV„È@@±lÛšk@wVakm@т¥„a„z‚@XxÆW@ÛX™@m@ƒy@aWw@kōĉJlbV„JƒzţÆUwVkmWkým@Ul™U@b¯wVºƒU™VUêšĠƒXUaUbVĊUŽWXUmkK™™WnUUU™V™ƒƒVV™Ý@kk±‚™¯ƒƒLkƒš±WkXlVklƒ@ƒwXbmLƒ›VUIVmk@Ubma@kkaVKUƒ™kmlXLWn™J¯ÒĊ°@zkºlLUŤn@@n›ô@lƁnmKkÈlxVw„@@mÈx˜@n²Uxl¤nbVxUzmJƒÒnš"],encodeOffsets:[[104828,25999]]}},{type:"Feature",id:"5307",properties:{name:"丽江市",cp:[100.448,26.955],childNum:5},geometry:{type:"Polygon",coordinates:["@@l@™„@w°ÓUnƒÜÑ°w@mČóšÝlU»n°„„VÜUbVbm¼@Ž°xôĸœVW¦¯Ĭlœ˜@zll@b„šWxXš‚a„X@ÆĠÆaXwl@XaƦn¼˜Jn@mnKW¯È»V¯°ak™VanXVwl@VyUĕVU„bÈīlaUk°ƒk¯lƒ²V˜Ukƛô@ƒ„I@mVwĊa„™ƒVaka„™ÆbUŽVLšaXIWKUw™ƒ„aWÑÅKUaVk°ƒ@Uw„ƒ¯¥›XğÝLkm¯Iǃóѯ»™aƒnUl±UĵÿlóÅIƒaU‚±Ik¼UŽVb¯bWxn°™ÒVbnLlޚ@@`kbmIkŽVn„JmnXl›@Ux™bkn@xóLUxVŽƒKóóŐW™™aÅxƒŽ™wƒ@™nÅm™šƒV™„ƒôX„ƒLlVU¤ƒb¦m¼™Ž@ĀƒbU‚„zUƂ°ÞVb@„Æbnššx"],encodeOffsets:[[101937,28227]]}},{type:"Feature",id:"5328",properties:{name:"西双版纳傣族自治州",cp:[100.8984,21.8628],childNum:3},geometry:{type:"Polygon",coordinates:["@@l²°ŽnÒlxÞ@„nWl„Lĸ™nbV¤V¦kbVV‚¦na„x°Vôa@„šb@lôXlWUšVXČKlmššU@bšWXXܛ°LÈa°LnU°‚ÞnšÑ„ġ°lƒnbšaƒ¯¯KWƒœó@kmK@UšĉV@k°„VV¹„a@y‚_ċl_nÓlL@anI@ƒóWl£VU—ƒl™kĕl™šKVw„U@™kVƒam¯ÅL@bƒ‚Ýk@Vn„UbÇbÝwÅ@ċ¥¯lk‚¼ÅŽ™Ò°b@¦nlUn@ŽÇV„mƁbWôU@ÝÅōm™¯ƒaU™™mk™WWw—@±ƒ™n¯U™è™a™Lƒ¯mƒL™škwƒl@°mnÈÒ¯šów@V™xƒĀU¤°Įƒ°Xl"],encodeOffsets:[[102376,22579]]}},{type:"Feature",id:"5305",properties:{name:"保山市",cp:[99.0637,24.9884],childNum:5},geometry:{type:"Polygon",coordinates:["@@X°„Il‚@¦ƒŽÈ¼m¼ÞaÞÅl„ÈxV¼šlVôÈÆlLޣȺlkUƒ‚ƒUw„¯UĕVwĊ@n¦mlnVĸIWÇ°LnƒUwl™šV„n@lnU˜„nJށl±U™¯LVUa°Ý„U„ÇĊýšVŤé„LlxÞL„ĀÜl²ĉ°KUaVƒ™_Źé@klw¯ƒlÅ—šW£ÅyU™W@wƒknal¥Uw@w™Uƒƒk¯ƒw¯aW±k_mJa™XVҙĠWb¯L¯Ý@w™wUƒ¯±Wk_ġƒwƒwōKmb@¤„bk°lĖƒô„UJƒšVnÅlťUš¯°VbnbWxX„m„ÞššWUĀ™L™yWzÛKmbUxVKkn݃kŽVšĀċ¤Ux„@Ž¯Žm@ƒ¦"],encodeOffsets:[[100440,25943]]}},{type:"Feature",id:"5304",properties:{name:"玉溪市",cp:[101.9312,23.8898],childNum:9},geometry:{type:"Polygon",coordinates:["@@l„„L°xXlWxXnlw„a„ţlaÞlÆĬnX„ƒ°wVw„l„@m™nw°VVIXllKšbnnV°lbU„UJ@ÈÇKVb—š@bW„°Vk¦kaWb°škxV¤È¼U°ôI@llblš²š@‚@œó@mm@VţkKl¹@yĉ¯°ÑšIXmWKnkšlV„ULlb@lnbVal@UnVJœU‚„nKWa„x„@lkkUlW²X„™‚l„K°„šl²@lšÞUŽ„U‚„UšVšVVXmššlLVnXWVUĉVaVb„W™ğVéšU„VU¹W»aVa„aW™Xƒ‚_U¥nÇķ¯™@a™lUnǍUyk@@wW@kbW¦UKÝwUmmƒƒLUnVxUVVlk¯mmnƒmkÇaŤ¯I@ƒl@@aĉw°ĕmU—L±ƒk™ÆéX™ÜÛ@yÈç@™Çġ„Ýķ—XmmÝVՙƒ™lmnkbmWkb@nl@nŽmš¯VxkJmUJ„ml¯™°makVVnVƒ¦™Wƒ—Wmnl@xmn„l‚I„¤„n™xU„ƒVUŽmX@˜ƒb@zl@¦Ýþ"],encodeOffsets:[[103703,24874]]}},{type:"Feature",id:"5333",properties:{name:"怒江傈僳族自治州",cp:[99.1516,26.5594],childNum:4},geometry:{type:"Polygon",coordinates:["@@WyX£lWlnnUU™„¥@ţV™Vw„JlÅ@wƒmö󙻂£kml¯U¥n¹Æ@ny@wmU@¯mnamÛnƒšUV¥ÈnĠy²œm¤„@ÆónݚnmlnbÞU‚¥„aV£kU„KWƒ„óšƒmIU¥ókwVólƒ™»¯™ƒL™ƒk@m™naWKÛwóњw@a±n—@VbUJ›LkaƒÝXĉƒ™„UV`lI@lnXÆƑkKmxÛXmlUKVmU²Klw@a™aó„@n™KXwVKU¯V¥mUnkm¥ĉ@UxVĖƒ°Vx„V„klmޙkKWĀkVWšnl°Lnm@°ŽUxlV@nk¦™JVÈ°ŽVÒ@nX°@ÆlUômlnôƒ²nxmłnVV„¯x@Èm°XblVUšl°@xkXU¤WXX‚W„Xƃ„mkÅJmށw±bƒxUīkKmÅVUĖÝèV„kx@š›lX„lnk¤ƒLkŽ‚Ėk¦‚xUššL°‚¯Ė@LnK@b°xVI„¥Ua°Ñ@»nm@¹‚KŎÞÈWln²n"],encodeOffsets:[[101071,28891]]}},{type:"Feature",id:"5331",properties:{name:"德宏傣族景颇族自治州",cp:[98.1299,24.5874],childNum:5},geometry:{type:"Polygon",coordinates:["@@„¥n@°@ƒVwČ£™ÿUlÞ„lmULVwnaÜLXyšzšKVÿ™XݙnƒWƒXwmaUa°¯V™ŦŽÆkUm„™VIƒ„ókĕl¯ƒa@£nama™@¯m¯œó@óyţbġkÅm±ÛammVkƒLwU`Wk@VƒkUmŃlUUKmbkkUVUwƒ¦óŽ°¼šbn°ô¦lºƒz@xšŽ¯„™@UŽ°nƒšU¤ţU„°VƆ@ÈmlnzÞl°¦Æa„xUxƒLkxWƒn@‚š²ŰšW„™‚@°ÈXl°Llx"],encodeOffsets:[[100440,25943]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/zhe_jiang_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"3311",properties:{name:"丽水市",cp:[119.5642,28.1854],childNum:9},geometry:{type:"Polygon",coordinates:["@@@V‚bVl@Xn‚UXƒKVŽ@¦nxlUXV‚n„KVmnL‚UV@bn¤lLXK˜²„`nnlJXIVJ‚I„Vnn°KnnVll@VLXWV@UkVaVK„zV@„ƒšVVaUK@U»VUl@@WnUUƒ@wVLn@Vwl@XW°LVbn@VU‚@X„l`@XnKVbkl@XVJlUnlV„„xlL@lnXl„@VšUnV°°„@a„UVLXblWVXn@VVUV@Lš¤VLV„U‚VbnalLUUVX_laVa„WVzXKV@@a@KUmImmXama@kU@yVIUK‚aVa@kXK@aWU@VIUmW@kkVm„Uš@VwUa@K@k@Uƒ`@kUKVk@UV@VaUm²Vy@klUUWUkVmUa@_ƒKVaXa›XmƒU@mUlWkaUXƒ@mmkL@w™JƒnVVÅbWKXa™@@I@aƒJUUÇ@V„UL™W@akLmb@K@a™XXw@mƒVmUVkUy@£@aU@@VkUWm@kUKƒXUWU_mW@wkkmJUUkLWWUXƒW@IkJ@k@mW_kӃ_Ul™Lƒm@I@aUa¯m@kƒa¯LUJƒ@mVVxUb™a@LUKkXƒbm@Uak@@a@Um`ƒIUbUJ@nUVW@@LnVV@lšUbVlUX@`š@blXklW„Ušm„Xlm¦U@@V¯bml@š@nUb@llnn@VbX@lV@ŽUVULmU@JVn„bVbkb™VWxU@@nUVk@"],encodeOffsets:[[121546,28992]]}},{type:"Feature",id:"3301",properties:{name:"杭州市",cp:[119.5313,29.8773],childNum:6},geometry:{type:"Polygon",coordinates:["@@X@l„°KXXlW„b@²„`šššb‚I„šX`l@„@bWl@n@VnLUV@V„@°¦@šl@XVlU@š@xVbUb@Vkb@‚@XVJVz™J@Lޚ@VmLUxUJ@LU„Vx‚b„xXUl@VaÈw„b‚aÞa@Vl@XUVx@V@V„LlbnV„al@lb„Vnn‚LnKnL@VlbVJXalIšb@KUU@mVInJ˜„U„Vl@xUšVLnUš@UÞaV@lkV@UanK„L@UlKVUnbÆmn@@nUlVnVJl@@UXU„L@WVIVJVxVLXV@IÜKnbn@V¥V@@I@ƒƒ„y°b@UUwnk°ÆƨVlUšçXm›£aƒÇ™IkVƒ@WV@@aWIUWUIkb@WW@UnƒK@UU@kaWVkƒVIVVnU@UWVUV@VmVkKkWIkVWaULU`UImJUImm—U@ƒƒwmwUV™IUWVkUamaU@mV—kƒb@KVU@aVU@anKULVJ‚U@kÛU™JUV›kkƒVakU@ƒaVwkW@UWkXmWaULUaUK@XƒJUUmƒVU@UVƒUkJ@ImwmKU@k„@lU„W@@akKm„kamIkWl_UwVm@UkaVUUaƒ@UamakbWlkL@aUalU@mkL@U@U™lmK@XkKm@Ýakb@xƒnXbƒ`ƒnUUU@›™U@™wU@@ƒmKkkƒV¯U@lULUbVbUb@V‚a@L™ºÝb@bLmK™x@VUL@bk@mxULWl"],encodeOffsets:[[121185,30184]]}},{type:"Feature",id:"3303",properties:{name:"温州市",cp:[120.498,27.8119],childNum:9},geometry:{type:"Polygon",coordinates:["@@ll@xnXV`VX„WVL@lXnlV@UV@@b@¤VzUlnV„U@nWxšW@b@LnalK@bšXVKUƒÈ@VV„I@b@Jš@WbXLÆaUU„mšI@xlKnn„@VWlbkXV‚@n„VWnœ‚WbUb„L@`VbUnVlVXkV@lUz±‚VnUbU@@VUlVL@l„_@V@l@LVbV@XLV`VÈlxn@lU@aœaVV‚k„@XJ@nl@@LU`°LVb„L°a@a„UVy@anI@a„a‚nV@²wÜJX@VšVV°k„na@WVk„aWwU@m@™ƒkƒaUĕ™ÝšÝŤnÈa„aóI›»@±X™WkUķ@kV±kw™ƒUkWw„™UƒÝ»ÛkɳlImaUaWóXÿǬk‚UnWVmmk™KţnŏÞğl™„UlUx@XWb„V@JkXƒ°mb@VULVxUVk@@LWWk@WIkšƒUkJmUkVmI@yƒ@Ua™kLm‚U@mUUUkaVk™@mK@UlUU@UmKmbUUUJ@n@KVLUL@VkJWXX`mnULWlkL@JVLVb@°kxkU@LVŽ™V@„VLV`UL@VUX"],encodeOffsets:[[122502,28334]]}},{type:"Feature",id:"3302",properties:{name:"宁波市",cp:[121.5967,29.6466],childNum:6},geometry:{type:"Polygon",coordinates:["@@Ċ¦ĸĀ°‚nXÞVšKškƨƑźÿ°»n„@wô¥ÜbœU°ÆXÞWóçĉݱIUƒÈ¥@U°wÆ»²mm_@aXƒVKÞVlk@akk›̅@£X»VwƏXWa¯aȗb™KƽۃĊ™xƒLóŽk@ƒƒƒ@¯nƒKUL@xkL›ÑkWULUUmJUXVŽU@mŽUX¯@V`mbXbV@@nn¤WXšx@škJ@nVVUVl²UbÝVUVk@Wx@V@„ƒVXzmlaƒL@VlLU`„XUVVVUnl@VbnJlnUVVnƒlUKkbmnn„VxlJnxmbU@UL@KUV™X@xmb@lk@mnVVUš™è"],encodeOffsets:[[123784,30977]]}},{type:"Feature",id:"3309",properties:{name:"舟山市",cp:[122.2559,30.2234],childNum:3},geometry:{type:"Polygon",coordinates:["@@l΢ƒʠþÆVĢLĊƒǬXĊ܄XôV„ÑÆw„ƒlšƏÈóVĭVǓ@ƒĉwɛkmK@ĉXīWaĉUĵÝmƒ¯ĉƒwĉ±±nż¯x@VǦV„²JĊÞôèÝXÅW¯›VÛaó¦@xƒŽmŽ¯¼ŹĀ"],
-encodeOffsets:[[124437,30983]]}},{type:"Feature",id:"3310",properties:{name:"台州市",cp:[121.1353,28.6688],childNum:7},geometry:{type:"Polygon",coordinates:["@@lV„IVWVz@bXJl@Xal@°„nLll@nVxnV„K@UJVbƒ¦°„k`UIWJXnƚ@bUJ„Xl@lb„Wn@UzVV@bVVšmVnnJVXna‚bšKUKnUVVUnVLlKVLXa„Jm£@mU@WanaU_°@VWnV@UVWnIVVVKlXœÒlK@wVK„L°m„@„„l@ô„Kšw„ĉƾůUƒl£@»UƒVk„m@ƅUƒƒaÛIŏmUk@m„w@a™£ƒWk@ţšƒIm±@ankôUlaU™Uw¯ƒōaƒbÇbţm™ÞšÞVĖ„b„l@š@n‚VXxƒbUl@XmbƒŽ¯lUUU™W@ÛI±xU@mƒb@bmJ@bUzƒV@b¯bƒKUa¯KV_@Kk@@mWIƒ@lUU›b@bkVm@kwUÇU_WKU@Ux™@ƒVUnllX@Vn‚J@UXV@bWL@lUbbVLUJ@z‚V@lnbWbnnnJVŽ@L"],encodeOffsets:[[123312,29526]]}},{type:"Feature",id:"3307",properties:{name:"金华市",cp:[120.0037,29.1028],childNum:8},geometry:{type:"Polygon",coordinates:["@@nbVb„@VbUVlb@VUnVxk`lXnJlbnƒlL@bX@Vƒ@klƒV@nLnx@JlI„V‚U@VUVn„VV„I@WVLVbVKXbWnXl@VlXUx„b@ŽlVUbl„œlVUšIÜVnalKX@@bV@@aUUlUƒwUw„@naWW„UVaUUšaVb„LlxXJVk°ƒUƒlkU¥@k„a@LVlXLVlšVWznVn@lxšJl_@WX_@mVa„a@alU@kVVna„KVLlK„b@UUaVašbnUWmXU@k@yVI@ařWmXIVJl_¯ƒ„¥UaVI@ƒLmUUw@mkkmK¯ƒk@Wbk@WI@aUyUXƒJkU@bU@WLUyƒXUbkbW`UVVkKmbUaVUƒUK™£@KVUUUm@UWkXWaUKƒV@b¯ƒ¯mU™V@UkƒmW@kkKƒwUƒmkkVUI@WlkUamL@Wk_Wƒ@UVm@Ua¯KWXk@Uxm@UK@xV„mV@Xk@UVV¼@‚VLUb™Uƒ„U@ƒyULUbVlU@@XlVUVVbƒU@lXXVW@XUVl@@VUVƒÈn@VVU„@lVa@„U„mL@`X@`WL@VUX@lUL@xlx"],encodeOffsets:[[122119,29948]]}},{type:"Feature",id:"3308",properties:{name:"衢州市",cp:[118.6853,28.8666],childNum:5},geometry:{type:"Polygon",coordinates:["@@XkVKnwl@@aVK@UšwnL‚K@aÞaš¹@Kb@UVaUaVaVK@k°V„UllnL@„V@šxV@œšV@VV„m„_Wa„m@wlaÞbn@lL@WnLšk@V@VlK@nkVVb@blKXklakw@wVK@kVW@UXK@_‚W@_nKVƒ@ƒUb@kVƒUUm@„ÇVU@Uk@VU@WUXWW@k„VUaVUkU@WWXUKk@Ukmm¯LmmƒUJUIWJkImmƒ_—±WLkKm£@aVUmKUnƒLmWUkVmw@¥U„LVWm@WUka@UmmLmm@@bUX™@@WUIm@UVUK@UVUUU™VVJmb@b„Xn‚mVƒ¼nnn¦mJUVƒL„V@VW@UzUlVnUbl`UnVl@XU@kl@bmÈUx™Vk@@J@„ƒ¼W@ÅaVVnzmVƒ„@WJk@kWJ@ƒlXbWbXxmVnšlLXb@°lKVXnWšbWV„„X„mbV@Xl‚bšI@Kn@@x@šVLlm"],encodeOffsets:[[121185,30184]]}},{type:"Feature",id:"3306",properties:{name:"绍兴市",cp:[120.564,29.7565],childNum:6},geometry:{type:"Polygon",coordinates:["@@„x@„˜VnnVJnIVJV_VKXblUXJlŽlLUŽUnU@UVVX@ŽmVUUUJl„XUlbV@@V„LVmX@@XlaVJVXXJ@b‚@XU„@lUšJ„È‚bœ¤Ō„JšçV™UUnml@@kna@wšWVU@LVKV@namwkIUwmƒnmlaVL„kUmVUkmmIUak@VmUUVUƒWV_kK@U„K‚bnkWy„U@ƒ@UXwl@VUÞUVak±VUUU@mlI@™™wXWƒIWbUKkLUKVmUUmVVL™LambUWmIUm™nUU@aUUVym@ƒXkak@ƒW@z@lWVXnmV™aUbVb@VƒakLUKƒLmbUU@lkV@bƒbUb@nW`@Xk`™Ikwm@mUXy™UUkWKUk@Kƒb@lV¦klV„¯„UlWIkwƒKUa™bVVUbƒVXXmbƒ@Vx„xkVVV@bU@@aW@kLmb@lVUIVKmL@bUV@bUV@L„a˜lnUV@nbVbUlVXšJVUnx"],encodeOffsets:[[122997,30561]]}},{type:"Feature",id:"3304",properties:{name:"嘉兴市",cp:[120.9155,30.6354],childNum:6},geometry:{type:"Polygon",coordinates:["@@@blIX@@VÜVUnn@l‚k„lKnI°Þl`²LVKVbnbVaVLUVn@W¦@VkVVb„@VI„`@blLnL‚aX@„VVb@U‚@XlVa„@@kVaUKV»U_lWXUƒƒ@alb„k@VllnLVKn@@UVIUw@y°IVVXU@VV@lw„m@wVkƾaœJ‚LkΡƧƒ™l™LÝUmW¯ķÿĉ¥ƒIŋŽWn™èkVƧU¯ÅmlVx@V¯aƒz„Ž@„@JU@U¦m@@šnVmn@V„LV‚"],encodeOffsets:[[123233,31382]]}},{type:"Feature",id:"3305",properties:{name:"湖州市",cp:[119.8608,30.7782],childNum:4},geometry:{type:"Polygon",coordinates:["@@kLlƒkm@VmÛU@UW@kJ@aUƒK@UnmmU@™maÛL@JWUUKUwUIUJ@XƒKWV@Vk@UIUmVk@mm@ÅnmaUVkL@VƒKmLVbU@klU@ÝbV™@mVUKV™@wUkVƒ—ƒmIUJ@nVV@L™akJWbUIka@UmKmLKmmƒUUVk@@nmLX`WXUV@Ž@nUl™kmlU@Ub„„ƒxVVšIlV„Žšnn„@@n˜„UҚ@„°n@@xmb@„VbnV@šš„@b@`@L@L@x@blVklVbnnV@‚aXb°VlU@W„b°U„LXWVUV™„™VwÈwÜ»ĸaĠnUVw²X@V@lVU@wlaUUVm@knUV›"],encodeOffsets:[[123379,31500]]}}],UTF8Encoding:!0}}),i("echarts/chart/gauge",["require","./base","../util/shape/GaugePointer","zrender/shape/Text","zrender/shape/Line","zrender/shape/Rectangle","zrender/shape/Circle","zrender/shape/Sector","../config","../util/ecData","../util/accMath","zrender/tool/util","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("../util/shape/GaugePointer"),a=e("zrender/shape/Text"),o=e("zrender/shape/Line"),r=e("zrender/shape/Rectangle"),s=e("zrender/shape/Circle"),l=e("zrender/shape/Sector"),h=e("../config");h.gauge={zlevel:0,z:2,center:["50%","50%"],clickable:!0,legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#228b22"],[.8,"#48b"],[1,"#ff4500"]],width:30}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,textStyle:{color:"auto"}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},pointer:{show:!0,length:"80%",width:8,color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],textStyle:{color:"#333",fontSize:15}},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:40,offsetCenter:[0,"40%"],textStyle:{color:"auto",fontSize:30}}};var m=e("../util/ecData"),V=e("../util/accMath"),U=e("zrender/tool/util");return t.prototype={type:h.CHART_TYPE_GAUGE,_buildShape:function(){var e=this.series;this._paramsMap={},this.selectedMap={};for(var t=0,i=e.length;i>t;t++)e[t].type===h.CHART_TYPE_GAUGE&&(this.selectedMap[e[t].name]=!0,e[t]=this.reformOption(e[t]),this.legendHoverLink=e[t].legendHoverLink||this.legendHoverLink,this._buildSingleGauge(t),this.buildMark(t));this.addShapeList()},_buildSingleGauge:function(e){var t=this.series[e];this._paramsMap[e]={center:this.parseCenter(this.zr,t.center),radius:this.parseRadius(this.zr,t.radius),startAngle:t.startAngle.toFixed(2)-0,endAngle:t.endAngle.toFixed(2)-0},this._paramsMap[e].totalAngle=this._paramsMap[e].startAngle-this._paramsMap[e].endAngle,this._colorMap(e),this._buildAxisLine(e),this._buildSplitLine(e),this._buildAxisTick(e),this._buildAxisLabel(e),this._buildPointer(e),this._buildTitle(e),this._buildDetail(e)},_buildAxisLine:function(e){var t=this.series[e];if(t.axisLine.show)for(var i,n,a=t.min,o=t.max-a,r=this._paramsMap[e],s=r.center,l=r.startAngle,h=r.totalAngle,V=r.colorArray,U=t.axisLine.lineStyle,d=this.parsePercent(U.width,r.radius[1]),p=r.radius[1],c=p-d,u=l,y=0,g=V.length;g>y;y++)n=l-h*(V[y][0]-a)/o,i=this._getSector(s,c,p,n,u,V[y][1],U,t.zlevel,t.z),u=n,i._animationAdd="r",m.set(i,"seriesIndex",e),m.set(i,"dataIndex",y),this.shapeList.push(i)},_buildSplitLine:function(e){var t=this.series[e];if(t.splitLine.show)for(var i,n,a,r=this._paramsMap[e],s=t.splitNumber,l=t.min,h=t.max-l,m=t.splitLine,V=this.parsePercent(m.length,r.radius[1]),U=m.lineStyle,d=U.color,p=r.center,c=r.startAngle*Math.PI/180,u=r.totalAngle*Math.PI/180,y=r.radius[1],g=y-V,b=0;s>=b;b++)i=c-u/s*b,n=Math.sin(i),a=Math.cos(i),this.shapeList.push(new o({zlevel:t.zlevel,z:t.z+1,hoverable:!1,style:{xStart:p[0]+a*y,yStart:p[1]-n*y,xEnd:p[0]+a*g,yEnd:p[1]-n*g,strokeColor:"auto"===d?this._getColor(e,l+h/s*b):d,lineType:U.type,lineWidth:U.width,shadowColor:U.shadowColor,shadowBlur:U.shadowBlur,shadowOffsetX:U.shadowOffsetX,shadowOffsetY:U.shadowOffsetY}}))},_buildAxisTick:function(e){var t=this.series[e];if(t.axisTick.show)for(var i,n,a,r=this._paramsMap[e],s=t.splitNumber,l=t.min,h=t.max-l,m=t.axisTick,V=m.splitNumber,U=this.parsePercent(m.length,r.radius[1]),d=m.lineStyle,p=d.color,c=r.center,u=r.startAngle*Math.PI/180,y=r.totalAngle*Math.PI/180,g=r.radius[1],b=g-U,f=0,k=s*V;k>=f;f++)f%V!==0&&(i=u-y/k*f,n=Math.sin(i),a=Math.cos(i),this.shapeList.push(new o({zlevel:t.zlevel,z:t.z+1,hoverable:!1,style:{xStart:c[0]+a*g,yStart:c[1]-n*g,xEnd:c[0]+a*b,yEnd:c[1]-n*b,strokeColor:"auto"===p?this._getColor(e,l+h/k*f):p,lineType:d.type,lineWidth:d.width,shadowColor:d.shadowColor,shadowBlur:d.shadowBlur,shadowOffsetX:d.shadowOffsetX,shadowOffsetY:d.shadowOffsetY}})))},_buildAxisLabel:function(e){var t=this.series[e];if(t.axisLabel.show)for(var i,n,o,r,s=t.splitNumber,l=t.min,h=t.max-l,m=t.axisLabel.textStyle,U=this.getFont(m),d=m.color,p=this._paramsMap[e],c=p.center,u=p.startAngle,y=p.totalAngle,g=p.radius[1]-this.parsePercent(t.splitLine.length,p.radius[1])-5,b=0;s>=b;b++)r=V.accAdd(l,V.accMul(V.accDiv(h,s),b)),i=u-y/s*b,n=Math.sin(i*Math.PI/180),o=Math.cos(i*Math.PI/180),i=(i+360)%360,this.shapeList.push(new a({zlevel:t.zlevel,z:t.z+1,hoverable:!1,style:{x:c[0]+o*g,y:c[1]-n*g,color:"auto"===d?this._getColor(e,r):d,text:this._getLabelText(t.axisLabel.formatter,r),textAlign:i>=110&&250>=i?"left":70>=i||i>=290?"right":"center",textBaseline:i>=10&&170>=i?"top":i>=190&&350>=i?"bottom":"middle",textFont:U,shadowColor:m.shadowColor,shadowBlur:m.shadowBlur,shadowOffsetX:m.shadowOffsetX,shadowOffsetY:m.shadowOffsetY}}))},_buildPointer:function(e){var t=this.series[e];if(t.pointer.show){var i=t.max-t.min,a=t.pointer,o=this._paramsMap[e],r=this.parsePercent(a.length,o.radius[1]),l=this.parsePercent(a.width,o.radius[1]),h=o.center,V=this._getValue(e);V=V<t.max?V:t.max;var U=(o.startAngle-o.totalAngle/i*(V-t.min))*Math.PI/180,d="auto"===a.color?this._getColor(e,V):a.color,p=new n({zlevel:t.zlevel,z:t.z+1,clickable:this.query(t,"clickable"),style:{x:h[0],y:h[1],r:r,startAngle:o.startAngle*Math.PI/180,angle:U,color:d,width:l,shadowColor:a.shadowColor,shadowBlur:a.shadowBlur,shadowOffsetX:a.shadowOffsetX,shadowOffsetY:a.shadowOffsetY},highlightStyle:{brushType:"fill",width:l>2?2:l/2,color:"#fff"}});m.pack(p,this.series[e],e,this.series[e].data[0],0,this.series[e].data[0].name,V),this.shapeList.push(p),this.shapeList.push(new s({zlevel:t.zlevel,z:t.z+2,hoverable:!1,style:{x:h[0],y:h[1],r:a.width/2.5,color:"#fff"}}))}},_buildTitle:function(e){var t=this.series[e];if(t.title.show){var i=t.data[0],n=null!=i.name?i.name:"";if(""!==n){var o=t.title,r=o.offsetCenter,s=o.textStyle,l=s.color,h=this._paramsMap[e],m=h.center[0]+this.parsePercent(r[0],h.radius[1]),V=h.center[1]+this.parsePercent(r[1],h.radius[1]);this.shapeList.push(new a({zlevel:t.zlevel,z:t.z+(Math.abs(m-h.center[0])+Math.abs(V-h.center[1])<2*s.fontSize?2:1),hoverable:!1,style:{x:m,y:V,color:"auto"===l?this._getColor(e):l,text:n,textAlign:"center",textFont:this.getFont(s),shadowColor:s.shadowColor,shadowBlur:s.shadowBlur,shadowOffsetX:s.shadowOffsetX,shadowOffsetY:s.shadowOffsetY}}))}}},_buildDetail:function(e){var t=this.series[e];if(t.detail.show){var i=t.detail,n=i.offsetCenter,a=i.backgroundColor,o=i.textStyle,s=o.color,l=this._paramsMap[e],h=this._getValue(e),m=l.center[0]-i.width/2+this.parsePercent(n[0],l.radius[1]),V=l.center[1]+this.parsePercent(n[1],l.radius[1]);this.shapeList.push(new r({zlevel:t.zlevel,z:t.z+(Math.abs(m+i.width/2-l.center[0])+Math.abs(V+i.height/2-l.center[1])<o.fontSize?2:1),hoverable:!1,style:{x:m,y:V,width:i.width,height:i.height,brushType:"both",color:"auto"===a?this._getColor(e,h):a,lineWidth:i.borderWidth,strokeColor:i.borderColor,shadowColor:i.shadowColor,shadowBlur:i.shadowBlur,shadowOffsetX:i.shadowOffsetX,shadowOffsetY:i.shadowOffsetY,text:this._getLabelText(i.formatter,h),textFont:this.getFont(o),textPosition:"inside",textColor:"auto"===s?this._getColor(e,h):s}}))}},_getValue:function(e){return this.getDataFromOption(this.series[e].data[0])},_colorMap:function(e){var t=this.series[e],i=t.min,n=t.max-i,a=t.axisLine.lineStyle.color;a instanceof Array||(a=[[1,a]]);for(var o=[],r=0,s=a.length;s>r;r++)o.push([a[r][0]*n+i,a[r][1]]);this._paramsMap[e].colorArray=o},_getColor:function(e,t){null==t&&(t=this._getValue(e));for(var i=this._paramsMap[e].colorArray,n=0,a=i.length;a>n;n++)if(i[n][0]>=t)return i[n][1];return i[i.length-1][1]},_getSector:function(e,t,i,n,a,o,r,s,h){return new l({zlevel:s,z:h,hoverable:!1,style:{x:e[0],y:e[1],r0:t,r:i,startAngle:n,endAngle:a,brushType:"fill",color:o,shadowColor:r.shadowColor,shadowBlur:r.shadowBlur,shadowOffsetX:r.shadowOffsetX,shadowOffsetY:r.shadowOffsetY}})},_getLabelText:function(e,t){if(e){if("function"==typeof e)return e.call(this.myChart,t);if("string"==typeof e)return e.replace("{value}",t)}return t},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()}},U.inherits(t,i),e("../chart").define("gauge",t),t}),i("echarts/util/shape/GaugePointer",["require","zrender/shape/Base","zrender/tool/util","./normalIsCover"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/tool/util");return t.prototype={type:"gauge-pointer",buildPath:function(e,t){var i=t.r,n=t.width,a=t.angle,o=t.x-Math.cos(a)*n*(n>=i/3?1:2),r=t.y+Math.sin(a)*n*(n>=i/3?1:2);a=t.angle-Math.PI/2,e.moveTo(o,r),e.lineTo(t.x+Math.cos(a)*n,t.y-Math.sin(a)*n),e.lineTo(t.x+Math.cos(t.angle)*i,t.y-Math.sin(t.angle)*i),e.lineTo(t.x-Math.cos(a)*n,t.y+Math.sin(a)*n),e.lineTo(o,r)},getRect:function(e){if(e.__rect)return e.__rect;var t=2*e.width,i=e.x,n=e.y,a=i+Math.cos(e.angle)*e.r,o=n-Math.sin(e.angle)*e.r;return e.__rect={x:Math.min(i,a)-t,y:Math.min(n,o)-t,width:Math.abs(i-a)+t,height:Math.abs(n-o)+t},e.__rect},isCover:e("./normalIsCover")},n.inherits(t,i),t}),i("echarts/chart/funnel",["require","./base","zrender/shape/Text","zrender/shape/Line","zrender/shape/Polygon","../config","../util/ecData","../util/number","zrender/tool/util","zrender/tool/color","zrender/tool/area","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Line"),o=e("zrender/shape/Polygon"),r=e("../config");r.funnel={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,x:80,y:60,x2:80,y2:60,min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",itemStyle:{normal:{borderColor:"#fff",borderWidth:1,label:{show:!0,position:"outer"},labelLine:{show:!0,length:10,lineStyle:{width:1,type:"solid"}}},emphasis:{borderColor:"rgba(0,0,0,0)",borderWidth:1,label:{show:!0},labelLine:{show:!0}}}};var s=e("../util/ecData"),l=e("../util/number"),h=e("zrender/tool/util"),m=e("zrender/tool/color"),V=e("zrender/tool/area");return t.prototype={type:r.CHART_TYPE_FUNNEL,_buildShape:function(){var e=this.series,t=this.component.legend;this._paramsMap={},this._selected={},this.selectedMap={};for(var i,n=0,a=e.length;a>n;n++)if(e[n].type===r.CHART_TYPE_FUNNEL){if(e[n]=this.reformOption(e[n]),this.legendHoverLink=e[n].legendHoverLink||this.legendHoverLink,i=e[n].name||"",this.selectedMap[i]=t?t.isSelected(i):!0,!this.selectedMap[i])continue;this._buildSingleFunnel(n),this.buildMark(n)}this.addShapeList()},_buildSingleFunnel:function(e){var t=this.component.legend,i=this.series[e],n=this._mapData(e),a=this._getLocation(e);this._paramsMap[e]={location:a,data:n};for(var o,r=0,s=[],h=0,m=n.length;m>h;h++)o=n[h].name,this.selectedMap[o]=t?t.isSelected(o):!0,this.selectedMap[o]&&!isNaN(n[h].value)&&(s.push(n[h]),r++);if(0!==r){for(var V,U,d,p,c=this._buildFunnelCase(e),u=i.funnelAlign,y=i.gap,g=r>1?(a.height-(r-1)*y)/r:a.height,b=a.y,f="descending"===i.sort?this._getItemWidth(e,s[0].value):l.parsePercent(i.minSize,a.width),k="descending"===i.sort?1:0,x=a.centerX,_=[],h=0,m=s.length;m>h;h++)if(o=s[h].name,this.selectedMap[o]&&!isNaN(s[h].value)){switch(V=m-2>=h?this._getItemWidth(e,s[h+k].value):"descending"===i.sort?l.parsePercent(i.minSize,a.width):l.parsePercent(i.maxSize,a.width),u){case"left":U=a.x;break;case"right":U=a.x+a.width-f;break;default:U=x-f/2}d=this._buildItem(e,s[h]._index,t?t.getColor(o):this.zr.getColor(s[h]._index),U,b,f,V,g,u),b+=g+y,p=d.style.pointList,_.unshift([p[0][0]-10,p[0][1]]),_.push([p[1][0]+10,p[1][1]]),0===h&&(0===f?(p=_.pop(),"center"==u&&(_[0][0]+=10),"right"==u&&(_[0][0]=p[0]),_[0][1]-="center"==u?10:15,1==m&&(p=d.style.pointList)):(_[_.length-1][1]-=5,_[0][1]-=5)),f=V}c&&(_.unshift([p[3][0]-10,p[3][1]]),_.push([p[2][0]+10,p[2][1]]),0===f?(p=_.pop(),"center"==u&&(_[0][0]+=10),"right"==u&&(_[0][0]=p[0]),_[0][1]+="center"==u?10:15):(_[_.length-1][1]+=5,_[0][1]+=5),c.style.pointList=_)}},_buildFunnelCase:function(e){var t=this.series[e];if(this.deepQuery([t,this.option],"calculable")){var i=this._paramsMap[e].location,n=10,a={hoverable:!1,style:{pointListd:[[i.x-n,i.y-n],[i.x+i.width+n,i.y-n],[i.x+i.width+n,i.y+i.height+n],[i.x-n,i.y+i.height+n]],brushType:"stroke",lineWidth:1,strokeColor:t.calculableHolderColor||this.ecTheme.calculableHolderColor||r.calculableHolderColor}};return s.pack(a,t,e,void 0,-1),this.setCalculable(a),a=new o(a),this.shapeList.push(a),a}},_getLocation:function(e){var t=this.series[e],i=this.zr.getWidth(),n=this.zr.getHeight(),a=this.parsePercent(t.x,i),o=this.parsePercent(t.y,n),r=null==t.width?i-a-this.parsePercent(t.x2,i):this.parsePercent(t.width,i);return{x:a,y:o,width:r,height:null==t.height?n-o-this.parsePercent(t.y2,n):this.parsePercent(t.height,n),centerX:a+r/2}},_mapData:function(e){function t(e,t){return"-"===e.value?1:"-"===t.value?-1:t.value-e.value}function i(e,i){return-t(e,i)}for(var n=this.series[e],a=h.clone(n.data),o=0,r=a.length;r>o;o++)a[o]._index=o;return"none"!=n.sort&&a.sort("descending"===n.sort?t:i),a},_buildItem:function(e,t,i,n,a,o,r,l,h){var m=this.series,V=m[e],U=V.data[t],d=this.getPolygon(e,t,i,n,a,o,r,l,h);s.pack(d,m[e],e,m[e].data[t],t,m[e].data[t].name),this.shapeList.push(d);var p=this.getLabel(e,t,i,n,a,o,r,l,h);s.pack(p,m[e],e,m[e].data[t],t,m[e].data[t].name),this.shapeList.push(p),this._needLabel(V,U,!1)||(p.invisible=!0);var c=this.getLabelLine(e,t,i,n,a,o,r,l,h);this.shapeList.push(c),this._needLabelLine(V,U,!1)||(c.invisible=!0);var u=[],y=[];return this._needLabelLine(V,U,!0)&&(u.push(c.id),y.push(c.id)),this._needLabel(V,U,!0)&&(u.push(p.id),y.push(d.id)),d.hoverConnect=u,p.hoverConnect=y,d},_getItemWidth:function(e,t){var i=this.series[e],n=this._paramsMap[e].location,a=i.min,o=i.max,r=l.parsePercent(i.minSize,n.width),s=l.parsePercent(i.maxSize,n.width);return(t-a)*(s-r)/(o-a)+r},getPolygon:function(e,t,i,n,a,r,s,l,h){var V,U=this.series[e],d=U.data[t],p=[d,U],c=this.deepMerge(p,"itemStyle.normal")||{},u=this.deepMerge(p,"itemStyle.emphasis")||{},y=this.getItemStyleColor(c.color,e,t,d)||i,g=this.getItemStyleColor(u.color,e,t,d)||("string"==typeof y?m.lift(y,-.2):y);switch(h){case"left":V=n;break;case"right":V=n+(r-s);break;default:V=n+(r-s)/2}var b={zlevel:U.zlevel,z:U.z,clickable:this.deepQuery(p,"clickable"),style:{pointList:[[n,a],[n+r,a],[V+s,a+l],[V,a+l]],brushType:"both",color:y,lineWidth:c.borderWidth,strokeColor:c.borderColor},highlightStyle:{color:g,lineWidth:u.borderWidth,strokeColor:u.borderColor}};return this.deepQuery([d,U,this.option],"calculable")&&(this.setCalculable(b),b.draggable=!0),new o(b)},getLabel:function(e,t,i,a,o,r,s,l,U){var d,p=this.series[e],c=p.data[t],u=this._paramsMap[e].location,y=h.merge(h.clone(c.itemStyle)||{},p.itemStyle),g="normal",b=y[g].label,f=b.textStyle||{},k=y[g].labelLine.length,x=this.getLabelText(e,t,g),_=this.getFont(f),L=i;b.position=b.position||y.normal.label.position,"inner"===b.position||"inside"===b.position||"center"===b.position?(d=U,L=Math.max(r,s)/2>V.getTextWidth(x,_)?"#fff":m.reverse(i)):d="left"===b.position?"right":"left";var W={zlevel:p.zlevel,z:p.z+1,style:{x:this._getLabelPoint(b.position,a,u,r,s,k,U),y:o+l/2,color:f.color||L,text:x,textAlign:f.align||d,textBaseline:f.baseline||"middle",textFont:_}};return g="emphasis",b=y[g].label||b,f=b.textStyle||f,k=y[g].labelLine.length||k,b.position=b.position||y.normal.label.position,x=this.getLabelText(e,t,g),_=this.getFont(f),L=i,"inner"===b.position||"inside"===b.position||"center"===b.position?(d=U,L=Math.max(r,s)/2>V.getTextWidth(x,_)?"#fff":m.reverse(i)):d="left"===b.position?"right":"left",W.highlightStyle={x:this._getLabelPoint(b.position,a,u,r,s,k,U),color:f.color||L,text:x,textAlign:f.align||d,textFont:_,brushType:"fill"},new n(W)},getLabelText:function(e,t,i){var n=this.series,a=n[e],o=a.data[t],r=this.deepQuery([o,a],"itemStyle."+i+".label.formatter");return r?"function"==typeof r?r.call(this.myChart,{seriesIndex:e,seriesName:a.name||"",series:a,dataIndex:t,data:o,name:o.name,value:o.value}):"string"==typeof r?r=r.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}").replace("{a0}",a.name).replace("{b0}",o.name).replace("{c0}",o.value):void 0:o.name},getLabelLine:function(e,t,i,n,o,r,s,l,m){var V=this.series[e],U=V.data[t],d=this._paramsMap[e].location,p=h.merge(h.clone(U.itemStyle)||{},V.itemStyle),c="normal",u=p[c].labelLine,y=p[c].labelLine.length,g=u.lineStyle||{},b=p[c].label;b.position=b.position||p.normal.label.position;var f={zlevel:V.zlevel,z:V.z+1,hoverable:!1,style:{xStart:this._getLabelLineStartPoint(n,d,r,s,m),yStart:o+l/2,xEnd:this._getLabelPoint(b.position,n,d,r,s,y,m),yEnd:o+l/2,strokeColor:g.color||i,lineType:g.type,lineWidth:g.width}};return c="emphasis",u=p[c].labelLine||u,y=p[c].labelLine.length||y,g=u.lineStyle||g,b=p[c].label||b,b.position=b.position,f.highlightStyle={xEnd:this._getLabelPoint(b.position,n,d,r,s,y,m),strokeColor:g.color||i,lineType:g.type,lineWidth:g.width},new a(f)},_getLabelPoint:function(e,t,i,n,a,o,r){switch(e="inner"===e||"inside"===e?"center":e){case"center":return"center"==r?t+n/2:"left"==r?t+10:t+n-10;case"left":return"auto"===o?i.x-10:"center"==r?i.centerX-Math.max(n,a)/2-o:"right"==r?t-(a>n?a-n:0)-o:i.x-o;default:return"auto"===o?i.x+i.width+10:"center"==r?i.centerX+Math.max(n,a)/2+o:"right"==r?i.x+i.width+o:t+Math.max(n,a)+o}},_getLabelLineStartPoint:function(e,t,i,n,a){return"center"==a?t.centerX:n>i?e+Math.min(i,n)/2:e+Math.max(i,n)/2},_needLabel:function(e,t,i){return this.deepQuery([t,e],"itemStyle."+(i?"emphasis":"normal")+".label.show")},_needLabelLine:function(e,t,i){return this.deepQuery([t,e],"itemStyle."+(i?"emphasis":"normal")+".labelLine.show")},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()}},h.inherits(t,i),e("../chart").define("funnel",t),t}),i("echarts/chart/eventRiver",["require","./base","../layout/eventRiver","zrender/shape/Polygon","../component/axis","../component/grid","../component/dataZoom","../config","../util/ecData","../util/date","zrender/tool/util","zrender/tool/color","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o);var r=this;r._ondragend=function(){r.isDragend=!0},this.refresh(a)}var i=e("./base"),n=e("../layout/eventRiver"),a=e("zrender/shape/Polygon");e("../component/axis"),e("../component/grid"),e("../component/dataZoom");var o=e("../config");o.eventRiver={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,itemStyle:{normal:{borderColor:"rgba(0,0,0,0)",borderWidth:1,label:{show:!0,position:"inside",formatter:"{b}"}},emphasis:{borderColor:"rgba(0,0,0,0)",borderWidth:1,label:{show:!0}}}};var r=e("../util/ecData"),s=e("../util/date"),l=e("zrender/tool/util"),h=e("zrender/tool/color");return t.prototype={type:o.CHART_TYPE_EVENTRIVER,_buildShape:function(){var e=this.series;this.selectedMap={},this._dataPreprocessing();for(var t=this.component.legend,i=[],a=0;a<e.length;a++)if(e[a].type===this.type){e[a]=this.reformOption(e[a]),this.legendHoverLink=e[a].legendHoverLink||this.legendHoverLink;var o=e[a].name||"";if(this.selectedMap[o]=t?t.isSelected(o):!0,!this.selectedMap[o])continue;this.buildMark(a),i.push(this.series[a])}n(i,this._intervalX,this.component.grid.getArea()),this._drawEventRiver(),this.addShapeList()},_dataPreprocessing:function(){for(var e,t,i=this.series,n=0,a=i.length;a>n;n++)if(i[n].type===this.type){e=this.component.xAxis.getAxis(i[n].xAxisIndex||0);for(var o=0,r=i[n].data.length;r>o;o++){t=i[n].data[o].evolution;for(var l=0,h=t.length;h>l;l++)t[l].timeScale=e.getCoord(s.getNewDate(t[l].time)-0),t[l].valueScale=Math.pow(t[l].value,.8)}}this._intervalX=Math.round(this.component.grid.getWidth()/40)},_drawEventRiver:function(){for(var e=this.series,t=0;t<e.length;t++){var i=e[t].name||"";if(e[t].type===this.type&&this.selectedMap[i])for(var n=0;n<e[t].data.length;n++)this._drawEventBubble(e[t].data[n],t,n)}},_drawEventBubble:function(e,t,i){var n=this.series,o=n[t],s=o.name||"",l=o.data[i],m=[l,o],V=this.component.legend,U=V?V.getColor(s):this.zr.getColor(t),d=this.deepMerge(m,"itemStyle.normal")||{},p=this.deepMerge(m,"itemStyle.emphasis")||{},c=this.getItemStyleColor(d.color,t,i,l)||U,u=this.getItemStyleColor(p.color,t,i,l)||("string"==typeof c?h.lift(c,-.2):c),y=this._calculateControlPoints(e),g={zlevel:o.zlevel,z:o.z,clickable:this.deepQuery(m,"clickable"),style:{pointList:y,smooth:"spline",brushType:"both",lineJoin:"round",color:c,lineWidth:d.borderWidth,strokeColor:d.borderColor},highlightStyle:{color:u,lineWidth:p.borderWidth,strokeColor:p.borderColor},draggable:"vertical",ondragend:this._ondragend};g=new a(g),this.addLabel(g,o,l,e.name),r.pack(g,n[t],t,n[t].data[i],i,n[t].data[i].name),this.shapeList.push(g)},_calculateControlPoints:function(e){var t=this._intervalX,i=e.y,n=e.evolution,a=n.length;if(!(1>a)){for(var o=[],r=[],s=0;a>s;s++)o.push(n[s].timeScale),r.push(n[s].valueScale);var l=[];l.push([o[0],i]);var s=0;for(s=0;a-1>s;s++)l.push([(o[s]+o[s+1])/2,r[s]/-2+i]);for(l.push([(o[s]+(o[s]+t))/2,r[s]/-2+i]),l.push([o[s]+t,i]),l.push([(o[s]+(o[s]+t))/2,r[s]/2+i]),s=a-1;s>0;s--)l.push([(o[s]+o[s-1])/2,r[s-1]/2+i]);return l}},ondragend:function(e,t){this.isDragend&&e.target&&(t.dragOut=!0,t.dragIn=!0,t.needRefresh=!1,this.isDragend=!1)},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()}},l.inherits(t,i),e("../chart").define("eventRiver",t),t}),i("echarts/layout/eventRiver",["require"],function(){function e(e,i,o){function r(e,t){var i=e.importance,n=t.importance;return i>n?-1:n>i?1:0}for(var s=4,l=0;l<e.length;l++){for(var h=0;h<e[l].data.length;h++){null==e[l].data[h].weight&&(e[l].data[h].weight=1);for(var m=0,V=0;V<e[l].data[h].evolution.length;V++)m+=e[l].data[h].evolution[V].valueScale;e[l].data[h].importance=m*e[l].data[h].weight}e[l].data.sort(r)}for(var l=0;l<e.length;l++){null==e[l].weight&&(e[l].weight=1);for(var m=0,h=0;h<e[l].data.length;h++)m+=e[l].data[h].weight;e[l].importance=m*e[l].weight}e.sort(r);for(var U=Number.MAX_VALUE,d=0,l=0;l<e.length;l++)for(var h=0;h<e[l].data.length;h++)for(var V=0;V<e[l].data[h].evolution.length;V++){var p=e[l].data[h].evolution[V].timeScale;U=Math.min(U,p),d=Math.max(d,p)}U=~~U,d=~~d;for(var c=function(){var e=d-U+1+~~i;if(0>=e)return[0];for(var t=[];e--;)t.push(0);return t}(),u=c.slice(0),y=[],g=0,b=0,l=0;l<e.length;l++)for(var h=0;h<e[l].data.length;h++){var f=e[l].data[h];f.time=[],f.value=[];for(var k,x=0,V=0;V<e[l].data[h].evolution.length;V++)k=e[l].data[h].evolution[V],f.time.push(k.timeScale),f.value.push(k.valueScale),x=Math.max(x,k.valueScale);n(f,i,U),f.y=a(u,f,function(e,t){return e.ypx[t]}),f._offset=a(c,f,function(){return s}),g=Math.max(g,f.y+x),b=Math.max(b,f._offset),y.push(f)}t(y,o,g,b)}function t(e,t,i,n){for(var a=t.height,o=n/a>.5?.5:1,r=t.y,s=(t.height-n)/i,l=0,h=e.length;h>l;l++){var m=e[l];m.y=r+s*m.y+m._offset*o,delete m.time,delete m.value,delete m.xpx,delete m.ypx,delete m._offset;for(var V=m.evolution,U=0,d=V.length;d>U;U++)V[U].valueScale*=s}}function i(e,t,i,n){if(e===i)throw new Error("x0 is equal with x1!!!");if(t===n)return function(){return t};var a=(t-n)/(e-i),o=(n*e-t*i)/(e-i);return function(e){return a*e+o}}function n(e,t,n){var a=~~t,o=e.time.length;e.xpx=[],e.ypx=[];for(var r,s=0,l=0,h=0,m=0,V=0;o>s;s++){l=~~e.time[s],m=e.value[s]/2,s===o-1?(h=l+a,V=0):(h=~~e.time[s+1],V=e.value[s+1]/2),r=i(l,m,h,V);for(var U=l;h>U;U++)e.xpx.push(U-n),e.ypx.push(r(U))}e.xpx.push(h-n),e.ypx.push(V)}function a(e,t,i){for(var n,a=0,o=t.xpx.length,r=0;o>r;r++)n=i(t,r),a=Math.max(a,n+e[t.xpx[r]]);for(r=0;o>r;r++)n=i(t,r),e[t.xpx[r]]=a+n;return a}return e}),i("echarts/chart/venn",["require","./base","zrender/shape/Text","zrender/shape/Circle","zrender/shape/Path","../config","../util/ecData","zrender/tool/util","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Circle"),o=e("zrender/shape/Path"),r=e("../config");r.venn={zlevel:0,z:1,calculable:!1};var s=e("../util/ecData"),l=e("zrender/tool/util");return t.prototype={type:r.CHART_TYPE_VENN,_buildShape:function(){this.selectedMap={},this._symbol=this.option.symbolList,this._queryTarget,this._dropBoxList=[],this._vennDataCounter=0;for(var e=this.series,t=this.component.legend,i=0;i<e.length;i++)if(e[i].type===r.CHART_TYPE_VENN){e[i]=this.reformOption(e[i]);var n=e[i].name||"";if(this.selectedMap[n]=t?t.isSelected(n):!0,!this.selectedMap[n])continue;this._buildVenn(i)}this.addShapeList()},_buildVenn:function(e){var t,i,n=this.series[e],a=n.data;a[0].value>a[1].value?(t=this.zr.getHeight()/3,i=t*Math.sqrt(a[1].value)/Math.sqrt(a[0].value)):(i=this.zr.getHeight()/3,t=i*Math.sqrt(a[0].value)/Math.sqrt(a[1].value));var o=this.zr.getWidth()/2-t,r=(t+i)/2*Math.sqrt(a[2].value)/Math.sqrt((a[0].value+a[1].value)/2),s=t+i;0!==a[2].value&&(s=this._getCoincideLength(a[0].value,a[1].value,a[2].value,t,i,r,Math.abs(t-i),t+i));var l=o+s,h=this.zr.getHeight()/2;if(this._buildItem(e,0,a[0],o,h,t),this._buildItem(e,1,a[1],l,h,i),0!==a[2].value&&a[2].value!==a[0].value&&a[2].value!==a[1].value){var m=(t*t-i*i)/(2*s)+s/2,V=s/2-(t*t-i*i)/(2*s),U=Math.sqrt(t*t-m*m),d=0,p=0;a[0].value>a[1].value&&o+m>l&&(p=1),a[0].value<a[1].value&&o+V>l&&(d=1),this._buildCoincideItem(e,2,a[2],o+m,h-U,h+U,t,i,d,p)}},_getCoincideLength:function(e,t,i,n,a,o,r,s){var l=(n*n-a*a)/(2*o)+o/2,h=o/2-(n*n-a*a)/(2*o),m=Math.acos(l/n),V=Math.acos(h/a),U=n*n*Math.PI,d=m*n*n-l*n*Math.sin(m)+V*a*a-h*a*Math.sin(V),p=d/U,c=i/e,u=Math.abs(p/c);return u>.999&&1.001>u?o:.999>=u?(s=o,o=(o+r)/2,this._getCoincideLength(e,t,i,n,a,o,r,s)):(r=o,o=(o+s)/2,this._getCoincideLength(e,t,i,n,a,o,r,s))},_buildItem:function(e,t,i,n,a,o){var r=this.series,l=r[e],h=this.getCircle(e,t,i,n,a,o);if(s.pack(h,l,e,i,t,i.name),this.shapeList.push(h),l.itemStyle.normal.label.show){var m=this.getLabel(e,t,i,n,a,o);s.pack(m,l,e,l.data[t],t,l.data[t].name),this.shapeList.push(m)}},_buildCoincideItem:function(e,t,i,n,a,r,l,h,m,V){var U=this.series,d=U[e],p=[i,d],c=this.deepMerge(p,"itemStyle.normal")||{},u=this.deepMerge(p,"itemStyle.emphasis")||{},y=c.color||this.zr.getColor(t),g=u.color||this.zr.getColor(t),b="M"+n+","+a+"A"+l+","+l+",0,"+m+",1,"+n+","+r+"A"+h+","+h+",0,"+V+",1,"+n+","+a,f={color:y,path:b},k={zlevel:d.zlevel,z:d.z,style:f,highlightStyle:{color:g,lineWidth:u.borderWidth,strokeColor:u.borderColor}};k=new o(k),k.buildPathArray&&(k.style.pathArray=k.buildPathArray(f.path)),s.pack(k,U[e],0,i,t,i.name),this.shapeList.push(k)},getCircle:function(e,t,i,n,o,r){var s=this.series[e],l=[i,s],h=this.deepMerge(l,"itemStyle.normal")||{},m=this.deepMerge(l,"itemStyle.emphasis")||{},V=h.color||this.zr.getColor(t),U=m.color||this.zr.getColor(t),d={zlevel:s.zlevel,z:s.z,clickable:!0,style:{x:n,y:o,r:r,brushType:"fill",opacity:1,color:V},highlightStyle:{color:U,lineWidth:m.borderWidth,strokeColor:m.borderColor}};return this.deepQuery([i,s,this.option],"calculable")&&(this.setCalculable(d),d.draggable=!0),new a(d)},getLabel:function(e,t,i,a,o,r){var s=this.series[e],l=s.itemStyle,h=[i,s],m=this.deepMerge(h,"itemStyle.normal")||{},V="normal",U=l[V].label,d=U.textStyle||{},p=this.getLabelText(t,i,V),c=this.getFont(d),u=m.color||this.zr.getColor(t),y=d.fontSize||12,g={zlevel:s.zlevel,z:s.z,style:{x:a,y:o-r-y,color:d.color||u,text:p,textFont:c,textAlign:"center"}};return new n(g)},getLabelText:function(e,t,i){var n=this.series,a=n[0],o=this.deepQuery([t,a],"itemStyle."+i+".label.formatter");return o?"function"==typeof o?o(a.name,t.name,t.value):"string"==typeof o?(o=o.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}"),o=o.replace("{a0}",a.name).replace("{b0}",t.name).replace("{c0}",t.value)):void 0:t.name},refresh:function(e){e&&(this.option=e,this.series=e.series),this._buildShape()}},l.inherits(t,i),e("../chart").define("venn",t),t}),i("echarts/chart/treemap",["require","./base","zrender/tool/area","zrender/shape/Rectangle","zrender/shape/Text","zrender/shape/Line","../layout/TreeMap","../data/Tree","../config","../util/ecData","zrender/config","zrender/tool/event","zrender/tool/util","zrender/tool/color","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a);var r=this;r._onclick=function(e){return r.__onclick(e)},r.zr.on(V.EVENT.CLICK,r._onclick)}var i=e("./base"),n=e("zrender/tool/area"),a=e("zrender/shape/Rectangle"),o=e("zrender/shape/Text"),r=e("zrender/shape/Line"),s=e("../layout/TreeMap"),l=e("../data/Tree"),h=e("../config");h.treemap={zlevel:0,z:1,calculable:!1,clickable:!0,center:["50%","50%"],size:["80%","80%"],root:"",itemStyle:{normal:{label:{
-show:!0,x:5,y:12,textStyle:{align:"left",color:"#000",fontFamily:"Arial",fontSize:13,fontStyle:"normal",fontWeight:"normal"}},breadcrumb:{show:!0,textStyle:{}},borderWidth:1,borderColor:"#ccc",childBorderWidth:1,childBorderColor:"#ccc"},emphasis:{}}};var m=e("../util/ecData"),V=e("zrender/config"),U=(e("zrender/tool/event"),e("zrender/tool/util")),d=e("zrender/tool/color");return t.prototype={type:h.CHART_TYPE_TREEMAP,refresh:function(e){this.clear(),e&&(this.option=e,this.series=this.option.series),this._treesMap={};for(var t=this.series,i=this.component.legend,n=0;n<t.length;n++)if(t[n].type===h.CHART_TYPE_TREEMAP){t[n]=this.reformOption(t[n]);var a=t[n].name||"";if(this.selectedMap[a]=i?i.isSelected(a):!0,!this.selectedMap[a])continue;this._buildSeries(t[n],n)}},_buildSeries:function(e,t){var i=l.fromOptionData(e.name,e.data);this._treesMap[t]=i;var n=e.root&&i.getNodeById(e.root)||i.root;this._buildTreemap(n,t)},_buildTreemap:function(e,t){for(var i=this.shapeList,n=0;n<i.length;){var a=i[n];m.get(a,"seriesIndex")===t?(this.zr.delShape(i[n]),i.splice(n,1)):n++}for(var o=i.length,r=this.series[t],l=r.itemStyle,h=this.parsePercent(r.size[0],this.zr.getWidth())||400,V=this.parsePercent(r.size[1],this.zr.getHeight())||500,U=this.parseCenter(this.zr,r.center),d=U[0]-.5*h,p=U[1]-.5*V,c=h*V,u=0,y=[],g=e.children,n=0;n<g.length;n++)u+=g[n].data.value;for(var b=0;b<g.length;b++)y.push(g[b].data.value*c/u);for(var f=new s({x:d,y:p,width:h,height:V}),k=f.run(y),x=0;x<k.length;x++){var _=g[x].data,L=k[x],W=[_.itemStyle,l],X=this.deepMerge(W);X.normal.color||(X.normal.color=this.zr.getColor(x)),X.emphasis.color||(X.emphasis.color=X.normal.color),this._buildItem(_,X,L,t,x),_.children&&this._buildChildrenTreemap(_.children,X,L,t)}this.query(r,"itemStyle.normal.breadcrumb.show")&&this._buildBreadcrumb(e,t,d,p+V);for(var n=o;n<i.length;n++)this.zr.addShape(i[n])},_buildItem:function(e,t,i,n,a){var o=this.series,r=this.getRectangle(e,t,i);m.pack(r,o[n],n,e,a,e.name),this.shapeList.push(r)},getRectangle:function(e,t,i){var n=t.emphasis,o=t.normal,r=this.getLabel(t,i,e.name,e.value),s=this.option.hoverable,l={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:s,clickable:!0,style:U.merge({x:i.x,y:i.y,width:i.width,height:i.height,brushType:"both",color:o.color,lineWidth:o.borderWidth,strokeColor:o.borderColor},r.style,!0),highlightStyle:U.merge({color:n.color,lineWidth:n.borderWidth,strokeColor:n.borderColor},r.highlightStyle,!0)};return new a(l)},getLabel:function(e,t,i,a){var o=e.normal.label.textStyle,r=[e.emphasis.label.textStyle,o],s=this.deepMerge(r),l=e.normal.label.formatter,h=this.getLabelText(i,a,l),m=this.getFont(o),V=n.getTextWidth(h,m),U=n.getTextHeight(h,m),d=this.deepQuery([e.emphasis,e.normal],"label.formatter"),p=this.getLabelText(i,a,d),c=this.getFont(s),u=n.getTextWidth(h,c),y=n.getTextHeight(h,c);e.normal.label.show?(e.normal.label.x+V>t.width||e.normal.label.y+U>t.height)&&(h=""):h="",e.emphasis.label.show?(s.x+u>t.width||s.y+y>t.height)&&(p=""):p="";var g={style:{textX:t.x+e.normal.label.x,textY:t.y+e.normal.label.y,text:h,textPosition:"specific",textColor:o.color,textFont:m},highlightStyle:{textX:t.x+e.emphasis.label.x,textY:t.y+e.emphasis.label.y,text:p,textColor:s.color,textPosition:"specific"}};return g},getLabelText:function(e,t,i){return i?"function"==typeof i?i.call(this.myChart,e,t):"string"==typeof i?(i=i.replace("{b}","{b0}").replace("{c}","{c0}"),i=i.replace("{b0}",e).replace("{c0}",t)):void 0:e},_buildChildrenTreemap:function(e,t,i,n){for(var a=i.width*i.height,o=0,r=[],l=0;l<e.length;l++)o+=e[l].value;for(var h=0;h<e.length;h++)r.push(e[h].value*a/o);for(var V=new s({x:i.x,y:i.y,width:i.width,height:i.height}),U=V.run(r),d=t.normal.childBorderWidth,p=t.normal.childBorderColor,c=0;c<U.length;c++){var u=U[c],y=[];i.y.toFixed(2)!==u.y.toFixed(2)&&y.push(this._getLine(u.x,u.y,u.x+u.width,u.y,d,p)),i.x.toFixed(2)!==u.x.toFixed(2)&&y.push(this._getLine(u.x,u.y,u.x,u.y+u.height,d,p)),(i.y+i.height).toFixed(2)!==(u.y+u.height).toFixed(2)&&y.push(this._getLine(u.x,u.y+u.height,u.x+u.width,u.y+u.height,d,p)),(i.x+i.width).toFixed(2)!==(u.x+u.width).toFixed(2)&&y.push(this._getLine(u.x+u.width,u.y,u.x+u.width,u.y+u.height,d,p));for(var g=0;g<y.length;g++)m.set(y[g],"seriesIndex",n),this.shapeList.push(y[g])}},_getLine:function(e,t,i,n,a,o){var s={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:e,yStart:t,xEnd:i,yEnd:n,lineWidth:a,strokeColor:o}};return new r(s)},_buildBreadcrumb:function(e,t,i,n){for(var a=[],r=e;r;)a.unshift(r.data.name),r=r.parent;for(var s=this.series[t],l=this.query(s,"itemStyle.normal.breadcrumb.textStyle")||{},h=this.query(s,"itemStyle.emphasis.breadcrumb.textStyle")||{},V={y:n+10,textBaseline:"top",textAlign:"left",color:l.color,textFont:this.getFont(l)},p={brushType:"fill",color:h.color||d.lift(l.color,-.3),textFont:this.getFont(h)},c=0;c<a.length;c++){var u=new o({zlevel:this.getZlevelBase(),z:this.getZBase(),style:U.merge({x:i,text:a[c]+(a.length-1-c?" > ":"")},V),clickable:!0,highlightStyle:p});m.set(u,"seriesIndex",t),m.set(u,"name",a[c]),i+=u.getRect(u.style).width,this.shapeList.push(u)}},__onclick:function(e){var t=e.target;if(t){var i=m.get(t,"seriesIndex"),n=m.get(t,"name"),a=this._treesMap[i],o=a.getNodeById(n);o&&o.children.length&&this._buildTreemap(o,i)}}},U.inherits(t,i),e("../chart").define("treemap",t),t}),i("echarts/layout/TreeMap",["require"],function(){function e(e){({x:e.x,y:e.y,width:e.width,height:e.height});this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height}return e.prototype.run=function(e){var t=[];return this._squarify(e,{x:this.x,y:this.y,width:this.width,height:this.height},t),t},e.prototype._squarify=function(e,t,i){var n="VERTICAL",a=t.width,o=t.height;t.width<t.height&&(n="HORIZONTAL",a=t.height,o=t.width);for(var r=this._getShapeListInAbstractRow(e,a,o),s=0;s<r.length;s++){r[s].x=0,r[s].y=0;for(var l=0;s>l;l++)r[s].y+=r[l].height}var h={};if("VERTICAL"==n){for(var m=0;m<r.length;m++)i.push({x:r[m].x+t.x,y:r[m].y+t.y,width:r[m].width,height:r[m].height});h={x:r[0].width+t.x,y:t.y,width:t.width-r[0].width,height:t.height}}else{for(var V=0;V<r.length;V++)i.push({x:r[V].y+t.x,y:r[V].x+t.y,width:r[V].height,height:r[V].width});h={x:t.x,y:t.y+r[0].width,width:t.width,height:t.height-r[0].width}}var U=e.slice(r.length);0!==U.length&&this._squarify(U,h,i)},e.prototype._getShapeListInAbstractRow=function(e,t,i){if(1===e.length)return[{width:t,height:i}];for(var n=1;n<e.length;n++){var a=this._placeFixedNumberRectangles(e.slice(0,n),t,i),o=this._placeFixedNumberRectangles(e.slice(0,n+1),t,i);if(this._isFirstBetter(a,o))return a}},e.prototype._placeFixedNumberRectangles=function(e,t,i){for(var n=e.length,a=[],o=0,r=0;r<e.length;r++)o+=e[r];for(var s=o/i,l=0;n>l;l++){var h=i*e[l]/o;a.push({width:s,height:h})}return a},e.prototype._isFirstBetter=function(e,t){var i=e[0].height/e[0].width;i=i>1?1/i:i;var n=t[0].height/t[0].width;return n=n>1?1/n:n,Math.abs(i-1)<=Math.abs(n-1)?!0:!1},e}),i("echarts/data/Tree",["require","zrender/tool/util"],function(e){function t(e,t){this.id=e,this.depth=0,this.height=0,this.children=[],this.parent=null,this.data=t||null}function i(e){this.root=new t(e)}var n=e("zrender/tool/util");return t.prototype.add=function(e){var t=this.children;e.parent!==this&&(t.push(e),e.parent=this)},t.prototype.remove=function(e){var t=this.children,i=n.indexOf(t,e);i>=0&&(t.splice(i,1),e.parent=null)},t.prototype.traverse=function(e,t){e.call(t,this);for(var i=0;i<this.children.length;i++)this.children[i].traverse(e,t)},t.prototype.updateDepthAndHeight=function(e){var t=0;this.depth=e;for(var i=0;i<this.children.length;i++){var n=this.children[i];n.updateDepthAndHeight(e+1),n.height>t&&(t=n.height)}this.height=t+1},t.prototype.getNodeById=function(e){if(this.id===e)return this;for(var t=0;t<this.children.length;t++){var i=this.children[t].getNodeById(e);if(i)return i}},i.prototype.traverse=function(e,t){this.root.traverse(e,t)},i.prototype.getSubTree=function(e){var t=this.getNodeById(e);if(t){var n=new i(t.id);return n.root=t,n}},i.prototype.getNodeById=function(e){return this.root.getNodeById(e)},i.fromOptionData=function(e,n){function a(e,i){var n=new t(e.name,e);i.add(n);var o=e.children;if(o)for(var r=0;r<o.length;r++)a(o[r],n)}var o=new i(e),r=o.root;r.data={name:e,children:n};for(var s=0;s<n.length;s++)a(n[s],r);return o.root.updateDepthAndHeight(0),o},i.fromGraph=function(e){function n(t){for(var i=e.getNodeById(t.id),a=0;a<i.outEdges.length;a++){var r=i.outEdges[a],s=o[r.node2.id];t.children.push(s),n(s)}}for(var a={},o={},r=0;r<e.nodes.length;r++){var s,l=e.nodes[r];0===l.inDegree()?(a[l.id]=new i(l.id),s=a[l.id].root):s=new t(l.id),s.data=l.data,o[l.id]=s}var h=[];for(var m in a)n(a[m].root),a[m].root.updateDepthAndHeight(0),h.push(a[m]);return h},i}),i("echarts/chart/tree",["require","./base","../util/shape/Icon","zrender/shape/Image","zrender/shape/Line","zrender/shape/BezierCurve","../layout/Tree","../data/Tree","../config","../util/ecData","zrender/config","zrender/tool/event","zrender/tool/util","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=.618,a=e("../util/shape/Icon"),o=e("zrender/shape/Image"),r=e("zrender/shape/Line"),s=e("zrender/shape/BezierCurve"),l=e("../layout/Tree"),h=e("../data/Tree"),m=e("../config");m.tree={zlevel:1,z:2,calculable:!1,clickable:!0,rootLocation:{},orient:"vertical",symbol:"circle",symbolSize:20,nodePadding:30,layerPadding:100,itemStyle:{normal:{label:{show:!0},lineStyle:{width:1,color:"#777",type:"curve"}},emphasis:{}}};var V=e("../util/ecData"),U=(e("zrender/config"),e("zrender/tool/event"),e("zrender/tool/util"));return t.prototype={type:m.CHART_TYPE_TREE,_buildShape:function(e,t){var i=e.data[0];this.tree=h.fromOptionData(i.name,i.children),this.tree.root.data=i,this._setTreeShape(e),this.tree.traverse(function(i){this._buildItem(i,e,t),i.children.length>0&&this._buildLink(i,e)},this);var n=e.roam===!0||"move"===e.roam,a=e.roam===!0||"scale"===e.roam;this.zr.modLayer(this.getZlevelBase(),{panable:n,zoomable:a}),(this.query("markPoint.effect.show")||this.query("markLine.effect.show"))&&this.zr.modLayer(m.EFFECT_ZLEVEL,{panable:n,zoomable:a}),this.addShapeList()},_buildItem:function(e,t,i){var n=[e.data,t],r=this.deepQuery(n,"symbol"),s=this.deepMerge(n,"itemStyle.normal")||{},l=this.deepMerge(n,"itemStyle.emphasis")||{},h=s.color||this.zr.getColor(),m=l.color||this.zr.getColor(),U=-e.layout.angle||0;e.id===this.tree.root.id&&(U=0);var d="right";Math.abs(U)>=Math.PI/2&&Math.abs(U)<3*Math.PI/2&&(U+=Math.PI,d="left");var p=[U,e.layout.position[0],e.layout.position[1]],c=new a({zlevel:this.getZlevelBase(),z:this.getZBase()+1,rotation:p,clickable:this.deepQuery(n,"clickable"),style:{x:e.layout.position[0]-.5*e.layout.width,y:e.layout.position[1]-.5*e.layout.height,width:e.layout.width,height:e.layout.height,iconType:r,color:h,brushType:"both",lineWidth:s.borderWidth,strokeColor:s.borderColor},highlightStyle:{color:m,lineWidth:l.borderWidth,strokeColor:l.borderColor}});c.style.iconType.match("image")&&(c.style.image=c.style.iconType.replace(new RegExp("^image:\\/\\/"),""),c=new o({rotation:p,style:c.style,highlightStyle:c.highlightStyle,clickable:c.clickable,zlevel:this.getZlevelBase(),z:this.getZBase()})),this.deepQuery(n,"itemStyle.normal.label.show")&&(c.style.text=null==e.data.label?e.id:e.data.label,c.style.textPosition=this.deepQuery(n,"itemStyle.normal.label.position"),"radial"===t.orient&&"inside"!==c.style.textPosition&&(c.style.textPosition=d),c.style.textColor=this.deepQuery(n,"itemStyle.normal.label.textStyle.color"),c.style.textFont=this.getFont(this.deepQuery(n,"itemStyle.normal.label.textStyle")||{})),this.deepQuery(n,"itemStyle.emphasis.label.show")&&(c.highlightStyle.textPosition=this.deepQuery(n,"itemStyle.emphasis.label.position"),c.highlightStyle.textColor=this.deepQuery(n,"itemStyle.emphasis.label.textStyle.color"),c.highlightStyle.textFont=this.getFont(this.deepQuery(n,"itemStyle.emphasis.label.textStyle")||{})),V.pack(c,t,i,e.data,0,e.id),this.shapeList.push(c)},_buildLink:function(e,t){var i=t.itemStyle.normal.lineStyle;if("broken"===i.type)return void this._buildBrokenLine(e,i,t);for(var n=0;n<e.children.length;n++){var a=e.layout.position[0],o=e.layout.position[1],r=e.children[n].layout.position[0],s=e.children[n].layout.position[1];switch(i.type){case"curve":this._buildBezierCurve(e,e.children[n],i,t);break;case"broken":break;default:var l=this._getLine(a,o,r,s,i);this.shapeList.push(l)}}},_buildBrokenLine:function(e,t,i){var a=U.clone(t);a.type="solid";var o=[],r=e.layout.position[0],s=e.layout.position[1],l=i.orient,h=e.children[0].layout.position[1],m=r,V=s+(h-s)*(1-n),d=e.children[0].layout.position[0],p=V,c=e.children[e.children.length-1].layout.position[0],u=V;if("horizontal"===l){var y=e.children[0].layout.position[0];m=r+(y-r)*(1-n),V=s,d=m,p=e.children[0].layout.position[1],c=m,u=e.children[e.children.length-1].layout.position[1]}o.push(this._getLine(r,s,m,V,a)),o.push(this._getLine(d,p,c,u,a));for(var g=0;g<e.children.length;g++)y=e.children[g].layout.position[0],h=e.children[g].layout.position[1],"horizontal"===l?p=h:d=y,o.push(this._getLine(d,p,y,h,a));this.shapeList=this.shapeList.concat(o)},_getLine:function(e,t,i,n,a){return e===i&&(e=i=this.subPixelOptimize(e,a.width)),t===n&&(t=n=this.subPixelOptimize(t,a.width)),new r({zlevel:this.getZlevelBase(),hoverable:!1,style:U.merge({xStart:e,yStart:t,xEnd:i,yEnd:n,lineType:a.type,strokeColor:a.color,lineWidth:a.width},a,!0)})},_buildBezierCurve:function(e,t,i,a){var o=n,r=a.orient,l=e.layout.position[0],h=e.layout.position[1],m=t.layout.position[0],V=t.layout.position[1],d=l,p=(V-h)*o+h,c=m,u=(V-h)*(1-o)+h;if("horizontal"===r)d=(m-l)*o+l,p=h,c=(m-l)*(1-o)+l,u=V;else if("radial"===r)if(e.id===this.tree.root.id)d=(m-l)*o+l,p=(V-h)*o+h,c=(m-l)*(1-o)+l,u=(V-h)*(1-o)+h;else{var y=e.layout.originPosition[0],g=e.layout.originPosition[1],b=t.layout.originPosition[0],f=t.layout.originPosition[1],k=this.tree.root.layout.position[0],x=this.tree.root.layout.position[1];d=y,p=(f-g)*o+g,c=b,u=(f-g)*(1-o)+g;var _=(d-this.minX)/this.width*Math.PI*2;d=p*Math.cos(_)+k,p=p*Math.sin(_)+x,_=(c-this.minX)/this.width*Math.PI*2,c=u*Math.cos(_)+k,u=u*Math.sin(_)+x}var L=new s({zlevel:this.getZlevelBase(),hoverable:!1,style:U.merge({xStart:l,yStart:h,cpX1:d,cpY1:p,cpX2:c,cpY2:u,xEnd:m,yEnd:V,strokeColor:i.color,lineWidth:i.width},i,!0)});this.shapeList.push(L)},_setTreeShape:function(e){var t=new l({nodePadding:e.nodePadding,layerPadding:e.layerPadding});this.tree.traverse(function(t){var i=[t.data,e],n=this.deepQuery(i,"symbolSize");"number"==typeof n&&(n=[n,n]),t.layout={width:n[0],height:n[1]}},this),t.run(this.tree);var i=e.orient,n=e.rootLocation.x,a=e.rootLocation.y,o=this.zr.getWidth(),r=this.zr.getHeight();n="center"===n?.5*o:this.parsePercent(n,o),a="center"===a?.5*r:this.parsePercent(a,r),a=this.parsePercent(a,r),"horizontal"===i&&(n=isNaN(n)?10:n,a=isNaN(a)?.5*r:a),"radial"===i?(n=isNaN(n)?.5*o:n,a=isNaN(a)?.5*r:a):(n=isNaN(n)?.5*o:n,a=isNaN(a)?10:a);var s=this.tree.root.layout.position[0];if("radial"===i){var h=1/0,m=0,V=0;this.tree.traverse(function(e){m=Math.max(m,e.layout.position[0]),h=Math.min(h,e.layout.position[0]),V=Math.max(V,e.layout.width)}),this.width=m-h+2*V,this.minX=h}this.tree.traverse(function(t){var o,r;if("vertical"===i&&"inverse"===e.direction)o=t.layout.position[0]-s+n,r=a-t.layout.position[1];else if("vertical"===i)o=t.layout.position[0]-s+n,r=t.layout.position[1]+a;else if("horizontal"===i&&"inverse"===e.direction)r=t.layout.position[0]-s+a,o=n-t.layout.position[1];else if("horizontal"===i)r=t.layout.position[0]-s+a,o=t.layout.position[1]+n;else{o=t.layout.position[0],r=t.layout.position[1],t.layout.originPosition=[o,r];var l=r,m=(o-h)/this.width*Math.PI*2;o=l*Math.cos(m)+n,r=l*Math.sin(m)+a,t.layout.angle=m}t.layout.position[0]=o,t.layout.position[1]=r},this)},refresh:function(e){this.clear(),e&&(this.option=e,this.series=this.option.series);for(var t=this.series,i=this.component.legend,n=0;n<t.length;n++)if(t[n].type===m.CHART_TYPE_TREE){t[n]=this.reformOption(t[n]);var a=t[n].name||"";if(this.selectedMap[a]=i?i.isSelected(a):!0,!this.selectedMap[a])continue;this._buildSeries(t[n],n)}},_buildSeries:function(e,t){this._buildShape(e,t)}},U.inherits(t,i),e("../chart").define("tree",t),t}),i("echarts/layout/Tree",["require","zrender/tool/vector"],function(e){function t(e){e=e||{},this.nodePadding=e.nodePadding||30,this.layerPadding=e.layerPadding||100,this._layerOffsets=[],this._layers=[]}var i=e("zrender/tool/vector");return t.prototype.run=function(e){this._layerOffsets.length=0;for(var t=0;t<e.root.height+1;t++)this._layerOffsets[t]=0,this._layers[t]=[];this._updateNodeXPosition(e.root);var i=e.root;this._updateNodeYPosition(i,0,i.layout.height)},t.prototype._updateNodeXPosition=function(e){var t=1/0,n=-(1/0);e.layout.position=e.layout.position||i.create();for(var a=0;a<e.children.length;a++){var o=e.children[a];this._updateNodeXPosition(o);var r=o.layout.position[0];t>r&&(t=r),r>n&&(n=r)}e.layout.position[0]=e.children.length>0?(t+n)/2:0;var s=this._layerOffsets[e.depth]||0;if(s>e.layout.position[0]){var l=s-e.layout.position[0];this._shiftSubtree(e,l);for(var a=e.depth+1;a<e.height+e.depth;a++)this._layerOffsets[a]+=l}this._layerOffsets[e.depth]=e.layout.position[0]+e.layout.width+this.nodePadding,this._layers[e.depth].push(e)},t.prototype._shiftSubtree=function(e,t){e.layout.position[0]+=t;for(var i=0;i<e.children.length;i++)this._shiftSubtree(e.children[i],t)},t.prototype._updateNodeYPosition=function(e,t,i){e.layout.position[1]=t;for(var n=0,a=0;a<e.children.length;a++)n=Math.max(e.children[a].layout.height,n);var o=this.layerPadding;"function"==typeof o&&(o=o(e.depth));for(var a=0;a<e.children.length;a++)this._updateNodeYPosition(e.children[a],t+o+i,n)},t}),i("echarts/chart/wordCloud",["require","./base","zrender/shape/Text","../layout/WordCloud","../component/grid","../component/dataRange","../config","../util/ecData","zrender/tool/util","zrender/tool/color","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("../layout/WordCloud");e("../component/grid"),e("../component/dataRange");var o=e("../config"),r=e("../util/ecData"),s=e("zrender/tool/util"),l=e("zrender/tool/color");return o.wordCloud={zlevel:0,z:2,clickable:!0,center:["50%","50%"],size:["40%","40%"],textRotation:[0,90],textPadding:0,autoSize:{enable:!0,minSize:12},itemStyle:{normal:{textStyle:{fontSize:function(e){return e.value}}}}},t.prototype={type:o.CHART_TYPE_WORDCLOUD,refresh:function(e){e&&(this.option=e,this.series=e.series),this._init()},_init:function(){var e=this.series;this.backupShapeList();for(var t=this.component.legend,i=0;i<e.length;i++)if(e[i].type===o.CHART_TYPE_WORDCLOUD){e[i]=this.reformOption(e[i]);var n=e[i].name||"";if(this.selectedMap[n]=t?t.isSelected(n):!0,!this.selectedMap[n])continue;this.buildMark(i),this._initSerie(e[i])}},_initSerie:function(e){var t=e.itemStyle.normal.textStyle,i=[this.parsePercent(e.size[0],this.zr.getWidth())||200,this.parsePercent(e.size[1],this.zr.getHeight())||200],n=this.parseCenter(this.zr,e.center),o={size:i,wordletype:{autoSizeCal:e.autoSize},center:n,rotate:e.textRotation,padding:e.textPadding,font:t.fontFamily,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,text:function(e){return e.name},data:e.data},r=new a(o),s=this;r.end(function(e){s._buildShapes(e)}),r.start()},_buildShapes:function(e){for(var t=e.length,i=0;t>i;i++)this._buildTextShape(e[i],0,i);this.addShapeList()},_buildTextShape:function(e,t,i){var a=this.series,o=a[t],s=o.name||"",h=o.data[i],m=[h,o],V=this.component.legend,U=V?V.getColor(s):this.zr.getColor(t),d=this.deepMerge(m,"itemStyle.normal")||{},p=this.deepMerge(m,"itemStyle.emphasis")||{},c=this.getItemStyleColor(d.color,t,i,h)||U,u=this.getItemStyleColor(p.color,t,i,h)||("string"==typeof c?l.lift(c,-.2):c),y=new n({zlevel:o.zlevel,z:o.z,hoverable:!0,clickable:this.deepQuery(m,"clickable"),style:{x:0,y:0,text:e.text,color:c,textFont:[e.style,e.weight,e.size+"px",e.font].join(" "),textBaseline:"alphabetic",textAlign:"center"},highlightStyle:{brushType:p.borderWidth?"both":"fill",color:u,lineWidth:p.borderWidth||0,strokeColor:p.borderColor},position:[e.x,e.y],rotation:[-e.rotate/180*Math.PI,0,0]});r.pack(y,o,t,h,i,h.name),this.shapeList.push(y)}},s.inherits(t,i),e("../chart").define("wordCloud",t),t}),i("echarts/layout/WordCloud",["require","../layout/WordCloudRectZero","zrender/tool/util"],function(e){function t(e){this._init(e)}var i=e("../layout/WordCloudRectZero"),n=e("zrender/tool/util");return t.prototype={start:function(){function e(){p.totalArea=r,U.autoSizeCal.enable&&p._autoCalTextSize(m,r,a,o,U.autoSizeCal.minSize),V.timer&&clearInterval(V.timer),V.timer=setInterval(t,0),t()}function t(){for(var e,t=+new Date,i=m.length;+new Date-t<V.timeInterval&&++s<i&&V.timer;)e=m[s],e.x=d[0]>>1,e.y=d[1]>>1,p._cloudSprite(e,m,s),e.hasText&&p._place(n,e,h)&&(l.push(e),e.x-=d[0]>>1,e.y-=d[1]>>1);s>=i&&(p.stop(),p._fixTagPosition(l),V.endcallback(l))}var n=null,a=0,o=0,r=0,s=-1,l=[],h=null,m=this.wordsdata,V=this.defaultOption,U=V.wordletype,d=V.size,p=this,c=new i({type:U.type,width:d[0],height:d[1]});return c.calculate(function(t){n=t.initarr,a=t.maxWit,o=t.maxHit,r=t.area,h=t.imgboard,e()},this),this},_fixTagPosition:function(e){for(var t=this.defaultOption.center,i=0,n=e.length;n>i;i++)e[i].x+=t[0],e[i].y+=t[1]},stop:function(){return this.defaultOption.timer&&(clearInterval(this.defaultOption.timer),this.defaultOption.timer=null),this},end:function(e){return e&&(this.defaultOption.endcallback=e),this},_init:function(e){this.defaultOption={},this._initProperty(e),this._initMethod(e),this._initCanvas(),this._initData(e.data)},_initData:function(e){var t=this,i=t.defaultOption;this.wordsdata=e.map(function(e,n){return e.text=i.text.call(t,e,n),e.font=i.font.call(t,e,n),e.style=i.fontStyle.call(t,e,n),e.weight=i.fontWeight.call(t,e,n),e.rotate=i.rotate.call(t,e,n),e.size=~~i.fontSize.call(t,e,n),e.padding=i.padding.call(t,e,n),e}).sort(function(e,t){return t.value-e.value})},_initMethod:function(e){function t(e){return e.name}function i(){return"sans-serif"}function n(){return"normal"}function a(e){return e.value}function o(){return 0}function r(e){return function(){return e[Math.round(Math.random()*(e.length-1))]}}function s(){return 0}function l(e){var t=e[0]/e[1];return function(e){return[t*(e*=.1)*Math.cos(e),e*Math.sin(e)]}}function h(e){var t=4,i=t*e[0]/e[1],n=0,a=0;return function(e){var o=0>e?-1:1;switch(Math.sqrt(1+4*o*e)-o&3){case 0:n+=i;break;case 1:a+=t;break;case 2:n-=i;break;default:a-=t}return[n,a]}}function m(e){return"function"==typeof e?e:function(){return e}}var V=this.defaultOption;V.text=e.text?m(e.text):t,V.font=e.font?m(e.font):i,V.fontSize=e.fontSize?m(e.fontSize):a,V.fontStyle=e.fontStyle?m(e.fontStyle):n,V.fontWeight=e.fontWeight?m(e.fontWeight):n,V.rotate=e.rotate?r(e.rotate):o,V.padding=e.padding?m(e.padding):s,V.center=e.center,V.spiral=l,V.endcallback=function(){},V.rectangularSpiral=h,V.archimedeanSpiral=l},_initProperty:function(e){var t=this.defaultOption;t.size=e.size||[256,256],t.wordletype=e.wordletype,t.words=e.words||[],t.timeInterval=1/0,t.timer=null,t.spirals={archimedean:t.archimedeanSpiral,rectangular:t.rectangularSpiral},n.merge(t,{size:[256,256],wordletype:{type:"RECT",areaPresent:.058,autoSizeCal:{enable:!0,minSize:12}}})},_initCanvas:function(){var e,t=Math.PI/180,i=64,n=2048,a=1;"undefined"!=typeof document?(e=document.createElement("canvas"),e.width=1,e.height=1,a=Math.sqrt(e.getContext("2d").getImageData(0,0,1,1).data.length>>2),e.width=(i<<5)/a,e.height=n/a):e=new Canvas(i<<5,n);var o=e.getContext("2d");o.fillStyle=o.strokeStyle="red",o.textAlign="center",this.defaultOption.c=o,this.defaultOption.cw=i,this.defaultOption.ch=n,this.defaultOption.ratio=a,this.defaultOption.cloudRadians=t},_cloudSprite:function(e,t,i){if(!e.sprite){var n=this.defaultOption.cw,a=this.defaultOption.ch,o=this.defaultOption.c,r=this.defaultOption.ratio,s=this.defaultOption.cloudRadians;o.clearRect(0,0,(n<<5)/r,a/r);var l=0,h=0,m=0,V=t.length;for(--i;++i<V;){e=t[i],o.save(),o.font=e.style+" "+e.weight+" "+~~((e.size+1)/r)+"px "+e.font;var U=o.measureText(e.text+"m").width*r,d=e.size<<1;if(e.rotate){var p=Math.sin(e.rotate*s),c=Math.cos(e.rotate*s),u=U*c,y=U*p,g=d*c,b=d*p;U=Math.max(Math.abs(u+b),Math.abs(u-b))+31>>5<<5,d=~~Math.max(Math.abs(y+g),Math.abs(y-g))}else U=U+31>>5<<5;if(d>m&&(m=d),l+U>=n<<5&&(l=0,h+=m,m=0),h+d>=a)break;o.translate((l+(U>>1))/r,(h+(d>>1))/r),e.rotate&&o.rotate(e.rotate*s),o.fillText(e.text,0,0),e.padding&&(o.lineWidth=2*e.padding,o.strokeText(e.text,0,0)),o.restore(),e.width=U,e.height=d,e.xoff=l,e.yoff=h,e.x1=U>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,l+=U}for(var f=o.getImageData(0,0,(n<<5)/r,a/r).data,k=[];--i>=0;)if(e=t[i],e.hasText){for(var U=e.width,x=U>>5,d=e.y1-e.y0,_=0;d*x>_;_++)k[_]=0;if(l=e.xoff,null==l)return;h=e.yoff;for(var L=0,W=-1,X=0;d>X;X++){for(var _=0;U>_;_++){var v=x*X+(_>>5),w=f[(h+X)*(n<<5)+(l+_)<<2]?1<<31-_%32:0;k[v]|=w,L|=w}L?W=X:(e.y0++,d--,X--,h++)}e.y1=e.y0+W,e.sprite=k.slice(0,(e.y1-e.y0)*x)}}},_place:function(e,t,i){function n(e,t,i){i>>=5;for(var n,a=e.sprite,o=e.width>>5,r=e.x-(o<<4),s=127&r,l=32-s,h=e.y1-e.y0,m=(e.y+e.y0)*i+(r>>5),V=0;h>V;V++){n=0;for(var U=0;o>=U;U++)if((n<<l|(o>U?(n=a[V*o+U])>>>s:0))&t[m+U])return!0;m+=i}return!1}function a(e,t){return t.row[e.y]&&t.cloumn[e.x]&&e.x>=t.row[e.y].start&&e.x<=t.row[e.y].end&&e.y>=t.cloumn[e.x].start&&e.y<=t.cloumn[e.x].end}for(var o,r,s,l=this.defaultOption.size,h=([{x:0,y:0},{x:l[0],y:l[1]}],t.x),m=t.y,V=Math.sqrt(l[0]*l[0]+l[1]*l[1]),U=this.defaultOption.spiral(l),d=Math.random()<.5?1:-1,p=-d;(o=U(p+=d))&&(r=~~o[0],s=~~o[1],!(Math.min(r,s)>V));)if(t.x=h+r,t.y=m+s,!(t.x+t.x0<0||t.y+t.y0<0||t.x+t.x1>l[0]||t.y+t.y1>l[1])&&!n(t,e,l[0])&&a(t,i)){for(var c,u=t.sprite,y=t.width>>5,g=l[0]>>5,b=t.x-(y<<4),f=127&b,k=32-f,x=t.y1-t.y0,_=(t.y+t.y0)*g+(b>>5),L=0;x>L;L++){c=0;for(var W=0;y>=W;W++)e[_+W]|=c<<k|(y>W?(c=u[L*y+W])>>>f:0);_+=g}return delete t.sprite,!0}return!1},_autoCalTextSize:function(e,t,i,n,a){function o(e){c.clearRect(0,0,(d<<5)/u,p/u),c.save(),c.font=e.style+" "+e.weight+" "+~~((e.size+1)/u)+"px "+e.font;var t=c.measureText(e.text+"m").width*u,r=e.size<<1;t=t+31>>5<<5,c.restore(),e.aw=t,e.ah=r;var s,l,h;if(e.rotate){var m=Math.sin(e.rotate*y),V=Math.cos(e.rotate*y),g=t*V,b=t*m,f=r*V,k=r*m;l=Math.max(Math.abs(g+k),Math.abs(g-k))+31>>5<<5,h=~~Math.max(Math.abs(b+f),Math.abs(b-f))}return e.size<=U||e.rotate&&t*r<=e.area&&i>=l&&n>=h||t*r<=e.area&&i>=t&&n>=r?void(e.area=t*r):(s=e.rotate&&l>i&&h>n?Math.min(i/l,n/h):t>i||r>n?Math.min(i/t,n/r):Math.sqrt(e.area/(e.aw*e.ah)),e.size=~~(s*e.size),e.size<a?void(e.size=a):o(e))}function r(e,t){for(var i=e.length,n=0;i--;)n+=t(e[i]);return n}for(var s,l,h=r(e,function(e){return e.size}),m=e.length,V=.25,U=a,d=this.defaultOption.cw,p=this.defaultOption.ch,c=this.defaultOption.c,u=this.defaultOption.ratio,y=this.defaultOption.cloudRadians;m--;)s=e[m],l=s.size/h,s.areapre=V?V>l?l:V:l,s.area=t*s.areapre,s.totalarea=t,o(s)}},t}),i("echarts/layout/WordCloudRectZero",["require"],function(){function e(e){this.defaultOption={type:"RECT"},this._init(e)}return e.prototype={RECT:"_calculateRect",_init:function(e){this._initOption(e),this._initCanvas()},_initOption:function(e){for(k in e)this.defaultOption[k]=e[k]},_initCanvas:function(){var e=document.createElement("canvas");e.width=1,e.height=1;var t=Math.sqrt(e.getContext("2d").getImageData(0,0,1,1).data.length>>2);if(e.width=this.defaultOption.width,e.height=this.defaultOption.height,e.getContext)var i=e.getContext("2d");this.canvas=e,this.ctx=i,this.ratio=t},calculate:function(e,t){var i=this.defaultOption.type,n=this[i];this[n].call(this,e,t)},_calculateReturn:function(e,t,i){t.call(i,e)},_calculateRect:function(e,t){var i={},n=this.defaultOption.width>>5<<5,a=this.defaultOption.height;i.initarr=this._rectZeroArray(n*a),i.area=n*a,i.maxHit=a,i.maxWit=n,i.imgboard=this._rectBoard(n,a),this._calculateReturn(i,e,t)},_rectBoard:function(e,t){for(var i=[],n=0;t>n;n++)i.push({y:n,start:0,end:e});for(var a=[],n=0;e>n;n++)a.push({x:n,start:0,end:t});return{row:i,cloumn:a}},_rectZeroArray:function(e){for(var t=[],i=e,n=-1;++n<i;)t[n]=0;return t}},e}),i("echarts/chart/heatmap",["require","./base","../layer/heatmap","../config","../util/ecData","zrender/tool/util","zrender/tool/color","zrender/shape/Image","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("../layer/heatmap"),a=e("../config"),o=(e("../util/ecData"),e("zrender/tool/util")),r=(e("zrender/tool/color"),e("zrender/shape/Image"));return a.heatmap={zlevel:0,z:2,clickable:!0},t.prototype={type:a.CHART_TYPE_HEATMAP,refresh:function(e){this.clear(),e&&(this.option=e,this.series=e.series),this._init()},_init:function(){var e=this.series;this.backupShapeList();for(var t=e.length,i=0;t>i;++i)if(e[i].type===a.CHART_TYPE_HEATMAP){e[i]=this.reformOption(e[i]);var o=new n(e[i]),s=o.getCanvas(e[i].data,this.zr.getWidth(),this.zr.getHeight()),l=new r({position:[0,0],scale:[1,1],hoverable:this.option.hoverable,style:{x:0,y:0,image:s,width:s.width,height:s.height}});this.shapeList.push(l)}this.addShapeList()}},o.inherits(t,i),e("../chart").define("heatmap",t),t});var n=t("zrender");n.tool={color:t("zrender/tool/color"),math:t("zrender/tool/math"),util:t("zrender/tool/util"),vector:t("zrender/tool/vector"),area:t("zrender/tool/area"),event:t("zrender/tool/event")},n.animation={Animation:t("zrender/animation/Animation"),Cip:t("zrender/animation/Clip"),easing:t("zrender/animation/easing")};var a=t("echarts");a.config=t("echarts/config"),a.util={mapData:{params:t("echarts/util/mapData/params")}},t("echarts/chart/line"),t("echarts/chart/bar"),t("echarts/chart/scatter"),t("echarts/chart/k"),t("echarts/chart/pie"),t("echarts/chart/radar"),t("echarts/chart/chord"),t("echarts/chart/force"),t("echarts/chart/map"),t("echarts/chart/gauge"),t("echarts/chart/funnel"),t("echarts/chart/eventRiver"),t("echarts/chart/venn"),t("echarts/chart/treemap"),t("echarts/chart/tree"),t("echarts/chart/wordCloud"),t("echarts/chart/heatmap"),e.echarts=a,e.zrender=n}(window); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/CHANGELOG.md b/uiframe-iui/src/main/resources/webroot/vendor/icheck/CHANGELOG.md
deleted file mode 100644
index 5034b298..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/CHANGELOG.md
+++ /dev/null
@@ -1,51 +0,0 @@
-### Version 1.0.2 - March 03, 2014
-
-* Better HiDPI screens support @ddctd143
-
-### Version 2.0.0 RC - January 23, 2014
-
-* Three ways to set an options: global object (`window.icheck`), data attributes (`<input data-checkedClass="checked"`) and direct JavaScript object (`$(input).icheck({ options })`)
-* Huge performance boost (takes less than 1s to customize 1000 inputs)
-* Minimized number of function calls (some slow jQuery functions are replaced with a faster vanilla alternatives without using any dependencies)
-* AMD module definition support (both for jQuery and Zepto)
-* Unblocked native events - iCheck 2.x doesn't stop your newly or past binded events from being processed
-* Pointer events support - full support for phones and tablets that use Windows OS (such as Lumia, HP tablets, desktops with a touch screen, etc)
-* WebOS and Firefox OS support
-* New methods: `$(input).icheck('data')` to get all the options were used for customization (also stores a current states values - `checked`, `disabled` and `indeterminate`), `$('input').icheck('styler')` to get a wrapper div (that's used for customization)
-* Better handling of the `indeterminate` state
-* Ability to set callbacks in three ways: global object, direct JavaScript object or using bind method (`$(input).on(callback)`)
-* Ability to switch off some of the callbacks when you don't need them (global or per input)
-* Inline styles dropped - iCheck won't add any inline styles to the elements until it's highly needed (`cursor` or `area` option)
-* Fast click support - removes a 300ms click delay on mobile devices without any dependencies (iCheck compatible with the `fastclick` plugin), see the `tap` option
-* Ability to ignore customization for the selected inputs using `init` option (if set to `false`)
-* Optimized event bindings - iCheck binds only a few global events for the all inputs (doesn't increase on elements addition), instead of a couple for the each customized element
-* Doesn't store tons of arbitrary data (event in jQuery or Zepto cache), defines customized elements by specific classnames
-* Extra `ins` tag is dropped (less DOM modifications), iCheck wraps each input with a single `div` and doesn't use any extra markup for the any option
-* Optimized reflows and repaints on init and state changes
-* Better options handling - iCheck will never run a single line of JS to process an options that are off or empty
-* Ability to auto customize the ajax loaded inputs without using any extra code (`autoAjax` option, on by default)
-* Auto inits on domready using the specified selector (`autoInit` option) - searches for `.icheck` by default. Classnames can be changed using the `window.classes` object
-* Memory usage optimization - uses only a few amount of memory (works well on low-memory devices)
-* Betters callbacks architecture - these are fired only after changes are applied to the input
-* Ability to set a mirror classes between the inputs and assigned labels using the `hoverLabelClass`, `focusLabelClass`, `activeLabelClass`, `checkedLabelClass`, `disabledLabelClass` and `indeterminateLabelClass` options (`mirror` option should be set to `true` to make this happen)
-* Fixes some issues of the mobile devices
-* Fixes the issues of the wrapper labels, that loose a click ability in some browsers (if no `for` attribute is set)
-* Some other options and improvements
-* Various bug fixes
-
-Note: extended docs and usage examples will be available later.
-
-### Version 1.0.1 - December 19, 2013
-
-* Added Bower support
-* Added to jQuery plugin registry
-
-### Version 1.0.0 - December 18, 2013
-
-* Added ARIA attributes support (for VoiceOver and others) @myfreeweb
-* Added Amazon Kindle support @skinofstars
-* Fixed clickable links inside labels @LeGaS
-* Fixed lines separation between labels and inputs
-* Merged two versions of the plugin (jQuery and Zepto) into one
-* Fixed demo links
-* Fixed callbacks @PepijnSenders
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/README.md b/uiframe-iui/src/main/resources/webroot/vendor/icheck/README.md
deleted file mode 100644
index daa7483d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/README.md
+++ /dev/null
@@ -1,424 +0,0 @@
-# [iCheck plugin](http://fronteed.com/iCheck/) <sup>[1.0.2](#march-03-2014)</sup>
-#### Highly customizable checkboxes and radio buttons for jQuery and Zepto.
-
-Refer to the [iCheck website](http://fronteed.com/iCheck/) for examples.
-
-**Note: [iCheck v2.0](https://github.com/fronteed/icheck/tree/2.x) is on the way**, it got a huge performance boost, many new options and methods. It's in a release candidate state, so you may try to use it. Feel free to submit an issue if you find something not working.
-
-![Skins](http://fronteed.com/iCheck/examples.png)
-
-
-Features
---------
-
-* **Identical inputs across different browsers and devices** — both [desktop and mobile](#browser-support)
-* **Touch devices support** — iOS, Android, BlackBerry, Windows Phone, Amazon Kindle
-* **Keyboard accessible inputs** — `Tab`, `Spacebar`, `Arrow up/down` and other shortcuts
-* **Customization freedom** — use any HTML and CSS to style inputs (try [6 Retina-ready skins](http://fronteed.com/iCheck/))
-* **jQuery and Zepto** JavaScript libraries support from single file
-* **Screenreader accessible inputs** &mdash; [ARIA](https://developer.mozilla.org/en-US/docs/Accessibility/ARIA) attributes for VoiceOver and others
-* **Lightweight size** — 1 kb gzipped
-
------
-
-* [32 options](#options) to customize checkboxes and radio buttons
-* [11 callbacks](#callbacks) to handle changes
-* [9 methods](#methods) to make changes programmatically
-* Saves changes to original inputs, [works carefully](#initialize) with any selectors
-
-
-How it works
-------------
-
-iCheck works with checkboxes and radio buttons like a constructor. **It wraps each input with a div**, which may be customized by you or using one of the [available skins](http://fronteed.com/iCheck/). You may also place inside that div some HTML code or text using `insert` option.
-
-For this HTML:
-
-```html
-<label>
- <input type="checkbox" name="quux[1]" disabled>
- Foo
-</label>
-
-<label for="baz[1]">Bar</label>
-<input type="radio" name="quux[2]" id="baz[1]" checked>
-
-<label for="baz[2]">Bar</label>
-<input type="radio" name="quux[2]" id="baz[2]">
-```
-
-With default options you'll get nearly this:
-
-```html
-<label>
- <div class="icheckbox disabled">
- <input type="checkbox" name="quux[1]" disabled>
- </div>
- Foo
-</label>
-
-<label for="baz[1]">Bar</label>
-<div class="iradio checked">
- <input type="radio" name="quux[2]" id="baz[1]" checked>
-</div>
-
-<label for="baz[2]">Bar</label>
-<div class="iradio">
- <input type="radio" name="quux[2]" id="baz[2]">
-</div>
-```
-
-**By default, iCheck doesn't provide any CSS styles for wrapper divs** (if you don't use [skins](http://fronteed.com/iCheck/)).
-
-
-Options
--------
-
-These options are default:
-
-```js
-{
- // 'checkbox' or 'radio' to style only checkboxes or radio buttons, both by default
- handle: '',
-
- // base class added to customized checkboxes
- checkboxClass: 'icheckbox',
-
- // base class added to customized radio buttons
- radioClass: 'iradio',
-
- // class added on checked state (input.checked = true)
- checkedClass: 'checked',
-
- // if not empty, used instead of 'checkedClass' option (input type specific)
- checkedCheckboxClass: '',
- checkedRadioClass: '',
-
- // if not empty, added as class name on unchecked state (input.checked = false)
- uncheckedClass: '',
-
- // if not empty, used instead of 'uncheckedClass' option (input type specific)
- uncheckedCheckboxClass: '',
- uncheckedRadioClass: '',
-
- // class added on disabled state (input.disabled = true)
- disabledClass: 'disabled',
-
- // if not empty, used instead of 'disabledClass' option (input type specific)
- disabledCheckboxClass: '',
- disabledRadioClass: '',
-
- // if not empty, added as class name on enabled state (input.disabled = false)
- enabledClass: '',
-
- // if not empty, used instead of 'enabledClass' option (input type specific)
- enabledCheckboxClass: '',
- enabledRadioClass: '',
-
- // class added on indeterminate state (input.indeterminate = true)
- indeterminateClass: 'indeterminate',
-
- // if not empty, used instead of 'indeterminateClass' option (input type specific)
- indeterminateCheckboxClass: '',
- indeterminateRadioClass: '',
-
- // if not empty, added as class name on determinate state (input.indeterminate = false)
- determinateClass: '',
-
- // if not empty, used instead of 'determinateClass' option (input type specific)
- determinateCheckboxClass: '',
- determinateRadioClass: '',
-
- // class added on hover state (pointer is moved onto input)
- hoverClass: 'hover',
-
- // class added on focus state (input has gained focus)
- focusClass: 'focus',
-
- // class added on active state (mouse button is pressed on input)
- activeClass: 'active',
-
- // adds hoverClass to customized input on label hover and labelHoverClass to label on input hover
- labelHover: true,
-
- // class added to label if labelHover set to true
- labelHoverClass: 'hover',
-
- // increase clickable area by given % (negative number to decrease)
- increaseArea: '',
-
- // true to set 'pointer' CSS cursor over enabled inputs and 'default' over disabled
- cursor: false,
-
- // set true to inherit original input's class name
- inheritClass: false,
-
- // if set to true, input's id is prefixed with 'iCheck-' and attached
- inheritID: false,
-
- // set true to activate ARIA support
- aria: false,
-
- // add HTML code or text inside customized input
- insert: ''
-}
-```
-
-There's no need to copy and paste all of them, you can just mention the ones you need:
-
-```js
-$('input').iCheck({
- labelHover: false,
- cursor: true
-});
-```
-
-You can choose any class names and style them as you want.
-
-
-Initialize
-----------
-
-Just include `icheck.js` after [jQuery v1.7+](http://jquery.com) (or [Zepto](http://github.com/madrobby/zepto#zepto-modules) [polyfill, event, data]).
-
-iCheck supports any selectors, but handles only checkboxes and radio buttons:
-
-```js
-// customize all inputs (will search for checkboxes and radio buttons)
-$('input').iCheck();
-
-// handle inputs only inside $('.block')
-$('.block input').iCheck();
-
-// handle only checkboxes inside $('.test')
-$('.test input').iCheck({
- handle: 'checkbox'
-});
-
-// handle .vote class elements (will search inside the element, if it's not an input)
-$('.vote').iCheck();
-
-// you can also change options after inputs are customized
-$('input.some').iCheck({
- // different options
-});
-```
-
-Indeterminate
----------
-
-HTML5 allows specifying [indeterminate](http://css-tricks.com/indeterminate-checkboxes/) ("partially" checked) state for checkboxes. iCheck supports this for both checkboxes and radio buttons.
-
-You can make an input indeterminate through HTML using additional attributes (supported by iCheck). Both do the same job, but `indeterminate="true"` may not work in some browsers (like IE7):
-
-```html
-indeterminate="true"
-<input type="checkbox" indeterminate="true">
-<input type="radio" indeterminate="true">
-
-determinate="false"
-<input type="checkbox" determinate="false">
-<input type="radio" determinate="false">
-```
-
-`indeterminate` and `determinate` [methods](#methods) can be used to toggle indeterminate state.
-
-Callbacks
----------
-
-iCheck provides plenty callbacks, which may be used to handle changes.
-
-<table>
- <thead>
- <tr>
- <th>Callback name</th>
- <th>When used</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>ifClicked</td>
- <td>user clicked on a customized input or an assigned label</td>
- </tr>
- <tr>
- <td>ifChanged</td>
- <td>input's "checked", "disabled" or "indeterminate" state is changed</td>
- </tr>
- <tr>
- <td>ifChecked</td>
- <td>input's state is changed to "checked"</td>
- </tr>
- <tr>
- <td>ifUnchecked</td>
- <td>"checked" state is removed</td>
- </tr>
- <tr>
- <td>ifToggled</td>
- <td>input's "checked" state is changed</td>
- </tr>
- <tr>
- <td>ifDisabled</td>
- <td>input's state is changed to "disabled"</td>
- </tr>
- <tr>
- <td>ifEnabled</td>
- <td>"disabled" state is removed</td>
- </tr>
- <tr>
- <td>ifIndeterminate</td>
- <td>input's state is changed to "indeterminate"</td>
- </tr>
- <tr>
- <td>ifDeterminate</td>
- <td>"indeterminate" state is removed</td>
- </tr>
- <tr>
- <td>ifCreated</td>
- <td>input is just customized</td>
- </tr>
- <tr>
- <td>ifDestroyed</td>
- <td>customization is just removed</td>
- </tr>
- </tbody>
-</table>
-
-Use `on()` method to bind them to inputs:
-
-```js
-$('input').on('ifChecked', function(event){
- alert(event.type + ' callback');
-});
-```
-
-`ifCreated` callback should be binded before plugin init.
-
-
-Methods
--------
-
-These methods can be used to make changes programmatically (any selectors can be used):
-
-```js
-// change input's state to 'checked'
-$('input').iCheck('check');
-
-// remove 'checked' state
-$('input').iCheck('uncheck');
-
-// toggle 'checked' state
-$('input').iCheck('toggle');
-
-// change input's state to 'disabled'
-$('input').iCheck('disable');
-
-// remove 'disabled' state
-$('input').iCheck('enable');
-
-// change input's state to 'indeterminate'
-$('input').iCheck('indeterminate');
-
-// remove 'indeterminate' state
-$('input').iCheck('determinate');
-
-// apply input changes, which were done outside the plugin
-$('input').iCheck('update');
-
-// remove all traces of iCheck
-$('input').iCheck('destroy');
-```
-
-You may also specify some function, that will be executed on each method call:
-
-```js
-$('input').iCheck('check', function(){
- alert('Well done, Sir');
-});
-```
-
-Feel free to fork and submit pull-request or submit an issue if you find something not working.
-
-
-Comparison
-----------
-
-iCheck is created to avoid routine of reinventing the wheel when working with checkboxes and radio buttons. It provides an expected identical result for the huge number of browsers, devices and their versions. Callbacks and methods can be used to easily handle and make changes at customized inputs.
-
-There are some CSS3 ways available to style checkboxes and radio buttons, like [this one](http://webdesign.tutsplus.com/tutorials/htmlcss-tutorials/quick-tip-easy-css3-checkboxes-and-radio-buttons/). You have to know about some of the disadvantages of similar methods:
-
-* inputs are keyboard inaccessible, since `display: none` or `visibility: hidden` used to hide them
-* poor browser support
-* multiple bugs on mobile devices
-* tricky, harder to maintain CSS code
-* JavaScript is still needed to fix specific issues
-
-While CSS3 method is quite limited solution, iCheck is made to be an everyday replacement covering most of the tasks.
-
-
-Browser support
----------------
-
-iCheck is verified to work in Internet Explorer 6+, Firefox 2+, Opera 9+, Google Chrome and Safari browsers. Should also work in many others.
-
-Mobile browsers (like Opera mini, Chrome mobile, Safari mobile, Android browser, Silk and others) are also supported. Tested on iOS (iPad, iPhone, iPod), Android, BlackBerry and Windows Phone devices.
-
-
-Changelog
----------------
-
-### March 03, 2014
-
-* Better HiDPI screens support @ddctd143
-
-### January 23, 2014 ([v2.0 release candidate](https://github.com/fronteed/icheck/tree/2.x))
-
-* Three ways to set an options: global object (`window.icheck`), data attributes (`<input data-checkedClass="checked"`) and direct JavaScript object (`$(input).icheck({ options })`)
-* Huge performance boost (takes less than 1s to customize 1000 inputs)
-* Minimized number of function calls (some slow jQuery functions are replaced with a faster vanilla alternatives without using any dependencies)
-* AMD module definition support (both for jQuery and Zepto)
-* Unblocked native events - iCheck 2.x doesn't stop your newly or past binded events from being processed
-* Pointer events support - full support for phones and tablets that use Windows OS (such as Lumia, HP tablets, desktops with a touch screen, etc)
-* WebOS and Firefox OS support
-* New methods: `$(input).icheck('data')` to get all the options were used for customization (also stores a current states values - `checked`, `disabled` and `indeterminate`), `$('input').icheck('styler')` to get a wrapper div (that's used for customization)
-* Better handling of the `indeterminate` state
-* Ability to set callbacks in three ways: global object, direct JavaScript object or using bind method (`$(input).on(callback)`)
-* Ability to switch off some of the callbacks when you don't need them (global or per input)
-* Inline styles dropped - iCheck won't add any inline styles to the elements until it's highly needed (`cursor` or `area` option)
-* Fast click support - removes a 300ms click delay on mobile devices without any dependencies (iCheck compatible with the `fastclick` plugin), see the `tap` option
-* Ability to ignore customization for the selected inputs using `init` option (if set to `false`)
-* Optimized event bindings - iCheck binds only a few global events for the all inputs (doesn't increase on elements addition), instead of a couple for the each customized element
-* Doesn't store tons of arbitrary data (event in jQuery or Zepto cache), defines customized elements by specific classnames
-* Extra `ins` tag is dropped (less DOM modifications), iCheck wraps each input with a single `div` and doesn't use any extra markup for the any option
-* Optimized reflows and repaints on init and state changes
-* Better options handling - iCheck will never run a single line of JS to process an options that are off or empty
-* Ability to auto customize the ajax loaded inputs without using any extra code (`autoAjax` option, on by default)
-* Auto inits on domready using the specified selector (`autoInit` option) - searches for `.icheck` by default. Classnames can be changed using the `window.classes` object
-* Memory usage optimization - uses only a few amount of memory (works well on low-memory devices)
-* Betters callbacks architecture - these are fired only after changes are applied to the input
-* Ability to set a mirror classes between the inputs and assigned labels using the `hoverLabelClass`, `focusLabelClass`, `activeLabelClass`, `checkedLabelClass`, `disabledLabelClass` and `indeterminateLabelClass` options (`mirror` option should be set to `true` to make this happen)
-* Fixes some issues of the mobile devices
-* Fixes the issues of the wrapper labels, that loose a click ability in some browsers (if no `for` attribute is set)
-* Some other options and improvements
-* Various bug fixes
-
-Note: extended docs and usage examples will be available later.
-
-### December 19, 2013
-
-* Added Bower support
-* Added to jQuery plugin registry
-
-### December 18, 2013
-
-* Added ARIA attributes support (for VoiceOver and others) @myfreeweb
-* Added Amazon Kindle support @skinofstars
-* Fixed clickable links inside labels @LeGaS
-* Fixed lines separation between labels and inputs
-* Merged two versions of the plugin (jQuery and Zepto) into one
-* Fixed demo links
-* Fixed callbacks @PepijnSenders
-
-
-License
--------
-iCheck plugin is released under the [MIT License](http://en.wikipedia.org/wiki/MIT_License). Feel free to use it in personal and commercial projects.
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/bower.json b/uiframe-iui/src/main/resources/webroot/vendor/icheck/bower.json
deleted file mode 100644
index 11fc81b1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/bower.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "name": "iCheck",
- "version": "1.0.2",
- "description": "Highly customizable checkboxes and radio buttons (jQuery & Zepto)",
- "keywords": [
- "icheck",
- "checkbox",
- "radio",
- "input",
- "field",
- "form",
- "custom",
- "replacement",
- "accessibility",
- "skins",
- "ui",
- "checked",
- "disabled",
- "indeterminate"
- ],
- "main": [
- "./icheck.min.js"
- ],
- "dependencies": {
- "jquery": ">=1.7"
- },
- "ignore": [
- ".gitignore",
- "CHANGELOG.md",
- "README.md",
- "demo/"
- ],
- "license": "MIT",
- "authors": [
- {
- "name": "Damir Sultanov",
- "email": "info@fronteed.com",
- "homepage": "http://fronteed.com/"
- }
- ],
- "homepage": "http://fronteed.com/iCheck/"
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/Thumbs.db b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/Thumbs.db
deleted file mode 100644
index fd773ef4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/Thumbs.db
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/banner.jpg b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/banner.jpg
deleted file mode 100644
index 64b8f143..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/banner.jpg
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/custom.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/custom.css
deleted file mode 100644
index e1ed3b17..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/custom.css
+++ /dev/null
@@ -1,261 +0,0 @@
-@import url("normalize.css");
-@font-face{font-family:'MontserratRegular';src:url("./montserrat-regular.eot");src:url("./montserrat-regular.eot?#iefix") format('embedded-opentype'),url("./montserrat-regular.woff") format('woff'),url("./montserrat-regular.ttf") format('truetype'),url("./montserrat-regular.svg#MontserratRegular") format('svg');font-style:normal;font-weight:normal}
-@font-face{font-family:'MontserratBold';src:url("./montserrat-bold.eot");src:url("./montserrat-bold.eot?#iefix") format('embedded-opentype'),url("./montserrat-bold.woff") format('woff'),url("./montserrat-bold.ttf") format('truetype'),url("./montserrat-bold.svg#MontserratBold") format('svg');font-style:normal;font-weight:bold}
-html,body{height:100%}
-body{font:14px/20px 'MontserratRegular',Helvetica,Arial,sans-serif;color:#222;background:#ebe7df url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAFZCAIAAAA96mnzAAACKklEQVR4Xn2VUW7kMAxD+QLf/1x7gv71LNwdKTLhZFtggMCwSVEUPdb3159/v0uSrM8HtGRZuoQk1R69J12o9ixJWvSnVyfLdbNw0XAXWe1fIL8BoqmNGiV/cHc9Gq4NXxLKHhteRyLpA28cl0SLdx0BckSWL4gkPlIVTg1nN9Ys3iyWI5AGDA5xOXB5BJaWmOw6KSLeU6+0P50QshQyEL2im/YMIL60dTSZ3RXenlkiJpMj8XPMAl1FtjMRW19NxzOE5VGWPVGrc7aSJgz1Y9ku57mpYSwn1h0ivFOXxoCKMCXiahbbZNIZR+tkphllPsomipCwb4GMkXTmPfVg40Jt2y4RQM/PqX5JTM4iiTN8Zz1XvbIAEEvoEW+3nxTLL3lB7t7J3WwyI7g5OVxKIeFEH4FIGLC9I+XqvSd4AxJM5O6WTPr54RAxLG44FVrEuz+kFdXyLiuX6kLPVLZL2ISlcHNlBIKm5rR8nEi9wJeA6Y8JZlJOyDiin0K5ag+AXHtALBicXasjIUu9h0STBbCMU+89gMnu/J05MU1QWqdbPMRPIZIzDgsi8Olg5t7wHhUg/pv5RUzO+BHDmczHkAfZWxlSYgNI5Ig5XRoc66dW9L45eHDkbkqCO7RLG5cna/HD7YhZnfINkFo8iNyj5kx6pFrxNGRlfhV2e1Zt5DnGU8T7Tud1ivi8jU8/3Zy88pkn6+zdXiJ7AVSFBZA3VcwDfXtt5UUHS38B35hQVuJip4MAAAAASUVORK5CYII=") repeat-x;*background-image:url("ie/header-line.png")}
-a{color:#222;text-decoration:none;border-bottom:1px solid #bbb;}
-a:hover{color:#000}
-a,.self{-webkit-transition:color .1s;-moz-transition:color .1s;-ms-transition:color .1s;-o-transition:color .1s;transition:color .1s}
-.self{color:#333;border-bottom:1px dotted #aaa;cursor:pointer;}
-.self:hover{color:#000}
-strong{font-family:'MontserratBold',Helvetica,Arial,sans-serif;font-weight:700}
-p{margin:0 0 8px}
-label{cursor:pointer}
-h1,h2,h3,h4{margin:0;font:bold 20px/60px 'MontserratBold',Helvetica,Arial,sans-serif}
-h2{height:60px;text-align:center;text-transform:uppercase}
-h4{font-size:18px;line-height:24px}
-ul{margin:0;padding:0;list-style:none}
-table{width:100%;margin-bottom:21px}
-th,td{padding:11px 20px 12px;vertical-align:top;font-weight:normal;text-align:left;border-bottom:2px solid #e7e5e0;}
-thead th,thead td{background:#f3f2ef}
-th{white-space:nowrap}
-td{width:100%}
-.focus{outline:1px dotted rgba(0,0,0,0.5) !important}
-.clear{position:relative;*zoom:1;}
-.clear:before,.clear:after{content:'';display:table;clear:both}
-.layout{width:930px;margin:0 auto;padding:0 15px}
-.header{padding:115px 0 73px;color:#fff;text-align:center;}
-.header h1,.header strong{letter-spacing:-1px;text-transform:uppercase}
-.header h1{padding-bottom:23px;font-size:22px;line-height:28px}
-.header h3{position:relative;padding:35px 0 17px;font-size:120px;line-height:140px;letter-spacing:-5px;}
-.header h3 span{font-size:30px;line-height:40px;letter-spacing:0;margin-left:-10px;vertical-align:baseline;}
-.header h3:before{content:'';display:inline-block;width:72px;height:64px;margin-right:32px;vertical-align:middle;background:url("icheck.png")}
-.header h3:after{content:'';position:absolute;top:0;left:50%;width:100px;margin-left:-50px;border-top:3px solid #fff}
-.header strong{font:24px/30px 'MontserratRegular',Helvetica,Arial,sans-serif;}
-.header strong a{color:#fff;border-bottom-color:#fff}
-.features{position:relative;font-size:16px;color:#555;background:#fff;}
-.features .self{color:#555;border-bottom-color:#bbb;}
-.features .self:hover{color:#222}
-.features .arrows{top:0}
-.features:hover .arrows .bottom{left:0}
-.features h2{color:#fff;background:#2489c5}
-.features ul{padding:44px 60px 36px}
-.features li{padding:0 0 9px 36px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABI0lEQVR4XpXSP0vDUBjF4ZtLkIr4EYzduogdXJTWWV2FLMVNoQrdAhlUUFAEcejo1q13svgFBAUdxA/g30kcdQoIIlL9DWcKuZEeeOCl99w3gTSI49h4MoFb/KCJz6KShS/rOh/TbEZZECLBiSQIR1nQQgAnAVr/LZjEnIq76OJbutjRGR26isUB3pDhBikucWoUzVdI1cl05zBk2MI5jvCKIfL5QluzxTS20bY6WENdl0ujTl13Ni3DABtwWEFp1HG6M7Aq9NHBGRbgy7w6HfTzX6GHCyyXPV2dnu9/MIUX+PIMOkRsbq7hHkZmxciDOrZoQRUVPCGCw504RDobR7VoQQ0f2Mejls1IRb/t4R10CcLc6/2igSVcw8gqFnEMOnSVPxQqQaPw2y7fAAAAAElFTkSuQmCC") 0 1px no-repeat;*background-image:url("ie/icon-star.png");}
-.features li.offset{margin-top:20px}
-.mark{padding:0 2px;color:#777;background:#e7e5e0;}
-.skin-polaris .mark{background:#232830}
-.skin-futurico .mark{background:#25262a}
-.social{height:60px;margin-bottom:60px;padding:0 60px;font-size:16px;color:#555;background:#f5f3ef;}
-.social a{color:#777;border-bottom-color:#ccc;}
-.social a:hover{color:#444}
-.social .left{float:left;padding-top:19px;}
-.social .left li{float:left;padding-right:30px;}
-.social .left li a{position:relative}
-.social .right{float:right;padding-top:20px;}
-.social .right li{float:right;padding-left:10px}
-.social .right.local{padding-top:19px;}
-.social .right.local li{padding-left:30px;font-size:14px}
-.demo-holder{margin-bottom:97px}
-.demo-title{padding-bottom:36px;font-size:26px;letter-spacing:-1px}
-.demo{position:relative;}
-.demo:hover .arrows .top,.demo:hover .arrows .bottom{left:0}
-.demo-list{position:relative;margin-right:360px;padding:33px 57px 17px;color:#555;background:#fff;border:3px solid #ddd8ce;}
-.demo-list ul{float:right;white-space:nowrap;}
-.demo-list ul:first-child{float:left}
-.demo-list ul li{position:relative;padding:0 0 18px 42px}
-.demo-list ul input{position:absolute;top:4px;left:0}
-.demo-list ul .icheckbox_square-blue,.demo-list ul .iradio_square-blue{position:absolute;top:-1px;left:0}
-.demo-list ul span{color:#bbb}
-.demo-methods{padding:21px 360px 0 0;}
-.demo-methods .mark{background:#d3cfc6}
-.demo-methods dt{position:relative;padding:17px 150px 18px 0;font:16px/24px 'MontserratRegular',Helvetica,Arial,sans-serif;color:#444;border-bottom:3px solid #ddd8ce;}
-.demo-methods dt .self{cursor:pointer;}
-.demo-methods dt .self:hover{color:#222}
-.demo-methods dt .code{position:absolute;right:0;bottom:18px;color:#777;}
-.demo-methods dt .code .self:hover{color:#444}
-.demo-methods dd{position:relative;display:none;margin:0;background:#fff;border:3px solid #ddd8ce;border-top:none;}
-.demo-methods dd:before{content:'';position:absolute;top:-13px;left:0;width:0;height:0;border:5px solid transparent;border-bottom-color:#ddd8ce;border-left-color:#ddd8ce}
-.demo-methods dd .markup{margin:0;color:#888;background:#f5f3ef;border:none;}
-.demo-methods dd .markup .comment{color:#aaa}
-.demo-callbacks{position:absolute;top:0;right:0;bottom:0;width:300px;color:#aaa;background:#232323;border:3px solid #ddd8ce;}
-.demo-callbacks h2{color:#fff;background:#6a5a8c}
-.demo-callbacks ul{position:absolute;top:60px;width:100%;bottom:0;overflow:auto;}
-.demo-callbacks ul::-webkit-scrollbar{width:10px;background:none;}
-.demo-callbacks ul::-webkit-scrollbar-track{background:none;border:none;}
-.demo-callbacks ul::-webkit-scrollbar-track-piece:disabled{display:none !important;}
-.demo-callbacks ul::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25);border:none;}
-.demo-callbacks ul::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.3);}
-.demo-callbacks ul li{margin-top:-1px;padding:13px 20px 15px;border-top:1px solid #2e2e2e;}
-.demo-callbacks ul li span{color:#888}
-.skins{position:relative;*zoom:1;}
-.skins h2{position:absolute;top:-38px;right:0;left:0;font-size:24px;text-align:center}
-.arrows{position:absolute;top:3px;left:-60px;width:60px;overflow:hidden;}
-.arrows .top,.arrows .bottom{position:relative;left:60px;width:60px;height:60px;cursor:pointer;-webkit-transition:left .3s,background-color .2s;-moz-transition:left .3s,background-color .2s;-ms-transition:left .3s,background-color .2s;-o-transition:left .3s,background-color .2s;transition:left .3s,background-color .2s}
-.arrows .top{background:#83b3be url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAALCAYAAACZIGYHAAAAdklEQVR4Xo3MuwmFQBiE0b0FmAuutnRBsAARLMTYRzvWItiEYLq/s6CYyMwGXzTDcWbG8mhEf/ZjQIV2ZCigjiASMAVJIAVKAQ4FKWBDJVoYpAB/7z8GRaAQgBNQG8dZA28f0BmHBgUCKGh9hhpNKH8BWY8GlF2OH3hCC1zmdAAAAABJRU5ErkJggg==") 50% no-repeat;*background-image:url("ie/arrow-top.png");}
-.arrows .top:hover{background-color:#6ba4b1}
-.arrows .bottom{background:#e2b78d url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAALCAYAAACZIGYHAAAAf0lEQVR4Xo3MzQmEQBCE0TGAvQuOpiQIBiCCgXj2J52NRTAJwev0Vh+WOgjlNHyHguYFM/M6tKLSd2YTmtHHR48S8jtQzAB2430d2bgJvQLsdqRCZwZUPAFLaPjrjYAUMKLgwBtUK4CIhi4BEFGQBohISANEJKQBIqqIFtSqvx/0bXhCCUrgiAAAAABJRU5ErkJggg==") 50% no-repeat;*background-image:url("ie/arrow-bottom.png");}
-.arrows .bottom:hover{background-color:#dba571}
-@media screen and (max-width:1049px){.arrows,.fork-me{display:none}
-}.skin{position:relative;margin-bottom:40px;}
-.skin:hover .arrows .top,.skin:hover .arrows .bottom{left:0}
-.skin h3{position:relative;z-index:20;float:left;height:60px;padding:0 57px;line-height:58px;background:#fff;border:3px solid #ddd8ce;border-bottom:none;}
-.skin h3:before{content:'';position:absolute;top:100%;left:0;width:100%;height:2px;margin-top:-1px;background:#fff}
-.skin.skin-polaris h3{color:#cacdd1;background:#2c323c;}
-.skin.skin-polaris h3:before{background:#2c323c}
-.skin.skin-futurico h3{color:#c3c3c3;background:#2e3035;}
-.skin.skin-futurico h3:before{background:#2e3035}
-.skin dl{z-index:10;width:100%;margin:0}
-.skin dt{position:relative;top:-53px;right:-3px;float:right;height:47px;margin-right:-3px;padding:0 57px;line-height:47px;border:3px solid #ddd8ce;cursor:pointer;}
-.skin dt:hover{background:#f0ede7;border-bottom:3px solid #ddd8ce}
-.skin dt.selected{height:50px;background:#fff;border-bottom:none;cursor:default;}
-.skin dt.selected:before{content:'';position:absolute;top:100%;left:0;width:100%;height:2px;margin-top:-1px;background:#fff}
-.skin.skin-polaris dt{color:#cacdd1;background:#647083;}
-.skin.skin-polaris dt:hover{background:#4a5361}
-.skin.skin-polaris dt.selected{background:#2c323c;}
-.skin.skin-polaris dt.selected:before{background:#2c323c}
-.skin.skin-futurico dt{color:#c3c3c3;background:#676c77;}
-.skin.skin-futurico dt:hover{background:#4b4e56}
-.skin.skin-futurico dt.selected{background:#2e3035;}
-.skin.skin-futurico dt.selected:before{background:#2e3035}
-.skin dd{position:relative;display:none;float:left;width:100%;margin:-3px -100% 0 0;overflow:hidden;color:#444;background:#fff;border:3px solid #ddd8ce;}
-.skin dd.selected{display:block}
-.skin dd a{color:#444;}
-.skin dd a:hover{color:#111}
-.skin.skin-polaris dd{color:#7a828b;background:#2c323c;}
-.skin.skin-polaris dd a{color:#7a828b;border-bottom-color:#4e596b;}
-.skin.skin-polaris dd a:hover{color:#a2a7ae}
-.skin.skin-futurico dd{color:#888;background:#2e3035;}
-.skin.skin-futurico dd a{color:#888;border-bottom-color:#545861;}
-.skin.skin-futurico dd a:hover{color:#aaa}
-.skin-section{float:left;padding:42px 0 31px 57px;line-height:18px;}
-.skin-section h4{padding-bottom:18px;}
-.skin-polaris .skin-section h4{color:#959ba2}
-.skin-futurico .skin-section h4{color:#a0a0a0}
-.skin-section .list{float:left;padding-right:60px;}
-.skin-section .list li{position:relative;padding-bottom:15px}
-.skin-minimal .skin-section .list li{padding-left:38px}
-.skin-square .skin-section .list li{padding-left:42px}
-.skin-flat .skin-section .list li,.skin-line .skin-section label{padding-left:40px}
-.skin-line .skin-section h4{padding-bottom:24px}
-.skin-line .skin-section .list{padding-right:40px;}
-.skin-line .skin-section .list li{padding-bottom:10px}
-.skin-polaris .skin-section .list li{padding-left:37px}
-.skin-futurico .skin-section .list li{padding-left:36px}
-.icheckbox_minimal,.icheckbox_minimal-red,.icheckbox_minimal-green,.icheckbox_minimal-blue,.icheckbox_minimal-aero,.icheckbox_minimal-grey,.icheckbox_minimal-orange,.icheckbox_minimal-yellow,.icheckbox_minimal-pink,.icheckbox_minimal-purple,.iradio_minimal,.iradio_minimal-red,.iradio_minimal-green,.iradio_minimal-blue,.iradio_minimal-aero,.iradio_minimal-grey,.iradio_minimal-orange,.iradio_minimal-yellow,.iradio_minimal-pink,.iradio_minimal-purple{position:absolute;top:1px;left:0}
-.skin input[type=checkbox],.skin input[type=radio]{position:absolute;top:2px;left:0}
-.icheckbox_square,.icheckbox_square-red,.icheckbox_square-green,.icheckbox_square-blue,.icheckbox_square-aero,.icheckbox_square-grey,.icheckbox_square-orange,.icheckbox_square-yellow,.icheckbox_square-pink,.icheckbox_square-purple,.iradio_square,.iradio_square-red,.iradio_square-green,.iradio_square-blue,.iradio_square-aero,.iradio_square-grey,.iradio_square-orange,.iradio_square-yellow,.iradio_square-pink,.iradio_square-purple{position:absolute;top:-1px;left:0}
-.icheckbox_flat,.icheckbox_flat-red,.icheckbox_flat-green,.icheckbox_flat-blue,.icheckbox_flat-aero,.icheckbox_flat-grey,.icheckbox_flat-orange,.icheckbox_flat-yellow,.icheckbox_flat-pink,.icheckbox_flat-purple,.iradio_flat,.iradio_flat-red,.iradio_flat-green,.iradio_flat-blue,.iradio_flat-aero,.iradio_flat-grey,.iradio_flat-orange,.iradio_flat-yellow,.iradio_flat-pink,.iradio_flat-purple{position:absolute;top:0;left:0}
-.icheckbox_polaris,.iradio_polaris{position:absolute;top:-4px;left:-6px}
-.icheckbox_futurico,.iradio_futurico{position:absolute;top:2px;left:0}
-.skin-states{float:right;padding-right:57px;padding-left:0;}
-.skin-states .state{cursor:default !important}
-.skin-states .list{padding-right:0}
-.skin-minimal .skin-states .list li{padding-left:71px}
-.skin-square .skin-states .list li{padding-left:79px}
-.skin-flat .skin-states .list li{padding-left:75px}
-.skin-line .skin-states .list{padding-right:0}
-.skin-polaris .skin-states .list li{padding-left:69px}
-.skin-futurico .skin-states .list li{padding-left:67px}
-.skin-states .iradio_minimal,.skin-states .iradio_minimal-red,.skin-states .iradio_minimal-green,.skin-states .iradio_minimal-blue,.skin-states .iradio_minimal-aero,.skin-states .iradio_minimal-grey,.skin-states .iradio_minimal-orange,.skin-states .iradio_minimal-yellow,.skin-states .iradio_minimal-pink,.skin-states .iradio_minimal-purple{left:33px}
-.skin-states .iradio_square,.skin-states .iradio_square-red,.skin-states .iradio_square-green,.skin-states .iradio_square-blue,.skin-states .iradio_square-aero,.skin-states .iradio_square-grey,.skin-states .iradio_square-orange,.skin-states .iradio_square-yellow,.skin-states .iradio_square-pink,.skin-states .iradio_square-purple{left:37px}
-.skin-states .iradio_flat,.skin-states .iradio_flat-red,.skin-states .iradio_flat-green,.skin-states .iradio_flat-blue,.skin-states .iradio_flat-aero,.skin-states .iradio_flat-grey,.skin-states .iradio_flat-orange,.skin-states .iradio_flat-yellow,.skin-states .iradio_flat-pink,.skin-states .iradio_flat-purple{left:35px}
-.skin-states .iradio_polaris{left:26px}
-.skin-states .iradio_futurico{left:31px}
-.colors{clear:both;padding:24px 0 9px;}
-.skin-line .colors{padding-top:28px}
-.colors strong{float:left;line-height:20px;margin-right:20px}
-.colors li{position:relative;float:left;width:16px;height:16px;margin:2px 1px 0 0;background:#000;cursor:pointer;filter:alpha(opacity=50);opacity:.5;-webkit-transition:opacity .2s;-moz-transition:opacity .2s;-ms-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s;}
-.colors li:hover{filter:alpha(opacity=100);opacity:1}
-.colors li.active{height:20px;margin-top:0;filter:alpha(opacity=75);opacity:.75}
-.colors li.red{background:#d54e21}
-.colors li.green{background:#78a300}
-.colors li.blue{background:#0e76a8}
-.colors li.aero{background:#9cc2cb}
-.colors li.grey{background:#73716e}
-.colors li.orange{background:#f70}
-.colors li.yellow{background:#fc0}
-.colors li.pink{background:#ff66b5}
-.colors li.purple{background:#6a5a8c}
-.skin-square .colors li.red{background:#e56c69}
-.skin-square .colors li.green{background:#1b7e5a}
-.skin-square .colors li.blue{background:#2489c5}
-.skin-square .colors li.aero{background:#9cc2cb}
-.skin-square .colors li.grey{background:#73716e}
-.skin-square .colors li.yellow{background:#fc3}
-.skin-square .colors li.pink{background:#a77a94}
-.skin-square .colors li.purple{background:#6a5a8c}
-.skin-square .colors li.orange{background:#f70}
-.skin-flat .colors li.red{background:#ec7063}
-.skin-flat .colors li.green{background:#1abc9c}
-.skin-flat .colors li.blue{background:#3498db}
-.skin-flat .colors li.grey{background:#95a5a6}
-.skin-flat .colors li.orange{background:#f39c12}
-.skin-flat .colors li.yellow{background:#f1c40f}
-.skin-flat .colors li.pink{background:#af7ac5}
-.skin-flat .colors li.purple{background:#8677a7}
-.skin-line .colors li.yellow{background:#ffc414}
-.skins-info{padding:13px 0 57px;font-size:16px;line-height:22px;text-align:center;}
-.skins-info p{margin-bottom:17px}
-.skins-info .skins-banner{margin:34px 0 3px;}
-.skins-info .skins-banner a{display:block;width:728px;height:90px;margin:0 auto;overflow:hidden;text-indent:100%;white-space:nowrap;background:url(banner.jpg);-webkit-transition:opacity 0.4s ease;-moz-transition:opacity 0.4s ease;-o-transition:opacity 0.4s ease;transition:opacity 0.4s ease;border:none;}
-.skins-info .skins-banner a:hover{opacity:.8;}
-.skin-pre{padding:43px 60px 0}
-.skin-usage{padding:19px 60px 8px;list-style:decimal outside;}
-.skin-usage li{margin-bottom:23px}
-.skin-usage .schemes{margin-bottom:-3px;padding:13px 0 0 20px;color:#888;}
-.skin-usage .schemes ul{float:left;padding-right:60px}
-.skin-usage .schemes li{margin:0;padding-bottom:3px}
-.usage{position:relative;margin-bottom:80px;background:#fff;}
-.usage a{border-bottom-color:#ddd}
-.usage .self{border-bottom-color:#bbb}
-.usage .arrows{top:0}
-.usage:hover .arrows .top,.usage:hover .arrows .bottom{left:0}
-.usage h2{color:#fff;background:#1f7f5c}
-.usage h4{margin:26px 0 10px;}
-.usage h4.indeterminate{margin-top:28px}
-.usage p{margin-bottom:5px;}
-.usage p.offset{margin-top:10px}
-.usage p.callbacks-info{margin-bottom:19px}
-.usage p.methods-info{margin-bottom:10px}
-.usage p.methods-callback{margin-top:10px}
-.usage p.issue-tracker{margin-top:31px}
-.usage .markup{margin:9px 0 16px}
-.usage .usage-inner{font-size:15px;line-height:23px;padding:41px 60px 39px}
-.markup{margin:10px 0 18px;padding:8px 0 9px 17px;font:14px/20px 'MontserratRegular',Helvetica,Arial,sans-serif;color:#777;background:#e7e5e0;border-left:3px solid #d7d5cb;}
-.markup .comment{color:#999;}
-.markup .comment .self{color:#555;}
-.markup .comment .self:hover{color:#333}
-.skin-polaris .markup{background:#232830;border-left-color:#1f232a}
-.skin-futurico .markup{background:#25262a;border-left-color:#202225}
-.skin-polaris .markup .comment,.skin-futurico .markup .comment{color:#555}
-.browsers{margin-bottom:74px;}
-.browsers h2{margin-bottom:29px;font-size:24px}
-.browsers-inner{padding:0 60px;font-size:15px;line-height:23px;}
-.browsers-inner p{margin-bottom:15px}
-.benefits{position:relative;margin-bottom:59px;color:#888;background:#232323;}
-.benefits .arrows{top:0}
-.benefits:hover .arrows .top,.benefits:hover .arrows .bottom{left:0}
-.benefits h2{color:#fff;background:#6a5b8c}
-.benefits a{color:#888;border-bottom-color:#444;}
-.benefits a:hover{color:#aaa}
-.benefits .mark{color:#777;background:#393939}
-.benefits-inner{padding:41px 60px 29px;font-size:15px;line-height:23px;}
-.benefits-inner p{margin-bottom:15px}
-.benefits-inner ul{margin:-10px 0 15px}
-.download{height:63px;text-align:center;}
-.download a{display:block;height:60px;font-size:18px;line-height:58px;color:#fff;border-bottom:0 solid #e24f49;background:#e76b66;-webkit-transition:border-bottom .2s;-moz-transition:border-bottom .2s;-ms-transition:border-bottom .2s;-o-transition:border-bottom .2s;transition:border-bottom .2s;}
-.download a:before{content:'';display:inline-block;width:26px;height:26px;margin-right:12px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAACYUlEQVR4Xr3VPWhTURjH4VOt0ES7ZRJbEJpsNsaimx9E0GpRCdgU/NhsRAdNBYcK0RirQcSkIIK2cRBRiragVayDhqBDLVWatFvsIKK2UMEp4KBcf8N/KNdwvcHWAw8c/rzvebk5yU2dZVnmf6wVNdb70Ca+5Rrkx0e8E/ZkyzCoAyuxBZu17/jXQV34jjwCytowjUk90Ywyo5q8errcDoriPgpoRhEj6MQrGHmpbARF1RbUG3Uz6Bae4iBacQNNSKEPRi4pa1JNq3pGcds+qNrXu4B1CKKCWtZqlPAZO/72RDGsRdKWh5ATIdOSpHpjbu6ojBfYBiPdOIQeHJMeZd0wsh1jKDsNakEc97AHo8o3IYCz2I1nGMYuZQHVGPXs1RlxtNgH+TCFtBpvIqua40ghqkGdOIp27VOqMcigX8PTKIKzWXwZDDbAQhDG5o6yx2iAkQY80T4HYxOEpbP/uCOnN+wq1Nlq6x3qrWp3NIcKJvAWV+FVzU804i6uwyNZZY34BaOeyzpjQmfOLR70DSGcwyxOIa7mAZzHQ+QxLHllCdUYnMYZzOqsjeBsPbp8QFZ7Lw7gCt4jhGu4qCEGa5SVVWPUM4Yjbn5HfrTjNYzk8AAZ5CSjbBBG3qjXr0CqX+YAviJpy6cQg9NKIoJBN6+gIGbwA16kMY5eeGDEo2xcNV71TCPo5qM7iX14hJIueB4XkICRhLJ51ZTUsx8n3AwawmGE8QUhRDR4J4yElUUQUm1YvUPOfxPO4khj66KL70W/m+Z6uF3P0YdJBRVlZqkHlbEezQo+YWHJB8mC1Lx+Ayeq7nRIoewwAAAAAElFTkSuQmCC");*background-image:url("ie/icon-options.png");vertical-align:middle}
-.download a:hover{border-bottom-width:3px}
-.license{color:#444;text-align:center;padding:30px 0 75px}
-.footer{padding-top:28px;height:60px;color:#666;background:#e2dfd8;}
-.footer ul{float:left;}
-.footer ul li{float:left;padding:2px 10px 0 0}
-.footer ul.local li{padding:0 30px 0 0}
-.footer .code{float:right}
-.footer a{color:#444;}
-.footer a:hover{color:#222}
-.footer-inner{width:930px;margin:0 auto;overflow:hidden}
-.fork-me{position:fixed;*position:absolute;top:0;right:0;width:40px;height:40px;overflow:hidden;text-indent:100%;white-space:nowrap;background:#28545b url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAnElEQVR4XqVSgQmEMAyszw/gCI7wK7iBblBHcISfxG6gG/gjuIGO0A3ygaYQCCG2HhweF+6aShsAcDcBJBpuvlwFagqGJwUf5EL6kgV2eEe2yIgc9QI73CMPs8AOywI7nHDSzCxYxcnJ6+hrFnQkJrb2nGclP3Fj+vf0IUV1AgCZHiS86lOObxD4qqSD5mtXmAq1e2fB3vqXact3f/JmXumJlVq1AAAAAElFTkSuQmCC") 50% no-repeat;*background-image:url("ie/icon-fork.png");}
-.fork-me:hover{background-color:#1f7f5c}
-.skin dt,.fork-me{-webkit-transition:background-color .2s;-moz-transition:background-color .2s;-ms-transition:background-color .2s;-o-transition:background-color .2s;transition:background-color .2s}
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/custom.styl b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/custom.styl
deleted file mode 100644
index 7f66121a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/custom.styl
+++ /dev/null
@@ -1,1191 +0,0 @@
-/* Reset
------------------------------------ */
-@import url("normalize.css")
-
-
-/* Fonts
------------------------------------ */
-$font = 'MontserratRegular'
-$fontBold = 'MontserratBold'
-$stack = $font, Helvetica, Arial, sans-serif
-$stackBold = $fontBold, Helvetica, Arial, sans-serif
-
-@font-face
- font-family $font
- src url('./montserrat-regular.eot')
- src url('./montserrat-regular.eot?#iefix') format('embedded-opentype'),
- url('./montserrat-regular.woff') format('woff'),
- url('./montserrat-regular.ttf') format('truetype'),
- url('./montserrat-regular.svg#' + $font + '') format('svg')
- font-style normal
- font-weight normal
-
-@font-face
- font-family $fontBold
- src url('./montserrat-bold.eot')
- src url('./montserrat-bold.eot?#iefix') format('embedded-opentype'),
- url('./montserrat-bold.woff') format('woff'),
- url('./montserrat-bold.ttf') format('truetype'),
- url('./montserrat-bold.svg#' + $fontBold + '') format('svg')
- font-style normal
- font-weight bold
-
-
-/* Demo
------------------------------------ */
-html
-body
- height 100%
-
-body
- font 14px/20px $stack
- color #222
- background #ebe7df url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAFZCAIAAAA96mnzAAACKklEQVR4Xn2VUW7kMAxD+QLf/1x7gv71LNwdKTLhZFtggMCwSVEUPdb3159/v0uSrM8HtGRZuoQk1R69J12o9ixJWvSnVyfLdbNw0XAXWe1fIL8BoqmNGiV/cHc9Gq4NXxLKHhteRyLpA28cl0SLdx0BckSWL4gkPlIVTg1nN9Ys3iyWI5AGDA5xOXB5BJaWmOw6KSLeU6+0P50QshQyEL2im/YMIL60dTSZ3RXenlkiJpMj8XPMAl1FtjMRW19NxzOE5VGWPVGrc7aSJgz1Y9ku57mpYSwn1h0ivFOXxoCKMCXiahbbZNIZR+tkphllPsomipCwb4GMkXTmPfVg40Jt2y4RQM/PqX5JTM4iiTN8Zz1XvbIAEEvoEW+3nxTLL3lB7t7J3WwyI7g5OVxKIeFEH4FIGLC9I+XqvSd4AxJM5O6WTPr54RAxLG44FVrEuz+kFdXyLiuX6kLPVLZL2ISlcHNlBIKm5rR8nEi9wJeA6Y8JZlJOyDiin0K5ag+AXHtALBicXasjIUu9h0STBbCMU+89gMnu/J05MU1QWqdbPMRPIZIzDgsi8Olg5t7wHhUg/pv5RUzO+BHDmczHkAfZWxlSYgNI5Ig5XRoc66dW9L45eHDkbkqCO7RLG5cna/HD7YhZnfINkFo8iNyj5kx6pFrxNGRlfhV2e1Zt5DnGU8T7Tud1ivi8jU8/3Zy88pkn6+zdXiJ7AVSFBZA3VcwDfXtt5UUHS38B35hQVuJip4MAAAAASUVORK5CYII=") repeat-x
- *background-image url(ie/header-line.png)
-
-a
- color #222
- text-decoration none
- border-bottom 1px solid #bbb
-
- &:hover
- color #000
-
-a
-.self
- -webkit-transition color .1s
- -moz-transition color .1s
- -ms-transition color .1s
- -o-transition color .1s
- transition color .1s
-
-.self
- color #333
- border-bottom 1px dotted #aaa
- cursor pointer
-
- &:hover
- color #000
-
-strong
- font-family $stackBold
- font-weight 700
-
-p
- margin 0 0 8px
-
-label
- cursor pointer
-
-h1
-h2
-h3
-h4
- margin 0
- font bold 20px/60px $stackBold
-
-h2
- height 60px
- text-align center
- text-transform uppercase
-
-h4
- font-size 18px
- line-height 24px
-
-ul
- margin 0
- padding 0
- list-style none
-
-table
- width 100%
- margin-bottom 21px
-
-th
-td
- padding 11px 20px 12px
- vertical-align top
- font-weight normal
- text-align left
- border-bottom 2px solid #E7E5E0
-
- thead &
- background lighten(#E7E5E0, 50%)
-
-th
- white-space nowrap
-
-td
- width 100%
-
-.focus
- outline 1px dotted rgba(0,0,0,.5) !important
-
-.clear
- position relative
- *zoom 1
-
- &:before
- &:after
- content ''
- display table
- clear both
-
-.layout
- width 930px
- margin 0 auto
- padding 0 15px
-
-.header
- padding 115px 0 73px
- color #fff
- text-align center
-
- h1
- strong
- letter-spacing -1px
- text-transform uppercase
-
- h1
- padding-bottom 23px
- font-size 22px
- line-height 28px
-
- h3
- position relative
- padding 35px 0 17px
- font-size 120px
- line-height 140px
- letter-spacing -5px
-
- &:before
- content ''
- display inline-block
- width 72px
- height 64px
- margin-right 32px
- vertical-align middle
- background url(icheck.png)
-
- &:after
- content ''
- position absolute
- top 0
- left 50%
- width 100px
- margin-left -50px
- border-top 3px solid #fff
-
- strong
- font 24px/30px $stack
-
- a
- color #fff
- border-bottom-color #fff
-
-.features
- position relative
- font-size 16px
- color #555
- background #fff
-
- .self
- color #555
- border-bottom-color #bbb
-
- &:hover
- color #222
-
- .arrows
- top 0
-
- &:hover .arrows .bottom
- left 0
-
- h2
- color #fff
- background #2489c5
-
- ul
- padding 44px 60px 36px
-
- li
- padding 0 0 9px 36px
- background url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABI0lEQVR4XpXSP0vDUBjF4ZtLkIr4EYzduogdXJTWWV2FLMVNoQrdAhlUUFAEcejo1q13svgFBAUdxA/g30kcdQoIIlL9DWcKuZEeeOCl99w3gTSI49h4MoFb/KCJz6KShS/rOh/TbEZZECLBiSQIR1nQQgAnAVr/LZjEnIq76OJbutjRGR26isUB3pDhBikucWoUzVdI1cl05zBk2MI5jvCKIfL5QluzxTS20bY6WENdl0ujTl13Ni3DABtwWEFp1HG6M7Aq9NHBGRbgy7w6HfTzX6GHCyyXPV2dnu9/MIUX+PIMOkRsbq7hHkZmxciDOrZoQRUVPCGCw504RDobR7VoQQ0f2Mejls1IRb/t4R10CcLc6/2igSVcw8gqFnEMOnSVPxQqQaPw2y7fAAAAAElFTkSuQmCC") 0 1px no-repeat
- *background-image url(ie/icon-star.png)
-
- &.offset
- margin-top 20px
-
-.mark
- padding 0 2px
- color lighten(#555, 20%)
- background lighten(#d7d4cc, 40%)
-
- .skin-polaris &
- background darken(#2C323C, 20%)
-
- .skin-futurico &
- background darken(#2E3035, 20%)
-
-.social
- height 60px
- margin-bottom 60px
- padding 0 60px
- font-size 16px
- color #555
- background lighten(#EBE7DF, 50%)
-
- a
- color #777
- border-bottom-color #ccc
-
- &:hover
- color #444
-
- .left
- float left
- padding-top 19px
-
- li
- float left
- padding-right 30px
-
- a
- position relative
-
- .right
- float right
- padding-top 20px
-
- li
- float right
- padding-left 10px
-
- &.local
- padding-top 19px
-
- li
- padding-left 30px
- font-size 14px
-
-.demo-holder
- margin-bottom 97px
-
-.demo-title
- padding-bottom 36px
- font-size 26px
- letter-spacing -1px
-
-.demo
- position relative
-
- &:hover .arrows .top
- &:hover .arrows .bottom
- left 0
-
-.demo-list
- position relative
- margin-right 360px
- padding 33px 57px 17px
- color #555
- background #fff
- border 3px solid #ddd8ce
-
- ul
- float right
- white-space nowrap
-
- &:first-child
- float left
-
- li
- position relative
- padding 0 0 18px 42px
-
- input
- position absolute
- top 4px
- left 0
-
- .icheckbox_square-blue
- .iradio_square-blue
- position absolute
- top -1px
- left 0
-
- span
- color #bbb
-
-.demo-methods
- padding 21px 360px 0 0
-
- .mark
- background darken(#e7e5e0, 10%)
-
- dt
- position relative
- padding 17px 150px 18px 0
- font 16px/24px $stack
- color #444
- border-bottom 3px solid #ddd8ce
-
- .self
- cursor pointer
-
- &:hover
- color #222
-
- .code
- position absolute
- right 0
- bottom 18px
- color #777
-
- .self:hover
- color #444
-
- dd
- position relative
- display none
- margin 0
- background #fff
- border 3px solid #ddd8ce
- border-top none
-
- &:before
- content ''
- position absolute
- top -13px
- left 0
- width 0
- height 0
- border 5px solid transparent
- border-bottom-color #ddd8ce
- border-left-color #ddd8ce
-
- .markup
- margin 0
- color #888
- background lighten(#ebe7df, 50%)
- border none
-
- .comment
- color #aaa
-
-.demo-callbacks
- position absolute
- top 0
- right 0
- bottom 0
- width 300px
- color #aaa
- background #232323
- border 3px solid #ddd8ce
-
- h2
- color #fff
- background #6a5a8c
-
- ul
- position absolute
- top 60px
- width 100%
- bottom 0
- overflow auto
-
- li
- margin-top -1px
- padding 13px 20px 15px
- border-top 1px solid #2e2e2e
-
- span
- color #888
-
-.skins
- position relative
- *zoom 1
-
- h2
- position absolute
- top -38px
- right 0
- left 0
- font-size 24px
- text-align center
-
-.arrows
- position absolute
- top 3px
- left -60px
- width 60px
- overflow hidden
-
- .top
- .bottom
- position relative
- left 60px
- width 60px
- height 60px
- cursor pointer
- -webkit-transition left .3s, background-color .2s
- -moz-transition left .3s, background-color .2s
- -ms-transition left .3s, background-color .2s
- -o-transition left .3s, background-color .2s
- transition left .3s, background-color .2s
-
- .top
- background lighten(#5a9aa8, 25%) url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAALCAYAAACZIGYHAAAAdklEQVR4Xo3MuwmFQBiE0b0FmAuutnRBsAARLMTYRzvWItiEYLq/s6CYyMwGXzTDcWbG8mhEf/ZjQIV2ZCigjiASMAVJIAVKAQ4FKWBDJVoYpAB/7z8GRaAQgBNQG8dZA28f0BmHBgUCKGh9hhpNKH8BWY8GlF2OH3hCC1zmdAAAAABJRU5ErkJggg==") 50% no-repeat
- *background-image url(ie/arrow-top.png)
-
- &:hover
- background-color lighten(#5a9aa8, 10%)
-
- .bottom
- background lighten(#dba571, 20%) url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAALCAYAAACZIGYHAAAAf0lEQVR4Xo3MzQmEQBCE0TGAvQuOpiQIBiCCgXj2J52NRTAJwev0Vh+WOgjlNHyHguYFM/M6tKLSd2YTmtHHR48S8jtQzAB2430d2bgJvQLsdqRCZwZUPAFLaPjrjYAUMKLgwBtUK4CIhi4BEFGQBohISANEJKQBIqqIFtSqvx/0bXhCCUrgiAAAAABJRU5ErkJggg==") 50% no-repeat
- *background-image url(ie/arrow-bottom.png)
-
- &:hover
- background-color #dba571
-
-@media screen and (max-width:1049px)
- .arrows
- .fork-me
- display none
-
-.skin
- position relative
- margin-bottom 40px
-
- &:hover .arrows .top
- &:hover .arrows .bottom
- left 0
-
- h3
- position relative
- z-index 20
- float left
- height 60px
- padding 0 57px
- line-height 58px
- background #fff
- border 3px solid #ddd8ce
- border-bottom none
-
- &:before
- content ''
- position absolute
- top 100%
- left 0
- width 100%
- height 2px
- margin-top -1px
- background #fff
-
- &.skin-polaris h3
- color lighten(#7a828b, 60%)
- background #2c323c
-
- &:before
- background #2c323c
-
- &.skin-futurico h3
- color lighten(#888, 50%)
- background #2e3035
-
- &:before
- background #2e3035
-
- dl
- z-index 10
- width 100%
- margin 0
-
- dt
- position relative
- top -53px
- right -3px
- float right
- height 47px
- margin-right -3px
- padding 0 57px
- line-height 47px
- border 3px solid #ddd8ce
- cursor pointer
-
- &:hover
- background #f0ede7
- border-bottom 3px solid #ddd8ce
-
- &.selected
- height 50px
- background #fff
- border-bottom none
- cursor default
-
- &:before
- content ''
- position absolute
- top 100%
- left 0
- width 100%
- height 2px
- margin-top -1px
- background #fff
-
- &.skin-polaris dt
- color lighten(#7a828b, 60%)
- background lighten(#30363f, 30%)
-
- &:hover
- background lighten(#30363f, 15%)
-
- &.selected
- background #2c323c
-
- &:before
- background #2c323c
-
- &.skin-futurico dt
- color lighten(#888, 50%)
- background lighten(#2e3035, 30%)
-
- &:hover
- background lighten(#2e3035, 15%)
-
- &.selected
- background #2e3035
-
- &:before
- background #2e3035
-
- dd
- position relative
- display none
- float left
- width 100%
- margin -3px -100% 0 0
- overflow hidden
- color #444
- background #fff
- border 3px solid #ddd8ce
-
- &.selected
- display block
-
- a
- color #444
-
- &:hover
- color #111
-
- &.skin-polaris dd
- color #7a828b
- background #2c323c
-
- a
- color #7a828b
- border-bottom-color lighten(#2c323c, 20%)
-
- &:hover
- color lighten(#7a828b, 30%)
-
- &.skin-futurico dd
- color #888
- background #2e3035
-
- a
- color #888
- border-bottom-color lighten(#2e3035, 20%)
-
- &:hover
- color #aaa
-
-.skin-section
- float left
- padding 42px 0 31px 57px
- line-height 18px
-
- h4
- padding-bottom 18px
-
- .skin-polaris &
- color lighten(#7a828b, 20%)
-
- .skin-futurico &
- color lighten(#888, 20%)
-
- .list
- float left
- padding-right 60px
-
- li
- position relative
- padding-bottom 15px
-
- .skin-minimal & .list li
- padding-left 38px
-
- .skin-square & .list li
- padding-left 42px
-
- .skin-flat & .list li
- .skin-line & label
- padding-left 40px
-
- .skin-line & h4
- padding-bottom 24px
-
- .skin-line & .list
- padding-right 40px
-
- li
- padding-bottom 10px
-
- .skin-polaris & .list li
- padding-left 37px
-
- .skin-futurico & .list li
- padding-left 36px
-
-.icheckbox_minimal
-.icheckbox_minimal-red
-.icheckbox_minimal-green
-.icheckbox_minimal-blue
-.icheckbox_minimal-aero
-.icheckbox_minimal-grey
-.icheckbox_minimal-orange
-.icheckbox_minimal-yellow
-.icheckbox_minimal-pink
-.icheckbox_minimal-purple
-.iradio_minimal
-.iradio_minimal-red
-.iradio_minimal-green
-.iradio_minimal-blue
-.iradio_minimal-aero
-.iradio_minimal-grey
-.iradio_minimal-orange
-.iradio_minimal-yellow
-.iradio_minimal-pink
-.iradio_minimal-purple
- position absolute
- top 1px
- left 0
-
-.skin input[type=checkbox]
-.skin input[type=radio]
- position absolute
- top 2px
- left 0
-
-.icheckbox_square
-.icheckbox_square-red
-.icheckbox_square-green
-.icheckbox_square-blue
-.icheckbox_square-aero
-.icheckbox_square-grey
-.icheckbox_square-orange
-.icheckbox_square-yellow
-.icheckbox_square-pink
-.icheckbox_square-purple
-.iradio_square
-.iradio_square-red
-.iradio_square-green
-.iradio_square-blue
-.iradio_square-aero
-.iradio_square-grey
-.iradio_square-orange
-.iradio_square-yellow
-.iradio_square-pink
-.iradio_square-purple
- position absolute
- top -1px
- left 0
-
-.icheckbox_flat
-.icheckbox_flat-red
-.icheckbox_flat-green
-.icheckbox_flat-blue
-.icheckbox_flat-aero
-.icheckbox_flat-grey
-.icheckbox_flat-orange
-.icheckbox_flat-yellow
-.icheckbox_flat-pink
-.icheckbox_flat-purple
-.iradio_flat
-.iradio_flat-red
-.iradio_flat-green
-.iradio_flat-blue
-.iradio_flat-aero
-.iradio_flat-grey
-.iradio_flat-orange
-.iradio_flat-yellow
-.iradio_flat-pink
-.iradio_flat-purple
- position absolute
- top 0
- left 0
-
-.icheckbox_polaris
-.iradio_polaris
- position absolute
- top -4px
- left -6px
-
-.icheckbox_futurico
-.iradio_futurico
- position absolute
- top 2px
- left 0
-
-.skin-states
- float right
- padding-right 57px
- padding-left 0
-
- .state
- cursor default !important
-
- .list
- padding-right 0
-
- .skin-minimal & .list li
- padding-left 71px
-
- .skin-square & .list li
- padding-left 79px
-
- .skin-flat & .list li
- padding-left 75px
-
- .skin-line & .list
- padding-right 0
-
- .skin-polaris & .list li
- padding-left 69px
-
- .skin-futurico & .list li
- padding-left 67px
-
- .iradio_minimal
- .iradio_minimal-red
- .iradio_minimal-green
- .iradio_minimal-blue
- .iradio_minimal-aero
- .iradio_minimal-grey
- .iradio_minimal-orange
- .iradio_minimal-yellow
- .iradio_minimal-pink
- .iradio_minimal-purple
- left 33px
-
- .iradio_square
- .iradio_square-red
- .iradio_square-green
- .iradio_square-blue
- .iradio_square-aero
- .iradio_square-grey
- .iradio_square-orange
- .iradio_square-yellow
- .iradio_square-pink
- .iradio_square-purple
- left 37px
-
- .iradio_flat
- .iradio_flat-red
- .iradio_flat-green
- .iradio_flat-blue
- .iradio_flat-aero
- .iradio_flat-grey
- .iradio_flat-orange
- .iradio_flat-yellow
- .iradio_flat-pink
- .iradio_flat-purple
- left 35px
-
- .iradio_polaris
- left 26px
-
- .iradio_futurico
- left 31px
-
-.colors
- clear both
- padding 24px 0 9px
-
- .skin-line &
- padding-top 28px
-
- strong
- float left
- line-height 20px
- margin-right 20px
-
- li
- position relative
- float left
- width 16px
- height 16px
- margin 2px 1px 0 0
- background #000
- cursor pointer
- filter unquote('alpha(opacity=50)')
- opacity .5
- -webkit-transition opacity .2s
- -moz-transition opacity .2s
- -ms-transition opacity .2s
- -o-transition opacity .2s
- transition opacity .2s
-
- &:hover
- filter unquote('alpha(opacity=100)')
- opacity 1
-
- &.active
- height 20px
- margin-top 0
- filter unquote('alpha(opacity=75)')
- opacity .75
-
- &.red
- background #d54e21
-
- &.green
- background #78a300
-
- &.blue
- background #0e76a8
-
- &.aero
- background #9cc2cb
-
- &.grey
- background #73716e
-
- &.orange
- background #f70
-
- &.yellow
- background #fc0
-
- &.pink
- background #ff66b5
-
- &.purple
- background #6a5a8c
-
- .skin-square &.red
- background #e56c69
-
- .skin-square &.green
- background #1b7e5a
-
- .skin-square &.blue
- background #2489c5
-
- .skin-square &.aero
- background #9cc2cb
-
- .skin-square &.grey
- background #73716e
-
- .skin-square &.yellow
- background #fc3
-
- .skin-square &.pink
- background #a77a94
-
- .skin-square &.purple
- background #6a5a8c
-
- .skin-square &.orange
- background #f70
-
- .skin-flat &.red
- background #ec7063
-
- .skin-flat &.green
- background #1abc9c
-
- .skin-flat &.blue
- background #3498db
-
- .skin-flat &.grey
- background #95a5a6
-
- .skin-flat &.orange
- background #f39c12
-
- .skin-flat &.yellow
- background #f1c40f
-
- .skin-flat &.pink
- background #af7ac5
-
- .skin-flat &.purple
- background #8677a7
-
- .skin-line &.yellow
- background #FFC414
-
-.skins-info
- padding 13px 0 57px
- font-size 16px
- line-height 22px
- text-align center
-
- p
- margin-bottom 17px
-
-.skin-pre
- padding 43px 60px 0
-
-.skin-usage
- padding 19px 60px 8px
- list-style decimal outside
-
- li
- margin-bottom 23px
-
- .schemes
- margin-bottom -3px
- padding 13px 0 0 20px
- color #888
-
- ul
- float left
- padding-right 60px
-
- li
- margin 0
- padding-bottom 3px
-
-.usage
- position relative
- margin-bottom 80px
- background #fff
-
- a
- border-bottom-color #ddd
-
- .self
- border-bottom-color #bbb
-
- .arrows
- top 0
-
- &:hover .arrows .top
- &:hover .arrows .bottom
- left 0
-
- h2
- color #fff
- background #1f7f5c
-
- h4
- margin 26px 0 10px
-
- &.indeterminate
- margin-top 28px
-
- p
- margin-bottom 5px
-
- &.offset
- margin-top 10px
-
- &.callbacks-info
- margin-bottom 19px
-
- &.methods-info
- margin-bottom 10px
-
- &.methods-callback
- margin-top 10px
-
- &.issue-tracker
- margin-top 31px
-
- .markup
- margin 9px 0 16px
-
- .usage-inner
- font-size 15px
- line-height 23px
- padding 41px 60px 39px
-
-.markup
- margin 10px 0 18px
- padding 8px 0 9px 17px
- font 14px/20px $stack
- color lighten(#555, 20%)
- background lighten(#d7d4cc, 40%)
- border-left 3px solid darken(#ebeae5, 10%)
-
- .comment
- color lighten(#555, 40%)
-
- .self
- color #555
-
- &:hover
- color #333
-
- .skin-polaris &
- background darken(#2C323C, 20%)
- border-left-color darken(#2C323C, 30%)
-
- .skin-futurico &
- background darken(#2E3035, 20%)
- border-left-color darken(#2E3035, 30%)
-
- .skin-polaris &
- .skin-futurico &
-
- .comment
- color #555
-
-.browsers
- margin-bottom 74px
-
- h2
- margin-bottom 29px
- font-size 24px
-
-.browsers-inner
- padding 0 60px
- font-size 15px
- line-height 23px
-
- p
- margin-bottom 15px
-
-.benefits
- position relative
- margin-bottom 59px
- color #888
- background #232323
-
- .arrows
- top 0
-
- &:hover .arrows .top
- &:hover .arrows .bottom
- left 0
-
- h2
- color #fff
- background #6a5b8c
-
- a
- color #888
- border-bottom-color #444
-
- &:hover
- color #aaa
-
- .mark
- color #777
- background lighten(#232323, 10%)
-
-.benefits-inner
- padding 41px 60px 29px
- font-size 15px
- line-height 23px
-
- p
- margin-bottom 15px
-
- ul
- margin -10px 0 15px
-
-.download
- height 63px
- text-align center
-
- a
- display block
- height 60px
- font-size 18px
- line-height 58px
- color #fff
- border-bottom 0 solid darken(#E76B66, 10%)
- background #E76B66
- -webkit-transition border-bottom .2s
- -moz-transition border-bottom .2s
- -ms-transition border-bottom .2s
- -o-transition border-bottom .2s
- transition border-bottom .2s
-
- &:before
- content ''
- display inline-block
- width 26px
- height 26px
- margin-right 12px
- background url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAACYUlEQVR4Xr3VPWhTURjH4VOt0ES7ZRJbEJpsNsaimx9E0GpRCdgU/NhsRAdNBYcK0RirQcSkIIK2cRBRiragVayDhqBDLVWatFvsIKK2UMEp4KBcf8N/KNdwvcHWAw8c/rzvebk5yU2dZVnmf6wVNdb70Ca+5Rrkx0e8E/ZkyzCoAyuxBZu17/jXQV34jjwCytowjUk90Ywyo5q8errcDoriPgpoRhEj6MQrGHmpbARF1RbUG3Uz6Bae4iBacQNNSKEPRi4pa1JNq3pGcds+qNrXu4B1CKKCWtZqlPAZO/72RDGsRdKWh5ATIdOSpHpjbu6ojBfYBiPdOIQeHJMeZd0wsh1jKDsNakEc97AHo8o3IYCz2I1nGMYuZQHVGPXs1RlxtNgH+TCFtBpvIqua40ghqkGdOIp27VOqMcigX8PTKIKzWXwZDDbAQhDG5o6yx2iAkQY80T4HYxOEpbP/uCOnN+wq1Nlq6x3qrWp3NIcKJvAWV+FVzU804i6uwyNZZY34BaOeyzpjQmfOLR70DSGcwyxOIa7mAZzHQ+QxLHllCdUYnMYZzOqsjeBsPbp8QFZ7Lw7gCt4jhGu4qCEGa5SVVWPUM4Yjbn5HfrTjNYzk8AAZ5CSjbBBG3qjXr0CqX+YAviJpy6cQg9NKIoJBN6+gIGbwA16kMY5eeGDEo2xcNV71TCPo5qM7iX14hJIueB4XkICRhLJ51ZTUsx8n3AwawmGE8QUhRDR4J4yElUUQUm1YvUPOfxPO4khj66KL70W/m+Z6uF3P0YdJBRVlZqkHlbEezQo+YWHJB8mC1Lx+Ayeq7nRIoewwAAAAAElFTkSuQmCC")
- *background-image url(ie/icon-options.png)
- vertical-align middle
-
- &:hover
- border-bottom-width 3px
-
-.license
- color #444
- text-align center
- padding 30px 0 75px
-
-.footer
- padding-top 28px
- height 60px
- color #666
- background #e2dfd8
-
- ul
- float left
-
- li
- float left
- padding 2px 10px 0 0
-
- &.local li
- padding 0 30px 0 0
-
- .code
- float right
-
- a
- color #444
-
- &:hover
- color #222
-
-.footer-inner
- width 930px
- margin 0 auto
- overflow hidden
-
-.fork-me
- position fixed
- *position absolute
- top 0
- right 0
- width 40px
- height 40px
- overflow hidden
- text-indent 100%
- white-space nowrap
- background #28545b url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAnElEQVR4XqVSgQmEMAyszw/gCI7wK7iBblBHcISfxG6gG/gjuIGO0A3ygaYQCCG2HhweF+6aShsAcDcBJBpuvlwFagqGJwUf5EL6kgV2eEe2yIgc9QI73CMPs8AOywI7nHDSzCxYxcnJ6+hrFnQkJrb2nGclP3Fj+vf0IUV1AgCZHiS86lOObxD4qqSD5mtXmAq1e2fB3vqXact3f/JmXumJlVq1AAAAAElFTkSuQmCC") 50% no-repeat
- *background-image url(ie/icon-fork.png)
-
- &:hover
- background-color #1f7f5c
-
-.skin dt
-.fork-me
- -webkit-transition background-color .2s
- -moz-transition background-color .2s
- -ms-transition background-color .2s
- -o-transition background-color .2s
- transition background-color .2s
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/icheck.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/icheck.png
deleted file mode 100644
index 497c5e66..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/icheck.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/arrow-bottom.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/arrow-bottom.png
deleted file mode 100644
index a815b3f6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/arrow-bottom.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/arrow-top.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/arrow-top.png
deleted file mode 100644
index 0836c0e3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/arrow-top.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/header-line.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/header-line.png
deleted file mode 100644
index f6240feb..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/header-line.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-fork.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-fork.png
deleted file mode 100644
index 2c3e3b9c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-fork.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-github.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-github.png
deleted file mode 100644
index ed781862..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-github.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-lab.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-lab.png
deleted file mode 100644
index 4d42726a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-lab.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-options.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-options.png
deleted file mode 100644
index 20cbb613..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-options.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-star.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-star.png
deleted file mode 100644
index a1c11692..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/ie/icon-star.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.eot b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.eot
deleted file mode 100644
index 69ddb387..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.eot
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.svg b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.svg
deleted file mode 100644
index 022992fe..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.svg
+++ /dev/null
@@ -1,1490 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
-<svg xmlns="http://www.w3.org/2000/svg">
-<metadata></metadata>
-<defs>
-<font id="montserratbold" horiz-adv-x="1525" >
-<font-face units-per-em="2048" ascent="1638" descent="-410" />
-<missing-glyph horiz-adv-x="540" />
-<glyph horiz-adv-x="0" />
-<glyph horiz-adv-x="682" />
-<glyph horiz-adv-x="0" />
-<glyph horiz-adv-x="0" />
-<glyph unicode="&#xd;" horiz-adv-x="681" />
-<glyph unicode=" " horiz-adv-x="540" />
-<glyph unicode="&#x09;" horiz-adv-x="540" />
-<glyph unicode="&#xa0;" horiz-adv-x="540" />
-<glyph unicode="!" horiz-adv-x="645" d="M141 1432h363v-254l-62 -738h-241l-60 738v254zM141 164q0 76 52.5 128t128 52t128 -52t52.5 -128t-52.5 -128t-128 -52t-128 52t-52.5 128z" />
-<glyph unicode="&#x22;" horiz-adv-x="886" d="M145 883v549h244v-549h-244zM498 883v549h243v-549h-243z" />
-<glyph unicode="#" horiz-adv-x="1529" d="M1386 850h-206l-43 -256h235l-55 -283h-227l-54 -311h-307l53 311h-186l-53 -311h-310l54 311h-197l55 283h191l43 256h-219l55 283h211l55 331h310l-56 -331h185l55 331h311l-59 -331h215zM874 850h-186l-45 -256h186q27 164 45 256z" />
-<glyph unicode="$" horiz-adv-x="1300" d="M553 -141v149q-260 41 -479 236l190 231q160 -139 289 -178v305q-215 55 -315.5 148.5t-100.5 268.5t115 288.5t301 136.5v100h217v-104q205 -29 408 -170l-168 -242q-129 92 -240 123v-295q221 -57 326.5 -153.5t105.5 -272.5t-117.5 -290.5t-314.5 -137.5v-143h-217z M874 414q0 43 -22.5 71.5t-81.5 53.5v-252q104 33 104 127zM553 1159q-88 -31 -88 -112.5t88 -124.5v237z" />
-<glyph unicode="%" horiz-adv-x="1677" d="M1522 1432l-1026 -1432h-353l1028 1432h351zM1239 170q37 0 61.5 27.5t24.5 72.5t-24.5 75t-60.5 30t-60.5 -30t-24.5 -75t23.5 -72.5t60.5 -27.5zM1456 67q-86 -83 -216 -83t-216 84t-86 203.5t86 203.5t216 84t216 -84t86 -204.5t-86 -203.5zM432 1008q37 0 61.5 27.5 t24.5 72.5t-24.5 74.5t-60.5 29.5t-60.5 -29.5t-24.5 -74.5t23.5 -72.5t60.5 -27.5zM649 904q-86 -83 -216 -83t-216 84t-86 204t86 204t216 84t216 -84t86 -205t-86 -204z" />
-<glyph unicode="&#x26;" horiz-adv-x="1433" d="M1012 123q-172 -139 -398.5 -139t-372 115.5t-145.5 316.5q0 225 301 399q-68 82 -98.5 144.5t-30.5 146.5q0 174 126 266t298 92t294 -89t122 -249q0 -201 -293 -372q115 -143 172 -207q51 94 78 198l240 -172q-47 -129 -115 -239l203 -201l-203 -192zM460.5 287 q59.5 -47 154 -47t202.5 90q-150 158 -258 286q-158 -98 -158 -210q0 -72 59.5 -119zM611 1191q-36 -32 -36 -86t82 -157q154 82 154 154q0 59 -37 90t-82 31t-81 -32z" />
-<glyph unicode="'" horiz-adv-x="534" d="M145 883v549h244v-549h-244z" />
-<glyph unicode="(" horiz-adv-x="741" d="M482 1115q-85 -253 -85 -473t85 -474t208 -428h-332q-100 141 -183 398t-83 503t83 504t183 399h332q-123 -176 -208 -429z" />
-<glyph unicode=")" horiz-adv-x="741" d="M259 168q85 254 85 474t-85 473t-208 429h332q100 -141 183 -399t83 -504t-83 -503t-183 -398h-332q123 174 208 428z" />
-<glyph unicode="*" horiz-adv-x="933" d="M569 915l13 -172h-230l13 172l-146 -100l-104 186l172 86l-174 87l106 182l146 -96l-13 172h230l-13 -172l146 96l106 -182l-174 -87l172 -86l-104 -186z" />
-<glyph unicode="+" horiz-adv-x="1196" d="M457 223v369h-359v252h359v368h282v-368h359v-252h-359v-369h-282z" />
-<glyph unicode="," horiz-adv-x="608" d="M186 25q-72 51 -71.5 133t55.5 134t133 52t134.5 -51t56.5 -120t-60 -165l-123 -211h-202z" />
-<glyph unicode="-" horiz-adv-x="1003" d="M137 479v273h729v-273h-729z" />
-<glyph unicode="." horiz-adv-x="589" d="M115 164q0 76 52 128t128 52t128 -52t52 -128t-52 -128t-128 -52t-128 52t-52 128z" />
-<glyph unicode="/" horiz-adv-x="1257" d="M913 1649h291l-860 -1878h-289z" />
-<glyph unicode="0" horiz-adv-x="1413" d="M428 723q0 -215 67.5 -346t211 -131t211 131t67.5 346t-67.5 346t-211 131t-211 -131t-67.5 -346zM262.5 185.5q-147.5 201.5 -147.5 538.5t147.5 538.5t444.5 201.5t444 -201.5t147 -538.5t-147 -538.5t-444 -201.5t-444.5 201.5z" />
-<glyph unicode="1" horiz-adv-x="825" d="M63 1432h580v-1432h-307v1159h-273v273z" />
-<glyph unicode="2" horiz-adv-x="1239" d="M720 873.5q54 76.5 54 148.5t-47 120t-121 48q-135 0 -256 -193l-256 152q100 156 220 235.5t305.5 79.5t325.5 -117.5t140 -320.5q0 -111 -56 -212t-208 -259l-258 -268h565v-287h-1009v238l420 430q127 129 181 205.5z" />
-<glyph unicode="3" horiz-adv-x="1210" d="M154 1159v273h876v-222l-293 -333q172 -29 266.5 -145t94.5 -267q0 -225 -152.5 -353t-390.5 -128t-481 168l131 254q203 -143 362 -144q96 0 158.5 47t62.5 136.5t-71.5 141.5t-198.5 52q-68 0 -190 -39v236l274 323h-448z" />
-<glyph unicode="4" horiz-adv-x="1204" d="M649 618v250h307v-250h162v-276h-162v-342h-307v342h-575v244l510 846h348l-486 -814h203z" />
-<glyph unicode="5" horiz-adv-x="1220" d="M1036 1432v-277h-565v-240q63 18 145 19q207 0 356.5 -125t149.5 -337t-154.5 -350t-381.5 -138q-291 0 -486 215l168 233q18 -18 49 -45t113 -71t164 -44t145.5 49.5t63.5 145.5t-68.5 148.5t-177 52.5t-252.5 -78l-133 143v699h864z" />
-<glyph unicode="6" horiz-adv-x="1290" d="M725 1190q-133 0 -206 -89t-89 -243q133 86 283 86q201 0 335 -131t134 -349t-144.5 -349t-363.5 -131q-152 0 -263.5 58t-172.5 163q-123 203 -123 508q0 197 48 345t132 234q164 172 405 172q100 0 191.5 -29.5t140.5 -60.5t109 -78l-152 -225q-12 12 -35.5 32.5 t-93 53.5t-135.5 33zM523.5 617.5q-64.5 -56.5 -64.5 -146.5t61.5 -154.5t153.5 -64.5t153.5 57.5t61.5 148.5t-55.5 153.5t-150.5 62.5t-159.5 -56.5z" />
-<glyph unicode="7" horiz-adv-x="1185" d="M96 973v459h1034v-242l-579 -1190h-348l553 1157h-361v-184h-299z" />
-<glyph unicode="8" horiz-adv-x="1314" d="M657 1464q213 0 354.5 -112.5t141.5 -277.5t-127 -283q178 -137 178 -361q0 -188 -151.5 -317t-395 -129t-395 129t-151.5 317q0 223 178 361q-129 121 -129 284.5t142 276t355 112.5zM657 250q84 0 156 48t72 140t-70 141.5t-158 49.5t-157.5 -49.5t-69.5 -141.5 t71.5 -140t155.5 -48zM657.5 874q77.5 0 136 49.5t58.5 122t-57.5 122t-137 49.5t-137 -49.5t-57.5 -122t58.5 -122t136 -49.5z" />
-<glyph unicode="9" horiz-adv-x="1288" d="M563 258q133 0 206 89t89 243q-131 -88 -283 -88q-201 0 -335 132t-134 349t144.5 349t363.5 132q152 0 263.5 -58t175.5 -163q121 -203 121 -508q0 -197 -48.5 -345t-130.5 -234q-168 -172 -407 -172q-100 0 -192.5 29.5t-139.5 59t-109 77.5l160 225q14 -12 38 -31.5 t91.5 -52.5t126.5 -33zM765.5 829.5q63.5 55.5 63.5 145.5t-61 155.5t-153.5 65.5t-150.5 -58.5t-58 -148.5t53 -152.5t148 -62.5t158.5 55.5z" />
-<glyph unicode=":" horiz-adv-x="634" d="M137 164q0 76 52.5 128t128 52t128 -52t52.5 -128t-52.5 -128t-128 -52t-128 52t-52.5 128zM137 702.5q0 75.5 52.5 128t128 52.5t128 -52.5t52.5 -128t-52.5 -128t-128 -52.5t-128 52.5t-52.5 128z" />
-<glyph unicode=";" horiz-adv-x="645" d="M211 20q-74 53 -74 135.5t55.5 134.5t134.5 52t135 -51t56 -118t-59 -169l-127 -211h-201zM137 702.5q0 75.5 52.5 128t128 52.5t128 -52.5t52.5 -128t-52.5 -128t-128 -52.5t-128 52.5t-52.5 128z" />
-<glyph unicode="&#x3c;" horiz-adv-x="1230" d="M84 668v280l995 469v-301l-657 -303l657 -311v-303z" />
-<glyph unicode="=" horiz-adv-x="1202" d="M102 1102h998v-252h-998v252zM102 592h998v-252h-998v252z" />
-<glyph unicode="&#x3e;" horiz-adv-x="1230" d="M1147 948v-280l-995 -469v303l657 311l-657 303v301z" />
-<glyph unicode="?" horiz-adv-x="1073" d="M678 426h-311v154q0 84 21.5 126t90.5 113l139 144q31 37 31 95t-32.5 97t-86 39t-89 -46t-44.5 -122h-325q23 205 149.5 321.5t318 116.5t311.5 -104.5t120 -288.5q0 -82 -20.5 -122t-29 -57.5t-38 -52t-39.5 -44.5q-49 -49 -93 -92.5t-58.5 -71t-14.5 -82.5v-123z M346 164q0 76 52.5 128t128 52t128 -52t52.5 -128t-52.5 -128t-128 -52t-128 52t-52.5 128z" />
-<glyph unicode="@" horiz-adv-x="1824" d="M1409 250q55 0 97 88t42 221q0 289 -165.5 478.5t-444.5 189.5t-469 -199t-190 -476.5t179 -461.5t443 -184q207 0 365 151l84 -145q-82 -72 -209 -116t-240 -44q-342 0 -572.5 228.5t-230.5 571.5t243 585.5t585 242.5t571 -233.5t229 -581.5q0 -225 -93 -361t-244 -136 q-78 0 -142.5 47t-89.5 118q-113 -145 -286 -145t-301 131t-128 333t116 340t304 138q63 0 120.5 -27.5t82.5 -54.5l27 -26v84h256v-654q0 -102 61 -102zM1039.5 729.5q-54.5 67.5 -142.5 67.5t-140 -67.5t-52 -167t52 -173.5t142 -74t142.5 71t52.5 173.5t-54.5 170z" />
-<glyph unicode="A" d="M1196 0l-133 309h-600l-133 -309h-340l618 1432h310l618 -1432h-340zM764 1006l-180 -416h358z" />
-<glyph unicode="B" horiz-adv-x="1411" d="M803 0h-627v1432h557q145 0 251 -35t159 -94q96 -111 96 -250q0 -168 -109 -250q-37 -29 -51 -36t-51 -24q133 -29 212 -120t79 -226q0 -150 -102 -264q-119 -133 -414 -133zM496 852h151q133 0 197.5 28.5t64.5 124t-59 126t-201 30.5h-153v-309zM496 270h219 q137 0 205.5 34t68.5 133.5t-72.5 131t-232.5 31.5h-188v-330z" />
-<glyph unicode="C" horiz-adv-x="1499" d="M834 283q236 0 385 186l204 -211q-244 -274 -574.5 -274t-544.5 208.5t-214 527t218 531.5t534 213q352 0 590 -268l-199 -225q-152 188 -377 188q-180 0 -308 -117.5t-128 -317.5t121 -320.5t293 -120.5z" />
-<glyph unicode="D" horiz-adv-x="1574" d="M1270 1244.5q205 -187.5 205 -521.5t-200 -528.5t-609 -194.5h-490v1432h506q383 0 588 -187.5zM1035.5 393.5q117.5 110.5 117.5 321.5t-117.5 324.5t-361.5 113.5h-178v-870h202q220 0 337.5 110.5z" />
-<glyph unicode="E" horiz-adv-x="1339" d="M1208 1432v-285h-712v-295h641v-272h-641v-297h735v-283h-1055v1432h1032z" />
-<glyph unicode="F" horiz-adv-x="1253" d="M1159 1432v-281h-663v-309h630v-281h-630v-561h-320v1432h983z" />
-<glyph unicode="G" horiz-adv-x="1536" d="M1106 729h321v-508q-213 -238 -589 -237q-315 0 -529.5 208.5t-214.5 527t218 531.5t526.5 213t535.5 -202l-166 -240q-96 84 -177 115.5t-175 31.5q-182 0 -307 -123.5t-125 -326.5t120 -325t285.5 -122t276.5 64v393z" />
-<glyph unicode="H" horiz-adv-x="1560" d="M1065 1432h319v-1432h-319v563h-569v-563h-320v1432h320v-598h569v598z" />
-<glyph unicode="I" horiz-adv-x="671" d="M176 1432h320v-1432h-320v1432z" />
-<glyph unicode="J" horiz-adv-x="1138" d="M229 1157v275h746v-934q0 -256 -132 -383t-339 -127q-258 0 -451 198l166 230q129 -139 270 -140q68 0 116 52.5t48 156.5v672h-424z" />
-<glyph unicode="K" horiz-adv-x="1454" d="M176 1432h320v-588l540 588h396l-570 -633q74 -102 272.5 -382t297.5 -417h-373l-420 565l-143 -159v-406h-320v1432z" />
-<glyph unicode="L" horiz-adv-x="1163" d="M176 0v1432h320v-1147h610v-285h-930z" />
-<glyph unicode="M" horiz-adv-x="1953" d="M1458 901l-387 -782h-190l-385 782v-901h-320v1432h432l369 -787l371 787h430v-1432h-320v901z" />
-<glyph unicode="N" horiz-adv-x="1673" d="M1178 1432h319v-1432h-319l-682 897v-897h-320v1432h299l703 -922v922z" />
-<glyph unicode="O" horiz-adv-x="1691" d="M1149 1050.5q-123 135.5 -302 135.5t-302 -135.5t-123 -327t123 -325.5t302 -134t302 134t123 325.5t-123 327zM845.5 -14q-317.5 0 -534.5 212t-217 527t217 527t534.5 212t534.5 -212t217 -527t-217 -527t-534.5 -212z" />
-<glyph unicode="P" horiz-adv-x="1386" d="M1162.5 1304q150.5 -128 150.5 -393.5t-154.5 -388.5t-472.5 -123h-190v-399h-320v1432h506q330 0 480.5 -128zM927.5 740.5q57.5 64.5 57.5 188.5t-74.5 176t-232.5 52h-182v-481h215q159 0 216.5 64.5z" />
-<glyph unicode="Q" horiz-adv-x="1693" d="M1597 725q0 -223 -113.5 -401.5t-305.5 -266.5q18 -31 58 -52t83 -21t84 13t65 32q53 43 76 84l166 -199q-176 -186 -440 -186q-123 0 -242 67.5t-182 190.5q-317 0 -534.5 212t-217.5 527t217 527t534.5 212t534.5 -212t217 -527zM1149 1050.5q-123 135.5 -302 135.5 t-302 -135.5t-123 -327t123 -325.5t302 -134t302 134t123 325.5t-123 327z" />
-<glyph unicode="R" horiz-adv-x="1488" d="M1337 956q0 -344 -272 -444l362 -512h-393l-317 457h-221v-457h-320v1432h543q334 0 476 -113t142 -363zM952.5 786.5q59.5 53.5 59.5 169t-61.5 158.5t-215.5 43h-239v-424h233q164 0 223.5 53.5z" />
-<glyph unicode="S" horiz-adv-x="1306" d="M511 1146q-46 -38 -46 -100.5t56.5 -99.5t260 -87t316 -150.5t112.5 -293t-144 -312t-380 -119.5q-340 0 -612 252l190 233q231 -203 428 -203q88 0 138.5 38t50.5 102.5t-53.5 102.5t-211.5 77q-250 59 -365.5 154.5t-115.5 299t146.5 314t365.5 110.5q143 0 286.5 -49 t250.5 -139l-162 -234q-186 141 -385 142q-80 0 -126 -38z" />
-<glyph unicode="T" horiz-adv-x="1245" d="M782 1155v-1155h-319v1155h-406v277h1131v-277h-406z" />
-<glyph unicode="U" horiz-adv-x="1538" d="M770 270q135 0 214 99.5t79 271.5v791h319v-801q0 -311 -172 -478t-440 -167t-441 168t-173 477v801h319v-791q0 -172 80 -271.5t215 -99.5z" />
-<glyph unicode="V" horiz-adv-x="1409" d="M705 520l364 912h346l-575 -1432h-271l-575 1432h346z" />
-<glyph unicode="W" horiz-adv-x="2086" d="M623 608l254 824h333l252 -824l285 824h346l-500 -1432h-237l-314 995l-311 -995h-237l-500 1432h346z" />
-<glyph unicode="X" horiz-adv-x="1423" d="M981 1432h385l-446 -691l483 -741h-389l-305 471l-303 -471h-386l482 733l-449 699h383l273 -424z" />
-<glyph unicode="Y" horiz-adv-x="1265" d="M793 0h-320v565l-496 867h347l309 -533l309 533h346l-495 -867v-565z" />
-<glyph unicode="Z" horiz-adv-x="1394" d="M94 0v219l750 936h-725v277h1161v-222l-748 -931h760v-279h-1198z" />
-<glyph unicode="[" horiz-adv-x="765" d="M684 1550v-231h-264v-1362h264v-231h-526v1824h526z" />
-<glyph unicode="\" horiz-adv-x="1171" d="M57 1550h310l745 -1550h-309z" />
-<glyph unicode="]" horiz-adv-x="765" d="M82 -274v231h264v1362h-264v231h526v-1824h-526z" />
-<glyph unicode="^" horiz-adv-x="989" d="M338 1579h-293l281 363h338l280 -363h-293l-157 174z" />
-<glyph unicode="_" horiz-adv-x="1474" d="M137 -270v178h1200v-178h-1200z" />
-<glyph unicode="`" horiz-adv-x="782" d="M680 1575h-293l-285 229l316 135z" />
-<glyph unicode="a" horiz-adv-x="1216" d="M1081 0h-288v133q-119 -150 -294 -149.5t-294 101.5t-119 270t123 253t336 84h229v6q0 176 -186 176q-80 0 -169 -31.5t-151 -78.5l-137 199q217 158 496 157q201 0 327.5 -100t126.5 -318v-702zM772 420v53h-192q-184 0 -185 -115q0 -59 44 -90.5t126 -31.5t144.5 50 t62.5 134z" />
-<glyph unicode="b" horiz-adv-x="1363" d="M1130.5 963.5q149.5 -156.5 149.5 -402.5t-153.5 -411.5t-349 -165.5t-324.5 161v-145h-308v1520h308v-541q127 141 327.5 141t350 -156.5zM523.5 331q74.5 -85 181 -85t186.5 85t80 218t-78 223t-186.5 90t-183 -89t-74.5 -223t74.5 -219z" />
-<glyph unicode="c" horiz-adv-x="1191" d="M674 256q154 0 276 154l183 -205q-213 -221 -461 -221t-419 156.5t-171 409.5t173 411.5t411 158.5q119 0 240.5 -49t213.5 -145l-159 -209q-53 63 -130 98t-153 35q-121 0 -208 -79t-87 -219t87 -218t204 -78z" />
-<glyph unicode="d" horiz-adv-x="1363" d="M237.5 149.5q-153.5 165.5 -153.5 411.5t149.5 402.5t350 156.5t327.5 -141v541h308v-1520h-308v145q-129 -162 -324.5 -161.5t-349 166zM473 331q80 -85 186.5 -85t181 85t74.5 219t-74.5 223t-183 89t-186.5 -90t-78 -223t80 -218z" />
-<glyph unicode="e" horiz-adv-x="1265" d="M1100 160q-186 -176 -437 -176t-415 154.5t-164 414.5t167 413.5t394 153.5t386 -137t159 -377v-164h-803q14 -90 94 -147t181 -57q162 0 266 108zM804.5 813q-63.5 53 -154.5 53t-166.5 -55t-88.5 -149h484q-11 98 -74.5 151z" />
-<glyph unicode="f" horiz-adv-x="823" d="M512 1165v-73h266v-222h-266v-870h-309v870h-129v222h129v67q0 180 109.5 285.5t272.5 105.5t296 -123l-111 -206q-68 78 -149 77q-47 0 -78 -33.5t-31 -99.5z" />
-<glyph unicode="g" horiz-adv-x="1366" d="M844 782.5q-74 75.5 -182.5 75.5t-187.5 -75.5t-79 -207t77 -212t187.5 -80.5t184.5 79.5t74 212t-74 208zM961 186q-145 -162 -361.5 -161.5t-365 146.5t-148.5 391t152.5 401.5t349 156.5t325.5 -162v146h308v-961q0 -147 -51.5 -261.5t-137.5 -180.5 q-170 -135 -401 -135q-123 0 -251 40t-224 113l118 232q152 -115 321 -115t267.5 84t98.5 266z" />
-<glyph unicode="h" horiz-adv-x="1308" d="M453 594v-594h-308v1520h308v-541q139 141 312 141t292 -123t119 -327v-670h-308v602q0 254 -186 254q-92 0 -160.5 -66.5t-68.5 -195.5z" />
-<glyph unicode="i" horiz-adv-x="598" d="M453 0h-308v1102h308v-1102zM119 1370q0 76 52 128t128 52t128 -52t52 -128t-52 -128t-128 -52t-128 52t-52 128z" />
-<glyph unicode="j" horiz-adv-x="702" d="M250 -20v1124h307v-1149q0 -180 -109.5 -284.5t-268.5 -104.5t-302 131l141 227q61 -72 138 -71q41 0 67.5 32t26.5 95zM223 1370q0 76 52.5 128t128 52t128 -52t52.5 -128t-52.5 -128t-128 -52t-128 52t-52.5 128z" />
-<glyph unicode="k" horiz-adv-x="1218" d="M453 0h-308v1520h308v-781l342 365h387l-420 -447l436 -657h-364l-281 422l-100 -105v-317z" />
-<glyph unicode="l" horiz-adv-x="598" d="M453 0h-308v1520h308v-1520z" />
-<glyph unicode="m" horiz-adv-x="2013" d="M1157 594v-594h-309v602q0 131 -40 192.5t-129 61.5t-157.5 -66.5t-68.5 -195.5v-594h-308v1102h308v-125q127 143 290 143q104 0 189.5 -61.5t128.5 -149.5q63 100 170.5 155.5t216.5 55.5q195 0 313.5 -115.5t118.5 -334.5v-670h-309v602q0 254 -187 254 q-92 0 -159.5 -66.5t-67.5 -195.5z" />
-<glyph unicode="n" horiz-adv-x="1308" d="M453 614v-614h-308v1102h308v-123q139 141 313 141t292 -123t118 -327v-670h-308v623q0 254 -186 254q-92 0 -160.5 -67t-68.5 -196z" />
-<glyph unicode="o" horiz-adv-x="1329" d="M468 331q77 -85 196.5 -85t196.5 85t77 220t-77 221t-196.5 86t-196.5 -86t-77 -221t77 -220zM1081 147.5q-166 -163.5 -416.5 -163.5t-416.5 163.5t-166 403.5t166 404.5t416.5 164.5t416.5 -164.5t166 -404.5t-166 -403.5z" />
-<glyph unicode="p" horiz-adv-x="1363" d="M1129.5 959.5q150.5 -160.5 150.5 -404.5t-150.5 -407.5t-352.5 -163.5t-324 161v-542h-308v1499h308v-123q141 141 333.5 141t343 -160.5zM523.5 331q74.5 -85 181 -85t186.5 85t80 218t-78 223t-186.5 90t-183 -89t-74.5 -223t74.5 -219z" />
-<glyph unicode="q" horiz-adv-x="1363" d="M241.5 142.5q-157.5 158.5 -157.5 407.5t153.5 409.5t342 160.5t329.5 -141v123h310v-1499h-310v485q-131 -104 -299 -104q-211 0 -368.5 158.5zM473 331q80 -85 186.5 -85t180 85t73.5 219t-73.5 223t-182 89t-186.5 -89t-78 -223t80 -219z" />
-<glyph unicode="r" horiz-adv-x="841" d="M725 831q-137 0 -204.5 -97t-67.5 -257v-477h-308v1102h308v-146q59 68 148 115t181 49l2 -289h-59z" />
-<glyph unicode="s" horiz-adv-x="1064" d="M855 82q-120 -98 -304 -98q-123 0 -256 44t-240 130l135 192q172 -133 367 -133q59 0 94 23.5t35 62.5t-48 72t-139 61.5t-139.5 49t-109.5 59.5q-125 78 -125 230.5t123 248.5t317.5 96t388.5 -131l-114 -205q-143 98 -285.5 98.5t-142.5 -77.5q0 -43 45 -67.5 t149.5 -57.5t148.5 -50.5t105 -54.5q115 -70 115 -232.5t-120 -260.5z" />
-<glyph unicode="t" horiz-adv-x="901" d="M512 881v-494q0 -63 33 -99t78 -36q86 0 145 78l115 -215q-143 -131 -302 -131t-268.5 104.5t-109.5 284.5v508h-129v221h129v330h309v-330h266v-221h-266z" />
-<glyph unicode="u" horiz-adv-x="1310" d="M856 508v594h309v-1102h-309v145q-115 -162 -296 -161.5t-304 114t-123 336.5v668h309v-600q0 -254 187 -254q92 0 159.5 66.5t67.5 193.5z" />
-<glyph unicode="v" horiz-adv-x="1200" d="M442 0l-436 1104h320l274 -694l274 694h320l-436 -1104h-316z" />
-<glyph unicode="w" horiz-adv-x="1847" d="M719 0h-318l-374 1102h317l215 -666l215 666h297l215 -666l215 666h320l-375 -1102h-320l-202 600z" />
-<glyph unicode="x" horiz-adv-x="1198" d="M414 1102l188 -295l195 295h360l-379 -539l393 -563h-366l-215 303l-209 -303h-354l385 561l-365 541h367z" />
-<glyph unicode="y" horiz-adv-x="1208" d="M336 -434q-162 0 -305 131l139 227q78 -76 160 -76q43 0 73.5 42t30.5 89.5t-426 1122.5h328l268 -686l268 686h328l-512 -1299q-45 -113 -140 -175t-212 -62z" />
-<glyph unicode="z" horiz-adv-x="1132" d="M125 848v254h889v-240l-535 -606h565v-256h-958v254l520 594h-481z" />
-<glyph unicode="{" horiz-adv-x="737" d="M637 1300l-43 3q-90 0 -90 -80v-428q0 -109 -76 -160q76 -49 76 -158v-446q0 -68 133 -68v-250h-113q-307 0 -307 293v420q0 84 -47 84h-94v250h94q47 0 47 86v411q0 293 307 293h113v-250z" />
-<glyph unicode="|" horiz-adv-x="565" d="M156 -299v1890h254v-1890h-254z" />
-<glyph unicode="}" horiz-adv-x="737" d="M100 -37l43 -2q90 0 90 80v428q0 109 76 160q-76 49 -76 157v447q0 68 -133 67v250h113q307 0 307 -293v-419q0 -84 47 -84h95v-250h-95q-47 0 -47 -86v-412q0 -293 -307 -293h-113v250z" />
-<glyph unicode="~" horiz-adv-x="1095" d="M731 848q68 0 68 88q0 20 -6 45l245 -66q-12 -170 -90 -246.5t-194 -76.5q-70 0 -200 66.5t-169 66.5t-65.5 -39t-24.5 -111l-244 74q14 164 96 247t211 83q74 0 201 -65.5t172 -65.5z" />
-<glyph unicode="&#xa1;" horiz-adv-x="651" d="M508 0h-363v270l60 738h241l62 -738v-270zM145 1284q0 76 52.5 128t128 52t128 -52t52.5 -128t-52.5 -128t-128 -52t-128 52t-52.5 128z" />
-<glyph unicode="&#xa2;" horiz-adv-x="1224" d="M770 -240h-197v232q-203 33 -341 182.5t-138 374.5t137.5 376.5t341.5 184.5v236h197v-234q209 -31 363 -186l-160 -209q-84 96 -203 123v-572q53 16 101.5 51t70.5 62l21 29l182 -205q-170 -178 -375 -211v-234zM444.5 726q-49.5 -71 -49.5 -174t49.5 -175t128.5 -101 v551q-79 -30 -128.5 -101z" />
-<glyph unicode="&#xa3;" horiz-adv-x="1286" d="M604 1040v-223h320v-258h-320v-287h570v-272h-1047v272h156v287h-164v258h164v211q0 254 130 369.5t341 115.5q283 0 430 -258l-228 -184q-33 76 -84 119t-112.5 43t-108.5 -46.5t-47 -146.5z" />
-<glyph unicode="&#xa4;" horiz-adv-x="1558" d="M291 334q-94 137 -94 314t90 315l-172 174l192 194l182 -182q133 72 291 72t289 -74l182 184l193 -194l-172 -176q90 -139 90 -312.5t-96 -314.5l178 -180l-191 -195l-190 193q-135 -70 -287.5 -70t-279.5 70l-191 -193l-190 195zM778.5 356q114.5 0 188 83t73.5 212 t-73.5 211t-188 82t-188.5 -82t-74 -211t74 -212t188.5 -83z" />
-<glyph unicode="&#xa5;" horiz-adv-x="1517" d="M221 459h365v112h-365v197h234l-385 662h348l338 -584l350 584h346l-397 -662h225v-197h-360v-112h360v-197h-360v-262h-334v262h-365v197z" />
-<glyph unicode="&#xa6;" horiz-adv-x="602" d="M164 838v706h274v-706h-274zM164 -47v704h274v-704h-274z" />
-<glyph unicode="&#xa7;" horiz-adv-x="1273" d="M523 1233q-38 -31 -38 -83t48.5 -84t191.5 -69q246 -59 352.5 -142t106.5 -239q0 -207 -209 -292q131 -88 131 -236.5t-125 -253t-334 -104.5q-293 0 -538 223l172 207q215 -180 372.5 -180t157.5 98q0 49 -57.5 84t-240.5 88t-297 140t-114 253q0 86 50.5 163t144.5 118 q-111 78 -111 211q0 168 125 273t320 105q135 0 241.5 -37.5t223.5 -123.5l-154 -219q-172 131 -315 131q-66 0 -104 -31zM375 651q0 -78 99 -128t253 -50q78 0 131 34t53 89q0 84 -121.5 125t-220.5 41q-194 0 -194 -111z" />
-<glyph unicode="&#xa8;" horiz-adv-x="1087" d="M195 1415.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM590 1415.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xa9;" horiz-adv-x="1687" d="M1583 717q0 -305 -216 -523.5t-525.5 -218.5t-523.5 216.5t-214 521.5t216.5 524t523.5 219t523 -217t216 -522zM1432 716.5q0 241.5 -172.5 414t-415 172.5t-415.5 -174.5t-173 -416t170 -413.5t415.5 -172t418 174t172.5 415.5zM852 299q-172 0 -297 116.5t-125 305 t129 306.5t317.5 118t327.5 -146l-123 -153q-82 98 -207 98q-88 0 -150 -58.5t-62 -161.5t64.5 -163.5t154.5 -60.5q133 0 204 118l127 -153q-157 -166 -360 -166z" />
-<glyph unicode="&#xaa;" horiz-adv-x="733" d="M592 938h-152v63q-45 -70 -133 -69.5t-145.5 47.5t-57.5 125t60.5 118t163.5 40h104v6q0 88 -78 88q-61 0 -127 -29l-20 -10l-49 90q88 57 198 57q236 0 236 -194v-332zM430 1135v30h-90q-74 0 -74 -61q0 -29 18.5 -45.5t54.5 -16.5t63.5 25t27.5 68z" />
-<glyph unicode="&#xab;" horiz-adv-x="1236" d="M657 879l-241 -377l241 -379h-309l-250 379l250 377h309zM1118 879l-241 -377l241 -379h-309l-250 379l250 377h309z" />
-<glyph unicode="&#xac;" horiz-adv-x="1673" d="M129 911h1370v-731h-229v490h-1141v241z" />
-<glyph unicode="&#xad;" horiz-adv-x="1003" d="M137 479v273h729v-273h-729z" />
-<glyph unicode="&#xae;" horiz-adv-x="1687" d="M1583 717q0 -305 -216 -523.5t-525.5 -218.5t-523.5 216.5t-214 521.5t216.5 524t523.5 219t523 -217t216 -522zM1268 309q164 170 164 409.5t-172.5 412t-415 172.5t-415.5 -174.5t-173 -416t170 -413.5t418 -172t420 178h-238l-178 256h-90v-256h-226v832h330 q197 0 281 -68t84 -217q0 -182 -166 -254zM975 771q29 26 29 82t-30 77.5t-104 21.5h-112v-207h108q80 0 109 26z" />
-<glyph unicode="&#xaf;" horiz-adv-x="905" d="M795 1407v-238h-682v238h682z" />
-<glyph unicode="&#xb0;" horiz-adv-x="876" d="M438.5 1462q141.5 0 241.5 -98t100 -236.5t-100 -235.5t-241.5 -97t-242 97t-100.5 235.5t100.5 236.5t242 98zM334 1011q43 -48 104.5 -48t103.5 47t42 116.5t-42 116.5t-103.5 47t-104.5 -47t-43 -115.5t43 -116.5z" />
-<glyph unicode="&#xb1;" horiz-adv-x="1189" d="M453 1335h282v-295h357v-239h-357v-285h-282v285h-355v239h355v295zM98 414h994v-232h-994v232z" />
-<glyph unicode="&#xb2;" horiz-adv-x="899" d="M491.5 1111q30.5 42 30.5 79t-22.5 61.5t-57.5 24.5q-68 0 -143 -121l-178 107q66 100 140.5 151t190 51t203.5 -72.5t88 -197.5q0 -66 -34.5 -127t-126.5 -158l-127 -133h313v-196h-629v157l250 258q72 74 102.5 116z" />
-<glyph unicode="&#xb3;" horiz-adv-x="892" d="M156 1243v189h557v-150l-162 -186q96 -25 148.5 -95.5t52.5 -158.5q0 -137 -95.5 -217t-244 -80t-308.5 110l95 170q117 -88 219 -88q49 0 80.5 24.5t31.5 74t-44 75t-111.5 25.5t-118.5 -25v154l150 178h-250z" />
-<glyph unicode="&#xb4;" horiz-adv-x="782" d="M395 1579h-293l260 363l318 -134z" />
-<glyph unicode="&#xb5;" horiz-adv-x="1325" d="M162 -379v1481h309v-600q0 -254 186 -254q92 0 160 66.5t68 193.5v594h309v-1102h-309v92q-121 -109 -291 -108q-72 0 -123 14v-377h-309z" />
-<glyph unicode="&#xb6;" horiz-adv-x="1458" d="M70 1122q0 180 123.5 303t377.5 123h701v-1763h-273v1509h-200v-1509h-267v928h-40q-266 0 -369 196q-53 100 -53 213z" />
-<glyph unicode="&#xb7;" horiz-adv-x="610" d="M125 651q0 76 52 128t128 52t128 -52t52 -128t-52 -128t-128 -52t-128 52t-52 128z" />
-<glyph unicode="&#xb8;" horiz-adv-x="575" d="M500 -260q0 -88 -73 -153.5t-183.5 -65.5t-214.5 65l77 176q45 -39 80 -38.5t54.5 18.5t19.5 46t-24.5 49.5t-58.5 21.5t-73 -19l84 160h236l-57 -104q133 -45 133 -156z" />
-<glyph unicode="&#xb9;" horiz-adv-x="610" d="M82 1432h379v-867h-219v680h-160v187z" />
-<glyph unicode="&#xba;" horiz-adv-x="804" d="M326.5 1085.5q29.5 -34.5 76 -34.5t76 34.5t29.5 91t-29.5 92.5t-76 36t-76 -36t-29.5 -92.5t29.5 -91zM618.5 972q-86.5 -83 -216.5 -83t-216 84t-86 203.5t86 203.5t216 84t216.5 -84t86.5 -204.5t-86.5 -203.5z" />
-<glyph unicode="&#xbb;" horiz-adv-x="1236" d="M821 502l-241 377h309l250 -377l-250 -379h-309zM360 502l-241 377h309l250 -377l-250 -379h-309z" />
-<glyph unicode="&#xbc;" horiz-adv-x="1751" d="M1151 1544h235l-745 -1560h-235zM74 1430h377v-865h-220v678h-157v187zM1395 537h186v-172h94v-164h-94v-201h-186v201h-367v157l301 506h225l-299 -499h140v172z" />
-<glyph unicode="&#xbd;" horiz-adv-x="1798" d="M1128 1544h238l-745 -1560h-238zM74 1432h377v-867h-220v680h-157v187zM1433.5 531q30.5 42 30.5 79t-22.5 61.5t-57.5 24.5q-68 0 -143 -121l-178 107q66 100 140.5 151.5t190 51.5t204 -73t88.5 -198q0 -66 -35 -127t-127 -157l-127 -133h313v-197h-629v158l250 258 q72 73 102.5 115z" />
-<glyph unicode="&#xbe;" horiz-adv-x="1845" d="M1243 1544h236l-746 -1560h-235zM131 1243v189h557v-150l-162 -186q96 -25 148.5 -95.5t52.5 -158.5q0 -137 -95 -217t-243.5 -80t-308.5 110l94 170q117 -88 219 -88q49 0 81 24.5t32 74t-44 75t-111.5 25.5t-119.5 -25v154l150 178h-250zM1491 537h186v-172h95v-164 h-95v-201h-186v201h-367v157l301 506h226l-299 -499h139v172z" />
-<glyph unicode="&#xbf;" horiz-adv-x="1077" d="M399 1022h312v-154q0 -84 -21.5 -126t-91.5 -113l-139 -144q-31 -37 -31 -95t33 -97t86 -39t89 46t44 122h326q-23 -205 -150 -321.5t-318.5 -116.5t-311.5 104.5t-120 288.5q0 82 20.5 122t29 57t38 52t39.5 43q49 51 93.5 94t58.5 71t14 83v123zM731 1284 q0 -76 -52 -128t-128 -52t-128 52t-52 128t52 128t128 52t128 -52t52 -128z" />
-<glyph unicode="&#xc0;" d="M1196 0l-133 309h-600l-133 -309h-340l618 1432h310l618 -1432h-340zM764 1006l-180 -416h358zM918 1575h-293l-285 229l315 135z" />
-<glyph unicode="&#xc1;" d="M1196 0l-133 309h-600l-133 -309h-340l618 1432h310l618 -1432h-340zM764 1006l-180 -416h358zM899 1579h-293l260 363l318 -134z" />
-<glyph unicode="&#xc2;" d="M1196 0l-133 309h-600l-133 -309h-340l618 1432h310l618 -1432h-340zM764 1006l-180 -416h358zM580 1575h-252l231 323h383l232 -323h-252l-172 166z" />
-<glyph unicode="&#xc3;" d="M1196 0l-133 309h-600l-133 -309h-340l618 1432h310l618 -1432h-340zM764 1006l-180 -416h358zM633 1681q-63 0 -62 -106h-217q0 154 66.5 242t171.5 88q66 0 159 -56.5t113 -56.5q63 0 62 106h217q0 -154 -66.5 -241.5t-171.5 -87.5q-63 0 -159.5 56t-112.5 56z" />
-<glyph unicode="&#xc4;" d="M1196 0l-133 309h-600l-133 -309h-340l618 1432h310l618 -1432h-340zM764 1006l-180 -416h358zM420 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM815 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5 t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xc5;" d="M606 1430q-61 66 -61 154.5t64.5 153t154.5 64.5t154.5 -64.5t64.5 -154.5t-65 -156l618 -1427h-340l-133 309h-600l-133 -309h-340zM764 1006l-180 -416h358zM692 1583q0 -29 21.5 -50.5t50.5 -21.5t50.5 21.5t21.5 50.5t-21.5 50.5t-50.5 21.5t-50.5 -21.5t-21.5 -50.5 z" />
-<glyph unicode="&#xc6;" horiz-adv-x="2095" d="M1966 1432v-281h-715v-309h641v-269h-641v-292h738v-281h-1078v309h-405l-162 -309h-377l735 1432h1264zM911 598v504l-260 -504h260z" />
-<glyph unicode="&#xc7;" horiz-adv-x="1499" d="M834 283q236 0 385 186l204 -211q-207 -233 -495 -268l-54 -99q133 -45 134 -155q0 -88 -73 -153.5t-183.5 -65.5t-214.5 65l77 176q45 -39 80 -39t54.5 18.5t19.5 46.5t-24.5 49.5t-58.5 21.5t-73 -19l84 160q-266 45 -436 244.5t-170 498.5t218 512t534 213 q352 0 590 -268l-199 -225q-152 188 -377 188q-180 0 -308 -117.5t-128 -317.5t121 -320.5t293 -120.5z" />
-<glyph unicode="&#xc8;" horiz-adv-x="1339" d="M1208 1432v-285h-712v-295h641v-272h-641v-297h735v-283h-1055v1432h1032zM827 1575h-292l-285 229l315 135z" />
-<glyph unicode="&#xc9;" horiz-adv-x="1339" d="M1208 1432v-285h-712v-295h641v-272h-641v-297h735v-283h-1055v1432h1032zM809 1579h-293l260 363l318 -134z" />
-<glyph unicode="&#xca;" horiz-adv-x="1339" d="M1208 1432v-285h-712v-295h641v-272h-641v-297h735v-283h-1055v1432h1032zM489 1575h-251l231 323h383l231 -323h-252l-172 166z" />
-<glyph unicode="&#xcb;" horiz-adv-x="1339" d="M1208 1432v-285h-712v-295h641v-272h-641v-297h735v-283h-1055v1432h1032zM348 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM743 1734.5q0 63.5 44 107.5t107.5 44t108 -44t44.5 -107.5t-44.5 -107.5t-108 -44 t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xcc;" horiz-adv-x="671" d="M176 1432h320v-1432h-320v1432zM502 1575h-293l-285 229l316 135z" />
-<glyph unicode="&#xcd;" horiz-adv-x="671" d="M176 1432h320v-1432h-320v1432zM483 1579h-293l261 363l317 -134z" />
-<glyph unicode="&#xce;" horiz-adv-x="671" d="M176 1432h320v-1432h-320v1432zM166 1577h-252l231 324h383l232 -324h-252l-172 166z" />
-<glyph unicode="&#xcf;" horiz-adv-x="671" d="M176 1432h320v-1432h-320v1432zM-14 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM381 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xd0;" horiz-adv-x="1605" d="M53 573v273h152v586h506q383 0 587.5 -187.5t204.5 -521.5t-199.5 -528.5t-609.5 -194.5h-489v573h-152zM1064 393.5q118 110.5 118 321.5t-118 324.5t-362 113.5h-178v-307h480v-273h-480v-290h203q219 0 337 110.5z" />
-<glyph unicode="&#xd1;" horiz-adv-x="1673" d="M1178 1432h319v-1432h-319l-682 897v-897h-320v1432h299l703 -922v922zM717 1679q-63 0 -62 -106h-217q0 154 66.5 242t171.5 88q66 0 159 -56.5t113 -56.5q63 0 62 106h217q0 -154 -66.5 -241.5t-171.5 -87.5q-63 0 -159.5 56t-112.5 56z" />
-<glyph unicode="&#xd2;" horiz-adv-x="1691" d="M1149 1050.5q-123 135.5 -302 135.5t-302 -135.5t-123 -327t123 -325.5t302 -134t302 134t123 325.5t-123 327zM845.5 -14q-317.5 0 -534.5 212t-217 527t217 527t534.5 212t534.5 -212t217 -527t-217 -527t-534.5 -212zM1012 1575h-293l-285 229l316 135z" />
-<glyph unicode="&#xd3;" horiz-adv-x="1691" d="M1149 1050.5q-123 135.5 -302 135.5t-302 -135.5t-123 -327t123 -325.5t302 -134t302 134t123 325.5t-123 327zM845.5 -14q-317.5 0 -534.5 212t-217 527t217 527t534.5 212t534.5 -212t217 -527t-217 -527t-534.5 -212zM993 1579h-293l261 363l317 -134z" />
-<glyph unicode="&#xd4;" horiz-adv-x="1691" d="M1149 1050.5q-123 135.5 -302 135.5t-302 -135.5t-123 -327t123 -325.5t302 -134t302 134t123 325.5t-123 327zM845.5 -14q-317.5 0 -534.5 212t-217 527t217 527t534.5 212t534.5 -212t217 -527t-217 -527t-534.5 -212zM674 1575h-252l231 323h383l232 -323h-252 l-172 166z" />
-<glyph unicode="&#xd5;" horiz-adv-x="1691" d="M1149 1050.5q-123 135.5 -302 135.5t-302 -135.5t-123 -327t123 -325.5t302 -134t302 134t123 325.5t-123 327zM845.5 -14q-317.5 0 -534.5 212t-217 527t217 527t534.5 212t534.5 -212t217 -527t-217 -527t-534.5 -212zM727 1679q-63 0 -61 -106h-217q0 154 66.5 242 t170.5 88q66 0 159 -56.5t113 -56.5q63 0 62 106h217q0 -154 -66.5 -241.5t-171.5 -87.5q-63 0 -159.5 56t-112.5 56z" />
-<glyph unicode="&#xd6;" horiz-adv-x="1691" d="M1149 1050.5q-123 135.5 -302 135.5t-302 -135.5t-123 -327t123 -325.5t302 -134t302 134t123 325.5t-123 327zM845.5 -14q-317.5 0 -534.5 212t-217 527t217 527t534.5 212t534.5 -212t217 -527t-217 -527t-534.5 -212zM494 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44 t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM889 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xd7;" horiz-adv-x="1206" d="M604 924l326 333l176 -182l-322 -330l324 -333l-176 -183l-328 334l-325 -334l-181 183l328 333l-326 330l181 182z" />
-<glyph unicode="&#xd8;" horiz-adv-x="1691" d="M1597 725q0 -315 -217 -527t-534 -212q-80 0 -162 16l-106 -231h-289l149 327q-160 98 -252 263t-92 364q0 315 217 527t535 212q98 0 205 -26l96 211h291l-148 -322q143 -100 225 -258t82 -344zM846 1186q-178 0 -301 -135.5t-123 -338t143 -335.5l367 799 q-47 10 -86 10zM1149 398q123 134 123 320.5t-115 321.5l-352 -774q12 -2 41 -2q180 0 303 134z" />
-<glyph unicode="&#xd9;" horiz-adv-x="1538" d="M770 270q135 0 214 99.5t79 271.5v791h319v-801q0 -311 -172 -478t-440 -167t-441 168t-173 477v801h319v-791q0 -172 80 -271.5t215 -99.5zM932 1575h-293l-285 229l316 135z" />
-<glyph unicode="&#xda;" horiz-adv-x="1538" d="M770 270q135 0 214 99.5t79 271.5v791h319v-801q0 -311 -172 -478t-440 -167t-441 168t-173 477v801h319v-791q0 -172 80 -271.5t215 -99.5zM915 1579h-292l260 363l317 -134z" />
-<glyph unicode="&#xdb;" horiz-adv-x="1538" d="M770 270q135 0 214 99.5t79 271.5v791h319v-801q0 -311 -172 -478t-440 -167t-441 168t-173 477v801h319v-791q0 -172 80 -271.5t215 -99.5zM596 1575h-252l231 323h383l232 -323h-252l-172 166z" />
-<glyph unicode="&#xdc;" horiz-adv-x="1538" d="M770 270q135 0 214 99.5t79 271.5v791h319v-801q0 -311 -172 -478t-440 -167t-441 168t-173 477v801h319v-791q0 -172 80 -271.5t215 -99.5zM418 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM813 1734.5 q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xdd;" horiz-adv-x="1265" d="M793 0h-320v565l-496 867h347l309 -533l309 533h346l-495 -867v-565zM739 1579h-293l261 363l317 -134z" />
-<glyph unicode="&#xde;" horiz-adv-x="1402" d="M1313 754q0 -279 -163 -403t-484 -124h-170v-227h-320v1432h320v-172h166q651 0 651 -506zM919.5 570.5q65.5 66.5 65.5 188.5t-82 173t-246 51h-161v-479h194q164 0 229.5 66.5z" />
-<glyph unicode="&#xdf;" horiz-adv-x="1325" d="M775.5 953.5q66.5 62.5 66.5 139t-39 131t-123 54.5q-119 0 -168 -84t-49 -246v-948h-320v922q0 201 41 315q16 51 55.5 114.5t92.5 102.5q123 96 325 96q117 0 208 -29.5t144.5 -73.5t88.5 -104q57 -104 57 -223q0 -190 -158 -319q121 -39 181.5 -140.5t60.5 -226.5 q0 -199 -138 -316.5t-396 -117.5h-127v258h90q252 0 252 176q0 195 -236 195q-43 0 -113 -6v247q138 21 204.5 83.5z" />
-<glyph unicode="&#xe0;" horiz-adv-x="1216" d="M1081 0h-288v133q-119 -150 -294 -149.5t-294 101.5t-119 270t123 253t336 84h229v6q0 176 -186 176q-80 0 -169 -31.5t-151 -78.5l-137 199q217 158 496 157q201 0 327.5 -100t126.5 -318v-702zM772 420v53h-192q-184 0 -185 -115q0 -59 44 -90.5t126 -31.5t144.5 50 t62.5 134zM844 1251h-293l-285 230l316 135z" />
-<glyph unicode="&#xe1;" horiz-adv-x="1216" d="M1081 0h-288v133q-119 -150 -294 -149.5t-294 101.5t-119 270t123 253t336 84h229v6q0 176 -186 176q-80 0 -169 -31.5t-151 -78.5l-137 199q217 158 496 157q201 0 327.5 -100t126.5 -318v-702zM772 420v53h-192q-184 0 -185 -115q0 -59 44 -90.5t126 -31.5t144.5 50 t62.5 134zM713 1251h-293l260 363l317 -133z" />
-<glyph unicode="&#xe2;" horiz-adv-x="1216" d="M1081 0h-288v133q-119 -150 -294 -149.5t-294 101.5t-119 270t123 253t336 84h229v6q0 176 -186 176q-80 0 -169 -31.5t-151 -78.5l-137 199q217 158 496 157q201 0 327.5 -100t126.5 -318v-702zM772 420v53h-192q-184 0 -185 -115q0 -59 44 -90.5t126 -31.5t144.5 50 t62.5 134zM444 1251h-251l231 324h383l231 -324h-252l-172 166z" />
-<glyph unicode="&#xe3;" horiz-adv-x="1216" d="M1081 0h-288v133q-119 -150 -294 -149.5t-294 101.5t-119 270t123 253t336 84h229v6q0 176 -186 176q-80 0 -169 -31.5t-151 -78.5l-137 199q217 158 496 157q201 0 327.5 -100t126.5 -318v-702zM772 420v53h-192q-184 0 -185 -115q0 -59 44 -90.5t126 -31.5t144.5 50 t62.5 134zM477 1358q-63 0 -61 -107h-217q0 154 66.5 242t170.5 88q66 0 159 -56.5t114 -56.5q63 0 61 107h217q0 -154 -66.5 -242t-170.5 -88q-63 0 -160 56.5t-113 56.5z" />
-<glyph unicode="&#xe4;" horiz-adv-x="1216" d="M1081 0h-288v133q-119 -150 -294 -149.5t-294 101.5t-119 270t123 253t336 84h229v6q0 176 -186 176q-80 0 -169 -31.5t-151 -78.5l-137 199q217 158 496 157q201 0 327.5 -100t126.5 -318v-702zM772 420v53h-192q-184 0 -185 -115q0 -59 44 -90.5t126 -31.5t144.5 50 t62.5 134zM266 1415.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM662 1415.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xe5;" horiz-adv-x="1216" d="M1081 0h-288v133q-119 -150 -294 -149.5t-294 101.5t-119 270t123 253t336 84h229v6q0 176 -186 176q-80 0 -169 -31.5t-151 -78.5l-137 199q217 158 496 157q201 0 327.5 -100t126.5 -318v-702zM772 420v53h-192q-184 0 -185 -115q0 -59 44 -90.5t126 -31.5t144.5 50 t62.5 134zM408 1440q0 90 64.5 154.5t154.5 64.5t154.5 -64.5t64.5 -154.5t-64.5 -154.5t-154.5 -64.5t-154.5 64.5t-64.5 154.5zM555 1439.5q0 -28.5 21.5 -50t50 -21.5t50 21.5t21.5 50t-21.5 50t-50 21.5t-50 -21.5t-21.5 -50z" />
-<glyph unicode="&#xe6;" horiz-adv-x="1916" d="M1833 449h-756v-11q16 -92 86 -146t160 -54q145 0 270 153l181 -201q-197 -207 -467 -206q-236 0 -387 155q-158 -156 -404 -155q-180 0 -307 102t-127 264q0 334 459 334h229v14q0 172 -178 172q-127 0 -307 -127l-138 199q221 178 460 178t360 -114q143 115 355 114.5 t361.5 -136.5t149.5 -378v-157zM768 420v29h-193q-90 0 -137 -16.5t-47 -75t44 -90t126 -31.5t144.5 50t62.5 134zM1450 819q-55 47 -136 47t-147.5 -49t-85.5 -133h439q-15 88 -70 135z" />
-<glyph unicode="&#xe7;" horiz-adv-x="1193" d="M676 256q154 0 276 154l183 -205q-166 -172 -365 -211l-55 -103q133 -45 133 -155q0 -88 -73 -153.5t-183.5 -65.5t-214.5 65l78 176q45 -39 79.5 -39t54 18.5t19.5 46.5t-24.5 49.5t-58 21.5t-72.5 -19l84 160q-195 41 -324 188.5t-129 364.5q0 254 173 412.5t411 158.5 q119 0 240.5 -49t213.5 -145l-159 -209q-53 63 -130 98t-153 35q-121 0 -208 -79t-87 -219t87 -218t204 -78z" />
-<glyph unicode="&#xe8;" horiz-adv-x="1265" d="M1100 160q-186 -176 -437 -176t-415 154.5t-164 414.5t167 413.5t394 153.5t386 -137t159 -377v-164h-803q14 -90 94 -147t181 -57q162 0 266 108zM804.5 813q-63.5 53 -154.5 53t-166.5 -55t-88.5 -149h484q-11 98 -74.5 151zM829 1251h-292l-285 230l315 135z" />
-<glyph unicode="&#xe9;" horiz-adv-x="1265" d="M1100 160q-186 -176 -437 -176t-415 154.5t-164 414.5t167 413.5t394 153.5t386 -137t159 -377v-164h-803q14 -90 94 -147t181 -57q162 0 266 108zM804.5 813q-63.5 53 -154.5 53t-166.5 -55t-88.5 -149h484q-11 98 -74.5 151zM739 1251h-293l261 363l317 -133z" />
-<glyph unicode="&#xea;" horiz-adv-x="1265" d="M1100 160q-186 -176 -437 -176t-415 154.5t-164 414.5t167 413.5t394 153.5t386 -137t159 -377v-164h-803q14 -90 94 -147t181 -57q162 0 266 108zM804.5 813q-63.5 53 -154.5 53t-166.5 -55t-88.5 -149h484q-11 98 -74.5 151zM461 1251h-252l231 324h383l232 -324h-252 l-172 166z" />
-<glyph unicode="&#xeb;" horiz-adv-x="1265" d="M1100 160q-186 -176 -437 -176t-415 154.5t-164 414.5t167 413.5t394 153.5t386 -137t159 -377v-164h-803q14 -90 94 -147t181 -57q162 0 266 108zM804.5 813q-63.5 53 -154.5 53t-166.5 -55t-88.5 -149h484q-11 98 -74.5 151zM297 1415.5q0 63.5 44 107.5t107.5 44 t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM692 1415.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xec;" horiz-adv-x="598" d="M145 1102h308v-1102h-308v1102zM457 1251h-293l-285 230l316 135z" />
-<glyph unicode="&#xed;" horiz-adv-x="598" d="M145 1102h308v-1102h-308v1102zM449 1251h-293l260 363l317 -133z" />
-<glyph unicode="&#xee;" horiz-adv-x="598" d="M297 1397l-150 -146h-231l231 324h302l231 -324h-231zM145 1102h308v-1102h-308v1102z" />
-<glyph unicode="&#xef;" horiz-adv-x="598" d="M145 1102h308v-1102h-308v1102zM-49 1415.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM346 1415.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xf0;" horiz-adv-x="1222" d="M1135 553q0 -256 -136.5 -412.5t-373 -156.5t-386 140t-149.5 360.5t147.5 361.5t356.5 141q53 0 94 -8q-41 51 -127 145l-176 -114l-166 159l180 117q-31 27 -67 57l-76 64l252 149q86 -70 141 -120l162 106l170 -160l-170 -112q324 -371 324 -717zM452.5 313.5 q59.5 -71.5 159 -71.5t159.5 71.5t60 172t-61 172t-159.5 71.5t-158 -71.5t-59.5 -172t59.5 -172z" />
-<glyph unicode="&#xf1;" horiz-adv-x="1308" d="M453 614v-614h-308v1102h308v-123q139 141 313 141t292 -123t118 -327v-670h-308v623q0 254 -186 254q-92 0 -160.5 -67t-68.5 -196zM549 1358q-63 0 -62 -107h-217q0 154 66.5 242t171.5 88q66 0 159 -56.5t113 -56.5q63 0 62 107h217q0 -154 -66.5 -242t-171.5 -88 q-63 0 -159.5 56.5t-112.5 56.5z" />
-<glyph unicode="&#xf2;" horiz-adv-x="1327" d="M468 331q77 -85 196.5 -85t196.5 85t77 220t-77 221t-196.5 86t-196.5 -86t-77 -221t77 -220zM1081 147.5q-166 -163.5 -416.5 -163.5t-416.5 163.5t-166 403.5t166 404.5t416.5 164.5t416.5 -164.5t166 -404.5t-166 -403.5zM829 1251h-292l-285 230l315 135z" />
-<glyph unicode="&#xf3;" horiz-adv-x="1327" d="M468 331q77 -85 196.5 -85t196.5 85t77 220t-77 221t-196.5 86t-196.5 -86t-77 -221t77 -220zM1081 147.5q-166 -163.5 -416.5 -163.5t-416.5 163.5t-166 403.5t166 404.5t416.5 164.5t416.5 -164.5t166 -404.5t-166 -403.5zM780 1251h-293l261 363l317 -133z" />
-<glyph unicode="&#xf4;" horiz-adv-x="1327" d="M468 331q77 -85 196.5 -85t196.5 85t77 220t-77 221t-196.5 86t-196.5 -86t-77 -221t77 -220zM1081 147.5q-166 -163.5 -416.5 -163.5t-416.5 163.5t-166 403.5t166 404.5t416.5 164.5t416.5 -164.5t166 -404.5t-166 -403.5zM502 1251h-252l231 324h383l232 -324h-252 l-172 166z" />
-<glyph unicode="&#xf5;" horiz-adv-x="1327" d="M468 331q77 -85 196.5 -85t196.5 85t77 220t-77 221t-196.5 86t-196.5 -86t-77 -221t77 -220zM1081 147.5q-166 -163.5 -416.5 -163.5t-416.5 163.5t-166 403.5t166 404.5t416.5 164.5t416.5 -164.5t166 -404.5t-166 -403.5zM551 1358q-63 0 -62 -107h-217q0 154 67 242 t171 88q66 0 159 -56.5t113 -56.5q63 0 62 107h217q0 -154 -66.5 -242t-171.5 -88q-63 0 -159.5 56.5t-112.5 56.5z" />
-<glyph unicode="&#xf6;" horiz-adv-x="1327" d="M468 331q77 -85 196.5 -85t196.5 85t77 220t-77 221t-196.5 86t-196.5 -86t-77 -221t77 -220zM1081 147.5q-166 -163.5 -416.5 -163.5t-416.5 163.5t-166 403.5t166 404.5t416.5 164.5t416.5 -164.5t166 -404.5t-166 -403.5zM315 1415.5q0 63.5 44 107.5t107.5 44 t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM711 1415.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xf7;" horiz-adv-x="1191" d="M416 327.5q0 75.5 52 128t128 52.5t128 -52.5t52 -128t-52 -128t-128 -52.5t-128 52.5t-52 128zM416 1104q0 76 52 128t128 52t128 -52t52 -128t-52 -128t-128 -52t-128 52t-52 128zM98 842h996v-252h-996v252z" />
-<glyph unicode="&#xf8;" horiz-adv-x="1327" d="M664 -16q-45 0 -93 6l-90 -197h-288l133 291q-115 78 -179.5 201t-64.5 266q0 240 166 404.5t416 164.5q72 0 131 -14l77 174h291l-129 -283q213 -170 213 -446q0 -240 -165.5 -403.5t-417.5 -163.5zM468 772q-77 -86 -77 -212t58 -206l231 504h-16q-119 0 -196 -86z M869.5 341q68.5 83 68.5 191.5t-35 178.5l-213 -463q111 10 179.5 93z" />
-<glyph unicode="&#xf9;" horiz-adv-x="1310" d="M856 508v594h309v-1102h-309v145q-115 -162 -296 -161.5t-304 114t-123 336.5v668h309v-600q0 -254 187 -254q92 0 159.5 66.5t67.5 193.5zM825 1251h-293l-284 230l315 135z" />
-<glyph unicode="&#xfa;" horiz-adv-x="1310" d="M856 508v594h309v-1102h-309v145q-115 -162 -296 -161.5t-304 114t-123 336.5v668h309v-600q0 -254 187 -254q92 0 159.5 66.5t67.5 193.5zM776 1251h-293l260 363l318 -133z" />
-<glyph unicode="&#xfb;" horiz-adv-x="1310" d="M856 508v594h309v-1102h-309v145q-115 -162 -296 -161.5t-304 114t-123 336.5v668h309v-600q0 -254 187 -254q92 0 159.5 66.5t67.5 193.5zM483 1251h-252l232 324h383l231 -324h-252l-172 166z" />
-<glyph unicode="&#xfc;" horiz-adv-x="1310" d="M856 508v594h309v-1102h-309v145q-115 -162 -296 -161.5t-304 114t-123 336.5v668h309v-600q0 -254 187 -254q92 0 159.5 66.5t67.5 193.5zM293 1415.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM688 1415.5 q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xfd;" horiz-adv-x="1208" d="M336 -434q-162 0 -305 131l139 227q78 -76 160 -76q43 0 73.5 42t30.5 89.5t-426 1122.5h328l268 -686l268 686h328l-512 -1299q-45 -113 -140 -175t-212 -62zM717 1251h-293l260 363l317 -133z" />
-<glyph unicode="&#xfe;" horiz-adv-x="1363" d="M1121.5 966.5q158.5 -153.5 158.5 -409.5t-158.5 -414.5t-369.5 -158.5q-164 0 -299 104v-485h-308v1917h308v-510q123 111 295 110q215 0 373.5 -153.5zM523.5 331q74.5 -85 181 -85t186.5 85t80 218t-78 223t-186.5 90t-183 -89t-74.5 -223t74.5 -219z" />
-<glyph unicode="&#xff;" horiz-adv-x="1208" d="M336 -434q-162 0 -305 131l139 227q78 -76 160 -76q43 0 73.5 42t30.5 89.5t-426 1122.5h328l268 -686l268 686h328l-512 -1299q-45 -113 -140 -175t-212 -62zM254 1415.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z M649 1415.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#x152;" horiz-adv-x="2134" d="M2003 1430v-283h-713v-295h639v-272h-639v-297h735v-283h-1200q-309 0 -519 205t-210 510t210 510t519 205h1178zM555 1031q-119 -130 -119 -315.5t119 -316.5t291 -131h123v893h-123q-172 0 -291 -130z" />
-<glyph unicode="&#x153;" horiz-adv-x="2119" d="M1954 160q-186 -176 -447.5 -176t-421.5 170q-166 -170 -418.5 -170t-418.5 163.5t-166 403.5t166 404.5t419 164.5t420 -172q162 172 400.5 172t397.5 -137t159 -377v-164h-803q14 -90 94 -147t181 -57q162 0 266 108zM938 537v14q0 135 -77 221t-196.5 86t-196.5 -86 t-77 -221t77 -220t194.5 -85t194.5 81t81 210zM1658.5 813q-63.5 53 -154.5 53t-166.5 -55t-88.5 -149h484q-11 98 -74.5 151z" />
-<glyph unicode="&#x2c6;" horiz-adv-x="989" d="M324 1579h-252l231 324h383l232 -324h-252l-172 166z" />
-<glyph unicode="&#x2dc;" horiz-adv-x="1198" d="M498 1358q-63 0 -62 -107h-217q0 154 66.5 242t171.5 88q66 0 159 -56.5t113 -56.5q63 0 62 107h217q0 -154 -67 -242t-171 -88q-63 0 -159.5 56.5t-112.5 56.5z" />
-<glyph unicode="&#x2000;" horiz-adv-x="971" />
-<glyph unicode="&#x2001;" horiz-adv-x="1942" />
-<glyph unicode="&#x2002;" horiz-adv-x="971" />
-<glyph unicode="&#x2003;" horiz-adv-x="1942" />
-<glyph unicode="&#x2004;" horiz-adv-x="647" />
-<glyph unicode="&#x2005;" horiz-adv-x="485" />
-<glyph unicode="&#x2006;" horiz-adv-x="323" />
-<glyph unicode="&#x2007;" horiz-adv-x="323" />
-<glyph unicode="&#x2008;" horiz-adv-x="242" />
-<glyph unicode="&#x2009;" horiz-adv-x="388" />
-<glyph unicode="&#x200a;" horiz-adv-x="107" />
-<glyph unicode="&#x2010;" horiz-adv-x="1003" d="M137 479v273h729v-273h-729z" />
-<glyph unicode="&#x2011;" horiz-adv-x="1003" d="M137 479v273h729v-273h-729z" />
-<glyph unicode="&#x2012;" horiz-adv-x="1003" d="M137 479v273h729v-273h-729z" />
-<glyph unicode="&#x2013;" horiz-adv-x="1112" d="M152 440v199h809v-199h-809z" />
-<glyph unicode="&#x2014;" horiz-adv-x="1427" d="M131 442v197h1165v-197h-1165z" />
-<glyph unicode="&#x2018;" horiz-adv-x="491" d="M344 1221q68 -45 68 -126t-48.5 -128t-121 -47t-120.5 45t-48 116.5t45 141.5l149 217h168z" />
-<glyph unicode="&#x2019;" horiz-adv-x="491" d="M147 1133q-68 45 -67.5 125.5t48.5 128t121 47.5t121 -45.5t48 -117t-45 -141.5l-150 -217h-168z" />
-<glyph unicode="&#x201a;" horiz-adv-x="491" d="M147 23q-68 45 -67.5 125.5t48.5 128t121 47.5t121 -45.5t48 -117t-45 -141.5l-150 -217h-168z" />
-<glyph unicode="&#x201c;" horiz-adv-x="870" d="M344 1221q68 -45 68 -126t-48.5 -128t-121 -47t-120.5 45t-48 116.5t45 141.5l149 217h168zM723 1221q68 -45 68 -126t-48.5 -128t-121 -47t-120.5 45t-48 116.5t45 141.5l149 217h168z" />
-<glyph unicode="&#x201d;" horiz-adv-x="870" d="M147 1133q-68 45 -67.5 125.5t48.5 128t121 47.5t121 -45.5t48 -117t-45 -141.5l-150 -217h-168zM526 1133q-68 45 -67.5 125.5t48.5 128t120.5 47.5t121 -45.5t48.5 -117t-45 -141.5l-150 -217h-168z" />
-<glyph unicode="&#x201e;" horiz-adv-x="870" d="M147 23q-68 45 -67.5 125.5t48.5 128t121 47.5t121 -45.5t48 -117t-45 -141.5l-150 -217h-168zM526 23q-68 45 -67.5 125.5t48.5 128t120.5 47.5t121 -45.5t48.5 -117t-45 -141.5l-150 -217h-168z" />
-<glyph unicode="&#x2022;" horiz-adv-x="897" d="M164 649q0 119 83 202t201.5 83t201.5 -83t83 -202t-83 -201.5t-201.5 -82.5t-201.5 82.5t-83 201.5z" />
-<glyph unicode="&#x2026;" horiz-adv-x="1435" d="M958 162q0 76 52.5 128t128 52t128 -52t52.5 -128t-52.5 -128t-128 -52t-128 52t-52.5 128zM537 162q0 76 52 128t128 52t128 -52t52 -128t-52 -128t-128 -52t-128 52t-52 128zM117 162q0 76 52 128t128 52t128 -52t52 -128t-52 -128t-128 -52t-128 52t-52 128z" />
-<glyph unicode="&#x202f;" horiz-adv-x="388" />
-<glyph unicode="&#x2039;" horiz-adv-x="776" d="M657 879l-241 -377l241 -379h-309l-250 379l250 377h309z" />
-<glyph unicode="&#x203a;" horiz-adv-x="776" d="M360 502l-241 377h309l250 -377l-250 -379h-309z" />
-<glyph unicode="&#x205f;" horiz-adv-x="485" />
-<glyph unicode="&#x20ac;" horiz-adv-x="1568" d="M94 778v172h199q61 233 234 373.5t421 140.5q307 0 527 -247l-183 -238q-150 182 -352 182q-229 0 -317 -211h477v-172h-514q-2 -20 -2 -61t2 -60h514v-172h-467q49 -96 134 -147t187 -51q203 0 332 162l189 -209q-111 -129 -255.5 -192.5t-287.5 -63.5 q-231 0 -403.5 136t-235.5 365h-199v172h172q-2 18 -2 59.5t2 61.5h-172z" />
-<glyph unicode="&#x2122;" horiz-adv-x="2027" d="M592 1221v-654h-225v654h-238v211h700v-211h-237zM1108 567h-225v865h286l203 -431l203 431h285v-865h-226v459l-192 -391h-142l-192 391v-459z" />
-<glyph unicode="&#xe000;" horiz-adv-x="1105" d="M0 1106h1106v-1106h-1106v1106z" />
-<glyph unicode="&#xfb01;" horiz-adv-x="1421" d="M512 1165v-73h266v-222h-266v-870h-309v870h-129v222h129v67q0 180 109.5 285.5t272.5 105.5t296 -123l-111 -206q-68 78 -149 77q-47 0 -78 -33.5t-31 -99.5zM1276 0h-307v1102h307v-1102zM942 1370q0 76 52.5 128t128 52t128 -52t52.5 -128t-52.5 -128t-128 -52 t-128 52t-52.5 128z" />
-<glyph unicode="&#xfb02;" horiz-adv-x="1421" d="M512 1165v-73h266v-222h-266v-870h-309v870h-129v222h129v67q0 180 109.5 285.5t272.5 105.5t296 -123l-111 -206q-68 78 -149 77q-47 0 -78 -33.5t-31 -99.5zM1276 0h-307v1520h307v-1520z" />
-<hkern u1="&#x26;" u2="&#x2019;" k="57" />
-<hkern u1="&#x26;" u2="&#xc6;" k="-27" />
-<hkern u1="&#x26;" u2="Y" k="47" />
-<hkern u1="&#x26;" u2="W" k="35" />
-<hkern u1="&#x26;" u2="V" k="43" />
-<hkern u1="&#x26;" u2="T" k="43" />
-<hkern u1="&#x26;" u2="A" k="-16" />
-<hkern u1="&#x26;" u2="&#x27;" k="55" />
-<hkern u1="&#x27;" u2="&#x2039;" k="35" />
-<hkern u1="&#x27;" u2="&#xf0;" k="18" />
-<hkern u1="&#x27;" u2="&#xc6;" k="96" />
-<hkern u1="&#x27;" u2="d" k="23" />
-<hkern u1="&#x27;" u2="J" k="33" />
-<hkern u1="&#x27;" u2="A" k="84" />
-<hkern u1="&#x27;" u2="&#x34;" k="35" />
-<hkern u1="&#x27;" u2="&#x2f;" k="137" />
-<hkern u1="&#x27;" u2="&#x2e;" k="236" />
-<hkern u1="&#x27;" u2="&#x26;" k="33" />
-<hkern u1="&#x28;" u2="&#xf0;" k="37" />
-<hkern u1="&#x28;" u2="&#xef;" k="-27" />
-<hkern u1="&#x28;" u2="&#xec;" k="-90" />
-<hkern u1="&#x28;" u2="&#x7b;" k="20" />
-<hkern u1="&#x28;" u2="w" k="27" />
-<hkern u1="&#x28;" u2="v" k="23" />
-<hkern u1="&#x28;" u2="u" k="41" />
-<hkern u1="&#x28;" u2="t" k="25" />
-<hkern u1="&#x28;" u2="s" k="35" />
-<hkern u1="&#x28;" u2="q" k="53" />
-<hkern u1="&#x28;" u2="o" k="55" />
-<hkern u1="&#x28;" u2="n" k="29" />
-<hkern u1="&#x28;" u2="j" k="-207" />
-<hkern u1="&#x28;" u2="f" k="25" />
-<hkern u1="&#x28;" u2="d" k="53" />
-<hkern u1="&#x28;" u2="a" k="41" />
-<hkern u1="&#x28;" u2="S" k="25" />
-<hkern u1="&#x28;" u2="O" k="45" />
-<hkern u1="&#x28;" u2="&#x39;" k="20" />
-<hkern u1="&#x28;" u2="&#x38;" k="31" />
-<hkern u1="&#x28;" u2="&#x36;" k="39" />
-<hkern u1="&#x28;" u2="&#x34;" k="45" />
-<hkern u1="&#x28;" u2="&#x30;" k="39" />
-<hkern u1="&#x28;" u2="&#x28;" k="20" />
-<hkern u1="&#x29;" u2="&#x29;" k="20" />
-<hkern u1="&#x2a;" u2="&#x2019;" k="-12" />
-<hkern u1="&#x2a;" u2="&#xf0;" k="23" />
-<hkern u1="&#x2a;" u2="&#xef;" k="-18" />
-<hkern u1="&#x2a;" u2="&#xee;" k="-59" />
-<hkern u1="&#x2a;" u2="&#xc6;" k="92" />
-<hkern u1="&#x2a;" u2="y" k="-27" />
-<hkern u1="&#x2a;" u2="o" k="16" />
-<hkern u1="&#x2a;" u2="d" k="23" />
-<hkern u1="&#x2a;" u2="J" k="37" />
-<hkern u1="&#x2a;" u2="A" k="82" />
-<hkern u1="&#x2d;" u2="&#xc6;" k="18" />
-<hkern u1="&#x2d;" u2="z" k="18" />
-<hkern u1="&#x2d;" u2="x" k="43" />
-<hkern u1="&#x2d;" u2="Z" k="31" />
-<hkern u1="&#x2d;" u2="Y" k="78" />
-<hkern u1="&#x2d;" u2="X" k="55" />
-<hkern u1="&#x2d;" u2="W" k="37" />
-<hkern u1="&#x2d;" u2="V" k="49" />
-<hkern u1="&#x2d;" u2="T" k="109" />
-<hkern u1="&#x2d;" u2="J" k="49" />
-<hkern u1="&#x2d;" u2="A" k="25" />
-<hkern u1="&#x2d;" u2="&#x37;" k="27" />
-<hkern u1="&#x2d;" u2="&#x33;" k="33" />
-<hkern u1="&#x2d;" u2="&#x32;" k="31" />
-<hkern u1="&#x2d;" u2="&#x31;" k="47" />
-<hkern u1="&#x2e;" u2="&#x2019;" k="264" />
-<hkern u1="&#x2e;" u2="&#x2018;" k="264" />
-<hkern u1="&#x2e;" u2="y" k="70" />
-<hkern u1="&#x2e;" u2="w" k="53" />
-<hkern u1="&#x2e;" u2="v" k="68" />
-<hkern u1="&#x2e;" u2="t" k="29" />
-<hkern u1="&#x2e;" u2="f" k="16" />
-<hkern u1="&#x2e;" u2="Y" k="111" />
-<hkern u1="&#x2e;" u2="W" k="90" />
-<hkern u1="&#x2e;" u2="V" k="113" />
-<hkern u1="&#x2e;" u2="U" k="27" />
-<hkern u1="&#x2e;" u2="T" k="111" />
-<hkern u1="&#x2e;" u2="O" k="31" />
-<hkern u1="&#x2e;" u2="&#x37;" k="29" />
-<hkern u1="&#x2e;" u2="&#x31;" k="57" />
-<hkern u1="&#x2e;" u2="&#x27;" k="236" />
-<hkern u1="&#x2f;" u2="&#xf0;" k="43" />
-<hkern u1="&#x2f;" u2="&#xec;" k="-55" />
-<hkern u1="&#x2f;" u2="&#xce;" k="-78" />
-<hkern u1="&#x2f;" u2="&#xc6;" k="129" />
-<hkern u1="&#x2f;" u2="z" k="49" />
-<hkern u1="&#x2f;" u2="x" k="27" />
-<hkern u1="&#x2f;" u2="u" k="49" />
-<hkern u1="&#x2f;" u2="s" k="84" />
-<hkern u1="&#x2f;" u2="q" k="88" />
-<hkern u1="&#x2f;" u2="o" k="88" />
-<hkern u1="&#x2f;" u2="n" k="51" />
-<hkern u1="&#x2f;" u2="f" k="27" />
-<hkern u1="&#x2f;" u2="d" k="86" />
-<hkern u1="&#x2f;" u2="a" k="74" />
-<hkern u1="&#x2f;" u2="S" k="35" />
-<hkern u1="&#x2f;" u2="O" k="49" />
-<hkern u1="&#x2f;" u2="J" k="27" />
-<hkern u1="&#x2f;" u2="A" k="121" />
-<hkern u1="&#x2f;" u2="&#x39;" k="23" />
-<hkern u1="&#x2f;" u2="&#x38;" k="37" />
-<hkern u1="&#x2f;" u2="&#x36;" k="43" />
-<hkern u1="&#x2f;" u2="&#x34;" k="82" />
-<hkern u1="&#x2f;" u2="&#x30;" k="41" />
-<hkern u1="&#x2f;" u2="&#x2f;" k="580" />
-<hkern u1="&#x3a;" u2="&#x2019;" k="20" />
-<hkern u1="&#x3a;" u2="y" k="16" />
-<hkern u1="&#x3a;" u2="Y" k="70" />
-<hkern u1="&#x3a;" u2="W" k="37" />
-<hkern u1="&#x3a;" u2="V" k="49" />
-<hkern u1="&#x3a;" u2="T" k="102" />
-<hkern u1="&#x40;" u2="Y" k="45" />
-<hkern u1="&#x40;" u2="W" k="20" />
-<hkern u1="&#x40;" u2="V" k="31" />
-<hkern u1="&#x40;" u2="T" k="41" />
-<hkern u1="A" u2="&#x2122;" k="86" />
-<hkern u1="A" u2="&#x2019;" k="96" />
-<hkern u1="A" u2="&#x2018;" k="96" />
-<hkern u1="A" u2="&#xf0;" k="23" />
-<hkern u1="A" u2="&#xae;" k="23" />
-<hkern u1="A" u2="y" k="63" />
-<hkern u1="A" u2="w" k="57" />
-<hkern u1="A" u2="v" k="63" />
-<hkern u1="A" u2="u" k="20" />
-<hkern u1="A" u2="t" k="57" />
-<hkern u1="A" u2="q" k="25" />
-<hkern u1="A" u2="o" k="27" />
-<hkern u1="A" u2="f" k="23" />
-<hkern u1="A" u2="d" k="27" />
-<hkern u1="A" u2="a" k="10" />
-<hkern u1="A" u2="\" k="111" />
-<hkern u1="A" u2="Y" k="100" />
-<hkern u1="A" u2="W" k="76" />
-<hkern u1="A" u2="V" k="88" />
-<hkern u1="A" u2="U" k="39" />
-<hkern u1="A" u2="T" k="104" />
-<hkern u1="A" u2="S" k="10" />
-<hkern u1="A" u2="O" k="43" />
-<hkern u1="A" u2="&#x3f;" k="39" />
-<hkern u1="A" u2="&#x31;" k="39" />
-<hkern u1="A" u2="&#x2d;" k="25" />
-<hkern u1="A" u2="&#x2a;" k="82" />
-<hkern u1="A" u2="&#x27;" k="84" />
-<hkern u1="B" u2="&#xf0;" k="10" />
-<hkern u1="B" u2="z" k="12" />
-<hkern u1="B" u2="y" k="20" />
-<hkern u1="B" u2="x" k="31" />
-<hkern u1="B" u2="w" k="18" />
-<hkern u1="B" u2="v" k="18" />
-<hkern u1="B" u2="u" k="10" />
-<hkern u1="B" u2="t" k="23" />
-<hkern u1="B" u2="s" k="18" />
-<hkern u1="B" u2="o" k="10" />
-<hkern u1="B" u2="f" k="20" />
-<hkern u1="B" u2="d" k="10" />
-<hkern u1="B" u2="]" k="33" />
-<hkern u1="B" u2="\" k="29" />
-<hkern u1="B" u2="Z" k="12" />
-<hkern u1="B" u2="Y" k="41" />
-<hkern u1="B" u2="X" k="25" />
-<hkern u1="B" u2="W" k="20" />
-<hkern u1="B" u2="V" k="31" />
-<hkern u1="B" u2="T" k="37" />
-<hkern u1="B" u2="J" k="18" />
-<hkern u1="B" u2="A" k="16" />
-<hkern u1="B" u2="&#x2f;" k="25" />
-<hkern u1="B" u2="&#x29;" k="33" />
-<hkern u1="C" u2="&#x2122;" k="-45" />
-<hkern u1="C" u2="&#xf0;" k="33" />
-<hkern u1="C" u2="&#xef;" k="-14" />
-<hkern u1="C" u2="&#xee;" k="-27" />
-<hkern u1="C" u2="u" k="16" />
-<hkern u1="C" u2="t" k="10" />
-<hkern u1="C" u2="s" k="23" />
-<hkern u1="C" u2="q" k="41" />
-<hkern u1="C" u2="o" k="43" />
-<hkern u1="C" u2="n" k="14" />
-<hkern u1="C" u2="f" k="10" />
-<hkern u1="C" u2="d" k="43" />
-<hkern u1="C" u2="a" k="12" />
-<hkern u1="C" u2="O" k="31" />
-<hkern u1="C" u2="A" k="10" />
-<hkern u1="C" u2="&#x2d;" k="16" />
-<hkern u1="C" u2="&#x2a;" k="-29" />
-<hkern u1="D" u2="&#xf0;" k="12" />
-<hkern u1="D" u2="&#xc6;" k="41" />
-<hkern u1="D" u2="z" k="16" />
-<hkern u1="D" u2="x" k="31" />
-<hkern u1="D" u2="u" k="10" />
-<hkern u1="D" u2="t" k="10" />
-<hkern u1="D" u2="s" k="18" />
-<hkern u1="D" u2="n" k="12" />
-<hkern u1="D" u2="l" k="12" />
-<hkern u1="D" u2="i" k="12" />
-<hkern u1="D" u2="h" k="12" />
-<hkern u1="D" u2="f" k="10" />
-<hkern u1="D" u2="a" k="14" />
-<hkern u1="D" u2="]" k="43" />
-<hkern u1="D" u2="\" k="37" />
-<hkern u1="D" u2="Z" k="27" />
-<hkern u1="D" u2="Y" k="49" />
-<hkern u1="D" u2="X" k="53" />
-<hkern u1="D" u2="W" k="23" />
-<hkern u1="D" u2="V" k="33" />
-<hkern u1="D" u2="T" k="37" />
-<hkern u1="D" u2="S" k="10" />
-<hkern u1="D" u2="J" k="41" />
-<hkern u1="D" u2="A" k="41" />
-<hkern u1="D" u2="&#x2f;" k="53" />
-<hkern u1="D" u2="&#x2e;" k="23" />
-<hkern u1="D" u2="&#x29;" k="45" />
-<hkern u1="E" u2="&#xf0;" k="25" />
-<hkern u1="E" u2="&#xee;" k="-14" />
-<hkern u1="E" u2="u" k="14" />
-<hkern u1="E" u2="t" k="16" />
-<hkern u1="E" u2="s" k="10" />
-<hkern u1="E" u2="q" k="25" />
-<hkern u1="E" u2="o" k="25" />
-<hkern u1="E" u2="n" k="10" />
-<hkern u1="E" u2="f" k="12" />
-<hkern u1="E" u2="d" k="25" />
-<hkern u1="E" u2="a" k="14" />
-<hkern u1="E" u2="O" k="23" />
-<hkern u1="F" u2="&#xf0;" k="29" />
-<hkern u1="F" u2="&#xef;" k="-18" />
-<hkern u1="F" u2="&#xee;" k="-51" />
-<hkern u1="F" u2="&#xec;" k="-18" />
-<hkern u1="F" u2="&#xc6;" k="94" />
-<hkern u1="F" u2="z" k="25" />
-<hkern u1="F" u2="x" k="14" />
-<hkern u1="F" u2="u" k="16" />
-<hkern u1="F" u2="t" k="10" />
-<hkern u1="F" u2="s" k="35" />
-<hkern u1="F" u2="q" k="23" />
-<hkern u1="F" u2="o" k="23" />
-<hkern u1="F" u2="n" k="20" />
-<hkern u1="F" u2="f" k="10" />
-<hkern u1="F" u2="d" k="23" />
-<hkern u1="F" u2="a" k="31" />
-<hkern u1="F" u2="S" k="10" />
-<hkern u1="F" u2="J" k="39" />
-<hkern u1="F" u2="A" k="78" />
-<hkern u1="F" u2="&#x2f;" k="80" />
-<hkern u1="F" u2="&#x2e;" k="82" />
-<hkern u1="G" u2="z" k="10" />
-<hkern u1="G" u2="y" k="18" />
-<hkern u1="G" u2="x" k="18" />
-<hkern u1="G" u2="w" k="18" />
-<hkern u1="G" u2="v" k="16" />
-<hkern u1="G" u2="t" k="18" />
-<hkern u1="G" u2="s" k="10" />
-<hkern u1="G" u2="f" k="16" />
-<hkern u1="G" u2="Y" k="25" />
-<hkern u1="G" u2="X" k="12" />
-<hkern u1="G" u2="W" k="12" />
-<hkern u1="G" u2="V" k="20" />
-<hkern u1="G" u2="T" k="23" />
-<hkern u1="G" u2="A" k="12" />
-<hkern u1="G" u2="&#x29;" k="23" />
-<hkern u1="I" u2="&#xf0;" k="25" />
-<hkern u1="I" u2="z" k="12" />
-<hkern u1="I" u2="u" k="10" />
-<hkern u1="I" u2="t" k="18" />
-<hkern u1="I" u2="s" k="14" />
-<hkern u1="I" u2="q" k="20" />
-<hkern u1="I" u2="o" k="20" />
-<hkern u1="I" u2="n" k="10" />
-<hkern u1="I" u2="l" k="10" />
-<hkern u1="I" u2="i" k="10" />
-<hkern u1="I" u2="h" k="10" />
-<hkern u1="I" u2="f" k="16" />
-<hkern u1="I" u2="d" k="20" />
-<hkern u1="I" u2="a" k="14" />
-<hkern u1="J" u2="&#xf0;" k="25" />
-<hkern u1="J" u2="&#xc6;" k="23" />
-<hkern u1="J" u2="z" k="18" />
-<hkern u1="J" u2="x" k="12" />
-<hkern u1="J" u2="u" k="16" />
-<hkern u1="J" u2="t" k="14" />
-<hkern u1="J" u2="s" k="23" />
-<hkern u1="J" u2="q" k="18" />
-<hkern u1="J" u2="o" k="18" />
-<hkern u1="J" u2="n" k="10" />
-<hkern u1="J" u2="l" k="12" />
-<hkern u1="J" u2="i" k="12" />
-<hkern u1="J" u2="h" k="12" />
-<hkern u1="J" u2="f" k="14" />
-<hkern u1="J" u2="d" k="18" />
-<hkern u1="J" u2="a" k="18" />
-<hkern u1="J" u2="J" k="16" />
-<hkern u1="J" u2="A" k="20" />
-<hkern u1="J" u2="&#x2f;" k="41" />
-<hkern u1="K" u2="&#x2039;" k="29" />
-<hkern u1="K" u2="&#xf0;" k="82" />
-<hkern u1="K" u2="&#xef;" k="-84" />
-<hkern u1="K" u2="&#xee;" k="-31" />
-<hkern u1="K" u2="&#xec;" k="-88" />
-<hkern u1="K" u2="&#xae;" k="20" />
-<hkern u1="K" u2="y" k="53" />
-<hkern u1="K" u2="w" k="59" />
-<hkern u1="K" u2="v" k="53" />
-<hkern u1="K" u2="u" k="49" />
-<hkern u1="K" u2="t" k="31" />
-<hkern u1="K" u2="s" k="14" />
-<hkern u1="K" u2="q" k="90" />
-<hkern u1="K" u2="o" k="96" />
-<hkern u1="K" u2="n" k="14" />
-<hkern u1="K" u2="f" k="23" />
-<hkern u1="K" u2="d" k="94" />
-<hkern u1="K" u2="a" k="33" />
-<hkern u1="K" u2="S" k="39" />
-<hkern u1="K" u2="O" k="74" />
-<hkern u1="K" u2="&#x2d;" k="55" />
-<hkern u1="L" u2="&#x2122;" k="162" />
-<hkern u1="L" u2="&#x2019;" k="168" />
-<hkern u1="L" u2="&#x2018;" k="168" />
-<hkern u1="L" u2="&#xb7;" k="123" />
-<hkern u1="L" u2="y" k="98" />
-<hkern u1="L" u2="w" k="82" />
-<hkern u1="L" u2="v" k="100" />
-<hkern u1="L" u2="u" k="14" />
-<hkern u1="L" u2="t" k="55" />
-<hkern u1="L" u2="q" k="14" />
-<hkern u1="L" u2="o" k="14" />
-<hkern u1="L" u2="f" k="31" />
-<hkern u1="L" u2="d" k="14" />
-<hkern u1="L" u2="\" k="131" />
-<hkern u1="L" u2="Y" k="125" />
-<hkern u1="L" u2="W" k="102" />
-<hkern u1="L" u2="V" k="121" />
-<hkern u1="L" u2="U" k="31" />
-<hkern u1="L" u2="T" k="127" />
-<hkern u1="L" u2="O" k="39" />
-<hkern u1="L" u2="&#x3f;" k="45" />
-<hkern u1="L" u2="&#x31;" k="41" />
-<hkern u1="L" u2="&#x2d;" k="100" />
-<hkern u1="L" u2="&#x2a;" k="170" />
-<hkern u1="L" u2="&#x27;" k="166" />
-<hkern u1="O" u2="&#xf0;" k="14" />
-<hkern u1="O" u2="&#xc6;" k="47" />
-<hkern u1="O" u2="z" k="18" />
-<hkern u1="O" u2="x" k="33" />
-<hkern u1="O" u2="t" k="12" />
-<hkern u1="O" u2="s" k="16" />
-<hkern u1="O" u2="n" k="12" />
-<hkern u1="O" u2="l" k="12" />
-<hkern u1="O" u2="i" k="12" />
-<hkern u1="O" u2="h" k="12" />
-<hkern u1="O" u2="f" k="10" />
-<hkern u1="O" u2="a" k="14" />
-<hkern u1="O" u2="]" k="43" />
-<hkern u1="O" u2="\" k="37" />
-<hkern u1="O" u2="Z" k="29" />
-<hkern u1="O" u2="Y" k="51" />
-<hkern u1="O" u2="X" k="55" />
-<hkern u1="O" u2="W" k="23" />
-<hkern u1="O" u2="V" k="33" />
-<hkern u1="O" u2="T" k="39" />
-<hkern u1="O" u2="S" k="12" />
-<hkern u1="O" u2="J" k="45" />
-<hkern u1="O" u2="A" k="43" />
-<hkern u1="O" u2="&#x2f;" k="55" />
-<hkern u1="O" u2="&#x2e;" k="31" />
-<hkern u1="O" u2="&#x29;" k="45" />
-<hkern u1="P" u2="&#xf0;" k="25" />
-<hkern u1="P" u2="&#xc6;" k="104" />
-<hkern u1="P" u2="z" k="10" />
-<hkern u1="P" u2="s" k="16" />
-<hkern u1="P" u2="q" k="12" />
-<hkern u1="P" u2="o" k="14" />
-<hkern u1="P" u2="d" k="12" />
-<hkern u1="P" u2="a" k="18" />
-<hkern u1="P" u2="]" k="25" />
-<hkern u1="P" u2="Z" k="16" />
-<hkern u1="P" u2="Y" k="10" />
-<hkern u1="P" u2="X" k="43" />
-<hkern u1="P" u2="J" k="59" />
-<hkern u1="P" u2="A" k="84" />
-<hkern u1="P" u2="&#x2f;" k="90" />
-<hkern u1="P" u2="&#x2e;" k="106" />
-<hkern u1="P" u2="&#x29;" k="37" />
-<hkern u1="Q" u2="&#x201e;" k="6" />
-<hkern u1="Q" u2="&#x201a;" k="6" />
-<hkern u1="Q" u2="&#xc6;" k="29" />
-<hkern u1="Q" u2="j" k="-172" />
-<hkern u1="Q" u2="]" k="-6" />
-<hkern u1="Q" u2="&#x2f;" k="31" />
-<hkern u1="R" u2="&#x2039;" k="29" />
-<hkern u1="R" u2="&#xf0;" k="45" />
-<hkern u1="R" u2="y" k="14" />
-<hkern u1="R" u2="w" k="12" />
-<hkern u1="R" u2="v" k="12" />
-<hkern u1="R" u2="u" k="23" />
-<hkern u1="R" u2="t" k="20" />
-<hkern u1="R" u2="q" k="37" />
-<hkern u1="R" u2="o" k="41" />
-<hkern u1="R" u2="n" k="10" />
-<hkern u1="R" u2="l" k="10" />
-<hkern u1="R" u2="i" k="10" />
-<hkern u1="R" u2="h" k="10" />
-<hkern u1="R" u2="f" k="14" />
-<hkern u1="R" u2="d" k="37" />
-<hkern u1="R" u2="a" k="27" />
-<hkern u1="R" u2="\" k="33" />
-<hkern u1="R" u2="Y" k="37" />
-<hkern u1="R" u2="W" k="18" />
-<hkern u1="R" u2="V" k="27" />
-<hkern u1="R" u2="T" k="29" />
-<hkern u1="R" u2="O" k="14" />
-<hkern u1="R" u2="J" k="16" />
-<hkern u1="S" u2="&#xf0;" k="10" />
-<hkern u1="S" u2="&#xee;" k="-31" />
-<hkern u1="S" u2="z" k="18" />
-<hkern u1="S" u2="y" k="25" />
-<hkern u1="S" u2="x" k="23" />
-<hkern u1="S" u2="w" k="25" />
-<hkern u1="S" u2="v" k="20" />
-<hkern u1="S" u2="u" k="14" />
-<hkern u1="S" u2="t" k="29" />
-<hkern u1="S" u2="s" k="20" />
-<hkern u1="S" u2="q" k="10" />
-<hkern u1="S" u2="o" k="10" />
-<hkern u1="S" u2="n" k="16" />
-<hkern u1="S" u2="f" k="29" />
-<hkern u1="S" u2="d" k="10" />
-<hkern u1="S" u2="Y" k="10" />
-<hkern u1="S" u2="X" k="10" />
-<hkern u1="S" u2="V" k="10" />
-<hkern u1="S" u2="T" k="12" />
-<hkern u1="S" u2="A" k="16" />
-<hkern u1="S" u2="&#x2f;" k="25" />
-<hkern u1="T" u2="&#x203a;" k="98" />
-<hkern u1="T" u2="&#x2039;" k="115" />
-<hkern u1="T" u2="&#xf1;" k="78" />
-<hkern u1="T" u2="&#xf0;" k="82" />
-<hkern u1="T" u2="&#xef;" k="-53" />
-<hkern u1="T" u2="&#xee;" k="-88" />
-<hkern u1="T" u2="&#xed;" k="27" />
-<hkern u1="T" u2="&#xec;" k="-57" />
-<hkern u1="T" u2="&#xdf;" k="27" />
-<hkern u1="T" u2="&#xc6;" k="113" />
-<hkern u1="T" u2="z" k="137" />
-<hkern u1="T" u2="y" k="135" />
-<hkern u1="T" u2="x" k="131" />
-<hkern u1="T" u2="w" k="125" />
-<hkern u1="T" u2="v" k="133" />
-<hkern u1="T" u2="u" k="100" />
-<hkern u1="T" u2="s" k="131" />
-<hkern u1="T" u2="q" k="119" />
-<hkern u1="T" u2="o" k="123" />
-<hkern u1="T" u2="n" k="43" />
-<hkern u1="T" u2="l" k="10" />
-<hkern u1="T" u2="i" k="10" />
-<hkern u1="T" u2="h" k="10" />
-<hkern u1="T" u2="f" k="14" />
-<hkern u1="T" u2="d" k="119" />
-<hkern u1="T" u2="a" k="131" />
-<hkern u1="T" u2="S" k="12" />
-<hkern u1="T" u2="O" k="39" />
-<hkern u1="T" u2="J" k="31" />
-<hkern u1="T" u2="A" k="104" />
-<hkern u1="T" u2="&#x40;" k="45" />
-<hkern u1="T" u2="&#x3a;" k="102" />
-<hkern u1="T" u2="&#x34;" k="57" />
-<hkern u1="T" u2="&#x2f;" k="102" />
-<hkern u1="T" u2="&#x2e;" k="111" />
-<hkern u1="T" u2="&#x2d;" k="109" />
-<hkern u1="T" u2="&#x26;" k="25" />
-<hkern u1="U" u2="&#xf0;" k="27" />
-<hkern u1="U" u2="&#xc6;" k="43" />
-<hkern u1="U" u2="z" k="23" />
-<hkern u1="U" u2="x" k="14" />
-<hkern u1="U" u2="u" k="16" />
-<hkern u1="U" u2="t" k="14" />
-<hkern u1="U" u2="s" k="29" />
-<hkern u1="U" u2="q" k="20" />
-<hkern u1="U" u2="o" k="20" />
-<hkern u1="U" u2="n" k="16" />
-<hkern u1="U" u2="l" k="12" />
-<hkern u1="U" u2="i" k="12" />
-<hkern u1="U" u2="h" k="12" />
-<hkern u1="U" u2="f" k="14" />
-<hkern u1="U" u2="d" k="20" />
-<hkern u1="U" u2="a" k="23" />
-<hkern u1="U" u2="J" k="27" />
-<hkern u1="U" u2="A" k="37" />
-<hkern u1="U" u2="&#x2f;" k="51" />
-<hkern u1="U" u2="&#x2e;" k="27" />
-<hkern u1="V" u2="&#x2122;" k="-29" />
-<hkern u1="V" u2="&#x203a;" k="31" />
-<hkern u1="V" u2="&#x2039;" k="70" />
-<hkern u1="V" u2="&#xf0;" k="61" />
-<hkern u1="V" u2="&#xef;" k="-115" />
-<hkern u1="V" u2="&#xee;" k="-86" />
-<hkern u1="V" u2="&#xed;" k="23" />
-<hkern u1="V" u2="&#xec;" k="-117" />
-<hkern u1="V" u2="&#xdf;" k="27" />
-<hkern u1="V" u2="&#xc6;" k="96" />
-<hkern u1="V" u2="z" k="49" />
-<hkern u1="V" u2="x" k="16" />
-<hkern u1="V" u2="u" k="49" />
-<hkern u1="V" u2="t" k="12" />
-<hkern u1="V" u2="s" k="98" />
-<hkern u1="V" u2="q" k="94" />
-<hkern u1="V" u2="o" k="94" />
-<hkern u1="V" u2="n" k="57" />
-<hkern u1="V" u2="f" k="16" />
-<hkern u1="V" u2="d" k="94" />
-<hkern u1="V" u2="a" k="84" />
-<hkern u1="V" u2="S" k="18" />
-<hkern u1="V" u2="O" k="33" />
-<hkern u1="V" u2="J" k="31" />
-<hkern u1="V" u2="A" k="88" />
-<hkern u1="V" u2="&#x40;" k="31" />
-<hkern u1="V" u2="&#x3a;" k="49" />
-<hkern u1="V" u2="&#x34;" k="39" />
-<hkern u1="V" u2="&#x31;" k="-16" />
-<hkern u1="V" u2="&#x2f;" k="111" />
-<hkern u1="V" u2="&#x2e;" k="113" />
-<hkern u1="V" u2="&#x2d;" k="49" />
-<hkern u1="V" u2="&#x26;" k="27" />
-<hkern u1="W" u2="&#x2122;" k="-12" />
-<hkern u1="W" u2="&#x2039;" k="55" />
-<hkern u1="W" u2="&#xf0;" k="57" />
-<hkern u1="W" u2="&#xef;" k="-98" />
-<hkern u1="W" u2="&#xee;" k="-74" />
-<hkern u1="W" u2="&#xed;" k="18" />
-<hkern u1="W" u2="&#xec;" k="-100" />
-<hkern u1="W" u2="&#xdf;" k="25" />
-<hkern u1="W" u2="&#xc6;" k="86" />
-<hkern u1="W" u2="z" k="41" />
-<hkern u1="W" u2="x" k="12" />
-<hkern u1="W" u2="u" k="41" />
-<hkern u1="W" u2="s" k="88" />
-<hkern u1="W" u2="q" k="82" />
-<hkern u1="W" u2="o" k="86" />
-<hkern u1="W" u2="n" k="47" />
-<hkern u1="W" u2="f" k="12" />
-<hkern u1="W" u2="d" k="80" />
-<hkern u1="W" u2="a" k="70" />
-<hkern u1="W" u2="S" k="10" />
-<hkern u1="W" u2="O" k="23" />
-<hkern u1="W" u2="J" k="27" />
-<hkern u1="W" u2="A" k="76" />
-<hkern u1="W" u2="&#x40;" k="20" />
-<hkern u1="W" u2="&#x3a;" k="37" />
-<hkern u1="W" u2="&#x34;" k="25" />
-<hkern u1="W" u2="&#x2f;" k="94" />
-<hkern u1="W" u2="&#x2e;" k="90" />
-<hkern u1="W" u2="&#x2d;" k="37" />
-<hkern u1="X" u2="&#x2039;" k="35" />
-<hkern u1="X" u2="&#xf0;" k="66" />
-<hkern u1="X" u2="&#xef;" k="-49" />
-<hkern u1="X" u2="&#xec;" k="-53" />
-<hkern u1="X" u2="&#xae;" k="23" />
-<hkern u1="X" u2="y" k="53" />
-<hkern u1="X" u2="w" k="59" />
-<hkern u1="X" u2="v" k="53" />
-<hkern u1="X" u2="u" k="49" />
-<hkern u1="X" u2="t" k="41" />
-<hkern u1="X" u2="q" k="74" />
-<hkern u1="X" u2="o" k="74" />
-<hkern u1="X" u2="n" k="16" />
-<hkern u1="X" u2="f" k="31" />
-<hkern u1="X" u2="d" k="74" />
-<hkern u1="X" u2="a" k="25" />
-<hkern u1="X" u2="S" k="12" />
-<hkern u1="X" u2="O" k="59" />
-<hkern u1="X" u2="&#x2d;" k="55" />
-<hkern u1="Y" u2="&#x2122;" k="-43" />
-<hkern u1="Y" u2="&#x203a;" k="51" />
-<hkern u1="Y" u2="&#x2039;" k="94" />
-<hkern u1="Y" u2="&#xf0;" k="68" />
-<hkern u1="Y" u2="&#xef;" k="-129" />
-<hkern u1="Y" u2="&#xee;" k="-80" />
-<hkern u1="Y" u2="&#xed;" k="25" />
-<hkern u1="Y" u2="&#xec;" k="-131" />
-<hkern u1="Y" u2="&#xdf;" k="31" />
-<hkern u1="Y" u2="&#xc6;" k="109" />
-<hkern u1="Y" u2="&#xae;" k="25" />
-<hkern u1="Y" u2="z" k="76" />
-<hkern u1="Y" u2="y" k="12" />
-<hkern u1="Y" u2="x" k="31" />
-<hkern u1="Y" u2="w" k="20" />
-<hkern u1="Y" u2="v" k="12" />
-<hkern u1="Y" u2="u" k="82" />
-<hkern u1="Y" u2="t" k="14" />
-<hkern u1="Y" u2="s" k="98" />
-<hkern u1="Y" u2="q" k="106" />
-<hkern u1="Y" u2="o" k="109" />
-<hkern u1="Y" u2="n" k="84" />
-<hkern u1="Y" u2="f" k="27" />
-<hkern u1="Y" u2="d" k="104" />
-<hkern u1="Y" u2="a" k="92" />
-<hkern u1="Y" u2="]" k="-12" />
-<hkern u1="Y" u2="S" k="23" />
-<hkern u1="Y" u2="O" k="51" />
-<hkern u1="Y" u2="J" k="20" />
-<hkern u1="Y" u2="A" k="100" />
-<hkern u1="Y" u2="&#x40;" k="49" />
-<hkern u1="Y" u2="&#x3a;" k="70" />
-<hkern u1="Y" u2="&#x34;" k="57" />
-<hkern u1="Y" u2="&#x31;" k="-33" />
-<hkern u1="Y" u2="&#x2f;" k="102" />
-<hkern u1="Y" u2="&#x2e;" k="111" />
-<hkern u1="Y" u2="&#x2d;" k="78" />
-<hkern u1="Y" u2="&#x26;" k="31" />
-<hkern u1="Z" u2="&#xf0;" k="27" />
-<hkern u1="Z" u2="&#xee;" k="-29" />
-<hkern u1="Z" u2="y" k="16" />
-<hkern u1="Z" u2="w" k="18" />
-<hkern u1="Z" u2="v" k="14" />
-<hkern u1="Z" u2="u" k="23" />
-<hkern u1="Z" u2="t" k="23" />
-<hkern u1="Z" u2="q" k="29" />
-<hkern u1="Z" u2="o" k="31" />
-<hkern u1="Z" u2="n" k="16" />
-<hkern u1="Z" u2="f" k="23" />
-<hkern u1="Z" u2="d" k="31" />
-<hkern u1="Z" u2="a" k="12" />
-<hkern u1="Z" u2="O" k="29" />
-<hkern u1="Z" u2="&#x2d;" k="25" />
-<hkern u1="[" u2="&#xf0;" k="31" />
-<hkern u1="[" u2="&#xef;" k="-35" />
-<hkern u1="[" u2="&#xee;" k="-35" />
-<hkern u1="[" u2="&#xec;" k="-102" />
-<hkern u1="[" u2="u" k="33" />
-<hkern u1="[" u2="s" k="27" />
-<hkern u1="[" u2="q" k="51" />
-<hkern u1="[" u2="o" k="51" />
-<hkern u1="[" u2="j" k="-193" />
-<hkern u1="[" u2="d" k="51" />
-<hkern u1="[" u2="a" k="35" />
-<hkern u1="[" u2="Y" k="-12" />
-<hkern u1="[" u2="S" k="20" />
-<hkern u1="[" u2="O" k="43" />
-<hkern u1="[" u2="&#x38;" k="20" />
-<hkern u1="[" u2="&#x36;" k="33" />
-<hkern u1="[" u2="&#x34;" k="49" />
-<hkern u1="[" u2="&#x30;" k="33" />
-<hkern u1="\" u2="&#x2019;" k="117" />
-<hkern u1="\" u2="&#xc6;" k="-49" />
-<hkern u1="\" u2="y" k="47" />
-<hkern u1="\" u2="w" k="39" />
-<hkern u1="\" u2="v" k="47" />
-<hkern u1="\" u2="t" k="23" />
-<hkern u1="\" u2="Y" k="78" />
-<hkern u1="\" u2="W" k="63" />
-<hkern u1="\" u2="V" k="80" />
-<hkern u1="\" u2="U" k="25" />
-<hkern u1="\" u2="T" k="78" />
-<hkern u1="\" u2="O" k="23" />
-<hkern u1="\" u2="A" k="-27" />
-<hkern u1="\" u2="&#x31;" k="39" />
-<hkern u1="\" u2="&#x27;" k="100" />
-<hkern u1="a" u2="&#x2122;" k="41" />
-<hkern u1="a" u2="&#x2019;" k="16" />
-<hkern u1="a" u2="&#x2018;" k="16" />
-<hkern u1="a" u2="y" k="14" />
-<hkern u1="a" u2="w" k="16" />
-<hkern u1="a" u2="v" k="14" />
-<hkern u1="a" u2="t" k="12" />
-<hkern u1="a" u2="f" k="8" />
-<hkern u1="a" u2="\" k="68" />
-<hkern u1="a" u2="Z" k="23" />
-<hkern u1="a" u2="Y" k="84" />
-<hkern u1="a" u2="X" k="14" />
-<hkern u1="a" u2="W" k="59" />
-<hkern u1="a" u2="V" k="76" />
-<hkern u1="a" u2="U" k="23" />
-<hkern u1="a" u2="T" k="100" />
-<hkern u1="a" u2="S" k="12" />
-<hkern u1="a" u2="O" k="14" />
-<hkern u1="a" u2="J" k="16" />
-<hkern u1="a" u2="I" k="10" />
-<hkern u1="a" u2="&#x29;" k="31" />
-<hkern u1="b" u2="&#x2122;" k="47" />
-<hkern u1="b" u2="&#x2019;" k="43" />
-<hkern u1="b" u2="&#x2018;" k="43" />
-<hkern u1="b" u2="&#xc6;" k="25" />
-<hkern u1="b" u2="&#x7d;" k="29" />
-<hkern u1="b" u2="z" k="14" />
-<hkern u1="b" u2="y" k="23" />
-<hkern u1="b" u2="x" k="45" />
-<hkern u1="b" u2="w" k="18" />
-<hkern u1="b" u2="v" k="23" />
-<hkern u1="b" u2="t" k="18" />
-<hkern u1="b" u2="s" k="10" />
-<hkern u1="b" u2="f" k="16" />
-<hkern u1="b" u2="]" k="51" />
-<hkern u1="b" u2="\" k="74" />
-<hkern u1="b" u2="Z" k="47" />
-<hkern u1="b" u2="Y" k="104" />
-<hkern u1="b" u2="X" k="72" />
-<hkern u1="b" u2="W" k="80" />
-<hkern u1="b" u2="V" k="94" />
-<hkern u1="b" u2="U" k="20" />
-<hkern u1="b" u2="T" k="119" />
-<hkern u1="b" u2="S" k="23" />
-<hkern u1="b" u2="J" k="35" />
-<hkern u1="b" u2="I" k="20" />
-<hkern u1="b" u2="A" k="27" />
-<hkern u1="b" u2="&#x2f;" k="41" />
-<hkern u1="b" u2="&#x2a;" k="23" />
-<hkern u1="b" u2="&#x29;" k="53" />
-<hkern u1="b" u2="&#x27;" k="23" />
-<hkern u1="c" u2="&#x2122;" k="25" />
-<hkern u1="c" u2="&#x2039;" k="20" />
-<hkern u1="c" u2="&#xf0;" k="23" />
-<hkern u1="c" u2="q" k="16" />
-<hkern u1="c" u2="o" k="18" />
-<hkern u1="c" u2="d" k="16" />
-<hkern u1="c" u2="]" k="20" />
-<hkern u1="c" u2="\" k="45" />
-<hkern u1="c" u2="Y" k="86" />
-<hkern u1="c" u2="X" k="10" />
-<hkern u1="c" u2="W" k="43" />
-<hkern u1="c" u2="V" k="55" />
-<hkern u1="c" u2="U" k="16" />
-<hkern u1="c" u2="T" k="106" />
-<hkern u1="c" u2="S" k="12" />
-<hkern u1="c" u2="O" k="20" />
-<hkern u1="c" u2="&#x2d;" k="20" />
-<hkern u1="c" u2="&#x29;" k="29" />
-<hkern u1="d" u2="&#xec;" k="-31" />
-<hkern u1="d" u2="Z" k="12" />
-<hkern u1="d" u2="U" k="14" />
-<hkern u1="d" u2="T" k="10" />
-<hkern u1="d" u2="O" k="12" />
-<hkern u1="d" u2="J" k="18" />
-<hkern u1="d" u2="I" k="10" />
-<hkern u1="e" u2="&#x2122;" k="35" />
-<hkern u1="e" u2="&#x2019;" k="20" />
-<hkern u1="e" u2="&#x2018;" k="20" />
-<hkern u1="e" u2="&#xc6;" k="14" />
-<hkern u1="e" u2="&#x7d;" k="20" />
-<hkern u1="e" u2="z" k="10" />
-<hkern u1="e" u2="y" k="16" />
-<hkern u1="e" u2="x" k="31" />
-<hkern u1="e" u2="w" k="10" />
-<hkern u1="e" u2="v" k="16" />
-<hkern u1="e" u2="t" k="12" />
-<hkern u1="e" u2="f" k="10" />
-<hkern u1="e" u2="]" k="43" />
-<hkern u1="e" u2="\" k="66" />
-<hkern u1="e" u2="Z" k="33" />
-<hkern u1="e" u2="Y" k="100" />
-<hkern u1="e" u2="X" k="47" />
-<hkern u1="e" u2="W" k="78" />
-<hkern u1="e" u2="V" k="96" />
-<hkern u1="e" u2="U" k="14" />
-<hkern u1="e" u2="T" k="141" />
-<hkern u1="e" u2="S" k="16" />
-<hkern u1="e" u2="J" k="27" />
-<hkern u1="e" u2="I" k="14" />
-<hkern u1="e" u2="A" k="18" />
-<hkern u1="e" u2="&#x2f;" k="35" />
-<hkern u1="e" u2="&#x29;" k="47" />
-<hkern u1="f" u2="&#x2122;" k="-63" />
-<hkern u1="f" u2="&#x2039;" k="43" />
-<hkern u1="f" u2="&#xf0;" k="51" />
-<hkern u1="f" u2="&#xef;" k="-164" />
-<hkern u1="f" u2="&#xee;" k="-106" />
-<hkern u1="f" u2="&#xec;" k="-172" />
-<hkern u1="f" u2="&#xc6;" k="88" />
-<hkern u1="f" u2="&#x7d;" k="-20" />
-<hkern u1="f" u2="s" k="12" />
-<hkern u1="f" u2="q" k="25" />
-<hkern u1="f" u2="o" k="27" />
-<hkern u1="f" u2="d" k="23" />
-<hkern u1="f" u2="a" k="12" />
-<hkern u1="f" u2="]" k="-39" />
-<hkern u1="f" u2="\" k="-27" />
-<hkern u1="f" u2="Y" k="-135" />
-<hkern u1="f" u2="X" k="-61" />
-<hkern u1="f" u2="W" k="-104" />
-<hkern u1="f" u2="V" k="-123" />
-<hkern u1="f" u2="T" k="-59" />
-<hkern u1="f" u2="J" k="14" />
-<hkern u1="f" u2="A" k="82" />
-<hkern u1="f" u2="&#x2f;" k="55" />
-<hkern u1="f" u2="&#x2e;" k="57" />
-<hkern u1="f" u2="&#x2d;" k="29" />
-<hkern u1="f" u2="&#x2a;" k="-12" />
-<hkern u1="f" u2="&#x29;" k="-25" />
-<hkern u1="g" u2="j" k="-14" />
-<hkern u1="i" u2="&#xec;" k="-35" />
-<hkern u1="i" u2="Z" k="14" />
-<hkern u1="i" u2="U" k="12" />
-<hkern u1="i" u2="T" k="10" />
-<hkern u1="i" u2="O" k="12" />
-<hkern u1="i" u2="J" k="18" />
-<hkern u1="i" u2="I" k="10" />
-<hkern u1="j" u2="j" k="-61" />
-<hkern u1="k" u2="&#x2039;" k="41" />
-<hkern u1="k" u2="&#xf0;" k="63" />
-<hkern u1="k" u2="s" k="23" />
-<hkern u1="k" u2="q" k="55" />
-<hkern u1="k" u2="o" k="57" />
-<hkern u1="k" u2="d" k="53" />
-<hkern u1="k" u2="a" k="29" />
-<hkern u1="k" u2="Y" k="23" />
-<hkern u1="k" u2="V" k="10" />
-<hkern u1="k" u2="T" k="135" />
-<hkern u1="k" u2="S" k="12" />
-<hkern u1="k" u2="O" k="45" />
-<hkern u1="k" u2="&#x2d;" k="51" />
-<hkern u1="k" u2="&#x2a;" k="-27" />
-<hkern u1="l" u2="&#xec;" k="-31" />
-<hkern u1="l" u2="&#xb7;" k="152" />
-<hkern u1="l" u2="Z" k="12" />
-<hkern u1="l" u2="U" k="14" />
-<hkern u1="l" u2="T" k="10" />
-<hkern u1="l" u2="O" k="12" />
-<hkern u1="l" u2="J" k="18" />
-<hkern u1="l" u2="I" k="10" />
-<hkern u1="n" u2="&#x2122;" k="43" />
-<hkern u1="n" u2="&#x2019;" k="20" />
-<hkern u1="n" u2="&#x2018;" k="20" />
-<hkern u1="n" u2="y" k="18" />
-<hkern u1="n" u2="w" k="18" />
-<hkern u1="n" u2="v" k="18" />
-<hkern u1="n" u2="t" k="16" />
-<hkern u1="n" u2="f" k="10" />
-<hkern u1="n" u2="\" k="72" />
-<hkern u1="n" u2="Z" k="25" />
-<hkern u1="n" u2="Y" k="84" />
-<hkern u1="n" u2="X" k="14" />
-<hkern u1="n" u2="W" k="59" />
-<hkern u1="n" u2="V" k="76" />
-<hkern u1="n" u2="U" k="23" />
-<hkern u1="n" u2="T" k="102" />
-<hkern u1="n" u2="S" k="12" />
-<hkern u1="n" u2="O" k="14" />
-<hkern u1="n" u2="J" k="16" />
-<hkern u1="n" u2="I" k="10" />
-<hkern u1="n" u2="&#x29;" k="31" />
-<hkern u1="o" u2="&#x2122;" k="43" />
-<hkern u1="o" u2="&#x2019;" k="35" />
-<hkern u1="o" u2="&#x2018;" k="35" />
-<hkern u1="o" u2="&#xc6;" k="25" />
-<hkern u1="o" u2="&#x7d;" k="29" />
-<hkern u1="o" u2="z" k="14" />
-<hkern u1="o" u2="y" k="27" />
-<hkern u1="o" u2="x" k="45" />
-<hkern u1="o" u2="w" k="20" />
-<hkern u1="o" u2="v" k="25" />
-<hkern u1="o" u2="t" k="20" />
-<hkern u1="o" u2="s" k="10" />
-<hkern u1="o" u2="f" k="18" />
-<hkern u1="o" u2="]" k="51" />
-<hkern u1="o" u2="\" k="74" />
-<hkern u1="o" u2="Z" k="47" />
-<hkern u1="o" u2="Y" k="109" />
-<hkern u1="o" u2="X" k="74" />
-<hkern u1="o" u2="W" k="84" />
-<hkern u1="o" u2="V" k="94" />
-<hkern u1="o" u2="U" k="20" />
-<hkern u1="o" u2="T" k="123" />
-<hkern u1="o" u2="S" k="25" />
-<hkern u1="o" u2="J" k="35" />
-<hkern u1="o" u2="I" k="20" />
-<hkern u1="o" u2="A" k="27" />
-<hkern u1="o" u2="&#x2f;" k="41" />
-<hkern u1="o" u2="&#x2a;" k="16" />
-<hkern u1="o" u2="&#x29;" k="53" />
-<hkern u1="p" u2="&#x2122;" k="43" />
-<hkern u1="p" u2="&#x2019;" k="31" />
-<hkern u1="p" u2="&#x2018;" k="31" />
-<hkern u1="p" u2="&#xc6;" k="23" />
-<hkern u1="p" u2="&#x7d;" k="31" />
-<hkern u1="p" u2="z" k="14" />
-<hkern u1="p" u2="y" k="23" />
-<hkern u1="p" u2="x" k="43" />
-<hkern u1="p" u2="w" k="18" />
-<hkern u1="p" u2="v" k="23" />
-<hkern u1="p" u2="t" k="18" />
-<hkern u1="p" u2="s" k="10" />
-<hkern u1="p" u2="f" k="16" />
-<hkern u1="p" u2="]" k="51" />
-<hkern u1="p" u2="\" k="74" />
-<hkern u1="p" u2="Z" k="47" />
-<hkern u1="p" u2="Y" k="104" />
-<hkern u1="p" u2="X" k="68" />
-<hkern u1="p" u2="W" k="80" />
-<hkern u1="p" u2="V" k="94" />
-<hkern u1="p" u2="U" k="20" />
-<hkern u1="p" u2="T" k="119" />
-<hkern u1="p" u2="S" k="23" />
-<hkern u1="p" u2="J" k="33" />
-<hkern u1="p" u2="I" k="18" />
-<hkern u1="p" u2="A" k="25" />
-<hkern u1="p" u2="&#x2f;" k="41" />
-<hkern u1="p" u2="&#x29;" k="53" />
-<hkern u1="q" u2="j" k="-141" />
-<hkern u1="r" u2="&#x2039;" k="41" />
-<hkern u1="r" u2="&#xf0;" k="39" />
-<hkern u1="r" u2="&#xc6;" k="92" />
-<hkern u1="r" u2="s" k="8" />
-<hkern u1="r" u2="q" k="14" />
-<hkern u1="r" u2="o" k="16" />
-<hkern u1="r" u2="d" k="14" />
-<hkern u1="r" u2="a" k="10" />
-<hkern u1="r" u2="]" k="27" />
-<hkern u1="r" u2="Z" k="25" />
-<hkern u1="r" u2="Y" k="12" />
-<hkern u1="r" u2="X" k="63" />
-<hkern u1="r" u2="T" k="129" />
-<hkern u1="r" u2="J" k="74" />
-<hkern u1="r" u2="I" k="10" />
-<hkern u1="r" u2="A" k="94" />
-<hkern u1="r" u2="&#x2f;" k="80" />
-<hkern u1="r" u2="&#x2e;" k="84" />
-<hkern u1="r" u2="&#x29;" k="35" />
-<hkern u1="r" u2="&#x26;" k="20" />
-<hkern u1="s" u2="&#x2122;" k="31" />
-<hkern u1="s" u2="y" k="10" />
-<hkern u1="s" u2="x" k="14" />
-<hkern u1="s" u2="v" k="8" />
-<hkern u1="s" u2="t" k="8" />
-<hkern u1="s" u2="]" k="35" />
-<hkern u1="s" u2="\" k="55" />
-<hkern u1="s" u2="Z" k="12" />
-<hkern u1="s" u2="Y" k="96" />
-<hkern u1="s" u2="X" k="25" />
-<hkern u1="s" u2="W" k="55" />
-<hkern u1="s" u2="V" k="68" />
-<hkern u1="s" u2="U" k="20" />
-<hkern u1="s" u2="T" k="111" />
-<hkern u1="s" u2="O" k="14" />
-<hkern u1="s" u2="J" k="10" />
-<hkern u1="s" u2="I" k="14" />
-<hkern u1="s" u2="A" k="12" />
-<hkern u1="s" u2="&#x2f;" k="23" />
-<hkern u1="s" u2="&#x29;" k="41" />
-<hkern u1="t" u2="&#x2122;" k="20" />
-<hkern u1="t" u2="&#xf0;" k="8" />
-<hkern u1="t" u2="q" k="10" />
-<hkern u1="t" u2="o" k="12" />
-<hkern u1="t" u2="d" k="10" />
-<hkern u1="t" u2="\" k="37" />
-<hkern u1="t" u2="Y" k="70" />
-<hkern u1="t" u2="W" k="37" />
-<hkern u1="t" u2="V" k="45" />
-<hkern u1="t" u2="U" k="18" />
-<hkern u1="t" u2="T" k="47" />
-<hkern u1="t" u2="O" k="16" />
-<hkern u1="u" u2="&#x2122;" k="16" />
-<hkern u1="u" u2="\" k="39" />
-<hkern u1="u" u2="Z" k="16" />
-<hkern u1="u" u2="Y" k="84" />
-<hkern u1="u" u2="X" k="16" />
-<hkern u1="u" u2="W" k="47" />
-<hkern u1="u" u2="V" k="57" />
-<hkern u1="u" u2="U" k="16" />
-<hkern u1="u" u2="T" k="43" />
-<hkern u1="u" u2="S" k="10" />
-<hkern u1="u" u2="O" k="12" />
-<hkern u1="u" u2="J" k="18" />
-<hkern u1="u" u2="I" k="10" />
-<hkern u1="u" u2="&#x29;" k="29" />
-<hkern u1="v" u2="&#x2039;" k="35" />
-<hkern u1="v" u2="&#xf0;" k="39" />
-<hkern u1="v" u2="&#xc6;" k="72" />
-<hkern u1="v" u2="s" k="18" />
-<hkern u1="v" u2="q" k="23" />
-<hkern u1="v" u2="o" k="25" />
-<hkern u1="v" u2="d" k="23" />
-<hkern u1="v" u2="a" k="14" />
-<hkern u1="v" u2="Y" k="12" />
-<hkern u1="v" u2="X" k="51" />
-<hkern u1="v" u2="T" k="133" />
-<hkern u1="v" u2="J" k="43" />
-<hkern u1="v" u2="A" k="63" />
-<hkern u1="v" u2="&#x2f;" k="78" />
-<hkern u1="v" u2="&#x2e;" k="68" />
-<hkern u1="v" u2="&#x29;" k="23" />
-<hkern u1="w" u2="&#x2039;" k="27" />
-<hkern u1="w" u2="&#xf0;" k="35" />
-<hkern u1="w" u2="&#xc6;" k="66" />
-<hkern u1="w" u2="s" k="16" />
-<hkern u1="w" u2="q" k="18" />
-<hkern u1="w" u2="o" k="20" />
-<hkern u1="w" u2="d" k="18" />
-<hkern u1="w" u2="a" k="12" />
-<hkern u1="w" u2="Z" k="12" />
-<hkern u1="w" u2="Y" k="20" />
-<hkern u1="w" u2="X" k="57" />
-<hkern u1="w" u2="T" k="125" />
-<hkern u1="w" u2="J" k="51" />
-<hkern u1="w" u2="A" k="57" />
-<hkern u1="w" u2="&#x2f;" k="70" />
-<hkern u1="w" u2="&#x2e;" k="53" />
-<hkern u1="w" u2="&#x29;" k="29" />
-<hkern u1="x" u2="&#x2039;" k="43" />
-<hkern u1="x" u2="&#xf0;" k="53" />
-<hkern u1="x" u2="s" k="12" />
-<hkern u1="x" u2="q" k="49" />
-<hkern u1="x" u2="o" k="51" />
-<hkern u1="x" u2="d" k="47" />
-<hkern u1="x" u2="a" k="20" />
-<hkern u1="x" u2="Y" k="29" />
-<hkern u1="x" u2="V" k="14" />
-<hkern u1="x" u2="U" k="12" />
-<hkern u1="x" u2="T" k="131" />
-<hkern u1="x" u2="O" k="35" />
-<hkern u1="x" u2="&#x2d;" k="45" />
-<hkern u1="y" u2="&#x2039;" k="35" />
-<hkern u1="y" u2="&#xf0;" k="39" />
-<hkern u1="y" u2="&#xc6;" k="72" />
-<hkern u1="y" u2="s" k="20" />
-<hkern u1="y" u2="q" k="25" />
-<hkern u1="y" u2="o" k="27" />
-<hkern u1="y" u2="d" k="23" />
-<hkern u1="y" u2="a" k="16" />
-<hkern u1="y" u2="Y" k="12" />
-<hkern u1="y" u2="X" k="51" />
-<hkern u1="y" u2="T" k="135" />
-<hkern u1="y" u2="J" k="47" />
-<hkern u1="y" u2="A" k="63" />
-<hkern u1="y" u2="&#x2f;" k="72" />
-<hkern u1="y" u2="&#x2e;" k="70" />
-<hkern u1="y" u2="&#x2a;" k="-33" />
-<hkern u1="y" u2="&#x29;" k="23" />
-<hkern u1="z" u2="&#x2122;" k="16" />
-<hkern u1="z" u2="&#x2039;" k="23" />
-<hkern u1="z" u2="&#xf0;" k="16" />
-<hkern u1="z" u2="q" k="14" />
-<hkern u1="z" u2="o" k="14" />
-<hkern u1="z" u2="d" k="14" />
-<hkern u1="z" u2="\" k="37" />
-<hkern u1="z" u2="Y" k="72" />
-<hkern u1="z" u2="W" k="37" />
-<hkern u1="z" u2="V" k="45" />
-<hkern u1="z" u2="U" k="20" />
-<hkern u1="z" u2="T" k="143" />
-<hkern u1="z" u2="O" k="14" />
-<hkern u1="z" u2="I" k="12" />
-<hkern u1="z" u2="&#x2d;" k="20" />
-<hkern u1="&#x7b;" u2="&#xef;" k="-14" />
-<hkern u1="&#x7b;" u2="&#xee;" k="-31" />
-<hkern u1="&#x7b;" u2="&#xec;" k="-82" />
-<hkern u1="&#x7b;" u2="q" k="31" />
-<hkern u1="&#x7b;" u2="o" k="29" />
-<hkern u1="&#x7b;" u2="j" k="-182" />
-<hkern u1="&#x7b;" u2="d" k="29" />
-<hkern u1="&#x7b;" u2="O" k="20" />
-<hkern u1="&#x7c;" u2="&#xec;" k="-27" />
-<hkern u1="&#x7c;" u2="j" k="-133" />
-<hkern u1="&#x7d;" u2="&#x29;" k="20" />
-<hkern u1="&#xae;" u2="&#xc6;" k="23" />
-<hkern u1="&#xae;" u2="Y" k="25" />
-<hkern u1="&#xae;" u2="X" k="25" />
-<hkern u1="&#xae;" u2="A" k="23" />
-<hkern u1="&#xb0;" u2="&#x34;" k="43" />
-<hkern u1="&#xb7;" u2="l" k="152" />
-<hkern u1="&#xb7;" u2="&#x37;" k="31" />
-<hkern u1="&#xb7;" u2="&#x33;" k="45" />
-<hkern u1="&#xb7;" u2="&#x32;" k="43" />
-<hkern u1="&#xb7;" u2="&#x31;" k="49" />
-<hkern u1="&#xbf;" u2="Y" k="35" />
-<hkern u1="&#xbf;" u2="W" k="25" />
-<hkern u1="&#xbf;" u2="V" k="33" />
-<hkern u1="&#xbf;" u2="T" k="39" />
-<hkern u1="&#xde;" u2="&#x2122;" k="18" />
-<hkern u1="&#xde;" u2="&#xf0;" k="14" />
-<hkern u1="&#xde;" u2="&#xc6;" k="51" />
-<hkern u1="&#xde;" u2="z" k="16" />
-<hkern u1="&#xde;" u2="x" k="25" />
-<hkern u1="&#xde;" u2="s" k="14" />
-<hkern u1="&#xde;" u2="n" k="12" />
-<hkern u1="&#xde;" u2="l" k="12" />
-<hkern u1="&#xde;" u2="i" k="12" />
-<hkern u1="&#xde;" u2="h" k="12" />
-<hkern u1="&#xde;" u2="a" k="14" />
-<hkern u1="&#xde;" u2="]" k="47" />
-<hkern u1="&#xde;" u2="\" k="39" />
-<hkern u1="&#xde;" u2="Z" k="33" />
-<hkern u1="&#xde;" u2="Y" k="57" />
-<hkern u1="&#xde;" u2="X" k="72" />
-<hkern u1="&#xde;" u2="W" k="25" />
-<hkern u1="&#xde;" u2="V" k="35" />
-<hkern u1="&#xde;" u2="T" k="37" />
-<hkern u1="&#xde;" u2="S" k="10" />
-<hkern u1="&#xde;" u2="J" k="53" />
-<hkern u1="&#xde;" u2="A" k="49" />
-<hkern u1="&#xde;" u2="&#x2f;" k="59" />
-<hkern u1="&#xde;" u2="&#x2e;" k="53" />
-<hkern u1="&#xde;" u2="&#x29;" k="49" />
-<hkern u1="&#xdf;" u2="&#xc6;" k="12" />
-<hkern u1="&#xdf;" u2="z" k="8" />
-<hkern u1="&#xdf;" u2="y" k="18" />
-<hkern u1="&#xdf;" u2="x" k="25" />
-<hkern u1="&#xdf;" u2="w" k="14" />
-<hkern u1="&#xdf;" u2="v" k="16" />
-<hkern u1="&#xdf;" u2="t" k="16" />
-<hkern u1="&#xdf;" u2="s" k="10" />
-<hkern u1="&#xdf;" u2="f" k="16" />
-<hkern u1="&#xdf;" u2="\" k="20" />
-<hkern u1="&#xdf;" u2="Z" k="18" />
-<hkern u1="&#xdf;" u2="Y" k="37" />
-<hkern u1="&#xdf;" u2="X" k="37" />
-<hkern u1="&#xdf;" u2="W" k="31" />
-<hkern u1="&#xdf;" u2="V" k="35" />
-<hkern u1="&#xdf;" u2="U" k="20" />
-<hkern u1="&#xdf;" u2="T" k="33" />
-<hkern u1="&#xdf;" u2="S" k="14" />
-<hkern u1="&#xdf;" u2="O" k="12" />
-<hkern u1="&#xdf;" u2="J" k="16" />
-<hkern u1="&#xdf;" u2="I" k="18" />
-<hkern u1="&#xdf;" u2="A" k="16" />
-<hkern u1="&#xdf;" u2="&#x2f;" k="29" />
-<hkern u1="&#xdf;" u2="&#x29;" k="31" />
-<hkern u1="&#xed;" u2="&#x2122;" k="-74" />
-<hkern u1="&#xed;" u2="&#x7d;" k="-96" />
-<hkern u1="&#xed;" u2="&#x7c;" k="-41" />
-<hkern u1="&#xed;" u2="l" k="-45" />
-<hkern u1="&#xed;" u2="i" k="-43" />
-<hkern u1="&#xed;" u2="h" k="-45" />
-<hkern u1="&#xed;" u2="]" k="-117" />
-<hkern u1="&#xed;" u2="\" k="-111" />
-<hkern u1="&#xed;" u2="&#x2a;" k="-14" />
-<hkern u1="&#xed;" u2="&#x29;" k="-106" />
-<hkern u1="&#xee;" u2="&#x2122;" k="-88" />
-<hkern u1="&#xee;" u2="&#x7d;" k="-29" />
-<hkern u1="&#xee;" u2="]" k="-33" />
-<hkern u1="&#xee;" u2="&#x2a;" k="-57" />
-<hkern u1="&#xef;" u2="&#x2122;" k="-59" />
-<hkern u1="&#xef;" u2="&#x7d;" k="-16" />
-<hkern u1="&#xef;" u2="]" k="-37" />
-<hkern u1="&#xef;" u2="\" k="-16" />
-<hkern u1="&#xef;" u2="&#x2a;" k="-23" />
-<hkern u1="&#xef;" u2="&#x29;" k="-25" />
-<hkern u1="&#xf0;" u2="&#x2122;" k="20" />
-<hkern u1="&#xf0;" u2="&#x2019;" k="23" />
-<hkern u1="&#xf0;" u2="&#x2018;" k="23" />
-<hkern u1="&#xf0;" u2="&#xc6;" k="20" />
-<hkern u1="&#xf0;" u2="z" k="10" />
-<hkern u1="&#xf0;" u2="y" k="18" />
-<hkern u1="&#xf0;" u2="x" k="35" />
-<hkern u1="&#xf0;" u2="w" k="14" />
-<hkern u1="&#xf0;" u2="v" k="16" />
-<hkern u1="&#xf0;" u2="t" k="14" />
-<hkern u1="&#xf0;" u2="s" k="8" />
-<hkern u1="&#xf0;" u2="f" k="14" />
-<hkern u1="&#xf0;" u2="]" k="33" />
-<hkern u1="&#xf0;" u2="\" k="29" />
-<hkern u1="&#xf0;" u2="Z" k="57" />
-<hkern u1="&#xf0;" u2="Y" k="68" />
-<hkern u1="&#xf0;" u2="X" k="66" />
-<hkern u1="&#xf0;" u2="W" k="53" />
-<hkern u1="&#xf0;" u2="V" k="59" />
-<hkern u1="&#xf0;" u2="U" k="20" />
-<hkern u1="&#xf0;" u2="T" k="90" />
-<hkern u1="&#xf0;" u2="S" k="18" />
-<hkern u1="&#xf0;" u2="J" k="31" />
-<hkern u1="&#xf0;" u2="I" k="16" />
-<hkern u1="&#xf0;" u2="A" k="23" />
-<hkern u1="&#xf0;" u2="&#x2f;" k="37" />
-<hkern u1="&#xf0;" u2="&#x29;" k="37" />
-<hkern u1="&#x2018;" u2="&#xf0;" k="27" />
-<hkern u1="&#x2018;" u2="&#xef;" k="-27" />
-<hkern u1="&#x2018;" u2="&#xec;" k="-29" />
-<hkern u1="&#x2018;" u2="&#xc6;" k="125" />
-<hkern u1="&#x2018;" u2="s" k="43" />
-<hkern u1="&#x2018;" u2="q" k="55" />
-<hkern u1="&#x2018;" u2="o" k="59" />
-<hkern u1="&#x2018;" u2="d" k="68" />
-<hkern u1="&#x2018;" u2="a" k="27" />
-<hkern u1="&#x2018;" u2="O" k="18" />
-<hkern u1="&#x2018;" u2="J" k="27" />
-<hkern u1="&#x2018;" u2="A" k="115" />
-<hkern u1="&#x2018;" u2="&#x2e;" k="287" />
-<hkern u1="&#x2019;" u2="&#x2039;" k="45" />
-<hkern u1="&#x2019;" u2="&#xf0;" k="27" />
-<hkern u1="&#x2019;" u2="&#xef;" k="-27" />
-<hkern u1="&#x2019;" u2="&#xec;" k="-29" />
-<hkern u1="&#x2019;" u2="&#xc6;" k="125" />
-<hkern u1="&#x2019;" u2="s" k="43" />
-<hkern u1="&#x2019;" u2="q" k="55" />
-<hkern u1="&#x2019;" u2="o" k="59" />
-<hkern u1="&#x2019;" u2="d" k="68" />
-<hkern u1="&#x2019;" u2="a" k="27" />
-<hkern u1="&#x2019;" u2="O" k="18" />
-<hkern u1="&#x2019;" u2="J" k="27" />
-<hkern u1="&#x2019;" u2="A" k="115" />
-<hkern u1="&#x2019;" u2="&#x40;" k="49" />
-<hkern u1="&#x2019;" u2="&#x3a;" k="47" />
-<hkern u1="&#x2019;" u2="&#x2f;" k="164" />
-<hkern u1="&#x2019;" u2="&#x2e;" k="287" />
-<hkern u1="&#x2019;" u2="&#x26;" k="41" />
-<hkern u1="&#x2039;" u2="Y" k="51" />
-<hkern u1="&#x2039;" u2="V" k="31" />
-<hkern u1="&#x2039;" u2="T" k="98" />
-<hkern u1="&#x203a;" u2="z" k="20" />
-<hkern u1="&#x203a;" u2="y" k="35" />
-<hkern u1="&#x203a;" u2="x" k="43" />
-<hkern u1="&#x203a;" u2="w" k="27" />
-<hkern u1="&#x203a;" u2="v" k="35" />
-<hkern u1="&#x203a;" u2="t" k="23" />
-<hkern u1="&#x203a;" u2="f" k="20" />
-<hkern u1="&#x203a;" u2="Z" k="20" />
-<hkern u1="&#x203a;" u2="Y" k="94" />
-<hkern u1="&#x203a;" u2="X" k="35" />
-<hkern u1="&#x203a;" u2="W" k="55" />
-<hkern u1="&#x203a;" u2="V" k="70" />
-<hkern u1="&#x203a;" u2="T" k="115" />
-<hkern u1="&#x203a;" u2="J" k="23" />
-<hkern u1="&#x203a;" u2="&#x27;" k="35" />
-<hkern u1="&#x2122;" u2="&#xef;" k="-18" />
-<hkern u1="&#x2122;" u2="&#xee;" k="-51" />
-<hkern u1="&#x2122;" u2="&#xec;" k="-20" />
-<hkern u1="&#x2122;" u2="&#xc6;" k="55" />
-<hkern u1="&#x2122;" u2="J" k="29" />
-<hkern u1="&#x2122;" u2="A" k="49" />
-</font>
-</defs></svg> -162 -186q96 -25 148.5 -95.5t52.5 -158.5q0 -137 -95 -217t-243.5 -80t-308.5 110l94 170q117 -88 219 -88q49 0 81 24.5t32 74t-44 75t-111.5 25.5t-119.5 -25v154l150 178h-250zM1491 537h186v-172h95v-164 h-95v-201h-186v201h-367v157l301 506h226l-299 -499h139v172z" />
-<glyph unicode="&#xbf;" horiz-adv-x="1077" d="M399 1022h312v-154q0 -84 -21.5 -126t-91.5 -113l-139 -144q-31 -37 -31 -95t33 -97t86 -39t89 46t44 122h326q-23 -205 -150 -321.5t-318.5 -116.5t-311.5 104.5t-120 288.5q0 82 20.5 122t29 57t38 52t39.5 43q49 51 93.5 94t58.5 71t14 83v123zM731 1284 q0 -76 -52 -128t-128 -52t-128 52t-52 128t52 128t128 52t128 -52t52 -128z" />
-<glyph unicode="&#xc0;" d="M1196 0l-133 309h-600l-133 -309h-340l618 1432h310l618 -1432h-340zM764 1006l-180 -416h358zM918 1575h-293l-285 229l315 135z" />
-<glyph unicode="&#xc1;" d="M1196 0l-133 309h-600l-133 -309h-340l618 1432h310l618 -1432h-340zM764 1006l-180 -416h358zM899 1579h-293l260 363l318 -134z" />
-<glyph unicode="&#xc2;" d="M1196 0l-133 309h-600l-133 -309h-340l618 1432h310l618 -1432h-340zM764 1006l-180 -416h358zM580 1575h-252l231 323h383l232 -323h-252l-172 166z" />
-<glyph unicode="&#xc3;" d="M1196 0l-133 309h-600l-133 -309h-340l618 1432h310l618 -1432h-340zM764 1006l-180 -416h358zM633 1681q-63 0 -62 -106h-217q0 154 66.5 242t171.5 88q66 0 159 -56.5t113 -56.5q63 0 62 106h217q0 -154 -66.5 -241.5t-171.5 -87.5q-63 0 -159.5 56t-112.5 56z" />
-<glyph unicode="&#xc4;" d="M1196 0l-133 309h-600l-133 -309h-340l618 1432h310l618 -1432h-340zM764 1006l-180 -416h358zM420 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM815 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5 t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xc5;" d="M606 1430q-61 66 -61 154.5t64.5 153t154.5 64.5t154.5 -64.5t64.5 -154.5t-65 -156l618 -1427h-340l-133 309h-600l-133 -309h-340zM764 1006l-180 -416h358zM692 1583q0 -29 21.5 -50.5t50.5 -21.5t50.5 21.5t21.5 50.5t-21.5 50.5t-50.5 21.5t-50.5 -21.5t-21.5 -50.5 z" />
-<glyph unicode="&#xc6;" horiz-adv-x="2095" d="M1966 1432v-281h-715v-309h641v-269h-641v-292h738v-281h-1078v309h-405l-162 -309h-377l735 1432h1264zM911 598v504l-260 -504h260z" />
-<glyph unicode="&#xc7;" horiz-adv-x="1499" d="M834 283q236 0 385 186l204 -211q-207 -233 -495 -268l-54 -99q133 -45 134 -155q0 -88 -73 -153.5t-183.5 -65.5t-214.5 65l77 176q45 -39 80 -39t54.5 18.5t19.5 46.5t-24.5 49.5t-58.5 21.5t-73 -19l84 160q-266 45 -436 244.5t-170 498.5t218 512t534 213 q352 0 590 -268l-199 -225q-152 188 -377 188q-180 0 -308 -117.5t-128 -317.5t121 -320.5t293 -120.5z" />
-<glyph unicode="&#xc8;" horiz-adv-x="1339" d="M1208 1432v-285h-712v-295h641v-272h-641v-297h735v-283h-1055v1432h1032zM827 1575h-292l-285 229l315 135z" />
-<glyph unicode="&#xc9;" horiz-adv-x="1339" d="M1208 1432v-285h-712v-295h641v-272h-641v-297h735v-283h-1055v1432h1032zM809 1579h-293l260 363l318 -134z" />
-<glyph unicode="&#xca;" horiz-adv-x="1339" d="M1208 1432v-285h-712v-295h641v-272h-641v-297h735v-283h-1055v1432h1032zM489 1575h-251l231 323h383l231 -323h-252l-172 166z" />
-<glyph unicode="&#xcb;" horiz-adv-x="1339" d="M1208 1432v-285h-712v-295h641v-272h-641v-297h735v-283h-1055v1432h1032zM348 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM743 1734.5q0 63.5 44 107.5t107.5 44t108 -44t44.5 -107.5t-44.5 -107.5t-108 -44 t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xcc;" horiz-adv-x="671" d="M176 1432h320v-1432h-320v1432zM502 1575h-293l-285 229l316 135z" />
-<glyph unicode="&#xcd;" horiz-adv-x="671" d="M176 1432h320v-1432h-320v1432zM483 1579h-293l261 363l317 -134z" />
-<glyph unicode="&#xce;" horiz-adv-x="671" d="M176 1432h320v-1432h-320v1432zM166 1577h-252l231 324h383l232 -324h-252l-172 166z" />
-<glyph unicode="&#xcf;" horiz-adv-x="671" d="M176 1432h320v-1432h-320v1432zM-14 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM381 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xd0;" horiz-adv-x="1605" d="M53 573v273h152v586h506q383 0 587.5 -187.5t204.5 -521.5t-199.5 -528.5t-609.5 -194.5h-489v573h-152zM1064 393.5q118 110.5 118 321.5t-118 324.5t-362 113.5h-178v-307h480v-273h-480v-290h203q219 0 337 110.5z" />
-<glyph unicode="&#xd1;" horiz-adv-x="1673" d="M1178 1432h319v-1432h-319l-682 897v-897h-320v1432h299l703 -922v922zM717 1679q-63 0 -62 -106h-217q0 154 66.5 242t171.5 88q66 0 159 -56.5t113 -56.5q63 0 62 106h217q0 -154 -66.5 -241.5t-171.5 -87.5q-63 0 -159.5 56t-112.5 56z" />
-<glyph unicode="&#xd2;" horiz-adv-x="1691" d="M1149 1050.5q-123 135.5 -302 135.5t-302 -135.5t-123 -327t123 -325.5t302 -134t302 134t123 325.5t-123 327zM845.5 -14q-317.5 0 -534.5 212t-217 527t217 527t534.5 212t534.5 -212t217 -527t-217 -527t-534.5 -212zM1012 1575h-293l-285 229l316 135z" />
-<glyph unicode="&#xd3;" horiz-adv-x="1691" d="M1149 1050.5q-123 135.5 -302 135.5t-302 -135.5t-123 -327t123 -325.5t302 -134t302 134t123 325.5t-123 327zM845.5 -14q-317.5 0 -534.5 212t-217 527t217 527t534.5 212t534.5 -212t217 -527t-217 -527t-534.5 -212zM993 1579h-293l261 363l317 -134z" />
-<glyph unicode="&#xd4;" horiz-adv-x="1691" d="M1149 1050.5q-123 135.5 -302 135.5t-302 -135.5t-123 -327t123 -325.5t302 -134t302 134t123 325.5t-123 327zM845.5 -14q-317.5 0 -534.5 212t-217 527t217 527t534.5 212t534.5 -212t217 -527t-217 -527t-534.5 -212zM674 1575h-252l231 323h383l232 -323h-252 l-172 166z" />
-<glyph unicode="&#xd5;" horiz-adv-x="1691" d="M1149 1050.5q-123 135.5 -302 135.5t-302 -135.5t-123 -327t123 -325.5t302 -134t302 134t123 325.5t-123 327zM845.5 -14q-317.5 0 -534.5 212t-217 527t217 527t534.5 212t534.5 -212t217 -527t-217 -527t-534.5 -212zM727 1679q-63 0 -61 -106h-217q0 154 66.5 242 t170.5 88q66 0 159 -56.5t113 -56.5q63 0 62 106h217q0 -154 -66.5 -241.5t-171.5 -87.5q-63 0 -159.5 56t-112.5 56z" />
-<glyph unicode="&#xd6;" horiz-adv-x="1691" d="M1149 1050.5q-123 135.5 -302 135.5t-302 -135.5t-123 -327t123 -325.5t302 -134t302 134t123 325.5t-123 327zM845.5 -14q-317.5 0 -534.5 212t-217 527t217 527t534.5 212t534.5 -212t217 -527t-217 -527t-534.5 -212zM494 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44 t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5zM889 1734.5q0 63.5 44 107.5t107.5 44t107.5 -44t44 -107.5t-44 -107.5t-107.5 -44t-107.5 44t-44 107.5z" />
-<glyph unicode="&#xd7;" horiz-adv-x="1206" d="M604 924l326 333l176 -182l-322 -330l324 -333l-176 -183l-328 334l-325 -334l-181 183l328 333l-326 330l181 182z" />
-<glyph unicode="&#xd8;" horiz-adv-x="1691" d="M1597 725q0 -315 -217 -527t-534 -212q-80 0 -162 16l-106 -231h-289l149 327q-160 98 -252 263t-92 364q0 315 217 527t535 212q98 0 205 -26l96 211h291l-148 -322q143 -100 225 -258t82 -344zM846 1186q-178 0 -301 -135.5t-123 -338t143 -335.5l367 799 q-47 10 -86 10zM1149 398q123 134 123 320.5t-115 321.5l-352 -774q12 -2 41 -2q180 0 303 134z" />
-<glyph unicode="&#xd9;" horiz-adv-x="1538" d="M770 270q135 0 214 99.5t79 271.5v791h319v-801q0 -311 -172 -478t-440 -167t-441 168t-173 477v801h319v-791q0 -172 80 -271.5t215 -99.5zM932 1575h-293l-285 229l316 135z" />
-<glyph unicode="&#xda;" horiz-adv-x="1538" d="M770 270q135 0 214 99.5t79 271.5v791h319v-801q0 -311 -172 -478t-440 -167t-441 168t-173 477v801h319v-791q0 -172 80 -271.5t215 -99.5zM915 1579h-292l260 363l317 -134 \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.ttf b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.ttf
deleted file mode 100644
index a1df9e56..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.ttf
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.woff b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.woff
deleted file mode 100644
index 381aedcd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-bold.woff
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.eot b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.eot
deleted file mode 100644
index baf70329..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.eot
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.svg b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.svg
deleted file mode 100644
index b58503e7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.svg
+++ /dev/null
@@ -1,1365 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
-<svg xmlns="http://www.w3.org/2000/svg">
-<metadata></metadata>
-<defs>
-<font id="montserratregular" horiz-adv-x="561" >
-<font-face units-per-em="2048" ascent="1638" descent="-410" />
-<missing-glyph horiz-adv-x="500" />
-<glyph horiz-adv-x="0" />
-<glyph horiz-adv-x="682" />
-<glyph horiz-adv-x="0" />
-<glyph horiz-adv-x="0" />
-<glyph unicode="&#xd;" horiz-adv-x="681" />
-<glyph unicode=" " />
-<glyph unicode="!" horiz-adv-x="604" d="M160 1466h286v-264l-61 -739h-164l-61 739v264zM197 29q-45 45 -45 107.5t45 107.5t107.5 45t107.5 -45t45 -107.5t-45 -107.5t-107.5 -45t-107.5 45z" />
-<glyph unicode="&#x22;" horiz-adv-x="765" d="M158 928v504h159v-504h-159zM449 928v504h159v-504h-159z" />
-<glyph unicode="#" horiz-adv-x="1505" d="M1374 893h-221l-59 -340h252l-46 -225h-243l-58 -328h-227l57 328h-301l-57 -328h-229l57 328h-211l45 225h205l59 340h-233l45 225h227l60 348h227l-59 -348h301l59 348h229l-63 -348h229zM928 893h-301l-62 -340h301z" />
-<glyph unicode="$" horiz-adv-x="1267" d="M580 -147v149q-281 29 -504 223l149 178q172 -150 355 -178v398q-231 55 -339 145t-108 267t124 290t323 123v102h131v-104q225 -16 426 -154l-133 -188q-135 96 -293 119v-385h6q236 -55 346.5 -149.5t110.5 -273.5t-127 -292t-336 -123v-147h-131zM866.5 276.5 q57.5 47.5 57.5 119t-45 113.5t-168 79v-369q98 10 155.5 57.5zM435 1174.5q-52 -46.5 -52 -115t41 -108.5t156 -77v355q-93 -8 -145 -54.5z" />
-<glyph unicode="%" horiz-adv-x="1609" d="M709 1141q0 -135 -89.5 -231.5t-221.5 -96.5t-220 95.5t-88 230.5t89 231t221 96t220.5 -95t88.5 -230zM1454 1432l-1048 -1432h-265l1049 1432h264zM516 1136.5q0 61.5 -35 103.5t-85 42t-82.5 -42t-32.5 -103.5t34.5 -103.5t85 -42t83 42t32.5 103.5zM1522 311 q0 -135 -89.5 -231t-221.5 -96t-220 95t-88 230t89 231.5t221.5 96.5t220.5 -95.5t88 -230.5zM1333 303.5q0 61.5 -34.5 103.5t-85 42t-83 -42t-32.5 -103.5t34.5 -103.5t85 -42t83 42t32.5 103.5z" />
-<glyph unicode="&#x26;" horiz-adv-x="1421" d="M584 -16q-201 0 -342.5 111.5t-141.5 305.5q0 231 336 412q-84 96 -117.5 157.5t-33.5 155.5q0 164 120.5 252t284.5 88t278.5 -84t114.5 -235q0 -203 -327 -383q164 -201 266 -307q63 94 98 219l168 -119q-53 -141 -121 -248q82 -84 209 -203l-153 -143l-189 187 q-180 -166 -450 -166zM405.5 240.5q77.5 -58.5 206.5 -58.5t275 119q-207 217 -328 365q-231 -125 -231 -275q0 -92 77.5 -150.5zM566.5 1241q-54.5 -43 -54.5 -100.5t27.5 -103.5t95.5 -128q231 115 231 213q0 82 -54 122t-122.5 40t-123 -43z" />
-<glyph unicode="'" horiz-adv-x="475" d="M158 928v504h159v-504h-159z" />
-<glyph unicode="(" horiz-adv-x="679" d="M330 638.5q0 -235.5 82 -490t200 -420.5h-243q-100 139 -183.5 397t-83.5 514t83 514t184 397h243q-119 -166 -200.5 -421t-81.5 -490.5z" />
-<glyph unicode=")" horiz-adv-x="679" d="M350 638.5q0 235.5 -82 490.5t-200 421h243q100 -139 183.5 -397t83.5 -514t-83 -514t-184 -397h-243q119 166 200.5 420.5t81.5 490z" />
-<glyph unicode="*" horiz-adv-x="884" d="M690 881l-194 131l16 -234h-139l16 236l-194 -131l-70 118l209 105l-209 102l70 121l192 -129l-14 232h139l-14 -232l192 127l70 -119l-211 -102l211 -105z" />
-<glyph unicode="+" horiz-adv-x="1163" d="M489 307v389h-391v193h391v385h185v-385h391v-193h-391v-389h-185z" />
-<glyph unicode="," horiz-adv-x="575" d="M135 133q0 66 45 110t106.5 44t107.5 -44t46 -105.5t-55 -149.5l-123 -203h-119l76 213q-84 39 -84 135z" />
-<glyph unicode="-" horiz-adv-x="974" d="M147 504v215h680v-215h-680z" />
-<glyph unicode="." horiz-adv-x="573" d="M135 137.5q0 63.5 44 107.5t107.5 44t108.5 -44t45 -107.5t-45 -108.5t-108.5 -45t-107.5 45t-44 108.5z" />
-<glyph unicode="/" horiz-adv-x="1202" d="M944 1661h205l-887 -1901h-205z" />
-<glyph unicode="0" horiz-adv-x="1409" d="M354 725q0 -240 85 -387.5t265.5 -147.5t263.5 146.5t83 388.5t-83 388.5t-263.5 146.5t-265.5 -147.5t-85 -387.5zM121 725q0 338 145.5 539.5t438 201.5t438 -201.5t145.5 -539.5t-145.5 -539.5t-438 -201.5t-438 201.5t-145.5 539.5z" />
-<glyph unicode="1" horiz-adv-x="780" d="M59 1432h521v-1432h-230v1217h-291v215z" />
-<glyph unicode="2" horiz-adv-x="1206" d="M759.5 872q61.5 84 61.5 170t-65.5 146.5t-165.5 60.5q-176 0 -293 -180l-195 113q94 141 208 212.5t293 71.5t314.5 -113.5t135.5 -310.5q0 -111 -57.5 -211t-211.5 -258l-335 -342h649v-231h-979v205l434 436q145 147 206.5 231z" />
-<glyph unicode="3" horiz-adv-x="1183" d="M158 1217v215h837v-189l-346 -387q197 -6 307.5 -124t110.5 -281q0 -219 -148.5 -344t-382 -125t-456.5 149l102 195q176 -123 369 -123q125 0 206 58t81 168t-90.5 175.5t-249.5 65.5q-80 0 -154 -23v184l332 386h-518z" />
-<glyph unicode="4" horiz-adv-x="1171" d="M690 580v262h230v-262h172v-220h-172v-360h-230v360h-614v213l526 859h264l-518 -852h342z" />
-<glyph unicode="5" horiz-adv-x="1185" d="M995 1434v-220h-604v-352q90 49 205 49q201 0 346 -120.5t145 -327.5t-151.5 -343t-372.5 -136q-289 0 -461 192l129 176q16 -16 44 -38.5t114 -60.5t188.5 -38t186.5 61.5t84 179t-89 182t-225.5 64.5t-259.5 -67l-102 110v689h823z" />
-<glyph unicode="6" horiz-adv-x="1269" d="M725 1241q-190 0 -280.5 -129t-92.5 -348q51 57 147.5 107.5t213.5 50.5q193 0 322.5 -128t129.5 -340t-140 -341t-353 -129q-344 0 -475 307q-74 176 -74 397t47 368.5t129 233.5q160 168 392.5 168t420.5 -145l-121 -178q-47 41 -126 73.5t-140 32.5zM474 640 q-83 -69 -83 -178.5t80 -188t201 -78.5t200.5 70.5t79.5 180t-73.5 186.5t-197.5 77t-207 -69z" />
-<glyph unicode="7" horiz-adv-x="1159" d="M94 1020v412h1008v-215l-606 -1217h-267l592 1212h-508v-192h-219z" />
-<glyph unicode="8" horiz-adv-x="1302" d="M651 1460q207 0 344.5 -108.5t137.5 -273.5t-154 -292q207 -131 207 -368q0 -184 -147.5 -309t-387 -125t-387 124.5t-147.5 309.5q0 238 207 368q-154 127 -154 292t137 273.5t344 108.5zM651.5 193q106.5 0 200.5 60t94 173t-90 174.5t-204.5 61.5t-205 -61.5 t-90.5 -174.5t94.5 -173t201 -60zM651.5 842q104.5 0 181 62.5t76.5 153.5t-76.5 152.5t-181 61.5t-181.5 -61.5t-77 -152.5t77 -153.5t181.5 -62.5z" />
-<glyph unicode="9" horiz-adv-x="1267" d="M545 201q190 0 280 129t93 348q-51 -57 -147.5 -107.5t-213.5 -50.5q-193 0 -323 128t-130 340t140.5 341t353.5 129q344 0 475 -307q74 -176 74 -397.5t-47 -368.5t-129 -233q-160 -168 -392.5 -168t-420.5 145l121 178q47 -41 126 -73.5t140 -32.5zM796 801.5 q83 68.5 83 178.5t-80 188.5t-200 78.5t-197.5 -70.5t-77.5 -181t70.5 -186.5t194.5 -76t207 68.5z" />
-<glyph unicode=":" horiz-adv-x="600" d="M147 137.5q0 63.5 44.5 107.5t107.5 44t108.5 -44t45.5 -107.5t-45.5 -108.5t-108.5 -45t-107.5 45t-44.5 108.5zM147 638.5q0 63.5 44.5 108t107.5 44.5t108.5 -44.5t45.5 -108t-45.5 -108.5t-108.5 -45t-107.5 45t-44.5 108.5z" />
-<glyph unicode=";" horiz-adv-x="606" d="M150 135q0 66 45 110t107.5 44t108.5 -44t46 -103.5t-56 -153.5l-125 -203h-118l75 213q-83 43 -83 137zM150 638.5q0 63.5 44 108t107.5 44.5t108.5 -44.5t45 -108t-45 -108.5t-108.5 -45t-107.5 45t-44 108.5z" />
-<glyph unicode="&#x3c;" horiz-adv-x="1212" d="M92 684v258l965 447v-234l-721 -326v-22l721 -334v-233z" />
-<glyph unicode="=" horiz-adv-x="1277" d="M123 1081h1032v-192h-1032v192zM123 696h1032v-192h-1032v192z" />
-<glyph unicode="&#x3e;" horiz-adv-x="1212" d="M1120 942v-258l-964 -444v233l721 334v22l-721 326v234z" />
-<glyph unicode="?" horiz-adv-x="1040" d="M618 444h-231v125q0 82 19.5 122t85.5 106l149 149q47 51 47 127t-49 126t-127 50t-130 -48t-60 -128h-248q20 182 142 285.5t304 103.5t297 -99t115 -278q0 -123 -68 -204q-39 -49 -59.5 -69.5t-54 -52.5t-57 -55.5t-38.5 -39.5q-37 -45 -37 -127v-93zM395 34 q-47 44 -47 106.5t46 107.5t110.5 45t112 -44t47.5 -106.5t-46.5 -107.5t-111 -45t-111.5 44z" />
-<glyph unicode="@" horiz-adv-x="1851" d="M913 -258q-344 0 -576.5 229.5t-232.5 573.5t244 588.5t589 244.5t581.5 -244.5t236.5 -596.5q0 -221 -84 -357.5t-223 -136.5q-100 0 -159.5 68.5t-63.5 195.5q-115 -264 -367 -264q-176 0 -310 141.5t-134 358.5t127 364.5t336 147.5q94 0 178 -49.5t121 -116.5v137 h196v-715q0 -143 113 -143q63 0 115.5 93t52.5 245q0 328 -198 555t-510 227t-531 -219t-219 -524t206.5 -509t511.5 -204q246 0 377 123l45 -76q-72 -61 -190.5 -99t-231.5 -38zM1100 770q-78 86 -203 86t-200.5 -88t-75.5 -216t74.5 -223.5t203.5 -95.5t204 93.5t75 225.5 t-78 218z" />
-<glyph unicode="A" horiz-adv-x="1519" d="M401 326l-143 -326h-258l631 1432h258l631 -1432h-258l-144 326h-717zM1020 549l-260 590l-260 -590h520z" />
-<glyph unicode="B" horiz-adv-x="1445" d="M825 0h-626v1432h557q145 0 250.5 -35t156.5 -94q98 -111 99 -250q0 -168 -107 -250q-39 -29 -53.5 -36t-50.5 -24q133 -29 211.5 -120t78.5 -226q0 -150 -102 -264q-121 -133 -414 -133zM440 838h308q262 0 262 178q0 102 -63.5 147t-196.5 45h-310v-370zM440 223h379 q133 0 204 42t71 159q0 190 -306 190h-348v-391z" />
-<glyph unicode="C" horiz-adv-x="1507" d="M852 219q125 0 215 42t188 134l156 -159q-227 -252 -551.5 -252t-539 208.5t-214.5 528t218.5 532.5t551 213t556.5 -245l-154 -168q-102 98 -193.5 137t-214.5 39q-217 0 -364.5 -140.5t-147.5 -358.5t146.5 -364.5t347.5 -146.5z" />
-<glyph unicode="D" horiz-adv-x="1601" d="M1282 1244.5q207 -187.5 207 -521.5t-201 -528.5t-614 -194.5h-475v1432h491q385 0 592 -187.5zM1245 717q0 492 -563 491h-242v-981h269q260 0 398 124t138 366z" />
-<glyph unicode="E" horiz-adv-x="1339" d="M1204 1432v-228h-764v-379h686v-215h-686v-383h789v-227h-1030v1432h1005z" />
-<glyph unicode="F" horiz-adv-x="1236" d="M440 1206v-393h635v-223h-635v-590h-241v1432h954l-2 -226h-711z" />
-<glyph unicode="G" horiz-adv-x="1550" d="M1190 696h242v-489q-203 -223 -580 -223q-317 0 -531.5 208.5t-214.5 528t218.5 532.5t527.5 213t514 -180l-129 -184q-84 72 -169 99.5t-198 27.5q-217 0 -364.5 -140.5t-147.5 -368.5t143.5 -366.5t347.5 -138.5t341 88v393z" />
-<glyph unicode="H" horiz-adv-x="1591" d="M199 0v1432h241v-621h711v621h242v-1432h-242v586h-711v-586h-241z" />
-<glyph unicode="I" horiz-adv-x="638" d="M199 1432h241v-1432h-241v1432z" />
-<glyph unicode="J" horiz-adv-x="1128" d="M246 1214v218h696v-945q0 -250 -127 -374.5t-326 -124.5q-250 0 -426 176l138 190q139 -133 272 -133q94 0 160.5 63.5t66.5 190.5v739h-454z" />
-<glyph unicode="K" horiz-adv-x="1441" d="M199 1432h241v-699l656 699h307l-576 -627l584 -805h-287l-475 627l-209 -226v-401h-241v1432z" />
-<glyph unicode="L" horiz-adv-x="1159" d="M199 0v1432h241v-1203h654v-229h-895z" />
-<glyph unicode="M" horiz-adv-x="2013" d="M440 0h-241v1432h376l433 -900l432 900h375v-1432h-242v1118l-500 -993h-135l-498 993v-1118z" />
-<glyph unicode="N" horiz-adv-x="1712" d="M1272 1432h241v-1432h-262l-811 1044v-1044h-241v1432h241l832 -1070v1070z" />
-<glyph unicode="O" horiz-adv-x="1720" d="M860 1245q-213 0 -359.5 -151.5t-146.5 -367.5t146.5 -367.5t359.5 -151.5t359.5 151.5t146.5 367.5t-146.5 367.5t-359.5 151.5zM860.5 -14q-319.5 0 -537 212t-217.5 528t217.5 528t537 212t536.5 -212t217 -528t-217 -528t-536.5 -212z" />
-<glyph unicode="P" horiz-adv-x="1400" d="M1165.5 1307q149.5 -125 149.5 -385t-152.5 -381t-468.5 -121h-254v-420h-241v1432h491q326 0 475.5 -125zM994.5 716q72.5 77 72.5 225.5t-92 209.5t-289 61h-246v-573h281q201 0 273.5 77z" />
-<glyph unicode="Q" horiz-adv-x="1720" d="M891 -12l-31 -2q-319 0 -536.5 212t-217.5 528t217.5 528t537 212t536.5 -212t217 -527q0 -240 -129 -425t-344 -267q70 -92 176 -92q78 0 152.5 41t113.5 106l137 -190q-178 -188 -407 -189q-131 0 -252 74t-170 203zM860 1245q-213 0 -359.5 -151.5t-146.5 -367.5 t146.5 -367.5t359.5 -151.5t359.5 151.5t146.5 367.5t-146.5 367.5t-359.5 151.5z" />
-<glyph unicode="R" horiz-adv-x="1490" d="M1341 967q0 -354 -309 -447l375 -520h-307l-342 481h-318v-481h-241v1432h532q328 0 469 -110.5t141 -354.5zM1020 763.5q74 63.5 74 204t-76 192.5t-270 52h-308v-512h301q205 0 279 63.5z" />
-<glyph unicode="S" horiz-adv-x="1290" d="M458.5 1200q-67.5 -43 -67.5 -130t67.5 -133t288 -99.5t332 -149.5t111.5 -283.5t-141.5 -304t-370.5 -116.5q-336 0 -596 231l151 182q217 -188 451 -188q117 0 185.5 50t68.5 133t-64.5 129t-222 84t-239.5 70t-146 83q-127 96 -127 294.5t144.5 306t357.5 107.5 q137 0 272.5 -45t233.5 -127l-129 -182q-63 57 -172 94t-214.5 37t-173 -43z" />
-<glyph unicode="T" horiz-adv-x="1236" d="M739 1210v-1210h-241v1210h-435v222h1111v-222h-435z" />
-<glyph unicode="U" horiz-adv-x="1572" d="M786 213q168 0 266.5 114.5t98.5 311.5v793h242v-803q0 -309 -170 -476t-436.5 -167t-436.5 166.5t-170 476.5v803h242v-793q0 -197 98 -311.5t266 -114.5z" />
-<glyph unicode="V" horiz-adv-x="1433" d="M852 0h-270l-576 1432h270l441 -1070l440 1070h270z" />
-<glyph unicode="W" horiz-adv-x="2146" d="M645 401l320 1031h217l319 -1031l361 1031h260l-500 -1432h-240l-301 981h-16l-301 -981h-240l-499 1432h260z" />
-<glyph unicode="X" horiz-adv-x="1378" d="M1047 0l-353 539h-10l-352 -539h-301l491 735l-456 697h299l319 -484h10l320 484h299l-457 -697l492 -735h-301z" />
-<glyph unicode="Y" horiz-adv-x="1277" d="M762 0h-246v565l-532 867h264l391 -652l391 652h264l-532 -867v-565z" />
-<glyph unicode="Z" horiz-adv-x="1382" d="M930 1210h-807v222h1143v-189l-832 -1014v-6h844v-223h-1182v186l834 1018v6z" />
-<glyph unicode="[" horiz-adv-x="727" d="M643 1550v-172h-283v-1493h283v-172h-463v1837h463z" />
-<glyph unicode="\" horiz-adv-x="1069" d="M57 1550h205l746 -1550h-205z" />
-<glyph unicode="]" horiz-adv-x="727" d="M84 1378v172h463v-1837h-463v172h283v1493h-283z" />
-<glyph unicode="^" horiz-adv-x="806" d="M559 1520l-158 170l-157 -170h-199l250 319h209l248 -319h-193z" />
-<glyph unicode="_" horiz-adv-x="1478" d="M147 -283v117h1184v-117h-1184z" />
-<glyph unicode="`" horiz-adv-x="1705" d="M1106 1229h-209l-250 196l242 101z" />
-<glyph unicode="a" horiz-adv-x="1202" d="M1049 0h-209v145q-135 -162 -363 -161q-170 0 -281.5 96t-111.5 257t119 240.5t321 79.5h297v41q0 217 -241 217q-152 0 -316 -110l-102 143q199 158 450 158q193 0 315 -97.5t122 -306.5v-702zM819 406v92h-258q-248 0 -248 -156q0 -80 61.5 -122t171 -42t191.5 62 t82 166z" />
-<glyph unicode="b" horiz-adv-x="1376" d="M1124.5 954.5q155.5 -151.5 155.5 -403.5t-154.5 -409.5t-360.5 -157.5t-370 180v-164h-229v1520h229v-621q135 207 354.5 207t375 -151.5zM485.5 287.5q94.5 -99.5 229.5 -99.5t235.5 98.5t100.5 255t-98.5 260t-235.5 103.5t-231.5 -103.5t-94.5 -259t94.5 -255z" />
-<glyph unicode="c" horiz-adv-x="1179" d="M649 -16q-227 0 -391 154.5t-164 404.5t171 406.5t417 156.5t416 -170l-135 -166q-141 123 -284.5 123t-249 -95.5t-105.5 -246t104 -254.5t257 -104t288 139l135 -148q-199 -200 -459 -200z" />
-<glyph unicode="d" horiz-adv-x="1376" d="M249.5 139.5q-153.5 155.5 -153.5 409.5t158 405.5t376 151.5t351 -184v598h229v-1520h-229v164q-127 -180 -371 -180q-207 0 -360.5 155.5zM426 284.5q100 -98.5 235.5 -98.5t229.5 99.5t94 255t-94 260t-231.5 104.5t-235.5 -104.5t-98 -261t100 -255z" />
-<glyph unicode="e" horiz-adv-x="1265" d="M1180 444h-854q8 -119 108.5 -191.5t229.5 -72.5q205 0 311 129l131 -143q-176 -182 -459 -182q-229 0 -390 152.5t-161 409.5t164 408.5t386 151.5t378 -134t156 -370v-158zM326 625h624q0 137 -86 210.5t-212 73.5t-226 -76.5t-100 -207.5z" />
-<glyph unicode="f" horiz-adv-x="790" d="M449 1180v-90h286v-185h-286v-905h-230v905h-137v185h137v84q0 172 103.5 273t250 101t267.5 -108l-95 -162q-68 72 -141.5 72t-114 -46t-40.5 -124z" />
-<glyph unicode="g" horiz-adv-x="1339" d="M1174 1090v-951q0 -289 -157 -433t-402.5 -144t-444.5 153l109 174q160 -121 322.5 -120.5t257.5 84.5t95 268v139q-51 -96 -146 -153.5t-214 -57.5q-217 0 -356.5 151.5t-139.5 377t139.5 377t355.5 151.5t351 -178v162h230zM406.5 355.5q82.5 -97.5 223 -97.5t227.5 94 t87 234.5t-88 238t-227.5 97.5t-222 -100.5t-82.5 -234.5t82.5 -231.5z" />
-<glyph unicode="h" horiz-adv-x="1323" d="M395 590v-590h-229v1518h229v-627q49 100 148.5 157.5t214.5 57.5q184 0 297.5 -112.5t113.5 -325.5v-668h-229v598q0 301 -250 301q-119 0 -207 -78.5t-88 -230.5z" />
-<glyph unicode="i" d="M395 0h-229v1090h229v-1090zM137 1409q0 59 43 102t102.5 43t102.5 -43t43 -102t-43 -102t-102.5 -43t-102.5 43t-43 102z" />
-<glyph unicode="j" d="M166 -51v1141h229v-1149q0 -172 -103.5 -273.5t-249.5 -101.5t-267 108l106 172q70 -68 140.5 -67.5t107.5 45.5t37 125zM133 1409q0 59 43 102t102.5 43t102.5 -43t43 -102t-43 -102t-102.5 -43t-102.5 43t-43 102z" />
-<glyph unicode="k" horiz-adv-x="1189" d="M395 0h-229v1520h229v-893l443 463h295l-414 -433l444 -657h-278l-324 477l-166 -168v-309z" />
-<glyph unicode="l" d="M395 0h-229v1520h229v-1520z" />
-<glyph unicode="m" horiz-adv-x="2076" d="M395 590v-590h-229v1090h229v-199q49 100 148.5 157.5t214.5 57.5q258 0 350 -213q162 213 403 213q184 0 298 -112.5t114 -325.5v-668h-229v598q0 301 -250 301q-117 0 -204 -74.5t-91 -218.5v-606h-229v598q0 156 -55.5 228.5t-174.5 72.5t-207 -78.5t-88 -230.5z" />
-<glyph unicode="n" horiz-adv-x="1323" d="M395 590v-590h-229v1090h229v-199q55 100 152.5 157.5t210.5 57.5q184 0 297.5 -112.5t113.5 -325.5v-668h-229v598q0 301 -250 301q-119 0 -207 -78.5t-88 -230.5z" />
-<glyph unicode="o" horiz-adv-x="1335" d="M667.5 188q149.5 0 247 99.5t97.5 257t-97.5 257t-247 99.5t-246.5 -99.5t-97 -257t97 -257t246.5 -99.5zM667.5 -16q-245.5 0 -409.5 162.5t-164 398t164 398.5t409.5 163t409.5 -163t164 -398.5t-164 -398t-409.5 -162.5z" />
-<glyph unicode="p" horiz-adv-x="1376" d="M1124.5 954.5q155.5 -151.5 155.5 -403.5t-154.5 -409.5t-360.5 -157.5t-370 180v-561h-229v1487h229v-191q135 207 354.5 207t375 -151.5zM485.5 287.5q94.5 -99.5 229.5 -99.5t235.5 98.5t100.5 255t-98.5 260t-235.5 103.5t-231.5 -103.5t-94.5 -259t94.5 -255z" />
-<glyph unicode="q" horiz-adv-x="1376" d="M251 141.5q-155 157.5 -155 409.5t156 403.5t375 151.5t354 -207v191h229v-1487h-229v561q-164 -180 -369.5 -180t-360.5 157.5zM426 286.5q100 -98.5 235.5 -98.5t229.5 99.5t94 255t-94 259t-231.5 103.5t-235.5 -103.5t-98 -260t100 -255z" />
-<glyph unicode="r" horiz-adv-x="813" d="M737 874q-170 0 -256 -110.5t-86 -296.5v-467h-229v1090h229v-220q55 102 150.5 168t202.5 68l2 -232h-13z" />
-<glyph unicode="s" horiz-adv-x="1036" d="M829.5 77q-112.5 -93 -288.5 -93q-119 0 -247 43t-226 120l110 179q190 -143 369 -144q78 0 123 36t45 91q0 82 -217 148q-16 6 -25 8q-340 92 -340 307q0 152 118 243t306 91t356 -111l-86 -170q-133 88 -288 88q-82 0 -133.5 -29.5t-51.5 -88.5q0 -53 54 -78 q37 -18 103.5 -34.5t117.5 -33t99 -37t103 -57.5q111 -74 111 -229.5t-112.5 -248.5z" />
-<glyph unicode="t" horiz-adv-x="856" d="M449 905v-553q0 -78 40.5 -124t114.5 -46t141 72l95 -162q-121 -109 -267.5 -108.5t-250 101.5t-103.5 273v547h-137v185h137v342h230v-342h286v-185h-286z" />
-<glyph unicode="u" horiz-adv-x="1323" d="M928 500v590h229v-1090h-229v199q-55 -100 -152.5 -157.5t-210.5 -57.5q-184 0 -297.5 112.5t-113.5 325.5v668h229v-598q0 -301 250 -302q119 0 207 79t88 231z" />
-<glyph unicode="v" horiz-adv-x="1171" d="M455 0l-439 1090h238l332 -824l332 824h237l-438 -1090h-262z" />
-<glyph unicode="w" horiz-adv-x="1867" d="M676 0h-262l-377 1090h237l271 -824l270 824h238l270 -824l270 824h238l-377 -1090h-262l-258 745z" />
-<glyph unicode="x" horiz-adv-x="1142" d="M340 1090l233 -359l242 359h272l-380 -533l397 -557h-283l-260 362l-254 -362h-268l387 555l-367 535h281z" />
-<glyph unicode="y" horiz-adv-x="1175" d="M303 -434q-150 0 -270 108l104 187q72 -68 148.5 -68t125 55.5t48.5 120.5q0 29 -441 1121h246l326 -803l325 803h246l-528 -1295q-47 -106 -135.5 -167.5t-194.5 -61.5z" />
-<glyph unicode="z" horiz-adv-x="1107" d="M131 889v196h852v-206l-612 -680h645v-199h-926v223l596 666h-555z" />
-<glyph unicode="{" horiz-adv-x="688" d="M565 1362q-127 0 -127 -117v-444q0 -143 -135 -168q135 -23 135 -166v-481q0 -53 30 -74t114 -21v-190h-70q-279 0 -279 270v443q0 68 -24.5 95.5t-77.5 27.5h-49v190h49q53 0 77.5 28.5t24.5 98.5v426q0 270 279 270h70v-190q-7 2 -17 2z" />
-<glyph unicode="|" horiz-adv-x="526" d="M178 -313v1915h170v-1915h-170z" />
-<glyph unicode="}" horiz-adv-x="688" d="M176 -299h-70v190q84 0 114 20.5t30 74.5v481q0 143 135 166q-135 25 -135 168v444q0 63 -34 91t-66 28h-7l-37 -4v190h70q279 0 279 -270v-426q0 -70 24.5 -98.5t77.5 -28.5h49v-190h-49q-53 0 -77.5 -28t-24.5 -95v-443q0 -270 -279 -270z" />
-<glyph unicode="~" horiz-adv-x="1157" d="M377 758q-82 0 -96 -133l-179 51q12 143 86 216t191 73q92 0 248 -84q102 -53 151 -54q82 0 96 134l181 -52q-12 -143 -87 -217t-192 -74q-88 0 -248 87q-102 53 -151 53z" />
-<glyph unicode="&#xa0;" />
-<glyph unicode="&#xa1;" horiz-adv-x="602" d="M442 -16h-284v258l61 739h164l59 -739v-258zM195 1200q-45 45 -45 107.5t45 107.5t107.5 45t107.5 -45t45 -107.5t-45 -107.5t-107.5 -45t-107.5 45z" />
-<glyph unicode="&#xa2;" horiz-adv-x="1200" d="M592 -250v238q-207 23 -349.5 173t-142.5 379.5t141.5 380t350.5 179.5v243h131v-239q231 -18 381 -168l-135 -166q-125 106 -246 119v-694q135 14 256 137l135 -148q-170 -174 -391 -196v-238h-131zM404.5 765q-74.5 -89 -74.5 -215t72.5 -220t189.5 -125v676 q-113 -27 -187.5 -116z" />
-<glyph unicode="&#xa3;" horiz-adv-x="1261" d="M539 1057v-269h342v-200h-342v-373h610v-215h-1020v215h168v373h-176v200h176v256q0 248 125 362t328 114q268 0 403 -230l-170 -135q-84 139 -217 139q-98 0 -162.5 -56t-64.5 -181z" />
-<glyph unicode="&#xa4;" horiz-adv-x="1546" d="M307 311q-109 147 -108.5 336t104.5 332l-180 180l145 144l185 -183q139 90 317 90t324 -92l184 185l145 -144l-182 -182q104 -147 104.5 -330.5t-110.5 -333.5l188 -186l-143 -143l-195 190q-137 -86 -313 -86t-313 86l-193 -190l-143 143zM772 305q143 0 237.5 96.5 t94.5 248t-94.5 246.5t-237.5 95t-237.5 -95t-94.5 -246.5t94.5 -248t237.5 -96.5z" />
-<glyph unicode="&#xa5;" horiz-adv-x="1464" d="M209 434h389v111l-8 12h-381v180h274l-411 695h264l387 -658h14l402 658h260l-426 -695h268v-180h-379l-6 -12v-111h385v-180h-387v-254h-256v254h-389v180z" />
-<glyph unicode="&#xa6;" horiz-adv-x="565" d="M186 881v669h193v-669h-193zM186 -49v670h193v-670h-193z" />
-<glyph unicode="&#xa7;" horiz-adv-x="1249" d="M297 649q0 -96 120 -159.5t306 -63.5q106 0 177 45t71 111.5t-47 109.5t-121 66q-147 43 -261 43t-179.5 -40t-65.5 -112zM468 1284q-54 -43 -54 -111.5t59 -109.5t269 -91t314.5 -130t104.5 -230q0 -102 -65.5 -185t-204.5 -116q94 -35 141 -106.5t47 -147.5 q0 -141 -119.5 -240.5t-320.5 -99.5q-293 0 -518 201l131 156q201 -166 393 -166q219 0 219 139q0 66 -68.5 109t-268 101t-311.5 141t-112 243q0 98 68 180t188 105q-166 66 -165.5 229.5t120 264t306.5 100.5q133 0 233 -33t205 -109l-117 -164q-152 113 -326 113 q-94 0 -148 -43z" />
-<glyph unicode="&#xa8;" horiz-adv-x="1249" d="M376 1268q-36 37 -36 89t37 89t89 37t89 -36t37 -88t-38 -90t-90 -38t-88 37zM756 1268q-37 37 -37 89t37 89t89 37t89 -36t37 -88t-37 -90t-89 -38t-89 37z" />
-<glyph unicode="&#xa9;" horiz-adv-x="1703" d="M1593 719q0 -305 -217 -524.5t-526 -219.5t-524 217.5t-215 522.5t217 524t524 219t524 -217t217 -522zM1503 717q0 268 -187.5 458.5t-459.5 190.5t-460.5 -191.5t-188.5 -461t186.5 -460t458.5 -190.5t461.5 193t189.5 461zM1194 459q-139 -145 -317.5 -145.5 t-297 111.5t-118.5 294t123 294.5t305 112.5t299 -122l-98 -121q-106 90 -209 90t-179.5 -68.5t-76.5 -178.5t76.5 -185.5t188 -75.5t206.5 100z" />
-<glyph unicode="&#xaa;" horiz-adv-x="720" d="M567 954h-96v68q-63 -76 -154.5 -76t-143.5 45t-52 119q0 150 203 150h139v18q0 100 -113 100q-68 0 -145 -51l-47 68q90 72 194 71q215 0 215 -186v-326zM461 1143v43h-119q-115 0 -115 -74q0 -37 29 -56.5t79 -19.5t88 30t38 77z" />
-<glyph unicode="&#xab;" horiz-adv-x="1120" d="M580 852l-236 -360l236 -361h-222l-243 361l243 360h222zM985 852l-235 -360l235 -361h-221l-244 361l244 360h221z" />
-<glyph unicode="&#xac;" horiz-adv-x="1695" d="M137 911h1370v-731h-168v551h-1202v180z" />
-<glyph unicode="&#xad;" horiz-adv-x="974" d="M147 504v215h680v-215h-680z" />
-<glyph unicode="&#xae;" horiz-adv-x="1703" d="M1593 719q0 -305 -217 -524.5t-526 -219.5t-524 217.5t-215 522.5t217 524t524 219t524 -217t217 -522zM1503 717q0 268 -187.5 458.5t-459.5 190.5t-460.5 -191.5t-188.5 -461t186.5 -460t458.5 -190.5t461.5 193t189.5 461zM1210 860q0 -199 -174 -250l213 -288h-172 l-192 268h-176v-268h-140v800h301q182 0 261 -62.5t79 -199.5zM1031 747.5q42 34.5 42 113.5t-43 109.5t-151 30.5h-170v-288h165q115 0 157 34.5z" />
-<glyph unicode="&#xaf;" horiz-adv-x="868" d="M750 1407v-178h-629v178h629z" />
-<glyph unicode="&#xb0;" horiz-adv-x="851" d="M426 1464q131 0 223 -92t92 -223t-92 -222t-223 -91t-223 91t-92 222t92 223t223 92zM277.5 1001.5q60.5 -61.5 147.5 -61.5t147.5 61.5t60.5 147.5t-60.5 146.5t-147.5 60.5t-147.5 -60.5t-60.5 -146.5t60.5 -147.5z" />
-<glyph unicode="&#xb1;" horiz-adv-x="1163" d="M489 565v277h-391v192h391v273h185v-273h391v-192h-391v-277h-185zM98 451h967v-172h-967v172z" />
-<glyph unicode="&#xb2;" horiz-adv-x="858" d="M519 1120q36 49 36 99.5t-38 85t-97 34.5q-104 0 -172 -104l-113 65q109 166 287 166q111 0 189.5 -66.5t78.5 -180.5q0 -63 -33.5 -122t-124.5 -153l-194 -199h379v-135h-572v119l252 256q86 86 122 135z" />
-<glyph unicode="&#xb3;" horiz-adv-x="811" d="M158 1305v127h495v-113l-204 -229q117 -2 181 -73t64 -183.5t-87 -186.5t-226 -74t-270 89l61 114q100 -72 217 -71q74 0 122 33.5t48 99t-53 104.5t-124 39t-116 -14v108l197 230h-305z" />
-<glyph unicode="&#xb4;" horiz-adv-x="1705" d="M901 1286h-209l217 297l242 -100z" />
-<glyph unicode="&#xb5;" horiz-adv-x="1314" d="M176 -397v1487h230v-598q0 -301 249 -302q119 0 207 79t88 231v590h230v-1090h-230v199q-55 -100 -152.5 -157.5t-204 -57.5t-187.5 34v-415h-230z" />
-<glyph unicode="&#xb6;" horiz-adv-x="1374" d="M72 1139q0 174 120.5 292.5t366.5 118.5h612v-1779h-190v1585h-229v-1585h-185v981q-49 -6 -94 -7q-113 0 -196.5 39t-124.5 101q-80 119 -80 254z" />
-<glyph unicode="&#xb7;" horiz-adv-x="595" d="M145 653.5q0 63.5 44 107.5t107.5 44t109 -44t45.5 -107.5t-45.5 -108.5t-109 -45t-107.5 45t-44 108.5z" />
-<glyph unicode="&#xb8;" horiz-adv-x="575" d="M481 -240q0 -78 -63.5 -136t-160.5 -58t-171 45l53 117q39 -20 79 -20.5t62.5 23t22.5 56.5t-23.5 58.5t-59.5 25.5t-60 -10l73 139h146l-41 -78q143 -19 143 -162z" />
-<glyph unicode="&#xb9;" horiz-adv-x="548" d="M84 1432h303v-838h-133v713h-170v125z" />
-<glyph unicode="&#xba;" horiz-adv-x="774" d="M387 1032q72 0 118 47t46 122t-46 122t-118 47t-118 -47t-46 -122t46 -122t118 -47zM387 934q-117 0 -194.5 76.5t-77.5 189.5t77.5 189.5t194.5 76.5t194.5 -76.5t77.5 -189.5t-77.5 -189.5t-194.5 -76.5z" />
-<glyph unicode="&#xbb;" horiz-adv-x="1120" d="M776 492l-235 360h221l244 -360l-244 -361h-221zM371 492l-236 360h221l244 -360l-244 -361h-221z" />
-<glyph unicode="&#xbc;" horiz-adv-x="1767" d="M1210 1550h148l-764 -1566h-148zM1452 340v154h133v-154h103v-129h-103v-211h-133v211h-358v125l305 502h155l-303 -498h201zM72 1432h303v-838h-133v713h-170v125z" />
-<glyph unicode="&#xbd;" horiz-adv-x="1900" d="M1276 1550h147l-764 -1566h-147zM1613 510q36 49 36 99t-38 85t-98 35q-100 0 -172 -104l-110 65q109 166 285 166q111 0 190.5 -66.5t79.5 -181.5q0 -63 -34 -122.5t-124 -151.5l-196 -199h378v-135h-571v119l254 256q84 86 120 135zM72 1432h303v-838h-133v713h-170 v125z" />
-<glyph unicode="&#xbe;" horiz-adv-x="1845" d="M1294 1550h148l-764 -1566h-148zM1536 340v154h133v-154h103v-129h-103v-211h-133v211h-358v125l305 502h155l-303 -498h201zM129 1305v127h496v-113l-205 -229q117 -2 181.5 -73t64.5 -183.5t-87 -186.5t-226.5 -74t-270.5 89l61 114q100 -72 217 -71q74 0 122 33.5 t48 99t-53 104.5t-123.5 39t-115.5 -14v108l196 230h-305z" />
-<glyph unicode="&#xbf;" horiz-adv-x="1040" d="M422 1004h231v-125q0 -82 -19.5 -122t-84.5 -106l-150 -149q-47 -51 -47 -127t49.5 -126t127 -50t130 48t60.5 128h248q-20 -182 -142.5 -285.5t-304.5 -103.5t-296.5 99t-114.5 277q0 123 67 205q39 49 59.5 69.5t54.5 52.5t57.5 55.5t37.5 41.5q37 43 37 125v93z M645 1414q47 -44 47 -106.5t-46 -107.5t-110.5 -45t-111.5 44t-47 106.5t46 107.5t110.5 45t111.5 -44z" />
-<glyph unicode="&#xc0;" horiz-adv-x="1495" d="M864 1432l631 -1432h-266l-146 326h-686l-139 -326h-258l631 1432h233zM987 549l-246 551l-243 -551h489zM860 1550h-209l-250 197l242 100z" />
-<glyph unicode="&#xc1;" horiz-adv-x="1519" d="M401 326l-143 -326h-258l631 1432h258l631 -1432h-258l-144 326h-717zM1020 549l-260 590l-260 -590h520zM870 1552h-208l217 297l241 -100z" />
-<glyph unicode="&#xc2;" horiz-adv-x="1495" d="M864 1432l631 -1432h-266l-146 326h-686l-139 -326h-258l631 1432h233zM987 549l-246 551l-243 -551h489zM633 1825h213l250 -275h-199l-158 115l-157 -115h-199z" />
-<glyph unicode="&#xc3;" horiz-adv-x="1495" d="M864 1432l631 -1432h-266l-146 326h-686l-139 -326h-258l631 1432h233zM987 549l-246 551l-243 -551h489zM897 1544q-53 0 -148.5 48t-121.5 48q-68 0 -70 -90h-151q0 119 48 193t134 74q55 0 153.5 -48.5t128.5 -48.5q61 0 62 90h153q-6 -266 -188 -266z" />
-<glyph unicode="&#xc4;" horiz-adv-x="1495" d="M864 1432l631 -1432h-266l-146 326h-686l-139 -326h-258l631 1432h233zM987 549l-246 551l-243 -551h489zM468 1579q-36 37 -36 89t36 89t89 37t90 -36t37 -88t-37 -90t-90 -38t-89 37zM848 1579q-37 37 -37 89t37 89t89 37t89 -36t37 -88t-38 -90t-89 -38t-88 37z" />
-<glyph unicode="&#xc5;" horiz-adv-x="1495" d="M903.5 1729.5q67.5 -64.5 67.5 -162t-97 -162.5l621 -1405h-266l-146 326h-686l-139 -326h-258l618 1407q-92 66 -92 162t66.5 160.5t155 64.5t156 -64.5zM987 549l-246 551l-243 -551h489zM829.5 1498q30.5 32 30.5 82t-30.5 82t-81 32t-82 -32t-31.5 -82t31.5 -82 t82 -32t81 32z" />
-<glyph unicode="&#xc6;" horiz-adv-x="2129" d="M1995 1432v-226h-764v-393h686v-211h-686v-377h788v-225h-1052v326h-518l-175 -326h-297l750 1432h1268zM967 557v649h-60l-342 -649h402z" />
-<glyph unicode="&#xc7;" horiz-adv-x="1507" d="M852 219q125 0 215 42t188 134l156 -159q-213 -238 -520 -250l-33 -64q143 -18 143 -162q0 -78 -63.5 -136t-160.5 -58t-171 45l53 117q39 -20 79 -20.5t62.5 23t22.5 56.5t-23.5 58.5t-59 25.5t-60.5 -10l68 129q-281 35 -461.5 237.5t-180.5 507.5t218.5 518t551 213 t556.5 -245l-154 -168q-102 98 -193.5 137t-214.5 39q-217 0 -364.5 -140.5t-147.5 -358.5t146.5 -364.5t347.5 -146.5z" />
-<glyph unicode="&#xc8;" horiz-adv-x="1339" d="M862 1550h-209l-250 197l242 100zM1204 1432v-228h-764v-379h686v-215h-686v-383h789v-227h-1030v1432h1005z" />
-<glyph unicode="&#xc9;" horiz-adv-x="1339" d="M1204 1432v-228h-764v-379h686v-215h-686v-383h789v-227h-1030v1432h1005zM811 1550h-209l217 297l242 -100z" />
-<glyph unicode="&#xca;" horiz-adv-x="1339" d="M596 1825h213l250 -275h-199l-158 115l-157 -115h-199zM1204 1432v-228h-764v-379h686v-215h-686v-383h789v-227h-1030v1432h1005z" />
-<glyph unicode="&#xcb;" horiz-adv-x="1339" d="M425 1579q-36 37 -36 89t37 89t89 37t89 -36t37 -88t-38 -90t-90 -38t-88 37zM805 1579q-37 37 -37 89t37 89t89 37t89 -36t37 -88t-37 -90t-89 -38t-89 37zM1204 1432v-228h-764v-379h686v-215h-686v-383h789v-227h-1030v1432h1005z" />
-<glyph unicode="&#xcc;" horiz-adv-x="638" d="M428 1550h-209l-250 197l242 100zM199 1432h241v-1432h-241v1432z" />
-<glyph unicode="&#xcd;" horiz-adv-x="638" d="M199 1432h241v-1432h-241v1432zM420 1550h-209l217 297l242 -100z" />
-<glyph unicode="&#xce;" horiz-adv-x="638" d="M199 1432h241v-1432h-241v1432zM236 1825h213l249 -275h-198l-158 115l-158 -115h-198z" />
-<glyph unicode="&#xcf;" horiz-adv-x="638" d="M42 1579q-36 37 -36 89t36 89t89 37t90 -36t37 -88t-37 -90t-90 -38t-89 37zM422 1579q-37 37 -37 89t37 89t89 37t89 -36t37 -88t-38 -90t-89 -38t-88 37zM199 1432h241v-1432h-241v1432z" />
-<glyph unicode="&#xd0;" horiz-adv-x="1617" d="M53 602v215h162v615h492q385 0 591.5 -187.5t206.5 -521.5t-200.5 -528.5t-614.5 -194.5h-475v602h-162zM1262 717q0 492 -564 491h-241v-391h512v-215h-512v-375h268q260 0 398.5 124t138.5 366z" />
-<glyph unicode="&#xd1;" horiz-adv-x="1712" d="M1272 1432h241v-1432h-262l-811 1044v-1044h-241v1432h241l832 -1070v1070zM1001 1544q-53 0 -148 48t-122 48q-68 0 -69 -90h-152q0 119 48 193t134 74q55 0 153.5 -48.5t129.5 -48.5q61 0 61 90h154q-7 -266 -189 -266z" />
-<glyph unicode="&#xd2;" horiz-adv-x="1720" d="M1016 1550h-209l-250 197l242 100zM860 1245q-213 0 -359.5 -151.5t-146.5 -367.5t146.5 -367.5t359.5 -151.5t359.5 151.5t146.5 367.5t-146.5 367.5t-359.5 151.5zM860.5 -14q-319.5 0 -537 212t-217.5 528t217.5 528t537 212t536.5 -212t217 -528t-217 -528 t-536.5 -212z" />
-<glyph unicode="&#xd3;" horiz-adv-x="1720" d="M860 1245q-213 0 -359.5 -151.5t-146.5 -367.5t146.5 -367.5t359.5 -151.5t359.5 151.5t146.5 367.5t-146.5 367.5t-359.5 151.5zM860.5 -14q-319.5 0 -537 212t-217.5 528t217.5 528t537 212t536.5 -212t217 -528t-217 -528t-536.5 -212zM897 1550h-209l217 297 l242 -100z" />
-<glyph unicode="&#xd4;" horiz-adv-x="1720" d="M860 1245q-213 0 -359.5 -151.5t-146.5 -367.5t146.5 -367.5t359.5 -151.5t359.5 151.5t146.5 367.5t-146.5 367.5t-359.5 151.5zM860.5 -14q-319.5 0 -537 212t-217.5 528t217.5 528t537 212t536.5 -212t217 -528t-217 -528t-536.5 -212zM750 1825h213l249 -275h-198 l-158 115l-158 -115h-198z" />
-<glyph unicode="&#xd5;" horiz-adv-x="1720" d="M860 1245q-213 0 -359.5 -151.5t-146.5 -367.5t146.5 -367.5t359.5 -151.5t359.5 151.5t146.5 367.5t-146.5 367.5t-359.5 151.5zM860.5 -14q-319.5 0 -537 212t-217.5 528t217.5 528t537 212t536.5 -212t217 -528t-217 -528t-536.5 -212zM1008 1544q-53 0 -148.5 48 t-122.5 48q-68 0 -69 -90h-152q0 119 48 193t134 74q55 0 153.5 -48.5t129.5 -48.5q61 0 61 90h154q-6 -266 -188 -266z" />
-<glyph unicode="&#xd6;" horiz-adv-x="1720" d="M570.5 1579q-35.5 37 -35.5 89t35.5 89t89 37t90 -36t36.5 -88t-36.5 -90t-90 -38t-89 37zM950 1579q-37 37 -37 89t37 89t89.5 37t89 -36t36.5 -88t-37.5 -90t-89 -38t-88.5 37zM860 1245q-213 0 -359.5 -151.5t-146.5 -367.5t146.5 -367.5t359.5 -151.5t359.5 151.5 t146.5 367.5t-146.5 367.5t-359.5 151.5zM860.5 -14q-319.5 0 -537 212t-217.5 528t217.5 528t537 212t536.5 -212t217 -528t-217 -528t-536.5 -212z" />
-<glyph unicode="&#xd7;" horiz-adv-x="1157" d="M580 907l348 350l129 -131l-346 -346l348 -350l-129 -131l-350 350l-351 -350l-131 131l351 350l-349 346l131 131z" />
-<glyph unicode="&#xd8;" horiz-adv-x="1720" d="M1614 727q0 -317 -217 -529t-537 -212q-109 0 -207 24l-116 -250h-205l149 320q-174 94 -274.5 265t-100.5 382q0 315 217.5 527t536.5 212q125 0 248 -39l111 234h204l-145 -313q156 -98 246 -261t90 -360zM860 1245q-213 0 -359.5 -151.5t-146.5 -368.5 q0 -133 60.5 -248t165.5 -186l434 930q-74 24 -154 24zM1366 725q0 250 -188 408l-428 -916q57 -10 110 -10q213 0 359.5 151.5t146.5 366.5z" />
-<glyph unicode="&#xd9;" horiz-adv-x="1572" d="M969 1550h-209l-250 197l242 100zM786 213q168 0 266.5 114.5t98.5 311.5v793h242v-803q0 -309 -170 -476t-436.5 -167t-436.5 166.5t-170 476.5v803h242v-793q0 -197 98 -311.5t266 -114.5z" />
-<glyph unicode="&#xda;" horiz-adv-x="1572" d="M786 213q168 0 266.5 114.5t98.5 311.5v793h242v-803q0 -309 -170 -476t-436.5 -167t-436.5 166.5t-170 476.5v803h242v-793q0 -197 98 -311.5t266 -114.5zM852 1552h-209l217 297l242 -100z" />
-<glyph unicode="&#xdb;" horiz-adv-x="1572" d="M786 213q168 0 266.5 114.5t98.5 311.5v793h242v-803q0 -309 -170 -476t-436.5 -167t-436.5 166.5t-170 476.5v803h242v-793q0 -197 98 -311.5t266 -114.5zM688 1825h213l250 -275h-199l-157 115l-158 -115h-199z" />
-<glyph unicode="&#xdc;" horiz-adv-x="1572" d="M511 1579q-36 37 -36 89t37 89t89 37t89 -36t37 -88t-38 -90t-90 -38t-88 37zM891 1579q-37 37 -37 89t37 89t89 37t89 -36t37 -88t-37 -90t-89 -38t-89 37zM786 213q168 0 266.5 114.5t98.5 311.5v793h242v-803q0 -309 -170 -476t-436.5 -167t-436.5 166.5t-170 476.5 v803h242v-793q0 -197 98 -311.5t266 -114.5z" />
-<glyph unicode="&#xdd;" horiz-adv-x="1277" d="M762 0h-246v565l-532 867h264l391 -652l391 652h264l-532 -867v-565zM797 1520h-209l217 297l242 -101z" />
-<glyph unicode="&#xde;" horiz-adv-x="1404" d="M1315 756q0 -272 -162 -394t-479 -122h-234v-240h-241v1432h241v-181h230q645 1 645 -495zM985 537.5q82 78.5 82 224t-100.5 208t-300.5 62.5h-226v-573h260q203 0 285 78.5z" />
-<glyph unicode="&#xdf;" horiz-adv-x="1333" d="M843.5 943q71.5 71 71.5 164t-54 160.5t-171 67.5q-156 0 -219 -96t-63 -285v-954h-242v934q0 147 13.5 207.5t30.5 114t41.5 91t63.5 78.5t86 66q111 59 258.5 59t248 -41t149.5 -108q92 -123 92 -266q0 -211 -213 -344q152 -16 227.5 -123t75.5 -246 q0 -193 -135 -307.5t-387 -114.5h-84v201h45q154 0 236.5 50t82.5 172t-81.5 180.5t-219.5 58.5q-47 0 -71 -3v191q147 22 218.5 93z" />
-<glyph unicode="&#xe0;" horiz-adv-x="1202" d="M1049 0h-209v145q-135 -162 -363 -161q-170 0 -281.5 96t-111.5 257t119 240.5t321 79.5h297v41q0 217 -241 217q-152 0 -316 -110l-102 143q199 158 450 158q193 0 315 -97.5t122 -306.5v-702zM819 406v92h-258q-248 0 -248 -156q0 -80 61.5 -122t171 -42t191.5 62 t82 166zM786 1229h-208l-250 196l241 101z" />
-<glyph unicode="&#xe1;" horiz-adv-x="1202" d="M1049 0h-209v145q-135 -162 -363 -161q-170 0 -281.5 96t-111.5 257t119 240.5t321 79.5h297v41q0 217 -241 217q-152 0 -316 -110l-102 143q199 158 450 158q193 0 315 -97.5t122 -306.5v-702zM819 406v92h-258q-248 0 -248 -156q0 -80 61.5 -122t171 -42t191.5 62 t82 166zM719 1229h-209l217 297l242 -101z" />
-<glyph unicode="&#xe2;" horiz-adv-x="1202" d="M1049 0h-209v145q-135 -162 -363 -161q-170 0 -281.5 96t-111.5 257t119 240.5t321 79.5h297v41q0 217 -241 217q-152 0 -316 -110l-102 143q199 158 450 158q193 0 315 -97.5t122 -306.5v-702zM819 406v92h-258q-248 0 -248 -156q0 -80 61.5 -122t171 -42t191.5 62 t82 166zM489 1503h213l250 -274h-198l-158 114l-158 -114h-198z" />
-<glyph unicode="&#xe3;" horiz-adv-x="1202" d="M1049 0h-209v145q-135 -162 -363 -161q-170 0 -281.5 96t-111.5 257t119 240.5t321 79.5h297v41q0 217 -241 217q-152 0 -316 -110l-102 143q199 158 450 158q193 0 315 -97.5t122 -306.5v-702zM819 406v92h-258q-248 0 -248 -156q0 -80 61.5 -122t171 -42t191.5 62 t82 166zM748 1223q-53 0 -148.5 48t-122.5 48q-68 0 -69 -90h-152q0 119 48 192.5t134 73.5q55 0 153.5 -48t129.5 -48q61 0 61 90h154q-6 -266 -188 -266z" />
-<glyph unicode="&#xe4;" horiz-adv-x="1202" d="M1049 0h-209v145q-135 -162 -363 -161q-170 0 -281.5 96t-111.5 257t119 240.5t321 79.5h297v41q0 217 -241 217q-152 0 -316 -110l-102 143q199 158 450 158q193 0 315 -97.5t122 -306.5v-702zM819 406v92h-258q-248 0 -248 -156q0 -80 61.5 -122t171 -42t191.5 62 t82 166zM285 1356q0 53 35.5 89t89 36t90.5 -36t37 -89t-37 -90t-90.5 -37t-89 37t-35.5 90zM700.5 1266q-36.5 37 -36.5 89t36.5 89t89 37t89 -36t36.5 -89t-37.5 -90t-89 -37t-88 37z" />
-<glyph unicode="&#xe5;" horiz-adv-x="1202" d="M1049 0h-209v145q-135 -162 -363 -161q-170 0 -281.5 96t-111.5 257t119 240.5t321 79.5h297v41q0 217 -241 217q-152 0 -316 -110l-102 143q199 158 450 158q193 0 315 -97.5t122 -306.5v-702zM825 1407q0 -86 -67.5 -149.5t-155.5 -63.5t-154.5 63.5t-66.5 149.5 t66.5 150.5t154.5 64.5t155.5 -64.5t67.5 -150.5zM819 406v92h-258q-248 0 -248 -156q0 -80 61.5 -122t171 -42t191.5 62t82 166zM684 1326q31 32 31 82t-31 82t-81 32t-82 -32t-32 -82t32 -82t82 -32t81 32z" />
-<glyph unicode="&#xe6;" horiz-adv-x="1949" d="M1864 471h-813q2 -131 95 -211t222 -80q184 0 291 129l131 -143q-176 -182 -441.5 -182t-414.5 196q-164 -197 -436 -196q-172 0 -293 97t-121 257t117.5 235.5t322.5 75.5h297v49q0 217 -241 217q-152 0 -316 -110l-102 143q199 158 450.5 158t362.5 -152 q147 152 371.5 152t371 -134t146.5 -370v-131zM819 406v65h-258q-190 0 -229 -57q-18 -29 -19 -72q0 -80 61.5 -122t171 -42t191.5 62t82 166zM1550.5 842.5q-75.5 66.5 -192.5 66.5t-206 -69.5t-99 -190.5l581 -2q-8 129 -83.5 195.5z" />
-<glyph unicode="&#xe7;" horiz-adv-x="1181" d="M838 -240q0 -78 -63.5 -136t-161 -58t-171.5 45l54 117q39 -20 78.5 -20.5t62 23t22.5 56.5t-23.5 58.5t-59 25.5t-60.5 -10l68 127q-207 25 -347.5 175t-140.5 390t171 396.5t417 156.5t416 -170l-135 -166q-141 123 -284.5 123t-249 -95.5t-105.5 -246t103 -254.5 t257 -104t289 139l135 -148q-168 -168 -381 -194l-35 -68q144 -19 144 -162z" />
-<glyph unicode="&#xe8;" horiz-adv-x="1265" d="M844 1229h-209l-250 196l242 101zM1180 444h-854q8 -119 108.5 -191.5t229.5 -72.5q205 0 311 129l131 -143q-176 -182 -459 -182q-229 0 -390 152.5t-161 409.5t164 408.5t386 151.5t378 -134t156 -370v-158zM326 625h624q0 137 -86 210.5t-212 73.5t-226 -76.5 t-100 -207.5z" />
-<glyph unicode="&#xe9;" horiz-adv-x="1265" d="M1180 444h-854q8 -119 108.5 -191.5t229.5 -72.5q205 0 311 129l131 -143q-176 -182 -459 -182q-229 0 -390 152.5t-161 409.5t164 408.5t386 151.5t378 -134t156 -370v-158zM326 625h624q0 137 -86 210.5t-212 73.5t-226 -76.5t-100 -207.5zM770 1233h-209l217 297 l242 -100z" />
-<glyph unicode="&#xea;" horiz-adv-x="1265" d="M1180 444h-854q8 -119 108.5 -191.5t229.5 -72.5q205 0 311 129l131 -143q-176 -182 -459 -182q-229 0 -390 152.5t-161 409.5t164 408.5t386 151.5t378 -134t156 -370v-158zM326 625h624q0 137 -86 210.5t-212 73.5t-226 -76.5t-100 -207.5zM543 1503h213l250 -274h-199 l-158 114l-157 -114h-199z" />
-<glyph unicode="&#xeb;" horiz-adv-x="1265" d="M332 1356q0 53 37 89t89 36t89 -36t37 -89t-38 -90t-90.5 -37t-88 37t-35.5 90zM747.5 1266q-36.5 37 -36.5 89t36.5 89t89 37t89.5 -36t37 -89t-37 -90t-89.5 -37t-89 37zM1180 444h-854q8 -119 108.5 -191.5t229.5 -72.5q205 0 311 129l131 -143q-176 -182 -459 -182 q-229 0 -390 152.5t-161 409.5t164 408.5t386 151.5t378 -134t156 -370v-158zM326 625h624q0 137 -86 210.5t-212 73.5t-226 -76.5t-100 -207.5z" />
-<glyph unicode="&#xec;" d="M410 1229h-209l-250 196l242 101zM166 1090h229v-1090h-229v1090z" />
-<glyph unicode="&#xed;" d="M389 1229h-192l217 287l225 -101zM166 1090h229v-1090h-229v1090z" />
-<glyph unicode="&#xee;" d="M166 1090h229v-1090h-229v1090zM184 1503h213l250 -274h-198l-158 114l-158 -114h-199z" />
-<glyph unicode="&#xef;" d="M-16 1356q0 53 36.5 89t89 36t89.5 -36t37 -89t-38 -90t-90.5 -37t-88 37t-35.5 90zM399 1266q-37 37 -37 89t37 89t89.5 37t89 -36t36.5 -89t-36.5 -90t-89 -37t-89.5 37zM166 1090h229v-1090h-229v1090z" />
-<glyph unicode="&#xf0;" horiz-adv-x="1220" d="M817 895q-78 129 -252 303l-190 -121l-117 111l193 123q-4 6 -150 127l195 112q74 -57 149 -129l174 111l121 -111l-180 -116q360 -391 360 -758q0 -252 -133 -407.5t-362.5 -155.5t-376 137t-146.5 353t143.5 354.5t346.5 138.5q145 0 221 -76zM404.5 269 q78.5 -85 206.5 -85t207 85t79 205t-79 206t-207 86t-206.5 -86t-78.5 -206t78.5 -205z" />
-<glyph unicode="&#xf1;" horiz-adv-x="1323" d="M395 590v-590h-229v1090h229v-199q55 100 152.5 157.5t210.5 57.5q184 0 297.5 -112.5t113.5 -325.5v-668h-229v598q0 301 -250 301q-119 0 -207 -78.5t-88 -230.5zM829 1223q-53 0 -148 48t-122 48q-68 0 -70 -90h-151q0 119 48 192.5t134 73.5q55 0 153.5 -48 t129.5 -48q61 0 61 90h154q-7 -266 -189 -266z" />
-<glyph unicode="&#xf2;" horiz-adv-x="1335" d="M809 1229h-209l-250 196l242 101zM667.5 188q149.5 0 247 99.5t97.5 257t-97.5 257t-247 99.5t-246.5 -99.5t-97 -257t97 -257t246.5 -99.5zM667.5 -16q-245.5 0 -409.5 162.5t-164 398t164 398.5t409.5 163t409.5 -163t164 -398.5t-164 -398t-409.5 -162.5z" />
-<glyph unicode="&#xf3;" horiz-adv-x="1335" d="M667.5 188q149.5 0 247 99.5t97.5 257t-97.5 257t-247 99.5t-246.5 -99.5t-97 -257t97 -257t246.5 -99.5zM667.5 -16q-245.5 0 -409.5 162.5t-164 398t164 398.5t409.5 163t409.5 -163t164 -398.5t-164 -398t-409.5 -162.5zM772 1229h-209l217 297l242 -101z" />
-<glyph unicode="&#xf4;" horiz-adv-x="1335" d="M667.5 188q149.5 0 247 99.5t97.5 257t-97.5 257t-247 99.5t-246.5 -99.5t-97 -257t97 -257t246.5 -99.5zM667.5 -16q-245.5 0 -409.5 162.5t-164 398t164 398.5t409.5 163t409.5 -163t164 -398.5t-164 -398t-409.5 -162.5zM563 1503h213l250 -274h-199l-157 114 l-158 -114h-199z" />
-<glyph unicode="&#xf5;" horiz-adv-x="1335" d="M667.5 188q149.5 0 247 99.5t97.5 257t-97.5 257t-247 99.5t-246.5 -99.5t-97 -257t97 -257t246.5 -99.5zM667.5 -16q-245.5 0 -409.5 162.5t-164 398t164 398.5t409.5 163t409.5 -163t164 -398.5t-164 -398t-409.5 -162.5zM819 1223q-53 0 -148.5 48t-121.5 48 q-68 0 -70 -90h-151q0 119 48 192.5t134 73.5q55 0 153.5 -48t129.5 -48q61 0 61 90h154q-7 -266 -189 -266z" />
-<glyph unicode="&#xf6;" horiz-adv-x="1335" d="M344 1356q0 53 37 89t89 36t89 -36t37 -89t-38 -90t-90 -37t-88 37t-36 90zM760 1266q-37 37 -37 89t37 89t89 37t89 -36t37 -89t-37 -90t-89 -37t-89 37zM667.5 188q149.5 0 247 99.5t97.5 257t-97.5 257t-247 99.5t-246.5 -99.5t-97 -257t97 -257t246.5 -99.5z M667.5 -16q-245.5 0 -409.5 162.5t-164 398t164 398.5t409.5 163t409.5 -163t164 -398.5t-164 -398t-409.5 -162.5z" />
-<glyph unicode="&#xf7;" horiz-adv-x="1163" d="M430 432.5q0 63.5 44 107.5t107.5 44t108.5 -44t45 -107.5t-45 -108.5t-108.5 -45t-107.5 45t-44 108.5zM430 1159.5q0 63.5 44 107.5t107.5 44t108.5 -44t45 -107.5t-45 -108.5t-108.5 -45t-107.5 45t-44 108.5zM98 889h967v-193h-967v193z" />
-<glyph unicode="&#xf8;" horiz-adv-x="1335" d="M668 -16q-57 0 -133 14l-99 -213h-205l131 281q-125 74 -196.5 200.5t-71.5 278.5q0 236 164 398.5t410 162.5q90 0 170 -25l90 193h205l-127 -270q111 -78 173 -198t62 -261q0 -236 -163.5 -398.5t-409.5 -162.5zM421 801.5q-97 -99.5 -97 -270.5t129 -273l297 635 q-35 8 -82 8q-150 0 -247 -99.5zM668 188q150 0 247 99.5t97 259.5t-101 256l-286 -613q14 -2 43 -2z" />
-<glyph unicode="&#xf9;" horiz-adv-x="1323" d="M805 1229h-209l-250 196l242 101zM928 500v590h229v-1090h-229v199q-55 -100 -152.5 -157.5t-210.5 -57.5q-184 0 -297.5 112.5t-113.5 325.5v668h229v-598q0 -301 250 -302q119 0 207 79t88 231z" />
-<glyph unicode="&#xfa;" horiz-adv-x="1323" d="M928 500v590h229v-1090h-229v199q-55 -100 -152.5 -157.5t-210.5 -57.5q-184 0 -297.5 112.5t-113.5 325.5v668h229v-598q0 -301 250 -302q119 0 207 79t88 231zM717 1233h-209l217 297l242 -100z" />
-<glyph unicode="&#xfb;" horiz-adv-x="1323" d="M928 500v590h229v-1090h-229v199q-55 -100 -152.5 -157.5t-210.5 -57.5q-184 0 -297.5 112.5t-113.5 325.5v668h229v-598q0 -301 250 -302q119 0 207 79t88 231zM553 1503h213l250 -274h-199l-158 114l-157 -114h-199z" />
-<glyph unicode="&#xfc;" horiz-adv-x="1323" d="M332 1356q0 53 37 89t89 36t89 -36t37 -89t-38 -90t-90.5 -37t-88 37t-35.5 90zM747.5 1266q-36.5 37 -36.5 89t36.5 89t89 37t89.5 -36t37 -89t-37 -90t-89.5 -37t-89 37zM928 500v590h229v-1090h-229v199q-55 -100 -152.5 -157.5t-210.5 -57.5q-184 0 -297.5 112.5 t-113.5 325.5v668h229v-598q0 -301 250 -302q119 0 207 79t88 231z" />
-<glyph unicode="&#xfd;" horiz-adv-x="1175" d="M303 -434q-150 0 -270 108l104 187q72 -68 148.5 -68t125 55.5t48.5 120.5q0 29 -441 1121h246l326 -803l325 803h246l-528 -1295q-47 -106 -135.5 -167.5t-194.5 -61.5zM680 1286h-209l217 297l242 -100z" />
-<glyph unicode="&#xfe;" horiz-adv-x="1376" d="M1132.5 946q147.5 -160 147.5 -404.5t-146.5 -401t-390.5 -156.5q-168 0 -292 106q-29 25 -41 41l-15 19v-547h-229v1917h229v-580q6 6 15.5 17.5t44 40t73.5 51.5q102 57 220 57q237 0 384.5 -160zM939 293.5q95 107.5 95 252t-94 252t-233.5 107.5t-227.5 -106.5 t-88 -254t88 -253t226.5 -105.5t233.5 107.5z" />
-<glyph unicode="&#xff;" horiz-adv-x="1175" d="M283 1356q0 53 36.5 89t89 36t89.5 -36t37 -89t-38 -90t-90.5 -37t-88 37t-35.5 90zM698.5 1266q-36.5 37 -36.5 89t36.5 89t89 37t89 -36t36.5 -89t-36.5 -90t-89 -37t-89 37zM303 -434q-150 0 -270 108l104 187q72 -68 148.5 -68t125 55.5t48.5 120.5q0 29 -441 1121 h246l326 -803l325 803h246l-528 -1295q-47 -106 -135.5 -167.5t-194.5 -61.5z" />
-<glyph unicode="&#x152;" horiz-adv-x="2183" d="M2048 1432v-228h-764v-379h686v-215h-686v-383h789v-227h-1235q-309 0 -519 205t-210 511t209.5 511t519.5 205h1210zM371 717q0 -209 142 -357.5t347 -148.5h182v1010h-182q-207 0 -348 -147.5t-141 -356.5z" />
-<glyph unicode="&#x153;" horiz-adv-x="2183" d="M2097 444h-854q8 -119 108.5 -191.5t229.5 -72.5q205 0 311 129l131 -143q-176 -182 -458 -182q-133 0 -250 55t-193 158q-166 -213 -454 -213q-246 0 -410 162.5t-164 398t164 398.5t410 163q287 0 454 -215q76 104 194 159.5t245 55.5q225 0 380.5 -134t155.5 -370 v-158zM667.5 188q149.5 0 247 99.5t97.5 257t-97.5 257t-247 99.5t-246.5 -99.5t-97 -257t97 -257t246.5 -99.5zM1243 625h625q0 137 -86 210.5t-212 73.5t-226.5 -76.5t-100.5 -207.5z" />
-<glyph unicode="&#x2c6;" horiz-adv-x="1380" d="M590 1503h213l250 -274h-199l-158 114l-157 -114h-199z" />
-<glyph unicode="&#x2dc;" horiz-adv-x="1062" d="M686 1513q-53 0 -148.5 48.5t-121.5 48.5q-68 0 -70 -90h-151q0 119 48 192.5t134 73.5q55 0 153.5 -48t128.5 -48q61 0 62 90h153q-6 -267 -188 -267z" />
-<glyph unicode="&#x2000;" horiz-adv-x="924" />
-<glyph unicode="&#x2001;" horiz-adv-x="1849" />
-<glyph unicode="&#x2002;" horiz-adv-x="924" />
-<glyph unicode="&#x2003;" horiz-adv-x="1849" />
-<glyph unicode="&#x2004;" horiz-adv-x="616" />
-<glyph unicode="&#x2005;" horiz-adv-x="462" />
-<glyph unicode="&#x2006;" horiz-adv-x="308" />
-<glyph unicode="&#x2007;" horiz-adv-x="308" />
-<glyph unicode="&#x2008;" horiz-adv-x="231" />
-<glyph unicode="&#x2009;" horiz-adv-x="369" />
-<glyph unicode="&#x200a;" horiz-adv-x="102" />
-<glyph unicode="&#x2010;" horiz-adv-x="974" d="M147 504v215h680v-215h-680z" />
-<glyph unicode="&#x2011;" horiz-adv-x="974" d="M147 504v215h680v-215h-680z" />
-<glyph unicode="&#x2012;" horiz-adv-x="974" d="M147 504v215h680v-215h-680z" />
-<glyph unicode="&#x2013;" horiz-adv-x="1101" d="M168 463v137h766v-137h-766z" />
-<glyph unicode="&#x2014;" horiz-adv-x="1484" d="M168 465v135h1149v-135h-1149z" />
-<glyph unicode="&#x2018;" horiz-adv-x="442" d="M274 1268q57 -37 57.5 -99.5t-36.5 -98.5t-92.5 -36t-93 35t-37.5 91.5t37 109.5l120 174h125z" />
-<glyph unicode="&#x2019;" horiz-adv-x="444" d="M150 1200q-55 33 -55.5 97.5t36.5 100.5t92.5 36t93 -35t37.5 -91.5t-37 -109.5l-120 -174h-125z" />
-<glyph unicode="&#x201a;" horiz-adv-x="444" d="M150 10q-55 35 -55.5 98.5t36.5 99.5t92.5 36t93 -35t37.5 -91.5t-37 -109.5l-120 -174h-125z" />
-<glyph unicode="&#x201c;" horiz-adv-x="757" d="M274 1268q57 -37 57.5 -99.5t-36.5 -98.5t-92.5 -36t-93 35t-37.5 91.5t37 109.5l120 174h125zM588 1268q57 -37 57 -99.5t-37 -98.5t-92 -36t-93 35t-38 91.5t37 109.5l121 174h125z" />
-<glyph unicode="&#x201d;" horiz-adv-x="755" d="M150 1200q-55 33 -55.5 97.5t36.5 100.5t92.5 36t93 -35t37.5 -91.5t-37 -109.5l-120 -174h-125zM461 1200q-55 33 -55 97.5t36.5 100.5t92 36t93.5 -35t38 -91.5t-37 -109.5l-121 -174h-125z" />
-<glyph unicode="&#x201e;" horiz-adv-x="755" d="M150 10q-55 35 -55.5 98.5t36.5 99.5t92.5 36t93 -35t37.5 -91.5t-37 -109.5l-120 -174h-125zM461 10q-55 35 -55 98.5t36.5 99.5t92 36t93.5 -35t38 -91.5t-37 -109.5l-121 -174h-125z" />
-<glyph unicode="&#x2022;" horiz-adv-x="876" d="M174 647.5q0 108.5 78 186t186.5 77.5t186 -77.5t77.5 -186t-77.5 -186.5t-186 -78t-186.5 78t-78 186.5z" />
-<glyph unicode="&#x2026;" horiz-adv-x="1429" d="M135 137.5q0 63.5 44 107.5t107.5 44t108.5 -44t45 -107.5t-45 -108.5t-108.5 -45t-107.5 45t-44 108.5zM563 137.5q0 63.5 44 107.5t107.5 44t108.5 -44t45 -107.5t-45 -108.5t-108.5 -45t-107.5 45t-44 108.5zM991 137.5q0 63.5 44 107.5t107.5 44t108.5 -44t45 -107.5 t-45 -108.5t-108.5 -45t-107.5 45t-44 108.5z" />
-<glyph unicode="&#x202f;" horiz-adv-x="369" />
-<glyph unicode="&#x2039;" horiz-adv-x="714" d="M580 852l-236 -360l236 -361h-222l-243 361l243 360h222z" />
-<glyph unicode="&#x203a;" horiz-adv-x="714" d="M371 492l-236 360h221l244 -360l-244 -361h-221z" />
-<glyph unicode="&#x205f;" horiz-adv-x="462" />
-<glyph unicode="&#x20ac;" horiz-adv-x="1558" d="M106 805v176h213q68 219 240 352t391 133q326 0 516 -235l-145 -184q-90 96 -171 135t-200 39t-214 -62.5t-142 -177.5h487v-176h-530q-2 -25 -2 -75t6 -95h526v-176h-471q111 -213 334 -213q111 0 189.5 42t166.5 132l146 -176q-190 -236 -502 -236q-213 0 -378 122 t-236 329h-224v176h185q-6 49 -6 98t2 72h-181z" />
-<glyph unicode="&#x2122;" horiz-adv-x="2048" d="M516 1303v-709h-141v709h-254v129h649v-129h-254zM1069 594h-141v838h221l252 -527l254 527h219v-838h-141v653l-293 -581h-80l-291 581v-653z" />
-<glyph unicode="&#xe000;" horiz-adv-x="1085" d="M0 1085h1085v-1085h-1085v1085z" />
-<glyph unicode="&#xfb01;" horiz-adv-x="1351" d="M449 1180v-90h286v-185h-286v-905h-230v905h-137v185h137v84q0 172 103.5 273t250 101t267.5 -108l-95 -162q-68 72 -141.5 72t-114 -46t-40.5 -124zM1186 0h-230v1090h230v-1090zM928 1409q0 59 43 102t102.5 43t102.5 -43t43 -102t-43 -102t-102.5 -43t-102.5 43 t-43 102z" />
-<glyph unicode="&#xfb02;" horiz-adv-x="1351" d="M449 1180v-90h286v-185h-286v-905h-230v905h-137v185h137v84q0 172 103.5 273t250 101t267.5 -108l-95 -162q-68 72 -141.5 72t-114 -46t-40.5 -124zM1186 0h-230v1520h230v-1520z" />
-<hkern u1="&#x26;" u2="&#x2019;" k="59" />
-<hkern u1="&#x26;" u2="&#xc6;" k="-27" />
-<hkern u1="&#x26;" u2="Y" k="51" />
-<hkern u1="&#x26;" u2="W" k="35" />
-<hkern u1="&#x26;" u2="V" k="45" />
-<hkern u1="&#x26;" u2="T" k="45" />
-<hkern u1="&#x26;" u2="A" k="-12" />
-<hkern u1="&#x26;" u2="&#x27;" k="59" />
-<hkern u1="&#x27;" u2="&#x2039;" k="29" />
-<hkern u1="&#x27;" u2="&#xf0;" k="33" />
-<hkern u1="&#x27;" u2="&#xc6;" k="106" />
-<hkern u1="&#x27;" u2="o" k="23" />
-<hkern u1="&#x27;" u2="J" k="35" />
-<hkern u1="&#x27;" u2="A" k="94" />
-<hkern u1="&#x27;" u2="&#x3a;" k="18" />
-<hkern u1="&#x27;" u2="&#x34;" k="45" />
-<hkern u1="&#x27;" u2="&#x2f;" k="150" />
-<hkern u1="&#x27;" u2="&#x2e;" k="258" />
-<hkern u1="&#x27;" u2="&#x26;" k="39" />
-<hkern u1="&#x28;" u2="&#xf0;" k="41" />
-<hkern u1="&#x28;" u2="&#x7b;" k="20" />
-<hkern u1="&#x28;" u2="w" k="31" />
-<hkern u1="&#x28;" u2="v" k="27" />
-<hkern u1="&#x28;" u2="u" k="43" />
-<hkern u1="&#x28;" u2="t" k="27" />
-<hkern u1="&#x28;" u2="s" k="35" />
-<hkern u1="&#x28;" u2="o" k="55" />
-<hkern u1="&#x28;" u2="n" k="31" />
-<hkern u1="&#x28;" u2="j" k="-188" />
-<hkern u1="&#x28;" u2="f" k="25" />
-<hkern u1="&#x28;" u2="a" k="39" />
-<hkern u1="&#x28;" u2="S" k="23" />
-<hkern u1="&#x28;" u2="O" k="45" />
-<hkern u1="&#x28;" u2="&#x39;" k="20" />
-<hkern u1="&#x28;" u2="&#x38;" k="33" />
-<hkern u1="&#x28;" u2="&#x36;" k="41" />
-<hkern u1="&#x28;" u2="&#x34;" k="45" />
-<hkern u1="&#x28;" u2="&#x30;" k="39" />
-<hkern u1="&#x28;" u2="&#x28;" k="20" />
-<hkern u1="&#x29;" u2="&#x29;" k="20" />
-<hkern u1="&#x2a;" u2="&#xf0;" k="35" />
-<hkern u1="&#x2a;" u2="&#xef;" k="-31" />
-<hkern u1="&#x2a;" u2="&#xee;" k="-66" />
-<hkern u1="&#x2a;" u2="&#xec;" k="-16" />
-<hkern u1="&#x2a;" u2="&#xc6;" k="102" />
-<hkern u1="&#x2a;" u2="y" k="-14" />
-<hkern u1="&#x2a;" u2="v" k="-18" />
-<hkern u1="&#x2a;" u2="o" k="23" />
-<hkern u1="&#x2a;" u2="J" k="41" />
-<hkern u1="&#x2a;" u2="A" k="90" />
-<hkern u1="&#x2b;" u2="&#x33;" k="20" />
-<hkern u1="&#x2d;" u2="&#xc6;" k="18" />
-<hkern u1="&#x2d;" u2="z" k="35" />
-<hkern u1="&#x2d;" u2="x" k="47" />
-<hkern u1="&#x2d;" u2="t" k="18" />
-<hkern u1="&#x2d;" u2="f" k="18" />
-<hkern u1="&#x2d;" u2="Z" k="39" />
-<hkern u1="&#x2d;" u2="Y" k="92" />
-<hkern u1="&#x2d;" u2="X" k="57" />
-<hkern u1="&#x2d;" u2="W" k="39" />
-<hkern u1="&#x2d;" u2="V" k="53" />
-<hkern u1="&#x2d;" u2="T" k="117" />
-<hkern u1="&#x2d;" u2="S" k="16" />
-<hkern u1="&#x2d;" u2="J" k="59" />
-<hkern u1="&#x2d;" u2="A" k="25" />
-<hkern u1="&#x2d;" u2="&#x37;" k="39" />
-<hkern u1="&#x2d;" u2="&#x33;" k="39" />
-<hkern u1="&#x2d;" u2="&#x32;" k="39" />
-<hkern u1="&#x2d;" u2="&#x31;" k="55" />
-<hkern u1="&#x2e;" u2="&#x2019;" k="289" />
-<hkern u1="&#x2e;" u2="&#x2018;" k="289" />
-<hkern u1="&#x2e;" u2="y" k="74" />
-<hkern u1="&#x2e;" u2="w" k="57" />
-<hkern u1="&#x2e;" u2="v" k="74" />
-<hkern u1="&#x2e;" u2="t" k="33" />
-<hkern u1="&#x2e;" u2="f" k="16" />
-<hkern u1="&#x2e;" u2="Y" k="127" />
-<hkern u1="&#x2e;" u2="W" k="96" />
-<hkern u1="&#x2e;" u2="V" k="119" />
-<hkern u1="&#x2e;" u2="U" k="31" />
-<hkern u1="&#x2e;" u2="T" k="119" />
-<hkern u1="&#x2e;" u2="O" k="39" />
-<hkern u1="&#x2e;" u2="&#x37;" k="35" />
-<hkern u1="&#x2e;" u2="&#x36;" k="20" />
-<hkern u1="&#x2e;" u2="&#x31;" k="63" />
-<hkern u1="&#x2e;" u2="&#x30;" k="23" />
-<hkern u1="&#x2e;" u2="&#x27;" k="258" />
-<hkern u1="&#x2f;" u2="&#xf0;" k="49" />
-<hkern u1="&#x2f;" u2="&#xcf;" k="-16" />
-<hkern u1="&#x2f;" u2="&#xc6;" k="135" />
-<hkern u1="&#x2f;" u2="z" k="53" />
-<hkern u1="&#x2f;" u2="x" k="35" />
-<hkern u1="&#x2f;" u2="w" k="23" />
-<hkern u1="&#x2f;" u2="v" k="20" />
-<hkern u1="&#x2f;" u2="u" k="53" />
-<hkern u1="&#x2f;" u2="s" k="88" />
-<hkern u1="&#x2f;" u2="o" k="94" />
-<hkern u1="&#x2f;" u2="n" k="57" />
-<hkern u1="&#x2f;" u2="f" k="27" />
-<hkern u1="&#x2f;" u2="a" k="84" />
-<hkern u1="&#x2f;" u2="S" k="33" />
-<hkern u1="&#x2f;" u2="O" k="51" />
-<hkern u1="&#x2f;" u2="J" k="31" />
-<hkern u1="&#x2f;" u2="A" k="125" />
-<hkern u1="&#x2f;" u2="&#x39;" k="20" />
-<hkern u1="&#x2f;" u2="&#x38;" k="39" />
-<hkern u1="&#x2f;" u2="&#x36;" k="45" />
-<hkern u1="&#x2f;" u2="&#x34;" k="86" />
-<hkern u1="&#x2f;" u2="&#x30;" k="43" />
-<hkern u1="&#x2f;" u2="&#x2f;" k="575" />
-<hkern u1="&#x30;" u2="]" k="43" />
-<hkern u1="&#x30;" u2="\" k="27" />
-<hkern u1="&#x30;" u2="A" k="20" />
-<hkern u1="&#x30;" u2="&#x2f;" k="49" />
-<hkern u1="&#x30;" u2="&#x2e;" k="23" />
-<hkern u1="&#x30;" u2="&#x29;" k="39" />
-<hkern u1="&#x32;" u2="&#xb7;" k="35" />
-<hkern u1="&#x32;" u2="&#x2d;" k="23" />
-<hkern u1="&#x33;" u2="&#x2f;" k="33" />
-<hkern u1="&#x34;" u2="&#xb0;" k="49" />
-<hkern u1="&#x34;" u2="]" k="31" />
-<hkern u1="&#x34;" u2="\" k="37" />
-<hkern u1="&#x34;" u2="Y" k="31" />
-<hkern u1="&#x34;" u2="V" k="27" />
-<hkern u1="&#x34;" u2="T" k="41" />
-<hkern u1="&#x34;" u2="&#x37;" k="27" />
-<hkern u1="&#x34;" u2="&#x31;" k="25" />
-<hkern u1="&#x34;" u2="&#x29;" k="31" />
-<hkern u1="&#x34;" u2="&#x27;" k="43" />
-<hkern u1="&#x35;" u2="&#x2f;" k="29" />
-<hkern u1="&#x36;" u2="&#x2f;" k="27" />
-<hkern u1="&#x37;" u2="&#xc6;" k="90" />
-<hkern u1="&#x37;" u2="&#xb7;" k="53" />
-<hkern u1="&#x37;" u2="&#xa2;" k="41" />
-<hkern u1="&#x37;" u2="Y" k="-33" />
-<hkern u1="&#x37;" u2="V" k="-12" />
-<hkern u1="&#x37;" u2="A" k="82" />
-<hkern u1="&#x37;" u2="&#x34;" k="41" />
-<hkern u1="&#x37;" u2="&#x2f;" k="123" />
-<hkern u1="&#x37;" u2="&#x2e;" k="135" />
-<hkern u1="&#x37;" u2="&#x2d;" k="53" />
-<hkern u1="&#x38;" u2="]" k="33" />
-<hkern u1="&#x38;" u2="\" k="20" />
-<hkern u1="&#x38;" u2="&#x2f;" k="31" />
-<hkern u1="&#x38;" u2="&#x29;" k="33" />
-<hkern u1="&#x39;" u2="]" k="41" />
-<hkern u1="&#x39;" u2="\" k="25" />
-<hkern u1="&#x39;" u2="A" k="20" />
-<hkern u1="&#x39;" u2="&#x2f;" k="49" />
-<hkern u1="&#x39;" u2="&#x2e;" k="25" />
-<hkern u1="&#x39;" u2="&#x29;" k="39" />
-<hkern u1="&#x3a;" u2="&#x2019;" k="127" />
-<hkern u1="&#x3a;" u2="y" k="18" />
-<hkern u1="&#x3a;" u2="v" k="20" />
-<hkern u1="&#x3a;" u2="t" k="16" />
-<hkern u1="&#x3a;" u2="Y" k="92" />
-<hkern u1="&#x3a;" u2="W" k="43" />
-<hkern u1="&#x3a;" u2="V" k="57" />
-<hkern u1="&#x3a;" u2="T" k="113" />
-<hkern u1="&#x3a;" u2="&#x27;" k="18" />
-<hkern u1="&#x40;" u2="&#x2019;" k="37" />
-<hkern u1="&#x40;" u2="Y" k="53" />
-<hkern u1="&#x40;" u2="W" k="20" />
-<hkern u1="&#x40;" u2="V" k="33" />
-<hkern u1="&#x40;" u2="T" k="51" />
-<hkern u1="A" u2="&#x2122;" k="96" />
-<hkern u1="A" u2="&#x2019;" k="109" />
-<hkern u1="A" u2="&#x2018;" k="109" />
-<hkern u1="A" u2="&#xf0;" k="18" />
-<hkern u1="A" u2="&#xae;" k="25" />
-<hkern u1="A" u2="y" k="59" />
-<hkern u1="A" u2="w" k="51" />
-<hkern u1="A" u2="v" k="59" />
-<hkern u1="A" u2="u" k="16" />
-<hkern u1="A" u2="t" k="49" />
-<hkern u1="A" u2="o" k="23" />
-<hkern u1="A" u2="f" k="18" />
-<hkern u1="A" u2="]" k="27" />
-<hkern u1="A" u2="\" k="113" />
-<hkern u1="A" u2="Y" k="104" />
-<hkern u1="A" u2="W" k="68" />
-<hkern u1="A" u2="V" k="82" />
-<hkern u1="A" u2="U" k="35" />
-<hkern u1="A" u2="T" k="113" />
-<hkern u1="A" u2="O" k="37" />
-<hkern u1="A" u2="&#x3f;" k="43" />
-<hkern u1="A" u2="&#x36;" k="20" />
-<hkern u1="A" u2="&#x31;" k="43" />
-<hkern u1="A" u2="&#x30;" k="20" />
-<hkern u1="A" u2="&#x2d;" k="25" />
-<hkern u1="A" u2="&#x2a;" k="90" />
-<hkern u1="A" u2="&#x27;" k="94" />
-<hkern u1="B" u2="z" k="10" />
-<hkern u1="B" u2="y" k="16" />
-<hkern u1="B" u2="x" k="27" />
-<hkern u1="B" u2="w" k="14" />
-<hkern u1="B" u2="v" k="16" />
-<hkern u1="B" u2="t" k="18" />
-<hkern u1="B" u2="s" k="14" />
-<hkern u1="B" u2="f" k="16" />
-<hkern u1="B" u2="]" k="41" />
-<hkern u1="B" u2="\" k="29" />
-<hkern u1="B" u2="Y" k="39" />
-<hkern u1="B" u2="X" k="20" />
-<hkern u1="B" u2="W" k="14" />
-<hkern u1="B" u2="V" k="25" />
-<hkern u1="B" u2="T" k="35" />
-<hkern u1="B" u2="J" k="14" />
-<hkern u1="B" u2="A" k="16" />
-<hkern u1="B" u2="&#x2f;" k="27" />
-<hkern u1="B" u2="&#x29;" k="35" />
-<hkern u1="C" u2="&#xf0;" k="27" />
-<hkern u1="C" u2="&#xee;" k="-47" />
-<hkern u1="C" u2="u" k="14" />
-<hkern u1="C" u2="s" k="14" />
-<hkern u1="C" u2="o" k="31" />
-<hkern u1="C" u2="n" k="10" />
-<hkern u1="C" u2="S" k="10" />
-<hkern u1="C" u2="O" k="31" />
-<hkern u1="C" u2="&#x2d;" k="20" />
-<hkern u1="E" u2="&#xf0;" k="20" />
-<hkern u1="E" u2="u" k="14" />
-<hkern u1="E" u2="t" k="16" />
-<hkern u1="E" u2="o" k="20" />
-<hkern u1="E" u2="f" k="12" />
-<hkern u1="E" u2="O" k="20" />
-<hkern u1="F" u2="&#xf0;" k="41" />
-<hkern u1="F" u2="&#xee;" k="-43" />
-<hkern u1="F" u2="&#xed;" k="20" />
-<hkern u1="F" u2="&#xec;" k="-29" />
-<hkern u1="F" u2="&#xdf;" k="16" />
-<hkern u1="F" u2="&#xc6;" k="100" />
-<hkern u1="F" u2="z" k="33" />
-<hkern u1="F" u2="x" k="18" />
-<hkern u1="F" u2="u" k="25" />
-<hkern u1="F" u2="t" k="10" />
-<hkern u1="F" u2="s" k="43" />
-<hkern u1="F" u2="o" k="31" />
-<hkern u1="F" u2="n" k="31" />
-<hkern u1="F" u2="f" k="14" />
-<hkern u1="F" u2="a" k="45" />
-<hkern u1="F" u2="J" k="35" />
-<hkern u1="F" u2="A" k="88" />
-<hkern u1="F" u2="&#x2f;" k="94" />
-<hkern u1="F" u2="&#x2e;" k="115" />
-<hkern u1="G" u2="y" k="16" />
-<hkern u1="G" u2="x" k="12" />
-<hkern u1="G" u2="w" k="16" />
-<hkern u1="G" u2="v" k="18" />
-<hkern u1="G" u2="t" k="18" />
-<hkern u1="G" u2="f" k="18" />
-<hkern u1="G" u2="]" k="20" />
-<hkern u1="G" u2="Y" k="23" />
-<hkern u1="G" u2="X" k="10" />
-<hkern u1="G" u2="V" k="16" />
-<hkern u1="G" u2="T" k="16" />
-<hkern u1="G" u2="A" k="14" />
-<hkern u1="G" u2="&#x29;" k="20" />
-<hkern u1="I" u2="&#xf0;" k="18" />
-<hkern u1="I" u2="z" k="10" />
-<hkern u1="I" u2="u" k="10" />
-<hkern u1="I" u2="t" k="16" />
-<hkern u1="I" u2="s" k="12" />
-<hkern u1="I" u2="o" k="18" />
-<hkern u1="I" u2="n" k="10" />
-<hkern u1="I" u2="l" k="10" />
-<hkern u1="I" u2="h" k="10" />
-<hkern u1="I" u2="f" k="14" />
-<hkern u1="I" u2="a" k="12" />
-<hkern u1="J" u2="&#xf0;" k="23" />
-<hkern u1="J" u2="&#xc6;" k="18" />
-<hkern u1="J" u2="z" k="16" />
-<hkern u1="J" u2="x" k="12" />
-<hkern u1="J" u2="u" k="12" />
-<hkern u1="J" u2="t" k="14" />
-<hkern u1="J" u2="s" k="20" />
-<hkern u1="J" u2="o" k="16" />
-<hkern u1="J" u2="n" k="10" />
-<hkern u1="J" u2="l" k="10" />
-<hkern u1="J" u2="h" k="10" />
-<hkern u1="J" u2="f" k="14" />
-<hkern u1="J" u2="a" k="14" />
-<hkern u1="J" u2="J" k="16" />
-<hkern u1="J" u2="A" k="18" />
-<hkern u1="J" u2="&#x2f;" k="43" />
-<hkern u1="J" u2="&#x2e;" k="18" />
-<hkern u1="K" u2="&#x2039;" k="27" />
-<hkern u1="K" u2="&#xf0;" k="68" />
-<hkern u1="K" u2="&#xef;" k="-39" />
-<hkern u1="K" u2="&#xec;" k="-70" />
-<hkern u1="K" u2="&#xae;" k="20" />
-<hkern u1="K" u2="y" k="53" />
-<hkern u1="K" u2="w" k="59" />
-<hkern u1="K" u2="v" k="53" />
-<hkern u1="K" u2="u" k="45" />
-<hkern u1="K" u2="t" k="27" />
-<hkern u1="K" u2="o" k="84" />
-<hkern u1="K" u2="n" k="10" />
-<hkern u1="K" u2="f" k="18" />
-<hkern u1="K" u2="a" k="18" />
-<hkern u1="K" u2="S" k="25" />
-<hkern u1="K" u2="O" k="63" />
-<hkern u1="K" u2="&#x2d;" k="55" />
-<hkern u1="L" u2="&#x2122;" k="176" />
-<hkern u1="L" u2="&#x2019;" k="178" />
-<hkern u1="L" u2="&#x2018;" k="178" />
-<hkern u1="L" u2="&#xf0;" k="10" />
-<hkern u1="L" u2="&#xb7;" k="152" />
-<hkern u1="L" u2="&#xae;" k="20" />
-<hkern u1="L" u2="y" k="123" />
-<hkern u1="L" u2="w" k="100" />
-<hkern u1="L" u2="v" k="123" />
-<hkern u1="L" u2="u" k="14" />
-<hkern u1="L" u2="t" k="63" />
-<hkern u1="L" u2="o" k="18" />
-<hkern u1="L" u2="f" k="27" />
-<hkern u1="L" u2="\" k="139" />
-<hkern u1="L" u2="Y" k="135" />
-<hkern u1="L" u2="W" k="115" />
-<hkern u1="L" u2="V" k="123" />
-<hkern u1="L" u2="U" k="35" />
-<hkern u1="L" u2="T" k="147" />
-<hkern u1="L" u2="O" k="41" />
-<hkern u1="L" u2="&#x3f;" k="49" />
-<hkern u1="L" u2="&#x31;" k="45" />
-<hkern u1="L" u2="&#x2d;" k="133" />
-<hkern u1="L" u2="&#x2a;" k="180" />
-<hkern u1="L" u2="&#x27;" k="178" />
-<hkern u1="O" u2="&#x2122;" k="20" />
-<hkern u1="O" u2="&#xf0;" k="10" />
-<hkern u1="O" u2="&#xc6;" k="39" />
-<hkern u1="O" u2="&#x7d;" k="23" />
-<hkern u1="O" u2="z" k="14" />
-<hkern u1="O" u2="x" k="25" />
-<hkern u1="O" u2="s" k="12" />
-<hkern u1="O" u2="n" k="10" />
-<hkern u1="O" u2="l" k="10" />
-<hkern u1="O" u2="i" k="10" />
-<hkern u1="O" u2="h" k="10" />
-<hkern u1="O" u2="a" k="10" />
-<hkern u1="O" u2="]" k="51" />
-<hkern u1="O" u2="\" k="37" />
-<hkern u1="O" u2="Z" k="25" />
-<hkern u1="O" u2="Y" k="47" />
-<hkern u1="O" u2="X" k="51" />
-<hkern u1="O" u2="W" k="14" />
-<hkern u1="O" u2="V" k="25" />
-<hkern u1="O" u2="T" k="39" />
-<hkern u1="O" u2="J" k="43" />
-<hkern u1="O" u2="A" k="37" />
-<hkern u1="O" u2="&#x2f;" k="57" />
-<hkern u1="O" u2="&#x2e;" k="39" />
-<hkern u1="O" u2="&#x29;" k="45" />
-<hkern u1="P" u2="&#x2039;" k="20" />
-<hkern u1="P" u2="&#xf0;" k="27" />
-<hkern u1="P" u2="&#xc6;" k="100" />
-<hkern u1="P" u2="s" k="12" />
-<hkern u1="P" u2="o" k="12" />
-<hkern u1="P" u2="a" k="20" />
-<hkern u1="P" u2="]" k="39" />
-<hkern u1="P" u2="Z" k="14" />
-<hkern u1="P" u2="Y" k="16" />
-<hkern u1="P" u2="X" k="39" />
-<hkern u1="P" u2="J" k="63" />
-<hkern u1="P" u2="A" k="78" />
-<hkern u1="P" u2="&#x2f;" k="98" />
-<hkern u1="P" u2="&#x2e;" k="129" />
-<hkern u1="P" u2="&#x29;" k="37" />
-<hkern u1="Q" u2="&#x7d;" k="10" />
-<hkern u1="Q" u2="j" k="-125" />
-<hkern u1="Q" u2="]" k="25" />
-<hkern u1="R" u2="&#x2039;" k="31" />
-<hkern u1="R" u2="&#xf0;" k="41" />
-<hkern u1="R" u2="u" k="18" />
-<hkern u1="R" u2="t" k="12" />
-<hkern u1="R" u2="o" k="31" />
-<hkern u1="R" u2="n" k="10" />
-<hkern u1="R" u2="f" k="10" />
-<hkern u1="R" u2="a" k="20" />
-<hkern u1="R" u2="\" k="25" />
-<hkern u1="R" u2="Y" k="27" />
-<hkern u1="R" u2="V" k="18" />
-<hkern u1="R" u2="T" k="20" />
-<hkern u1="R" u2="J" k="10" />
-<hkern u1="S" u2="z" k="12" />
-<hkern u1="S" u2="y" k="20" />
-<hkern u1="S" u2="x" k="18" />
-<hkern u1="S" u2="w" k="20" />
-<hkern u1="S" u2="v" k="20" />
-<hkern u1="S" u2="u" k="12" />
-<hkern u1="S" u2="t" k="25" />
-<hkern u1="S" u2="s" k="12" />
-<hkern u1="S" u2="n" k="12" />
-<hkern u1="S" u2="f" k="23" />
-<hkern u1="S" u2="Y" k="12" />
-<hkern u1="S" u2="V" k="10" />
-<hkern u1="S" u2="A" k="14" />
-<hkern u1="S" u2="&#x2f;" k="23" />
-<hkern u1="T" u2="&#x203a;" k="111" />
-<hkern u1="T" u2="&#x2039;" k="127" />
-<hkern u1="T" u2="&#xf0;" k="82" />
-<hkern u1="T" u2="&#xef;" k="-16" />
-<hkern u1="T" u2="&#xee;" k="-66" />
-<hkern u1="T" u2="&#xed;" k="41" />
-<hkern u1="T" u2="&#xec;" k="-49" />
-<hkern u1="T" u2="&#xdf;" k="27" />
-<hkern u1="T" u2="&#xc6;" k="111" />
-<hkern u1="T" u2="&#xae;" k="20" />
-<hkern u1="T" u2="z" k="147" />
-<hkern u1="T" u2="y" k="139" />
-<hkern u1="T" u2="x" k="137" />
-<hkern u1="T" u2="w" k="133" />
-<hkern u1="T" u2="v" k="139" />
-<hkern u1="T" u2="u" k="106" />
-<hkern u1="T" u2="t" k="20" />
-<hkern u1="T" u2="s" k="147" />
-<hkern u1="T" u2="o" k="131" />
-<hkern u1="T" u2="n" k="100" />
-<hkern u1="T" u2="l" k="10" />
-<hkern u1="T" u2="i" k="10" />
-<hkern u1="T" u2="h" k="10" />
-<hkern u1="T" u2="f" k="43" />
-<hkern u1="T" u2="a" k="150" />
-<hkern u1="T" u2="O" k="39" />
-<hkern u1="T" u2="J" k="27" />
-<hkern u1="T" u2="A" k="113" />
-<hkern u1="T" u2="&#x40;" k="55" />
-<hkern u1="T" u2="&#x3a;" k="113" />
-<hkern u1="T" u2="&#x34;" k="66" />
-<hkern u1="T" u2="&#x2f;" k="113" />
-<hkern u1="T" u2="&#x2e;" k="119" />
-<hkern u1="T" u2="&#x2d;" k="117" />
-<hkern u1="T" u2="&#x26;" k="29" />
-<hkern u1="U" u2="&#xf0;" k="27" />
-<hkern u1="U" u2="&#xc6;" k="39" />
-<hkern u1="U" u2="z" k="20" />
-<hkern u1="U" u2="x" k="12" />
-<hkern u1="U" u2="u" k="18" />
-<hkern u1="U" u2="t" k="14" />
-<hkern u1="U" u2="s" k="27" />
-<hkern u1="U" u2="o" k="18" />
-<hkern u1="U" u2="n" k="10" />
-<hkern u1="U" u2="l" k="12" />
-<hkern u1="U" u2="i" k="12" />
-<hkern u1="U" u2="h" k="12" />
-<hkern u1="U" u2="f" k="12" />
-<hkern u1="U" u2="a" k="20" />
-<hkern u1="U" u2="J" k="29" />
-<hkern u1="U" u2="A" k="35" />
-<hkern u1="U" u2="&#x2f;" k="53" />
-<hkern u1="U" u2="&#x2e;" k="33" />
-<hkern u1="V" u2="&#x2122;" k="-27" />
-<hkern u1="V" u2="&#x203a;" k="35" />
-<hkern u1="V" u2="&#x2039;" k="72" />
-<hkern u1="V" u2="&#xf0;" k="78" />
-<hkern u1="V" u2="&#xef;" k="-55" />
-<hkern u1="V" u2="&#xee;" k="-55" />
-<hkern u1="V" u2="&#xed;" k="29" />
-<hkern u1="V" u2="&#xec;" k="-104" />
-<hkern u1="V" u2="&#xdf;" k="25" />
-<hkern u1="V" u2="&#xc6;" k="92" />
-<hkern u1="V" u2="z" k="45" />
-<hkern u1="V" u2="x" k="18" />
-<hkern u1="V" u2="u" k="51" />
-<hkern u1="V" u2="t" k="10" />
-<hkern u1="V" u2="s" k="90" />
-<hkern u1="V" u2="o" k="88" />
-<hkern u1="V" u2="n" k="61" />
-<hkern u1="V" u2="f" k="12" />
-<hkern u1="V" u2="a" k="88" />
-<hkern u1="V" u2="S" k="12" />
-<hkern u1="V" u2="O" k="25" />
-<hkern u1="V" u2="J" k="27" />
-<hkern u1="V" u2="A" k="82" />
-<hkern u1="V" u2="&#x40;" k="33" />
-<hkern u1="V" u2="&#x3a;" k="57" />
-<hkern u1="V" u2="&#x34;" k="41" />
-<hkern u1="V" u2="&#x31;" k="-10" />
-<hkern u1="V" u2="&#x2f;" k="117" />
-<hkern u1="V" u2="&#x2e;" k="119" />
-<hkern u1="V" u2="&#x2d;" k="53" />
-<hkern u1="V" u2="&#x26;" k="29" />
-<hkern u1="W" u2="&#x203a;" k="23" />
-<hkern u1="W" u2="&#x2039;" k="57" />
-<hkern u1="W" u2="&#xf0;" k="72" />
-<hkern u1="W" u2="&#xef;" k="-51" />
-<hkern u1="W" u2="&#xee;" k="-49" />
-<hkern u1="W" u2="&#xed;" k="25" />
-<hkern u1="W" u2="&#xec;" k="-88" />
-<hkern u1="W" u2="&#xdf;" k="23" />
-<hkern u1="W" u2="&#xc6;" k="80" />
-<hkern u1="W" u2="z" k="35" />
-<hkern u1="W" u2="x" k="10" />
-<hkern u1="W" u2="u" k="43" />
-<hkern u1="W" u2="s" k="80" />
-<hkern u1="W" u2="o" k="78" />
-<hkern u1="W" u2="n" k="51" />
-<hkern u1="W" u2="a" k="76" />
-<hkern u1="W" u2="O" k="14" />
-<hkern u1="W" u2="J" k="25" />
-<hkern u1="W" u2="A" k="68" />
-<hkern u1="W" u2="&#x40;" k="20" />
-<hkern u1="W" u2="&#x3a;" k="43" />
-<hkern u1="W" u2="&#x34;" k="27" />
-<hkern u1="W" u2="&#x2f;" k="98" />
-<hkern u1="W" u2="&#x2e;" k="96" />
-<hkern u1="W" u2="&#x2d;" k="39" />
-<hkern u1="W" u2="&#x26;" k="20" />
-<hkern u1="X" u2="&#x2039;" k="31" />
-<hkern u1="X" u2="&#xf0;" k="51" />
-<hkern u1="X" u2="&#xef;" k="-16" />
-<hkern u1="X" u2="&#xec;" k="-41" />
-<hkern u1="X" u2="&#xae;" k="20" />
-<hkern u1="X" u2="y" k="49" />
-<hkern u1="X" u2="w" k="55" />
-<hkern u1="X" u2="v" k="49" />
-<hkern u1="X" u2="u" k="43" />
-<hkern u1="X" u2="t" k="33" />
-<hkern u1="X" u2="o" k="66" />
-<hkern u1="X" u2="n" k="12" />
-<hkern u1="X" u2="f" k="25" />
-<hkern u1="X" u2="a" k="14" />
-<hkern u1="X" u2="O" k="51" />
-<hkern u1="X" u2="&#x2d;" k="55" />
-<hkern u1="Y" u2="&#x2122;" k="-47" />
-<hkern u1="Y" u2="&#x203a;" k="66" />
-<hkern u1="Y" u2="&#x2039;" k="109" />
-<hkern u1="Y" u2="&#xf0;" k="90" />
-<hkern u1="Y" u2="&#xef;" k="-78" />
-<hkern u1="Y" u2="&#xee;" k="-45" />
-<hkern u1="Y" u2="&#xed;" k="39" />
-<hkern u1="Y" u2="&#xec;" k="-125" />
-<hkern u1="Y" u2="&#xdf;" k="29" />
-<hkern u1="Y" u2="&#xc6;" k="113" />
-<hkern u1="Y" u2="&#xae;" k="31" />
-<hkern u1="Y" u2="z" k="82" />
-<hkern u1="Y" u2="y" k="18" />
-<hkern u1="Y" u2="x" k="43" />
-<hkern u1="Y" u2="w" k="27" />
-<hkern u1="Y" u2="v" k="16" />
-<hkern u1="Y" u2="u" k="74" />
-<hkern u1="Y" u2="t" k="14" />
-<hkern u1="Y" u2="s" k="106" />
-<hkern u1="Y" u2="o" k="123" />
-<hkern u1="Y" u2="n" k="72" />
-<hkern u1="Y" u2="f" k="23" />
-<hkern u1="Y" u2="a" k="100" />
-<hkern u1="Y" u2="S" k="18" />
-<hkern u1="Y" u2="O" k="47" />
-<hkern u1="Y" u2="J" k="20" />
-<hkern u1="Y" u2="A" k="104" />
-<hkern u1="Y" u2="&#x40;" k="57" />
-<hkern u1="Y" u2="&#x3a;" k="90" />
-<hkern u1="Y" u2="&#x36;" k="20" />
-<hkern u1="Y" u2="&#x34;" k="66" />
-<hkern u1="Y" u2="&#x31;" k="-31" />
-<hkern u1="Y" u2="&#x2f;" k="119" />
-<hkern u1="Y" u2="&#x2e;" k="127" />
-<hkern u1="Y" u2="&#x2d;" k="92" />
-<hkern u1="Y" u2="&#x26;" k="37" />
-<hkern u1="Z" u2="&#xf0;" k="25" />
-<hkern u1="Z" u2="&#xee;" k="-37" />
-<hkern u1="Z" u2="y" k="16" />
-<hkern u1="Z" u2="w" k="20" />
-<hkern u1="Z" u2="v" k="16" />
-<hkern u1="Z" u2="u" k="23" />
-<hkern u1="Z" u2="t" k="20" />
-<hkern u1="Z" u2="o" k="29" />
-<hkern u1="Z" u2="n" k="14" />
-<hkern u1="Z" u2="f" k="18" />
-<hkern u1="Z" u2="O" k="25" />
-<hkern u1="Z" u2="&#x2d;" k="35" />
-<hkern u1="[" u2="&#xf0;" k="41" />
-<hkern u1="[" u2="&#xec;" k="-33" />
-<hkern u1="[" u2="&#xc6;" k="23" />
-<hkern u1="[" u2="z" k="37" />
-<hkern u1="[" u2="w" k="33" />
-<hkern u1="[" u2="v" k="29" />
-<hkern u1="[" u2="u" k="43" />
-<hkern u1="[" u2="t" k="20" />
-<hkern u1="[" u2="s" k="49" />
-<hkern u1="[" u2="o" k="59" />
-<hkern u1="[" u2="n" k="37" />
-<hkern u1="[" u2="j" k="-184" />
-<hkern u1="[" u2="f" k="20" />
-<hkern u1="[" u2="a" k="45" />
-<hkern u1="[" u2="S" k="27" />
-<hkern u1="[" u2="O" k="51" />
-<hkern u1="[" u2="A" k="27" />
-<hkern u1="[" u2="&#x39;" k="20" />
-<hkern u1="[" u2="&#x38;" k="33" />
-<hkern u1="[" u2="&#x36;" k="43" />
-<hkern u1="[" u2="&#x34;" k="55" />
-<hkern u1="[" u2="&#x30;" k="43" />
-<hkern u1="\" u2="&#x2019;" k="127" />
-<hkern u1="\" u2="&#xc6;" k="-39" />
-<hkern u1="\" u2="y" k="47" />
-<hkern u1="\" u2="w" k="37" />
-<hkern u1="\" u2="v" k="47" />
-<hkern u1="\" u2="t" k="23" />
-<hkern u1="\" u2="Y" k="90" />
-<hkern u1="\" u2="W" k="63" />
-<hkern u1="\" u2="V" k="82" />
-<hkern u1="\" u2="U" k="25" />
-<hkern u1="\" u2="T" k="84" />
-<hkern u1="\" u2="O" k="23" />
-<hkern u1="\" u2="A" k="-14" />
-<hkern u1="\" u2="&#x31;" k="41" />
-<hkern u1="\" u2="&#x27;" k="109" />
-<hkern u1="a" u2="&#x2122;" k="47" />
-<hkern u1="a" u2="&#x2019;" k="33" />
-<hkern u1="a" u2="&#x2018;" k="33" />
-<hkern u1="a" u2="&#x7d;" k="23" />
-<hkern u1="a" u2="y" k="12" />
-<hkern u1="a" u2="w" k="10" />
-<hkern u1="a" u2="v" k="12" />
-<hkern u1="a" u2="t" k="12" />
-<hkern u1="a" u2="f" k="8" />
-<hkern u1="a" u2="]" k="47" />
-<hkern u1="a" u2="\" k="70" />
-<hkern u1="a" u2="Z" k="18" />
-<hkern u1="a" u2="Y" k="96" />
-<hkern u1="a" u2="X" k="10" />
-<hkern u1="a" u2="W" k="53" />
-<hkern u1="a" u2="V" k="72" />
-<hkern u1="a" u2="U" k="16" />
-<hkern u1="a" u2="T" k="109" />
-<hkern u1="a" u2="S" k="10" />
-<hkern u1="a" u2="O" k="12" />
-<hkern u1="a" u2="J" k="14" />
-<hkern u1="a" u2="I" k="10" />
-<hkern u1="a" u2="&#x29;" k="33" />
-<hkern u1="c" u2="&#x2122;" k="35" />
-<hkern u1="c" u2="&#x2039;" k="27" />
-<hkern u1="c" u2="&#xf0;" k="25" />
-<hkern u1="c" u2="s" k="8" />
-<hkern u1="c" u2="o" k="23" />
-<hkern u1="c" u2="a" k="8" />
-<hkern u1="c" u2="]" k="33" />
-<hkern u1="c" u2="\" k="41" />
-<hkern u1="c" u2="Y" k="90" />
-<hkern u1="c" u2="W" k="35" />
-<hkern u1="c" u2="V" k="45" />
-<hkern u1="c" u2="U" k="12" />
-<hkern u1="c" u2="T" k="164" />
-<hkern u1="c" u2="S" k="12" />
-<hkern u1="c" u2="O" k="20" />
-<hkern u1="c" u2="&#x2d;" k="31" />
-<hkern u1="c" u2="&#x29;" k="27" />
-<hkern u1="d" u2="Z" k="12" />
-<hkern u1="d" u2="U" k="12" />
-<hkern u1="d" u2="T" k="10" />
-<hkern u1="d" u2="O" k="10" />
-<hkern u1="d" u2="J" k="16" />
-<hkern u1="d" u2="I" k="10" />
-<hkern u1="e" u2="&#x2122;" k="41" />
-<hkern u1="e" u2="&#x2019;" k="37" />
-<hkern u1="e" u2="&#x2018;" k="37" />
-<hkern u1="e" u2="&#x7d;" k="25" />
-<hkern u1="e" u2="y" k="12" />
-<hkern u1="e" u2="x" k="23" />
-<hkern u1="e" u2="v" k="12" />
-<hkern u1="e" u2="t" k="8" />
-<hkern u1="e" u2="f" k="8" />
-<hkern u1="e" u2="]" k="51" />
-<hkern u1="e" u2="\" k="68" />
-<hkern u1="e" u2="Z" k="29" />
-<hkern u1="e" u2="Y" k="117" />
-<hkern u1="e" u2="X" k="35" />
-<hkern u1="e" u2="W" k="74" />
-<hkern u1="e" u2="V" k="88" />
-<hkern u1="e" u2="U" k="14" />
-<hkern u1="e" u2="T" k="158" />
-<hkern u1="e" u2="S" k="14" />
-<hkern u1="e" u2="J" k="18" />
-<hkern u1="e" u2="I" k="12" />
-<hkern u1="e" u2="A" k="14" />
-<hkern u1="e" u2="&#x2f;" k="35" />
-<hkern u1="e" u2="&#x29;" k="47" />
-<hkern u1="f" u2="&#x2122;" k="-57" />
-<hkern u1="f" u2="&#x2039;" k="55" />
-<hkern u1="f" u2="&#xf0;" k="63" />
-<hkern u1="f" u2="&#xef;" k="-100" />
-<hkern u1="f" u2="&#xee;" k="-37" />
-<hkern u1="f" u2="&#xec;" k="-152" />
-<hkern u1="f" u2="&#xc6;" k="90" />
-<hkern u1="f" u2="s" k="8" />
-<hkern u1="f" u2="o" k="27" />
-<hkern u1="f" u2="a" k="10" />
-<hkern u1="f" u2="]" k="-29" />
-<hkern u1="f" u2="Y" k="-117" />
-<hkern u1="f" u2="X" k="-33" />
-<hkern u1="f" u2="W" k="-78" />
-<hkern u1="f" u2="V" k="-94" />
-<hkern u1="f" u2="T" k="-39" />
-<hkern u1="f" u2="J" k="12" />
-<hkern u1="f" u2="A" k="82" />
-<hkern u1="f" u2="&#x3a;" k="41" />
-<hkern u1="f" u2="&#x2f;" k="63" />
-<hkern u1="f" u2="&#x2e;" k="66" />
-<hkern u1="f" u2="&#x2d;" k="63" />
-<hkern u1="i" u2="Z" k="12" />
-<hkern u1="i" u2="U" k="12" />
-<hkern u1="i" u2="T" k="10" />
-<hkern u1="i" u2="O" k="10" />
-<hkern u1="i" u2="J" k="16" />
-<hkern u1="i" u2="I" k="10" />
-<hkern u1="j" u2="j" k="-33" />
-<hkern u1="k" u2="&#x2122;" k="33" />
-<hkern u1="k" u2="&#x2039;" k="41" />
-<hkern u1="k" u2="&#xf0;" k="53" />
-<hkern u1="k" u2="s" k="10" />
-<hkern u1="k" u2="o" k="51" />
-<hkern u1="k" u2="a" k="18" />
-<hkern u1="k" u2="Y" k="39" />
-<hkern u1="k" u2="V" k="16" />
-<hkern u1="k" u2="U" k="10" />
-<hkern u1="k" u2="T" k="133" />
-<hkern u1="k" u2="O" k="35" />
-<hkern u1="k" u2="&#x2d;" k="57" />
-<hkern u1="l" u2="&#xb7;" k="150" />
-<hkern u1="l" u2="Z" k="12" />
-<hkern u1="l" u2="U" k="12" />
-<hkern u1="l" u2="T" k="10" />
-<hkern u1="l" u2="O" k="10" />
-<hkern u1="l" u2="J" k="16" />
-<hkern u1="l" u2="I" k="10" />
-<hkern u1="n" u2="&#x2122;" k="49" />
-<hkern u1="n" u2="&#x2019;" k="35" />
-<hkern u1="n" u2="&#x2018;" k="35" />
-<hkern u1="n" u2="&#x7d;" k="23" />
-<hkern u1="n" u2="y" k="14" />
-<hkern u1="n" u2="w" k="12" />
-<hkern u1="n" u2="v" k="12" />
-<hkern u1="n" u2="t" k="14" />
-<hkern u1="n" u2="f" k="10" />
-<hkern u1="n" u2="]" k="47" />
-<hkern u1="n" u2="\" k="72" />
-<hkern u1="n" u2="Z" k="20" />
-<hkern u1="n" u2="Y" k="96" />
-<hkern u1="n" u2="X" k="10" />
-<hkern u1="n" u2="W" k="53" />
-<hkern u1="n" u2="V" k="72" />
-<hkern u1="n" u2="U" k="16" />
-<hkern u1="n" u2="T" k="109" />
-<hkern u1="n" u2="S" k="10" />
-<hkern u1="n" u2="O" k="12" />
-<hkern u1="n" u2="J" k="14" />
-<hkern u1="n" u2="I" k="10" />
-<hkern u1="n" u2="&#x2a;" k="16" />
-<hkern u1="n" u2="&#x29;" k="33" />
-<hkern u1="o" u2="&#x2122;" k="49" />
-<hkern u1="o" u2="&#x2019;" k="53" />
-<hkern u1="o" u2="&#x2018;" k="53" />
-<hkern u1="o" u2="&#xc6;" k="20" />
-<hkern u1="o" u2="&#x7d;" k="35" />
-<hkern u1="o" u2="z" k="12" />
-<hkern u1="o" u2="y" k="20" />
-<hkern u1="o" u2="x" k="39" />
-<hkern u1="o" u2="w" k="14" />
-<hkern u1="o" u2="v" k="18" />
-<hkern u1="o" u2="t" k="16" />
-<hkern u1="o" u2="f" k="16" />
-<hkern u1="o" u2="]" k="59" />
-<hkern u1="o" u2="\" k="76" />
-<hkern u1="o" u2="Z" k="41" />
-<hkern u1="o" u2="Y" k="123" />
-<hkern u1="o" u2="X" k="66" />
-<hkern u1="o" u2="W" k="78" />
-<hkern u1="o" u2="V" k="88" />
-<hkern u1="o" u2="U" k="18" />
-<hkern u1="o" u2="T" k="131" />
-<hkern u1="o" u2="S" k="23" />
-<hkern u1="o" u2="J" k="29" />
-<hkern u1="o" u2="I" k="18" />
-<hkern u1="o" u2="A" k="23" />
-<hkern u1="o" u2="&#x3f;" k="20" />
-<hkern u1="o" u2="&#x2f;" k="43" />
-<hkern u1="o" u2="&#x2a;" k="23" />
-<hkern u1="o" u2="&#x29;" k="55" />
-<hkern u1="o" u2="&#x27;" k="23" />
-<hkern u1="q" u2="j" k="-119" />
-<hkern u1="r" u2="&#x2122;" k="16" />
-<hkern u1="r" u2="&#x2039;" k="55" />
-<hkern u1="r" u2="&#xf0;" k="57" />
-<hkern u1="r" u2="&#xc6;" k="92" />
-<hkern u1="r" u2="&#x7d;" k="20" />
-<hkern u1="r" u2="o" k="20" />
-<hkern u1="r" u2="a" k="10" />
-<hkern u1="r" u2="]" k="39" />
-<hkern u1="r" u2="Z" k="29" />
-<hkern u1="r" u2="Y" k="14" />
-<hkern u1="r" u2="X" k="61" />
-<hkern u1="r" u2="T" k="139" />
-<hkern u1="r" u2="J" k="86" />
-<hkern u1="r" u2="A" k="90" />
-<hkern u1="r" u2="&#x3a;" k="33" />
-<hkern u1="r" u2="&#x2f;" k="88" />
-<hkern u1="r" u2="&#x2e;" k="92" />
-<hkern u1="r" u2="&#x2d;" k="57" />
-<hkern u1="r" u2="&#x29;" k="37" />
-<hkern u1="r" u2="&#x26;" k="27" />
-<hkern u1="s" u2="&#x2122;" k="47" />
-<hkern u1="s" u2="&#x7d;" k="20" />
-<hkern u1="s" u2="x" k="8" />
-<hkern u1="s" u2="v" k="8" />
-<hkern u1="s" u2="]" k="43" />
-<hkern u1="s" u2="\" k="53" />
-<hkern u1="s" u2="Y" k="92" />
-<hkern u1="s" u2="X" k="16" />
-<hkern u1="s" u2="W" k="51" />
-<hkern u1="s" u2="V" k="61" />
-<hkern u1="s" u2="U" k="18" />
-<hkern u1="s" u2="T" k="145" />
-<hkern u1="s" u2="O" k="10" />
-<hkern u1="s" u2="I" k="12" />
-<hkern u1="s" u2="A" k="10" />
-<hkern u1="s" u2="&#x2f;" k="20" />
-<hkern u1="s" u2="&#x29;" k="41" />
-<hkern u1="t" u2="&#x2122;" k="39" />
-<hkern u1="t" u2="o" k="8" />
-<hkern u1="t" u2="]" k="25" />
-<hkern u1="t" u2="\" k="33" />
-<hkern u1="t" u2="Y" k="68" />
-<hkern u1="t" u2="W" k="25" />
-<hkern u1="t" u2="V" k="37" />
-<hkern u1="t" u2="U" k="12" />
-<hkern u1="t" u2="T" k="119" />
-<hkern u1="u" u2="&#x2122;" k="37" />
-<hkern u1="u" u2="]" k="37" />
-<hkern u1="u" u2="\" k="41" />
-<hkern u1="u" u2="Z" k="14" />
-<hkern u1="u" u2="Y" k="72" />
-<hkern u1="u" u2="X" k="14" />
-<hkern u1="u" u2="W" k="51" />
-<hkern u1="u" u2="V" k="61" />
-<hkern u1="u" u2="U" k="10" />
-<hkern u1="u" u2="T" k="100" />
-<hkern u1="u" u2="O" k="10" />
-<hkern u1="u" u2="J" k="16" />
-<hkern u1="u" u2="I" k="10" />
-<hkern u1="u" u2="&#x29;" k="31" />
-<hkern u1="v" u2="&#x2039;" k="37" />
-<hkern u1="v" u2="&#xf0;" k="35" />
-<hkern u1="v" u2="&#xc6;" k="66" />
-<hkern u1="v" u2="s" k="14" />
-<hkern u1="v" u2="o" k="18" />
-<hkern u1="v" u2="a" k="14" />
-<hkern u1="v" u2="]" k="29" />
-<hkern u1="v" u2="Z" k="12" />
-<hkern u1="v" u2="Y" k="16" />
-<hkern u1="v" u2="X" k="49" />
-<hkern u1="v" u2="T" k="139" />
-<hkern u1="v" u2="J" k="53" />
-<hkern u1="v" u2="A" k="59" />
-<hkern u1="v" u2="&#x3a;" k="18" />
-<hkern u1="v" u2="&#x2f;" k="82" />
-<hkern u1="v" u2="&#x2e;" k="74" />
-<hkern u1="v" u2="&#x2a;" k="-18" />
-<hkern u1="v" u2="&#x29;" k="27" />
-<hkern u1="w" u2="&#x2039;" k="29" />
-<hkern u1="w" u2="&#xf0;" k="29" />
-<hkern u1="w" u2="&#xc6;" k="59" />
-<hkern u1="w" u2="s" k="8" />
-<hkern u1="w" u2="o" k="14" />
-<hkern u1="w" u2="a" k="10" />
-<hkern u1="w" u2="]" k="33" />
-<hkern u1="w" u2="Z" k="16" />
-<hkern u1="w" u2="Y" k="27" />
-<hkern u1="w" u2="X" k="53" />
-<hkern u1="w" u2="T" k="133" />
-<hkern u1="w" u2="J" k="57" />
-<hkern u1="w" u2="A" k="51" />
-<hkern u1="w" u2="&#x2f;" k="72" />
-<hkern u1="w" u2="&#x2e;" k="59" />
-<hkern u1="w" u2="&#x29;" k="31" />
-<hkern u1="x" u2="&#x2122;" k="27" />
-<hkern u1="x" u2="&#x2039;" k="45" />
-<hkern u1="x" u2="&#xf0;" k="45" />
-<hkern u1="x" u2="o" k="41" />
-<hkern u1="x" u2="a" k="10" />
-<hkern u1="x" u2="Y" k="39" />
-<hkern u1="x" u2="V" k="16" />
-<hkern u1="x" u2="U" k="12" />
-<hkern u1="x" u2="T" k="135" />
-<hkern u1="x" u2="O" k="25" />
-<hkern u1="x" u2="&#x2d;" k="49" />
-<hkern u1="y" u2="&#x2039;" k="37" />
-<hkern u1="y" u2="&#xf0;" k="35" />
-<hkern u1="y" u2="&#xc6;" k="66" />
-<hkern u1="y" u2="s" k="12" />
-<hkern u1="y" u2="o" k="18" />
-<hkern u1="y" u2="a" k="14" />
-<hkern u1="y" u2="]" k="23" />
-<hkern u1="y" u2="Z" k="12" />
-<hkern u1="y" u2="Y" k="16" />
-<hkern u1="y" u2="X" k="47" />
-<hkern u1="y" u2="T" k="139" />
-<hkern u1="y" u2="J" k="49" />
-<hkern u1="y" u2="A" k="59" />
-<hkern u1="y" u2="&#x3a;" k="18" />
-<hkern u1="y" u2="&#x2f;" k="76" />
-<hkern u1="y" u2="&#x2e;" k="74" />
-<hkern u1="y" u2="&#x2a;" k="-12" />
-<hkern u1="y" u2="&#x29;" k="23" />
-<hkern u1="z" u2="&#x2122;" k="43" />
-<hkern u1="z" u2="&#x2039;" k="31" />
-<hkern u1="z" u2="&#xf0;" k="14" />
-<hkern u1="z" u2="o" k="14" />
-<hkern u1="z" u2="]" k="33" />
-<hkern u1="z" u2="\" k="37" />
-<hkern u1="z" u2="Y" k="78" />
-<hkern u1="z" u2="W" k="33" />
-<hkern u1="z" u2="V" k="41" />
-<hkern u1="z" u2="U" k="20" />
-<hkern u1="z" u2="T" k="150" />
-<hkern u1="z" u2="O" k="12" />
-<hkern u1="z" u2="I" k="10" />
-<hkern u1="z" u2="&#x2d;" k="35" />
-<hkern u1="&#x7b;" u2="&#xf0;" k="23" />
-<hkern u1="&#x7b;" u2="u" k="25" />
-<hkern u1="&#x7b;" u2="s" k="20" />
-<hkern u1="&#x7b;" u2="o" k="35" />
-<hkern u1="&#x7b;" u2="j" k="-168" />
-<hkern u1="&#x7b;" u2="a" k="20" />
-<hkern u1="&#x7b;" u2="O" k="25" />
-<hkern u1="&#x7c;" u2="j" k="-104" />
-<hkern u1="&#x7d;" u2="&#x29;" k="20" />
-<hkern u1="&#xae;" u2="&#xc6;" k="25" />
-<hkern u1="&#xae;" u2="Y" k="33" />
-<hkern u1="&#xae;" u2="X" k="25" />
-<hkern u1="&#xae;" u2="T" k="25" />
-<hkern u1="&#xae;" u2="J" k="25" />
-<hkern u1="&#xae;" u2="A" k="27" />
-<hkern u1="&#xb0;" u2="&#x34;" k="49" />
-<hkern u1="&#xb7;" u2="l" k="150" />
-<hkern u1="&#xb7;" u2="&#x37;" k="41" />
-<hkern u1="&#xb7;" u2="&#x33;" k="53" />
-<hkern u1="&#xb7;" u2="&#x32;" k="51" />
-<hkern u1="&#xb7;" u2="&#x31;" k="59" />
-<hkern u1="&#xbf;" u2="Y" k="39" />
-<hkern u1="&#xbf;" u2="W" k="31" />
-<hkern u1="&#xbf;" u2="V" k="37" />
-<hkern u1="&#xbf;" u2="T" k="41" />
-<hkern u1="&#xce;" u2="&#x7d;" k="-20" />
-<hkern u1="&#xde;" u2="&#x2122;" k="25" />
-<hkern u1="&#xde;" u2="&#xc6;" k="39" />
-<hkern u1="&#xde;" u2="z" k="10" />
-<hkern u1="&#xde;" u2="x" k="14" />
-<hkern u1="&#xde;" u2="]" k="51" />
-<hkern u1="&#xde;" u2="\" k="35" />
-<hkern u1="&#xde;" u2="Z" k="27" />
-<hkern u1="&#xde;" u2="Y" k="49" />
-<hkern u1="&#xde;" u2="X" k="61" />
-<hkern u1="&#xde;" u2="W" k="12" />
-<hkern u1="&#xde;" u2="V" k="25" />
-<hkern u1="&#xde;" u2="T" k="37" />
-<hkern u1="&#xde;" u2="J" k="49" />
-<hkern u1="&#xde;" u2="A" k="39" />
-<hkern u1="&#xde;" u2="&#x2f;" k="61" />
-<hkern u1="&#xde;" u2="&#x2e;" k="66" />
-<hkern u1="&#xde;" u2="&#x29;" k="45" />
-<hkern u1="&#xdf;" u2="y" k="14" />
-<hkern u1="&#xdf;" u2="x" k="18" />
-<hkern u1="&#xdf;" u2="w" k="10" />
-<hkern u1="&#xdf;" u2="v" k="14" />
-<hkern u1="&#xdf;" u2="t" k="14" />
-<hkern u1="&#xdf;" u2="f" k="12" />
-<hkern u1="&#xdf;" u2="]" k="25" />
-<hkern u1="&#xdf;" u2="\" k="20" />
-<hkern u1="&#xdf;" u2="Z" k="14" />
-<hkern u1="&#xdf;" u2="Y" k="37" />
-<hkern u1="&#xdf;" u2="X" k="31" />
-<hkern u1="&#xdf;" u2="W" k="27" />
-<hkern u1="&#xdf;" u2="V" k="33" />
-<hkern u1="&#xdf;" u2="U" k="20" />
-<hkern u1="&#xdf;" u2="T" k="31" />
-<hkern u1="&#xdf;" u2="S" k="10" />
-<hkern u1="&#xdf;" u2="O" k="10" />
-<hkern u1="&#xdf;" u2="J" k="14" />
-<hkern u1="&#xdf;" u2="I" k="16" />
-<hkern u1="&#xdf;" u2="A" k="14" />
-<hkern u1="&#xdf;" u2="&#x2f;" k="31" />
-<hkern u1="&#xdf;" u2="&#x29;" k="33" />
-<hkern u1="&#xed;" u2="&#x2122;" k="-90" />
-<hkern u1="&#xed;" u2="&#x7d;" k="-33" />
-<hkern u1="&#xed;" u2="]" k="-55" />
-<hkern u1="&#xed;" u2="\" k="-18" />
-<hkern u1="&#xed;" u2="&#x2a;" k="-37" />
-<hkern u1="&#xee;" u2="&#x2122;" k="-72" />
-<hkern u1="&#xee;" u2="&#x3f;" k="-35" />
-<hkern u1="&#xee;" u2="&#x2a;" k="-84" />
-<hkern u1="&#xef;" u2="&#x2122;" k="-70" />
-<hkern u1="&#xef;" u2="&#x7d;" k="-12" />
-<hkern u1="&#xef;" u2="]" k="-33" />
-<hkern u1="&#xef;" u2="&#x2a;" k="-43" />
-<hkern u1="&#xf0;" u2="&#x2122;" k="31" />
-<hkern u1="&#xf0;" u2="&#x2019;" k="37" />
-<hkern u1="&#xf0;" u2="&#x2018;" k="37" />
-<hkern u1="&#xf0;" u2="&#xc6;" k="14" />
-<hkern u1="&#xf0;" u2="&#x7d;" k="20" />
-<hkern u1="&#xf0;" u2="z" k="8" />
-<hkern u1="&#xf0;" u2="y" k="12" />
-<hkern u1="&#xf0;" u2="x" k="27" />
-<hkern u1="&#xf0;" u2="w" k="8" />
-<hkern u1="&#xf0;" u2="v" k="14" />
-<hkern u1="&#xf0;" u2="t" k="12" />
-<hkern u1="&#xf0;" u2="f" k="10" />
-<hkern u1="&#xf0;" u2="]" k="39" />
-<hkern u1="&#xf0;" u2="\" k="33" />
-<hkern u1="&#xf0;" u2="Z" k="37" />
-<hkern u1="&#xf0;" u2="Y" k="80" />
-<hkern u1="&#xf0;" u2="X" k="61" />
-<hkern u1="&#xf0;" u2="W" k="59" />
-<hkern u1="&#xf0;" u2="V" k="70" />
-<hkern u1="&#xf0;" u2="U" k="18" />
-<hkern u1="&#xf0;" u2="T" k="82" />
-<hkern u1="&#xf0;" u2="S" k="16" />
-<hkern u1="&#xf0;" u2="J" k="25" />
-<hkern u1="&#xf0;" u2="I" k="12" />
-<hkern u1="&#xf0;" u2="A" k="20" />
-<hkern u1="&#xf0;" u2="&#x2f;" k="39" />
-<hkern u1="&#xf0;" u2="&#x2a;" k="18" />
-<hkern u1="&#xf0;" u2="&#x29;" k="39" />
-<hkern u1="&#xf0;" u2="&#x27;" k="18" />
-<hkern u1="&#x2018;" u2="&#xf0;" k="39" />
-<hkern u1="&#x2018;" u2="&#xc6;" k="133" />
-<hkern u1="&#x2018;" u2="s" k="49" />
-<hkern u1="&#x2018;" u2="o" k="74" />
-<hkern u1="&#x2018;" u2="a" k="43" />
-<hkern u1="&#x2018;" u2="O" k="23" />
-<hkern u1="&#x2018;" u2="J" k="29" />
-<hkern u1="&#x2018;" u2="A" k="125" />
-<hkern u1="&#x2018;" u2="&#x2e;" k="309" />
-<hkern u1="&#x2019;" u2="&#x2039;" k="33" />
-<hkern u1="&#x2019;" u2="&#xf0;" k="39" />
-<hkern u1="&#x2019;" u2="&#xc6;" k="133" />
-<hkern u1="&#x2019;" u2="&#xae;" k="25" />
-<hkern u1="&#x2019;" u2="s" k="49" />
-<hkern u1="&#x2019;" u2="o" k="74" />
-<hkern u1="&#x2019;" u2="a" k="43" />
-<hkern u1="&#x2019;" u2="O" k="23" />
-<hkern u1="&#x2019;" u2="J" k="29" />
-<hkern u1="&#x2019;" u2="A" k="125" />
-<hkern u1="&#x2019;" u2="&#x40;" k="57" />
-<hkern u1="&#x2019;" u2="&#x3a;" k="156" />
-<hkern u1="&#x2019;" u2="&#x2f;" k="172" />
-<hkern u1="&#x2019;" u2="&#x2e;" k="309" />
-<hkern u1="&#x2019;" u2="&#x26;" k="45" />
-<hkern u1="&#x2039;" u2="Y" k="66" />
-<hkern u1="&#x2039;" u2="W" k="23" />
-<hkern u1="&#x2039;" u2="V" k="35" />
-<hkern u1="&#x2039;" u2="T" k="111" />
-<hkern u1="&#x203a;" u2="z" k="25" />
-<hkern u1="&#x203a;" u2="y" k="37" />
-<hkern u1="&#x203a;" u2="x" k="43" />
-<hkern u1="&#x203a;" u2="w" k="29" />
-<hkern u1="&#x203a;" u2="v" k="37" />
-<hkern u1="&#x203a;" u2="t" k="27" />
-<hkern u1="&#x203a;" u2="s" k="20" />
-<hkern u1="&#x203a;" u2="f" k="27" />
-<hkern u1="&#x203a;" u2="Z" k="23" />
-<hkern u1="&#x203a;" u2="Y" k="109" />
-<hkern u1="&#x203a;" u2="X" k="33" />
-<hkern u1="&#x203a;" u2="W" k="57" />
-<hkern u1="&#x203a;" u2="V" k="72" />
-<hkern u1="&#x203a;" u2="T" k="127" />
-<hkern u1="&#x203a;" u2="J" k="27" />
-<hkern u1="&#x203a;" u2="&#x27;" k="29" />
-<hkern u1="&#x2122;" u2="&#xee;" k="-31" />
-<hkern u1="&#x2122;" u2="&#xec;" k="-14" />
-<hkern u1="&#x2122;" u2="&#xc6;" k="61" />
-<hkern u1="&#x2122;" u2="J" k="35" />
-<hkern u1="&#x2122;" u2="A" k="55" />
-</font>
-</defs></svg> -88t-37 -90t-89 -38t-89 37z" />
-<glyph unicode="&#xa9;" horiz-adv-x="1703" d="M1593 719q0 -305 -217 -524.5t-526 -219.5t-524 217.5t-215 522.5t217 524t524 219t524 -217t217 -522zM1503 717q0 268 -187.5 458.5t-459.5 190.5t-460.5 -191.5t-188.5 -461t186.5 -460t458.5 -190.5t461.5 193t189.5 461zM1194 459q-139 -145 -317.5 -145.5 t-297 111.5t-118.5 294t123 294.5t305 112.5t299 -122l-98 -121q-106 90 -209 90t-179.5 -68.5t-76.5 -178.5t76.5 -185.5t188 -75.5t206.5 100z" />
-<glyph unicode="&#xaa;" horiz-adv-x="720" d="M567 954h-96v68q-63 -76 -154.5 -76t-143.5 45t-52 119q0 150 203 150h139v18q0 100 -113 100q-68 0 -145 -51l-47 68q90 72 194 71q215 0 215 -186v-326zM461 1143v43h-119q-115 0 -115 -74q0 -37 29 -56.5t79 -19.5t88 30t38 77z" />
-<glyph unicode="&#xab;" horiz-adv-x="1120" d="M580 852l-236 -360l236 -361h-222l-243 361l243 360h222zM985 852l-235 -360l235 -361h-221l-244 361l244 360h221z" />
-<glyph unicode="&#xac;" horiz-adv-x="1695" d="M137 911h1370v-731h-168v551h-1202v180z" />
-<glyph unicode="&#xad;" horiz-adv-x="974" d="M147 504v215h680v-215h-680z" />
-<glyph unicode="&#xae;" horiz-adv-x="1703" d="M1593 719q0 -305 -217 -524.5t-526 -219.5t-524 217.5t-215 522.5t217 524t524 219t524 -217t217 -522zM1503 717q0 268 -187.5 458.5t-459.5 190.5t-460.5 -191.5t-188.5 -461t186.5 -460t458.5 -190.5t461.5 193t189.5 461zM1210 860q0 -199 -174 -250l213 -288h-172 l-192 268h-176v-268h-140v800h301q182 0 261 -62.5t79 -199.5zM1031 747.5q42 34.5 42 113.5t-43 109.5t-151 30.5h-170v-288h165q115 0 157 34.5z" />
-<glyph unicode="&#xaf;" horiz-adv-x="868" d="M750 1407v-178h-629v178h629z" />
-<glyph unicode="&#xb0;" horiz-adv-x="851" d="M426 1464q131 0 223 -92t92 -223t-92 -222t-223 -91t-223 91t-92 222t92 223t223 92zM277.5 1001.5q60.5 -61.5 147.5 -61.5t147.5 61.5t60.5 147.5t-60.5 146.5t-147.5 60.5t-147.5 -60.5t-60.5 -146.5t60.5 -147.5z" />
-<glyph unicode="&#xb1;" horiz-adv-x="1163" d="M489 565v277h-391v192h391v273h185v-273h391v-192h-391v-277h-185zM98 451h967v-172h-967v172z" />
-<glyph unicode="&#xb2;" horiz-adv-x="858" d="M519 1120q36 49 36 99.5t-38 85t-97 34.5q-104 0 -172 -104l-113 65q109 166 287 166q111 0 189.5 -66.5t78.5 -180.5q0 -63 -33.5 -122t-124.5 -153l-194 -199h379v-135h-572v119l252 256q86 86 122 135z" />
-<glyph unicode="&#xb3;" horiz-adv-x="811" d="M158 1305v127h495v-113l-204 -229q117 -2 181 -73t64 -183.5t-87 -186.5t-226 -74t-270 89l61 114q100 -72 217 -71q74 0 122 33.5t48 99t-53 104.5t-124 39t-116 -14v108l197 230h-305z" />
-<glyph unicode="&#xb4;" horiz-adv-x="1705" d="M901 1286h-209l217 297l242 -100z" />
-<glyph unicode="&#xb5;" horiz-adv-x="1314" d="M176 -397v1487h230v-598q0 -301 249 -302q119 0 207 79t88 231v590h230v-1090h-230v199q-55 -100 -152.5 -157.5t-204 -57.5t-187.5 34v-415h-230z" />
-<glyph unicode="&#xb6;" horiz-adv-x="1374" d="M72 1139q0 174 120.5 292.5t366.5 118.5h612v-1779h-190v1585h-229v-1585h-185v981q-49 -6 -94 -7q-113 0 -196.5 39t-124.5 101q-80 119 -80 254z" />
-<glyph unicode="&#xb7;" horiz-adv-x="595" d="M145 653.5q0 63.5 44 107.5t107.5 44t109 -44t45.5 -107.5t-45.5 -108.5t-109 -45t-107.5 45t-44 108.5z" />
-<glyph unicode="&#xb8;" horiz-adv-x="575" d="M481 -240q0 -78 -63.5 -136t-160.5 -58t-171 45l53 117q39 -20 79 -20.5t62.5 23t22.5 56.5t-23.5 58.5t-59.5 25.5t-60 -10l73 139h146l-41 -78q143 -19 143 -162z" />
-<glyph unicode="&#xb9;" horiz-adv-x="548" d="M84 1432h303v-838h-133v713h-170v125z" />
-<glyph unicode="&#xba;" horiz-adv-x="774" d="M387 1032q72 0 118 47t46 122t-46 122t-118 47t-118 -47t-46 -122t46 -122t118 -47zM387 934q-117 0 -194.5 76.5t-77.5 189.5t77.5 189.5t194.5 76.5t194.5 -76.5t77.5 -189.5t-77.5 -189.5t-194.5 -76.5z" />
-<glyph unicode="&#xbb;" horiz-adv-x="1120" d="M776 492l-235 360h221l244 -360l-244 -361h-221zM371 492l-236 360h221l244 -360l-244 -361h-221z" />
-<glyph unicode="&#xbc;" horiz-adv-x="1767" d="M1210 1550h148l-764 -1566h-148zM1452 340v154h133v-154h103v-129h-103v-211h-133v211h-358v125l305 502h155l-303 -498h201zM72 1432h303v-838h-133v713h-170v125z" />
-<glyph unicode="&#xbd;" horiz-adv-x="1900" d="M1276 1550h147l-764 -1566h-147zM1613 510q36 49 36 99t-38 85t-98 35q-100 0 -172 -104l-110 65q109 166 285 166q111 0 190.5 -66.5t79.5 -181.5q0 -63 -34 -122.5t-124 -151.5l-196 -199h378v-135h-571v119l254 256q84 86 120 135zM72 1432h303v-838h-133v713h-170 v125z" />
-<glyph unicode="&#xbe;" horiz-adv-x="1845" d="M1294 1550h148l-764 -1566h-148zM1536 340v154h133v-154h103v-129h-103v-211h-133v211h-358v125l305 502h155l-303 -498h201zM129 1305v127h496v-113l-205 -229q117 -2 181.5 -73t64.5 -183.5t-87 -186.5t-226.5 -74t-270.5 89l61 114q100 -72 217 -71q74 0 122 33.5 t48 99t-53 104.5t-123.5 39t-115.5 -14v108l196 230h-305z" />
-<glyph unicode="&#xbf;" horiz-adv-x="1040" d="M422 1004h231v-125q0 -82 -19.5 -122t-84.5 -106l-150 -149q-47 -51 -47 -127t49.5 -126t127 -50t130 48t60.5 128h248q-20 -182 -142.5 -285.5t-304.5 -103.5t-296.5 99t-114.5 277q0 123 67 205q39 49 59.5 69.5t54.5 52.5t57.5 55.5t37.5 41.5q37 43 37 125v93z M645 1414q47 -44 47 -106.5t-46 -107.5t-110.5 -45t-111.5 44t-47 106.5t46 107.5t110.5 45t111.5 -44z" />
-<glyph unicode="&#xc0;" horiz-adv-x="1495" d="M864 1432l631 -1432h-266l-146 326h-686l-139 -326h-258l631 1432h233zM987 549l-246 551l-243 -551h489zM860 1550h-209l-250 197l242 100z" />
-<glyph unicode="&#xc1;" horiz-adv-x="1519" d="M401 326l-143 -326h-258l631 1432h258l631 -1432h-258l-144 326h-717zM1020 549l-260 590l-260 -590h520zM870 1552h-208l217 297l241 -100z" />
-<glyph unicode="&#xc2;" horiz-adv-x="1495" d="M864 1432l631 -1432h-266l-146 326h-686l-139 -326h-258l631 1432h233zM987 549l-246 551l-243 -551h489zM633 1825h213l250 -275h-199l-158 115l-157 -115h-199z" />
-<glyph unicode="&#xc3;" horiz-adv-x="1495" d="M864 1432l631 -1432h-266l-146 326h-686l-139 -326h-258l631 1432h233zM987 549l-246 551l-243 -551h489zM897 1544q-53 0 -148.5 48t-121.5 48q-68 0 -70 -90h-151q0 119 48 193t134 74q55 0 153.5 -48.5t128.5 -48.5q61 0 62 90h153q-6 -266 -188 -266z" />
-<glyph unicode="&#xc4;" horiz-adv-x="1495" d="M864 1432l631 -1432h-266l-146 326h-686l-139 -326h-258l631 1432h233zM987 549l-246 551l-243 -551h489zM468 1579q-36 37 -36 89t36 89t89 37t90 -36t37 -88t-37 -90t-90 -38t-89 37zM848 1579q-37 37 -37 89t37 89t89 37t89 -36t37 -88t-38 -90t-89 -38t-88 37z" />
-<glyph unicode="&#xc5;" horiz-adv-x="1495" d="M903.5 1729.5q67.5 -64.5 67.5 -162t-97 -162.5l621 -1405h-266l-146 326h-686l-139 -326h-258l618 1407q-92 66 -92 162t66.5 160.5t155 64.5t156 -64.5zM987 549l-246 551l-243 -551h489zM829.5 1498q30.5 32 30.5 82t-30.5 82t-81 32t-82 -32t-31.5 -82t31.5 -82 t82 -32t81 32z" />
-<glyph unicode="&#xc6;" horiz-adv-x="2129" d="M1995 1432v-226h-764v-393h686v-211h-686v-377h788v-225h-1052v326h-518l-175 -326h-297l750 1432h1268zM967 557v649h-60l-342 -649h402z" />
-<glyph unicode="&#xc7;" horiz-adv-x="1507" d="M852 219q125 0 215 42t188 134l156 -159q-213 -238 -520 -250l-33 -64q143 -18 143 -162q0 -78 -63.5 -136t-160.5 -58t-171 45l53 117q39 -20 79 -20.5t62.5 23t22.5 56.5t-23.5 58.5t-59 25.5t-60.5 -10l68 129q-281 35 -461.5 237.5t-180.5 507.5t218.5 518t551 213 t556.5 -245l-154 -168q-102 98 -193.5 137t-214.5 39q-217 0 -364.5 -140.5t-147.5 -358.5t146.5 -364.5t347.5 -146.5z" />
-<glyph unicode="&#xc8;" horiz-adv-x="1339" d="M862 1550h-209l-250 197l242 100zM1204 1432v-228h-764v-379h686v-215h-686v-383h789v-227h-1030v1432h1005z" />
-<glyph unicode="&#xc9;" horiz-adv-x="1339" d="M1204 1432v-228h-764v-379h686v-215h-686v-383h789v-227h-1030v1432h1005zM811 1550h-209l217 297l242 -100z" />
-<glyph unicode="&#xca;" horiz-adv-x="1339" d="M596 1825h213l250 -275h-199l-158 115l-157 -115h-199zM1204 1432v-228h-764v-379h686v-215h-686v-383h789v-227h-1030v1432h1005z" />
-<glyph unicode="&#xcb;" horiz-adv-x="1339" d="M425 1579q-36 37 -36 89t37 89t89 37t89 -36t37 -88t-38 -90t-90 -38t-88 37zM805 1579q-37 37 -37 89t37 89t89 37t89 -36t37 -88t-37 -90t-89 -38t-89 37zM1204 1432v-228h-764v-379h686v-215h-686v-383h789v-227h-1030v1432h1005z" />
-<glyph unicode="&#xcc;" horiz-adv-x="638" d="M428 1550h-209l-250 197l242 100zM199 1432h241v-1432h-241v1432z" />
-<glyph unicode="&#xcd;" horiz-adv-x="638" d="M199 1432h241v-1432h-241v1432zM420 1550h-209l217 297l242 -100z" />
-<glyph unicode="&#xce;" horiz-adv-x="638" d="M199 1432h241v-1432h-241v1432zM236 1825h213l249 -275h-198l-158 115l-158 -115h-198z" />
-<glyph unicode="&#xcf;" horiz-adv-x="638" d="M42 1579q-36 37 -36 89t36 89t89 37t90 -36t37 -88t-37 -90t-90 -38t-89 37zM422 1579q-37 37 -37 89t37 89t89 37t89 -36t37 -88t-38 -90t-89 -38t-88 37zM199 1432h241v-1432h-241v1432z" />
-<glyph unicode="&#xd0;" horiz-adv-x="1617" d="M53 602v215h162v615h492q385 0 591.5 -187.5t206.5 -521.5t-200.5 -528.5t-614.5 -194.5h-475v602h-162zM1262 717q0 492 -564 491h-241v-391h512v-215h-512v-375h268q260 0 398.5 124t138.5 366z" />
-<glyph unicode="&#xd1;" horiz-adv-x="1712" d="M1272 1432h241v-1432h-262l-811 1044v-1044h-241v1432h241l832 -1070v1070zM1001 1544q-53 0 -148 48t-122 48q-68 0 -69 -90h-152q0 119 48 193t134 74q55 0 153.5 -48.5t129.5 -48.5q61 0 61 90h154q-7 -266 -189 -266z" />
-<glyph unicode="&#xd2;" horiz-adv-x="1720" d="M1016 1550h-209l-250 197l242 100zM860 1245q-213 0 -359.5 -151.5t-146.5 -367.5t146.5 -367.5t359.5 -151.5t359.5 151.5t146.5 367.5t-146.5 367.5t-359.5 151.5zM860.5 -14q-319.5 0 -537 212t-217.5 528t217.5 528t537 212t536.5 -212t217 -528t-217 -528 t-536.5 -212z" />
-<glyph unicode="&#xd3;" horiz-adv-x="1720" d="M860 1245q-213 0 -359.5 -151.5t-146.5 -367.5t146.5 -367.5t359.5 -151.5t359.5 151.5t146.5 367.5t-146.5 367.5t-359.5 151.5zM860.5 -14q-319.5 0 -537 212t-217.5 528t217.5 528t537 212t536.5 -212t217 -528t-217 -528t-536.5 -212zM897 1550h-209l217 297 l242 -100z" />
-<glyph unicode="&#xd4;" horiz-adv-x="1720" d="M860 1245q-213 0 -359.5 -151.5t-146.5 -367.5t146.5 -367.5t359.5 -151.5t359.5 151.5t146.5 367.5t-146.5 367.5t-359.5 151.5zM860.5 -14q-319.5 0 -537 212t-217.5 528t217.5 528t537 212t536.5 -212t217 -528t-217 -528t-536.5 -212zM750 1825h213l249 -275h-198 l-158 115l-158 -115h-198z" />
-<glyph unicode="&#xd5;" horiz-adv-x="1720" d="M860 1245q-213 0 -359.5 -151.5t-146.5 -367.5t146.5 -367.5t359.5 -151.5t359.5 151.5t146.5 367.5t-146.5 367.5t-359.5 151.5zM860.5 -14q-319.5 0 -537 212t-217.5 528t217.5 528t537 212t536.5 -212t217 -528t-217 -528t-536.5 -212zM1008 1544q-53 0 -148.5 48 t-122.5 48q-68 0 -69 -90h-152q0 119 48 193t134 74q55 0 153.5 -48.5t129.5 -48.5q61 0 61 90h154q-6 -266 -188 -266z" />
-<glyph unicode="&#xd6;" horiz-adv-x="1720" d="M570.5 1579q-35.5 37 -35.5 89t35.5 89t89 37t90 -36t36.5 -88t-36.5 -90t-90 -38t-89 37zM950 1579q-37 37 -37 89t37 89t89.5 37t89 -36t36.5 -88t-37.5 -90t-89 -38t-88.5 37zM860 1245q-213 0 -359.5 -151.5t-146.5 -367.5t146.5 -367.5t359.5 -151.5t359.5 151.5 t146.5 367.5t-146.5 367.5t-359.5 151.5zM860.5 -14q-319.5 0 -537 212t-217.5 528t217.5 528t537 212t536.5 -212t217 -528t-217 -528t-536.5 -212z" />
-<glyph unicode="&#xd7;" horiz-adv-x="1157" d="M580 907l348 350l129 -131l-346 -346l348 -350l-129 -131l-350 350l-351 -350l-131 131l351 350l-349 346l131 131z" />
-<glyph unicode="&#xd8;" horiz-adv-x="1720" d="M1614 727q0 -317 -217 -529t-537 -212q-109 0 -207 24l-116 -250h-205l149 320q-174 94 -274.5 265t-100.5 382q0 315 217.5 527t536.5 212q125 0 248 -39l111 234h204l-145 -313q156 -98 246 -261t90 -360zM860 1245q-213 0 -359.5 -151.5t-146.5 -368.5 q0 -133 60.5 -248t165.5 -186l434 930q-74 24 -154 24zM1366 725q0 250 -188 408l-428 -916q57 -10 110 -10q213 0 359.5 151.5t \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.ttf b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.ttf
deleted file mode 100644
index e3985ca9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.ttf
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.woff b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.woff
deleted file mode 100644
index 2e1467b0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/montserrat-regular.woff
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/normalize.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/normalize.css
deleted file mode 100644
index ffbb5978..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/css/normalize.css
+++ /dev/null
@@ -1,527 +0,0 @@
-/*! normalize.css v1.1.0 | MIT License | git.io/normalize */
-
-/* ==========================================================================
- HTML5 display definitions
- ========================================================================== */
-
-/**
- * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
- */
-
-article,
-aside,
-details,
-figcaption,
-figure,
-footer,
-header,
-hgroup,
-main,
-nav,
-section,
-summary {
- display: block;
-}
-
-/**
- * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
- */
-
-audio,
-canvas,
-video {
- display: inline-block;
- *display: inline;
- *zoom: 1;
-}
-
-/**
- * Prevent modern browsers from displaying `audio` without controls.
- * Remove excess height in iOS 5 devices.
- */
-
-audio:not([controls]) {
- display: none;
- height: 0;
-}
-
-/**
- * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
- * Known issue: no IE 6 support.
- */
-
-[hidden] {
- display: none;
-}
-
-/* ==========================================================================
- Base
- ========================================================================== */
-
-/**
- * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
- * `em` units.
- * 2. Prevent iOS text size adjust after orientation change, without disabling
- * user zoom.
- */
-
-html {
- font-size: 100%; /* 1 */
- -webkit-text-size-adjust: 100%; /* 2 */
- -ms-text-size-adjust: 100%; /* 2 */
-}
-
-/**
- * Address `font-family` inconsistency between `textarea` and other form
- * elements.
- */
-
-html,
-button,
-input,
-select,
-textarea {
- font-family: sans-serif;
-}
-
-/**
- * Address margins handled incorrectly in IE 6/7.
- */
-
-body {
- margin: 0;
-}
-
-/* ==========================================================================
- Links
- ========================================================================== */
-
-/**
- * Address `outline` inconsistency between Chrome and other browsers.
- */
-
-a:focus {
- outline: thin dotted;
-}
-
-/**
- * Improve readability when focused and also mouse hovered in all browsers.
- */
-
-a:active,
-a:hover {
- outline: 0;
-}
-
-/* ==========================================================================
- Typography
- ========================================================================== */
-
-/**
- * Address font sizes and margins set differently in IE 6/7.
- * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
- * and Chrome.
- */
-
-h1 {
- font-size: 2em;
- margin: 0.67em 0;
-}
-
-h2 {
- font-size: 1.5em;
- margin: 0.83em 0;
-}
-
-h3 {
- font-size: 1.17em;
- margin: 1em 0;
-}
-
-h4 {
- font-size: 1em;
- margin: 1.33em 0;
-}
-
-h5 {
- font-size: 0.83em;
- margin: 1.67em 0;
-}
-
-h6 {
- font-size: 0.67em;
- margin: 2.33em 0;
-}
-
-/**
- * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
- */
-
-abbr[title] {
- border-bottom: 1px dotted;
-}
-
-/**
- * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
- */
-
-b,
-strong {
- font-weight: bold;
-}
-
-blockquote {
- margin: 1em 40px;
-}
-
-/**
- * Address styling not present in Safari 5 and Chrome.
- */
-
-dfn {
- font-style: italic;
-}
-
-/**
- * Address differences between Firefox and other browsers.
- * Known issue: no IE 6/7 normalization.
- */
-
-hr {
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- height: 0;
-}
-
-/**
- * Address styling not present in IE 6/7/8/9.
- */
-
-mark {
- background: #ff0;
- color: #000;
-}
-
-/**
- * Address margins set differently in IE 6/7.
- */
-
-p,
-pre {
- margin: 1em 0;
-}
-
-/**
- * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
- */
-
-code,
-kbd,
-pre,
-samp {
- font-family: monospace, serif;
- _font-family: 'courier new', monospace;
- font-size: 1em;
-}
-
-/**
- * Improve readability of pre-formatted text in all browsers.
- */
-
-pre {
- white-space: pre;
- white-space: pre-wrap;
- word-wrap: break-word;
-}
-
-/**
- * Address CSS quotes not supported in IE 6/7.
- */
-
-q {
- quotes: none;
-}
-
-/**
- * Address `quotes` property not supported in Safari 4.
- */
-
-q:before,
-q:after {
- content: '';
- content: none;
-}
-
-/**
- * Address inconsistent and variable font size in all browsers.
- */
-
-small {
- font-size: 80%;
-}
-
-/**
- * Prevent `sub` and `sup` affecting `line-height` in all browsers.
- */
-
-sub,
-sup {
- font-size: 75%;
- line-height: 0;
- position: relative;
- vertical-align: baseline;
-}
-
-sup {
- top: -0.5em;
-}
-
-sub {
- bottom: -0.25em;
-}
-
-/* ==========================================================================
- Lists
- ========================================================================== */
-
-/**
- * Address margins set differently in IE 6/7.
- */
-
-dl,
-menu,
-ol,
-ul {
- margin: 1em 0;
-}
-
-dd {
- margin: 0 0 0 40px;
-}
-
-/**
- * Address paddings set differently in IE 6/7.
- */
-
-menu,
-ol,
-ul {
- padding: 0 0 0 40px;
-}
-
-/**
- * Correct list images handled incorrectly in IE 7.
- */
-
-nav ul,
-nav ol {
- list-style: none;
- list-style-image: none;
-}
-
-/* ==========================================================================
- Embedded content
- ========================================================================== */
-
-/**
- * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
- * 2. Improve image quality when scaled in IE 7.
- */
-
-img {
- border: 0; /* 1 */
- -ms-interpolation-mode: bicubic; /* 2 */
-}
-
-/**
- * Correct overflow displayed oddly in IE 9.
- */
-
-svg:not(:root) {
- overflow: hidden;
-}
-
-/* ==========================================================================
- Figures
- ========================================================================== */
-
-/**
- * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
- */
-
-figure {
- margin: 0;
-}
-
-/* ==========================================================================
- Forms
- ========================================================================== */
-
-/**
- * Correct margin displayed oddly in IE 6/7.
- */
-
-form {
- margin: 0;
-}
-
-/**
- * Define consistent border, margin, and padding.
- */
-
-fieldset {
- border: 1px solid #c0c0c0;
- margin: 0 2px;
- padding: 0.35em 0.625em 0.75em;
-}
-
-/**
- * 1. Correct color not being inherited in IE 6/7/8/9.
- * 2. Correct text not wrapping in Firefox 3.
- * 3. Correct alignment displayed oddly in IE 6/7.
- */
-
-legend {
- border: 0; /* 1 */
- padding: 0;
- white-space: normal; /* 2 */
- *margin-left: -7px; /* 3 */
-}
-
-/**
- * 1. Correct font size not being inherited in all browsers.
- * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
- * and Chrome.
- * 3. Improve appearance and consistency in all browsers.
- */
-
-button,
-input,
-select,
-textarea {
- font-size: 100%; /* 1 */
- margin: 0; /* 2 */
- vertical-align: baseline; /* 3 */
- *vertical-align: middle; /* 3 */
-}
-
-/**
- * Address Firefox 3+ setting `line-height` on `input` using `!important` in
- * the UA stylesheet.
- */
-
-button,
-input {
- line-height: normal;
-}
-
-/**
- * Address inconsistent `text-transform` inheritance for `button` and `select`.
- * All other form control elements do not inherit `text-transform` values.
- * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
- * Correct `select` style inheritance in Firefox 4+ and Opera.
- */
-
-button,
-select {
- text-transform: none;
-}
-
-/**
- * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
- * and `video` controls.
- * 2. Correct inability to style clickable `input` types in iOS.
- * 3. Improve usability and consistency of cursor style between image-type
- * `input` and others.
- * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
- * Known issue: inner spacing remains in IE 6.
- */
-
-button,
-html input[type="button"], /* 1 */
-input[type="reset"],
-input[type="submit"] {
- -webkit-appearance: button; /* 2 */
- cursor: pointer; /* 3 */
- *overflow: visible; /* 4 */
-}
-
-/**
- * Re-set default cursor for disabled elements.
- */
-
-button[disabled],
-html input[disabled] {
- cursor: default;
-}
-
-/**
- * 1. Address box sizing set to content-box in IE 8/9.
- * 2. Remove excess padding in IE 8/9.
- * 3. Remove excess padding in IE 7.
- * Known issue: excess padding remains in IE 6.
- */
-
-input[type="checkbox"],
-input[type="radio"] {
- box-sizing: border-box; /* 1 */
- padding: 0; /* 2 */
- *height: 13px; /* 3 */
- *width: 13px; /* 3 */
-}
-
-/**
- * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
- * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
- * (include `-moz` to future-proof).
- */
-
-input[type="search"] {
- -webkit-appearance: textfield; /* 1 */
- -moz-box-sizing: content-box;
- -webkit-box-sizing: content-box; /* 2 */
- box-sizing: content-box;
-}
-
-/**
- * Remove inner padding and search cancel button in Safari 5 and Chrome
- * on OS X.
- */
-
-input[type="search"]::-webkit-search-cancel-button,
-input[type="search"]::-webkit-search-decoration {
- -webkit-appearance: none;
-}
-
-/**
- * Remove inner padding and border in Firefox 3+.
- */
-
-button::-moz-focus-inner,
-input::-moz-focus-inner {
- border: 0;
- padding: 0;
-}
-
-/**
- * 1. Remove default vertical scrollbar in IE 6/7/8/9.
- * 2. Improve readability and alignment in all browsers.
- */
-
-textarea {
- overflow: auto; /* 1 */
- vertical-align: top; /* 2 */
-}
-
-/* ==========================================================================
- Tables
- ========================================================================== */
-
-/**
- * Remove most spacing between table cells.
- */
-
-table {
- border-collapse: collapse;
- border-spacing: 0;
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/index.html b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/index.html
deleted file mode 100644
index 67920887..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/index.html
+++ /dev/null
@@ -1,1544 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <title>Checkboxes and radio buttons customization (jQuery and Zepto) plugin</title>
- <meta charset="utf-8">
- <meta content="width=device-width" name="viewport">
- <link href="./css/custom.css?v=1.0.2" rel="stylesheet">
- <link href="../skins/all.css?v=1.0.2" rel="stylesheet">
- <script src="./js/jquery.js"></script>
- <script src="../icheck.js?v=1.0.2"></script>
- <script src="./js/custom.min.js?v=1.0.2"></script>
-</head>
-<body>
- <div class="layout clear">
- <div class="header">
- <h1>super customized checkboxes and radio buttons for jQuery &amp; Zepto</h1>
- <h3>iCheck <span>v1.0.2</span></h3>
- <strong>@<a href="http://twitter.com/fronteed/">Fronteed</a></strong>
- </div>
- <div class="features">
- <div class="arrows">
- <div class="bottom" data-to="demo"></div>
- </div>
- <h2>Plugin features</h2>
- <ul>
- <li>
- <strong>Identical inputs across different browsers and devices</strong> &mdash; both <span class="self" data-to="download">desktop and mobile</span>
- </li>
- <li>
- <strong>Touch devices support</strong> &mdash; iOS, Android, BlackBerry, Windows Phone, Amazon Kindle
- </li>
- <li>
- <strong>Keyboard accessible inputs</strong> &mdash; <span class="mark">Tab</span>, <span class="mark">Spacebar</span>, <span class="mark">Arrow up/down</span> and other shortcuts
- </li>
- <li>
- <strong>Screenreader accessible inputs</strong> &mdash; <a href="https://developer.mozilla.org/en-US/docs/Accessibility/ARIA" target="blank">ARIA</a> attributes for VoiceOver and others
- </li>
- <li>
- <strong>Customization freedom</strong> &mdash; use any HTML and CSS to style inputs (try <span class="self" data-to="skins">6 Retina-ready skins</span>)
- </li>
- <li>
- <strong>jQuery and Zepto</strong> JavaScript libraries support from single file
- </li>
- <li>
- <strong>Lightweight size</strong> &mdash; 1 kb gzipped
- </li>
- <li class="offset">
- <strong class="self" data-to="options">32 options</strong> to customize checkboxes and radio buttons
- </li>
- <li>
- <strong class="self" data-to="callbacks">11 callbacks</strong> to handle changes
- </li>
- <li>
- <strong class="self" data-to="methods">9 methods</strong> to make changes programmatically
- </li>
- <li>
- Saves changes to original inputs, <span class="self" data-to="init">works carefully</span> with any selectors
- </li>
- </ul>
- </div>
- <div class="social clear">
- <ul class="left">
- <li>
- <a href="http://github.com/fronteed/iCheck/">Download latest version</a>
- </li>
- </ul>
- <ul class="right local">
- <li>
- <a href="http://twitter.com/fronteed/">Follow @fronteed</a>
- </li>
- <li>
- <a href="https://twitter.com/intent/tweet?text=Highly customizable checkboxes and radio buttons&amp;url=http://fronteed.com/iCheck/&amp;via=fronteed&amp;hashtags=jQuery,Zepto">Share on Twitter</a>
- </li>
- <li>
- <a href="https://github.com/fronteed/iCheck">Star on GitHub</a>
- </li>
- </ul>
- </div>
- <div class="demo-holder">
- <h2 class="demo-title">Demo</h2>
- <div class="demo">
- <div class="arrows">
- <div class="top" data-to="features"></div>
- <div class="bottom" data-to="skins"></div>
- </div>
- <div class="demo-list clear">
- <ul>
- <li>
- <input tabindex="1" type="checkbox" id="input-1">
- <label for="input-1">Checkbox, <span>#input-1</span></label>
- </li>
- <li>
- <input tabindex="2" type="checkbox" id="input-2" checked>
- <label for="input-2">Checkbox, <span>#input-2</span></label>
- </li>
- </ul>
- <ul>
- <li>
- <input tabindex="3" type="radio" id="input-3" name="demo-radio">
- <label for="input-3">Radio button, <span>#input-3</span></label>
- </li>
- <li>
- <input tabindex="4" type="radio" id="input-4" name="demo-radio" checked>
- <label for="input-4">Radio button, <span>#input-4</span></label>
- </li>
- </ul>
- <script>
- $(document).ready(function(){
- var callbacks_list = $('.demo-callbacks ul');
- $('.demo-list input').on('ifCreated ifClicked ifChanged ifChecked ifUnchecked ifDisabled ifEnabled ifDestroyed', function(event){
- callbacks_list.prepend('<li><span>#' + this.id + '</span> is ' + event.type.replace('if', '').toLowerCase() + '</li>');
- }).iCheck({
- checkboxClass: 'icheckbox_square-blue',
- radioClass: 'iradio_square-blue',
- increaseArea: '20%'
- });
- });
- </script>
- </div>
- <dl class="demo-methods">
- <dt>
- <span class="self do-check">Add <span class="mark">checked</span> state to 1 and 3 inputs</span>
- <span class="code">
- <span class="self">show code</span>
- </span>
- </dt>
- <dd>
-<pre class="markup">
-$('#input-1, #input-3').iCheck('check');
-</pre>
- </dd>
- <dt>
- <span class="self do-uncheck">Remove <span class="mark">checked</span> state from 1 and 3 inputs</span>
- <span class="code">
- <span class="self">show code</span>
- </span>
- </dt>
- <dd>
-<pre class="markup">
-$('#input-1, #input-3').iCheck('uncheck');
-</pre>
- </dd>
- <dt>
- <span class="self do-disable">Add <span class="mark">disabled</span> state to 2 and 4 inputs</span>
- <span class="code">
- <span class="self">show code</span>
- </span>
- </dt>
- <dd>
-<pre class="markup">
-$('#input-2, #input-4').iCheck('disable');
-</pre>
- </dd>
- <dt>
- <span class="self do-enable">Remove <span class="mark">disabled</span> state from 2 and 4 inputs</span>
- <span class="code">
- <span class="self">show code</span>
- </span>
- </dt>
- <dd>
-<pre class="markup">
-$('#input-2, #input-4').iCheck('enable');
-</pre>
- </dd>
- <dt>
- <span class="self do-destroy">Remove all traces of iCheck</span>
- <span class="code">
- <span class="self">show code</span>
- </span>
- </dt>
- <dd>
-<pre class="markup">
-$('input').iCheck('destroy');
-</pre>
- </dd>
- </dl>
- <div class="demo-callbacks">
- <h2>Callbacks</h2>
- <ul></ul>
- </div>
- </div>
- </div>
- <div class="skins">
- <h2>Skins</h2>
- <div class="skin skin-minimal">
- <div class="arrows">
- <div class="top" data-to="demo"></div>
- <div class="bottom" data-to="skin-square"></div>
- </div>
- <h3>Minimal skin</h3>
- <dl class="clear">
- <dd class="selected">
- <div class="skin-section">
- <h4>Live</h4>
- <ul class="list">
- <li>
- <input tabindex="5" type="checkbox" id="minimal-checkbox-1">
- <label for="minimal-checkbox-1">Checkbox 1</label>
- </li>
- <li>
- <input tabindex="6" type="checkbox" id="minimal-checkbox-2" checked>
- <label for="minimal-checkbox-2">Checkbox 2</label>
- </li>
- <li>
- <input type="checkbox" id="minimal-checkbox-disabled" disabled>
- <label for="minimal-checkbox-disabled">Disabled</label>
- </li>
- <li>
- <input type="checkbox" id="minimal-checkbox-disabled-checked" checked disabled>
- <label for="minimal-checkbox-disabled-checked">Disabled &amp; checked</label>
- </li>
- </ul>
- <ul class="list">
- <li>
- <input tabindex="7" type="radio" id="minimal-radio-1" name="minimal-radio">
- <label for="minimal-radio-1">Radio button 1</label>
- </li>
- <li>
- <input tabindex="8" type="radio" id="minimal-radio-2" name="minimal-radio" checked>
- <label for="minimal-radio-2">Radio button 2</label>
- </li>
- <li>
- <input type="radio" id="minimal-radio-disabled" disabled>
- <label for="minimal-radio-disabled">Disabled</label>
- </li>
- <li>
- <input type="radio" id="minimal-radio-disabled-checked" checked disabled>
- <label for="minimal-radio-disabled-checked">Disabled &amp; checked</label>
- </li>
- </ul>
- <div class="colors clear">
- <strong>Color schemes</strong>
- <ul>
- <li class="active" title="Black"></li>
- <li class="red" title="Red"></li>
- <li class="green" title="Green"></li>
- <li class="blue" title="Blue"></li>
- <li class="aero" title="Aero"></li>
- <li class="grey" title="Grey"></li>
- <li class="orange" title="Orange"></li>
- <li class="yellow" title="Yellow"></li>
- <li class="pink" title="Pink"></li>
- <li class="purple" title="Purple"></li>
- </ul>
- </div>
- </div>
- <div class="skin-section skin-states">
- <h4>States</h4>
- <ul class="list">
- <li>
- <div class="state icheckbox_minimal"></div>
- <div class="state iradio_minimal"></div>
- Normal
- </li>
- <li>
- <div class="state icheckbox_minimal hover"></div>
- <div class="state iradio_minimal hover"></div>
- Hover
- </li>
- <li>
- <div class="state icheckbox_minimal checked"></div>
- <div class="state iradio_minimal checked"></div>
- Checked
- </li>
- <li>
- <div class="state icheckbox_minimal disabled"></div>
- <div class="state iradio_minimal disabled"></div>
- Disabled
- </li>
- <li>
- <div class="state icheckbox_minimal checked disabled"></div>
- <div class="state iradio_minimal checked disabled"></div>
- Disabled &amp; checked
- </li>
- </ul>
- </div>
- <script>
- $(document).ready(function(){
- $('.skin-minimal input').iCheck({
- checkboxClass: 'icheckbox_minimal',
- radioClass: 'iradio_minimal',
- increaseArea: '20%'
- });
- });
- </script>
- </dd>
- <dt class="selected">Demo</dt>
- <dd>
- <div class="skin-pre">
- <p>
- Make sure <a href="http://jquery.com" target="blank">jQuery v1.7+</a> (or <a href="http://github.com/madrobby/zepto#zepto-modules" target="blank">Zepto</a> [polyfill, event, data]) is loaded before the <span class="mark">icheck.js</span>.
- </p>
- </div>
- <ol class="skin-usage">
- <li>
- Choose a color scheme, there are 10 different styles available:
- <div class="schemes clear">
- <ul>
- <li><strong>Black</strong> &mdash; minimal.css</li>
- <li><strong>Red</strong> &mdash; red.css</li>
- <li><strong>Green</strong> &mdash; green.css</li>
- <li><strong>Blue</strong> &mdash; blue.css</li>
- <li><strong>Aero</strong> &mdash; aero.css</li>
- </ul>
- <ul>
- <li><strong>Grey</strong> &mdash; grey.css</li>
- <li><strong>Orange</strong> &mdash; orange.css</li>
- <li><strong>Yellow</strong> &mdash; yellow.css</li>
- <li><strong>Pink</strong> &mdash; pink.css</li>
- <li><strong>Purple</strong> &mdash; purple.css</li>
- </ul>
- </div>
- </li>
- <li>
- Copy <span class="mark">/skins/minimal/</span> folder and <span class="mark">icheck.js</span> file to your site.
- </li>
- <li>
- <p>Insert before <span class="mark">&lt;/head></span> in your HTML (replace <span class="mark">your-path</span> and <span class="mark">color-scheme</span>):</p>
-<pre class="markup">
-&lt;link href="your-path/minimal/color-scheme.css" rel="stylesheet">
-&lt;script src="your-path/icheck.js">&lt;/script>
-</pre>
- <p>Example for a <strong>Red</strong> color scheme:</p>
-<pre class="markup">
-&lt;link href="your-path/minimal/red.css" rel="stylesheet">
-&lt;script src="your-path/icheck.js">&lt;/script>
-</pre>
- </li>
- <li>
- <p>Add some checkboxes and radio buttons to your HTML:</p>
-<pre class="markup">
-&lt;input type="checkbox">
-&lt;input type="checkbox" checked>
-&lt;input type="radio" name="iCheck">
-&lt;input type="radio" name="iCheck" checked>
-</pre>
- </li>
- <li>
- <p>Add JavaScript to your HTML to launch iCheck plugin:</p>
-<pre class="markup">
-&lt;script>
-$(document).ready(function(){
- $('input').iCheck({
- checkboxClass: 'icheckbox_minimal',
- radioClass: 'iradio_minimal',
- increaseArea: '20%' <span class="comment">// optional</span>
- });
-});
-&lt;/script>
-</pre>
- <p>For different from black color schemes use this code (example for <strong>Red</strong>):</p>
-<pre class="markup">
-&lt;script>
-$(document).ready(function(){
- $('input').iCheck({
- checkboxClass: 'icheckbox_minimal-red',
- radioClass: 'iradio_minimal-red',
- increaseArea: '20%' <span class="comment">// optional</span>
- });
-});
-&lt;/script>
-</pre>
- </li>
- <li>Done.</li>
- </ol>
- </dd>
- <dt>Usage</dt>
- </dl>
- </div>
- <div class="skin skin-square">
- <div class="arrows">
- <div class="top" data-to="skin-minimal"></div>
- <div class="bottom" data-to="skin-flat"></div>
- </div>
- <h3>Square skin</h3>
- <dl class="clear">
- <dd class="selected">
- <div class="skin-section">
- <h4>Live</h4>
- <ul class="list">
- <li>
- <input tabindex="9" type="checkbox" id="square-checkbox-1">
- <label for="square-checkbox-1">Checkbox 1</label>
- </li>
- <li>
- <input tabindex="10" type="checkbox" id="square-checkbox-2" checked>
- <label for="square-checkbox-2">Checkbox 2</label>
- </li>
- <li>
- <input type="checkbox" id="square-checkbox-disabled" disabled>
- <label for="square-checkbox-disabled">Disabled</label>
- </li>
- <li>
- <input type="checkbox" id="square-checkbox-disabled-checked" checked disabled>
- <label for="square-checkbox-disabled-checked">Disabled &amp; checked</label>
- </li>
- </ul>
- <ul class="list">
- <li>
- <input tabindex="11" type="radio" id="square-radio-1" name="square-radio">
- <label for="square-radio-1">Radio button 1</label>
- </li>
- <li>
- <input tabindex="12" type="radio" id="square-radio-2" name="square-radio" checked>
- <label for="square-radio-2">Radio button 2</label>
- </li>
- <li>
- <input type="radio" id="square-radio-disabled" disabled>
- <label for="square-radio-disabled">Disabled</label>
- </li>
- <li>
- <input type="radio" id="square-radio-disabled-checked" checked disabled>
- <label for="square-radio-disabled-checked">Disabled &amp; checked</label>
- </li>
- </ul>
- <div class="colors clear">
- <strong>Color schemes</strong>
- <ul>
- <li title="Black"></li>
- <li class="red" title="Red"></li>
- <li class="green active" title="Green"></li>
- <li class="blue" title="Blue"></li>
- <li class="aero" title="Aero"></li>
- <li class="grey" title="Grey"></li>
- <li class="orange" title="Orange"></li>
- <li class="yellow" title="Yellow"></li>
- <li class="pink" title="Pink"></li>
- <li class="purple" title="Purple"></li>
- </ul>
- </div>
- </div>
- <div class="skin-section skin-states">
- <h4>States</h4>
- <ul class="list">
- <li>
- <div class="state icheckbox_square-green"></div>
- <div class="state iradio_square-green"></div>
- Normal
- </li>
- <li>
- <div class="state icheckbox_square-green hover"></div>
- <div class="state iradio_square-green hover"></div>
- Hover
- </li>
- <li>
- <div class="state icheckbox_square-green checked"></div>
- <div class="state iradio_square-green checked"></div>
- Checked
- </li>
- <li>
- <div class="state icheckbox_square-green disabled"></div>
- <div class="state iradio_square-green disabled"></div>
- Disabled
- </li>
- <li>
- <div class="state icheckbox_square-green checked disabled"></div>
- <div class="state iradio_square-green checked disabled"></div>
- Disabled &amp; checked
- </li>
- </ul>
- </div>
- <script>
- $(document).ready(function(){
- $('.skin-square input').iCheck({
- checkboxClass: 'icheckbox_square-green',
- radioClass: 'iradio_square-green',
- increaseArea: '20%'
- });
- });
- </script>
- </dd>
- <dt class="selected">Demo</dt>
- <dd>
- <div class="skin-pre">
- <p>
- Make sure <a href="http://jquery.com" target="blank">jQuery v1.7+</a> (or <a href="http://github.com/madrobby/zepto#zepto-modules" target="blank">Zepto</a> [polyfill, event, data]) is loaded before the <span class="mark">icheck.js</span>.
- </p>
- </div>
- <ol class="skin-usage">
- <li>
- Choose a color scheme, there are 10 different styles available:
- <div class="schemes clear">
- <ul>
- <li><strong>Black</strong> &mdash; square.css</li>
- <li><strong>Red</strong> &mdash; red.css</li>
- <li><strong>Green</strong> &mdash; green.css</li>
- <li><strong>Blue</strong> &mdash; blue.css</li>
- <li><strong>Aero</strong> &mdash; aero.css</li>
- </ul>
- <ul>
- <li><strong>Grey</strong> &mdash; grey.css</li>
- <li><strong>Orange</strong> &mdash; orange.css</li>
- <li><strong>Yellow</strong> &mdash; yellow.css</li>
- <li><strong>Pink</strong> &mdash; pink.css</li>
- <li><strong>Purple</strong> &mdash; purple.css</li>
- </ul>
- </div>
- </li>
- <li>
- Copy <span class="mark">/skins/square/</span> folder and <span class="mark">icheck.js</span> file to your site.
- </li>
- <li>
- <p>Insert before <span class="mark">&lt;/head></span> in your HTML (replace <span class="mark">your-path</span> and <span class="mark">color-scheme</span>):</p>
-<pre class="markup">
-&lt;link href="your-path/square/color-scheme.css" rel="stylesheet">
-&lt;script src="your-path/icheck.js">&lt;/script>
-</pre>
- <p>Example for a <strong>Red</strong> color scheme:</p>
-<pre class="markup">
-&lt;link href="your-path/square/red.css" rel="stylesheet">
-&lt;script src="your-path/icheck.js">&lt;/script>
-</pre>
- </li>
- <li>
- <p>Add some checkboxes and radio buttons to your HTML:</p>
-<pre class="markup">
-&lt;input type="checkbox">
-&lt;input type="checkbox" checked>
-&lt;input type="radio" name="iCheck">
-&lt;input type="radio" name="iCheck" checked>
-</pre>
- </li>
- <li>
- <p>Add JavaScript to your HTML to launch iCheck plugin:</p>
-<pre class="markup">
-&lt;script>
-$(document).ready(function(){
- $('input').iCheck({
- checkboxClass: 'icheckbox_square',
- radioClass: 'iradio_square',
- increaseArea: '20%' <span class="comment">// optional</span>
- });
-});
-&lt;/script>
-</pre>
- <p>For different from black color schemes use this code (example for <strong>Red</strong>):</p>
-<pre class="markup">
-&lt;script>
-$(document).ready(function(){
- $('input').iCheck({
- checkboxClass: 'icheckbox_square-red',
- radioClass: 'iradio_square-red',
- increaseArea: '20%' <span class="comment">// optional</span>
- });
-});
-&lt;/script>
-</pre>
- </li>
- <li>Done.</li>
- </ol>
- </dd>
- <dt>Usage</dt>
- </dl>
- </div>
- <div class="skin skin-flat">
- <div class="arrows">
- <div class="top" data-to="skin-square"></div>
- <div class="bottom" data-to="skin-line"></div>
- </div>
- <h3>Flat skin</h3>
- <dl class="clear">
- <dd class="selected">
- <div class="skin-section">
- <h4>Live</h4>
- <ul class="list">
- <li>
- <input tabindex="13" type="checkbox" id="flat-checkbox-1">
- <label for="flat-checkbox-1">Checkbox 1</label>
- </li>
- <li>
- <input tabindex="14" type="checkbox" id="flat-checkbox-2" checked>
- <label for="flat-checkbox-2">Checkbox 2</label>
- </li>
- <li>
- <input type="checkbox" id="flat-checkbox-disabled" disabled>
- <label for="flat-checkbox-disabled">Disabled</label>
- </li>
- <li>
- <input type="checkbox" id="flat-checkbox-disabled-checked" checked disabled>
- <label for="flat-checkbox-disabled-checked">Disabled &amp; checked</label>
- </li>
- </ul>
- <ul class="list">
- <li>
- <input tabindex="15" type="radio" id="flat-radio-1" name="flat-radio">
- <label for="flat-radio-1">Radio button 1</label>
- </li>
- <li>
- <input tabindex="16" type="radio" id="flat-radio-2" name="flat-radio" checked>
- <label for="flat-radio-2">Radio button 2</label>
- </li>
- <li>
- <input type="radio" id="flat-radio-disabled" disabled>
- <label for="flat-radio-disabled">Disabled</label>
- </li>
- <li>
- <input type="radio" id="flat-radio-disabled-checked" checked disabled>
- <label for="flat-radio-disabled-checked">Disabled &amp; checked</label>
- </li>
- </ul>
- <div class="colors clear">
- <strong>Color schemes</strong>
- <ul>
- <li title="Black"></li>
- <li class="red active" title="Red"></li>
- <li class="green" title="Green"></li>
- <li class="blue" title="Blue"></li>
- <li class="aero" title="Aero"></li>
- <li class="grey" title="Grey"></li>
- <li class="orange" title="Orange"></li>
- <li class="yellow" title="Yellow"></li>
- <li class="pink" title="Pink"></li>
- <li class="purple" title="Purple"></li>
- </ul>
- </div>
- </div>
- <div class="skin-section skin-states">
- <h4>States</h4>
- <ul class="list">
- <li>
- <div class="state icheckbox_flat-red"></div>
- <div class="state iradio_flat-red"></div>
- Normal
- </li>
- <li>
- <div class="state icheckbox_flat-red checked"></div>
- <div class="state iradio_flat-red checked"></div>
- Checked
- </li>
- <li>
- <div class="state icheckbox_flat-red disabled"></div>
- <div class="state iradio_flat-red disabled"></div>
- Disabled
- </li>
- <li>
- <div class="state icheckbox_flat-red checked disabled"></div>
- <div class="state iradio_flat-red checked disabled"></div>
- Disabled &amp; checked
- </li>
- </ul>
- </div>
- <script>
- $(document).ready(function(){
- $('.skin-flat input').iCheck({
- checkboxClass: 'icheckbox_flat-red',
- radioClass: 'iradio_flat-red'
- });
- });
- </script>
- </dd>
- <dt class="selected">Demo</dt>
- <dd>
- <div class="skin-pre">
- <p>
- Make sure <a href="http://jquery.com" target="blank">jQuery v1.7+</a> (or <a href="http://github.com/madrobby/zepto#zepto-modules" target="blank">Zepto</a> [polyfill, event, data]) is loaded before the <span class="mark">icheck.js</span>.
- </p>
- </div>
- <ol class="skin-usage">
- <li>
- Choose a color scheme, there are 10 different styles available:
- <div class="schemes clear">
- <ul>
- <li><strong>Black</strong> &mdash; flat.css</li>
- <li><strong>Red</strong> &mdash; red.css</li>
- <li><strong>Green</strong> &mdash; green.css</li>
- <li><strong>Blue</strong> &mdash; blue.css</li>
- <li><strong>Aero</strong> &mdash; aero.css</li>
- </ul>
- <ul>
- <li><strong>Grey</strong> &mdash; grey.css</li>
- <li><strong>Orange</strong> &mdash; orange.css</li>
- <li><strong>Yellow</strong> &mdash; yellow.css</li>
- <li><strong>Pink</strong> &mdash; pink.css</li>
- <li><strong>Purple</strong> &mdash; purple.css</li>
- </ul>
- </div>
- </li>
- <li>
- Copy <span class="mark">/skins/flat/</span> folder and <span class="mark">icheck.js</span> file to your site.
- </li>
- <li>
- <p>Insert before <span class="mark">&lt;/head></span> in your HTML (replace <span class="mark">your-path</span> and <span class="mark">color-scheme</span>):</p>
-<pre class="markup">
-&lt;link href="your-path/flat/color-scheme.css" rel="stylesheet">
-&lt;script src="your-path/icheck.js">&lt;/script>
-</pre>
- <p>Example for a <strong>Red</strong> color scheme:</p>
-<pre class="markup">
-&lt;link href="your-path/flat/red.css" rel="stylesheet">
-&lt;script src="your-path/icheck.js">&lt;/script>
-</pre>
- </li>
- <li>
- <p>Add some checkboxes and radio buttons to your HTML:</p>
-<pre class="markup">
-&lt;input type="checkbox">
-&lt;input type="checkbox" checked>
-&lt;input type="radio" name="iCheck">
-&lt;input type="radio" name="iCheck" checked>
-</pre>
- </li>
- <li>
- <p>Add JavaScript to your HTML to launch iCheck plugin:</p>
-<pre class="markup">
-&lt;script>
-$(document).ready(function(){
- $('input').iCheck({
- checkboxClass: 'icheckbox_flat',
- radioClass: 'iradio_flat'
- });
-});
-&lt;/script>
-</pre>
- <p>For different from black color schemes use this code (example for <strong>Red</strong>):</p>
-<pre class="markup">
-&lt;script>
-$(document).ready(function(){
- $('input').iCheck({
- checkboxClass: 'icheckbox_flat-red',
- radioClass: 'iradio_flat-red'
- });
-});
-&lt;/script>
-</pre>
- </li>
- <li>Done.</li>
- </ol>
- </dd>
- <dt>Usage</dt>
- </dl>
- </div>
- <div class="skin skin-line">
- <div class="arrows">
- <div class="top" data-to="skin-flat"></div>
- <div class="bottom" data-to="skin-polaris"></div>
- </div>
- <h3>Line skin</h3>
- <dl class="clear">
- <dd class="selected">
- <div class="skin-section">
- <h4>Live</h4>
- <ul class="list">
- <li>
- <input tabindex="17" type="checkbox" id="line-checkbox-1">
- <label for="line-checkbox-1">Checkbox 1</label>
- </li>
- <li>
- <input tabindex="18" type="checkbox" id="line-checkbox-2" checked>
- <label for="line-checkbox-2">Checkbox 2</label>
- </li>
- <li>
- <input type="checkbox" id="line-checkbox-disabled" disabled>
- <label for="line-checkbox-disabled">Disabled</label>
- </li>
- <li>
- <input type="checkbox" id="line-checkbox-disabled-checked" checked disabled>
- <label for="line-checkbox-disabled-checked">Disabled &amp; checked</label>
- </li>
- </ul>
- <ul class="list">
- <li>
- <input tabindex="19" type="radio" id="line-radio-1" name="line-radio">
- <label for="line-radio-1">Radio button 1</label>
- </li>
- <li>
- <input tabindex="20" type="radio" id="line-radio-2" name="line-radio" checked>
- <label for="line-radio-2">Radio button 2</label>
- </li>
- <li>
- <input type="radio" id="line-radio-disabled" disabled>
- <label for="line-radio-disabled">Disabled</label>
- </li>
- <li>
- <input type="radio" id="line-radio-disabled-checked" checked disabled>
- <label for="line-radio-disabled-checked">Disabled &amp; checked</label>
- </li>
- </ul>
- <div class="colors clear">
- <strong>Color schemes</strong>
- <ul>
- <li title="Black"></li>
- <li class="red" title="Red"></li>
- <li class="green" title="Green"></li>
- <li class="blue active" title="Blue"></li>
- <li class="aero" title="Aero"></li>
- <li class="grey" title="Grey"></li>
- <li class="orange" title="Orange"></li>
- <li class="yellow" title="Yellow"></li>
- <li class="pink" title="Pink"></li>
- <li class="purple" title="Purple"></li>
- </ul>
- </div>
- </div>
- <div class="skin-section skin-states">
- <h4>States</h4>
- <ul class="list">
- <li>
- <div class="state icheckbox_line-blue">
- <div class="icheck_line-icon"></div>
- Normal
- </div>
- </li>
- <li>
- <div class="state icheckbox_line-blue hover">
- <div class="icheck_line-icon"></div>
- Hover
- </div>
- </li>
- <li>
- <div class="state icheckbox_line-blue checked">
- <div class="icheck_line-icon"></div>
- Checked
- </div>
- </li>
- <li>
- <div class="state icheckbox_line-blue disabled">
- <div class="icheck_line-icon"></div>
- Disabled
- </div>
- </li>
- <li>
- <div class="state icheckbox_line-blue checked disabled">
- <div class="icheck_line-icon"></div>
- Disabled &amp; checked
- </div>
- </li>
- </ul>
- </div>
- <script>
- $(document).ready(function(){
- $('.skin-line input').each(function(){
- var self = $(this),
- label = self.next(),
- label_text = label.text();
-
- label.remove();
- self.iCheck({
- checkboxClass: 'icheckbox_line-blue',
- radioClass: 'iradio_line-blue',
- insert: '<div class="icheck_line-icon"></div>' + label_text
- });
- });
- });
- </script>
- </dd>
- <dt class="selected">Demo</dt>
- <dd>
- <div class="skin-pre">
- <p>
- Make sure <a href="http://jquery.com" target="blank">jQuery v1.7+</a> (or <a href="http://github.com/madrobby/zepto#zepto-modules" target="blank">Zepto</a> [polyfill, event, data]) is loaded before the <span class="mark">icheck.js</span>.
- </p>
- </div>
- <ol class="skin-usage">
- <li>
- Choose a color scheme, there are 10 different styles available:
- <div class="schemes clear">
- <ul>
- <li><strong>Black</strong> &mdash; line.css</li>
- <li><strong>Red</strong> &mdash; red.css</li>
- <li><strong>Green</strong> &mdash; green.css</li>
- <li><strong>Blue</strong> &mdash; blue.css</li>
- <li><strong>Aero</strong> &mdash; aero.css</li>
- </ul>
- <ul>
- <li><strong>Grey</strong> &mdash; grey.css</li>
- <li><strong>Orange</strong> &mdash; orange.css</li>
- <li><strong>Yellow</strong> &mdash; yellow.css</li>
- <li><strong>Pink</strong> &mdash; pink.css</li>
- <li><strong>Purple</strong> &mdash; purple.css</li>
- </ul>
- </div>
- </li>
- <li>
- Copy <span class="mark">/skins/line/</span> folder and <span class="mark">icheck.js</span> file to your site.
- </li>
- <li>
- <p>Insert before <span class="mark">&lt;/head></span> in your HTML (replace <span class="mark">your-path</span> and <span class="mark">color-scheme</span>):</p>
-<pre class="markup">
-&lt;link href="your-path/line/color-scheme.css" rel="stylesheet">
-&lt;script src="your-path/icheck.js">&lt;/script>
-</pre>
- <p>Example for a <strong>Red</strong> color scheme:</p>
-<pre class="markup">
-&lt;link href="your-path/line/red.css" rel="stylesheet">
-&lt;script src="your-path/icheck.js">&lt;/script>
-</pre>
- </li>
- <li>
- <p>Add some checkboxes, radio buttons and labels to your HTML:</p>
-<pre class="markup">
-&lt;input type="checkbox">
-&lt;label>Checkbox 1&lt;/label>
-
-&lt;input type="checkbox" checked>
-&lt;label>Checkbox 2&lt;/label>
-
-&lt;input type="radio" name="iCheck">
-&lt;label>Radio button 1&lt;/label>
-
-&lt;input type="radio" name="iCheck" checked>
-&lt;label>Radio button 2&lt;/label>
-</pre>
- </li>
- <li>
- <p>Add JavaScript to your HTML to launch iCheck plugin:</p>
-<pre class="markup">
-&lt;script>
-$(document).ready(function(){
- $('input').each(function(){
- var self = $(this),
- label = self.next(),
- label_text = label.text();
-
- label.remove();
- self.iCheck({
- checkboxClass: 'icheckbox_line',
- radioClass: 'iradio_line',
- insert: '&lt;div class="icheck_line-icon">&lt;/div>' + label_text
- });
- });
-});
-&lt;/script>
-</pre>
- <p>For different from black color schemes use this code (example for <strong>Red</strong>):</p>
-<pre class="markup">
-&lt;script>
-$(document).ready(function(){
- $('input').each(function(){
- var self = $(this),
- label = self.next(),
- label_text = label.text();
-
- label.remove();
- self.iCheck({
- checkboxClass: 'icheckbox_line-red',
- radioClass: 'iradio_line-red',
- insert: '&lt;div class="icheck_line-icon">&lt;/div>' + label_text
- });
- });
-});
-&lt;/script>
-</pre>
- </li>
- <li>Done.</li>
- </ol>
- </dd>
- <dt>Usage</dt>
- </dl>
- </div>
- <div class="skin skin-polaris">
- <div class="arrows">
- <div class="top" data-to="skin-line"></div>
- <div class="bottom" data-to="skin-futurico"></div>
- </div>
- <h3>Polaris skin</h3>
- <dl class="clear">
- <dd class="selected">
- <div class="skin-section">
- <h4>Live</h4>
- <ul class="list">
- <li>
- <input tabindex="21" type="checkbox" id="polaris-checkbox-1">
- <label for="polaris-checkbox-1">Checkbox 1</label>
- </li>
- <li>
- <input tabindex="22" type="checkbox" id="polaris-checkbox-2" checked>
- <label for="polaris-checkbox-2">Checkbox 2</label>
- </li>
- <li>
- <input type="checkbox" id="polaris-checkbox-disabled" disabled>
- <label for="polaris-checkbox-disabled">Disabled</label>
- </li>
- <li>
- <input type="checkbox" id="polaris-checkbox-disabled-checked" checked disabled>
- <label for="polaris-checkbox-disabled-checked">Disabled &amp; checked</label>
- </li>
- </ul>
- <ul class="list">
- <li>
- <input tabindex="23" type="radio" id="polaris-radio-1" name="polaris-radio">
- <label for="polaris-radio-1">Radio button 1</label>
- </li>
- <li>
- <input tabindex="24" type="radio" id="polaris-radio-2" name="polaris-radio" checked>
- <label for="polaris-radio-2">Radio button 2</label>
- </li>
- <li>
- <input type="radio" id="polaris-radio-disabled" disabled>
- <label for="polaris-radio-disabled">Disabled</label>
- </li>
- <li>
- <input type="radio" id="polaris-radio-disabled-checked" checked disabled>
- <label for="polaris-radio-disabled-checked">Disabled &amp; checked</label>
- </li>
- </ul>
- </div>
- <div class="skin-section skin-states">
- <h4>States</h4>
- <ul class="list">
- <li>
- <div class="state icheckbox_polaris"></div>
- <div class="state iradio_polaris"></div>
- Normal
- </li>
- <li>
- <div class="state icheckbox_polaris hover"></div>
- <div class="state iradio_polaris hover"></div>
- Hover
- </li>
- <li>
- <div class="state icheckbox_polaris checked"></div>
- <div class="state iradio_polaris checked"></div>
- Checked
- </li>
- <li>
- <div class="state icheckbox_polaris disabled"></div>
- <div class="state iradio_polaris disabled"></div>
- Disabled
- </li>
- <li>
- <div class="state icheckbox_polaris checked disabled"></div>
- <div class="state iradio_polaris checked disabled"></div>
- Disabled &amp; checked
- </li>
- </ul>
- </div>
- <script>
- $(document).ready(function(){
- $('.skin-polaris input').iCheck({
- checkboxClass: 'icheckbox_polaris',
- radioClass: 'iradio_polaris',
- increaseArea: '-10%'
- });
- });
- </script>
- </dd>
- <dt class="selected">Demo</dt>
- <dd>
- <div class="skin-pre">
- <p>
- Make sure <a href="http://jquery.com" target="blank">jQuery v1.7+</a> (or <a href="http://github.com/madrobby/zepto#zepto-modules" target="blank">Zepto</a> [polyfill, event, data]) is loaded before the <span class="mark">icheck.js</span>.
- </p>
- </div>
- <ol class="skin-usage">
- <li>
- Copy <span class="mark">/skins/polaris/</span> folder and <span class="mark">icheck.js</span> file to your site.
- </li>
- <li>
- <p>Insert before <span class="mark">&lt;/head></span> in your HTML (replace <span class="mark">your-path</span> and <span class="mark">color-scheme</span>):</p>
-<pre class="markup">
-&lt;link href="your-path/polaris/polaris.css" rel="stylesheet">
-&lt;script src="your-path/icheck.js">&lt;/script>
-</pre>
- </li>
- <li>
- <p>Add some checkboxes and radio buttons to your HTML:</p>
-<pre class="markup">
-&lt;input type="checkbox">
-&lt;input type="checkbox" checked>
-&lt;input type="radio" name="iCheck">
-&lt;input type="radio" name="iCheck" checked>
-</pre>
- </li>
- <li>
- <p>Add JavaScript to your HTML to launch iCheck plugin:</p>
-<pre class="markup">
-&lt;script>
-$(document).ready(function(){
- $('input').iCheck({
- checkboxClass: 'icheckbox_polaris',
- radioClass: 'iradio_polaris',
- increaseArea: '-10%' <span class="comment">// optional</span>
- });
-});
-&lt;/script>
-</pre>
- </li>
- <li>Done.</li>
- </ol>
- </dd>
- <dt>Usage</dt>
- </dl>
- </div>
- <div class="skin skin-futurico">
- <div class="arrows">
- <div class="top" data-to="skin-polaris"></div>
- <div class="bottom" data-to="usage"></div>
- </div>
- <h3>Futurico skin</h3>
- <dl class="clear">
- <dd class="selected">
- <div class="skin-section">
- <h4>Live</h4>
- <ul class="list">
- <li>
- <input tabindex="25" type="checkbox" id="futurico-checkbox-1">
- <label for="futurico-checkbox-1">Checkbox 1</label>
- </li>
- <li>
- <input tabindex="26" type="checkbox" id="futurico-checkbox-2" checked>
- <label for="futurico-checkbox-2">Checkbox 2</label>
- </li>
- <li>
- <input type="checkbox" id="futurico-checkbox-disabled" disabled>
- <label for="futurico-checkbox-disabled">Disabled</label>
- </li>
- <li>
- <input type="checkbox" id="futurico-checkbox-disabled-checked" checked disabled>
- <label for="futurico-checkbox-disabled-checked">Disabled &amp; checked</label>
- </li>
- </ul>
- <ul class="list">
- <li>
- <input tabindex="27" type="radio" id="futurico-radio-1" name="futurico-radio">
- <label for="futurico-radio-1">Radio button 1</label>
- </li>
- <li>
- <input tabindex="28" type="radio" id="futurico-radio-2" name="futurico-radio" checked>
- <label for="futurico-radio-2">Radio button 2</label>
- </li>
- <li>
- <input type="radio" id="futurico-radio-disabled" disabled>
- <label for="futurico-radio-disabled">Disabled</label>
- </li>
- <li>
- <input type="radio" id="futurico-radio-disabled-checked" checked disabled>
- <label for="futurico-radio-disabled-checked">Disabled &amp; checked</label>
- </li>
- </ul>
- </div>
- <div class="skin-section skin-states">
- <h4>States</h4>
- <ul class="list">
- <li>
- <div class="state icheckbox_futurico"></div>
- <div class="state iradio_futurico"></div>
- Normal
- </li>
- <li>
- <div class="state icheckbox_futurico checked"></div>
- <div class="state iradio_futurico checked"></div>
- Checked
- </li>
- <li>
- <div class="state icheckbox_futurico disabled"></div>
- <div class="state iradio_futurico disabled"></div>
- Disabled
- </li>
- <li>
- <div class="state icheckbox_futurico checked disabled"></div>
- <div class="state iradio_futurico checked disabled"></div>
- Disabled &amp; checked
- </li>
- </ul>
- </div>
- <script>
- $(document).ready(function(){
- $('.skin-futurico input').iCheck({
- checkboxClass: 'icheckbox_futurico',
- radioClass: 'iradio_futurico',
- increaseArea: '20%'
- });
- });
- </script>
- </dd>
- <dt class="selected">Demo</dt>
- <dd>
- <div class="skin-pre">
- <p>
- Make sure <a href="http://jquery.com" target="blank">jQuery v1.7+</a> (or <a href="http://github.com/madrobby/zepto#zepto-modules" target="blank">Zepto</a> [polyfill, event, data]) is loaded before the <span class="mark">icheck.js</span>.
- </p>
- </div>
- <ol class="skin-usage">
- <li>
- Copy <span class="mark">/skins/futurico/</span> folder and <span class="mark">icheck.js</span> file to your site.
- </li>
- <li>
- <p>Insert before <span class="mark">&lt;/head></span> in your HTML (replace <span class="mark">your-path</span> and <span class="mark">color-scheme</span>):</p>
-<pre class="markup">
-&lt;link href="your-path/futurico/futurico.css" rel="stylesheet">
-&lt;script src="your-path/icheck.js">&lt;/script>
-</pre>
- </li>
- <li>
- <p>Add some checkboxes and radio buttons to your HTML:</p>
-<pre class="markup">
-&lt;input type="checkbox">
-&lt;input type="checkbox" checked>
-&lt;input type="radio" name="iCheck">
-&lt;input type="radio" name="iCheck" checked>
-</pre>
- </li>
- <li>
- <p>Add JavaScript to your HTML to launch iCheck plugin:</p>
-<pre class="markup">
-&lt;script>
-$(document).ready(function(){
- $('input').iCheck({
- checkboxClass: 'icheckbox_futurico',
- radioClass: 'iradio_futurico',
- increaseArea: '20%' <span class="comment">// optional</span>
- });
-});
-&lt;/script>
-</pre>
- </li>
- <li>Done.</li>
- </ol>
- </dd>
- <dt>Usage</dt>
- </dl>
- </div>
- <div class="skins-info">
- <p>All skins (except Line) are transparent, you may use them on any background.</p>
- <p><a href="http://designmodo.com/square/?u=718" target="blank">Square</a>, <a href="http://designmodo.com/flat/?u=718" target="blank">Flat</a>, <a href="http://designmodo.com/?u=718" target="blank">Polaris</a> and <a href="http://designmodo.com/futuricopro/?u=718" target="blank">Futurico</a> skins are based on <a href="http://designmodo.com/shop/?u=718" target="blank">Designmodo's UI packs</a>.</p>
- <p class="skins-banner">
- <a href="http://designmodo.com/shop/?u=718" target="blank">Awesome UI packs</a>
- </p>
- </div>
- </div>
- <div class="usage">
- <div class="arrows">
- <div class="top" data-to="skin-futurico"></div>
- <div class="bottom" data-to="comparison"></div>
- </div>
- <h2>Simple usage</h2>
- <div class="usage-inner">
- <p>
- iCheck plugin works with checkboxes and radio buttons like a constructor.
- <br><strong>It wraps each input with a div</strong>, which may be customized by you or using one of the <span class="self" data-to="skins">available skins</span>.
- <br>You may also place inside that div some HTML code or text using <span class="mark">insert</span> option.
- </p>
- <p class="offset">For this HTML:</p>
-<pre class="markup">
-&lt;label>
- &lt;input type="checkbox" name="quux[1]" disabled>
- Foo
-&lt;/label>
-
-&lt;label for="baz[1]">Bar&lt;/label>
-&lt;input type="radio" name="quux[2]" id="baz[1]" checked>
-
-&lt;label for="baz[2]">Bar&lt;/label>
-&lt;input type="radio" name="quux[2]" id="baz[2]">
-</pre>
- <p class="offset">With default options you'll get nearly this:</p>
-<pre class="markup">
-&lt;label>
- &lt;div class="icheckbox disabled">
- &lt;input type="checkbox" name="quux[1]" disabled>
- &lt;/div>
- Foo
-&lt;/label>
-
-&lt;label for="baz[1]">Bar&lt;/label>
-&lt;div class="iradio checked">
- &lt;input type="radio" name="quux[2]" id="baz[1]" checked>
-&lt;/div>
-
-&lt;label for="baz[2]">Bar&lt;/label>
-&lt;div class="iradio">
- &lt;input type="radio" name="quux[2]" id="baz[2]">
-&lt;/div>
-</pre>
- <p><strong>By default, iCheck doesn't provide any CSS styles for wrapper divs</strong> (if you don't use <span class="self" data-to="skins">skins</span>).</p>
- <h4 class="options">Options</h4>
- <p>These options are default:</p>
-<pre class="markup">
-{
- <span class="comment">// 'checkbox' or 'radio' to style only checkboxes or radio buttons, both by default</span>
- handle: '',
-
- <span class="comment">// base class added to customized checkboxes</span>
- checkboxClass: 'icheckbox',
-
- <span class="comment">// base class added to customized radio buttons</span>
- radioClass: 'iradio',
-
- <span class="comment">// class added on checked state (input.checked = true)</span>
- checkedClass: 'checked',
-
- <span class="comment">// if not empty, used instead of 'checkedClass' option (input type specific)</span>
- checkedCheckboxClass: '',
- checkedRadioClass: '',
-
- <span class="comment">// if not empty, added as class name on unchecked state (input.checked = false)</span>
- uncheckedClass: '',
-
- <span class="comment">// if not empty, used instead of 'uncheckedClass' option (input type specific)</span>
- uncheckedCheckboxClass: '',
- uncheckedRadioClass: '',
-
- <span class="comment">// class added on disabled state (input.disabled = true)</span>
- disabledClass: 'disabled',
-
- <span class="comment">// if not empty, used instead of 'disabledClass' option (input type specific)</span>
- disabledCheckboxClass: '',
- disabledRadioClass: '',
-
- <span class="comment">// if not empty, added as class name on enabled state (input.disabled = false)</span>
- enabledClass: '',
-
- <span class="comment">// if not empty, used instead of 'enabledClass' option (input type specific)</span>
- enabledCheckboxClass: '',
- enabledRadioClass: '',
-
- <span class="comment">// class added on <span class="self" data-to="indeterminate">indeterminate state</span> (input.indeterminate = true)</span>
- indeterminateClass: 'indeterminate',
-
- <span class="comment">// if not empty, used instead of 'indeterminateClass' option (input type specific)</span>
- indeterminateCheckboxClass: '',
- indeterminateRadioClass: '',
-
- <span class="comment">// if not empty, added as class name on determinate state (input.indeterminate = false)</span>
- determinateClass: '',
-
- <span class="comment">// if not empty, used instead of 'determinateClass' option (input type specific)</span>
- determinateCheckboxClass: '',
- determinateRadioClass: '',
-
- <span class="comment">// class added on hover state (pointer is moved onto input)</span>
- hoverClass: 'hover',
-
- <span class="comment">// class added on focus state (input has gained focus)</span>
- focusClass: 'focus',
-
- <span class="comment">// class added on active state (mouse button is pressed on input)</span>
- activeClass: 'active',
-
- <span class="comment">// adds hoverClass to customized input on label hover and labelHoverClass to label on input hover</span>
- labelHover: true,
-
- <span class="comment">// class added to label if labelHover set to true</span>
- labelHoverClass: 'hover',
-
- <span class="comment">// increase clickable area by given % (negative number to decrease)</span>
- increaseArea: '',
-
- <span class="comment">// true to set 'pointer' CSS cursor over enabled inputs and 'default' over disabled</span>
- cursor: false,
-
- <span class="comment">// set true to inherit original input's class name</span>
- inheritClass: false,
-
- <span class="comment">// if set to true, input's id is prefixed with 'iCheck-' and attached</span>
- inheritID: false,
-
- <span class="comment">// set true to activate ARIA support</span>
- aria: false,
-
- <span class="comment">// add HTML code or text inside customized input</span>
- insert: ''
-}
-</pre>
- <p>There's no need to copy and paste all of them, you can just mention the ones you need:</p>
-<pre class="markup">
-$('input').iCheck({
- labelHover: false,
- cursor: true
-});
-</pre>
- <p>You can choose any class names and slyle them as you want.</p>
- <h4 class="init">Initialize</h4>
- <p>Just include <span class="mark">icheck.js</span> after <a href="http://jquery.com" target="blank">jQuery v1.7+</a> (or <a href="http://github.com/madrobby/zepto#zepto-modules" target="blank">Zepto</a> [polyfill, event, data]).</p>
- <p>iCheck supports any selectors, but handles only checkboxes and radio buttons:</p>
-<pre class="markup">
-<span class="comment">// customize all inputs (will search for checkboxes and radio buttons)</span>
-$('input').iCheck();
-
-<span class="comment">// handle inputs only inside $('.block')</span>
-$('.block input').iCheck();
-
-<span class="comment">// handle only checkboxes inside $('.test')</span>
-$('.test input').iCheck({
- handle: 'checkbox'
-});
-
-<span class="comment">// handle .vote class elements (will search inside the element, if it's not an input)</span>
-$('.vote').iCheck();
-
-<span class="comment">// you can also change options after inputs are customized</span>
-$('input.some').iCheck({
- <span class="comment">// different options</span>
-});
-</pre>
- <h4 class="indeterminate">Indeterminate</h4>
- <p>HTML5 allows specifying <a href="http://css-tricks.com/indeterminate-checkboxes/" target="blank">indeterminate</a> ("partially" checked) state for checkboxes. iCheck supports it for both checkboxes and radio buttons.</p>
- <p>You can make an input indeterminate through HTML using additional attributes (supported by iCheck). Both do the same job, but <span class="mark">indeterminate="true"</span> may not work in some browsers (like IE7):</p>
-<pre class="markup">
-<span class="comment">&lt;!-- indeterminate="true" --></span>
-&lt;input type="checkbox" indeterminate="true">
-&lt;input type="radio" indeterminate="true">
-
-<span class="comment">&lt;!-- determinate="false" --></span>
-&lt;input type="checkbox" determinate="false">
-&lt;input type="radio" determinate="false">
-</pre>
- <p><span class="mark">indeterminate</span> and <span class="mark">determinate</span> <span class="self" data-to="methods">methods</span> can be used to toggle indeterminate state.</p>
- <h4 class="callbacks">Callbacks</h4>
- <p class="callbacks-info">iCheck provides plenty callbacks, which may be used to handle changes.</p>
- <table>
- <thead>
- <tr>
- <th>Callback name</th>
- <td>When used</td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <th>ifClicked</th>
- <td>user clicked on a customized input or an assigned label</td>
- </tr>
- <tr>
- <th>ifChanged</th>
- <td>input's <span class="mark">checked</span>, <span class="mark">disabled</span> or <span class="mark">indeterminate</span> state is changed</td>
- </tr>
- <tr>
- <th>ifChecked</th>
- <td>input's state is changed to <span class="mark">checked</span></td>
- </tr>
- <tr>
- <th>ifUnchecked</th>
- <td><span class="mark">checked</span> state is removed</td>
- </tr>
- <tr>
- <th>ifToggled</th>
- <td>input's <span class="mark">checked</span> state is changed</td>
- </tr>
- <tr>
- <th>ifDisabled</th>
- <td>input's state is changed to <span class="mark">disabled</span></td>
- </tr>
- <tr>
- <th>ifEnabled</th>
- <td><span class="mark">disabled</span> state is removed</td>
- </tr>
- <tr>
- <th>ifIndeterminate</th>
- <td>input's state is changed to <span class="mark">indeterminate</span></td>
- </tr>
- <tr>
- <th>ifDeterminate</th>
- <td><span class="mark">indeterminate</span> state is removed</td>
- </tr>
- <tr>
- <th>ifCreated</th>
- <td>input is just customized</td>
- </tr>
- <tr>
- <th>ifDestroyed</th>
- <td>customization is just removed</td>
- </tr>
- </tbody>
- </table>
- <p>Use <span class="mark">on()</span> method to bind them to inputs:<p>
-<pre class="markup">
-$('input').on('ifChecked', function(event){
- alert(event.type + ' callback');
-});
-</pre>
- <p><span class="mark">ifCreated</span> callback should be binded before plugin init.</p>
- <h4 class="methods">Methods</h4>
- <p class="methods-info">These methods can be used to make changes programmatically (any selectors can be used):</p>
- <p><span class="mark">$('input').iCheck('check');</span> &mdash; change input's state to <span class="mark">checked</span></p>
- <p><span class="mark">$('input').iCheck('uncheck');</span> &mdash; remove <span class="mark">checked</span> state</p>
- <p><span class="mark">$('input').iCheck('toggle');</span> &mdash; toggle <span class="mark">checked</span> state</p>
- <p><span class="mark">$('input').iCheck('disable');</span> &mdash; change input's state to <span class="mark">disabled</span></p>
- <p><span class="mark">$('input').iCheck('enable');</span> &mdash; remove <span class="mark">disabled</span> state</p>
- <p><span class="mark">$('input').iCheck('indeterminate');</span> &mdash; change input's state to <span class="mark">indeterminate</span></p>
- <p><span class="mark">$('input').iCheck('determinate');</span> &mdash; remove <span class="mark">indeterminate</span> state</p>
- <p><span class="mark">$('input').iCheck('update');</span> &mdash; apply input changes, which were done outside the plugin</p>
- <p><span class="mark">$('input').iCheck('destroy');</span> &mdash; remove all traces of iCheck</p>
- <p class="methods-callback">You may also specify some function, that will be executed on each method call:</p>
-<pre class="markup">
-$('input').iCheck('check', function(){
- alert('Well done, Sir');
-});
-</pre>
- <p class="issue-tracker">Feel free to <a href="http://github.com/fronteed/iCheck/">fork and submit pull-request</a> or <a href="http://github.com/fronteed/iCheck/issues">submit an issue</a> if you find something not working.</p>
- </div>
- </div>
- <div class="benefits comparison">
- <div class="arrows">
- <div class="top" data-to="usage"></div>
- <div class="bottom" data-to="download"></div>
- </div>
- <h2>Comparison</h2>
- <div class="benefits-inner">
- <p>iCheck is created to avoid routine of reinventing the wheel when working with checkboxes and radio buttons. It provides an expected identical result for the huge number of browsers, devices and their versions. Callbacks and methods can be used to easily handle and make changes at customized inputs.</p>
- <p>There are some CSS3 ways available to style checkboxes and radio buttons, like <a href="http://webdesign.tutsplus.com/tutorials/htmlcss-tutorials/quick-tip-easy-css3-checkboxes-and-radio-buttons/" target="blank">this one</a>. You have to know about some of the disadvantages of similar methods:</p>
- <ul>
- <li>
- &mdash; inputs are keyboard inaccessible, since <span class="mark">display: none</span> or <span class="mark">visibility: hidden</span> used to hide them
- </li>
- <li>
- &mdash; poor browser support
- </li>
- <li>
- &mdash; multiple bugs on mobile devices
- </li>
- <li>
- &mdash; tricky, harder to maintain CSS code
- </li>
- <li>
- &mdash; JavaScript is still needed to fix specific issues
- </li>
- </ul>
- <p>While CSS3 method is quite limited solution, iCheck is made to be an everyday replacement covering most of the tasks.</p>
- </div>
- </div>
- <div class="browsers">
- <h2>Browser support</h2>
- <div class="browsers-inner">
- <p>iCheck is verified to work in Internet Explorer 6+, Firefox 2+, Opera 9+, Google Chrome and Safari browsers. Should also work in many others.</p>
- <p>Mobile browsers (like Opera mini, Chrome mobile, Safari mobile, Android browser, Silk and others) are also supported. Tested on iOS (iPad, iPhone, iPod), Android, BlackBerry and Windows Phone devices.</p>
- </div>
- </div>
- <div class="download">
- <a href="http://github.com/fronteed/iCheck/">Download plugin</a>
- </div>
- <div class="license">iCheck plugin is released under the <a href="http://en.wikipedia.org/wiki/MIT_License" target="blank">MIT License</a>. Feel free to use it in personal and commercial projects.</div>
- </div>
- <div class="footer">
- <div class="footer-inner clear">
- <ul class="local">
- <li>
- <a href="https://github.com/fronteed/iCheck">Star on Github</a>
- </li>
- <li>
- <a href="https://twitter.com/intent/tweet?text=Highly customizable checkboxes and radio buttons&amp;url=http://fronteed.com/iCheck/&amp;via=fronteed&amp;hashtags=jQuery,Zepto">Share on Twitter</a>
- </li>
- <li>
- <a href="http://twitter.com/fronteed/">Follow @fronteed</a>
- </li>
- </ul>
- <div class="code">
- Created by <a href="http://fronteed.com/">Damir Sultanov</a>
- </div>
- </div>
- </div>
- <a href="http://github.com/fronteed/iCheck/" class="fork-me">Fork me on GitHub</a>
-</body>
-</html>
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/custom.js b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/custom.js
deleted file mode 100644
index 626fc2f4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/custom.js
+++ /dev/null
@@ -1,109 +0,0 @@
-$(document).ready(function() {
- var hash = window.location.hash.replace('#', '');
-
- if (hash && $('.' + hash).length) {
- var point = $('.' + hash).offset().top - 40;
-
- if (window.Zepto) {
- window.scrollTo(0, point);
- } else {
- $(window).scrollTop($('.' + hash).offset().top - 40);
- };
- };
-
- $('.skin dt').click(function() {
- $(this).siblings().removeClass('selected').end().prev('dd').andSelf().addClass('selected');
- });
-
- $('.arrows .top, .arrows .bottom, .features .self, .skins-info .self, .usage .self').click(function(event) {
- var target = $(this).data('to'),
- target_offset = $('.' + target).offset().top;
-
- event.preventDefault();
- window.location.hash = target;
-
- if (window.Zepto) {
- window.scrollTo(0, target_offset - 40);
- } else {
- $('html, body').stop().animate({scrollTop: target_offset - 40}, 600);
- };
- });
-
- $('.colors li').click(function() {
- var self = $(this);
-
- if (!self.hasClass('active')) {
- self.siblings().removeClass('active');
-
- var skin = self.closest('.skin'),
- color = self.attr('class') ? '-' + self.attr('class') : '',
- checkbox = skin.data('icheckbox'),
- radio = skin.data('iradio'),
- checkbox_default = 'icheckbox_minimal',
- radio_default = 'iradio_minimal';
-
- if (skin.hasClass('skin-square')) {
- checkbox_default = 'icheckbox_square', radio_default = 'iradio_square';
- checkbox == undefined && (checkbox = 'icheckbox_square-green', radio = 'iradio_square-green');
- };
-
- if (skin.hasClass('skin-flat')) {
- checkbox_default = 'icheckbox_flat', radio_default = 'iradio_flat';
- checkbox == undefined && (checkbox = 'icheckbox_flat-red', radio = 'iradio_flat-red');
- };
-
- if (skin.hasClass('skin-line')) {
- checkbox_default = 'icheckbox_line', radio_default = 'iradio_line';
- checkbox == undefined && (checkbox = 'icheckbox_line-blue', radio = 'iradio_line-blue');
- };
-
- checkbox == undefined && (checkbox = checkbox_default, radio = radio_default);
-
- skin.find('input, .skin-states .state').each(function() {
- var element = $(this).hasClass('state') ? $(this) : $(this).parent(),
- element_class = element.attr('class').replace(checkbox, checkbox_default + color).replace(radio, radio_default + color);
-
- element.attr('class', element_class);
- });
-
- skin.data('icheckbox', checkbox_default + color);
- skin.data('iradio', radio_default + color);
- self.addClass('active');
- };
- });
-
- $('.demo-methods dt .self').click(function() {
- var self = $(this),
- self_class = self.attr('class').replace('self ', '');
-
- switch (self_class) {
- case 'do-check':
- $('#input-1, #input-3').iCheck('check');
- break;
- case 'do-uncheck':
- $('#input-1, #input-3').iCheck('uncheck');
- break;
- case 'do-disable':
- $('#input-2, #input-4').iCheck('disable');
- break;
- case 'do-enable':
- $('#input-2, #input-4').iCheck('enable');
- break;
- case 'do-destroy':
- $('.demo-list input').iCheck('destroy');
- break;
- default:
- var text = self.hasClass('active') ? 'show code' : 'hide code';
-
- self.toggleClass('active').text(text);
-
- if (window.Zepto) {
- $(this).closest('dt').next().toggle();
- } else {
- $(this).closest('dt').next().slideToggle(200);
- };
-
- break;
- };
- });
-}); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/custom.min.js b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/custom.min.js
deleted file mode 100644
index e128c2a9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/custom.min.js
+++ /dev/null
@@ -1,5 +0,0 @@
-$(document).ready(function(){var h=window.location.hash.replace("#","");if(h&&$("."+h).length){var k=$("."+h).offset().top-40;window.Zepto?window.scrollTo(0,k):$(window).scrollTop($("."+h).offset().top-40)}$(".skin dt").click(function(){$(this).siblings().removeClass("selected").end().prev("dd").andSelf().addClass("selected")});$(".arrows .top, .arrows .bottom, .features .self, .skins-info .self, .usage .self").click(function(b){var a=$(this).data("to"),d=$("."+a).offset().top;b.preventDefault();
-window.location.hash=a;window.Zepto?window.scrollTo(0,d-40):$("html, body").stop().animate({scrollTop:d-40},600)});$(".colors li").click(function(){var b=$(this);if(!b.hasClass("active")){b.siblings().removeClass("active");var a=b.closest(".skin"),d=b.attr("class")?"-"+b.attr("class"):"",c=a.data("icheckbox"),g=a.data("iradio"),e="icheckbox_minimal",f="iradio_minimal";a.hasClass("skin-square")&&(e="icheckbox_square",f="iradio_square",void 0==c&&(c="icheckbox_square-green",g="iradio_square-green"));
-a.hasClass("skin-flat")&&(e="icheckbox_flat",f="iradio_flat",void 0==c&&(c="icheckbox_flat-red",g="iradio_flat-red"));a.hasClass("skin-line")&&(e="icheckbox_line",f="iradio_line",void 0==c&&(c="icheckbox_line-blue",g="iradio_line-blue"));void 0==c&&(c=e,g=f);a.find("input, .skin-states .state").each(function(){var a=$(this).hasClass("state")?$(this):$(this).parent(),b=a.attr("class").replace(c,e+d).replace(g,f+d);a.attr("class",b)});a.data("icheckbox",e+d);a.data("iradio",f+d);b.addClass("active")}});
-$(".demo-methods dt .self").click(function(){var b=$(this);switch(b.attr("class").replace("self ","")){case "do-check":$("#input-1, #input-3").iCheck("check");break;case "do-uncheck":$("#input-1, #input-3").iCheck("uncheck");break;case "do-disable":$("#input-2, #input-4").iCheck("disable");break;case "do-enable":$("#input-2, #input-4").iCheck("enable");break;case "do-destroy":$(".demo-list input").iCheck("destroy");break;default:var a=b.hasClass("active")?"show code":"hide code";b.toggleClass("active").text(a);
-window.Zepto?$(this).closest("dt").next().toggle():$(this).closest("dt").next().slideToggle(200)}})}); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/jquery.js b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/jquery.js
deleted file mode 100644
index e89e9e10..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/jquery.js
+++ /dev/null
@@ -1,4 +0,0 @@
-/*!
- * jQuery v1.8.3 jquery.com | jquery.org/license
- */
-(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r<i;r++)v.event.add(t,n,u[n][r])}o.data&&(o.data=v.extend({},o.data))}function Ot(e,t){var n;if(t.nodeType!==1)return;t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),n==="object"?(t.parentNode&&(t.outerHTML=e.outerHTML),v.support.html5Clone&&e.innerHTML&&!v.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):n==="input"&&Et.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):n==="option"?t.selected=e.defaultSelected:n==="input"||n==="textarea"?t.defaultValue=e.defaultValue:n==="script"&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(v.expando)}function Mt(e){return typeof e.getElementsByTagName!="undefined"?e.getElementsByTagName("*"):typeof e.querySelectorAll!="undefined"?e.querySelectorAll("*"):[]}function _t(e){Et.test(e.type)&&(e.defaultChecked=e.checked)}function Qt(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Jt.length;while(i--){t=Jt[i]+n;if(t in e)return t}return r}function Gt(e,t){return e=t||e,v.css(e,"display")==="none"||!v.contains(e.ownerDocument,e)}function Yt(e,t){var n,r,i=[],s=0,o=e.length;for(;s<o;s++){n=e[s];if(!n.style)continue;i[s]=v._data(n,"olddisplay"),t?(!i[s]&&n.style.display==="none"&&(n.style.display=""),n.style.display===""&&Gt(n)&&(i[s]=v._data(n,"olddisplay",nn(n.nodeName)))):(r=Dt(n,"display"),!i[s]&&r!=="none"&&v._data(n,"olddisplay",r))}for(s=0;s<o;s++){n=e[s];if(!n.style)continue;if(!t||n.style.display==="none"||n.style.display==="")n.style.display=t?i[s]||"":"none"}return e}function Zt(e,t,n){var r=Rt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function en(e,t,n,r){var i=n===(r?"border":"content")?4:t==="width"?1:0,s=0;for(;i<4;i+=2)n==="margin"&&(s+=v.css(e,n+$t[i],!0)),r?(n==="content"&&(s-=parseFloat(Dt(e,"padding"+$t[i]))||0),n!=="margin"&&(s-=parseFloat(Dt(e,"border"+$t[i]+"Width"))||0)):(s+=parseFloat(Dt(e,"padding"+$t[i]))||0,n!=="padding"&&(s+=parseFloat(Dt(e,"border"+$t[i]+"Width"))||0));return s}function tn(e,t,n){var r=t==="width"?e.offsetWidth:e.offsetHeight,i=!0,s=v.support.boxSizing&&v.css(e,"boxSizing")==="border-box";if(r<=0||r==null){r=Dt(e,t);if(r<0||r==null)r=e.style[t];if(Ut.test(r))return r;i=s&&(v.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+en(e,t,n||(s?"border":"content"),i)+"px"}function nn(e){if(Wt[e])return Wt[e];var t=v("<"+e+">").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write("<!doctype html><html><body>"),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u<a;u++)r=o[u],s=/^\+/.test(r),s&&(r=r.substr(1)||"*"),i=e[r]=e[r]||[],i[s?"unshift":"push"](n)}}function kn(e,n,r,i,s,o){s=s||n.dataTypes[0],o=o||{},o[s]=!0;var u,a=e[s],f=0,l=a?a.length:0,c=e===Sn;for(;f<l&&(c||!u);f++)u=a[f](n,r,i),typeof u=="string"&&(!c||o[u]?u=t:(n.dataTypes.unshift(u),u=kn(e,n,r,i,u,o)));return(c||!u)&&!o["*"]&&(u=kn(e,n,r,i,"*",o)),u}function Ln(e,n){var r,i,s=v.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((s[r]?e:i||(i={}))[r]=n[r]);i&&v.extend(!0,e,i)}function An(e,n,r){var i,s,o,u,a=e.contents,f=e.dataTypes,l=e.responseFields;for(s in l)s in r&&(n[l[s]]=r[s]);while(f[0]==="*")f.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("content-type"));if(i)for(s in a)if(a[s]&&a[s].test(i)){f.unshift(s);break}if(f[0]in r)o=f[0];else{for(s in r){if(!f[0]||e.converters[s+" "+f[0]]){o=s;break}u||(u=s)}o=o||u}if(o)return o!==f[0]&&f.unshift(o),r[o]}function On(e,t){var n,r,i,s,o=e.dataTypes.slice(),u=o[0],a={},f=0;e.dataFilter&&(t=e.dataFilter(t,e.dataType));if(o[1])for(n in e.converters)a[n.toLowerCase()]=e.converters[n];for(;i=o[++f];)if(i!=="*"){if(u!=="*"&&u!==i){n=a[u+" "+i]||a["* "+i];if(!n)for(r in a){s=r.split(" ");if(s[1]===i){n=a[u+" "+s[0]]||a["* "+s[0]];if(n){n===!0?n=a[r]:a[r]!==!0&&(i=s[0],o.splice(f--,0,i));break}}}if(n!==!0)if(n&&e["throws"])t=n(t);else try{t=n(t)}catch(l){return{state:"parsererror",error:n?l:"No conversion from "+u+" to "+i}}}u=i}return{state:"success",data:t}}function Fn(){try{return new e.XMLHttpRequest}catch(t){}}function In(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function $n(){return setTimeout(function(){qn=t},0),qn=v.now()}function Jn(e,t){v.each(t,function(t,n){var r=(Vn[t]||[]).concat(Vn["*"]),i=0,s=r.length;for(;i<s;i++)if(r[i].call(e,t,n))return})}function Kn(e,t,n){var r,i=0,s=0,o=Xn.length,u=v.Deferred().always(function(){delete a.elem}),a=function(){var t=qn||$n(),n=Math.max(0,f.startTime+f.duration-t),r=n/f.duration||0,i=1-r,s=0,o=f.tweens.length;for(;s<o;s++)f.tweens[s].run(i);return u.notifyWith(e,[f,i,n]),i<1&&o?n:(u.resolveWith(e,[f]),!1)},f=u.promise({elem:e,props:v.extend({},t),opts:v.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:qn||$n(),duration:n.duration,tweens:[],createTween:function(t,n,r){var i=v.Tween(e,f.opts,t,n,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(i),i},stop:function(t){var n=0,r=t?f.tweens.length:0;for(;n<r;n++)f.tweens[n].run(1);return t?u.resolveWith(e,[f,t]):u.rejectWith(e,[f,t]),this}}),l=f.props;Qn(l,f.opts.specialEasing);for(;i<o;i++){r=Xn[i].call(f,e,l,f.opts);if(r)return r}return Jn(f,l),v.isFunction(f.opts.start)&&f.opts.start.call(e,f),v.fx.timer(v.extend(a,{anim:f,queue:f.opts.queue,elem:e})),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}function Qn(e,t){var n,r,i,s,o;for(n in e){r=v.camelCase(n),i=t[r],s=e[n],v.isArray(s)&&(i=s[1],s=e[n]=s[0]),n!==r&&(e[r]=s,delete e[n]),o=v.cssHooks[r];if(o&&"expand"in o){s=o.expand(s),delete e[r];for(n in s)n in e||(e[n]=s[n],t[n]=i)}else t[r]=i}}function Gn(e,t,n){var r,i,s,o,u,a,f,l,c,h=this,p=e.style,d={},m=[],g=e.nodeType&&Gt(e);n.queue||(l=v._queueHooks(e,"fx"),l.unqueued==null&&(l.unqueued=0,c=l.empty.fire,l.empty.fire=function(){l.unqueued||c()}),l.unqueued++,h.always(function(){h.always(function(){l.unqueued--,v.queue(e,"fx").length||l.empty.fire()})})),e.nodeType===1&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],v.css(e,"display")==="inline"&&v.css(e,"float")==="none"&&(!v.support.inlineBlockNeedsLayout||nn(e.nodeName)==="inline"?p.display="inline-block":p.zoom=1)),n.overflow&&(p.overflow="hidden",v.support.shrinkWrapBlocks||h.done(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t){s=t[r];if(Un.exec(s)){delete t[r],a=a||s==="toggle";if(s===(g?"hide":"show"))continue;m.push(r)}}o=m.length;if(o){u=v._data(e,"fxshow")||v._data(e,"fxshow",{}),"hidden"in u&&(g=u.hidden),a&&(u.hidden=!g),g?v(e).show():h.done(function(){v(e).hide()}),h.done(function(){var t;v.removeData(e,"fxshow",!0);for(t in d)v.style(e,t,d[t])});for(r=0;r<o;r++)i=m[r],f=h.createTween(i,g?u[i]:0),d[i]=u[i]||v.style(e,i),i in u||(u[i]=f.start,g&&(f.end=f.start,f.start=i==="width"||i==="height"?1:0))}}function Yn(e,t,n,r,i){return new Yn.prototype.init(e,t,n,r,i)}function Zn(e,t){var n,r={height:e},i=0;t=t?1:0;for(;i<4;i+=2-t)n=$t[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function tr(e){return v.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1}var n,r,i=e.document,s=e.location,o=e.navigator,u=e.jQuery,a=e.$,f=Array.prototype.push,l=Array.prototype.slice,c=Array.prototype.indexOf,h=Object.prototype.toString,p=Object.prototype.hasOwnProperty,d=String.prototype.trim,v=function(e,t){return new v.fn.init(e,t,n)},m=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,g=/\S/,y=/\s+/,b=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,w=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a<f;a++)if((e=arguments[a])!=null)for(n in e){r=u[n],i=e[n];if(u===i)continue;l&&i&&(v.isPlainObject(i)||(s=v.isArray(i)))?(s?(s=!1,o=r&&v.isArray(r)?r:[]):o=r&&v.isPlainObject(r)?r:{},u[n]=v.extend(l,o,i)):i!==t&&(u[n]=i)}return u},v.extend({noConflict:function(t){return e.$===v&&(e.$=a),t&&e.jQuery===v&&(e.jQuery=u),v},isReady:!1,readyWait:1,holdReady:function(e){e?v.readyWait++:v.ready(!0)},ready:function(e){if(e===!0?--v.readyWait:v.isReady)return;if(!i.body)return setTimeout(v.ready,1);v.isReady=!0;if(e!==!0&&--v.readyWait>0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s<o;)if(n.apply(e[s++],r)===!1)break}else if(u){for(i in e)if(n.call(e[i],i,e[i])===!1)break}else for(;s<o;)if(n.call(e[s],s,e[s++])===!1)break;return e},trim:d&&!d.call("\ufeff\u00a0")?function(e){return e==null?"":d.call(e)}:function(e){return e==null?"":(e+"").replace(b,"")},makeArray:function(e,t){var n,r=t||[];return e!=null&&(n=v.type(e),e.length==null||n==="string"||n==="function"||n==="regexp"||v.isWindow(e)?f.call(r,e):v.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(c)return c.call(t,e,n);r=t.length,n=n?n<0?Math.max(0,r+n):n:0;for(;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,s=0;if(typeof r=="number")for(;s<r;s++)e[i++]=n[s];else while(n[s]!==t)e[i++]=n[s++];return e.length=i,e},grep:function(e,t,n){var r,i=[],s=0,o=e.length;n=!!n;for(;s<o;s++)r=!!t(e[s],s),n!==r&&i.push(e[s]);return i},map:function(e,n,r){var i,s,o=[],u=0,a=e.length,f=e instanceof v||a!==t&&typeof a=="number"&&(a>0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u<a;u++)i=n(e[u],u,r),i!=null&&(o[o.length]=i);else for(s in e)i=n(e[s],s,r),i!=null&&(o[o.length]=i);return o.concat.apply([],o)},guid:1,proxy:function(e,n){var r,i,s;return typeof n=="string"&&(r=e[n],n=e,e=r),v.isFunction(e)?(i=l.call(arguments,2),s=function(){return e.apply(n,i.concat(l.call(arguments)))},s.guid=e.guid=e.guid||v.guid++,s):t},access:function(e,n,r,i,s,o,u){var a,f=r==null,l=0,c=e.length;if(r&&typeof r=="object"){for(l in r)v.access(e,n,l,r[l],1,o,i);s=1}else if(i!==t){a=u===t&&v.isFunction(i),f&&(a?(a=n,n=function(e,t,n){return a.call(v(e),n)}):(n.call(e,i),n=null));if(n)for(;l<c;l++)n(e[l],r,a?i.call(e[l],l,n(e[l],r)):i,u);s=1}return s?e:f?n.call(e):c?n(e[0],r):o},now:function(){return(new Date).getTime()}}),v.ready.promise=function(t){if(!r){r=v.Deferred();if(i.readyState==="complete")setTimeout(v.ready,1);else if(i.addEventListener)i.addEventListener("DOMContentLoaded",A,!1),e.addEventListener("load",v.ready,!1);else{i.attachEvent("onreadystatechange",A),e.attachEvent("onload",v.ready);var n=!1;try{n=e.frameElement==null&&i.documentElement}catch(s){}n&&n.doScroll&&function o(){if(!v.isReady){try{n.doScroll("left")}catch(e){return setTimeout(o,50)}v.ready()}}()}}return r.promise(t)},v.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){O["[object "+t+"]"]=t.toLowerCase()}),n=v(i);var M={};v.Callbacks=function(e){e=typeof e=="string"?M[e]||_(e):v.extend({},e);var n,r,i,s,o,u,a=[],f=!e.once&&[],l=function(t){n=e.memory&&t,r=!0,u=s||0,s=0,o=a.length,i=!0;for(;a&&u<o;u++)if(a[u].apply(t[0],t[1])===!1&&e.stopOnFalse){n=!1;break}i=!1,a&&(f?f.length&&l(f.shift()):n?a=[]:c.disable())},c={add:function(){if(a){var t=a.length;(function r(t){v.each(t,function(t,n){var i=v.type(n);i==="function"?(!e.unique||!c.has(n))&&a.push(n):n&&n.length&&i!=="string"&&r(n)})})(arguments),i?o=a.length:n&&(s=t,l(n))}return this},remove:function(){return a&&v.each(arguments,function(e,t){var n;while((n=v.inArray(t,a,n))>-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t<r;t++)n[t]&&v.isFunction(n[t].promise)?n[t].promise().done(o(t,f,n)).fail(s.reject).progress(o(t,a,u)):--i}return i||s.resolveWith(f,n),s.promise()}}),v.support=function(){var t,n,r,s,o,u,a,f,l,c,h,p=i.createElement("div");p.setAttribute("className","t"),p.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="<table><tr><td></td><td>t</td></tr></table>",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="<div></div>",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i<s;i++)delete r[t[i]];if(!(n?B:v.isEmptyObject)(r))return}}if(!n){delete u[a].data;if(!B(u[a]))return}o?v.cleanData([e],!0):v.support.deleteExpando||u!=u.window?delete u[a]:u[a]=null},_data:function(e,t,n){return v.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&v.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),v.fn.extend({data:function(e,n){var r,i,s,o,u,a=this[0],f=0,l=null;if(e===t){if(this.length){l=v.data(a);if(a.nodeType===1&&!v._data(a,"parsedAttrs")){s=a.attributes;for(u=s.length;f<u;f++)o=s[f].name,o.indexOf("data-")||(o=v.camelCase(o.substring(5)),H(a,o,l[o]));v._data(a,"parsedAttrs",!0)}}return l}return typeof e=="object"?this.each(function(){v.data(this,e)}):(r=e.split(".",2),r[1]=r[1]?"."+r[1]:"",i=r[1]+"!",v.access(this,function(n){if(n===t)return l=this.triggerHandler("getData"+i,[r[0]]),l===t&&a&&(l=v.data(a,e),l=H(a,e,l)),l===t&&r[1]?this.data(r[0]):l;r[1]=n,this.each(function(){var t=v(this);t.triggerHandler("setData"+i,r),v.data(this,e,n),t.triggerHandler("changeData"+i,r)})},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length<r?v.queue(this[0],e):n===t?this:this.each(function(){var t=v.queue(this,e,n);v._queueHooks(this,e),e==="fx"&&t[0]!=="inprogress"&&v.dequeue(this,e)})},dequeue:function(e){return this.each(function(){v.dequeue(this,e)})},delay:function(e,t){return e=v.fx?v.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,s=v.Deferred(),o=this,u=this.length,a=function(){--i||s.resolveWith(o,[o])};typeof e!="string"&&(n=e,e=t),e=e||"fx";while(u--)r=v._data(o[u],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(a));return a(),s.promise(n)}});var j,F,I,q=/[\t\r\n]/g,R=/\r/g,U=/^(?:button|input)$/i,z=/^(?:button|input|object|select|textarea)$/i,W=/^a(?:rea|)$/i,X=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,V=v.support.getSetAttribute;v.fn.extend({attr:function(e,t){return v.access(this,v.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n<r;n++){i=this[n];if(i.nodeType===1)if(!i.className&&t.length===1)i.className=e;else{s=" "+i.className+" ";for(o=0,u=t.length;o<u;o++)s.indexOf(" "+t[o]+" ")<0&&(s+=t[o]+" ");i.className=v.trim(s)}}}return this},removeClass:function(e){var n,r,i,s,o,u,a;if(v.isFunction(e))return this.each(function(t){v(this).removeClass(e.call(this,t,this.className))});if(e&&typeof e=="string"||e===t){n=(e||"").split(y);for(u=0,a=this.length;u<a;u++){i=this[u];if(i.nodeType===1&&i.className){r=(" "+i.className+" ").replace(q," ");for(s=0,o=n.length;s<o;s++)while(r.indexOf(" "+n[s]+" ")>=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n<r;n++)if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(q," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a<u;a++){n=r[a];if((n.selected||a===i)&&(v.support.optDisabled?!n.disabled:n.getAttribute("disabled")===null)&&(!n.parentNode.disabled||!v.nodeName(n.parentNode,"optgroup"))){t=v(n).val();if(s)return t;o.push(t)}}return o},set:function(e,t){var n=v.makeArray(t);return v(e).find("option").each(function(){this.selected=v.inArray(v(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o<r.length;o++)i=r[o],i&&(n=v.propFix[i]||i,s=X.test(i),s||v.attr(e,i,""),e.removeAttribute(V?i:n),s&&n in e&&(e[n]=!1))}},attrHooks:{type:{set:function(e,t){if(U.test(e.nodeName)&&e.parentNode)v.error("type property can't be changed");else if(!v.support.radioValue&&t==="radio"&&v.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return j&&v.nodeName(e,"button")?j.get(e,t):t in e?e.value:null},set:function(e,t,n){if(j&&v.nodeName(e,"button"))return j.set(e,t,n);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,s,o,u=e.nodeType;if(!e||u===3||u===8||u===2)return;return o=u!==1||!v.isXMLDoc(e),o&&(n=v.propFix[n]||n,s=v.propHooks[n]),r!==t?s&&"set"in s&&(i=s.set(e,r,n))!==t?i:e[n]=r:s&&"get"in s&&(i=s.get(e,n))!==null?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):z.test(e.nodeName)||W.test(e.nodeName)&&e.href?0:t}}}}),F={get:function(e,n){var r,i=v.prop(e,n);return i===!0||typeof i!="boolean"&&(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;return t===!1?v.removeAttr(e,n):(r=v.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},V||(I={name:!0,id:!0,coords:!0},j=v.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&(I[n]?r.value!=="":r.specified)?r.value:t},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=i.createAttribute(n),e.setAttributeNode(r)),r.value=t+""}},v.each(["width","height"],function(e,t){v.attrHooks[t]=v.extend(v.attrHooks[t],{set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}})}),v.attrHooks.contenteditable={get:j.get,set:function(e,t,n){t===""&&(t="false"),j.set(e,t,n)}}),v.support.hrefNormalized||v.each(["href","src","width","height"],function(e,n){v.attrHooks[n]=v.extend(v.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return r===null?t:r}})}),v.support.style||(v.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=t+""}}),v.support.optSelected||(v.propHooks.selected=v.extend(v.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),v.support.enctype||(v.propFix.enctype="encoding"),v.support.checkOn||v.each(["radio","checkbox"],function(){v.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}}),v.each(["radio","checkbox"],function(){v.valHooks[this]=v.extend(v.valHooks[this],{set:function(e,t){if(v.isArray(t))return e.checked=v.inArray(v(e).val(),t)>=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f<n.length;f++){l=J.exec(n[f])||[],c=l[1],h=(l[2]||"").split(".").sort(),g=v.event.special[c]||{},c=(s?g.delegateType:g.bindType)||c,g=v.event.special[c]||{},p=v.extend({type:c,origType:l[1],data:i,handler:r,guid:r.guid,selector:s,needsContext:s&&v.expr.match.needsContext.test(s),namespace:h.join(".")},d),m=a[c];if(!m){m=a[c]=[],m.delegateCount=0;if(!g.setup||g.setup.call(e,i,h,u)===!1)e.addEventListener?e.addEventListener(c,u,!1):e.attachEvent&&e.attachEvent("on"+c,u)}g.add&&(g.add.call(e,p),p.handler.guid||(p.handler.guid=r.guid)),s?m.splice(m.delegateCount++,0,p):m.push(p),v.event.global[c]=!0}e=null},global:{},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,h,p,d,m,g=v.hasData(e)&&v._data(e);if(!g||!(h=g.events))return;t=v.trim(Z(t||"")).split(" ");for(s=0;s<t.length;s++){o=J.exec(t[s])||[],u=a=o[1],f=o[2];if(!u){for(u in h)v.event.remove(e,u+t[s],n,r,!0);continue}p=v.event.special[u]||{},u=(r?p.delegateType:p.bindType)||u,d=h[u]||[],l=d.length,f=f?new RegExp("(^|\\.)"+f.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(c=0;c<d.length;c++)m=d[c],(i||a===m.origType)&&(!n||n.guid===m.guid)&&(!f||f.test(m.namespace))&&(!r||r===m.selector||r==="**"&&m.selector)&&(d.splice(c--,1),m.selector&&d.delegateCount--,p.remove&&p.remove.call(e,m));d.length===0&&l!==d.length&&((!p.teardown||p.teardown.call(e,f,g.handle)===!1)&&v.removeEvent(e,u,g.handle),delete h[u])}v.isEmptyObject(h)&&(delete g.handle,v.removeData(e,"events",!0))},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,s,o){if(!s||s.nodeType!==3&&s.nodeType!==8){var u,a,f,l,c,h,p,d,m,g,y=n.type||n,b=[];if(Y.test(y+v.event.triggered))return;y.indexOf("!")>=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f<m.length&&!n.isPropagationStopped();f++)l=m[f][0],n.type=m[f][1],d=(v._data(l,"events")||{})[n.type]&&v._data(l,"handle"),d&&d.apply(l,r),d=h&&l[h],d&&v.acceptData(l)&&d.apply&&d.apply(l,r)===!1&&n.preventDefault();return n.type=y,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(s.ownerDocument,r)===!1)&&(y!=="click"||!v.nodeName(s,"a"))&&v.acceptData(s)&&h&&s[y]&&(y!=="focus"&&y!=="blur"||n.target.offsetWidth!==0)&&!v.isWindow(s)&&(c=s[h],c&&(s[h]=null),v.event.triggered=y,s[y](),v.event.triggered=t,c&&(s[h]=c)),n.result}return},dispatch:function(n){n=v.event.fix(n||e.event);var r,i,s,o,u,a,f,c,h,p,d=(v._data(this,"events")||{})[n.type]||[],m=d.delegateCount,g=l.call(arguments),y=!n.exclusive&&!n.namespace,b=v.event.special[n.type]||{},w=[];g[0]=n,n.delegateTarget=this;if(b.preDispatch&&b.preDispatch.call(this,n)===!1)return;if(m&&(!n.button||n.type!=="click"))for(s=n.target;s!=this;s=s.parentNode||this)if(s.disabled!==!0||n.type!=="click"){u={},f=[];for(r=0;r<m;r++)c=d[r],h=c.selector,u[h]===t&&(u[h]=c.needsContext?v(h,this).index(s)>=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r<w.length&&!n.isPropagationStopped();r++){a=w[r],n.currentTarget=a.elem;for(i=0;i<a.matches.length&&!n.isImmediatePropagationStopped();i++){c=a.matches[i];if(y||!n.namespace&&!c.namespace||n.namespace_re&&n.namespace_re.test(c.namespace))n.data=c.data,n.handleObj=c,o=((v.event.special[c.origType]||{}).handle||c.handler).apply(a.elem,g),o!==t&&(n.result=o,o===!1&&(n.preventDefault(),n.stopPropagation()))}}return b.postDispatch&&b.postDispatch.call(this,n),n.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return e.which==null&&(e.which=t.charCode!=null?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,s,o,u=n.button,a=n.fromElement;return e.pageX==null&&n.clientX!=null&&(r=e.target.ownerDocument||i,s=r.documentElement,o=r.body,e.pageX=n.clientX+(s&&s.scrollLeft||o&&o.scrollLeft||0)-(s&&s.clientLeft||o&&o.clientLeft||0),e.pageY=n.clientY+(s&&s.scrollTop||o&&o.scrollTop||0)-(s&&s.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?n.toElement:a),!e.which&&u!==t&&(e.which=u&1?1:u&2?3:u&4?2:0),e}},fix:function(e){if(e[v.expando])return e;var t,n,r=e,s=v.event.fixHooks[e.type]||{},o=s.props?this.props.concat(s.props):this.props;e=v.Event(r);for(t=o.length;t;)n=o[--t],e[n]=r[n];return e.target||(e.target=r.srcElement||i),e.target.nodeType===3&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,r):e},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){v.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,r){var i=v.extend(new v.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?v.event.trigger(i,null,t):v.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},v.event.handle=v.event.dispatch,v.removeEvent=i.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]=="undefined"&&(e[r]=null),e.detachEvent(r,n))},v.Event=function(e,t){if(!(this instanceof v.Event))return new v.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?tt:et):this.type=e,t&&v.extend(this,t),this.timeStamp=e&&e.timeStamp||v.now(),this[v.expando]=!0},v.Event.prototype={preventDefault:function(){this.isDefaultPrevented=tt;var e=this.originalEvent;if(!e)return;e.preventDefault?e.preventDefault():e.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=tt;var e=this.originalEvent;if(!e)return;e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=tt,this.stopPropagation()},isDefaultPrevented:et,isPropagationStopped:et,isImmediatePropagationStopped:et},v.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){v.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,s=e.handleObj,o=s.selector;if(!i||i!==r&&!v.contains(r,i))e.type=s.origType,n=s.handler.apply(this,arguments),e.type=t;return n}}}),v.support.submitBubbles||(v.event.special.submit={setup:function(){if(v.nodeName(this,"form"))return!1;v.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=v.nodeName(n,"input")||v.nodeName(n,"button")?n.form:t;r&&!v._data(r,"_submit_attached")&&(v.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),v._data(r,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&v.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(v.nodeName(this,"form"))return!1;v.event.remove(this,"._submit")}}),v.support.changeBubbles||(v.event.special.change={setup:function(){if($.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")v.event.add(this,"propertychange._change",function(e){e.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),v.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),v.event.simulate("change",this,e,!0)});return!1}v.event.add(this,"beforeactivate._change",function(e){var t=e.target;$.test(t.nodeName)&&!v._data(t,"_change_attached")&&(v.event.add(t,"change._change",function(e){this.parentNode&&!e.isSimulated&&!e.isTrigger&&v.event.simulate("change",this.parentNode,e,!0)}),v._data(t,"_change_attached",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||t.type!=="radio"&&t.type!=="checkbox")return e.handleObj.handler.apply(this,arguments)},teardown:function(){return v.event.remove(this,"._change"),!$.test(this.nodeName)}}),v.support.focusinBubbles||v.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){v.event.simulate(t,e.target,v.event.fix(e),!0)};v.event.special[t]={setup:function(){n++===0&&i.addEventListener(e,r,!0)},teardown:function(){--n===0&&i.removeEventListener(e,r,!0)}}}),v.fn.extend({on:function(e,n,r,i,s){var o,u;if(typeof e=="object"){typeof n!="string"&&(r=r||n,n=t);for(u in e)this.on(u,n,r,e[u],s);return this}r==null&&i==null?(i=n,r=n=t):i==null&&(typeof n=="string"?(i=r,r=t):(i=r,r=n,n=t));if(i===!1)i=et;else if(!i)return this;return s===1&&(o=i,i=function(e){return v().off(e),o.apply(this,arguments)},i.guid=o.guid||(o.guid=v.guid++)),this.each(function(){v.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,s;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,v(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if(typeof e=="object"){for(s in e)this.off(s,n,e[s]);return this}if(n===!1||typeof n=="function")r=n,n=t;return r===!1&&(r=et),this.each(function(){v.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return v(this.context).on(e,this.selector,t,n),this},die:function(e,t){return v(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){v.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return v.event.trigger(e,t,this[0],!0)},toggle:function(e){var t=arguments,n=e.guid||v.guid++,r=0,i=function(n){var i=(v._data(this,"lastToggle"+e.guid)||0)%r;return v._data(this,"lastToggle"+e.guid,i+1),n.preventDefault(),t[i].apply(this,arguments)||!1};i.guid=n;while(r<t.length)t[r++].guid=n;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),v.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){v.fn[t]=function(e,n){return n==null&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u<a;u++)if(s=e[u])if(!n||n(s,r,i))o.push(s),f&&t.push(u);return o}function ct(e,t,n,r,i,s){return r&&!r[d]&&(r=ct(r)),i&&!i[d]&&(i=ct(i,s)),N(function(s,o,u,a){var f,l,c,h=[],p=[],d=o.length,v=s||dt(t||"*",u.nodeType?[u]:u,[]),m=e&&(s||!t)?lt(v,h,e,u,a):v,g=n?i||(s?e:d||r)?[]:o:m;n&&n(m,g,u,a);if(r){f=lt(g,p),r(f,[],u,a),l=f.length;while(l--)if(c=f[l])g[p[l]]=!(m[p[l]]=c)}if(s){if(i||e){if(i){f=[],l=g.length;while(l--)(c=g[l])&&f.push(m[l]=c);i(null,g=[],f,a)}l=g.length;while(l--)(c=g[l])&&(f=i?T.call(s,c):h[l])>-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a<s;a++)if(n=i.relative[e[a].type])h=[at(ft(h),n)];else{n=i.filter[e[a].type].apply(null,e[a].matches);if(n[d]){r=++a;for(;r<s;r++)if(i.relative[e[r].type])break;return ct(a>1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a<r&&ht(e.slice(a,r)),r<s&&ht(e=e.slice(r)),r<s&&e.join(""))}h.push(n)}return ft(h)}function pt(e,t){var r=t.length>0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r<i;r++)nt(e,t[r],n);return n}function vt(e,t,n,r,s){var o,u,f,l,c,h=ut(e),p=h.length;if(!r&&h.length===1){u=h[0]=h[0].slice(0);if(u.length>2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;t<n;t++)if(this[t]===e)return t;return-1},N=function(e,t){return e[d]=t==null||t,e},C=function(){var e={},t=[];return N(function(n,r){return t.push(n)>i.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="<a name='"+d+"'></a><div name='"+d+"'></div>",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:st(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:st(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},f=y.compareDocumentPosition?function(e,t){return e===t?(l=!0,0):(!e.compareDocumentPosition||!t.compareDocumentPosition?e.compareDocumentPosition:e.compareDocumentPosition(t)&4)?-1:1}:function(e,t){if(e===t)return l=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],s=[],o=e.parentNode,u=t.parentNode,a=o;if(o===u)return ot(e,t);if(!o)return-1;if(!u)return 1;while(a)i.unshift(a),a=a.parentNode;a=u;while(a)s.unshift(a),a=a.parentNode;n=i.length,r=s.length;for(var f=0;f<n&&f<r;f++)if(i[f]!==s[f])return ot(i[f],s[f]);return f===n?ot(e,s[f],-1):ot(i[f],t,1)},[0,0].sort(f),h=!l,nt.uniqueSort=function(e){var t,n=[],r=1,i=0;l=h,e.sort(f);if(l){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e},nt.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},a=nt.compile=function(e,t){var n,r=[],i=[],s=A[d][e+" "];if(!s){t||(t=ut(e)),n=t.length;while(n--)s=ht(t[n]),s[d]?r.push(s):i.push(s);s=A(e,pt(i,r))}return s},g.querySelectorAll&&function(){var e,t=vt,n=/'|\\/g,r=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,i=[":focus"],s=[":active"],u=y.matchesSelector||y.mozMatchesSelector||y.webkitMatchesSelector||y.oMatchesSelector||y.msMatchesSelector;K(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'/>",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t<n;t++)if(v.contains(u[t],this))return!0});o=this.pushStack("","find",e);for(t=0,n=this.length;t<n;t++){r=o.length,v.find(e,this[t],o);if(t>0)for(i=r;i<o.length;i++)for(s=0;s<r;s++)if(o[s]===o[i]){o.splice(i--,1);break}}return o},has:function(e){var t,n=v(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(v.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e,!1),"not",e)},filter:function(e){return this.pushStack(ft(this,e,!0),"filter",e)},is:function(e){return!!e&&(typeof e=="string"?st.test(e)?v(e,this.context).index(this[0])>=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r<i;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&n.nodeType!==11){if(o?o.index(n)>-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/<tbody/i,gt=/<|&#?\w+;/,yt=/<(?:script|style|link)/i,bt=/<(?:script|object|embed|option|style)/i,wt=new RegExp("<(?:"+ct+")[\\s/>]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Nt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X<div>","</div>"]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1></$2>");try{for(;r<i;r++)n=this[r]||{},n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),n.innerHTML=e);n=0}catch(s){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return ut(this[0])?this.length?this.pushStack(v(v.isFunction(e)?e():e),"replaceWith",e):this:v.isFunction(e)?this.each(function(t){var n=v(this),r=n.html();n.replaceWith(e.call(this,t,r))}):(typeof e!="string"&&(e=v(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;v(this).remove(),t?v(t).before(e):v(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=[].concat.apply([],e);var i,s,o,u,a=0,f=e[0],l=[],c=this.length;if(!v.support.checkClone&&c>1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a<c;a++)r.call(n&&v.nodeName(this[a],"table")?Lt(this[a],"tbody"):this[a],a===u?o:v.clone(o,!0,!0))}o=s=null,l.length&&v.each(l,function(e,t){t.src?v.ajax?v.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):v.error("no ajax"):v.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Tt,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),v.buildFragment=function(e,n,r){var s,o,u,a=e[0];return n=n||i,n=!n.nodeType&&n[0]||n,n=n.ownerDocument||n,e.length===1&&typeof a=="string"&&a.length<512&&n===i&&a.charAt(0)==="<"&&!bt.test(a)&&(v.support.checkClone||!St.test(a))&&(v.support.html5Clone||!wt.test(a))&&(o=!0,s=v.fragments[a],u=s!==t),s||(s=n.createDocumentFragment(),v.clean(e,n,s,r),o&&(v.fragments[a]=u&&s)),{fragment:s,cacheable:o}},v.fragments={},v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){v.fn[e]=function(n){var r,i=0,s=[],o=v(n),u=o.length,a=this.length===1&&this[0].parentNode;if((a==null||a&&a.nodeType===11&&a.childNodes.length===1)&&u===1)return o[t](this[0]),this;for(;i<u;i++)r=(i>0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1></$2>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]==="<table>"&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("<div>").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r<i;r++)n=e[r],Vn[n]=Vn[n]||[],Vn[n].unshift(t)},prefilter:function(e,t){t?Xn.unshift(e):Xn.push(e)}}),v.Tween=Yn,Yn.prototype={constructor:Yn,init:function(e,t,n,r,i,s){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(v.cssNumber[n]?"":"px")},cur:function(){var e=Yn.propHooks[this.prop];return e&&e.get?e.get(this):Yn.propHooks._default.get(this)},run:function(e){var t,n=Yn.propHooks[this.prop];return this.options.duration?this.pos=t=v.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Yn.propHooks._default.set(this),this}},Yn.prototype.init.prototype=Yn.prototype,Yn.propHooks={_default:{get:function(e){var t;return e.elem[e.prop]==null||!!e.elem.style&&e.elem.style[e.prop]!=null?(t=v.css(e.elem,e.prop,!1,""),!t||t==="auto"?0:t):e.elem[e.prop]},set:function(e){v.fx.step[e.prop]?v.fx.step[e.prop](e):e.elem.style&&(e.elem.style[v.cssProps[e.prop]]!=null||v.cssHooks[e.prop])?v.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Yn.propHooks.scrollTop=Yn.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},v.each(["toggle","show","hide"],function(e,t){var n=v.fn[t];v.fn[t]=function(r,i,s){return r==null||typeof r=="boolean"||!e&&v.isFunction(r)&&v.isFunction(i)?n.apply(this,arguments):this.animate(Zn(t,!0),r,i,s)}}),v.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Gt).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=v.isEmptyObject(e),s=v.speed(t,n,r),o=function(){var t=Kn(this,v.extend({},e),s);i&&t.stop(!0)};return i||s.queue===!1?this.each(o):this.queue(s.queue,o)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return typeof e!="string"&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=e!=null&&e+"queueHooks",s=v.timers,o=v._data(this);if(n)o[n]&&o[n].stop&&i(o[n]);else for(n in o)o[n]&&o[n].stop&&Wn.test(n)&&i(o[n]);for(n=s.length;n--;)s[n].elem===this&&(e==null||s[n].queue===e)&&(s[n].anim.stop(r),t=!1,s.splice(n,1));(t||!r)&&v.dequeue(this,e)})}}),v.each({slideDown:Zn("show"),slideUp:Zn("hide"),slideToggle:Zn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){v.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),v.speed=function(e,t,n){var r=e&&typeof e=="object"?v.extend({},e):{complete:n||!n&&t||v.isFunction(e)&&e,duration:e,easing:n&&t||t&&!v.isFunction(t)&&t};r.duration=v.fx.off?0:typeof r.duration=="number"?r.duration:r.duration in v.fx.speeds?v.fx.speeds[r.duration]:v.fx.speeds._default;if(r.queue==null||r.queue===!0)r.queue="fx";return r.old=r.complete,r.complete=function(){v.isFunction(r.old)&&r.old.call(this),r.queue&&v.dequeue(this,r.queue)},r},v.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},v.timers=[],v.fx=Yn.prototype.init,v.fx.tick=function(){var e,n=v.timers,r=0;qn=v.now();for(;r<n.length;r++)e=n[r],!e()&&n[r]===e&&n.splice(r--,1);n.length||v.fx.stop(),qn=t},v.fx.timer=function(e){e()&&v.timers.push(e)&&!Rn&&(Rn=setInterval(v.fx.tick,v.fx.interval))},v.fx.interval=13,v.fx.stop=function(){clearInterval(Rn),Rn=null},v.fx.speeds={slow:600,fast:200,_default:400},v.fx.step={},v.expr&&v.expr.filters&&(v.expr.filters.animated=function(e){return v.grep(v.timers,function(t){return e===t.elem}).length});var er=/^(?:body|html)$/i;v.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){v.offset.setOffset(this,e,t)});var n,r,i,s,o,u,a,f={top:0,left:0},l=this[0],c=l&&l.ownerDocument;if(!c)return;return(r=c.body)===l?v.offset.bodyOffset(l):(n=c.documentElement,v.contains(n,l)?(typeof l.getBoundingClientRect!="undefined"&&(f=l.getBoundingClientRect()),i=tr(c),s=n.clientTop||r.clientTop||0,o=n.clientLeft||r.clientLeft||0,u=i.pageYOffset||n.scrollTop,a=i.pageXOffset||n.scrollLeft,{top:f.top+u-s,left:f.left+a-o}):f)},v.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return v.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(v.css(e,"marginTop"))||0,n+=parseFloat(v.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=v.css(e,"position");r==="static"&&(e.style.position="relative");var i=v(e),s=i.offset(),o=v.css(e,"top"),u=v.css(e,"left"),a=(r==="absolute"||r==="fixed")&&v.inArray("auto",[o,u])>-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window);Function(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n<r;n++)if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(q," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a<u;a++){n=r[a];if((n.selected||a===i)&&(v.support.optDisabled?!n.disabled:n.getAttribute("disabled")===null)&&(!n.parentNode.disabled||!v.nodeName(n.parentNode,"optgroup"))){t=v(n).val();if(s)return t;o.push(t)}}return o},set:function(e,t){var n=v.makeArray(t);return v(e).find("option").each(function(){this.selected=v.inArray(v(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o<r.length;o++)i=r[o],i&&(n=v.propFix[i]||i,s=X.test(i),s||v.attr(e,i,""),e.removeAttribute(V?i:n),s&&n in e&&(e[n]=!1))}},attrHooks:{type:{set:function(e,t){if(U.test(e.nodeName)&&e.parentNode)v.error("type property can't be changed");else if(!v.support.radioValue&&t==="radio"&&v.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return j&&v.nodeName(e,"button")?j.get(e,t):t in e?e.value:null},set:function(e,t,n){if(j&&v.nodeName(e,"button"))return j.set(e,t,n);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,s,o,u=e.nodeType;if(!e||u===3||u===8||u===2)return;return o=u!==1||!v.isXMLDoc(e),o&&(n=v.propFix[n]||n,s=v.propHooks[n]),r!==t?s&&"set"in s&&(i=s.set(e,r,n))!==t?i:e[n]=r:s&&"get"in s&&(i=s.get(e,n))!==null?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):z.test(e.nodeName)||W.test(e.nodeName)&&e.href?0:t}}}}),F={get:function(e,n){var r,i=v.prop(e,n);return i===!0||typeof i!="boolean"&&(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;return t===!1?v.removeAttr(e,n):(r=v.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},V||(I={name:!0,id:!0,coords:!0},j=v.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&(I[n]?r.value!=="":r.specified)?r.value:t},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=i.createAttribute(n),e.setAttributeNode(r)),r.value=t+""}},v.each(["width","height"],function(e,t){v.attrHooks[t]=v.extend(v.attrHooks[t],{set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}})}),v.attrHooks.contenteditable={get:j.get,set:function(e,t,n){t===""&&(t="false"),j.set(e,t,n)}}),v.support.hrefNormalized||v.each(["href","src","width","height"],function(e,n){v.attrHooks[n]=v.extend(v.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return r===null?t:r}})}),v.support.style||(v.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()| \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/zepto.js b/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/zepto.js
deleted file mode 100644
index ef1e61f7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/demo/js/zepto.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/*!
- * Zepto v1.0 zeptojs.com | MIT licensed
- * Modules: zepto, polyfill, event, data, stack
- */
-var Zepto=function(){function h(a){return null==a?String(a):G[S.call(a)]||"object"}function m(a){return"function"==h(a)}function p(a){return null!=a&&a==a.window}function s(a){return null!=a&&a.nodeType==a.DOCUMENT_NODE}function q(a){return"object"==h(a)}function k(a){return q(a)&&!p(a)&&a.__proto__==Object.prototype}function t(a){return a instanceof Array}function l(a){return"number"==typeof a.length}function j(a){return a.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,
-"$1_$2").replace(/_/g,"-").toLowerCase()}function r(a){return a in H?H[a]:H[a]=RegExp("(^|\\s)"+a+"(\\s|$)")}function A(a){return"children"in a?B.call(a.children):c.map(a.childNodes,function(a){if(1==a.nodeType)return a})}function C(a,b,d){for(g in b)d&&(k(b[g])||t(b[g]))?(k(b[g])&&!k(a[g])&&(a[g]={}),t(b[g])&&!t(a[g])&&(a[g]=[]),C(a[g],b[g],d)):b[g]!==f&&(a[g]=b[g])}function y(a,b){return b===f?c(a):c(a).filter(b)}function x(a,b,d,c){return m(b)?b.call(a,d,c):b}function z(a,b){var d=a.className,
-c=d&&d.baseVal!==f;if(b===f)return c?d.baseVal:d;c?d.baseVal=b:a.className=b}function E(a){var b;try{return a?"true"==a||("false"==a?!1:"null"==a?null:!isNaN(b=Number(a))?b:/^[\[\{]/.test(a)?c.parseJSON(a):a):a}catch(d){return a}}function e(a,b){b(a);for(var d in a.childNodes)e(a.childNodes[d],b)}var f,g,c,u,w=[],B=w.slice,D=w.filter,v=window.document,I={},H={},J=v.defaultView.getComputedStyle,M={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},N=/^\s*<(\w+|!)[^>]*>/,
-T=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,O=/^(?:body|html)$/i,U="val css html text data width height offset".split(" "),K=v.createElement("table"),P=v.createElement("tr"),Q={tr:v.createElement("tbody"),tbody:K,thead:K,tfoot:K,td:P,th:P,"*":v.createElement("div")},V=/complete|loaded|interactive/,W=/^\.([\w-]+)$/,X=/^#([\w-]*)$/,Y=/^[\w-]+$/,G={},S=G.toString,n={},L,F,R=v.createElement("div");n.matches=function(a,b){if(!a||1!==a.nodeType)return!1;var d=a.webkitMatchesSelector||
-a.mozMatchesSelector||a.oMatchesSelector||a.matchesSelector;if(d)return d.call(a,b);var c;c=a.parentNode;(d=!c)&&(c=R).appendChild(a);c=~n.qsa(c,b).indexOf(a);d&&R.removeChild(a);return c};L=function(a){return a.replace(/-+(.)?/g,function(a,d){return d?d.toUpperCase():""})};F=function(a){return D.call(a,function(b,d){return a.indexOf(b)==d})};n.fragment=function(a,b,d){a.replace&&(a=a.replace(T,"<$1></$2>"));b===f&&(b=N.test(a)&&RegExp.$1);b in Q||(b="*");var e,g=Q[b];g.innerHTML=""+a;a=c.each(B.call(g.childNodes),
-function(){g.removeChild(this)});k(d)&&(e=c(a),c.each(d,function(a,b){if(-1<U.indexOf(a))e[a](b);else e.attr(a,b)}));return a};n.Z=function(a,b){a=a||[];a.__proto__=c.fn;a.selector=b||"";return a};n.isZ=function(a){return a instanceof n.Z};n.init=function(a,b){if(a){if(m(a))return c(v).ready(a);if(n.isZ(a))return a;var d;if(t(a))d=D.call(a,function(a){return null!=a});else if(q(a))d=[k(a)?c.extend({},a):a],a=null;else if(N.test(a))d=n.fragment(a.trim(),RegExp.$1,b),a=null;else{if(b!==f)return c(b).find(a);
-d=n.qsa(v,a)}return n.Z(d,a)}return n.Z()};c=function(a,b){return n.init(a,b)};c.extend=function(a){var b,d=B.call(arguments,1);"boolean"==typeof a&&(b=a,a=d.shift());d.forEach(function(d){C(a,d,b)});return a};n.qsa=function(a,b){var d;return s(a)&&X.test(b)?(d=a.getElementById(RegExp.$1))?[d]:[]:1!==a.nodeType&&9!==a.nodeType?[]:B.call(W.test(b)?a.getElementsByClassName(RegExp.$1):Y.test(b)?a.getElementsByTagName(b):a.querySelectorAll(b))};c.contains=function(a,b){return a!==b&&a.contains(b)};c.type=
-h;c.isFunction=m;c.isWindow=p;c.isArray=t;c.isPlainObject=k;c.isEmptyObject=function(a){for(var b in a)return!1;return!0};c.inArray=function(a,b,d){return w.indexOf.call(b,a,d)};c.camelCase=L;c.trim=function(a){return a.trim()};c.uuid=0;c.support={};c.expr={};c.map=function(a,b){var d,e=[],f;if(l(a))for(f=0;f<a.length;f++)d=b(a[f],f),null!=d&&e.push(d);else for(f in a)d=b(a[f],f),null!=d&&e.push(d);return 0<e.length?c.fn.concat.apply([],e):e};c.each=function(a,b){var d;if(l(a))for(d=0;d<a.length&&
-!1!==b.call(a[d],d,a[d]);d++);else for(d in a)if(!1===b.call(a[d],d,a[d]))break;return a};c.grep=function(a,b){return D.call(a,b)};window.JSON&&(c.parseJSON=JSON.parse);c.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){G["[object "+b+"]"]=b.toLowerCase()});c.fn={forEach:w.forEach,reduce:w.reduce,push:w.push,sort:w.sort,indexOf:w.indexOf,concat:w.concat,map:function(a){return c(c.map(this,function(b,d){return a.call(b,d,b)}))},slice:function(){return c(B.apply(this,
-arguments))},ready:function(a){V.test(v.readyState)?a(c):v.addEventListener("DOMContentLoaded",function(){a(c)},!1);return this},get:function(a){return a===f?B.call(this):this[0<=a?a:a+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(a){w.every.call(this,function(b,d){return!1!==a.call(b,d,b)});return this},filter:function(a){return m(a)?this.not(this.not(a)):
-c(D.call(this,function(b){return n.matches(b,a)}))},add:function(a,b){return c(F(this.concat(c(a,b))))},is:function(a){return 0<this.length&&n.matches(this[0],a)},not:function(a){var b=[];if(m(a)&&a.call!==f)this.each(function(d){a.call(this,d)||b.push(this)});else{var d="string"==typeof a?this.filter(a):l(a)&&m(a.item)?B.call(a):c(a);this.forEach(function(a){0>d.indexOf(a)&&b.push(a)})}return c(b)},has:function(a){return this.filter(function(){return q(a)?c.contains(this,a):c(this).find(a).size()})},
-eq:function(a){return-1===a?this.slice(a):this.slice(a,+a+1)},first:function(){var a=this[0];return a&&!q(a)?a:c(a)},last:function(){var a=this[this.length-1];return a&&!q(a)?a:c(a)},find:function(a){var b=this;return"object"==typeof a?c(a).filter(function(){var a=this;return w.some.call(b,function(b){return c.contains(b,a)})}):1==this.length?c(n.qsa(this[0],a)):this.map(function(){return n.qsa(this,a)})},closest:function(a,b){var d=this[0],e=!1;for("object"==typeof a&&(e=c(a));d&&!(e?0<=e.indexOf(d):
-n.matches(d,a));)d=d!==b&&!s(d)&&d.parentNode;return c(d)},parents:function(a){for(var b=[],d=this;0<d.length;)d=c.map(d,function(a){if((a=a.parentNode)&&!s(a)&&0>b.indexOf(a))return b.push(a),a});return y(b,a)},parent:function(a){return y(F(this.pluck("parentNode")),a)},children:function(a){return y(this.map(function(){return A(this)}),a)},contents:function(){return this.map(function(){return B.call(this.childNodes)})},siblings:function(a){return y(this.map(function(a,d){return D.call(A(d.parentNode),
-function(a){return a!==d})}),a)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(a){return c.map(this,function(b){return b[a]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=null);if("none"==J(this,"").getPropertyValue("display")){var a=this.style,b=this.nodeName,d,c;I[b]||(d=v.createElement(b),v.body.appendChild(d),c=J(d,"").getPropertyValue("display"),d.parentNode.removeChild(d),"none"==c&&(c="block"),I[b]=c);a.display=
-I[b]}})},replaceWith:function(a){return this.before(a).remove()},wrap:function(a){var b=m(a);if(this[0]&&!b)var d=c(a).get(0),e=d.parentNode||1<this.length;return this.each(function(f){c(this).wrapAll(b?a.call(this,f):e?d.cloneNode(!0):d)})},wrapAll:function(a){if(this[0]){c(this[0]).before(a=c(a));for(var b;(b=a.children()).length;)a=b.first();c(a).append(this)}return this},wrapInner:function(a){var b=m(a);return this.each(function(d){var e=c(this),f=e.contents();d=b?a.call(this,d):a;f.length?f.wrapAll(d):
-e.append(d)})},unwrap:function(){this.parent().each(function(){c(this).replaceWith(c(this).children())});return this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(a){return this.each(function(){var b=c(this);(a===f?"none"==b.css("display"):a)?b.show():b.hide()})},prev:function(a){return c(this.pluck("previousElementSibling")).filter(a||"*")},next:function(a){return c(this.pluck("nextElementSibling")).filter(a||
-"*")},html:function(a){return a===f?0<this.length?this[0].innerHTML:null:this.each(function(b){var d=this.innerHTML;c(this).empty().append(x(this,a,b,d))})},text:function(a){return a===f?0<this.length?this[0].textContent:null:this.each(function(){this.textContent=a})},attr:function(a,b){var d;return"string"==typeof a&&b===f?0==this.length||1!==this[0].nodeType?f:"value"==a&&"INPUT"==this[0].nodeName?this.val():!(d=this[0].getAttribute(a))&&a in this[0]?this[0][a]:d:this.each(function(d){if(1===this.nodeType)if(q(a))for(g in a){d=
-g;var c=a[g];null==c?this.removeAttribute(d):this.setAttribute(d,c)}else d=x(this,b,d,this.getAttribute(a)),null==d?this.removeAttribute(a):this.setAttribute(a,d)})},removeAttr:function(a){return this.each(function(){1===this.nodeType&&this.removeAttribute(a)})},prop:function(a,b){return b===f?this[0]&&this[0][a]:this.each(function(d){this[a]=x(this,b,d,this[a])})},data:function(a,b){var d=this.attr("data-"+j(a),b);return null!==d?E(d):f},val:function(a){return a===f?this[0]&&(this[0].multiple?c(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):
-this[0].value):this.each(function(b){this.value=x(this,a,b,this.value)})},offset:function(a){if(a)return this.each(function(b){var e=c(this);b=x(this,a,b,e.offset());var f=e.offsetParent().offset();b={top:b.top-f.top,left:b.left-f.left};"static"==e.css("position")&&(b.position="relative");e.css(b)});if(0==this.length)return null;var b=this[0].getBoundingClientRect();return{left:b.left+window.pageXOffset,top:b.top+window.pageYOffset,width:Math.round(b.width),height:Math.round(b.height)}},css:function(a,
-b){if(2>arguments.length&&"string"==typeof a)return this[0]&&(this[0].style[L(a)]||J(this[0],"").getPropertyValue(a));var d="";if("string"==h(a))!b&&0!==b?this.each(function(){this.style.removeProperty(j(a))}):d=j(a)+":"+("number"==typeof b&&!M[j(a)]?b+"px":b);else for(g in a)!a[g]&&0!==a[g]?this.each(function(){this.style.removeProperty(j(g))}):d+=j(g)+":"+("number"==typeof a[g]&&!M[j(g)]?a[g]+"px":a[g])+";";return this.each(function(){this.style.cssText+=";"+d})},index:function(a){return a?this.indexOf(c(a)[0]):
-this.parent().children().indexOf(this[0])},hasClass:function(a){return w.some.call(this,function(a){return this.test(z(a))},r(a))},addClass:function(a){return this.each(function(b){u=[];var d=z(this);x(this,a,b,d).split(/\s+/g).forEach(function(a){c(this).hasClass(a)||u.push(a)},this);u.length&&z(this,d+(d?" ":"")+u.join(" "))})},removeClass:function(a){return this.each(function(b){if(a===f)return z(this,"");u=z(this);x(this,a,b,u).split(/\s+/g).forEach(function(a){u=u.replace(r(a)," ")});z(this,
-u.trim())})},toggleClass:function(a,b){return this.each(function(d){var e=c(this);x(this,a,d,z(this)).split(/\s+/g).forEach(function(a){(b===f?!e.hasClass(a):b)?e.addClass(a):e.removeClass(a)})})},scrollTop:function(){if(this.length)return"scrollTop"in this[0]?this[0].scrollTop:this[0].scrollY},position:function(){if(this.length){var a=this[0],b=this.offsetParent(),d=this.offset(),e=O.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c(a).css("margin-top"))||0;d.left-=parseFloat(c(a).css("margin-left"))||
-0;e.top+=parseFloat(c(b[0]).css("border-top-width"))||0;e.left+=parseFloat(c(b[0]).css("border-left-width"))||0;return{top:d.top-e.top,left:d.left-e.left}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||v.body;a&&!O.test(a.nodeName)&&"static"==c(a).css("position");)a=a.offsetParent;return a})}};c.fn.detach=c.fn.remove;["width","height"].forEach(function(a){c.fn[a]=function(b){var d,e=this[0],g=a.replace(/./,function(a){return a[0].toUpperCase()});return b===f?p(e)?
-e["inner"+g]:s(e)?e.documentElement["offset"+g]:(d=this.offset())&&d[a]:this.each(function(d){e=c(this);e.css(a,x(this,b,d,e[a]()))})}});["after","prepend","before","append"].forEach(function(a,b){var d=b%2;c.fn[a]=function(){var a,f=c.map(arguments,function(b){a=h(b);return"object"==a||"array"==a||null==b?b:n.fragment(b)}),g,u=1<this.length;return 1>f.length?this:this.each(function(a,h){g=d?h:h.parentNode;h=0==b?h.nextSibling:1==b?h.firstChild:2==b?h:null;f.forEach(function(a){if(u)a=a.cloneNode(!0);
-else if(!g)return c(a).remove();e(g.insertBefore(a,h),function(a){null!=a.nodeName&&("SCRIPT"===a.nodeName.toUpperCase()&&(!a.type||"text/javascript"===a.type)&&!a.src)&&window.eval.call(window,a.innerHTML)})})})};c.fn[d?a+"To":"insert"+(b?"Before":"After")]=function(b){c(b)[a](this);return this}});n.Z.prototype=c.fn;n.uniq=F;n.deserializeValue=E;c.zepto=n;return c}();window.Zepto=Zepto;"$"in window||(window.$=Zepto);
-(function(h){String.prototype.trim===h&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});Array.prototype.reduce===h&&(Array.prototype.reduce=function(m){if(void 0===this||null===this)throw new TypeError;var p=Object(this),s=p.length>>>0,q=0,k;if("function"!=typeof m)throw new TypeError;if(0==s&&1==arguments.length)throw new TypeError;if(2<=arguments.length)k=arguments[1];else{do{if(q in p){k=p[q++];break}if(++q>=s)throw new TypeError;}while(1)}for(;q<s;)q in p&&(k=m.call(h,
-k,p[q],q,p)),q++;return k})})();
-(function(h){function m(e){return e._zid||(e._zid=r++)}function p(e,f,g,c){f=s(f);if(f.ns)var h=RegExp("(?:^| )"+f.ns.replace(" "," .* ?")+"(?: |$)");return(j[m(e)]||[]).filter(function(e){return e&&(!f.e||e.e==f.e)&&(!f.ns||h.test(e.ns))&&(!g||m(e.fn)===m(g))&&(!c||e.sel==c)})}function s(e){e=(""+e).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function q(e,f,g){"string"!=h.type(e)?h.each(e,g):e.split(/\s/).forEach(function(e){g(e,f)})}function k(e,f,g,c,u,l){var k=m(e),r=j[k]||(j[k]=
-[]);q(f,g,function(f,g){var j=s(f);j.fn=g;j.sel=c;j.e in C&&(g=function(e){var c=e.relatedTarget;if(!c||c!==this&&!h.contains(this,c))return j.fn.apply(this,arguments)});j.del=u&&u(g,f);var k=j.del||g;j.proxy=function(c){var f=k.apply(e,[c].concat(c.data));!1===f&&(c.preventDefault(),c.stopPropagation());return f};j.i=r.length;r.push(j);e.addEventListener(C[j.e]||j.e,j.proxy,j.del&&("focus"==j.e||"blur"==j.e)||!!l)})}function t(e,f,g,c,h){var l=m(e);q(f||"",g,function(f,g){p(e,f,g,c).forEach(function(c){delete j[l][c.i];
-e.removeEventListener(C[c.e]||c.e,c.proxy,c.del&&("focus"==c.e||"blur"==c.e)||!!h)})})}function l(e){var f,g={originalEvent:e};for(f in e)!z.test(f)&&void 0!==e[f]&&(g[f]=e[f]);h.each(E,function(c,f){g[c]=function(){this[f]=y;return e[c].apply(e,arguments)};g[f]=x});return g}var j={},r=1,A={},C={mouseenter:"mouseover",mouseleave:"mouseout"};A.click=A.mousedown=A.mouseup=A.mousemove="MouseEvents";h.event={add:k,remove:t};h.proxy=function(e,f){if(h.isFunction(e)){var g=function(){return e.apply(f,arguments)};
-g._zid=m(e);return g}if("string"==typeof f)return h.proxy(e[f],e);throw new TypeError("expected function");};h.fn.bind=function(e,f){return this.each(function(){k(this,e,f)})};h.fn.unbind=function(e,f){return this.each(function(){t(this,e,f)})};h.fn.one=function(e,f){return this.each(function(g,c){k(this,e,f,null,function(e,f){return function(){var g=e.apply(c,arguments);t(c,f,e);return g}})})};var y=function(){return!0},x=function(){return!1},z=/^([A-Z]|layer[XY]$)/,E={preventDefault:"isDefaultPrevented",
-stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};h.fn.delegate=function(e,f,g){return this.each(function(c,j){k(j,f,g,e,function(c){return function(f){var g,k=h(f.target).closest(e,j).get(0);if(k)return g=h.extend(l(f),{currentTarget:k,liveFired:j}),c.apply(k,[g].concat([].slice.call(arguments,1)))}})})};h.fn.undelegate=function(e,f,g){return this.each(function(){t(this,f,g,e)})};h.fn.live=function(e,f){h(document.body).delegate(this.selector,e,f);return this};
-h.fn.die=function(e,f){h(document.body).undelegate(this.selector,e,f);return this};h.fn.on=function(e,f,g){return!f||h.isFunction(f)?this.bind(e,f||g):this.delegate(f,e,g)};h.fn.off=function(e,f,g){return!f||h.isFunction(f)?this.unbind(e,f||g):this.undelegate(f,e,g)};h.fn.trigger=function(e,f){if("string"==typeof e||h.isPlainObject(e))e=h.Event(e);var g=e;if(!("defaultPrevented"in g)){g.defaultPrevented=!1;var c=g.preventDefault;g.preventDefault=function(){this.defaultPrevented=!0;c.call(this)}}e.data=
-f;return this.each(function(){"dispatchEvent"in this&&this.dispatchEvent(e)})};h.fn.triggerHandler=function(e,f){var g,c;this.each(function(j,k){g=l("string"==typeof e?h.Event(e):e);g.data=f;g.target=k;h.each(p(k,e.type||e),function(e,f){c=f.proxy(g);if(g.isImmediatePropagationStopped())return!1})});return c};"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(e){h.fn[e]=
-function(f){return f?this.bind(e,f):this.trigger(e)}});["focus","blur"].forEach(function(e){h.fn[e]=function(f){f?this.bind(e,f):this.each(function(){try{this[e]()}catch(f){}});return this}});h.Event=function(e,f){"string"!=typeof e&&(f=e,e=f.type);var g=document.createEvent(A[e]||"Events"),c=!0;if(f)for(var h in f)"bubbles"==h?c=!!f[h]:g[h]=f[h];g.initEvent(e,c,!0,null,null,null,null,null,null,null,null,null,null,null,null);g.isDefaultPrevented=function(){return this.defaultPrevented};return g}})(Zepto);
-(function(h){function m(l,j){var r=l[t],r=r&&s[r];if(void 0===j)return r||p(l);if(r){if(j in r)return r[j];var m=k(j);if(m in r)return r[m]}return q.call(h(l),j)}function p(l,j,m){var q=l[t]||(l[t]=++h.uuid),p;if(!(p=s[q])){p=s;var y={};h.each(l.attributes,function(j,l){0==l.name.indexOf("data-")&&(y[k(l.name.replace("data-",""))]=h.zepto.deserializeValue(l.value))});p=p[q]=y}l=p;void 0!==j&&(l[k(j)]=m);return l}var s={},q=h.fn.data,k=h.camelCase,t=h.expando="Zepto"+ +new Date;h.fn.data=function(l,
-j){return void 0===j?h.isPlainObject(l)?this.each(function(j,k){h.each(l,function(h,j){p(k,h,j)})}):0==this.length?void 0:m(this[0],l):this.each(function(){p(this,l,j)})};h.fn.removeData=function(l){"string"==typeof l&&(l=l.split(/\s+/));return this.each(function(){var j=this[t],m=j&&s[j];m&&h.each(l,function(){delete m[k(this)]})})}})(Zepto);(function(a){a.fn.end=function(){return this.prevObject||a()};a.fn.andSelf=function(){return this.add(this.prevObject||a())};"filter add not eq first last find closest parents parent children siblings".split(" ").forEach(function(b){var c=a.fn[b];a.fn[b]=function(){var a=c.apply(this,arguments);a.prevObject=this;return a}})})(Zepto);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/icheck.jquery.json b/uiframe-iui/src/main/resources/webroot/vendor/icheck/icheck.jquery.json
deleted file mode 100644
index bc38db31..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/icheck.jquery.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "name": "icheck",
- "version": "1.0.2",
- "title": "iCheck",
- "author": {
- "name": "Damir Sultanov",
- "email": "info@fronteed.com",
- "homepage": "http://fronteed.com/"
- },
- "licenses": [
- {
- "type": "MIT",
- "url": "http://en.wikipedia.org/wiki/MIT_License"
- }
- ],
- "dependencies": {
- "jquery": ">=1.7"
- },
- "description": "Highly customizable checkboxes and radio buttons (jQuery and Zepto). Features: identical inputs across different browsers and devices (both desktop and mobile), touch devices support (iOS, Android, BlackBerry, Windows Phone, Amazon Kindle), keyboard accessible inputs (Tab, Spacebar, Arrow up/down and other shortcuts), screenreader accessible inputs — (ARIA attributes for VoiceOver and others), customization freedom (use any HTML and CSS to style inputs or try 6 Retina-ready skins), lightweight size (1 kb gzipped). Provides 32 options to customize checkboxes and radio buttons, 11 callbacks to handle changes, 9 methods to make changes programmatically. Saves changes to original inputs, works carefully with any selectors.",
- "keywords": [
- "checkbox",
- "radio",
- "input",
- "field",
- "form",
- "desktop",
- "mobile",
- "custom",
- "replacement",
- "accessibility",
- "skins",
- "ui",
- "checked",
- "disabled",
- "indeterminate",
- "css3",
- "html5",
- "tiny",
- "lightweight",
- "jquery",
- "zepto"
- ],
- "homepage": "http://fronteed.com/iCheck/",
- "docs": "https://github.com/fronteed/iCheck",
- "demo": "http://fronteed.com/iCheck/",
- "download": "http://fronteed.com/iCheck/",
- "bugs": "https://github.com/fronteed/iCheck/issues/"
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/icheck.js b/uiframe-iui/src/main/resources/webroot/vendor/icheck/icheck.js
deleted file mode 100644
index 9b815233..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/icheck.js
+++ /dev/null
@@ -1,509 +0,0 @@
-/*!
- * iCheck v1.0.2, http://git.io/arlzeA
- * ===================================
- * Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization
- *
- * (c) 2013 Damir Sultanov, http://fronteed.com
- * MIT Licensed
- */
-
-(function($) {
-
- // Cached vars
- var _iCheck = 'iCheck',
- _iCheckHelper = _iCheck + '-helper',
- _checkbox = 'checkbox',
- _radio = 'radio',
- _checked = 'checked',
- _unchecked = 'un' + _checked,
- _disabled = 'disabled',
- _determinate = 'determinate',
- _indeterminate = 'in' + _determinate,
- _update = 'update',
- _type = 'type',
- _click = 'click',
- _touch = 'touchbegin.i touchend.i',
- _add = 'addClass',
- _remove = 'removeClass',
- _callback = 'trigger',
- _label = 'label',
- _cursor = 'cursor',
- _mobile = /ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);
-
- // Plugin init
- $.fn[_iCheck] = function(options, fire) {
-
- // Walker
- var handle = 'input[type="' + _checkbox + '"], input[type="' + _radio + '"]',
- stack = $(),
- walker = function(object) {
- object.each(function() {
- var self = $(this);
-
- if (self.is(handle)) {
- stack = stack.add(self);
- } else {
- stack = stack.add(self.find(handle));
- }
- });
- };
-
- // Check if we should operate with some method
- if (/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(options)) {
-
- // Normalize method's name
- options = options.toLowerCase();
-
- // Find checkboxes and radio buttons
- walker(this);
-
- return stack.each(function() {
- var self = $(this);
-
- if (options == 'destroy') {
- tidy(self, 'ifDestroyed');
- } else {
- operate(self, true, options);
- }
-
- // Fire method's callback
- if ($.isFunction(fire)) {
- fire();
- }
- });
-
- // Customization
- } else if (typeof options == 'object' || !options) {
-
- // Check if any options were passed
- var settings = $.extend({
- checkedClass: _checked,
- disabledClass: _disabled,
- indeterminateClass: _indeterminate,
- labelHover: true
- }, options),
-
- selector = settings.handle,
- hoverClass = settings.hoverClass || 'hover',
- focusClass = settings.focusClass || 'focus',
- activeClass = settings.activeClass || 'active',
- labelHover = !!settings.labelHover,
- labelHoverClass = settings.labelHoverClass || 'hover',
-
- // Setup clickable area
- area = ('' + settings.increaseArea).replace('%', '') | 0;
-
- // Selector limit
- if (selector == _checkbox || selector == _radio) {
- handle = 'input[type="' + selector + '"]';
- }
-
- // Clickable area limit
- if (area < -50) {
- area = -50;
- }
-
- // Walk around the selector
- walker(this);
-
- return stack.each(function() {
- var self = $(this);
-
- // If already customized
- tidy(self);
-
- var node = this,
- id = node.id,
-
- // Layer styles
- offset = -area + '%',
- size = 100 + (area * 2) + '%',
- layer = {
- position: 'absolute',
- top: offset,
- left: offset,
- display: 'block',
- width: size,
- height: size,
- margin: 0,
- padding: 0,
- background: '#fff',
- border: 0,
- opacity: 0
- },
-
- // Choose how to hide input
- hide = _mobile ? {
- position: 'absolute',
- visibility: 'hidden'
- } : area ? layer : {
- position: 'absolute',
- opacity: 0
- },
-
- // Get proper class
- className = node[_type] == _checkbox ? settings.checkboxClass || 'i' + _checkbox : settings.radioClass || 'i' + _radio,
-
- // Find assigned labels
- label = $(_label + '[for="' + id + '"]').add(self.closest(_label)),
-
- // Check ARIA option
- aria = !!settings.aria,
-
- // Set ARIA placeholder
- ariaID = _iCheck + '-' + Math.random().toString(36).substr(2,6),
-
- // Parent & helper
- parent = '<div class="' + className + '" ' + (aria ? 'role="' + node[_type] + '" ' : ''),
- helper;
-
- // Set ARIA "labelledby"
- if (aria) {
- label.each(function() {
- parent += 'aria-labelledby="';
-
- if (this.id) {
- parent += this.id;
- } else {
- this.id = ariaID;
- parent += ariaID;
- }
-
- parent += '"';
- });
- }
-
- // Wrap input
- parent = self.wrap(parent + '/>')[_callback]('ifCreated').parent().append(settings.insert);
-
- // Layer addition
- helper = $('<ins class="' + _iCheckHelper + '"/>').css(layer).appendTo(parent);
-
- // Finalize customization
- self.data(_iCheck, {o: settings, s: self.attr('style')}).css(hide);
- !!settings.inheritClass && parent[_add](node.className || '');
- !!settings.inheritID && id && parent.attr('id', _iCheck + '-' + id);
- parent.css('position') == 'static' && parent.css('position', 'relative');
- operate(self, true, _update);
-
- // Label events
- if (label.length) {
- label.on(_click + '.i mouseover.i mouseout.i ' + _touch, function(event) {
- var type = event[_type],
- item = $(this);
-
- // Do nothing if input is disabled
- if (!node[_disabled]) {
-
- // Click
- if (type == _click) {
- if ($(event.target).is('a')) {
- return;
- }
- operate(self, false, true);
-
- // Hover state
- } else if (labelHover) {
-
- // mouseout|touchend
- if (/ut|nd/.test(type)) {
- parent[_remove](hoverClass);
- item[_remove](labelHoverClass);
- } else {
- parent[_add](hoverClass);
- item[_add](labelHoverClass);
- }
- }
-
- if (_mobile) {
- event.stopPropagation();
- } else {
- return false;
- }
- }
- });
- }
-
- // Input events
- self.on(_click + '.i focus.i blur.i keyup.i keydown.i keypress.i', function(event) {
- var type = event[_type],
- key = event.keyCode;
-
- // Click
- if (type == _click) {
- return false;
-
- // Keydown
- } else if (type == 'keydown' && key == 32) {
- if (!(node[_type] == _radio && node[_checked])) {
- if (node[_checked]) {
- off(self, _checked);
- } else {
- on(self, _checked);
- }
- }
-
- return false;
-
- // Keyup
- } else if (type == 'keyup' && node[_type] == _radio) {
- !node[_checked] && on(self, _checked);
-
- // Focus/blur
- } else if (/us|ur/.test(type)) {
- parent[type == 'blur' ? _remove : _add](focusClass);
- }
- });
-
- // Helper events
- helper.on(_click + ' mousedown mouseup mouseover mouseout ' + _touch, function(event) {
- var type = event[_type],
-
- // mousedown|mouseup
- toggle = /wn|up/.test(type) ? activeClass : hoverClass;
-
- // Do nothing if input is disabled
- if (!node[_disabled]) {
-
- // Click
- if (type == _click) {
- operate(self, false, true);
-
- // Active and hover states
- } else {
-
- // State is on
- if (/wn|er|in/.test(type)) {
-
- // mousedown|mouseover|touchbegin
- parent[_add](toggle);
-
- // State is off
- } else {
- parent[_remove](toggle + ' ' + activeClass);
- }
-
- // Label hover
- if (label.length && labelHover && toggle == hoverClass) {
-
- // mouseout|touchend
- label[/ut|nd/.test(type) ? _remove : _add](labelHoverClass);
- }
- }
-
- if (_mobile) {
- event.stopPropagation();
- } else {
- return false;
- }
- }
- });
- });
- } else {
- return this;
- }
- };
-
- // Do something with inputs
- function operate(input, direct, method) {
- var node = input[0],
- state = /er/.test(method) ? _indeterminate : /bl/.test(method) ? _disabled : _checked,
- active = method == _update ? {
- checked: node[_checked],
- disabled: node[_disabled],
- indeterminate: input.attr(_indeterminate) == 'true' || input.attr(_determinate) == 'false'
- } : node[state];
-
- // Check, disable or indeterminate
- if (/^(ch|di|in)/.test(method) && !active) {
- on(input, state);
-
- // Uncheck, enable or determinate
- } else if (/^(un|en|de)/.test(method) && active) {
- off(input, state);
-
- // Update
- } else if (method == _update) {
-
- // Handle states
- for (var each in active) {
- if (active[each]) {
- on(input, each, true);
- } else {
- off(input, each, true);
- }
- }
-
- } else if (!direct || method == 'toggle') {
-
- // Helper or label was clicked
- if (!direct) {
- input[_callback]('ifClicked');
- }
-
- // Toggle checked state
- if (active) {
- if (node[_type] !== _radio) {
- off(input, state);
- }
- } else {
- on(input, state);
- }
- }
- }
-
- // Add checked, disabled or indeterminate state
- function on(input, state, keep) {
- var node = input[0],
- parent = input.parent(),
- checked = state == _checked,
- indeterminate = state == _indeterminate,
- disabled = state == _disabled,
- callback = indeterminate ? _determinate : checked ? _unchecked : 'enabled',
- regular = option(input, callback + capitalize(node[_type])),
- specific = option(input, state + capitalize(node[_type]));
-
- // Prevent unnecessary actions
- if (node[state] !== true) {
-
- // Toggle assigned radio buttons
- if (!keep && state == _checked && node[_type] == _radio && node.name) {
- var form = input.closest('form'),
- inputs = 'input[name="' + node.name + '"]';
-
- inputs = form.length ? form.find(inputs) : $(inputs);
-
- inputs.each(function() {
- if (this !== node && $(this).data(_iCheck)) {
- off($(this), state);
- }
- });
- }
-
- // Indeterminate state
- if (indeterminate) {
-
- // Add indeterminate state
- node[state] = true;
-
- // Remove checked state
- if (node[_checked]) {
- off(input, _checked, 'force');
- }
-
- // Checked or disabled state
- } else {
-
- // Add checked or disabled state
- if (!keep) {
- node[state] = true;
- }
-
- // Remove indeterminate state
- if (checked && node[_indeterminate]) {
- off(input, _indeterminate, false);
- }
- }
-
- // Trigger callbacks
- callbacks(input, checked, state, keep);
- }
-
- // Add proper cursor
- if (node[_disabled] && !!option(input, _cursor, true)) {
- parent.find('.' + _iCheckHelper).css(_cursor, 'default');
- }
-
- // Add state class
- parent[_add](specific || option(input, state) || '');
-
- // Set ARIA attribute
- if (!!parent.attr('role') && !indeterminate) {
- parent.attr('aria-' + (disabled ? _disabled : _checked), 'true');
- }
-
- // Remove regular state class
- parent[_remove](regular || option(input, callback) || '');
- }
-
- // Remove checked, disabled or indeterminate state
- function off(input, state, keep) {
- var node = input[0],
- parent = input.parent(),
- checked = state == _checked,
- indeterminate = state == _indeterminate,
- disabled = state == _disabled,
- callback = indeterminate ? _determinate : checked ? _unchecked : 'enabled',
- regular = option(input, callback + capitalize(node[_type])),
- specific = option(input, state + capitalize(node[_type]));
-
- // Prevent unnecessary actions
- if (node[state] !== false) {
-
- // Toggle state
- if (indeterminate || !keep || keep == 'force') {
- node[state] = false;
- }
-
- // Trigger callbacks
- callbacks(input, checked, callback, keep);
- }
-
- // Add proper cursor
- if (!node[_disabled] && !!option(input, _cursor, true)) {
- parent.find('.' + _iCheckHelper).css(_cursor, 'pointer');
- }
-
- // Remove state class
- parent[_remove](specific || option(input, state) || '');
-
- // Set ARIA attribute
- if (!!parent.attr('role') && !indeterminate) {
- parent.attr('aria-' + (disabled ? _disabled : _checked), 'false');
- }
-
- // Add regular state class
- parent[_add](regular || option(input, callback) || '');
- }
-
- // Remove all traces
- function tidy(input, callback) {
- if (input.data(_iCheck)) {
-
- // Remove everything except input
- input.parent().html(input.attr('style', input.data(_iCheck).s || ''));
-
- // Callback
- if (callback) {
- input[_callback](callback);
- }
-
- // Unbind events
- input.off('.i').unwrap();
- $(_label + '[for="' + input[0].id + '"]').add(input.closest(_label)).off('.i');
- }
- }
-
- // Get some option
- function option(input, state, regular) {
- if (input.data(_iCheck)) {
- return input.data(_iCheck).o[state + (regular ? '' : 'Class')];
- }
- }
-
- // Capitalize some string
- function capitalize(string) {
- return string.charAt(0).toUpperCase() + string.slice(1);
- }
-
- // Executable handlers
- function callbacks(input, checked, callback, keep) {
- if (!keep) {
- if (checked) {
- input[_callback]('ifToggled');
- }
-
- input[_callback]('ifChanged')[_callback]('if' + capitalize(callback));
- }
- }
-})(window.jQuery || window.Zepto);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/icheck.min.js b/uiframe-iui/src/main/resources/webroot/vendor/icheck/icheck.min.js
deleted file mode 100644
index c9592138..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/icheck.min.js
+++ /dev/null
@@ -1,11 +0,0 @@
-/*! iCheck v1.0.2 by Damir Sultanov, http://git.io/arlzeA, MIT Licensed */
-(function(f){function A(a,b,d){var c=a[0],g=/er/.test(d)?_indeterminate:/bl/.test(d)?n:k,e=d==_update?{checked:c[k],disabled:c[n],indeterminate:"true"==a.attr(_indeterminate)||"false"==a.attr(_determinate)}:c[g];if(/^(ch|di|in)/.test(d)&&!e)x(a,g);else if(/^(un|en|de)/.test(d)&&e)q(a,g);else if(d==_update)for(var f in e)e[f]?x(a,f,!0):q(a,f,!0);else if(!b||"toggle"==d){if(!b)a[_callback]("ifClicked");e?c[_type]!==r&&q(a,g):x(a,g)}}function x(a,b,d){var c=a[0],g=a.parent(),e=b==k,u=b==_indeterminate,
-v=b==n,s=u?_determinate:e?y:"enabled",F=l(a,s+t(c[_type])),B=l(a,b+t(c[_type]));if(!0!==c[b]){if(!d&&b==k&&c[_type]==r&&c.name){var w=a.closest("form"),p='input[name="'+c.name+'"]',p=w.length?w.find(p):f(p);p.each(function(){this!==c&&f(this).data(m)&&q(f(this),b)})}u?(c[b]=!0,c[k]&&q(a,k,"force")):(d||(c[b]=!0),e&&c[_indeterminate]&&q(a,_indeterminate,!1));D(a,e,b,d)}c[n]&&l(a,_cursor,!0)&&g.find("."+C).css(_cursor,"default");g[_add](B||l(a,b)||"");g.attr("role")&&!u&&g.attr("aria-"+(v?n:k),"true");
-g[_remove](F||l(a,s)||"")}function q(a,b,d){var c=a[0],g=a.parent(),e=b==k,f=b==_indeterminate,m=b==n,s=f?_determinate:e?y:"enabled",q=l(a,s+t(c[_type])),r=l(a,b+t(c[_type]));if(!1!==c[b]){if(f||!d||"force"==d)c[b]=!1;D(a,e,s,d)}!c[n]&&l(a,_cursor,!0)&&g.find("."+C).css(_cursor,"pointer");g[_remove](r||l(a,b)||"");g.attr("role")&&!f&&g.attr("aria-"+(m?n:k),"false");g[_add](q||l(a,s)||"")}function E(a,b){if(a.data(m)){a.parent().html(a.attr("style",a.data(m).s||""));if(b)a[_callback](b);a.off(".i").unwrap();
-f(_label+'[for="'+a[0].id+'"]').add(a.closest(_label)).off(".i")}}function l(a,b,f){if(a.data(m))return a.data(m).o[b+(f?"":"Class")]}function t(a){return a.charAt(0).toUpperCase()+a.slice(1)}function D(a,b,f,c){if(!c){if(b)a[_callback]("ifToggled");a[_callback]("ifChanged")[_callback]("if"+t(f))}}var m="iCheck",C=m+"-helper",r="radio",k="checked",y="un"+k,n="disabled";_determinate="determinate";_indeterminate="in"+_determinate;_update="update";_type="type";_click="click";_touch="touchbegin.i touchend.i";
-_add="addClass";_remove="removeClass";_callback="trigger";_label="label";_cursor="cursor";_mobile=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);f.fn[m]=function(a,b){var d='input[type="checkbox"], input[type="'+r+'"]',c=f(),g=function(a){a.each(function(){var a=f(this);c=a.is(d)?c.add(a):c.add(a.find(d))})};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(a))return a=a.toLowerCase(),g(this),c.each(function(){var c=
-f(this);"destroy"==a?E(c,"ifDestroyed"):A(c,!0,a);f.isFunction(b)&&b()});if("object"!=typeof a&&a)return this;var e=f.extend({checkedClass:k,disabledClass:n,indeterminateClass:_indeterminate,labelHover:!0},a),l=e.handle,v=e.hoverClass||"hover",s=e.focusClass||"focus",t=e.activeClass||"active",B=!!e.labelHover,w=e.labelHoverClass||"hover",p=(""+e.increaseArea).replace("%","")|0;if("checkbox"==l||l==r)d='input[type="'+l+'"]';-50>p&&(p=-50);g(this);return c.each(function(){var a=f(this);E(a);var c=this,
-b=c.id,g=-p+"%",d=100+2*p+"%",d={position:"absolute",top:g,left:g,display:"block",width:d,height:d,margin:0,padding:0,background:"#fff",border:0,opacity:0},g=_mobile?{position:"absolute",visibility:"hidden"}:p?d:{position:"absolute",opacity:0},l="checkbox"==c[_type]?e.checkboxClass||"icheckbox":e.radioClass||"i"+r,z=f(_label+'[for="'+b+'"]').add(a.closest(_label)),u=!!e.aria,y=m+"-"+Math.random().toString(36).substr(2,6),h='<div class="'+l+'" '+(u?'role="'+c[_type]+'" ':"");u&&z.each(function(){h+=
-'aria-labelledby="';this.id?h+=this.id:(this.id=y,h+=y);h+='"'});h=a.wrap(h+"/>")[_callback]("ifCreated").parent().append(e.insert);d=f('<ins class="'+C+'"/>').css(d).appendTo(h);a.data(m,{o:e,s:a.attr("style")}).css(g);e.inheritClass&&h[_add](c.className||"");e.inheritID&&b&&h.attr("id",m+"-"+b);"static"==h.css("position")&&h.css("position","relative");A(a,!0,_update);if(z.length)z.on(_click+".i mouseover.i mouseout.i "+_touch,function(b){var d=b[_type],e=f(this);if(!c[n]){if(d==_click){if(f(b.target).is("a"))return;
-A(a,!1,!0)}else B&&(/ut|nd/.test(d)?(h[_remove](v),e[_remove](w)):(h[_add](v),e[_add](w)));if(_mobile)b.stopPropagation();else return!1}});a.on(_click+".i focus.i blur.i keyup.i keydown.i keypress.i",function(b){var d=b[_type];b=b.keyCode;if(d==_click)return!1;if("keydown"==d&&32==b)return c[_type]==r&&c[k]||(c[k]?q(a,k):x(a,k)),!1;if("keyup"==d&&c[_type]==r)!c[k]&&x(a,k);else if(/us|ur/.test(d))h["blur"==d?_remove:_add](s)});d.on(_click+" mousedown mouseup mouseover mouseout "+_touch,function(b){var d=
-b[_type],e=/wn|up/.test(d)?t:v;if(!c[n]){if(d==_click)A(a,!1,!0);else{if(/wn|er|in/.test(d))h[_add](e);else h[_remove](e+" "+t);if(z.length&&B&&e==v)z[/ut|nd/.test(d)?_remove:_add](w)}if(_mobile)b.stopPropagation();else return!1}})})}})(window.jQuery||window.Zepto);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/all.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/all.css
deleted file mode 100644
index 99656758..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/all.css
+++ /dev/null
@@ -1,61 +0,0 @@
-/* iCheck plugin skins
------------------------------------ */
-@import url("minimal/_all.css");
-/*
-@import url("minimal/minimal.css");
-@import url("minimal/red.css");
-@import url("minimal/green.css");
-@import url("minimal/blue.css");
-@import url("minimal/aero.css");
-@import url("minimal/grey.css");
-@import url("minimal/orange.css");
-@import url("minimal/yellow.css");
-@import url("minimal/pink.css");
-@import url("minimal/purple.css");
-*/
-
-@import url("square/_all.css");
-/*
-@import url("square/square.css");
-@import url("square/red.css");
-@import url("square/green.css");
-@import url("square/blue.css");
-@import url("square/aero.css");
-@import url("square/grey.css");
-@import url("square/orange.css");
-@import url("square/yellow.css");
-@import url("square/pink.css");
-@import url("square/purple.css");
-*/
-
-@import url("flat/_all.css");
-/*
-@import url("flat/flat.css");
-@import url("flat/red.css");
-@import url("flat/green.css");
-@import url("flat/blue.css");
-@import url("flat/aero.css");
-@import url("flat/grey.css");
-@import url("flat/orange.css");
-@import url("flat/yellow.css");
-@import url("flat/pink.css");
-@import url("flat/purple.css");
-*/
-
-@import url("line/_all.css");
-/*
-@import url("line/line.css");
-@import url("line/red.css");
-@import url("line/green.css");
-@import url("line/blue.css");
-@import url("line/aero.css");
-@import url("line/grey.css");
-@import url("line/orange.css");
-@import url("line/yellow.css");
-@import url("line/pink.css");
-@import url("line/purple.css");
-*/
-
-@import url("polaris/polaris.css");
-
-@import url("futurico/futurico.css"); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/_all.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/_all.css
deleted file mode 100644
index ac493bd0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/_all.css
+++ /dev/null
@@ -1,530 +0,0 @@
-/* iCheck plugin Flat skin
------------------------------------ */
-.icheckbox_flat,
-.iradio_flat {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(flat.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat {
- background-position: 0 0;
-}
- .icheckbox_flat.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat {
- background-position: -88px 0;
-}
- .iradio_flat.checked {
- background-position: -110px 0;
- }
- .iradio_flat.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_flat,
- .iradio_flat {
- background-image: url(flat@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-}
-
-/* red */
-.icheckbox_flat-red,
-.iradio_flat-red {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(red.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-red {
- background-position: 0 0;
-}
- .icheckbox_flat-red.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-red.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-red.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-red {
- background-position: -88px 0;
-}
- .iradio_flat-red.checked {
- background-position: -110px 0;
- }
- .iradio_flat-red.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-red.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_flat-red,
- .iradio_flat-red {
- background-image: url(red@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-}
-
-/* green */
-.icheckbox_flat-green,
-.iradio_flat-green {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(green.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-green {
- background-position: 0 0;
-}
- .icheckbox_flat-green.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-green.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-green.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-green {
- background-position: -88px 0;
-}
- .iradio_flat-green.checked {
- background-position: -110px 0;
- }
- .iradio_flat-green.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-green.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_flat-green,
- .iradio_flat-green {
- background-image: url(green@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-}
-
-/* blue */
-.icheckbox_flat-blue,
-.iradio_flat-blue {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(blue.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-blue {
- background-position: 0 0;
-}
- .icheckbox_flat-blue.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-blue.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-blue.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-blue {
- background-position: -88px 0;
-}
- .iradio_flat-blue.checked {
- background-position: -110px 0;
- }
- .iradio_flat-blue.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-blue.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_flat-blue,
- .iradio_flat-blue {
- background-image: url(blue@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-}
-
-/* aero */
-.icheckbox_flat-aero,
-.iradio_flat-aero {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(aero.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-aero {
- background-position: 0 0;
-}
- .icheckbox_flat-aero.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-aero.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-aero.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-aero {
- background-position: -88px 0;
-}
- .iradio_flat-aero.checked {
- background-position: -110px 0;
- }
- .iradio_flat-aero.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-aero.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_flat-aero,
- .iradio_flat-aero {
- background-image: url(aero@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-}
-
-/* grey */
-.icheckbox_flat-grey,
-.iradio_flat-grey {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(grey.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-grey {
- background-position: 0 0;
-}
- .icheckbox_flat-grey.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-grey.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-grey.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-grey {
- background-position: -88px 0;
-}
- .iradio_flat-grey.checked {
- background-position: -110px 0;
- }
- .iradio_flat-grey.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-grey.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_flat-grey,
- .iradio_flat-grey {
- background-image: url(grey@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-}
-
-/* orange */
-.icheckbox_flat-orange,
-.iradio_flat-orange {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(orange.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-orange {
- background-position: 0 0;
-}
- .icheckbox_flat-orange.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-orange.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-orange.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-orange {
- background-position: -88px 0;
-}
- .iradio_flat-orange.checked {
- background-position: -110px 0;
- }
- .iradio_flat-orange.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-orange.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_flat-orange,
- .iradio_flat-orange {
- background-image: url(orange@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-}
-
-/* yellow */
-.icheckbox_flat-yellow,
-.iradio_flat-yellow {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(yellow.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-yellow {
- background-position: 0 0;
-}
- .icheckbox_flat-yellow.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-yellow.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-yellow.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-yellow {
- background-position: -88px 0;
-}
- .iradio_flat-yellow.checked {
- background-position: -110px 0;
- }
- .iradio_flat-yellow.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-yellow.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_flat-yellow,
- .iradio_flat-yellow {
- background-image: url(yellow@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-}
-
-/* pink */
-.icheckbox_flat-pink,
-.iradio_flat-pink {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(pink.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-pink {
- background-position: 0 0;
-}
- .icheckbox_flat-pink.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-pink.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-pink.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-pink {
- background-position: -88px 0;
-}
- .iradio_flat-pink.checked {
- background-position: -110px 0;
- }
- .iradio_flat-pink.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-pink.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_flat-pink,
- .iradio_flat-pink {
- background-image: url(pink@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-}
-
-/* purple */
-.icheckbox_flat-purple,
-.iradio_flat-purple {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(purple.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-purple {
- background-position: 0 0;
-}
- .icheckbox_flat-purple.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-purple.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-purple.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-purple {
- background-position: -88px 0;
-}
- .iradio_flat-purple.checked {
- background-position: -110px 0;
- }
- .iradio_flat-purple.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-purple.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_flat-purple,
- .iradio_flat-purple {
- background-image: url(purple@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/aero.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/aero.css
deleted file mode 100644
index 5af73fd1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/aero.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/* iCheck plugin Flat skin, aero
------------------------------------ */
-.icheckbox_flat-aero,
-.iradio_flat-aero {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(aero.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-aero {
- background-position: 0 0;
-}
- .icheckbox_flat-aero.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-aero.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-aero.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-aero {
- background-position: -88px 0;
-}
- .iradio_flat-aero.checked {
- background-position: -110px 0;
- }
- .iradio_flat-aero.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-aero.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_flat-aero,
- .iradio_flat-aero {
- background-image: url(aero@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/aero.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/aero.png
deleted file mode 100644
index f4277aa4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/aero.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/aero@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/aero@2x.png
deleted file mode 100644
index a9a74945..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/aero@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/blue.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/blue.css
deleted file mode 100644
index 46071d09..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/blue.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/* iCheck plugin Flat skin, blue
------------------------------------ */
-.icheckbox_flat-blue,
-.iradio_flat-blue {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(blue.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-blue {
- background-position: 0 0;
-}
- .icheckbox_flat-blue.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-blue.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-blue.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-blue {
- background-position: -88px 0;
-}
- .iradio_flat-blue.checked {
- background-position: -110px 0;
- }
- .iradio_flat-blue.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-blue.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_flat-blue,
- .iradio_flat-blue {
- background-image: url(blue@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/blue.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/blue.png
deleted file mode 100644
index 4b6ef982..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/blue.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/blue@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/blue@2x.png
deleted file mode 100644
index d52da057..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/blue@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/flat.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/flat.css
deleted file mode 100644
index cf5f6520..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/flat.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/* iCheck plugin flat skin, black
------------------------------------ */
-.icheckbox_flat,
-.iradio_flat {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(flat.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat {
- background-position: 0 0;
-}
- .icheckbox_flat.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat {
- background-position: -88px 0;
-}
- .iradio_flat.checked {
- background-position: -110px 0;
- }
- .iradio_flat.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_flat,
- .iradio_flat {
- background-image: url(flat@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/flat.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/flat.png
deleted file mode 100644
index 15af826e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/flat.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/flat@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/flat@2x.png
deleted file mode 100644
index e70e438c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/flat@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/green.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/green.css
deleted file mode 100644
index 6d0a3bec..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/green.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/* iCheck plugin Flat skin, green
------------------------------------ */
-.icheckbox_flat-green,
-.iradio_flat-green {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(green.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-green {
- background-position: 0 0;
-}
- .icheckbox_flat-green.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-green.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-green.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-green {
- background-position: -88px 0;
-}
- .iradio_flat-green.checked {
- background-position: -110px 0;
- }
- .iradio_flat-green.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-green.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_flat-green,
- .iradio_flat-green {
- background-image: url(green@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/green.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/green.png
deleted file mode 100644
index 6b303fbe..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/green.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/green@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/green@2x.png
deleted file mode 100644
index 92b4411d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/green@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/grey.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/grey.css
deleted file mode 100644
index 66038e73..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/grey.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/* iCheck plugin Flat skin, grey
------------------------------------ */
-.icheckbox_flat-grey,
-.iradio_flat-grey {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(grey.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-grey {
- background-position: 0 0;
-}
- .icheckbox_flat-grey.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-grey.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-grey.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-grey {
- background-position: -88px 0;
-}
- .iradio_flat-grey.checked {
- background-position: -110px 0;
- }
- .iradio_flat-grey.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-grey.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_flat-grey,
- .iradio_flat-grey {
- background-image: url(grey@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/grey.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/grey.png
deleted file mode 100644
index c6e2873e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/grey.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/grey@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/grey@2x.png
deleted file mode 100644
index 0b47b1c6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/grey@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/orange.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/orange.css
deleted file mode 100644
index a710054b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/orange.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/* iCheck plugin Flat skin, orange
------------------------------------ */
-.icheckbox_flat-orange,
-.iradio_flat-orange {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(orange.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-orange {
- background-position: 0 0;
-}
- .icheckbox_flat-orange.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-orange.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-orange.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-orange {
- background-position: -88px 0;
-}
- .iradio_flat-orange.checked {
- background-position: -110px 0;
- }
- .iradio_flat-orange.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-orange.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_flat-orange,
- .iradio_flat-orange {
- background-image: url(orange@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/orange.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/orange.png
deleted file mode 100644
index ec2532eb..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/orange.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/orange@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/orange@2x.png
deleted file mode 100644
index 9350b506..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/orange@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/pink.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/pink.css
deleted file mode 100644
index 2e97a631..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/pink.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/* iCheck plugin Flat skin, pink
------------------------------------ */
-.icheckbox_flat-pink,
-.iradio_flat-pink {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(pink.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-pink {
- background-position: 0 0;
-}
- .icheckbox_flat-pink.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-pink.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-pink.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-pink {
- background-position: -88px 0;
-}
- .iradio_flat-pink.checked {
- background-position: -110px 0;
- }
- .iradio_flat-pink.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-pink.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_flat-pink,
- .iradio_flat-pink {
- background-image: url(pink@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/pink.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/pink.png
deleted file mode 100644
index 3e65d9dd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/pink.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/pink@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/pink@2x.png
deleted file mode 100644
index 281ba06b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/pink@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/purple.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/purple.css
deleted file mode 100644
index 9c3dbe40..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/purple.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/* iCheck plugin Flat skin, purple
------------------------------------ */
-.icheckbox_flat-purple,
-.iradio_flat-purple {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(purple.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-purple {
- background-position: 0 0;
-}
- .icheckbox_flat-purple.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-purple.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-purple.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-purple {
- background-position: -88px 0;
-}
- .iradio_flat-purple.checked {
- background-position: -110px 0;
- }
- .iradio_flat-purple.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-purple.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_flat-purple,
- .iradio_flat-purple {
- background-image: url(purple@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/purple.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/purple.png
deleted file mode 100644
index 3699fd58..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/purple.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/purple@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/purple@2x.png
deleted file mode 100644
index 7f4be74a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/purple@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/red.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/red.css
deleted file mode 100644
index 42f6ec09..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/red.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/* iCheck plugin Flat skin, red
------------------------------------ */
-.icheckbox_flat-red,
-.iradio_flat-red {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(red.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-red {
- background-position: 0 0;
-}
- .icheckbox_flat-red.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-red.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-red.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-red {
- background-position: -88px 0;
-}
- .iradio_flat-red.checked {
- background-position: -110px 0;
- }
- .iradio_flat-red.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-red.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_flat-red,
- .iradio_flat-red {
- background-image: url(red@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/red.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/red.png
deleted file mode 100644
index 0d5ac381..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/red.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/red@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/red@2x.png
deleted file mode 100644
index 38590d98..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/red@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/yellow.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/yellow.css
deleted file mode 100644
index aa1f1d1f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/yellow.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/* iCheck plugin Flat skin, yellow
------------------------------------ */
-.icheckbox_flat-yellow,
-.iradio_flat-yellow {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 20px;
- height: 20px;
- background: url(yellow.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_flat-yellow {
- background-position: 0 0;
-}
- .icheckbox_flat-yellow.checked {
- background-position: -22px 0;
- }
- .icheckbox_flat-yellow.disabled {
- background-position: -44px 0;
- cursor: default;
- }
- .icheckbox_flat-yellow.checked.disabled {
- background-position: -66px 0;
- }
-
-.iradio_flat-yellow {
- background-position: -88px 0;
-}
- .iradio_flat-yellow.checked {
- background-position: -110px 0;
- }
- .iradio_flat-yellow.disabled {
- background-position: -132px 0;
- cursor: default;
- }
- .iradio_flat-yellow.checked.disabled {
- background-position: -154px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_flat-yellow,
- .iradio_flat-yellow {
- background-image: url(yellow@2x.png);
- -webkit-background-size: 176px 22px;
- background-size: 176px 22px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/yellow.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/yellow.png
deleted file mode 100644
index 909dadc5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/yellow.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/yellow@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/yellow@2x.png
deleted file mode 100644
index 9fd5d733..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/flat/yellow@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/futurico/futurico.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/futurico/futurico.css
deleted file mode 100644
index 72e93885..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/futurico/futurico.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/* iCheck plugin Futurico skin
------------------------------------ */
-.icheckbox_futurico,
-.iradio_futurico {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 16px;
- height: 17px;
- background: url(futurico.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_futurico {
- background-position: 0 0;
-}
- .icheckbox_futurico.checked {
- background-position: -18px 0;
- }
- .icheckbox_futurico.disabled {
- background-position: -36px 0;
- cursor: default;
- }
- .icheckbox_futurico.checked.disabled {
- background-position: -54px 0;
- }
-
-.iradio_futurico {
- background-position: -72px 0;
-}
- .iradio_futurico.checked {
- background-position: -90px 0;
- }
- .iradio_futurico.disabled {
- background-position: -108px 0;
- cursor: default;
- }
- .iradio_futurico.checked.disabled {
- background-position: -126px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_futurico,
- .iradio_futurico {
- background-image: url(futurico@2x.png);
- -webkit-background-size: 144px 19px;
- background-size: 144px 19px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/futurico/futurico.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/futurico/futurico.png
deleted file mode 100644
index 50d62b5d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/futurico/futurico.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/futurico/futurico@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/futurico/futurico@2x.png
deleted file mode 100644
index f7eb45aa..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/futurico/futurico@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/Thumbs.db b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/Thumbs.db
deleted file mode 100644
index a5980502..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/Thumbs.db
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/_all.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/_all.css
deleted file mode 100644
index 14ff6cca..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/_all.css
+++ /dev/null
@@ -1,710 +0,0 @@
-/* iCheck plugin Line skin
------------------------------------ */
-.icheckbox_line,
-.iradio_line {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #000;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line .icheck_line-icon,
- .iradio_line .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line.hover,
- .icheckbox_line.checked.hover,
- .iradio_line.hover {
- background: #444;
- }
- .icheckbox_line.checked,
- .iradio_line.checked {
- background: #000;
- }
- .icheckbox_line.checked .icheck_line-icon,
- .iradio_line.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line.disabled,
- .iradio_line.disabled {
- background: #ccc;
- cursor: default;
- }
- .icheckbox_line.disabled .icheck_line-icon,
- .iradio_line.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line.checked.disabled,
- .iradio_line.checked.disabled {
- background: #ccc;
- }
- .icheckbox_line.checked.disabled .icheck_line-icon,
- .iradio_line.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_line .icheck_line-icon,
- .iradio_line .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-}
-
-/* red */
-.icheckbox_line-red,
-.iradio_line-red {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #e56c69;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-red .icheck_line-icon,
- .iradio_line-red .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-red.hover,
- .icheckbox_line-red.checked.hover,
- .iradio_line-red.hover {
- background: #E98582;
- }
- .icheckbox_line-red.checked,
- .iradio_line-red.checked {
- background: #e56c69;
- }
- .icheckbox_line-red.checked .icheck_line-icon,
- .iradio_line-red.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-red.disabled,
- .iradio_line-red.disabled {
- background: #F7D3D2;
- cursor: default;
- }
- .icheckbox_line-red.disabled .icheck_line-icon,
- .iradio_line-red.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-red.checked.disabled,
- .iradio_line-red.checked.disabled {
- background: #F7D3D2;
- }
- .icheckbox_line-red.checked.disabled .icheck_line-icon,
- .iradio_line-red.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_line-red .icheck_line-icon,
- .iradio_line-red .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-}
-
-/* green */
-.icheckbox_line-green,
-.iradio_line-green {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #1b7e5a;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-green .icheck_line-icon,
- .iradio_line-green .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-green.hover,
- .icheckbox_line-green.checked.hover,
- .iradio_line-green.hover {
- background: #24AA7A;
- }
- .icheckbox_line-green.checked,
- .iradio_line-green.checked {
- background: #1b7e5a;
- }
- .icheckbox_line-green.checked .icheck_line-icon,
- .iradio_line-green.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-green.disabled,
- .iradio_line-green.disabled {
- background: #89E6C4;
- cursor: default;
- }
- .icheckbox_line-green.disabled .icheck_line-icon,
- .iradio_line-green.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-green.checked.disabled,
- .iradio_line-green.checked.disabled {
- background: #89E6C4;
- }
- .icheckbox_line-green.checked.disabled .icheck_line-icon,
- .iradio_line-green.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_line-green .icheck_line-icon,
- .iradio_line-green .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-}
-
-/* blue */
-.icheckbox_line-blue,
-.iradio_line-blue {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #2489c5;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-blue .icheck_line-icon,
- .iradio_line-blue .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-blue.hover,
- .icheckbox_line-blue.checked.hover,
- .iradio_line-blue.hover {
- background: #3DA0DB;
- }
- .icheckbox_line-blue.checked,
- .iradio_line-blue.checked {
- background: #2489c5;
- }
- .icheckbox_line-blue.checked .icheck_line-icon,
- .iradio_line-blue.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-blue.disabled,
- .iradio_line-blue.disabled {
- background: #ADD7F0;
- cursor: default;
- }
- .icheckbox_line-blue.disabled .icheck_line-icon,
- .iradio_line-blue.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-blue.checked.disabled,
- .iradio_line-blue.checked.disabled {
- background: #ADD7F0;
- }
- .icheckbox_line-blue.checked.disabled .icheck_line-icon,
- .iradio_line-blue.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_line-blue .icheck_line-icon,
- .iradio_line-blue .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-}
-
-/* aero */
-.icheckbox_line-aero,
-.iradio_line-aero {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #9cc2cb;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-aero .icheck_line-icon,
- .iradio_line-aero .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-aero.hover,
- .icheckbox_line-aero.checked.hover,
- .iradio_line-aero.hover {
- background: #B5D1D8;
- }
- .icheckbox_line-aero.checked,
- .iradio_line-aero.checked {
- background: #9cc2cb;
- }
- .icheckbox_line-aero.checked .icheck_line-icon,
- .iradio_line-aero.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-aero.disabled,
- .iradio_line-aero.disabled {
- background: #D2E4E8;
- cursor: default;
- }
- .icheckbox_line-aero.disabled .icheck_line-icon,
- .iradio_line-aero.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-aero.checked.disabled,
- .iradio_line-aero.checked.disabled {
- background: #D2E4E8;
- }
- .icheckbox_line-aero.checked.disabled .icheck_line-icon,
- .iradio_line-aero.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_line-aero .icheck_line-icon,
- .iradio_line-aero .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-}
-
-/* grey */
-.icheckbox_line-grey,
-.iradio_line-grey {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #73716e;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-grey .icheck_line-icon,
- .iradio_line-grey .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-grey.hover,
- .icheckbox_line-grey.checked.hover,
- .iradio_line-grey.hover {
- background: #8B8986;
- }
- .icheckbox_line-grey.checked,
- .iradio_line-grey.checked {
- background: #73716e;
- }
- .icheckbox_line-grey.checked .icheck_line-icon,
- .iradio_line-grey.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-grey.disabled,
- .iradio_line-grey.disabled {
- background: #D5D4D3;
- cursor: default;
- }
- .icheckbox_line-grey.disabled .icheck_line-icon,
- .iradio_line-grey.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-grey.checked.disabled,
- .iradio_line-grey.checked.disabled {
- background: #D5D4D3;
- }
- .icheckbox_line-grey.checked.disabled .icheck_line-icon,
- .iradio_line-grey.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_line-grey .icheck_line-icon,
- .iradio_line-grey .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-}
-
-/* orange */
-.icheckbox_line-orange,
-.iradio_line-orange {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #f70;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-orange .icheck_line-icon,
- .iradio_line-orange .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-orange.hover,
- .icheckbox_line-orange.checked.hover,
- .iradio_line-orange.hover {
- background: #FF9233;
- }
- .icheckbox_line-orange.checked,
- .iradio_line-orange.checked {
- background: #f70;
- }
- .icheckbox_line-orange.checked .icheck_line-icon,
- .iradio_line-orange.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-orange.disabled,
- .iradio_line-orange.disabled {
- background: #FFD6B3;
- cursor: default;
- }
- .icheckbox_line-orange.disabled .icheck_line-icon,
- .iradio_line-orange.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-orange.checked.disabled,
- .iradio_line-orange.checked.disabled {
- background: #FFD6B3;
- }
- .icheckbox_line-orange.checked.disabled .icheck_line-icon,
- .iradio_line-orange.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_line-orange .icheck_line-icon,
- .iradio_line-orange .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-}
-
-/* yellow */
-.icheckbox_line-yellow,
-.iradio_line-yellow {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #FFC414;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-yellow .icheck_line-icon,
- .iradio_line-yellow .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-yellow.hover,
- .icheckbox_line-yellow.checked.hover,
- .iradio_line-yellow.hover {
- background: #FFD34F;
- }
- .icheckbox_line-yellow.checked,
- .iradio_line-yellow.checked {
- background: #FFC414;
- }
- .icheckbox_line-yellow.checked .icheck_line-icon,
- .iradio_line-yellow.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-yellow.disabled,
- .iradio_line-yellow.disabled {
- background: #FFE495;
- cursor: default;
- }
- .icheckbox_line-yellow.disabled .icheck_line-icon,
- .iradio_line-yellow.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-yellow.checked.disabled,
- .iradio_line-yellow.checked.disabled {
- background: #FFE495;
- }
- .icheckbox_line-yellow.checked.disabled .icheck_line-icon,
- .iradio_line-yellow.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_line-yellow .icheck_line-icon,
- .iradio_line-yellow .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-}
-
-/* pink */
-.icheckbox_line-pink,
-.iradio_line-pink {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #a77a94;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-pink .icheck_line-icon,
- .iradio_line-pink .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-pink.hover,
- .icheckbox_line-pink.checked.hover,
- .iradio_line-pink.hover {
- background: #B995A9;
- }
- .icheckbox_line-pink.checked,
- .iradio_line-pink.checked {
- background: #a77a94;
- }
- .icheckbox_line-pink.checked .icheck_line-icon,
- .iradio_line-pink.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-pink.disabled,
- .iradio_line-pink.disabled {
- background: #E0D0DA;
- cursor: default;
- }
- .icheckbox_line-pink.disabled .icheck_line-icon,
- .iradio_line-pink.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-pink.checked.disabled,
- .iradio_line-pink.checked.disabled {
- background: #E0D0DA;
- }
- .icheckbox_line-pink.checked.disabled .icheck_line-icon,
- .iradio_line-pink.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_line-pink .icheck_line-icon,
- .iradio_line-pink .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-}
-
-/* purple */
-.icheckbox_line-purple,
-.iradio_line-purple {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #6a5a8c;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-purple .icheck_line-icon,
- .iradio_line-purple .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-purple.hover,
- .icheckbox_line-purple.checked.hover,
- .iradio_line-purple.hover {
- background: #8677A7;
- }
- .icheckbox_line-purple.checked,
- .iradio_line-purple.checked {
- background: #6a5a8c;
- }
- .icheckbox_line-purple.checked .icheck_line-icon,
- .iradio_line-purple.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-purple.disabled,
- .iradio_line-purple.disabled {
- background: #D2CCDE;
- cursor: default;
- }
- .icheckbox_line-purple.disabled .icheck_line-icon,
- .iradio_line-purple.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-purple.checked.disabled,
- .iradio_line-purple.checked.disabled {
- background: #D2CCDE;
- }
- .icheckbox_line-purple.checked.disabled .icheck_line-icon,
- .iradio_line-purple.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_line-purple .icheck_line-icon,
- .iradio_line-purple .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/aero.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/aero.css
deleted file mode 100644
index ea8d6982..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/aero.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/* iCheck plugin Line skin, aero
------------------------------------ */
-.icheckbox_line-aero,
-.iradio_line-aero {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #9cc2cb;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-aero .icheck_line-icon,
- .iradio_line-aero .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-aero.hover,
- .icheckbox_line-aero.checked.hover,
- .iradio_line-aero.hover {
- background: #B5D1D8;
- }
- .icheckbox_line-aero.checked,
- .iradio_line-aero.checked {
- background: #9cc2cb;
- }
- .icheckbox_line-aero.checked .icheck_line-icon,
- .iradio_line-aero.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-aero.disabled,
- .iradio_line-aero.disabled {
- background: #D2E4E8;
- cursor: default;
- }
- .icheckbox_line-aero.disabled .icheck_line-icon,
- .iradio_line-aero.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-aero.checked.disabled,
- .iradio_line-aero.checked.disabled {
- background: #D2E4E8;
- }
- .icheckbox_line-aero.checked.disabled .icheck_line-icon,
- .iradio_line-aero.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_line-aero .icheck_line-icon,
- .iradio_line-aero .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/blue.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/blue.css
deleted file mode 100644
index 7ab57aa6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/blue.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/* iCheck plugin Line skin, blue
------------------------------------ */
-.icheckbox_line-blue,
-.iradio_line-blue {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #2489c5;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-blue .icheck_line-icon,
- .iradio_line-blue .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-blue.hover,
- .icheckbox_line-blue.checked.hover,
- .iradio_line-blue.hover {
- background: #3DA0DB;
- }
- .icheckbox_line-blue.checked,
- .iradio_line-blue.checked {
- background: #2489c5;
- }
- .icheckbox_line-blue.checked .icheck_line-icon,
- .iradio_line-blue.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-blue.disabled,
- .iradio_line-blue.disabled {
- background: #ADD7F0;
- cursor: default;
- }
- .icheckbox_line-blue.disabled .icheck_line-icon,
- .iradio_line-blue.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-blue.checked.disabled,
- .iradio_line-blue.checked.disabled {
- background: #ADD7F0;
- }
- .icheckbox_line-blue.checked.disabled .icheck_line-icon,
- .iradio_line-blue.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_line-blue .icheck_line-icon,
- .iradio_line-blue .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/green.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/green.css
deleted file mode 100644
index 10e41699..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/green.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/* iCheck plugin Line skin, green
------------------------------------ */
-.icheckbox_line-green,
-.iradio_line-green {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #1b7e5a;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-green .icheck_line-icon,
- .iradio_line-green .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-green.hover,
- .icheckbox_line-green.checked.hover,
- .iradio_line-green.hover {
- background: #24AA7A;
- }
- .icheckbox_line-green.checked,
- .iradio_line-green.checked {
- background: #1b7e5a;
- }
- .icheckbox_line-green.checked .icheck_line-icon,
- .iradio_line-green.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-green.disabled,
- .iradio_line-green.disabled {
- background: #89E6C4;
- cursor: default;
- }
- .icheckbox_line-green.disabled .icheck_line-icon,
- .iradio_line-green.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-green.checked.disabled,
- .iradio_line-green.checked.disabled {
- background: #89E6C4;
- }
- .icheckbox_line-green.checked.disabled .icheck_line-icon,
- .iradio_line-green.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_line-green .icheck_line-icon,
- .iradio_line-green .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/grey.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/grey.css
deleted file mode 100644
index d2ecf05a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/grey.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/* iCheck plugin Line skin, grey
------------------------------------ */
-.icheckbox_line-grey,
-.iradio_line-grey {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #73716e;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-grey .icheck_line-icon,
- .iradio_line-grey .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-grey.hover,
- .icheckbox_line-grey.checked.hover,
- .iradio_line-grey.hover {
- background: #8B8986;
- }
- .icheckbox_line-grey.checked,
- .iradio_line-grey.checked {
- background: #73716e;
- }
- .icheckbox_line-grey.checked .icheck_line-icon,
- .iradio_line-grey.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-grey.disabled,
- .iradio_line-grey.disabled {
- background: #D5D4D3;
- cursor: default;
- }
- .icheckbox_line-grey.disabled .icheck_line-icon,
- .iradio_line-grey.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-grey.checked.disabled,
- .iradio_line-grey.checked.disabled {
- background: #D5D4D3;
- }
- .icheckbox_line-grey.checked.disabled .icheck_line-icon,
- .iradio_line-grey.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_line-grey .icheck_line-icon,
- .iradio_line-grey .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/line.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/line.css
deleted file mode 100644
index df3ed870..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/line.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/* iCheck plugin Line skin, black
------------------------------------ */
-.icheckbox_line,
-.iradio_line {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #000;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line .icheck_line-icon,
- .iradio_line .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line.hover,
- .icheckbox_line.checked.hover,
- .iradio_line.hover {
- background: #444;
- }
- .icheckbox_line.checked,
- .iradio_line.checked {
- background: #000;
- }
- .icheckbox_line.checked .icheck_line-icon,
- .iradio_line.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line.disabled,
- .iradio_line.disabled {
- background: #ccc;
- cursor: default;
- }
- .icheckbox_line.disabled .icheck_line-icon,
- .iradio_line.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line.checked.disabled,
- .iradio_line.checked.disabled {
- background: #ccc;
- }
- .icheckbox_line.checked.disabled .icheck_line-icon,
- .iradio_line.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_line .icheck_line-icon,
- .iradio_line .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/line.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/line.png
deleted file mode 100644
index d21d7a7b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/line.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/line@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/line@2x.png
deleted file mode 100644
index 62900a2d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/line@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/orange.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/orange.css
deleted file mode 100644
index 49463267..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/orange.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/* iCheck plugin Line skin, orange
------------------------------------ */
-.icheckbox_line-orange,
-.iradio_line-orange {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #f70;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-orange .icheck_line-icon,
- .iradio_line-orange .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-orange.hover,
- .icheckbox_line-orange.checked.hover,
- .iradio_line-orange.hover {
- background: #FF9233;
- }
- .icheckbox_line-orange.checked,
- .iradio_line-orange.checked {
- background: #f70;
- }
- .icheckbox_line-orange.checked .icheck_line-icon,
- .iradio_line-orange.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-orange.disabled,
- .iradio_line-orange.disabled {
- background: #FFD6B3;
- cursor: default;
- }
- .icheckbox_line-orange.disabled .icheck_line-icon,
- .iradio_line-orange.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-orange.checked.disabled,
- .iradio_line-orange.checked.disabled {
- background: #FFD6B3;
- }
- .icheckbox_line-orange.checked.disabled .icheck_line-icon,
- .iradio_line-orange.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_line-orange .icheck_line-icon,
- .iradio_line-orange .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/pink.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/pink.css
deleted file mode 100644
index c512eab4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/pink.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/* iCheck plugin Line skin, pink
------------------------------------ */
-.icheckbox_line-pink,
-.iradio_line-pink {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #a77a94;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-pink .icheck_line-icon,
- .iradio_line-pink .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-pink.hover,
- .icheckbox_line-pink.checked.hover,
- .iradio_line-pink.hover {
- background: #B995A9;
- }
- .icheckbox_line-pink.checked,
- .iradio_line-pink.checked {
- background: #a77a94;
- }
- .icheckbox_line-pink.checked .icheck_line-icon,
- .iradio_line-pink.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-pink.disabled,
- .iradio_line-pink.disabled {
- background: #E0D0DA;
- cursor: default;
- }
- .icheckbox_line-pink.disabled .icheck_line-icon,
- .iradio_line-pink.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-pink.checked.disabled,
- .iradio_line-pink.checked.disabled {
- background: #E0D0DA;
- }
- .icheckbox_line-pink.checked.disabled .icheck_line-icon,
- .iradio_line-pink.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_line-pink .icheck_line-icon,
- .iradio_line-pink .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/purple.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/purple.css
deleted file mode 100644
index 990152c1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/purple.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/* iCheck plugin Line skin, purple
------------------------------------ */
-.icheckbox_line-purple,
-.iradio_line-purple {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #6a5a8c;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-purple .icheck_line-icon,
- .iradio_line-purple .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-purple.hover,
- .icheckbox_line-purple.checked.hover,
- .iradio_line-purple.hover {
- background: #8677A7;
- }
- .icheckbox_line-purple.checked,
- .iradio_line-purple.checked {
- background: #6a5a8c;
- }
- .icheckbox_line-purple.checked .icheck_line-icon,
- .iradio_line-purple.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-purple.disabled,
- .iradio_line-purple.disabled {
- background: #D2CCDE;
- cursor: default;
- }
- .icheckbox_line-purple.disabled .icheck_line-icon,
- .iradio_line-purple.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-purple.checked.disabled,
- .iradio_line-purple.checked.disabled {
- background: #D2CCDE;
- }
- .icheckbox_line-purple.checked.disabled .icheck_line-icon,
- .iradio_line-purple.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_line-purple .icheck_line-icon,
- .iradio_line-purple .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/red.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/red.css
deleted file mode 100644
index 7b29fc91..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/red.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/* iCheck plugin Line skin, red
------------------------------------ */
-.icheckbox_line-red,
-.iradio_line-red {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #e56c69;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-red .icheck_line-icon,
- .iradio_line-red .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-red.hover,
- .icheckbox_line-red.checked.hover,
- .iradio_line-red.hover {
- background: #E98582;
- }
- .icheckbox_line-red.checked,
- .iradio_line-red.checked {
- background: #e56c69;
- }
- .icheckbox_line-red.checked .icheck_line-icon,
- .iradio_line-red.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-red.disabled,
- .iradio_line-red.disabled {
- background: #F7D3D2;
- cursor: default;
- }
- .icheckbox_line-red.disabled .icheck_line-icon,
- .iradio_line-red.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-red.checked.disabled,
- .iradio_line-red.checked.disabled {
- background: #F7D3D2;
- }
- .icheckbox_line-red.checked.disabled .icheck_line-icon,
- .iradio_line-red.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_line-red .icheck_line-icon,
- .iradio_line-red .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/yellow.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/yellow.css
deleted file mode 100644
index 2dd1a40a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/line/yellow.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/* iCheck plugin Line skin, yellow
------------------------------------ */
-.icheckbox_line-yellow,
-.iradio_line-yellow {
- position: relative;
- display: block;
- margin: 0;
- padding: 5px 15px 5px 38px;
- font-size: 13px;
- line-height: 17px;
- color: #fff;
- background: #FFC414;
- border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- cursor: pointer;
-}
- .icheckbox_line-yellow .icheck_line-icon,
- .iradio_line-yellow .icheck_line-icon {
- position: absolute;
- top: 50%;
- left: 13px;
- width: 13px;
- height: 11px;
- margin: -5px 0 0 0;
- padding: 0;
- overflow: hidden;
- background: url(line.png) no-repeat;
- border: none;
- }
- .icheckbox_line-yellow.hover,
- .icheckbox_line-yellow.checked.hover,
- .iradio_line-yellow.hover {
- background: #FFD34F;
- }
- .icheckbox_line-yellow.checked,
- .iradio_line-yellow.checked {
- background: #FFC414;
- }
- .icheckbox_line-yellow.checked .icheck_line-icon,
- .iradio_line-yellow.checked .icheck_line-icon {
- background-position: -15px 0;
- }
- .icheckbox_line-yellow.disabled,
- .iradio_line-yellow.disabled {
- background: #FFE495;
- cursor: default;
- }
- .icheckbox_line-yellow.disabled .icheck_line-icon,
- .iradio_line-yellow.disabled .icheck_line-icon {
- background-position: -30px 0;
- }
- .icheckbox_line-yellow.checked.disabled,
- .iradio_line-yellow.checked.disabled {
- background: #FFE495;
- }
- .icheckbox_line-yellow.checked.disabled .icheck_line-icon,
- .iradio_line-yellow.checked.disabled .icheck_line-icon {
- background-position: -45px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_line-yellow .icheck_line-icon,
- .iradio_line-yellow .icheck_line-icon {
- background-image: url(line@2x.png);
- -webkit-background-size: 60px 13px;
- background-size: 60px 13px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/_all.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/_all.css
deleted file mode 100644
index abeef53b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/_all.css
+++ /dev/null
@@ -1,590 +0,0 @@
-/* iCheck plugin Minimal skin
------------------------------------ */
-.icheckbox_minimal,
-.iradio_minimal {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(minimal.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal {
- background-position: 0 0;
-}
- .icheckbox_minimal.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal {
- background-position: -100px 0;
-}
- .iradio_minimal.hover {
- background-position: -120px 0;
- }
- .iradio_minimal.checked {
- background-position: -140px 0;
- }
- .iradio_minimal.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_minimal,
- .iradio_minimal {
- background-image: url(minimal@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-}
-
-/* red */
-.icheckbox_minimal-red,
-.iradio_minimal-red {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(red.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-red {
- background-position: 0 0;
-}
- .icheckbox_minimal-red.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-red.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-red.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-red.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-red {
- background-position: -100px 0;
-}
- .iradio_minimal-red.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-red.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-red.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-red.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_minimal-red,
- .iradio_minimal-red {
- background-image: url(red@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-}
-
-/* green */
-.icheckbox_minimal-green,
-.iradio_minimal-green {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(green.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-green {
- background-position: 0 0;
-}
- .icheckbox_minimal-green.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-green.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-green.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-green.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-green {
- background-position: -100px 0;
-}
- .iradio_minimal-green.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-green.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-green.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-green.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_minimal-green,
- .iradio_minimal-green {
- background-image: url(green@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-}
-
-/* blue */
-.icheckbox_minimal-blue,
-.iradio_minimal-blue {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(blue.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-blue {
- background-position: 0 0;
-}
- .icheckbox_minimal-blue.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-blue.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-blue.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-blue.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-blue {
- background-position: -100px 0;
-}
- .iradio_minimal-blue.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-blue.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-blue.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-blue.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_minimal-blue,
- .iradio_minimal-blue {
- background-image: url(blue@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-}
-
-/* aero */
-.icheckbox_minimal-aero,
-.iradio_minimal-aero {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(aero.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-aero {
- background-position: 0 0;
-}
- .icheckbox_minimal-aero.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-aero.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-aero.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-aero.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-aero {
- background-position: -100px 0;
-}
- .iradio_minimal-aero.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-aero.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-aero.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-aero.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_minimal-aero,
- .iradio_minimal-aero {
- background-image: url(aero@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-}
-
-/* grey */
-.icheckbox_minimal-grey,
-.iradio_minimal-grey {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(grey.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-grey {
- background-position: 0 0;
-}
- .icheckbox_minimal-grey.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-grey.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-grey.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-grey.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-grey {
- background-position: -100px 0;
-}
- .iradio_minimal-grey.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-grey.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-grey.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-grey.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_minimal-grey,
- .iradio_minimal-grey {
- background-image: url(grey@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-}
-
-/* orange */
-.icheckbox_minimal-orange,
-.iradio_minimal-orange {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(orange.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-orange {
- background-position: 0 0;
-}
- .icheckbox_minimal-orange.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-orange.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-orange.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-orange.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-orange {
- background-position: -100px 0;
-}
- .iradio_minimal-orange.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-orange.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-orange.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-orange.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_minimal-orange,
- .iradio_minimal-orange {
- background-image: url(orange@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-}
-
-/* yellow */
-.icheckbox_minimal-yellow,
-.iradio_minimal-yellow {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(yellow.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-yellow {
- background-position: 0 0;
-}
- .icheckbox_minimal-yellow.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-yellow.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-yellow.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-yellow.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-yellow {
- background-position: -100px 0;
-}
- .iradio_minimal-yellow.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-yellow.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-yellow.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-yellow.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_minimal-yellow,
- .iradio_minimal-yellow {
- background-image: url(yellow@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-}
-
-/* pink */
-.icheckbox_minimal-pink,
-.iradio_minimal-pink {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(pink.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-pink {
- background-position: 0 0;
-}
- .icheckbox_minimal-pink.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-pink.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-pink.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-pink.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-pink {
- background-position: -100px 0;
-}
- .iradio_minimal-pink.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-pink.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-pink.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-pink.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_minimal-pink,
- .iradio_minimal-pink {
- background-image: url(pink@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-}
-
-/* purple */
-.icheckbox_minimal-purple,
-.iradio_minimal-purple {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(purple.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-purple {
- background-position: 0 0;
-}
- .icheckbox_minimal-purple.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-purple.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-purple.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-purple.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-purple {
- background-position: -100px 0;
-}
- .iradio_minimal-purple.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-purple.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-purple.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-purple.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_minimal-purple,
- .iradio_minimal-purple {
- background-image: url(purple@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/aero.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/aero.css
deleted file mode 100644
index 7d8b48d4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/aero.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Minimal skin, aero
------------------------------------ */
-.icheckbox_minimal-aero,
-.iradio_minimal-aero {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(aero.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-aero {
- background-position: 0 0;
-}
- .icheckbox_minimal-aero.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-aero.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-aero.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-aero.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-aero {
- background-position: -100px 0;
-}
- .iradio_minimal-aero.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-aero.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-aero.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-aero.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_minimal-aero,
- .iradio_minimal-aero {
- background-image: url(aero@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/aero.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/aero.png
deleted file mode 100644
index dccf7740..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/aero.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/aero@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/aero@2x.png
deleted file mode 100644
index 5537ee36..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/aero@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/blue.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/blue.css
deleted file mode 100644
index fdb8b3bc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/blue.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Minimal skin, blue
------------------------------------ */
-.icheckbox_minimal-blue,
-.iradio_minimal-blue {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(blue.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-blue {
- background-position: 0 0;
-}
- .icheckbox_minimal-blue.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-blue.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-blue.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-blue.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-blue {
- background-position: -100px 0;
-}
- .iradio_minimal-blue.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-blue.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-blue.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-blue.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_minimal-blue,
- .iradio_minimal-blue {
- background-image: url(blue@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/blue.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/blue.png
deleted file mode 100644
index af04cee5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/blue.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/blue@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/blue@2x.png
deleted file mode 100644
index f19210a9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/blue@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/green.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/green.css
deleted file mode 100644
index 3e72ebb0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/green.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Minimal skin, green
------------------------------------ */
-.icheckbox_minimal-green,
-.iradio_minimal-green {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(green.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-green {
- background-position: 0 0;
-}
- .icheckbox_minimal-green.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-green.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-green.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-green.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-green {
- background-position: -100px 0;
-}
- .iradio_minimal-green.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-green.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-green.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-green.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_minimal-green,
- .iradio_minimal-green {
- background-image: url(green@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/green.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/green.png
deleted file mode 100644
index 9171ebc7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/green.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/green@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/green@2x.png
deleted file mode 100644
index 7f18f96a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/green@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/grey.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/grey.css
deleted file mode 100644
index daf4d0ca..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/grey.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Minimal skin, grey
------------------------------------ */
-.icheckbox_minimal-grey,
-.iradio_minimal-grey {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(grey.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-grey {
- background-position: 0 0;
-}
- .icheckbox_minimal-grey.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-grey.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-grey.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-grey.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-grey {
- background-position: -100px 0;
-}
- .iradio_minimal-grey.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-grey.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-grey.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-grey.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_minimal-grey,
- .iradio_minimal-grey {
- background-image: url(grey@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/grey.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/grey.png
deleted file mode 100644
index 22dcdbcf..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/grey.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/grey@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/grey@2x.png
deleted file mode 100644
index 85e82ddd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/grey@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/minimal.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/minimal.css
deleted file mode 100644
index dd2c4a08..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/minimal.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Minimal skin, black
------------------------------------ */
-.icheckbox_minimal,
-.iradio_minimal {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(minimal.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal {
- background-position: 0 0;
-}
- .icheckbox_minimal.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal {
- background-position: -100px 0;
-}
- .iradio_minimal.hover {
- background-position: -120px 0;
- }
- .iradio_minimal.checked {
- background-position: -140px 0;
- }
- .iradio_minimal.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_minimal,
- .iradio_minimal {
- background-image: url(minimal@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/minimal.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/minimal.png
deleted file mode 100644
index 943be16f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/minimal.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/minimal@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/minimal@2x.png
deleted file mode 100644
index d62291da..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/minimal@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/orange.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/orange.css
deleted file mode 100644
index 987388cd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/orange.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Minimal skin, orange
------------------------------------ */
-.icheckbox_minimal-orange,
-.iradio_minimal-orange {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(orange.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-orange {
- background-position: 0 0;
-}
- .icheckbox_minimal-orange.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-orange.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-orange.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-orange.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-orange {
- background-position: -100px 0;
-}
- .iradio_minimal-orange.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-orange.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-orange.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-orange.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_minimal-orange,
- .iradio_minimal-orange {
- background-image: url(orange@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/orange.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/orange.png
deleted file mode 100644
index f2a31497..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/orange.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/orange@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/orange@2x.png
deleted file mode 100644
index 68c83591..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/orange@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/pink.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/pink.css
deleted file mode 100644
index 4ae6f03e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/pink.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Minimal skin, pink
------------------------------------ */
-.icheckbox_minimal-pink,
-.iradio_minimal-pink {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(pink.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-pink {
- background-position: 0 0;
-}
- .icheckbox_minimal-pink.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-pink.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-pink.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-pink.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-pink {
- background-position: -100px 0;
-}
- .iradio_minimal-pink.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-pink.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-pink.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-pink.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_minimal-pink,
- .iradio_minimal-pink {
- background-image: url(pink@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/pink.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/pink.png
deleted file mode 100644
index 660553c0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/pink.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/pink@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/pink@2x.png
deleted file mode 100644
index 7d7b3851..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/pink@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/purple.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/purple.css
deleted file mode 100644
index 65239903..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/purple.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Minimal skin, purple
------------------------------------ */
-.icheckbox_minimal-purple,
-.iradio_minimal-purple {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(purple.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-purple {
- background-position: 0 0;
-}
- .icheckbox_minimal-purple.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-purple.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-purple.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-purple.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-purple {
- background-position: -100px 0;
-}
- .iradio_minimal-purple.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-purple.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-purple.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-purple.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_minimal-purple,
- .iradio_minimal-purple {
- background-image: url(purple@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/purple.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/purple.png
deleted file mode 100644
index 48dec794..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/purple.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/purple@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/purple@2x.png
deleted file mode 100644
index 3bb70417..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/purple@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/red.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/red.css
deleted file mode 100644
index d6ec1f4b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/red.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Minimal skin, red
------------------------------------ */
-.icheckbox_minimal-red,
-.iradio_minimal-red {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(red.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-red {
- background-position: 0 0;
-}
- .icheckbox_minimal-red.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-red.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-red.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-red.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-red {
- background-position: -100px 0;
-}
- .iradio_minimal-red.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-red.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-red.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-red.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_minimal-red,
- .iradio_minimal-red {
- background-image: url(red@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/red.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/red.png
deleted file mode 100644
index 4443f809..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/red.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/red@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/red@2x.png
deleted file mode 100644
index 2eb55a65..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/red@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/yellow.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/yellow.css
deleted file mode 100644
index 94730ae6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/yellow.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Minimal skin, yellow
------------------------------------ */
-.icheckbox_minimal-yellow,
-.iradio_minimal-yellow {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 18px;
- height: 18px;
- background: url(yellow.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_minimal-yellow {
- background-position: 0 0;
-}
- .icheckbox_minimal-yellow.hover {
- background-position: -20px 0;
- }
- .icheckbox_minimal-yellow.checked {
- background-position: -40px 0;
- }
- .icheckbox_minimal-yellow.disabled {
- background-position: -60px 0;
- cursor: default;
- }
- .icheckbox_minimal-yellow.checked.disabled {
- background-position: -80px 0;
- }
-
-.iradio_minimal-yellow {
- background-position: -100px 0;
-}
- .iradio_minimal-yellow.hover {
- background-position: -120px 0;
- }
- .iradio_minimal-yellow.checked {
- background-position: -140px 0;
- }
- .iradio_minimal-yellow.disabled {
- background-position: -160px 0;
- cursor: default;
- }
- .iradio_minimal-yellow.checked.disabled {
- background-position: -180px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_minimal-yellow,
- .iradio_minimal-yellow {
- background-image: url(yellow@2x.png);
- -webkit-background-size: 200px 20px;
- background-size: 200px 20px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/yellow.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/yellow.png
deleted file mode 100644
index 0999b7ec..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/yellow.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/yellow@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/yellow@2x.png
deleted file mode 100644
index c16f2b7d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/minimal/yellow@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/polaris/polaris.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/polaris/polaris.css
deleted file mode 100644
index ceb5d2af..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/polaris/polaris.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Polaris skin
------------------------------------ */
-.icheckbox_polaris,
-.iradio_polaris {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 29px;
- height: 29px;
- background: url(polaris.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_polaris {
- background-position: 0 0;
-}
- .icheckbox_polaris.hover {
- background-position: -31px 0;
- }
- .icheckbox_polaris.checked {
- background-position: -62px 0;
- }
- .icheckbox_polaris.disabled {
- background-position: -93px 0;
- cursor: default;
- }
- .icheckbox_polaris.checked.disabled {
- background-position: -124px 0;
- }
-
-.iradio_polaris {
- background-position: -155px 0;
-}
- .iradio_polaris.hover {
- background-position: -186px 0;
- }
- .iradio_polaris.checked {
- background-position: -217px 0;
- }
- .iradio_polaris.disabled {
- background-position: -248px 0;
- cursor: default;
- }
- .iradio_polaris.checked.disabled {
- background-position: -279px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_polaris,
- .iradio_polaris {
- background-image: url(polaris@2x.png);
- -webkit-background-size: 310px 31px;
- background-size: 310px 31px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/polaris/polaris.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/polaris/polaris.png
deleted file mode 100644
index 60c14e6a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/polaris/polaris.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/polaris/polaris@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/polaris/polaris@2x.png
deleted file mode 100644
index ed943daf..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/polaris/polaris@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/Thumbs.db b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/Thumbs.db
deleted file mode 100644
index 95f09067..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/Thumbs.db
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/_all.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/_all.css
deleted file mode 100644
index b259d1b2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/_all.css
+++ /dev/null
@@ -1,590 +0,0 @@
-/* iCheck plugin Square skin
------------------------------------ */
-.icheckbox_square,
-.iradio_square {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(square.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square {
- background-position: 0 0;
-}
- .icheckbox_square.hover {
- background-position: -24px 0;
- }
- .icheckbox_square.checked {
- background-position: -48px 0;
- }
- .icheckbox_square.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square {
- background-position: -120px 0;
-}
- .iradio_square.hover {
- background-position: -144px 0;
- }
- .iradio_square.checked {
- background-position: -168px 0;
- }
- .iradio_square.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_square,
- .iradio_square {
- background-image: url(square@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-}
-
-/* red */
-.icheckbox_square-red,
-.iradio_square-red {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(red.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-red {
- background-position: 0 0;
-}
- .icheckbox_square-red.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-red.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-red.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-red.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-red {
- background-position: -120px 0;
-}
- .iradio_square-red.hover {
- background-position: -144px 0;
- }
- .iradio_square-red.checked {
- background-position: -168px 0;
- }
- .iradio_square-red.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-red.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_square-red,
- .iradio_square-red {
- background-image: url(red@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-}
-
-/* green */
-.icheckbox_square-green,
-.iradio_square-green {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(green.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-green {
- background-position: 0 0;
-}
- .icheckbox_square-green.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-green.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-green.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-green.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-green {
- background-position: -120px 0;
-}
- .iradio_square-green.hover {
- background-position: -144px 0;
- }
- .iradio_square-green.checked {
- background-position: -168px 0;
- }
- .iradio_square-green.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-green.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_square-green,
- .iradio_square-green {
- background-image: url(green@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-}
-
-/* blue */
-.icheckbox_square-blue,
-.iradio_square-blue {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(blue.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-blue {
- background-position: 0 0;
-}
- .icheckbox_square-blue.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-blue.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-blue.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-blue.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-blue {
- background-position: -120px 0;
-}
- .iradio_square-blue.hover {
- background-position: -144px 0;
- }
- .iradio_square-blue.checked {
- background-position: -168px 0;
- }
- .iradio_square-blue.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-blue.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_square-blue,
- .iradio_square-blue {
- background-image: url(blue@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-}
-
-/* aero */
-.icheckbox_square-aero,
-.iradio_square-aero {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin-right: 10px;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(aero.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-aero {
- background-position: 0 0;
-}
- .icheckbox_square-aero.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-aero.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-aero.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-aero.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-aero {
- background-position: -120px 0;
-}
- .iradio_square-aero.hover {
- background-position: -144px 0;
- }
- .iradio_square-aero.checked {
- background-position: -168px 0;
- }
- .iradio_square-aero.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-aero.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_square-aero,
- .iradio_square-aero {
- background-image: url(aero@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-}
-
-/* grey */
-.icheckbox_square-grey,
-.iradio_square-grey {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(grey.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-grey {
- background-position: 0 0;
-}
- .icheckbox_square-grey.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-grey.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-grey.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-grey.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-grey {
- background-position: -120px 0;
-}
- .iradio_square-grey.hover {
- background-position: -144px 0;
- }
- .iradio_square-grey.checked {
- background-position: -168px 0;
- }
- .iradio_square-grey.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-grey.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_square-grey,
- .iradio_square-grey {
- background-image: url(grey@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-}
-
-/* orange */
-.icheckbox_square-orange,
-.iradio_square-orange {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(orange.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-orange {
- background-position: 0 0;
-}
- .icheckbox_square-orange.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-orange.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-orange.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-orange.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-orange {
- background-position: -120px 0;
-}
- .iradio_square-orange.hover {
- background-position: -144px 0;
- }
- .iradio_square-orange.checked {
- background-position: -168px 0;
- }
- .iradio_square-orange.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-orange.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_square-orange,
- .iradio_square-orange {
- background-image: url(orange@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-}
-
-/* yellow */
-.icheckbox_square-yellow,
-.iradio_square-yellow {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(yellow.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-yellow {
- background-position: 0 0;
-}
- .icheckbox_square-yellow.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-yellow.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-yellow.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-yellow.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-yellow {
- background-position: -120px 0;
-}
- .iradio_square-yellow.hover {
- background-position: -144px 0;
- }
- .iradio_square-yellow.checked {
- background-position: -168px 0;
- }
- .iradio_square-yellow.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-yellow.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_square-yellow,
- .iradio_square-yellow {
- background-image: url(yellow@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-}
-
-/* pink */
-.icheckbox_square-pink,
-.iradio_square-pink {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(pink.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-pink {
- background-position: 0 0;
-}
- .icheckbox_square-pink.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-pink.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-pink.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-pink.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-pink {
- background-position: -120px 0;
-}
- .iradio_square-pink.hover {
- background-position: -144px 0;
- }
- .iradio_square-pink.checked {
- background-position: -168px 0;
- }
- .iradio_square-pink.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-pink.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
- .icheckbox_square-pink,
- .iradio_square-pink {
- background-image: url(pink@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-}
-
-/* purple */
-.icheckbox_square-purple,
-.iradio_square-purple {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(purple.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-purple {
- background-position: 0 0;
-}
- .icheckbox_square-purple.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-purple.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-purple.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-purple.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-purple {
- background-position: -120px 0;
-}
- .iradio_square-purple.hover {
- background-position: -144px 0;
- }
- .iradio_square-purple.checked {
- background-position: -168px 0;
- }
- .iradio_square-purple.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-purple.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_square-purple,
- .iradio_square-purple {
- background-image: url(purple@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/aero.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/aero.css
deleted file mode 100644
index 5ee971de..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/aero.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Square skin, aero
------------------------------------ */
-.icheckbox_square-aero,
-.iradio_square-aero {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(aero.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-aero {
- background-position: 0 0;
-}
- .icheckbox_square-aero.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-aero.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-aero.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-aero.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-aero {
- background-position: -120px 0;
-}
- .iradio_square-aero.hover {
- background-position: -144px 0;
- }
- .iradio_square-aero.checked {
- background-position: -168px 0;
- }
- .iradio_square-aero.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-aero.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_square-aero,
- .iradio_square-aero {
- background-image: url(aero@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/aero.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/aero.png
deleted file mode 100644
index 8271ca9d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/aero.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/aero@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/aero@2x.png
deleted file mode 100644
index 07c5a022..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/aero@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/blue.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/blue.css
deleted file mode 100644
index 8211294b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/blue.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Square skin, blue
------------------------------------ */
-.icheckbox_square-blue,
-.iradio_square-blue {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(blue.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-blue {
- background-position: 0 0;
-}
- .icheckbox_square-blue.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-blue.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-blue.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-blue.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-blue {
- background-position: -120px 0;
-}
- .iradio_square-blue.hover {
- background-position: -144px 0;
- }
- .iradio_square-blue.checked {
- background-position: -168px 0;
- }
- .iradio_square-blue.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-blue.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_square-blue,
- .iradio_square-blue {
- background-image: url(blue@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/blue.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/blue.png
deleted file mode 100644
index a3e040fc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/blue.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/blue@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/blue@2x.png
deleted file mode 100644
index 8fdea12f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/blue@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/green.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/green.css
deleted file mode 100644
index 70301a9f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/green.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Square skin, green
------------------------------------ */
-.icheckbox_square-green,
-.iradio_square-green {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(green.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-green {
- background-position: 0 0;
-}
- .icheckbox_square-green.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-green.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-green.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-green.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-green {
- background-position: -120px 0;
-}
- .iradio_square-green.hover {
- background-position: -144px 0;
- }
- .iradio_square-green.checked {
- background-position: -168px 0;
- }
- .iradio_square-green.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-green.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_square-green,
- .iradio_square-green {
- background-image: url(green@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/green.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/green.png
deleted file mode 100644
index 465824e7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/green.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/green@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/green@2x.png
deleted file mode 100644
index 784e8747..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/green@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/grey.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/grey.css
deleted file mode 100644
index c4ccf044..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/grey.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Square skin, grey
------------------------------------ */
-.icheckbox_square-grey,
-.iradio_square-grey {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(grey.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-grey {
- background-position: 0 0;
-}
- .icheckbox_square-grey.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-grey.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-grey.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-grey.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-grey {
- background-position: -120px 0;
-}
- .iradio_square-grey.hover {
- background-position: -144px 0;
- }
- .iradio_square-grey.checked {
- background-position: -168px 0;
- }
- .iradio_square-grey.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-grey.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_square-grey,
- .iradio_square-grey {
- background-image: url(grey@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/grey.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/grey.png
deleted file mode 100644
index f6937585..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/grey.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/grey@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/grey@2x.png
deleted file mode 100644
index 5d6341c0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/grey@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/orange.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/orange.css
deleted file mode 100644
index 202115d8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/orange.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Square skin, orange
------------------------------------ */
-.icheckbox_square-orange,
-.iradio_square-orange {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(orange.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-orange {
- background-position: 0 0;
-}
- .icheckbox_square-orange.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-orange.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-orange.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-orange.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-orange {
- background-position: -120px 0;
-}
- .iradio_square-orange.hover {
- background-position: -144px 0;
- }
- .iradio_square-orange.checked {
- background-position: -168px 0;
- }
- .iradio_square-orange.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-orange.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_square-orange,
- .iradio_square-orange {
- background-image: url(orange@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/orange.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/orange.png
deleted file mode 100644
index 84608500..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/orange.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/orange@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/orange@2x.png
deleted file mode 100644
index b1f23197..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/orange@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/pink.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/pink.css
deleted file mode 100644
index 6355775b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/pink.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Square skin, pink
------------------------------------ */
-.icheckbox_square-pink,
-.iradio_square-pink {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(pink.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-pink {
- background-position: 0 0;
-}
- .icheckbox_square-pink.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-pink.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-pink.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-pink.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-pink {
- background-position: -120px 0;
-}
- .iradio_square-pink.hover {
- background-position: -144px 0;
- }
- .iradio_square-pink.checked {
- background-position: -168px 0;
- }
- .iradio_square-pink.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-pink.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_square-pink,
- .iradio_square-pink {
- background-image: url(pink@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/pink.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/pink.png
deleted file mode 100644
index 9c8b4e2b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/pink.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/pink@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/pink@2x.png
deleted file mode 100644
index b1f3a6ed..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/pink@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/purple.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/purple.css
deleted file mode 100644
index 30311922..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/purple.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Square skin, purple
------------------------------------ */
-.icheckbox_square-purple,
-.iradio_square-purple {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(purple.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-purple {
- background-position: 0 0;
-}
- .icheckbox_square-purple.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-purple.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-purple.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-purple.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-purple {
- background-position: -120px 0;
-}
- .iradio_square-purple.hover {
- background-position: -144px 0;
- }
- .iradio_square-purple.checked {
- background-position: -168px 0;
- }
- .iradio_square-purple.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-purple.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_square-purple,
- .iradio_square-purple {
- background-image: url(purple@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/purple.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/purple.png
deleted file mode 100644
index 6bfc16a3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/purple.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/purple@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/purple@2x.png
deleted file mode 100644
index 6d3c8b1a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/purple@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/red.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/red.css
deleted file mode 100644
index 44abb500..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/red.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Square skin, red
------------------------------------ */
-.icheckbox_square-red,
-.iradio_square-red {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(red.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-red {
- background-position: 0 0;
-}
- .icheckbox_square-red.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-red.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-red.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-red.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-red {
- background-position: -120px 0;
-}
- .iradio_square-red.hover {
- background-position: -144px 0;
- }
- .iradio_square-red.checked {
- background-position: -168px 0;
- }
- .iradio_square-red.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-red.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_square-red,
- .iradio_square-red {
- background-image: url(red@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/red.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/red.png
deleted file mode 100644
index 749675a9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/red.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/red@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/red@2x.png
deleted file mode 100644
index c05700a5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/red@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/square.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/square.css
deleted file mode 100644
index 703e637b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/square.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Square skin, black
------------------------------------ */
-.icheckbox_square,
-.iradio_square {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(square.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square {
- background-position: 0 0;
-}
- .icheckbox_square.hover {
- background-position: -24px 0;
- }
- .icheckbox_square.checked {
- background-position: -48px 0;
- }
- .icheckbox_square.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square {
- background-position: -120px 0;
-}
- .iradio_square.hover {
- background-position: -144px 0;
- }
- .iradio_square.checked {
- background-position: -168px 0;
- }
- .iradio_square.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_square,
- .iradio_square {
- background-image: url(square@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/square.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/square.png
deleted file mode 100644
index 2a3c8811..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/square.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/square@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/square@2x.png
deleted file mode 100644
index 9b56c448..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/square@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/yellow.css b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/yellow.css
deleted file mode 100644
index 9a052260..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/yellow.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* iCheck plugin Square skin, yellow
------------------------------------ */
-.icheckbox_square-yellow,
-.iradio_square-yellow {
- display: inline-block;
- *display: inline;
- vertical-align: middle;
- margin: 0;
- padding: 0;
- width: 22px;
- height: 22px;
- background: url(yellow.png) no-repeat;
- border: none;
- cursor: pointer;
-}
-
-.icheckbox_square-yellow {
- background-position: 0 0;
-}
- .icheckbox_square-yellow.hover {
- background-position: -24px 0;
- }
- .icheckbox_square-yellow.checked {
- background-position: -48px 0;
- }
- .icheckbox_square-yellow.disabled {
- background-position: -72px 0;
- cursor: default;
- }
- .icheckbox_square-yellow.checked.disabled {
- background-position: -96px 0;
- }
-
-.iradio_square-yellow {
- background-position: -120px 0;
-}
- .iradio_square-yellow.hover {
- background-position: -144px 0;
- }
- .iradio_square-yellow.checked {
- background-position: -168px 0;
- }
- .iradio_square-yellow.disabled {
- background-position: -192px 0;
- cursor: default;
- }
- .iradio_square-yellow.checked.disabled {
- background-position: -216px 0;
- }
-
-/* HiDPI support */
-@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
- .icheckbox_square-yellow,
- .iradio_square-yellow {
- background-image: url(yellow@2x.png);
- -webkit-background-size: 240px 24px;
- background-size: 240px 24px;
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/yellow.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/yellow.png
deleted file mode 100644
index b6c03309..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/yellow.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/yellow@2x.png b/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/yellow@2x.png
deleted file mode 100644
index 6b8e328e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/icheck/skins/square/yellow@2x.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/DashboardConfig-jq.json b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/DashboardConfig-jq.json
deleted file mode 100644
index 85c47468..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/DashboardConfig-jq.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "chartTypes": {
- "c3Chart": {
- "typeId": "c3Chart",
- "imageURL": "images/性能统计C.png",
- "plotLabel": "性能统计C",
- "placeholderId": "placeholderC3",
- "plotCallbackName": "c3ChartDemo",
- "plotSize": "size21",
- "plotControlCallback": "true"
- },
- "ictCPULineC3": {
- "typeId": "ictCPULineC3",
- "imageURL": "images/性能统计C.png",
- "plotLabel": "ICT服务器CPU使用率",
- "placeholderId": "placeholderC3_1",
- "plotCallbackName": "ICT_CPU_UsageLine_C3",
- "plotSize": "size21"
- },
- "currentAlarm": {
- "typeId": "currentAlarm",
- "imageURL": "images/性能统计C.png",
- "plotLabel": "当前告警",
- "placeholderId": "placeholderC3_2",
- "plotCallbackName": "AlarmCount_BarChart_C3",
- "plotSize": "size21"
- }
- },
- "initPlots": [
- "c3Chart"
- ],
- "languages": {}
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/DashboardICT-jq.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/DashboardICT-jq.js
deleted file mode 100644
index 12680c68..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/DashboardICT-jq.js
+++ /dev/null
@@ -1,246 +0,0 @@
-var DashboardICT = function () {
-
- var chartObjs;
- var plotsSelected;
- var plotControlCallbacks = {};
- var plotControlHtmlFrags = {};
-
- var wall;
-
- var addDroppableItem = function () {
- $(".column.sortable").droppable({
- accept: ".draggableItems",
- drop: function (event, ui) {
- //var dropLocation = $( ".plotsWrapper" );
- var plotTypeId = $(ui.draggable).attr("id");
- if ($("#" + chartObjs[plotTypeId].placeholderId).length > 0) {
- alert("Plot already exits!");
- return;
- }
- addDraggablePortlet(this, plotTypeId);
- }
- });
- }
-
- var addDraggablePortlet = function (droppableItem, plotTypeId) {
-
- var portletId = chartObjs[plotTypeId].typeId;
- var portletLabel = chartObjs[plotTypeId].plotLabel;
- var placeholderId = chartObjs[plotTypeId].placeholderId;
- var plotCallback = eval(chartObjs[plotTypeId].plotCallbackName);
- var plotSize = "size11";
- if (chartObjs[plotTypeId].plotSize) {
- plotSize = chartObjs[plotTypeId].plotSize;
- }
- plotSize = "";
-
- var faceboxDivIndex = $("a[rel=facebox]").length + 1;
- var portletHtml = '<div id="' + portletId + '" class="portlet portlet-sortable light bg-inverse ' + plotSize + '" style="position: relative;">' +
- '<div class="portletLabel">' + portletLabel + '</div>' +
- '<div class="removeflot"></div>' +
- '<a href="#faceboxDiv_' + faceboxDivIndex + '" rel="facebox">' +
- '<div id="faceboxDiv_' + faceboxDivIndex + '" flot_id="' + placeholderId + '" class="flot-placeholder-wrapper-portlet">' +
- '<div id="' + placeholderId + '" class="flot-placeholder"></div>' +
- '</div>' +
- '</a>' +
- '</div>';
-
- if (chartObjs[plotTypeId].plotControlCallback) {
- portletHtml = '<div id="' + portletId + '" class="portlet portlet-sortable light bg-inverse ' + plotSize + '" style="position: relative;">' +
- '<div class="portletLabel">' + portletLabel + '</div>' +
- '<div class="removeflot"></div>' +
- plotControlHtmlFrags[plotTypeId] +
- '<a href="#faceboxDiv_' + faceboxDivIndex + '" rel="facebox">' +
- '<div id="faceboxDiv_' + faceboxDivIndex + '" flot_id="' + placeholderId + '" class="flot-placeholder-wrapper-portlet">' +
- '<div id="' + placeholderId + '" class="flot-placeholder flot-placeholder-high"></div>' +
- '</div>' +
- '</a>' +
- '</div>';
- }
-
- //插入图例
- //$(droppableItem).before(portletHtml);
- $(droppableItem).prepend(portletHtml);
-
- //添加图例控制回调
- if (chartObjs[plotTypeId].plotControlCallback) {
- plotControlCallbacks[plotTypeId](plotCallback, placeholderId);
- }
-
- plotCallback(placeholderId);
-
- var args = [placeholderId];
- $.facebox.flotRedrawCallbackObjs[placeholderId] = {
- callback: plotCallback,
- arguments: args
- }
-
- $.facebox.settings.closeImage = '/web/newict/framework/thirdparty/facebox/closelabel.png';
- $.facebox.settings.loadingImage = '/web/newict/framework/thirdparty/facebox/loading.gif';
- $('a[rel*=facebox]').facebox();
-
- addDroppableItem();
-
- //调整放大后的宽度
- var portlet = $("#" + portletId + ".portlet");
- if ($(portlet).parent().hasClass("col-md-6")) {
- $("a > div", portlet).addClass("flot-placeholder-wrapper-portlet-wide");
- } else {
- $("a > div", portlet).removeClass("flot-placeholder-wrapper-portlet-wide");
- }
- /* if(plotSize == "size21"){
- $("div[flot_id=" + placeholderId + "]").addClass("flot-placeholder-wrapper-portlet-wide");
- }else{
- $("div[flot_id=" + placeholderId + "]").removeClass("flot-placeholder-wrapper-portlet-wide");
- } */
- }
-
- return {
-
- init: function () {
-
- $.ajax({
- async: false,
- "type": "GET",
- url: "/web/newict/framework/thirdparty/dashboard/DashboardConfig-jq.json",
- dataType: "json",
- "success": function (res, textStatus, jqXHR) {
- var plotItemsSelectionDiv = $(".plotItemsSelectionWrapper");
- //初始化左边的图列类型列表
- chartObjs = res.chartTypes;
- var chartSelectHtml = "";
- for (var chartObj in chartObjs) {
- chartSelectHtml =
- '<div id="' + chartObjs[chartObj].typeId + '" class="draggableItems">' +
- '<img width="100%" height="100%" src="' + chartObjs[chartObj].imageURL + '">' +
- '</div>';
- $(plotItemsSelectionDiv).append(chartSelectHtml);
- }
- //初始化已选图例
- plotsSelected = res.initPlots;
- },
- "error": function () {
- alert("Config file load error!");
- }
- });
-
- //组件放大显示插件
- $.facebox.settings.closeImage = '/web/newict/framework/thirdparty/dashboard/images/closelabel.png';
- $.facebox.settings.loadingImage = '/web/newict/framework/thirdparty/dashboard/images/loading.gif';
- $('a[rel*=facebox]').facebox();
- PortletDraggable.init();
- //Portlet
- $(".draggableItems").draggable({
- //containment:"body",
- revert: false,
- appendTo: "div.plotsWrapper",
- scroll: false,
- zIndex: 9999,
- helper: "clone",
- opacity: 0.75
- });
- $("#deleteIcon").droppable({
- accept: ".portlet",
- drop: function () {
- if ($("#deleteIcon .top").hasClass("deleteIconHidden")) {
- //$( "#droppableItem" ).removeClass("droppedOver");
- var portletRemoveId = $(".ui-sortable-helper").attr("id");
- if (portletRemoveId != "droppable") {
- $("#" + portletRemoveId).remove();
- }
- }
- },
- tolerance: "touch",
- over: function (event, ui) {
- //$( "#droppableItem" ).addClass("droppedOver");
- }
- });
- addDroppableItem();
- $(".sidebar-toggler").click(function () {
- $("#cf5 img.top").toggleClass("scale");
- $("#cf5 img.bottom").toggleClass("rotate");
-
- $(".plotsWrapper").toggleClass("dashboardExpand", 500, "linear");
- $(".plotItemsSelectionWrapper").toggleClass("sideBarClose", 500, "linear");
-
- setTimeout(function () {
- var charts = $.facebox.charts;
- for (var chart in charts) {
- charts[chart].resize();
- }
- }, 500);
- });
- $('.plotItemsSelectionWrapper').slimScroll({
- position: 'right',
- width: '177px',
- height: '630px',
- color: 'rgb(100, 150, 240)',
- railColor: '#fff',
- railOpacity: 0.3
- });
- $('.slimScrollDiv').css({
- 'float': 'left',
- 'margin-right': '-100%',
- 'margin-top': '10px'
- });
- $("#deleteIcon").click(function () {
- if ($("#deleteIcon .bottom").hasClass("deleteIconHidden")) {
- $("#deleteIcon .top").addClass("deleteIconHidden", 500);
- $("#deleteIcon .bottom").removeClass("deleteIconHidden", 500);
- //添加删除小图标
- $(".removeflot").addClass("removeIcon");
- $(".removeflot.removeIcon").click(function () {
- var placeholderId = $(".flot-placeholder", $(this).parent()).attr("id");
- if ($.facebox.intervals[placeholderId]) {
- clearInterval($.facebox.intervals[placeholderId]);
- }
- $(this).parent().remove();
- });
- } else {
- $("#deleteIcon .top").removeClass("deleteIconHidden", 500);
- $("#deleteIcon .bottom").addClass("deleteIconHidden", 500);
- //去掉删除小图标
- $(".removeflot.removeIcon").removeClass("removeIcon");
- }
- });
- //初始化已选图例
- for (var i = 0; i < plotsSelected.length; i++) {
- /* var portlets = $(".portlet-sortable");
- var maxIndex = portlets.length -1;
- addDraggablePortlet(portlets[maxIndex], plotsSelected[i]); */
- addDraggablePortlet($(".column.sortable")[i % 2], plotsSelected[i]);
- }
-
- /* setTimeout(function () {
- var charts = $.facebox.charts;
- for(var chart in charts){
- charts[chart].resize();
- }
- }, 700); */
-
- },
-
- saveSelectedPlots: function () {
- var placeholders = [];
- var plots = $(".flot-placeholder");
- $.each(plots, function (index, plot) {
- placeholders.push($(plot).attr('id'));
- });
- plotsSelected = [];
- for (var chartObj in chartObjs) {
- if (jQuery.inArray(chartObjs[chartObj].placeholderId, placeholders) > -1) {
- plotsSelected.push(chartObj);
- }
- }
- return plotsSelected;
- },
-
- addPlotControlCallbacks: function (plotId, callback) {
- plotControlCallbacks[plotId] = callback;
- },
-
- addPlotControlHtmlFrags: function (plotId, htmlFrag) {
- plotControlHtmlFrags[plotId] = htmlFrag;
- }
- }
-}(); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/DashboardICT.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/DashboardICT.css
deleted file mode 100644
index 1a4fa39d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/DashboardICT.css
+++ /dev/null
@@ -1,203 +0,0 @@
-.droppable {
- height: 254px;
- /*height: 600px;*/
- opacity: 0.0;
-}
-
-.draggableItemsWrapper {
- opacity: 0.8;
- background: #F7F7F7;
- position: fixed;
- width: 100%;
- height: 70px;
- overflow: auto;
- margin: 5px;
- top: 0px;
-}
-
-.draggableItems {
- display: inline-block;
- /* width: 70px; */
- color: black;
- /*background-color: #4b8df8;*/
- padding: 1px;
- padding-left: 5px;
- padding-right: 5px;
- margin-right: 5px;
- font-size: 1.8em;
- /*margin-bottom: 10px;*/
- border: 1px solid #e1e1e1 !important;
- border-bottom: 0px !important;
- cursor: pointer;
-}
-
-.droppedOver {
- background-color: red;
-}
-
-/*.plotItemsSelectionWrapper{
- width: 160px;
- float: left;
- position: relative;
- margin-right: -100%;
- height:600px;
- margin-top: 10px;
- overflow-y:auto;
-}*/
-.sideBarHeader {
- float: left;
- display: block;
- width: 160px;
- height: 75px;
- padding-left: 20px;
- padding-right: 20px;
-}
-
-.sideBarClose {
- width: 0px !important;
-}
-
-.dashboardExpand {
- margin-left: 10px !important;
-}
-
-.dashBoardWrapper {
- overflow-x: auto;
-}
-
-.delete-icon {
- float: right;
- padding: 5px;
- cursor: pointer;
-}
-
-.delete-icon img {
- position: fixed;
- right: 10px;
-}
-
-.deleteIconHidden {
- opacity: 0;
-}
-
-.removeIcon {
- width: 22px;
- height: 22px;
- float: right;
- margin-right: -30px;
- margin-top: -20px;
- background: url(images/delete.png) no-repeat 0px 0px;
- cursor: pointer;
-}
-
-.portletLabel {
- color: #B1B1B1;
- width: 122px;
- height: 32px;
- float: left;
-}
-
-.col-md-6.column.sortable.ui-sortable {
- padding-left: 5px !important;
-}
-
-.col-padding-adjust {
- padding-right: 5px !important;
-}
-
-.dashBoardBody {
- width: 100%;
- /*height:830px;*/
- overflow-y: auto;
- overflow-x: hidden;
-}
-
-.widePortlet {
- width: 600px !important;
-}
-
-.freeDragBlock {
- display: block;
- width: 300px !important;
- height: 270px !important;
-}
-
-.freeDragBlockWide {
- display: block;
- width: 600px !important;
- height: 270px !important;
-}
-
-.brickDraggable {
- float: left;
- display: block;
- cursor: default;
- /*overflow: hidden;*/
-}
-
-.size11 {
- height: 250px !important;
- width: 280px !important;
-}
-
-/*
-.size21 {
- height: 250px !important;
- width: 566px !important;
-}
-.size22 {
- height: 506px !important;
- width: 566px !important;
-}
-*/
-.size21 {
- height: 250px;
- width: 566px;
-}
-
-.size22 {
- height: 506px;
- width: 566px;
-}
-
-/*
-.size11 {
- height: 250px !important;
- width: 25% !important;
-}
-.size21 {
- height: 250px !important;
- width: 51% !important;
-}
-.size22 {
- height: 506px !important;
- width: 51% !important;
-}*/
-.c3PlotTypes {
- float: right;
-}
-
-.legendC3 {
- width: 50%;
- top: 12%;
- position: absolute;
- right: 5%;
- z-index: 99;
-}
-
-.legendC3 span {
- width: 33.333333%;
- display: inline-block;
- text-align: center;
- cursor: pointer;
- color: white;
-}
-
-.initBlock {
- opacity: 0 !important;
-}
-
-.dashBoardHeader {
- position: relative;
- z-index: 99999;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/c3.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/c3.css
deleted file mode 100644
index e78d0a4b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/c3.css
+++ /dev/null
@@ -1,241 +0,0 @@
-/*-- Chart --*/
-
-.c3 svg {
- font: 10px sans-serif;
-}
-
-.c3 path, .c3 line {
- fill: none;
- stroke: #000;
-}
-
-.c3 text {
- -webkit-user-select: none;
- -moz-user-select: none;
- user-select: none;
-}
-
-.c3-legend-item-tile,
-.c3-xgrid-focus,
-.c3-ygrid,
-.c3-event-rect,
-.c3-bars path {
- shape-rendering: crispEdges;
-}
-
-.c3-chart-arc path {
- stroke: #fff;
-
-}
-
-.c3-chart-arc text {
- fill: #fff;
- font-size: 13px;
-}
-
-/*-- Axis --*/
-
-.c3-axis-x .tick {
-}
-
-.c3-axis-x-label {
-}
-
-.c3-axis-y .tick {
-}
-
-.c3-axis-y-label {
-}
-
-.c3-axis-y2 .tick {
-}
-
-.c3-axis-y2-label {
-}
-
-/*-- Grid --*/
-
-.c3-grid line {
- stroke: #aaa;
-}
-
-.c3-grid text {
- fill: #aaa;
-}
-
-.c3-xgrid, .c3-ygrid {
- stroke-dasharray: 3 3;
-}
-
-.c3-xgrid-focus {
-}
-
-/*-- Text on Chart --*/
-
-.c3-text {
-}
-
-.c3-text.c3-empty {
- fill: #808080;
- font-size: 2em;
-}
-
-/*-- Line --*/
-
-.c3-line {
- stroke-width: 1px;
-}
-
-/*-- Point --*/
-
-.c3-circle._expanded_ {
- stroke-width: 1px;
- stroke: white;
-}
-
-.c3-selected-circle {
- fill: white;
- stroke-width: 2px;
-}
-
-/*-- Bar --*/
-
-.c3-bar {
- stroke-width: 0;
-}
-
-.c3-bar._expanded_ {
- fill-opacity: 0.75;
-}
-
-/*-- Arc --*/
-
-.c3-chart-arcs-title {
- dominant-baseline: middle;
- font-size: 1.3em;
-}
-
-/*-- Focus --*/
-
-.c3-target.c3-focused {
- opacity: 1;
-}
-
-.c3-target.c3-focused path.c3-line, .c3-target.c3-focused path.c3-step {
- stroke-width: 2px;
-}
-
-.c3-target.c3-defocused {
- opacity: 0.3 !important;
-}
-
-/*-- Region --*/
-
-.c3-region {
- fill: steelblue;
- fill-opacity: .1;
-}
-
-/*-- Brush --*/
-
-.c3-brush .extent {
- fill-opacity: .1;
-}
-
-/*-- Select - Drag --*/
-
-.c3-dragarea {
-}
-
-/*-- Legend --*/
-
-.c3-legend-item {
- font-size: 12px;
-}
-
-.c3-legend-item-hidden {
- opacity: 0.15;
-}
-
-.c3-legend-background {
- opacity: 0.75;
- fill: white;
- stroke: lightgray;
- stroke-width: 1
-}
-
-/*-- Tooltip --*/
-
-.c3-tooltip-container {
- z-index: 10;
-}
-
-.c3-tooltip {
- border-collapse: collapse;
- border-spacing: 0;
- background-color: #fff;
- empty-cells: show;
- width: auto;
- -webkit-box-shadow: 7px 7px 12px -9px rgb(119, 119, 119);
- -moz-box-shadow: 7px 7px 12px -9px rgb(119, 119, 119);
- box-shadow: 7px 7px 12px -9px rgb(119, 119, 119);
- opacity: 0.9;
-}
-
-.c3-tooltip tr {
- border: 1px solid #CCC;
-}
-
-.c3-tooltip th {
- background-color: #aaa;
- font-size: 14px;
- padding: 2px 5px;
- text-align: left;
- color: #FFF;
-}
-
-.c3-tooltip td {
- font-size: 13px;
- padding: 3px 6px;
- background-color: #fff;
- border-left: 1px dotted #999;
-}
-
-.c3-tooltip td > span {
- display: inline-block;
- width: 10px;
- height: 10px;
- margin-right: 6px;
-}
-
-.c3-tooltip td.value {
- text-align: right;
-}
-
-.c3-area {
- stroke-width: 0;
- opacity: 0.2;
-}
-
-.c3-chart-arcs .c3-chart-arcs-background {
- fill: #e0e0e0;
- stroke: none;
-}
-
-.c3-chart-arcs .c3-chart-arcs-gauge-unit {
- fill: #000;
- font-size: 16px;
-}
-
-.c3-chart-arcs .c3-chart-arcs-gauge-max {
- fill: #777;
-}
-
-.c3-chart-arcs .c3-chart-arcs-gauge-min {
- fill: #777;
-}
-
-.c3-chart-arc .c3-gauge-value {
- fill: #000;
- /* font-size: 28px !important;*/
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/c3.min.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/c3.min.css
deleted file mode 100644
index 984561f7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/c3.min.css
+++ /dev/null
@@ -1,175 +0,0 @@
-.c3 svg {
- font: 10px sans-serif
-}
-
-.c3 line, .c3 path {
- fill: none;
- stroke: #000
-}
-
-.c3 text {
- -webkit-user-select: none;
- -moz-user-select: none;
- user-select: none
-}
-
-.c3-bars path, .c3-event-rect, .c3-legend-item-tile, .c3-xgrid-focus, .c3-ygrid {
- shape-rendering: crispEdges
-}
-
-.c3-chart-arc path {
- stroke: #fff
-}
-
-.c3-chart-arc text {
- fill: #fff;
- font-size: 13px
-}
-
-.c3-grid line {
- stroke: #aaa
-}
-
-.c3-grid text {
- fill: #aaa
-}
-
-.c3-xgrid, .c3-ygrid {
- stroke-dasharray: 3 3
-}
-
-.c3-text.c3-empty {
- fill: gray;
- font-size: 2em
-}
-
-.c3-line {
- stroke-width: 1px
-}
-
-.c3-circle._expanded_ {
- stroke-width: 1px;
- stroke: #fff
-}
-
-.c3-selected-circle {
- fill: #fff;
- stroke-width: 2px
-}
-
-.c3-bar {
- stroke-width: 0
-}
-
-.c3-bar._expanded_ {
- fill-opacity: .75
-}
-
-.c3-chart-arcs-title {
- dominant-baseline: middle;
- font-size: 1.3em
-}
-
-.c3-target.c3-focused {
- opacity: 1
-}
-
-.c3-target.c3-focused path.c3-line, .c3-target.c3-focused path.c3-step {
- stroke-width: 2px
-}
-
-.c3-target.c3-defocused {
- opacity: .3 !important
-}
-
-.c3-region {
- fill: #4682b4;
- fill-opacity: .1
-}
-
-.c3-brush .extent {
- fill-opacity: .1
-}
-
-.c3-legend-item {
- font-size: 12px
-}
-
-.c3-legend-item-hidden {
- opacity: .15
-}
-
-.c3-legend-background {
- opacity: .75;
- fill: #fff;
- stroke: #d3d3d3;
- stroke-width: 1
-}
-
-.c3-tooltip-container {
- z-index: 10
-}
-
-.c3-tooltip {
- border-collapse: collapse;
- border-spacing: 0;
- background-color: #fff;
- empty-cells: show;
- -webkit-box-shadow: 7px 7px 12px -9px #777;
- -moz-box-shadow: 7px 7px 12px -9px #777;
- box-shadow: 7px 7px 12px -9px #777;
- opacity: .9
-}
-
-.c3-tooltip tr {
- border: 1px solid #CCC
-}
-
-.c3-tooltip th {
- background-color: #aaa;
- font-size: 14px;
- padding: 2px 5px;
- text-align: left;
- color: #FFF
-}
-
-.c3-tooltip td {
- font-size: 13px;
- padding: 3px 6px;
- background-color: #fff;
- border-left: 1px dotted #999
-}
-
-.c3-tooltip td > span {
- display: inline-block;
- width: 10px;
- height: 10px;
- margin-right: 6px
-}
-
-.c3-tooltip td.value {
- text-align: right
-}
-
-.c3-area {
- stroke-width: 0;
- opacity: .2
-}
-
-.c3-chart-arcs .c3-chart-arcs-background {
- fill: #e0e0e0;
- stroke: none
-}
-
-.c3-chart-arcs .c3-chart-arcs-gauge-unit {
- fill: #000;
- font-size: 16px
-}
-
-.c3-chart-arcs .c3-chart-arcs-gauge-max, .c3-chart-arcs .c3-chart-arcs-gauge-min {
- fill: #777
-}
-
-.c3-chart-arc .c3-gauge-value {
- fill: #000
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/components.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/components.css
deleted file mode 100644
index 5c6dd352..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/components.css
+++ /dev/null
@@ -1,14133 +0,0 @@
-/***
-Rounded corners reset
-***/
-/* Reset rounded corners for all elements */
-div,
-input,
-select,
-textarea,
-span,
-img,
-table,
-label,
-td,
-th,
-p,
-a,
-button,
-ul,
-code,
-pre,
-li {
- -webkit-border-radius: 0 !important;
- -moz-border-radius: 0 !important;
- border-radius: 0 !important;
-}
-
-/* except below bootstrap elements */
-.img-circle {
- border-radius: 50% !important;
-}
-
-.img-rounded {
- border-radius: 6px !important;
-}
-
-/***
-General reset
-***/
-/* Set default body */
-body {
- color: #333333;
- font-family: "Open Sans", sans-serif;
- padding: 0px !important;
- margin: 0px !important;
- font-size: 13px;
- direction: ltr;
-}
-
-/*
- Internet Explorer 10 doesn't differentiate device width from viewport width, and thus doesn't
- properly apply the media queries in Bootstrap's CSS. To address this,
- you can optionally include the following CSS and JavaScript to work around this problem until Microsoft issues a fix.
-*/
-@-webkit-viewport {
- width: device-width;
-}
-
-@-moz-viewport {
- width: device-width;
-}
-
-@-ms-viewport {
- width: device-width;
-}
-
-@-o-viewport {
- width: device-width;
-}
-
-@viewport {
- width: device-width;
-}
-
-/*
- Internet Explorer 10 doesn't differentiate device width from viewport width,
- and thus doesn't properly apply the media queries in Bootstrap's CSS. To address this, following CSS code applied
-*/
-@-ms-viewport {
- width: auto !important;
-}
-
-/* Custom scrollbars for webkit browsers */
-::-webkit-scrollbar {
- width: 12px;
-}
-
-::-webkit-scrollbar-track {
- background-color: #eaeaea;
- border-left: 1px solid #cecece;
-}
-
-::-webkit-scrollbar-thumb {
- background-color: #cecece;
-}
-
-::-webkit-scrollbar-thumb:hover {
- background-color: #aaaaaa;
-}
-
-::-webkit-scrollbar-track {
- border-radius: 0;
- box-shadow: none;
- border: 0;
-}
-
-::-webkit-scrollbar-thumb {
- border-radius: 0;
- box-shadow: none;
- border: 0;
-}
-
-/***
-General typography
-***/
-/* Headings */
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: "Open Sans", sans-serif;
- font-weight: 300;
-}
-
-h1 {
- font-size: 33px;
-}
-
-h2 {
- font-size: 27px;
-}
-
-h3 {
- font-size: 23px;
-}
-
-h4 {
- font-size: 17px;
-}
-
-h5 {
- font-size: 13px;
-}
-
-h6 {
- font-size: 12px;
-}
-
-/* Headings helper text */
-h1 small,
-h2 small,
-h3 small,
-h4 small,
-h5 small,
-h6 small {
- color: #444444;
-}
-
-/* Block headings */
-h1.block,
-h2.block,
-h3.block,
-h4.block,
-h5.block,
-h6.block {
- padding-top: 10px;
- padding-bottom: 10px;
-}
-
-/* Links */
-a {
- text-shadow: none;
- color: #5b9bd1;
-}
-
-a:hover {
- color: #3175af;
-}
-
-a:focus, a:hover, a:active {
- outline: 0;
-}
-
-/* Horizontal break */
-hr {
- margin: 20px 0;
- border: 0;
- border-top: 1px solid #eee;
- border-bottom: 0;
-}
-
-/* Unstyled List */
-.list-unstyled li > .list-unstyled {
- margin-left: 25px;
-}
-
-/* Code */
-code {
- border: 1px solid #e1e1e1;
- -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
-}
-
-/* Disabled Navigation Link */
-.disabled-link .disable-target {
- opacity: 0.5 !important;
- filter: alpha(opacity=50) !important;
-}
-
-.disabled-link .disable-target:hover {
- cursor: not-allowed !important;
-}
-
-.disabled-link:hover {
- cursor: not-allowed !important;
-}
-
-/***
-Utilities
-***/
-/* Links */
-a:hover {
- cursor: pointer;
-}
-
-/* Primary Link */
-.primary-link {
- color: #65A0D0;
- font-weight: 600;
-}
-
-.primary-link:hover {
- color: #5194ca;
-}
-
-/* Rounded Element */
-.rounded-2 {
- border-radius: 2px !important;
-}
-
-.rounded-3 {
- border-radius: 3px !important;
-}
-
-.rounded-4 {
- border-radius: 4px !important;
-}
-
-/* Circle Element */
-.circle {
- border-radius: 25px !important;
-}
-
-.circle-right {
- border-radius: 0 25px 25px 0 !important;
-}
-
-.circle-left {
- border-radius: 25px 0 0 25px !important;
-}
-
-.circle-bottom {
- border-radius: 0 0 25px 25px !important;
-}
-
-.circle-top {
- border-radius: 25px 25px 0 0 !important;
-}
-
-/* General utilities */
-.display-none,
-.display-hide {
- display: none;
-}
-
-.hidden {
- display: none !important;
-}
-
-.primary-font {
- font-family: "Open Sans", sans-serif !important;
-}
-
-.bold {
- font-weight: 700 !important;
-}
-
-.thin {
- font-weight: 300 !important;
-}
-
-.uppercase {
- text-transform: uppercase !important;
-}
-
-.fix-margin {
- margin-left: 0px !important;
-}
-
-.border {
- border: 1px solid red;
-}
-
-.font-hg {
- font-size: 23px;
-}
-
-.font-lg {
- font-size: 18px;
-}
-
-.font-md {
- font-size: 14px;
-}
-
-.font-sm {
- font-size: 13px;
-}
-
-.font-xs {
- font-size: 11px;
-}
-
-.inline {
- display: inline;
-}
-
-.inline-block {
- display: inline-block;
-}
-
-.text-align-reverse {
- text-align: right;
-}
-
-/* Margin and padding utilities */
-.no-space {
- margin: 0px !important;
- padding: 0px !important;
-}
-
-.no-margin {
- margin: 0;
-}
-
-.margin-bottom-5 {
- margin-bottom: 5px;
-}
-
-.margin-bottom-10 {
- margin-bottom: 10px !important;
-}
-
-.margin-top-10 {
- margin-top: 10px !important;
-}
-
-.margin-top-15 {
- margin-top: 15px !important;
-}
-
-.margin-bottom-15 {
- margin-bottom: 15px !important;
-}
-
-.margin-bottom-20 {
- margin-bottom: 20px !important;
-}
-
-.margin-top-20 {
- margin-top: 20px !important;
-}
-
-.margin-bottom-25 {
- margin-bottom: 25px !important;
-}
-
-.margin-bottom-30 {
- margin-bottom: 30px !important;
-}
-
-.margin-right-10 {
- margin-right: 10px !important;
-}
-
-/* IE8 & IE9 mode utilities */
-.visible-ie8 {
- display: none;
-}
-
-.ie8 .visible-ie8 {
- display: inherit !important;
-}
-
-.visible-ie9 {
- display: none;
-}
-
-.ie9 .visible-ie9 {
- display: inherit !important;
-}
-
-.hidden-ie8 {
- display: inherit;
-}
-
-.ie8 .hidden-ie8 {
- display: none !important;
-}
-
-.hidden-ie9 {
- display: inherit;
-}
-
-.ie9 .hidden-ie9 {
- display: none !important;
-}
-
-/***
-Responsive Utils
-***/
-@media (max-width: 1024px) {
- .hidden-1024 {
- display: none;
- }
-}
-
-@media (max-width: 480px) {
- .hidden-480 {
- display: none;
- }
-}
-
-@media (max-width: 320px) {
- .hidden-320 {
- display: none;
- }
-}
-
-/***
-Demo Utils
-***/
-.scrollspy-example {
- position: relative;
- height: 200px;
- margin-top: 10px;
- overflow: auto;
-}
-
-.util-btn-margin-bottom-5 .btn {
- margin-bottom: 5px !important;
-}
-
-.util-btn-group-margin-bottom-5 .btn-group {
- margin-bottom: 5px !important;
-}
-
-/***
-Users
-***/
-.user-info {
- margin-bottom: 10px !important;
-}
-
-.user-info img {
- float: left;
- margin-right: 5px;
-}
-
-.user-info .details {
- display: inline-block;
-}
-
-.user-info .label {
- font-weight: 300;
- font-size: 11px;
-}
-
-/***
-Top News Blocks(new in v1.2.2)
-***/
-.top-news {
- color: #fff;
- margin: 8px 0;
-}
-
-.top-news em {
- font-size: 13px;
- margin-bottom: 8px;
- margin-bottom: 0;
- font-style: normal;
- display: block;
-}
-
-.top-news em i {
- font-size: 14px;
-}
-
-.top-news span {
- font-size: 18px;
- margin-bottom: 5px;
- display: block;
- text-align: left;
-}
-
-.top-news a {
- display: block;
- text-align: left;
- padding: 10px;
- position: relative;
- margin-bottom: 10px;
-}
-
-.top-news a .top-news-icon {
- right: 8px;
- bottom: 15px;
- opacity: 0.3;
- font-size: 35px;
- position: absolute;
- filter: alpha(opacity=30);
- /*For IE8*/
-}
-
-/***
-Block Images(new in v1.2.2)
-***/
-.blog-images {
- margin-bottom: 0;
-}
-
-.blog-images li {
- padding: 0;
- margin: 0;
- display: inline;
-}
-
-.blog-images li a:hover {
- text-decoration: none;
-}
-
-.blog-images li img {
- width: 50px;
- height: 50px;
- opacity: 0.6;
- margin: 0 2px 8px;
-}
-
-.blog-images li img:hover {
- opacity: 1;
- box-shadow: 0 0 0 4px #72c02c;
- transition: all 0.4s ease-in-out 0s;
- -moz-transition: all 0.4s ease-in-out 0s;
- -webkit-transition: all 0.4s ease-in-out 0s;
-}
-
-/***
-Sidebar Tags
-***/
-.sidebar-tags li {
- padding: 0;
-}
-
-.sidebar-tags li a {
- color: #555;
- font-size: 12px;
- padding: 3px 5px;
- background: #f7f7f7;
- margin: 0 2px 5px 0;
- display: inline-block;
-}
-
-.sidebar-tags li a:hover, .sidebar-tags li a:hover i {
- background: #EEE;
- text-decoration: none;
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
-}
-
-.sidebar-tags li a i {
- color: #777;
-}
-
-/***
-Custom vertical inline menu
-***/
-.ver-inline-menu {
- padding: 0;
- margin: 0;
- list-style: none;
-}
-
-.ver-inline-menu li {
- position: relative;
- margin-bottom: 1px;
-}
-
-.ver-inline-menu li i {
- width: 37px;
- height: 37px;
- display: inline-block;
- color: #b9cbd5;
- font-size: 15px;
- padding: 12px 10px 10px 8px;
- margin: 0 8px 0 0;
- text-align: center;
- background: #e0eaf0 !important;
-}
-
-.ver-inline-menu li a {
- font-size: 14px;
- font-weight: 300;
- color: #557386;
- display: block;
- background: #f0f6fa;
- border-left: solid 2px #c4d5df;
-}
-
-.ver-inline-menu li:hover a {
- background: #e0eaf0;
- text-decoration: none;
-}
-
-.ver-inline-menu li:hover i {
- color: #fff;
- background: #c4d5df !important;
-}
-
-.ver-inline-menu li.active a {
- border-left: solid 2px #0c91e5;
-}
-
-.ver-inline-menu li.active i {
- background: #0c91e5 !important;
-}
-
-.ver-inline-menu li.active a, .ver-inline-menu li.active i {
- color: #fff;
- background: #169ef4;
- text-decoration: none;
-}
-
-.ver-inline-menu li.active a, .ver-inline-menu li:hover a {
- font-size: 14px;
-}
-
-.ver-inline-menu li.active:after {
- content: '';
- display: inline-block;
- border-bottom: 6px solid transparent;
- border-top: 6px solid transparent;
- border-left: 6px solid #169ef4;
- position: absolute;
- top: 12px;
- right: -5px;
-}
-
-@media (max-width: 767px) {
- .ver-inline-menu > li.active:after {
- display: none;
- }
-}
-
-/***
-Separated List
-***/
-.list-separated {
- margin-top: 10px;
- margin-bottom: 15px;
-}
-
-.list-separated > div {
- border-right1: 1px solid #f5f5f5;
-}
-
-.list-separated > div:last-child {
- border-right: 0;
-}
-
-@media (max-width: 767px) {
- .list-separated {
- /* 767px */
- }
-
- .list-separated > div {
- margin-bottom: 20px;
- }
-}
-
-/***
-Number & Chart Stats
-***/
-.number-stats {
- margin: 10px 0;
-}
-
-.number-stats .stat-number {
- display: inline-block;
- margin: 0 5px;
-}
-
-.number-stats .stat-number .title {
- font-size: 13px;
- margin-bottom: 3px;
- color: #B8C3C7;
-}
-
-.number-stats .stat-number .number {
- font-size: 27px;
- line-height: 27px;
- color: #7D8C9D;
-}
-
-.number-stats .stat-chart {
- display: inline-block;
- margin: 0 5px;
-}
-
-.number-stats > div {
- border-right: 1px solid #f5f5f5;
-}
-
-.number-stats > div:last-child {
- border-right: 0;
-}
-
-.number-stats .stat-left {
- float: right;
-}
-
-.number-stats .stat-left .stat-number {
- float: right;
- text-align: right;
-}
-
-.number-stats .stat-left .stat-chart {
- float: right;
-}
-
-.number-stats .stat-right {
- float: left !important;
-}
-
-.number-stats .stat-right .stat-number {
- float: left;
- text-align: left;
-}
-
-.number-stats .stat-right .stat-chart {
- float: left;
-}
-
-.number-stats .stat-number {
- float: left;
- text-align: left;
-}
-
-.number-stats .stat-chart {
- float: left;
-}
-
-/***
-General User Record Listing
-***/
-.general-item-list > .item {
- padding: 10px 0;
- border-bottom: 1px solid #F1F4F7;
-}
-
-.general-item-list > .item:last-child {
- border-bottom: 0;
-}
-
-.general-item-list > .item > .item-head {
- margin-bottom: 5px;
-}
-
-.general-item-list > .item > .item-head:before, .general-item-list > .item > .item-head:after {
- content: " ";
- display: table;
-}
-
-.general-item-list > .item > .item-head:after {
- clear: both;
-}
-
-.general-item-list > .item > .item-head > .item-details {
- display: inline-block;
- float: left;
-}
-
-.general-item-list > .item > .item-head > .item-details > .item-pic {
- height: 35px;
- margin-right: 10px;
- -webkit-border-radius: 100%;
- -moz-border-radius: 100%;
- -ms-border-radius: 100%;
- -o-border-radius: 100%;
- border-radius: 100%;
-}
-
-.general-item-list > .item > .item-head > .item-details > .item-name {
- display: inline-block;
- margin-right: 10px;
-}
-
-.general-item-list > .item > .item-head > .item-details > .item-label {
- color: #C0C9CC;
-}
-
-.general-item-list > .item > .item-head > .item-status {
- color: #C0C9CC;
- top: 10px;
- position: relative;
- display: inline-block;
- float: right;
-}
-
-.general-item-list > .item > .item-head > .item-status > .badge {
- margin-top: -2px;
-}
-
-.general-item-list > .item > .item-body {
- color: #96a5aa;
-}
-
-/***
-File dropzone
-***/
-.file-drop-zone {
- border: 2px dashed #ddd;
- padding: 30px;
- text-align: center;
-}
-
-.file-drop-zone.file-drop-zone-over {
- border-color: #aaa;
-}
-
-/***
-Fontawesome Icons
-***/
-[class^="fa-"],
-[class^="glyphicon-"],
-[class^="icon-"],
-[class*=" fa-"],
-[class*=" glyphicon-"],
-[class*=" icon-"] {
- display: inline-block;
- margin-top: 1px;
- font-size: 14px;
- *margin-right: .3em;
- line-height: 14px;
- -webkit-font-smoothing: antialiased;
-}
-
-/* Make font awesome icons fixed width */
-li [class^="fa-"],
-li [class^="glyphicon-"],
-li [class^="icon-"],
-li [class*=" fa-"],
-li [class*=" glyphicon-"],
-li [class*=" icon-"] {
- display: inline-block;
- width: 1.25em;
- text-align: center;
-}
-
-li [class^="glyphicon-"],
-li [class*=" glyphicon-"] {
- top: 2px;
-}
-
-li [class^="icon-"],
-li [class*=" icon-"] {
- top: 1px;
- position: relative;
-}
-
-li [class^="fa-"].icon-large,
-li [class^="glyphicon-"].icon-large,
-li [class^="icon-"].icon-large,
-li [class*=" fa-"].icon-large,
-li [class*=" glyphicon-"].icon-large,
-li [class*=" icon-"].icon-large {
- /* increased font size for icon-large */
- width: 1.5625em;
-}
-
-/* Icon sizing */
-.fa-sm,
-.icon-sm {
- font-size: 12px;
-}
-
-.fa-lg,
-.icon-lg {
- font-size: 16px !important;
-}
-
-.fa-2x {
- font-size: 2em;
-}
-
-.fa-3x {
- font-size: 3em;
-}
-
-.fa-4x {
- font-size: 4em;
-}
-
-.fa-5x {
- font-size: 5em;
-}
-
-/* Icon coloring */
-.icon-state-default {
- color: #c6c6c6;
-}
-
-.icon-state-success {
- color: #45B6AF;
-}
-
-.icon-state-info {
- color: #89C4F4;
-}
-
-.icon-state-warning {
- color: #dfba49;
-}
-
-.icon-state-danger {
- color: #F3565D;
-}
-
-/***
-Font Awesome 4.x Demo
-***/
-.fa-item {
- font-size: 14px;
- padding: 10px 10px 10px 20px;
-}
-
-.fa-item i {
- font-size: 16px;
- display: inline-block;
- width: 20px;
- color: #333;
-}
-
-.fa-item:hover {
- cursor: pointer;
- background: #eee;
-}
-
-/***
-Simple Line Icons Demo
-***/
-.simplelineicons-demo .item-box {
- display: inline-block;
- font-size: 16px;
- margin: 0 -0.22em 1em 0;
- padding-left: 1em;
- width: 100%;
-}
-
-.simplelineicons-demo .item-box .item {
- background-color: #fff;
- color: #33383e;
- border-radius: 8px;
- display: inline-block;
- padding: 10px;
- width: 100%;
-}
-
-.simplelineicons-demo .item-box .item span {
- font-size: 22px;
-}
-
-@media only screen and (min-width: 768px) {
- .simplelineicons-demo .item-box {
- width: 33.333%;
- }
-}
-
-/***
-Glyphicons Demo
-***/
-.glyphicons-demo ul {
- padding-left: 0;
- padding-bottom: 1px;
- margin-bottom: 20px;
- list-style: none;
- overflow: hidden;
-}
-
-.bs-glyphicon-class {
- text-align: center;
-}
-
-.bs-glyphicons {
- padding-left: 0;
- padding-bottom: 1px;
- margin-bottom: 20px;
- list-style: none;
- overflow: hidden;
-}
-
-.glyphicons-demo ul li {
- float: left;
- width: 25%;
- height: 115px;
- padding: 10px;
- margin: 0 -1px -1px 0;
- font-size: 14px;
- line-height: 1.4;
- text-align: center;
- border: 1px solid #ddd;
-}
-
-.glyphicons-demo .glyphicon {
- display: block;
- margin: 5px auto 10px;
- font-size: 24px;
- color: #444;
-}
-
-.glyphicons-demo ul li:hover {
- background-color: rgba(86, 61, 124, 0.1);
-}
-
-@media (min-width: 768px) {
- .glyphicons-demo ul li {
- width: 12.5%;
- }
-}
-
-/***
-Customized Bootstrap Alerts
-***/
-.alert {
- border-width: 1px;
-}
-
-.alert.alert-borderless {
- border: 0;
-}
-
-/***
-Bootstrap Alerts
-***/
-.alert-success {
- background-color: #dff0d8;
- border-color: #d6e9c6;
- color: #3c763d;
-}
-
-.alert-success hr {
- border-top-color: #c9e2b3;
-}
-
-.alert-success .alert-link {
- color: #2b542c;
-}
-
-.alert-info {
- background-color: #d9edf7;
- border-color: #bce8f1;
- color: #31708f;
-}
-
-.alert-info hr {
- border-top-color: #a6e1ec;
-}
-
-.alert-info .alert-link {
- color: #245269;
-}
-
-.alert-warning {
- background-color: #fcf8e3;
- border-color: #faebcc;
- color: #8a6d3b;
-}
-
-.alert-warning hr {
- border-top-color: #f7e1b5;
-}
-
-.alert-warning .alert-link {
- color: #66512c;
-}
-
-.alert-danger {
- background-color: #f2dede;
- border-color: #ebccd1;
- color: #a94442;
-}
-
-.alert-danger hr {
- border-top-color: #e4b9c0;
-}
-
-.alert-danger .alert-link {
- color: #843534;
-}
-
-/***
-Custom Bootstrap Badges
-***/
-.badge {
- font-size: 11px !important;
- font-weight: 300;
- text-align: center;
- height: 18px;
- padding: 3px 6px 3px 6px;
- -webkit-border-radius: 12px !important;
- -moz-border-radius: 12px !important;
- border-radius: 12px !important;
- text-shadow: none !important;
- text-align: center;
- vertical-align: middle;
-}
-
-.badge.badge-roundless {
- -webkit-border-radius: 0 !important;
- -moz-border-radius: 0 !important;
- border-radius: 0 !important;
-}
-
-.badge.badge-empty {
- display: inline-block;
- padding: 0;
- min-width: 8px;
- height: 8px;
- width: 8px;
-}
-
-/* Badge variants */
-.badge-default {
- background-color: #c6c6c6;
- background-image: none;
-}
-
-.badge-primary {
- background-color: #428bca;
- background-image: none;
-}
-
-.badge-info {
- background-color: #89C4F4;
- background-image: none;
-}
-
-.badge-success {
- background-color: #45B6AF;
- background-image: none;
-}
-
-.badge-danger {
- background-color: #F3565D;
- background-image: none;
-}
-
-.badge-warning {
- background-color: #dfba49;
- background-image: none;
-}
-
-/* Fix badge position for navs */
-.nav.nav-pills > li > a > .badge,
-.nav.nav-stacked > li > a > .badge {
- margin-top: -2px;
-}
-
-/***
-Dropdown Menu Badges
-***/
-.dropdown-menu > li > a > .badge {
- position: absolute;
- margin-top: 1px;
- right: 3px;
- display: inline;
- font-size: 11px;
- font-weight: 300;
- text-shadow: none;
- height: 18px;
- padding: 3px 6px 3px 6px;
- text-align: center;
- vertical-align: middle;
- -webkit-border-radius: 12px !important;
- -moz-border-radius: 12px !important;
- border-radius: 12px !important;
-}
-
-.dropdown-menu.badge-roundless {
- -webkit-border-radius: 0 !important;
- -moz-border-radius: 0 !important;
- border-radius: 0 !important;
-}
-
-/***
-Customized Bootstrap Buttons
-***/
-/* Default buttons */
-.btn {
- border-width: 0;
- padding: 7px 14px;
- font-size: 14px;
- outline: none !important;
- background-image: none !important;
- filter: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
- text-shadow: none;
-}
-
-.btn.dropdown-toggle, .btn-group .btn.dropdown-toggle, .btn:hover, .btn:disabled, .btn[disabled], .btn:focus, .btn:active, .btn.active {
- outline: none !important;
- background-image: none !important;
- filter: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
- text-shadow: none;
-}
-
-.btn-default {
- border-width: 1px;
- padding: 6px 13px;
-}
-
-.btn-block {
- display: block;
- width: 100%;
- padding-left: 0;
- padding-right: 0;
-}
-
-/* Bootstrap buttons */
-.btn-default {
- color: #333;
- background-color: #fff;
- border-color: #ccc;
-}
-
-.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active {
- color: #333;
- background-color: #ededed;
- border-color: #b3b3b3;
-}
-
-.open .btn-default.dropdown-toggle {
- color: #333;
- background-color: #ededed;
- border-color: #b3b3b3;
-}
-
-.btn-default:active, .btn-default.active {
- background-image: none;
- background-color: #e0e0e0;
-}
-
-.btn-default:active:hover, .btn-default.active:hover {
- background-color: #e6e6e6;
-}
-
-.open .btn-default.dropdown-toggle {
- background-image: none;
-}
-
-.btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled:active, .btn-default.disabled.active, .btn-default[disabled], .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled]:active, .btn-default[disabled].active, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default.active {
- background-color: #fff;
- border-color: #ccc;
-}
-
-.btn-default .badge {
- color: #fff;
- background-color: #333;
-}
-
-.btn-default > i {
- color: #aaa;
-}
-
-.btn-default > i[class^="icon-"],
-.btn-default > i[class*="icon-"] {
- color: #8c8c8c;
-}
-
-.btn-primary {
- color: #fff;
- background-color: #428bca;
- border-color: #357ebd;
-}
-
-.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
- color: #fff;
- background-color: #3379b5;
- border-color: #2a6496;
-}
-
-.open .btn-primary.dropdown-toggle {
- color: #fff;
- background-color: #3379b5;
- border-color: #2a6496;
-}
-
-.btn-primary:active, .btn-primary.active {
- background-image: none;
- background-color: #2d6ca2;
-}
-
-.btn-primary:active:hover, .btn-primary.active:hover {
- background-color: #3071a9;
-}
-
-.open .btn-primary.dropdown-toggle {
- background-image: none;
-}
-
-.btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary[disabled], .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled]:active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary.active {
- background-color: #428bca;
- border-color: #357ebd;
-}
-
-.btn-primary .badge {
- color: #428bca;
- background-color: #fff;
-}
-
-.btn-success {
- color: #fff;
- background-color: #45B6AF;
- border-color: #3ea49d;
-}
-
-.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active {
- color: #fff;
- background-color: #3b9c96;
- border-color: #307f7a;
-}
-
-.open .btn-success.dropdown-toggle {
- color: #fff;
- background-color: #3b9c96;
- border-color: #307f7a;
-}
-
-.btn-success:active, .btn-success.active {
- background-image: none;
- background-color: #348a84;
-}
-
-.btn-success:active:hover, .btn-success.active:hover {
- background-color: #37918b;
-}
-
-.open .btn-success.dropdown-toggle {
- background-image: none;
-}
-
-.btn-success.disabled, .btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled:active, .btn-success.disabled.active, .btn-success[disabled], .btn-success[disabled]:hover, .btn-success[disabled]:focus, .btn-success[disabled]:active, .btn-success[disabled].active, fieldset[disabled] .btn-success, fieldset[disabled] .btn-success:hover, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success:active, fieldset[disabled] .btn-success.active {
- background-color: #45B6AF;
- border-color: #3ea49d;
-}
-
-.btn-success .badge {
- color: #45B6AF;
- background-color: #fff;
-}
-
-.btn-info {
- color: #fff;
- background-color: #89C4F4;
- border-color: #72b8f2;
-}
-
-.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active {
- color: #fff;
- background-color: #68b4f1;
- border-color: #43a1ed;
-}
-
-.open .btn-info.dropdown-toggle {
- color: #fff;
- background-color: #68b4f1;
- border-color: #43a1ed;
-}
-
-.btn-info:active, .btn-info.active {
- background-image: none;
- background-color: #51a8ef;
-}
-
-.btn-info:active:hover, .btn-info.active:hover {
- background-color: #5aadf0;
-}
-
-.open .btn-info.dropdown-toggle {
- background-image: none;
-}
-
-.btn-info.disabled, .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled:active, .btn-info.disabled.active, .btn-info[disabled], .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled]:active, .btn-info[disabled].active, fieldset[disabled] .btn-info, fieldset[disabled] .btn-info:hover, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info.active {
- background-color: #89C4F4;
- border-color: #72b8f2;
-}
-
-.btn-info .badge {
- color: #89C4F4;
- background-color: #fff;
-}
-
-.btn-warning {
- color: #fff;
- background-color: #dfba49;
- border-color: #dbb233;
-}
-
-.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active {
- color: #fff;
- background-color: #daae2b;
- border-color: #bb9521;
-}
-
-.open .btn-warning.dropdown-toggle {
- color: #fff;
- background-color: #daae2b;
- border-color: #bb9521;
-}
-
-.btn-warning:active, .btn-warning.active {
- background-image: none;
- background-color: #c89f23;
-}
-
-.btn-warning:active:hover, .btn-warning.active:hover {
- background-color: #d0a625;
-}
-
-.open .btn-warning.dropdown-toggle {
- background-image: none;
-}
-
-.btn-warning.disabled, .btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled:active, .btn-warning.disabled.active, .btn-warning[disabled], .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled]:active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning, fieldset[disabled] .btn-warning:hover, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning.active {
- background-color: #dfba49;
- border-color: #dbb233;
-}
-
-.btn-warning .badge {
- color: #dfba49;
- background-color: #fff;
-}
-
-.btn-danger {
- color: #fff;
- background-color: #F3565D;
- border-color: #f13e46;
-}
-
-.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active {
- color: #fff;
- background-color: #f1353d;
- border-color: #ec111b;
-}
-
-.open .btn-danger.dropdown-toggle {
- color: #fff;
- background-color: #f1353d;
- border-color: #ec111b;
-}
-
-.btn-danger:active, .btn-danger.active {
- background-image: none;
- background-color: #ef1d26;
-}
-
-.btn-danger:active:hover, .btn-danger.active:hover {
- background-color: #f0262f;
-}
-
-.open .btn-danger.dropdown-toggle {
- background-image: none;
-}
-
-.btn-danger.disabled, .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled:active, .btn-danger.disabled.active, .btn-danger[disabled], .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled]:active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger, fieldset[disabled] .btn-danger:hover, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger:active, fieldset[disabled] .btn-danger.active {
- background-color: #F3565D;
- border-color: #f13e46;
-}
-
-.btn-danger .badge {
- color: #F3565D;
- background-color: #fff;
-}
-
-/* Button sizes */
-.btn > i {
- font-size: 14px;
-}
-
-.btn-lg {
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- vertical-align: middle;
-}
-
-.btn-lg > i {
- font-size: 18px;
-}
-
-.btn-sm,
-.btn-xs {
- padding: 4px 10px 5px 10px;
- font-size: 13px;
- line-height: 1.5;
-}
-
-.btn-sm > i,
-.btn-xs > i {
- font-size: 13px;
-}
-
-.btn-xs {
- padding: 1px 5px;
-}
-
-.btn-xs > i {
- font-size: 12px;
-}
-
-/* Small button in button group */
-.btn-group .input-sm .btn-default {
- padding-top: 3px;
- padding-bottom: 3px;
-}
-
-/* Arrow link */
-.btn-arrow-link {
- vertical-align: middle;
- display: inline-block;
- font-size: 13px;
-}
-
-.btn-arrow-link > i {
- font-size: 14px;
- line-height: 14px;
- vertical-align: top;
- margin: 2px 3px 2px 3px;
- color: #999;
-}
-
-.btn-arrow-link.btn-arrow-link-lg {
- font-size: 14px;
-}
-
-.btn-arrow-link.btn-arrow-link-lg > i {
- font-size: 16px;
- line-height: 16px;
- margin: 2px 3px 1px 3px;
-}
-
-/* Circle Buttons */
-.btn-circle {
- border-radius: 25px !important;
-}
-
-.btn-circle-right {
- border-radius: 0 25px 25px 0 !important;
-}
-
-.btn-circle-left {
- border-radius: 25px 0 0 25px !important;
-}
-
-.btn-circle-bottom {
- border-radius: 0 0 25px 25px !important;
-}
-
-.btn-circle-top {
- border-radius: 25px 25px 0 0 !important;
-}
-
-.btn-icon-only {
- height: 34px;
- width: 34px;
- text-align: center;
- padding-left: 0;
- padding-right: 0;
-}
-
-.btn-icon-only > [class^="icon-"],
-.btn-icon-only > i {
- text-align: center;
- margin-top: 2px;
-}
-
-.btn-sm > [class^="glyphicon-"],
-.btn-sm > [class*=" glyphicon-"],
-.btn-sm > i {
- font-size: 13px;
-}
-
-.btn-xs > [class^="glyphicon-"],
-.btn-xs > [class*=" glyphicon-"],
-.btn-xs > i {
- font-size: 11px;
-}
-
-.btn-group.btn-group-circle > .btn:first-child {
- border-radius: 25px 0 0 25px !important;
-}
-
-.btn-group.btn-group-circle > .btn:last-child {
- border-radius: 0 25px 25px 0 !important;
-}
-
-.btn-group.btn-group-devided > .btn {
- margin-right: 5px;
-}
-
-.btn-group.btn-group-devided > .btn:last-child {
- margin-right: 0;
-}
-
-.btn-group-vertical.btn-group-vertical-circle > .btn:first-child {
- border-radius: 25px 25px 0 0 !important;
-}
-
-.btn-group-vertical.btn-group-vertical-circle > .btn:last-child {
- border-radius: 0 0 25px 25px !important;
-}
-
-/***
-Image Carousel
-***/
-.carousel.image-carousel .carousel-inner {
- padding-top: 0;
- padding-bottom: 0;
-}
-
-.carousel.image-carousel .carousel-control i {
- position: absolute;
- top: 40%;
-}
-
-.carousel.image-carousel.image-carousel-hoverable .carousel-control i {
- display: none;
-}
-
-.carousel.image-carousel.image-carousel-hoverable:hover .carousel-control i {
- display: inline-block;
-}
-
-.carousel.image-carousel .carousel-control.left i {
- left: 10px;
-}
-
-.carousel.image-carousel .carousel-control.right i {
- right: 10px;
-}
-
-.carousel.image-carousel .carousel-indicators {
- margin-top: 10px;
- bottom: -7px;
-}
-
-.carousel.image-carousel .carousel-indicators li {
- background-color: #666;
-}
-
-.carousel.image-carousel .carousel-indicators li.active {
- background-color: #666;
-}
-
-.carousel.image-carousel .carousel-caption {
- position: absolute;
- right: 0;
- bottom: 0;
- left: 0;
- padding: 15px 15px 25px 15px;
- background: #333333;
- background: rgba(0, 0, 0, 0.75);
-}
-
-.carousel.image-carousel .carousel-caption h4,
-.carousel.image-carousel .carousel-caption h3,
-.carousel.image-carousel .carousel-caption h2,
-.carousel.image-carousel .carousel-caption p {
- text-align: left;
- line-height: 20px;
- color: #ffffff;
-}
-
-.carousel.image-carousel .carousel-caption h4,
-.carousel.image-carousel .carousel-caption h3,
-.carousel.image-carousel .carousel-caption h2 {
- margin: 0 0 5px;
-}
-
-.carousel.image-carousel .carousel-caption h4 a,
-.carousel.image-carousel .carousel-caption h3 a,
-.carousel.image-carousel .carousel-caption h2 a {
- color: #aaa;
-}
-
-.carousel.image-carousel .carousel-caption p {
- margin-bottom: 0;
-}
-
-.carousel.image-carousel .carousel-caption .item {
- margin: 0;
-}
-
-/***
-Charts and statistics
-***/
-.chart,
-.pie,
-.bars {
- overflow: hidden;
- height: 300px;
- width: 100%;
- font-family: "Open Sans", sans-serif !important;
- font-size: 14px;
-}
-
-/***
-Statistic lists
-***/
-.item-list.table .percent {
- width: 30px;
- float: right;
- margin-right: 10px;
- margin-top: 3px;
-}
-
-/***
-Chart tooltips
-***/
-.chart-tooltip {
- clear: both;
- z-index: 100;
- background-color: #736e6e !important;
- padding: 5px !important;
- color: #fff;
-}
-
-.chart-tooltip .label {
- clear: both;
- display: block;
- margin-bottom: 2px;
-}
-
-/***
-Mini chart containers
-***/
-.bar-chart,
-.line-chart {
- display: none;
-}
-
-/***
-Chats
-***/
-.chats {
- margin: 0;
- padding: 0;
- margin-top: -15px;
-}
-
-.chats li {
- list-style: none;
- padding: 5px 0;
- margin: 10px auto;
- font-size: 12px;
-}
-
-.chats li .body {
- display: block;
-}
-
-.chats li .avatar {
- height: 45px;
- width: 45px;
- -webkit-border-radius: 50% !important;
- -moz-border-radius: 50% !important;
- border-radius: 50% !important;
-}
-
-.chats li.in .avatar {
- float: left;
- margin-right: 10px;
-}
-
-.chats li.out .avatar {
- float: right;
- margin-left: 10px;
-}
-
-.chats li .name {
- color: #3590c1;
- font-size: 13px;
- font-weight: 400;
-}
-
-.chats li .datetime {
- color: #333;
- font-size: 13px;
- font-weight: 400;
-}
-
-.chats li .message {
- display: block;
- padding: 5px;
- position: relative;
-}
-
-.chats li.in .message {
- text-align: left;
- border-left: 2px solid #1BBC9B;
- margin-left: 65px;
- background: #fafafa;
-}
-
-.chats li.in .message .arrow {
- display: block;
- position: absolute;
- top: 5px;
- left: -8px;
- width: 0;
- height: 0;
- border-top: 8px solid transparent;
- border-bottom: 8px solid transparent;
- border-right: 8px solid #1BBC9B;
-}
-
-.chats li.out .message {
- border-right: 2px solid #F3565D;
- margin-right: 65px;
- background: #fafafa;
- text-align: right;
-}
-
-.chats li.out .message .arrow {
- display: block;
- position: absolute;
- top: 5px;
- right: -8px;
- border-top: 8px solid transparent;
- border-bottom: 8px solid transparent;
- border-left: 8px solid #F3565D;
-}
-
-.chats li.out .name,
-.chats li.out .datetime {
- text-align: right;
-}
-
-.chat-form {
- margin-top: 15px;
- padding: 10px;
- background-color: #e9eff3;
- overflow: hidden;
- clear: both;
-}
-
-.chat-form .input-cont {
- margin-right: 40px;
-}
-
-.chat-form .input-cont .form-control {
- border: 1px solid #ddd;
- width: 100% !important;
- margin-top: 0;
- background-color: #fff !important;
-}
-
-.chat-form .input-cont .form-control:focus {
- border: 1px solid #4b8df9 !important;
-}
-
-.chat-form .btn-cont {
- margin-top: -42px;
- position: relative;
- float: right;
- width: 44px;
-}
-
-.chat-form .btn-cont .arrow {
- position: absolute;
- top: 17px;
- right: 43px;
- border-top: 8px solid transparent;
- border-bottom: 8px solid transparent;
- border-right: 8px solid #4d90fe;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-.chat-form .btn-cont .btn {
- margin-top: 8px;
-}
-
-.chat-form .btn-cont:hover .arrow {
- border-right-color: #0362fd;
-}
-
-.chat-form .btn-cont:hover .btn {
- background-color: #0362fd;
-}
-
-/***
-Customized Bootstrap Close Icon
-***/
-/*
-.close {
- display: inline-block;
- margin-top: 0px;
- margin-right: 0px;
- width: 9px;
- height: 9px;
- background-repeat: no-repeat !important;
- text-indent: -10000px;
- outline: none;
- background-image: url("../img/remove-icon-small.png") !important;
-}
-*/
-/***
-Customized Bootstrap Dropdowns
-***/
-/***
-Dropdowns
-***/
-.dropup.open > .dropdown-toggle,
-.dropdown.open > .dropdown-toggle {
- border-color: #ddd;
-}
-
-/***
-Dropdown Menu
-***/
-.dropdown-menu {
- min-width: 175px;
- position: absolute;
- top: 100%;
- left: 0;
- z-index: 1000;
- display: none;
- float: left;
- list-style: none;
- text-shadow: none;
- padding: 0px;
- margin: 10px 0px 0px 0px;
- background-color: #fffff;
- box-shadow: 5px 5px rgba(102, 102, 102, 0.1);
- border: 1px solid #eee;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- border-radius: 4px;
-}
-
-.dropdown-menu li.divider {
- background: #f1f3f6;
-}
-
-.dropdown-menu li > a {
- padding: 8px 14px;
- color: #555;
- text-decoration: none;
- display: block;
- clear: both;
- font-weight: 300;
- line-height: 18px;
- white-space: nowrap;
-}
-
-.dropdown-menu li > a > [class^="fa-"],
-.dropdown-menu li > a > [class*=" fa-"] {
- color: #888;
-}
-
-.dropdown-menu li > a > [class^="icon-"],
-.dropdown-menu li > a > [class*=" icon-"] {
- color: #666;
-}
-
-.dropdown-menu li > a > [class^="glyphicon-"],
-.dropdown-menu li > a > [class*=" glyphicon-"] {
- color: #888;
-}
-
-.dropdown-menu li > a:hover,
-.dropdown-menu .active > a,
-.dropdown-menu .active > a:hover {
- text-decoration: none;
- background-image: none;
- background-color: #f6f6f6;
- color: #555;
- filter: none;
-}
-
-.dropdown-menu.bottom-up {
- top: auto;
- bottom: 100%;
- margin-bottom: 2px;
-}
-
-.dropdown > .dropdown-menu,
-.dropdown-toggle > .dropdown-menu,
-.btn-group > .dropdown-menu {
- margin-top: 10px;
-}
-
-.dropdown > .dropdown-menu:before,
-.dropdown-toggle > .dropdown-menu:before,
-.btn-group > .dropdown-menu:before {
- position: absolute;
- top: -8px;
- left: 9px;
- right: auto;
- display: inline-block !important;
- border-right: 8px solid transparent;
- border-bottom: 8px solid #e0e0e0;
- border-left: 8px solid transparent;
- content: '';
-}
-
-.dropdown > .dropdown-menu:after,
-.dropdown-toggle > .dropdown-menu:after,
-.btn-group > .dropdown-menu:after {
- position: absolute;
- top: -7px;
- left: 10px;
- right: auto;
- display: inline-block !important;
- border-right: 7px solid transparent;
- border-bottom: 7px solid #fff;
- border-left: 7px solid transparent;
- content: '';
-}
-
-.dropdown > .dropdown-menu.pull-left:before,
-.dropdown-toggle > .dropdown-menu.pull-left:before,
-.btn-group > .dropdown-menu.pull-left:before {
- left: auto;
- right: 9px;
-}
-
-.dropdown > .dropdown-menu.pull-left:after,
-.dropdown-toggle > .dropdown-menu.pull-left:after,
-.btn-group > .dropdown-menu.pull-left:after {
- left: auto;
- right: 10px;
-}
-
-.dropdown > .dropdown-menu.pull-right:before,
-.dropdown-toggle > .dropdown-menu.pull-right:before,
-.btn-group > .dropdown-menu.pull-right:before {
- left: auto;
- right: 9px;
-}
-
-.dropdown > .dropdown-menu.pull-right:after,
-.dropdown-toggle > .dropdown-menu.pull-right:after,
-.btn-group > .dropdown-menu.pull-right:after {
- left: auto;
- right: 10px;
-}
-
-.dropdown.dropup > .dropdown-menu,
-.dropdown-toggle.dropup > .dropdown-menu,
-.btn-group.dropup > .dropdown-menu {
- margin-top: 0px;
- margin-bottom: 10px;
-}
-
-.dropdown.dropup > .dropdown-menu:after, .dropdown.dropup > .dropdown-menu:before,
-.dropdown-toggle.dropup > .dropdown-menu:after,
-.dropdown-toggle.dropup > .dropdown-menu:before,
-.btn-group.dropup > .dropdown-menu:after,
-.btn-group.dropup > .dropdown-menu:before {
- display: none !important;
-}
-
-/* Dropdown submenu support for Bootsrap 3 */
-.dropdown-submenu {
- position: relative;
-}
-
-.dropdown-submenu > .dropdown-menu {
- top: 5px;
- left: 100%;
- margin-top: -6px;
- margin-left: -1px;
-}
-
-.dropdown-submenu > a:after {
- position: absolute;
- display: inline-block;
- font-size: 14px;
- right: 7px;
- top: 7px;
- font-family: FontAwesome;
- height: auto;
- content: "\f105";
- font-weight: 300;
-}
-
-.dropdown-submenu:hover > .dropdown-menu {
- display: block;
-}
-
-.dropdown-submenu:hover > a:after {
- border-left-color: #ffffff;
-}
-
-.dropdown-submenu.pull-left {
- float: none;
-}
-
-.dropdown-submenu.pull-left > .dropdown-menu {
- left: -100%;
- margin-left: 10px;
-}
-
-.dropup .dropdown-submenu > .dropdown-menu {
- top: auto;
- bottom: 0;
- margin-top: 0;
- margin-bottom: -2px;
-}
-
-.nav.pull-right > li > .dropdown-menu,
-.nav > li > .dropdown-menu.pull-right {
- right: 0;
- left: auto;
-}
-
-.nav.pull-right > li > .dropdown-menu:before,
-.nav > li > .dropdown-menu.pull-right:before {
- right: 12px;
- left: auto;
-}
-
-.nav.pull-right > li > .dropdown-menu:after,
-.nav > li > .dropdown-menu.pull-right:after {
- right: 13px;
- left: auto;
-}
-
-.nav.pull-right > li > .dropdown-menu .dropdown-menu,
-.nav > li > .dropdown-menu.pull-right .dropdown-menu {
- right: 100%;
- left: auto;
- margin-right: -1px;
- margin-left: 0;
-}
-
-@media (max-width: 767px) {
- /* 767px */
- .navbar-nav .open .dropdown-menu {
- position: absolute;
- float: left;
- width: auto;
- margin-top: 0;
- background-color: #ffffff;
- border: 1px solid #efefef;
- box-shadow: 5px 5px rgba(102, 102, 102, 0.1);
- }
-
- .navbar-nav .open .dropdown-menu > li > a {
- padding: 6px 0 6px 13px;
- color: #333;
- }
-
- .navbar-nav .open .dropdown-menu > li > a:hover,
- .navbar-nav .open .dropdown-menu > li > a:active {
- ackground-color: #eee;
- }
-}
-
-/***
-Dropdown Checkboxes
-***/
-.dropdown-content {
- padding: 5px;
-}
-
-.dropdown-content form {
- margin: 0;
-}
-
-.dropdown.inline .dropdown-menu {
- display: inline-block;
- position: relative;
-}
-
-.dropdown-radiobuttons,
-.dropdown-checkboxes {
- padding: 5px;
-}
-
-.dropdown-radiobuttons label,
-.dropdown-checkboxes label {
- display: block;
- font-weight: 300;
- color: #333;
- margin-bottom: 4px;
- margin-top: 4px;
-}
-
-.dropdown-radiobuttons label .radio,
-.dropdown-checkboxes label .radio {
- margin-right: 3px;
-}
-
-/***
-System feeds
-***/
-.feeds {
- margin: 0px;
- padding: 0px;
- list-style: none;
-}
-
-.feeds li {
- background-color: #fafafa;
- color: #82949a;
- margin-bottom: 7px;
-}
-
-.feeds li:before, .feeds li:after {
- display: table;
- line-height: 0;
- content: "";
-}
-
-.feeds li:after {
- clear: both;
-}
-
-.feeds li:last-child {
- margin-bottom: 0px;
-}
-
-.feeds li .col1 {
- float: left;
- width: 100%;
- clear: both;
-}
-
-.feeds li .col1 > .cont {
- float: left;
- margin-right: 75px;
- overflow: hidden;
-}
-
-.feeds li .col1 > .cont > .cont-col1 {
- float: left;
- margin-right: -100%;
-}
-
-.feeds li .col1 > .cont > .cont-col1 > .label {
- display: inline-block;
- padding: 5px 4px 6px 5px;
- vertical-align: middle;
- text-align: center;
-}
-
-.feeds li .col1 > .cont > .cont-col1 > .label > i {
- text-align: center;
- font-size: 14px;
-}
-
-.feeds li .col1 > .cont > .cont-col2 {
- float: left;
- width: 100%;
-}
-
-.feeds li .col1 > .cont > .cont-col2 > .desc {
- margin-left: 35px;
- padding-top: 4px;
- padding-bottom: 5px;
- overflow: hidden;
-}
-
-.feeds li .col2 {
- float: left;
- width: 75px;
- margin-left: -75px;
-}
-
-.feeds li .col2 > .date {
- padding: 4px 9px 5px 4px;
- text-align: right;
- font-style: italic;
- color: #c1cbd0;
-}
-
-/***
-Form Layouts
-****/
-/* Static info */
-.static-info {
- margin-bottom: 10px;
-}
-
-.static-info .name {
- font-size: 14px;
-}
-
-.static-info .value {
- font-size: 14px;
- font-weight: 600;
-}
-
-.static-info.align-reverse .name, .static-info.align-reverse .value {
- text-align: right;
-}
-
-/* Help blocks */
-.help-block {
- margin-top: 5px;
- margin-bottom: 5px;
-}
-
-.help-inline {
- font-size: 13px;
- color: #737373;
- display: inline-block;
- padding: 5px;
-}
-
-.form-inline input {
- margin-bottom: 0px !important;
-}
-
-/* Control Label */
-.control-label {
- margin-top: 1px;
-}
-
-.control-label .required {
- color: #e02222;
- font-size: 12px;
- padding-left: 2px;
-}
-
-.form {
- padding: 0 !important;
-}
-
-.form .form-body {
- padding: 10px;
-}
-
-.portlet.light .form .form-body {
- padding-left: 0;
- padding-right: 0;
-}
-
-.form .form-actions {
- padding: 20px 10px;
- margin: 0;
- background-color: #f5f5f5;
- border-top: 1px solid #e5e5e5;
- *zoom: 1;
-}
-
-.portlet.light .form .form-actions {
- background: none;
- padding-left: 0;
- padding-right: 0;
-}
-
-.portlet .form .form-actions {
- -webkit-border-radius: 0 0 4px 4px;
- -moz-border-radius: 0 0 4px 4px;
- -ms-border-radius: 0 0 4px 4px;
- -o-border-radius: 0 0 4px 4px;
- border-radius: 0 0 4px 4px;
-}
-
-.form .form-actions:before, .form .form-actions:after {
- content: " ";
- display: table;
-}
-
-.form .form-actions:after {
- clear: both;
-}
-
-.form .form-actions.right {
- padding-left: 0;
- padding-right: 10px;
- text-align: right;
-}
-
-.portlet.light .form .form-actions.right {
- padding-right: 0;
-}
-
-.form .form-actions.left {
- padding-left: 10px;
- padding-right: 0;
- text-align: left;
-}
-
-.portlet.light .form .form-actions.left {
- padding-left: 0;
-}
-
-.form .form-actions.nobg {
- background-color: transparent;
-}
-
-.form .form-actions.top {
- margin-top: 0;
- margin-bottom: 20px;
- border-top: 0;
- border-bottom: 1px solid #e5e5e5;
-}
-
-.portlet.light .form .form-actions.top {
- background: none;
-}
-
-.form .form-actions .btn-set {
- display: inline-block;
-}
-
-@media (max-width: 767px) {
- .form .form-actions {
- /* 767px */
- }
-
- .form .form-actions .btn-set {
- margin-bottom: 3px;
- margin-top: 3px;
- float: left !important;
- }
-}
-
-.form .form-section {
- margin: 30px 0px 25px 0px;
- padding-bottom: 5px;
- border-bottom: 1px solid #eee;
-}
-
-.form .form-section:first-child {
- margin-top: 5px;
-}
-
-/* Checkboxes */
-.checkbox,
-.form-horizontal .checkbox {
- padding: 0;
-}
-
-.checkbox > label,
-.form-horizontal .checkbox > label {
- padding-left: 0;
-}
-
-.checkbox-list > label {
- display: block;
-}
-
-.checkbox-list > label.checkbox-inline {
- display: inline-block;
-}
-
-.checkbox-list > label.checkbox-inline:first-child {
- padding-left: 0;
-}
-
-/* Radio buttons */
-.radio-list > label {
- display: block;
-}
-
-.radio-list > label.radio-inline {
- display: inline-block;
-}
-
-.radio-list > label.radio-inline:first-child {
- padding-left: 0;
-}
-
-/* Radio buttons in horizontal forms */
-.form-horizontal .radio-list .radio {
- padding-top: 1px;
-}
-
-.form-horizontal .radio-list > label {
- margin-bottom: 0;
-}
-
-.form-horizontal .radio > span {
- margin-top: 2px;
-}
-
-/* Rows seperated form layout */
-.form .form-row-seperated .portlet-body {
- padding: 0;
-}
-
-.form .form-row-seperated .form-group {
- margin: 0;
- border-bottom: 1px solid #efefef;
- padding: 15px 0;
-}
-
-.form .form-row-seperated .form-group.last {
- border-bottom: 0;
- margin-bottom: 0;
- padding-bottom: 13px;
-}
-
-.form .form-row-seperated .form-group .help-block {
- margin-bottom: 0;
-}
-
-.form .form-row-seperated .form-body {
- padding: 0;
-}
-
-.form .form-row-seperated .form-actions {
- padding-left: 15px !important;
- padding-right: 15px !important;
-}
-
-/* Form bordered */
-.form .form-bordered .form-group {
- margin: 0;
- border-bottom: 1px solid #efefef;
-}
-
-.form .form-bordered .form-group > div {
- padding: 15px;
- border-left: 1px solid #efefef;
-}
-
-@media (max-width: 991px) {
- .form .form-bordered .form-group > div {
- /* 991px */
- border-left: 0;
- }
-}
-
-.form .form-bordered .form-group.last {
- border-bottom: 0;
-}
-
-.form .form-bordered .form-group .control-label {
- padding-top: 20px;
-}
-
-@media (max-width: 991px) {
- .form .form-bordered .form-group .control-label {
- /* 991px */
- padding-top: 10px;
- }
-}
-
-.form .form-bordered .form-group .help-block {
- margin-bottom: 0;
-}
-
-.form .form-bordered .form-group .form-control {
- margin: 0;
-}
-
-.form .form-bordered .form-body {
- margin: 0;
- padding: 0;
-}
-
-.form .form-bordered .form-actions {
- margin-top: 0;
- padding-left: 16px !important;
- padding-right: 16px !important;
-}
-
-@media (max-width: 991px) {
- .form .form-bordered .form-actions {
- /* 991px */
- padding-left: 15px !important;
- padding-right: 15px !important;
- }
-}
-
-/* Horizontal bordered form */
-.form .form-horizontal.form-bordered.form-row-stripped .form-group:nth-child(even) {
- background-color: #fcfcfc;
-}
-
-.form .form-horizontal.form-bordered.form-row-stripped .form-control {
- background: #fff !important;
-}
-
-.form .form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) {
- background-color: #fcfcfc;
-}
-
-.form .form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) > div {
- background-color: #ffffff;
-}
-
-.form .form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) {
- background-color: #fcfcfc;
-}
-
-/***
-Forms
-***/
-/* Input placeholder font color */
-.form-control::-moz-placeholder {
- color: #b3b3b3;
- opacity: 1;
-}
-
-.form-control:-ms-input-placeholder {
- color: #b3b3b3;
-}
-
-.form-control::-webkit-input-placeholder {
- color: #b3b3b3;
-}
-
-/* Form inputs */
-.form-control {
- font-size: 14px;
- font-weight: normal;
- color: #333;
- background-color: #fff;
- border: 1px solid #e5e5e5;
- -webkit-box-shadow: none;
- box-shadow: none;
- -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-}
-
-.form-control:focus {
- border-color: #999;
- outline: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
- cursor: not-allowed;
- background-color: #eeeeee;
-}
-
-.form-control.height-auto {
- height: auto;
-}
-
-.form-control.form-control-solid {
- background-color: #F1F3F8;
- border-color: #F1F3F8;
- color: #A6B2BA;
-}
-
-.form-control.form-control-solid:focus {
- border-color: #e3e7f1;
-}
-
-.form-control.form-control-solid::-moz-placeholder {
- color: #acb7be;
- opacity: 1;
-}
-
-.form-control.form-control-solid:-ms-input-placeholder {
- color: #acb7be;
-}
-
-.form-control.form-control-solid::-webkit-input-placeholder {
- color: #acb7be;
-}
-
-/* Form uneditable input */
-.uneditable-input {
- padding: 6px 12px;
- min-width: 206px;
- font-size: 14px;
- font-weight: normal;
- height: 34px;
- color: #333;
- background-color: #fff;
- border: 1px solid #e5e5e5;
- -webkit-box-shadow: none;
- box-shadow: none;
- -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-}
-
-/* Form input sizing */
-.input-mini {
- width: 45px !important;
-}
-
-.input-xsmall {
- width: 80px !important;
-}
-
-.input-small {
- width: 145px !important;
-}
-
-.input-medium {
- width: 240px !important;
-}
-
-.input-large {
- width: 320px !important;
-}
-
-.input-xlarge {
- width: 420px !important;
-}
-
-.input-inline {
- display: inline-block;
- width: auto;
- vertical-align: middle;
-}
-
-.form-group .input-inline {
- margin-right: 5px;
-}
-
-.input-sm {
- height: 28px;
- padding: 5px 10px;
- font-size: 13px;
-}
-
-select.input-sm {
- height: 28px;
- line-height: 28px;
- padding: 2px 10px;
-}
-
-@media (max-width: 768px) {
- /* 768px */
- .input-large {
- width: 250px !important;
- }
-
- .input-xlarge {
- width: 300px !important;
- }
-}
-
-/* Input groups */
-.input-group .btn-default {
- border-color: #e5e5e5;
-}
-
-.input-group .input-group-addon {
- border-color: #e5e5e5;
- background: #e5e5e5;
- min-width: 39px;
-}
-
-.input-group .input-group-addon > i {
- color: #999;
-}
-
-/* Input spinner */
-input[type="text"].spinner,
-input[type="password"].spinner,
-input[type="datetime"].spinner,
-input[type="datetime-local"].spinner,
-input[type="date"].spinner,
-input[type="month"].spinner,
-input[type="time"].spinner,
-input[type="week"].spinner,
-input[type="number"].spinner,
-input[type="email"].spinner,
-input[type="url"].spinner,
-input[type="search"].spinner,
-input[type="tel"].spinner,
-input[type="color"].spinner {
- background-image: url("../img/input-spinner.gif") !important;
- background-repeat: no-repeat;
- background-position: right 8px;
-}
-
-/* Form labels */
-label {
- font-weight: 400;
- font-size: 14px;
-}
-
-/* Static form control */
-.form-control-static {
- margin: 2px 0;
- display: inline-block;
-}
-
-/* Feedback states */
-.has-success .help-block,
-.has-success .help-inline,
-.has-success .control-label,
-.has-success .radio,
-.has-success .checkbox,
-.has-success .radio-inline,
-.has-success .checkbox-inline {
- color: #3c763d;
-}
-
-.has-success .form-control {
- border-color: #d6e9c6;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.has-success .form-control:focus {
- border-color: #bbdba1;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.has-success .input-group-addon {
- color: #3c763d;
- border-color: #d6e9c6;
- background-color: #dff0d8;
-}
-
-.has-success .form-control-feedback {
- color: #3c763d;
-}
-
-.has-warning .help-block,
-.has-warning .help-inline,
-.has-warning .control-label,
-.has-warning .radio,
-.has-warning .checkbox,
-.has-warning .radio-inline,
-.has-warning .checkbox-inline {
- color: #8a6d3b;
-}
-
-.has-warning .form-control {
- border-color: #faebcc;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.has-warning .form-control:focus {
- border-color: #f5d89e;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.has-warning .input-group-addon {
- color: #8a6d3b;
- border-color: #faebcc;
- background-color: #fcf8e3;
-}
-
-.has-warning .form-control-feedback {
- color: #8a6d3b;
-}
-
-.has-error .help-block,
-.has-error .help-inline,
-.has-error .control-label,
-.has-error .radio,
-.has-error .checkbox,
-.has-error .radio-inline,
-.has-error .checkbox-inline {
- color: #a94442;
-}
-
-.has-error .form-control {
- border-color: #ebccd1;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.has-error .form-control:focus {
- border-color: #dca7b0;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.has-error .input-group-addon {
- color: #a94442;
- border-color: #ebccd1;
- background-color: #f2dede;
-}
-
-.has-error .form-control-feedback {
- color: #a94442;
-}
-
-/* Circle Inputs */
-.input-circle {
- border-radius: 25px !important;
-}
-
-.input-circle-right {
- border-radius: 0 25px 25px 0 !important;
-}
-
-.input-circle-left {
- border-radius: 25px 0 0 25px !important;
-}
-
-.input-circle-bottom {
- border-radius: 0 0 25px 25px !important;
-}
-
-.input-circle-top {
- border-radius: 25px 25px 0 0 !important;
-}
-
-/***
-Custom icon buttons
-***/
-.icon-btn {
- height: 60px;
- min-width: 80px;
- margin: 5px 5px 0 0;
- border: 1px solid #ddd;
- padding: 12px 0px 0px 0px;
- background-color: #fafafa;
- background-image: none;
- filter: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
- display: inline-block;
- color: #646464;
- text-shadow: none;
- text-align: center;
- cursor: pointer;
- position: relative;
- -webkit-transition: all 0.3s ease;
- -moz-transition: all 0.3s ease;
- -ms-transition: all 0.3s ease;
- -o-transition: all 0.3s ease;
- transition: all 0.3s ease;
-}
-
-.icon-btn:hover {
- text-decoration: none;
- border-color: #999;
- color: #444;
- text-shadow: 0 1px 0px white;
- -webkit-transition: all 0.3s ease;
- -moz-transition: all 0.3s ease;
- -ms-transition: all 0.3s ease;
- -o-transition: all 0.3s ease;
- transition: all 0.3s ease;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-}
-
-.icon-btn:hover > .badge {
- -webkit-transition: all 0.3s ease;
- -moz-transition: all 0.3s ease;
- -ms-transition: all 0.3s ease;
- -o-transition: all 0.3s ease;
- transition: all 0.3s ease;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-}
-
-.icon-btn > div {
- margin-top: 5px;
- margin-bottom: 20px;
- color: #000;
- font-size: 12px;
- font-weight: 300;
-}
-
-.icon-btn > .badge {
- position: absolute;
- font-size: 11px;
- font-weight: 300;
- top: -5px;
- right: -5px;
- padding: 3px 6px 3px 6px;
- color: white;
- text-shadow: none;
- border-width: 0;
- border-style: solid;
- -webkit-border-radius: 12px;
- -moz-border-radius: 12px;
- border-radius: 12px;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-}
-
-.icon-btn > i {
- font-size: 18px;
-}
-
-.ie8 .icon-btn:hover {
- filter: none;
-}
-
-/***
-Input icons
-***/
-.input-icon {
- position: relative;
-}
-
-.input-icon > .form-control {
- padding-left: 33px;
-}
-
-.input-group .input-icon > .form-control {
- -webkit-border-radius: 4px 0 0 4px;
- -moz-border-radius: 4px 0 0 4px;
- -ms-border-radius: 4px 0 0 4px;
- -o-border-radius: 4px 0 0 4px;
- border-radius: 4px 0 0 4px;
-}
-
-.input-icon > i {
- color: #ccc;
- display: block;
- position: absolute;
- margin: 11px 2px 4px 10px;
- z-index: 3;
- width: 16px;
- height: 16px;
- font-size: 16px;
- text-align: center;
-}
-
-.modal .input-icon > i {
- z-index: 10055;
-}
-
-.has-success .input-icon > i {
- color: #45B6AF;
-}
-
-.has-warning .input-icon > i {
- color: #dfba49;
-}
-
-.has-info .input-icon > i {
- color: #89C4F4;
-}
-
-.has-error .input-icon > i {
- color: #F3565D;
-}
-
-.input-icon.right > .form-control {
- padding-right: 33px;
- padding-left: 12px;
-}
-
-.input-group .input-icon.right > .form-control {
- -webkit-border-radius: 0 4px 4px 0;
- -moz-border-radius: 0 4px 4px 0;
- -ms-border-radius: 0 4px 4px 0;
- -o-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
-}
-
-.input-icon.right > i {
- right: 8px;
- float: right;
-}
-
-.input-icon.input-icon-lg > i {
- margin-top: 16px;
-}
-
-.input-icon.input-icon-sm > i {
- margin-top: 8px;
- font-size: 13px;
-}
-
-/***
-Customized Bootstrap Labels
-***/
-.label {
- text-shadow: none !important;
- font-size: 13px;
- font-weight: 300;
- padding: 3px 6px 3px 6px;
- color: #fff;
- font-family: "Open Sans", sans-serif;
-}
-
-.label.label-sm {
- font-size: 12px;
- padding: 0px 4px 1px 4px;
-}
-
-h1 .label, h2 .label, h3 .label, h4 .label, h5 .label, h6 .label {
- font-size: 75%;
-}
-
-/* Labels variants */
-.label-default {
- background-color: #c6c6c6;
-}
-
-.label-default[href]:hover, .label-default[href]:focus {
- background-color: #adadad;
-}
-
-.label-primary {
- background-color: #428bca;
-}
-
-.label-primary[href]:hover, .label-primary[href]:focus {
- background-color: #3071a9;
-}
-
-.label-success {
- background-color: #45B6AF;
-}
-
-.label-success[href]:hover, .label-success[href]:focus {
- background-color: #37918b;
-}
-
-.label-info {
- background-color: #89C4F4;
-}
-
-.label-info[href]:hover, .label-info[href]:focus {
- background-color: #5aadf0;
-}
-
-.label-warning {
- background-color: #dfba49;
-}
-
-.label-warning[href]:hover, .label-warning[href]:focus {
- background-color: #d0a625;
-}
-
-.label-danger {
- background-color: #F3565D;
-}
-
-.label-danger[href]:hover, .label-danger[href]:focus {
- background-color: #f0262f;
-}
-
-/***
-Iconic labels
-***/
-.label.label-icon {
- padding: 4px 0px 4px 4px;
- margin-right: 2px;
- text-align: center !important;
-}
-
-.label.label-icon > i {
- font-size: 12px;
- text-align: center !important;
-}
-
-.ie8 .label.label-icon, .ie9 .label.label-icon {
- padding: 3px 0px 3px 3px;
-}
-
-/***
-Text states
-***/
-.text-default {
- color: #c6c6c6;
-}
-
-.text-primary {
- color: #428bca;
-}
-
-.text-success {
- color: #45B6AF;
-}
-
-.text-info {
- color: #89C4F4;
-}
-
-.text-warning {
- color: #dfba49;
-}
-
-.text-danger {
- color: #F3565D;
-}
-
-/***
-Customized List Group
-***/
-/* Contextual variants */
-.list-group .list-group-item-success {
- color: #3c763d;
- background-color: #dff0d8;
-}
-
-.list-group a.list-group-item-success {
- color: #3c763d;
-}
-
-.list-group a.list-group-item-success .list-group-item-heading {
- color: inherit;
-}
-
-.list-group a.list-group-item-success:hover, .list-group a.list-group-item-success:focus {
- color: #3c763d;
- background-color: #d0e9c6;
-}
-
-.list-group a.list-group-item-success.active, .list-group a.list-group-item-success.active:hover, .list-group a.list-group-item-success.active:focus {
- color: #fff;
- background-color: #3c763d;
- border-color: #3c763d;
-}
-
-.list-group .list-group-item-info {
- color: #31708f;
- background-color: #d9edf7;
-}
-
-.list-group a.list-group-item-info {
- color: #31708f;
-}
-
-.list-group a.list-group-item-info .list-group-item-heading {
- color: inherit;
-}
-
-.list-group a.list-group-item-info:hover, .list-group a.list-group-item-info:focus {
- color: #31708f;
- background-color: #c4e3f3;
-}
-
-.list-group a.list-group-item-info.active, .list-group a.list-group-item-info.active:hover, .list-group a.list-group-item-info.active:focus {
- color: #fff;
- background-color: #31708f;
- border-color: #31708f;
-}
-
-.list-group .list-group-item-warning {
- color: #8a6d3b;
- background-color: #fcf8e3;
-}
-
-.list-group a.list-group-item-warning {
- color: #8a6d3b;
-}
-
-.list-group a.list-group-item-warning .list-group-item-heading {
- color: inherit;
-}
-
-.list-group a.list-group-item-warning:hover, .list-group a.list-group-item-warning:focus {
- color: #8a6d3b;
- background-color: #faf2cc;
-}
-
-.list-group a.list-group-item-warning.active, .list-group a.list-group-item-warning.active:hover, .list-group a.list-group-item-warning.active:focus {
- color: #fff;
- background-color: #8a6d3b;
- border-color: #8a6d3b;
-}
-
-.list-group .list-group-item-danger {
- color: #a94442;
- background-color: #f2dede;
-}
-
-.list-group a.list-group-item-danger {
- color: #a94442;
-}
-
-.list-group a.list-group-item-danger .list-group-item-heading {
- color: inherit;
-}
-
-.list-group a.list-group-item-danger:hover, .list-group a.list-group-item-danger:focus {
- color: #a94442;
- background-color: #ebcccc;
-}
-
-.list-group a.list-group-item-danger.active, .list-group a.list-group-item-danger.active:hover, .list-group a.list-group-item-danger.active:focus {
- color: #fff;
- background-color: #a94442;
- border-color: #a94442;
-}
-
-/***
-UI Loading
-***/
-.loading-message {
- display: inline-block;
- min-width: 125px;
- margin-left: -60px;
- padding: 10px;
- margin: 0 auto;
- color: #000 !important;
- font-size: 13px;
- font-weight: 400;
- text-align: center;
- vertical-align: middle;
-}
-
-.loading-message.loading-message-boxed {
- border: 1px solid #ddd;
- background-color: #eee;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- border-radius: 4px;
- -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
-}
-
-.loading-message > span {
- line-height: 20px;
- vertical-align: middle;
-}
-
-.page-loading {
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- border-radius: 4px;
- position: fixed;
- top: 50%;
- left: 50%;
- min-width: 125px;
- margin-left: -60px;
- margin-top: -30px;
- padding: 7px;
- text-align: center;
- color: #333;
- font-size: 13px;
- border: 1px solid #ddd;
- background-color: #eee;
- vertical-align: middle;
- -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
-}
-
-.page-loading > span {
- line-height: 20px;
- vertical-align: middle;
-}
-
-.page-spinner-bar {
- position: fixed;
- z-index: 10051;
- width: 100px;
- top: 40%;
- left: 50%;
- margin-left: -55px;
- text-align: center;
-}
-
-.page-spinner-bar > div {
- margin: 0 5px;
- width: 18px;
- height: 18px;
- background: #eee;
- border-radius: 100% !important;
- display: inline-block;
- -webkit-animation: bounceDelay 1.4s infinite ease-in-out;
- animation: bounceDelay 1.4s infinite ease-in-out;
- /* Prevent first frame from flickering when animation starts */
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
-}
-
-.page-spinner-bar .bounce1 {
- -webkit-animation-delay: -0.32s;
- animation-delay: -0.32s;
-}
-
-.page-spinner-bar .bounce2 {
- -webkit-animation-delay: -0.16s;
- animation-delay: -0.16s;
-}
-
-.block-spinner-bar {
- display: inline-block;
- width: 80px;
- text-align: center;
-}
-
-.block-spinner-bar > div {
- margin: 0 2px;
- width: 15px;
- height: 15px;
- background: #eee;
- border-radius: 100% !important;
- display: inline-block;
- -webkit-animation: bounceDelay 1.4s infinite ease-in-out;
- animation: bounceDelay 1.4s infinite ease-in-out;
- /* Prevent first frame from flickering when animation starts */
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
-}
-
-.block-spinner-bar .bounce1 {
- -webkit-animation-delay: -0.32s;
- animation-delay: -0.32s;
-}
-
-.block-spinner-bar .bounce2 {
- -webkit-animation-delay: -0.16s;
- animation-delay: -0.16s;
-}
-
-/***
-Metro icons
-***/
-[class^="m-icon-"] {
- display: inline-block;
- width: 14px;
- height: 14px;
- margin-top: 3px;
- line-height: 14px;
- vertical-align: top;
- background-image: url(../img/syncfusion-icons.png);
- background-position: 0 0;
- background-repeat: no-repeat;
-}
-
-[class^="m-icon-big-"] {
- display: inline-block;
- width: 30px;
- height: 30px;
- margin: 6px;
- vertical-align: middle;
- background-image: url(../img/syncfusion-icons.png);
- background-position: 0 0px;
- background-repeat: no-repeat;
-}
-
-/* large icons */
-.btn.m-icon-big {
- padding: 9px 16px 8px 16px;
-}
-
-.btn.m-icon-big.m-icon-only {
- padding: 9px 8px 8px 0px;
-}
-
-.btn.m-icon-big [class^="m-icon-big-"] {
- margin: 0 0 0 10px;
-}
-
-.btn.m-icon-ony > i {
- margin-left: 0px;
-}
-
-/* default icons */
-.btn.m-icon {
- padding: 7px 14px 7px 14px;
-}
-
-.btn.m-icon [class^="m-icon-"] {
- margin: 4px 0 0 5px;
-}
-
-.btn.m-icon.m-icon-only {
- padding: 7px 10px 7px 6px;
-}
-
-/* white icon */
-.m-icon-white {
- background-image: url(../img/syncfusion-icons-white.png);
-}
-
-/* Misc */
-.m-icon-swapright {
- background-position: -27px -10px;
-}
-
-.m-icon-swapdown {
- background-position: -68px -10px;
-}
-
-.m-icon-swapleft {
- background-position: -8px -10px;
-}
-
-.m-icon-swapup {
- background-position: -46px -10px;
-}
-
-.m-icon-big-swapright {
- background-position: -42px -28px;
-}
-
-.m-icon-big-swapdown {
- background-position: -115px -28px;
-}
-
-.m-icon-big-swapleft {
- background-position: -6px -28px;
-}
-
-.m-icon-big-swapup {
- background-position: -78px -28px;
-}
-
-/***
-Customized Bootstrap Modal
-***/
-.modal {
- z-index: 10050 !important;
- outline: none;
- overflow-y: auto !important;
- /* Fix content shifting to the right on modal open due to scrollbar closed */
-}
-
-.modal .modal-header {
- border-bottom: 1px solid #EFEFEF;
-}
-
-.modal .modal-header h3 {
- font-weight: 300;
-}
-
-.modal .modal-header .close {
- margin-top: 0px !important;
-}
-
-.modal .modal-dialog {
- z-index: 10051 !important;
-}
-
-.modal > .loading {
- position: absolute;
- top: 50%;
- left: 50%;
- margin-top: -22px;
- margin-left: -22px;
-}
-
-.modal.in .page-loading {
- display: none;
-}
-
-.modal-open {
- overflow-y: auto !important;
-}
-
-.modal-open-noscroll {
- overflow-y: hidden !important;
-}
-
-.modal-backdrop {
- border: 0;
- outline: none;
- z-index: 10049;
-}
-
-.modal-backdrop, .modal-backdrop.fade.in {
- background-color: #333 !important;
-}
-
-/* Full width modal */
-.modal-full.modal-dialog {
- width: 99%;
-}
-
-@media (max-width: 768px) {
- .modal-full.modal-dialog {
- width: auto;
- }
-}
-
-/***
-Notes
-***/
-.note {
- margin: 0 0 20px 0;
- padding: 15px 30px 15px 15px;
- border-left: 5px solid #eee;
- -webkit-border-radius: 0 4px 4px 0;
- -moz-border-radius: 0 4px 4px 0;
- -ms-border-radius: 0 4px 4px 0;
- -o-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
-}
-
-.note h1,
-.note h2,
-.note h3,
-.note h4,
-.note h5,
-.note h6 {
- margin-top: 0;
-}
-
-.note h1 .close,
-.note h2 .close,
-.note h3 .close,
-.note h4 .close,
-.note h5 .close,
-.note h6 .close {
- margin-right: -10px;
-}
-
-.note p {
- font-size: 13px;
-}
-
-.note p:last-child {
- margin-bottom: 0;
-}
-
-.note code,
-.note .highlight {
- background-color: #fff;
-}
-
-.note.note-default {
- background-color: lightgray;
- border-color: #a0a0a0;
- color: #333333, 80%;
-}
-
-.note.note-default.note-bordered {
- background-color: #c9c9c9;
- border-color: #a5a5a5;
-}
-
-.note.note-primary {
- background-color: #5697d0;
- border-color: #2a7696;
- color: #D8E3F2, 80%;
-}
-
-.note.note-primary.note-bordered {
- background-color: #468dcb;
- border-color: #2c7c9e;
-}
-
-.note.note-success {
- background-color: #eef7ea;
- border-color: #bbdba1;
- color: #3c763d, 80%;
-}
-
-.note.note-success.note-bordered {
- background-color: #e2f1dc;
- border-color: #c1dea8;
-}
-
-.note.note-info {
- background-color: #eef7fb;
- border-color: #91d9e8;
- color: #31708f, 80%;
-}
-
-.note.note-info.note-bordered {
- background-color: #ddeff8;
- border-color: #9adcea;
-}
-
-.note.note-warning {
- background-color: #fcf8e3;
- border-color: #f2cf87;
- color: #8a6d3b, 80%;
-}
-
-.note.note-warning.note-bordered {
- background-color: #faf3d1;
- border-color: #f3d390;
-}
-
-.note.note-danger {
- background-color: #f9f0f0;
- border-color: #dca7b0;
- color: #a94442, 80%;
-}
-
-.note.note-danger.note-bordered {
- background-color: #f3e2e2;
- border-color: #dfaeb7;
-}
-
-/***
-Customized Bootstrap Pagination
-***/
-.pagination {
- margin: 10px 0;
-}
-
-.pagination.pagination-circle > li:first-child > a {
- border-radius: 25px 0 0 25px !important;
-}
-
-.pagination.pagination-circle > li:last-child > a {
- border-radius: 0 25px 25px 0 !important;
-}
-
-.pagination .active > a,
-.pagination .active > a:hover {
- background: #eee;
- border-color: #dddddd;
- color: #333;
-}
-
-/***
-Customized Bootstrap Panels
-***/
-.panel {
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- box-shadow: none !important;
-}
-
-.panel-group .panel {
- overflow: visible;
-}
-
-.panel .panel-body {
- font-size: 13px;
-}
-
-.panel .panel-title > a:hover {
- text-decoration: none;
-}
-
-.accordion .panel .panel-heading {
- padding: 0;
-}
-
-.accordion .panel .panel-title {
- padding: 0;
-}
-
-.accordion .panel .panel-title .accordion-toggle {
- display: block;
- padding: 10px 15px;
-}
-
-.accordion .panel .panel-title .accordion-toggle.accordion-toggle-styled {
- background: url("../img/accordion-plusminus.png") no-repeat;
- background-position: right -19px;
- margin-right: 15px;
-}
-
-.accordion .panel .panel-title .accordion-toggle.accordion-toggle-styled.collapsed {
- background-position: right 12px;
-}
-
-.panel-default {
- border-color: #e0e0e0;
-}
-
-.panel-default > .panel-heading {
- color: #333333;
- background-color: #f9f9f9;
- border-color: #e0e0e0;
-}
-
-.panel-default > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #e0e0e0;
-}
-
-.panel-default > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #e0e0e0;
-}
-
-.panel-primary {
- border-color: #3595bd;
-}
-
-.panel-primary > .panel-heading {
- color: #D8E3F2;
- background-color: #428bca;
- border-color: #3595bd;
-}
-
-.panel-primary > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #3595bd;
-}
-
-.panel-primary > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #3595bd;
-}
-
-.panel-success {
- border-color: #d6e9c6;
-}
-
-.panel-success > .panel-heading {
- color: #3c763d;
- background-color: #dff0d8;
- border-color: #d6e9c6;
-}
-
-.panel-success > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #d6e9c6;
-}
-
-.panel-success > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #d6e9c6;
-}
-
-.panel-info {
- border-color: #bce8f1;
-}
-
-.panel-info > .panel-heading {
- color: #31708f;
- background-color: #d9edf7;
- border-color: #bce8f1;
-}
-
-.panel-info > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #bce8f1;
-}
-
-.panel-info > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #bce8f1;
-}
-
-.panel-warning {
- border-color: #faebcc;
-}
-
-.panel-warning > .panel-heading {
- color: #8a6d3b;
- background-color: #fcf8e3;
- border-color: #faebcc;
-}
-
-.panel-warning > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #faebcc;
-}
-
-.panel-warning > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #faebcc;
-}
-
-.panel-danger {
- border-color: #ebccd1;
-}
-
-.panel-danger > .panel-heading {
- color: #a94442;
- background-color: #f2dede;
- border-color: #ebccd1;
-}
-
-.panel-danger > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #ebccd1;
-}
-
-.panel-danger > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #ebccd1;
-}
-
-/***
-Accordions
-***/
-.accordion-heading {
- background: #eee;
-}
-
-.accordion-heading a {
- text-decoration: none;
-}
-
-.accordion-heading a:hover {
- text-decoration: none;
-}
-
-/***
-Customized Bootstrap Popover
-***/
-.popover {
- box-shadow: 5px 5px rgba(102, 102, 102, 0.1);
- padding: 0;
-}
-
-.popover .popover-title {
- margin: 0 !important;
-}
-
-.popover.name .popover-title,
-name .popover .popover-content,
-.popover.name .popover-content {
- color: #89C4F4;
-}
-
-.popover.name .popover-title,
-name .popover .popover-content,
-.popover.name .popover-content {
- color: #428bca;
-}
-
-.popover.name .popover-title,
-name .popover .popover-content,
-.popover.name .popover-content {
- color: #45B6AF;
-}
-
-.popover.name .popover-title,
-name .popover .popover-content,
-.popover.name .popover-content {
- color: #dfba49;
-}
-
-.popover.name .popover-title,
-name .popover .popover-content,
-.popover.name .popover-content {
- color: #F3565D;
-}
-
-/* popover colors*/
-.popovers.yellow + .popover {
- background: yellow;
-}
-
-.popovers.yellow + .popover .popover-title {
- background: yellow;
-}
-
-.popovers.yellow + .popover .popover-content {
- background: yellow;
-}
-
-/***
-Portlets
-***/
-/* Full Screen portlet mode */
-.page-portlet-fullscreen {
- overflow: hidden;
-}
-
-/* Basic portlet */
-.portlet {
- margin-top: 0px;
- /*margin-bottom: 25px;*/
- margin-bottom: 10px;
- padding: 0px;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- border-radius: 4px;
-}
-
-.portlet.portlet-fullscreen {
- z-index: 10060;
- margin: 0;
- position: fixed;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- width: 100%;
- height: 100%;
- background: #fff;
-}
-
-.portlet.portlet-fullscreen > .portlet-body {
- overflow-y: auto;
- overflow-x: hidden;
- padding: 0 10px;
-}
-
-.portlet.portlet-fullscreen > .portlet-title {
- padding: 0 10px;
-}
-
-.portlet > .portlet-title {
- border-bottom: 1px solid #eee;
- padding: 0;
- margin-bottom: 10px;
- min-height: 41px;
- -webkit-border-radius: 4px 4px 0 0;
- -moz-border-radius: 4px 4px 0 0;
- -ms-border-radius: 4px 4px 0 0;
- -o-border-radius: 4px 4px 0 0;
- border-radius: 4px 4px 0 0;
-}
-
-.portlet > .portlet-title:before, .portlet > .portlet-title:after {
- content: " ";
- display: table;
-}
-
-.portlet > .portlet-title:after {
- clear: both;
-}
-
-.portlet > .portlet-title > .caption {
- float: left;
- display: inline-block;
- font-size: 18px;
- line-height: 18px;
- font-weight: 300;
- padding: 10px 0;
-}
-
-.portlet > .portlet-title > .caption.bold {
- font-weight: 400;
-}
-
-.portlet > .portlet-title > .caption > i {
- float: left;
- margin-top: 4px;
- display: inline-block;
- font-size: 13px;
- margin-right: 5px;
- color: #666;
-}
-
-.portlet > .portlet-title > .caption > i.glyphicon {
- margin-top: 2px;
-}
-
-.portlet > .portlet-title > .caption > .caption-helper {
- padding: 0;
- margin: 0;
- line-height: 13px;
- color: #9eacb4;
- font-size: 13px;
- font-weight: 400;
-}
-
-.portlet > .portlet-title > .actions {
- float: right;
- display: inline-block;
- padding: 6px 0;
-}
-
-.portlet > .portlet-title > .actions > .dropdown-menu i {
- color: #555555;
-}
-
-.portlet > .portlet-title > .actions > .btn,
-.portlet > .portlet-title > .actions > .btn.btn-sm,
-.portlet > .portlet-title > .actions > .btn-group > .btn,
-.portlet > .portlet-title > .actions > .btn-group > .btn.btn-sm {
- padding: 4px 10px;
- font-size: 13px;
- line-height: 1.5;
-}
-
-.portlet > .portlet-title > .actions > .btn.btn-default,
-.portlet > .portlet-title > .actions > .btn.btn-sm.btn-default,
-.portlet > .portlet-title > .actions > .btn-group > .btn.btn-default,
-.portlet > .portlet-title > .actions > .btn-group > .btn.btn-sm.btn-default {
- padding: 3px 9px;
-}
-
-.portlet > .portlet-title > .actions > .btn > i,
-.portlet > .portlet-title > .actions > .btn.btn-sm > i,
-.portlet > .portlet-title > .actions > .btn-group > .btn > i,
-.portlet > .portlet-title > .actions > .btn-group > .btn.btn-sm > i {
- font-size: 13px;
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only {
- padding: 5px 7px 3px 7px;
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only.btn-default {
- padding: 4px 6px 2px 6px;
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only.btn-default > i {
- font-size: 14px;
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only.btn-default.fullscreen {
- font-family: FontAwesome;
- color: #a0a0a0;
- padding-top: 3px;
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only.btn-default.fullscreen.btn-sm {
- padding: 3px 3px !important;
- height: 27px;
- width: 27px;
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only.btn-default.fullscreen:before {
- content: "\f065";
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only.btn-default.fullscreen.on:before {
- content: "\f066";
-}
-
-.portlet > .portlet-title > .tools {
- float: right;
- display: inline-block;
- padding: 12px 0 8px 0;
-}
-
-.portlet > .portlet-title > .tools > a {
- display: inline-block;
- height: 16px;
- margin-left: 5px;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.portlet > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon.png);
- background-repeat: no-repeat;
- width: 11px;
-}
-
-.portlet > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon.png);
- background-repeat: no-repeat;
- width: 12px;
-}
-
-.portlet > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon.png);
- width: 13px;
-}
-
-.portlet > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon.png);
- width: 14px;
- visibility: visible;
-}
-
-.portlet > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon.png);
- width: 14px;
- visibility: visible;
-}
-
-.portlet > .portlet-title > .tools > a.fullscreen {
- display: inline-block;
- top: -3px;
- position: relative;
- font-size: 13px;
- font-family: FontAwesome;
- color: #ACACAC;
-}
-
-.portlet > .portlet-title > .tools > a.fullscreen:before {
- content: "\f065";
-}
-
-.portlet > .portlet-title > .tools > a.fullscreen.on:before {
- content: "\f066";
-}
-
-.portlet > .portlet-title > .tools > a:hover {
- text-decoration: none;
- -webkit-transition: all 0.1s ease-in-out;
- -moz-transition: all 0.1s ease-in-out;
- -o-transition: all 0.1s ease-in-out;
- -ms-transition: all 0.1s ease-in-out;
- transition: all 0.1s ease-in-out;
- opacity: 0.8;
- filter: alpha(opacity=80);
-}
-
-.portlet > .portlet-title > .pagination {
- float: right;
- display: inline-block;
- margin: 2px 0 0 0;
- border: 0;
- padding: 4px 0;
-}
-
-.portlet > .portlet-title > .nav-tabs {
- background: none;
- margin: 0;
- float: right;
- display: inline-block;
- border: 0;
-}
-
-.portlet > .portlet-title > .nav-tabs > li {
- background: none;
- margin: 0;
- border: 0;
-}
-
-.portlet > .portlet-title > .nav-tabs > li > a {
- background: none;
- margin: 5px 0 0 1px;
- border: 0;
- padding: 8px 10px;
- color: #fff;
-}
-
-.portlet > .portlet-title > .nav-tabs > li.active > a, .portlet > .portlet-title > .nav-tabs > li:hover > a {
- color: #333;
- background: #fff;
- border: 0;
-}
-
-.portlet > .portlet-body {
- clear: both;
- -webkit-border-radius: 0 0 4px 4px;
- -moz-border-radius: 0 0 4px 4px;
- -ms-border-radius: 0 0 4px 4px;
- -o-border-radius: 0 0 4px 4px;
- border-radius: 0 0 4px 4px;
-}
-
-.portlet > .portlet-empty {
- min-height: 125px;
-}
-
-.portlet.full-height-content {
- margin-bottom: 0;
-}
-
-/* Portlet background colors */
-/* Side bordered portlet */
-.portlet.bordered {
- border-left: 2px solid #e6e9ec !important;
-}
-
-.portlet.bordered > .portlet-title {
- border-bottom: 0;
-}
-
-/* Solid colored portlet */
-.portlet.solid {
- padding: 0 10px 10px 10px;
- border: 0px;
-}
-
-.portlet.solid > .portlet-title {
- border-bottom: 0;
- margin-bottom: 10px;
-}
-
-.portlet.solid > .portlet-title > .caption {
- padding: 16px 0 2px 0;
-}
-
-.portlet.solid > .portlet-title > .actions {
- padding: 12px 0 6px 0;
-}
-
-.portlet.solid > .portlet-title > .tools {
- padding: 14px 0 6px 0;
-}
-
-/* Solid bordered portlet */
-.portlet.solid.bordered > .portlet-title {
- margin-bottom: 10px;
-}
-
-/* Box portlet */
-.portlet.box {
- padding: 0px !important;
-}
-
-.portlet.box > .portlet-title {
- border-bottom: 0;
- padding: 0 10px;
- margin-bottom: 0;
- color: #fff;
-}
-
-.portlet.box > .portlet-title > .caption {
- padding: 11px 0 9px 0;
-}
-
-.portlet.box > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.box > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.box > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.box > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.box > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.box > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box > .portlet-title > .actions {
- padding: 7px 0 5px 0;
-}
-
-.portlet.box > .portlet-body {
- background-color: #fff;
- padding: 10px;
-}
-
-.portlet.box.portlet-fullscreen > .portlet-body {
- padding: 10px;
-}
-
-/* Light Portlet */
-.portlet.light {
- padding: 12px 20px 10px 20px;
- background-color: #fff;
-}
-
-.portlet.light.bordered {
- border: 1px solid #e1e1e1 !important;
-}
-
-.portlet.light.bordered > .portlet-title {
- border-bottom: 1px solid #eee;
-}
-
-.portlet.light.bg-inverse {
- /*background: #F7F7F7;*/
- background: white;
- border: 1px solid #e1e1e1 !important;
-}
-
-.portlet.light > .portlet-title {
- padding: 0;
- min-height: 48px;
-}
-
-.portlet.light > .portlet-title > .caption {
- color: #666;
- padding: 10px 0;
-}
-
-.portlet.light > .portlet-title > .caption > .caption-subject {
- font-size: 16px;
-}
-
-.portlet.light > .portlet-title > .caption > i {
- color: #777;
- font-size: 15px;
- font-weight: 300;
- margin-top: 3px;
-}
-
-.portlet.light > .portlet-title > .caption.caption-md > .caption-subject {
- font-size: 15px;
-}
-
-.portlet.light > .portlet-title > .caption.caption-md > i {
- font-size: 14px;
-}
-
-.portlet.light > .portlet-title > .actions {
- padding: 6px 0 14px 0;
-}
-
-.portlet.light > .portlet-title > .actions .btn-default {
- color: #666;
-}
-
-.portlet.light > .portlet-title > .actions .btn-icon-only {
- height: 27px;
- width: 27px;
-}
-
-.portlet.light > .portlet-title > .actions .dropdown-menu li > a {
- color: #555;
-}
-
-.portlet.light > .portlet-title > .inputs {
- float: right;
- display: inline-block;
- padding: 4px 0;
-}
-
-.portlet.light > .portlet-title > .inputs > .portlet-input .input-icon > i {
- font-size: 14px;
- margin-top: 9px;
-}
-
-.portlet.light > .portlet-title > .inputs > .portlet-input .input-icon > .form-control {
- height: 30px;
- padding: 2px 26px 3px 10px;
- font-size: 13px;
-}
-
-.portlet.light > .portlet-title > .inputs > .portlet-input > .form-control {
- height: 30px;
- padding: 3px 10px;
- font-size: 13px;
-}
-
-.portlet.light > .portlet-title > .pagination {
- padding: 2px 0 13px 0;
-}
-
-.portlet.light > .portlet-title > .tools {
- padding: 10px 0 13px 0;
- margin-top: 2px;
-}
-
-.portlet.light > .portlet-title > .nav-tabs > li {
- margin: 0;
- padding: 0;
-}
-
-.portlet.light > .portlet-title > .nav-tabs > li > a {
- margin: 0;
- padding: 12px 13px 13px 13px;
- font-size: 13px;
- color: #666;
-}
-
-.portlet.light > .portlet-title > .nav-tabs > li.active > a, .portlet.light > .portlet-title > .nav-tabs > li:hover > a {
- margin: 0;
- background: none;
- color: #333;
-}
-
-.portlet.light.form-fit {
- padding: 0;
-}
-
-.portlet.light.form-fit > .portlet-title {
- padding: 17px 20px 10px 20px;
- margin-bottom: 0;
-}
-
-.portlet.light .portlet-body {
- padding-top: 8px;
-}
-
-.portlet.light.portlet-fullscreen > .portlet-body {
- padding: 8px 0;
-}
-
-.tab-pane > p:last-child {
- margin-bottom: 0px;
-}
-
-/* Reverse aligned tabs */
-.tabs-reversed > li {
- float: right;
- margin-right: 0;
-}
-
-.tabs-reversed > li > a {
- margin-right: 0;
-}
-
-/* jQuery UI Draggable Portlets */
-.portlet-sortable:not(.portlet-fullscreen) > .portlet-title {
- cursor: move;
-}
-
-.portlet-sortable-placeholder {
- border: 2px dashed #eee;
- margin-bottom: 25px;
-}
-
-.portlet-sortable-empty {
- /*height: 45px;*/
- height: 0px;
-}
-
-/***
-Customized Progress Bars
-***/
-.progress {
- border: 0;
- background-image: none;
- filter: none;
- box-shadow: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-}
-
-.progress.progress-sm {
- height: 12px;
-}
-
-.progress > .progress-bar-default {
- background-color: #c6c6c6;
-}
-
-.progress-striped .progress > .progress-bar-default {
- background-image: none;
- background-image: none;
-}
-
-.progress > .progress-bar-success {
- background-color: #45B6AF;
-}
-
-.progress-striped .progress > .progress-bar-success {
- background-image: none;
- background-image: none;
-}
-
-.progress > .progress-bar-info {
- background-color: #89C4F4;
-}
-
-.progress-striped .progress > .progress-bar-info {
- background-image: none;
- background-image: none;
-}
-
-.progress > .progress-bar-danger {
- background-color: #F3565D;
-}
-
-.progress-striped .progress > .progress-bar-danger {
- background-image: none;
- background-image: none;
-}
-
-.progress > .progress-bar-warning {
- background-color: #dfba49;
-}
-
-.progress-striped .progress > .progress-bar-warning {
- background-image: none;
- background-image: none;
-}
-
-/***
-Dashboard stats
-***/
-.dashboard-stat {
- display: block;
- margin-bottom: 25px;
- overflow: hidden;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- border-radius: 4px;
-}
-
-.dashboard-stat:before, .dashboard-stat:after {
- content: " ";
- display: table;
-}
-
-.dashboard-stat:after {
- clear: both;
-}
-
-.portlet .dashboard-stat:last-child {
- margin-bottom: 0;
-}
-
-.dashboard-stat .visual {
- width: 80px;
- height: 80px;
- display: block;
- float: left;
- padding-top: 10px;
- padding-left: 15px;
- margin-bottom: 15px;
- font-size: 35px;
- line-height: 35px;
-}
-
-.dashboard-stat .visual > i {
- margin-left: -35px;
- font-size: 110px;
- line-height: 110px;
-}
-
-.dashboard-stat .details {
- position: absolute;
- right: 15px;
- padding-right: 15px;
-}
-
-.dashboard-stat .details .number {
- padding-top: 25px;
- text-align: right;
- font-size: 34px;
- line-height: 36px;
- letter-spacing: -1px;
- margin-bottom: 0px;
- font-weight: 300;
-}
-
-.dashboard-stat .details .desc {
- text-align: right;
- font-size: 16px;
- letter-spacing: 0px;
- font-weight: 300;
-}
-
-.dashboard-stat .more {
- clear: both;
- display: block;
- padding: 6px 10px 6px 10px;
- position: relative;
- text-transform: uppercase;
- font-weight: 300;
- font-size: 11px;
- opacity: 0.7;
- filter: alpha(opacity=70);
-}
-
-.dashboard-stat .more:hover {
- text-decoration: none;
- opacity: 0.9;
- filter: alpha(opacity=90);
-}
-
-.dashboard-stat .more > i {
- display: inline-block;
- margin-top: 1px;
- float: right;
-}
-
-.dashboard-stat-light {
- padding-bottom: 20px;
- margin-bottom: 20px;
-}
-
-.dashboard-stat-light .details {
- margin-bottom: 5px;
-}
-
-.dashboard-stat-light .details .number {
- font-weight: 300;
- margin-bottom: 0px;
-}
-
-/***
-Text Stats
-***/
-.text-stat h3 {
- margin-top: 5px;
- margin-bottom: 0px;
- font-size: 18px;
-}
-
-.text-stat span {
- font-size: 13px !important;
-}
-
-@media (max-width: 767px) {
- /* 767px */
- .text-stat {
- margin-top: 20px;
- }
-}
-
-/***
-Social Icons
-***/
-.social-icons {
- padding: 0;
- margin: 0;
-}
-
-.social-icons:before, .social-icons:after {
- content: " ";
- display: table;
-}
-
-.social-icons:after {
- clear: both;
-}
-
-.social-icons li {
- float: left;
- display: inline;
- list-style: none;
- margin-right: 5px;
- margin-bottom: 5px;
- text-indent: -9999px;
-}
-
-.social-icons li > a {
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
- -ms-border-radius: 2px;
- -o-border-radius: 2px;
- border-radius: 2px;
- width: 28px;
- height: 28px;
- display: block;
- background-position: 0 0;
- background-repeat: no-repeat;
- transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- -ms-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -webkit-transition: all 0.3s ease-in-out;
-}
-
-.social-icons li:hover > a {
- background-position: 0 -38px;
-}
-
-.social-icons li .amazon {
- background: url(../img/social/amazon.png) no-repeat;
-}
-
-.social-icons li .behance {
- background: url(../img/social/behance.png) no-repeat;
-}
-
-.social-icons li .blogger {
- background: url(../img/social/blogger.png) no-repeat;
-}
-
-.social-icons li .deviantart {
- background: url(../img/social/deviantart.png) no-repeat;
-}
-
-.social-icons li .dribbble {
- background: url(../img/social/dribbble.png) no-repeat;
-}
-
-.social-icons li .dropbox {
- background: url(../img/social/dropbox.png) no-repeat;
-}
-
-.social-icons li .evernote {
- background: url(../img/social/evernote.png) no-repeat;
-}
-
-.social-icons li .facebook {
- background: url(../img/social/facebook.png) no-repeat;
-}
-
-.social-icons li .forrst {
- background: url(../img/social/forrst.png) no-repeat;
-}
-
-.social-icons li .github {
- background: url(../img/social/github.png) no-repeat;
-}
-
-.social-icons li .googleplus {
- background: url(../img/social/googleplus.png) no-repeat;
-}
-
-.social-icons li .jolicloud {
- background: url(../img/social/jolicloud.png) no-repeat;
-}
-
-.social-icons li .last-fm {
- background: url(../img/social/last-fm.png) no-repeat;
-}
-
-.social-icons li .linkedin {
- background: url(../img/social/linkedin.png) no-repeat;
-}
-
-.social-icons li .picasa {
- background: url(../img/social/picasa.png) no-repeat;
-}
-
-.social-icons li .pintrest {
- background: url(../img/social/pintrest.png) no-repeat;
-}
-
-.social-icons li .rss {
- background: url(../img/social/rss.png) no-repeat;
-}
-
-.social-icons li .skype {
- background: url(../img/social/skype.png) no-repeat;
-}
-
-.social-icons li .spotify {
- background: url(../img/social/spotify.png) no-repeat;
-}
-
-.social-icons li .stumbleupon {
- background: url(../img/social/stumbleupon.png) no-repeat;
-}
-
-.social-icons li .tumblr {
- background: url(../img/social/tumblr.png) no-repeat;
-}
-
-.social-icons li .twitter {
- background: url(../img/social/twitter.png) no-repeat;
-}
-
-.social-icons li .vimeo {
- background: url(../img/social/vimeo.png) no-repeat;
-}
-
-.social-icons li .wordpress {
- background: url(../img/social/wordpress.png) no-repeat;
-}
-
-.social-icons li .xing {
- background: url(../img/social/xing.png) no-repeat;
-}
-
-.social-icons li .yahoo {
- background: url(../img/social/yahoo.png) no-repeat;
-}
-
-.social-icons li .youtube {
- background: url(../img/social/youtube.png) no-repeat;
-}
-
-.social-icons li .vk {
- background: url(../img/social/vk.png) no-repeat;
-}
-
-.social-icons li .instagram {
- background: url(../img/social/instagram.png) no-repeat;
-}
-
-.social-icons li .reddit {
- background: url(../img/social/reddit.png) no-repeat;
-}
-
-.social-icons li .aboutme {
- background: url(../img/social/aboutme.png) no-repeat;
-}
-
-.social-icons li .flickr {
- background: url(../img/social/flickr.png) no-repeat;
-}
-
-.social-icons li .foursquare {
- background: url(../img/social/foursquare.png) no-repeat;
-}
-
-.social-icons li .gravatar {
- background: url(../img/social/gravatar.png) no-repeat;
-}
-
-.social-icons li .klout {
- background: url(../img/social/klout.png) no-repeat;
-}
-
-.social-icons li .myspace {
- background: url(../img/social/myspace.png) no-repeat;
-}
-
-.social-icons li .quora {
- background: url(../img/social/quora.png) no-repeat;
-}
-
-.social-icons.social-icons-color > li > a {
- opacity: 0.7;
- background-position: 0 -38px !important;
-}
-
-.social-icons.social-icons-color > li > a:hover {
- opacity: 1;
-}
-
-.social-icons.social-icons-circle > li > a {
- border-radius: 25px !important;
-}
-
-/***
-Inline Social Icons
-***/
-.social-icon {
- display: inline-block !important;
- width: 28px;
- height: 28px;
- background-position: 0 0;
- background-repeat: no-repeat;
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
- -ms-border-radius: 2px;
- -o-border-radius: 2px;
- border-radius: 2px;
- transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- -ms-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -webkit-transition: all 0.3s ease-in-out;
-}
-
-.social-icon.social-icon-circle {
- border-radius: 25px !important;
-}
-
-.social-icon.amazon {
- background: url(../img/social/amazon.png) no-repeat;
-}
-
-.social-icon.behance {
- background: url(../img/social/behance.png) no-repeat;
-}
-
-.social-icon.blogger {
- background: url(../img/social/blogger.png) no-repeat;
-}
-
-.social-icon.deviantart {
- background: url(../img/social/deviantart.png) no-repeat;
-}
-
-.social-icon.dribbble {
- background: url(../img/social/dribbble.png) no-repeat;
-}
-
-.social-icon.dropbox {
- background: url(../img/social/dropbox.png) no-repeat;
-}
-
-.social-icon.evernote {
- background: url(../img/social/evernote.png) no-repeat;
-}
-
-.social-icon.facebook {
- background: url(../img/social/facebook.png) no-repeat;
-}
-
-.social-icon.forrst {
- background: url(../img/social/forrst.png) no-repeat;
-}
-
-.social-icon.github {
- background: url(../img/social/github.png) no-repeat;
-}
-
-.social-icon.googleplus {
- background: url(../img/social/googleplus.png) no-repeat;
-}
-
-.social-icon.jolicloud {
- background: url(../img/social/jolicloud.png) no-repeat;
-}
-
-.social-icon.last-fm {
- background: url(../img/social/last-fm.png) no-repeat;
-}
-
-.social-icon.linkedin {
- background: url(../img/social/linkedin.png) no-repeat;
-}
-
-.social-icon.picasa {
- background: url(../img/social/picasa.png) no-repeat;
-}
-
-.social-icon.pintrest {
- background: url(../img/social/pintrest.png) no-repeat;
-}
-
-.social-icon.rss {
- background: url(../img/social/rss.png) no-repeat;
-}
-
-.social-icon.skype {
- background: url(../img/social/skype.png) no-repeat;
-}
-
-.social-icon.spotify {
- background: url(../img/social/spotify.png) no-repeat;
-}
-
-.social-icon.stumbleupon {
- background: url(../img/social/stumbleupon.png) no-repeat;
-}
-
-.social-icon.tumblr {
- background: url(../img/social/tumblr.png) no-repeat;
-}
-
-.social-icon.twitter {
- background: url(../img/social/twitter.png) no-repeat;
-}
-
-.social-icon.vimeo {
- background: url(../img/social/vimeo.png) no-repeat;
-}
-
-.social-icon.wordpress {
- background: url(../img/social/wordpress.png) no-repeat;
-}
-
-.social-icon.xing {
- background: url(../img/social/xing.png) no-repeat;
-}
-
-.social-icon.yahoo {
- background: url(../img/social/yahoo.png) no-repeat;
-}
-
-.social-icon.youtube {
- background: url(../img/social/youtube.png) no-repeat;
-}
-
-.social-icon.vk {
- background: url(../img/social/vk.png) no-repeat;
-}
-
-.social-icon.instagram {
- background: url(../img/social/instagram.png) no-repeat;
-}
-
-.social-icon.reddit {
- background: url(../img/social/reddit.png) no-repeat;
-}
-
-.social-icon.aboutme {
- background: url(../img/social/aboutme.png) no-repeat;
-}
-
-.social-icon.flickr {
- background: url(../img/social/flickr.png) no-repeat;
-}
-
-.social-icon.foursquare {
- background: url(../img/social/foursquare.png) no-repeat;
-}
-
-.social-icon.gravatar {
- background: url(../img/social/gravatar.png) no-repeat;
-}
-
-.social-icon.klout {
- background: url(../img/social/klout.png) no-repeat;
-}
-
-.social-icon.myspace {
- background: url(../img/social/myspace.png) no-repeat;
-}
-
-.social-icon.quora {
- background: url(../img/social/quora.png) no-repeat;
-}
-
-.social-icon:hover {
- background-position: 0 -38px;
-}
-
-.social-icon-color {
- opacity: 0.7;
- background-position: 0 -38px !important;
-}
-
-.social-icon-color:hover {
- opacity: 1;
-}
-
-/***
-Customized Bootstrap Tables
-***/
-/***
-Default table
-***/
-.table.table-bordered thead > tr > th {
- border-bottom: 0;
-}
-
-.table tr.heading > th {
- background-color: #eee !important;
-}
-
-.table td .img-responsive {
- width: 100%;
-}
-
-/* Contextual table row variants */
-.table > thead > tr > td.active,
-.table > thead > tr > th.active, .table > thead > tr.active > td, .table > thead > tr.active > th,
-.table > tbody > tr > td.active,
-.table > tbody > tr > th.active,
-.table > tbody > tr.active > td,
-.table > tbody > tr.active > th,
-.table > tfoot > tr > td.active,
-.table > tfoot > tr > th.active,
-.table > tfoot > tr.active > td,
-.table > tfoot > tr.active > th {
- background: #a6c8e6;
- color: #132339;
-}
-
-.table-hover > tbody > tr > td.active:hover,
-.table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr.active:hover > th {
- background: #92bce0;
-}
-
-.table > thead > tr > td.success,
-.table > thead > tr > th.success, .table > thead > tr.success > td, .table > thead > tr.success > th,
-.table > tbody > tr > td.success,
-.table > tbody > tr > th.success,
-.table > tbody > tr.success > td,
-.table > tbody > tr.success > th,
-.table > tfoot > tr > td.success,
-.table > tfoot > tr > th.success,
-.table > tfoot > tr.success > td,
-.table > tfoot > tr.success > th {
- background: #dff0d8;
- color: #3c763d;
-}
-
-.table-hover > tbody > tr > td.success:hover,
-.table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr.success:hover > th {
- background: #d0e9c6;
-}
-
-.table > thead > tr > td.info,
-.table > thead > tr > th.info, .table > thead > tr.info > td, .table > thead > tr.info > th,
-.table > tbody > tr > td.info,
-.table > tbody > tr > th.info,
-.table > tbody > tr.info > td,
-.table > tbody > tr.info > th,
-.table > tfoot > tr > td.info,
-.table > tfoot > tr > th.info,
-.table > tfoot > tr.info > td,
-.table > tfoot > tr.info > th {
- background: #d9edf7;
- color: #31708f;
-}
-
-.table-hover > tbody > tr > td.info:hover,
-.table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr.info:hover > th {
- background: #c4e3f3;
-}
-
-.table > thead > tr > td.warning,
-.table > thead > tr > th.warning, .table > thead > tr.warning > td, .table > thead > tr.warning > th,
-.table > tbody > tr > td.warning,
-.table > tbody > tr > th.warning,
-.table > tbody > tr.warning > td,
-.table > tbody > tr.warning > th,
-.table > tfoot > tr > td.warning,
-.table > tfoot > tr > th.warning,
-.table > tfoot > tr.warning > td,
-.table > tfoot > tr.warning > th {
- background: #fcf8e3;
- color: #8a6d3b;
-}
-
-.table-hover > tbody > tr > td.warning:hover,
-.table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr.warning:hover > th {
- background: #faf2cc;
-}
-
-.table > thead > tr > td.danger,
-.table > thead > tr > th.danger, .table > thead > tr.danger > td, .table > thead > tr.danger > th,
-.table > tbody > tr > td.danger,
-.table > tbody > tr > th.danger,
-.table > tbody > tr.danger > td,
-.table > tbody > tr.danger > th,
-.table > tfoot > tr > td.danger,
-.table > tfoot > tr > th.danger,
-.table > tfoot > tr.danger > td,
-.table > tfoot > tr.danger > th {
- background: #f2dede;
- color: #a94442;
-}
-
-.table-hover > tbody > tr > td.danger:hover,
-.table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr.danger:hover > th {
- background: #ebcccc;
-}
-
-/***
-Responsive & Scrollable Tables
-***/
-.table-scrollable {
- width: 100%;
- overflow-x: auto;
- overflow-y: hidden;
- border: 1px solid #dddddd;
- margin: 10px 0 !important;
-}
-
-.table-scrollable.table-scrollable-borderless {
- border: 0;
-}
-
-.table-scrollable > .table {
- width: 100% !important;
- margin: 0 !important;
- margin-bottom: 0;
- background-color: #fff;
-}
-
-.table-scrollable > .table > thead > tr > th,
-.table-scrollable > .table > tbody > tr > th,
-.table-scrollable > .table > tfoot > tr > th,
-.table-scrollable > .table > tfoot > tr > th,
-.table-scrollable > .table > tfoot > tr > td {
- white-space: nowrap;
-}
-
-.table-scrollable > .table-bordered {
- border: 0;
-}
-
-.table-scrollable > .table-bordered > thead > tr > th:first-child,
-.table-scrollable > .table-bordered > tbody > tr > th:first-child,
-.table-scrollable > .table-bordered > tfoot > tr > th:first-child,
-.table-scrollable > .table-bordered > thead > tr > td:first-child,
-.table-scrollable > .table-bordered > tbody > tr > td:first-child,
-.table-scrollable > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0;
-}
-
-.table-scrollable > .table-bordered > thead > tr > th:last-child,
-.table-scrollable > .table-bordered > tbody > tr > th:last-child,
-.table-scrollable > .table-bordered > tfoot > tr > th:last-child,
-.table-scrollable > .table-bordered > thead > tr > td:last-child,
-.table-scrollable > .table-bordered > tbody > tr > td:last-child,
-.table-scrollable > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0;
-}
-
-.table-scrollable > .table-bordered > thead > tr:last-child > th,
-.table-scrollable > .table-bordered > tbody > tr:last-child > th,
-.table-scrollable > .table-bordered > tfoot > tr:last-child > th,
-.table-scrollable > .table-bordered > thead > tr:last-child > td,
-.table-scrollable > .table-bordered > tbody > tr:last-child > td,
-.table-scrollable > .table-bordered > tfoot > tr:last-child > td {
- border-bottom: 0;
-}
-
-/***
-Responsive Flip Scroll Tables
-***/
-.flip-scroll table {
- width: 100%;
-}
-
-@media only screen and (max-width: 768px) {
- /* 768px */
- .flip-scroll .flip-content:after {
- visibility: hidden;
- display: block;
- font-size: 0;
- content: " ";
- clear: both;
- height: 0;
- }
-
- .flip-scroll * html .flip-content {
- zoom: 1;
- }
-
- .flip-scroll *:first-child + html .flip-content {
- zoom: 1;
- }
-
- .flip-scroll table {
- width: 100%;
- border-collapse: collapse;
- border-spacing: 0;
- }
-
- .flip-scroll th,
- .flip-scroll td {
- margin: 0;
- vertical-align: top;
- }
-
- .flip-scroll th {
- text-align: left;
- border: 0 !important;
- border-bottom: 1px solid #ddd !important;
- border-right: 1px solid #ddd !important;
- font-size: 13px !important;
- padding: 5px;
- width: auto !important;
- }
-
- .flip-scroll table {
- display: block;
- position: relative;
- width: 100%;
- }
-
- .flip-scroll thead {
- display: block;
- float: left;
- }
-
- .flip-scroll tbody {
- display: block;
- width: auto;
- position: relative;
- overflow-x: auto;
- white-space: nowrap;
- }
-
- .flip-scroll thead tr {
- display: block;
- }
-
- .flip-scroll th {
- display: block;
- text-align: right;
- }
-
- .flip-scroll tbody tr {
- display: inline-block;
- vertical-align: top;
- margin-left: -5px;
- }
-
- .flip-scroll td {
- display: block;
- min-height: 1.25em;
- text-align: left;
- border-top: 0 !important;
- border-left: 0 !important;
- border-right: 0 !important;
- }
-
- /* sort out borders */
- .flip-scroll th {
- border-bottom: 0;
- border-left: 0;
- }
-
- .flip-scroll td {
- border-left: 0;
- border-right: 0;
- border-bottom: 0;
- }
-
- .flip-scroll tbody tr {
- border-left: 1px solid #ddd;
- }
-
- .flip-scroll th:last-child,
- .flip-scroll td:last-child {
- border-bottom: 1px solid #ddd;
- }
-}
-
-/***
-Custom tables
-***/
-.table-toolbar {
- margin-bottom: 15px;
-}
-
-.table-toolbar:before, .table-toolbar:after {
- content: " ";
- display: table;
-}
-
-.table-toolbar:after {
- clear: both;
-}
-
-.table.table-full-width {
- width: 100% !important;
-}
-
-.table .btn {
- margin-top: 0px;
- margin-left: 0px;
- margin-right: 5px;
-}
-
-.table thead tr th {
- font-size: 14px;
- font-weight: 600;
-}
-
-.table-advance {
- margin-bottom: 10px !important;
-}
-
-.table-advance thead {
- color: #999;
-}
-
-.table-advance thead tr th {
- background-color: #DDD;
- font-size: 14px;
- font-weight: 400;
- color: #666;
-}
-
-.table-advance div.success,
-.table-advance div.info,
-.table-advance div.important,
-.table-advance div.warning,
-.table-advance div.danger {
- position: absolute;
- margin-top: -5px;
- float: left;
- width: 2px;
- height: 30px;
- margin-right: 20px !important;
-}
-
-.table-advance tr td {
- border-left-width: 0px;
-}
-
-.table-advance tr td:first-child {
- border-left-width: 1px !important;
-}
-
-.table-advance tr td.highlight:first-child a {
- margin-left: 15px;
-}
-
-.table-advance td.highlight div.primary {
- border-left: 2px solid #428bca;
-}
-
-.table-advance td.highlight div.success {
- border-left: 2px solid #45B6AF;
-}
-
-.table-advance td.highlight div.info {
- border-left: 2px solid #89C4F4;
-}
-
-.table-advance td.highlight div.warning {
- border-left: 2px solid #dfba49;
-}
-
-.table-advance td.highlight div.danger {
- border-left: 2px solid #F3565D;
-}
-
-@media (max-width: 767px) {
- /* 767px */
- .table-advance tr > td.highlight:first-child a {
- margin-left: 8px;
- }
-}
-
-/***
-Light Table
-***/
-.table.table-light {
- border: 0 !important;
-}
-
-.table.table-light > thead > tr:hover > th {
- background: none;
-}
-
-.table.table-light > thead > tr.uppercase {
- text-transform: uppercase;
-}
-
-.table.table-light > thead > tr > th {
- font-weight: 600;
- font-size: 13px;
- color: #a7b3b9;
- font-family: "Open Sans", sans-serif;
- border: 0;
- border-bottom: 1px solid #F2F5F8;
-}
-
-.table.table-light > tbody > tr:last-child > td {
- border: 0;
-}
-
-.table.table-light > tbody > tr > td {
- border: 0;
- border-bottom: 1px solid #F2F5F8;
- color: #9ca8b0;
- vertical-align: middle;
-}
-
-.table.table-light > tbody > tr > td.fit {
- width: 1px;
- padding-right: 3px;
-}
-
-.table.table-light > tbody > tr > td .user-pic {
- display: inline-block;
- vertical-align: middle;
- height: 30px;
- -webkit-border-radius: 100%;
- -moz-border-radius: 100%;
- -ms-border-radius: 100%;
- -o-border-radius: 100%;
- border-radius: 100%;
-}
-
-.table.table-light.table-hover > tbody > tr > td:hover,
-.table.table-light.table-hover > tbody > tr > th:hover, .table.table-light.table-hover > tbody > tr:hover > td, .table.table-light.table-hover > tbody > tr:hover > th {
- background: #f9fafb;
-}
-
-/***
-Customized Bootstrap Tabs
-***/
-/* Tabs and pills */
-.nav-tabs,
-.nav-pills {
- margin-bottom: 10px;
-}
-
-.nav-tabs > li > a,
-.nav-pills > li > a {
- font-size: 14px;
-}
-
-.nav-tabs > li > a > .badge,
-.nav-pills > li > a > .badge {
- margin-top: -3px;
-}
-
-.nav-tabs > li .dropdown-menu:before, .nav-tabs > li .dropdown-menu:after,
-.nav-pills > li .dropdown-menu:before,
-.nav-pills > li .dropdown-menu:after {
- display: none;
-}
-
-.nav-tabs.nav-tabs-sm > li > a, .nav-tabs.nav-pills-sm > li > a,
-.nav-pills.nav-tabs-sm > li > a,
-.nav-pills.nav-pills-sm > li > a {
- font-size: 13px;
-}
-
-.nav-tabs .dropdown.open > .dropdown-toggle,
-.nav-pills .dropdown.open > .dropdown-toggle {
- background: #eee;
- color: #0d638f;
- border-color: transparent;
-}
-
-/* Left and right tabs */
-.tabs-right.nav-tabs,
-.tabs-left.nav-tabs {
- border-bottom: 0;
-}
-
-.tabs-right.nav-tabs > li,
-.tabs-left.nav-tabs > li {
- float: none;
-}
-
-.tabs-right.nav-tabs > li > a,
-.tabs-left.nav-tabs > li > a {
- margin-right: 0;
- margin-bottom: 3px;
-}
-
-/* Left tabs */
-.tabs-left.nav-tabs {
- border-right: 1px solid #ddd;
-}
-
-.tabs-left.nav-tabs > li > a {
- display: block;
- margin-right: -1px;
-}
-
-.tabs-left.nav-tabs > li > a:hover, .tabs-left.nav-tabs > li > a:focus {
- -webkit-border-radius: 4px 0 0 4px;
- -moz-border-radius: 4px 0 0 4px;
- -ms-border-radius: 4px 0 0 4px;
- -o-border-radius: 4px 0 0 4px;
- border-radius: 4px 0 0 4px;
- border-color: #eeeeee #dddddd #eeeeee #eeeeee;
-}
-
-.tabs-left.nav-tabs > li.active > a,
-.tabs-left.nav-tabs > li.active > a:hover
-> li.active > a:focus {
- -webkit-border-radius: 4px 0 0 4px;
- -moz-border-radius: 4px 0 0 4px;
- -ms-border-radius: 4px 0 0 4px;
- -o-border-radius: 4px 0 0 4px;
- border-radius: 4px 0 0 4px;
- border-color: #ddd transparent #ddd #ddd;
- *border-right-color: #ffffff;
-}
-
-/* Right tabs */
-.tabs-right.nav-tabs {
- border-left: 1px solid #ddd;
-}
-
-.tabs-right.nav-tabs > li > a {
- display: block;
- margin-left: -1px;
-}
-
-.tabs-right.nav-tabs > li > a:hover, .tabs-right.nav-tabs > li > a:focus {
- -webkit-border-radius: 0 4px 4px 0;
- -moz-border-radius: 0 4px 4px 0;
- -ms-border-radius: 0 4px 4px 0;
- -o-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
- border-color: #eeeeee #eeeeee #eeeeee #dddddd;
-}
-
-.tabs-right.nav-tabs > li.active > a,
-.tabs-right.nav-tabs > li.active > a:hover
-> li.active > a:focus {
- -webkit-border-radius: 0 4px 4px 0;
- -moz-border-radius: 0 4px 4px 0;
- -ms-border-radius: 0 4px 4px 0;
- -o-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
- border-color: #ddd #ddd #ddd transparent;
- *border-left-color: #ffffff;
-}
-
-/* Below tabs */
-.tabs-below > .nav-tabs,
-.tabs-below > .nav-pills {
- border-bottom: 0;
- margin-bottom: 0px;
- margin-top: 10px;
-}
-
-.tabs-below > .nav-tabs {
- border-top: 1px solid #ddd;
- margin-bottom: 0;
- margin-top: 10px;
-}
-
-.tabs-below > .nav-tabs > li > a {
- margin-top: -1px;
- margin-bottom: 0;
-}
-
-.tabs-below > .nav-tabs > li > a:hover, .tabs-below > .nav-tabs > li > a:focus {
- border-top-color: #ddd;
- border-bottom-color: transparent;
-}
-
-.tabs-below > .nav-tabs > li > a .dropdown-menu {
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- border-radius: 4px;
-}
-
-.tabs-below > .nav-tabs .active a,
-.tabs-below > .nav-tabs .active a:hover
-.active a:focus {
- -webkit-border-radius: 0 0 4px 4px;
- -moz-border-radius: 0 0 4px 4px;
- -ms-border-radius: 0 0 4px 4px;
- -o-border-radius: 0 0 4px 4px;
- border-radius: 0 0 4px 4px;
- border-color: transparent #ddd #ddd #ddd;
-}
-
-/***
-Custom tabs
-***/
-/* In BS3.0.0 tabbable class was removed. We had to added it back */
-.tabbable:before, .tabbable:after {
- content: " ";
- display: table;
-}
-
-.tabbable:after {
- clear: both;
-}
-
-.tabbable-custom {
- margin-bottom: 15px;
- padding: 0px;
- overflow: hidden;
- /* justified tabs */
- /* boxless tabs */
- /* below justified tabs */
- /* full width tabs */
- /* below tabs */
-}
-
-.tabbable-custom > .nav-tabs {
- border: none;
- margin: 0px;
-}
-
-.tabbable-custom > .nav-tabs > li {
- margin-right: 2px;
- border-top: 2px solid transparent;
-}
-
-.tabbable-custom > .nav-tabs > li > a {
- margin-right: 0;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- -ms-border-radius: 0;
- -o-border-radius: 0;
- border-radius: 0;
-}
-
-.tabbable-custom > .nav-tabs > li > a:hover {
- background: none;
- border-color: transparent;
-}
-
-.tabbable-custom > .nav-tabs > li.active {
- border-top: 3px solid #F3565D;
- margin-top: 0;
- position: relative;
-}
-
-.tabbable-custom > .nav-tabs > li.active > a {
- border-top: none;
- font-weight: 400;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- -ms-border-radius: 0;
- -o-border-radius: 0;
- border-radius: 0;
-}
-
-.tabbable-custom > .nav-tabs > li.active > a:hover {
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- -ms-border-radius: 0;
- -o-border-radius: 0;
- border-radius: 0;
- border-top: none;
- background: #fff;
- border-color: #d4d4d4 #d4d4d4 transparent;
-}
-
-.tabbable-custom > .tab-content {
- background-color: #fff;
- border: 1px solid #ddd;
- padding: 10px;
- -webkit-border-radius: 0 0 4px 4px;
- -moz-border-radius: 0 0 4px 4px;
- -ms-border-radius: 0 0 4px 4px;
- -o-border-radius: 0 0 4px 4px;
- border-radius: 0 0 4px 4px;
-}
-
-.tabbable-custom.nav-justified > .tab-content {
- margin-top: -1px;
-}
-
-.tabbable-custom.boxless > .tab-content {
- padding: 15px 0;
- border-left: none;
- border-right: none;
- border-bottom: none;
-}
-
-.tabbable-custom.tabs-below.nav-justified .tab-content {
- margin-top: 0px;
- margin-bottom: -2px;
- -webkit-border-radius: 4px 4px 0 0;
- -moz-border-radius: 4px 4px 0 0;
- -ms-border-radius: 4px 4px 0 0;
- -o-border-radius: 4px 4px 0 0;
- border-radius: 4px 4px 0 0;
-}
-
-.tabbable-custom.tabbable-full-width > .nav-tabs > li > a {
- color: #424242;
- font-size: 15px;
- padding: 9px 15px;
-}
-
-.tabbable-custom.tabbable-full-width > .tab-content {
- padding: 15px 0;
- border-left: none;
- border-right: none;
- border-bottom: none;
-}
-
-.tabbable-custom.tabs-below .nav-tabs > li > a {
- border-top: none;
- border-bottom: 2px solid transparent;
- margin-top: -1px;
-}
-
-.tabbable-custom.tabs-below .nav-tabs > li.active {
- border-top: none;
- border-bottom: 3px solid #d12610;
- margin-bottom: 0;
- position: relative;
-}
-
-.tabbable-custom.tabs-below .nav-tabs > li.active > a {
- border-bottom: none;
-}
-
-.tabbable-custom.tabs-below .nav-tabs > li.active > a:hover {
- background: #fff;
- border-color: #d4d4d4 #d4d4d4 transparent;
-}
-
-.tabbable-custom.tabbable-noborder > .nav-tabs > li > a {
- border: 0;
-}
-
-.tabbable-custom.tabbable-noborder .tab-content {
- border: 0;
-}
-
-.tabbable-line > .nav-tabs {
- border: none;
- margin: 0px;
-}
-
-.tabbable-line > .nav-tabs > li {
- margin-right: 2px;
-}
-
-.tabbable-line > .nav-tabs > li > a {
- border: 0;
- margin-right: 0;
- color: #737373;
-}
-
-.tabbable-line > .nav-tabs > li > a > i {
- color: #a6a6a6;
-}
-
-.tabbable-line > .nav-tabs > li.open, .tabbable-line > .nav-tabs > li:hover {
- border-bottom: 4px solid #fbcdcf;
-}
-
-.tabbable-line > .nav-tabs > li.open > a, .tabbable-line > .nav-tabs > li:hover > a {
- border: 0;
- background: none !important;
- color: #333;
-}
-
-.tabbable-line > .nav-tabs > li.open > a > i, .tabbable-line > .nav-tabs > li:hover > a > i {
- color: #a6a6a6;
-}
-
-.tabbable-line > .nav-tabs > li.open .dropdown-menu, .tabbable-line > .nav-tabs > li:hover .dropdown-menu {
- margin-top: 0px;
-}
-
-.tabbable-line > .nav-tabs > li.active {
- border-bottom: 4px solid #F3565D;
- position: relative;
-}
-
-.tabbable-line > .nav-tabs > li.active > a {
- border: 0;
- color: #333;
-}
-
-.tabbable-line > .nav-tabs > li.active > a > i {
- color: #404040;
-}
-
-.tabbable-line > .tab-content {
- margin-top: -3px;
- background-color: #fff;
- border: 0;
- border-top: 1px solid #eee;
- padding: 15px 0;
-}
-
-.portlet .tabbable-line > .tab-content {
- padding-bottom: 0;
-}
-
-.tabbable-line.tabs-below > .nav-tabs > li {
- border-top: 4px solid transparent;
-}
-
-.tabbable-line.tabs-below > .nav-tabs > li > a {
- margin-top: 0;
-}
-
-.tabbable-line.tabs-below > .nav-tabs > li:hover {
- border-bottom: 0;
- border-top: 4px solid #fbcdcf;
-}
-
-.tabbable-line.tabs-below > .nav-tabs > li.active {
- margin-bottom: -2px;
- border-bottom: 0;
- border-top: 4px solid #F3565D;
-}
-
-.tabbable-line.tabs-below > .tab-content {
- margin-top: -10px;
- border-top: 0;
- border-bottom: 1px solid #eee;
- padding-bottom: 15px;
-}
-
-/***
-Tiles(new in v1.1.1)
-***/
-.tiles {
- margin-right: -10px;
-}
-
-.tiles:before, .tiles:after {
- display: table;
- content: " ";
-}
-
-.tiles:after {
- clear: both;
-}
-
-.tiles .tile {
- display: block;
- letter-spacing: 0.02em;
- float: left;
- height: 135px;
- width: 135px !important;
- cursor: pointer;
- text-decoration: none;
- color: #ffffff;
- position: relative;
- font-weight: 300;
- font-size: 12px;
- letter-spacing: 0.02em;
- line-height: 20px;
- overflow: hidden;
- border: 4px solid transparent;
- margin: 0 10px 10px 0;
-}
-
-.tiles .tile:after, .tiles .tile:before {
- content: "";
- float: left;
-}
-
-.tiles .tile.double {
- width: 280px !important;
-}
-
-.tiles .tile.double-down {
- height: 280px !important;
-}
-
-.tiles .tile.double-down i {
- margin-top: 95px;
-}
-
-.tiles .tile:hover {
- border-color: #aaa !important;
-}
-
-.tiles .tile:active, .tiles .tile.selected {
- border-color: #ccc !important;
-}
-
-.tiles .tile.selected .corner:after {
- content: "";
- display: inline-block;
- border-left: 40px solid transparent;
- border-bottom: 40px solid transparent;
- border-right: 40px solid #ccc;
- position: absolute;
- top: -3px;
- right: -3px;
-}
-
-.tiles .tile.selected .check:after {
- content: "";
- font-family: FontAwesome;
- font-size: 13px;
- content: "\f00c";
- display: inline-block;
- position: absolute;
- top: 2px;
- right: 2px;
-}
-
-.tiles .tile.icon {
- padding: 0;
-}
-
-.tiles .tile.image .tile-body {
- padding: 0 !important;
-}
-
-.tiles .tile.image .tile-body > img {
- width: 100%;
- height: auto;
- min-height: 100%;
- max-width: 100%;
-}
-
-.tiles .tile.image .tile-body h3 {
- display: inline-block;
-}
-
-.tiles .tile .tile-body {
- height: 100%;
- vertical-align: top;
- padding: 10px 10px;
- overflow: hidden;
- position: relative;
- font-weight: 400;
- font-size: 12px;
- color: #000000;
- color: #ffffff;
- margin-bottom: 10px;
-}
-
-.tiles .tile .tile-body p {
- font-weight: 400;
- font-size: 13px;
- color: #000000;
- color: #ffffff;
- line-height: 20px;
- overflow: hidden;
-}
-
-.tiles .tile .tile-body p:hover {
- color: rgba(0, 0, 0, 0.8);
-}
-
-.tiles .tile .tile-body p:active {
- color: rgba(0, 0, 0, 0.4);
-}
-
-.tiles .tile .tile-body p:hover {
- color: #ffffff;
-}
-
-.tiles .tile .tile-body img {
- float: left;
- margin-right: 10px;
-}
-
-.tiles .tile .tile-body img.pull-right {
- float: right !important;
- margin-left: 10px;
- margin-right: 0px;
-}
-
-.tiles .tile .tile-body > .content {
- display: inline-block;
-}
-
-.tiles .tile .tile-body > i {
- margin-top: 17px;
- display: block;
- font-size: 56px;
- line-height: 56px;
- text-align: center;
-}
-
-.tiles .tile .tile-body h1,
-.tiles .tile .tile-body h2,
-.tiles .tile .tile-body h3,
-.tiles .tile .tile-body h4,
-.tiles .tile .tile-body h5,
-.tiles .tile .tile-body h6,
-.tiles .tile .tile-body p {
- padding: 0;
- margin: 0;
- line-height: 14px;
-}
-
-.tiles .tile .tile-body h1:hover,
-.tiles .tile .tile-body h2:hover,
-.tiles .tile .tile-body h3:hover,
-.tiles .tile .tile-body h4:hover,
-.tiles .tile .tile-body h5:hover,
-.tiles .tile .tile-body h6:hover,
-.tiles .tile .tile-body p:hover {
- color: #ffffff;
-}
-
-.tiles .tile .tile-body h3,
-.tiles .tile .tile-body h4 {
- margin-bottom: 5px;
-}
-
-.tiles .tile .tile-object {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- min-height: 30px;
- background-color: transparent;
- *zoom: 1;
-}
-
-.tiles .tile .tile-object:before, .tiles .tile .tile-object:after {
- display: table;
- content: "";
-}
-
-.tiles .tile .tile-object:after {
- clear: both;
-}
-
-.tiles .tile .tile-object > .name {
- position: absolute;
- bottom: 0;
- left: 0;
- margin-bottom: 5px;
- margin-left: 10px;
- margin-right: 15px;
- font-weight: 400;
- font-size: 13px;
- color: #ffffff;
-}
-
-.tiles .tile .tile-object > .name > i {
- vertical-align: middle;
- display: block;
- font-size: 24px;
- height: 18px;
- width: 24px;
-}
-
-.tiles .tile .tile-object > .number {
- position: absolute;
- bottom: 0;
- right: 0;
- margin-bottom: 0;
- color: #ffffff;
- text-align: center;
- font-weight: 600;
- font-size: 14px;
- letter-spacing: 0.01em;
- line-height: 14px;
- margin-bottom: 8px;
- margin-right: 10px;
-}
-
-/***
-Custimized Bootstrap Wells
-***/
-.well {
- background-color: #eee;
- border: 0;
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- box-shadow: none !important;
-}
-
-/***
-AngularJS Basic Animations
-***/
-@-webkit-keyframes fadeInUp {
- 0% {
- opacity: 0;
- -webkit-transform: translateY(15px);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateY(0);
- }
-}
-
-@-moz-keyframes fadeInUp {
- 0% {
- opacity: 0;
- -moz-transform: translateY(15px);
- }
- 100% {
- opacity: 1;
- -moz-transform: translateY(0);
- }
-}
-
-@-o-keyframes fadeInUp {
- 0% {
- opacity: 0;
- -o-transform: translateY(15px);
- }
- 100% {
- opacity: 1;
- -o-transform: translateY(0);
- }
-}
-
-@keyframes fadeInUp {
- 0% {
- opacity: 0;
- transform: translateY(15px);
- }
- 100% {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-.fade-in-up {
- -webkit-animation: fadeInUp .5s;
- animation: fadeInUp .5s;
-}
-
-@-webkit-keyframes bounceDelay {
- 0%, 80%, 100% {
- -webkit-transform: scale(0);
- }
- 40% {
- -webkit-transform: scale(1);
- }
-}
-
-@keyframes bounceDelay {
- 0%, 80%, 100% {
- transform: scale(0);
- -webkit-transform: scale(0);
- }
- 40% {
- transform: scale(1);
- -webkit-transform: scale(1);
- }
-}
-
-/* Button */
-.btn.default {
- color: #333333;
- background-color: #E5E5E5;
- border-color: "";
-}
-
-.btn.default:hover, .btn.default:focus, .btn.default:active, .btn.default.active {
- color: #333333;
- background-color: lightgray;
-}
-
-.open .btn.default.dropdown-toggle {
- color: #333333;
- background-color: lightgray;
-}
-
-.btn.default:active, .btn.default.active {
- background-image: none;
- background-color: #c6c6c6;
-}
-
-.btn.default:active:hover, .btn.default.active:hover {
- background-color: #cccccc;
-}
-
-.open .btn.default.dropdown-toggle {
- background-image: none;
-}
-
-.btn.default.disabled, .btn.default.disabled:hover, .btn.default.disabled:focus, .btn.default.disabled:active, .btn.default.disabled.active, .btn.default[disabled], .btn.default[disabled]:hover, .btn.default[disabled]:focus, .btn.default[disabled]:active, .btn.default[disabled].active, fieldset[disabled] .btn.default, fieldset[disabled] .btn.default:hover, fieldset[disabled] .btn.default:focus, fieldset[disabled] .btn.default:active, fieldset[disabled] .btn.default.active {
- background-color: #E5E5E5;
-}
-
-.btn.default .badge {
- color: #E5E5E5;
- background-color: #333333;
-}
-
-/**********
-Blue Colors
-***********/
-/***
-Blue Default
-***/
-/* Button */
-.blue.btn {
- color: #FFFFFF;
- background-color: #4B8DF8;
- border-color: "";
-}
-
-.blue.btn:hover, .blue.btn:focus, .blue.btn:active, .blue.btn.active {
- color: #FFFFFF;
- background-color: #2977f7;
-}
-
-.open .blue.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #2977f7;
-}
-
-.blue.btn:active, .blue.btn.active {
- background-image: none;
- background-color: #1068f6;
-}
-
-.blue.btn:active:hover, .blue.btn.active:hover {
- background-color: #1a6ef6;
-}
-
-.open .blue.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue.btn.disabled, .blue.btn.disabled:hover, .blue.btn.disabled:focus, .blue.btn.disabled:active, .blue.btn.disabled.active, .blue.btn[disabled], .blue.btn[disabled]:hover, .blue.btn[disabled]:focus, .blue.btn[disabled]:active, .blue.btn[disabled].active, fieldset[disabled] .blue.btn, fieldset[disabled] .blue.btn:hover, fieldset[disabled] .blue.btn:focus, fieldset[disabled] .blue.btn:active, fieldset[disabled] .blue.btn.active {
- background-color: #4B8DF8;
-}
-
-.blue.btn .badge {
- color: #4B8DF8;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-stripe {
- border-left: 3px solid #4B8DF8;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue,
-.portlet.blue {
- background-color: #4B8DF8;
-}
-
-.portlet.solid.blue > .portlet-title,
-.portlet.solid.blue > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue {
- border: 1px solid #7cacfa;
- border-top: 0;
-}
-
-.portlet.box.blue > .portlet-title {
- background-color: #4B8DF8;
-}
-
-.portlet.box.blue > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #b7d1fc;
- color: #d0e1fd;
-}
-
-.portlet.box.blue > .portlet-title > .actions .btn-default > i {
- color: #deeafe;
-}
-
-.portlet.box.blue > .portlet-title > .actions .btn-default:hover, .portlet.box.blue > .portlet-title > .actions .btn-default:focus, .portlet.box.blue > .portlet-title > .actions .btn-default:active, .portlet.box.blue > .portlet-title > .actions .btn-default.active {
- border: 1px solid #e8f0fe;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue {
- background-color: #4B8DF8;
-}
-
-.dashboard-stat.blue.dashboard-stat-light:hover {
- background-color: #3781f7;
-}
-
-.dashboard-stat.blue .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue .more {
- color: #FFFFFF;
- background-color: #3781f7;
-}
-
-/* General Element */
-.bg-blue {
- border-color: #4B8DF8 !important;
- background-image: none !important;
- background-color: #4B8DF8 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue {
- color: #4B8DF8 !important;
-}
-
-/***
-Blue Madison
-***/
-/* Button */
-.blue-madison.btn {
- color: #FFFFFF;
- background-color: #578ebe;
- border-color: "";
-}
-
-.blue-madison.btn:hover, .blue-madison.btn:focus, .blue-madison.btn:active, .blue-madison.btn.active {
- color: #FFFFFF;
- background-color: #437cae;
-}
-
-.open .blue-madison.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #437cae;
-}
-
-.blue-madison.btn:active, .blue-madison.btn.active {
- background-image: none;
- background-color: #3c6f9c;
-}
-
-.blue-madison.btn:active:hover, .blue-madison.btn.active:hover {
- background-color: #3f74a3;
-}
-
-.open .blue-madison.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-madison.btn.disabled, .blue-madison.btn.disabled:hover, .blue-madison.btn.disabled:focus, .blue-madison.btn.disabled:active, .blue-madison.btn.disabled.active, .blue-madison.btn[disabled], .blue-madison.btn[disabled]:hover, .blue-madison.btn[disabled]:focus, .blue-madison.btn[disabled]:active, .blue-madison.btn[disabled].active, fieldset[disabled] .blue-madison.btn, fieldset[disabled] .blue-madison.btn:hover, fieldset[disabled] .blue-madison.btn:focus, fieldset[disabled] .blue-madison.btn:active, fieldset[disabled] .blue-madison.btn.active {
- background-color: #578ebe;
-}
-
-.blue-madison.btn .badge {
- color: #578ebe;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-madison-stripe {
- border-left: 3px solid #578ebe;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-madison,
-.portlet.blue-madison {
- background-color: #578ebe;
-}
-
-.portlet.solid.blue-madison > .portlet-title,
-.portlet.solid.blue-madison > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-madison > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-madison > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-madison > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-madison > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-madison > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-madison > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-madison > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-madison {
- border: 1px solid #7ca7cc;
- border-top: 0;
-}
-
-.portlet.box.blue-madison > .portlet-title {
- background-color: #578ebe;
-}
-
-.portlet.box.blue-madison > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-madison > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-madison > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #a8c4dd;
- color: #bad1e4;
-}
-
-.portlet.box.blue-madison > .portlet-title > .actions .btn-default > i {
- color: #c5d8e9;
-}
-
-.portlet.box.blue-madison > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-madison > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-madison > .portlet-title > .actions .btn-default:active, .portlet.box.blue-madison > .portlet-title > .actions .btn-default.active {
- border: 1px solid #cdddec;
- color: #dfeaf3;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-madison {
- background-color: #578ebe;
-}
-
-.dashboard-stat.blue-madison.dashboard-stat-light:hover {
- background-color: #4884b8;
-}
-
-.dashboard-stat.blue-madison .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-madison .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-madison .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-madison .more {
- color: #FFFFFF;
- background-color: #4884b8;
-}
-
-/* General Element */
-.bg-blue-madison {
- border-color: #578ebe !important;
- background-image: none !important;
- background-color: #578ebe !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-madison {
- color: #578ebe !important;
-}
-
-/***
-Blue Chambray
-***/
-/* Button */
-.blue-chambray.btn {
- color: #FFFFFF;
- background-color: #2C3E50;
- border-color: "";
-}
-
-.blue-chambray.btn:hover, .blue-chambray.btn:focus, .blue-chambray.btn:active, .blue-chambray.btn.active {
- color: #FFFFFF;
- background-color: #1f2c39;
-}
-
-.open .blue-chambray.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #1f2c39;
-}
-
-.blue-chambray.btn:active, .blue-chambray.btn.active {
- background-image: none;
- background-color: #161f29;
-}
-
-.blue-chambray.btn:active:hover, .blue-chambray.btn.active:hover {
- background-color: #1a242f;
-}
-
-.open .blue-chambray.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-chambray.btn.disabled, .blue-chambray.btn.disabled:hover, .blue-chambray.btn.disabled:focus, .blue-chambray.btn.disabled:active, .blue-chambray.btn.disabled.active, .blue-chambray.btn[disabled], .blue-chambray.btn[disabled]:hover, .blue-chambray.btn[disabled]:focus, .blue-chambray.btn[disabled]:active, .blue-chambray.btn[disabled].active, fieldset[disabled] .blue-chambray.btn, fieldset[disabled] .blue-chambray.btn:hover, fieldset[disabled] .blue-chambray.btn:focus, fieldset[disabled] .blue-chambray.btn:active, fieldset[disabled] .blue-chambray.btn.active {
- background-color: #2C3E50;
-}
-
-.blue-chambray.btn .badge {
- color: #2C3E50;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-chambray-stripe {
- border-left: 3px solid #2C3E50;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-chambray,
-.portlet.blue-chambray {
- background-color: #2C3E50;
-}
-
-.portlet.solid.blue-chambray > .portlet-title,
-.portlet.solid.blue-chambray > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-chambray {
- border: 1px solid #3e5771;
- border-top: 0;
-}
-
-.portlet.box.blue-chambray > .portlet-title {
- background-color: #2C3E50;
-}
-
-.portlet.box.blue-chambray > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-chambray > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-chambray > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #547698;
- color: #5f83a7;
-}
-
-.portlet.box.blue-chambray > .portlet-title > .actions .btn-default > i {
- color: #698aac;
-}
-
-.portlet.box.blue-chambray > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-chambray > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-chambray > .portlet-title > .actions .btn-default:active, .portlet.box.blue-chambray > .portlet-title > .actions .btn-default.active {
- border: 1px solid #6f90b0;
- color: #809cb9;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-chambray {
- background-color: #2C3E50;
-}
-
-.dashboard-stat.blue-chambray.dashboard-stat-light:hover {
- background-color: #253443;
-}
-
-.dashboard-stat.blue-chambray .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-chambray .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-chambray .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-chambray .more {
- color: #FFFFFF;
- background-color: #253443;
-}
-
-/* General Element */
-.bg-blue-chambray {
- border-color: #2C3E50 !important;
- background-image: none !important;
- background-color: #2C3E50 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-chambray {
- color: #2C3E50 !important;
-}
-
-/***
-Blue Ebonyclay
-***/
-/* Button */
-.blue-ebonyclay.btn {
- color: #FFFFFF;
- background-color: #22313F;
- border-color: "";
-}
-
-.blue-ebonyclay.btn:hover, .blue-ebonyclay.btn:focus, .blue-ebonyclay.btn:active, .blue-ebonyclay.btn.active {
- color: #FFFFFF;
- background-color: #151f28;
-}
-
-.open .blue-ebonyclay.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #151f28;
-}
-
-.blue-ebonyclay.btn:active, .blue-ebonyclay.btn.active {
- background-image: none;
- background-color: #0d1217;
-}
-
-.blue-ebonyclay.btn:active:hover, .blue-ebonyclay.btn.active:hover {
- background-color: #10171e;
-}
-
-.open .blue-ebonyclay.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-ebonyclay.btn.disabled, .blue-ebonyclay.btn.disabled:hover, .blue-ebonyclay.btn.disabled:focus, .blue-ebonyclay.btn.disabled:active, .blue-ebonyclay.btn.disabled.active, .blue-ebonyclay.btn[disabled], .blue-ebonyclay.btn[disabled]:hover, .blue-ebonyclay.btn[disabled]:focus, .blue-ebonyclay.btn[disabled]:active, .blue-ebonyclay.btn[disabled].active, fieldset[disabled] .blue-ebonyclay.btn, fieldset[disabled] .blue-ebonyclay.btn:hover, fieldset[disabled] .blue-ebonyclay.btn:focus, fieldset[disabled] .blue-ebonyclay.btn:active, fieldset[disabled] .blue-ebonyclay.btn.active {
- background-color: #22313F;
-}
-
-.blue-ebonyclay.btn .badge {
- color: #22313F;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-ebonyclay-stripe {
- border-left: 3px solid #22313F;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-ebonyclay,
-.portlet.blue-ebonyclay {
- background-color: #22313F;
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title,
-.portlet.solid.blue-ebonyclay > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-ebonyclay {
- border: 1px solid #344b60;
- border-top: 0;
-}
-
-.portlet.box.blue-ebonyclay > .portlet-title {
- background-color: #22313F;
-}
-
-.portlet.box.blue-ebonyclay > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-ebonyclay > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-ebonyclay > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #496a88;
- color: #527798;
-}
-
-.portlet.box.blue-ebonyclay > .portlet-title > .actions .btn-default > i {
- color: #587ea2;
-}
-
-.portlet.box.blue-ebonyclay > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-ebonyclay > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-ebonyclay > .portlet-title > .actions .btn-default:active, .portlet.box.blue-ebonyclay > .portlet-title > .actions .btn-default.active {
- border: 1px solid #5d83a7;
- color: #6d90b0;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-ebonyclay {
- background-color: #22313F;
-}
-
-.dashboard-stat.blue-ebonyclay.dashboard-stat-light:hover {
- background-color: #1b2732;
-}
-
-.dashboard-stat.blue-ebonyclay .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-ebonyclay .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-ebonyclay .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-ebonyclay .more {
- color: #FFFFFF;
- background-color: #1b2732;
-}
-
-/* General Element */
-.bg-blue-ebonyclay {
- border-color: #22313F !important;
- background-image: none !important;
- background-color: #22313F !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-ebonyclay {
- color: #22313F !important;
-}
-
-/***
-Blue Hoki
-***/
-/* Button */
-.blue-hoki.btn {
- color: #FFFFFF;
- background-color: #67809F;
- border-color: "";
-}
-
-.blue-hoki.btn:hover, .blue-hoki.btn:focus, .blue-hoki.btn:active, .blue-hoki.btn.active {
- color: #FFFFFF;
- background-color: #586e8b;
-}
-
-.open .blue-hoki.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #586e8b;
-}
-
-.blue-hoki.btn:active, .blue-hoki.btn.active {
- background-image: none;
- background-color: #4e627b;
-}
-
-.blue-hoki.btn:active:hover, .blue-hoki.btn.active:hover {
- background-color: #526781;
-}
-
-.open .blue-hoki.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-hoki.btn.disabled, .blue-hoki.btn.disabled:hover, .blue-hoki.btn.disabled:focus, .blue-hoki.btn.disabled:active, .blue-hoki.btn.disabled.active, .blue-hoki.btn[disabled], .blue-hoki.btn[disabled]:hover, .blue-hoki.btn[disabled]:focus, .blue-hoki.btn[disabled]:active, .blue-hoki.btn[disabled].active, fieldset[disabled] .blue-hoki.btn, fieldset[disabled] .blue-hoki.btn:hover, fieldset[disabled] .blue-hoki.btn:focus, fieldset[disabled] .blue-hoki.btn:active, fieldset[disabled] .blue-hoki.btn.active {
- background-color: #67809F;
-}
-
-.blue-hoki.btn .badge {
- color: #67809F;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-hoki-stripe {
- border-left: 3px solid #67809F;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-hoki,
-.portlet.blue-hoki {
- background-color: #67809F;
-}
-
-.portlet.solid.blue-hoki > .portlet-title,
-.portlet.solid.blue-hoki > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-hoki {
- border: 1px solid #869ab3;
- border-top: 0;
-}
-
-.portlet.box.blue-hoki > .portlet-title {
- background-color: #67809F;
-}
-
-.portlet.box.blue-hoki > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-hoki > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-hoki > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #acb9ca;
- color: #bbc7d4;
-}
-
-.portlet.box.blue-hoki > .portlet-title > .actions .btn-default > i {
- color: #c5ceda;
-}
-
-.portlet.box.blue-hoki > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-hoki > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-hoki > .portlet-title > .actions .btn-default:active, .portlet.box.blue-hoki > .portlet-title > .actions .btn-default.active {
- border: 1px solid #cbd4de;
- color: #dbe1e8;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-hoki {
- background-color: #67809F;
-}
-
-.dashboard-stat.blue-hoki.dashboard-stat-light:hover {
- background-color: #5e7694;
-}
-
-.dashboard-stat.blue-hoki .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-hoki .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-hoki .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-hoki .more {
- color: #FFFFFF;
- background-color: #5e7694;
-}
-
-/* General Element */
-.bg-blue-hoki {
- border-color: #67809F !important;
- background-image: none !important;
- background-color: #67809F !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-hoki {
- color: #67809F !important;
-}
-
-/***
-Blue Stell
-***/
-/* Button */
-.blue-steel.btn {
- color: #FFFFFF;
- background-color: #4B77BE;
- border-color: "";
-}
-
-.blue-steel.btn:hover, .blue-steel.btn:focus, .blue-steel.btn:active, .blue-steel.btn.active {
- color: #FFFFFF;
- background-color: #3d66a8;
-}
-
-.open .blue-steel.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #3d66a8;
-}
-
-.blue-steel.btn:active, .blue-steel.btn.active {
- background-image: none;
- background-color: #365b96;
-}
-
-.blue-steel.btn:active:hover, .blue-steel.btn.active:hover {
- background-color: #395f9d;
-}
-
-.open .blue-steel.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-steel.btn.disabled, .blue-steel.btn.disabled:hover, .blue-steel.btn.disabled:focus, .blue-steel.btn.disabled:active, .blue-steel.btn.disabled.active, .blue-steel.btn[disabled], .blue-steel.btn[disabled]:hover, .blue-steel.btn[disabled]:focus, .blue-steel.btn[disabled]:active, .blue-steel.btn[disabled].active, fieldset[disabled] .blue-steel.btn, fieldset[disabled] .blue-steel.btn:hover, fieldset[disabled] .blue-steel.btn:focus, fieldset[disabled] .blue-steel.btn:active, fieldset[disabled] .blue-steel.btn.active {
- background-color: #4B77BE;
-}
-
-.blue-steel.btn .badge {
- color: #4B77BE;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-steel-stripe {
- border-left: 3px solid #4B77BE;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-steel,
-.portlet.blue-steel {
- background-color: #4B77BE;
-}
-
-.portlet.solid.blue-steel > .portlet-title,
-.portlet.solid.blue-steel > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-steel > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-steel > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-steel > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-steel > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-steel > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-steel > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-steel > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-steel {
- border: 1px solid #7093cc;
- border-top: 0;
-}
-
-.portlet.box.blue-steel > .portlet-title {
- background-color: #4B77BE;
-}
-
-.portlet.box.blue-steel > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-steel > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-steel > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #9db5dc;
- color: #b0c3e3;
-}
-
-.portlet.box.blue-steel > .portlet-title > .actions .btn-default > i {
- color: #bbcce7;
-}
-
-.portlet.box.blue-steel > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-steel > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-steel > .portlet-title > .actions .btn-default:active, .portlet.box.blue-steel > .portlet-title > .actions .btn-default.active {
- border: 1px solid #c3d2e9;
- color: #d6e0f0;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-steel {
- background-color: #4B77BE;
-}
-
-.dashboard-stat.blue-steel.dashboard-stat-light:hover {
- background-color: #416db4;
-}
-
-.dashboard-stat.blue-steel .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-steel .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-steel .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-steel .more {
- color: #FFFFFF;
- background-color: #416db4;
-}
-
-/* General Element */
-.bg-blue-steel {
- border-color: #4B77BE !important;
- background-image: none !important;
- background-color: #4B77BE !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-steel {
- color: #4B77BE !important;
-}
-
-/***
-Blue Soft
-***/
-/* Button */
-.blue-soft.btn {
- color: #FFFFFF;
- background-color: #4c87b9;
- border-color: "";
-}
-
-.blue-soft.btn:hover, .blue-soft.btn:focus, .blue-soft.btn:active, .blue-soft.btn.active {
- color: #FFFFFF;
- background-color: #3f75a2;
-}
-
-.open .blue-soft.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #3f75a2;
-}
-
-.blue-soft.btn:active, .blue-soft.btn.active {
- background-image: none;
- background-color: #386890;
-}
-
-.blue-soft.btn:active:hover, .blue-soft.btn.active:hover {
- background-color: #3b6d97;
-}
-
-.open .blue-soft.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-soft.btn.disabled, .blue-soft.btn.disabled:hover, .blue-soft.btn.disabled:focus, .blue-soft.btn.disabled:active, .blue-soft.btn.disabled.active, .blue-soft.btn[disabled], .blue-soft.btn[disabled]:hover, .blue-soft.btn[disabled]:focus, .blue-soft.btn[disabled]:active, .blue-soft.btn[disabled].active, fieldset[disabled] .blue-soft.btn, fieldset[disabled] .blue-soft.btn:hover, fieldset[disabled] .blue-soft.btn:focus, fieldset[disabled] .blue-soft.btn:active, fieldset[disabled] .blue-soft.btn.active {
- background-color: #4c87b9;
-}
-
-.blue-soft.btn .badge {
- color: #4c87b9;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-soft-stripe {
- border-left: 3px solid #4c87b9;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-soft,
-.portlet.blue-soft {
- background-color: #4c87b9;
-}
-
-.portlet.solid.blue-soft > .portlet-title,
-.portlet.solid.blue-soft > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-soft > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-soft > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-soft > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-soft > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-soft > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-soft > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-soft {
- border: 1px solid #71a0c7;
- border-top: 0;
-}
-
-.portlet.box.blue-soft > .portlet-title {
- background-color: #4c87b9;
-}
-
-.portlet.box.blue-soft > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-soft > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #9dbdd9;
- color: #afc9e0;
-}
-
-.portlet.box.blue-soft > .portlet-title > .actions .btn-default > i {
- color: #bad1e4;
-}
-
-.portlet.box.blue-soft > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-soft > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-soft > .portlet-title > .actions .btn-default:active, .portlet.box.blue-soft > .portlet-title > .actions .btn-default.active {
- border: 1px solid #c1d6e7;
- color: #d4e2ee;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-soft {
- background-color: #4c87b9;
-}
-
-.dashboard-stat.blue-soft.dashboard-stat-light:hover {
- background-color: #447dad;
-}
-
-.dashboard-stat.blue-soft .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-soft .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-soft .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-soft .more {
- color: #FFFFFF;
- background-color: #447dad;
-}
-
-/* General Element */
-.bg-blue-soft {
- border-color: #4c87b9 !important;
- background-image: none !important;
- background-color: #4c87b9 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-soft {
- color: #4c87b9 !important;
-}
-
-/***
-Blue Dark
-***/
-/* Button */
-.blue-dark.btn {
- color: #FFFFFF;
- background-color: #5e738b;
- border-color: "";
-}
-
-.blue-dark.btn:hover, .blue-dark.btn:focus, .blue-dark.btn:active, .blue-dark.btn.active {
- color: #FFFFFF;
- background-color: #506176;
-}
-
-.open .blue-dark.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #506176;
-}
-
-.blue-dark.btn:active, .blue-dark.btn.active {
- background-image: none;
- background-color: #455566;
-}
-
-.blue-dark.btn:active:hover, .blue-dark.btn.active:hover {
- background-color: #495a6d;
-}
-
-.open .blue-dark.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-dark.btn.disabled, .blue-dark.btn.disabled:hover, .blue-dark.btn.disabled:focus, .blue-dark.btn.disabled:active, .blue-dark.btn.disabled.active, .blue-dark.btn[disabled], .blue-dark.btn[disabled]:hover, .blue-dark.btn[disabled]:focus, .blue-dark.btn[disabled]:active, .blue-dark.btn[disabled].active, fieldset[disabled] .blue-dark.btn, fieldset[disabled] .blue-dark.btn:hover, fieldset[disabled] .blue-dark.btn:focus, fieldset[disabled] .blue-dark.btn:active, fieldset[disabled] .blue-dark.btn.active {
- background-color: #5e738b;
-}
-
-.blue-dark.btn .badge {
- color: #5e738b;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-dark-stripe {
- border-left: 3px solid #5e738b;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-dark,
-.portlet.blue-dark {
- background-color: #5e738b;
-}
-
-.portlet.solid.blue-dark > .portlet-title,
-.portlet.solid.blue-dark > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-dark > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-dark > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-dark > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-dark > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-dark > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-dark > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-dark > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-dark {
- border: 1px solid #788da4;
- border-top: 0;
-}
-
-.portlet.box.blue-dark > .portlet-title {
- background-color: #5e738b;
-}
-
-.portlet.box.blue-dark > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-dark > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-dark > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #9dacbd;
- color: #acb8c7;
-}
-
-.portlet.box.blue-dark > .portlet-title > .actions .btn-default > i {
- color: #b5c0cd;
-}
-
-.portlet.box.blue-dark > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-dark > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-dark > .portlet-title > .actions .btn-default:active, .portlet.box.blue-dark > .portlet-title > .actions .btn-default.active {
- border: 1px solid #bbc5d1;
- color: #cad2db;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-dark {
- background-color: #5e738b;
-}
-
-.dashboard-stat.blue-dark.dashboard-stat-light:hover {
- background-color: #56697f;
-}
-
-.dashboard-stat.blue-dark .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-dark .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-dark .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-dark .more {
- color: #FFFFFF;
- background-color: #56697f;
-}
-
-/* General Element */
-.bg-blue-dark {
- border-color: #5e738b !important;
- background-image: none !important;
- background-color: #5e738b !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-dark {
- color: #5e738b !important;
-}
-
-/***
-Blue Sharp
-***/
-/* Button */
-.blue-sharp.btn {
- color: #FFFFFF;
- background-color: #5C9BD1;
- border-color: "";
-}
-
-.blue-sharp.btn:hover, .blue-sharp.btn:focus, .blue-sharp.btn:active, .blue-sharp.btn.active {
- color: #FFFFFF;
- background-color: #408ac9;
-}
-
-.open .blue-sharp.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #408ac9;
-}
-
-.blue-sharp.btn:active, .blue-sharp.btn.active {
- background-image: none;
- background-color: #357dbb;
-}
-
-.blue-sharp.btn:active:hover, .blue-sharp.btn.active:hover {
- background-color: #3782c3;
-}
-
-.open .blue-sharp.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-sharp.btn.disabled, .blue-sharp.btn.disabled:hover, .blue-sharp.btn.disabled:focus, .blue-sharp.btn.disabled:active, .blue-sharp.btn.disabled.active, .blue-sharp.btn[disabled], .blue-sharp.btn[disabled]:hover, .blue-sharp.btn[disabled]:focus, .blue-sharp.btn[disabled]:active, .blue-sharp.btn[disabled].active, fieldset[disabled] .blue-sharp.btn, fieldset[disabled] .blue-sharp.btn:hover, fieldset[disabled] .blue-sharp.btn:focus, fieldset[disabled] .blue-sharp.btn:active, fieldset[disabled] .blue-sharp.btn.active {
- background-color: #5C9BD1;
-}
-
-.blue-sharp.btn .badge {
- color: #5C9BD1;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-sharp-stripe {
- border-left: 3px solid #5C9BD1;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-sharp,
-.portlet.blue-sharp {
- background-color: #5C9BD1;
-}
-
-.portlet.solid.blue-sharp > .portlet-title,
-.portlet.solid.blue-sharp > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-sharp {
- border: 1px solid #84b3dc;
- border-top: 0;
-}
-
-.portlet.box.blue-sharp > .portlet-title {
- background-color: #5C9BD1;
-}
-
-.portlet.box.blue-sharp > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-sharp > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-sharp > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #b4d1ea;
- color: #c7ddef;
-}
-
-.portlet.box.blue-sharp > .portlet-title > .actions .btn-default > i {
- color: #d3e4f3;
-}
-
-.portlet.box.blue-sharp > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-sharp > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-sharp > .portlet-title > .actions .btn-default:active, .portlet.box.blue-sharp > .portlet-title > .actions .btn-default.active {
- border: 1px solid #dbe9f5;
- color: #eff5fb;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-sharp {
- background-color: #5C9BD1;
-}
-
-.dashboard-stat.blue-sharp.dashboard-stat-light:hover {
- background-color: #4c91cd;
-}
-
-.dashboard-stat.blue-sharp .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-sharp .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-sharp .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-sharp .more {
- color: #FFFFFF;
- background-color: #4c91cd;
-}
-
-/* General Element */
-.bg-blue-sharp {
- border-color: #5C9BD1 !important;
- background-image: none !important;
- background-color: #5C9BD1 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-sharp {
- color: #5C9BD1 !important;
-}
-
-/***********
-Green Colors
-************/
-/***
-Green Default
-***/
-/* Button */
-.green.btn {
- color: #FFFFFF;
- background-color: #35aa47;
- border-color: "";
-}
-
-.green.btn:hover, .green.btn:focus, .green.btn:active, .green.btn.active {
- color: #FFFFFF;
- background-color: #2d8f3c;
-}
-
-.open .green.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #2d8f3c;
-}
-
-.green.btn:active, .green.btn.active {
- background-image: none;
- background-color: #267b34;
-}
-
-.green.btn:active:hover, .green.btn.active:hover {
- background-color: #298337;
-}
-
-.open .green.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green.btn.disabled, .green.btn.disabled:hover, .green.btn.disabled:focus, .green.btn.disabled:active, .green.btn.disabled.active, .green.btn[disabled], .green.btn[disabled]:hover, .green.btn[disabled]:focus, .green.btn[disabled]:active, .green.btn[disabled].active, fieldset[disabled] .green.btn, fieldset[disabled] .green.btn:hover, fieldset[disabled] .green.btn:focus, fieldset[disabled] .green.btn:active, fieldset[disabled] .green.btn.active {
- background-color: #35aa47;
-}
-
-.green.btn .badge {
- color: #35aa47;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-stripe {
- border-left: 3px solid #35aa47;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green,
-.portlet.green {
- background-color: #35aa47;
-}
-
-.portlet.solid.green > .portlet-title,
-.portlet.solid.green > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green {
- border: 1px solid #4bc75e;
- border-top: 0;
-}
-
-.portlet.box.green > .portlet-title {
- background-color: #35aa47;
-}
-
-.portlet.box.green > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #7ad588;
- color: #8ddc99;
-}
-
-.portlet.box.green > .portlet-title > .actions .btn-default > i {
- color: #99dfa4;
-}
-
-.portlet.box.green > .portlet-title > .actions .btn-default:hover, .portlet.box.green > .portlet-title > .actions .btn-default:focus, .portlet.box.green > .portlet-title > .actions .btn-default:active, .portlet.box.green > .portlet-title > .actions .btn-default.active {
- border: 1px solid #a1e2ab;
- color: #b4e8bc;
-}
-
-/* Statistic Block */
-.dashboard-stat.green {
- background-color: #35aa47;
-}
-
-.dashboard-stat.green.dashboard-stat-light:hover {
- background-color: #309a41;
-}
-
-.dashboard-stat.green .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green .more {
- color: #FFFFFF;
- background-color: #309a41;
-}
-
-/* General Element */
-.bg-green {
- border-color: #35aa47 !important;
- background-image: none !important;
- background-color: #35aa47 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green {
- color: #35aa47 !important;
-}
-
-/***
-Green Meadow
-***/
-/* Button */
-.green-meadow.btn {
- color: #FFFFFF;
- background-color: #1BBC9B;
- border-color: "";
-}
-
-.green-meadow.btn:hover, .green-meadow.btn:focus, .green-meadow.btn:active, .green-meadow.btn.active {
- color: #FFFFFF;
- background-color: #179d81;
-}
-
-.open .green-meadow.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #179d81;
-}
-
-.green-meadow.btn:active, .green-meadow.btn.active {
- background-image: none;
- background-color: #13866f;
-}
-
-.green-meadow.btn:active:hover, .green-meadow.btn.active:hover {
- background-color: #158f76;
-}
-
-.open .green-meadow.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-meadow.btn.disabled, .green-meadow.btn.disabled:hover, .green-meadow.btn.disabled:focus, .green-meadow.btn.disabled:active, .green-meadow.btn.disabled.active, .green-meadow.btn[disabled], .green-meadow.btn[disabled]:hover, .green-meadow.btn[disabled]:focus, .green-meadow.btn[disabled]:active, .green-meadow.btn[disabled].active, fieldset[disabled] .green-meadow.btn, fieldset[disabled] .green-meadow.btn:hover, fieldset[disabled] .green-meadow.btn:focus, fieldset[disabled] .green-meadow.btn:active, fieldset[disabled] .green-meadow.btn.active {
- background-color: #1BBC9B;
-}
-
-.green-meadow.btn .badge {
- color: #1BBC9B;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-meadow-stripe {
- border-left: 3px solid #1BBC9B;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-meadow,
-.portlet.green-meadow {
- background-color: #1BBC9B;
-}
-
-.portlet.solid.green-meadow > .portlet-title,
-.portlet.solid.green-meadow > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-meadow > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-meadow > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-meadow > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-meadow > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-meadow > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-meadow > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-meadow > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-meadow {
- border: 1px solid #2ae0bb;
- border-top: 0;
-}
-
-.portlet.box.green-meadow > .portlet-title {
- background-color: #1BBC9B;
-}
-
-.portlet.box.green-meadow > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-meadow > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-meadow > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #5fe8cc;
- color: #75ebd3;
-}
-
-.portlet.box.green-meadow > .portlet-title > .actions .btn-default > i {
- color: #83edd7;
-}
-
-.portlet.box.green-meadow > .portlet-title > .actions .btn-default:hover, .portlet.box.green-meadow > .portlet-title > .actions .btn-default:focus, .portlet.box.green-meadow > .portlet-title > .actions .btn-default:active, .portlet.box.green-meadow > .portlet-title > .actions .btn-default.active {
- border: 1px solid #8ceeda;
- color: #a2f2e1;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-meadow {
- background-color: #1BBC9B;
-}
-
-.dashboard-stat.green-meadow.dashboard-stat-light:hover {
- background-color: #18aa8c;
-}
-
-.dashboard-stat.green-meadow .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-meadow .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-meadow .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-meadow .more {
- color: #FFFFFF;
- background-color: #18aa8c;
-}
-
-/* General Element */
-.bg-green-meadow {
- border-color: #1BBC9B !important;
- background-image: none !important;
- background-color: #1BBC9B !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-meadow {
- color: #1BBC9B !important;
-}
-
-/***
-Green Seagreen
-***/
-/* Button */
-.green-seagreen.btn {
- color: #FFFFFF;
- background-color: #1BA39C;
- border-color: "";
-}
-
-.green-seagreen.btn:hover, .green-seagreen.btn:focus, .green-seagreen.btn:active, .green-seagreen.btn.active {
- color: #FFFFFF;
- background-color: #16847f;
-}
-
-.open .green-seagreen.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #16847f;
-}
-
-.green-seagreen.btn:active, .green-seagreen.btn.active {
- background-image: none;
- background-color: #126e6a;
-}
-
-.green-seagreen.btn:active:hover, .green-seagreen.btn.active:hover {
- background-color: #147772;
-}
-
-.open .green-seagreen.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-seagreen.btn.disabled, .green-seagreen.btn.disabled:hover, .green-seagreen.btn.disabled:focus, .green-seagreen.btn.disabled:active, .green-seagreen.btn.disabled.active, .green-seagreen.btn[disabled], .green-seagreen.btn[disabled]:hover, .green-seagreen.btn[disabled]:focus, .green-seagreen.btn[disabled]:active, .green-seagreen.btn[disabled].active, fieldset[disabled] .green-seagreen.btn, fieldset[disabled] .green-seagreen.btn:hover, fieldset[disabled] .green-seagreen.btn:focus, fieldset[disabled] .green-seagreen.btn:active, fieldset[disabled] .green-seagreen.btn.active {
- background-color: #1BA39C;
-}
-
-.green-seagreen.btn .badge {
- color: #1BA39C;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-seagreen-stripe {
- border-left: 3px solid #1BA39C;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-seagreen,
-.portlet.green-seagreen {
- background-color: #1BA39C;
-}
-
-.portlet.solid.green-seagreen > .portlet-title,
-.portlet.solid.green-seagreen > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-seagreen {
- border: 1px solid #22cfc6;
- border-top: 0;
-}
-
-.portlet.box.green-seagreen > .portlet-title {
- background-color: #1BA39C;
-}
-
-.portlet.box.green-seagreen > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-seagreen > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-seagreen > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #4de1da;
- color: #63e5de;
-}
-
-.portlet.box.green-seagreen > .portlet-title > .actions .btn-default > i {
- color: #70e7e1;
-}
-
-.portlet.box.green-seagreen > .portlet-title > .actions .btn-default:hover, .portlet.box.green-seagreen > .portlet-title > .actions .btn-default:focus, .portlet.box.green-seagreen > .portlet-title > .actions .btn-default:active, .portlet.box.green-seagreen > .portlet-title > .actions .btn-default.active {
- border: 1px solid #78e9e3;
- color: #8eece8;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-seagreen {
- background-color: #1BA39C;
-}
-
-.dashboard-stat.green-seagreen.dashboard-stat-light:hover {
- background-color: #18918b;
-}
-
-.dashboard-stat.green-seagreen .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-seagreen .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-seagreen .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-seagreen .more {
- color: #FFFFFF;
- background-color: #18918b;
-}
-
-/* General Element */
-.bg-green-seagreen {
- border-color: #1BA39C !important;
- background-image: none !important;
- background-color: #1BA39C !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-seagreen {
- color: #1BA39C !important;
-}
-
-/***
-Green Turquoise
-***/
-/* Button */
-.green-turquoise.btn {
- color: #FFFFFF;
- background-color: #36D7B7;
- border-color: "";
-}
-
-.green-turquoise.btn:hover, .green-turquoise.btn:focus, .green-turquoise.btn:active, .green-turquoise.btn.active {
- color: #FFFFFF;
- background-color: #27c3a4;
-}
-
-.open .green-turquoise.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #27c3a4;
-}
-
-.green-turquoise.btn:active, .green-turquoise.btn.active {
- background-image: none;
- background-color: #22ad92;
-}
-
-.green-turquoise.btn:active:hover, .green-turquoise.btn.active:hover {
- background-color: #24b699;
-}
-
-.open .green-turquoise.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-turquoise.btn.disabled, .green-turquoise.btn.disabled:hover, .green-turquoise.btn.disabled:focus, .green-turquoise.btn.disabled:active, .green-turquoise.btn.disabled.active, .green-turquoise.btn[disabled], .green-turquoise.btn[disabled]:hover, .green-turquoise.btn[disabled]:focus, .green-turquoise.btn[disabled]:active, .green-turquoise.btn[disabled].active, fieldset[disabled] .green-turquoise.btn, fieldset[disabled] .green-turquoise.btn:hover, fieldset[disabled] .green-turquoise.btn:focus, fieldset[disabled] .green-turquoise.btn:active, fieldset[disabled] .green-turquoise.btn.active {
- background-color: #36D7B7;
-}
-
-.green-turquoise.btn .badge {
- color: #36D7B7;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-turquoise-stripe {
- border-left: 3px solid #36D7B7;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-turquoise,
-.portlet.green-turquoise {
- background-color: #36D7B7;
-}
-
-.portlet.solid.green-turquoise > .portlet-title,
-.portlet.solid.green-turquoise > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-turquoise {
- border: 1px solid #61dfc6;
- border-top: 0;
-}
-
-.portlet.box.green-turquoise > .portlet-title {
- background-color: #36D7B7;
-}
-
-.portlet.box.green-turquoise > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-turquoise > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-turquoise > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #94ead9;
- color: #a9eee0;
-}
-
-.portlet.box.green-turquoise > .portlet-title > .actions .btn-default > i {
- color: #b6f0e5;
-}
-
-.portlet.box.green-turquoise > .portlet-title > .actions .btn-default:hover, .portlet.box.green-turquoise > .portlet-title > .actions .btn-default:focus, .portlet.box.green-turquoise > .portlet-title > .actions .btn-default:active, .portlet.box.green-turquoise > .portlet-title > .actions .btn-default.active {
- border: 1px solid #bef2e8;
- color: #d3f6ef;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-turquoise {
- background-color: #36D7B7;
-}
-
-.dashboard-stat.green-turquoise.dashboard-stat-light:hover {
- background-color: #29cfae;
-}
-
-.dashboard-stat.green-turquoise .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-turquoise .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-turquoise .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-turquoise .more {
- color: #FFFFFF;
- background-color: #29cfae;
-}
-
-/* General Element */
-.bg-green-turquoise {
- border-color: #36D7B7 !important;
- background-image: none !important;
- background-color: #36D7B7 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-turquoise {
- color: #36D7B7 !important;
-}
-
-/***
-Green Haze
-***/
-/* Button */
-.green-haze.btn {
- color: #FFFFFF;
- background-color: #44b6ae;
- border-color: "";
-}
-
-.green-haze.btn:hover, .green-haze.btn:focus, .green-haze.btn:active, .green-haze.btn.active {
- color: #FFFFFF;
- background-color: #3a9c95;
-}
-
-.open .green-haze.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #3a9c95;
-}
-
-.green-haze.btn:active, .green-haze.btn.active {
- background-image: none;
- background-color: #338983;
-}
-
-.green-haze.btn:active:hover, .green-haze.btn.active:hover {
- background-color: #36918b;
-}
-
-.open .green-haze.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-haze.btn.disabled, .green-haze.btn.disabled:hover, .green-haze.btn.disabled:focus, .green-haze.btn.disabled:active, .green-haze.btn.disabled.active, .green-haze.btn[disabled], .green-haze.btn[disabled]:hover, .green-haze.btn[disabled]:focus, .green-haze.btn[disabled]:active, .green-haze.btn[disabled].active, fieldset[disabled] .green-haze.btn, fieldset[disabled] .green-haze.btn:hover, fieldset[disabled] .green-haze.btn:focus, fieldset[disabled] .green-haze.btn:active, fieldset[disabled] .green-haze.btn.active {
- background-color: #44b6ae;
-}
-
-.green-haze.btn .badge {
- color: #44b6ae;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-haze-stripe {
- border-left: 3px solid #44b6ae;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-haze,
-.portlet.green-haze {
- background-color: #44b6ae;
-}
-
-.portlet.solid.green-haze > .portlet-title,
-.portlet.solid.green-haze > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-haze > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-haze > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-haze > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-haze > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-haze > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-haze > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-haze > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-haze {
- border: 1px solid #67c6bf;
- border-top: 0;
-}
-
-.portlet.box.green-haze > .portlet-title {
- background-color: #44b6ae;
-}
-
-.portlet.box.green-haze > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-haze > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-haze > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #93d7d2;
- color: #a6deda;
-}
-
-.portlet.box.green-haze > .portlet-title > .actions .btn-default > i {
- color: #b1e2de;
-}
-
-.portlet.box.green-haze > .portlet-title > .actions .btn-default:hover, .portlet.box.green-haze > .portlet-title > .actions .btn-default:focus, .portlet.box.green-haze > .portlet-title > .actions .btn-default:active, .portlet.box.green-haze > .portlet-title > .actions .btn-default.active {
- border: 1px solid #b9e5e2;
- color: #cbece9;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-haze {
- background-color: #44b6ae;
-}
-
-.dashboard-stat.green-haze.dashboard-stat-light:hover {
- background-color: #3ea7a0;
-}
-
-.dashboard-stat.green-haze .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-haze .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-haze .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-haze .more {
- color: #FFFFFF;
- background-color: #3ea7a0;
-}
-
-/* General Element */
-.bg-green-haze {
- border-color: #44b6ae !important;
- background-image: none !important;
- background-color: #44b6ae !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-haze {
- color: #44b6ae !important;
-}
-
-/***
-Green Jungle
-***/
-/* Button */
-.green-jungle.btn {
- color: #FFFFFF;
- background-color: #26C281;
- border-color: "";
-}
-
-.green-jungle.btn:hover, .green-jungle.btn:focus, .green-jungle.btn:active, .green-jungle.btn.active {
- color: #FFFFFF;
- background-color: #20a46d;
-}
-
-.open .green-jungle.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #20a46d;
-}
-
-.green-jungle.btn:active, .green-jungle.btn.active {
- background-image: none;
- background-color: #1c8f5f;
-}
-
-.green-jungle.btn:active:hover, .green-jungle.btn.active:hover {
- background-color: #1e9765;
-}
-
-.open .green-jungle.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-jungle.btn.disabled, .green-jungle.btn.disabled:hover, .green-jungle.btn.disabled:focus, .green-jungle.btn.disabled:active, .green-jungle.btn.disabled.active, .green-jungle.btn[disabled], .green-jungle.btn[disabled]:hover, .green-jungle.btn[disabled]:focus, .green-jungle.btn[disabled]:active, .green-jungle.btn[disabled].active, fieldset[disabled] .green-jungle.btn, fieldset[disabled] .green-jungle.btn:hover, fieldset[disabled] .green-jungle.btn:focus, fieldset[disabled] .green-jungle.btn:active, fieldset[disabled] .green-jungle.btn.active {
- background-color: #26C281;
-}
-
-.green-jungle.btn .badge {
- color: #26C281;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-jungle-stripe {
- border-left: 3px solid #26C281;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-jungle,
-.portlet.green-jungle {
- background-color: #26C281;
-}
-
-.portlet.solid.green-jungle > .portlet-title,
-.portlet.solid.green-jungle > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-jungle > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-jungle > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-jungle > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-jungle > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-jungle > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-jungle > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-jungle > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-jungle {
- border: 1px solid #41da9a;
- border-top: 0;
-}
-
-.portlet.box.green-jungle > .portlet-title {
- background-color: #26C281;
-}
-
-.portlet.box.green-jungle > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-jungle > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-jungle > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #74e4b5;
- color: #8ae8c1;
-}
-
-.portlet.box.green-jungle > .portlet-title > .actions .btn-default > i {
- color: #96ebc8;
-}
-
-.portlet.box.green-jungle > .portlet-title > .actions .btn-default:hover, .portlet.box.green-jungle > .portlet-title > .actions .btn-default:focus, .portlet.box.green-jungle > .portlet-title > .actions .btn-default:active, .portlet.box.green-jungle > .portlet-title > .actions .btn-default.active {
- border: 1px solid #9feccc;
- color: #b4f0d7;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-jungle {
- background-color: #26C281;
-}
-
-.dashboard-stat.green-jungle.dashboard-stat-light:hover {
- background-color: #23b176;
-}
-
-.dashboard-stat.green-jungle .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-jungle .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-jungle .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-jungle .more {
- color: #FFFFFF;
- background-color: #23b176;
-}
-
-/* General Element */
-.bg-green-jungle {
- border-color: #26C281 !important;
- background-image: none !important;
- background-color: #26C281 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-jungle {
- color: #26C281 !important;
-}
-
-/***
-Green Sharp
-***/
-/* Button */
-.green-sharp.btn {
- color: #FFFFFF;
- background-color: #4DB3A2;
- border-color: "";
-}
-
-.green-sharp.btn:hover, .green-sharp.btn:focus, .green-sharp.btn:active, .green-sharp.btn.active {
- color: #FFFFFF;
- background-color: #429a8c;
-}
-
-.open .green-sharp.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #429a8c;
-}
-
-.green-sharp.btn:active, .green-sharp.btn.active {
- background-image: none;
- background-color: #3a897b;
-}
-
-.green-sharp.btn:active:hover, .green-sharp.btn.active:hover {
- background-color: #3d9082;
-}
-
-.open .green-sharp.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-sharp.btn.disabled, .green-sharp.btn.disabled:hover, .green-sharp.btn.disabled:focus, .green-sharp.btn.disabled:active, .green-sharp.btn.disabled.active, .green-sharp.btn[disabled], .green-sharp.btn[disabled]:hover, .green-sharp.btn[disabled]:focus, .green-sharp.btn[disabled]:active, .green-sharp.btn[disabled].active, fieldset[disabled] .green-sharp.btn, fieldset[disabled] .green-sharp.btn:hover, fieldset[disabled] .green-sharp.btn:focus, fieldset[disabled] .green-sharp.btn:active, fieldset[disabled] .green-sharp.btn.active {
- background-color: #4DB3A2;
-}
-
-.green-sharp.btn .badge {
- color: #4DB3A2;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-sharp-stripe {
- border-left: 3px solid #4DB3A2;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-sharp,
-.portlet.green-sharp {
- background-color: #4DB3A2;
-}
-
-.portlet.solid.green-sharp > .portlet-title,
-.portlet.solid.green-sharp > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-sharp > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-sharp > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-sharp > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-sharp > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-sharp > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-sharp > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-sharp > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-sharp {
- border: 1px solid #71c2b5;
- border-top: 0;
-}
-
-.portlet.box.green-sharp > .portlet-title {
- background-color: #4DB3A2;
-}
-
-.portlet.box.green-sharp > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-sharp > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-sharp > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #9cd5cb;
- color: #addcd4;
-}
-
-.portlet.box.green-sharp > .portlet-title > .actions .btn-default > i {
- color: #b8e1da;
-}
-
-.portlet.box.green-sharp > .portlet-title > .actions .btn-default:hover, .portlet.box.green-sharp > .portlet-title > .actions .btn-default:focus, .portlet.box.green-sharp > .portlet-title > .actions .btn-default:active, .portlet.box.green-sharp > .portlet-title > .actions .btn-default.active {
- border: 1px solid #bfe4de;
- color: #d1ebe7;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-sharp {
- background-color: #4DB3A2;
-}
-
-.dashboard-stat.green-sharp.dashboard-stat-light:hover {
- background-color: #46a595;
-}
-
-.dashboard-stat.green-sharp .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-sharp .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-sharp .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-sharp .more {
- color: #FFFFFF;
- background-color: #46a595;
-}
-
-/* General Element */
-.bg-green-sharp {
- border-color: #4DB3A2 !important;
- background-image: none !important;
- background-color: #4DB3A2 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-sharp {
- color: #4DB3A2 !important;
-}
-
-/***
-Green Sharp
-***/
-/* Button */
-.green-soft.btn {
- color: #FFFFFF;
- background-color: #3faba4;
- border-color: "";
-}
-
-.green-soft.btn:hover, .green-soft.btn:focus, .green-soft.btn:active, .green-soft.btn.active {
- color: #FFFFFF;
- background-color: #35918b;
-}
-
-.open .green-soft.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #35918b;
-}
-
-.green-soft.btn:active, .green-soft.btn.active {
- background-image: none;
- background-color: #2f7e79;
-}
-
-.green-soft.btn:active:hover, .green-soft.btn.active:hover {
- background-color: #318680;
-}
-
-.open .green-soft.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-soft.btn.disabled, .green-soft.btn.disabled:hover, .green-soft.btn.disabled:focus, .green-soft.btn.disabled:active, .green-soft.btn.disabled.active, .green-soft.btn[disabled], .green-soft.btn[disabled]:hover, .green-soft.btn[disabled]:focus, .green-soft.btn[disabled]:active, .green-soft.btn[disabled].active, fieldset[disabled] .green-soft.btn, fieldset[disabled] .green-soft.btn:hover, fieldset[disabled] .green-soft.btn:focus, fieldset[disabled] .green-soft.btn:active, fieldset[disabled] .green-soft.btn.active {
- background-color: #3faba4;
-}
-
-.green-soft.btn .badge {
- color: #3faba4;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-soft-stripe {
- border-left: 3px solid #3faba4;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-soft,
-.portlet.green-soft {
- background-color: #3faba4;
-}
-
-.portlet.solid.green-soft > .portlet-title,
-.portlet.solid.green-soft > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-soft > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-soft > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-soft > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-soft > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-soft > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-soft > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-soft {
- border: 1px solid #5bc2bc;
- border-top: 0;
-}
-
-.portlet.box.green-soft > .portlet-title {
- background-color: #3faba4;
-}
-
-.portlet.box.green-soft > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-soft > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #87d3ce;
- color: #9adad6;
-}
-
-.portlet.box.green-soft > .portlet-title > .actions .btn-default > i {
- color: #a5deda;
-}
-
-.portlet.box.green-soft > .portlet-title > .actions .btn-default:hover, .portlet.box.green-soft > .portlet-title > .actions .btn-default:focus, .portlet.box.green-soft > .portlet-title > .actions .btn-default:active, .portlet.box.green-soft > .portlet-title > .actions .btn-default.active {
- border: 1px solid #ade1dd;
- color: #bfe7e5;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-soft {
- background-color: #3faba4;
-}
-
-.dashboard-stat.green-soft.dashboard-stat-light:hover {
- background-color: #3a9c96;
-}
-
-.dashboard-stat.green-soft .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-soft .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-soft .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-soft .more {
- color: #FFFFFF;
- background-color: #3a9c96;
-}
-
-/* General Element */
-.bg-green-soft {
- border-color: #3faba4 !important;
- background-image: none !important;
- background-color: #3faba4 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-soft {
- color: #3faba4 !important;
-}
-
-/***********
-Grey Colors
-************/
-/***
-Grey Default
-***/
-/* Button */
-.grey.btn {
- color: #333333;
- background-color: #E5E5E5;
- border-color: "";
-}
-
-.grey.btn:hover, .grey.btn:focus, .grey.btn:active, .grey.btn.active {
- color: #333333;
- background-color: lightgray;
-}
-
-.open .grey.btn.dropdown-toggle {
- color: #333333;
- background-color: lightgray;
-}
-
-.grey.btn:active, .grey.btn.active {
- background-image: none;
- background-color: #c6c6c6;
-}
-
-.grey.btn:active:hover, .grey.btn.active:hover {
- background-color: #cccccc;
-}
-
-.open .grey.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey.btn.disabled, .grey.btn.disabled:hover, .grey.btn.disabled:focus, .grey.btn.disabled:active, .grey.btn.disabled.active, .grey.btn[disabled], .grey.btn[disabled]:hover, .grey.btn[disabled]:focus, .grey.btn[disabled]:active, .grey.btn[disabled].active, fieldset[disabled] .grey.btn, fieldset[disabled] .grey.btn:hover, fieldset[disabled] .grey.btn:focus, fieldset[disabled] .grey.btn:active, fieldset[disabled] .grey.btn.active {
- background-color: #E5E5E5;
-}
-
-.grey.btn .badge {
- color: #E5E5E5;
- background-color: #333333;
-}
-
-/* Button Strip */
-.btn.grey-stripe {
- border-left: 3px solid #E5E5E5;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey,
-.portlet.grey {
- background-color: #E5E5E5;
-}
-
-.portlet.solid.grey > .portlet-title,
-.portlet.solid.grey > .portlet-body {
- border: 0;
- color: #333333;
-}
-
-.portlet.solid.grey > .portlet-title > .caption > i {
- color: #333333;
-}
-
-.portlet.solid.grey > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey {
- border: 1px solid white;
- border-top: 0;
-}
-
-.portlet.box.grey > .portlet-title {
- background-color: #E5E5E5;
-}
-
-.portlet.box.grey > .portlet-title > .caption {
- color: #333333;
-}
-
-.portlet.box.grey > .portlet-title > .caption > i {
- color: #333333;
-}
-
-.portlet.box.grey > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid white;
- color: white;
-}
-
-.portlet.box.grey > .portlet-title > .actions .btn-default > i {
- color: white;
-}
-
-.portlet.box.grey > .portlet-title > .actions .btn-default:hover, .portlet.box.grey > .portlet-title > .actions .btn-default:focus, .portlet.box.grey > .portlet-title > .actions .btn-default:active, .portlet.box.grey > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey {
- background-color: #E5E5E5;
-}
-
-.dashboard-stat.grey.dashboard-stat-light:hover {
- background-color: #dbdbdb;
-}
-
-.dashboard-stat.grey .visual > i {
- color: #333333;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey .details .number {
- color: #333333;
-}
-
-.dashboard-stat.grey .details .desc {
- color: #333333;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey .more {
- color: #333333;
- background-color: #dbdbdb;
-}
-
-/* General Element */
-.bg-grey {
- border-color: #E5E5E5 !important;
- background-image: none !important;
- background-color: #E5E5E5 !important;
- color: #333333 !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey {
- color: #E5E5E5 !important;
-}
-
-/***
-Grey Steel
-***/
-/* Button */
-.grey-steel.btn {
- color: #80898e;
- background-color: #e9edef;
- border-color: "";
-}
-
-.grey-steel.btn:hover, .grey-steel.btn:focus, .grey-steel.btn:active, .grey-steel.btn.active {
- color: #80898e;
- background-color: #d4dce0;
-}
-
-.open .grey-steel.btn.dropdown-toggle {
- color: #80898e;
- background-color: #d4dce0;
-}
-
-.grey-steel.btn:active, .grey-steel.btn.active {
- background-image: none;
- background-color: #c6d0d5;
-}
-
-.grey-steel.btn:active:hover, .grey-steel.btn.active:hover {
- background-color: #cbd5da;
-}
-
-.open .grey-steel.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-steel.btn.disabled, .grey-steel.btn.disabled:hover, .grey-steel.btn.disabled:focus, .grey-steel.btn.disabled:active, .grey-steel.btn.disabled.active, .grey-steel.btn[disabled], .grey-steel.btn[disabled]:hover, .grey-steel.btn[disabled]:focus, .grey-steel.btn[disabled]:active, .grey-steel.btn[disabled].active, fieldset[disabled] .grey-steel.btn, fieldset[disabled] .grey-steel.btn:hover, fieldset[disabled] .grey-steel.btn:focus, fieldset[disabled] .grey-steel.btn:active, fieldset[disabled] .grey-steel.btn.active {
- background-color: #e9edef;
-}
-
-.grey-steel.btn .badge {
- color: #e9edef;
- background-color: #80898e;
-}
-
-/* Button Strip */
-.btn.grey-steel-stripe {
- border-left: 3px solid #e9edef;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-steel,
-.portlet.grey-steel {
- background-color: #e9edef;
-}
-
-.portlet.solid.grey-steel > .portlet-title,
-.portlet.solid.grey-steel > .portlet-body {
- border: 0;
- color: #80898e;
-}
-
-.portlet.solid.grey-steel > .portlet-title > .caption > i {
- color: #80898e;
-}
-
-.portlet.solid.grey-steel > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-steel > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-steel > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-steel > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-steel > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-steel > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-steel {
- border: 1px solid white;
- border-top: 0;
-}
-
-.portlet.box.grey-steel > .portlet-title {
- background-color: #e9edef;
-}
-
-.portlet.box.grey-steel > .portlet-title > .caption {
- color: #80898e;
-}
-
-.portlet.box.grey-steel > .portlet-title > .caption > i {
- color: #80898e;
-}
-
-.portlet.box.grey-steel > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid white;
- color: white;
-}
-
-.portlet.box.grey-steel > .portlet-title > .actions .btn-default > i {
- color: white;
-}
-
-.portlet.box.grey-steel > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-steel > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-steel > .portlet-title > .actions .btn-default:active, .portlet.box.grey-steel > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-steel {
- background-color: #e9edef;
-}
-
-.dashboard-stat.grey-steel.dashboard-stat-light:hover {
- background-color: #dde3e6;
-}
-
-.dashboard-stat.grey-steel .visual > i {
- color: #80898e;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-steel .details .number {
- color: #80898e;
-}
-
-.dashboard-stat.grey-steel .details .desc {
- color: #80898e;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-steel .more {
- color: #80898e;
- background-color: #dde3e6;
-}
-
-/* General Element */
-.bg-grey-steel {
- border-color: #e9edef !important;
- background-image: none !important;
- background-color: #e9edef !important;
- color: #80898e !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-steel {
- color: #e9edef !important;
-}
-
-/***
-Grey Cararra
-***/
-/* Button */
-.grey-cararra.btn {
- color: #333333;
- background-color: #fafafa;
- border-color: "";
-}
-
-.grey-cararra.btn:hover, .grey-cararra.btn:focus, .grey-cararra.btn:active, .grey-cararra.btn.active {
- color: #333333;
- background-color: #e8e8e8;
-}
-
-.open .grey-cararra.btn.dropdown-toggle {
- color: #333333;
- background-color: #e8e8e8;
-}
-
-.grey-cararra.btn:active, .grey-cararra.btn.active {
- background-image: none;
- background-color: #dbdbdb;
-}
-
-.grey-cararra.btn:active:hover, .grey-cararra.btn.active:hover {
- background-color: #e1e1e1;
-}
-
-.open .grey-cararra.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-cararra.btn.disabled, .grey-cararra.btn.disabled:hover, .grey-cararra.btn.disabled:focus, .grey-cararra.btn.disabled:active, .grey-cararra.btn.disabled.active, .grey-cararra.btn[disabled], .grey-cararra.btn[disabled]:hover, .grey-cararra.btn[disabled]:focus, .grey-cararra.btn[disabled]:active, .grey-cararra.btn[disabled].active, fieldset[disabled] .grey-cararra.btn, fieldset[disabled] .grey-cararra.btn:hover, fieldset[disabled] .grey-cararra.btn:focus, fieldset[disabled] .grey-cararra.btn:active, fieldset[disabled] .grey-cararra.btn.active {
- background-color: #fafafa;
-}
-
-.grey-cararra.btn .badge {
- color: #fafafa;
- background-color: #333333;
-}
-
-/* Button Strip */
-.btn.grey-cararra-stripe {
- border-left: 3px solid #fafafa;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-cararra,
-.portlet.grey-cararra {
- background-color: #fafafa;
-}
-
-.portlet.solid.grey-cararra > .portlet-title,
-.portlet.solid.grey-cararra > .portlet-body {
- border: 0;
- color: #333333;
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .caption > i {
- color: #333333;
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-cararra {
- border: 1px solid white;
- border-top: 0;
-}
-
-.portlet.box.grey-cararra > .portlet-title {
- background-color: #fafafa;
-}
-
-.portlet.box.grey-cararra > .portlet-title > .caption {
- color: #333333;
-}
-
-.portlet.box.grey-cararra > .portlet-title > .caption > i {
- color: #333333;
-}
-
-.portlet.box.grey-cararra > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid white;
- color: white;
-}
-
-.portlet.box.grey-cararra > .portlet-title > .actions .btn-default > i {
- color: white;
-}
-
-.portlet.box.grey-cararra > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-cararra > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-cararra > .portlet-title > .actions .btn-default:active, .portlet.box.grey-cararra > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-cararra {
- background-color: #fafafa;
-}
-
-.dashboard-stat.grey-cararra.dashboard-stat-light:hover {
- background-color: #f0f0f0;
-}
-
-.dashboard-stat.grey-cararra .visual > i {
- color: #333333;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-cararra .details .number {
- color: #333333;
-}
-
-.dashboard-stat.grey-cararra .details .desc {
- color: #333333;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-cararra .more {
- color: #333333;
- background-color: #f0f0f0;
-}
-
-/* General Element */
-.bg-grey-cararra {
- border-color: #fafafa !important;
- background-image: none !important;
- background-color: #fafafa !important;
- color: #333333 !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-cararra {
- color: #fafafa !important;
-}
-
-/***
-Grey Gallery
-***/
-/* Button */
-.grey-gallery.btn {
- color: #ffffff;
- background-color: #555555;
- border-color: "";
-}
-
-.grey-gallery.btn:hover, .grey-gallery.btn:focus, .grey-gallery.btn:active, .grey-gallery.btn.active {
- color: #ffffff;
- background-color: #434343;
-}
-
-.open .grey-gallery.btn.dropdown-toggle {
- color: #ffffff;
- background-color: #434343;
-}
-
-.grey-gallery.btn:active, .grey-gallery.btn.active {
- background-image: none;
- background-color: #363636;
-}
-
-.grey-gallery.btn:active:hover, .grey-gallery.btn.active:hover {
- background-color: #3b3b3b;
-}
-
-.open .grey-gallery.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-gallery.btn.disabled, .grey-gallery.btn.disabled:hover, .grey-gallery.btn.disabled:focus, .grey-gallery.btn.disabled:active, .grey-gallery.btn.disabled.active, .grey-gallery.btn[disabled], .grey-gallery.btn[disabled]:hover, .grey-gallery.btn[disabled]:focus, .grey-gallery.btn[disabled]:active, .grey-gallery.btn[disabled].active, fieldset[disabled] .grey-gallery.btn, fieldset[disabled] .grey-gallery.btn:hover, fieldset[disabled] .grey-gallery.btn:focus, fieldset[disabled] .grey-gallery.btn:active, fieldset[disabled] .grey-gallery.btn.active {
- background-color: #555555;
-}
-
-.grey-gallery.btn .badge {
- color: #555555;
- background-color: #ffffff;
-}
-
-/* Button Strip */
-.btn.grey-gallery-stripe {
- border-left: 3px solid #555555;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-gallery,
-.portlet.grey-gallery {
- background-color: #555555;
-}
-
-.portlet.solid.grey-gallery > .portlet-title,
-.portlet.solid.grey-gallery > .portlet-body {
- border: 0;
- color: #ffffff;
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .caption > i {
- color: #ffffff;
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-gallery {
- border: 1px solid #6e6e6e;
- border-top: 0;
-}
-
-.portlet.box.grey-gallery > .portlet-title {
- background-color: #555555;
-}
-
-.portlet.box.grey-gallery > .portlet-title > .caption {
- color: #ffffff;
-}
-
-.portlet.box.grey-gallery > .portlet-title > .caption > i {
- color: #ffffff;
-}
-
-.portlet.box.grey-gallery > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #8d8d8d;
- color: #9a9a9a;
-}
-
-.portlet.box.grey-gallery > .portlet-title > .actions .btn-default > i {
- color: #a2a2a2;
-}
-
-.portlet.box.grey-gallery > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-gallery > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-gallery > .portlet-title > .actions .btn-default:active, .portlet.box.grey-gallery > .portlet-title > .actions .btn-default.active {
- border: 1px solid #a7a7a7;
- color: #b3b3b3;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-gallery {
- background-color: #555555;
-}
-
-.dashboard-stat.grey-gallery.dashboard-stat-light:hover {
- background-color: #4b4b4b;
-}
-
-.dashboard-stat.grey-gallery .visual > i {
- color: #ffffff;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-gallery .details .number {
- color: #ffffff;
-}
-
-.dashboard-stat.grey-gallery .details .desc {
- color: #ffffff;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-gallery .more {
- color: #ffffff;
- background-color: #4b4b4b;
-}
-
-/* General Element */
-.bg-grey-gallery {
- border-color: #555555 !important;
- background-image: none !important;
- background-color: #555555 !important;
- color: #ffffff !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-gallery {
- color: #555555 !important;
-}
-
-/***
-Grey Cascade
-***/
-/* Button */
-.grey-cascade.btn {
- color: #FFFFFF;
- background-color: #95A5A6;
- border-color: "";
-}
-
-.grey-cascade.btn:hover, .grey-cascade.btn:focus, .grey-cascade.btn:active, .grey-cascade.btn.active {
- color: #FFFFFF;
- background-color: #829596;
-}
-
-.open .grey-cascade.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #829596;
-}
-
-.grey-cascade.btn:active, .grey-cascade.btn.active {
- background-image: none;
- background-color: #74898a;
-}
-
-.grey-cascade.btn:active:hover, .grey-cascade.btn.active:hover {
- background-color: #798d8f;
-}
-
-.open .grey-cascade.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-cascade.btn.disabled, .grey-cascade.btn.disabled:hover, .grey-cascade.btn.disabled:focus, .grey-cascade.btn.disabled:active, .grey-cascade.btn.disabled.active, .grey-cascade.btn[disabled], .grey-cascade.btn[disabled]:hover, .grey-cascade.btn[disabled]:focus, .grey-cascade.btn[disabled]:active, .grey-cascade.btn[disabled].active, fieldset[disabled] .grey-cascade.btn, fieldset[disabled] .grey-cascade.btn:hover, fieldset[disabled] .grey-cascade.btn:focus, fieldset[disabled] .grey-cascade.btn:active, fieldset[disabled] .grey-cascade.btn.active {
- background-color: #95A5A6;
-}
-
-.grey-cascade.btn .badge {
- color: #95A5A6;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.grey-cascade-stripe {
- border-left: 3px solid #95A5A6;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-cascade,
-.portlet.grey-cascade {
- background-color: #95A5A6;
-}
-
-.portlet.solid.grey-cascade > .portlet-title,
-.portlet.solid.grey-cascade > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-cascade {
- border: 1px solid #b1bdbd;
- border-top: 0;
-}
-
-.portlet.box.grey-cascade > .portlet-title {
- background-color: #95A5A6;
-}
-
-.portlet.box.grey-cascade > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.grey-cascade > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.grey-cascade > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #d2d9d9;
- color: #e0e5e5;
-}
-
-.portlet.box.grey-cascade > .portlet-title > .actions .btn-default > i {
- color: #e8ecec;
-}
-
-.portlet.box.grey-cascade > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-cascade > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-cascade > .portlet-title > .actions .btn-default:active, .portlet.box.grey-cascade > .portlet-title > .actions .btn-default.active {
- border: 1px solid #eef0f0;
- color: #fcfcfc;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-cascade {
- background-color: #95A5A6;
-}
-
-.dashboard-stat.grey-cascade.dashboard-stat-light:hover {
- background-color: #8a9c9d;
-}
-
-.dashboard-stat.grey-cascade .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-cascade .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.grey-cascade .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-cascade .more {
- color: #FFFFFF;
- background-color: #8a9c9d;
-}
-
-/* General Element */
-.bg-grey-cascade {
- border-color: #95A5A6 !important;
- background-image: none !important;
- background-color: #95A5A6 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-cascade {
- color: #95A5A6 !important;
-}
-
-/***
-Grey Silver
-***/
-/* Button */
-.grey-silver.btn {
- color: #FAFCFB;
- background-color: #BFBFBF;
- border-color: "";
-}
-
-.grey-silver.btn:hover, .grey-silver.btn:focus, .grey-silver.btn:active, .grey-silver.btn.active {
- color: #FAFCFB;
- background-color: #adadad;
-}
-
-.open .grey-silver.btn.dropdown-toggle {
- color: #FAFCFB;
- background-color: #adadad;
-}
-
-.grey-silver.btn:active, .grey-silver.btn.active {
- background-image: none;
- background-color: #a0a0a0;
-}
-
-.grey-silver.btn:active:hover, .grey-silver.btn.active:hover {
- background-color: #a6a6a6;
-}
-
-.open .grey-silver.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-silver.btn.disabled, .grey-silver.btn.disabled:hover, .grey-silver.btn.disabled:focus, .grey-silver.btn.disabled:active, .grey-silver.btn.disabled.active, .grey-silver.btn[disabled], .grey-silver.btn[disabled]:hover, .grey-silver.btn[disabled]:focus, .grey-silver.btn[disabled]:active, .grey-silver.btn[disabled].active, fieldset[disabled] .grey-silver.btn, fieldset[disabled] .grey-silver.btn:hover, fieldset[disabled] .grey-silver.btn:focus, fieldset[disabled] .grey-silver.btn:active, fieldset[disabled] .grey-silver.btn.active {
- background-color: #BFBFBF;
-}
-
-.grey-silver.btn .badge {
- color: #BFBFBF;
- background-color: #FAFCFB;
-}
-
-/* Button Strip */
-.btn.grey-silver-stripe {
- border-left: 3px solid #BFBFBF;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-silver,
-.portlet.grey-silver {
- background-color: #BFBFBF;
-}
-
-.portlet.solid.grey-silver > .portlet-title,
-.portlet.solid.grey-silver > .portlet-body {
- border: 0;
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-silver > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-silver > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-silver > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-silver > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-silver > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-silver > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-silver > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-silver {
- border: 1px solid #d9d9d9;
- border-top: 0;
-}
-
-.portlet.box.grey-silver > .portlet-title {
- background-color: #BFBFBF;
-}
-
-.portlet.box.grey-silver > .portlet-title > .caption {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-silver > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-silver > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #f7f7f7;
- color: white;
-}
-
-.portlet.box.grey-silver > .portlet-title > .actions .btn-default > i {
- color: white;
-}
-
-.portlet.box.grey-silver > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-silver > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-silver > .portlet-title > .actions .btn-default:active, .portlet.box.grey-silver > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-silver {
- background-color: #BFBFBF;
-}
-
-.dashboard-stat.grey-silver.dashboard-stat-light:hover {
- background-color: #b5b5b5;
-}
-
-.dashboard-stat.grey-silver .visual > i {
- color: #FAFCFB;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-silver .details .number {
- color: #FAFCFB;
-}
-
-.dashboard-stat.grey-silver .details .desc {
- color: #FAFCFB;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-silver .more {
- color: #FAFCFB;
- background-color: #b5b5b5;
-}
-
-/* General Element */
-.bg-grey-silver {
- border-color: #BFBFBF !important;
- background-image: none !important;
- background-color: #BFBFBF !important;
- color: #FAFCFB !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-silver {
- color: #BFBFBF !important;
-}
-
-/***
-Grey Salsa
-***/
-/* Button */
-.grey-salsa.btn {
- color: #FAFCFB;
- background-color: #ACB5C3;
- border-color: "";
-}
-
-.grey-salsa.btn:hover, .grey-salsa.btn:focus, .grey-salsa.btn:active, .grey-salsa.btn.active {
- color: #FAFCFB;
- background-color: #97a3b4;
-}
-
-.open .grey-salsa.btn.dropdown-toggle {
- color: #FAFCFB;
- background-color: #97a3b4;
-}
-
-.grey-salsa.btn:active, .grey-salsa.btn.active {
- background-image: none;
- background-color: #8895a9;
-}
-
-.grey-salsa.btn:active:hover, .grey-salsa.btn.active:hover {
- background-color: #8e9bae;
-}
-
-.open .grey-salsa.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-salsa.btn.disabled, .grey-salsa.btn.disabled:hover, .grey-salsa.btn.disabled:focus, .grey-salsa.btn.disabled:active, .grey-salsa.btn.disabled.active, .grey-salsa.btn[disabled], .grey-salsa.btn[disabled]:hover, .grey-salsa.btn[disabled]:focus, .grey-salsa.btn[disabled]:active, .grey-salsa.btn[disabled].active, fieldset[disabled] .grey-salsa.btn, fieldset[disabled] .grey-salsa.btn:hover, fieldset[disabled] .grey-salsa.btn:focus, fieldset[disabled] .grey-salsa.btn:active, fieldset[disabled] .grey-salsa.btn.active {
- background-color: #ACB5C3;
-}
-
-.grey-salsa.btn .badge {
- color: #ACB5C3;
- background-color: #FAFCFB;
-}
-
-/* Button Strip */
-.btn.grey-salsa-stripe {
- border-left: 3px solid #ACB5C3;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-salsa,
-.portlet.grey-salsa {
- background-color: #ACB5C3;
-}
-
-.portlet.solid.grey-salsa > .portlet-title,
-.portlet.solid.grey-salsa > .portlet-body {
- border: 0;
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-salsa {
- border: 1px solid #cacfd8;
- border-top: 0;
-}
-
-.portlet.box.grey-salsa > .portlet-title {
- background-color: #ACB5C3;
-}
-
-.portlet.box.grey-salsa > .portlet-title > .caption {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-salsa > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-salsa > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #edeff2;
- color: #fcfcfd;
-}
-
-.portlet.box.grey-salsa > .portlet-title > .actions .btn-default > i {
- color: white;
-}
-
-.portlet.box.grey-salsa > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-salsa > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-salsa > .portlet-title > .actions .btn-default:active, .portlet.box.grey-salsa > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-salsa {
- background-color: #ACB5C3;
-}
-
-.dashboard-stat.grey-salsa.dashboard-stat-light:hover {
- background-color: #a0aaba;
-}
-
-.dashboard-stat.grey-salsa .visual > i {
- color: #FAFCFB;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-salsa .details .number {
- color: #FAFCFB;
-}
-
-.dashboard-stat.grey-salsa .details .desc {
- color: #FAFCFB;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-salsa .more {
- color: #FAFCFB;
- background-color: #a0aaba;
-}
-
-/* General Element */
-.bg-grey-salsa {
- border-color: #ACB5C3 !important;
- background-image: none !important;
- background-color: #ACB5C3 !important;
- color: #FAFCFB !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-salsa {
- color: #ACB5C3 !important;
-}
-
-/***
-Grey Salt
-***/
-/* Button */
-.grey-salt.btn {
- color: #FAFCFB;
- background-color: #bfcad1;
- border-color: "";
-}
-
-.grey-salt.btn:hover, .grey-salt.btn:focus, .grey-salt.btn:active, .grey-salt.btn.active {
- color: #FAFCFB;
- background-color: #aab9c2;
-}
-
-.open .grey-salt.btn.dropdown-toggle {
- color: #FAFCFB;
- background-color: #aab9c2;
-}
-
-.grey-salt.btn:active, .grey-salt.btn.active {
- background-image: none;
- background-color: #9badb7;
-}
-
-.grey-salt.btn:active:hover, .grey-salt.btn.active:hover {
- background-color: #a1b1bc;
-}
-
-.open .grey-salt.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-salt.btn.disabled, .grey-salt.btn.disabled:hover, .grey-salt.btn.disabled:focus, .grey-salt.btn.disabled:active, .grey-salt.btn.disabled.active, .grey-salt.btn[disabled], .grey-salt.btn[disabled]:hover, .grey-salt.btn[disabled]:focus, .grey-salt.btn[disabled]:active, .grey-salt.btn[disabled].active, fieldset[disabled] .grey-salt.btn, fieldset[disabled] .grey-salt.btn:hover, fieldset[disabled] .grey-salt.btn:focus, fieldset[disabled] .grey-salt.btn:active, fieldset[disabled] .grey-salt.btn.active {
- background-color: #bfcad1;
-}
-
-.grey-salt.btn .badge {
- color: #bfcad1;
- background-color: #FAFCFB;
-}
-
-/* Button Strip */
-.btn.grey-salt-stripe {
- border-left: 3px solid #bfcad1;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-salt,
-.portlet.grey-salt {
- background-color: #bfcad1;
-}
-
-.portlet.solid.grey-salt > .portlet-title,
-.portlet.solid.grey-salt > .portlet-body {
- border: 0;
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-salt > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-salt > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-salt > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-salt > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-salt > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-salt > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-salt > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-salt {
- border: 1px solid #dde3e6;
- border-top: 0;
-}
-
-.portlet.box.grey-salt > .portlet-title {
- background-color: #bfcad1;
-}
-
-.portlet.box.grey-salt > .portlet-title > .caption {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-salt > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-salt > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid white;
- color: white;
-}
-
-.portlet.box.grey-salt > .portlet-title > .actions .btn-default > i {
- color: white;
-}
-
-.portlet.box.grey-salt > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-salt > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-salt > .portlet-title > .actions .btn-default:active, .portlet.box.grey-salt > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-salt {
- background-color: #bfcad1;
-}
-
-.dashboard-stat.grey-salt.dashboard-stat-light:hover {
- background-color: #b3c0c8;
-}
-
-.dashboard-stat.grey-salt .visual > i {
- color: #FAFCFB;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-salt .details .number {
- color: #FAFCFB;
-}
-
-.dashboard-stat.grey-salt .details .desc {
- color: #FAFCFB;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-salt .more {
- color: #FAFCFB;
- background-color: #b3c0c8;
-}
-
-/* General Element */
-.bg-grey-salt {
- border-color: #bfcad1 !important;
- background-image: none !important;
- background-color: #bfcad1 !important;
- color: #FAFCFB !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-salt {
- color: #bfcad1 !important;
-}
-
-/***
-Grey Mint
-***/
-/* Button */
-.grey-mint.btn {
- color: #FAFCFB;
- background-color: #9eacb4;
- border-color: "";
-}
-
-.grey-mint.btn:hover, .grey-mint.btn:focus, .grey-mint.btn:active, .grey-mint.btn.active {
- color: #FAFCFB;
- background-color: #8a9ba4;
-}
-
-.open .grey-mint.btn.dropdown-toggle {
- color: #FAFCFB;
- background-color: #8a9ba4;
-}
-
-.grey-mint.btn:active, .grey-mint.btn.active {
- background-image: none;
- background-color: #7b8e99;
-}
-
-.grey-mint.btn:active:hover, .grey-mint.btn.active:hover {
- background-color: #81939e;
-}
-
-.open .grey-mint.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-mint.btn.disabled, .grey-mint.btn.disabled:hover, .grey-mint.btn.disabled:focus, .grey-mint.btn.disabled:active, .grey-mint.btn.disabled.active, .grey-mint.btn[disabled], .grey-mint.btn[disabled]:hover, .grey-mint.btn[disabled]:focus, .grey-mint.btn[disabled]:active, .grey-mint.btn[disabled].active, fieldset[disabled] .grey-mint.btn, fieldset[disabled] .grey-mint.btn:hover, fieldset[disabled] .grey-mint.btn:focus, fieldset[disabled] .grey-mint.btn:active, fieldset[disabled] .grey-mint.btn.active {
- background-color: #9eacb4;
-}
-
-.grey-mint.btn .badge {
- color: #9eacb4;
- background-color: #FAFCFB;
-}
-
-/* Button Strip */
-.btn.grey-mint-stripe {
- border-left: 3px solid #9eacb4;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-mint,
-.portlet.grey-mint {
- background-color: #9eacb4;
-}
-
-.portlet.solid.grey-mint > .portlet-title,
-.portlet.solid.grey-mint > .portlet-body {
- border: 0;
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-mint > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-mint > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-mint > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-mint > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-mint > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-mint > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-mint > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-mint {
- border: 1px solid #bbc5ca;
- border-top: 0;
-}
-
-.portlet.box.grey-mint > .portlet-title {
- background-color: #9eacb4;
-}
-
-.portlet.box.grey-mint > .portlet-title > .caption {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-mint > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-mint > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #dde2e5;
- color: #eceef0;
-}
-
-.portlet.box.grey-mint > .portlet-title > .actions .btn-default > i {
- color: #f4f6f7;
-}
-
-.portlet.box.grey-mint > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-mint > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-mint > .portlet-title > .actions .btn-default:active, .portlet.box.grey-mint > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fafbfb;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-mint {
- background-color: #9eacb4;
-}
-
-.dashboard-stat.grey-mint.dashboard-stat-light:hover {
- background-color: #92a2ab;
-}
-
-.dashboard-stat.grey-mint .visual > i {
- color: #FAFCFB;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-mint .details .number {
- color: #FAFCFB;
-}
-
-.dashboard-stat.grey-mint .details .desc {
- color: #FAFCFB;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-mint .more {
- color: #FAFCFB;
- background-color: #92a2ab;
-}
-
-/* General Element */
-.bg-grey-mint {
- border-color: #9eacb4 !important;
- background-image: none !important;
- background-color: #9eacb4 !important;
- color: #FAFCFB !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-mint {
- color: #9eacb4 !important;
-}
-
-/***********
-Red Colors
-************/
-/***
-Red Default
-***/
-/* Button */
-.red.btn {
- color: #FFFFFF;
- background-color: #d84a38;
- border-color: "";
-}
-
-.red.btn:hover, .red.btn:focus, .red.btn:active, .red.btn.active {
- color: #FFFFFF;
- background-color: #c63927;
-}
-
-.open .red.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #c63927;
-}
-
-.red.btn:active, .red.btn.active {
- background-image: none;
- background-color: #b03223;
-}
-
-.red.btn:active:hover, .red.btn.active:hover {
- background-color: #b93524;
-}
-
-.open .red.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red.btn.disabled, .red.btn.disabled:hover, .red.btn.disabled:focus, .red.btn.disabled:active, .red.btn.disabled.active, .red.btn[disabled], .red.btn[disabled]:hover, .red.btn[disabled]:focus, .red.btn[disabled]:active, .red.btn[disabled].active, fieldset[disabled] .red.btn, fieldset[disabled] .red.btn:hover, fieldset[disabled] .red.btn:focus, fieldset[disabled] .red.btn:active, fieldset[disabled] .red.btn.active {
- background-color: #d84a38;
-}
-
-.red.btn .badge {
- color: #d84a38;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-stripe {
- border-left: 3px solid #d84a38;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red,
-.portlet.red {
- background-color: #d84a38;
-}
-
-.portlet.solid.red > .portlet-title,
-.portlet.solid.red > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red {
- border: 1px solid #e07163;
- border-top: 0;
-}
-
-.portlet.box.red > .portlet-title {
- background-color: #d84a38;
-}
-
-.portlet.box.red > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #ea9f96;
- color: #efb3ab;
-}
-
-.portlet.box.red > .portlet-title > .actions .btn-default > i {
- color: #f1beb8;
-}
-
-.portlet.box.red > .portlet-title > .actions .btn-default:hover, .portlet.box.red > .portlet-title > .actions .btn-default:focus, .portlet.box.red > .portlet-title > .actions .btn-default:active, .portlet.box.red > .portlet-title > .actions .btn-default.active {
- border: 1px solid #f3c6c0;
- color: #f7dad6;
-}
-
-/* Statistic Block */
-.dashboard-stat.red {
- background-color: #d84a38;
-}
-
-.dashboard-stat.red.dashboard-stat-light:hover {
- background-color: #d23c29;
-}
-
-.dashboard-stat.red .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red .more {
- color: #FFFFFF;
- background-color: #d23c29;
-}
-
-/* General Element */
-.bg-red {
- border-color: #d84a38 !important;
- background-image: none !important;
- background-color: #d84a38 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red {
- color: #d84a38 !important;
-}
-
-/***
-Red Pink
-***/
-/* Button */
-.red-pink.btn {
- color: #FFFFFF;
- background-color: #E08283;
- border-color: "";
-}
-
-.red-pink.btn:hover, .red-pink.btn:focus, .red-pink.btn:active, .red-pink.btn.active {
- color: #FFFFFF;
- background-color: #d96567;
-}
-
-.open .red-pink.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #d96567;
-}
-
-.red-pink.btn:active, .red-pink.btn.active {
- background-image: none;
- background-color: #d45152;
-}
-
-.red-pink.btn:active:hover, .red-pink.btn.active:hover {
- background-color: #d6595a;
-}
-
-.open .red-pink.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red-pink.btn.disabled, .red-pink.btn.disabled:hover, .red-pink.btn.disabled:focus, .red-pink.btn.disabled:active, .red-pink.btn.disabled.active, .red-pink.btn[disabled], .red-pink.btn[disabled]:hover, .red-pink.btn[disabled]:focus, .red-pink.btn[disabled]:active, .red-pink.btn[disabled].active, fieldset[disabled] .red-pink.btn, fieldset[disabled] .red-pink.btn:hover, fieldset[disabled] .red-pink.btn:focus, fieldset[disabled] .red-pink.btn:active, fieldset[disabled] .red-pink.btn.active {
- background-color: #E08283;
-}
-
-.red-pink.btn .badge {
- color: #E08283;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-pink-stripe {
- border-left: 3px solid #E08283;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red-pink,
-.portlet.red-pink {
- background-color: #E08283;
-}
-
-.portlet.solid.red-pink > .portlet-title,
-.portlet.solid.red-pink > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red-pink > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red-pink > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red-pink > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red-pink > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red-pink > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red-pink > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red-pink > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red-pink {
- border: 1px solid #eaabac;
- border-top: 0;
-}
-
-.portlet.box.red-pink > .portlet-title {
- background-color: #E08283;
-}
-
-.portlet.box.red-pink > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red-pink > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red-pink > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #f6dcdc;
- color: #fbf0f0;
-}
-
-.portlet.box.red-pink > .portlet-title > .actions .btn-default > i {
- color: #fefdfd;
-}
-
-.portlet.box.red-pink > .portlet-title > .actions .btn-default:hover, .portlet.box.red-pink > .portlet-title > .actions .btn-default:focus, .portlet.box.red-pink > .portlet-title > .actions .btn-default:active, .portlet.box.red-pink > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.red-pink {
- background-color: #E08283;
-}
-
-.dashboard-stat.red-pink.dashboard-stat-light:hover {
- background-color: #dc7273;
-}
-
-.dashboard-stat.red-pink .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red-pink .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red-pink .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red-pink .more {
- color: #FFFFFF;
- background-color: #dc7273;
-}
-
-/* General Element */
-.bg-red-pink {
- border-color: #E08283 !important;
- background-image: none !important;
- background-color: #E08283 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red-pink {
- color: #E08283 !important;
-}
-
-/***
-Red Sunglo
-***/
-/* Button */
-.red-sunglo.btn {
- color: #FFFFFF;
- background-color: #E26A6A;
- border-color: "";
-}
-
-.red-sunglo.btn:hover, .red-sunglo.btn:focus, .red-sunglo.btn:active, .red-sunglo.btn.active {
- color: #FFFFFF;
- background-color: #dc4c4c;
-}
-
-.open .red-sunglo.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #dc4c4c;
-}
-
-.red-sunglo.btn:active, .red-sunglo.btn.active {
- background-image: none;
- background-color: #d83737;
-}
-
-.red-sunglo.btn:active:hover, .red-sunglo.btn.active:hover {
- background-color: #da3f3f;
-}
-
-.open .red-sunglo.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red-sunglo.btn.disabled, .red-sunglo.btn.disabled:hover, .red-sunglo.btn.disabled:focus, .red-sunglo.btn.disabled:active, .red-sunglo.btn.disabled.active, .red-sunglo.btn[disabled], .red-sunglo.btn[disabled]:hover, .red-sunglo.btn[disabled]:focus, .red-sunglo.btn[disabled]:active, .red-sunglo.btn[disabled].active, fieldset[disabled] .red-sunglo.btn, fieldset[disabled] .red-sunglo.btn:hover, fieldset[disabled] .red-sunglo.btn:focus, fieldset[disabled] .red-sunglo.btn:active, fieldset[disabled] .red-sunglo.btn.active {
- background-color: #E26A6A;
-}
-
-.red-sunglo.btn .badge {
- color: #E26A6A;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-sunglo-stripe {
- border-left: 3px solid #E26A6A;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red-sunglo,
-.portlet.red-sunglo {
- background-color: #E26A6A;
-}
-
-.portlet.solid.red-sunglo > .portlet-title,
-.portlet.solid.red-sunglo > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red-sunglo {
- border: 1px solid #ea9595;
- border-top: 0;
-}
-
-.portlet.box.red-sunglo > .portlet-title {
- background-color: #E26A6A;
-}
-
-.portlet.box.red-sunglo > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red-sunglo > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red-sunglo > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #f4c8c8;
- color: #f8dddd;
-}
-
-.portlet.box.red-sunglo > .portlet-title > .actions .btn-default > i {
- color: #fbeaea;
-}
-
-.portlet.box.red-sunglo > .portlet-title > .actions .btn-default:hover, .portlet.box.red-sunglo > .portlet-title > .actions .btn-default:focus, .portlet.box.red-sunglo > .portlet-title > .actions .btn-default:active, .portlet.box.red-sunglo > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fdf3f3;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.red-sunglo {
- background-color: #E26A6A;
-}
-
-.dashboard-stat.red-sunglo.dashboard-stat-light:hover {
- background-color: #df5959;
-}
-
-.dashboard-stat.red-sunglo .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red-sunglo .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red-sunglo .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red-sunglo .more {
- color: #FFFFFF;
- background-color: #df5959;
-}
-
-/* General Element */
-.bg-red-sunglo {
- border-color: #E26A6A !important;
- background-image: none !important;
- background-color: #E26A6A !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red-sunglo {
- color: #E26A6A !important;
-}
-
-/***
-Red Intense
-***/
-/* Button */
-.red-intense.btn {
- color: #FFFFFF;
- background-color: #e35b5a;
- border-color: "";
-}
-
-.red-intense.btn:hover, .red-intense.btn:focus, .red-intense.btn:active, .red-intense.btn.active {
- color: #FFFFFF;
- background-color: #de3d3b;
-}
-
-.open .red-intense.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #de3d3b;
-}
-
-.red-intense.btn:active, .red-intense.btn.active {
- background-image: none;
- background-color: #da2726;
-}
-
-.red-intense.btn:active:hover, .red-intense.btn.active:hover {
- background-color: #dc302e;
-}
-
-.open .red-intense.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red-intense.btn.disabled, .red-intense.btn.disabled:hover, .red-intense.btn.disabled:focus, .red-intense.btn.disabled:active, .red-intense.btn.disabled.active, .red-intense.btn[disabled], .red-intense.btn[disabled]:hover, .red-intense.btn[disabled]:focus, .red-intense.btn[disabled]:active, .red-intense.btn[disabled].active, fieldset[disabled] .red-intense.btn, fieldset[disabled] .red-intense.btn:hover, fieldset[disabled] .red-intense.btn:focus, fieldset[disabled] .red-intense.btn:active, fieldset[disabled] .red-intense.btn.active {
- background-color: #e35b5a;
-}
-
-.red-intense.btn .badge {
- color: #e35b5a;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-intense-stripe {
- border-left: 3px solid #e35b5a;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red-intense,
-.portlet.red-intense {
- background-color: #e35b5a;
-}
-
-.portlet.solid.red-intense > .portlet-title,
-.portlet.solid.red-intense > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red-intense > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red-intense > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red-intense > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red-intense > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red-intense > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red-intense > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red-intense > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red-intense {
- border: 1px solid #ea8686;
- border-top: 0;
-}
-
-.portlet.box.red-intense > .portlet-title {
- background-color: #e35b5a;
-}
-
-.portlet.box.red-intense > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red-intense > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red-intense > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #f3baba;
- color: #f7d0d0;
-}
-
-.portlet.box.red-intense > .portlet-title > .actions .btn-default > i {
- color: #f9dddd;
-}
-
-.portlet.box.red-intense > .portlet-title > .actions .btn-default:hover, .portlet.box.red-intense > .portlet-title > .actions .btn-default:focus, .portlet.box.red-intense > .portlet-title > .actions .btn-default:active, .portlet.box.red-intense > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fbe6e6;
- color: #fefbfb;
-}
-
-/* Statistic Block */
-.dashboard-stat.red-intense {
- background-color: #e35b5a;
-}
-
-.dashboard-stat.red-intense.dashboard-stat-light:hover {
- background-color: #e04a49;
-}
-
-.dashboard-stat.red-intense .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red-intense .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red-intense .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red-intense .more {
- color: #FFFFFF;
- background-color: #e04a49;
-}
-
-/* General Element */
-.bg-red-intense {
- border-color: #e35b5a !important;
- background-image: none !important;
- background-color: #e35b5a !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red-intense {
- color: #e35b5a !important;
-}
-
-/***
-Red Thunderbird
-***/
-/* Button */
-.red-thunderbird.btn {
- color: #FFFFFF;
- background-color: #D91E18;
- border-color: "";
-}
-
-.red-thunderbird.btn:hover, .red-thunderbird.btn:focus, .red-thunderbird.btn:active, .red-thunderbird.btn.active {
- color: #FFFFFF;
- background-color: #b91a14;
-}
-
-.open .red-thunderbird.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #b91a14;
-}
-
-.red-thunderbird.btn:active, .red-thunderbird.btn.active {
- background-image: none;
- background-color: #a21612;
-}
-
-.red-thunderbird.btn:active:hover, .red-thunderbird.btn.active:hover {
- background-color: #ab1813;
-}
-
-.open .red-thunderbird.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red-thunderbird.btn.disabled, .red-thunderbird.btn.disabled:hover, .red-thunderbird.btn.disabled:focus, .red-thunderbird.btn.disabled:active, .red-thunderbird.btn.disabled.active, .red-thunderbird.btn[disabled], .red-thunderbird.btn[disabled]:hover, .red-thunderbird.btn[disabled]:focus, .red-thunderbird.btn[disabled]:active, .red-thunderbird.btn[disabled].active, fieldset[disabled] .red-thunderbird.btn, fieldset[disabled] .red-thunderbird.btn:hover, fieldset[disabled] .red-thunderbird.btn:focus, fieldset[disabled] .red-thunderbird.btn:active, fieldset[disabled] .red-thunderbird.btn.active {
- background-color: #D91E18;
-}
-
-.red-thunderbird.btn .badge {
- color: #D91E18;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-thunderbird-stripe {
- border-left: 3px solid #D91E18;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red-thunderbird,
-.portlet.red-thunderbird {
- background-color: #D91E18;
-}
-
-.portlet.solid.red-thunderbird > .portlet-title,
-.portlet.solid.red-thunderbird > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red-thunderbird {
- border: 1px solid #e9403b;
- border-top: 0;
-}
-
-.portlet.box.red-thunderbird > .portlet-title {
- background-color: #D91E18;
-}
-
-.portlet.box.red-thunderbird > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red-thunderbird > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red-thunderbird > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #ef7672;
- color: #f28c89;
-}
-
-.portlet.box.red-thunderbird > .portlet-title > .actions .btn-default > i {
- color: #f39997;
-}
-
-.portlet.box.red-thunderbird > .portlet-title > .actions .btn-default:hover, .portlet.box.red-thunderbird > .portlet-title > .actions .btn-default:focus, .portlet.box.red-thunderbird > .portlet-title > .actions .btn-default:active, .portlet.box.red-thunderbird > .portlet-title > .actions .btn-default.active {
- border: 1px solid #f4a2a0;
- color: #f7b9b7;
-}
-
-/* Statistic Block */
-.dashboard-stat.red-thunderbird {
- background-color: #D91E18;
-}
-
-.dashboard-stat.red-thunderbird.dashboard-stat-light:hover {
- background-color: #c71b16;
-}
-
-.dashboard-stat.red-thunderbird .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red-thunderbird .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red-thunderbird .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red-thunderbird .more {
- color: #FFFFFF;
- background-color: #c71b16;
-}
-
-/* General Element */
-.bg-red-thunderbird {
- border-color: #D91E18 !important;
- background-image: none !important;
- background-color: #D91E18 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red-thunderbird {
- color: #D91E18 !important;
-}
-
-/***
-Red Flamingo
-***/
-/* Button */
-.red-flamingo.btn {
- color: #FFFFFF;
- background-color: #EF4836;
- border-color: "";
-}
-
-.red-flamingo.btn:hover, .red-flamingo.btn:focus, .red-flamingo.btn:active, .red-flamingo.btn.active {
- color: #FFFFFF;
- background-color: #ec2a15;
-}
-
-.open .red-flamingo.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #ec2a15;
-}
-
-.red-flamingo.btn:active, .red-flamingo.btn.active {
- background-image: none;
- background-color: #d72411;
-}
-
-.red-flamingo.btn:active:hover, .red-flamingo.btn.active:hover {
- background-color: #e02612;
-}
-
-.open .red-flamingo.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red-flamingo.btn.disabled, .red-flamingo.btn.disabled:hover, .red-flamingo.btn.disabled:focus, .red-flamingo.btn.disabled:active, .red-flamingo.btn.disabled.active, .red-flamingo.btn[disabled], .red-flamingo.btn[disabled]:hover, .red-flamingo.btn[disabled]:focus, .red-flamingo.btn[disabled]:active, .red-flamingo.btn[disabled].active, fieldset[disabled] .red-flamingo.btn, fieldset[disabled] .red-flamingo.btn:hover, fieldset[disabled] .red-flamingo.btn:focus, fieldset[disabled] .red-flamingo.btn:active, fieldset[disabled] .red-flamingo.btn.active {
- background-color: #EF4836;
-}
-
-.red-flamingo.btn .badge {
- color: #EF4836;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-flamingo-stripe {
- border-left: 3px solid #EF4836;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red-flamingo,
-.portlet.red-flamingo {
- background-color: #EF4836;
-}
-
-.portlet.solid.red-flamingo > .portlet-title,
-.portlet.solid.red-flamingo > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red-flamingo {
- border: 1px solid #f37365;
- border-top: 0;
-}
-
-.portlet.box.red-flamingo > .portlet-title {
- background-color: #EF4836;
-}
-
-.portlet.box.red-flamingo > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red-flamingo > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red-flamingo > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #f7a79e;
- color: #f9bcb6;
-}
-
-.portlet.box.red-flamingo > .portlet-title > .actions .btn-default > i {
- color: #fac9c4;
-}
-
-.portlet.box.red-flamingo > .portlet-title > .actions .btn-default:hover, .portlet.box.red-flamingo > .portlet-title > .actions .btn-default:focus, .portlet.box.red-flamingo > .portlet-title > .actions .btn-default:active, .portlet.box.red-flamingo > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fbd2cd;
- color: #fde7e5;
-}
-
-/* Statistic Block */
-.dashboard-stat.red-flamingo {
- background-color: #EF4836;
-}
-
-.dashboard-stat.red-flamingo.dashboard-stat-light:hover {
- background-color: #ed3723;
-}
-
-.dashboard-stat.red-flamingo .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red-flamingo .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red-flamingo .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red-flamingo .more {
- color: #FFFFFF;
- background-color: #ed3723;
-}
-
-/* General Element */
-.bg-red-flamingo {
- border-color: #EF4836 !important;
- background-image: none !important;
- background-color: #EF4836 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red-flamingo {
- color: #EF4836 !important;
-}
-
-/***
-Red Flamingo
-***/
-/* Button */
-.red-soft.btn {
- color: #FFFFFF;
- background-color: #d05454;
- border-color: "";
-}
-
-.red-soft.btn:hover, .red-soft.btn:focus, .red-soft.btn:active, .red-soft.btn.active {
- color: #FFFFFF;
- background-color: #c83838;
-}
-
-.open .red-soft.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #c83838;
-}
-
-.red-soft.btn:active, .red-soft.btn.active {
- background-image: none;
- background-color: #b53232;
-}
-
-.red-soft.btn:active:hover, .red-soft.btn.active:hover {
- background-color: #bd3434;
-}
-
-.open .red-soft.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red-soft.btn.disabled, .red-soft.btn.disabled:hover, .red-soft.btn.disabled:focus, .red-soft.btn.disabled:active, .red-soft.btn.disabled.active, .red-soft.btn[disabled], .red-soft.btn[disabled]:hover, .red-soft.btn[disabled]:focus, .red-soft.btn[disabled]:active, .red-soft.btn[disabled].active, fieldset[disabled] .red-soft.btn, fieldset[disabled] .red-soft.btn:hover, fieldset[disabled] .red-soft.btn:focus, fieldset[disabled] .red-soft.btn:active, fieldset[disabled] .red-soft.btn.active {
- background-color: #d05454;
-}
-
-.red-soft.btn .badge {
- color: #d05454;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-soft-stripe {
- border-left: 3px solid #d05454;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red-soft,
-.portlet.red-soft {
- background-color: #d05454;
-}
-
-.portlet.solid.red-soft > .portlet-title,
-.portlet.solid.red-soft > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red-soft > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red-soft > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red-soft > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red-soft > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red-soft > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red-soft > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red-soft {
- border: 1px solid #db7c7c;
- border-top: 0;
-}
-
-.portlet.box.red-soft > .portlet-title {
- background-color: #d05454;
-}
-
-.portlet.box.red-soft > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red-soft > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #e8acac;
- color: #eec0c0;
-}
-
-.portlet.box.red-soft > .portlet-title > .actions .btn-default > i {
- color: #f1cccc;
-}
-
-.portlet.box.red-soft > .portlet-title > .actions .btn-default:hover, .portlet.box.red-soft > .portlet-title > .actions .btn-default:focus, .portlet.box.red-soft > .portlet-title > .actions .btn-default:active, .portlet.box.red-soft > .portlet-title > .actions .btn-default.active {
- border: 1px solid #f3d4d4;
- color: #f9e8e8;
-}
-
-/* Statistic Block */
-.dashboard-stat.red-soft {
- background-color: #d05454;
-}
-
-.dashboard-stat.red-soft.dashboard-stat-light:hover {
- background-color: #cc4444;
-}
-
-.dashboard-stat.red-soft .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red-soft .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red-soft .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red-soft .more {
- color: #FFFFFF;
- background-color: #cc4444;
-}
-
-/* General Element */
-.bg-red-soft {
- border-color: #d05454 !important;
- background-image: none !important;
- background-color: #d05454 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red-soft {
- color: #d05454 !important;
-}
-
-/***********
-Yellow Colors
-************/
-/***
-Yellow Default
-***/
-/* Button */
-.yellow.btn {
- color: #FFFFFF;
- background-color: #FFB848;
- border-color: "";
-}
-
-.yellow.btn:hover, .yellow.btn:focus, .yellow.btn:active, .yellow.btn.active {
- color: #FFFFFF;
- background-color: #ffaa24;
-}
-
-.open .yellow.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #ffaa24;
-}
-
-.yellow.btn:active, .yellow.btn.active {
- background-image: none;
- background-color: #ffa00b;
-}
-
-.yellow.btn:active:hover, .yellow.btn.active:hover {
- background-color: #ffa415;
-}
-
-.open .yellow.btn.dropdown-toggle {
- background-image: none;
-}
-
-.yellow.btn.disabled, .yellow.btn.disabled:hover, .yellow.btn.disabled:focus, .yellow.btn.disabled:active, .yellow.btn.disabled.active, .yellow.btn[disabled], .yellow.btn[disabled]:hover, .yellow.btn[disabled]:focus, .yellow.btn[disabled]:active, .yellow.btn[disabled].active, fieldset[disabled] .yellow.btn, fieldset[disabled] .yellow.btn:hover, fieldset[disabled] .yellow.btn:focus, fieldset[disabled] .yellow.btn:active, fieldset[disabled] .yellow.btn.active {
- background-color: #FFB848;
-}
-
-.yellow.btn .badge {
- color: #FFB848;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.yellow-stripe {
- border-left: 3px solid #FFB848;
-}
-
-/* Portlet */
-.portlet > .portlet-body.yellow,
-.portlet.yellow {
- background-color: #FFB848;
-}
-
-.portlet.solid.yellow > .portlet-title,
-.portlet.solid.yellow > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.yellow > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.yellow > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.yellow > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.yellow > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.yellow > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.yellow {
- border: 1px solid #ffcc7b;
- border-top: 0;
-}
-
-.portlet.box.yellow > .portlet-title {
- background-color: #FFB848;
-}
-
-.portlet.box.yellow > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #ffe4b8;
- color: #ffedd2;
-}
-
-.portlet.box.yellow > .portlet-title > .actions .btn-default > i {
- color: #fff3e1;
-}
-
-.portlet.box.yellow > .portlet-title > .actions .btn-default:hover, .portlet.box.yellow > .portlet-title > .actions .btn-default:focus, .portlet.box.yellow > .portlet-title > .actions .btn-default:active, .portlet.box.yellow > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fff7eb;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.yellow {
- background-color: #FFB848;
-}
-
-.dashboard-stat.yellow.dashboard-stat-light:hover {
- background-color: #ffb034;
-}
-
-.dashboard-stat.yellow .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.yellow .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.yellow .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.yellow .more {
- color: #FFFFFF;
- background-color: #ffb034;
-}
-
-/* General Element */
-.bg-yellow {
- border-color: #FFB848 !important;
- background-image: none !important;
- background-color: #FFB848 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-yellow {
- color: #FFB848 !important;
-}
-
-/***
-Yellow Gold
-***/
-/* Button */
-.yellow-gold.btn {
- color: #FFFFFF;
- background-color: #E87E04;
- border-color: "";
-}
-
-.yellow-gold.btn:hover, .yellow-gold.btn:focus, .yellow-gold.btn:active, .yellow-gold.btn.active {
- color: #FFFFFF;
- background-color: #c56b03;
-}
-
-.open .yellow-gold.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #c56b03;
-}
-
-.yellow-gold.btn:active, .yellow-gold.btn.active {
- background-image: none;
- background-color: #ac5d03;
-}
-
-.yellow-gold.btn:active:hover, .yellow-gold.btn.active:hover {
- background-color: #b66303;
-}
-
-.open .yellow-gold.btn.dropdown-toggle {
- background-image: none;
-}
-
-.yellow-gold.btn.disabled, .yellow-gold.btn.disabled:hover, .yellow-gold.btn.disabled:focus, .yellow-gold.btn.disabled:active, .yellow-gold.btn.disabled.active, .yellow-gold.btn[disabled], .yellow-gold.btn[disabled]:hover, .yellow-gold.btn[disabled]:focus, .yellow-gold.btn[disabled]:active, .yellow-gold.btn[disabled].active, fieldset[disabled] .yellow-gold.btn, fieldset[disabled] .yellow-gold.btn:hover, fieldset[disabled] .yellow-gold.btn:focus, fieldset[disabled] .yellow-gold.btn:active, fieldset[disabled] .yellow-gold.btn.active {
- background-color: #E87E04;
-}
-
-.yellow-gold.btn .badge {
- color: #E87E04;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.yellow-gold-stripe {
- border-left: 3px solid #E87E04;
-}
-
-/* Portlet */
-.portlet > .portlet-body.yellow-gold,
-.portlet.yellow-gold {
- background-color: #E87E04;
-}
-
-.portlet.solid.yellow-gold > .portlet-title,
-.portlet.solid.yellow-gold > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.yellow-gold {
- border: 1px solid #fb9724;
- border-top: 0;
-}
-
-.portlet.box.yellow-gold > .portlet-title {
- background-color: #E87E04;
-}
-
-.portlet.box.yellow-gold > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-gold > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-gold > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #fcb460;
- color: #fdbf79;
-}
-
-.portlet.box.yellow-gold > .portlet-title > .actions .btn-default > i {
- color: #fdc788;
-}
-
-.portlet.box.yellow-gold > .portlet-title > .actions .btn-default:hover, .portlet.box.yellow-gold > .portlet-title > .actions .btn-default:focus, .portlet.box.yellow-gold > .portlet-title > .actions .btn-default:active, .portlet.box.yellow-gold > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fdcb92;
- color: #fed7ab;
-}
-
-/* Statistic Block */
-.dashboard-stat.yellow-gold {
- background-color: #E87E04;
-}
-
-.dashboard-stat.yellow-gold.dashboard-stat-light:hover {
- background-color: #d47304;
-}
-
-.dashboard-stat.yellow-gold .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.yellow-gold .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.yellow-gold .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.yellow-gold .more {
- color: #FFFFFF;
- background-color: #d47304;
-}
-
-/* General Element */
-.bg-yellow-gold {
- border-color: #E87E04 !important;
- background-image: none !important;
- background-color: #E87E04 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-yellow-gold {
- color: #E87E04 !important;
-}
-
-/***
-Yellow Casablanca
-***/
-/* Button */
-.yellow-casablanca.btn {
- color: #FFFFFF;
- background-color: #f2784b;
- border-color: "";
-}
-
-.yellow-casablanca.btn:hover, .yellow-casablanca.btn:focus, .yellow-casablanca.btn:active, .yellow-casablanca.btn.active {
- color: #FFFFFF;
- background-color: #f05f2a;
-}
-
-.open .yellow-casablanca.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #f05f2a;
-}
-
-.yellow-casablanca.btn:active, .yellow-casablanca.btn.active {
- background-image: none;
- background-color: #ee4d12;
-}
-
-.yellow-casablanca.btn:active:hover, .yellow-casablanca.btn.active:hover {
- background-color: #ef541b;
-}
-
-.open .yellow-casablanca.btn.dropdown-toggle {
- background-image: none;
-}
-
-.yellow-casablanca.btn.disabled, .yellow-casablanca.btn.disabled:hover, .yellow-casablanca.btn.disabled:focus, .yellow-casablanca.btn.disabled:active, .yellow-casablanca.btn.disabled.active, .yellow-casablanca.btn[disabled], .yellow-casablanca.btn[disabled]:hover, .yellow-casablanca.btn[disabled]:focus, .yellow-casablanca.btn[disabled]:active, .yellow-casablanca.btn[disabled].active, fieldset[disabled] .yellow-casablanca.btn, fieldset[disabled] .yellow-casablanca.btn:hover, fieldset[disabled] .yellow-casablanca.btn:focus, fieldset[disabled] .yellow-casablanca.btn:active, fieldset[disabled] .yellow-casablanca.btn.active {
- background-color: #f2784b;
-}
-
-.yellow-casablanca.btn .badge {
- color: #f2784b;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.yellow-casablanca-stripe {
- border-left: 3px solid #f2784b;
-}
-
-/* Portlet */
-.portlet > .portlet-body.yellow-casablanca,
-.portlet.yellow-casablanca {
- background-color: #f2784b;
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title,
-.portlet.solid.yellow-casablanca > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.yellow-casablanca {
- border: 1px solid #f59c7b;
- border-top: 0;
-}
-
-.portlet.box.yellow-casablanca > .portlet-title {
- background-color: #f2784b;
-}
-
-.portlet.box.yellow-casablanca > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-casablanca > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-casablanca > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #fac6b4;
- color: #fbd8cb;
-}
-
-.portlet.box.yellow-casablanca > .portlet-title > .actions .btn-default > i {
- color: #fce3da;
-}
-
-.portlet.box.yellow-casablanca > .portlet-title > .actions .btn-default:hover, .portlet.box.yellow-casablanca > .portlet-title > .actions .btn-default:focus, .portlet.box.yellow-casablanca > .portlet-title > .actions .btn-default:active, .portlet.box.yellow-casablanca > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fdeae3;
- color: #fffcfb;
-}
-
-/* Statistic Block */
-.dashboard-stat.yellow-casablanca {
- background-color: #f2784b;
-}
-
-.dashboard-stat.yellow-casablanca.dashboard-stat-light:hover {
- background-color: #f16a38;
-}
-
-.dashboard-stat.yellow-casablanca .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.yellow-casablanca .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.yellow-casablanca .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.yellow-casablanca .more {
- color: #FFFFFF;
- background-color: #f16a38;
-}
-
-/* General Element */
-.bg-yellow-casablanca {
- border-color: #f2784b !important;
- background-image: none !important;
- background-color: #f2784b !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-yellow-casablanca {
- color: #f2784b !important;
-}
-
-/***
-Yellow Crusta
-***/
-/* Button */
-.yellow-crusta.btn {
- color: #FFFFFF;
- background-color: #f3c200;
- border-color: "";
-}
-
-.yellow-crusta.btn:hover, .yellow-crusta.btn:focus, .yellow-crusta.btn:active, .yellow-crusta.btn.active {
- color: #FFFFFF;
- background-color: #cfa500;
-}
-
-.open .yellow-crusta.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #cfa500;
-}
-
-.yellow-crusta.btn:active, .yellow-crusta.btn.active {
- background-image: none;
- background-color: #b69100;
-}
-
-.yellow-crusta.btn:active:hover, .yellow-crusta.btn.active:hover {
- background-color: #c09900;
-}
-
-.open .yellow-crusta.btn.dropdown-toggle {
- background-image: none;
-}
-
-.yellow-crusta.btn.disabled, .yellow-crusta.btn.disabled:hover, .yellow-crusta.btn.disabled:focus, .yellow-crusta.btn.disabled:active, .yellow-crusta.btn.disabled.active, .yellow-crusta.btn[disabled], .yellow-crusta.btn[disabled]:hover, .yellow-crusta.btn[disabled]:focus, .yellow-crusta.btn[disabled]:active, .yellow-crusta.btn[disabled].active, fieldset[disabled] .yellow-crusta.btn, fieldset[disabled] .yellow-crusta.btn:hover, fieldset[disabled] .yellow-crusta.btn:focus, fieldset[disabled] .yellow-crusta.btn:active, fieldset[disabled] .yellow-crusta.btn.active {
- background-color: #f3c200;
-}
-
-.yellow-crusta.btn .badge {
- color: #f3c200;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.yellow-crusta-stripe {
- border-left: 3px solid #f3c200;
-}
-
-/* Portlet */
-.portlet > .portlet-body.yellow-crusta,
-.portlet.yellow-crusta {
- background-color: #f3c200;
-}
-
-.portlet.solid.yellow-crusta > .portlet-title,
-.portlet.solid.yellow-crusta > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.yellow-crusta {
- border: 1px solid #ffd327;
- border-top: 0;
-}
-
-.portlet.box.yellow-crusta > .portlet-title {
- background-color: #f3c200;
-}
-
-.portlet.box.yellow-crusta > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-crusta > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-crusta > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #ffe064;
- color: #ffe57e;
-}
-
-.portlet.box.yellow-crusta > .portlet-title > .actions .btn-default > i {
- color: #ffe88d;
-}
-
-.portlet.box.yellow-crusta > .portlet-title > .actions .btn-default:hover, .portlet.box.yellow-crusta > .portlet-title > .actions .btn-default:focus, .portlet.box.yellow-crusta > .portlet-title > .actions .btn-default:active, .portlet.box.yellow-crusta > .portlet-title > .actions .btn-default.active {
- border: 1px solid #ffea97;
- color: #ffefb1;
-}
-
-/* Statistic Block */
-.dashboard-stat.yellow-crusta {
- background-color: #f3c200;
-}
-
-.dashboard-stat.yellow-crusta.dashboard-stat-light:hover {
- background-color: #dfb200;
-}
-
-.dashboard-stat.yellow-crusta .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.yellow-crusta .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.yellow-crusta .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.yellow-crusta .more {
- color: #FFFFFF;
- background-color: #dfb200;
-}
-
-/* General Element */
-.bg-yellow-crusta {
- border-color: #f3c200 !important;
- background-image: none !important;
- background-color: #f3c200 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-yellow-crusta {
- color: #f3c200 !important;
-}
-
-/***
-Yellow Lemon
-***/
-/* Button */
-.yellow-lemon.btn {
- color: #FFFFFF;
- background-color: #F7CA18;
- border-color: "";
-}
-
-.yellow-lemon.btn:hover, .yellow-lemon.btn:focus, .yellow-lemon.btn:active, .yellow-lemon.btn.active {
- color: #FFFFFF;
- background-color: #e3b708;
-}
-
-.open .yellow-lemon.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #e3b708;
-}
-
-.yellow-lemon.btn:active, .yellow-lemon.btn.active {
- background-image: none;
- background-color: #cba307;
-}
-
-.yellow-lemon.btn:active:hover, .yellow-lemon.btn.active:hover {
- background-color: #d5ab07;
-}
-
-.open .yellow-lemon.btn.dropdown-toggle {
- background-image: none;
-}
-
-.yellow-lemon.btn.disabled, .yellow-lemon.btn.disabled:hover, .yellow-lemon.btn.disabled:focus, .yellow-lemon.btn.disabled:active, .yellow-lemon.btn.disabled.active, .yellow-lemon.btn[disabled], .yellow-lemon.btn[disabled]:hover, .yellow-lemon.btn[disabled]:focus, .yellow-lemon.btn[disabled]:active, .yellow-lemon.btn[disabled].active, fieldset[disabled] .yellow-lemon.btn, fieldset[disabled] .yellow-lemon.btn:hover, fieldset[disabled] .yellow-lemon.btn:focus, fieldset[disabled] .yellow-lemon.btn:active, fieldset[disabled] .yellow-lemon.btn.active {
- background-color: #F7CA18;
-}
-
-.yellow-lemon.btn .badge {
- color: #F7CA18;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.yellow-lemon-stripe {
- border-left: 3px solid #F7CA18;
-}
-
-/* Portlet */
-.portlet > .portlet-body.yellow-lemon,
-.portlet.yellow-lemon {
- background-color: #F7CA18;
-}
-
-.portlet.solid.yellow-lemon > .portlet-title,
-.portlet.solid.yellow-lemon > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.yellow-lemon {
- border: 1px solid #f9d549;
- border-top: 0;
-}
-
-.portlet.box.yellow-lemon > .portlet-title {
- background-color: #F7CA18;
-}
-
-.portlet.box.yellow-lemon > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-lemon > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-lemon > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #fbe384;
- color: #fce99d;
-}
-
-.portlet.box.yellow-lemon > .portlet-title > .actions .btn-default > i {
- color: #fcecac;
-}
-
-.portlet.box.yellow-lemon > .portlet-title > .actions .btn-default:hover, .portlet.box.yellow-lemon > .portlet-title > .actions .btn-default:focus, .portlet.box.yellow-lemon > .portlet-title > .actions .btn-default:active, .portlet.box.yellow-lemon > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fceeb6;
- color: #fdf4ce;
-}
-
-/* Statistic Block */
-.dashboard-stat.yellow-lemon {
- background-color: #F7CA18;
-}
-
-.dashboard-stat.yellow-lemon.dashboard-stat-light:hover {
- background-color: #f2c308;
-}
-
-.dashboard-stat.yellow-lemon .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.yellow-lemon .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.yellow-lemon .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.yellow-lemon .more {
- color: #FFFFFF;
- background-color: #f2c308;
-}
-
-/* General Element */
-.bg-yellow-lemon {
- border-color: #F7CA18 !important;
- background-image: none !important;
- background-color: #F7CA18 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-yellow-lemon {
- color: #F7CA18 !important;
-}
-
-/***
-Yellow Saffron
-***/
-/* Button */
-.yellow-saffron.btn {
- color: #FFFFFF;
- background-color: #F4D03F;
- border-color: "";
-}
-
-.yellow-saffron.btn:hover, .yellow-saffron.btn:focus, .yellow-saffron.btn:active, .yellow-saffron.btn.active {
- color: #FFFFFF;
- background-color: #f2c81d;
-}
-
-.open .yellow-saffron.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #f2c81d;
-}
-
-.yellow-saffron.btn:active, .yellow-saffron.btn.active {
- background-image: none;
- background-color: #e8bd0d;
-}
-
-.yellow-saffron.btn:active:hover, .yellow-saffron.btn.active:hover {
- background-color: #f1c40f;
-}
-
-.open .yellow-saffron.btn.dropdown-toggle {
- background-image: none;
-}
-
-.yellow-saffron.btn.disabled, .yellow-saffron.btn.disabled:hover, .yellow-saffron.btn.disabled:focus, .yellow-saffron.btn.disabled:active, .yellow-saffron.btn.disabled.active, .yellow-saffron.btn[disabled], .yellow-saffron.btn[disabled]:hover, .yellow-saffron.btn[disabled]:focus, .yellow-saffron.btn[disabled]:active, .yellow-saffron.btn[disabled].active, fieldset[disabled] .yellow-saffron.btn, fieldset[disabled] .yellow-saffron.btn:hover, fieldset[disabled] .yellow-saffron.btn:focus, fieldset[disabled] .yellow-saffron.btn:active, fieldset[disabled] .yellow-saffron.btn.active {
- background-color: #F4D03F;
-}
-
-.yellow-saffron.btn .badge {
- color: #F4D03F;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.yellow-saffron-stripe {
- border-left: 3px solid #F4D03F;
-}
-
-/* Portlet */
-.portlet > .portlet-body.yellow-saffron,
-.portlet.yellow-saffron {
- background-color: #F4D03F;
-}
-
-.portlet.solid.yellow-saffron > .portlet-title,
-.portlet.solid.yellow-saffron > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.yellow-saffron {
- border: 1px solid #f7dc6f;
- border-top: 0;
-}
-
-.portlet.box.yellow-saffron > .portlet-title {
- background-color: #F4D03F;
-}
-
-.portlet.box.yellow-saffron > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-saffron > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-saffron > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #faeaa9;
- color: #fbf0c1;
-}
-
-.portlet.box.yellow-saffron > .portlet-title > .actions .btn-default > i {
- color: #fcf3d0;
-}
-
-.portlet.box.yellow-saffron > .portlet-title > .actions .btn-default:hover, .portlet.box.yellow-saffron > .portlet-title > .actions .btn-default:focus, .portlet.box.yellow-saffron > .portlet-title > .actions .btn-default:active, .portlet.box.yellow-saffron > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fdf6d9;
- color: #fefcf1;
-}
-
-/* Statistic Block */
-.dashboard-stat.yellow-saffron {
- background-color: #F4D03F;
-}
-
-.dashboard-stat.yellow-saffron.dashboard-stat-light:hover {
- background-color: #f3cb2c;
-}
-
-.dashboard-stat.yellow-saffron .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.yellow-saffron .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.yellow-saffron .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.yellow-saffron .more {
- color: #FFFFFF;
- background-color: #f3cb2c;
-}
-
-/* General Element */
-.bg-yellow-saffron {
- border-color: #F4D03F !important;
- background-image: none !important;
- background-color: #F4D03F !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-yellow-saffron {
- color: #F4D03F !important;
-}
-
-/***********
-Purple Colors
-************/
-/***
-Purple Default
-***/
-/* Button */
-.purple.btn {
- color: #FFFFFF;
- background-color: #8E44AD;
- border-color: "";
-}
-
-.purple.btn:hover, .purple.btn:focus, .purple.btn:active, .purple.btn.active {
- color: #FFFFFF;
- background-color: #793a93;
-}
-
-.open .purple.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #793a93;
-}
-
-.purple.btn:active, .purple.btn.active {
- background-image: none;
- background-color: #6a3381;
-}
-
-.purple.btn:active:hover, .purple.btn.active:hover {
- background-color: #703688;
-}
-
-.open .purple.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple.btn.disabled, .purple.btn.disabled:hover, .purple.btn.disabled:focus, .purple.btn.disabled:active, .purple.btn.disabled.active, .purple.btn[disabled], .purple.btn[disabled]:hover, .purple.btn[disabled]:focus, .purple.btn[disabled]:active, .purple.btn[disabled].active, fieldset[disabled] .purple.btn, fieldset[disabled] .purple.btn:hover, fieldset[disabled] .purple.btn:focus, fieldset[disabled] .purple.btn:active, fieldset[disabled] .purple.btn.active {
- background-color: #8E44AD;
-}
-
-.purple.btn .badge {
- color: #8E44AD;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-stripe {
- border-left: 3px solid #8E44AD;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple,
-.portlet.purple {
- background-color: #8E44AD;
-}
-
-.portlet.solid.purple > .portlet-title,
-.portlet.solid.purple > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple {
- border: 1px solid #a563c1;
- border-top: 0;
-}
-
-.portlet.box.purple > .portlet-title {
- background-color: #8E44AD;
-}
-
-.portlet.box.purple > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #bf8ed3;
- color: #c9a1da;
-}
-
-.portlet.box.purple > .portlet-title > .actions .btn-default > i {
- color: #cfacde;
-}
-
-.portlet.box.purple > .portlet-title > .actions .btn-default:hover, .portlet.box.purple > .portlet-title > .actions .btn-default:focus, .portlet.box.purple > .portlet-title > .actions .btn-default:active, .portlet.box.purple > .portlet-title > .actions .btn-default.active {
- border: 1px solid #d4b3e1;
- color: #dec5e8;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple {
- background-color: #8E44AD;
-}
-
-.dashboard-stat.purple.dashboard-stat-light:hover {
- background-color: #823e9e;
-}
-
-.dashboard-stat.purple .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple .more {
- color: #FFFFFF;
- background-color: #823e9e;
-}
-
-/* General Element */
-.bg-purple {
- border-color: #8E44AD !important;
- background-image: none !important;
- background-color: #8E44AD !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple {
- color: #8E44AD !important;
-}
-
-/***
-Purple Plum
-***/
-/* Button */
-.purple-plum.btn {
- color: #FFFFFF;
- background-color: #8775a7;
- border-color: "";
-}
-
-.purple-plum.btn:hover, .purple-plum.btn:focus, .purple-plum.btn:active, .purple-plum.btn.active {
- color: #FFFFFF;
- background-color: #746198;
-}
-
-.open .purple-plum.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #746198;
-}
-
-.purple-plum.btn:active, .purple-plum.btn.active {
- background-image: none;
- background-color: #685788;
-}
-
-.purple-plum.btn:active:hover, .purple-plum.btn.active:hover {
- background-color: #6d5b8e;
-}
-
-.open .purple-plum.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-plum.btn.disabled, .purple-plum.btn.disabled:hover, .purple-plum.btn.disabled:focus, .purple-plum.btn.disabled:active, .purple-plum.btn.disabled.active, .purple-plum.btn[disabled], .purple-plum.btn[disabled]:hover, .purple-plum.btn[disabled]:focus, .purple-plum.btn[disabled]:active, .purple-plum.btn[disabled].active, fieldset[disabled] .purple-plum.btn, fieldset[disabled] .purple-plum.btn:hover, fieldset[disabled] .purple-plum.btn:focus, fieldset[disabled] .purple-plum.btn:active, fieldset[disabled] .purple-plum.btn.active {
- background-color: #8775a7;
-}
-
-.purple-plum.btn .badge {
- color: #8775a7;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-plum-stripe {
- border-left: 3px solid #8775a7;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-plum,
-.portlet.purple-plum {
- background-color: #8775a7;
-}
-
-.portlet.solid.purple-plum > .portlet-title,
-.portlet.solid.purple-plum > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-plum > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-plum > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-plum > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-plum > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-plum > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-plum > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-plum > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-plum {
- border: 1px solid #a294bb;
- border-top: 0;
-}
-
-.portlet.box.purple-plum > .portlet-title {
- background-color: #8775a7;
-}
-
-.portlet.box.purple-plum > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-plum > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-plum > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #c3bad3;
- color: #d0c9dd;
-}
-
-.portlet.box.purple-plum > .portlet-title > .actions .btn-default > i {
- color: #d8d2e3;
-}
-
-.portlet.box.purple-plum > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-plum > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-plum > .portlet-title > .actions .btn-default:active, .portlet.box.purple-plum > .portlet-title > .actions .btn-default.active {
- border: 1px solid #ded9e7;
- color: #ebe8f0;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-plum {
- background-color: #8775a7;
-}
-
-.dashboard-stat.purple-plum.dashboard-stat-light:hover {
- background-color: #7c699f;
-}
-
-.dashboard-stat.purple-plum .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-plum .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-plum .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-plum .more {
- color: #FFFFFF;
- background-color: #7c699f;
-}
-
-/* General Element */
-.bg-purple-plum {
- border-color: #8775a7 !important;
- background-image: none !important;
- background-color: #8775a7 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-plum {
- color: #8775a7 !important;
-}
-
-/***
-Purple Medium
-***/
-/* Button */
-.purple-medium.btn {
- color: #FFFFFF;
- background-color: #BF55EC;
- border-color: "";
-}
-
-.purple-medium.btn:hover, .purple-medium.btn:focus, .purple-medium.btn:active, .purple-medium.btn.active {
- color: #FFFFFF;
- background-color: #b335e8;
-}
-
-.open .purple-medium.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #b335e8;
-}
-
-.purple-medium.btn:active, .purple-medium.btn.active {
- background-image: none;
- background-color: #aa1ee6;
-}
-
-.purple-medium.btn:active:hover, .purple-medium.btn.active:hover {
- background-color: #ae27e7;
-}
-
-.open .purple-medium.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-medium.btn.disabled, .purple-medium.btn.disabled:hover, .purple-medium.btn.disabled:focus, .purple-medium.btn.disabled:active, .purple-medium.btn.disabled.active, .purple-medium.btn[disabled], .purple-medium.btn[disabled]:hover, .purple-medium.btn[disabled]:focus, .purple-medium.btn[disabled]:active, .purple-medium.btn[disabled].active, fieldset[disabled] .purple-medium.btn, fieldset[disabled] .purple-medium.btn:hover, fieldset[disabled] .purple-medium.btn:focus, fieldset[disabled] .purple-medium.btn:active, fieldset[disabled] .purple-medium.btn.active {
- background-color: #BF55EC;
-}
-
-.purple-medium.btn .badge {
- color: #BF55EC;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-medium-stripe {
- border-left: 3px solid #BF55EC;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-medium,
-.portlet.purple-medium {
- background-color: #BF55EC;
-}
-
-.portlet.solid.purple-medium > .portlet-title,
-.portlet.solid.purple-medium > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-medium > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-medium > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-medium > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-medium > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-medium > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-medium > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-medium > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-medium {
- border: 1px solid #d083f1;
- border-top: 0;
-}
-
-.portlet.box.purple-medium > .portlet-title {
- background-color: #BF55EC;
-}
-
-.portlet.box.purple-medium > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-medium > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-medium > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #e5baf7;
- color: #eed1fa;
-}
-
-.portlet.box.purple-medium > .portlet-title > .actions .btn-default > i {
- color: #f3dffb;
-}
-
-.portlet.box.purple-medium > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-medium > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-medium > .portlet-title > .actions .btn-default:active, .portlet.box.purple-medium > .portlet-title > .actions .btn-default.active {
- border: 1px solid #f6e8fc;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-medium {
- background-color: #BF55EC;
-}
-
-.dashboard-stat.purple-medium.dashboard-stat-light:hover {
- background-color: #b843ea;
-}
-
-.dashboard-stat.purple-medium .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-medium .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-medium .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-medium .more {
- color: #FFFFFF;
- background-color: #b843ea;
-}
-
-/* General Element */
-.bg-purple-medium {
- border-color: #BF55EC !important;
- background-image: none !important;
- background-color: #BF55EC !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-medium {
- color: #BF55EC !important;
-}
-
-/***
-Purple Studio
-***/
-/* Button */
-.purple-studio.btn {
- color: #FFFFFF;
- background-color: #8E44AD;
- border-color: "";
-}
-
-.purple-studio.btn:hover, .purple-studio.btn:focus, .purple-studio.btn:active, .purple-studio.btn.active {
- color: #FFFFFF;
- background-color: #793a93;
-}
-
-.open .purple-studio.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #793a93;
-}
-
-.purple-studio.btn:active, .purple-studio.btn.active {
- background-image: none;
- background-color: #6a3381;
-}
-
-.purple-studio.btn:active:hover, .purple-studio.btn.active:hover {
- background-color: #703688;
-}
-
-.open .purple-studio.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-studio.btn.disabled, .purple-studio.btn.disabled:hover, .purple-studio.btn.disabled:focus, .purple-studio.btn.disabled:active, .purple-studio.btn.disabled.active, .purple-studio.btn[disabled], .purple-studio.btn[disabled]:hover, .purple-studio.btn[disabled]:focus, .purple-studio.btn[disabled]:active, .purple-studio.btn[disabled].active, fieldset[disabled] .purple-studio.btn, fieldset[disabled] .purple-studio.btn:hover, fieldset[disabled] .purple-studio.btn:focus, fieldset[disabled] .purple-studio.btn:active, fieldset[disabled] .purple-studio.btn.active {
- background-color: #8E44AD;
-}
-
-.purple-studio.btn .badge {
- color: #8E44AD;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-studio-stripe {
- border-left: 3px solid #8E44AD;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-studio,
-.portlet.purple-studio {
- background-color: #8E44AD;
-}
-
-.portlet.solid.purple-studio > .portlet-title,
-.portlet.solid.purple-studio > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-studio > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-studio > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-studio > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-studio > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-studio > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-studio > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-studio > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-studio {
- border: 1px solid #a563c1;
- border-top: 0;
-}
-
-.portlet.box.purple-studio > .portlet-title {
- background-color: #8E44AD;
-}
-
-.portlet.box.purple-studio > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-studio > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-studio > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #bf8ed3;
- color: #c9a1da;
-}
-
-.portlet.box.purple-studio > .portlet-title > .actions .btn-default > i {
- color: #cfacde;
-}
-
-.portlet.box.purple-studio > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-studio > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-studio > .portlet-title > .actions .btn-default:active, .portlet.box.purple-studio > .portlet-title > .actions .btn-default.active {
- border: 1px solid #d4b3e1;
- color: #dec5e8;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-studio {
- background-color: #8E44AD;
-}
-
-.dashboard-stat.purple-studio.dashboard-stat-light:hover {
- background-color: #823e9e;
-}
-
-.dashboard-stat.purple-studio .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-studio .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-studio .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-studio .more {
- color: #FFFFFF;
- background-color: #823e9e;
-}
-
-/* General Element */
-.bg-purple-studio {
- border-color: #8E44AD !important;
- background-image: none !important;
- background-color: #8E44AD !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-studio {
- color: #8E44AD !important;
-}
-
-/***
-Purple Wisteria
-***/
-/* Button */
-.purple-wisteria.btn {
- color: #FFFFFF;
- background-color: #9B59B6;
- border-color: "";
-}
-
-.purple-wisteria.btn:hover, .purple-wisteria.btn:focus, .purple-wisteria.btn:active, .purple-wisteria.btn.active {
- color: #FFFFFF;
- background-color: #8948a3;
-}
-
-.open .purple-wisteria.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #8948a3;
-}
-
-.purple-wisteria.btn:active, .purple-wisteria.btn.active {
- background-image: none;
- background-color: #7a4092;
-}
-
-.purple-wisteria.btn:active:hover, .purple-wisteria.btn.active:hover {
- background-color: #804399;
-}
-
-.open .purple-wisteria.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-wisteria.btn.disabled, .purple-wisteria.btn.disabled:hover, .purple-wisteria.btn.disabled:focus, .purple-wisteria.btn.disabled:active, .purple-wisteria.btn.disabled.active, .purple-wisteria.btn[disabled], .purple-wisteria.btn[disabled]:hover, .purple-wisteria.btn[disabled]:focus, .purple-wisteria.btn[disabled]:active, .purple-wisteria.btn[disabled].active, fieldset[disabled] .purple-wisteria.btn, fieldset[disabled] .purple-wisteria.btn:hover, fieldset[disabled] .purple-wisteria.btn:focus, fieldset[disabled] .purple-wisteria.btn:active, fieldset[disabled] .purple-wisteria.btn.active {
- background-color: #9B59B6;
-}
-
-.purple-wisteria.btn .badge {
- color: #9B59B6;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-wisteria-stripe {
- border-left: 3px solid #9B59B6;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-wisteria,
-.portlet.purple-wisteria {
- background-color: #9B59B6;
-}
-
-.portlet.solid.purple-wisteria > .portlet-title,
-.portlet.solid.purple-wisteria > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-wisteria {
- border: 1px solid #b07cc6;
- border-top: 0;
-}
-
-.portlet.box.purple-wisteria > .portlet-title {
- background-color: #9B59B6;
-}
-
-.portlet.box.purple-wisteria > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-wisteria > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-wisteria > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #caa7d8;
- color: #d5b9e0;
-}
-
-.portlet.box.purple-wisteria > .portlet-title > .actions .btn-default > i {
- color: #dbc3e5;
-}
-
-.portlet.box.purple-wisteria > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-wisteria > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-wisteria > .portlet-title > .actions .btn-default:active, .portlet.box.purple-wisteria > .portlet-title > .actions .btn-default.active {
- border: 1px solid #dfcae8;
- color: #eadcf0;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-wisteria {
- background-color: #9B59B6;
-}
-
-.dashboard-stat.purple-wisteria.dashboard-stat-light:hover {
- background-color: #924dae;
-}
-
-.dashboard-stat.purple-wisteria .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-wisteria .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-wisteria .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-wisteria .more {
- color: #FFFFFF;
- background-color: #924dae;
-}
-
-/* General Element */
-.bg-purple-wisteria {
- border-color: #9B59B6 !important;
- background-image: none !important;
- background-color: #9B59B6 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-wisteria {
- color: #9B59B6 !important;
-}
-
-/***
-Purple Seance
-***/
-/* Button */
-.purple-seance.btn {
- color: #FFFFFF;
- background-color: #9A12B3;
- border-color: "";
-}
-
-.purple-seance.btn:hover, .purple-seance.btn:focus, .purple-seance.btn:active, .purple-seance.btn.active {
- color: #FFFFFF;
- background-color: #7e0f93;
-}
-
-.open .purple-seance.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #7e0f93;
-}
-
-.purple-seance.btn:active, .purple-seance.btn.active {
- background-image: none;
- background-color: #6a0c7b;
-}
-
-.purple-seance.btn:active:hover, .purple-seance.btn.active:hover {
- background-color: #720d85;
-}
-
-.open .purple-seance.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-seance.btn.disabled, .purple-seance.btn.disabled:hover, .purple-seance.btn.disabled:focus, .purple-seance.btn.disabled:active, .purple-seance.btn.disabled.active, .purple-seance.btn[disabled], .purple-seance.btn[disabled]:hover, .purple-seance.btn[disabled]:focus, .purple-seance.btn[disabled]:active, .purple-seance.btn[disabled].active, fieldset[disabled] .purple-seance.btn, fieldset[disabled] .purple-seance.btn:hover, fieldset[disabled] .purple-seance.btn:focus, fieldset[disabled] .purple-seance.btn:active, fieldset[disabled] .purple-seance.btn.active {
- background-color: #9A12B3;
-}
-
-.purple-seance.btn .badge {
- color: #9A12B3;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-seance-stripe {
- border-left: 3px solid #9A12B3;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-seance,
-.portlet.purple-seance {
- background-color: #9A12B3;
-}
-
-.portlet.solid.purple-seance > .portlet-title,
-.portlet.solid.purple-seance > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-seance > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-seance > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-seance > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-seance > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-seance > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-seance > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-seance > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-seance {
- border: 1px solid #c217e1;
- border-top: 0;
-}
-
-.portlet.box.purple-seance > .portlet-title {
- background-color: #9A12B3;
-}
-
-.portlet.box.purple-seance > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-seance > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-seance > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #d349ed;
- color: #d960ef;
-}
-
-.portlet.box.purple-seance > .portlet-title > .actions .btn-default > i {
- color: #dc6ef0;
-}
-
-.portlet.box.purple-seance > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-seance > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-seance > .portlet-title > .actions .btn-default:active, .portlet.box.purple-seance > .portlet-title > .actions .btn-default.active {
- border: 1px solid #de77f1;
- color: #e48ef4;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-seance {
- background-color: #9A12B3;
-}
-
-.dashboard-stat.purple-seance.dashboard-stat-light:hover {
- background-color: #8a10a0;
-}
-
-.dashboard-stat.purple-seance .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-seance .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-seance .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-seance .more {
- color: #FFFFFF;
- background-color: #8a10a0;
-}
-
-/* General Element */
-.bg-purple-seance {
- border-color: #9A12B3 !important;
- background-image: none !important;
- background-color: #9A12B3 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-seance {
- color: #9A12B3 !important;
-}
-
-/***
-Purple Intense
-***/
-/* Button */
-.purple-intense.btn {
- color: #FFFFFF;
- background-color: #8775a7;
- border-color: "";
-}
-
-.purple-intense.btn:hover, .purple-intense.btn:focus, .purple-intense.btn:active, .purple-intense.btn.active {
- color: #FFFFFF;
- background-color: #746198;
-}
-
-.open .purple-intense.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #746198;
-}
-
-.purple-intense.btn:active, .purple-intense.btn.active {
- background-image: none;
- background-color: #685788;
-}
-
-.purple-intense.btn:active:hover, .purple-intense.btn.active:hover {
- background-color: #6d5b8e;
-}
-
-.open .purple-intense.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-intense.btn.disabled, .purple-intense.btn.disabled:hover, .purple-intense.btn.disabled:focus, .purple-intense.btn.disabled:active, .purple-intense.btn.disabled.active, .purple-intense.btn[disabled], .purple-intense.btn[disabled]:hover, .purple-intense.btn[disabled]:focus, .purple-intense.btn[disabled]:active, .purple-intense.btn[disabled].active, fieldset[disabled] .purple-intense.btn, fieldset[disabled] .purple-intense.btn:hover, fieldset[disabled] .purple-intense.btn:focus, fieldset[disabled] .purple-intense.btn:active, fieldset[disabled] .purple-intense.btn.active {
- background-color: #8775a7;
-}
-
-.purple-intense.btn .badge {
- color: #8775a7;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-intense-stripe {
- border-left: 3px solid #8775a7;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-intense,
-.portlet.purple-intense {
- background-color: #8775a7;
-}
-
-.portlet.solid.purple-intense > .portlet-title,
-.portlet.solid.purple-intense > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-intense > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-intense > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-intense > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-intense > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-intense > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-intense > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-intense > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-intense {
- border: 1px solid #a294bb;
- border-top: 0;
-}
-
-.portlet.box.purple-intense > .portlet-title {
- background-color: #8775a7;
-}
-
-.portlet.box.purple-intense > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-intense > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-intense > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #c3bad3;
- color: #d0c9dd;
-}
-
-.portlet.box.purple-intense > .portlet-title > .actions .btn-default > i {
- color: #d8d2e3;
-}
-
-.portlet.box.purple-intense > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-intense > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-intense > .portlet-title > .actions .btn-default:active, .portlet.box.purple-intense > .portlet-title > .actions .btn-default.active {
- border: 1px solid #ded9e7;
- color: #ebe8f0;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-intense {
- background-color: #8775a7;
-}
-
-.dashboard-stat.purple-intense.dashboard-stat-light:hover {
- background-color: #7c699f;
-}
-
-.dashboard-stat.purple-intense .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-intense .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-intense .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-intense .more {
- color: #FFFFFF;
- background-color: #7c699f;
-}
-
-/* General Element */
-.bg-purple-intense {
- border-color: #8775a7 !important;
- background-image: none !important;
- background-color: #8775a7 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-intense {
- color: #8775a7 !important;
-}
-
-/***
-Purple Sharp
-***/
-/* Button */
-.purple-sharp.btn {
- color: #FFFFFF;
- background-color: #796799;
- border-color: "";
-}
-
-.purple-sharp.btn:hover, .purple-sharp.btn:focus, .purple-sharp.btn:active, .purple-sharp.btn.active {
- color: #FFFFFF;
- background-color: #685884;
-}
-
-.open .purple-sharp.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #685884;
-}
-
-.purple-sharp.btn:active, .purple-sharp.btn.active {
- background-image: none;
- background-color: #5c4e75;
-}
-
-.purple-sharp.btn:active:hover, .purple-sharp.btn.active:hover {
- background-color: #61527b;
-}
-
-.open .purple-sharp.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-sharp.btn.disabled, .purple-sharp.btn.disabled:hover, .purple-sharp.btn.disabled:focus, .purple-sharp.btn.disabled:active, .purple-sharp.btn.disabled.active, .purple-sharp.btn[disabled], .purple-sharp.btn[disabled]:hover, .purple-sharp.btn[disabled]:focus, .purple-sharp.btn[disabled]:active, .purple-sharp.btn[disabled].active, fieldset[disabled] .purple-sharp.btn, fieldset[disabled] .purple-sharp.btn:hover, fieldset[disabled] .purple-sharp.btn:focus, fieldset[disabled] .purple-sharp.btn:active, fieldset[disabled] .purple-sharp.btn.active {
- background-color: #796799;
-}
-
-.purple-sharp.btn .badge {
- color: #796799;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-sharp-stripe {
- border-left: 3px solid #796799;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-sharp,
-.portlet.purple-sharp {
- background-color: #796799;
-}
-
-.portlet.solid.purple-sharp > .portlet-title,
-.portlet.solid.purple-sharp > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-sharp {
- border: 1px solid #9486ad;
- border-top: 0;
-}
-
-.portlet.box.purple-sharp > .portlet-title {
- background-color: #796799;
-}
-
-.portlet.box.purple-sharp > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-sharp > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-sharp > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #b4aac6;
- color: #c2b9d0;
-}
-
-.portlet.box.purple-sharp > .portlet-title > .actions .btn-default > i {
- color: #cac3d6;
-}
-
-.portlet.box.purple-sharp > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-sharp > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-sharp > .portlet-title > .actions .btn-default:active, .portlet.box.purple-sharp > .portlet-title > .actions .btn-default.active {
- border: 1px solid #cfc9db;
- color: #ddd8e5;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-sharp {
- background-color: #796799;
-}
-
-.dashboard-stat.purple-sharp.dashboard-stat-light:hover {
- background-color: #6f5f8d;
-}
-
-.dashboard-stat.purple-sharp .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-sharp .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-sharp .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-sharp .more {
- color: #FFFFFF;
- background-color: #6f5f8d;
-}
-
-/* General Element */
-.bg-purple-sharp {
- border-color: #796799 !important;
- background-image: none !important;
- background-color: #796799 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-sharp {
- color: #796799 !important;
-}
-
-/***
-Purple Soft
-***/
-/* Button */
-.purple-soft.btn {
- color: #FFFFFF;
- background-color: #8877a9;
- border-color: "";
-}
-
-.purple-soft.btn:hover, .purple-soft.btn:focus, .purple-soft.btn:active, .purple-soft.btn.active {
- color: #FFFFFF;
- background-color: #75629b;
-}
-
-.open .purple-soft.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #75629b;
-}
-
-.purple-soft.btn:active, .purple-soft.btn.active {
- background-image: none;
- background-color: #69588b;
-}
-
-.purple-soft.btn:active:hover, .purple-soft.btn.active:hover {
- background-color: #6e5c91;
-}
-
-.open .purple-soft.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-soft.btn.disabled, .purple-soft.btn.disabled:hover, .purple-soft.btn.disabled:focus, .purple-soft.btn.disabled:active, .purple-soft.btn.disabled.active, .purple-soft.btn[disabled], .purple-soft.btn[disabled]:hover, .purple-soft.btn[disabled]:focus, .purple-soft.btn[disabled]:active, .purple-soft.btn[disabled].active, fieldset[disabled] .purple-soft.btn, fieldset[disabled] .purple-soft.btn:hover, fieldset[disabled] .purple-soft.btn:focus, fieldset[disabled] .purple-soft.btn:active, fieldset[disabled] .purple-soft.btn.active {
- background-color: #8877a9;
-}
-
-.purple-soft.btn .badge {
- color: #8877a9;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-soft-stripe {
- border-left: 3px solid #8877a9;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-soft,
-.portlet.purple-soft {
- background-color: #8877a9;
-}
-
-.portlet.solid.purple-soft > .portlet-title,
-.portlet.solid.purple-soft > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-soft > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-soft > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-soft > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-soft > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-soft > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-soft > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-soft {
- border: 1px solid #a396bd;
- border-top: 0;
-}
-
-.portlet.box.purple-soft > .portlet-title {
- background-color: #8877a9;
-}
-
-.portlet.box.purple-soft > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-soft > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #c4bcd4;
- color: #d2cbde;
-}
-
-.portlet.box.purple-soft > .portlet-title > .actions .btn-default > i {
- color: #dad5e4;
-}
-
-.portlet.box.purple-soft > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-soft > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-soft > .portlet-title > .actions .btn-default:active, .portlet.box.purple-soft > .portlet-title > .actions .btn-default.active {
- border: 1px solid #dfdbe8;
- color: #edebf2;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-soft {
- background-color: #8877a9;
-}
-
-.dashboard-stat.purple-soft.dashboard-stat-light:hover {
- background-color: #7d6ba1;
-}
-
-.dashboard-stat.purple-soft .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-soft .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-soft .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-soft .more {
- color: #FFFFFF;
- background-color: #7d6ba1;
-}
-
-/* General Element */
-.bg-purple-soft {
- border-color: #8877a9 !important;
- background-image: none !important;
- background-color: #8877a9 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-soft {
- color: #8877a9 !important;
-}
-
-/***
-Transparent Button
-***/
-.btn-transparent.btn {
- background: transparent;
- color: #888;
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/facebox.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/facebox.css
deleted file mode 100644
index a86199c8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/facebox.css
+++ /dev/null
@@ -1,83 +0,0 @@
-#facebox {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 100;
- text-align: left;
-}
-
-#facebox .popup {
- position: relative;
- border: 3px solid rgba(0, 0, 0, 0);
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
- -webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
- -moz-box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
- box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
-}
-
-#facebox .content {
- /*display:table;*/
- width: 580px;
- height: 500px;
- padding: 10px;
- background: #fff;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
-}
-
-#facebox .content > p:first-child {
- margin-top: 0;
-}
-
-#facebox .content > p:last-child {
- margin-bottom: 0;
-}
-
-#facebox .close {
- position: absolute;
- top: 5px;
- right: 5px;
- padding: 2px;
- background: #fff;
-}
-
-#facebox .close img {
- opacity: 0.3;
-}
-
-#facebox .close:hover img {
- opacity: 1.0;
-}
-
-#facebox .loading {
- text-align: center;
-}
-
-#facebox .image {
- text-align: center;
-}
-
-#facebox img {
- border: 0;
- margin: 0;
-}
-
-#facebox_overlay {
- position: fixed;
- top: 0px;
- left: 0px;
- height: 100%;
- width: 100%;
-}
-
-.facebox_hide {
- z-index: -100;
-}
-
-.facebox_overlayBG {
- background-color: #000;
- z-index: 99;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/ict-chart-dashboard.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/ict-chart-dashboard.css
deleted file mode 100644
index 56f014d4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/ict-chart-dashboard.css
+++ /dev/null
@@ -1,143 +0,0 @@
-.flot-placeholder {
- margin-left: 2%;
- margin-top: 2%;
- margin-bottom: 2%;
- width: 100%;
- height: 93%;
- font-size: 14px;
- line-height: 1.2em;
- background: #fff;
-}
-
-.flot-placeholder-high {
- margin-left: 2%;
- margin-top: 2%;
- margin-bottom: 2%;
- width: 100%;
- height: 93%;
- font-size: 14px;
- line-height: 1.2em;
- background: #fff;
-}
-
-.flot-placeholder-expand {
- /*margin-left:2%;
- margin-top:2%;*/
- margin: 1%;
- width: 98%;
- height: 480px;
- font-size: 14px;
- line-height: 1.2em;
- background: #fff;
-}
-
-.flot-placeholder-wrapper-portlet {
- padding-top: 1%;
- margin-left: 0%;
- margin-top: 10%;
- width: 98%;
- height: 220px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.flot-placeholder-wrapper-portlet-wide {
- padding-top: 0.5%;
- margin-left: 0%;
- margin-top: 2%;
- width: 98%;
- height: 220px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.flot-placeholder-wrapper {
- position: fixed;
- margin-left: 2%;
- margin-top: 2%;
- left: 0px;
- top: 0px;
- width: 230px;
- height: 180px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.flot-placeholder-wrapper-1 {
- position: fixed;
- margin-left: 2%;
- margin-top: 2%;
- left: 0px;
- top: 200px;
- width: 230px;
- height: 180px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.flot-placeholder-wrapper-2 {
- position: fixed;
- margin-left: 2%;
- margin-top: 2%;
- left: 0px;
- top: 400px;
- width: 230px;
- height: 180px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.flot-placeholder-wrapper-3 {
- position: fixed;
- margin-left: 2%;
- margin-top: 2%;
- left: 300px;
- top: 0px;
- width: 230px;
- height: 180px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.contentWrapper {
- width: 100%;
- height: 100%;
- float: left;
- /*overflow-y: hidden;*/
- overflow: hidden;
- padding-right: 10px;
-}
-
-.plotsWrapper {
- /*position:fixed;*/
- /*overflow:auto;*/
- margin: 10px;
- margin-left: 182px;
- /*background:white;*/
- padding-left: 10px;
-}
-
-.stackControlButtons {
- position: fixed;
- margin-left: 2%;
- margin-top: 2%;
- left: 300px;
- top: 200px;
- width: 230px;
- height: 180px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.stackControlButtons-portlet {
- margin-left: 2%;
- margin-top: 2%;
- width: 230px;
- height: 180px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.contentWide {
- width: 980px !important;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/transition.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/transition.css
deleted file mode 100644
index 6877bc08..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/css/transition.css
+++ /dev/null
@@ -1,63 +0,0 @@
-#cf5 {
- position: relative;
- height: 32px;
- width: 32px;
- margin: 5px;
- margin-bottom: 0px;
- cursor: pointer;
- display: inline-block;
-}
-
-#cf5 img {
- position: absolute;
- left: 0;
- -webkit-transition: all 1s ease-in-out;
- -moz-transition: all 1s ease-in-out;
- -o-transition: all 1s ease-in-out;
- transition: all 1s ease-in-out;
-}
-
-#cf5 img.top {
- -webkit-transform: scale(1, 0);
- -moz-transform: scale(1, 0);
- -o-transform: scale(1, 0);
- transform: scale(1, 0);
- filter: alpha(opacity=0);
- opacity: 0;
-
-}
-
-/*
-#cf5:hover img.top, #cf5.hover_effect img.top {
-opacity:1;
--webkit-transform:scale(1,1);
--moz-transform:scale(1,1);
--o-transform:scale(1,1);
-transform:scale(1,1);
-}
-*/
-#cf5 img.scale {
- opacity: 1;
- -webkit-transform: scale(1, 1);
- -moz-transform: scale(1, 1);
- -o-transform: scale(1, 1);
- transform: scale(1, 1);
-}
-
-/*
-#cf5:hover img.bottom, #cf5.hover_effect img.bottom {
-filter: alpha(opacity=0);
--webkit-transform:rotate(360deg) scale(0,0);
--moz-transform:rotate(360deg) scale(0,0);
--o-transform:rotate(360deg) scale(0,0);
-transform:rotate(360deg) scale(0,0);
-}
-*/
-#cf5 img.rotate {
- filter: alpha(opacity=0);
- -webkit-transform: rotate(360deg) scale(0, 0);
- -moz-transform: rotate(360deg) scale(0, 0);
- -o-transform: rotate(360deg) scale(0, 0);
- transform: rotate(360deg) scale(0, 0);
-}
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3-angular.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3-angular.js
deleted file mode 100644
index 6f2fd359..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3-angular.js
+++ /dev/null
@@ -1,544 +0,0 @@
-/*! c3-angular - v0.1.0 - 2015-01-01
- * https://github.com/jettro/c3-angular-sample
- * Copyright (c) 2015 ; Licensed */
-angular.module('gridshore.c3js.chart', [])
- .controller('ChartController', ['$scope', function ($scope) {
- $scope.chart = null;
- $scope.columns = [];
- $scope.types = {};
- $scope.axis = {};
- $scope.axes = {};
- $scope.xValues = null;
- $scope.xTick = null;
- $scope.names = null;
- $scope.colors = null;
- $scope.grid = null;
- $scope.legend = null;
- $scope.tooltip = null;
- $scope.chartSize = null;
- $scope.colors = null;
- $scope.jsonKeys = null;
-
- this.showGraph = function () {
- var config = {};
- config.bindto = "#" + $scope.bindto;
- config.data = {};
-
- if ($scope.xValues) {
- config.data.x = $scope.xValues;
- }
- if ($scope.columns) {
- config.data.columns = $scope.columns;
- }
- config.data.types = $scope.types;
- config.data.axes = $scope.axes;
- if ($scope.names) {
- config.data.names = $scope.names;
- }
- if ($scope.colors) {
- config.data.colors = $scope.colors;
- }
- if ($scope.showLabels && $scope.showLabels === "true") {
- config.data.labels = true;
- }
- if ($scope.showSubchart && $scope.showSubchart === "true") {
- config.subchart = {"show": true};
- }
- if ($scope.enableZoom && $scope.enableZoom === "true") {
- config.zoom = {"enabled": true};
- }
- config.axis = $scope.axis;
- if ($scope.xTick) {
- config.axis.x.tick = $scope.xTick;
- }
- if ($scope.grid != null) {
- config.grid = $scope.grid;
- }
- if ($scope.legend != null) {
- config.legend = $scope.legend;
- }
- if ($scope.tooltip != null) {
- config.tooltip = $scope.tooltip;
- }
- if ($scope.chartSize != null) {
- config.size = $scope.chartSize;
- }
- if ($scope.colors != null) {
- config.color = {"pattern": $scope.colors};
- }
-
- $scope.config = config;
-
- if ($scope.chartData && $scope.chartColumns) {
- $scope.$watchCollection('chartData', function () {
- loadChartData();
- });
- } else {
- $scope.chart = c3.generate($scope.config);
- }
- };
-
- this.addColumn = function (column, columnType, columnName, columnColor) {
- $scope.columns.push(column);
- addColumnProperties(column[0], columnType, columnName, columnColor);
- };
-
- this.addYAxis = function (yAxis) {
- $scope.axes = yAxis;
- if (!$scope.axis.y2) {
- $scope.axis.y2 = {"show": true};
- }
- };
-
- this.addXAxisValues = function (xValues) {
- $scope.xValues = xValues;
- };
-
- this.addAxisProperties = function (id, axis) {
- $scope.axis[id] = axis;
- };
-
- this.addXTick = function (tick) {
- $scope.xTick = tick;
- };
-
- this.rotateAxis = function () {
- $scope.axis.rotated = true;
- };
-
- this.addGrid = function (axis) {
- if ($scope.grid == null) {
- $scope.grid = {};
- }
- if ($scope.grid[axis] == null) {
- $scope.grid[axis] = {};
- }
- $scope.grid[axis].show = true;
- };
-
- this.addGridLine = function (axis, value, text) {
- if ($scope.grid == null) {
- $scope.grid = {};
- }
- if (axis === "x") {
- if ($scope.grid.x === undefined) {
- $scope.grid.x = {};
- }
- if ($scope.grid.x.lines === undefined) {
- $scope.grid.x.lines = [];
- }
- } else {
- if ($scope.grid.y === undefined) {
- $scope.grid.y = {};
- }
- if ($scope.grid.y.lines === undefined) {
- $scope.grid.y.lines = [];
- }
-
- }
- if (axis === "y2") {
- $scope.grid.y.lines.push({"value": value, "text": text, "axis": "y2"});
- } else {
- $scope.grid[axis].lines.push({"value": value, "text": text});
- }
- };
-
- this.addLegend = function (legend) {
- $scope.legend = legend;
- };
-
- this.addTooltip = function (tooltip) {
- $scope.tooltip = tooltip;
- };
-
- this.addSize = function (chartSize) {
- $scope.chartSize = chartSize;
- };
-
- this.addColors = function (colors) {
- $scope.colors = colors;
- };
-
- function addColumnProperties(id, columnType, columnName, columnColor) {
- if (columnType !== undefined) {
- $scope.types[id] = columnType;
- }
- if (columnName !== undefined) {
- if ($scope.names === null) {
- $scope.names = {};
- }
- $scope.names[id] = columnName;
- }
- if (columnColor !== undefined) {
- if ($scope.colors === null) {
- $scope.colors = {};
- }
- $scope.colors[id] = columnColor;
- }
- }
-
- function loadChartData() {
- $scope.jsonKeys = {};
- $scope.jsonKeys.value = [];
- angular.forEach($scope.chartColumns, function (column) {
- $scope.jsonKeys.value.push(column.id);
- addColumnProperties(column.id, column.type, column.name, column.color);
- });
- if ($scope.chartX) {
- $scope.jsonKeys.x = $scope.chartX.id;
- }
- if ($scope.names) {
- $scope.config.data.names = $scope.names;
- }
- if ($scope.colors) {
- $scope.config.data.colors = $scope.colors;
- }
-
- $scope.config.data.keys = $scope.jsonKeys;
- $scope.config.data.json = $scope.chartData;
-
- $scope.chart = c3.generate($scope.config);
-
- // $scope.chart.load(data);
- }
- }])
- .directive('c3chart', ['$timeout', function ($timeout) {
- var chartLinker = function (scope, element, attrs, chartCtrl) {
- // Trick to wait for all rendering of the DOM to be finished.
- $timeout(function () {
- chartCtrl.showGraph();
- });
- };
-
- return {
- "restrict": "E",
- "controller": "ChartController",
- "scope": {
- "bindto": "@bindtoId",
- "showLabels": "@showLabels",
- "showSubchart": "@showSubchart",
- "enableZoom": "@enableZoom",
- "chartData": "=chartData",
- "chartColumns": "=chartColumns",
- "chartX": "=chartX"
- },
- "template": "<div><div id='{{bindto}}'></div><div ng-transclude></div></div>",
- "replace": true,
- "transclude": true,
- "link": chartLinker
- };
- }])
- .directive('chartColumn', function () {
- var columnLinker = function (scope, element, attrs, chartCtrl) {
- var column = attrs.columnValues.split(",");
- column.unshift(attrs.columnId);
- chartCtrl.addColumn(column, attrs.columnType, attrs.columnName, attrs.columnColor);
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": columnLinker
- };
- })
- .directive('chartAxes', function () {
- var axesLinker = function (scope, element, attrs, chartCtrl) {
- var x = attrs.valuesX;
- if (x) {
- chartCtrl.addXAxisValues(x);
- }
-
- var y = attrs.y;
- var y2 = attrs.y2;
- var yAxis = {};
- if (y2) {
- var items = y2.split(",");
- for (var item in items) {
- yAxis[items[item]] = "y2";
- }
- if (y) {
- var yItems = y.split(",");
- for (var yItem in yItems) {
- yAxis[yItems[yItem]] = "y";
- }
- }
- chartCtrl.addYAxis(yAxis);
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": axesLinker
- };
- })
- .directive('chartAxis', function () {
- var axisLinker = function (scope, element, attrs, chartCtrl) {
- var rotate = attrs.axisRotate;
- if (rotate) {
- chartCtrl.rotateAxis();
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "transclude": true,
- "template": "<div ng-transclude></div>",
- "replace": true,
- "link": axisLinker
- };
- })
- .directive('chartAxisX', function () {
- var axisLinker = function (scope, element, attrs, chartCtrl) {
- var position = attrs.axisPosition;
- var label = attrs.axisLabel;
-
- var axis = {"label": {"text": label, "position": position}};
-
- var type = attrs.axisType;
- if (type) {
- axis.type = type;
- }
- // TODO has a strange effect on the graph, need to evaluate
- var height = attrs.axisHeight;
- if (height) {
- axis.height = height;
- }
- chartCtrl.addAxisProperties('x', axis);
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "transclude": true,
- "template": "<div ng-transclude></div>",
- "replace": true,
- "link": axisLinker
- };
- })
- .directive('chartAxisY', function () {
- var axisLinker = function (scope, element, attrs, chartCtrl) {
- var id = attrs.axisId;
- var position = attrs.axisPosition;
- var label = attrs.axisLabel;
-
- var axis = {"label": {"text": label, "position": position}};
- if (id === 'y2') {
- axis.show = true;
- }
- var paddingTop = attrs.paddingTop;
- var paddingBottom = attrs.paddingBottom;
- if (paddingTop || paddingBottom) {
- paddingTop = (paddingTop) ? paddingTop : 0;
- paddingBottom = (paddingBottom) ? paddingBottom : 0;
- axis.padding = {"top": parseInt(paddingTop), "bottom": parseInt(paddingBottom)};
- }
- var rangeMax = attrs.rangeMax;
- var rangeMin = attrs.rangeMin;
- if (rangeMax) {
- axis.max = parseInt(rangeMax);
- }
- if (rangeMin) {
- axis.min = parseInt(rangeMin);
- }
-
- chartCtrl.addAxisProperties(id, axis);
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": axisLinker
- };
- })
- .directive('chartGrid', function () {
- var gridLinker = function (scope, element, attrs, chartCtrl) {
- var showX = attrs.showX;
- if (showX && showX === "true") {
- chartCtrl.addGrid("x");
- }
- var showY = attrs.showY;
- if (showY && showY === "true") {
- chartCtrl.addGrid("y");
- }
- var showY2 = attrs.showY2;
- if (showY2 && showY2 === "true") {
- chartCtrl.addGrid("y2");
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": gridLinker,
- "transclude": true,
- "template": "<div ng-transclude></div>"
- };
- })
- .directive('chartGridOptional', function () {
- var gridLinker = function (scope, element, attrs, chartCtrl) {
- var axisId = attrs.axisId;
- var value = attrs.gridValue;
- var text = attrs.gridText;
-
- chartCtrl.addGridLine(axisId, value, text);
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": gridLinker
- };
- })
- .directive('chartAxisXTick', function () {
- var tickLinker = function (scope, element, attrs, chartCtrl) {
- var tick = {};
-
- var count = attrs.tickCount;
- if (count) {
- tick.count = count;
- }
-
- // TODO, dit lijkt nog niet echt iets te doen
- var format = attrs.tickFormat;
- if (format) {
- tick.format = format;
- }
-
- var culling = attrs.tickCulling;
- if (culling) {
- tick.culling = culling;
- }
-
- var rotate = attrs.tickRotate;
- if (rotate) {
- tick.rotate = rotate;
- }
-
- var fit = attrs.tickFit;
- if (fit) {
- tick.fit = fit;
- }
-
- chartCtrl.addXTick(tick);
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": tickLinker
- };
-
- })
- .directive('chartLegend', function () {
- var legendLinker = function (scope, element, attrs, chartCtrl) {
- var legend = null;
- var show = attrs.showLegend;
- if (show && show === "false") {
- legend = {"show": false};
- } else {
- var position = attrs.legendPosition;
- if (position) {
- legend = {"position": position};
- }
- }
-
- if (legend != null) {
- chartCtrl.addLegend(legend);
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": legendLinker
- };
-
- })
- .directive('chartTooltip', function () {
- var tooltipLinker = function (scope, element, attrs, chartCtrl) {
- var tooltip = null;
- var show = attrs.showTooltip;
- if (show && show === "false") {
- tooltip = {"show": false};
- } else {
- var grouped = attrs.groupTooltip;
- if (grouped && grouped === "false") {
- tooltip = {"grouped": false};
- }
- }
-
- if (tooltip != null) {
- chartCtrl.addTooltip(tooltip);
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": tooltipLinker
- };
-
- })
- .directive('chartSize', function () {
- var sizeLinker = function (scope, element, attrs, chartCtrl) {
- var chartSize = null;
- var width = attrs.chartWidth;
- var height = attrs.chartHeight;
- if (width || height) {
- chartSize = {};
- if (width) {
- chartSize.width = parseInt(width);
- }
- if (height) {
- chartSize.height = parseInt(height);
- }
- chartCtrl.addSize(chartSize);
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": sizeLinker
- };
-
- })
- .directive('chartColors', function () {
- var colorsLinker = function (scope, element, attrs, chartCtrl) {
- var pattern = attrs.colorPattern;
- if (pattern) {
- chartCtrl.addColors(pattern.split(","));
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": colorsLinker
- };
-
- }); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3-angular.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3-angular.min.js
deleted file mode 100644
index 19e7d3ef..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3-angular.min.js
+++ /dev/null
@@ -1,206 +0,0 @@
-/*! c3-angular - v0.1.0 - 2015-01-01
- * https://github.com/jettro/c3-angular-sample
- * Copyright (c) 2015 ; Licensed */
-
-angular.module("gridshore.c3js.chart", []).controller("ChartController", ["$scope", function (a) {
- function b(b, c, d, e) {
- void 0 !== c && (a.types[b] = c), void 0 !== d && (null === a.names && (a.names = {}), a.names[b] = d), void 0 !== e && (null === a.colors && (a.colors = {}), a.colors[b] = e)
- }
-
- function c() {
- a.jsonKeys = {}, a.jsonKeys.value = [], angular.forEach(a.chartColumns, function (c) {
- a.jsonKeys.value.push(c.id), b(c.id, c.type, c.name, c.color)
- }), a.chartX && (a.jsonKeys.x = a.chartX.id), a.names && (a.config.data.names = a.names), a.colors && (a.config.data.colors = a.colors), a.config.data.keys = a.jsonKeys, a.config.data.json = a.chartData, a.chart = c3.generate(a.config)
- }
-
- a.chart = null, a.columns = [], a.types = {}, a.axis = {}, a.axes = {}, a.xValues = null, a.xTick = null, a.names = null, a.colors = null, a.grid = null, a.legend = null, a.tooltip = null, a.chartSize = null, a.colors = null, a.jsonKeys = null, this.showGraph = function () {
- var b = {};
- b.bindto = "#" + a.bindto, b.data = {}, a.xValues && (b.data.x = a.xValues), a.columns && (b.data.columns = a.columns), b.data.types = a.types, b.data.axes = a.axes, a.names && (b.data.names = a.names), a.colors && (b.data.colors = a.colors), a.showLabels && "true" === a.showLabels && (b.data.labels = !0), a.showSubchart && "true" === a.showSubchart && (b.subchart = {show: !0}), a.enableZoom && "true" === a.enableZoom && (b.zoom = {enabled: !0}), b.axis = a.axis, a.xTick && (b.axis.x.tick = a.xTick), null != a.grid && (b.grid = a.grid), null != a.legend && (b.legend = a.legend), null != a.tooltip && (b.tooltip = a.tooltip), null != a.chartSize && (b.size = a.chartSize), null != a.colors && (b.color = {pattern: a.colors}), a.config = b, a.chartData && a.chartColumns ? a.$watchCollection("chartData", function () {
- c()
- }) : a.chart = c3.generate(a.config)
- }, this.addColumn = function (c, d, e, f) {
- a.columns.push(c), b(c[0], d, e, f)
- }, this.addYAxis = function (b) {
- a.axes = b, a.axis.y2 || (a.axis.y2 = {show: !0})
- }, this.addXAxisValues = function (b) {
- a.xValues = b
- }, this.addAxisProperties = function (b, c) {
- a.axis[b] = c
- }, this.addXTick = function (b) {
- a.xTick = b
- }, this.rotateAxis = function () {
- a.axis.rotated = !0
- }, this.addGrid = function (b) {
- null == a.grid && (a.grid = {}), null == a.grid[b] && (a.grid[b] = {}), a.grid[b].show = !0
- }, this.addGridLine = function (b, c, d) {
- null == a.grid && (a.grid = {}), "x" === b ? (void 0 === a.grid.x && (a.grid.x = {}), void 0 === a.grid.x.lines && (a.grid.x.lines = [])) : (void 0 === a.grid.y && (a.grid.y = {}), void 0 === a.grid.y.lines && (a.grid.y.lines = [])), "y2" === b ? a.grid.y.lines.push({
- value: c,
- text: d,
- axis: "y2"
- }) : a.grid[b].lines.push({value: c, text: d})
- }, this.addLegend = function (b) {
- a.legend = b
- }, this.addTooltip = function (b) {
- a.tooltip = b
- }, this.addSize = function (b) {
- a.chartSize = b
- }, this.addColors = function (b) {
- a.colors = b
- }
-}]).directive("c3chart", ["$timeout", function (a) {
- var b = function (b, c, d, e) {
- a(function () {
- e.showGraph()
- })
- };
- return {
- restrict: "E",
- controller: "ChartController",
- scope: {
- bindto: "@bindtoId",
- showLabels: "@showLabels",
- showSubchart: "@showSubchart",
- enableZoom: "@enableZoom",
- chartData: "=chartData",
- chartColumns: "=chartColumns",
- chartX: "=chartX"
- },
- template: "<div><div id='{{bindto}}'></div><div ng-transclude></div></div>",
- replace: !0,
- transclude: !0,
- link: b
- }
-}]).directive("chartColumn", function () {
- var a = function (a, b, c, d) {
- var e = c.columnValues.split(",");
- e.unshift(c.columnId), d.addColumn(e, c.columnType, c.columnName, c.columnColor)
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartAxes", function () {
- var a = function (a, b, c, d) {
- var e = c.valuesX;
- e && d.addXAxisValues(e);
- var f = c.y, g = c.y2, h = {};
- if (g) {
- var i = g.split(",");
- for (var j in i)h[i[j]] = "y2";
- if (f) {
- var k = f.split(",");
- for (var l in k)h[k[l]] = "y"
- }
- d.addYAxis(h)
- }
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartAxis", function () {
- var a = function (a, b, c, d) {
- var e = c.axisRotate;
- e && d.rotateAxis()
- };
- return {
- require: "^c3chart",
- restrict: "E",
- scope: {},
- transclude: !0,
- template: "<div ng-transclude></div>",
- replace: !0,
- link: a
- }
-}).directive("chartAxisX", function () {
- var a = function (a, b, c, d) {
- var e = c.axisPosition, f = c.axisLabel, g = {label: {text: f, position: e}}, h = c.axisType;
- h && (g.type = h);
- var i = c.axisHeight;
- i && (g.height = i), d.addAxisProperties("x", g)
- };
- return {
- require: "^c3chart",
- restrict: "E",
- scope: {},
- transclude: !0,
- template: "<div ng-transclude></div>",
- replace: !0,
- link: a
- }
-}).directive("chartAxisY", function () {
- var a = function (a, b, c, d) {
- var e = c.axisId, f = c.axisPosition, g = c.axisLabel, h = {label: {text: g, position: f}};
- "y2" === e && (h.show = !0);
- var i = c.paddingTop, j = c.paddingBottom;
- (i || j) && (i = i ? i : 0, j = j ? j : 0, h.padding = {top: parseInt(i), bottom: parseInt(j)});
- var k = c.rangeMax, l = c.rangeMin;
- k && (h.max = parseInt(k)), l && (h.min = parseInt(l)), d.addAxisProperties(e, h)
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartGrid", function () {
- var a = function (a, b, c, d) {
- var e = c.showX;
- e && "true" === e && d.addGrid("x");
- var f = c.showY;
- f && "true" === f && d.addGrid("y");
- var g = c.showY2;
- g && "true" === g && d.addGrid("y2")
- };
- return {
- require: "^c3chart",
- restrict: "E",
- scope: {},
- replace: !0,
- link: a,
- transclude: !0,
- template: "<div ng-transclude></div>"
- }
-}).directive("chartGridOptional", function () {
- var a = function (a, b, c, d) {
- var e = c.axisId, f = c.gridValue, g = c.gridText;
- d.addGridLine(e, f, g)
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartAxisXTick", function () {
- var a = function (a, b, c, d) {
- var e = {}, f = c.tickCount;
- f && (e.count = f);
- var g = c.tickFormat;
- g && (e.format = g);
- var h = c.tickCulling;
- h && (e.culling = h);
- var i = c.tickRotate;
- i && (e.rotate = i);
- var j = c.tickFit;
- j && (e.fit = j), d.addXTick(e)
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartLegend", function () {
- var a = function (a, b, c, d) {
- var e = null, f = c.showLegend;
- if (f && "false" === f)e = {show: !1}; else {
- var g = c.legendPosition;
- g && (e = {position: g})
- }
- null != e && d.addLegend(e)
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartTooltip", function () {
- var a = function (a, b, c, d) {
- var e = null, f = c.showTooltip;
- if (f && "false" === f)e = {show: !1}; else {
- var g = c.groupTooltip;
- g && "false" === g && (e = {grouped: !1})
- }
- null != e && d.addTooltip(e)
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartSize", function () {
- var a = function (a, b, c, d) {
- var e = null, f = c.chartWidth, g = c.chartHeight;
- (f || g) && (e = {}, f && (e.width = parseInt(f)), g && (e.height = parseInt(g)), d.addSize(e))
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartColors", function () {
- var a = function (a, b, c, d) {
- var e = c.colorPattern;
- e && d.addColors(e.split(","))
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-});
-//# sourceMappingURL=c3-angular.min.js.map \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3-angular.min.js.map b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3-angular.min.js.map
deleted file mode 100644
index 83e8e2cc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3-angular.min.js.map
+++ /dev/null
@@ -1,157 +0,0 @@
-{
- "version": 3,
- "file": "c3-angular.min.js",
- "sources": ["c3-angular.js"],
- "names": [
- "angular",
- "module",
- "controller",
- "$scope",
- "addColumnProperties",
- "id",
- "columnType",
- "columnName",
- "columnColor",
- "undefined",
- "types",
- "names",
- "colors",
- "loadChartData",
- "jsonKeys",
- "value",
- "forEach",
- "chartColumns",
- "column",
- "push",
- "type",
- "name",
- "color",
- "chartX",
- "x",
- "config",
- "data",
- "keys",
- "json",
- "chartData",
- "chart",
- "c3",
- "generate",
- "columns",
- "axis",
- "axes",
- "xValues",
- "xTick",
- "grid",
- "legend",
- "tooltip",
- "chartSize",
- "this",
- "showGraph",
- "bindto",
- "showLabels",
- "labels",
- "showSubchart",
- "subchart",
- "show",
- "enableZoom",
- "zoom",
- "enabled",
- "tick",
- "size",
- "pattern",
- "$watchCollection",
- "addColumn",
- "addYAxis",
- "yAxis",
- "y2",
- "addXAxisValues",
- "addAxisProperties",
- "addXTick",
- "rotateAxis",
- "rotated",
- "addGrid",
- "addGridLine",
- "text",
- "lines",
- "y",
- "addLegend",
- "addTooltip",
- "addSize",
- "addColors",
- "directive",
- "$timeout",
- "chartLinker",
- "scope",
- "element",
- "attrs",
- "chartCtrl",
- "restrict",
- "template",
- "replace",
- "transclude",
- "link",
- "columnLinker",
- "columnValues",
- "split",
- "unshift",
- "columnId",
- "require",
- "axesLinker",
- "valuesX",
- "items",
- "item",
- "yItems",
- "yItem",
- "axisLinker",
- "rotate",
- "axisRotate",
- "position",
- "axisPosition",
- "label",
- "axisLabel",
- "axisType",
- "height",
- "axisHeight",
- "axisId",
- "paddingTop",
- "paddingBottom",
- "padding",
- "top",
- "parseInt",
- "bottom",
- "rangeMax",
- "rangeMin",
- "max",
- "min",
- "gridLinker",
- "showX",
- "showY",
- "showY2",
- "gridValue",
- "gridText",
- "tickLinker",
- "count",
- "tickCount",
- "format",
- "tickFormat",
- "culling",
- "tickCulling",
- "tickRotate",
- "fit",
- "tickFit",
- "legendLinker",
- "showLegend",
- "legendPosition",
- "tooltipLinker",
- "showTooltip",
- "grouped",
- "groupTooltip",
- "sizeLinker",
- "width",
- "chartWidth",
- "chartHeight",
- "colorsLinker",
- "colorPattern"
- ],
- "mappings": ";;;;AAGAA,QAAQC,OAAO,2BACdC,WAAW,mBAAmB,SAAU,SAASC,GA6JjD,QAASC,GAAoBC,EAAIC,EAAYC,EAAYC,GACrCC,SAAfH,IACHH,EAAOO,MAAML,GAAIC,GAECG,SAAfF,IACkB,OAAjBJ,EAAOQ,QACVR,EAAOQ,UAERR,EAAOQ,MAAMN,GAAIE,GAEEE,SAAhBD,IACmB,OAAlBL,EAAOS,SACVT,EAAOS,WAERT,EAAOS,OAAOP,GAAIG,GAIpB,QAASK,KACFV,EAAOW,YACPX,EAAOW,SAASC,SAChBf,QAAQgB,QAAQb,EAAOc,aAAc,SAASC,GAC1Cf,EAAOW,SAASC,MAAMI,KAAKD,EAAOb,IAClCD,EAAoBc,EAAOb,GAAIa,EAAOE,KAAMF,EAAOG,KAAMH,EAAOI,SAEhEnB,EAAOoB,SACPpB,EAAOW,SAASU,EAAErB,EAAOoB,OAAOlB,IAEhCF,EAAOQ,QACPR,EAAOsB,OAAOC,KAAKf,MAAQR,EAAOQ,OAElCR,EAAOS,SACPT,EAAOsB,OAAOC,KAAKd,OAAST,EAAOS,QAGvCT,EAAOsB,OAAOC,KAAKC,KAAKxB,EAAOW,SAC/BX,EAAOsB,OAAOC,KAAKE,KAAKzB,EAAO0B,UAE/B1B,EAAO2B,MAAQC,GAAGC,SAAS7B,EAAOsB,QAlMzCtB,EAAO2B,MAAQ,KACf3B,EAAO8B,WACP9B,EAAOO,SACPP,EAAO+B,QACP/B,EAAOgC,QACPhC,EAAOiC,QAAS,KAChBjC,EAAOkC,MAAQ,KACflC,EAAOQ,MAAQ,KACfR,EAAOS,OAAS,KAChBT,EAAOmC,KAAO,KACdnC,EAAOoC,OAAS,KAChBpC,EAAOqC,QAAU,KACjBrC,EAAOsC,UAAY,KACnBtC,EAAOS,OAAS,KAChBT,EAAOW,SAAW,KAElB4B,KAAKC,UAAY,WAChB,GAAIlB,KACJA,GAAOmB,OAAS,IAAIzC,EAAOyC,OAC3BnB,EAAOC,QAEHvB,EAAOiC,UACVX,EAAOC,KAAKF,EAAErB,EAAOiC,SAElBjC,EAAO8B,UACVR,EAAOC,KAAKO,QAAU9B,EAAO8B,SAE9BR,EAAOC,KAAKhB,MAAQP,EAAOO,MAC3Be,EAAOC,KAAKS,KAAOhC,EAAOgC,KACtBhC,EAAOQ,QACVc,EAAOC,KAAKf,MAAQR,EAAOQ,OAExBR,EAAOS,SACVa,EAAOC,KAAKd,OAAST,EAAOS,QAEzBT,EAAO0C,YAAoC,SAAtB1C,EAAO0C,aAC/BpB,EAAOC,KAAKoB,QAAO,GAEhB3C,EAAO4C,cAAwC,SAAxB5C,EAAO4C,eACjCtB,EAAOuB,UAAYC,MAAO,IAEvB9C,EAAO+C,YAAoC,SAAtB/C,EAAO+C,aAC/BzB,EAAO0B,MAAQC,SAAU,IAE1B3B,EAAOS,KAAO/B,EAAO+B,KACjB/B,EAAOkC,QACVZ,EAAOS,KAAKV,EAAE6B,KAAOlD,EAAOkC,OAEV,MAAflC,EAAOmC,OACVb,EAAOa,KAAOnC,EAAOmC,MAED,MAAjBnC,EAAOoC,SACVd,EAAOc,OAASpC,EAAOoC,QAEF,MAAlBpC,EAAOqC,UACVf,EAAOe,QAAUrC,EAAOqC,SAED,MAApBrC,EAAOsC,YACVhB,EAAO6B,KAAOnD,EAAOsC,WAED,MAAjBtC,EAAOS,SACVa,EAAOH,OAASiC,QAAUpD,EAAOS,SAGlCT,EAAOsB,OAASA,EAEZtB,EAAO0B,WAAa1B,EAAOc,aAC9Bd,EAAOqD,iBAAiB,YAAa,WACpC3C,MAGDV,EAAO2B,MAAQC,GAAGC,SAAS7B,EAAOsB,SAIpCiB,KAAKe,UAAY,SAASvC,EAAOZ,EAAWC,EAAWC,GACtDL,EAAO8B,QAAQd,KAAKD,GACpBd,EAAoBc,EAAO,GAAIZ,EAAYC,EAAYC,IAGxDkC,KAAKgB,SAAW,SAASC,GACxBxD,EAAOgC,KAAOwB,EACTxD,EAAO+B,KAAK0B,KAChBzD,EAAO+B,KAAK0B,IAAIX,MAAO,KAIzBP,KAAKmB,eAAiB,SAASzB,GAC9BjC,EAAOiC,QAAUA,GAGlBM,KAAKoB,kBAAoB,SAASzD,EAAG6B,GACpC/B,EAAO+B,KAAK7B,GAAI6B,GAGjBQ,KAAKqB,SAAW,SAASV,GACxBlD,EAAOkC,MAAQgB,GAGhBX,KAAKsB,WAAa,WACjB7D,EAAO+B,KAAK+B,SAAU,GAGvBvB,KAAKwB,QAAU,SAAShC,GACJ,MAAf/B,EAAOmC,OACVnC,EAAOmC,SAEiB,MAArBnC,EAAOmC,KAAKJ,KACf/B,EAAOmC,KAAKJ,OAEb/B,EAAOmC,KAAKJ,GAAMe,MAAO,GAG1BP,KAAKyB,YAAc,SAASjC,EAAKnB,EAAMqD,GACnB,MAAfjE,EAAOmC,OACVnC,EAAOmC,SAEK,MAATJ,GACmBzB,SAAlBN,EAAOmC,KAAKd,IACfrB,EAAOmC,KAAKd,MAEef,SAAxBN,EAAOmC,KAAKd,EAAE6C,QACjBlE,EAAOmC,KAAKd,EAAE6C,YAGO5D,SAAlBN,EAAOmC,KAAKgC,IACfnE,EAAOmC,KAAKgC,MAEe7D,SAAxBN,EAAOmC,KAAKgC,EAAED,QACjBlE,EAAOmC,KAAKgC,EAAED,WAIH,OAATnC,EACH/B,EAAOmC,KAAKgC,EAAED,MAAMlD,MAAMJ,MAAQA,EAAMqD,KAAOA,EAAKlC,KAAO,OAE3D/B,EAAOmC,KAAKJ,GAAMmC,MAAMlD,MAAMJ,MAAQA,EAAMqD,KAAOA,KAIrD1B,KAAK6B,UAAY,SAAShC,GACzBpC,EAAOoC,OAASA,GAGjBG,KAAK8B,WAAa,SAAShC,GAC1BrC,EAAOqC,QAAUA,GAGlBE,KAAK+B,QAAU,SAAShC,GACvBtC,EAAOsC,UAAYA,GAGpBC,KAAKgC,UAAY,SAAS9D,GACzBT,EAAOS,OAASA,MA8CjB+D,UAAU,WAAY,WAAY,SAASC,GAC3C,GAAIC,GAAc,SAASC,EAAMC,EAAQC,EAAMC,GAE9CL,EAAS,WACRK,EAAUtC,cAIZ,QACCuC,SAAY,IACZhF,WAAa,kBACb4E,OACClC,OAAS,YACTC,WAAa,cACbE,aAAe,gBACfG,WAAa,cACbrB,UAAY,aACZZ,aAAe,gBACfM,OAAS,WAEV4D,SAAW,kEACXC,SAAU,EACVC,YAAa,EACbC,KAAQT,MAGTF,UAAU,cAAe,WACzB,GAAIY,GAAe,SAAST,EAAMC,EAAQC,EAAMC,GAC/C,GAAI/D,GAAS8D,EAAMQ,aAAaC,MAAM,IACtCvE,GAAOwE,QAAQV,EAAMW,UACrBV,EAAUxB,UAAUvC,EAAO8D,EAAM1E,WAAW0E,EAAMzE,WAAWyE,EAAMxE,aAGpE,QACCoF,QAAU,WACVV,SAAW,IACXJ,SACAM,SAAU,EACVE,KAAQC,KAGTZ,UAAU,YAAa,WACvB,GAAIkB,GAAa,SAASf,EAAMC,EAAQC,EAAMC,GAC7C,GAAIzD,GAAIwD,EAAMc,OACVtE,IACHyD,EAAUpB,eAAerC,EAG1B,IAAI8C,GAAIU,EAAMV,EACVV,EAAKoB,EAAMpB,GACXD,IACJ,IAAIC,EAAI,CACP,GAAImC,GAAQnC,EAAG6B,MAAM,IACrB,KAAK,GAAIO,KAAQD,GAChBpC,EAAMoC,EAAMC,IAAS,IAEtB,IAAI1B,EAAG,CACN,GAAI2B,GAAS3B,EAAEmB,MAAM,IACrB,KAAK,GAAIS,KAASD,GACjBtC,EAAMsC,EAAOC,IAAU,IAGzBjB,EAAUvB,SAASC,IAIrB,QACCiC,QAAU,WACVV,SAAW,IACXJ,SACAM,SAAU,EACVE,KAAQO,KAGTlB,UAAU,YAAa,WACvB,GAAIwB,GAAa,SAASrB,EAAMC,EAAQC,EAAMC,GAC7C,GAAImB,GAASpB,EAAMqB,UACfD,IACHnB,EAAUjB,aAIZ,QACC4B,QAAU,WACVV,SAAW,IACXJ,SACAO,YAAc,EACdF,SAAY,4BACZC,SAAU,EACVE,KAAQa,KAGTxB,UAAU,aAAc,WACxB,GAAIwB,GAAa,SAASrB,EAAMC,EAAQC,EAAMC,GAC7C,GAAIqB,GAAStB,EAAMuB,aACfC,EAAMxB,EAAMyB,UAEZvE,GAAMsE,OAASpC,KAAOoC,EAAMF,SAAWA,IAEvClF,EAAK4D,EAAM0B,QACXtF,KACHc,EAAKd,KAAKA,EAGX,IAAIuF,GAAS3B,EAAM4B,UACfD,KACHzE,EAAKyE,OAAOA,GAEb1B,EAAUnB,kBAAkB,IAAI5B,GAGjC,QACC0D,QAAU,WACVV,SAAW,IACXJ,SACAO,YAAc,EACdF,SAAY,4BACZC,SAAU,EACVE,KAAQa,KAGTxB,UAAU,aAAc,WACxB,GAAIwB,GAAa,SAASrB,EAAMC,EAAQC,EAAMC,GAC7C,GAAI5E,GAAG2E,EAAM6B,OACTP,EAAStB,EAAMuB,aACfC,EAAMxB,EAAMyB,UAEZvE,GAAMsE,OAASpC,KAAOoC,EAAMF,SAAWA,GAChC,QAAPjG,IACH6B,EAAKe,MAAK,EAEX,IAAI6D,GAAa9B,EAAM8B,WACnBC,EAAgB/B,EAAM+B,eACtBD,GAAcC,KACjBD,EAAa,EAAeA,EAAa,EACzCC,EAAgB,EAAiBA,EAAgB,EACjD7E,EAAK8E,SAAWC,IAAMC,SAASJ,GAAYK,OAASD,SAASH,IAE9D,IAAIK,GAAWpC,EAAMoC,SACjBC,EAAWrC,EAAMqC,QACjBD,KACHlF,EAAKoF,IAAMJ,SAASE,IAEjBC,IACHnF,EAAKqF,IAAML,SAASG,IAGrBpC,EAAUnB,kBAAkBzD,EAAG6B,GAGhC,QACC0D,QAAU,WACVV,SAAW,IACXJ,SACAM,SAAU,EACVE,KAAQa,KAGTxB,UAAU,YAAa,WACvB,GAAI6C,GAAa,SAAS1C,EAAMC,EAAQC,EAAMC,GAC7C,GAAIwC,GAAQzC,EAAMyC,KACdA,IAAmB,SAAVA,GACZxC,EAAUf,QAAQ,IAEnB,IAAIwD,GAAQ1C,EAAM0C,KACdA,IAAmB,SAAVA,GACZzC,EAAUf,QAAQ,IAEnB,IAAIyD,GAAS3C,EAAM2C,MACfA,IAAqB,SAAXA,GACb1C,EAAUf,QAAQ,MAIpB,QACC0B,QAAU,WACVV,SAAW,IACXJ,SACAM,SAAU,EACVE,KAAQkC,EACRnC,YAAc,EACdF,SAAY,+BAGbR,UAAU,oBAAqB,WAC/B,GAAI6C,GAAa,SAAS1C,EAAMC,EAAQC,EAAMC,GAC7C,GAAI4B,GAAS7B,EAAM6B,OACf9F,EAAQiE,EAAM4C,UACdxD,EAAOY,EAAM6C,QAEjB5C,GAAUd,YAAY0C,EAAO9F,EAAMqD,GAGpC,QACCwB,QAAU,WACVV,SAAW,IACXJ,SACAM,SAAU,EACVE,KAAQkC,KAGT7C,UAAU,iBAAkB,WAC5B,GAAImD,GAAa,SAAShD,EAAMC,EAAQC,EAAMC,GAC7C,GAAI5B,MAEA0E,EAAQ/C,EAAMgD,SACdD,KACH1E,EAAK0E,MAAQA,EAId,IAAIE,GAASjD,EAAMkD,UACfD,KACH5E,EAAK4E,OAASA,EAGf,IAAIE,GAAUnD,EAAMoD,WAChBD,KACH9E,EAAK8E,QAAUA,EAGhB,IAAI/B,GAASpB,EAAMqD,UACfjC,KACH/C,EAAK+C,OAASA,EAGf,IAAIkC,GAAMtD,EAAMuD,OACZD,KACHjF,EAAKiF,IAAMA,GAGZrD,EAAUlB,SAASV,GAGpB,QACCuC,QAAU,WACVV,SAAW,IACXJ,SACAM,SAAU,EACVE,KAAQwC,KAITnD,UAAU,cAAe,WACzB,GAAI6D,GAAe,SAAS1D,EAAMC,EAAQC,EAAMC,GAC/C,GAAI1C,GAAS,KACTU,EAAO+B,EAAMyD,UACjB,IAAIxF,GAAiB,UAATA,EACXV,GAAUU,MAAO,OACX,CACN,GAAIqD,GAAWtB,EAAM0D,cACjBpC,KACH/D,GAAU+D,SAAWA,IAIT,MAAV/D,GACH0C,EAAUV,UAAUhC,GAItB,QACCqD,QAAU,WACVV,SAAW,IACXJ,SACAM,SAAU,EACVE,KAAQkD,KAIT7D,UAAU,eAAgB,WAC1B,GAAIgE,GAAgB,SAAS7D,EAAMC,EAAQC,EAAMC,GAChD,GAAIzC,GAAU,KACVS,EAAO+B,EAAM4D,WACjB,IAAI3F,GAAiB,UAATA,EACXT,GAAWS,MAAO,OACZ,CACN,GAAI4F,GAAU7D,EAAM8D,YAChBD,IAAuB,UAAZA,IACdrG,GAAWqG,SAAU,IAIR,MAAXrG,GACHyC,EAAUT,WAAWhC,GAIvB,QACCoD,QAAU,WACVV,SAAW,IACXJ,SACAM,SAAU,EACVE,KAAQqD,KAIThE,UAAU,YAAa,WACvB,GAAIoE,GAAa,SAASjE,EAAMC,EAAQC,EAAMC,GAC7C,GAAIxC,GAAY,KACZuG,EAAQhE,EAAMiE,WACdtC,EAAS3B,EAAMkE,aACfF,GAASrC,KACZlE,KACIuG,IACHvG,EAAUuG,MAAQ9B,SAAS8B,IAExBrC,IACHlE,EAAUkE,OAASO,SAASP,IAE7B1B,EAAUR,QAAQhC,IAIpB,QACCmD,QAAU,WACVV,SAAW,IACXJ,SACAM,SAAU,EACVE,KAAQyD,KAITpE,UAAU,cAAe,WACzB,GAAIwE,GAAe,SAASrE,EAAMC,EAAQC,EAAMC,GAC/C,GAAI1B,GAAUyB,EAAMoE,YAChB7F,IACH0B,EAAUP,UAAUnB,EAAQkC,MAAM,MAIpC,QACCG,QAAU,WACVV,SAAW,IACXJ,SACAM,SAAU,EACVE,KAAQ6D"
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3.js
deleted file mode 100644
index 5f574be7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3.js
+++ /dev/null
@@ -1,7473 +0,0 @@
-(function (window) {
- 'use strict';
-
- /*global define, module, exports, require */
-
- var c3 = {version: "0.4.8"};
-
- var c3_chart_fn, c3_chart_internal_fn;
-
- function Chart(config) {
- var $$ = this.internal = new ChartInternal(this);
- $$.loadConfig(config);
- $$.init();
-
- // bind "this" to nested API
- (function bindThis(fn, target, argThis) {
- Object.keys(fn).forEach(function (key) {
- target[key] = fn[key].bind(argThis);
- if (Object.keys(fn[key]).length > 0) {
- bindThis(fn[key], target[key], argThis);
- }
- });
- })(c3_chart_fn, this, this);
- }
-
- function ChartInternal(api) {
- var $$ = this;
- $$.d3 = window.d3 ? window.d3 : typeof require !== 'undefined' ? require("d3") : undefined;
- $$.api = api;
- $$.config = $$.getDefaultConfig();
- $$.data = {};
- $$.cache = {};
- $$.axes = {};
- }
-
- c3.generate = function (config) {
- return new Chart(config);
- };
-
- c3.chart = {
- fn: Chart.prototype,
- internal: {
- fn: ChartInternal.prototype
- }
- };
- c3_chart_fn = c3.chart.fn;
- c3_chart_internal_fn = c3.chart.internal.fn;
-
-
- c3_chart_internal_fn.init = function () {
- var $$ = this, config = $$.config;
-
- $$.initParams();
-
- if (config.data_url) {
- $$.convertUrlToData(config.data_url, config.data_mimeType, config.data_keys, $$.initWithData);
- }
- else if (config.data_json) {
- $$.initWithData($$.convertJsonToData(config.data_json, config.data_keys));
- }
- else if (config.data_rows) {
- $$.initWithData($$.convertRowsToData(config.data_rows));
- }
- else if (config.data_columns) {
- $$.initWithData($$.convertColumnsToData(config.data_columns));
- }
- else {
- throw Error('url or json or rows or columns is required.');
- }
- };
-
- c3_chart_internal_fn.initParams = function () {
- var $$ = this, d3 = $$.d3, config = $$.config;
-
- // MEMO: clipId needs to be unique because it conflicts when multiple charts exist
- $$.clipId = "c3-" + (+new Date()) + '-clip',
- $$.clipIdForXAxis = $$.clipId + '-xaxis',
- $$.clipIdForYAxis = $$.clipId + '-yaxis',
- $$.clipIdForGrid = $$.clipId + '-grid',
- $$.clipIdForSubchart = $$.clipId + '-subchart',
- $$.clipPath = $$.getClipPath($$.clipId),
- $$.clipPathForXAxis = $$.getClipPath($$.clipIdForXAxis),
- $$.clipPathForYAxis = $$.getClipPath($$.clipIdForYAxis);
- $$.clipPathForGrid = $$.getClipPath($$.clipIdForGrid),
- $$.clipPathForSubchart = $$.getClipPath($$.clipIdForSubchart),
-
- $$.dragStart = null;
- $$.dragging = false;
- $$.flowing = false;
- $$.cancelClick = false;
- $$.mouseover = false;
- $$.transiting = false;
-
- $$.color = $$.generateColor();
- $$.levelColor = $$.generateLevelColor();
-
- $$.dataTimeFormat = config.data_xLocaltime ? d3.time.format : d3.time.format.utc;
- $$.axisTimeFormat = config.axis_x_localtime ? d3.time.format : d3.time.format.utc;
- $$.defaultAxisTimeFormat = $$.axisTimeFormat.multi([
- [".%L", function (d) {
- return d.getMilliseconds();
- }],
- [":%S", function (d) {
- return d.getSeconds();
- }],
- ["%I:%M", function (d) {
- return d.getMinutes();
- }],
- ["%I %p", function (d) {
- return d.getHours();
- }],
- ["%-m/%-d", function (d) {
- return d.getDay() && d.getDate() !== 1;
- }],
- ["%-m/%-d", function (d) {
- return d.getDate() !== 1;
- }],
- ["%-m/%-d", function (d) {
- return d.getMonth();
- }],
- ["%Y/%-m/%-d", function () {
- return true;
- }]
- ]);
-
- $$.hiddenTargetIds = [];
- $$.hiddenLegendIds = [];
- $$.focusedTargetIds = [];
- $$.defocusedTargetIds = [];
-
- $$.xOrient = config.axis_rotated ? "left" : "bottom";
- $$.yOrient = config.axis_rotated ? (config.axis_y_inner ? "top" : "bottom") : (config.axis_y_inner ? "right" : "left");
- $$.y2Orient = config.axis_rotated ? (config.axis_y2_inner ? "bottom" : "top") : (config.axis_y2_inner ? "left" : "right");
- $$.subXOrient = config.axis_rotated ? "left" : "bottom";
-
- $$.isLegendRight = config.legend_position === 'right';
- $$.isLegendInset = config.legend_position === 'inset';
- $$.isLegendTop = config.legend_inset_anchor === 'top-left' || config.legend_inset_anchor === 'top-right';
- $$.isLegendLeft = config.legend_inset_anchor === 'top-left' || config.legend_inset_anchor === 'bottom-left';
- $$.legendStep = 0;
- $$.legendItemWidth = 0;
- $$.legendItemHeight = 0;
-
- $$.currentMaxTickWidths = {
- x: 0,
- y: 0,
- y2: 0
- };
-
- $$.rotated_padding_left = 30;
- $$.rotated_padding_right = config.axis_rotated && !config.axis_x_show ? 0 : 30;
- $$.rotated_padding_top = 5;
-
- $$.withoutFadeIn = {};
-
- $$.intervalForObserveInserted = undefined;
-
- $$.axes.subx = d3.selectAll([]); // needs when excluding subchart.js
- };
-
- c3_chart_internal_fn.initChartElements = function () {
- if (this.initBar) {
- this.initBar();
- }
- if (this.initLine) {
- this.initLine();
- }
- if (this.initArc) {
- this.initArc();
- }
- if (this.initGauge) {
- this.initGauge();
- }
- if (this.initText) {
- this.initText();
- }
- };
-
- c3_chart_internal_fn.initWithData = function (data) {
- var $$ = this, d3 = $$.d3, config = $$.config;
- var defs, main, binding = true;
-
- if ($$.initPie) {
- $$.initPie();
- }
- if ($$.initBrush) {
- $$.initBrush();
- }
- if ($$.initZoom) {
- $$.initZoom();
- }
-
- $$.selectChart = typeof config.bindto.node === 'function' ? config.bindto : d3.select(config.bindto);
- if ($$.selectChart.empty()) {
- $$.selectChart = d3.select(document.createElement('div')).style('opacity', 0);
- $$.observeInserted($$.selectChart);
- binding = false;
- }
- $$.selectChart.html("").classed("c3", true);
-
- // Init data as targets
- $$.data.xs = {};
- $$.data.targets = $$.convertDataToTargets(data);
-
- if (config.data_filter) {
- $$.data.targets = $$.data.targets.filter(config.data_filter);
- }
-
- // Set targets to hide if needed
- if (config.data_hide) {
- $$.addHiddenTargetIds(config.data_hide === true ? $$.mapToIds($$.data.targets) : config.data_hide);
- }
- if (config.legend_hide) {
- $$.addHiddenLegendIds(config.legend_hide === true ? $$.mapToIds($$.data.targets) : config.legend_hide);
- }
-
- // when gauge, hide legend // TODO: fix
- if ($$.hasType('gauge')) {
- config.legend_show = false;
- }
-
- // Init sizes and scales
- $$.updateSizes();
- $$.updateScales();
-
- // Set domains for each scale
- $$.x.domain(d3.extent($$.getXDomain($$.data.targets)));
- $$.y.domain($$.getYDomain($$.data.targets, 'y'));
- $$.y2.domain($$.getYDomain($$.data.targets, 'y2'));
- $$.subX.domain($$.x.domain());
- $$.subY.domain($$.y.domain());
- $$.subY2.domain($$.y2.domain());
-
- // Save original x domain for zoom update
- $$.orgXDomain = $$.x.domain();
-
- // Set initialized scales to brush and zoom
- if ($$.brush) {
- $$.brush.scale($$.subX);
- }
- if (config.zoom_enabled) {
- $$.zoom.scale($$.x);
- }
-
- /*-- Basic Elements --*/
-
- // Define svgs
- $$.svg = $$.selectChart.append("svg")
- .style("overflow", "hidden")
- .on('mouseenter', function () {
- return config.onmouseover.call($$);
- })
- .on('mouseleave', function () {
- return config.onmouseout.call($$);
- });
-
- // Define defs
- defs = $$.svg.append("defs");
- $$.clipChart = $$.appendClip(defs, $$.clipId);
- $$.clipXAxis = $$.appendClip(defs, $$.clipIdForXAxis);
- $$.clipYAxis = $$.appendClip(defs, $$.clipIdForYAxis);
- $$.clipGrid = $$.appendClip(defs, $$.clipIdForGrid);
- $$.clipSubchart = $$.appendClip(defs, $$.clipIdForSubchart);
- $$.updateSvgSize();
-
- // Define regions
- main = $$.main = $$.svg.append("g").attr("transform", $$.getTranslate('main'));
-
- if ($$.initSubchart) {
- $$.initSubchart();
- }
- if ($$.initTooltip) {
- $$.initTooltip();
- }
- if ($$.initLegend) {
- $$.initLegend();
- }
-
- /*-- Main Region --*/
-
- // text when empty
- main.append("text")
- .attr("class", CLASS.text + ' ' + CLASS.empty)
- .attr("text-anchor", "middle") // horizontal centering of text at x position in all browsers.
- .attr("dominant-baseline", "middle"); // vertical centering of text at y position in all browsers, except IE.
-
- // Regions
- $$.initRegion();
-
- // Grids
- $$.initGrid();
-
- // Define g for chart area
- main.append('g')
- .attr("clip-path", $$.clipPath)
- .attr('class', CLASS.chart);
-
- // Grid lines
- if (config.grid_lines_front) {
- $$.initGridLines();
- }
-
- // Cover whole with rects for events
- $$.initEventRect();
-
- // Define g for chart
- $$.initChartElements();
-
- // if zoom privileged, insert rect to forefront
- // TODO: is this needed?
- main.insert('rect', config.zoom_privileged ? null : 'g.' + CLASS.regions)
- .attr('class', CLASS.zoomRect)
- .attr('width', $$.width)
- .attr('height', $$.height)
- .style('opacity', 0)
- .on("dblclick.zoom", null);
-
- // Set default extent if defined
- if (config.axis_x_extent) {
- $$.brush.extent($$.getDefaultExtent());
- }
-
- // Add Axis
- $$.initAxis();
-
- // Set targets
- $$.updateTargets($$.data.targets);
-
- // Draw with targets
- if (binding) {
- $$.updateDimension();
- $$.config.oninit.call($$);
- $$.redraw({
- withTransform: true,
- withUpdateXDomain: true,
- withUpdateOrgXDomain: true,
- withTransitionForAxis: false
- });
- }
-
- // Bind resize event
- if (window.onresize == null) {
- window.onresize = $$.generateResize();
- }
- if (window.onresize.add) {
- window.onresize.add(function () {
- config.onresize.call($$);
- });
- window.onresize.add(function () {
- $$.api.flush();
- });
- window.onresize.add(function () {
- config.onresized.call($$);
- });
- }
-
- // export element of the chart
- $$.api.element = $$.selectChart.node();
- };
-
- c3_chart_internal_fn.smoothLines = function (el, type) {
- var $$ = this;
- if (type === 'grid') {
- el.each(function () {
- var g = $$.d3.select(this),
- x1 = g.attr('x1'),
- x2 = g.attr('x2'),
- y1 = g.attr('y1'),
- y2 = g.attr('y2');
- g.attr({
- 'x1': Math.ceil(x1),
- 'x2': Math.ceil(x2),
- 'y1': Math.ceil(y1),
- 'y2': Math.ceil(y2)
- });
- });
- }
- };
-
-
- c3_chart_internal_fn.updateSizes = function () {
- var $$ = this, config = $$.config;
- var legendHeight = $$.legend ? $$.getLegendHeight() : 0,
- legendWidth = $$.legend ? $$.getLegendWidth() : 0,
- legendHeightForBottom = $$.isLegendRight || $$.isLegendInset ? 0 : legendHeight,
- hasArc = $$.hasArcType(),
- xAxisHeight = config.axis_rotated || hasArc ? 0 : $$.getHorizontalAxisHeight('x'),
- subchartHeight = config.subchart_show && !hasArc ? (config.subchart_size_height + xAxisHeight) : 0;
-
- $$.currentWidth = $$.getCurrentWidth();
- $$.currentHeight = $$.getCurrentHeight();
-
- // for main
- $$.margin = config.axis_rotated ? {
- top: $$.getHorizontalAxisHeight('y2') + $$.getCurrentPaddingTop(),
- right: hasArc ? 0 : $$.getCurrentPaddingRight(),
- bottom: $$.getHorizontalAxisHeight('y') + legendHeightForBottom + $$.getCurrentPaddingBottom(),
- left: subchartHeight + (hasArc ? 0 : $$.getCurrentPaddingLeft())
- } : {
- top: 4 + $$.getCurrentPaddingTop(), // for top tick text
- right: hasArc ? 0 : $$.getCurrentPaddingRight(),
- bottom: xAxisHeight + subchartHeight + legendHeightForBottom + $$.getCurrentPaddingBottom(),
- left: hasArc ? 0 : $$.getCurrentPaddingLeft()
- };
-
- // for subchart
- $$.margin2 = config.axis_rotated ? {
- top: $$.margin.top,
- right: NaN,
- bottom: 20 + legendHeightForBottom,
- left: $$.rotated_padding_left
- } : {
- top: $$.currentHeight - subchartHeight - legendHeightForBottom,
- right: NaN,
- bottom: xAxisHeight + legendHeightForBottom,
- left: $$.margin.left
- };
-
- // for legend
- $$.margin3 = {
- top: 0,
- right: NaN,
- bottom: 0,
- left: 0
- };
- if ($$.updateSizeForLegend) {
- $$.updateSizeForLegend(legendHeight, legendWidth);
- }
-
- $$.width = $$.currentWidth - $$.margin.left - $$.margin.right;
- $$.height = $$.currentHeight - $$.margin.top - $$.margin.bottom;
- if ($$.width < 0) {
- $$.width = 0;
- }
- if ($$.height < 0) {
- $$.height = 0;
- }
-
- $$.width2 = config.axis_rotated ? $$.margin.left - $$.rotated_padding_left - $$.rotated_padding_right : $$.width;
- $$.height2 = config.axis_rotated ? $$.height : $$.currentHeight - $$.margin2.top - $$.margin2.bottom;
- if ($$.width2 < 0) {
- $$.width2 = 0;
- }
- if ($$.height2 < 0) {
- $$.height2 = 0;
- }
-
- // for arc
- $$.arcWidth = $$.width - ($$.isLegendRight ? legendWidth + 10 : 0);
- $$.arcHeight = $$.height - ($$.isLegendRight ? 0 : 10);
- if ($$.hasType('gauge')) {
- $$.arcHeight += $$.height - $$.getGaugeLabelHeight();
- }
- if ($$.updateRadius) {
- $$.updateRadius();
- }
-
- if ($$.isLegendRight && hasArc) {
- $$.margin3.left = $$.arcWidth / 2 + $$.radiusExpanded * 1.1;
- }
- };
-
- c3_chart_internal_fn.updateTargets = function (targets) {
- var $$ = this, config = $$.config;
-
- /*-- Main --*/
-
- //-- Text --//
- $$.updateTargetsForText(targets);
-
- //-- Bar --//
- $$.updateTargetsForBar(targets);
-
- //-- Line --//
- $$.updateTargetsForLine(targets);
-
- //-- Arc --//
- if ($$.updateTargetsForArc) {
- $$.updateTargetsForArc(targets);
- }
- if ($$.updateTargetsForSubchart) {
- $$.updateTargetsForSubchart(targets);
- }
-
- /*-- Show --*/
-
- // Fade-in each chart
- $$.svg.selectAll('.' + CLASS.target).filter(function (d) {
- return $$.isTargetToShow(d.id);
- })
- .transition().duration(config.transition_duration)
- .style("opacity", 1);
- };
-
- c3_chart_internal_fn.redraw = function (options, transitions) {
- var $$ = this, main = $$.main, d3 = $$.d3, config = $$.config;
- var areaIndices = $$.getShapeIndices($$.isAreaType), barIndices = $$.getShapeIndices($$.isBarType), lineIndices = $$.getShapeIndices($$.isLineType);
- var withY, withSubchart, withTransition, withTransitionForExit, withTransitionForAxis,
- withTransform, withUpdateXDomain, withUpdateOrgXDomain, withTrimXDomain, withLegend,
- withEventRect, withDimension, withUpdateXAxis;
- var hideAxis = $$.hasArcType();
- var drawArea, drawBar, drawLine, xForText, yForText;
- var duration, durationForExit, durationForAxis;
- var waitForDraw, flow;
- var targetsToShow = $$.filterTargetsToShow($$.data.targets), tickValues, i, intervalForCulling, xDomainForZoom;
- var xv = $$.xv.bind($$), cx, cy;
-
- options = options || {};
- withY = getOption(options, "withY", true);
- withSubchart = getOption(options, "withSubchart", true);
- withTransition = getOption(options, "withTransition", true);
- withTransform = getOption(options, "withTransform", false);
- withUpdateXDomain = getOption(options, "withUpdateXDomain", false);
- withUpdateOrgXDomain = getOption(options, "withUpdateOrgXDomain", false);
- withTrimXDomain = getOption(options, "withTrimXDomain", true);
- withUpdateXAxis = getOption(options, "withUpdateXAxis", withUpdateXDomain);
- withLegend = getOption(options, "withLegend", false);
- withEventRect = getOption(options, "withEventRect", true);
- withDimension = getOption(options, "withDimension", true);
- withTransitionForExit = getOption(options, "withTransitionForExit", withTransition);
- withTransitionForAxis = getOption(options, "withTransitionForAxis", withTransition);
-
- duration = withTransition ? config.transition_duration : 0;
- durationForExit = withTransitionForExit ? duration : 0;
- durationForAxis = withTransitionForAxis ? duration : 0;
-
- transitions = transitions || $$.generateAxisTransitions(durationForAxis);
-
- // update legend and transform each g
- if (withLegend && config.legend_show) {
- $$.updateLegend($$.mapToIds($$.data.targets), options, transitions);
- } else if (withDimension) {
- // need to update dimension (e.g. axis.y.tick.values) because y tick values should change
- // no need to update axis in it because they will be updated in redraw()
- $$.updateDimension(true);
- }
-
- // MEMO: needed for grids calculation
- if ($$.isCategorized() && targetsToShow.length === 0) {
- $$.x.domain([0, $$.axes.x.selectAll('.tick').size()]);
- }
-
- if (targetsToShow.length) {
- $$.updateXDomain(targetsToShow, withUpdateXDomain, withUpdateOrgXDomain, withTrimXDomain);
- if (!config.axis_x_tick_values) {
- if (config.axis_x_tick_fit || config.axis_x_tick_count) {
- tickValues = $$.generateTickValues($$.mapTargetsToUniqueXs(targetsToShow), config.axis_x_tick_count, $$.isTimeSeries());
- } else {
- tickValues = undefined;
- }
- $$.xAxis.tickValues(tickValues);
- $$.subXAxis.tickValues(tickValues);
- }
- } else {
- $$.xAxis.tickValues([]);
- $$.subXAxis.tickValues([]);
- }
-
- if (config.zoom_rescale && !options.flow) {
- xDomainForZoom = $$.x.orgDomain();
- }
-
- $$.y.domain($$.getYDomain(targetsToShow, 'y', xDomainForZoom));
- $$.y2.domain($$.getYDomain(targetsToShow, 'y2', xDomainForZoom));
-
- if (!config.axis_y_tick_values && config.axis_y_tick_count) {
- $$.yAxis.tickValues($$.generateTickValues($$.y.domain(), config.axis_y_tick_count));
- }
- if (!config.axis_y2_tick_values && config.axis_y2_tick_count) {
- $$.y2Axis.tickValues($$.generateTickValues($$.y2.domain(), config.axis_y2_tick_count));
- }
-
- // axes
- $$.redrawAxis(transitions, hideAxis);
-
- // Update axis label
- $$.updateAxisLabels(withTransition);
-
- // show/hide if manual culling needed
- if ((withUpdateXDomain || withUpdateXAxis) && targetsToShow.length) {
- if (config.axis_x_tick_culling && tickValues) {
- for (i = 1; i < tickValues.length; i++) {
- if (tickValues.length / i < config.axis_x_tick_culling_max) {
- intervalForCulling = i;
- break;
- }
- }
- $$.svg.selectAll('.' + CLASS.axisX + ' .tick text').each(function (e) {
- var index = tickValues.indexOf(e);
- if (index >= 0) {
- d3.select(this).style('display', index % intervalForCulling ? 'none' : 'block');
- }
- });
- } else {
- $$.svg.selectAll('.' + CLASS.axisX + ' .tick text').style('display', 'block');
- }
- }
-
- // setup drawer - MEMO: these must be called after axis updated
- drawArea = $$.generateDrawArea ? $$.generateDrawArea(areaIndices, false) : undefined;
- drawBar = $$.generateDrawBar ? $$.generateDrawBar(barIndices) : undefined;
- drawLine = $$.generateDrawLine ? $$.generateDrawLine(lineIndices, false) : undefined;
- xForText = $$.generateXYForText(areaIndices, barIndices, lineIndices, true);
- yForText = $$.generateXYForText(areaIndices, barIndices, lineIndices, false);
-
- // Update sub domain
- if (withY) {
- $$.subY.domain($$.getYDomain(targetsToShow, 'y'));
- $$.subY2.domain($$.getYDomain(targetsToShow, 'y2'));
- }
-
- // tooltip
- $$.tooltip.style("display", "none");
-
- // xgrid focus
- $$.updateXgridFocus();
-
- // Data empty label positioning and text.
- main.select("text." + CLASS.text + '.' + CLASS.empty)
- .attr("x", $$.width / 2)
- .attr("y", $$.height / 2)
- .text(config.data_empty_label_text)
- .transition()
- .style('opacity', targetsToShow.length ? 0 : 1);
-
- // grid
- $$.redrawGrid(duration);
-
- // rect for regions
- $$.redrawRegion(duration);
-
- // bars
- $$.redrawBar(durationForExit);
-
- // lines, areas and cricles
- $$.redrawLine(durationForExit);
- $$.redrawArea(durationForExit);
- $$.redrawCircle();
-
- // text
- if ($$.hasDataLabel()) {
- $$.redrawText(durationForExit);
- }
-
- // arc
- if ($$.redrawArc) {
- $$.redrawArc(duration, durationForExit, withTransform);
- }
-
- // subchart
- if ($$.redrawSubchart) {
- $$.redrawSubchart(withSubchart, transitions, duration, durationForExit, areaIndices, barIndices, lineIndices);
- }
-
- // circles for select
- main.selectAll('.' + CLASS.selectedCircles)
- .filter($$.isBarType.bind($$))
- .selectAll('circle')
- .remove();
-
- // event rects will redrawn when flow called
- if (config.interaction_enabled && !options.flow && withEventRect) {
- $$.redrawEventRect();
- if ($$.updateZoom) {
- $$.updateZoom();
- }
- }
-
- // update circleY based on updated parameters
- $$.updateCircleY();
-
- // generate circle x/y functions depending on updated params
- cx = ($$.config.axis_rotated ? $$.circleY : $$.circleX).bind($$);
- cy = ($$.config.axis_rotated ? $$.circleX : $$.circleY).bind($$);
-
- // transition should be derived from one transition
- d3.transition().duration(duration).each(function () {
- var transitions = [];
-
- $$.addTransitionForBar(transitions, drawBar);
- $$.addTransitionForLine(transitions, drawLine);
- $$.addTransitionForArea(transitions, drawArea);
- $$.addTransitionForCircle(transitions, cx, cy);
- $$.addTransitionForText(transitions, xForText, yForText, options.flow);
- $$.addTransitionForRegion(transitions);
- $$.addTransitionForGrid(transitions);
-
- // Wait for end of transitions if called from flow API
- if (options.flow) {
- waitForDraw = $$.generateWait();
- transitions.forEach(function (t) {
- waitForDraw.add(t);
- });
- flow = $$.generateFlow({
- targets: targetsToShow,
- flow: options.flow,
- duration: duration,
- drawBar: drawBar,
- drawLine: drawLine,
- drawArea: drawArea,
- cx: cx,
- cy: cy,
- xv: xv,
- xForText: xForText,
- yForText: yForText
- });
- }
- })
- .call(waitForDraw || function () {
- }, flow || function () {
- });
-
- // update fadein condition
- $$.mapToIds($$.data.targets).forEach(function (id) {
- $$.withoutFadeIn[id] = true;
- });
- };
-
- c3_chart_internal_fn.updateAndRedraw = function (options) {
- var $$ = this, config = $$.config, transitions;
- options = options || {};
- // same with redraw
- options.withTransition = getOption(options, "withTransition", true);
- options.withTransform = getOption(options, "withTransform", false);
- options.withLegend = getOption(options, "withLegend", false);
- // NOT same with redraw
- options.withUpdateXDomain = true;
- options.withUpdateOrgXDomain = true;
- options.withTransitionForExit = false;
- options.withTransitionForTransform = getOption(options, "withTransitionForTransform", options.withTransition);
- // MEMO: this needs to be called before updateLegend and it means this ALWAYS needs to be called)
- $$.updateSizes();
- // MEMO: called in updateLegend in redraw if withLegend
- if (!(options.withLegend && config.legend_show)) {
- transitions = $$.generateAxisTransitions(options.withTransitionForAxis ? config.transition_duration : 0);
- // Update scales
- $$.updateScales();
- $$.updateSvgSize();
- // Update g positions
- $$.transformAll(options.withTransitionForTransform, transitions);
- }
- // Draw with new sizes & scales
- $$.redraw(options, transitions);
- };
- c3_chart_internal_fn.redrawWithoutRescale = function () {
- this.redraw({
- withY: false,
- withSubchart: false,
- withEventRect: false,
- withTransitionForAxis: false
- });
- };
-
- c3_chart_internal_fn.isTimeSeries = function () {
- return this.config.axis_x_type === 'timeseries';
- };
- c3_chart_internal_fn.isCategorized = function () {
- return this.config.axis_x_type.indexOf('categor') >= 0;
- };
- c3_chart_internal_fn.isCustomX = function () {
- var $$ = this, config = $$.config;
- return !$$.isTimeSeries() && (config.data_x || notEmpty(config.data_xs));
- };
-
- c3_chart_internal_fn.isTimeSeriesY = function () {
- return this.config.axis_y_type === 'timeseries';
- };
-
- c3_chart_internal_fn.getTranslate = function (target) {
- var $$ = this, config = $$.config, x, y;
- if (target === 'main') {
- x = asHalfPixel($$.margin.left);
- y = asHalfPixel($$.margin.top);
- } else if (target === 'context') {
- x = asHalfPixel($$.margin2.left);
- y = asHalfPixel($$.margin2.top);
- } else if (target === 'legend') {
- x = $$.margin3.left;
- y = $$.margin3.top;
- } else if (target === 'x') {
- x = 0;
- y = config.axis_rotated ? 0 : $$.height;
- } else if (target === 'y') {
- x = 0;
- y = config.axis_rotated ? $$.height : 0;
- } else if (target === 'y2') {
- x = config.axis_rotated ? 0 : $$.width;
- y = config.axis_rotated ? 1 : 0;
- } else if (target === 'subx') {
- x = 0;
- y = config.axis_rotated ? 0 : $$.height2;
- } else if (target === 'arc') {
- x = $$.arcWidth / 2;
- y = $$.arcHeight / 2;
- }
- return "translate(" + x + "," + y + ")";
- };
- c3_chart_internal_fn.initialOpacity = function (d) {
- return d.value !== null && this.withoutFadeIn[d.id] ? 1 : 0;
- };
- c3_chart_internal_fn.initialOpacityForCircle = function (d) {
- return d.value !== null && this.withoutFadeIn[d.id] ? this.opacityForCircle(d) : 0;
- };
- c3_chart_internal_fn.opacityForCircle = function (d) {
- var opacity = this.config.point_show ? 1 : 0;
- return isValue(d.value) ? (this.isScatterType(d) ? 0.5 : opacity) : 0;
- };
- c3_chart_internal_fn.opacityForText = function () {
- return this.hasDataLabel() ? 1 : 0;
- };
- c3_chart_internal_fn.xx = function (d) {
- return d ? this.x(d.x) : null;
- };
- c3_chart_internal_fn.xv = function (d) {
- var $$ = this, value = d.value;
- if ($$.isTimeSeries()) {
- value = $$.parseDate(d.value);
- }
- else if ($$.isCategorized() && typeof d.value === 'string') {
- value = $$.config.axis_x_categories.indexOf(d.value);
- }
- return Math.ceil($$.x(value));
- };
- c3_chart_internal_fn.yv = function (d) {
- var $$ = this,
- yScale = d.axis && d.axis === 'y2' ? $$.y2 : $$.y;
- return Math.ceil(yScale(d.value));
- };
- c3_chart_internal_fn.subxx = function (d) {
- return d ? this.subX(d.x) : null;
- };
-
- c3_chart_internal_fn.transformMain = function (withTransition, transitions) {
- var $$ = this,
- xAxis, yAxis, y2Axis;
- if (transitions && transitions.axisX) {
- xAxis = transitions.axisX;
- } else {
- xAxis = $$.main.select('.' + CLASS.axisX);
- if (withTransition) {
- xAxis = xAxis.transition();
- }
- }
- if (transitions && transitions.axisY) {
- yAxis = transitions.axisY;
- } else {
- yAxis = $$.main.select('.' + CLASS.axisY);
- if (withTransition) {
- yAxis = yAxis.transition();
- }
- }
- if (transitions && transitions.axisY2) {
- y2Axis = transitions.axisY2;
- } else {
- y2Axis = $$.main.select('.' + CLASS.axisY2);
- if (withTransition) {
- y2Axis = y2Axis.transition();
- }
- }
- (withTransition ? $$.main.transition() : $$.main).attr("transform", $$.getTranslate('main'));
- xAxis.attr("transform", $$.getTranslate('x'));
- yAxis.attr("transform", $$.getTranslate('y'));
- y2Axis.attr("transform", $$.getTranslate('y2'));
- $$.main.select('.' + CLASS.chartArcs).attr("transform", $$.getTranslate('arc'));
- };
- c3_chart_internal_fn.transformAll = function (withTransition, transitions) {
- var $$ = this;
- $$.transformMain(withTransition, transitions);
- if ($$.config.subchart_show) {
- $$.transformContext(withTransition, transitions);
- }
- if ($$.legend) {
- $$.transformLegend(withTransition);
- }
- };
-
- c3_chart_internal_fn.updateSvgSize = function () {
- var $$ = this,
- brush = $$.svg.select(".c3-brush .background");
- $$.svg.attr('width', $$.currentWidth).attr('height', $$.currentHeight);
- $$.svg.selectAll(['#' + $$.clipId, '#' + $$.clipIdForGrid]).select('rect')
- .attr('width', $$.width)
- .attr('height', $$.height);
- $$.svg.select('#' + $$.clipIdForXAxis).select('rect')
- .attr('x', $$.getXAxisClipX.bind($$))
- .attr('y', $$.getXAxisClipY.bind($$))
- .attr('width', $$.getXAxisClipWidth.bind($$))
- .attr('height', $$.getXAxisClipHeight.bind($$));
- $$.svg.select('#' + $$.clipIdForYAxis).select('rect')
- .attr('x', $$.getYAxisClipX.bind($$))
- .attr('y', $$.getYAxisClipY.bind($$))
- .attr('width', $$.getYAxisClipWidth.bind($$))
- .attr('height', $$.getYAxisClipHeight.bind($$));
- $$.svg.select('#' + $$.clipIdForSubchart).select('rect')
- .attr('width', $$.width)
- .attr('height', brush.size() ? brush.attr('height') : 0);
- $$.svg.select('.' + CLASS.zoomRect)
- .attr('width', $$.width)
- .attr('height', $$.height);
- // MEMO: parent div's height will be bigger than svg when <!DOCTYPE html>
- $$.selectChart.style('max-height', $$.currentHeight + "px");
- };
-
-
- c3_chart_internal_fn.updateDimension = function (withoutAxis) {
- var $$ = this;
- if (!withoutAxis) {
- if ($$.config.axis_rotated) {
- $$.axes.x.call($$.xAxis);
- $$.axes.subx.call($$.subXAxis);
- } else {
- $$.axes.y.call($$.yAxis);
- $$.axes.y2.call($$.y2Axis);
- }
- }
- $$.updateSizes();
- $$.updateScales();
- $$.updateSvgSize();
- $$.transformAll(false);
- };
-
- c3_chart_internal_fn.observeInserted = function (selection) {
- var $$ = this, observer = new MutationObserver(function (mutations) {
- mutations.forEach(function (mutation) {
- if (mutation.type === 'childList' && mutation.previousSibling) {
- observer.disconnect();
- // need to wait for completion of load because size calculation requires the actual sizes determined after that completion
- $$.intervalForObserveInserted = window.setInterval(function () {
- // parentNode will NOT be null when completed
- if (selection.node().parentNode) {
- window.clearInterval($$.intervalForObserveInserted);
- $$.updateDimension();
- $$.config.oninit.call($$);
- $$.redraw({
- withTransform: true,
- withUpdateXDomain: true,
- withUpdateOrgXDomain: true,
- withTransition: false,
- withTransitionForTransform: false,
- withLegend: true
- });
- selection.transition().style('opacity', 1);
- }
- }, 10);
- }
- });
- });
- observer.observe(selection.node(), {attributes: true, childList: true, characterData: true});
- };
-
-
- c3_chart_internal_fn.generateResize = function () {
- var resizeFunctions = [];
-
- function callResizeFunctions() {
- resizeFunctions.forEach(function (f) {
- f();
- });
- }
-
- callResizeFunctions.add = function (f) {
- resizeFunctions.push(f);
- };
- return callResizeFunctions;
- };
-
- c3_chart_internal_fn.endall = function (transition, callback) {
- var n = 0;
- transition
- .each(function () {
- ++n;
- })
- .each("end", function () {
- if (!--n) {
- callback.apply(this, arguments);
- }
- });
- };
- c3_chart_internal_fn.generateWait = function () {
- var transitionsToWait = [],
- f = function (transition, callback) {
- var timer = setInterval(function () {
- var done = 0;
- transitionsToWait.forEach(function (t) {
- if (t.empty()) {
- done += 1;
- return;
- }
- try {
- t.transition();
- } catch (e) {
- done += 1;
- }
- });
- if (done === transitionsToWait.length) {
- clearInterval(timer);
- if (callback) {
- callback();
- }
- }
- }, 10);
- };
- f.add = function (transition) {
- transitionsToWait.push(transition);
- };
- return f;
- };
-
- c3_chart_internal_fn.parseDate = function (date) {
- var $$ = this, parsedDate;
- if (date instanceof Date) {
- parsedDate = date;
- } else if (typeof date === 'number' || !isNaN(date)) {
- parsedDate = new Date(+date);
- } else {
- parsedDate = $$.dataTimeFormat($$.config.data_xFormat).parse(date);
- }
- if (!parsedDate || isNaN(+parsedDate)) {
- window.console.error("Failed to parse x '" + date + "' to Date object");
- }
- return parsedDate;
- };
-
- c3_chart_internal_fn.getDefaultConfig = function () {
- var config = {
- bindto: '#chart',
- size_width: undefined,
- size_height: undefined,
- padding_left: undefined,
- padding_right: undefined,
- padding_top: undefined,
- padding_bottom: undefined,
- zoom_enabled: false,
- zoom_extent: undefined,
- zoom_privileged: false,
- zoom_rescale: false,
- zoom_onzoom: function () {
- },
- zoom_onzoomstart: function () {
- },
- zoom_onzoomend: function () {
- },
- interaction_enabled: true,
- onmouseover: function () {
- },
- onmouseout: function () {
- },
- onresize: function () {
- },
- onresized: function () {
- },
- oninit: function () {
- },
- transition_duration: 350,
- data_x: undefined,
- data_xs: {},
- data_xFormat: '%Y-%m-%d',
- data_xLocaltime: true,
- data_xSort: true,
- data_idConverter: function (id) {
- return id;
- },
- data_names: {},
- data_classes: {},
- data_groups: [],
- data_axes: {},
- data_type: undefined,
- data_types: {},
- data_labels: {},
- data_order: 'desc',
- data_regions: {},
- data_color: undefined,
- data_colors: {},
- data_hide: false,
- data_filter: undefined,
- data_selection_enabled: false,
- data_selection_grouped: false,
- data_selection_isselectable: function () {
- return true;
- },
- data_selection_multiple: true,
- data_onclick: function () {
- },
- data_onmouseover: function () {
- },
- data_onmouseout: function () {
- },
- data_onselected: function () {
- },
- data_onunselected: function () {
- },
- data_ondragstart: function () {
- },
- data_ondragend: function () {
- },
- data_url: undefined,
- data_json: undefined,
- data_rows: undefined,
- data_columns: undefined,
- data_mimeType: undefined,
- data_keys: undefined,
- // configuration for no plot-able data supplied.
- data_empty_label_text: "",
- // subchart
- subchart_show: false,
- subchart_size_height: 60,
- subchart_onbrush: function () {
- },
- // color
- color_pattern: [],
- color_threshold: {},
- // legend
- legend_show: true,
- legend_hide: false,
- legend_position: 'bottom',
- legend_inset_anchor: 'top-left',
- legend_inset_x: 10,
- legend_inset_y: 0,
- legend_inset_step: undefined,
- legend_item_onclick: undefined,
- legend_item_onmouseover: undefined,
- legend_item_onmouseout: undefined,
- legend_equally: false,
- // axis
- axis_rotated: false,
- axis_x_show: true,
- axis_x_type: 'indexed',
- axis_x_localtime: true,
- axis_x_categories: [],
- axis_x_tick_centered: false,
- axis_x_tick_format: undefined,
- axis_x_tick_culling: {},
- axis_x_tick_culling_max: 10,
- axis_x_tick_count: undefined,
- axis_x_tick_fit: true,
- axis_x_tick_values: null,
- axis_x_tick_rotate: 0,
- axis_x_tick_outer: true,
- axis_x_tick_multiline: true,
- axis_x_tick_width: null,
- axis_x_max: undefined,
- axis_x_min: undefined,
- axis_x_padding: {},
- axis_x_height: undefined,
- axis_x_extent: undefined,
- axis_x_label: {},
- axis_y_show: true,
- axis_y_type: undefined,
- axis_y_max: undefined,
- axis_y_min: undefined,
- axis_y_center: undefined,
- axis_y_inner: undefined,
- axis_y_label: {},
- axis_y_tick_format: undefined,
- axis_y_tick_outer: true,
- axis_y_tick_values: null,
- axis_y_tick_count: undefined,
- axis_y_tick_time_value: undefined,
- axis_y_tick_time_interval: undefined,
- axis_y_padding: {},
- axis_y_default: undefined,
- axis_y2_show: false,
- axis_y2_max: undefined,
- axis_y2_min: undefined,
- axis_y2_center: undefined,
- axis_y2_inner: undefined,
- axis_y2_label: {},
- axis_y2_tick_format: undefined,
- axis_y2_tick_outer: true,
- axis_y2_tick_values: null,
- axis_y2_tick_count: undefined,
- axis_y2_padding: {},
- axis_y2_default: undefined,
- // grid
- grid_x_show: false,
- grid_x_type: 'tick',
- grid_x_lines: [],
- grid_y_show: false,
- // not used
- // grid_y_type: 'tick',
- grid_y_lines: [],
- grid_y_ticks: 10,
- grid_focus_show: true,
- grid_lines_front: true,
- // point - point of each data
- point_show: true,
- point_r: 2.5,
- point_focus_expand_enabled: true,
- point_focus_expand_r: undefined,
- point_select_r: undefined,
- // line
- line_connectNull: false,
- line_step_type: 'step',
- // bar
- bar_width: undefined,
- bar_width_ratio: 0.6,
- bar_width_max: undefined,
- bar_zerobased: true,
- // area
- area_zerobased: true,
- // pie
- pie_label_show: true,
- pie_label_format: undefined,
- pie_label_threshold: 0.05,
- pie_expand: true,
- // gauge
- gauge_label_show: true,
- gauge_label_format: undefined,
- gauge_expand: true,
- gauge_min: 0,
- gauge_max: 100,
- gauge_units: undefined,
- gauge_width: undefined,
- // donut
- donut_label_show: true,
- donut_label_format: undefined,
- donut_label_threshold: 0.05,
- donut_width: undefined,
- donut_expand: true,
- donut_title: "",
- // region - region to change style
- regions: [],
- // tooltip - show when mouseover on each data
- tooltip_show: true,
- tooltip_grouped: true,
- tooltip_format_title: undefined,
- tooltip_format_name: undefined,
- tooltip_format_value: undefined,
- tooltip_position: undefined,
- tooltip_contents: function (d, defaultTitleFormat, defaultValueFormat, color) {
- return this.getTooltipContent ? this.getTooltipContent(d, defaultTitleFormat, defaultValueFormat, color) : '';
- },
- tooltip_init_show: false,
- tooltip_init_x: 0,
- tooltip_init_position: {top: '0px', left: '50px'}
- };
-
- Object.keys(this.additionalConfig).forEach(function (key) {
- config[key] = this.additionalConfig[key];
- }, this);
-
- return config;
- };
- c3_chart_internal_fn.additionalConfig = {};
-
- c3_chart_internal_fn.loadConfig = function (config) {
- var this_config = this.config, target, keys, read;
-
- function find() {
- var key = keys.shift();
- // console.log("key =>", key, ", target =>", target);
- if (key && target && typeof target === 'object' && key in target) {
- target = target[key];
- return find();
- }
- else if (!key) {
- return target;
- }
- else {
- return undefined;
- }
- }
-
- Object.keys(this_config).forEach(function (key) {
- target = config;
- keys = key.split('_');
- read = find();
- // console.log("CONFIG : ", key, read);
- if (isDefined(read)) {
- this_config[key] = read;
- }
- });
- };
-
- c3_chart_internal_fn.getScale = function (min, max, forTimeseries) {
- return (forTimeseries ? this.d3.time.scale() : this.d3.scale.linear()).range([min, max]);
- };
- c3_chart_internal_fn.getX = function (min, max, domain, offset) {
- var $$ = this,
- scale = $$.getScale(min, max, $$.isTimeSeries()),
- _scale = domain ? scale.domain(domain) : scale, key;
- // Define customized scale if categorized axis
- if ($$.isCategorized()) {
- offset = offset || function () {
- return 0;
- };
- scale = function (d, raw) {
- var v = _scale(d) + offset(d);
- return raw ? v : Math.ceil(v);
- };
- } else {
- scale = function (d, raw) {
- var v = _scale(d);
- return raw ? v : Math.ceil(v);
- };
- }
- // define functions
- for (key in _scale) {
- scale[key] = _scale[key];
- }
- scale.orgDomain = function () {
- return _scale.domain();
- };
- // define custom domain() for categorized axis
- if ($$.isCategorized()) {
- scale.domain = function (domain) {
- if (!arguments.length) {
- domain = this.orgDomain();
- return [domain[0], domain[1] + 1];
- }
- _scale.domain(domain);
- return scale;
- };
- }
- return scale;
- };
- c3_chart_internal_fn.getY = function (min, max, domain) {
- var scale = this.getScale(min, max, this.isTimeSeriesY());
- if (domain) {
- scale.domain(domain);
- }
- return scale;
- };
- c3_chart_internal_fn.getYScale = function (id) {
- return this.getAxisId(id) === 'y2' ? this.y2 : this.y;
- };
- c3_chart_internal_fn.getSubYScale = function (id) {
- return this.getAxisId(id) === 'y2' ? this.subY2 : this.subY;
- };
- c3_chart_internal_fn.updateScales = function () {
- var $$ = this, config = $$.config,
- forInit = !$$.x;
- // update edges
- $$.xMin = config.axis_rotated ? 1 : 0;
- $$.xMax = config.axis_rotated ? $$.height : $$.width;
- $$.yMin = config.axis_rotated ? 0 : $$.height;
- $$.yMax = config.axis_rotated ? $$.width : 1;
- $$.subXMin = $$.xMin;
- $$.subXMax = $$.xMax;
- $$.subYMin = config.axis_rotated ? 0 : $$.height2;
- $$.subYMax = config.axis_rotated ? $$.width2 : 1;
- // update scales
- $$.x = $$.getX($$.xMin, $$.xMax, forInit ? undefined : $$.x.orgDomain(), function () {
- return $$.xAxis.tickOffset();
- });
- $$.y = $$.getY($$.yMin, $$.yMax, forInit ? config.axis_y_default : $$.y.domain());
- $$.y2 = $$.getY($$.yMin, $$.yMax, forInit ? config.axis_y2_default : $$.y2.domain());
- $$.subX = $$.getX($$.xMin, $$.xMax, $$.orgXDomain, function (d) {
- return d % 1 ? 0 : $$.subXAxis.tickOffset();
- });
- $$.subY = $$.getY($$.subYMin, $$.subYMax, forInit ? config.axis_y_default : $$.subY.domain());
- $$.subY2 = $$.getY($$.subYMin, $$.subYMax, forInit ? config.axis_y2_default : $$.subY2.domain());
- // update axes
- $$.xAxisTickFormat = $$.getXAxisTickFormat();
- $$.xAxisTickValues = $$.getXAxisTickValues();
- $$.yAxisTickValues = $$.getYAxisTickValues();
- $$.y2AxisTickValues = $$.getY2AxisTickValues();
-
- $$.xAxis = $$.getXAxis($$.x, $$.xOrient, $$.xAxisTickFormat, $$.xAxisTickValues, config.axis_x_tick_outer);
- $$.subXAxis = $$.getXAxis($$.subX, $$.subXOrient, $$.xAxisTickFormat, $$.xAxisTickValues, config.axis_x_tick_outer);
- $$.yAxis = $$.getYAxis($$.y, $$.yOrient, config.axis_y_tick_format, $$.yAxisTickValues, config.axis_y_tick_outer);
- $$.y2Axis = $$.getYAxis($$.y2, $$.y2Orient, config.axis_y2_tick_format, $$.y2AxisTickValues, config.axis_y2_tick_outer);
-
- // Set initialized scales to brush and zoom
- if (!forInit) {
- if ($$.brush) {
- $$.brush.scale($$.subX);
- }
- if (config.zoom_enabled) {
- $$.zoom.scale($$.x);
- }
- }
- // update for arc
- if ($$.updateArc) {
- $$.updateArc();
- }
- };
-
- c3_chart_internal_fn.getYDomainMin = function (targets) {
- var $$ = this, config = $$.config,
- ids = $$.mapToIds(targets), ys = $$.getValuesAsIdKeyed(targets),
- j, k, baseId, idsInGroup, id, hasNegativeValue;
- if (config.data_groups.length > 0) {
- hasNegativeValue = $$.hasNegativeValueInTargets(targets);
- for (j = 0; j < config.data_groups.length; j++) {
- // Determine baseId
- idsInGroup = config.data_groups[j].filter(function (id) {
- return ids.indexOf(id) >= 0;
- });
- if (idsInGroup.length === 0) {
- continue;
- }
- baseId = idsInGroup[0];
- // Consider negative values
- if (hasNegativeValue && ys[baseId]) {
- ys[baseId].forEach(function (v, i) {
- ys[baseId][i] = v < 0 ? v : 0;
- });
- }
- // Compute min
- for (k = 1; k < idsInGroup.length; k++) {
- id = idsInGroup[k];
- if (!ys[id]) {
- continue;
- }
- ys[id].forEach(function (v, i) {
- if ($$.getAxisId(id) === $$.getAxisId(baseId) && ys[baseId] && !(hasNegativeValue && +v > 0)) {
- ys[baseId][i] += +v;
- }
- });
- }
- }
- }
- return $$.d3.min(Object.keys(ys).map(function (key) {
- return $$.d3.min(ys[key]);
- }));
- };
- c3_chart_internal_fn.getYDomainMax = function (targets) {
- var $$ = this, config = $$.config,
- ids = $$.mapToIds(targets), ys = $$.getValuesAsIdKeyed(targets),
- j, k, baseId, idsInGroup, id, hasPositiveValue;
- if (config.data_groups.length > 0) {
- hasPositiveValue = $$.hasPositiveValueInTargets(targets);
- for (j = 0; j < config.data_groups.length; j++) {
- // Determine baseId
- idsInGroup = config.data_groups[j].filter(function (id) {
- return ids.indexOf(id) >= 0;
- });
- if (idsInGroup.length === 0) {
- continue;
- }
- baseId = idsInGroup[0];
- // Consider positive values
- if (hasPositiveValue && ys[baseId]) {
- ys[baseId].forEach(function (v, i) {
- ys[baseId][i] = v > 0 ? v : 0;
- });
- }
- // Compute max
- for (k = 1; k < idsInGroup.length; k++) {
- id = idsInGroup[k];
- if (!ys[id]) {
- continue;
- }
- ys[id].forEach(function (v, i) {
- if ($$.getAxisId(id) === $$.getAxisId(baseId) && ys[baseId] && !(hasPositiveValue && +v < 0)) {
- ys[baseId][i] += +v;
- }
- });
- }
- }
- }
- return $$.d3.max(Object.keys(ys).map(function (key) {
- return $$.d3.max(ys[key]);
- }));
- };
- c3_chart_internal_fn.getYDomain = function (targets, axisId, xDomain) {
- var $$ = this, config = $$.config,
- targetsByAxisId = targets.filter(function (t) {
- return $$.getAxisId(t.id) === axisId;
- }),
- yTargets = xDomain ? $$.filterByXDomain(targetsByAxisId, xDomain) : targetsByAxisId,
- yMin = axisId === 'y2' ? config.axis_y2_min : config.axis_y_min,
- yMax = axisId === 'y2' ? config.axis_y2_max : config.axis_y_max,
- yDomainMin = isValue(yMin) ? yMin : $$.getYDomainMin(yTargets),
- yDomainMax = isValue(yMax) ? yMax : $$.getYDomainMax(yTargets),
- domainLength, padding, padding_top, padding_bottom,
- center = axisId === 'y2' ? config.axis_y2_center : config.axis_y_center,
- yDomainAbs, lengths, diff, ratio, isAllPositive, isAllNegative,
- isZeroBased = ($$.hasType('bar', yTargets) && config.bar_zerobased) || ($$.hasType('area', yTargets) && config.area_zerobased),
- showHorizontalDataLabel = $$.hasDataLabel() && config.axis_rotated,
- showVerticalDataLabel = $$.hasDataLabel() && !config.axis_rotated;
-
- if (yDomainMax < yDomainMin) {
- if (isValue(yMin)) {
- yDomainMax = yDomainMin + 10; // TODO: introduce axis.y.maxMin
- } else {
- yDomainMin = yDomainMax - 10; // TODO: introduce axis.y.minMax
- }
- }
-
- if (yTargets.length === 0) { // use current domain if target of axisId is none
- return axisId === 'y2' ? $$.y2.domain() : $$.y.domain();
- }
- if (isNaN(yDomainMin)) { // set minimum to zero when not number
- yDomainMin = 0;
- }
- if (isNaN(yDomainMax)) { // set maximum to have same value as yDomainMin
- yDomainMax = yDomainMin;
- }
- if (yDomainMin === yDomainMax) {
- yDomainMin < 0 ? yDomainMax = 0 : yDomainMin = 0;
- }
- isAllPositive = yDomainMin >= 0 && yDomainMax >= 0;
- isAllNegative = yDomainMin <= 0 && yDomainMax <= 0;
-
- // Cancel zerobased if axis_*_min / axis_*_max specified
- if ((isValue(yMin) && isAllPositive) || (isValue(yMax) && isAllNegative)) {
- isZeroBased = false;
- }
-
- // Bar/Area chart should be 0-based if all positive|negative
- if (isZeroBased) {
- if (isAllPositive) {
- yDomainMin = 0;
- }
- if (isAllNegative) {
- yDomainMax = 0;
- }
- }
-
- domainLength = Math.abs(yDomainMax - yDomainMin);
- padding = padding_top = padding_bottom = domainLength * 0.1;
-
- if (typeof center !== 'undefined') {
- yDomainAbs = Math.max(Math.abs(yDomainMin), Math.abs(yDomainMax));
- yDomainMax = center + yDomainAbs;
- yDomainMin = center - yDomainAbs;
- }
- // add padding for data label
- if (showHorizontalDataLabel) {
- lengths = $$.getDataLabelLength(yDomainMin, yDomainMax, axisId, 'width');
- diff = diffDomain($$.y.range());
- ratio = [lengths[0] / diff, lengths[1] / diff];
- padding_top += domainLength * (ratio[1] / (1 - ratio[0] - ratio[1]));
- padding_bottom += domainLength * (ratio[0] / (1 - ratio[0] - ratio[1]));
- } else if (showVerticalDataLabel) {
- lengths = $$.getDataLabelLength(yDomainMin, yDomainMax, axisId, 'height');
- padding_top += this.convertPixelsToAxisPadding(lengths[1], domainLength);
- padding_bottom += this.convertPixelsToAxisPadding(lengths[0], domainLength);
- }
- if (axisId === 'y' && notEmpty(config.axis_y_padding)) {
- padding_top = $$.getAxisPadding(config.axis_y_padding, 'top', padding_top, domainLength);
- padding_bottom = $$.getAxisPadding(config.axis_y_padding, 'bottom', padding_bottom, domainLength);
- }
- if (axisId === 'y2' && notEmpty(config.axis_y2_padding)) {
- padding_top = $$.getAxisPadding(config.axis_y2_padding, 'top', padding_top, domainLength);
- padding_bottom = $$.getAxisPadding(config.axis_y2_padding, 'bottom', padding_bottom, domainLength);
- }
- // Bar/Area chart should be 0-based if all positive|negative
- if (isZeroBased) {
- if (isAllPositive) {
- padding_bottom = yDomainMin;
- }
- if (isAllNegative) {
- padding_top = -yDomainMax;
- }
- }
- return [yDomainMin - padding_bottom, yDomainMax + padding_top];
- };
- c3_chart_internal_fn.getXDomainMin = function (targets) {
- var $$ = this, config = $$.config;
- return isDefined(config.axis_x_min) ?
- ($$.isTimeSeries() ? this.parseDate(config.axis_x_min) : config.axis_x_min) :
- $$.d3.min(targets, function (t) {
- return $$.d3.min(t.values, function (v) {
- return v.x;
- });
- });
- };
- c3_chart_internal_fn.getXDomainMax = function (targets) {
- var $$ = this, config = $$.config;
- return isDefined(config.axis_x_max) ?
- ($$.isTimeSeries() ? this.parseDate(config.axis_x_max) : config.axis_x_max) :
- $$.d3.max(targets, function (t) {
- return $$.d3.max(t.values, function (v) {
- return v.x;
- });
- });
- };
- c3_chart_internal_fn.getXDomainPadding = function (domain) {
- var $$ = this, config = $$.config,
- diff = domain[1] - domain[0],
- maxDataCount, padding, paddingLeft, paddingRight;
- if ($$.isCategorized()) {
- padding = 0;
- } else if ($$.hasType('bar')) {
- maxDataCount = $$.getMaxDataCount();
- padding = maxDataCount > 1 ? (diff / (maxDataCount - 1)) / 2 : 0.5;
- } else {
- padding = diff * 0.01;
- }
- if (typeof config.axis_x_padding === 'object' && notEmpty(config.axis_x_padding)) {
- paddingLeft = isValue(config.axis_x_padding.left) ? config.axis_x_padding.left : padding;
- paddingRight = isValue(config.axis_x_padding.right) ? config.axis_x_padding.right : padding;
- } else if (typeof config.axis_x_padding === 'number') {
- paddingLeft = paddingRight = config.axis_x_padding;
- } else {
- paddingLeft = paddingRight = padding;
- }
- return {left: paddingLeft, right: paddingRight};
- };
- c3_chart_internal_fn.getXDomain = function (targets) {
- var $$ = this,
- xDomain = [$$.getXDomainMin(targets), $$.getXDomainMax(targets)],
- firstX = xDomain[0], lastX = xDomain[1],
- padding = $$.getXDomainPadding(xDomain),
- min = 0, max = 0;
- // show center of x domain if min and max are the same
- if ((firstX - lastX) === 0 && !$$.isCategorized()) {
- if ($$.isTimeSeries()) {
- firstX = new Date(firstX.getTime() * 0.5);
- lastX = new Date(lastX.getTime() * 1.5);
- } else {
- firstX = firstX === 0 ? 1 : (firstX * 0.5);
- lastX = lastX === 0 ? -1 : (lastX * 1.5);
- }
- }
- if (firstX || firstX === 0) {
- min = $$.isTimeSeries() ? new Date(firstX.getTime() - padding.left) : firstX - padding.left;
- }
- if (lastX || lastX === 0) {
- max = $$.isTimeSeries() ? new Date(lastX.getTime() + padding.right) : lastX + padding.right;
- }
- return [min, max];
- };
- c3_chart_internal_fn.updateXDomain = function (targets, withUpdateXDomain, withUpdateOrgXDomain, withTrim, domain) {
- var $$ = this, config = $$.config;
-
- if (withUpdateOrgXDomain) {
- $$.x.domain(domain ? domain : $$.d3.extent($$.getXDomain(targets)));
- $$.orgXDomain = $$.x.domain();
- if (config.zoom_enabled) {
- $$.zoom.scale($$.x).updateScaleExtent();
- }
- $$.subX.domain($$.x.domain());
- if ($$.brush) {
- $$.brush.scale($$.subX);
- }
- }
- if (withUpdateXDomain) {
- $$.x.domain(domain ? domain : (!$$.brush || $$.brush.empty()) ? $$.orgXDomain : $$.brush.extent());
- if (config.zoom_enabled) {
- $$.zoom.scale($$.x).updateScaleExtent();
- }
- }
-
- // Trim domain when too big by zoom mousemove event
- if (withTrim) {
- $$.x.domain($$.trimXDomain($$.x.orgDomain()));
- }
-
- return $$.x.domain();
- };
- c3_chart_internal_fn.trimXDomain = function (domain) {
- var $$ = this;
- if (domain[0] <= $$.orgXDomain[0]) {
- domain[1] = +domain[1] + ($$.orgXDomain[0] - domain[0]);
- domain[0] = $$.orgXDomain[0];
- }
- if ($$.orgXDomain[1] <= domain[1]) {
- domain[0] = +domain[0] - (domain[1] - $$.orgXDomain[1]);
- domain[1] = $$.orgXDomain[1];
- }
- return domain;
- };
-
- c3_chart_internal_fn.isX = function (key) {
- var $$ = this, config = $$.config;
- return (config.data_x && key === config.data_x) || (notEmpty(config.data_xs) && hasValue(config.data_xs, key));
- };
- c3_chart_internal_fn.isNotX = function (key) {
- return !this.isX(key);
- };
- c3_chart_internal_fn.getXKey = function (id) {
- var $$ = this, config = $$.config;
- return config.data_x ? config.data_x : notEmpty(config.data_xs) ? config.data_xs[id] : null;
- };
- c3_chart_internal_fn.getXValuesOfXKey = function (key, targets) {
- var $$ = this,
- xValues, ids = targets && notEmpty(targets) ? $$.mapToIds(targets) : [];
- ids.forEach(function (id) {
- if ($$.getXKey(id) === key) {
- xValues = $$.data.xs[id];
- }
- });
- return xValues;
- };
- c3_chart_internal_fn.getIndexByX = function (x) {
- var $$ = this,
- data = $$.filterByX($$.data.targets, x);
- return data.length ? data[0].index : null;
- };
- c3_chart_internal_fn.getXValue = function (id, i) {
- var $$ = this;
- return id in $$.data.xs && $$.data.xs[id] && isValue($$.data.xs[id][i]) ? $$.data.xs[id][i] : i;
- };
- c3_chart_internal_fn.getOtherTargetXs = function () {
- var $$ = this,
- idsForX = Object.keys($$.data.xs);
- return idsForX.length ? $$.data.xs[idsForX[0]] : null;
- };
- c3_chart_internal_fn.getOtherTargetX = function (index) {
- var xs = this.getOtherTargetXs();
- return xs && index < xs.length ? xs[index] : null;
- };
- c3_chart_internal_fn.addXs = function (xs) {
- var $$ = this;
- Object.keys(xs).forEach(function (id) {
- $$.config.data_xs[id] = xs[id];
- });
- };
- c3_chart_internal_fn.hasMultipleX = function (xs) {
- return this.d3.set(Object.keys(xs).map(function (id) {
- return xs[id];
- })).size() > 1;
- };
- c3_chart_internal_fn.isMultipleX = function () {
- return notEmpty(this.config.data_xs) || !this.config.data_xSort || this.hasType('scatter');
- };
- c3_chart_internal_fn.addName = function (data) {
- var $$ = this, name;
- if (data) {
- name = $$.config.data_names[data.id];
- data.name = name ? name : data.id;
- }
- return data;
- };
- c3_chart_internal_fn.getValueOnIndex = function (values, index) {
- var valueOnIndex = values.filter(function (v) {
- return v.index === index;
- });
- return valueOnIndex.length ? valueOnIndex[0] : null;
- };
- c3_chart_internal_fn.updateTargetX = function (targets, x) {
- var $$ = this;
- targets.forEach(function (t) {
- t.values.forEach(function (v, i) {
- v.x = $$.generateTargetX(x[i], t.id, i);
- });
- $$.data.xs[t.id] = x;
- });
- };
- c3_chart_internal_fn.updateTargetXs = function (targets, xs) {
- var $$ = this;
- targets.forEach(function (t) {
- if (xs[t.id]) {
- $$.updateTargetX([t], xs[t.id]);
- }
- });
- };
- c3_chart_internal_fn.generateTargetX = function (rawX, id, index) {
- var $$ = this, x;
- if ($$.isTimeSeries()) {
- x = rawX ? $$.parseDate(rawX) : $$.parseDate($$.getXValue(id, index));
- }
- else if ($$.isCustomX() && !$$.isCategorized()) {
- x = isValue(rawX) ? +rawX : $$.getXValue(id, index);
- }
- else {
- x = index;
- }
- return x;
- };
- c3_chart_internal_fn.cloneTarget = function (target) {
- return {
- id: target.id,
- id_org: target.id_org,
- values: target.values.map(function (d) {
- return {x: d.x, value: d.value, id: d.id};
- })
- };
- };
- c3_chart_internal_fn.updateXs = function () {
- var $$ = this;
- if ($$.data.targets.length) {
- $$.xs = [];
- $$.data.targets[0].values.forEach(function (v) {
- $$.xs[v.index] = v.x;
- });
- }
- };
- c3_chart_internal_fn.getPrevX = function (i) {
- var x = this.xs[i - 1];
- return typeof x !== 'undefined' ? x : null;
- };
- c3_chart_internal_fn.getNextX = function (i) {
- var x = this.xs[i + 1];
- return typeof x !== 'undefined' ? x : null;
- };
- c3_chart_internal_fn.getMaxDataCount = function () {
- var $$ = this;
- return $$.d3.max($$.data.targets, function (t) {
- return t.values.length;
- });
- };
- c3_chart_internal_fn.getMaxDataCountTarget = function (targets) {
- var length = targets.length, max = 0, maxTarget;
- if (length > 1) {
- targets.forEach(function (t) {
- if (t.values.length > max) {
- maxTarget = t;
- max = t.values.length;
- }
- });
- } else {
- maxTarget = length ? targets[0] : null;
- }
- return maxTarget;
- };
- c3_chart_internal_fn.getEdgeX = function (targets) {
- var $$ = this;
- return !targets.length ? [0, 0] : [
- $$.d3.min(targets, function (t) {
- return t.values[0].x;
- }),
- $$.d3.max(targets, function (t) {
- return t.values[t.values.length - 1].x;
- })
- ];
- };
- c3_chart_internal_fn.mapToIds = function (targets) {
- return targets.map(function (d) {
- return d.id;
- });
- };
- c3_chart_internal_fn.mapToTargetIds = function (ids) {
- var $$ = this;
- return ids ? (isString(ids) ? [ids] : ids) : $$.mapToIds($$.data.targets);
- };
- c3_chart_internal_fn.hasTarget = function (targets, id) {
- var ids = this.mapToIds(targets), i;
- for (i = 0; i < ids.length; i++) {
- if (ids[i] === id) {
- return true;
- }
- }
- return false;
- };
- c3_chart_internal_fn.isTargetToShow = function (targetId) {
- return this.hiddenTargetIds.indexOf(targetId) < 0;
- };
- c3_chart_internal_fn.isLegendToShow = function (targetId) {
- return this.hiddenLegendIds.indexOf(targetId) < 0;
- };
- c3_chart_internal_fn.filterTargetsToShow = function (targets) {
- var $$ = this;
- return targets.filter(function (t) {
- return $$.isTargetToShow(t.id);
- });
- };
- c3_chart_internal_fn.mapTargetsToUniqueXs = function (targets) {
- var $$ = this;
- var xs = $$.d3.set($$.d3.merge(targets.map(function (t) {
- return t.values.map(function (v) {
- return +v.x;
- });
- }))).values();
- return $$.isTimeSeries() ? xs.map(function (x) {
- return new Date(+x);
- }) : xs.map(function (x) {
- return +x;
- });
- };
- c3_chart_internal_fn.addHiddenTargetIds = function (targetIds) {
- this.hiddenTargetIds = this.hiddenTargetIds.concat(targetIds);
- };
- c3_chart_internal_fn.removeHiddenTargetIds = function (targetIds) {
- this.hiddenTargetIds = this.hiddenTargetIds.filter(function (id) {
- return targetIds.indexOf(id) < 0;
- });
- };
- c3_chart_internal_fn.addHiddenLegendIds = function (targetIds) {
- this.hiddenLegendIds = this.hiddenLegendIds.concat(targetIds);
- };
- c3_chart_internal_fn.removeHiddenLegendIds = function (targetIds) {
- this.hiddenLegendIds = this.hiddenLegendIds.filter(function (id) {
- return targetIds.indexOf(id) < 0;
- });
- };
- c3_chart_internal_fn.getValuesAsIdKeyed = function (targets) {
- var ys = {};
- targets.forEach(function (t) {
- ys[t.id] = [];
- t.values.forEach(function (v) {
- ys[t.id].push(v.value);
- });
- });
- return ys;
- };
- c3_chart_internal_fn.checkValueInTargets = function (targets, checker) {
- var ids = Object.keys(targets), i, j, values;
- for (i = 0; i < ids.length; i++) {
- values = targets[ids[i]].values;
- for (j = 0; j < values.length; j++) {
- if (checker(values[j].value)) {
- return true;
- }
- }
- }
- return false;
- };
- c3_chart_internal_fn.hasNegativeValueInTargets = function (targets) {
- return this.checkValueInTargets(targets, function (v) {
- return v < 0;
- });
- };
- c3_chart_internal_fn.hasPositiveValueInTargets = function (targets) {
- return this.checkValueInTargets(targets, function (v) {
- return v > 0;
- });
- };
- c3_chart_internal_fn.isOrderDesc = function () {
- var config = this.config;
- return typeof(config.data_order) === 'string' && config.data_order.toLowerCase() === 'desc';
- };
- c3_chart_internal_fn.isOrderAsc = function () {
- var config = this.config;
- return typeof(config.data_order) === 'string' && config.data_order.toLowerCase() === 'asc';
- };
- c3_chart_internal_fn.orderTargets = function (targets) {
- var $$ = this, config = $$.config, orderAsc = $$.isOrderAsc(), orderDesc = $$.isOrderDesc();
- if (orderAsc || orderDesc) {
- targets.sort(function (t1, t2) {
- var reducer = function (p, c) {
- return p + Math.abs(c.value);
- };
- var t1Sum = t1.values.reduce(reducer, 0),
- t2Sum = t2.values.reduce(reducer, 0);
- return orderAsc ? t2Sum - t1Sum : t1Sum - t2Sum;
- });
- } else if (isFunction(config.data_order)) {
- targets.sort(config.data_order);
- } // TODO: accept name array for order
- return targets;
- };
- c3_chart_internal_fn.filterByX = function (targets, x) {
- return this.d3.merge(targets.map(function (t) {
- return t.values;
- })).filter(function (v) {
- return v.x - x === 0;
- });
- };
- c3_chart_internal_fn.filterRemoveNull = function (data) {
- return data.filter(function (d) {
- return isValue(d.value);
- });
- };
- c3_chart_internal_fn.filterByXDomain = function (targets, xDomain) {
- return targets.map(function (t) {
- return {
- id: t.id,
- id_org: t.id_org,
- values: t.values.filter(function (v) {
- return xDomain[0] <= v.x && v.x <= xDomain[1];
- })
- };
- });
- };
- c3_chart_internal_fn.hasDataLabel = function () {
- var config = this.config;
- if (typeof config.data_labels === 'boolean' && config.data_labels) {
- return true;
- } else if (typeof config.data_labels === 'object' && notEmpty(config.data_labels)) {
- return true;
- }
- return false;
- };
- c3_chart_internal_fn.getDataLabelLength = function (min, max, axisId, key) {
- var $$ = this,
- lengths = [0, 0], paddingCoef = 1.3;
- $$.selectChart.select('svg').selectAll('.dummy')
- .data([min, max])
- .enter().append('text')
- .text(function (d) {
- return $$.formatByAxisId(axisId)(d);
- })
- .each(function (d, i) {
- lengths[i] = this.getBoundingClientRect()[key] * paddingCoef;
- })
- .remove();
- return lengths;
- };
- c3_chart_internal_fn.isNoneArc = function (d) {
- return this.hasTarget(this.data.targets, d.id);
- },
- c3_chart_internal_fn.isArc = function (d) {
- return 'data' in d && this.hasTarget(this.data.targets, d.data.id);
- };
- c3_chart_internal_fn.findSameXOfValues = function (values, index) {
- var i, targetX = values[index].x, sames = [];
- for (i = index - 1; i >= 0; i--) {
- if (targetX !== values[i].x) {
- break;
- }
- sames.push(values[i]);
- }
- for (i = index; i < values.length; i++) {
- if (targetX !== values[i].x) {
- break;
- }
- sames.push(values[i]);
- }
- return sames;
- };
-
- c3_chart_internal_fn.findClosestFromTargets = function (targets, pos) {
- var $$ = this, candidates;
-
- // map to array of closest points of each target
- candidates = targets.map(function (target) {
- return $$.findClosest(target.values, pos);
- });
-
- // decide closest point and return
- return $$.findClosest(candidates, pos);
- };
- c3_chart_internal_fn.findClosest = function (values, pos) {
- var $$ = this, minDist = 100, closest;
-
- // find mouseovering bar
- values.filter(function (v) {
- return v && $$.isBarType(v.id);
- }).forEach(function (v) {
- var shape = $$.main.select('.' + CLASS.bars + $$.getTargetSelectorSuffix(v.id) + ' .' + CLASS.bar + '-' + v.index).node();
- if (!closest && $$.isWithinBar(shape)) {
- closest = v;
- }
- });
-
- // find closest point from non-bar
- values.filter(function (v) {
- return v && !$$.isBarType(v.id);
- }).forEach(function (v) {
- var d = $$.dist(v, pos);
- if (d < minDist) {
- minDist = d;
- closest = v;
- }
- });
-
- return closest;
- };
- c3_chart_internal_fn.dist = function (data, pos) {
- var $$ = this, config = $$.config,
- xIndex = config.axis_rotated ? 1 : 0,
- yIndex = config.axis_rotated ? 0 : 1,
- y = $$.circleY(data, data.index),
- x = $$.x(data.x);
- return Math.pow(x - pos[xIndex], 2) + Math.pow(y - pos[yIndex], 2);
- };
- c3_chart_internal_fn.convertValuesToStep = function (values) {
- var converted = [].concat(values), i;
-
- if (!this.isCategorized()) {
- return values;
- }
-
- for (i = values.length + 1; 0 < i; i--) {
- converted[i] = converted[i - 1];
- }
-
- converted[0] = {
- x: converted[0].x - 1,
- value: converted[0].value,
- id: converted[0].id
- };
- converted[values.length + 1] = {
- x: converted[values.length].x + 1,
- value: converted[values.length].value,
- id: converted[values.length].id
- };
-
- return converted;
- };
- c3_chart_internal_fn.updateDataAttributes = function (name, attrs) {
- var $$ = this, config = $$.config, current = config['data_' + name];
- if (typeof attrs === 'undefined') {
- return current;
- }
- Object.keys(attrs).forEach(function (id) {
- current[id] = attrs[id];
- });
- $$.redraw({withLegend: true});
- return current;
- };
-
- c3_chart_internal_fn.convertUrlToData = function (url, mimeType, keys, done) {
- var $$ = this, type = mimeType ? mimeType : 'csv';
- $$.d3.xhr(url, function (error, data) {
- var d;
- if (type === 'json') {
- d = $$.convertJsonToData(JSON.parse(data.response), keys);
- } else if (type === 'tsv') {
- d = $$.convertTsvToData(data.response);
- } else {
- d = $$.convertCsvToData(data.response);
- }
- done.call($$, d);
- });
- };
- c3_chart_internal_fn.convertXsvToData = function (xsv, parser) {
- var rows = parser.parseRows(xsv), d;
- if (rows.length === 1) {
- d = [{}];
- rows[0].forEach(function (id) {
- d[0][id] = null;
- });
- } else {
- d = parser.parse(xsv);
- }
- return d;
- };
- c3_chart_internal_fn.convertCsvToData = function (csv) {
- return this.convertXsvToData(csv, this.d3.csv);
- };
- c3_chart_internal_fn.convertTsvToData = function (tsv) {
- return this.convertXsvToData(tsv, this.d3.tsv);
- };
- c3_chart_internal_fn.convertJsonToData = function (json, keys) {
- var $$ = this,
- new_rows = [], targetKeys, data;
- if (keys) { // when keys specified, json would be an array that includes objects
- targetKeys = keys.value;
- if (keys.x) {
- targetKeys.push(keys.x);
- $$.config.data_x = keys.x;
- }
- new_rows.push(targetKeys);
- json.forEach(function (o) {
- var new_row = [];
- targetKeys.forEach(function (key) {
- // convert undefined to null because undefined data will be removed in convertDataToTargets()
- var v = isUndefined(o[key]) ? null : o[key];
- new_row.push(v);
- });
- new_rows.push(new_row);
- });
- data = $$.convertRowsToData(new_rows);
- } else {
- Object.keys(json).forEach(function (key) {
- new_rows.push([key].concat(json[key]));
- });
- data = $$.convertColumnsToData(new_rows);
- }
- return data;
- };
- c3_chart_internal_fn.convertRowsToData = function (rows) {
- var keys = rows[0], new_row = {}, new_rows = [], i, j;
- for (i = 1; i < rows.length; i++) {
- new_row = {};
- for (j = 0; j < rows[i].length; j++) {
- if (isUndefined(rows[i][j])) {
- throw new Error("Source data is missing a component at (" + i + "," + j + ")!");
- }
- new_row[keys[j]] = rows[i][j];
- }
- new_rows.push(new_row);
- }
- return new_rows;
- };
- c3_chart_internal_fn.convertColumnsToData = function (columns) {
- var new_rows = [], i, j, key;
- for (i = 0; i < columns.length; i++) {
- key = columns[i][0];
- for (j = 1; j < columns[i].length; j++) {
- if (isUndefined(new_rows[j - 1])) {
- new_rows[j - 1] = {};
- }
- if (isUndefined(columns[i][j])) {
- throw new Error("Source data is missing a component at (" + i + "," + j + ")!");
- }
- new_rows[j - 1][key] = columns[i][j];
- }
- }
- return new_rows;
- };
- c3_chart_internal_fn.convertDataToTargets = function (data, appendXs) {
- var $$ = this, config = $$.config,
- ids = $$.d3.keys(data[0]).filter($$.isNotX, $$),
- xs = $$.d3.keys(data[0]).filter($$.isX, $$),
- targets;
-
- // save x for update data by load when custom x and c3.x API
- ids.forEach(function (id) {
- var xKey = $$.getXKey(id);
-
- if ($$.isCustomX() || $$.isTimeSeries()) {
- // if included in input data
- if (xs.indexOf(xKey) >= 0) {
- $$.data.xs[id] = (appendXs && $$.data.xs[id] ? $$.data.xs[id] : []).concat(
- data.map(function (d) {
- return d[xKey];
- })
- .filter(isValue)
- .map(function (rawX, i) {
- return $$.generateTargetX(rawX, id, i);
- })
- );
- }
- // if not included in input data, find from preloaded data of other id's x
- else if (config.data_x) {
- $$.data.xs[id] = $$.getOtherTargetXs();
- }
- // if not included in input data, find from preloaded data
- else if (notEmpty(config.data_xs)) {
- $$.data.xs[id] = $$.getXValuesOfXKey(xKey, $$.data.targets);
- }
- // MEMO: if no x included, use same x of current will be used
- } else {
- $$.data.xs[id] = data.map(function (d, i) {
- return i;
- });
- }
- });
-
-
- // check x is defined
- ids.forEach(function (id) {
- if (!$$.data.xs[id]) {
- throw new Error('x is not defined for id = "' + id + '".');
- }
- });
-
- // convert to target
- targets = ids.map(function (id, index) {
- var convertedId = config.data_idConverter(id);
- return {
- id: convertedId,
- id_org: id,
- values: data.map(function (d, i) {
- var xKey = $$.getXKey(id), rawX = d[xKey], x = $$.generateTargetX(rawX, id, i);
- // use x as categories if custom x and categorized
- if ($$.isCustomX() && $$.isCategorized() && index === 0 && rawX) {
- if (i === 0) {
- config.axis_x_categories = [];
- }
- config.axis_x_categories.push(rawX);
- }
- // mark as x = undefined if value is undefined and filter to remove after mapped
- if (isUndefined(d[id]) || $$.data.xs[id].length <= i) {
- x = undefined;
- }
- return {x: x, value: d[id] !== null && !isNaN(d[id]) ? +d[id] : null, id: convertedId};
- }).filter(function (v) {
- return isDefined(v.x);
- })
- };
- });
-
- // finish targets
- targets.forEach(function (t) {
- var i;
- // sort values by its x
- if (config.data_xSort) {
- t.values = t.values.sort(function (v1, v2) {
- var x1 = v1.x || v1.x === 0 ? v1.x : Infinity,
- x2 = v2.x || v2.x === 0 ? v2.x : Infinity;
- return x1 - x2;
- });
- }
- // indexing each value
- i = 0;
- t.values.forEach(function (v) {
- v.index = i++;
- });
- // this needs to be sorted because its index and value.index is identical
- $$.data.xs[t.id].sort(function (v1, v2) {
- return v1 - v2;
- });
- });
-
- // set target types
- if (config.data_type) {
- $$.setTargetType($$.mapToIds(targets).filter(function (id) {
- return !(id in config.data_types);
- }), config.data_type);
- }
-
- // cache as original id keyed
- targets.forEach(function (d) {
- $$.addCache(d.id_org, d);
- });
-
- return targets;
- };
-
- c3_chart_internal_fn.load = function (targets, args) {
- var $$ = this;
- if (targets) {
- // filter loading targets if needed
- if (args.filter) {
- targets = targets.filter(args.filter);
- }
- // set type if args.types || args.type specified
- if (args.type || args.types) {
- targets.forEach(function (t) {
- $$.setTargetType(t.id, args.types ? args.types[t.id] : args.type);
- });
- }
- // Update/Add data
- $$.data.targets.forEach(function (d) {
- for (var i = 0; i < targets.length; i++) {
- if (d.id === targets[i].id) {
- d.values = targets[i].values;
- targets.splice(i, 1);
- break;
- }
- }
- });
- $$.data.targets = $$.data.targets.concat(targets); // add remained
- }
-
- // Set targets
- $$.updateTargets($$.data.targets);
-
- // Redraw with new targets
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true, withLegend: true});
-
- if (args.done) {
- args.done();
- }
- };
- c3_chart_internal_fn.loadFromArgs = function (args) {
- var $$ = this;
- if (args.data) {
- $$.load($$.convertDataToTargets(args.data), args);
- }
- else if (args.url) {
- $$.convertUrlToData(args.url, args.mimeType, args.keys, function (data) {
- $$.load($$.convertDataToTargets(data), args);
- });
- }
- else if (args.json) {
- $$.load($$.convertDataToTargets($$.convertJsonToData(args.json, args.keys)), args);
- }
- else if (args.rows) {
- $$.load($$.convertDataToTargets($$.convertRowsToData(args.rows)), args);
- }
- else if (args.columns) {
- $$.load($$.convertDataToTargets($$.convertColumnsToData(args.columns)), args);
- }
- else {
- $$.load(null, args);
- }
- };
- c3_chart_internal_fn.unload = function (targetIds, done) {
- var $$ = this;
- if (!done) {
- done = function () {
- };
- }
- // filter existing target
- targetIds = targetIds.filter(function (id) {
- return $$.hasTarget($$.data.targets, id);
- });
- // If no target, call done and return
- if (!targetIds || targetIds.length === 0) {
- done();
- return;
- }
- $$.svg.selectAll(targetIds.map(function (id) {
- return $$.selectorTarget(id);
- }))
- .transition()
- .style('opacity', 0)
- .remove()
- .call($$.endall, done);
- targetIds.forEach(function (id) {
- // Reset fadein for future load
- $$.withoutFadeIn[id] = false;
- // Remove target's elements
- if ($$.legend) {
- $$.legend.selectAll('.' + CLASS.legendItem + $$.getTargetSelectorSuffix(id)).remove();
- }
- // Remove target
- $$.data.targets = $$.data.targets.filter(function (t) {
- return t.id !== id;
- });
- });
- };
-
- c3_chart_internal_fn.categoryName = function (i) {
- var config = this.config;
- return i < config.axis_x_categories.length ? config.axis_x_categories[i] : i;
- };
-
- c3_chart_internal_fn.initEventRect = function () {
- var $$ = this;
- $$.main.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.eventRects)
- .style('fill-opacity', 0);
- };
- c3_chart_internal_fn.redrawEventRect = function () {
- var $$ = this, config = $$.config,
- eventRectUpdate, maxDataCountTarget,
- isMultipleX = $$.isMultipleX();
-
- // rects for mouseover
- var eventRects = $$.main.select('.' + CLASS.eventRects)
- .style('cursor', config.zoom_enabled ? config.axis_rotated ? 'ns-resize' : 'ew-resize' : null)
- .classed(CLASS.eventRectsMultiple, isMultipleX)
- .classed(CLASS.eventRectsSingle, !isMultipleX);
-
- // clear old rects
- eventRects.selectAll('.' + CLASS.eventRect).remove();
-
- // open as public variable
- $$.eventRect = eventRects.selectAll('.' + CLASS.eventRect);
-
- if (isMultipleX) {
- eventRectUpdate = $$.eventRect.data([0]);
- // enter : only one rect will be added
- $$.generateEventRectsForMultipleXs(eventRectUpdate.enter());
- // update
- $$.updateEventRect(eventRectUpdate);
- // exit : not needed because always only one rect exists
- }
- else {
- // Set data and update $$.eventRect
- maxDataCountTarget = $$.getMaxDataCountTarget($$.data.targets);
- eventRects.datum(maxDataCountTarget ? maxDataCountTarget.values : []);
- $$.eventRect = eventRects.selectAll('.' + CLASS.eventRect);
- eventRectUpdate = $$.eventRect.data(function (d) {
- return d;
- });
- // enter
- $$.generateEventRectsForSingleX(eventRectUpdate.enter());
- // update
- $$.updateEventRect(eventRectUpdate);
- // exit
- eventRectUpdate.exit().remove();
- }
- };
- c3_chart_internal_fn.updateEventRect = function (eventRectUpdate) {
- var $$ = this, config = $$.config,
- x, y, w, h, rectW, rectX;
-
- // set update selection if null
- eventRectUpdate = eventRectUpdate || $$.eventRect.data(function (d) {
- return d;
- });
-
- if ($$.isMultipleX()) {
- // TODO: rotated not supported yet
- x = 0;
- y = 0;
- w = $$.width;
- h = $$.height;
- }
- else {
- if (($$.isCustomX() || $$.isTimeSeries()) && !$$.isCategorized()) {
-
- // update index for x that is used by prevX and nextX
- $$.updateXs();
-
- rectW = function (d) {
- var prevX = $$.getPrevX(d.index), nextX = $$.getNextX(d.index);
-
- // if there this is a single data point make the eventRect full width (or height)
- if (prevX === null && nextX === null) {
- return config.axis_rotated ? $$.height : $$.width;
- }
-
- if (prevX === null) {
- prevX = $$.x.domain()[0];
- }
- if (nextX === null) {
- nextX = $$.x.domain()[1];
- }
-
- return Math.max(0, ($$.x(nextX) - $$.x(prevX)) / 2);
- };
- rectX = function (d) {
- var prevX = $$.getPrevX(d.index), nextX = $$.getNextX(d.index),
- thisX = $$.data.xs[d.id][d.index];
-
- // if there this is a single data point position the eventRect at 0
- if (prevX === null && nextX === null) {
- return 0;
- }
-
- if (prevX === null) {
- prevX = $$.x.domain()[0];
- }
-
- return ($$.x(thisX) + $$.x(prevX)) / 2;
- };
- } else {
- rectW = $$.getEventRectWidth();
- rectX = function (d) {
- return $$.x(d.x) - (rectW / 2);
- };
- }
- x = config.axis_rotated ? 0 : rectX;
- y = config.axis_rotated ? rectX : 0;
- w = config.axis_rotated ? $$.width : rectW;
- h = config.axis_rotated ? rectW : $$.height;
- }
-
- eventRectUpdate
- .attr('class', $$.classEvent.bind($$))
- .attr("x", x)
- .attr("y", y)
- .attr("width", w)
- .attr("height", h);
- };
- c3_chart_internal_fn.generateEventRectsForSingleX = function (eventRectEnter) {
- var $$ = this, d3 = $$.d3, config = $$.config;
- eventRectEnter.append("rect")
- .attr("class", $$.classEvent.bind($$))
- .style("cursor", config.data_selection_enabled && config.data_selection_grouped ? "pointer" : null)
- .on('mouseover', function (d) {
- var index = d.index, selectedData, newData;
-
- if ($$.dragging || $$.flowing) {
- return;
- } // do nothing while dragging/flowing
- if ($$.hasArcType()) {
- return;
- }
-
- selectedData = $$.data.targets.map(function (t) {
- return $$.addName($$.getValueOnIndex(t.values, index));
- });
-
- // Sort selectedData as names order
- newData = [];
- Object.keys(config.data_names).forEach(function (id) {
- for (var j = 0; j < selectedData.length; j++) {
- if (selectedData[j] && selectedData[j].id === id) {
- newData.push(selectedData[j]);
- selectedData.shift(j);
- break;
- }
- }
- });
- selectedData = newData.concat(selectedData); // Add remained
-
- // Expand shapes for selection
- if (config.point_focus_expand_enabled) {
- $$.expandCircles(index, null, true);
- }
- $$.expandBars(index, null, true);
-
- // Call event handler
- $$.main.selectAll('.' + CLASS.shape + '-' + index).each(function (d) {
- config.data_onmouseover.call($$.api, d);
- });
- })
- .on('mouseout', function (d) {
- var index = d.index;
- if ($$.hasArcType()) {
- return;
- }
- $$.hideXGridFocus();
- $$.hideTooltip();
- // Undo expanded shapes
- $$.unexpandCircles();
- $$.unexpandBars();
- // Call event handler
- $$.main.selectAll('.' + CLASS.shape + '-' + index).each(function (d) {
- config.data_onmouseout.call($$.api, d);
- });
- })
- .on('mousemove', function (d) {
- var selectedData, index = d.index,
- eventRect = $$.svg.select('.' + CLASS.eventRect + '-' + index);
-
- if ($$.dragging || $$.flowing) {
- return;
- } // do nothing while dragging/flowing
- if ($$.hasArcType()) {
- return;
- }
-
- if ($$.isStepType(d) && $$.config.line_step_type === 'step-after' && d3.mouse(this)[0] < $$.x($$.getXValue(d.id, index))) {
- index -= 1;
- }
-
- // Show tooltip
- selectedData = $$.filterTargetsToShow($$.data.targets).map(function (t) {
- return $$.addName($$.getValueOnIndex(t.values, index));
- });
-
- if (config.tooltip_grouped) {
- $$.showTooltip(selectedData, this);
- $$.showXGridFocus(selectedData);
- }
-
- if (config.tooltip_grouped && (!config.data_selection_enabled || config.data_selection_grouped)) {
- return;
- }
-
- $$.main.selectAll('.' + CLASS.shape + '-' + index)
- .each(function () {
- d3.select(this).classed(CLASS.EXPANDED, true);
- if (config.data_selection_enabled) {
- eventRect.style('cursor', config.data_selection_grouped ? 'pointer' : null);
- }
- if (!config.tooltip_grouped) {
- $$.hideXGridFocus();
- $$.hideTooltip();
- if (!config.data_selection_grouped) {
- $$.unexpandCircles(index);
- $$.unexpandBars(index);
- }
- }
- })
- .filter(function (d) {
- return $$.isWithinShape(this, d);
- })
- .each(function (d) {
- if (config.data_selection_enabled && (config.data_selection_grouped || config.data_selection_isselectable(d))) {
- eventRect.style('cursor', 'pointer');
- }
- if (!config.tooltip_grouped) {
- $$.showTooltip([d], this);
- $$.showXGridFocus([d]);
- if (config.point_focus_expand_enabled) {
- $$.expandCircles(index, d.id, true);
- }
- $$.expandBars(index, d.id, true);
- }
- });
- })
- .on('click', function (d) {
- var index = d.index;
- if ($$.hasArcType() || !$$.toggleShape) {
- return;
- }
- if ($$.cancelClick) {
- $$.cancelClick = false;
- return;
- }
- if ($$.isStepType(d) && config.line_step_type === 'step-after' && d3.mouse(this)[0] < $$.x($$.getXValue(d.id, index))) {
- index -= 1;
- }
- $$.main.selectAll('.' + CLASS.shape + '-' + index).each(function (d) {
- if (config.data_selection_grouped || $$.isWithinShape(this, d)) {
- $$.toggleShape(this, d, index);
- $$.config.data_onclick.call($$.api, d, this);
- }
- });
- })
- .call(
- d3.behavior.drag().origin(Object)
- .on('drag', function () {
- $$.drag(d3.mouse(this));
- })
- .on('dragstart', function () {
- $$.dragstart(d3.mouse(this));
- })
- .on('dragend', function () {
- $$.dragend();
- })
- );
- };
-
- c3_chart_internal_fn.generateEventRectsForMultipleXs = function (eventRectEnter) {
- var $$ = this, d3 = $$.d3, config = $$.config;
-
- function mouseout() {
- $$.svg.select('.' + CLASS.eventRect).style('cursor', null);
- $$.hideXGridFocus();
- $$.hideTooltip();
- $$.unexpandCircles();
- $$.unexpandBars();
- }
-
- eventRectEnter.append('rect')
- .attr('x', 0)
- .attr('y', 0)
- .attr('width', $$.width)
- .attr('height', $$.height)
- .attr('class', CLASS.eventRect)
- .on('mouseout', function () {
- if ($$.hasArcType()) {
- return;
- }
- mouseout();
- })
- .on('mousemove', function () {
- var targetsToShow = $$.filterTargetsToShow($$.data.targets);
- var mouse, closest, sameXData, selectedData;
-
- if ($$.dragging) {
- return;
- } // do nothing when dragging
- if ($$.hasArcType(targetsToShow)) {
- return;
- }
-
- mouse = d3.mouse(this);
- closest = $$.findClosestFromTargets(targetsToShow, mouse);
-
- if ($$.mouseover && (!closest || closest.id !== $$.mouseover.id)) {
- config.data_onmouseout.call($$.api, $$.mouseover);
- $$.mouseover = undefined;
- }
-
- if (!closest) {
- mouseout();
- return;
- }
-
- if ($$.isScatterType(closest) || !config.tooltip_grouped) {
- sameXData = [closest];
- } else {
- sameXData = $$.filterByX(targetsToShow, closest.x);
- }
-
- // show tooltip when cursor is close to some point
- selectedData = sameXData.map(function (d) {
- return $$.addName(d);
- });
- $$.showTooltip(selectedData, this);
-
- // expand points
- if (config.point_focus_expand_enabled) {
- $$.expandCircles(closest.index, closest.id, true);
- }
- $$.expandBars(closest.index, closest.id, true);
-
- // Show xgrid focus line
- $$.showXGridFocus(selectedData);
-
- // Show cursor as pointer if point is close to mouse position
- if ($$.isBarType(closest.id) || $$.dist(closest, mouse) < 100) {
- $$.svg.select('.' + CLASS.eventRect).style('cursor', 'pointer');
- if (!$$.mouseover) {
- config.data_onmouseover.call($$.api, closest);
- $$.mouseover = closest;
- }
- }
- })
- .on('click', function () {
- var targetsToShow = $$.filterTargetsToShow($$.data.targets);
- var mouse, closest;
-
- if ($$.hasArcType(targetsToShow)) {
- return;
- }
-
- mouse = d3.mouse(this);
- closest = $$.findClosestFromTargets(targetsToShow, mouse);
-
- if (!closest) {
- return;
- }
-
- // select if selection enabled
- if ($$.isBarType(closest.id) || $$.dist(closest, mouse) < 100) {
- $$.main.selectAll('.' + CLASS.shapes + $$.getTargetSelectorSuffix(closest.id)).select('.' + CLASS.shape + '-' + closest.index).each(function () {
- if (config.data_selection_grouped || $$.isWithinShape(this, closest)) {
- $$.toggleShape(this, closest, closest.index);
- $$.config.data_onclick.call($$.api, closest, this);
- }
- });
- }
- })
- .call(
- d3.behavior.drag().origin(Object)
- .on('drag', function () {
- $$.drag(d3.mouse(this));
- })
- .on('dragstart', function () {
- $$.dragstart(d3.mouse(this));
- })
- .on('dragend', function () {
- $$.dragend();
- })
- );
- };
- c3_chart_internal_fn.dispatchEvent = function (type, index, mouse) {
- var $$ = this,
- selector = '.' + CLASS.eventRect + (!$$.isMultipleX() ? '-' + index : ''),
- eventRect = $$.main.select(selector).node(),
- box = eventRect.getBoundingClientRect(),
- x = box.left + (mouse ? mouse[0] : 0),
- y = box.top + (mouse ? mouse[1] : 0),
- event = document.createEvent("MouseEvents");
-
- event.initMouseEvent(type, true, true, window, 0, x, y, x, y,
- false, false, false, false, 0, null);
- eventRect.dispatchEvent(event);
- };
-
- c3_chart_internal_fn.getCurrentWidth = function () {
- var $$ = this, config = $$.config;
- return config.size_width ? config.size_width : $$.getParentWidth();
- };
- c3_chart_internal_fn.getCurrentHeight = function () {
- var $$ = this, config = $$.config,
- h = config.size_height ? config.size_height : $$.getParentHeight();
- return h > 0 ? h : 320 / ($$.hasType('gauge') ? 2 : 1);
- };
- c3_chart_internal_fn.getCurrentPaddingTop = function () {
- var config = this.config;
- return isValue(config.padding_top) ? config.padding_top : 0;
- };
- c3_chart_internal_fn.getCurrentPaddingBottom = function () {
- var config = this.config;
- return isValue(config.padding_bottom) ? config.padding_bottom : 0;
- };
- c3_chart_internal_fn.getCurrentPaddingLeft = function (withoutRecompute) {
- var $$ = this, config = $$.config;
- if (isValue(config.padding_left)) {
- return config.padding_left;
- } else if (config.axis_rotated) {
- return !config.axis_x_show ? 1 : Math.max(ceil10($$.getAxisWidthByAxisId('x', withoutRecompute)), 40);
- } else if (!config.axis_y_show || config.axis_y_inner) { // && !config.axis_rotated
- return $$.getYAxisLabelPosition().isOuter ? 30 : 1;
- } else {
- return ceil10($$.getAxisWidthByAxisId('y', withoutRecompute));
- }
- };
- c3_chart_internal_fn.getCurrentPaddingRight = function () {
- var $$ = this, config = $$.config,
- defaultPadding = 10, legendWidthOnRight = $$.isLegendRight ? $$.getLegendWidth() + 20 : 0;
- if (isValue(config.padding_right)) {
- return config.padding_right + 1; // 1 is needed not to hide tick line
- } else if (config.axis_rotated) {
- return defaultPadding + legendWidthOnRight;
- } else if (!config.axis_y2_show || config.axis_y2_inner) { // && !config.axis_rotated
- return 2 + legendWidthOnRight + ($$.getY2AxisLabelPosition().isOuter ? 20 : 0);
- } else {
- return ceil10($$.getAxisWidthByAxisId('y2')) + legendWidthOnRight;
- }
- };
-
- c3_chart_internal_fn.getParentRectValue = function (key) {
- var parent = this.selectChart.node(), v;
- while (parent && parent.tagName !== 'BODY') {
- v = parent.getBoundingClientRect()[key];
- if (v) {
- break;
- }
- parent = parent.parentNode;
- }
- return v;
- };
- c3_chart_internal_fn.getParentWidth = function () {
- return this.getParentRectValue('width');
- };
- c3_chart_internal_fn.getParentHeight = function () {
- var h = this.selectChart.style('height');
- return h.indexOf('px') > 0 ? +h.replace('px', '') : 0;
- };
-
-
- c3_chart_internal_fn.getSvgLeft = function (withoutRecompute) {
- var $$ = this, config = $$.config,
- hasLeftAxisRect = config.axis_rotated || (!config.axis_rotated && !config.axis_y_inner),
- leftAxisClass = config.axis_rotated ? CLASS.axisX : CLASS.axisY,
- leftAxis = $$.main.select('.' + leftAxisClass).node(),
- svgRect = leftAxis && hasLeftAxisRect ? leftAxis.getBoundingClientRect() : {right: 0},
- chartRect = $$.selectChart.node().getBoundingClientRect(),
- hasArc = $$.hasArcType(),
- svgLeft = svgRect.right - chartRect.left - (hasArc ? 0 : $$.getCurrentPaddingLeft(withoutRecompute));
- return svgLeft > 0 ? svgLeft : 0;
- };
-
-
- c3_chart_internal_fn.getAxisWidthByAxisId = function (id, withoutRecompute) {
- var $$ = this, position = $$.getAxisLabelPositionById(id);
- return $$.getMaxTickWidth(id, withoutRecompute) + (position.isInner ? 20 : 40);
- };
- c3_chart_internal_fn.getHorizontalAxisHeight = function (axisId) {
- var $$ = this, config = $$.config, h = 30;
- if (axisId === 'x' && !config.axis_x_show) {
- return 8;
- }
- if (axisId === 'x' && config.axis_x_height) {
- return config.axis_x_height;
- }
- if (axisId === 'y' && !config.axis_y_show) {
- return config.legend_show && !$$.isLegendRight && !$$.isLegendInset ? 10 : 1;
- }
- if (axisId === 'y2' && !config.axis_y2_show) {
- return $$.rotated_padding_top;
- }
- // Calculate x axis height when tick rotated
- if (axisId === 'x' && !config.axis_rotated && config.axis_x_tick_rotate) {
- h = $$.getMaxTickWidth(axisId) * Math.cos(Math.PI * (90 - config.axis_x_tick_rotate) / 180);
- }
- return h + ($$.getAxisLabelPositionById(axisId).isInner ? 0 : 10) + (axisId === 'y2' ? -10 : 0);
- };
-
- c3_chart_internal_fn.getEventRectWidth = function () {
- var $$ = this;
- var target = $$.getMaxDataCountTarget($$.data.targets),
- firstData, lastData, base, maxDataCount, ratio, w;
- if (!target) {
- return 0;
- }
- firstData = target.values[0], lastData = target.values[target.values.length - 1];
- base = $$.x(lastData.x) - $$.x(firstData.x);
- if (base === 0) {
- return $$.config.axis_rotated ? $$.height : $$.width;
- }
- maxDataCount = $$.getMaxDataCount();
- ratio = ($$.hasType('bar') ? (maxDataCount - ($$.isCategorized() ? 0.25 : 1)) / maxDataCount : 1);
- w = maxDataCount > 1 ? (base * ratio) / (maxDataCount - 1) : base;
- return w < 1 ? 1 : w;
- };
-
- c3_chart_internal_fn.getShapeIndices = function (typeFilter) {
- var $$ = this, config = $$.config,
- indices = {}, i = 0, j, k;
- $$.filterTargetsToShow($$.data.targets.filter(typeFilter, $$)).forEach(function (d) {
- for (j = 0; j < config.data_groups.length; j++) {
- if (config.data_groups[j].indexOf(d.id) < 0) {
- continue;
- }
- for (k = 0; k < config.data_groups[j].length; k++) {
- if (config.data_groups[j][k] in indices) {
- indices[d.id] = indices[config.data_groups[j][k]];
- break;
- }
- }
- }
- if (isUndefined(indices[d.id])) {
- indices[d.id] = i++;
- }
- });
- indices.__max__ = i - 1;
- return indices;
- };
- c3_chart_internal_fn.getShapeX = function (offset, targetsNum, indices, isSub) {
- var $$ = this, scale = isSub ? $$.subX : $$.x;
- return function (d) {
- var index = d.id in indices ? indices[d.id] : 0;
- return d.x || d.x === 0 ? scale(d.x) - offset * (targetsNum / 2 - index) : 0;
- };
- };
- c3_chart_internal_fn.getShapeY = function (isSub) {
- var $$ = this;
- return function (d) {
- var scale = isSub ? $$.getSubYScale(d.id) : $$.getYScale(d.id);
- return scale(d.value);
- };
- };
- c3_chart_internal_fn.getShapeOffset = function (typeFilter, indices, isSub) {
- var $$ = this,
- targets = $$.orderTargets($$.filterTargetsToShow($$.data.targets.filter(typeFilter, $$))),
- targetIds = targets.map(function (t) {
- return t.id;
- });
- return function (d, i) {
- var scale = isSub ? $$.getSubYScale(d.id) : $$.getYScale(d.id),
- y0 = scale(0), offset = y0;
- targets.forEach(function (t) {
- var values = $$.isStepType(d) ? $$.convertValuesToStep(t.values) : t.values;
- if (t.id === d.id || indices[t.id] !== indices[d.id]) {
- return;
- }
- if (targetIds.indexOf(t.id) < targetIds.indexOf(d.id)) {
- if (values[i].value * d.value >= 0) {
- offset += scale(values[i].value) - y0;
- }
- }
- });
- return offset;
- };
- };
- c3_chart_internal_fn.isWithinShape = function (that, d) {
- var $$ = this,
- shape = $$.d3.select(that), isWithin;
- if (!$$.isTargetToShow(d.id)) {
- isWithin = false;
- }
- else if (that.nodeName === 'circle') {
- isWithin = $$.isStepType(d) ? $$.isWithinStep(that, $$.getYScale(d.id)(d.value)) : $$.isWithinCircle(that, $$.pointSelectR(d) * 1.5);
- }
- else if (that.nodeName === 'path') {
- isWithin = shape.classed(CLASS.bar) ? $$.isWithinBar(that) : true;
- }
- return isWithin;
- };
-
-
- c3_chart_internal_fn.getInterpolate = function (d) {
- var $$ = this;
- return $$.isSplineType(d) ? "cardinal" : $$.isStepType(d) ? $$.config.line_step_type : "linear";
- };
-
- c3_chart_internal_fn.initLine = function () {
- var $$ = this;
- $$.main.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.chartLines);
- };
- c3_chart_internal_fn.updateTargetsForLine = function (targets) {
- var $$ = this, config = $$.config,
- mainLineUpdate, mainLineEnter,
- classChartLine = $$.classChartLine.bind($$),
- classLines = $$.classLines.bind($$),
- classAreas = $$.classAreas.bind($$),
- classCircles = $$.classCircles.bind($$),
- classFocus = $$.classFocus.bind($$);
- mainLineUpdate = $$.main.select('.' + CLASS.chartLines).selectAll('.' + CLASS.chartLine)
- .data(targets)
- .attr('class', function (d) {
- return classChartLine(d) + classFocus(d);
- });
- mainLineEnter = mainLineUpdate.enter().append('g')
- .attr('class', classChartLine)
- .style('opacity', 0)
- .style("pointer-events", "none");
- // Lines for each data
- mainLineEnter.append('g')
- .attr("class", classLines);
- // Areas
- mainLineEnter.append('g')
- .attr('class', classAreas);
- // Circles for each data point on lines
- mainLineEnter.append('g')
- .attr("class", function (d) {
- return $$.generateClass(CLASS.selectedCircles, d.id);
- });
- mainLineEnter.append('g')
- .attr("class", classCircles)
- .style("cursor", function (d) {
- return config.data_selection_isselectable(d) ? "pointer" : null;
- });
- // Update date for selected circles
- targets.forEach(function (t) {
- $$.main.selectAll('.' + CLASS.selectedCircles + $$.getTargetSelectorSuffix(t.id)).selectAll('.' + CLASS.selectedCircle).each(function (d) {
- d.value = t.values[d.index].value;
- });
- });
- // MEMO: can not keep same color...
- //mainLineUpdate.exit().remove();
- };
- c3_chart_internal_fn.redrawLine = function (durationForExit) {
- var $$ = this;
- $$.mainLine = $$.main.selectAll('.' + CLASS.lines).selectAll('.' + CLASS.line)
- .data($$.lineData.bind($$));
- $$.mainLine.enter().append('path')
- .attr('class', $$.classLine.bind($$))
- .style("stroke", $$.color);
- $$.mainLine
- .style("opacity", $$.initialOpacity.bind($$))
- .style('shape-rendering', function (d) {
- return $$.isStepType(d) ? 'crispEdges' : '';
- })
- .attr('transform', null);
- $$.mainLine.exit().transition().duration(durationForExit)
- .style('opacity', 0)
- .remove();
- };
- c3_chart_internal_fn.addTransitionForLine = function (transitions, drawLine) {
- var $$ = this;
- transitions.push($$.mainLine.transition()
- .attr("d", drawLine)
- .style("stroke", $$.color)
- .style("opacity", 1));
- };
- c3_chart_internal_fn.generateDrawLine = function (lineIndices, isSub) {
- var $$ = this, config = $$.config,
- line = $$.d3.svg.line(),
- getPoints = $$.generateGetLinePoints(lineIndices, isSub),
- yScaleGetter = isSub ? $$.getSubYScale : $$.getYScale,
- xValue = function (d) {
- return (isSub ? $$.subxx : $$.xx).call($$, d);
- },
- yValue = function (d, i) {
- return config.data_groups.length > 0 ? getPoints(d, i)[0][1] : yScaleGetter.call($$, d.id)(d.value);
- };
-
- line = config.axis_rotated ? line.x(yValue).y(xValue) : line.x(xValue).y(yValue);
- if (!config.line_connectNull) {
- line = line.defined(function (d) {
- return d.value != null;
- });
- }
- return function (d) {
- var values = config.line_connectNull ? $$.filterRemoveNull(d.values) : d.values,
- x = isSub ? $$.x : $$.subX, y = yScaleGetter.call($$, d.id), x0 = 0, y0 = 0, path;
- if ($$.isLineType(d)) {
- if (config.data_regions[d.id]) {
- path = $$.lineWithRegions(values, x, y, config.data_regions[d.id]);
- } else {
- if ($$.isStepType(d)) {
- values = $$.convertValuesToStep(values);
- }
- path = line.interpolate($$.getInterpolate(d))(values);
- }
- } else {
- if (values[0]) {
- x0 = x(values[0].x);
- y0 = y(values[0].value);
- }
- path = config.axis_rotated ? "M " + y0 + " " + x0 : "M " + x0 + " " + y0;
- }
- return path ? path : "M 0 0";
- };
- };
- c3_chart_internal_fn.generateGetLinePoints = function (lineIndices, isSub) { // partial duplication of generateGetBarPoints
- var $$ = this, config = $$.config,
- lineTargetsNum = lineIndices.__max__ + 1,
- x = $$.getShapeX(0, lineTargetsNum, lineIndices, !!isSub),
- y = $$.getShapeY(!!isSub),
- lineOffset = $$.getShapeOffset($$.isLineType, lineIndices, !!isSub),
- yScale = isSub ? $$.getSubYScale : $$.getYScale;
- return function (d, i) {
- var y0 = yScale.call($$, d.id)(0),
- offset = lineOffset(d, i) || y0, // offset is for stacked area chart
- posX = x(d), posY = y(d);
- // fix posY not to overflow opposite quadrant
- if (config.axis_rotated) {
- if ((0 < d.value && posY < y0) || (d.value < 0 && y0 < posY)) {
- posY = y0;
- }
- }
- // 1 point that marks the line position
- return [
- [posX, posY - (y0 - offset)],
- [posX, posY - (y0 - offset)], // needed for compatibility
- [posX, posY - (y0 - offset)], // needed for compatibility
- [posX, posY - (y0 - offset)] // needed for compatibility
- ];
- };
- };
-
-
- c3_chart_internal_fn.lineWithRegions = function (d, x, y, _regions) {
- var $$ = this, config = $$.config,
- prev = -1, i, j,
- s = "M", sWithRegion,
- xp, yp, dx, dy, dd, diff, diffx2,
- xValue, yValue,
- regions = [];
-
- function isWithinRegions(x, regions) {
- var i;
- for (i = 0; i < regions.length; i++) {
- if (regions[i].start < x && x <= regions[i].end) {
- return true;
- }
- }
- return false;
- }
-
- // Check start/end of regions
- if (isDefined(_regions)) {
- for (i = 0; i < _regions.length; i++) {
- regions[i] = {};
- if (isUndefined(_regions[i].start)) {
- regions[i].start = d[0].x;
- } else {
- regions[i].start = $$.isTimeSeries() ? $$.parseDate(_regions[i].start) : _regions[i].start;
- }
- if (isUndefined(_regions[i].end)) {
- regions[i].end = d[d.length - 1].x;
- } else {
- regions[i].end = $$.isTimeSeries() ? $$.parseDate(_regions[i].end) : _regions[i].end;
- }
- }
- }
-
- // Set scales
- xValue = config.axis_rotated ? function (d) {
- return y(d.value);
- } : function (d) {
- return x(d.x);
- };
- yValue = config.axis_rotated ? function (d) {
- return x(d.x);
- } : function (d) {
- return y(d.value);
- };
-
- // Define svg generator function for region
- if ($$.isTimeSeries()) {
- sWithRegion = function (d0, d1, j, diff) {
- var x0 = d0.x.getTime(), x_diff = d1.x - d0.x,
- xv0 = new Date(x0 + x_diff * j),
- xv1 = new Date(x0 + x_diff * (j + diff));
- return "M" + x(xv0) + " " + y(yp(j)) + " " + x(xv1) + " " + y(yp(j + diff));
- };
- } else {
- sWithRegion = function (d0, d1, j, diff) {
- return "M" + x(xp(j), true) + " " + y(yp(j)) + " " + x(xp(j + diff), true) + " " + y(yp(j + diff));
- };
- }
-
- // Generate
- for (i = 0; i < d.length; i++) {
-
- // Draw as normal
- if (isUndefined(regions) || !isWithinRegions(d[i].x, regions)) {
- s += " " + xValue(d[i]) + " " + yValue(d[i]);
- }
- // Draw with region // TODO: Fix for horizotal charts
- else {
- xp = $$.getScale(d[i - 1].x, d[i].x, $$.isTimeSeries());
- yp = $$.getScale(d[i - 1].value, d[i].value);
-
- dx = x(d[i].x) - x(d[i - 1].x);
- dy = y(d[i].value) - y(d[i - 1].value);
- dd = Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2));
- diff = 2 / dd;
- diffx2 = diff * 2;
-
- for (j = diff; j <= 1; j += diffx2) {
- s += sWithRegion(d[i - 1], d[i], j, diff);
- }
- }
- prev = d[i].x;
- }
-
- return s;
- };
-
-
- c3_chart_internal_fn.redrawArea = function (durationForExit) {
- var $$ = this, d3 = $$.d3;
- $$.mainArea = $$.main.selectAll('.' + CLASS.areas).selectAll('.' + CLASS.area)
- .data($$.lineData.bind($$));
- $$.mainArea.enter().append('path')
- .attr("class", $$.classArea.bind($$))
- .style("fill", $$.color)
- .style("opacity", function () {
- $$.orgAreaOpacity = +d3.select(this).style('opacity');
- return 0;
- });
- $$.mainArea
- .style("opacity", $$.orgAreaOpacity);
- $$.mainArea.exit().transition().duration(durationForExit)
- .style('opacity', 0)
- .remove();
- };
- c3_chart_internal_fn.addTransitionForArea = function (transitions, drawArea) {
- var $$ = this;
- transitions.push($$.mainArea.transition()
- .attr("d", drawArea)
- .style("fill", $$.color)
- .style("opacity", $$.orgAreaOpacity));
- };
- c3_chart_internal_fn.generateDrawArea = function (areaIndices, isSub) {
- var $$ = this, config = $$.config, area = $$.d3.svg.area(),
- getPoints = $$.generateGetAreaPoints(areaIndices, isSub),
- yScaleGetter = isSub ? $$.getSubYScale : $$.getYScale,
- xValue = function (d) {
- return (isSub ? $$.subxx : $$.xx).call($$, d);
- },
- value0 = function (d, i) {
- return config.data_groups.length > 0 ? getPoints(d, i)[0][1] : yScaleGetter.call($$, d.id)($$.getAreaBaseValue(d.id));
- },
- value1 = function (d, i) {
- return config.data_groups.length > 0 ? getPoints(d, i)[1][1] : yScaleGetter.call($$, d.id)(d.value);
- };
-
- area = config.axis_rotated ? area.x0(value0).x1(value1).y(xValue) : area.x(xValue).y0(value0).y1(value1);
- if (!config.line_connectNull) {
- area = area.defined(function (d) {
- return d.value !== null;
- });
- }
-
- return function (d) {
- var values = config.line_connectNull ? $$.filterRemoveNull(d.values) : d.values,
- x0 = 0, y0 = 0, path;
- if ($$.isAreaType(d)) {
- if ($$.isStepType(d)) {
- values = $$.convertValuesToStep(values);
- }
- path = area.interpolate($$.getInterpolate(d))(values);
- } else {
- if (values[0]) {
- x0 = $$.x(values[0].x);
- y0 = $$.getYScale(d.id)(values[0].value);
- }
- path = config.axis_rotated ? "M " + y0 + " " + x0 : "M " + x0 + " " + y0;
- }
- return path ? path : "M 0 0";
- };
- };
- c3_chart_internal_fn.getAreaBaseValue = function () {
- return 0;
- };
- c3_chart_internal_fn.generateGetAreaPoints = function (areaIndices, isSub) { // partial duplication of generateGetBarPoints
- var $$ = this, config = $$.config,
- areaTargetsNum = areaIndices.__max__ + 1,
- x = $$.getShapeX(0, areaTargetsNum, areaIndices, !!isSub),
- y = $$.getShapeY(!!isSub),
- areaOffset = $$.getShapeOffset($$.isAreaType, areaIndices, !!isSub),
- yScale = isSub ? $$.getSubYScale : $$.getYScale;
- return function (d, i) {
- var y0 = yScale.call($$, d.id)(0),
- offset = areaOffset(d, i) || y0, // offset is for stacked area chart
- posX = x(d), posY = y(d);
- // fix posY not to overflow opposite quadrant
- if (config.axis_rotated) {
- if ((0 < d.value && posY < y0) || (d.value < 0 && y0 < posY)) {
- posY = y0;
- }
- }
- // 1 point that marks the area position
- return [
- [posX, offset],
- [posX, posY - (y0 - offset)],
- [posX, posY - (y0 - offset)], // needed for compatibility
- [posX, offset] // needed for compatibility
- ];
- };
- };
-
-
- c3_chart_internal_fn.redrawCircle = function () {
- var $$ = this;
- $$.mainCircle = $$.main.selectAll('.' + CLASS.circles).selectAll('.' + CLASS.circle)
- .data($$.lineOrScatterData.bind($$));
- $$.mainCircle.enter().append("circle")
- .attr("class", $$.classCircle.bind($$))
- .attr("r", $$.pointR.bind($$))
- .style("fill", $$.color);
- $$.mainCircle
- .style("opacity", $$.initialOpacityForCircle.bind($$));
- $$.mainCircle.exit().remove();
- };
- c3_chart_internal_fn.addTransitionForCircle = function (transitions, cx, cy) {
- var $$ = this;
- transitions.push($$.mainCircle.transition()
- .style('opacity', $$.opacityForCircle.bind($$))
- .style("fill", $$.color)
- .attr("cx", cx)
- .attr("cy", cy));
- transitions.push($$.main.selectAll('.' + CLASS.selectedCircle).transition()
- .attr("cx", cx)
- .attr("cy", cy));
- };
- c3_chart_internal_fn.circleX = function (d) {
- return d.x || d.x === 0 ? this.x(d.x) : null;
- };
- c3_chart_internal_fn.updateCircleY = function () {
- var $$ = this, lineIndices, getPoints;
- if ($$.config.data_groups.length > 0) {
- lineIndices = $$.getShapeIndices($$.isLineType),
- getPoints = $$.generateGetLinePoints(lineIndices);
- $$.circleY = function (d, i) {
- return getPoints(d, i)[0][1];
- };
- } else {
- $$.circleY = function (d) {
- return $$.getYScale(d.id)(d.value);
- };
- }
- };
- c3_chart_internal_fn.getCircles = function (i, id) {
- var $$ = this;
- return (id ? $$.main.selectAll('.' + CLASS.circles + $$.getTargetSelectorSuffix(id)) : $$.main).selectAll('.' + CLASS.circle + (isValue(i) ? '-' + i : ''));
- };
- c3_chart_internal_fn.expandCircles = function (i, id, reset) {
- var $$ = this,
- r = $$.pointExpandedR.bind($$);
- if (reset) {
- $$.unexpandCircles();
- }
- $$.getCircles(i, id)
- .classed(CLASS.EXPANDED, true)
- .attr('r', r);
- };
- c3_chart_internal_fn.unexpandCircles = function (i) {
- var $$ = this,
- r = $$.pointR.bind($$);
- $$.getCircles(i)
- .filter(function () {
- return $$.d3.select(this).classed(CLASS.EXPANDED);
- })
- .classed(CLASS.EXPANDED, false)
- .attr('r', r);
- };
- c3_chart_internal_fn.pointR = function (d) {
- var $$ = this, config = $$.config;
- return $$.isStepType(d) ? 0 : (isFunction(config.point_r) ? config.point_r(d) : config.point_r);
- };
- c3_chart_internal_fn.pointExpandedR = function (d) {
- var $$ = this, config = $$.config;
- return config.point_focus_expand_enabled ? (config.point_focus_expand_r ? config.point_focus_expand_r : $$.pointR(d) * 1.75) : $$.pointR(d);
- };
- c3_chart_internal_fn.pointSelectR = function (d) {
- var $$ = this, config = $$.config;
- return config.point_select_r ? config.point_select_r : $$.pointR(d) * 4;
- };
- c3_chart_internal_fn.isWithinCircle = function (that, r) {
- var d3 = this.d3,
- mouse = d3.mouse(that), d3_this = d3.select(that),
- cx = +d3_this.attr("cx"), cy = +d3_this.attr("cy");
- return Math.sqrt(Math.pow(cx - mouse[0], 2) + Math.pow(cy - mouse[1], 2)) < r;
- };
- c3_chart_internal_fn.isWithinStep = function (that, y) {
- return Math.abs(y - this.d3.mouse(that)[1]) < 30;
- };
-
- c3_chart_internal_fn.initBar = function () {
- var $$ = this;
- $$.main.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.chartBars);
- };
- c3_chart_internal_fn.updateTargetsForBar = function (targets) {
- var $$ = this, config = $$.config,
- mainBarUpdate, mainBarEnter,
- classChartBar = $$.classChartBar.bind($$),
- classBars = $$.classBars.bind($$),
- classFocus = $$.classFocus.bind($$);
- mainBarUpdate = $$.main.select('.' + CLASS.chartBars).selectAll('.' + CLASS.chartBar)
- .data(targets)
- .attr('class', function (d) {
- return classChartBar(d) + classFocus(d);
- });
- mainBarEnter = mainBarUpdate.enter().append('g')
- .attr('class', classChartBar)
- .style('opacity', 0)
- .style("pointer-events", "none");
- // Bars for each data
- mainBarEnter.append('g')
- .attr("class", classBars)
- .style("cursor", function (d) {
- return config.data_selection_isselectable(d) ? "pointer" : null;
- });
-
- };
- c3_chart_internal_fn.redrawBar = function (durationForExit) {
- var $$ = this,
- barData = $$.barData.bind($$),
- classBar = $$.classBar.bind($$),
- initialOpacity = $$.initialOpacity.bind($$),
- color = function (d) {
- return $$.color(d.id);
- };
- $$.mainBar = $$.main.selectAll('.' + CLASS.bars).selectAll('.' + CLASS.bar)
- .data(barData);
- $$.mainBar.enter().append('path')
- .attr("class", classBar)
- .style("stroke", color)
- .style("fill", color);
- $$.mainBar
- .style("opacity", initialOpacity);
- $$.mainBar.exit().transition().duration(durationForExit)
- .style('opacity', 0)
- .remove();
- };
- c3_chart_internal_fn.addTransitionForBar = function (transitions, drawBar) {
- var $$ = this;
- transitions.push($$.mainBar.transition()
- .attr('d', drawBar)
- .style("fill", $$.color)
- .style("opacity", 1));
- };
- c3_chart_internal_fn.getBarW = function (axis, barTargetsNum) {
- var $$ = this, config = $$.config,
- w = typeof config.bar_width === 'number' ? config.bar_width : barTargetsNum ? (axis.tickOffset() * 2 * config.bar_width_ratio) / barTargetsNum : 0;
- return config.bar_width_max && w > config.bar_width_max ? config.bar_width_max : w;
- };
- c3_chart_internal_fn.getBars = function (i, id) {
- var $$ = this;
- return (id ? $$.main.selectAll('.' + CLASS.bars + $$.getTargetSelectorSuffix(id)) : $$.main).selectAll('.' + CLASS.bar + (isValue(i) ? '-' + i : ''));
- };
- c3_chart_internal_fn.expandBars = function (i, id, reset) {
- var $$ = this;
- if (reset) {
- $$.unexpandBars();
- }
- $$.getBars(i, id).classed(CLASS.EXPANDED, true);
- };
- c3_chart_internal_fn.unexpandBars = function (i) {
- var $$ = this;
- $$.getBars(i).classed(CLASS.EXPANDED, false);
- };
- c3_chart_internal_fn.generateDrawBar = function (barIndices, isSub) {
- var $$ = this, config = $$.config,
- getPoints = $$.generateGetBarPoints(barIndices, isSub);
- return function (d, i) {
- // 4 points that make a bar
- var points = getPoints(d, i);
-
- // switch points if axis is rotated, not applicable for sub chart
- var indexX = config.axis_rotated ? 1 : 0;
- var indexY = config.axis_rotated ? 0 : 1;
-
- var path = 'M ' + points[0][indexX] + ',' + points[0][indexY] + ' ' +
- 'L' + points[1][indexX] + ',' + points[1][indexY] + ' ' +
- 'L' + points[2][indexX] + ',' + points[2][indexY] + ' ' +
- 'L' + points[3][indexX] + ',' + points[3][indexY] + ' ' +
- 'z';
-
- return path;
- };
- };
- c3_chart_internal_fn.generateGetBarPoints = function (barIndices, isSub) {
- var $$ = this,
- axis = isSub ? $$.subXAxis : $$.xAxis,
- barTargetsNum = barIndices.__max__ + 1,
- barW = $$.getBarW(axis, barTargetsNum),
- barX = $$.getShapeX(barW, barTargetsNum, barIndices, !!isSub),
- barY = $$.getShapeY(!!isSub),
- barOffset = $$.getShapeOffset($$.isBarType, barIndices, !!isSub),
- yScale = isSub ? $$.getSubYScale : $$.getYScale;
- return function (d, i) {
- var y0 = yScale.call($$, d.id)(0),
- offset = barOffset(d, i) || y0, // offset is for stacked bar chart
- posX = barX(d), posY = barY(d);
- // fix posY not to overflow opposite quadrant
- if ($$.config.axis_rotated) {
- if ((0 < d.value && posY < y0) || (d.value < 0 && y0 < posY)) {
- posY = y0;
- }
- }
- // 4 points that make a bar
- return [
- [posX, offset],
- [posX, posY - (y0 - offset)],
- [posX + barW, posY - (y0 - offset)],
- [posX + barW, offset]
- ];
- };
- };
- c3_chart_internal_fn.isWithinBar = function (that) {
- var mouse = this.d3.mouse(that), box = that.getBoundingClientRect(),
- seg0 = that.pathSegList.getItem(0), seg1 = that.pathSegList.getItem(1),
- x = Math.min(seg0.x, seg1.x), y = Math.min(seg0.y, seg1.y),
- w = box.width, h = box.height, offset = 2,
- sx = x - offset, ex = x + w + offset, sy = y + h + offset, ey = y - offset;
- return sx < mouse[0] && mouse[0] < ex && ey < mouse[1] && mouse[1] < sy;
- };
-
- c3_chart_internal_fn.initText = function () {
- var $$ = this;
- $$.main.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.chartTexts);
- $$.mainText = $$.d3.selectAll([]);
- };
- c3_chart_internal_fn.updateTargetsForText = function (targets) {
- var $$ = this, mainTextUpdate, mainTextEnter,
- classChartText = $$.classChartText.bind($$),
- classTexts = $$.classTexts.bind($$),
- classFocus = $$.classFocus.bind($$);
- mainTextUpdate = $$.main.select('.' + CLASS.chartTexts).selectAll('.' + CLASS.chartText)
- .data(targets)
- .attr('class', function (d) {
- return classChartText(d) + classFocus(d);
- });
- mainTextEnter = mainTextUpdate.enter().append('g')
- .attr('class', classChartText)
- .style('opacity', 0)
- .style("pointer-events", "none");
- mainTextEnter.append('g')
- .attr('class', classTexts);
- };
- c3_chart_internal_fn.redrawText = function (durationForExit) {
- var $$ = this, config = $$.config,
- barOrLineData = $$.barOrLineData.bind($$),
- classText = $$.classText.bind($$);
- $$.mainText = $$.main.selectAll('.' + CLASS.texts).selectAll('.' + CLASS.text)
- .data(barOrLineData);
- $$.mainText.enter().append('text')
- .attr("class", classText)
- .attr('text-anchor', function (d) {
- return config.axis_rotated ? (d.value < 0 ? 'end' : 'start') : 'middle';
- })
- .style("stroke", 'none')
- .style("fill", function (d) {
- return $$.color(d);
- })
- .style("fill-opacity", 0);
- $$.mainText
- .text(function (d, i, j) {
- return $$.formatByAxisId($$.getAxisId(d.id))(d.value, d.id, i, j);
- });
- $$.mainText.exit()
- .transition().duration(durationForExit)
- .style('fill-opacity', 0)
- .remove();
- };
- c3_chart_internal_fn.addTransitionForText = function (transitions, xForText, yForText, forFlow) {
- var $$ = this,
- opacityForText = forFlow ? 0 : $$.opacityForText.bind($$);
- transitions.push($$.mainText.transition()
- .attr('x', xForText)
- .attr('y', yForText)
- .style("fill", $$.color)
- .style("fill-opacity", opacityForText));
- };
- c3_chart_internal_fn.getTextRect = function (text, cls) {
- var body = this.d3.select('body').classed('c3', true),
- svg = body.append("svg").style('visibility', 'hidden'), rect;
- svg.selectAll('.dummy')
- .data([text])
- .enter().append('text')
- .classed(cls ? cls : "", true)
- .text(text)
- .each(function () {
- rect = this.getBoundingClientRect();
- });
- svg.remove();
- body.classed('c3', false);
- return rect;
- };
- c3_chart_internal_fn.generateXYForText = function (areaIndices, barIndices, lineIndices, forX) {
- var $$ = this,
- getAreaPoints = $$.generateGetAreaPoints(barIndices, false),
- getBarPoints = $$.generateGetBarPoints(barIndices, false),
- getLinePoints = $$.generateGetLinePoints(lineIndices, false),
- getter = forX ? $$.getXForText : $$.getYForText;
- return function (d, i) {
- var getPoints = $$.isAreaType(d) ? getAreaPoints : $$.isBarType(d) ? getBarPoints : getLinePoints;
- return getter.call($$, getPoints(d, i), d, this);
- };
- };
- c3_chart_internal_fn.getXForText = function (points, d, textElement) {
- var $$ = this,
- box = textElement.getBoundingClientRect(), xPos, padding;
- if ($$.config.axis_rotated) {
- padding = $$.isBarType(d) ? 4 : 6;
- xPos = points[2][1] + padding * (d.value < 0 ? -1 : 1);
- } else {
- xPos = $$.hasType('bar') ? (points[2][0] + points[0][0]) / 2 : points[0][0];
- }
- // show labels regardless of the domain if value is null
- if (d.value === null) {
- if (xPos > $$.width) {
- xPos = $$.width - box.width;
- } else if (xPos < 0) {
- xPos = 4;
- }
- }
- return xPos;
- };
- c3_chart_internal_fn.getYForText = function (points, d, textElement) {
- var $$ = this,
- box = textElement.getBoundingClientRect(), yPos;
- if ($$.config.axis_rotated) {
- yPos = (points[0][0] + points[2][0] + box.height * 0.6) / 2;
- } else {
- yPos = points[2][1] + (d.value < 0 ? box.height : $$.isBarType(d) ? -3 : -6);
- }
- // show labels regardless of the domain if value is null
- if (d.value === null && !$$.config.axis_rotated) {
- if (yPos < box.height) {
- yPos = box.height;
- } else if (yPos > this.height) {
- yPos = this.height - 4;
- }
- }
- return yPos;
- };
-
- c3_chart_internal_fn.setTargetType = function (targetIds, type) {
- var $$ = this, config = $$.config;
- $$.mapToTargetIds(targetIds).forEach(function (id) {
- $$.withoutFadeIn[id] = (type === config.data_types[id]);
- config.data_types[id] = type;
- });
- if (!targetIds) {
- config.data_type = type;
- }
- };
- c3_chart_internal_fn.hasType = function (type, targets) {
- var $$ = this, types = $$.config.data_types, has = false;
- targets = targets || $$.data.targets;
- if (targets && targets.length) {
- targets.forEach(function (target) {
- var t = types[target.id];
- if ((t && t.indexOf(type) >= 0) || (!t && type === 'line')) {
- has = true;
- }
- });
- } else if (Object.keys(types).length) {
- Object.keys(types).forEach(function (id) {
- if (types[id] === type) {
- has = true;
- }
- });
- } else {
- has = $$.config.data_type === type;
- }
- return has;
- };
- c3_chart_internal_fn.hasArcType = function (targets) {
- return this.hasType('pie', targets) || this.hasType('donut', targets) || this.hasType('gauge', targets);
- };
- c3_chart_internal_fn.isLineType = function (d) {
- var config = this.config, id = isString(d) ? d : d.id;
- return !config.data_types[id] || ['line', 'spline', 'area', 'area-spline', 'step', 'area-step'].indexOf(config.data_types[id]) >= 0;
- };
- c3_chart_internal_fn.isStepType = function (d) {
- var id = isString(d) ? d : d.id;
- return ['step', 'area-step'].indexOf(this.config.data_types[id]) >= 0;
- };
- c3_chart_internal_fn.isSplineType = function (d) {
- var id = isString(d) ? d : d.id;
- return ['spline', 'area-spline'].indexOf(this.config.data_types[id]) >= 0;
- };
- c3_chart_internal_fn.isAreaType = function (d) {
- var id = isString(d) ? d : d.id;
- return ['area', 'area-spline', 'area-step'].indexOf(this.config.data_types[id]) >= 0;
- };
- c3_chart_internal_fn.isBarType = function (d) {
- var id = isString(d) ? d : d.id;
- return this.config.data_types[id] === 'bar';
- };
- c3_chart_internal_fn.isScatterType = function (d) {
- var id = isString(d) ? d : d.id;
- return this.config.data_types[id] === 'scatter';
- };
- c3_chart_internal_fn.isPieType = function (d) {
- var id = isString(d) ? d : d.id;
- return this.config.data_types[id] === 'pie';
- };
- c3_chart_internal_fn.isGaugeType = function (d) {
- var id = isString(d) ? d : d.id;
- return this.config.data_types[id] === 'gauge';
- };
- c3_chart_internal_fn.isDonutType = function (d) {
- var id = isString(d) ? d : d.id;
- return this.config.data_types[id] === 'donut';
- };
- c3_chart_internal_fn.isArcType = function (d) {
- return this.isPieType(d) || this.isDonutType(d) || this.isGaugeType(d);
- };
- c3_chart_internal_fn.lineData = function (d) {
- return this.isLineType(d) ? [d] : [];
- };
- c3_chart_internal_fn.arcData = function (d) {
- return this.isArcType(d.data) ? [d] : [];
- };
- /* not used
- function scatterData(d) {
- return isScatterType(d) ? d.values : [];
- }
- */
- c3_chart_internal_fn.barData = function (d) {
- return this.isBarType(d) ? d.values : [];
- };
- c3_chart_internal_fn.lineOrScatterData = function (d) {
- return this.isLineType(d) || this.isScatterType(d) ? d.values : [];
- };
- c3_chart_internal_fn.barOrLineData = function (d) {
- return this.isBarType(d) || this.isLineType(d) ? d.values : [];
- };
-
- c3_chart_internal_fn.initGrid = function () {
- var $$ = this, config = $$.config, d3 = $$.d3;
- $$.grid = $$.main.append('g')
- .attr("clip-path", $$.clipPathForGrid)
- .attr('class', CLASS.grid);
- if (config.grid_x_show) {
- $$.grid.append("g").attr("class", CLASS.xgrids);
- }
- if (config.grid_y_show) {
- $$.grid.append('g').attr('class', CLASS.ygrids);
- }
- if (config.grid_focus_show) {
- $$.grid.append('g')
- .attr("class", CLASS.xgridFocus)
- .append('line')
- .attr('class', CLASS.xgridFocus);
- }
- $$.xgrid = d3.selectAll([]);
- if (!config.grid_lines_front) {
- $$.initGridLines();
- }
- };
- c3_chart_internal_fn.initGridLines = function () {
- var $$ = this, d3 = $$.d3;
- $$.gridLines = $$.main.append('g')
- .attr("clip-path", $$.clipPathForGrid)
- .attr('class', CLASS.grid + ' ' + CLASS.gridLines);
- $$.gridLines.append('g').attr("class", CLASS.xgridLines);
- $$.gridLines.append('g').attr('class', CLASS.ygridLines);
- $$.xgridLines = d3.selectAll([]);
- };
- c3_chart_internal_fn.updateXGrid = function (withoutUpdate) {
- var $$ = this, config = $$.config, d3 = $$.d3,
- xgridData = $$.generateGridData(config.grid_x_type, $$.x),
- tickOffset = $$.isCategorized() ? $$.xAxis.tickOffset() : 0;
-
- $$.xgridAttr = config.axis_rotated ? {
- 'x1': 0,
- 'x2': $$.width,
- 'y1': function (d) {
- return $$.x(d) - tickOffset;
- },
- 'y2': function (d) {
- return $$.x(d) - tickOffset;
- }
- } : {
- 'x1': function (d) {
- return $$.x(d) + tickOffset;
- },
- 'x2': function (d) {
- return $$.x(d) + tickOffset;
- },
- 'y1': 0,
- 'y2': $$.height
- };
-
- $$.xgrid = $$.main.select('.' + CLASS.xgrids).selectAll('.' + CLASS.xgrid)
- .data(xgridData);
- $$.xgrid.enter().append('line').attr("class", CLASS.xgrid);
- if (!withoutUpdate) {
- $$.xgrid.attr($$.xgridAttr)
- .style("opacity", function () {
- return +d3.select(this).attr(config.axis_rotated ? 'y1' : 'x1') === (config.axis_rotated ? $$.height : 0) ? 0 : 1;
- });
- }
- $$.xgrid.exit().remove();
- };
-
- c3_chart_internal_fn.updateYGrid = function () {
- var $$ = this, config = $$.config,
- gridValues = $$.yAxis.tickValues() || $$.y.ticks(config.grid_y_ticks);
- $$.ygrid = $$.main.select('.' + CLASS.ygrids).selectAll('.' + CLASS.ygrid)
- .data(gridValues);
- $$.ygrid.enter().append('line')
- .attr('class', CLASS.ygrid);
- $$.ygrid.attr("x1", config.axis_rotated ? $$.y : 0)
- .attr("x2", config.axis_rotated ? $$.y : $$.width)
- .attr("y1", config.axis_rotated ? 0 : $$.y)
- .attr("y2", config.axis_rotated ? $$.height : $$.y);
- $$.ygrid.exit().remove();
- $$.smoothLines($$.ygrid, 'grid');
- };
-
-
- c3_chart_internal_fn.redrawGrid = function (duration) {
- var $$ = this, main = $$.main, config = $$.config,
- xgridLine, ygridLine, yv;
-
- // hide if arc type
- $$.grid.style('visibility', $$.hasArcType() ? 'hidden' : 'visible');
-
- main.select('line.' + CLASS.xgridFocus).style("visibility", "hidden");
- if (config.grid_x_show) {
- $$.updateXGrid();
- }
- $$.xgridLines = main.select('.' + CLASS.xgridLines).selectAll('.' + CLASS.xgridLine)
- .data(config.grid_x_lines);
- // enter
- xgridLine = $$.xgridLines.enter().append('g')
- .attr("class", function (d) {
- return CLASS.xgridLine + (d['class'] ? ' ' + d['class'] : '');
- });
- xgridLine.append('line')
- .style("opacity", 0);
- xgridLine.append('text')
- .attr("text-anchor", "end")
- .attr("transform", config.axis_rotated ? "" : "rotate(-90)")
- .attr('dx', config.axis_rotated ? 0 : -$$.margin.top)
- .attr('dy', -5)
- .style("opacity", 0);
- // udpate
- // done in d3.transition() of the end of this function
- // exit
- $$.xgridLines.exit().transition().duration(duration)
- .style("opacity", 0)
- .remove();
-
- // Y-Grid
- if (config.grid_y_show) {
- $$.updateYGrid();
- }
- $$.ygridLines = main.select('.' + CLASS.ygridLines).selectAll('.' + CLASS.ygridLine)
- .data(config.grid_y_lines);
- // enter
- ygridLine = $$.ygridLines.enter().append('g')
- .attr("class", function (d) {
- return CLASS.ygridLine + (d['class'] ? ' ' + d['class'] : '');
- });
- ygridLine.append('line')
- .style("opacity", 0);
- ygridLine.append('text')
- .attr("text-anchor", "end")
- .attr("transform", config.axis_rotated ? "rotate(-90)" : "")
- .attr('dx', config.axis_rotated ? 0 : -$$.margin.top)
- .attr('dy', -5)
- .style("opacity", 0);
- // update
- yv = $$.yv.bind($$);
- $$.ygridLines.select('line')
- .transition().duration(duration)
- .attr("x1", config.axis_rotated ? yv : 0)
- .attr("x2", config.axis_rotated ? yv : $$.width)
- .attr("y1", config.axis_rotated ? 0 : yv)
- .attr("y2", config.axis_rotated ? $$.height : yv)
- .style("opacity", 1);
- $$.ygridLines.select('text')
- .transition().duration(duration)
- .attr("x", config.axis_rotated ? 0 : $$.width)
- .attr("y", yv)
- .text(function (d) {
- return d.text;
- })
- .style("opacity", 1);
- // exit
- $$.ygridLines.exit().transition().duration(duration)
- .style("opacity", 0)
- .remove();
- };
- c3_chart_internal_fn.addTransitionForGrid = function (transitions) {
- var $$ = this, config = $$.config, xv = $$.xv.bind($$);
- transitions.push($$.xgridLines.select('line').transition()
- .attr("x1", config.axis_rotated ? 0 : xv)
- .attr("x2", config.axis_rotated ? $$.width : xv)
- .attr("y1", config.axis_rotated ? xv : $$.margin.top)
- .attr("y2", config.axis_rotated ? xv : $$.height)
- .style("opacity", 1));
- transitions.push($$.xgridLines.select('text').transition()
- .attr("x", config.axis_rotated ? $$.width : 0)
- .attr("y", xv)
- .text(function (d) {
- return d.text;
- })
- .style("opacity", 1));
- };
- c3_chart_internal_fn.showXGridFocus = function (selectedData) {
- var $$ = this, config = $$.config,
- dataToShow = selectedData.filter(function (d) {
- return d && isValue(d.value);
- }),
- focusEl = $$.main.selectAll('line.' + CLASS.xgridFocus),
- xx = $$.xx.bind($$);
- if (!config.tooltip_show) {
- return;
- }
- // Hide when scatter plot exists
- if ($$.hasType('scatter') || $$.hasArcType()) {
- return;
- }
- focusEl
- .style("visibility", "visible")
- .data([dataToShow[0]])
- .attr(config.axis_rotated ? 'y1' : 'x1', xx)
- .attr(config.axis_rotated ? 'y2' : 'x2', xx);
- $$.smoothLines(focusEl, 'grid');
- };
- c3_chart_internal_fn.hideXGridFocus = function () {
- this.main.select('line.' + CLASS.xgridFocus).style("visibility", "hidden");
- };
- c3_chart_internal_fn.updateXgridFocus = function () {
- var $$ = this, config = $$.config;
- $$.main.select('line.' + CLASS.xgridFocus)
- .attr("x1", config.axis_rotated ? 0 : -10)
- .attr("x2", config.axis_rotated ? $$.width : -10)
- .attr("y1", config.axis_rotated ? -10 : 0)
- .attr("y2", config.axis_rotated ? -10 : $$.height);
- };
- c3_chart_internal_fn.generateGridData = function (type, scale) {
- var $$ = this,
- gridData = [], xDomain, firstYear, lastYear, i,
- tickNum = $$.main.select("." + CLASS.axisX).selectAll('.tick').size();
- if (type === 'year') {
- xDomain = $$.getXDomain();
- firstYear = xDomain[0].getFullYear();
- lastYear = xDomain[1].getFullYear();
- for (i = firstYear; i <= lastYear; i++) {
- gridData.push(new Date(i + '-01-01 00:00:00'));
- }
- } else {
- gridData = scale.ticks(10);
- if (gridData.length > tickNum) { // use only int
- gridData = gridData.filter(function (d) {
- return ("" + d).indexOf('.') < 0;
- });
- }
- }
- return gridData;
- };
- c3_chart_internal_fn.getGridFilterToRemove = function (params) {
- return params ? function (line) {
- var found = false;
- [].concat(params).forEach(function (param) {
- if ((('value' in param && line.value === param.value) || ('class' in param && line['class'] === param['class']))) {
- found = true;
- }
- });
- return found;
- } : function () {
- return true;
- };
- };
- c3_chart_internal_fn.removeGridLines = function (params, forX) {
- var $$ = this, config = $$.config,
- toRemove = $$.getGridFilterToRemove(params),
- toShow = function (line) {
- return !toRemove(line);
- },
- classLines = forX ? CLASS.xgridLines : CLASS.ygridLines,
- classLine = forX ? CLASS.xgridLine : CLASS.ygridLine;
- $$.main.select('.' + classLines).selectAll('.' + classLine).filter(toRemove)
- .transition().duration(config.transition_duration)
- .style('opacity', 0).remove();
- if (forX) {
- config.grid_x_lines = config.grid_x_lines.filter(toShow);
- } else {
- config.grid_y_lines = config.grid_y_lines.filter(toShow);
- }
- };
-
- c3_chart_internal_fn.initTooltip = function () {
- var $$ = this, config = $$.config, i;
- $$.tooltip = $$.selectChart
- .style("position", "relative")
- .append("div")
- .attr('class', CLASS.tooltipContainer)
- .style("position", "absolute")
- .style("pointer-events", "none")
- .style("display", "none");
- // Show tooltip if needed
- if (config.tooltip_init_show) {
- if ($$.isTimeSeries() && isString(config.tooltip_init_x)) {
- config.tooltip_init_x = $$.parseDate(config.tooltip_init_x);
- for (i = 0; i < $$.data.targets[0].values.length; i++) {
- if (($$.data.targets[0].values[i].x - config.tooltip_init_x) === 0) {
- break;
- }
- }
- config.tooltip_init_x = i;
- }
- $$.tooltip.html(config.tooltip_contents.call($$, $$.data.targets.map(function (d) {
- return $$.addName(d.values[config.tooltip_init_x]);
- }), $$.getXAxisTickFormat(), $$.getYFormat($$.hasArcType()), $$.color));
- $$.tooltip.style("top", config.tooltip_init_position.top)
- .style("left", config.tooltip_init_position.left)
- .style("display", "block");
- }
- };
- c3_chart_internal_fn.getTooltipContent = function (d, defaultTitleFormat, defaultValueFormat, color) {
- var $$ = this, config = $$.config,
- titleFormat = config.tooltip_format_title || defaultTitleFormat,
- nameFormat = config.tooltip_format_name || function (name) {
- return name;
- },
- valueFormat = config.tooltip_format_value || defaultValueFormat,
- text, i, title, value, name, bgcolor;
- for (i = 0; i < d.length; i++) {
- if (!(d[i] && (d[i].value || d[i].value === 0))) {
- continue;
- }
-
- if (!text) {
- title = titleFormat ? titleFormat(d[i].x) : d[i].x;
- text = "<table class='" + CLASS.tooltip + "'>" + (title || title === 0 ? "<tr><th colspan='2'>" + title + "</th></tr>" : "");
- }
-
- name = nameFormat(d[i].name, d[i].ratio, d[i].id, d[i].index);
- value = valueFormat(d[i].value, d[i].ratio, d[i].id, d[i].index);
- bgcolor = $$.levelColor ? $$.levelColor(d[i].value) : color(d[i].id);
-
- text += "<tr class='" + CLASS.tooltipName + "-" + d[i].id + "'>";
- text += "<td class='name'><span style='background-color:" + bgcolor + "'></span>" + name + "</td>";
- text += "<td class='value'>" + value + "</td>";
- text += "</tr>";
- }
- return text + "</table>";
- };
- c3_chart_internal_fn.tooltipPosition = function (dataToShow, tWidth, tHeight, element) {
- var $$ = this, config = $$.config, d3 = $$.d3;
- var svgLeft, tooltipLeft, tooltipRight, tooltipTop, chartRight;
- var forArc = $$.hasArcType(),
- mouse = d3.mouse(element);
- // Determin tooltip position
- if (forArc) {
- tooltipLeft = (($$.width - ($$.isLegendRight ? $$.getLegendWidth() : 0)) / 2) + mouse[0];
- tooltipTop = ($$.height / 2) + mouse[1] + 20;
- } else {
- svgLeft = $$.getSvgLeft(true);
- if (config.axis_rotated) {
- tooltipLeft = svgLeft + mouse[0] + 100;
- tooltipRight = tooltipLeft + tWidth;
- chartRight = $$.currentWidth - $$.getCurrentPaddingRight();
- tooltipTop = $$.x(dataToShow[0].x) + 20;
- } else {
- tooltipLeft = svgLeft + $$.getCurrentPaddingLeft(true) + $$.x(dataToShow[0].x) + 20;
- tooltipRight = tooltipLeft + tWidth;
- chartRight = svgLeft + $$.currentWidth - $$.getCurrentPaddingRight();
- tooltipTop = mouse[1] + 15;
- }
-
- if (tooltipRight > chartRight) {
- tooltipLeft -= tooltipRight - chartRight;
- }
- if (tooltipTop + tHeight > $$.currentHeight) {
- tooltipTop -= tHeight + 30;
- }
- }
- if (tooltipTop < 0) {
- tooltipTop = 0;
- }
- return {top: tooltipTop, left: tooltipLeft};
- };
- c3_chart_internal_fn.showTooltip = function (selectedData, element) {
- var $$ = this, config = $$.config;
- var tWidth, tHeight, position;
- var forArc = $$.hasArcType(),
- dataToShow = selectedData.filter(function (d) {
- return d && isValue(d.value);
- }),
- positionFunction = config.tooltip_position || c3_chart_internal_fn.tooltipPosition;
- if (dataToShow.length === 0 || !config.tooltip_show) {
- return;
- }
- $$.tooltip.html(config.tooltip_contents.call($$, selectedData, $$.getXAxisTickFormat(), $$.getYFormat(forArc), $$.color)).style("display", "block");
-
- // Get tooltip dimensions
- tWidth = $$.tooltip.property('offsetWidth');
- tHeight = $$.tooltip.property('offsetHeight');
-
- position = positionFunction.call(this, dataToShow, tWidth, tHeight, element);
- // Set tooltip
- $$.tooltip
- .style("top", position.top + "px")
- .style("left", position.left + 'px');
- };
- c3_chart_internal_fn.hideTooltip = function () {
- this.tooltip.style("display", "none");
- };
-
- c3_chart_internal_fn.initLegend = function () {
- var $$ = this;
- $$.legendHasRendered = false;
- $$.legend = $$.svg.append("g").attr("transform", $$.getTranslate('legend'));
- if (!$$.config.legend_show) {
- $$.legend.style('visibility', 'hidden');
- $$.hiddenLegendIds = $$.mapToIds($$.data.targets);
- return;
- }
- // MEMO: call here to update legend box and tranlate for all
- // MEMO: translate will be upated by this, so transform not needed in updateLegend()
- $$.updateLegendWithDefaults();
- };
- c3_chart_internal_fn.updateLegendWithDefaults = function () {
- var $$ = this;
- $$.updateLegend($$.mapToIds($$.data.targets), {
- withTransform: false,
- withTransitionForTransform: false,
- withTransition: false
- });
- };
- c3_chart_internal_fn.updateSizeForLegend = function (legendHeight, legendWidth) {
- var $$ = this, config = $$.config, insetLegendPosition = {
- top: $$.isLegendTop ? $$.getCurrentPaddingTop() + config.legend_inset_y + 5.5 : $$.currentHeight - legendHeight - $$.getCurrentPaddingBottom() - config.legend_inset_y,
- left: $$.isLegendLeft ? $$.getCurrentPaddingLeft() + config.legend_inset_x + 0.5 : $$.currentWidth - legendWidth - $$.getCurrentPaddingRight() - config.legend_inset_x + 0.5
- };
-
- $$.margin3 = {
- top: $$.isLegendRight ? 0 : $$.isLegendInset ? insetLegendPosition.top : $$.currentHeight - legendHeight,
- right: NaN,
- bottom: 0,
- left: $$.isLegendRight ? $$.currentWidth - legendWidth : $$.isLegendInset ? insetLegendPosition.left : 0
- };
- };
- c3_chart_internal_fn.transformLegend = function (withTransition) {
- var $$ = this;
- (withTransition ? $$.legend.transition() : $$.legend).attr("transform", $$.getTranslate('legend'));
- };
- c3_chart_internal_fn.updateLegendStep = function (step) {
- this.legendStep = step;
- };
- c3_chart_internal_fn.updateLegendItemWidth = function (w) {
- this.legendItemWidth = w;
- };
- c3_chart_internal_fn.updateLegendItemHeight = function (h) {
- this.legendItemHeight = h;
- };
- c3_chart_internal_fn.getLegendWidth = function () {
- var $$ = this;
- return $$.config.legend_show ? $$.isLegendRight || $$.isLegendInset ? $$.legendItemWidth * ($$.legendStep + 1) : $$.currentWidth : 0;
- };
- c3_chart_internal_fn.getLegendHeight = function () {
- var $$ = this, h = 0;
- if ($$.config.legend_show) {
- if ($$.isLegendRight) {
- h = $$.currentHeight;
- } else {
- h = Math.max(20, $$.legendItemHeight) * ($$.legendStep + 1);
- }
- }
- return h;
- };
- c3_chart_internal_fn.opacityForLegend = function (legendItem) {
- return legendItem.classed(CLASS.legendItemHidden) ? null : 1;
- };
- c3_chart_internal_fn.opacityForUnfocusedLegend = function (legendItem) {
- return legendItem.classed(CLASS.legendItemHidden) ? null : 0.3;
- };
- c3_chart_internal_fn.toggleFocusLegend = function (targetIds, focus) {
- var $$ = this;
- targetIds = $$.mapToTargetIds(targetIds);
- $$.legend.selectAll('.' + CLASS.legendItem)
- .filter(function (id) {
- return targetIds.indexOf(id) >= 0;
- })
- .classed(CLASS.legendItemFocused, focus)
- .transition().duration(100)
- .style('opacity', function () {
- var opacity = focus ? $$.opacityForLegend : $$.opacityForUnfocusedLegend;
- return opacity.call($$, $$.d3.select(this));
- });
- };
- c3_chart_internal_fn.revertLegend = function () {
- var $$ = this, d3 = $$.d3;
- $$.legend.selectAll('.' + CLASS.legendItem)
- .classed(CLASS.legendItemFocused, false)
- .transition().duration(100)
- .style('opacity', function () {
- return $$.opacityForLegend(d3.select(this));
- });
- };
- c3_chart_internal_fn.showLegend = function (targetIds) {
- var $$ = this, config = $$.config;
- if (!config.legend_show) {
- config.legend_show = true;
- $$.legend.style('visibility', 'visible');
- if (!$$.legendHasRendered) {
- $$.updateLegendWithDefaults();
- }
- }
- $$.removeHiddenLegendIds(targetIds);
- $$.legend.selectAll($$.selectorLegends(targetIds))
- .style('visibility', 'visible')
- .transition()
- .style('opacity', function () {
- return $$.opacityForLegend($$.d3.select(this));
- });
- };
- c3_chart_internal_fn.hideLegend = function (targetIds) {
- var $$ = this, config = $$.config;
- if (config.legend_show && isEmpty(targetIds)) {
- config.legend_show = false;
- $$.legend.style('visibility', 'hidden');
- }
- $$.addHiddenLegendIds(targetIds);
- $$.legend.selectAll($$.selectorLegends(targetIds))
- .style('opacity', 0)
- .style('visibility', 'hidden');
- };
- var legendItemTextBox = {};
- c3_chart_internal_fn.clearLegendItemTextBoxCache = function () {
- legendItemTextBox = {};
- };
- c3_chart_internal_fn.updateLegend = function (targetIds, options, transitions) {
- var $$ = this, config = $$.config;
- var xForLegend, xForLegendText, xForLegendRect, yForLegend, yForLegendText, yForLegendRect;
- var paddingTop = 4, paddingRight = 10, maxWidth = 0, maxHeight = 0, posMin = 10, tileWidth = 15;
- var l, totalLength = 0, offsets = {}, widths = {}, heights = {}, margins = [0], steps = {}, step = 0;
- var withTransition, withTransitionForTransform;
- var hasFocused = $$.legend.selectAll('.' + CLASS.legendItemFocused).size();
- var texts, rects, tiles, background;
-
- options = options || {};
- withTransition = getOption(options, "withTransition", true);
- withTransitionForTransform = getOption(options, "withTransitionForTransform", true);
-
- function getTextBox(textElement, id) {
- if (!legendItemTextBox[id]) {
- legendItemTextBox[id] = $$.getTextRect(textElement.textContent, CLASS.legendItem);
- }
- return legendItemTextBox[id];
- }
-
- function updatePositions(textElement, id, index) {
- var reset = index === 0, isLast = index === targetIds.length - 1,
- box = getTextBox(textElement, id),
- itemWidth = box.width + tileWidth + (isLast && !($$.isLegendRight || $$.isLegendInset) ? 0 : paddingRight),
- itemHeight = box.height + paddingTop,
- itemLength = $$.isLegendRight || $$.isLegendInset ? itemHeight : itemWidth,
- areaLength = $$.isLegendRight || $$.isLegendInset ? $$.getLegendHeight() : $$.getLegendWidth(),
- margin, maxLength;
-
- // MEMO: care about condifion of step, totalLength
- function updateValues(id, withoutStep) {
- if (!withoutStep) {
- margin = (areaLength - totalLength - itemLength) / 2;
- if (margin < posMin) {
- margin = (areaLength - itemLength) / 2;
- totalLength = 0;
- step++;
- }
- }
- steps[id] = step;
- margins[step] = $$.isLegendInset ? 10 : margin;
- offsets[id] = totalLength;
- totalLength += itemLength;
- }
-
- if (reset) {
- totalLength = 0;
- step = 0;
- maxWidth = 0;
- maxHeight = 0;
- }
-
- if (config.legend_show && !$$.isLegendToShow(id)) {
- widths[id] = heights[id] = steps[id] = offsets[id] = 0;
- return;
- }
-
- widths[id] = itemWidth;
- heights[id] = itemHeight;
-
- if (!maxWidth || itemWidth >= maxWidth) {
- maxWidth = itemWidth;
- }
- if (!maxHeight || itemHeight >= maxHeight) {
- maxHeight = itemHeight;
- }
- maxLength = $$.isLegendRight || $$.isLegendInset ? maxHeight : maxWidth;
-
- if (config.legend_equally) {
- Object.keys(widths).forEach(function (id) {
- widths[id] = maxWidth;
- });
- Object.keys(heights).forEach(function (id) {
- heights[id] = maxHeight;
- });
- margin = (areaLength - maxLength * targetIds.length) / 2;
- if (margin < posMin) {
- totalLength = 0;
- step = 0;
- targetIds.forEach(function (id) {
- updateValues(id);
- });
- }
- else {
- updateValues(id, true);
- }
- } else {
- updateValues(id);
- }
- }
-
- if ($$.isLegendInset) {
- step = config.legend_inset_step ? config.legend_inset_step : targetIds.length;
- $$.updateLegendStep(step);
- }
-
- if ($$.isLegendRight) {
- xForLegend = function (id) {
- return maxWidth * steps[id];
- };
- yForLegend = function (id) {
- return margins[steps[id]] + offsets[id];
- };
- } else if ($$.isLegendInset) {
- xForLegend = function (id) {
- return maxWidth * steps[id] + 10;
- };
- yForLegend = function (id) {
- return margins[steps[id]] + offsets[id];
- };
- } else {
- xForLegend = function (id) {
- return margins[steps[id]] + offsets[id];
- };
- yForLegend = function (id) {
- return maxHeight * steps[id];
- };
- }
- xForLegendText = function (id, i) {
- return xForLegend(id, i) + 14;
- };
- yForLegendText = function (id, i) {
- return yForLegend(id, i) + 9;
- };
- xForLegendRect = function (id, i) {
- return xForLegend(id, i);
- };
- yForLegendRect = function (id, i) {
- return yForLegend(id, i) - 5;
- };
-
- // Define g for legend area
- l = $$.legend.selectAll('.' + CLASS.legendItem)
- .data(targetIds)
- .enter().append('g')
- .attr('class', function (id) {
- return $$.generateClass(CLASS.legendItem, id);
- })
- .style('visibility', function (id) {
- return $$.isLegendToShow(id) ? 'visible' : 'hidden';
- })
- .style('cursor', 'pointer')
- .on('click', function (id) {
- if (config.legend_item_onclick) {
- config.legend_item_onclick.call($$, id);
- } else {
- if ($$.d3.event.altKey) {
- $$.api.hide();
- $$.api.show(id);
- } else {
- $$.api.toggle(id);
- $$.isTargetToShow(id) ? $$.api.focus(id) : $$.api.revert();
- }
- }
- })
- .on('mouseover', function (id) {
- $$.d3.select(this).classed(CLASS.legendItemFocused, true);
- if (!$$.transiting && $$.isTargetToShow(id)) {
- $$.api.focus(id);
- }
- if (config.legend_item_onmouseover) {
- config.legend_item_onmouseover.call($$, id);
- }
- })
- .on('mouseout', function (id) {
- $$.d3.select(this).classed(CLASS.legendItemFocused, false);
- $$.api.revert();
- if (config.legend_item_onmouseout) {
- config.legend_item_onmouseout.call($$, id);
- }
- });
- l.append('text')
- .text(function (id) {
- return isDefined(config.data_names[id]) ? config.data_names[id] : id;
- })
- .each(function (id, i) {
- updatePositions(this, id, i);
- })
- .style("pointer-events", "none")
- .attr('x', $$.isLegendRight || $$.isLegendInset ? xForLegendText : -200)
- .attr('y', $$.isLegendRight || $$.isLegendInset ? -200 : yForLegendText);
- l.append('rect')
- .attr("class", CLASS.legendItemEvent)
- .style('fill-opacity', 0)
- .attr('x', $$.isLegendRight || $$.isLegendInset ? xForLegendRect : -200)
- .attr('y', $$.isLegendRight || $$.isLegendInset ? -200 : yForLegendRect);
- l.append('rect')
- .attr("class", CLASS.legendItemTile)
- .style("pointer-events", "none")
- .style('fill', $$.color)
- .attr('x', $$.isLegendRight || $$.isLegendInset ? xForLegendText : -200)
- .attr('y', $$.isLegendRight || $$.isLegendInset ? -200 : yForLegend)
- .attr('width', 10)
- .attr('height', 10);
-
- // Set background for inset legend
- background = $$.legend.select('.' + CLASS.legendBackground + ' rect');
- if ($$.isLegendInset && maxWidth > 0 && background.size() === 0) {
- background = $$.legend.insert('g', '.' + CLASS.legendItem)
- .attr("class", CLASS.legendBackground)
- .append('rect');
- }
-
- texts = $$.legend.selectAll('text')
- .data(targetIds)
- .text(function (id) {
- return isDefined(config.data_names[id]) ? config.data_names[id] : id;
- }) // MEMO: needed for update
- .each(function (id, i) {
- updatePositions(this, id, i);
- });
- (withTransition ? texts.transition() : texts)
- .attr('x', xForLegendText)
- .attr('y', yForLegendText);
-
- rects = $$.legend.selectAll('rect.' + CLASS.legendItemEvent)
- .data(targetIds);
- (withTransition ? rects.transition() : rects)
- .attr('width', function (id) {
- return widths[id];
- })
- .attr('height', function (id) {
- return heights[id];
- })
- .attr('x', xForLegendRect)
- .attr('y', yForLegendRect);
-
- tiles = $$.legend.selectAll('rect.' + CLASS.legendItemTile)
- .data(targetIds);
- (withTransition ? tiles.transition() : tiles)
- .style('fill', $$.color)
- .attr('x', xForLegend)
- .attr('y', yForLegend);
-
- if (background) {
- (withTransition ? background.transition() : background)
- .attr('height', $$.getLegendHeight() - 12)
- .attr('width', maxWidth * (step + 1) + 10);
- }
-
- // toggle legend state
- $$.legend.selectAll('.' + CLASS.legendItem)
- .classed(CLASS.legendItemHidden, function (id) {
- return !$$.isTargetToShow(id);
- })
- .transition()
- .style('opacity', function (id) {
- var This = $$.d3.select(this);
- if ($$.isTargetToShow(id)) {
- return !hasFocused || This.classed(CLASS.legendItemFocused) ? $$.opacityForLegend(This) : $$.opacityForUnfocusedLegend(This);
- } else {
- return null; // c3-legend-item-hidden will be applied
- }
- });
-
- // Update all to reflect change of legend
- $$.updateLegendItemWidth(maxWidth);
- $$.updateLegendItemHeight(maxHeight);
- $$.updateLegendStep(step);
- // Update size and scale
- $$.updateSizes();
- $$.updateScales();
- $$.updateSvgSize();
- // Update g positions
- $$.transformAll(withTransitionForTransform, transitions);
- $$.legendHasRendered = true;
- };
-
- c3_chart_internal_fn.initAxis = function () {
- var $$ = this, config = $$.config, main = $$.main;
- $$.axes.x = main.append("g")
- .attr("class", CLASS.axis + ' ' + CLASS.axisX)
- .attr("clip-path", $$.clipPathForXAxis)
- .attr("transform", $$.getTranslate('x'))
- .style("visibility", config.axis_x_show ? 'visible' : 'hidden');
- $$.axes.x.append("text")
- .attr("class", CLASS.axisXLabel)
- .attr("transform", config.axis_rotated ? "rotate(-90)" : "")
- .style("text-anchor", $$.textAnchorForXAxisLabel.bind($$));
-
- $$.axes.y = main.append("g")
- .attr("class", CLASS.axis + ' ' + CLASS.axisY)
- .attr("clip-path", config.axis_y_inner ? "" : $$.clipPathForYAxis)
- .attr("transform", $$.getTranslate('y'))
- .style("visibility", config.axis_y_show ? 'visible' : 'hidden');
- $$.axes.y.append("text")
- .attr("class", CLASS.axisYLabel)
- .attr("transform", config.axis_rotated ? "" : "rotate(-90)")
- .style("text-anchor", $$.textAnchorForYAxisLabel.bind($$));
-
- $$.axes.y2 = main.append("g")
- .attr("class", CLASS.axis + ' ' + CLASS.axisY2)
- // clip-path?
- .attr("transform", $$.getTranslate('y2'))
- .style("visibility", config.axis_y2_show ? 'visible' : 'hidden');
- $$.axes.y2.append("text")
- .attr("class", CLASS.axisY2Label)
- .attr("transform", config.axis_rotated ? "" : "rotate(-90)")
- .style("text-anchor", $$.textAnchorForY2AxisLabel.bind($$));
- };
- c3_chart_internal_fn.getXAxis = function (scale, orient, tickFormat, tickValues, withOuterTick) {
- var $$ = this, config = $$.config,
- axisParams = {
- isCategory: $$.isCategorized(),
- withOuterTick: withOuterTick,
- tickMultiline: config.axis_x_tick_multiline,
- tickWidth: config.axis_x_tick_width
- },
- axis = c3_axis($$.d3, axisParams).scale(scale).orient(orient);
-
- if ($$.isTimeSeries() && tickValues) {
- tickValues = tickValues.map(function (v) {
- return $$.parseDate(v);
- });
- }
-
- // Set tick
- axis.tickFormat(tickFormat).tickValues(tickValues);
- if ($$.isCategorized()) {
- axis.tickCentered(config.axis_x_tick_centered);
- if (isEmpty(config.axis_x_tick_culling)) {
- config.axis_x_tick_culling = false;
- }
- } else {
- // TODO: move this to c3_axis
- axis.tickOffset = function () {
- var scale = this.scale(),
- edgeX = $$.getEdgeX($$.data.targets), diff = scale(edgeX[1]) - scale(edgeX[0]),
- base = diff ? diff : (config.axis_rotated ? $$.height : $$.width);
- return (base / $$.getMaxDataCount()) / 2;
- };
- }
-
- return axis;
- };
- c3_chart_internal_fn.getYAxis = function (scale, orient, tickFormat, tickValues, withOuterTick) {
- var axisParams = {withOuterTick: withOuterTick},
- axis = c3_axis(this.d3, axisParams).scale(scale).orient(orient).tickFormat(tickFormat);
- if (this.isTimeSeriesY()) {
- axis.ticks(this.d3.time[this.config.axis_y_tick_time_value], this.config.axis_y_tick_time_interval);
- } else {
- axis.tickValues(tickValues);
- }
- return axis;
- };
- c3_chart_internal_fn.getAxisId = function (id) {
- var config = this.config;
- return id in config.data_axes ? config.data_axes[id] : 'y';
- };
- c3_chart_internal_fn.getXAxisTickFormat = function () {
- var $$ = this, config = $$.config,
- format = $$.isTimeSeries() ? $$.defaultAxisTimeFormat : $$.isCategorized() ? $$.categoryName : function (v) {
- return v < 0 ? v.toFixed(0) : v;
- };
- if (config.axis_x_tick_format) {
- if (isFunction(config.axis_x_tick_format)) {
- format = config.axis_x_tick_format;
- } else if ($$.isTimeSeries()) {
- format = function (date) {
- return date ? $$.axisTimeFormat(config.axis_x_tick_format)(date) : "";
- };
- }
- }
- return isFunction(format) ? function (v) {
- return format.call($$, v);
- } : format;
- };
- c3_chart_internal_fn.getAxisTickValues = function (tickValues, axis) {
- return tickValues ? tickValues : axis ? axis.tickValues() : undefined;
- };
- c3_chart_internal_fn.getXAxisTickValues = function () {
- return this.getAxisTickValues(this.config.axis_x_tick_values, this.xAxis);
- };
- c3_chart_internal_fn.getYAxisTickValues = function () {
- return this.getAxisTickValues(this.config.axis_y_tick_values, this.yAxis);
- };
- c3_chart_internal_fn.getY2AxisTickValues = function () {
- return this.getAxisTickValues(this.config.axis_y2_tick_values, this.y2Axis);
- };
- c3_chart_internal_fn.getAxisLabelOptionByAxisId = function (axisId) {
- var $$ = this, config = $$.config, option;
- if (axisId === 'y') {
- option = config.axis_y_label;
- } else if (axisId === 'y2') {
- option = config.axis_y2_label;
- } else if (axisId === 'x') {
- option = config.axis_x_label;
- }
- return option;
- };
- c3_chart_internal_fn.getAxisLabelText = function (axisId) {
- var option = this.getAxisLabelOptionByAxisId(axisId);
- return isString(option) ? option : option ? option.text : null;
- };
- c3_chart_internal_fn.setAxisLabelText = function (axisId, text) {
- var $$ = this, config = $$.config,
- option = $$.getAxisLabelOptionByAxisId(axisId);
- if (isString(option)) {
- if (axisId === 'y') {
- config.axis_y_label = text;
- } else if (axisId === 'y2') {
- config.axis_y2_label = text;
- } else if (axisId === 'x') {
- config.axis_x_label = text;
- }
- } else if (option) {
- option.text = text;
- }
- };
- c3_chart_internal_fn.getAxisLabelPosition = function (axisId, defaultPosition) {
- var option = this.getAxisLabelOptionByAxisId(axisId),
- position = (option && typeof option === 'object' && option.position) ? option.position : defaultPosition;
- return {
- isInner: position.indexOf('inner') >= 0,
- isOuter: position.indexOf('outer') >= 0,
- isLeft: position.indexOf('left') >= 0,
- isCenter: position.indexOf('center') >= 0,
- isRight: position.indexOf('right') >= 0,
- isTop: position.indexOf('top') >= 0,
- isMiddle: position.indexOf('middle') >= 0,
- isBottom: position.indexOf('bottom') >= 0
- };
- };
- c3_chart_internal_fn.getXAxisLabelPosition = function () {
- return this.getAxisLabelPosition('x', this.config.axis_rotated ? 'inner-top' : 'inner-right');
- };
- c3_chart_internal_fn.getYAxisLabelPosition = function () {
- return this.getAxisLabelPosition('y', this.config.axis_rotated ? 'inner-right' : 'inner-top');
- };
- c3_chart_internal_fn.getY2AxisLabelPosition = function () {
- return this.getAxisLabelPosition('y2', this.config.axis_rotated ? 'inner-right' : 'inner-top');
- };
- c3_chart_internal_fn.getAxisLabelPositionById = function (id) {
- return id === 'y2' ? this.getY2AxisLabelPosition() : id === 'y' ? this.getYAxisLabelPosition() : this.getXAxisLabelPosition();
- };
- c3_chart_internal_fn.textForXAxisLabel = function () {
- return this.getAxisLabelText('x');
- };
- c3_chart_internal_fn.textForYAxisLabel = function () {
- return this.getAxisLabelText('y');
- };
- c3_chart_internal_fn.textForY2AxisLabel = function () {
- return this.getAxisLabelText('y2');
- };
- c3_chart_internal_fn.xForAxisLabel = function (forHorizontal, position) {
- var $$ = this;
- if (forHorizontal) {
- return position.isLeft ? 0 : position.isCenter ? $$.width / 2 : $$.width;
- } else {
- return position.isBottom ? -$$.height : position.isMiddle ? -$$.height / 2 : 0;
- }
- };
- c3_chart_internal_fn.dxForAxisLabel = function (forHorizontal, position) {
- if (forHorizontal) {
- return position.isLeft ? "0.5em" : position.isRight ? "-0.5em" : "0";
- } else {
- return position.isTop ? "-0.5em" : position.isBottom ? "0.5em" : "0";
- }
- };
- c3_chart_internal_fn.textAnchorForAxisLabel = function (forHorizontal, position) {
- if (forHorizontal) {
- return position.isLeft ? 'start' : position.isCenter ? 'middle' : 'end';
- } else {
- return position.isBottom ? 'start' : position.isMiddle ? 'middle' : 'end';
- }
- };
- c3_chart_internal_fn.xForXAxisLabel = function () {
- return this.xForAxisLabel(!this.config.axis_rotated, this.getXAxisLabelPosition());
- };
- c3_chart_internal_fn.xForYAxisLabel = function () {
- return this.xForAxisLabel(this.config.axis_rotated, this.getYAxisLabelPosition());
- };
- c3_chart_internal_fn.xForY2AxisLabel = function () {
- return this.xForAxisLabel(this.config.axis_rotated, this.getY2AxisLabelPosition());
- };
- c3_chart_internal_fn.dxForXAxisLabel = function () {
- return this.dxForAxisLabel(!this.config.axis_rotated, this.getXAxisLabelPosition());
- };
- c3_chart_internal_fn.dxForYAxisLabel = function () {
- return this.dxForAxisLabel(this.config.axis_rotated, this.getYAxisLabelPosition());
- };
- c3_chart_internal_fn.dxForY2AxisLabel = function () {
- return this.dxForAxisLabel(this.config.axis_rotated, this.getY2AxisLabelPosition());
- };
- c3_chart_internal_fn.dyForXAxisLabel = function () {
- var $$ = this, config = $$.config,
- position = $$.getXAxisLabelPosition();
- if (config.axis_rotated) {
- return position.isInner ? "1.2em" : -25 - $$.getMaxTickWidth('x');
- } else {
- return position.isInner ? "-0.5em" : config.axis_x_height ? config.axis_x_height - 10 : "3em";
- }
- };
- c3_chart_internal_fn.dyForYAxisLabel = function () {
- var $$ = this,
- position = $$.getYAxisLabelPosition();
- if ($$.config.axis_rotated) {
- return position.isInner ? "-0.5em" : "3em";
- } else {
- return position.isInner ? "1.2em" : -10 - ($$.config.axis_y_inner ? 0 : ($$.getMaxTickWidth('y') + 10));
- }
- };
- c3_chart_internal_fn.dyForY2AxisLabel = function () {
- var $$ = this,
- position = $$.getY2AxisLabelPosition();
- if ($$.config.axis_rotated) {
- return position.isInner ? "1.2em" : "-2.2em";
- } else {
- return position.isInner ? "-0.5em" : 15 + ($$.config.axis_y2_inner ? 0 : (this.getMaxTickWidth('y2') + 15));
- }
- };
- c3_chart_internal_fn.textAnchorForXAxisLabel = function () {
- var $$ = this;
- return $$.textAnchorForAxisLabel(!$$.config.axis_rotated, $$.getXAxisLabelPosition());
- };
- c3_chart_internal_fn.textAnchorForYAxisLabel = function () {
- var $$ = this;
- return $$.textAnchorForAxisLabel($$.config.axis_rotated, $$.getYAxisLabelPosition());
- };
- c3_chart_internal_fn.textAnchorForY2AxisLabel = function () {
- var $$ = this;
- return $$.textAnchorForAxisLabel($$.config.axis_rotated, $$.getY2AxisLabelPosition());
- };
-
- c3_chart_internal_fn.xForRotatedTickText = function (r) {
- return 8 * Math.sin(Math.PI * (r / 180));
- };
- c3_chart_internal_fn.yForRotatedTickText = function (r) {
- return 11.5 - 2.5 * (r / 15) * (r > 0 ? 1 : -1);
- };
- c3_chart_internal_fn.rotateTickText = function (axis, transition, rotate) {
- axis.selectAll('.tick text')
- .style("text-anchor", rotate > 0 ? "start" : "end");
- transition.selectAll('.tick text')
- .attr("y", this.yForRotatedTickText(rotate))
- .attr("transform", "rotate(" + rotate + ")")
- .selectAll('tspan')
- .attr('dx', this.xForRotatedTickText(rotate));
- };
-
- c3_chart_internal_fn.getMaxTickWidth = function (id, withoutRecompute) {
- var $$ = this, config = $$.config,
- maxWidth = 0, targetsToShow, scale, axis;
- if (withoutRecompute && $$.currentMaxTickWidths[id]) {
- return $$.currentMaxTickWidths[id];
- }
- if ($$.svg) {
- targetsToShow = $$.filterTargetsToShow($$.data.targets);
- if (id === 'y') {
- scale = $$.y.copy().domain($$.getYDomain(targetsToShow, 'y'));
- axis = $$.getYAxis(scale, $$.yOrient, config.axis_y_tick_format, $$.yAxisTickValues);
- } else if (id === 'y2') {
- scale = $$.y2.copy().domain($$.getYDomain(targetsToShow, 'y2'));
- axis = $$.getYAxis(scale, $$.y2Orient, config.axis_y2_tick_format, $$.y2AxisTickValues);
- } else {
- scale = $$.x.copy().domain($$.getXDomain(targetsToShow));
- axis = $$.getXAxis(scale, $$.xOrient, $$.xAxisTickFormat, $$.xAxisTickValues);
- }
- $$.d3.select('body').append("g").style('visibility', 'hidden').call(axis).each(function () {
- $$.d3.select(this).selectAll('text tspan').each(function () {
- var box = this.getBoundingClientRect();
- if (box.left > 0 && maxWidth < box.width) {
- maxWidth = box.width;
- }
- });
- }).remove();
- }
- $$.currentMaxTickWidths[id] = maxWidth <= 0 ? $$.currentMaxTickWidths[id] : maxWidth;
- return $$.currentMaxTickWidths[id];
- };
-
- c3_chart_internal_fn.updateAxisLabels = function (withTransition) {
- var $$ = this;
- var axisXLabel = $$.main.select('.' + CLASS.axisX + ' .' + CLASS.axisXLabel),
- axisYLabel = $$.main.select('.' + CLASS.axisY + ' .' + CLASS.axisYLabel),
- axisY2Label = $$.main.select('.' + CLASS.axisY2 + ' .' + CLASS.axisY2Label);
- (withTransition ? axisXLabel.transition() : axisXLabel)
- .attr("x", $$.xForXAxisLabel.bind($$))
- .attr("dx", $$.dxForXAxisLabel.bind($$))
- .attr("dy", $$.dyForXAxisLabel.bind($$))
- .text($$.textForXAxisLabel.bind($$));
- (withTransition ? axisYLabel.transition() : axisYLabel)
- .attr("x", $$.xForYAxisLabel.bind($$))
- .attr("dx", $$.dxForYAxisLabel.bind($$))
- .attr("dy", $$.dyForYAxisLabel.bind($$))
- .text($$.textForYAxisLabel.bind($$));
- (withTransition ? axisY2Label.transition() : axisY2Label)
- .attr("x", $$.xForY2AxisLabel.bind($$))
- .attr("dx", $$.dxForY2AxisLabel.bind($$))
- .attr("dy", $$.dyForY2AxisLabel.bind($$))
- .text($$.textForY2AxisLabel.bind($$));
- };
-
- c3_chart_internal_fn.getAxisPadding = function (padding, key, defaultValue, domainLength) {
- if (!isValue(padding[key])) {
- return defaultValue;
- }
- if (padding.unit === 'ratio') {
- return padding[key] * domainLength;
- }
- // assume padding is pixels if unit is not specified
- return this.convertPixelsToAxisPadding(padding[key], domainLength);
- };
- c3_chart_internal_fn.convertPixelsToAxisPadding = function (pixels, domainLength) {
- var length = this.config.axis_rotated ? this.width : this.height;
- return domainLength * (pixels / length);
- };
-
- c3_chart_internal_fn.generateTickValues = function (values, tickCount, forTimeSeries) {
- var tickValues = values, targetCount, start, end, count, interval, i, tickValue;
- if (tickCount) {
- targetCount = isFunction(tickCount) ? tickCount() : tickCount;
- // compute ticks according to tickCount
- if (targetCount === 1) {
- tickValues = [values[0]];
- } else if (targetCount === 2) {
- tickValues = [values[0], values[values.length - 1]];
- } else if (targetCount > 2) {
- count = targetCount - 2;
- start = values[0];
- end = values[values.length - 1];
- interval = (end - start) / (count + 1);
- // re-construct unique values
- tickValues = [start];
- for (i = 0; i < count; i++) {
- tickValue = +start + interval * (i + 1);
- tickValues.push(forTimeSeries ? new Date(tickValue) : tickValue);
- }
- tickValues.push(end);
- }
- }
- if (!forTimeSeries) {
- tickValues = tickValues.sort(function (a, b) {
- return a - b;
- });
- }
- return tickValues;
- };
- c3_chart_internal_fn.generateAxisTransitions = function (duration) {
- var $$ = this, axes = $$.axes;
- return {
- axisX: duration ? axes.x.transition().duration(duration) : axes.x,
- axisY: duration ? axes.y.transition().duration(duration) : axes.y,
- axisY2: duration ? axes.y2.transition().duration(duration) : axes.y2,
- axisSubX: duration ? axes.subx.transition().duration(duration) : axes.subx
- };
- };
- c3_chart_internal_fn.redrawAxis = function (transitions, isHidden) {
- var $$ = this, config = $$.config;
- $$.axes.x.style("opacity", isHidden ? 0 : 1);
- $$.axes.y.style("opacity", isHidden ? 0 : 1);
- $$.axes.y2.style("opacity", isHidden ? 0 : 1);
- $$.axes.subx.style("opacity", isHidden ? 0 : 1);
- transitions.axisX.call($$.xAxis);
- transitions.axisY.call($$.yAxis);
- transitions.axisY2.call($$.y2Axis);
- transitions.axisSubX.call($$.subXAxis);
- // rotate tick text if needed
- if (!config.axis_rotated && config.axis_x_tick_rotate) {
- $$.rotateTickText($$.axes.x, transitions.axisX, config.axis_x_tick_rotate);
- $$.rotateTickText($$.axes.subx, transitions.axisSubX, config.axis_x_tick_rotate);
- }
- };
-
- c3_chart_internal_fn.getClipPath = function (id) {
- var isIE9 = window.navigator.appVersion.toLowerCase().indexOf("msie 9.") >= 0;
- return "url(" + (isIE9 ? "" : document.URL.split('#')[0]) + "#" + id + ")";
- };
- c3_chart_internal_fn.appendClip = function (parent, id) {
- return parent.append("clipPath").attr("id", id).append("rect");
- };
- c3_chart_internal_fn.getAxisClipX = function (forHorizontal) {
- // axis line width + padding for left
- var left = Math.max(30, this.margin.left);
- return forHorizontal ? -(1 + left) : -(left - 1);
- };
- c3_chart_internal_fn.getAxisClipY = function (forHorizontal) {
- return forHorizontal ? -20 : -this.margin.top;
- };
- c3_chart_internal_fn.getXAxisClipX = function () {
- var $$ = this;
- return $$.getAxisClipX(!$$.config.axis_rotated);
- };
- c3_chart_internal_fn.getXAxisClipY = function () {
- var $$ = this;
- return $$.getAxisClipY(!$$.config.axis_rotated);
- };
- c3_chart_internal_fn.getYAxisClipX = function () {
- var $$ = this;
- return $$.config.axis_y_inner ? -1 : $$.getAxisClipX($$.config.axis_rotated);
- };
- c3_chart_internal_fn.getYAxisClipY = function () {
- var $$ = this;
- return $$.getAxisClipY($$.config.axis_rotated);
- };
- c3_chart_internal_fn.getAxisClipWidth = function (forHorizontal) {
- var $$ = this,
- left = Math.max(30, $$.margin.left),
- right = Math.max(30, $$.margin.right);
- // width + axis line width + padding for left/right
- return forHorizontal ? $$.width + 2 + left + right : $$.margin.left + 20;
- };
- c3_chart_internal_fn.getAxisClipHeight = function (forHorizontal) {
- // less than 20 is not enough to show the axis label 'outer' without legend
- return (forHorizontal ? this.margin.bottom : (this.margin.top + this.height)) + 20;
- };
- c3_chart_internal_fn.getXAxisClipWidth = function () {
- var $$ = this;
- return $$.getAxisClipWidth(!$$.config.axis_rotated);
- };
- c3_chart_internal_fn.getXAxisClipHeight = function () {
- var $$ = this;
- return $$.getAxisClipHeight(!$$.config.axis_rotated);
- };
- c3_chart_internal_fn.getYAxisClipWidth = function () {
- var $$ = this;
- return $$.getAxisClipWidth($$.config.axis_rotated) + ($$.config.axis_y_inner ? 20 : 0);
- };
- c3_chart_internal_fn.getYAxisClipHeight = function () {
- var $$ = this;
- return $$.getAxisClipHeight($$.config.axis_rotated);
- };
-
- c3_chart_internal_fn.initPie = function () {
- var $$ = this, d3 = $$.d3, config = $$.config;
- $$.pie = d3.layout.pie().value(function (d) {
- return d.values.reduce(function (a, b) {
- return a + b.value;
- }, 0);
- });
- if (!config.data_order) {
- $$.pie.sort(null);
- }
- };
-
- c3_chart_internal_fn.updateRadius = function () {
- var $$ = this, config = $$.config,
- w = config.gauge_width || config.donut_width;
- $$.radiusExpanded = Math.min($$.arcWidth, $$.arcHeight) / 2;
- $$.radius = $$.radiusExpanded * 0.95;
- $$.innerRadiusRatio = w ? ($$.radius - w) / $$.radius : 0.6;
- $$.innerRadius = $$.hasType('donut') || $$.hasType('gauge') ? $$.radius * $$.innerRadiusRatio : 0;
- };
-
- c3_chart_internal_fn.updateArc = function () {
- var $$ = this;
- $$.svgArc = $$.getSvgArc();
- $$.svgArcExpanded = $$.getSvgArcExpanded();
- $$.svgArcExpandedSub = $$.getSvgArcExpanded(0.98);
- };
-
- c3_chart_internal_fn.updateAngle = function (d) {
- var $$ = this, config = $$.config,
- found = false, index = 0,
- gMin = config.gauge_min, gMax = config.gauge_max, gTic, gValue;
- $$.pie($$.filterTargetsToShow($$.data.targets)).forEach(function (t) {
- if (!found && t.data.id === d.data.id) {
- found = true;
- d = t;
- d.index = index;
- }
- index++;
- });
- if (isNaN(d.endAngle)) {
- d.endAngle = d.startAngle;
- }
- if ($$.isGaugeType(d.data)) {
- gTic = (Math.PI) / (gMax - gMin);
- gValue = d.value < gMin ? 0 : d.value < gMax ? d.value - gMin : (gMax - gMin);
- d.startAngle = -1 * (Math.PI / 2);
- d.endAngle = d.startAngle + gTic * gValue;
- }
- return found ? d : null;
- };
-
- c3_chart_internal_fn.getSvgArc = function () {
- var $$ = this,
- arc = $$.d3.svg.arc().outerRadius($$.radius).innerRadius($$.innerRadius),
- newArc = function (d, withoutUpdate) {
- var updated;
- if (withoutUpdate) {
- return arc(d);
- } // for interpolate
- updated = $$.updateAngle(d);
- return updated ? arc(updated) : "M 0 0";
- };
- // TODO: extends all function
- newArc.centroid = arc.centroid;
- return newArc;
- };
-
- c3_chart_internal_fn.getSvgArcExpanded = function (rate) {
- var $$ = this,
- arc = $$.d3.svg.arc().outerRadius($$.radiusExpanded * (rate ? rate : 1)).innerRadius($$.innerRadius);
- return function (d) {
- var updated = $$.updateAngle(d);
- return updated ? arc(updated) : "M 0 0";
- };
- };
-
- c3_chart_internal_fn.getArc = function (d, withoutUpdate, force) {
- return force || this.isArcType(d.data) ? this.svgArc(d, withoutUpdate) : "M 0 0";
- };
-
-
- c3_chart_internal_fn.transformForArcLabel = function (d) {
- var $$ = this,
- updated = $$.updateAngle(d), c, x, y, h, ratio, translate = "";
- if (updated && !$$.hasType('gauge')) {
- c = this.svgArc.centroid(updated);
- x = isNaN(c[0]) ? 0 : c[0];
- y = isNaN(c[1]) ? 0 : c[1];
- h = Math.sqrt(x * x + y * y);
- // TODO: ratio should be an option?
- ratio = $$.radius && h ? (36 / $$.radius > 0.375 ? 1.175 - 36 / $$.radius : 0.8) * $$.radius / h : 0;
- translate = "translate(" + (x * ratio) + ',' + (y * ratio) + ")";
- }
- return translate;
- };
-
- c3_chart_internal_fn.getArcRatio = function (d) {
- var $$ = this,
- whole = $$.hasType('gauge') ? Math.PI : (Math.PI * 2);
- return d ? (d.endAngle - d.startAngle) / whole : null;
- };
-
- c3_chart_internal_fn.convertToArcData = function (d) {
- return this.addName({
- id: d.data.id,
- value: d.value,
- ratio: this.getArcRatio(d),
- index: d.index
- });
- };
-
- c3_chart_internal_fn.textForArcLabel = function (d) {
- var $$ = this,
- updated, value, ratio, id, format;
- if (!$$.shouldShowArcLabel()) {
- return "";
- }
- updated = $$.updateAngle(d);
- value = updated ? updated.value : null;
- ratio = $$.getArcRatio(updated);
- id = d.data.id;
- if (!$$.hasType('gauge') && !$$.meetsArcLabelThreshold(ratio)) {
- return "";
- }
- format = $$.getArcLabelFormat();
- return format ? format(value, ratio, id) : $$.defaultArcValueFormat(value, ratio);
- };
-
- c3_chart_internal_fn.expandArc = function (targetIds) {
- var $$ = this, interval;
-
- // MEMO: avoid to cancel transition
- if ($$.transiting) {
- interval = window.setInterval(function () {
- if (!$$.transiting) {
- window.clearInterval(interval);
- if ($$.legend.selectAll('.c3-legend-item-focused').size() > 0) {
- $$.expandArc(targetIds);
- }
- }
- }, 10);
- return;
- }
-
- targetIds = $$.mapToTargetIds(targetIds);
-
- $$.svg.selectAll($$.selectorTargets(targetIds, '.' + CLASS.chartArc)).each(function (d) {
- if (!$$.shouldExpand(d.data.id)) {
- return;
- }
- $$.d3.select(this).selectAll('path')
- .transition().duration(50)
- .attr("d", $$.svgArcExpanded)
- .transition().duration(100)
- .attr("d", $$.svgArcExpandedSub)
- .each(function (d) {
- if ($$.isDonutType(d.data)) {
- // callback here
- }
- });
- });
- };
-
- c3_chart_internal_fn.unexpandArc = function (targetIds) {
- var $$ = this;
-
- if ($$.transiting) {
- return;
- }
-
- targetIds = $$.mapToTargetIds(targetIds);
-
- $$.svg.selectAll($$.selectorTargets(targetIds, '.' + CLASS.chartArc)).selectAll('path')
- .transition().duration(50)
- .attr("d", $$.svgArc);
- $$.svg.selectAll('.' + CLASS.arc)
- .style("opacity", 1);
- };
-
- c3_chart_internal_fn.shouldExpand = function (id) {
- var $$ = this, config = $$.config;
- return ($$.isDonutType(id) && config.donut_expand) || ($$.isGaugeType(id) && config.gauge_expand) || ($$.isPieType(id) && config.pie_expand);
- };
-
- c3_chart_internal_fn.shouldShowArcLabel = function () {
- var $$ = this, config = $$.config, shouldShow = true;
- if ($$.hasType('donut')) {
- shouldShow = config.donut_label_show;
- } else if ($$.hasType('pie')) {
- shouldShow = config.pie_label_show;
- }
- // when gauge, always true
- return shouldShow;
- };
-
- c3_chart_internal_fn.meetsArcLabelThreshold = function (ratio) {
- var $$ = this, config = $$.config,
- threshold = $$.hasType('donut') ? config.donut_label_threshold : config.pie_label_threshold;
- return ratio >= threshold;
- };
-
- c3_chart_internal_fn.getArcLabelFormat = function () {
- var $$ = this, config = $$.config,
- format = config.pie_label_format;
- if ($$.hasType('gauge')) {
- format = config.gauge_label_format;
- } else if ($$.hasType('donut')) {
- format = config.donut_label_format;
- }
- return format;
- };
-
- c3_chart_internal_fn.getArcTitle = function () {
- var $$ = this;
- return $$.hasType('donut') ? $$.config.donut_title : "";
- };
-
- c3_chart_internal_fn.updateTargetsForArc = function (targets) {
- var $$ = this, main = $$.main,
- mainPieUpdate, mainPieEnter,
- classChartArc = $$.classChartArc.bind($$),
- classArcs = $$.classArcs.bind($$),
- classFocus = $$.classFocus.bind($$);
- mainPieUpdate = main.select('.' + CLASS.chartArcs).selectAll('.' + CLASS.chartArc)
- .data($$.pie(targets))
- .attr("class", function (d) {
- return classChartArc(d) + classFocus(d.data);
- });
- mainPieEnter = mainPieUpdate.enter().append("g")
- .attr("class", classChartArc);
- mainPieEnter.append('g')
- .attr('class', classArcs);
- mainPieEnter.append("text")
- .attr("dy", $$.hasType('gauge') ? "-.1em" : ".35em")
- .style("opacity", 0)
- .style("text-anchor", "middle")
- .style("pointer-events", "none");
- // MEMO: can not keep same color..., but not bad to update color in redraw
- //mainPieUpdate.exit().remove();
- };
-
- c3_chart_internal_fn.initArc = function () {
- var $$ = this;
- $$.arcs = $$.main.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.chartArcs)
- .attr("transform", $$.getTranslate('arc'));
- $$.arcs.append('text')
- .attr('class', CLASS.chartArcsTitle)
- .style("text-anchor", "middle")
- .text($$.getArcTitle());
- };
-
- c3_chart_internal_fn.redrawArc = function (duration, durationForExit, withTransform) {
- var $$ = this, d3 = $$.d3, config = $$.config, main = $$.main,
- mainArc;
- mainArc = main.selectAll('.' + CLASS.arcs).selectAll('.' + CLASS.arc)
- .data($$.arcData.bind($$));
- mainArc.enter().append('path')
- .attr("class", $$.classArc.bind($$))
- .style("fill", function (d) {
- return $$.color(d.data);
- })
- .style("cursor", function (d) {
- return config.interaction_enabled && config.data_selection_isselectable(d) ? "pointer" : null;
- })
- .style("opacity", 0)
- .each(function (d) {
- if ($$.isGaugeType(d.data)) {
- d.startAngle = d.endAngle = -1 * (Math.PI / 2);
- }
- this._current = d;
- });
- mainArc
- .attr("transform", function (d) {
- return !$$.isGaugeType(d.data) && withTransform ? "scale(0)" : "";
- })
- .style("opacity", function (d) {
- return d === this._current ? 0 : 1;
- })
- .on('mouseover', config.interaction_enabled ? function (d) {
- var updated, arcData;
- if ($$.transiting) { // skip while transiting
- return;
- }
- updated = $$.updateAngle(d);
- arcData = $$.convertToArcData(updated);
- // transitions
- $$.expandArc(updated.data.id);
- $$.api.focus(updated.data.id);
- $$.toggleFocusLegend(updated.data.id, true);
- $$.config.data_onmouseover(arcData, this);
- } : null)
- .on('mousemove', config.interaction_enabled ? function (d) {
- var updated = $$.updateAngle(d),
- arcData = $$.convertToArcData(updated),
- selectedData = [arcData];
- $$.showTooltip(selectedData, this);
- } : null)
- .on('mouseout', config.interaction_enabled ? function (d) {
- var updated, arcData;
- if ($$.transiting) { // skip while transiting
- return;
- }
- updated = $$.updateAngle(d);
- arcData = $$.convertToArcData(updated);
- // transitions
- $$.unexpandArc(updated.data.id);
- $$.api.revert();
- $$.revertLegend();
- $$.hideTooltip();
- $$.config.data_onmouseout(arcData, this);
- } : null)
- .on('click', config.interaction_enabled ? function (d, i) {
- var updated = $$.updateAngle(d),
- arcData = $$.convertToArcData(updated);
- if ($$.toggleShape) {
- $$.toggleShape(this, arcData, i);
- }
- $$.config.data_onclick.call($$.api, arcData, this);
- } : null)
- .each(function () {
- $$.transiting = true;
- })
- .transition().duration(duration)
- .attrTween("d", function (d) {
- var updated = $$.updateAngle(d), interpolate;
- if (!updated) {
- return function () {
- return "M 0 0";
- };
- }
- // if (this._current === d) {
- // this._current = {
- // startAngle: Math.PI*2,
- // endAngle: Math.PI*2,
- // };
- // }
- if (isNaN(this._current.endAngle)) {
- this._current.endAngle = this._current.startAngle;
- }
- interpolate = d3.interpolate(this._current, updated);
- this._current = interpolate(0);
- return function (t) {
- var interpolated = interpolate(t);
- interpolated.data = d.data; // data.id will be updated by interporator
- return $$.getArc(interpolated, true);
- };
- })
- .attr("transform", withTransform ? "scale(1)" : "")
- .style("fill", function (d) {
- return $$.levelColor ? $$.levelColor(d.data.values[0].value) : $$.color(d.data.id);
- }) // Where gauge reading color would receive customization.
- .style("opacity", 1)
- .call($$.endall, function () {
- $$.transiting = false;
- });
- mainArc.exit().transition().duration(durationForExit)
- .style('opacity', 0)
- .remove();
- main.selectAll('.' + CLASS.chartArc).select('text')
- .style("opacity", 0)
- .attr('class', function (d) {
- return $$.isGaugeType(d.data) ? CLASS.gaugeValue : '';
- })
- .text($$.textForArcLabel.bind($$))
- .attr("transform", $$.transformForArcLabel.bind($$))
- .style('font-size', function (d) {
- return $$.isGaugeType(d.data) ? Math.round($$.radius / 5) + 'px' : '';
- })
- .transition().duration(duration)
- .style("opacity", function (d) {
- return $$.isTargetToShow(d.data.id) && $$.isArcType(d.data) ? 1 : 0;
- });
- main.select('.' + CLASS.chartArcsTitle)
- .style("opacity", $$.hasType('donut') || $$.hasType('gauge') ? 1 : 0);
-
- if ($$.hasType('gauge')) {
- $$.arcs.select('.' + CLASS.chartArcsBackground)
- .attr("d", function () {
- var d = {
- data: [{value: config.gauge_max}],
- startAngle: -1 * (Math.PI / 2),
- endAngle: Math.PI / 2
- };
- return $$.getArc(d, true, true);
- });
- $$.arcs.select('.' + CLASS.chartArcsGaugeUnit)
- .attr("dy", ".75em")
- .text(config.gauge_label_show ? config.gauge_units : '');
- $$.arcs.select('.' + CLASS.chartArcsGaugeMin)
- .attr("dx", -1 * ($$.innerRadius + (($$.radius - $$.innerRadius) / 2)) + "px")
- .attr("dy", "1.2em")
- .text(config.gauge_label_show ? config.gauge_min : '');
- $$.arcs.select('.' + CLASS.chartArcsGaugeMax)
- .attr("dx", $$.innerRadius + (($$.radius - $$.innerRadius) / 2) + "px")
- .attr("dy", "1.2em")
- .text(config.gauge_label_show ? config.gauge_max : '');
- }
- };
- c3_chart_internal_fn.initGauge = function () {
- var arcs = this.arcs;
- if (this.hasType('gauge')) {
- arcs.append('path')
- .attr("class", CLASS.chartArcsBackground);
- arcs.append("text")
- .attr("class", CLASS.chartArcsGaugeUnit)
- .style("text-anchor", "middle")
- .style("pointer-events", "none");
- arcs.append("text")
- .attr("class", CLASS.chartArcsGaugeMin)
- .style("text-anchor", "middle")
- .style("pointer-events", "none");
- arcs.append("text")
- .attr("class", CLASS.chartArcsGaugeMax)
- .style("text-anchor", "middle")
- .style("pointer-events", "none");
- }
- };
- c3_chart_internal_fn.getGaugeLabelHeight = function () {
- return this.config.gauge_label_show ? 20 : 0;
- };
-
- c3_chart_internal_fn.initRegion = function () {
- var $$ = this;
- $$.region = $$.main.append('g')
- .attr("clip-path", $$.clipPath)
- .attr("class", CLASS.regions);
- };
- c3_chart_internal_fn.redrawRegion = function (duration) {
- var $$ = this, config = $$.config;
-
- // hide if arc type
- $$.region.style('visibility', $$.hasArcType() ? 'hidden' : 'visible');
-
- $$.mainRegion = $$.main.select('.' + CLASS.regions).selectAll('.' + CLASS.region)
- .data(config.regions);
- $$.mainRegion.enter().append('g')
- .attr('class', $$.classRegion.bind($$))
- .append('rect')
- .style("fill-opacity", 0);
- $$.mainRegion.exit().transition().duration(duration)
- .style("opacity", 0)
- .remove();
- };
- c3_chart_internal_fn.addTransitionForRegion = function (transitions) {
- var $$ = this,
- x = $$.regionX.bind($$),
- y = $$.regionY.bind($$),
- w = $$.regionWidth.bind($$),
- h = $$.regionHeight.bind($$);
- transitions.push($$.mainRegion.selectAll('rect').transition()
- .attr("x", x)
- .attr("y", y)
- .attr("width", w)
- .attr("height", h)
- .style("fill-opacity", function (d) {
- return isValue(d.opacity) ? d.opacity : 0.1;
- }));
- };
- c3_chart_internal_fn.regionX = function (d) {
- var $$ = this, config = $$.config,
- xPos, yScale = d.axis === 'y' ? $$.y : $$.y2;
- if (d.axis === 'y' || d.axis === 'y2') {
- xPos = config.axis_rotated ? ('start' in d ? yScale(d.start) : 0) : 0;
- } else {
- xPos = config.axis_rotated ? 0 : ('start' in d ? $$.x($$.isTimeSeries() ? $$.parseDate(d.start) : d.start) : 0);
- }
- return xPos;
- };
- c3_chart_internal_fn.regionY = function (d) {
- var $$ = this, config = $$.config,
- yPos, yScale = d.axis === 'y' ? $$.y : $$.y2;
- if (d.axis === 'y' || d.axis === 'y2') {
- yPos = config.axis_rotated ? 0 : ('end' in d ? yScale(d.end) : 0);
- } else {
- yPos = config.axis_rotated ? ('start' in d ? $$.x($$.isTimeSeries() ? $$.parseDate(d.start) : d.start) : 0) : 0;
- }
- return yPos;
- };
- c3_chart_internal_fn.regionWidth = function (d) {
- var $$ = this, config = $$.config,
- start = $$.regionX(d), end, yScale = d.axis === 'y' ? $$.y : $$.y2;
- if (d.axis === 'y' || d.axis === 'y2') {
- end = config.axis_rotated ? ('end' in d ? yScale(d.end) : $$.width) : $$.width;
- } else {
- end = config.axis_rotated ? $$.width : ('end' in d ? $$.x($$.isTimeSeries() ? $$.parseDate(d.end) : d.end) : $$.width);
- }
- return end < start ? 0 : end - start;
- };
- c3_chart_internal_fn.regionHeight = function (d) {
- var $$ = this, config = $$.config,
- start = this.regionY(d), end, yScale = d.axis === 'y' ? $$.y : $$.y2;
- if (d.axis === 'y' || d.axis === 'y2') {
- end = config.axis_rotated ? $$.height : ('start' in d ? yScale(d.start) : $$.height);
- } else {
- end = config.axis_rotated ? ('end' in d ? $$.x($$.isTimeSeries() ? $$.parseDate(d.end) : d.end) : $$.height) : $$.height;
- }
- return end < start ? 0 : end - start;
- };
- c3_chart_internal_fn.isRegionOnX = function (d) {
- return !d.axis || d.axis === 'x';
- };
-
- c3_chart_internal_fn.drag = function (mouse) {
- var $$ = this, config = $$.config, main = $$.main, d3 = $$.d3;
- var sx, sy, mx, my, minX, maxX, minY, maxY;
-
- if ($$.hasArcType()) {
- return;
- }
- if (!config.data_selection_enabled) {
- return;
- } // do nothing if not selectable
- if (config.zoom_enabled && !$$.zoom.altDomain) {
- return;
- } // skip if zoomable because of conflict drag dehavior
- if (!config.data_selection_multiple) {
- return;
- } // skip when single selection because drag is used for multiple selection
-
- sx = $$.dragStart[0];
- sy = $$.dragStart[1];
- mx = mouse[0];
- my = mouse[1];
- minX = Math.min(sx, mx);
- maxX = Math.max(sx, mx);
- minY = (config.data_selection_grouped) ? $$.margin.top : Math.min(sy, my);
- maxY = (config.data_selection_grouped) ? $$.height : Math.max(sy, my);
-
- main.select('.' + CLASS.dragarea)
- .attr('x', minX)
- .attr('y', minY)
- .attr('width', maxX - minX)
- .attr('height', maxY - minY);
- // TODO: binary search when multiple xs
- main.selectAll('.' + CLASS.shapes).selectAll('.' + CLASS.shape)
- .filter(function (d) {
- return config.data_selection_isselectable(d);
- })
- .each(function (d, i) {
- var shape = d3.select(this),
- isSelected = shape.classed(CLASS.SELECTED),
- isIncluded = shape.classed(CLASS.INCLUDED),
- _x, _y, _w, _h, toggle, isWithin = false, box;
- if (shape.classed(CLASS.circle)) {
- _x = shape.attr("cx") * 1;
- _y = shape.attr("cy") * 1;
- toggle = $$.togglePoint;
- isWithin = minX < _x && _x < maxX && minY < _y && _y < maxY;
- }
- else if (shape.classed(CLASS.bar)) {
- box = getPathBox(this);
- _x = box.x;
- _y = box.y;
- _w = box.width;
- _h = box.height;
- toggle = $$.togglePath;
- isWithin = !(maxX < _x || _x + _w < minX) && !(maxY < _y || _y + _h < minY);
- } else {
- // line/area selection not supported yet
- return;
- }
- if (isWithin ^ isIncluded) {
- shape.classed(CLASS.INCLUDED, !isIncluded);
- // TODO: included/unincluded callback here
- shape.classed(CLASS.SELECTED, !isSelected);
- toggle.call($$, !isSelected, shape, d, i);
- }
- });
- };
-
- c3_chart_internal_fn.dragstart = function (mouse) {
- var $$ = this, config = $$.config;
- if ($$.hasArcType()) {
- return;
- }
- if (!config.data_selection_enabled) {
- return;
- } // do nothing if not selectable
- $$.dragStart = mouse;
- $$.main.select('.' + CLASS.chart).append('rect')
- .attr('class', CLASS.dragarea)
- .style('opacity', 0.1);
- $$.dragging = true;
- $$.config.data_ondragstart.call($$.api);
- };
-
- c3_chart_internal_fn.dragend = function () {
- var $$ = this, config = $$.config;
- if ($$.hasArcType()) {
- return;
- }
- if (!config.data_selection_enabled) {
- return;
- } // do nothing if not selectable
- $$.main.select('.' + CLASS.dragarea)
- .transition().duration(100)
- .style('opacity', 0)
- .remove();
- $$.main.selectAll('.' + CLASS.shape)
- .classed(CLASS.INCLUDED, false);
- $$.dragging = false;
- $$.config.data_ondragend.call($$.api);
- };
-
-
- c3_chart_internal_fn.selectPoint = function (target, d, i) {
- var $$ = this, config = $$.config,
- cx = (config.axis_rotated ? $$.circleY : $$.circleX).bind($$),
- cy = (config.axis_rotated ? $$.circleX : $$.circleY).bind($$),
- r = $$.pointSelectR.bind($$);
- config.data_onselected.call($$.api, d, target.node());
- // add selected-circle on low layer g
- $$.main.select('.' + CLASS.selectedCircles + $$.getTargetSelectorSuffix(d.id)).selectAll('.' + CLASS.selectedCircle + '-' + i)
- .data([d])
- .enter().append('circle')
- .attr("class", function () {
- return $$.generateClass(CLASS.selectedCircle, i);
- })
- .attr("cx", cx)
- .attr("cy", cy)
- .attr("stroke", function () {
- return $$.color(d);
- })
- .attr("r", function (d) {
- return $$.pointSelectR(d) * 1.4;
- })
- .transition().duration(100)
- .attr("r", r);
- };
- c3_chart_internal_fn.unselectPoint = function (target, d, i) {
- var $$ = this;
- $$.config.data_onunselected(d, target.node());
- // remove selected-circle from low layer g
- $$.main.select('.' + CLASS.selectedCircles + $$.getTargetSelectorSuffix(d.id)).selectAll('.' + CLASS.selectedCircle + '-' + i)
- .transition().duration(100).attr('r', 0)
- .remove();
- };
- c3_chart_internal_fn.togglePoint = function (selected, target, d, i) {
- selected ? this.selectPoint(target, d, i) : this.unselectPoint(target, d, i);
- };
- c3_chart_internal_fn.selectPath = function (target, d) {
- var $$ = this;
- $$.config.data_onselected.call($$, d, target.node());
- target.transition().duration(100)
- .style("fill", function () {
- return $$.d3.rgb($$.color(d)).brighter(0.75);
- });
- };
- c3_chart_internal_fn.unselectPath = function (target, d) {
- var $$ = this;
- $$.config.data_onunselected.call($$, d, target.node());
- target.transition().duration(100)
- .style("fill", function () {
- return $$.color(d);
- });
- };
- c3_chart_internal_fn.togglePath = function (selected, target, d, i) {
- selected ? this.selectPath(target, d, i) : this.unselectPath(target, d, i);
- };
- c3_chart_internal_fn.getToggle = function (that, d) {
- var $$ = this, toggle;
- if (that.nodeName === 'circle') {
- if ($$.isStepType(d)) {
- // circle is hidden in step chart, so treat as within the click area
- toggle = function () {
- }; // TODO: how to select step chart?
- } else {
- toggle = $$.togglePoint;
- }
- }
- else if (that.nodeName === 'path') {
- toggle = $$.togglePath;
- }
- return toggle;
- };
- c3_chart_internal_fn.toggleShape = function (that, d, i) {
- var $$ = this, d3 = $$.d3, config = $$.config,
- shape = d3.select(that), isSelected = shape.classed(CLASS.SELECTED),
- toggle = $$.getToggle(that, d).bind($$);
-
- if (config.data_selection_enabled && config.data_selection_isselectable(d)) {
- if (!config.data_selection_multiple) {
- $$.main.selectAll('.' + CLASS.shapes + (config.data_selection_grouped ? $$.getTargetSelectorSuffix(d.id) : "")).selectAll('.' + CLASS.shape).each(function (d, i) {
- var shape = d3.select(this);
- if (shape.classed(CLASS.SELECTED)) {
- toggle(false, shape.classed(CLASS.SELECTED, false), d, i);
- }
- });
- }
- shape.classed(CLASS.SELECTED, !isSelected);
- toggle(!isSelected, shape, d, i);
- }
- };
-
- c3_chart_internal_fn.initBrush = function () {
- var $$ = this, d3 = $$.d3;
- $$.brush = d3.svg.brush().on("brush", function () {
- $$.redrawForBrush();
- });
- $$.brush.update = function () {
- if ($$.context) {
- $$.context.select('.' + CLASS.brush).call(this);
- }
- return this;
- };
- $$.brush.scale = function (scale) {
- return $$.config.axis_rotated ? this.y(scale) : this.x(scale);
- };
- };
- c3_chart_internal_fn.initSubchart = function () {
- var $$ = this, config = $$.config,
- context = $$.context = $$.svg.append("g").attr("transform", $$.getTranslate('context'));
-
- if (!config.subchart_show) {
- context.style('visibility', 'hidden');
- }
-
- // Define g for chart area
- context.append('g')
- .attr("clip-path", $$.clipPathForSubchart)
- .attr('class', CLASS.chart);
-
- // Define g for bar chart area
- context.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.chartBars);
-
- // Define g for line chart area
- context.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.chartLines);
-
- // Add extent rect for Brush
- context.append("g")
- .attr("clip-path", $$.clipPath)
- .attr("class", CLASS.brush)
- .call($$.brush)
- .selectAll("rect")
- .attr(config.axis_rotated ? "width" : "height", config.axis_rotated ? $$.width2 : $$.height2);
-
- // ATTENTION: This must be called AFTER chart added
- // Add Axis
- $$.axes.subx = context.append("g")
- .attr("class", CLASS.axisX)
- .attr("transform", $$.getTranslate('subx'))
- .attr("clip-path", config.axis_rotated ? "" : $$.clipPathForXAxis);
- };
- c3_chart_internal_fn.updateTargetsForSubchart = function (targets) {
- var $$ = this, context = $$.context, config = $$.config,
- contextLineEnter, contextLineUpdate, contextBarEnter, contextBarUpdate,
- classChartBar = $$.classChartBar.bind($$),
- classBars = $$.classBars.bind($$),
- classChartLine = $$.classChartLine.bind($$),
- classLines = $$.classLines.bind($$),
- classAreas = $$.classAreas.bind($$);
-
- if (config.subchart_show) {
- contextBarUpdate = context.select('.' + CLASS.chartBars).selectAll('.' + CLASS.chartBar)
- .data(targets)
- .attr('class', classChartBar);
- contextBarEnter = contextBarUpdate.enter().append('g')
- .style('opacity', 0)
- .attr('class', classChartBar);
- // Bars for each data
- contextBarEnter.append('g')
- .attr("class", classBars);
-
- //-- Line --//
- contextLineUpdate = context.select('.' + CLASS.chartLines).selectAll('.' + CLASS.chartLine)
- .data(targets)
- .attr('class', classChartLine);
- contextLineEnter = contextLineUpdate.enter().append('g')
- .style('opacity', 0)
- .attr('class', classChartLine);
- // Lines for each data
- contextLineEnter.append("g")
- .attr("class", classLines);
- // Area
- contextLineEnter.append("g")
- .attr("class", classAreas);
- }
- };
- c3_chart_internal_fn.redrawSubchart = function (withSubchart, transitions, duration, durationForExit, areaIndices, barIndices, lineIndices) {
- var $$ = this, d3 = $$.d3, context = $$.context, config = $$.config,
- contextLine, contextArea, contextBar, drawAreaOnSub, drawBarOnSub, drawLineOnSub,
- barData = $$.barData.bind($$),
- lineData = $$.lineData.bind($$),
- classBar = $$.classBar.bind($$),
- classLine = $$.classLine.bind($$),
- classArea = $$.classArea.bind($$),
- initialOpacity = $$.initialOpacity.bind($$);
-
- // subchart
- if (config.subchart_show) {
- // reflect main chart to extent on subchart if zoomed
- if (d3.event && d3.event.type === 'zoom') {
- $$.brush.extent($$.x.orgDomain()).update();
- }
- // update subchart elements if needed
- if (withSubchart) {
-
- // extent rect
- if (!$$.brush.empty()) {
- $$.brush.extent($$.x.orgDomain()).update();
- }
- // setup drawer - MEMO: this must be called after axis updated
- drawAreaOnSub = $$.generateDrawArea(areaIndices, true);
- drawBarOnSub = $$.generateDrawBar(barIndices, true);
- drawLineOnSub = $$.generateDrawLine(lineIndices, true);
- // bars
- contextBar = context.selectAll('.' + CLASS.bars).selectAll('.' + CLASS.bar)
- .data(barData);
- contextBar.enter().append('path')
- .attr("class", classBar)
- .style("stroke", 'none')
- .style("fill", $$.color);
- contextBar
- .style("opacity", initialOpacity)
- .transition().duration(duration)
- .attr('d', drawBarOnSub)
- .style('opacity', 1);
- contextBar.exit().transition().duration(duration)
- .style('opacity', 0)
- .remove();
- // lines
- contextLine = context.selectAll('.' + CLASS.lines).selectAll('.' + CLASS.line)
- .data(lineData);
- contextLine.enter().append('path')
- .attr('class', classLine)
- .style('stroke', $$.color);
- contextLine
- .style("opacity", initialOpacity)
- .transition().duration(duration)
- .attr("d", drawLineOnSub)
- .style('opacity', 1);
- contextLine.exit().transition().duration(duration)
- .style('opacity', 0)
- .remove();
- // area
- contextArea = context.selectAll('.' + CLASS.areas).selectAll('.' + CLASS.area)
- .data(lineData);
- contextArea.enter().append('path')
- .attr("class", classArea)
- .style("fill", $$.color)
- .style("opacity", function () {
- $$.orgAreaOpacity = +d3.select(this).style('opacity');
- return 0;
- });
- contextArea
- .style("opacity", 0)
- .transition().duration(duration)
- .attr("d", drawAreaOnSub)
- .style("fill", $$.color)
- .style("opacity", $$.orgAreaOpacity);
- contextArea.exit().transition().duration(durationForExit)
- .style('opacity', 0)
- .remove();
- }
- }
- };
- c3_chart_internal_fn.redrawForBrush = function () {
- var $$ = this, x = $$.x;
- $$.redraw({
- withTransition: false,
- withY: $$.config.zoom_rescale,
- withSubchart: false,
- withUpdateXDomain: true,
- withDimension: false
- });
- $$.config.subchart_onbrush.call($$.api, x.orgDomain());
- };
- c3_chart_internal_fn.transformContext = function (withTransition, transitions) {
- var $$ = this, subXAxis;
- if (transitions && transitions.axisSubX) {
- subXAxis = transitions.axisSubX;
- } else {
- subXAxis = $$.context.select('.' + CLASS.axisX);
- if (withTransition) {
- subXAxis = subXAxis.transition();
- }
- }
- $$.context.attr("transform", $$.getTranslate('context'));
- subXAxis.attr("transform", $$.getTranslate('subx'));
- };
- c3_chart_internal_fn.getDefaultExtent = function () {
- var $$ = this, config = $$.config,
- extent = isFunction(config.axis_x_extent) ? config.axis_x_extent($$.getXDomain($$.data.targets)) : config.axis_x_extent;
- if ($$.isTimeSeries()) {
- extent = [$$.parseDate(extent[0]), $$.parseDate(extent[1])];
- }
- return extent;
- };
-
- c3_chart_internal_fn.initZoom = function () {
- var $$ = this, d3 = $$.d3, config = $$.config, startEvent;
-
- $$.zoom = d3.behavior.zoom()
- .on("zoomstart", function () {
- startEvent = d3.event.sourceEvent;
- $$.zoom.altDomain = d3.event.sourceEvent.altKey ? $$.x.orgDomain() : null;
- config.zoom_onzoomstart.call($$.api, d3.event.sourceEvent);
- })
- .on("zoom", function () {
- $$.redrawForZoom.call($$);
- })
- .on('zoomend', function () {
- var event = d3.event.sourceEvent;
- // if click, do nothing. otherwise, click interaction will be canceled.
- if (event && startEvent.clientX === event.clientX && startEvent.clientY === event.clientY) {
- return;
- }
- $$.redrawEventRect();
- $$.updateZoom();
- config.zoom_onzoomend.call($$.api, $$.x.orgDomain());
- });
- $$.zoom.scale = function (scale) {
- return config.axis_rotated ? this.y(scale) : this.x(scale);
- };
- $$.zoom.orgScaleExtent = function () {
- var extent = config.zoom_extent ? config.zoom_extent : [1, 10];
- return [extent[0], Math.max($$.getMaxDataCount() / extent[1], extent[1])];
- };
- $$.zoom.updateScaleExtent = function () {
- var ratio = diffDomain($$.x.orgDomain()) / diffDomain($$.orgXDomain),
- extent = this.orgScaleExtent();
- this.scaleExtent([extent[0] * ratio, extent[1] * ratio]);
- return this;
- };
- };
- c3_chart_internal_fn.updateZoom = function () {
- var $$ = this, z = $$.config.zoom_enabled ? $$.zoom : function () {
- };
- $$.main.select('.' + CLASS.zoomRect).call(z).on("dblclick.zoom", null);
- $$.main.selectAll('.' + CLASS.eventRect).call(z).on("dblclick.zoom", null);
- };
- c3_chart_internal_fn.redrawForZoom = function () {
- var $$ = this, d3 = $$.d3, config = $$.config, zoom = $$.zoom, x = $$.x;
- if (!config.zoom_enabled) {
- return;
- }
- if ($$.filterTargetsToShow($$.data.targets).length === 0) {
- return;
- }
- if (d3.event.sourceEvent.type === 'mousemove' && zoom.altDomain) {
- x.domain(zoom.altDomain);
- zoom.scale(x).updateScaleExtent();
- return;
- }
- if ($$.isCategorized() && x.orgDomain()[0] === $$.orgXDomain[0]) {
- x.domain([$$.orgXDomain[0] - 1e-10, x.orgDomain()[1]]);
- }
- $$.redraw({
- withTransition: false,
- withY: config.zoom_rescale,
- withSubchart: false,
- withEventRect: false,
- withDimension: false
- });
- if (d3.event.sourceEvent.type === 'mousemove') {
- $$.cancelClick = true;
- }
- config.zoom_onzoom.call($$.api, x.orgDomain());
- };
-
- c3_chart_internal_fn.generateColor = function () {
- var $$ = this, config = $$.config, d3 = $$.d3,
- colors = config.data_colors,
- pattern = notEmpty(config.color_pattern) ? config.color_pattern : d3.scale.category10().range(),
- callback = config.data_color,
- ids = [];
-
- return function (d) {
- var id = d.id || d, color;
-
- // if callback function is provided
- if (colors[id] instanceof Function) {
- color = colors[id](d);
- }
- // if specified, choose that color
- else if (colors[id]) {
- color = colors[id];
- }
- // if not specified, choose from pattern
- else {
- if (ids.indexOf(id) < 0) {
- ids.push(id);
- }
- color = pattern[ids.indexOf(id) % pattern.length];
- colors[id] = color;
- }
- return callback instanceof Function ? callback(color, d) : color;
- };
- };
- c3_chart_internal_fn.generateLevelColor = function () {
- var $$ = this, config = $$.config,
- colors = config.color_pattern,
- threshold = config.color_threshold,
- asValue = threshold.unit === 'value',
- values = threshold.values && threshold.values.length ? threshold.values : [],
- max = threshold.max || 100;
- return notEmpty(config.color_threshold) ? function (value) {
- var i, v, color = colors[colors.length - 1];
- for (i = 0; i < values.length; i++) {
- v = asValue ? value : (value * 100 / max);
- if (v < values[i]) {
- color = colors[i];
- break;
- }
- }
- return color;
- } : null;
- };
-
- c3_chart_internal_fn.getYFormat = function (forArc) {
- var $$ = this,
- formatForY = forArc && !$$.hasType('gauge') ? $$.defaultArcValueFormat : $$.yFormat,
- formatForY2 = forArc && !$$.hasType('gauge') ? $$.defaultArcValueFormat : $$.y2Format;
- return function (v, ratio, id) {
- var format = $$.getAxisId(id) === 'y2' ? formatForY2 : formatForY;
- return format.call($$, v, ratio);
- };
- };
- c3_chart_internal_fn.yFormat = function (v) {
- var $$ = this, config = $$.config,
- format = config.axis_y_tick_format ? config.axis_y_tick_format : $$.defaultValueFormat;
- return format(v);
- };
- c3_chart_internal_fn.y2Format = function (v) {
- var $$ = this, config = $$.config,
- format = config.axis_y2_tick_format ? config.axis_y2_tick_format : $$.defaultValueFormat;
- return format(v);
- };
- c3_chart_internal_fn.defaultValueFormat = function (v) {
- return isValue(v) ? +v : "";
- };
- c3_chart_internal_fn.defaultArcValueFormat = function (v, ratio) {
- return (ratio * 100).toFixed(1) + '%';
- };
- c3_chart_internal_fn.formatByAxisId = function (axisId) {
- var $$ = this, data_labels = $$.config.data_labels,
- format = function (v) {
- return isValue(v) ? +v : "";
- };
- // find format according to axis id
- if (typeof data_labels.format === 'function') {
- format = data_labels.format;
- } else if (typeof data_labels.format === 'object') {
- if (data_labels.format[axisId]) {
- format = data_labels.format[axisId];
- }
- }
- return format;
- };
-
- c3_chart_internal_fn.hasCaches = function (ids) {
- for (var i = 0; i < ids.length; i++) {
- if (!(ids[i] in this.cache)) {
- return false;
- }
- }
- return true;
- };
- c3_chart_internal_fn.addCache = function (id, target) {
- this.cache[id] = this.cloneTarget(target);
- };
- c3_chart_internal_fn.getCaches = function (ids) {
- var targets = [], i;
- for (i = 0; i < ids.length; i++) {
- if (ids[i] in this.cache) {
- targets.push(this.cloneTarget(this.cache[ids[i]]));
- }
- }
- return targets;
- };
-
- var CLASS = c3_chart_internal_fn.CLASS = {
- target: 'c3-target',
- chart: 'c3-chart',
- chartLine: 'c3-chart-line',
- chartLines: 'c3-chart-lines',
- chartBar: 'c3-chart-bar',
- chartBars: 'c3-chart-bars',
- chartText: 'c3-chart-text',
- chartTexts: 'c3-chart-texts',
- chartArc: 'c3-chart-arc',
- chartArcs: 'c3-chart-arcs',
- chartArcsTitle: 'c3-chart-arcs-title',
- chartArcsBackground: 'c3-chart-arcs-background',
- chartArcsGaugeUnit: 'c3-chart-arcs-gauge-unit',
- chartArcsGaugeMax: 'c3-chart-arcs-gauge-max',
- chartArcsGaugeMin: 'c3-chart-arcs-gauge-min',
- selectedCircle: 'c3-selected-circle',
- selectedCircles: 'c3-selected-circles',
- eventRect: 'c3-event-rect',
- eventRects: 'c3-event-rects',
- eventRectsSingle: 'c3-event-rects-single',
- eventRectsMultiple: 'c3-event-rects-multiple',
- zoomRect: 'c3-zoom-rect',
- brush: 'c3-brush',
- focused: 'c3-focused',
- defocused: 'c3-defocused',
- region: 'c3-region',
- regions: 'c3-regions',
- tooltipContainer: 'c3-tooltip-container',
- tooltip: 'c3-tooltip',
- tooltipName: 'c3-tooltip-name',
- shape: 'c3-shape',
- shapes: 'c3-shapes',
- line: 'c3-line',
- lines: 'c3-lines',
- bar: 'c3-bar',
- bars: 'c3-bars',
- circle: 'c3-circle',
- circles: 'c3-circles',
- arc: 'c3-arc',
- arcs: 'c3-arcs',
- area: 'c3-area',
- areas: 'c3-areas',
- empty: 'c3-empty',
- text: 'c3-text',
- texts: 'c3-texts',
- gaugeValue: 'c3-gauge-value',
- grid: 'c3-grid',
- gridLines: 'c3-grid-lines',
- xgrid: 'c3-xgrid',
- xgrids: 'c3-xgrids',
- xgridLine: 'c3-xgrid-line',
- xgridLines: 'c3-xgrid-lines',
- xgridFocus: 'c3-xgrid-focus',
- ygrid: 'c3-ygrid',
- ygrids: 'c3-ygrids',
- ygridLine: 'c3-ygrid-line',
- ygridLines: 'c3-ygrid-lines',
- axis: 'c3-axis',
- axisX: 'c3-axis-x',
- axisXLabel: 'c3-axis-x-label',
- axisY: 'c3-axis-y',
- axisYLabel: 'c3-axis-y-label',
- axisY2: 'c3-axis-y2',
- axisY2Label: 'c3-axis-y2-label',
- legendBackground: 'c3-legend-background',
- legendItem: 'c3-legend-item',
- legendItemEvent: 'c3-legend-item-event',
- legendItemTile: 'c3-legend-item-tile',
- legendItemHidden: 'c3-legend-item-hidden',
- legendItemFocused: 'c3-legend-item-focused',
- dragarea: 'c3-dragarea',
- EXPANDED: '_expanded_',
- SELECTED: '_selected_',
- INCLUDED: '_included_'
- };
- c3_chart_internal_fn.generateClass = function (prefix, targetId) {
- return " " + prefix + " " + prefix + this.getTargetSelectorSuffix(targetId);
- };
- c3_chart_internal_fn.classText = function (d) {
- return this.generateClass(CLASS.text, d.index);
- };
- c3_chart_internal_fn.classTexts = function (d) {
- return this.generateClass(CLASS.texts, d.id);
- };
- c3_chart_internal_fn.classShape = function (d) {
- return this.generateClass(CLASS.shape, d.index);
- };
- c3_chart_internal_fn.classShapes = function (d) {
- return this.generateClass(CLASS.shapes, d.id);
- };
- c3_chart_internal_fn.classLine = function (d) {
- return this.classShape(d) + this.generateClass(CLASS.line, d.id);
- };
- c3_chart_internal_fn.classLines = function (d) {
- return this.classShapes(d) + this.generateClass(CLASS.lines, d.id);
- };
- c3_chart_internal_fn.classCircle = function (d) {
- return this.classShape(d) + this.generateClass(CLASS.circle, d.index);
- };
- c3_chart_internal_fn.classCircles = function (d) {
- return this.classShapes(d) + this.generateClass(CLASS.circles, d.id);
- };
- c3_chart_internal_fn.classBar = function (d) {
- return this.classShape(d) + this.generateClass(CLASS.bar, d.index);
- };
- c3_chart_internal_fn.classBars = function (d) {
- return this.classShapes(d) + this.generateClass(CLASS.bars, d.id);
- };
- c3_chart_internal_fn.classArc = function (d) {
- return this.classShape(d.data) + this.generateClass(CLASS.arc, d.data.id);
- };
- c3_chart_internal_fn.classArcs = function (d) {
- return this.classShapes(d.data) + this.generateClass(CLASS.arcs, d.data.id);
- };
- c3_chart_internal_fn.classArea = function (d) {
- return this.classShape(d) + this.generateClass(CLASS.area, d.id);
- };
- c3_chart_internal_fn.classAreas = function (d) {
- return this.classShapes(d) + this.generateClass(CLASS.areas, d.id);
- };
- c3_chart_internal_fn.classRegion = function (d, i) {
- return this.generateClass(CLASS.region, i) + ' ' + ('class' in d ? d['class'] : '');
- };
- c3_chart_internal_fn.classEvent = function (d) {
- return this.generateClass(CLASS.eventRect, d.index);
- };
- c3_chart_internal_fn.classTarget = function (id) {
- var $$ = this;
- var additionalClassSuffix = $$.config.data_classes[id], additionalClass = '';
- if (additionalClassSuffix) {
- additionalClass = ' ' + CLASS.target + '-' + additionalClassSuffix;
- }
- return $$.generateClass(CLASS.target, id) + additionalClass;
- };
- c3_chart_internal_fn.classFocus = function (d) {
- return this.classFocused(d) + this.classDefocused(d);
- };
- c3_chart_internal_fn.classFocused = function (d) {
- return ' ' + (this.focusedTargetIds.indexOf(d.id) >= 0 ? CLASS.focused : '');
- };
- c3_chart_internal_fn.classDefocused = function (d) {
- return ' ' + (this.defocusedTargetIds.indexOf(d.id) >= 0 ? CLASS.defocused : '');
- };
- c3_chart_internal_fn.classChartText = function (d) {
- return CLASS.chartText + this.classTarget(d.id);
- };
- c3_chart_internal_fn.classChartLine = function (d) {
- return CLASS.chartLine + this.classTarget(d.id);
- };
- c3_chart_internal_fn.classChartBar = function (d) {
- return CLASS.chartBar + this.classTarget(d.id);
- };
- c3_chart_internal_fn.classChartArc = function (d) {
- return CLASS.chartArc + this.classTarget(d.data.id);
- };
- c3_chart_internal_fn.getTargetSelectorSuffix = function (targetId) {
- return targetId || targetId === 0 ? ('-' + targetId).replace(/[\s?!@#$%^&*()_=+,.<>'":;\[\]\/|~`{}\\]/g, '-') : '';
- };
- c3_chart_internal_fn.selectorTarget = function (id, prefix) {
- return (prefix || '') + '.' + CLASS.target + this.getTargetSelectorSuffix(id);
- };
- c3_chart_internal_fn.selectorTargets = function (ids, prefix) {
- var $$ = this;
- ids = ids || [];
- return ids.length ? ids.map(function (id) {
- return $$.selectorTarget(id, prefix);
- }) : null;
- };
- c3_chart_internal_fn.selectorLegend = function (id) {
- return '.' + CLASS.legendItem + this.getTargetSelectorSuffix(id);
- };
- c3_chart_internal_fn.selectorLegends = function (ids) {
- var $$ = this;
- return ids && ids.length ? ids.map(function (id) {
- return $$.selectorLegend(id);
- }) : null;
- };
-
- var isValue = c3_chart_internal_fn.isValue = function (v) {
- return v || v === 0;
- },
- isFunction = c3_chart_internal_fn.isFunction = function (o) {
- return typeof o === 'function';
- },
- isString = c3_chart_internal_fn.isString = function (o) {
- return typeof o === 'string';
- },
- isUndefined = c3_chart_internal_fn.isUndefined = function (v) {
- return typeof v === 'undefined';
- },
- isDefined = c3_chart_internal_fn.isDefined = function (v) {
- return typeof v !== 'undefined';
- },
- ceil10 = c3_chart_internal_fn.ceil10 = function (v) {
- return Math.ceil(v / 10) * 10;
- },
- asHalfPixel = c3_chart_internal_fn.asHalfPixel = function (n) {
- return Math.ceil(n) + 0.5;
- },
- diffDomain = c3_chart_internal_fn.diffDomain = function (d) {
- return d[1] - d[0];
- },
- isEmpty = c3_chart_internal_fn.isEmpty = function (o) {
- return !o || (isString(o) && o.length === 0) || (typeof o === 'object' && Object.keys(o).length === 0);
- },
- notEmpty = c3_chart_internal_fn.notEmpty = function (o) {
- return Object.keys(o).length > 0;
- },
- getOption = c3_chart_internal_fn.getOption = function (options, key, defaultValue) {
- return isDefined(options[key]) ? options[key] : defaultValue;
- },
- hasValue = c3_chart_internal_fn.hasValue = function (dict, value) {
- var found = false;
- Object.keys(dict).forEach(function (key) {
- if (dict[key] === value) {
- found = true;
- }
- });
- return found;
- },
- getPathBox = c3_chart_internal_fn.getPathBox = function (path) {
- var box = path.getBoundingClientRect(),
- items = [path.pathSegList.getItem(0), path.pathSegList.getItem(1)],
- minX = items[0].x, minY = Math.min(items[0].y, items[1].y);
- return {x: minX, y: minY, width: box.width, height: box.height};
- };
-
- c3_chart_fn.focus = function (targetIds) {
- var $$ = this.internal, candidates;
-
- targetIds = $$.mapToTargetIds(targetIds);
- candidates = $$.svg.selectAll($$.selectorTargets(targetIds.filter($$.isTargetToShow, $$))),
-
- this.revert();
- this.defocus();
- candidates.classed(CLASS.focused, true).classed(CLASS.defocused, false);
- if ($$.hasArcType()) {
- $$.expandArc(targetIds);
- }
- $$.toggleFocusLegend(targetIds, true);
-
- $$.focusedTargetIds = targetIds;
- $$.defocusedTargetIds = $$.defocusedTargetIds.filter(function (id) {
- return targetIds.indexOf(id) < 0;
- });
- };
-
- c3_chart_fn.defocus = function (targetIds) {
- var $$ = this.internal, candidates;
-
- targetIds = $$.mapToTargetIds(targetIds);
- candidates = $$.svg.selectAll($$.selectorTargets(targetIds.filter($$.isTargetToShow, $$))),
-
- this.revert();
- candidates.classed(CLASS.focused, false).classed(CLASS.defocused, true);
- if ($$.hasArcType()) {
- $$.unexpandArc(targetIds);
- }
- $$.toggleFocusLegend(targetIds, false);
-
- $$.focusedTargetIds = $$.focusedTargetIds.filter(function (id) {
- return targetIds.indexOf(id) < 0;
- });
- $$.defocusedTargetIds = targetIds;
- };
-
- c3_chart_fn.revert = function (targetIds) {
- var $$ = this.internal, candidates;
-
- targetIds = $$.mapToTargetIds(targetIds);
- candidates = $$.svg.selectAll($$.selectorTargets(targetIds)); // should be for all targets
-
- candidates.classed(CLASS.focused, false).classed(CLASS.defocused, false);
- if ($$.hasArcType()) {
- $$.unexpandArc(targetIds);
- }
- if ($$.config.legend_show) {
- $$.showLegend(targetIds.filter($$.isLegendToShow.bind($$)));
- }
-
- $$.focusedTargetIds = [];
- $$.defocusedTargetIds = [];
- };
-
- c3_chart_fn.show = function (targetIds, options) {
- var $$ = this.internal, targets;
-
- targetIds = $$.mapToTargetIds(targetIds);
- options = options || {};
-
- $$.removeHiddenTargetIds(targetIds);
- targets = $$.svg.selectAll($$.selectorTargets(targetIds));
-
- targets.transition()
- .style('opacity', 1, 'important')
- .call($$.endall, function () {
- targets.style('opacity', null).style('opacity', 1);
- });
-
- if (options.withLegend) {
- $$.showLegend(targetIds);
- }
-
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true, withLegend: true});
- };
-
- c3_chart_fn.hide = function (targetIds, options) {
- var $$ = this.internal, targets;
-
- targetIds = $$.mapToTargetIds(targetIds);
- options = options || {};
-
- $$.addHiddenTargetIds(targetIds);
- targets = $$.svg.selectAll($$.selectorTargets(targetIds));
-
- targets.transition()
- .style('opacity', 0, 'important')
- .call($$.endall, function () {
- targets.style('opacity', null).style('opacity', 0);
- });
-
- if (options.withLegend) {
- $$.hideLegend(targetIds);
- }
-
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true, withLegend: true});
- };
-
- c3_chart_fn.toggle = function (targetIds, options) {
- var that = this, $$ = this.internal;
- $$.mapToTargetIds(targetIds).forEach(function (targetId) {
- $$.isTargetToShow(targetId) ? that.hide(targetId, options) : that.show(targetId, options);
- });
- };
-
- c3_chart_fn.zoom = function (domain) {
- var $$ = this.internal;
- if (domain) {
- if ($$.isTimeSeries()) {
- domain = domain.map(function (x) {
- return $$.parseDate(x);
- });
- }
- $$.brush.extent(domain);
- $$.redraw({withUpdateXDomain: true, withY: $$.config.zoom_rescale});
- $$.config.zoom_onzoom.call(this, $$.x.orgDomain());
- }
- return $$.brush.extent();
- };
- c3_chart_fn.zoom.enable = function (enabled) {
- var $$ = this.internal;
- $$.config.zoom_enabled = enabled;
- $$.updateAndRedraw();
- };
- c3_chart_fn.unzoom = function () {
- var $$ = this.internal;
- $$.brush.clear().update();
- $$.redraw({withUpdateXDomain: true});
- };
-
- c3_chart_fn.load = function (args) {
- var $$ = this.internal, config = $$.config;
- // update xs if specified
- if (args.xs) {
- $$.addXs(args.xs);
- }
- // update classes if exists
- if ('classes' in args) {
- Object.keys(args.classes).forEach(function (id) {
- config.data_classes[id] = args.classes[id];
- });
- }
- // update categories if exists
- if ('categories' in args && $$.isCategorized()) {
- config.axis_x_categories = args.categories;
- }
- // update axes if exists
- if ('axes' in args) {
- Object.keys(args.axes).forEach(function (id) {
- config.data_axes[id] = args.axes[id];
- });
- }
- // use cache if exists
- if ('cacheIds' in args && $$.hasCaches(args.cacheIds)) {
- $$.load($$.getCaches(args.cacheIds), args.done);
- return;
- }
- // unload if needed
- if ('unload' in args) {
- // TODO: do not unload if target will load (included in url/rows/columns)
- $$.unload($$.mapToTargetIds((typeof args.unload === 'boolean' && args.unload) ? null : args.unload), function () {
- $$.loadFromArgs(args);
- });
- } else {
- $$.loadFromArgs(args);
- }
- };
-
- c3_chart_fn.unload = function (args) {
- var $$ = this.internal;
- args = args || {};
- if (args instanceof Array) {
- args = {ids: args};
- } else if (typeof args === 'string') {
- args = {ids: [args]};
- }
- $$.unload($$.mapToTargetIds(args.ids), function () {
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true, withLegend: true});
- if (args.done) {
- args.done();
- }
- });
- };
-
- c3_chart_fn.flow = function (args) {
- var $$ = this.internal,
- targets, data, notfoundIds = [], orgDataCount = $$.getMaxDataCount(),
- dataCount, domain, baseTarget, baseValue, length = 0, tail = 0, diff, to;
-
- if (args.json) {
- data = $$.convertJsonToData(args.json, args.keys);
- }
- else if (args.rows) {
- data = $$.convertRowsToData(args.rows);
- }
- else if (args.columns) {
- data = $$.convertColumnsToData(args.columns);
- }
- else {
- return;
- }
- targets = $$.convertDataToTargets(data, true);
-
- // Update/Add data
- $$.data.targets.forEach(function (t) {
- var found = false, i, j;
- for (i = 0; i < targets.length; i++) {
- if (t.id === targets[i].id) {
- found = true;
-
- if (t.values[t.values.length - 1]) {
- tail = t.values[t.values.length - 1].index + 1;
- }
- length = targets[i].values.length;
-
- for (j = 0; j < length; j++) {
- targets[i].values[j].index = tail + j;
- if (!$$.isTimeSeries()) {
- targets[i].values[j].x = tail + j;
- }
- }
- t.values = t.values.concat(targets[i].values);
-
- targets.splice(i, 1);
- break;
- }
- }
- if (!found) {
- notfoundIds.push(t.id);
- }
- });
-
- // Append null for not found targets
- $$.data.targets.forEach(function (t) {
- var i, j;
- for (i = 0; i < notfoundIds.length; i++) {
- if (t.id === notfoundIds[i]) {
- tail = t.values[t.values.length - 1].index + 1;
- for (j = 0; j < length; j++) {
- t.values.push({
- id: t.id,
- index: tail + j,
- x: $$.isTimeSeries() ? $$.getOtherTargetX(tail + j) : tail + j,
- value: null
- });
- }
- }
- }
- });
-
- // Generate null values for new target
- if ($$.data.targets.length) {
- targets.forEach(function (t) {
- var i, missing = [];
- for (i = $$.data.targets[0].values[0].index; i < tail; i++) {
- missing.push({
- id: t.id,
- index: i,
- x: $$.isTimeSeries() ? $$.getOtherTargetX(i) : i,
- value: null
- });
- }
- t.values.forEach(function (v) {
- v.index += tail;
- if (!$$.isTimeSeries()) {
- v.x += tail;
- }
- });
- t.values = missing.concat(t.values);
- });
- }
- $$.data.targets = $$.data.targets.concat(targets); // add remained
-
- // check data count because behavior needs to change when it's only one
- dataCount = $$.getMaxDataCount();
- baseTarget = $$.data.targets[0];
- baseValue = baseTarget.values[0];
-
- // Update length to flow if needed
- if (isDefined(args.to)) {
- length = 0;
- to = $$.isTimeSeries() ? $$.parseDate(args.to) : args.to;
- baseTarget.values.forEach(function (v) {
- if (v.x < to) {
- length++;
- }
- });
- } else if (isDefined(args.length)) {
- length = args.length;
- }
-
- // If only one data, update the domain to flow from left edge of the chart
- if (!orgDataCount) {
- if ($$.isTimeSeries()) {
- if (baseTarget.values.length > 1) {
- diff = baseTarget.values[baseTarget.values.length - 1].x - baseValue.x;
- } else {
- diff = baseValue.x - $$.getXDomain($$.data.targets)[0];
- }
- } else {
- diff = 1;
- }
- domain = [baseValue.x - diff, baseValue.x];
- $$.updateXDomain(null, true, true, false, domain);
- } else if (orgDataCount === 1) {
- if ($$.isTimeSeries()) {
- diff = (baseTarget.values[baseTarget.values.length - 1].x - baseValue.x) / 2;
- domain = [new Date(+baseValue.x - diff), new Date(+baseValue.x + diff)];
- $$.updateXDomain(null, true, true, false, domain);
- }
- }
-
- // Set targets
- $$.updateTargets($$.data.targets);
-
- // Redraw with new targets
- $$.redraw({
- flow: {
- index: baseValue.index,
- length: length,
- duration: isValue(args.duration) ? args.duration : $$.config.transition_duration,
- done: args.done,
- orgDataCount: orgDataCount,
- },
- withLegend: true,
- withTransition: orgDataCount > 1,
- withTrimXDomain: false,
- withUpdateXAxis: true,
- });
- };
-
- c3_chart_internal_fn.generateFlow = function (args) {
- var $$ = this, config = $$.config, d3 = $$.d3;
-
- return function () {
- var targets = args.targets,
- flow = args.flow,
- drawBar = args.drawBar,
- drawLine = args.drawLine,
- drawArea = args.drawArea,
- cx = args.cx,
- cy = args.cy,
- xv = args.xv,
- xForText = args.xForText,
- yForText = args.yForText,
- duration = args.duration;
-
- var translateX, scaleX = 1, transform,
- flowIndex = flow.index,
- flowLength = flow.length,
- flowStart = $$.getValueOnIndex($$.data.targets[0].values, flowIndex),
- flowEnd = $$.getValueOnIndex($$.data.targets[0].values, flowIndex + flowLength),
- orgDomain = $$.x.domain(), domain,
- durationForFlow = flow.duration || duration,
- done = flow.done || function () {
- },
- wait = $$.generateWait();
-
- var xgrid = $$.xgrid || d3.selectAll([]),
- xgridLines = $$.xgridLines || d3.selectAll([]),
- mainRegion = $$.mainRegion || d3.selectAll([]),
- mainText = $$.mainText || d3.selectAll([]),
- mainBar = $$.mainBar || d3.selectAll([]),
- mainLine = $$.mainLine || d3.selectAll([]),
- mainArea = $$.mainArea || d3.selectAll([]),
- mainCircle = $$.mainCircle || d3.selectAll([]);
-
- // set flag
- $$.flowing = true;
-
- // remove head data after rendered
- $$.data.targets.forEach(function (d) {
- d.values.splice(0, flowLength);
- });
-
- // update x domain to generate axis elements for flow
- domain = $$.updateXDomain(targets, true, true);
- // update elements related to x scale
- if ($$.updateXGrid) {
- $$.updateXGrid(true);
- }
-
- // generate transform to flow
- if (!flow.orgDataCount) { // if empty
- if ($$.data.targets[0].values.length !== 1) {
- translateX = $$.x(orgDomain[0]) - $$.x(domain[0]);
- } else {
- if ($$.isTimeSeries()) {
- flowStart = $$.getValueOnIndex($$.data.targets[0].values, 0);
- flowEnd = $$.getValueOnIndex($$.data.targets[0].values, $$.data.targets[0].values.length - 1);
- translateX = $$.x(flowStart.x) - $$.x(flowEnd.x);
- } else {
- translateX = diffDomain(domain) / 2;
- }
- }
- } else if (flow.orgDataCount === 1 || flowStart.x === flowEnd.x) {
- translateX = $$.x(orgDomain[0]) - $$.x(domain[0]);
- } else {
- if ($$.isTimeSeries()) {
- translateX = ($$.x(orgDomain[0]) - $$.x(domain[0]));
- } else {
- translateX = ($$.x(flowStart.x) - $$.x(flowEnd.x));
- }
- }
- scaleX = (diffDomain(orgDomain) / diffDomain(domain));
- transform = 'translate(' + translateX + ',0) scale(' + scaleX + ',1)';
-
- // hide tooltip
- $$.hideXGridFocus();
- $$.hideTooltip();
-
- d3.transition().ease('linear').duration(durationForFlow).each(function () {
- wait.add($$.axes.x.transition().call($$.xAxis));
- wait.add(mainBar.transition().attr('transform', transform));
- wait.add(mainLine.transition().attr('transform', transform));
- wait.add(mainArea.transition().attr('transform', transform));
- wait.add(mainCircle.transition().attr('transform', transform));
- wait.add(mainText.transition().attr('transform', transform));
- wait.add(mainRegion.filter($$.isRegionOnX).transition().attr('transform', transform));
- wait.add(xgrid.transition().attr('transform', transform));
- wait.add(xgridLines.transition().attr('transform', transform));
- })
- .call(wait, function () {
- var i, shapes = [], texts = [], eventRects = [];
-
- // remove flowed elements
- if (flowLength) {
- for (i = 0; i < flowLength; i++) {
- shapes.push('.' + CLASS.shape + '-' + (flowIndex + i));
- texts.push('.' + CLASS.text + '-' + (flowIndex + i));
- eventRects.push('.' + CLASS.eventRect + '-' + (flowIndex + i));
- }
- $$.svg.selectAll('.' + CLASS.shapes).selectAll(shapes).remove();
- $$.svg.selectAll('.' + CLASS.texts).selectAll(texts).remove();
- $$.svg.selectAll('.' + CLASS.eventRects).selectAll(eventRects).remove();
- $$.svg.select('.' + CLASS.xgrid).remove();
- }
-
- // draw again for removing flowed elements and reverting attr
- xgrid
- .attr('transform', null)
- .attr($$.xgridAttr);
- xgridLines
- .attr('transform', null);
- xgridLines.select('line')
- .attr("x1", config.axis_rotated ? 0 : xv)
- .attr("x2", config.axis_rotated ? $$.width : xv);
- xgridLines.select('text')
- .attr("x", config.axis_rotated ? $$.width : 0)
- .attr("y", xv);
- mainBar
- .attr('transform', null)
- .attr("d", drawBar);
- mainLine
- .attr('transform', null)
- .attr("d", drawLine);
- mainArea
- .attr('transform', null)
- .attr("d", drawArea);
- mainCircle
- .attr('transform', null)
- .attr("cx", cx)
- .attr("cy", cy);
- mainText
- .attr('transform', null)
- .attr('x', xForText)
- .attr('y', yForText)
- .style('fill-opacity', $$.opacityForText.bind($$));
- mainRegion
- .attr('transform', null);
- mainRegion.select('rect').filter($$.isRegionOnX)
- .attr("x", $$.regionX.bind($$))
- .attr("width", $$.regionWidth.bind($$));
-
- if (config.interaction_enabled) {
- $$.redrawEventRect();
- }
-
- // callback for end of flow
- done();
-
- $$.flowing = false;
- });
- };
- };
-
- c3_chart_fn.selected = function (targetId) {
- var $$ = this.internal, d3 = $$.d3;
- return d3.merge(
- $$.main.selectAll('.' + CLASS.shapes + $$.getTargetSelectorSuffix(targetId)).selectAll('.' + CLASS.shape)
- .filter(function () {
- return d3.select(this).classed(CLASS.SELECTED);
- })
- .map(function (d) {
- return d.map(function (d) {
- var data = d.__data__;
- return data.data ? data.data : data;
- });
- })
- );
- };
- c3_chart_fn.select = function (ids, indices, resetOther) {
- var $$ = this.internal, d3 = $$.d3, config = $$.config;
- if (!config.data_selection_enabled) {
- return;
- }
- $$.main.selectAll('.' + CLASS.shapes).selectAll('.' + CLASS.shape).each(function (d, i) {
- var shape = d3.select(this), id = d.data ? d.data.id : d.id,
- toggle = $$.getToggle(this, d).bind($$),
- isTargetId = config.data_selection_grouped || !ids || ids.indexOf(id) >= 0,
- isTargetIndex = !indices || indices.indexOf(i) >= 0,
- isSelected = shape.classed(CLASS.SELECTED);
- // line/area selection not supported yet
- if (shape.classed(CLASS.line) || shape.classed(CLASS.area)) {
- return;
- }
- if (isTargetId && isTargetIndex) {
- if (config.data_selection_isselectable(d) && !isSelected) {
- toggle(true, shape.classed(CLASS.SELECTED, true), d, i);
- }
- } else if (isDefined(resetOther) && resetOther) {
- if (isSelected) {
- toggle(false, shape.classed(CLASS.SELECTED, false), d, i);
- }
- }
- });
- };
- c3_chart_fn.unselect = function (ids, indices) {
- var $$ = this.internal, d3 = $$.d3, config = $$.config;
- if (!config.data_selection_enabled) {
- return;
- }
- $$.main.selectAll('.' + CLASS.shapes).selectAll('.' + CLASS.shape).each(function (d, i) {
- var shape = d3.select(this), id = d.data ? d.data.id : d.id,
- toggle = $$.getToggle(this, d).bind($$),
- isTargetId = config.data_selection_grouped || !ids || ids.indexOf(id) >= 0,
- isTargetIndex = !indices || indices.indexOf(i) >= 0,
- isSelected = shape.classed(CLASS.SELECTED);
- // line/area selection not supported yet
- if (shape.classed(CLASS.line) || shape.classed(CLASS.area)) {
- return;
- }
- if (isTargetId && isTargetIndex) {
- if (config.data_selection_isselectable(d)) {
- if (isSelected) {
- toggle(false, shape.classed(CLASS.SELECTED, false), d, i);
- }
- }
- }
- });
- };
-
- c3_chart_fn.transform = function (type, targetIds) {
- var $$ = this.internal,
- options = ['pie', 'donut'].indexOf(type) >= 0 ? {withTransform: true} : null;
- $$.transformTo(targetIds, type, options);
- };
-
- c3_chart_internal_fn.transformTo = function (targetIds, type, optionsForRedraw) {
- var $$ = this,
- withTransitionForAxis = !$$.hasArcType(),
- options = optionsForRedraw || {withTransitionForAxis: withTransitionForAxis};
- options.withTransitionForTransform = false;
- $$.transiting = false;
- $$.setTargetType(targetIds, type);
- $$.updateAndRedraw(options);
- };
-
- c3_chart_fn.groups = function (groups) {
- var $$ = this.internal, config = $$.config;
- if (isUndefined(groups)) {
- return config.data_groups;
- }
- config.data_groups = groups;
- $$.redraw();
- return config.data_groups;
- };
-
- c3_chart_fn.xgrids = function (grids) {
- var $$ = this.internal, config = $$.config;
- if (!grids) {
- return config.grid_x_lines;
- }
- config.grid_x_lines = grids;
- $$.redrawWithoutRescale();
- return config.grid_x_lines;
- };
- c3_chart_fn.xgrids.add = function (grids) {
- var $$ = this.internal;
- return this.xgrids($$.config.grid_x_lines.concat(grids ? grids : []));
- };
- c3_chart_fn.xgrids.remove = function (params) { // TODO: multiple
- var $$ = this.internal;
- $$.removeGridLines(params, true);
- };
-
- c3_chart_fn.ygrids = function (grids) {
- var $$ = this.internal, config = $$.config;
- if (!grids) {
- return config.grid_y_lines;
- }
- config.grid_y_lines = grids;
- $$.redrawWithoutRescale();
- return config.grid_y_lines;
- };
- c3_chart_fn.ygrids.add = function (grids) {
- var $$ = this.internal;
- return this.ygrids($$.config.grid_y_lines.concat(grids ? grids : []));
- };
- c3_chart_fn.ygrids.remove = function (params) { // TODO: multiple
- var $$ = this.internal;
- $$.removeGridLines(params, false);
- };
-
- c3_chart_fn.regions = function (regions) {
- var $$ = this.internal, config = $$.config;
- if (!regions) {
- return config.regions;
- }
- config.regions = regions;
- $$.redrawWithoutRescale();
- return config.regions;
- };
- c3_chart_fn.regions.add = function (regions) {
- var $$ = this.internal, config = $$.config;
- if (!regions) {
- return config.regions;
- }
- config.regions = config.regions.concat(regions);
- $$.redrawWithoutRescale();
- return config.regions;
- };
- c3_chart_fn.regions.remove = function (options) {
- var $$ = this.internal, config = $$.config,
- duration, classes, regions;
-
- options = options || {};
- duration = $$.getOption(options, "duration", config.transition_duration);
- classes = $$.getOption(options, "classes", [CLASS.region]);
-
- regions = $$.main.select('.' + CLASS.regions).selectAll(classes.map(function (c) {
- return '.' + c;
- }));
- (duration ? regions.transition().duration(duration) : regions)
- .style('opacity', 0)
- .remove();
-
- config.regions = config.regions.filter(function (region) {
- var found = false;
- if (!region['class']) {
- return true;
- }
- region['class'].split(' ').forEach(function (c) {
- if (classes.indexOf(c) >= 0) {
- found = true;
- }
- });
- return !found;
- });
-
- return config.regions;
- };
-
- c3_chart_fn.data = function (targetIds) {
- var targets = this.internal.data.targets;
- return typeof targetIds === 'undefined' ? targets : targets.filter(function (t) {
- return [].concat(targetIds).indexOf(t.id) >= 0;
- });
- };
- c3_chart_fn.data.shown = function (targetIds) {
- return this.internal.filterTargetsToShow(this.data(targetIds));
- };
- c3_chart_fn.data.values = function (targetId) {
- var targets, values = null;
- if (targetId) {
- targets = this.data(targetId);
- values = targets[0] ? targets[0].values.map(function (d) {
- return d.value;
- }) : null;
- }
- return values;
- };
- c3_chart_fn.data.names = function (names) {
- this.internal.clearLegendItemTextBoxCache();
- return this.internal.updateDataAttributes('names', names);
- };
- c3_chart_fn.data.colors = function (colors) {
- return this.internal.updateDataAttributes('colors', colors);
- };
- c3_chart_fn.data.axes = function (axes) {
- return this.internal.updateDataAttributes('axes', axes);
- };
-
- c3_chart_fn.category = function (i, category) {
- var $$ = this.internal, config = $$.config;
- if (arguments.length > 1) {
- config.axis_x_categories[i] = category;
- $$.redraw();
- }
- return config.axis_x_categories[i];
- };
- c3_chart_fn.categories = function (categories) {
- var $$ = this.internal, config = $$.config;
- if (!arguments.length) {
- return config.axis_x_categories;
- }
- config.axis_x_categories = categories;
- $$.redraw();
- return config.axis_x_categories;
- };
-
- // TODO: fix
- c3_chart_fn.color = function (id) {
- var $$ = this.internal;
- return $$.color(id); // more patterns
- };
-
- c3_chart_fn.x = function (x) {
- var $$ = this.internal;
- if (arguments.length) {
- $$.updateTargetX($$.data.targets, x);
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true});
- }
- return $$.data.xs;
- };
- c3_chart_fn.xs = function (xs) {
- var $$ = this.internal;
- if (arguments.length) {
- $$.updateTargetXs($$.data.targets, xs);
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true});
- }
- return $$.data.xs;
- };
-
- c3_chart_fn.axis = function () {
- };
- c3_chart_fn.axis.labels = function (labels) {
- var $$ = this.internal;
- if (arguments.length) {
- Object.keys(labels).forEach(function (axisId) {
- $$.setAxisLabelText(axisId, labels[axisId]);
- });
- $$.updateAxisLabels();
- }
- // TODO: return some values?
- };
- c3_chart_fn.axis.max = function (max) {
- var $$ = this.internal, config = $$.config;
- if (arguments.length) {
- if (typeof max === 'object') {
- if (isValue(max.x)) {
- config.axis_x_max = max.x;
- }
- if (isValue(max.y)) {
- config.axis_y_max = max.y;
- }
- if (isValue(max.y2)) {
- config.axis_y2_max = max.y2;
- }
- } else {
- config.axis_y_max = config.axis_y2_max = max;
- }
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true});
- } else {
- return {
- x: config.axis_x_max,
- y: config.axis_y_max,
- y2: config.axis_y2_max
- };
- }
- };
- c3_chart_fn.axis.min = function (min) {
- var $$ = this.internal, config = $$.config;
- if (arguments.length) {
- if (typeof min === 'object') {
- if (isValue(min.x)) {
- config.axis_x_min = min.x;
- }
- if (isValue(min.y)) {
- config.axis_y_min = min.y;
- }
- if (isValue(min.y2)) {
- config.axis_y2_min = min.y2;
- }
- } else {
- config.axis_y_min = config.axis_y2_min = min;
- }
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true});
- } else {
- return {
- x: config.axis_x_min,
- y: config.axis_y_min,
- y2: config.axis_y2_min
- };
- }
- };
- c3_chart_fn.axis.range = function (range) {
- if (arguments.length) {
- if (isDefined(range.max)) {
- this.axis.max(range.max);
- }
- if (isDefined(range.min)) {
- this.axis.min(range.min);
- }
- } else {
- return {
- max: this.axis.max(),
- min: this.axis.min()
- };
- }
- };
-
- c3_chart_fn.legend = function () {
- };
- c3_chart_fn.legend.show = function (targetIds) {
- var $$ = this.internal;
- $$.showLegend($$.mapToTargetIds(targetIds));
- $$.updateAndRedraw({withLegend: true});
- };
- c3_chart_fn.legend.hide = function (targetIds) {
- var $$ = this.internal;
- $$.hideLegend($$.mapToTargetIds(targetIds));
- $$.updateAndRedraw({withLegend: true});
- };
-
- c3_chart_fn.resize = function (size) {
- var $$ = this.internal, config = $$.config;
- config.size_width = size ? size.width : null;
- config.size_height = size ? size.height : null;
- this.flush();
- };
-
- c3_chart_fn.flush = function () {
- var $$ = this.internal;
- $$.updateAndRedraw({withLegend: true, withTransition: false, withTransitionForTransform: false});
- };
-
- c3_chart_fn.destroy = function () {
- var $$ = this.internal;
- $$.data.targets = undefined;
- $$.data.xs = {};
- $$.selectChart.classed('c3', false).html("");
- window.clearInterval($$.intervalForObserveInserted);
- window.onresize = null;
- };
-
- c3_chart_fn.tooltip = function () {
- };
- c3_chart_fn.tooltip.show = function (args) {
- var $$ = this.internal, index, mouse;
-
- // determine mouse position on the chart
- if (args.mouse) {
- mouse = args.mouse;
- }
-
- // determine focus data
- if (args.data) {
- if ($$.isMultipleX()) {
- // if multiple xs, target point will be determined by mouse
- mouse = [$$.x(args.data.x), $$.getYScale(args.data.id)(args.data.value)];
- index = null;
- } else {
- // TODO: when tooltip_grouped = false
- index = isValue(args.data.index) ? args.data.index : $$.getIndexByX(args.data.x);
- }
- }
- else if (typeof args.x !== 'undefined') {
- index = $$.getIndexByX(args.x);
- }
- else if (typeof args.index !== 'undefined') {
- index = args.index;
- }
-
- // emulate mouse events to show
- $$.dispatchEvent('mouseover', index, mouse);
- $$.dispatchEvent('mousemove', index, mouse);
- };
- c3_chart_fn.tooltip.hide = function () {
- // TODO: get target data by checking the state of focus
- this.internal.dispatchEvent('mouseout', 0);
- };
-
- // Features:
- // 1. category axis
- // 2. ceil values of translate/x/y to int for half pixel antialiasing
- // 3. multiline tick text
- var tickTextCharSize;
-
- function c3_axis(d3, params) {
- var scale = d3.scale.linear(), orient = "bottom", innerTickSize = 6, outerTickSize, tickPadding = 3, tickValues = null, tickFormat, tickArguments;
-
- var tickOffset = 0, tickCulling = true, tickCentered;
-
- params = params || {};
- outerTickSize = params.withOuterTick ? 6 : 0;
-
- function axisX(selection, x) {
- selection.attr("transform", function (d) {
- return "translate(" + Math.ceil(x(d) + tickOffset) + ", 0)";
- });
- }
-
- function axisY(selection, y) {
- selection.attr("transform", function (d) {
- return "translate(0," + Math.ceil(y(d)) + ")";
- });
- }
-
- function scaleExtent(domain) {
- var start = domain[0], stop = domain[domain.length - 1];
- return start < stop ? [start, stop] : [stop, start];
- }
-
- function generateTicks(scale) {
- var i, domain, ticks = [];
- if (scale.ticks) {
- return scale.ticks.apply(scale, tickArguments);
- }
- domain = scale.domain();
- for (i = Math.ceil(domain[0]); i < domain[1]; i++) {
- ticks.push(i);
- }
- if (ticks.length > 0 && ticks[0] > 0) {
- ticks.unshift(ticks[0] - (ticks[1] - ticks[0]));
- }
- return ticks;
- }
-
- function copyScale() {
- var newScale = scale.copy(), domain;
- if (params.isCategory) {
- domain = scale.domain();
- newScale.domain([domain[0], domain[1] - 1]);
- }
- return newScale;
- }
-
- function textFormatted(v) {
- return tickFormat ? tickFormat(v) : v;
- }
-
- function getSizeFor1Char(tick) {
- if (tickTextCharSize) {
- return tickTextCharSize;
- }
- var size = {
- h: 11.5,
- w: 5.5
- };
- tick.select('text').text(textFormatted).each(function (d) {
- var box = this.getBoundingClientRect(),
- text = textFormatted(d),
- h = box.height,
- w = text ? (box.width / text.length) : undefined;
- if (h && w) {
- size.h = h;
- size.w = w;
- }
- }).text('');
- tickTextCharSize = size;
- return size;
- }
-
- function axis(g) {
- g.each(function () {
- var g = d3.select(this);
- var scale0 = this.__chart__ || scale, scale1 = this.__chart__ = copyScale();
-
- var ticks = tickValues ? tickValues : generateTicks(scale1),
- tick = g.selectAll(".tick").data(ticks, scale1),
- tickEnter = tick.enter().insert("g", ".domain").attr("class", "tick").style("opacity", 1e-6),
- // MEMO: No exit transition. The reason is this transition affects max tick width calculation because old tick will be included in the ticks.
- tickExit = tick.exit().remove(),
- tickUpdate = d3.transition(tick).style("opacity", 1),
- tickTransform, tickX, tickY;
-
- var range = scale.rangeExtent ? scale.rangeExtent() : scaleExtent(scale.range()),
- path = g.selectAll(".domain").data([0]),
- pathUpdate = (path.enter().append("path").attr("class", "domain"), d3.transition(path));
- tickEnter.append("line");
- tickEnter.append("text");
-
- var lineEnter = tickEnter.select("line"),
- lineUpdate = tickUpdate.select("line"),
- textEnter = tickEnter.select("text"),
- textUpdate = tickUpdate.select("text");
-
- if (params.isCategory) {
- tickOffset = Math.ceil((scale1(1) - scale1(0)) / 2);
- tickX = tickCentered ? 0 : tickOffset;
- tickY = tickCentered ? tickOffset : 0;
- } else {
- tickOffset = tickX = 0;
- }
-
- var text, tspan, sizeFor1Char = getSizeFor1Char(g.select('.tick')), counts = [];
- var tickLength = Math.max(innerTickSize, 0) + tickPadding,
- isVertical = orient === 'left' || orient === 'right';
-
- // this should be called only when category axis
- function splitTickText(d, maxWidth) {
- var tickText = textFormatted(d),
- subtext, spaceIndex, textWidth, splitted = [];
-
- if (Object.prototype.toString.call(tickText) === "[object Array]") {
- return tickText;
- }
-
- if (!maxWidth || maxWidth <= 0) {
- maxWidth = isVertical ? 95 : params.isCategory ? (Math.ceil(scale1(ticks[1]) - scale1(ticks[0])) - 12) : 110;
- }
-
- function split(splitted, text) {
- spaceIndex = undefined;
- for (var i = 1; i < text.length; i++) {
- if (text.charAt(i) === ' ') {
- spaceIndex = i;
- }
- subtext = text.substr(0, i + 1);
- textWidth = sizeFor1Char.w * subtext.length;
- // if text width gets over tick width, split by space index or crrent index
- if (maxWidth < textWidth) {
- return split(
- splitted.concat(text.substr(0, spaceIndex ? spaceIndex : i)),
- text.slice(spaceIndex ? spaceIndex + 1 : i)
- );
- }
- }
- return splitted.concat(text);
- }
-
- return split(splitted, tickText + "");
- }
-
- function tspanDy(d, i) {
- var dy = sizeFor1Char.h;
- if (i === 0) {
- if (orient === 'left' || orient === 'right') {
- dy = -((counts[d.index] - 1) * (sizeFor1Char.h / 2) - 3);
- } else {
- dy = ".71em";
- }
- }
- return dy;
- }
-
- function tickSize(d) {
- var tickPosition = scale(d) + (tickCentered ? 0 : tickOffset);
- return range[0] < tickPosition && tickPosition < range[1] ? innerTickSize : 0;
- }
-
- text = tick.select("text");
- tspan = text.selectAll('tspan')
- .data(function (d, i) {
- var splitted = params.tickMultiline ? splitTickText(d, params.tickWidth) : [].concat(textFormatted(d));
- counts[i] = splitted.length;
- return splitted.map(function (s) {
- return {index: i, splitted: s};
- });
- });
- tspan.enter().append('tspan');
- tspan.exit().remove();
- tspan.text(function (d) {
- return d.splitted;
- });
-
- switch (orient) {
- case "bottom":
- {
- tickTransform = axisX;
- lineEnter.attr("y2", innerTickSize);
- textEnter.attr("y", tickLength);
- lineUpdate.attr("x1", tickX).attr("x2", tickX).attr("y2", tickSize);
- textUpdate.attr("x", 0).attr("y", tickLength);
- text.style("text-anchor", "middle");
- tspan.attr('x', 0).attr("dy", tspanDy);
- pathUpdate.attr("d", "M" + range[0] + "," + outerTickSize + "V0H" + range[1] + "V" + outerTickSize);
- break;
- }
- case "top":
- {
- tickTransform = axisX;
- lineEnter.attr("y2", -innerTickSize);
- textEnter.attr("y", -tickLength);
- lineUpdate.attr("x2", 0).attr("y2", -innerTickSize);
- textUpdate.attr("x", 0).attr("y", -tickLength);
- text.style("text-anchor", "middle");
- tspan.attr('x', 0).attr("dy", "0em");
- pathUpdate.attr("d", "M" + range[0] + "," + -outerTickSize + "V0H" + range[1] + "V" + -outerTickSize);
- break;
- }
- case "left":
- {
- tickTransform = axisY;
- lineEnter.attr("x2", -innerTickSize);
- textEnter.attr("x", -tickLength);
- lineUpdate.attr("x2", -innerTickSize).attr("y1", tickY).attr("y2", tickY);
- textUpdate.attr("x", -tickLength).attr("y", tickOffset);
- text.style("text-anchor", "end");
- tspan.attr('x', -tickLength).attr("dy", tspanDy);
- pathUpdate.attr("d", "M" + -outerTickSize + "," + range[0] + "H0V" + range[1] + "H" + -outerTickSize);
- break;
- }
- case "right":
- {
- tickTransform = axisY;
- lineEnter.attr("x2", innerTickSize);
- textEnter.attr("x", tickLength);
- lineUpdate.attr("x2", innerTickSize).attr("y2", 0);
- textUpdate.attr("x", tickLength).attr("y", 0);
- text.style("text-anchor", "start");
- tspan.attr('x', tickLength).attr("dy", tspanDy);
- pathUpdate.attr("d", "M" + outerTickSize + "," + range[0] + "H0V" + range[1] + "H" + outerTickSize);
- break;
- }
- }
- if (scale1.rangeBand) {
- var x = scale1, dx = x.rangeBand() / 2;
- scale0 = scale1 = function (d) {
- return x(d) + dx;
- };
- } else if (scale0.rangeBand) {
- scale0 = scale1;
- } else {
- tickExit.call(tickTransform, scale1);
- }
- tickEnter.call(tickTransform, scale0);
- tickUpdate.call(tickTransform, scale1);
- });
- }
-
- axis.scale = function (x) {
- if (!arguments.length) {
- return scale;
- }
- scale = x;
- return axis;
- };
- axis.orient = function (x) {
- if (!arguments.length) {
- return orient;
- }
- orient = x in {top: 1, right: 1, bottom: 1, left: 1} ? x + "" : "bottom";
- return axis;
- };
- axis.tickFormat = function (format) {
- if (!arguments.length) {
- return tickFormat;
- }
- tickFormat = format;
- return axis;
- };
- axis.tickCentered = function (isCentered) {
- if (!arguments.length) {
- return tickCentered;
- }
- tickCentered = isCentered;
- return axis;
- };
- axis.tickOffset = function () { // This will be overwritten when normal x axis
- return tickOffset;
- };
- axis.ticks = function () {
- if (!arguments.length) {
- return tickArguments;
- }
- tickArguments = arguments;
- return axis;
- };
- axis.tickCulling = function (culling) {
- if (!arguments.length) {
- return tickCulling;
- }
- tickCulling = culling;
- return axis;
- };
- axis.tickValues = function (x) {
- if (typeof x === 'function') {
- tickValues = function () {
- return x(scale.domain());
- };
- }
- else {
- if (!arguments.length) {
- return tickValues;
- }
- tickValues = x;
- }
- return axis;
- };
- return axis;
- }
-
- // fix problems using c3 with phantomjs #578
- Function.prototype.bind = Function.prototype.bind || function (thisp) {
- var fn = this;
- return function () {
- return fn.apply(thisp, arguments);
- };
- };
-
- if (typeof define === 'function' && define.amd) {
- define("c3", ["d3"], c3);
- } else if ('undefined' !== typeof exports && 'undefined' !== typeof module) {
- module.exports = c3;
- } else {
- window.c3 = c3;
- }
-
-})(window);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3.min.js
deleted file mode 100644
index 3c335da3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/c3.min.js
+++ /dev/null
@@ -1,2665 +0,0 @@
-!function (a) {
- "use strict";
- function b(a) {
- var b = this.internal = new c(this);
- b.loadConfig(a), b.init(), function d(a, b, c) {
- Object.keys(a).forEach(function (e) {
- b[e] = a[e].bind(c), Object.keys(a[e]).length > 0 && d(a[e], b[e], c)
- })
- }(e, this, this)
- }
-
- function c(b) {
- var c = this;
- c.d3 = a.d3 ? a.d3 : "undefined" != typeof require ? require("d3") : void 0, c.api = b, c.config = c.getDefaultConfig(), c.data = {}, c.cache = {}, c.axes = {}
- }
-
- function d(a, b) {
- function c(a, b) {
- a.attr("transform", function (a) {
- return "translate(" + Math.ceil(b(a) + t) + ", 0)"
- })
- }
-
- function d(a, b) {
- a.attr("transform", function (a) {
- return "translate(0," + Math.ceil(b(a)) + ")"
- })
- }
-
- function e(a) {
- var b = a[0], c = a[a.length - 1];
- return c > b ? [b, c] : [c, b]
- }
-
- function f(a) {
- var b, c, d = [];
- if (a.ticks)return a.ticks.apply(a, m);
- for (c = a.domain(), b = Math.ceil(c[0]); b < c[1]; b++)d.push(b);
- return d.length > 0 && d[0] > 0 && d.unshift(d[0] - (d[1] - d[0])), d
- }
-
- function g() {
- var a, c = o.copy();
- return b.isCategory && (a = o.domain(), c.domain([a[0], a[1] - 1])), c
- }
-
- function h(a) {
- return l ? l(a) : a
- }
-
- function i(a) {
- if (w)return w;
- var b = {h: 11.5, w: 5.5};
- return a.select("text").text(h).each(function (a) {
- var c = this.getBoundingClientRect(), d = h(a), e = c.height, f = d ? c.width / d.length : void 0;
- e && f && (b.h = e, b.w = f)
- }).text(""), w = b, b
- }
-
- function j(j) {
- j.each(function () {
- function j(a, c) {
- function d(a, b) {
- f = void 0;
- for (var h = 1; h < b.length; h++)if (" " === b.charAt(h) && (f = h), e = b.substr(0, h + 1), g = O.w * e.length, g > c)return d(a.concat(b.substr(0, f ? f : h)), b.slice(f ? f + 1 : h));
- return a.concat(b)
- }
-
- var e, f, g, i = h(a), j = [];
- return "[object Array]" === Object.prototype.toString.call(i) ? i : ((!c || 0 >= c) && (c = R ? 95 : b.isCategory ? Math.ceil(z(A[1]) - z(A[0])) - 12 : 110), d(j, i + ""))
- }
-
- function l(a, b) {
- var c = O.h;
- return 0 === b && (c = "left" === p || "right" === p ? -((P[a.index] - 1) * (O.h / 2) - 3) : ".71em"), c
- }
-
- function m(a) {
- var b = o(a) + (n ? 0 : t);
- return F[0] < b && b < F[1] ? q : 0
- }
-
- var u, v, w, x = a.select(this), y = this.__chart__ || o, z = this.__chart__ = g(), A = s ? s : f(z), B = x.selectAll(".tick").data(A, z), C = B.enter().insert("g", ".domain").attr("class", "tick").style("opacity", 1e-6), D = B.exit().remove(), E = a.transition(B).style("opacity", 1), F = o.rangeExtent ? o.rangeExtent() : e(o.range()), G = x.selectAll(".domain").data([0]), H = (G.enter().append("path").attr("class", "domain"), a.transition(G));
- C.append("line"), C.append("text");
- var I = C.select("line"), J = E.select("line"), K = C.select("text"), L = E.select("text");
- b.isCategory ? (t = Math.ceil((z(1) - z(0)) / 2), v = n ? 0 : t, w = n ? t : 0) : t = v = 0;
- var M, N, O = i(x.select(".tick")), P = [], Q = Math.max(q, 0) + r, R = "left" === p || "right" === p;
- switch (M = B.select("text"), N = M.selectAll("tspan").data(function (a, c) {
- var d = b.tickMultiline ? j(a, b.tickWidth) : [].concat(h(a));
- return P[c] = d.length, d.map(function (a) {
- return {index: c, splitted: a}
- })
- }), N.enter().append("tspan"), N.exit().remove(), N.text(function (a) {
- return a.splitted
- }), p) {
- case"bottom":
- u = c, I.attr("y2", q), K.attr("y", Q), J.attr("x1", v).attr("x2", v).attr("y2", m), L.attr("x", 0).attr("y", Q), M.style("text-anchor", "middle"), N.attr("x", 0).attr("dy", l), H.attr("d", "M" + F[0] + "," + k + "V0H" + F[1] + "V" + k);
- break;
- case"top":
- u = c, I.attr("y2", -q), K.attr("y", -Q), J.attr("x2", 0).attr("y2", -q), L.attr("x", 0).attr("y", -Q), M.style("text-anchor", "middle"), N.attr("x", 0).attr("dy", "0em"), H.attr("d", "M" + F[0] + "," + -k + "V0H" + F[1] + "V" + -k);
- break;
- case"left":
- u = d, I.attr("x2", -q), K.attr("x", -Q), J.attr("x2", -q).attr("y1", w).attr("y2", w), L.attr("x", -Q).attr("y", t), M.style("text-anchor", "end"), N.attr("x", -Q).attr("dy", l), H.attr("d", "M" + -k + "," + F[0] + "H0V" + F[1] + "H" + -k);
- break;
- case"right":
- u = d, I.attr("x2", q), K.attr("x", Q), J.attr("x2", q).attr("y2", 0), L.attr("x", Q).attr("y", 0), M.style("text-anchor", "start"), N.attr("x", Q).attr("dy", l), H.attr("d", "M" + k + "," + F[0] + "H0V" + F[1] + "H" + k)
- }
- if (z.rangeBand) {
- var S = z, T = S.rangeBand() / 2;
- y = z = function (a) {
- return S(a) + T
- }
- } else y.rangeBand ? y = z : D.call(u, z);
- C.call(u, y), E.call(u, z)
- })
- }
-
- var k, l, m, n, o = a.scale.linear(), p = "bottom", q = 6, r = 3, s = null, t = 0, u = !0;
- return b = b || {}, k = b.withOuterTick ? 6 : 0, j.scale = function (a) {
- return arguments.length ? (o = a, j) : o
- }, j.orient = function (a) {
- return arguments.length ? (p = a in{top: 1, right: 1, bottom: 1, left: 1} ? a + "" : "bottom", j) : p
- }, j.tickFormat = function (a) {
- return arguments.length ? (l = a, j) : l
- }, j.tickCentered = function (a) {
- return arguments.length ? (n = a, j) : n
- }, j.tickOffset = function () {
- return t
- }, j.ticks = function () {
- return arguments.length ? (m = arguments, j) : m
- }, j.tickCulling = function (a) {
- return arguments.length ? (u = a, j) : u
- }, j.tickValues = function (a) {
- if ("function" == typeof a)s = function () {
- return a(o.domain())
- }; else {
- if (!arguments.length)return s;
- s = a
- }
- return j
- }, j
- }
-
- var e, f, g = {version: "0.4.8"};
- g.generate = function (a) {
- return new b(a)
- }, g.chart = {
- fn: b.prototype,
- internal: {fn: c.prototype}
- }, e = g.chart.fn, f = g.chart.internal.fn, f.init = function () {
- var a = this, b = a.config;
- if (a.initParams(), b.data_url)a.convertUrlToData(b.data_url, b.data_mimeType, b.data_keys, a.initWithData); else if (b.data_json)a.initWithData(a.convertJsonToData(b.data_json, b.data_keys)); else if (b.data_rows)a.initWithData(a.convertRowsToData(b.data_rows)); else {
- if (!b.data_columns)throw Error("url or json or rows or columns is required.");
- a.initWithData(a.convertColumnsToData(b.data_columns))
- }
- }, f.initParams = function () {
- var a = this, b = a.d3, c = a.config;
- a.clipId = "c3-" + +new Date + "-clip", a.clipIdForXAxis = a.clipId + "-xaxis", a.clipIdForYAxis = a.clipId + "-yaxis", a.clipIdForGrid = a.clipId + "-grid", a.clipIdForSubchart = a.clipId + "-subchart", a.clipPath = a.getClipPath(a.clipId), a.clipPathForXAxis = a.getClipPath(a.clipIdForXAxis), a.clipPathForYAxis = a.getClipPath(a.clipIdForYAxis), a.clipPathForGrid = a.getClipPath(a.clipIdForGrid), a.clipPathForSubchart = a.getClipPath(a.clipIdForSubchart), a.dragStart = null, a.dragging = !1, a.flowing = !1, a.cancelClick = !1, a.mouseover = !1, a.transiting = !1, a.color = a.generateColor(), a.levelColor = a.generateLevelColor(), a.dataTimeFormat = c.data_xLocaltime ? b.time.format : b.time.format.utc, a.axisTimeFormat = c.axis_x_localtime ? b.time.format : b.time.format.utc, a.defaultAxisTimeFormat = a.axisTimeFormat.multi([[".%L", function (a) {
- return a.getMilliseconds()
- }], [":%S", function (a) {
- return a.getSeconds()
- }], ["%I:%M", function (a) {
- return a.getMinutes()
- }], ["%I %p", function (a) {
- return a.getHours()
- }], ["%-m/%-d", function (a) {
- return a.getDay() && 1 !== a.getDate()
- }], ["%-m/%-d", function (a) {
- return 1 !== a.getDate()
- }], ["%-m/%-d", function (a) {
- return a.getMonth()
- }], ["%Y/%-m/%-d", function () {
- return !0
- }]]), a.hiddenTargetIds = [], a.hiddenLegendIds = [], a.focusedTargetIds = [], a.defocusedTargetIds = [], a.xOrient = c.axis_rotated ? "left" : "bottom", a.yOrient = c.axis_rotated ? c.axis_y_inner ? "top" : "bottom" : c.axis_y_inner ? "right" : "left", a.y2Orient = c.axis_rotated ? c.axis_y2_inner ? "bottom" : "top" : c.axis_y2_inner ? "left" : "right", a.subXOrient = c.axis_rotated ? "left" : "bottom", a.isLegendRight = "right" === c.legend_position, a.isLegendInset = "inset" === c.legend_position, a.isLegendTop = "top-left" === c.legend_inset_anchor || "top-right" === c.legend_inset_anchor, a.isLegendLeft = "top-left" === c.legend_inset_anchor || "bottom-left" === c.legend_inset_anchor, a.legendStep = 0, a.legendItemWidth = 0, a.legendItemHeight = 0, a.currentMaxTickWidths = {
- x: 0,
- y: 0,
- y2: 0
- }, a.rotated_padding_left = 30, a.rotated_padding_right = c.axis_rotated && !c.axis_x_show ? 0 : 30, a.rotated_padding_top = 5, a.withoutFadeIn = {}, a.intervalForObserveInserted = void 0, a.axes.subx = b.selectAll([])
- }, f.initChartElements = function () {
- this.initBar && this.initBar(), this.initLine && this.initLine(), this.initArc && this.initArc(), this.initGauge && this.initGauge(), this.initText && this.initText()
- }, f.initWithData = function (b) {
- var c, d, e = this, f = e.d3, g = e.config, h = !0;
- e.initPie && e.initPie(), e.initBrush && e.initBrush(), e.initZoom && e.initZoom(), e.selectChart = "function" == typeof g.bindto.node ? g.bindto : f.select(g.bindto), e.selectChart.empty() && (e.selectChart = f.select(document.createElement("div")).style("opacity", 0), e.observeInserted(e.selectChart), h = !1), e.selectChart.html("").classed("c3", !0), e.data.xs = {}, e.data.targets = e.convertDataToTargets(b), g.data_filter && (e.data.targets = e.data.targets.filter(g.data_filter)), g.data_hide && e.addHiddenTargetIds(g.data_hide === !0 ? e.mapToIds(e.data.targets) : g.data_hide), g.legend_hide && e.addHiddenLegendIds(g.legend_hide === !0 ? e.mapToIds(e.data.targets) : g.legend_hide), e.hasType("gauge") && (g.legend_show = !1), e.updateSizes(), e.updateScales(), e.x.domain(f.extent(e.getXDomain(e.data.targets))), e.y.domain(e.getYDomain(e.data.targets, "y")), e.y2.domain(e.getYDomain(e.data.targets, "y2")), e.subX.domain(e.x.domain()), e.subY.domain(e.y.domain()), e.subY2.domain(e.y2.domain()), e.orgXDomain = e.x.domain(), e.brush && e.brush.scale(e.subX), g.zoom_enabled && e.zoom.scale(e.x), e.svg = e.selectChart.append("svg").style("overflow", "hidden").on("mouseenter", function () {
- return g.onmouseover.call(e)
- }).on("mouseleave", function () {
- return g.onmouseout.call(e)
- }), c = e.svg.append("defs"), e.clipChart = e.appendClip(c, e.clipId), e.clipXAxis = e.appendClip(c, e.clipIdForXAxis), e.clipYAxis = e.appendClip(c, e.clipIdForYAxis), e.clipGrid = e.appendClip(c, e.clipIdForGrid), e.clipSubchart = e.appendClip(c, e.clipIdForSubchart), e.updateSvgSize(), d = e.main = e.svg.append("g").attr("transform", e.getTranslate("main")), e.initSubchart && e.initSubchart(), e.initTooltip && e.initTooltip(), e.initLegend && e.initLegend(), d.append("text").attr("class", i.text + " " + i.empty).attr("text-anchor", "middle").attr("dominant-baseline", "middle"), e.initRegion(), e.initGrid(), d.append("g").attr("clip-path", e.clipPath).attr("class", i.chart), g.grid_lines_front && e.initGridLines(), e.initEventRect(), e.initChartElements(), d.insert("rect", g.zoom_privileged ? null : "g." + i.regions).attr("class", i.zoomRect).attr("width", e.width).attr("height", e.height).style("opacity", 0).on("dblclick.zoom", null), g.axis_x_extent && e.brush.extent(e.getDefaultExtent()), e.initAxis(), e.updateTargets(e.data.targets), h && (e.updateDimension(), e.config.oninit.call(e), e.redraw({
- withTransform: !0,
- withUpdateXDomain: !0,
- withUpdateOrgXDomain: !0,
- withTransitionForAxis: !1
- })), null == a.onresize && (a.onresize = e.generateResize()), a.onresize.add && (a.onresize.add(function () {
- g.onresize.call(e)
- }), a.onresize.add(function () {
- e.api.flush()
- }), a.onresize.add(function () {
- g.onresized.call(e)
- })), e.api.element = e.selectChart.node()
- }, f.smoothLines = function (a, b) {
- var c = this;
- "grid" === b && a.each(function () {
- var a = c.d3.select(this), b = a.attr("x1"), d = a.attr("x2"), e = a.attr("y1"), f = a.attr("y2");
- a.attr({x1: Math.ceil(b), x2: Math.ceil(d), y1: Math.ceil(e), y2: Math.ceil(f)})
- })
- }, f.updateSizes = function () {
- var a = this, b = a.config, c = a.legend ? a.getLegendHeight() : 0, d = a.legend ? a.getLegendWidth() : 0, e = a.isLegendRight || a.isLegendInset ? 0 : c, f = a.hasArcType(), g = b.axis_rotated || f ? 0 : a.getHorizontalAxisHeight("x"), h = b.subchart_show && !f ? b.subchart_size_height + g : 0;
- a.currentWidth = a.getCurrentWidth(), a.currentHeight = a.getCurrentHeight(), a.margin = b.axis_rotated ? {
- top: a.getHorizontalAxisHeight("y2") + a.getCurrentPaddingTop(),
- right: f ? 0 : a.getCurrentPaddingRight(),
- bottom: a.getHorizontalAxisHeight("y") + e + a.getCurrentPaddingBottom(),
- left: h + (f ? 0 : a.getCurrentPaddingLeft())
- } : {
- top: 4 + a.getCurrentPaddingTop(),
- right: f ? 0 : a.getCurrentPaddingRight(),
- bottom: g + h + e + a.getCurrentPaddingBottom(),
- left: f ? 0 : a.getCurrentPaddingLeft()
- }, a.margin2 = b.axis_rotated ? {
- top: a.margin.top,
- right: 0 / 0,
- bottom: 20 + e,
- left: a.rotated_padding_left
- } : {top: a.currentHeight - h - e, right: 0 / 0, bottom: g + e, left: a.margin.left}, a.margin3 = {
- top: 0,
- right: 0 / 0,
- bottom: 0,
- left: 0
- }, a.updateSizeForLegend && a.updateSizeForLegend(c, d), a.width = a.currentWidth - a.margin.left - a.margin.right, a.height = a.currentHeight - a.margin.top - a.margin.bottom, a.width < 0 && (a.width = 0), a.height < 0 && (a.height = 0), a.width2 = b.axis_rotated ? a.margin.left - a.rotated_padding_left - a.rotated_padding_right : a.width, a.height2 = b.axis_rotated ? a.height : a.currentHeight - a.margin2.top - a.margin2.bottom, a.width2 < 0 && (a.width2 = 0), a.height2 < 0 && (a.height2 = 0), a.arcWidth = a.width - (a.isLegendRight ? d + 10 : 0), a.arcHeight = a.height - (a.isLegendRight ? 0 : 10), a.hasType("gauge") && (a.arcHeight += a.height - a.getGaugeLabelHeight()), a.updateRadius && a.updateRadius(), a.isLegendRight && f && (a.margin3.left = a.arcWidth / 2 + 1.1 * a.radiusExpanded)
- }, f.updateTargets = function (a) {
- var b = this, c = b.config;
- b.updateTargetsForText(a), b.updateTargetsForBar(a), b.updateTargetsForLine(a), b.updateTargetsForArc && b.updateTargetsForArc(a), b.updateTargetsForSubchart && b.updateTargetsForSubchart(a), b.svg.selectAll("." + i.target).filter(function (a) {
- return b.isTargetToShow(a.id)
- }).transition().duration(c.transition_duration).style("opacity", 1)
- }, f.redraw = function (a, b) {
- var c, d, e, f, g, h, j, k, l, m, n, o, p, q, r, s, u, v, w, x, y, z, A, B, C, D, E, F, G, H = this, I = H.main, J = H.d3, K = H.config, L = H.getShapeIndices(H.isAreaType), M = H.getShapeIndices(H.isBarType), N = H.getShapeIndices(H.isLineType), O = H.hasArcType(), P = H.filterTargetsToShow(H.data.targets), Q = H.xv.bind(H);
- if (a = a || {}, c = t(a, "withY", !0), d = t(a, "withSubchart", !0), e = t(a, "withTransition", !0), h = t(a, "withTransform", !1), j = t(a, "withUpdateXDomain", !1), k = t(a, "withUpdateOrgXDomain", !1), l = t(a, "withTrimXDomain", !0), p = t(a, "withUpdateXAxis", j), m = t(a, "withLegend", !1), n = t(a, "withEventRect", !0), o = t(a, "withDimension", !0), f = t(a, "withTransitionForExit", e), g = t(a, "withTransitionForAxis", e), w = e ? K.transition_duration : 0, x = f ? w : 0, y = g ? w : 0, b = b || H.generateAxisTransitions(y), m && K.legend_show ? H.updateLegend(H.mapToIds(H.data.targets), a, b) : o && H.updateDimension(!0), H.isCategorized() && 0 === P.length && H.x.domain([0, H.axes.x.selectAll(".tick").size()]), P.length ? (H.updateXDomain(P, j, k, l), K.axis_x_tick_values || (B = K.axis_x_tick_fit || K.axis_x_tick_count ? H.generateTickValues(H.mapTargetsToUniqueXs(P), K.axis_x_tick_count, H.isTimeSeries()) : void 0, H.xAxis.tickValues(B), H.subXAxis.tickValues(B))) : (H.xAxis.tickValues([]), H.subXAxis.tickValues([])), K.zoom_rescale && !a.flow && (E = H.x.orgDomain()), H.y.domain(H.getYDomain(P, "y", E)), H.y2.domain(H.getYDomain(P, "y2", E)), !K.axis_y_tick_values && K.axis_y_tick_count && H.yAxis.tickValues(H.generateTickValues(H.y.domain(), K.axis_y_tick_count)), !K.axis_y2_tick_values && K.axis_y2_tick_count && H.y2Axis.tickValues(H.generateTickValues(H.y2.domain(), K.axis_y2_tick_count)), H.redrawAxis(b, O), H.updateAxisLabels(e), (j || p) && P.length)if (K.axis_x_tick_culling && B) {
- for (C = 1; C < B.length; C++)if (B.length / C < K.axis_x_tick_culling_max) {
- D = C;
- break
- }
- H.svg.selectAll("." + i.axisX + " .tick text").each(function (a) {
- var b = B.indexOf(a);
- b >= 0 && J.select(this).style("display", b % D ? "none" : "block")
- })
- } else H.svg.selectAll("." + i.axisX + " .tick text").style("display", "block");
- q = H.generateDrawArea ? H.generateDrawArea(L, !1) : void 0, r = H.generateDrawBar ? H.generateDrawBar(M) : void 0, s = H.generateDrawLine ? H.generateDrawLine(N, !1) : void 0, u = H.generateXYForText(L, M, N, !0), v = H.generateXYForText(L, M, N, !1), c && (H.subY.domain(H.getYDomain(P, "y")), H.subY2.domain(H.getYDomain(P, "y2"))), H.tooltip.style("display", "none"), H.updateXgridFocus(), I.select("text." + i.text + "." + i.empty).attr("x", H.width / 2).attr("y", H.height / 2).text(K.data_empty_label_text).transition().style("opacity", P.length ? 0 : 1), H.redrawGrid(w), H.redrawRegion(w), H.redrawBar(x), H.redrawLine(x), H.redrawArea(x), H.redrawCircle(), H.hasDataLabel() && H.redrawText(x), H.redrawArc && H.redrawArc(w, x, h), H.redrawSubchart && H.redrawSubchart(d, b, w, x, L, M, N), I.selectAll("." + i.selectedCircles).filter(H.isBarType.bind(H)).selectAll("circle").remove(), K.interaction_enabled && !a.flow && n && (H.redrawEventRect(), H.updateZoom && H.updateZoom()), H.updateCircleY(), F = (H.config.axis_rotated ? H.circleY : H.circleX).bind(H), G = (H.config.axis_rotated ? H.circleX : H.circleY).bind(H), J.transition().duration(w).each(function () {
- var b = [];
- H.addTransitionForBar(b, r), H.addTransitionForLine(b, s), H.addTransitionForArea(b, q), H.addTransitionForCircle(b, F, G), H.addTransitionForText(b, u, v, a.flow), H.addTransitionForRegion(b), H.addTransitionForGrid(b), a.flow && (z = H.generateWait(), b.forEach(function (a) {
- z.add(a)
- }), A = H.generateFlow({
- targets: P,
- flow: a.flow,
- duration: w,
- drawBar: r,
- drawLine: s,
- drawArea: q,
- cx: F,
- cy: G,
- xv: Q,
- xForText: u,
- yForText: v
- }))
- }).call(z || function () {
- }, A || function () {
- }), H.mapToIds(H.data.targets).forEach(function (a) {
- H.withoutFadeIn[a] = !0
- })
- }, f.updateAndRedraw = function (a) {
- var b, c = this, d = c.config;
- a = a || {}, a.withTransition = t(a, "withTransition", !0), a.withTransform = t(a, "withTransform", !1), a.withLegend = t(a, "withLegend", !1), a.withUpdateXDomain = !0, a.withUpdateOrgXDomain = !0, a.withTransitionForExit = !1, a.withTransitionForTransform = t(a, "withTransitionForTransform", a.withTransition), c.updateSizes(), a.withLegend && d.legend_show || (b = c.generateAxisTransitions(a.withTransitionForAxis ? d.transition_duration : 0), c.updateScales(), c.updateSvgSize(), c.transformAll(a.withTransitionForTransform, b)), c.redraw(a, b)
- }, f.redrawWithoutRescale = function () {
- this.redraw({withY: !1, withSubchart: !1, withEventRect: !1, withTransitionForAxis: !1})
- }, f.isTimeSeries = function () {
- return "timeseries" === this.config.axis_x_type
- }, f.isCategorized = function () {
- return this.config.axis_x_type.indexOf("categor") >= 0
- }, f.isCustomX = function () {
- var a = this, b = a.config;
- return !a.isTimeSeries() && (b.data_x || s(b.data_xs))
- }, f.isTimeSeriesY = function () {
- return "timeseries" === this.config.axis_y_type
- }, f.getTranslate = function (a) {
- var b, c, d = this, e = d.config;
- return "main" === a ? (b = p(d.margin.left), c = p(d.margin.top)) : "context" === a ? (b = p(d.margin2.left), c = p(d.margin2.top)) : "legend" === a ? (b = d.margin3.left, c = d.margin3.top) : "x" === a ? (b = 0, c = e.axis_rotated ? 0 : d.height) : "y" === a ? (b = 0, c = e.axis_rotated ? d.height : 0) : "y2" === a ? (b = e.axis_rotated ? 0 : d.width, c = e.axis_rotated ? 1 : 0) : "subx" === a ? (b = 0, c = e.axis_rotated ? 0 : d.height2) : "arc" === a && (b = d.arcWidth / 2, c = d.arcHeight / 2), "translate(" + b + "," + c + ")"
- }, f.initialOpacity = function (a) {
- return null !== a.value && this.withoutFadeIn[a.id] ? 1 : 0
- }, f.initialOpacityForCircle = function (a) {
- return null !== a.value && this.withoutFadeIn[a.id] ? this.opacityForCircle(a) : 0
- }, f.opacityForCircle = function (a) {
- var b = this.config.point_show ? 1 : 0;
- return j(a.value) ? this.isScatterType(a) ? .5 : b : 0
- }, f.opacityForText = function () {
- return this.hasDataLabel() ? 1 : 0
- }, f.xx = function (a) {
- return a ? this.x(a.x) : null
- }, f.xv = function (a) {
- var b = this, c = a.value;
- return b.isTimeSeries() ? c = b.parseDate(a.value) : b.isCategorized() && "string" == typeof a.value && (c = b.config.axis_x_categories.indexOf(a.value)), Math.ceil(b.x(c))
- }, f.yv = function (a) {
- var b = this, c = a.axis && "y2" === a.axis ? b.y2 : b.y;
- return Math.ceil(c(a.value))
- }, f.subxx = function (a) {
- return a ? this.subX(a.x) : null
- }, f.transformMain = function (a, b) {
- var c, d, e, f = this;
- b && b.axisX ? c = b.axisX : (c = f.main.select("." + i.axisX), a && (c = c.transition())), b && b.axisY ? d = b.axisY : (d = f.main.select("." + i.axisY), a && (d = d.transition())), b && b.axisY2 ? e = b.axisY2 : (e = f.main.select("." + i.axisY2), a && (e = e.transition())), (a ? f.main.transition() : f.main).attr("transform", f.getTranslate("main")), c.attr("transform", f.getTranslate("x")), d.attr("transform", f.getTranslate("y")), e.attr("transform", f.getTranslate("y2")), f.main.select("." + i.chartArcs).attr("transform", f.getTranslate("arc"))
- }, f.transformAll = function (a, b) {
- var c = this;
- c.transformMain(a, b), c.config.subchart_show && c.transformContext(a, b), c.legend && c.transformLegend(a)
- }, f.updateSvgSize = function () {
- var a = this, b = a.svg.select(".c3-brush .background");
- a.svg.attr("width", a.currentWidth).attr("height", a.currentHeight), a.svg.selectAll(["#" + a.clipId, "#" + a.clipIdForGrid]).select("rect").attr("width", a.width).attr("height", a.height), a.svg.select("#" + a.clipIdForXAxis).select("rect").attr("x", a.getXAxisClipX.bind(a)).attr("y", a.getXAxisClipY.bind(a)).attr("width", a.getXAxisClipWidth.bind(a)).attr("height", a.getXAxisClipHeight.bind(a)), a.svg.select("#" + a.clipIdForYAxis).select("rect").attr("x", a.getYAxisClipX.bind(a)).attr("y", a.getYAxisClipY.bind(a)).attr("width", a.getYAxisClipWidth.bind(a)).attr("height", a.getYAxisClipHeight.bind(a)), a.svg.select("#" + a.clipIdForSubchart).select("rect").attr("width", a.width).attr("height", b.size() ? b.attr("height") : 0), a.svg.select("." + i.zoomRect).attr("width", a.width).attr("height", a.height), a.selectChart.style("max-height", a.currentHeight + "px")
- }, f.updateDimension = function (a) {
- var b = this;
- a || (b.config.axis_rotated ? (b.axes.x.call(b.xAxis), b.axes.subx.call(b.subXAxis)) : (b.axes.y.call(b.yAxis), b.axes.y2.call(b.y2Axis))), b.updateSizes(), b.updateScales(), b.updateSvgSize(), b.transformAll(!1)
- }, f.observeInserted = function (b) {
- var c = this, d = new MutationObserver(function (e) {
- e.forEach(function (e) {
- "childList" === e.type && e.previousSibling && (d.disconnect(), c.intervalForObserveInserted = a.setInterval(function () {
- b.node().parentNode && (a.clearInterval(c.intervalForObserveInserted), c.updateDimension(), c.config.oninit.call(c), c.redraw({
- withTransform: !0,
- withUpdateXDomain: !0,
- withUpdateOrgXDomain: !0,
- withTransition: !1,
- withTransitionForTransform: !1,
- withLegend: !0
- }), b.transition().style("opacity", 1))
- }, 10))
- })
- });
- d.observe(b.node(), {attributes: !0, childList: !0, characterData: !0})
- }, f.generateResize = function () {
- function a() {
- b.forEach(function (a) {
- a()
- })
- }
-
- var b = [];
- return a.add = function (a) {
- b.push(a)
- }, a
- }, f.endall = function (a, b) {
- var c = 0;
- a.each(function () {
- ++c
- }).each("end", function () {
- --c || b.apply(this, arguments)
- })
- }, f.generateWait = function () {
- var a = [], b = function (b, c) {
- var d = setInterval(function () {
- var b = 0;
- a.forEach(function (a) {
- if (a.empty())return void(b += 1);
- try {
- a.transition()
- } catch (c) {
- b += 1
- }
- }), b === a.length && (clearInterval(d), c && c())
- }, 10)
- };
- return b.add = function (b) {
- a.push(b)
- }, b
- }, f.parseDate = function (b) {
- var c, d = this;
- return c = b instanceof Date ? b : "number" != typeof b && isNaN(b) ? d.dataTimeFormat(d.config.data_xFormat).parse(b) : new Date(+b), (!c || isNaN(+c)) && a.console.error("Failed to parse x '" + b + "' to Date object"), c
- }, f.getDefaultConfig = function () {
- var a = {
- bindto: "#chart",
- size_width: void 0,
- size_height: void 0,
- padding_left: void 0,
- padding_right: void 0,
- padding_top: void 0,
- padding_bottom: void 0,
- zoom_enabled: !1,
- zoom_extent: void 0,
- zoom_privileged: !1,
- zoom_rescale: !1,
- zoom_onzoom: function () {
- },
- zoom_onzoomstart: function () {
- },
- zoom_onzoomend: function () {
- },
- interaction_enabled: !0,
- onmouseover: function () {
- },
- onmouseout: function () {
- },
- onresize: function () {
- },
- onresized: function () {
- },
- oninit: function () {
- },
- transition_duration: 350,
- data_x: void 0,
- data_xs: {},
- data_xFormat: "%Y-%m-%d",
- data_xLocaltime: !0,
- data_xSort: !0,
- data_idConverter: function (a) {
- return a
- },
- data_names: {},
- data_classes: {},
- data_groups: [],
- data_axes: {},
- data_type: void 0,
- data_types: {},
- data_labels: {},
- data_order: "desc",
- data_regions: {},
- data_color: void 0,
- data_colors: {},
- data_hide: !1,
- data_filter: void 0,
- data_selection_enabled: !1,
- data_selection_grouped: !1,
- data_selection_isselectable: function () {
- return !0
- },
- data_selection_multiple: !0,
- data_onclick: function () {
- },
- data_onmouseover: function () {
- },
- data_onmouseout: function () {
- },
- data_onselected: function () {
- },
- data_onunselected: function () {
- },
- data_ondragstart: function () {
- },
- data_ondragend: function () {
- },
- data_url: void 0,
- data_json: void 0,
- data_rows: void 0,
- data_columns: void 0,
- data_mimeType: void 0,
- data_keys: void 0,
- data_empty_label_text: "",
- subchart_show: !1,
- subchart_size_height: 60,
- subchart_onbrush: function () {
- },
- color_pattern: [],
- color_threshold: {},
- legend_show: !0,
- legend_hide: !1,
- legend_position: "bottom",
- legend_inset_anchor: "top-left",
- legend_inset_x: 10,
- legend_inset_y: 0,
- legend_inset_step: void 0,
- legend_item_onclick: void 0,
- legend_item_onmouseover: void 0,
- legend_item_onmouseout: void 0,
- legend_equally: !1,
- axis_rotated: !1,
- axis_x_show: !0,
- axis_x_type: "indexed",
- axis_x_localtime: !0,
- axis_x_categories: [],
- axis_x_tick_centered: !1,
- axis_x_tick_format: void 0,
- axis_x_tick_culling: {},
- axis_x_tick_culling_max: 10,
- axis_x_tick_count: void 0,
- axis_x_tick_fit: !0,
- axis_x_tick_values: null,
- axis_x_tick_rotate: 0,
- axis_x_tick_outer: !0,
- axis_x_tick_multiline: !0,
- axis_x_tick_width: null,
- axis_x_max: void 0,
- axis_x_min: void 0,
- axis_x_padding: {},
- axis_x_height: void 0,
- axis_x_extent: void 0,
- axis_x_label: {},
- axis_y_show: !0,
- axis_y_type: void 0,
- axis_y_max: void 0,
- axis_y_min: void 0,
- axis_y_center: void 0,
- axis_y_inner: void 0,
- axis_y_label: {},
- axis_y_tick_format: void 0,
- axis_y_tick_outer: !0,
- axis_y_tick_values: null,
- axis_y_tick_count: void 0,
- axis_y_tick_time_value: void 0,
- axis_y_tick_time_interval: void 0,
- axis_y_padding: {},
- axis_y_default: void 0,
- axis_y2_show: !1,
- axis_y2_max: void 0,
- axis_y2_min: void 0,
- axis_y2_center: void 0,
- axis_y2_inner: void 0,
- axis_y2_label: {},
- axis_y2_tick_format: void 0,
- axis_y2_tick_outer: !0,
- axis_y2_tick_values: null,
- axis_y2_tick_count: void 0,
- axis_y2_padding: {},
- axis_y2_default: void 0,
- grid_x_show: !1,
- grid_x_type: "tick",
- grid_x_lines: [],
- grid_y_show: !1,
- grid_y_lines: [],
- grid_y_ticks: 10,
- grid_focus_show: !0,
- grid_lines_front: !0,
- point_show: !0,
- point_r: 2.5,
- point_focus_expand_enabled: !0,
- point_focus_expand_r: void 0,
- point_select_r: void 0,
- line_connectNull: !1,
- line_step_type: "step",
- bar_width: void 0,
- bar_width_ratio: .6,
- bar_width_max: void 0,
- bar_zerobased: !0,
- area_zerobased: !0,
- pie_label_show: !0,
- pie_label_format: void 0,
- pie_label_threshold: .05,
- pie_expand: !0,
- gauge_label_show: !0,
- gauge_label_format: void 0,
- gauge_expand: !0,
- gauge_min: 0,
- gauge_max: 100,
- gauge_units: void 0,
- gauge_width: void 0,
- donut_label_show: !0,
- donut_label_format: void 0,
- donut_label_threshold: .05,
- donut_width: void 0,
- donut_expand: !0,
- donut_title: "",
- regions: [],
- tooltip_show: !0,
- tooltip_grouped: !0,
- tooltip_format_title: void 0,
- tooltip_format_name: void 0,
- tooltip_format_value: void 0,
- tooltip_contents: function (a, b, c, d) {
- return this.getTooltipContent ? this.getTooltipContent(a, b, c, d) : ""
- },
- tooltip_init_show: !1,
- tooltip_init_x: 0,
- tooltip_init_position: {top: "0px", left: "50px"}
- };
- return Object.keys(this.additionalConfig).forEach(function (b) {
- a[b] = this.additionalConfig[b]
- }, this), a
- }, f.additionalConfig = {}, f.loadConfig = function (a) {
- function b() {
- var a = d.shift();
- return a && c && "object" == typeof c && a in c ? (c = c[a], b()) : a ? void 0 : c
- }
-
- var c, d, e, f = this.config;
- Object.keys(f).forEach(function (g) {
- c = a, d = g.split("_"), e = b(), n(e) && (f[g] = e)
- })
- }, f.getScale = function (a, b, c) {
- return (c ? this.d3.time.scale() : this.d3.scale.linear()).range([a, b])
- }, f.getX = function (a, b, c, d) {
- var e, f = this, g = f.getScale(a, b, f.isTimeSeries()), h = c ? g.domain(c) : g;
- f.isCategorized() ? (d = d || function () {
- return 0
- }, g = function (a, b) {
- var c = h(a) + d(a);
- return b ? c : Math.ceil(c)
- }) : g = function (a, b) {
- var c = h(a);
- return b ? c : Math.ceil(c)
- };
- for (e in h)g[e] = h[e];
- return g.orgDomain = function () {
- return h.domain()
- }, f.isCategorized() && (g.domain = function (a) {
- return arguments.length ? (h.domain(a), g) : (a = this.orgDomain(), [a[0], a[1] + 1])
- }), g
- }, f.getY = function (a, b, c) {
- var d = this.getScale(a, b, this.isTimeSeriesY());
- return c && d.domain(c), d
- }, f.getYScale = function (a) {
- return "y2" === this.getAxisId(a) ? this.y2 : this.y
- }, f.getSubYScale = function (a) {
- return "y2" === this.getAxisId(a) ? this.subY2 : this.subY
- }, f.updateScales = function () {
- var a = this, b = a.config, c = !a.x;
- a.xMin = b.axis_rotated ? 1 : 0, a.xMax = b.axis_rotated ? a.height : a.width, a.yMin = b.axis_rotated ? 0 : a.height, a.yMax = b.axis_rotated ? a.width : 1, a.subXMin = a.xMin, a.subXMax = a.xMax, a.subYMin = b.axis_rotated ? 0 : a.height2, a.subYMax = b.axis_rotated ? a.width2 : 1, a.x = a.getX(a.xMin, a.xMax, c ? void 0 : a.x.orgDomain(), function () {
- return a.xAxis.tickOffset()
- }), a.y = a.getY(a.yMin, a.yMax, c ? b.axis_y_default : a.y.domain()), a.y2 = a.getY(a.yMin, a.yMax, c ? b.axis_y2_default : a.y2.domain()), a.subX = a.getX(a.xMin, a.xMax, a.orgXDomain, function (b) {
- return b % 1 ? 0 : a.subXAxis.tickOffset()
- }), a.subY = a.getY(a.subYMin, a.subYMax, c ? b.axis_y_default : a.subY.domain()), a.subY2 = a.getY(a.subYMin, a.subYMax, c ? b.axis_y2_default : a.subY2.domain()), a.xAxisTickFormat = a.getXAxisTickFormat(), a.xAxisTickValues = a.getXAxisTickValues(), a.yAxisTickValues = a.getYAxisTickValues(), a.y2AxisTickValues = a.getY2AxisTickValues(), a.xAxis = a.getXAxis(a.x, a.xOrient, a.xAxisTickFormat, a.xAxisTickValues, b.axis_x_tick_outer), a.subXAxis = a.getXAxis(a.subX, a.subXOrient, a.xAxisTickFormat, a.xAxisTickValues, b.axis_x_tick_outer), a.yAxis = a.getYAxis(a.y, a.yOrient, b.axis_y_tick_format, a.yAxisTickValues, b.axis_y_tick_outer), a.y2Axis = a.getYAxis(a.y2, a.y2Orient, b.axis_y2_tick_format, a.y2AxisTickValues, b.axis_y2_tick_outer), c || (a.brush && a.brush.scale(a.subX), b.zoom_enabled && a.zoom.scale(a.x)), a.updateArc && a.updateArc()
- }, f.getYDomainMin = function (a) {
- var b, c, d, e, f, g, h = this, i = h.config, j = h.mapToIds(a), k = h.getValuesAsIdKeyed(a);
- if (i.data_groups.length > 0)for (g = h.hasNegativeValueInTargets(a), b = 0; b < i.data_groups.length; b++)if (e = i.data_groups[b].filter(function (a) {
- return j.indexOf(a) >= 0
- }), 0 !== e.length)for (d = e[0], g && k[d] && k[d].forEach(function (a, b) {
- k[d][b] = 0 > a ? a : 0
- }), c = 1; c < e.length; c++)f = e[c], k[f] && k[f].forEach(function (a, b) {
- h.getAxisId(f) !== h.getAxisId(d) || !k[d] || g && +a > 0 || (k[d][b] += +a)
- });
- return h.d3.min(Object.keys(k).map(function (a) {
- return h.d3.min(k[a])
- }))
- }, f.getYDomainMax = function (a) {
- var b, c, d, e, f, g, h = this, i = h.config, j = h.mapToIds(a), k = h.getValuesAsIdKeyed(a);
- if (i.data_groups.length > 0)for (g = h.hasPositiveValueInTargets(a), b = 0; b < i.data_groups.length; b++)if (e = i.data_groups[b].filter(function (a) {
- return j.indexOf(a) >= 0
- }), 0 !== e.length)for (d = e[0], g && k[d] && k[d].forEach(function (a, b) {
- k[d][b] = a > 0 ? a : 0
- }), c = 1; c < e.length; c++)f = e[c], k[f] && k[f].forEach(function (a, b) {
- h.getAxisId(f) !== h.getAxisId(d) || !k[d] || g && 0 > +a || (k[d][b] += +a)
- });
- return h.d3.max(Object.keys(k).map(function (a) {
- return h.d3.max(k[a])
- }))
- }, f.getYDomain = function (a, b, c) {
- var d, e, f, g, h, i, k, l, m, n, o = this, p = o.config, r = a.filter(function (a) {
- return o.getAxisId(a.id) === b
- }), t = c ? o.filterByXDomain(r, c) : r, u = "y2" === b ? p.axis_y2_min : p.axis_y_min, v = "y2" === b ? p.axis_y2_max : p.axis_y_max, w = j(u) ? u : o.getYDomainMin(t), x = j(v) ? v : o.getYDomainMax(t), y = "y2" === b ? p.axis_y2_center : p.axis_y_center, z = o.hasType("bar", t) && p.bar_zerobased || o.hasType("area", t) && p.area_zerobased, A = o.hasDataLabel() && p.axis_rotated, B = o.hasDataLabel() && !p.axis_rotated;
- return w > x && (j(u) ? x = w + 10 : w = x - 10), 0 === t.length ? "y2" === b ? o.y2.domain() : o.y.domain() : (isNaN(w) && (w = 0), isNaN(x) && (x = w), w === x && (0 > w ? x = 0 : w = 0), m = w >= 0 && x >= 0, n = 0 >= w && 0 >= x, (j(u) && m || j(v) && n) && (z = !1), z && (m && (w = 0), n && (x = 0)), d = Math.abs(x - w), e = f = g = .1 * d, "undefined" != typeof y && (h = Math.max(Math.abs(w), Math.abs(x)), x = y + h, w = y - h), A ? (i = o.getDataLabelLength(w, x, b, "width"), k = q(o.y.range()), l = [i[0] / k, i[1] / k], f += d * (l[1] / (1 - l[0] - l[1])), g += d * (l[0] / (1 - l[0] - l[1]))) : B && (i = o.getDataLabelLength(w, x, b, "height"), f += this.convertPixelsToAxisPadding(i[1], d), g += this.convertPixelsToAxisPadding(i[0], d)), "y" === b && s(p.axis_y_padding) && (f = o.getAxisPadding(p.axis_y_padding, "top", f, d), g = o.getAxisPadding(p.axis_y_padding, "bottom", g, d)), "y2" === b && s(p.axis_y2_padding) && (f = o.getAxisPadding(p.axis_y2_padding, "top", f, d), g = o.getAxisPadding(p.axis_y2_padding, "bottom", g, d)), z && (m && (g = w), n && (f = -x)), [w - g, x + f])
- }, f.getXDomainMin = function (a) {
- var b = this, c = b.config;
- return n(c.axis_x_min) ? b.isTimeSeries() ? this.parseDate(c.axis_x_min) : c.axis_x_min : b.d3.min(a, function (a) {
- return b.d3.min(a.values, function (a) {
- return a.x
- })
- })
- }, f.getXDomainMax = function (a) {
- var b = this, c = b.config;
- return n(c.axis_x_max) ? b.isTimeSeries() ? this.parseDate(c.axis_x_max) : c.axis_x_max : b.d3.max(a, function (a) {
- return b.d3.max(a.values, function (a) {
- return a.x
- })
- })
- }, f.getXDomainPadding = function (a) {
- var b, c, d, e, f = this, g = f.config, h = a[1] - a[0];
- return f.isCategorized() ? c = 0 : f.hasType("bar") ? (b = f.getMaxDataCount(), c = b > 1 ? h / (b - 1) / 2 : .5) : c = .01 * h, "object" == typeof g.axis_x_padding && s(g.axis_x_padding) ? (d = j(g.axis_x_padding.left) ? g.axis_x_padding.left : c, e = j(g.axis_x_padding.right) ? g.axis_x_padding.right : c) : d = e = "number" == typeof g.axis_x_padding ? g.axis_x_padding : c, {
- left: d,
- right: e
- }
- }, f.getXDomain = function (a) {
- var b = this, c = [b.getXDomainMin(a), b.getXDomainMax(a)], d = c[0], e = c[1], f = b.getXDomainPadding(c), g = 0, h = 0;
- return d - e !== 0 || b.isCategorized() || (b.isTimeSeries() ? (d = new Date(.5 * d.getTime()), e = new Date(1.5 * e.getTime())) : (d = 0 === d ? 1 : .5 * d, e = 0 === e ? -1 : 1.5 * e)), (d || 0 === d) && (g = b.isTimeSeries() ? new Date(d.getTime() - f.left) : d - f.left), (e || 0 === e) && (h = b.isTimeSeries() ? new Date(e.getTime() + f.right) : e + f.right), [g, h]
- }, f.updateXDomain = function (a, b, c, d, e) {
- var f = this, g = f.config;
- return c && (f.x.domain(e ? e : f.d3.extent(f.getXDomain(a))), f.orgXDomain = f.x.domain(), g.zoom_enabled && f.zoom.scale(f.x).updateScaleExtent(), f.subX.domain(f.x.domain()), f.brush && f.brush.scale(f.subX)), b && (f.x.domain(e ? e : !f.brush || f.brush.empty() ? f.orgXDomain : f.brush.extent()), g.zoom_enabled && f.zoom.scale(f.x).updateScaleExtent()), d && f.x.domain(f.trimXDomain(f.x.orgDomain())), f.x.domain()
- }, f.trimXDomain = function (a) {
- var b = this;
- return a[0] <= b.orgXDomain[0] && (a[1] = +a[1] + (b.orgXDomain[0] - a[0]), a[0] = b.orgXDomain[0]), b.orgXDomain[1] <= a[1] && (a[0] = +a[0] - (a[1] - b.orgXDomain[1]), a[1] = b.orgXDomain[1]), a
- }, f.isX = function (a) {
- var b = this, c = b.config;
- return c.data_x && a === c.data_x || s(c.data_xs) && u(c.data_xs, a)
- }, f.isNotX = function (a) {
- return !this.isX(a)
- }, f.getXKey = function (a) {
- var b = this, c = b.config;
- return c.data_x ? c.data_x : s(c.data_xs) ? c.data_xs[a] : null
- }, f.getXValuesOfXKey = function (a, b) {
- var c, d = this, e = b && s(b) ? d.mapToIds(b) : [];
- return e.forEach(function (b) {
- d.getXKey(b) === a && (c = d.data.xs[b])
- }), c
- }, f.getIndexByX = function (a) {
- var b = this, c = b.filterByX(b.data.targets, a);
- return c.length ? c[0].index : null
- }, f.getXValue = function (a, b) {
- var c = this;
- return a in c.data.xs && c.data.xs[a] && j(c.data.xs[a][b]) ? c.data.xs[a][b] : b
- }, f.getOtherTargetXs = function () {
- var a = this, b = Object.keys(a.data.xs);
- return b.length ? a.data.xs[b[0]] : null
- }, f.getOtherTargetX = function (a) {
- var b = this.getOtherTargetXs();
- return b && a < b.length ? b[a] : null
- }, f.addXs = function (a) {
- var b = this;
- Object.keys(a).forEach(function (c) {
- b.config.data_xs[c] = a[c]
- })
- }, f.hasMultipleX = function (a) {
- return this.d3.set(Object.keys(a).map(function (b) {
- return a[b]
- })).size() > 1
- }, f.isMultipleX = function () {
- return s(this.config.data_xs) || !this.config.data_xSort || this.hasType("scatter")
- }, f.addName = function (a) {
- var b, c = this;
- return a && (b = c.config.data_names[a.id], a.name = b ? b : a.id), a
- }, f.getValueOnIndex = function (a, b) {
- var c = a.filter(function (a) {
- return a.index === b
- });
- return c.length ? c[0] : null
- }, f.updateTargetX = function (a, b) {
- var c = this;
- a.forEach(function (a) {
- a.values.forEach(function (d, e) {
- d.x = c.generateTargetX(b[e], a.id, e)
- }), c.data.xs[a.id] = b
- })
- }, f.updateTargetXs = function (a, b) {
- var c = this;
- a.forEach(function (a) {
- b[a.id] && c.updateTargetX([a], b[a.id])
- })
- }, f.generateTargetX = function (a, b, c) {
- var d, e = this;
- return d = e.isTimeSeries() ? e.parseDate(a ? a : e.getXValue(b, c)) : e.isCustomX() && !e.isCategorized() ? j(a) ? +a : e.getXValue(b, c) : c
- }, f.cloneTarget = function (a) {
- return {
- id: a.id, id_org: a.id_org, values: a.values.map(function (a) {
- return {x: a.x, value: a.value, id: a.id}
- })
- }
- }, f.updateXs = function () {
- var a = this;
- a.data.targets.length && (a.xs = [], a.data.targets[0].values.forEach(function (b) {
- a.xs[b.index] = b.x
- }))
- }, f.getPrevX = function (a) {
- var b = this.xs[a - 1];
- return "undefined" != typeof b ? b : null
- }, f.getNextX = function (a) {
- var b = this.xs[a + 1];
- return "undefined" != typeof b ? b : null
- }, f.getMaxDataCount = function () {
- var a = this;
- return a.d3.max(a.data.targets, function (a) {
- return a.values.length
- })
- }, f.getMaxDataCountTarget = function (a) {
- var b, c = a.length, d = 0;
- return c > 1 ? a.forEach(function (a) {
- a.values.length > d && (b = a, d = a.values.length)
- }) : b = c ? a[0] : null, b
- }, f.getEdgeX = function (a) {
- var b = this;
- return a.length ? [b.d3.min(a, function (a) {
- return a.values[0].x
- }), b.d3.max(a, function (a) {
- return a.values[a.values.length - 1].x
- })] : [0, 0]
- }, f.mapToIds = function (a) {
- return a.map(function (a) {
- return a.id
- })
- }, f.mapToTargetIds = function (a) {
- var b = this;
- return a ? l(a) ? [a] : a : b.mapToIds(b.data.targets)
- }, f.hasTarget = function (a, b) {
- var c, d = this.mapToIds(a);
- for (c = 0; c < d.length; c++)if (d[c] === b)return !0;
- return !1
- }, f.isTargetToShow = function (a) {
- return this.hiddenTargetIds.indexOf(a) < 0
- }, f.isLegendToShow = function (a) {
- return this.hiddenLegendIds.indexOf(a) < 0
- }, f.filterTargetsToShow = function (a) {
- var b = this;
- return a.filter(function (a) {
- return b.isTargetToShow(a.id)
- })
- }, f.mapTargetsToUniqueXs = function (a) {
- var b = this, c = b.d3.set(b.d3.merge(a.map(function (a) {
- return a.values.map(function (a) {
- return +a.x
- })
- }))).values();
- return c.map(b.isTimeSeries() ? function (a) {
- return new Date(+a)
- } : function (a) {
- return +a
- })
- }, f.addHiddenTargetIds = function (a) {
- this.hiddenTargetIds = this.hiddenTargetIds.concat(a)
- }, f.removeHiddenTargetIds = function (a) {
- this.hiddenTargetIds = this.hiddenTargetIds.filter(function (b) {
- return a.indexOf(b) < 0
- })
- }, f.addHiddenLegendIds = function (a) {
- this.hiddenLegendIds = this.hiddenLegendIds.concat(a)
- }, f.removeHiddenLegendIds = function (a) {
- this.hiddenLegendIds = this.hiddenLegendIds.filter(function (b) {
- return a.indexOf(b) < 0
- })
- }, f.getValuesAsIdKeyed = function (a) {
- var b = {};
- return a.forEach(function (a) {
- b[a.id] = [], a.values.forEach(function (c) {
- b[a.id].push(c.value)
- })
- }), b
- }, f.checkValueInTargets = function (a, b) {
- var c, d, e, f = Object.keys(a);
- for (c = 0; c < f.length; c++)for (e = a[f[c]].values, d = 0; d < e.length; d++)if (b(e[d].value))return !0;
- return !1
- }, f.hasNegativeValueInTargets = function (a) {
- return this.checkValueInTargets(a, function (a) {
- return 0 > a
- })
- }, f.hasPositiveValueInTargets = function (a) {
- return this.checkValueInTargets(a, function (a) {
- return a > 0
- })
- }, f.isOrderDesc = function () {
- var a = this.config;
- return "string" == typeof a.data_order && "desc" === a.data_order.toLowerCase()
- }, f.isOrderAsc = function () {
- var a = this.config;
- return "string" == typeof a.data_order && "asc" === a.data_order.toLowerCase()
- }, f.orderTargets = function (a) {
- var b = this, c = b.config, d = b.isOrderAsc(), e = b.isOrderDesc();
- return d || e ? a.sort(function (a, b) {
- var c = function (a, b) {
- return a + Math.abs(b.value)
- }, e = a.values.reduce(c, 0), f = b.values.reduce(c, 0);
- return d ? f - e : e - f
- }) : k(c.data_order) && a.sort(c.data_order), a
- }, f.filterByX = function (a, b) {
- return this.d3.merge(a.map(function (a) {
- return a.values
- })).filter(function (a) {
- return a.x - b === 0
- })
- }, f.filterRemoveNull = function (a) {
- return a.filter(function (a) {
- return j(a.value)
- })
- }, f.filterByXDomain = function (a, b) {
- return a.map(function (a) {
- return {
- id: a.id, id_org: a.id_org, values: a.values.filter(function (a) {
- return b[0] <= a.x && a.x <= b[1]
- })
- }
- })
- }, f.hasDataLabel = function () {
- var a = this.config;
- return "boolean" == typeof a.data_labels && a.data_labels ? !0 : "object" == typeof a.data_labels && s(a.data_labels) ? !0 : !1
- }, f.getDataLabelLength = function (a, b, c, d) {
- var e = this, f = [0, 0], g = 1.3;
- return e.selectChart.select("svg").selectAll(".dummy").data([a, b]).enter().append("text").text(function (a) {
- return e.formatByAxisId(c)(a)
- }).each(function (a, b) {
- f[b] = this.getBoundingClientRect()[d] * g
- }).remove(), f
- }, f.isNoneArc = function (a) {
- return this.hasTarget(this.data.targets, a.id)
- },f.isArc = function (a) {
- return "data"in a && this.hasTarget(this.data.targets, a.data.id)
- },f.findSameXOfValues = function (a, b) {
- var c, d = a[b].x, e = [];
- for (c = b - 1; c >= 0 && d === a[c].x; c--)e.push(a[c]);
- for (c = b; c < a.length && d === a[c].x; c++)e.push(a[c]);
- return e
- },f.findClosestFromTargets = function (a, b) {
- var c, d = this;
- return c = a.map(function (a) {
- return d.findClosest(a.values, b)
- }), d.findClosest(c, b)
- },f.findClosest = function (a, b) {
- var c, d = this, e = 100;
- return a.filter(function (a) {
- return a && d.isBarType(a.id)
- }).forEach(function (a) {
- var b = d.main.select("." + i.bars + d.getTargetSelectorSuffix(a.id) + " ." + i.bar + "-" + a.index).node();
- !c && d.isWithinBar(b) && (c = a)
- }), a.filter(function (a) {
- return a && !d.isBarType(a.id)
- }).forEach(function (a) {
- var f = d.dist(a, b);
- e > f && (e = f, c = a)
- }), c
- },f.dist = function (a, b) {
- var c = this, d = c.config, e = d.axis_rotated ? 1 : 0, f = d.axis_rotated ? 0 : 1, g = c.circleY(a, a.index), h = c.x(a.x);
- return Math.pow(h - b[e], 2) + Math.pow(g - b[f], 2)
- },f.convertValuesToStep = function (a) {
- var b, c = [].concat(a);
- if (!this.isCategorized())return a;
- for (b = a.length + 1; b > 0; b--)c[b] = c[b - 1];
- return c[0] = {x: c[0].x - 1, value: c[0].value, id: c[0].id}, c[a.length + 1] = {
- x: c[a.length].x + 1,
- value: c[a.length].value,
- id: c[a.length].id
- }, c
- },f.updateDataAttributes = function (a, b) {
- var c = this, d = c.config, e = d["data_" + a];
- return "undefined" == typeof b ? e : (Object.keys(b).forEach(function (a) {
- e[a] = b[a]
- }), c.redraw({withLegend: !0}), e)
- },f.convertUrlToData = function (a, b, c, d) {
- var e = this, f = b ? b : "csv";
- e.d3.xhr(a, function (a, b) {
- var g;
- g = "json" === f ? e.convertJsonToData(JSON.parse(b.response), c) : "tsv" === f ? e.convertTsvToData(b.response) : e.convertCsvToData(b.response), d.call(e, g)
- })
- },f.convertXsvToData = function (a, b) {
- var c, d = b.parseRows(a);
- return 1 === d.length ? (c = [{}], d[0].forEach(function (a) {
- c[0][a] = null
- })) : c = b.parse(a), c
- },f.convertCsvToData = function (a) {
- return this.convertXsvToData(a, this.d3.csv)
- },f.convertTsvToData = function (a) {
- return this.convertXsvToData(a, this.d3.tsv)
- },f.convertJsonToData = function (a, b) {
- var c, d, e = this, f = [];
- return b ? (c = b.value, b.x && (c.push(b.x), e.config.data_x = b.x), f.push(c), a.forEach(function (a) {
- var b = [];
- c.forEach(function (c) {
- var d = m(a[c]) ? null : a[c];
- b.push(d)
- }), f.push(b)
- }), d = e.convertRowsToData(f)) : (Object.keys(a).forEach(function (b) {
- f.push([b].concat(a[b]))
- }), d = e.convertColumnsToData(f)), d
- },f.convertRowsToData = function (a) {
- var b, c, d = a[0], e = {}, f = [];
- for (b = 1; b < a.length; b++) {
- for (e = {}, c = 0; c < a[b].length; c++) {
- if (m(a[b][c]))throw new Error("Source data is missing a component at (" + b + "," + c + ")!");
- e[d[c]] = a[b][c]
- }
- f.push(e)
- }
- return f
- },f.convertColumnsToData = function (a) {
- var b, c, d, e = [];
- for (b = 0; b < a.length; b++)for (d = a[b][0], c = 1; c < a[b].length; c++) {
- if (m(e[c - 1]) && (e[c - 1] = {}), m(a[b][c]))throw new Error("Source data is missing a component at (" + b + "," + c + ")!");
- e[c - 1][d] = a[b][c]
- }
- return e
- },f.convertDataToTargets = function (a, b) {
- var c, d = this, e = d.config, f = d.d3.keys(a[0]).filter(d.isNotX, d), g = d.d3.keys(a[0]).filter(d.isX, d);
- return f.forEach(function (c) {
- var f = d.getXKey(c);
- d.isCustomX() || d.isTimeSeries() ? g.indexOf(f) >= 0 ? d.data.xs[c] = (b && d.data.xs[c] ? d.data.xs[c] : []).concat(a.map(function (a) {
- return a[f]
- }).filter(j).map(function (a, b) {
- return d.generateTargetX(a, c, b)
- })) : e.data_x ? d.data.xs[c] = d.getOtherTargetXs() : s(e.data_xs) && (d.data.xs[c] = d.getXValuesOfXKey(f, d.data.targets)) : d.data.xs[c] = a.map(function (a, b) {
- return b
- })
- }), f.forEach(function (a) {
- if (!d.data.xs[a])throw new Error('x is not defined for id = "' + a + '".')
- }), c = f.map(function (b, c) {
- var f = e.data_idConverter(b);
- return {
- id: f, id_org: b, values: a.map(function (a, g) {
- var h = d.getXKey(b), i = a[h], j = d.generateTargetX(i, b, g);
- return d.isCustomX() && d.isCategorized() && 0 === c && i && (0 === g && (e.axis_x_categories = []), e.axis_x_categories.push(i)), (m(a[b]) || d.data.xs[b].length <= g) && (j = void 0), {
- x: j,
- value: null === a[b] || isNaN(a[b]) ? null : +a[b],
- id: f
- }
- }).filter(function (a) {
- return n(a.x)
- })
- }
- }), c.forEach(function (a) {
- var b;
- e.data_xSort && (a.values = a.values.sort(function (a, b) {
- var c = a.x || 0 === a.x ? a.x : 1 / 0, d = b.x || 0 === b.x ? b.x : 1 / 0;
- return c - d
- })), b = 0, a.values.forEach(function (a) {
- a.index = b++
- }), d.data.xs[a.id].sort(function (a, b) {
- return a - b
- })
- }), e.data_type && d.setTargetType(d.mapToIds(c).filter(function (a) {
- return !(a in e.data_types)
- }), e.data_type), c.forEach(function (a) {
- d.addCache(a.id_org, a)
- }), c
- },f.load = function (a, b) {
- var c = this;
- a && (b.filter && (a = a.filter(b.filter)), (b.type || b.types) && a.forEach(function (a) {
- c.setTargetType(a.id, b.types ? b.types[a.id] : b.type)
- }), c.data.targets.forEach(function (b) {
- for (var c = 0; c < a.length; c++)if (b.id === a[c].id) {
- b.values = a[c].values, a.splice(c, 1);
- break
- }
- }), c.data.targets = c.data.targets.concat(a)), c.updateTargets(c.data.targets), c.redraw({
- withUpdateOrgXDomain: !0,
- withUpdateXDomain: !0,
- withLegend: !0
- }), b.done && b.done()
- },f.loadFromArgs = function (a) {
- var b = this;
- a.data ? b.load(b.convertDataToTargets(a.data), a) : a.url ? b.convertUrlToData(a.url, a.mimeType, a.keys, function (c) {
- b.load(b.convertDataToTargets(c), a)
- }) : a.json ? b.load(b.convertDataToTargets(b.convertJsonToData(a.json, a.keys)), a) : a.rows ? b.load(b.convertDataToTargets(b.convertRowsToData(a.rows)), a) : a.columns ? b.load(b.convertDataToTargets(b.convertColumnsToData(a.columns)), a) : b.load(null, a)
- },f.unload = function (a, b) {
- var c = this;
- return b || (b = function () {
- }), a = a.filter(function (a) {
- return c.hasTarget(c.data.targets, a)
- }), a && 0 !== a.length ? (c.svg.selectAll(a.map(function (a) {
- return c.selectorTarget(a)
- })).transition().style("opacity", 0).remove().call(c.endall, b), void a.forEach(function (a) {
- c.withoutFadeIn[a] = !1, c.legend && c.legend.selectAll("." + i.legendItem + c.getTargetSelectorSuffix(a)).remove(), c.data.targets = c.data.targets.filter(function (b) {
- return b.id !== a
- })
- })) : void b()
- },f.categoryName = function (a) {
- var b = this.config;
- return a < b.axis_x_categories.length ? b.axis_x_categories[a] : a
- },f.initEventRect = function () {
- var a = this;
- a.main.select("." + i.chart).append("g").attr("class", i.eventRects).style("fill-opacity", 0)
- },f.redrawEventRect = function () {
- var a, b, c = this, d = c.config, e = c.isMultipleX(), f = c.main.select("." + i.eventRects).style("cursor", d.zoom_enabled ? d.axis_rotated ? "ns-resize" : "ew-resize" : null).classed(i.eventRectsMultiple, e).classed(i.eventRectsSingle, !e);
- f.selectAll("." + i.eventRect).remove(), c.eventRect = f.selectAll("." + i.eventRect), e ? (a = c.eventRect.data([0]), c.generateEventRectsForMultipleXs(a.enter()), c.updateEventRect(a)) : (b = c.getMaxDataCountTarget(c.data.targets), f.datum(b ? b.values : []), c.eventRect = f.selectAll("." + i.eventRect), a = c.eventRect.data(function (a) {
- return a
- }), c.generateEventRectsForSingleX(a.enter()), c.updateEventRect(a), a.exit().remove())
- },f.updateEventRect = function (a) {
- var b, c, d, e, f, g, h = this, i = h.config;
- a = a || h.eventRect.data(function (a) {
- return a
- }), h.isMultipleX() ? (b = 0, c = 0, d = h.width, e = h.height) : (!h.isCustomX() && !h.isTimeSeries() || h.isCategorized() ? (f = h.getEventRectWidth(), g = function (a) {
- return h.x(a.x) - f / 2
- }) : (h.updateXs(), f = function (a) {
- var b = h.getPrevX(a.index), c = h.getNextX(a.index);
- return null === b && null === c ? i.axis_rotated ? h.height : h.width : (null === b && (b = h.x.domain()[0]), null === c && (c = h.x.domain()[1]), Math.max(0, (h.x(c) - h.x(b)) / 2))
- }, g = function (a) {
- var b = h.getPrevX(a.index), c = h.getNextX(a.index), d = h.data.xs[a.id][a.index];
- return null === b && null === c ? 0 : (null === b && (b = h.x.domain()[0]), (h.x(d) + h.x(b)) / 2)
- }), b = i.axis_rotated ? 0 : g, c = i.axis_rotated ? g : 0, d = i.axis_rotated ? h.width : f, e = i.axis_rotated ? f : h.height), a.attr("class", h.classEvent.bind(h)).attr("x", b).attr("y", c).attr("width", d).attr("height", e)
- },f.generateEventRectsForSingleX = function (a) {
- var b = this, c = b.d3, d = b.config;
- a.append("rect").attr("class", b.classEvent.bind(b)).style("cursor", d.data_selection_enabled && d.data_selection_grouped ? "pointer" : null).on("mouseover", function (a) {
- var c, e, f = a.index;
- b.dragging || b.flowing || b.hasArcType() || (c = b.data.targets.map(function (a) {
- return b.addName(b.getValueOnIndex(a.values, f))
- }), e = [], Object.keys(d.data_names).forEach(function (a) {
- for (var b = 0; b < c.length; b++)if (c[b] && c[b].id === a) {
- e.push(c[b]), c.shift(b);
- break
- }
- }), c = e.concat(c), d.point_focus_expand_enabled && b.expandCircles(f, null, !0), b.expandBars(f, null, !0), b.main.selectAll("." + i.shape + "-" + f).each(function (a) {
- d.data_onmouseover.call(b.api, a)
- }))
- }).on("mouseout", function (a) {
- var c = a.index;
- b.hasArcType() || (b.hideXGridFocus(), b.hideTooltip(), b.unexpandCircles(), b.unexpandBars(), b.main.selectAll("." + i.shape + "-" + c).each(function (a) {
- d.data_onmouseout.call(b.api, a)
- }))
- }).on("mousemove", function (a) {
- var e, f = a.index, g = b.svg.select("." + i.eventRect + "-" + f);
- b.dragging || b.flowing || b.hasArcType() || (b.isStepType(a) && "step-after" === b.config.line_step_type && c.mouse(this)[0] < b.x(b.getXValue(a.id, f)) && (f -= 1), e = b.filterTargetsToShow(b.data.targets).map(function (a) {
- return b.addName(b.getValueOnIndex(a.values, f))
- }), d.tooltip_grouped && (b.showTooltip(e, c.mouse(this)), b.showXGridFocus(e)), (!d.tooltip_grouped || d.data_selection_enabled && !d.data_selection_grouped) && b.main.selectAll("." + i.shape + "-" + f).each(function () {
- c.select(this).classed(i.EXPANDED, !0), d.data_selection_enabled && g.style("cursor", d.data_selection_grouped ? "pointer" : null), d.tooltip_grouped || (b.hideXGridFocus(), b.hideTooltip(), d.data_selection_grouped || (b.unexpandCircles(f), b.unexpandBars(f)))
- }).filter(function (a) {
- return b.isWithinShape(this, a)
- }).each(function (a) {
- d.data_selection_enabled && (d.data_selection_grouped || d.data_selection_isselectable(a)) && g.style("cursor", "pointer"), d.tooltip_grouped || (b.showTooltip([a], c.mouse(this)), b.showXGridFocus([a]), d.point_focus_expand_enabled && b.expandCircles(f, a.id, !0), b.expandBars(f, a.id, !0))
- }))
- }).on("click", function (a) {
- var e = a.index;
- if (!b.hasArcType() && b.toggleShape) {
- if (b.cancelClick)return void(b.cancelClick = !1);
- b.isStepType(a) && "step-after" === d.line_step_type && c.mouse(this)[0] < b.x(b.getXValue(a.id, e)) && (e -= 1), b.main.selectAll("." + i.shape + "-" + e).each(function (a) {
- (d.data_selection_grouped || b.isWithinShape(this, a)) && (b.toggleShape(this, a, e), b.config.data_onclick.call(b.api, a, this))
- })
- }
- }).call(c.behavior.drag().origin(Object).on("drag", function () {
- b.drag(c.mouse(this))
- }).on("dragstart", function () {
- b.dragstart(c.mouse(this))
- }).on("dragend", function () {
- b.dragend()
- }))
- },f.generateEventRectsForMultipleXs = function (a) {
- function b() {
- c.svg.select("." + i.eventRect).style("cursor", null), c.hideXGridFocus(), c.hideTooltip(), c.unexpandCircles(), c.unexpandBars()
- }
-
- var c = this, d = c.d3, e = c.config;
- a.append("rect").attr("x", 0).attr("y", 0).attr("width", c.width).attr("height", c.height).attr("class", i.eventRect).on("mouseout", function () {
- c.hasArcType() || b()
- }).on("mousemove", function () {
- var a, f, g, h, j = c.filterTargetsToShow(c.data.targets);
- if (!c.dragging && !c.hasArcType(j)) {
- if (a = d.mouse(this), f = c.findClosestFromTargets(j, a), !c.mouseover || f && f.id === c.mouseover.id || (e.data_onmouseout.call(c.api, c.mouseover), c.mouseover = void 0), !f)return void b();
- g = c.isScatterType(f) || !e.tooltip_grouped ? [f] : c.filterByX(j, f.x), h = g.map(function (a) {
- return c.addName(a)
- }), c.showTooltip(h, a), e.point_focus_expand_enabled && c.expandCircles(f.index, f.id, !0), c.expandBars(f.index, f.id, !0), c.showXGridFocus(h), (c.isBarType(f.id) || c.dist(f, a) < 100) && (c.svg.select("." + i.eventRect).style("cursor", "pointer"), c.mouseover || (e.data_onmouseover.call(c.api, f), c.mouseover = f))
- }
- }).on("click", function () {
- var a, b, f = c.filterTargetsToShow(c.data.targets);
- c.hasArcType(f) || (a = d.mouse(this), b = c.findClosestFromTargets(f, a), b && (c.isBarType(b.id) || c.dist(b, a) < 100) && c.main.selectAll("." + i.shapes + c.getTargetSelectorSuffix(b.id)).select("." + i.shape + "-" + b.index).each(function () {
- (e.data_selection_grouped || c.isWithinShape(this, b)) && (c.toggleShape(this, b, b.index), c.config.data_onclick.call(c.api, b, this))
- }))
- }).call(d.behavior.drag().origin(Object).on("drag", function () {
- c.drag(d.mouse(this))
- }).on("dragstart", function () {
- c.dragstart(d.mouse(this))
- }).on("dragend", function () {
- c.dragend()
- }))
- },f.dispatchEvent = function (b, c, d) {
- var e = this, f = "." + i.eventRect + (e.isMultipleX() ? "" : "-" + c), g = e.main.select(f).node(), h = g.getBoundingClientRect(), j = h.left + (d ? d[0] : 0), k = h.top + (d ? d[1] : 0), l = document.createEvent("MouseEvents");
- l.initMouseEvent(b, !0, !0, a, 0, j, k, j, k, !1, !1, !1, !1, 0, null), g.dispatchEvent(l)
- },f.getCurrentWidth = function () {
- var a = this, b = a.config;
- return b.size_width ? b.size_width : a.getParentWidth()
- },f.getCurrentHeight = function () {
- var a = this, b = a.config, c = b.size_height ? b.size_height : a.getParentHeight();
- return c > 0 ? c : 320 / (a.hasType("gauge") ? 2 : 1)
- },f.getCurrentPaddingTop = function () {
- var a = this.config;
- return j(a.padding_top) ? a.padding_top : 0
- },f.getCurrentPaddingBottom = function () {
- var a = this.config;
- return j(a.padding_bottom) ? a.padding_bottom : 0
- },f.getCurrentPaddingLeft = function (a) {
- var b = this, c = b.config;
- return j(c.padding_left) ? c.padding_left : c.axis_rotated ? c.axis_x_show ? Math.max(o(b.getAxisWidthByAxisId("x", a)), 40) : 1 : !c.axis_y_show || c.axis_y_inner ? b.getYAxisLabelPosition().isOuter ? 30 : 1 : o(b.getAxisWidthByAxisId("y", a))
- },f.getCurrentPaddingRight = function () {
- var a = this, b = a.config, c = 10, d = a.isLegendRight ? a.getLegendWidth() + 20 : 0;
- return j(b.padding_right) ? b.padding_right + 1 : b.axis_rotated ? c + d : !b.axis_y2_show || b.axis_y2_inner ? 2 + d + (a.getY2AxisLabelPosition().isOuter ? 20 : 0) : o(a.getAxisWidthByAxisId("y2")) + d
- },f.getParentRectValue = function (a) {
- for (var b, c = this.selectChart.node(); c && "BODY" !== c.tagName && !(b = c.getBoundingClientRect()[a]);)c = c.parentNode;
- return b
- },f.getParentWidth = function () {
- return this.getParentRectValue("width")
- },f.getParentHeight = function () {
- var a = this.selectChart.style("height");
- return a.indexOf("px") > 0 ? +a.replace("px", "") : 0
- },f.getSvgLeft = function (a) {
- var b = this, c = b.config, d = c.axis_rotated || !c.axis_rotated && !c.axis_y_inner, e = c.axis_rotated ? i.axisX : i.axisY, f = b.main.select("." + e).node(), g = f && d ? f.getBoundingClientRect() : {right: 0}, h = b.selectChart.node().getBoundingClientRect(), j = b.hasArcType(), k = g.right - h.left - (j ? 0 : b.getCurrentPaddingLeft(a));
- return k > 0 ? k : 0
- },f.getAxisWidthByAxisId = function (a, b) {
- var c = this, d = c.getAxisLabelPositionById(a);
- return c.getMaxTickWidth(a, b) + (d.isInner ? 20 : 40)
- },f.getHorizontalAxisHeight = function (a) {
- var b = this, c = b.config, d = 30;
- return "x" !== a || c.axis_x_show ? "x" === a && c.axis_x_height ? c.axis_x_height : "y" !== a || c.axis_y_show ? "y2" !== a || c.axis_y2_show ? ("x" === a && !c.axis_rotated && c.axis_x_tick_rotate && (d = b.getMaxTickWidth(a) * Math.cos(Math.PI * (90 - c.axis_x_tick_rotate) / 180)), d + (b.getAxisLabelPositionById(a).isInner ? 0 : 10) + ("y2" === a ? -10 : 0)) : b.rotated_padding_top : !c.legend_show || b.isLegendRight || b.isLegendInset ? 1 : 10 : 8
- },f.getEventRectWidth = function () {
- var a, b, c, d, e, f, g = this, h = g.getMaxDataCountTarget(g.data.targets);
- return h ? (a = h.values[0], b = h.values[h.values.length - 1], c = g.x(b.x) - g.x(a.x), 0 === c ? g.config.axis_rotated ? g.height : g.width : (d = g.getMaxDataCount(), e = g.hasType("bar") ? (d - (g.isCategorized() ? .25 : 1)) / d : 1, f = d > 1 ? c * e / (d - 1) : c, 1 > f ? 1 : f)) : 0
- },f.getShapeIndices = function (a) {
- var b, c, d = this, e = d.config, f = {}, g = 0;
- return d.filterTargetsToShow(d.data.targets.filter(a, d)).forEach(function (a) {
- for (b = 0; b < e.data_groups.length; b++)if (!(e.data_groups[b].indexOf(a.id) < 0))for (c = 0; c < e.data_groups[b].length; c++)if (e.data_groups[b][c]in f) {
- f[a.id] = f[e.data_groups[b][c]];
- break
- }
- m(f[a.id]) && (f[a.id] = g++)
- }), f.__max__ = g - 1, f
- },f.getShapeX = function (a, b, c, d) {
- var e = this, f = d ? e.subX : e.x;
- return function (d) {
- var e = d.id in c ? c[d.id] : 0;
- return d.x || 0 === d.x ? f(d.x) - a * (b / 2 - e) : 0
- }
- },f.getShapeY = function (a) {
- var b = this;
- return function (c) {
- var d = a ? b.getSubYScale(c.id) : b.getYScale(c.id);
- return d(c.value)
- }
- },f.getShapeOffset = function (a, b, c) {
- var d = this, e = d.orderTargets(d.filterTargetsToShow(d.data.targets.filter(a, d))), f = e.map(function (a) {
- return a.id
- });
- return function (a, g) {
- var h = c ? d.getSubYScale(a.id) : d.getYScale(a.id), i = h(0), j = i;
- return e.forEach(function (c) {
- var e = d.isStepType(a) ? d.convertValuesToStep(c.values) : c.values;
- c.id !== a.id && b[c.id] === b[a.id] && f.indexOf(c.id) < f.indexOf(a.id) && e[g].value * a.value >= 0 && (j += h(e[g].value) - i)
- }), j
- }
- },f.isWithinShape = function (a, b) {
- var c, d = this, e = d.d3.select(a);
- return d.isTargetToShow(b.id) ? "circle" === a.nodeName ? c = d.isStepType(b) ? d.isWithinStep(a, d.getYScale(b.id)(b.value)) : d.isWithinCircle(a, 1.5 * d.pointSelectR(b)) : "path" === a.nodeName && (c = e.classed(i.bar) ? d.isWithinBar(a) : !0) : c = !1, c
- },f.getInterpolate = function (a) {
- var b = this;
- return b.isSplineType(a) ? "cardinal" : b.isStepType(a) ? b.config.line_step_type : "linear"
- },f.initLine = function () {
- var a = this;
- a.main.select("." + i.chart).append("g").attr("class", i.chartLines)
- },f.updateTargetsForLine = function (a) {
- var b, c, d = this, e = d.config, f = d.classChartLine.bind(d), g = d.classLines.bind(d), h = d.classAreas.bind(d), j = d.classCircles.bind(d), k = d.classFocus.bind(d);
- b = d.main.select("." + i.chartLines).selectAll("." + i.chartLine).data(a).attr("class", function (a) {
- return f(a) + k(a)
- }), c = b.enter().append("g").attr("class", f).style("opacity", 0).style("pointer-events", "none"), c.append("g").attr("class", g), c.append("g").attr("class", h), c.append("g").attr("class", function (a) {
- return d.generateClass(i.selectedCircles, a.id)
- }), c.append("g").attr("class", j).style("cursor", function (a) {
- return e.data_selection_isselectable(a) ? "pointer" : null
- }), a.forEach(function (a) {
- d.main.selectAll("." + i.selectedCircles + d.getTargetSelectorSuffix(a.id)).selectAll("." + i.selectedCircle).each(function (b) {
- b.value = a.values[b.index].value
- })
- })
- },f.redrawLine = function (a) {
- var b = this;
- b.mainLine = b.main.selectAll("." + i.lines).selectAll("." + i.line).data(b.lineData.bind(b)), b.mainLine.enter().append("path").attr("class", b.classLine.bind(b)).style("stroke", b.color), b.mainLine.style("opacity", b.initialOpacity.bind(b)).style("shape-rendering", function (a) {
- return b.isStepType(a) ? "crispEdges" : ""
- }).attr("transform", null), b.mainLine.exit().transition().duration(a).style("opacity", 0).remove()
- },f.addTransitionForLine = function (a, b) {
- var c = this;
- a.push(c.mainLine.transition().attr("d", b).style("stroke", c.color).style("opacity", 1))
- },f.generateDrawLine = function (a, b) {
- var c = this, d = c.config, e = c.d3.svg.line(), f = c.generateGetLinePoints(a, b), g = b ? c.getSubYScale : c.getYScale, h = function (a) {
- return (b ? c.subxx : c.xx).call(c, a)
- }, i = function (a, b) {
- return d.data_groups.length > 0 ? f(a, b)[0][1] : g.call(c, a.id)(a.value)
- };
- return e = d.axis_rotated ? e.x(i).y(h) : e.x(h).y(i), d.line_connectNull || (e = e.defined(function (a) {
- return null != a.value
- })), function (a) {
- var f, h = d.line_connectNull ? c.filterRemoveNull(a.values) : a.values, i = b ? c.x : c.subX, j = g.call(c, a.id), k = 0, l = 0;
- return c.isLineType(a) ? d.data_regions[a.id] ? f = c.lineWithRegions(h, i, j, d.data_regions[a.id]) : (c.isStepType(a) && (h = c.convertValuesToStep(h)), f = e.interpolate(c.getInterpolate(a))(h)) : (h[0] && (k = i(h[0].x), l = j(h[0].value)), f = d.axis_rotated ? "M " + l + " " + k : "M " + k + " " + l), f ? f : "M 0 0"
- }
- },f.generateGetLinePoints = function (a, b) {
- var c = this, d = c.config, e = a.__max__ + 1, f = c.getShapeX(0, e, a, !!b), g = c.getShapeY(!!b), h = c.getShapeOffset(c.isLineType, a, !!b), i = b ? c.getSubYScale : c.getYScale;
- return function (a, b) {
- var e = i.call(c, a.id)(0), j = h(a, b) || e, k = f(a), l = g(a);
- return d.axis_rotated && (0 < a.value && e > l || a.value < 0 && l > e) && (l = e), [[k, l - (e - j)], [k, l - (e - j)], [k, l - (e - j)], [k, l - (e - j)]]
- }
- },f.lineWithRegions = function (a, b, c, d) {
- function e(a, b) {
- var c;
- for (c = 0; c < b.length; c++)if (b[c].start < a && a <= b[c].end)return !0;
- return !1
- }
-
- var f, g, h, i, j, k, l, o, p, q, r, s, t = this, u = t.config, v = -1, w = "M", x = [];
- if (n(d))for (f = 0; f < d.length; f++)x[f] = {}, x[f].start = m(d[f].start) ? a[0].x : t.isTimeSeries() ? t.parseDate(d[f].start) : d[f].start, x[f].end = m(d[f].end) ? a[a.length - 1].x : t.isTimeSeries() ? t.parseDate(d[f].end) : d[f].end;
- for (r = u.axis_rotated ? function (a) {
- return c(a.value)
- } : function (a) {
- return b(a.x)
- }, s = u.axis_rotated ? function (a) {
- return b(a.x)
- } : function (a) {
- return c(a.value)
- }, h = t.isTimeSeries() ? function (a, d, e, f) {
- var g = a.x.getTime(), h = d.x - a.x, i = new Date(g + h * e), k = new Date(g + h * (e + f));
- return "M" + b(i) + " " + c(j(e)) + " " + b(k) + " " + c(j(e + f))
- } : function (a, d, e, f) {
- return "M" + b(i(e), !0) + " " + c(j(e)) + " " + b(i(e + f), !0) + " " + c(j(e + f))
- }, f = 0; f < a.length; f++) {
- if (m(x) || !e(a[f].x, x))w += " " + r(a[f]) + " " + s(a[f]); else for (i = t.getScale(a[f - 1].x, a[f].x, t.isTimeSeries()), j = t.getScale(a[f - 1].value, a[f].value), k = b(a[f].x) - b(a[f - 1].x), l = c(a[f].value) - c(a[f - 1].value), o = Math.sqrt(Math.pow(k, 2) + Math.pow(l, 2)), p = 2 / o, q = 2 * p, g = p; 1 >= g; g += q)w += h(a[f - 1], a[f], g, p);
- v = a[f].x
- }
- return w
- },f.redrawArea = function (a) {
- var b = this, c = b.d3;
- b.mainArea = b.main.selectAll("." + i.areas).selectAll("." + i.area).data(b.lineData.bind(b)), b.mainArea.enter().append("path").attr("class", b.classArea.bind(b)).style("fill", b.color).style("opacity", function () {
- return b.orgAreaOpacity = +c.select(this).style("opacity"), 0
- }), b.mainArea.style("opacity", b.orgAreaOpacity), b.mainArea.exit().transition().duration(a).style("opacity", 0).remove()
- },f.addTransitionForArea = function (a, b) {
- var c = this;
- a.push(c.mainArea.transition().attr("d", b).style("fill", c.color).style("opacity", c.orgAreaOpacity))
- },f.generateDrawArea = function (a, b) {
- var c = this, d = c.config, e = c.d3.svg.area(), f = c.generateGetAreaPoints(a, b), g = b ? c.getSubYScale : c.getYScale, h = function (a) {
- return (b ? c.subxx : c.xx).call(c, a)
- }, i = function (a, b) {
- return d.data_groups.length > 0 ? f(a, b)[0][1] : g.call(c, a.id)(0)
- }, j = function (a, b) {
- return d.data_groups.length > 0 ? f(a, b)[1][1] : g.call(c, a.id)(a.value)
- };
- return e = d.axis_rotated ? e.x0(i).x1(j).y(h) : e.x(h).y0(i).y1(j), d.line_connectNull || (e = e.defined(function (a) {
- return null !== a.value
- })), function (a) {
- var b, f = d.line_connectNull ? c.filterRemoveNull(a.values) : a.values, g = 0, h = 0;
- return c.isAreaType(a) ? (c.isStepType(a) && (f = c.convertValuesToStep(f)), b = e.interpolate(c.getInterpolate(a))(f)) : (f[0] && (g = c.x(f[0].x), h = c.getYScale(a.id)(f[0].value)), b = d.axis_rotated ? "M " + h + " " + g : "M " + g + " " + h), b ? b : "M 0 0"
- }
- },f.generateGetAreaPoints = function (a, b) {
- var c = this, d = c.config, e = a.__max__ + 1, f = c.getShapeX(0, e, a, !!b), g = c.getShapeY(!!b), h = c.getShapeOffset(c.isAreaType, a, !!b), i = b ? c.getSubYScale : c.getYScale;
- return function (a, b) {
- var e = i.call(c, a.id)(0), j = h(a, b) || e, k = f(a), l = g(a);
- return d.axis_rotated && (0 < a.value && e > l || a.value < 0 && l > e) && (l = e), [[k, j], [k, l - (e - j)], [k, l - (e - j)], [k, j]]
- }
- },f.redrawCircle = function () {
- var a = this;
- a.mainCircle = a.main.selectAll("." + i.circles).selectAll("." + i.circle).data(a.lineOrScatterData.bind(a)), a.mainCircle.enter().append("circle").attr("class", a.classCircle.bind(a)).attr("r", a.pointR.bind(a)).style("fill", a.color), a.mainCircle.style("opacity", a.initialOpacityForCircle.bind(a)), a.mainCircle.exit().remove()
- },f.addTransitionForCircle = function (a, b, c) {
- var d = this;
- a.push(d.mainCircle.transition().style("opacity", d.opacityForCircle.bind(d)).style("fill", d.color).attr("cx", b).attr("cy", c)), a.push(d.main.selectAll("." + i.selectedCircle).transition().attr("cx", b).attr("cy", c))
- },f.circleX = function (a) {
- return a.x || 0 === a.x ? this.x(a.x) : null
- },f.updateCircleY = function () {
- var a, b, c = this;
- c.config.data_groups.length > 0 ? (a = c.getShapeIndices(c.isLineType), b = c.generateGetLinePoints(a), c.circleY = function (a, c) {
- return b(a, c)[0][1]
- }) : c.circleY = function (a) {
- return c.getYScale(a.id)(a.value)
- }
- },f.getCircles = function (a, b) {
- var c = this;
- return (b ? c.main.selectAll("." + i.circles + c.getTargetSelectorSuffix(b)) : c.main).selectAll("." + i.circle + (j(a) ? "-" + a : ""))
- },f.expandCircles = function (a, b, c) {
- var d = this, e = d.pointExpandedR.bind(d);
- c && d.unexpandCircles(), d.getCircles(a, b).classed(i.EXPANDED, !0).attr("r", e)
- },f.unexpandCircles = function (a) {
- var b = this, c = b.pointR.bind(b);
- b.getCircles(a).filter(function () {
- return b.d3.select(this).classed(i.EXPANDED)
- }).classed(i.EXPANDED, !1).attr("r", c)
- },f.pointR = function (a) {
- var b = this, c = b.config;
- return b.isStepType(a) ? 0 : k(c.point_r) ? c.point_r(a) : c.point_r
- },f.pointExpandedR = function (a) {
- var b = this, c = b.config;
- return c.point_focus_expand_enabled ? c.point_focus_expand_r ? c.point_focus_expand_r : 1.75 * b.pointR(a) : b.pointR(a)
- },f.pointSelectR = function (a) {
- var b = this, c = b.config;
- return c.point_select_r ? c.point_select_r : 4 * b.pointR(a)
- },f.isWithinCircle = function (a, b) {
- var c = this.d3, d = c.mouse(a), e = c.select(a), f = +e.attr("cx"), g = +e.attr("cy");
- return Math.sqrt(Math.pow(f - d[0], 2) + Math.pow(g - d[1], 2)) < b
- },f.isWithinStep = function (a, b) {
- return Math.abs(b - this.d3.mouse(a)[1]) < 30
- },f.initBar = function () {
- var a = this;
- a.main.select("." + i.chart).append("g").attr("class", i.chartBars)
- },f.updateTargetsForBar = function (a) {
- var b, c, d = this, e = d.config, f = d.classChartBar.bind(d), g = d.classBars.bind(d), h = d.classFocus.bind(d);
- b = d.main.select("." + i.chartBars).selectAll("." + i.chartBar).data(a).attr("class", function (a) {
- return f(a) + h(a)
- }), c = b.enter().append("g").attr("class", f).style("opacity", 0).style("pointer-events", "none"), c.append("g").attr("class", g).style("cursor", function (a) {
- return e.data_selection_isselectable(a) ? "pointer" : null
- })
- },f.redrawBar = function (a) {
- var b = this, c = b.barData.bind(b), d = b.classBar.bind(b), e = b.initialOpacity.bind(b), f = function (a) {
- return b.color(a.id)
- };
- b.mainBar = b.main.selectAll("." + i.bars).selectAll("." + i.bar).data(c), b.mainBar.enter().append("path").attr("class", d).style("stroke", f).style("fill", f), b.mainBar.style("opacity", e), b.mainBar.exit().transition().duration(a).style("opacity", 0).remove()
- },f.addTransitionForBar = function (a, b) {
- var c = this;
- a.push(c.mainBar.transition().attr("d", b).style("fill", c.color).style("opacity", 1))
- },f.getBarW = function (a, b) {
- var c = this, d = c.config, e = "number" == typeof d.bar_width ? d.bar_width : b ? 2 * a.tickOffset() * d.bar_width_ratio / b : 0;
- return d.bar_width_max && e > d.bar_width_max ? d.bar_width_max : e
- },f.getBars = function (a, b) {
- var c = this;
- return (b ? c.main.selectAll("." + i.bars + c.getTargetSelectorSuffix(b)) : c.main).selectAll("." + i.bar + (j(a) ? "-" + a : ""))
- },f.expandBars = function (a, b, c) {
- var d = this;
- c && d.unexpandBars(), d.getBars(a, b).classed(i.EXPANDED, !0)
- },f.unexpandBars = function (a) {
- var b = this;
- b.getBars(a).classed(i.EXPANDED, !1)
- },f.generateDrawBar = function (a, b) {
- var c = this, d = c.config, e = c.generateGetBarPoints(a, b);
- return function (a, b) {
- var c = e(a, b), f = d.axis_rotated ? 1 : 0, g = d.axis_rotated ? 0 : 1, h = "M " + c[0][f] + "," + c[0][g] + " L" + c[1][f] + "," + c[1][g] + " L" + c[2][f] + "," + c[2][g] + " L" + c[3][f] + "," + c[3][g] + " z";
- return h
- }
- },f.generateGetBarPoints = function (a, b) {
- var c = this, d = b ? c.subXAxis : c.xAxis, e = a.__max__ + 1, f = c.getBarW(d, e), g = c.getShapeX(f, e, a, !!b), h = c.getShapeY(!!b), i = c.getShapeOffset(c.isBarType, a, !!b), j = b ? c.getSubYScale : c.getYScale;
- return function (a, b) {
- var d = j.call(c, a.id)(0), e = i(a, b) || d, k = g(a), l = h(a);
- return c.config.axis_rotated && (0 < a.value && d > l || a.value < 0 && l > d) && (l = d), [[k, e], [k, l - (d - e)], [k + f, l - (d - e)], [k + f, e]]
- }
- },f.isWithinBar = function (a) {
- var b = this.d3.mouse(a), c = a.getBoundingClientRect(), d = a.pathSegList.getItem(0), e = a.pathSegList.getItem(1), f = Math.min(d.x, e.x), g = Math.min(d.y, e.y), h = c.width, i = c.height, j = 2, k = f - j, l = f + h + j, m = g + i + j, n = g - j;
- return k < b[0] && b[0] < l && n < b[1] && b[1] < m
- },f.initText = function () {
- var a = this;
- a.main.select("." + i.chart).append("g").attr("class", i.chartTexts), a.mainText = a.d3.selectAll([])
- },f.updateTargetsForText = function (a) {
- var b, c, d = this, e = d.classChartText.bind(d), f = d.classTexts.bind(d), g = d.classFocus.bind(d);
- b = d.main.select("." + i.chartTexts).selectAll("." + i.chartText).data(a).attr("class", function (a) {
- return e(a) + g(a)
- }), c = b.enter().append("g").attr("class", e).style("opacity", 0).style("pointer-events", "none"), c.append("g").attr("class", f)
- },f.redrawText = function (a) {
- var b = this, c = b.config, d = b.barOrLineData.bind(b), e = b.classText.bind(b);
- b.mainText = b.main.selectAll("." + i.texts).selectAll("." + i.text).data(d), b.mainText.enter().append("text").attr("class", e).attr("text-anchor", function (a) {
- return c.axis_rotated ? a.value < 0 ? "end" : "start" : "middle"
- }).style("stroke", "none").style("fill", function (a) {
- return b.color(a)
- }).style("fill-opacity", 0), b.mainText.text(function (a, c, d) {
- return b.formatByAxisId(b.getAxisId(a.id))(a.value, a.id, c, d)
- }), b.mainText.exit().transition().duration(a).style("fill-opacity", 0).remove()
- },f.addTransitionForText = function (a, b, c, d) {
- var e = this, f = d ? 0 : e.opacityForText.bind(e);
- a.push(e.mainText.transition().attr("x", b).attr("y", c).style("fill", e.color).style("fill-opacity", f))
- },f.getTextRect = function (a, b) {
- var c, d = this.d3.select("body").classed("c3", !0), e = d.append("svg").style("visibility", "hidden");
- return e.selectAll(".dummy").data([a]).enter().append("text").classed(b ? b : "", !0).text(a).each(function () {
- c = this.getBoundingClientRect()
- }), e.remove(), d.classed("c3", !1), c
- },f.generateXYForText = function (a, b, c, d) {
- var e = this, f = e.generateGetAreaPoints(b, !1), g = e.generateGetBarPoints(b, !1), h = e.generateGetLinePoints(c, !1), i = d ? e.getXForText : e.getYForText;
- return function (a, b) {
- var c = e.isAreaType(a) ? f : e.isBarType(a) ? g : h;
- return i.call(e, c(a, b), a, this)
- }
- },f.getXForText = function (a, b, c) {
- var d, e, f = this, g = c.getBoundingClientRect();
- return f.config.axis_rotated ? (e = f.isBarType(b) ? 4 : 6, d = a[2][1] + e * (b.value < 0 ? -1 : 1)) : d = f.hasType("bar") ? (a[2][0] + a[0][0]) / 2 : a[0][0], null === b.value && (d > f.width ? d = f.width - g.width : 0 > d && (d = 4)), d
- },f.getYForText = function (a, b, c) {
- var d, e = this, f = c.getBoundingClientRect();
- return d = e.config.axis_rotated ? (a[0][0] + a[2][0] + .6 * f.height) / 2 : a[2][1] + (b.value < 0 ? f.height : e.isBarType(b) ? -3 : -6), null !== b.value || e.config.axis_rotated || (d < f.height ? d = f.height : d > this.height && (d = this.height - 4)), d
- },f.setTargetType = function (a, b) {
- var c = this, d = c.config;
- c.mapToTargetIds(a).forEach(function (a) {
- c.withoutFadeIn[a] = b === d.data_types[a], d.data_types[a] = b
- }), a || (d.data_type = b)
- },f.hasType = function (a, b) {
- var c = this, d = c.config.data_types, e = !1;
- return b = b || c.data.targets, b && b.length ? b.forEach(function (b) {
- var c = d[b.id];
- (c && c.indexOf(a) >= 0 || !c && "line" === a) && (e = !0)
- }) : Object.keys(d).length ? Object.keys(d).forEach(function (b) {
- d[b] === a && (e = !0)
- }) : e = c.config.data_type === a, e
- },f.hasArcType = function (a) {
- return this.hasType("pie", a) || this.hasType("donut", a) || this.hasType("gauge", a)
- },f.isLineType = function (a) {
- var b = this.config, c = l(a) ? a : a.id;
- return !b.data_types[c] || ["line", "spline", "area", "area-spline", "step", "area-step"].indexOf(b.data_types[c]) >= 0
- },f.isStepType = function (a) {
- var b = l(a) ? a : a.id;
- return ["step", "area-step"].indexOf(this.config.data_types[b]) >= 0
- },f.isSplineType = function (a) {
- var b = l(a) ? a : a.id;
- return ["spline", "area-spline"].indexOf(this.config.data_types[b]) >= 0
- },f.isAreaType = function (a) {
- var b = l(a) ? a : a.id;
- return ["area", "area-spline", "area-step"].indexOf(this.config.data_types[b]) >= 0
- },f.isBarType = function (a) {
- var b = l(a) ? a : a.id;
- return "bar" === this.config.data_types[b]
- },f.isScatterType = function (a) {
- var b = l(a) ? a : a.id;
- return "scatter" === this.config.data_types[b]
- },f.isPieType = function (a) {
- var b = l(a) ? a : a.id;
- return "pie" === this.config.data_types[b]
- },f.isGaugeType = function (a) {
- var b = l(a) ? a : a.id;
- return "gauge" === this.config.data_types[b]
- },f.isDonutType = function (a) {
- var b = l(a) ? a : a.id;
- return "donut" === this.config.data_types[b]
- },f.isArcType = function (a) {
- return this.isPieType(a) || this.isDonutType(a) || this.isGaugeType(a)
- },f.lineData = function (a) {
- return this.isLineType(a) ? [a] : []
- },f.arcData = function (a) {
- return this.isArcType(a.data) ? [a] : []
- },f.barData = function (a) {
- return this.isBarType(a) ? a.values : []
- },f.lineOrScatterData = function (a) {
- return this.isLineType(a) || this.isScatterType(a) ? a.values : []
- },f.barOrLineData = function (a) {
- return this.isBarType(a) || this.isLineType(a) ? a.values : []
- },f.initGrid = function () {
- var a = this, b = a.config, c = a.d3;
- a.grid = a.main.append("g").attr("clip-path", a.clipPathForGrid).attr("class", i.grid), b.grid_x_show && a.grid.append("g").attr("class", i.xgrids), b.grid_y_show && a.grid.append("g").attr("class", i.ygrids), b.grid_focus_show && a.grid.append("g").attr("class", i.xgridFocus).append("line").attr("class", i.xgridFocus), a.xgrid = c.selectAll([]), b.grid_lines_front || a.initGridLines()
- },f.initGridLines = function () {
- var a = this, b = a.d3;
- a.gridLines = a.main.append("g").attr("clip-path", a.clipPathForGrid).attr("class", i.grid + " " + i.gridLines), a.gridLines.append("g").attr("class", i.xgridLines), a.gridLines.append("g").attr("class", i.ygridLines), a.xgridLines = b.selectAll([])
- },f.updateXGrid = function (a) {
- var b = this, c = b.config, d = b.d3, e = b.generateGridData(c.grid_x_type, b.x), f = b.isCategorized() ? b.xAxis.tickOffset() : 0;
- b.xgridAttr = c.axis_rotated ? {
- x1: 0, x2: b.width, y1: function (a) {
- return b.x(a) - f
- }, y2: function (a) {
- return b.x(a) - f
- }
- } : {
- x1: function (a) {
- return b.x(a) + f
- }, x2: function (a) {
- return b.x(a) + f
- }, y1: 0, y2: b.height
- }, b.xgrid = b.main.select("." + i.xgrids).selectAll("." + i.xgrid).data(e), b.xgrid.enter().append("line").attr("class", i.xgrid), a || b.xgrid.attr(b.xgridAttr).style("opacity", function () {
- return +d.select(this).attr(c.axis_rotated ? "y1" : "x1") === (c.axis_rotated ? b.height : 0) ? 0 : 1
- }), b.xgrid.exit().remove()
- },f.updateYGrid = function () {
- var a = this, b = a.config, c = a.yAxis.tickValues() || a.y.ticks(b.grid_y_ticks);
- a.ygrid = a.main.select("." + i.ygrids).selectAll("." + i.ygrid).data(c), a.ygrid.enter().append("line").attr("class", i.ygrid), a.ygrid.attr("x1", b.axis_rotated ? a.y : 0).attr("x2", b.axis_rotated ? a.y : a.width).attr("y1", b.axis_rotated ? 0 : a.y).attr("y2", b.axis_rotated ? a.height : a.y), a.ygrid.exit().remove(), a.smoothLines(a.ygrid, "grid")
- },f.redrawGrid = function (a) {
- var b, c, d, e = this, f = e.main, g = e.config;
- e.grid.style("visibility", e.hasArcType() ? "hidden" : "visible"), f.select("line." + i.xgridFocus).style("visibility", "hidden"), g.grid_x_show && e.updateXGrid(), e.xgridLines = f.select("." + i.xgridLines).selectAll("." + i.xgridLine).data(g.grid_x_lines), b = e.xgridLines.enter().append("g").attr("class", function (a) {
- return i.xgridLine + (a["class"] ? " " + a["class"] : "")
- }), b.append("line").style("opacity", 0), b.append("text").attr("text-anchor", "end").attr("transform", g.axis_rotated ? "" : "rotate(-90)").attr("dx", g.axis_rotated ? 0 : -e.margin.top).attr("dy", -5).style("opacity", 0), e.xgridLines.exit().transition().duration(a).style("opacity", 0).remove(), g.grid_y_show && e.updateYGrid(), e.ygridLines = f.select("." + i.ygridLines).selectAll("." + i.ygridLine).data(g.grid_y_lines), c = e.ygridLines.enter().append("g").attr("class", function (a) {
- return i.ygridLine + (a["class"] ? " " + a["class"] : "")
- }), c.append("line").style("opacity", 0), c.append("text").attr("text-anchor", "end").attr("transform", g.axis_rotated ? "rotate(-90)" : "").attr("dx", g.axis_rotated ? 0 : -e.margin.top).attr("dy", -5).style("opacity", 0), d = e.yv.bind(e), e.ygridLines.select("line").transition().duration(a).attr("x1", g.axis_rotated ? d : 0).attr("x2", g.axis_rotated ? d : e.width).attr("y1", g.axis_rotated ? 0 : d).attr("y2", g.axis_rotated ? e.height : d).style("opacity", 1), e.ygridLines.select("text").transition().duration(a).attr("x", g.axis_rotated ? 0 : e.width).attr("y", d).text(function (a) {
- return a.text
- }).style("opacity", 1), e.ygridLines.exit().transition().duration(a).style("opacity", 0).remove()
- },f.addTransitionForGrid = function (a) {
- var b = this, c = b.config, d = b.xv.bind(b);
- a.push(b.xgridLines.select("line").transition().attr("x1", c.axis_rotated ? 0 : d).attr("x2", c.axis_rotated ? b.width : d).attr("y1", c.axis_rotated ? d : b.margin.top).attr("y2", c.axis_rotated ? d : b.height).style("opacity", 1)), a.push(b.xgridLines.select("text").transition().attr("x", c.axis_rotated ? b.width : 0).attr("y", d).text(function (a) {
- return a.text
- }).style("opacity", 1))
- },f.showXGridFocus = function (a) {
- var b = this, c = b.config, d = a.filter(function (a) {
- return a && j(a.value)
- }), e = b.main.selectAll("line." + i.xgridFocus), f = b.xx.bind(b);
- c.tooltip_show && (b.hasType("scatter") || b.hasArcType() || (e.style("visibility", "visible").data([d[0]]).attr(c.axis_rotated ? "y1" : "x1", f).attr(c.axis_rotated ? "y2" : "x2", f), b.smoothLines(e, "grid")))
- },f.hideXGridFocus = function () {
- this.main.select("line." + i.xgridFocus).style("visibility", "hidden")
- },f.updateXgridFocus = function () {
- var a = this, b = a.config;
- a.main.select("line." + i.xgridFocus).attr("x1", b.axis_rotated ? 0 : -10).attr("x2", b.axis_rotated ? a.width : -10).attr("y1", b.axis_rotated ? -10 : 0).attr("y2", b.axis_rotated ? -10 : a.height)
- },f.generateGridData = function (a, b) {
- var c, d, e, f, g = this, h = [], j = g.main.select("." + i.axisX).selectAll(".tick").size();
- if ("year" === a)for (c = g.getXDomain(), d = c[0].getFullYear(), e = c[1].getFullYear(), f = d; e >= f; f++)h.push(new Date(f + "-01-01 00:00:00")); else h = b.ticks(10), h.length > j && (h = h.filter(function (a) {
- return ("" + a).indexOf(".") < 0
- }));
- return h
- },f.getGridFilterToRemove = function (a) {
- return a ? function (b) {
- var c = !1;
- return [].concat(a).forEach(function (a) {
- ("value"in a && b.value === a.value || "class"in a && b["class"] === a["class"]) && (c = !0)
- }), c
- } : function () {
- return !0
- }
- },f.removeGridLines = function (a, b) {
- var c = this, d = c.config, e = c.getGridFilterToRemove(a), f = function (a) {
- return !e(a)
- }, g = b ? i.xgridLines : i.ygridLines, h = b ? i.xgridLine : i.ygridLine;
- c.main.select("." + g).selectAll("." + h).filter(e).transition().duration(d.transition_duration).style("opacity", 0).remove(), b ? d.grid_x_lines = d.grid_x_lines.filter(f) : d.grid_y_lines = d.grid_y_lines.filter(f)
- },f.initTooltip = function () {
- var a, b = this, c = b.config;
- if (b.tooltip = b.selectChart.style("position", "relative").append("div").attr("class", i.tooltipContainer).style("position", "absolute").style("pointer-events", "none").style("display", "none"), c.tooltip_init_show) {
- if (b.isTimeSeries() && l(c.tooltip_init_x)) {
- for (c.tooltip_init_x = b.parseDate(c.tooltip_init_x), a = 0; a < b.data.targets[0].values.length && b.data.targets[0].values[a].x - c.tooltip_init_x !== 0; a++);
- c.tooltip_init_x = a
- }
- b.tooltip.html(c.tooltip_contents.call(b, b.data.targets.map(function (a) {
- return b.addName(a.values[c.tooltip_init_x])
- }), b.getXAxisTickFormat(), b.getYFormat(b.hasArcType()), b.color)), b.tooltip.style("top", c.tooltip_init_position.top).style("left", c.tooltip_init_position.left).style("display", "block")
- }
- },f.getTooltipContent = function (a, b, c, d) {
- var e, f, g, h, j, k, l = this, m = l.config, n = m.tooltip_format_title || b, o = m.tooltip_format_name || function (a) {
- return a
- }, p = m.tooltip_format_value || c;
- for (f = 0; f < a.length; f++)a[f] && (a[f].value || 0 === a[f].value) && (e || (g = n ? n(a[f].x) : a[f].x, e = "<table class='" + i.tooltip + "'>" + (g || 0 === g ? "<tr><th colspan='2'>" + g + "</th></tr>" : "")), j = o(a[f].name, a[f].ratio, a[f].id, a[f].index), h = p(a[f].value, a[f].ratio, a[f].id, a[f].index), k = l.levelColor ? l.levelColor(a[f].value) : d(a[f].id), e += "<tr class='" + i.tooltipName + "-" + a[f].id + "'>", e += "<td class='name'><span style='background-color:" + k + "'></span>" + j + "</td>", e += "<td class='value'>" + h + "</td>", e += "</tr>");
- return e + "</table>"
- },f.showTooltip = function (a, b) {
- var c, d, e, f, g, h, i, k = this, l = k.config, m = k.hasArcType(), n = a.filter(function (a) {
- return a && j(a.value)
- });
- 0 !== n.length && l.tooltip_show && (k.tooltip.html(l.tooltip_contents.call(k, a, k.getXAxisTickFormat(), k.getYFormat(m), k.color)).style("display", "block"), c = k.tooltip.property("offsetWidth"), d = k.tooltip.property("offsetHeight"), m ? (f = k.width / 2 + b[0], h = k.height / 2 + b[1] + 20) : (e = k.getSvgLeft(!0), l.axis_rotated ? (f = e + b[0] + 100, g = f + c, i = k.currentWidth - k.getCurrentPaddingRight(), h = k.x(n[0].x) + 20) : (f = e + k.getCurrentPaddingLeft(!0) + k.x(n[0].x) + 20, g = f + c, i = e + k.currentWidth - k.getCurrentPaddingRight(), h = b[1] + 15), g > i && (f -= g - i), h + d > k.currentHeight && (h -= d + 30)), 0 > h && (h = 0), k.tooltip.style("top", h + "px").style("left", f + "px"))
- },f.hideTooltip = function () {
- this.tooltip.style("display", "none")
- },f.initLegend = function () {
- var a = this;
- return a.legendHasRendered = !1, a.legend = a.svg.append("g").attr("transform", a.getTranslate("legend")), a.config.legend_show ? void a.updateLegendWithDefaults() : (a.legend.style("visibility", "hidden"), void(a.hiddenLegendIds = a.mapToIds(a.data.targets)))
- },f.updateLegendWithDefaults = function () {
- var a = this;
- a.updateLegend(a.mapToIds(a.data.targets), {
- withTransform: !1,
- withTransitionForTransform: !1,
- withTransition: !1
- })
- },f.updateSizeForLegend = function (a, b) {
- var c = this, d = c.config, e = {
- top: c.isLegendTop ? c.getCurrentPaddingTop() + d.legend_inset_y + 5.5 : c.currentHeight - a - c.getCurrentPaddingBottom() - d.legend_inset_y,
- left: c.isLegendLeft ? c.getCurrentPaddingLeft() + d.legend_inset_x + .5 : c.currentWidth - b - c.getCurrentPaddingRight() - d.legend_inset_x + .5
- };
- c.margin3 = {
- top: c.isLegendRight ? 0 : c.isLegendInset ? e.top : c.currentHeight - a,
- right: 0 / 0,
- bottom: 0,
- left: c.isLegendRight ? c.currentWidth - b : c.isLegendInset ? e.left : 0
- }
- },f.transformLegend = function (a) {
- var b = this;
- (a ? b.legend.transition() : b.legend).attr("transform", b.getTranslate("legend"))
- },f.updateLegendStep = function (a) {
- this.legendStep = a
- },f.updateLegendItemWidth = function (a) {
- this.legendItemWidth = a
- },f.updateLegendItemHeight = function (a) {
- this.legendItemHeight = a
- },f.getLegendWidth = function () {
- var a = this;
- return a.config.legend_show ? a.isLegendRight || a.isLegendInset ? a.legendItemWidth * (a.legendStep + 1) : a.currentWidth : 0
- },f.getLegendHeight = function () {
- var a = this, b = 0;
- return a.config.legend_show && (b = a.isLegendRight ? a.currentHeight : Math.max(20, a.legendItemHeight) * (a.legendStep + 1)), b
- },f.opacityForLegend = function (a) {
- return a.classed(i.legendItemHidden) ? null : 1
- },f.opacityForUnfocusedLegend = function (a) {
- return a.classed(i.legendItemHidden) ? null : .3
- },f.toggleFocusLegend = function (a, b) {
- var c = this;
- a = c.mapToTargetIds(a), c.legend.selectAll("." + i.legendItem).filter(function (b) {
- return a.indexOf(b) >= 0
- }).classed(i.legendItemFocused, b).transition().duration(100).style("opacity", function () {
- var a = b ? c.opacityForLegend : c.opacityForUnfocusedLegend;
- return a.call(c, c.d3.select(this))
- })
- },f.revertLegend = function () {
- var a = this, b = a.d3;
- a.legend.selectAll("." + i.legendItem).classed(i.legendItemFocused, !1).transition().duration(100).style("opacity", function () {
- return a.opacityForLegend(b.select(this))
- })
- },f.showLegend = function (a) {
- var b = this, c = b.config;
- c.legend_show || (c.legend_show = !0, b.legend.style("visibility", "visible"), b.legendHasRendered || b.updateLegendWithDefaults()), b.removeHiddenLegendIds(a), b.legend.selectAll(b.selectorLegends(a)).style("visibility", "visible").transition().style("opacity", function () {
- return b.opacityForLegend(b.d3.select(this))
- })
- },f.hideLegend = function (a) {
- var b = this, c = b.config;
- c.legend_show && r(a) && (c.legend_show = !1, b.legend.style("visibility", "hidden")), b.addHiddenLegendIds(a), b.legend.selectAll(b.selectorLegends(a)).style("opacity", 0).style("visibility", "hidden")
- };
- var h = {};
- f.clearLegendItemTextBoxCache = function () {
- h = {}
- }, f.updateLegend = function (a, b, c) {
- function d(a, b) {
- return h[b] || (h[b] = w.getTextRect(a.textContent, i.legendItem)), h[b]
- }
-
- function e(b, c, e) {
- function f(a, b) {
- b || (g = (o - E - n) / 2, C > g && (g = (o - n) / 2, E = 0, K++)), J[a] = K, I[K] = w.isLegendInset ? 10 : g, F[a] = E, E += n
- }
-
- var g, h, i = 0 === e, j = e === a.length - 1, k = d(b, c), l = k.width + D + (!j || w.isLegendRight || w.isLegendInset ? z : 0), m = k.height + y, n = w.isLegendRight || w.isLegendInset ? m : l, o = w.isLegendRight || w.isLegendInset ? w.getLegendHeight() : w.getLegendWidth();
- return i && (E = 0, K = 0, A = 0, B = 0), x.legend_show && !w.isLegendToShow(c) ? void(G[c] = H[c] = J[c] = F[c] = 0) : (G[c] = l, H[c] = m, (!A || l >= A) && (A = l), (!B || m >= B) && (B = m), h = w.isLegendRight || w.isLegendInset ? B : A, void(x.legend_equally ? (Object.keys(G).forEach(function (a) {
- G[a] = A
- }), Object.keys(H).forEach(function (a) {
- H[a] = B
- }), g = (o - h * a.length) / 2, C > g ? (E = 0, K = 0, a.forEach(function (a) {
- f(a)
- })) : f(c, !0)) : f(c)))
- }
-
- var f, g, j, k, l, m, o, p, q, r, s, u, v, w = this, x = w.config, y = 4, z = 10, A = 0, B = 0, C = 10, D = 15, E = 0, F = {}, G = {}, H = {}, I = [0], J = {}, K = 0, L = w.legend.selectAll("." + i.legendItemFocused).size();
- b = b || {}, p = t(b, "withTransition", !0), q = t(b, "withTransitionForTransform", !0), w.isLegendInset && (K = x.legend_inset_step ? x.legend_inset_step : a.length, w.updateLegendStep(K)), w.isLegendRight ? (f = function (a) {
- return A * J[a]
- }, k = function (a) {
- return I[J[a]] + F[a]
- }) : w.isLegendInset ? (f = function (a) {
- return A * J[a] + 10
- }, k = function (a) {
- return I[J[a]] + F[a]
- }) : (f = function (a) {
- return I[J[a]] + F[a]
- }, k = function (a) {
- return B * J[a]
- }), g = function (a, b) {
- return f(a, b) + 14
- }, l = function (a, b) {
- return k(a, b) + 9
- }, j = function (a, b) {
- return f(a, b)
- }, m = function (a, b) {
- return k(a, b) - 5
- }, o = w.legend.selectAll("." + i.legendItem).data(a).enter().append("g").attr("class", function (a) {
- return w.generateClass(i.legendItem, a)
- }).style("visibility", function (a) {
- return w.isLegendToShow(a) ? "visible" : "hidden"
- }).style("cursor", "pointer").on("click", function (a) {
- x.legend_item_onclick ? x.legend_item_onclick.call(w, a) : w.d3.event.altKey ? (w.api.hide(), w.api.show(a)) : (w.api.toggle(a), w.isTargetToShow(a) ? w.api.focus(a) : w.api.revert())
- }).on("mouseover", function (a) {
- w.d3.select(this).classed(i.legendItemFocused, !0), !w.transiting && w.isTargetToShow(a) && w.api.focus(a), x.legend_item_onmouseover && x.legend_item_onmouseover.call(w, a)
- }).on("mouseout", function (a) {
- w.d3.select(this).classed(i.legendItemFocused, !1), w.api.revert(), x.legend_item_onmouseout && x.legend_item_onmouseout.call(w, a)
- }), o.append("text").text(function (a) {
- return n(x.data_names[a]) ? x.data_names[a] : a
- }).each(function (a, b) {
- e(this, a, b)
- }).style("pointer-events", "none").attr("x", w.isLegendRight || w.isLegendInset ? g : -200).attr("y", w.isLegendRight || w.isLegendInset ? -200 : l), o.append("rect").attr("class", i.legendItemEvent).style("fill-opacity", 0).attr("x", w.isLegendRight || w.isLegendInset ? j : -200).attr("y", w.isLegendRight || w.isLegendInset ? -200 : m), o.append("rect").attr("class", i.legendItemTile).style("pointer-events", "none").style("fill", w.color).attr("x", w.isLegendRight || w.isLegendInset ? g : -200).attr("y", w.isLegendRight || w.isLegendInset ? -200 : k).attr("width", 10).attr("height", 10), v = w.legend.select("." + i.legendBackground + " rect"), w.isLegendInset && A > 0 && 0 === v.size() && (v = w.legend.insert("g", "." + i.legendItem).attr("class", i.legendBackground).append("rect")), r = w.legend.selectAll("text").data(a).text(function (a) {
- return n(x.data_names[a]) ? x.data_names[a] : a
- }).each(function (a, b) {
- e(this, a, b)
- }), (p ? r.transition() : r).attr("x", g).attr("y", l), s = w.legend.selectAll("rect." + i.legendItemEvent).data(a), (p ? s.transition() : s).attr("width", function (a) {
- return G[a]
- }).attr("height", function (a) {
- return H[a]
- }).attr("x", j).attr("y", m), u = w.legend.selectAll("rect." + i.legendItemTile).data(a), (p ? u.transition() : u).style("fill", w.color).attr("x", f).attr("y", k), v && (p ? v.transition() : v).attr("height", w.getLegendHeight() - 12).attr("width", A * (K + 1) + 10), w.legend.selectAll("." + i.legendItem).classed(i.legendItemHidden, function (a) {
- return !w.isTargetToShow(a)
- }).transition().style("opacity", function (a) {
- var b = w.d3.select(this);
- return w.isTargetToShow(a) ? !L || b.classed(i.legendItemFocused) ? w.opacityForLegend(b) : w.opacityForUnfocusedLegend(b) : null
- }), w.updateLegendItemWidth(A), w.updateLegendItemHeight(B), w.updateLegendStep(K), w.updateSizes(), w.updateScales(), w.updateSvgSize(), w.transformAll(q, c), w.legendHasRendered = !0
- }, f.initAxis = function () {
- var a = this, b = a.config, c = a.main;
- a.axes.x = c.append("g").attr("class", i.axis + " " + i.axisX).attr("clip-path", a.clipPathForXAxis).attr("transform", a.getTranslate("x")).style("visibility", b.axis_x_show ? "visible" : "hidden"), a.axes.x.append("text").attr("class", i.axisXLabel).attr("transform", b.axis_rotated ? "rotate(-90)" : "").style("text-anchor", a.textAnchorForXAxisLabel.bind(a)), a.axes.y = c.append("g").attr("class", i.axis + " " + i.axisY).attr("clip-path", b.axis_y_inner ? "" : a.clipPathForYAxis).attr("transform", a.getTranslate("y")).style("visibility", b.axis_y_show ? "visible" : "hidden"), a.axes.y.append("text").attr("class", i.axisYLabel).attr("transform", b.axis_rotated ? "" : "rotate(-90)").style("text-anchor", a.textAnchorForYAxisLabel.bind(a)), a.axes.y2 = c.append("g").attr("class", i.axis + " " + i.axisY2).attr("transform", a.getTranslate("y2")).style("visibility", b.axis_y2_show ? "visible" : "hidden"), a.axes.y2.append("text").attr("class", i.axisY2Label).attr("transform", b.axis_rotated ? "" : "rotate(-90)").style("text-anchor", a.textAnchorForY2AxisLabel.bind(a))
- }, f.getXAxis = function (a, b, c, e, f) {
- var g = this, h = g.config, i = {
- isCategory: g.isCategorized(),
- withOuterTick: f,
- tickMultiline: h.axis_x_tick_multiline,
- tickWidth: h.axis_x_tick_width
- }, j = d(g.d3, i).scale(a).orient(b);
- return g.isTimeSeries() && e && (e = e.map(function (a) {
- return g.parseDate(a)
- })), j.tickFormat(c).tickValues(e), g.isCategorized() ? (j.tickCentered(h.axis_x_tick_centered), r(h.axis_x_tick_culling) && (h.axis_x_tick_culling = !1)) : j.tickOffset = function () {
- var a = this.scale(), b = g.getEdgeX(g.data.targets), c = a(b[1]) - a(b[0]), d = c ? c : h.axis_rotated ? g.height : g.width;
- return d / g.getMaxDataCount() / 2
- }, j
- }, f.getYAxis = function (a, b, c, e, f) {
- var g = {withOuterTick: f}, h = d(this.d3, g).scale(a).orient(b).tickFormat(c);
- return this.isTimeSeriesY() ? h.ticks(this.d3.time[this.config.axis_y_tick_time_value], this.config.axis_y_tick_time_interval) : h.tickValues(e), h
- }, f.getAxisId = function (a) {
- var b = this.config;
- return a in b.data_axes ? b.data_axes[a] : "y"
- }, f.getXAxisTickFormat = function () {
- var a = this, b = a.config, c = a.isTimeSeries() ? a.defaultAxisTimeFormat : a.isCategorized() ? a.categoryName : function (a) {
- return 0 > a ? a.toFixed(0) : a
- };
- return b.axis_x_tick_format && (k(b.axis_x_tick_format) ? c = b.axis_x_tick_format : a.isTimeSeries() && (c = function (c) {
- return c ? a.axisTimeFormat(b.axis_x_tick_format)(c) : ""
- })), k(c) ? function (b) {
- return c.call(a, b)
- } : c
- }, f.getAxisTickValues = function (a, b) {
- return a ? a : b ? b.tickValues() : void 0
- }, f.getXAxisTickValues = function () {
- return this.getAxisTickValues(this.config.axis_x_tick_values, this.xAxis)
- }, f.getYAxisTickValues = function () {
- return this.getAxisTickValues(this.config.axis_y_tick_values, this.yAxis)
- }, f.getY2AxisTickValues = function () {
- return this.getAxisTickValues(this.config.axis_y2_tick_values, this.y2Axis)
- }, f.getAxisLabelOptionByAxisId = function (a) {
- var b, c = this, d = c.config;
- return "y" === a ? b = d.axis_y_label : "y2" === a ? b = d.axis_y2_label : "x" === a && (b = d.axis_x_label), b
- }, f.getAxisLabelText = function (a) {
- var b = this.getAxisLabelOptionByAxisId(a);
- return l(b) ? b : b ? b.text : null
- }, f.setAxisLabelText = function (a, b) {
- var c = this, d = c.config, e = c.getAxisLabelOptionByAxisId(a);
- l(e) ? "y" === a ? d.axis_y_label = b : "y2" === a ? d.axis_y2_label = b : "x" === a && (d.axis_x_label = b) : e && (e.text = b)
- }, f.getAxisLabelPosition = function (a, b) {
- var c = this.getAxisLabelOptionByAxisId(a), d = c && "object" == typeof c && c.position ? c.position : b;
- return {
- isInner: d.indexOf("inner") >= 0,
- isOuter: d.indexOf("outer") >= 0,
- isLeft: d.indexOf("left") >= 0,
- isCenter: d.indexOf("center") >= 0,
- isRight: d.indexOf("right") >= 0,
- isTop: d.indexOf("top") >= 0,
- isMiddle: d.indexOf("middle") >= 0,
- isBottom: d.indexOf("bottom") >= 0
- }
- }, f.getXAxisLabelPosition = function () {
- return this.getAxisLabelPosition("x", this.config.axis_rotated ? "inner-top" : "inner-right")
- }, f.getYAxisLabelPosition = function () {
- return this.getAxisLabelPosition("y", this.config.axis_rotated ? "inner-right" : "inner-top")
- }, f.getY2AxisLabelPosition = function () {
- return this.getAxisLabelPosition("y2", this.config.axis_rotated ? "inner-right" : "inner-top")
- }, f.getAxisLabelPositionById = function (a) {
- return "y2" === a ? this.getY2AxisLabelPosition() : "y" === a ? this.getYAxisLabelPosition() : this.getXAxisLabelPosition()
- }, f.textForXAxisLabel = function () {
- return this.getAxisLabelText("x")
- }, f.textForYAxisLabel = function () {
- return this.getAxisLabelText("y")
- }, f.textForY2AxisLabel = function () {
- return this.getAxisLabelText("y2")
- }, f.xForAxisLabel = function (a, b) {
- var c = this;
- return a ? b.isLeft ? 0 : b.isCenter ? c.width / 2 : c.width : b.isBottom ? -c.height : b.isMiddle ? -c.height / 2 : 0
- }, f.dxForAxisLabel = function (a, b) {
- return a ? b.isLeft ? "0.5em" : b.isRight ? "-0.5em" : "0" : b.isTop ? "-0.5em" : b.isBottom ? "0.5em" : "0"
- }, f.textAnchorForAxisLabel = function (a, b) {
- return a ? b.isLeft ? "start" : b.isCenter ? "middle" : "end" : b.isBottom ? "start" : b.isMiddle ? "middle" : "end"
- }, f.xForXAxisLabel = function () {
- return this.xForAxisLabel(!this.config.axis_rotated, this.getXAxisLabelPosition())
- }, f.xForYAxisLabel = function () {
- return this.xForAxisLabel(this.config.axis_rotated, this.getYAxisLabelPosition())
- }, f.xForY2AxisLabel = function () {
- return this.xForAxisLabel(this.config.axis_rotated, this.getY2AxisLabelPosition())
- }, f.dxForXAxisLabel = function () {
- return this.dxForAxisLabel(!this.config.axis_rotated, this.getXAxisLabelPosition())
- }, f.dxForYAxisLabel = function () {
- return this.dxForAxisLabel(this.config.axis_rotated, this.getYAxisLabelPosition())
- }, f.dxForY2AxisLabel = function () {
- return this.dxForAxisLabel(this.config.axis_rotated, this.getY2AxisLabelPosition())
- }, f.dyForXAxisLabel = function () {
- var a = this, b = a.config, c = a.getXAxisLabelPosition();
- return b.axis_rotated ? c.isInner ? "1.2em" : -25 - a.getMaxTickWidth("x") : c.isInner ? "-0.5em" : b.axis_x_height ? b.axis_x_height - 10 : "3em"
- }, f.dyForYAxisLabel = function () {
- var a = this, b = a.getYAxisLabelPosition();
- return a.config.axis_rotated ? b.isInner ? "-0.5em" : "3em" : b.isInner ? "1.2em" : -10 - (a.config.axis_y_inner ? 0 : a.getMaxTickWidth("y") + 10)
- }, f.dyForY2AxisLabel = function () {
- var a = this, b = a.getY2AxisLabelPosition();
- return a.config.axis_rotated ? b.isInner ? "1.2em" : "-2.2em" : b.isInner ? "-0.5em" : 15 + (a.config.axis_y2_inner ? 0 : this.getMaxTickWidth("y2") + 15)
- }, f.textAnchorForXAxisLabel = function () {
- var a = this;
- return a.textAnchorForAxisLabel(!a.config.axis_rotated, a.getXAxisLabelPosition())
- }, f.textAnchorForYAxisLabel = function () {
- var a = this;
- return a.textAnchorForAxisLabel(a.config.axis_rotated, a.getYAxisLabelPosition())
- }, f.textAnchorForY2AxisLabel = function () {
- var a = this;
- return a.textAnchorForAxisLabel(a.config.axis_rotated, a.getY2AxisLabelPosition())
- }, f.xForRotatedTickText = function (a) {
- return 8 * Math.sin(Math.PI * (a / 180))
- }, f.yForRotatedTickText = function (a) {
- return 11.5 - 2.5 * (a / 15) * (a > 0 ? 1 : -1)
- }, f.rotateTickText = function (a, b, c) {
- a.selectAll(".tick text").style("text-anchor", c > 0 ? "start" : "end"), b.selectAll(".tick text").attr("y", this.yForRotatedTickText(c)).attr("transform", "rotate(" + c + ")").selectAll("tspan").attr("dx", this.xForRotatedTickText(c))
- }, f.getMaxTickWidth = function (a, b) {
- var c, d, e, f = this, g = f.config, h = 0;
- return b && f.currentMaxTickWidths[a] ? f.currentMaxTickWidths[a] : (f.svg && (c = f.filterTargetsToShow(f.data.targets), "y" === a ? (d = f.y.copy().domain(f.getYDomain(c, "y")), e = f.getYAxis(d, f.yOrient, g.axis_y_tick_format, f.yAxisTickValues)) : "y2" === a ? (d = f.y2.copy().domain(f.getYDomain(c, "y2")), e = f.getYAxis(d, f.y2Orient, g.axis_y2_tick_format, f.y2AxisTickValues)) : (d = f.x.copy().domain(f.getXDomain(c)), e = f.getXAxis(d, f.xOrient, f.xAxisTickFormat, f.xAxisTickValues)), f.d3.select("body").append("g").style("visibility", "hidden").call(e).each(function () {
- f.d3.select(this).selectAll("text tspan").each(function () {
- var a = this.getBoundingClientRect();
- a.left > 0 && h < a.width && (h = a.width)
- })
- }).remove()), f.currentMaxTickWidths[a] = 0 >= h ? f.currentMaxTickWidths[a] : h, f.currentMaxTickWidths[a])
- }, f.updateAxisLabels = function (a) {
- var b = this, c = b.main.select("." + i.axisX + " ." + i.axisXLabel), d = b.main.select("." + i.axisY + " ." + i.axisYLabel), e = b.main.select("." + i.axisY2 + " ." + i.axisY2Label);
- (a ? c.transition() : c).attr("x", b.xForXAxisLabel.bind(b)).attr("dx", b.dxForXAxisLabel.bind(b)).attr("dy", b.dyForXAxisLabel.bind(b)).text(b.textForXAxisLabel.bind(b)), (a ? d.transition() : d).attr("x", b.xForYAxisLabel.bind(b)).attr("dx", b.dxForYAxisLabel.bind(b)).attr("dy", b.dyForYAxisLabel.bind(b)).text(b.textForYAxisLabel.bind(b)), (a ? e.transition() : e).attr("x", b.xForY2AxisLabel.bind(b)).attr("dx", b.dxForY2AxisLabel.bind(b)).attr("dy", b.dyForY2AxisLabel.bind(b)).text(b.textForY2AxisLabel.bind(b))
- }, f.getAxisPadding = function (a, b, c, d) {
- return j(a[b]) ? "ratio" === a.unit ? a[b] * d : this.convertPixelsToAxisPadding(a[b], d) : c
- }, f.convertPixelsToAxisPadding = function (a, b) {
- var c = this.config.axis_rotated ? this.width : this.height;
- return b * (a / c)
- }, f.generateTickValues = function (a, b, c) {
- var d, e, f, g, h, i, j, l = a;
- if (b)if (d = k(b) ? b() : b, 1 === d)l = [a[0]]; else if (2 === d)l = [a[0], a[a.length - 1]]; else if (d > 2) {
- for (g = d - 2, e = a[0], f = a[a.length - 1], h = (f - e) / (g + 1), l = [e], i = 0; g > i; i++)j = +e + h * (i + 1), l.push(c ? new Date(j) : j);
- l.push(f)
- }
- return c || (l = l.sort(function (a, b) {
- return a - b
- })), l
- }, f.generateAxisTransitions = function (a) {
- var b = this, c = b.axes;
- return {
- axisX: a ? c.x.transition().duration(a) : c.x,
- axisY: a ? c.y.transition().duration(a) : c.y,
- axisY2: a ? c.y2.transition().duration(a) : c.y2,
- axisSubX: a ? c.subx.transition().duration(a) : c.subx
- }
- }, f.redrawAxis = function (a, b) {
- var c = this, d = c.config;
- c.axes.x.style("opacity", b ? 0 : 1), c.axes.y.style("opacity", b ? 0 : 1), c.axes.y2.style("opacity", b ? 0 : 1), c.axes.subx.style("opacity", b ? 0 : 1), a.axisX.call(c.xAxis), a.axisY.call(c.yAxis), a.axisY2.call(c.y2Axis), a.axisSubX.call(c.subXAxis), !d.axis_rotated && d.axis_x_tick_rotate && (c.rotateTickText(c.axes.x, a.axisX, d.axis_x_tick_rotate), c.rotateTickText(c.axes.subx, a.axisSubX, d.axis_x_tick_rotate))
- }, f.getClipPath = function (b) {
- var c = a.navigator.appVersion.toLowerCase().indexOf("msie 9.") >= 0;
- return "url(" + (c ? "" : document.URL.split("#")[0]) + "#" + b + ")"
- }, f.appendClip = function (a, b) {
- return a.append("clipPath").attr("id", b).append("rect")
- }, f.getAxisClipX = function (a) {
- var b = Math.max(30, this.margin.left);
- return a ? -(1 + b) : -(b - 1)
- }, f.getAxisClipY = function (a) {
- return a ? -20 : -this.margin.top
- }, f.getXAxisClipX = function () {
- var a = this;
- return a.getAxisClipX(!a.config.axis_rotated)
- }, f.getXAxisClipY = function () {
- var a = this;
- return a.getAxisClipY(!a.config.axis_rotated)
- }, f.getYAxisClipX = function () {
- var a = this;
- return a.config.axis_y_inner ? -1 : a.getAxisClipX(a.config.axis_rotated)
- }, f.getYAxisClipY = function () {
- var a = this;
- return a.getAxisClipY(a.config.axis_rotated)
- }, f.getAxisClipWidth = function (a) {
- var b = this, c = Math.max(30, b.margin.left), d = Math.max(30, b.margin.right);
- return a ? b.width + 2 + c + d : b.margin.left + 20
- }, f.getAxisClipHeight = function (a) {
- return (a ? this.margin.bottom : this.margin.top + this.height) + 20
- }, f.getXAxisClipWidth = function () {
- var a = this;
- return a.getAxisClipWidth(!a.config.axis_rotated)
- }, f.getXAxisClipHeight = function () {
- var a = this;
- return a.getAxisClipHeight(!a.config.axis_rotated)
- }, f.getYAxisClipWidth = function () {
- var a = this;
- return a.getAxisClipWidth(a.config.axis_rotated) + (a.config.axis_y_inner ? 20 : 0)
- }, f.getYAxisClipHeight = function () {
- var a = this;
- return a.getAxisClipHeight(a.config.axis_rotated)
- }, f.initPie = function () {
- var a = this, b = a.d3, c = a.config;
- a.pie = b.layout.pie().value(function (a) {
- return a.values.reduce(function (a, b) {
- return a + b.value
- }, 0)
- }), c.data_order || a.pie.sort(null)
- }, f.updateRadius = function () {
- var a = this, b = a.config, c = b.gauge_width || b.donut_width;
- a.radiusExpanded = Math.min(a.arcWidth, a.arcHeight) / 2, a.radius = .95 * a.radiusExpanded, a.innerRadiusRatio = c ? (a.radius - c) / a.radius : .6, a.innerRadius = a.hasType("donut") || a.hasType("gauge") ? a.radius * a.innerRadiusRatio : 0
- }, f.updateArc = function () {
- var a = this;
- a.svgArc = a.getSvgArc(), a.svgArcExpanded = a.getSvgArcExpanded(), a.svgArcExpandedSub = a.getSvgArcExpanded(.98)
- }, f.updateAngle = function (a) {
- var b, c, d = this, e = d.config, f = !1, g = 0, h = e.gauge_min, i = e.gauge_max;
- return d.pie(d.filterTargetsToShow(d.data.targets)).forEach(function (b) {
- f || b.data.id !== a.data.id || (f = !0, a = b, a.index = g), g++
- }), isNaN(a.endAngle) && (a.endAngle = a.startAngle), d.isGaugeType(a.data) && (b = Math.PI / (i - h), c = a.value < h ? 0 : a.value < i ? a.value - h : i - h, a.startAngle = -1 * (Math.PI / 2), a.endAngle = a.startAngle + b * c), f ? a : null
- }, f.getSvgArc = function () {
- var a = this, b = a.d3.svg.arc().outerRadius(a.radius).innerRadius(a.innerRadius), c = function (c, d) {
- var e;
- return d ? b(c) : (e = a.updateAngle(c), e ? b(e) : "M 0 0")
- };
- return c.centroid = b.centroid, c
- }, f.getSvgArcExpanded = function (a) {
- var b = this, c = b.d3.svg.arc().outerRadius(b.radiusExpanded * (a ? a : 1)).innerRadius(b.innerRadius);
- return function (a) {
- var d = b.updateAngle(a);
- return d ? c(d) : "M 0 0"
- }
- }, f.getArc = function (a, b, c) {
- return c || this.isArcType(a.data) ? this.svgArc(a, b) : "M 0 0"
- }, f.transformForArcLabel = function (a) {
- var b, c, d, e, f, g = this, h = g.updateAngle(a), i = "";
- return h && !g.hasType("gauge") && (b = this.svgArc.centroid(h), c = isNaN(b[0]) ? 0 : b[0], d = isNaN(b[1]) ? 0 : b[1], e = Math.sqrt(c * c + d * d), f = g.radius && e ? (36 / g.radius > .375 ? 1.175 - 36 / g.radius : .8) * g.radius / e : 0, i = "translate(" + c * f + "," + d * f + ")"), i
- }, f.getArcRatio = function (a) {
- var b = this, c = b.hasType("gauge") ? Math.PI : 2 * Math.PI;
- return a ? (a.endAngle - a.startAngle) / c : null
- }, f.convertToArcData = function (a) {
- return this.addName({id: a.data.id, value: a.value, ratio: this.getArcRatio(a), index: a.index})
- }, f.textForArcLabel = function (a) {
- var b, c, d, e, f, g = this;
- return g.shouldShowArcLabel() ? (b = g.updateAngle(a), c = b ? b.value : null, d = g.getArcRatio(b), e = a.data.id, g.hasType("gauge") || g.meetsArcLabelThreshold(d) ? (f = g.getArcLabelFormat(), f ? f(c, d, e) : g.defaultArcValueFormat(c, d)) : "") : ""
- }, f.expandArc = function (b) {
- var c, d = this;
- return d.transiting ? void(c = a.setInterval(function () {
- d.transiting || (a.clearInterval(c), d.legend.selectAll(".c3-legend-item-focused").size() > 0 && d.expandArc(b))
- }, 10)) : (b = d.mapToTargetIds(b), void d.svg.selectAll(d.selectorTargets(b, "." + i.chartArc)).each(function (a) {
- d.shouldExpand(a.data.id) && d.d3.select(this).selectAll("path").transition().duration(50).attr("d", d.svgArcExpanded).transition().duration(100).attr("d", d.svgArcExpandedSub).each(function (a) {
- d.isDonutType(a.data)
- })
- }))
- }, f.unexpandArc = function (a) {
- var b = this;
- b.transiting || (a = b.mapToTargetIds(a), b.svg.selectAll(b.selectorTargets(a, "." + i.chartArc)).selectAll("path").transition().duration(50).attr("d", b.svgArc), b.svg.selectAll("." + i.arc).style("opacity", 1))
- }, f.shouldExpand = function (a) {
- var b = this, c = b.config;
- return b.isDonutType(a) && c.donut_expand || b.isGaugeType(a) && c.gauge_expand || b.isPieType(a) && c.pie_expand
- }, f.shouldShowArcLabel = function () {
- var a = this, b = a.config, c = !0;
- return a.hasType("donut") ? c = b.donut_label_show : a.hasType("pie") && (c = b.pie_label_show), c
- }, f.meetsArcLabelThreshold = function (a) {
- var b = this, c = b.config, d = b.hasType("donut") ? c.donut_label_threshold : c.pie_label_threshold;
- return a >= d
- }, f.getArcLabelFormat = function () {
- var a = this, b = a.config, c = b.pie_label_format;
- return a.hasType("gauge") ? c = b.gauge_label_format : a.hasType("donut") && (c = b.donut_label_format), c
- }, f.getArcTitle = function () {
- var a = this;
- return a.hasType("donut") ? a.config.donut_title : ""
- }, f.updateTargetsForArc = function (a) {
- var b, c, d = this, e = d.main, f = d.classChartArc.bind(d), g = d.classArcs.bind(d), h = d.classFocus.bind(d);
- b = e.select("." + i.chartArcs).selectAll("." + i.chartArc).data(d.pie(a)).attr("class", function (a) {
- return f(a) + h(a.data)
- }), c = b.enter().append("g").attr("class", f), c.append("g").attr("class", g), c.append("text").attr("dy", d.hasType("gauge") ? "-.1em" : ".35em").style("opacity", 0).style("text-anchor", "middle").style("pointer-events", "none")
- }, f.initArc = function () {
- var a = this;
- a.arcs = a.main.select("." + i.chart).append("g").attr("class", i.chartArcs).attr("transform", a.getTranslate("arc")), a.arcs.append("text").attr("class", i.chartArcsTitle).style("text-anchor", "middle").text(a.getArcTitle())
- }, f.redrawArc = function (a, b, c) {
- var d, e = this, f = e.d3, g = e.config, h = e.main;
- d = h.selectAll("." + i.arcs).selectAll("." + i.arc).data(e.arcData.bind(e)), d.enter().append("path").attr("class", e.classArc.bind(e)).style("fill", function (a) {
- return e.color(a.data)
- }).style("cursor", function (a) {
- return g.interaction_enabled && g.data_selection_isselectable(a) ? "pointer" : null
- }).style("opacity", 0).each(function (a) {
- e.isGaugeType(a.data) && (a.startAngle = a.endAngle = -1 * (Math.PI / 2)), this._current = a
- }), d.attr("transform", function (a) {
- return !e.isGaugeType(a.data) && c ? "scale(0)" : ""
- }).style("opacity", function (a) {
- return a === this._current ? 0 : 1
- }).on("mouseover", g.interaction_enabled ? function (a) {
- var b, c;
- e.transiting || (b = e.updateAngle(a), c = e.convertToArcData(b), e.expandArc(b.data.id), e.api.focus(b.data.id), e.toggleFocusLegend(b.data.id, !0), e.config.data_onmouseover(c, this))
- } : null).on("mousemove", g.interaction_enabled ? function (a) {
- var b = e.updateAngle(a), c = e.convertToArcData(b), d = [c];
- e.showTooltip(d, f.mouse(this))
- } : null).on("mouseout", g.interaction_enabled ? function (a) {
- var b, c;
- e.transiting || (b = e.updateAngle(a), c = e.convertToArcData(b), e.unexpandArc(b.data.id), e.api.revert(), e.revertLegend(), e.hideTooltip(), e.config.data_onmouseout(c, this))
- } : null).on("click", g.interaction_enabled ? function (a, b) {
- var c = e.updateAngle(a), d = e.convertToArcData(c);
- e.toggleShape && e.toggleShape(this, d, b), e.config.data_onclick.call(e.api, d, this)
- } : null).each(function () {
- e.transiting = !0
- }).transition().duration(a).attrTween("d", function (a) {
- var b, c = e.updateAngle(a);
- return c ? (isNaN(this._current.endAngle) && (this._current.endAngle = this._current.startAngle), b = f.interpolate(this._current, c), this._current = b(0), function (c) {
- var d = b(c);
- return d.data = a.data, e.getArc(d, !0)
- }) : function () {
- return "M 0 0"
- }
- }).attr("transform", c ? "scale(1)" : "").style("fill", function (a) {
- return e.levelColor ? e.levelColor(a.data.values[0].value) : e.color(a.data.id)
- }).style("opacity", 1).call(e.endall, function () {
- e.transiting = !1
- }), d.exit().transition().duration(b).style("opacity", 0).remove(), h.selectAll("." + i.chartArc).select("text").style("opacity", 0).attr("class", function (a) {
- return e.isGaugeType(a.data) ? i.gaugeValue : ""
- }).text(e.textForArcLabel.bind(e)).attr("transform", e.transformForArcLabel.bind(e)).style("font-size", function (a) {
- return e.isGaugeType(a.data) ? Math.round(e.radius / 5) + "px" : ""
- }).transition().duration(a).style("opacity", function (a) {
- return e.isTargetToShow(a.data.id) && e.isArcType(a.data) ? 1 : 0
- }), h.select("." + i.chartArcsTitle).style("opacity", e.hasType("donut") || e.hasType("gauge") ? 1 : 0), e.hasType("gauge") && (e.arcs.select("." + i.chartArcsBackground).attr("d", function () {
- var a = {data: [{value: g.gauge_max}], startAngle: -1 * (Math.PI / 2), endAngle: Math.PI / 2};
- return e.getArc(a, !0, !0)
- }), e.arcs.select("." + i.chartArcsGaugeUnit).attr("dy", ".75em").text(g.gauge_label_show ? g.gauge_units : ""), e.arcs.select("." + i.chartArcsGaugeMin).attr("dx", -1 * (e.innerRadius + (e.radius - e.innerRadius) / 2) + "px").attr("dy", "1.2em").text(g.gauge_label_show ? g.gauge_min : ""), e.arcs.select("." + i.chartArcsGaugeMax).attr("dx", e.innerRadius + (e.radius - e.innerRadius) / 2 + "px").attr("dy", "1.2em").text(g.gauge_label_show ? g.gauge_max : ""))
- }, f.initGauge = function () {
- var a = this.arcs;
- this.hasType("gauge") && (a.append("path").attr("class", i.chartArcsBackground), a.append("text").attr("class", i.chartArcsGaugeUnit).style("text-anchor", "middle").style("pointer-events", "none"), a.append("text").attr("class", i.chartArcsGaugeMin).style("text-anchor", "middle").style("pointer-events", "none"), a.append("text").attr("class", i.chartArcsGaugeMax).style("text-anchor", "middle").style("pointer-events", "none"))
- }, f.getGaugeLabelHeight = function () {
- return this.config.gauge_label_show ? 20 : 0
- }, f.initRegion = function () {
- var a = this;
- a.region = a.main.append("g").attr("clip-path", a.clipPath).attr("class", i.regions)
- }, f.redrawRegion = function (a) {
- var b = this, c = b.config;
- b.region.style("visibility", b.hasArcType() ? "hidden" : "visible"), b.mainRegion = b.main.select("." + i.regions).selectAll("." + i.region).data(c.regions), b.mainRegion.enter().append("g").attr("class", b.classRegion.bind(b)).append("rect").style("fill-opacity", 0), b.mainRegion.exit().transition().duration(a).style("opacity", 0).remove()
- }, f.addTransitionForRegion = function (a) {
- var b = this, c = b.regionX.bind(b), d = b.regionY.bind(b), e = b.regionWidth.bind(b), f = b.regionHeight.bind(b);
- a.push(b.mainRegion.selectAll("rect").transition().attr("x", c).attr("y", d).attr("width", e).attr("height", f).style("fill-opacity", function (a) {
- return j(a.opacity) ? a.opacity : .1
- }))
- }, f.regionX = function (a) {
- var b, c = this, d = c.config, e = "y" === a.axis ? c.y : c.y2;
- return b = "y" === a.axis || "y2" === a.axis ? d.axis_rotated && "start"in a ? e(a.start) : 0 : d.axis_rotated ? 0 : "start"in a ? c.x(c.isTimeSeries() ? c.parseDate(a.start) : a.start) : 0
- }, f.regionY = function (a) {
- var b, c = this, d = c.config, e = "y" === a.axis ? c.y : c.y2;
- return b = "y" === a.axis || "y2" === a.axis ? d.axis_rotated ? 0 : "end"in a ? e(a.end) : 0 : d.axis_rotated && "start"in a ? c.x(c.isTimeSeries() ? c.parseDate(a.start) : a.start) : 0
- }, f.regionWidth = function (a) {
- var b, c = this, d = c.config, e = c.regionX(a), f = "y" === a.axis ? c.y : c.y2;
- return b = "y" === a.axis || "y2" === a.axis ? d.axis_rotated && "end"in a ? f(a.end) : c.width : d.axis_rotated ? c.width : "end"in a ? c.x(c.isTimeSeries() ? c.parseDate(a.end) : a.end) : c.width, e > b ? 0 : b - e
- }, f.regionHeight = function (a) {
- var b, c = this, d = c.config, e = this.regionY(a), f = "y" === a.axis ? c.y : c.y2;
- return b = "y" === a.axis || "y2" === a.axis ? d.axis_rotated ? c.height : "start"in a ? f(a.start) : c.height : d.axis_rotated && "end"in a ? c.x(c.isTimeSeries() ? c.parseDate(a.end) : a.end) : c.height, e > b ? 0 : b - e
- }, f.isRegionOnX = function (a) {
- return !a.axis || "x" === a.axis
- }, f.drag = function (a) {
- var b, c, d, e, f, g, h, j, k = this, l = k.config, m = k.main, n = k.d3;
- k.hasArcType() || l.data_selection_enabled && (!l.zoom_enabled || k.zoom.altDomain) && l.data_selection_multiple && (b = k.dragStart[0], c = k.dragStart[1], d = a[0], e = a[1], f = Math.min(b, d), g = Math.max(b, d), h = l.data_selection_grouped ? k.margin.top : Math.min(c, e), j = l.data_selection_grouped ? k.height : Math.max(c, e), m.select("." + i.dragarea).attr("x", f).attr("y", h).attr("width", g - f).attr("height", j - h), m.selectAll("." + i.shapes).selectAll("." + i.shape).filter(function (a) {
- return l.data_selection_isselectable(a)
- }).each(function (a, b) {
- var c, d, e, l, m, o, p = n.select(this), q = p.classed(i.SELECTED), r = p.classed(i.INCLUDED), s = !1;
- if (p.classed(i.circle))c = 1 * p.attr("cx"), d = 1 * p.attr("cy"), m = k.togglePoint, s = c > f && g > c && d > h && j > d; else {
- if (!p.classed(i.bar))return;
- o = v(this), c = o.x, d = o.y, e = o.width, l = o.height, m = k.togglePath, s = !(c > g || f > c + e || d > j || h > d + l)
- }
- s ^ r && (p.classed(i.INCLUDED, !r), p.classed(i.SELECTED, !q), m.call(k, !q, p, a, b))
- }))
- }, f.dragstart = function (a) {
- var b = this, c = b.config;
- b.hasArcType() || c.data_selection_enabled && (b.dragStart = a, b.main.select("." + i.chart).append("rect").attr("class", i.dragarea).style("opacity", .1), b.dragging = !0, b.config.data_ondragstart.call(b.api))
- }, f.dragend = function () {
- var a = this, b = a.config;
- a.hasArcType() || b.data_selection_enabled && (a.main.select("." + i.dragarea).transition().duration(100).style("opacity", 0).remove(), a.main.selectAll("." + i.shape).classed(i.INCLUDED, !1), a.dragging = !1, a.config.data_ondragend.call(a.api))
- }, f.selectPoint = function (a, b, c) {
- var d = this, e = d.config, f = (e.axis_rotated ? d.circleY : d.circleX).bind(d), g = (e.axis_rotated ? d.circleX : d.circleY).bind(d), h = d.pointSelectR.bind(d);
- e.data_onselected.call(d.api, b, a.node()), d.main.select("." + i.selectedCircles + d.getTargetSelectorSuffix(b.id)).selectAll("." + i.selectedCircle + "-" + c).data([b]).enter().append("circle").attr("class", function () {
- return d.generateClass(i.selectedCircle, c)
- }).attr("cx", f).attr("cy", g).attr("stroke", function () {
- return d.color(b)
- }).attr("r", function (a) {
- return 1.4 * d.pointSelectR(a)
- }).transition().duration(100).attr("r", h)
- }, f.unselectPoint = function (a, b, c) {
- var d = this;
- d.config.data_onunselected(b, a.node()), d.main.select("." + i.selectedCircles + d.getTargetSelectorSuffix(b.id)).selectAll("." + i.selectedCircle + "-" + c).transition().duration(100).attr("r", 0).remove()
- }, f.togglePoint = function (a, b, c, d) {
- a ? this.selectPoint(b, c, d) : this.unselectPoint(b, c, d)
- }, f.selectPath = function (a, b) {
- var c = this;
- c.config.data_onselected.call(c, b, a.node()), a.transition().duration(100).style("fill", function () {
- return c.d3.rgb(c.color(b)).brighter(.75)
- })
- }, f.unselectPath = function (a, b) {
- var c = this;
- c.config.data_onunselected.call(c, b, a.node()), a.transition().duration(100).style("fill", function () {
- return c.color(b)
- })
- }, f.togglePath = function (a, b, c, d) {
- a ? this.selectPath(b, c, d) : this.unselectPath(b, c, d)
- },f.getToggle = function (a, b) {
- var c, d = this;
- return "circle" === a.nodeName ? c = d.isStepType(b) ? function () {
- } : d.togglePoint : "path" === a.nodeName && (c = d.togglePath), c
- },f.toggleShape = function (a, b, c) {
- var d = this, e = d.d3, f = d.config, g = e.select(a), h = g.classed(i.SELECTED), j = d.getToggle(a, b).bind(d);
- f.data_selection_enabled && f.data_selection_isselectable(b) && (f.data_selection_multiple || d.main.selectAll("." + i.shapes + (f.data_selection_grouped ? d.getTargetSelectorSuffix(b.id) : "")).selectAll("." + i.shape).each(function (a, b) {
- var c = e.select(this);
- c.classed(i.SELECTED) && j(!1, c.classed(i.SELECTED, !1), a, b)
- }), g.classed(i.SELECTED, !h), j(!h, g, b, c))
- },f.initBrush = function () {
- var a = this, b = a.d3;
- a.brush = b.svg.brush().on("brush", function () {
- a.redrawForBrush()
- }), a.brush.update = function () {
- return a.context && a.context.select("." + i.brush).call(this), this
- }, a.brush.scale = function (b) {
- return a.config.axis_rotated ? this.y(b) : this.x(b)
- }
- },f.initSubchart = function () {
- var a = this, b = a.config, c = a.context = a.svg.append("g").attr("transform", a.getTranslate("context"));
- b.subchart_show || c.style("visibility", "hidden"), c.append("g").attr("clip-path", a.clipPathForSubchart).attr("class", i.chart), c.select("." + i.chart).append("g").attr("class", i.chartBars), c.select("." + i.chart).append("g").attr("class", i.chartLines), c.append("g").attr("clip-path", a.clipPath).attr("class", i.brush).call(a.brush).selectAll("rect").attr(b.axis_rotated ? "width" : "height", b.axis_rotated ? a.width2 : a.height2), a.axes.subx = c.append("g").attr("class", i.axisX).attr("transform", a.getTranslate("subx")).attr("clip-path", b.axis_rotated ? "" : a.clipPathForXAxis)
- },f.updateTargetsForSubchart = function (a) {
- var b, c, d, e, f = this, g = f.context, h = f.config, j = f.classChartBar.bind(f), k = f.classBars.bind(f), l = f.classChartLine.bind(f), m = f.classLines.bind(f), n = f.classAreas.bind(f);
- h.subchart_show && (e = g.select("." + i.chartBars).selectAll("." + i.chartBar).data(a).attr("class", j), d = e.enter().append("g").style("opacity", 0).attr("class", j), d.append("g").attr("class", k), c = g.select("." + i.chartLines).selectAll("." + i.chartLine).data(a).attr("class", l), b = c.enter().append("g").style("opacity", 0).attr("class", l), b.append("g").attr("class", m), b.append("g").attr("class", n))
- },f.redrawSubchart = function (a, b, c, d, e, f, g) {
- var h, j, k, l, m, n, o = this, p = o.d3, q = o.context, r = o.config, s = o.barData.bind(o), t = o.lineData.bind(o), u = o.classBar.bind(o), v = o.classLine.bind(o), w = o.classArea.bind(o), x = o.initialOpacity.bind(o);
- r.subchart_show && (p.event && "zoom" === p.event.type && o.brush.extent(o.x.orgDomain()).update(), a && (o.brush.empty() || o.brush.extent(o.x.orgDomain()).update(), l = o.generateDrawArea(e, !0), m = o.generateDrawBar(f, !0), n = o.generateDrawLine(g, !0), k = q.selectAll("." + i.bars).selectAll("." + i.bar).data(s), k.enter().append("path").attr("class", u).style("stroke", "none").style("fill", o.color), k.style("opacity", x).transition().duration(c).attr("d", m).style("opacity", 1), k.exit().transition().duration(c).style("opacity", 0).remove(), h = q.selectAll("." + i.lines).selectAll("." + i.line).data(t), h.enter().append("path").attr("class", v).style("stroke", o.color), h.style("opacity", x).transition().duration(c).attr("d", n).style("opacity", 1), h.exit().transition().duration(c).style("opacity", 0).remove(), j = q.selectAll("." + i.areas).selectAll("." + i.area).data(t), j.enter().append("path").attr("class", w).style("fill", o.color).style("opacity", function () {
- return o.orgAreaOpacity = +p.select(this).style("opacity"), 0
- }), j.style("opacity", 0).transition().duration(c).attr("d", l).style("fill", o.color).style("opacity", o.orgAreaOpacity), j.exit().transition().duration(d).style("opacity", 0).remove()))
- },f.redrawForBrush = function () {
- var a = this, b = a.x;
- a.redraw({
- withTransition: !1,
- withY: a.config.zoom_rescale,
- withSubchart: !1,
- withUpdateXDomain: !0,
- withDimension: !1
- }), a.config.subchart_onbrush.call(a.api, b.orgDomain())
- },f.transformContext = function (a, b) {
- var c, d = this;
- b && b.axisSubX ? c = b.axisSubX : (c = d.context.select("." + i.axisX), a && (c = c.transition())), d.context.attr("transform", d.getTranslate("context")), c.attr("transform", d.getTranslate("subx"))
- },f.getDefaultExtent = function () {
- var a = this, b = a.config, c = k(b.axis_x_extent) ? b.axis_x_extent(a.getXDomain(a.data.targets)) : b.axis_x_extent;
- return a.isTimeSeries() && (c = [a.parseDate(c[0]), a.parseDate(c[1])]), c
- },f.initZoom = function () {
- var a, b = this, c = b.d3, d = b.config;
- b.zoom = c.behavior.zoom().on("zoomstart", function () {
- a = c.event.sourceEvent, b.zoom.altDomain = c.event.sourceEvent.altKey ? b.x.orgDomain() : null, d.zoom_onzoomstart.call(b.api, c.event.sourceEvent)
- }).on("zoom", function () {
- b.redrawForZoom.call(b)
- }).on("zoomend", function () {
- var e = c.event.sourceEvent;
- e && a.clientX === e.clientX && a.clientY === e.clientY || (b.redrawEventRect(), b.updateZoom(), d.zoom_onzoomend.call(b.api, b.x.orgDomain()))
- }), b.zoom.scale = function (a) {
- return d.axis_rotated ? this.y(a) : this.x(a)
- }, b.zoom.orgScaleExtent = function () {
- var a = d.zoom_extent ? d.zoom_extent : [1, 10];
- return [a[0], Math.max(b.getMaxDataCount() / a[1], a[1])]
- }, b.zoom.updateScaleExtent = function () {
- var a = q(b.x.orgDomain()) / q(b.orgXDomain), c = this.orgScaleExtent();
- return this.scaleExtent([c[0] * a, c[1] * a]), this
- }
- },f.updateZoom = function () {
- var a = this, b = a.config.zoom_enabled ? a.zoom : function () {
- };
- a.main.select("." + i.zoomRect).call(b).on("dblclick.zoom", null), a.main.selectAll("." + i.eventRect).call(b).on("dblclick.zoom", null)
- },f.redrawForZoom = function () {
- var a = this, b = a.d3, c = a.config, d = a.zoom, e = a.x;
- if (c.zoom_enabled && 0 !== a.filterTargetsToShow(a.data.targets).length) {
- if ("mousemove" === b.event.sourceEvent.type && d.altDomain)return e.domain(d.altDomain), void d.scale(e).updateScaleExtent();
- a.isCategorized() && e.orgDomain()[0] === a.orgXDomain[0] && e.domain([a.orgXDomain[0] - 1e-10, e.orgDomain()[1]]), a.redraw({
- withTransition: !1,
- withY: c.zoom_rescale,
- withSubchart: !1,
- withEventRect: !1,
- withDimension: !1
- }), "mousemove" === b.event.sourceEvent.type && (a.cancelClick = !0), c.zoom_onzoom.call(a.api, e.orgDomain())
- }
- },f.generateColor = function () {
- var a = this, b = a.config, c = a.d3, d = b.data_colors, e = s(b.color_pattern) ? b.color_pattern : c.scale.category10().range(), f = b.data_color, g = [];
- return function (a) {
- var b, c = a.id || a;
- return d[c]instanceof Function ? b = d[c](a) : d[c] ? b = d[c] : (g.indexOf(c) < 0 && g.push(c), b = e[g.indexOf(c) % e.length], d[c] = b), f instanceof Function ? f(b, a) : b
- }
- },f.generateLevelColor = function () {
- var a = this, b = a.config, c = b.color_pattern, d = b.color_threshold, e = "value" === d.unit, f = d.values && d.values.length ? d.values : [], g = d.max || 100;
- return s(b.color_threshold) ? function (a) {
- var b, d, h = c[c.length - 1];
- for (b = 0; b < f.length; b++)if (d = e ? a : 100 * a / g, d < f[b]) {
- h = c[b];
- break
- }
- return h
- } : null
- },f.getYFormat = function (a) {
- var b = this, c = a && !b.hasType("gauge") ? b.defaultArcValueFormat : b.yFormat, d = a && !b.hasType("gauge") ? b.defaultArcValueFormat : b.y2Format;
- return function (a, e, f) {
- var g = "y2" === b.getAxisId(f) ? d : c;
- return g.call(b, a, e)
- }
- },f.yFormat = function (a) {
- var b = this, c = b.config, d = c.axis_y_tick_format ? c.axis_y_tick_format : b.defaultValueFormat;
- return d(a)
- },f.y2Format = function (a) {
- var b = this, c = b.config, d = c.axis_y2_tick_format ? c.axis_y2_tick_format : b.defaultValueFormat;
- return d(a)
- },f.defaultValueFormat = function (a) {
- return j(a) ? +a : ""
- },f.defaultArcValueFormat = function (a, b) {
- return (100 * b).toFixed(1) + "%"
- },f.formatByAxisId = function (a) {
- var b = this, c = b.config.data_labels, d = function (a) {
- return j(a) ? +a : ""
- };
- return "function" == typeof c.format ? d = c.format : "object" == typeof c.format && c.format[a] && (d = c.format[a]), d
- },f.hasCaches = function (a) {
- for (var b = 0; b < a.length; b++)if (!(a[b]in this.cache))return !1;
- return !0
- },f.addCache = function (a, b) {
- this.cache[a] = this.cloneTarget(b)
- },f.getCaches = function (a) {
- var b, c = [];
- for (b = 0; b < a.length; b++)a[b]in this.cache && c.push(this.cloneTarget(this.cache[a[b]]));
- return c
- };
- var i = f.CLASS = {
- target: "c3-target",
- chart: "c3-chart",
- chartLine: "c3-chart-line",
- chartLines: "c3-chart-lines",
- chartBar: "c3-chart-bar",
- chartBars: "c3-chart-bars",
- chartText: "c3-chart-text",
- chartTexts: "c3-chart-texts",
- chartArc: "c3-chart-arc",
- chartArcs: "c3-chart-arcs",
- chartArcsTitle: "c3-chart-arcs-title",
- chartArcsBackground: "c3-chart-arcs-background",
- chartArcsGaugeUnit: "c3-chart-arcs-gauge-unit",
- chartArcsGaugeMax: "c3-chart-arcs-gauge-max",
- chartArcsGaugeMin: "c3-chart-arcs-gauge-min",
- selectedCircle: "c3-selected-circle",
- selectedCircles: "c3-selected-circles",
- eventRect: "c3-event-rect",
- eventRects: "c3-event-rects",
- eventRectsSingle: "c3-event-rects-single",
- eventRectsMultiple: "c3-event-rects-multiple",
- zoomRect: "c3-zoom-rect",
- brush: "c3-brush",
- focused: "c3-focused",
- defocused: "c3-defocused",
- region: "c3-region",
- regions: "c3-regions",
- tooltipContainer: "c3-tooltip-container",
- tooltip: "c3-tooltip",
- tooltipName: "c3-tooltip-name",
- shape: "c3-shape",
- shapes: "c3-shapes",
- line: "c3-line",
- lines: "c3-lines",
- bar: "c3-bar",
- bars: "c3-bars",
- circle: "c3-circle",
- circles: "c3-circles",
- arc: "c3-arc",
- arcs: "c3-arcs",
- area: "c3-area",
- areas: "c3-areas",
- empty: "c3-empty",
- text: "c3-text",
- texts: "c3-texts",
- gaugeValue: "c3-gauge-value",
- grid: "c3-grid",
- gridLines: "c3-grid-lines",
- xgrid: "c3-xgrid",
- xgrids: "c3-xgrids",
- xgridLine: "c3-xgrid-line",
- xgridLines: "c3-xgrid-lines",
- xgridFocus: "c3-xgrid-focus",
- ygrid: "c3-ygrid",
- ygrids: "c3-ygrids",
- ygridLine: "c3-ygrid-line",
- ygridLines: "c3-ygrid-lines",
- axis: "c3-axis",
- axisX: "c3-axis-x",
- axisXLabel: "c3-axis-x-label",
- axisY: "c3-axis-y",
- axisYLabel: "c3-axis-y-label",
- axisY2: "c3-axis-y2",
- axisY2Label: "c3-axis-y2-label",
- legendBackground: "c3-legend-background",
- legendItem: "c3-legend-item",
- legendItemEvent: "c3-legend-item-event",
- legendItemTile: "c3-legend-item-tile",
- legendItemHidden: "c3-legend-item-hidden",
- legendItemFocused: "c3-legend-item-focused",
- dragarea: "c3-dragarea",
- EXPANDED: "_expanded_",
- SELECTED: "_selected_",
- INCLUDED: "_included_"
- };
- f.generateClass = function (a, b) {
- return " " + a + " " + a + this.getTargetSelectorSuffix(b)
- }, f.classText = function (a) {
- return this.generateClass(i.text, a.index)
- }, f.classTexts = function (a) {
- return this.generateClass(i.texts, a.id)
- }, f.classShape = function (a) {
- return this.generateClass(i.shape, a.index)
- }, f.classShapes = function (a) {
- return this.generateClass(i.shapes, a.id)
- }, f.classLine = function (a) {
- return this.classShape(a) + this.generateClass(i.line, a.id)
- }, f.classLines = function (a) {
- return this.classShapes(a) + this.generateClass(i.lines, a.id)
- }, f.classCircle = function (a) {
- return this.classShape(a) + this.generateClass(i.circle, a.index)
- }, f.classCircles = function (a) {
- return this.classShapes(a) + this.generateClass(i.circles, a.id)
- }, f.classBar = function (a) {
- return this.classShape(a) + this.generateClass(i.bar, a.index)
- }, f.classBars = function (a) {
- return this.classShapes(a) + this.generateClass(i.bars, a.id)
- }, f.classArc = function (a) {
- return this.classShape(a.data) + this.generateClass(i.arc, a.data.id)
- }, f.classArcs = function (a) {
- return this.classShapes(a.data) + this.generateClass(i.arcs, a.data.id)
- }, f.classArea = function (a) {
- return this.classShape(a) + this.generateClass(i.area, a.id)
- }, f.classAreas = function (a) {
- return this.classShapes(a) + this.generateClass(i.areas, a.id)
- }, f.classRegion = function (a, b) {
- return this.generateClass(i.region, b) + " " + ("class"in a ? a["class"] : "")
- }, f.classEvent = function (a) {
- return this.generateClass(i.eventRect, a.index)
- }, f.classTarget = function (a) {
- var b = this, c = b.config.data_classes[a], d = "";
- return c && (d = " " + i.target + "-" + c), b.generateClass(i.target, a) + d
- }, f.classFocus = function (a) {
- return this.classFocused(a) + this.classDefocused(a)
- }, f.classFocused = function (a) {
- return " " + (this.focusedTargetIds.indexOf(a.id) >= 0 ? i.focused : "")
- }, f.classDefocused = function (a) {
- return " " + (this.defocusedTargetIds.indexOf(a.id) >= 0 ? i.defocused : "")
- }, f.classChartText = function (a) {
- return i.chartText + this.classTarget(a.id)
- }, f.classChartLine = function (a) {
- return i.chartLine + this.classTarget(a.id)
- }, f.classChartBar = function (a) {
- return i.chartBar + this.classTarget(a.id)
- }, f.classChartArc = function (a) {
- return i.chartArc + this.classTarget(a.data.id)
- }, f.getTargetSelectorSuffix = function (a) {
- return a || 0 === a ? ("-" + a).replace(/[\s?!@#$%^&*()_=+,.<>'":;\[\]\/|~`{}\\]/g, "-") : ""
- }, f.selectorTarget = function (a, b) {
- return (b || "") + "." + i.target + this.getTargetSelectorSuffix(a)
- }, f.selectorTargets = function (a, b) {
- var c = this;
- return a = a || [], a.length ? a.map(function (a) {
- return c.selectorTarget(a, b)
- }) : null
- }, f.selectorLegend = function (a) {
- return "." + i.legendItem + this.getTargetSelectorSuffix(a)
- }, f.selectorLegends = function (a) {
- var b = this;
- return a && a.length ? a.map(function (a) {
- return b.selectorLegend(a)
- }) : null
- };
- var j = f.isValue = function (a) {
- return a || 0 === a
- }, k = f.isFunction = function (a) {
- return "function" == typeof a
- }, l = f.isString = function (a) {
- return "string" == typeof a
- }, m = f.isUndefined = function (a) {
- return "undefined" == typeof a
- }, n = f.isDefined = function (a) {
- return "undefined" != typeof a
- }, o = f.ceil10 = function (a) {
- return 10 * Math.ceil(a / 10)
- }, p = f.asHalfPixel = function (a) {
- return Math.ceil(a) + .5
- }, q = f.diffDomain = function (a) {
- return a[1] - a[0]
- }, r = f.isEmpty = function (a) {
- return !a || l(a) && 0 === a.length || "object" == typeof a && 0 === Object.keys(a).length
- }, s = f.notEmpty = function (a) {
- return Object.keys(a).length > 0
- }, t = f.getOption = function (a, b, c) {
- return n(a[b]) ? a[b] : c
- }, u = f.hasValue = function (a, b) {
- var c = !1;
- return Object.keys(a).forEach(function (d) {
- a[d] === b && (c = !0)
- }), c
- }, v = f.getPathBox = function (a) {
- var b = a.getBoundingClientRect(), c = [a.pathSegList.getItem(0), a.pathSegList.getItem(1)], d = c[0].x, e = Math.min(c[0].y, c[1].y);
- return {x: d, y: e, width: b.width, height: b.height}
- };
- e.focus = function (a) {
- var b, c = this.internal;
- a = c.mapToTargetIds(a), b = c.svg.selectAll(c.selectorTargets(a.filter(c.isTargetToShow, c))), this.revert(), this.defocus(), b.classed(i.focused, !0).classed(i.defocused, !1), c.hasArcType() && c.expandArc(a), c.toggleFocusLegend(a, !0), c.focusedTargetIds = a, c.defocusedTargetIds = c.defocusedTargetIds.filter(function (b) {
- return a.indexOf(b) < 0
- })
- }, e.defocus = function (a) {
- var b, c = this.internal;
- a = c.mapToTargetIds(a), b = c.svg.selectAll(c.selectorTargets(a.filter(c.isTargetToShow, c))), this.revert(), b.classed(i.focused, !1).classed(i.defocused, !0), c.hasArcType() && c.unexpandArc(a), c.toggleFocusLegend(a, !1), c.focusedTargetIds = c.focusedTargetIds.filter(function (b) {
- return a.indexOf(b) < 0
- }), c.defocusedTargetIds = a
- }, e.revert = function (a) {
- var b, c = this.internal;
- a = c.mapToTargetIds(a), b = c.svg.selectAll(c.selectorTargets(a)), b.classed(i.focused, !1).classed(i.defocused, !1), c.hasArcType() && c.unexpandArc(a), c.config.legend_show && c.showLegend(a.filter(c.isLegendToShow.bind(c))), c.focusedTargetIds = [], c.defocusedTargetIds = []
- }, e.show = function (a, b) {
- var c, d = this.internal;
- a = d.mapToTargetIds(a), b = b || {}, d.removeHiddenTargetIds(a), c = d.svg.selectAll(d.selectorTargets(a)), c.transition().style("opacity", 1, "important").call(d.endall, function () {
- c.style("opacity", null).style("opacity", 1)
- }), b.withLegend && d.showLegend(a), d.redraw({withUpdateOrgXDomain: !0, withUpdateXDomain: !0, withLegend: !0})
- }, e.hide = function (a, b) {
- var c, d = this.internal;
- a = d.mapToTargetIds(a), b = b || {}, d.addHiddenTargetIds(a), c = d.svg.selectAll(d.selectorTargets(a)), c.transition().style("opacity", 0, "important").call(d.endall, function () {
- c.style("opacity", null).style("opacity", 0)
- }), b.withLegend && d.hideLegend(a), d.redraw({withUpdateOrgXDomain: !0, withUpdateXDomain: !0, withLegend: !0})
- }, e.toggle = function (a) {
- var b = this, c = this.internal;
- c.mapToTargetIds(a).forEach(function (a) {
- c.isTargetToShow(a) ? b.hide(a) : b.show(a)
- })
- }, e.zoom = function (a) {
- var b = this.internal;
- return a && (b.isTimeSeries() && (a = a.map(function (a) {
- return b.parseDate(a)
- })), b.brush.extent(a), b.redraw({
- withUpdateXDomain: !0,
- withY: b.config.zoom_rescale
- }), b.config.zoom_onzoom.call(this, b.x.orgDomain())), b.brush.extent()
- }, e.zoom.enable = function (a) {
- var b = this.internal;
- b.config.zoom_enabled = a, b.updateAndRedraw()
- }, e.unzoom = function () {
- var a = this.internal;
- a.brush.clear().update(), a.redraw({withUpdateXDomain: !0})
- }, e.load = function (a) {
- var b = this.internal, c = b.config;
- return a.xs && b.addXs(a.xs), "classes"in a && Object.keys(a.classes).forEach(function (b) {
- c.data_classes[b] = a.classes[b]
- }), "categories"in a && b.isCategorized() && (c.axis_x_categories = a.categories), "axes"in a && Object.keys(a.axes).forEach(function (b) {
- c.data_axes[b] = a.axes[b]
- }), "cacheIds"in a && b.hasCaches(a.cacheIds) ? void b.load(b.getCaches(a.cacheIds), a.done) : void("unload"in a ? b.unload(b.mapToTargetIds("boolean" == typeof a.unload && a.unload ? null : a.unload), function () {
- b.loadFromArgs(a)
- }) : b.loadFromArgs(a))
- }, e.unload = function (a) {
- var b = this.internal;
- a = a || {}, a instanceof Array ? a = {ids: a} : "string" == typeof a && (a = {ids: [a]}), b.unload(b.mapToTargetIds(a.ids), function () {
- b.redraw({withUpdateOrgXDomain: !0, withUpdateXDomain: !0, withLegend: !0}), a.done && a.done()
- })
- }, e.flow = function (a) {
- var b, c, d, e, f, g, h, i, k = this.internal, l = [], m = k.getMaxDataCount(), o = 0, p = 0;
- if (a.json)c = k.convertJsonToData(a.json, a.keys); else if (a.rows)c = k.convertRowsToData(a.rows); else {
- if (!a.columns)return;
- c = k.convertColumnsToData(a.columns)
- }
- b = k.convertDataToTargets(c, !0), k.data.targets.forEach(function (a) {
- var c, d, e = !1;
- for (c = 0; c < b.length; c++)if (a.id === b[c].id) {
- for (e = !0, a.values[a.values.length - 1] && (p = a.values[a.values.length - 1].index + 1), o = b[c].values.length, d = 0; o > d; d++)b[c].values[d].index = p + d, k.isTimeSeries() || (b[c].values[d].x = p + d);
- a.values = a.values.concat(b[c].values), b.splice(c, 1);
- break
- }
- e || l.push(a.id)
- }), k.data.targets.forEach(function (a) {
- var b, c;
- for (b = 0; b < l.length; b++)if (a.id === l[b])for (p = a.values[a.values.length - 1].index + 1, c = 0; o > c; c++)a.values.push({
- id: a.id,
- index: p + c,
- x: k.isTimeSeries() ? k.getOtherTargetX(p + c) : p + c,
- value: null
- })
- }), k.data.targets.length && b.forEach(function (a) {
- var b, c = [];
- for (b = k.data.targets[0].values[0].index; p > b; b++)c.push({
- id: a.id,
- index: b,
- x: k.isTimeSeries() ? k.getOtherTargetX(b) : b,
- value: null
- });
- a.values.forEach(function (a) {
- a.index += p, k.isTimeSeries() || (a.x += p)
- }), a.values = c.concat(a.values)
- }), k.data.targets = k.data.targets.concat(b), d = k.getMaxDataCount(), f = k.data.targets[0], g = f.values[0], n(a.to) ? (o = 0, i = k.isTimeSeries() ? k.parseDate(a.to) : a.to, f.values.forEach(function (a) {
- a.x < i && o++
- })) : n(a.length) && (o = a.length), m ? 1 === m && k.isTimeSeries() && (h = (f.values[f.values.length - 1].x - g.x) / 2, e = [new Date(+g.x - h), new Date(+g.x + h)], k.updateXDomain(null, !0, !0, !1, e)) : (h = k.isTimeSeries() ? f.values.length > 1 ? f.values[f.values.length - 1].x - g.x : g.x - k.getXDomain(k.data.targets)[0] : 1, e = [g.x - h, g.x], k.updateXDomain(null, !0, !0, !1, e)), k.updateTargets(k.data.targets), k.redraw({
- flow: {
- index: g.index,
- length: o,
- duration: j(a.duration) ? a.duration : k.config.transition_duration,
- done: a.done,
- orgDataCount: m
- }, withLegend: !0, withTransition: m > 1, withTrimXDomain: !1, withUpdateXAxis: !0
- })
- }, f.generateFlow = function (a) {
- var b = this, c = b.config, d = b.d3;
- return function () {
- var e, f, g, h = a.targets, j = a.flow, k = a.drawBar, l = a.drawLine, m = a.drawArea, n = a.cx, o = a.cy, p = a.xv, r = a.xForText, s = a.yForText, t = a.duration, u = 1, v = j.index, w = j.length, x = b.getValueOnIndex(b.data.targets[0].values, v), y = b.getValueOnIndex(b.data.targets[0].values, v + w), z = b.x.domain(), A = j.duration || t, B = j.done || function () {
- }, C = b.generateWait(), D = b.xgrid || d.selectAll([]), E = b.xgridLines || d.selectAll([]), F = b.mainRegion || d.selectAll([]), G = b.mainText || d.selectAll([]), H = b.mainBar || d.selectAll([]), I = b.mainLine || d.selectAll([]), J = b.mainArea || d.selectAll([]), K = b.mainCircle || d.selectAll([]);
- b.flowing = !0, b.data.targets.forEach(function (a) {
- a.values.splice(0, w)
- }), g = b.updateXDomain(h, !0, !0), b.updateXGrid && b.updateXGrid(!0), j.orgDataCount ? e = 1 === j.orgDataCount || x.x === y.x ? b.x(z[0]) - b.x(g[0]) : b.isTimeSeries() ? b.x(z[0]) - b.x(g[0]) : b.x(x.x) - b.x(y.x) : 1 !== b.data.targets[0].values.length ? e = b.x(z[0]) - b.x(g[0]) : b.isTimeSeries() ? (x = b.getValueOnIndex(b.data.targets[0].values, 0), y = b.getValueOnIndex(b.data.targets[0].values, b.data.targets[0].values.length - 1), e = b.x(x.x) - b.x(y.x)) : e = q(g) / 2, u = q(z) / q(g), f = "translate(" + e + ",0) scale(" + u + ",1)", b.hideXGridFocus(), b.hideTooltip(), d.transition().ease("linear").duration(A).each(function () {
- C.add(b.axes.x.transition().call(b.xAxis)), C.add(H.transition().attr("transform", f)), C.add(I.transition().attr("transform", f)), C.add(J.transition().attr("transform", f)), C.add(K.transition().attr("transform", f)), C.add(G.transition().attr("transform", f)), C.add(F.filter(b.isRegionOnX).transition().attr("transform", f)), C.add(D.transition().attr("transform", f)), C.add(E.transition().attr("transform", f))
- }).call(C, function () {
- var a, d = [], e = [], f = [];
- if (w) {
- for (a = 0; w > a; a++)d.push("." + i.shape + "-" + (v + a)), e.push("." + i.text + "-" + (v + a)), f.push("." + i.eventRect + "-" + (v + a));
- b.svg.selectAll("." + i.shapes).selectAll(d).remove(), b.svg.selectAll("." + i.texts).selectAll(e).remove(), b.svg.selectAll("." + i.eventRects).selectAll(f).remove(), b.svg.select("." + i.xgrid).remove()
- }
- D.attr("transform", null).attr(b.xgridAttr), E.attr("transform", null), E.select("line").attr("x1", c.axis_rotated ? 0 : p).attr("x2", c.axis_rotated ? b.width : p), E.select("text").attr("x", c.axis_rotated ? b.width : 0).attr("y", p), H.attr("transform", null).attr("d", k), I.attr("transform", null).attr("d", l), J.attr("transform", null).attr("d", m), K.attr("transform", null).attr("cx", n).attr("cy", o), G.attr("transform", null).attr("x", r).attr("y", s).style("fill-opacity", b.opacityForText.bind(b)), F.attr("transform", null), F.select("rect").filter(b.isRegionOnX).attr("x", b.regionX.bind(b)).attr("width", b.regionWidth.bind(b)), c.interaction_enabled && b.redrawEventRect(), B(), b.flowing = !1
- })
- }
- }, e.selected = function (a) {
- var b = this.internal, c = b.d3;
- return c.merge(b.main.selectAll("." + i.shapes + b.getTargetSelectorSuffix(a)).selectAll("." + i.shape).filter(function () {
- return c.select(this).classed(i.SELECTED)
- }).map(function (a) {
- return a.map(function (a) {
- var b = a.__data__;
- return b.data ? b.data : b
- })
- }))
- }, e.select = function (a, b, c) {
- var d = this.internal, e = d.d3, f = d.config;
- f.data_selection_enabled && d.main.selectAll("." + i.shapes).selectAll("." + i.shape).each(function (g, h) {
- var j = e.select(this), k = g.data ? g.data.id : g.id, l = d.getToggle(this, g).bind(d), m = f.data_selection_grouped || !a || a.indexOf(k) >= 0, o = !b || b.indexOf(h) >= 0, p = j.classed(i.SELECTED);
- j.classed(i.line) || j.classed(i.area) || (m && o ? f.data_selection_isselectable(g) && !p && l(!0, j.classed(i.SELECTED, !0), g, h) : n(c) && c && p && l(!1, j.classed(i.SELECTED, !1), g, h))
- })
- }, e.unselect = function (a, b) {
- var c = this.internal, d = c.d3, e = c.config;
- e.data_selection_enabled && c.main.selectAll("." + i.shapes).selectAll("." + i.shape).each(function (f, g) {
- var h = d.select(this), j = f.data ? f.data.id : f.id, k = c.getToggle(this, f).bind(c), l = e.data_selection_grouped || !a || a.indexOf(j) >= 0, m = !b || b.indexOf(g) >= 0, n = h.classed(i.SELECTED);
- h.classed(i.line) || h.classed(i.area) || l && m && e.data_selection_isselectable(f) && n && k(!1, h.classed(i.SELECTED, !1), f, g)
- })
- }, e.transform = function (a, b) {
- var c = this.internal, d = ["pie", "donut"].indexOf(a) >= 0 ? {withTransform: !0} : null;
- c.transformTo(b, a, d)
- }, f.transformTo = function (a, b, c) {
- var d = this, e = !d.hasArcType(), f = c || {withTransitionForAxis: e};
- f.withTransitionForTransform = !1, d.transiting = !1, d.setTargetType(a, b), d.updateAndRedraw(f)
- }, e.groups = function (a) {
- var b = this.internal, c = b.config;
- return m(a) ? c.data_groups : (c.data_groups = a, b.redraw(), c.data_groups)
- }, e.xgrids = function (a) {
- var b = this.internal, c = b.config;
- return a ? (c.grid_x_lines = a, b.redrawWithoutRescale(), c.grid_x_lines) : c.grid_x_lines
- }, e.xgrids.add = function (a) {
- var b = this.internal;
- return this.xgrids(b.config.grid_x_lines.concat(a ? a : []))
- }, e.xgrids.remove = function (a) {
- var b = this.internal;
- b.removeGridLines(a, !0)
- }, e.ygrids = function (a) {
- var b = this.internal, c = b.config;
- return a ? (c.grid_y_lines = a, b.redrawWithoutRescale(), c.grid_y_lines) : c.grid_y_lines
- }, e.ygrids.add = function (a) {
- var b = this.internal;
- return this.ygrids(b.config.grid_y_lines.concat(a ? a : []))
- }, e.ygrids.remove = function (a) {
- var b = this.internal;
- b.removeGridLines(a, !1)
- }, e.regions = function (a) {
- var b = this.internal, c = b.config;
- return a ? (c.regions = a, b.redrawWithoutRescale(), c.regions) : c.regions
- }, e.regions.add = function (a) {
- var b = this.internal, c = b.config;
- return a ? (c.regions = c.regions.concat(a), b.redrawWithoutRescale(), c.regions) : c.regions
- }, e.regions.remove = function (a) {
- var b, c, d, e = this.internal, f = e.config;
- return a = a || {}, b = e.getOption(a, "duration", f.transition_duration), c = e.getOption(a, "classes", [i.region]), d = e.main.select("." + i.regions).selectAll(c.map(function (a) {
- return "." + a
- })), (b ? d.transition().duration(b) : d).style("opacity", 0).remove(), f.regions = f.regions.filter(function (a) {
- var b = !1;
- return a["class"] ? (a["class"].split(" ").forEach(function (a) {
- c.indexOf(a) >= 0 && (b = !0)
- }), !b) : !0
- }), f.regions
- }, e.data = function (a) {
- var b = this.internal.data.targets;
- return "undefined" == typeof a ? b : b.filter(function (b) {
- return [].concat(a).indexOf(b.id) >= 0
- })
- }, e.data.shown = function (a) {
- return this.internal.filterTargetsToShow(this.data(a))
- }, e.data.values = function (a) {
- var b, c = null;
- return a && (b = this.data(a), c = b[0] ? b[0].values.map(function (a) {
- return a.value
- }) : null), c
- }, e.data.names = function (a) {
- return this.internal.clearLegendItemTextBoxCache(), this.internal.updateDataAttributes("names", a)
- }, e.data.colors = function (a) {
- return this.internal.updateDataAttributes("colors", a)
- }, e.data.axes = function (a) {
- return this.internal.updateDataAttributes("axes", a)
- }, e.category = function (a, b) {
- var c = this.internal, d = c.config;
- return arguments.length > 1 && (d.axis_x_categories[a] = b, c.redraw()), d.axis_x_categories[a]
- }, e.categories = function (a) {
- var b = this.internal, c = b.config;
- return arguments.length ? (c.axis_x_categories = a, b.redraw(), c.axis_x_categories) : c.axis_x_categories
- }, e.color = function (a) {
- var b = this.internal;
- return b.color(a)
- }, e.x = function (a) {
- var b = this.internal;
- return arguments.length && (b.updateTargetX(b.data.targets, a), b.redraw({
- withUpdateOrgXDomain: !0,
- withUpdateXDomain: !0
- })), b.data.xs
- }, e.xs = function (a) {
- var b = this.internal;
- return arguments.length && (b.updateTargetXs(b.data.targets, a), b.redraw({
- withUpdateOrgXDomain: !0,
- withUpdateXDomain: !0
- })), b.data.xs
- }, e.axis = function () {
- }, e.axis.labels = function (a) {
- var b = this.internal;
- arguments.length && (Object.keys(a).forEach(function (c) {
- b.setAxisLabelText(c, a[c])
- }), b.updateAxisLabels())
- }, e.axis.max = function (a) {
- var b = this.internal, c = b.config;
- return arguments.length ? ("object" == typeof a ? (j(a.x) && (c.axis_x_max = a.x), j(a.y) && (c.axis_y_max = a.y), j(a.y2) && (c.axis_y2_max = a.y2)) : c.axis_y_max = c.axis_y2_max = a, void b.redraw({
- withUpdateOrgXDomain: !0,
- withUpdateXDomain: !0
- })) : {x: c.axis_x_max, y: c.axis_y_max, y2: c.axis_y2_max}
- }, e.axis.min = function (a) {
- var b = this.internal, c = b.config;
- return arguments.length ? ("object" == typeof a ? (j(a.x) && (c.axis_x_min = a.x), j(a.y) && (c.axis_y_min = a.y), j(a.y2) && (c.axis_y2_min = a.y2)) : c.axis_y_min = c.axis_y2_min = a, void b.redraw({
- withUpdateOrgXDomain: !0,
- withUpdateXDomain: !0
- })) : {x: c.axis_x_min, y: c.axis_y_min, y2: c.axis_y2_min}
- }, e.axis.range = function (a) {
- return arguments.length ? (n(a.max) && this.axis.max(a.max), void(n(a.min) && this.axis.min(a.min))) : {
- max: this.axis.max(),
- min: this.axis.min()
- }
- }, e.legend = function () {
- }, e.legend.show = function (a) {
- var b = this.internal;
- b.showLegend(b.mapToTargetIds(a)), b.updateAndRedraw({withLegend: !0})
- }, e.legend.hide = function (a) {
- var b = this.internal;
- b.hideLegend(b.mapToTargetIds(a)), b.updateAndRedraw({withLegend: !0})
- }, e.resize = function (a) {
- var b = this.internal, c = b.config;
- c.size_width = a ? a.width : null, c.size_height = a ? a.height : null, this.flush()
- }, e.flush = function () {
- var a = this.internal;
- a.updateAndRedraw({withLegend: !0, withTransition: !1, withTransitionForTransform: !1})
- }, e.destroy = function () {
- var b = this.internal;
- b.data.targets = void 0, b.data.xs = {}, b.selectChart.classed("c3", !1).html(""), a.clearInterval(b.intervalForObserveInserted), a.onresize = null
- }, e.tooltip = function () {
- }, e.tooltip.show = function (a) {
- var b, c, d = this.internal;
- a.mouse && (c = a.mouse), a.data ? d.isMultipleX() ? (c = [d.x(a.data.x), d.getYScale(a.data.id)(a.data.value)], b = null) : b = j(a.data.index) ? a.data.index : d.getIndexByX(a.data.x) : "undefined" != typeof a.x ? b = d.getIndexByX(a.x) : "undefined" != typeof a.index && (b = a.index), d.dispatchEvent("mouseover", b, c), d.dispatchEvent("mousemove", b, c)
- }, e.tooltip.hide = function () {
- this.internal.dispatchEvent("mouseout", 0)
- };
- var w;
- "function" == typeof define && define.amd ? define("c3", ["d3"], g) : "undefined" != typeof exports && "undefined" != typeof module ? module.exports = g : a.c3 = g
-}(window); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/d3.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/d3.min.js
deleted file mode 100644
index 3ff71133..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/d3.min.js
+++ /dev/null
@@ -1,6152 +0,0 @@
-!function () {
- function n(n, t) {
- return t > n ? -1 : n > t ? 1 : n >= t ? 0 : 0 / 0
- }
-
- function t(n) {
- return null === n ? 0 / 0 : +n
- }
-
- function e(n) {
- return !isNaN(n)
- }
-
- function r(n) {
- return {
- left: function (t, e, r, u) {
- for (arguments.length < 3 && (r = 0), arguments.length < 4 && (u = t.length); u > r;) {
- var i = r + u >>> 1;
- n(t[i], e) < 0 ? r = i + 1 : u = i
- }
- return r
- }, right: function (t, e, r, u) {
- for (arguments.length < 3 && (r = 0), arguments.length < 4 && (u = t.length); u > r;) {
- var i = r + u >>> 1;
- n(t[i], e) > 0 ? u = i : r = i + 1
- }
- return r
- }
- }
- }
-
- function u(n) {
- return n.length
- }
-
- function i(n) {
- for (var t = 1; n * t % 1;)t *= 10;
- return t
- }
-
- function o(n, t) {
- for (var e in t)Object.defineProperty(n.prototype, e, {value: t[e], enumerable: !1})
- }
-
- function a() {
- this._ = Object.create(null)
- }
-
- function c(n) {
- return (n += "") === la || n[0] === sa ? sa + n : n
- }
-
- function l(n) {
- return (n += "")[0] === sa ? n.slice(1) : n
- }
-
- function s(n) {
- return c(n)in this._
- }
-
- function f(n) {
- return (n = c(n))in this._ && delete this._[n]
- }
-
- function h() {
- var n = [];
- for (var t in this._)n.push(l(t));
- return n
- }
-
- function g() {
- var n = 0;
- for (var t in this._)++n;
- return n
- }
-
- function p() {
- for (var n in this._)return !1;
- return !0
- }
-
- function v() {
- this._ = Object.create(null)
- }
-
- function d(n, t, e) {
- return function () {
- var r = e.apply(t, arguments);
- return r === t ? n : r
- }
- }
-
- function m(n, t) {
- if (t in n)return t;
- t = t.charAt(0).toUpperCase() + t.slice(1);
- for (var e = 0, r = fa.length; r > e; ++e) {
- var u = fa[e] + t;
- if (u in n)return u
- }
- }
-
- function y() {
- }
-
- function x() {
- }
-
- function M(n) {
- function t() {
- for (var t, r = e, u = -1, i = r.length; ++u < i;)(t = r[u].on) && t.apply(this, arguments);
- return n
- }
-
- var e = [], r = new a;
- return t.on = function (t, u) {
- var i, o = r.get(t);
- return arguments.length < 2 ? o && o.on : (o && (o.on = null, e = e.slice(0, i = e.indexOf(o)).concat(e.slice(i + 1)), r.remove(t)), u && e.push(r.set(t, {on: u})), n)
- }, t
- }
-
- function _() {
- Bo.event.preventDefault()
- }
-
- function b() {
- for (var n, t = Bo.event; n = t.sourceEvent;)t = n;
- return t
- }
-
- function w(n) {
- for (var t = new x, e = 0, r = arguments.length; ++e < r;)t[arguments[e]] = M(t);
- return t.of = function (e, r) {
- return function (u) {
- try {
- var i = u.sourceEvent = Bo.event;
- u.target = n, Bo.event = u, t[u.type].apply(e, r)
- } finally {
- Bo.event = i
- }
- }
- }, t
- }
-
- function S(n) {
- return ga(n, ya), n
- }
-
- function k(n) {
- return "function" == typeof n ? n : function () {
- return pa(n, this)
- }
- }
-
- function E(n) {
- return "function" == typeof n ? n : function () {
- return va(n, this)
- }
- }
-
- function A(n, t) {
- function e() {
- this.removeAttribute(n)
- }
-
- function r() {
- this.removeAttributeNS(n.space, n.local)
- }
-
- function u() {
- this.setAttribute(n, t)
- }
-
- function i() {
- this.setAttributeNS(n.space, n.local, t)
- }
-
- function o() {
- var e = t.apply(this, arguments);
- null == e ? this.removeAttribute(n) : this.setAttribute(n, e)
- }
-
- function a() {
- var e = t.apply(this, arguments);
- null == e ? this.removeAttributeNS(n.space, n.local) : this.setAttributeNS(n.space, n.local, e)
- }
-
- return n = Bo.ns.qualify(n), null == t ? n.local ? r : e : "function" == typeof t ? n.local ? a : o : n.local ? i : u
- }
-
- function C(n) {
- return n.trim().replace(/\s+/g, " ")
- }
-
- function N(n) {
- return new RegExp("(?:^|\\s+)" + Bo.requote(n) + "(?:\\s+|$)", "g")
- }
-
- function z(n) {
- return (n + "").trim().split(/^|\s+/)
- }
-
- function L(n, t) {
- function e() {
- for (var e = -1; ++e < u;)n[e](this, t)
- }
-
- function r() {
- for (var e = -1, r = t.apply(this, arguments); ++e < u;)n[e](this, r)
- }
-
- n = z(n).map(T);
- var u = n.length;
- return "function" == typeof t ? r : e
- }
-
- function T(n) {
- var t = N(n);
- return function (e, r) {
- if (u = e.classList)return r ? u.add(n) : u.remove(n);
- var u = e.getAttribute("class") || "";
- r ? (t.lastIndex = 0, t.test(u) || e.setAttribute("class", C(u + " " + n))) : e.setAttribute("class", C(u.replace(t, " ")))
- }
- }
-
- function q(n, t, e) {
- function r() {
- this.style.removeProperty(n)
- }
-
- function u() {
- this.style.setProperty(n, t, e)
- }
-
- function i() {
- var r = t.apply(this, arguments);
- null == r ? this.style.removeProperty(n) : this.style.setProperty(n, r, e)
- }
-
- return null == t ? r : "function" == typeof t ? i : u
- }
-
- function R(n, t) {
- function e() {
- delete this[n]
- }
-
- function r() {
- this[n] = t
- }
-
- function u() {
- var e = t.apply(this, arguments);
- null == e ? delete this[n] : this[n] = e
- }
-
- return null == t ? e : "function" == typeof t ? u : r
- }
-
- function D(n) {
- return "function" == typeof n ? n : (n = Bo.ns.qualify(n)).local ? function () {
- return this.ownerDocument.createElementNS(n.space, n.local)
- } : function () {
- return this.ownerDocument.createElementNS(this.namespaceURI, n)
- }
- }
-
- function P(n) {
- return {__data__: n}
- }
-
- function U(n) {
- return function () {
- return ma(this, n)
- }
- }
-
- function j(t) {
- return arguments.length || (t = n), function (n, e) {
- return n && e ? t(n.__data__, e.__data__) : !n - !e
- }
- }
-
- function F(n, t) {
- for (var e = 0, r = n.length; r > e; e++)for (var u, i = n[e], o = 0, a = i.length; a > o; o++)(u = i[o]) && t(u, o, e);
- return n
- }
-
- function H(n) {
- return ga(n, Ma), n
- }
-
- function O(n) {
- var t, e;
- return function (r, u, i) {
- var o, a = n[i].update, c = a.length;
- for (i != e && (e = i, t = 0), u >= t && (t = u + 1); !(o = a[t]) && ++t < c;);
- return o
- }
- }
-
- function Y() {
- var n = this.__transition__;
- n && ++n.active
- }
-
- function I(n, t, e) {
- function r() {
- var t = this[o];
- t && (this.removeEventListener(n, t, t.$), delete this[o])
- }
-
- function u() {
- var u = c(t, Jo(arguments));
- r.call(this), this.addEventListener(n, this[o] = u, u.$ = e), u._ = t
- }
-
- function i() {
- var t, e = new RegExp("^__on([^.]+)" + Bo.requote(n) + "$");
- for (var r in this)if (t = r.match(e)) {
- var u = this[r];
- this.removeEventListener(t[1], u, u.$), delete this[r]
- }
- }
-
- var o = "__on" + n, a = n.indexOf("."), c = Z;
- a > 0 && (n = n.slice(0, a));
- var l = ba.get(n);
- return l && (n = l, c = V), a ? t ? u : r : t ? y : i
- }
-
- function Z(n, t) {
- return function (e) {
- var r = Bo.event;
- Bo.event = e, t[0] = this.__data__;
- try {
- n.apply(this, t)
- } finally {
- Bo.event = r
- }
- }
- }
-
- function V(n, t) {
- var e = Z(n, t);
- return function (n) {
- var t = this, r = n.relatedTarget;
- r && (r === t || 8 & r.compareDocumentPosition(t)) || e.call(t, n)
- }
- }
-
- function X() {
- var n = ".dragsuppress-" + ++Sa, t = "click" + n, e = Bo.select(Qo).on("touchmove" + n, _).on("dragstart" + n, _).on("selectstart" + n, _);
- if (wa) {
- var r = Ko.style, u = r[wa];
- r[wa] = "none"
- }
- return function (i) {
- function o() {
- e.on(t, null)
- }
-
- e.on(n, null), wa && (r[wa] = u), i && (e.on(t, function () {
- _(), o()
- }, !0), setTimeout(o, 0))
- }
- }
-
- function $(n, t) {
- t.changedTouches && (t = t.changedTouches[0]);
- var e = n.ownerSVGElement || n;
- if (e.createSVGPoint) {
- var r = e.createSVGPoint();
- if (0 > ka && (Qo.scrollX || Qo.scrollY)) {
- e = Bo.select("body").append("svg").style({
- position: "absolute",
- top: 0,
- left: 0,
- margin: 0,
- padding: 0,
- border: "none"
- }, "important");
- var u = e[0][0].getScreenCTM();
- ka = !(u.f || u.e), e.remove()
- }
- return ka ? (r.x = t.pageX, r.y = t.pageY) : (r.x = t.clientX, r.y = t.clientY), r = r.matrixTransform(n.getScreenCTM().inverse()), [r.x, r.y]
- }
- var i = n.getBoundingClientRect();
- return [t.clientX - i.left - n.clientLeft, t.clientY - i.top - n.clientTop]
- }
-
- function B() {
- return Bo.event.changedTouches[0].identifier
- }
-
- function W() {
- return Bo.event.target
- }
-
- function J() {
- return Qo
- }
-
- function G(n) {
- return n > 0 ? 1 : 0 > n ? -1 : 0
- }
-
- function K(n, t, e) {
- return (t[0] - n[0]) * (e[1] - n[1]) - (t[1] - n[1]) * (e[0] - n[0])
- }
-
- function Q(n) {
- return n > 1 ? 0 : -1 > n ? Ea : Math.acos(n)
- }
-
- function nt(n) {
- return n > 1 ? Ca : -1 > n ? -Ca : Math.asin(n)
- }
-
- function tt(n) {
- return ((n = Math.exp(n)) - 1 / n) / 2
- }
-
- function et(n) {
- return ((n = Math.exp(n)) + 1 / n) / 2
- }
-
- function rt(n) {
- return ((n = Math.exp(2 * n)) - 1) / (n + 1)
- }
-
- function ut(n) {
- return (n = Math.sin(n / 2)) * n
- }
-
- function it() {
- }
-
- function ot(n, t, e) {
- return this instanceof ot ? (this.h = +n, this.s = +t, void(this.l = +e)) : arguments.length < 2 ? n instanceof ot ? new ot(n.h, n.s, n.l) : Mt("" + n, _t, ot) : new ot(n, t, e)
- }
-
- function at(n, t, e) {
- function r(n) {
- return n > 360 ? n -= 360 : 0 > n && (n += 360), 60 > n ? i + (o - i) * n / 60 : 180 > n ? o : 240 > n ? i + (o - i) * (240 - n) / 60 : i
- }
-
- function u(n) {
- return Math.round(255 * r(n))
- }
-
- var i, o;
- return n = isNaN(n) ? 0 : (n %= 360) < 0 ? n + 360 : n, t = isNaN(t) ? 0 : 0 > t ? 0 : t > 1 ? 1 : t, e = 0 > e ? 0 : e > 1 ? 1 : e, o = .5 >= e ? e * (1 + t) : e + t - e * t, i = 2 * e - o, new dt(u(n + 120), u(n), u(n - 120))
- }
-
- function ct(n, t, e) {
- return this instanceof ct ? (this.h = +n, this.c = +t, void(this.l = +e)) : arguments.length < 2 ? n instanceof ct ? new ct(n.h, n.c, n.l) : n instanceof st ? ht(n.l, n.a, n.b) : ht((n = bt((n = Bo.rgb(n)).r, n.g, n.b)).l, n.a, n.b) : new ct(n, t, e)
- }
-
- function lt(n, t, e) {
- return isNaN(n) && (n = 0), isNaN(t) && (t = 0), new st(e, Math.cos(n *= La) * t, Math.sin(n) * t)
- }
-
- function st(n, t, e) {
- return this instanceof st ? (this.l = +n, this.a = +t, void(this.b = +e)) : arguments.length < 2 ? n instanceof st ? new st(n.l, n.a, n.b) : n instanceof ct ? lt(n.h, n.c, n.l) : bt((n = dt(n)).r, n.g, n.b) : new st(n, t, e)
- }
-
- function ft(n, t, e) {
- var r = (n + 16) / 116, u = r + t / 500, i = r - e / 200;
- return u = gt(u) * Ya, r = gt(r) * Ia, i = gt(i) * Za, new dt(vt(3.2404542 * u - 1.5371385 * r - .4985314 * i), vt(-.969266 * u + 1.8760108 * r + .041556 * i), vt(.0556434 * u - .2040259 * r + 1.0572252 * i))
- }
-
- function ht(n, t, e) {
- return n > 0 ? new ct(Math.atan2(e, t) * Ta, Math.sqrt(t * t + e * e), n) : new ct(0 / 0, 0 / 0, n)
- }
-
- function gt(n) {
- return n > .206893034 ? n * n * n : (n - 4 / 29) / 7.787037
- }
-
- function pt(n) {
- return n > .008856 ? Math.pow(n, 1 / 3) : 7.787037 * n + 4 / 29
- }
-
- function vt(n) {
- return Math.round(255 * (.00304 >= n ? 12.92 * n : 1.055 * Math.pow(n, 1 / 2.4) - .055))
- }
-
- function dt(n, t, e) {
- return this instanceof dt ? (this.r = ~~n, this.g = ~~t, void(this.b = ~~e)) : arguments.length < 2 ? n instanceof dt ? new dt(n.r, n.g, n.b) : Mt("" + n, dt, at) : new dt(n, t, e)
- }
-
- function mt(n) {
- return new dt(n >> 16, 255 & n >> 8, 255 & n)
- }
-
- function yt(n) {
- return mt(n) + ""
- }
-
- function xt(n) {
- return 16 > n ? "0" + Math.max(0, n).toString(16) : Math.min(255, n).toString(16)
- }
-
- function Mt(n, t, e) {
- var r, u, i, o = 0, a = 0, c = 0;
- if (r = /([a-z]+)\((.*)\)/i.exec(n))switch (u = r[2].split(","), r[1]) {
- case"hsl":
- return e(parseFloat(u[0]), parseFloat(u[1]) / 100, parseFloat(u[2]) / 100);
- case"rgb":
- return t(St(u[0]), St(u[1]), St(u[2]))
- }
- return (i = $a.get(n)) ? t(i.r, i.g, i.b) : (null == n || "#" !== n.charAt(0) || isNaN(i = parseInt(n.slice(1), 16)) || (4 === n.length ? (o = (3840 & i) >> 4, o = o >> 4 | o, a = 240 & i, a = a >> 4 | a, c = 15 & i, c = c << 4 | c) : 7 === n.length && (o = (16711680 & i) >> 16, a = (65280 & i) >> 8, c = 255 & i)), t(o, a, c))
- }
-
- function _t(n, t, e) {
- var r, u, i = Math.min(n /= 255, t /= 255, e /= 255), o = Math.max(n, t, e), a = o - i, c = (o + i) / 2;
- return a ? (u = .5 > c ? a / (o + i) : a / (2 - o - i), r = n == o ? (t - e) / a + (e > t ? 6 : 0) : t == o ? (e - n) / a + 2 : (n - t) / a + 4, r *= 60) : (r = 0 / 0, u = c > 0 && 1 > c ? 0 : r), new ot(r, u, c)
- }
-
- function bt(n, t, e) {
- n = wt(n), t = wt(t), e = wt(e);
- var r = pt((.4124564 * n + .3575761 * t + .1804375 * e) / Ya), u = pt((.2126729 * n + .7151522 * t + .072175 * e) / Ia), i = pt((.0193339 * n + .119192 * t + .9503041 * e) / Za);
- return st(116 * u - 16, 500 * (r - u), 200 * (u - i))
- }
-
- function wt(n) {
- return (n /= 255) <= .04045 ? n / 12.92 : Math.pow((n + .055) / 1.055, 2.4)
- }
-
- function St(n) {
- var t = parseFloat(n);
- return "%" === n.charAt(n.length - 1) ? Math.round(2.55 * t) : t
- }
-
- function kt(n) {
- return "function" == typeof n ? n : function () {
- return n
- }
- }
-
- function Et(n) {
- return n
- }
-
- function At(n) {
- return function (t, e, r) {
- return 2 === arguments.length && "function" == typeof e && (r = e, e = null), Ct(t, e, n, r)
- }
- }
-
- function Ct(n, t, e, r) {
- function u() {
- var n, t = c.status;
- if (!t && zt(c) || t >= 200 && 300 > t || 304 === t) {
- try {
- n = e.call(i, c)
- } catch (r) {
- return o.error.call(i, r), void 0
- }
- o.load.call(i, n)
- } else o.error.call(i, c)
- }
-
- var i = {}, o = Bo.dispatch("beforesend", "progress", "load", "error"), a = {}, c = new XMLHttpRequest, l = null;
- return !Qo.XDomainRequest || "withCredentials"in c || !/^(http(s)?:)?\/\//.test(n) || (c = new XDomainRequest), "onload"in c ? c.onload = c.onerror = u : c.onreadystatechange = function () {
- c.readyState > 3 && u()
- }, c.onprogress = function (n) {
- var t = Bo.event;
- Bo.event = n;
- try {
- o.progress.call(i, c)
- } finally {
- Bo.event = t
- }
- }, i.header = function (n, t) {
- return n = (n + "").toLowerCase(), arguments.length < 2 ? a[n] : (null == t ? delete a[n] : a[n] = t + "", i)
- }, i.mimeType = function (n) {
- return arguments.length ? (t = null == n ? null : n + "", i) : t
- }, i.responseType = function (n) {
- return arguments.length ? (l = n, i) : l
- }, i.response = function (n) {
- return e = n, i
- }, ["get", "post"].forEach(function (n) {
- i[n] = function () {
- return i.send.apply(i, [n].concat(Jo(arguments)))
- }
- }), i.send = function (e, r, u) {
- if (2 === arguments.length && "function" == typeof r && (u = r, r = null), c.open(e, n, !0), null == t || "accept"in a || (a.accept = t + ",*/*"), c.setRequestHeader)for (var s in a)c.setRequestHeader(s, a[s]);
- return null != t && c.overrideMimeType && c.overrideMimeType(t), null != l && (c.responseType = l), null != u && i.on("error", u).on("load", function (n) {
- u(null, n)
- }), o.beforesend.call(i, c), c.send(null == r ? null : r), i
- }, i.abort = function () {
- return c.abort(), i
- }, Bo.rebind(i, o, "on"), null == r ? i : i.get(Nt(r))
- }
-
- function Nt(n) {
- return 1 === n.length ? function (t, e) {
- n(null == t ? e : null)
- } : n
- }
-
- function zt(n) {
- var t = n.responseType;
- return t && "text" !== t ? n.response : n.responseText
- }
-
- function Lt() {
- var n = Tt(), t = qt() - n;
- t > 24 ? (isFinite(t) && (clearTimeout(Ga), Ga = setTimeout(Lt, t)), Ja = 0) : (Ja = 1, Qa(Lt))
- }
-
- function Tt() {
- var n = Date.now();
- for (Ka = Ba; Ka;)n >= Ka.t && (Ka.f = Ka.c(n - Ka.t)), Ka = Ka.n;
- return n
- }
-
- function qt() {
- for (var n, t = Ba, e = 1 / 0; t;)t.f ? t = n ? n.n = t.n : Ba = t.n : (t.t < e && (e = t.t), t = (n = t).n);
- return Wa = n, e
- }
-
- function Rt(n, t) {
- return t - (n ? Math.ceil(Math.log(n) / Math.LN10) : 1)
- }
-
- function Dt(n, t) {
- var e = Math.pow(10, 3 * ca(8 - t));
- return {
- scale: t > 8 ? function (n) {
- return n / e
- } : function (n) {
- return n * e
- }, symbol: n
- }
- }
-
- function Pt(n) {
- var t = n.decimal, e = n.thousands, r = n.grouping, u = n.currency, i = r && e ? function (n, t) {
- for (var u = n.length, i = [], o = 0, a = r[0], c = 0; u > 0 && a > 0 && (c + a + 1 > t && (a = Math.max(1, t - c)), i.push(n.substring(u -= a, u + a)), !((c += a + 1) > t));)a = r[o = (o + 1) % r.length];
- return i.reverse().join(e)
- } : Et;
- return function (n) {
- var e = tc.exec(n), r = e[1] || " ", o = e[2] || ">", a = e[3] || "-", c = e[4] || "", l = e[5], s = +e[6], f = e[7], h = e[8], g = e[9], p = 1, v = "", d = "", m = !1, y = !0;
- switch (h && (h = +h.substring(1)), (l || "0" === r && "=" === o) && (l = r = "0", o = "="), g) {
- case"n":
- f = !0, g = "g";
- break;
- case"%":
- p = 100, d = "%", g = "f";
- break;
- case"p":
- p = 100, d = "%", g = "r";
- break;
- case"b":
- case"o":
- case"x":
- case"X":
- "#" === c && (v = "0" + g.toLowerCase());
- case"c":
- y = !1;
- case"d":
- m = !0, h = 0;
- break;
- case"s":
- p = -1, g = "r"
- }
- "$" === c && (v = u[0], d = u[1]), "r" != g || h || (g = "g"), null != h && ("g" == g ? h = Math.max(1, Math.min(21, h)) : ("e" == g || "f" == g) && (h = Math.max(0, Math.min(20, h)))), g = ec.get(g) || Ut;
- var x = l && f;
- return function (n) {
- var e = d;
- if (m && n % 1)return "";
- var u = 0 > n || 0 === n && 0 > 1 / n ? (n = -n, "-") : "-" === a ? "" : a;
- if (0 > p) {
- var c = Bo.formatPrefix(n, h);
- n = c.scale(n), e = c.symbol + d
- } else n *= p;
- n = g(n, h);
- var M, _, b = n.lastIndexOf(".");
- if (0 > b) {
- var w = y ? n.lastIndexOf("e") : -1;
- 0 > w ? (M = n, _ = "") : (M = n.substring(0, w), _ = n.substring(w))
- } else M = n.substring(0, b), _ = t + n.substring(b + 1);
- !l && f && (M = i(M, 1 / 0));
- var S = v.length + M.length + _.length + (x ? 0 : u.length), k = s > S ? new Array(S = s - S + 1).join(r) : "";
- return x && (M = i(k + M, k.length ? s - _.length : 1 / 0)), u += v, n = M + _, ("<" === o ? u + n + k : ">" === o ? k + u + n : "^" === o ? k.substring(0, S >>= 1) + u + n + k.substring(S) : u + (x ? n : k + n)) + e
- }
- }
- }
-
- function Ut(n) {
- return n + ""
- }
-
- function jt() {
- this._ = new Date(arguments.length > 1 ? Date.UTC.apply(this, arguments) : arguments[0])
- }
-
- function Ft(n, t, e) {
- function r(t) {
- var e = n(t), r = i(e, 1);
- return r - t > t - e ? e : r
- }
-
- function u(e) {
- return t(e = n(new uc(e - 1)), 1), e
- }
-
- function i(n, e) {
- return t(n = new uc(+n), e), n
- }
-
- function o(n, r, i) {
- var o = u(n), a = [];
- if (i > 1)for (; r > o;)e(o) % i || a.push(new Date(+o)), t(o, 1); else for (; r > o;)a.push(new Date(+o)), t(o, 1);
- return a
- }
-
- function a(n, t, e) {
- try {
- uc = jt;
- var r = new jt;
- return r._ = n, o(r, t, e)
- } finally {
- uc = Date
- }
- }
-
- n.floor = n, n.round = r, n.ceil = u, n.offset = i, n.range = o;
- var c = n.utc = Ht(n);
- return c.floor = c, c.round = Ht(r), c.ceil = Ht(u), c.offset = Ht(i), c.range = a, n
- }
-
- function Ht(n) {
- return function (t, e) {
- try {
- uc = jt;
- var r = new jt;
- return r._ = t, n(r, e)._
- } finally {
- uc = Date
- }
- }
- }
-
- function Ot(n) {
- function t(n) {
- function t(t) {
- for (var e, u, i, o = [], a = -1, c = 0; ++a < r;)37 === n.charCodeAt(a) && (o.push(n.slice(c, a)), null != (u = oc[e = n.charAt(++a)]) && (e = n.charAt(++a)), (i = C[e]) && (e = i(t, null == u ? "e" === e ? " " : "0" : u)), o.push(e), c = a + 1);
- return o.push(n.slice(c, a)), o.join("")
- }
-
- var r = n.length;
- return t.parse = function (t) {
- var r = {y: 1900, m: 0, d: 1, H: 0, M: 0, S: 0, L: 0, Z: null}, u = e(r, n, t, 0);
- if (u != t.length)return null;
- "p"in r && (r.H = r.H % 12 + 12 * r.p);
- var i = null != r.Z && uc !== jt, o = new (i ? jt : uc);
- return "j"in r ? o.setFullYear(r.y, 0, r.j) : "w"in r && ("W"in r || "U"in r) ? (o.setFullYear(r.y, 0, 1), o.setFullYear(r.y, 0, "W"in r ? (r.w + 6) % 7 + 7 * r.W - (o.getDay() + 5) % 7 : r.w + 7 * r.U - (o.getDay() + 6) % 7)) : o.setFullYear(r.y, r.m, r.d), o.setHours(r.H + (0 | r.Z / 100), r.M + r.Z % 100, r.S, r.L), i ? o._ : o
- }, t.toString = function () {
- return n
- }, t
- }
-
- function e(n, t, e, r) {
- for (var u, i, o, a = 0, c = t.length, l = e.length; c > a;) {
- if (r >= l)return -1;
- if (u = t.charCodeAt(a++), 37 === u) {
- if (o = t.charAt(a++), i = N[o in oc ? t.charAt(a++) : o], !i || (r = i(n, e, r)) < 0)return -1
- } else if (u != e.charCodeAt(r++))return -1
- }
- return r
- }
-
- function r(n, t, e) {
- b.lastIndex = 0;
- var r = b.exec(t.slice(e));
- return r ? (n.w = w.get(r[0].toLowerCase()), e + r[0].length) : -1
- }
-
- function u(n, t, e) {
- M.lastIndex = 0;
- var r = M.exec(t.slice(e));
- return r ? (n.w = _.get(r[0].toLowerCase()), e + r[0].length) : -1
- }
-
- function i(n, t, e) {
- E.lastIndex = 0;
- var r = E.exec(t.slice(e));
- return r ? (n.m = A.get(r[0].toLowerCase()), e + r[0].length) : -1
- }
-
- function o(n, t, e) {
- S.lastIndex = 0;
- var r = S.exec(t.slice(e));
- return r ? (n.m = k.get(r[0].toLowerCase()), e + r[0].length) : -1
- }
-
- function a(n, t, r) {
- return e(n, C.c.toString(), t, r)
- }
-
- function c(n, t, r) {
- return e(n, C.x.toString(), t, r)
- }
-
- function l(n, t, r) {
- return e(n, C.X.toString(), t, r)
- }
-
- function s(n, t, e) {
- var r = x.get(t.slice(e, e += 2).toLowerCase());
- return null == r ? -1 : (n.p = r, e)
- }
-
- var f = n.dateTime, h = n.date, g = n.time, p = n.periods, v = n.days, d = n.shortDays, m = n.months, y = n.shortMonths;
- t.utc = function (n) {
- function e(n) {
- try {
- uc = jt;
- var t = new uc;
- return t._ = n, r(t)
- } finally {
- uc = Date
- }
- }
-
- var r = t(n);
- return e.parse = function (n) {
- try {
- uc = jt;
- var t = r.parse(n);
- return t && t._
- } finally {
- uc = Date
- }
- }, e.toString = r.toString, e
- }, t.multi = t.utc.multi = ae;
- var x = Bo.map(), M = It(v), _ = Zt(v), b = It(d), w = Zt(d), S = It(m), k = Zt(m), E = It(y), A = Zt(y);
- p.forEach(function (n, t) {
- x.set(n.toLowerCase(), t)
- });
- var C = {
- a: function (n) {
- return d[n.getDay()]
- }, A: function (n) {
- return v[n.getDay()]
- }, b: function (n) {
- return y[n.getMonth()]
- }, B: function (n) {
- return m[n.getMonth()]
- }, c: t(f), d: function (n, t) {
- return Yt(n.getDate(), t, 2)
- }, e: function (n, t) {
- return Yt(n.getDate(), t, 2)
- }, H: function (n, t) {
- return Yt(n.getHours(), t, 2)
- }, I: function (n, t) {
- return Yt(n.getHours() % 12 || 12, t, 2)
- }, j: function (n, t) {
- return Yt(1 + rc.dayOfYear(n), t, 3)
- }, L: function (n, t) {
- return Yt(n.getMilliseconds(), t, 3)
- }, m: function (n, t) {
- return Yt(n.getMonth() + 1, t, 2)
- }, M: function (n, t) {
- return Yt(n.getMinutes(), t, 2)
- }, p: function (n) {
- return p[+(n.getHours() >= 12)]
- }, S: function (n, t) {
- return Yt(n.getSeconds(), t, 2)
- }, U: function (n, t) {
- return Yt(rc.sundayOfYear(n), t, 2)
- }, w: function (n) {
- return n.getDay()
- }, W: function (n, t) {
- return Yt(rc.mondayOfYear(n), t, 2)
- }, x: t(h), X: t(g), y: function (n, t) {
- return Yt(n.getFullYear() % 100, t, 2)
- }, Y: function (n, t) {
- return Yt(n.getFullYear() % 1e4, t, 4)
- }, Z: ie, "%": function () {
- return "%"
- }
- }, N = {
- a: r,
- A: u,
- b: i,
- B: o,
- c: a,
- d: Qt,
- e: Qt,
- H: te,
- I: te,
- j: ne,
- L: ue,
- m: Kt,
- M: ee,
- p: s,
- S: re,
- U: Xt,
- w: Vt,
- W: $t,
- x: c,
- X: l,
- y: Wt,
- Y: Bt,
- Z: Jt,
- "%": oe
- };
- return t
- }
-
- function Yt(n, t, e) {
- var r = 0 > n ? "-" : "", u = (r ? -n : n) + "", i = u.length;
- return r + (e > i ? new Array(e - i + 1).join(t) + u : u)
- }
-
- function It(n) {
- return new RegExp("^(?:" + n.map(Bo.requote).join("|") + ")", "i")
- }
-
- function Zt(n) {
- for (var t = new a, e = -1, r = n.length; ++e < r;)t.set(n[e].toLowerCase(), e);
- return t
- }
-
- function Vt(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 1));
- return r ? (n.w = +r[0], e + r[0].length) : -1
- }
-
- function Xt(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e));
- return r ? (n.U = +r[0], e + r[0].length) : -1
- }
-
- function $t(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e));
- return r ? (n.W = +r[0], e + r[0].length) : -1
- }
-
- function Bt(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 4));
- return r ? (n.y = +r[0], e + r[0].length) : -1
- }
-
- function Wt(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 2));
- return r ? (n.y = Gt(+r[0]), e + r[0].length) : -1
- }
-
- function Jt(n, t, e) {
- return /^[+-]\d{4}$/.test(t = t.slice(e, e + 5)) ? (n.Z = -t, e + 5) : -1
- }
-
- function Gt(n) {
- return n + (n > 68 ? 1900 : 2e3)
- }
-
- function Kt(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 2));
- return r ? (n.m = r[0] - 1, e + r[0].length) : -1
- }
-
- function Qt(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 2));
- return r ? (n.d = +r[0], e + r[0].length) : -1
- }
-
- function ne(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 3));
- return r ? (n.j = +r[0], e + r[0].length) : -1
- }
-
- function te(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 2));
- return r ? (n.H = +r[0], e + r[0].length) : -1
- }
-
- function ee(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 2));
- return r ? (n.M = +r[0], e + r[0].length) : -1
- }
-
- function re(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 2));
- return r ? (n.S = +r[0], e + r[0].length) : -1
- }
-
- function ue(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 3));
- return r ? (n.L = +r[0], e + r[0].length) : -1
- }
-
- function ie(n) {
- var t = n.getTimezoneOffset(), e = t > 0 ? "-" : "+", r = 0 | ca(t) / 60, u = ca(t) % 60;
- return e + Yt(r, "0", 2) + Yt(u, "0", 2)
- }
-
- function oe(n, t, e) {
- cc.lastIndex = 0;
- var r = cc.exec(t.slice(e, e + 1));
- return r ? e + r[0].length : -1
- }
-
- function ae(n) {
- for (var t = n.length, e = -1; ++e < t;)n[e][0] = this(n[e][0]);
- return function (t) {
- for (var e = 0, r = n[e]; !r[1](t);)r = n[++e];
- return r[0](t)
- }
- }
-
- function ce() {
- }
-
- function le(n, t, e) {
- var r = e.s = n + t, u = r - n, i = r - u;
- e.t = n - i + (t - u)
- }
-
- function se(n, t) {
- n && hc.hasOwnProperty(n.type) && hc[n.type](n, t)
- }
-
- function fe(n, t, e) {
- var r, u = -1, i = n.length - e;
- for (t.lineStart(); ++u < i;)r = n[u], t.point(r[0], r[1], r[2]);
- t.lineEnd()
- }
-
- function he(n, t) {
- var e = -1, r = n.length;
- for (t.polygonStart(); ++e < r;)fe(n[e], t, 1);
- t.polygonEnd()
- }
-
- function ge() {
- function n(n, t) {
- n *= La, t = t * La / 2 + Ea / 4;
- var e = n - r, o = e >= 0 ? 1 : -1, a = o * e, c = Math.cos(t), l = Math.sin(t), s = i * l, f = u * c + s * Math.cos(a), h = s * o * Math.sin(a);
- pc.add(Math.atan2(h, f)), r = n, u = c, i = l
- }
-
- var t, e, r, u, i;
- vc.point = function (o, a) {
- vc.point = n, r = (t = o) * La, u = Math.cos(a = (e = a) * La / 2 + Ea / 4), i = Math.sin(a)
- }, vc.lineEnd = function () {
- n(t, e)
- }
- }
-
- function pe(n) {
- var t = n[0], e = n[1], r = Math.cos(e);
- return [r * Math.cos(t), r * Math.sin(t), Math.sin(e)]
- }
-
- function ve(n, t) {
- return n[0] * t[0] + n[1] * t[1] + n[2] * t[2]
- }
-
- function de(n, t) {
- return [n[1] * t[2] - n[2] * t[1], n[2] * t[0] - n[0] * t[2], n[0] * t[1] - n[1] * t[0]]
- }
-
- function me(n, t) {
- n[0] += t[0], n[1] += t[1], n[2] += t[2]
- }
-
- function ye(n, t) {
- return [n[0] * t, n[1] * t, n[2] * t]
- }
-
- function xe(n) {
- var t = Math.sqrt(n[0] * n[0] + n[1] * n[1] + n[2] * n[2]);
- n[0] /= t, n[1] /= t, n[2] /= t
- }
-
- function Me(n) {
- return [Math.atan2(n[1], n[0]), nt(n[2])]
- }
-
- function _e(n, t) {
- return ca(n[0] - t[0]) < Na && ca(n[1] - t[1]) < Na
- }
-
- function be(n, t) {
- n *= La;
- var e = Math.cos(t *= La);
- we(e * Math.cos(n), e * Math.sin(n), Math.sin(t))
- }
-
- function we(n, t, e) {
- ++dc, yc += (n - yc) / dc, xc += (t - xc) / dc, Mc += (e - Mc) / dc
- }
-
- function Se() {
- function n(n, u) {
- n *= La;
- var i = Math.cos(u *= La), o = i * Math.cos(n), a = i * Math.sin(n), c = Math.sin(u), l = Math.atan2(Math.sqrt((l = e * c - r * a) * l + (l = r * o - t * c) * l + (l = t * a - e * o) * l), t * o + e * a + r * c);
- mc += l, _c += l * (t + (t = o)), bc += l * (e + (e = a)), wc += l * (r + (r = c)), we(t, e, r)
- }
-
- var t, e, r;
- Ac.point = function (u, i) {
- u *= La;
- var o = Math.cos(i *= La);
- t = o * Math.cos(u), e = o * Math.sin(u), r = Math.sin(i), Ac.point = n, we(t, e, r)
- }
- }
-
- function ke() {
- Ac.point = be
- }
-
- function Ee() {
- function n(n, t) {
- n *= La;
- var e = Math.cos(t *= La), o = e * Math.cos(n), a = e * Math.sin(n), c = Math.sin(t), l = u * c - i * a, s = i * o - r * c, f = r * a - u * o, h = Math.sqrt(l * l + s * s + f * f), g = r * o + u * a + i * c, p = h && -Q(g) / h, v = Math.atan2(h, g);
- Sc += p * l, kc += p * s, Ec += p * f, mc += v, _c += v * (r + (r = o)), bc += v * (u + (u = a)), wc += v * (i + (i = c)), we(r, u, i)
- }
-
- var t, e, r, u, i;
- Ac.point = function (o, a) {
- t = o, e = a, Ac.point = n, o *= La;
- var c = Math.cos(a *= La);
- r = c * Math.cos(o), u = c * Math.sin(o), i = Math.sin(a), we(r, u, i)
- }, Ac.lineEnd = function () {
- n(t, e), Ac.lineEnd = ke, Ac.point = be
- }
- }
-
- function Ae() {
- return !0
- }
-
- function Ce(n, t, e, r, u) {
- var i = [], o = [];
- if (n.forEach(function (n) {
- if (!((t = n.length - 1) <= 0)) {
- var t, e = n[0], r = n[t];
- if (_e(e, r)) {
- u.lineStart();
- for (var a = 0; t > a; ++a)u.point((e = n[a])[0], e[1]);
- return u.lineEnd(), void 0
- }
- var c = new ze(e, n, null, !0), l = new ze(e, null, c, !1);
- c.o = l, i.push(c), o.push(l), c = new ze(r, n, null, !1), l = new ze(r, null, c, !0), c.o = l, i.push(c), o.push(l)
- }
- }), o.sort(t), Ne(i), Ne(o), i.length) {
- for (var a = 0, c = e, l = o.length; l > a; ++a)o[a].e = c = !c;
- for (var s, f, h = i[0]; ;) {
- for (var g = h, p = !0; g.v;)if ((g = g.n) === h)return;
- s = g.z, u.lineStart();
- do {
- if (g.v = g.o.v = !0, g.e) {
- if (p)for (var a = 0, l = s.length; l > a; ++a)u.point((f = s[a])[0], f[1]); else r(g.x, g.n.x, 1, u);
- g = g.n
- } else {
- if (p) {
- s = g.p.z;
- for (var a = s.length - 1; a >= 0; --a)u.point((f = s[a])[0], f[1])
- } else r(g.x, g.p.x, -1, u);
- g = g.p
- }
- g = g.o, s = g.z, p = !p
- } while (!g.v);
- u.lineEnd()
- }
- }
- }
-
- function Ne(n) {
- if (t = n.length) {
- for (var t, e, r = 0, u = n[0]; ++r < t;)u.n = e = n[r], e.p = u, u = e;
- u.n = e = n[0], e.p = u
- }
- }
-
- function ze(n, t, e, r) {
- this.x = n, this.z = t, this.o = e, this.e = r, this.v = !1, this.n = this.p = null
- }
-
- function Le(n, t, e, r) {
- return function (u, i) {
- function o(t, e) {
- var r = u(t, e);
- n(t = r[0], e = r[1]) && i.point(t, e)
- }
-
- function a(n, t) {
- var e = u(n, t);
- d.point(e[0], e[1])
- }
-
- function c() {
- y.point = a, d.lineStart()
- }
-
- function l() {
- y.point = o, d.lineEnd()
- }
-
- function s(n, t) {
- v.push([n, t]);
- var e = u(n, t);
- M.point(e[0], e[1])
- }
-
- function f() {
- M.lineStart(), v = []
- }
-
- function h() {
- s(v[0][0], v[0][1]), M.lineEnd();
- var n, t = M.clean(), e = x.buffer(), r = e.length;
- if (v.pop(), p.push(v), v = null, r)if (1 & t) {
- n = e[0];
- var u, r = n.length - 1, o = -1;
- if (r > 0) {
- for (_ || (i.polygonStart(), _ = !0), i.lineStart(); ++o < r;)i.point((u = n[o])[0], u[1]);
- i.lineEnd()
- }
- } else r > 1 && 2 & t && e.push(e.pop().concat(e.shift())), g.push(e.filter(Te))
- }
-
- var g, p, v, d = t(i), m = u.invert(r[0], r[1]), y = {
- point: o,
- lineStart: c,
- lineEnd: l,
- polygonStart: function () {
- y.point = s, y.lineStart = f, y.lineEnd = h, g = [], p = []
- },
- polygonEnd: function () {
- y.point = o, y.lineStart = c, y.lineEnd = l, g = Bo.merge(g);
- var n = je(m, p);
- g.length ? (_ || (i.polygonStart(), _ = !0), Ce(g, Re, n, e, i)) : n && (_ || (i.polygonStart(), _ = !0), i.lineStart(), e(null, null, 1, i), i.lineEnd()), _ && (i.polygonEnd(), _ = !1), g = p = null
- },
- sphere: function () {
- i.polygonStart(), i.lineStart(), e(null, null, 1, i), i.lineEnd(), i.polygonEnd()
- }
- }, x = qe(), M = t(x), _ = !1;
- return y
- }
- }
-
- function Te(n) {
- return n.length > 1
- }
-
- function qe() {
- var n, t = [];
- return {
- lineStart: function () {
- t.push(n = [])
- }, point: function (t, e) {
- n.push([t, e])
- }, lineEnd: y, buffer: function () {
- var e = t;
- return t = [], n = null, e
- }, rejoin: function () {
- t.length > 1 && t.push(t.pop().concat(t.shift()))
- }
- }
- }
-
- function Re(n, t) {
- return ((n = n.x)[0] < 0 ? n[1] - Ca - Na : Ca - n[1]) - ((t = t.x)[0] < 0 ? t[1] - Ca - Na : Ca - t[1])
- }
-
- function De(n) {
- var t, e = 0 / 0, r = 0 / 0, u = 0 / 0;
- return {
- lineStart: function () {
- n.lineStart(), t = 1
- }, point: function (i, o) {
- var a = i > 0 ? Ea : -Ea, c = ca(i - e);
- ca(c - Ea) < Na ? (n.point(e, r = (r + o) / 2 > 0 ? Ca : -Ca), n.point(u, r), n.lineEnd(), n.lineStart(), n.point(a, r), n.point(i, r), t = 0) : u !== a && c >= Ea && (ca(e - u) < Na && (e -= u * Na), ca(i - a) < Na && (i -= a * Na), r = Pe(e, r, i, o), n.point(u, r), n.lineEnd(), n.lineStart(), n.point(a, r), t = 0), n.point(e = i, r = o), u = a
- }, lineEnd: function () {
- n.lineEnd(), e = r = 0 / 0
- }, clean: function () {
- return 2 - t
- }
- }
- }
-
- function Pe(n, t, e, r) {
- var u, i, o = Math.sin(n - e);
- return ca(o) > Na ? Math.atan((Math.sin(t) * (i = Math.cos(r)) * Math.sin(e) - Math.sin(r) * (u = Math.cos(t)) * Math.sin(n)) / (u * i * o)) : (t + r) / 2
- }
-
- function Ue(n, t, e, r) {
- var u;
- if (null == n)u = e * Ca, r.point(-Ea, u), r.point(0, u), r.point(Ea, u), r.point(Ea, 0), r.point(Ea, -u), r.point(0, -u), r.point(-Ea, -u), r.point(-Ea, 0), r.point(-Ea, u); else if (ca(n[0] - t[0]) > Na) {
- var i = n[0] < t[0] ? Ea : -Ea;
- u = e * i / 2, r.point(-i, u), r.point(0, u), r.point(i, u)
- } else r.point(t[0], t[1])
- }
-
- function je(n, t) {
- var e = n[0], r = n[1], u = [Math.sin(e), -Math.cos(e), 0], i = 0, o = 0;
- pc.reset();
- for (var a = 0, c = t.length; c > a; ++a) {
- var l = t[a], s = l.length;
- if (s)for (var f = l[0], h = f[0], g = f[1] / 2 + Ea / 4, p = Math.sin(g), v = Math.cos(g), d = 1; ;) {
- d === s && (d = 0), n = l[d];
- var m = n[0], y = n[1] / 2 + Ea / 4, x = Math.sin(y), M = Math.cos(y), _ = m - h, b = _ >= 0 ? 1 : -1, w = b * _, S = w > Ea, k = p * x;
- if (pc.add(Math.atan2(k * b * Math.sin(w), v * M + k * Math.cos(w))), i += S ? _ + b * Aa : _, S ^ h >= e ^ m >= e) {
- var E = de(pe(f), pe(n));
- xe(E);
- var A = de(u, E);
- xe(A);
- var C = (S ^ _ >= 0 ? -1 : 1) * nt(A[2]);
- (r > C || r === C && (E[0] || E[1])) && (o += S ^ _ >= 0 ? 1 : -1)
- }
- if (!d++)break;
- h = m, p = x, v = M, f = n
- }
- }
- return (-Na > i || Na > i && 0 > pc) ^ 1 & o
- }
-
- function Fe(n) {
- function t(n, t) {
- return Math.cos(n) * Math.cos(t) > i
- }
-
- function e(n) {
- var e, i, c, l, s;
- return {
- lineStart: function () {
- l = c = !1, s = 1
- }, point: function (f, h) {
- var g, p = [f, h], v = t(f, h), d = o ? v ? 0 : u(f, h) : v ? u(f + (0 > f ? Ea : -Ea), h) : 0;
- if (!e && (l = c = v) && n.lineStart(), v !== c && (g = r(e, p), (_e(e, g) || _e(p, g)) && (p[0] += Na, p[1] += Na, v = t(p[0], p[1]))), v !== c)s = 0, v ? (n.lineStart(), g = r(p, e), n.point(g[0], g[1])) : (g = r(e, p), n.point(g[0], g[1]), n.lineEnd()), e = g; else if (a && e && o ^ v) {
- var m;
- d & i || !(m = r(p, e, !0)) || (s = 0, o ? (n.lineStart(), n.point(m[0][0], m[0][1]), n.point(m[1][0], m[1][1]), n.lineEnd()) : (n.point(m[1][0], m[1][1]), n.lineEnd(), n.lineStart(), n.point(m[0][0], m[0][1])))
- }
- !v || e && _e(e, p) || n.point(p[0], p[1]), e = p, c = v, i = d
- }, lineEnd: function () {
- c && n.lineEnd(), e = null
- }, clean: function () {
- return s | (l && c) << 1
- }
- }
- }
-
- function r(n, t, e) {
- var r = pe(n), u = pe(t), o = [1, 0, 0], a = de(r, u), c = ve(a, a), l = a[0], s = c - l * l;
- if (!s)return !e && n;
- var f = i * c / s, h = -i * l / s, g = de(o, a), p = ye(o, f), v = ye(a, h);
- me(p, v);
- var d = g, m = ve(p, d), y = ve(d, d), x = m * m - y * (ve(p, p) - 1);
- if (!(0 > x)) {
- var M = Math.sqrt(x), _ = ye(d, (-m - M) / y);
- if (me(_, p), _ = Me(_), !e)return _;
- var b, w = n[0], S = t[0], k = n[1], E = t[1];
- w > S && (b = w, w = S, S = b);
- var A = S - w, C = ca(A - Ea) < Na, N = C || Na > A;
- if (!C && k > E && (b = k, k = E, E = b), N ? C ? k + E > 0 ^ _[1] < (ca(_[0] - w) < Na ? k : E) : k <= _[1] && _[1] <= E : A > Ea ^ (w <= _[0] && _[0] <= S)) {
- var z = ye(d, (-m + M) / y);
- return me(z, p), [_, Me(z)]
- }
- }
- }
-
- function u(t, e) {
- var r = o ? n : Ea - n, u = 0;
- return -r > t ? u |= 1 : t > r && (u |= 2), -r > e ? u |= 4 : e > r && (u |= 8), u
- }
-
- var i = Math.cos(n), o = i > 0, a = ca(i) > Na, c = gr(n, 6 * La);
- return Le(t, e, c, o ? [0, -n] : [-Ea, n - Ea])
- }
-
- function He(n, t, e, r) {
- return function (u) {
- var i, o = u.a, a = u.b, c = o.x, l = o.y, s = a.x, f = a.y, h = 0, g = 1, p = s - c, v = f - l;
- if (i = n - c, p || !(i > 0)) {
- if (i /= p, 0 > p) {
- if (h > i)return;
- g > i && (g = i)
- } else if (p > 0) {
- if (i > g)return;
- i > h && (h = i)
- }
- if (i = e - c, p || !(0 > i)) {
- if (i /= p, 0 > p) {
- if (i > g)return;
- i > h && (h = i)
- } else if (p > 0) {
- if (h > i)return;
- g > i && (g = i)
- }
- if (i = t - l, v || !(i > 0)) {
- if (i /= v, 0 > v) {
- if (h > i)return;
- g > i && (g = i)
- } else if (v > 0) {
- if (i > g)return;
- i > h && (h = i)
- }
- if (i = r - l, v || !(0 > i)) {
- if (i /= v, 0 > v) {
- if (i > g)return;
- i > h && (h = i)
- } else if (v > 0) {
- if (h > i)return;
- g > i && (g = i)
- }
- return h > 0 && (u.a = {x: c + h * p, y: l + h * v}), 1 > g && (u.b = {
- x: c + g * p,
- y: l + g * v
- }), u
- }
- }
- }
- }
- }
- }
-
- function Oe(n, t, e, r) {
- function u(r, u) {
- return ca(r[0] - n) < Na ? u > 0 ? 0 : 3 : ca(r[0] - e) < Na ? u > 0 ? 2 : 1 : ca(r[1] - t) < Na ? u > 0 ? 1 : 0 : u > 0 ? 3 : 2
- }
-
- function i(n, t) {
- return o(n.x, t.x)
- }
-
- function o(n, t) {
- var e = u(n, 1), r = u(t, 1);
- return e !== r ? e - r : 0 === e ? t[1] - n[1] : 1 === e ? n[0] - t[0] : 2 === e ? n[1] - t[1] : t[0] - n[0]
- }
-
- return function (a) {
- function c(n) {
- for (var t = 0, e = d.length, r = n[1], u = 0; e > u; ++u)for (var i, o = 1, a = d[u], c = a.length, l = a[0]; c > o; ++o)i = a[o], l[1] <= r ? i[1] > r && K(l, i, n) > 0 && ++t : i[1] <= r && K(l, i, n) < 0 && --t, l = i;
- return 0 !== t
- }
-
- function l(i, a, c, l) {
- var s = 0, f = 0;
- if (null == i || (s = u(i, c)) !== (f = u(a, c)) || o(i, a) < 0 ^ c > 0) {
- do l.point(0 === s || 3 === s ? n : e, s > 1 ? r : t); while ((s = (s + c + 4) % 4) !== f)
- } else l.point(a[0], a[1])
- }
-
- function s(u, i) {
- return u >= n && e >= u && i >= t && r >= i
- }
-
- function f(n, t) {
- s(n, t) && a.point(n, t)
- }
-
- function h() {
- N.point = p, d && d.push(m = []), S = !0, w = !1, _ = b = 0 / 0
- }
-
- function g() {
- v && (p(y, x), M && w && A.rejoin(), v.push(A.buffer())), N.point = f, w && a.lineEnd()
- }
-
- function p(n, t) {
- n = Math.max(-Nc, Math.min(Nc, n)), t = Math.max(-Nc, Math.min(Nc, t));
- var e = s(n, t);
- if (d && m.push([n, t]), S)y = n, x = t, M = e, S = !1, e && (a.lineStart(), a.point(n, t)); else if (e && w)a.point(n, t); else {
- var r = {a: {x: _, y: b}, b: {x: n, y: t}};
- C(r) ? (w || (a.lineStart(), a.point(r.a.x, r.a.y)), a.point(r.b.x, r.b.y), e || a.lineEnd(), k = !1) : e && (a.lineStart(), a.point(n, t), k = !1)
- }
- _ = n, b = t, w = e
- }
-
- var v, d, m, y, x, M, _, b, w, S, k, E = a, A = qe(), C = He(n, t, e, r), N = {
- point: f,
- lineStart: h,
- lineEnd: g,
- polygonStart: function () {
- a = A, v = [], d = [], k = !0
- },
- polygonEnd: function () {
- a = E, v = Bo.merge(v);
- var t = c([n, r]), e = k && t, u = v.length;
- (e || u) && (a.polygonStart(), e && (a.lineStart(), l(null, null, 1, a), a.lineEnd()), u && Ce(v, i, t, l, a), a.polygonEnd()), v = d = m = null
- }
- };
- return N
- }
- }
-
- function Ye(n, t) {
- function e(e, r) {
- return e = n(e, r), t(e[0], e[1])
- }
-
- return n.invert && t.invert && (e.invert = function (e, r) {
- return e = t.invert(e, r), e && n.invert(e[0], e[1])
- }), e
- }
-
- function Ie(n) {
- var t = 0, e = Ea / 3, r = ir(n), u = r(t, e);
- return u.parallels = function (n) {
- return arguments.length ? r(t = n[0] * Ea / 180, e = n[1] * Ea / 180) : [180 * (t / Ea), 180 * (e / Ea)]
- }, u
- }
-
- function Ze(n, t) {
- function e(n, t) {
- var e = Math.sqrt(i - 2 * u * Math.sin(t)) / u;
- return [e * Math.sin(n *= u), o - e * Math.cos(n)]
- }
-
- var r = Math.sin(n), u = (r + Math.sin(t)) / 2, i = 1 + r * (2 * u - r), o = Math.sqrt(i) / u;
- return e.invert = function (n, t) {
- var e = o - t;
- return [Math.atan2(n, e) / u, nt((i - (n * n + e * e) * u * u) / (2 * u))]
- }, e
- }
-
- function Ve() {
- function n(n, t) {
- Lc += u * n - r * t, r = n, u = t
- }
-
- var t, e, r, u;
- Pc.point = function (i, o) {
- Pc.point = n, t = r = i, e = u = o
- }, Pc.lineEnd = function () {
- n(t, e)
- }
- }
-
- function Xe(n, t) {
- Tc > n && (Tc = n), n > Rc && (Rc = n), qc > t && (qc = t), t > Dc && (Dc = t)
- }
-
- function $e() {
- function n(n, t) {
- o.push("M", n, ",", t, i)
- }
-
- function t(n, t) {
- o.push("M", n, ",", t), a.point = e
- }
-
- function e(n, t) {
- o.push("L", n, ",", t)
- }
-
- function r() {
- a.point = n
- }
-
- function u() {
- o.push("Z")
- }
-
- var i = Be(4.5), o = [], a = {
- point: n, lineStart: function () {
- a.point = t
- }, lineEnd: r, polygonStart: function () {
- a.lineEnd = u
- }, polygonEnd: function () {
- a.lineEnd = r, a.point = n
- }, pointRadius: function (n) {
- return i = Be(n), a
- }, result: function () {
- if (o.length) {
- var n = o.join("");
- return o = [], n
- }
- }
- };
- return a
- }
-
- function Be(n) {
- return "m0," + n + "a" + n + "," + n + " 0 1,1 0," + -2 * n + "a" + n + "," + n + " 0 1,1 0," + 2 * n + "z"
- }
-
- function We(n, t) {
- yc += n, xc += t, ++Mc
- }
-
- function Je() {
- function n(n, r) {
- var u = n - t, i = r - e, o = Math.sqrt(u * u + i * i);
- _c += o * (t + n) / 2, bc += o * (e + r) / 2, wc += o, We(t = n, e = r)
- }
-
- var t, e;
- jc.point = function (r, u) {
- jc.point = n, We(t = r, e = u)
- }
- }
-
- function Ge() {
- jc.point = We
- }
-
- function Ke() {
- function n(n, t) {
- var e = n - r, i = t - u, o = Math.sqrt(e * e + i * i);
- _c += o * (r + n) / 2, bc += o * (u + t) / 2, wc += o, o = u * n - r * t, Sc += o * (r + n), kc += o * (u + t), Ec += 3 * o, We(r = n, u = t)
- }
-
- var t, e, r, u;
- jc.point = function (i, o) {
- jc.point = n, We(t = r = i, e = u = o)
- }, jc.lineEnd = function () {
- n(t, e)
- }
- }
-
- function Qe(n) {
- function t(t, e) {
- n.moveTo(t, e), n.arc(t, e, o, 0, Aa)
- }
-
- function e(t, e) {
- n.moveTo(t, e), a.point = r
- }
-
- function r(t, e) {
- n.lineTo(t, e)
- }
-
- function u() {
- a.point = t
- }
-
- function i() {
- n.closePath()
- }
-
- var o = 4.5, a = {
- point: t, lineStart: function () {
- a.point = e
- }, lineEnd: u, polygonStart: function () {
- a.lineEnd = i
- }, polygonEnd: function () {
- a.lineEnd = u, a.point = t
- }, pointRadius: function (n) {
- return o = n, a
- }, result: y
- };
- return a
- }
-
- function nr(n) {
- function t(n) {
- return (a ? r : e)(n)
- }
-
- function e(t) {
- return rr(t, function (e, r) {
- e = n(e, r), t.point(e[0], e[1])
- })
- }
-
- function r(t) {
- function e(e, r) {
- e = n(e, r), t.point(e[0], e[1])
- }
-
- function r() {
- x = 0 / 0, S.point = i, t.lineStart()
- }
-
- function i(e, r) {
- var i = pe([e, r]), o = n(e, r);
- u(x, M, y, _, b, w, x = o[0], M = o[1], y = e, _ = i[0], b = i[1], w = i[2], a, t), t.point(x, M)
- }
-
- function o() {
- S.point = e, t.lineEnd()
- }
-
- function c() {
- r(), S.point = l, S.lineEnd = s
- }
-
- function l(n, t) {
- i(f = n, h = t), g = x, p = M, v = _, d = b, m = w, S.point = i
- }
-
- function s() {
- u(x, M, y, _, b, w, g, p, f, v, d, m, a, t), S.lineEnd = o, o()
- }
-
- var f, h, g, p, v, d, m, y, x, M, _, b, w, S = {
- point: e,
- lineStart: r,
- lineEnd: o,
- polygonStart: function () {
- t.polygonStart(), S.lineStart = c
- },
- polygonEnd: function () {
- t.polygonEnd(), S.lineStart = r
- }
- };
- return S
- }
-
- function u(t, e, r, a, c, l, s, f, h, g, p, v, d, m) {
- var y = s - t, x = f - e, M = y * y + x * x;
- if (M > 4 * i && d--) {
- var _ = a + g, b = c + p, w = l + v, S = Math.sqrt(_ * _ + b * b + w * w), k = Math.asin(w /= S), E = ca(ca(w) - 1) < Na || ca(r - h) < Na ? (r + h) / 2 : Math.atan2(b, _), A = n(E, k), C = A[0], N = A[1], z = C - t, L = N - e, T = x * z - y * L;
- (T * T / M > i || ca((y * z + x * L) / M - .5) > .3 || o > a * g + c * p + l * v) && (u(t, e, r, a, c, l, C, N, E, _ /= S, b /= S, w, d, m), m.point(C, N), u(C, N, E, _, b, w, s, f, h, g, p, v, d, m))
- }
- }
-
- var i = .5, o = Math.cos(30 * La), a = 16;
- return t.precision = function (n) {
- return arguments.length ? (a = (i = n * n) > 0 && 16, t) : Math.sqrt(i)
- }, t
- }
-
- function tr(n) {
- var t = nr(function (t, e) {
- return n([t * Ta, e * Ta])
- });
- return function (n) {
- return or(t(n))
- }
- }
-
- function er(n) {
- this.stream = n
- }
-
- function rr(n, t) {
- return {
- point: t, sphere: function () {
- n.sphere()
- }, lineStart: function () {
- n.lineStart()
- }, lineEnd: function () {
- n.lineEnd()
- }, polygonStart: function () {
- n.polygonStart()
- }, polygonEnd: function () {
- n.polygonEnd()
- }
- }
- }
-
- function ur(n) {
- return ir(function () {
- return n
- })()
- }
-
- function ir(n) {
- function t(n) {
- return n = a(n[0] * La, n[1] * La), [n[0] * h + c, l - n[1] * h]
- }
-
- function e(n) {
- return n = a.invert((n[0] - c) / h, (l - n[1]) / h), n && [n[0] * Ta, n[1] * Ta]
- }
-
- function r() {
- a = Ye(o = lr(m, y, x), i);
- var n = i(v, d);
- return c = g - n[0] * h, l = p + n[1] * h, u()
- }
-
- function u() {
- return s && (s.valid = !1, s = null), t
- }
-
- var i, o, a, c, l, s, f = nr(function (n, t) {
- return n = i(n, t), [n[0] * h + c, l - n[1] * h]
- }), h = 150, g = 480, p = 250, v = 0, d = 0, m = 0, y = 0, x = 0, M = Cc, _ = Et, b = null, w = null;
- return t.stream = function (n) {
- return s && (s.valid = !1), s = or(M(o, f(_(n)))), s.valid = !0, s
- }, t.clipAngle = function (n) {
- return arguments.length ? (M = null == n ? (b = n, Cc) : Fe((b = +n) * La), u()) : b
- }, t.clipExtent = function (n) {
- return arguments.length ? (w = n, _ = n ? Oe(n[0][0], n[0][1], n[1][0], n[1][1]) : Et, u()) : w
- }, t.scale = function (n) {
- return arguments.length ? (h = +n, r()) : h
- }, t.translate = function (n) {
- return arguments.length ? (g = +n[0], p = +n[1], r()) : [g, p]
- }, t.center = function (n) {
- return arguments.length ? (v = n[0] % 360 * La, d = n[1] % 360 * La, r()) : [v * Ta, d * Ta]
- }, t.rotate = function (n) {
- return arguments.length ? (m = n[0] % 360 * La, y = n[1] % 360 * La, x = n.length > 2 ? n[2] % 360 * La : 0, r()) : [m * Ta, y * Ta, x * Ta]
- }, Bo.rebind(t, f, "precision"), function () {
- return i = n.apply(this, arguments), t.invert = i.invert && e, r()
- }
- }
-
- function or(n) {
- return rr(n, function (t, e) {
- n.point(t * La, e * La)
- })
- }
-
- function ar(n, t) {
- return [n, t]
- }
-
- function cr(n, t) {
- return [n > Ea ? n - Aa : -Ea > n ? n + Aa : n, t]
- }
-
- function lr(n, t, e) {
- return n ? t || e ? Ye(fr(n), hr(t, e)) : fr(n) : t || e ? hr(t, e) : cr
- }
-
- function sr(n) {
- return function (t, e) {
- return t += n, [t > Ea ? t - Aa : -Ea > t ? t + Aa : t, e]
- }
- }
-
- function fr(n) {
- var t = sr(n);
- return t.invert = sr(-n), t
- }
-
- function hr(n, t) {
- function e(n, t) {
- var e = Math.cos(t), a = Math.cos(n) * e, c = Math.sin(n) * e, l = Math.sin(t), s = l * r + a * u;
- return [Math.atan2(c * i - s * o, a * r - l * u), nt(s * i + c * o)]
- }
-
- var r = Math.cos(n), u = Math.sin(n), i = Math.cos(t), o = Math.sin(t);
- return e.invert = function (n, t) {
- var e = Math.cos(t), a = Math.cos(n) * e, c = Math.sin(n) * e, l = Math.sin(t), s = l * i - c * o;
- return [Math.atan2(c * i + l * o, a * r + s * u), nt(s * r - a * u)]
- }, e
- }
-
- function gr(n, t) {
- var e = Math.cos(n), r = Math.sin(n);
- return function (u, i, o, a) {
- var c = o * t;
- null != u ? (u = pr(e, u), i = pr(e, i), (o > 0 ? i > u : u > i) && (u += o * Aa)) : (u = n + o * Aa, i = n - .5 * c);
- for (var l, s = u; o > 0 ? s > i : i > s; s -= c)a.point((l = Me([e, -r * Math.cos(s), -r * Math.sin(s)]))[0], l[1])
- }
- }
-
- function pr(n, t) {
- var e = pe(t);
- e[0] -= n, xe(e);
- var r = Q(-e[1]);
- return ((-e[2] < 0 ? -r : r) + 2 * Math.PI - Na) % (2 * Math.PI)
- }
-
- function vr(n, t, e) {
- var r = Bo.range(n, t - Na, e).concat(t);
- return function (n) {
- return r.map(function (t) {
- return [n, t]
- })
- }
- }
-
- function dr(n, t, e) {
- var r = Bo.range(n, t - Na, e).concat(t);
- return function (n) {
- return r.map(function (t) {
- return [t, n]
- })
- }
- }
-
- function mr(n) {
- return n.source
- }
-
- function yr(n) {
- return n.target
- }
-
- function xr(n, t, e, r) {
- var u = Math.cos(t), i = Math.sin(t), o = Math.cos(r), a = Math.sin(r), c = u * Math.cos(n), l = u * Math.sin(n), s = o * Math.cos(e), f = o * Math.sin(e), h = 2 * Math.asin(Math.sqrt(ut(r - t) + u * o * ut(e - n))), g = 1 / Math.sin(h), p = h ? function (n) {
- var t = Math.sin(n *= h) * g, e = Math.sin(h - n) * g, r = e * c + t * s, u = e * l + t * f, o = e * i + t * a;
- return [Math.atan2(u, r) * Ta, Math.atan2(o, Math.sqrt(r * r + u * u)) * Ta]
- } : function () {
- return [n * Ta, t * Ta]
- };
- return p.distance = h, p
- }
-
- function Mr() {
- function n(n, u) {
- var i = Math.sin(u *= La), o = Math.cos(u), a = ca((n *= La) - t), c = Math.cos(a);
- Fc += Math.atan2(Math.sqrt((a = o * Math.sin(a)) * a + (a = r * i - e * o * c) * a), e * i + r * o * c), t = n, e = i, r = o
- }
-
- var t, e, r;
- Hc.point = function (u, i) {
- t = u * La, e = Math.sin(i *= La), r = Math.cos(i), Hc.point = n
- }, Hc.lineEnd = function () {
- Hc.point = Hc.lineEnd = y
- }
- }
-
- function _r(n, t) {
- function e(t, e) {
- var r = Math.cos(t), u = Math.cos(e), i = n(r * u);
- return [i * u * Math.sin(t), i * Math.sin(e)]
- }
-
- return e.invert = function (n, e) {
- var r = Math.sqrt(n * n + e * e), u = t(r), i = Math.sin(u), o = Math.cos(u);
- return [Math.atan2(n * i, r * o), Math.asin(r && e * i / r)]
- }, e
- }
-
- function br(n, t) {
- function e(n, t) {
- o > 0 ? -Ca + Na > t && (t = -Ca + Na) : t > Ca - Na && (t = Ca - Na);
- var e = o / Math.pow(u(t), i);
- return [e * Math.sin(i * n), o - e * Math.cos(i * n)]
- }
-
- var r = Math.cos(n), u = function (n) {
- return Math.tan(Ea / 4 + n / 2)
- }, i = n === t ? Math.sin(n) : Math.log(r / Math.cos(t)) / Math.log(u(t) / u(n)), o = r * Math.pow(u(n), i) / i;
- return i ? (e.invert = function (n, t) {
- var e = o - t, r = G(i) * Math.sqrt(n * n + e * e);
- return [Math.atan2(n, e) / i, 2 * Math.atan(Math.pow(o / r, 1 / i)) - Ca]
- }, e) : Sr
- }
-
- function wr(n, t) {
- function e(n, t) {
- var e = i - t;
- return [e * Math.sin(u * n), i - e * Math.cos(u * n)]
- }
-
- var r = Math.cos(n), u = n === t ? Math.sin(n) : (r - Math.cos(t)) / (t - n), i = r / u + n;
- return ca(u) < Na ? ar : (e.invert = function (n, t) {
- var e = i - t;
- return [Math.atan2(n, e) / u, i - G(u) * Math.sqrt(n * n + e * e)]
- }, e)
- }
-
- function Sr(n, t) {
- return [n, Math.log(Math.tan(Ea / 4 + t / 2))]
- }
-
- function kr(n) {
- var t, e = ur(n), r = e.scale, u = e.translate, i = e.clipExtent;
- return e.scale = function () {
- var n = r.apply(e, arguments);
- return n === e ? t ? e.clipExtent(null) : e : n
- }, e.translate = function () {
- var n = u.apply(e, arguments);
- return n === e ? t ? e.clipExtent(null) : e : n
- }, e.clipExtent = function (n) {
- var o = i.apply(e, arguments);
- if (o === e) {
- if (t = null == n) {
- var a = Ea * r(), c = u();
- i([[c[0] - a, c[1] - a], [c[0] + a, c[1] + a]])
- }
- } else t && (o = null);
- return o
- }, e.clipExtent(null)
- }
-
- function Er(n, t) {
- return [Math.log(Math.tan(Ea / 4 + t / 2)), -n]
- }
-
- function Ar(n) {
- return n[0]
- }
-
- function Cr(n) {
- return n[1]
- }
-
- function Nr(n) {
- for (var t = n.length, e = [0, 1], r = 2, u = 2; t > u; u++) {
- for (; r > 1 && K(n[e[r - 2]], n[e[r - 1]], n[u]) <= 0;)--r;
- e[r++] = u
- }
- return e.slice(0, r)
- }
-
- function zr(n, t) {
- return n[0] - t[0] || n[1] - t[1]
- }
-
- function Lr(n, t, e) {
- return (e[0] - t[0]) * (n[1] - t[1]) < (e[1] - t[1]) * (n[0] - t[0])
- }
-
- function Tr(n, t, e, r) {
- var u = n[0], i = e[0], o = t[0] - u, a = r[0] - i, c = n[1], l = e[1], s = t[1] - c, f = r[1] - l, h = (a * (c - l) - f * (u - i)) / (f * o - a * s);
- return [u + h * o, c + h * s]
- }
-
- function qr(n) {
- var t = n[0], e = n[n.length - 1];
- return !(t[0] - e[0] || t[1] - e[1])
- }
-
- function Rr() {
- tu(this), this.edge = this.site = this.circle = null
- }
-
- function Dr(n) {
- var t = Kc.pop() || new Rr;
- return t.site = n, t
- }
-
- function Pr(n) {
- Xr(n), Wc.remove(n), Kc.push(n), tu(n)
- }
-
- function Ur(n) {
- var t = n.circle, e = t.x, r = t.cy, u = {x: e, y: r}, i = n.P, o = n.N, a = [n];
- Pr(n);
- for (var c = i; c.circle && ca(e - c.circle.x) < Na && ca(r - c.circle.cy) < Na;)i = c.P, a.unshift(c), Pr(c), c = i;
- a.unshift(c), Xr(c);
- for (var l = o; l.circle && ca(e - l.circle.x) < Na && ca(r - l.circle.cy) < Na;)o = l.N, a.push(l), Pr(l), l = o;
- a.push(l), Xr(l);
- var s, f = a.length;
- for (s = 1; f > s; ++s)l = a[s], c = a[s - 1], Kr(l.edge, c.site, l.site, u);
- c = a[0], l = a[f - 1], l.edge = Jr(c.site, l.site, null, u), Vr(c), Vr(l)
- }
-
- function jr(n) {
- for (var t, e, r, u, i = n.x, o = n.y, a = Wc._; a;)if (r = Fr(a, o) - i, r > Na)a = a.L; else {
- if (u = i - Hr(a, o), !(u > Na)) {
- r > -Na ? (t = a.P, e = a) : u > -Na ? (t = a, e = a.N) : t = e = a;
- break
- }
- if (!a.R) {
- t = a;
- break
- }
- a = a.R
- }
- var c = Dr(n);
- if (Wc.insert(t, c), t || e) {
- if (t === e)return Xr(t), e = Dr(t.site), Wc.insert(c, e), c.edge = e.edge = Jr(t.site, c.site), Vr(t), Vr(e), void 0;
- if (!e)return c.edge = Jr(t.site, c.site), void 0;
- Xr(t), Xr(e);
- var l = t.site, s = l.x, f = l.y, h = n.x - s, g = n.y - f, p = e.site, v = p.x - s, d = p.y - f, m = 2 * (h * d - g * v), y = h * h + g * g, x = v * v + d * d, M = {
- x: (d * y - g * x) / m + s,
- y: (h * x - v * y) / m + f
- };
- Kr(e.edge, l, p, M), c.edge = Jr(l, n, null, M), e.edge = Jr(n, p, null, M), Vr(t), Vr(e)
- }
- }
-
- function Fr(n, t) {
- var e = n.site, r = e.x, u = e.y, i = u - t;
- if (!i)return r;
- var o = n.P;
- if (!o)return -1 / 0;
- e = o.site;
- var a = e.x, c = e.y, l = c - t;
- if (!l)return a;
- var s = a - r, f = 1 / i - 1 / l, h = s / l;
- return f ? (-h + Math.sqrt(h * h - 2 * f * (s * s / (-2 * l) - c + l / 2 + u - i / 2))) / f + r : (r + a) / 2
- }
-
- function Hr(n, t) {
- var e = n.N;
- if (e)return Fr(e, t);
- var r = n.site;
- return r.y === t ? r.x : 1 / 0
- }
-
- function Or(n) {
- this.site = n, this.edges = []
- }
-
- function Yr(n) {
- for (var t, e, r, u, i, o, a, c, l, s, f = n[0][0], h = n[1][0], g = n[0][1], p = n[1][1], v = Bc, d = v.length; d--;)if (i = v[d], i && i.prepare())for (a = i.edges, c = a.length, o = 0; c > o;)s = a[o].end(), r = s.x, u = s.y, l = a[++o % c].start(), t = l.x, e = l.y, (ca(r - t) > Na || ca(u - e) > Na) && (a.splice(o, 0, new Qr(Gr(i.site, s, ca(r - f) < Na && p - u > Na ? {
- x: f,
- y: ca(t - f) < Na ? e : p
- } : ca(u - p) < Na && h - r > Na ? {x: ca(e - p) < Na ? t : h, y: p} : ca(r - h) < Na && u - g > Na ? {
- x: h,
- y: ca(t - h) < Na ? e : g
- } : ca(u - g) < Na && r - f > Na ? {x: ca(e - g) < Na ? t : f, y: g} : null), i.site, null)), ++c)
- }
-
- function Ir(n, t) {
- return t.angle - n.angle
- }
-
- function Zr() {
- tu(this), this.x = this.y = this.arc = this.site = this.cy = null
- }
-
- function Vr(n) {
- var t = n.P, e = n.N;
- if (t && e) {
- var r = t.site, u = n.site, i = e.site;
- if (r !== i) {
- var o = u.x, a = u.y, c = r.x - o, l = r.y - a, s = i.x - o, f = i.y - a, h = 2 * (c * f - l * s);
- if (!(h >= -za)) {
- var g = c * c + l * l, p = s * s + f * f, v = (f * g - l * p) / h, d = (c * p - s * g) / h, f = d + a, m = Qc.pop() || new Zr;
- m.arc = n, m.site = u, m.x = v + o, m.y = f + Math.sqrt(v * v + d * d), m.cy = f, n.circle = m;
- for (var y = null, x = Gc._; x;)if (m.y < x.y || m.y === x.y && m.x <= x.x) {
- if (!x.L) {
- y = x.P;
- break
- }
- x = x.L
- } else {
- if (!x.R) {
- y = x;
- break
- }
- x = x.R
- }
- Gc.insert(y, m), y || (Jc = m)
- }
- }
- }
- }
-
- function Xr(n) {
- var t = n.circle;
- t && (t.P || (Jc = t.N), Gc.remove(t), Qc.push(t), tu(t), n.circle = null)
- }
-
- function $r(n) {
- for (var t, e = $c, r = He(n[0][0], n[0][1], n[1][0], n[1][1]), u = e.length; u--;)t = e[u], (!Br(t, n) || !r(t) || ca(t.a.x - t.b.x) < Na && ca(t.a.y - t.b.y) < Na) && (t.a = t.b = null, e.splice(u, 1))
- }
-
- function Br(n, t) {
- var e = n.b;
- if (e)return !0;
- var r, u, i = n.a, o = t[0][0], a = t[1][0], c = t[0][1], l = t[1][1], s = n.l, f = n.r, h = s.x, g = s.y, p = f.x, v = f.y, d = (h + p) / 2, m = (g + v) / 2;
- if (v === g) {
- if (o > d || d >= a)return;
- if (h > p) {
- if (i) {
- if (i.y >= l)return
- } else i = {x: d, y: c};
- e = {x: d, y: l}
- } else {
- if (i) {
- if (i.y < c)return
- } else i = {x: d, y: l};
- e = {x: d, y: c}
- }
- } else if (r = (h - p) / (v - g), u = m - r * d, -1 > r || r > 1)if (h > p) {
- if (i) {
- if (i.y >= l)return
- } else i = {x: (c - u) / r, y: c};
- e = {x: (l - u) / r, y: l}
- } else {
- if (i) {
- if (i.y < c)return
- } else i = {x: (l - u) / r, y: l};
- e = {x: (c - u) / r, y: c}
- } else if (v > g) {
- if (i) {
- if (i.x >= a)return
- } else i = {x: o, y: r * o + u};
- e = {x: a, y: r * a + u}
- } else {
- if (i) {
- if (i.x < o)return
- } else i = {x: a, y: r * a + u};
- e = {x: o, y: r * o + u}
- }
- return n.a = i, n.b = e, !0
- }
-
- function Wr(n, t) {
- this.l = n, this.r = t, this.a = this.b = null
- }
-
- function Jr(n, t, e, r) {
- var u = new Wr(n, t);
- return $c.push(u), e && Kr(u, n, t, e), r && Kr(u, t, n, r), Bc[n.i].edges.push(new Qr(u, n, t)), Bc[t.i].edges.push(new Qr(u, t, n)), u
- }
-
- function Gr(n, t, e) {
- var r = new Wr(n, null);
- return r.a = t, r.b = e, $c.push(r), r
- }
-
- function Kr(n, t, e, r) {
- n.a || n.b ? n.l === e ? n.b = r : n.a = r : (n.a = r, n.l = t, n.r = e)
- }
-
- function Qr(n, t, e) {
- var r = n.a, u = n.b;
- this.edge = n, this.site = t, this.angle = e ? Math.atan2(e.y - t.y, e.x - t.x) : n.l === t ? Math.atan2(u.x - r.x, r.y - u.y) : Math.atan2(r.x - u.x, u.y - r.y)
- }
-
- function nu() {
- this._ = null
- }
-
- function tu(n) {
- n.U = n.C = n.L = n.R = n.P = n.N = null
- }
-
- function eu(n, t) {
- var e = t, r = t.R, u = e.U;
- u ? u.L === e ? u.L = r : u.R = r : n._ = r, r.U = u, e.U = r, e.R = r.L, e.R && (e.R.U = e), r.L = e
- }
-
- function ru(n, t) {
- var e = t, r = t.L, u = e.U;
- u ? u.L === e ? u.L = r : u.R = r : n._ = r, r.U = u, e.U = r, e.L = r.R, e.L && (e.L.U = e), r.R = e
- }
-
- function uu(n) {
- for (; n.L;)n = n.L;
- return n
- }
-
- function iu(n, t) {
- var e, r, u, i = n.sort(ou).pop();
- for ($c = [], Bc = new Array(n.length), Wc = new nu, Gc = new nu; ;)if (u = Jc, i && (!u || i.y < u.y || i.y === u.y && i.x < u.x))(i.x !== e || i.y !== r) && (Bc[i.i] = new Or(i), jr(i), e = i.x, r = i.y), i = n.pop(); else {
- if (!u)break;
- Ur(u.arc)
- }
- t && ($r(t), Yr(t));
- var o = {cells: Bc, edges: $c};
- return Wc = Gc = $c = Bc = null, o
- }
-
- function ou(n, t) {
- return t.y - n.y || t.x - n.x
- }
-
- function au(n, t, e) {
- return (n.x - e.x) * (t.y - n.y) - (n.x - t.x) * (e.y - n.y)
- }
-
- function cu(n) {
- return n.x
- }
-
- function lu(n) {
- return n.y
- }
-
- function su() {
- return {leaf: !0, nodes: [], point: null, x: null, y: null}
- }
-
- function fu(n, t, e, r, u, i) {
- if (!n(t, e, r, u, i)) {
- var o = .5 * (e + u), a = .5 * (r + i), c = t.nodes;
- c[0] && fu(n, c[0], e, r, o, a), c[1] && fu(n, c[1], o, r, u, a), c[2] && fu(n, c[2], e, a, o, i), c[3] && fu(n, c[3], o, a, u, i)
- }
- }
-
- function hu(n, t) {
- n = Bo.rgb(n), t = Bo.rgb(t);
- var e = n.r, r = n.g, u = n.b, i = t.r - e, o = t.g - r, a = t.b - u;
- return function (n) {
- return "#" + xt(Math.round(e + i * n)) + xt(Math.round(r + o * n)) + xt(Math.round(u + a * n))
- }
- }
-
- function gu(n, t) {
- var e, r = {}, u = {};
- for (e in n)e in t ? r[e] = du(n[e], t[e]) : u[e] = n[e];
- for (e in t)e in n || (u[e] = t[e]);
- return function (n) {
- for (e in r)u[e] = r[e](n);
- return u
- }
- }
-
- function pu(n, t) {
- return n = +n, t = +t, function (e) {
- return n * (1 - e) + t * e
- }
- }
-
- function vu(n, t) {
- var e, r, u, i = tl.lastIndex = el.lastIndex = 0, o = -1, a = [], c = [];
- for (n += "", t += ""; (e = tl.exec(n)) && (r = el.exec(t));)(u = r.index) > i && (u = t.slice(i, u), a[o] ? a[o] += u : a[++o] = u), (e = e[0]) === (r = r[0]) ? a[o] ? a[o] += r : a[++o] = r : (a[++o] = null, c.push({
- i: o,
- x: pu(e, r)
- })), i = el.lastIndex;
- return i < t.length && (u = t.slice(i), a[o] ? a[o] += u : a[++o] = u), a.length < 2 ? c[0] ? (t = c[0].x, function (n) {
- return t(n) + ""
- }) : function () {
- return t
- } : (t = c.length, function (n) {
- for (var e, r = 0; t > r; ++r)a[(e = c[r]).i] = e.x(n);
- return a.join("")
- })
- }
-
- function du(n, t) {
- for (var e, r = Bo.interpolators.length; --r >= 0 && !(e = Bo.interpolators[r](n, t)););
- return e
- }
-
- function mu(n, t) {
- var e, r = [], u = [], i = n.length, o = t.length, a = Math.min(n.length, t.length);
- for (e = 0; a > e; ++e)r.push(du(n[e], t[e]));
- for (; i > e; ++e)u[e] = n[e];
- for (; o > e; ++e)u[e] = t[e];
- return function (n) {
- for (e = 0; a > e; ++e)u[e] = r[e](n);
- return u
- }
- }
-
- function yu(n) {
- return function (t) {
- return 0 >= t ? 0 : t >= 1 ? 1 : n(t)
- }
- }
-
- function xu(n) {
- return function (t) {
- return 1 - n(1 - t)
- }
- }
-
- function Mu(n) {
- return function (t) {
- return .5 * (.5 > t ? n(2 * t) : 2 - n(2 - 2 * t))
- }
- }
-
- function _u(n) {
- return n * n
- }
-
- function bu(n) {
- return n * n * n
- }
-
- function wu(n) {
- if (0 >= n)return 0;
- if (n >= 1)return 1;
- var t = n * n, e = t * n;
- return 4 * (.5 > n ? e : 3 * (n - t) + e - .75)
- }
-
- function Su(n) {
- return function (t) {
- return Math.pow(t, n)
- }
- }
-
- function ku(n) {
- return 1 - Math.cos(n * Ca)
- }
-
- function Eu(n) {
- return Math.pow(2, 10 * (n - 1))
- }
-
- function Au(n) {
- return 1 - Math.sqrt(1 - n * n)
- }
-
- function Cu(n, t) {
- var e;
- return arguments.length < 2 && (t = .45), arguments.length ? e = t / Aa * Math.asin(1 / n) : (n = 1, e = t / 4), function (r) {
- return 1 + n * Math.pow(2, -10 * r) * Math.sin((r - e) * Aa / t)
- }
- }
-
- function Nu(n) {
- return n || (n = 1.70158), function (t) {
- return t * t * ((n + 1) * t - n)
- }
- }
-
- function zu(n) {
- return 1 / 2.75 > n ? 7.5625 * n * n : 2 / 2.75 > n ? 7.5625 * (n -= 1.5 / 2.75) * n + .75 : 2.5 / 2.75 > n ? 7.5625 * (n -= 2.25 / 2.75) * n + .9375 : 7.5625 * (n -= 2.625 / 2.75) * n + .984375
- }
-
- function Lu(n, t) {
- n = Bo.hcl(n), t = Bo.hcl(t);
- var e = n.h, r = n.c, u = n.l, i = t.h - e, o = t.c - r, a = t.l - u;
- return isNaN(o) && (o = 0, r = isNaN(r) ? t.c : r), isNaN(i) ? (i = 0, e = isNaN(e) ? t.h : e) : i > 180 ? i -= 360 : -180 > i && (i += 360), function (n) {
- return lt(e + i * n, r + o * n, u + a * n) + ""
- }
- }
-
- function Tu(n, t) {
- n = Bo.hsl(n), t = Bo.hsl(t);
- var e = n.h, r = n.s, u = n.l, i = t.h - e, o = t.s - r, a = t.l - u;
- return isNaN(o) && (o = 0, r = isNaN(r) ? t.s : r), isNaN(i) ? (i = 0, e = isNaN(e) ? t.h : e) : i > 180 ? i -= 360 : -180 > i && (i += 360), function (n) {
- return at(e + i * n, r + o * n, u + a * n) + ""
- }
- }
-
- function qu(n, t) {
- n = Bo.lab(n), t = Bo.lab(t);
- var e = n.l, r = n.a, u = n.b, i = t.l - e, o = t.a - r, a = t.b - u;
- return function (n) {
- return ft(e + i * n, r + o * n, u + a * n) + ""
- }
- }
-
- function Ru(n, t) {
- return t -= n, function (e) {
- return Math.round(n + t * e)
- }
- }
-
- function Du(n) {
- var t = [n.a, n.b], e = [n.c, n.d], r = Uu(t), u = Pu(t, e), i = Uu(ju(e, t, -u)) || 0;
- t[0] * e[1] < e[0] * t[1] && (t[0] *= -1, t[1] *= -1, r *= -1, u *= -1), this.rotate = (r ? Math.atan2(t[1], t[0]) : Math.atan2(-e[0], e[1])) * Ta, this.translate = [n.e, n.f], this.scale = [r, i], this.skew = i ? Math.atan2(u, i) * Ta : 0
- }
-
- function Pu(n, t) {
- return n[0] * t[0] + n[1] * t[1]
- }
-
- function Uu(n) {
- var t = Math.sqrt(Pu(n, n));
- return t && (n[0] /= t, n[1] /= t), t
- }
-
- function ju(n, t, e) {
- return n[0] += e * t[0], n[1] += e * t[1], n
- }
-
- function Fu(n, t) {
- var e, r = [], u = [], i = Bo.transform(n), o = Bo.transform(t), a = i.translate, c = o.translate, l = i.rotate, s = o.rotate, f = i.skew, h = o.skew, g = i.scale, p = o.scale;
- return a[0] != c[0] || a[1] != c[1] ? (r.push("translate(", null, ",", null, ")"), u.push({
- i: 1,
- x: pu(a[0], c[0])
- }, {
- i: 3,
- x: pu(a[1], c[1])
- })) : c[0] || c[1] ? r.push("translate(" + c + ")") : r.push(""), l != s ? (l - s > 180 ? s += 360 : s - l > 180 && (l += 360), u.push({
- i: r.push(r.pop() + "rotate(", null, ")") - 2,
- x: pu(l, s)
- })) : s && r.push(r.pop() + "rotate(" + s + ")"), f != h ? u.push({
- i: r.push(r.pop() + "skewX(", null, ")") - 2,
- x: pu(f, h)
- }) : h && r.push(r.pop() + "skewX(" + h + ")"), g[0] != p[0] || g[1] != p[1] ? (e = r.push(r.pop() + "scale(", null, ",", null, ")"), u.push({
- i: e - 4,
- x: pu(g[0], p[0])
- }, {
- i: e - 2,
- x: pu(g[1], p[1])
- })) : (1 != p[0] || 1 != p[1]) && r.push(r.pop() + "scale(" + p + ")"), e = u.length, function (n) {
- for (var t, i = -1; ++i < e;)r[(t = u[i]).i] = t.x(n);
- return r.join("")
- }
- }
-
- function Hu(n, t) {
- return t = (t -= n = +n) || 1 / t, function (e) {
- return (e - n) / t
- }
- }
-
- function Ou(n, t) {
- return t = (t -= n = +n) || 1 / t, function (e) {
- return Math.max(0, Math.min(1, (e - n) / t))
- }
- }
-
- function Yu(n) {
- for (var t = n.source, e = n.target, r = Zu(t, e), u = [t]; t !== r;)t = t.parent, u.push(t);
- for (var i = u.length; e !== r;)u.splice(i, 0, e), e = e.parent;
- return u
- }
-
- function Iu(n) {
- for (var t = [], e = n.parent; null != e;)t.push(n), n = e, e = e.parent;
- return t.push(n), t
- }
-
- function Zu(n, t) {
- if (n === t)return n;
- for (var e = Iu(n), r = Iu(t), u = e.pop(), i = r.pop(), o = null; u === i;)o = u, u = e.pop(), i = r.pop();
- return o
- }
-
- function Vu(n) {
- n.fixed |= 2
- }
-
- function Xu(n) {
- n.fixed &= -7
- }
-
- function $u(n) {
- n.fixed |= 4, n.px = n.x, n.py = n.y
- }
-
- function Bu(n) {
- n.fixed &= -5
- }
-
- function Wu(n, t, e) {
- var r = 0, u = 0;
- if (n.charge = 0, !n.leaf)for (var i, o = n.nodes, a = o.length, c = -1; ++c < a;)i = o[c], null != i && (Wu(i, t, e), n.charge += i.charge, r += i.charge * i.cx, u += i.charge * i.cy);
- if (n.point) {
- n.leaf || (n.point.x += Math.random() - .5, n.point.y += Math.random() - .5);
- var l = t * e[n.point.index];
- n.charge += n.pointCharge = l, r += l * n.point.x, u += l * n.point.y
- }
- n.cx = r / n.charge, n.cy = u / n.charge
- }
-
- function Ju(n, t) {
- return Bo.rebind(n, t, "sort", "children", "value"), n.nodes = n, n.links = ei, n
- }
-
- function Gu(n, t) {
- for (var e = [n]; null != (n = e.pop());)if (t(n), (u = n.children) && (r = u.length))for (var r, u; --r >= 0;)e.push(u[r])
- }
-
- function Ku(n, t) {
- for (var e = [n], r = []; null != (n = e.pop());)if (r.push(n), (i = n.children) && (u = i.length))for (var u, i, o = -1; ++o < u;)e.push(i[o]);
- for (; null != (n = r.pop());)t(n)
- }
-
- function Qu(n) {
- return n.children
- }
-
- function ni(n) {
- return n.value
- }
-
- function ti(n, t) {
- return t.value - n.value
- }
-
- function ei(n) {
- return Bo.merge(n.map(function (n) {
- return (n.children || []).map(function (t) {
- return {source: n, target: t}
- })
- }))
- }
-
- function ri(n) {
- return n.x
- }
-
- function ui(n) {
- return n.y
- }
-
- function ii(n, t, e) {
- n.y0 = t, n.y = e
- }
-
- function oi(n) {
- return Bo.range(n.length)
- }
-
- function ai(n) {
- for (var t = -1, e = n[0].length, r = []; ++t < e;)r[t] = 0;
- return r
- }
-
- function ci(n) {
- for (var t, e = 1, r = 0, u = n[0][1], i = n.length; i > e; ++e)(t = n[e][1]) > u && (r = e, u = t);
- return r
- }
-
- function li(n) {
- return n.reduce(si, 0)
- }
-
- function si(n, t) {
- return n + t[1]
- }
-
- function fi(n, t) {
- return hi(n, Math.ceil(Math.log(t.length) / Math.LN2 + 1))
- }
-
- function hi(n, t) {
- for (var e = -1, r = +n[0], u = (n[1] - r) / t, i = []; ++e <= t;)i[e] = u * e + r;
- return i
- }
-
- function gi(n) {
- return [Bo.min(n), Bo.max(n)]
- }
-
- function pi(n, t) {
- return n.value - t.value
- }
-
- function vi(n, t) {
- var e = n._pack_next;
- n._pack_next = t, t._pack_prev = n, t._pack_next = e, e._pack_prev = t
- }
-
- function di(n, t) {
- n._pack_next = t, t._pack_prev = n
- }
-
- function mi(n, t) {
- var e = t.x - n.x, r = t.y - n.y, u = n.r + t.r;
- return .999 * u * u > e * e + r * r
- }
-
- function yi(n) {
- function t(n) {
- s = Math.min(n.x - n.r, s), f = Math.max(n.x + n.r, f), h = Math.min(n.y - n.r, h), g = Math.max(n.y + n.r, g)
- }
-
- if ((e = n.children) && (l = e.length)) {
- var e, r, u, i, o, a, c, l, s = 1 / 0, f = -1 / 0, h = 1 / 0, g = -1 / 0;
- if (e.forEach(xi), r = e[0], r.x = -r.r, r.y = 0, t(r), l > 1 && (u = e[1], u.x = u.r, u.y = 0, t(u), l > 2))for (i = e[2], bi(r, u, i), t(i), vi(r, i), r._pack_prev = i, vi(i, u), u = r._pack_next, o = 3; l > o; o++) {
- bi(r, u, i = e[o]);
- var p = 0, v = 1, d = 1;
- for (a = u._pack_next; a !== u; a = a._pack_next, v++)if (mi(a, i)) {
- p = 1;
- break
- }
- if (1 == p)for (c = r._pack_prev; c !== a._pack_prev && !mi(c, i); c = c._pack_prev, d++);
- p ? (d > v || v == d && u.r < r.r ? di(r, u = a) : di(r = c, u), o--) : (vi(r, i), u = i, t(i))
- }
- var m = (s + f) / 2, y = (h + g) / 2, x = 0;
- for (o = 0; l > o; o++)i = e[o], i.x -= m, i.y -= y, x = Math.max(x, i.r + Math.sqrt(i.x * i.x + i.y * i.y));
- n.r = x, e.forEach(Mi)
- }
- }
-
- function xi(n) {
- n._pack_next = n._pack_prev = n
- }
-
- function Mi(n) {
- delete n._pack_next, delete n._pack_prev
- }
-
- function _i(n, t, e, r) {
- var u = n.children;
- if (n.x = t += r * n.x, n.y = e += r * n.y, n.r *= r, u)for (var i = -1, o = u.length; ++i < o;)_i(u[i], t, e, r)
- }
-
- function bi(n, t, e) {
- var r = n.r + e.r, u = t.x - n.x, i = t.y - n.y;
- if (r && (u || i)) {
- var o = t.r + e.r, a = u * u + i * i;
- o *= o, r *= r;
- var c = .5 + (r - o) / (2 * a), l = Math.sqrt(Math.max(0, 2 * o * (r + a) - (r -= a) * r - o * o)) / (2 * a);
- e.x = n.x + c * u + l * i, e.y = n.y + c * i - l * u
- } else e.x = n.x + r, e.y = n.y
- }
-
- function wi(n, t) {
- return n.parent == t.parent ? 1 : 2
- }
-
- function Si(n) {
- var t = n.children;
- return t.length ? t[0] : n.t
- }
-
- function ki(n) {
- var t, e = n.children;
- return (t = e.length) ? e[t - 1] : n.t
- }
-
- function Ei(n, t, e) {
- var r = e / (t.i - n.i);
- t.c -= r, t.s += e, n.c += r, t.z += e, t.m += e
- }
-
- function Ai(n) {
- for (var t, e = 0, r = 0, u = n.children, i = u.length; --i >= 0;)t = u[i], t.z += e, t.m += e, e += t.s + (r += t.c)
- }
-
- function Ci(n, t, e) {
- return n.a.parent === t.parent ? n.a : e
- }
-
- function Ni(n) {
- return 1 + Bo.max(n, function (n) {
- return n.y
- })
- }
-
- function zi(n) {
- return n.reduce(function (n, t) {
- return n + t.x
- }, 0) / n.length
- }
-
- function Li(n) {
- var t = n.children;
- return t && t.length ? Li(t[0]) : n
- }
-
- function Ti(n) {
- var t, e = n.children;
- return e && (t = e.length) ? Ti(e[t - 1]) : n
- }
-
- function qi(n) {
- return {x: n.x, y: n.y, dx: n.dx, dy: n.dy}
- }
-
- function Ri(n, t) {
- var e = n.x + t[3], r = n.y + t[0], u = n.dx - t[1] - t[3], i = n.dy - t[0] - t[2];
- return 0 > u && (e += u / 2, u = 0), 0 > i && (r += i / 2, i = 0), {x: e, y: r, dx: u, dy: i}
- }
-
- function Di(n) {
- var t = n[0], e = n[n.length - 1];
- return e > t ? [t, e] : [e, t]
- }
-
- function Pi(n) {
- return n.rangeExtent ? n.rangeExtent() : Di(n.range())
- }
-
- function Ui(n, t, e, r) {
- var u = e(n[0], n[1]), i = r(t[0], t[1]);
- return function (n) {
- return i(u(n))
- }
- }
-
- function ji(n, t) {
- var e, r = 0, u = n.length - 1, i = n[r], o = n[u];
- return i > o && (e = r, r = u, u = e, e = i, i = o, o = e), n[r] = t.floor(i), n[u] = t.ceil(o), n
- }
-
- function Fi(n) {
- return n ? {
- floor: function (t) {
- return Math.floor(t / n) * n
- }, ceil: function (t) {
- return Math.ceil(t / n) * n
- }
- } : gl
- }
-
- function Hi(n, t, e, r) {
- var u = [], i = [], o = 0, a = Math.min(n.length, t.length) - 1;
- for (n[a] < n[0] && (n = n.slice().reverse(), t = t.slice().reverse()); ++o <= a;)u.push(e(n[o - 1], n[o])), i.push(r(t[o - 1], t[o]));
- return function (t) {
- var e = Bo.bisect(n, t, 1, a) - 1;
- return i[e](u[e](t))
- }
- }
-
- function Oi(n, t, e, r) {
- function u() {
- var u = Math.min(n.length, t.length) > 2 ? Hi : Ui, c = r ? Ou : Hu;
- return o = u(n, t, c, e), a = u(t, n, c, du), i
- }
-
- function i(n) {
- return o(n)
- }
-
- var o, a;
- return i.invert = function (n) {
- return a(n)
- }, i.domain = function (t) {
- return arguments.length ? (n = t.map(Number), u()) : n
- }, i.range = function (n) {
- return arguments.length ? (t = n, u()) : t
- }, i.rangeRound = function (n) {
- return i.range(n).interpolate(Ru)
- }, i.clamp = function (n) {
- return arguments.length ? (r = n, u()) : r
- }, i.interpolate = function (n) {
- return arguments.length ? (e = n, u()) : e
- }, i.ticks = function (t) {
- return Vi(n, t)
- }, i.tickFormat = function (t, e) {
- return Xi(n, t, e)
- }, i.nice = function (t) {
- return Ii(n, t), u()
- }, i.copy = function () {
- return Oi(n, t, e, r)
- }, u()
- }
-
- function Yi(n, t) {
- return Bo.rebind(n, t, "range", "rangeRound", "interpolate", "clamp")
- }
-
- function Ii(n, t) {
- return ji(n, Fi(Zi(n, t)[2]))
- }
-
- function Zi(n, t) {
- null == t && (t = 10);
- var e = Di(n), r = e[1] - e[0], u = Math.pow(10, Math.floor(Math.log(r / t) / Math.LN10)), i = t / r * u;
- return .15 >= i ? u *= 10 : .35 >= i ? u *= 5 : .75 >= i && (u *= 2), e[0] = Math.ceil(e[0] / u) * u, e[1] = Math.floor(e[1] / u) * u + .5 * u, e[2] = u, e
- }
-
- function Vi(n, t) {
- return Bo.range.apply(Bo, Zi(n, t))
- }
-
- function Xi(n, t, e) {
- var r = Zi(n, t);
- if (e) {
- var u = tc.exec(e);
- if (u.shift(), "s" === u[8]) {
- var i = Bo.formatPrefix(Math.max(ca(r[0]), ca(r[1])));
- return u[7] || (u[7] = "." + $i(i.scale(r[2]))), u[8] = "f", e = Bo.format(u.join("")), function (n) {
- return e(i.scale(n)) + i.symbol
- }
- }
- u[7] || (u[7] = "." + Bi(u[8], r)), e = u.join("")
- } else e = ",." + $i(r[2]) + "f";
- return Bo.format(e)
- }
-
- function $i(n) {
- return -Math.floor(Math.log(n) / Math.LN10 + .01)
- }
-
- function Bi(n, t) {
- var e = $i(t[2]);
- return n in pl ? Math.abs(e - $i(Math.max(ca(t[0]), ca(t[1])))) + +("e" !== n) : e - 2 * ("%" === n)
- }
-
- function Wi(n, t, e, r) {
- function u(n) {
- return (e ? Math.log(0 > n ? 0 : n) : -Math.log(n > 0 ? 0 : -n)) / Math.log(t)
- }
-
- function i(n) {
- return e ? Math.pow(t, n) : -Math.pow(t, -n)
- }
-
- function o(t) {
- return n(u(t))
- }
-
- return o.invert = function (t) {
- return i(n.invert(t))
- }, o.domain = function (t) {
- return arguments.length ? (e = t[0] >= 0, n.domain((r = t.map(Number)).map(u)), o) : r
- }, o.base = function (e) {
- return arguments.length ? (t = +e, n.domain(r.map(u)), o) : t
- }, o.nice = function () {
- var t = ji(r.map(u), e ? Math : dl);
- return n.domain(t), r = t.map(i), o
- }, o.ticks = function () {
- var n = Di(r), o = [], a = n[0], c = n[1], l = Math.floor(u(a)), s = Math.ceil(u(c)), f = t % 1 ? 2 : t;
- if (isFinite(s - l)) {
- if (e) {
- for (; s > l; l++)for (var h = 1; f > h; h++)o.push(i(l) * h);
- o.push(i(l))
- } else for (o.push(i(l)); l++ < s;)for (var h = f - 1; h > 0; h--)o.push(i(l) * h);
- for (l = 0; o[l] < a; l++);
- for (s = o.length; o[s - 1] > c; s--);
- o = o.slice(l, s)
- }
- return o
- }, o.tickFormat = function (n, t) {
- if (!arguments.length)return vl;
- arguments.length < 2 ? t = vl : "function" != typeof t && (t = Bo.format(t));
- var r, a = Math.max(.1, n / o.ticks().length), c = e ? (r = 1e-12, Math.ceil) : (r = -1e-12, Math.floor);
- return function (n) {
- return n / i(c(u(n) + r)) <= a ? t(n) : ""
- }
- }, o.copy = function () {
- return Wi(n.copy(), t, e, r)
- }, Yi(o, n)
- }
-
- function Ji(n, t, e) {
- function r(t) {
- return n(u(t))
- }
-
- var u = Gi(t), i = Gi(1 / t);
- return r.invert = function (t) {
- return i(n.invert(t))
- }, r.domain = function (t) {
- return arguments.length ? (n.domain((e = t.map(Number)).map(u)), r) : e
- }, r.ticks = function (n) {
- return Vi(e, n)
- }, r.tickFormat = function (n, t) {
- return Xi(e, n, t)
- }, r.nice = function (n) {
- return r.domain(Ii(e, n))
- }, r.exponent = function (o) {
- return arguments.length ? (u = Gi(t = o), i = Gi(1 / t), n.domain(e.map(u)), r) : t
- }, r.copy = function () {
- return Ji(n.copy(), t, e)
- }, Yi(r, n)
- }
-
- function Gi(n) {
- return function (t) {
- return 0 > t ? -Math.pow(-t, n) : Math.pow(t, n)
- }
- }
-
- function Ki(n, t) {
- function e(e) {
- return i[((u.get(e) || ("range" === t.t ? u.set(e, n.push(e)) : 0 / 0)) - 1) % i.length]
- }
-
- function r(t, e) {
- return Bo.range(n.length).map(function (n) {
- return t + e * n
- })
- }
-
- var u, i, o;
- return e.domain = function (r) {
- if (!arguments.length)return n;
- n = [], u = new a;
- for (var i, o = -1, c = r.length; ++o < c;)u.has(i = r[o]) || u.set(i, n.push(i));
- return e[t.t].apply(e, t.a)
- }, e.range = function (n) {
- return arguments.length ? (i = n, o = 0, t = {t: "range", a: arguments}, e) : i
- }, e.rangePoints = function (u, a) {
- arguments.length < 2 && (a = 0);
- var c = u[0], l = u[1], s = (l - c) / (Math.max(1, n.length - 1) + a);
- return i = r(n.length < 2 ? (c + l) / 2 : c + s * a / 2, s), o = 0, t = {t: "rangePoints", a: arguments}, e
- }, e.rangeBands = function (u, a, c) {
- arguments.length < 2 && (a = 0), arguments.length < 3 && (c = a);
- var l = u[1] < u[0], s = u[l - 0], f = u[1 - l], h = (f - s) / (n.length - a + 2 * c);
- return i = r(s + h * c, h), l && i.reverse(), o = h * (1 - a), t = {t: "rangeBands", a: arguments}, e
- }, e.rangeRoundBands = function (u, a, c) {
- arguments.length < 2 && (a = 0), arguments.length < 3 && (c = a);
- var l = u[1] < u[0], s = u[l - 0], f = u[1 - l], h = Math.floor((f - s) / (n.length - a + 2 * c)), g = f - s - (n.length - a) * h;
- return i = r(s + Math.round(g / 2), h), l && i.reverse(), o = Math.round(h * (1 - a)), t = {
- t: "rangeRoundBands",
- a: arguments
- }, e
- }, e.rangeBand = function () {
- return o
- }, e.rangeExtent = function () {
- return Di(t.a[0])
- }, e.copy = function () {
- return Ki(n, t)
- }, e.domain(n)
- }
-
- function Qi(r, u) {
- function i() {
- var n = 0, t = u.length;
- for (a = []; ++n < t;)a[n - 1] = Bo.quantile(r, n / t);
- return o
- }
-
- function o(n) {
- return isNaN(n = +n) ? void 0 : u[Bo.bisect(a, n)]
- }
-
- var a;
- return o.domain = function (u) {
- return arguments.length ? (r = u.map(t).filter(e).sort(n), i()) : r
- }, o.range = function (n) {
- return arguments.length ? (u = n, i()) : u
- }, o.quantiles = function () {
- return a
- }, o.invertExtent = function (n) {
- return n = u.indexOf(n), 0 > n ? [0 / 0, 0 / 0] : [n > 0 ? a[n - 1] : r[0], n < a.length ? a[n] : r[r.length - 1]]
- }, o.copy = function () {
- return Qi(r, u)
- }, i()
- }
-
- function no(n, t, e) {
- function r(t) {
- return e[Math.max(0, Math.min(o, Math.floor(i * (t - n))))]
- }
-
- function u() {
- return i = e.length / (t - n), o = e.length - 1, r
- }
-
- var i, o;
- return r.domain = function (e) {
- return arguments.length ? (n = +e[0], t = +e[e.length - 1], u()) : [n, t]
- }, r.range = function (n) {
- return arguments.length ? (e = n, u()) : e
- }, r.invertExtent = function (t) {
- return t = e.indexOf(t), t = 0 > t ? 0 / 0 : t / i + n, [t, t + 1 / i]
- }, r.copy = function () {
- return no(n, t, e)
- }, u()
- }
-
- function to(n, t) {
- function e(e) {
- return e >= e ? t[Bo.bisect(n, e)] : void 0
- }
-
- return e.domain = function (t) {
- return arguments.length ? (n = t, e) : n
- }, e.range = function (n) {
- return arguments.length ? (t = n, e) : t
- }, e.invertExtent = function (e) {
- return e = t.indexOf(e), [n[e - 1], n[e]]
- }, e.copy = function () {
- return to(n, t)
- }, e
- }
-
- function eo(n) {
- function t(n) {
- return +n
- }
-
- return t.invert = t, t.domain = t.range = function (e) {
- return arguments.length ? (n = e.map(t), t) : n
- }, t.ticks = function (t) {
- return Vi(n, t)
- }, t.tickFormat = function (t, e) {
- return Xi(n, t, e)
- }, t.copy = function () {
- return eo(n)
- }, t
- }
-
- function ro(n) {
- return n.innerRadius
- }
-
- function uo(n) {
- return n.outerRadius
- }
-
- function io(n) {
- return n.startAngle
- }
-
- function oo(n) {
- return n.endAngle
- }
-
- function ao(n) {
- function t(t) {
- function o() {
- l.push("M", i(n(s), a))
- }
-
- for (var c, l = [], s = [], f = -1, h = t.length, g = kt(e), p = kt(r); ++f < h;)u.call(this, c = t[f], f) ? s.push([+g.call(this, c, f), +p.call(this, c, f)]) : s.length && (o(), s = []);
- return s.length && o(), l.length ? l.join("") : null
- }
-
- var e = Ar, r = Cr, u = Ae, i = co, o = i.key, a = .7;
- return t.x = function (n) {
- return arguments.length ? (e = n, t) : e
- }, t.y = function (n) {
- return arguments.length ? (r = n, t) : r
- }, t.defined = function (n) {
- return arguments.length ? (u = n, t) : u
- }, t.interpolate = function (n) {
- return arguments.length ? (o = "function" == typeof n ? i = n : (i = wl.get(n) || co).key, t) : o
- }, t.tension = function (n) {
- return arguments.length ? (a = n, t) : a
- }, t
- }
-
- function co(n) {
- return n.join("L")
- }
-
- function lo(n) {
- return co(n) + "Z"
- }
-
- function so(n) {
- for (var t = 0, e = n.length, r = n[0], u = [r[0], ",", r[1]]; ++t < e;)u.push("H", (r[0] + (r = n[t])[0]) / 2, "V", r[1]);
- return e > 1 && u.push("H", r[0]), u.join("")
- }
-
- function fo(n) {
- for (var t = 0, e = n.length, r = n[0], u = [r[0], ",", r[1]]; ++t < e;)u.push("V", (r = n[t])[1], "H", r[0]);
- return u.join("")
- }
-
- function ho(n) {
- for (var t = 0, e = n.length, r = n[0], u = [r[0], ",", r[1]]; ++t < e;)u.push("H", (r = n[t])[0], "V", r[1]);
- return u.join("")
- }
-
- function go(n, t) {
- return n.length < 4 ? co(n) : n[1] + mo(n.slice(1, n.length - 1), yo(n, t))
- }
-
- function po(n, t) {
- return n.length < 3 ? co(n) : n[0] + mo((n.push(n[0]), n), yo([n[n.length - 2]].concat(n, [n[1]]), t))
- }
-
- function vo(n, t) {
- return n.length < 3 ? co(n) : n[0] + mo(n, yo(n, t))
- }
-
- function mo(n, t) {
- if (t.length < 1 || n.length != t.length && n.length != t.length + 2)return co(n);
- var e = n.length != t.length, r = "", u = n[0], i = n[1], o = t[0], a = o, c = 1;
- if (e && (r += "Q" + (i[0] - 2 * o[0] / 3) + "," + (i[1] - 2 * o[1] / 3) + "," + i[0] + "," + i[1], u = n[1], c = 2), t.length > 1) {
- a = t[1], i = n[c], c++, r += "C" + (u[0] + o[0]) + "," + (u[1] + o[1]) + "," + (i[0] - a[0]) + "," + (i[1] - a[1]) + "," + i[0] + "," + i[1];
- for (var l = 2; l < t.length; l++, c++)i = n[c], a = t[l], r += "S" + (i[0] - a[0]) + "," + (i[1] - a[1]) + "," + i[0] + "," + i[1]
- }
- if (e) {
- var s = n[c];
- r += "Q" + (i[0] + 2 * a[0] / 3) + "," + (i[1] + 2 * a[1] / 3) + "," + s[0] + "," + s[1]
- }
- return r
- }
-
- function yo(n, t) {
- for (var e, r = [], u = (1 - t) / 2, i = n[0], o = n[1], a = 1, c = n.length; ++a < c;)e = i, i = o, o = n[a], r.push([u * (o[0] - e[0]), u * (o[1] - e[1])]);
- return r
- }
-
- function xo(n) {
- if (n.length < 3)return co(n);
- var t = 1, e = n.length, r = n[0], u = r[0], i = r[1], o = [u, u, u, (r = n[1])[0]], a = [i, i, i, r[1]], c = [u, ",", i, "L", wo(El, o), ",", wo(El, a)];
- for (n.push(n[e - 1]); ++t <= e;)r = n[t], o.shift(), o.push(r[0]), a.shift(), a.push(r[1]), So(c, o, a);
- return n.pop(), c.push("L", r), c.join("")
- }
-
- function Mo(n) {
- if (n.length < 4)return co(n);
- for (var t, e = [], r = -1, u = n.length, i = [0], o = [0]; ++r < 3;)t = n[r], i.push(t[0]), o.push(t[1]);
- for (e.push(wo(El, i) + "," + wo(El, o)), --r; ++r < u;)t = n[r], i.shift(), i.push(t[0]), o.shift(), o.push(t[1]), So(e, i, o);
- return e.join("")
- }
-
- function _o(n) {
- for (var t, e, r = -1, u = n.length, i = u + 4, o = [], a = []; ++r < 4;)e = n[r % u], o.push(e[0]), a.push(e[1]);
- for (t = [wo(El, o), ",", wo(El, a)], --r; ++r < i;)e = n[r % u], o.shift(), o.push(e[0]), a.shift(), a.push(e[1]), So(t, o, a);
- return t.join("")
- }
-
- function bo(n, t) {
- var e = n.length - 1;
- if (e)for (var r, u, i = n[0][0], o = n[0][1], a = n[e][0] - i, c = n[e][1] - o, l = -1; ++l <= e;)r = n[l], u = l / e, r[0] = t * r[0] + (1 - t) * (i + u * a), r[1] = t * r[1] + (1 - t) * (o + u * c);
- return xo(n)
- }
-
- function wo(n, t) {
- return n[0] * t[0] + n[1] * t[1] + n[2] * t[2] + n[3] * t[3]
- }
-
- function So(n, t, e) {
- n.push("C", wo(Sl, t), ",", wo(Sl, e), ",", wo(kl, t), ",", wo(kl, e), ",", wo(El, t), ",", wo(El, e))
- }
-
- function ko(n, t) {
- return (t[1] - n[1]) / (t[0] - n[0])
- }
-
- function Eo(n) {
- for (var t = 0, e = n.length - 1, r = [], u = n[0], i = n[1], o = r[0] = ko(u, i); ++t < e;)r[t] = (o + (o = ko(u = i, i = n[t + 1]))) / 2;
- return r[t] = o, r
- }
-
- function Ao(n) {
- for (var t, e, r, u, i = [], o = Eo(n), a = -1, c = n.length - 1; ++a < c;)t = ko(n[a], n[a + 1]), ca(t) < Na ? o[a] = o[a + 1] = 0 : (e = o[a] / t, r = o[a + 1] / t, u = e * e + r * r, u > 9 && (u = 3 * t / Math.sqrt(u), o[a] = u * e, o[a + 1] = u * r));
- for (a = -1; ++a <= c;)u = (n[Math.min(c, a + 1)][0] - n[Math.max(0, a - 1)][0]) / (6 * (1 + o[a] * o[a])), i.push([u || 0, o[a] * u || 0]);
- return i
- }
-
- function Co(n) {
- return n.length < 3 ? co(n) : n[0] + mo(n, Ao(n))
- }
-
- function No(n) {
- for (var t, e, r, u = -1, i = n.length; ++u < i;)t = n[u], e = t[0], r = t[1] + _l, t[0] = e * Math.cos(r), t[1] = e * Math.sin(r);
- return n
- }
-
- function zo(n) {
- function t(t) {
- function c() {
- v.push("M", a(n(m), f), s, l(n(d.reverse()), f), "Z")
- }
-
- for (var h, g, p, v = [], d = [], m = [], y = -1, x = t.length, M = kt(e), _ = kt(u), b = e === r ? function () {
- return g
- } : kt(r), w = u === i ? function () {
- return p
- } : kt(i); ++y < x;)o.call(this, h = t[y], y) ? (d.push([g = +M.call(this, h, y), p = +_.call(this, h, y)]), m.push([+b.call(this, h, y), +w.call(this, h, y)])) : d.length && (c(), d = [], m = []);
- return d.length && c(), v.length ? v.join("") : null
- }
-
- var e = Ar, r = Ar, u = 0, i = Cr, o = Ae, a = co, c = a.key, l = a, s = "L", f = .7;
- return t.x = function (n) {
- return arguments.length ? (e = r = n, t) : r
- }, t.x0 = function (n) {
- return arguments.length ? (e = n, t) : e
- }, t.x1 = function (n) {
- return arguments.length ? (r = n, t) : r
- }, t.y = function (n) {
- return arguments.length ? (u = i = n, t) : i
- }, t.y0 = function (n) {
- return arguments.length ? (u = n, t) : u
- }, t.y1 = function (n) {
- return arguments.length ? (i = n, t) : i
- }, t.defined = function (n) {
- return arguments.length ? (o = n, t) : o
- }, t.interpolate = function (n) {
- return arguments.length ? (c = "function" == typeof n ? a = n : (a = wl.get(n) || co).key, l = a.reverse || a, s = a.closed ? "M" : "L", t) : c
- }, t.tension = function (n) {
- return arguments.length ? (f = n, t) : f
- }, t
- }
-
- function Lo(n) {
- return n.radius
- }
-
- function To(n) {
- return [n.x, n.y]
- }
-
- function qo(n) {
- return function () {
- var t = n.apply(this, arguments), e = t[0], r = t[1] + _l;
- return [e * Math.cos(r), e * Math.sin(r)]
- }
- }
-
- function Ro() {
- return 64
- }
-
- function Do() {
- return "circle"
- }
-
- function Po(n) {
- var t = Math.sqrt(n / Ea);
- return "M0," + t + "A" + t + "," + t + " 0 1,1 0," + -t + "A" + t + "," + t + " 0 1,1 0," + t + "Z"
- }
-
- function Uo(n, t) {
- return ga(n, Tl), n.id = t, n
- }
-
- function jo(n, t, e, r) {
- var u = n.id;
- return F(n, "function" == typeof e ? function (n, i, o) {
- n.__transition__[u].tween.set(t, r(e.call(n, n.__data__, i, o)))
- } : (e = r(e), function (n) {
- n.__transition__[u].tween.set(t, e)
- }))
- }
-
- function Fo(n) {
- return null == n && (n = ""), function () {
- this.textContent = n
- }
- }
-
- function Ho(n, t, e, r) {
- var u = n.__transition__ || (n.__transition__ = {active: 0, count: 0}), i = u[e];
- if (!i) {
- var o = r.time;
- i = u[e] = {
- tween: new a,
- time: o,
- ease: r.ease,
- delay: r.delay,
- duration: r.duration
- }, ++u.count, Bo.timer(function (r) {
- function a(r) {
- return u.active > e ? l() : (u.active = e, i.event && i.event.start.call(n, s, t), i.tween.forEach(function (e, r) {
- (r = r.call(n, s, t)) && v.push(r)
- }), Bo.timer(function () {
- return p.c = c(r || 1) ? Ae : c, 1
- }, 0, o), void 0)
- }
-
- function c(r) {
- if (u.active !== e)return l();
- for (var o = r / g, a = f(o), c = v.length; c > 0;)v[--c].call(n, a);
- return o >= 1 ? (i.event && i.event.end.call(n, s, t), l()) : void 0
- }
-
- function l() {
- return --u.count ? delete u[e] : delete n.__transition__, 1
- }
-
- var s = n.__data__, f = i.ease, h = i.delay, g = i.duration, p = Ka, v = [];
- return p.t = h + o, r >= h ? a(r - h) : (p.c = a, void 0)
- }, 0, o)
- }
- }
-
- function Oo(n, t, e) {
- n.attr("transform", function (n) {
- var r = t(n);
- return "translate(" + (isFinite(r) ? r : e(n)) + ",0)"
- })
- }
-
- function Yo(n, t, e) {
- n.attr("transform", function (n) {
- var r = t(n);
- return "translate(0," + (isFinite(r) ? r : e(n)) + ")"
- })
- }
-
- function Io(n) {
- return n.toISOString()
- }
-
- function Zo(n, t, e) {
- function r(t) {
- return n(t)
- }
-
- function u(n, e) {
- var r = n[1] - n[0], u = r / e, i = Bo.bisect(Ol, u);
- return i == Ol.length ? [t.year, Zi(n.map(function (n) {
- return n / 31536e6
- }), e)[2]] : i ? t[u / Ol[i - 1] < Ol[i] / u ? i - 1 : i] : [Zl, Zi(n, e)[2]]
- }
-
- return r.invert = function (t) {
- return Vo(n.invert(t))
- }, r.domain = function (t) {
- return arguments.length ? (n.domain(t), r) : n.domain().map(Vo)
- }, r.nice = function (n, t) {
- function e(e) {
- return !isNaN(e) && !n.range(e, Vo(+e + 1), t).length
- }
-
- var i = r.domain(), o = Di(i), a = null == n ? u(o, 10) : "number" == typeof n && u(o, n);
- return a && (n = a[0], t = a[1]), r.domain(ji(i, t > 1 ? {
- floor: function (t) {
- for (; e(t = n.floor(t));)t = Vo(t - 1);
- return t
- }, ceil: function (t) {
- for (; e(t = n.ceil(t));)t = Vo(+t + 1);
- return t
- }
- } : n))
- }, r.ticks = function (n, t) {
- var e = Di(r.domain()), i = null == n ? u(e, 10) : "number" == typeof n ? u(e, n) : !n.range && [{range: n}, t];
- return i && (n = i[0], t = i[1]), n.range(e[0], Vo(+e[1] + 1), 1 > t ? 1 : t)
- }, r.tickFormat = function () {
- return e
- }, r.copy = function () {
- return Zo(n.copy(), t, e)
- }, Yi(r, n)
- }
-
- function Vo(n) {
- return new Date(n)
- }
-
- function Xo(n) {
- return JSON.parse(n.responseText)
- }
-
- function $o(n) {
- var t = Go.createRange();
- return t.selectNode(Go.body), t.createContextualFragment(n.responseText)
- }
-
- var Bo = {version: "3.4.13"};
- Date.now || (Date.now = function () {
- return +new Date
- });
- var Wo = [].slice, Jo = function (n) {
- return Wo.call(n)
- }, Go = document, Ko = Go.documentElement, Qo = window;
- try {
- Jo(Ko.childNodes)[0].nodeType
- } catch (na) {
- Jo = function (n) {
- for (var t = n.length, e = new Array(t); t--;)e[t] = n[t];
- return e
- }
- }
- try {
- Go.createElement("div").style.setProperty("opacity", 0, "")
- } catch (ta) {
- var ea = Qo.Element.prototype, ra = ea.setAttribute, ua = ea.setAttributeNS, ia = Qo.CSSStyleDeclaration.prototype, oa = ia.setProperty;
- ea.setAttribute = function (n, t) {
- ra.call(this, n, t + "")
- }, ea.setAttributeNS = function (n, t, e) {
- ua.call(this, n, t, e + "")
- }, ia.setProperty = function (n, t, e) {
- oa.call(this, n, t + "", e)
- }
- }
- Bo.ascending = n, Bo.descending = function (n, t) {
- return n > t ? -1 : t > n ? 1 : t >= n ? 0 : 0 / 0
- }, Bo.min = function (n, t) {
- var e, r, u = -1, i = n.length;
- if (1 === arguments.length) {
- for (; ++u < i && !(null != (e = n[u]) && e >= e);)e = void 0;
- for (; ++u < i;)null != (r = n[u]) && e > r && (e = r)
- } else {
- for (; ++u < i && !(null != (e = t.call(n, n[u], u)) && e >= e);)e = void 0;
- for (; ++u < i;)null != (r = t.call(n, n[u], u)) && e > r && (e = r)
- }
- return e
- }, Bo.max = function (n, t) {
- var e, r, u = -1, i = n.length;
- if (1 === arguments.length) {
- for (; ++u < i && !(null != (e = n[u]) && e >= e);)e = void 0;
- for (; ++u < i;)null != (r = n[u]) && r > e && (e = r)
- } else {
- for (; ++u < i && !(null != (e = t.call(n, n[u], u)) && e >= e);)e = void 0;
- for (; ++u < i;)null != (r = t.call(n, n[u], u)) && r > e && (e = r)
- }
- return e
- }, Bo.extent = function (n, t) {
- var e, r, u, i = -1, o = n.length;
- if (1 === arguments.length) {
- for (; ++i < o && !(null != (e = u = n[i]) && e >= e);)e = u = void 0;
- for (; ++i < o;)null != (r = n[i]) && (e > r && (e = r), r > u && (u = r))
- } else {
- for (; ++i < o && !(null != (e = u = t.call(n, n[i], i)) && e >= e);)e = void 0;
- for (; ++i < o;)null != (r = t.call(n, n[i], i)) && (e > r && (e = r), r > u && (u = r))
- }
- return [e, u]
- }, Bo.sum = function (n, t) {
- var r, u = 0, i = n.length, o = -1;
- if (1 === arguments.length)for (; ++o < i;)e(r = +n[o]) && (u += r); else for (; ++o < i;)e(r = +t.call(n, n[o], o)) && (u += r);
- return u
- }, Bo.mean = function (n, r) {
- var u, i = 0, o = n.length, a = -1, c = o;
- if (1 === arguments.length)for (; ++a < o;)e(u = t(n[a])) ? i += u : --c; else for (; ++a < o;)e(u = t(r.call(n, n[a], a))) ? i += u : --c;
- return c ? i / c : void 0
- }, Bo.quantile = function (n, t) {
- var e = (n.length - 1) * t + 1, r = Math.floor(e), u = +n[r - 1], i = e - r;
- return i ? u + i * (n[r] - u) : u
- }, Bo.median = function (r, u) {
- var i, o = [], a = r.length, c = -1;
- if (1 === arguments.length)for (; ++c < a;)e(i = t(r[c])) && o.push(i); else for (; ++c < a;)e(i = t(u.call(r, r[c], c))) && o.push(i);
- return o.length ? Bo.quantile(o.sort(n), .5) : void 0
- };
- var aa = r(n);
- Bo.bisectLeft = aa.left, Bo.bisect = Bo.bisectRight = aa.right, Bo.bisector = function (t) {
- return r(1 === t.length ? function (e, r) {
- return n(t(e), r)
- } : t)
- }, Bo.shuffle = function (n) {
- for (var t, e, r = n.length; r;)e = 0 | Math.random() * r--, t = n[r], n[r] = n[e], n[e] = t;
- return n
- }, Bo.permute = function (n, t) {
- for (var e = t.length, r = new Array(e); e--;)r[e] = n[t[e]];
- return r
- }, Bo.pairs = function (n) {
- for (var t, e = 0, r = n.length - 1, u = n[0], i = new Array(0 > r ? 0 : r); r > e;)i[e] = [t = u, u = n[++e]];
- return i
- }, Bo.zip = function () {
- if (!(r = arguments.length))return [];
- for (var n = -1, t = Bo.min(arguments, u), e = new Array(t); ++n < t;)for (var r, i = -1, o = e[n] = new Array(r); ++i < r;)o[i] = arguments[i][n];
- return e
- }, Bo.transpose = function (n) {
- return Bo.zip.apply(Bo, n)
- }, Bo.keys = function (n) {
- var t = [];
- for (var e in n)t.push(e);
- return t
- }, Bo.values = function (n) {
- var t = [];
- for (var e in n)t.push(n[e]);
- return t
- }, Bo.entries = function (n) {
- var t = [];
- for (var e in n)t.push({key: e, value: n[e]});
- return t
- }, Bo.merge = function (n) {
- for (var t, e, r, u = n.length, i = -1, o = 0; ++i < u;)o += n[i].length;
- for (e = new Array(o); --u >= 0;)for (r = n[u], t = r.length; --t >= 0;)e[--o] = r[t];
- return e
- };
- var ca = Math.abs;
- Bo.range = function (n, t, e) {
- if (arguments.length < 3 && (e = 1, arguments.length < 2 && (t = n, n = 0)), 1 / 0 === (t - n) / e)throw new Error("infinite range");
- var r, u = [], o = i(ca(e)), a = -1;
- if (n *= o, t *= o, e *= o, 0 > e)for (; (r = n + e * ++a) > t;)u.push(r / o); else for (; (r = n + e * ++a) < t;)u.push(r / o);
- return u
- }, Bo.map = function (n) {
- var t = new a;
- if (n instanceof a)n.forEach(function (n, e) {
- t.set(n, e)
- }); else for (var e in n)t.set(e, n[e]);
- return t
- };
- var la = "__proto__", sa = "\x00";
- o(a, {
- has: s, get: function (n) {
- return this._[c(n)]
- }, set: function (n, t) {
- return this._[c(n)] = t
- }, remove: f, keys: h, values: function () {
- var n = [];
- for (var t in this._)n.push(this._[t]);
- return n
- }, entries: function () {
- var n = [];
- for (var t in this._)n.push({key: l(t), value: this._[t]});
- return n
- }, size: g, empty: p, forEach: function (n) {
- for (var t in this._)n.call(this, l(t), this._[t])
- }
- }), Bo.nest = function () {
- function n(t, o, c) {
- if (c >= i.length)return r ? r.call(u, o) : e ? o.sort(e) : o;
- for (var l, s, f, h, g = -1, p = o.length, v = i[c++], d = new a; ++g < p;)(h = d.get(l = v(s = o[g]))) ? h.push(s) : d.set(l, [s]);
- return t ? (s = t(), f = function (e, r) {
- s.set(e, n(t, r, c))
- }) : (s = {}, f = function (e, r) {
- s[e] = n(t, r, c)
- }), d.forEach(f), s
- }
-
- function t(n, e) {
- if (e >= i.length)return n;
- var r = [], u = o[e++];
- return n.forEach(function (n, u) {
- r.push({key: n, values: t(u, e)})
- }), u ? r.sort(function (n, t) {
- return u(n.key, t.key)
- }) : r
- }
-
- var e, r, u = {}, i = [], o = [];
- return u.map = function (t, e) {
- return n(e, t, 0)
- }, u.entries = function (e) {
- return t(n(Bo.map, e, 0), 0)
- }, u.key = function (n) {
- return i.push(n), u
- }, u.sortKeys = function (n) {
- return o[i.length - 1] = n, u
- }, u.sortValues = function (n) {
- return e = n, u
- }, u.rollup = function (n) {
- return r = n, u
- }, u
- }, Bo.set = function (n) {
- var t = new v;
- if (n)for (var e = 0, r = n.length; r > e; ++e)t.add(n[e]);
- return t
- }, o(v, {
- has: s, add: function (n) {
- return this._[c(n += "")] = !0, n
- }, remove: f, values: h, size: g, empty: p, forEach: function (n) {
- for (var t in this._)n.call(this, l(t))
- }
- }), Bo.behavior = {}, Bo.rebind = function (n, t) {
- for (var e, r = 1, u = arguments.length; ++r < u;)n[e = arguments[r]] = d(n, t, t[e]);
- return n
- };
- var fa = ["webkit", "ms", "moz", "Moz", "o", "O"];
- Bo.dispatch = function () {
- for (var n = new x, t = -1, e = arguments.length; ++t < e;)n[arguments[t]] = M(n);
- return n
- }, x.prototype.on = function (n, t) {
- var e = n.indexOf("."), r = "";
- if (e >= 0 && (r = n.slice(e + 1), n = n.slice(0, e)), n)return arguments.length < 2 ? this[n].on(r) : this[n].on(r, t);
- if (2 === arguments.length) {
- if (null == t)for (n in this)this.hasOwnProperty(n) && this[n].on(r, null);
- return this
- }
- }, Bo.event = null, Bo.requote = function (n) {
- return n.replace(ha, "\\$&")
- };
- var ha = /[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g, ga = {}.__proto__ ? function (n, t) {
- n.__proto__ = t
- } : function (n, t) {
- for (var e in t)n[e] = t[e]
- }, pa = function (n, t) {
- return t.querySelector(n)
- }, va = function (n, t) {
- return t.querySelectorAll(n)
- }, da = Ko.matches || Ko[m(Ko, "matchesSelector")], ma = function (n, t) {
- return da.call(n, t)
- };
- "function" == typeof Sizzle && (pa = function (n, t) {
- return Sizzle(n, t)[0] || null
- }, va = Sizzle, ma = Sizzle.matchesSelector), Bo.selection = function () {
- return _a
- };
- var ya = Bo.selection.prototype = [];
- ya.select = function (n) {
- var t, e, r, u, i = [];
- n = k(n);
- for (var o = -1, a = this.length; ++o < a;) {
- i.push(t = []), t.parentNode = (r = this[o]).parentNode;
- for (var c = -1, l = r.length; ++c < l;)(u = r[c]) ? (t.push(e = n.call(u, u.__data__, c, o)), e && "__data__"in u && (e.__data__ = u.__data__)) : t.push(null)
- }
- return S(i)
- }, ya.selectAll = function (n) {
- var t, e, r = [];
- n = E(n);
- for (var u = -1, i = this.length; ++u < i;)for (var o = this[u], a = -1, c = o.length; ++a < c;)(e = o[a]) && (r.push(t = Jo(n.call(e, e.__data__, a, u))), t.parentNode = e);
- return S(r)
- };
- var xa = {
- svg: "http://www.w3.org/2000/svg",
- xhtml: "http://www.w3.org/1999/xhtml",
- xlink: "http://www.w3.org/1999/xlink",
- xml: "http://www.w3.org/XML/1998/namespace",
- xmlns: "http://www.w3.org/2000/xmlns/"
- };
- Bo.ns = {
- prefix: xa, qualify: function (n) {
- var t = n.indexOf(":"), e = n;
- return t >= 0 && (e = n.slice(0, t), n = n.slice(t + 1)), xa.hasOwnProperty(e) ? {
- space: xa[e],
- local: n
- } : n
- }
- }, ya.attr = function (n, t) {
- if (arguments.length < 2) {
- if ("string" == typeof n) {
- var e = this.node();
- return n = Bo.ns.qualify(n), n.local ? e.getAttributeNS(n.space, n.local) : e.getAttribute(n)
- }
- for (t in n)this.each(A(t, n[t]));
- return this
- }
- return this.each(A(n, t))
- }, ya.classed = function (n, t) {
- if (arguments.length < 2) {
- if ("string" == typeof n) {
- var e = this.node(), r = (n = z(n)).length, u = -1;
- if (t = e.classList) {
- for (; ++u < r;)if (!t.contains(n[u]))return !1
- } else for (t = e.getAttribute("class"); ++u < r;)if (!N(n[u]).test(t))return !1;
- return !0
- }
- for (t in n)this.each(L(t, n[t]));
- return this
- }
- return this.each(L(n, t))
- }, ya.style = function (n, t, e) {
- var r = arguments.length;
- if (3 > r) {
- if ("string" != typeof n) {
- 2 > r && (t = "");
- for (e in n)this.each(q(e, n[e], t));
- return this
- }
- if (2 > r)return Qo.getComputedStyle(this.node(), null).getPropertyValue(n);
- e = ""
- }
- return this.each(q(n, t, e))
- }, ya.property = function (n, t) {
- if (arguments.length < 2) {
- if ("string" == typeof n)return this.node()[n];
- for (t in n)this.each(R(t, n[t]));
- return this
- }
- return this.each(R(n, t))
- }, ya.text = function (n) {
- return arguments.length ? this.each("function" == typeof n ? function () {
- var t = n.apply(this, arguments);
- this.textContent = null == t ? "" : t
- } : null == n ? function () {
- this.textContent = ""
- } : function () {
- this.textContent = n
- }) : this.node().textContent
- }, ya.html = function (n) {
- return arguments.length ? this.each("function" == typeof n ? function () {
- var t = n.apply(this, arguments);
- this.innerHTML = null == t ? "" : t
- } : null == n ? function () {
- this.innerHTML = ""
- } : function () {
- this.innerHTML = n
- }) : this.node().innerHTML
- }, ya.append = function (n) {
- return n = D(n), this.select(function () {
- return this.appendChild(n.apply(this, arguments))
- })
- }, ya.insert = function (n, t) {
- return n = D(n), t = k(t), this.select(function () {
- return this.insertBefore(n.apply(this, arguments), t.apply(this, arguments) || null)
- })
- }, ya.remove = function () {
- return this.each(function () {
- var n = this.parentNode;
- n && n.removeChild(this)
- })
- }, ya.data = function (n, t) {
- function e(n, e) {
- var r, u, i, o = n.length, f = e.length, h = Math.min(o, f), g = new Array(f), p = new Array(f), v = new Array(o);
- if (t) {
- var d, m = new a, y = new Array(o);
- for (r = -1; ++r < o;)m.has(d = t.call(u = n[r], u.__data__, r)) ? v[r] = u : m.set(d, u), y[r] = d;
- for (r = -1; ++r < f;)(u = m.get(d = t.call(e, i = e[r], r))) ? u !== !0 && (g[r] = u, u.__data__ = i) : p[r] = P(i), m.set(d, !0);
- for (r = -1; ++r < o;)m.get(y[r]) !== !0 && (v[r] = n[r])
- } else {
- for (r = -1; ++r < h;)u = n[r], i = e[r], u ? (u.__data__ = i, g[r] = u) : p[r] = P(i);
- for (; f > r; ++r)p[r] = P(e[r]);
- for (; o > r; ++r)v[r] = n[r]
- }
- p.update = g, p.parentNode = g.parentNode = v.parentNode = n.parentNode, c.push(p), l.push(g), s.push(v)
- }
-
- var r, u, i = -1, o = this.length;
- if (!arguments.length) {
- for (n = new Array(o = (r = this[0]).length); ++i < o;)(u = r[i]) && (n[i] = u.__data__);
- return n
- }
- var c = H([]), l = S([]), s = S([]);
- if ("function" == typeof n)for (; ++i < o;)e(r = this[i], n.call(r, r.parentNode.__data__, i)); else for (; ++i < o;)e(r = this[i], n);
- return l.enter = function () {
- return c
- }, l.exit = function () {
- return s
- }, l
- }, ya.datum = function (n) {
- return arguments.length ? this.property("__data__", n) : this.property("__data__")
- }, ya.filter = function (n) {
- var t, e, r, u = [];
- "function" != typeof n && (n = U(n));
- for (var i = 0, o = this.length; o > i; i++) {
- u.push(t = []), t.parentNode = (e = this[i]).parentNode;
- for (var a = 0, c = e.length; c > a; a++)(r = e[a]) && n.call(r, r.__data__, a, i) && t.push(r)
- }
- return S(u)
- }, ya.order = function () {
- for (var n = -1, t = this.length; ++n < t;)for (var e, r = this[n], u = r.length - 1, i = r[u]; --u >= 0;)(e = r[u]) && (i && i !== e.nextSibling && i.parentNode.insertBefore(e, i), i = e);
- return this
- }, ya.sort = function (n) {
- n = j.apply(this, arguments);
- for (var t = -1, e = this.length; ++t < e;)this[t].sort(n);
- return this.order()
- }, ya.each = function (n) {
- return F(this, function (t, e, r) {
- n.call(t, t.__data__, e, r)
- })
- }, ya.call = function (n) {
- var t = Jo(arguments);
- return n.apply(t[0] = this, t), this
- }, ya.empty = function () {
- return !this.node()
- }, ya.node = function () {
- for (var n = 0, t = this.length; t > n; n++)for (var e = this[n], r = 0, u = e.length; u > r; r++) {
- var i = e[r];
- if (i)return i
- }
- return null
- }, ya.size = function () {
- var n = 0;
- return F(this, function () {
- ++n
- }), n
- };
- var Ma = [];
- Bo.selection.enter = H, Bo.selection.enter.prototype = Ma, Ma.append = ya.append, Ma.empty = ya.empty, Ma.node = ya.node, Ma.call = ya.call, Ma.size = ya.size, Ma.select = function (n) {
- for (var t, e, r, u, i, o = [], a = -1, c = this.length; ++a < c;) {
- r = (u = this[a]).update, o.push(t = []), t.parentNode = u.parentNode;
- for (var l = -1, s = u.length; ++l < s;)(i = u[l]) ? (t.push(r[l] = e = n.call(u.parentNode, i.__data__, l, a)), e.__data__ = i.__data__) : t.push(null)
- }
- return S(o)
- }, Ma.insert = function (n, t) {
- return arguments.length < 2 && (t = O(this)), ya.insert.call(this, n, t)
- }, ya.transition = function () {
- for (var n, t, e = Cl || ++ql, r = [], u = Nl || {
- time: Date.now(),
- ease: wu,
- delay: 0,
- duration: 250
- }, i = -1, o = this.length; ++i < o;) {
- r.push(n = []);
- for (var a = this[i], c = -1, l = a.length; ++c < l;)(t = a[c]) && Ho(t, c, e, u), n.push(t)
- }
- return Uo(r, e)
- }, ya.interrupt = function () {
- return this.each(Y)
- }, Bo.select = function (n) {
- var t = ["string" == typeof n ? pa(n, Go) : n];
- return t.parentNode = Ko, S([t])
- }, Bo.selectAll = function (n) {
- var t = Jo("string" == typeof n ? va(n, Go) : n);
- return t.parentNode = Ko, S([t])
- };
- var _a = Bo.select(Ko);
- ya.on = function (n, t, e) {
- var r = arguments.length;
- if (3 > r) {
- if ("string" != typeof n) {
- 2 > r && (t = !1);
- for (e in n)this.each(I(e, n[e], t));
- return this
- }
- if (2 > r)return (r = this.node()["__on" + n]) && r._;
- e = !1
- }
- return this.each(I(n, t, e))
- };
- var ba = Bo.map({mouseenter: "mouseover", mouseleave: "mouseout"});
- ba.forEach(function (n) {
- "on" + n in Go && ba.remove(n)
- });
- var wa = "onselectstart"in Go ? null : m(Ko.style, "userSelect"), Sa = 0;
- Bo.mouse = function (n) {
- return $(n, b())
- };
- var ka = /WebKit/.test(Qo.navigator.userAgent) ? -1 : 0;
- Bo.touch = function (n, t, e) {
- if (arguments.length < 3 && (e = t, t = b().changedTouches), t)for (var r, u = 0, i = t.length; i > u; ++u)if ((r = t[u]).identifier === e)return $(n, r)
- }, Bo.behavior.drag = function () {
- function n() {
- this.on("mousedown.drag", u).on("touchstart.drag", i)
- }
-
- function t(n, t, u, i, o) {
- return function () {
- function a() {
- var n, e, r = t(h, v);
- r && (n = r[0] - x[0], e = r[1] - x[1], p |= n | e, x = r, g({
- type: "drag",
- x: r[0] + l[0],
- y: r[1] + l[1],
- dx: n,
- dy: e
- }))
- }
-
- function c() {
- t(h, v) && (m.on(i + d, null).on(o + d, null), y(p && Bo.event.target === f), g({type: "dragend"}))
- }
-
- var l, s = this, f = Bo.event.target, h = s.parentNode, g = e.of(s, arguments), p = 0, v = n(), d = ".drag" + (null == v ? "" : "-" + v), m = Bo.select(u()).on(i + d, a).on(o + d, c), y = X(), x = t(h, v);
- r ? (l = r.apply(s, arguments), l = [l.x - x[0], l.y - x[1]]) : l = [0, 0], g({type: "dragstart"})
- }
- }
-
- var e = w(n, "drag", "dragstart", "dragend"), r = null, u = t(y, Bo.mouse, J, "mousemove", "mouseup"), i = t(B, Bo.touch, W, "touchmove", "touchend");
- return n.origin = function (t) {
- return arguments.length ? (r = t, n) : r
- }, Bo.rebind(n, e, "on")
- }, Bo.touches = function (n, t) {
- return arguments.length < 2 && (t = b().touches), t ? Jo(t).map(function (t) {
- var e = $(n, t);
- return e.identifier = t.identifier, e
- }) : []
- };
- var Ea = Math.PI, Aa = 2 * Ea, Ca = Ea / 2, Na = 1e-6, za = Na * Na, La = Ea / 180, Ta = 180 / Ea, qa = Math.SQRT2, Ra = 2, Da = 4;
- Bo.interpolateZoom = function (n, t) {
- function e(n) {
- var t = n * y;
- if (m) {
- var e = et(v), o = i / (Ra * h) * (e * rt(qa * t + v) - tt(v));
- return [r + o * l, u + o * s, i * e / et(qa * t + v)]
- }
- return [r + n * l, u + n * s, i * Math.exp(qa * t)]
- }
-
- var r = n[0], u = n[1], i = n[2], o = t[0], a = t[1], c = t[2], l = o - r, s = a - u, f = l * l + s * s, h = Math.sqrt(f), g = (c * c - i * i + Da * f) / (2 * i * Ra * h), p = (c * c - i * i - Da * f) / (2 * c * Ra * h), v = Math.log(Math.sqrt(g * g + 1) - g), d = Math.log(Math.sqrt(p * p + 1) - p), m = d - v, y = (m || Math.log(c / i)) / qa;
- return e.duration = 1e3 * y, e
- }, Bo.behavior.zoom = function () {
- function n(n) {
- n.on(A, l).on(ja + ".zoom", f).on("dblclick.zoom", h).on(z, s)
- }
-
- function t(n) {
- return [(n[0] - S.x) / S.k, (n[1] - S.y) / S.k]
- }
-
- function e(n) {
- return [n[0] * S.k + S.x, n[1] * S.k + S.y]
- }
-
- function r(n) {
- S.k = Math.max(E[0], Math.min(E[1], n))
- }
-
- function u(n, t) {
- t = e(t), S.x += n[0] - t[0], S.y += n[1] - t[1]
- }
-
- function i() {
- x && x.domain(y.range().map(function (n) {
- return (n - S.x) / S.k
- }).map(y.invert)), b && b.domain(M.range().map(function (n) {
- return (n - S.y) / S.k
- }).map(M.invert))
- }
-
- function o(n) {
- n({type: "zoomstart"})
- }
-
- function a(n) {
- i(), n({type: "zoom", scale: S.k, translate: [S.x, S.y]})
- }
-
- function c(n) {
- n({type: "zoomend"})
- }
-
- function l() {
- function n() {
- s = 1, u(Bo.mouse(r), h), a(l)
- }
-
- function e() {
- f.on(C, null).on(N, null), g(s && Bo.event.target === i), c(l)
- }
-
- var r = this, i = Bo.event.target, l = L.of(r, arguments), s = 0, f = Bo.select(Qo).on(C, n).on(N, e), h = t(Bo.mouse(r)), g = X();
- Y.call(r), o(l)
- }
-
- function s() {
- function n() {
- var n = Bo.touches(g);
- return h = S.k, n.forEach(function (n) {
- n.identifier in v && (v[n.identifier] = t(n))
- }), n
- }
-
- function e() {
- var t = Bo.event.target;
- Bo.select(t).on(x, i).on(M, f), b.push(t);
- for (var e = Bo.event.changedTouches, o = 0, c = e.length; c > o; ++o)v[e[o].identifier] = null;
- var l = n(), s = Date.now();
- if (1 === l.length) {
- if (500 > s - m) {
- var h = l[0], g = v[h.identifier];
- r(2 * S.k), u(h, g), _(), a(p)
- }
- m = s
- } else if (l.length > 1) {
- var h = l[0], y = l[1], w = h[0] - y[0], k = h[1] - y[1];
- d = w * w + k * k
- }
- }
-
- function i() {
- for (var n, t, e, i, o = Bo.touches(g), c = 0, l = o.length; l > c; ++c, i = null)if (e = o[c], i = v[e.identifier]) {
- if (t)break;
- n = e, t = i
- }
- if (i) {
- var s = (s = e[0] - n[0]) * s + (s = e[1] - n[1]) * s, f = d && Math.sqrt(s / d);
- n = [(n[0] + e[0]) / 2, (n[1] + e[1]) / 2], t = [(t[0] + i[0]) / 2, (t[1] + i[1]) / 2], r(f * h)
- }
- m = null, u(n, t), a(p)
- }
-
- function f() {
- if (Bo.event.touches.length) {
- for (var t = Bo.event.changedTouches, e = 0, r = t.length; r > e; ++e)delete v[t[e].identifier];
- for (var u in v)return void n()
- }
- Bo.selectAll(b).on(y, null), w.on(A, l).on(z, s), k(), c(p)
- }
-
- var h, g = this, p = L.of(g, arguments), v = {}, d = 0, y = ".zoom-" + Bo.event.changedTouches[0].identifier, x = "touchmove" + y, M = "touchend" + y, b = [], w = Bo.select(g), k = X();
- Y.call(g), e(), o(p), w.on(A, null).on(z, e)
- }
-
- function f() {
- var n = L.of(this, arguments);
- d ? clearTimeout(d) : (g = t(p = v || Bo.mouse(this)), Y.call(this), o(n)), d = setTimeout(function () {
- d = null, c(n)
- }, 50), _(), r(Math.pow(2, .002 * Pa()) * S.k), u(p, g), a(n)
- }
-
- function h() {
- var n = L.of(this, arguments), e = Bo.mouse(this), i = t(e), l = Math.log(S.k) / Math.LN2;
- o(n), r(Math.pow(2, Bo.event.shiftKey ? Math.ceil(l) - 1 : Math.floor(l) + 1)), u(e, i), a(n), c(n)
- }
-
- var g, p, v, d, m, y, x, M, b, S = {
- x: 0,
- y: 0,
- k: 1
- }, k = [960, 500], E = Ua, A = "mousedown.zoom", C = "mousemove.zoom", N = "mouseup.zoom", z = "touchstart.zoom", L = w(n, "zoomstart", "zoom", "zoomend");
- return n.event = function (n) {
- n.each(function () {
- var n = L.of(this, arguments), t = S;
- Cl ? Bo.select(this).transition().each("start.zoom", function () {
- S = this.__chart__ || {x: 0, y: 0, k: 1}, o(n)
- }).tween("zoom:zoom", function () {
- var e = k[0], r = k[1], u = e / 2, i = r / 2, o = Bo.interpolateZoom([(u - S.x) / S.k, (i - S.y) / S.k, e / S.k], [(u - t.x) / t.k, (i - t.y) / t.k, e / t.k]);
- return function (t) {
- var r = o(t), c = e / r[2];
- this.__chart__ = S = {x: u - r[0] * c, y: i - r[1] * c, k: c}, a(n)
- }
- }).each("end.zoom", function () {
- c(n)
- }) : (this.__chart__ = S, o(n), a(n), c(n))
- })
- }, n.translate = function (t) {
- return arguments.length ? (S = {x: +t[0], y: +t[1], k: S.k}, i(), n) : [S.x, S.y]
- }, n.scale = function (t) {
- return arguments.length ? (S = {x: S.x, y: S.y, k: +t}, i(), n) : S.k
- }, n.scaleExtent = function (t) {
- return arguments.length ? (E = null == t ? Ua : [+t[0], +t[1]], n) : E
- }, n.center = function (t) {
- return arguments.length ? (v = t && [+t[0], +t[1]], n) : v
- }, n.size = function (t) {
- return arguments.length ? (k = t && [+t[0], +t[1]], n) : k
- }, n.x = function (t) {
- return arguments.length ? (x = t, y = t.copy(), S = {x: 0, y: 0, k: 1}, n) : x
- }, n.y = function (t) {
- return arguments.length ? (b = t, M = t.copy(), S = {x: 0, y: 0, k: 1}, n) : b
- }, Bo.rebind(n, L, "on")
- };
- var Pa, Ua = [0, 1 / 0], ja = "onwheel"in Go ? (Pa = function () {
- return -Bo.event.deltaY * (Bo.event.deltaMode ? 120 : 1)
- }, "wheel") : "onmousewheel"in Go ? (Pa = function () {
- return Bo.event.wheelDelta
- }, "mousewheel") : (Pa = function () {
- return -Bo.event.detail
- }, "MozMousePixelScroll");
- Bo.color = it, it.prototype.toString = function () {
- return this.rgb() + ""
- }, Bo.hsl = ot;
- var Fa = ot.prototype = new it;
- Fa.brighter = function (n) {
- return n = Math.pow(.7, arguments.length ? n : 1), new ot(this.h, this.s, this.l / n)
- }, Fa.darker = function (n) {
- return n = Math.pow(.7, arguments.length ? n : 1), new ot(this.h, this.s, n * this.l)
- }, Fa.rgb = function () {
- return at(this.h, this.s, this.l)
- }, Bo.hcl = ct;
- var Ha = ct.prototype = new it;
- Ha.brighter = function (n) {
- return new ct(this.h, this.c, Math.min(100, this.l + Oa * (arguments.length ? n : 1)))
- }, Ha.darker = function (n) {
- return new ct(this.h, this.c, Math.max(0, this.l - Oa * (arguments.length ? n : 1)))
- }, Ha.rgb = function () {
- return lt(this.h, this.c, this.l).rgb()
- }, Bo.lab = st;
- var Oa = 18, Ya = .95047, Ia = 1, Za = 1.08883, Va = st.prototype = new it;
- Va.brighter = function (n) {
- return new st(Math.min(100, this.l + Oa * (arguments.length ? n : 1)), this.a, this.b)
- }, Va.darker = function (n) {
- return new st(Math.max(0, this.l - Oa * (arguments.length ? n : 1)), this.a, this.b)
- }, Va.rgb = function () {
- return ft(this.l, this.a, this.b)
- }, Bo.rgb = dt;
- var Xa = dt.prototype = new it;
- Xa.brighter = function (n) {
- n = Math.pow(.7, arguments.length ? n : 1);
- var t = this.r, e = this.g, r = this.b, u = 30;
- return t || e || r ? (t && u > t && (t = u), e && u > e && (e = u), r && u > r && (r = u), new dt(Math.min(255, t / n), Math.min(255, e / n), Math.min(255, r / n))) : new dt(u, u, u)
- }, Xa.darker = function (n) {
- return n = Math.pow(.7, arguments.length ? n : 1), new dt(n * this.r, n * this.g, n * this.b)
- }, Xa.hsl = function () {
- return _t(this.r, this.g, this.b)
- }, Xa.toString = function () {
- return "#" + xt(this.r) + xt(this.g) + xt(this.b)
- };
- var $a = Bo.map({
- aliceblue: 15792383,
- antiquewhite: 16444375,
- aqua: 65535,
- aquamarine: 8388564,
- azure: 15794175,
- beige: 16119260,
- bisque: 16770244,
- black: 0,
- blanchedalmond: 16772045,
- blue: 255,
- blueviolet: 9055202,
- brown: 10824234,
- burlywood: 14596231,
- cadetblue: 6266528,
- chartreuse: 8388352,
- chocolate: 13789470,
- coral: 16744272,
- cornflowerblue: 6591981,
- cornsilk: 16775388,
- crimson: 14423100,
- cyan: 65535,
- darkblue: 139,
- darkcyan: 35723,
- darkgoldenrod: 12092939,
- darkgray: 11119017,
- darkgreen: 25600,
- darkgrey: 11119017,
- darkkhaki: 12433259,
- darkmagenta: 9109643,
- darkolivegreen: 5597999,
- darkorange: 16747520,
- darkorchid: 10040012,
- darkred: 9109504,
- darksalmon: 15308410,
- darkseagreen: 9419919,
- darkslateblue: 4734347,
- darkslategray: 3100495,
- darkslategrey: 3100495,
- darkturquoise: 52945,
- darkviolet: 9699539,
- deeppink: 16716947,
- deepskyblue: 49151,
- dimgray: 6908265,
- dimgrey: 6908265,
- dodgerblue: 2003199,
- firebrick: 11674146,
- floralwhite: 16775920,
- forestgreen: 2263842,
- fuchsia: 16711935,
- gainsboro: 14474460,
- ghostwhite: 16316671,
- gold: 16766720,
- goldenrod: 14329120,
- gray: 8421504,
- green: 32768,
- greenyellow: 11403055,
- grey: 8421504,
- honeydew: 15794160,
- hotpink: 16738740,
- indianred: 13458524,
- indigo: 4915330,
- ivory: 16777200,
- khaki: 15787660,
- lavender: 15132410,
- lavenderblush: 16773365,
- lawngreen: 8190976,
- lemonchiffon: 16775885,
- lightblue: 11393254,
- lightcoral: 15761536,
- lightcyan: 14745599,
- lightgoldenrodyellow: 16448210,
- lightgray: 13882323,
- lightgreen: 9498256,
- lightgrey: 13882323,
- lightpink: 16758465,
- lightsalmon: 16752762,
- lightseagreen: 2142890,
- lightskyblue: 8900346,
- lightslategray: 7833753,
- lightslategrey: 7833753,
- lightsteelblue: 11584734,
- lightyellow: 16777184,
- lime: 65280,
- limegreen: 3329330,
- linen: 16445670,
- magenta: 16711935,
- maroon: 8388608,
- mediumaquamarine: 6737322,
- mediumblue: 205,
- mediumorchid: 12211667,
- mediumpurple: 9662683,
- mediumseagreen: 3978097,
- mediumslateblue: 8087790,
- mediumspringgreen: 64154,
- mediumturquoise: 4772300,
- mediumvioletred: 13047173,
- midnightblue: 1644912,
- mintcream: 16121850,
- mistyrose: 16770273,
- moccasin: 16770229,
- navajowhite: 16768685,
- navy: 128,
- oldlace: 16643558,
- olive: 8421376,
- olivedrab: 7048739,
- orange: 16753920,
- orangered: 16729344,
- orchid: 14315734,
- palegoldenrod: 15657130,
- palegreen: 10025880,
- paleturquoise: 11529966,
- palevioletred: 14381203,
- papayawhip: 16773077,
- peachpuff: 16767673,
- peru: 13468991,
- pink: 16761035,
- plum: 14524637,
- powderblue: 11591910,
- purple: 8388736,
- red: 16711680,
- rosybrown: 12357519,
- royalblue: 4286945,
- saddlebrown: 9127187,
- salmon: 16416882,
- sandybrown: 16032864,
- seagreen: 3050327,
- seashell: 16774638,
- sienna: 10506797,
- silver: 12632256,
- skyblue: 8900331,
- slateblue: 6970061,
- slategray: 7372944,
- slategrey: 7372944,
- snow: 16775930,
- springgreen: 65407,
- steelblue: 4620980,
- tan: 13808780,
- teal: 32896,
- thistle: 14204888,
- tomato: 16737095,
- turquoise: 4251856,
- violet: 15631086,
- wheat: 16113331,
- white: 16777215,
- whitesmoke: 16119285,
- yellow: 16776960,
- yellowgreen: 10145074
- });
- $a.forEach(function (n, t) {
- $a.set(n, mt(t))
- }), Bo.functor = kt, Bo.xhr = At(Et), Bo.dsv = function (n, t) {
- function e(n, e, i) {
- arguments.length < 3 && (i = e, e = null);
- var o = Ct(n, t, null == e ? r : u(e), i);
- return o.row = function (n) {
- return arguments.length ? o.response(null == (e = n) ? r : u(n)) : e
- }, o
- }
-
- function r(n) {
- return e.parse(n.responseText)
- }
-
- function u(n) {
- return function (t) {
- return e.parse(t.responseText, n)
- }
- }
-
- function i(t) {
- return t.map(o).join(n)
- }
-
- function o(n) {
- return a.test(n) ? '"' + n.replace(/\"/g, '""') + '"' : n
- }
-
- var a = new RegExp('["' + n + "\n]"), c = n.charCodeAt(0);
- return e.parse = function (n, t) {
- var r;
- return e.parseRows(n, function (n, e) {
- if (r)return r(n, e - 1);
- var u = new Function("d", "return {" + n.map(function (n, t) {
- return JSON.stringify(n) + ": d[" + t + "]"
- }).join(",") + "}");
- r = t ? function (n, e) {
- return t(u(n), e)
- } : u
- })
- }, e.parseRows = function (n, t) {
- function e() {
- if (s >= l)return o;
- if (u)return u = !1, i;
- var t = s;
- if (34 === n.charCodeAt(t)) {
- for (var e = t; e++ < l;)if (34 === n.charCodeAt(e)) {
- if (34 !== n.charCodeAt(e + 1))break;
- ++e
- }
- s = e + 2;
- var r = n.charCodeAt(e + 1);
- return 13 === r ? (u = !0, 10 === n.charCodeAt(e + 2) && ++s) : 10 === r && (u = !0), n.slice(t + 1, e).replace(/""/g, '"')
- }
- for (; l > s;) {
- var r = n.charCodeAt(s++), a = 1;
- if (10 === r)u = !0; else if (13 === r)u = !0, 10 === n.charCodeAt(s) && (++s, ++a); else if (r !== c)continue;
- return n.slice(t, s - a)
- }
- return n.slice(t)
- }
-
- for (var r, u, i = {}, o = {}, a = [], l = n.length, s = 0, f = 0; (r = e()) !== o;) {
- for (var h = []; r !== i && r !== o;)h.push(r), r = e();
- t && null == (h = t(h, f++)) || a.push(h)
- }
- return a
- }, e.format = function (t) {
- if (Array.isArray(t[0]))return e.formatRows(t);
- var r = new v, u = [];
- return t.forEach(function (n) {
- for (var t in n)r.has(t) || u.push(r.add(t))
- }), [u.map(o).join(n)].concat(t.map(function (t) {
- return u.map(function (n) {
- return o(t[n])
- }).join(n)
- })).join("\n")
- }, e.formatRows = function (n) {
- return n.map(i).join("\n")
- }, e
- }, Bo.csv = Bo.dsv(",", "text/csv"), Bo.tsv = Bo.dsv(" ", "text/tab-separated-values");
- var Ba, Wa, Ja, Ga, Ka, Qa = Qo[m(Qo, "requestAnimationFrame")] || function (n) {
- setTimeout(n, 17)
- };
- Bo.timer = function (n, t, e) {
- var r = arguments.length;
- 2 > r && (t = 0), 3 > r && (e = Date.now());
- var u = e + t, i = {c: n, t: u, f: !1, n: null};
- Wa ? Wa.n = i : Ba = i, Wa = i, Ja || (Ga = clearTimeout(Ga), Ja = 1, Qa(Lt))
- }, Bo.timer.flush = function () {
- Tt(), qt()
- }, Bo.round = function (n, t) {
- return t ? Math.round(n * (t = Math.pow(10, t))) / t : Math.round(n)
- };
- var nc = ["y", "z", "a", "f", "p", "n", "\xb5", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"].map(Dt);
- Bo.formatPrefix = function (n, t) {
- var e = 0;
- return n && (0 > n && (n *= -1), t && (n = Bo.round(n, Rt(n, t))), e = 1 + Math.floor(1e-12 + Math.log(n) / Math.LN10), e = Math.max(-24, Math.min(24, 3 * Math.floor((e - 1) / 3)))), nc[8 + e / 3]
- };
- var tc = /(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i, ec = Bo.map({
- b: function (n) {
- return n.toString(2)
- }, c: function (n) {
- return String.fromCharCode(n)
- }, o: function (n) {
- return n.toString(8)
- }, x: function (n) {
- return n.toString(16)
- }, X: function (n) {
- return n.toString(16).toUpperCase()
- }, g: function (n, t) {
- return n.toPrecision(t)
- }, e: function (n, t) {
- return n.toExponential(t)
- }, f: function (n, t) {
- return n.toFixed(t)
- }, r: function (n, t) {
- return (n = Bo.round(n, Rt(n, t))).toFixed(Math.max(0, Math.min(20, Rt(n * (1 + 1e-15), t))))
- }
- }), rc = Bo.time = {}, uc = Date;
- jt.prototype = {
- getDate: function () {
- return this._.getUTCDate()
- }, getDay: function () {
- return this._.getUTCDay()
- }, getFullYear: function () {
- return this._.getUTCFullYear()
- }, getHours: function () {
- return this._.getUTCHours()
- }, getMilliseconds: function () {
- return this._.getUTCMilliseconds()
- }, getMinutes: function () {
- return this._.getUTCMinutes()
- }, getMonth: function () {
- return this._.getUTCMonth()
- }, getSeconds: function () {
- return this._.getUTCSeconds()
- }, getTime: function () {
- return this._.getTime()
- }, getTimezoneOffset: function () {
- return 0
- }, valueOf: function () {
- return this._.valueOf()
- }, setDate: function () {
- ic.setUTCDate.apply(this._, arguments)
- }, setDay: function () {
- ic.setUTCDay.apply(this._, arguments)
- }, setFullYear: function () {
- ic.setUTCFullYear.apply(this._, arguments)
- }, setHours: function () {
- ic.setUTCHours.apply(this._, arguments)
- }, setMilliseconds: function () {
- ic.setUTCMilliseconds.apply(this._, arguments)
- }, setMinutes: function () {
- ic.setUTCMinutes.apply(this._, arguments)
- }, setMonth: function () {
- ic.setUTCMonth.apply(this._, arguments)
- }, setSeconds: function () {
- ic.setUTCSeconds.apply(this._, arguments)
- }, setTime: function () {
- ic.setTime.apply(this._, arguments)
- }
- };
- var ic = Date.prototype;
- rc.year = Ft(function (n) {
- return n = rc.day(n), n.setMonth(0, 1), n
- }, function (n, t) {
- n.setFullYear(n.getFullYear() + t)
- }, function (n) {
- return n.getFullYear()
- }), rc.years = rc.year.range, rc.years.utc = rc.year.utc.range, rc.day = Ft(function (n) {
- var t = new uc(2e3, 0);
- return t.setFullYear(n.getFullYear(), n.getMonth(), n.getDate()), t
- }, function (n, t) {
- n.setDate(n.getDate() + t)
- }, function (n) {
- return n.getDate() - 1
- }), rc.days = rc.day.range, rc.days.utc = rc.day.utc.range, rc.dayOfYear = function (n) {
- var t = rc.year(n);
- return Math.floor((n - t - 6e4 * (n.getTimezoneOffset() - t.getTimezoneOffset())) / 864e5)
- }, ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"].forEach(function (n, t) {
- t = 7 - t;
- var e = rc[n] = Ft(function (n) {
- return (n = rc.day(n)).setDate(n.getDate() - (n.getDay() + t) % 7), n
- }, function (n, t) {
- n.setDate(n.getDate() + 7 * Math.floor(t))
- }, function (n) {
- var e = rc.year(n).getDay();
- return Math.floor((rc.dayOfYear(n) + (e + t) % 7) / 7) - (e !== t)
- });
- rc[n + "s"] = e.range, rc[n + "s"].utc = e.utc.range, rc[n + "OfYear"] = function (n) {
- var e = rc.year(n).getDay();
- return Math.floor((rc.dayOfYear(n) + (e + t) % 7) / 7)
- }
- }), rc.week = rc.sunday, rc.weeks = rc.sunday.range, rc.weeks.utc = rc.sunday.utc.range, rc.weekOfYear = rc.sundayOfYear;
- var oc = {"-": "", _: " ", 0: "0"}, ac = /^\s*\d+/, cc = /^%/;
- Bo.locale = function (n) {
- return {numberFormat: Pt(n), timeFormat: Ot(n)}
- };
- var lc = Bo.locale({
- decimal: ".",
- thousands: ",",
- grouping: [3],
- currency: ["$", ""],
- dateTime: "%a %b %e %X %Y",
- date: "%m/%d/%Y",
- time: "%H:%M:%S",
- periods: ["AM", "PM"],
- days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
- shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
- months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
- shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
- });
- Bo.format = lc.numberFormat, Bo.geo = {}, ce.prototype = {
- s: 0, t: 0, add: function (n) {
- le(n, this.t, sc), le(sc.s, this.s, this), this.s ? this.t += sc.t : this.s = sc.t
- }, reset: function () {
- this.s = this.t = 0
- }, valueOf: function () {
- return this.s
- }
- };
- var sc = new ce;
- Bo.geo.stream = function (n, t) {
- n && fc.hasOwnProperty(n.type) ? fc[n.type](n, t) : se(n, t)
- };
- var fc = {
- Feature: function (n, t) {
- se(n.geometry, t)
- }, FeatureCollection: function (n, t) {
- for (var e = n.features, r = -1, u = e.length; ++r < u;)se(e[r].geometry, t)
- }
- }, hc = {
- Sphere: function (n, t) {
- t.sphere()
- }, Point: function (n, t) {
- n = n.coordinates, t.point(n[0], n[1], n[2])
- }, MultiPoint: function (n, t) {
- for (var e = n.coordinates, r = -1, u = e.length; ++r < u;)n = e[r], t.point(n[0], n[1], n[2])
- }, LineString: function (n, t) {
- fe(n.coordinates, t, 0)
- }, MultiLineString: function (n, t) {
- for (var e = n.coordinates, r = -1, u = e.length; ++r < u;)fe(e[r], t, 0)
- }, Polygon: function (n, t) {
- he(n.coordinates, t)
- }, MultiPolygon: function (n, t) {
- for (var e = n.coordinates, r = -1, u = e.length; ++r < u;)he(e[r], t)
- }, GeometryCollection: function (n, t) {
- for (var e = n.geometries, r = -1, u = e.length; ++r < u;)se(e[r], t)
- }
- };
- Bo.geo.area = function (n) {
- return gc = 0, Bo.geo.stream(n, vc), gc
- };
- var gc, pc = new ce, vc = {
- sphere: function () {
- gc += 4 * Ea
- }, point: y, lineStart: y, lineEnd: y, polygonStart: function () {
- pc.reset(), vc.lineStart = ge
- }, polygonEnd: function () {
- var n = 2 * pc;
- gc += 0 > n ? 4 * Ea + n : n, vc.lineStart = vc.lineEnd = vc.point = y
- }
- };
- Bo.geo.bounds = function () {
- function n(n, t) {
- x.push(M = [s = n, h = n]), f > t && (f = t), t > g && (g = t)
- }
-
- function t(t, e) {
- var r = pe([t * La, e * La]);
- if (m) {
- var u = de(m, r), i = [u[1], -u[0], 0], o = de(i, u);
- xe(o), o = Me(o);
- var c = t - p, l = c > 0 ? 1 : -1, v = o[0] * Ta * l, d = ca(c) > 180;
- if (d ^ (v > l * p && l * t > v)) {
- var y = o[1] * Ta;
- y > g && (g = y)
- } else if (v = (v + 360) % 360 - 180, d ^ (v > l * p && l * t > v)) {
- var y = -o[1] * Ta;
- f > y && (f = y)
- } else f > e && (f = e), e > g && (g = e);
- d ? p > t ? a(s, t) > a(s, h) && (h = t) : a(t, h) > a(s, h) && (s = t) : h >= s ? (s > t && (s = t), t > h && (h = t)) : t > p ? a(s, t) > a(s, h) && (h = t) : a(t, h) > a(s, h) && (s = t)
- } else n(t, e);
- m = r, p = t
- }
-
- function e() {
- _.point = t
- }
-
- function r() {
- M[0] = s, M[1] = h, _.point = n, m = null
- }
-
- function u(n, e) {
- if (m) {
- var r = n - p;
- y += ca(r) > 180 ? r + (r > 0 ? 360 : -360) : r
- } else v = n, d = e;
- vc.point(n, e), t(n, e)
- }
-
- function i() {
- vc.lineStart()
- }
-
- function o() {
- u(v, d), vc.lineEnd(), ca(y) > Na && (s = -(h = 180)), M[0] = s, M[1] = h, m = null
- }
-
- function a(n, t) {
- return (t -= n) < 0 ? t + 360 : t
- }
-
- function c(n, t) {
- return n[0] - t[0]
- }
-
- function l(n, t) {
- return t[0] <= t[1] ? t[0] <= n && n <= t[1] : n < t[0] || t[1] < n
- }
-
- var s, f, h, g, p, v, d, m, y, x, M, _ = {
- point: n, lineStart: e, lineEnd: r, polygonStart: function () {
- _.point = u, _.lineStart = i, _.lineEnd = o, y = 0, vc.polygonStart()
- }, polygonEnd: function () {
- vc.polygonEnd(), _.point = n, _.lineStart = e, _.lineEnd = r, 0 > pc ? (s = -(h = 180), f = -(g = 90)) : y > Na ? g = 90 : -Na > y && (f = -90), M[0] = s, M[1] = h
- }
- };
- return function (n) {
- g = h = -(s = f = 1 / 0), x = [], Bo.geo.stream(n, _);
- var t = x.length;
- if (t) {
- x.sort(c);
- for (var e, r = 1, u = x[0], i = [u]; t > r; ++r)e = x[r], l(e[0], u) || l(e[1], u) ? (a(u[0], e[1]) > a(u[0], u[1]) && (u[1] = e[1]), a(e[0], u[1]) > a(u[0], u[1]) && (u[0] = e[0])) : i.push(u = e);
- for (var o, e, p = -1 / 0, t = i.length - 1, r = 0, u = i[t]; t >= r; u = e, ++r)e = i[r], (o = a(u[1], e[0])) > p && (p = o, s = e[0], h = u[1])
- }
- return x = M = null, 1 / 0 === s || 1 / 0 === f ? [[0 / 0, 0 / 0], [0 / 0, 0 / 0]] : [[s, f], [h, g]]
- }
- }(), Bo.geo.centroid = function (n) {
- dc = mc = yc = xc = Mc = _c = bc = wc = Sc = kc = Ec = 0, Bo.geo.stream(n, Ac);
- var t = Sc, e = kc, r = Ec, u = t * t + e * e + r * r;
- return za > u && (t = _c, e = bc, r = wc, Na > mc && (t = yc, e = xc, r = Mc), u = t * t + e * e + r * r, za > u) ? [0 / 0, 0 / 0] : [Math.atan2(e, t) * Ta, nt(r / Math.sqrt(u)) * Ta]
- };
- var dc, mc, yc, xc, Mc, _c, bc, wc, Sc, kc, Ec, Ac = {
- sphere: y,
- point: be,
- lineStart: Se,
- lineEnd: ke,
- polygonStart: function () {
- Ac.lineStart = Ee
- },
- polygonEnd: function () {
- Ac.lineStart = Se
- }
- }, Cc = Le(Ae, De, Ue, [-Ea, -Ea / 2]), Nc = 1e9;
- Bo.geo.clipExtent = function () {
- var n, t, e, r, u, i, o = {
- stream: function (n) {
- return u && (u.valid = !1), u = i(n), u.valid = !0, u
- }, extent: function (a) {
- return arguments.length ? (i = Oe(n = +a[0][0], t = +a[0][1], e = +a[1][0], r = +a[1][1]), u && (u.valid = !1, u = null), o) : [[n, t], [e, r]]
- }
- };
- return o.extent([[0, 0], [960, 500]])
- }, (Bo.geo.conicEqualArea = function () {
- return Ie(Ze)
- }).raw = Ze, Bo.geo.albers = function () {
- return Bo.geo.conicEqualArea().rotate([96, 0]).center([-.6, 38.7]).parallels([29.5, 45.5]).scale(1070)
- }, Bo.geo.albersUsa = function () {
- function n(n) {
- var i = n[0], o = n[1];
- return t = null, e(i, o), t || (r(i, o), t) || u(i, o), t
- }
-
- var t, e, r, u, i = Bo.geo.albers(), o = Bo.geo.conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), a = Bo.geo.conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), c = {
- point: function (n, e) {
- t = [n, e]
- }
- };
- return n.invert = function (n) {
- var t = i.scale(), e = i.translate(), r = (n[0] - e[0]) / t, u = (n[1] - e[1]) / t;
- return (u >= .12 && .234 > u && r >= -.425 && -.214 > r ? o : u >= .166 && .234 > u && r >= -.214 && -.115 > r ? a : i).invert(n)
- }, n.stream = function (n) {
- var t = i.stream(n), e = o.stream(n), r = a.stream(n);
- return {
- point: function (n, u) {
- t.point(n, u), e.point(n, u), r.point(n, u)
- }, sphere: function () {
- t.sphere(), e.sphere(), r.sphere()
- }, lineStart: function () {
- t.lineStart(), e.lineStart(), r.lineStart()
- }, lineEnd: function () {
- t.lineEnd(), e.lineEnd(), r.lineEnd()
- }, polygonStart: function () {
- t.polygonStart(), e.polygonStart(), r.polygonStart()
- }, polygonEnd: function () {
- t.polygonEnd(), e.polygonEnd(), r.polygonEnd()
- }
- }
- }, n.precision = function (t) {
- return arguments.length ? (i.precision(t), o.precision(t), a.precision(t), n) : i.precision()
- }, n.scale = function (t) {
- return arguments.length ? (i.scale(t), o.scale(.35 * t), a.scale(t), n.translate(i.translate())) : i.scale()
- }, n.translate = function (t) {
- if (!arguments.length)return i.translate();
- var l = i.scale(), s = +t[0], f = +t[1];
- return e = i.translate(t).clipExtent([[s - .455 * l, f - .238 * l], [s + .455 * l, f + .238 * l]]).stream(c).point, r = o.translate([s - .307 * l, f + .201 * l]).clipExtent([[s - .425 * l + Na, f + .12 * l + Na], [s - .214 * l - Na, f + .234 * l - Na]]).stream(c).point, u = a.translate([s - .205 * l, f + .212 * l]).clipExtent([[s - .214 * l + Na, f + .166 * l + Na], [s - .115 * l - Na, f + .234 * l - Na]]).stream(c).point, n
- }, n.scale(1070)
- };
- var zc, Lc, Tc, qc, Rc, Dc, Pc = {
- point: y, lineStart: y, lineEnd: y, polygonStart: function () {
- Lc = 0, Pc.lineStart = Ve
- }, polygonEnd: function () {
- Pc.lineStart = Pc.lineEnd = Pc.point = y, zc += ca(Lc / 2)
- }
- }, Uc = {point: Xe, lineStart: y, lineEnd: y, polygonStart: y, polygonEnd: y}, jc = {
- point: We,
- lineStart: Je,
- lineEnd: Ge,
- polygonStart: function () {
- jc.lineStart = Ke
- },
- polygonEnd: function () {
- jc.point = We, jc.lineStart = Je, jc.lineEnd = Ge
- }
- };
- Bo.geo.path = function () {
- function n(n) {
- return n && ("function" == typeof a && i.pointRadius(+a.apply(this, arguments)), o && o.valid || (o = u(i)), Bo.geo.stream(n, o)), i.result()
- }
-
- function t() {
- return o = null, n
- }
-
- var e, r, u, i, o, a = 4.5;
- return n.area = function (n) {
- return zc = 0, Bo.geo.stream(n, u(Pc)), zc
- }, n.centroid = function (n) {
- return yc = xc = Mc = _c = bc = wc = Sc = kc = Ec = 0, Bo.geo.stream(n, u(jc)), Ec ? [Sc / Ec, kc / Ec] : wc ? [_c / wc, bc / wc] : Mc ? [yc / Mc, xc / Mc] : [0 / 0, 0 / 0]
- }, n.bounds = function (n) {
- return Rc = Dc = -(Tc = qc = 1 / 0), Bo.geo.stream(n, u(Uc)), [[Tc, qc], [Rc, Dc]]
- }, n.projection = function (n) {
- return arguments.length ? (u = (e = n) ? n.stream || tr(n) : Et, t()) : e
- }, n.context = function (n) {
- return arguments.length ? (i = null == (r = n) ? new $e : new Qe(n), "function" != typeof a && i.pointRadius(a), t()) : r
- }, n.pointRadius = function (t) {
- return arguments.length ? (a = "function" == typeof t ? t : (i.pointRadius(+t), +t), n) : a
- }, n.projection(Bo.geo.albersUsa()).context(null)
- }, Bo.geo.transform = function (n) {
- return {
- stream: function (t) {
- var e = new er(t);
- for (var r in n)e[r] = n[r];
- return e
- }
- }
- }, er.prototype = {
- point: function (n, t) {
- this.stream.point(n, t)
- }, sphere: function () {
- this.stream.sphere()
- }, lineStart: function () {
- this.stream.lineStart()
- }, lineEnd: function () {
- this.stream.lineEnd()
- }, polygonStart: function () {
- this.stream.polygonStart()
- }, polygonEnd: function () {
- this.stream.polygonEnd()
- }
- }, Bo.geo.projection = ur, Bo.geo.projectionMutator = ir, (Bo.geo.equirectangular = function () {
- return ur(ar)
- }).raw = ar.invert = ar, Bo.geo.rotation = function (n) {
- function t(t) {
- return t = n(t[0] * La, t[1] * La), t[0] *= Ta, t[1] *= Ta, t
- }
-
- return n = lr(n[0] % 360 * La, n[1] * La, n.length > 2 ? n[2] * La : 0), t.invert = function (t) {
- return t = n.invert(t[0] * La, t[1] * La), t[0] *= Ta, t[1] *= Ta, t
- }, t
- }, cr.invert = ar, Bo.geo.circle = function () {
- function n() {
- var n = "function" == typeof r ? r.apply(this, arguments) : r, t = lr(-n[0] * La, -n[1] * La, 0).invert, u = [];
- return e(null, null, 1, {
- point: function (n, e) {
- u.push(n = t(n, e)), n[0] *= Ta, n[1] *= Ta
- }
- }), {type: "Polygon", coordinates: [u]}
- }
-
- var t, e, r = [0, 0], u = 6;
- return n.origin = function (t) {
- return arguments.length ? (r = t, n) : r
- }, n.angle = function (r) {
- return arguments.length ? (e = gr((t = +r) * La, u * La), n) : t
- }, n.precision = function (r) {
- return arguments.length ? (e = gr(t * La, (u = +r) * La), n) : u
- }, n.angle(90)
- }, Bo.geo.distance = function (n, t) {
- var e, r = (t[0] - n[0]) * La, u = n[1] * La, i = t[1] * La, o = Math.sin(r), a = Math.cos(r), c = Math.sin(u), l = Math.cos(u), s = Math.sin(i), f = Math.cos(i);
- return Math.atan2(Math.sqrt((e = f * o) * e + (e = l * s - c * f * a) * e), c * s + l * f * a)
- }, Bo.geo.graticule = function () {
- function n() {
- return {type: "MultiLineString", coordinates: t()}
- }
-
- function t() {
- return Bo.range(Math.ceil(i / d) * d, u, d).map(h).concat(Bo.range(Math.ceil(l / m) * m, c, m).map(g)).concat(Bo.range(Math.ceil(r / p) * p, e, p).filter(function (n) {
- return ca(n % d) > Na
- }).map(s)).concat(Bo.range(Math.ceil(a / v) * v, o, v).filter(function (n) {
- return ca(n % m) > Na
- }).map(f))
- }
-
- var e, r, u, i, o, a, c, l, s, f, h, g, p = 10, v = p, d = 90, m = 360, y = 2.5;
- return n.lines = function () {
- return t().map(function (n) {
- return {type: "LineString", coordinates: n}
- })
- }, n.outline = function () {
- return {
- type: "Polygon",
- coordinates: [h(i).concat(g(c).slice(1), h(u).reverse().slice(1), g(l).reverse().slice(1))]
- }
- }, n.extent = function (t) {
- return arguments.length ? n.majorExtent(t).minorExtent(t) : n.minorExtent()
- }, n.majorExtent = function (t) {
- return arguments.length ? (i = +t[0][0], u = +t[1][0], l = +t[0][1], c = +t[1][1], i > u && (t = i, i = u, u = t), l > c && (t = l, l = c, c = t), n.precision(y)) : [[i, l], [u, c]]
- }, n.minorExtent = function (t) {
- return arguments.length ? (r = +t[0][0], e = +t[1][0], a = +t[0][1], o = +t[1][1], r > e && (t = r, r = e, e = t), a > o && (t = a, a = o, o = t), n.precision(y)) : [[r, a], [e, o]]
- }, n.step = function (t) {
- return arguments.length ? n.majorStep(t).minorStep(t) : n.minorStep()
- }, n.majorStep = function (t) {
- return arguments.length ? (d = +t[0], m = +t[1], n) : [d, m]
- }, n.minorStep = function (t) {
- return arguments.length ? (p = +t[0], v = +t[1], n) : [p, v]
- }, n.precision = function (t) {
- return arguments.length ? (y = +t, s = vr(a, o, 90), f = dr(r, e, y), h = vr(l, c, 90), g = dr(i, u, y), n) : y
- }, n.majorExtent([[-180, -90 + Na], [180, 90 - Na]]).minorExtent([[-180, -80 - Na], [180, 80 + Na]])
- }, Bo.geo.greatArc = function () {
- function n() {
- return {type: "LineString", coordinates: [t || r.apply(this, arguments), e || u.apply(this, arguments)]}
- }
-
- var t, e, r = mr, u = yr;
- return n.distance = function () {
- return Bo.geo.distance(t || r.apply(this, arguments), e || u.apply(this, arguments))
- }, n.source = function (e) {
- return arguments.length ? (r = e, t = "function" == typeof e ? null : e, n) : r
- }, n.target = function (t) {
- return arguments.length ? (u = t, e = "function" == typeof t ? null : t, n) : u
- }, n.precision = function () {
- return arguments.length ? n : 0
- }, n
- }, Bo.geo.interpolate = function (n, t) {
- return xr(n[0] * La, n[1] * La, t[0] * La, t[1] * La)
- }, Bo.geo.length = function (n) {
- return Fc = 0, Bo.geo.stream(n, Hc), Fc
- };
- var Fc, Hc = {
- sphere: y,
- point: y,
- lineStart: Mr,
- lineEnd: y,
- polygonStart: y,
- polygonEnd: y
- }, Oc = _r(function (n) {
- return Math.sqrt(2 / (1 + n))
- }, function (n) {
- return 2 * Math.asin(n / 2)
- });
- (Bo.geo.azimuthalEqualArea = function () {
- return ur(Oc)
- }).raw = Oc;
- var Yc = _r(function (n) {
- var t = Math.acos(n);
- return t && t / Math.sin(t)
- }, Et);
- (Bo.geo.azimuthalEquidistant = function () {
- return ur(Yc)
- }).raw = Yc, (Bo.geo.conicConformal = function () {
- return Ie(br)
- }).raw = br, (Bo.geo.conicEquidistant = function () {
- return Ie(wr)
- }).raw = wr;
- var Ic = _r(function (n) {
- return 1 / n
- }, Math.atan);
- (Bo.geo.gnomonic = function () {
- return ur(Ic)
- }).raw = Ic, Sr.invert = function (n, t) {
- return [n, 2 * Math.atan(Math.exp(t)) - Ca]
- }, (Bo.geo.mercator = function () {
- return kr(Sr)
- }).raw = Sr;
- var Zc = _r(function () {
- return 1
- }, Math.asin);
- (Bo.geo.orthographic = function () {
- return ur(Zc)
- }).raw = Zc;
- var Vc = _r(function (n) {
- return 1 / (1 + n)
- }, function (n) {
- return 2 * Math.atan(n)
- });
- (Bo.geo.stereographic = function () {
- return ur(Vc)
- }).raw = Vc, Er.invert = function (n, t) {
- return [-t, 2 * Math.atan(Math.exp(n)) - Ca]
- }, (Bo.geo.transverseMercator = function () {
- var n = kr(Er), t = n.center, e = n.rotate;
- return n.center = function (n) {
- return n ? t([-n[1], n[0]]) : (n = t(), [n[1], -n[0]])
- }, n.rotate = function (n) {
- return n ? e([n[0], n[1], n.length > 2 ? n[2] + 90 : 90]) : (n = e(), [n[0], n[1], n[2] - 90])
- }, e([0, 0, 90])
- }).raw = Er, Bo.geom = {}, Bo.geom.hull = function (n) {
- function t(n) {
- if (n.length < 3)return [];
- var t, u = kt(e), i = kt(r), o = n.length, a = [], c = [];
- for (t = 0; o > t; t++)a.push([+u.call(this, n[t], t), +i.call(this, n[t], t), t]);
- for (a.sort(zr), t = 0; o > t; t++)c.push([a[t][0], -a[t][1]]);
- var l = Nr(a), s = Nr(c), f = s[0] === l[0], h = s[s.length - 1] === l[l.length - 1], g = [];
- for (t = l.length - 1; t >= 0; --t)g.push(n[a[l[t]][2]]);
- for (t = +f; t < s.length - h; ++t)g.push(n[a[s[t]][2]]);
- return g
- }
-
- var e = Ar, r = Cr;
- return arguments.length ? t(n) : (t.x = function (n) {
- return arguments.length ? (e = n, t) : e
- }, t.y = function (n) {
- return arguments.length ? (r = n, t) : r
- }, t)
- }, Bo.geom.polygon = function (n) {
- return ga(n, Xc), n
- };
- var Xc = Bo.geom.polygon.prototype = [];
- Xc.area = function () {
- for (var n, t = -1, e = this.length, r = this[e - 1], u = 0; ++t < e;)n = r, r = this[t], u += n[1] * r[0] - n[0] * r[1];
- return .5 * u
- }, Xc.centroid = function (n) {
- var t, e, r = -1, u = this.length, i = 0, o = 0, a = this[u - 1];
- for (arguments.length || (n = -1 / (6 * this.area())); ++r < u;)t = a, a = this[r], e = t[0] * a[1] - a[0] * t[1], i += (t[0] + a[0]) * e, o += (t[1] + a[1]) * e;
- return [i * n, o * n]
- }, Xc.clip = function (n) {
- for (var t, e, r, u, i, o, a = qr(n), c = -1, l = this.length - qr(this), s = this[l - 1]; ++c < l;) {
- for (t = n.slice(), n.length = 0, u = this[c], i = t[(r = t.length - a) - 1], e = -1; ++e < r;)o = t[e], Lr(o, s, u) ? (Lr(i, s, u) || n.push(Tr(i, o, s, u)), n.push(o)) : Lr(i, s, u) && n.push(Tr(i, o, s, u)), i = o;
- a && n.push(n[0]), s = u
- }
- return n
- };
- var $c, Bc, Wc, Jc, Gc, Kc = [], Qc = [];
- Or.prototype.prepare = function () {
- for (var n, t = this.edges, e = t.length; e--;)n = t[e].edge, n.b && n.a || t.splice(e, 1);
- return t.sort(Ir), t.length
- }, Qr.prototype = {
- start: function () {
- return this.edge.l === this.site ? this.edge.a : this.edge.b
- }, end: function () {
- return this.edge.l === this.site ? this.edge.b : this.edge.a
- }
- }, nu.prototype = {
- insert: function (n, t) {
- var e, r, u;
- if (n) {
- if (t.P = n, t.N = n.N, n.N && (n.N.P = t), n.N = t, n.R) {
- for (n = n.R; n.L;)n = n.L;
- n.L = t
- } else n.R = t;
- e = n
- } else this._ ? (n = uu(this._), t.P = null, t.N = n, n.P = n.L = t, e = n) : (t.P = t.N = null, this._ = t, e = null);
- for (t.L = t.R = null, t.U = e, t.C = !0, n = t; e && e.C;)r = e.U, e === r.L ? (u = r.R, u && u.C ? (e.C = u.C = !1, r.C = !0, n = r) : (n === e.R && (eu(this, e), n = e, e = n.U), e.C = !1, r.C = !0, ru(this, r))) : (u = r.L, u && u.C ? (e.C = u.C = !1, r.C = !0, n = r) : (n === e.L && (ru(this, e), n = e, e = n.U), e.C = !1, r.C = !0, eu(this, r))), e = n.U;
- this._.C = !1
- }, remove: function (n) {
- n.N && (n.N.P = n.P), n.P && (n.P.N = n.N), n.N = n.P = null;
- var t, e, r, u = n.U, i = n.L, o = n.R;
- if (e = i ? o ? uu(o) : i : o, u ? u.L === n ? u.L = e : u.R = e : this._ = e, i && o ? (r = e.C, e.C = n.C, e.L = i, i.U = e, e !== o ? (u = e.U, e.U = n.U, n = e.R, u.L = n, e.R = o, o.U = e) : (e.U = u, u = e, n = e.R)) : (r = n.C, n = e), n && (n.U = u), !r) {
- if (n && n.C)return n.C = !1, void 0;
- do {
- if (n === this._)break;
- if (n === u.L) {
- if (t = u.R, t.C && (t.C = !1, u.C = !0, eu(this, u), t = u.R), t.L && t.L.C || t.R && t.R.C) {
- t.R && t.R.C || (t.L.C = !1, t.C = !0, ru(this, t), t = u.R), t.C = u.C, u.C = t.R.C = !1, eu(this, u), n = this._;
- break
- }
- } else if (t = u.L, t.C && (t.C = !1, u.C = !0, ru(this, u), t = u.L), t.L && t.L.C || t.R && t.R.C) {
- t.L && t.L.C || (t.R.C = !1, t.C = !0, eu(this, t), t = u.L), t.C = u.C, u.C = t.L.C = !1, ru(this, u), n = this._;
- break
- }
- t.C = !0, n = u, u = u.U
- } while (!n.C);
- n && (n.C = !1)
- }
- }
- }, Bo.geom.voronoi = function (n) {
- function t(n) {
- var t = new Array(n.length), r = a[0][0], u = a[0][1], i = a[1][0], o = a[1][1];
- return iu(e(n), a).cells.forEach(function (e, a) {
- var c = e.edges, l = e.site, s = t[a] = c.length ? c.map(function (n) {
- var t = n.start();
- return [t.x, t.y]
- }) : l.x >= r && l.x <= i && l.y >= u && l.y <= o ? [[r, o], [i, o], [i, u], [r, u]] : [];
- s.point = n[a]
- }), t
- }
-
- function e(n) {
- return n.map(function (n, t) {
- return {x: Math.round(i(n, t) / Na) * Na, y: Math.round(o(n, t) / Na) * Na, i: t}
- })
- }
-
- var r = Ar, u = Cr, i = r, o = u, a = nl;
- return n ? t(n) : (t.links = function (n) {
- return iu(e(n)).edges.filter(function (n) {
- return n.l && n.r
- }).map(function (t) {
- return {source: n[t.l.i], target: n[t.r.i]}
- })
- }, t.triangles = function (n) {
- var t = [];
- return iu(e(n)).cells.forEach(function (e, r) {
- for (var u, i, o = e.site, a = e.edges.sort(Ir), c = -1, l = a.length, s = a[l - 1].edge, f = s.l === o ? s.r : s.l; ++c < l;)u = s, i = f, s = a[c].edge, f = s.l === o ? s.r : s.l, r < i.i && r < f.i && au(o, i, f) < 0 && t.push([n[r], n[i.i], n[f.i]])
- }), t
- }, t.x = function (n) {
- return arguments.length ? (i = kt(r = n), t) : r
- }, t.y = function (n) {
- return arguments.length ? (o = kt(u = n), t) : u
- }, t.clipExtent = function (n) {
- return arguments.length ? (a = null == n ? nl : n, t) : a === nl ? null : a
- }, t.size = function (n) {
- return arguments.length ? t.clipExtent(n && [[0, 0], n]) : a === nl ? null : a && a[1]
- }, t)
- };
- var nl = [[-1e6, -1e6], [1e6, 1e6]];
- Bo.geom.delaunay = function (n) {
- return Bo.geom.voronoi().triangles(n)
- }, Bo.geom.quadtree = function (n, t, e, r, u) {
- function i(n) {
- function i(n, t, e, r, u, i, o, a) {
- if (!isNaN(e) && !isNaN(r))if (n.leaf) {
- var c = n.x, s = n.y;
- if (null != c)if (ca(c - e) + ca(s - r) < .01)l(n, t, e, r, u, i, o, a); else {
- var f = n.point;
- n.x = n.y = n.point = null, l(n, f, c, s, u, i, o, a), l(n, t, e, r, u, i, o, a)
- } else n.x = e, n.y = r, n.point = t
- } else l(n, t, e, r, u, i, o, a)
- }
-
- function l(n, t, e, r, u, o, a, c) {
- var l = .5 * (u + a), s = .5 * (o + c), f = e >= l, h = r >= s, g = (h << 1) + f;
- n.leaf = !1, n = n.nodes[g] || (n.nodes[g] = su()), f ? u = l : a = l, h ? o = s : c = s, i(n, t, e, r, u, o, a, c)
- }
-
- var s, f, h, g, p, v, d, m, y, x = kt(a), M = kt(c);
- if (null != t)v = t, d = e, m = r, y = u; else if (m = y = -(v = d = 1 / 0), f = [], h = [], p = n.length, o)for (g = 0; p > g; ++g)s = n[g], s.x < v && (v = s.x), s.y < d && (d = s.y), s.x > m && (m = s.x), s.y > y && (y = s.y), f.push(s.x), h.push(s.y); else for (g = 0; p > g; ++g) {
- var _ = +x(s = n[g], g), b = +M(s, g);
- v > _ && (v = _), d > b && (d = b), _ > m && (m = _), b > y && (y = b), f.push(_), h.push(b)
- }
- var w = m - v, S = y - d;
- w > S ? y = d + w : m = v + S;
- var k = su();
- if (k.add = function (n) {
- i(k, n, +x(n, ++g), +M(n, g), v, d, m, y)
- }, k.visit = function (n) {
- fu(n, k, v, d, m, y)
- }, g = -1, null == t) {
- for (; ++g < p;)i(k, n[g], f[g], h[g], v, d, m, y);
- --g
- } else n.forEach(k.add);
- return f = h = n = s = null, k
- }
-
- var o, a = Ar, c = Cr;
- return (o = arguments.length) ? (a = cu, c = lu, 3 === o && (u = e, r = t, e = t = 0), i(n)) : (i.x = function (n) {
- return arguments.length ? (a = n, i) : a
- }, i.y = function (n) {
- return arguments.length ? (c = n, i) : c
- }, i.extent = function (n) {
- return arguments.length ? (null == n ? t = e = r = u = null : (t = +n[0][0], e = +n[0][1], r = +n[1][0], u = +n[1][1]), i) : null == t ? null : [[t, e], [r, u]]
- }, i.size = function (n) {
- return arguments.length ? (null == n ? t = e = r = u = null : (t = e = 0, r = +n[0], u = +n[1]), i) : null == t ? null : [r - t, u - e]
- }, i)
- }, Bo.interpolateRgb = hu, Bo.interpolateObject = gu, Bo.interpolateNumber = pu, Bo.interpolateString = vu;
- var tl = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, el = new RegExp(tl.source, "g");
- Bo.interpolate = du, Bo.interpolators = [function (n, t) {
- var e = typeof t;
- return ("string" === e ? $a.has(t) || /^(#|rgb\(|hsl\()/.test(t) ? hu : vu : t instanceof it ? hu : Array.isArray(t) ? mu : "object" === e && isNaN(t) ? gu : pu)(n, t)
- }], Bo.interpolateArray = mu;
- var rl = function () {
- return Et
- }, ul = Bo.map({
- linear: rl, poly: Su, quad: function () {
- return _u
- }, cubic: function () {
- return bu
- }, sin: function () {
- return ku
- }, exp: function () {
- return Eu
- }, circle: function () {
- return Au
- }, elastic: Cu, back: Nu, bounce: function () {
- return zu
- }
- }), il = Bo.map({
- "in": Et, out: xu, "in-out": Mu, "out-in": function (n) {
- return Mu(xu(n))
- }
- });
- Bo.ease = function (n) {
- var t = n.indexOf("-"), e = t >= 0 ? n.slice(0, t) : n, r = t >= 0 ? n.slice(t + 1) : "in";
- return e = ul.get(e) || rl, r = il.get(r) || Et, yu(r(e.apply(null, Wo.call(arguments, 1))))
- }, Bo.interpolateHcl = Lu, Bo.interpolateHsl = Tu, Bo.interpolateLab = qu, Bo.interpolateRound = Ru, Bo.transform = function (n) {
- var t = Go.createElementNS(Bo.ns.prefix.svg, "g");
- return (Bo.transform = function (n) {
- if (null != n) {
- t.setAttribute("transform", n);
- var e = t.transform.baseVal.consolidate()
- }
- return new Du(e ? e.matrix : ol)
- })(n)
- }, Du.prototype.toString = function () {
- return "translate(" + this.translate + ")rotate(" + this.rotate + ")skewX(" + this.skew + ")scale(" + this.scale + ")"
- };
- var ol = {a: 1, b: 0, c: 0, d: 1, e: 0, f: 0};
- Bo.interpolateTransform = Fu, Bo.layout = {}, Bo.layout.bundle = function () {
- return function (n) {
- for (var t = [], e = -1, r = n.length; ++e < r;)t.push(Yu(n[e]));
- return t
- }
- }, Bo.layout.chord = function () {
- function n() {
- var n, l, f, h, g, p = {}, v = [], d = Bo.range(i), m = [];
- for (e = [], r = [], n = 0, h = -1; ++h < i;) {
- for (l = 0, g = -1; ++g < i;)l += u[h][g];
- v.push(l), m.push(Bo.range(i)), n += l
- }
- for (o && d.sort(function (n, t) {
- return o(v[n], v[t])
- }), a && m.forEach(function (n, t) {
- n.sort(function (n, e) {
- return a(u[t][n], u[t][e])
- })
- }), n = (Aa - s * i) / n, l = 0, h = -1; ++h < i;) {
- for (f = l, g = -1; ++g < i;) {
- var y = d[h], x = m[y][g], M = u[y][x], _ = l, b = l += M * n;
- p[y + "-" + x] = {index: y, subindex: x, startAngle: _, endAngle: b, value: M}
- }
- r[y] = {index: y, startAngle: f, endAngle: l, value: (l - f) / n}, l += s
- }
- for (h = -1; ++h < i;)for (g = h - 1; ++g < i;) {
- var w = p[h + "-" + g], S = p[g + "-" + h];
- (w.value || S.value) && e.push(w.value < S.value ? {source: S, target: w} : {source: w, target: S})
- }
- c && t()
- }
-
- function t() {
- e.sort(function (n, t) {
- return c((n.source.value + n.target.value) / 2, (t.source.value + t.target.value) / 2)
- })
- }
-
- var e, r, u, i, o, a, c, l = {}, s = 0;
- return l.matrix = function (n) {
- return arguments.length ? (i = (u = n) && u.length, e = r = null, l) : u
- }, l.padding = function (n) {
- return arguments.length ? (s = n, e = r = null, l) : s
- }, l.sortGroups = function (n) {
- return arguments.length ? (o = n, e = r = null, l) : o
- }, l.sortSubgroups = function (n) {
- return arguments.length ? (a = n, e = null, l) : a
- }, l.sortChords = function (n) {
- return arguments.length ? (c = n, e && t(), l) : c
- }, l.chords = function () {
- return e || n(), e
- }, l.groups = function () {
- return r || n(), r
- }, l
- }, Bo.layout.force = function () {
- function n(n) {
- return function (t, e, r, u) {
- if (t.point !== n) {
- var i = t.cx - n.x, o = t.cy - n.y, a = u - e, c = i * i + o * o;
- if (c > a * a / d) {
- if (p > c) {
- var l = t.charge / c;
- n.px -= i * l, n.py -= o * l
- }
- return !0
- }
- if (t.point && c && p > c) {
- var l = t.pointCharge / c;
- n.px -= i * l, n.py -= o * l
- }
- }
- return !t.charge
- }
- }
-
- function t(n) {
- n.px = Bo.event.x, n.py = Bo.event.y, a.resume()
- }
-
- var e, r, u, i, o, a = {}, c = Bo.dispatch("start", "tick", "end"), l = [1, 1], s = .9, f = al, h = cl, g = -30, p = ll, v = .1, d = .64, m = [], y = [];
- return a.tick = function () {
- if ((r *= .99) < .005)return c.end({type: "end", alpha: r = 0}), !0;
- var t, e, a, f, h, p, d, x, M, _ = m.length, b = y.length;
- for (e = 0; b > e; ++e)a = y[e], f = a.source, h = a.target, x = h.x - f.x, M = h.y - f.y, (p = x * x + M * M) && (p = r * i[e] * ((p = Math.sqrt(p)) - u[e]) / p, x *= p, M *= p, h.x -= x * (d = f.weight / (h.weight + f.weight)), h.y -= M * d, f.x += x * (d = 1 - d), f.y += M * d);
- if ((d = r * v) && (x = l[0] / 2, M = l[1] / 2, e = -1, d))for (; ++e < _;)a = m[e], a.x += (x - a.x) * d, a.y += (M - a.y) * d;
- if (g)for (Wu(t = Bo.geom.quadtree(m), r, o), e = -1; ++e < _;)(a = m[e]).fixed || t.visit(n(a));
- for (e = -1; ++e < _;)a = m[e], a.fixed ? (a.x = a.px, a.y = a.py) : (a.x -= (a.px - (a.px = a.x)) * s, a.y -= (a.py - (a.py = a.y)) * s);
- c.tick({type: "tick", alpha: r})
- }, a.nodes = function (n) {
- return arguments.length ? (m = n, a) : m
- }, a.links = function (n) {
- return arguments.length ? (y = n, a) : y
- }, a.size = function (n) {
- return arguments.length ? (l = n, a) : l
- }, a.linkDistance = function (n) {
- return arguments.length ? (f = "function" == typeof n ? n : +n, a) : f
- }, a.distance = a.linkDistance, a.linkStrength = function (n) {
- return arguments.length ? (h = "function" == typeof n ? n : +n, a) : h
- }, a.friction = function (n) {
- return arguments.length ? (s = +n, a) : s
- }, a.charge = function (n) {
- return arguments.length ? (g = "function" == typeof n ? n : +n, a) : g
- }, a.chargeDistance = function (n) {
- return arguments.length ? (p = n * n, a) : Math.sqrt(p)
- }, a.gravity = function (n) {
- return arguments.length ? (v = +n, a) : v
- }, a.theta = function (n) {
- return arguments.length ? (d = n * n, a) : Math.sqrt(d)
- }, a.alpha = function (n) {
- return arguments.length ? (n = +n, r ? r = n > 0 ? n : 0 : n > 0 && (c.start({
- type: "start",
- alpha: r = n
- }), Bo.timer(a.tick)), a) : r
- }, a.start = function () {
- function n(n, r) {
- if (!e) {
- for (e = new Array(c), a = 0; c > a; ++a)e[a] = [];
- for (a = 0; l > a; ++a) {
- var u = y[a];
- e[u.source.index].push(u.target), e[u.target.index].push(u.source)
- }
- }
- for (var i, o = e[t], a = -1, l = o.length; ++a < l;)if (!isNaN(i = o[a][n]))return i;
- return Math.random() * r
- }
-
- var t, e, r, c = m.length, s = y.length, p = l[0], v = l[1];
- for (t = 0; c > t; ++t)(r = m[t]).index = t, r.weight = 0;
- for (t = 0; s > t; ++t)r = y[t], "number" == typeof r.source && (r.source = m[r.source]), "number" == typeof r.target && (r.target = m[r.target]), ++r.source.weight, ++r.target.weight;
- for (t = 0; c > t; ++t)r = m[t], isNaN(r.x) && (r.x = n("x", p)), isNaN(r.y) && (r.y = n("y", v)), isNaN(r.px) && (r.px = r.x), isNaN(r.py) && (r.py = r.y);
- if (u = [], "function" == typeof f)for (t = 0; s > t; ++t)u[t] = +f.call(this, y[t], t); else for (t = 0; s > t; ++t)u[t] = f;
- if (i = [], "function" == typeof h)for (t = 0; s > t; ++t)i[t] = +h.call(this, y[t], t); else for (t = 0; s > t; ++t)i[t] = h;
- if (o = [], "function" == typeof g)for (t = 0; c > t; ++t)o[t] = +g.call(this, m[t], t); else for (t = 0; c > t; ++t)o[t] = g;
- return a.resume()
- }, a.resume = function () {
- return a.alpha(.1)
- }, a.stop = function () {
- return a.alpha(0)
- }, a.drag = function () {
- return e || (e = Bo.behavior.drag().origin(Et).on("dragstart.force", Vu).on("drag.force", t).on("dragend.force", Xu)), arguments.length ? (this.on("mouseover.force", $u).on("mouseout.force", Bu).call(e), void 0) : e
- }, Bo.rebind(a, c, "on")
- };
- var al = 20, cl = 1, ll = 1 / 0;
- Bo.layout.hierarchy = function () {
- function n(u) {
- var i, o = [u], a = [];
- for (u.depth = 0; null != (i = o.pop());)if (a.push(i), (l = e.call(n, i, i.depth)) && (c = l.length)) {
- for (var c, l, s; --c >= 0;)o.push(s = l[c]), s.parent = i, s.depth = i.depth + 1;
- r && (i.value = 0), i.children = l
- } else r && (i.value = +r.call(n, i, i.depth) || 0), delete i.children;
- return Ku(u, function (n) {
- var e, u;
- t && (e = n.children) && e.sort(t), r && (u = n.parent) && (u.value += n.value)
- }), a
- }
-
- var t = ti, e = Qu, r = ni;
- return n.sort = function (e) {
- return arguments.length ? (t = e, n) : t
- }, n.children = function (t) {
- return arguments.length ? (e = t, n) : e
- }, n.value = function (t) {
- return arguments.length ? (r = t, n) : r
- }, n.revalue = function (t) {
- return r && (Gu(t, function (n) {
- n.children && (n.value = 0)
- }), Ku(t, function (t) {
- var e;
- t.children || (t.value = +r.call(n, t, t.depth) || 0), (e = t.parent) && (e.value += t.value)
- })), t
- }, n
- }, Bo.layout.partition = function () {
- function n(t, e, r, u) {
- var i = t.children;
- if (t.x = e, t.y = t.depth * u, t.dx = r, t.dy = u, i && (o = i.length)) {
- var o, a, c, l = -1;
- for (r = t.value ? r / t.value : 0; ++l < o;)n(a = i[l], e, c = a.value * r, u), e += c
- }
- }
-
- function t(n) {
- var e = n.children, r = 0;
- if (e && (u = e.length))for (var u, i = -1; ++i < u;)r = Math.max(r, t(e[i]));
- return 1 + r
- }
-
- function e(e, i) {
- var o = r.call(this, e, i);
- return n(o[0], 0, u[0], u[1] / t(o[0])), o
- }
-
- var r = Bo.layout.hierarchy(), u = [1, 1];
- return e.size = function (n) {
- return arguments.length ? (u = n, e) : u
- }, Ju(e, r)
- }, Bo.layout.pie = function () {
- function n(i) {
- var o = i.map(function (e, r) {
- return +t.call(n, e, r)
- }), a = +("function" == typeof r ? r.apply(this, arguments) : r), c = (("function" == typeof u ? u.apply(this, arguments) : u) - a) / Bo.sum(o), l = Bo.range(i.length);
- null != e && l.sort(e === sl ? function (n, t) {
- return o[t] - o[n]
- } : function (n, t) {
- return e(i[n], i[t])
- });
- var s = [];
- return l.forEach(function (n) {
- var t;
- s[n] = {data: i[n], value: t = o[n], startAngle: a, endAngle: a += t * c}
- }), s
- }
-
- var t = Number, e = sl, r = 0, u = Aa;
- return n.value = function (e) {
- return arguments.length ? (t = e, n) : t
- }, n.sort = function (t) {
- return arguments.length ? (e = t, n) : e
- }, n.startAngle = function (t) {
- return arguments.length ? (r = t, n) : r
- }, n.endAngle = function (t) {
- return arguments.length ? (u = t, n) : u
- }, n
- };
- var sl = {};
- Bo.layout.stack = function () {
- function n(a, c) {
- if (!(h = a.length))return a;
- var l = a.map(function (e, r) {
- return t.call(n, e, r)
- }), s = l.map(function (t) {
- return t.map(function (t, e) {
- return [i.call(n, t, e), o.call(n, t, e)]
- })
- }), f = e.call(n, s, c);
- l = Bo.permute(l, f), s = Bo.permute(s, f);
- var h, g, p, v, d = r.call(n, s, c), m = l[0].length;
- for (p = 0; m > p; ++p)for (u.call(n, l[0][p], v = d[p], s[0][p][1]), g = 1; h > g; ++g)u.call(n, l[g][p], v += s[g - 1][p][1], s[g][p][1]);
- return a
- }
-
- var t = Et, e = oi, r = ai, u = ii, i = ri, o = ui;
- return n.values = function (e) {
- return arguments.length ? (t = e, n) : t
- }, n.order = function (t) {
- return arguments.length ? (e = "function" == typeof t ? t : fl.get(t) || oi, n) : e
- }, n.offset = function (t) {
- return arguments.length ? (r = "function" == typeof t ? t : hl.get(t) || ai, n) : r
- }, n.x = function (t) {
- return arguments.length ? (i = t, n) : i
- }, n.y = function (t) {
- return arguments.length ? (o = t, n) : o
- }, n.out = function (t) {
- return arguments.length ? (u = t, n) : u
- }, n
- };
- var fl = Bo.map({
- "inside-out": function (n) {
- var t, e, r = n.length, u = n.map(ci), i = n.map(li), o = Bo.range(r).sort(function (n, t) {
- return u[n] - u[t]
- }), a = 0, c = 0, l = [], s = [];
- for (t = 0; r > t; ++t)e = o[t], c > a ? (a += i[e], l.push(e)) : (c += i[e], s.push(e));
- return s.reverse().concat(l)
- }, reverse: function (n) {
- return Bo.range(n.length).reverse()
- }, "default": oi
- }), hl = Bo.map({
- silhouette: function (n) {
- var t, e, r, u = n.length, i = n[0].length, o = [], a = 0, c = [];
- for (e = 0; i > e; ++e) {
- for (t = 0, r = 0; u > t; t++)r += n[t][e][1];
- r > a && (a = r), o.push(r)
- }
- for (e = 0; i > e; ++e)c[e] = (a - o[e]) / 2;
- return c
- }, wiggle: function (n) {
- var t, e, r, u, i, o, a, c, l, s = n.length, f = n[0], h = f.length, g = [];
- for (g[0] = c = l = 0, e = 1; h > e; ++e) {
- for (t = 0, u = 0; s > t; ++t)u += n[t][e][1];
- for (t = 0, i = 0, a = f[e][0] - f[e - 1][0]; s > t; ++t) {
- for (r = 0, o = (n[t][e][1] - n[t][e - 1][1]) / (2 * a); t > r; ++r)o += (n[r][e][1] - n[r][e - 1][1]) / a;
- i += o * n[t][e][1]
- }
- g[e] = c -= u ? i / u * a : 0, l > c && (l = c)
- }
- for (e = 0; h > e; ++e)g[e] -= l;
- return g
- }, expand: function (n) {
- var t, e, r, u = n.length, i = n[0].length, o = 1 / u, a = [];
- for (e = 0; i > e; ++e) {
- for (t = 0, r = 0; u > t; t++)r += n[t][e][1];
- if (r)for (t = 0; u > t; t++)n[t][e][1] /= r; else for (t = 0; u > t; t++)n[t][e][1] = o
- }
- for (e = 0; i > e; ++e)a[e] = 0;
- return a
- }, zero: ai
- });
- Bo.layout.histogram = function () {
- function n(n, i) {
- for (var o, a, c = [], l = n.map(e, this), s = r.call(this, l, i), f = u.call(this, s, l, i), i = -1, h = l.length, g = f.length - 1, p = t ? 1 : 1 / h; ++i < g;)o = c[i] = [], o.dx = f[i + 1] - (o.x = f[i]), o.y = 0;
- if (g > 0)for (i = -1; ++i < h;)a = l[i], a >= s[0] && a <= s[1] && (o = c[Bo.bisect(f, a, 1, g) - 1], o.y += p, o.push(n[i]));
- return c
- }
-
- var t = !0, e = Number, r = gi, u = fi;
- return n.value = function (t) {
- return arguments.length ? (e = t, n) : e
- }, n.range = function (t) {
- return arguments.length ? (r = kt(t), n) : r
- }, n.bins = function (t) {
- return arguments.length ? (u = "number" == typeof t ? function (n) {
- return hi(n, t)
- } : kt(t), n) : u
- }, n.frequency = function (e) {
- return arguments.length ? (t = !!e, n) : t
- }, n
- }, Bo.layout.pack = function () {
- function n(n, i) {
- var o = e.call(this, n, i), a = o[0], c = u[0], l = u[1], s = null == t ? Math.sqrt : "function" == typeof t ? t : function () {
- return t
- };
- if (a.x = a.y = 0, Ku(a, function (n) {
- n.r = +s(n.value)
- }), Ku(a, yi), r) {
- var f = r * (t ? 1 : Math.max(2 * a.r / c, 2 * a.r / l)) / 2;
- Ku(a, function (n) {
- n.r += f
- }), Ku(a, yi), Ku(a, function (n) {
- n.r -= f
- })
- }
- return _i(a, c / 2, l / 2, t ? 1 : 1 / Math.max(2 * a.r / c, 2 * a.r / l)), o
- }
-
- var t, e = Bo.layout.hierarchy().sort(pi), r = 0, u = [1, 1];
- return n.size = function (t) {
- return arguments.length ? (u = t, n) : u
- }, n.radius = function (e) {
- return arguments.length ? (t = null == e || "function" == typeof e ? e : +e, n) : t
- }, n.padding = function (t) {
- return arguments.length ? (r = +t, n) : r
- }, Ju(n, e)
- }, Bo.layout.tree = function () {
- function n(n, u) {
- var s = o.call(this, n, u), f = s[0], h = t(f);
- if (Ku(h, e), h.parent.m = -h.z, Gu(h, r), l)Gu(f, i); else {
- var g = f, p = f, v = f;
- Gu(f, function (n) {
- n.x < g.x && (g = n), n.x > p.x && (p = n), n.depth > v.depth && (v = n)
- });
- var d = a(g, p) / 2 - g.x, m = c[0] / (p.x + a(p, g) / 2 + d), y = c[1] / (v.depth || 1);
- Gu(f, function (n) {
- n.x = (n.x + d) * m, n.y = n.depth * y
- })
- }
- return s
- }
-
- function t(n) {
- for (var t, e = {
- A: null,
- children: [n]
- }, r = [e]; null != (t = r.pop());)for (var u, i = t.children, o = 0, a = i.length; a > o; ++o)r.push((i[o] = u = {
- _: i[o],
- parent: t,
- children: (u = i[o].children) && u.slice() || [],
- A: null,
- a: null,
- z: 0,
- m: 0,
- c: 0,
- s: 0,
- t: null,
- i: o
- }).a = u);
- return e.children[0]
- }
-
- function e(n) {
- var t = n.children, e = n.parent.children, r = n.i ? e[n.i - 1] : null;
- if (t.length) {
- Ai(n);
- var i = (t[0].z + t[t.length - 1].z) / 2;
- r ? (n.z = r.z + a(n._, r._), n.m = n.z - i) : n.z = i
- } else r && (n.z = r.z + a(n._, r._));
- n.parent.A = u(n, r, n.parent.A || e[0])
- }
-
- function r(n) {
- n._.x = n.z + n.parent.m, n.m += n.parent.m
- }
-
- function u(n, t, e) {
- if (t) {
- for (var r, u = n, i = n, o = t, c = u.parent.children[0], l = u.m, s = i.m, f = o.m, h = c.m; o = ki(o), u = Si(u), o && u;)c = Si(c), i = ki(i), i.a = n, r = o.z + f - u.z - l + a(o._, u._), r > 0 && (Ei(Ci(o, n, e), n, r), l += r, s += r), f += o.m, l += u.m, h += c.m, s += i.m;
- o && !ki(i) && (i.t = o, i.m += f - s), u && !Si(c) && (c.t = u, c.m += l - h, e = n)
- }
- return e
- }
-
- function i(n) {
- n.x *= c[0], n.y = n.depth * c[1]
- }
-
- var o = Bo.layout.hierarchy().sort(null).value(null), a = wi, c = [1, 1], l = null;
- return n.separation = function (t) {
- return arguments.length ? (a = t, n) : a
- }, n.size = function (t) {
- return arguments.length ? (l = null == (c = t) ? i : null, n) : l ? null : c
- }, n.nodeSize = function (t) {
- return arguments.length ? (l = null == (c = t) ? null : i, n) : l ? c : null
- }, Ju(n, o)
- }, Bo.layout.cluster = function () {
- function n(n, i) {
- var o, a = t.call(this, n, i), c = a[0], l = 0;
- Ku(c, function (n) {
- var t = n.children;
- t && t.length ? (n.x = zi(t), n.y = Ni(t)) : (n.x = o ? l += e(n, o) : 0, n.y = 0, o = n)
- });
- var s = Li(c), f = Ti(c), h = s.x - e(s, f) / 2, g = f.x + e(f, s) / 2;
- return Ku(c, u ? function (n) {
- n.x = (n.x - c.x) * r[0], n.y = (c.y - n.y) * r[1]
- } : function (n) {
- n.x = (n.x - h) / (g - h) * r[0], n.y = (1 - (c.y ? n.y / c.y : 1)) * r[1]
- }), a
- }
-
- var t = Bo.layout.hierarchy().sort(null).value(null), e = wi, r = [1, 1], u = !1;
- return n.separation = function (t) {
- return arguments.length ? (e = t, n) : e
- }, n.size = function (t) {
- return arguments.length ? (u = null == (r = t), n) : u ? null : r
- }, n.nodeSize = function (t) {
- return arguments.length ? (u = null != (r = t), n) : u ? r : null
- }, Ju(n, t)
- }, Bo.layout.treemap = function () {
- function n(n, t) {
- for (var e, r, u = -1, i = n.length; ++u < i;)r = (e = n[u]).value * (0 > t ? 0 : t), e.area = isNaN(r) || 0 >= r ? 0 : r
- }
-
- function t(e) {
- var i = e.children;
- if (i && i.length) {
- var o, a, c, l = f(e), s = [], h = i.slice(), p = 1 / 0, v = "slice" === g ? l.dx : "dice" === g ? l.dy : "slice-dice" === g ? 1 & e.depth ? l.dy : l.dx : Math.min(l.dx, l.dy);
- for (n(h, l.dx * l.dy / e.value), s.area = 0; (c = h.length) > 0;)s.push(o = h[c - 1]), s.area += o.area, "squarify" !== g || (a = r(s, v)) <= p ? (h.pop(), p = a) : (s.area -= s.pop().area, u(s, v, l, !1), v = Math.min(l.dx, l.dy), s.length = s.area = 0, p = 1 / 0);
- s.length && (u(s, v, l, !0), s.length = s.area = 0), i.forEach(t)
- }
- }
-
- function e(t) {
- var r = t.children;
- if (r && r.length) {
- var i, o = f(t), a = r.slice(), c = [];
- for (n(a, o.dx * o.dy / t.value), c.area = 0; i = a.pop();)c.push(i), c.area += i.area, null != i.z && (u(c, i.z ? o.dx : o.dy, o, !a.length), c.length = c.area = 0);
- r.forEach(e)
- }
- }
-
- function r(n, t) {
- for (var e, r = n.area, u = 0, i = 1 / 0, o = -1, a = n.length; ++o < a;)(e = n[o].area) && (i > e && (i = e), e > u && (u = e));
- return r *= r, t *= t, r ? Math.max(t * u * p / r, r / (t * i * p)) : 1 / 0
- }
-
- function u(n, t, e, r) {
- var u, i = -1, o = n.length, a = e.x, l = e.y, s = t ? c(n.area / t) : 0;
- if (t == e.dx) {
- for ((r || s > e.dy) && (s = e.dy); ++i < o;)u = n[i], u.x = a, u.y = l, u.dy = s, a += u.dx = Math.min(e.x + e.dx - a, s ? c(u.area / s) : 0);
- u.z = !0, u.dx += e.x + e.dx - a, e.y += s, e.dy -= s
- } else {
- for ((r || s > e.dx) && (s = e.dx); ++i < o;)u = n[i], u.x = a, u.y = l, u.dx = s, l += u.dy = Math.min(e.y + e.dy - l, s ? c(u.area / s) : 0);
- u.z = !1, u.dy += e.y + e.dy - l, e.x += s, e.dx -= s
- }
- }
-
- function i(r) {
- var u = o || a(r), i = u[0];
- return i.x = 0, i.y = 0, i.dx = l[0], i.dy = l[1], o && a.revalue(i), n([i], i.dx * i.dy / i.value), (o ? e : t)(i), h && (o = u), u
- }
-
- var o, a = Bo.layout.hierarchy(), c = Math.round, l = [1, 1], s = null, f = qi, h = !1, g = "squarify", p = .5 * (1 + Math.sqrt(5));
- return i.size = function (n) {
- return arguments.length ? (l = n, i) : l
- }, i.padding = function (n) {
- function t(t) {
- var e = n.call(i, t, t.depth);
- return null == e ? qi(t) : Ri(t, "number" == typeof e ? [e, e, e, e] : e)
- }
-
- function e(t) {
- return Ri(t, n)
- }
-
- if (!arguments.length)return s;
- var r;
- return f = null == (s = n) ? qi : "function" == (r = typeof n) ? t : "number" === r ? (n = [n, n, n, n], e) : e, i
- }, i.round = function (n) {
- return arguments.length ? (c = n ? Math.round : Number, i) : c != Number
- }, i.sticky = function (n) {
- return arguments.length ? (h = n, o = null, i) : h
- }, i.ratio = function (n) {
- return arguments.length ? (p = n, i) : p
- }, i.mode = function (n) {
- return arguments.length ? (g = n + "", i) : g
- }, Ju(i, a)
- }, Bo.random = {
- normal: function (n, t) {
- var e = arguments.length;
- return 2 > e && (t = 1), 1 > e && (n = 0), function () {
- var e, r, u;
- do e = 2 * Math.random() - 1, r = 2 * Math.random() - 1, u = e * e + r * r; while (!u || u > 1);
- return n + t * e * Math.sqrt(-2 * Math.log(u) / u)
- }
- }, logNormal: function () {
- var n = Bo.random.normal.apply(Bo, arguments);
- return function () {
- return Math.exp(n())
- }
- }, bates: function (n) {
- var t = Bo.random.irwinHall(n);
- return function () {
- return t() / n
- }
- }, irwinHall: function (n) {
- return function () {
- for (var t = 0, e = 0; n > e; e++)t += Math.random();
- return t
- }
- }
- }, Bo.scale = {};
- var gl = {floor: Et, ceil: Et};
- Bo.scale.linear = function () {
- return Oi([0, 1], [0, 1], du, !1)
- };
- var pl = {s: 1, g: 1, p: 1, r: 1, e: 1};
- Bo.scale.log = function () {
- return Wi(Bo.scale.linear().domain([0, 1]), 10, !0, [1, 10])
- };
- var vl = Bo.format(".0e"), dl = {
- floor: function (n) {
- return -Math.ceil(-n)
- }, ceil: function (n) {
- return -Math.floor(-n)
- }
- };
- Bo.scale.pow = function () {
- return Ji(Bo.scale.linear(), 1, [0, 1])
- }, Bo.scale.sqrt = function () {
- return Bo.scale.pow().exponent(.5)
- }, Bo.scale.ordinal = function () {
- return Ki([], {t: "range", a: [[]]})
- }, Bo.scale.category10 = function () {
- return Bo.scale.ordinal().range(ml)
- }, Bo.scale.category20 = function () {
- return Bo.scale.ordinal().range(yl)
- }, Bo.scale.category20b = function () {
- return Bo.scale.ordinal().range(xl)
- }, Bo.scale.category20c = function () {
- return Bo.scale.ordinal().range(Ml)
- };
- var ml = [2062260, 16744206, 2924588, 14034728, 9725885, 9197131, 14907330, 8355711, 12369186, 1556175].map(yt), yl = [2062260, 11454440, 16744206, 16759672, 2924588, 10018698, 14034728, 16750742, 9725885, 12955861, 9197131, 12885140, 14907330, 16234194, 8355711, 13092807, 12369186, 14408589, 1556175, 10410725].map(yt), xl = [3750777, 5395619, 7040719, 10264286, 6519097, 9216594, 11915115, 13556636, 9202993, 12426809, 15186514, 15190932, 8666169, 11356490, 14049643, 15177372, 8077683, 10834324, 13528509, 14589654].map(yt), Ml = [3244733, 7057110, 10406625, 13032431, 15095053, 16616764, 16625259, 16634018, 3253076, 7652470, 10607003, 13101504, 7695281, 10394312, 12369372, 14342891, 6513507, 9868950, 12434877, 14277081].map(yt);
- Bo.scale.quantile = function () {
- return Qi([], [])
- }, Bo.scale.quantize = function () {
- return no(0, 1, [0, 1])
- }, Bo.scale.threshold = function () {
- return to([.5], [0, 1])
- }, Bo.scale.identity = function () {
- return eo([0, 1])
- }, Bo.svg = {}, Bo.svg.arc = function () {
- function n() {
- var n = t.apply(this, arguments), i = e.apply(this, arguments), o = r.apply(this, arguments) + _l, a = u.apply(this, arguments) + _l, c = (o > a && (c = o, o = a, a = c), a - o), l = Ea > c ? "0" : "1", s = Math.cos(o), f = Math.sin(o), h = Math.cos(a), g = Math.sin(a);
- return c >= bl ? n ? "M0," + i + "A" + i + "," + i + " 0 1,1 0," + -i + "A" + i + "," + i + " 0 1,1 0," + i + "M0," + n + "A" + n + "," + n + " 0 1,0 0," + -n + "A" + n + "," + n + " 0 1,0 0," + n + "Z" : "M0," + i + "A" + i + "," + i + " 0 1,1 0," + -i + "A" + i + "," + i + " 0 1,1 0," + i + "Z" : n ? "M" + i * s + "," + i * f + "A" + i + "," + i + " 0 " + l + ",1 " + i * h + "," + i * g + "L" + n * h + "," + n * g + "A" + n + "," + n + " 0 " + l + ",0 " + n * s + "," + n * f + "Z" : "M" + i * s + "," + i * f + "A" + i + "," + i + " 0 " + l + ",1 " + i * h + "," + i * g + "L0,0" + "Z"
- }
-
- var t = ro, e = uo, r = io, u = oo;
- return n.innerRadius = function (e) {
- return arguments.length ? (t = kt(e), n) : t
- }, n.outerRadius = function (t) {
- return arguments.length ? (e = kt(t), n) : e
- }, n.startAngle = function (t) {
- return arguments.length ? (r = kt(t), n) : r
- }, n.endAngle = function (t) {
- return arguments.length ? (u = kt(t), n) : u
- }, n.centroid = function () {
- var n = (t.apply(this, arguments) + e.apply(this, arguments)) / 2, i = (r.apply(this, arguments) + u.apply(this, arguments)) / 2 + _l;
- return [Math.cos(i) * n, Math.sin(i) * n]
- }, n
- };
- var _l = -Ca, bl = Aa - Na;
- Bo.svg.line = function () {
- return ao(Et)
- };
- var wl = Bo.map({
- linear: co,
- "linear-closed": lo,
- step: so,
- "step-before": fo,
- "step-after": ho,
- basis: xo,
- "basis-open": Mo,
- "basis-closed": _o,
- bundle: bo,
- cardinal: vo,
- "cardinal-open": go,
- "cardinal-closed": po,
- monotone: Co
- });
- wl.forEach(function (n, t) {
- t.key = n, t.closed = /-closed$/.test(n)
- });
- var Sl = [0, 2 / 3, 1 / 3, 0], kl = [0, 1 / 3, 2 / 3, 0], El = [0, 1 / 6, 2 / 3, 1 / 6];
- Bo.svg.line.radial = function () {
- var n = ao(No);
- return n.radius = n.x, delete n.x, n.angle = n.y, delete n.y, n
- }, fo.reverse = ho, ho.reverse = fo, Bo.svg.area = function () {
- return zo(Et)
- }, Bo.svg.area.radial = function () {
- var n = zo(No);
- return n.radius = n.x, delete n.x, n.innerRadius = n.x0, delete n.x0, n.outerRadius = n.x1, delete n.x1, n.angle = n.y, delete n.y, n.startAngle = n.y0, delete n.y0, n.endAngle = n.y1, delete n.y1, n
- }, Bo.svg.chord = function () {
- function n(n, a) {
- var c = t(this, i, n, a), l = t(this, o, n, a);
- return "M" + c.p0 + r(c.r, c.p1, c.a1 - c.a0) + (e(c, l) ? u(c.r, c.p1, c.r, c.p0) : u(c.r, c.p1, l.r, l.p0) + r(l.r, l.p1, l.a1 - l.a0) + u(l.r, l.p1, c.r, c.p0)) + "Z"
- }
-
- function t(n, t, e, r) {
- var u = t.call(n, e, r), i = a.call(n, u, r), o = c.call(n, u, r) + _l, s = l.call(n, u, r) + _l;
- return {r: i, a0: o, a1: s, p0: [i * Math.cos(o), i * Math.sin(o)], p1: [i * Math.cos(s), i * Math.sin(s)]}
- }
-
- function e(n, t) {
- return n.a0 == t.a0 && n.a1 == t.a1
- }
-
- function r(n, t, e) {
- return "A" + n + "," + n + " 0 " + +(e > Ea) + ",1 " + t
- }
-
- function u(n, t, e, r) {
- return "Q 0,0 " + r
- }
-
- var i = mr, o = yr, a = Lo, c = io, l = oo;
- return n.radius = function (t) {
- return arguments.length ? (a = kt(t), n) : a
- }, n.source = function (t) {
- return arguments.length ? (i = kt(t), n) : i
- }, n.target = function (t) {
- return arguments.length ? (o = kt(t), n) : o
- }, n.startAngle = function (t) {
- return arguments.length ? (c = kt(t), n) : c
- }, n.endAngle = function (t) {
- return arguments.length ? (l = kt(t), n) : l
- }, n
- }, Bo.svg.diagonal = function () {
- function n(n, u) {
- var i = t.call(this, n, u), o = e.call(this, n, u), a = (i.y + o.y) / 2, c = [i, {x: i.x, y: a}, {
- x: o.x,
- y: a
- }, o];
- return c = c.map(r), "M" + c[0] + "C" + c[1] + " " + c[2] + " " + c[3]
- }
-
- var t = mr, e = yr, r = To;
- return n.source = function (e) {
- return arguments.length ? (t = kt(e), n) : t
- }, n.target = function (t) {
- return arguments.length ? (e = kt(t), n) : e
- }, n.projection = function (t) {
- return arguments.length ? (r = t, n) : r
- }, n
- }, Bo.svg.diagonal.radial = function () {
- var n = Bo.svg.diagonal(), t = To, e = n.projection;
- return n.projection = function (n) {
- return arguments.length ? e(qo(t = n)) : t
- }, n
- }, Bo.svg.symbol = function () {
- function n(n, r) {
- return (Al.get(t.call(this, n, r)) || Po)(e.call(this, n, r))
- }
-
- var t = Do, e = Ro;
- return n.type = function (e) {
- return arguments.length ? (t = kt(e), n) : t
- }, n.size = function (t) {
- return arguments.length ? (e = kt(t), n) : e
- }, n
- };
- var Al = Bo.map({
- circle: Po, cross: function (n) {
- var t = Math.sqrt(n / 5) / 2;
- return "M" + -3 * t + "," + -t + "H" + -t + "V" + -3 * t + "H" + t + "V" + -t + "H" + 3 * t + "V" + t + "H" + t + "V" + 3 * t + "H" + -t + "V" + t + "H" + -3 * t + "Z"
- }, diamond: function (n) {
- var t = Math.sqrt(n / (2 * Ll)), e = t * Ll;
- return "M0," + -t + "L" + e + ",0" + " 0," + t + " " + -e + ",0" + "Z"
- }, square: function (n) {
- var t = Math.sqrt(n) / 2;
- return "M" + -t + "," + -t + "L" + t + "," + -t + " " + t + "," + t + " " + -t + "," + t + "Z"
- }, "triangle-down": function (n) {
- var t = Math.sqrt(n / zl), e = t * zl / 2;
- return "M0," + e + "L" + t + "," + -e + " " + -t + "," + -e + "Z"
- }, "triangle-up": function (n) {
- var t = Math.sqrt(n / zl), e = t * zl / 2;
- return "M0," + -e + "L" + t + "," + e + " " + -t + "," + e + "Z"
- }
- });
- Bo.svg.symbolTypes = Al.keys();
- var Cl, Nl, zl = Math.sqrt(3), Ll = Math.tan(30 * La), Tl = [], ql = 0;
- Tl.call = ya.call, Tl.empty = ya.empty, Tl.node = ya.node, Tl.size = ya.size, Bo.transition = function (n) {
- return arguments.length ? Cl ? n.transition() : n : _a.transition()
- }, Bo.transition.prototype = Tl, Tl.select = function (n) {
- var t, e, r, u = this.id, i = [];
- n = k(n);
- for (var o = -1, a = this.length; ++o < a;) {
- i.push(t = []);
- for (var c = this[o], l = -1, s = c.length; ++l < s;)(r = c[l]) && (e = n.call(r, r.__data__, l, o)) ? ("__data__"in r && (e.__data__ = r.__data__), Ho(e, l, u, r.__transition__[u]), t.push(e)) : t.push(null)
- }
- return Uo(i, u)
- }, Tl.selectAll = function (n) {
- var t, e, r, u, i, o = this.id, a = [];
- n = E(n);
- for (var c = -1, l = this.length; ++c < l;)for (var s = this[c], f = -1, h = s.length; ++f < h;)if (r = s[f]) {
- i = r.__transition__[o], e = n.call(r, r.__data__, f, c), a.push(t = []);
- for (var g = -1, p = e.length; ++g < p;)(u = e[g]) && Ho(u, g, o, i), t.push(u)
- }
- return Uo(a, o)
- }, Tl.filter = function (n) {
- var t, e, r, u = [];
- "function" != typeof n && (n = U(n));
- for (var i = 0, o = this.length; o > i; i++) {
- u.push(t = []);
- for (var e = this[i], a = 0, c = e.length; c > a; a++)(r = e[a]) && n.call(r, r.__data__, a, i) && t.push(r)
- }
- return Uo(u, this.id)
- }, Tl.tween = function (n, t) {
- var e = this.id;
- return arguments.length < 2 ? this.node().__transition__[e].tween.get(n) : F(this, null == t ? function (t) {
- t.__transition__[e].tween.remove(n)
- } : function (r) {
- r.__transition__[e].tween.set(n, t)
- })
- }, Tl.attr = function (n, t) {
- function e() {
- this.removeAttribute(a)
- }
-
- function r() {
- this.removeAttributeNS(a.space, a.local)
- }
-
- function u(n) {
- return null == n ? e : (n += "", function () {
- var t, e = this.getAttribute(a);
- return e !== n && (t = o(e, n), function (n) {
- this.setAttribute(a, t(n))
- })
- })
- }
-
- function i(n) {
- return null == n ? r : (n += "", function () {
- var t, e = this.getAttributeNS(a.space, a.local);
- return e !== n && (t = o(e, n), function (n) {
- this.setAttributeNS(a.space, a.local, t(n))
- })
- })
- }
-
- if (arguments.length < 2) {
- for (t in n)this.attr(t, n[t]);
- return this
- }
- var o = "transform" == n ? Fu : du, a = Bo.ns.qualify(n);
- return jo(this, "attr." + n, t, a.local ? i : u)
- }, Tl.attrTween = function (n, t) {
- function e(n, e) {
- var r = t.call(this, n, e, this.getAttribute(u));
- return r && function (n) {
- this.setAttribute(u, r(n))
- }
- }
-
- function r(n, e) {
- var r = t.call(this, n, e, this.getAttributeNS(u.space, u.local));
- return r && function (n) {
- this.setAttributeNS(u.space, u.local, r(n))
- }
- }
-
- var u = Bo.ns.qualify(n);
- return this.tween("attr." + n, u.local ? r : e)
- }, Tl.style = function (n, t, e) {
- function r() {
- this.style.removeProperty(n)
- }
-
- function u(t) {
- return null == t ? r : (t += "", function () {
- var r, u = Qo.getComputedStyle(this, null).getPropertyValue(n);
- return u !== t && (r = du(u, t), function (t) {
- this.style.setProperty(n, r(t), e)
- })
- })
- }
-
- var i = arguments.length;
- if (3 > i) {
- if ("string" != typeof n) {
- 2 > i && (t = "");
- for (e in n)this.style(e, n[e], t);
- return this
- }
- e = ""
- }
- return jo(this, "style." + n, t, u)
- }, Tl.styleTween = function (n, t, e) {
- function r(r, u) {
- var i = t.call(this, r, u, Qo.getComputedStyle(this, null).getPropertyValue(n));
- return i && function (t) {
- this.style.setProperty(n, i(t), e)
- }
- }
-
- return arguments.length < 3 && (e = ""), this.tween("style." + n, r)
- }, Tl.text = function (n) {
- return jo(this, "text", n, Fo)
- }, Tl.remove = function () {
- return this.each("end.transition", function () {
- var n;
- this.__transition__.count < 2 && (n = this.parentNode) && n.removeChild(this)
- })
- }, Tl.ease = function (n) {
- var t = this.id;
- return arguments.length < 1 ? this.node().__transition__[t].ease : ("function" != typeof n && (n = Bo.ease.apply(Bo, arguments)), F(this, function (e) {
- e.__transition__[t].ease = n
- }))
- }, Tl.delay = function (n) {
- var t = this.id;
- return arguments.length < 1 ? this.node().__transition__[t].delay : F(this, "function" == typeof n ? function (e, r, u) {
- e.__transition__[t].delay = +n.call(e, e.__data__, r, u)
- } : (n = +n, function (e) {
- e.__transition__[t].delay = n
- }))
- }, Tl.duration = function (n) {
- var t = this.id;
- return arguments.length < 1 ? this.node().__transition__[t].duration : F(this, "function" == typeof n ? function (e, r, u) {
- e.__transition__[t].duration = Math.max(1, n.call(e, e.__data__, r, u))
- } : (n = Math.max(1, n), function (e) {
- e.__transition__[t].duration = n
- }))
- }, Tl.each = function (n, t) {
- var e = this.id;
- if (arguments.length < 2) {
- var r = Nl, u = Cl;
- Cl = e, F(this, function (t, r, u) {
- Nl = t.__transition__[e], n.call(t, t.__data__, r, u)
- }), Nl = r, Cl = u
- } else F(this, function (r) {
- var u = r.__transition__[e];
- (u.event || (u.event = Bo.dispatch("start", "end"))).on(n, t)
- });
- return this
- }, Tl.transition = function () {
- for (var n, t, e, r, u = this.id, i = ++ql, o = [], a = 0, c = this.length; c > a; a++) {
- o.push(n = []);
- for (var t = this[a], l = 0, s = t.length; s > l; l++)(e = t[l]) && (r = Object.create(e.__transition__[u]), r.delay += r.duration, Ho(e, l, i, r)), n.push(e)
- }
- return Uo(o, i)
- }, Bo.svg.axis = function () {
- function n(n) {
- n.each(function () {
- var n, l = Bo.select(this), s = this.__chart__ || e, f = this.__chart__ = e.copy(), h = null == c ? f.ticks ? f.ticks.apply(f, a) : f.domain() : c, g = null == t ? f.tickFormat ? f.tickFormat.apply(f, a) : Et : t, p = l.selectAll(".tick").data(h, f), v = p.enter().insert("g", ".domain").attr("class", "tick").style("opacity", Na), d = Bo.transition(p.exit()).style("opacity", Na).remove(), m = Bo.transition(p.order()).style("opacity", 1), y = Math.max(u, 0) + o, x = Pi(f), M = l.selectAll(".domain").data([0]), _ = (M.enter().append("path").attr("class", "domain"), Bo.transition(M));
- v.append("line"), v.append("text");
- var b, w, S, k, E = v.select("line"), A = m.select("line"), C = p.select("text").text(g), N = v.select("text"), z = m.select("text"), L = "top" === r || "left" === r ? -1 : 1;
- if ("bottom" === r || "top" === r ? (n = Oo, b = "x", S = "y", w = "x2", k = "y2", C.attr("dy", 0 > L ? "0em" : ".71em").style("text-anchor", "middle"), _.attr("d", "M" + x[0] + "," + L * i + "V0H" + x[1] + "V" + L * i)) : (n = Yo, b = "y", S = "x", w = "y2", k = "x2", C.attr("dy", ".32em").style("text-anchor", 0 > L ? "end" : "start"), _.attr("d", "M" + L * i + "," + x[0] + "H0V" + x[1] + "H" + L * i)), E.attr(k, L * u), N.attr(S, L * y), A.attr(w, 0).attr(k, L * u), z.attr(b, 0).attr(S, L * y), f.rangeBand) {
- var T = f, q = T.rangeBand() / 2;
- s = f = function (n) {
- return T(n) + q
- }
- } else s.rangeBand ? s = f : d.call(n, f, s);
- v.call(n, s, f), m.call(n, f, f)
- })
- }
-
- var t, e = Bo.scale.linear(), r = Rl, u = 6, i = 6, o = 3, a = [10], c = null;
- return n.scale = function (t) {
- return arguments.length ? (e = t, n) : e
- }, n.orient = function (t) {
- return arguments.length ? (r = t in Dl ? t + "" : Rl, n) : r
- }, n.ticks = function () {
- return arguments.length ? (a = arguments, n) : a
- }, n.tickValues = function (t) {
- return arguments.length ? (c = t, n) : c
- }, n.tickFormat = function (e) {
- return arguments.length ? (t = e, n) : t
- }, n.tickSize = function (t) {
- var e = arguments.length;
- return e ? (u = +t, i = +arguments[e - 1], n) : u
- }, n.innerTickSize = function (t) {
- return arguments.length ? (u = +t, n) : u
- }, n.outerTickSize = function (t) {
- return arguments.length ? (i = +t, n) : i
- }, n.tickPadding = function (t) {
- return arguments.length ? (o = +t, n) : o
- }, n.tickSubdivide = function () {
- return arguments.length && n
- }, n
- };
- var Rl = "bottom", Dl = {top: 1, right: 1, bottom: 1, left: 1};
- Bo.svg.brush = function () {
- function n(i) {
- i.each(function () {
- var i = Bo.select(this).style("pointer-events", "all").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)").on("mousedown.brush", u).on("touchstart.brush", u), o = i.selectAll(".background").data([0]);
- o.enter().append("rect").attr("class", "background").style("visibility", "hidden").style("cursor", "crosshair"), i.selectAll(".extent").data([0]).enter().append("rect").attr("class", "extent").style("cursor", "move");
- var a = i.selectAll(".resize").data(p, Et);
- a.exit().remove(), a.enter().append("g").attr("class", function (n) {
- return "resize " + n
- }).style("cursor", function (n) {
- return Pl[n]
- }).append("rect").attr("x", function (n) {
- return /[ew]$/.test(n) ? -3 : null
- }).attr("y", function (n) {
- return /^[ns]/.test(n) ? -3 : null
- }).attr("width", 6).attr("height", 6).style("visibility", "hidden"), a.style("display", n.empty() ? "none" : null);
- var s, f = Bo.transition(i), h = Bo.transition(o);
- c && (s = Pi(c), h.attr("x", s[0]).attr("width", s[1] - s[0]), e(f)), l && (s = Pi(l), h.attr("y", s[0]).attr("height", s[1] - s[0]), r(f)), t(f)
- })
- }
-
- function t(n) {
- n.selectAll(".resize").attr("transform", function (n) {
- return "translate(" + s[+/e$/.test(n)] + "," + f[+/^s/.test(n)] + ")"
- })
- }
-
- function e(n) {
- n.select(".extent").attr("x", s[0]), n.selectAll(".extent,.n>rect,.s>rect").attr("width", s[1] - s[0])
- }
-
- function r(n) {
- n.select(".extent").attr("y", f[0]), n.selectAll(".extent,.e>rect,.w>rect").attr("height", f[1] - f[0])
- }
-
- function u() {
- function u() {
- 32 == Bo.event.keyCode && (C || (y = null, z[0] -= s[1], z[1] -= f[1], C = 2), _())
- }
-
- function p() {
- 32 == Bo.event.keyCode && 2 == C && (z[0] += s[1], z[1] += f[1], C = 0, _())
- }
-
- function v() {
- var n = Bo.mouse(M), u = !1;
- x && (n[0] += x[0], n[1] += x[1]), C || (Bo.event.altKey ? (y || (y = [(s[0] + s[1]) / 2, (f[0] + f[1]) / 2]), z[0] = s[+(n[0] < y[0])], z[1] = f[+(n[1] < y[1])]) : y = null), E && d(n, c, 0) && (e(S), u = !0), A && d(n, l, 1) && (r(S), u = !0), u && (t(S), w({
- type: "brush",
- mode: C ? "move" : "resize"
- }))
- }
-
- function d(n, t, e) {
- var r, u, a = Pi(t), c = a[0], l = a[1], p = z[e], v = e ? f : s, d = v[1] - v[0];
- return C && (c -= p, l -= d + p), r = (e ? g : h) ? Math.max(c, Math.min(l, n[e])) : n[e], C ? u = (r += p) + d : (y && (p = Math.max(c, Math.min(l, 2 * y[e] - r))), r > p ? (u = r, r = p) : u = p), v[0] != r || v[1] != u ? (e ? o = null : i = null, v[0] = r, v[1] = u, !0) : void 0
- }
-
- function m() {
- v(), S.style("pointer-events", "all").selectAll(".resize").style("display", n.empty() ? "none" : null), Bo.select("body").style("cursor", null), L.on("mousemove.brush", null).on("mouseup.brush", null).on("touchmove.brush", null).on("touchend.brush", null).on("keydown.brush", null).on("keyup.brush", null), N(), w({type: "brushend"})
- }
-
- var y, x, M = this, b = Bo.select(Bo.event.target), w = a.of(M, arguments), S = Bo.select(M), k = b.datum(), E = !/^(n|s)$/.test(k) && c, A = !/^(e|w)$/.test(k) && l, C = b.classed("extent"), N = X(), z = Bo.mouse(M), L = Bo.select(Qo).on("keydown.brush", u).on("keyup.brush", p);
- if (Bo.event.changedTouches ? L.on("touchmove.brush", v).on("touchend.brush", m) : L.on("mousemove.brush", v).on("mouseup.brush", m), S.interrupt().selectAll("*").interrupt(), C)z[0] = s[0] - z[0], z[1] = f[0] - z[1]; else if (k) {
- var T = +/w$/.test(k), q = +/^n/.test(k);
- x = [s[1 - T] - z[0], f[1 - q] - z[1]], z[0] = s[T], z[1] = f[q]
- } else Bo.event.altKey && (y = z.slice());
- S.style("pointer-events", "none").selectAll(".resize").style("display", null), Bo.select("body").style("cursor", b.style("cursor")), w({type: "brushstart"}), v()
- }
-
- var i, o, a = w(n, "brushstart", "brush", "brushend"), c = null, l = null, s = [0, 0], f = [0, 0], h = !0, g = !0, p = Ul[0];
- return n.event = function (n) {
- n.each(function () {
- var n = a.of(this, arguments), t = {x: s, y: f, i: i, j: o}, e = this.__chart__ || t;
- this.__chart__ = t, Cl ? Bo.select(this).transition().each("start.brush", function () {
- i = e.i, o = e.j, s = e.x, f = e.y, n({type: "brushstart"})
- }).tween("brush:brush", function () {
- var e = mu(s, t.x), r = mu(f, t.y);
- return i = o = null, function (u) {
- s = t.x = e(u), f = t.y = r(u), n({type: "brush", mode: "resize"})
- }
- }).each("end.brush", function () {
- i = t.i, o = t.j, n({type: "brush", mode: "resize"}), n({type: "brushend"})
- }) : (n({type: "brushstart"}), n({type: "brush", mode: "resize"}), n({type: "brushend"}))
- })
- }, n.x = function (t) {
- return arguments.length ? (c = t, p = Ul[!c << 1 | !l], n) : c
- }, n.y = function (t) {
- return arguments.length ? (l = t, p = Ul[!c << 1 | !l], n) : l
- }, n.clamp = function (t) {
- return arguments.length ? (c && l ? (h = !!t[0], g = !!t[1]) : c ? h = !!t : l && (g = !!t), n) : c && l ? [h, g] : c ? h : l ? g : null
- }, n.extent = function (t) {
- var e, r, u, a, h;
- return arguments.length ? (c && (e = t[0], r = t[1], l && (e = e[0], r = r[0]), i = [e, r], c.invert && (e = c(e), r = c(r)), e > r && (h = e, e = r, r = h), (e != s[0] || r != s[1]) && (s = [e, r])), l && (u = t[0], a = t[1], c && (u = u[1], a = a[1]), o = [u, a], l.invert && (u = l(u), a = l(a)), u > a && (h = u, u = a, a = h), (u != f[0] || a != f[1]) && (f = [u, a])), n) : (c && (i ? (e = i[0], r = i[1]) : (e = s[0], r = s[1], c.invert && (e = c.invert(e), r = c.invert(r)), e > r && (h = e, e = r, r = h))), l && (o ? (u = o[0], a = o[1]) : (u = f[0], a = f[1], l.invert && (u = l.invert(u), a = l.invert(a)), u > a && (h = u, u = a, a = h))), c && l ? [[e, u], [r, a]] : c ? [e, r] : l && [u, a])
- }, n.clear = function () {
- return n.empty() || (s = [0, 0], f = [0, 0], i = o = null), n
- }, n.empty = function () {
- return !!c && s[0] == s[1] || !!l && f[0] == f[1]
- }, Bo.rebind(n, a, "on")
- };
- var Pl = {
- n: "ns-resize",
- e: "ew-resize",
- s: "ns-resize",
- w: "ew-resize",
- nw: "nwse-resize",
- ne: "nesw-resize",
- se: "nwse-resize",
- sw: "nesw-resize"
- }, Ul = [["n", "e", "s", "w", "nw", "ne", "se", "sw"], ["e", "w"], ["n", "s"], []], jl = rc.format = lc.timeFormat, Fl = jl.utc, Hl = Fl("%Y-%m-%dT%H:%M:%S.%LZ");
- jl.iso = Date.prototype.toISOString && +new Date("2000-01-01T00:00:00.000Z") ? Io : Hl, Io.parse = function (n) {
- var t = new Date(n);
- return isNaN(t) ? null : t
- }, Io.toString = Hl.toString, rc.second = Ft(function (n) {
- return new uc(1e3 * Math.floor(n / 1e3))
- }, function (n, t) {
- n.setTime(n.getTime() + 1e3 * Math.floor(t))
- }, function (n) {
- return n.getSeconds()
- }), rc.seconds = rc.second.range, rc.seconds.utc = rc.second.utc.range, rc.minute = Ft(function (n) {
- return new uc(6e4 * Math.floor(n / 6e4))
- }, function (n, t) {
- n.setTime(n.getTime() + 6e4 * Math.floor(t))
- }, function (n) {
- return n.getMinutes()
- }), rc.minutes = rc.minute.range, rc.minutes.utc = rc.minute.utc.range, rc.hour = Ft(function (n) {
- var t = n.getTimezoneOffset() / 60;
- return new uc(36e5 * (Math.floor(n / 36e5 - t) + t))
- }, function (n, t) {
- n.setTime(n.getTime() + 36e5 * Math.floor(t))
- }, function (n) {
- return n.getHours()
- }), rc.hours = rc.hour.range, rc.hours.utc = rc.hour.utc.range, rc.month = Ft(function (n) {
- return n = rc.day(n), n.setDate(1), n
- }, function (n, t) {
- n.setMonth(n.getMonth() + t)
- }, function (n) {
- return n.getMonth()
- }), rc.months = rc.month.range, rc.months.utc = rc.month.utc.range;
- var Ol = [1e3, 5e3, 15e3, 3e4, 6e4, 3e5, 9e5, 18e5, 36e5, 108e5, 216e5, 432e5, 864e5, 1728e5, 6048e5, 2592e6, 7776e6, 31536e6], Yl = [[rc.second, 1], [rc.second, 5], [rc.second, 15], [rc.second, 30], [rc.minute, 1], [rc.minute, 5], [rc.minute, 15], [rc.minute, 30], [rc.hour, 1], [rc.hour, 3], [rc.hour, 6], [rc.hour, 12], [rc.day, 1], [rc.day, 2], [rc.week, 1], [rc.month, 1], [rc.month, 3], [rc.year, 1]], Il = jl.multi([[".%L", function (n) {
- return n.getMilliseconds()
- }], [":%S", function (n) {
- return n.getSeconds()
- }], ["%I:%M", function (n) {
- return n.getMinutes()
- }], ["%I %p", function (n) {
- return n.getHours()
- }], ["%a %d", function (n) {
- return n.getDay() && 1 != n.getDate()
- }], ["%b %d", function (n) {
- return 1 != n.getDate()
- }], ["%B", function (n) {
- return n.getMonth()
- }], ["%Y", Ae]]), Zl = {
- range: function (n, t, e) {
- return Bo.range(Math.ceil(n / e) * e, +t, e).map(Vo)
- }, floor: Et, ceil: Et
- };
- Yl.year = rc.year, rc.scale = function () {
- return Zo(Bo.scale.linear(), Yl, Il)
- };
- var Vl = Yl.map(function (n) {
- return [n[0].utc, n[1]]
- }), Xl = Fl.multi([[".%L", function (n) {
- return n.getUTCMilliseconds()
- }], [":%S", function (n) {
- return n.getUTCSeconds()
- }], ["%I:%M", function (n) {
- return n.getUTCMinutes()
- }], ["%I %p", function (n) {
- return n.getUTCHours()
- }], ["%a %d", function (n) {
- return n.getUTCDay() && 1 != n.getUTCDate()
- }], ["%b %d", function (n) {
- return 1 != n.getUTCDate()
- }], ["%B", function (n) {
- return n.getUTCMonth()
- }], ["%Y", Ae]]);
- Vl.year = rc.year.utc, rc.scale.utc = function () {
- return Zo(Bo.scale.linear(), Vl, Xl)
- }, Bo.text = At(function (n) {
- return n.responseText
- }), Bo.json = function (n, t) {
- return Ct(n, "application/json", Xo, t)
- }, Bo.html = function (n, t) {
- return Ct(n, "text/html", $o, t)
- }, Bo.xml = At(function (n) {
- return n.responseXML
- }), "function" == typeof define && define.amd ? define(Bo) : "object" == typeof module && module.exports && (module.exports = Bo), this.d3 = Bo
-}(); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/facebox.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/facebox.js
deleted file mode 100644
index fa5c8466..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/facebox.js
+++ /dev/null
@@ -1,382 +0,0 @@
-/*
- * Facebox (for jQuery)
- * version: 1.3
- * @requires jQuery v1.2 or later
- * @homepage https://github.com/defunkt/facebox
- *
- * Licensed under the MIT:
- * http://www.opensource.org/licenses/mit-license.php
- *
- * Copyright Forever Chris Wanstrath, Kyle Neath
- *
- * Usage:
- *
- * jQuery(document).ready(function() {
- * jQuery('a[rel*=facebox]').facebox()
- * })
- *
- * <a href="#terms" rel="facebox">Terms</a>
- * Loads the #terms div in the box
- *
- * <a href="terms.html" rel="facebox">Terms</a>
- * Loads the terms.html page in the box
- *
- * <a href="terms.png" rel="facebox">Terms</a>
- * Loads the terms.png image in the box
- *
- *
- * You can also use it programmatically:
- *
- * jQuery.facebox('some html')
- * jQuery.facebox('some html', 'my-groovy-style')
- *
- * The above will open a facebox with "some html" as the content.
- *
- * jQuery.facebox(function($) {
- * $.get('blah.html', function(data) { $.facebox(data) })
- * })
- *
- * The above will show a loading screen before the passed function is called,
- * allowing for a better ajaxy experience.
- *
- * The facebox function can also display an ajax page, an image, or the contents of a div:
- *
- * jQuery.facebox({ ajax: 'remote.html' })
- * jQuery.facebox({ ajax: 'remote.html' }, 'my-groovy-style')
- * jQuery.facebox({ image: 'stairs.jpg' })
- * jQuery.facebox({ image: 'stairs.jpg' }, 'my-groovy-style')
- * jQuery.facebox({ div: '#box' })
- * jQuery.facebox({ div: '#box' }, 'my-groovy-style')
- *
- * Want to close the facebox? Trigger the 'close.facebox' document event:
- *
- * jQuery(document).trigger('close.facebox')
- *
- * Facebox also has a bunch of other hooks:
- *
- * loading.facebox
- * beforeReveal.facebox
- * reveal.facebox (aliased as 'afterReveal.facebox')
- * init.facebox
- * afterClose.facebox
- *
- * Simply bind a function to any of these hooks:
- *
- * $(document).bind('reveal.facebox', function() { ...stuff to do after the facebox and contents are revealed... })
- *
- */
-(function ($) {
- /*
- function cloneCanvas(oldCanvas) {
-
- //create a new canvas
- var newCanvas = document.createElement('canvas');
- var context = newCanvas.getContext('2d');
-
- //set dimensions
- newCanvas.width = oldCanvas.width;
- newCanvas.height = oldCanvas.height;
-
- //apply the old canvas to the new one
- context.drawImage(oldCanvas, 0, 0);
-
- //return the new canvas
- return newCanvas;
- }
- */
- $.facebox = function (data, klass) {
- $.facebox.loading(data.settings || [])
-
- if (data.ajax) fillFaceboxFromAjax(data.ajax, klass)
- else if (data.image) fillFaceboxFromImage(data.image, klass)
- else if (data.div) fillFaceboxFromHref(data.div, klass)
- else if ($.isFunction(data)) data.call($)
- else $.facebox.reveal(data, klass)
- }
-
- /*
- * Public, $.facebox methods
- */
-
- $.extend($.facebox, {
- settings: {
- opacity: 0.2,
- overlay: true,
- loadingImage: '/facebox/loading.gif',
- closeImage: '/facebox/closelabel.png',
- imageTypes: ['png', 'jpg', 'jpeg', 'gif'],
- faceboxHtml: '\
- <div id="facebox" style="display:none;"> \
- <div class="popup"> \
- <div class="content"> \
- </div> \
- <a href="#" class="close"></a> \
- </div> \
- </div>'
- },
-
- loading: function () {
- init()
- if ($('#facebox .loading').length == 1) return true
- showOverlay()
-
- $('#facebox .content').empty().
- append('<div class="loading"><img src="' + $.facebox.settings.loadingImage + '"/></div>')
-
- $('#facebox').show().css({
- top: getPageScroll()[1] + (getPageHeight() / 10),
- left: $(window).width() / 2 - ($('#facebox .popup').outerWidth() / 2)
- })
-
- $(document).bind('keydown.facebox', function (e) {
- if (e.keyCode == 27) $.facebox.close()
- return true
- })
- $(document).trigger('loading.facebox')
- },
-
- flotPlaceholderId: "",
- //flotRedrawCallbackId: "",
- flotRedrawCallback: {},
- flotRedrawCallbackObjs: {},
- intervals: {},
- charts: {},
-
- isExpand: function (placeholderFlotId) {
- if (placeholderFlotId.indexOf("_expand") >= 0) {
- return true;
- } else {
- return false;
- }
- },
-
- clearContent: function (placeholderId) {
- $('#facebox .content').empty().append('<div id="' + placeholderId + '_expand" class="flot-placeholder-expand">')
- },
-
- createChartExpand: function (callback) {
- $.facebox.clearContent(this.flotPlaceholderId);
- callback(this.flotPlaceholderId + "_expand");
- },
-
- createChartExpandObj: function (callbackObj) {
- $.facebox.clearContent(this.flotPlaceholderId);
- //callback(this.flotPlaceholderId + "_expand");
- var args = callbackObj.arguments;
- if (args.length > 0) {
- args[0] = this.flotPlaceholderId + "_expand";
- callbackObj.callback.apply(null, args);
- }
- },
-
- reveal: function (data, klass) {
- $(document).trigger('beforeReveal.facebox')
- if (klass) $('#facebox .content').addClass(klass)
- //$('#facebox .content').empty().append(data)
- /////////////////////////////////////////////
- //this.createChartExpand(this.flotRedrawCallback[this.flotPlaceholderId]);
- this.createChartExpandObj(this.flotRedrawCallbackObjs[this.flotPlaceholderId]);
- //////////////////////////////////////////////////////////////////////
- $('#facebox .popup').children().fadeIn('normal')
- $('#facebox').css('left', $(window).width() / 2 - ($('#facebox .popup').outerWidth() / 2))
- $(document).trigger('reveal.facebox').trigger('afterReveal.facebox')
- },
-
- close: function () {
- $(document).trigger('close.facebox')
- return false
- }
- })
-
- /*
- * Public, $.fn methods
- */
-
- $.fn.facebox = function (settings) {
- if ($(this).length == 0) return
-
- init(settings)
-
- function clickHandler() {
- $.facebox.loading(true)
-
- // support for rel="facebox.inline_popup" syntax, to add a class
- // also supports deprecated "facebox[.inline_popup]" syntax
- var klass = this.rel.match(/facebox\[?\.(\w+)\]?/)
- if (klass) klass = klass[1]
-
- fillFaceboxFromHref(this.href, klass)
- return false
- }
-
- return this.bind('click.facebox', clickHandler)
- }
-
- /*
- * Private methods
- */
-
- // called one time to setup facebox on this page
- function init(settings) {
- if ($.facebox.settings.inited) return true
- else $.facebox.settings.inited = true
-
- $(document).trigger('init.facebox')
- makeCompatible()
-
- var imageTypes = $.facebox.settings.imageTypes.join('|')
- $.facebox.settings.imageTypesRegexp = new RegExp('\\.(' + imageTypes + ')(\\?.*)?$', 'i')
-
- if (settings) $.extend($.facebox.settings, settings)
- $('body').append($.facebox.settings.faceboxHtml)
-
- var preload = [new Image(), new Image()]
- preload[0].src = $.facebox.settings.closeImage
- preload[1].src = $.facebox.settings.loadingImage
-
- $('#facebox').find('.b:first, .bl').each(function () {
- preload.push(new Image())
- preload.slice(-1).src = $(this).css('background-image').replace(/url\((.+)\)/, '$1')
- })
-
- $('#facebox .close')
- .click($.facebox.close)
- .append('<img src="'
- + $.facebox.settings.closeImage
- + '" class="close_image" title="close">')
-
- //$('#facebox .content').addClass('contentWide')
- }
-
- // getPageScroll() by quirksmode.com
- function getPageScroll() {
- var xScroll, yScroll;
- if (self.pageYOffset) {
- yScroll = self.pageYOffset;
- xScroll = self.pageXOffset;
- } else if (document.documentElement && document.documentElement.scrollTop) { // Explorer 6 Strict
- yScroll = document.documentElement.scrollTop;
- xScroll = document.documentElement.scrollLeft;
- } else if (document.body) {// all other Explorers
- yScroll = document.body.scrollTop;
- xScroll = document.body.scrollLeft;
- }
- return new Array(xScroll, yScroll)
- }
-
- // Adapted from getPageSize() by quirksmode.com
- function getPageHeight() {
- var windowHeight
- if (self.innerHeight) { // all except Explorer
- windowHeight = self.innerHeight;
- } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
- windowHeight = document.documentElement.clientHeight;
- } else if (document.body) { // other Explorers
- windowHeight = document.body.clientHeight;
- }
- return windowHeight
- }
-
- // Backwards compatibility
- function makeCompatible() {
- var $s = $.facebox.settings
-
- $s.loadingImage = $s.loading_image || $s.loadingImage
- $s.closeImage = $s.close_image || $s.closeImage
- $s.imageTypes = $s.image_types || $s.imageTypes
- $s.faceboxHtml = $s.facebox_html || $s.faceboxHtml
- }
-
- // Figures out what you want to display and displays it
- // formats are:
- // div: #id
- // image: blah.extension
- // ajax: anything else
- function fillFaceboxFromHref(href, klass) {
- // div
- if (href.match(/#/)) {
- var url = window.location.href.split('#')[0]
- var target = href.replace(url, '')
- if (target == '#') return
- //选择需要放大的图
- $.facebox.flotPlaceholderId = $(target).attr("flot_id");
- //$.facebox.flotRedrawCallbackId = $(target).attr("callback_id");
- if ($(target).hasClass("flot-placeholder-wrapper-portlet-wide")) {
- $('#facebox .content').addClass('contentWide');
- }
-
- $.facebox.reveal($(target).html(), klass)
-
- // image
- } else if (href.match($.facebox.settings.imageTypesRegexp)) {
- fillFaceboxFromImage(href, klass)
- // ajax
- } else {
- fillFaceboxFromAjax(href, klass)
- }
- }
-
- function fillFaceboxFromImage(href, klass) {
- var image = new Image()
- image.onload = function () {
- $.facebox.reveal('<div class="image"><img src="' + image.src + '" /></div>', klass)
- }
- image.src = href
- }
-
- function fillFaceboxFromAjax(href, klass) {
- $.facebox.jqxhr = $.get(href, function (data) {
- $.facebox.reveal(data, klass)
- })
- }
-
- function skipOverlay() {
- return $.facebox.settings.overlay == false || $.facebox.settings.opacity === null
- }
-
- function showOverlay() {
- if (skipOverlay()) return
-
- if ($('#facebox_overlay').length == 0)
- $("body").append('<div id="facebox_overlay" class="facebox_hide"></div>')
-
- $('#facebox_overlay').hide().addClass("facebox_overlayBG")
- .css('opacity', $.facebox.settings.opacity)
- .click(function () {
- $(document).trigger('close.facebox')
- })
- .fadeIn(200)
- return false
- }
-
- function hideOverlay() {
- if (skipOverlay()) return
-
- $('#facebox_overlay').fadeOut(200, function () {
- $("#facebox_overlay").removeClass("facebox_overlayBG")
- $("#facebox_overlay").addClass("facebox_hide")
- $("#facebox_overlay").remove()
- })
-
- return false
- }
-
- /*
- * Bindings
- */
-
- $(document).bind('close.facebox', function () {
- if ($.facebox.jqxhr) {
- $.facebox.jqxhr.abort()
- $.facebox.jqxhr = null
- }
- $(document).unbind('keydown.facebox')
- $('#facebox').fadeOut(function () {
- $('#facebox .content').removeClass().addClass('content')
- $('#facebox .loading').remove()
- $(document).trigger('afterClose.facebox')
- })
- hideOverlay()
- })
-
-})(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/portlet-draggable-jq.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/portlet-draggable-jq.js
deleted file mode 100644
index b114d899..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/assets/js/portlet-draggable-jq.js
+++ /dev/null
@@ -1,65 +0,0 @@
-var PortletDraggable = function () {
-
- return {
- //main function to initiate the module
- init: function () {
-
- if (!jQuery().sortable) {
- return;
- }
-
- $(".column").sortable({
- connectWith: ".column",
- items: ".portlet",
- opacity: 0.8,
- forceHelperSize: true,
- placeholder: 'portlet-sortable-placeholder',
- forcePlaceholderSize: true,
- tolerance: "pointer",
- helper: "clone",
- /* tolerance: "pointer",
- forcePlaceholderSize: !0,
- helper: "clone", */
- cancel: ".portlet-sortable-empty, .portlet-fullscreen", // cancel dragging if portlet is in fullscreen mode
- revert: 250, // animation in milliseconds
- update: function (b, c) {
- if (c.item.prev().hasClass("portlet-sortable-empty")) {
- c.item.prev().before(c.item);
- }
- //换位置后重绘图例
- var portlet = $(c.item);
- /* var placeHolderId = $("a > div", portlet).attr("flot_id");
- if(placeHolderId){
- var itemCallbackObj = $.facebox.flotRedrawCallbackObjs[placeHolderId];
- var args = itemCallbackObj.arguments;
- $.facebox.isDragged = true;
- var placeHolder = $("div[id=" + placeHolderId + "]");
- if($(placeHolder).length > 0){
- $(placeHolder).empty();
- //eChart的情况需要去掉_echarts_instance_属性才能重绘
- if($(placeHolder).attr("_echarts_instance_")){
- $(placeHolder).removeAttr("_echarts_instance_");
- }
- if(itemCallbackObj.callback && args.length > 0){
- args[0] = placeHolderId;
- itemCallbackObj.callback.apply(null, args);
- }
- }
- $.facebox.isDragged = false;
- } */
- //刷新图例大小
- var charts = $.facebox.charts;
- for (var chart in charts) {
- charts[chart].resize();
- }
- //调整放大后的宽度
- if ($(portlet).parent().hasClass("col-md-6")) {
- $("a > div", portlet).addClass("flot-placeholder-wrapper-portlet-wide");
- } else {
- $("a > div", portlet).removeClass("flot-placeholder-wrapper-portlet-wide");
- }
- }
- });
- }
- };
-}(); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/c3Chart.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/c3Chart.js
deleted file mode 100644
index 5a3326dc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/c3Chart.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- graphApp = angular.module('graphApp', []);
-
- graphApp.controller('GraphCtrl', function ($scope) {
- $scope.chart = null;
- $scope.config={};
- $scope.config.data1="30, 200, 100, 200, 150, 250";
- $scope.config.data2="70, 30, 10, 240, 150, 125";
-
- $scope.typeOptions=["line","bar","spline","step","area","area-step","area-spline"];
-
- $scope.config.type1=$scope.typeOptions[0];
- $scope.config.type2=$scope.typeOptions[1];
-
- $scope.showGraph = function() {
- var config = {};
- config.bindto = '#placeholderC3';
- config.data = {};
- config.data.json = {};
- config.data.json.data1 = $scope.config.data1.split(",");
- config.data.json.data2 = $scope.config.data2.split(",");
- config.axis = {"y":{"label":{"text":"Number of items","position":"outer-middle"}}};
- config.data.types={"data1":$scope.config.type1,"data2":$scope.config.type2};
- $scope.chart = c3.generate(config);
- }
-
- $scope.changeColor = function() {
- d3.selectAll('path.c3-bar').style("fill", "red");
- }
- });
- */
-
-var c3ChartDemo = function (placeholderC3, type) {
- var $scopeX = {};
- $scopeX.chart = null;
- $scopeX.config = {};
- $scopeX.config.data1 = "30, 200, 100, 200, 150, 250";
- $scopeX.config.data2 = "70, 30, 10, 240, 150, 125";
-
- $scopeX.typeOptions = ["line", "bar", "spline", "step", "area", "area-step", "area-spline"];
-
- $scopeX.config.type1 = $scopeX.typeOptions[0];
- $scopeX.config.type2 = $scopeX.typeOptions[1];
- var config = {};
- config.bindto = '#' + placeholderC3;
- config.data = {};
- config.data.json = {};
- config.data.json.data1 = $scopeX.config.data1.split(",");
- config.data.json.data2 = $scopeX.config.data2.split(",");
- config.axis = {"y": {"label": {"text": "Number of items", "position": "outer-middle"}}};
- config.data.types = {"data1": $scopeX.config.type1, "data2": $scopeX.config.type2};
- if (type && type == "bar") {
- config.data.types.data1 = $scopeX.config.type2;
- }
- if (type && type == "step") {
- config.data.types.data1 = "step";
- }
- $.facebox.charts[placeholderC3] = c3.generate(config);
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-barchart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-barchart-c3.js
deleted file mode 100644
index 6f332f1b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-barchart-c3.js
+++ /dev/null
@@ -1,29 +0,0 @@
-var AlarmCount_BarChart_C3 = function (placeholdeC3) {
-
- var callbackList = [];
- var callback = function () {
-
- }
- callbackList.push(callback);
-
- $.ajax({
- "dataType": "json",
- "type": "GET",
- "url": "/web/rest/web/fm/count/total",
- "data": null,
- "Content-Type": "",
- "success": function (json, textStatus, jqXHR) {
- var alarmcount = json;
- var inputData = [];
- for (var i = 0; i < alarmcount.ackedCount.length; i++) {
- inputData.push(alarmcount.unAckedCount[i] + alarmcount.ackedCount[i]);
- }
- //for test
- inputData = [50, 10, 20, 40];
- ICT_Bar_Chart_C3(placeholdeC3, inputData, callbackList);
- },
- "error": function () {
- }
- });
-
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-linechart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-linechart-c3.js
deleted file mode 100644
index 2991a8b6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-linechart-c3.js
+++ /dev/null
@@ -1,41 +0,0 @@
-var seriesCount = 3;
-var xMaxLength = 60;
-var colors = ["#d12610", "#37b7f3", "#52e136"];
-
-var ICT_CPU_UsageLine_C3 = function (placeholderC3) {
-
- var c3Line = ICT_Line_C3(placeholderC3);
-
- var data = {};
- var maxNumber = 60;
-
- function randomNumber() {
- return Math.floor((Math.random() * maxNumber) + 1);
- }
-
- if (!$.facebox.isExpand(placeholderC3)) {
- $.facebox.intervals[placeholderC3] = window.setInterval(function () {
-
- //var newSeriesData = {};
- var newSeriesData = [];
-
- $.ajax({
- dataType: "json",
- "type": "GET",
- url: "/web/rest/web/dm/dashboard/selfcpu/queryValues",
- "data": JSON.stringify(data),
- contentType: "application/json; charset=utf-8",
- "success": function (data) {
- //newSeriesData.data1 = data.cpuUseRatios[0];
- //newSeriesData.data2 = randomNumber();
- newSeriesData.push({name: "data1", value: data.cpuUseRatios[0]});
- newSeriesData.push({name: "data2", value: randomNumber()});
- newSeriesData.push({name: "data3", value: randomNumber()});
- c3Line.setC3Data(newSeriesData);
- }
- });
-
- }, 3 * 1000);
- }
-
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/ict-barchart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/ict-barchart-c3.js
deleted file mode 100644
index ee1040ca..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/ict-barchart-c3.js
+++ /dev/null
@@ -1,67 +0,0 @@
-var ICT_Bar_Chart_C3 = function (placeholdeC3, inputData, callbackList) {
-
- var language;
- //取得国际化信息
- $.ajax({
- dataType: "json",
- url: "/web/newict/framework/thirdparty/flotchart/i18n/ict-barchart-flot-" + getLanguage() + ".json",
- async: false,
- contentType: "application/json; charset=utf-8",
- "success": function (data) {
- language = data.language;
- },
- "error": function (xhr, info) {
- alert("Communication Error! Error reason:" + info);
- }
- });
-
- var config = {};
- config.bindto = '#' + placeholdeC3;
- config.data = {};
- config.data.json = {};
- config.data.json["告警"] = inputData;
- config.axis = {"y": {"label": {"text": "Number of Alarms", "position": "outer-middle"}}};
- config.axis.x = {
- type: 'category',
- categories: [language[0].value, language[1].value, language[2].value, language[3].value]
- };
- /* config.axis.y.tick = {
- format: function(data){
- return data + "%";
- }
- }; */
- config.data.types = {};
- config.data.types["告警"] = "bar";
- config.data.color = function (inColor, data) {
- if (data.index !== undefined) {
- return language[data.index].color;
- }
- return inColor;
- },
- config.data.onclick = function (data, element) {
- if (data.index !== undefined) {
- var severity = data.index + 1;
- window.open(
- "/web/res/web-framework/default.html?showNav=false&severity="
- + severity + "#uep-ict-fm-currentAlarm", "fm_portlet_page_title"
- + severity, "");
- }
- },
- //config.data.colors = ['red', 'green', 'blue', 'yellow'];
- config.legend = {
- show: false
- };
- $.facebox.charts[placeholdeC3] = c3.generate(config);
-
- /* if($.facebox.isExpand(placeholdeC3)){
- barChartData = $.facebox.barChartData;
- }else{
- $.facebox.barChartData = barChartData;
- } */
-
- $.each(callbackList, function (index, callback) {
- callback();
- });
-
-}
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/ict-linechart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/ict-linechart-c3.js
deleted file mode 100644
index 5b6d22bc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/ict-linechart-c3.js
+++ /dev/null
@@ -1,81 +0,0 @@
-var ICT_Line_C3 = function (placeholderC3) {
-
- //var dataSeries = [];
- var xkeys = {"x": "x", "value": []};
-
- //��ʼ�����
- var config = {};
- config.bindto = '#' + placeholderC3;
- config.data = {};
- config.data.keys = xkeys;
- config.data.json = [];
- //�Ŵ���ʾ�����ֱ��ȡ��������
- if (($.facebox.isExpand(placeholderC3) || $.facebox.isDragged) && $.facebox.flotRealTimeData) {
- config.data.json = $.facebox.flotRealTimeData;
- config.data.keys = $.facebox.xkeys;
- }
- config.axis = {};
- config.axis.x = {"type": "timeseries", "tick": {"format": "%S"}};
- config.axis.y = {"label": {"text": "Ratio of CPUs", "position": "outer-middle"}};
- config.axis.y.tick = {
- format: function (data) {
- return data + "%";
- }
- };
- config.data.types = {"data1": "line", "data2": "spline"};
- config.data.colors = {
- data1: '#ff0000',
- data2: '#00ff00',
- data3: '#0000ff'
- };
- var c3Chart = c3.generate(config);
- $.facebox.charts[placeholderC3] = c3Chart;
-
- if (!$.facebox.isExpand(placeholderC3)) {
-
- var dataService = function () {
- var data = [];
- var numDataPoints = 60;
-
- this.loadData = function (callback, newSeriesData) {
- if (data.length > numDataPoints) {
- data.shift();
- }
- var newValue = {"x": new Date()};
- for (var i = 0; i < newSeriesData.length; i++) {
- newValue[newSeriesData[i].name] = newSeriesData[i].value;
- }
- //data.push({"x":new Date(),"data1":newSeriesData.data1,"data2":newSeriesData.data2});
- data.push(newValue);
- $.facebox.flotRealTimeData = data;
- $.facebox.xkeys = xkeys;
- callback(data);
- };
- return this;
- }();
-
- return {
-
- setC3Data: function (newSeriesData) {
- var values = [];
- for (var i = 0; i < newSeriesData.length; i++) {
- values.push(newSeriesData[i].name);
- }
- xkeys.value = values;
- //dataSeries = recalculateSeries(dataSeries, newSeriesData);
- dataService.loadData(function (newData) {
- var data = {};
- data.keys = xkeys;
- data.json = newData;
- c3Chart.load(data);
- //c3Chart.resize();
- }, newSeriesData);
-
- //$.facebox.flotRealTimeData = dataSeries;
- }
-
- };
-
- }
-
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/index3.html b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/index3.html
deleted file mode 100644
index 3d076621..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/index3.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!DOCTYPE html>
-<html ng-app="graphApp">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title></title>
- <SCRIPT SRC="debug.js"></SCRIPT>
- <SCRIPT>
- if (typeof(parent.loadJsFromIndex) == "undefined" || !parent.loadJsFromIndex) {
- var jqueryJsPath = "/web/res/web-common/comp/jquery.js";
- document.write("<" + "SCRIPT SRC=" + jqueryJsPath + "><" + "/SCRIPT>");
- var frameworkJsPath = "/web/res/web-framework/js/framework.js";
- document.write("<" + "SCRIPT SRC=" + frameworkJsPath + "><" + "/SCRIPT>");
- }
- </SCRIPT>
- <SCRIPT>
- if (typeof ($userFrameDir) == 'undefined') {
- $userFrameDir = "/web/res/web-common/comp/";
- }
- var toolUrl = $userFrameDir + "tools.js";
- document.write("<" + "SCRIPT SRC=" + toolUrl + "><" + "/SCRIPT>");
- </SCRIPT>
-</head>
-<style>
- body {
- margin: 0;
- padding: 0;
- }
-</style>
-<link rel="stylesheet" href="/web/newict/framework/thirdparty/jquery-ui/jquery-ui-1.10.3.custom.min.css">
-<link href="/web/newict/framework/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
-<link href="/web/newict/framework/thirdparty/dashboard/assets/css/facebox.css" media="screen" rel="stylesheet"
- type="text/css"/>
-<link type="text/css" href="/web/newict/framework/thirdparty/dashboard/assets/css/ict-chart-dashboard.css"
- rel="stylesheet">
-<link type="text/css" href="/web/newict/framework/thirdparty/dashboard/assets/css/components.css" rel="stylesheet">
-<link rel="stylesheet" href="/web/res/web-common/css/ZteIctIcons/style.css"/>
-<link rel="stylesheet" href="/web/newict/framework/thirdparty/font-awesome/css/font-awesome.min.css"/>
-<link type="text/css" href="/web/newict/framework/thirdparty/dashboard/assets/css/transition.css" rel="stylesheet">
-<link type="text/css" href="/web/newict/framework/thirdparty/dashboard/DashboardICT.css" rel="stylesheet">
-<link href="/web/newict/framework/thirdparty/uniform/css/uniform.default.css" rel="stylesheet" type="text/css">
-<link href="/web/newict/framework/thirdparty/dashboard/assets/css/c3.css" rel="stylesheet" type="text/css">
-<body ng-controller="GraphCtrl">
-<div class="dashBoardHeader">
- <div id="cf5" class="hover sidebar-toggler">
- <img class="top shadow" src="images/open.png"/>
- <img class="bottom shadow" src="images/shrink.png"/>
- </div>
- <!-- <button id="savePlots">Save</button> -->
- <div id="deleteIcon" class="hover delete-icon">
- <img class="top shadow" src="images/remove.png"/>
- <img class="bottom shadow deleteIconHidden" src="images/remove_red.png"/>
- </div>
-</div>
-<div class="plotItemsSelectionWrapper"></div>
-<div class="dashBoardBody">
- <div class="contentWrapper">
- <div class="plotsWrapper">
- <div class="row ui-sortable" id="sortable_portlets_added">
- <div class="col-md-6 column sortable col-padding-adjust">
- <div id="droppable" class="portlet portlet-sortable light bg-inverse droppable"
- style="display: block;"></div>
- <div class="portlet portlet-sortable-empty"></div>
- </div>
- <div class="col-md-6 column sortable col-padding-adjust">
- <div id="droppable1" class="portlet portlet-sortable light bg-inverse droppable"
- style="display: block;"></div>
- <div class="portlet portlet-sortable-empty"></div>
- </div>
- </div>
- </div>
- </div>
-</div>
-<!-- </div> -->
-<script type="text/javascript" src="/web/newict/framework/thirdparty/jquery-1.10.2.min.js"></script>
-<script src="/web/newict/framework/thirdparty/jquery-ui/jquery-ui-1.10.3.custom.min.js"></script>
-<script src="/web/newict/framework/thirdparty/dashboard/assets/js/d3.min.js" charset="utf-8"></script>
-<script src="/web/newict/framework/thirdparty/dashboard/assets/js/c3.js"></script>
-<!--图例-->
-<SCRIPT SRC="/web/newict/framework/thirdparty/dashboard/demo/ict-linechart-c3.js"></SCRIPT>
-<SCRIPT SRC="/web/newict/framework/thirdparty/dashboard/demo/ict-barchart-c3.js"></SCRIPT>
-<!--demo-->
-<SCRIPT SRC="/web/newict/framework/thirdparty/dashboard/demo/demo-barchart-c3.js"></SCRIPT>
-<SCRIPT SRC="/web/newict/framework/thirdparty/dashboard/demo/demo-linechart-c3.js"></SCRIPT>
-<!--facebox-->
-<script src="/web/newict/framework/thirdparty/dashboard/assets/js/facebox.js"></script>
-<!--portlet-->
-<script src="/web/newict/framework/thirdparty/dashboard/assets/js/portlet-draggable-jq.js"
- type="text/javascript"></script>
-<script src="/web/newict/framework/thirdparty/bootstrap/js/bootstrap.min.js"></script>
-<script src="/web/newict/framework/thirdparty/jquery-slimscroll/jquery.slimscroll.min.js"
- type="text/javascript"></script>
-<!-- <script type="text/javascript" src="js/freewall.js"></script> -->
-<script src="/web/newict/framework/thirdparty/dashboard/demo/c3Chart.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/uniform/jquery.uniform.min.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/dashboard/DashboardICT-jq.js"></script>
-<script>
- jQuery(document).ready(function () {
-
- var c3ChartControlHtmlFrag =
- '<div class="legendC3">' +
- '<span id="c3-line" data-id="data1" style="background-color: rgb(31, 119, 180);">Line</span>' +
- '<span id="c3-bar" data-id="data2" style="background-color: rgb(255, 127, 14);">Bar</span>' +
- '<span id="c3-step" data-id="data3" style="background-color: rgb(44, 160, 44);">Step</span>' +
- '</div>';
- DashboardICT.addPlotControlHtmlFrags("c3Chart", c3ChartControlHtmlFrag);
-
- var c3PlotControlCallback = function (plotCallback, placeholderId) {
- $("#c3-line").click(function () {
- plotCallback(placeholderId, "line");
- var args = [placeholderId, "line"];
- $.facebox.flotRedrawCallbackObjs[placeholderId] = {
- callback: plotCallback,
- arguments: args
- }
- });
- $("#c3-bar").click(function () {
- plotCallback(placeholderId, "bar");
- var args = [placeholderId, "bar"];
- $.facebox.flotRedrawCallbackObjs[placeholderId] = {
- callback: plotCallback,
- arguments: args
- }
- });
- $("#c3-step").click(function () {
- plotCallback(placeholderId, "step");
- var args = [placeholderId, "step"];
- $.facebox.flotRedrawCallbackObjs[placeholderId] = {
- callback: plotCallback,
- arguments: args
- }
- });
- }
- DashboardICT.addPlotControlCallbacks("c3Chart", c3PlotControlCallback);
-
- DashboardICT.init();
- $("#savePlots").click(function () {
- var savedPlots = DashboardICT.saveSelectedPlots();
- });
-
- });
-</script>
-</body>
-</html>
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/CPU统计.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/CPU统计.png
deleted file mode 100644
index b001823f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/CPU统计.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/Thumbs.db b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/Thumbs.db
deleted file mode 100644
index 74a2eb78..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/Thumbs.db
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/closelabel.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/closelabel.png
deleted file mode 100644
index c339e593..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/closelabel.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/delete.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/delete.png
deleted file mode 100644
index 5947c7c9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/delete.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/loading.gif b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/loading.gif
deleted file mode 100644
index f864d5fd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/loading.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/open.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/open.png
deleted file mode 100644
index a0ebe178..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/open.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/remove.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/remove.png
deleted file mode 100644
index ec7713fa..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/remove.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/remove_red.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/remove_red.png
deleted file mode 100644
index bbd4dbd5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/remove_red.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/shrink.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/shrink.png
deleted file mode 100644
index a5624c8b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/shrink.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/告警统计.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/告警统计.png
deleted file mode 100644
index 0120e90d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/告警统计.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/性能统计A.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/性能统计A.png
deleted file mode 100644
index bd67fa14..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/性能统计A.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/性能统计B.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/性能统计B.png
deleted file mode 100644
index 341bd0f1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/性能统计B.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/性能统计C.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/性能统计C.png
deleted file mode 100644
index f51faa24..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/性能统计C.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/日志统计.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/日志统计.png
deleted file mode 100644
index c2c78b1f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/images/日志统计.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/demo/demo-barchart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/demo/demo-barchart-c3.js
deleted file mode 100644
index d5680445..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/demo/demo-barchart-c3.js
+++ /dev/null
@@ -1,34 +0,0 @@
-var AlarmCount_BarChart_C3 = function (placeholdeC3) {
-
- var callbackList = [];
- var callback = function (data) {
- if (data.index !== undefined) {
- var severity = data.index + 1;
- window.open(
- "/web/res/web-framework/default.html?showNav=false&severity="
- + severity + "#uep-ict-fm-currentAlarm", "fm_portlet_page_title"
- + severity, "");
- }
- }
- callbackList.push(callback);
-
- $.ajax({
- async: false,
- "dataType": "json",
- "type": "GET",
- "url": "/web/rest/web/fm/count/total",
- "data": null,
- "Content-Type": "application/json; charset=utf-8",
- "success": function (json, textStatus, jqXHR) {
- var alarmcount = json;
- var inputData = [];
- for (var i = 0; i < alarmcount.ackedCount.length; i++) {
- inputData.push(alarmcount.unAckedCount[i] + alarmcount.ackedCount[i]);
- }
- ICT_Bar_Chart_C3(placeholdeC3, inputData, callbackList);
- },
- "error": function () {
- }
- });
-
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/demo/demo-linechart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/demo/demo-linechart-c3.js
deleted file mode 100644
index f8aafa68..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/demo/demo-linechart-c3.js
+++ /dev/null
@@ -1,40 +0,0 @@
-var ICT_CPU_UsageLine_C3 = function (placeholderC3) {
-
- //取得数据系列的名称
- var seriesNames = [];
- $.ajax({
- async: false,
- dataType: "json",
- "type": "GET",
- url: "/web/rest/web/dm/dashboard/selfcpu/queryValues",
- "data": JSON.stringify(data),
- contentType: "application/json; charset=utf-8",
- "success": function (data) {
- seriesNames.push(data.deviceLabels[0]);
- }
- });
-
- var colors = ["#fc4400", '#5ab1ef', '#b6a2de'];
- var c3Line = ICT_Line_C3(placeholderC3, seriesNames, colors);
-
- var data = {};
-
- window.setInterval(function () {
-
- var newSeriesData = [];
-
- $.ajax({
- dataType: "json",
- "type": "GET",
- url: "/web/rest/web/dm/dashboard/selfcpu/queryValues",
- "data": JSON.stringify(data),
- contentType: "application/json; charset=utf-8",
- "success": function (data) {
- newSeriesData.push({name: data.deviceLabels[0], value: data.cpuUseRatios[0]});
- c3Line.setC3Data(newSeriesData);
- }
- });
-
- }, 3 * 1000);
-
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/ict-barchart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/ict-barchart-c3.js
deleted file mode 100644
index 20f87a69..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/ict-barchart-c3.js
+++ /dev/null
@@ -1,68 +0,0 @@
-var ICT_Bar_Chart_C3 = function (placeholdeC3, inputData, callbackList) {
-
- var language;
- //取得国际化信息
- $.ajax({
- dataType: "json",
- url: "/web/newict/framework/thirdparty/flotchart/i18n/ict-barchart-flot-" + getLanguage() + ".json",
- async: false,
- contentType: "application/json; charset=utf-8",
- "success": function (data) {
- language = data.language;
- },
- "error": function (xhr, info) {
- alert("Communication Error! Error reason:" + info);
- }
- });
-
- var config = {};
- config.bindto = '#' + placeholdeC3;
- config.data = {};
- config.data.json = {};
- config.data.json["告警"] = inputData;
- config.axis = {};
- config.axis.x = {
- type: 'category',
- categories: [language[0].value, language[1].value, language[2].value, language[3].value]
- };
- /* config.axis.y.tick = {
- format: function(data){
- return data + "%";
- }
- }; */
- config.axis.y = {};
- config.axis.y.tick = {
- values: [0, 20, 40, 60]
- , outer: false
- };
- config.data.types = {};
- config.data.types["告警"] = "bar";
- config.data.color = function (inColor, data) {
- if (data.index !== undefined) {
- return language[data.index].color;
- }
- return inColor;
- },
- config.data.onclick = function (data, element) {
- $.each(callbackList, function (index, callback) {
- callback(data);
- });
- },
- config.legend = {
- show: false
- };
- config.bar = {
- width: {
- ratio: 0.3
- }
- };
- config.grid = {
- y: {
- show: true
- }
- };
-
- c3.generate(config);
-
-}
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/ict-linechart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/ict-linechart-c3.js
deleted file mode 100644
index 23149f35..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-chart/ict-linechart-c3.js
+++ /dev/null
@@ -1,98 +0,0 @@
-var ICT_Line_C3 = function (placeholderC3, seriesNames, colors) {
-
- var xkeys = {"x": "x", "value": []};
-
- //��ʼ�����
- var config = {};
- config.bindto = '#' + placeholderC3;
- config.data = {};
- config.data.keys = xkeys;
- config.data.json = [];
- config.axis = {};
- config.axis.x = {"type": "timeseries", "tick": {"format": "%H:%M:%S'", count: 5}};
- config.axis.y = {
- padding: {
- left: 0,
- right: 0,
- },
- //,inner: true
- max: 100,
- min: 0
- };
- config.axis.y.tick = {
- format: function (data) {
- return (data + "").substring(0, 4) + "%";
- }
- , values: [0, 20, 40, 60, 80, 100]
- //,centered: true
- //,fit: true
- , outer: false
- };
- config.data.colors = {};
- config.data.types = {};
- if (!colors) {
- colors = ['#ffb980', '#5ab1ef', '#b6a2de'];
- }
- if (seriesNames) {
- for (var i = 0; i < seriesNames.length; i++) {
- config.data.colors[seriesNames[i]] = colors[i];
- config.data.types[seriesNames[i]] = "spline";
- }
- }
-
- /* config.data.color = function(inColor, data) {
- if(data.index !== undefined) {
- return colors[data.index];
- }
- return inColor;
- }; */
- config.grid = {
- y: {
- show: true
- }
- }
-
- var c3Chart = c3.generate(config);
-
- var dataService = new function () {
- var data = [];
- var numDataPoints = 60;
-
- this.loadData = function (callback, newSeriesData) {
- if (data.length > numDataPoints) {
- data.shift();
- }
- var newValue = {"x": new Date()};
- for (var i = 0; i < newSeriesData.length; i++) {
- newValue[newSeriesData[i].name] = newSeriesData[i].value;
- }
- //data.push({"x":new Date(),"data1":newSeriesData.data1,"data2":newSeriesData.data2});
- data.push(newValue);
- callback(data);
- };
- //return this;
- }
-
- return {
-
- setC3Data: function (newSeriesData) {
- var values = [];
- for (var i = 0; i < newSeriesData.length; i++) {
- values.push(newSeriesData[i].name);
- }
- xkeys.value = values;
- //var dataServiceFunc = new dataService();
- dataService.loadData(function (newData) {
- var data = {};
- data.keys = xkeys;
- data.json = newData;
- //data.done = DashboardICT.removeYaxisScale;
- c3Chart.load(data);
- //c3Chart.resize();
- }, newSeriesData);
-
- }
-
- };
-
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardConfig-jq.json b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardConfig-jq.json
deleted file mode 100644
index 907397d0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardConfig-jq.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "chartTypes": {
- "stackChart": {
- "typeId": "stackChart",
- "imageURL": "/web/newict/framework/thirdparty/dashboard/images/CPU统计.png",
- "plotLabel": "堆积图",
- "placeholderId": "placeholderStack",
- "plotCallbackName": "Demo_StackChart",
- "plotSize": "size21"
- },
- "alarmCounts": {
- "typeId": "alarmCounts",
- "imageURL": "/web/newict/framework/thirdparty/dashboard/images/告警统计.png",
- "plotLabel": "告警统计",
- "placeholderId": "placeholderAlarmCounts",
- "plotCallbackName": "AlarmCounts",
- "plotSize": "size21"
- },
- "logCounts": {
- "typeId": "logCounts",
- "imageURL": "/web/newict/framework/thirdparty/dashboard/images/日志统计.png",
- "plotLabel": "日志统计",
- "placeholderId": "placeholderPie",
- "plotCallbackName": "Demo_PieChart",
- "plotSize": "size21"
- },
- "ictCPULine": {
- "typeId": "ictCPULine",
- "imageURL": "/web/newict/framework/thirdparty/dashboard/images/性能统计A.png",
- "plotLabel": "性能统计A",
- "placeholderId": "placeholderCPU",
- "plotCallbackName": "ICT_CPU_UsageLine",
- "plotSize": "size21"
- },
- "alarmChart": {
- "typeId": "alarmChart",
- "imageURL": "/web/newict/framework/thirdparty/dashboard/images/性能统计B.png",
- "plotLabel": "性能统计B",
- "placeholderId": "placeholderAlarm",
- "plotCallbackName": "AlarmCount_BarChart",
- "plotSize": "size21"
- },
- "c3Chart": {
- "typeId": "c3Chart",
- "imageURL": "/web/newict/framework/thirdparty/dashboard/images/性能统计C.png",
- "plotLabel": "性能统计C",
- "placeholderId": "placeholderC3Demo",
- "plotCallbackName": "c3ChartDemo",
- "plotSize": "size21",
- "plotControlCallback": "true"
- },
- "ictCPULineC3": {
- "typeId": "ictCPULineC3",
- "imageURL": "/web/newict/framework/thirdparty/dashboard/images/性能统计C.png",
- "plotLabel": "ICT服务器CPU使用率",
- "placeholderId": "placeholderC3_CPU",
- "plotCallbackName": "ICT_CPU_UsageLine_C3",
- "plotSize": "size21"
- },
- "currentAlarm": {
- "typeId": "currentAlarm",
- "imageURL": "/web/newict/framework/thirdparty/dashboard/images/性能统计C.png",
- "plotLabel": "当前告警",
- "placeholderId": "placeholderC3_Alarm",
- "plotCallbackName": "AlarmCount_BarChart_C3",
- "plotSize": "size21"
- },
- "zzz": {
- "typeId": "zzz",
- "chartType": "prototype",
- "imageURL": "/web/newict/framework/thirdparty/dashboard/images/性能统计C.png",
- "plotLabel": "性能统计HTML片段",
- "placeholderId": "placeholderC3_Demo",
- "plotCallbackName": "c3ChartDemo",
- "arguments": "line",
- "htmlSrc": "srcInclude.html",
- "plotSize": "size21"
- }
- },
- "initPlots": [
- "ictCPULineC3",
- "c3Chart",
- "zzz"
- ],
- "languages": {}
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardConfig-jq.json.sdn b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardConfig-jq.json.sdn
deleted file mode 100644
index 20fc53d2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardConfig-jq.json.sdn
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "chartTypes":{
- "c3Chart":{
- "typeId":"c3Chart",
- "imageURL":"images/性能统计C.png",
- "plotLabel":"性能统计C",
- "placeholderId":"placeholderC3",
- "plotCallbackName":"c3ChartDemo",
- "plotSize":"size21",
- "plotControlCallback":"true"
- },
- "ictCPULineC3":{
- "typeId":"ictCPULineC3",
- "imageURL":"images/性能统计C.png",
- "plotLabel":"ICT服务器CPU使用率",
- "placeholderId":"placeholderC3_1",
- "plotCallbackName":"ICT_CPU_UsageLine_C3",
- "plotSize":"size21"
- },
- "currentAlarm":{
- "typeId":"currentAlarm",
- "imageURL":"images/性能统计C.png",
- "plotLabel":"当前告警",
- "placeholderId":"placeholderC3_2",
- "plotCallbackName":"AlarmCount_BarChart_C3",
- "plotSize":"size21"
- }
- },
-
- "initPlots":[
- "c3Chart"
- ],
-
- "languages":{}
-
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardConfig.json b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardConfig.json
deleted file mode 100644
index f5c9668a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardConfig.json
+++ /dev/null
@@ -1,83 +0,0 @@
-{
- "chartTypes": {
- "stackChart": {
- "typeId": "stackChart",
- "imageURL": "images/CPU统计.png",
- "plotLabel": "堆积图",
- "placeholderId": "placeholderStack",
- "plotCallbackName": "Demo_StackChart",
- "plotSize": "size21"
- },
- "alarmCounts": {
- "typeId": "alarmCounts",
- "imageURL": "images/告警统计.png",
- "plotLabel": "告警统计",
- "placeholderId": "placeholderAlarmCounts",
- "plotCallbackName": "AlarmCounts",
- "plotSize": "size21"
- },
- "logCounts": {
- "typeId": "logCounts",
- "imageURL": "images/日志统计.png",
- "plotLabel": "日志统计",
- "placeholderId": "placeholderPie",
- "plotCallbackName": "Demo_PieChart",
- "plotSize": "size21"
- },
- "ictCPULine": {
- "typeId": "ictCPULine",
- "imageURL": "images/性能统计A.png",
- "plotLabel": "性能统计A",
- "placeholderId": "placeholderCPU",
- "plotCallbackName": "ICT_CPU_UsageLine",
- "plotSize": "size21"
- },
- "alarmChart": {
- "typeId": "alarmChart",
- "imageURL": "images/性能统计B.png",
- "plotLabel": "性能统计B",
- "placeholderId": "placeholderAlarm",
- "plotCallbackName": "AlarmCount_BarChart",
- "plotSize": "size21"
- },
- "c3Chart": {
- "typeId": "c3Chart",
- "imageURL": "images/性能统计C.png",
- "plotLabel": "性能统计C",
- "placeholderId": "placeholderC3",
- "plotCallbackName": "c3ChartDemo",
- "plotSize": "size21",
- "plotControlCallback": "true"
- },
- "ictCPULineC3": {
- "typeId": "ictCPULineC3",
- "imageURL": "images/性能统计C.png",
- "plotLabel": "ICT服务器CPU使用率",
- "placeholderId": "placeholderC3_1",
- "plotCallbackName": "ICT_CPU_UsageLine_C3",
- "plotSize": "size21"
- },
- "currentAlarm": {
- "typeId": "currentAlarm",
- "imageURL": "images/性能统计C.png",
- "plotLabel": "当前告警",
- "placeholderId": "placeholderC3_2",
- "plotCallbackName": "AlarmCount_BarChart_C3",
- "plotSize": "size21"
- },
- "zzz": {
- "typeId": "zzz",
- "imageURL": "images/性能统计C.png",
- "plotLabel": "性能统计C",
- "placeholderId": "placeholderC3_3",
- "plotCallbackName": "c3ChartDemo",
- "plotSize": "size21"
- }
- },
- "initPlots": [
- "ictCPULineC3",
- "c3Chart",
- "currentAlarm"
- ],
- "languages": {}
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardICT.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardICT.js
deleted file mode 100644
index 86fd729c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/DashboardICT.js
+++ /dev/null
@@ -1,291 +0,0 @@
-var DashboardICT = function () {
-
- var chartObjs;
- var plotsSelected;
- var plotControlCallbacks = {};
- var plotControlHtmlFrags = {};
-
- var wall;
-
- var addDroppableItem = function () {
- $(".plotsWrapper").droppable({
- accept: ".draggableItems",
- drop: function (event, ui) {
- //var dropLocation = $( ".plotsWrapper" );
- var plotTypeId = $(ui.draggable).attr("id");
- if ($("#" + chartObjs[plotTypeId].placeholderId).length > 0) {
- alert("Plot already exits!");
- return;
- }
- addDraggablePortlet(plotTypeId);
- }
- });
- }
-
- var addDraggablePortlet = function (plotTypeId) {
-
- var portletId = chartObjs[plotTypeId].typeId;
- var portletLabel = chartObjs[plotTypeId].plotLabel;
- var placeholderId = chartObjs[plotTypeId].placeholderId;
- var plotCallback = eval(chartObjs[plotTypeId].plotCallbackName);
- var plotSize = "size11";
- if (chartObjs[plotTypeId].plotSize) {
- plotSize = chartObjs[plotTypeId].plotSize;
- }
-
- var faceboxDivIndex = $("a[rel=facebox]").length + 1;
- var portletHtml = '<div id="' + portletId + '" class="portlet portlet-sortable light bg-inverse ' + plotSize + ' brickDraggable">' +
- '<div class="portletLabel">' + portletLabel + '</div>' +
- '<div class="removeflot"></div>' +
- '<a href="#faceboxDiv_' + faceboxDivIndex + '" rel="facebox">' +
- '<div id="faceboxDiv_' + faceboxDivIndex + '" flot_id="' + placeholderId + '" class="flot-placeholder-wrapper-portlet">' +
- '<div id="' + placeholderId + '" class="flot-placeholder"></div>' +
- '</div>' +
- '</a>' +
- '</div>';
-
- if (chartObjs[plotTypeId].plotControlCallback) {
- portletHtml = '<div id="' + portletId + '" class="portlet portlet-sortable light bg-inverse ' + plotSize + ' brickDraggable">' +
- '<div class="portletLabel">' + portletLabel + '</div>' +
- '<div class="removeflot"></div>' +
- plotControlHtmlFrags[plotTypeId] +
- '<a href="#faceboxDiv_' + faceboxDivIndex + '" rel="facebox">' +
- '<div id="faceboxDiv_' + faceboxDivIndex + '" flot_id="' + placeholderId + '" class="flot-placeholder-wrapper-portlet">' +
- '<div id="' + placeholderId + '" class="flot-placeholder flot-placeholder-high"></div>' +
- '</div>' +
- '</a>' +
- '</div>';
- }
-
- //插入图例
- wall.prepend(portletHtml);
- wall.refresh($(".plotsWrapper").width(), $(".plotsWrapper").height());
-
- //添加图例控制回调
- if (chartObjs[plotTypeId].plotControlCallback) {
- plotControlCallbacks[plotTypeId](plotCallback, placeholderId);
- }
-
- plotCallback(placeholderId);
-
- var args = [placeholderId];
- $.facebox.flotRedrawCallbackObjs[placeholderId] = {
- callback: plotCallback,
- arguments: args
- }
-
- $.facebox.settings.closeImage = '/web/newict/framework/thirdparty/facebox/closelabel.png';
- $.facebox.settings.loadingImage = '/web/newict/framework/thirdparty/facebox/loading.gif';
- //$('a[rel*=facebox]').facebox();
-
- //addDroppableItem();
-
- //调整放大后的宽度
- var portlet = $("#" + portletId + ".portlet");
- /*if($(portlet).parent().hasClass("col-md-6")){
- $("a > div", portlet).addClass("flot-placeholder-wrapper-portlet-wide");
- }else{
- $("a > div", portlet).removeClass("flot-placeholder-wrapper-portlet-wide");
- }*/
- if (plotSize == "size21") {
- $("div[flot_id=" + placeholderId + "]").addClass("flot-placeholder-wrapper-portlet-wide");
- } else {
- $("div[flot_id=" + placeholderId + "]").removeClass("flot-placeholder-wrapper-portlet-wide");
- }
- }
-
- return {
-
- init: function () {
-
- $.ajax({
- async: false,
- "type": "GET",
- url: "/web/newict/framework/thirdparty/dashboard/DashboardConfig.json",
- dataType: "json",
- "success": function (res, textStatus, jqXHR) {
- var plotItemsSelectionDiv = $(".plotItemsSelectionWrapper");
- //初始化左边的图列类型列表
- chartObjs = res.chartTypes;
- var chartSelectHtml = "";
- for (var chartObj in chartObjs) {
- chartSelectHtml =
- '<div id="' + chartObjs[chartObj].typeId + '" class="draggableItems">' +
- '<img width="100%" height="100%" src="' + chartObjs[chartObj].imageURL + '">' +
- '</div>';
- $(plotItemsSelectionDiv).append(chartSelectHtml);
- }
- //初始化已选图例
- plotsSelected = res.initPlots;
- },
- "error": function () {
- alert("Config file load error!");
- }
- });
-
- //组件放大显示插件
- $.facebox.settings.closeImage = '../facebox/closelabel.png';
- $.facebox.settings.loadingImage = '../facebox/loading.gif';
- //$('a[rel*=facebox]').facebox();
- //Portlet
- $(".draggableItems").draggable({
- //containment:"body",
- revert: false,
- appendTo: "div.plotsWrapper",
- scroll: false,
- zIndex: 9999,
- helper: "clone",
- opacity: 0.75
- });
- $("#deleteIcon").droppable({
- accept: ".portlet",
- drop: function () {
- if ($("#deleteIcon .top").hasClass("deleteIconHidden")) {
- //$( "#droppableItem" ).removeClass("droppedOver");
- var portletRemoveId = $(".ui-sortable-helper").attr("id");
- if (portletRemoveId != "droppable") {
- $("#" + portletRemoveId).remove();
- }
- }
- },
- tolerance: "touch",
- over: function (event, ui) {
- //$( "#droppableItem" ).addClass("droppedOver");
- }
- });
- addDroppableItem();
- $(".sidebar-toggler").click(function () {
- $("#cf5 img.top").toggleClass("scale");
- $("#cf5 img.bottom").toggleClass("rotate");
-
- $(".plotsWrapper").toggleClass("dashboardExpand", 500, "linear");
- $(".plotItemsSelectionWrapper").toggleClass("sideBarClose", 500, "linear");
-
- setTimeout(function () {
- wall.refresh($(".plotsWrapper").width(), $(".plotsWrapper").height());
- setTimeout(function () {
- var charts = $.facebox.charts;
- for (var chart in charts) {
- charts[chart].resize();
- }
- }, 700);
- }, 700);
- });
- $('.plotItemsSelectionWrapper').slimScroll({
- position: 'right',
- width: '177px',
- height: '610px',
- color: 'rgb(100, 150, 240)',
- railColor: '#fff',
- railOpacity: 0.3
- });
- $('.slimScrollDiv').css({
- 'float': 'left',
- 'margin-right': '-100%',
- 'margin-top': '10px'
- });
- $("#deleteIcon").click(function () {
- if ($("#deleteIcon .bottom").hasClass("deleteIconHidden")) {
- $("#deleteIcon .top").addClass("deleteIconHidden", 500);
- $("#deleteIcon .bottom").removeClass("deleteIconHidden", 500);
- //添加删除小图标
- $(".removeflot").addClass("removeIcon");
- $(".removeflot.removeIcon").click(function () {
- var placeholderId = $(".flot-placeholder", $(this).parent()).attr("id");
- if ($.facebox.intervals[placeholderId]) {
- clearInterval($.facebox.intervals[placeholderId]);
- }
- $(this).parent().remove();
- });
- } else {
- $("#deleteIcon .top").removeClass("deleteIconHidden", 500);
- $("#deleteIcon .bottom").addClass("deleteIconHidden", 500);
- //去掉删除小图标
- $(".removeflot.removeIcon").removeClass("removeIcon");
- }
- });
- //自由拖拽
- wall = new freewall("#freeDraggable");
- wall.reset({
- draggable: true,
- selector: '.portlet',
- animate: true,
-
- /*cellW: function(width) {
- var cellWidth = width / 9;
- return cellWidth + 10;
- },*/
- cellW: 140,
- cellH: 125,
- /* cellW: 140,
- cellH: 125, */
- delay: 50,
- fixSize: false,
- gutterY: 5,
- gutterX: 5,
- onResize: function () {
- //wall.fitWidth();
- wall.refresh($(".plotsWrapper").width(), $(".plotsWrapper").height());
- //wall.refresh();
- /* var callbackObjs = $.facebox.flotRedrawCallbackObjs;
- for(var callbackObj in callbackObjs){
- callbackObjs[callbackObj].callback.apply(null, callbackObjs[callbackObj].arguments);
- } */
- setTimeout(function () {
- //wall.refresh($( ".plotsWrapper" ).width(), $( ".plotsWrapper" ).height());
- var charts = $.facebox.charts;
- for (var chart in charts) {
- charts[chart].resize();
- }
- }, 700);
- },
- onBlockMove: function () {
- //wall.fitWidth();
- wall.refresh($(".plotsWrapper").width(), $(".plotsWrapper").height());
- $(window).trigger("resize");
- //console.log(this);
- }
- });
- //wall.fitWidth();
- wall.refresh($(".plotsWrapper").width(), $(".plotsWrapper").height());
- //wall.fitHeight();
- //wall.fitZone($( ".plotsWrapper" ).width(), $( ".plotsWrapper" ).height());
- $(window).trigger("resize");
- //初始化已选图例
- for (var i = 0; i < plotsSelected.length; i++) {
- addDraggablePortlet(plotsSelected[i]);
- }
-
- setTimeout(function () {
- var charts = $.facebox.charts;
- for (var chart in charts) {
- charts[chart].resize();
- }
- }, 700);
-
- },
-
- saveSelectedPlots: function () {
- var placeholders = [];
- var plots = $(".flot-placeholder");
- $.each(plots, function (index, plot) {
- placeholders.push($(plot).attr('id'));
- });
- plotsSelected = [];
- for (var chartObj in chartObjs) {
- if (jQuery.inArray(chartObjs[chartObj].placeholderId, placeholders) > -1) {
- plotsSelected.push(chartObj);
- }
- }
- return plotsSelected;
- },
-
- addPlotControlCallbacks: function (plotId, callback) {
- plotControlCallbacks[plotId] = callback;
- },
-
- addPlotControlHtmlFrags: function (plotId, htmlFrag) {
- plotControlHtmlFrags[plotId] = htmlFrag;
- }
- }
-}(); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/c3.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/c3.css
deleted file mode 100644
index a4f9945f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/c3.css
+++ /dev/null
@@ -1,257 +0,0 @@
-/*-- Chart --*/
-
-.c3 svg {
- /*font: 10px sans-serif; */
- font: 12px Microsoft yahei;
- margin-left: -15px;
-}
-
-.c3 path, .c3 line {
- fill: none;
- /*stroke: #000;*/
- stroke: #008acd;
-}
-
-.c3-axis.c3-axis-y {
- fill: #008acd;
- stroke-width: 1.25;
-}
-
-.c3 text {
- -webkit-user-select: none;
- -moz-user-select: none;
- user-select: none;
-}
-
-.c3-legend-item-tile,
-.c3-xgrid-focus,
-.c3-ygrid,
-.c3-event-rect,
-.c3-bars path {
- shape-rendering: crispEdges;
-}
-
-.c3-chart-arc path {
- stroke: #fff;
-
-}
-
-.c3-chart-arc text {
- fill: #fff;
- font-size: 13px;
-}
-
-/*-- Axis --*/
-
-.c3-axis-x .tick {
-}
-
-.c3-axis-x-label {
-}
-
-.c3-axis-y .tick {
-}
-
-.c3-axis-y-label {
-}
-
-.c3-axis-y2 .tick {
-}
-
-.c3-axis-y2-label {
-}
-
-/*-- Grid --*/
-
-.c3-grid line {
- stroke: #aaa;
-}
-
-.c3-grid text {
- fill: #aaa;
-}
-
-.c3-xgrid, .c3-ygrid {
- stroke-dasharray: 3 3;
-}
-
-.c3-xgrid-focus {
-}
-
-/*-- Text on Chart --*/
-
-.c3-text {
-}
-
-.c3-text.c3-empty {
- fill: #808080;
- font-size: 2em;
-}
-
-/*-- Line --*/
-
-.c3-line {
- stroke-width: 2px;
-}
-
-/*-- Point --*/
-
-.c3-circle._expanded_ {
- stroke-width: 1px;
- stroke: white;
-}
-
-.c3-selected-circle {
- fill: white;
- stroke-width: 2px;
-}
-
-/*-- Bar --*/
-
-.c3-bar {
- stroke-width: 0;
-}
-
-.c3-bar._expanded_ {
- fill-opacity: 0.75;
-}
-
-/*-- Arc --*/
-
-.c3-chart-arcs-title {
- dominant-baseline: middle;
- font-size: 1.3em;
-}
-
-/*-- Focus --*/
-
-.c3-target.c3-focused {
- opacity: 1;
-}
-
-.c3-target.c3-focused path.c3-line, .c3-target.c3-focused path.c3-step {
- stroke-width: 2px;
-}
-
-.c3-target.c3-defocused {
- opacity: 0.3 !important;
-}
-
-/*-- Region --*/
-
-.c3-region {
- fill: steelblue;
- fill-opacity: .1;
-}
-
-/*-- Brush --*/
-
-.c3-brush .extent {
- fill-opacity: .1;
-}
-
-/*-- Select - Drag --*/
-
-.c3-dragarea {
-}
-
-/*-- Legend --*/
-
-.c3-legend-item {
- font-size: 12px;
-}
-
-.c3-legend-item-hidden {
- opacity: 0.15;
-}
-
-.c3-legend-background {
- opacity: 0.75;
- fill: white;
- stroke: lightgray;
- stroke-width: 1
-}
-
-/*-- Tooltip --*/
-
-.c3-tooltip-container {
- z-index: 10;
-}
-
-.c3-tooltip {
- border-collapse: collapse;
- border-spacing: 0;
- background-color: #fff;
- empty-cells: show;
- width: auto;
- -webkit-box-shadow: 7px 7px 12px -9px rgb(119, 119, 119);
- -moz-box-shadow: 7px 7px 12px -9px rgb(119, 119, 119);
- box-shadow: 7px 7px 12px -9px rgb(119, 119, 119);
- opacity: 0.9;
-}
-
-.c3-tooltip tr {
- border: 1px solid #CCC;
-}
-
-.c3-tooltip th {
- background-color: #aaa;
- font-size: 14px;
- padding: 2px 5px;
- text-align: left;
- color: #FFF;
-}
-
-.c3-tooltip td {
- font-size: 13px;
- padding: 3px 6px;
- background-color: #fff;
- border-left: 1px dotted #999;
-}
-
-.c3-tooltip td > span {
- display: inline-block;
- width: 10px;
- height: 10px;
- margin-right: 6px;
-}
-
-.c3-tooltip td.value {
- text-align: right;
-}
-
-.c3-area {
- stroke-width: 0;
- opacity: 0.2;
-}
-
-.c3-chart-arcs .c3-chart-arcs-background {
- fill: #e0e0e0;
- stroke: none;
-}
-
-.c3-chart-arcs .c3-chart-arcs-gauge-unit {
- fill: #000;
- font-size: 16px;
-}
-
-.c3-chart-arcs .c3-chart-arcs-gauge-max {
- fill: #777;
-}
-
-.c3-chart-arcs .c3-chart-arcs-gauge-min {
- fill: #777;
-}
-
-.c3-chart-arc .c3-gauge-value {
- fill: #000;
- /* font-size: 28px !important;*/
-}
-
-.c3 path.domain {
- stroke-width: 2px;
-}
-
-/* .c3-shape.c3-bar {
- stroke-width: 0px;
-} */ \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/c3.min.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/c3.min.css
deleted file mode 100644
index 984561f7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/c3.min.css
+++ /dev/null
@@ -1,175 +0,0 @@
-.c3 svg {
- font: 10px sans-serif
-}
-
-.c3 line, .c3 path {
- fill: none;
- stroke: #000
-}
-
-.c3 text {
- -webkit-user-select: none;
- -moz-user-select: none;
- user-select: none
-}
-
-.c3-bars path, .c3-event-rect, .c3-legend-item-tile, .c3-xgrid-focus, .c3-ygrid {
- shape-rendering: crispEdges
-}
-
-.c3-chart-arc path {
- stroke: #fff
-}
-
-.c3-chart-arc text {
- fill: #fff;
- font-size: 13px
-}
-
-.c3-grid line {
- stroke: #aaa
-}
-
-.c3-grid text {
- fill: #aaa
-}
-
-.c3-xgrid, .c3-ygrid {
- stroke-dasharray: 3 3
-}
-
-.c3-text.c3-empty {
- fill: gray;
- font-size: 2em
-}
-
-.c3-line {
- stroke-width: 1px
-}
-
-.c3-circle._expanded_ {
- stroke-width: 1px;
- stroke: #fff
-}
-
-.c3-selected-circle {
- fill: #fff;
- stroke-width: 2px
-}
-
-.c3-bar {
- stroke-width: 0
-}
-
-.c3-bar._expanded_ {
- fill-opacity: .75
-}
-
-.c3-chart-arcs-title {
- dominant-baseline: middle;
- font-size: 1.3em
-}
-
-.c3-target.c3-focused {
- opacity: 1
-}
-
-.c3-target.c3-focused path.c3-line, .c3-target.c3-focused path.c3-step {
- stroke-width: 2px
-}
-
-.c3-target.c3-defocused {
- opacity: .3 !important
-}
-
-.c3-region {
- fill: #4682b4;
- fill-opacity: .1
-}
-
-.c3-brush .extent {
- fill-opacity: .1
-}
-
-.c3-legend-item {
- font-size: 12px
-}
-
-.c3-legend-item-hidden {
- opacity: .15
-}
-
-.c3-legend-background {
- opacity: .75;
- fill: #fff;
- stroke: #d3d3d3;
- stroke-width: 1
-}
-
-.c3-tooltip-container {
- z-index: 10
-}
-
-.c3-tooltip {
- border-collapse: collapse;
- border-spacing: 0;
- background-color: #fff;
- empty-cells: show;
- -webkit-box-shadow: 7px 7px 12px -9px #777;
- -moz-box-shadow: 7px 7px 12px -9px #777;
- box-shadow: 7px 7px 12px -9px #777;
- opacity: .9
-}
-
-.c3-tooltip tr {
- border: 1px solid #CCC
-}
-
-.c3-tooltip th {
- background-color: #aaa;
- font-size: 14px;
- padding: 2px 5px;
- text-align: left;
- color: #FFF
-}
-
-.c3-tooltip td {
- font-size: 13px;
- padding: 3px 6px;
- background-color: #fff;
- border-left: 1px dotted #999
-}
-
-.c3-tooltip td > span {
- display: inline-block;
- width: 10px;
- height: 10px;
- margin-right: 6px
-}
-
-.c3-tooltip td.value {
- text-align: right
-}
-
-.c3-area {
- stroke-width: 0;
- opacity: .2
-}
-
-.c3-chart-arcs .c3-chart-arcs-background {
- fill: #e0e0e0;
- stroke: none
-}
-
-.c3-chart-arcs .c3-chart-arcs-gauge-unit {
- fill: #000;
- font-size: 16px
-}
-
-.c3-chart-arcs .c3-chart-arcs-gauge-max, .c3-chart-arcs .c3-chart-arcs-gauge-min {
- fill: #777
-}
-
-.c3-chart-arc .c3-gauge-value {
- fill: #000
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/components.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/components.css
deleted file mode 100644
index 780ca221..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/components.css
+++ /dev/null
@@ -1,14135 +0,0 @@
-/***
-Rounded corners reset
-***/
-/* Reset rounded corners for all elements */
-div,
-input,
-select,
-textarea,
-span,
-img,
-table,
-label,
-td,
-th,
-p,
-a,
-button,
-ul,
-code,
-pre,
-li {
- -webkit-border-radius: 0 !important;
- -moz-border-radius: 0 !important;
- border-radius: 4 !important;
-}
-
-/* except below bootstrap elements */
-.img-circle {
- border-radius: 50% !important;
-}
-
-.img-rounded {
- border-radius: 6px !important;
-}
-
-/***
-General reset
-***/
-/* Set default body */
-body {
- color: #333333;
- font-family: "Open Sans", sans-serif;
- padding: 0px !important;
- margin: 0px !important;
- font-size: 13px;
- direction: ltr;
-}
-
-/*
- Internet Explorer 10 doesn't differentiate device width from viewport width, and thus doesn't
- properly apply the media queries in Bootstrap's CSS. To address this,
- you can optionally include the following CSS and JavaScript to work around this problem until Microsoft issues a fix.
-*/
-@-webkit-viewport {
- width: device-width;
-}
-
-@-moz-viewport {
- width: device-width;
-}
-
-@-ms-viewport {
- width: device-width;
-}
-
-@-o-viewport {
- width: device-width;
-}
-
-@viewport {
- width: device-width;
-}
-
-/*
- Internet Explorer 10 doesn't differentiate device width from viewport width,
- and thus doesn't properly apply the media queries in Bootstrap's CSS. To address this, following CSS code applied
-*/
-@-ms-viewport {
- width: auto !important;
-}
-
-/* Custom scrollbars for webkit browsers */
-::-webkit-scrollbar {
- width: 12px;
-}
-
-::-webkit-scrollbar-track {
- background-color: #eaeaea;
- border-left: 1px solid #cecece;
-}
-
-::-webkit-scrollbar-thumb {
- background-color: #cecece;
-}
-
-::-webkit-scrollbar-thumb:hover {
- background-color: #aaaaaa;
-}
-
-::-webkit-scrollbar-track {
- border-radius: 0;
- box-shadow: none;
- border: 0;
-}
-
-::-webkit-scrollbar-thumb {
- border-radius: 0;
- box-shadow: none;
- border: 0;
-}
-
-/***
-General typography
-***/
-/* Headings */
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: "Open Sans", sans-serif;
- font-weight: 300;
-}
-
-h1 {
- font-size: 33px;
-}
-
-h2 {
- font-size: 27px;
-}
-
-h3 {
- font-size: 23px;
-}
-
-h4 {
- font-size: 17px;
-}
-
-h5 {
- font-size: 13px;
-}
-
-h6 {
- font-size: 12px;
-}
-
-/* Headings helper text */
-h1 small,
-h2 small,
-h3 small,
-h4 small,
-h5 small,
-h6 small {
- color: #444444;
-}
-
-/* Block headings */
-h1.block,
-h2.block,
-h3.block,
-h4.block,
-h5.block,
-h6.block {
- padding-top: 10px;
- padding-bottom: 10px;
-}
-
-/* Links */
-a {
- text-shadow: none;
- color: #5b9bd1;
-}
-
-a:hover {
- color: #3175af;
-}
-
-a:focus, a:hover, a:active {
- outline: 0;
-}
-
-/* Horizontal break */
-hr {
- margin: 20px 0;
- border: 0;
- border-top: 1px solid #eee;
- border-bottom: 0;
-}
-
-/* Unstyled List */
-.list-unstyled li > .list-unstyled {
- margin-left: 25px;
-}
-
-/* Code */
-code {
- border: 1px solid #e1e1e1;
- -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
-}
-
-/* Disabled Navigation Link */
-.disabled-link .disable-target {
- opacity: 0.5 !important;
- filter: alpha(opacity=50) !important;
-}
-
-.disabled-link .disable-target:hover {
- cursor: not-allowed !important;
-}
-
-.disabled-link:hover {
- cursor: not-allowed !important;
-}
-
-/***
-Utilities
-***/
-/* Links */
-a:hover {
- cursor: pointer;
-}
-
-/* Primary Link */
-.primary-link {
- color: #65A0D0;
- font-weight: 600;
-}
-
-.primary-link:hover {
- color: #5194ca;
-}
-
-/* Rounded Element */
-.rounded-2 {
- border-radius: 2px !important;
-}
-
-.rounded-3 {
- border-radius: 3px !important;
-}
-
-.rounded-4 {
- border-radius: 4px !important;
-}
-
-/* Circle Element */
-.circle {
- border-radius: 25px !important;
-}
-
-.circle-right {
- border-radius: 0 25px 25px 0 !important;
-}
-
-.circle-left {
- border-radius: 25px 0 0 25px !important;
-}
-
-.circle-bottom {
- border-radius: 0 0 25px 25px !important;
-}
-
-.circle-top {
- border-radius: 25px 25px 0 0 !important;
-}
-
-/* General utilities */
-.display-none,
-.display-hide {
- display: none;
-}
-
-.hidden {
- display: none !important;
-}
-
-.primary-font {
- font-family: "Open Sans", sans-serif !important;
-}
-
-.bold {
- font-weight: 700 !important;
-}
-
-.thin {
- font-weight: 300 !important;
-}
-
-.uppercase {
- text-transform: uppercase !important;
-}
-
-.fix-margin {
- margin-left: 0px !important;
-}
-
-.border {
- border: 1px solid red;
-}
-
-.font-hg {
- font-size: 23px;
-}
-
-.font-lg {
- font-size: 18px;
-}
-
-.font-md {
- font-size: 14px;
-}
-
-.font-sm {
- font-size: 13px;
-}
-
-.font-xs {
- font-size: 11px;
-}
-
-.inline {
- display: inline;
-}
-
-.inline-block {
- display: inline-block;
-}
-
-.text-align-reverse {
- text-align: right;
-}
-
-/* Margin and padding utilities */
-.no-space {
- margin: 0px !important;
- padding: 0px !important;
-}
-
-.no-margin {
- margin: 0;
-}
-
-.margin-bottom-5 {
- margin-bottom: 5px;
-}
-
-.margin-bottom-10 {
- margin-bottom: 10px !important;
-}
-
-.margin-top-10 {
- margin-top: 10px !important;
-}
-
-.margin-top-15 {
- margin-top: 15px !important;
-}
-
-.margin-bottom-15 {
- margin-bottom: 15px !important;
-}
-
-.margin-bottom-20 {
- margin-bottom: 20px !important;
-}
-
-.margin-top-20 {
- margin-top: 20px !important;
-}
-
-.margin-bottom-25 {
- margin-bottom: 25px !important;
-}
-
-.margin-bottom-30 {
- margin-bottom: 30px !important;
-}
-
-.margin-right-10 {
- margin-right: 10px !important;
-}
-
-/* IE8 & IE9 mode utilities */
-.visible-ie8 {
- display: none;
-}
-
-.ie8 .visible-ie8 {
- display: inherit !important;
-}
-
-.visible-ie9 {
- display: none;
-}
-
-.ie9 .visible-ie9 {
- display: inherit !important;
-}
-
-.hidden-ie8 {
- display: inherit;
-}
-
-.ie8 .hidden-ie8 {
- display: none !important;
-}
-
-.hidden-ie9 {
- display: inherit;
-}
-
-.ie9 .hidden-ie9 {
- display: none !important;
-}
-
-/***
-Responsive Utils
-***/
-@media (max-width: 1024px) {
- .hidden-1024 {
- display: none;
- }
-}
-
-@media (max-width: 480px) {
- .hidden-480 {
- display: none;
- }
-}
-
-@media (max-width: 320px) {
- .hidden-320 {
- display: none;
- }
-}
-
-/***
-Demo Utils
-***/
-.scrollspy-example {
- position: relative;
- height: 200px;
- margin-top: 10px;
- overflow: auto;
-}
-
-.util-btn-margin-bottom-5 .btn {
- margin-bottom: 5px !important;
-}
-
-.util-btn-group-margin-bottom-5 .btn-group {
- margin-bottom: 5px !important;
-}
-
-/***
-Users
-***/
-.user-info {
- margin-bottom: 10px !important;
-}
-
-.user-info img {
- float: left;
- margin-right: 5px;
-}
-
-.user-info .details {
- display: inline-block;
-}
-
-.user-info .label {
- font-weight: 300;
- font-size: 11px;
-}
-
-/***
-Top News Blocks(new in v1.2.2)
-***/
-.top-news {
- color: #fff;
- margin: 8px 0;
-}
-
-.top-news em {
- font-size: 13px;
- margin-bottom: 8px;
- margin-bottom: 0;
- font-style: normal;
- display: block;
-}
-
-.top-news em i {
- font-size: 14px;
-}
-
-.top-news span {
- font-size: 18px;
- margin-bottom: 5px;
- display: block;
- text-align: left;
-}
-
-.top-news a {
- display: block;
- text-align: left;
- padding: 10px;
- position: relative;
- margin-bottom: 10px;
-}
-
-.top-news a .top-news-icon {
- right: 8px;
- bottom: 15px;
- opacity: 0.3;
- font-size: 35px;
- position: absolute;
- filter: alpha(opacity=30);
- /*For IE8*/
-}
-
-/***
-Block Images(new in v1.2.2)
-***/
-.blog-images {
- margin-bottom: 0;
-}
-
-.blog-images li {
- padding: 0;
- margin: 0;
- display: inline;
-}
-
-.blog-images li a:hover {
- text-decoration: none;
-}
-
-.blog-images li img {
- width: 50px;
- height: 50px;
- opacity: 0.6;
- margin: 0 2px 8px;
-}
-
-.blog-images li img:hover {
- opacity: 1;
- box-shadow: 0 0 0 4px #72c02c;
- transition: all 0.4s ease-in-out 0s;
- -moz-transition: all 0.4s ease-in-out 0s;
- -webkit-transition: all 0.4s ease-in-out 0s;
-}
-
-/***
-Sidebar Tags
-***/
-.sidebar-tags li {
- padding: 0;
-}
-
-.sidebar-tags li a {
- color: #555;
- font-size: 12px;
- padding: 3px 5px;
- background: #f7f7f7;
- margin: 0 2px 5px 0;
- display: inline-block;
-}
-
-.sidebar-tags li a:hover, .sidebar-tags li a:hover i {
- background: #EEE;
- text-decoration: none;
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
-}
-
-.sidebar-tags li a i {
- color: #777;
-}
-
-/***
-Custom vertical inline menu
-***/
-.ver-inline-menu {
- padding: 0;
- margin: 0;
- list-style: none;
-}
-
-.ver-inline-menu li {
- position: relative;
- margin-bottom: 1px;
-}
-
-.ver-inline-menu li i {
- width: 37px;
- height: 37px;
- display: inline-block;
- color: #b9cbd5;
- font-size: 15px;
- padding: 12px 10px 10px 8px;
- margin: 0 8px 0 0;
- text-align: center;
- background: #e0eaf0 !important;
-}
-
-.ver-inline-menu li a {
- font-size: 14px;
- font-weight: 300;
- color: #557386;
- display: block;
- background: #f0f6fa;
- border-left: solid 2px #c4d5df;
-}
-
-.ver-inline-menu li:hover a {
- background: #e0eaf0;
- text-decoration: none;
-}
-
-.ver-inline-menu li:hover i {
- color: #fff;
- background: #c4d5df !important;
-}
-
-.ver-inline-menu li.active a {
- border-left: solid 2px #0c91e5;
-}
-
-.ver-inline-menu li.active i {
- background: #0c91e5 !important;
-}
-
-.ver-inline-menu li.active a, .ver-inline-menu li.active i {
- color: #fff;
- background: #169ef4;
- text-decoration: none;
-}
-
-.ver-inline-menu li.active a, .ver-inline-menu li:hover a {
- font-size: 14px;
-}
-
-.ver-inline-menu li.active:after {
- content: '';
- display: inline-block;
- border-bottom: 6px solid transparent;
- border-top: 6px solid transparent;
- border-left: 6px solid #169ef4;
- position: absolute;
- top: 12px;
- right: -5px;
-}
-
-@media (max-width: 767px) {
- .ver-inline-menu > li.active:after {
- display: none;
- }
-}
-
-/***
-Separated List
-***/
-.list-separated {
- margin-top: 10px;
- margin-bottom: 15px;
-}
-
-.list-separated > div {
- border-right1: 1px solid #f5f5f5;
-}
-
-.list-separated > div:last-child {
- border-right: 0;
-}
-
-@media (max-width: 767px) {
- .list-separated {
- /* 767px */
- }
-
- .list-separated > div {
- margin-bottom: 20px;
- }
-}
-
-/***
-Number & Chart Stats
-***/
-.number-stats {
- margin: 10px 0;
-}
-
-.number-stats .stat-number {
- display: inline-block;
- margin: 0 5px;
-}
-
-.number-stats .stat-number .title {
- font-size: 13px;
- margin-bottom: 3px;
- color: #B8C3C7;
-}
-
-.number-stats .stat-number .number {
- font-size: 27px;
- line-height: 27px;
- color: #7D8C9D;
-}
-
-.number-stats .stat-chart {
- display: inline-block;
- margin: 0 5px;
-}
-
-.number-stats > div {
- border-right: 1px solid #f5f5f5;
-}
-
-.number-stats > div:last-child {
- border-right: 0;
-}
-
-.number-stats .stat-left {
- float: right;
-}
-
-.number-stats .stat-left .stat-number {
- float: right;
- text-align: right;
-}
-
-.number-stats .stat-left .stat-chart {
- float: right;
-}
-
-.number-stats .stat-right {
- float: left !important;
-}
-
-.number-stats .stat-right .stat-number {
- float: left;
- text-align: left;
-}
-
-.number-stats .stat-right .stat-chart {
- float: left;
-}
-
-.number-stats .stat-number {
- float: left;
- text-align: left;
-}
-
-.number-stats .stat-chart {
- float: left;
-}
-
-/***
-General User Record Listing
-***/
-.general-item-list > .item {
- padding: 10px 0;
- border-bottom: 1px solid #F1F4F7;
-}
-
-.general-item-list > .item:last-child {
- border-bottom: 0;
-}
-
-.general-item-list > .item > .item-head {
- margin-bottom: 5px;
-}
-
-.general-item-list > .item > .item-head:before, .general-item-list > .item > .item-head:after {
- content: " ";
- display: table;
-}
-
-.general-item-list > .item > .item-head:after {
- clear: both;
-}
-
-.general-item-list > .item > .item-head > .item-details {
- display: inline-block;
- float: left;
-}
-
-.general-item-list > .item > .item-head > .item-details > .item-pic {
- height: 35px;
- margin-right: 10px;
- -webkit-border-radius: 100%;
- -moz-border-radius: 100%;
- -ms-border-radius: 100%;
- -o-border-radius: 100%;
- border-radius: 100%;
-}
-
-.general-item-list > .item > .item-head > .item-details > .item-name {
- display: inline-block;
- margin-right: 10px;
-}
-
-.general-item-list > .item > .item-head > .item-details > .item-label {
- color: #C0C9CC;
-}
-
-.general-item-list > .item > .item-head > .item-status {
- color: #C0C9CC;
- top: 10px;
- position: relative;
- display: inline-block;
- float: right;
-}
-
-.general-item-list > .item > .item-head > .item-status > .badge {
- margin-top: -2px;
-}
-
-.general-item-list > .item > .item-body {
- color: #96a5aa;
-}
-
-/***
-File dropzone
-***/
-.file-drop-zone {
- border: 2px dashed #ddd;
- padding: 30px;
- text-align: center;
-}
-
-.file-drop-zone.file-drop-zone-over {
- border-color: #aaa;
-}
-
-/***
-Fontawesome Icons
-***/
-[class^="fa-"],
-[class^="glyphicon-"],
-[class^="icon-"],
-[class*=" fa-"],
-[class*=" glyphicon-"],
-[class*=" icon-"] {
- display: inline-block;
- margin-top: 1px;
- font-size: 14px;
- *margin-right: .3em;
- line-height: 14px;
- -webkit-font-smoothing: antialiased;
-}
-
-/* Make font awesome icons fixed width */
-li [class^="fa-"],
-li [class^="glyphicon-"],
-li [class^="icon-"],
-li [class*=" fa-"],
-li [class*=" glyphicon-"],
-li [class*=" icon-"] {
- display: inline-block;
- width: 1.25em;
- text-align: center;
-}
-
-li [class^="glyphicon-"],
-li [class*=" glyphicon-"] {
- top: 2px;
-}
-
-li [class^="icon-"],
-li [class*=" icon-"] {
- top: 1px;
- position: relative;
-}
-
-li [class^="fa-"].icon-large,
-li [class^="glyphicon-"].icon-large,
-li [class^="icon-"].icon-large,
-li [class*=" fa-"].icon-large,
-li [class*=" glyphicon-"].icon-large,
-li [class*=" icon-"].icon-large {
- /* increased font size for icon-large */
- width: 1.5625em;
-}
-
-/* Icon sizing */
-.fa-sm,
-.icon-sm {
- font-size: 12px;
-}
-
-.fa-lg,
-.icon-lg {
- font-size: 16px !important;
-}
-
-.fa-2x {
- font-size: 2em;
-}
-
-.fa-3x {
- font-size: 3em;
-}
-
-.fa-4x {
- font-size: 4em;
-}
-
-.fa-5x {
- font-size: 5em;
-}
-
-/* Icon coloring */
-.icon-state-default {
- color: #c6c6c6;
-}
-
-.icon-state-success {
- color: #45B6AF;
-}
-
-.icon-state-info {
- color: #89C4F4;
-}
-
-.icon-state-warning {
- color: #dfba49;
-}
-
-.icon-state-danger {
- color: #F3565D;
-}
-
-/***
-Font Awesome 4.x Demo
-***/
-.fa-item {
- font-size: 14px;
- padding: 10px 10px 10px 20px;
-}
-
-.fa-item i {
- font-size: 16px;
- display: inline-block;
- width: 20px;
- color: #333;
-}
-
-.fa-item:hover {
- cursor: pointer;
- background: #eee;
-}
-
-/***
-Simple Line Icons Demo
-***/
-.simplelineicons-demo .item-box {
- display: inline-block;
- font-size: 16px;
- margin: 0 -0.22em 1em 0;
- padding-left: 1em;
- width: 100%;
-}
-
-.simplelineicons-demo .item-box .item {
- background-color: #fff;
- color: #33383e;
- border-radius: 8px;
- display: inline-block;
- padding: 10px;
- width: 100%;
-}
-
-.simplelineicons-demo .item-box .item span {
- font-size: 22px;
-}
-
-@media only screen and (min-width: 768px) {
- .simplelineicons-demo .item-box {
- width: 33.333%;
- }
-}
-
-/***
-Glyphicons Demo
-***/
-.glyphicons-demo ul {
- padding-left: 0;
- padding-bottom: 1px;
- margin-bottom: 20px;
- list-style: none;
- overflow: hidden;
-}
-
-.bs-glyphicon-class {
- text-align: center;
-}
-
-.bs-glyphicons {
- padding-left: 0;
- padding-bottom: 1px;
- margin-bottom: 20px;
- list-style: none;
- overflow: hidden;
-}
-
-.glyphicons-demo ul li {
- float: left;
- width: 25%;
- height: 115px;
- padding: 10px;
- margin: 0 -1px -1px 0;
- font-size: 14px;
- line-height: 1.4;
- text-align: center;
- border: 1px solid #ddd;
-}
-
-.glyphicons-demo .glyphicon {
- display: block;
- margin: 5px auto 10px;
- font-size: 24px;
- color: #444;
-}
-
-.glyphicons-demo ul li:hover {
- background-color: rgba(86, 61, 124, 0.1);
-}
-
-@media (min-width: 768px) {
- .glyphicons-demo ul li {
- width: 12.5%;
- }
-}
-
-/***
-Customized Bootstrap Alerts
-***/
-.alert {
- border-width: 1px;
-}
-
-.alert.alert-borderless {
- border: 0;
-}
-
-/***
-Bootstrap Alerts
-***/
-.alert-success {
- background-color: #dff0d8;
- border-color: #d6e9c6;
- color: #3c763d;
-}
-
-.alert-success hr {
- border-top-color: #c9e2b3;
-}
-
-.alert-success .alert-link {
- color: #2b542c;
-}
-
-.alert-info {
- background-color: #d9edf7;
- border-color: #bce8f1;
- color: #31708f;
-}
-
-.alert-info hr {
- border-top-color: #a6e1ec;
-}
-
-.alert-info .alert-link {
- color: #245269;
-}
-
-.alert-warning {
- background-color: #fcf8e3;
- border-color: #faebcc;
- color: #8a6d3b;
-}
-
-.alert-warning hr {
- border-top-color: #f7e1b5;
-}
-
-.alert-warning .alert-link {
- color: #66512c;
-}
-
-.alert-danger {
- background-color: #f2dede;
- border-color: #ebccd1;
- color: #a94442;
-}
-
-.alert-danger hr {
- border-top-color: #e4b9c0;
-}
-
-.alert-danger .alert-link {
- color: #843534;
-}
-
-/***
-Custom Bootstrap Badges
-***/
-.badge {
- font-size: 11px !important;
- font-weight: 300;
- text-align: center;
- height: 18px;
- padding: 3px 6px 3px 6px;
- -webkit-border-radius: 12px !important;
- -moz-border-radius: 12px !important;
- border-radius: 12px !important;
- text-shadow: none !important;
- text-align: center;
- vertical-align: middle;
-}
-
-.badge.badge-roundless {
- -webkit-border-radius: 0 !important;
- -moz-border-radius: 0 !important;
- border-radius: 0 !important;
-}
-
-.badge.badge-empty {
- display: inline-block;
- padding: 0;
- min-width: 8px;
- height: 8px;
- width: 8px;
-}
-
-/* Badge variants */
-.badge-default {
- background-color: #c6c6c6;
- background-image: none;
-}
-
-.badge-primary {
- background-color: #428bca;
- background-image: none;
-}
-
-.badge-info {
- background-color: #89C4F4;
- background-image: none;
-}
-
-.badge-success {
- background-color: #45B6AF;
- background-image: none;
-}
-
-.badge-danger {
- background-color: #F3565D;
- background-image: none;
-}
-
-.badge-warning {
- background-color: #dfba49;
- background-image: none;
-}
-
-/* Fix badge position for navs */
-.nav.nav-pills > li > a > .badge,
-.nav.nav-stacked > li > a > .badge {
- margin-top: -2px;
-}
-
-/***
-Dropdown Menu Badges
-***/
-.dropdown-menu > li > a > .badge {
- position: absolute;
- margin-top: 1px;
- right: 3px;
- display: inline;
- font-size: 11px;
- font-weight: 300;
- text-shadow: none;
- height: 18px;
- padding: 3px 6px 3px 6px;
- text-align: center;
- vertical-align: middle;
- -webkit-border-radius: 12px !important;
- -moz-border-radius: 12px !important;
- border-radius: 12px !important;
-}
-
-.dropdown-menu.badge-roundless {
- -webkit-border-radius: 0 !important;
- -moz-border-radius: 0 !important;
- border-radius: 0 !important;
-}
-
-/***
-Customized Bootstrap Buttons
-***/
-/* Default buttons */
-.btn {
- border-width: 0;
- padding: 7px 14px;
- font-size: 14px;
- outline: none !important;
- background-image: none !important;
- filter: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
- text-shadow: none;
-}
-
-.btn.dropdown-toggle, .btn-group .btn.dropdown-toggle, .btn:hover, .btn:disabled, .btn[disabled], .btn:focus, .btn:active, .btn.active {
- outline: none !important;
- background-image: none !important;
- filter: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
- text-shadow: none;
-}
-
-.btn-default {
- border-width: 1px;
- padding: 6px 13px;
-}
-
-.btn-block {
- display: block;
- width: 100%;
- padding-left: 0;
- padding-right: 0;
-}
-
-/* Bootstrap buttons */
-.btn-default {
- color: #333;
- background-color: #fff;
- border-color: #ccc;
-}
-
-.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active {
- color: #333;
- background-color: #ededed;
- border-color: #b3b3b3;
-}
-
-.open .btn-default.dropdown-toggle {
- color: #333;
- background-color: #ededed;
- border-color: #b3b3b3;
-}
-
-.btn-default:active, .btn-default.active {
- background-image: none;
- background-color: #e0e0e0;
-}
-
-.btn-default:active:hover, .btn-default.active:hover {
- background-color: #e6e6e6;
-}
-
-.open .btn-default.dropdown-toggle {
- background-image: none;
-}
-
-.btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled:active, .btn-default.disabled.active, .btn-default[disabled], .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled]:active, .btn-default[disabled].active, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default.active {
- background-color: #fff;
- border-color: #ccc;
-}
-
-.btn-default .badge {
- color: #fff;
- background-color: #333;
-}
-
-.btn-default > i {
- color: #aaa;
-}
-
-.btn-default > i[class^="icon-"],
-.btn-default > i[class*="icon-"] {
- color: #8c8c8c;
-}
-
-.btn-primary {
- color: #fff;
- background-color: #428bca;
- border-color: #357ebd;
-}
-
-.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
- color: #fff;
- background-color: #3379b5;
- border-color: #2a6496;
-}
-
-.open .btn-primary.dropdown-toggle {
- color: #fff;
- background-color: #3379b5;
- border-color: #2a6496;
-}
-
-.btn-primary:active, .btn-primary.active {
- background-image: none;
- background-color: #2d6ca2;
-}
-
-.btn-primary:active:hover, .btn-primary.active:hover {
- background-color: #3071a9;
-}
-
-.open .btn-primary.dropdown-toggle {
- background-image: none;
-}
-
-.btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary[disabled], .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled]:active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary.active {
- background-color: #428bca;
- border-color: #357ebd;
-}
-
-.btn-primary .badge {
- color: #428bca;
- background-color: #fff;
-}
-
-.btn-success {
- color: #fff;
- background-color: #45B6AF;
- border-color: #3ea49d;
-}
-
-.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active {
- color: #fff;
- background-color: #3b9c96;
- border-color: #307f7a;
-}
-
-.open .btn-success.dropdown-toggle {
- color: #fff;
- background-color: #3b9c96;
- border-color: #307f7a;
-}
-
-.btn-success:active, .btn-success.active {
- background-image: none;
- background-color: #348a84;
-}
-
-.btn-success:active:hover, .btn-success.active:hover {
- background-color: #37918b;
-}
-
-.open .btn-success.dropdown-toggle {
- background-image: none;
-}
-
-.btn-success.disabled, .btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled:active, .btn-success.disabled.active, .btn-success[disabled], .btn-success[disabled]:hover, .btn-success[disabled]:focus, .btn-success[disabled]:active, .btn-success[disabled].active, fieldset[disabled] .btn-success, fieldset[disabled] .btn-success:hover, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success:active, fieldset[disabled] .btn-success.active {
- background-color: #45B6AF;
- border-color: #3ea49d;
-}
-
-.btn-success .badge {
- color: #45B6AF;
- background-color: #fff;
-}
-
-.btn-info {
- color: #fff;
- background-color: #89C4F4;
- border-color: #72b8f2;
-}
-
-.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active {
- color: #fff;
- background-color: #68b4f1;
- border-color: #43a1ed;
-}
-
-.open .btn-info.dropdown-toggle {
- color: #fff;
- background-color: #68b4f1;
- border-color: #43a1ed;
-}
-
-.btn-info:active, .btn-info.active {
- background-image: none;
- background-color: #51a8ef;
-}
-
-.btn-info:active:hover, .btn-info.active:hover {
- background-color: #5aadf0;
-}
-
-.open .btn-info.dropdown-toggle {
- background-image: none;
-}
-
-.btn-info.disabled, .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled:active, .btn-info.disabled.active, .btn-info[disabled], .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled]:active, .btn-info[disabled].active, fieldset[disabled] .btn-info, fieldset[disabled] .btn-info:hover, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info.active {
- background-color: #89C4F4;
- border-color: #72b8f2;
-}
-
-.btn-info .badge {
- color: #89C4F4;
- background-color: #fff;
-}
-
-.btn-warning {
- color: #fff;
- background-color: #dfba49;
- border-color: #dbb233;
-}
-
-.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active {
- color: #fff;
- background-color: #daae2b;
- border-color: #bb9521;
-}
-
-.open .btn-warning.dropdown-toggle {
- color: #fff;
- background-color: #daae2b;
- border-color: #bb9521;
-}
-
-.btn-warning:active, .btn-warning.active {
- background-image: none;
- background-color: #c89f23;
-}
-
-.btn-warning:active:hover, .btn-warning.active:hover {
- background-color: #d0a625;
-}
-
-.open .btn-warning.dropdown-toggle {
- background-image: none;
-}
-
-.btn-warning.disabled, .btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled:active, .btn-warning.disabled.active, .btn-warning[disabled], .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled]:active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning, fieldset[disabled] .btn-warning:hover, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning.active {
- background-color: #dfba49;
- border-color: #dbb233;
-}
-
-.btn-warning .badge {
- color: #dfba49;
- background-color: #fff;
-}
-
-.btn-danger {
- color: #fff;
- background-color: #F3565D;
- border-color: #f13e46;
-}
-
-.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active {
- color: #fff;
- background-color: #f1353d;
- border-color: #ec111b;
-}
-
-.open .btn-danger.dropdown-toggle {
- color: #fff;
- background-color: #f1353d;
- border-color: #ec111b;
-}
-
-.btn-danger:active, .btn-danger.active {
- background-image: none;
- background-color: #ef1d26;
-}
-
-.btn-danger:active:hover, .btn-danger.active:hover {
- background-color: #f0262f;
-}
-
-.open .btn-danger.dropdown-toggle {
- background-image: none;
-}
-
-.btn-danger.disabled, .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled:active, .btn-danger.disabled.active, .btn-danger[disabled], .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled]:active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger, fieldset[disabled] .btn-danger:hover, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger:active, fieldset[disabled] .btn-danger.active {
- background-color: #F3565D;
- border-color: #f13e46;
-}
-
-.btn-danger .badge {
- color: #F3565D;
- background-color: #fff;
-}
-
-/* Button sizes */
-.btn > i {
- font-size: 14px;
-}
-
-.btn-lg {
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- vertical-align: middle;
-}
-
-.btn-lg > i {
- font-size: 18px;
-}
-
-.btn-sm,
-.btn-xs {
- padding: 4px 10px 5px 10px;
- font-size: 13px;
- line-height: 1.5;
-}
-
-.btn-sm > i,
-.btn-xs > i {
- font-size: 13px;
-}
-
-.btn-xs {
- padding: 1px 5px;
-}
-
-.btn-xs > i {
- font-size: 12px;
-}
-
-/* Small button in button group */
-.btn-group .input-sm .btn-default {
- padding-top: 3px;
- padding-bottom: 3px;
-}
-
-/* Arrow link */
-.btn-arrow-link {
- vertical-align: middle;
- display: inline-block;
- font-size: 13px;
-}
-
-.btn-arrow-link > i {
- font-size: 14px;
- line-height: 14px;
- vertical-align: top;
- margin: 2px 3px 2px 3px;
- color: #999;
-}
-
-.btn-arrow-link.btn-arrow-link-lg {
- font-size: 14px;
-}
-
-.btn-arrow-link.btn-arrow-link-lg > i {
- font-size: 16px;
- line-height: 16px;
- margin: 2px 3px 1px 3px;
-}
-
-/* Circle Buttons */
-.btn-circle {
- border-radius: 25px !important;
-}
-
-.btn-circle-right {
- border-radius: 0 25px 25px 0 !important;
-}
-
-.btn-circle-left {
- border-radius: 25px 0 0 25px !important;
-}
-
-.btn-circle-bottom {
- border-radius: 0 0 25px 25px !important;
-}
-
-.btn-circle-top {
- border-radius: 25px 25px 0 0 !important;
-}
-
-.btn-icon-only {
- height: 34px;
- width: 34px;
- text-align: center;
- padding-left: 0;
- padding-right: 0;
-}
-
-.btn-icon-only > [class^="icon-"],
-.btn-icon-only > i {
- text-align: center;
- margin-top: 2px;
-}
-
-.btn-sm > [class^="glyphicon-"],
-.btn-sm > [class*=" glyphicon-"],
-.btn-sm > i {
- font-size: 13px;
-}
-
-.btn-xs > [class^="glyphicon-"],
-.btn-xs > [class*=" glyphicon-"],
-.btn-xs > i {
- font-size: 11px;
-}
-
-.btn-group.btn-group-circle > .btn:first-child {
- border-radius: 25px 0 0 25px !important;
-}
-
-.btn-group.btn-group-circle > .btn:last-child {
- border-radius: 0 25px 25px 0 !important;
-}
-
-.btn-group.btn-group-devided > .btn {
- margin-right: 5px;
-}
-
-.btn-group.btn-group-devided > .btn:last-child {
- margin-right: 0;
-}
-
-.btn-group-vertical.btn-group-vertical-circle > .btn:first-child {
- border-radius: 25px 25px 0 0 !important;
-}
-
-.btn-group-vertical.btn-group-vertical-circle > .btn:last-child {
- border-radius: 0 0 25px 25px !important;
-}
-
-/***
-Image Carousel
-***/
-.carousel.image-carousel .carousel-inner {
- padding-top: 0;
- padding-bottom: 0;
-}
-
-.carousel.image-carousel .carousel-control i {
- position: absolute;
- top: 40%;
-}
-
-.carousel.image-carousel.image-carousel-hoverable .carousel-control i {
- display: none;
-}
-
-.carousel.image-carousel.image-carousel-hoverable:hover .carousel-control i {
- display: inline-block;
-}
-
-.carousel.image-carousel .carousel-control.left i {
- left: 10px;
-}
-
-.carousel.image-carousel .carousel-control.right i {
- right: 10px;
-}
-
-.carousel.image-carousel .carousel-indicators {
- margin-top: 10px;
- bottom: -7px;
-}
-
-.carousel.image-carousel .carousel-indicators li {
- background-color: #666;
-}
-
-.carousel.image-carousel .carousel-indicators li.active {
- background-color: #666;
-}
-
-.carousel.image-carousel .carousel-caption {
- position: absolute;
- right: 0;
- bottom: 0;
- left: 0;
- padding: 15px 15px 25px 15px;
- background: #333333;
- background: rgba(0, 0, 0, 0.75);
-}
-
-.carousel.image-carousel .carousel-caption h4,
-.carousel.image-carousel .carousel-caption h3,
-.carousel.image-carousel .carousel-caption h2,
-.carousel.image-carousel .carousel-caption p {
- text-align: left;
- line-height: 20px;
- color: #ffffff;
-}
-
-.carousel.image-carousel .carousel-caption h4,
-.carousel.image-carousel .carousel-caption h3,
-.carousel.image-carousel .carousel-caption h2 {
- margin: 0 0 5px;
-}
-
-.carousel.image-carousel .carousel-caption h4 a,
-.carousel.image-carousel .carousel-caption h3 a,
-.carousel.image-carousel .carousel-caption h2 a {
- color: #aaa;
-}
-
-.carousel.image-carousel .carousel-caption p {
- margin-bottom: 0;
-}
-
-.carousel.image-carousel .carousel-caption .item {
- margin: 0;
-}
-
-/***
-Charts and statistics
-***/
-.chart,
-.pie,
-.bars {
- overflow: hidden;
- height: 300px;
- width: 100%;
- font-family: "Open Sans", sans-serif !important;
- font-size: 14px;
-}
-
-/***
-Statistic lists
-***/
-.item-list.table .percent {
- width: 30px;
- float: right;
- margin-right: 10px;
- margin-top: 3px;
-}
-
-/***
-Chart tooltips
-***/
-.chart-tooltip {
- clear: both;
- z-index: 100;
- background-color: #736e6e !important;
- padding: 5px !important;
- color: #fff;
-}
-
-.chart-tooltip .label {
- clear: both;
- display: block;
- margin-bottom: 2px;
-}
-
-/***
-Mini chart containers
-***/
-.bar-chart,
-.line-chart {
- display: none;
-}
-
-/***
-Chats
-***/
-.chats {
- margin: 0;
- padding: 0;
- margin-top: -15px;
-}
-
-.chats li {
- list-style: none;
- padding: 5px 0;
- margin: 10px auto;
- font-size: 12px;
-}
-
-.chats li .body {
- display: block;
-}
-
-.chats li .avatar {
- height: 45px;
- width: 45px;
- -webkit-border-radius: 50% !important;
- -moz-border-radius: 50% !important;
- border-radius: 50% !important;
-}
-
-.chats li.in .avatar {
- float: left;
- margin-right: 10px;
-}
-
-.chats li.out .avatar {
- float: right;
- margin-left: 10px;
-}
-
-.chats li .name {
- color: #3590c1;
- font-size: 13px;
- font-weight: 400;
-}
-
-.chats li .datetime {
- color: #333;
- font-size: 13px;
- font-weight: 400;
-}
-
-.chats li .message {
- display: block;
- padding: 5px;
- position: relative;
-}
-
-.chats li.in .message {
- text-align: left;
- border-left: 2px solid #1BBC9B;
- margin-left: 65px;
- background: #fafafa;
-}
-
-.chats li.in .message .arrow {
- display: block;
- position: absolute;
- top: 5px;
- left: -8px;
- width: 0;
- height: 0;
- border-top: 8px solid transparent;
- border-bottom: 8px solid transparent;
- border-right: 8px solid #1BBC9B;
-}
-
-.chats li.out .message {
- border-right: 2px solid #F3565D;
- margin-right: 65px;
- background: #fafafa;
- text-align: right;
-}
-
-.chats li.out .message .arrow {
- display: block;
- position: absolute;
- top: 5px;
- right: -8px;
- border-top: 8px solid transparent;
- border-bottom: 8px solid transparent;
- border-left: 8px solid #F3565D;
-}
-
-.chats li.out .name,
-.chats li.out .datetime {
- text-align: right;
-}
-
-.chat-form {
- margin-top: 15px;
- padding: 10px;
- background-color: #e9eff3;
- overflow: hidden;
- clear: both;
-}
-
-.chat-form .input-cont {
- margin-right: 40px;
-}
-
-.chat-form .input-cont .form-control {
- border: 1px solid #ddd;
- width: 100% !important;
- margin-top: 0;
- background-color: #fff !important;
-}
-
-.chat-form .input-cont .form-control:focus {
- border: 1px solid #4b8df9 !important;
-}
-
-.chat-form .btn-cont {
- margin-top: -42px;
- position: relative;
- float: right;
- width: 44px;
-}
-
-.chat-form .btn-cont .arrow {
- position: absolute;
- top: 17px;
- right: 43px;
- border-top: 8px solid transparent;
- border-bottom: 8px solid transparent;
- border-right: 8px solid #4d90fe;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-.chat-form .btn-cont .btn {
- margin-top: 8px;
-}
-
-.chat-form .btn-cont:hover .arrow {
- border-right-color: #0362fd;
-}
-
-.chat-form .btn-cont:hover .btn {
- background-color: #0362fd;
-}
-
-/***
-Customized Bootstrap Close Icon
-***/
-/*
-.close {
- display: inline-block;
- margin-top: 0px;
- margin-right: 0px;
- width: 9px;
- height: 9px;
- background-repeat: no-repeat !important;
- text-indent: -10000px;
- outline: none;
- background-image: url("../img/remove-icon-small.png") !important;
-}
-*/
-/***
-Customized Bootstrap Dropdowns
-***/
-/***
-Dropdowns
-***/
-.dropup.open > .dropdown-toggle,
-.dropdown.open > .dropdown-toggle {
- border-color: #ddd;
-}
-
-/***
-Dropdown Menu
-***/
-.dropdown-menu {
- min-width: 175px;
- position: absolute;
- top: 100%;
- left: 0;
- z-index: 1000;
- display: none;
- float: left;
- list-style: none;
- text-shadow: none;
- padding: 0px;
- margin: 10px 0px 0px 0px;
- background-color: #fffff;
- box-shadow: 5px 5px rgba(102, 102, 102, 0.1);
- border: 1px solid #eee;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- border-radius: 4px;
-}
-
-.dropdown-menu li.divider {
- background: #f1f3f6;
-}
-
-.dropdown-menu li > a {
- padding: 8px 14px;
- color: #555;
- text-decoration: none;
- display: block;
- clear: both;
- font-weight: 300;
- line-height: 18px;
- white-space: nowrap;
-}
-
-.dropdown-menu li > a > [class^="fa-"],
-.dropdown-menu li > a > [class*=" fa-"] {
- color: #888;
-}
-
-.dropdown-menu li > a > [class^="icon-"],
-.dropdown-menu li > a > [class*=" icon-"] {
- color: #666;
-}
-
-.dropdown-menu li > a > [class^="glyphicon-"],
-.dropdown-menu li > a > [class*=" glyphicon-"] {
- color: #888;
-}
-
-.dropdown-menu li > a:hover,
-.dropdown-menu .active > a,
-.dropdown-menu .active > a:hover {
- text-decoration: none;
- background-image: none;
- background-color: #f6f6f6;
- color: #555;
- filter: none;
-}
-
-.dropdown-menu.bottom-up {
- top: auto;
- bottom: 100%;
- margin-bottom: 2px;
-}
-
-.dropdown > .dropdown-menu,
-.dropdown-toggle > .dropdown-menu,
-.btn-group > .dropdown-menu {
- margin-top: 10px;
-}
-
-.dropdown > .dropdown-menu:before,
-.dropdown-toggle > .dropdown-menu:before,
-.btn-group > .dropdown-menu:before {
- position: absolute;
- top: -8px;
- left: 9px;
- right: auto;
- display: inline-block !important;
- border-right: 8px solid transparent;
- border-bottom: 8px solid #e0e0e0;
- border-left: 8px solid transparent;
- content: '';
-}
-
-.dropdown > .dropdown-menu:after,
-.dropdown-toggle > .dropdown-menu:after,
-.btn-group > .dropdown-menu:after {
- position: absolute;
- top: -7px;
- left: 10px;
- right: auto;
- display: inline-block !important;
- border-right: 7px solid transparent;
- border-bottom: 7px solid #fff;
- border-left: 7px solid transparent;
- content: '';
-}
-
-.dropdown > .dropdown-menu.pull-left:before,
-.dropdown-toggle > .dropdown-menu.pull-left:before,
-.btn-group > .dropdown-menu.pull-left:before {
- left: auto;
- right: 9px;
-}
-
-.dropdown > .dropdown-menu.pull-left:after,
-.dropdown-toggle > .dropdown-menu.pull-left:after,
-.btn-group > .dropdown-menu.pull-left:after {
- left: auto;
- right: 10px;
-}
-
-.dropdown > .dropdown-menu.pull-right:before,
-.dropdown-toggle > .dropdown-menu.pull-right:before,
-.btn-group > .dropdown-menu.pull-right:before {
- left: auto;
- right: 9px;
-}
-
-.dropdown > .dropdown-menu.pull-right:after,
-.dropdown-toggle > .dropdown-menu.pull-right:after,
-.btn-group > .dropdown-menu.pull-right:after {
- left: auto;
- right: 10px;
-}
-
-.dropdown.dropup > .dropdown-menu,
-.dropdown-toggle.dropup > .dropdown-menu,
-.btn-group.dropup > .dropdown-menu {
- margin-top: 0px;
- margin-bottom: 10px;
-}
-
-.dropdown.dropup > .dropdown-menu:after, .dropdown.dropup > .dropdown-menu:before,
-.dropdown-toggle.dropup > .dropdown-menu:after,
-.dropdown-toggle.dropup > .dropdown-menu:before,
-.btn-group.dropup > .dropdown-menu:after,
-.btn-group.dropup > .dropdown-menu:before {
- display: none !important;
-}
-
-/* Dropdown submenu support for Bootsrap 3 */
-.dropdown-submenu {
- position: relative;
-}
-
-.dropdown-submenu > .dropdown-menu {
- top: 5px;
- left: 100%;
- margin-top: -6px;
- margin-left: -1px;
-}
-
-.dropdown-submenu > a:after {
- position: absolute;
- display: inline-block;
- font-size: 14px;
- right: 7px;
- top: 7px;
- font-family: FontAwesome;
- height: auto;
- content: "\f105";
- font-weight: 300;
-}
-
-.dropdown-submenu:hover > .dropdown-menu {
- display: block;
-}
-
-.dropdown-submenu:hover > a:after {
- border-left-color: #ffffff;
-}
-
-.dropdown-submenu.pull-left {
- float: none;
-}
-
-.dropdown-submenu.pull-left > .dropdown-menu {
- left: -100%;
- margin-left: 10px;
-}
-
-.dropup .dropdown-submenu > .dropdown-menu {
- top: auto;
- bottom: 0;
- margin-top: 0;
- margin-bottom: -2px;
-}
-
-.nav.pull-right > li > .dropdown-menu,
-.nav > li > .dropdown-menu.pull-right {
- right: 0;
- left: auto;
-}
-
-.nav.pull-right > li > .dropdown-menu:before,
-.nav > li > .dropdown-menu.pull-right:before {
- right: 12px;
- left: auto;
-}
-
-.nav.pull-right > li > .dropdown-menu:after,
-.nav > li > .dropdown-menu.pull-right:after {
- right: 13px;
- left: auto;
-}
-
-.nav.pull-right > li > .dropdown-menu .dropdown-menu,
-.nav > li > .dropdown-menu.pull-right .dropdown-menu {
- right: 100%;
- left: auto;
- margin-right: -1px;
- margin-left: 0;
-}
-
-@media (max-width: 767px) {
- /* 767px */
- .navbar-nav .open .dropdown-menu {
- position: absolute;
- float: left;
- width: auto;
- margin-top: 0;
- background-color: #ffffff;
- border: 1px solid #efefef;
- box-shadow: 5px 5px rgba(102, 102, 102, 0.1);
- }
-
- .navbar-nav .open .dropdown-menu > li > a {
- padding: 6px 0 6px 13px;
- color: #333;
- }
-
- .navbar-nav .open .dropdown-menu > li > a:hover,
- .navbar-nav .open .dropdown-menu > li > a:active {
- ackground-color: #eee;
- }
-}
-
-/***
-Dropdown Checkboxes
-***/
-.dropdown-content {
- padding: 5px;
-}
-
-.dropdown-content form {
- margin: 0;
-}
-
-.dropdown.inline .dropdown-menu {
- display: inline-block;
- position: relative;
-}
-
-.dropdown-radiobuttons,
-.dropdown-checkboxes {
- padding: 5px;
-}
-
-.dropdown-radiobuttons label,
-.dropdown-checkboxes label {
- display: block;
- font-weight: 300;
- color: #333;
- margin-bottom: 4px;
- margin-top: 4px;
-}
-
-.dropdown-radiobuttons label .radio,
-.dropdown-checkboxes label .radio {
- margin-right: 3px;
-}
-
-/***
-System feeds
-***/
-.feeds {
- margin: 0px;
- padding: 0px;
- list-style: none;
-}
-
-.feeds li {
- background-color: #fafafa;
- color: #82949a;
- margin-bottom: 7px;
-}
-
-.feeds li:before, .feeds li:after {
- display: table;
- line-height: 0;
- content: "";
-}
-
-.feeds li:after {
- clear: both;
-}
-
-.feeds li:last-child {
- margin-bottom: 0px;
-}
-
-.feeds li .col1 {
- float: left;
- width: 100%;
- clear: both;
-}
-
-.feeds li .col1 > .cont {
- float: left;
- margin-right: 75px;
- overflow: hidden;
-}
-
-.feeds li .col1 > .cont > .cont-col1 {
- float: left;
- margin-right: -100%;
-}
-
-.feeds li .col1 > .cont > .cont-col1 > .label {
- display: inline-block;
- padding: 5px 4px 6px 5px;
- vertical-align: middle;
- text-align: center;
-}
-
-.feeds li .col1 > .cont > .cont-col1 > .label > i {
- text-align: center;
- font-size: 14px;
-}
-
-.feeds li .col1 > .cont > .cont-col2 {
- float: left;
- width: 100%;
-}
-
-.feeds li .col1 > .cont > .cont-col2 > .desc {
- margin-left: 35px;
- padding-top: 4px;
- padding-bottom: 5px;
- overflow: hidden;
-}
-
-.feeds li .col2 {
- float: left;
- width: 75px;
- margin-left: -75px;
-}
-
-.feeds li .col2 > .date {
- padding: 4px 9px 5px 4px;
- text-align: right;
- font-style: italic;
- color: #c1cbd0;
-}
-
-/***
-Form Layouts
-****/
-/* Static info */
-.static-info {
- margin-bottom: 10px;
-}
-
-.static-info .name {
- font-size: 14px;
-}
-
-.static-info .value {
- font-size: 14px;
- font-weight: 600;
-}
-
-.static-info.align-reverse .name, .static-info.align-reverse .value {
- text-align: right;
-}
-
-/* Help blocks */
-.help-block {
- margin-top: 5px;
- margin-bottom: 5px;
-}
-
-.help-inline {
- font-size: 13px;
- color: #737373;
- display: inline-block;
- padding: 5px;
-}
-
-.form-inline input {
- margin-bottom: 0px !important;
-}
-
-/* Control Label */
-.control-label {
- margin-top: 1px;
-}
-
-.control-label .required {
- color: #e02222;
- font-size: 12px;
- padding-left: 2px;
-}
-
-.form {
- padding: 0 !important;
-}
-
-.form .form-body {
- padding: 10px;
-}
-
-.portlet.light .form .form-body {
- padding-left: 0;
- padding-right: 0;
-}
-
-.form .form-actions {
- padding: 20px 10px;
- margin: 0;
- background-color: #f5f5f5;
- border-top: 1px solid #e5e5e5;
- *zoom: 1;
-}
-
-.portlet.light .form .form-actions {
- background: none;
- padding-left: 0;
- padding-right: 0;
-}
-
-.portlet .form .form-actions {
- -webkit-border-radius: 0 0 4px 4px;
- -moz-border-radius: 0 0 4px 4px;
- -ms-border-radius: 0 0 4px 4px;
- -o-border-radius: 0 0 4px 4px;
- border-radius: 0 0 4px 4px;
-}
-
-.form .form-actions:before, .form .form-actions:after {
- content: " ";
- display: table;
-}
-
-.form .form-actions:after {
- clear: both;
-}
-
-.form .form-actions.right {
- padding-left: 0;
- padding-right: 10px;
- text-align: right;
-}
-
-.portlet.light .form .form-actions.right {
- padding-right: 0;
-}
-
-.form .form-actions.left {
- padding-left: 10px;
- padding-right: 0;
- text-align: left;
-}
-
-.portlet.light .form .form-actions.left {
- padding-left: 0;
-}
-
-.form .form-actions.nobg {
- background-color: transparent;
-}
-
-.form .form-actions.top {
- margin-top: 0;
- margin-bottom: 20px;
- border-top: 0;
- border-bottom: 1px solid #e5e5e5;
-}
-
-.portlet.light .form .form-actions.top {
- background: none;
-}
-
-.form .form-actions .btn-set {
- display: inline-block;
-}
-
-@media (max-width: 767px) {
- .form .form-actions {
- /* 767px */
- }
-
- .form .form-actions .btn-set {
- margin-bottom: 3px;
- margin-top: 3px;
- float: left !important;
- }
-}
-
-.form .form-section {
- margin: 30px 0px 25px 0px;
- padding-bottom: 5px;
- border-bottom: 1px solid #eee;
-}
-
-.form .form-section:first-child {
- margin-top: 5px;
-}
-
-/* Checkboxes */
-.checkbox,
-.form-horizontal .checkbox {
- padding: 0;
-}
-
-.checkbox > label,
-.form-horizontal .checkbox > label {
- padding-left: 0;
-}
-
-.checkbox-list > label {
- display: block;
-}
-
-.checkbox-list > label.checkbox-inline {
- display: inline-block;
-}
-
-.checkbox-list > label.checkbox-inline:first-child {
- padding-left: 0;
-}
-
-/* Radio buttons */
-.radio-list > label {
- display: block;
-}
-
-.radio-list > label.radio-inline {
- display: inline-block;
-}
-
-.radio-list > label.radio-inline:first-child {
- padding-left: 0;
-}
-
-/* Radio buttons in horizontal forms */
-.form-horizontal .radio-list .radio {
- padding-top: 1px;
-}
-
-.form-horizontal .radio-list > label {
- margin-bottom: 0;
-}
-
-.form-horizontal .radio > span {
- margin-top: 2px;
-}
-
-/* Rows seperated form layout */
-.form .form-row-seperated .portlet-body {
- padding: 0;
-}
-
-.form .form-row-seperated .form-group {
- margin: 0;
- border-bottom: 1px solid #efefef;
- padding: 15px 0;
-}
-
-.form .form-row-seperated .form-group.last {
- border-bottom: 0;
- margin-bottom: 0;
- padding-bottom: 13px;
-}
-
-.form .form-row-seperated .form-group .help-block {
- margin-bottom: 0;
-}
-
-.form .form-row-seperated .form-body {
- padding: 0;
-}
-
-.form .form-row-seperated .form-actions {
- padding-left: 15px !important;
- padding-right: 15px !important;
-}
-
-/* Form bordered */
-.form .form-bordered .form-group {
- margin: 0;
- border-bottom: 1px solid #efefef;
-}
-
-.form .form-bordered .form-group > div {
- padding: 15px;
- border-left: 1px solid #efefef;
-}
-
-@media (max-width: 991px) {
- .form .form-bordered .form-group > div {
- /* 991px */
- border-left: 0;
- }
-}
-
-.form .form-bordered .form-group.last {
- border-bottom: 0;
-}
-
-.form .form-bordered .form-group .control-label {
- padding-top: 20px;
-}
-
-@media (max-width: 991px) {
- .form .form-bordered .form-group .control-label {
- /* 991px */
- padding-top: 10px;
- }
-}
-
-.form .form-bordered .form-group .help-block {
- margin-bottom: 0;
-}
-
-.form .form-bordered .form-group .form-control {
- margin: 0;
-}
-
-.form .form-bordered .form-body {
- margin: 0;
- padding: 0;
-}
-
-.form .form-bordered .form-actions {
- margin-top: 0;
- padding-left: 16px !important;
- padding-right: 16px !important;
-}
-
-@media (max-width: 991px) {
- .form .form-bordered .form-actions {
- /* 991px */
- padding-left: 15px !important;
- padding-right: 15px !important;
- }
-}
-
-/* Horizontal bordered form */
-.form .form-horizontal.form-bordered.form-row-stripped .form-group:nth-child(even) {
- background-color: #fcfcfc;
-}
-
-.form .form-horizontal.form-bordered.form-row-stripped .form-control {
- background: #fff !important;
-}
-
-.form .form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) {
- background-color: #fcfcfc;
-}
-
-.form .form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) > div {
- background-color: #ffffff;
-}
-
-.form .form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) {
- background-color: #fcfcfc;
-}
-
-/***
-Forms
-***/
-/* Input placeholder font color */
-.form-control::-moz-placeholder {
- color: #b3b3b3;
- opacity: 1;
-}
-
-.form-control:-ms-input-placeholder {
- color: #b3b3b3;
-}
-
-.form-control::-webkit-input-placeholder {
- color: #b3b3b3;
-}
-
-/* Form inputs */
-.form-control {
- font-size: 14px;
- font-weight: normal;
- color: #333;
- background-color: #fff;
- border: 1px solid #e5e5e5;
- -webkit-box-shadow: none;
- box-shadow: none;
- -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-}
-
-.form-control:focus {
- border-color: #999;
- outline: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
- cursor: not-allowed;
- background-color: #eeeeee;
-}
-
-.form-control.height-auto {
- height: auto;
-}
-
-.form-control.form-control-solid {
- background-color: #F1F3F8;
- border-color: #F1F3F8;
- color: #A6B2BA;
-}
-
-.form-control.form-control-solid:focus {
- border-color: #e3e7f1;
-}
-
-.form-control.form-control-solid::-moz-placeholder {
- color: #acb7be;
- opacity: 1;
-}
-
-.form-control.form-control-solid:-ms-input-placeholder {
- color: #acb7be;
-}
-
-.form-control.form-control-solid::-webkit-input-placeholder {
- color: #acb7be;
-}
-
-/* Form uneditable input */
-.uneditable-input {
- padding: 6px 12px;
- min-width: 206px;
- font-size: 14px;
- font-weight: normal;
- height: 34px;
- color: #333;
- background-color: #fff;
- border: 1px solid #e5e5e5;
- -webkit-box-shadow: none;
- box-shadow: none;
- -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-}
-
-/* Form input sizing */
-.input-mini {
- width: 45px !important;
-}
-
-.input-xsmall {
- width: 80px !important;
-}
-
-.input-small {
- width: 145px !important;
-}
-
-.input-medium {
- width: 240px !important;
-}
-
-.input-large {
- width: 320px !important;
-}
-
-.input-xlarge {
- width: 420px !important;
-}
-
-.input-inline {
- display: inline-block;
- width: auto;
- vertical-align: middle;
-}
-
-.form-group .input-inline {
- margin-right: 5px;
-}
-
-.input-sm {
- height: 28px;
- padding: 5px 10px;
- font-size: 13px;
-}
-
-select.input-sm {
- height: 28px;
- line-height: 28px;
- padding: 2px 10px;
-}
-
-@media (max-width: 768px) {
- /* 768px */
- .input-large {
- width: 250px !important;
- }
-
- .input-xlarge {
- width: 300px !important;
- }
-}
-
-/* Input groups */
-.input-group .btn-default {
- border-color: #e5e5e5;
-}
-
-.input-group .input-group-addon {
- border-color: #e5e5e5;
- background: #e5e5e5;
- min-width: 39px;
-}
-
-.input-group .input-group-addon > i {
- color: #999;
-}
-
-/* Input spinner */
-input[type="text"].spinner,
-input[type="password"].spinner,
-input[type="datetime"].spinner,
-input[type="datetime-local"].spinner,
-input[type="date"].spinner,
-input[type="month"].spinner,
-input[type="time"].spinner,
-input[type="week"].spinner,
-input[type="number"].spinner,
-input[type="email"].spinner,
-input[type="url"].spinner,
-input[type="search"].spinner,
-input[type="tel"].spinner,
-input[type="color"].spinner {
- background-image: url("../img/input-spinner.gif") !important;
- background-repeat: no-repeat;
- background-position: right 8px;
-}
-
-/* Form labels */
-label {
- font-weight: 400;
- font-size: 14px;
-}
-
-/* Static form control */
-.form-control-static {
- margin: 2px 0;
- display: inline-block;
-}
-
-/* Feedback states */
-.has-success .help-block,
-.has-success .help-inline,
-.has-success .control-label,
-.has-success .radio,
-.has-success .checkbox,
-.has-success .radio-inline,
-.has-success .checkbox-inline {
- color: #3c763d;
-}
-
-.has-success .form-control {
- border-color: #d6e9c6;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.has-success .form-control:focus {
- border-color: #bbdba1;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.has-success .input-group-addon {
- color: #3c763d;
- border-color: #d6e9c6;
- background-color: #dff0d8;
-}
-
-.has-success .form-control-feedback {
- color: #3c763d;
-}
-
-.has-warning .help-block,
-.has-warning .help-inline,
-.has-warning .control-label,
-.has-warning .radio,
-.has-warning .checkbox,
-.has-warning .radio-inline,
-.has-warning .checkbox-inline {
- color: #8a6d3b;
-}
-
-.has-warning .form-control {
- border-color: #faebcc;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.has-warning .form-control:focus {
- border-color: #f5d89e;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.has-warning .input-group-addon {
- color: #8a6d3b;
- border-color: #faebcc;
- background-color: #fcf8e3;
-}
-
-.has-warning .form-control-feedback {
- color: #8a6d3b;
-}
-
-.has-error .help-block,
-.has-error .help-inline,
-.has-error .control-label,
-.has-error .radio,
-.has-error .checkbox,
-.has-error .radio-inline,
-.has-error .checkbox-inline {
- color: #a94442;
-}
-
-.has-error .form-control {
- border-color: #ebccd1;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.has-error .form-control:focus {
- border-color: #dca7b0;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.has-error .input-group-addon {
- color: #a94442;
- border-color: #ebccd1;
- background-color: #f2dede;
-}
-
-.has-error .form-control-feedback {
- color: #a94442;
-}
-
-/* Circle Inputs */
-.input-circle {
- border-radius: 25px !important;
-}
-
-.input-circle-right {
- border-radius: 0 25px 25px 0 !important;
-}
-
-.input-circle-left {
- border-radius: 25px 0 0 25px !important;
-}
-
-.input-circle-bottom {
- border-radius: 0 0 25px 25px !important;
-}
-
-.input-circle-top {
- border-radius: 25px 25px 0 0 !important;
-}
-
-/***
-Custom icon buttons
-***/
-.icon-btn {
- height: 60px;
- min-width: 80px;
- margin: 5px 5px 0 0;
- border: 1px solid #ddd;
- padding: 12px 0px 0px 0px;
- background-color: #fafafa;
- background-image: none;
- filter: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
- display: inline-block;
- color: #646464;
- text-shadow: none;
- text-align: center;
- cursor: pointer;
- position: relative;
- -webkit-transition: all 0.3s ease;
- -moz-transition: all 0.3s ease;
- -ms-transition: all 0.3s ease;
- -o-transition: all 0.3s ease;
- transition: all 0.3s ease;
-}
-
-.icon-btn:hover {
- text-decoration: none;
- border-color: #999;
- color: #444;
- text-shadow: 0 1px 0px white;
- -webkit-transition: all 0.3s ease;
- -moz-transition: all 0.3s ease;
- -ms-transition: all 0.3s ease;
- -o-transition: all 0.3s ease;
- transition: all 0.3s ease;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-}
-
-.icon-btn:hover > .badge {
- -webkit-transition: all 0.3s ease;
- -moz-transition: all 0.3s ease;
- -ms-transition: all 0.3s ease;
- -o-transition: all 0.3s ease;
- transition: all 0.3s ease;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-}
-
-.icon-btn > div {
- margin-top: 5px;
- margin-bottom: 20px;
- color: #000;
- font-size: 12px;
- font-weight: 300;
-}
-
-.icon-btn > .badge {
- position: absolute;
- font-size: 11px;
- font-weight: 300;
- top: -5px;
- right: -5px;
- padding: 3px 6px 3px 6px;
- color: white;
- text-shadow: none;
- border-width: 0;
- border-style: solid;
- -webkit-border-radius: 12px;
- -moz-border-radius: 12px;
- border-radius: 12px;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-}
-
-.icon-btn > i {
- font-size: 18px;
-}
-
-.ie8 .icon-btn:hover {
- filter: none;
-}
-
-/***
-Input icons
-***/
-.input-icon {
- position: relative;
-}
-
-.input-icon > .form-control {
- padding-left: 33px;
-}
-
-.input-group .input-icon > .form-control {
- -webkit-border-radius: 4px 0 0 4px;
- -moz-border-radius: 4px 0 0 4px;
- -ms-border-radius: 4px 0 0 4px;
- -o-border-radius: 4px 0 0 4px;
- border-radius: 4px 0 0 4px;
-}
-
-.input-icon > i {
- color: #ccc;
- display: block;
- position: absolute;
- margin: 11px 2px 4px 10px;
- z-index: 3;
- width: 16px;
- height: 16px;
- font-size: 16px;
- text-align: center;
-}
-
-.modal .input-icon > i {
- z-index: 10055;
-}
-
-.has-success .input-icon > i {
- color: #45B6AF;
-}
-
-.has-warning .input-icon > i {
- color: #dfba49;
-}
-
-.has-info .input-icon > i {
- color: #89C4F4;
-}
-
-.has-error .input-icon > i {
- color: #F3565D;
-}
-
-.input-icon.right > .form-control {
- padding-right: 33px;
- padding-left: 12px;
-}
-
-.input-group .input-icon.right > .form-control {
- -webkit-border-radius: 0 4px 4px 0;
- -moz-border-radius: 0 4px 4px 0;
- -ms-border-radius: 0 4px 4px 0;
- -o-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
-}
-
-.input-icon.right > i {
- right: 8px;
- float: right;
-}
-
-.input-icon.input-icon-lg > i {
- margin-top: 16px;
-}
-
-.input-icon.input-icon-sm > i {
- margin-top: 8px;
- font-size: 13px;
-}
-
-/***
-Customized Bootstrap Labels
-***/
-.label {
- text-shadow: none !important;
- font-size: 13px;
- font-weight: 300;
- padding: 3px 6px 3px 6px;
- color: #fff;
- font-family: "Open Sans", sans-serif;
-}
-
-.label.label-sm {
- font-size: 12px;
- padding: 0px 4px 1px 4px;
-}
-
-h1 .label, h2 .label, h3 .label, h4 .label, h5 .label, h6 .label {
- font-size: 75%;
-}
-
-/* Labels variants */
-.label-default {
- background-color: #c6c6c6;
-}
-
-.label-default[href]:hover, .label-default[href]:focus {
- background-color: #adadad;
-}
-
-.label-primary {
- background-color: #428bca;
-}
-
-.label-primary[href]:hover, .label-primary[href]:focus {
- background-color: #3071a9;
-}
-
-.label-success {
- background-color: #45B6AF;
-}
-
-.label-success[href]:hover, .label-success[href]:focus {
- background-color: #37918b;
-}
-
-.label-info {
- background-color: #89C4F4;
-}
-
-.label-info[href]:hover, .label-info[href]:focus {
- background-color: #5aadf0;
-}
-
-.label-warning {
- background-color: #dfba49;
-}
-
-.label-warning[href]:hover, .label-warning[href]:focus {
- background-color: #d0a625;
-}
-
-.label-danger {
- background-color: #F3565D;
-}
-
-.label-danger[href]:hover, .label-danger[href]:focus {
- background-color: #f0262f;
-}
-
-/***
-Iconic labels
-***/
-.label.label-icon {
- padding: 4px 0px 4px 4px;
- margin-right: 2px;
- text-align: center !important;
-}
-
-.label.label-icon > i {
- font-size: 12px;
- text-align: center !important;
-}
-
-.ie8 .label.label-icon, .ie9 .label.label-icon {
- padding: 3px 0px 3px 3px;
-}
-
-/***
-Text states
-***/
-.text-default {
- color: #c6c6c6;
-}
-
-.text-primary {
- color: #428bca;
-}
-
-.text-success {
- color: #45B6AF;
-}
-
-.text-info {
- color: #89C4F4;
-}
-
-.text-warning {
- color: #dfba49;
-}
-
-.text-danger {
- color: #F3565D;
-}
-
-/***
-Customized List Group
-***/
-/* Contextual variants */
-.list-group .list-group-item-success {
- color: #3c763d;
- background-color: #dff0d8;
-}
-
-.list-group a.list-group-item-success {
- color: #3c763d;
-}
-
-.list-group a.list-group-item-success .list-group-item-heading {
- color: inherit;
-}
-
-.list-group a.list-group-item-success:hover, .list-group a.list-group-item-success:focus {
- color: #3c763d;
- background-color: #d0e9c6;
-}
-
-.list-group a.list-group-item-success.active, .list-group a.list-group-item-success.active:hover, .list-group a.list-group-item-success.active:focus {
- color: #fff;
- background-color: #3c763d;
- border-color: #3c763d;
-}
-
-.list-group .list-group-item-info {
- color: #31708f;
- background-color: #d9edf7;
-}
-
-.list-group a.list-group-item-info {
- color: #31708f;
-}
-
-.list-group a.list-group-item-info .list-group-item-heading {
- color: inherit;
-}
-
-.list-group a.list-group-item-info:hover, .list-group a.list-group-item-info:focus {
- color: #31708f;
- background-color: #c4e3f3;
-}
-
-.list-group a.list-group-item-info.active, .list-group a.list-group-item-info.active:hover, .list-group a.list-group-item-info.active:focus {
- color: #fff;
- background-color: #31708f;
- border-color: #31708f;
-}
-
-.list-group .list-group-item-warning {
- color: #8a6d3b;
- background-color: #fcf8e3;
-}
-
-.list-group a.list-group-item-warning {
- color: #8a6d3b;
-}
-
-.list-group a.list-group-item-warning .list-group-item-heading {
- color: inherit;
-}
-
-.list-group a.list-group-item-warning:hover, .list-group a.list-group-item-warning:focus {
- color: #8a6d3b;
- background-color: #faf2cc;
-}
-
-.list-group a.list-group-item-warning.active, .list-group a.list-group-item-warning.active:hover, .list-group a.list-group-item-warning.active:focus {
- color: #fff;
- background-color: #8a6d3b;
- border-color: #8a6d3b;
-}
-
-.list-group .list-group-item-danger {
- color: #a94442;
- background-color: #f2dede;
-}
-
-.list-group a.list-group-item-danger {
- color: #a94442;
-}
-
-.list-group a.list-group-item-danger .list-group-item-heading {
- color: inherit;
-}
-
-.list-group a.list-group-item-danger:hover, .list-group a.list-group-item-danger:focus {
- color: #a94442;
- background-color: #ebcccc;
-}
-
-.list-group a.list-group-item-danger.active, .list-group a.list-group-item-danger.active:hover, .list-group a.list-group-item-danger.active:focus {
- color: #fff;
- background-color: #a94442;
- border-color: #a94442;
-}
-
-/***
-UI Loading
-***/
-.loading-message {
- display: inline-block;
- min-width: 125px;
- margin-left: -60px;
- padding: 10px;
- margin: 0 auto;
- color: #000 !important;
- font-size: 13px;
- font-weight: 400;
- text-align: center;
- vertical-align: middle;
-}
-
-.loading-message.loading-message-boxed {
- border: 1px solid #ddd;
- background-color: #eee;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- border-radius: 4px;
- -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
-}
-
-.loading-message > span {
- line-height: 20px;
- vertical-align: middle;
-}
-
-.page-loading {
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- border-radius: 4px;
- position: fixed;
- top: 50%;
- left: 50%;
- min-width: 125px;
- margin-left: -60px;
- margin-top: -30px;
- padding: 7px;
- text-align: center;
- color: #333;
- font-size: 13px;
- border: 1px solid #ddd;
- background-color: #eee;
- vertical-align: middle;
- -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
-}
-
-.page-loading > span {
- line-height: 20px;
- vertical-align: middle;
-}
-
-.page-spinner-bar {
- position: fixed;
- z-index: 10051;
- width: 100px;
- top: 40%;
- left: 50%;
- margin-left: -55px;
- text-align: center;
-}
-
-.page-spinner-bar > div {
- margin: 0 5px;
- width: 18px;
- height: 18px;
- background: #eee;
- border-radius: 100% !important;
- display: inline-block;
- -webkit-animation: bounceDelay 1.4s infinite ease-in-out;
- animation: bounceDelay 1.4s infinite ease-in-out;
- /* Prevent first frame from flickering when animation starts */
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
-}
-
-.page-spinner-bar .bounce1 {
- -webkit-animation-delay: -0.32s;
- animation-delay: -0.32s;
-}
-
-.page-spinner-bar .bounce2 {
- -webkit-animation-delay: -0.16s;
- animation-delay: -0.16s;
-}
-
-.block-spinner-bar {
- display: inline-block;
- width: 80px;
- text-align: center;
-}
-
-.block-spinner-bar > div {
- margin: 0 2px;
- width: 15px;
- height: 15px;
- background: #eee;
- border-radius: 100% !important;
- display: inline-block;
- -webkit-animation: bounceDelay 1.4s infinite ease-in-out;
- animation: bounceDelay 1.4s infinite ease-in-out;
- /* Prevent first frame from flickering when animation starts */
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
-}
-
-.block-spinner-bar .bounce1 {
- -webkit-animation-delay: -0.32s;
- animation-delay: -0.32s;
-}
-
-.block-spinner-bar .bounce2 {
- -webkit-animation-delay: -0.16s;
- animation-delay: -0.16s;
-}
-
-/***
-Metro icons
-***/
-[class^="m-icon-"] {
- display: inline-block;
- width: 14px;
- height: 14px;
- margin-top: 3px;
- line-height: 14px;
- vertical-align: top;
- background-image: url(../img/syncfusion-icons.png);
- background-position: 0 0;
- background-repeat: no-repeat;
-}
-
-[class^="m-icon-big-"] {
- display: inline-block;
- width: 30px;
- height: 30px;
- margin: 6px;
- vertical-align: middle;
- background-image: url(../img/syncfusion-icons.png);
- background-position: 0 0px;
- background-repeat: no-repeat;
-}
-
-/* large icons */
-.btn.m-icon-big {
- padding: 9px 16px 8px 16px;
-}
-
-.btn.m-icon-big.m-icon-only {
- padding: 9px 8px 8px 0px;
-}
-
-.btn.m-icon-big [class^="m-icon-big-"] {
- margin: 0 0 0 10px;
-}
-
-.btn.m-icon-ony > i {
- margin-left: 0px;
-}
-
-/* default icons */
-.btn.m-icon {
- padding: 7px 14px 7px 14px;
-}
-
-.btn.m-icon [class^="m-icon-"] {
- margin: 4px 0 0 5px;
-}
-
-.btn.m-icon.m-icon-only {
- padding: 7px 10px 7px 6px;
-}
-
-/* white icon */
-.m-icon-white {
- background-image: url(../img/syncfusion-icons-white.png);
-}
-
-/* Misc */
-.m-icon-swapright {
- background-position: -27px -10px;
-}
-
-.m-icon-swapdown {
- background-position: -68px -10px;
-}
-
-.m-icon-swapleft {
- background-position: -8px -10px;
-}
-
-.m-icon-swapup {
- background-position: -46px -10px;
-}
-
-.m-icon-big-swapright {
- background-position: -42px -28px;
-}
-
-.m-icon-big-swapdown {
- background-position: -115px -28px;
-}
-
-.m-icon-big-swapleft {
- background-position: -6px -28px;
-}
-
-.m-icon-big-swapup {
- background-position: -78px -28px;
-}
-
-/***
-Customized Bootstrap Modal
-***/
-.modal {
- z-index: 10050 !important;
- outline: none;
- overflow-y: auto !important;
- /* Fix content shifting to the right on modal open due to scrollbar closed */
-}
-
-.modal .modal-header {
- border-bottom: 1px solid #EFEFEF;
-}
-
-.modal .modal-header h3 {
- font-weight: 300;
-}
-
-.modal .modal-header .close {
- margin-top: 0px !important;
-}
-
-.modal .modal-dialog {
- z-index: 10051 !important;
-}
-
-.modal > .loading {
- position: absolute;
- top: 50%;
- left: 50%;
- margin-top: -22px;
- margin-left: -22px;
-}
-
-.modal.in .page-loading {
- display: none;
-}
-
-.modal-open {
- overflow-y: auto !important;
-}
-
-.modal-open-noscroll {
- overflow-y: hidden !important;
-}
-
-.modal-backdrop {
- border: 0;
- outline: none;
- z-index: 10049;
-}
-
-.modal-backdrop, .modal-backdrop.fade.in {
- background-color: #333 !important;
-}
-
-/* Full width modal */
-.modal-full.modal-dialog {
- width: 99%;
-}
-
-@media (max-width: 768px) {
- .modal-full.modal-dialog {
- width: auto;
- }
-}
-
-/***
-Notes
-***/
-.note {
- margin: 0 0 20px 0;
- padding: 15px 30px 15px 15px;
- border-left: 5px solid #eee;
- -webkit-border-radius: 0 4px 4px 0;
- -moz-border-radius: 0 4px 4px 0;
- -ms-border-radius: 0 4px 4px 0;
- -o-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
-}
-
-.note h1,
-.note h2,
-.note h3,
-.note h4,
-.note h5,
-.note h6 {
- margin-top: 0;
-}
-
-.note h1 .close,
-.note h2 .close,
-.note h3 .close,
-.note h4 .close,
-.note h5 .close,
-.note h6 .close {
- margin-right: -10px;
-}
-
-.note p {
- font-size: 13px;
-}
-
-.note p:last-child {
- margin-bottom: 0;
-}
-
-.note code,
-.note .highlight {
- background-color: #fff;
-}
-
-.note.note-default {
- background-color: lightgray;
- border-color: #a0a0a0;
- color: #333333, 80%;
-}
-
-.note.note-default.note-bordered {
- background-color: #c9c9c9;
- border-color: #a5a5a5;
-}
-
-.note.note-primary {
- background-color: #5697d0;
- border-color: #2a7696;
- color: #D8E3F2, 80%;
-}
-
-.note.note-primary.note-bordered {
- background-color: #468dcb;
- border-color: #2c7c9e;
-}
-
-.note.note-success {
- background-color: #eef7ea;
- border-color: #bbdba1;
- color: #3c763d, 80%;
-}
-
-.note.note-success.note-bordered {
- background-color: #e2f1dc;
- border-color: #c1dea8;
-}
-
-.note.note-info {
- background-color: #eef7fb;
- border-color: #91d9e8;
- color: #31708f, 80%;
-}
-
-.note.note-info.note-bordered {
- background-color: #ddeff8;
- border-color: #9adcea;
-}
-
-.note.note-warning {
- background-color: #fcf8e3;
- border-color: #f2cf87;
- color: #8a6d3b, 80%;
-}
-
-.note.note-warning.note-bordered {
- background-color: #faf3d1;
- border-color: #f3d390;
-}
-
-.note.note-danger {
- background-color: #f9f0f0;
- border-color: #dca7b0;
- color: #a94442, 80%;
-}
-
-.note.note-danger.note-bordered {
- background-color: #f3e2e2;
- border-color: #dfaeb7;
-}
-
-/***
-Customized Bootstrap Pagination
-***/
-.pagination {
- margin: 10px 0;
-}
-
-.pagination.pagination-circle > li:first-child > a {
- border-radius: 25px 0 0 25px !important;
-}
-
-.pagination.pagination-circle > li:last-child > a {
- border-radius: 0 25px 25px 0 !important;
-}
-
-.pagination .active > a,
-.pagination .active > a:hover {
- background: #eee;
- border-color: #dddddd;
- color: #333;
-}
-
-/***
-Customized Bootstrap Panels
-***/
-.panel {
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- box-shadow: none !important;
-}
-
-.panel-group .panel {
- overflow: visible;
-}
-
-.panel .panel-body {
- font-size: 13px;
-}
-
-.panel .panel-title > a:hover {
- text-decoration: none;
-}
-
-.accordion .panel .panel-heading {
- padding: 0;
-}
-
-.accordion .panel .panel-title {
- padding: 0;
-}
-
-.accordion .panel .panel-title .accordion-toggle {
- display: block;
- padding: 10px 15px;
-}
-
-.accordion .panel .panel-title .accordion-toggle.accordion-toggle-styled {
- background: url("../img/accordion-plusminus.png") no-repeat;
- background-position: right -19px;
- margin-right: 15px;
-}
-
-.accordion .panel .panel-title .accordion-toggle.accordion-toggle-styled.collapsed {
- background-position: right 12px;
-}
-
-.panel-default {
- border-color: #e0e0e0;
-}
-
-.panel-default > .panel-heading {
- color: #333333;
- background-color: #f9f9f9;
- border-color: #e0e0e0;
-}
-
-.panel-default > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #e0e0e0;
-}
-
-.panel-default > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #e0e0e0;
-}
-
-.panel-primary {
- border-color: #3595bd;
-}
-
-.panel-primary > .panel-heading {
- color: #D8E3F2;
- background-color: #428bca;
- border-color: #3595bd;
-}
-
-.panel-primary > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #3595bd;
-}
-
-.panel-primary > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #3595bd;
-}
-
-.panel-success {
- border-color: #d6e9c6;
-}
-
-.panel-success > .panel-heading {
- color: #3c763d;
- background-color: #dff0d8;
- border-color: #d6e9c6;
-}
-
-.panel-success > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #d6e9c6;
-}
-
-.panel-success > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #d6e9c6;
-}
-
-.panel-info {
- border-color: #bce8f1;
-}
-
-.panel-info > .panel-heading {
- color: #31708f;
- background-color: #d9edf7;
- border-color: #bce8f1;
-}
-
-.panel-info > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #bce8f1;
-}
-
-.panel-info > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #bce8f1;
-}
-
-.panel-warning {
- border-color: #faebcc;
-}
-
-.panel-warning > .panel-heading {
- color: #8a6d3b;
- background-color: #fcf8e3;
- border-color: #faebcc;
-}
-
-.panel-warning > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #faebcc;
-}
-
-.panel-warning > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #faebcc;
-}
-
-.panel-danger {
- border-color: #ebccd1;
-}
-
-.panel-danger > .panel-heading {
- color: #a94442;
- background-color: #f2dede;
- border-color: #ebccd1;
-}
-
-.panel-danger > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #ebccd1;
-}
-
-.panel-danger > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #ebccd1;
-}
-
-/***
-Accordions
-***/
-.accordion-heading {
- background: #eee;
-}
-
-.accordion-heading a {
- text-decoration: none;
-}
-
-.accordion-heading a:hover {
- text-decoration: none;
-}
-
-/***
-Customized Bootstrap Popover
-***/
-.popover {
- box-shadow: 5px 5px rgba(102, 102, 102, 0.1);
- padding: 0;
-}
-
-.popover .popover-title {
- margin: 0 !important;
-}
-
-.popover.name .popover-title,
-name .popover .popover-content,
-.popover.name .popover-content {
- color: #89C4F4;
-}
-
-.popover.name .popover-title,
-name .popover .popover-content,
-.popover.name .popover-content {
- color: #428bca;
-}
-
-.popover.name .popover-title,
-name .popover .popover-content,
-.popover.name .popover-content {
- color: #45B6AF;
-}
-
-.popover.name .popover-title,
-name .popover .popover-content,
-.popover.name .popover-content {
- color: #dfba49;
-}
-
-.popover.name .popover-title,
-name .popover .popover-content,
-.popover.name .popover-content {
- color: #F3565D;
-}
-
-/* popover colors*/
-.popovers.yellow + .popover {
- background: yellow;
-}
-
-.popovers.yellow + .popover .popover-title {
- background: yellow;
-}
-
-.popovers.yellow + .popover .popover-content {
- background: yellow;
-}
-
-/***
-Portlets
-***/
-/* Full Screen portlet mode */
-.page-portlet-fullscreen {
- overflow: hidden;
-}
-
-/* Basic portlet */
-.portlet {
- /*height:300px;*/
- height: 265px;
- margin-top: 0px;
- /*margin-bottom: 25px;*/
- padding: 0px;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- border-radius: 4px;
-}
-
-.portlet.portlet-fullscreen {
- z-index: 10060;
- margin: 0;
- position: fixed;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- width: 100%;
- height: 100%;
- background: #fff;
-}
-
-.portlet.portlet-fullscreen > .portlet-body {
- overflow-y: auto;
- overflow-x: hidden;
- padding: 0 10px;
-}
-
-.portlet.portlet-fullscreen > .portlet-title {
- padding: 0 10px;
-}
-
-.portlet > .portlet-title {
- border-bottom: 1px solid #eee;
- padding: 0;
- margin-bottom: 10px;
- min-height: 41px;
- -webkit-border-radius: 4px 4px 0 0;
- -moz-border-radius: 4px 4px 0 0;
- -ms-border-radius: 4px 4px 0 0;
- -o-border-radius: 4px 4px 0 0;
- border-radius: 4px 4px 0 0;
-}
-
-.portlet > .portlet-title:before, .portlet > .portlet-title:after {
- content: " ";
- display: table;
-}
-
-.portlet > .portlet-title:after {
- clear: both;
-}
-
-.portlet > .portlet-title > .caption {
- float: left;
- display: inline-block;
- font-size: 18px;
- line-height: 18px;
- font-weight: 300;
- padding: 10px 0;
-}
-
-.portlet > .portlet-title > .caption.bold {
- font-weight: 400;
-}
-
-.portlet > .portlet-title > .caption > i {
- float: left;
- margin-top: 4px;
- display: inline-block;
- font-size: 13px;
- margin-right: 5px;
- color: #666;
-}
-
-.portlet > .portlet-title > .caption > i.glyphicon {
- margin-top: 2px;
-}
-
-.portlet > .portlet-title > .caption > .caption-helper {
- padding: 0;
- margin: 0;
- line-height: 13px;
- color: #9eacb4;
- font-size: 13px;
- font-weight: 400;
-}
-
-.portlet > .portlet-title > .actions {
- float: right;
- display: inline-block;
- padding: 6px 0;
-}
-
-.portlet > .portlet-title > .actions > .dropdown-menu i {
- color: #555555;
-}
-
-.portlet > .portlet-title > .actions > .btn,
-.portlet > .portlet-title > .actions > .btn.btn-sm,
-.portlet > .portlet-title > .actions > .btn-group > .btn,
-.portlet > .portlet-title > .actions > .btn-group > .btn.btn-sm {
- padding: 4px 10px;
- font-size: 13px;
- line-height: 1.5;
-}
-
-.portlet > .portlet-title > .actions > .btn.btn-default,
-.portlet > .portlet-title > .actions > .btn.btn-sm.btn-default,
-.portlet > .portlet-title > .actions > .btn-group > .btn.btn-default,
-.portlet > .portlet-title > .actions > .btn-group > .btn.btn-sm.btn-default {
- padding: 3px 9px;
-}
-
-.portlet > .portlet-title > .actions > .btn > i,
-.portlet > .portlet-title > .actions > .btn.btn-sm > i,
-.portlet > .portlet-title > .actions > .btn-group > .btn > i,
-.portlet > .portlet-title > .actions > .btn-group > .btn.btn-sm > i {
- font-size: 13px;
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only {
- padding: 5px 7px 3px 7px;
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only.btn-default {
- padding: 4px 6px 2px 6px;
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only.btn-default > i {
- font-size: 14px;
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only.btn-default.fullscreen {
- font-family: FontAwesome;
- color: #a0a0a0;
- padding-top: 3px;
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only.btn-default.fullscreen.btn-sm {
- padding: 3px 3px !important;
- height: 27px;
- width: 27px;
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only.btn-default.fullscreen:before {
- content: "\f065";
-}
-
-.portlet > .portlet-title > .actions .btn-icon-only.btn-default.fullscreen.on:before {
- content: "\f066";
-}
-
-.portlet > .portlet-title > .tools {
- float: right;
- display: inline-block;
- padding: 12px 0 8px 0;
-}
-
-.portlet > .portlet-title > .tools > a {
- display: inline-block;
- height: 16px;
- margin-left: 5px;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.portlet > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon.png);
- background-repeat: no-repeat;
- width: 11px;
-}
-
-.portlet > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon.png);
- background-repeat: no-repeat;
- width: 12px;
-}
-
-.portlet > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon.png);
- width: 13px;
-}
-
-.portlet > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon.png);
- width: 14px;
- visibility: visible;
-}
-
-.portlet > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon.png);
- width: 14px;
- visibility: visible;
-}
-
-.portlet > .portlet-title > .tools > a.fullscreen {
- display: inline-block;
- top: -3px;
- position: relative;
- font-size: 13px;
- font-family: FontAwesome;
- color: #ACACAC;
-}
-
-.portlet > .portlet-title > .tools > a.fullscreen:before {
- content: "\f065";
-}
-
-.portlet > .portlet-title > .tools > a.fullscreen.on:before {
- content: "\f066";
-}
-
-.portlet > .portlet-title > .tools > a:hover {
- text-decoration: none;
- -webkit-transition: all 0.1s ease-in-out;
- -moz-transition: all 0.1s ease-in-out;
- -o-transition: all 0.1s ease-in-out;
- -ms-transition: all 0.1s ease-in-out;
- transition: all 0.1s ease-in-out;
- opacity: 0.8;
- filter: alpha(opacity=80);
-}
-
-.portlet > .portlet-title > .pagination {
- float: right;
- display: inline-block;
- margin: 2px 0 0 0;
- border: 0;
- padding: 4px 0;
-}
-
-.portlet > .portlet-title > .nav-tabs {
- background: none;
- margin: 0;
- float: right;
- display: inline-block;
- border: 0;
-}
-
-.portlet > .portlet-title > .nav-tabs > li {
- background: none;
- margin: 0;
- border: 0;
-}
-
-.portlet > .portlet-title > .nav-tabs > li > a {
- background: none;
- margin: 5px 0 0 1px;
- border: 0;
- padding: 8px 10px;
- color: #fff;
-}
-
-.portlet > .portlet-title > .nav-tabs > li.active > a, .portlet > .portlet-title > .nav-tabs > li:hover > a {
- color: #333;
- background: #fff;
- border: 0;
-}
-
-.portlet > .portlet-body {
- clear: both;
- -webkit-border-radius: 0 0 4px 4px;
- -moz-border-radius: 0 0 4px 4px;
- -ms-border-radius: 0 0 4px 4px;
- -o-border-radius: 0 0 4px 4px;
- border-radius: 0 0 4px 4px;
-}
-
-.portlet > .portlet-empty {
- min-height: 125px;
-}
-
-.portlet.full-height-content {
- margin-bottom: 0;
-}
-
-/* Portlet background colors */
-/* Side bordered portlet */
-.portlet.bordered {
- border-left: 2px solid #e6e9ec !important;
-}
-
-.portlet.bordered > .portlet-title {
- border-bottom: 0;
-}
-
-/* Solid colored portlet */
-.portlet.solid {
- padding: 0 10px 10px 10px;
- border: 0px;
-}
-
-.portlet.solid > .portlet-title {
- border-bottom: 0;
- margin-bottom: 10px;
-}
-
-.portlet.solid > .portlet-title > .caption {
- padding: 16px 0 2px 0;
-}
-
-.portlet.solid > .portlet-title > .actions {
- padding: 12px 0 6px 0;
-}
-
-.portlet.solid > .portlet-title > .tools {
- padding: 14px 0 6px 0;
-}
-
-/* Solid bordered portlet */
-.portlet.solid.bordered > .portlet-title {
- margin-bottom: 10px;
-}
-
-/* Box portlet */
-.portlet.box {
- padding: 0px !important;
-}
-
-.portlet.box > .portlet-title {
- border-bottom: 0;
- padding: 0 10px;
- margin-bottom: 0;
- color: #fff;
-}
-
-.portlet.box > .portlet-title > .caption {
- padding: 11px 0 9px 0;
-}
-
-.portlet.box > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.box > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.box > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.box > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.box > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.box > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box > .portlet-title > .actions {
- padding: 7px 0 5px 0;
-}
-
-.portlet.box > .portlet-body {
- background-color: #fff;
- padding: 10px;
-}
-
-.portlet.box.portlet-fullscreen > .portlet-body {
- padding: 10px;
-}
-
-/* Light Portlet */
-.portlet.light {
- padding: 12px 20px 10px 20px;
- background-color: #fff;
-}
-
-.portlet.light.bordered {
- border: 1px solid #e1e1e1 !important;
-}
-
-.portlet.light.bordered > .portlet-title {
- border-bottom: 1px solid #eee;
-}
-
-.portlet.light.bg-inverse {
- /*background: #F7F7F7;*/
- background: white;
- border: 1px solid #e1e1e1 !important;
- border-radius: 8px !important;
-}
-
-.portlet.light > .portlet-title {
- padding: 0;
- min-height: 48px;
-}
-
-.portlet.light > .portlet-title > .caption {
- color: #666;
- padding: 10px 0;
-}
-
-.portlet.light > .portlet-title > .caption > .caption-subject {
- font-size: 16px;
-}
-
-.portlet.light > .portlet-title > .caption > i {
- color: #777;
- font-size: 15px;
- font-weight: 300;
- margin-top: 3px;
-}
-
-.portlet.light > .portlet-title > .caption.caption-md > .caption-subject {
- font-size: 15px;
-}
-
-.portlet.light > .portlet-title > .caption.caption-md > i {
- font-size: 14px;
-}
-
-.portlet.light > .portlet-title > .actions {
- padding: 6px 0 14px 0;
-}
-
-.portlet.light > .portlet-title > .actions .btn-default {
- color: #666;
-}
-
-.portlet.light > .portlet-title > .actions .btn-icon-only {
- height: 27px;
- width: 27px;
-}
-
-.portlet.light > .portlet-title > .actions .dropdown-menu li > a {
- color: #555;
-}
-
-.portlet.light > .portlet-title > .inputs {
- float: right;
- display: inline-block;
- padding: 4px 0;
-}
-
-.portlet.light > .portlet-title > .inputs > .portlet-input .input-icon > i {
- font-size: 14px;
- margin-top: 9px;
-}
-
-.portlet.light > .portlet-title > .inputs > .portlet-input .input-icon > .form-control {
- height: 30px;
- padding: 2px 26px 3px 10px;
- font-size: 13px;
-}
-
-.portlet.light > .portlet-title > .inputs > .portlet-input > .form-control {
- height: 30px;
- padding: 3px 10px;
- font-size: 13px;
-}
-
-.portlet.light > .portlet-title > .pagination {
- padding: 2px 0 13px 0;
-}
-
-.portlet.light > .portlet-title > .tools {
- padding: 10px 0 13px 0;
- margin-top: 2px;
-}
-
-.portlet.light > .portlet-title > .nav-tabs > li {
- margin: 0;
- padding: 0;
-}
-
-.portlet.light > .portlet-title > .nav-tabs > li > a {
- margin: 0;
- padding: 12px 13px 13px 13px;
- font-size: 13px;
- color: #666;
-}
-
-.portlet.light > .portlet-title > .nav-tabs > li.active > a, .portlet.light > .portlet-title > .nav-tabs > li:hover > a {
- margin: 0;
- background: none;
- color: #333;
-}
-
-.portlet.light.form-fit {
- padding: 0;
-}
-
-.portlet.light.form-fit > .portlet-title {
- padding: 17px 20px 10px 20px;
- margin-bottom: 0;
-}
-
-.portlet.light .portlet-body {
- padding-top: 8px;
-}
-
-.portlet.light.portlet-fullscreen > .portlet-body {
- padding: 8px 0;
-}
-
-.tab-pane > p:last-child {
- margin-bottom: 0px;
-}
-
-/* Reverse aligned tabs */
-.tabs-reversed > li {
- float: right;
- margin-right: 0;
-}
-
-.tabs-reversed > li > a {
- margin-right: 0;
-}
-
-/* jQuery UI Draggable Portlets */
-.portlet-sortable:not(.portlet-fullscreen) > .portlet-title {
- cursor: move;
-}
-
-.portlet-sortable-placeholder {
- border: 2px dashed #eee;
- margin-bottom: 25px;
-}
-
-.portlet-sortable-empty {
- /*height: 45px;*/
- height: 300px;
-}
-
-/***
-Customized Progress Bars
-***/
-.progress {
- border: 0;
- background-image: none;
- filter: none;
- box-shadow: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-}
-
-.progress.progress-sm {
- height: 12px;
-}
-
-.progress > .progress-bar-default {
- background-color: #c6c6c6;
-}
-
-.progress-striped .progress > .progress-bar-default {
- background-image: none;
- background-image: none;
-}
-
-.progress > .progress-bar-success {
- background-color: #45B6AF;
-}
-
-.progress-striped .progress > .progress-bar-success {
- background-image: none;
- background-image: none;
-}
-
-.progress > .progress-bar-info {
- background-color: #89C4F4;
-}
-
-.progress-striped .progress > .progress-bar-info {
- background-image: none;
- background-image: none;
-}
-
-.progress > .progress-bar-danger {
- background-color: #F3565D;
-}
-
-.progress-striped .progress > .progress-bar-danger {
- background-image: none;
- background-image: none;
-}
-
-.progress > .progress-bar-warning {
- background-color: #dfba49;
-}
-
-.progress-striped .progress > .progress-bar-warning {
- background-image: none;
- background-image: none;
-}
-
-/***
-Dashboard stats
-***/
-.dashboard-stat {
- display: block;
- margin-bottom: 25px;
- overflow: hidden;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- border-radius: 4px;
-}
-
-.dashboard-stat:before, .dashboard-stat:after {
- content: " ";
- display: table;
-}
-
-.dashboard-stat:after {
- clear: both;
-}
-
-.portlet .dashboard-stat:last-child {
- margin-bottom: 0;
-}
-
-.dashboard-stat .visual {
- width: 80px;
- height: 80px;
- display: block;
- float: left;
- padding-top: 10px;
- padding-left: 15px;
- margin-bottom: 15px;
- font-size: 35px;
- line-height: 35px;
-}
-
-.dashboard-stat .visual > i {
- margin-left: -35px;
- font-size: 110px;
- line-height: 110px;
-}
-
-.dashboard-stat .details {
- position: absolute;
- right: 15px;
- padding-right: 15px;
-}
-
-.dashboard-stat .details .number {
- padding-top: 25px;
- text-align: right;
- font-size: 34px;
- line-height: 36px;
- letter-spacing: -1px;
- margin-bottom: 0px;
- font-weight: 300;
-}
-
-.dashboard-stat .details .desc {
- text-align: right;
- font-size: 16px;
- letter-spacing: 0px;
- font-weight: 300;
-}
-
-.dashboard-stat .more {
- clear: both;
- display: block;
- padding: 6px 10px 6px 10px;
- position: relative;
- text-transform: uppercase;
- font-weight: 300;
- font-size: 11px;
- opacity: 0.7;
- filter: alpha(opacity=70);
-}
-
-.dashboard-stat .more:hover {
- text-decoration: none;
- opacity: 0.9;
- filter: alpha(opacity=90);
-}
-
-.dashboard-stat .more > i {
- display: inline-block;
- margin-top: 1px;
- float: right;
-}
-
-.dashboard-stat-light {
- padding-bottom: 20px;
- margin-bottom: 20px;
-}
-
-.dashboard-stat-light .details {
- margin-bottom: 5px;
-}
-
-.dashboard-stat-light .details .number {
- font-weight: 300;
- margin-bottom: 0px;
-}
-
-/***
-Text Stats
-***/
-.text-stat h3 {
- margin-top: 5px;
- margin-bottom: 0px;
- font-size: 18px;
-}
-
-.text-stat span {
- font-size: 13px !important;
-}
-
-@media (max-width: 767px) {
- /* 767px */
- .text-stat {
- margin-top: 20px;
- }
-}
-
-/***
-Social Icons
-***/
-.social-icons {
- padding: 0;
- margin: 0;
-}
-
-.social-icons:before, .social-icons:after {
- content: " ";
- display: table;
-}
-
-.social-icons:after {
- clear: both;
-}
-
-.social-icons li {
- float: left;
- display: inline;
- list-style: none;
- margin-right: 5px;
- margin-bottom: 5px;
- text-indent: -9999px;
-}
-
-.social-icons li > a {
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
- -ms-border-radius: 2px;
- -o-border-radius: 2px;
- border-radius: 2px;
- width: 28px;
- height: 28px;
- display: block;
- background-position: 0 0;
- background-repeat: no-repeat;
- transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- -ms-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -webkit-transition: all 0.3s ease-in-out;
-}
-
-.social-icons li:hover > a {
- background-position: 0 -38px;
-}
-
-.social-icons li .amazon {
- background: url(../img/social/amazon.png) no-repeat;
-}
-
-.social-icons li .behance {
- background: url(../img/social/behance.png) no-repeat;
-}
-
-.social-icons li .blogger {
- background: url(../img/social/blogger.png) no-repeat;
-}
-
-.social-icons li .deviantart {
- background: url(../img/social/deviantart.png) no-repeat;
-}
-
-.social-icons li .dribbble {
- background: url(../img/social/dribbble.png) no-repeat;
-}
-
-.social-icons li .dropbox {
- background: url(../img/social/dropbox.png) no-repeat;
-}
-
-.social-icons li .evernote {
- background: url(../img/social/evernote.png) no-repeat;
-}
-
-.social-icons li .facebook {
- background: url(../img/social/facebook.png) no-repeat;
-}
-
-.social-icons li .forrst {
- background: url(../img/social/forrst.png) no-repeat;
-}
-
-.social-icons li .github {
- background: url(../img/social/github.png) no-repeat;
-}
-
-.social-icons li .googleplus {
- background: url(../img/social/googleplus.png) no-repeat;
-}
-
-.social-icons li .jolicloud {
- background: url(../img/social/jolicloud.png) no-repeat;
-}
-
-.social-icons li .last-fm {
- background: url(../img/social/last-fm.png) no-repeat;
-}
-
-.social-icons li .linkedin {
- background: url(../img/social/linkedin.png) no-repeat;
-}
-
-.social-icons li .picasa {
- background: url(../img/social/picasa.png) no-repeat;
-}
-
-.social-icons li .pintrest {
- background: url(../img/social/pintrest.png) no-repeat;
-}
-
-.social-icons li .rss {
- background: url(../img/social/rss.png) no-repeat;
-}
-
-.social-icons li .skype {
- background: url(../img/social/skype.png) no-repeat;
-}
-
-.social-icons li .spotify {
- background: url(../img/social/spotify.png) no-repeat;
-}
-
-.social-icons li .stumbleupon {
- background: url(../img/social/stumbleupon.png) no-repeat;
-}
-
-.social-icons li .tumblr {
- background: url(../img/social/tumblr.png) no-repeat;
-}
-
-.social-icons li .twitter {
- background: url(../img/social/twitter.png) no-repeat;
-}
-
-.social-icons li .vimeo {
- background: url(../img/social/vimeo.png) no-repeat;
-}
-
-.social-icons li .wordpress {
- background: url(../img/social/wordpress.png) no-repeat;
-}
-
-.social-icons li .xing {
- background: url(../img/social/xing.png) no-repeat;
-}
-
-.social-icons li .yahoo {
- background: url(../img/social/yahoo.png) no-repeat;
-}
-
-.social-icons li .youtube {
- background: url(../img/social/youtube.png) no-repeat;
-}
-
-.social-icons li .vk {
- background: url(../img/social/vk.png) no-repeat;
-}
-
-.social-icons li .instagram {
- background: url(../img/social/instagram.png) no-repeat;
-}
-
-.social-icons li .reddit {
- background: url(../img/social/reddit.png) no-repeat;
-}
-
-.social-icons li .aboutme {
- background: url(../img/social/aboutme.png) no-repeat;
-}
-
-.social-icons li .flickr {
- background: url(../img/social/flickr.png) no-repeat;
-}
-
-.social-icons li .foursquare {
- background: url(../img/social/foursquare.png) no-repeat;
-}
-
-.social-icons li .gravatar {
- background: url(../img/social/gravatar.png) no-repeat;
-}
-
-.social-icons li .klout {
- background: url(../img/social/klout.png) no-repeat;
-}
-
-.social-icons li .myspace {
- background: url(../img/social/myspace.png) no-repeat;
-}
-
-.social-icons li .quora {
- background: url(../img/social/quora.png) no-repeat;
-}
-
-.social-icons.social-icons-color > li > a {
- opacity: 0.7;
- background-position: 0 -38px !important;
-}
-
-.social-icons.social-icons-color > li > a:hover {
- opacity: 1;
-}
-
-.social-icons.social-icons-circle > li > a {
- border-radius: 25px !important;
-}
-
-/***
-Inline Social Icons
-***/
-.social-icon {
- display: inline-block !important;
- width: 28px;
- height: 28px;
- background-position: 0 0;
- background-repeat: no-repeat;
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
- -ms-border-radius: 2px;
- -o-border-radius: 2px;
- border-radius: 2px;
- transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- -ms-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -webkit-transition: all 0.3s ease-in-out;
-}
-
-.social-icon.social-icon-circle {
- border-radius: 25px !important;
-}
-
-.social-icon.amazon {
- background: url(../img/social/amazon.png) no-repeat;
-}
-
-.social-icon.behance {
- background: url(../img/social/behance.png) no-repeat;
-}
-
-.social-icon.blogger {
- background: url(../img/social/blogger.png) no-repeat;
-}
-
-.social-icon.deviantart {
- background: url(../img/social/deviantart.png) no-repeat;
-}
-
-.social-icon.dribbble {
- background: url(../img/social/dribbble.png) no-repeat;
-}
-
-.social-icon.dropbox {
- background: url(../img/social/dropbox.png) no-repeat;
-}
-
-.social-icon.evernote {
- background: url(../img/social/evernote.png) no-repeat;
-}
-
-.social-icon.facebook {
- background: url(../img/social/facebook.png) no-repeat;
-}
-
-.social-icon.forrst {
- background: url(../img/social/forrst.png) no-repeat;
-}
-
-.social-icon.github {
- background: url(../img/social/github.png) no-repeat;
-}
-
-.social-icon.googleplus {
- background: url(../img/social/googleplus.png) no-repeat;
-}
-
-.social-icon.jolicloud {
- background: url(../img/social/jolicloud.png) no-repeat;
-}
-
-.social-icon.last-fm {
- background: url(../img/social/last-fm.png) no-repeat;
-}
-
-.social-icon.linkedin {
- background: url(../img/social/linkedin.png) no-repeat;
-}
-
-.social-icon.picasa {
- background: url(../img/social/picasa.png) no-repeat;
-}
-
-.social-icon.pintrest {
- background: url(../img/social/pintrest.png) no-repeat;
-}
-
-.social-icon.rss {
- background: url(../img/social/rss.png) no-repeat;
-}
-
-.social-icon.skype {
- background: url(../img/social/skype.png) no-repeat;
-}
-
-.social-icon.spotify {
- background: url(../img/social/spotify.png) no-repeat;
-}
-
-.social-icon.stumbleupon {
- background: url(../img/social/stumbleupon.png) no-repeat;
-}
-
-.social-icon.tumblr {
- background: url(../img/social/tumblr.png) no-repeat;
-}
-
-.social-icon.twitter {
- background: url(../img/social/twitter.png) no-repeat;
-}
-
-.social-icon.vimeo {
- background: url(../img/social/vimeo.png) no-repeat;
-}
-
-.social-icon.wordpress {
- background: url(../img/social/wordpress.png) no-repeat;
-}
-
-.social-icon.xing {
- background: url(../img/social/xing.png) no-repeat;
-}
-
-.social-icon.yahoo {
- background: url(../img/social/yahoo.png) no-repeat;
-}
-
-.social-icon.youtube {
- background: url(../img/social/youtube.png) no-repeat;
-}
-
-.social-icon.vk {
- background: url(../img/social/vk.png) no-repeat;
-}
-
-.social-icon.instagram {
- background: url(../img/social/instagram.png) no-repeat;
-}
-
-.social-icon.reddit {
- background: url(../img/social/reddit.png) no-repeat;
-}
-
-.social-icon.aboutme {
- background: url(../img/social/aboutme.png) no-repeat;
-}
-
-.social-icon.flickr {
- background: url(../img/social/flickr.png) no-repeat;
-}
-
-.social-icon.foursquare {
- background: url(../img/social/foursquare.png) no-repeat;
-}
-
-.social-icon.gravatar {
- background: url(../img/social/gravatar.png) no-repeat;
-}
-
-.social-icon.klout {
- background: url(../img/social/klout.png) no-repeat;
-}
-
-.social-icon.myspace {
- background: url(../img/social/myspace.png) no-repeat;
-}
-
-.social-icon.quora {
- background: url(../img/social/quora.png) no-repeat;
-}
-
-.social-icon:hover {
- background-position: 0 -38px;
-}
-
-.social-icon-color {
- opacity: 0.7;
- background-position: 0 -38px !important;
-}
-
-.social-icon-color:hover {
- opacity: 1;
-}
-
-/***
-Customized Bootstrap Tables
-***/
-/***
-Default table
-***/
-.table.table-bordered thead > tr > th {
- border-bottom: 0;
-}
-
-.table tr.heading > th {
- background-color: #eee !important;
-}
-
-.table td .img-responsive {
- width: 100%;
-}
-
-/* Contextual table row variants */
-.table > thead > tr > td.active,
-.table > thead > tr > th.active, .table > thead > tr.active > td, .table > thead > tr.active > th,
-.table > tbody > tr > td.active,
-.table > tbody > tr > th.active,
-.table > tbody > tr.active > td,
-.table > tbody > tr.active > th,
-.table > tfoot > tr > td.active,
-.table > tfoot > tr > th.active,
-.table > tfoot > tr.active > td,
-.table > tfoot > tr.active > th {
- background: #a6c8e6;
- color: #132339;
-}
-
-.table-hover > tbody > tr > td.active:hover,
-.table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr.active:hover > th {
- background: #92bce0;
-}
-
-.table > thead > tr > td.success,
-.table > thead > tr > th.success, .table > thead > tr.success > td, .table > thead > tr.success > th,
-.table > tbody > tr > td.success,
-.table > tbody > tr > th.success,
-.table > tbody > tr.success > td,
-.table > tbody > tr.success > th,
-.table > tfoot > tr > td.success,
-.table > tfoot > tr > th.success,
-.table > tfoot > tr.success > td,
-.table > tfoot > tr.success > th {
- background: #dff0d8;
- color: #3c763d;
-}
-
-.table-hover > tbody > tr > td.success:hover,
-.table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr.success:hover > th {
- background: #d0e9c6;
-}
-
-.table > thead > tr > td.info,
-.table > thead > tr > th.info, .table > thead > tr.info > td, .table > thead > tr.info > th,
-.table > tbody > tr > td.info,
-.table > tbody > tr > th.info,
-.table > tbody > tr.info > td,
-.table > tbody > tr.info > th,
-.table > tfoot > tr > td.info,
-.table > tfoot > tr > th.info,
-.table > tfoot > tr.info > td,
-.table > tfoot > tr.info > th {
- background: #d9edf7;
- color: #31708f;
-}
-
-.table-hover > tbody > tr > td.info:hover,
-.table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr.info:hover > th {
- background: #c4e3f3;
-}
-
-.table > thead > tr > td.warning,
-.table > thead > tr > th.warning, .table > thead > tr.warning > td, .table > thead > tr.warning > th,
-.table > tbody > tr > td.warning,
-.table > tbody > tr > th.warning,
-.table > tbody > tr.warning > td,
-.table > tbody > tr.warning > th,
-.table > tfoot > tr > td.warning,
-.table > tfoot > tr > th.warning,
-.table > tfoot > tr.warning > td,
-.table > tfoot > tr.warning > th {
- background: #fcf8e3;
- color: #8a6d3b;
-}
-
-.table-hover > tbody > tr > td.warning:hover,
-.table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr.warning:hover > th {
- background: #faf2cc;
-}
-
-.table > thead > tr > td.danger,
-.table > thead > tr > th.danger, .table > thead > tr.danger > td, .table > thead > tr.danger > th,
-.table > tbody > tr > td.danger,
-.table > tbody > tr > th.danger,
-.table > tbody > tr.danger > td,
-.table > tbody > tr.danger > th,
-.table > tfoot > tr > td.danger,
-.table > tfoot > tr > th.danger,
-.table > tfoot > tr.danger > td,
-.table > tfoot > tr.danger > th {
- background: #f2dede;
- color: #a94442;
-}
-
-.table-hover > tbody > tr > td.danger:hover,
-.table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr.danger:hover > th {
- background: #ebcccc;
-}
-
-/***
-Responsive & Scrollable Tables
-***/
-.table-scrollable {
- width: 100%;
- overflow-x: auto;
- overflow-y: hidden;
- border: 1px solid #dddddd;
- margin: 10px 0 !important;
-}
-
-.table-scrollable.table-scrollable-borderless {
- border: 0;
-}
-
-.table-scrollable > .table {
- width: 100% !important;
- margin: 0 !important;
- margin-bottom: 0;
- background-color: #fff;
-}
-
-.table-scrollable > .table > thead > tr > th,
-.table-scrollable > .table > tbody > tr > th,
-.table-scrollable > .table > tfoot > tr > th,
-.table-scrollable > .table > tfoot > tr > th,
-.table-scrollable > .table > tfoot > tr > td {
- white-space: nowrap;
-}
-
-.table-scrollable > .table-bordered {
- border: 0;
-}
-
-.table-scrollable > .table-bordered > thead > tr > th:first-child,
-.table-scrollable > .table-bordered > tbody > tr > th:first-child,
-.table-scrollable > .table-bordered > tfoot > tr > th:first-child,
-.table-scrollable > .table-bordered > thead > tr > td:first-child,
-.table-scrollable > .table-bordered > tbody > tr > td:first-child,
-.table-scrollable > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0;
-}
-
-.table-scrollable > .table-bordered > thead > tr > th:last-child,
-.table-scrollable > .table-bordered > tbody > tr > th:last-child,
-.table-scrollable > .table-bordered > tfoot > tr > th:last-child,
-.table-scrollable > .table-bordered > thead > tr > td:last-child,
-.table-scrollable > .table-bordered > tbody > tr > td:last-child,
-.table-scrollable > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0;
-}
-
-.table-scrollable > .table-bordered > thead > tr:last-child > th,
-.table-scrollable > .table-bordered > tbody > tr:last-child > th,
-.table-scrollable > .table-bordered > tfoot > tr:last-child > th,
-.table-scrollable > .table-bordered > thead > tr:last-child > td,
-.table-scrollable > .table-bordered > tbody > tr:last-child > td,
-.table-scrollable > .table-bordered > tfoot > tr:last-child > td {
- border-bottom: 0;
-}
-
-/***
-Responsive Flip Scroll Tables
-***/
-.flip-scroll table {
- width: 100%;
-}
-
-@media only screen and (max-width: 768px) {
- /* 768px */
- .flip-scroll .flip-content:after {
- visibility: hidden;
- display: block;
- font-size: 0;
- content: " ";
- clear: both;
- height: 0;
- }
-
- .flip-scroll * html .flip-content {
- zoom: 1;
- }
-
- .flip-scroll *:first-child + html .flip-content {
- zoom: 1;
- }
-
- .flip-scroll table {
- width: 100%;
- border-collapse: collapse;
- border-spacing: 0;
- }
-
- .flip-scroll th,
- .flip-scroll td {
- margin: 0;
- vertical-align: top;
- }
-
- .flip-scroll th {
- text-align: left;
- border: 0 !important;
- border-bottom: 1px solid #ddd !important;
- border-right: 1px solid #ddd !important;
- font-size: 13px !important;
- padding: 5px;
- width: auto !important;
- }
-
- .flip-scroll table {
- display: block;
- position: relative;
- width: 100%;
- }
-
- .flip-scroll thead {
- display: block;
- float: left;
- }
-
- .flip-scroll tbody {
- display: block;
- width: auto;
- position: relative;
- overflow-x: auto;
- white-space: nowrap;
- }
-
- .flip-scroll thead tr {
- display: block;
- }
-
- .flip-scroll th {
- display: block;
- text-align: right;
- }
-
- .flip-scroll tbody tr {
- display: inline-block;
- vertical-align: top;
- margin-left: -5px;
- }
-
- .flip-scroll td {
- display: block;
- min-height: 1.25em;
- text-align: left;
- border-top: 0 !important;
- border-left: 0 !important;
- border-right: 0 !important;
- }
-
- /* sort out borders */
- .flip-scroll th {
- border-bottom: 0;
- border-left: 0;
- }
-
- .flip-scroll td {
- border-left: 0;
- border-right: 0;
- border-bottom: 0;
- }
-
- .flip-scroll tbody tr {
- border-left: 1px solid #ddd;
- }
-
- .flip-scroll th:last-child,
- .flip-scroll td:last-child {
- border-bottom: 1px solid #ddd;
- }
-}
-
-/***
-Custom tables
-***/
-.table-toolbar {
- margin-bottom: 15px;
-}
-
-.table-toolbar:before, .table-toolbar:after {
- content: " ";
- display: table;
-}
-
-.table-toolbar:after {
- clear: both;
-}
-
-.table.table-full-width {
- width: 100% !important;
-}
-
-.table .btn {
- margin-top: 0px;
- margin-left: 0px;
- margin-right: 5px;
-}
-
-.table thead tr th {
- font-size: 14px;
- font-weight: 600;
-}
-
-.table-advance {
- margin-bottom: 10px !important;
-}
-
-.table-advance thead {
- color: #999;
-}
-
-.table-advance thead tr th {
- background-color: #DDD;
- font-size: 14px;
- font-weight: 400;
- color: #666;
-}
-
-.table-advance div.success,
-.table-advance div.info,
-.table-advance div.important,
-.table-advance div.warning,
-.table-advance div.danger {
- position: absolute;
- margin-top: -5px;
- float: left;
- width: 2px;
- height: 30px;
- margin-right: 20px !important;
-}
-
-.table-advance tr td {
- border-left-width: 0px;
-}
-
-.table-advance tr td:first-child {
- border-left-width: 1px !important;
-}
-
-.table-advance tr td.highlight:first-child a {
- margin-left: 15px;
-}
-
-.table-advance td.highlight div.primary {
- border-left: 2px solid #428bca;
-}
-
-.table-advance td.highlight div.success {
- border-left: 2px solid #45B6AF;
-}
-
-.table-advance td.highlight div.info {
- border-left: 2px solid #89C4F4;
-}
-
-.table-advance td.highlight div.warning {
- border-left: 2px solid #dfba49;
-}
-
-.table-advance td.highlight div.danger {
- border-left: 2px solid #F3565D;
-}
-
-@media (max-width: 767px) {
- /* 767px */
- .table-advance tr > td.highlight:first-child a {
- margin-left: 8px;
- }
-}
-
-/***
-Light Table
-***/
-.table.table-light {
- border: 0 !important;
-}
-
-.table.table-light > thead > tr:hover > th {
- background: none;
-}
-
-.table.table-light > thead > tr.uppercase {
- text-transform: uppercase;
-}
-
-.table.table-light > thead > tr > th {
- font-weight: 600;
- font-size: 13px;
- color: #a7b3b9;
- font-family: "Open Sans", sans-serif;
- border: 0;
- border-bottom: 1px solid #F2F5F8;
-}
-
-.table.table-light > tbody > tr:last-child > td {
- border: 0;
-}
-
-.table.table-light > tbody > tr > td {
- border: 0;
- border-bottom: 1px solid #F2F5F8;
- color: #9ca8b0;
- vertical-align: middle;
-}
-
-.table.table-light > tbody > tr > td.fit {
- width: 1px;
- padding-right: 3px;
-}
-
-.table.table-light > tbody > tr > td .user-pic {
- display: inline-block;
- vertical-align: middle;
- height: 30px;
- -webkit-border-radius: 100%;
- -moz-border-radius: 100%;
- -ms-border-radius: 100%;
- -o-border-radius: 100%;
- border-radius: 100%;
-}
-
-.table.table-light.table-hover > tbody > tr > td:hover,
-.table.table-light.table-hover > tbody > tr > th:hover, .table.table-light.table-hover > tbody > tr:hover > td, .table.table-light.table-hover > tbody > tr:hover > th {
- background: #f9fafb;
-}
-
-/***
-Customized Bootstrap Tabs
-***/
-/* Tabs and pills */
-.nav-tabs,
-.nav-pills {
- margin-bottom: 10px;
-}
-
-.nav-tabs > li > a,
-.nav-pills > li > a {
- font-size: 14px;
-}
-
-.nav-tabs > li > a > .badge,
-.nav-pills > li > a > .badge {
- margin-top: -3px;
-}
-
-.nav-tabs > li .dropdown-menu:before, .nav-tabs > li .dropdown-menu:after,
-.nav-pills > li .dropdown-menu:before,
-.nav-pills > li .dropdown-menu:after {
- display: none;
-}
-
-.nav-tabs.nav-tabs-sm > li > a, .nav-tabs.nav-pills-sm > li > a,
-.nav-pills.nav-tabs-sm > li > a,
-.nav-pills.nav-pills-sm > li > a {
- font-size: 13px;
-}
-
-.nav-tabs .dropdown.open > .dropdown-toggle,
-.nav-pills .dropdown.open > .dropdown-toggle {
- background: #eee;
- color: #0d638f;
- border-color: transparent;
-}
-
-/* Left and right tabs */
-.tabs-right.nav-tabs,
-.tabs-left.nav-tabs {
- border-bottom: 0;
-}
-
-.tabs-right.nav-tabs > li,
-.tabs-left.nav-tabs > li {
- float: none;
-}
-
-.tabs-right.nav-tabs > li > a,
-.tabs-left.nav-tabs > li > a {
- margin-right: 0;
- margin-bottom: 3px;
-}
-
-/* Left tabs */
-.tabs-left.nav-tabs {
- border-right: 1px solid #ddd;
-}
-
-.tabs-left.nav-tabs > li > a {
- display: block;
- margin-right: -1px;
-}
-
-.tabs-left.nav-tabs > li > a:hover, .tabs-left.nav-tabs > li > a:focus {
- -webkit-border-radius: 4px 0 0 4px;
- -moz-border-radius: 4px 0 0 4px;
- -ms-border-radius: 4px 0 0 4px;
- -o-border-radius: 4px 0 0 4px;
- border-radius: 4px 0 0 4px;
- border-color: #eeeeee #dddddd #eeeeee #eeeeee;
-}
-
-.tabs-left.nav-tabs > li.active > a,
-.tabs-left.nav-tabs > li.active > a:hover
-> li.active > a:focus {
- -webkit-border-radius: 4px 0 0 4px;
- -moz-border-radius: 4px 0 0 4px;
- -ms-border-radius: 4px 0 0 4px;
- -o-border-radius: 4px 0 0 4px;
- border-radius: 4px 0 0 4px;
- border-color: #ddd transparent #ddd #ddd;
- *border-right-color: #ffffff;
-}
-
-/* Right tabs */
-.tabs-right.nav-tabs {
- border-left: 1px solid #ddd;
-}
-
-.tabs-right.nav-tabs > li > a {
- display: block;
- margin-left: -1px;
-}
-
-.tabs-right.nav-tabs > li > a:hover, .tabs-right.nav-tabs > li > a:focus {
- -webkit-border-radius: 0 4px 4px 0;
- -moz-border-radius: 0 4px 4px 0;
- -ms-border-radius: 0 4px 4px 0;
- -o-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
- border-color: #eeeeee #eeeeee #eeeeee #dddddd;
-}
-
-.tabs-right.nav-tabs > li.active > a,
-.tabs-right.nav-tabs > li.active > a:hover
-> li.active > a:focus {
- -webkit-border-radius: 0 4px 4px 0;
- -moz-border-radius: 0 4px 4px 0;
- -ms-border-radius: 0 4px 4px 0;
- -o-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
- border-color: #ddd #ddd #ddd transparent;
- *border-left-color: #ffffff;
-}
-
-/* Below tabs */
-.tabs-below > .nav-tabs,
-.tabs-below > .nav-pills {
- border-bottom: 0;
- margin-bottom: 0px;
- margin-top: 10px;
-}
-
-.tabs-below > .nav-tabs {
- border-top: 1px solid #ddd;
- margin-bottom: 0;
- margin-top: 10px;
-}
-
-.tabs-below > .nav-tabs > li > a {
- margin-top: -1px;
- margin-bottom: 0;
-}
-
-.tabs-below > .nav-tabs > li > a:hover, .tabs-below > .nav-tabs > li > a:focus {
- border-top-color: #ddd;
- border-bottom-color: transparent;
-}
-
-.tabs-below > .nav-tabs > li > a .dropdown-menu {
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- border-radius: 4px;
-}
-
-.tabs-below > .nav-tabs .active a,
-.tabs-below > .nav-tabs .active a:hover
-.active a:focus {
- -webkit-border-radius: 0 0 4px 4px;
- -moz-border-radius: 0 0 4px 4px;
- -ms-border-radius: 0 0 4px 4px;
- -o-border-radius: 0 0 4px 4px;
- border-radius: 0 0 4px 4px;
- border-color: transparent #ddd #ddd #ddd;
-}
-
-/***
-Custom tabs
-***/
-/* In BS3.0.0 tabbable class was removed. We had to added it back */
-.tabbable:before, .tabbable:after {
- content: " ";
- display: table;
-}
-
-.tabbable:after {
- clear: both;
-}
-
-.tabbable-custom {
- margin-bottom: 15px;
- padding: 0px;
- overflow: hidden;
- /* justified tabs */
- /* boxless tabs */
- /* below justified tabs */
- /* full width tabs */
- /* below tabs */
-}
-
-.tabbable-custom > .nav-tabs {
- border: none;
- margin: 0px;
-}
-
-.tabbable-custom > .nav-tabs > li {
- margin-right: 2px;
- border-top: 2px solid transparent;
-}
-
-.tabbable-custom > .nav-tabs > li > a {
- margin-right: 0;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- -ms-border-radius: 0;
- -o-border-radius: 0;
- border-radius: 0;
-}
-
-.tabbable-custom > .nav-tabs > li > a:hover {
- background: none;
- border-color: transparent;
-}
-
-.tabbable-custom > .nav-tabs > li.active {
- border-top: 3px solid #F3565D;
- margin-top: 0;
- position: relative;
-}
-
-.tabbable-custom > .nav-tabs > li.active > a {
- border-top: none;
- font-weight: 400;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- -ms-border-radius: 0;
- -o-border-radius: 0;
- border-radius: 0;
-}
-
-.tabbable-custom > .nav-tabs > li.active > a:hover {
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- -ms-border-radius: 0;
- -o-border-radius: 0;
- border-radius: 0;
- border-top: none;
- background: #fff;
- border-color: #d4d4d4 #d4d4d4 transparent;
-}
-
-.tabbable-custom > .tab-content {
- background-color: #fff;
- border: 1px solid #ddd;
- padding: 10px;
- -webkit-border-radius: 0 0 4px 4px;
- -moz-border-radius: 0 0 4px 4px;
- -ms-border-radius: 0 0 4px 4px;
- -o-border-radius: 0 0 4px 4px;
- border-radius: 0 0 4px 4px;
-}
-
-.tabbable-custom.nav-justified > .tab-content {
- margin-top: -1px;
-}
-
-.tabbable-custom.boxless > .tab-content {
- padding: 15px 0;
- border-left: none;
- border-right: none;
- border-bottom: none;
-}
-
-.tabbable-custom.tabs-below.nav-justified .tab-content {
- margin-top: 0px;
- margin-bottom: -2px;
- -webkit-border-radius: 4px 4px 0 0;
- -moz-border-radius: 4px 4px 0 0;
- -ms-border-radius: 4px 4px 0 0;
- -o-border-radius: 4px 4px 0 0;
- border-radius: 4px 4px 0 0;
-}
-
-.tabbable-custom.tabbable-full-width > .nav-tabs > li > a {
- color: #424242;
- font-size: 15px;
- padding: 9px 15px;
-}
-
-.tabbable-custom.tabbable-full-width > .tab-content {
- padding: 15px 0;
- border-left: none;
- border-right: none;
- border-bottom: none;
-}
-
-.tabbable-custom.tabs-below .nav-tabs > li > a {
- border-top: none;
- border-bottom: 2px solid transparent;
- margin-top: -1px;
-}
-
-.tabbable-custom.tabs-below .nav-tabs > li.active {
- border-top: none;
- border-bottom: 3px solid #d12610;
- margin-bottom: 0;
- position: relative;
-}
-
-.tabbable-custom.tabs-below .nav-tabs > li.active > a {
- border-bottom: none;
-}
-
-.tabbable-custom.tabs-below .nav-tabs > li.active > a:hover {
- background: #fff;
- border-color: #d4d4d4 #d4d4d4 transparent;
-}
-
-.tabbable-custom.tabbable-noborder > .nav-tabs > li > a {
- border: 0;
-}
-
-.tabbable-custom.tabbable-noborder .tab-content {
- border: 0;
-}
-
-.tabbable-line > .nav-tabs {
- border: none;
- margin: 0px;
-}
-
-.tabbable-line > .nav-tabs > li {
- margin-right: 2px;
-}
-
-.tabbable-line > .nav-tabs > li > a {
- border: 0;
- margin-right: 0;
- color: #737373;
-}
-
-.tabbable-line > .nav-tabs > li > a > i {
- color: #a6a6a6;
-}
-
-.tabbable-line > .nav-tabs > li.open, .tabbable-line > .nav-tabs > li:hover {
- border-bottom: 4px solid #fbcdcf;
-}
-
-.tabbable-line > .nav-tabs > li.open > a, .tabbable-line > .nav-tabs > li:hover > a {
- border: 0;
- background: none !important;
- color: #333;
-}
-
-.tabbable-line > .nav-tabs > li.open > a > i, .tabbable-line > .nav-tabs > li:hover > a > i {
- color: #a6a6a6;
-}
-
-.tabbable-line > .nav-tabs > li.open .dropdown-menu, .tabbable-line > .nav-tabs > li:hover .dropdown-menu {
- margin-top: 0px;
-}
-
-.tabbable-line > .nav-tabs > li.active {
- border-bottom: 4px solid #F3565D;
- position: relative;
-}
-
-.tabbable-line > .nav-tabs > li.active > a {
- border: 0;
- color: #333;
-}
-
-.tabbable-line > .nav-tabs > li.active > a > i {
- color: #404040;
-}
-
-.tabbable-line > .tab-content {
- margin-top: -3px;
- background-color: #fff;
- border: 0;
- border-top: 1px solid #eee;
- padding: 15px 0;
-}
-
-.portlet .tabbable-line > .tab-content {
- padding-bottom: 0;
-}
-
-.tabbable-line.tabs-below > .nav-tabs > li {
- border-top: 4px solid transparent;
-}
-
-.tabbable-line.tabs-below > .nav-tabs > li > a {
- margin-top: 0;
-}
-
-.tabbable-line.tabs-below > .nav-tabs > li:hover {
- border-bottom: 0;
- border-top: 4px solid #fbcdcf;
-}
-
-.tabbable-line.tabs-below > .nav-tabs > li.active {
- margin-bottom: -2px;
- border-bottom: 0;
- border-top: 4px solid #F3565D;
-}
-
-.tabbable-line.tabs-below > .tab-content {
- margin-top: -10px;
- border-top: 0;
- border-bottom: 1px solid #eee;
- padding-bottom: 15px;
-}
-
-/***
-Tiles(new in v1.1.1)
-***/
-.tiles {
- margin-right: -10px;
-}
-
-.tiles:before, .tiles:after {
- display: table;
- content: " ";
-}
-
-.tiles:after {
- clear: both;
-}
-
-.tiles .tile {
- display: block;
- letter-spacing: 0.02em;
- float: left;
- height: 135px;
- width: 135px !important;
- cursor: pointer;
- text-decoration: none;
- color: #ffffff;
- position: relative;
- font-weight: 300;
- font-size: 12px;
- letter-spacing: 0.02em;
- line-height: 20px;
- overflow: hidden;
- border: 4px solid transparent;
- margin: 0 10px 10px 0;
-}
-
-.tiles .tile:after, .tiles .tile:before {
- content: "";
- float: left;
-}
-
-.tiles .tile.double {
- width: 280px !important;
-}
-
-.tiles .tile.double-down {
- height: 280px !important;
-}
-
-.tiles .tile.double-down i {
- margin-top: 95px;
-}
-
-.tiles .tile:hover {
- border-color: #aaa !important;
-}
-
-.tiles .tile:active, .tiles .tile.selected {
- border-color: #ccc !important;
-}
-
-.tiles .tile.selected .corner:after {
- content: "";
- display: inline-block;
- border-left: 40px solid transparent;
- border-bottom: 40px solid transparent;
- border-right: 40px solid #ccc;
- position: absolute;
- top: -3px;
- right: -3px;
-}
-
-.tiles .tile.selected .check:after {
- content: "";
- font-family: FontAwesome;
- font-size: 13px;
- content: "\f00c";
- display: inline-block;
- position: absolute;
- top: 2px;
- right: 2px;
-}
-
-.tiles .tile.icon {
- padding: 0;
-}
-
-.tiles .tile.image .tile-body {
- padding: 0 !important;
-}
-
-.tiles .tile.image .tile-body > img {
- width: 100%;
- height: auto;
- min-height: 100%;
- max-width: 100%;
-}
-
-.tiles .tile.image .tile-body h3 {
- display: inline-block;
-}
-
-.tiles .tile .tile-body {
- height: 100%;
- vertical-align: top;
- padding: 10px 10px;
- overflow: hidden;
- position: relative;
- font-weight: 400;
- font-size: 12px;
- color: #000000;
- color: #ffffff;
- margin-bottom: 10px;
-}
-
-.tiles .tile .tile-body p {
- font-weight: 400;
- font-size: 13px;
- color: #000000;
- color: #ffffff;
- line-height: 20px;
- overflow: hidden;
-}
-
-.tiles .tile .tile-body p:hover {
- color: rgba(0, 0, 0, 0.8);
-}
-
-.tiles .tile .tile-body p:active {
- color: rgba(0, 0, 0, 0.4);
-}
-
-.tiles .tile .tile-body p:hover {
- color: #ffffff;
-}
-
-.tiles .tile .tile-body img {
- float: left;
- margin-right: 10px;
-}
-
-.tiles .tile .tile-body img.pull-right {
- float: right !important;
- margin-left: 10px;
- margin-right: 0px;
-}
-
-.tiles .tile .tile-body > .content {
- display: inline-block;
-}
-
-.tiles .tile .tile-body > i {
- margin-top: 17px;
- display: block;
- font-size: 56px;
- line-height: 56px;
- text-align: center;
-}
-
-.tiles .tile .tile-body h1,
-.tiles .tile .tile-body h2,
-.tiles .tile .tile-body h3,
-.tiles .tile .tile-body h4,
-.tiles .tile .tile-body h5,
-.tiles .tile .tile-body h6,
-.tiles .tile .tile-body p {
- padding: 0;
- margin: 0;
- line-height: 14px;
-}
-
-.tiles .tile .tile-body h1:hover,
-.tiles .tile .tile-body h2:hover,
-.tiles .tile .tile-body h3:hover,
-.tiles .tile .tile-body h4:hover,
-.tiles .tile .tile-body h5:hover,
-.tiles .tile .tile-body h6:hover,
-.tiles .tile .tile-body p:hover {
- color: #ffffff;
-}
-
-.tiles .tile .tile-body h3,
-.tiles .tile .tile-body h4 {
- margin-bottom: 5px;
-}
-
-.tiles .tile .tile-object {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- min-height: 30px;
- background-color: transparent;
- *zoom: 1;
-}
-
-.tiles .tile .tile-object:before, .tiles .tile .tile-object:after {
- display: table;
- content: "";
-}
-
-.tiles .tile .tile-object:after {
- clear: both;
-}
-
-.tiles .tile .tile-object > .name {
- position: absolute;
- bottom: 0;
- left: 0;
- margin-bottom: 5px;
- margin-left: 10px;
- margin-right: 15px;
- font-weight: 400;
- font-size: 13px;
- color: #ffffff;
-}
-
-.tiles .tile .tile-object > .name > i {
- vertical-align: middle;
- display: block;
- font-size: 24px;
- height: 18px;
- width: 24px;
-}
-
-.tiles .tile .tile-object > .number {
- position: absolute;
- bottom: 0;
- right: 0;
- margin-bottom: 0;
- color: #ffffff;
- text-align: center;
- font-weight: 600;
- font-size: 14px;
- letter-spacing: 0.01em;
- line-height: 14px;
- margin-bottom: 8px;
- margin-right: 10px;
-}
-
-/***
-Custimized Bootstrap Wells
-***/
-.well {
- background-color: #eee;
- border: 0;
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- box-shadow: none !important;
-}
-
-/***
-AngularJS Basic Animations
-***/
-@-webkit-keyframes fadeInUp {
- 0% {
- opacity: 0;
- -webkit-transform: translateY(15px);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateY(0);
- }
-}
-
-@-moz-keyframes fadeInUp {
- 0% {
- opacity: 0;
- -moz-transform: translateY(15px);
- }
- 100% {
- opacity: 1;
- -moz-transform: translateY(0);
- }
-}
-
-@-o-keyframes fadeInUp {
- 0% {
- opacity: 0;
- -o-transform: translateY(15px);
- }
- 100% {
- opacity: 1;
- -o-transform: translateY(0);
- }
-}
-
-@keyframes fadeInUp {
- 0% {
- opacity: 0;
- transform: translateY(15px);
- }
- 100% {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-.fade-in-up {
- -webkit-animation: fadeInUp .5s;
- animation: fadeInUp .5s;
-}
-
-@-webkit-keyframes bounceDelay {
- 0%, 80%, 100% {
- -webkit-transform: scale(0);
- }
- 40% {
- -webkit-transform: scale(1);
- }
-}
-
-@keyframes bounceDelay {
- 0%, 80%, 100% {
- transform: scale(0);
- -webkit-transform: scale(0);
- }
- 40% {
- transform: scale(1);
- -webkit-transform: scale(1);
- }
-}
-
-/* Button */
-.btn.default {
- color: #333333;
- background-color: #E5E5E5;
- border-color: "";
-}
-
-.btn.default:hover, .btn.default:focus, .btn.default:active, .btn.default.active {
- color: #333333;
- background-color: lightgray;
-}
-
-.open .btn.default.dropdown-toggle {
- color: #333333;
- background-color: lightgray;
-}
-
-.btn.default:active, .btn.default.active {
- background-image: none;
- background-color: #c6c6c6;
-}
-
-.btn.default:active:hover, .btn.default.active:hover {
- background-color: #cccccc;
-}
-
-.open .btn.default.dropdown-toggle {
- background-image: none;
-}
-
-.btn.default.disabled, .btn.default.disabled:hover, .btn.default.disabled:focus, .btn.default.disabled:active, .btn.default.disabled.active, .btn.default[disabled], .btn.default[disabled]:hover, .btn.default[disabled]:focus, .btn.default[disabled]:active, .btn.default[disabled].active, fieldset[disabled] .btn.default, fieldset[disabled] .btn.default:hover, fieldset[disabled] .btn.default:focus, fieldset[disabled] .btn.default:active, fieldset[disabled] .btn.default.active {
- background-color: #E5E5E5;
-}
-
-.btn.default .badge {
- color: #E5E5E5;
- background-color: #333333;
-}
-
-/**********
-Blue Colors
-***********/
-/***
-Blue Default
-***/
-/* Button */
-.blue.btn {
- color: #FFFFFF;
- background-color: #4B8DF8;
- border-color: "";
-}
-
-.blue.btn:hover, .blue.btn:focus, .blue.btn:active, .blue.btn.active {
- color: #FFFFFF;
- background-color: #2977f7;
-}
-
-.open .blue.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #2977f7;
-}
-
-.blue.btn:active, .blue.btn.active {
- background-image: none;
- background-color: #1068f6;
-}
-
-.blue.btn:active:hover, .blue.btn.active:hover {
- background-color: #1a6ef6;
-}
-
-.open .blue.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue.btn.disabled, .blue.btn.disabled:hover, .blue.btn.disabled:focus, .blue.btn.disabled:active, .blue.btn.disabled.active, .blue.btn[disabled], .blue.btn[disabled]:hover, .blue.btn[disabled]:focus, .blue.btn[disabled]:active, .blue.btn[disabled].active, fieldset[disabled] .blue.btn, fieldset[disabled] .blue.btn:hover, fieldset[disabled] .blue.btn:focus, fieldset[disabled] .blue.btn:active, fieldset[disabled] .blue.btn.active {
- background-color: #4B8DF8;
-}
-
-.blue.btn .badge {
- color: #4B8DF8;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-stripe {
- border-left: 3px solid #4B8DF8;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue,
-.portlet.blue {
- background-color: #4B8DF8;
-}
-
-.portlet.solid.blue > .portlet-title,
-.portlet.solid.blue > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue {
- border: 1px solid #7cacfa;
- border-top: 0;
-}
-
-.portlet.box.blue > .portlet-title {
- background-color: #4B8DF8;
-}
-
-.portlet.box.blue > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #b7d1fc;
- color: #d0e1fd;
-}
-
-.portlet.box.blue > .portlet-title > .actions .btn-default > i {
- color: #deeafe;
-}
-
-.portlet.box.blue > .portlet-title > .actions .btn-default:hover, .portlet.box.blue > .portlet-title > .actions .btn-default:focus, .portlet.box.blue > .portlet-title > .actions .btn-default:active, .portlet.box.blue > .portlet-title > .actions .btn-default.active {
- border: 1px solid #e8f0fe;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue {
- background-color: #4B8DF8;
-}
-
-.dashboard-stat.blue.dashboard-stat-light:hover {
- background-color: #3781f7;
-}
-
-.dashboard-stat.blue .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue .more {
- color: #FFFFFF;
- background-color: #3781f7;
-}
-
-/* General Element */
-.bg-blue {
- border-color: #4B8DF8 !important;
- background-image: none !important;
- background-color: #4B8DF8 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue {
- color: #4B8DF8 !important;
-}
-
-/***
-Blue Madison
-***/
-/* Button */
-.blue-madison.btn {
- color: #FFFFFF;
- background-color: #578ebe;
- border-color: "";
-}
-
-.blue-madison.btn:hover, .blue-madison.btn:focus, .blue-madison.btn:active, .blue-madison.btn.active {
- color: #FFFFFF;
- background-color: #437cae;
-}
-
-.open .blue-madison.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #437cae;
-}
-
-.blue-madison.btn:active, .blue-madison.btn.active {
- background-image: none;
- background-color: #3c6f9c;
-}
-
-.blue-madison.btn:active:hover, .blue-madison.btn.active:hover {
- background-color: #3f74a3;
-}
-
-.open .blue-madison.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-madison.btn.disabled, .blue-madison.btn.disabled:hover, .blue-madison.btn.disabled:focus, .blue-madison.btn.disabled:active, .blue-madison.btn.disabled.active, .blue-madison.btn[disabled], .blue-madison.btn[disabled]:hover, .blue-madison.btn[disabled]:focus, .blue-madison.btn[disabled]:active, .blue-madison.btn[disabled].active, fieldset[disabled] .blue-madison.btn, fieldset[disabled] .blue-madison.btn:hover, fieldset[disabled] .blue-madison.btn:focus, fieldset[disabled] .blue-madison.btn:active, fieldset[disabled] .blue-madison.btn.active {
- background-color: #578ebe;
-}
-
-.blue-madison.btn .badge {
- color: #578ebe;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-madison-stripe {
- border-left: 3px solid #578ebe;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-madison,
-.portlet.blue-madison {
- background-color: #578ebe;
-}
-
-.portlet.solid.blue-madison > .portlet-title,
-.portlet.solid.blue-madison > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-madison > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-madison > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-madison > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-madison > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-madison > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-madison > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-madison > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-madison {
- border: 1px solid #7ca7cc;
- border-top: 0;
-}
-
-.portlet.box.blue-madison > .portlet-title {
- background-color: #578ebe;
-}
-
-.portlet.box.blue-madison > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-madison > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-madison > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #a8c4dd;
- color: #bad1e4;
-}
-
-.portlet.box.blue-madison > .portlet-title > .actions .btn-default > i {
- color: #c5d8e9;
-}
-
-.portlet.box.blue-madison > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-madison > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-madison > .portlet-title > .actions .btn-default:active, .portlet.box.blue-madison > .portlet-title > .actions .btn-default.active {
- border: 1px solid #cdddec;
- color: #dfeaf3;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-madison {
- background-color: #578ebe;
-}
-
-.dashboard-stat.blue-madison.dashboard-stat-light:hover {
- background-color: #4884b8;
-}
-
-.dashboard-stat.blue-madison .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-madison .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-madison .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-madison .more {
- color: #FFFFFF;
- background-color: #4884b8;
-}
-
-/* General Element */
-.bg-blue-madison {
- border-color: #578ebe !important;
- background-image: none !important;
- background-color: #578ebe !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-madison {
- color: #578ebe !important;
-}
-
-/***
-Blue Chambray
-***/
-/* Button */
-.blue-chambray.btn {
- color: #FFFFFF;
- background-color: #2C3E50;
- border-color: "";
-}
-
-.blue-chambray.btn:hover, .blue-chambray.btn:focus, .blue-chambray.btn:active, .blue-chambray.btn.active {
- color: #FFFFFF;
- background-color: #1f2c39;
-}
-
-.open .blue-chambray.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #1f2c39;
-}
-
-.blue-chambray.btn:active, .blue-chambray.btn.active {
- background-image: none;
- background-color: #161f29;
-}
-
-.blue-chambray.btn:active:hover, .blue-chambray.btn.active:hover {
- background-color: #1a242f;
-}
-
-.open .blue-chambray.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-chambray.btn.disabled, .blue-chambray.btn.disabled:hover, .blue-chambray.btn.disabled:focus, .blue-chambray.btn.disabled:active, .blue-chambray.btn.disabled.active, .blue-chambray.btn[disabled], .blue-chambray.btn[disabled]:hover, .blue-chambray.btn[disabled]:focus, .blue-chambray.btn[disabled]:active, .blue-chambray.btn[disabled].active, fieldset[disabled] .blue-chambray.btn, fieldset[disabled] .blue-chambray.btn:hover, fieldset[disabled] .blue-chambray.btn:focus, fieldset[disabled] .blue-chambray.btn:active, fieldset[disabled] .blue-chambray.btn.active {
- background-color: #2C3E50;
-}
-
-.blue-chambray.btn .badge {
- color: #2C3E50;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-chambray-stripe {
- border-left: 3px solid #2C3E50;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-chambray,
-.portlet.blue-chambray {
- background-color: #2C3E50;
-}
-
-.portlet.solid.blue-chambray > .portlet-title,
-.portlet.solid.blue-chambray > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-chambray > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-chambray {
- border: 1px solid #3e5771;
- border-top: 0;
-}
-
-.portlet.box.blue-chambray > .portlet-title {
- background-color: #2C3E50;
-}
-
-.portlet.box.blue-chambray > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-chambray > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-chambray > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #547698;
- color: #5f83a7;
-}
-
-.portlet.box.blue-chambray > .portlet-title > .actions .btn-default > i {
- color: #698aac;
-}
-
-.portlet.box.blue-chambray > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-chambray > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-chambray > .portlet-title > .actions .btn-default:active, .portlet.box.blue-chambray > .portlet-title > .actions .btn-default.active {
- border: 1px solid #6f90b0;
- color: #809cb9;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-chambray {
- background-color: #2C3E50;
-}
-
-.dashboard-stat.blue-chambray.dashboard-stat-light:hover {
- background-color: #253443;
-}
-
-.dashboard-stat.blue-chambray .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-chambray .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-chambray .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-chambray .more {
- color: #FFFFFF;
- background-color: #253443;
-}
-
-/* General Element */
-.bg-blue-chambray {
- border-color: #2C3E50 !important;
- background-image: none !important;
- background-color: #2C3E50 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-chambray {
- color: #2C3E50 !important;
-}
-
-/***
-Blue Ebonyclay
-***/
-/* Button */
-.blue-ebonyclay.btn {
- color: #FFFFFF;
- background-color: #22313F;
- border-color: "";
-}
-
-.blue-ebonyclay.btn:hover, .blue-ebonyclay.btn:focus, .blue-ebonyclay.btn:active, .blue-ebonyclay.btn.active {
- color: #FFFFFF;
- background-color: #151f28;
-}
-
-.open .blue-ebonyclay.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #151f28;
-}
-
-.blue-ebonyclay.btn:active, .blue-ebonyclay.btn.active {
- background-image: none;
- background-color: #0d1217;
-}
-
-.blue-ebonyclay.btn:active:hover, .blue-ebonyclay.btn.active:hover {
- background-color: #10171e;
-}
-
-.open .blue-ebonyclay.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-ebonyclay.btn.disabled, .blue-ebonyclay.btn.disabled:hover, .blue-ebonyclay.btn.disabled:focus, .blue-ebonyclay.btn.disabled:active, .blue-ebonyclay.btn.disabled.active, .blue-ebonyclay.btn[disabled], .blue-ebonyclay.btn[disabled]:hover, .blue-ebonyclay.btn[disabled]:focus, .blue-ebonyclay.btn[disabled]:active, .blue-ebonyclay.btn[disabled].active, fieldset[disabled] .blue-ebonyclay.btn, fieldset[disabled] .blue-ebonyclay.btn:hover, fieldset[disabled] .blue-ebonyclay.btn:focus, fieldset[disabled] .blue-ebonyclay.btn:active, fieldset[disabled] .blue-ebonyclay.btn.active {
- background-color: #22313F;
-}
-
-.blue-ebonyclay.btn .badge {
- color: #22313F;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-ebonyclay-stripe {
- border-left: 3px solid #22313F;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-ebonyclay,
-.portlet.blue-ebonyclay {
- background-color: #22313F;
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title,
-.portlet.solid.blue-ebonyclay > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-ebonyclay > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-ebonyclay {
- border: 1px solid #344b60;
- border-top: 0;
-}
-
-.portlet.box.blue-ebonyclay > .portlet-title {
- background-color: #22313F;
-}
-
-.portlet.box.blue-ebonyclay > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-ebonyclay > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-ebonyclay > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #496a88;
- color: #527798;
-}
-
-.portlet.box.blue-ebonyclay > .portlet-title > .actions .btn-default > i {
- color: #587ea2;
-}
-
-.portlet.box.blue-ebonyclay > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-ebonyclay > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-ebonyclay > .portlet-title > .actions .btn-default:active, .portlet.box.blue-ebonyclay > .portlet-title > .actions .btn-default.active {
- border: 1px solid #5d83a7;
- color: #6d90b0;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-ebonyclay {
- background-color: #22313F;
-}
-
-.dashboard-stat.blue-ebonyclay.dashboard-stat-light:hover {
- background-color: #1b2732;
-}
-
-.dashboard-stat.blue-ebonyclay .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-ebonyclay .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-ebonyclay .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-ebonyclay .more {
- color: #FFFFFF;
- background-color: #1b2732;
-}
-
-/* General Element */
-.bg-blue-ebonyclay {
- border-color: #22313F !important;
- background-image: none !important;
- background-color: #22313F !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-ebonyclay {
- color: #22313F !important;
-}
-
-/***
-Blue Hoki
-***/
-/* Button */
-.blue-hoki.btn {
- color: #FFFFFF;
- background-color: #67809F;
- border-color: "";
-}
-
-.blue-hoki.btn:hover, .blue-hoki.btn:focus, .blue-hoki.btn:active, .blue-hoki.btn.active {
- color: #FFFFFF;
- background-color: #586e8b;
-}
-
-.open .blue-hoki.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #586e8b;
-}
-
-.blue-hoki.btn:active, .blue-hoki.btn.active {
- background-image: none;
- background-color: #4e627b;
-}
-
-.blue-hoki.btn:active:hover, .blue-hoki.btn.active:hover {
- background-color: #526781;
-}
-
-.open .blue-hoki.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-hoki.btn.disabled, .blue-hoki.btn.disabled:hover, .blue-hoki.btn.disabled:focus, .blue-hoki.btn.disabled:active, .blue-hoki.btn.disabled.active, .blue-hoki.btn[disabled], .blue-hoki.btn[disabled]:hover, .blue-hoki.btn[disabled]:focus, .blue-hoki.btn[disabled]:active, .blue-hoki.btn[disabled].active, fieldset[disabled] .blue-hoki.btn, fieldset[disabled] .blue-hoki.btn:hover, fieldset[disabled] .blue-hoki.btn:focus, fieldset[disabled] .blue-hoki.btn:active, fieldset[disabled] .blue-hoki.btn.active {
- background-color: #67809F;
-}
-
-.blue-hoki.btn .badge {
- color: #67809F;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-hoki-stripe {
- border-left: 3px solid #67809F;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-hoki,
-.portlet.blue-hoki {
- background-color: #67809F;
-}
-
-.portlet.solid.blue-hoki > .portlet-title,
-.portlet.solid.blue-hoki > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-hoki > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-hoki {
- border: 1px solid #869ab3;
- border-top: 0;
-}
-
-.portlet.box.blue-hoki > .portlet-title {
- background-color: #67809F;
-}
-
-.portlet.box.blue-hoki > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-hoki > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-hoki > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #acb9ca;
- color: #bbc7d4;
-}
-
-.portlet.box.blue-hoki > .portlet-title > .actions .btn-default > i {
- color: #c5ceda;
-}
-
-.portlet.box.blue-hoki > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-hoki > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-hoki > .portlet-title > .actions .btn-default:active, .portlet.box.blue-hoki > .portlet-title > .actions .btn-default.active {
- border: 1px solid #cbd4de;
- color: #dbe1e8;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-hoki {
- background-color: #67809F;
-}
-
-.dashboard-stat.blue-hoki.dashboard-stat-light:hover {
- background-color: #5e7694;
-}
-
-.dashboard-stat.blue-hoki .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-hoki .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-hoki .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-hoki .more {
- color: #FFFFFF;
- background-color: #5e7694;
-}
-
-/* General Element */
-.bg-blue-hoki {
- border-color: #67809F !important;
- background-image: none !important;
- background-color: #67809F !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-hoki {
- color: #67809F !important;
-}
-
-/***
-Blue Stell
-***/
-/* Button */
-.blue-steel.btn {
- color: #FFFFFF;
- background-color: #4B77BE;
- border-color: "";
-}
-
-.blue-steel.btn:hover, .blue-steel.btn:focus, .blue-steel.btn:active, .blue-steel.btn.active {
- color: #FFFFFF;
- background-color: #3d66a8;
-}
-
-.open .blue-steel.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #3d66a8;
-}
-
-.blue-steel.btn:active, .blue-steel.btn.active {
- background-image: none;
- background-color: #365b96;
-}
-
-.blue-steel.btn:active:hover, .blue-steel.btn.active:hover {
- background-color: #395f9d;
-}
-
-.open .blue-steel.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-steel.btn.disabled, .blue-steel.btn.disabled:hover, .blue-steel.btn.disabled:focus, .blue-steel.btn.disabled:active, .blue-steel.btn.disabled.active, .blue-steel.btn[disabled], .blue-steel.btn[disabled]:hover, .blue-steel.btn[disabled]:focus, .blue-steel.btn[disabled]:active, .blue-steel.btn[disabled].active, fieldset[disabled] .blue-steel.btn, fieldset[disabled] .blue-steel.btn:hover, fieldset[disabled] .blue-steel.btn:focus, fieldset[disabled] .blue-steel.btn:active, fieldset[disabled] .blue-steel.btn.active {
- background-color: #4B77BE;
-}
-
-.blue-steel.btn .badge {
- color: #4B77BE;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-steel-stripe {
- border-left: 3px solid #4B77BE;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-steel,
-.portlet.blue-steel {
- background-color: #4B77BE;
-}
-
-.portlet.solid.blue-steel > .portlet-title,
-.portlet.solid.blue-steel > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-steel > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-steel > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-steel > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-steel > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-steel > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-steel > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-steel > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-steel {
- border: 1px solid #7093cc;
- border-top: 0;
-}
-
-.portlet.box.blue-steel > .portlet-title {
- background-color: #4B77BE;
-}
-
-.portlet.box.blue-steel > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-steel > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-steel > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #9db5dc;
- color: #b0c3e3;
-}
-
-.portlet.box.blue-steel > .portlet-title > .actions .btn-default > i {
- color: #bbcce7;
-}
-
-.portlet.box.blue-steel > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-steel > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-steel > .portlet-title > .actions .btn-default:active, .portlet.box.blue-steel > .portlet-title > .actions .btn-default.active {
- border: 1px solid #c3d2e9;
- color: #d6e0f0;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-steel {
- background-color: #4B77BE;
-}
-
-.dashboard-stat.blue-steel.dashboard-stat-light:hover {
- background-color: #416db4;
-}
-
-.dashboard-stat.blue-steel .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-steel .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-steel .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-steel .more {
- color: #FFFFFF;
- background-color: #416db4;
-}
-
-/* General Element */
-.bg-blue-steel {
- border-color: #4B77BE !important;
- background-image: none !important;
- background-color: #4B77BE !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-steel {
- color: #4B77BE !important;
-}
-
-/***
-Blue Soft
-***/
-/* Button */
-.blue-soft.btn {
- color: #FFFFFF;
- background-color: #4c87b9;
- border-color: "";
-}
-
-.blue-soft.btn:hover, .blue-soft.btn:focus, .blue-soft.btn:active, .blue-soft.btn.active {
- color: #FFFFFF;
- background-color: #3f75a2;
-}
-
-.open .blue-soft.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #3f75a2;
-}
-
-.blue-soft.btn:active, .blue-soft.btn.active {
- background-image: none;
- background-color: #386890;
-}
-
-.blue-soft.btn:active:hover, .blue-soft.btn.active:hover {
- background-color: #3b6d97;
-}
-
-.open .blue-soft.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-soft.btn.disabled, .blue-soft.btn.disabled:hover, .blue-soft.btn.disabled:focus, .blue-soft.btn.disabled:active, .blue-soft.btn.disabled.active, .blue-soft.btn[disabled], .blue-soft.btn[disabled]:hover, .blue-soft.btn[disabled]:focus, .blue-soft.btn[disabled]:active, .blue-soft.btn[disabled].active, fieldset[disabled] .blue-soft.btn, fieldset[disabled] .blue-soft.btn:hover, fieldset[disabled] .blue-soft.btn:focus, fieldset[disabled] .blue-soft.btn:active, fieldset[disabled] .blue-soft.btn.active {
- background-color: #4c87b9;
-}
-
-.blue-soft.btn .badge {
- color: #4c87b9;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-soft-stripe {
- border-left: 3px solid #4c87b9;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-soft,
-.portlet.blue-soft {
- background-color: #4c87b9;
-}
-
-.portlet.solid.blue-soft > .portlet-title,
-.portlet.solid.blue-soft > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-soft > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-soft > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-soft > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-soft > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-soft > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-soft > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-soft {
- border: 1px solid #71a0c7;
- border-top: 0;
-}
-
-.portlet.box.blue-soft > .portlet-title {
- background-color: #4c87b9;
-}
-
-.portlet.box.blue-soft > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-soft > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #9dbdd9;
- color: #afc9e0;
-}
-
-.portlet.box.blue-soft > .portlet-title > .actions .btn-default > i {
- color: #bad1e4;
-}
-
-.portlet.box.blue-soft > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-soft > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-soft > .portlet-title > .actions .btn-default:active, .portlet.box.blue-soft > .portlet-title > .actions .btn-default.active {
- border: 1px solid #c1d6e7;
- color: #d4e2ee;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-soft {
- background-color: #4c87b9;
-}
-
-.dashboard-stat.blue-soft.dashboard-stat-light:hover {
- background-color: #447dad;
-}
-
-.dashboard-stat.blue-soft .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-soft .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-soft .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-soft .more {
- color: #FFFFFF;
- background-color: #447dad;
-}
-
-/* General Element */
-.bg-blue-soft {
- border-color: #4c87b9 !important;
- background-image: none !important;
- background-color: #4c87b9 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-soft {
- color: #4c87b9 !important;
-}
-
-/***
-Blue Dark
-***/
-/* Button */
-.blue-dark.btn {
- color: #FFFFFF;
- background-color: #5e738b;
- border-color: "";
-}
-
-.blue-dark.btn:hover, .blue-dark.btn:focus, .blue-dark.btn:active, .blue-dark.btn.active {
- color: #FFFFFF;
- background-color: #506176;
-}
-
-.open .blue-dark.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #506176;
-}
-
-.blue-dark.btn:active, .blue-dark.btn.active {
- background-image: none;
- background-color: #455566;
-}
-
-.blue-dark.btn:active:hover, .blue-dark.btn.active:hover {
- background-color: #495a6d;
-}
-
-.open .blue-dark.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-dark.btn.disabled, .blue-dark.btn.disabled:hover, .blue-dark.btn.disabled:focus, .blue-dark.btn.disabled:active, .blue-dark.btn.disabled.active, .blue-dark.btn[disabled], .blue-dark.btn[disabled]:hover, .blue-dark.btn[disabled]:focus, .blue-dark.btn[disabled]:active, .blue-dark.btn[disabled].active, fieldset[disabled] .blue-dark.btn, fieldset[disabled] .blue-dark.btn:hover, fieldset[disabled] .blue-dark.btn:focus, fieldset[disabled] .blue-dark.btn:active, fieldset[disabled] .blue-dark.btn.active {
- background-color: #5e738b;
-}
-
-.blue-dark.btn .badge {
- color: #5e738b;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-dark-stripe {
- border-left: 3px solid #5e738b;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-dark,
-.portlet.blue-dark {
- background-color: #5e738b;
-}
-
-.portlet.solid.blue-dark > .portlet-title,
-.portlet.solid.blue-dark > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-dark > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-dark > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-dark > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-dark > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-dark > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-dark > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-dark > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-dark {
- border: 1px solid #788da4;
- border-top: 0;
-}
-
-.portlet.box.blue-dark > .portlet-title {
- background-color: #5e738b;
-}
-
-.portlet.box.blue-dark > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-dark > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-dark > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #9dacbd;
- color: #acb8c7;
-}
-
-.portlet.box.blue-dark > .portlet-title > .actions .btn-default > i {
- color: #b5c0cd;
-}
-
-.portlet.box.blue-dark > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-dark > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-dark > .portlet-title > .actions .btn-default:active, .portlet.box.blue-dark > .portlet-title > .actions .btn-default.active {
- border: 1px solid #bbc5d1;
- color: #cad2db;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-dark {
- background-color: #5e738b;
-}
-
-.dashboard-stat.blue-dark.dashboard-stat-light:hover {
- background-color: #56697f;
-}
-
-.dashboard-stat.blue-dark .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-dark .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-dark .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-dark .more {
- color: #FFFFFF;
- background-color: #56697f;
-}
-
-/* General Element */
-.bg-blue-dark {
- border-color: #5e738b !important;
- background-image: none !important;
- background-color: #5e738b !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-dark {
- color: #5e738b !important;
-}
-
-/***
-Blue Sharp
-***/
-/* Button */
-.blue-sharp.btn {
- color: #FFFFFF;
- background-color: #5C9BD1;
- border-color: "";
-}
-
-.blue-sharp.btn:hover, .blue-sharp.btn:focus, .blue-sharp.btn:active, .blue-sharp.btn.active {
- color: #FFFFFF;
- background-color: #408ac9;
-}
-
-.open .blue-sharp.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #408ac9;
-}
-
-.blue-sharp.btn:active, .blue-sharp.btn.active {
- background-image: none;
- background-color: #357dbb;
-}
-
-.blue-sharp.btn:active:hover, .blue-sharp.btn.active:hover {
- background-color: #3782c3;
-}
-
-.open .blue-sharp.btn.dropdown-toggle {
- background-image: none;
-}
-
-.blue-sharp.btn.disabled, .blue-sharp.btn.disabled:hover, .blue-sharp.btn.disabled:focus, .blue-sharp.btn.disabled:active, .blue-sharp.btn.disabled.active, .blue-sharp.btn[disabled], .blue-sharp.btn[disabled]:hover, .blue-sharp.btn[disabled]:focus, .blue-sharp.btn[disabled]:active, .blue-sharp.btn[disabled].active, fieldset[disabled] .blue-sharp.btn, fieldset[disabled] .blue-sharp.btn:hover, fieldset[disabled] .blue-sharp.btn:focus, fieldset[disabled] .blue-sharp.btn:active, fieldset[disabled] .blue-sharp.btn.active {
- background-color: #5C9BD1;
-}
-
-.blue-sharp.btn .badge {
- color: #5C9BD1;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.blue-sharp-stripe {
- border-left: 3px solid #5C9BD1;
-}
-
-/* Portlet */
-.portlet > .portlet-body.blue-sharp,
-.portlet.blue-sharp {
- background-color: #5C9BD1;
-}
-
-.portlet.solid.blue-sharp > .portlet-title,
-.portlet.solid.blue-sharp > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.blue-sharp > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.blue-sharp {
- border: 1px solid #84b3dc;
- border-top: 0;
-}
-
-.portlet.box.blue-sharp > .portlet-title {
- background-color: #5C9BD1;
-}
-
-.portlet.box.blue-sharp > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-sharp > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.blue-sharp > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #b4d1ea;
- color: #c7ddef;
-}
-
-.portlet.box.blue-sharp > .portlet-title > .actions .btn-default > i {
- color: #d3e4f3;
-}
-
-.portlet.box.blue-sharp > .portlet-title > .actions .btn-default:hover, .portlet.box.blue-sharp > .portlet-title > .actions .btn-default:focus, .portlet.box.blue-sharp > .portlet-title > .actions .btn-default:active, .portlet.box.blue-sharp > .portlet-title > .actions .btn-default.active {
- border: 1px solid #dbe9f5;
- color: #eff5fb;
-}
-
-/* Statistic Block */
-.dashboard-stat.blue-sharp {
- background-color: #5C9BD1;
-}
-
-.dashboard-stat.blue-sharp.dashboard-stat-light:hover {
- background-color: #4c91cd;
-}
-
-.dashboard-stat.blue-sharp .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.blue-sharp .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.blue-sharp .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.blue-sharp .more {
- color: #FFFFFF;
- background-color: #4c91cd;
-}
-
-/* General Element */
-.bg-blue-sharp {
- border-color: #5C9BD1 !important;
- background-image: none !important;
- background-color: #5C9BD1 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-blue-sharp {
- color: #5C9BD1 !important;
-}
-
-/***********
-Green Colors
-************/
-/***
-Green Default
-***/
-/* Button */
-.green.btn {
- color: #FFFFFF;
- background-color: #35aa47;
- border-color: "";
-}
-
-.green.btn:hover, .green.btn:focus, .green.btn:active, .green.btn.active {
- color: #FFFFFF;
- background-color: #2d8f3c;
-}
-
-.open .green.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #2d8f3c;
-}
-
-.green.btn:active, .green.btn.active {
- background-image: none;
- background-color: #267b34;
-}
-
-.green.btn:active:hover, .green.btn.active:hover {
- background-color: #298337;
-}
-
-.open .green.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green.btn.disabled, .green.btn.disabled:hover, .green.btn.disabled:focus, .green.btn.disabled:active, .green.btn.disabled.active, .green.btn[disabled], .green.btn[disabled]:hover, .green.btn[disabled]:focus, .green.btn[disabled]:active, .green.btn[disabled].active, fieldset[disabled] .green.btn, fieldset[disabled] .green.btn:hover, fieldset[disabled] .green.btn:focus, fieldset[disabled] .green.btn:active, fieldset[disabled] .green.btn.active {
- background-color: #35aa47;
-}
-
-.green.btn .badge {
- color: #35aa47;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-stripe {
- border-left: 3px solid #35aa47;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green,
-.portlet.green {
- background-color: #35aa47;
-}
-
-.portlet.solid.green > .portlet-title,
-.portlet.solid.green > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green {
- border: 1px solid #4bc75e;
- border-top: 0;
-}
-
-.portlet.box.green > .portlet-title {
- background-color: #35aa47;
-}
-
-.portlet.box.green > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #7ad588;
- color: #8ddc99;
-}
-
-.portlet.box.green > .portlet-title > .actions .btn-default > i {
- color: #99dfa4;
-}
-
-.portlet.box.green > .portlet-title > .actions .btn-default:hover, .portlet.box.green > .portlet-title > .actions .btn-default:focus, .portlet.box.green > .portlet-title > .actions .btn-default:active, .portlet.box.green > .portlet-title > .actions .btn-default.active {
- border: 1px solid #a1e2ab;
- color: #b4e8bc;
-}
-
-/* Statistic Block */
-.dashboard-stat.green {
- background-color: #35aa47;
-}
-
-.dashboard-stat.green.dashboard-stat-light:hover {
- background-color: #309a41;
-}
-
-.dashboard-stat.green .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green .more {
- color: #FFFFFF;
- background-color: #309a41;
-}
-
-/* General Element */
-.bg-green {
- border-color: #35aa47 !important;
- background-image: none !important;
- background-color: #35aa47 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green {
- color: #35aa47 !important;
-}
-
-/***
-Green Meadow
-***/
-/* Button */
-.green-meadow.btn {
- color: #FFFFFF;
- background-color: #1BBC9B;
- border-color: "";
-}
-
-.green-meadow.btn:hover, .green-meadow.btn:focus, .green-meadow.btn:active, .green-meadow.btn.active {
- color: #FFFFFF;
- background-color: #179d81;
-}
-
-.open .green-meadow.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #179d81;
-}
-
-.green-meadow.btn:active, .green-meadow.btn.active {
- background-image: none;
- background-color: #13866f;
-}
-
-.green-meadow.btn:active:hover, .green-meadow.btn.active:hover {
- background-color: #158f76;
-}
-
-.open .green-meadow.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-meadow.btn.disabled, .green-meadow.btn.disabled:hover, .green-meadow.btn.disabled:focus, .green-meadow.btn.disabled:active, .green-meadow.btn.disabled.active, .green-meadow.btn[disabled], .green-meadow.btn[disabled]:hover, .green-meadow.btn[disabled]:focus, .green-meadow.btn[disabled]:active, .green-meadow.btn[disabled].active, fieldset[disabled] .green-meadow.btn, fieldset[disabled] .green-meadow.btn:hover, fieldset[disabled] .green-meadow.btn:focus, fieldset[disabled] .green-meadow.btn:active, fieldset[disabled] .green-meadow.btn.active {
- background-color: #1BBC9B;
-}
-
-.green-meadow.btn .badge {
- color: #1BBC9B;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-meadow-stripe {
- border-left: 3px solid #1BBC9B;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-meadow,
-.portlet.green-meadow {
- background-color: #1BBC9B;
-}
-
-.portlet.solid.green-meadow > .portlet-title,
-.portlet.solid.green-meadow > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-meadow > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-meadow > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-meadow > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-meadow > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-meadow > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-meadow > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-meadow > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-meadow {
- border: 1px solid #2ae0bb;
- border-top: 0;
-}
-
-.portlet.box.green-meadow > .portlet-title {
- background-color: #1BBC9B;
-}
-
-.portlet.box.green-meadow > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-meadow > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-meadow > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #5fe8cc;
- color: #75ebd3;
-}
-
-.portlet.box.green-meadow > .portlet-title > .actions .btn-default > i {
- color: #83edd7;
-}
-
-.portlet.box.green-meadow > .portlet-title > .actions .btn-default:hover, .portlet.box.green-meadow > .portlet-title > .actions .btn-default:focus, .portlet.box.green-meadow > .portlet-title > .actions .btn-default:active, .portlet.box.green-meadow > .portlet-title > .actions .btn-default.active {
- border: 1px solid #8ceeda;
- color: #a2f2e1;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-meadow {
- background-color: #1BBC9B;
-}
-
-.dashboard-stat.green-meadow.dashboard-stat-light:hover {
- background-color: #18aa8c;
-}
-
-.dashboard-stat.green-meadow .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-meadow .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-meadow .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-meadow .more {
- color: #FFFFFF;
- background-color: #18aa8c;
-}
-
-/* General Element */
-.bg-green-meadow {
- border-color: #1BBC9B !important;
- background-image: none !important;
- background-color: #1BBC9B !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-meadow {
- color: #1BBC9B !important;
-}
-
-/***
-Green Seagreen
-***/
-/* Button */
-.green-seagreen.btn {
- color: #FFFFFF;
- background-color: #1BA39C;
- border-color: "";
-}
-
-.green-seagreen.btn:hover, .green-seagreen.btn:focus, .green-seagreen.btn:active, .green-seagreen.btn.active {
- color: #FFFFFF;
- background-color: #16847f;
-}
-
-.open .green-seagreen.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #16847f;
-}
-
-.green-seagreen.btn:active, .green-seagreen.btn.active {
- background-image: none;
- background-color: #126e6a;
-}
-
-.green-seagreen.btn:active:hover, .green-seagreen.btn.active:hover {
- background-color: #147772;
-}
-
-.open .green-seagreen.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-seagreen.btn.disabled, .green-seagreen.btn.disabled:hover, .green-seagreen.btn.disabled:focus, .green-seagreen.btn.disabled:active, .green-seagreen.btn.disabled.active, .green-seagreen.btn[disabled], .green-seagreen.btn[disabled]:hover, .green-seagreen.btn[disabled]:focus, .green-seagreen.btn[disabled]:active, .green-seagreen.btn[disabled].active, fieldset[disabled] .green-seagreen.btn, fieldset[disabled] .green-seagreen.btn:hover, fieldset[disabled] .green-seagreen.btn:focus, fieldset[disabled] .green-seagreen.btn:active, fieldset[disabled] .green-seagreen.btn.active {
- background-color: #1BA39C;
-}
-
-.green-seagreen.btn .badge {
- color: #1BA39C;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-seagreen-stripe {
- border-left: 3px solid #1BA39C;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-seagreen,
-.portlet.green-seagreen {
- background-color: #1BA39C;
-}
-
-.portlet.solid.green-seagreen > .portlet-title,
-.portlet.solid.green-seagreen > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-seagreen > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-seagreen {
- border: 1px solid #22cfc6;
- border-top: 0;
-}
-
-.portlet.box.green-seagreen > .portlet-title {
- background-color: #1BA39C;
-}
-
-.portlet.box.green-seagreen > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-seagreen > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-seagreen > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #4de1da;
- color: #63e5de;
-}
-
-.portlet.box.green-seagreen > .portlet-title > .actions .btn-default > i {
- color: #70e7e1;
-}
-
-.portlet.box.green-seagreen > .portlet-title > .actions .btn-default:hover, .portlet.box.green-seagreen > .portlet-title > .actions .btn-default:focus, .portlet.box.green-seagreen > .portlet-title > .actions .btn-default:active, .portlet.box.green-seagreen > .portlet-title > .actions .btn-default.active {
- border: 1px solid #78e9e3;
- color: #8eece8;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-seagreen {
- background-color: #1BA39C;
-}
-
-.dashboard-stat.green-seagreen.dashboard-stat-light:hover {
- background-color: #18918b;
-}
-
-.dashboard-stat.green-seagreen .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-seagreen .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-seagreen .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-seagreen .more {
- color: #FFFFFF;
- background-color: #18918b;
-}
-
-/* General Element */
-.bg-green-seagreen {
- border-color: #1BA39C !important;
- background-image: none !important;
- background-color: #1BA39C !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-seagreen {
- color: #1BA39C !important;
-}
-
-/***
-Green Turquoise
-***/
-/* Button */
-.green-turquoise.btn {
- color: #FFFFFF;
- background-color: #36D7B7;
- border-color: "";
-}
-
-.green-turquoise.btn:hover, .green-turquoise.btn:focus, .green-turquoise.btn:active, .green-turquoise.btn.active {
- color: #FFFFFF;
- background-color: #27c3a4;
-}
-
-.open .green-turquoise.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #27c3a4;
-}
-
-.green-turquoise.btn:active, .green-turquoise.btn.active {
- background-image: none;
- background-color: #22ad92;
-}
-
-.green-turquoise.btn:active:hover, .green-turquoise.btn.active:hover {
- background-color: #24b699;
-}
-
-.open .green-turquoise.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-turquoise.btn.disabled, .green-turquoise.btn.disabled:hover, .green-turquoise.btn.disabled:focus, .green-turquoise.btn.disabled:active, .green-turquoise.btn.disabled.active, .green-turquoise.btn[disabled], .green-turquoise.btn[disabled]:hover, .green-turquoise.btn[disabled]:focus, .green-turquoise.btn[disabled]:active, .green-turquoise.btn[disabled].active, fieldset[disabled] .green-turquoise.btn, fieldset[disabled] .green-turquoise.btn:hover, fieldset[disabled] .green-turquoise.btn:focus, fieldset[disabled] .green-turquoise.btn:active, fieldset[disabled] .green-turquoise.btn.active {
- background-color: #36D7B7;
-}
-
-.green-turquoise.btn .badge {
- color: #36D7B7;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-turquoise-stripe {
- border-left: 3px solid #36D7B7;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-turquoise,
-.portlet.green-turquoise {
- background-color: #36D7B7;
-}
-
-.portlet.solid.green-turquoise > .portlet-title,
-.portlet.solid.green-turquoise > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-turquoise > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-turquoise {
- border: 1px solid #61dfc6;
- border-top: 0;
-}
-
-.portlet.box.green-turquoise > .portlet-title {
- background-color: #36D7B7;
-}
-
-.portlet.box.green-turquoise > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-turquoise > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-turquoise > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #94ead9;
- color: #a9eee0;
-}
-
-.portlet.box.green-turquoise > .portlet-title > .actions .btn-default > i {
- color: #b6f0e5;
-}
-
-.portlet.box.green-turquoise > .portlet-title > .actions .btn-default:hover, .portlet.box.green-turquoise > .portlet-title > .actions .btn-default:focus, .portlet.box.green-turquoise > .portlet-title > .actions .btn-default:active, .portlet.box.green-turquoise > .portlet-title > .actions .btn-default.active {
- border: 1px solid #bef2e8;
- color: #d3f6ef;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-turquoise {
- background-color: #36D7B7;
-}
-
-.dashboard-stat.green-turquoise.dashboard-stat-light:hover {
- background-color: #29cfae;
-}
-
-.dashboard-stat.green-turquoise .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-turquoise .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-turquoise .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-turquoise .more {
- color: #FFFFFF;
- background-color: #29cfae;
-}
-
-/* General Element */
-.bg-green-turquoise {
- border-color: #36D7B7 !important;
- background-image: none !important;
- background-color: #36D7B7 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-turquoise {
- color: #36D7B7 !important;
-}
-
-/***
-Green Haze
-***/
-/* Button */
-.green-haze.btn {
- color: #FFFFFF;
- background-color: #44b6ae;
- border-color: "";
-}
-
-.green-haze.btn:hover, .green-haze.btn:focus, .green-haze.btn:active, .green-haze.btn.active {
- color: #FFFFFF;
- background-color: #3a9c95;
-}
-
-.open .green-haze.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #3a9c95;
-}
-
-.green-haze.btn:active, .green-haze.btn.active {
- background-image: none;
- background-color: #338983;
-}
-
-.green-haze.btn:active:hover, .green-haze.btn.active:hover {
- background-color: #36918b;
-}
-
-.open .green-haze.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-haze.btn.disabled, .green-haze.btn.disabled:hover, .green-haze.btn.disabled:focus, .green-haze.btn.disabled:active, .green-haze.btn.disabled.active, .green-haze.btn[disabled], .green-haze.btn[disabled]:hover, .green-haze.btn[disabled]:focus, .green-haze.btn[disabled]:active, .green-haze.btn[disabled].active, fieldset[disabled] .green-haze.btn, fieldset[disabled] .green-haze.btn:hover, fieldset[disabled] .green-haze.btn:focus, fieldset[disabled] .green-haze.btn:active, fieldset[disabled] .green-haze.btn.active {
- background-color: #44b6ae;
-}
-
-.green-haze.btn .badge {
- color: #44b6ae;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-haze-stripe {
- border-left: 3px solid #44b6ae;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-haze,
-.portlet.green-haze {
- background-color: #44b6ae;
-}
-
-.portlet.solid.green-haze > .portlet-title,
-.portlet.solid.green-haze > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-haze > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-haze > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-haze > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-haze > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-haze > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-haze > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-haze > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-haze {
- border: 1px solid #67c6bf;
- border-top: 0;
-}
-
-.portlet.box.green-haze > .portlet-title {
- background-color: #44b6ae;
-}
-
-.portlet.box.green-haze > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-haze > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-haze > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #93d7d2;
- color: #a6deda;
-}
-
-.portlet.box.green-haze > .portlet-title > .actions .btn-default > i {
- color: #b1e2de;
-}
-
-.portlet.box.green-haze > .portlet-title > .actions .btn-default:hover, .portlet.box.green-haze > .portlet-title > .actions .btn-default:focus, .portlet.box.green-haze > .portlet-title > .actions .btn-default:active, .portlet.box.green-haze > .portlet-title > .actions .btn-default.active {
- border: 1px solid #b9e5e2;
- color: #cbece9;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-haze {
- background-color: #44b6ae;
-}
-
-.dashboard-stat.green-haze.dashboard-stat-light:hover {
- background-color: #3ea7a0;
-}
-
-.dashboard-stat.green-haze .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-haze .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-haze .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-haze .more {
- color: #FFFFFF;
- background-color: #3ea7a0;
-}
-
-/* General Element */
-.bg-green-haze {
- border-color: #44b6ae !important;
- background-image: none !important;
- background-color: #44b6ae !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-haze {
- color: #44b6ae !important;
-}
-
-/***
-Green Jungle
-***/
-/* Button */
-.green-jungle.btn {
- color: #FFFFFF;
- background-color: #26C281;
- border-color: "";
-}
-
-.green-jungle.btn:hover, .green-jungle.btn:focus, .green-jungle.btn:active, .green-jungle.btn.active {
- color: #FFFFFF;
- background-color: #20a46d;
-}
-
-.open .green-jungle.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #20a46d;
-}
-
-.green-jungle.btn:active, .green-jungle.btn.active {
- background-image: none;
- background-color: #1c8f5f;
-}
-
-.green-jungle.btn:active:hover, .green-jungle.btn.active:hover {
- background-color: #1e9765;
-}
-
-.open .green-jungle.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-jungle.btn.disabled, .green-jungle.btn.disabled:hover, .green-jungle.btn.disabled:focus, .green-jungle.btn.disabled:active, .green-jungle.btn.disabled.active, .green-jungle.btn[disabled], .green-jungle.btn[disabled]:hover, .green-jungle.btn[disabled]:focus, .green-jungle.btn[disabled]:active, .green-jungle.btn[disabled].active, fieldset[disabled] .green-jungle.btn, fieldset[disabled] .green-jungle.btn:hover, fieldset[disabled] .green-jungle.btn:focus, fieldset[disabled] .green-jungle.btn:active, fieldset[disabled] .green-jungle.btn.active {
- background-color: #26C281;
-}
-
-.green-jungle.btn .badge {
- color: #26C281;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-jungle-stripe {
- border-left: 3px solid #26C281;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-jungle,
-.portlet.green-jungle {
- background-color: #26C281;
-}
-
-.portlet.solid.green-jungle > .portlet-title,
-.portlet.solid.green-jungle > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-jungle > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-jungle > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-jungle > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-jungle > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-jungle > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-jungle > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-jungle > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-jungle {
- border: 1px solid #41da9a;
- border-top: 0;
-}
-
-.portlet.box.green-jungle > .portlet-title {
- background-color: #26C281;
-}
-
-.portlet.box.green-jungle > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-jungle > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-jungle > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #74e4b5;
- color: #8ae8c1;
-}
-
-.portlet.box.green-jungle > .portlet-title > .actions .btn-default > i {
- color: #96ebc8;
-}
-
-.portlet.box.green-jungle > .portlet-title > .actions .btn-default:hover, .portlet.box.green-jungle > .portlet-title > .actions .btn-default:focus, .portlet.box.green-jungle > .portlet-title > .actions .btn-default:active, .portlet.box.green-jungle > .portlet-title > .actions .btn-default.active {
- border: 1px solid #9feccc;
- color: #b4f0d7;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-jungle {
- background-color: #26C281;
-}
-
-.dashboard-stat.green-jungle.dashboard-stat-light:hover {
- background-color: #23b176;
-}
-
-.dashboard-stat.green-jungle .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-jungle .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-jungle .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-jungle .more {
- color: #FFFFFF;
- background-color: #23b176;
-}
-
-/* General Element */
-.bg-green-jungle {
- border-color: #26C281 !important;
- background-image: none !important;
- background-color: #26C281 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-jungle {
- color: #26C281 !important;
-}
-
-/***
-Green Sharp
-***/
-/* Button */
-.green-sharp.btn {
- color: #FFFFFF;
- background-color: #4DB3A2;
- border-color: "";
-}
-
-.green-sharp.btn:hover, .green-sharp.btn:focus, .green-sharp.btn:active, .green-sharp.btn.active {
- color: #FFFFFF;
- background-color: #429a8c;
-}
-
-.open .green-sharp.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #429a8c;
-}
-
-.green-sharp.btn:active, .green-sharp.btn.active {
- background-image: none;
- background-color: #3a897b;
-}
-
-.green-sharp.btn:active:hover, .green-sharp.btn.active:hover {
- background-color: #3d9082;
-}
-
-.open .green-sharp.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-sharp.btn.disabled, .green-sharp.btn.disabled:hover, .green-sharp.btn.disabled:focus, .green-sharp.btn.disabled:active, .green-sharp.btn.disabled.active, .green-sharp.btn[disabled], .green-sharp.btn[disabled]:hover, .green-sharp.btn[disabled]:focus, .green-sharp.btn[disabled]:active, .green-sharp.btn[disabled].active, fieldset[disabled] .green-sharp.btn, fieldset[disabled] .green-sharp.btn:hover, fieldset[disabled] .green-sharp.btn:focus, fieldset[disabled] .green-sharp.btn:active, fieldset[disabled] .green-sharp.btn.active {
- background-color: #4DB3A2;
-}
-
-.green-sharp.btn .badge {
- color: #4DB3A2;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-sharp-stripe {
- border-left: 3px solid #4DB3A2;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-sharp,
-.portlet.green-sharp {
- background-color: #4DB3A2;
-}
-
-.portlet.solid.green-sharp > .portlet-title,
-.portlet.solid.green-sharp > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-sharp > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-sharp > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-sharp > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-sharp > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-sharp > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-sharp > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-sharp > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-sharp {
- border: 1px solid #71c2b5;
- border-top: 0;
-}
-
-.portlet.box.green-sharp > .portlet-title {
- background-color: #4DB3A2;
-}
-
-.portlet.box.green-sharp > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-sharp > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-sharp > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #9cd5cb;
- color: #addcd4;
-}
-
-.portlet.box.green-sharp > .portlet-title > .actions .btn-default > i {
- color: #b8e1da;
-}
-
-.portlet.box.green-sharp > .portlet-title > .actions .btn-default:hover, .portlet.box.green-sharp > .portlet-title > .actions .btn-default:focus, .portlet.box.green-sharp > .portlet-title > .actions .btn-default:active, .portlet.box.green-sharp > .portlet-title > .actions .btn-default.active {
- border: 1px solid #bfe4de;
- color: #d1ebe7;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-sharp {
- background-color: #4DB3A2;
-}
-
-.dashboard-stat.green-sharp.dashboard-stat-light:hover {
- background-color: #46a595;
-}
-
-.dashboard-stat.green-sharp .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-sharp .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-sharp .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-sharp .more {
- color: #FFFFFF;
- background-color: #46a595;
-}
-
-/* General Element */
-.bg-green-sharp {
- border-color: #4DB3A2 !important;
- background-image: none !important;
- background-color: #4DB3A2 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-sharp {
- color: #4DB3A2 !important;
-}
-
-/***
-Green Sharp
-***/
-/* Button */
-.green-soft.btn {
- color: #FFFFFF;
- background-color: #3faba4;
- border-color: "";
-}
-
-.green-soft.btn:hover, .green-soft.btn:focus, .green-soft.btn:active, .green-soft.btn.active {
- color: #FFFFFF;
- background-color: #35918b;
-}
-
-.open .green-soft.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #35918b;
-}
-
-.green-soft.btn:active, .green-soft.btn.active {
- background-image: none;
- background-color: #2f7e79;
-}
-
-.green-soft.btn:active:hover, .green-soft.btn.active:hover {
- background-color: #318680;
-}
-
-.open .green-soft.btn.dropdown-toggle {
- background-image: none;
-}
-
-.green-soft.btn.disabled, .green-soft.btn.disabled:hover, .green-soft.btn.disabled:focus, .green-soft.btn.disabled:active, .green-soft.btn.disabled.active, .green-soft.btn[disabled], .green-soft.btn[disabled]:hover, .green-soft.btn[disabled]:focus, .green-soft.btn[disabled]:active, .green-soft.btn[disabled].active, fieldset[disabled] .green-soft.btn, fieldset[disabled] .green-soft.btn:hover, fieldset[disabled] .green-soft.btn:focus, fieldset[disabled] .green-soft.btn:active, fieldset[disabled] .green-soft.btn.active {
- background-color: #3faba4;
-}
-
-.green-soft.btn .badge {
- color: #3faba4;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.green-soft-stripe {
- border-left: 3px solid #3faba4;
-}
-
-/* Portlet */
-.portlet > .portlet-body.green-soft,
-.portlet.green-soft {
- background-color: #3faba4;
-}
-
-.portlet.solid.green-soft > .portlet-title,
-.portlet.solid.green-soft > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.green-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.green-soft > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.green-soft > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.green-soft > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.green-soft > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.green-soft > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.green-soft > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.green-soft {
- border: 1px solid #5bc2bc;
- border-top: 0;
-}
-
-.portlet.box.green-soft > .portlet-title {
- background-color: #3faba4;
-}
-
-.portlet.box.green-soft > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.green-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.green-soft > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #87d3ce;
- color: #9adad6;
-}
-
-.portlet.box.green-soft > .portlet-title > .actions .btn-default > i {
- color: #a5deda;
-}
-
-.portlet.box.green-soft > .portlet-title > .actions .btn-default:hover, .portlet.box.green-soft > .portlet-title > .actions .btn-default:focus, .portlet.box.green-soft > .portlet-title > .actions .btn-default:active, .portlet.box.green-soft > .portlet-title > .actions .btn-default.active {
- border: 1px solid #ade1dd;
- color: #bfe7e5;
-}
-
-/* Statistic Block */
-.dashboard-stat.green-soft {
- background-color: #3faba4;
-}
-
-.dashboard-stat.green-soft.dashboard-stat-light:hover {
- background-color: #3a9c96;
-}
-
-.dashboard-stat.green-soft .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.green-soft .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.green-soft .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.green-soft .more {
- color: #FFFFFF;
- background-color: #3a9c96;
-}
-
-/* General Element */
-.bg-green-soft {
- border-color: #3faba4 !important;
- background-image: none !important;
- background-color: #3faba4 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-green-soft {
- color: #3faba4 !important;
-}
-
-/***********
-Grey Colors
-************/
-/***
-Grey Default
-***/
-/* Button */
-.grey.btn {
- color: #333333;
- background-color: #E5E5E5;
- border-color: "";
-}
-
-.grey.btn:hover, .grey.btn:focus, .grey.btn:active, .grey.btn.active {
- color: #333333;
- background-color: lightgray;
-}
-
-.open .grey.btn.dropdown-toggle {
- color: #333333;
- background-color: lightgray;
-}
-
-.grey.btn:active, .grey.btn.active {
- background-image: none;
- background-color: #c6c6c6;
-}
-
-.grey.btn:active:hover, .grey.btn.active:hover {
- background-color: #cccccc;
-}
-
-.open .grey.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey.btn.disabled, .grey.btn.disabled:hover, .grey.btn.disabled:focus, .grey.btn.disabled:active, .grey.btn.disabled.active, .grey.btn[disabled], .grey.btn[disabled]:hover, .grey.btn[disabled]:focus, .grey.btn[disabled]:active, .grey.btn[disabled].active, fieldset[disabled] .grey.btn, fieldset[disabled] .grey.btn:hover, fieldset[disabled] .grey.btn:focus, fieldset[disabled] .grey.btn:active, fieldset[disabled] .grey.btn.active {
- background-color: #E5E5E5;
-}
-
-.grey.btn .badge {
- color: #E5E5E5;
- background-color: #333333;
-}
-
-/* Button Strip */
-.btn.grey-stripe {
- border-left: 3px solid #E5E5E5;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey,
-.portlet.grey {
- background-color: #E5E5E5;
-}
-
-.portlet.solid.grey > .portlet-title,
-.portlet.solid.grey > .portlet-body {
- border: 0;
- color: #333333;
-}
-
-.portlet.solid.grey > .portlet-title > .caption > i {
- color: #333333;
-}
-
-.portlet.solid.grey > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey {
- border: 1px solid white;
- border-top: 0;
-}
-
-.portlet.box.grey > .portlet-title {
- background-color: #E5E5E5;
-}
-
-.portlet.box.grey > .portlet-title > .caption {
- color: #333333;
-}
-
-.portlet.box.grey > .portlet-title > .caption > i {
- color: #333333;
-}
-
-.portlet.box.grey > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid white;
- color: white;
-}
-
-.portlet.box.grey > .portlet-title > .actions .btn-default > i {
- color: white;
-}
-
-.portlet.box.grey > .portlet-title > .actions .btn-default:hover, .portlet.box.grey > .portlet-title > .actions .btn-default:focus, .portlet.box.grey > .portlet-title > .actions .btn-default:active, .portlet.box.grey > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey {
- background-color: #E5E5E5;
-}
-
-.dashboard-stat.grey.dashboard-stat-light:hover {
- background-color: #dbdbdb;
-}
-
-.dashboard-stat.grey .visual > i {
- color: #333333;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey .details .number {
- color: #333333;
-}
-
-.dashboard-stat.grey .details .desc {
- color: #333333;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey .more {
- color: #333333;
- background-color: #dbdbdb;
-}
-
-/* General Element */
-.bg-grey {
- border-color: #E5E5E5 !important;
- background-image: none !important;
- background-color: #E5E5E5 !important;
- color: #333333 !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey {
- color: #E5E5E5 !important;
-}
-
-/***
-Grey Steel
-***/
-/* Button */
-.grey-steel.btn {
- color: #80898e;
- background-color: #e9edef;
- border-color: "";
-}
-
-.grey-steel.btn:hover, .grey-steel.btn:focus, .grey-steel.btn:active, .grey-steel.btn.active {
- color: #80898e;
- background-color: #d4dce0;
-}
-
-.open .grey-steel.btn.dropdown-toggle {
- color: #80898e;
- background-color: #d4dce0;
-}
-
-.grey-steel.btn:active, .grey-steel.btn.active {
- background-image: none;
- background-color: #c6d0d5;
-}
-
-.grey-steel.btn:active:hover, .grey-steel.btn.active:hover {
- background-color: #cbd5da;
-}
-
-.open .grey-steel.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-steel.btn.disabled, .grey-steel.btn.disabled:hover, .grey-steel.btn.disabled:focus, .grey-steel.btn.disabled:active, .grey-steel.btn.disabled.active, .grey-steel.btn[disabled], .grey-steel.btn[disabled]:hover, .grey-steel.btn[disabled]:focus, .grey-steel.btn[disabled]:active, .grey-steel.btn[disabled].active, fieldset[disabled] .grey-steel.btn, fieldset[disabled] .grey-steel.btn:hover, fieldset[disabled] .grey-steel.btn:focus, fieldset[disabled] .grey-steel.btn:active, fieldset[disabled] .grey-steel.btn.active {
- background-color: #e9edef;
-}
-
-.grey-steel.btn .badge {
- color: #e9edef;
- background-color: #80898e;
-}
-
-/* Button Strip */
-.btn.grey-steel-stripe {
- border-left: 3px solid #e9edef;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-steel,
-.portlet.grey-steel {
- background-color: #e9edef;
-}
-
-.portlet.solid.grey-steel > .portlet-title,
-.portlet.solid.grey-steel > .portlet-body {
- border: 0;
- color: #80898e;
-}
-
-.portlet.solid.grey-steel > .portlet-title > .caption > i {
- color: #80898e;
-}
-
-.portlet.solid.grey-steel > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-steel > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-steel > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-steel > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-steel > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-steel > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-steel {
- border: 1px solid white;
- border-top: 0;
-}
-
-.portlet.box.grey-steel > .portlet-title {
- background-color: #e9edef;
-}
-
-.portlet.box.grey-steel > .portlet-title > .caption {
- color: #80898e;
-}
-
-.portlet.box.grey-steel > .portlet-title > .caption > i {
- color: #80898e;
-}
-
-.portlet.box.grey-steel > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid white;
- color: white;
-}
-
-.portlet.box.grey-steel > .portlet-title > .actions .btn-default > i {
- color: white;
-}
-
-.portlet.box.grey-steel > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-steel > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-steel > .portlet-title > .actions .btn-default:active, .portlet.box.grey-steel > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-steel {
- background-color: #e9edef;
-}
-
-.dashboard-stat.grey-steel.dashboard-stat-light:hover {
- background-color: #dde3e6;
-}
-
-.dashboard-stat.grey-steel .visual > i {
- color: #80898e;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-steel .details .number {
- color: #80898e;
-}
-
-.dashboard-stat.grey-steel .details .desc {
- color: #80898e;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-steel .more {
- color: #80898e;
- background-color: #dde3e6;
-}
-
-/* General Element */
-.bg-grey-steel {
- border-color: #e9edef !important;
- background-image: none !important;
- background-color: #e9edef !important;
- color: #80898e !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-steel {
- color: #e9edef !important;
-}
-
-/***
-Grey Cararra
-***/
-/* Button */
-.grey-cararra.btn {
- color: #333333;
- background-color: #fafafa;
- border-color: "";
-}
-
-.grey-cararra.btn:hover, .grey-cararra.btn:focus, .grey-cararra.btn:active, .grey-cararra.btn.active {
- color: #333333;
- background-color: #e8e8e8;
-}
-
-.open .grey-cararra.btn.dropdown-toggle {
- color: #333333;
- background-color: #e8e8e8;
-}
-
-.grey-cararra.btn:active, .grey-cararra.btn.active {
- background-image: none;
- background-color: #dbdbdb;
-}
-
-.grey-cararra.btn:active:hover, .grey-cararra.btn.active:hover {
- background-color: #e1e1e1;
-}
-
-.open .grey-cararra.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-cararra.btn.disabled, .grey-cararra.btn.disabled:hover, .grey-cararra.btn.disabled:focus, .grey-cararra.btn.disabled:active, .grey-cararra.btn.disabled.active, .grey-cararra.btn[disabled], .grey-cararra.btn[disabled]:hover, .grey-cararra.btn[disabled]:focus, .grey-cararra.btn[disabled]:active, .grey-cararra.btn[disabled].active, fieldset[disabled] .grey-cararra.btn, fieldset[disabled] .grey-cararra.btn:hover, fieldset[disabled] .grey-cararra.btn:focus, fieldset[disabled] .grey-cararra.btn:active, fieldset[disabled] .grey-cararra.btn.active {
- background-color: #fafafa;
-}
-
-.grey-cararra.btn .badge {
- color: #fafafa;
- background-color: #333333;
-}
-
-/* Button Strip */
-.btn.grey-cararra-stripe {
- border-left: 3px solid #fafafa;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-cararra,
-.portlet.grey-cararra {
- background-color: #fafafa;
-}
-
-.portlet.solid.grey-cararra > .portlet-title,
-.portlet.solid.grey-cararra > .portlet-body {
- border: 0;
- color: #333333;
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .caption > i {
- color: #333333;
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-cararra > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-cararra {
- border: 1px solid white;
- border-top: 0;
-}
-
-.portlet.box.grey-cararra > .portlet-title {
- background-color: #fafafa;
-}
-
-.portlet.box.grey-cararra > .portlet-title > .caption {
- color: #333333;
-}
-
-.portlet.box.grey-cararra > .portlet-title > .caption > i {
- color: #333333;
-}
-
-.portlet.box.grey-cararra > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid white;
- color: white;
-}
-
-.portlet.box.grey-cararra > .portlet-title > .actions .btn-default > i {
- color: white;
-}
-
-.portlet.box.grey-cararra > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-cararra > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-cararra > .portlet-title > .actions .btn-default:active, .portlet.box.grey-cararra > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-cararra {
- background-color: #fafafa;
-}
-
-.dashboard-stat.grey-cararra.dashboard-stat-light:hover {
- background-color: #f0f0f0;
-}
-
-.dashboard-stat.grey-cararra .visual > i {
- color: #333333;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-cararra .details .number {
- color: #333333;
-}
-
-.dashboard-stat.grey-cararra .details .desc {
- color: #333333;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-cararra .more {
- color: #333333;
- background-color: #f0f0f0;
-}
-
-/* General Element */
-.bg-grey-cararra {
- border-color: #fafafa !important;
- background-image: none !important;
- background-color: #fafafa !important;
- color: #333333 !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-cararra {
- color: #fafafa !important;
-}
-
-/***
-Grey Gallery
-***/
-/* Button */
-.grey-gallery.btn {
- color: #ffffff;
- background-color: #555555;
- border-color: "";
-}
-
-.grey-gallery.btn:hover, .grey-gallery.btn:focus, .grey-gallery.btn:active, .grey-gallery.btn.active {
- color: #ffffff;
- background-color: #434343;
-}
-
-.open .grey-gallery.btn.dropdown-toggle {
- color: #ffffff;
- background-color: #434343;
-}
-
-.grey-gallery.btn:active, .grey-gallery.btn.active {
- background-image: none;
- background-color: #363636;
-}
-
-.grey-gallery.btn:active:hover, .grey-gallery.btn.active:hover {
- background-color: #3b3b3b;
-}
-
-.open .grey-gallery.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-gallery.btn.disabled, .grey-gallery.btn.disabled:hover, .grey-gallery.btn.disabled:focus, .grey-gallery.btn.disabled:active, .grey-gallery.btn.disabled.active, .grey-gallery.btn[disabled], .grey-gallery.btn[disabled]:hover, .grey-gallery.btn[disabled]:focus, .grey-gallery.btn[disabled]:active, .grey-gallery.btn[disabled].active, fieldset[disabled] .grey-gallery.btn, fieldset[disabled] .grey-gallery.btn:hover, fieldset[disabled] .grey-gallery.btn:focus, fieldset[disabled] .grey-gallery.btn:active, fieldset[disabled] .grey-gallery.btn.active {
- background-color: #555555;
-}
-
-.grey-gallery.btn .badge {
- color: #555555;
- background-color: #ffffff;
-}
-
-/* Button Strip */
-.btn.grey-gallery-stripe {
- border-left: 3px solid #555555;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-gallery,
-.portlet.grey-gallery {
- background-color: #555555;
-}
-
-.portlet.solid.grey-gallery > .portlet-title,
-.portlet.solid.grey-gallery > .portlet-body {
- border: 0;
- color: #ffffff;
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .caption > i {
- color: #ffffff;
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-gallery > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-gallery {
- border: 1px solid #6e6e6e;
- border-top: 0;
-}
-
-.portlet.box.grey-gallery > .portlet-title {
- background-color: #555555;
-}
-
-.portlet.box.grey-gallery > .portlet-title > .caption {
- color: #ffffff;
-}
-
-.portlet.box.grey-gallery > .portlet-title > .caption > i {
- color: #ffffff;
-}
-
-.portlet.box.grey-gallery > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #8d8d8d;
- color: #9a9a9a;
-}
-
-.portlet.box.grey-gallery > .portlet-title > .actions .btn-default > i {
- color: #a2a2a2;
-}
-
-.portlet.box.grey-gallery > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-gallery > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-gallery > .portlet-title > .actions .btn-default:active, .portlet.box.grey-gallery > .portlet-title > .actions .btn-default.active {
- border: 1px solid #a7a7a7;
- color: #b3b3b3;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-gallery {
- background-color: #555555;
-}
-
-.dashboard-stat.grey-gallery.dashboard-stat-light:hover {
- background-color: #4b4b4b;
-}
-
-.dashboard-stat.grey-gallery .visual > i {
- color: #ffffff;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-gallery .details .number {
- color: #ffffff;
-}
-
-.dashboard-stat.grey-gallery .details .desc {
- color: #ffffff;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-gallery .more {
- color: #ffffff;
- background-color: #4b4b4b;
-}
-
-/* General Element */
-.bg-grey-gallery {
- border-color: #555555 !important;
- background-image: none !important;
- background-color: #555555 !important;
- color: #ffffff !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-gallery {
- color: #555555 !important;
-}
-
-/***
-Grey Cascade
-***/
-/* Button */
-.grey-cascade.btn {
- color: #FFFFFF;
- background-color: #95A5A6;
- border-color: "";
-}
-
-.grey-cascade.btn:hover, .grey-cascade.btn:focus, .grey-cascade.btn:active, .grey-cascade.btn.active {
- color: #FFFFFF;
- background-color: #829596;
-}
-
-.open .grey-cascade.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #829596;
-}
-
-.grey-cascade.btn:active, .grey-cascade.btn.active {
- background-image: none;
- background-color: #74898a;
-}
-
-.grey-cascade.btn:active:hover, .grey-cascade.btn.active:hover {
- background-color: #798d8f;
-}
-
-.open .grey-cascade.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-cascade.btn.disabled, .grey-cascade.btn.disabled:hover, .grey-cascade.btn.disabled:focus, .grey-cascade.btn.disabled:active, .grey-cascade.btn.disabled.active, .grey-cascade.btn[disabled], .grey-cascade.btn[disabled]:hover, .grey-cascade.btn[disabled]:focus, .grey-cascade.btn[disabled]:active, .grey-cascade.btn[disabled].active, fieldset[disabled] .grey-cascade.btn, fieldset[disabled] .grey-cascade.btn:hover, fieldset[disabled] .grey-cascade.btn:focus, fieldset[disabled] .grey-cascade.btn:active, fieldset[disabled] .grey-cascade.btn.active {
- background-color: #95A5A6;
-}
-
-.grey-cascade.btn .badge {
- color: #95A5A6;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.grey-cascade-stripe {
- border-left: 3px solid #95A5A6;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-cascade,
-.portlet.grey-cascade {
- background-color: #95A5A6;
-}
-
-.portlet.solid.grey-cascade > .portlet-title,
-.portlet.solid.grey-cascade > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-cascade > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-cascade {
- border: 1px solid #b1bdbd;
- border-top: 0;
-}
-
-.portlet.box.grey-cascade > .portlet-title {
- background-color: #95A5A6;
-}
-
-.portlet.box.grey-cascade > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.grey-cascade > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.grey-cascade > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #d2d9d9;
- color: #e0e5e5;
-}
-
-.portlet.box.grey-cascade > .portlet-title > .actions .btn-default > i {
- color: #e8ecec;
-}
-
-.portlet.box.grey-cascade > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-cascade > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-cascade > .portlet-title > .actions .btn-default:active, .portlet.box.grey-cascade > .portlet-title > .actions .btn-default.active {
- border: 1px solid #eef0f0;
- color: #fcfcfc;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-cascade {
- background-color: #95A5A6;
-}
-
-.dashboard-stat.grey-cascade.dashboard-stat-light:hover {
- background-color: #8a9c9d;
-}
-
-.dashboard-stat.grey-cascade .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-cascade .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.grey-cascade .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-cascade .more {
- color: #FFFFFF;
- background-color: #8a9c9d;
-}
-
-/* General Element */
-.bg-grey-cascade {
- border-color: #95A5A6 !important;
- background-image: none !important;
- background-color: #95A5A6 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-cascade {
- color: #95A5A6 !important;
-}
-
-/***
-Grey Silver
-***/
-/* Button */
-.grey-silver.btn {
- color: #FAFCFB;
- background-color: #BFBFBF;
- border-color: "";
-}
-
-.grey-silver.btn:hover, .grey-silver.btn:focus, .grey-silver.btn:active, .grey-silver.btn.active {
- color: #FAFCFB;
- background-color: #adadad;
-}
-
-.open .grey-silver.btn.dropdown-toggle {
- color: #FAFCFB;
- background-color: #adadad;
-}
-
-.grey-silver.btn:active, .grey-silver.btn.active {
- background-image: none;
- background-color: #a0a0a0;
-}
-
-.grey-silver.btn:active:hover, .grey-silver.btn.active:hover {
- background-color: #a6a6a6;
-}
-
-.open .grey-silver.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-silver.btn.disabled, .grey-silver.btn.disabled:hover, .grey-silver.btn.disabled:focus, .grey-silver.btn.disabled:active, .grey-silver.btn.disabled.active, .grey-silver.btn[disabled], .grey-silver.btn[disabled]:hover, .grey-silver.btn[disabled]:focus, .grey-silver.btn[disabled]:active, .grey-silver.btn[disabled].active, fieldset[disabled] .grey-silver.btn, fieldset[disabled] .grey-silver.btn:hover, fieldset[disabled] .grey-silver.btn:focus, fieldset[disabled] .grey-silver.btn:active, fieldset[disabled] .grey-silver.btn.active {
- background-color: #BFBFBF;
-}
-
-.grey-silver.btn .badge {
- color: #BFBFBF;
- background-color: #FAFCFB;
-}
-
-/* Button Strip */
-.btn.grey-silver-stripe {
- border-left: 3px solid #BFBFBF;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-silver,
-.portlet.grey-silver {
- background-color: #BFBFBF;
-}
-
-.portlet.solid.grey-silver > .portlet-title,
-.portlet.solid.grey-silver > .portlet-body {
- border: 0;
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-silver > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-silver > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-silver > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-silver > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-silver > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-silver > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-silver > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-silver {
- border: 1px solid #d9d9d9;
- border-top: 0;
-}
-
-.portlet.box.grey-silver > .portlet-title {
- background-color: #BFBFBF;
-}
-
-.portlet.box.grey-silver > .portlet-title > .caption {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-silver > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-silver > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #f7f7f7;
- color: white;
-}
-
-.portlet.box.grey-silver > .portlet-title > .actions .btn-default > i {
- color: white;
-}
-
-.portlet.box.grey-silver > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-silver > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-silver > .portlet-title > .actions .btn-default:active, .portlet.box.grey-silver > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-silver {
- background-color: #BFBFBF;
-}
-
-.dashboard-stat.grey-silver.dashboard-stat-light:hover {
- background-color: #b5b5b5;
-}
-
-.dashboard-stat.grey-silver .visual > i {
- color: #FAFCFB;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-silver .details .number {
- color: #FAFCFB;
-}
-
-.dashboard-stat.grey-silver .details .desc {
- color: #FAFCFB;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-silver .more {
- color: #FAFCFB;
- background-color: #b5b5b5;
-}
-
-/* General Element */
-.bg-grey-silver {
- border-color: #BFBFBF !important;
- background-image: none !important;
- background-color: #BFBFBF !important;
- color: #FAFCFB !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-silver {
- color: #BFBFBF !important;
-}
-
-/***
-Grey Salsa
-***/
-/* Button */
-.grey-salsa.btn {
- color: #FAFCFB;
- background-color: #ACB5C3;
- border-color: "";
-}
-
-.grey-salsa.btn:hover, .grey-salsa.btn:focus, .grey-salsa.btn:active, .grey-salsa.btn.active {
- color: #FAFCFB;
- background-color: #97a3b4;
-}
-
-.open .grey-salsa.btn.dropdown-toggle {
- color: #FAFCFB;
- background-color: #97a3b4;
-}
-
-.grey-salsa.btn:active, .grey-salsa.btn.active {
- background-image: none;
- background-color: #8895a9;
-}
-
-.grey-salsa.btn:active:hover, .grey-salsa.btn.active:hover {
- background-color: #8e9bae;
-}
-
-.open .grey-salsa.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-salsa.btn.disabled, .grey-salsa.btn.disabled:hover, .grey-salsa.btn.disabled:focus, .grey-salsa.btn.disabled:active, .grey-salsa.btn.disabled.active, .grey-salsa.btn[disabled], .grey-salsa.btn[disabled]:hover, .grey-salsa.btn[disabled]:focus, .grey-salsa.btn[disabled]:active, .grey-salsa.btn[disabled].active, fieldset[disabled] .grey-salsa.btn, fieldset[disabled] .grey-salsa.btn:hover, fieldset[disabled] .grey-salsa.btn:focus, fieldset[disabled] .grey-salsa.btn:active, fieldset[disabled] .grey-salsa.btn.active {
- background-color: #ACB5C3;
-}
-
-.grey-salsa.btn .badge {
- color: #ACB5C3;
- background-color: #FAFCFB;
-}
-
-/* Button Strip */
-.btn.grey-salsa-stripe {
- border-left: 3px solid #ACB5C3;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-salsa,
-.portlet.grey-salsa {
- background-color: #ACB5C3;
-}
-
-.portlet.solid.grey-salsa > .portlet-title,
-.portlet.solid.grey-salsa > .portlet-body {
- border: 0;
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-salsa > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-salsa {
- border: 1px solid #cacfd8;
- border-top: 0;
-}
-
-.portlet.box.grey-salsa > .portlet-title {
- background-color: #ACB5C3;
-}
-
-.portlet.box.grey-salsa > .portlet-title > .caption {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-salsa > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-salsa > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #edeff2;
- color: #fcfcfd;
-}
-
-.portlet.box.grey-salsa > .portlet-title > .actions .btn-default > i {
- color: white;
-}
-
-.portlet.box.grey-salsa > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-salsa > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-salsa > .portlet-title > .actions .btn-default:active, .portlet.box.grey-salsa > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-salsa {
- background-color: #ACB5C3;
-}
-
-.dashboard-stat.grey-salsa.dashboard-stat-light:hover {
- background-color: #a0aaba;
-}
-
-.dashboard-stat.grey-salsa .visual > i {
- color: #FAFCFB;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-salsa .details .number {
- color: #FAFCFB;
-}
-
-.dashboard-stat.grey-salsa .details .desc {
- color: #FAFCFB;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-salsa .more {
- color: #FAFCFB;
- background-color: #a0aaba;
-}
-
-/* General Element */
-.bg-grey-salsa {
- border-color: #ACB5C3 !important;
- background-image: none !important;
- background-color: #ACB5C3 !important;
- color: #FAFCFB !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-salsa {
- color: #ACB5C3 !important;
-}
-
-/***
-Grey Salt
-***/
-/* Button */
-.grey-salt.btn {
- color: #FAFCFB;
- background-color: #bfcad1;
- border-color: "";
-}
-
-.grey-salt.btn:hover, .grey-salt.btn:focus, .grey-salt.btn:active, .grey-salt.btn.active {
- color: #FAFCFB;
- background-color: #aab9c2;
-}
-
-.open .grey-salt.btn.dropdown-toggle {
- color: #FAFCFB;
- background-color: #aab9c2;
-}
-
-.grey-salt.btn:active, .grey-salt.btn.active {
- background-image: none;
- background-color: #9badb7;
-}
-
-.grey-salt.btn:active:hover, .grey-salt.btn.active:hover {
- background-color: #a1b1bc;
-}
-
-.open .grey-salt.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-salt.btn.disabled, .grey-salt.btn.disabled:hover, .grey-salt.btn.disabled:focus, .grey-salt.btn.disabled:active, .grey-salt.btn.disabled.active, .grey-salt.btn[disabled], .grey-salt.btn[disabled]:hover, .grey-salt.btn[disabled]:focus, .grey-salt.btn[disabled]:active, .grey-salt.btn[disabled].active, fieldset[disabled] .grey-salt.btn, fieldset[disabled] .grey-salt.btn:hover, fieldset[disabled] .grey-salt.btn:focus, fieldset[disabled] .grey-salt.btn:active, fieldset[disabled] .grey-salt.btn.active {
- background-color: #bfcad1;
-}
-
-.grey-salt.btn .badge {
- color: #bfcad1;
- background-color: #FAFCFB;
-}
-
-/* Button Strip */
-.btn.grey-salt-stripe {
- border-left: 3px solid #bfcad1;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-salt,
-.portlet.grey-salt {
- background-color: #bfcad1;
-}
-
-.portlet.solid.grey-salt > .portlet-title,
-.portlet.solid.grey-salt > .portlet-body {
- border: 0;
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-salt > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-salt > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-salt > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-salt > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-salt > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-salt > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-salt > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-salt {
- border: 1px solid #dde3e6;
- border-top: 0;
-}
-
-.portlet.box.grey-salt > .portlet-title {
- background-color: #bfcad1;
-}
-
-.portlet.box.grey-salt > .portlet-title > .caption {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-salt > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-salt > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid white;
- color: white;
-}
-
-.portlet.box.grey-salt > .portlet-title > .actions .btn-default > i {
- color: white;
-}
-
-.portlet.box.grey-salt > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-salt > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-salt > .portlet-title > .actions .btn-default:active, .portlet.box.grey-salt > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-salt {
- background-color: #bfcad1;
-}
-
-.dashboard-stat.grey-salt.dashboard-stat-light:hover {
- background-color: #b3c0c8;
-}
-
-.dashboard-stat.grey-salt .visual > i {
- color: #FAFCFB;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-salt .details .number {
- color: #FAFCFB;
-}
-
-.dashboard-stat.grey-salt .details .desc {
- color: #FAFCFB;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-salt .more {
- color: #FAFCFB;
- background-color: #b3c0c8;
-}
-
-/* General Element */
-.bg-grey-salt {
- border-color: #bfcad1 !important;
- background-image: none !important;
- background-color: #bfcad1 !important;
- color: #FAFCFB !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-salt {
- color: #bfcad1 !important;
-}
-
-/***
-Grey Mint
-***/
-/* Button */
-.grey-mint.btn {
- color: #FAFCFB;
- background-color: #9eacb4;
- border-color: "";
-}
-
-.grey-mint.btn:hover, .grey-mint.btn:focus, .grey-mint.btn:active, .grey-mint.btn.active {
- color: #FAFCFB;
- background-color: #8a9ba4;
-}
-
-.open .grey-mint.btn.dropdown-toggle {
- color: #FAFCFB;
- background-color: #8a9ba4;
-}
-
-.grey-mint.btn:active, .grey-mint.btn.active {
- background-image: none;
- background-color: #7b8e99;
-}
-
-.grey-mint.btn:active:hover, .grey-mint.btn.active:hover {
- background-color: #81939e;
-}
-
-.open .grey-mint.btn.dropdown-toggle {
- background-image: none;
-}
-
-.grey-mint.btn.disabled, .grey-mint.btn.disabled:hover, .grey-mint.btn.disabled:focus, .grey-mint.btn.disabled:active, .grey-mint.btn.disabled.active, .grey-mint.btn[disabled], .grey-mint.btn[disabled]:hover, .grey-mint.btn[disabled]:focus, .grey-mint.btn[disabled]:active, .grey-mint.btn[disabled].active, fieldset[disabled] .grey-mint.btn, fieldset[disabled] .grey-mint.btn:hover, fieldset[disabled] .grey-mint.btn:focus, fieldset[disabled] .grey-mint.btn:active, fieldset[disabled] .grey-mint.btn.active {
- background-color: #9eacb4;
-}
-
-.grey-mint.btn .badge {
- color: #9eacb4;
- background-color: #FAFCFB;
-}
-
-/* Button Strip */
-.btn.grey-mint-stripe {
- border-left: 3px solid #9eacb4;
-}
-
-/* Portlet */
-.portlet > .portlet-body.grey-mint,
-.portlet.grey-mint {
- background-color: #9eacb4;
-}
-
-.portlet.solid.grey-mint > .portlet-title,
-.portlet.solid.grey-mint > .portlet-body {
- border: 0;
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-mint > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.solid.grey-mint > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.grey-mint > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.grey-mint > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.grey-mint > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.grey-mint > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.grey-mint > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.grey-mint {
- border: 1px solid #bbc5ca;
- border-top: 0;
-}
-
-.portlet.box.grey-mint > .portlet-title {
- background-color: #9eacb4;
-}
-
-.portlet.box.grey-mint > .portlet-title > .caption {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-mint > .portlet-title > .caption > i {
- color: #FAFCFB;
-}
-
-.portlet.box.grey-mint > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #dde2e5;
- color: #eceef0;
-}
-
-.portlet.box.grey-mint > .portlet-title > .actions .btn-default > i {
- color: #f4f6f7;
-}
-
-.portlet.box.grey-mint > .portlet-title > .actions .btn-default:hover, .portlet.box.grey-mint > .portlet-title > .actions .btn-default:focus, .portlet.box.grey-mint > .portlet-title > .actions .btn-default:active, .portlet.box.grey-mint > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fafbfb;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.grey-mint {
- background-color: #9eacb4;
-}
-
-.dashboard-stat.grey-mint.dashboard-stat-light:hover {
- background-color: #92a2ab;
-}
-
-.dashboard-stat.grey-mint .visual > i {
- color: #FAFCFB;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.grey-mint .details .number {
- color: #FAFCFB;
-}
-
-.dashboard-stat.grey-mint .details .desc {
- color: #FAFCFB;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.grey-mint .more {
- color: #FAFCFB;
- background-color: #92a2ab;
-}
-
-/* General Element */
-.bg-grey-mint {
- border-color: #9eacb4 !important;
- background-image: none !important;
- background-color: #9eacb4 !important;
- color: #FAFCFB !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-grey-mint {
- color: #9eacb4 !important;
-}
-
-/***********
-Red Colors
-************/
-/***
-Red Default
-***/
-/* Button */
-.red.btn {
- color: #FFFFFF;
- background-color: #d84a38;
- border-color: "";
-}
-
-.red.btn:hover, .red.btn:focus, .red.btn:active, .red.btn.active {
- color: #FFFFFF;
- background-color: #c63927;
-}
-
-.open .red.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #c63927;
-}
-
-.red.btn:active, .red.btn.active {
- background-image: none;
- background-color: #b03223;
-}
-
-.red.btn:active:hover, .red.btn.active:hover {
- background-color: #b93524;
-}
-
-.open .red.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red.btn.disabled, .red.btn.disabled:hover, .red.btn.disabled:focus, .red.btn.disabled:active, .red.btn.disabled.active, .red.btn[disabled], .red.btn[disabled]:hover, .red.btn[disabled]:focus, .red.btn[disabled]:active, .red.btn[disabled].active, fieldset[disabled] .red.btn, fieldset[disabled] .red.btn:hover, fieldset[disabled] .red.btn:focus, fieldset[disabled] .red.btn:active, fieldset[disabled] .red.btn.active {
- background-color: #d84a38;
-}
-
-.red.btn .badge {
- color: #d84a38;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-stripe {
- border-left: 3px solid #d84a38;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red,
-.portlet.red {
- background-color: #d84a38;
-}
-
-.portlet.solid.red > .portlet-title,
-.portlet.solid.red > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red {
- border: 1px solid #e07163;
- border-top: 0;
-}
-
-.portlet.box.red > .portlet-title {
- background-color: #d84a38;
-}
-
-.portlet.box.red > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #ea9f96;
- color: #efb3ab;
-}
-
-.portlet.box.red > .portlet-title > .actions .btn-default > i {
- color: #f1beb8;
-}
-
-.portlet.box.red > .portlet-title > .actions .btn-default:hover, .portlet.box.red > .portlet-title > .actions .btn-default:focus, .portlet.box.red > .portlet-title > .actions .btn-default:active, .portlet.box.red > .portlet-title > .actions .btn-default.active {
- border: 1px solid #f3c6c0;
- color: #f7dad6;
-}
-
-/* Statistic Block */
-.dashboard-stat.red {
- background-color: #d84a38;
-}
-
-.dashboard-stat.red.dashboard-stat-light:hover {
- background-color: #d23c29;
-}
-
-.dashboard-stat.red .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red .more {
- color: #FFFFFF;
- background-color: #d23c29;
-}
-
-/* General Element */
-.bg-red {
- border-color: #d84a38 !important;
- background-image: none !important;
- background-color: #d84a38 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red {
- color: #d84a38 !important;
-}
-
-/***
-Red Pink
-***/
-/* Button */
-.red-pink.btn {
- color: #FFFFFF;
- background-color: #E08283;
- border-color: "";
-}
-
-.red-pink.btn:hover, .red-pink.btn:focus, .red-pink.btn:active, .red-pink.btn.active {
- color: #FFFFFF;
- background-color: #d96567;
-}
-
-.open .red-pink.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #d96567;
-}
-
-.red-pink.btn:active, .red-pink.btn.active {
- background-image: none;
- background-color: #d45152;
-}
-
-.red-pink.btn:active:hover, .red-pink.btn.active:hover {
- background-color: #d6595a;
-}
-
-.open .red-pink.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red-pink.btn.disabled, .red-pink.btn.disabled:hover, .red-pink.btn.disabled:focus, .red-pink.btn.disabled:active, .red-pink.btn.disabled.active, .red-pink.btn[disabled], .red-pink.btn[disabled]:hover, .red-pink.btn[disabled]:focus, .red-pink.btn[disabled]:active, .red-pink.btn[disabled].active, fieldset[disabled] .red-pink.btn, fieldset[disabled] .red-pink.btn:hover, fieldset[disabled] .red-pink.btn:focus, fieldset[disabled] .red-pink.btn:active, fieldset[disabled] .red-pink.btn.active {
- background-color: #E08283;
-}
-
-.red-pink.btn .badge {
- color: #E08283;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-pink-stripe {
- border-left: 3px solid #E08283;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red-pink,
-.portlet.red-pink {
- background-color: #E08283;
-}
-
-.portlet.solid.red-pink > .portlet-title,
-.portlet.solid.red-pink > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red-pink > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red-pink > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red-pink > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red-pink > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red-pink > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red-pink > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red-pink > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red-pink {
- border: 1px solid #eaabac;
- border-top: 0;
-}
-
-.portlet.box.red-pink > .portlet-title {
- background-color: #E08283;
-}
-
-.portlet.box.red-pink > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red-pink > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red-pink > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #f6dcdc;
- color: #fbf0f0;
-}
-
-.portlet.box.red-pink > .portlet-title > .actions .btn-default > i {
- color: #fefdfd;
-}
-
-.portlet.box.red-pink > .portlet-title > .actions .btn-default:hover, .portlet.box.red-pink > .portlet-title > .actions .btn-default:focus, .portlet.box.red-pink > .portlet-title > .actions .btn-default:active, .portlet.box.red-pink > .portlet-title > .actions .btn-default.active {
- border: 1px solid white;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.red-pink {
- background-color: #E08283;
-}
-
-.dashboard-stat.red-pink.dashboard-stat-light:hover {
- background-color: #dc7273;
-}
-
-.dashboard-stat.red-pink .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red-pink .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red-pink .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red-pink .more {
- color: #FFFFFF;
- background-color: #dc7273;
-}
-
-/* General Element */
-.bg-red-pink {
- border-color: #E08283 !important;
- background-image: none !important;
- background-color: #E08283 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red-pink {
- color: #E08283 !important;
-}
-
-/***
-Red Sunglo
-***/
-/* Button */
-.red-sunglo.btn {
- color: #FFFFFF;
- background-color: #E26A6A;
- border-color: "";
-}
-
-.red-sunglo.btn:hover, .red-sunglo.btn:focus, .red-sunglo.btn:active, .red-sunglo.btn.active {
- color: #FFFFFF;
- background-color: #dc4c4c;
-}
-
-.open .red-sunglo.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #dc4c4c;
-}
-
-.red-sunglo.btn:active, .red-sunglo.btn.active {
- background-image: none;
- background-color: #d83737;
-}
-
-.red-sunglo.btn:active:hover, .red-sunglo.btn.active:hover {
- background-color: #da3f3f;
-}
-
-.open .red-sunglo.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red-sunglo.btn.disabled, .red-sunglo.btn.disabled:hover, .red-sunglo.btn.disabled:focus, .red-sunglo.btn.disabled:active, .red-sunglo.btn.disabled.active, .red-sunglo.btn[disabled], .red-sunglo.btn[disabled]:hover, .red-sunglo.btn[disabled]:focus, .red-sunglo.btn[disabled]:active, .red-sunglo.btn[disabled].active, fieldset[disabled] .red-sunglo.btn, fieldset[disabled] .red-sunglo.btn:hover, fieldset[disabled] .red-sunglo.btn:focus, fieldset[disabled] .red-sunglo.btn:active, fieldset[disabled] .red-sunglo.btn.active {
- background-color: #E26A6A;
-}
-
-.red-sunglo.btn .badge {
- color: #E26A6A;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-sunglo-stripe {
- border-left: 3px solid #E26A6A;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red-sunglo,
-.portlet.red-sunglo {
- background-color: #E26A6A;
-}
-
-.portlet.solid.red-sunglo > .portlet-title,
-.portlet.solid.red-sunglo > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red-sunglo > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red-sunglo {
- border: 1px solid #ea9595;
- border-top: 0;
-}
-
-.portlet.box.red-sunglo > .portlet-title {
- background-color: #E26A6A;
-}
-
-.portlet.box.red-sunglo > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red-sunglo > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red-sunglo > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #f4c8c8;
- color: #f8dddd;
-}
-
-.portlet.box.red-sunglo > .portlet-title > .actions .btn-default > i {
- color: #fbeaea;
-}
-
-.portlet.box.red-sunglo > .portlet-title > .actions .btn-default:hover, .portlet.box.red-sunglo > .portlet-title > .actions .btn-default:focus, .portlet.box.red-sunglo > .portlet-title > .actions .btn-default:active, .portlet.box.red-sunglo > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fdf3f3;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.red-sunglo {
- background-color: #E26A6A;
-}
-
-.dashboard-stat.red-sunglo.dashboard-stat-light:hover {
- background-color: #df5959;
-}
-
-.dashboard-stat.red-sunglo .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red-sunglo .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red-sunglo .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red-sunglo .more {
- color: #FFFFFF;
- background-color: #df5959;
-}
-
-/* General Element */
-.bg-red-sunglo {
- border-color: #E26A6A !important;
- background-image: none !important;
- background-color: #E26A6A !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red-sunglo {
- color: #E26A6A !important;
-}
-
-/***
-Red Intense
-***/
-/* Button */
-.red-intense.btn {
- color: #FFFFFF;
- background-color: #e35b5a;
- border-color: "";
-}
-
-.red-intense.btn:hover, .red-intense.btn:focus, .red-intense.btn:active, .red-intense.btn.active {
- color: #FFFFFF;
- background-color: #de3d3b;
-}
-
-.open .red-intense.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #de3d3b;
-}
-
-.red-intense.btn:active, .red-intense.btn.active {
- background-image: none;
- background-color: #da2726;
-}
-
-.red-intense.btn:active:hover, .red-intense.btn.active:hover {
- background-color: #dc302e;
-}
-
-.open .red-intense.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red-intense.btn.disabled, .red-intense.btn.disabled:hover, .red-intense.btn.disabled:focus, .red-intense.btn.disabled:active, .red-intense.btn.disabled.active, .red-intense.btn[disabled], .red-intense.btn[disabled]:hover, .red-intense.btn[disabled]:focus, .red-intense.btn[disabled]:active, .red-intense.btn[disabled].active, fieldset[disabled] .red-intense.btn, fieldset[disabled] .red-intense.btn:hover, fieldset[disabled] .red-intense.btn:focus, fieldset[disabled] .red-intense.btn:active, fieldset[disabled] .red-intense.btn.active {
- background-color: #e35b5a;
-}
-
-.red-intense.btn .badge {
- color: #e35b5a;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-intense-stripe {
- border-left: 3px solid #e35b5a;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red-intense,
-.portlet.red-intense {
- background-color: #e35b5a;
-}
-
-.portlet.solid.red-intense > .portlet-title,
-.portlet.solid.red-intense > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red-intense > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red-intense > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red-intense > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red-intense > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red-intense > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red-intense > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red-intense > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red-intense {
- border: 1px solid #ea8686;
- border-top: 0;
-}
-
-.portlet.box.red-intense > .portlet-title {
- background-color: #e35b5a;
-}
-
-.portlet.box.red-intense > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red-intense > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red-intense > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #f3baba;
- color: #f7d0d0;
-}
-
-.portlet.box.red-intense > .portlet-title > .actions .btn-default > i {
- color: #f9dddd;
-}
-
-.portlet.box.red-intense > .portlet-title > .actions .btn-default:hover, .portlet.box.red-intense > .portlet-title > .actions .btn-default:focus, .portlet.box.red-intense > .portlet-title > .actions .btn-default:active, .portlet.box.red-intense > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fbe6e6;
- color: #fefbfb;
-}
-
-/* Statistic Block */
-.dashboard-stat.red-intense {
- background-color: #e35b5a;
-}
-
-.dashboard-stat.red-intense.dashboard-stat-light:hover {
- background-color: #e04a49;
-}
-
-.dashboard-stat.red-intense .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red-intense .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red-intense .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red-intense .more {
- color: #FFFFFF;
- background-color: #e04a49;
-}
-
-/* General Element */
-.bg-red-intense {
- border-color: #e35b5a !important;
- background-image: none !important;
- background-color: #e35b5a !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red-intense {
- color: #e35b5a !important;
-}
-
-/***
-Red Thunderbird
-***/
-/* Button */
-.red-thunderbird.btn {
- color: #FFFFFF;
- background-color: #D91E18;
- border-color: "";
-}
-
-.red-thunderbird.btn:hover, .red-thunderbird.btn:focus, .red-thunderbird.btn:active, .red-thunderbird.btn.active {
- color: #FFFFFF;
- background-color: #b91a14;
-}
-
-.open .red-thunderbird.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #b91a14;
-}
-
-.red-thunderbird.btn:active, .red-thunderbird.btn.active {
- background-image: none;
- background-color: #a21612;
-}
-
-.red-thunderbird.btn:active:hover, .red-thunderbird.btn.active:hover {
- background-color: #ab1813;
-}
-
-.open .red-thunderbird.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red-thunderbird.btn.disabled, .red-thunderbird.btn.disabled:hover, .red-thunderbird.btn.disabled:focus, .red-thunderbird.btn.disabled:active, .red-thunderbird.btn.disabled.active, .red-thunderbird.btn[disabled], .red-thunderbird.btn[disabled]:hover, .red-thunderbird.btn[disabled]:focus, .red-thunderbird.btn[disabled]:active, .red-thunderbird.btn[disabled].active, fieldset[disabled] .red-thunderbird.btn, fieldset[disabled] .red-thunderbird.btn:hover, fieldset[disabled] .red-thunderbird.btn:focus, fieldset[disabled] .red-thunderbird.btn:active, fieldset[disabled] .red-thunderbird.btn.active {
- background-color: #D91E18;
-}
-
-.red-thunderbird.btn .badge {
- color: #D91E18;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-thunderbird-stripe {
- border-left: 3px solid #D91E18;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red-thunderbird,
-.portlet.red-thunderbird {
- background-color: #D91E18;
-}
-
-.portlet.solid.red-thunderbird > .portlet-title,
-.portlet.solid.red-thunderbird > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red-thunderbird > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red-thunderbird {
- border: 1px solid #e9403b;
- border-top: 0;
-}
-
-.portlet.box.red-thunderbird > .portlet-title {
- background-color: #D91E18;
-}
-
-.portlet.box.red-thunderbird > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red-thunderbird > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red-thunderbird > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #ef7672;
- color: #f28c89;
-}
-
-.portlet.box.red-thunderbird > .portlet-title > .actions .btn-default > i {
- color: #f39997;
-}
-
-.portlet.box.red-thunderbird > .portlet-title > .actions .btn-default:hover, .portlet.box.red-thunderbird > .portlet-title > .actions .btn-default:focus, .portlet.box.red-thunderbird > .portlet-title > .actions .btn-default:active, .portlet.box.red-thunderbird > .portlet-title > .actions .btn-default.active {
- border: 1px solid #f4a2a0;
- color: #f7b9b7;
-}
-
-/* Statistic Block */
-.dashboard-stat.red-thunderbird {
- background-color: #D91E18;
-}
-
-.dashboard-stat.red-thunderbird.dashboard-stat-light:hover {
- background-color: #c71b16;
-}
-
-.dashboard-stat.red-thunderbird .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red-thunderbird .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red-thunderbird .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red-thunderbird .more {
- color: #FFFFFF;
- background-color: #c71b16;
-}
-
-/* General Element */
-.bg-red-thunderbird {
- border-color: #D91E18 !important;
- background-image: none !important;
- background-color: #D91E18 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red-thunderbird {
- color: #D91E18 !important;
-}
-
-/***
-Red Flamingo
-***/
-/* Button */
-.red-flamingo.btn {
- color: #FFFFFF;
- background-color: #EF4836;
- border-color: "";
-}
-
-.red-flamingo.btn:hover, .red-flamingo.btn:focus, .red-flamingo.btn:active, .red-flamingo.btn.active {
- color: #FFFFFF;
- background-color: #ec2a15;
-}
-
-.open .red-flamingo.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #ec2a15;
-}
-
-.red-flamingo.btn:active, .red-flamingo.btn.active {
- background-image: none;
- background-color: #d72411;
-}
-
-.red-flamingo.btn:active:hover, .red-flamingo.btn.active:hover {
- background-color: #e02612;
-}
-
-.open .red-flamingo.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red-flamingo.btn.disabled, .red-flamingo.btn.disabled:hover, .red-flamingo.btn.disabled:focus, .red-flamingo.btn.disabled:active, .red-flamingo.btn.disabled.active, .red-flamingo.btn[disabled], .red-flamingo.btn[disabled]:hover, .red-flamingo.btn[disabled]:focus, .red-flamingo.btn[disabled]:active, .red-flamingo.btn[disabled].active, fieldset[disabled] .red-flamingo.btn, fieldset[disabled] .red-flamingo.btn:hover, fieldset[disabled] .red-flamingo.btn:focus, fieldset[disabled] .red-flamingo.btn:active, fieldset[disabled] .red-flamingo.btn.active {
- background-color: #EF4836;
-}
-
-.red-flamingo.btn .badge {
- color: #EF4836;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-flamingo-stripe {
- border-left: 3px solid #EF4836;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red-flamingo,
-.portlet.red-flamingo {
- background-color: #EF4836;
-}
-
-.portlet.solid.red-flamingo > .portlet-title,
-.portlet.solid.red-flamingo > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red-flamingo > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red-flamingo {
- border: 1px solid #f37365;
- border-top: 0;
-}
-
-.portlet.box.red-flamingo > .portlet-title {
- background-color: #EF4836;
-}
-
-.portlet.box.red-flamingo > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red-flamingo > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red-flamingo > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #f7a79e;
- color: #f9bcb6;
-}
-
-.portlet.box.red-flamingo > .portlet-title > .actions .btn-default > i {
- color: #fac9c4;
-}
-
-.portlet.box.red-flamingo > .portlet-title > .actions .btn-default:hover, .portlet.box.red-flamingo > .portlet-title > .actions .btn-default:focus, .portlet.box.red-flamingo > .portlet-title > .actions .btn-default:active, .portlet.box.red-flamingo > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fbd2cd;
- color: #fde7e5;
-}
-
-/* Statistic Block */
-.dashboard-stat.red-flamingo {
- background-color: #EF4836;
-}
-
-.dashboard-stat.red-flamingo.dashboard-stat-light:hover {
- background-color: #ed3723;
-}
-
-.dashboard-stat.red-flamingo .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red-flamingo .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red-flamingo .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red-flamingo .more {
- color: #FFFFFF;
- background-color: #ed3723;
-}
-
-/* General Element */
-.bg-red-flamingo {
- border-color: #EF4836 !important;
- background-image: none !important;
- background-color: #EF4836 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red-flamingo {
- color: #EF4836 !important;
-}
-
-/***
-Red Flamingo
-***/
-/* Button */
-.red-soft.btn {
- color: #FFFFFF;
- background-color: #d05454;
- border-color: "";
-}
-
-.red-soft.btn:hover, .red-soft.btn:focus, .red-soft.btn:active, .red-soft.btn.active {
- color: #FFFFFF;
- background-color: #c83838;
-}
-
-.open .red-soft.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #c83838;
-}
-
-.red-soft.btn:active, .red-soft.btn.active {
- background-image: none;
- background-color: #b53232;
-}
-
-.red-soft.btn:active:hover, .red-soft.btn.active:hover {
- background-color: #bd3434;
-}
-
-.open .red-soft.btn.dropdown-toggle {
- background-image: none;
-}
-
-.red-soft.btn.disabled, .red-soft.btn.disabled:hover, .red-soft.btn.disabled:focus, .red-soft.btn.disabled:active, .red-soft.btn.disabled.active, .red-soft.btn[disabled], .red-soft.btn[disabled]:hover, .red-soft.btn[disabled]:focus, .red-soft.btn[disabled]:active, .red-soft.btn[disabled].active, fieldset[disabled] .red-soft.btn, fieldset[disabled] .red-soft.btn:hover, fieldset[disabled] .red-soft.btn:focus, fieldset[disabled] .red-soft.btn:active, fieldset[disabled] .red-soft.btn.active {
- background-color: #d05454;
-}
-
-.red-soft.btn .badge {
- color: #d05454;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.red-soft-stripe {
- border-left: 3px solid #d05454;
-}
-
-/* Portlet */
-.portlet > .portlet-body.red-soft,
-.portlet.red-soft {
- background-color: #d05454;
-}
-
-.portlet.solid.red-soft > .portlet-title,
-.portlet.solid.red-soft > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.red-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.red-soft > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.red-soft > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.red-soft > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.red-soft > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.red-soft > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.red-soft > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.red-soft {
- border: 1px solid #db7c7c;
- border-top: 0;
-}
-
-.portlet.box.red-soft > .portlet-title {
- background-color: #d05454;
-}
-
-.portlet.box.red-soft > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.red-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.red-soft > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #e8acac;
- color: #eec0c0;
-}
-
-.portlet.box.red-soft > .portlet-title > .actions .btn-default > i {
- color: #f1cccc;
-}
-
-.portlet.box.red-soft > .portlet-title > .actions .btn-default:hover, .portlet.box.red-soft > .portlet-title > .actions .btn-default:focus, .portlet.box.red-soft > .portlet-title > .actions .btn-default:active, .portlet.box.red-soft > .portlet-title > .actions .btn-default.active {
- border: 1px solid #f3d4d4;
- color: #f9e8e8;
-}
-
-/* Statistic Block */
-.dashboard-stat.red-soft {
- background-color: #d05454;
-}
-
-.dashboard-stat.red-soft.dashboard-stat-light:hover {
- background-color: #cc4444;
-}
-
-.dashboard-stat.red-soft .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.red-soft .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.red-soft .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.red-soft .more {
- color: #FFFFFF;
- background-color: #cc4444;
-}
-
-/* General Element */
-.bg-red-soft {
- border-color: #d05454 !important;
- background-image: none !important;
- background-color: #d05454 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-red-soft {
- color: #d05454 !important;
-}
-
-/***********
-Yellow Colors
-************/
-/***
-Yellow Default
-***/
-/* Button */
-.yellow.btn {
- color: #FFFFFF;
- background-color: #FFB848;
- border-color: "";
-}
-
-.yellow.btn:hover, .yellow.btn:focus, .yellow.btn:active, .yellow.btn.active {
- color: #FFFFFF;
- background-color: #ffaa24;
-}
-
-.open .yellow.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #ffaa24;
-}
-
-.yellow.btn:active, .yellow.btn.active {
- background-image: none;
- background-color: #ffa00b;
-}
-
-.yellow.btn:active:hover, .yellow.btn.active:hover {
- background-color: #ffa415;
-}
-
-.open .yellow.btn.dropdown-toggle {
- background-image: none;
-}
-
-.yellow.btn.disabled, .yellow.btn.disabled:hover, .yellow.btn.disabled:focus, .yellow.btn.disabled:active, .yellow.btn.disabled.active, .yellow.btn[disabled], .yellow.btn[disabled]:hover, .yellow.btn[disabled]:focus, .yellow.btn[disabled]:active, .yellow.btn[disabled].active, fieldset[disabled] .yellow.btn, fieldset[disabled] .yellow.btn:hover, fieldset[disabled] .yellow.btn:focus, fieldset[disabled] .yellow.btn:active, fieldset[disabled] .yellow.btn.active {
- background-color: #FFB848;
-}
-
-.yellow.btn .badge {
- color: #FFB848;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.yellow-stripe {
- border-left: 3px solid #FFB848;
-}
-
-/* Portlet */
-.portlet > .portlet-body.yellow,
-.portlet.yellow {
- background-color: #FFB848;
-}
-
-.portlet.solid.yellow > .portlet-title,
-.portlet.solid.yellow > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.yellow > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.yellow > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.yellow > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.yellow > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.yellow > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.yellow {
- border: 1px solid #ffcc7b;
- border-top: 0;
-}
-
-.portlet.box.yellow > .portlet-title {
- background-color: #FFB848;
-}
-
-.portlet.box.yellow > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #ffe4b8;
- color: #ffedd2;
-}
-
-.portlet.box.yellow > .portlet-title > .actions .btn-default > i {
- color: #fff3e1;
-}
-
-.portlet.box.yellow > .portlet-title > .actions .btn-default:hover, .portlet.box.yellow > .portlet-title > .actions .btn-default:focus, .portlet.box.yellow > .portlet-title > .actions .btn-default:active, .portlet.box.yellow > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fff7eb;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.yellow {
- background-color: #FFB848;
-}
-
-.dashboard-stat.yellow.dashboard-stat-light:hover {
- background-color: #ffb034;
-}
-
-.dashboard-stat.yellow .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.yellow .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.yellow .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.yellow .more {
- color: #FFFFFF;
- background-color: #ffb034;
-}
-
-/* General Element */
-.bg-yellow {
- border-color: #FFB848 !important;
- background-image: none !important;
- background-color: #FFB848 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-yellow {
- color: #FFB848 !important;
-}
-
-/***
-Yellow Gold
-***/
-/* Button */
-.yellow-gold.btn {
- color: #FFFFFF;
- background-color: #E87E04;
- border-color: "";
-}
-
-.yellow-gold.btn:hover, .yellow-gold.btn:focus, .yellow-gold.btn:active, .yellow-gold.btn.active {
- color: #FFFFFF;
- background-color: #c56b03;
-}
-
-.open .yellow-gold.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #c56b03;
-}
-
-.yellow-gold.btn:active, .yellow-gold.btn.active {
- background-image: none;
- background-color: #ac5d03;
-}
-
-.yellow-gold.btn:active:hover, .yellow-gold.btn.active:hover {
- background-color: #b66303;
-}
-
-.open .yellow-gold.btn.dropdown-toggle {
- background-image: none;
-}
-
-.yellow-gold.btn.disabled, .yellow-gold.btn.disabled:hover, .yellow-gold.btn.disabled:focus, .yellow-gold.btn.disabled:active, .yellow-gold.btn.disabled.active, .yellow-gold.btn[disabled], .yellow-gold.btn[disabled]:hover, .yellow-gold.btn[disabled]:focus, .yellow-gold.btn[disabled]:active, .yellow-gold.btn[disabled].active, fieldset[disabled] .yellow-gold.btn, fieldset[disabled] .yellow-gold.btn:hover, fieldset[disabled] .yellow-gold.btn:focus, fieldset[disabled] .yellow-gold.btn:active, fieldset[disabled] .yellow-gold.btn.active {
- background-color: #E87E04;
-}
-
-.yellow-gold.btn .badge {
- color: #E87E04;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.yellow-gold-stripe {
- border-left: 3px solid #E87E04;
-}
-
-/* Portlet */
-.portlet > .portlet-body.yellow-gold,
-.portlet.yellow-gold {
- background-color: #E87E04;
-}
-
-.portlet.solid.yellow-gold > .portlet-title,
-.portlet.solid.yellow-gold > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.yellow-gold > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.yellow-gold {
- border: 1px solid #fb9724;
- border-top: 0;
-}
-
-.portlet.box.yellow-gold > .portlet-title {
- background-color: #E87E04;
-}
-
-.portlet.box.yellow-gold > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-gold > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-gold > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #fcb460;
- color: #fdbf79;
-}
-
-.portlet.box.yellow-gold > .portlet-title > .actions .btn-default > i {
- color: #fdc788;
-}
-
-.portlet.box.yellow-gold > .portlet-title > .actions .btn-default:hover, .portlet.box.yellow-gold > .portlet-title > .actions .btn-default:focus, .portlet.box.yellow-gold > .portlet-title > .actions .btn-default:active, .portlet.box.yellow-gold > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fdcb92;
- color: #fed7ab;
-}
-
-/* Statistic Block */
-.dashboard-stat.yellow-gold {
- background-color: #E87E04;
-}
-
-.dashboard-stat.yellow-gold.dashboard-stat-light:hover {
- background-color: #d47304;
-}
-
-.dashboard-stat.yellow-gold .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.yellow-gold .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.yellow-gold .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.yellow-gold .more {
- color: #FFFFFF;
- background-color: #d47304;
-}
-
-/* General Element */
-.bg-yellow-gold {
- border-color: #E87E04 !important;
- background-image: none !important;
- background-color: #E87E04 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-yellow-gold {
- color: #E87E04 !important;
-}
-
-/***
-Yellow Casablanca
-***/
-/* Button */
-.yellow-casablanca.btn {
- color: #FFFFFF;
- background-color: #f2784b;
- border-color: "";
-}
-
-.yellow-casablanca.btn:hover, .yellow-casablanca.btn:focus, .yellow-casablanca.btn:active, .yellow-casablanca.btn.active {
- color: #FFFFFF;
- background-color: #f05f2a;
-}
-
-.open .yellow-casablanca.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #f05f2a;
-}
-
-.yellow-casablanca.btn:active, .yellow-casablanca.btn.active {
- background-image: none;
- background-color: #ee4d12;
-}
-
-.yellow-casablanca.btn:active:hover, .yellow-casablanca.btn.active:hover {
- background-color: #ef541b;
-}
-
-.open .yellow-casablanca.btn.dropdown-toggle {
- background-image: none;
-}
-
-.yellow-casablanca.btn.disabled, .yellow-casablanca.btn.disabled:hover, .yellow-casablanca.btn.disabled:focus, .yellow-casablanca.btn.disabled:active, .yellow-casablanca.btn.disabled.active, .yellow-casablanca.btn[disabled], .yellow-casablanca.btn[disabled]:hover, .yellow-casablanca.btn[disabled]:focus, .yellow-casablanca.btn[disabled]:active, .yellow-casablanca.btn[disabled].active, fieldset[disabled] .yellow-casablanca.btn, fieldset[disabled] .yellow-casablanca.btn:hover, fieldset[disabled] .yellow-casablanca.btn:focus, fieldset[disabled] .yellow-casablanca.btn:active, fieldset[disabled] .yellow-casablanca.btn.active {
- background-color: #f2784b;
-}
-
-.yellow-casablanca.btn .badge {
- color: #f2784b;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.yellow-casablanca-stripe {
- border-left: 3px solid #f2784b;
-}
-
-/* Portlet */
-.portlet > .portlet-body.yellow-casablanca,
-.portlet.yellow-casablanca {
- background-color: #f2784b;
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title,
-.portlet.solid.yellow-casablanca > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.yellow-casablanca > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.yellow-casablanca {
- border: 1px solid #f59c7b;
- border-top: 0;
-}
-
-.portlet.box.yellow-casablanca > .portlet-title {
- background-color: #f2784b;
-}
-
-.portlet.box.yellow-casablanca > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-casablanca > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-casablanca > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #fac6b4;
- color: #fbd8cb;
-}
-
-.portlet.box.yellow-casablanca > .portlet-title > .actions .btn-default > i {
- color: #fce3da;
-}
-
-.portlet.box.yellow-casablanca > .portlet-title > .actions .btn-default:hover, .portlet.box.yellow-casablanca > .portlet-title > .actions .btn-default:focus, .portlet.box.yellow-casablanca > .portlet-title > .actions .btn-default:active, .portlet.box.yellow-casablanca > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fdeae3;
- color: #fffcfb;
-}
-
-/* Statistic Block */
-.dashboard-stat.yellow-casablanca {
- background-color: #f2784b;
-}
-
-.dashboard-stat.yellow-casablanca.dashboard-stat-light:hover {
- background-color: #f16a38;
-}
-
-.dashboard-stat.yellow-casablanca .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.yellow-casablanca .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.yellow-casablanca .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.yellow-casablanca .more {
- color: #FFFFFF;
- background-color: #f16a38;
-}
-
-/* General Element */
-.bg-yellow-casablanca {
- border-color: #f2784b !important;
- background-image: none !important;
- background-color: #f2784b !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-yellow-casablanca {
- color: #f2784b !important;
-}
-
-/***
-Yellow Crusta
-***/
-/* Button */
-.yellow-crusta.btn {
- color: #FFFFFF;
- background-color: #f3c200;
- border-color: "";
-}
-
-.yellow-crusta.btn:hover, .yellow-crusta.btn:focus, .yellow-crusta.btn:active, .yellow-crusta.btn.active {
- color: #FFFFFF;
- background-color: #cfa500;
-}
-
-.open .yellow-crusta.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #cfa500;
-}
-
-.yellow-crusta.btn:active, .yellow-crusta.btn.active {
- background-image: none;
- background-color: #b69100;
-}
-
-.yellow-crusta.btn:active:hover, .yellow-crusta.btn.active:hover {
- background-color: #c09900;
-}
-
-.open .yellow-crusta.btn.dropdown-toggle {
- background-image: none;
-}
-
-.yellow-crusta.btn.disabled, .yellow-crusta.btn.disabled:hover, .yellow-crusta.btn.disabled:focus, .yellow-crusta.btn.disabled:active, .yellow-crusta.btn.disabled.active, .yellow-crusta.btn[disabled], .yellow-crusta.btn[disabled]:hover, .yellow-crusta.btn[disabled]:focus, .yellow-crusta.btn[disabled]:active, .yellow-crusta.btn[disabled].active, fieldset[disabled] .yellow-crusta.btn, fieldset[disabled] .yellow-crusta.btn:hover, fieldset[disabled] .yellow-crusta.btn:focus, fieldset[disabled] .yellow-crusta.btn:active, fieldset[disabled] .yellow-crusta.btn.active {
- background-color: #f3c200;
-}
-
-.yellow-crusta.btn .badge {
- color: #f3c200;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.yellow-crusta-stripe {
- border-left: 3px solid #f3c200;
-}
-
-/* Portlet */
-.portlet > .portlet-body.yellow-crusta,
-.portlet.yellow-crusta {
- background-color: #f3c200;
-}
-
-.portlet.solid.yellow-crusta > .portlet-title,
-.portlet.solid.yellow-crusta > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.yellow-crusta > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.yellow-crusta {
- border: 1px solid #ffd327;
- border-top: 0;
-}
-
-.portlet.box.yellow-crusta > .portlet-title {
- background-color: #f3c200;
-}
-
-.portlet.box.yellow-crusta > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-crusta > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-crusta > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #ffe064;
- color: #ffe57e;
-}
-
-.portlet.box.yellow-crusta > .portlet-title > .actions .btn-default > i {
- color: #ffe88d;
-}
-
-.portlet.box.yellow-crusta > .portlet-title > .actions .btn-default:hover, .portlet.box.yellow-crusta > .portlet-title > .actions .btn-default:focus, .portlet.box.yellow-crusta > .portlet-title > .actions .btn-default:active, .portlet.box.yellow-crusta > .portlet-title > .actions .btn-default.active {
- border: 1px solid #ffea97;
- color: #ffefb1;
-}
-
-/* Statistic Block */
-.dashboard-stat.yellow-crusta {
- background-color: #f3c200;
-}
-
-.dashboard-stat.yellow-crusta.dashboard-stat-light:hover {
- background-color: #dfb200;
-}
-
-.dashboard-stat.yellow-crusta .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.yellow-crusta .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.yellow-crusta .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.yellow-crusta .more {
- color: #FFFFFF;
- background-color: #dfb200;
-}
-
-/* General Element */
-.bg-yellow-crusta {
- border-color: #f3c200 !important;
- background-image: none !important;
- background-color: #f3c200 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-yellow-crusta {
- color: #f3c200 !important;
-}
-
-/***
-Yellow Lemon
-***/
-/* Button */
-.yellow-lemon.btn {
- color: #FFFFFF;
- background-color: #F7CA18;
- border-color: "";
-}
-
-.yellow-lemon.btn:hover, .yellow-lemon.btn:focus, .yellow-lemon.btn:active, .yellow-lemon.btn.active {
- color: #FFFFFF;
- background-color: #e3b708;
-}
-
-.open .yellow-lemon.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #e3b708;
-}
-
-.yellow-lemon.btn:active, .yellow-lemon.btn.active {
- background-image: none;
- background-color: #cba307;
-}
-
-.yellow-lemon.btn:active:hover, .yellow-lemon.btn.active:hover {
- background-color: #d5ab07;
-}
-
-.open .yellow-lemon.btn.dropdown-toggle {
- background-image: none;
-}
-
-.yellow-lemon.btn.disabled, .yellow-lemon.btn.disabled:hover, .yellow-lemon.btn.disabled:focus, .yellow-lemon.btn.disabled:active, .yellow-lemon.btn.disabled.active, .yellow-lemon.btn[disabled], .yellow-lemon.btn[disabled]:hover, .yellow-lemon.btn[disabled]:focus, .yellow-lemon.btn[disabled]:active, .yellow-lemon.btn[disabled].active, fieldset[disabled] .yellow-lemon.btn, fieldset[disabled] .yellow-lemon.btn:hover, fieldset[disabled] .yellow-lemon.btn:focus, fieldset[disabled] .yellow-lemon.btn:active, fieldset[disabled] .yellow-lemon.btn.active {
- background-color: #F7CA18;
-}
-
-.yellow-lemon.btn .badge {
- color: #F7CA18;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.yellow-lemon-stripe {
- border-left: 3px solid #F7CA18;
-}
-
-/* Portlet */
-.portlet > .portlet-body.yellow-lemon,
-.portlet.yellow-lemon {
- background-color: #F7CA18;
-}
-
-.portlet.solid.yellow-lemon > .portlet-title,
-.portlet.solid.yellow-lemon > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.yellow-lemon > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.yellow-lemon {
- border: 1px solid #f9d549;
- border-top: 0;
-}
-
-.portlet.box.yellow-lemon > .portlet-title {
- background-color: #F7CA18;
-}
-
-.portlet.box.yellow-lemon > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-lemon > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-lemon > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #fbe384;
- color: #fce99d;
-}
-
-.portlet.box.yellow-lemon > .portlet-title > .actions .btn-default > i {
- color: #fcecac;
-}
-
-.portlet.box.yellow-lemon > .portlet-title > .actions .btn-default:hover, .portlet.box.yellow-lemon > .portlet-title > .actions .btn-default:focus, .portlet.box.yellow-lemon > .portlet-title > .actions .btn-default:active, .portlet.box.yellow-lemon > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fceeb6;
- color: #fdf4ce;
-}
-
-/* Statistic Block */
-.dashboard-stat.yellow-lemon {
- background-color: #F7CA18;
-}
-
-.dashboard-stat.yellow-lemon.dashboard-stat-light:hover {
- background-color: #f2c308;
-}
-
-.dashboard-stat.yellow-lemon .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.yellow-lemon .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.yellow-lemon .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.yellow-lemon .more {
- color: #FFFFFF;
- background-color: #f2c308;
-}
-
-/* General Element */
-.bg-yellow-lemon {
- border-color: #F7CA18 !important;
- background-image: none !important;
- background-color: #F7CA18 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-yellow-lemon {
- color: #F7CA18 !important;
-}
-
-/***
-Yellow Saffron
-***/
-/* Button */
-.yellow-saffron.btn {
- color: #FFFFFF;
- background-color: #F4D03F;
- border-color: "";
-}
-
-.yellow-saffron.btn:hover, .yellow-saffron.btn:focus, .yellow-saffron.btn:active, .yellow-saffron.btn.active {
- color: #FFFFFF;
- background-color: #f2c81d;
-}
-
-.open .yellow-saffron.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #f2c81d;
-}
-
-.yellow-saffron.btn:active, .yellow-saffron.btn.active {
- background-image: none;
- background-color: #e8bd0d;
-}
-
-.yellow-saffron.btn:active:hover, .yellow-saffron.btn.active:hover {
- background-color: #f1c40f;
-}
-
-.open .yellow-saffron.btn.dropdown-toggle {
- background-image: none;
-}
-
-.yellow-saffron.btn.disabled, .yellow-saffron.btn.disabled:hover, .yellow-saffron.btn.disabled:focus, .yellow-saffron.btn.disabled:active, .yellow-saffron.btn.disabled.active, .yellow-saffron.btn[disabled], .yellow-saffron.btn[disabled]:hover, .yellow-saffron.btn[disabled]:focus, .yellow-saffron.btn[disabled]:active, .yellow-saffron.btn[disabled].active, fieldset[disabled] .yellow-saffron.btn, fieldset[disabled] .yellow-saffron.btn:hover, fieldset[disabled] .yellow-saffron.btn:focus, fieldset[disabled] .yellow-saffron.btn:active, fieldset[disabled] .yellow-saffron.btn.active {
- background-color: #F4D03F;
-}
-
-.yellow-saffron.btn .badge {
- color: #F4D03F;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.yellow-saffron-stripe {
- border-left: 3px solid #F4D03F;
-}
-
-/* Portlet */
-.portlet > .portlet-body.yellow-saffron,
-.portlet.yellow-saffron {
- background-color: #F4D03F;
-}
-
-.portlet.solid.yellow-saffron > .portlet-title,
-.portlet.solid.yellow-saffron > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.yellow-saffron > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.yellow-saffron {
- border: 1px solid #f7dc6f;
- border-top: 0;
-}
-
-.portlet.box.yellow-saffron > .portlet-title {
- background-color: #F4D03F;
-}
-
-.portlet.box.yellow-saffron > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-saffron > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.yellow-saffron > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #faeaa9;
- color: #fbf0c1;
-}
-
-.portlet.box.yellow-saffron > .portlet-title > .actions .btn-default > i {
- color: #fcf3d0;
-}
-
-.portlet.box.yellow-saffron > .portlet-title > .actions .btn-default:hover, .portlet.box.yellow-saffron > .portlet-title > .actions .btn-default:focus, .portlet.box.yellow-saffron > .portlet-title > .actions .btn-default:active, .portlet.box.yellow-saffron > .portlet-title > .actions .btn-default.active {
- border: 1px solid #fdf6d9;
- color: #fefcf1;
-}
-
-/* Statistic Block */
-.dashboard-stat.yellow-saffron {
- background-color: #F4D03F;
-}
-
-.dashboard-stat.yellow-saffron.dashboard-stat-light:hover {
- background-color: #f3cb2c;
-}
-
-.dashboard-stat.yellow-saffron .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.yellow-saffron .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.yellow-saffron .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.yellow-saffron .more {
- color: #FFFFFF;
- background-color: #f3cb2c;
-}
-
-/* General Element */
-.bg-yellow-saffron {
- border-color: #F4D03F !important;
- background-image: none !important;
- background-color: #F4D03F !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-yellow-saffron {
- color: #F4D03F !important;
-}
-
-/***********
-Purple Colors
-************/
-/***
-Purple Default
-***/
-/* Button */
-.purple.btn {
- color: #FFFFFF;
- background-color: #8E44AD;
- border-color: "";
-}
-
-.purple.btn:hover, .purple.btn:focus, .purple.btn:active, .purple.btn.active {
- color: #FFFFFF;
- background-color: #793a93;
-}
-
-.open .purple.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #793a93;
-}
-
-.purple.btn:active, .purple.btn.active {
- background-image: none;
- background-color: #6a3381;
-}
-
-.purple.btn:active:hover, .purple.btn.active:hover {
- background-color: #703688;
-}
-
-.open .purple.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple.btn.disabled, .purple.btn.disabled:hover, .purple.btn.disabled:focus, .purple.btn.disabled:active, .purple.btn.disabled.active, .purple.btn[disabled], .purple.btn[disabled]:hover, .purple.btn[disabled]:focus, .purple.btn[disabled]:active, .purple.btn[disabled].active, fieldset[disabled] .purple.btn, fieldset[disabled] .purple.btn:hover, fieldset[disabled] .purple.btn:focus, fieldset[disabled] .purple.btn:active, fieldset[disabled] .purple.btn.active {
- background-color: #8E44AD;
-}
-
-.purple.btn .badge {
- color: #8E44AD;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-stripe {
- border-left: 3px solid #8E44AD;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple,
-.portlet.purple {
- background-color: #8E44AD;
-}
-
-.portlet.solid.purple > .portlet-title,
-.portlet.solid.purple > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple {
- border: 1px solid #a563c1;
- border-top: 0;
-}
-
-.portlet.box.purple > .portlet-title {
- background-color: #8E44AD;
-}
-
-.portlet.box.purple > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #bf8ed3;
- color: #c9a1da;
-}
-
-.portlet.box.purple > .portlet-title > .actions .btn-default > i {
- color: #cfacde;
-}
-
-.portlet.box.purple > .portlet-title > .actions .btn-default:hover, .portlet.box.purple > .portlet-title > .actions .btn-default:focus, .portlet.box.purple > .portlet-title > .actions .btn-default:active, .portlet.box.purple > .portlet-title > .actions .btn-default.active {
- border: 1px solid #d4b3e1;
- color: #dec5e8;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple {
- background-color: #8E44AD;
-}
-
-.dashboard-stat.purple.dashboard-stat-light:hover {
- background-color: #823e9e;
-}
-
-.dashboard-stat.purple .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple .more {
- color: #FFFFFF;
- background-color: #823e9e;
-}
-
-/* General Element */
-.bg-purple {
- border-color: #8E44AD !important;
- background-image: none !important;
- background-color: #8E44AD !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple {
- color: #8E44AD !important;
-}
-
-/***
-Purple Plum
-***/
-/* Button */
-.purple-plum.btn {
- color: #FFFFFF;
- background-color: #8775a7;
- border-color: "";
-}
-
-.purple-plum.btn:hover, .purple-plum.btn:focus, .purple-plum.btn:active, .purple-plum.btn.active {
- color: #FFFFFF;
- background-color: #746198;
-}
-
-.open .purple-plum.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #746198;
-}
-
-.purple-plum.btn:active, .purple-plum.btn.active {
- background-image: none;
- background-color: #685788;
-}
-
-.purple-plum.btn:active:hover, .purple-plum.btn.active:hover {
- background-color: #6d5b8e;
-}
-
-.open .purple-plum.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-plum.btn.disabled, .purple-plum.btn.disabled:hover, .purple-plum.btn.disabled:focus, .purple-plum.btn.disabled:active, .purple-plum.btn.disabled.active, .purple-plum.btn[disabled], .purple-plum.btn[disabled]:hover, .purple-plum.btn[disabled]:focus, .purple-plum.btn[disabled]:active, .purple-plum.btn[disabled].active, fieldset[disabled] .purple-plum.btn, fieldset[disabled] .purple-plum.btn:hover, fieldset[disabled] .purple-plum.btn:focus, fieldset[disabled] .purple-plum.btn:active, fieldset[disabled] .purple-plum.btn.active {
- background-color: #8775a7;
-}
-
-.purple-plum.btn .badge {
- color: #8775a7;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-plum-stripe {
- border-left: 3px solid #8775a7;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-plum,
-.portlet.purple-plum {
- background-color: #8775a7;
-}
-
-.portlet.solid.purple-plum > .portlet-title,
-.portlet.solid.purple-plum > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-plum > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-plum > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-plum > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-plum > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-plum > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-plum > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-plum > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-plum {
- border: 1px solid #a294bb;
- border-top: 0;
-}
-
-.portlet.box.purple-plum > .portlet-title {
- background-color: #8775a7;
-}
-
-.portlet.box.purple-plum > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-plum > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-plum > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #c3bad3;
- color: #d0c9dd;
-}
-
-.portlet.box.purple-plum > .portlet-title > .actions .btn-default > i {
- color: #d8d2e3;
-}
-
-.portlet.box.purple-plum > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-plum > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-plum > .portlet-title > .actions .btn-default:active, .portlet.box.purple-plum > .portlet-title > .actions .btn-default.active {
- border: 1px solid #ded9e7;
- color: #ebe8f0;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-plum {
- background-color: #8775a7;
-}
-
-.dashboard-stat.purple-plum.dashboard-stat-light:hover {
- background-color: #7c699f;
-}
-
-.dashboard-stat.purple-plum .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-plum .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-plum .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-plum .more {
- color: #FFFFFF;
- background-color: #7c699f;
-}
-
-/* General Element */
-.bg-purple-plum {
- border-color: #8775a7 !important;
- background-image: none !important;
- background-color: #8775a7 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-plum {
- color: #8775a7 !important;
-}
-
-/***
-Purple Medium
-***/
-/* Button */
-.purple-medium.btn {
- color: #FFFFFF;
- background-color: #BF55EC;
- border-color: "";
-}
-
-.purple-medium.btn:hover, .purple-medium.btn:focus, .purple-medium.btn:active, .purple-medium.btn.active {
- color: #FFFFFF;
- background-color: #b335e8;
-}
-
-.open .purple-medium.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #b335e8;
-}
-
-.purple-medium.btn:active, .purple-medium.btn.active {
- background-image: none;
- background-color: #aa1ee6;
-}
-
-.purple-medium.btn:active:hover, .purple-medium.btn.active:hover {
- background-color: #ae27e7;
-}
-
-.open .purple-medium.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-medium.btn.disabled, .purple-medium.btn.disabled:hover, .purple-medium.btn.disabled:focus, .purple-medium.btn.disabled:active, .purple-medium.btn.disabled.active, .purple-medium.btn[disabled], .purple-medium.btn[disabled]:hover, .purple-medium.btn[disabled]:focus, .purple-medium.btn[disabled]:active, .purple-medium.btn[disabled].active, fieldset[disabled] .purple-medium.btn, fieldset[disabled] .purple-medium.btn:hover, fieldset[disabled] .purple-medium.btn:focus, fieldset[disabled] .purple-medium.btn:active, fieldset[disabled] .purple-medium.btn.active {
- background-color: #BF55EC;
-}
-
-.purple-medium.btn .badge {
- color: #BF55EC;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-medium-stripe {
- border-left: 3px solid #BF55EC;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-medium,
-.portlet.purple-medium {
- background-color: #BF55EC;
-}
-
-.portlet.solid.purple-medium > .portlet-title,
-.portlet.solid.purple-medium > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-medium > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-medium > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-medium > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-medium > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-medium > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-medium > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-medium > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-medium {
- border: 1px solid #d083f1;
- border-top: 0;
-}
-
-.portlet.box.purple-medium > .portlet-title {
- background-color: #BF55EC;
-}
-
-.portlet.box.purple-medium > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-medium > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-medium > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #e5baf7;
- color: #eed1fa;
-}
-
-.portlet.box.purple-medium > .portlet-title > .actions .btn-default > i {
- color: #f3dffb;
-}
-
-.portlet.box.purple-medium > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-medium > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-medium > .portlet-title > .actions .btn-default:active, .portlet.box.purple-medium > .portlet-title > .actions .btn-default.active {
- border: 1px solid #f6e8fc;
- color: white;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-medium {
- background-color: #BF55EC;
-}
-
-.dashboard-stat.purple-medium.dashboard-stat-light:hover {
- background-color: #b843ea;
-}
-
-.dashboard-stat.purple-medium .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-medium .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-medium .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-medium .more {
- color: #FFFFFF;
- background-color: #b843ea;
-}
-
-/* General Element */
-.bg-purple-medium {
- border-color: #BF55EC !important;
- background-image: none !important;
- background-color: #BF55EC !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-medium {
- color: #BF55EC !important;
-}
-
-/***
-Purple Studio
-***/
-/* Button */
-.purple-studio.btn {
- color: #FFFFFF;
- background-color: #8E44AD;
- border-color: "";
-}
-
-.purple-studio.btn:hover, .purple-studio.btn:focus, .purple-studio.btn:active, .purple-studio.btn.active {
- color: #FFFFFF;
- background-color: #793a93;
-}
-
-.open .purple-studio.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #793a93;
-}
-
-.purple-studio.btn:active, .purple-studio.btn.active {
- background-image: none;
- background-color: #6a3381;
-}
-
-.purple-studio.btn:active:hover, .purple-studio.btn.active:hover {
- background-color: #703688;
-}
-
-.open .purple-studio.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-studio.btn.disabled, .purple-studio.btn.disabled:hover, .purple-studio.btn.disabled:focus, .purple-studio.btn.disabled:active, .purple-studio.btn.disabled.active, .purple-studio.btn[disabled], .purple-studio.btn[disabled]:hover, .purple-studio.btn[disabled]:focus, .purple-studio.btn[disabled]:active, .purple-studio.btn[disabled].active, fieldset[disabled] .purple-studio.btn, fieldset[disabled] .purple-studio.btn:hover, fieldset[disabled] .purple-studio.btn:focus, fieldset[disabled] .purple-studio.btn:active, fieldset[disabled] .purple-studio.btn.active {
- background-color: #8E44AD;
-}
-
-.purple-studio.btn .badge {
- color: #8E44AD;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-studio-stripe {
- border-left: 3px solid #8E44AD;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-studio,
-.portlet.purple-studio {
- background-color: #8E44AD;
-}
-
-.portlet.solid.purple-studio > .portlet-title,
-.portlet.solid.purple-studio > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-studio > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-studio > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-studio > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-studio > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-studio > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-studio > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-studio > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-studio {
- border: 1px solid #a563c1;
- border-top: 0;
-}
-
-.portlet.box.purple-studio > .portlet-title {
- background-color: #8E44AD;
-}
-
-.portlet.box.purple-studio > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-studio > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-studio > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #bf8ed3;
- color: #c9a1da;
-}
-
-.portlet.box.purple-studio > .portlet-title > .actions .btn-default > i {
- color: #cfacde;
-}
-
-.portlet.box.purple-studio > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-studio > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-studio > .portlet-title > .actions .btn-default:active, .portlet.box.purple-studio > .portlet-title > .actions .btn-default.active {
- border: 1px solid #d4b3e1;
- color: #dec5e8;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-studio {
- background-color: #8E44AD;
-}
-
-.dashboard-stat.purple-studio.dashboard-stat-light:hover {
- background-color: #823e9e;
-}
-
-.dashboard-stat.purple-studio .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-studio .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-studio .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-studio .more {
- color: #FFFFFF;
- background-color: #823e9e;
-}
-
-/* General Element */
-.bg-purple-studio {
- border-color: #8E44AD !important;
- background-image: none !important;
- background-color: #8E44AD !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-studio {
- color: #8E44AD !important;
-}
-
-/***
-Purple Wisteria
-***/
-/* Button */
-.purple-wisteria.btn {
- color: #FFFFFF;
- background-color: #9B59B6;
- border-color: "";
-}
-
-.purple-wisteria.btn:hover, .purple-wisteria.btn:focus, .purple-wisteria.btn:active, .purple-wisteria.btn.active {
- color: #FFFFFF;
- background-color: #8948a3;
-}
-
-.open .purple-wisteria.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #8948a3;
-}
-
-.purple-wisteria.btn:active, .purple-wisteria.btn.active {
- background-image: none;
- background-color: #7a4092;
-}
-
-.purple-wisteria.btn:active:hover, .purple-wisteria.btn.active:hover {
- background-color: #804399;
-}
-
-.open .purple-wisteria.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-wisteria.btn.disabled, .purple-wisteria.btn.disabled:hover, .purple-wisteria.btn.disabled:focus, .purple-wisteria.btn.disabled:active, .purple-wisteria.btn.disabled.active, .purple-wisteria.btn[disabled], .purple-wisteria.btn[disabled]:hover, .purple-wisteria.btn[disabled]:focus, .purple-wisteria.btn[disabled]:active, .purple-wisteria.btn[disabled].active, fieldset[disabled] .purple-wisteria.btn, fieldset[disabled] .purple-wisteria.btn:hover, fieldset[disabled] .purple-wisteria.btn:focus, fieldset[disabled] .purple-wisteria.btn:active, fieldset[disabled] .purple-wisteria.btn.active {
- background-color: #9B59B6;
-}
-
-.purple-wisteria.btn .badge {
- color: #9B59B6;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-wisteria-stripe {
- border-left: 3px solid #9B59B6;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-wisteria,
-.portlet.purple-wisteria {
- background-color: #9B59B6;
-}
-
-.portlet.solid.purple-wisteria > .portlet-title,
-.portlet.solid.purple-wisteria > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-wisteria > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-wisteria {
- border: 1px solid #b07cc6;
- border-top: 0;
-}
-
-.portlet.box.purple-wisteria > .portlet-title {
- background-color: #9B59B6;
-}
-
-.portlet.box.purple-wisteria > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-wisteria > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-wisteria > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #caa7d8;
- color: #d5b9e0;
-}
-
-.portlet.box.purple-wisteria > .portlet-title > .actions .btn-default > i {
- color: #dbc3e5;
-}
-
-.portlet.box.purple-wisteria > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-wisteria > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-wisteria > .portlet-title > .actions .btn-default:active, .portlet.box.purple-wisteria > .portlet-title > .actions .btn-default.active {
- border: 1px solid #dfcae8;
- color: #eadcf0;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-wisteria {
- background-color: #9B59B6;
-}
-
-.dashboard-stat.purple-wisteria.dashboard-stat-light:hover {
- background-color: #924dae;
-}
-
-.dashboard-stat.purple-wisteria .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-wisteria .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-wisteria .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-wisteria .more {
- color: #FFFFFF;
- background-color: #924dae;
-}
-
-/* General Element */
-.bg-purple-wisteria {
- border-color: #9B59B6 !important;
- background-image: none !important;
- background-color: #9B59B6 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-wisteria {
- color: #9B59B6 !important;
-}
-
-/***
-Purple Seance
-***/
-/* Button */
-.purple-seance.btn {
- color: #FFFFFF;
- background-color: #9A12B3;
- border-color: "";
-}
-
-.purple-seance.btn:hover, .purple-seance.btn:focus, .purple-seance.btn:active, .purple-seance.btn.active {
- color: #FFFFFF;
- background-color: #7e0f93;
-}
-
-.open .purple-seance.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #7e0f93;
-}
-
-.purple-seance.btn:active, .purple-seance.btn.active {
- background-image: none;
- background-color: #6a0c7b;
-}
-
-.purple-seance.btn:active:hover, .purple-seance.btn.active:hover {
- background-color: #720d85;
-}
-
-.open .purple-seance.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-seance.btn.disabled, .purple-seance.btn.disabled:hover, .purple-seance.btn.disabled:focus, .purple-seance.btn.disabled:active, .purple-seance.btn.disabled.active, .purple-seance.btn[disabled], .purple-seance.btn[disabled]:hover, .purple-seance.btn[disabled]:focus, .purple-seance.btn[disabled]:active, .purple-seance.btn[disabled].active, fieldset[disabled] .purple-seance.btn, fieldset[disabled] .purple-seance.btn:hover, fieldset[disabled] .purple-seance.btn:focus, fieldset[disabled] .purple-seance.btn:active, fieldset[disabled] .purple-seance.btn.active {
- background-color: #9A12B3;
-}
-
-.purple-seance.btn .badge {
- color: #9A12B3;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-seance-stripe {
- border-left: 3px solid #9A12B3;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-seance,
-.portlet.purple-seance {
- background-color: #9A12B3;
-}
-
-.portlet.solid.purple-seance > .portlet-title,
-.portlet.solid.purple-seance > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-seance > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-seance > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-seance > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-seance > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-seance > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-seance > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-seance > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-seance {
- border: 1px solid #c217e1;
- border-top: 0;
-}
-
-.portlet.box.purple-seance > .portlet-title {
- background-color: #9A12B3;
-}
-
-.portlet.box.purple-seance > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-seance > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-seance > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #d349ed;
- color: #d960ef;
-}
-
-.portlet.box.purple-seance > .portlet-title > .actions .btn-default > i {
- color: #dc6ef0;
-}
-
-.portlet.box.purple-seance > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-seance > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-seance > .portlet-title > .actions .btn-default:active, .portlet.box.purple-seance > .portlet-title > .actions .btn-default.active {
- border: 1px solid #de77f1;
- color: #e48ef4;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-seance {
- background-color: #9A12B3;
-}
-
-.dashboard-stat.purple-seance.dashboard-stat-light:hover {
- background-color: #8a10a0;
-}
-
-.dashboard-stat.purple-seance .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-seance .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-seance .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-seance .more {
- color: #FFFFFF;
- background-color: #8a10a0;
-}
-
-/* General Element */
-.bg-purple-seance {
- border-color: #9A12B3 !important;
- background-image: none !important;
- background-color: #9A12B3 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-seance {
- color: #9A12B3 !important;
-}
-
-/***
-Purple Intense
-***/
-/* Button */
-.purple-intense.btn {
- color: #FFFFFF;
- background-color: #8775a7;
- border-color: "";
-}
-
-.purple-intense.btn:hover, .purple-intense.btn:focus, .purple-intense.btn:active, .purple-intense.btn.active {
- color: #FFFFFF;
- background-color: #746198;
-}
-
-.open .purple-intense.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #746198;
-}
-
-.purple-intense.btn:active, .purple-intense.btn.active {
- background-image: none;
- background-color: #685788;
-}
-
-.purple-intense.btn:active:hover, .purple-intense.btn.active:hover {
- background-color: #6d5b8e;
-}
-
-.open .purple-intense.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-intense.btn.disabled, .purple-intense.btn.disabled:hover, .purple-intense.btn.disabled:focus, .purple-intense.btn.disabled:active, .purple-intense.btn.disabled.active, .purple-intense.btn[disabled], .purple-intense.btn[disabled]:hover, .purple-intense.btn[disabled]:focus, .purple-intense.btn[disabled]:active, .purple-intense.btn[disabled].active, fieldset[disabled] .purple-intense.btn, fieldset[disabled] .purple-intense.btn:hover, fieldset[disabled] .purple-intense.btn:focus, fieldset[disabled] .purple-intense.btn:active, fieldset[disabled] .purple-intense.btn.active {
- background-color: #8775a7;
-}
-
-.purple-intense.btn .badge {
- color: #8775a7;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-intense-stripe {
- border-left: 3px solid #8775a7;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-intense,
-.portlet.purple-intense {
- background-color: #8775a7;
-}
-
-.portlet.solid.purple-intense > .portlet-title,
-.portlet.solid.purple-intense > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-intense > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-intense > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-intense > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-intense > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-intense > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-intense > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-intense > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-intense {
- border: 1px solid #a294bb;
- border-top: 0;
-}
-
-.portlet.box.purple-intense > .portlet-title {
- background-color: #8775a7;
-}
-
-.portlet.box.purple-intense > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-intense > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-intense > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #c3bad3;
- color: #d0c9dd;
-}
-
-.portlet.box.purple-intense > .portlet-title > .actions .btn-default > i {
- color: #d8d2e3;
-}
-
-.portlet.box.purple-intense > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-intense > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-intense > .portlet-title > .actions .btn-default:active, .portlet.box.purple-intense > .portlet-title > .actions .btn-default.active {
- border: 1px solid #ded9e7;
- color: #ebe8f0;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-intense {
- background-color: #8775a7;
-}
-
-.dashboard-stat.purple-intense.dashboard-stat-light:hover {
- background-color: #7c699f;
-}
-
-.dashboard-stat.purple-intense .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-intense .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-intense .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-intense .more {
- color: #FFFFFF;
- background-color: #7c699f;
-}
-
-/* General Element */
-.bg-purple-intense {
- border-color: #8775a7 !important;
- background-image: none !important;
- background-color: #8775a7 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-intense {
- color: #8775a7 !important;
-}
-
-/***
-Purple Sharp
-***/
-/* Button */
-.purple-sharp.btn {
- color: #FFFFFF;
- background-color: #796799;
- border-color: "";
-}
-
-.purple-sharp.btn:hover, .purple-sharp.btn:focus, .purple-sharp.btn:active, .purple-sharp.btn.active {
- color: #FFFFFF;
- background-color: #685884;
-}
-
-.open .purple-sharp.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #685884;
-}
-
-.purple-sharp.btn:active, .purple-sharp.btn.active {
- background-image: none;
- background-color: #5c4e75;
-}
-
-.purple-sharp.btn:active:hover, .purple-sharp.btn.active:hover {
- background-color: #61527b;
-}
-
-.open .purple-sharp.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-sharp.btn.disabled, .purple-sharp.btn.disabled:hover, .purple-sharp.btn.disabled:focus, .purple-sharp.btn.disabled:active, .purple-sharp.btn.disabled.active, .purple-sharp.btn[disabled], .purple-sharp.btn[disabled]:hover, .purple-sharp.btn[disabled]:focus, .purple-sharp.btn[disabled]:active, .purple-sharp.btn[disabled].active, fieldset[disabled] .purple-sharp.btn, fieldset[disabled] .purple-sharp.btn:hover, fieldset[disabled] .purple-sharp.btn:focus, fieldset[disabled] .purple-sharp.btn:active, fieldset[disabled] .purple-sharp.btn.active {
- background-color: #796799;
-}
-
-.purple-sharp.btn .badge {
- color: #796799;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-sharp-stripe {
- border-left: 3px solid #796799;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-sharp,
-.portlet.purple-sharp {
- background-color: #796799;
-}
-
-.portlet.solid.purple-sharp > .portlet-title,
-.portlet.solid.purple-sharp > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-sharp > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-sharp {
- border: 1px solid #9486ad;
- border-top: 0;
-}
-
-.portlet.box.purple-sharp > .portlet-title {
- background-color: #796799;
-}
-
-.portlet.box.purple-sharp > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-sharp > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-sharp > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #b4aac6;
- color: #c2b9d0;
-}
-
-.portlet.box.purple-sharp > .portlet-title > .actions .btn-default > i {
- color: #cac3d6;
-}
-
-.portlet.box.purple-sharp > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-sharp > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-sharp > .portlet-title > .actions .btn-default:active, .portlet.box.purple-sharp > .portlet-title > .actions .btn-default.active {
- border: 1px solid #cfc9db;
- color: #ddd8e5;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-sharp {
- background-color: #796799;
-}
-
-.dashboard-stat.purple-sharp.dashboard-stat-light:hover {
- background-color: #6f5f8d;
-}
-
-.dashboard-stat.purple-sharp .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-sharp .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-sharp .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-sharp .more {
- color: #FFFFFF;
- background-color: #6f5f8d;
-}
-
-/* General Element */
-.bg-purple-sharp {
- border-color: #796799 !important;
- background-image: none !important;
- background-color: #796799 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-sharp {
- color: #796799 !important;
-}
-
-/***
-Purple Soft
-***/
-/* Button */
-.purple-soft.btn {
- color: #FFFFFF;
- background-color: #8877a9;
- border-color: "";
-}
-
-.purple-soft.btn:hover, .purple-soft.btn:focus, .purple-soft.btn:active, .purple-soft.btn.active {
- color: #FFFFFF;
- background-color: #75629b;
-}
-
-.open .purple-soft.btn.dropdown-toggle {
- color: #FFFFFF;
- background-color: #75629b;
-}
-
-.purple-soft.btn:active, .purple-soft.btn.active {
- background-image: none;
- background-color: #69588b;
-}
-
-.purple-soft.btn:active:hover, .purple-soft.btn.active:hover {
- background-color: #6e5c91;
-}
-
-.open .purple-soft.btn.dropdown-toggle {
- background-image: none;
-}
-
-.purple-soft.btn.disabled, .purple-soft.btn.disabled:hover, .purple-soft.btn.disabled:focus, .purple-soft.btn.disabled:active, .purple-soft.btn.disabled.active, .purple-soft.btn[disabled], .purple-soft.btn[disabled]:hover, .purple-soft.btn[disabled]:focus, .purple-soft.btn[disabled]:active, .purple-soft.btn[disabled].active, fieldset[disabled] .purple-soft.btn, fieldset[disabled] .purple-soft.btn:hover, fieldset[disabled] .purple-soft.btn:focus, fieldset[disabled] .purple-soft.btn:active, fieldset[disabled] .purple-soft.btn.active {
- background-color: #8877a9;
-}
-
-.purple-soft.btn .badge {
- color: #8877a9;
- background-color: #FFFFFF;
-}
-
-/* Button Strip */
-.btn.purple-soft-stripe {
- border-left: 3px solid #8877a9;
-}
-
-/* Portlet */
-.portlet > .portlet-body.purple-soft,
-.portlet.purple-soft {
- background-color: #8877a9;
-}
-
-.portlet.solid.purple-soft > .portlet-title,
-.portlet.solid.purple-soft > .portlet-body {
- border: 0;
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.solid.purple-soft > .portlet-title > .tools > a.remove {
- background-image: url(../img/portlet-remove-icon-white.png);
-}
-
-.portlet.solid.purple-soft > .portlet-title > .tools > a.config {
- background-image: url(../img/portlet-config-icon-white.png);
-}
-
-.portlet.solid.purple-soft > .portlet-title > .tools > a.reload {
- background-image: url(../img/portlet-reload-icon-white.png);
-}
-
-.portlet.solid.purple-soft > .portlet-title > .tools > a.expand {
- background-image: url(../img/portlet-expand-icon-white.png);
-}
-
-.portlet.solid.purple-soft > .portlet-title > .tools > a.collapse {
- background-image: url(../img/portlet-collapse-icon-white.png);
-}
-
-.portlet.solid.purple-soft > .portlet-title > .tools > a.fullscreen {
- color: #fdfdfd;
-}
-
-.portlet.box.purple-soft {
- border: 1px solid #a396bd;
- border-top: 0;
-}
-
-.portlet.box.purple-soft > .portlet-title {
- background-color: #8877a9;
-}
-
-.portlet.box.purple-soft > .portlet-title > .caption {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-soft > .portlet-title > .caption > i {
- color: #FFFFFF;
-}
-
-.portlet.box.purple-soft > .portlet-title > .actions .btn-default {
- background: transparent !important;
- background-color: transparent !important;
- border: 1px solid #c4bcd4;
- color: #d2cbde;
-}
-
-.portlet.box.purple-soft > .portlet-title > .actions .btn-default > i {
- color: #dad5e4;
-}
-
-.portlet.box.purple-soft > .portlet-title > .actions .btn-default:hover, .portlet.box.purple-soft > .portlet-title > .actions .btn-default:focus, .portlet.box.purple-soft > .portlet-title > .actions .btn-default:active, .portlet.box.purple-soft > .portlet-title > .actions .btn-default.active {
- border: 1px solid #dfdbe8;
- color: #edebf2;
-}
-
-/* Statistic Block */
-.dashboard-stat.purple-soft {
- background-color: #8877a9;
-}
-
-.dashboard-stat.purple-soft.dashboard-stat-light:hover {
- background-color: #7d6ba1;
-}
-
-.dashboard-stat.purple-soft .visual > i {
- color: #FFFFFF;
- opacity: 0.1;
- filter: alpha(opacity=10);
-}
-
-.dashboard-stat.purple-soft .details .number {
- color: #FFFFFF;
-}
-
-.dashboard-stat.purple-soft .details .desc {
- color: #FFFFFF;
- opacity: 1;
- filter: alpha(opacity=100);
-}
-
-.dashboard-stat.purple-soft .more {
- color: #FFFFFF;
- background-color: #7d6ba1;
-}
-
-/* General Element */
-.bg-purple-soft {
- border-color: #8877a9 !important;
- background-image: none !important;
- background-color: #8877a9 !important;
- color: #FFFFFF !important;
-}
-
-/* General Text & Icon Font Colors */
-.font-purple-soft {
- color: #8877a9 !important;
-}
-
-/***
-Transparent Button
-***/
-.btn-transparent.btn {
- background: transparent;
- color: #888;
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/facebox.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/facebox.css
deleted file mode 100644
index a86199c8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/facebox.css
+++ /dev/null
@@ -1,83 +0,0 @@
-#facebox {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 100;
- text-align: left;
-}
-
-#facebox .popup {
- position: relative;
- border: 3px solid rgba(0, 0, 0, 0);
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
- -webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
- -moz-box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
- box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
-}
-
-#facebox .content {
- /*display:table;*/
- width: 580px;
- height: 500px;
- padding: 10px;
- background: #fff;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
-}
-
-#facebox .content > p:first-child {
- margin-top: 0;
-}
-
-#facebox .content > p:last-child {
- margin-bottom: 0;
-}
-
-#facebox .close {
- position: absolute;
- top: 5px;
- right: 5px;
- padding: 2px;
- background: #fff;
-}
-
-#facebox .close img {
- opacity: 0.3;
-}
-
-#facebox .close:hover img {
- opacity: 1.0;
-}
-
-#facebox .loading {
- text-align: center;
-}
-
-#facebox .image {
- text-align: center;
-}
-
-#facebox img {
- border: 0;
- margin: 0;
-}
-
-#facebox_overlay {
- position: fixed;
- top: 0px;
- left: 0px;
- height: 100%;
- width: 100%;
-}
-
-.facebox_hide {
- z-index: -100;
-}
-
-.facebox_overlayBG {
- background-color: #000;
- z-index: 99;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/ict-chart-dashboard.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/ict-chart-dashboard.css
deleted file mode 100644
index 1491ce76..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/ict-chart-dashboard.css
+++ /dev/null
@@ -1,155 +0,0 @@
-.flot-placeholder {
- margin-left: 0%;
- margin-top: 1%;
- margin-bottom: 2%;
- width: 100%;
- height: 90%;
- font-size: 14px;
- line-height: 1.2em;
- background: #fff;
-}
-
-.flot-placeholder-high {
- margin-left: 2%;
- margin-top: 2%;
- margin-bottom: 2%;
- width: 100%;
- height: 93%;
- font-size: 14px;
- line-height: 1.2em;
- background: #fff;
-}
-
-.flot-placeholder-expand {
- /*margin-left:2%;
- margin-top:2%;*/
- margin: 1%;
- width: 98%;
- height: 480px;
- font-size: 14px;
- line-height: 1.2em;
- background: #fff;
-}
-
-.flot-placeholder-wrapper-portlet {
- padding-top: 1%;
- margin-left: 0%;
- margin-top: 10%;
- width: 98%;
- height: 220px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.flot-placeholder-wrapper-portlet-wide {
- /*top: 32px;*/
- padding-top: 0.5%;
- margin-left: 0%;
- margin-top: 2%;
- width: 98%;
- /*height:238px;*/
- font-size: 14px;
- line-height: 1.2em;
- clear: both;
- position: relative;
-}
-
-.flot-placeholder-wrapper {
- position: fixed;
- margin-left: 2%;
- margin-top: 2%;
- left: 0px;
- top: 0px;
- width: 230px;
- height: 180px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.flot-placeholder-wrapper-1 {
- position: fixed;
- margin-left: 2%;
- margin-top: 2%;
- left: 0px;
- top: 200px;
- width: 230px;
- height: 180px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.flot-placeholder-wrapper-2 {
- position: fixed;
- margin-left: 2%;
- margin-top: 2%;
- left: 0px;
- top: 400px;
- width: 230px;
- height: 180px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.flot-placeholder-wrapper-3 {
- position: fixed;
- margin-left: 2%;
- margin-top: 2%;
- left: 300px;
- top: 0px;
- width: 230px;
- height: 180px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.contentWrapper {
- width: 100%;
- height: 100%;
- float: left;
- /*overflow-y: hidden;*/
- overflow: hidden;
- /*padding-right: 10px;*/
-}
-
-.plotsWrapper {
- /*position:fixed;*/
- overflow-x: hidden;
- overflow-y: auto;
- margin-top: 0px;
- /*margin-left: 182px;*/
- margin-left: 158px;
- margin-right: 0px;
- /*padding-top:10px;
- padding-left:10px;
- padding-right: 20px;*/
- height: 100%;
-}
-
-.stackControlButtons {
- position: fixed;
- margin-left: 2%;
- margin-top: 2%;
- left: 300px;
- top: 200px;
- width: 230px;
- height: 180px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.stackControlButtons-portlet {
- margin-left: 2%;
- margin-top: 2%;
- width: 230px;
- height: 180px;
- font-size: 14px;
- line-height: 1.2em;
-}
-
-.contentWide {
- width: 980px !important;
-}
-
-.c3 svg {
- overflow: visible !important;
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/transition.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/transition.css
deleted file mode 100644
index ba8243ff..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/css/transition.css
+++ /dev/null
@@ -1,64 +0,0 @@
-#cf5 {
- position: relative;
- height: 32px;
- width: 32px;
- /* margin:5px;
- margin-left: 15px;*/
- margin-bottom: 0px;
- cursor: pointer;
- display: inline-block;
-}
-
-#cf5 img {
- position: absolute;
- left: 0;
- -webkit-transition: all 1s ease-in-out;
- -moz-transition: all 1s ease-in-out;
- -o-transition: all 1s ease-in-out;
- transition: all 1s ease-in-out;
-}
-
-#cf5 img.top {
- -webkit-transform: scale(1, 0);
- -moz-transform: scale(1, 0);
- -o-transform: scale(1, 0);
- transform: scale(1, 0);
- filter: alpha(opacity=0);
- opacity: 0;
-
-}
-
-/*
-#cf5:hover img.top, #cf5.hover_effect img.top {
-opacity:1;
--webkit-transform:scale(1,1);
--moz-transform:scale(1,1);
--o-transform:scale(1,1);
-transform:scale(1,1);
-}
-*/
-#cf5 img.scale {
- opacity: 1;
- -webkit-transform: scale(1, 1);
- -moz-transform: scale(1, 1);
- -o-transform: scale(1, 1);
- transform: scale(1, 1);
-}
-
-/*
-#cf5:hover img.bottom, #cf5.hover_effect img.bottom {
-filter: alpha(opacity=0);
--webkit-transform:rotate(360deg) scale(0,0);
--moz-transform:rotate(360deg) scale(0,0);
--o-transform:rotate(360deg) scale(0,0);
-transform:rotate(360deg) scale(0,0);
-}
-*/
-#cf5 img.rotate {
- filter: alpha(opacity=0);
- -webkit-transform: rotate(360deg) scale(0, 0);
- -moz-transform: rotate(360deg) scale(0, 0);
- -o-transform: rotate(360deg) scale(0, 0);
- transform: rotate(360deg) scale(0, 0);
-}
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/angular.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/angular.min.js
deleted file mode 100644
index 2003df4e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/angular.min.js
+++ /dev/null
@@ -1,6194 +0,0 @@
-/*
- AngularJS v1.3.8
- (c) 2010-2014 Google, Inc. http://angularjs.org
- License: MIT
- */
-(function (M, Y, t) {
- 'use strict';
- function T(b) {
- return function () {
- var a = arguments[0], c;
- c = "[" + (b ? b + ":" : "") + a + "] http://errors.angularjs.org/1.3.8/" + (b ? b + "/" : "") + a;
- for (a = 1; a < arguments.length; a++) {
- c = c + (1 == a ? "?" : "&") + "p" + (a - 1) + "=";
- var d = encodeURIComponent, e;
- e = arguments[a];
- e = "function" == typeof e ? e.toString().replace(/ \{[\s\S]*$/, "") : "undefined" == typeof e ? "undefined" : "string" != typeof e ? JSON.stringify(e) : e;
- c += d(e)
- }
- return Error(c)
- }
- }
-
- function Ta(b) {
- if (null == b || Ua(b))return !1;
- var a = b.length;
- return b.nodeType ===
- na && a ? !0 : F(b) || x(b) || 0 === a || "number" === typeof a && 0 < a && a - 1 in b
- }
-
- function s(b, a, c) {
- var d, e;
- if (b)if (G(b))for (d in b)"prototype" == d || "length" == d || "name" == d || b.hasOwnProperty && !b.hasOwnProperty(d) || a.call(c, b[d], d, b); else if (x(b) || Ta(b)) {
- var f = "object" !== typeof b;
- d = 0;
- for (e = b.length; d < e; d++)(f || d in b) && a.call(c, b[d], d, b)
- } else if (b.forEach && b.forEach !== s)b.forEach(a, c, b); else for (d in b)b.hasOwnProperty(d) && a.call(c, b[d], d, b);
- return b
- }
-
- function Ed(b, a, c) {
- for (var d = Object.keys(b).sort(), e = 0; e < d.length; e++)a.call(c,
- b[d[e]], d[e]);
- return d
- }
-
- function kc(b) {
- return function (a, c) {
- b(c, a)
- }
- }
-
- function Fd() {
- return ++nb
- }
-
- function lc(b, a) {
- a ? b.$$hashKey = a : delete b.$$hashKey
- }
-
- function z(b) {
- for (var a = b.$$hashKey, c = 1, d = arguments.length; c < d; c++) {
- var e = arguments[c];
- if (e)for (var f = Object.keys(e), g = 0, h = f.length; g < h; g++) {
- var l = f[g];
- b[l] = e[l]
- }
- }
- lc(b, a);
- return b
- }
-
- function ba(b) {
- return parseInt(b, 10)
- }
-
- function C() {
- }
-
- function oa(b) {
- return b
- }
-
- function da(b) {
- return function () {
- return b
- }
- }
-
- function D(b) {
- return "undefined" === typeof b
- }
-
- function y(b) {
- return "undefined" !== typeof b
- }
-
- function H(b) {
- return null !== b && "object" === typeof b
- }
-
- function F(b) {
- return "string" === typeof b
- }
-
- function V(b) {
- return "number" === typeof b
- }
-
- function pa(b) {
- return "[object Date]" === Da.call(b)
- }
-
- function G(b) {
- return "function" === typeof b
- }
-
- function ob(b) {
- return "[object RegExp]" === Da.call(b)
- }
-
- function Ua(b) {
- return b && b.window === b
- }
-
- function Va(b) {
- return b && b.$evalAsync && b.$watch
- }
-
- function Wa(b) {
- return "boolean" === typeof b
- }
-
- function mc(b) {
- return !(!b || !(b.nodeName || b.prop && b.attr && b.find))
- }
-
- function Gd(b) {
- var a = {};
- b = b.split(",");
- var c;
- for (c = 0; c < b.length; c++)a[b[c]] = !0;
- return a
- }
-
- function ua(b) {
- return Q(b.nodeName || b[0] && b[0].nodeName)
- }
-
- function Xa(b, a) {
- var c = b.indexOf(a);
- 0 <= c && b.splice(c, 1);
- return a
- }
-
- function Ea(b, a, c, d) {
- if (Ua(b) || Va(b))throw Ka("cpws");
- if (a) {
- if (b === a)throw Ka("cpi");
- c = c || [];
- d = d || [];
- if (H(b)) {
- var e = c.indexOf(b);
- if (-1 !== e)return d[e];
- c.push(b);
- d.push(a)
- }
- if (x(b))for (var f = a.length = 0; f < b.length; f++)e = Ea(b[f], null, c, d), H(b[f]) && (c.push(b[f]), d.push(e)), a.push(e); else {
- var g = a.$$hashKey;
- x(a) ? a.length =
- 0 : s(a, function (b, c) {
- delete a[c]
- });
- for (f in b)b.hasOwnProperty(f) && (e = Ea(b[f], null, c, d), H(b[f]) && (c.push(b[f]), d.push(e)), a[f] = e);
- lc(a, g)
- }
- } else if (a = b)x(b) ? a = Ea(b, [], c, d) : pa(b) ? a = new Date(b.getTime()) : ob(b) ? (a = new RegExp(b.source, b.toString().match(/[^\/]*$/)[0]), a.lastIndex = b.lastIndex) : H(b) && (e = Object.create(Object.getPrototypeOf(b)), a = Ea(b, e, c, d));
- return a
- }
-
- function qa(b, a) {
- if (x(b)) {
- a = a || [];
- for (var c = 0, d = b.length; c < d; c++)a[c] = b[c]
- } else if (H(b))for (c in a = a || {}, b)if ("$" !== c.charAt(0) || "$" !== c.charAt(1))a[c] =
- b[c];
- return a || b
- }
-
- function fa(b, a) {
- if (b === a)return !0;
- if (null === b || null === a)return !1;
- if (b !== b && a !== a)return !0;
- var c = typeof b, d;
- if (c == typeof a && "object" == c)if (x(b)) {
- if (!x(a))return !1;
- if ((c = b.length) == a.length) {
- for (d = 0; d < c; d++)if (!fa(b[d], a[d]))return !1;
- return !0
- }
- } else {
- if (pa(b))return pa(a) ? fa(b.getTime(), a.getTime()) : !1;
- if (ob(b) && ob(a))return b.toString() == a.toString();
- if (Va(b) || Va(a) || Ua(b) || Ua(a) || x(a))return !1;
- c = {};
- for (d in b)if ("$" !== d.charAt(0) && !G(b[d])) {
- if (!fa(b[d], a[d]))return !1;
- c[d] = !0
- }
- for (d in a)if (!c.hasOwnProperty(d) &&
- "$" !== d.charAt(0) && a[d] !== t && !G(a[d]))return !1;
- return !0
- }
- return !1
- }
-
- function Ya(b, a, c) {
- return b.concat(Za.call(a, c))
- }
-
- function nc(b, a) {
- var c = 2 < arguments.length ? Za.call(arguments, 2) : [];
- return !G(a) || a instanceof RegExp ? a : c.length ? function () {
- return arguments.length ? a.apply(b, Ya(c, arguments, 0)) : a.apply(b, c)
- } : function () {
- return arguments.length ? a.apply(b, arguments) : a.call(b)
- }
- }
-
- function Hd(b, a) {
- var c = a;
- "string" === typeof b && "$" === b.charAt(0) && "$" === b.charAt(1) ? c = t : Ua(a) ? c = "$WINDOW" : a && Y === a ? c = "$DOCUMENT" : Va(a) &&
- (c = "$SCOPE");
- return c
- }
-
- function $a(b, a) {
- if ("undefined" === typeof b)return t;
- V(a) || (a = a ? 2 : null);
- return JSON.stringify(b, Hd, a)
- }
-
- function oc(b) {
- return F(b) ? JSON.parse(b) : b
- }
-
- function va(b) {
- b = B(b).clone();
- try {
- b.empty()
- } catch (a) {
- }
- var c = B("<div>").append(b).html();
- try {
- return b[0].nodeType === pb ? Q(c) : c.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/, function (a, b) {
- return "<" + Q(b)
- })
- } catch (d) {
- return Q(c)
- }
- }
-
- function pc(b) {
- try {
- return decodeURIComponent(b)
- } catch (a) {
- }
- }
-
- function qc(b) {
- var a = {}, c, d;
- s((b || "").split("&"), function (b) {
- b &&
- (c = b.replace(/\+/g, "%20").split("="), d = pc(c[0]), y(d) && (b = y(c[1]) ? pc(c[1]) : !0, rc.call(a, d) ? x(a[d]) ? a[d].push(b) : a[d] = [a[d], b] : a[d] = b))
- });
- return a
- }
-
- function Nb(b) {
- var a = [];
- s(b, function (b, d) {
- x(b) ? s(b, function (b) {
- a.push(Fa(d, !0) + (!0 === b ? "" : "=" + Fa(b, !0)))
- }) : a.push(Fa(d, !0) + (!0 === b ? "" : "=" + Fa(b, !0)))
- });
- return a.length ? a.join("&") : ""
- }
-
- function qb(b) {
- return Fa(b, !0).replace(/%26/gi, "&").replace(/%3D/gi, "=").replace(/%2B/gi, "+")
- }
-
- function Fa(b, a) {
- return encodeURIComponent(b).replace(/%40/gi, "@").replace(/%3A/gi,
- ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%3B/gi, ";").replace(/%20/g, a ? "%20" : "+")
- }
-
- function Id(b, a) {
- var c, d, e = rb.length;
- b = B(b);
- for (d = 0; d < e; ++d)if (c = rb[d] + a, F(c = b.attr(c)))return c;
- return null
- }
-
- function Jd(b, a) {
- var c, d, e = {};
- s(rb, function (a) {
- a += "app";
- !c && b.hasAttribute && b.hasAttribute(a) && (c = b, d = b.getAttribute(a))
- });
- s(rb, function (a) {
- a += "app";
- var e;
- !c && (e = b.querySelector("[" + a.replace(":", "\\:") + "]")) && (c = e, d = e.getAttribute(a))
- });
- c && (e.strictDi = null !== Id(c, "strict-di"), a(c, d ? [d] : [], e))
- }
-
- function sc(b,
- a, c) {
- H(c) || (c = {});
- c = z({strictDi: !1}, c);
- var d = function () {
- b = B(b);
- if (b.injector()) {
- var d = b[0] === Y ? "document" : va(b);
- throw Ka("btstrpd", d.replace(/</, "&lt;").replace(/>/, "&gt;"));
- }
- a = a || [];
- a.unshift(["$provide", function (a) {
- a.value("$rootElement", b)
- }]);
- c.debugInfoEnabled && a.push(["$compileProvider", function (a) {
- a.debugInfoEnabled(!0)
- }]);
- a.unshift("ng");
- d = Ob(a, c.strictDi);
- d.invoke(["$rootScope", "$rootElement", "$compile", "$injector", function (a, b, c, d) {
- a.$apply(function () {
- b.data("$injector", d);
- c(b)(a)
- })
- }]);
- return d
- },
- e = /^NG_ENABLE_DEBUG_INFO!/, f = /^NG_DEFER_BOOTSTRAP!/;
- M && e.test(M.name) && (c.debugInfoEnabled = !0, M.name = M.name.replace(e, ""));
- if (M && !f.test(M.name))return d();
- M.name = M.name.replace(f, "");
- ga.resumeBootstrap = function (b) {
- s(b, function (b) {
- a.push(b)
- });
- d()
- }
- }
-
- function Kd() {
- M.name = "NG_ENABLE_DEBUG_INFO!" + M.name;
- M.location.reload()
- }
-
- function Ld(b) {
- b = ga.element(b).injector();
- if (!b)throw Ka("test");
- return b.get("$$testability")
- }
-
- function tc(b, a) {
- a = a || "_";
- return b.replace(Md, function (b, d) {
- return (d ? a : "") + b.toLowerCase()
- })
- }
-
- function Nd() {
- var b;
- uc || ((ra = M.jQuery) && ra.fn.on ? (B = ra, z(ra.fn, {
- scope: La.scope,
- isolateScope: La.isolateScope,
- controller: La.controller,
- injector: La.injector,
- inheritedData: La.inheritedData
- }), b = ra.cleanData, ra.cleanData = function (a) {
- var c;
- if (Pb)Pb = !1; else for (var d = 0, e; null != (e = a[d]); d++)(c = ra._data(e, "events")) && c.$destroy && ra(e).triggerHandler("$destroy");
- b(a)
- }) : B = R, ga.element = B, uc = !0)
- }
-
- function Qb(b, a, c) {
- if (!b)throw Ka("areq", a || "?", c || "required");
- return b
- }
-
- function sb(b, a, c) {
- c && x(b) && (b = b[b.length - 1]);
- Qb(G(b), a, "not a function, got " + (b && "object" === typeof b ? b.constructor.name || "Object" : typeof b));
- return b
- }
-
- function Ma(b, a) {
- if ("hasOwnProperty" === b)throw Ka("badname", a);
- }
-
- function vc(b, a, c) {
- if (!a)return b;
- a = a.split(".");
- for (var d, e = b, f = a.length, g = 0; g < f; g++)d = a[g], b && (b = (e = b)[d]);
- return !c && G(b) ? nc(e, b) : b
- }
-
- function tb(b) {
- var a = b[0];
- b = b[b.length - 1];
- var c = [a];
- do {
- a = a.nextSibling;
- if (!a)break;
- c.push(a)
- } while (a !== b);
- return B(c)
- }
-
- function ha() {
- return Object.create(null)
- }
-
- function Od(b) {
- function a(a, b, c) {
- return a[b] ||
- (a[b] = c())
- }
-
- var c = T("$injector"), d = T("ng");
- b = a(b, "angular", Object);
- b.$$minErr = b.$$minErr || T;
- return a(b, "module", function () {
- var b = {};
- return function (f, g, h) {
- if ("hasOwnProperty" === f)throw d("badname", "module");
- g && b.hasOwnProperty(f) && (b[f] = null);
- return a(b, f, function () {
- function a(c, d, e, f) {
- f || (f = b);
- return function () {
- f[e || "push"]([c, d, arguments]);
- return u
- }
- }
-
- if (!g)throw c("nomod", f);
- var b = [], d = [], e = [], q = a("$injector", "invoke", "push", d), u = {
- _invokeQueue: b,
- _configBlocks: d,
- _runBlocks: e,
- requires: g,
- name: f,
- provider: a("$provide",
- "provider"),
- factory: a("$provide", "factory"),
- service: a("$provide", "service"),
- value: a("$provide", "value"),
- constant: a("$provide", "constant", "unshift"),
- animation: a("$animateProvider", "register"),
- filter: a("$filterProvider", "register"),
- controller: a("$controllerProvider", "register"),
- directive: a("$compileProvider", "directive"),
- config: q,
- run: function (a) {
- e.push(a);
- return this
- }
- };
- h && q(h);
- return u
- })
- }
- })
- }
-
- function Pd(b) {
- z(b, {
- bootstrap: sc,
- copy: Ea,
- extend: z,
- equals: fa,
- element: B,
- forEach: s,
- injector: Ob,
- noop: C,
- bind: nc,
- toJson: $a,
- fromJson: oc,
- identity: oa,
- isUndefined: D,
- isDefined: y,
- isString: F,
- isFunction: G,
- isObject: H,
- isNumber: V,
- isElement: mc,
- isArray: x,
- version: Qd,
- isDate: pa,
- lowercase: Q,
- uppercase: ub,
- callbacks: {counter: 0},
- getTestability: Ld,
- $$minErr: T,
- $$csp: ab,
- reloadWithDebugInfo: Kd
- });
- bb = Od(M);
- try {
- bb("ngLocale")
- } catch (a) {
- bb("ngLocale", []).provider("$locale", Rd)
- }
- bb("ng", ["ngLocale"], ["$provide", function (a) {
- a.provider({$$sanitizeUri: Sd});
- a.provider("$compile", wc).directive({
- a: Td,
- input: xc,
- textarea: xc,
- form: Ud,
- script: Vd,
- select: Wd,
- style: Xd,
- option: Yd,
- ngBind: Zd,
- ngBindHtml: $d,
- ngBindTemplate: ae,
- ngClass: be,
- ngClassEven: ce,
- ngClassOdd: de,
- ngCloak: ee,
- ngController: fe,
- ngForm: ge,
- ngHide: he,
- ngIf: ie,
- ngInclude: je,
- ngInit: ke,
- ngNonBindable: le,
- ngPluralize: me,
- ngRepeat: ne,
- ngShow: oe,
- ngStyle: pe,
- ngSwitch: qe,
- ngSwitchWhen: re,
- ngSwitchDefault: se,
- ngOptions: te,
- ngTransclude: ue,
- ngModel: ve,
- ngList: we,
- ngChange: xe,
- pattern: yc,
- ngPattern: yc,
- required: zc,
- ngRequired: zc,
- minlength: Ac,
- ngMinlength: Ac,
- maxlength: Bc,
- ngMaxlength: Bc,
- ngValue: ye,
- ngModelOptions: ze
- }).directive({ngInclude: Ae}).directive(vb).directive(Cc);
- a.provider({
- $anchorScroll: Be,
- $animate: Ce,
- $browser: De,
- $cacheFactory: Ee,
- $controller: Fe,
- $document: Ge,
- $exceptionHandler: He,
- $filter: Dc,
- $interpolate: Ie,
- $interval: Je,
- $http: Ke,
- $httpBackend: Le,
- $location: Me,
- $log: Ne,
- $parse: Oe,
- $rootScope: Pe,
- $q: Qe,
- $$q: Re,
- $sce: Se,
- $sceDelegate: Te,
- $sniffer: Ue,
- $templateCache: Ve,
- $templateRequest: We,
- $$testability: Xe,
- $timeout: Ye,
- $window: Ze,
- $$rAF: $e,
- $$asyncCallback: af,
- $$jqLite: bf
- })
- }])
- }
-
- function cb(b) {
- return b.replace(cf, function (a, b, d, e) {
- return e ? d.toUpperCase() : d
- }).replace(df, "Moz$1")
- }
-
- function Ec(b) {
- b = b.nodeType;
- return b === na || !b || 9 === b
- }
-
- function Fc(b, a) {
- var c, d, e = a.createDocumentFragment(), f = [];
- if (Rb.test(b)) {
- c = c || e.appendChild(a.createElement("div"));
- d = (ef.exec(b) || ["", ""])[1].toLowerCase();
- d = ia[d] || ia._default;
- c.innerHTML = d[1] + b.replace(ff, "<$1></$2>") + d[2];
- for (d = d[0]; d--;)c = c.lastChild;
- f = Ya(f, c.childNodes);
- c = e.firstChild;
- c.textContent = ""
- } else f.push(a.createTextNode(b));
- e.textContent = "";
- e.innerHTML = "";
- s(f, function (a) {
- e.appendChild(a)
- });
- return e
- }
-
- function R(b) {
- if (b instanceof
- R)return b;
- var a;
- F(b) && (b = U(b), a = !0);
- if (!(this instanceof R)) {
- if (a && "<" != b.charAt(0))throw Sb("nosel");
- return new R(b)
- }
- if (a) {
- a = Y;
- var c;
- b = (c = gf.exec(b)) ? [a.createElement(c[1])] : (c = Fc(b, a)) ? c.childNodes : []
- }
- Gc(this, b)
- }
-
- function Tb(b) {
- return b.cloneNode(!0)
- }
-
- function wb(b, a) {
- a || xb(b);
- if (b.querySelectorAll)for (var c = b.querySelectorAll("*"), d = 0, e = c.length; d < e; d++)xb(c[d])
- }
-
- function Hc(b, a, c, d) {
- if (y(d))throw Sb("offargs");
- var e = (d = yb(b)) && d.events, f = d && d.handle;
- if (f)if (a)s(a.split(" "), function (a) {
- if (y(c)) {
- var d =
- e[a];
- Xa(d || [], c);
- if (d && 0 < d.length)return
- }
- b.removeEventListener(a, f, !1);
- delete e[a]
- }); else for (a in e)"$destroy" !== a && b.removeEventListener(a, f, !1), delete e[a]
- }
-
- function xb(b, a) {
- var c = b.ng339, d = c && zb[c];
- d && (a ? delete d.data[a] : (d.handle && (d.events.$destroy && d.handle({}, "$destroy"), Hc(b)), delete zb[c], b.ng339 = t))
- }
-
- function yb(b, a) {
- var c = b.ng339, c = c && zb[c];
- a && !c && (b.ng339 = c = ++hf, c = zb[c] = {events: {}, data: {}, handle: t});
- return c
- }
-
- function Ub(b, a, c) {
- if (Ec(b)) {
- var d = y(c), e = !d && a && !H(a), f = !a;
- b = (b = yb(b, !e)) && b.data;
- if (d)b[a] = c; else {
- if (f)return b;
- if (e)return b && b[a];
- z(b, a)
- }
- }
- }
-
- function Ab(b, a) {
- return b.getAttribute ? -1 < (" " + (b.getAttribute("class") || "") + " ").replace(/[\n\t]/g, " ").indexOf(" " + a + " ") : !1
- }
-
- function Bb(b, a) {
- a && b.setAttribute && s(a.split(" "), function (a) {
- b.setAttribute("class", U((" " + (b.getAttribute("class") || "") + " ").replace(/[\n\t]/g, " ").replace(" " + U(a) + " ", " ")))
- })
- }
-
- function Cb(b, a) {
- if (a && b.setAttribute) {
- var c = (" " + (b.getAttribute("class") || "") + " ").replace(/[\n\t]/g, " ");
- s(a.split(" "), function (a) {
- a =
- U(a);
- -1 === c.indexOf(" " + a + " ") && (c += a + " ")
- });
- b.setAttribute("class", U(c))
- }
- }
-
- function Gc(b, a) {
- if (a)if (a.nodeType)b[b.length++] = a; else {
- var c = a.length;
- if ("number" === typeof c && a.window !== a) {
- if (c)for (var d = 0; d < c; d++)b[b.length++] = a[d]
- } else b[b.length++] = a
- }
- }
-
- function Ic(b, a) {
- return Db(b, "$" + (a || "ngController") + "Controller")
- }
-
- function Db(b, a, c) {
- 9 == b.nodeType && (b = b.documentElement);
- for (a = x(a) ? a : [a]; b;) {
- for (var d = 0, e = a.length; d < e; d++)if ((c = B.data(b, a[d])) !== t)return c;
- b = b.parentNode || 11 === b.nodeType && b.host
- }
- }
-
- function Jc(b) {
- for (wb(b, !0); b.firstChild;)b.removeChild(b.firstChild)
- }
-
- function Kc(b, a) {
- a || wb(b);
- var c = b.parentNode;
- c && c.removeChild(b)
- }
-
- function jf(b, a) {
- a = a || M;
- if ("complete" === a.document.readyState)a.setTimeout(b); else B(a).on("load", b)
- }
-
- function Lc(b, a) {
- var c = Eb[a.toLowerCase()];
- return c && Mc[ua(b)] && c
- }
-
- function kf(b, a) {
- var c = b.nodeName;
- return ("INPUT" === c || "TEXTAREA" === c) && Nc[a]
- }
-
- function lf(b, a) {
- var c = function (c, e) {
- c.isDefaultPrevented = function () {
- return c.defaultPrevented
- };
- var f = a[e || c.type], g = f ? f.length :
- 0;
- if (g) {
- if (D(c.immediatePropagationStopped)) {
- var h = c.stopImmediatePropagation;
- c.stopImmediatePropagation = function () {
- c.immediatePropagationStopped = !0;
- c.stopPropagation && c.stopPropagation();
- h && h.call(c)
- }
- }
- c.isImmediatePropagationStopped = function () {
- return !0 === c.immediatePropagationStopped
- };
- 1 < g && (f = qa(f));
- for (var l = 0; l < g; l++)c.isImmediatePropagationStopped() || f[l].call(b, c)
- }
- };
- c.elem = b;
- return c
- }
-
- function bf() {
- this.$get = function () {
- return z(R, {
- hasClass: function (b, a) {
- b.attr && (b = b[0]);
- return Ab(b, a)
- }, addClass: function (b,
- a) {
- b.attr && (b = b[0]);
- return Cb(b, a)
- }, removeClass: function (b, a) {
- b.attr && (b = b[0]);
- return Bb(b, a)
- }
- })
- }
- }
-
- function Na(b, a) {
- var c = b && b.$$hashKey;
- if (c)return "function" === typeof c && (c = b.$$hashKey()), c;
- c = typeof b;
- return c = "function" == c || "object" == c && null !== b ? b.$$hashKey = c + ":" + (a || Fd)() : c + ":" + b
- }
-
- function db(b, a) {
- if (a) {
- var c = 0;
- this.nextUid = function () {
- return ++c
- }
- }
- s(b, this.put, this)
- }
-
- function mf(b) {
- return (b = b.toString().replace(Oc, "").match(Pc)) ? "function(" + (b[1] || "").replace(/[\s\r\n]+/, " ") + ")" : "fn"
- }
-
- function Vb(b,
- a, c) {
- var d;
- if ("function" === typeof b) {
- if (!(d = b.$inject)) {
- d = [];
- if (b.length) {
- if (a)throw F(c) && c || (c = b.name || mf(b)), Ga("strictdi", c);
- a = b.toString().replace(Oc, "");
- a = a.match(Pc);
- s(a[1].split(nf), function (a) {
- a.replace(of, function (a, b, c) {
- d.push(c)
- })
- })
- }
- b.$inject = d
- }
- } else x(b) ? (a = b.length - 1, sb(b[a], "fn"), d = b.slice(0, a)) : sb(b, "fn", !0);
- return d
- }
-
- function Ob(b, a) {
- function c(a) {
- return function (b, c) {
- if (H(b))s(b, kc(a)); else return a(b, c)
- }
- }
-
- function d(a, b) {
- Ma(a, "service");
- if (G(b) || x(b))b = q.instantiate(b);
- if (!b.$get)throw Ga("pget",
- a);
- return p[a + "Provider"] = b
- }
-
- function e(a, b) {
- return function () {
- var c = r.invoke(b, this);
- if (D(c))throw Ga("undef", a);
- return c
- }
- }
-
- function f(a, b, c) {
- return d(a, {$get: !1 !== c ? e(a, b) : b})
- }
-
- function g(a) {
- var b = [], c;
- s(a, function (a) {
- function d(a) {
- var b, c;
- b = 0;
- for (c = a.length; b < c; b++) {
- var e = a[b], f = q.get(e[0]);
- f[e[1]].apply(f, e[2])
- }
- }
-
- if (!m.get(a)) {
- m.put(a, !0);
- try {
- F(a) ? (c = bb(a), b = b.concat(g(c.requires)).concat(c._runBlocks), d(c._invokeQueue), d(c._configBlocks)) : G(a) ? b.push(q.invoke(a)) : x(a) ? b.push(q.invoke(a)) : sb(a, "module")
- } catch (e) {
- throw x(a) &&
- (a = a[a.length - 1]), e.message && e.stack && -1 == e.stack.indexOf(e.message) && (e = e.message + "\n" + e.stack), Ga("modulerr", a, e.stack || e.message || e);
- }
- }
- });
- return b
- }
-
- function h(b, c) {
- function d(a, e) {
- if (b.hasOwnProperty(a)) {
- if (b[a] === l)throw Ga("cdep", a + " <- " + k.join(" <- "));
- return b[a]
- }
- try {
- return k.unshift(a), b[a] = l, b[a] = c(a, e)
- } catch (f) {
- throw b[a] === l && delete b[a], f;
- } finally {
- k.shift()
- }
- }
-
- function e(b, c, f, g) {
- "string" === typeof f && (g = f, f = null);
- var h = [], k = Vb(b, a, g), l, q, p;
- q = 0;
- for (l = k.length; q < l; q++) {
- p = k[q];
- if ("string" !== typeof p)throw Ga("itkn", p);
- h.push(f && f.hasOwnProperty(p) ? f[p] : d(p, g))
- }
- x(b) && (b = b[l]);
- return b.apply(c, h)
- }
-
- return {
- invoke: e, instantiate: function (a, b, c) {
- var d = Object.create((x(a) ? a[a.length - 1] : a).prototype);
- a = e(a, d, b, c);
- return H(a) || G(a) ? a : d
- }, get: d, annotate: Vb, has: function (a) {
- return p.hasOwnProperty(a + "Provider") || b.hasOwnProperty(a)
- }
- }
- }
-
- a = !0 === a;
- var l = {}, k = [], m = new db([], !0), p = {
- $provide: {
- provider: c(d), factory: c(f), service: c(function (a, b) {
- return f(a, ["$injector", function (a) {
- return a.instantiate(b)
- }])
- }),
- value: c(function (a, b) {
- return f(a, da(b), !1)
- }), constant: c(function (a, b) {
- Ma(a, "constant");
- p[a] = b;
- u[a] = b
- }), decorator: function (a, b) {
- var c = q.get(a + "Provider"), d = c.$get;
- c.$get = function () {
- var a = r.invoke(d, c);
- return r.invoke(b, null, {$delegate: a})
- }
- }
- }
- }, q = p.$injector = h(p, function (a, b) {
- ga.isString(b) && k.push(b);
- throw Ga("unpr", k.join(" <- "));
- }), u = {}, r = u.$injector = h(u, function (a, b) {
- var c = q.get(a + "Provider", b);
- return r.invoke(c.$get, c, t, a)
- });
- s(g(b), function (a) {
- r.invoke(a || C)
- });
- return r
- }
-
- function Be() {
- var b = !0;
- this.disableAutoScrolling =
- function () {
- b = !1
- };
- this.$get = ["$window", "$location", "$rootScope", function (a, c, d) {
- function e(a) {
- var b = null;
- Array.prototype.some.call(a, function (a) {
- if ("a" === ua(a))return b = a, !0
- });
- return b
- }
-
- function f(b) {
- if (b) {
- b.scrollIntoView();
- var c;
- c = g.yOffset;
- G(c) ? c = c() : mc(c) ? (c = c[0], c = "fixed" !== a.getComputedStyle(c).position ? 0 : c.getBoundingClientRect().bottom) : V(c) || (c = 0);
- c && (b = b.getBoundingClientRect().top, a.scrollBy(0, b - c))
- } else a.scrollTo(0, 0)
- }
-
- function g() {
- var a = c.hash(), b;
- a ? (b = h.getElementById(a)) ? f(b) : (b = e(h.getElementsByName(a))) ?
- f(b) : "top" === a && f(null) : f(null)
- }
-
- var h = a.document;
- b && d.$watch(function () {
- return c.hash()
- }, function (a, b) {
- a === b && "" === a || jf(function () {
- d.$evalAsync(g)
- })
- });
- return g
- }]
- }
-
- function af() {
- this.$get = ["$$rAF", "$timeout", function (b, a) {
- return b.supported ? function (a) {
- return b(a)
- } : function (b) {
- return a(b, 0, !1)
- }
- }]
- }
-
- function pf(b, a, c, d) {
- function e(a) {
- try {
- a.apply(null, Za.call(arguments, 1))
- } finally {
- if (v--, 0 === v)for (; w.length;)try {
- w.pop()()
- } catch (b) {
- c.error(b)
- }
- }
- }
-
- function f(a, b) {
- (function N() {
- s(L, function (a) {
- a()
- });
- J = b(N,
- a)
- })()
- }
-
- function g() {
- h();
- l()
- }
-
- function h() {
- A = b.history.state;
- A = D(A) ? null : A;
- fa(A, I) && (A = I);
- I = A
- }
-
- function l() {
- if (E !== m.url() || P !== A)E = m.url(), P = A, s(W, function (a) {
- a(m.url(), A)
- })
- }
-
- function k(a) {
- try {
- return decodeURIComponent(a)
- } catch (b) {
- return a
- }
- }
-
- var m = this, p = a[0], q = b.location, u = b.history, r = b.setTimeout, O = b.clearTimeout, n = {};
- m.isMock = !1;
- var v = 0, w = [];
- m.$$completeOutstandingRequest = e;
- m.$$incOutstandingRequestCount = function () {
- v++
- };
- m.notifyWhenNoOutstandingRequests = function (a) {
- s(L, function (a) {
- a()
- });
- 0 === v ? a() :
- w.push(a)
- };
- var L = [], J;
- m.addPollFn = function (a) {
- D(J) && f(100, r);
- L.push(a);
- return a
- };
- var A, P, E = q.href, S = a.find("base"), X = null;
- h();
- P = A;
- m.url = function (a, c, e) {
- D(e) && (e = null);
- q !== b.location && (q = b.location);
- u !== b.history && (u = b.history);
- if (a) {
- var f = P === e;
- if (E === a && (!d.history || f))return m;
- var g = E && Ha(E) === Ha(a);
- E = a;
- P = e;
- !d.history || g && f ? (g || (X = a), c ? q.replace(a) : g ? (c = q, e = a.indexOf("#"), a = -1 === e ? "" : a.substr(e + 1), c.hash = a) : q.href = a) : (u[c ? "replaceState" : "pushState"](e, "", a), h(), P = A);
- return m
- }
- return X || q.href.replace(/%27/g,
- "'")
- };
- m.state = function () {
- return A
- };
- var W = [], wa = !1, I = null;
- m.onUrlChange = function (a) {
- if (!wa) {
- if (d.history)B(b).on("popstate", g);
- B(b).on("hashchange", g);
- wa = !0
- }
- W.push(a);
- return a
- };
- m.$$checkUrlChange = l;
- m.baseHref = function () {
- var a = S.attr("href");
- return a ? a.replace(/^(https?\:)?\/\/[^\/]*/, "") : ""
- };
- var ea = {}, y = "", ca = m.baseHref();
- m.cookies = function (a, b) {
- var d, e, f, g;
- if (a)b === t ? p.cookie = encodeURIComponent(a) + "=;path=" + ca + ";expires=Thu, 01 Jan 1970 00:00:00 GMT" : F(b) && (d = (p.cookie = encodeURIComponent(a) + "=" + encodeURIComponent(b) +
- ";path=" + ca).length + 1, 4096 < d && c.warn("Cookie '" + a + "' possibly not set or overflowed because it was too large (" + d + " > 4096 bytes)!")); else {
- if (p.cookie !== y)for (y = p.cookie, d = y.split("; "), ea = {}, f = 0; f < d.length; f++)e = d[f], g = e.indexOf("="), 0 < g && (a = k(e.substring(0, g)), ea[a] === t && (ea[a] = k(e.substring(g + 1))));
- return ea
- }
- };
- m.defer = function (a, b) {
- var c;
- v++;
- c = r(function () {
- delete n[c];
- e(a)
- }, b || 0);
- n[c] = !0;
- return c
- };
- m.defer.cancel = function (a) {
- return n[a] ? (delete n[a], O(a), e(C), !0) : !1
- }
- }
-
- function De() {
- this.$get = ["$window",
- "$log", "$sniffer", "$document", function (b, a, c, d) {
- return new pf(b, d, a, c)
- }]
- }
-
- function Ee() {
- this.$get = function () {
- function b(b, d) {
- function e(a) {
- a != p && (q ? q == a && (q = a.n) : q = a, f(a.n, a.p), f(a, p), p = a, p.n = null)
- }
-
- function f(a, b) {
- a != b && (a && (a.p = b), b && (b.n = a))
- }
-
- if (b in a)throw T("$cacheFactory")("iid", b);
- var g = 0, h = z({}, d, {id: b}), l = {}, k = d && d.capacity || Number.MAX_VALUE, m = {}, p = null, q = null;
- return a[b] = {
- put: function (a, b) {
- if (k < Number.MAX_VALUE) {
- var c = m[a] || (m[a] = {key: a});
- e(c)
- }
- if (!D(b))return a in l || g++, l[a] = b, g > k && this.remove(q.key),
- b
- }, get: function (a) {
- if (k < Number.MAX_VALUE) {
- var b = m[a];
- if (!b)return;
- e(b)
- }
- return l[a]
- }, remove: function (a) {
- if (k < Number.MAX_VALUE) {
- var b = m[a];
- if (!b)return;
- b == p && (p = b.p);
- b == q && (q = b.n);
- f(b.n, b.p);
- delete m[a]
- }
- delete l[a];
- g--
- }, removeAll: function () {
- l = {};
- g = 0;
- m = {};
- p = q = null
- }, destroy: function () {
- m = h = l = null;
- delete a[b]
- }, info: function () {
- return z({}, h, {size: g})
- }
- }
- }
-
- var a = {};
- b.info = function () {
- var b = {};
- s(a, function (a, e) {
- b[e] = a.info()
- });
- return b
- };
- b.get = function (b) {
- return a[b]
- };
- return b
- }
- }
-
- function Ve() {
- this.$get = ["$cacheFactory",
- function (b) {
- return b("templates")
- }]
- }
-
- function wc(b, a) {
- function c(a, b) {
- var c = /^\s*([@&]|=(\*?))(\??)\s*(\w*)\s*$/, d = {};
- s(a, function (a, e) {
- var f = a.match(c);
- if (!f)throw ja("iscp", b, e, a);
- d[e] = {mode: f[1][0], collection: "*" === f[2], optional: "?" === f[3], attrName: f[4] || e}
- });
- return d
- }
-
- var d = {}, e = /^\s*directive\:\s*([\w\-]+)\s+(.*)$/, f = /(([\w\-]+)(?:\:([^;]+))?;?)/, g = Gd("ngSrc,ngSrcset,src,srcset"), h = /^(?:(\^\^?)?(\?)?(\^\^?)?)?/, l = /^(on[a-z]+|formaction)$/;
- this.directive = function p(a, e) {
- Ma(a, "directive");
- F(a) ? (Qb(e,
- "directiveFactory"), d.hasOwnProperty(a) || (d[a] = [], b.factory(a + "Directive", ["$injector", "$exceptionHandler", function (b, e) {
- var f = [];
- s(d[a], function (d, g) {
- try {
- var h = b.invoke(d);
- G(h) ? h = {compile: da(h)} : !h.compile && h.link && (h.compile = da(h.link));
- h.priority = h.priority || 0;
- h.index = g;
- h.name = h.name || a;
- h.require = h.require || h.controller && h.name;
- h.restrict = h.restrict || "EA";
- H(h.scope) && (h.$$isolateBindings = c(h.scope, h.name));
- f.push(h)
- } catch (l) {
- e(l)
- }
- });
- return f
- }])), d[a].push(e)) : s(a, kc(p));
- return this
- };
- this.aHrefSanitizationWhitelist =
- function (b) {
- return y(b) ? (a.aHrefSanitizationWhitelist(b), this) : a.aHrefSanitizationWhitelist()
- };
- this.imgSrcSanitizationWhitelist = function (b) {
- return y(b) ? (a.imgSrcSanitizationWhitelist(b), this) : a.imgSrcSanitizationWhitelist()
- };
- var k = !0;
- this.debugInfoEnabled = function (a) {
- return y(a) ? (k = a, this) : k
- };
- this.$get = ["$injector", "$interpolate", "$exceptionHandler", "$templateRequest", "$parse", "$controller", "$rootScope", "$document", "$sce", "$animate", "$$sanitizeUri", function (a, b, c, r, O, n, v, w, L, J, A) {
- function P(a, b) {
- try {
- a.addClass(b)
- } catch (c) {
- }
- }
-
- function E(a, b, c, d, e) {
- a instanceof B || (a = B(a));
- s(a, function (b, c) {
- b.nodeType == pb && b.nodeValue.match(/\S+/) && (a[c] = B(b).wrap("<span></span>").parent()[0])
- });
- var f = S(a, b, a, c, d, e);
- E.$$addScopeClass(a);
- var g = null;
- return function (b, c, d) {
- Qb(b, "scope");
- d = d || {};
- var e = d.parentBoundTranscludeFn, h = d.transcludeControllers;
- d = d.futureParentElement;
- e && e.$$boundTransclude && (e = e.$$boundTransclude);
- g || (g = (d = d && d[0]) ? "foreignobject" !== ua(d) && d.toString().match(/SVG/) ? "svg" : "html" : "html");
- d = "html" !== g ? B(Wb(g, B("<div>").append(a).html())) :
- c ? La.clone.call(a) : a;
- if (h)for (var l in h)d.data("$" + l + "Controller", h[l].instance);
- E.$$addScopeInfo(d, b);
- c && c(d, b);
- f && f(b, d, d, e);
- return d
- }
- }
-
- function S(a, b, c, d, e, f) {
- function g(a, c, d, e) {
- var f, l, k, q, p, n, w;
- if (r)for (w = Array(c.length), q = 0; q < h.length; q += 3)f = h[q], w[f] = c[f]; else w = c;
- q = 0;
- for (p = h.length; q < p;)l = w[h[q++]], c = h[q++], f = h[q++], c ? (c.scope ? (k = a.$new(), E.$$addScopeInfo(B(l), k)) : k = a, n = c.transcludeOnThisElement ? X(a, c.transclude, e, c.elementTranscludeOnThisElement) : !c.templateOnThisElement && e ? e : !e && b ? X(a,
- b) : null, c(f, k, l, d, n)) : f && f(a, l.childNodes, t, e)
- }
-
- for (var h = [], l, k, q, p, r, n = 0; n < a.length; n++) {
- l = new Xb;
- k = W(a[n], [], l, 0 === n ? d : t, e);
- (f = k.length ? ea(k, a[n], l, b, c, null, [], [], f) : null) && f.scope && E.$$addScopeClass(l.$$element);
- l = f && f.terminal || !(q = a[n].childNodes) || !q.length ? null : S(q, f ? (f.transcludeOnThisElement || !f.templateOnThisElement) && f.transclude : b);
- if (f || l)h.push(n, f, l), p = !0, r = r || f;
- f = null
- }
- return p ? g : null
- }
-
- function X(a, b, c, d) {
- return function (d, e, f, g, h) {
- d || (d = a.$new(!1, h), d.$$transcluded = !0);
- return b(d, e,
- {parentBoundTranscludeFn: c, transcludeControllers: f, futureParentElement: g})
- }
- }
-
- function W(a, b, c, d, g) {
- var h = c.$attr, l;
- switch (a.nodeType) {
- case na:
- ca(b, ya(ua(a)), "E", d, g);
- for (var k, q, p, r = a.attributes, n = 0, w = r && r.length; n < w; n++) {
- var O = !1, L = !1;
- k = r[n];
- l = k.name;
- q = U(k.value);
- k = ya(l);
- if (p = fb.test(k))l = l.replace(Rc, "").substr(8).replace(/_(.)/g, function (a, b) {
- return b.toUpperCase()
- });
- var u = k.replace(/(Start|End)$/, "");
- D(u) && k === u + "Start" && (O = l, L = l.substr(0, l.length - 5) + "end", l = l.substr(0, l.length - 6));
- k = ya(l.toLowerCase());
- h[k] = l;
- if (p || !c.hasOwnProperty(k))c[k] = q, Lc(a, k) && (c[k] = !0);
- Pa(a, b, q, k, p);
- ca(b, k, "A", d, g, O, L)
- }
- a = a.className;
- if (F(a) && "" !== a)for (; l = f.exec(a);)k = ya(l[2]), ca(b, k, "C", d, g) && (c[k] = U(l[3])), a = a.substr(l.index + l[0].length);
- break;
- case pb:
- M(b, a.nodeValue);
- break;
- case 8:
- try {
- if (l = e.exec(a.nodeValue))k = ya(l[1]), ca(b, k, "M", d, g) && (c[k] = U(l[2]))
- } catch (v) {
- }
- }
- b.sort(N);
- return b
- }
-
- function wa(a, b, c) {
- var d = [], e = 0;
- if (b && a.hasAttribute && a.hasAttribute(b)) {
- do {
- if (!a)throw ja("uterdir", b, c);
- a.nodeType == na && (a.hasAttribute(b) &&
- e++, a.hasAttribute(c) && e--);
- d.push(a);
- a = a.nextSibling
- } while (0 < e)
- } else d.push(a);
- return B(d)
- }
-
- function I(a, b, c) {
- return function (d, e, f, g, h) {
- e = wa(e[0], b, c);
- return a(d, e, f, g, h)
- }
- }
-
- function ea(a, d, e, f, g, l, k, p, r) {
- function w(a, b, c, d) {
- if (a) {
- c && (a = I(a, c, d));
- a.require = K.require;
- a.directiveName = z;
- if (S === K || K.$$isolateScope)a = Z(a, {isolateScope: !0});
- k.push(a)
- }
- if (b) {
- c && (b = I(b, c, d));
- b.require = K.require;
- b.directiveName = z;
- if (S === K || K.$$isolateScope)b = Z(b, {isolateScope: !0});
- p.push(b)
- }
- }
-
- function L(a, b, c, d) {
- var e, f = "data",
- g = !1, l = c, k;
- if (F(b)) {
- k = b.match(h);
- b = b.substring(k[0].length);
- k[3] && (k[1] ? k[3] = null : k[1] = k[3]);
- "^" === k[1] ? f = "inheritedData" : "^^" === k[1] && (f = "inheritedData", l = c.parent());
- "?" === k[2] && (g = !0);
- e = null;
- d && "data" === f && (e = d[b]) && (e = e.instance);
- e = e || l[f]("$" + b + "Controller");
- if (!e && !g)throw ja("ctreq", b, a);
- return e || null
- }
- x(b) && (e = [], s(b, function (b) {
- e.push(L(a, b, c, d))
- }));
- return e
- }
-
- function v(a, c, f, g, h) {
- function l(a, b, c) {
- var d;
- Va(a) || (c = b, b = a, a = t);
- C && (d = P);
- c || (c = C ? W.parent() : W);
- return h(a, b, d, c, wa)
- }
-
- var r, w, u, A,
- P, eb, W, I;
- d === f ? (I = e, W = e.$$element) : (W = B(f), I = new Xb(W, e));
- S && (A = c.$new(!0));
- h && (eb = l, eb.$$boundTransclude = h);
- J && (X = {}, P = {}, s(J, function (a) {
- var b = {$scope: a === S || a.$$isolateScope ? A : c, $element: W, $attrs: I, $transclude: eb};
- u = a.controller;
- "@" == u && (u = I[a.name]);
- b = n(u, b, !0, a.controllerAs);
- P[a.name] = b;
- C || W.data("$" + a.name + "Controller", b.instance);
- X[a.name] = b
- }));
- if (S) {
- E.$$addScopeInfo(W, A, !0, !(ka && (ka === S || ka === S.$$originalDirective)));
- E.$$addScopeClass(W, !0);
- g = X && X[S.name];
- var xa = A;
- g && g.identifier && !0 === S.bindToController &&
- (xa = g.instance);
- s(A.$$isolateBindings = S.$$isolateBindings, function (a, d) {
- var e = a.attrName, f = a.optional, g, h, l, k;
- switch (a.mode) {
- case "@":
- I.$observe(e, function (a) {
- xa[d] = a
- });
- I.$$observers[e].$$scope = c;
- I[e] && (xa[d] = b(I[e])(c));
- break;
- case "=":
- if (f && !I[e])break;
- h = O(I[e]);
- k = h.literal ? fa : function (a, b) {
- return a === b || a !== a && b !== b
- };
- l = h.assign || function () {
- g = xa[d] = h(c);
- throw ja("nonassign", I[e], S.name);
- };
- g = xa[d] = h(c);
- f = function (a) {
- k(a, xa[d]) || (k(a, g) ? l(c, a = xa[d]) : xa[d] = a);
- return g = a
- };
- f.$stateful = !0;
- f = a.collection ?
- c.$watchCollection(I[e], f) : c.$watch(O(I[e], f), null, h.literal);
- A.$on("$destroy", f);
- break;
- case "&":
- h = O(I[e]), xa[d] = function (a) {
- return h(c, a)
- }
- }
- })
- }
- X && (s(X, function (a) {
- a()
- }), X = null);
- g = 0;
- for (r = k.length; g < r; g++)w = k[g], $(w, w.isolateScope ? A : c, W, I, w.require && L(w.directiveName, w.require, W, P), eb);
- var wa = c;
- S && (S.template || null === S.templateUrl) && (wa = A);
- a && a(wa, f.childNodes, t, h);
- for (g = p.length - 1; 0 <= g; g--)w = p[g], $(w, w.isolateScope ? A : c, W, I, w.require && L(w.directiveName, w.require, W, P), eb)
- }
-
- r = r || {};
- for (var A = -Number.MAX_VALUE,
- P, J = r.controllerDirectives, X, S = r.newIsolateScopeDirective, ka = r.templateDirective, ea = r.nonTlbTranscludeDirective, ca = !1, D = !1, C = r.hasElementTranscludeDirective, aa = e.$$element = B(d), K, z, N, Aa = f, Q, M = 0, R = a.length; M < R; M++) {
- K = a[M];
- var Pa = K.$$start, fb = K.$$end;
- Pa && (aa = wa(d, Pa, fb));
- N = t;
- if (A > K.priority)break;
- if (N = K.scope)K.templateUrl || (H(N) ? (Oa("new/isolated scope", S || P, K, aa), S = K) : Oa("new/isolated scope", S, K, aa)), P = P || K;
- z = K.name;
- !K.templateUrl && K.controller && (N = K.controller, J = J || {}, Oa("'" + z + "' controller", J[z],
- K, aa), J[z] = K);
- if (N = K.transclude)ca = !0, K.$$tlb || (Oa("transclusion", ea, K, aa), ea = K), "element" == N ? (C = !0, A = K.priority, N = aa, aa = e.$$element = B(Y.createComment(" " + z + ": " + e[z] + " ")), d = aa[0], V(g, Za.call(N, 0), d), Aa = E(N, f, A, l && l.name, {nonTlbTranscludeDirective: ea})) : (N = B(Tb(d)).contents(), aa.empty(), Aa = E(N, f));
- if (K.template)if (D = !0, Oa("template", ka, K, aa), ka = K, N = G(K.template) ? K.template(aa, e) : K.template, N = Sc(N), K.replace) {
- l = K;
- N = Rb.test(N) ? Tc(Wb(K.templateNamespace, U(N))) : [];
- d = N[0];
- if (1 != N.length || d.nodeType !==
- na)throw ja("tplrt", z, "");
- V(g, aa, d);
- R = {$attr: {}};
- N = W(d, [], R);
- var ba = a.splice(M + 1, a.length - (M + 1));
- S && y(N);
- a = a.concat(N).concat(ba);
- Qc(e, R);
- R = a.length
- } else aa.html(N);
- if (K.templateUrl)D = !0, Oa("template", ka, K, aa), ka = K, K.replace && (l = K), v = T(a.splice(M, a.length - M), aa, e, g, ca && Aa, k, p, {
- controllerDirectives: J,
- newIsolateScopeDirective: S,
- templateDirective: ka,
- nonTlbTranscludeDirective: ea
- }), R = a.length; else if (K.compile)try {
- Q = K.compile(aa, e, Aa), G(Q) ? w(null, Q, Pa, fb) : Q && w(Q.pre, Q.post, Pa, fb)
- } catch (qf) {
- c(qf, va(aa))
- }
- K.terminal &&
- (v.terminal = !0, A = Math.max(A, K.priority))
- }
- v.scope = P && !0 === P.scope;
- v.transcludeOnThisElement = ca;
- v.elementTranscludeOnThisElement = C;
- v.templateOnThisElement = D;
- v.transclude = Aa;
- r.hasElementTranscludeDirective = C;
- return v
- }
-
- function y(a) {
- for (var b = 0, c = a.length; b < c; b++) {
- var d = b, e;
- e = z(Object.create(a[b]), {$$isolateScope: !0});
- a[d] = e
- }
- }
-
- function ca(b, e, f, g, h, l, k) {
- if (e === h)return null;
- h = null;
- if (d.hasOwnProperty(e)) {
- var q;
- e = a.get(e + "Directive");
- for (var r = 0, n = e.length; r < n; r++)try {
- if (q = e[r], (g === t || g > q.priority) && -1 !=
- q.restrict.indexOf(f)) {
- if (l) {
- var w = {$$start: l, $$end: k};
- q = z(Object.create(q), w)
- }
- b.push(q);
- h = q
- }
- } catch (O) {
- c(O)
- }
- }
- return h
- }
-
- function D(b) {
- if (d.hasOwnProperty(b))for (var c = a.get(b + "Directive"), e = 0, f = c.length; e < f; e++)if (b = c[e], b.multiElement)return !0;
- return !1
- }
-
- function Qc(a, b) {
- var c = b.$attr, d = a.$attr, e = a.$$element;
- s(a, function (d, e) {
- "$" != e.charAt(0) && (b[e] && b[e] !== d && (d += ("style" === e ? ";" : " ") + b[e]), a.$set(e, d, !0, c[e]))
- });
- s(b, function (b, f) {
- "class" == f ? (P(e, b), a["class"] = (a["class"] ? a["class"] + " " : "") + b) : "style" ==
- f ? (e.attr("style", e.attr("style") + ";" + b), a.style = (a.style ? a.style + ";" : "") + b) : "$" == f.charAt(0) || a.hasOwnProperty(f) || (a[f] = b, d[f] = c[f])
- })
- }
-
- function T(a, b, c, d, e, f, g, h) {
- var l = [], k, q, p = b[0], n = a.shift(), w = z({}, n, {
- templateUrl: null,
- transclude: null,
- replace: null,
- $$originalDirective: n
- }), O = G(n.templateUrl) ? n.templateUrl(b, c) : n.templateUrl, u = n.templateNamespace;
- b.empty();
- r(L.getTrustedResourceUrl(O)).then(function (r) {
- var L, v;
- r = Sc(r);
- if (n.replace) {
- r = Rb.test(r) ? Tc(Wb(u, U(r))) : [];
- L = r[0];
- if (1 != r.length || L.nodeType !==
- na)throw ja("tplrt", n.name, O);
- r = {$attr: {}};
- V(d, b, L);
- var A = W(L, [], r);
- H(n.scope) && y(A);
- a = A.concat(a);
- Qc(c, r)
- } else L = p, b.html(r);
- a.unshift(w);
- k = ea(a, L, c, e, b, n, f, g, h);
- s(d, function (a, c) {
- a == L && (d[c] = b[0])
- });
- for (q = S(b[0].childNodes, e); l.length;) {
- r = l.shift();
- v = l.shift();
- var J = l.shift(), E = l.shift(), A = b[0];
- if (!r.$$destroyed) {
- if (v !== p) {
- var I = v.className;
- h.hasElementTranscludeDirective && n.replace || (A = Tb(L));
- V(J, B(v), A);
- P(B(A), I)
- }
- v = k.transcludeOnThisElement ? X(r, k.transclude, E) : E;
- k(q, r, A, d, v)
- }
- }
- l = null
- });
- return function (a,
- b, c, d, e) {
- a = e;
- b.$$destroyed || (l ? l.push(b, c, d, a) : (k.transcludeOnThisElement && (a = X(b, k.transclude, e)), k(q, b, c, d, a)))
- }
- }
-
- function N(a, b) {
- var c = b.priority - a.priority;
- return 0 !== c ? c : a.name !== b.name ? a.name < b.name ? -1 : 1 : a.index - b.index
- }
-
- function Oa(a, b, c, d) {
- if (b)throw ja("multidir", b.name, c.name, a, va(d));
- }
-
- function M(a, c) {
- var d = b(c, !0);
- d && a.push({
- priority: 0, compile: function (a) {
- a = a.parent();
- var b = !!a.length;
- b && E.$$addBindingClass(a);
- return function (a, c) {
- var e = c.parent();
- b || E.$$addBindingClass(e);
- E.$$addBindingInfo(e,
- d.expressions);
- a.$watch(d, function (a) {
- c[0].nodeValue = a
- })
- }
- }
- })
- }
-
- function Wb(a, b) {
- a = Q(a || "html");
- switch (a) {
- case "svg":
- case "math":
- var c = Y.createElement("div");
- c.innerHTML = "<" + a + ">" + b + "</" + a + ">";
- return c.childNodes[0].childNodes;
- default:
- return b
- }
- }
-
- function R(a, b) {
- if ("srcdoc" == b)return L.HTML;
- var c = ua(a);
- if ("xlinkHref" == b || "form" == c && "action" == b || "img" != c && ("src" == b || "ngSrc" == b))return L.RESOURCE_URL
- }
-
- function Pa(a, c, d, e, f) {
- var h = R(a, e);
- f = g[e] || f;
- var k = b(d, !0, h, f);
- if (k) {
- if ("multiple" === e && "select" === ua(a))throw ja("selmulti",
- va(a));
- c.push({
- priority: 100, compile: function () {
- return {
- pre: function (a, c, g) {
- c = g.$$observers || (g.$$observers = {});
- if (l.test(e))throw ja("nodomevents");
- var p = g[e];
- p !== d && (k = p && b(p, !0, h, f), d = p);
- k && (g[e] = k(a), (c[e] || (c[e] = [])).$$inter = !0, (g.$$observers && g.$$observers[e].$$scope || a).$watch(k, function (a, b) {
- "class" === e && a != b ? g.$updateClass(a, b) : g.$set(e, a)
- }))
- }
- }
- }
- })
- }
- }
-
- function V(a, b, c) {
- var d = b[0], e = b.length, f = d.parentNode, g, h;
- if (a)for (g = 0, h = a.length; g < h; g++)if (a[g] == d) {
- a[g++] = c;
- h = g + e - 1;
- for (var l = a.length; g < l; g++,
- h++)h < l ? a[g] = a[h] : delete a[g];
- a.length -= e - 1;
- a.context === d && (a.context = c);
- break
- }
- f && f.replaceChild(c, d);
- a = Y.createDocumentFragment();
- a.appendChild(d);
- B(c).data(B(d).data());
- ra ? (Pb = !0, ra.cleanData([d])) : delete B.cache[d[B.expando]];
- d = 1;
- for (e = b.length; d < e; d++)f = b[d], B(f).remove(), a.appendChild(f), delete b[d];
- b[0] = c;
- b.length = 1
- }
-
- function Z(a, b) {
- return z(function () {
- return a.apply(null, arguments)
- }, a, b)
- }
-
- function $(a, b, d, e, f, g) {
- try {
- a(b, d, e, f, g)
- } catch (h) {
- c(h, va(d))
- }
- }
-
- var Xb = function (a, b) {
- if (b) {
- var c = Object.keys(b),
- d, e, f;
- d = 0;
- for (e = c.length; d < e; d++)f = c[d], this[f] = b[f]
- } else this.$attr = {};
- this.$$element = a
- };
- Xb.prototype = {
- $normalize: ya, $addClass: function (a) {
- a && 0 < a.length && J.addClass(this.$$element, a)
- }, $removeClass: function (a) {
- a && 0 < a.length && J.removeClass(this.$$element, a)
- }, $updateClass: function (a, b) {
- var c = Uc(a, b);
- c && c.length && J.addClass(this.$$element, c);
- (c = Uc(b, a)) && c.length && J.removeClass(this.$$element, c)
- }, $set: function (a, b, d, e) {
- var f = this.$$element[0], g = Lc(f, a), h = kf(f, a), f = a;
- g ? (this.$$element.prop(a, b), e = g) :
- h && (this[h] = b, f = h);
- this[a] = b;
- e ? this.$attr[a] = e : (e = this.$attr[a]) || (this.$attr[a] = e = tc(a, "-"));
- g = ua(this.$$element);
- if ("a" === g && "href" === a || "img" === g && "src" === a)this[a] = b = A(b, "src" === a); else if ("img" === g && "srcset" === a) {
- for (var g = "", h = U(b), l = /(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/, l = /\s/.test(h) ? l : /(,)/, h = h.split(l), l = Math.floor(h.length / 2), k = 0; k < l; k++)var q = 2 * k, g = g + A(U(h[q]), !0), g = g + (" " + U(h[q + 1]));
- h = U(h[2 * k]).split(/\s/);
- g += A(U(h[0]), !0);
- 2 === h.length && (g += " " + U(h[1]));
- this[a] = b = g
- }
- !1 !== d && (null === b ||
- b === t ? this.$$element.removeAttr(e) : this.$$element.attr(e, b));
- (a = this.$$observers) && s(a[f], function (a) {
- try {
- a(b)
- } catch (d) {
- c(d)
- }
- })
- }, $observe: function (a, b) {
- var c = this, d = c.$$observers || (c.$$observers = ha()), e = d[a] || (d[a] = []);
- e.push(b);
- v.$evalAsync(function () {
- !e.$$inter && c.hasOwnProperty(a) && b(c[a])
- });
- return function () {
- Xa(e, b)
- }
- }
- };
- var Aa = b.startSymbol(), ka = b.endSymbol(), Sc = "{{" == Aa || "}}" == ka ? oa : function (a) {
- return a.replace(/\{\{/g, Aa).replace(/}}/g, ka)
- }, fb = /^ngAttr[A-Z]/;
- E.$$addBindingInfo = k ? function (a, b) {
- var c =
- a.data("$binding") || [];
- x(b) ? c = c.concat(b) : c.push(b);
- a.data("$binding", c)
- } : C;
- E.$$addBindingClass = k ? function (a) {
- P(a, "ng-binding")
- } : C;
- E.$$addScopeInfo = k ? function (a, b, c, d) {
- a.data(c ? d ? "$isolateScopeNoTemplate" : "$isolateScope" : "$scope", b)
- } : C;
- E.$$addScopeClass = k ? function (a, b) {
- P(a, b ? "ng-isolate-scope" : "ng-scope")
- } : C;
- return E
- }]
- }
-
- function ya(b) {
- return cb(b.replace(Rc, ""))
- }
-
- function Uc(b, a) {
- var c = "", d = b.split(/\s+/), e = a.split(/\s+/), f = 0;
- a:for (; f < d.length; f++) {
- for (var g = d[f], h = 0; h < e.length; h++)if (g == e[h])continue a;
- c += (0 < c.length ? " " : "") + g
- }
- return c
- }
-
- function Tc(b) {
- b = B(b);
- var a = b.length;
- if (1 >= a)return b;
- for (; a--;)8 === b[a].nodeType && rf.call(b, a, 1);
- return b
- }
-
- function Fe() {
- var b = {}, a = !1, c = /^(\S+)(\s+as\s+(\w+))?$/;
- this.register = function (a, c) {
- Ma(a, "controller");
- H(a) ? z(b, a) : b[a] = c
- };
- this.allowGlobals = function () {
- a = !0
- };
- this.$get = ["$injector", "$window", function (d, e) {
- function f(a, b, c, d) {
- if (!a || !H(a.$scope))throw T("$controller")("noscp", d, b);
- a.$scope[b] = c
- }
-
- return function (g, h, l, k) {
- var m, p, q;
- l = !0 === l;
- k && F(k) && (q = k);
- F(g) &&
- (k = g.match(c), p = k[1], q = q || k[3], g = b.hasOwnProperty(p) ? b[p] : vc(h.$scope, p, !0) || (a ? vc(e, p, !0) : t), sb(g, p, !0));
- if (l)return l = (x(g) ? g[g.length - 1] : g).prototype, m = Object.create(l), q && f(h, q, m, p || g.name), z(function () {
- d.invoke(g, m, h, p);
- return m
- }, {instance: m, identifier: q});
- m = d.instantiate(g, h, p);
- q && f(h, q, m, p || g.name);
- return m
- }
- }]
- }
-
- function Ge() {
- this.$get = ["$window", function (b) {
- return B(b.document)
- }]
- }
-
- function He() {
- this.$get = ["$log", function (b) {
- return function (a, c) {
- b.error.apply(b, arguments)
- }
- }]
- }
-
- function Yb(b, a) {
- if (F(b)) {
- var c =
- b.replace(sf, "").trim();
- if (c) {
- var d = a("Content-Type");
- (d = d && 0 === d.indexOf(Vc)) || (d = (d = c.match(tf)) && uf[d[0]].test(c));
- d && (b = oc(c))
- }
- }
- return b
- }
-
- function Wc(b) {
- var a = ha(), c, d, e;
- if (!b)return a;
- s(b.split("\n"), function (b) {
- e = b.indexOf(":");
- c = Q(U(b.substr(0, e)));
- d = U(b.substr(e + 1));
- c && (a[c] = a[c] ? a[c] + ", " + d : d)
- });
- return a
- }
-
- function Xc(b) {
- var a = H(b) ? b : t;
- return function (c) {
- a || (a = Wc(b));
- return c ? (c = a[Q(c)], void 0 === c && (c = null), c) : a
- }
- }
-
- function Yc(b, a, c, d) {
- if (G(d))return d(b, a, c);
- s(d, function (d) {
- b = d(b, a, c)
- });
- return b
- }
-
- function Ke() {
- var b = this.defaults = {
- transformResponse: [Yb],
- transformRequest: [function (a) {
- return H(a) && "[object File]" !== Da.call(a) && "[object Blob]" !== Da.call(a) && "[object FormData]" !== Da.call(a) ? $a(a) : a
- }],
- headers: {common: {Accept: "application/json, text/plain, */*"}, post: qa(Zb), put: qa(Zb), patch: qa(Zb)},
- xsrfCookieName: "XSRF-TOKEN",
- xsrfHeaderName: "X-XSRF-TOKEN"
- }, a = !1;
- this.useApplyAsync = function (b) {
- return y(b) ? (a = !!b, this) : a
- };
- var c = this.interceptors = [];
- this.$get = ["$httpBackend", "$browser", "$cacheFactory",
- "$rootScope", "$q", "$injector", function (d, e, f, g, h, l) {
- function k(a) {
- function c(a) {
- var b = z({}, a);
- b.data = a.data ? Yc(a.data, a.headers, a.status, e.transformResponse) : a.data;
- a = a.status;
- return 200 <= a && 300 > a ? b : h.reject(b)
- }
-
- function d(a) {
- var b, c = {};
- s(a, function (a, d) {
- G(a) ? (b = a(), null != b && (c[d] = b)) : c[d] = a
- });
- return c
- }
-
- if (!ga.isObject(a))throw T("$http")("badreq", a);
- var e = z({
- method: "get",
- transformRequest: b.transformRequest,
- transformResponse: b.transformResponse
- }, a);
- e.headers = function (a) {
- var c = b.headers, e = z({}, a.headers),
- f, g, c = z({}, c.common, c[Q(a.method)]);
- a:for (f in c) {
- a = Q(f);
- for (g in e)if (Q(g) === a)continue a;
- e[f] = c[f]
- }
- return d(e)
- }(a);
- e.method = ub(e.method);
- var f = [function (a) {
- var d = a.headers, e = Yc(a.data, Xc(d), t, a.transformRequest);
- D(e) && s(d, function (a, b) {
- "content-type" === Q(b) && delete d[b]
- });
- D(a.withCredentials) && !D(b.withCredentials) && (a.withCredentials = b.withCredentials);
- return m(a, e).then(c, c)
- }, t], g = h.when(e);
- for (s(u, function (a) {
- (a.request || a.requestError) && f.unshift(a.request, a.requestError);
- (a.response || a.responseError) &&
- f.push(a.response, a.responseError)
- }); f.length;) {
- a = f.shift();
- var l = f.shift(), g = g.then(a, l)
- }
- g.success = function (a) {
- g.then(function (b) {
- a(b.data, b.status, b.headers, e)
- });
- return g
- };
- g.error = function (a) {
- g.then(null, function (b) {
- a(b.data, b.status, b.headers, e)
- });
- return g
- };
- return g
- }
-
- function m(c, f) {
- function l(b, c, d, e) {
- function f() {
- m(c, b, d, e)
- }
-
- P && (200 <= b && 300 > b ? P.put(X, [b, c, Wc(d), e]) : P.remove(X));
- a ? g.$applyAsync(f) : (f(), g.$$phase || g.$apply())
- }
-
- function m(a, b, d, e) {
- b = Math.max(b, 0);
- (200 <= b && 300 > b ? J.resolve : J.reject)({
- data: a,
- status: b, headers: Xc(d), config: c, statusText: e
- })
- }
-
- function w(a) {
- m(a.data, a.status, qa(a.headers()), a.statusText)
- }
-
- function u() {
- var a = k.pendingRequests.indexOf(c);
- -1 !== a && k.pendingRequests.splice(a, 1)
- }
-
- var J = h.defer(), A = J.promise, P, E, s = c.headers, X = p(c.url, c.params);
- k.pendingRequests.push(c);
- A.then(u, u);
- !c.cache && !b.cache || !1 === c.cache || "GET" !== c.method && "JSONP" !== c.method || (P = H(c.cache) ? c.cache : H(b.cache) ? b.cache : q);
- P && (E = P.get(X), y(E) ? E && G(E.then) ? E.then(w, w) : x(E) ? m(E[1], E[0], qa(E[2]), E[3]) : m(E, 200, {},
- "OK") : P.put(X, A));
- D(E) && ((E = Zc(c.url) ? e.cookies()[c.xsrfCookieName || b.xsrfCookieName] : t) && (s[c.xsrfHeaderName || b.xsrfHeaderName] = E), d(c.method, X, f, l, s, c.timeout, c.withCredentials, c.responseType));
- return A
- }
-
- function p(a, b) {
- if (!b)return a;
- var c = [];
- Ed(b, function (a, b) {
- null === a || D(a) || (x(a) || (a = [a]), s(a, function (a) {
- H(a) && (a = pa(a) ? a.toISOString() : $a(a));
- c.push(Fa(b) + "=" + Fa(a))
- }))
- });
- 0 < c.length && (a += (-1 == a.indexOf("?") ? "?" : "&") + c.join("&"));
- return a
- }
-
- var q = f("$http"), u = [];
- s(c, function (a) {
- u.unshift(F(a) ? l.get(a) :
- l.invoke(a))
- });
- k.pendingRequests = [];
- (function (a) {
- s(arguments, function (a) {
- k[a] = function (b, c) {
- return k(z(c || {}, {method: a, url: b}))
- }
- })
- })("get", "delete", "head", "jsonp");
- (function (a) {
- s(arguments, function (a) {
- k[a] = function (b, c, d) {
- return k(z(d || {}, {method: a, url: b, data: c}))
- }
- })
- })("post", "put", "patch");
- k.defaults = b;
- return k
- }]
- }
-
- function vf() {
- return new M.XMLHttpRequest
- }
-
- function Le() {
- this.$get = ["$browser", "$window", "$document", function (b, a, c) {
- return wf(b, vf, b.defer, a.angular.callbacks, c[0])
- }]
- }
-
- function wf(b, a, c,
- d, e) {
- function f(a, b, c) {
- var f = e.createElement("script"), m = null;
- f.type = "text/javascript";
- f.src = a;
- f.async = !0;
- m = function (a) {
- f.removeEventListener("load", m, !1);
- f.removeEventListener("error", m, !1);
- e.body.removeChild(f);
- f = null;
- var g = -1, u = "unknown";
- a && ("load" !== a.type || d[b].called || (a = {type: "error"}), u = a.type, g = "error" === a.type ? 404 : 200);
- c && c(g, u)
- };
- f.addEventListener("load", m, !1);
- f.addEventListener("error", m, !1);
- e.body.appendChild(f);
- return m
- }
-
- return function (e, h, l, k, m, p, q, u) {
- function r() {
- v && v();
- w && w.abort()
- }
-
- function O(a, d, e, f, g) {
- J !== t && c.cancel(J);
- v = w = null;
- a(d, e, f, g);
- b.$$completeOutstandingRequest(C)
- }
-
- b.$$incOutstandingRequestCount();
- h = h || b.url();
- if ("jsonp" == Q(e)) {
- var n = "_" + (d.counter++).toString(36);
- d[n] = function (a) {
- d[n].data = a;
- d[n].called = !0
- };
- var v = f(h.replace("JSON_CALLBACK", "angular.callbacks." + n), n, function (a, b) {
- O(k, a, d[n].data, "", b);
- d[n] = C
- })
- } else {
- var w = a();
- w.open(e, h, !0);
- s(m, function (a, b) {
- y(a) && w.setRequestHeader(b, a)
- });
- w.onload = function () {
- var a = w.statusText || "", b = "response"in w ? w.response : w.responseText,
- c = 1223 === w.status ? 204 : w.status;
- 0 === c && (c = b ? 200 : "file" == Ba(h).protocol ? 404 : 0);
- O(k, c, b, w.getAllResponseHeaders(), a)
- };
- e = function () {
- O(k, -1, null, null, "")
- };
- w.onerror = e;
- w.onabort = e;
- q && (w.withCredentials = !0);
- if (u)try {
- w.responseType = u
- } catch (L) {
- if ("json" !== u)throw L;
- }
- w.send(l || null)
- }
- if (0 < p)var J = c(r, p); else p && G(p.then) && p.then(r)
- }
- }
-
- function Ie() {
- var b = "{{", a = "}}";
- this.startSymbol = function (a) {
- return a ? (b = a, this) : b
- };
- this.endSymbol = function (b) {
- return b ? (a = b, this) : a
- };
- this.$get = ["$parse", "$exceptionHandler", "$sce",
- function (c, d, e) {
- function f(a) {
- return "\\\\\\" + a
- }
-
- function g(f, g, u, r) {
- function O(c) {
- return c.replace(k, b).replace(m, a)
- }
-
- function n(a) {
- try {
- var b = a;
- a = u ? e.getTrusted(u, b) : e.valueOf(b);
- var c;
- if (r && !y(a))c = a; else if (null == a)c = ""; else {
- switch (typeof a) {
- case "string":
- break;
- case "number":
- a = "" + a;
- break;
- default:
- a = $a(a)
- }
- c = a
- }
- return c
- } catch (g) {
- c = $b("interr", f, g.toString()), d(c)
- }
- }
-
- r = !!r;
- for (var v, w, L = 0, J = [], A = [], P = f.length, E = [], s = []; L < P;)if (-1 != (v = f.indexOf(b, L)) && -1 != (w = f.indexOf(a, v + h)))L !== v && E.push(O(f.substring(L,
- v))), L = f.substring(v + h, w), J.push(L), A.push(c(L, n)), L = w + l, s.push(E.length), E.push(""); else {
- L !== P && E.push(O(f.substring(L)));
- break
- }
- if (u && 1 < E.length)throw $b("noconcat", f);
- if (!g || J.length) {
- var X = function (a) {
- for (var b = 0, c = J.length; b < c; b++) {
- if (r && D(a[b]))return;
- E[s[b]] = a[b]
- }
- return E.join("")
- };
- return z(function (a) {
- var b = 0, c = J.length, e = Array(c);
- try {
- for (; b < c; b++)e[b] = A[b](a);
- return X(e)
- } catch (g) {
- a = $b("interr", f, g.toString()), d(a)
- }
- }, {
- exp: f, expressions: J, $$watchDelegate: function (a, b, c) {
- var d;
- return a.$watchGroup(A,
- function (c, e) {
- var f = X(c);
- G(b) && b.call(this, f, c !== e ? d : f, a);
- d = f
- }, c)
- }
- })
- }
- }
-
- var h = b.length, l = a.length, k = new RegExp(b.replace(/./g, f), "g"), m = new RegExp(a.replace(/./g, f), "g");
- g.startSymbol = function () {
- return b
- };
- g.endSymbol = function () {
- return a
- };
- return g
- }]
- }
-
- function Je() {
- this.$get = ["$rootScope", "$window", "$q", "$$q", function (b, a, c, d) {
- function e(e, h, l, k) {
- var m = a.setInterval, p = a.clearInterval, q = 0, u = y(k) && !k, r = (u ? d : c).defer(), O = r.promise;
- l = y(l) ? l : 0;
- O.then(null, null, e);
- O.$$intervalId = m(function () {
- r.notify(q++);
- 0 <
- l && q >= l && (r.resolve(q), p(O.$$intervalId), delete f[O.$$intervalId]);
- u || b.$apply()
- }, h);
- f[O.$$intervalId] = r;
- return O
- }
-
- var f = {};
- e.cancel = function (b) {
- return b && b.$$intervalId in f ? (f[b.$$intervalId].reject("canceled"), a.clearInterval(b.$$intervalId), delete f[b.$$intervalId], !0) : !1
- };
- return e
- }]
- }
-
- function Rd() {
- this.$get = function () {
- return {
- id: "en-us", NUMBER_FORMATS: {
- DECIMAL_SEP: ".",
- GROUP_SEP: ",",
- PATTERNS: [{
- minInt: 1,
- minFrac: 0,
- maxFrac: 3,
- posPre: "",
- posSuf: "",
- negPre: "-",
- negSuf: "",
- gSize: 3,
- lgSize: 3
- }, {
- minInt: 1, minFrac: 2,
- maxFrac: 2, posPre: "\u00a4", posSuf: "", negPre: "(\u00a4", negSuf: ")", gSize: 3, lgSize: 3
- }],
- CURRENCY_SYM: "$"
- }, DATETIME_FORMATS: {
- MONTH: "January February March April May June July August September October November December".split(" "),
- SHORTMONTH: "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),
- DAY: "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
- SHORTDAY: "Sun Mon Tue Wed Thu Fri Sat".split(" "),
- AMPMS: ["AM", "PM"],
- medium: "MMM d, y h:mm:ss a",
- "short": "M/d/yy h:mm a",
- fullDate: "EEEE, MMMM d, y",
- longDate: "MMMM d, y",
- mediumDate: "MMM d, y",
- shortDate: "M/d/yy",
- mediumTime: "h:mm:ss a",
- shortTime: "h:mm a"
- }, pluralCat: function (b) {
- return 1 === b ? "one" : "other"
- }
- }
- }
- }
-
- function ac(b) {
- b = b.split("/");
- for (var a = b.length; a--;)b[a] = qb(b[a]);
- return b.join("/")
- }
-
- function $c(b, a) {
- var c = Ba(b);
- a.$$protocol = c.protocol;
- a.$$host = c.hostname;
- a.$$port = ba(c.port) || xf[c.protocol] || null
- }
-
- function ad(b, a) {
- var c = "/" !== b.charAt(0);
- c && (b = "/" + b);
- var d = Ba(b);
- a.$$path = decodeURIComponent(c && "/" === d.pathname.charAt(0) ? d.pathname.substring(1) :
- d.pathname);
- a.$$search = qc(d.search);
- a.$$hash = decodeURIComponent(d.hash);
- a.$$path && "/" != a.$$path.charAt(0) && (a.$$path = "/" + a.$$path)
- }
-
- function za(b, a) {
- if (0 === a.indexOf(b))return a.substr(b.length)
- }
-
- function Ha(b) {
- var a = b.indexOf("#");
- return -1 == a ? b : b.substr(0, a)
- }
-
- function bd(b) {
- return b.replace(/(#.+)|#$/, "$1")
- }
-
- function bc(b) {
- return b.substr(0, Ha(b).lastIndexOf("/") + 1)
- }
-
- function cc(b, a) {
- this.$$html5 = !0;
- a = a || "";
- var c = bc(b);
- $c(b, this);
- this.$$parse = function (a) {
- var b = za(c, a);
- if (!F(b))throw Fb("ipthprfx", a, c);
- ad(b, this);
- this.$$path || (this.$$path = "/");
- this.$$compose()
- };
- this.$$compose = function () {
- var a = Nb(this.$$search), b = this.$$hash ? "#" + qb(this.$$hash) : "";
- this.$$url = ac(this.$$path) + (a ? "?" + a : "") + b;
- this.$$absUrl = c + this.$$url.substr(1)
- };
- this.$$parseLinkUrl = function (d, e) {
- if (e && "#" === e[0])return this.hash(e.slice(1)), !0;
- var f, g;
- (f = za(b, d)) !== t ? (g = f, g = (f = za(a, f)) !== t ? c + (za("/", f) || f) : b + g) : (f = za(c, d)) !== t ? g = c + f : c == d + "/" && (g = c);
- g && this.$$parse(g);
- return !!g
- }
- }
-
- function dc(b, a) {
- var c = bc(b);
- $c(b, this);
- this.$$parse = function (d) {
- d =
- za(b, d) || za(c, d);
- var e;
- "#" === d.charAt(0) ? (e = za(a, d), D(e) && (e = d)) : e = this.$$html5 ? d : "";
- ad(e, this);
- d = this.$$path;
- var f = /^\/[A-Z]:(\/.*)/;
- 0 === e.indexOf(b) && (e = e.replace(b, ""));
- f.exec(e) || (d = (e = f.exec(d)) ? e[1] : d);
- this.$$path = d;
- this.$$compose()
- };
- this.$$compose = function () {
- var c = Nb(this.$$search), e = this.$$hash ? "#" + qb(this.$$hash) : "";
- this.$$url = ac(this.$$path) + (c ? "?" + c : "") + e;
- this.$$absUrl = b + (this.$$url ? a + this.$$url : "")
- };
- this.$$parseLinkUrl = function (a, c) {
- return Ha(b) == Ha(a) ? (this.$$parse(a), !0) : !1
- }
- }
-
- function cd(b,
- a) {
- this.$$html5 = !0;
- dc.apply(this, arguments);
- var c = bc(b);
- this.$$parseLinkUrl = function (d, e) {
- if (e && "#" === e[0])return this.hash(e.slice(1)), !0;
- var f, g;
- b == Ha(d) ? f = d : (g = za(c, d)) ? f = b + a + g : c === d + "/" && (f = c);
- f && this.$$parse(f);
- return !!f
- };
- this.$$compose = function () {
- var c = Nb(this.$$search), e = this.$$hash ? "#" + qb(this.$$hash) : "";
- this.$$url = ac(this.$$path) + (c ? "?" + c : "") + e;
- this.$$absUrl = b + a + this.$$url
- }
- }
-
- function Gb(b) {
- return function () {
- return this[b]
- }
- }
-
- function dd(b, a) {
- return function (c) {
- if (D(c))return this[b];
- this[b] =
- a(c);
- this.$$compose();
- return this
- }
- }
-
- function Me() {
- var b = "", a = {enabled: !1, requireBase: !0, rewriteLinks: !0};
- this.hashPrefix = function (a) {
- return y(a) ? (b = a, this) : b
- };
- this.html5Mode = function (b) {
- return Wa(b) ? (a.enabled = b, this) : H(b) ? (Wa(b.enabled) && (a.enabled = b.enabled), Wa(b.requireBase) && (a.requireBase = b.requireBase), Wa(b.rewriteLinks) && (a.rewriteLinks = b.rewriteLinks), this) : a
- };
- this.$get = ["$rootScope", "$browser", "$sniffer", "$rootElement", "$window", function (c, d, e, f, g) {
- function h(a, b, c) {
- var e = k.url(), f = k.$$state;
- try {
- d.url(a, b, c), k.$$state = d.state()
- } catch (g) {
- throw k.url(e), k.$$state = f, g;
- }
- }
-
- function l(a, b) {
- c.$broadcast("$locationChangeSuccess", k.absUrl(), a, k.$$state, b)
- }
-
- var k, m;
- m = d.baseHref();
- var p = d.url(), q;
- if (a.enabled) {
- if (!m && a.requireBase)throw Fb("nobase");
- q = p.substring(0, p.indexOf("/", p.indexOf("//") + 2)) + (m || "/");
- m = e.history ? cc : cd
- } else q = Ha(p), m = dc;
- k = new m(q, "#" + b);
- k.$$parseLinkUrl(p, p);
- k.$$state = d.state();
- var u = /^\s*(javascript|mailto):/i;
- f.on("click", function (b) {
- if (a.rewriteLinks && !b.ctrlKey && !b.metaKey &&
- 2 != b.which) {
- for (var e = B(b.target); "a" !== ua(e[0]);)if (e[0] === f[0] || !(e = e.parent())[0])return;
- var h = e.prop("href"), l = e.attr("href") || e.attr("xlink:href");
- H(h) && "[object SVGAnimatedString]" === h.toString() && (h = Ba(h.animVal).href);
- u.test(h) || !h || e.attr("target") || b.isDefaultPrevented() || !k.$$parseLinkUrl(h, l) || (b.preventDefault(), k.absUrl() != d.url() && (c.$apply(), g.angular["ff-684208-preventDefault"] = !0))
- }
- });
- k.absUrl() != p && d.url(k.absUrl(), !0);
- var r = !0;
- d.onUrlChange(function (a, b) {
- c.$evalAsync(function () {
- var d =
- k.absUrl(), e = k.$$state, f;
- k.$$parse(a);
- k.$$state = b;
- f = c.$broadcast("$locationChangeStart", a, d, b, e).defaultPrevented;
- k.absUrl() === a && (f ? (k.$$parse(d), k.$$state = e, h(d, !1, e)) : (r = !1, l(d, e)))
- });
- c.$$phase || c.$digest()
- });
- c.$watch(function () {
- var a = bd(d.url()), b = bd(k.absUrl()), f = d.state(), g = k.$$replace, q = a !== b || k.$$html5 && e.history && f !== k.$$state;
- if (r || q)r = !1, c.$evalAsync(function () {
- var b = k.absUrl(), d = c.$broadcast("$locationChangeStart", b, a, k.$$state, f).defaultPrevented;
- k.absUrl() === b && (d ? (k.$$parse(a), k.$$state =
- f) : (q && h(b, g, f === k.$$state ? null : k.$$state), l(a, f)))
- });
- k.$$replace = !1
- });
- return k
- }]
- }
-
- function Ne() {
- var b = !0, a = this;
- this.debugEnabled = function (a) {
- return y(a) ? (b = a, this) : b
- };
- this.$get = ["$window", function (c) {
- function d(a) {
- a instanceof Error && (a.stack ? a = a.message && -1 === a.stack.indexOf(a.message) ? "Error: " + a.message + "\n" + a.stack : a.stack : a.sourceURL && (a = a.message + "\n" + a.sourceURL + ":" + a.line));
- return a
- }
-
- function e(a) {
- var b = c.console || {}, e = b[a] || b.log || C;
- a = !1;
- try {
- a = !!e.apply
- } catch (l) {
- }
- return a ? function () {
- var a =
- [];
- s(arguments, function (b) {
- a.push(d(b))
- });
- return e.apply(b, a)
- } : function (a, b) {
- e(a, null == b ? "" : b)
- }
- }
-
- return {
- log: e("log"), info: e("info"), warn: e("warn"), error: e("error"), debug: function () {
- var c = e("debug");
- return function () {
- b && c.apply(a, arguments)
- }
- }()
- }
- }]
- }
-
- function sa(b, a) {
- if ("__defineGetter__" === b || "__defineSetter__" === b || "__lookupGetter__" === b || "__lookupSetter__" === b || "__proto__" === b)throw la("isecfld", a);
- return b
- }
-
- function ta(b, a) {
- if (b) {
- if (b.constructor === b)throw la("isecfn", a);
- if (b.window === b)throw la("isecwindow",
- a);
- if (b.children && (b.nodeName || b.prop && b.attr && b.find))throw la("isecdom", a);
- if (b === Object)throw la("isecobj", a);
- }
- return b
- }
-
- function ec(b) {
- return b.constant
- }
-
- function gb(b, a, c, d) {
- ta(b, d);
- a = a.split(".");
- for (var e, f = 0; 1 < a.length; f++) {
- e = sa(a.shift(), d);
- var g = ta(b[e], d);
- g || (g = {}, b[e] = g);
- b = g
- }
- e = sa(a.shift(), d);
- ta(b[e], d);
- return b[e] = c
- }
-
- function Qa(b) {
- return "constructor" == b
- }
-
- function ed(b, a, c, d, e, f, g) {
- sa(b, f);
- sa(a, f);
- sa(c, f);
- sa(d, f);
- sa(e, f);
- var h = function (a) {
- return ta(a, f)
- }, l = g || Qa(b) ? h : oa, k = g || Qa(a) ? h : oa, m =
- g || Qa(c) ? h : oa, p = g || Qa(d) ? h : oa, q = g || Qa(e) ? h : oa;
- return function (f, g) {
- var h = g && g.hasOwnProperty(b) ? g : f;
- if (null == h)return h;
- h = l(h[b]);
- if (!a)return h;
- if (null == h)return t;
- h = k(h[a]);
- if (!c)return h;
- if (null == h)return t;
- h = m(h[c]);
- if (!d)return h;
- if (null == h)return t;
- h = p(h[d]);
- return e ? null == h ? t : h = q(h[e]) : h
- }
- }
-
- function yf(b, a) {
- return function (c, d) {
- return b(c, d, ta, a)
- }
- }
-
- function zf(b, a, c) {
- var d = a.expensiveChecks, e = d ? Af : Bf, f = e[b];
- if (f)return f;
- var g = b.split("."), h = g.length;
- if (a.csp)f = 6 > h ? ed(g[0], g[1], g[2], g[3], g[4],
- c, d) : function (a, b) {
- var e = 0, f;
- do f = ed(g[e++], g[e++], g[e++], g[e++], g[e++], c, d)(a, b), b = t, a = f; while (e < h);
- return f
- }; else {
- var l = "";
- d && (l += "s = eso(s, fe);\nl = eso(l, fe);\n");
- var k = d;
- s(g, function (a, b) {
- sa(a, c);
- var e = (b ? "s" : '((l&&l.hasOwnProperty("' + a + '"))?l:s)') + "." + a;
- if (d || Qa(a))e = "eso(" + e + ", fe)", k = !0;
- l += "if(s == null) return undefined;\ns=" + e + ";\n"
- });
- l += "return s;";
- a = new Function("s", "l", "eso", "fe", l);
- a.toString = da(l);
- k && (a = yf(a, c));
- f = a
- }
- f.sharedGetter = !0;
- f.assign = function (a, c) {
- return gb(a, b, c, b)
- };
- return e[b] =
- f
- }
-
- function fc(b) {
- return G(b.valueOf) ? b.valueOf() : Cf.call(b)
- }
-
- function Oe() {
- var b = ha(), a = ha();
- this.$get = ["$filter", "$sniffer", function (c, d) {
- function e(a) {
- var b = a;
- a.sharedGetter && (b = function (b, c) {
- return a(b, c)
- }, b.literal = a.literal, b.constant = a.constant, b.assign = a.assign);
- return b
- }
-
- function f(a, b) {
- for (var c = 0, d = a.length; c < d; c++) {
- var e = a[c];
- e.constant || (e.inputs ? f(e.inputs, b) : -1 === b.indexOf(e) && b.push(e))
- }
- return b
- }
-
- function g(a, b) {
- return null == a || null == b ? a === b : "object" === typeof a && (a = fc(a), "object" === typeof a) ?
- !1 : a === b || a !== a && b !== b
- }
-
- function h(a, b, c, d) {
- var e = d.$$inputs || (d.$$inputs = f(d.inputs, [])), h;
- if (1 === e.length) {
- var l = g, e = e[0];
- return a.$watch(function (a) {
- var b = e(a);
- g(b, l) || (h = d(a), l = b && fc(b));
- return h
- }, b, c)
- }
- for (var k = [], q = 0, p = e.length; q < p; q++)k[q] = g;
- return a.$watch(function (a) {
- for (var b = !1, c = 0, f = e.length; c < f; c++) {
- var l = e[c](a);
- if (b || (b = !g(l, k[c])))k[c] = l && fc(l)
- }
- b && (h = d(a));
- return h
- }, b, c)
- }
-
- function l(a, b, c, d) {
- var e, f;
- return e = a.$watch(function (a) {
- return d(a)
- }, function (a, c, d) {
- f = a;
- G(b) && b.apply(this, arguments);
- y(a) && d.$$postDigest(function () {
- y(f) && e()
- })
- }, c)
- }
-
- function k(a, b, c, d) {
- function e(a) {
- var b = !0;
- s(a, function (a) {
- y(a) || (b = !1)
- });
- return b
- }
-
- var f, g;
- return f = a.$watch(function (a) {
- return d(a)
- }, function (a, c, d) {
- g = a;
- G(b) && b.call(this, a, c, d);
- e(a) && d.$$postDigest(function () {
- e(g) && f()
- })
- }, c)
- }
-
- function m(a, b, c, d) {
- var e;
- return e = a.$watch(function (a) {
- return d(a)
- }, function (a, c, d) {
- G(b) && b.apply(this, arguments);
- e()
- }, c)
- }
-
- function p(a, b) {
- if (!b)return a;
- var c = a.$$watchDelegate, c = c !== k && c !== l ? function (c, d) {
- var e = a(c, d);
- return b(e,
- c, d)
- } : function (c, d) {
- var e = a(c, d), f = b(e, c, d);
- return y(e) ? f : e
- };
- a.$$watchDelegate && a.$$watchDelegate !== h ? c.$$watchDelegate = a.$$watchDelegate : b.$stateful || (c.$$watchDelegate = h, c.inputs = [a]);
- return c
- }
-
- var q = {csp: d.csp, expensiveChecks: !1}, u = {csp: d.csp, expensiveChecks: !0};
- return function (d, f, g) {
- var v, w, L;
- switch (typeof d) {
- case "string":
- L = d = d.trim();
- var J = g ? a : b;
- v = J[L];
- v || (":" === d.charAt(0) && ":" === d.charAt(1) && (w = !0, d = d.substring(2)), g = g ? u : q, v = new gc(g), v = (new hb(v, c, g)).parse(d), v.constant ? v.$$watchDelegate =
- m : w ? (v = e(v), v.$$watchDelegate = v.literal ? k : l) : v.inputs && (v.$$watchDelegate = h), J[L] = v);
- return p(v, f);
- case "function":
- return p(d, f);
- default:
- return p(C, f)
- }
- }
- }]
- }
-
- function Qe() {
- this.$get = ["$rootScope", "$exceptionHandler", function (b, a) {
- return fd(function (a) {
- b.$evalAsync(a)
- }, a)
- }]
- }
-
- function Re() {
- this.$get = ["$browser", "$exceptionHandler", function (b, a) {
- return fd(function (a) {
- b.defer(a)
- }, a)
- }]
- }
-
- function fd(b, a) {
- function c(a, b, c) {
- function d(b) {
- return function (c) {
- e || (e = !0, b.call(a, c))
- }
- }
-
- var e = !1;
- return [d(b), d(c)]
- }
-
- function d() {
- this.$$state =
- {status: 0}
- }
-
- function e(a, b) {
- return function (c) {
- b.call(a, c)
- }
- }
-
- function f(c) {
- !c.processScheduled && c.pending && (c.processScheduled = !0, b(function () {
- var b, d, e;
- e = c.pending;
- c.processScheduled = !1;
- c.pending = t;
- for (var f = 0, g = e.length; f < g; ++f) {
- d = e[f][0];
- b = e[f][c.status];
- try {
- G(b) ? d.resolve(b(c.value)) : 1 === c.status ? d.resolve(c.value) : d.reject(c.value)
- } catch (h) {
- d.reject(h), a(h)
- }
- }
- }))
- }
-
- function g() {
- this.promise = new d;
- this.resolve = e(this, this.resolve);
- this.reject = e(this, this.reject);
- this.notify = e(this, this.notify)
- }
-
- var h =
- T("$q", TypeError);
- d.prototype = {
- then: function (a, b, c) {
- var d = new g;
- this.$$state.pending = this.$$state.pending || [];
- this.$$state.pending.push([d, a, b, c]);
- 0 < this.$$state.status && f(this.$$state);
- return d.promise
- }, "catch": function (a) {
- return this.then(null, a)
- }, "finally": function (a, b) {
- return this.then(function (b) {
- return k(b, !0, a)
- }, function (b) {
- return k(b, !1, a)
- }, b)
- }
- };
- g.prototype = {
- resolve: function (a) {
- this.promise.$$state.status || (a === this.promise ? this.$$reject(h("qcycle", a)) : this.$$resolve(a))
- }, $$resolve: function (b) {
- var d,
- e;
- e = c(this, this.$$resolve, this.$$reject);
- try {
- if (H(b) || G(b))d = b && b.then;
- G(d) ? (this.promise.$$state.status = -1, d.call(b, e[0], e[1], this.notify)) : (this.promise.$$state.value = b, this.promise.$$state.status = 1, f(this.promise.$$state))
- } catch (g) {
- e[1](g), a(g)
- }
- }, reject: function (a) {
- this.promise.$$state.status || this.$$reject(a)
- }, $$reject: function (a) {
- this.promise.$$state.value = a;
- this.promise.$$state.status = 2;
- f(this.promise.$$state)
- }, notify: function (c) {
- var d = this.promise.$$state.pending;
- 0 >= this.promise.$$state.status &&
- d && d.length && b(function () {
- for (var b, e, f = 0, g = d.length; f < g; f++) {
- e = d[f][0];
- b = d[f][3];
- try {
- e.notify(G(b) ? b(c) : c)
- } catch (h) {
- a(h)
- }
- }
- })
- }
- };
- var l = function (a, b) {
- var c = new g;
- b ? c.resolve(a) : c.reject(a);
- return c.promise
- }, k = function (a, b, c) {
- var d = null;
- try {
- G(c) && (d = c())
- } catch (e) {
- return l(e, !1)
- }
- return d && G(d.then) ? d.then(function () {
- return l(a, b)
- }, function (a) {
- return l(a, !1)
- }) : l(a, b)
- }, m = function (a, b, c, d) {
- var e = new g;
- e.resolve(a);
- return e.promise.then(b, c, d)
- }, p = function u(a) {
- if (!G(a))throw h("norslvr", a);
- if (!(this instanceof
- u))return new u(a);
- var b = new g;
- a(function (a) {
- b.resolve(a)
- }, function (a) {
- b.reject(a)
- });
- return b.promise
- };
- p.defer = function () {
- return new g
- };
- p.reject = function (a) {
- var b = new g;
- b.reject(a);
- return b.promise
- };
- p.when = m;
- p.all = function (a) {
- var b = new g, c = 0, d = x(a) ? [] : {};
- s(a, function (a, e) {
- c++;
- m(a).then(function (a) {
- d.hasOwnProperty(e) || (d[e] = a, --c || b.resolve(d))
- }, function (a) {
- d.hasOwnProperty(e) || b.reject(a)
- })
- });
- 0 === c && b.resolve(d);
- return b.promise
- };
- return p
- }
-
- function $e() {
- this.$get = ["$window", "$timeout", function (b,
- a) {
- var c = b.requestAnimationFrame || b.webkitRequestAnimationFrame, d = b.cancelAnimationFrame || b.webkitCancelAnimationFrame || b.webkitCancelRequestAnimationFrame, e = !!c, f = e ? function (a) {
- var b = c(a);
- return function () {
- d(b)
- }
- } : function (b) {
- var c = a(b, 16.66, !1);
- return function () {
- a.cancel(c)
- }
- };
- f.supported = e;
- return f
- }]
- }
-
- function Pe() {
- var b = 10, a = T("$rootScope"), c = null, d = null;
- this.digestTtl = function (a) {
- arguments.length && (b = a);
- return b
- };
- this.$get = ["$injector", "$exceptionHandler", "$parse", "$browser", function (e, f, g, h) {
- function l() {
- this.$id = ++nb;
- this.$$phase = this.$parent = this.$$watchers = this.$$nextSibling = this.$$prevSibling = this.$$childHead = this.$$childTail = null;
- this.$root = this;
- this.$$destroyed = !1;
- this.$$listeners = {};
- this.$$listenerCount = {};
- this.$$isolateBindings = null
- }
-
- function k(b) {
- if (r.$$phase)throw a("inprog", r.$$phase);
- r.$$phase = b
- }
-
- function m(a, b, c) {
- do a.$$listenerCount[c] -= b, 0 === a.$$listenerCount[c] && delete a.$$listenerCount[c]; while (a = a.$parent)
- }
-
- function p() {
- }
-
- function q() {
- for (; v.length;)try {
- v.shift()()
- } catch (a) {
- f(a)
- }
- d = null
- }
-
- function u() {
- null ===
- d && (d = h.defer(function () {
- r.$apply(q)
- }))
- }
-
- l.prototype = {
- constructor: l, $new: function (a, b) {
- function c() {
- d.$$destroyed = !0
- }
-
- var d;
- b = b || this;
- a ? (d = new l, d.$root = this.$root) : (this.$$ChildScope || (this.$$ChildScope = function () {
- this.$$watchers = this.$$nextSibling = this.$$childHead = this.$$childTail = null;
- this.$$listeners = {};
- this.$$listenerCount = {};
- this.$id = ++nb;
- this.$$ChildScope = null
- }, this.$$ChildScope.prototype = this), d = new this.$$ChildScope);
- d.$parent = b;
- d.$$prevSibling = b.$$childTail;
- b.$$childHead ? (b.$$childTail.$$nextSibling =
- d, b.$$childTail = d) : b.$$childHead = b.$$childTail = d;
- (a || b != this) && d.$on("$destroy", c);
- return d
- }, $watch: function (a, b, d) {
- var e = g(a);
- if (e.$$watchDelegate)return e.$$watchDelegate(this, b, d, e);
- var f = this.$$watchers, h = {fn: b, last: p, get: e, exp: a, eq: !!d};
- c = null;
- G(b) || (h.fn = C);
- f || (f = this.$$watchers = []);
- f.unshift(h);
- return function () {
- Xa(f, h);
- c = null
- }
- }, $watchGroup: function (a, b) {
- function c() {
- h = !1;
- l ? (l = !1, b(e, e, g)) : b(e, d, g)
- }
-
- var d = Array(a.length), e = Array(a.length), f = [], g = this, h = !1, l = !0;
- if (!a.length) {
- var k = !0;
- g.$evalAsync(function () {
- k &&
- b(e, e, g)
- });
- return function () {
- k = !1
- }
- }
- if (1 === a.length)return this.$watch(a[0], function (a, c, f) {
- e[0] = a;
- d[0] = c;
- b(e, a === c ? e : d, f)
- });
- s(a, function (a, b) {
- var l = g.$watch(a, function (a, f) {
- e[b] = a;
- d[b] = f;
- h || (h = !0, g.$evalAsync(c))
- });
- f.push(l)
- });
- return function () {
- for (; f.length;)f.shift()()
- }
- }, $watchCollection: function (a, b) {
- function c(a) {
- e = a;
- var b, d, g, h;
- if (!D(e)) {
- if (H(e))if (Ta(e))for (f !== q && (f = q, u = f.length = 0, k++), a = e.length, u !== a && (k++, f.length = u = a), b = 0; b < a; b++)h = f[b], g = e[b], d = h !== h && g !== g, d || h === g || (k++, f[b] = g); else {
- f !==
- m && (f = m = {}, u = 0, k++);
- a = 0;
- for (b in e)e.hasOwnProperty(b) && (a++, g = e[b], h = f[b], b in f ? (d = h !== h && g !== g, d || h === g || (k++, f[b] = g)) : (u++, f[b] = g, k++));
- if (u > a)for (b in k++, f)e.hasOwnProperty(b) || (u--, delete f[b])
- } else f !== e && (f = e, k++);
- return k
- }
- }
-
- c.$stateful = !0;
- var d = this, e, f, h, l = 1 < b.length, k = 0, p = g(a, c), q = [], m = {}, n = !0, u = 0;
- return this.$watch(p, function () {
- n ? (n = !1, b(e, e, d)) : b(e, h, d);
- if (l)if (H(e))if (Ta(e)) {
- h = Array(e.length);
- for (var a = 0; a < e.length; a++)h[a] = e[a]
- } else for (a in h = {}, e)rc.call(e, a) && (h[a] = e[a]); else h =
- e
- })
- }, $digest: function () {
- var e, g, l, m, u, v, s = b, t, W = [], y, I;
- k("$digest");
- h.$$checkUrlChange();
- this === r && null !== d && (h.defer.cancel(d), q());
- c = null;
- do {
- v = !1;
- for (t = this; O.length;) {
- try {
- I = O.shift(), I.scope.$eval(I.expression, I.locals)
- } catch (B) {
- f(B)
- }
- c = null
- }
- a:do {
- if (m = t.$$watchers)for (u = m.length; u--;)try {
- if (e = m[u])if ((g = e.get(t)) !== (l = e.last) && !(e.eq ? fa(g, l) : "number" === typeof g && "number" === typeof l && isNaN(g) && isNaN(l)))v = !0, c = e, e.last = e.eq ? Ea(g, null) : g, e.fn(g, l === p ? g : l, t), 5 > s && (y = 4 - s, W[y] || (W[y] = []), W[y].push({
- msg: G(e.exp) ?
- "fn: " + (e.exp.name || e.exp.toString()) : e.exp, newVal: g, oldVal: l
- })); else if (e === c) {
- v = !1;
- break a
- }
- } catch (D) {
- f(D)
- }
- if (!(m = t.$$childHead || t !== this && t.$$nextSibling))for (; t !== this && !(m = t.$$nextSibling);)t = t.$parent
- } while (t = m);
- if ((v || O.length) && !s--)throw r.$$phase = null, a("infdig", b, W);
- } while (v || O.length);
- for (r.$$phase = null; n.length;)try {
- n.shift()()
- } catch (ca) {
- f(ca)
- }
- }, $destroy: function () {
- if (!this.$$destroyed) {
- var a = this.$parent;
- this.$broadcast("$destroy");
- this.$$destroyed = !0;
- if (this !== r) {
- for (var b in this.$$listenerCount)m(this,
- this.$$listenerCount[b], b);
- a.$$childHead == this && (a.$$childHead = this.$$nextSibling);
- a.$$childTail == this && (a.$$childTail = this.$$prevSibling);
- this.$$prevSibling && (this.$$prevSibling.$$nextSibling = this.$$nextSibling);
- this.$$nextSibling && (this.$$nextSibling.$$prevSibling = this.$$prevSibling);
- this.$destroy = this.$digest = this.$apply = this.$evalAsync = this.$applyAsync = C;
- this.$on = this.$watch = this.$watchGroup = function () {
- return C
- };
- this.$$listeners = {};
- this.$parent = this.$$nextSibling = this.$$prevSibling = this.$$childHead =
- this.$$childTail = this.$root = this.$$watchers = null
- }
- }
- }, $eval: function (a, b) {
- return g(a)(this, b)
- }, $evalAsync: function (a, b) {
- r.$$phase || O.length || h.defer(function () {
- O.length && r.$digest()
- });
- O.push({scope: this, expression: a, locals: b})
- }, $$postDigest: function (a) {
- n.push(a)
- }, $apply: function (a) {
- try {
- return k("$apply"), this.$eval(a)
- } catch (b) {
- f(b)
- } finally {
- r.$$phase = null;
- try {
- r.$digest()
- } catch (c) {
- throw f(c), c;
- }
- }
- }, $applyAsync: function (a) {
- function b() {
- c.$eval(a)
- }
-
- var c = this;
- a && v.push(b);
- u()
- }, $on: function (a, b) {
- var c = this.$$listeners[a];
- c || (this.$$listeners[a] = c = []);
- c.push(b);
- var d = this;
- do d.$$listenerCount[a] || (d.$$listenerCount[a] = 0), d.$$listenerCount[a]++; while (d = d.$parent);
- var e = this;
- return function () {
- var d = c.indexOf(b);
- -1 !== d && (c[d] = null, m(e, 1, a))
- }
- }, $emit: function (a, b) {
- var c = [], d, e = this, g = !1, h = {
- name: a, targetScope: e, stopPropagation: function () {
- g = !0
- }, preventDefault: function () {
- h.defaultPrevented = !0
- }, defaultPrevented: !1
- }, l = Ya([h], arguments, 1), k, p;
- do {
- d = e.$$listeners[a] || c;
- h.currentScope = e;
- k = 0;
- for (p = d.length; k < p; k++)if (d[k])try {
- d[k].apply(null,
- l)
- } catch (m) {
- f(m)
- } else d.splice(k, 1), k--, p--;
- if (g)return h.currentScope = null, h;
- e = e.$parent
- } while (e);
- h.currentScope = null;
- return h
- }, $broadcast: function (a, b) {
- var c = this, d = this, e = {
- name: a, targetScope: this, preventDefault: function () {
- e.defaultPrevented = !0
- }, defaultPrevented: !1
- };
- if (!this.$$listenerCount[a])return e;
- for (var g = Ya([e], arguments, 1), h, l; c = d;) {
- e.currentScope = c;
- d = c.$$listeners[a] || [];
- h = 0;
- for (l = d.length; h < l; h++)if (d[h])try {
- d[h].apply(null, g)
- } catch (k) {
- f(k)
- } else d.splice(h, 1), h--, l--;
- if (!(d = c.$$listenerCount[a] &&
- c.$$childHead || c !== this && c.$$nextSibling))for (; c !== this && !(d = c.$$nextSibling);)c = c.$parent
- }
- e.currentScope = null;
- return e
- }
- };
- var r = new l, O = r.$$asyncQueue = [], n = r.$$postDigestQueue = [], v = r.$$applyAsyncQueue = [];
- return r
- }]
- }
-
- function Sd() {
- var b = /^\s*(https?|ftp|mailto|tel|file):/, a = /^\s*((https?|ftp|file|blob):|data:image\/)/;
- this.aHrefSanitizationWhitelist = function (a) {
- return y(a) ? (b = a, this) : b
- };
- this.imgSrcSanitizationWhitelist = function (b) {
- return y(b) ? (a = b, this) : a
- };
- this.$get = function () {
- return function (c, d) {
- var e =
- d ? a : b, f;
- f = Ba(c).href;
- return "" === f || f.match(e) ? c : "unsafe:" + f
- }
- }
- }
-
- function Df(b) {
- if ("self" === b)return b;
- if (F(b)) {
- if (-1 < b.indexOf("***"))throw Ca("iwcard", b);
- b = gd(b).replace("\\*\\*", ".*").replace("\\*", "[^:/.?&;]*");
- return new RegExp("^" + b + "$")
- }
- if (ob(b))return new RegExp("^" + b.source + "$");
- throw Ca("imatcher");
- }
-
- function hd(b) {
- var a = [];
- y(b) && s(b, function (b) {
- a.push(Df(b))
- });
- return a
- }
-
- function Te() {
- this.SCE_CONTEXTS = ma;
- var b = ["self"], a = [];
- this.resourceUrlWhitelist = function (a) {
- arguments.length && (b = hd(a));
- return b
- };
- this.resourceUrlBlacklist = function (b) {
- arguments.length && (a = hd(b));
- return a
- };
- this.$get = ["$injector", function (c) {
- function d(a, b) {
- return "self" === a ? Zc(b) : !!a.exec(b.href)
- }
-
- function e(a) {
- var b = function (a) {
- this.$$unwrapTrustedValue = function () {
- return a
- }
- };
- a && (b.prototype = new a);
- b.prototype.valueOf = function () {
- return this.$$unwrapTrustedValue()
- };
- b.prototype.toString = function () {
- return this.$$unwrapTrustedValue().toString()
- };
- return b
- }
-
- var f = function (a) {
- throw Ca("unsafe");
- };
- c.has("$sanitize") && (f = c.get("$sanitize"));
- var g = e(), h = {};
- h[ma.HTML] = e(g);
- h[ma.CSS] = e(g);
- h[ma.URL] = e(g);
- h[ma.JS] = e(g);
- h[ma.RESOURCE_URL] = e(h[ma.URL]);
- return {
- trustAs: function (a, b) {
- var c = h.hasOwnProperty(a) ? h[a] : null;
- if (!c)throw Ca("icontext", a, b);
- if (null === b || b === t || "" === b)return b;
- if ("string" !== typeof b)throw Ca("itype", a);
- return new c(b)
- }, getTrusted: function (c, e) {
- if (null === e || e === t || "" === e)return e;
- var g = h.hasOwnProperty(c) ? h[c] : null;
- if (g && e instanceof g)return e.$$unwrapTrustedValue();
- if (c === ma.RESOURCE_URL) {
- var g = Ba(e.toString()), p, q, u =
- !1;
- p = 0;
- for (q = b.length; p < q; p++)if (d(b[p], g)) {
- u = !0;
- break
- }
- if (u)for (p = 0, q = a.length; p < q; p++)if (d(a[p], g)) {
- u = !1;
- break
- }
- if (u)return e;
- throw Ca("insecurl", e.toString());
- }
- if (c === ma.HTML)return f(e);
- throw Ca("unsafe");
- }, valueOf: function (a) {
- return a instanceof g ? a.$$unwrapTrustedValue() : a
- }
- }
- }]
- }
-
- function Se() {
- var b = !0;
- this.enabled = function (a) {
- arguments.length && (b = !!a);
- return b
- };
- this.$get = ["$parse", "$sceDelegate", function (a, c) {
- if (b && 8 > Ra)throw Ca("iequirks");
- var d = qa(ma);
- d.isEnabled = function () {
- return b
- };
- d.trustAs =
- c.trustAs;
- d.getTrusted = c.getTrusted;
- d.valueOf = c.valueOf;
- b || (d.trustAs = d.getTrusted = function (a, b) {
- return b
- }, d.valueOf = oa);
- d.parseAs = function (b, c) {
- var e = a(c);
- return e.literal && e.constant ? e : a(c, function (a) {
- return d.getTrusted(b, a)
- })
- };
- var e = d.parseAs, f = d.getTrusted, g = d.trustAs;
- s(ma, function (a, b) {
- var c = Q(b);
- d[cb("parse_as_" + c)] = function (b) {
- return e(a, b)
- };
- d[cb("get_trusted_" + c)] = function (b) {
- return f(a, b)
- };
- d[cb("trust_as_" + c)] = function (b) {
- return g(a, b)
- }
- });
- return d
- }]
- }
-
- function Ue() {
- this.$get = ["$window", "$document",
- function (b, a) {
- var c = {}, d = ba((/android (\d+)/.exec(Q((b.navigator || {}).userAgent)) || [])[1]), e = /Boxee/i.test((b.navigator || {}).userAgent), f = a[0] || {}, g, h = /^(Moz|webkit|ms)(?=[A-Z])/, l = f.body && f.body.style, k = !1, m = !1;
- if (l) {
- for (var p in l)if (k = h.exec(p)) {
- g = k[0];
- g = g.substr(0, 1).toUpperCase() + g.substr(1);
- break
- }
- g || (g = "WebkitOpacity"in l && "webkit");
- k = !!("transition"in l || g + "Transition"in l);
- m = !!("animation"in l || g + "Animation"in l);
- !d || k && m || (k = F(f.body.style.webkitTransition), m = F(f.body.style.webkitAnimation))
- }
- return {
- history: !(!b.history || !b.history.pushState || 4 > d || e), hasEvent: function (a) {
- if ("input" === a && 11 >= Ra)return !1;
- if (D(c[a])) {
- var b = f.createElement("div");
- c[a] = "on" + a in b
- }
- return c[a]
- }, csp: ab(), vendorPrefix: g, transitions: k, animations: m, android: d
- }
- }]
- }
-
- function We() {
- this.$get = ["$templateCache", "$http", "$q", function (b, a, c) {
- function d(e, f) {
- d.totalPendingRequests++;
- var g = a.defaults && a.defaults.transformResponse;
- x(g) ? g = g.filter(function (a) {
- return a !== Yb
- }) : g === Yb && (g = null);
- return a.get(e, {cache: b, transformResponse: g}).then(function (a) {
- d.totalPendingRequests--;
- return a.data
- }, function (a) {
- d.totalPendingRequests--;
- if (!f)throw ja("tpload", e);
- return c.reject(a)
- })
- }
-
- d.totalPendingRequests = 0;
- return d
- }]
- }
-
- function Xe() {
- this.$get = ["$rootScope", "$browser", "$location", function (b, a, c) {
- return {
- findBindings: function (a, b, c) {
- a = a.getElementsByClassName("ng-binding");
- var g = [];
- s(a, function (a) {
- var d = ga.element(a).data("$binding");
- d && s(d, function (d) {
- c ? (new RegExp("(^|\\s)" + gd(b) + "(\\s|\\||$)")).test(d) && g.push(a) : -1 != d.indexOf(b) && g.push(a)
- })
- });
- return g
- }, findModels: function (a, b,
- c) {
- for (var g = ["ng-", "data-ng-", "ng\\:"], h = 0; h < g.length; ++h) {
- var l = a.querySelectorAll("[" + g[h] + "model" + (c ? "=" : "*=") + '"' + b + '"]');
- if (l.length)return l
- }
- }, getLocation: function () {
- return c.url()
- }, setLocation: function (a) {
- a !== c.url() && (c.url(a), b.$digest())
- }, whenStable: function (b) {
- a.notifyWhenNoOutstandingRequests(b)
- }
- }
- }]
- }
-
- function Ye() {
- this.$get = ["$rootScope", "$browser", "$q", "$$q", "$exceptionHandler", function (b, a, c, d, e) {
- function f(f, l, k) {
- var m = y(k) && !k, p = (m ? d : c).defer(), q = p.promise;
- l = a.defer(function () {
- try {
- p.resolve(f())
- } catch (a) {
- p.reject(a),
- e(a)
- } finally {
- delete g[q.$$timeoutId]
- }
- m || b.$apply()
- }, l);
- q.$$timeoutId = l;
- g[l] = p;
- return q
- }
-
- var g = {};
- f.cancel = function (b) {
- return b && b.$$timeoutId in g ? (g[b.$$timeoutId].reject("canceled"), delete g[b.$$timeoutId], a.defer.cancel(b.$$timeoutId)) : !1
- };
- return f
- }]
- }
-
- function Ba(b) {
- Ra && (Z.setAttribute("href", b), b = Z.href);
- Z.setAttribute("href", b);
- return {
- href: Z.href,
- protocol: Z.protocol ? Z.protocol.replace(/:$/, "") : "",
- host: Z.host,
- search: Z.search ? Z.search.replace(/^\?/, "") : "",
- hash: Z.hash ? Z.hash.replace(/^#/, "") : "",
- hostname: Z.hostname,
- port: Z.port,
- pathname: "/" === Z.pathname.charAt(0) ? Z.pathname : "/" + Z.pathname
- }
- }
-
- function Zc(b) {
- b = F(b) ? Ba(b) : b;
- return b.protocol === id.protocol && b.host === id.host
- }
-
- function Ze() {
- this.$get = da(M)
- }
-
- function Dc(b) {
- function a(c, d) {
- if (H(c)) {
- var e = {};
- s(c, function (b, c) {
- e[c] = a(c, b)
- });
- return e
- }
- return b.factory(c + "Filter", d)
- }
-
- this.register = a;
- this.$get = ["$injector", function (a) {
- return function (b) {
- return a.get(b + "Filter")
- }
- }];
- a("currency", jd);
- a("date", kd);
- a("filter", Ef);
- a("json", Ff);
- a("limitTo", Gf);
- a("lowercase", Hf);
- a("number",
- ld);
- a("orderBy", md);
- a("uppercase", If)
- }
-
- function Ef() {
- return function (b, a, c) {
- if (!x(b))return b;
- var d;
- switch (typeof a) {
- case "function":
- break;
- case "boolean":
- case "number":
- case "string":
- d = !0;
- case "object":
- a = Jf(a, c, d);
- break;
- default:
- return b
- }
- return b.filter(a)
- }
- }
-
- function Jf(b, a, c) {
- var d = H(b) && "$"in b;
- !0 === a ? a = fa : G(a) || (a = function (a, b) {
- if (H(a) || H(b))return !1;
- a = Q("" + a);
- b = Q("" + b);
- return -1 !== a.indexOf(b)
- });
- return function (e) {
- return d && !H(e) ? Ia(e, b.$, a, !1) : Ia(e, b, a, c)
- }
- }
-
- function Ia(b, a, c, d, e) {
- var f = typeof b, g =
- typeof a;
- if ("string" === g && "!" === a.charAt(0))return !Ia(b, a.substring(1), c, d);
- if ("array" === f)return b.some(function (b) {
- return Ia(b, a, c, d)
- });
- switch (f) {
- case "object":
- var h;
- if (d) {
- for (h in b)if ("$" !== h.charAt(0) && Ia(b[h], a, c, !0))return !0;
- return e ? !1 : Ia(b, a, c, !1)
- }
- if ("object" === g) {
- for (h in a)if (e = a[h], !G(e) && (f = "$" === h, !Ia(f ? b : b[h], e, c, f, f)))return !1;
- return !0
- }
- return c(b, a);
- case "function":
- return !1;
- default:
- return c(b, a)
- }
- }
-
- function jd(b) {
- var a = b.NUMBER_FORMATS;
- return function (b, d, e) {
- D(d) && (d = a.CURRENCY_SYM);
- D(e) && (e = a.PATTERNS[1].maxFrac);
- return null == b ? b : nd(b, a.PATTERNS[1], a.GROUP_SEP, a.DECIMAL_SEP, e).replace(/\u00A4/g, d)
- }
- }
-
- function ld(b) {
- var a = b.NUMBER_FORMATS;
- return function (b, d) {
- return null == b ? b : nd(b, a.PATTERNS[0], a.GROUP_SEP, a.DECIMAL_SEP, d)
- }
- }
-
- function nd(b, a, c, d, e) {
- if (!isFinite(b) || H(b))return "";
- var f = 0 > b;
- b = Math.abs(b);
- var g = b + "", h = "", l = [], k = !1;
- if (-1 !== g.indexOf("e")) {
- var m = g.match(/([\d\.]+)e(-?)(\d+)/);
- m && "-" == m[2] && m[3] > e + 1 ? b = 0 : (h = g, k = !0)
- }
- if (k)0 < e && 1 > b && (h = b.toFixed(e), b = parseFloat(h)); else {
- g =
- (g.split(od)[1] || "").length;
- D(e) && (e = Math.min(Math.max(a.minFrac, g), a.maxFrac));
- b = +(Math.round(+(b.toString() + "e" + e)).toString() + "e" + -e);
- var g = ("" + b).split(od), k = g[0], g = g[1] || "", p = 0, q = a.lgSize, u = a.gSize;
- if (k.length >= q + u)for (p = k.length - q, m = 0; m < p; m++)0 === (p - m) % u && 0 !== m && (h += c), h += k.charAt(m);
- for (m = p; m < k.length; m++)0 === (k.length - m) % q && 0 !== m && (h += c), h += k.charAt(m);
- for (; g.length < e;)g += "0";
- e && "0" !== e && (h += d + g.substr(0, e))
- }
- 0 === b && (f = !1);
- l.push(f ? a.negPre : a.posPre, h, f ? a.negSuf : a.posSuf);
- return l.join("")
- }
-
- function Hb(b, a, c) {
- var d = "";
- 0 > b && (d = "-", b = -b);
- for (b = "" + b; b.length < a;)b = "0" + b;
- c && (b = b.substr(b.length - a));
- return d + b
- }
-
- function $(b, a, c, d) {
- c = c || 0;
- return function (e) {
- e = e["get" + b]();
- if (0 < c || e > -c)e += c;
- 0 === e && -12 == c && (e = 12);
- return Hb(e, a, d)
- }
- }
-
- function Ib(b, a) {
- return function (c, d) {
- var e = c["get" + b](), f = ub(a ? "SHORT" + b : b);
- return d[f][e]
- }
- }
-
- function pd(b) {
- var a = (new Date(b, 0, 1)).getDay();
- return new Date(b, 0, (4 >= a ? 5 : 12) - a)
- }
-
- function qd(b) {
- return function (a) {
- var c = pd(a.getFullYear());
- a = +new Date(a.getFullYear(), a.getMonth(),
- a.getDate() + (4 - a.getDay())) - +c;
- a = 1 + Math.round(a / 6048E5);
- return Hb(a, b)
- }
- }
-
- function kd(b) {
- function a(a) {
- var b;
- if (b = a.match(c)) {
- a = new Date(0);
- var f = 0, g = 0, h = b[8] ? a.setUTCFullYear : a.setFullYear, l = b[8] ? a.setUTCHours : a.setHours;
- b[9] && (f = ba(b[9] + b[10]), g = ba(b[9] + b[11]));
- h.call(a, ba(b[1]), ba(b[2]) - 1, ba(b[3]));
- f = ba(b[4] || 0) - f;
- g = ba(b[5] || 0) - g;
- h = ba(b[6] || 0);
- b = Math.round(1E3 * parseFloat("0." + (b[7] || 0)));
- l.call(a, f, g, h, b)
- }
- return a
- }
-
- var c = /^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;
- return function (c, e, f) {
- var g = "", h = [], l, k;
- e = e || "mediumDate";
- e = b.DATETIME_FORMATS[e] || e;
- F(c) && (c = Kf.test(c) ? ba(c) : a(c));
- V(c) && (c = new Date(c));
- if (!pa(c))return c;
- for (; e;)(k = Lf.exec(e)) ? (h = Ya(h, k, 1), e = h.pop()) : (h.push(e), e = null);
- f && "UTC" === f && (c = new Date(c.getTime()), c.setMinutes(c.getMinutes() + c.getTimezoneOffset()));
- s(h, function (a) {
- l = Mf[a];
- g += l ? l(c, b.DATETIME_FORMATS) : a.replace(/(^'|'$)/g, "").replace(/''/g, "'")
- });
- return g
- }
- }
-
- function Ff() {
- return function (b, a) {
- D(a) && (a = 2);
- return $a(b, a)
- }
- }
-
- function Gf() {
- return function (b,
- a) {
- V(b) && (b = b.toString());
- if (!x(b) && !F(b))return b;
- a = Infinity === Math.abs(Number(a)) ? Number(a) : ba(a);
- if (F(b))return a ? 0 <= a ? b.slice(0, a) : b.slice(a, b.length) : "";
- var c, d;
- a > b.length ? a = b.length : a < -b.length && (a = -b.length);
- if (0 < a)c = 0, d = a; else {
- if (!a)return [];
- c = b.length + a;
- d = b.length
- }
- return b.slice(c, d)
- }
- }
-
- function md(b) {
- return function (a, c, d) {
- function e(a, b) {
- return b ? function (b, c) {
- return a(c, b)
- } : a
- }
-
- function f(a) {
- switch (typeof a) {
- case "number":
- case "boolean":
- case "string":
- return !0;
- default:
- return !1
- }
- }
-
- function g(a) {
- return null ===
- a ? "null" : "function" === typeof a.valueOf && (a = a.valueOf(), f(a)) || "function" === typeof a.toString && (a = a.toString(), f(a)) ? a : ""
- }
-
- function h(a, b) {
- var c = typeof a, d = typeof b;
- c === d && "object" === c && (a = g(a), b = g(b));
- return c === d ? ("string" === c && (a = a.toLowerCase(), b = b.toLowerCase()), a === b ? 0 : a < b ? -1 : 1) : c < d ? -1 : 1
- }
-
- if (!Ta(a))return a;
- c = x(c) ? c : [c];
- 0 === c.length && (c = ["+"]);
- c = c.map(function (a) {
- var c = !1, d = a || oa;
- if (F(a)) {
- if ("+" == a.charAt(0) || "-" == a.charAt(0))c = "-" == a.charAt(0), a = a.substring(1);
- if ("" === a)return e(h, c);
- d = b(a);
- if (d.constant) {
- var f =
- d();
- return e(function (a, b) {
- return h(a[f], b[f])
- }, c)
- }
- }
- return e(function (a, b) {
- return h(d(a), d(b))
- }, c)
- });
- return Za.call(a).sort(e(function (a, b) {
- for (var d = 0; d < c.length; d++) {
- var e = c[d](a, b);
- if (0 !== e)return e
- }
- return 0
- }, d))
- }
- }
-
- function Ja(b) {
- G(b) && (b = {link: b});
- b.restrict = b.restrict || "AC";
- return da(b)
- }
-
- function rd(b, a, c, d, e) {
- var f = this, g = [], h = f.$$parentForm = b.parent().controller("form") || Jb;
- f.$error = {};
- f.$$success = {};
- f.$pending = t;
- f.$name = e(a.name || a.ngForm || "")(c);
- f.$dirty = !1;
- f.$pristine = !0;
- f.$valid = !0;
- f.$invalid = !1;
- f.$submitted = !1;
- h.$addControl(f);
- f.$rollbackViewValue = function () {
- s(g, function (a) {
- a.$rollbackViewValue()
- })
- };
- f.$commitViewValue = function () {
- s(g, function (a) {
- a.$commitViewValue()
- })
- };
- f.$addControl = function (a) {
- Ma(a.$name, "input");
- g.push(a);
- a.$name && (f[a.$name] = a)
- };
- f.$$renameControl = function (a, b) {
- var c = a.$name;
- f[c] === a && delete f[c];
- f[b] = a;
- a.$name = b
- };
- f.$removeControl = function (a) {
- a.$name && f[a.$name] === a && delete f[a.$name];
- s(f.$pending, function (b, c) {
- f.$setValidity(c, null, a)
- });
- s(f.$error, function (b, c) {
- f.$setValidity(c,
- null, a)
- });
- Xa(g, a)
- };
- sd({
- ctrl: this, $element: b, set: function (a, b, c) {
- var d = a[b];
- d ? -1 === d.indexOf(c) && d.push(c) : a[b] = [c]
- }, unset: function (a, b, c) {
- var d = a[b];
- d && (Xa(d, c), 0 === d.length && delete a[b])
- }, parentForm: h, $animate: d
- });
- f.$setDirty = function () {
- d.removeClass(b, Sa);
- d.addClass(b, Kb);
- f.$dirty = !0;
- f.$pristine = !1;
- h.$setDirty()
- };
- f.$setPristine = function () {
- d.setClass(b, Sa, Kb + " ng-submitted");
- f.$dirty = !1;
- f.$pristine = !0;
- f.$submitted = !1;
- s(g, function (a) {
- a.$setPristine()
- })
- };
- f.$setUntouched = function () {
- s(g, function (a) {
- a.$setUntouched()
- })
- };
- f.$setSubmitted = function () {
- d.addClass(b, "ng-submitted");
- f.$submitted = !0;
- h.$setSubmitted()
- }
- }
-
- function hc(b) {
- b.$formatters.push(function (a) {
- return b.$isEmpty(a) ? a : a.toString()
- })
- }
-
- function ib(b, a, c, d, e, f) {
- var g = Q(a[0].type);
- if (!e.android) {
- var h = !1;
- a.on("compositionstart", function (a) {
- h = !0
- });
- a.on("compositionend", function () {
- h = !1;
- l()
- })
- }
- var l = function (b) {
- k && (f.defer.cancel(k), k = null);
- if (!h) {
- var e = a.val();
- b = b && b.type;
- "password" === g || c.ngTrim && "false" === c.ngTrim || (e = U(e));
- (d.$viewValue !== e || "" === e && d.$$hasNativeValidators) &&
- d.$setViewValue(e, b)
- }
- };
- if (e.hasEvent("input"))a.on("input", l); else {
- var k, m = function (a, b, c) {
- k || (k = f.defer(function () {
- k = null;
- b && b.value === c || l(a)
- }))
- };
- a.on("keydown", function (a) {
- var b = a.keyCode;
- 91 === b || 15 < b && 19 > b || 37 <= b && 40 >= b || m(a, this, this.value)
- });
- if (e.hasEvent("paste"))a.on("paste cut", m)
- }
- a.on("change", l);
- d.$render = function () {
- a.val(d.$isEmpty(d.$viewValue) ? "" : d.$viewValue)
- }
- }
-
- function Lb(b, a) {
- return function (c, d) {
- var e, f;
- if (pa(c))return c;
- if (F(c)) {
- '"' == c.charAt(0) && '"' == c.charAt(c.length - 1) && (c = c.substring(1,
- c.length - 1));
- if (Nf.test(c))return new Date(c);
- b.lastIndex = 0;
- if (e = b.exec(c))return e.shift(), f = d ? {
- yyyy: d.getFullYear(),
- MM: d.getMonth() + 1,
- dd: d.getDate(),
- HH: d.getHours(),
- mm: d.getMinutes(),
- ss: d.getSeconds(),
- sss: d.getMilliseconds() / 1E3
- } : {yyyy: 1970, MM: 1, dd: 1, HH: 0, mm: 0, ss: 0, sss: 0}, s(e, function (b, c) {
- c < a.length && (f[a[c]] = +b)
- }), new Date(f.yyyy, f.MM - 1, f.dd, f.HH, f.mm, f.ss || 0, 1E3 * f.sss || 0)
- }
- return NaN
- }
- }
-
- function jb(b, a, c, d) {
- return function (e, f, g, h, l, k, m) {
- function p(a) {
- return a && !(a.getTime && a.getTime() !== a.getTime())
- }
-
- function q(a) {
- return y(a) ? pa(a) ? a : c(a) : t
- }
-
- td(e, f, g, h);
- ib(e, f, g, h, l, k);
- var u = h && h.$options && h.$options.timezone, r;
- h.$$parserName = b;
- h.$parsers.push(function (b) {
- return h.$isEmpty(b) ? null : a.test(b) ? (b = c(b, r), "UTC" === u && b.setMinutes(b.getMinutes() - b.getTimezoneOffset()), b) : t
- });
- h.$formatters.push(function (a) {
- if (a && !pa(a))throw Mb("datefmt", a);
- if (p(a)) {
- if ((r = a) && "UTC" === u) {
- var b = 6E4 * r.getTimezoneOffset();
- r = new Date(r.getTime() + b)
- }
- return m("date")(a, d, u)
- }
- r = null;
- return ""
- });
- if (y(g.min) || g.ngMin) {
- var s;
- h.$validators.min =
- function (a) {
- return !p(a) || D(s) || c(a) >= s
- };
- g.$observe("min", function (a) {
- s = q(a);
- h.$validate()
- })
- }
- if (y(g.max) || g.ngMax) {
- var n;
- h.$validators.max = function (a) {
- return !p(a) || D(n) || c(a) <= n
- };
- g.$observe("max", function (a) {
- n = q(a);
- h.$validate()
- })
- }
- }
- }
-
- function td(b, a, c, d) {
- (d.$$hasNativeValidators = H(a[0].validity)) && d.$parsers.push(function (b) {
- var c = a.prop("validity") || {};
- return c.badInput && !c.typeMismatch ? t : b
- })
- }
-
- function ud(b, a, c, d, e) {
- if (y(d)) {
- b = b(d);
- if (!b.constant)throw T("ngModel")("constexpr", c, d);
- return b(a)
- }
- return e
- }
-
- function sd(b) {
- function a(a, b) {
- b && !f[a] ? (k.addClass(e, a), f[a] = !0) : !b && f[a] && (k.removeClass(e, a), f[a] = !1)
- }
-
- function c(b, c) {
- b = b ? "-" + tc(b, "-") : "";
- a(kb + b, !0 === c);
- a(vd + b, !1 === c)
- }
-
- var d = b.ctrl, e = b.$element, f = {}, g = b.set, h = b.unset, l = b.parentForm, k = b.$animate;
- f[vd] = !(f[kb] = e.hasClass(kb));
- d.$setValidity = function (b, e, f) {
- e === t ? (d.$pending || (d.$pending = {}), g(d.$pending, b, f)) : (d.$pending && h(d.$pending, b, f), wd(d.$pending) && (d.$pending = t));
- Wa(e) ? e ? (h(d.$error, b, f), g(d.$$success, b, f)) : (g(d.$error, b, f), h(d.$$success,
- b, f)) : (h(d.$error, b, f), h(d.$$success, b, f));
- d.$pending ? (a(xd, !0), d.$valid = d.$invalid = t, c("", null)) : (a(xd, !1), d.$valid = wd(d.$error), d.$invalid = !d.$valid, c("", d.$valid));
- e = d.$pending && d.$pending[b] ? t : d.$error[b] ? !1 : d.$$success[b] ? !0 : null;
- c(b, e);
- l.$setValidity(b, e, d)
- }
- }
-
- function wd(b) {
- if (b)for (var a in b)return !1;
- return !0
- }
-
- function ic(b, a) {
- b = "ngClass" + b;
- return ["$animate", function (c) {
- function d(a, b) {
- var c = [], d = 0;
- a:for (; d < a.length; d++) {
- for (var e = a[d], m = 0; m < b.length; m++)if (e == b[m])continue a;
- c.push(e)
- }
- return c
- }
-
- function e(a) {
- if (!x(a)) {
- if (F(a))return a.split(" ");
- if (H(a)) {
- var b = [];
- s(a, function (a, c) {
- a && (b = b.concat(c.split(" ")))
- });
- return b
- }
- }
- return a
- }
-
- return {
- restrict: "AC", link: function (f, g, h) {
- function l(a, b) {
- var c = g.data("$classCounts") || {}, d = [];
- s(a, function (a) {
- if (0 < b || c[a])c[a] = (c[a] || 0) + b, c[a] === +(0 < b) && d.push(a)
- });
- g.data("$classCounts", c);
- return d.join(" ")
- }
-
- function k(b) {
- if (!0 === a || f.$index % 2 === a) {
- var k = e(b || []);
- if (!m) {
- var u = l(k, 1);
- h.$addClass(u)
- } else if (!fa(b, m)) {
- var r = e(m), u = d(k, r), k = d(r, k), u = l(u, 1), k =
- l(k, -1);
- u && u.length && c.addClass(g, u);
- k && k.length && c.removeClass(g, k)
- }
- }
- m = qa(b)
- }
-
- var m;
- f.$watch(h[b], k, !0);
- h.$observe("class", function (a) {
- k(f.$eval(h[b]))
- });
- "ngClass" !== b && f.$watch("$index", function (c, d) {
- var g = c & 1;
- if (g !== (d & 1)) {
- var k = e(f.$eval(h[b]));
- g === a ? (g = l(k, 1), h.$addClass(g)) : (g = l(k, -1), h.$removeClass(g))
- }
- })
- }
- }
- }]
- }
-
- var Of = /^\/(.+)\/([a-z]*)$/, Q = function (b) {
- return F(b) ? b.toLowerCase() : b
- }, rc = Object.prototype.hasOwnProperty, ub = function (b) {
- return F(b) ? b.toUpperCase() : b
- }, Ra, B, ra, Za = [].slice, rf = [].splice,
- Pf = [].push, Da = Object.prototype.toString, Ka = T("ng"), ga = M.angular || (M.angular = {}), bb, nb = 0;
- Ra = Y.documentMode;
- C.$inject = [];
- oa.$inject = [];
- var x = Array.isArray, U = function (b) {
- return F(b) ? b.trim() : b
- }, gd = function (b) {
- return b.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g, "\\$1").replace(/\x08/g, "\\x08")
- }, ab = function () {
- if (y(ab.isActive_))return ab.isActive_;
- var b = !(!Y.querySelector("[ng-csp]") && !Y.querySelector("[data-ng-csp]"));
- if (!b)try {
- new Function("")
- } catch (a) {
- b = !0
- }
- return ab.isActive_ = b
- }, rb = ["ng-", "data-ng-", "ng:",
- "x-ng-"], Md = /[A-Z]/g, uc = !1, Pb, na = 1, pb = 3, Qd = {
- full: "1.3.8",
- major: 1,
- minor: 3,
- dot: 8,
- codeName: "prophetic-narwhal"
- };
- R.expando = "ng339";
- var zb = R.cache = {}, hf = 1;
- R._data = function (b) {
- return this.cache[b[this.expando]] || {}
- };
- var cf = /([\:\-\_]+(.))/g, df = /^moz([A-Z])/, Qf = {
- mouseleave: "mouseout",
- mouseenter: "mouseover"
- }, Sb = T("jqLite"), gf = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, Rb = /<|&#?\w+;/, ef = /<([\w:]+)/, ff = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, ia = {
- option: [1, '<select multiple="multiple">',
- "</select>"],
- thead: [1, "<table>", "</table>"],
- col: [2, "<table><colgroup>", "</colgroup></table>"],
- tr: [2, "<table><tbody>", "</tbody></table>"],
- td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
- _default: [0, "", ""]
- };
- ia.optgroup = ia.option;
- ia.tbody = ia.tfoot = ia.colgroup = ia.caption = ia.thead;
- ia.th = ia.td;
- var La = R.prototype = {
- ready: function (b) {
- function a() {
- c || (c = !0, b())
- }
-
- var c = !1;
- "complete" === Y.readyState ? setTimeout(a) : (this.on("DOMContentLoaded", a), R(M).on("load", a))
- }, toString: function () {
- var b = [];
- s(this, function (a) {
- b.push("" +
- a)
- });
- return "[" + b.join(", ") + "]"
- }, eq: function (b) {
- return 0 <= b ? B(this[b]) : B(this[this.length + b])
- }, length: 0, push: Pf, sort: [].sort, splice: [].splice
- }, Eb = {};
- s("multiple selected checked disabled readOnly required open".split(" "), function (b) {
- Eb[Q(b)] = b
- });
- var Mc = {};
- s("input select option textarea button form details".split(" "), function (b) {
- Mc[b] = !0
- });
- var Nc = {ngMinlength: "minlength", ngMaxlength: "maxlength", ngMin: "min", ngMax: "max", ngPattern: "pattern"};
- s({data: Ub, removeData: xb}, function (b, a) {
- R[a] = b
- });
- s({
- data: Ub,
- inheritedData: Db, scope: function (b) {
- return B.data(b, "$scope") || Db(b.parentNode || b, ["$isolateScope", "$scope"])
- }, isolateScope: function (b) {
- return B.data(b, "$isolateScope") || B.data(b, "$isolateScopeNoTemplate")
- }, controller: Ic, injector: function (b) {
- return Db(b, "$injector")
- }, removeAttr: function (b, a) {
- b.removeAttribute(a)
- }, hasClass: Ab, css: function (b, a, c) {
- a = cb(a);
- if (y(c))b.style[a] = c; else return b.style[a]
- }, attr: function (b, a, c) {
- var d = Q(a);
- if (Eb[d])if (y(c))c ? (b[a] = !0, b.setAttribute(a, d)) : (b[a] = !1, b.removeAttribute(d));
- else return b[a] || (b.attributes.getNamedItem(a) || C).specified ? d : t; else if (y(c))b.setAttribute(a, c); else if (b.getAttribute)return b = b.getAttribute(a, 2), null === b ? t : b
- }, prop: function (b, a, c) {
- if (y(c))b[a] = c; else return b[a]
- }, text: function () {
- function b(a, b) {
- if (D(b)) {
- var d = a.nodeType;
- return d === na || d === pb ? a.textContent : ""
- }
- a.textContent = b
- }
-
- b.$dv = "";
- return b
- }(), val: function (b, a) {
- if (D(a)) {
- if (b.multiple && "select" === ua(b)) {
- var c = [];
- s(b.options, function (a) {
- a.selected && c.push(a.value || a.text)
- });
- return 0 === c.length ?
- null : c
- }
- return b.value
- }
- b.value = a
- }, html: function (b, a) {
- if (D(a))return b.innerHTML;
- wb(b, !0);
- b.innerHTML = a
- }, empty: Jc
- }, function (b, a) {
- R.prototype[a] = function (a, d) {
- var e, f, g = this.length;
- if (b !== Jc && (2 == b.length && b !== Ab && b !== Ic ? a : d) === t) {
- if (H(a)) {
- for (e = 0; e < g; e++)if (b === Ub)b(this[e], a); else for (f in a)b(this[e], f, a[f]);
- return this
- }
- e = b.$dv;
- g = e === t ? Math.min(g, 1) : g;
- for (f = 0; f < g; f++) {
- var h = b(this[f], a, d);
- e = e ? e + h : h
- }
- return e
- }
- for (e = 0; e < g; e++)b(this[e], a, d);
- return this
- }
- });
- s({
- removeData: xb, on: function a(c, d, e, f) {
- if (y(f))throw Sb("onargs");
- if (Ec(c)) {
- var g = yb(c, !0);
- f = g.events;
- var h = g.handle;
- h || (h = g.handle = lf(c, f));
- for (var g = 0 <= d.indexOf(" ") ? d.split(" ") : [d], l = g.length; l--;) {
- d = g[l];
- var k = f[d];
- k || (f[d] = [], "mouseenter" === d || "mouseleave" === d ? a(c, Qf[d], function (a) {
- var c = a.relatedTarget;
- c && (c === this || this.contains(c)) || h(a, d)
- }) : "$destroy" !== d && c.addEventListener(d, h, !1), k = f[d]);
- k.push(e)
- }
- }
- }, off: Hc, one: function (a, c, d) {
- a = B(a);
- a.on(c, function f() {
- a.off(c, d);
- a.off(c, f)
- });
- a.on(c, d)
- }, replaceWith: function (a, c) {
- var d, e = a.parentNode;
- wb(a);
- s(new R(c),
- function (c) {
- d ? e.insertBefore(c, d.nextSibling) : e.replaceChild(c, a);
- d = c
- })
- }, children: function (a) {
- var c = [];
- s(a.childNodes, function (a) {
- a.nodeType === na && c.push(a)
- });
- return c
- }, contents: function (a) {
- return a.contentDocument || a.childNodes || []
- }, append: function (a, c) {
- var d = a.nodeType;
- if (d === na || 11 === d) {
- c = new R(c);
- for (var d = 0, e = c.length; d < e; d++)a.appendChild(c[d])
- }
- }, prepend: function (a, c) {
- if (a.nodeType === na) {
- var d = a.firstChild;
- s(new R(c), function (c) {
- a.insertBefore(c, d)
- })
- }
- }, wrap: function (a, c) {
- c = B(c).eq(0).clone()[0];
- var d = a.parentNode;
- d && d.replaceChild(c, a);
- c.appendChild(a)
- }, remove: Kc, detach: function (a) {
- Kc(a, !0)
- }, after: function (a, c) {
- var d = a, e = a.parentNode;
- c = new R(c);
- for (var f = 0, g = c.length; f < g; f++) {
- var h = c[f];
- e.insertBefore(h, d.nextSibling);
- d = h
- }
- }, addClass: Cb, removeClass: Bb, toggleClass: function (a, c, d) {
- c && s(c.split(" "), function (c) {
- var f = d;
- D(f) && (f = !Ab(a, c));
- (f ? Cb : Bb)(a, c)
- })
- }, parent: function (a) {
- return (a = a.parentNode) && 11 !== a.nodeType ? a : null
- }, next: function (a) {
- return a.nextElementSibling
- }, find: function (a, c) {
- return a.getElementsByTagName ?
- a.getElementsByTagName(c) : []
- }, clone: Tb, triggerHandler: function (a, c, d) {
- var e, f, g = c.type || c, h = yb(a);
- if (h = (h = h && h.events) && h[g])e = {
- preventDefault: function () {
- this.defaultPrevented = !0
- }, isDefaultPrevented: function () {
- return !0 === this.defaultPrevented
- }, stopImmediatePropagation: function () {
- this.immediatePropagationStopped = !0
- }, isImmediatePropagationStopped: function () {
- return !0 === this.immediatePropagationStopped
- }, stopPropagation: C, type: g, target: a
- }, c.type && (e = z(e, c)), c = qa(h), f = d ? [e].concat(d) : [e], s(c, function (c) {
- e.isImmediatePropagationStopped() ||
- c.apply(a, f)
- })
- }
- }, function (a, c) {
- R.prototype[c] = function (c, e, f) {
- for (var g, h = 0, l = this.length; h < l; h++)D(g) ? (g = a(this[h], c, e, f), y(g) && (g = B(g))) : Gc(g, a(this[h], c, e, f));
- return y(g) ? g : this
- };
- R.prototype.bind = R.prototype.on;
- R.prototype.unbind = R.prototype.off
- });
- db.prototype = {
- put: function (a, c) {
- this[Na(a, this.nextUid)] = c
- }, get: function (a) {
- return this[Na(a, this.nextUid)]
- }, remove: function (a) {
- var c = this[a = Na(a, this.nextUid)];
- delete this[a];
- return c
- }
- };
- var Pc = /^function\s*[^\(]*\(\s*([^\)]*)\)/m, nf = /,/, of = /^\s*(_?)(\S+?)\1\s*$/,
- Oc = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg, Ga = T("$injector");
- Ob.$$annotate = Vb;
- var Rf = T("$animate"), Ce = ["$provide", function (a) {
- this.$$selectors = {};
- this.register = function (c, d) {
- var e = c + "-animation";
- if (c && "." != c.charAt(0))throw Rf("notcsel", c);
- this.$$selectors[c.substr(1)] = e;
- a.factory(e, d)
- };
- this.classNameFilter = function (a) {
- 1 === arguments.length && (this.$$classNameFilter = a instanceof RegExp ? a : null);
- return this.$$classNameFilter
- };
- this.$get = ["$$q", "$$asyncCallback", "$rootScope", function (a, d, e) {
- function f(d) {
- var f,
- g = a.defer();
- g.promise.$$cancelFn = function () {
- f && f()
- };
- e.$$postDigest(function () {
- f = d(function () {
- g.resolve()
- })
- });
- return g.promise
- }
-
- function g(a, c) {
- var d = [], e = [], f = ha();
- s((a.attr("class") || "").split(/\s+/), function (a) {
- f[a] = !0
- });
- s(c, function (a, c) {
- var g = f[c];
- !1 === a && g ? e.push(c) : !0 !== a || g || d.push(c)
- });
- return 0 < d.length + e.length && [d.length ? d : null, e.length ? e : null]
- }
-
- function h(a, c, d) {
- for (var e = 0, f = c.length; e < f; ++e)a[c[e]] = d
- }
-
- function l() {
- m || (m = a.defer(), d(function () {
- m.resolve();
- m = null
- }));
- return m.promise
- }
-
- function k(a,
- c) {
- if (ga.isObject(c)) {
- var d = z(c.from || {}, c.to || {});
- a.css(d)
- }
- }
-
- var m;
- return {
- animate: function (a, c, d) {
- k(a, {from: c, to: d});
- return l()
- }, enter: function (a, c, d, e) {
- k(a, e);
- d ? d.after(a) : c.prepend(a);
- return l()
- }, leave: function (a, c) {
- a.remove();
- return l()
- }, move: function (a, c, d, e) {
- return this.enter(a, c, d, e)
- }, addClass: function (a, c, d) {
- return this.setClass(a, c, [], d)
- }, $$addClassImmediately: function (a, c, d) {
- a = B(a);
- c = F(c) ? c : x(c) ? c.join(" ") : "";
- s(a, function (a) {
- Cb(a, c)
- });
- k(a, d);
- return l()
- }, removeClass: function (a, c, d) {
- return this.setClass(a,
- [], c, d)
- }, $$removeClassImmediately: function (a, c, d) {
- a = B(a);
- c = F(c) ? c : x(c) ? c.join(" ") : "";
- s(a, function (a) {
- Bb(a, c)
- });
- k(a, d);
- return l()
- }, setClass: function (a, c, d, e) {
- var k = this, l = !1;
- a = B(a);
- var m = a.data("$$animateClasses");
- m ? e && m.options && (m.options = ga.extend(m.options || {}, e)) : (m = {
- classes: {},
- options: e
- }, l = !0);
- e = m.classes;
- c = x(c) ? c : c.split(" ");
- d = x(d) ? d : d.split(" ");
- h(e, c, !0);
- h(e, d, !1);
- l && (m.promise = f(function (c) {
- var d = a.data("$$animateClasses");
- a.removeData("$$animateClasses");
- if (d) {
- var e = g(a, d.classes);
- e &&
- k.$$setClassImmediately(a, e[0], e[1], d.options)
- }
- c()
- }), a.data("$$animateClasses", m));
- return m.promise
- }, $$setClassImmediately: function (a, c, d, e) {
- c && this.$$addClassImmediately(a, c);
- d && this.$$removeClassImmediately(a, d);
- k(a, e);
- return l()
- }, enabled: C, cancel: C
- }
- }]
- }], ja = T("$compile");
- wc.$inject = ["$provide", "$$sanitizeUriProvider"];
- var Rc = /^((?:x|data)[\:\-_])/i, Vc = "application/json", Zb = {"Content-Type": Vc + ";charset=utf-8"}, tf = /^\[|^\{(?!\{)/, uf = {
- "[": /]$/,
- "{": /}$/
- }, sf = /^\)\]\}',?\n/, $b = T("$interpolate"), Sf = /^([^\?#]*)(\?([^#]*))?(#(.*))?$/,
- xf = {http: 80, https: 443, ftp: 21}, Fb = T("$location"), Tf = {
- $$html5: !1, $$replace: !1, absUrl: Gb("$$absUrl"), url: function (a) {
- if (D(a))return this.$$url;
- var c = Sf.exec(a);
- (c[1] || "" === a) && this.path(decodeURIComponent(c[1]));
- (c[2] || c[1] || "" === a) && this.search(c[3] || "");
- this.hash(c[5] || "");
- return this
- }, protocol: Gb("$$protocol"), host: Gb("$$host"), port: Gb("$$port"), path: dd("$$path", function (a) {
- a = null !== a ? a.toString() : "";
- return "/" == a.charAt(0) ? a : "/" + a
- }), search: function (a, c) {
- switch (arguments.length) {
- case 0:
- return this.$$search;
- case 1:
- if (F(a) || V(a))a = a.toString(), this.$$search = qc(a); else if (H(a))a = Ea(a, {}), s(a, function (c, e) {
- null == c && delete a[e]
- }), this.$$search = a; else throw Fb("isrcharg");
- break;
- default:
- D(c) || null === c ? delete this.$$search[a] : this.$$search[a] = c
- }
- this.$$compose();
- return this
- }, hash: dd("$$hash", function (a) {
- return null !== a ? a.toString() : ""
- }), replace: function () {
- this.$$replace = !0;
- return this
- }
- };
- s([cd, dc, cc], function (a) {
- a.prototype = Object.create(Tf);
- a.prototype.state = function (c) {
- if (!arguments.length)return this.$$state;
- if (a !== cc || !this.$$html5)throw Fb("nostate");
- this.$$state = D(c) ? null : c;
- return this
- }
- });
- var la = T("$parse"), Uf = Function.prototype.call, Vf = Function.prototype.apply, Wf = Function.prototype.bind, lb = ha();
- s({
- "null": function () {
- return null
- }, "true": function () {
- return !0
- }, "false": function () {
- return !1
- }, undefined: function () {
- }
- }, function (a, c) {
- a.constant = a.literal = a.sharedGetter = !0;
- lb[c] = a
- });
- lb["this"] = function (a) {
- return a
- };
- lb["this"].sharedGetter = !0;
- var mb = z(ha(), {
- "+": function (a, c, d, e) {
- d = d(a, c);
- e = e(a, c);
- return y(d) ? y(e) ?
- d + e : d : y(e) ? e : t
- }, "-": function (a, c, d, e) {
- d = d(a, c);
- e = e(a, c);
- return (y(d) ? d : 0) - (y(e) ? e : 0)
- }, "*": function (a, c, d, e) {
- return d(a, c) * e(a, c)
- }, "/": function (a, c, d, e) {
- return d(a, c) / e(a, c)
- }, "%": function (a, c, d, e) {
- return d(a, c) % e(a, c)
- }, "===": function (a, c, d, e) {
- return d(a, c) === e(a, c)
- }, "!==": function (a, c, d, e) {
- return d(a, c) !== e(a, c)
- }, "==": function (a, c, d, e) {
- return d(a, c) == e(a, c)
- }, "!=": function (a, c, d, e) {
- return d(a, c) != e(a, c)
- }, "<": function (a, c, d, e) {
- return d(a, c) < e(a, c)
- }, ">": function (a, c, d, e) {
- return d(a, c) > e(a, c)
- }, "<=": function (a,
- c, d, e) {
- return d(a, c) <= e(a, c)
- }, ">=": function (a, c, d, e) {
- return d(a, c) >= e(a, c)
- }, "&&": function (a, c, d, e) {
- return d(a, c) && e(a, c)
- }, "||": function (a, c, d, e) {
- return d(a, c) || e(a, c)
- }, "!": function (a, c, d) {
- return !d(a, c)
- }, "=": !0, "|": !0
- }), Xf = {n: "\n", f: "\f", r: "\r", t: "\t", v: "\v", "'": "'", '"': '"'}, gc = function (a) {
- this.options = a
- };
- gc.prototype = {
- constructor: gc, lex: function (a) {
- this.text = a;
- this.index = 0;
- for (this.tokens = []; this.index < this.text.length;)if (a = this.text.charAt(this.index), '"' === a || "'" === a)this.readString(a); else if (this.isNumber(a) ||
- "." === a && this.isNumber(this.peek()))this.readNumber(); else if (this.isIdent(a))this.readIdent(); else if (this.is(a, "(){}[].,;:?"))this.tokens.push({
- index: this.index,
- text: a
- }), this.index++; else if (this.isWhitespace(a))this.index++; else {
- var c = a + this.peek(), d = c + this.peek(2), e = mb[c], f = mb[d];
- mb[a] || e || f ? (a = f ? d : e ? c : a, this.tokens.push({
- index: this.index,
- text: a,
- operator: !0
- }), this.index += a.length) : this.throwError("Unexpected next character ", this.index, this.index + 1)
- }
- return this.tokens
- }, is: function (a, c) {
- return -1 !==
- c.indexOf(a)
- }, peek: function (a) {
- a = a || 1;
- return this.index + a < this.text.length ? this.text.charAt(this.index + a) : !1
- }, isNumber: function (a) {
- return "0" <= a && "9" >= a && "string" === typeof a
- }, isWhitespace: function (a) {
- return " " === a || "\r" === a || "\t" === a || "\n" === a || "\v" === a || "\u00a0" === a
- }, isIdent: function (a) {
- return "a" <= a && "z" >= a || "A" <= a && "Z" >= a || "_" === a || "$" === a
- }, isExpOperator: function (a) {
- return "-" === a || "+" === a || this.isNumber(a)
- }, throwError: function (a, c, d) {
- d = d || this.index;
- c = y(c) ? "s " + c + "-" + this.index + " [" + this.text.substring(c,
- d) + "]" : " " + d;
- throw la("lexerr", a, c, this.text);
- }, readNumber: function () {
- for (var a = "", c = this.index; this.index < this.text.length;) {
- var d = Q(this.text.charAt(this.index));
- if ("." == d || this.isNumber(d))a += d; else {
- var e = this.peek();
- if ("e" == d && this.isExpOperator(e))a += d; else if (this.isExpOperator(d) && e && this.isNumber(e) && "e" == a.charAt(a.length - 1))a += d; else if (!this.isExpOperator(d) || e && this.isNumber(e) || "e" != a.charAt(a.length - 1))break; else this.throwError("Invalid exponent")
- }
- this.index++
- }
- this.tokens.push({
- index: c,
- text: a, constant: !0, value: Number(a)
- })
- }, readIdent: function () {
- for (var a = this.index; this.index < this.text.length;) {
- var c = this.text.charAt(this.index);
- if (!this.isIdent(c) && !this.isNumber(c))break;
- this.index++
- }
- this.tokens.push({index: a, text: this.text.slice(a, this.index), identifier: !0})
- }, readString: function (a) {
- var c = this.index;
- this.index++;
- for (var d = "", e = a, f = !1; this.index < this.text.length;) {
- var g = this.text.charAt(this.index), e = e + g;
- if (f)"u" === g ? (f = this.text.substring(this.index + 1, this.index + 5), f.match(/[\da-f]{4}/i) ||
- this.throwError("Invalid unicode escape [\\u" + f + "]"), this.index += 4, d += String.fromCharCode(parseInt(f, 16))) : d += Xf[g] || g, f = !1; else if ("\\" === g)f = !0; else {
- if (g === a) {
- this.index++;
- this.tokens.push({index: c, text: e, constant: !0, value: d});
- return
- }
- d += g
- }
- this.index++
- }
- this.throwError("Unterminated quote", c)
- }
- };
- var hb = function (a, c, d) {
- this.lexer = a;
- this.$filter = c;
- this.options = d
- };
- hb.ZERO = z(function () {
- return 0
- }, {sharedGetter: !0, constant: !0});
- hb.prototype = {
- constructor: hb, parse: function (a) {
- this.text = a;
- this.tokens = this.lexer.lex(a);
- a = this.statements();
- 0 !== this.tokens.length && this.throwError("is an unexpected token", this.tokens[0]);
- a.literal = !!a.literal;
- a.constant = !!a.constant;
- return a
- }, primary: function () {
- var a;
- this.expect("(") ? (a = this.filterChain(), this.consume(")")) : this.expect("[") ? a = this.arrayDeclaration() : this.expect("{") ? a = this.object() : this.peek().identifier && this.peek().text in lb ? a = lb[this.consume().text] : this.peek().identifier ? a = this.identifier() : this.peek().constant ? a = this.constant() : this.throwError("not a primary expression",
- this.peek());
- for (var c, d; c = this.expect("(", "[", ".");)"(" === c.text ? (a = this.functionCall(a, d), d = null) : "[" === c.text ? (d = a, a = this.objectIndex(a)) : "." === c.text ? (d = a, a = this.fieldAccess(a)) : this.throwError("IMPOSSIBLE");
- return a
- }, throwError: function (a, c) {
- throw la("syntax", c.text, a, c.index + 1, this.text, this.text.substring(c.index));
- }, peekToken: function () {
- if (0 === this.tokens.length)throw la("ueoe", this.text);
- return this.tokens[0]
- }, peek: function (a, c, d, e) {
- return this.peekAhead(0, a, c, d, e)
- }, peekAhead: function (a,
- c, d, e, f) {
- if (this.tokens.length > a) {
- a = this.tokens[a];
- var g = a.text;
- if (g === c || g === d || g === e || g === f || !(c || d || e || f))return a
- }
- return !1
- }, expect: function (a, c, d, e) {
- return (a = this.peek(a, c, d, e)) ? (this.tokens.shift(), a) : !1
- }, consume: function (a) {
- if (0 === this.tokens.length)throw la("ueoe", this.text);
- var c = this.expect(a);
- c || this.throwError("is unexpected, expecting [" + a + "]", this.peek());
- return c
- }, unaryFn: function (a, c) {
- var d = mb[a];
- return z(function (a, f) {
- return d(a, f, c)
- }, {constant: c.constant, inputs: [c]})
- }, binaryFn: function (a,
- c, d, e) {
- var f = mb[c];
- return z(function (c, e) {
- return f(c, e, a, d)
- }, {constant: a.constant && d.constant, inputs: !e && [a, d]})
- }, identifier: function () {
- for (var a = this.consume().text; this.peek(".") && this.peekAhead(1).identifier && !this.peekAhead(2, "(");)a += this.consume().text + this.consume().text;
- return zf(a, this.options, this.text)
- }, constant: function () {
- var a = this.consume().value;
- return z(function () {
- return a
- }, {constant: !0, literal: !0})
- }, statements: function () {
- for (var a = []; ;)if (0 < this.tokens.length && !this.peek("}", ")",
- ";", "]") && a.push(this.filterChain()), !this.expect(";"))return 1 === a.length ? a[0] : function (c, d) {
- for (var e, f = 0, g = a.length; f < g; f++)e = a[f](c, d);
- return e
- }
- }, filterChain: function () {
- for (var a = this.expression(); this.expect("|");)a = this.filter(a);
- return a
- }, filter: function (a) {
- var c = this.$filter(this.consume().text), d, e;
- if (this.peek(":"))for (d = [], e = []; this.expect(":");)d.push(this.expression());
- var f = [a].concat(d || []);
- return z(function (f, h) {
- var l = a(f, h);
- if (e) {
- e[0] = l;
- for (l = d.length; l--;)e[l + 1] = d[l](f, h);
- return c.apply(t,
- e)
- }
- return c(l)
- }, {constant: !c.$stateful && f.every(ec), inputs: !c.$stateful && f})
- }, expression: function () {
- return this.assignment()
- }, assignment: function () {
- var a = this.ternary(), c, d;
- return (d = this.expect("=")) ? (a.assign || this.throwError("implies assignment but [" + this.text.substring(0, d.index) + "] can not be assigned to", d), c = this.ternary(), z(function (d, f) {
- return a.assign(d, c(d, f), f)
- }, {inputs: [a, c]})) : a
- }, ternary: function () {
- var a = this.logicalOR(), c;
- if (this.expect("?") && (c = this.assignment(), this.consume(":"))) {
- var d =
- this.assignment();
- return z(function (e, f) {
- return a(e, f) ? c(e, f) : d(e, f)
- }, {constant: a.constant && c.constant && d.constant})
- }
- return a
- }, logicalOR: function () {
- for (var a = this.logicalAND(), c; c = this.expect("||");)a = this.binaryFn(a, c.text, this.logicalAND(), !0);
- return a
- }, logicalAND: function () {
- for (var a = this.equality(), c; c = this.expect("&&");)a = this.binaryFn(a, c.text, this.equality(), !0);
- return a
- }, equality: function () {
- for (var a = this.relational(), c; c = this.expect("==", "!=", "===", "!==");)a = this.binaryFn(a, c.text, this.relational());
- return a
- }, relational: function () {
- for (var a = this.additive(), c; c = this.expect("<", ">", "<=", ">=");)a = this.binaryFn(a, c.text, this.additive());
- return a
- }, additive: function () {
- for (var a = this.multiplicative(), c; c = this.expect("+", "-");)a = this.binaryFn(a, c.text, this.multiplicative());
- return a
- }, multiplicative: function () {
- for (var a = this.unary(), c; c = this.expect("*", "/", "%");)a = this.binaryFn(a, c.text, this.unary());
- return a
- }, unary: function () {
- var a;
- return this.expect("+") ? this.primary() : (a = this.expect("-")) ? this.binaryFn(hb.ZERO,
- a.text, this.unary()) : (a = this.expect("!")) ? this.unaryFn(a.text, this.unary()) : this.primary()
- }, fieldAccess: function (a) {
- var c = this.identifier();
- return z(function (d, e, f) {
- d = f || a(d, e);
- return null == d ? t : c(d)
- }, {
- assign: function (d, e, f) {
- (f = a(d, f)) || a.assign(d, f = {});
- return c.assign(f, e)
- }
- })
- }, objectIndex: function (a) {
- var c = this.text, d = this.expression();
- this.consume("]");
- return z(function (e, f) {
- var g = a(e, f), h = d(e, f);
- sa(h, c);
- return g ? ta(g[h], c) : t
- }, {
- assign: function (e, f, g) {
- var h = sa(d(e, g), c);
- (g = ta(a(e, g), c)) || a.assign(e,
- g = {});
- return g[h] = f
- }
- })
- }, functionCall: function (a, c) {
- var d = [];
- if (")" !== this.peekToken().text) {
- do d.push(this.expression()); while (this.expect(","))
- }
- this.consume(")");
- var e = this.text, f = d.length ? [] : null;
- return function (g, h) {
- var l = c ? c(g, h) : y(c) ? t : g, k = a(g, h, l) || C;
- if (f)for (var m = d.length; m--;)f[m] = ta(d[m](g, h), e);
- ta(l, e);
- if (k) {
- if (k.constructor === k)throw la("isecfn", e);
- if (k === Uf || k === Vf || k === Wf)throw la("isecff", e);
- }
- l = k.apply ? k.apply(l, f) : k(f[0], f[1], f[2], f[3], f[4]);
- return ta(l, e)
- }
- }, arrayDeclaration: function () {
- var a =
- [];
- if ("]" !== this.peekToken().text) {
- do {
- if (this.peek("]"))break;
- a.push(this.expression())
- } while (this.expect(","))
- }
- this.consume("]");
- return z(function (c, d) {
- for (var e = [], f = 0, g = a.length; f < g; f++)e.push(a[f](c, d));
- return e
- }, {literal: !0, constant: a.every(ec), inputs: a})
- }, object: function () {
- var a = [], c = [];
- if ("}" !== this.peekToken().text) {
- do {
- if (this.peek("}"))break;
- var d = this.consume();
- d.constant ? a.push(d.value) : d.identifier ? a.push(d.text) : this.throwError("invalid key", d);
- this.consume(":");
- c.push(this.expression())
- } while (this.expect(","))
- }
- this.consume("}");
- return z(function (d, f) {
- for (var g = {}, h = 0, l = c.length; h < l; h++)g[a[h]] = c[h](d, f);
- return g
- }, {literal: !0, constant: c.every(ec), inputs: c})
- }
- };
- var Bf = ha(), Af = ha(), Cf = Object.prototype.valueOf, Ca = T("$sce"), ma = {
- HTML: "html",
- CSS: "css",
- URL: "url",
- RESOURCE_URL: "resourceUrl",
- JS: "js"
- }, ja = T("$compile"), Z = Y.createElement("a"), id = Ba(M.location.href);
- Dc.$inject = ["$provide"];
- jd.$inject = ["$locale"];
- ld.$inject = ["$locale"];
- var od = ".", Mf = {
- yyyy: $("FullYear", 4),
- yy: $("FullYear", 2, 0, !0),
- y: $("FullYear", 1),
- MMMM: Ib("Month"),
- MMM: Ib("Month", !0),
- MM: $("Month", 2, 1),
- M: $("Month", 1, 1),
- dd: $("Date", 2),
- d: $("Date", 1),
- HH: $("Hours", 2),
- H: $("Hours", 1),
- hh: $("Hours", 2, -12),
- h: $("Hours", 1, -12),
- mm: $("Minutes", 2),
- m: $("Minutes", 1),
- ss: $("Seconds", 2),
- s: $("Seconds", 1),
- sss: $("Milliseconds", 3),
- EEEE: Ib("Day"),
- EEE: Ib("Day", !0),
- a: function (a, c) {
- return 12 > a.getHours() ? c.AMPMS[0] : c.AMPMS[1]
- },
- Z: function (a) {
- a = -1 * a.getTimezoneOffset();
- return a = (0 <= a ? "+" : "") + (Hb(Math[0 < a ? "floor" : "ceil"](a / 60), 2) + Hb(Math.abs(a % 60), 2))
- },
- ww: qd(2),
- w: qd(1)
- }, Lf = /((?:[^yMdHhmsaZEw']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|w+))(.*)/,
- Kf = /^\-?\d+$/;
- kd.$inject = ["$locale"];
- var Hf = da(Q), If = da(ub);
- md.$inject = ["$parse"];
- var Td = da({
- restrict: "E", compile: function (a, c) {
- if (!c.href && !c.xlinkHref && !c.name)return function (a, c) {
- var f = "[object SVGAnimatedString]" === Da.call(c.prop("href")) ? "xlink:href" : "href";
- c.on("click", function (a) {
- c.attr(f) || a.preventDefault()
- })
- }
- }
- }), vb = {};
- s(Eb, function (a, c) {
- if ("multiple" != a) {
- var d = ya("ng-" + c);
- vb[d] = function () {
- return {
- restrict: "A", priority: 100, link: function (a, f, g) {
- a.$watch(g[d], function (a) {
- g.$set(c, !!a)
- })
- }
- }
- }
- }
- });
- s(Nc, function (a, c) {
- vb[c] = function () {
- return {
- priority: 100, link: function (a, e, f) {
- if ("ngPattern" === c && "/" == f.ngPattern.charAt(0) && (e = f.ngPattern.match(Of))) {
- f.$set("ngPattern", new RegExp(e[1], e[2]));
- return
- }
- a.$watch(f[c], function (a) {
- f.$set(c, a)
- })
- }
- }
- }
- });
- s(["src", "srcset", "href"], function (a) {
- var c = ya("ng-" + a);
- vb[c] = function () {
- return {
- priority: 99, link: function (d, e, f) {
- var g = a, h = a;
- "href" === a && "[object SVGAnimatedString]" === Da.call(e.prop("href")) && (h = "xlinkHref", f.$attr[h] = "xlink:href", g = null);
- f.$observe(c, function (c) {
- c ?
- (f.$set(h, c), Ra && g && e.prop(g, f[h])) : "href" === a && f.$set(h, null)
- })
- }
- }
- }
- });
- var Jb = {
- $addControl: C, $$renameControl: function (a, c) {
- a.$name = c
- }, $removeControl: C, $setValidity: C, $setDirty: C, $setPristine: C, $setSubmitted: C
- };
- rd.$inject = ["$element", "$attrs", "$scope", "$animate", "$interpolate"];
- var yd = function (a) {
- return ["$timeout", function (c) {
- return {
- name: "form", restrict: a ? "EAC" : "E", controller: rd, compile: function (a) {
- a.addClass(Sa).addClass(kb);
- return {
- pre: function (a, d, g, h) {
- if (!("action"in g)) {
- var l = function (c) {
- a.$apply(function () {
- h.$commitViewValue();
- h.$setSubmitted()
- });
- c.preventDefault()
- };
- d[0].addEventListener("submit", l, !1);
- d.on("$destroy", function () {
- c(function () {
- d[0].removeEventListener("submit", l, !1)
- }, 0, !1)
- })
- }
- var k = h.$$parentForm, m = h.$name;
- m && (gb(a, m, h, m), g.$observe(g.name ? "name" : "ngForm", function (c) {
- m !== c && (gb(a, m, t, m), m = c, gb(a, m, h, m), k.$$renameControl(h, m))
- }));
- d.on("$destroy", function () {
- k.$removeControl(h);
- m && gb(a, m, t, m);
- z(h, Jb)
- })
- }
- }
- }
- }
- }]
- }, Ud = yd(), ge = yd(!0), Nf = /\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/, Yf = /^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,
- Zf = /^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i, $f = /^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/, zd = /^(\d{4})-(\d{2})-(\d{2})$/, Ad = /^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/, jc = /^(\d{4})-W(\d\d)$/, Bd = /^(\d{4})-(\d\d)$/, Cd = /^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/, ag = /(\s+|^)default(\s+|$)/, Mb = new T("ngModel"), Dd = {
- text: function (a, c, d, e, f, g) {
- ib(a, c, d, e, f, g);
- hc(e)
- },
- date: jb("date", zd, Lb(zd, ["yyyy", "MM", "dd"]), "yyyy-MM-dd"),
- "datetime-local": jb("datetimelocal",
- Ad, Lb(Ad, "yyyy MM dd HH mm ss sss".split(" ")), "yyyy-MM-ddTHH:mm:ss.sss"),
- time: jb("time", Cd, Lb(Cd, ["HH", "mm", "ss", "sss"]), "HH:mm:ss.sss"),
- week: jb("week", jc, function (a, c) {
- if (pa(a))return a;
- if (F(a)) {
- jc.lastIndex = 0;
- var d = jc.exec(a);
- if (d) {
- var e = +d[1], f = +d[2], g = d = 0, h = 0, l = 0, k = pd(e), f = 7 * (f - 1);
- c && (d = c.getHours(), g = c.getMinutes(), h = c.getSeconds(), l = c.getMilliseconds());
- return new Date(e, 0, k.getDate() + f, d, g, h, l)
- }
- }
- return NaN
- }, "yyyy-Www"),
- month: jb("month", Bd, Lb(Bd, ["yyyy", "MM"]), "yyyy-MM"),
- number: function (a,
- c, d, e, f, g) {
- td(a, c, d, e);
- ib(a, c, d, e, f, g);
- e.$$parserName = "number";
- e.$parsers.push(function (a) {
- return e.$isEmpty(a) ? null : $f.test(a) ? parseFloat(a) : t
- });
- e.$formatters.push(function (a) {
- if (!e.$isEmpty(a)) {
- if (!V(a))throw Mb("numfmt", a);
- a = a.toString()
- }
- return a
- });
- if (d.min || d.ngMin) {
- var h;
- e.$validators.min = function (a) {
- return e.$isEmpty(a) || D(h) || a >= h
- };
- d.$observe("min", function (a) {
- y(a) && !V(a) && (a = parseFloat(a, 10));
- h = V(a) && !isNaN(a) ? a : t;
- e.$validate()
- })
- }
- if (d.max || d.ngMax) {
- var l;
- e.$validators.max = function (a) {
- return e.$isEmpty(a) ||
- D(l) || a <= l
- };
- d.$observe("max", function (a) {
- y(a) && !V(a) && (a = parseFloat(a, 10));
- l = V(a) && !isNaN(a) ? a : t;
- e.$validate()
- })
- }
- },
- url: function (a, c, d, e, f, g) {
- ib(a, c, d, e, f, g);
- hc(e);
- e.$$parserName = "url";
- e.$validators.url = function (a, c) {
- var d = a || c;
- return e.$isEmpty(d) || Yf.test(d)
- }
- },
- email: function (a, c, d, e, f, g) {
- ib(a, c, d, e, f, g);
- hc(e);
- e.$$parserName = "email";
- e.$validators.email = function (a, c) {
- var d = a || c;
- return e.$isEmpty(d) || Zf.test(d)
- }
- },
- radio: function (a, c, d, e) {
- D(d.name) && c.attr("name", ++nb);
- c.on("click", function (a) {
- c[0].checked &&
- e.$setViewValue(d.value, a && a.type)
- });
- e.$render = function () {
- c[0].checked = d.value == e.$viewValue
- };
- d.$observe("value", e.$render)
- },
- checkbox: function (a, c, d, e, f, g, h, l) {
- var k = ud(l, a, "ngTrueValue", d.ngTrueValue, !0), m = ud(l, a, "ngFalseValue", d.ngFalseValue, !1);
- c.on("click", function (a) {
- e.$setViewValue(c[0].checked, a && a.type)
- });
- e.$render = function () {
- c[0].checked = e.$viewValue
- };
- e.$isEmpty = function (a) {
- return !1 === a
- };
- e.$formatters.push(function (a) {
- return fa(a, k)
- });
- e.$parsers.push(function (a) {
- return a ? k : m
- })
- },
- hidden: C,
- button: C,
- submit: C,
- reset: C,
- file: C
- }, xc = ["$browser", "$sniffer", "$filter", "$parse", function (a, c, d, e) {
- return {
- restrict: "E", require: ["?ngModel"], link: {
- pre: function (f, g, h, l) {
- l[0] && (Dd[Q(h.type)] || Dd.text)(f, g, h, l[0], c, a, d, e)
- }
- }
- }
- }], kb = "ng-valid", vd = "ng-invalid", Sa = "ng-pristine", Kb = "ng-dirty", xd = "ng-pending", bg = ["$scope", "$exceptionHandler", "$attrs", "$element", "$parse", "$animate", "$timeout", "$rootScope", "$q", "$interpolate", function (a, c, d, e, f, g, h, l, k, m) {
- this.$modelValue = this.$viewValue = Number.NaN;
- this.$$rawModelValue =
- t;
- this.$validators = {};
- this.$asyncValidators = {};
- this.$parsers = [];
- this.$formatters = [];
- this.$viewChangeListeners = [];
- this.$untouched = !0;
- this.$touched = !1;
- this.$pristine = !0;
- this.$dirty = !1;
- this.$valid = !0;
- this.$invalid = !1;
- this.$error = {};
- this.$$success = {};
- this.$pending = t;
- this.$name = m(d.name || "", !1)(a);
- var p = f(d.ngModel), q = p.assign, u = p, r = q, O = null, n = this;
- this.$$setOptions = function (a) {
- if ((n.$options = a) && a.getterSetter) {
- var c = f(d.ngModel + "()"), g = f(d.ngModel + "($$$p)");
- u = function (a) {
- var d = p(a);
- G(d) && (d = c(a));
- return d
- };
- r = function (a, c) {
- G(p(a)) ? g(a, {$$$p: n.$modelValue}) : q(a, n.$modelValue)
- }
- } else if (!p.assign)throw Mb("nonassign", d.ngModel, va(e));
- };
- this.$render = C;
- this.$isEmpty = function (a) {
- return D(a) || "" === a || null === a || a !== a
- };
- var v = e.inheritedData("$formController") || Jb, w = 0;
- sd({
- ctrl: this, $element: e, set: function (a, c) {
- a[c] = !0
- }, unset: function (a, c) {
- delete a[c]
- }, parentForm: v, $animate: g
- });
- this.$setPristine = function () {
- n.$dirty = !1;
- n.$pristine = !0;
- g.removeClass(e, Kb);
- g.addClass(e, Sa)
- };
- this.$setDirty = function () {
- n.$dirty = !0;
- n.$pristine = !1;
- g.removeClass(e, Sa);
- g.addClass(e, Kb);
- v.$setDirty()
- };
- this.$setUntouched = function () {
- n.$touched = !1;
- n.$untouched = !0;
- g.setClass(e, "ng-untouched", "ng-touched")
- };
- this.$setTouched = function () {
- n.$touched = !0;
- n.$untouched = !1;
- g.setClass(e, "ng-touched", "ng-untouched")
- };
- this.$rollbackViewValue = function () {
- h.cancel(O);
- n.$viewValue = n.$$lastCommittedViewValue;
- n.$render()
- };
- this.$validate = function () {
- if (!V(n.$modelValue) || !isNaN(n.$modelValue)) {
- var a = n.$$rawModelValue, c = n.$valid, d = n.$modelValue, e = n.$options && n.$options.allowInvalid;
- n.$$runValidators(n.$error[n.$$parserName || "parse"] ? !1 : t, a, n.$$lastCommittedViewValue, function (f) {
- e || c === f || (n.$modelValue = f ? a : t, n.$modelValue !== d && n.$$writeModelToScope())
- })
- }
- };
- this.$$runValidators = function (a, c, d, e) {
- function f() {
- var a = !0;
- s(n.$validators, function (e, f) {
- var g = e(c, d);
- a = a && g;
- h(f, g)
- });
- return a ? !0 : (s(n.$asyncValidators, function (a, c) {
- h(c, null)
- }), !1)
- }
-
- function g() {
- var a = [], e = !0;
- s(n.$asyncValidators, function (f, g) {
- var l = f(c, d);
- if (!l || !G(l.then))throw Mb("$asyncValidators", l);
- h(g, t);
- a.push(l.then(function () {
- h(g,
- !0)
- }, function (a) {
- e = !1;
- h(g, !1)
- }))
- });
- a.length ? k.all(a).then(function () {
- l(e)
- }, C) : l(!0)
- }
-
- function h(a, c) {
- m === w && n.$setValidity(a, c)
- }
-
- function l(a) {
- m === w && e(a)
- }
-
- w++;
- var m = w;
- (function (a) {
- var c = n.$$parserName || "parse";
- if (a === t)h(c, null); else if (h(c, a), !a)return s(n.$validators, function (a, c) {
- h(c, null)
- }), s(n.$asyncValidators, function (a, c) {
- h(c, null)
- }), !1;
- return !0
- })(a) ? f() ? g() : l(!1) : l(!1)
- };
- this.$commitViewValue = function () {
- var a = n.$viewValue;
- h.cancel(O);
- if (n.$$lastCommittedViewValue !== a || "" === a && n.$$hasNativeValidators)n.$$lastCommittedViewValue =
- a, n.$pristine && this.$setDirty(), this.$$parseAndValidate()
- };
- this.$$parseAndValidate = function () {
- var c = n.$$lastCommittedViewValue, d = D(c) ? t : !0;
- if (d)for (var e = 0; e < n.$parsers.length; e++)if (c = n.$parsers[e](c), D(c)) {
- d = !1;
- break
- }
- V(n.$modelValue) && isNaN(n.$modelValue) && (n.$modelValue = u(a));
- var f = n.$modelValue, g = n.$options && n.$options.allowInvalid;
- n.$$rawModelValue = c;
- g && (n.$modelValue = c, n.$modelValue !== f && n.$$writeModelToScope());
- n.$$runValidators(d, c, n.$$lastCommittedViewValue, function (a) {
- g || (n.$modelValue =
- a ? c : t, n.$modelValue !== f && n.$$writeModelToScope())
- })
- };
- this.$$writeModelToScope = function () {
- r(a, n.$modelValue);
- s(n.$viewChangeListeners, function (a) {
- try {
- a()
- } catch (d) {
- c(d)
- }
- })
- };
- this.$setViewValue = function (a, c) {
- n.$viewValue = a;
- n.$options && !n.$options.updateOnDefault || n.$$debounceViewValueCommit(c)
- };
- this.$$debounceViewValueCommit = function (c) {
- var d = 0, e = n.$options;
- e && y(e.debounce) && (e = e.debounce, V(e) ? d = e : V(e[c]) ? d = e[c] : V(e["default"]) && (d = e["default"]));
- h.cancel(O);
- d ? O = h(function () {
- n.$commitViewValue()
- }, d) :
- l.$$phase ? n.$commitViewValue() : a.$apply(function () {
- n.$commitViewValue()
- })
- };
- a.$watch(function () {
- var c = u(a);
- if (c !== n.$modelValue) {
- n.$modelValue = n.$$rawModelValue = c;
- for (var d = n.$formatters, e = d.length, f = c; e--;)f = d[e](f);
- n.$viewValue !== f && (n.$viewValue = n.$$lastCommittedViewValue = f, n.$render(), n.$$runValidators(t, c, f, C))
- }
- return c
- })
- }], ve = ["$rootScope", function (a) {
- return {
- restrict: "A",
- require: ["ngModel", "^?form", "^?ngModelOptions"],
- controller: bg,
- priority: 1,
- compile: function (c) {
- c.addClass(Sa).addClass("ng-untouched").addClass(kb);
- return {
- pre: function (a, c, f, g) {
- var h = g[0], l = g[1] || Jb;
- h.$$setOptions(g[2] && g[2].$options);
- l.$addControl(h);
- f.$observe("name", function (a) {
- h.$name !== a && l.$$renameControl(h, a)
- });
- a.$on("$destroy", function () {
- l.$removeControl(h)
- })
- }, post: function (c, e, f, g) {
- var h = g[0];
- if (h.$options && h.$options.updateOn)e.on(h.$options.updateOn, function (a) {
- h.$$debounceViewValueCommit(a && a.type)
- });
- e.on("blur", function (e) {
- h.$touched || (a.$$phase ? c.$evalAsync(h.$setTouched) : c.$apply(h.$setTouched))
- })
- }
- }
- }
- }
- }], xe = da({
- restrict: "A", require: "ngModel",
- link: function (a, c, d, e) {
- e.$viewChangeListeners.push(function () {
- a.$eval(d.ngChange)
- })
- }
- }), zc = function () {
- return {
- restrict: "A", require: "?ngModel", link: function (a, c, d, e) {
- e && (d.required = !0, e.$validators.required = function (a, c) {
- return !d.required || !e.$isEmpty(c)
- }, d.$observe("required", function () {
- e.$validate()
- }))
- }
- }
- }, yc = function () {
- return {
- restrict: "A", require: "?ngModel", link: function (a, c, d, e) {
- if (e) {
- var f, g = d.ngPattern || d.pattern;
- d.$observe("pattern", function (a) {
- F(a) && 0 < a.length && (a = new RegExp("^" + a + "$"));
- if (a && !a.test)throw T("ngPattern")("noregexp", g, a, va(c));
- f = a || t;
- e.$validate()
- });
- e.$validators.pattern = function (a) {
- return e.$isEmpty(a) || D(f) || f.test(a)
- }
- }
- }
- }
- }, Bc = function () {
- return {
- restrict: "A", require: "?ngModel", link: function (a, c, d, e) {
- if (e) {
- var f = -1;
- d.$observe("maxlength", function (a) {
- a = ba(a);
- f = isNaN(a) ? -1 : a;
- e.$validate()
- });
- e.$validators.maxlength = function (a, c) {
- return 0 > f || e.$isEmpty(a) || c.length <= f
- }
- }
- }
- }
- }, Ac = function () {
- return {
- restrict: "A", require: "?ngModel", link: function (a, c, d, e) {
- if (e) {
- var f = 0;
- d.$observe("minlength",
- function (a) {
- f = ba(a) || 0;
- e.$validate()
- });
- e.$validators.minlength = function (a, c) {
- return e.$isEmpty(c) || c.length >= f
- }
- }
- }
- }
- }, we = function () {
- return {
- restrict: "A", priority: 100, require: "ngModel", link: function (a, c, d, e) {
- var f = c.attr(d.$attr.ngList) || ", ", g = "false" !== d.ngTrim, h = g ? U(f) : f;
- e.$parsers.push(function (a) {
- if (!D(a)) {
- var c = [];
- a && s(a.split(h), function (a) {
- a && c.push(g ? U(a) : a)
- });
- return c
- }
- });
- e.$formatters.push(function (a) {
- return x(a) ? a.join(f) : t
- });
- e.$isEmpty = function (a) {
- return !a || !a.length
- }
- }
- }
- }, cg = /^(true|false|\d+)$/,
- ye = function () {
- return {
- restrict: "A", priority: 100, compile: function (a, c) {
- return cg.test(c.ngValue) ? function (a, c, f) {
- f.$set("value", a.$eval(f.ngValue))
- } : function (a, c, f) {
- a.$watch(f.ngValue, function (a) {
- f.$set("value", a)
- })
- }
- }
- }
- }, ze = function () {
- return {
- restrict: "A", controller: ["$scope", "$attrs", function (a, c) {
- var d = this;
- this.$options = a.$eval(c.ngModelOptions);
- this.$options.updateOn !== t ? (this.$options.updateOnDefault = !1, this.$options.updateOn = U(this.$options.updateOn.replace(ag, function () {
- d.$options.updateOnDefault = !0;
- return " "
- }))) : this.$options.updateOnDefault = !0
- }]
- }
- }, Zd = ["$compile", function (a) {
- return {
- restrict: "AC", compile: function (c) {
- a.$$addBindingClass(c);
- return function (c, e, f) {
- a.$$addBindingInfo(e, f.ngBind);
- e = e[0];
- c.$watch(f.ngBind, function (a) {
- e.textContent = a === t ? "" : a
- })
- }
- }
- }
- }], ae = ["$interpolate", "$compile", function (a, c) {
- return {
- compile: function (d) {
- c.$$addBindingClass(d);
- return function (d, f, g) {
- d = a(f.attr(g.$attr.ngBindTemplate));
- c.$$addBindingInfo(f, d.expressions);
- f = f[0];
- g.$observe("ngBindTemplate", function (a) {
- f.textContent =
- a === t ? "" : a
- })
- }
- }
- }
- }], $d = ["$sce", "$parse", "$compile", function (a, c, d) {
- return {
- restrict: "A", compile: function (e, f) {
- var g = c(f.ngBindHtml), h = c(f.ngBindHtml, function (a) {
- return (a || "").toString()
- });
- d.$$addBindingClass(e);
- return function (c, e, f) {
- d.$$addBindingInfo(e, f.ngBindHtml);
- c.$watch(h, function () {
- e.html(a.getTrustedHtml(g(c)) || "")
- })
- }
- }
- }
- }], be = ic("", !0), de = ic("Odd", 0), ce = ic("Even", 1), ee = Ja({
- compile: function (a, c) {
- c.$set("ngCloak", t);
- a.removeClass("ng-cloak")
- }
- }), fe = [function () {
- return {
- restrict: "A", scope: !0, controller: "@",
- priority: 500
- }
- }], Cc = {}, dg = {blur: !0, focus: !0};
- s("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "), function (a) {
- var c = ya("ng-" + a);
- Cc[c] = ["$parse", "$rootScope", function (d, e) {
- return {
- restrict: "A", compile: function (f, g) {
- var h = d(g[c], null, !0);
- return function (c, d) {
- d.on(a, function (d) {
- var f = function () {
- h(c, {$event: d})
- };
- dg[a] && e.$$phase ? c.$evalAsync(f) : c.$apply(f)
- })
- }
- }
- }
- }]
- });
- var ie = ["$animate", function (a) {
- return {
- multiElement: !0,
- transclude: "element",
- priority: 600,
- terminal: !0,
- restrict: "A",
- $$tlb: !0,
- link: function (c, d, e, f, g) {
- var h, l, k;
- c.$watch(e.ngIf, function (c) {
- c ? l || g(function (c, f) {
- l = f;
- c[c.length++] = Y.createComment(" end ngIf: " + e.ngIf + " ");
- h = {clone: c};
- a.enter(c, d.parent(), d)
- }) : (k && (k.remove(), k = null), l && (l.$destroy(), l = null), h && (k = tb(h.clone), a.leave(k).then(function () {
- k = null
- }), h = null))
- })
- }
- }
- }], je = ["$templateRequest", "$anchorScroll", "$animate", "$sce", function (a, c, d, e) {
- return {
- restrict: "ECA", priority: 400, terminal: !0, transclude: "element",
- controller: ga.noop, compile: function (f, g) {
- var h = g.ngInclude || g.src, l = g.onload || "", k = g.autoscroll;
- return function (f, g, q, s, r) {
- var t = 0, n, v, w, L = function () {
- v && (v.remove(), v = null);
- n && (n.$destroy(), n = null);
- w && (d.leave(w).then(function () {
- v = null
- }), v = w, w = null)
- };
- f.$watch(e.parseAsResourceUrl(h), function (e) {
- var h = function () {
- !y(k) || k && !f.$eval(k) || c()
- }, q = ++t;
- e ? (a(e, !0).then(function (a) {
- if (q === t) {
- var c = f.$new();
- s.template = a;
- a = r(c, function (a) {
- L();
- d.enter(a, null, g).then(h)
- });
- n = c;
- w = a;
- n.$emit("$includeContentLoaded",
- e);
- f.$eval(l)
- }
- }, function () {
- q === t && (L(), f.$emit("$includeContentError", e))
- }), f.$emit("$includeContentRequested", e)) : (L(), s.template = null)
- })
- }
- }
- }
- }], Ae = ["$compile", function (a) {
- return {
- restrict: "ECA", priority: -400, require: "ngInclude", link: function (c, d, e, f) {
- /SVG/.test(d[0].toString()) ? (d.empty(), a(Fc(f.template, Y).childNodes)(c, function (a) {
- d.append(a)
- }, {futureParentElement: d})) : (d.html(f.template), a(d.contents())(c))
- }
- }
- }], ke = Ja({
- priority: 450, compile: function () {
- return {
- pre: function (a, c, d) {
- a.$eval(d.ngInit)
- }
- }
- }
- }),
- le = Ja({terminal: !0, priority: 1E3}), me = ["$locale", "$interpolate", function (a, c) {
- var d = /{}/g, e = /^when(Minus)?(.+)$/;
- return {
- restrict: "EA", link: function (f, g, h) {
- function l(a) {
- g.text(a || "")
- }
-
- var k = h.count, m = h.$attr.when && g.attr(h.$attr.when), p = h.offset || 0, q = f.$eval(m) || {}, u = {}, m = c.startSymbol(), r = c.endSymbol(), t = m + k + "-" + p + r, n = ga.noop, v;
- s(h, function (a, c) {
- var d = e.exec(c);
- d && (d = (d[1] ? "-" : "") + Q(d[2]), q[d] = g.attr(h.$attr[c]))
- });
- s(q, function (a, e) {
- u[e] = c(a.replace(d, t))
- });
- f.$watch(k, function (c) {
- c = parseFloat(c);
- var d =
- isNaN(c);
- d || c in q || (c = a.pluralCat(c - p));
- c === v || d && isNaN(v) || (n(), n = f.$watch(u[c], l), v = c)
- })
- }
- }
- }], ne = ["$parse", "$animate", function (a, c) {
- var d = T("ngRepeat"), e = function (a, c, d, e, k, m, p) {
- a[d] = e;
- k && (a[k] = m);
- a.$index = c;
- a.$first = 0 === c;
- a.$last = c === p - 1;
- a.$middle = !(a.$first || a.$last);
- a.$odd = !(a.$even = 0 === (c & 1))
- };
- return {
- restrict: "A",
- multiElement: !0,
- transclude: "element",
- priority: 1E3,
- terminal: !0,
- $$tlb: !0,
- compile: function (f, g) {
- var h = g.ngRepeat, l = Y.createComment(" end ngRepeat: " + h + " "), k = h.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);
- if (!k)throw d("iexp", h);
- var m = k[1], p = k[2], q = k[3], u = k[4], k = m.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/);
- if (!k)throw d("iidexp", m);
- var r = k[3] || k[1], y = k[2];
- if (q && (!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(q) || /^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent)$/.test(q)))throw d("badident", q);
- var n, v, w, D, z = {$id: Na};
- u ? n = a(u) : (w = function (a, c) {
- return Na(c)
- }, D = function (a) {
- return a
- });
- return function (a, f, g, k, m) {
- n && (v = function (c, d, e) {
- y && (z[y] = c);
- z[r] = d;
- z.$index = e;
- return n(a,
- z)
- });
- var u = ha();
- a.$watchCollection(p, function (g) {
- var k, p, n = f[0], E, z = ha(), C, S, N, G, J, x, H;
- q && (a[q] = g);
- if (Ta(g))J = g, p = v || w; else {
- p = v || D;
- J = [];
- for (H in g)g.hasOwnProperty(H) && "$" != H.charAt(0) && J.push(H);
- J.sort()
- }
- C = J.length;
- H = Array(C);
- for (k = 0; k < C; k++)if (S = g === J ? k : J[k], N = g[S], G = p(S, N, k), u[G])x = u[G], delete u[G], z[G] = x, H[k] = x; else {
- if (z[G])throw s(H, function (a) {
- a && a.scope && (u[a.id] = a)
- }), d("dupes", h, G, N);
- H[k] = {id: G, scope: t, clone: t};
- z[G] = !0
- }
- for (E in u) {
- x = u[E];
- G = tb(x.clone);
- c.leave(G);
- if (G[0].parentNode)for (k = 0,
- p = G.length; k < p; k++)G[k].$$NG_REMOVED = !0;
- x.scope.$destroy()
- }
- for (k = 0; k < C; k++)if (S = g === J ? k : J[k], N = g[S], x = H[k], x.scope) {
- E = n;
- do E = E.nextSibling; while (E && E.$$NG_REMOVED);
- x.clone[0] != E && c.move(tb(x.clone), null, B(n));
- n = x.clone[x.clone.length - 1];
- e(x.scope, k, r, N, y, S, C)
- } else m(function (a, d) {
- x.scope = d;
- var f = l.cloneNode(!1);
- a[a.length++] = f;
- c.enter(a, null, B(n));
- n = f;
- x.clone = a;
- z[x.id] = x;
- e(x.scope, k, r, N, y, S, C)
- });
- u = z
- })
- }
- }
- }
- }], oe = ["$animate", function (a) {
- return {
- restrict: "A", multiElement: !0, link: function (c, d, e) {
- c.$watch(e.ngShow,
- function (c) {
- a[c ? "removeClass" : "addClass"](d, "ng-hide", {tempClasses: "ng-hide-animate"})
- })
- }
- }
- }], he = ["$animate", function (a) {
- return {
- restrict: "A", multiElement: !0, link: function (c, d, e) {
- c.$watch(e.ngHide, function (c) {
- a[c ? "addClass" : "removeClass"](d, "ng-hide", {tempClasses: "ng-hide-animate"})
- })
- }
- }
- }], pe = Ja(function (a, c, d) {
- a.$watch(d.ngStyle, function (a, d) {
- d && a !== d && s(d, function (a, d) {
- c.css(d, "")
- });
- a && c.css(a)
- }, !0)
- }), qe = ["$animate", function (a) {
- return {
- restrict: "EA", require: "ngSwitch", controller: ["$scope", function () {
- this.cases =
- {}
- }], link: function (c, d, e, f) {
- var g = [], h = [], l = [], k = [], m = function (a, c) {
- return function () {
- a.splice(c, 1)
- }
- };
- c.$watch(e.ngSwitch || e.on, function (c) {
- var d, e;
- d = 0;
- for (e = l.length; d < e; ++d)a.cancel(l[d]);
- d = l.length = 0;
- for (e = k.length; d < e; ++d) {
- var r = tb(h[d].clone);
- k[d].$destroy();
- (l[d] = a.leave(r)).then(m(l, d))
- }
- h.length = 0;
- k.length = 0;
- (g = f.cases["!" + c] || f.cases["?"]) && s(g, function (c) {
- c.transclude(function (d, e) {
- k.push(e);
- var f = c.element;
- d[d.length++] = Y.createComment(" end ngSwitchWhen: ");
- h.push({clone: d});
- a.enter(d,
- f.parent(), f)
- })
- })
- })
- }
- }
- }], re = Ja({
- transclude: "element",
- priority: 1200,
- require: "^ngSwitch",
- multiElement: !0,
- link: function (a, c, d, e, f) {
- e.cases["!" + d.ngSwitchWhen] = e.cases["!" + d.ngSwitchWhen] || [];
- e.cases["!" + d.ngSwitchWhen].push({transclude: f, element: c})
- }
- }), se = Ja({
- transclude: "element",
- priority: 1200,
- require: "^ngSwitch",
- multiElement: !0,
- link: function (a, c, d, e, f) {
- e.cases["?"] = e.cases["?"] || [];
- e.cases["?"].push({transclude: f, element: c})
- }
- }), ue = Ja({
- restrict: "EAC", link: function (a, c, d, e, f) {
- if (!f)throw T("ngTransclude")("orphan",
- va(c));
- f(function (a) {
- c.empty();
- c.append(a)
- })
- }
- }), Vd = ["$templateCache", function (a) {
- return {
- restrict: "E", terminal: !0, compile: function (c, d) {
- "text/ng-template" == d.type && a.put(d.id, c[0].text)
- }
- }
- }], eg = T("ngOptions"), te = da({restrict: "A", terminal: !0}), Wd = ["$compile", "$parse", function (a, c) {
- var d = /^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/, e = {$setViewValue: C};
- return {
- restrict: "E",
- require: ["select", "?ngModel"],
- controller: ["$element", "$scope", "$attrs", function (a, c, d) {
- var l = this, k = {}, m = e, p;
- l.databound = d.ngModel;
- l.init = function (a, c, d) {
- m = a;
- p = d
- };
- l.addOption = function (c, d) {
- Ma(c, '"option value"');
- k[c] = !0;
- m.$viewValue == c && (a.val(c), p.parent() && p.remove());
- d && d[0].hasAttribute("selected") && (d[0].selected = !0)
- };
- l.removeOption = function (a) {
- this.hasOption(a) && (delete k[a], m.$viewValue === a && this.renderUnknownOption(a))
- };
- l.renderUnknownOption = function (c) {
- c = "? " + Na(c) + " ?";
- p.val(c);
- a.prepend(p);
- a.val(c);
- p.prop("selected", !0)
- };
- l.hasOption = function (a) {
- return k.hasOwnProperty(a)
- };
- c.$on("$destroy", function () {
- l.renderUnknownOption = C
- })
- }],
- link: function (e, g, h, l) {
- function k(a, c, d, e) {
- d.$render = function () {
- var a = d.$viewValue;
- e.hasOption(a) ? (C.parent() && C.remove(), c.val(a), "" === a && n.prop("selected", !0)) : D(a) && n ? c.val("") : e.renderUnknownOption(a)
- };
- c.on("change", function () {
- a.$apply(function () {
- C.parent() && C.remove();
- d.$setViewValue(c.val())
- })
- })
- }
-
- function m(a, c, d) {
- var e;
- d.$render = function () {
- var a =
- new db(d.$viewValue);
- s(c.find("option"), function (c) {
- c.selected = y(a.get(c.value))
- })
- };
- a.$watch(function () {
- fa(e, d.$viewValue) || (e = qa(d.$viewValue), d.$render())
- });
- c.on("change", function () {
- a.$apply(function () {
- var a = [];
- s(c.find("option"), function (c) {
- c.selected && a.push(c.value)
- });
- d.$setViewValue(a)
- })
- })
- }
-
- function p(e, f, g) {
- function h(a, c, d) {
- T[A] = d;
- H && (T[H] = c);
- return a(e, T)
- }
-
- function k(a) {
- var c;
- if (u)if (M && x(a)) {
- c = new db([]);
- for (var d = 0; d < a.length; d++)c.put(h(M, null, a[d]), !0)
- } else c = new db(a); else M && (a = h(M, null,
- a));
- return function (d, e) {
- var f;
- f = M ? M : B ? B : F;
- return u ? y(c.remove(h(f, d, e))) : a === h(f, d, e)
- }
- }
-
- function l() {
- v || (e.$$postDigest(p), v = !0)
- }
-
- function m(a, c, d) {
- a[c] = a[c] || 0;
- a[c] += d ? 1 : -1
- }
-
- function p() {
- v = !1;
- var a = {"": []}, c = [""], d, l, n, r, t;
- n = g.$viewValue;
- r = P(e) || [];
- var B = H ? Object.keys(r).sort() : r, x, A, D, F, N = {};
- t = k(n);
- var I = !1, U, V;
- Q = {};
- for (F = 0; D = B.length, F < D; F++) {
- x = F;
- if (H && (x = B[F], "$" === x.charAt(0)))continue;
- A = r[x];
- d = h(J, x, A) || "";
- (l = a[d]) || (l = a[d] = [], c.push(d));
- d = t(x, A);
- I = I || d;
- A = h(C, x, A);
- A = y(A) ? A : "";
- V = M ? M(e, T) : H ? B[F] :
- F;
- M && (Q[V] = x);
- l.push({id: V, label: A, selected: d})
- }
- u || (z || null === n ? a[""].unshift({
- id: "",
- label: "",
- selected: !I
- }) : I || a[""].unshift({id: "?", label: "", selected: !0}));
- x = 0;
- for (B = c.length; x < B; x++) {
- d = c[x];
- l = a[d];
- R.length <= x ? (n = {
- element: G.clone().attr("label", d),
- label: l.label
- }, r = [n], R.push(r), f.append(n.element)) : (r = R[x], n = r[0], n.label != d && n.element.attr("label", n.label = d));
- I = null;
- F = 0;
- for (D = l.length; F < D; F++)d = l[F], (t = r[F + 1]) ? (I = t.element, t.label !== d.label && (m(N, t.label, !1), m(N, d.label, !0), I.text(t.label = d.label),
- I.prop("label", t.label)), t.id !== d.id && I.val(t.id = d.id), I[0].selected !== d.selected && (I.prop("selected", t.selected = d.selected), Ra && I.prop("selected", t.selected))) : ("" === d.id && z ? U = z : (U = w.clone()).val(d.id).prop("selected", d.selected).attr("selected", d.selected).prop("label", d.label).text(d.label), r.push(t = {
- element: U,
- label: d.label,
- id: d.id,
- selected: d.selected
- }), m(N, d.label, !0), I ? I.after(U) : n.element.append(U), I = U);
- for (F++; r.length > F;)d = r.pop(), m(N, d.label, !1), d.element.remove()
- }
- for (; R.length > x;) {
- l = R.pop();
- for (F = 1; F < l.length; ++F)m(N, l[F].label, !1);
- l[0].element.remove()
- }
- s(N, function (a, c) {
- 0 < a ? q.addOption(c) : 0 > a && q.removeOption(c)
- })
- }
-
- var n;
- if (!(n = r.match(d)))throw eg("iexp", r, va(f));
- var C = c(n[2] || n[1]), A = n[4] || n[6], D = / as /.test(n[0]) && n[1], B = D ? c(D) : null, H = n[5], J = c(n[3] || ""), F = c(n[2] ? n[1] : A), P = c(n[7]), M = n[8] ? c(n[8]) : null, Q = {}, R = [[{
- element: f,
- label: ""
- }]], T = {};
- z && (a(z)(e), z.removeClass("ng-scope"), z.remove());
- f.empty();
- f.on("change", function () {
- e.$apply(function () {
- var a = P(e) || [], c;
- if (u)c = [], s(f.val(), function (d) {
- d =
- M ? Q[d] : d;
- c.push("?" === d ? t : "" === d ? null : h(B ? B : F, d, a[d]))
- }); else {
- var d = M ? Q[f.val()] : f.val();
- c = "?" === d ? t : "" === d ? null : h(B ? B : F, d, a[d])
- }
- g.$setViewValue(c);
- p()
- })
- });
- g.$render = p;
- e.$watchCollection(P, l);
- e.$watchCollection(function () {
- var a = P(e), c;
- if (a && x(a)) {
- c = Array(a.length);
- for (var d = 0, f = a.length; d < f; d++)c[d] = h(C, d, a[d])
- } else if (a)for (d in c = {}, a)a.hasOwnProperty(d) && (c[d] = h(C, d, a[d]));
- return c
- }, l);
- u && e.$watchCollection(function () {
- return g.$modelValue
- }, l)
- }
-
- if (l[1]) {
- var q = l[0];
- l = l[1];
- var u = h.multiple, r = h.ngOptions,
- z = !1, n, v = !1, w = B(Y.createElement("option")), G = B(Y.createElement("optgroup")), C = w.clone();
- h = 0;
- for (var A = g.children(), H = A.length; h < H; h++)if ("" === A[h].value) {
- n = z = A.eq(h);
- break
- }
- q.init(l, z, C);
- u && (l.$isEmpty = function (a) {
- return !a || 0 === a.length
- });
- r ? p(e, g, l) : u ? m(e, g, l) : k(e, g, l, q)
- }
- }
- }
- }], Yd = ["$interpolate", function (a) {
- var c = {addOption: C, removeOption: C};
- return {
- restrict: "E", priority: 100, compile: function (d, e) {
- if (D(e.value)) {
- var f = a(d.text(), !0);
- f || e.$set("value", d.text())
- }
- return function (a, d, e) {
- var k = d.parent(),
- m = k.data("$selectController") || k.parent().data("$selectController");
- m && m.databound || (m = c);
- f ? a.$watch(f, function (a, c) {
- e.$set("value", a);
- c !== a && m.removeOption(c);
- m.addOption(a, d)
- }) : m.addOption(e.value, d);
- d.on("$destroy", function () {
- m.removeOption(e.value)
- })
- }
- }
- }
- }], Xd = da({restrict: "E", terminal: !1});
- M.angular.bootstrap ? console.log("WARNING: Tried to load angular more than once.") : (Nd(), Pd(ga), B(Y).ready(function () {
- Jd(Y, sc)
- }))
-})(window, document);
-!window.angular.$$csp() && window.angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}</style>');
-//# sourceMappingURL=angular.min.js.map
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/angular.min.js.map b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/angular.min.js.map
deleted file mode 100644
index 3bf91c7c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/angular.min.js.map
+++ /dev/null
@@ -1,2369 +0,0 @@
-{
- "version": 3,
- "file": "angular.min.js",
- "lineCount": 249,
- "mappings": "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",
- "sources": ["angular.js"],
- "names": [
- "window",
- "document",
- "undefined",
- "minErr",
- "isArrayLike",
- "obj",
- "isWindow",
- "length",
- "nodeType",
- "NODE_TYPE_ELEMENT",
- "isString",
- "isArray",
- "forEach",
- "iterator",
- "context",
- "key",
- "isFunction",
- "hasOwnProperty",
- "call",
- "isPrimitive",
- "forEachSorted",
- "keys",
- "Object",
- "sort",
- "i",
- "reverseParams",
- "iteratorFn",
- "value",
- "nextUid",
- "uid",
- "setHashKey",
- "h",
- "$$hashKey",
- "extend",
- "dst",
- "ii",
- "arguments",
- "j",
- "jj",
- "int",
- "str",
- "parseInt",
- "noop",
- "identity",
- "$",
- "valueFn",
- "isUndefined",
- "isDefined",
- "isObject",
- "isNumber",
- "isDate",
- "toString",
- "isRegExp",
- "isScope",
- "$evalAsync",
- "$watch",
- "isBoolean",
- "isElement",
- "node",
- "nodeName",
- "prop",
- "attr",
- "find",
- "makeMap",
- "items",
- "split",
- "nodeName_",
- "element",
- "lowercase",
- "arrayRemove",
- "array",
- "index",
- "indexOf",
- "splice",
- "copy",
- "source",
- "destination",
- "stackSource",
- "stackDest",
- "ngMinErr",
- "push",
- "result",
- "Date",
- "getTime",
- "RegExp",
- "match",
- "lastIndex",
- "emptyObject",
- "create",
- "getPrototypeOf",
- "shallowCopy",
- "src",
- "charAt",
- "equals",
- "o1",
- "o2",
- "t1",
- "t2",
- "keySet",
- "concat",
- "array1",
- "array2",
- "slice",
- "bind",
- "self",
- "fn",
- "curryArgs",
- "startIndex",
- "apply",
- "toJsonReplacer",
- "val",
- "toJson",
- "pretty",
- "JSON",
- "stringify",
- "fromJson",
- "json",
- "parse",
- "startingTag",
- "jqLite",
- "clone",
- "empty",
- "e",
- "elemHtml",
- "append",
- "html",
- "NODE_TYPE_TEXT",
- "replace",
- "tryDecodeURIComponent",
- "decodeURIComponent",
- "parseKeyValue",
- "keyValue",
- "key_value",
- "toKeyValue",
- "parts",
- "arrayValue",
- "encodeUriQuery",
- "join",
- "encodeUriSegment",
- "pctEncodeSpaces",
- "encodeURIComponent",
- "getNgAttribute",
- "ngAttr",
- "ngAttrPrefixes",
- "angularInit",
- "bootstrap",
- "appElement",
- "module",
- "config",
- "prefix",
- "name",
- "hasAttribute",
- "getAttribute",
- "candidate",
- "querySelector",
- "strictDi",
- "modules",
- "defaultConfig",
- "doBootstrap",
- "injector",
- "tag",
- "unshift",
- "$provide",
- "debugInfoEnabled",
- "$compileProvider",
- "createInjector",
- "invoke",
- "bootstrapApply",
- "scope",
- "compile",
- "$apply",
- "data",
- "NG_ENABLE_DEBUG_INFO",
- "NG_DEFER_BOOTSTRAP",
- "test",
- "angular",
- "resumeBootstrap",
- "angular.resumeBootstrap",
- "extraModules",
- "reloadWithDebugInfo",
- "location",
- "reload",
- "getTestability",
- "rootElement",
- "get",
- "snake_case",
- "separator",
- "SNAKE_CASE_REGEXP",
- "letter",
- "pos",
- "toLowerCase",
- "bindJQuery",
- "originalCleanData",
- "bindJQueryFired",
- "jQuery",
- "on",
- "JQLitePrototype",
- "isolateScope",
- "controller",
- "inheritedData",
- "cleanData",
- "jQuery.cleanData",
- "elems",
- "events",
- "skipDestroyOnNextJQueryCleanData",
- "elem",
- "_data",
- "$destroy",
- "triggerHandler",
- "JQLite",
- "assertArg",
- "arg",
- "reason",
- "assertArgFn",
- "acceptArrayAnnotation",
- "constructor",
- "assertNotHasOwnProperty",
- "getter",
- "path",
- "bindFnToScope",
- "lastInstance",
- "len",
- "getBlockNodes",
- "nodes",
- "endNode",
- "blockNodes",
- "nextSibling",
- "createMap",
- "setupModuleLoader",
- "ensure",
- "factory",
- "$injectorMinErr",
- "$$minErr",
- "requires",
- "configFn",
- "invokeLater",
- "provider",
- "method",
- "insertMethod",
- "queue",
- "invokeQueue",
- "moduleInstance",
- "configBlocks",
- "runBlocks",
- "_invokeQueue",
- "_configBlocks",
- "_runBlocks",
- "service",
- "constant",
- "animation",
- "filter",
- "directive",
- "run",
- "block",
- "publishExternalAPI",
- "version",
- "uppercase",
- "counter",
- "csp",
- "angularModule",
- "$LocaleProvider",
- "ngModule",
- "$$sanitizeUri",
- "$$SanitizeUriProvider",
- "$CompileProvider",
- "a",
- "htmlAnchorDirective",
- "input",
- "inputDirective",
- "textarea",
- "form",
- "formDirective",
- "script",
- "scriptDirective",
- "select",
- "selectDirective",
- "style",
- "styleDirective",
- "option",
- "optionDirective",
- "ngBind",
- "ngBindDirective",
- "ngBindHtml",
- "ngBindHtmlDirective",
- "ngBindTemplate",
- "ngBindTemplateDirective",
- "ngClass",
- "ngClassDirective",
- "ngClassEven",
- "ngClassEvenDirective",
- "ngClassOdd",
- "ngClassOddDirective",
- "ngCloak",
- "ngCloakDirective",
- "ngController",
- "ngControllerDirective",
- "ngForm",
- "ngFormDirective",
- "ngHide",
- "ngHideDirective",
- "ngIf",
- "ngIfDirective",
- "ngInclude",
- "ngIncludeDirective",
- "ngInit",
- "ngInitDirective",
- "ngNonBindable",
- "ngNonBindableDirective",
- "ngPluralize",
- "ngPluralizeDirective",
- "ngRepeat",
- "ngRepeatDirective",
- "ngShow",
- "ngShowDirective",
- "ngStyle",
- "ngStyleDirective",
- "ngSwitch",
- "ngSwitchDirective",
- "ngSwitchWhen",
- "ngSwitchWhenDirective",
- "ngSwitchDefault",
- "ngSwitchDefaultDirective",
- "ngOptions",
- "ngOptionsDirective",
- "ngTransclude",
- "ngTranscludeDirective",
- "ngModel",
- "ngModelDirective",
- "ngList",
- "ngListDirective",
- "ngChange",
- "ngChangeDirective",
- "pattern",
- "patternDirective",
- "ngPattern",
- "required",
- "requiredDirective",
- "ngRequired",
- "minlength",
- "minlengthDirective",
- "ngMinlength",
- "maxlength",
- "maxlengthDirective",
- "ngMaxlength",
- "ngValue",
- "ngValueDirective",
- "ngModelOptions",
- "ngModelOptionsDirective",
- "ngIncludeFillContentDirective",
- "ngAttributeAliasDirectives",
- "ngEventDirectives",
- "$anchorScroll",
- "$AnchorScrollProvider",
- "$animate",
- "$AnimateProvider",
- "$browser",
- "$BrowserProvider",
- "$cacheFactory",
- "$CacheFactoryProvider",
- "$controller",
- "$ControllerProvider",
- "$document",
- "$DocumentProvider",
- "$exceptionHandler",
- "$ExceptionHandlerProvider",
- "$filter",
- "$FilterProvider",
- "$interpolate",
- "$InterpolateProvider",
- "$interval",
- "$IntervalProvider",
- "$http",
- "$HttpProvider",
- "$httpBackend",
- "$HttpBackendProvider",
- "$location",
- "$LocationProvider",
- "$log",
- "$LogProvider",
- "$parse",
- "$ParseProvider",
- "$rootScope",
- "$RootScopeProvider",
- "$q",
- "$QProvider",
- "$$q",
- "$$QProvider",
- "$sce",
- "$SceProvider",
- "$sceDelegate",
- "$SceDelegateProvider",
- "$sniffer",
- "$SnifferProvider",
- "$templateCache",
- "$TemplateCacheProvider",
- "$templateRequest",
- "$TemplateRequestProvider",
- "$$testability",
- "$$TestabilityProvider",
- "$timeout",
- "$TimeoutProvider",
- "$window",
- "$WindowProvider",
- "$$rAF",
- "$$RAFProvider",
- "$$asyncCallback",
- "$$AsyncCallbackProvider",
- "$$jqLite",
- "$$jqLiteProvider",
- "camelCase",
- "SPECIAL_CHARS_REGEXP",
- "_",
- "offset",
- "toUpperCase",
- "MOZ_HACK_REGEXP",
- "jqLiteAcceptsData",
- "NODE_TYPE_DOCUMENT",
- "jqLiteBuildFragment",
- "tmp",
- "fragment",
- "createDocumentFragment",
- "HTML_REGEXP",
- "appendChild",
- "createElement",
- "TAG_NAME_REGEXP",
- "exec",
- "wrap",
- "wrapMap",
- "_default",
- "innerHTML",
- "XHTML_TAG_REGEXP",
- "lastChild",
- "childNodes",
- "firstChild",
- "textContent",
- "createTextNode",
- "argIsString",
- "trim",
- "jqLiteMinErr",
- "parsed",
- "SINGLE_TAG_REGEXP",
- "jqLiteAddNodes",
- "jqLiteClone",
- "cloneNode",
- "jqLiteDealoc",
- "onlyDescendants",
- "jqLiteRemoveData",
- "querySelectorAll",
- "descendants",
- "l",
- "jqLiteOff",
- "type",
- "unsupported",
- "expandoStore",
- "jqLiteExpandoStore",
- "handle",
- "listenerFns",
- "removeEventListener",
- "expandoId",
- "ng339",
- "jqCache",
- "createIfNecessary",
- "jqId",
- "jqLiteData",
- "isSimpleSetter",
- "isSimpleGetter",
- "massGetter",
- "jqLiteHasClass",
- "selector",
- "jqLiteRemoveClass",
- "cssClasses",
- "setAttribute",
- "cssClass",
- "jqLiteAddClass",
- "existingClasses",
- "root",
- "elements",
- "jqLiteController",
- "jqLiteInheritedData",
- "documentElement",
- "names",
- "parentNode",
- "NODE_TYPE_DOCUMENT_FRAGMENT",
- "host",
- "jqLiteEmpty",
- "removeChild",
- "jqLiteRemove",
- "keepData",
- "parent",
- "jqLiteDocumentLoaded",
- "action",
- "win",
- "readyState",
- "setTimeout",
- "getBooleanAttrName",
- "booleanAttr",
- "BOOLEAN_ATTR",
- "BOOLEAN_ELEMENTS",
- "getAliasedAttrName",
- "ALIASED_ATTR",
- "createEventHandler",
- "eventHandler",
- "event",
- "isDefaultPrevented",
- "event.isDefaultPrevented",
- "defaultPrevented",
- "eventFns",
- "eventFnsLength",
- "immediatePropagationStopped",
- "originalStopImmediatePropagation",
- "stopImmediatePropagation",
- "event.stopImmediatePropagation",
- "stopPropagation",
- "isImmediatePropagationStopped",
- "event.isImmediatePropagationStopped",
- "$get",
- "this.$get",
- "hasClass",
- "classes",
- "addClass",
- "removeClass",
- "hashKey",
- "nextUidFn",
- "objType",
- "HashMap",
- "isolatedUid",
- "this.nextUid",
- "put",
- "anonFn",
- "args",
- "fnText",
- "STRIP_COMMENTS",
- "FN_ARGS",
- "annotate",
- "$inject",
- "argDecl",
- "FN_ARG_SPLIT",
- "FN_ARG",
- "all",
- "underscore",
- "last",
- "modulesToLoad",
- "supportObject",
- "delegate",
- "provider_",
- "providerInjector",
- "instantiate",
- "providerCache",
- "providerSuffix",
- "enforceReturnValue",
- "enforcedReturnValue",
- "instanceInjector",
- "factoryFn",
- "enforce",
- "loadModules",
- "moduleFn",
- "runInvokeQueue",
- "invokeArgs",
- "loadedModules",
- "message",
- "stack",
- "createInternalInjector",
- "cache",
- "getService",
- "serviceName",
- "caller",
- "INSTANTIATING",
- "err",
- "shift",
- "locals",
- "Type",
- "instance",
- "prototype",
- "returnedValue",
- "has",
- "$injector",
- "instanceCache",
- "decorator",
- "decorFn",
- "origProvider",
- "orig$get",
- "origProvider.$get",
- "origInstance",
- "$delegate",
- "autoScrollingEnabled",
- "disableAutoScrolling",
- "this.disableAutoScrolling",
- "getFirstAnchor",
- "list",
- "Array",
- "some",
- "scrollTo",
- "scrollIntoView",
- "scroll",
- "yOffset",
- "getComputedStyle",
- "position",
- "getBoundingClientRect",
- "bottom",
- "elemTop",
- "top",
- "scrollBy",
- "hash",
- "elm",
- "getElementById",
- "getElementsByName",
- "autoScrollWatch",
- "autoScrollWatchAction",
- "newVal",
- "oldVal",
- "supported",
- "Browser",
- "completeOutstandingRequest",
- "outstandingRequestCount",
- "outstandingRequestCallbacks",
- "pop",
- "error",
- "startPoller",
- "interval",
- "check",
- "pollFns",
- "pollFn",
- "pollTimeout",
- "cacheStateAndFireUrlChange",
- "cacheState",
- "fireUrlChange",
- "cachedState",
- "history",
- "state",
- "lastCachedState",
- "lastBrowserUrl",
- "url",
- "lastHistoryState",
- "urlChangeListeners",
- "listener",
- "safeDecodeURIComponent",
- "rawDocument",
- "clearTimeout",
- "pendingDeferIds",
- "isMock",
- "$$completeOutstandingRequest",
- "$$incOutstandingRequestCount",
- "self.$$incOutstandingRequestCount",
- "notifyWhenNoOutstandingRequests",
- "self.notifyWhenNoOutstandingRequests",
- "callback",
- "addPollFn",
- "self.addPollFn",
- "href",
- "baseElement",
- "reloadLocation",
- "self.url",
- "sameState",
- "sameBase",
- "stripHash",
- "substr",
- "self.state",
- "urlChangeInit",
- "onUrlChange",
- "self.onUrlChange",
- "$$checkUrlChange",
- "baseHref",
- "self.baseHref",
- "lastCookies",
- "lastCookieString",
- "cookiePath",
- "cookies",
- "self.cookies",
- "cookieLength",
- "cookie",
- "warn",
- "cookieArray",
- "substring",
- "defer",
- "self.defer",
- "delay",
- "timeoutId",
- "cancel",
- "self.defer.cancel",
- "deferId",
- "cacheFactory",
- "cacheId",
- "options",
- "refresh",
- "entry",
- "freshEnd",
- "staleEnd",
- "n",
- "link",
- "p",
- "nextEntry",
- "prevEntry",
- "caches",
- "size",
- "stats",
- "id",
- "capacity",
- "Number",
- "MAX_VALUE",
- "lruHash",
- "lruEntry",
- "remove",
- "removeAll",
- "destroy",
- "info",
- "cacheFactory.info",
- "cacheFactory.get",
- "$$sanitizeUriProvider",
- "parseIsolateBindings",
- "directiveName",
- "LOCAL_REGEXP",
- "bindings",
- "definition",
- "scopeName",
- "$compileMinErr",
- "mode",
- "collection",
- "optional",
- "attrName",
- "hasDirectives",
- "COMMENT_DIRECTIVE_REGEXP",
- "CLASS_DIRECTIVE_REGEXP",
- "ALL_OR_NOTHING_ATTRS",
- "REQUIRE_PREFIX_REGEXP",
- "EVENT_HANDLER_ATTR_REGEXP",
- "this.directive",
- "registerDirective",
- "directiveFactory",
- "Suffix",
- "directives",
- "priority",
- "require",
- "restrict",
- "$$isolateBindings",
- "aHrefSanitizationWhitelist",
- "this.aHrefSanitizationWhitelist",
- "regexp",
- "imgSrcSanitizationWhitelist",
- "this.imgSrcSanitizationWhitelist",
- "this.debugInfoEnabled",
- "enabled",
- "safeAddClass",
- "$element",
- "className",
- "$compileNodes",
- "transcludeFn",
- "maxPriority",
- "ignoreDirective",
- "previousCompileContext",
- "nodeValue",
- "compositeLinkFn",
- "compileNodes",
- "$$addScopeClass",
- "namespace",
- "publicLinkFn",
- "cloneConnectFn",
- "parentBoundTranscludeFn",
- "transcludeControllers",
- "futureParentElement",
- "$$boundTransclude",
- "$linkNode",
- "wrapTemplate",
- "controllerName",
- "$$addScopeInfo",
- "nodeList",
- "$rootElement",
- "childLinkFn",
- "childScope",
- "childBoundTranscludeFn",
- "stableNodeList",
- "nodeLinkFnFound",
- "linkFns",
- "idx",
- "nodeLinkFn",
- "$new",
- "transcludeOnThisElement",
- "createBoundTranscludeFn",
- "transclude",
- "elementTranscludeOnThisElement",
- "templateOnThisElement",
- "attrs",
- "linkFnFound",
- "Attributes",
- "collectDirectives",
- "applyDirectivesToNode",
- "$$element",
- "terminal",
- "previousBoundTranscludeFn",
- "elementTransclusion",
- "boundTranscludeFn",
- "transcludedScope",
- "cloneFn",
- "controllers",
- "containingScope",
- "$$transcluded",
- "attrsMap",
- "$attr",
- "addDirective",
- "directiveNormalize",
- "isNgAttr",
- "nAttrs",
- "attributes",
- "attrStartName",
- "attrEndName",
- "ngAttrName",
- "NG_ATTR_BINDING",
- "PREFIX_REGEXP",
- "directiveNName",
- "directiveIsMultiElement",
- "nName",
- "addAttrInterpolateDirective",
- "addTextInterpolateDirective",
- "NODE_TYPE_COMMENT",
- "byPriority",
- "groupScan",
- "attrStart",
- "attrEnd",
- "depth",
- "groupElementsLinkFnWrapper",
- "linkFn",
- "compileNode",
- "templateAttrs",
- "jqCollection",
- "originalReplaceDirective",
- "preLinkFns",
- "postLinkFns",
- "addLinkFns",
- "pre",
- "post",
- "newIsolateScopeDirective",
- "$$isolateScope",
- "cloneAndAnnotateFn",
- "getControllers",
- "elementControllers",
- "retrievalMethod",
- "$searchElement",
- "linkNode",
- "controllersBoundTransclude",
- "cloneAttachFn",
- "hasElementTranscludeDirective",
- "scopeToChild",
- "controllerDirectives",
- "$scope",
- "$attrs",
- "$transclude",
- "controllerInstance",
- "controllerAs",
- "templateDirective",
- "$$originalDirective",
- "isolateScopeController",
- "isolateBindingContext",
- "identifier",
- "bindToController",
- "lastValue",
- "parentGet",
- "parentSet",
- "compare",
- "$observe",
- "$$observers",
- "$$scope",
- "literal",
- "b",
- "assign",
- "parentValueWatch",
- "parentValue",
- "$stateful",
- "unwatch",
- "$watchCollection",
- "$on",
- "invokeLinkFn",
- "template",
- "templateUrl",
- "terminalPriority",
- "newScopeDirective",
- "nonTlbTranscludeDirective",
- "hasTranscludeDirective",
- "hasTemplate",
- "$compileNode",
- "$template",
- "childTranscludeFn",
- "$$start",
- "$$end",
- "directiveValue",
- "assertNoDuplicate",
- "$$tlb",
- "createComment",
- "replaceWith",
- "replaceDirective",
- "contents",
- "denormalizeTemplate",
- "removeComments",
- "templateNamespace",
- "newTemplateAttrs",
- "templateDirectives",
- "unprocessedDirectives",
- "markDirectivesAsIsolate",
- "mergeTemplateAttributes",
- "compileTemplateUrl",
- "Math",
- "max",
- "extra",
- "tDirectives",
- "startAttrName",
- "endAttrName",
- "multiElement",
- "srcAttr",
- "dstAttr",
- "$set",
- "tAttrs",
- "linkQueue",
- "afterTemplateNodeLinkFn",
- "afterTemplateChildLinkFn",
- "beforeTemplateCompileNode",
- "origAsyncDirective",
- "derivedSyncDirective",
- "getTrustedResourceUrl",
- "then",
- "content",
- "tempTemplateAttrs",
- "beforeTemplateLinkNode",
- "linkRootElement",
- "$$destroyed",
- "oldClasses",
- "delayedNodeLinkFn",
- "ignoreChildLinkFn",
- "diff",
- "what",
- "previousDirective",
- "text",
- "interpolateFn",
- "textInterpolateCompileFn",
- "templateNode",
- "templateNodeParent",
- "hasCompileParent",
- "$$addBindingClass",
- "textInterpolateLinkFn",
- "$$addBindingInfo",
- "expressions",
- "interpolateFnWatchAction",
- "wrapper",
- "getTrustedContext",
- "attrNormalizedName",
- "HTML",
- "RESOURCE_URL",
- "allOrNothing",
- "trustedContext",
- "attrInterpolatePreLinkFn",
- "newValue",
- "$$inter",
- "oldValue",
- "$updateClass",
- "elementsToRemove",
- "newNode",
- "firstElementToRemove",
- "removeCount",
- "j2",
- "replaceChild",
- "expando",
- "k",
- "kk",
- "annotation",
- "attributesToCopy",
- "$normalize",
- "$addClass",
- "classVal",
- "$removeClass",
- "newClasses",
- "toAdd",
- "tokenDifference",
- "toRemove",
- "writeAttr",
- "booleanKey",
- "aliasedKey",
- "observer",
- "trimmedSrcset",
- "srcPattern",
- "rawUris",
- "nbrUrisWith2parts",
- "floor",
- "innerIdx",
- "lastTuple",
- "removeAttr",
- "listeners",
- "startSymbol",
- "endSymbol",
- "binding",
- "isolated",
- "noTemplate",
- "dataName",
- "str1",
- "str2",
- "values",
- "tokens1",
- "tokens2",
- "token",
- "jqNodes",
- "globals",
- "CNTRL_REG",
- "register",
- "this.register",
- "allowGlobals",
- "this.allowGlobals",
- "addIdentifier",
- "expression",
- "later",
- "ident",
- "controllerPrototype",
- "exception",
- "cause",
- "defaultHttpResponseTransform",
- "headers",
- "tempData",
- "JSON_PROTECTION_PREFIX",
- "contentType",
- "jsonStart",
- "JSON_START",
- "JSON_ENDS",
- "parseHeaders",
- "line",
- "headersGetter",
- "headersObj",
- "transformData",
- "status",
- "fns",
- "defaults",
- "transformResponse",
- "transformRequest",
- "d",
- "common",
- "CONTENT_TYPE_APPLICATION_JSON",
- "patch",
- "xsrfCookieName",
- "xsrfHeaderName",
- "useApplyAsync",
- "this.useApplyAsync",
- "interceptorFactories",
- "interceptors",
- "requestConfig",
- "response",
- "resp",
- "reject",
- "executeHeaderFns",
- "headerContent",
- "processedHeaders",
- "headerFn",
- "header",
- "mergeHeaders",
- "defHeaders",
- "reqHeaders",
- "defHeaderName",
- "reqHeaderName",
- "lowercaseDefHeaderName",
- "chain",
- "serverRequest",
- "reqData",
- "withCredentials",
- "sendReq",
- "promise",
- "when",
- "reversedInterceptors",
- "interceptor",
- "request",
- "requestError",
- "responseError",
- "thenFn",
- "rejectFn",
- "success",
- "promise.success",
- "promise.error",
- "done",
- "headersString",
- "statusText",
- "resolveHttpPromise",
- "resolvePromise",
- "$applyAsync",
- "$$phase",
- "deferred",
- "resolve",
- "resolvePromiseWithResult",
- "removePendingReq",
- "pendingRequests",
- "cachedResp",
- "buildUrl",
- "params",
- "defaultCache",
- "xsrfValue",
- "urlIsSameOrigin",
- "timeout",
- "responseType",
- "v",
- "toISOString",
- "interceptorFactory",
- "createShortMethods",
- "createShortMethodsWithData",
- "createXhr",
- "XMLHttpRequest",
- "createHttpBackend",
- "callbacks",
- "$browserDefer",
- "jsonpReq",
- "callbackId",
- "async",
- "body",
- "called",
- "addEventListener",
- "timeoutRequest",
- "jsonpDone",
- "xhr",
- "abort",
- "completeRequest",
- "open",
- "setRequestHeader",
- "onload",
- "xhr.onload",
- "responseText",
- "urlResolve",
- "protocol",
- "getAllResponseHeaders",
- "onerror",
- "onabort",
- "send",
- "this.startSymbol",
- "this.endSymbol",
- "escape",
- "ch",
- "mustHaveExpression",
- "unescapeText",
- "escapedStartRegexp",
- "escapedEndRegexp",
- "parseStringifyInterceptor",
- "getTrusted",
- "valueOf",
- "newErr",
- "$interpolateMinErr",
- "endIndex",
- "parseFns",
- "textLength",
- "expressionPositions",
- "startSymbolLength",
- "exp",
- "endSymbolLength",
- "compute",
- "interpolationFn",
- "$$watchDelegate",
- "objectEquality",
- "$watchGroup",
- "interpolateFnWatcher",
- "oldValues",
- "currValue",
- "$interpolate.startSymbol",
- "$interpolate.endSymbol",
- "count",
- "invokeApply",
- "setInterval",
- "clearInterval",
- "iteration",
- "skipApply",
- "$$intervalId",
- "tick",
- "notify",
- "intervals",
- "interval.cancel",
- "NUMBER_FORMATS",
- "DECIMAL_SEP",
- "GROUP_SEP",
- "PATTERNS",
- "minInt",
- "minFrac",
- "maxFrac",
- "posPre",
- "posSuf",
- "negPre",
- "negSuf",
- "gSize",
- "lgSize",
- "CURRENCY_SYM",
- "DATETIME_FORMATS",
- "MONTH",
- "SHORTMONTH",
- "DAY",
- "SHORTDAY",
- "AMPMS",
- "medium",
- "fullDate",
- "longDate",
- "mediumDate",
- "shortDate",
- "mediumTime",
- "shortTime",
- "pluralCat",
- "num",
- "encodePath",
- "segments",
- "parseAbsoluteUrl",
- "absoluteUrl",
- "locationObj",
- "parsedUrl",
- "$$protocol",
- "$$host",
- "hostname",
- "$$port",
- "port",
- "DEFAULT_PORTS",
- "parseAppUrl",
- "relativeUrl",
- "prefixed",
- "$$path",
- "pathname",
- "$$search",
- "search",
- "$$hash",
- "beginsWith",
- "begin",
- "whole",
- "trimEmptyHash",
- "stripFile",
- "lastIndexOf",
- "LocationHtml5Url",
- "appBase",
- "basePrefix",
- "$$html5",
- "appBaseNoFile",
- "$$parse",
- "this.$$parse",
- "pathUrl",
- "$locationMinErr",
- "$$compose",
- "this.$$compose",
- "$$url",
- "$$absUrl",
- "$$parseLinkUrl",
- "this.$$parseLinkUrl",
- "relHref",
- "appUrl",
- "prevAppUrl",
- "rewrittenUrl",
- "LocationHashbangUrl",
- "hashPrefix",
- "withoutBaseUrl",
- "withoutHashUrl",
- "windowsFilePathExp",
- "firstPathSegmentMatch",
- "LocationHashbangInHtml5Url",
- "locationGetter",
- "property",
- "locationGetterSetter",
- "preprocess",
- "html5Mode",
- "requireBase",
- "rewriteLinks",
- "this.hashPrefix",
- "this.html5Mode",
- "setBrowserUrlWithFallback",
- "oldUrl",
- "oldState",
- "$$state",
- "afterLocationChange",
- "$broadcast",
- "absUrl",
- "LocationMode",
- "initialUrl",
- "IGNORE_URI_REGEXP",
- "ctrlKey",
- "metaKey",
- "which",
- "target",
- "absHref",
- "animVal",
- "preventDefault",
- "initializing",
- "newUrl",
- "newState",
- "$digest",
- "$locationWatch",
- "currentReplace",
- "$$replace",
- "urlOrStateChanged",
- "debug",
- "debugEnabled",
- "this.debugEnabled",
- "flag",
- "formatError",
- "Error",
- "sourceURL",
- "consoleLog",
- "console",
- "logFn",
- "log",
- "hasApply",
- "arg1",
- "arg2",
- "ensureSafeMemberName",
- "fullExpression",
- "$parseMinErr",
- "ensureSafeObject",
- "children",
- "isConstant",
- "setter",
- "setValue",
- "fullExp",
- "propertyObj",
- "isPossiblyDangerousMemberName",
- "cspSafeGetterFn",
- "key0",
- "key1",
- "key2",
- "key3",
- "key4",
- "expensiveChecks",
- "eso",
- "o",
- "eso0",
- "eso1",
- "eso2",
- "eso3",
- "eso4",
- "cspSafeGetter",
- "pathVal",
- "getterFnWithEnsureSafeObject",
- "s",
- "getterFn",
- "getterFnCache",
- "getterFnCacheExpensive",
- "getterFnCacheDefault",
- "pathKeys",
- "pathKeysLength",
- "code",
- "needsEnsureSafeObject",
- "lookupJs",
- "evaledFnGetter",
- "Function",
- "sharedGetter",
- "fn.assign",
- "getValueOf",
- "objectValueOf",
- "cacheDefault",
- "cacheExpensive",
- "wrapSharedExpression",
- "wrapped",
- "collectExpressionInputs",
- "inputs",
- "expressionInputDirtyCheck",
- "oldValueOfValue",
- "inputsWatchDelegate",
- "parsedExpression",
- "inputExpressions",
- "$$inputs",
- "lastResult",
- "oldInputValue",
- "expressionInputWatch",
- "newInputValue",
- "oldInputValueOfValues",
- "expressionInputsWatch",
- "changed",
- "oneTimeWatchDelegate",
- "oneTimeWatch",
- "oneTimeListener",
- "old",
- "$$postDigest",
- "oneTimeLiteralWatchDelegate",
- "isAllDefined",
- "allDefined",
- "constantWatchDelegate",
- "constantWatch",
- "constantListener",
- "addInterceptor",
- "interceptorFn",
- "watchDelegate",
- "regularInterceptedExpression",
- "oneTimeInterceptedExpression",
- "$parseOptions",
- "$parseOptionsExpensive",
- "oneTime",
- "cacheKey",
- "parseOptions",
- "lexer",
- "Lexer",
- "parser",
- "Parser",
- "qFactory",
- "nextTick",
- "exceptionHandler",
- "callOnce",
- "resolveFn",
- "Promise",
- "simpleBind",
- "scheduleProcessQueue",
- "processScheduled",
- "pending",
- "Deferred",
- "$qMinErr",
- "TypeError",
- "onFulfilled",
- "onRejected",
- "progressBack",
- "catch",
- "finally",
- "handleCallback",
- "$$reject",
- "$$resolve",
- "progress",
- "makePromise",
- "resolved",
- "isResolved",
- "callbackOutput",
- "errback",
- "$Q",
- "Q",
- "resolver",
- "promises",
- "results",
- "requestAnimationFrame",
- "webkitRequestAnimationFrame",
- "cancelAnimationFrame",
- "webkitCancelAnimationFrame",
- "webkitCancelRequestAnimationFrame",
- "rafSupported",
- "raf",
- "timer",
- "TTL",
- "$rootScopeMinErr",
- "lastDirtyWatch",
- "applyAsyncId",
- "digestTtl",
- "this.digestTtl",
- "Scope",
- "$id",
- "$parent",
- "$$watchers",
- "$$nextSibling",
- "$$prevSibling",
- "$$childHead",
- "$$childTail",
- "$root",
- "$$listeners",
- "$$listenerCount",
- "beginPhase",
- "phase",
- "decrementListenerCount",
- "current",
- "initWatchVal",
- "flushApplyAsync",
- "applyAsyncQueue",
- "scheduleApplyAsync",
- "isolate",
- "destroyChild",
- "child",
- "$$ChildScope",
- "this.$$ChildScope",
- "watchExp",
- "watcher",
- "eq",
- "deregisterWatch",
- "watchExpressions",
- "watchGroupAction",
- "changeReactionScheduled",
- "firstRun",
- "newValues",
- "deregisterFns",
- "shouldCall",
- "deregisterWatchGroup",
- "expr",
- "unwatchFn",
- "watchGroupSubAction",
- "$watchCollectionInterceptor",
- "_value",
- "bothNaN",
- "newItem",
- "oldItem",
- "internalArray",
- "oldLength",
- "changeDetected",
- "newLength",
- "internalObject",
- "veryOldValue",
- "trackVeryOldValue",
- "changeDetector",
- "initRun",
- "$watchCollectionAction",
- "watch",
- "watchers",
- "dirty",
- "ttl",
- "watchLog",
- "logIdx",
- "asyncTask",
- "asyncQueue",
- "$eval",
- "isNaN",
- "msg",
- "next",
- "postDigestQueue",
- "eventName",
- "this.$watchGroup",
- "$applyAsyncExpression",
- "namedListeners",
- "indexOfListener",
- "$emit",
- "targetScope",
- "listenerArgs",
- "currentScope",
- "$$asyncQueue",
- "$$postDigestQueue",
- "$$applyAsyncQueue",
- "sanitizeUri",
- "uri",
- "isImage",
- "regex",
- "normalizedVal",
- "adjustMatcher",
- "matcher",
- "$sceMinErr",
- "escapeForRegexp",
- "adjustMatchers",
- "matchers",
- "adjustedMatchers",
- "SCE_CONTEXTS",
- "resourceUrlWhitelist",
- "resourceUrlBlacklist",
- "this.resourceUrlWhitelist",
- "this.resourceUrlBlacklist",
- "matchUrl",
- "generateHolderType",
- "Base",
- "holderType",
- "trustedValue",
- "$$unwrapTrustedValue",
- "this.$$unwrapTrustedValue",
- "holderType.prototype.valueOf",
- "holderType.prototype.toString",
- "htmlSanitizer",
- "trustedValueHolderBase",
- "byType",
- "CSS",
- "URL",
- "JS",
- "trustAs",
- "Constructor",
- "maybeTrusted",
- "allowed",
- "this.enabled",
- "msie",
- "sce",
- "isEnabled",
- "sce.isEnabled",
- "sce.getTrusted",
- "parseAs",
- "sce.parseAs",
- "enumValue",
- "lName",
- "eventSupport",
- "android",
- "userAgent",
- "navigator",
- "boxee",
- "vendorPrefix",
- "vendorRegex",
- "bodyStyle",
- "transitions",
- "animations",
- "webkitTransition",
- "webkitAnimation",
- "pushState",
- "hasEvent",
- "divElm",
- "handleRequestFn",
- "tpl",
- "ignoreRequestError",
- "totalPendingRequests",
- "transformer",
- "httpOptions",
- "handleError",
- "testability",
- "testability.findBindings",
- "opt_exactMatch",
- "getElementsByClassName",
- "matches",
- "dataBinding",
- "bindingName",
- "testability.findModels",
- "prefixes",
- "attributeEquals",
- "testability.getLocation",
- "testability.setLocation",
- "testability.whenStable",
- "deferreds",
- "$$timeoutId",
- "timeout.cancel",
- "urlParsingNode",
- "requestUrl",
- "originUrl",
- "filters",
- "suffix",
- "currencyFilter",
- "dateFilter",
- "filterFilter",
- "jsonFilter",
- "limitToFilter",
- "lowercaseFilter",
- "numberFilter",
- "orderByFilter",
- "uppercaseFilter",
- "comparator",
- "matchAgainstAnyProp",
- "predicateFn",
- "createPredicateFn",
- "shouldMatchPrimitives",
- "actual",
- "expected",
- "item",
- "deepCompare",
- "dontMatchWholeObject",
- "actualType",
- "expectedType",
- "expectedVal",
- "matchAnyProperty",
- "actualVal",
- "$locale",
- "formats",
- "amount",
- "currencySymbol",
- "fractionSize",
- "formatNumber",
- "number",
- "groupSep",
- "decimalSep",
- "isFinite",
- "isNegative",
- "abs",
- "numStr",
- "formatedText",
- "hasExponent",
- "toFixed",
- "parseFloat",
- "fractionLen",
- "min",
- "round",
- "fraction",
- "lgroup",
- "group",
- "padNumber",
- "digits",
- "neg",
- "dateGetter",
- "date",
- "dateStrGetter",
- "shortForm",
- "getFirstThursdayOfYear",
- "year",
- "dayOfWeekOnFirst",
- "getDay",
- "weekGetter",
- "firstThurs",
- "getFullYear",
- "thisThurs",
- "getMonth",
- "getDate",
- "jsonStringToDate",
- "string",
- "R_ISO8601_STR",
- "tzHour",
- "tzMin",
- "dateSetter",
- "setUTCFullYear",
- "setFullYear",
- "timeSetter",
- "setUTCHours",
- "setHours",
- "m",
- "ms",
- "format",
- "timezone",
- "NUMBER_STRING",
- "DATE_FORMATS_SPLIT",
- "setMinutes",
- "getMinutes",
- "getTimezoneOffset",
- "DATE_FORMATS",
- "object",
- "spacing",
- "limit",
- "Infinity",
- "sortPredicate",
- "reverseOrder",
- "reverseComparator",
- "comp",
- "descending",
- "objectToString",
- "v1",
- "v2",
- "map",
- "predicate",
- "ngDirective",
- "FormController",
- "controls",
- "parentForm",
- "$$parentForm",
- "nullFormCtrl",
- "$error",
- "$$success",
- "$pending",
- "$name",
- "$dirty",
- "$pristine",
- "$valid",
- "$invalid",
- "$submitted",
- "$addControl",
- "$rollbackViewValue",
- "form.$rollbackViewValue",
- "control",
- "$commitViewValue",
- "form.$commitViewValue",
- "form.$addControl",
- "$$renameControl",
- "form.$$renameControl",
- "newName",
- "oldName",
- "$removeControl",
- "form.$removeControl",
- "$setValidity",
- "addSetValidityMethod",
- "ctrl",
- "set",
- "unset",
- "$setDirty",
- "form.$setDirty",
- "PRISTINE_CLASS",
- "DIRTY_CLASS",
- "$setPristine",
- "form.$setPristine",
- "setClass",
- "SUBMITTED_CLASS",
- "$setUntouched",
- "form.$setUntouched",
- "$setSubmitted",
- "form.$setSubmitted",
- "stringBasedInputType",
- "$formatters",
- "$isEmpty",
- "baseInputType",
- "composing",
- "ev",
- "ngTrim",
- "$viewValue",
- "$$hasNativeValidators",
- "$setViewValue",
- "deferListener",
- "origValue",
- "keyCode",
- "$render",
- "ctrl.$render",
- "createDateParser",
- "mapping",
- "iso",
- "ISO_DATE_REGEXP",
- "yyyy",
- "MM",
- "dd",
- "HH",
- "getHours",
- "mm",
- "ss",
- "getSeconds",
- "sss",
- "getMilliseconds",
- "part",
- "NaN",
- "createDateInputType",
- "parseDate",
- "dynamicDateInputType",
- "isValidDate",
- "parseObservedDateValue",
- "badInputChecker",
- "$options",
- "previousDate",
- "$$parserName",
- "$parsers",
- "parsedDate",
- "$ngModelMinErr",
- "timezoneOffset",
- "ngMin",
- "minVal",
- "$validators",
- "ctrl.$validators.min",
- "$validate",
- "ngMax",
- "maxVal",
- "ctrl.$validators.max",
- "validity",
- "VALIDITY_STATE_PROPERTY",
- "badInput",
- "typeMismatch",
- "parseConstantExpr",
- "fallback",
- "parseFn",
- "cachedToggleClass",
- "switchValue",
- "classCache",
- "toggleValidationCss",
- "validationErrorKey",
- "isValid",
- "VALID_CLASS",
- "INVALID_CLASS",
- "setValidity",
- "isObjectEmpty",
- "PENDING_CLASS",
- "combinedState",
- "classDirective",
- "arrayDifference",
- "arrayClasses",
- "digestClassCounts",
- "classCounts",
- "classesToUpdate",
- "ngClassWatchAction",
- "$index",
- "old$index",
- "mod",
- "REGEX_STRING_REGEXP",
- "documentMode",
- "isActive_",
- "active",
- "full",
- "major",
- "minor",
- "dot",
- "codeName",
- "JQLite._data",
- "MOUSE_EVENT_MAP",
- "mouseleave",
- "mouseenter",
- "optgroup",
- "tbody",
- "tfoot",
- "colgroup",
- "caption",
- "thead",
- "th",
- "td",
- "ready",
- "trigger",
- "fired",
- "removeData",
- "removeAttribute",
- "css",
- "lowercasedName",
- "specified",
- "getNamedItem",
- "ret",
- "getText",
- "$dv",
- "multiple",
- "selected",
- "nodeCount",
- "jqLiteOn",
- "types",
- "related",
- "relatedTarget",
- "contains",
- "off",
- "one",
- "onFn",
- "replaceNode",
- "insertBefore",
- "contentDocument",
- "prepend",
- "wrapNode",
- "detach",
- "after",
- "newElement",
- "toggleClass",
- "condition",
- "classCondition",
- "nextElementSibling",
- "getElementsByTagName",
- "extraParameters",
- "dummyEvent",
- "handlerArgs",
- "eventFnsCopy",
- "arg3",
- "unbind",
- "$$annotate",
- "$animateMinErr",
- "$$selectors",
- "classNameFilter",
- "this.classNameFilter",
- "$$classNameFilter",
- "runAnimationPostDigest",
- "cancelFn",
- "$$cancelFn",
- "defer.promise.$$cancelFn",
- "ngAnimatePostDigest",
- "ngAnimateNotifyComplete",
- "resolveElementClasses",
- "hasClasses",
- "cachedClassManipulation",
- "op",
- "asyncPromise",
- "currentDefer",
- "applyStyles",
- "styles",
- "from",
- "to",
- "animate",
- "enter",
- "leave",
- "move",
- "$$addClassImmediately",
- "$$removeClassImmediately",
- "add",
- "createdCache",
- "STORAGE_KEY",
- "$$setClassImmediately",
- "APPLICATION_JSON",
- "PATH_MATCH",
- "locationPrototype",
- "paramValue",
- "Location",
- "Location.prototype.state",
- "CALL",
- "APPLY",
- "BIND",
- "CONSTANTS",
- "null",
- "true",
- "false",
- "constantGetter",
- "OPERATORS",
- "+",
- "-",
- "*",
- "/",
- "%",
- "===",
- "!==",
- "==",
- "!=",
- "<",
- ">",
- "<=",
- ">=",
- "&&",
- "||",
- "!",
- "ESCAPE",
- "lex",
- "tokens",
- "readString",
- "peek",
- "readNumber",
- "isIdent",
- "readIdent",
- "is",
- "isWhitespace",
- "ch2",
- "ch3",
- "op2",
- "op3",
- "op1",
- "operator",
- "throwError",
- "chars",
- "isExpOperator",
- "start",
- "end",
- "colStr",
- "peekCh",
- "quote",
- "rawString",
- "hex",
- "String",
- "fromCharCode",
- "rep",
- "ZERO",
- "statements",
- "primary",
- "expect",
- "filterChain",
- "consume",
- "arrayDeclaration",
- "functionCall",
- "objectIndex",
- "fieldAccess",
- "peekToken",
- "e1",
- "e2",
- "e3",
- "e4",
- "peekAhead",
- "t",
- "unaryFn",
- "right",
- "$parseUnaryFn",
- "binaryFn",
- "left",
- "isBranching",
- "$parseBinaryFn",
- "$parseConstant",
- "$parseStatements",
- "inputFn",
- "argsFn",
- "$parseFilter",
- "every",
- "assignment",
- "ternary",
- "$parseAssignment",
- "logicalOR",
- "middle",
- "$parseTernary",
- "logicalAND",
- "equality",
- "relational",
- "additive",
- "multiplicative",
- "unary",
- "$parseFieldAccess",
- "indexFn",
- "$parseObjectIndex",
- "fnGetter",
- "contextGetter",
- "expressionText",
- "$parseFunctionCall",
- "elementFns",
- "$parseArrayLiteral",
- "valueFns",
- "$parseObjectLiteral",
- "yy",
- "y",
- "MMMM",
- "MMM",
- "M",
- "H",
- "hh",
- "EEEE",
- "EEE",
- "ampmGetter",
- "Z",
- "timeZoneGetter",
- "zone",
- "paddedZone",
- "ww",
- "w",
- "xlinkHref",
- "propName",
- "normalized",
- "ngBooleanAttrWatchAction",
- "htmlAttr",
- "ngAttrAliasWatchAction",
- "nullFormRenameControl",
- "formDirectiveFactory",
- "isNgForm",
- "ngFormCompile",
- "formElement",
- "ngFormPreLink",
- "handleFormSubmission",
- "parentFormCtrl",
- "alias",
- "URL_REGEXP",
- "EMAIL_REGEXP",
- "NUMBER_REGEXP",
- "DATE_REGEXP",
- "DATETIMELOCAL_REGEXP",
- "WEEK_REGEXP",
- "MONTH_REGEXP",
- "TIME_REGEXP",
- "DEFAULT_REGEXP",
- "inputType",
- "textInputType",
- "weekParser",
- "isoWeek",
- "existingDate",
- "week",
- "minutes",
- "hours",
- "seconds",
- "milliseconds",
- "addDays",
- "numberInputType",
- "urlInputType",
- "ctrl.$validators.url",
- "modelValue",
- "viewValue",
- "emailInputType",
- "email",
- "ctrl.$validators.email",
- "radioInputType",
- "checked",
- "checkboxInputType",
- "trueValue",
- "ngTrueValue",
- "falseValue",
- "ngFalseValue",
- "ctrl.$isEmpty",
- "ctrls",
- "NgModelController",
- "$modelValue",
- "$$rawModelValue",
- "$asyncValidators",
- "$viewChangeListeners",
- "$untouched",
- "$touched",
- "parsedNgModel",
- "parsedNgModelAssign",
- "ngModelGet",
- "ngModelSet",
- "pendingDebounce",
- "$$setOptions",
- "this.$$setOptions",
- "getterSetter",
- "invokeModelGetter",
- "invokeModelSetter",
- "$$$p",
- "this.$isEmpty",
- "currentValidationRunId",
- "this.$setPristine",
- "this.$setDirty",
- "this.$setUntouched",
- "UNTOUCHED_CLASS",
- "TOUCHED_CLASS",
- "$setTouched",
- "this.$setTouched",
- "this.$rollbackViewValue",
- "$$lastCommittedViewValue",
- "this.$validate",
- "prevValid",
- "prevModelValue",
- "allowInvalid",
- "$$runValidators",
- "parserValid",
- "allValid",
- "$$writeModelToScope",
- "this.$$runValidators",
- "parseValid",
- "doneCallback",
- "processSyncValidators",
- "syncValidatorsValid",
- "validator",
- "processAsyncValidators",
- "validatorPromises",
- "validationDone",
- "localValidationRunId",
- "processParseErrors",
- "errorKey",
- "this.$commitViewValue",
- "$$parseAndValidate",
- "this.$$parseAndValidate",
- "this.$$writeModelToScope",
- "this.$setViewValue",
- "updateOnDefault",
- "$$debounceViewValueCommit",
- "this.$$debounceViewValueCommit",
- "debounceDelay",
- "debounce",
- "ngModelWatch",
- "formatters",
- "ngModelCompile",
- "ngModelPreLink",
- "modelCtrl",
- "formCtrl",
- "ngModelPostLink",
- "updateOn",
- "ctrl.$validators.required",
- "patternExp",
- "ctrl.$validators.pattern",
- "intVal",
- "ctrl.$validators.maxlength",
- "ctrl.$validators.minlength",
- "trimValues",
- "CONSTANT_VALUE_REGEXP",
- "tplAttr",
- "ngValueConstantLink",
- "ngValueLink",
- "valueWatchAction",
- "that",
- "$compile",
- "ngBindCompile",
- "templateElement",
- "ngBindLink",
- "ngBindWatchAction",
- "ngBindTemplateCompile",
- "ngBindTemplateLink",
- "ngBindHtmlCompile",
- "tElement",
- "ngBindHtmlGetter",
- "ngBindHtmlWatch",
- "getStringValue",
- "ngBindHtmlLink",
- "ngBindHtmlWatchAction",
- "getTrustedHtml",
- "forceAsyncEvents",
- "ngEventHandler",
- "$event",
- "previousElements",
- "ngIfWatchAction",
- "newScope",
- "srcExp",
- "onloadExp",
- "autoScrollExp",
- "autoscroll",
- "changeCounter",
- "previousElement",
- "currentElement",
- "cleanupLastIncludeContent",
- "parseAsResourceUrl",
- "ngIncludeWatchAction",
- "afterAnimation",
- "thisChangeId",
- "namespaceAdaptedClone",
- "BRACE",
- "IS_WHEN",
- "updateElementText",
- "newText",
- "numberExp",
- "whenExp",
- "whens",
- "whensExpFns",
- "braceReplacement",
- "watchRemover",
- "lastCount",
- "attributeName",
- "tmpMatch",
- "whenKey",
- "ngPluralizeWatchAction",
- "countIsNaN",
- "ngRepeatMinErr",
- "updateScope",
- "valueIdentifier",
- "keyIdentifier",
- "arrayLength",
- "$first",
- "$last",
- "$middle",
- "$odd",
- "$even",
- "ngRepeatCompile",
- "ngRepeatEndComment",
- "lhs",
- "rhs",
- "aliasAs",
- "trackByExp",
- "trackByExpGetter",
- "trackByIdExpFn",
- "trackByIdArrayFn",
- "trackByIdObjFn",
- "hashFnLocals",
- "ngRepeatLink",
- "lastBlockMap",
- "ngRepeatAction",
- "previousNode",
- "nextNode",
- "nextBlockMap",
- "collectionLength",
- "trackById",
- "collectionKeys",
- "nextBlockOrder",
- "trackByIdFn",
- "itemKey",
- "blockKey",
- "ngRepeatTransclude",
- "ngShowWatchAction",
- "NG_HIDE_CLASS",
- "tempClasses",
- "NG_HIDE_IN_PROGRESS_CLASS",
- "ngHideWatchAction",
- "ngStyleWatchAction",
- "newStyles",
- "oldStyles",
- "ngSwitchController",
- "cases",
- "selectedTranscludes",
- "selectedElements",
- "previousLeaveAnimations",
- "selectedScopes",
- "spliceFactory",
- "ngSwitchWatchAction",
- "selectedTransclude",
- "caseElement",
- "selectedScope",
- "anchor",
- "ngOptionsMinErr",
- "NG_OPTIONS_REGEXP",
- "nullModelCtrl",
- "optionsMap",
- "ngModelCtrl",
- "unknownOption",
- "databound",
- "init",
- "self.init",
- "ngModelCtrl_",
- "nullOption_",
- "unknownOption_",
- "addOption",
- "self.addOption",
- "removeOption",
- "self.removeOption",
- "hasOption",
- "renderUnknownOption",
- "self.renderUnknownOption",
- "unknownVal",
- "self.hasOption",
- "setupAsSingle",
- "selectElement",
- "selectCtrl",
- "ngModelCtrl.$render",
- "emptyOption",
- "setupAsMultiple",
- "lastView",
- "selectMultipleWatch",
- "setupAsOptions",
- "callExpression",
- "exprFn",
- "valueName",
- "keyName",
- "createIsSelectedFn",
- "selectedSet",
- "trackFn",
- "trackIndex",
- "isSelected",
- "compareValueFn",
- "selectAsFn",
- "scheduleRendering",
- "renderScheduled",
- "render",
- "updateLabelMap",
- "labelMap",
- "label",
- "added",
- "optionGroups",
- "optionGroupNames",
- "optionGroupName",
- "optionGroup",
- "existingParent",
- "existingOptions",
- "existingOption",
- "valuesFn",
- "anySelected",
- "optionId",
- "trackKeysCache",
- "groupByFn",
- "displayFn",
- "nullOption",
- "groupIndex",
- "groupLength",
- "optionGroupsCache",
- "optGroupTemplate",
- "lastElement",
- "optionTemplate",
- "optionsExp",
- "selectAs",
- "track",
- "selectionChanged",
- "selectedKey",
- "viewValueFn",
- "getLabels",
- "toDisplay",
- "ngModelCtrl.$isEmpty",
- "nullSelectCtrl",
- "selectCtrlName",
- "interpolateWatchAction",
- "$$csp"
- ]
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3-angular.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3-angular.js
deleted file mode 100644
index 6f2fd359..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3-angular.js
+++ /dev/null
@@ -1,544 +0,0 @@
-/*! c3-angular - v0.1.0 - 2015-01-01
- * https://github.com/jettro/c3-angular-sample
- * Copyright (c) 2015 ; Licensed */
-angular.module('gridshore.c3js.chart', [])
- .controller('ChartController', ['$scope', function ($scope) {
- $scope.chart = null;
- $scope.columns = [];
- $scope.types = {};
- $scope.axis = {};
- $scope.axes = {};
- $scope.xValues = null;
- $scope.xTick = null;
- $scope.names = null;
- $scope.colors = null;
- $scope.grid = null;
- $scope.legend = null;
- $scope.tooltip = null;
- $scope.chartSize = null;
- $scope.colors = null;
- $scope.jsonKeys = null;
-
- this.showGraph = function () {
- var config = {};
- config.bindto = "#" + $scope.bindto;
- config.data = {};
-
- if ($scope.xValues) {
- config.data.x = $scope.xValues;
- }
- if ($scope.columns) {
- config.data.columns = $scope.columns;
- }
- config.data.types = $scope.types;
- config.data.axes = $scope.axes;
- if ($scope.names) {
- config.data.names = $scope.names;
- }
- if ($scope.colors) {
- config.data.colors = $scope.colors;
- }
- if ($scope.showLabels && $scope.showLabels === "true") {
- config.data.labels = true;
- }
- if ($scope.showSubchart && $scope.showSubchart === "true") {
- config.subchart = {"show": true};
- }
- if ($scope.enableZoom && $scope.enableZoom === "true") {
- config.zoom = {"enabled": true};
- }
- config.axis = $scope.axis;
- if ($scope.xTick) {
- config.axis.x.tick = $scope.xTick;
- }
- if ($scope.grid != null) {
- config.grid = $scope.grid;
- }
- if ($scope.legend != null) {
- config.legend = $scope.legend;
- }
- if ($scope.tooltip != null) {
- config.tooltip = $scope.tooltip;
- }
- if ($scope.chartSize != null) {
- config.size = $scope.chartSize;
- }
- if ($scope.colors != null) {
- config.color = {"pattern": $scope.colors};
- }
-
- $scope.config = config;
-
- if ($scope.chartData && $scope.chartColumns) {
- $scope.$watchCollection('chartData', function () {
- loadChartData();
- });
- } else {
- $scope.chart = c3.generate($scope.config);
- }
- };
-
- this.addColumn = function (column, columnType, columnName, columnColor) {
- $scope.columns.push(column);
- addColumnProperties(column[0], columnType, columnName, columnColor);
- };
-
- this.addYAxis = function (yAxis) {
- $scope.axes = yAxis;
- if (!$scope.axis.y2) {
- $scope.axis.y2 = {"show": true};
- }
- };
-
- this.addXAxisValues = function (xValues) {
- $scope.xValues = xValues;
- };
-
- this.addAxisProperties = function (id, axis) {
- $scope.axis[id] = axis;
- };
-
- this.addXTick = function (tick) {
- $scope.xTick = tick;
- };
-
- this.rotateAxis = function () {
- $scope.axis.rotated = true;
- };
-
- this.addGrid = function (axis) {
- if ($scope.grid == null) {
- $scope.grid = {};
- }
- if ($scope.grid[axis] == null) {
- $scope.grid[axis] = {};
- }
- $scope.grid[axis].show = true;
- };
-
- this.addGridLine = function (axis, value, text) {
- if ($scope.grid == null) {
- $scope.grid = {};
- }
- if (axis === "x") {
- if ($scope.grid.x === undefined) {
- $scope.grid.x = {};
- }
- if ($scope.grid.x.lines === undefined) {
- $scope.grid.x.lines = [];
- }
- } else {
- if ($scope.grid.y === undefined) {
- $scope.grid.y = {};
- }
- if ($scope.grid.y.lines === undefined) {
- $scope.grid.y.lines = [];
- }
-
- }
- if (axis === "y2") {
- $scope.grid.y.lines.push({"value": value, "text": text, "axis": "y2"});
- } else {
- $scope.grid[axis].lines.push({"value": value, "text": text});
- }
- };
-
- this.addLegend = function (legend) {
- $scope.legend = legend;
- };
-
- this.addTooltip = function (tooltip) {
- $scope.tooltip = tooltip;
- };
-
- this.addSize = function (chartSize) {
- $scope.chartSize = chartSize;
- };
-
- this.addColors = function (colors) {
- $scope.colors = colors;
- };
-
- function addColumnProperties(id, columnType, columnName, columnColor) {
- if (columnType !== undefined) {
- $scope.types[id] = columnType;
- }
- if (columnName !== undefined) {
- if ($scope.names === null) {
- $scope.names = {};
- }
- $scope.names[id] = columnName;
- }
- if (columnColor !== undefined) {
- if ($scope.colors === null) {
- $scope.colors = {};
- }
- $scope.colors[id] = columnColor;
- }
- }
-
- function loadChartData() {
- $scope.jsonKeys = {};
- $scope.jsonKeys.value = [];
- angular.forEach($scope.chartColumns, function (column) {
- $scope.jsonKeys.value.push(column.id);
- addColumnProperties(column.id, column.type, column.name, column.color);
- });
- if ($scope.chartX) {
- $scope.jsonKeys.x = $scope.chartX.id;
- }
- if ($scope.names) {
- $scope.config.data.names = $scope.names;
- }
- if ($scope.colors) {
- $scope.config.data.colors = $scope.colors;
- }
-
- $scope.config.data.keys = $scope.jsonKeys;
- $scope.config.data.json = $scope.chartData;
-
- $scope.chart = c3.generate($scope.config);
-
- // $scope.chart.load(data);
- }
- }])
- .directive('c3chart', ['$timeout', function ($timeout) {
- var chartLinker = function (scope, element, attrs, chartCtrl) {
- // Trick to wait for all rendering of the DOM to be finished.
- $timeout(function () {
- chartCtrl.showGraph();
- });
- };
-
- return {
- "restrict": "E",
- "controller": "ChartController",
- "scope": {
- "bindto": "@bindtoId",
- "showLabels": "@showLabels",
- "showSubchart": "@showSubchart",
- "enableZoom": "@enableZoom",
- "chartData": "=chartData",
- "chartColumns": "=chartColumns",
- "chartX": "=chartX"
- },
- "template": "<div><div id='{{bindto}}'></div><div ng-transclude></div></div>",
- "replace": true,
- "transclude": true,
- "link": chartLinker
- };
- }])
- .directive('chartColumn', function () {
- var columnLinker = function (scope, element, attrs, chartCtrl) {
- var column = attrs.columnValues.split(",");
- column.unshift(attrs.columnId);
- chartCtrl.addColumn(column, attrs.columnType, attrs.columnName, attrs.columnColor);
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": columnLinker
- };
- })
- .directive('chartAxes', function () {
- var axesLinker = function (scope, element, attrs, chartCtrl) {
- var x = attrs.valuesX;
- if (x) {
- chartCtrl.addXAxisValues(x);
- }
-
- var y = attrs.y;
- var y2 = attrs.y2;
- var yAxis = {};
- if (y2) {
- var items = y2.split(",");
- for (var item in items) {
- yAxis[items[item]] = "y2";
- }
- if (y) {
- var yItems = y.split(",");
- for (var yItem in yItems) {
- yAxis[yItems[yItem]] = "y";
- }
- }
- chartCtrl.addYAxis(yAxis);
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": axesLinker
- };
- })
- .directive('chartAxis', function () {
- var axisLinker = function (scope, element, attrs, chartCtrl) {
- var rotate = attrs.axisRotate;
- if (rotate) {
- chartCtrl.rotateAxis();
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "transclude": true,
- "template": "<div ng-transclude></div>",
- "replace": true,
- "link": axisLinker
- };
- })
- .directive('chartAxisX', function () {
- var axisLinker = function (scope, element, attrs, chartCtrl) {
- var position = attrs.axisPosition;
- var label = attrs.axisLabel;
-
- var axis = {"label": {"text": label, "position": position}};
-
- var type = attrs.axisType;
- if (type) {
- axis.type = type;
- }
- // TODO has a strange effect on the graph, need to evaluate
- var height = attrs.axisHeight;
- if (height) {
- axis.height = height;
- }
- chartCtrl.addAxisProperties('x', axis);
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "transclude": true,
- "template": "<div ng-transclude></div>",
- "replace": true,
- "link": axisLinker
- };
- })
- .directive('chartAxisY', function () {
- var axisLinker = function (scope, element, attrs, chartCtrl) {
- var id = attrs.axisId;
- var position = attrs.axisPosition;
- var label = attrs.axisLabel;
-
- var axis = {"label": {"text": label, "position": position}};
- if (id === 'y2') {
- axis.show = true;
- }
- var paddingTop = attrs.paddingTop;
- var paddingBottom = attrs.paddingBottom;
- if (paddingTop || paddingBottom) {
- paddingTop = (paddingTop) ? paddingTop : 0;
- paddingBottom = (paddingBottom) ? paddingBottom : 0;
- axis.padding = {"top": parseInt(paddingTop), "bottom": parseInt(paddingBottom)};
- }
- var rangeMax = attrs.rangeMax;
- var rangeMin = attrs.rangeMin;
- if (rangeMax) {
- axis.max = parseInt(rangeMax);
- }
- if (rangeMin) {
- axis.min = parseInt(rangeMin);
- }
-
- chartCtrl.addAxisProperties(id, axis);
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": axisLinker
- };
- })
- .directive('chartGrid', function () {
- var gridLinker = function (scope, element, attrs, chartCtrl) {
- var showX = attrs.showX;
- if (showX && showX === "true") {
- chartCtrl.addGrid("x");
- }
- var showY = attrs.showY;
- if (showY && showY === "true") {
- chartCtrl.addGrid("y");
- }
- var showY2 = attrs.showY2;
- if (showY2 && showY2 === "true") {
- chartCtrl.addGrid("y2");
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": gridLinker,
- "transclude": true,
- "template": "<div ng-transclude></div>"
- };
- })
- .directive('chartGridOptional', function () {
- var gridLinker = function (scope, element, attrs, chartCtrl) {
- var axisId = attrs.axisId;
- var value = attrs.gridValue;
- var text = attrs.gridText;
-
- chartCtrl.addGridLine(axisId, value, text);
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": gridLinker
- };
- })
- .directive('chartAxisXTick', function () {
- var tickLinker = function (scope, element, attrs, chartCtrl) {
- var tick = {};
-
- var count = attrs.tickCount;
- if (count) {
- tick.count = count;
- }
-
- // TODO, dit lijkt nog niet echt iets te doen
- var format = attrs.tickFormat;
- if (format) {
- tick.format = format;
- }
-
- var culling = attrs.tickCulling;
- if (culling) {
- tick.culling = culling;
- }
-
- var rotate = attrs.tickRotate;
- if (rotate) {
- tick.rotate = rotate;
- }
-
- var fit = attrs.tickFit;
- if (fit) {
- tick.fit = fit;
- }
-
- chartCtrl.addXTick(tick);
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": tickLinker
- };
-
- })
- .directive('chartLegend', function () {
- var legendLinker = function (scope, element, attrs, chartCtrl) {
- var legend = null;
- var show = attrs.showLegend;
- if (show && show === "false") {
- legend = {"show": false};
- } else {
- var position = attrs.legendPosition;
- if (position) {
- legend = {"position": position};
- }
- }
-
- if (legend != null) {
- chartCtrl.addLegend(legend);
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": legendLinker
- };
-
- })
- .directive('chartTooltip', function () {
- var tooltipLinker = function (scope, element, attrs, chartCtrl) {
- var tooltip = null;
- var show = attrs.showTooltip;
- if (show && show === "false") {
- tooltip = {"show": false};
- } else {
- var grouped = attrs.groupTooltip;
- if (grouped && grouped === "false") {
- tooltip = {"grouped": false};
- }
- }
-
- if (tooltip != null) {
- chartCtrl.addTooltip(tooltip);
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": tooltipLinker
- };
-
- })
- .directive('chartSize', function () {
- var sizeLinker = function (scope, element, attrs, chartCtrl) {
- var chartSize = null;
- var width = attrs.chartWidth;
- var height = attrs.chartHeight;
- if (width || height) {
- chartSize = {};
- if (width) {
- chartSize.width = parseInt(width);
- }
- if (height) {
- chartSize.height = parseInt(height);
- }
- chartCtrl.addSize(chartSize);
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": sizeLinker
- };
-
- })
- .directive('chartColors', function () {
- var colorsLinker = function (scope, element, attrs, chartCtrl) {
- var pattern = attrs.colorPattern;
- if (pattern) {
- chartCtrl.addColors(pattern.split(","));
- }
- };
-
- return {
- "require": "^c3chart",
- "restrict": "E",
- "scope": {},
- "replace": true,
- "link": colorsLinker
- };
-
- }); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3-angular.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3-angular.min.js
deleted file mode 100644
index 19e7d3ef..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3-angular.min.js
+++ /dev/null
@@ -1,206 +0,0 @@
-/*! c3-angular - v0.1.0 - 2015-01-01
- * https://github.com/jettro/c3-angular-sample
- * Copyright (c) 2015 ; Licensed */
-
-angular.module("gridshore.c3js.chart", []).controller("ChartController", ["$scope", function (a) {
- function b(b, c, d, e) {
- void 0 !== c && (a.types[b] = c), void 0 !== d && (null === a.names && (a.names = {}), a.names[b] = d), void 0 !== e && (null === a.colors && (a.colors = {}), a.colors[b] = e)
- }
-
- function c() {
- a.jsonKeys = {}, a.jsonKeys.value = [], angular.forEach(a.chartColumns, function (c) {
- a.jsonKeys.value.push(c.id), b(c.id, c.type, c.name, c.color)
- }), a.chartX && (a.jsonKeys.x = a.chartX.id), a.names && (a.config.data.names = a.names), a.colors && (a.config.data.colors = a.colors), a.config.data.keys = a.jsonKeys, a.config.data.json = a.chartData, a.chart = c3.generate(a.config)
- }
-
- a.chart = null, a.columns = [], a.types = {}, a.axis = {}, a.axes = {}, a.xValues = null, a.xTick = null, a.names = null, a.colors = null, a.grid = null, a.legend = null, a.tooltip = null, a.chartSize = null, a.colors = null, a.jsonKeys = null, this.showGraph = function () {
- var b = {};
- b.bindto = "#" + a.bindto, b.data = {}, a.xValues && (b.data.x = a.xValues), a.columns && (b.data.columns = a.columns), b.data.types = a.types, b.data.axes = a.axes, a.names && (b.data.names = a.names), a.colors && (b.data.colors = a.colors), a.showLabels && "true" === a.showLabels && (b.data.labels = !0), a.showSubchart && "true" === a.showSubchart && (b.subchart = {show: !0}), a.enableZoom && "true" === a.enableZoom && (b.zoom = {enabled: !0}), b.axis = a.axis, a.xTick && (b.axis.x.tick = a.xTick), null != a.grid && (b.grid = a.grid), null != a.legend && (b.legend = a.legend), null != a.tooltip && (b.tooltip = a.tooltip), null != a.chartSize && (b.size = a.chartSize), null != a.colors && (b.color = {pattern: a.colors}), a.config = b, a.chartData && a.chartColumns ? a.$watchCollection("chartData", function () {
- c()
- }) : a.chart = c3.generate(a.config)
- }, this.addColumn = function (c, d, e, f) {
- a.columns.push(c), b(c[0], d, e, f)
- }, this.addYAxis = function (b) {
- a.axes = b, a.axis.y2 || (a.axis.y2 = {show: !0})
- }, this.addXAxisValues = function (b) {
- a.xValues = b
- }, this.addAxisProperties = function (b, c) {
- a.axis[b] = c
- }, this.addXTick = function (b) {
- a.xTick = b
- }, this.rotateAxis = function () {
- a.axis.rotated = !0
- }, this.addGrid = function (b) {
- null == a.grid && (a.grid = {}), null == a.grid[b] && (a.grid[b] = {}), a.grid[b].show = !0
- }, this.addGridLine = function (b, c, d) {
- null == a.grid && (a.grid = {}), "x" === b ? (void 0 === a.grid.x && (a.grid.x = {}), void 0 === a.grid.x.lines && (a.grid.x.lines = [])) : (void 0 === a.grid.y && (a.grid.y = {}), void 0 === a.grid.y.lines && (a.grid.y.lines = [])), "y2" === b ? a.grid.y.lines.push({
- value: c,
- text: d,
- axis: "y2"
- }) : a.grid[b].lines.push({value: c, text: d})
- }, this.addLegend = function (b) {
- a.legend = b
- }, this.addTooltip = function (b) {
- a.tooltip = b
- }, this.addSize = function (b) {
- a.chartSize = b
- }, this.addColors = function (b) {
- a.colors = b
- }
-}]).directive("c3chart", ["$timeout", function (a) {
- var b = function (b, c, d, e) {
- a(function () {
- e.showGraph()
- })
- };
- return {
- restrict: "E",
- controller: "ChartController",
- scope: {
- bindto: "@bindtoId",
- showLabels: "@showLabels",
- showSubchart: "@showSubchart",
- enableZoom: "@enableZoom",
- chartData: "=chartData",
- chartColumns: "=chartColumns",
- chartX: "=chartX"
- },
- template: "<div><div id='{{bindto}}'></div><div ng-transclude></div></div>",
- replace: !0,
- transclude: !0,
- link: b
- }
-}]).directive("chartColumn", function () {
- var a = function (a, b, c, d) {
- var e = c.columnValues.split(",");
- e.unshift(c.columnId), d.addColumn(e, c.columnType, c.columnName, c.columnColor)
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartAxes", function () {
- var a = function (a, b, c, d) {
- var e = c.valuesX;
- e && d.addXAxisValues(e);
- var f = c.y, g = c.y2, h = {};
- if (g) {
- var i = g.split(",");
- for (var j in i)h[i[j]] = "y2";
- if (f) {
- var k = f.split(",");
- for (var l in k)h[k[l]] = "y"
- }
- d.addYAxis(h)
- }
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartAxis", function () {
- var a = function (a, b, c, d) {
- var e = c.axisRotate;
- e && d.rotateAxis()
- };
- return {
- require: "^c3chart",
- restrict: "E",
- scope: {},
- transclude: !0,
- template: "<div ng-transclude></div>",
- replace: !0,
- link: a
- }
-}).directive("chartAxisX", function () {
- var a = function (a, b, c, d) {
- var e = c.axisPosition, f = c.axisLabel, g = {label: {text: f, position: e}}, h = c.axisType;
- h && (g.type = h);
- var i = c.axisHeight;
- i && (g.height = i), d.addAxisProperties("x", g)
- };
- return {
- require: "^c3chart",
- restrict: "E",
- scope: {},
- transclude: !0,
- template: "<div ng-transclude></div>",
- replace: !0,
- link: a
- }
-}).directive("chartAxisY", function () {
- var a = function (a, b, c, d) {
- var e = c.axisId, f = c.axisPosition, g = c.axisLabel, h = {label: {text: g, position: f}};
- "y2" === e && (h.show = !0);
- var i = c.paddingTop, j = c.paddingBottom;
- (i || j) && (i = i ? i : 0, j = j ? j : 0, h.padding = {top: parseInt(i), bottom: parseInt(j)});
- var k = c.rangeMax, l = c.rangeMin;
- k && (h.max = parseInt(k)), l && (h.min = parseInt(l)), d.addAxisProperties(e, h)
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartGrid", function () {
- var a = function (a, b, c, d) {
- var e = c.showX;
- e && "true" === e && d.addGrid("x");
- var f = c.showY;
- f && "true" === f && d.addGrid("y");
- var g = c.showY2;
- g && "true" === g && d.addGrid("y2")
- };
- return {
- require: "^c3chart",
- restrict: "E",
- scope: {},
- replace: !0,
- link: a,
- transclude: !0,
- template: "<div ng-transclude></div>"
- }
-}).directive("chartGridOptional", function () {
- var a = function (a, b, c, d) {
- var e = c.axisId, f = c.gridValue, g = c.gridText;
- d.addGridLine(e, f, g)
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartAxisXTick", function () {
- var a = function (a, b, c, d) {
- var e = {}, f = c.tickCount;
- f && (e.count = f);
- var g = c.tickFormat;
- g && (e.format = g);
- var h = c.tickCulling;
- h && (e.culling = h);
- var i = c.tickRotate;
- i && (e.rotate = i);
- var j = c.tickFit;
- j && (e.fit = j), d.addXTick(e)
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartLegend", function () {
- var a = function (a, b, c, d) {
- var e = null, f = c.showLegend;
- if (f && "false" === f)e = {show: !1}; else {
- var g = c.legendPosition;
- g && (e = {position: g})
- }
- null != e && d.addLegend(e)
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartTooltip", function () {
- var a = function (a, b, c, d) {
- var e = null, f = c.showTooltip;
- if (f && "false" === f)e = {show: !1}; else {
- var g = c.groupTooltip;
- g && "false" === g && (e = {grouped: !1})
- }
- null != e && d.addTooltip(e)
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartSize", function () {
- var a = function (a, b, c, d) {
- var e = null, f = c.chartWidth, g = c.chartHeight;
- (f || g) && (e = {}, f && (e.width = parseInt(f)), g && (e.height = parseInt(g)), d.addSize(e))
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-}).directive("chartColors", function () {
- var a = function (a, b, c, d) {
- var e = c.colorPattern;
- e && d.addColors(e.split(","))
- };
- return {require: "^c3chart", restrict: "E", scope: {}, replace: !0, link: a}
-});
-//# sourceMappingURL=c3-angular.min.js.map \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3-angular.min.js.map b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3-angular.min.js.map
deleted file mode 100644
index 83e8e2cc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3-angular.min.js.map
+++ /dev/null
@@ -1,157 +0,0 @@
-{
- "version": 3,
- "file": "c3-angular.min.js",
- "sources": ["c3-angular.js"],
- "names": [
- "angular",
- "module",
- "controller",
- "$scope",
- "addColumnProperties",
- "id",
- "columnType",
- "columnName",
- "columnColor",
- "undefined",
- "types",
- "names",
- "colors",
- "loadChartData",
- "jsonKeys",
- "value",
- "forEach",
- "chartColumns",
- "column",
- "push",
- "type",
- "name",
- "color",
- "chartX",
- "x",
- "config",
- "data",
- "keys",
- "json",
- "chartData",
- "chart",
- "c3",
- "generate",
- "columns",
- "axis",
- "axes",
- "xValues",
- "xTick",
- "grid",
- "legend",
- "tooltip",
- "chartSize",
- "this",
- "showGraph",
- "bindto",
- "showLabels",
- "labels",
- "showSubchart",
- "subchart",
- "show",
- "enableZoom",
- "zoom",
- "enabled",
- "tick",
- "size",
- "pattern",
- "$watchCollection",
- "addColumn",
- "addYAxis",
- "yAxis",
- "y2",
- "addXAxisValues",
- "addAxisProperties",
- "addXTick",
- "rotateAxis",
- "rotated",
- "addGrid",
- "addGridLine",
- "text",
- "lines",
- "y",
- "addLegend",
- "addTooltip",
- "addSize",
- "addColors",
- "directive",
- "$timeout",
- "chartLinker",
- "scope",
- "element",
- "attrs",
- "chartCtrl",
- "restrict",
- "template",
- "replace",
- "transclude",
- "link",
- "columnLinker",
- "columnValues",
- "split",
- "unshift",
- "columnId",
- "require",
- "axesLinker",
- "valuesX",
- "items",
- "item",
- "yItems",
- "yItem",
- "axisLinker",
- "rotate",
- "axisRotate",
- "position",
- "axisPosition",
- "label",
- "axisLabel",
- "axisType",
- "height",
- "axisHeight",
- "axisId",
- "paddingTop",
- "paddingBottom",
- "padding",
- "top",
- "parseInt",
- "bottom",
- "rangeMax",
- "rangeMin",
- "max",
- "min",
- "gridLinker",
- "showX",
- "showY",
- "showY2",
- "gridValue",
- "gridText",
- "tickLinker",
- "count",
- "tickCount",
- "format",
- "tickFormat",
- "culling",
- "tickCulling",
- "tickRotate",
- "fit",
- "tickFit",
- "legendLinker",
- "showLegend",
- "legendPosition",
- "tooltipLinker",
- "showTooltip",
- "grouped",
- "groupTooltip",
- "sizeLinker",
- "width",
- "chartWidth",
- "chartHeight",
- "colorsLinker",
- "colorPattern"
- ],
- "mappings": "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"
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3.js
deleted file mode 100644
index 5f574be7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3.js
+++ /dev/null
@@ -1,7473 +0,0 @@
-(function (window) {
- 'use strict';
-
- /*global define, module, exports, require */
-
- var c3 = {version: "0.4.8"};
-
- var c3_chart_fn, c3_chart_internal_fn;
-
- function Chart(config) {
- var $$ = this.internal = new ChartInternal(this);
- $$.loadConfig(config);
- $$.init();
-
- // bind "this" to nested API
- (function bindThis(fn, target, argThis) {
- Object.keys(fn).forEach(function (key) {
- target[key] = fn[key].bind(argThis);
- if (Object.keys(fn[key]).length > 0) {
- bindThis(fn[key], target[key], argThis);
- }
- });
- })(c3_chart_fn, this, this);
- }
-
- function ChartInternal(api) {
- var $$ = this;
- $$.d3 = window.d3 ? window.d3 : typeof require !== 'undefined' ? require("d3") : undefined;
- $$.api = api;
- $$.config = $$.getDefaultConfig();
- $$.data = {};
- $$.cache = {};
- $$.axes = {};
- }
-
- c3.generate = function (config) {
- return new Chart(config);
- };
-
- c3.chart = {
- fn: Chart.prototype,
- internal: {
- fn: ChartInternal.prototype
- }
- };
- c3_chart_fn = c3.chart.fn;
- c3_chart_internal_fn = c3.chart.internal.fn;
-
-
- c3_chart_internal_fn.init = function () {
- var $$ = this, config = $$.config;
-
- $$.initParams();
-
- if (config.data_url) {
- $$.convertUrlToData(config.data_url, config.data_mimeType, config.data_keys, $$.initWithData);
- }
- else if (config.data_json) {
- $$.initWithData($$.convertJsonToData(config.data_json, config.data_keys));
- }
- else if (config.data_rows) {
- $$.initWithData($$.convertRowsToData(config.data_rows));
- }
- else if (config.data_columns) {
- $$.initWithData($$.convertColumnsToData(config.data_columns));
- }
- else {
- throw Error('url or json or rows or columns is required.');
- }
- };
-
- c3_chart_internal_fn.initParams = function () {
- var $$ = this, d3 = $$.d3, config = $$.config;
-
- // MEMO: clipId needs to be unique because it conflicts when multiple charts exist
- $$.clipId = "c3-" + (+new Date()) + '-clip',
- $$.clipIdForXAxis = $$.clipId + '-xaxis',
- $$.clipIdForYAxis = $$.clipId + '-yaxis',
- $$.clipIdForGrid = $$.clipId + '-grid',
- $$.clipIdForSubchart = $$.clipId + '-subchart',
- $$.clipPath = $$.getClipPath($$.clipId),
- $$.clipPathForXAxis = $$.getClipPath($$.clipIdForXAxis),
- $$.clipPathForYAxis = $$.getClipPath($$.clipIdForYAxis);
- $$.clipPathForGrid = $$.getClipPath($$.clipIdForGrid),
- $$.clipPathForSubchart = $$.getClipPath($$.clipIdForSubchart),
-
- $$.dragStart = null;
- $$.dragging = false;
- $$.flowing = false;
- $$.cancelClick = false;
- $$.mouseover = false;
- $$.transiting = false;
-
- $$.color = $$.generateColor();
- $$.levelColor = $$.generateLevelColor();
-
- $$.dataTimeFormat = config.data_xLocaltime ? d3.time.format : d3.time.format.utc;
- $$.axisTimeFormat = config.axis_x_localtime ? d3.time.format : d3.time.format.utc;
- $$.defaultAxisTimeFormat = $$.axisTimeFormat.multi([
- [".%L", function (d) {
- return d.getMilliseconds();
- }],
- [":%S", function (d) {
- return d.getSeconds();
- }],
- ["%I:%M", function (d) {
- return d.getMinutes();
- }],
- ["%I %p", function (d) {
- return d.getHours();
- }],
- ["%-m/%-d", function (d) {
- return d.getDay() && d.getDate() !== 1;
- }],
- ["%-m/%-d", function (d) {
- return d.getDate() !== 1;
- }],
- ["%-m/%-d", function (d) {
- return d.getMonth();
- }],
- ["%Y/%-m/%-d", function () {
- return true;
- }]
- ]);
-
- $$.hiddenTargetIds = [];
- $$.hiddenLegendIds = [];
- $$.focusedTargetIds = [];
- $$.defocusedTargetIds = [];
-
- $$.xOrient = config.axis_rotated ? "left" : "bottom";
- $$.yOrient = config.axis_rotated ? (config.axis_y_inner ? "top" : "bottom") : (config.axis_y_inner ? "right" : "left");
- $$.y2Orient = config.axis_rotated ? (config.axis_y2_inner ? "bottom" : "top") : (config.axis_y2_inner ? "left" : "right");
- $$.subXOrient = config.axis_rotated ? "left" : "bottom";
-
- $$.isLegendRight = config.legend_position === 'right';
- $$.isLegendInset = config.legend_position === 'inset';
- $$.isLegendTop = config.legend_inset_anchor === 'top-left' || config.legend_inset_anchor === 'top-right';
- $$.isLegendLeft = config.legend_inset_anchor === 'top-left' || config.legend_inset_anchor === 'bottom-left';
- $$.legendStep = 0;
- $$.legendItemWidth = 0;
- $$.legendItemHeight = 0;
-
- $$.currentMaxTickWidths = {
- x: 0,
- y: 0,
- y2: 0
- };
-
- $$.rotated_padding_left = 30;
- $$.rotated_padding_right = config.axis_rotated && !config.axis_x_show ? 0 : 30;
- $$.rotated_padding_top = 5;
-
- $$.withoutFadeIn = {};
-
- $$.intervalForObserveInserted = undefined;
-
- $$.axes.subx = d3.selectAll([]); // needs when excluding subchart.js
- };
-
- c3_chart_internal_fn.initChartElements = function () {
- if (this.initBar) {
- this.initBar();
- }
- if (this.initLine) {
- this.initLine();
- }
- if (this.initArc) {
- this.initArc();
- }
- if (this.initGauge) {
- this.initGauge();
- }
- if (this.initText) {
- this.initText();
- }
- };
-
- c3_chart_internal_fn.initWithData = function (data) {
- var $$ = this, d3 = $$.d3, config = $$.config;
- var defs, main, binding = true;
-
- if ($$.initPie) {
- $$.initPie();
- }
- if ($$.initBrush) {
- $$.initBrush();
- }
- if ($$.initZoom) {
- $$.initZoom();
- }
-
- $$.selectChart = typeof config.bindto.node === 'function' ? config.bindto : d3.select(config.bindto);
- if ($$.selectChart.empty()) {
- $$.selectChart = d3.select(document.createElement('div')).style('opacity', 0);
- $$.observeInserted($$.selectChart);
- binding = false;
- }
- $$.selectChart.html("").classed("c3", true);
-
- // Init data as targets
- $$.data.xs = {};
- $$.data.targets = $$.convertDataToTargets(data);
-
- if (config.data_filter) {
- $$.data.targets = $$.data.targets.filter(config.data_filter);
- }
-
- // Set targets to hide if needed
- if (config.data_hide) {
- $$.addHiddenTargetIds(config.data_hide === true ? $$.mapToIds($$.data.targets) : config.data_hide);
- }
- if (config.legend_hide) {
- $$.addHiddenLegendIds(config.legend_hide === true ? $$.mapToIds($$.data.targets) : config.legend_hide);
- }
-
- // when gauge, hide legend // TODO: fix
- if ($$.hasType('gauge')) {
- config.legend_show = false;
- }
-
- // Init sizes and scales
- $$.updateSizes();
- $$.updateScales();
-
- // Set domains for each scale
- $$.x.domain(d3.extent($$.getXDomain($$.data.targets)));
- $$.y.domain($$.getYDomain($$.data.targets, 'y'));
- $$.y2.domain($$.getYDomain($$.data.targets, 'y2'));
- $$.subX.domain($$.x.domain());
- $$.subY.domain($$.y.domain());
- $$.subY2.domain($$.y2.domain());
-
- // Save original x domain for zoom update
- $$.orgXDomain = $$.x.domain();
-
- // Set initialized scales to brush and zoom
- if ($$.brush) {
- $$.brush.scale($$.subX);
- }
- if (config.zoom_enabled) {
- $$.zoom.scale($$.x);
- }
-
- /*-- Basic Elements --*/
-
- // Define svgs
- $$.svg = $$.selectChart.append("svg")
- .style("overflow", "hidden")
- .on('mouseenter', function () {
- return config.onmouseover.call($$);
- })
- .on('mouseleave', function () {
- return config.onmouseout.call($$);
- });
-
- // Define defs
- defs = $$.svg.append("defs");
- $$.clipChart = $$.appendClip(defs, $$.clipId);
- $$.clipXAxis = $$.appendClip(defs, $$.clipIdForXAxis);
- $$.clipYAxis = $$.appendClip(defs, $$.clipIdForYAxis);
- $$.clipGrid = $$.appendClip(defs, $$.clipIdForGrid);
- $$.clipSubchart = $$.appendClip(defs, $$.clipIdForSubchart);
- $$.updateSvgSize();
-
- // Define regions
- main = $$.main = $$.svg.append("g").attr("transform", $$.getTranslate('main'));
-
- if ($$.initSubchart) {
- $$.initSubchart();
- }
- if ($$.initTooltip) {
- $$.initTooltip();
- }
- if ($$.initLegend) {
- $$.initLegend();
- }
-
- /*-- Main Region --*/
-
- // text when empty
- main.append("text")
- .attr("class", CLASS.text + ' ' + CLASS.empty)
- .attr("text-anchor", "middle") // horizontal centering of text at x position in all browsers.
- .attr("dominant-baseline", "middle"); // vertical centering of text at y position in all browsers, except IE.
-
- // Regions
- $$.initRegion();
-
- // Grids
- $$.initGrid();
-
- // Define g for chart area
- main.append('g')
- .attr("clip-path", $$.clipPath)
- .attr('class', CLASS.chart);
-
- // Grid lines
- if (config.grid_lines_front) {
- $$.initGridLines();
- }
-
- // Cover whole with rects for events
- $$.initEventRect();
-
- // Define g for chart
- $$.initChartElements();
-
- // if zoom privileged, insert rect to forefront
- // TODO: is this needed?
- main.insert('rect', config.zoom_privileged ? null : 'g.' + CLASS.regions)
- .attr('class', CLASS.zoomRect)
- .attr('width', $$.width)
- .attr('height', $$.height)
- .style('opacity', 0)
- .on("dblclick.zoom", null);
-
- // Set default extent if defined
- if (config.axis_x_extent) {
- $$.brush.extent($$.getDefaultExtent());
- }
-
- // Add Axis
- $$.initAxis();
-
- // Set targets
- $$.updateTargets($$.data.targets);
-
- // Draw with targets
- if (binding) {
- $$.updateDimension();
- $$.config.oninit.call($$);
- $$.redraw({
- withTransform: true,
- withUpdateXDomain: true,
- withUpdateOrgXDomain: true,
- withTransitionForAxis: false
- });
- }
-
- // Bind resize event
- if (window.onresize == null) {
- window.onresize = $$.generateResize();
- }
- if (window.onresize.add) {
- window.onresize.add(function () {
- config.onresize.call($$);
- });
- window.onresize.add(function () {
- $$.api.flush();
- });
- window.onresize.add(function () {
- config.onresized.call($$);
- });
- }
-
- // export element of the chart
- $$.api.element = $$.selectChart.node();
- };
-
- c3_chart_internal_fn.smoothLines = function (el, type) {
- var $$ = this;
- if (type === 'grid') {
- el.each(function () {
- var g = $$.d3.select(this),
- x1 = g.attr('x1'),
- x2 = g.attr('x2'),
- y1 = g.attr('y1'),
- y2 = g.attr('y2');
- g.attr({
- 'x1': Math.ceil(x1),
- 'x2': Math.ceil(x2),
- 'y1': Math.ceil(y1),
- 'y2': Math.ceil(y2)
- });
- });
- }
- };
-
-
- c3_chart_internal_fn.updateSizes = function () {
- var $$ = this, config = $$.config;
- var legendHeight = $$.legend ? $$.getLegendHeight() : 0,
- legendWidth = $$.legend ? $$.getLegendWidth() : 0,
- legendHeightForBottom = $$.isLegendRight || $$.isLegendInset ? 0 : legendHeight,
- hasArc = $$.hasArcType(),
- xAxisHeight = config.axis_rotated || hasArc ? 0 : $$.getHorizontalAxisHeight('x'),
- subchartHeight = config.subchart_show && !hasArc ? (config.subchart_size_height + xAxisHeight) : 0;
-
- $$.currentWidth = $$.getCurrentWidth();
- $$.currentHeight = $$.getCurrentHeight();
-
- // for main
- $$.margin = config.axis_rotated ? {
- top: $$.getHorizontalAxisHeight('y2') + $$.getCurrentPaddingTop(),
- right: hasArc ? 0 : $$.getCurrentPaddingRight(),
- bottom: $$.getHorizontalAxisHeight('y') + legendHeightForBottom + $$.getCurrentPaddingBottom(),
- left: subchartHeight + (hasArc ? 0 : $$.getCurrentPaddingLeft())
- } : {
- top: 4 + $$.getCurrentPaddingTop(), // for top tick text
- right: hasArc ? 0 : $$.getCurrentPaddingRight(),
- bottom: xAxisHeight + subchartHeight + legendHeightForBottom + $$.getCurrentPaddingBottom(),
- left: hasArc ? 0 : $$.getCurrentPaddingLeft()
- };
-
- // for subchart
- $$.margin2 = config.axis_rotated ? {
- top: $$.margin.top,
- right: NaN,
- bottom: 20 + legendHeightForBottom,
- left: $$.rotated_padding_left
- } : {
- top: $$.currentHeight - subchartHeight - legendHeightForBottom,
- right: NaN,
- bottom: xAxisHeight + legendHeightForBottom,
- left: $$.margin.left
- };
-
- // for legend
- $$.margin3 = {
- top: 0,
- right: NaN,
- bottom: 0,
- left: 0
- };
- if ($$.updateSizeForLegend) {
- $$.updateSizeForLegend(legendHeight, legendWidth);
- }
-
- $$.width = $$.currentWidth - $$.margin.left - $$.margin.right;
- $$.height = $$.currentHeight - $$.margin.top - $$.margin.bottom;
- if ($$.width < 0) {
- $$.width = 0;
- }
- if ($$.height < 0) {
- $$.height = 0;
- }
-
- $$.width2 = config.axis_rotated ? $$.margin.left - $$.rotated_padding_left - $$.rotated_padding_right : $$.width;
- $$.height2 = config.axis_rotated ? $$.height : $$.currentHeight - $$.margin2.top - $$.margin2.bottom;
- if ($$.width2 < 0) {
- $$.width2 = 0;
- }
- if ($$.height2 < 0) {
- $$.height2 = 0;
- }
-
- // for arc
- $$.arcWidth = $$.width - ($$.isLegendRight ? legendWidth + 10 : 0);
- $$.arcHeight = $$.height - ($$.isLegendRight ? 0 : 10);
- if ($$.hasType('gauge')) {
- $$.arcHeight += $$.height - $$.getGaugeLabelHeight();
- }
- if ($$.updateRadius) {
- $$.updateRadius();
- }
-
- if ($$.isLegendRight && hasArc) {
- $$.margin3.left = $$.arcWidth / 2 + $$.radiusExpanded * 1.1;
- }
- };
-
- c3_chart_internal_fn.updateTargets = function (targets) {
- var $$ = this, config = $$.config;
-
- /*-- Main --*/
-
- //-- Text --//
- $$.updateTargetsForText(targets);
-
- //-- Bar --//
- $$.updateTargetsForBar(targets);
-
- //-- Line --//
- $$.updateTargetsForLine(targets);
-
- //-- Arc --//
- if ($$.updateTargetsForArc) {
- $$.updateTargetsForArc(targets);
- }
- if ($$.updateTargetsForSubchart) {
- $$.updateTargetsForSubchart(targets);
- }
-
- /*-- Show --*/
-
- // Fade-in each chart
- $$.svg.selectAll('.' + CLASS.target).filter(function (d) {
- return $$.isTargetToShow(d.id);
- })
- .transition().duration(config.transition_duration)
- .style("opacity", 1);
- };
-
- c3_chart_internal_fn.redraw = function (options, transitions) {
- var $$ = this, main = $$.main, d3 = $$.d3, config = $$.config;
- var areaIndices = $$.getShapeIndices($$.isAreaType), barIndices = $$.getShapeIndices($$.isBarType), lineIndices = $$.getShapeIndices($$.isLineType);
- var withY, withSubchart, withTransition, withTransitionForExit, withTransitionForAxis,
- withTransform, withUpdateXDomain, withUpdateOrgXDomain, withTrimXDomain, withLegend,
- withEventRect, withDimension, withUpdateXAxis;
- var hideAxis = $$.hasArcType();
- var drawArea, drawBar, drawLine, xForText, yForText;
- var duration, durationForExit, durationForAxis;
- var waitForDraw, flow;
- var targetsToShow = $$.filterTargetsToShow($$.data.targets), tickValues, i, intervalForCulling, xDomainForZoom;
- var xv = $$.xv.bind($$), cx, cy;
-
- options = options || {};
- withY = getOption(options, "withY", true);
- withSubchart = getOption(options, "withSubchart", true);
- withTransition = getOption(options, "withTransition", true);
- withTransform = getOption(options, "withTransform", false);
- withUpdateXDomain = getOption(options, "withUpdateXDomain", false);
- withUpdateOrgXDomain = getOption(options, "withUpdateOrgXDomain", false);
- withTrimXDomain = getOption(options, "withTrimXDomain", true);
- withUpdateXAxis = getOption(options, "withUpdateXAxis", withUpdateXDomain);
- withLegend = getOption(options, "withLegend", false);
- withEventRect = getOption(options, "withEventRect", true);
- withDimension = getOption(options, "withDimension", true);
- withTransitionForExit = getOption(options, "withTransitionForExit", withTransition);
- withTransitionForAxis = getOption(options, "withTransitionForAxis", withTransition);
-
- duration = withTransition ? config.transition_duration : 0;
- durationForExit = withTransitionForExit ? duration : 0;
- durationForAxis = withTransitionForAxis ? duration : 0;
-
- transitions = transitions || $$.generateAxisTransitions(durationForAxis);
-
- // update legend and transform each g
- if (withLegend && config.legend_show) {
- $$.updateLegend($$.mapToIds($$.data.targets), options, transitions);
- } else if (withDimension) {
- // need to update dimension (e.g. axis.y.tick.values) because y tick values should change
- // no need to update axis in it because they will be updated in redraw()
- $$.updateDimension(true);
- }
-
- // MEMO: needed for grids calculation
- if ($$.isCategorized() && targetsToShow.length === 0) {
- $$.x.domain([0, $$.axes.x.selectAll('.tick').size()]);
- }
-
- if (targetsToShow.length) {
- $$.updateXDomain(targetsToShow, withUpdateXDomain, withUpdateOrgXDomain, withTrimXDomain);
- if (!config.axis_x_tick_values) {
- if (config.axis_x_tick_fit || config.axis_x_tick_count) {
- tickValues = $$.generateTickValues($$.mapTargetsToUniqueXs(targetsToShow), config.axis_x_tick_count, $$.isTimeSeries());
- } else {
- tickValues = undefined;
- }
- $$.xAxis.tickValues(tickValues);
- $$.subXAxis.tickValues(tickValues);
- }
- } else {
- $$.xAxis.tickValues([]);
- $$.subXAxis.tickValues([]);
- }
-
- if (config.zoom_rescale && !options.flow) {
- xDomainForZoom = $$.x.orgDomain();
- }
-
- $$.y.domain($$.getYDomain(targetsToShow, 'y', xDomainForZoom));
- $$.y2.domain($$.getYDomain(targetsToShow, 'y2', xDomainForZoom));
-
- if (!config.axis_y_tick_values && config.axis_y_tick_count) {
- $$.yAxis.tickValues($$.generateTickValues($$.y.domain(), config.axis_y_tick_count));
- }
- if (!config.axis_y2_tick_values && config.axis_y2_tick_count) {
- $$.y2Axis.tickValues($$.generateTickValues($$.y2.domain(), config.axis_y2_tick_count));
- }
-
- // axes
- $$.redrawAxis(transitions, hideAxis);
-
- // Update axis label
- $$.updateAxisLabels(withTransition);
-
- // show/hide if manual culling needed
- if ((withUpdateXDomain || withUpdateXAxis) && targetsToShow.length) {
- if (config.axis_x_tick_culling && tickValues) {
- for (i = 1; i < tickValues.length; i++) {
- if (tickValues.length / i < config.axis_x_tick_culling_max) {
- intervalForCulling = i;
- break;
- }
- }
- $$.svg.selectAll('.' + CLASS.axisX + ' .tick text').each(function (e) {
- var index = tickValues.indexOf(e);
- if (index >= 0) {
- d3.select(this).style('display', index % intervalForCulling ? 'none' : 'block');
- }
- });
- } else {
- $$.svg.selectAll('.' + CLASS.axisX + ' .tick text').style('display', 'block');
- }
- }
-
- // setup drawer - MEMO: these must be called after axis updated
- drawArea = $$.generateDrawArea ? $$.generateDrawArea(areaIndices, false) : undefined;
- drawBar = $$.generateDrawBar ? $$.generateDrawBar(barIndices) : undefined;
- drawLine = $$.generateDrawLine ? $$.generateDrawLine(lineIndices, false) : undefined;
- xForText = $$.generateXYForText(areaIndices, barIndices, lineIndices, true);
- yForText = $$.generateXYForText(areaIndices, barIndices, lineIndices, false);
-
- // Update sub domain
- if (withY) {
- $$.subY.domain($$.getYDomain(targetsToShow, 'y'));
- $$.subY2.domain($$.getYDomain(targetsToShow, 'y2'));
- }
-
- // tooltip
- $$.tooltip.style("display", "none");
-
- // xgrid focus
- $$.updateXgridFocus();
-
- // Data empty label positioning and text.
- main.select("text." + CLASS.text + '.' + CLASS.empty)
- .attr("x", $$.width / 2)
- .attr("y", $$.height / 2)
- .text(config.data_empty_label_text)
- .transition()
- .style('opacity', targetsToShow.length ? 0 : 1);
-
- // grid
- $$.redrawGrid(duration);
-
- // rect for regions
- $$.redrawRegion(duration);
-
- // bars
- $$.redrawBar(durationForExit);
-
- // lines, areas and cricles
- $$.redrawLine(durationForExit);
- $$.redrawArea(durationForExit);
- $$.redrawCircle();
-
- // text
- if ($$.hasDataLabel()) {
- $$.redrawText(durationForExit);
- }
-
- // arc
- if ($$.redrawArc) {
- $$.redrawArc(duration, durationForExit, withTransform);
- }
-
- // subchart
- if ($$.redrawSubchart) {
- $$.redrawSubchart(withSubchart, transitions, duration, durationForExit, areaIndices, barIndices, lineIndices);
- }
-
- // circles for select
- main.selectAll('.' + CLASS.selectedCircles)
- .filter($$.isBarType.bind($$))
- .selectAll('circle')
- .remove();
-
- // event rects will redrawn when flow called
- if (config.interaction_enabled && !options.flow && withEventRect) {
- $$.redrawEventRect();
- if ($$.updateZoom) {
- $$.updateZoom();
- }
- }
-
- // update circleY based on updated parameters
- $$.updateCircleY();
-
- // generate circle x/y functions depending on updated params
- cx = ($$.config.axis_rotated ? $$.circleY : $$.circleX).bind($$);
- cy = ($$.config.axis_rotated ? $$.circleX : $$.circleY).bind($$);
-
- // transition should be derived from one transition
- d3.transition().duration(duration).each(function () {
- var transitions = [];
-
- $$.addTransitionForBar(transitions, drawBar);
- $$.addTransitionForLine(transitions, drawLine);
- $$.addTransitionForArea(transitions, drawArea);
- $$.addTransitionForCircle(transitions, cx, cy);
- $$.addTransitionForText(transitions, xForText, yForText, options.flow);
- $$.addTransitionForRegion(transitions);
- $$.addTransitionForGrid(transitions);
-
- // Wait for end of transitions if called from flow API
- if (options.flow) {
- waitForDraw = $$.generateWait();
- transitions.forEach(function (t) {
- waitForDraw.add(t);
- });
- flow = $$.generateFlow({
- targets: targetsToShow,
- flow: options.flow,
- duration: duration,
- drawBar: drawBar,
- drawLine: drawLine,
- drawArea: drawArea,
- cx: cx,
- cy: cy,
- xv: xv,
- xForText: xForText,
- yForText: yForText
- });
- }
- })
- .call(waitForDraw || function () {
- }, flow || function () {
- });
-
- // update fadein condition
- $$.mapToIds($$.data.targets).forEach(function (id) {
- $$.withoutFadeIn[id] = true;
- });
- };
-
- c3_chart_internal_fn.updateAndRedraw = function (options) {
- var $$ = this, config = $$.config, transitions;
- options = options || {};
- // same with redraw
- options.withTransition = getOption(options, "withTransition", true);
- options.withTransform = getOption(options, "withTransform", false);
- options.withLegend = getOption(options, "withLegend", false);
- // NOT same with redraw
- options.withUpdateXDomain = true;
- options.withUpdateOrgXDomain = true;
- options.withTransitionForExit = false;
- options.withTransitionForTransform = getOption(options, "withTransitionForTransform", options.withTransition);
- // MEMO: this needs to be called before updateLegend and it means this ALWAYS needs to be called)
- $$.updateSizes();
- // MEMO: called in updateLegend in redraw if withLegend
- if (!(options.withLegend && config.legend_show)) {
- transitions = $$.generateAxisTransitions(options.withTransitionForAxis ? config.transition_duration : 0);
- // Update scales
- $$.updateScales();
- $$.updateSvgSize();
- // Update g positions
- $$.transformAll(options.withTransitionForTransform, transitions);
- }
- // Draw with new sizes & scales
- $$.redraw(options, transitions);
- };
- c3_chart_internal_fn.redrawWithoutRescale = function () {
- this.redraw({
- withY: false,
- withSubchart: false,
- withEventRect: false,
- withTransitionForAxis: false
- });
- };
-
- c3_chart_internal_fn.isTimeSeries = function () {
- return this.config.axis_x_type === 'timeseries';
- };
- c3_chart_internal_fn.isCategorized = function () {
- return this.config.axis_x_type.indexOf('categor') >= 0;
- };
- c3_chart_internal_fn.isCustomX = function () {
- var $$ = this, config = $$.config;
- return !$$.isTimeSeries() && (config.data_x || notEmpty(config.data_xs));
- };
-
- c3_chart_internal_fn.isTimeSeriesY = function () {
- return this.config.axis_y_type === 'timeseries';
- };
-
- c3_chart_internal_fn.getTranslate = function (target) {
- var $$ = this, config = $$.config, x, y;
- if (target === 'main') {
- x = asHalfPixel($$.margin.left);
- y = asHalfPixel($$.margin.top);
- } else if (target === 'context') {
- x = asHalfPixel($$.margin2.left);
- y = asHalfPixel($$.margin2.top);
- } else if (target === 'legend') {
- x = $$.margin3.left;
- y = $$.margin3.top;
- } else if (target === 'x') {
- x = 0;
- y = config.axis_rotated ? 0 : $$.height;
- } else if (target === 'y') {
- x = 0;
- y = config.axis_rotated ? $$.height : 0;
- } else if (target === 'y2') {
- x = config.axis_rotated ? 0 : $$.width;
- y = config.axis_rotated ? 1 : 0;
- } else if (target === 'subx') {
- x = 0;
- y = config.axis_rotated ? 0 : $$.height2;
- } else if (target === 'arc') {
- x = $$.arcWidth / 2;
- y = $$.arcHeight / 2;
- }
- return "translate(" + x + "," + y + ")";
- };
- c3_chart_internal_fn.initialOpacity = function (d) {
- return d.value !== null && this.withoutFadeIn[d.id] ? 1 : 0;
- };
- c3_chart_internal_fn.initialOpacityForCircle = function (d) {
- return d.value !== null && this.withoutFadeIn[d.id] ? this.opacityForCircle(d) : 0;
- };
- c3_chart_internal_fn.opacityForCircle = function (d) {
- var opacity = this.config.point_show ? 1 : 0;
- return isValue(d.value) ? (this.isScatterType(d) ? 0.5 : opacity) : 0;
- };
- c3_chart_internal_fn.opacityForText = function () {
- return this.hasDataLabel() ? 1 : 0;
- };
- c3_chart_internal_fn.xx = function (d) {
- return d ? this.x(d.x) : null;
- };
- c3_chart_internal_fn.xv = function (d) {
- var $$ = this, value = d.value;
- if ($$.isTimeSeries()) {
- value = $$.parseDate(d.value);
- }
- else if ($$.isCategorized() && typeof d.value === 'string') {
- value = $$.config.axis_x_categories.indexOf(d.value);
- }
- return Math.ceil($$.x(value));
- };
- c3_chart_internal_fn.yv = function (d) {
- var $$ = this,
- yScale = d.axis && d.axis === 'y2' ? $$.y2 : $$.y;
- return Math.ceil(yScale(d.value));
- };
- c3_chart_internal_fn.subxx = function (d) {
- return d ? this.subX(d.x) : null;
- };
-
- c3_chart_internal_fn.transformMain = function (withTransition, transitions) {
- var $$ = this,
- xAxis, yAxis, y2Axis;
- if (transitions && transitions.axisX) {
- xAxis = transitions.axisX;
- } else {
- xAxis = $$.main.select('.' + CLASS.axisX);
- if (withTransition) {
- xAxis = xAxis.transition();
- }
- }
- if (transitions && transitions.axisY) {
- yAxis = transitions.axisY;
- } else {
- yAxis = $$.main.select('.' + CLASS.axisY);
- if (withTransition) {
- yAxis = yAxis.transition();
- }
- }
- if (transitions && transitions.axisY2) {
- y2Axis = transitions.axisY2;
- } else {
- y2Axis = $$.main.select('.' + CLASS.axisY2);
- if (withTransition) {
- y2Axis = y2Axis.transition();
- }
- }
- (withTransition ? $$.main.transition() : $$.main).attr("transform", $$.getTranslate('main'));
- xAxis.attr("transform", $$.getTranslate('x'));
- yAxis.attr("transform", $$.getTranslate('y'));
- y2Axis.attr("transform", $$.getTranslate('y2'));
- $$.main.select('.' + CLASS.chartArcs).attr("transform", $$.getTranslate('arc'));
- };
- c3_chart_internal_fn.transformAll = function (withTransition, transitions) {
- var $$ = this;
- $$.transformMain(withTransition, transitions);
- if ($$.config.subchart_show) {
- $$.transformContext(withTransition, transitions);
- }
- if ($$.legend) {
- $$.transformLegend(withTransition);
- }
- };
-
- c3_chart_internal_fn.updateSvgSize = function () {
- var $$ = this,
- brush = $$.svg.select(".c3-brush .background");
- $$.svg.attr('width', $$.currentWidth).attr('height', $$.currentHeight);
- $$.svg.selectAll(['#' + $$.clipId, '#' + $$.clipIdForGrid]).select('rect')
- .attr('width', $$.width)
- .attr('height', $$.height);
- $$.svg.select('#' + $$.clipIdForXAxis).select('rect')
- .attr('x', $$.getXAxisClipX.bind($$))
- .attr('y', $$.getXAxisClipY.bind($$))
- .attr('width', $$.getXAxisClipWidth.bind($$))
- .attr('height', $$.getXAxisClipHeight.bind($$));
- $$.svg.select('#' + $$.clipIdForYAxis).select('rect')
- .attr('x', $$.getYAxisClipX.bind($$))
- .attr('y', $$.getYAxisClipY.bind($$))
- .attr('width', $$.getYAxisClipWidth.bind($$))
- .attr('height', $$.getYAxisClipHeight.bind($$));
- $$.svg.select('#' + $$.clipIdForSubchart).select('rect')
- .attr('width', $$.width)
- .attr('height', brush.size() ? brush.attr('height') : 0);
- $$.svg.select('.' + CLASS.zoomRect)
- .attr('width', $$.width)
- .attr('height', $$.height);
- // MEMO: parent div's height will be bigger than svg when <!DOCTYPE html>
- $$.selectChart.style('max-height', $$.currentHeight + "px");
- };
-
-
- c3_chart_internal_fn.updateDimension = function (withoutAxis) {
- var $$ = this;
- if (!withoutAxis) {
- if ($$.config.axis_rotated) {
- $$.axes.x.call($$.xAxis);
- $$.axes.subx.call($$.subXAxis);
- } else {
- $$.axes.y.call($$.yAxis);
- $$.axes.y2.call($$.y2Axis);
- }
- }
- $$.updateSizes();
- $$.updateScales();
- $$.updateSvgSize();
- $$.transformAll(false);
- };
-
- c3_chart_internal_fn.observeInserted = function (selection) {
- var $$ = this, observer = new MutationObserver(function (mutations) {
- mutations.forEach(function (mutation) {
- if (mutation.type === 'childList' && mutation.previousSibling) {
- observer.disconnect();
- // need to wait for completion of load because size calculation requires the actual sizes determined after that completion
- $$.intervalForObserveInserted = window.setInterval(function () {
- // parentNode will NOT be null when completed
- if (selection.node().parentNode) {
- window.clearInterval($$.intervalForObserveInserted);
- $$.updateDimension();
- $$.config.oninit.call($$);
- $$.redraw({
- withTransform: true,
- withUpdateXDomain: true,
- withUpdateOrgXDomain: true,
- withTransition: false,
- withTransitionForTransform: false,
- withLegend: true
- });
- selection.transition().style('opacity', 1);
- }
- }, 10);
- }
- });
- });
- observer.observe(selection.node(), {attributes: true, childList: true, characterData: true});
- };
-
-
- c3_chart_internal_fn.generateResize = function () {
- var resizeFunctions = [];
-
- function callResizeFunctions() {
- resizeFunctions.forEach(function (f) {
- f();
- });
- }
-
- callResizeFunctions.add = function (f) {
- resizeFunctions.push(f);
- };
- return callResizeFunctions;
- };
-
- c3_chart_internal_fn.endall = function (transition, callback) {
- var n = 0;
- transition
- .each(function () {
- ++n;
- })
- .each("end", function () {
- if (!--n) {
- callback.apply(this, arguments);
- }
- });
- };
- c3_chart_internal_fn.generateWait = function () {
- var transitionsToWait = [],
- f = function (transition, callback) {
- var timer = setInterval(function () {
- var done = 0;
- transitionsToWait.forEach(function (t) {
- if (t.empty()) {
- done += 1;
- return;
- }
- try {
- t.transition();
- } catch (e) {
- done += 1;
- }
- });
- if (done === transitionsToWait.length) {
- clearInterval(timer);
- if (callback) {
- callback();
- }
- }
- }, 10);
- };
- f.add = function (transition) {
- transitionsToWait.push(transition);
- };
- return f;
- };
-
- c3_chart_internal_fn.parseDate = function (date) {
- var $$ = this, parsedDate;
- if (date instanceof Date) {
- parsedDate = date;
- } else if (typeof date === 'number' || !isNaN(date)) {
- parsedDate = new Date(+date);
- } else {
- parsedDate = $$.dataTimeFormat($$.config.data_xFormat).parse(date);
- }
- if (!parsedDate || isNaN(+parsedDate)) {
- window.console.error("Failed to parse x '" + date + "' to Date object");
- }
- return parsedDate;
- };
-
- c3_chart_internal_fn.getDefaultConfig = function () {
- var config = {
- bindto: '#chart',
- size_width: undefined,
- size_height: undefined,
- padding_left: undefined,
- padding_right: undefined,
- padding_top: undefined,
- padding_bottom: undefined,
- zoom_enabled: false,
- zoom_extent: undefined,
- zoom_privileged: false,
- zoom_rescale: false,
- zoom_onzoom: function () {
- },
- zoom_onzoomstart: function () {
- },
- zoom_onzoomend: function () {
- },
- interaction_enabled: true,
- onmouseover: function () {
- },
- onmouseout: function () {
- },
- onresize: function () {
- },
- onresized: function () {
- },
- oninit: function () {
- },
- transition_duration: 350,
- data_x: undefined,
- data_xs: {},
- data_xFormat: '%Y-%m-%d',
- data_xLocaltime: true,
- data_xSort: true,
- data_idConverter: function (id) {
- return id;
- },
- data_names: {},
- data_classes: {},
- data_groups: [],
- data_axes: {},
- data_type: undefined,
- data_types: {},
- data_labels: {},
- data_order: 'desc',
- data_regions: {},
- data_color: undefined,
- data_colors: {},
- data_hide: false,
- data_filter: undefined,
- data_selection_enabled: false,
- data_selection_grouped: false,
- data_selection_isselectable: function () {
- return true;
- },
- data_selection_multiple: true,
- data_onclick: function () {
- },
- data_onmouseover: function () {
- },
- data_onmouseout: function () {
- },
- data_onselected: function () {
- },
- data_onunselected: function () {
- },
- data_ondragstart: function () {
- },
- data_ondragend: function () {
- },
- data_url: undefined,
- data_json: undefined,
- data_rows: undefined,
- data_columns: undefined,
- data_mimeType: undefined,
- data_keys: undefined,
- // configuration for no plot-able data supplied.
- data_empty_label_text: "",
- // subchart
- subchart_show: false,
- subchart_size_height: 60,
- subchart_onbrush: function () {
- },
- // color
- color_pattern: [],
- color_threshold: {},
- // legend
- legend_show: true,
- legend_hide: false,
- legend_position: 'bottom',
- legend_inset_anchor: 'top-left',
- legend_inset_x: 10,
- legend_inset_y: 0,
- legend_inset_step: undefined,
- legend_item_onclick: undefined,
- legend_item_onmouseover: undefined,
- legend_item_onmouseout: undefined,
- legend_equally: false,
- // axis
- axis_rotated: false,
- axis_x_show: true,
- axis_x_type: 'indexed',
- axis_x_localtime: true,
- axis_x_categories: [],
- axis_x_tick_centered: false,
- axis_x_tick_format: undefined,
- axis_x_tick_culling: {},
- axis_x_tick_culling_max: 10,
- axis_x_tick_count: undefined,
- axis_x_tick_fit: true,
- axis_x_tick_values: null,
- axis_x_tick_rotate: 0,
- axis_x_tick_outer: true,
- axis_x_tick_multiline: true,
- axis_x_tick_width: null,
- axis_x_max: undefined,
- axis_x_min: undefined,
- axis_x_padding: {},
- axis_x_height: undefined,
- axis_x_extent: undefined,
- axis_x_label: {},
- axis_y_show: true,
- axis_y_type: undefined,
- axis_y_max: undefined,
- axis_y_min: undefined,
- axis_y_center: undefined,
- axis_y_inner: undefined,
- axis_y_label: {},
- axis_y_tick_format: undefined,
- axis_y_tick_outer: true,
- axis_y_tick_values: null,
- axis_y_tick_count: undefined,
- axis_y_tick_time_value: undefined,
- axis_y_tick_time_interval: undefined,
- axis_y_padding: {},
- axis_y_default: undefined,
- axis_y2_show: false,
- axis_y2_max: undefined,
- axis_y2_min: undefined,
- axis_y2_center: undefined,
- axis_y2_inner: undefined,
- axis_y2_label: {},
- axis_y2_tick_format: undefined,
- axis_y2_tick_outer: true,
- axis_y2_tick_values: null,
- axis_y2_tick_count: undefined,
- axis_y2_padding: {},
- axis_y2_default: undefined,
- // grid
- grid_x_show: false,
- grid_x_type: 'tick',
- grid_x_lines: [],
- grid_y_show: false,
- // not used
- // grid_y_type: 'tick',
- grid_y_lines: [],
- grid_y_ticks: 10,
- grid_focus_show: true,
- grid_lines_front: true,
- // point - point of each data
- point_show: true,
- point_r: 2.5,
- point_focus_expand_enabled: true,
- point_focus_expand_r: undefined,
- point_select_r: undefined,
- // line
- line_connectNull: false,
- line_step_type: 'step',
- // bar
- bar_width: undefined,
- bar_width_ratio: 0.6,
- bar_width_max: undefined,
- bar_zerobased: true,
- // area
- area_zerobased: true,
- // pie
- pie_label_show: true,
- pie_label_format: undefined,
- pie_label_threshold: 0.05,
- pie_expand: true,
- // gauge
- gauge_label_show: true,
- gauge_label_format: undefined,
- gauge_expand: true,
- gauge_min: 0,
- gauge_max: 100,
- gauge_units: undefined,
- gauge_width: undefined,
- // donut
- donut_label_show: true,
- donut_label_format: undefined,
- donut_label_threshold: 0.05,
- donut_width: undefined,
- donut_expand: true,
- donut_title: "",
- // region - region to change style
- regions: [],
- // tooltip - show when mouseover on each data
- tooltip_show: true,
- tooltip_grouped: true,
- tooltip_format_title: undefined,
- tooltip_format_name: undefined,
- tooltip_format_value: undefined,
- tooltip_position: undefined,
- tooltip_contents: function (d, defaultTitleFormat, defaultValueFormat, color) {
- return this.getTooltipContent ? this.getTooltipContent(d, defaultTitleFormat, defaultValueFormat, color) : '';
- },
- tooltip_init_show: false,
- tooltip_init_x: 0,
- tooltip_init_position: {top: '0px', left: '50px'}
- };
-
- Object.keys(this.additionalConfig).forEach(function (key) {
- config[key] = this.additionalConfig[key];
- }, this);
-
- return config;
- };
- c3_chart_internal_fn.additionalConfig = {};
-
- c3_chart_internal_fn.loadConfig = function (config) {
- var this_config = this.config, target, keys, read;
-
- function find() {
- var key = keys.shift();
- // console.log("key =>", key, ", target =>", target);
- if (key && target && typeof target === 'object' && key in target) {
- target = target[key];
- return find();
- }
- else if (!key) {
- return target;
- }
- else {
- return undefined;
- }
- }
-
- Object.keys(this_config).forEach(function (key) {
- target = config;
- keys = key.split('_');
- read = find();
- // console.log("CONFIG : ", key, read);
- if (isDefined(read)) {
- this_config[key] = read;
- }
- });
- };
-
- c3_chart_internal_fn.getScale = function (min, max, forTimeseries) {
- return (forTimeseries ? this.d3.time.scale() : this.d3.scale.linear()).range([min, max]);
- };
- c3_chart_internal_fn.getX = function (min, max, domain, offset) {
- var $$ = this,
- scale = $$.getScale(min, max, $$.isTimeSeries()),
- _scale = domain ? scale.domain(domain) : scale, key;
- // Define customized scale if categorized axis
- if ($$.isCategorized()) {
- offset = offset || function () {
- return 0;
- };
- scale = function (d, raw) {
- var v = _scale(d) + offset(d);
- return raw ? v : Math.ceil(v);
- };
- } else {
- scale = function (d, raw) {
- var v = _scale(d);
- return raw ? v : Math.ceil(v);
- };
- }
- // define functions
- for (key in _scale) {
- scale[key] = _scale[key];
- }
- scale.orgDomain = function () {
- return _scale.domain();
- };
- // define custom domain() for categorized axis
- if ($$.isCategorized()) {
- scale.domain = function (domain) {
- if (!arguments.length) {
- domain = this.orgDomain();
- return [domain[0], domain[1] + 1];
- }
- _scale.domain(domain);
- return scale;
- };
- }
- return scale;
- };
- c3_chart_internal_fn.getY = function (min, max, domain) {
- var scale = this.getScale(min, max, this.isTimeSeriesY());
- if (domain) {
- scale.domain(domain);
- }
- return scale;
- };
- c3_chart_internal_fn.getYScale = function (id) {
- return this.getAxisId(id) === 'y2' ? this.y2 : this.y;
- };
- c3_chart_internal_fn.getSubYScale = function (id) {
- return this.getAxisId(id) === 'y2' ? this.subY2 : this.subY;
- };
- c3_chart_internal_fn.updateScales = function () {
- var $$ = this, config = $$.config,
- forInit = !$$.x;
- // update edges
- $$.xMin = config.axis_rotated ? 1 : 0;
- $$.xMax = config.axis_rotated ? $$.height : $$.width;
- $$.yMin = config.axis_rotated ? 0 : $$.height;
- $$.yMax = config.axis_rotated ? $$.width : 1;
- $$.subXMin = $$.xMin;
- $$.subXMax = $$.xMax;
- $$.subYMin = config.axis_rotated ? 0 : $$.height2;
- $$.subYMax = config.axis_rotated ? $$.width2 : 1;
- // update scales
- $$.x = $$.getX($$.xMin, $$.xMax, forInit ? undefined : $$.x.orgDomain(), function () {
- return $$.xAxis.tickOffset();
- });
- $$.y = $$.getY($$.yMin, $$.yMax, forInit ? config.axis_y_default : $$.y.domain());
- $$.y2 = $$.getY($$.yMin, $$.yMax, forInit ? config.axis_y2_default : $$.y2.domain());
- $$.subX = $$.getX($$.xMin, $$.xMax, $$.orgXDomain, function (d) {
- return d % 1 ? 0 : $$.subXAxis.tickOffset();
- });
- $$.subY = $$.getY($$.subYMin, $$.subYMax, forInit ? config.axis_y_default : $$.subY.domain());
- $$.subY2 = $$.getY($$.subYMin, $$.subYMax, forInit ? config.axis_y2_default : $$.subY2.domain());
- // update axes
- $$.xAxisTickFormat = $$.getXAxisTickFormat();
- $$.xAxisTickValues = $$.getXAxisTickValues();
- $$.yAxisTickValues = $$.getYAxisTickValues();
- $$.y2AxisTickValues = $$.getY2AxisTickValues();
-
- $$.xAxis = $$.getXAxis($$.x, $$.xOrient, $$.xAxisTickFormat, $$.xAxisTickValues, config.axis_x_tick_outer);
- $$.subXAxis = $$.getXAxis($$.subX, $$.subXOrient, $$.xAxisTickFormat, $$.xAxisTickValues, config.axis_x_tick_outer);
- $$.yAxis = $$.getYAxis($$.y, $$.yOrient, config.axis_y_tick_format, $$.yAxisTickValues, config.axis_y_tick_outer);
- $$.y2Axis = $$.getYAxis($$.y2, $$.y2Orient, config.axis_y2_tick_format, $$.y2AxisTickValues, config.axis_y2_tick_outer);
-
- // Set initialized scales to brush and zoom
- if (!forInit) {
- if ($$.brush) {
- $$.brush.scale($$.subX);
- }
- if (config.zoom_enabled) {
- $$.zoom.scale($$.x);
- }
- }
- // update for arc
- if ($$.updateArc) {
- $$.updateArc();
- }
- };
-
- c3_chart_internal_fn.getYDomainMin = function (targets) {
- var $$ = this, config = $$.config,
- ids = $$.mapToIds(targets), ys = $$.getValuesAsIdKeyed(targets),
- j, k, baseId, idsInGroup, id, hasNegativeValue;
- if (config.data_groups.length > 0) {
- hasNegativeValue = $$.hasNegativeValueInTargets(targets);
- for (j = 0; j < config.data_groups.length; j++) {
- // Determine baseId
- idsInGroup = config.data_groups[j].filter(function (id) {
- return ids.indexOf(id) >= 0;
- });
- if (idsInGroup.length === 0) {
- continue;
- }
- baseId = idsInGroup[0];
- // Consider negative values
- if (hasNegativeValue && ys[baseId]) {
- ys[baseId].forEach(function (v, i) {
- ys[baseId][i] = v < 0 ? v : 0;
- });
- }
- // Compute min
- for (k = 1; k < idsInGroup.length; k++) {
- id = idsInGroup[k];
- if (!ys[id]) {
- continue;
- }
- ys[id].forEach(function (v, i) {
- if ($$.getAxisId(id) === $$.getAxisId(baseId) && ys[baseId] && !(hasNegativeValue && +v > 0)) {
- ys[baseId][i] += +v;
- }
- });
- }
- }
- }
- return $$.d3.min(Object.keys(ys).map(function (key) {
- return $$.d3.min(ys[key]);
- }));
- };
- c3_chart_internal_fn.getYDomainMax = function (targets) {
- var $$ = this, config = $$.config,
- ids = $$.mapToIds(targets), ys = $$.getValuesAsIdKeyed(targets),
- j, k, baseId, idsInGroup, id, hasPositiveValue;
- if (config.data_groups.length > 0) {
- hasPositiveValue = $$.hasPositiveValueInTargets(targets);
- for (j = 0; j < config.data_groups.length; j++) {
- // Determine baseId
- idsInGroup = config.data_groups[j].filter(function (id) {
- return ids.indexOf(id) >= 0;
- });
- if (idsInGroup.length === 0) {
- continue;
- }
- baseId = idsInGroup[0];
- // Consider positive values
- if (hasPositiveValue && ys[baseId]) {
- ys[baseId].forEach(function (v, i) {
- ys[baseId][i] = v > 0 ? v : 0;
- });
- }
- // Compute max
- for (k = 1; k < idsInGroup.length; k++) {
- id = idsInGroup[k];
- if (!ys[id]) {
- continue;
- }
- ys[id].forEach(function (v, i) {
- if ($$.getAxisId(id) === $$.getAxisId(baseId) && ys[baseId] && !(hasPositiveValue && +v < 0)) {
- ys[baseId][i] += +v;
- }
- });
- }
- }
- }
- return $$.d3.max(Object.keys(ys).map(function (key) {
- return $$.d3.max(ys[key]);
- }));
- };
- c3_chart_internal_fn.getYDomain = function (targets, axisId, xDomain) {
- var $$ = this, config = $$.config,
- targetsByAxisId = targets.filter(function (t) {
- return $$.getAxisId(t.id) === axisId;
- }),
- yTargets = xDomain ? $$.filterByXDomain(targetsByAxisId, xDomain) : targetsByAxisId,
- yMin = axisId === 'y2' ? config.axis_y2_min : config.axis_y_min,
- yMax = axisId === 'y2' ? config.axis_y2_max : config.axis_y_max,
- yDomainMin = isValue(yMin) ? yMin : $$.getYDomainMin(yTargets),
- yDomainMax = isValue(yMax) ? yMax : $$.getYDomainMax(yTargets),
- domainLength, padding, padding_top, padding_bottom,
- center = axisId === 'y2' ? config.axis_y2_center : config.axis_y_center,
- yDomainAbs, lengths, diff, ratio, isAllPositive, isAllNegative,
- isZeroBased = ($$.hasType('bar', yTargets) && config.bar_zerobased) || ($$.hasType('area', yTargets) && config.area_zerobased),
- showHorizontalDataLabel = $$.hasDataLabel() && config.axis_rotated,
- showVerticalDataLabel = $$.hasDataLabel() && !config.axis_rotated;
-
- if (yDomainMax < yDomainMin) {
- if (isValue(yMin)) {
- yDomainMax = yDomainMin + 10; // TODO: introduce axis.y.maxMin
- } else {
- yDomainMin = yDomainMax - 10; // TODO: introduce axis.y.minMax
- }
- }
-
- if (yTargets.length === 0) { // use current domain if target of axisId is none
- return axisId === 'y2' ? $$.y2.domain() : $$.y.domain();
- }
- if (isNaN(yDomainMin)) { // set minimum to zero when not number
- yDomainMin = 0;
- }
- if (isNaN(yDomainMax)) { // set maximum to have same value as yDomainMin
- yDomainMax = yDomainMin;
- }
- if (yDomainMin === yDomainMax) {
- yDomainMin < 0 ? yDomainMax = 0 : yDomainMin = 0;
- }
- isAllPositive = yDomainMin >= 0 && yDomainMax >= 0;
- isAllNegative = yDomainMin <= 0 && yDomainMax <= 0;
-
- // Cancel zerobased if axis_*_min / axis_*_max specified
- if ((isValue(yMin) && isAllPositive) || (isValue(yMax) && isAllNegative)) {
- isZeroBased = false;
- }
-
- // Bar/Area chart should be 0-based if all positive|negative
- if (isZeroBased) {
- if (isAllPositive) {
- yDomainMin = 0;
- }
- if (isAllNegative) {
- yDomainMax = 0;
- }
- }
-
- domainLength = Math.abs(yDomainMax - yDomainMin);
- padding = padding_top = padding_bottom = domainLength * 0.1;
-
- if (typeof center !== 'undefined') {
- yDomainAbs = Math.max(Math.abs(yDomainMin), Math.abs(yDomainMax));
- yDomainMax = center + yDomainAbs;
- yDomainMin = center - yDomainAbs;
- }
- // add padding for data label
- if (showHorizontalDataLabel) {
- lengths = $$.getDataLabelLength(yDomainMin, yDomainMax, axisId, 'width');
- diff = diffDomain($$.y.range());
- ratio = [lengths[0] / diff, lengths[1] / diff];
- padding_top += domainLength * (ratio[1] / (1 - ratio[0] - ratio[1]));
- padding_bottom += domainLength * (ratio[0] / (1 - ratio[0] - ratio[1]));
- } else if (showVerticalDataLabel) {
- lengths = $$.getDataLabelLength(yDomainMin, yDomainMax, axisId, 'height');
- padding_top += this.convertPixelsToAxisPadding(lengths[1], domainLength);
- padding_bottom += this.convertPixelsToAxisPadding(lengths[0], domainLength);
- }
- if (axisId === 'y' && notEmpty(config.axis_y_padding)) {
- padding_top = $$.getAxisPadding(config.axis_y_padding, 'top', padding_top, domainLength);
- padding_bottom = $$.getAxisPadding(config.axis_y_padding, 'bottom', padding_bottom, domainLength);
- }
- if (axisId === 'y2' && notEmpty(config.axis_y2_padding)) {
- padding_top = $$.getAxisPadding(config.axis_y2_padding, 'top', padding_top, domainLength);
- padding_bottom = $$.getAxisPadding(config.axis_y2_padding, 'bottom', padding_bottom, domainLength);
- }
- // Bar/Area chart should be 0-based if all positive|negative
- if (isZeroBased) {
- if (isAllPositive) {
- padding_bottom = yDomainMin;
- }
- if (isAllNegative) {
- padding_top = -yDomainMax;
- }
- }
- return [yDomainMin - padding_bottom, yDomainMax + padding_top];
- };
- c3_chart_internal_fn.getXDomainMin = function (targets) {
- var $$ = this, config = $$.config;
- return isDefined(config.axis_x_min) ?
- ($$.isTimeSeries() ? this.parseDate(config.axis_x_min) : config.axis_x_min) :
- $$.d3.min(targets, function (t) {
- return $$.d3.min(t.values, function (v) {
- return v.x;
- });
- });
- };
- c3_chart_internal_fn.getXDomainMax = function (targets) {
- var $$ = this, config = $$.config;
- return isDefined(config.axis_x_max) ?
- ($$.isTimeSeries() ? this.parseDate(config.axis_x_max) : config.axis_x_max) :
- $$.d3.max(targets, function (t) {
- return $$.d3.max(t.values, function (v) {
- return v.x;
- });
- });
- };
- c3_chart_internal_fn.getXDomainPadding = function (domain) {
- var $$ = this, config = $$.config,
- diff = domain[1] - domain[0],
- maxDataCount, padding, paddingLeft, paddingRight;
- if ($$.isCategorized()) {
- padding = 0;
- } else if ($$.hasType('bar')) {
- maxDataCount = $$.getMaxDataCount();
- padding = maxDataCount > 1 ? (diff / (maxDataCount - 1)) / 2 : 0.5;
- } else {
- padding = diff * 0.01;
- }
- if (typeof config.axis_x_padding === 'object' && notEmpty(config.axis_x_padding)) {
- paddingLeft = isValue(config.axis_x_padding.left) ? config.axis_x_padding.left : padding;
- paddingRight = isValue(config.axis_x_padding.right) ? config.axis_x_padding.right : padding;
- } else if (typeof config.axis_x_padding === 'number') {
- paddingLeft = paddingRight = config.axis_x_padding;
- } else {
- paddingLeft = paddingRight = padding;
- }
- return {left: paddingLeft, right: paddingRight};
- };
- c3_chart_internal_fn.getXDomain = function (targets) {
- var $$ = this,
- xDomain = [$$.getXDomainMin(targets), $$.getXDomainMax(targets)],
- firstX = xDomain[0], lastX = xDomain[1],
- padding = $$.getXDomainPadding(xDomain),
- min = 0, max = 0;
- // show center of x domain if min and max are the same
- if ((firstX - lastX) === 0 && !$$.isCategorized()) {
- if ($$.isTimeSeries()) {
- firstX = new Date(firstX.getTime() * 0.5);
- lastX = new Date(lastX.getTime() * 1.5);
- } else {
- firstX = firstX === 0 ? 1 : (firstX * 0.5);
- lastX = lastX === 0 ? -1 : (lastX * 1.5);
- }
- }
- if (firstX || firstX === 0) {
- min = $$.isTimeSeries() ? new Date(firstX.getTime() - padding.left) : firstX - padding.left;
- }
- if (lastX || lastX === 0) {
- max = $$.isTimeSeries() ? new Date(lastX.getTime() + padding.right) : lastX + padding.right;
- }
- return [min, max];
- };
- c3_chart_internal_fn.updateXDomain = function (targets, withUpdateXDomain, withUpdateOrgXDomain, withTrim, domain) {
- var $$ = this, config = $$.config;
-
- if (withUpdateOrgXDomain) {
- $$.x.domain(domain ? domain : $$.d3.extent($$.getXDomain(targets)));
- $$.orgXDomain = $$.x.domain();
- if (config.zoom_enabled) {
- $$.zoom.scale($$.x).updateScaleExtent();
- }
- $$.subX.domain($$.x.domain());
- if ($$.brush) {
- $$.brush.scale($$.subX);
- }
- }
- if (withUpdateXDomain) {
- $$.x.domain(domain ? domain : (!$$.brush || $$.brush.empty()) ? $$.orgXDomain : $$.brush.extent());
- if (config.zoom_enabled) {
- $$.zoom.scale($$.x).updateScaleExtent();
- }
- }
-
- // Trim domain when too big by zoom mousemove event
- if (withTrim) {
- $$.x.domain($$.trimXDomain($$.x.orgDomain()));
- }
-
- return $$.x.domain();
- };
- c3_chart_internal_fn.trimXDomain = function (domain) {
- var $$ = this;
- if (domain[0] <= $$.orgXDomain[0]) {
- domain[1] = +domain[1] + ($$.orgXDomain[0] - domain[0]);
- domain[0] = $$.orgXDomain[0];
- }
- if ($$.orgXDomain[1] <= domain[1]) {
- domain[0] = +domain[0] - (domain[1] - $$.orgXDomain[1]);
- domain[1] = $$.orgXDomain[1];
- }
- return domain;
- };
-
- c3_chart_internal_fn.isX = function (key) {
- var $$ = this, config = $$.config;
- return (config.data_x && key === config.data_x) || (notEmpty(config.data_xs) && hasValue(config.data_xs, key));
- };
- c3_chart_internal_fn.isNotX = function (key) {
- return !this.isX(key);
- };
- c3_chart_internal_fn.getXKey = function (id) {
- var $$ = this, config = $$.config;
- return config.data_x ? config.data_x : notEmpty(config.data_xs) ? config.data_xs[id] : null;
- };
- c3_chart_internal_fn.getXValuesOfXKey = function (key, targets) {
- var $$ = this,
- xValues, ids = targets && notEmpty(targets) ? $$.mapToIds(targets) : [];
- ids.forEach(function (id) {
- if ($$.getXKey(id) === key) {
- xValues = $$.data.xs[id];
- }
- });
- return xValues;
- };
- c3_chart_internal_fn.getIndexByX = function (x) {
- var $$ = this,
- data = $$.filterByX($$.data.targets, x);
- return data.length ? data[0].index : null;
- };
- c3_chart_internal_fn.getXValue = function (id, i) {
- var $$ = this;
- return id in $$.data.xs && $$.data.xs[id] && isValue($$.data.xs[id][i]) ? $$.data.xs[id][i] : i;
- };
- c3_chart_internal_fn.getOtherTargetXs = function () {
- var $$ = this,
- idsForX = Object.keys($$.data.xs);
- return idsForX.length ? $$.data.xs[idsForX[0]] : null;
- };
- c3_chart_internal_fn.getOtherTargetX = function (index) {
- var xs = this.getOtherTargetXs();
- return xs && index < xs.length ? xs[index] : null;
- };
- c3_chart_internal_fn.addXs = function (xs) {
- var $$ = this;
- Object.keys(xs).forEach(function (id) {
- $$.config.data_xs[id] = xs[id];
- });
- };
- c3_chart_internal_fn.hasMultipleX = function (xs) {
- return this.d3.set(Object.keys(xs).map(function (id) {
- return xs[id];
- })).size() > 1;
- };
- c3_chart_internal_fn.isMultipleX = function () {
- return notEmpty(this.config.data_xs) || !this.config.data_xSort || this.hasType('scatter');
- };
- c3_chart_internal_fn.addName = function (data) {
- var $$ = this, name;
- if (data) {
- name = $$.config.data_names[data.id];
- data.name = name ? name : data.id;
- }
- return data;
- };
- c3_chart_internal_fn.getValueOnIndex = function (values, index) {
- var valueOnIndex = values.filter(function (v) {
- return v.index === index;
- });
- return valueOnIndex.length ? valueOnIndex[0] : null;
- };
- c3_chart_internal_fn.updateTargetX = function (targets, x) {
- var $$ = this;
- targets.forEach(function (t) {
- t.values.forEach(function (v, i) {
- v.x = $$.generateTargetX(x[i], t.id, i);
- });
- $$.data.xs[t.id] = x;
- });
- };
- c3_chart_internal_fn.updateTargetXs = function (targets, xs) {
- var $$ = this;
- targets.forEach(function (t) {
- if (xs[t.id]) {
- $$.updateTargetX([t], xs[t.id]);
- }
- });
- };
- c3_chart_internal_fn.generateTargetX = function (rawX, id, index) {
- var $$ = this, x;
- if ($$.isTimeSeries()) {
- x = rawX ? $$.parseDate(rawX) : $$.parseDate($$.getXValue(id, index));
- }
- else if ($$.isCustomX() && !$$.isCategorized()) {
- x = isValue(rawX) ? +rawX : $$.getXValue(id, index);
- }
- else {
- x = index;
- }
- return x;
- };
- c3_chart_internal_fn.cloneTarget = function (target) {
- return {
- id: target.id,
- id_org: target.id_org,
- values: target.values.map(function (d) {
- return {x: d.x, value: d.value, id: d.id};
- })
- };
- };
- c3_chart_internal_fn.updateXs = function () {
- var $$ = this;
- if ($$.data.targets.length) {
- $$.xs = [];
- $$.data.targets[0].values.forEach(function (v) {
- $$.xs[v.index] = v.x;
- });
- }
- };
- c3_chart_internal_fn.getPrevX = function (i) {
- var x = this.xs[i - 1];
- return typeof x !== 'undefined' ? x : null;
- };
- c3_chart_internal_fn.getNextX = function (i) {
- var x = this.xs[i + 1];
- return typeof x !== 'undefined' ? x : null;
- };
- c3_chart_internal_fn.getMaxDataCount = function () {
- var $$ = this;
- return $$.d3.max($$.data.targets, function (t) {
- return t.values.length;
- });
- };
- c3_chart_internal_fn.getMaxDataCountTarget = function (targets) {
- var length = targets.length, max = 0, maxTarget;
- if (length > 1) {
- targets.forEach(function (t) {
- if (t.values.length > max) {
- maxTarget = t;
- max = t.values.length;
- }
- });
- } else {
- maxTarget = length ? targets[0] : null;
- }
- return maxTarget;
- };
- c3_chart_internal_fn.getEdgeX = function (targets) {
- var $$ = this;
- return !targets.length ? [0, 0] : [
- $$.d3.min(targets, function (t) {
- return t.values[0].x;
- }),
- $$.d3.max(targets, function (t) {
- return t.values[t.values.length - 1].x;
- })
- ];
- };
- c3_chart_internal_fn.mapToIds = function (targets) {
- return targets.map(function (d) {
- return d.id;
- });
- };
- c3_chart_internal_fn.mapToTargetIds = function (ids) {
- var $$ = this;
- return ids ? (isString(ids) ? [ids] : ids) : $$.mapToIds($$.data.targets);
- };
- c3_chart_internal_fn.hasTarget = function (targets, id) {
- var ids = this.mapToIds(targets), i;
- for (i = 0; i < ids.length; i++) {
- if (ids[i] === id) {
- return true;
- }
- }
- return false;
- };
- c3_chart_internal_fn.isTargetToShow = function (targetId) {
- return this.hiddenTargetIds.indexOf(targetId) < 0;
- };
- c3_chart_internal_fn.isLegendToShow = function (targetId) {
- return this.hiddenLegendIds.indexOf(targetId) < 0;
- };
- c3_chart_internal_fn.filterTargetsToShow = function (targets) {
- var $$ = this;
- return targets.filter(function (t) {
- return $$.isTargetToShow(t.id);
- });
- };
- c3_chart_internal_fn.mapTargetsToUniqueXs = function (targets) {
- var $$ = this;
- var xs = $$.d3.set($$.d3.merge(targets.map(function (t) {
- return t.values.map(function (v) {
- return +v.x;
- });
- }))).values();
- return $$.isTimeSeries() ? xs.map(function (x) {
- return new Date(+x);
- }) : xs.map(function (x) {
- return +x;
- });
- };
- c3_chart_internal_fn.addHiddenTargetIds = function (targetIds) {
- this.hiddenTargetIds = this.hiddenTargetIds.concat(targetIds);
- };
- c3_chart_internal_fn.removeHiddenTargetIds = function (targetIds) {
- this.hiddenTargetIds = this.hiddenTargetIds.filter(function (id) {
- return targetIds.indexOf(id) < 0;
- });
- };
- c3_chart_internal_fn.addHiddenLegendIds = function (targetIds) {
- this.hiddenLegendIds = this.hiddenLegendIds.concat(targetIds);
- };
- c3_chart_internal_fn.removeHiddenLegendIds = function (targetIds) {
- this.hiddenLegendIds = this.hiddenLegendIds.filter(function (id) {
- return targetIds.indexOf(id) < 0;
- });
- };
- c3_chart_internal_fn.getValuesAsIdKeyed = function (targets) {
- var ys = {};
- targets.forEach(function (t) {
- ys[t.id] = [];
- t.values.forEach(function (v) {
- ys[t.id].push(v.value);
- });
- });
- return ys;
- };
- c3_chart_internal_fn.checkValueInTargets = function (targets, checker) {
- var ids = Object.keys(targets), i, j, values;
- for (i = 0; i < ids.length; i++) {
- values = targets[ids[i]].values;
- for (j = 0; j < values.length; j++) {
- if (checker(values[j].value)) {
- return true;
- }
- }
- }
- return false;
- };
- c3_chart_internal_fn.hasNegativeValueInTargets = function (targets) {
- return this.checkValueInTargets(targets, function (v) {
- return v < 0;
- });
- };
- c3_chart_internal_fn.hasPositiveValueInTargets = function (targets) {
- return this.checkValueInTargets(targets, function (v) {
- return v > 0;
- });
- };
- c3_chart_internal_fn.isOrderDesc = function () {
- var config = this.config;
- return typeof(config.data_order) === 'string' && config.data_order.toLowerCase() === 'desc';
- };
- c3_chart_internal_fn.isOrderAsc = function () {
- var config = this.config;
- return typeof(config.data_order) === 'string' && config.data_order.toLowerCase() === 'asc';
- };
- c3_chart_internal_fn.orderTargets = function (targets) {
- var $$ = this, config = $$.config, orderAsc = $$.isOrderAsc(), orderDesc = $$.isOrderDesc();
- if (orderAsc || orderDesc) {
- targets.sort(function (t1, t2) {
- var reducer = function (p, c) {
- return p + Math.abs(c.value);
- };
- var t1Sum = t1.values.reduce(reducer, 0),
- t2Sum = t2.values.reduce(reducer, 0);
- return orderAsc ? t2Sum - t1Sum : t1Sum - t2Sum;
- });
- } else if (isFunction(config.data_order)) {
- targets.sort(config.data_order);
- } // TODO: accept name array for order
- return targets;
- };
- c3_chart_internal_fn.filterByX = function (targets, x) {
- return this.d3.merge(targets.map(function (t) {
- return t.values;
- })).filter(function (v) {
- return v.x - x === 0;
- });
- };
- c3_chart_internal_fn.filterRemoveNull = function (data) {
- return data.filter(function (d) {
- return isValue(d.value);
- });
- };
- c3_chart_internal_fn.filterByXDomain = function (targets, xDomain) {
- return targets.map(function (t) {
- return {
- id: t.id,
- id_org: t.id_org,
- values: t.values.filter(function (v) {
- return xDomain[0] <= v.x && v.x <= xDomain[1];
- })
- };
- });
- };
- c3_chart_internal_fn.hasDataLabel = function () {
- var config = this.config;
- if (typeof config.data_labels === 'boolean' && config.data_labels) {
- return true;
- } else if (typeof config.data_labels === 'object' && notEmpty(config.data_labels)) {
- return true;
- }
- return false;
- };
- c3_chart_internal_fn.getDataLabelLength = function (min, max, axisId, key) {
- var $$ = this,
- lengths = [0, 0], paddingCoef = 1.3;
- $$.selectChart.select('svg').selectAll('.dummy')
- .data([min, max])
- .enter().append('text')
- .text(function (d) {
- return $$.formatByAxisId(axisId)(d);
- })
- .each(function (d, i) {
- lengths[i] = this.getBoundingClientRect()[key] * paddingCoef;
- })
- .remove();
- return lengths;
- };
- c3_chart_internal_fn.isNoneArc = function (d) {
- return this.hasTarget(this.data.targets, d.id);
- },
- c3_chart_internal_fn.isArc = function (d) {
- return 'data' in d && this.hasTarget(this.data.targets, d.data.id);
- };
- c3_chart_internal_fn.findSameXOfValues = function (values, index) {
- var i, targetX = values[index].x, sames = [];
- for (i = index - 1; i >= 0; i--) {
- if (targetX !== values[i].x) {
- break;
- }
- sames.push(values[i]);
- }
- for (i = index; i < values.length; i++) {
- if (targetX !== values[i].x) {
- break;
- }
- sames.push(values[i]);
- }
- return sames;
- };
-
- c3_chart_internal_fn.findClosestFromTargets = function (targets, pos) {
- var $$ = this, candidates;
-
- // map to array of closest points of each target
- candidates = targets.map(function (target) {
- return $$.findClosest(target.values, pos);
- });
-
- // decide closest point and return
- return $$.findClosest(candidates, pos);
- };
- c3_chart_internal_fn.findClosest = function (values, pos) {
- var $$ = this, minDist = 100, closest;
-
- // find mouseovering bar
- values.filter(function (v) {
- return v && $$.isBarType(v.id);
- }).forEach(function (v) {
- var shape = $$.main.select('.' + CLASS.bars + $$.getTargetSelectorSuffix(v.id) + ' .' + CLASS.bar + '-' + v.index).node();
- if (!closest && $$.isWithinBar(shape)) {
- closest = v;
- }
- });
-
- // find closest point from non-bar
- values.filter(function (v) {
- return v && !$$.isBarType(v.id);
- }).forEach(function (v) {
- var d = $$.dist(v, pos);
- if (d < minDist) {
- minDist = d;
- closest = v;
- }
- });
-
- return closest;
- };
- c3_chart_internal_fn.dist = function (data, pos) {
- var $$ = this, config = $$.config,
- xIndex = config.axis_rotated ? 1 : 0,
- yIndex = config.axis_rotated ? 0 : 1,
- y = $$.circleY(data, data.index),
- x = $$.x(data.x);
- return Math.pow(x - pos[xIndex], 2) + Math.pow(y - pos[yIndex], 2);
- };
- c3_chart_internal_fn.convertValuesToStep = function (values) {
- var converted = [].concat(values), i;
-
- if (!this.isCategorized()) {
- return values;
- }
-
- for (i = values.length + 1; 0 < i; i--) {
- converted[i] = converted[i - 1];
- }
-
- converted[0] = {
- x: converted[0].x - 1,
- value: converted[0].value,
- id: converted[0].id
- };
- converted[values.length + 1] = {
- x: converted[values.length].x + 1,
- value: converted[values.length].value,
- id: converted[values.length].id
- };
-
- return converted;
- };
- c3_chart_internal_fn.updateDataAttributes = function (name, attrs) {
- var $$ = this, config = $$.config, current = config['data_' + name];
- if (typeof attrs === 'undefined') {
- return current;
- }
- Object.keys(attrs).forEach(function (id) {
- current[id] = attrs[id];
- });
- $$.redraw({withLegend: true});
- return current;
- };
-
- c3_chart_internal_fn.convertUrlToData = function (url, mimeType, keys, done) {
- var $$ = this, type = mimeType ? mimeType : 'csv';
- $$.d3.xhr(url, function (error, data) {
- var d;
- if (type === 'json') {
- d = $$.convertJsonToData(JSON.parse(data.response), keys);
- } else if (type === 'tsv') {
- d = $$.convertTsvToData(data.response);
- } else {
- d = $$.convertCsvToData(data.response);
- }
- done.call($$, d);
- });
- };
- c3_chart_internal_fn.convertXsvToData = function (xsv, parser) {
- var rows = parser.parseRows(xsv), d;
- if (rows.length === 1) {
- d = [{}];
- rows[0].forEach(function (id) {
- d[0][id] = null;
- });
- } else {
- d = parser.parse(xsv);
- }
- return d;
- };
- c3_chart_internal_fn.convertCsvToData = function (csv) {
- return this.convertXsvToData(csv, this.d3.csv);
- };
- c3_chart_internal_fn.convertTsvToData = function (tsv) {
- return this.convertXsvToData(tsv, this.d3.tsv);
- };
- c3_chart_internal_fn.convertJsonToData = function (json, keys) {
- var $$ = this,
- new_rows = [], targetKeys, data;
- if (keys) { // when keys specified, json would be an array that includes objects
- targetKeys = keys.value;
- if (keys.x) {
- targetKeys.push(keys.x);
- $$.config.data_x = keys.x;
- }
- new_rows.push(targetKeys);
- json.forEach(function (o) {
- var new_row = [];
- targetKeys.forEach(function (key) {
- // convert undefined to null because undefined data will be removed in convertDataToTargets()
- var v = isUndefined(o[key]) ? null : o[key];
- new_row.push(v);
- });
- new_rows.push(new_row);
- });
- data = $$.convertRowsToData(new_rows);
- } else {
- Object.keys(json).forEach(function (key) {
- new_rows.push([key].concat(json[key]));
- });
- data = $$.convertColumnsToData(new_rows);
- }
- return data;
- };
- c3_chart_internal_fn.convertRowsToData = function (rows) {
- var keys = rows[0], new_row = {}, new_rows = [], i, j;
- for (i = 1; i < rows.length; i++) {
- new_row = {};
- for (j = 0; j < rows[i].length; j++) {
- if (isUndefined(rows[i][j])) {
- throw new Error("Source data is missing a component at (" + i + "," + j + ")!");
- }
- new_row[keys[j]] = rows[i][j];
- }
- new_rows.push(new_row);
- }
- return new_rows;
- };
- c3_chart_internal_fn.convertColumnsToData = function (columns) {
- var new_rows = [], i, j, key;
- for (i = 0; i < columns.length; i++) {
- key = columns[i][0];
- for (j = 1; j < columns[i].length; j++) {
- if (isUndefined(new_rows[j - 1])) {
- new_rows[j - 1] = {};
- }
- if (isUndefined(columns[i][j])) {
- throw new Error("Source data is missing a component at (" + i + "," + j + ")!");
- }
- new_rows[j - 1][key] = columns[i][j];
- }
- }
- return new_rows;
- };
- c3_chart_internal_fn.convertDataToTargets = function (data, appendXs) {
- var $$ = this, config = $$.config,
- ids = $$.d3.keys(data[0]).filter($$.isNotX, $$),
- xs = $$.d3.keys(data[0]).filter($$.isX, $$),
- targets;
-
- // save x for update data by load when custom x and c3.x API
- ids.forEach(function (id) {
- var xKey = $$.getXKey(id);
-
- if ($$.isCustomX() || $$.isTimeSeries()) {
- // if included in input data
- if (xs.indexOf(xKey) >= 0) {
- $$.data.xs[id] = (appendXs && $$.data.xs[id] ? $$.data.xs[id] : []).concat(
- data.map(function (d) {
- return d[xKey];
- })
- .filter(isValue)
- .map(function (rawX, i) {
- return $$.generateTargetX(rawX, id, i);
- })
- );
- }
- // if not included in input data, find from preloaded data of other id's x
- else if (config.data_x) {
- $$.data.xs[id] = $$.getOtherTargetXs();
- }
- // if not included in input data, find from preloaded data
- else if (notEmpty(config.data_xs)) {
- $$.data.xs[id] = $$.getXValuesOfXKey(xKey, $$.data.targets);
- }
- // MEMO: if no x included, use same x of current will be used
- } else {
- $$.data.xs[id] = data.map(function (d, i) {
- return i;
- });
- }
- });
-
-
- // check x is defined
- ids.forEach(function (id) {
- if (!$$.data.xs[id]) {
- throw new Error('x is not defined for id = "' + id + '".');
- }
- });
-
- // convert to target
- targets = ids.map(function (id, index) {
- var convertedId = config.data_idConverter(id);
- return {
- id: convertedId,
- id_org: id,
- values: data.map(function (d, i) {
- var xKey = $$.getXKey(id), rawX = d[xKey], x = $$.generateTargetX(rawX, id, i);
- // use x as categories if custom x and categorized
- if ($$.isCustomX() && $$.isCategorized() && index === 0 && rawX) {
- if (i === 0) {
- config.axis_x_categories = [];
- }
- config.axis_x_categories.push(rawX);
- }
- // mark as x = undefined if value is undefined and filter to remove after mapped
- if (isUndefined(d[id]) || $$.data.xs[id].length <= i) {
- x = undefined;
- }
- return {x: x, value: d[id] !== null && !isNaN(d[id]) ? +d[id] : null, id: convertedId};
- }).filter(function (v) {
- return isDefined(v.x);
- })
- };
- });
-
- // finish targets
- targets.forEach(function (t) {
- var i;
- // sort values by its x
- if (config.data_xSort) {
- t.values = t.values.sort(function (v1, v2) {
- var x1 = v1.x || v1.x === 0 ? v1.x : Infinity,
- x2 = v2.x || v2.x === 0 ? v2.x : Infinity;
- return x1 - x2;
- });
- }
- // indexing each value
- i = 0;
- t.values.forEach(function (v) {
- v.index = i++;
- });
- // this needs to be sorted because its index and value.index is identical
- $$.data.xs[t.id].sort(function (v1, v2) {
- return v1 - v2;
- });
- });
-
- // set target types
- if (config.data_type) {
- $$.setTargetType($$.mapToIds(targets).filter(function (id) {
- return !(id in config.data_types);
- }), config.data_type);
- }
-
- // cache as original id keyed
- targets.forEach(function (d) {
- $$.addCache(d.id_org, d);
- });
-
- return targets;
- };
-
- c3_chart_internal_fn.load = function (targets, args) {
- var $$ = this;
- if (targets) {
- // filter loading targets if needed
- if (args.filter) {
- targets = targets.filter(args.filter);
- }
- // set type if args.types || args.type specified
- if (args.type || args.types) {
- targets.forEach(function (t) {
- $$.setTargetType(t.id, args.types ? args.types[t.id] : args.type);
- });
- }
- // Update/Add data
- $$.data.targets.forEach(function (d) {
- for (var i = 0; i < targets.length; i++) {
- if (d.id === targets[i].id) {
- d.values = targets[i].values;
- targets.splice(i, 1);
- break;
- }
- }
- });
- $$.data.targets = $$.data.targets.concat(targets); // add remained
- }
-
- // Set targets
- $$.updateTargets($$.data.targets);
-
- // Redraw with new targets
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true, withLegend: true});
-
- if (args.done) {
- args.done();
- }
- };
- c3_chart_internal_fn.loadFromArgs = function (args) {
- var $$ = this;
- if (args.data) {
- $$.load($$.convertDataToTargets(args.data), args);
- }
- else if (args.url) {
- $$.convertUrlToData(args.url, args.mimeType, args.keys, function (data) {
- $$.load($$.convertDataToTargets(data), args);
- });
- }
- else if (args.json) {
- $$.load($$.convertDataToTargets($$.convertJsonToData(args.json, args.keys)), args);
- }
- else if (args.rows) {
- $$.load($$.convertDataToTargets($$.convertRowsToData(args.rows)), args);
- }
- else if (args.columns) {
- $$.load($$.convertDataToTargets($$.convertColumnsToData(args.columns)), args);
- }
- else {
- $$.load(null, args);
- }
- };
- c3_chart_internal_fn.unload = function (targetIds, done) {
- var $$ = this;
- if (!done) {
- done = function () {
- };
- }
- // filter existing target
- targetIds = targetIds.filter(function (id) {
- return $$.hasTarget($$.data.targets, id);
- });
- // If no target, call done and return
- if (!targetIds || targetIds.length === 0) {
- done();
- return;
- }
- $$.svg.selectAll(targetIds.map(function (id) {
- return $$.selectorTarget(id);
- }))
- .transition()
- .style('opacity', 0)
- .remove()
- .call($$.endall, done);
- targetIds.forEach(function (id) {
- // Reset fadein for future load
- $$.withoutFadeIn[id] = false;
- // Remove target's elements
- if ($$.legend) {
- $$.legend.selectAll('.' + CLASS.legendItem + $$.getTargetSelectorSuffix(id)).remove();
- }
- // Remove target
- $$.data.targets = $$.data.targets.filter(function (t) {
- return t.id !== id;
- });
- });
- };
-
- c3_chart_internal_fn.categoryName = function (i) {
- var config = this.config;
- return i < config.axis_x_categories.length ? config.axis_x_categories[i] : i;
- };
-
- c3_chart_internal_fn.initEventRect = function () {
- var $$ = this;
- $$.main.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.eventRects)
- .style('fill-opacity', 0);
- };
- c3_chart_internal_fn.redrawEventRect = function () {
- var $$ = this, config = $$.config,
- eventRectUpdate, maxDataCountTarget,
- isMultipleX = $$.isMultipleX();
-
- // rects for mouseover
- var eventRects = $$.main.select('.' + CLASS.eventRects)
- .style('cursor', config.zoom_enabled ? config.axis_rotated ? 'ns-resize' : 'ew-resize' : null)
- .classed(CLASS.eventRectsMultiple, isMultipleX)
- .classed(CLASS.eventRectsSingle, !isMultipleX);
-
- // clear old rects
- eventRects.selectAll('.' + CLASS.eventRect).remove();
-
- // open as public variable
- $$.eventRect = eventRects.selectAll('.' + CLASS.eventRect);
-
- if (isMultipleX) {
- eventRectUpdate = $$.eventRect.data([0]);
- // enter : only one rect will be added
- $$.generateEventRectsForMultipleXs(eventRectUpdate.enter());
- // update
- $$.updateEventRect(eventRectUpdate);
- // exit : not needed because always only one rect exists
- }
- else {
- // Set data and update $$.eventRect
- maxDataCountTarget = $$.getMaxDataCountTarget($$.data.targets);
- eventRects.datum(maxDataCountTarget ? maxDataCountTarget.values : []);
- $$.eventRect = eventRects.selectAll('.' + CLASS.eventRect);
- eventRectUpdate = $$.eventRect.data(function (d) {
- return d;
- });
- // enter
- $$.generateEventRectsForSingleX(eventRectUpdate.enter());
- // update
- $$.updateEventRect(eventRectUpdate);
- // exit
- eventRectUpdate.exit().remove();
- }
- };
- c3_chart_internal_fn.updateEventRect = function (eventRectUpdate) {
- var $$ = this, config = $$.config,
- x, y, w, h, rectW, rectX;
-
- // set update selection if null
- eventRectUpdate = eventRectUpdate || $$.eventRect.data(function (d) {
- return d;
- });
-
- if ($$.isMultipleX()) {
- // TODO: rotated not supported yet
- x = 0;
- y = 0;
- w = $$.width;
- h = $$.height;
- }
- else {
- if (($$.isCustomX() || $$.isTimeSeries()) && !$$.isCategorized()) {
-
- // update index for x that is used by prevX and nextX
- $$.updateXs();
-
- rectW = function (d) {
- var prevX = $$.getPrevX(d.index), nextX = $$.getNextX(d.index);
-
- // if there this is a single data point make the eventRect full width (or height)
- if (prevX === null && nextX === null) {
- return config.axis_rotated ? $$.height : $$.width;
- }
-
- if (prevX === null) {
- prevX = $$.x.domain()[0];
- }
- if (nextX === null) {
- nextX = $$.x.domain()[1];
- }
-
- return Math.max(0, ($$.x(nextX) - $$.x(prevX)) / 2);
- };
- rectX = function (d) {
- var prevX = $$.getPrevX(d.index), nextX = $$.getNextX(d.index),
- thisX = $$.data.xs[d.id][d.index];
-
- // if there this is a single data point position the eventRect at 0
- if (prevX === null && nextX === null) {
- return 0;
- }
-
- if (prevX === null) {
- prevX = $$.x.domain()[0];
- }
-
- return ($$.x(thisX) + $$.x(prevX)) / 2;
- };
- } else {
- rectW = $$.getEventRectWidth();
- rectX = function (d) {
- return $$.x(d.x) - (rectW / 2);
- };
- }
- x = config.axis_rotated ? 0 : rectX;
- y = config.axis_rotated ? rectX : 0;
- w = config.axis_rotated ? $$.width : rectW;
- h = config.axis_rotated ? rectW : $$.height;
- }
-
- eventRectUpdate
- .attr('class', $$.classEvent.bind($$))
- .attr("x", x)
- .attr("y", y)
- .attr("width", w)
- .attr("height", h);
- };
- c3_chart_internal_fn.generateEventRectsForSingleX = function (eventRectEnter) {
- var $$ = this, d3 = $$.d3, config = $$.config;
- eventRectEnter.append("rect")
- .attr("class", $$.classEvent.bind($$))
- .style("cursor", config.data_selection_enabled && config.data_selection_grouped ? "pointer" : null)
- .on('mouseover', function (d) {
- var index = d.index, selectedData, newData;
-
- if ($$.dragging || $$.flowing) {
- return;
- } // do nothing while dragging/flowing
- if ($$.hasArcType()) {
- return;
- }
-
- selectedData = $$.data.targets.map(function (t) {
- return $$.addName($$.getValueOnIndex(t.values, index));
- });
-
- // Sort selectedData as names order
- newData = [];
- Object.keys(config.data_names).forEach(function (id) {
- for (var j = 0; j < selectedData.length; j++) {
- if (selectedData[j] && selectedData[j].id === id) {
- newData.push(selectedData[j]);
- selectedData.shift(j);
- break;
- }
- }
- });
- selectedData = newData.concat(selectedData); // Add remained
-
- // Expand shapes for selection
- if (config.point_focus_expand_enabled) {
- $$.expandCircles(index, null, true);
- }
- $$.expandBars(index, null, true);
-
- // Call event handler
- $$.main.selectAll('.' + CLASS.shape + '-' + index).each(function (d) {
- config.data_onmouseover.call($$.api, d);
- });
- })
- .on('mouseout', function (d) {
- var index = d.index;
- if ($$.hasArcType()) {
- return;
- }
- $$.hideXGridFocus();
- $$.hideTooltip();
- // Undo expanded shapes
- $$.unexpandCircles();
- $$.unexpandBars();
- // Call event handler
- $$.main.selectAll('.' + CLASS.shape + '-' + index).each(function (d) {
- config.data_onmouseout.call($$.api, d);
- });
- })
- .on('mousemove', function (d) {
- var selectedData, index = d.index,
- eventRect = $$.svg.select('.' + CLASS.eventRect + '-' + index);
-
- if ($$.dragging || $$.flowing) {
- return;
- } // do nothing while dragging/flowing
- if ($$.hasArcType()) {
- return;
- }
-
- if ($$.isStepType(d) && $$.config.line_step_type === 'step-after' && d3.mouse(this)[0] < $$.x($$.getXValue(d.id, index))) {
- index -= 1;
- }
-
- // Show tooltip
- selectedData = $$.filterTargetsToShow($$.data.targets).map(function (t) {
- return $$.addName($$.getValueOnIndex(t.values, index));
- });
-
- if (config.tooltip_grouped) {
- $$.showTooltip(selectedData, this);
- $$.showXGridFocus(selectedData);
- }
-
- if (config.tooltip_grouped && (!config.data_selection_enabled || config.data_selection_grouped)) {
- return;
- }
-
- $$.main.selectAll('.' + CLASS.shape + '-' + index)
- .each(function () {
- d3.select(this).classed(CLASS.EXPANDED, true);
- if (config.data_selection_enabled) {
- eventRect.style('cursor', config.data_selection_grouped ? 'pointer' : null);
- }
- if (!config.tooltip_grouped) {
- $$.hideXGridFocus();
- $$.hideTooltip();
- if (!config.data_selection_grouped) {
- $$.unexpandCircles(index);
- $$.unexpandBars(index);
- }
- }
- })
- .filter(function (d) {
- return $$.isWithinShape(this, d);
- })
- .each(function (d) {
- if (config.data_selection_enabled && (config.data_selection_grouped || config.data_selection_isselectable(d))) {
- eventRect.style('cursor', 'pointer');
- }
- if (!config.tooltip_grouped) {
- $$.showTooltip([d], this);
- $$.showXGridFocus([d]);
- if (config.point_focus_expand_enabled) {
- $$.expandCircles(index, d.id, true);
- }
- $$.expandBars(index, d.id, true);
- }
- });
- })
- .on('click', function (d) {
- var index = d.index;
- if ($$.hasArcType() || !$$.toggleShape) {
- return;
- }
- if ($$.cancelClick) {
- $$.cancelClick = false;
- return;
- }
- if ($$.isStepType(d) && config.line_step_type === 'step-after' && d3.mouse(this)[0] < $$.x($$.getXValue(d.id, index))) {
- index -= 1;
- }
- $$.main.selectAll('.' + CLASS.shape + '-' + index).each(function (d) {
- if (config.data_selection_grouped || $$.isWithinShape(this, d)) {
- $$.toggleShape(this, d, index);
- $$.config.data_onclick.call($$.api, d, this);
- }
- });
- })
- .call(
- d3.behavior.drag().origin(Object)
- .on('drag', function () {
- $$.drag(d3.mouse(this));
- })
- .on('dragstart', function () {
- $$.dragstart(d3.mouse(this));
- })
- .on('dragend', function () {
- $$.dragend();
- })
- );
- };
-
- c3_chart_internal_fn.generateEventRectsForMultipleXs = function (eventRectEnter) {
- var $$ = this, d3 = $$.d3, config = $$.config;
-
- function mouseout() {
- $$.svg.select('.' + CLASS.eventRect).style('cursor', null);
- $$.hideXGridFocus();
- $$.hideTooltip();
- $$.unexpandCircles();
- $$.unexpandBars();
- }
-
- eventRectEnter.append('rect')
- .attr('x', 0)
- .attr('y', 0)
- .attr('width', $$.width)
- .attr('height', $$.height)
- .attr('class', CLASS.eventRect)
- .on('mouseout', function () {
- if ($$.hasArcType()) {
- return;
- }
- mouseout();
- })
- .on('mousemove', function () {
- var targetsToShow = $$.filterTargetsToShow($$.data.targets);
- var mouse, closest, sameXData, selectedData;
-
- if ($$.dragging) {
- return;
- } // do nothing when dragging
- if ($$.hasArcType(targetsToShow)) {
- return;
- }
-
- mouse = d3.mouse(this);
- closest = $$.findClosestFromTargets(targetsToShow, mouse);
-
- if ($$.mouseover && (!closest || closest.id !== $$.mouseover.id)) {
- config.data_onmouseout.call($$.api, $$.mouseover);
- $$.mouseover = undefined;
- }
-
- if (!closest) {
- mouseout();
- return;
- }
-
- if ($$.isScatterType(closest) || !config.tooltip_grouped) {
- sameXData = [closest];
- } else {
- sameXData = $$.filterByX(targetsToShow, closest.x);
- }
-
- // show tooltip when cursor is close to some point
- selectedData = sameXData.map(function (d) {
- return $$.addName(d);
- });
- $$.showTooltip(selectedData, this);
-
- // expand points
- if (config.point_focus_expand_enabled) {
- $$.expandCircles(closest.index, closest.id, true);
- }
- $$.expandBars(closest.index, closest.id, true);
-
- // Show xgrid focus line
- $$.showXGridFocus(selectedData);
-
- // Show cursor as pointer if point is close to mouse position
- if ($$.isBarType(closest.id) || $$.dist(closest, mouse) < 100) {
- $$.svg.select('.' + CLASS.eventRect).style('cursor', 'pointer');
- if (!$$.mouseover) {
- config.data_onmouseover.call($$.api, closest);
- $$.mouseover = closest;
- }
- }
- })
- .on('click', function () {
- var targetsToShow = $$.filterTargetsToShow($$.data.targets);
- var mouse, closest;
-
- if ($$.hasArcType(targetsToShow)) {
- return;
- }
-
- mouse = d3.mouse(this);
- closest = $$.findClosestFromTargets(targetsToShow, mouse);
-
- if (!closest) {
- return;
- }
-
- // select if selection enabled
- if ($$.isBarType(closest.id) || $$.dist(closest, mouse) < 100) {
- $$.main.selectAll('.' + CLASS.shapes + $$.getTargetSelectorSuffix(closest.id)).select('.' + CLASS.shape + '-' + closest.index).each(function () {
- if (config.data_selection_grouped || $$.isWithinShape(this, closest)) {
- $$.toggleShape(this, closest, closest.index);
- $$.config.data_onclick.call($$.api, closest, this);
- }
- });
- }
- })
- .call(
- d3.behavior.drag().origin(Object)
- .on('drag', function () {
- $$.drag(d3.mouse(this));
- })
- .on('dragstart', function () {
- $$.dragstart(d3.mouse(this));
- })
- .on('dragend', function () {
- $$.dragend();
- })
- );
- };
- c3_chart_internal_fn.dispatchEvent = function (type, index, mouse) {
- var $$ = this,
- selector = '.' + CLASS.eventRect + (!$$.isMultipleX() ? '-' + index : ''),
- eventRect = $$.main.select(selector).node(),
- box = eventRect.getBoundingClientRect(),
- x = box.left + (mouse ? mouse[0] : 0),
- y = box.top + (mouse ? mouse[1] : 0),
- event = document.createEvent("MouseEvents");
-
- event.initMouseEvent(type, true, true, window, 0, x, y, x, y,
- false, false, false, false, 0, null);
- eventRect.dispatchEvent(event);
- };
-
- c3_chart_internal_fn.getCurrentWidth = function () {
- var $$ = this, config = $$.config;
- return config.size_width ? config.size_width : $$.getParentWidth();
- };
- c3_chart_internal_fn.getCurrentHeight = function () {
- var $$ = this, config = $$.config,
- h = config.size_height ? config.size_height : $$.getParentHeight();
- return h > 0 ? h : 320 / ($$.hasType('gauge') ? 2 : 1);
- };
- c3_chart_internal_fn.getCurrentPaddingTop = function () {
- var config = this.config;
- return isValue(config.padding_top) ? config.padding_top : 0;
- };
- c3_chart_internal_fn.getCurrentPaddingBottom = function () {
- var config = this.config;
- return isValue(config.padding_bottom) ? config.padding_bottom : 0;
- };
- c3_chart_internal_fn.getCurrentPaddingLeft = function (withoutRecompute) {
- var $$ = this, config = $$.config;
- if (isValue(config.padding_left)) {
- return config.padding_left;
- } else if (config.axis_rotated) {
- return !config.axis_x_show ? 1 : Math.max(ceil10($$.getAxisWidthByAxisId('x', withoutRecompute)), 40);
- } else if (!config.axis_y_show || config.axis_y_inner) { // && !config.axis_rotated
- return $$.getYAxisLabelPosition().isOuter ? 30 : 1;
- } else {
- return ceil10($$.getAxisWidthByAxisId('y', withoutRecompute));
- }
- };
- c3_chart_internal_fn.getCurrentPaddingRight = function () {
- var $$ = this, config = $$.config,
- defaultPadding = 10, legendWidthOnRight = $$.isLegendRight ? $$.getLegendWidth() + 20 : 0;
- if (isValue(config.padding_right)) {
- return config.padding_right + 1; // 1 is needed not to hide tick line
- } else if (config.axis_rotated) {
- return defaultPadding + legendWidthOnRight;
- } else if (!config.axis_y2_show || config.axis_y2_inner) { // && !config.axis_rotated
- return 2 + legendWidthOnRight + ($$.getY2AxisLabelPosition().isOuter ? 20 : 0);
- } else {
- return ceil10($$.getAxisWidthByAxisId('y2')) + legendWidthOnRight;
- }
- };
-
- c3_chart_internal_fn.getParentRectValue = function (key) {
- var parent = this.selectChart.node(), v;
- while (parent && parent.tagName !== 'BODY') {
- v = parent.getBoundingClientRect()[key];
- if (v) {
- break;
- }
- parent = parent.parentNode;
- }
- return v;
- };
- c3_chart_internal_fn.getParentWidth = function () {
- return this.getParentRectValue('width');
- };
- c3_chart_internal_fn.getParentHeight = function () {
- var h = this.selectChart.style('height');
- return h.indexOf('px') > 0 ? +h.replace('px', '') : 0;
- };
-
-
- c3_chart_internal_fn.getSvgLeft = function (withoutRecompute) {
- var $$ = this, config = $$.config,
- hasLeftAxisRect = config.axis_rotated || (!config.axis_rotated && !config.axis_y_inner),
- leftAxisClass = config.axis_rotated ? CLASS.axisX : CLASS.axisY,
- leftAxis = $$.main.select('.' + leftAxisClass).node(),
- svgRect = leftAxis && hasLeftAxisRect ? leftAxis.getBoundingClientRect() : {right: 0},
- chartRect = $$.selectChart.node().getBoundingClientRect(),
- hasArc = $$.hasArcType(),
- svgLeft = svgRect.right - chartRect.left - (hasArc ? 0 : $$.getCurrentPaddingLeft(withoutRecompute));
- return svgLeft > 0 ? svgLeft : 0;
- };
-
-
- c3_chart_internal_fn.getAxisWidthByAxisId = function (id, withoutRecompute) {
- var $$ = this, position = $$.getAxisLabelPositionById(id);
- return $$.getMaxTickWidth(id, withoutRecompute) + (position.isInner ? 20 : 40);
- };
- c3_chart_internal_fn.getHorizontalAxisHeight = function (axisId) {
- var $$ = this, config = $$.config, h = 30;
- if (axisId === 'x' && !config.axis_x_show) {
- return 8;
- }
- if (axisId === 'x' && config.axis_x_height) {
- return config.axis_x_height;
- }
- if (axisId === 'y' && !config.axis_y_show) {
- return config.legend_show && !$$.isLegendRight && !$$.isLegendInset ? 10 : 1;
- }
- if (axisId === 'y2' && !config.axis_y2_show) {
- return $$.rotated_padding_top;
- }
- // Calculate x axis height when tick rotated
- if (axisId === 'x' && !config.axis_rotated && config.axis_x_tick_rotate) {
- h = $$.getMaxTickWidth(axisId) * Math.cos(Math.PI * (90 - config.axis_x_tick_rotate) / 180);
- }
- return h + ($$.getAxisLabelPositionById(axisId).isInner ? 0 : 10) + (axisId === 'y2' ? -10 : 0);
- };
-
- c3_chart_internal_fn.getEventRectWidth = function () {
- var $$ = this;
- var target = $$.getMaxDataCountTarget($$.data.targets),
- firstData, lastData, base, maxDataCount, ratio, w;
- if (!target) {
- return 0;
- }
- firstData = target.values[0], lastData = target.values[target.values.length - 1];
- base = $$.x(lastData.x) - $$.x(firstData.x);
- if (base === 0) {
- return $$.config.axis_rotated ? $$.height : $$.width;
- }
- maxDataCount = $$.getMaxDataCount();
- ratio = ($$.hasType('bar') ? (maxDataCount - ($$.isCategorized() ? 0.25 : 1)) / maxDataCount : 1);
- w = maxDataCount > 1 ? (base * ratio) / (maxDataCount - 1) : base;
- return w < 1 ? 1 : w;
- };
-
- c3_chart_internal_fn.getShapeIndices = function (typeFilter) {
- var $$ = this, config = $$.config,
- indices = {}, i = 0, j, k;
- $$.filterTargetsToShow($$.data.targets.filter(typeFilter, $$)).forEach(function (d) {
- for (j = 0; j < config.data_groups.length; j++) {
- if (config.data_groups[j].indexOf(d.id) < 0) {
- continue;
- }
- for (k = 0; k < config.data_groups[j].length; k++) {
- if (config.data_groups[j][k] in indices) {
- indices[d.id] = indices[config.data_groups[j][k]];
- break;
- }
- }
- }
- if (isUndefined(indices[d.id])) {
- indices[d.id] = i++;
- }
- });
- indices.__max__ = i - 1;
- return indices;
- };
- c3_chart_internal_fn.getShapeX = function (offset, targetsNum, indices, isSub) {
- var $$ = this, scale = isSub ? $$.subX : $$.x;
- return function (d) {
- var index = d.id in indices ? indices[d.id] : 0;
- return d.x || d.x === 0 ? scale(d.x) - offset * (targetsNum / 2 - index) : 0;
- };
- };
- c3_chart_internal_fn.getShapeY = function (isSub) {
- var $$ = this;
- return function (d) {
- var scale = isSub ? $$.getSubYScale(d.id) : $$.getYScale(d.id);
- return scale(d.value);
- };
- };
- c3_chart_internal_fn.getShapeOffset = function (typeFilter, indices, isSub) {
- var $$ = this,
- targets = $$.orderTargets($$.filterTargetsToShow($$.data.targets.filter(typeFilter, $$))),
- targetIds = targets.map(function (t) {
- return t.id;
- });
- return function (d, i) {
- var scale = isSub ? $$.getSubYScale(d.id) : $$.getYScale(d.id),
- y0 = scale(0), offset = y0;
- targets.forEach(function (t) {
- var values = $$.isStepType(d) ? $$.convertValuesToStep(t.values) : t.values;
- if (t.id === d.id || indices[t.id] !== indices[d.id]) {
- return;
- }
- if (targetIds.indexOf(t.id) < targetIds.indexOf(d.id)) {
- if (values[i].value * d.value >= 0) {
- offset += scale(values[i].value) - y0;
- }
- }
- });
- return offset;
- };
- };
- c3_chart_internal_fn.isWithinShape = function (that, d) {
- var $$ = this,
- shape = $$.d3.select(that), isWithin;
- if (!$$.isTargetToShow(d.id)) {
- isWithin = false;
- }
- else if (that.nodeName === 'circle') {
- isWithin = $$.isStepType(d) ? $$.isWithinStep(that, $$.getYScale(d.id)(d.value)) : $$.isWithinCircle(that, $$.pointSelectR(d) * 1.5);
- }
- else if (that.nodeName === 'path') {
- isWithin = shape.classed(CLASS.bar) ? $$.isWithinBar(that) : true;
- }
- return isWithin;
- };
-
-
- c3_chart_internal_fn.getInterpolate = function (d) {
- var $$ = this;
- return $$.isSplineType(d) ? "cardinal" : $$.isStepType(d) ? $$.config.line_step_type : "linear";
- };
-
- c3_chart_internal_fn.initLine = function () {
- var $$ = this;
- $$.main.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.chartLines);
- };
- c3_chart_internal_fn.updateTargetsForLine = function (targets) {
- var $$ = this, config = $$.config,
- mainLineUpdate, mainLineEnter,
- classChartLine = $$.classChartLine.bind($$),
- classLines = $$.classLines.bind($$),
- classAreas = $$.classAreas.bind($$),
- classCircles = $$.classCircles.bind($$),
- classFocus = $$.classFocus.bind($$);
- mainLineUpdate = $$.main.select('.' + CLASS.chartLines).selectAll('.' + CLASS.chartLine)
- .data(targets)
- .attr('class', function (d) {
- return classChartLine(d) + classFocus(d);
- });
- mainLineEnter = mainLineUpdate.enter().append('g')
- .attr('class', classChartLine)
- .style('opacity', 0)
- .style("pointer-events", "none");
- // Lines for each data
- mainLineEnter.append('g')
- .attr("class", classLines);
- // Areas
- mainLineEnter.append('g')
- .attr('class', classAreas);
- // Circles for each data point on lines
- mainLineEnter.append('g')
- .attr("class", function (d) {
- return $$.generateClass(CLASS.selectedCircles, d.id);
- });
- mainLineEnter.append('g')
- .attr("class", classCircles)
- .style("cursor", function (d) {
- return config.data_selection_isselectable(d) ? "pointer" : null;
- });
- // Update date for selected circles
- targets.forEach(function (t) {
- $$.main.selectAll('.' + CLASS.selectedCircles + $$.getTargetSelectorSuffix(t.id)).selectAll('.' + CLASS.selectedCircle).each(function (d) {
- d.value = t.values[d.index].value;
- });
- });
- // MEMO: can not keep same color...
- //mainLineUpdate.exit().remove();
- };
- c3_chart_internal_fn.redrawLine = function (durationForExit) {
- var $$ = this;
- $$.mainLine = $$.main.selectAll('.' + CLASS.lines).selectAll('.' + CLASS.line)
- .data($$.lineData.bind($$));
- $$.mainLine.enter().append('path')
- .attr('class', $$.classLine.bind($$))
- .style("stroke", $$.color);
- $$.mainLine
- .style("opacity", $$.initialOpacity.bind($$))
- .style('shape-rendering', function (d) {
- return $$.isStepType(d) ? 'crispEdges' : '';
- })
- .attr('transform', null);
- $$.mainLine.exit().transition().duration(durationForExit)
- .style('opacity', 0)
- .remove();
- };
- c3_chart_internal_fn.addTransitionForLine = function (transitions, drawLine) {
- var $$ = this;
- transitions.push($$.mainLine.transition()
- .attr("d", drawLine)
- .style("stroke", $$.color)
- .style("opacity", 1));
- };
- c3_chart_internal_fn.generateDrawLine = function (lineIndices, isSub) {
- var $$ = this, config = $$.config,
- line = $$.d3.svg.line(),
- getPoints = $$.generateGetLinePoints(lineIndices, isSub),
- yScaleGetter = isSub ? $$.getSubYScale : $$.getYScale,
- xValue = function (d) {
- return (isSub ? $$.subxx : $$.xx).call($$, d);
- },
- yValue = function (d, i) {
- return config.data_groups.length > 0 ? getPoints(d, i)[0][1] : yScaleGetter.call($$, d.id)(d.value);
- };
-
- line = config.axis_rotated ? line.x(yValue).y(xValue) : line.x(xValue).y(yValue);
- if (!config.line_connectNull) {
- line = line.defined(function (d) {
- return d.value != null;
- });
- }
- return function (d) {
- var values = config.line_connectNull ? $$.filterRemoveNull(d.values) : d.values,
- x = isSub ? $$.x : $$.subX, y = yScaleGetter.call($$, d.id), x0 = 0, y0 = 0, path;
- if ($$.isLineType(d)) {
- if (config.data_regions[d.id]) {
- path = $$.lineWithRegions(values, x, y, config.data_regions[d.id]);
- } else {
- if ($$.isStepType(d)) {
- values = $$.convertValuesToStep(values);
- }
- path = line.interpolate($$.getInterpolate(d))(values);
- }
- } else {
- if (values[0]) {
- x0 = x(values[0].x);
- y0 = y(values[0].value);
- }
- path = config.axis_rotated ? "M " + y0 + " " + x0 : "M " + x0 + " " + y0;
- }
- return path ? path : "M 0 0";
- };
- };
- c3_chart_internal_fn.generateGetLinePoints = function (lineIndices, isSub) { // partial duplication of generateGetBarPoints
- var $$ = this, config = $$.config,
- lineTargetsNum = lineIndices.__max__ + 1,
- x = $$.getShapeX(0, lineTargetsNum, lineIndices, !!isSub),
- y = $$.getShapeY(!!isSub),
- lineOffset = $$.getShapeOffset($$.isLineType, lineIndices, !!isSub),
- yScale = isSub ? $$.getSubYScale : $$.getYScale;
- return function (d, i) {
- var y0 = yScale.call($$, d.id)(0),
- offset = lineOffset(d, i) || y0, // offset is for stacked area chart
- posX = x(d), posY = y(d);
- // fix posY not to overflow opposite quadrant
- if (config.axis_rotated) {
- if ((0 < d.value && posY < y0) || (d.value < 0 && y0 < posY)) {
- posY = y0;
- }
- }
- // 1 point that marks the line position
- return [
- [posX, posY - (y0 - offset)],
- [posX, posY - (y0 - offset)], // needed for compatibility
- [posX, posY - (y0 - offset)], // needed for compatibility
- [posX, posY - (y0 - offset)] // needed for compatibility
- ];
- };
- };
-
-
- c3_chart_internal_fn.lineWithRegions = function (d, x, y, _regions) {
- var $$ = this, config = $$.config,
- prev = -1, i, j,
- s = "M", sWithRegion,
- xp, yp, dx, dy, dd, diff, diffx2,
- xValue, yValue,
- regions = [];
-
- function isWithinRegions(x, regions) {
- var i;
- for (i = 0; i < regions.length; i++) {
- if (regions[i].start < x && x <= regions[i].end) {
- return true;
- }
- }
- return false;
- }
-
- // Check start/end of regions
- if (isDefined(_regions)) {
- for (i = 0; i < _regions.length; i++) {
- regions[i] = {};
- if (isUndefined(_regions[i].start)) {
- regions[i].start = d[0].x;
- } else {
- regions[i].start = $$.isTimeSeries() ? $$.parseDate(_regions[i].start) : _regions[i].start;
- }
- if (isUndefined(_regions[i].end)) {
- regions[i].end = d[d.length - 1].x;
- } else {
- regions[i].end = $$.isTimeSeries() ? $$.parseDate(_regions[i].end) : _regions[i].end;
- }
- }
- }
-
- // Set scales
- xValue = config.axis_rotated ? function (d) {
- return y(d.value);
- } : function (d) {
- return x(d.x);
- };
- yValue = config.axis_rotated ? function (d) {
- return x(d.x);
- } : function (d) {
- return y(d.value);
- };
-
- // Define svg generator function for region
- if ($$.isTimeSeries()) {
- sWithRegion = function (d0, d1, j, diff) {
- var x0 = d0.x.getTime(), x_diff = d1.x - d0.x,
- xv0 = new Date(x0 + x_diff * j),
- xv1 = new Date(x0 + x_diff * (j + diff));
- return "M" + x(xv0) + " " + y(yp(j)) + " " + x(xv1) + " " + y(yp(j + diff));
- };
- } else {
- sWithRegion = function (d0, d1, j, diff) {
- return "M" + x(xp(j), true) + " " + y(yp(j)) + " " + x(xp(j + diff), true) + " " + y(yp(j + diff));
- };
- }
-
- // Generate
- for (i = 0; i < d.length; i++) {
-
- // Draw as normal
- if (isUndefined(regions) || !isWithinRegions(d[i].x, regions)) {
- s += " " + xValue(d[i]) + " " + yValue(d[i]);
- }
- // Draw with region // TODO: Fix for horizotal charts
- else {
- xp = $$.getScale(d[i - 1].x, d[i].x, $$.isTimeSeries());
- yp = $$.getScale(d[i - 1].value, d[i].value);
-
- dx = x(d[i].x) - x(d[i - 1].x);
- dy = y(d[i].value) - y(d[i - 1].value);
- dd = Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2));
- diff = 2 / dd;
- diffx2 = diff * 2;
-
- for (j = diff; j <= 1; j += diffx2) {
- s += sWithRegion(d[i - 1], d[i], j, diff);
- }
- }
- prev = d[i].x;
- }
-
- return s;
- };
-
-
- c3_chart_internal_fn.redrawArea = function (durationForExit) {
- var $$ = this, d3 = $$.d3;
- $$.mainArea = $$.main.selectAll('.' + CLASS.areas).selectAll('.' + CLASS.area)
- .data($$.lineData.bind($$));
- $$.mainArea.enter().append('path')
- .attr("class", $$.classArea.bind($$))
- .style("fill", $$.color)
- .style("opacity", function () {
- $$.orgAreaOpacity = +d3.select(this).style('opacity');
- return 0;
- });
- $$.mainArea
- .style("opacity", $$.orgAreaOpacity);
- $$.mainArea.exit().transition().duration(durationForExit)
- .style('opacity', 0)
- .remove();
- };
- c3_chart_internal_fn.addTransitionForArea = function (transitions, drawArea) {
- var $$ = this;
- transitions.push($$.mainArea.transition()
- .attr("d", drawArea)
- .style("fill", $$.color)
- .style("opacity", $$.orgAreaOpacity));
- };
- c3_chart_internal_fn.generateDrawArea = function (areaIndices, isSub) {
- var $$ = this, config = $$.config, area = $$.d3.svg.area(),
- getPoints = $$.generateGetAreaPoints(areaIndices, isSub),
- yScaleGetter = isSub ? $$.getSubYScale : $$.getYScale,
- xValue = function (d) {
- return (isSub ? $$.subxx : $$.xx).call($$, d);
- },
- value0 = function (d, i) {
- return config.data_groups.length > 0 ? getPoints(d, i)[0][1] : yScaleGetter.call($$, d.id)($$.getAreaBaseValue(d.id));
- },
- value1 = function (d, i) {
- return config.data_groups.length > 0 ? getPoints(d, i)[1][1] : yScaleGetter.call($$, d.id)(d.value);
- };
-
- area = config.axis_rotated ? area.x0(value0).x1(value1).y(xValue) : area.x(xValue).y0(value0).y1(value1);
- if (!config.line_connectNull) {
- area = area.defined(function (d) {
- return d.value !== null;
- });
- }
-
- return function (d) {
- var values = config.line_connectNull ? $$.filterRemoveNull(d.values) : d.values,
- x0 = 0, y0 = 0, path;
- if ($$.isAreaType(d)) {
- if ($$.isStepType(d)) {
- values = $$.convertValuesToStep(values);
- }
- path = area.interpolate($$.getInterpolate(d))(values);
- } else {
- if (values[0]) {
- x0 = $$.x(values[0].x);
- y0 = $$.getYScale(d.id)(values[0].value);
- }
- path = config.axis_rotated ? "M " + y0 + " " + x0 : "M " + x0 + " " + y0;
- }
- return path ? path : "M 0 0";
- };
- };
- c3_chart_internal_fn.getAreaBaseValue = function () {
- return 0;
- };
- c3_chart_internal_fn.generateGetAreaPoints = function (areaIndices, isSub) { // partial duplication of generateGetBarPoints
- var $$ = this, config = $$.config,
- areaTargetsNum = areaIndices.__max__ + 1,
- x = $$.getShapeX(0, areaTargetsNum, areaIndices, !!isSub),
- y = $$.getShapeY(!!isSub),
- areaOffset = $$.getShapeOffset($$.isAreaType, areaIndices, !!isSub),
- yScale = isSub ? $$.getSubYScale : $$.getYScale;
- return function (d, i) {
- var y0 = yScale.call($$, d.id)(0),
- offset = areaOffset(d, i) || y0, // offset is for stacked area chart
- posX = x(d), posY = y(d);
- // fix posY not to overflow opposite quadrant
- if (config.axis_rotated) {
- if ((0 < d.value && posY < y0) || (d.value < 0 && y0 < posY)) {
- posY = y0;
- }
- }
- // 1 point that marks the area position
- return [
- [posX, offset],
- [posX, posY - (y0 - offset)],
- [posX, posY - (y0 - offset)], // needed for compatibility
- [posX, offset] // needed for compatibility
- ];
- };
- };
-
-
- c3_chart_internal_fn.redrawCircle = function () {
- var $$ = this;
- $$.mainCircle = $$.main.selectAll('.' + CLASS.circles).selectAll('.' + CLASS.circle)
- .data($$.lineOrScatterData.bind($$));
- $$.mainCircle.enter().append("circle")
- .attr("class", $$.classCircle.bind($$))
- .attr("r", $$.pointR.bind($$))
- .style("fill", $$.color);
- $$.mainCircle
- .style("opacity", $$.initialOpacityForCircle.bind($$));
- $$.mainCircle.exit().remove();
- };
- c3_chart_internal_fn.addTransitionForCircle = function (transitions, cx, cy) {
- var $$ = this;
- transitions.push($$.mainCircle.transition()
- .style('opacity', $$.opacityForCircle.bind($$))
- .style("fill", $$.color)
- .attr("cx", cx)
- .attr("cy", cy));
- transitions.push($$.main.selectAll('.' + CLASS.selectedCircle).transition()
- .attr("cx", cx)
- .attr("cy", cy));
- };
- c3_chart_internal_fn.circleX = function (d) {
- return d.x || d.x === 0 ? this.x(d.x) : null;
- };
- c3_chart_internal_fn.updateCircleY = function () {
- var $$ = this, lineIndices, getPoints;
- if ($$.config.data_groups.length > 0) {
- lineIndices = $$.getShapeIndices($$.isLineType),
- getPoints = $$.generateGetLinePoints(lineIndices);
- $$.circleY = function (d, i) {
- return getPoints(d, i)[0][1];
- };
- } else {
- $$.circleY = function (d) {
- return $$.getYScale(d.id)(d.value);
- };
- }
- };
- c3_chart_internal_fn.getCircles = function (i, id) {
- var $$ = this;
- return (id ? $$.main.selectAll('.' + CLASS.circles + $$.getTargetSelectorSuffix(id)) : $$.main).selectAll('.' + CLASS.circle + (isValue(i) ? '-' + i : ''));
- };
- c3_chart_internal_fn.expandCircles = function (i, id, reset) {
- var $$ = this,
- r = $$.pointExpandedR.bind($$);
- if (reset) {
- $$.unexpandCircles();
- }
- $$.getCircles(i, id)
- .classed(CLASS.EXPANDED, true)
- .attr('r', r);
- };
- c3_chart_internal_fn.unexpandCircles = function (i) {
- var $$ = this,
- r = $$.pointR.bind($$);
- $$.getCircles(i)
- .filter(function () {
- return $$.d3.select(this).classed(CLASS.EXPANDED);
- })
- .classed(CLASS.EXPANDED, false)
- .attr('r', r);
- };
- c3_chart_internal_fn.pointR = function (d) {
- var $$ = this, config = $$.config;
- return $$.isStepType(d) ? 0 : (isFunction(config.point_r) ? config.point_r(d) : config.point_r);
- };
- c3_chart_internal_fn.pointExpandedR = function (d) {
- var $$ = this, config = $$.config;
- return config.point_focus_expand_enabled ? (config.point_focus_expand_r ? config.point_focus_expand_r : $$.pointR(d) * 1.75) : $$.pointR(d);
- };
- c3_chart_internal_fn.pointSelectR = function (d) {
- var $$ = this, config = $$.config;
- return config.point_select_r ? config.point_select_r : $$.pointR(d) * 4;
- };
- c3_chart_internal_fn.isWithinCircle = function (that, r) {
- var d3 = this.d3,
- mouse = d3.mouse(that), d3_this = d3.select(that),
- cx = +d3_this.attr("cx"), cy = +d3_this.attr("cy");
- return Math.sqrt(Math.pow(cx - mouse[0], 2) + Math.pow(cy - mouse[1], 2)) < r;
- };
- c3_chart_internal_fn.isWithinStep = function (that, y) {
- return Math.abs(y - this.d3.mouse(that)[1]) < 30;
- };
-
- c3_chart_internal_fn.initBar = function () {
- var $$ = this;
- $$.main.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.chartBars);
- };
- c3_chart_internal_fn.updateTargetsForBar = function (targets) {
- var $$ = this, config = $$.config,
- mainBarUpdate, mainBarEnter,
- classChartBar = $$.classChartBar.bind($$),
- classBars = $$.classBars.bind($$),
- classFocus = $$.classFocus.bind($$);
- mainBarUpdate = $$.main.select('.' + CLASS.chartBars).selectAll('.' + CLASS.chartBar)
- .data(targets)
- .attr('class', function (d) {
- return classChartBar(d) + classFocus(d);
- });
- mainBarEnter = mainBarUpdate.enter().append('g')
- .attr('class', classChartBar)
- .style('opacity', 0)
- .style("pointer-events", "none");
- // Bars for each data
- mainBarEnter.append('g')
- .attr("class", classBars)
- .style("cursor", function (d) {
- return config.data_selection_isselectable(d) ? "pointer" : null;
- });
-
- };
- c3_chart_internal_fn.redrawBar = function (durationForExit) {
- var $$ = this,
- barData = $$.barData.bind($$),
- classBar = $$.classBar.bind($$),
- initialOpacity = $$.initialOpacity.bind($$),
- color = function (d) {
- return $$.color(d.id);
- };
- $$.mainBar = $$.main.selectAll('.' + CLASS.bars).selectAll('.' + CLASS.bar)
- .data(barData);
- $$.mainBar.enter().append('path')
- .attr("class", classBar)
- .style("stroke", color)
- .style("fill", color);
- $$.mainBar
- .style("opacity", initialOpacity);
- $$.mainBar.exit().transition().duration(durationForExit)
- .style('opacity', 0)
- .remove();
- };
- c3_chart_internal_fn.addTransitionForBar = function (transitions, drawBar) {
- var $$ = this;
- transitions.push($$.mainBar.transition()
- .attr('d', drawBar)
- .style("fill", $$.color)
- .style("opacity", 1));
- };
- c3_chart_internal_fn.getBarW = function (axis, barTargetsNum) {
- var $$ = this, config = $$.config,
- w = typeof config.bar_width === 'number' ? config.bar_width : barTargetsNum ? (axis.tickOffset() * 2 * config.bar_width_ratio) / barTargetsNum : 0;
- return config.bar_width_max && w > config.bar_width_max ? config.bar_width_max : w;
- };
- c3_chart_internal_fn.getBars = function (i, id) {
- var $$ = this;
- return (id ? $$.main.selectAll('.' + CLASS.bars + $$.getTargetSelectorSuffix(id)) : $$.main).selectAll('.' + CLASS.bar + (isValue(i) ? '-' + i : ''));
- };
- c3_chart_internal_fn.expandBars = function (i, id, reset) {
- var $$ = this;
- if (reset) {
- $$.unexpandBars();
- }
- $$.getBars(i, id).classed(CLASS.EXPANDED, true);
- };
- c3_chart_internal_fn.unexpandBars = function (i) {
- var $$ = this;
- $$.getBars(i).classed(CLASS.EXPANDED, false);
- };
- c3_chart_internal_fn.generateDrawBar = function (barIndices, isSub) {
- var $$ = this, config = $$.config,
- getPoints = $$.generateGetBarPoints(barIndices, isSub);
- return function (d, i) {
- // 4 points that make a bar
- var points = getPoints(d, i);
-
- // switch points if axis is rotated, not applicable for sub chart
- var indexX = config.axis_rotated ? 1 : 0;
- var indexY = config.axis_rotated ? 0 : 1;
-
- var path = 'M ' + points[0][indexX] + ',' + points[0][indexY] + ' ' +
- 'L' + points[1][indexX] + ',' + points[1][indexY] + ' ' +
- 'L' + points[2][indexX] + ',' + points[2][indexY] + ' ' +
- 'L' + points[3][indexX] + ',' + points[3][indexY] + ' ' +
- 'z';
-
- return path;
- };
- };
- c3_chart_internal_fn.generateGetBarPoints = function (barIndices, isSub) {
- var $$ = this,
- axis = isSub ? $$.subXAxis : $$.xAxis,
- barTargetsNum = barIndices.__max__ + 1,
- barW = $$.getBarW(axis, barTargetsNum),
- barX = $$.getShapeX(barW, barTargetsNum, barIndices, !!isSub),
- barY = $$.getShapeY(!!isSub),
- barOffset = $$.getShapeOffset($$.isBarType, barIndices, !!isSub),
- yScale = isSub ? $$.getSubYScale : $$.getYScale;
- return function (d, i) {
- var y0 = yScale.call($$, d.id)(0),
- offset = barOffset(d, i) || y0, // offset is for stacked bar chart
- posX = barX(d), posY = barY(d);
- // fix posY not to overflow opposite quadrant
- if ($$.config.axis_rotated) {
- if ((0 < d.value && posY < y0) || (d.value < 0 && y0 < posY)) {
- posY = y0;
- }
- }
- // 4 points that make a bar
- return [
- [posX, offset],
- [posX, posY - (y0 - offset)],
- [posX + barW, posY - (y0 - offset)],
- [posX + barW, offset]
- ];
- };
- };
- c3_chart_internal_fn.isWithinBar = function (that) {
- var mouse = this.d3.mouse(that), box = that.getBoundingClientRect(),
- seg0 = that.pathSegList.getItem(0), seg1 = that.pathSegList.getItem(1),
- x = Math.min(seg0.x, seg1.x), y = Math.min(seg0.y, seg1.y),
- w = box.width, h = box.height, offset = 2,
- sx = x - offset, ex = x + w + offset, sy = y + h + offset, ey = y - offset;
- return sx < mouse[0] && mouse[0] < ex && ey < mouse[1] && mouse[1] < sy;
- };
-
- c3_chart_internal_fn.initText = function () {
- var $$ = this;
- $$.main.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.chartTexts);
- $$.mainText = $$.d3.selectAll([]);
- };
- c3_chart_internal_fn.updateTargetsForText = function (targets) {
- var $$ = this, mainTextUpdate, mainTextEnter,
- classChartText = $$.classChartText.bind($$),
- classTexts = $$.classTexts.bind($$),
- classFocus = $$.classFocus.bind($$);
- mainTextUpdate = $$.main.select('.' + CLASS.chartTexts).selectAll('.' + CLASS.chartText)
- .data(targets)
- .attr('class', function (d) {
- return classChartText(d) + classFocus(d);
- });
- mainTextEnter = mainTextUpdate.enter().append('g')
- .attr('class', classChartText)
- .style('opacity', 0)
- .style("pointer-events", "none");
- mainTextEnter.append('g')
- .attr('class', classTexts);
- };
- c3_chart_internal_fn.redrawText = function (durationForExit) {
- var $$ = this, config = $$.config,
- barOrLineData = $$.barOrLineData.bind($$),
- classText = $$.classText.bind($$);
- $$.mainText = $$.main.selectAll('.' + CLASS.texts).selectAll('.' + CLASS.text)
- .data(barOrLineData);
- $$.mainText.enter().append('text')
- .attr("class", classText)
- .attr('text-anchor', function (d) {
- return config.axis_rotated ? (d.value < 0 ? 'end' : 'start') : 'middle';
- })
- .style("stroke", 'none')
- .style("fill", function (d) {
- return $$.color(d);
- })
- .style("fill-opacity", 0);
- $$.mainText
- .text(function (d, i, j) {
- return $$.formatByAxisId($$.getAxisId(d.id))(d.value, d.id, i, j);
- });
- $$.mainText.exit()
- .transition().duration(durationForExit)
- .style('fill-opacity', 0)
- .remove();
- };
- c3_chart_internal_fn.addTransitionForText = function (transitions, xForText, yForText, forFlow) {
- var $$ = this,
- opacityForText = forFlow ? 0 : $$.opacityForText.bind($$);
- transitions.push($$.mainText.transition()
- .attr('x', xForText)
- .attr('y', yForText)
- .style("fill", $$.color)
- .style("fill-opacity", opacityForText));
- };
- c3_chart_internal_fn.getTextRect = function (text, cls) {
- var body = this.d3.select('body').classed('c3', true),
- svg = body.append("svg").style('visibility', 'hidden'), rect;
- svg.selectAll('.dummy')
- .data([text])
- .enter().append('text')
- .classed(cls ? cls : "", true)
- .text(text)
- .each(function () {
- rect = this.getBoundingClientRect();
- });
- svg.remove();
- body.classed('c3', false);
- return rect;
- };
- c3_chart_internal_fn.generateXYForText = function (areaIndices, barIndices, lineIndices, forX) {
- var $$ = this,
- getAreaPoints = $$.generateGetAreaPoints(barIndices, false),
- getBarPoints = $$.generateGetBarPoints(barIndices, false),
- getLinePoints = $$.generateGetLinePoints(lineIndices, false),
- getter = forX ? $$.getXForText : $$.getYForText;
- return function (d, i) {
- var getPoints = $$.isAreaType(d) ? getAreaPoints : $$.isBarType(d) ? getBarPoints : getLinePoints;
- return getter.call($$, getPoints(d, i), d, this);
- };
- };
- c3_chart_internal_fn.getXForText = function (points, d, textElement) {
- var $$ = this,
- box = textElement.getBoundingClientRect(), xPos, padding;
- if ($$.config.axis_rotated) {
- padding = $$.isBarType(d) ? 4 : 6;
- xPos = points[2][1] + padding * (d.value < 0 ? -1 : 1);
- } else {
- xPos = $$.hasType('bar') ? (points[2][0] + points[0][0]) / 2 : points[0][0];
- }
- // show labels regardless of the domain if value is null
- if (d.value === null) {
- if (xPos > $$.width) {
- xPos = $$.width - box.width;
- } else if (xPos < 0) {
- xPos = 4;
- }
- }
- return xPos;
- };
- c3_chart_internal_fn.getYForText = function (points, d, textElement) {
- var $$ = this,
- box = textElement.getBoundingClientRect(), yPos;
- if ($$.config.axis_rotated) {
- yPos = (points[0][0] + points[2][0] + box.height * 0.6) / 2;
- } else {
- yPos = points[2][1] + (d.value < 0 ? box.height : $$.isBarType(d) ? -3 : -6);
- }
- // show labels regardless of the domain if value is null
- if (d.value === null && !$$.config.axis_rotated) {
- if (yPos < box.height) {
- yPos = box.height;
- } else if (yPos > this.height) {
- yPos = this.height - 4;
- }
- }
- return yPos;
- };
-
- c3_chart_internal_fn.setTargetType = function (targetIds, type) {
- var $$ = this, config = $$.config;
- $$.mapToTargetIds(targetIds).forEach(function (id) {
- $$.withoutFadeIn[id] = (type === config.data_types[id]);
- config.data_types[id] = type;
- });
- if (!targetIds) {
- config.data_type = type;
- }
- };
- c3_chart_internal_fn.hasType = function (type, targets) {
- var $$ = this, types = $$.config.data_types, has = false;
- targets = targets || $$.data.targets;
- if (targets && targets.length) {
- targets.forEach(function (target) {
- var t = types[target.id];
- if ((t && t.indexOf(type) >= 0) || (!t && type === 'line')) {
- has = true;
- }
- });
- } else if (Object.keys(types).length) {
- Object.keys(types).forEach(function (id) {
- if (types[id] === type) {
- has = true;
- }
- });
- } else {
- has = $$.config.data_type === type;
- }
- return has;
- };
- c3_chart_internal_fn.hasArcType = function (targets) {
- return this.hasType('pie', targets) || this.hasType('donut', targets) || this.hasType('gauge', targets);
- };
- c3_chart_internal_fn.isLineType = function (d) {
- var config = this.config, id = isString(d) ? d : d.id;
- return !config.data_types[id] || ['line', 'spline', 'area', 'area-spline', 'step', 'area-step'].indexOf(config.data_types[id]) >= 0;
- };
- c3_chart_internal_fn.isStepType = function (d) {
- var id = isString(d) ? d : d.id;
- return ['step', 'area-step'].indexOf(this.config.data_types[id]) >= 0;
- };
- c3_chart_internal_fn.isSplineType = function (d) {
- var id = isString(d) ? d : d.id;
- return ['spline', 'area-spline'].indexOf(this.config.data_types[id]) >= 0;
- };
- c3_chart_internal_fn.isAreaType = function (d) {
- var id = isString(d) ? d : d.id;
- return ['area', 'area-spline', 'area-step'].indexOf(this.config.data_types[id]) >= 0;
- };
- c3_chart_internal_fn.isBarType = function (d) {
- var id = isString(d) ? d : d.id;
- return this.config.data_types[id] === 'bar';
- };
- c3_chart_internal_fn.isScatterType = function (d) {
- var id = isString(d) ? d : d.id;
- return this.config.data_types[id] === 'scatter';
- };
- c3_chart_internal_fn.isPieType = function (d) {
- var id = isString(d) ? d : d.id;
- return this.config.data_types[id] === 'pie';
- };
- c3_chart_internal_fn.isGaugeType = function (d) {
- var id = isString(d) ? d : d.id;
- return this.config.data_types[id] === 'gauge';
- };
- c3_chart_internal_fn.isDonutType = function (d) {
- var id = isString(d) ? d : d.id;
- return this.config.data_types[id] === 'donut';
- };
- c3_chart_internal_fn.isArcType = function (d) {
- return this.isPieType(d) || this.isDonutType(d) || this.isGaugeType(d);
- };
- c3_chart_internal_fn.lineData = function (d) {
- return this.isLineType(d) ? [d] : [];
- };
- c3_chart_internal_fn.arcData = function (d) {
- return this.isArcType(d.data) ? [d] : [];
- };
- /* not used
- function scatterData(d) {
- return isScatterType(d) ? d.values : [];
- }
- */
- c3_chart_internal_fn.barData = function (d) {
- return this.isBarType(d) ? d.values : [];
- };
- c3_chart_internal_fn.lineOrScatterData = function (d) {
- return this.isLineType(d) || this.isScatterType(d) ? d.values : [];
- };
- c3_chart_internal_fn.barOrLineData = function (d) {
- return this.isBarType(d) || this.isLineType(d) ? d.values : [];
- };
-
- c3_chart_internal_fn.initGrid = function () {
- var $$ = this, config = $$.config, d3 = $$.d3;
- $$.grid = $$.main.append('g')
- .attr("clip-path", $$.clipPathForGrid)
- .attr('class', CLASS.grid);
- if (config.grid_x_show) {
- $$.grid.append("g").attr("class", CLASS.xgrids);
- }
- if (config.grid_y_show) {
- $$.grid.append('g').attr('class', CLASS.ygrids);
- }
- if (config.grid_focus_show) {
- $$.grid.append('g')
- .attr("class", CLASS.xgridFocus)
- .append('line')
- .attr('class', CLASS.xgridFocus);
- }
- $$.xgrid = d3.selectAll([]);
- if (!config.grid_lines_front) {
- $$.initGridLines();
- }
- };
- c3_chart_internal_fn.initGridLines = function () {
- var $$ = this, d3 = $$.d3;
- $$.gridLines = $$.main.append('g')
- .attr("clip-path", $$.clipPathForGrid)
- .attr('class', CLASS.grid + ' ' + CLASS.gridLines);
- $$.gridLines.append('g').attr("class", CLASS.xgridLines);
- $$.gridLines.append('g').attr('class', CLASS.ygridLines);
- $$.xgridLines = d3.selectAll([]);
- };
- c3_chart_internal_fn.updateXGrid = function (withoutUpdate) {
- var $$ = this, config = $$.config, d3 = $$.d3,
- xgridData = $$.generateGridData(config.grid_x_type, $$.x),
- tickOffset = $$.isCategorized() ? $$.xAxis.tickOffset() : 0;
-
- $$.xgridAttr = config.axis_rotated ? {
- 'x1': 0,
- 'x2': $$.width,
- 'y1': function (d) {
- return $$.x(d) - tickOffset;
- },
- 'y2': function (d) {
- return $$.x(d) - tickOffset;
- }
- } : {
- 'x1': function (d) {
- return $$.x(d) + tickOffset;
- },
- 'x2': function (d) {
- return $$.x(d) + tickOffset;
- },
- 'y1': 0,
- 'y2': $$.height
- };
-
- $$.xgrid = $$.main.select('.' + CLASS.xgrids).selectAll('.' + CLASS.xgrid)
- .data(xgridData);
- $$.xgrid.enter().append('line').attr("class", CLASS.xgrid);
- if (!withoutUpdate) {
- $$.xgrid.attr($$.xgridAttr)
- .style("opacity", function () {
- return +d3.select(this).attr(config.axis_rotated ? 'y1' : 'x1') === (config.axis_rotated ? $$.height : 0) ? 0 : 1;
- });
- }
- $$.xgrid.exit().remove();
- };
-
- c3_chart_internal_fn.updateYGrid = function () {
- var $$ = this, config = $$.config,
- gridValues = $$.yAxis.tickValues() || $$.y.ticks(config.grid_y_ticks);
- $$.ygrid = $$.main.select('.' + CLASS.ygrids).selectAll('.' + CLASS.ygrid)
- .data(gridValues);
- $$.ygrid.enter().append('line')
- .attr('class', CLASS.ygrid);
- $$.ygrid.attr("x1", config.axis_rotated ? $$.y : 0)
- .attr("x2", config.axis_rotated ? $$.y : $$.width)
- .attr("y1", config.axis_rotated ? 0 : $$.y)
- .attr("y2", config.axis_rotated ? $$.height : $$.y);
- $$.ygrid.exit().remove();
- $$.smoothLines($$.ygrid, 'grid');
- };
-
-
- c3_chart_internal_fn.redrawGrid = function (duration) {
- var $$ = this, main = $$.main, config = $$.config,
- xgridLine, ygridLine, yv;
-
- // hide if arc type
- $$.grid.style('visibility', $$.hasArcType() ? 'hidden' : 'visible');
-
- main.select('line.' + CLASS.xgridFocus).style("visibility", "hidden");
- if (config.grid_x_show) {
- $$.updateXGrid();
- }
- $$.xgridLines = main.select('.' + CLASS.xgridLines).selectAll('.' + CLASS.xgridLine)
- .data(config.grid_x_lines);
- // enter
- xgridLine = $$.xgridLines.enter().append('g')
- .attr("class", function (d) {
- return CLASS.xgridLine + (d['class'] ? ' ' + d['class'] : '');
- });
- xgridLine.append('line')
- .style("opacity", 0);
- xgridLine.append('text')
- .attr("text-anchor", "end")
- .attr("transform", config.axis_rotated ? "" : "rotate(-90)")
- .attr('dx', config.axis_rotated ? 0 : -$$.margin.top)
- .attr('dy', -5)
- .style("opacity", 0);
- // udpate
- // done in d3.transition() of the end of this function
- // exit
- $$.xgridLines.exit().transition().duration(duration)
- .style("opacity", 0)
- .remove();
-
- // Y-Grid
- if (config.grid_y_show) {
- $$.updateYGrid();
- }
- $$.ygridLines = main.select('.' + CLASS.ygridLines).selectAll('.' + CLASS.ygridLine)
- .data(config.grid_y_lines);
- // enter
- ygridLine = $$.ygridLines.enter().append('g')
- .attr("class", function (d) {
- return CLASS.ygridLine + (d['class'] ? ' ' + d['class'] : '');
- });
- ygridLine.append('line')
- .style("opacity", 0);
- ygridLine.append('text')
- .attr("text-anchor", "end")
- .attr("transform", config.axis_rotated ? "rotate(-90)" : "")
- .attr('dx', config.axis_rotated ? 0 : -$$.margin.top)
- .attr('dy', -5)
- .style("opacity", 0);
- // update
- yv = $$.yv.bind($$);
- $$.ygridLines.select('line')
- .transition().duration(duration)
- .attr("x1", config.axis_rotated ? yv : 0)
- .attr("x2", config.axis_rotated ? yv : $$.width)
- .attr("y1", config.axis_rotated ? 0 : yv)
- .attr("y2", config.axis_rotated ? $$.height : yv)
- .style("opacity", 1);
- $$.ygridLines.select('text')
- .transition().duration(duration)
- .attr("x", config.axis_rotated ? 0 : $$.width)
- .attr("y", yv)
- .text(function (d) {
- return d.text;
- })
- .style("opacity", 1);
- // exit
- $$.ygridLines.exit().transition().duration(duration)
- .style("opacity", 0)
- .remove();
- };
- c3_chart_internal_fn.addTransitionForGrid = function (transitions) {
- var $$ = this, config = $$.config, xv = $$.xv.bind($$);
- transitions.push($$.xgridLines.select('line').transition()
- .attr("x1", config.axis_rotated ? 0 : xv)
- .attr("x2", config.axis_rotated ? $$.width : xv)
- .attr("y1", config.axis_rotated ? xv : $$.margin.top)
- .attr("y2", config.axis_rotated ? xv : $$.height)
- .style("opacity", 1));
- transitions.push($$.xgridLines.select('text').transition()
- .attr("x", config.axis_rotated ? $$.width : 0)
- .attr("y", xv)
- .text(function (d) {
- return d.text;
- })
- .style("opacity", 1));
- };
- c3_chart_internal_fn.showXGridFocus = function (selectedData) {
- var $$ = this, config = $$.config,
- dataToShow = selectedData.filter(function (d) {
- return d && isValue(d.value);
- }),
- focusEl = $$.main.selectAll('line.' + CLASS.xgridFocus),
- xx = $$.xx.bind($$);
- if (!config.tooltip_show) {
- return;
- }
- // Hide when scatter plot exists
- if ($$.hasType('scatter') || $$.hasArcType()) {
- return;
- }
- focusEl
- .style("visibility", "visible")
- .data([dataToShow[0]])
- .attr(config.axis_rotated ? 'y1' : 'x1', xx)
- .attr(config.axis_rotated ? 'y2' : 'x2', xx);
- $$.smoothLines(focusEl, 'grid');
- };
- c3_chart_internal_fn.hideXGridFocus = function () {
- this.main.select('line.' + CLASS.xgridFocus).style("visibility", "hidden");
- };
- c3_chart_internal_fn.updateXgridFocus = function () {
- var $$ = this, config = $$.config;
- $$.main.select('line.' + CLASS.xgridFocus)
- .attr("x1", config.axis_rotated ? 0 : -10)
- .attr("x2", config.axis_rotated ? $$.width : -10)
- .attr("y1", config.axis_rotated ? -10 : 0)
- .attr("y2", config.axis_rotated ? -10 : $$.height);
- };
- c3_chart_internal_fn.generateGridData = function (type, scale) {
- var $$ = this,
- gridData = [], xDomain, firstYear, lastYear, i,
- tickNum = $$.main.select("." + CLASS.axisX).selectAll('.tick').size();
- if (type === 'year') {
- xDomain = $$.getXDomain();
- firstYear = xDomain[0].getFullYear();
- lastYear = xDomain[1].getFullYear();
- for (i = firstYear; i <= lastYear; i++) {
- gridData.push(new Date(i + '-01-01 00:00:00'));
- }
- } else {
- gridData = scale.ticks(10);
- if (gridData.length > tickNum) { // use only int
- gridData = gridData.filter(function (d) {
- return ("" + d).indexOf('.') < 0;
- });
- }
- }
- return gridData;
- };
- c3_chart_internal_fn.getGridFilterToRemove = function (params) {
- return params ? function (line) {
- var found = false;
- [].concat(params).forEach(function (param) {
- if ((('value' in param && line.value === param.value) || ('class' in param && line['class'] === param['class']))) {
- found = true;
- }
- });
- return found;
- } : function () {
- return true;
- };
- };
- c3_chart_internal_fn.removeGridLines = function (params, forX) {
- var $$ = this, config = $$.config,
- toRemove = $$.getGridFilterToRemove(params),
- toShow = function (line) {
- return !toRemove(line);
- },
- classLines = forX ? CLASS.xgridLines : CLASS.ygridLines,
- classLine = forX ? CLASS.xgridLine : CLASS.ygridLine;
- $$.main.select('.' + classLines).selectAll('.' + classLine).filter(toRemove)
- .transition().duration(config.transition_duration)
- .style('opacity', 0).remove();
- if (forX) {
- config.grid_x_lines = config.grid_x_lines.filter(toShow);
- } else {
- config.grid_y_lines = config.grid_y_lines.filter(toShow);
- }
- };
-
- c3_chart_internal_fn.initTooltip = function () {
- var $$ = this, config = $$.config, i;
- $$.tooltip = $$.selectChart
- .style("position", "relative")
- .append("div")
- .attr('class', CLASS.tooltipContainer)
- .style("position", "absolute")
- .style("pointer-events", "none")
- .style("display", "none");
- // Show tooltip if needed
- if (config.tooltip_init_show) {
- if ($$.isTimeSeries() && isString(config.tooltip_init_x)) {
- config.tooltip_init_x = $$.parseDate(config.tooltip_init_x);
- for (i = 0; i < $$.data.targets[0].values.length; i++) {
- if (($$.data.targets[0].values[i].x - config.tooltip_init_x) === 0) {
- break;
- }
- }
- config.tooltip_init_x = i;
- }
- $$.tooltip.html(config.tooltip_contents.call($$, $$.data.targets.map(function (d) {
- return $$.addName(d.values[config.tooltip_init_x]);
- }), $$.getXAxisTickFormat(), $$.getYFormat($$.hasArcType()), $$.color));
- $$.tooltip.style("top", config.tooltip_init_position.top)
- .style("left", config.tooltip_init_position.left)
- .style("display", "block");
- }
- };
- c3_chart_internal_fn.getTooltipContent = function (d, defaultTitleFormat, defaultValueFormat, color) {
- var $$ = this, config = $$.config,
- titleFormat = config.tooltip_format_title || defaultTitleFormat,
- nameFormat = config.tooltip_format_name || function (name) {
- return name;
- },
- valueFormat = config.tooltip_format_value || defaultValueFormat,
- text, i, title, value, name, bgcolor;
- for (i = 0; i < d.length; i++) {
- if (!(d[i] && (d[i].value || d[i].value === 0))) {
- continue;
- }
-
- if (!text) {
- title = titleFormat ? titleFormat(d[i].x) : d[i].x;
- text = "<table class='" + CLASS.tooltip + "'>" + (title || title === 0 ? "<tr><th colspan='2'>" + title + "</th></tr>" : "");
- }
-
- name = nameFormat(d[i].name, d[i].ratio, d[i].id, d[i].index);
- value = valueFormat(d[i].value, d[i].ratio, d[i].id, d[i].index);
- bgcolor = $$.levelColor ? $$.levelColor(d[i].value) : color(d[i].id);
-
- text += "<tr class='" + CLASS.tooltipName + "-" + d[i].id + "'>";
- text += "<td class='name'><span style='background-color:" + bgcolor + "'></span>" + name + "</td>";
- text += "<td class='value'>" + value + "</td>";
- text += "</tr>";
- }
- return text + "</table>";
- };
- c3_chart_internal_fn.tooltipPosition = function (dataToShow, tWidth, tHeight, element) {
- var $$ = this, config = $$.config, d3 = $$.d3;
- var svgLeft, tooltipLeft, tooltipRight, tooltipTop, chartRight;
- var forArc = $$.hasArcType(),
- mouse = d3.mouse(element);
- // Determin tooltip position
- if (forArc) {
- tooltipLeft = (($$.width - ($$.isLegendRight ? $$.getLegendWidth() : 0)) / 2) + mouse[0];
- tooltipTop = ($$.height / 2) + mouse[1] + 20;
- } else {
- svgLeft = $$.getSvgLeft(true);
- if (config.axis_rotated) {
- tooltipLeft = svgLeft + mouse[0] + 100;
- tooltipRight = tooltipLeft + tWidth;
- chartRight = $$.currentWidth - $$.getCurrentPaddingRight();
- tooltipTop = $$.x(dataToShow[0].x) + 20;
- } else {
- tooltipLeft = svgLeft + $$.getCurrentPaddingLeft(true) + $$.x(dataToShow[0].x) + 20;
- tooltipRight = tooltipLeft + tWidth;
- chartRight = svgLeft + $$.currentWidth - $$.getCurrentPaddingRight();
- tooltipTop = mouse[1] + 15;
- }
-
- if (tooltipRight > chartRight) {
- tooltipLeft -= tooltipRight - chartRight;
- }
- if (tooltipTop + tHeight > $$.currentHeight) {
- tooltipTop -= tHeight + 30;
- }
- }
- if (tooltipTop < 0) {
- tooltipTop = 0;
- }
- return {top: tooltipTop, left: tooltipLeft};
- };
- c3_chart_internal_fn.showTooltip = function (selectedData, element) {
- var $$ = this, config = $$.config;
- var tWidth, tHeight, position;
- var forArc = $$.hasArcType(),
- dataToShow = selectedData.filter(function (d) {
- return d && isValue(d.value);
- }),
- positionFunction = config.tooltip_position || c3_chart_internal_fn.tooltipPosition;
- if (dataToShow.length === 0 || !config.tooltip_show) {
- return;
- }
- $$.tooltip.html(config.tooltip_contents.call($$, selectedData, $$.getXAxisTickFormat(), $$.getYFormat(forArc), $$.color)).style("display", "block");
-
- // Get tooltip dimensions
- tWidth = $$.tooltip.property('offsetWidth');
- tHeight = $$.tooltip.property('offsetHeight');
-
- position = positionFunction.call(this, dataToShow, tWidth, tHeight, element);
- // Set tooltip
- $$.tooltip
- .style("top", position.top + "px")
- .style("left", position.left + 'px');
- };
- c3_chart_internal_fn.hideTooltip = function () {
- this.tooltip.style("display", "none");
- };
-
- c3_chart_internal_fn.initLegend = function () {
- var $$ = this;
- $$.legendHasRendered = false;
- $$.legend = $$.svg.append("g").attr("transform", $$.getTranslate('legend'));
- if (!$$.config.legend_show) {
- $$.legend.style('visibility', 'hidden');
- $$.hiddenLegendIds = $$.mapToIds($$.data.targets);
- return;
- }
- // MEMO: call here to update legend box and tranlate for all
- // MEMO: translate will be upated by this, so transform not needed in updateLegend()
- $$.updateLegendWithDefaults();
- };
- c3_chart_internal_fn.updateLegendWithDefaults = function () {
- var $$ = this;
- $$.updateLegend($$.mapToIds($$.data.targets), {
- withTransform: false,
- withTransitionForTransform: false,
- withTransition: false
- });
- };
- c3_chart_internal_fn.updateSizeForLegend = function (legendHeight, legendWidth) {
- var $$ = this, config = $$.config, insetLegendPosition = {
- top: $$.isLegendTop ? $$.getCurrentPaddingTop() + config.legend_inset_y + 5.5 : $$.currentHeight - legendHeight - $$.getCurrentPaddingBottom() - config.legend_inset_y,
- left: $$.isLegendLeft ? $$.getCurrentPaddingLeft() + config.legend_inset_x + 0.5 : $$.currentWidth - legendWidth - $$.getCurrentPaddingRight() - config.legend_inset_x + 0.5
- };
-
- $$.margin3 = {
- top: $$.isLegendRight ? 0 : $$.isLegendInset ? insetLegendPosition.top : $$.currentHeight - legendHeight,
- right: NaN,
- bottom: 0,
- left: $$.isLegendRight ? $$.currentWidth - legendWidth : $$.isLegendInset ? insetLegendPosition.left : 0
- };
- };
- c3_chart_internal_fn.transformLegend = function (withTransition) {
- var $$ = this;
- (withTransition ? $$.legend.transition() : $$.legend).attr("transform", $$.getTranslate('legend'));
- };
- c3_chart_internal_fn.updateLegendStep = function (step) {
- this.legendStep = step;
- };
- c3_chart_internal_fn.updateLegendItemWidth = function (w) {
- this.legendItemWidth = w;
- };
- c3_chart_internal_fn.updateLegendItemHeight = function (h) {
- this.legendItemHeight = h;
- };
- c3_chart_internal_fn.getLegendWidth = function () {
- var $$ = this;
- return $$.config.legend_show ? $$.isLegendRight || $$.isLegendInset ? $$.legendItemWidth * ($$.legendStep + 1) : $$.currentWidth : 0;
- };
- c3_chart_internal_fn.getLegendHeight = function () {
- var $$ = this, h = 0;
- if ($$.config.legend_show) {
- if ($$.isLegendRight) {
- h = $$.currentHeight;
- } else {
- h = Math.max(20, $$.legendItemHeight) * ($$.legendStep + 1);
- }
- }
- return h;
- };
- c3_chart_internal_fn.opacityForLegend = function (legendItem) {
- return legendItem.classed(CLASS.legendItemHidden) ? null : 1;
- };
- c3_chart_internal_fn.opacityForUnfocusedLegend = function (legendItem) {
- return legendItem.classed(CLASS.legendItemHidden) ? null : 0.3;
- };
- c3_chart_internal_fn.toggleFocusLegend = function (targetIds, focus) {
- var $$ = this;
- targetIds = $$.mapToTargetIds(targetIds);
- $$.legend.selectAll('.' + CLASS.legendItem)
- .filter(function (id) {
- return targetIds.indexOf(id) >= 0;
- })
- .classed(CLASS.legendItemFocused, focus)
- .transition().duration(100)
- .style('opacity', function () {
- var opacity = focus ? $$.opacityForLegend : $$.opacityForUnfocusedLegend;
- return opacity.call($$, $$.d3.select(this));
- });
- };
- c3_chart_internal_fn.revertLegend = function () {
- var $$ = this, d3 = $$.d3;
- $$.legend.selectAll('.' + CLASS.legendItem)
- .classed(CLASS.legendItemFocused, false)
- .transition().duration(100)
- .style('opacity', function () {
- return $$.opacityForLegend(d3.select(this));
- });
- };
- c3_chart_internal_fn.showLegend = function (targetIds) {
- var $$ = this, config = $$.config;
- if (!config.legend_show) {
- config.legend_show = true;
- $$.legend.style('visibility', 'visible');
- if (!$$.legendHasRendered) {
- $$.updateLegendWithDefaults();
- }
- }
- $$.removeHiddenLegendIds(targetIds);
- $$.legend.selectAll($$.selectorLegends(targetIds))
- .style('visibility', 'visible')
- .transition()
- .style('opacity', function () {
- return $$.opacityForLegend($$.d3.select(this));
- });
- };
- c3_chart_internal_fn.hideLegend = function (targetIds) {
- var $$ = this, config = $$.config;
- if (config.legend_show && isEmpty(targetIds)) {
- config.legend_show = false;
- $$.legend.style('visibility', 'hidden');
- }
- $$.addHiddenLegendIds(targetIds);
- $$.legend.selectAll($$.selectorLegends(targetIds))
- .style('opacity', 0)
- .style('visibility', 'hidden');
- };
- var legendItemTextBox = {};
- c3_chart_internal_fn.clearLegendItemTextBoxCache = function () {
- legendItemTextBox = {};
- };
- c3_chart_internal_fn.updateLegend = function (targetIds, options, transitions) {
- var $$ = this, config = $$.config;
- var xForLegend, xForLegendText, xForLegendRect, yForLegend, yForLegendText, yForLegendRect;
- var paddingTop = 4, paddingRight = 10, maxWidth = 0, maxHeight = 0, posMin = 10, tileWidth = 15;
- var l, totalLength = 0, offsets = {}, widths = {}, heights = {}, margins = [0], steps = {}, step = 0;
- var withTransition, withTransitionForTransform;
- var hasFocused = $$.legend.selectAll('.' + CLASS.legendItemFocused).size();
- var texts, rects, tiles, background;
-
- options = options || {};
- withTransition = getOption(options, "withTransition", true);
- withTransitionForTransform = getOption(options, "withTransitionForTransform", true);
-
- function getTextBox(textElement, id) {
- if (!legendItemTextBox[id]) {
- legendItemTextBox[id] = $$.getTextRect(textElement.textContent, CLASS.legendItem);
- }
- return legendItemTextBox[id];
- }
-
- function updatePositions(textElement, id, index) {
- var reset = index === 0, isLast = index === targetIds.length - 1,
- box = getTextBox(textElement, id),
- itemWidth = box.width + tileWidth + (isLast && !($$.isLegendRight || $$.isLegendInset) ? 0 : paddingRight),
- itemHeight = box.height + paddingTop,
- itemLength = $$.isLegendRight || $$.isLegendInset ? itemHeight : itemWidth,
- areaLength = $$.isLegendRight || $$.isLegendInset ? $$.getLegendHeight() : $$.getLegendWidth(),
- margin, maxLength;
-
- // MEMO: care about condifion of step, totalLength
- function updateValues(id, withoutStep) {
- if (!withoutStep) {
- margin = (areaLength - totalLength - itemLength) / 2;
- if (margin < posMin) {
- margin = (areaLength - itemLength) / 2;
- totalLength = 0;
- step++;
- }
- }
- steps[id] = step;
- margins[step] = $$.isLegendInset ? 10 : margin;
- offsets[id] = totalLength;
- totalLength += itemLength;
- }
-
- if (reset) {
- totalLength = 0;
- step = 0;
- maxWidth = 0;
- maxHeight = 0;
- }
-
- if (config.legend_show && !$$.isLegendToShow(id)) {
- widths[id] = heights[id] = steps[id] = offsets[id] = 0;
- return;
- }
-
- widths[id] = itemWidth;
- heights[id] = itemHeight;
-
- if (!maxWidth || itemWidth >= maxWidth) {
- maxWidth = itemWidth;
- }
- if (!maxHeight || itemHeight >= maxHeight) {
- maxHeight = itemHeight;
- }
- maxLength = $$.isLegendRight || $$.isLegendInset ? maxHeight : maxWidth;
-
- if (config.legend_equally) {
- Object.keys(widths).forEach(function (id) {
- widths[id] = maxWidth;
- });
- Object.keys(heights).forEach(function (id) {
- heights[id] = maxHeight;
- });
- margin = (areaLength - maxLength * targetIds.length) / 2;
- if (margin < posMin) {
- totalLength = 0;
- step = 0;
- targetIds.forEach(function (id) {
- updateValues(id);
- });
- }
- else {
- updateValues(id, true);
- }
- } else {
- updateValues(id);
- }
- }
-
- if ($$.isLegendInset) {
- step = config.legend_inset_step ? config.legend_inset_step : targetIds.length;
- $$.updateLegendStep(step);
- }
-
- if ($$.isLegendRight) {
- xForLegend = function (id) {
- return maxWidth * steps[id];
- };
- yForLegend = function (id) {
- return margins[steps[id]] + offsets[id];
- };
- } else if ($$.isLegendInset) {
- xForLegend = function (id) {
- return maxWidth * steps[id] + 10;
- };
- yForLegend = function (id) {
- return margins[steps[id]] + offsets[id];
- };
- } else {
- xForLegend = function (id) {
- return margins[steps[id]] + offsets[id];
- };
- yForLegend = function (id) {
- return maxHeight * steps[id];
- };
- }
- xForLegendText = function (id, i) {
- return xForLegend(id, i) + 14;
- };
- yForLegendText = function (id, i) {
- return yForLegend(id, i) + 9;
- };
- xForLegendRect = function (id, i) {
- return xForLegend(id, i);
- };
- yForLegendRect = function (id, i) {
- return yForLegend(id, i) - 5;
- };
-
- // Define g for legend area
- l = $$.legend.selectAll('.' + CLASS.legendItem)
- .data(targetIds)
- .enter().append('g')
- .attr('class', function (id) {
- return $$.generateClass(CLASS.legendItem, id);
- })
- .style('visibility', function (id) {
- return $$.isLegendToShow(id) ? 'visible' : 'hidden';
- })
- .style('cursor', 'pointer')
- .on('click', function (id) {
- if (config.legend_item_onclick) {
- config.legend_item_onclick.call($$, id);
- } else {
- if ($$.d3.event.altKey) {
- $$.api.hide();
- $$.api.show(id);
- } else {
- $$.api.toggle(id);
- $$.isTargetToShow(id) ? $$.api.focus(id) : $$.api.revert();
- }
- }
- })
- .on('mouseover', function (id) {
- $$.d3.select(this).classed(CLASS.legendItemFocused, true);
- if (!$$.transiting && $$.isTargetToShow(id)) {
- $$.api.focus(id);
- }
- if (config.legend_item_onmouseover) {
- config.legend_item_onmouseover.call($$, id);
- }
- })
- .on('mouseout', function (id) {
- $$.d3.select(this).classed(CLASS.legendItemFocused, false);
- $$.api.revert();
- if (config.legend_item_onmouseout) {
- config.legend_item_onmouseout.call($$, id);
- }
- });
- l.append('text')
- .text(function (id) {
- return isDefined(config.data_names[id]) ? config.data_names[id] : id;
- })
- .each(function (id, i) {
- updatePositions(this, id, i);
- })
- .style("pointer-events", "none")
- .attr('x', $$.isLegendRight || $$.isLegendInset ? xForLegendText : -200)
- .attr('y', $$.isLegendRight || $$.isLegendInset ? -200 : yForLegendText);
- l.append('rect')
- .attr("class", CLASS.legendItemEvent)
- .style('fill-opacity', 0)
- .attr('x', $$.isLegendRight || $$.isLegendInset ? xForLegendRect : -200)
- .attr('y', $$.isLegendRight || $$.isLegendInset ? -200 : yForLegendRect);
- l.append('rect')
- .attr("class", CLASS.legendItemTile)
- .style("pointer-events", "none")
- .style('fill', $$.color)
- .attr('x', $$.isLegendRight || $$.isLegendInset ? xForLegendText : -200)
- .attr('y', $$.isLegendRight || $$.isLegendInset ? -200 : yForLegend)
- .attr('width', 10)
- .attr('height', 10);
-
- // Set background for inset legend
- background = $$.legend.select('.' + CLASS.legendBackground + ' rect');
- if ($$.isLegendInset && maxWidth > 0 && background.size() === 0) {
- background = $$.legend.insert('g', '.' + CLASS.legendItem)
- .attr("class", CLASS.legendBackground)
- .append('rect');
- }
-
- texts = $$.legend.selectAll('text')
- .data(targetIds)
- .text(function (id) {
- return isDefined(config.data_names[id]) ? config.data_names[id] : id;
- }) // MEMO: needed for update
- .each(function (id, i) {
- updatePositions(this, id, i);
- });
- (withTransition ? texts.transition() : texts)
- .attr('x', xForLegendText)
- .attr('y', yForLegendText);
-
- rects = $$.legend.selectAll('rect.' + CLASS.legendItemEvent)
- .data(targetIds);
- (withTransition ? rects.transition() : rects)
- .attr('width', function (id) {
- return widths[id];
- })
- .attr('height', function (id) {
- return heights[id];
- })
- .attr('x', xForLegendRect)
- .attr('y', yForLegendRect);
-
- tiles = $$.legend.selectAll('rect.' + CLASS.legendItemTile)
- .data(targetIds);
- (withTransition ? tiles.transition() : tiles)
- .style('fill', $$.color)
- .attr('x', xForLegend)
- .attr('y', yForLegend);
-
- if (background) {
- (withTransition ? background.transition() : background)
- .attr('height', $$.getLegendHeight() - 12)
- .attr('width', maxWidth * (step + 1) + 10);
- }
-
- // toggle legend state
- $$.legend.selectAll('.' + CLASS.legendItem)
- .classed(CLASS.legendItemHidden, function (id) {
- return !$$.isTargetToShow(id);
- })
- .transition()
- .style('opacity', function (id) {
- var This = $$.d3.select(this);
- if ($$.isTargetToShow(id)) {
- return !hasFocused || This.classed(CLASS.legendItemFocused) ? $$.opacityForLegend(This) : $$.opacityForUnfocusedLegend(This);
- } else {
- return null; // c3-legend-item-hidden will be applied
- }
- });
-
- // Update all to reflect change of legend
- $$.updateLegendItemWidth(maxWidth);
- $$.updateLegendItemHeight(maxHeight);
- $$.updateLegendStep(step);
- // Update size and scale
- $$.updateSizes();
- $$.updateScales();
- $$.updateSvgSize();
- // Update g positions
- $$.transformAll(withTransitionForTransform, transitions);
- $$.legendHasRendered = true;
- };
-
- c3_chart_internal_fn.initAxis = function () {
- var $$ = this, config = $$.config, main = $$.main;
- $$.axes.x = main.append("g")
- .attr("class", CLASS.axis + ' ' + CLASS.axisX)
- .attr("clip-path", $$.clipPathForXAxis)
- .attr("transform", $$.getTranslate('x'))
- .style("visibility", config.axis_x_show ? 'visible' : 'hidden');
- $$.axes.x.append("text")
- .attr("class", CLASS.axisXLabel)
- .attr("transform", config.axis_rotated ? "rotate(-90)" : "")
- .style("text-anchor", $$.textAnchorForXAxisLabel.bind($$));
-
- $$.axes.y = main.append("g")
- .attr("class", CLASS.axis + ' ' + CLASS.axisY)
- .attr("clip-path", config.axis_y_inner ? "" : $$.clipPathForYAxis)
- .attr("transform", $$.getTranslate('y'))
- .style("visibility", config.axis_y_show ? 'visible' : 'hidden');
- $$.axes.y.append("text")
- .attr("class", CLASS.axisYLabel)
- .attr("transform", config.axis_rotated ? "" : "rotate(-90)")
- .style("text-anchor", $$.textAnchorForYAxisLabel.bind($$));
-
- $$.axes.y2 = main.append("g")
- .attr("class", CLASS.axis + ' ' + CLASS.axisY2)
- // clip-path?
- .attr("transform", $$.getTranslate('y2'))
- .style("visibility", config.axis_y2_show ? 'visible' : 'hidden');
- $$.axes.y2.append("text")
- .attr("class", CLASS.axisY2Label)
- .attr("transform", config.axis_rotated ? "" : "rotate(-90)")
- .style("text-anchor", $$.textAnchorForY2AxisLabel.bind($$));
- };
- c3_chart_internal_fn.getXAxis = function (scale, orient, tickFormat, tickValues, withOuterTick) {
- var $$ = this, config = $$.config,
- axisParams = {
- isCategory: $$.isCategorized(),
- withOuterTick: withOuterTick,
- tickMultiline: config.axis_x_tick_multiline,
- tickWidth: config.axis_x_tick_width
- },
- axis = c3_axis($$.d3, axisParams).scale(scale).orient(orient);
-
- if ($$.isTimeSeries() && tickValues) {
- tickValues = tickValues.map(function (v) {
- return $$.parseDate(v);
- });
- }
-
- // Set tick
- axis.tickFormat(tickFormat).tickValues(tickValues);
- if ($$.isCategorized()) {
- axis.tickCentered(config.axis_x_tick_centered);
- if (isEmpty(config.axis_x_tick_culling)) {
- config.axis_x_tick_culling = false;
- }
- } else {
- // TODO: move this to c3_axis
- axis.tickOffset = function () {
- var scale = this.scale(),
- edgeX = $$.getEdgeX($$.data.targets), diff = scale(edgeX[1]) - scale(edgeX[0]),
- base = diff ? diff : (config.axis_rotated ? $$.height : $$.width);
- return (base / $$.getMaxDataCount()) / 2;
- };
- }
-
- return axis;
- };
- c3_chart_internal_fn.getYAxis = function (scale, orient, tickFormat, tickValues, withOuterTick) {
- var axisParams = {withOuterTick: withOuterTick},
- axis = c3_axis(this.d3, axisParams).scale(scale).orient(orient).tickFormat(tickFormat);
- if (this.isTimeSeriesY()) {
- axis.ticks(this.d3.time[this.config.axis_y_tick_time_value], this.config.axis_y_tick_time_interval);
- } else {
- axis.tickValues(tickValues);
- }
- return axis;
- };
- c3_chart_internal_fn.getAxisId = function (id) {
- var config = this.config;
- return id in config.data_axes ? config.data_axes[id] : 'y';
- };
- c3_chart_internal_fn.getXAxisTickFormat = function () {
- var $$ = this, config = $$.config,
- format = $$.isTimeSeries() ? $$.defaultAxisTimeFormat : $$.isCategorized() ? $$.categoryName : function (v) {
- return v < 0 ? v.toFixed(0) : v;
- };
- if (config.axis_x_tick_format) {
- if (isFunction(config.axis_x_tick_format)) {
- format = config.axis_x_tick_format;
- } else if ($$.isTimeSeries()) {
- format = function (date) {
- return date ? $$.axisTimeFormat(config.axis_x_tick_format)(date) : "";
- };
- }
- }
- return isFunction(format) ? function (v) {
- return format.call($$, v);
- } : format;
- };
- c3_chart_internal_fn.getAxisTickValues = function (tickValues, axis) {
- return tickValues ? tickValues : axis ? axis.tickValues() : undefined;
- };
- c3_chart_internal_fn.getXAxisTickValues = function () {
- return this.getAxisTickValues(this.config.axis_x_tick_values, this.xAxis);
- };
- c3_chart_internal_fn.getYAxisTickValues = function () {
- return this.getAxisTickValues(this.config.axis_y_tick_values, this.yAxis);
- };
- c3_chart_internal_fn.getY2AxisTickValues = function () {
- return this.getAxisTickValues(this.config.axis_y2_tick_values, this.y2Axis);
- };
- c3_chart_internal_fn.getAxisLabelOptionByAxisId = function (axisId) {
- var $$ = this, config = $$.config, option;
- if (axisId === 'y') {
- option = config.axis_y_label;
- } else if (axisId === 'y2') {
- option = config.axis_y2_label;
- } else if (axisId === 'x') {
- option = config.axis_x_label;
- }
- return option;
- };
- c3_chart_internal_fn.getAxisLabelText = function (axisId) {
- var option = this.getAxisLabelOptionByAxisId(axisId);
- return isString(option) ? option : option ? option.text : null;
- };
- c3_chart_internal_fn.setAxisLabelText = function (axisId, text) {
- var $$ = this, config = $$.config,
- option = $$.getAxisLabelOptionByAxisId(axisId);
- if (isString(option)) {
- if (axisId === 'y') {
- config.axis_y_label = text;
- } else if (axisId === 'y2') {
- config.axis_y2_label = text;
- } else if (axisId === 'x') {
- config.axis_x_label = text;
- }
- } else if (option) {
- option.text = text;
- }
- };
- c3_chart_internal_fn.getAxisLabelPosition = function (axisId, defaultPosition) {
- var option = this.getAxisLabelOptionByAxisId(axisId),
- position = (option && typeof option === 'object' && option.position) ? option.position : defaultPosition;
- return {
- isInner: position.indexOf('inner') >= 0,
- isOuter: position.indexOf('outer') >= 0,
- isLeft: position.indexOf('left') >= 0,
- isCenter: position.indexOf('center') >= 0,
- isRight: position.indexOf('right') >= 0,
- isTop: position.indexOf('top') >= 0,
- isMiddle: position.indexOf('middle') >= 0,
- isBottom: position.indexOf('bottom') >= 0
- };
- };
- c3_chart_internal_fn.getXAxisLabelPosition = function () {
- return this.getAxisLabelPosition('x', this.config.axis_rotated ? 'inner-top' : 'inner-right');
- };
- c3_chart_internal_fn.getYAxisLabelPosition = function () {
- return this.getAxisLabelPosition('y', this.config.axis_rotated ? 'inner-right' : 'inner-top');
- };
- c3_chart_internal_fn.getY2AxisLabelPosition = function () {
- return this.getAxisLabelPosition('y2', this.config.axis_rotated ? 'inner-right' : 'inner-top');
- };
- c3_chart_internal_fn.getAxisLabelPositionById = function (id) {
- return id === 'y2' ? this.getY2AxisLabelPosition() : id === 'y' ? this.getYAxisLabelPosition() : this.getXAxisLabelPosition();
- };
- c3_chart_internal_fn.textForXAxisLabel = function () {
- return this.getAxisLabelText('x');
- };
- c3_chart_internal_fn.textForYAxisLabel = function () {
- return this.getAxisLabelText('y');
- };
- c3_chart_internal_fn.textForY2AxisLabel = function () {
- return this.getAxisLabelText('y2');
- };
- c3_chart_internal_fn.xForAxisLabel = function (forHorizontal, position) {
- var $$ = this;
- if (forHorizontal) {
- return position.isLeft ? 0 : position.isCenter ? $$.width / 2 : $$.width;
- } else {
- return position.isBottom ? -$$.height : position.isMiddle ? -$$.height / 2 : 0;
- }
- };
- c3_chart_internal_fn.dxForAxisLabel = function (forHorizontal, position) {
- if (forHorizontal) {
- return position.isLeft ? "0.5em" : position.isRight ? "-0.5em" : "0";
- } else {
- return position.isTop ? "-0.5em" : position.isBottom ? "0.5em" : "0";
- }
- };
- c3_chart_internal_fn.textAnchorForAxisLabel = function (forHorizontal, position) {
- if (forHorizontal) {
- return position.isLeft ? 'start' : position.isCenter ? 'middle' : 'end';
- } else {
- return position.isBottom ? 'start' : position.isMiddle ? 'middle' : 'end';
- }
- };
- c3_chart_internal_fn.xForXAxisLabel = function () {
- return this.xForAxisLabel(!this.config.axis_rotated, this.getXAxisLabelPosition());
- };
- c3_chart_internal_fn.xForYAxisLabel = function () {
- return this.xForAxisLabel(this.config.axis_rotated, this.getYAxisLabelPosition());
- };
- c3_chart_internal_fn.xForY2AxisLabel = function () {
- return this.xForAxisLabel(this.config.axis_rotated, this.getY2AxisLabelPosition());
- };
- c3_chart_internal_fn.dxForXAxisLabel = function () {
- return this.dxForAxisLabel(!this.config.axis_rotated, this.getXAxisLabelPosition());
- };
- c3_chart_internal_fn.dxForYAxisLabel = function () {
- return this.dxForAxisLabel(this.config.axis_rotated, this.getYAxisLabelPosition());
- };
- c3_chart_internal_fn.dxForY2AxisLabel = function () {
- return this.dxForAxisLabel(this.config.axis_rotated, this.getY2AxisLabelPosition());
- };
- c3_chart_internal_fn.dyForXAxisLabel = function () {
- var $$ = this, config = $$.config,
- position = $$.getXAxisLabelPosition();
- if (config.axis_rotated) {
- return position.isInner ? "1.2em" : -25 - $$.getMaxTickWidth('x');
- } else {
- return position.isInner ? "-0.5em" : config.axis_x_height ? config.axis_x_height - 10 : "3em";
- }
- };
- c3_chart_internal_fn.dyForYAxisLabel = function () {
- var $$ = this,
- position = $$.getYAxisLabelPosition();
- if ($$.config.axis_rotated) {
- return position.isInner ? "-0.5em" : "3em";
- } else {
- return position.isInner ? "1.2em" : -10 - ($$.config.axis_y_inner ? 0 : ($$.getMaxTickWidth('y') + 10));
- }
- };
- c3_chart_internal_fn.dyForY2AxisLabel = function () {
- var $$ = this,
- position = $$.getY2AxisLabelPosition();
- if ($$.config.axis_rotated) {
- return position.isInner ? "1.2em" : "-2.2em";
- } else {
- return position.isInner ? "-0.5em" : 15 + ($$.config.axis_y2_inner ? 0 : (this.getMaxTickWidth('y2') + 15));
- }
- };
- c3_chart_internal_fn.textAnchorForXAxisLabel = function () {
- var $$ = this;
- return $$.textAnchorForAxisLabel(!$$.config.axis_rotated, $$.getXAxisLabelPosition());
- };
- c3_chart_internal_fn.textAnchorForYAxisLabel = function () {
- var $$ = this;
- return $$.textAnchorForAxisLabel($$.config.axis_rotated, $$.getYAxisLabelPosition());
- };
- c3_chart_internal_fn.textAnchorForY2AxisLabel = function () {
- var $$ = this;
- return $$.textAnchorForAxisLabel($$.config.axis_rotated, $$.getY2AxisLabelPosition());
- };
-
- c3_chart_internal_fn.xForRotatedTickText = function (r) {
- return 8 * Math.sin(Math.PI * (r / 180));
- };
- c3_chart_internal_fn.yForRotatedTickText = function (r) {
- return 11.5 - 2.5 * (r / 15) * (r > 0 ? 1 : -1);
- };
- c3_chart_internal_fn.rotateTickText = function (axis, transition, rotate) {
- axis.selectAll('.tick text')
- .style("text-anchor", rotate > 0 ? "start" : "end");
- transition.selectAll('.tick text')
- .attr("y", this.yForRotatedTickText(rotate))
- .attr("transform", "rotate(" + rotate + ")")
- .selectAll('tspan')
- .attr('dx', this.xForRotatedTickText(rotate));
- };
-
- c3_chart_internal_fn.getMaxTickWidth = function (id, withoutRecompute) {
- var $$ = this, config = $$.config,
- maxWidth = 0, targetsToShow, scale, axis;
- if (withoutRecompute && $$.currentMaxTickWidths[id]) {
- return $$.currentMaxTickWidths[id];
- }
- if ($$.svg) {
- targetsToShow = $$.filterTargetsToShow($$.data.targets);
- if (id === 'y') {
- scale = $$.y.copy().domain($$.getYDomain(targetsToShow, 'y'));
- axis = $$.getYAxis(scale, $$.yOrient, config.axis_y_tick_format, $$.yAxisTickValues);
- } else if (id === 'y2') {
- scale = $$.y2.copy().domain($$.getYDomain(targetsToShow, 'y2'));
- axis = $$.getYAxis(scale, $$.y2Orient, config.axis_y2_tick_format, $$.y2AxisTickValues);
- } else {
- scale = $$.x.copy().domain($$.getXDomain(targetsToShow));
- axis = $$.getXAxis(scale, $$.xOrient, $$.xAxisTickFormat, $$.xAxisTickValues);
- }
- $$.d3.select('body').append("g").style('visibility', 'hidden').call(axis).each(function () {
- $$.d3.select(this).selectAll('text tspan').each(function () {
- var box = this.getBoundingClientRect();
- if (box.left > 0 && maxWidth < box.width) {
- maxWidth = box.width;
- }
- });
- }).remove();
- }
- $$.currentMaxTickWidths[id] = maxWidth <= 0 ? $$.currentMaxTickWidths[id] : maxWidth;
- return $$.currentMaxTickWidths[id];
- };
-
- c3_chart_internal_fn.updateAxisLabels = function (withTransition) {
- var $$ = this;
- var axisXLabel = $$.main.select('.' + CLASS.axisX + ' .' + CLASS.axisXLabel),
- axisYLabel = $$.main.select('.' + CLASS.axisY + ' .' + CLASS.axisYLabel),
- axisY2Label = $$.main.select('.' + CLASS.axisY2 + ' .' + CLASS.axisY2Label);
- (withTransition ? axisXLabel.transition() : axisXLabel)
- .attr("x", $$.xForXAxisLabel.bind($$))
- .attr("dx", $$.dxForXAxisLabel.bind($$))
- .attr("dy", $$.dyForXAxisLabel.bind($$))
- .text($$.textForXAxisLabel.bind($$));
- (withTransition ? axisYLabel.transition() : axisYLabel)
- .attr("x", $$.xForYAxisLabel.bind($$))
- .attr("dx", $$.dxForYAxisLabel.bind($$))
- .attr("dy", $$.dyForYAxisLabel.bind($$))
- .text($$.textForYAxisLabel.bind($$));
- (withTransition ? axisY2Label.transition() : axisY2Label)
- .attr("x", $$.xForY2AxisLabel.bind($$))
- .attr("dx", $$.dxForY2AxisLabel.bind($$))
- .attr("dy", $$.dyForY2AxisLabel.bind($$))
- .text($$.textForY2AxisLabel.bind($$));
- };
-
- c3_chart_internal_fn.getAxisPadding = function (padding, key, defaultValue, domainLength) {
- if (!isValue(padding[key])) {
- return defaultValue;
- }
- if (padding.unit === 'ratio') {
- return padding[key] * domainLength;
- }
- // assume padding is pixels if unit is not specified
- return this.convertPixelsToAxisPadding(padding[key], domainLength);
- };
- c3_chart_internal_fn.convertPixelsToAxisPadding = function (pixels, domainLength) {
- var length = this.config.axis_rotated ? this.width : this.height;
- return domainLength * (pixels / length);
- };
-
- c3_chart_internal_fn.generateTickValues = function (values, tickCount, forTimeSeries) {
- var tickValues = values, targetCount, start, end, count, interval, i, tickValue;
- if (tickCount) {
- targetCount = isFunction(tickCount) ? tickCount() : tickCount;
- // compute ticks according to tickCount
- if (targetCount === 1) {
- tickValues = [values[0]];
- } else if (targetCount === 2) {
- tickValues = [values[0], values[values.length - 1]];
- } else if (targetCount > 2) {
- count = targetCount - 2;
- start = values[0];
- end = values[values.length - 1];
- interval = (end - start) / (count + 1);
- // re-construct unique values
- tickValues = [start];
- for (i = 0; i < count; i++) {
- tickValue = +start + interval * (i + 1);
- tickValues.push(forTimeSeries ? new Date(tickValue) : tickValue);
- }
- tickValues.push(end);
- }
- }
- if (!forTimeSeries) {
- tickValues = tickValues.sort(function (a, b) {
- return a - b;
- });
- }
- return tickValues;
- };
- c3_chart_internal_fn.generateAxisTransitions = function (duration) {
- var $$ = this, axes = $$.axes;
- return {
- axisX: duration ? axes.x.transition().duration(duration) : axes.x,
- axisY: duration ? axes.y.transition().duration(duration) : axes.y,
- axisY2: duration ? axes.y2.transition().duration(duration) : axes.y2,
- axisSubX: duration ? axes.subx.transition().duration(duration) : axes.subx
- };
- };
- c3_chart_internal_fn.redrawAxis = function (transitions, isHidden) {
- var $$ = this, config = $$.config;
- $$.axes.x.style("opacity", isHidden ? 0 : 1);
- $$.axes.y.style("opacity", isHidden ? 0 : 1);
- $$.axes.y2.style("opacity", isHidden ? 0 : 1);
- $$.axes.subx.style("opacity", isHidden ? 0 : 1);
- transitions.axisX.call($$.xAxis);
- transitions.axisY.call($$.yAxis);
- transitions.axisY2.call($$.y2Axis);
- transitions.axisSubX.call($$.subXAxis);
- // rotate tick text if needed
- if (!config.axis_rotated && config.axis_x_tick_rotate) {
- $$.rotateTickText($$.axes.x, transitions.axisX, config.axis_x_tick_rotate);
- $$.rotateTickText($$.axes.subx, transitions.axisSubX, config.axis_x_tick_rotate);
- }
- };
-
- c3_chart_internal_fn.getClipPath = function (id) {
- var isIE9 = window.navigator.appVersion.toLowerCase().indexOf("msie 9.") >= 0;
- return "url(" + (isIE9 ? "" : document.URL.split('#')[0]) + "#" + id + ")";
- };
- c3_chart_internal_fn.appendClip = function (parent, id) {
- return parent.append("clipPath").attr("id", id).append("rect");
- };
- c3_chart_internal_fn.getAxisClipX = function (forHorizontal) {
- // axis line width + padding for left
- var left = Math.max(30, this.margin.left);
- return forHorizontal ? -(1 + left) : -(left - 1);
- };
- c3_chart_internal_fn.getAxisClipY = function (forHorizontal) {
- return forHorizontal ? -20 : -this.margin.top;
- };
- c3_chart_internal_fn.getXAxisClipX = function () {
- var $$ = this;
- return $$.getAxisClipX(!$$.config.axis_rotated);
- };
- c3_chart_internal_fn.getXAxisClipY = function () {
- var $$ = this;
- return $$.getAxisClipY(!$$.config.axis_rotated);
- };
- c3_chart_internal_fn.getYAxisClipX = function () {
- var $$ = this;
- return $$.config.axis_y_inner ? -1 : $$.getAxisClipX($$.config.axis_rotated);
- };
- c3_chart_internal_fn.getYAxisClipY = function () {
- var $$ = this;
- return $$.getAxisClipY($$.config.axis_rotated);
- };
- c3_chart_internal_fn.getAxisClipWidth = function (forHorizontal) {
- var $$ = this,
- left = Math.max(30, $$.margin.left),
- right = Math.max(30, $$.margin.right);
- // width + axis line width + padding for left/right
- return forHorizontal ? $$.width + 2 + left + right : $$.margin.left + 20;
- };
- c3_chart_internal_fn.getAxisClipHeight = function (forHorizontal) {
- // less than 20 is not enough to show the axis label 'outer' without legend
- return (forHorizontal ? this.margin.bottom : (this.margin.top + this.height)) + 20;
- };
- c3_chart_internal_fn.getXAxisClipWidth = function () {
- var $$ = this;
- return $$.getAxisClipWidth(!$$.config.axis_rotated);
- };
- c3_chart_internal_fn.getXAxisClipHeight = function () {
- var $$ = this;
- return $$.getAxisClipHeight(!$$.config.axis_rotated);
- };
- c3_chart_internal_fn.getYAxisClipWidth = function () {
- var $$ = this;
- return $$.getAxisClipWidth($$.config.axis_rotated) + ($$.config.axis_y_inner ? 20 : 0);
- };
- c3_chart_internal_fn.getYAxisClipHeight = function () {
- var $$ = this;
- return $$.getAxisClipHeight($$.config.axis_rotated);
- };
-
- c3_chart_internal_fn.initPie = function () {
- var $$ = this, d3 = $$.d3, config = $$.config;
- $$.pie = d3.layout.pie().value(function (d) {
- return d.values.reduce(function (a, b) {
- return a + b.value;
- }, 0);
- });
- if (!config.data_order) {
- $$.pie.sort(null);
- }
- };
-
- c3_chart_internal_fn.updateRadius = function () {
- var $$ = this, config = $$.config,
- w = config.gauge_width || config.donut_width;
- $$.radiusExpanded = Math.min($$.arcWidth, $$.arcHeight) / 2;
- $$.radius = $$.radiusExpanded * 0.95;
- $$.innerRadiusRatio = w ? ($$.radius - w) / $$.radius : 0.6;
- $$.innerRadius = $$.hasType('donut') || $$.hasType('gauge') ? $$.radius * $$.innerRadiusRatio : 0;
- };
-
- c3_chart_internal_fn.updateArc = function () {
- var $$ = this;
- $$.svgArc = $$.getSvgArc();
- $$.svgArcExpanded = $$.getSvgArcExpanded();
- $$.svgArcExpandedSub = $$.getSvgArcExpanded(0.98);
- };
-
- c3_chart_internal_fn.updateAngle = function (d) {
- var $$ = this, config = $$.config,
- found = false, index = 0,
- gMin = config.gauge_min, gMax = config.gauge_max, gTic, gValue;
- $$.pie($$.filterTargetsToShow($$.data.targets)).forEach(function (t) {
- if (!found && t.data.id === d.data.id) {
- found = true;
- d = t;
- d.index = index;
- }
- index++;
- });
- if (isNaN(d.endAngle)) {
- d.endAngle = d.startAngle;
- }
- if ($$.isGaugeType(d.data)) {
- gTic = (Math.PI) / (gMax - gMin);
- gValue = d.value < gMin ? 0 : d.value < gMax ? d.value - gMin : (gMax - gMin);
- d.startAngle = -1 * (Math.PI / 2);
- d.endAngle = d.startAngle + gTic * gValue;
- }
- return found ? d : null;
- };
-
- c3_chart_internal_fn.getSvgArc = function () {
- var $$ = this,
- arc = $$.d3.svg.arc().outerRadius($$.radius).innerRadius($$.innerRadius),
- newArc = function (d, withoutUpdate) {
- var updated;
- if (withoutUpdate) {
- return arc(d);
- } // for interpolate
- updated = $$.updateAngle(d);
- return updated ? arc(updated) : "M 0 0";
- };
- // TODO: extends all function
- newArc.centroid = arc.centroid;
- return newArc;
- };
-
- c3_chart_internal_fn.getSvgArcExpanded = function (rate) {
- var $$ = this,
- arc = $$.d3.svg.arc().outerRadius($$.radiusExpanded * (rate ? rate : 1)).innerRadius($$.innerRadius);
- return function (d) {
- var updated = $$.updateAngle(d);
- return updated ? arc(updated) : "M 0 0";
- };
- };
-
- c3_chart_internal_fn.getArc = function (d, withoutUpdate, force) {
- return force || this.isArcType(d.data) ? this.svgArc(d, withoutUpdate) : "M 0 0";
- };
-
-
- c3_chart_internal_fn.transformForArcLabel = function (d) {
- var $$ = this,
- updated = $$.updateAngle(d), c, x, y, h, ratio, translate = "";
- if (updated && !$$.hasType('gauge')) {
- c = this.svgArc.centroid(updated);
- x = isNaN(c[0]) ? 0 : c[0];
- y = isNaN(c[1]) ? 0 : c[1];
- h = Math.sqrt(x * x + y * y);
- // TODO: ratio should be an option?
- ratio = $$.radius && h ? (36 / $$.radius > 0.375 ? 1.175 - 36 / $$.radius : 0.8) * $$.radius / h : 0;
- translate = "translate(" + (x * ratio) + ',' + (y * ratio) + ")";
- }
- return translate;
- };
-
- c3_chart_internal_fn.getArcRatio = function (d) {
- var $$ = this,
- whole = $$.hasType('gauge') ? Math.PI : (Math.PI * 2);
- return d ? (d.endAngle - d.startAngle) / whole : null;
- };
-
- c3_chart_internal_fn.convertToArcData = function (d) {
- return this.addName({
- id: d.data.id,
- value: d.value,
- ratio: this.getArcRatio(d),
- index: d.index
- });
- };
-
- c3_chart_internal_fn.textForArcLabel = function (d) {
- var $$ = this,
- updated, value, ratio, id, format;
- if (!$$.shouldShowArcLabel()) {
- return "";
- }
- updated = $$.updateAngle(d);
- value = updated ? updated.value : null;
- ratio = $$.getArcRatio(updated);
- id = d.data.id;
- if (!$$.hasType('gauge') && !$$.meetsArcLabelThreshold(ratio)) {
- return "";
- }
- format = $$.getArcLabelFormat();
- return format ? format(value, ratio, id) : $$.defaultArcValueFormat(value, ratio);
- };
-
- c3_chart_internal_fn.expandArc = function (targetIds) {
- var $$ = this, interval;
-
- // MEMO: avoid to cancel transition
- if ($$.transiting) {
- interval = window.setInterval(function () {
- if (!$$.transiting) {
- window.clearInterval(interval);
- if ($$.legend.selectAll('.c3-legend-item-focused').size() > 0) {
- $$.expandArc(targetIds);
- }
- }
- }, 10);
- return;
- }
-
- targetIds = $$.mapToTargetIds(targetIds);
-
- $$.svg.selectAll($$.selectorTargets(targetIds, '.' + CLASS.chartArc)).each(function (d) {
- if (!$$.shouldExpand(d.data.id)) {
- return;
- }
- $$.d3.select(this).selectAll('path')
- .transition().duration(50)
- .attr("d", $$.svgArcExpanded)
- .transition().duration(100)
- .attr("d", $$.svgArcExpandedSub)
- .each(function (d) {
- if ($$.isDonutType(d.data)) {
- // callback here
- }
- });
- });
- };
-
- c3_chart_internal_fn.unexpandArc = function (targetIds) {
- var $$ = this;
-
- if ($$.transiting) {
- return;
- }
-
- targetIds = $$.mapToTargetIds(targetIds);
-
- $$.svg.selectAll($$.selectorTargets(targetIds, '.' + CLASS.chartArc)).selectAll('path')
- .transition().duration(50)
- .attr("d", $$.svgArc);
- $$.svg.selectAll('.' + CLASS.arc)
- .style("opacity", 1);
- };
-
- c3_chart_internal_fn.shouldExpand = function (id) {
- var $$ = this, config = $$.config;
- return ($$.isDonutType(id) && config.donut_expand) || ($$.isGaugeType(id) && config.gauge_expand) || ($$.isPieType(id) && config.pie_expand);
- };
-
- c3_chart_internal_fn.shouldShowArcLabel = function () {
- var $$ = this, config = $$.config, shouldShow = true;
- if ($$.hasType('donut')) {
- shouldShow = config.donut_label_show;
- } else if ($$.hasType('pie')) {
- shouldShow = config.pie_label_show;
- }
- // when gauge, always true
- return shouldShow;
- };
-
- c3_chart_internal_fn.meetsArcLabelThreshold = function (ratio) {
- var $$ = this, config = $$.config,
- threshold = $$.hasType('donut') ? config.donut_label_threshold : config.pie_label_threshold;
- return ratio >= threshold;
- };
-
- c3_chart_internal_fn.getArcLabelFormat = function () {
- var $$ = this, config = $$.config,
- format = config.pie_label_format;
- if ($$.hasType('gauge')) {
- format = config.gauge_label_format;
- } else if ($$.hasType('donut')) {
- format = config.donut_label_format;
- }
- return format;
- };
-
- c3_chart_internal_fn.getArcTitle = function () {
- var $$ = this;
- return $$.hasType('donut') ? $$.config.donut_title : "";
- };
-
- c3_chart_internal_fn.updateTargetsForArc = function (targets) {
- var $$ = this, main = $$.main,
- mainPieUpdate, mainPieEnter,
- classChartArc = $$.classChartArc.bind($$),
- classArcs = $$.classArcs.bind($$),
- classFocus = $$.classFocus.bind($$);
- mainPieUpdate = main.select('.' + CLASS.chartArcs).selectAll('.' + CLASS.chartArc)
- .data($$.pie(targets))
- .attr("class", function (d) {
- return classChartArc(d) + classFocus(d.data);
- });
- mainPieEnter = mainPieUpdate.enter().append("g")
- .attr("class", classChartArc);
- mainPieEnter.append('g')
- .attr('class', classArcs);
- mainPieEnter.append("text")
- .attr("dy", $$.hasType('gauge') ? "-.1em" : ".35em")
- .style("opacity", 0)
- .style("text-anchor", "middle")
- .style("pointer-events", "none");
- // MEMO: can not keep same color..., but not bad to update color in redraw
- //mainPieUpdate.exit().remove();
- };
-
- c3_chart_internal_fn.initArc = function () {
- var $$ = this;
- $$.arcs = $$.main.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.chartArcs)
- .attr("transform", $$.getTranslate('arc'));
- $$.arcs.append('text')
- .attr('class', CLASS.chartArcsTitle)
- .style("text-anchor", "middle")
- .text($$.getArcTitle());
- };
-
- c3_chart_internal_fn.redrawArc = function (duration, durationForExit, withTransform) {
- var $$ = this, d3 = $$.d3, config = $$.config, main = $$.main,
- mainArc;
- mainArc = main.selectAll('.' + CLASS.arcs).selectAll('.' + CLASS.arc)
- .data($$.arcData.bind($$));
- mainArc.enter().append('path')
- .attr("class", $$.classArc.bind($$))
- .style("fill", function (d) {
- return $$.color(d.data);
- })
- .style("cursor", function (d) {
- return config.interaction_enabled && config.data_selection_isselectable(d) ? "pointer" : null;
- })
- .style("opacity", 0)
- .each(function (d) {
- if ($$.isGaugeType(d.data)) {
- d.startAngle = d.endAngle = -1 * (Math.PI / 2);
- }
- this._current = d;
- });
- mainArc
- .attr("transform", function (d) {
- return !$$.isGaugeType(d.data) && withTransform ? "scale(0)" : "";
- })
- .style("opacity", function (d) {
- return d === this._current ? 0 : 1;
- })
- .on('mouseover', config.interaction_enabled ? function (d) {
- var updated, arcData;
- if ($$.transiting) { // skip while transiting
- return;
- }
- updated = $$.updateAngle(d);
- arcData = $$.convertToArcData(updated);
- // transitions
- $$.expandArc(updated.data.id);
- $$.api.focus(updated.data.id);
- $$.toggleFocusLegend(updated.data.id, true);
- $$.config.data_onmouseover(arcData, this);
- } : null)
- .on('mousemove', config.interaction_enabled ? function (d) {
- var updated = $$.updateAngle(d),
- arcData = $$.convertToArcData(updated),
- selectedData = [arcData];
- $$.showTooltip(selectedData, this);
- } : null)
- .on('mouseout', config.interaction_enabled ? function (d) {
- var updated, arcData;
- if ($$.transiting) { // skip while transiting
- return;
- }
- updated = $$.updateAngle(d);
- arcData = $$.convertToArcData(updated);
- // transitions
- $$.unexpandArc(updated.data.id);
- $$.api.revert();
- $$.revertLegend();
- $$.hideTooltip();
- $$.config.data_onmouseout(arcData, this);
- } : null)
- .on('click', config.interaction_enabled ? function (d, i) {
- var updated = $$.updateAngle(d),
- arcData = $$.convertToArcData(updated);
- if ($$.toggleShape) {
- $$.toggleShape(this, arcData, i);
- }
- $$.config.data_onclick.call($$.api, arcData, this);
- } : null)
- .each(function () {
- $$.transiting = true;
- })
- .transition().duration(duration)
- .attrTween("d", function (d) {
- var updated = $$.updateAngle(d), interpolate;
- if (!updated) {
- return function () {
- return "M 0 0";
- };
- }
- // if (this._current === d) {
- // this._current = {
- // startAngle: Math.PI*2,
- // endAngle: Math.PI*2,
- // };
- // }
- if (isNaN(this._current.endAngle)) {
- this._current.endAngle = this._current.startAngle;
- }
- interpolate = d3.interpolate(this._current, updated);
- this._current = interpolate(0);
- return function (t) {
- var interpolated = interpolate(t);
- interpolated.data = d.data; // data.id will be updated by interporator
- return $$.getArc(interpolated, true);
- };
- })
- .attr("transform", withTransform ? "scale(1)" : "")
- .style("fill", function (d) {
- return $$.levelColor ? $$.levelColor(d.data.values[0].value) : $$.color(d.data.id);
- }) // Where gauge reading color would receive customization.
- .style("opacity", 1)
- .call($$.endall, function () {
- $$.transiting = false;
- });
- mainArc.exit().transition().duration(durationForExit)
- .style('opacity', 0)
- .remove();
- main.selectAll('.' + CLASS.chartArc).select('text')
- .style("opacity", 0)
- .attr('class', function (d) {
- return $$.isGaugeType(d.data) ? CLASS.gaugeValue : '';
- })
- .text($$.textForArcLabel.bind($$))
- .attr("transform", $$.transformForArcLabel.bind($$))
- .style('font-size', function (d) {
- return $$.isGaugeType(d.data) ? Math.round($$.radius / 5) + 'px' : '';
- })
- .transition().duration(duration)
- .style("opacity", function (d) {
- return $$.isTargetToShow(d.data.id) && $$.isArcType(d.data) ? 1 : 0;
- });
- main.select('.' + CLASS.chartArcsTitle)
- .style("opacity", $$.hasType('donut') || $$.hasType('gauge') ? 1 : 0);
-
- if ($$.hasType('gauge')) {
- $$.arcs.select('.' + CLASS.chartArcsBackground)
- .attr("d", function () {
- var d = {
- data: [{value: config.gauge_max}],
- startAngle: -1 * (Math.PI / 2),
- endAngle: Math.PI / 2
- };
- return $$.getArc(d, true, true);
- });
- $$.arcs.select('.' + CLASS.chartArcsGaugeUnit)
- .attr("dy", ".75em")
- .text(config.gauge_label_show ? config.gauge_units : '');
- $$.arcs.select('.' + CLASS.chartArcsGaugeMin)
- .attr("dx", -1 * ($$.innerRadius + (($$.radius - $$.innerRadius) / 2)) + "px")
- .attr("dy", "1.2em")
- .text(config.gauge_label_show ? config.gauge_min : '');
- $$.arcs.select('.' + CLASS.chartArcsGaugeMax)
- .attr("dx", $$.innerRadius + (($$.radius - $$.innerRadius) / 2) + "px")
- .attr("dy", "1.2em")
- .text(config.gauge_label_show ? config.gauge_max : '');
- }
- };
- c3_chart_internal_fn.initGauge = function () {
- var arcs = this.arcs;
- if (this.hasType('gauge')) {
- arcs.append('path')
- .attr("class", CLASS.chartArcsBackground);
- arcs.append("text")
- .attr("class", CLASS.chartArcsGaugeUnit)
- .style("text-anchor", "middle")
- .style("pointer-events", "none");
- arcs.append("text")
- .attr("class", CLASS.chartArcsGaugeMin)
- .style("text-anchor", "middle")
- .style("pointer-events", "none");
- arcs.append("text")
- .attr("class", CLASS.chartArcsGaugeMax)
- .style("text-anchor", "middle")
- .style("pointer-events", "none");
- }
- };
- c3_chart_internal_fn.getGaugeLabelHeight = function () {
- return this.config.gauge_label_show ? 20 : 0;
- };
-
- c3_chart_internal_fn.initRegion = function () {
- var $$ = this;
- $$.region = $$.main.append('g')
- .attr("clip-path", $$.clipPath)
- .attr("class", CLASS.regions);
- };
- c3_chart_internal_fn.redrawRegion = function (duration) {
- var $$ = this, config = $$.config;
-
- // hide if arc type
- $$.region.style('visibility', $$.hasArcType() ? 'hidden' : 'visible');
-
- $$.mainRegion = $$.main.select('.' + CLASS.regions).selectAll('.' + CLASS.region)
- .data(config.regions);
- $$.mainRegion.enter().append('g')
- .attr('class', $$.classRegion.bind($$))
- .append('rect')
- .style("fill-opacity", 0);
- $$.mainRegion.exit().transition().duration(duration)
- .style("opacity", 0)
- .remove();
- };
- c3_chart_internal_fn.addTransitionForRegion = function (transitions) {
- var $$ = this,
- x = $$.regionX.bind($$),
- y = $$.regionY.bind($$),
- w = $$.regionWidth.bind($$),
- h = $$.regionHeight.bind($$);
- transitions.push($$.mainRegion.selectAll('rect').transition()
- .attr("x", x)
- .attr("y", y)
- .attr("width", w)
- .attr("height", h)
- .style("fill-opacity", function (d) {
- return isValue(d.opacity) ? d.opacity : 0.1;
- }));
- };
- c3_chart_internal_fn.regionX = function (d) {
- var $$ = this, config = $$.config,
- xPos, yScale = d.axis === 'y' ? $$.y : $$.y2;
- if (d.axis === 'y' || d.axis === 'y2') {
- xPos = config.axis_rotated ? ('start' in d ? yScale(d.start) : 0) : 0;
- } else {
- xPos = config.axis_rotated ? 0 : ('start' in d ? $$.x($$.isTimeSeries() ? $$.parseDate(d.start) : d.start) : 0);
- }
- return xPos;
- };
- c3_chart_internal_fn.regionY = function (d) {
- var $$ = this, config = $$.config,
- yPos, yScale = d.axis === 'y' ? $$.y : $$.y2;
- if (d.axis === 'y' || d.axis === 'y2') {
- yPos = config.axis_rotated ? 0 : ('end' in d ? yScale(d.end) : 0);
- } else {
- yPos = config.axis_rotated ? ('start' in d ? $$.x($$.isTimeSeries() ? $$.parseDate(d.start) : d.start) : 0) : 0;
- }
- return yPos;
- };
- c3_chart_internal_fn.regionWidth = function (d) {
- var $$ = this, config = $$.config,
- start = $$.regionX(d), end, yScale = d.axis === 'y' ? $$.y : $$.y2;
- if (d.axis === 'y' || d.axis === 'y2') {
- end = config.axis_rotated ? ('end' in d ? yScale(d.end) : $$.width) : $$.width;
- } else {
- end = config.axis_rotated ? $$.width : ('end' in d ? $$.x($$.isTimeSeries() ? $$.parseDate(d.end) : d.end) : $$.width);
- }
- return end < start ? 0 : end - start;
- };
- c3_chart_internal_fn.regionHeight = function (d) {
- var $$ = this, config = $$.config,
- start = this.regionY(d), end, yScale = d.axis === 'y' ? $$.y : $$.y2;
- if (d.axis === 'y' || d.axis === 'y2') {
- end = config.axis_rotated ? $$.height : ('start' in d ? yScale(d.start) : $$.height);
- } else {
- end = config.axis_rotated ? ('end' in d ? $$.x($$.isTimeSeries() ? $$.parseDate(d.end) : d.end) : $$.height) : $$.height;
- }
- return end < start ? 0 : end - start;
- };
- c3_chart_internal_fn.isRegionOnX = function (d) {
- return !d.axis || d.axis === 'x';
- };
-
- c3_chart_internal_fn.drag = function (mouse) {
- var $$ = this, config = $$.config, main = $$.main, d3 = $$.d3;
- var sx, sy, mx, my, minX, maxX, minY, maxY;
-
- if ($$.hasArcType()) {
- return;
- }
- if (!config.data_selection_enabled) {
- return;
- } // do nothing if not selectable
- if (config.zoom_enabled && !$$.zoom.altDomain) {
- return;
- } // skip if zoomable because of conflict drag dehavior
- if (!config.data_selection_multiple) {
- return;
- } // skip when single selection because drag is used for multiple selection
-
- sx = $$.dragStart[0];
- sy = $$.dragStart[1];
- mx = mouse[0];
- my = mouse[1];
- minX = Math.min(sx, mx);
- maxX = Math.max(sx, mx);
- minY = (config.data_selection_grouped) ? $$.margin.top : Math.min(sy, my);
- maxY = (config.data_selection_grouped) ? $$.height : Math.max(sy, my);
-
- main.select('.' + CLASS.dragarea)
- .attr('x', minX)
- .attr('y', minY)
- .attr('width', maxX - minX)
- .attr('height', maxY - minY);
- // TODO: binary search when multiple xs
- main.selectAll('.' + CLASS.shapes).selectAll('.' + CLASS.shape)
- .filter(function (d) {
- return config.data_selection_isselectable(d);
- })
- .each(function (d, i) {
- var shape = d3.select(this),
- isSelected = shape.classed(CLASS.SELECTED),
- isIncluded = shape.classed(CLASS.INCLUDED),
- _x, _y, _w, _h, toggle, isWithin = false, box;
- if (shape.classed(CLASS.circle)) {
- _x = shape.attr("cx") * 1;
- _y = shape.attr("cy") * 1;
- toggle = $$.togglePoint;
- isWithin = minX < _x && _x < maxX && minY < _y && _y < maxY;
- }
- else if (shape.classed(CLASS.bar)) {
- box = getPathBox(this);
- _x = box.x;
- _y = box.y;
- _w = box.width;
- _h = box.height;
- toggle = $$.togglePath;
- isWithin = !(maxX < _x || _x + _w < minX) && !(maxY < _y || _y + _h < minY);
- } else {
- // line/area selection not supported yet
- return;
- }
- if (isWithin ^ isIncluded) {
- shape.classed(CLASS.INCLUDED, !isIncluded);
- // TODO: included/unincluded callback here
- shape.classed(CLASS.SELECTED, !isSelected);
- toggle.call($$, !isSelected, shape, d, i);
- }
- });
- };
-
- c3_chart_internal_fn.dragstart = function (mouse) {
- var $$ = this, config = $$.config;
- if ($$.hasArcType()) {
- return;
- }
- if (!config.data_selection_enabled) {
- return;
- } // do nothing if not selectable
- $$.dragStart = mouse;
- $$.main.select('.' + CLASS.chart).append('rect')
- .attr('class', CLASS.dragarea)
- .style('opacity', 0.1);
- $$.dragging = true;
- $$.config.data_ondragstart.call($$.api);
- };
-
- c3_chart_internal_fn.dragend = function () {
- var $$ = this, config = $$.config;
- if ($$.hasArcType()) {
- return;
- }
- if (!config.data_selection_enabled) {
- return;
- } // do nothing if not selectable
- $$.main.select('.' + CLASS.dragarea)
- .transition().duration(100)
- .style('opacity', 0)
- .remove();
- $$.main.selectAll('.' + CLASS.shape)
- .classed(CLASS.INCLUDED, false);
- $$.dragging = false;
- $$.config.data_ondragend.call($$.api);
- };
-
-
- c3_chart_internal_fn.selectPoint = function (target, d, i) {
- var $$ = this, config = $$.config,
- cx = (config.axis_rotated ? $$.circleY : $$.circleX).bind($$),
- cy = (config.axis_rotated ? $$.circleX : $$.circleY).bind($$),
- r = $$.pointSelectR.bind($$);
- config.data_onselected.call($$.api, d, target.node());
- // add selected-circle on low layer g
- $$.main.select('.' + CLASS.selectedCircles + $$.getTargetSelectorSuffix(d.id)).selectAll('.' + CLASS.selectedCircle + '-' + i)
- .data([d])
- .enter().append('circle')
- .attr("class", function () {
- return $$.generateClass(CLASS.selectedCircle, i);
- })
- .attr("cx", cx)
- .attr("cy", cy)
- .attr("stroke", function () {
- return $$.color(d);
- })
- .attr("r", function (d) {
- return $$.pointSelectR(d) * 1.4;
- })
- .transition().duration(100)
- .attr("r", r);
- };
- c3_chart_internal_fn.unselectPoint = function (target, d, i) {
- var $$ = this;
- $$.config.data_onunselected(d, target.node());
- // remove selected-circle from low layer g
- $$.main.select('.' + CLASS.selectedCircles + $$.getTargetSelectorSuffix(d.id)).selectAll('.' + CLASS.selectedCircle + '-' + i)
- .transition().duration(100).attr('r', 0)
- .remove();
- };
- c3_chart_internal_fn.togglePoint = function (selected, target, d, i) {
- selected ? this.selectPoint(target, d, i) : this.unselectPoint(target, d, i);
- };
- c3_chart_internal_fn.selectPath = function (target, d) {
- var $$ = this;
- $$.config.data_onselected.call($$, d, target.node());
- target.transition().duration(100)
- .style("fill", function () {
- return $$.d3.rgb($$.color(d)).brighter(0.75);
- });
- };
- c3_chart_internal_fn.unselectPath = function (target, d) {
- var $$ = this;
- $$.config.data_onunselected.call($$, d, target.node());
- target.transition().duration(100)
- .style("fill", function () {
- return $$.color(d);
- });
- };
- c3_chart_internal_fn.togglePath = function (selected, target, d, i) {
- selected ? this.selectPath(target, d, i) : this.unselectPath(target, d, i);
- };
- c3_chart_internal_fn.getToggle = function (that, d) {
- var $$ = this, toggle;
- if (that.nodeName === 'circle') {
- if ($$.isStepType(d)) {
- // circle is hidden in step chart, so treat as within the click area
- toggle = function () {
- }; // TODO: how to select step chart?
- } else {
- toggle = $$.togglePoint;
- }
- }
- else if (that.nodeName === 'path') {
- toggle = $$.togglePath;
- }
- return toggle;
- };
- c3_chart_internal_fn.toggleShape = function (that, d, i) {
- var $$ = this, d3 = $$.d3, config = $$.config,
- shape = d3.select(that), isSelected = shape.classed(CLASS.SELECTED),
- toggle = $$.getToggle(that, d).bind($$);
-
- if (config.data_selection_enabled && config.data_selection_isselectable(d)) {
- if (!config.data_selection_multiple) {
- $$.main.selectAll('.' + CLASS.shapes + (config.data_selection_grouped ? $$.getTargetSelectorSuffix(d.id) : "")).selectAll('.' + CLASS.shape).each(function (d, i) {
- var shape = d3.select(this);
- if (shape.classed(CLASS.SELECTED)) {
- toggle(false, shape.classed(CLASS.SELECTED, false), d, i);
- }
- });
- }
- shape.classed(CLASS.SELECTED, !isSelected);
- toggle(!isSelected, shape, d, i);
- }
- };
-
- c3_chart_internal_fn.initBrush = function () {
- var $$ = this, d3 = $$.d3;
- $$.brush = d3.svg.brush().on("brush", function () {
- $$.redrawForBrush();
- });
- $$.brush.update = function () {
- if ($$.context) {
- $$.context.select('.' + CLASS.brush).call(this);
- }
- return this;
- };
- $$.brush.scale = function (scale) {
- return $$.config.axis_rotated ? this.y(scale) : this.x(scale);
- };
- };
- c3_chart_internal_fn.initSubchart = function () {
- var $$ = this, config = $$.config,
- context = $$.context = $$.svg.append("g").attr("transform", $$.getTranslate('context'));
-
- if (!config.subchart_show) {
- context.style('visibility', 'hidden');
- }
-
- // Define g for chart area
- context.append('g')
- .attr("clip-path", $$.clipPathForSubchart)
- .attr('class', CLASS.chart);
-
- // Define g for bar chart area
- context.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.chartBars);
-
- // Define g for line chart area
- context.select('.' + CLASS.chart).append("g")
- .attr("class", CLASS.chartLines);
-
- // Add extent rect for Brush
- context.append("g")
- .attr("clip-path", $$.clipPath)
- .attr("class", CLASS.brush)
- .call($$.brush)
- .selectAll("rect")
- .attr(config.axis_rotated ? "width" : "height", config.axis_rotated ? $$.width2 : $$.height2);
-
- // ATTENTION: This must be called AFTER chart added
- // Add Axis
- $$.axes.subx = context.append("g")
- .attr("class", CLASS.axisX)
- .attr("transform", $$.getTranslate('subx'))
- .attr("clip-path", config.axis_rotated ? "" : $$.clipPathForXAxis);
- };
- c3_chart_internal_fn.updateTargetsForSubchart = function (targets) {
- var $$ = this, context = $$.context, config = $$.config,
- contextLineEnter, contextLineUpdate, contextBarEnter, contextBarUpdate,
- classChartBar = $$.classChartBar.bind($$),
- classBars = $$.classBars.bind($$),
- classChartLine = $$.classChartLine.bind($$),
- classLines = $$.classLines.bind($$),
- classAreas = $$.classAreas.bind($$);
-
- if (config.subchart_show) {
- contextBarUpdate = context.select('.' + CLASS.chartBars).selectAll('.' + CLASS.chartBar)
- .data(targets)
- .attr('class', classChartBar);
- contextBarEnter = contextBarUpdate.enter().append('g')
- .style('opacity', 0)
- .attr('class', classChartBar);
- // Bars for each data
- contextBarEnter.append('g')
- .attr("class", classBars);
-
- //-- Line --//
- contextLineUpdate = context.select('.' + CLASS.chartLines).selectAll('.' + CLASS.chartLine)
- .data(targets)
- .attr('class', classChartLine);
- contextLineEnter = contextLineUpdate.enter().append('g')
- .style('opacity', 0)
- .attr('class', classChartLine);
- // Lines for each data
- contextLineEnter.append("g")
- .attr("class", classLines);
- // Area
- contextLineEnter.append("g")
- .attr("class", classAreas);
- }
- };
- c3_chart_internal_fn.redrawSubchart = function (withSubchart, transitions, duration, durationForExit, areaIndices, barIndices, lineIndices) {
- var $$ = this, d3 = $$.d3, context = $$.context, config = $$.config,
- contextLine, contextArea, contextBar, drawAreaOnSub, drawBarOnSub, drawLineOnSub,
- barData = $$.barData.bind($$),
- lineData = $$.lineData.bind($$),
- classBar = $$.classBar.bind($$),
- classLine = $$.classLine.bind($$),
- classArea = $$.classArea.bind($$),
- initialOpacity = $$.initialOpacity.bind($$);
-
- // subchart
- if (config.subchart_show) {
- // reflect main chart to extent on subchart if zoomed
- if (d3.event && d3.event.type === 'zoom') {
- $$.brush.extent($$.x.orgDomain()).update();
- }
- // update subchart elements if needed
- if (withSubchart) {
-
- // extent rect
- if (!$$.brush.empty()) {
- $$.brush.extent($$.x.orgDomain()).update();
- }
- // setup drawer - MEMO: this must be called after axis updated
- drawAreaOnSub = $$.generateDrawArea(areaIndices, true);
- drawBarOnSub = $$.generateDrawBar(barIndices, true);
- drawLineOnSub = $$.generateDrawLine(lineIndices, true);
- // bars
- contextBar = context.selectAll('.' + CLASS.bars).selectAll('.' + CLASS.bar)
- .data(barData);
- contextBar.enter().append('path')
- .attr("class", classBar)
- .style("stroke", 'none')
- .style("fill", $$.color);
- contextBar
- .style("opacity", initialOpacity)
- .transition().duration(duration)
- .attr('d', drawBarOnSub)
- .style('opacity', 1);
- contextBar.exit().transition().duration(duration)
- .style('opacity', 0)
- .remove();
- // lines
- contextLine = context.selectAll('.' + CLASS.lines).selectAll('.' + CLASS.line)
- .data(lineData);
- contextLine.enter().append('path')
- .attr('class', classLine)
- .style('stroke', $$.color);
- contextLine
- .style("opacity", initialOpacity)
- .transition().duration(duration)
- .attr("d", drawLineOnSub)
- .style('opacity', 1);
- contextLine.exit().transition().duration(duration)
- .style('opacity', 0)
- .remove();
- // area
- contextArea = context.selectAll('.' + CLASS.areas).selectAll('.' + CLASS.area)
- .data(lineData);
- contextArea.enter().append('path')
- .attr("class", classArea)
- .style("fill", $$.color)
- .style("opacity", function () {
- $$.orgAreaOpacity = +d3.select(this).style('opacity');
- return 0;
- });
- contextArea
- .style("opacity", 0)
- .transition().duration(duration)
- .attr("d", drawAreaOnSub)
- .style("fill", $$.color)
- .style("opacity", $$.orgAreaOpacity);
- contextArea.exit().transition().duration(durationForExit)
- .style('opacity', 0)
- .remove();
- }
- }
- };
- c3_chart_internal_fn.redrawForBrush = function () {
- var $$ = this, x = $$.x;
- $$.redraw({
- withTransition: false,
- withY: $$.config.zoom_rescale,
- withSubchart: false,
- withUpdateXDomain: true,
- withDimension: false
- });
- $$.config.subchart_onbrush.call($$.api, x.orgDomain());
- };
- c3_chart_internal_fn.transformContext = function (withTransition, transitions) {
- var $$ = this, subXAxis;
- if (transitions && transitions.axisSubX) {
- subXAxis = transitions.axisSubX;
- } else {
- subXAxis = $$.context.select('.' + CLASS.axisX);
- if (withTransition) {
- subXAxis = subXAxis.transition();
- }
- }
- $$.context.attr("transform", $$.getTranslate('context'));
- subXAxis.attr("transform", $$.getTranslate('subx'));
- };
- c3_chart_internal_fn.getDefaultExtent = function () {
- var $$ = this, config = $$.config,
- extent = isFunction(config.axis_x_extent) ? config.axis_x_extent($$.getXDomain($$.data.targets)) : config.axis_x_extent;
- if ($$.isTimeSeries()) {
- extent = [$$.parseDate(extent[0]), $$.parseDate(extent[1])];
- }
- return extent;
- };
-
- c3_chart_internal_fn.initZoom = function () {
- var $$ = this, d3 = $$.d3, config = $$.config, startEvent;
-
- $$.zoom = d3.behavior.zoom()
- .on("zoomstart", function () {
- startEvent = d3.event.sourceEvent;
- $$.zoom.altDomain = d3.event.sourceEvent.altKey ? $$.x.orgDomain() : null;
- config.zoom_onzoomstart.call($$.api, d3.event.sourceEvent);
- })
- .on("zoom", function () {
- $$.redrawForZoom.call($$);
- })
- .on('zoomend', function () {
- var event = d3.event.sourceEvent;
- // if click, do nothing. otherwise, click interaction will be canceled.
- if (event && startEvent.clientX === event.clientX && startEvent.clientY === event.clientY) {
- return;
- }
- $$.redrawEventRect();
- $$.updateZoom();
- config.zoom_onzoomend.call($$.api, $$.x.orgDomain());
- });
- $$.zoom.scale = function (scale) {
- return config.axis_rotated ? this.y(scale) : this.x(scale);
- };
- $$.zoom.orgScaleExtent = function () {
- var extent = config.zoom_extent ? config.zoom_extent : [1, 10];
- return [extent[0], Math.max($$.getMaxDataCount() / extent[1], extent[1])];
- };
- $$.zoom.updateScaleExtent = function () {
- var ratio = diffDomain($$.x.orgDomain()) / diffDomain($$.orgXDomain),
- extent = this.orgScaleExtent();
- this.scaleExtent([extent[0] * ratio, extent[1] * ratio]);
- return this;
- };
- };
- c3_chart_internal_fn.updateZoom = function () {
- var $$ = this, z = $$.config.zoom_enabled ? $$.zoom : function () {
- };
- $$.main.select('.' + CLASS.zoomRect).call(z).on("dblclick.zoom", null);
- $$.main.selectAll('.' + CLASS.eventRect).call(z).on("dblclick.zoom", null);
- };
- c3_chart_internal_fn.redrawForZoom = function () {
- var $$ = this, d3 = $$.d3, config = $$.config, zoom = $$.zoom, x = $$.x;
- if (!config.zoom_enabled) {
- return;
- }
- if ($$.filterTargetsToShow($$.data.targets).length === 0) {
- return;
- }
- if (d3.event.sourceEvent.type === 'mousemove' && zoom.altDomain) {
- x.domain(zoom.altDomain);
- zoom.scale(x).updateScaleExtent();
- return;
- }
- if ($$.isCategorized() && x.orgDomain()[0] === $$.orgXDomain[0]) {
- x.domain([$$.orgXDomain[0] - 1e-10, x.orgDomain()[1]]);
- }
- $$.redraw({
- withTransition: false,
- withY: config.zoom_rescale,
- withSubchart: false,
- withEventRect: false,
- withDimension: false
- });
- if (d3.event.sourceEvent.type === 'mousemove') {
- $$.cancelClick = true;
- }
- config.zoom_onzoom.call($$.api, x.orgDomain());
- };
-
- c3_chart_internal_fn.generateColor = function () {
- var $$ = this, config = $$.config, d3 = $$.d3,
- colors = config.data_colors,
- pattern = notEmpty(config.color_pattern) ? config.color_pattern : d3.scale.category10().range(),
- callback = config.data_color,
- ids = [];
-
- return function (d) {
- var id = d.id || d, color;
-
- // if callback function is provided
- if (colors[id] instanceof Function) {
- color = colors[id](d);
- }
- // if specified, choose that color
- else if (colors[id]) {
- color = colors[id];
- }
- // if not specified, choose from pattern
- else {
- if (ids.indexOf(id) < 0) {
- ids.push(id);
- }
- color = pattern[ids.indexOf(id) % pattern.length];
- colors[id] = color;
- }
- return callback instanceof Function ? callback(color, d) : color;
- };
- };
- c3_chart_internal_fn.generateLevelColor = function () {
- var $$ = this, config = $$.config,
- colors = config.color_pattern,
- threshold = config.color_threshold,
- asValue = threshold.unit === 'value',
- values = threshold.values && threshold.values.length ? threshold.values : [],
- max = threshold.max || 100;
- return notEmpty(config.color_threshold) ? function (value) {
- var i, v, color = colors[colors.length - 1];
- for (i = 0; i < values.length; i++) {
- v = asValue ? value : (value * 100 / max);
- if (v < values[i]) {
- color = colors[i];
- break;
- }
- }
- return color;
- } : null;
- };
-
- c3_chart_internal_fn.getYFormat = function (forArc) {
- var $$ = this,
- formatForY = forArc && !$$.hasType('gauge') ? $$.defaultArcValueFormat : $$.yFormat,
- formatForY2 = forArc && !$$.hasType('gauge') ? $$.defaultArcValueFormat : $$.y2Format;
- return function (v, ratio, id) {
- var format = $$.getAxisId(id) === 'y2' ? formatForY2 : formatForY;
- return format.call($$, v, ratio);
- };
- };
- c3_chart_internal_fn.yFormat = function (v) {
- var $$ = this, config = $$.config,
- format = config.axis_y_tick_format ? config.axis_y_tick_format : $$.defaultValueFormat;
- return format(v);
- };
- c3_chart_internal_fn.y2Format = function (v) {
- var $$ = this, config = $$.config,
- format = config.axis_y2_tick_format ? config.axis_y2_tick_format : $$.defaultValueFormat;
- return format(v);
- };
- c3_chart_internal_fn.defaultValueFormat = function (v) {
- return isValue(v) ? +v : "";
- };
- c3_chart_internal_fn.defaultArcValueFormat = function (v, ratio) {
- return (ratio * 100).toFixed(1) + '%';
- };
- c3_chart_internal_fn.formatByAxisId = function (axisId) {
- var $$ = this, data_labels = $$.config.data_labels,
- format = function (v) {
- return isValue(v) ? +v : "";
- };
- // find format according to axis id
- if (typeof data_labels.format === 'function') {
- format = data_labels.format;
- } else if (typeof data_labels.format === 'object') {
- if (data_labels.format[axisId]) {
- format = data_labels.format[axisId];
- }
- }
- return format;
- };
-
- c3_chart_internal_fn.hasCaches = function (ids) {
- for (var i = 0; i < ids.length; i++) {
- if (!(ids[i] in this.cache)) {
- return false;
- }
- }
- return true;
- };
- c3_chart_internal_fn.addCache = function (id, target) {
- this.cache[id] = this.cloneTarget(target);
- };
- c3_chart_internal_fn.getCaches = function (ids) {
- var targets = [], i;
- for (i = 0; i < ids.length; i++) {
- if (ids[i] in this.cache) {
- targets.push(this.cloneTarget(this.cache[ids[i]]));
- }
- }
- return targets;
- };
-
- var CLASS = c3_chart_internal_fn.CLASS = {
- target: 'c3-target',
- chart: 'c3-chart',
- chartLine: 'c3-chart-line',
- chartLines: 'c3-chart-lines',
- chartBar: 'c3-chart-bar',
- chartBars: 'c3-chart-bars',
- chartText: 'c3-chart-text',
- chartTexts: 'c3-chart-texts',
- chartArc: 'c3-chart-arc',
- chartArcs: 'c3-chart-arcs',
- chartArcsTitle: 'c3-chart-arcs-title',
- chartArcsBackground: 'c3-chart-arcs-background',
- chartArcsGaugeUnit: 'c3-chart-arcs-gauge-unit',
- chartArcsGaugeMax: 'c3-chart-arcs-gauge-max',
- chartArcsGaugeMin: 'c3-chart-arcs-gauge-min',
- selectedCircle: 'c3-selected-circle',
- selectedCircles: 'c3-selected-circles',
- eventRect: 'c3-event-rect',
- eventRects: 'c3-event-rects',
- eventRectsSingle: 'c3-event-rects-single',
- eventRectsMultiple: 'c3-event-rects-multiple',
- zoomRect: 'c3-zoom-rect',
- brush: 'c3-brush',
- focused: 'c3-focused',
- defocused: 'c3-defocused',
- region: 'c3-region',
- regions: 'c3-regions',
- tooltipContainer: 'c3-tooltip-container',
- tooltip: 'c3-tooltip',
- tooltipName: 'c3-tooltip-name',
- shape: 'c3-shape',
- shapes: 'c3-shapes',
- line: 'c3-line',
- lines: 'c3-lines',
- bar: 'c3-bar',
- bars: 'c3-bars',
- circle: 'c3-circle',
- circles: 'c3-circles',
- arc: 'c3-arc',
- arcs: 'c3-arcs',
- area: 'c3-area',
- areas: 'c3-areas',
- empty: 'c3-empty',
- text: 'c3-text',
- texts: 'c3-texts',
- gaugeValue: 'c3-gauge-value',
- grid: 'c3-grid',
- gridLines: 'c3-grid-lines',
- xgrid: 'c3-xgrid',
- xgrids: 'c3-xgrids',
- xgridLine: 'c3-xgrid-line',
- xgridLines: 'c3-xgrid-lines',
- xgridFocus: 'c3-xgrid-focus',
- ygrid: 'c3-ygrid',
- ygrids: 'c3-ygrids',
- ygridLine: 'c3-ygrid-line',
- ygridLines: 'c3-ygrid-lines',
- axis: 'c3-axis',
- axisX: 'c3-axis-x',
- axisXLabel: 'c3-axis-x-label',
- axisY: 'c3-axis-y',
- axisYLabel: 'c3-axis-y-label',
- axisY2: 'c3-axis-y2',
- axisY2Label: 'c3-axis-y2-label',
- legendBackground: 'c3-legend-background',
- legendItem: 'c3-legend-item',
- legendItemEvent: 'c3-legend-item-event',
- legendItemTile: 'c3-legend-item-tile',
- legendItemHidden: 'c3-legend-item-hidden',
- legendItemFocused: 'c3-legend-item-focused',
- dragarea: 'c3-dragarea',
- EXPANDED: '_expanded_',
- SELECTED: '_selected_',
- INCLUDED: '_included_'
- };
- c3_chart_internal_fn.generateClass = function (prefix, targetId) {
- return " " + prefix + " " + prefix + this.getTargetSelectorSuffix(targetId);
- };
- c3_chart_internal_fn.classText = function (d) {
- return this.generateClass(CLASS.text, d.index);
- };
- c3_chart_internal_fn.classTexts = function (d) {
- return this.generateClass(CLASS.texts, d.id);
- };
- c3_chart_internal_fn.classShape = function (d) {
- return this.generateClass(CLASS.shape, d.index);
- };
- c3_chart_internal_fn.classShapes = function (d) {
- return this.generateClass(CLASS.shapes, d.id);
- };
- c3_chart_internal_fn.classLine = function (d) {
- return this.classShape(d) + this.generateClass(CLASS.line, d.id);
- };
- c3_chart_internal_fn.classLines = function (d) {
- return this.classShapes(d) + this.generateClass(CLASS.lines, d.id);
- };
- c3_chart_internal_fn.classCircle = function (d) {
- return this.classShape(d) + this.generateClass(CLASS.circle, d.index);
- };
- c3_chart_internal_fn.classCircles = function (d) {
- return this.classShapes(d) + this.generateClass(CLASS.circles, d.id);
- };
- c3_chart_internal_fn.classBar = function (d) {
- return this.classShape(d) + this.generateClass(CLASS.bar, d.index);
- };
- c3_chart_internal_fn.classBars = function (d) {
- return this.classShapes(d) + this.generateClass(CLASS.bars, d.id);
- };
- c3_chart_internal_fn.classArc = function (d) {
- return this.classShape(d.data) + this.generateClass(CLASS.arc, d.data.id);
- };
- c3_chart_internal_fn.classArcs = function (d) {
- return this.classShapes(d.data) + this.generateClass(CLASS.arcs, d.data.id);
- };
- c3_chart_internal_fn.classArea = function (d) {
- return this.classShape(d) + this.generateClass(CLASS.area, d.id);
- };
- c3_chart_internal_fn.classAreas = function (d) {
- return this.classShapes(d) + this.generateClass(CLASS.areas, d.id);
- };
- c3_chart_internal_fn.classRegion = function (d, i) {
- return this.generateClass(CLASS.region, i) + ' ' + ('class' in d ? d['class'] : '');
- };
- c3_chart_internal_fn.classEvent = function (d) {
- return this.generateClass(CLASS.eventRect, d.index);
- };
- c3_chart_internal_fn.classTarget = function (id) {
- var $$ = this;
- var additionalClassSuffix = $$.config.data_classes[id], additionalClass = '';
- if (additionalClassSuffix) {
- additionalClass = ' ' + CLASS.target + '-' + additionalClassSuffix;
- }
- return $$.generateClass(CLASS.target, id) + additionalClass;
- };
- c3_chart_internal_fn.classFocus = function (d) {
- return this.classFocused(d) + this.classDefocused(d);
- };
- c3_chart_internal_fn.classFocused = function (d) {
- return ' ' + (this.focusedTargetIds.indexOf(d.id) >= 0 ? CLASS.focused : '');
- };
- c3_chart_internal_fn.classDefocused = function (d) {
- return ' ' + (this.defocusedTargetIds.indexOf(d.id) >= 0 ? CLASS.defocused : '');
- };
- c3_chart_internal_fn.classChartText = function (d) {
- return CLASS.chartText + this.classTarget(d.id);
- };
- c3_chart_internal_fn.classChartLine = function (d) {
- return CLASS.chartLine + this.classTarget(d.id);
- };
- c3_chart_internal_fn.classChartBar = function (d) {
- return CLASS.chartBar + this.classTarget(d.id);
- };
- c3_chart_internal_fn.classChartArc = function (d) {
- return CLASS.chartArc + this.classTarget(d.data.id);
- };
- c3_chart_internal_fn.getTargetSelectorSuffix = function (targetId) {
- return targetId || targetId === 0 ? ('-' + targetId).replace(/[\s?!@#$%^&*()_=+,.<>'":;\[\]\/|~`{}\\]/g, '-') : '';
- };
- c3_chart_internal_fn.selectorTarget = function (id, prefix) {
- return (prefix || '') + '.' + CLASS.target + this.getTargetSelectorSuffix(id);
- };
- c3_chart_internal_fn.selectorTargets = function (ids, prefix) {
- var $$ = this;
- ids = ids || [];
- return ids.length ? ids.map(function (id) {
- return $$.selectorTarget(id, prefix);
- }) : null;
- };
- c3_chart_internal_fn.selectorLegend = function (id) {
- return '.' + CLASS.legendItem + this.getTargetSelectorSuffix(id);
- };
- c3_chart_internal_fn.selectorLegends = function (ids) {
- var $$ = this;
- return ids && ids.length ? ids.map(function (id) {
- return $$.selectorLegend(id);
- }) : null;
- };
-
- var isValue = c3_chart_internal_fn.isValue = function (v) {
- return v || v === 0;
- },
- isFunction = c3_chart_internal_fn.isFunction = function (o) {
- return typeof o === 'function';
- },
- isString = c3_chart_internal_fn.isString = function (o) {
- return typeof o === 'string';
- },
- isUndefined = c3_chart_internal_fn.isUndefined = function (v) {
- return typeof v === 'undefined';
- },
- isDefined = c3_chart_internal_fn.isDefined = function (v) {
- return typeof v !== 'undefined';
- },
- ceil10 = c3_chart_internal_fn.ceil10 = function (v) {
- return Math.ceil(v / 10) * 10;
- },
- asHalfPixel = c3_chart_internal_fn.asHalfPixel = function (n) {
- return Math.ceil(n) + 0.5;
- },
- diffDomain = c3_chart_internal_fn.diffDomain = function (d) {
- return d[1] - d[0];
- },
- isEmpty = c3_chart_internal_fn.isEmpty = function (o) {
- return !o || (isString(o) && o.length === 0) || (typeof o === 'object' && Object.keys(o).length === 0);
- },
- notEmpty = c3_chart_internal_fn.notEmpty = function (o) {
- return Object.keys(o).length > 0;
- },
- getOption = c3_chart_internal_fn.getOption = function (options, key, defaultValue) {
- return isDefined(options[key]) ? options[key] : defaultValue;
- },
- hasValue = c3_chart_internal_fn.hasValue = function (dict, value) {
- var found = false;
- Object.keys(dict).forEach(function (key) {
- if (dict[key] === value) {
- found = true;
- }
- });
- return found;
- },
- getPathBox = c3_chart_internal_fn.getPathBox = function (path) {
- var box = path.getBoundingClientRect(),
- items = [path.pathSegList.getItem(0), path.pathSegList.getItem(1)],
- minX = items[0].x, minY = Math.min(items[0].y, items[1].y);
- return {x: minX, y: minY, width: box.width, height: box.height};
- };
-
- c3_chart_fn.focus = function (targetIds) {
- var $$ = this.internal, candidates;
-
- targetIds = $$.mapToTargetIds(targetIds);
- candidates = $$.svg.selectAll($$.selectorTargets(targetIds.filter($$.isTargetToShow, $$))),
-
- this.revert();
- this.defocus();
- candidates.classed(CLASS.focused, true).classed(CLASS.defocused, false);
- if ($$.hasArcType()) {
- $$.expandArc(targetIds);
- }
- $$.toggleFocusLegend(targetIds, true);
-
- $$.focusedTargetIds = targetIds;
- $$.defocusedTargetIds = $$.defocusedTargetIds.filter(function (id) {
- return targetIds.indexOf(id) < 0;
- });
- };
-
- c3_chart_fn.defocus = function (targetIds) {
- var $$ = this.internal, candidates;
-
- targetIds = $$.mapToTargetIds(targetIds);
- candidates = $$.svg.selectAll($$.selectorTargets(targetIds.filter($$.isTargetToShow, $$))),
-
- this.revert();
- candidates.classed(CLASS.focused, false).classed(CLASS.defocused, true);
- if ($$.hasArcType()) {
- $$.unexpandArc(targetIds);
- }
- $$.toggleFocusLegend(targetIds, false);
-
- $$.focusedTargetIds = $$.focusedTargetIds.filter(function (id) {
- return targetIds.indexOf(id) < 0;
- });
- $$.defocusedTargetIds = targetIds;
- };
-
- c3_chart_fn.revert = function (targetIds) {
- var $$ = this.internal, candidates;
-
- targetIds = $$.mapToTargetIds(targetIds);
- candidates = $$.svg.selectAll($$.selectorTargets(targetIds)); // should be for all targets
-
- candidates.classed(CLASS.focused, false).classed(CLASS.defocused, false);
- if ($$.hasArcType()) {
- $$.unexpandArc(targetIds);
- }
- if ($$.config.legend_show) {
- $$.showLegend(targetIds.filter($$.isLegendToShow.bind($$)));
- }
-
- $$.focusedTargetIds = [];
- $$.defocusedTargetIds = [];
- };
-
- c3_chart_fn.show = function (targetIds, options) {
- var $$ = this.internal, targets;
-
- targetIds = $$.mapToTargetIds(targetIds);
- options = options || {};
-
- $$.removeHiddenTargetIds(targetIds);
- targets = $$.svg.selectAll($$.selectorTargets(targetIds));
-
- targets.transition()
- .style('opacity', 1, 'important')
- .call($$.endall, function () {
- targets.style('opacity', null).style('opacity', 1);
- });
-
- if (options.withLegend) {
- $$.showLegend(targetIds);
- }
-
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true, withLegend: true});
- };
-
- c3_chart_fn.hide = function (targetIds, options) {
- var $$ = this.internal, targets;
-
- targetIds = $$.mapToTargetIds(targetIds);
- options = options || {};
-
- $$.addHiddenTargetIds(targetIds);
- targets = $$.svg.selectAll($$.selectorTargets(targetIds));
-
- targets.transition()
- .style('opacity', 0, 'important')
- .call($$.endall, function () {
- targets.style('opacity', null).style('opacity', 0);
- });
-
- if (options.withLegend) {
- $$.hideLegend(targetIds);
- }
-
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true, withLegend: true});
- };
-
- c3_chart_fn.toggle = function (targetIds, options) {
- var that = this, $$ = this.internal;
- $$.mapToTargetIds(targetIds).forEach(function (targetId) {
- $$.isTargetToShow(targetId) ? that.hide(targetId, options) : that.show(targetId, options);
- });
- };
-
- c3_chart_fn.zoom = function (domain) {
- var $$ = this.internal;
- if (domain) {
- if ($$.isTimeSeries()) {
- domain = domain.map(function (x) {
- return $$.parseDate(x);
- });
- }
- $$.brush.extent(domain);
- $$.redraw({withUpdateXDomain: true, withY: $$.config.zoom_rescale});
- $$.config.zoom_onzoom.call(this, $$.x.orgDomain());
- }
- return $$.brush.extent();
- };
- c3_chart_fn.zoom.enable = function (enabled) {
- var $$ = this.internal;
- $$.config.zoom_enabled = enabled;
- $$.updateAndRedraw();
- };
- c3_chart_fn.unzoom = function () {
- var $$ = this.internal;
- $$.brush.clear().update();
- $$.redraw({withUpdateXDomain: true});
- };
-
- c3_chart_fn.load = function (args) {
- var $$ = this.internal, config = $$.config;
- // update xs if specified
- if (args.xs) {
- $$.addXs(args.xs);
- }
- // update classes if exists
- if ('classes' in args) {
- Object.keys(args.classes).forEach(function (id) {
- config.data_classes[id] = args.classes[id];
- });
- }
- // update categories if exists
- if ('categories' in args && $$.isCategorized()) {
- config.axis_x_categories = args.categories;
- }
- // update axes if exists
- if ('axes' in args) {
- Object.keys(args.axes).forEach(function (id) {
- config.data_axes[id] = args.axes[id];
- });
- }
- // use cache if exists
- if ('cacheIds' in args && $$.hasCaches(args.cacheIds)) {
- $$.load($$.getCaches(args.cacheIds), args.done);
- return;
- }
- // unload if needed
- if ('unload' in args) {
- // TODO: do not unload if target will load (included in url/rows/columns)
- $$.unload($$.mapToTargetIds((typeof args.unload === 'boolean' && args.unload) ? null : args.unload), function () {
- $$.loadFromArgs(args);
- });
- } else {
- $$.loadFromArgs(args);
- }
- };
-
- c3_chart_fn.unload = function (args) {
- var $$ = this.internal;
- args = args || {};
- if (args instanceof Array) {
- args = {ids: args};
- } else if (typeof args === 'string') {
- args = {ids: [args]};
- }
- $$.unload($$.mapToTargetIds(args.ids), function () {
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true, withLegend: true});
- if (args.done) {
- args.done();
- }
- });
- };
-
- c3_chart_fn.flow = function (args) {
- var $$ = this.internal,
- targets, data, notfoundIds = [], orgDataCount = $$.getMaxDataCount(),
- dataCount, domain, baseTarget, baseValue, length = 0, tail = 0, diff, to;
-
- if (args.json) {
- data = $$.convertJsonToData(args.json, args.keys);
- }
- else if (args.rows) {
- data = $$.convertRowsToData(args.rows);
- }
- else if (args.columns) {
- data = $$.convertColumnsToData(args.columns);
- }
- else {
- return;
- }
- targets = $$.convertDataToTargets(data, true);
-
- // Update/Add data
- $$.data.targets.forEach(function (t) {
- var found = false, i, j;
- for (i = 0; i < targets.length; i++) {
- if (t.id === targets[i].id) {
- found = true;
-
- if (t.values[t.values.length - 1]) {
- tail = t.values[t.values.length - 1].index + 1;
- }
- length = targets[i].values.length;
-
- for (j = 0; j < length; j++) {
- targets[i].values[j].index = tail + j;
- if (!$$.isTimeSeries()) {
- targets[i].values[j].x = tail + j;
- }
- }
- t.values = t.values.concat(targets[i].values);
-
- targets.splice(i, 1);
- break;
- }
- }
- if (!found) {
- notfoundIds.push(t.id);
- }
- });
-
- // Append null for not found targets
- $$.data.targets.forEach(function (t) {
- var i, j;
- for (i = 0; i < notfoundIds.length; i++) {
- if (t.id === notfoundIds[i]) {
- tail = t.values[t.values.length - 1].index + 1;
- for (j = 0; j < length; j++) {
- t.values.push({
- id: t.id,
- index: tail + j,
- x: $$.isTimeSeries() ? $$.getOtherTargetX(tail + j) : tail + j,
- value: null
- });
- }
- }
- }
- });
-
- // Generate null values for new target
- if ($$.data.targets.length) {
- targets.forEach(function (t) {
- var i, missing = [];
- for (i = $$.data.targets[0].values[0].index; i < tail; i++) {
- missing.push({
- id: t.id,
- index: i,
- x: $$.isTimeSeries() ? $$.getOtherTargetX(i) : i,
- value: null
- });
- }
- t.values.forEach(function (v) {
- v.index += tail;
- if (!$$.isTimeSeries()) {
- v.x += tail;
- }
- });
- t.values = missing.concat(t.values);
- });
- }
- $$.data.targets = $$.data.targets.concat(targets); // add remained
-
- // check data count because behavior needs to change when it's only one
- dataCount = $$.getMaxDataCount();
- baseTarget = $$.data.targets[0];
- baseValue = baseTarget.values[0];
-
- // Update length to flow if needed
- if (isDefined(args.to)) {
- length = 0;
- to = $$.isTimeSeries() ? $$.parseDate(args.to) : args.to;
- baseTarget.values.forEach(function (v) {
- if (v.x < to) {
- length++;
- }
- });
- } else if (isDefined(args.length)) {
- length = args.length;
- }
-
- // If only one data, update the domain to flow from left edge of the chart
- if (!orgDataCount) {
- if ($$.isTimeSeries()) {
- if (baseTarget.values.length > 1) {
- diff = baseTarget.values[baseTarget.values.length - 1].x - baseValue.x;
- } else {
- diff = baseValue.x - $$.getXDomain($$.data.targets)[0];
- }
- } else {
- diff = 1;
- }
- domain = [baseValue.x - diff, baseValue.x];
- $$.updateXDomain(null, true, true, false, domain);
- } else if (orgDataCount === 1) {
- if ($$.isTimeSeries()) {
- diff = (baseTarget.values[baseTarget.values.length - 1].x - baseValue.x) / 2;
- domain = [new Date(+baseValue.x - diff), new Date(+baseValue.x + diff)];
- $$.updateXDomain(null, true, true, false, domain);
- }
- }
-
- // Set targets
- $$.updateTargets($$.data.targets);
-
- // Redraw with new targets
- $$.redraw({
- flow: {
- index: baseValue.index,
- length: length,
- duration: isValue(args.duration) ? args.duration : $$.config.transition_duration,
- done: args.done,
- orgDataCount: orgDataCount,
- },
- withLegend: true,
- withTransition: orgDataCount > 1,
- withTrimXDomain: false,
- withUpdateXAxis: true,
- });
- };
-
- c3_chart_internal_fn.generateFlow = function (args) {
- var $$ = this, config = $$.config, d3 = $$.d3;
-
- return function () {
- var targets = args.targets,
- flow = args.flow,
- drawBar = args.drawBar,
- drawLine = args.drawLine,
- drawArea = args.drawArea,
- cx = args.cx,
- cy = args.cy,
- xv = args.xv,
- xForText = args.xForText,
- yForText = args.yForText,
- duration = args.duration;
-
- var translateX, scaleX = 1, transform,
- flowIndex = flow.index,
- flowLength = flow.length,
- flowStart = $$.getValueOnIndex($$.data.targets[0].values, flowIndex),
- flowEnd = $$.getValueOnIndex($$.data.targets[0].values, flowIndex + flowLength),
- orgDomain = $$.x.domain(), domain,
- durationForFlow = flow.duration || duration,
- done = flow.done || function () {
- },
- wait = $$.generateWait();
-
- var xgrid = $$.xgrid || d3.selectAll([]),
- xgridLines = $$.xgridLines || d3.selectAll([]),
- mainRegion = $$.mainRegion || d3.selectAll([]),
- mainText = $$.mainText || d3.selectAll([]),
- mainBar = $$.mainBar || d3.selectAll([]),
- mainLine = $$.mainLine || d3.selectAll([]),
- mainArea = $$.mainArea || d3.selectAll([]),
- mainCircle = $$.mainCircle || d3.selectAll([]);
-
- // set flag
- $$.flowing = true;
-
- // remove head data after rendered
- $$.data.targets.forEach(function (d) {
- d.values.splice(0, flowLength);
- });
-
- // update x domain to generate axis elements for flow
- domain = $$.updateXDomain(targets, true, true);
- // update elements related to x scale
- if ($$.updateXGrid) {
- $$.updateXGrid(true);
- }
-
- // generate transform to flow
- if (!flow.orgDataCount) { // if empty
- if ($$.data.targets[0].values.length !== 1) {
- translateX = $$.x(orgDomain[0]) - $$.x(domain[0]);
- } else {
- if ($$.isTimeSeries()) {
- flowStart = $$.getValueOnIndex($$.data.targets[0].values, 0);
- flowEnd = $$.getValueOnIndex($$.data.targets[0].values, $$.data.targets[0].values.length - 1);
- translateX = $$.x(flowStart.x) - $$.x(flowEnd.x);
- } else {
- translateX = diffDomain(domain) / 2;
- }
- }
- } else if (flow.orgDataCount === 1 || flowStart.x === flowEnd.x) {
- translateX = $$.x(orgDomain[0]) - $$.x(domain[0]);
- } else {
- if ($$.isTimeSeries()) {
- translateX = ($$.x(orgDomain[0]) - $$.x(domain[0]));
- } else {
- translateX = ($$.x(flowStart.x) - $$.x(flowEnd.x));
- }
- }
- scaleX = (diffDomain(orgDomain) / diffDomain(domain));
- transform = 'translate(' + translateX + ',0) scale(' + scaleX + ',1)';
-
- // hide tooltip
- $$.hideXGridFocus();
- $$.hideTooltip();
-
- d3.transition().ease('linear').duration(durationForFlow).each(function () {
- wait.add($$.axes.x.transition().call($$.xAxis));
- wait.add(mainBar.transition().attr('transform', transform));
- wait.add(mainLine.transition().attr('transform', transform));
- wait.add(mainArea.transition().attr('transform', transform));
- wait.add(mainCircle.transition().attr('transform', transform));
- wait.add(mainText.transition().attr('transform', transform));
- wait.add(mainRegion.filter($$.isRegionOnX).transition().attr('transform', transform));
- wait.add(xgrid.transition().attr('transform', transform));
- wait.add(xgridLines.transition().attr('transform', transform));
- })
- .call(wait, function () {
- var i, shapes = [], texts = [], eventRects = [];
-
- // remove flowed elements
- if (flowLength) {
- for (i = 0; i < flowLength; i++) {
- shapes.push('.' + CLASS.shape + '-' + (flowIndex + i));
- texts.push('.' + CLASS.text + '-' + (flowIndex + i));
- eventRects.push('.' + CLASS.eventRect + '-' + (flowIndex + i));
- }
- $$.svg.selectAll('.' + CLASS.shapes).selectAll(shapes).remove();
- $$.svg.selectAll('.' + CLASS.texts).selectAll(texts).remove();
- $$.svg.selectAll('.' + CLASS.eventRects).selectAll(eventRects).remove();
- $$.svg.select('.' + CLASS.xgrid).remove();
- }
-
- // draw again for removing flowed elements and reverting attr
- xgrid
- .attr('transform', null)
- .attr($$.xgridAttr);
- xgridLines
- .attr('transform', null);
- xgridLines.select('line')
- .attr("x1", config.axis_rotated ? 0 : xv)
- .attr("x2", config.axis_rotated ? $$.width : xv);
- xgridLines.select('text')
- .attr("x", config.axis_rotated ? $$.width : 0)
- .attr("y", xv);
- mainBar
- .attr('transform', null)
- .attr("d", drawBar);
- mainLine
- .attr('transform', null)
- .attr("d", drawLine);
- mainArea
- .attr('transform', null)
- .attr("d", drawArea);
- mainCircle
- .attr('transform', null)
- .attr("cx", cx)
- .attr("cy", cy);
- mainText
- .attr('transform', null)
- .attr('x', xForText)
- .attr('y', yForText)
- .style('fill-opacity', $$.opacityForText.bind($$));
- mainRegion
- .attr('transform', null);
- mainRegion.select('rect').filter($$.isRegionOnX)
- .attr("x", $$.regionX.bind($$))
- .attr("width", $$.regionWidth.bind($$));
-
- if (config.interaction_enabled) {
- $$.redrawEventRect();
- }
-
- // callback for end of flow
- done();
-
- $$.flowing = false;
- });
- };
- };
-
- c3_chart_fn.selected = function (targetId) {
- var $$ = this.internal, d3 = $$.d3;
- return d3.merge(
- $$.main.selectAll('.' + CLASS.shapes + $$.getTargetSelectorSuffix(targetId)).selectAll('.' + CLASS.shape)
- .filter(function () {
- return d3.select(this).classed(CLASS.SELECTED);
- })
- .map(function (d) {
- return d.map(function (d) {
- var data = d.__data__;
- return data.data ? data.data : data;
- });
- })
- );
- };
- c3_chart_fn.select = function (ids, indices, resetOther) {
- var $$ = this.internal, d3 = $$.d3, config = $$.config;
- if (!config.data_selection_enabled) {
- return;
- }
- $$.main.selectAll('.' + CLASS.shapes).selectAll('.' + CLASS.shape).each(function (d, i) {
- var shape = d3.select(this), id = d.data ? d.data.id : d.id,
- toggle = $$.getToggle(this, d).bind($$),
- isTargetId = config.data_selection_grouped || !ids || ids.indexOf(id) >= 0,
- isTargetIndex = !indices || indices.indexOf(i) >= 0,
- isSelected = shape.classed(CLASS.SELECTED);
- // line/area selection not supported yet
- if (shape.classed(CLASS.line) || shape.classed(CLASS.area)) {
- return;
- }
- if (isTargetId && isTargetIndex) {
- if (config.data_selection_isselectable(d) && !isSelected) {
- toggle(true, shape.classed(CLASS.SELECTED, true), d, i);
- }
- } else if (isDefined(resetOther) && resetOther) {
- if (isSelected) {
- toggle(false, shape.classed(CLASS.SELECTED, false), d, i);
- }
- }
- });
- };
- c3_chart_fn.unselect = function (ids, indices) {
- var $$ = this.internal, d3 = $$.d3, config = $$.config;
- if (!config.data_selection_enabled) {
- return;
- }
- $$.main.selectAll('.' + CLASS.shapes).selectAll('.' + CLASS.shape).each(function (d, i) {
- var shape = d3.select(this), id = d.data ? d.data.id : d.id,
- toggle = $$.getToggle(this, d).bind($$),
- isTargetId = config.data_selection_grouped || !ids || ids.indexOf(id) >= 0,
- isTargetIndex = !indices || indices.indexOf(i) >= 0,
- isSelected = shape.classed(CLASS.SELECTED);
- // line/area selection not supported yet
- if (shape.classed(CLASS.line) || shape.classed(CLASS.area)) {
- return;
- }
- if (isTargetId && isTargetIndex) {
- if (config.data_selection_isselectable(d)) {
- if (isSelected) {
- toggle(false, shape.classed(CLASS.SELECTED, false), d, i);
- }
- }
- }
- });
- };
-
- c3_chart_fn.transform = function (type, targetIds) {
- var $$ = this.internal,
- options = ['pie', 'donut'].indexOf(type) >= 0 ? {withTransform: true} : null;
- $$.transformTo(targetIds, type, options);
- };
-
- c3_chart_internal_fn.transformTo = function (targetIds, type, optionsForRedraw) {
- var $$ = this,
- withTransitionForAxis = !$$.hasArcType(),
- options = optionsForRedraw || {withTransitionForAxis: withTransitionForAxis};
- options.withTransitionForTransform = false;
- $$.transiting = false;
- $$.setTargetType(targetIds, type);
- $$.updateAndRedraw(options);
- };
-
- c3_chart_fn.groups = function (groups) {
- var $$ = this.internal, config = $$.config;
- if (isUndefined(groups)) {
- return config.data_groups;
- }
- config.data_groups = groups;
- $$.redraw();
- return config.data_groups;
- };
-
- c3_chart_fn.xgrids = function (grids) {
- var $$ = this.internal, config = $$.config;
- if (!grids) {
- return config.grid_x_lines;
- }
- config.grid_x_lines = grids;
- $$.redrawWithoutRescale();
- return config.grid_x_lines;
- };
- c3_chart_fn.xgrids.add = function (grids) {
- var $$ = this.internal;
- return this.xgrids($$.config.grid_x_lines.concat(grids ? grids : []));
- };
- c3_chart_fn.xgrids.remove = function (params) { // TODO: multiple
- var $$ = this.internal;
- $$.removeGridLines(params, true);
- };
-
- c3_chart_fn.ygrids = function (grids) {
- var $$ = this.internal, config = $$.config;
- if (!grids) {
- return config.grid_y_lines;
- }
- config.grid_y_lines = grids;
- $$.redrawWithoutRescale();
- return config.grid_y_lines;
- };
- c3_chart_fn.ygrids.add = function (grids) {
- var $$ = this.internal;
- return this.ygrids($$.config.grid_y_lines.concat(grids ? grids : []));
- };
- c3_chart_fn.ygrids.remove = function (params) { // TODO: multiple
- var $$ = this.internal;
- $$.removeGridLines(params, false);
- };
-
- c3_chart_fn.regions = function (regions) {
- var $$ = this.internal, config = $$.config;
- if (!regions) {
- return config.regions;
- }
- config.regions = regions;
- $$.redrawWithoutRescale();
- return config.regions;
- };
- c3_chart_fn.regions.add = function (regions) {
- var $$ = this.internal, config = $$.config;
- if (!regions) {
- return config.regions;
- }
- config.regions = config.regions.concat(regions);
- $$.redrawWithoutRescale();
- return config.regions;
- };
- c3_chart_fn.regions.remove = function (options) {
- var $$ = this.internal, config = $$.config,
- duration, classes, regions;
-
- options = options || {};
- duration = $$.getOption(options, "duration", config.transition_duration);
- classes = $$.getOption(options, "classes", [CLASS.region]);
-
- regions = $$.main.select('.' + CLASS.regions).selectAll(classes.map(function (c) {
- return '.' + c;
- }));
- (duration ? regions.transition().duration(duration) : regions)
- .style('opacity', 0)
- .remove();
-
- config.regions = config.regions.filter(function (region) {
- var found = false;
- if (!region['class']) {
- return true;
- }
- region['class'].split(' ').forEach(function (c) {
- if (classes.indexOf(c) >= 0) {
- found = true;
- }
- });
- return !found;
- });
-
- return config.regions;
- };
-
- c3_chart_fn.data = function (targetIds) {
- var targets = this.internal.data.targets;
- return typeof targetIds === 'undefined' ? targets : targets.filter(function (t) {
- return [].concat(targetIds).indexOf(t.id) >= 0;
- });
- };
- c3_chart_fn.data.shown = function (targetIds) {
- return this.internal.filterTargetsToShow(this.data(targetIds));
- };
- c3_chart_fn.data.values = function (targetId) {
- var targets, values = null;
- if (targetId) {
- targets = this.data(targetId);
- values = targets[0] ? targets[0].values.map(function (d) {
- return d.value;
- }) : null;
- }
- return values;
- };
- c3_chart_fn.data.names = function (names) {
- this.internal.clearLegendItemTextBoxCache();
- return this.internal.updateDataAttributes('names', names);
- };
- c3_chart_fn.data.colors = function (colors) {
- return this.internal.updateDataAttributes('colors', colors);
- };
- c3_chart_fn.data.axes = function (axes) {
- return this.internal.updateDataAttributes('axes', axes);
- };
-
- c3_chart_fn.category = function (i, category) {
- var $$ = this.internal, config = $$.config;
- if (arguments.length > 1) {
- config.axis_x_categories[i] = category;
- $$.redraw();
- }
- return config.axis_x_categories[i];
- };
- c3_chart_fn.categories = function (categories) {
- var $$ = this.internal, config = $$.config;
- if (!arguments.length) {
- return config.axis_x_categories;
- }
- config.axis_x_categories = categories;
- $$.redraw();
- return config.axis_x_categories;
- };
-
- // TODO: fix
- c3_chart_fn.color = function (id) {
- var $$ = this.internal;
- return $$.color(id); // more patterns
- };
-
- c3_chart_fn.x = function (x) {
- var $$ = this.internal;
- if (arguments.length) {
- $$.updateTargetX($$.data.targets, x);
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true});
- }
- return $$.data.xs;
- };
- c3_chart_fn.xs = function (xs) {
- var $$ = this.internal;
- if (arguments.length) {
- $$.updateTargetXs($$.data.targets, xs);
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true});
- }
- return $$.data.xs;
- };
-
- c3_chart_fn.axis = function () {
- };
- c3_chart_fn.axis.labels = function (labels) {
- var $$ = this.internal;
- if (arguments.length) {
- Object.keys(labels).forEach(function (axisId) {
- $$.setAxisLabelText(axisId, labels[axisId]);
- });
- $$.updateAxisLabels();
- }
- // TODO: return some values?
- };
- c3_chart_fn.axis.max = function (max) {
- var $$ = this.internal, config = $$.config;
- if (arguments.length) {
- if (typeof max === 'object') {
- if (isValue(max.x)) {
- config.axis_x_max = max.x;
- }
- if (isValue(max.y)) {
- config.axis_y_max = max.y;
- }
- if (isValue(max.y2)) {
- config.axis_y2_max = max.y2;
- }
- } else {
- config.axis_y_max = config.axis_y2_max = max;
- }
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true});
- } else {
- return {
- x: config.axis_x_max,
- y: config.axis_y_max,
- y2: config.axis_y2_max
- };
- }
- };
- c3_chart_fn.axis.min = function (min) {
- var $$ = this.internal, config = $$.config;
- if (arguments.length) {
- if (typeof min === 'object') {
- if (isValue(min.x)) {
- config.axis_x_min = min.x;
- }
- if (isValue(min.y)) {
- config.axis_y_min = min.y;
- }
- if (isValue(min.y2)) {
- config.axis_y2_min = min.y2;
- }
- } else {
- config.axis_y_min = config.axis_y2_min = min;
- }
- $$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true});
- } else {
- return {
- x: config.axis_x_min,
- y: config.axis_y_min,
- y2: config.axis_y2_min
- };
- }
- };
- c3_chart_fn.axis.range = function (range) {
- if (arguments.length) {
- if (isDefined(range.max)) {
- this.axis.max(range.max);
- }
- if (isDefined(range.min)) {
- this.axis.min(range.min);
- }
- } else {
- return {
- max: this.axis.max(),
- min: this.axis.min()
- };
- }
- };
-
- c3_chart_fn.legend = function () {
- };
- c3_chart_fn.legend.show = function (targetIds) {
- var $$ = this.internal;
- $$.showLegend($$.mapToTargetIds(targetIds));
- $$.updateAndRedraw({withLegend: true});
- };
- c3_chart_fn.legend.hide = function (targetIds) {
- var $$ = this.internal;
- $$.hideLegend($$.mapToTargetIds(targetIds));
- $$.updateAndRedraw({withLegend: true});
- };
-
- c3_chart_fn.resize = function (size) {
- var $$ = this.internal, config = $$.config;
- config.size_width = size ? size.width : null;
- config.size_height = size ? size.height : null;
- this.flush();
- };
-
- c3_chart_fn.flush = function () {
- var $$ = this.internal;
- $$.updateAndRedraw({withLegend: true, withTransition: false, withTransitionForTransform: false});
- };
-
- c3_chart_fn.destroy = function () {
- var $$ = this.internal;
- $$.data.targets = undefined;
- $$.data.xs = {};
- $$.selectChart.classed('c3', false).html("");
- window.clearInterval($$.intervalForObserveInserted);
- window.onresize = null;
- };
-
- c3_chart_fn.tooltip = function () {
- };
- c3_chart_fn.tooltip.show = function (args) {
- var $$ = this.internal, index, mouse;
-
- // determine mouse position on the chart
- if (args.mouse) {
- mouse = args.mouse;
- }
-
- // determine focus data
- if (args.data) {
- if ($$.isMultipleX()) {
- // if multiple xs, target point will be determined by mouse
- mouse = [$$.x(args.data.x), $$.getYScale(args.data.id)(args.data.value)];
- index = null;
- } else {
- // TODO: when tooltip_grouped = false
- index = isValue(args.data.index) ? args.data.index : $$.getIndexByX(args.data.x);
- }
- }
- else if (typeof args.x !== 'undefined') {
- index = $$.getIndexByX(args.x);
- }
- else if (typeof args.index !== 'undefined') {
- index = args.index;
- }
-
- // emulate mouse events to show
- $$.dispatchEvent('mouseover', index, mouse);
- $$.dispatchEvent('mousemove', index, mouse);
- };
- c3_chart_fn.tooltip.hide = function () {
- // TODO: get target data by checking the state of focus
- this.internal.dispatchEvent('mouseout', 0);
- };
-
- // Features:
- // 1. category axis
- // 2. ceil values of translate/x/y to int for half pixel antialiasing
- // 3. multiline tick text
- var tickTextCharSize;
-
- function c3_axis(d3, params) {
- var scale = d3.scale.linear(), orient = "bottom", innerTickSize = 6, outerTickSize, tickPadding = 3, tickValues = null, tickFormat, tickArguments;
-
- var tickOffset = 0, tickCulling = true, tickCentered;
-
- params = params || {};
- outerTickSize = params.withOuterTick ? 6 : 0;
-
- function axisX(selection, x) {
- selection.attr("transform", function (d) {
- return "translate(" + Math.ceil(x(d) + tickOffset) + ", 0)";
- });
- }
-
- function axisY(selection, y) {
- selection.attr("transform", function (d) {
- return "translate(0," + Math.ceil(y(d)) + ")";
- });
- }
-
- function scaleExtent(domain) {
- var start = domain[0], stop = domain[domain.length - 1];
- return start < stop ? [start, stop] : [stop, start];
- }
-
- function generateTicks(scale) {
- var i, domain, ticks = [];
- if (scale.ticks) {
- return scale.ticks.apply(scale, tickArguments);
- }
- domain = scale.domain();
- for (i = Math.ceil(domain[0]); i < domain[1]; i++) {
- ticks.push(i);
- }
- if (ticks.length > 0 && ticks[0] > 0) {
- ticks.unshift(ticks[0] - (ticks[1] - ticks[0]));
- }
- return ticks;
- }
-
- function copyScale() {
- var newScale = scale.copy(), domain;
- if (params.isCategory) {
- domain = scale.domain();
- newScale.domain([domain[0], domain[1] - 1]);
- }
- return newScale;
- }
-
- function textFormatted(v) {
- return tickFormat ? tickFormat(v) : v;
- }
-
- function getSizeFor1Char(tick) {
- if (tickTextCharSize) {
- return tickTextCharSize;
- }
- var size = {
- h: 11.5,
- w: 5.5
- };
- tick.select('text').text(textFormatted).each(function (d) {
- var box = this.getBoundingClientRect(),
- text = textFormatted(d),
- h = box.height,
- w = text ? (box.width / text.length) : undefined;
- if (h && w) {
- size.h = h;
- size.w = w;
- }
- }).text('');
- tickTextCharSize = size;
- return size;
- }
-
- function axis(g) {
- g.each(function () {
- var g = d3.select(this);
- var scale0 = this.__chart__ || scale, scale1 = this.__chart__ = copyScale();
-
- var ticks = tickValues ? tickValues : generateTicks(scale1),
- tick = g.selectAll(".tick").data(ticks, scale1),
- tickEnter = tick.enter().insert("g", ".domain").attr("class", "tick").style("opacity", 1e-6),
- // MEMO: No exit transition. The reason is this transition affects max tick width calculation because old tick will be included in the ticks.
- tickExit = tick.exit().remove(),
- tickUpdate = d3.transition(tick).style("opacity", 1),
- tickTransform, tickX, tickY;
-
- var range = scale.rangeExtent ? scale.rangeExtent() : scaleExtent(scale.range()),
- path = g.selectAll(".domain").data([0]),
- pathUpdate = (path.enter().append("path").attr("class", "domain"), d3.transition(path));
- tickEnter.append("line");
- tickEnter.append("text");
-
- var lineEnter = tickEnter.select("line"),
- lineUpdate = tickUpdate.select("line"),
- textEnter = tickEnter.select("text"),
- textUpdate = tickUpdate.select("text");
-
- if (params.isCategory) {
- tickOffset = Math.ceil((scale1(1) - scale1(0)) / 2);
- tickX = tickCentered ? 0 : tickOffset;
- tickY = tickCentered ? tickOffset : 0;
- } else {
- tickOffset = tickX = 0;
- }
-
- var text, tspan, sizeFor1Char = getSizeFor1Char(g.select('.tick')), counts = [];
- var tickLength = Math.max(innerTickSize, 0) + tickPadding,
- isVertical = orient === 'left' || orient === 'right';
-
- // this should be called only when category axis
- function splitTickText(d, maxWidth) {
- var tickText = textFormatted(d),
- subtext, spaceIndex, textWidth, splitted = [];
-
- if (Object.prototype.toString.call(tickText) === "[object Array]") {
- return tickText;
- }
-
- if (!maxWidth || maxWidth <= 0) {
- maxWidth = isVertical ? 95 : params.isCategory ? (Math.ceil(scale1(ticks[1]) - scale1(ticks[0])) - 12) : 110;
- }
-
- function split(splitted, text) {
- spaceIndex = undefined;
- for (var i = 1; i < text.length; i++) {
- if (text.charAt(i) === ' ') {
- spaceIndex = i;
- }
- subtext = text.substr(0, i + 1);
- textWidth = sizeFor1Char.w * subtext.length;
- // if text width gets over tick width, split by space index or crrent index
- if (maxWidth < textWidth) {
- return split(
- splitted.concat(text.substr(0, spaceIndex ? spaceIndex : i)),
- text.slice(spaceIndex ? spaceIndex + 1 : i)
- );
- }
- }
- return splitted.concat(text);
- }
-
- return split(splitted, tickText + "");
- }
-
- function tspanDy(d, i) {
- var dy = sizeFor1Char.h;
- if (i === 0) {
- if (orient === 'left' || orient === 'right') {
- dy = -((counts[d.index] - 1) * (sizeFor1Char.h / 2) - 3);
- } else {
- dy = ".71em";
- }
- }
- return dy;
- }
-
- function tickSize(d) {
- var tickPosition = scale(d) + (tickCentered ? 0 : tickOffset);
- return range[0] < tickPosition && tickPosition < range[1] ? innerTickSize : 0;
- }
-
- text = tick.select("text");
- tspan = text.selectAll('tspan')
- .data(function (d, i) {
- var splitted = params.tickMultiline ? splitTickText(d, params.tickWidth) : [].concat(textFormatted(d));
- counts[i] = splitted.length;
- return splitted.map(function (s) {
- return {index: i, splitted: s};
- });
- });
- tspan.enter().append('tspan');
- tspan.exit().remove();
- tspan.text(function (d) {
- return d.splitted;
- });
-
- switch (orient) {
- case "bottom":
- {
- tickTransform = axisX;
- lineEnter.attr("y2", innerTickSize);
- textEnter.attr("y", tickLength);
- lineUpdate.attr("x1", tickX).attr("x2", tickX).attr("y2", tickSize);
- textUpdate.attr("x", 0).attr("y", tickLength);
- text.style("text-anchor", "middle");
- tspan.attr('x', 0).attr("dy", tspanDy);
- pathUpdate.attr("d", "M" + range[0] + "," + outerTickSize + "V0H" + range[1] + "V" + outerTickSize);
- break;
- }
- case "top":
- {
- tickTransform = axisX;
- lineEnter.attr("y2", -innerTickSize);
- textEnter.attr("y", -tickLength);
- lineUpdate.attr("x2", 0).attr("y2", -innerTickSize);
- textUpdate.attr("x", 0).attr("y", -tickLength);
- text.style("text-anchor", "middle");
- tspan.attr('x', 0).attr("dy", "0em");
- pathUpdate.attr("d", "M" + range[0] + "," + -outerTickSize + "V0H" + range[1] + "V" + -outerTickSize);
- break;
- }
- case "left":
- {
- tickTransform = axisY;
- lineEnter.attr("x2", -innerTickSize);
- textEnter.attr("x", -tickLength);
- lineUpdate.attr("x2", -innerTickSize).attr("y1", tickY).attr("y2", tickY);
- textUpdate.attr("x", -tickLength).attr("y", tickOffset);
- text.style("text-anchor", "end");
- tspan.attr('x', -tickLength).attr("dy", tspanDy);
- pathUpdate.attr("d", "M" + -outerTickSize + "," + range[0] + "H0V" + range[1] + "H" + -outerTickSize);
- break;
- }
- case "right":
- {
- tickTransform = axisY;
- lineEnter.attr("x2", innerTickSize);
- textEnter.attr("x", tickLength);
- lineUpdate.attr("x2", innerTickSize).attr("y2", 0);
- textUpdate.attr("x", tickLength).attr("y", 0);
- text.style("text-anchor", "start");
- tspan.attr('x', tickLength).attr("dy", tspanDy);
- pathUpdate.attr("d", "M" + outerTickSize + "," + range[0] + "H0V" + range[1] + "H" + outerTickSize);
- break;
- }
- }
- if (scale1.rangeBand) {
- var x = scale1, dx = x.rangeBand() / 2;
- scale0 = scale1 = function (d) {
- return x(d) + dx;
- };
- } else if (scale0.rangeBand) {
- scale0 = scale1;
- } else {
- tickExit.call(tickTransform, scale1);
- }
- tickEnter.call(tickTransform, scale0);
- tickUpdate.call(tickTransform, scale1);
- });
- }
-
- axis.scale = function (x) {
- if (!arguments.length) {
- return scale;
- }
- scale = x;
- return axis;
- };
- axis.orient = function (x) {
- if (!arguments.length) {
- return orient;
- }
- orient = x in {top: 1, right: 1, bottom: 1, left: 1} ? x + "" : "bottom";
- return axis;
- };
- axis.tickFormat = function (format) {
- if (!arguments.length) {
- return tickFormat;
- }
- tickFormat = format;
- return axis;
- };
- axis.tickCentered = function (isCentered) {
- if (!arguments.length) {
- return tickCentered;
- }
- tickCentered = isCentered;
- return axis;
- };
- axis.tickOffset = function () { // This will be overwritten when normal x axis
- return tickOffset;
- };
- axis.ticks = function () {
- if (!arguments.length) {
- return tickArguments;
- }
- tickArguments = arguments;
- return axis;
- };
- axis.tickCulling = function (culling) {
- if (!arguments.length) {
- return tickCulling;
- }
- tickCulling = culling;
- return axis;
- };
- axis.tickValues = function (x) {
- if (typeof x === 'function') {
- tickValues = function () {
- return x(scale.domain());
- };
- }
- else {
- if (!arguments.length) {
- return tickValues;
- }
- tickValues = x;
- }
- return axis;
- };
- return axis;
- }
-
- // fix problems using c3 with phantomjs #578
- Function.prototype.bind = Function.prototype.bind || function (thisp) {
- var fn = this;
- return function () {
- return fn.apply(thisp, arguments);
- };
- };
-
- if (typeof define === 'function' && define.amd) {
- define("c3", ["d3"], c3);
- } else if ('undefined' !== typeof exports && 'undefined' !== typeof module) {
- module.exports = c3;
- } else {
- window.c3 = c3;
- }
-
-})(window);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3.min.js
deleted file mode 100644
index 3c335da3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/c3.min.js
+++ /dev/null
@@ -1,2665 +0,0 @@
-!function (a) {
- "use strict";
- function b(a) {
- var b = this.internal = new c(this);
- b.loadConfig(a), b.init(), function d(a, b, c) {
- Object.keys(a).forEach(function (e) {
- b[e] = a[e].bind(c), Object.keys(a[e]).length > 0 && d(a[e], b[e], c)
- })
- }(e, this, this)
- }
-
- function c(b) {
- var c = this;
- c.d3 = a.d3 ? a.d3 : "undefined" != typeof require ? require("d3") : void 0, c.api = b, c.config = c.getDefaultConfig(), c.data = {}, c.cache = {}, c.axes = {}
- }
-
- function d(a, b) {
- function c(a, b) {
- a.attr("transform", function (a) {
- return "translate(" + Math.ceil(b(a) + t) + ", 0)"
- })
- }
-
- function d(a, b) {
- a.attr("transform", function (a) {
- return "translate(0," + Math.ceil(b(a)) + ")"
- })
- }
-
- function e(a) {
- var b = a[0], c = a[a.length - 1];
- return c > b ? [b, c] : [c, b]
- }
-
- function f(a) {
- var b, c, d = [];
- if (a.ticks)return a.ticks.apply(a, m);
- for (c = a.domain(), b = Math.ceil(c[0]); b < c[1]; b++)d.push(b);
- return d.length > 0 && d[0] > 0 && d.unshift(d[0] - (d[1] - d[0])), d
- }
-
- function g() {
- var a, c = o.copy();
- return b.isCategory && (a = o.domain(), c.domain([a[0], a[1] - 1])), c
- }
-
- function h(a) {
- return l ? l(a) : a
- }
-
- function i(a) {
- if (w)return w;
- var b = {h: 11.5, w: 5.5};
- return a.select("text").text(h).each(function (a) {
- var c = this.getBoundingClientRect(), d = h(a), e = c.height, f = d ? c.width / d.length : void 0;
- e && f && (b.h = e, b.w = f)
- }).text(""), w = b, b
- }
-
- function j(j) {
- j.each(function () {
- function j(a, c) {
- function d(a, b) {
- f = void 0;
- for (var h = 1; h < b.length; h++)if (" " === b.charAt(h) && (f = h), e = b.substr(0, h + 1), g = O.w * e.length, g > c)return d(a.concat(b.substr(0, f ? f : h)), b.slice(f ? f + 1 : h));
- return a.concat(b)
- }
-
- var e, f, g, i = h(a), j = [];
- return "[object Array]" === Object.prototype.toString.call(i) ? i : ((!c || 0 >= c) && (c = R ? 95 : b.isCategory ? Math.ceil(z(A[1]) - z(A[0])) - 12 : 110), d(j, i + ""))
- }
-
- function l(a, b) {
- var c = O.h;
- return 0 === b && (c = "left" === p || "right" === p ? -((P[a.index] - 1) * (O.h / 2) - 3) : ".71em"), c
- }
-
- function m(a) {
- var b = o(a) + (n ? 0 : t);
- return F[0] < b && b < F[1] ? q : 0
- }
-
- var u, v, w, x = a.select(this), y = this.__chart__ || o, z = this.__chart__ = g(), A = s ? s : f(z), B = x.selectAll(".tick").data(A, z), C = B.enter().insert("g", ".domain").attr("class", "tick").style("opacity", 1e-6), D = B.exit().remove(), E = a.transition(B).style("opacity", 1), F = o.rangeExtent ? o.rangeExtent() : e(o.range()), G = x.selectAll(".domain").data([0]), H = (G.enter().append("path").attr("class", "domain"), a.transition(G));
- C.append("line"), C.append("text");
- var I = C.select("line"), J = E.select("line"), K = C.select("text"), L = E.select("text");
- b.isCategory ? (t = Math.ceil((z(1) - z(0)) / 2), v = n ? 0 : t, w = n ? t : 0) : t = v = 0;
- var M, N, O = i(x.select(".tick")), P = [], Q = Math.max(q, 0) + r, R = "left" === p || "right" === p;
- switch (M = B.select("text"), N = M.selectAll("tspan").data(function (a, c) {
- var d = b.tickMultiline ? j(a, b.tickWidth) : [].concat(h(a));
- return P[c] = d.length, d.map(function (a) {
- return {index: c, splitted: a}
- })
- }), N.enter().append("tspan"), N.exit().remove(), N.text(function (a) {
- return a.splitted
- }), p) {
- case"bottom":
- u = c, I.attr("y2", q), K.attr("y", Q), J.attr("x1", v).attr("x2", v).attr("y2", m), L.attr("x", 0).attr("y", Q), M.style("text-anchor", "middle"), N.attr("x", 0).attr("dy", l), H.attr("d", "M" + F[0] + "," + k + "V0H" + F[1] + "V" + k);
- break;
- case"top":
- u = c, I.attr("y2", -q), K.attr("y", -Q), J.attr("x2", 0).attr("y2", -q), L.attr("x", 0).attr("y", -Q), M.style("text-anchor", "middle"), N.attr("x", 0).attr("dy", "0em"), H.attr("d", "M" + F[0] + "," + -k + "V0H" + F[1] + "V" + -k);
- break;
- case"left":
- u = d, I.attr("x2", -q), K.attr("x", -Q), J.attr("x2", -q).attr("y1", w).attr("y2", w), L.attr("x", -Q).attr("y", t), M.style("text-anchor", "end"), N.attr("x", -Q).attr("dy", l), H.attr("d", "M" + -k + "," + F[0] + "H0V" + F[1] + "H" + -k);
- break;
- case"right":
- u = d, I.attr("x2", q), K.attr("x", Q), J.attr("x2", q).attr("y2", 0), L.attr("x", Q).attr("y", 0), M.style("text-anchor", "start"), N.attr("x", Q).attr("dy", l), H.attr("d", "M" + k + "," + F[0] + "H0V" + F[1] + "H" + k)
- }
- if (z.rangeBand) {
- var S = z, T = S.rangeBand() / 2;
- y = z = function (a) {
- return S(a) + T
- }
- } else y.rangeBand ? y = z : D.call(u, z);
- C.call(u, y), E.call(u, z)
- })
- }
-
- var k, l, m, n, o = a.scale.linear(), p = "bottom", q = 6, r = 3, s = null, t = 0, u = !0;
- return b = b || {}, k = b.withOuterTick ? 6 : 0, j.scale = function (a) {
- return arguments.length ? (o = a, j) : o
- }, j.orient = function (a) {
- return arguments.length ? (p = a in{top: 1, right: 1, bottom: 1, left: 1} ? a + "" : "bottom", j) : p
- }, j.tickFormat = function (a) {
- return arguments.length ? (l = a, j) : l
- }, j.tickCentered = function (a) {
- return arguments.length ? (n = a, j) : n
- }, j.tickOffset = function () {
- return t
- }, j.ticks = function () {
- return arguments.length ? (m = arguments, j) : m
- }, j.tickCulling = function (a) {
- return arguments.length ? (u = a, j) : u
- }, j.tickValues = function (a) {
- if ("function" == typeof a)s = function () {
- return a(o.domain())
- }; else {
- if (!arguments.length)return s;
- s = a
- }
- return j
- }, j
- }
-
- var e, f, g = {version: "0.4.8"};
- g.generate = function (a) {
- return new b(a)
- }, g.chart = {
- fn: b.prototype,
- internal: {fn: c.prototype}
- }, e = g.chart.fn, f = g.chart.internal.fn, f.init = function () {
- var a = this, b = a.config;
- if (a.initParams(), b.data_url)a.convertUrlToData(b.data_url, b.data_mimeType, b.data_keys, a.initWithData); else if (b.data_json)a.initWithData(a.convertJsonToData(b.data_json, b.data_keys)); else if (b.data_rows)a.initWithData(a.convertRowsToData(b.data_rows)); else {
- if (!b.data_columns)throw Error("url or json or rows or columns is required.");
- a.initWithData(a.convertColumnsToData(b.data_columns))
- }
- }, f.initParams = function () {
- var a = this, b = a.d3, c = a.config;
- a.clipId = "c3-" + +new Date + "-clip", a.clipIdForXAxis = a.clipId + "-xaxis", a.clipIdForYAxis = a.clipId + "-yaxis", a.clipIdForGrid = a.clipId + "-grid", a.clipIdForSubchart = a.clipId + "-subchart", a.clipPath = a.getClipPath(a.clipId), a.clipPathForXAxis = a.getClipPath(a.clipIdForXAxis), a.clipPathForYAxis = a.getClipPath(a.clipIdForYAxis), a.clipPathForGrid = a.getClipPath(a.clipIdForGrid), a.clipPathForSubchart = a.getClipPath(a.clipIdForSubchart), a.dragStart = null, a.dragging = !1, a.flowing = !1, a.cancelClick = !1, a.mouseover = !1, a.transiting = !1, a.color = a.generateColor(), a.levelColor = a.generateLevelColor(), a.dataTimeFormat = c.data_xLocaltime ? b.time.format : b.time.format.utc, a.axisTimeFormat = c.axis_x_localtime ? b.time.format : b.time.format.utc, a.defaultAxisTimeFormat = a.axisTimeFormat.multi([[".%L", function (a) {
- return a.getMilliseconds()
- }], [":%S", function (a) {
- return a.getSeconds()
- }], ["%I:%M", function (a) {
- return a.getMinutes()
- }], ["%I %p", function (a) {
- return a.getHours()
- }], ["%-m/%-d", function (a) {
- return a.getDay() && 1 !== a.getDate()
- }], ["%-m/%-d", function (a) {
- return 1 !== a.getDate()
- }], ["%-m/%-d", function (a) {
- return a.getMonth()
- }], ["%Y/%-m/%-d", function () {
- return !0
- }]]), a.hiddenTargetIds = [], a.hiddenLegendIds = [], a.focusedTargetIds = [], a.defocusedTargetIds = [], a.xOrient = c.axis_rotated ? "left" : "bottom", a.yOrient = c.axis_rotated ? c.axis_y_inner ? "top" : "bottom" : c.axis_y_inner ? "right" : "left", a.y2Orient = c.axis_rotated ? c.axis_y2_inner ? "bottom" : "top" : c.axis_y2_inner ? "left" : "right", a.subXOrient = c.axis_rotated ? "left" : "bottom", a.isLegendRight = "right" === c.legend_position, a.isLegendInset = "inset" === c.legend_position, a.isLegendTop = "top-left" === c.legend_inset_anchor || "top-right" === c.legend_inset_anchor, a.isLegendLeft = "top-left" === c.legend_inset_anchor || "bottom-left" === c.legend_inset_anchor, a.legendStep = 0, a.legendItemWidth = 0, a.legendItemHeight = 0, a.currentMaxTickWidths = {
- x: 0,
- y: 0,
- y2: 0
- }, a.rotated_padding_left = 30, a.rotated_padding_right = c.axis_rotated && !c.axis_x_show ? 0 : 30, a.rotated_padding_top = 5, a.withoutFadeIn = {}, a.intervalForObserveInserted = void 0, a.axes.subx = b.selectAll([])
- }, f.initChartElements = function () {
- this.initBar && this.initBar(), this.initLine && this.initLine(), this.initArc && this.initArc(), this.initGauge && this.initGauge(), this.initText && this.initText()
- }, f.initWithData = function (b) {
- var c, d, e = this, f = e.d3, g = e.config, h = !0;
- e.initPie && e.initPie(), e.initBrush && e.initBrush(), e.initZoom && e.initZoom(), e.selectChart = "function" == typeof g.bindto.node ? g.bindto : f.select(g.bindto), e.selectChart.empty() && (e.selectChart = f.select(document.createElement("div")).style("opacity", 0), e.observeInserted(e.selectChart), h = !1), e.selectChart.html("").classed("c3", !0), e.data.xs = {}, e.data.targets = e.convertDataToTargets(b), g.data_filter && (e.data.targets = e.data.targets.filter(g.data_filter)), g.data_hide && e.addHiddenTargetIds(g.data_hide === !0 ? e.mapToIds(e.data.targets) : g.data_hide), g.legend_hide && e.addHiddenLegendIds(g.legend_hide === !0 ? e.mapToIds(e.data.targets) : g.legend_hide), e.hasType("gauge") && (g.legend_show = !1), e.updateSizes(), e.updateScales(), e.x.domain(f.extent(e.getXDomain(e.data.targets))), e.y.domain(e.getYDomain(e.data.targets, "y")), e.y2.domain(e.getYDomain(e.data.targets, "y2")), e.subX.domain(e.x.domain()), e.subY.domain(e.y.domain()), e.subY2.domain(e.y2.domain()), e.orgXDomain = e.x.domain(), e.brush && e.brush.scale(e.subX), g.zoom_enabled && e.zoom.scale(e.x), e.svg = e.selectChart.append("svg").style("overflow", "hidden").on("mouseenter", function () {
- return g.onmouseover.call(e)
- }).on("mouseleave", function () {
- return g.onmouseout.call(e)
- }), c = e.svg.append("defs"), e.clipChart = e.appendClip(c, e.clipId), e.clipXAxis = e.appendClip(c, e.clipIdForXAxis), e.clipYAxis = e.appendClip(c, e.clipIdForYAxis), e.clipGrid = e.appendClip(c, e.clipIdForGrid), e.clipSubchart = e.appendClip(c, e.clipIdForSubchart), e.updateSvgSize(), d = e.main = e.svg.append("g").attr("transform", e.getTranslate("main")), e.initSubchart && e.initSubchart(), e.initTooltip && e.initTooltip(), e.initLegend && e.initLegend(), d.append("text").attr("class", i.text + " " + i.empty).attr("text-anchor", "middle").attr("dominant-baseline", "middle"), e.initRegion(), e.initGrid(), d.append("g").attr("clip-path", e.clipPath).attr("class", i.chart), g.grid_lines_front && e.initGridLines(), e.initEventRect(), e.initChartElements(), d.insert("rect", g.zoom_privileged ? null : "g." + i.regions).attr("class", i.zoomRect).attr("width", e.width).attr("height", e.height).style("opacity", 0).on("dblclick.zoom", null), g.axis_x_extent && e.brush.extent(e.getDefaultExtent()), e.initAxis(), e.updateTargets(e.data.targets), h && (e.updateDimension(), e.config.oninit.call(e), e.redraw({
- withTransform: !0,
- withUpdateXDomain: !0,
- withUpdateOrgXDomain: !0,
- withTransitionForAxis: !1
- })), null == a.onresize && (a.onresize = e.generateResize()), a.onresize.add && (a.onresize.add(function () {
- g.onresize.call(e)
- }), a.onresize.add(function () {
- e.api.flush()
- }), a.onresize.add(function () {
- g.onresized.call(e)
- })), e.api.element = e.selectChart.node()
- }, f.smoothLines = function (a, b) {
- var c = this;
- "grid" === b && a.each(function () {
- var a = c.d3.select(this), b = a.attr("x1"), d = a.attr("x2"), e = a.attr("y1"), f = a.attr("y2");
- a.attr({x1: Math.ceil(b), x2: Math.ceil(d), y1: Math.ceil(e), y2: Math.ceil(f)})
- })
- }, f.updateSizes = function () {
- var a = this, b = a.config, c = a.legend ? a.getLegendHeight() : 0, d = a.legend ? a.getLegendWidth() : 0, e = a.isLegendRight || a.isLegendInset ? 0 : c, f = a.hasArcType(), g = b.axis_rotated || f ? 0 : a.getHorizontalAxisHeight("x"), h = b.subchart_show && !f ? b.subchart_size_height + g : 0;
- a.currentWidth = a.getCurrentWidth(), a.currentHeight = a.getCurrentHeight(), a.margin = b.axis_rotated ? {
- top: a.getHorizontalAxisHeight("y2") + a.getCurrentPaddingTop(),
- right: f ? 0 : a.getCurrentPaddingRight(),
- bottom: a.getHorizontalAxisHeight("y") + e + a.getCurrentPaddingBottom(),
- left: h + (f ? 0 : a.getCurrentPaddingLeft())
- } : {
- top: 4 + a.getCurrentPaddingTop(),
- right: f ? 0 : a.getCurrentPaddingRight(),
- bottom: g + h + e + a.getCurrentPaddingBottom(),
- left: f ? 0 : a.getCurrentPaddingLeft()
- }, a.margin2 = b.axis_rotated ? {
- top: a.margin.top,
- right: 0 / 0,
- bottom: 20 + e,
- left: a.rotated_padding_left
- } : {top: a.currentHeight - h - e, right: 0 / 0, bottom: g + e, left: a.margin.left}, a.margin3 = {
- top: 0,
- right: 0 / 0,
- bottom: 0,
- left: 0
- }, a.updateSizeForLegend && a.updateSizeForLegend(c, d), a.width = a.currentWidth - a.margin.left - a.margin.right, a.height = a.currentHeight - a.margin.top - a.margin.bottom, a.width < 0 && (a.width = 0), a.height < 0 && (a.height = 0), a.width2 = b.axis_rotated ? a.margin.left - a.rotated_padding_left - a.rotated_padding_right : a.width, a.height2 = b.axis_rotated ? a.height : a.currentHeight - a.margin2.top - a.margin2.bottom, a.width2 < 0 && (a.width2 = 0), a.height2 < 0 && (a.height2 = 0), a.arcWidth = a.width - (a.isLegendRight ? d + 10 : 0), a.arcHeight = a.height - (a.isLegendRight ? 0 : 10), a.hasType("gauge") && (a.arcHeight += a.height - a.getGaugeLabelHeight()), a.updateRadius && a.updateRadius(), a.isLegendRight && f && (a.margin3.left = a.arcWidth / 2 + 1.1 * a.radiusExpanded)
- }, f.updateTargets = function (a) {
- var b = this, c = b.config;
- b.updateTargetsForText(a), b.updateTargetsForBar(a), b.updateTargetsForLine(a), b.updateTargetsForArc && b.updateTargetsForArc(a), b.updateTargetsForSubchart && b.updateTargetsForSubchart(a), b.svg.selectAll("." + i.target).filter(function (a) {
- return b.isTargetToShow(a.id)
- }).transition().duration(c.transition_duration).style("opacity", 1)
- }, f.redraw = function (a, b) {
- var c, d, e, f, g, h, j, k, l, m, n, o, p, q, r, s, u, v, w, x, y, z, A, B, C, D, E, F, G, H = this, I = H.main, J = H.d3, K = H.config, L = H.getShapeIndices(H.isAreaType), M = H.getShapeIndices(H.isBarType), N = H.getShapeIndices(H.isLineType), O = H.hasArcType(), P = H.filterTargetsToShow(H.data.targets), Q = H.xv.bind(H);
- if (a = a || {}, c = t(a, "withY", !0), d = t(a, "withSubchart", !0), e = t(a, "withTransition", !0), h = t(a, "withTransform", !1), j = t(a, "withUpdateXDomain", !1), k = t(a, "withUpdateOrgXDomain", !1), l = t(a, "withTrimXDomain", !0), p = t(a, "withUpdateXAxis", j), m = t(a, "withLegend", !1), n = t(a, "withEventRect", !0), o = t(a, "withDimension", !0), f = t(a, "withTransitionForExit", e), g = t(a, "withTransitionForAxis", e), w = e ? K.transition_duration : 0, x = f ? w : 0, y = g ? w : 0, b = b || H.generateAxisTransitions(y), m && K.legend_show ? H.updateLegend(H.mapToIds(H.data.targets), a, b) : o && H.updateDimension(!0), H.isCategorized() && 0 === P.length && H.x.domain([0, H.axes.x.selectAll(".tick").size()]), P.length ? (H.updateXDomain(P, j, k, l), K.axis_x_tick_values || (B = K.axis_x_tick_fit || K.axis_x_tick_count ? H.generateTickValues(H.mapTargetsToUniqueXs(P), K.axis_x_tick_count, H.isTimeSeries()) : void 0, H.xAxis.tickValues(B), H.subXAxis.tickValues(B))) : (H.xAxis.tickValues([]), H.subXAxis.tickValues([])), K.zoom_rescale && !a.flow && (E = H.x.orgDomain()), H.y.domain(H.getYDomain(P, "y", E)), H.y2.domain(H.getYDomain(P, "y2", E)), !K.axis_y_tick_values && K.axis_y_tick_count && H.yAxis.tickValues(H.generateTickValues(H.y.domain(), K.axis_y_tick_count)), !K.axis_y2_tick_values && K.axis_y2_tick_count && H.y2Axis.tickValues(H.generateTickValues(H.y2.domain(), K.axis_y2_tick_count)), H.redrawAxis(b, O), H.updateAxisLabels(e), (j || p) && P.length)if (K.axis_x_tick_culling && B) {
- for (C = 1; C < B.length; C++)if (B.length / C < K.axis_x_tick_culling_max) {
- D = C;
- break
- }
- H.svg.selectAll("." + i.axisX + " .tick text").each(function (a) {
- var b = B.indexOf(a);
- b >= 0 && J.select(this).style("display", b % D ? "none" : "block")
- })
- } else H.svg.selectAll("." + i.axisX + " .tick text").style("display", "block");
- q = H.generateDrawArea ? H.generateDrawArea(L, !1) : void 0, r = H.generateDrawBar ? H.generateDrawBar(M) : void 0, s = H.generateDrawLine ? H.generateDrawLine(N, !1) : void 0, u = H.generateXYForText(L, M, N, !0), v = H.generateXYForText(L, M, N, !1), c && (H.subY.domain(H.getYDomain(P, "y")), H.subY2.domain(H.getYDomain(P, "y2"))), H.tooltip.style("display", "none"), H.updateXgridFocus(), I.select("text." + i.text + "." + i.empty).attr("x", H.width / 2).attr("y", H.height / 2).text(K.data_empty_label_text).transition().style("opacity", P.length ? 0 : 1), H.redrawGrid(w), H.redrawRegion(w), H.redrawBar(x), H.redrawLine(x), H.redrawArea(x), H.redrawCircle(), H.hasDataLabel() && H.redrawText(x), H.redrawArc && H.redrawArc(w, x, h), H.redrawSubchart && H.redrawSubchart(d, b, w, x, L, M, N), I.selectAll("." + i.selectedCircles).filter(H.isBarType.bind(H)).selectAll("circle").remove(), K.interaction_enabled && !a.flow && n && (H.redrawEventRect(), H.updateZoom && H.updateZoom()), H.updateCircleY(), F = (H.config.axis_rotated ? H.circleY : H.circleX).bind(H), G = (H.config.axis_rotated ? H.circleX : H.circleY).bind(H), J.transition().duration(w).each(function () {
- var b = [];
- H.addTransitionForBar(b, r), H.addTransitionForLine(b, s), H.addTransitionForArea(b, q), H.addTransitionForCircle(b, F, G), H.addTransitionForText(b, u, v, a.flow), H.addTransitionForRegion(b), H.addTransitionForGrid(b), a.flow && (z = H.generateWait(), b.forEach(function (a) {
- z.add(a)
- }), A = H.generateFlow({
- targets: P,
- flow: a.flow,
- duration: w,
- drawBar: r,
- drawLine: s,
- drawArea: q,
- cx: F,
- cy: G,
- xv: Q,
- xForText: u,
- yForText: v
- }))
- }).call(z || function () {
- }, A || function () {
- }), H.mapToIds(H.data.targets).forEach(function (a) {
- H.withoutFadeIn[a] = !0
- })
- }, f.updateAndRedraw = function (a) {
- var b, c = this, d = c.config;
- a = a || {}, a.withTransition = t(a, "withTransition", !0), a.withTransform = t(a, "withTransform", !1), a.withLegend = t(a, "withLegend", !1), a.withUpdateXDomain = !0, a.withUpdateOrgXDomain = !0, a.withTransitionForExit = !1, a.withTransitionForTransform = t(a, "withTransitionForTransform", a.withTransition), c.updateSizes(), a.withLegend && d.legend_show || (b = c.generateAxisTransitions(a.withTransitionForAxis ? d.transition_duration : 0), c.updateScales(), c.updateSvgSize(), c.transformAll(a.withTransitionForTransform, b)), c.redraw(a, b)
- }, f.redrawWithoutRescale = function () {
- this.redraw({withY: !1, withSubchart: !1, withEventRect: !1, withTransitionForAxis: !1})
- }, f.isTimeSeries = function () {
- return "timeseries" === this.config.axis_x_type
- }, f.isCategorized = function () {
- return this.config.axis_x_type.indexOf("categor") >= 0
- }, f.isCustomX = function () {
- var a = this, b = a.config;
- return !a.isTimeSeries() && (b.data_x || s(b.data_xs))
- }, f.isTimeSeriesY = function () {
- return "timeseries" === this.config.axis_y_type
- }, f.getTranslate = function (a) {
- var b, c, d = this, e = d.config;
- return "main" === a ? (b = p(d.margin.left), c = p(d.margin.top)) : "context" === a ? (b = p(d.margin2.left), c = p(d.margin2.top)) : "legend" === a ? (b = d.margin3.left, c = d.margin3.top) : "x" === a ? (b = 0, c = e.axis_rotated ? 0 : d.height) : "y" === a ? (b = 0, c = e.axis_rotated ? d.height : 0) : "y2" === a ? (b = e.axis_rotated ? 0 : d.width, c = e.axis_rotated ? 1 : 0) : "subx" === a ? (b = 0, c = e.axis_rotated ? 0 : d.height2) : "arc" === a && (b = d.arcWidth / 2, c = d.arcHeight / 2), "translate(" + b + "," + c + ")"
- }, f.initialOpacity = function (a) {
- return null !== a.value && this.withoutFadeIn[a.id] ? 1 : 0
- }, f.initialOpacityForCircle = function (a) {
- return null !== a.value && this.withoutFadeIn[a.id] ? this.opacityForCircle(a) : 0
- }, f.opacityForCircle = function (a) {
- var b = this.config.point_show ? 1 : 0;
- return j(a.value) ? this.isScatterType(a) ? .5 : b : 0
- }, f.opacityForText = function () {
- return this.hasDataLabel() ? 1 : 0
- }, f.xx = function (a) {
- return a ? this.x(a.x) : null
- }, f.xv = function (a) {
- var b = this, c = a.value;
- return b.isTimeSeries() ? c = b.parseDate(a.value) : b.isCategorized() && "string" == typeof a.value && (c = b.config.axis_x_categories.indexOf(a.value)), Math.ceil(b.x(c))
- }, f.yv = function (a) {
- var b = this, c = a.axis && "y2" === a.axis ? b.y2 : b.y;
- return Math.ceil(c(a.value))
- }, f.subxx = function (a) {
- return a ? this.subX(a.x) : null
- }, f.transformMain = function (a, b) {
- var c, d, e, f = this;
- b && b.axisX ? c = b.axisX : (c = f.main.select("." + i.axisX), a && (c = c.transition())), b && b.axisY ? d = b.axisY : (d = f.main.select("." + i.axisY), a && (d = d.transition())), b && b.axisY2 ? e = b.axisY2 : (e = f.main.select("." + i.axisY2), a && (e = e.transition())), (a ? f.main.transition() : f.main).attr("transform", f.getTranslate("main")), c.attr("transform", f.getTranslate("x")), d.attr("transform", f.getTranslate("y")), e.attr("transform", f.getTranslate("y2")), f.main.select("." + i.chartArcs).attr("transform", f.getTranslate("arc"))
- }, f.transformAll = function (a, b) {
- var c = this;
- c.transformMain(a, b), c.config.subchart_show && c.transformContext(a, b), c.legend && c.transformLegend(a)
- }, f.updateSvgSize = function () {
- var a = this, b = a.svg.select(".c3-brush .background");
- a.svg.attr("width", a.currentWidth).attr("height", a.currentHeight), a.svg.selectAll(["#" + a.clipId, "#" + a.clipIdForGrid]).select("rect").attr("width", a.width).attr("height", a.height), a.svg.select("#" + a.clipIdForXAxis).select("rect").attr("x", a.getXAxisClipX.bind(a)).attr("y", a.getXAxisClipY.bind(a)).attr("width", a.getXAxisClipWidth.bind(a)).attr("height", a.getXAxisClipHeight.bind(a)), a.svg.select("#" + a.clipIdForYAxis).select("rect").attr("x", a.getYAxisClipX.bind(a)).attr("y", a.getYAxisClipY.bind(a)).attr("width", a.getYAxisClipWidth.bind(a)).attr("height", a.getYAxisClipHeight.bind(a)), a.svg.select("#" + a.clipIdForSubchart).select("rect").attr("width", a.width).attr("height", b.size() ? b.attr("height") : 0), a.svg.select("." + i.zoomRect).attr("width", a.width).attr("height", a.height), a.selectChart.style("max-height", a.currentHeight + "px")
- }, f.updateDimension = function (a) {
- var b = this;
- a || (b.config.axis_rotated ? (b.axes.x.call(b.xAxis), b.axes.subx.call(b.subXAxis)) : (b.axes.y.call(b.yAxis), b.axes.y2.call(b.y2Axis))), b.updateSizes(), b.updateScales(), b.updateSvgSize(), b.transformAll(!1)
- }, f.observeInserted = function (b) {
- var c = this, d = new MutationObserver(function (e) {
- e.forEach(function (e) {
- "childList" === e.type && e.previousSibling && (d.disconnect(), c.intervalForObserveInserted = a.setInterval(function () {
- b.node().parentNode && (a.clearInterval(c.intervalForObserveInserted), c.updateDimension(), c.config.oninit.call(c), c.redraw({
- withTransform: !0,
- withUpdateXDomain: !0,
- withUpdateOrgXDomain: !0,
- withTransition: !1,
- withTransitionForTransform: !1,
- withLegend: !0
- }), b.transition().style("opacity", 1))
- }, 10))
- })
- });
- d.observe(b.node(), {attributes: !0, childList: !0, characterData: !0})
- }, f.generateResize = function () {
- function a() {
- b.forEach(function (a) {
- a()
- })
- }
-
- var b = [];
- return a.add = function (a) {
- b.push(a)
- }, a
- }, f.endall = function (a, b) {
- var c = 0;
- a.each(function () {
- ++c
- }).each("end", function () {
- --c || b.apply(this, arguments)
- })
- }, f.generateWait = function () {
- var a = [], b = function (b, c) {
- var d = setInterval(function () {
- var b = 0;
- a.forEach(function (a) {
- if (a.empty())return void(b += 1);
- try {
- a.transition()
- } catch (c) {
- b += 1
- }
- }), b === a.length && (clearInterval(d), c && c())
- }, 10)
- };
- return b.add = function (b) {
- a.push(b)
- }, b
- }, f.parseDate = function (b) {
- var c, d = this;
- return c = b instanceof Date ? b : "number" != typeof b && isNaN(b) ? d.dataTimeFormat(d.config.data_xFormat).parse(b) : new Date(+b), (!c || isNaN(+c)) && a.console.error("Failed to parse x '" + b + "' to Date object"), c
- }, f.getDefaultConfig = function () {
- var a = {
- bindto: "#chart",
- size_width: void 0,
- size_height: void 0,
- padding_left: void 0,
- padding_right: void 0,
- padding_top: void 0,
- padding_bottom: void 0,
- zoom_enabled: !1,
- zoom_extent: void 0,
- zoom_privileged: !1,
- zoom_rescale: !1,
- zoom_onzoom: function () {
- },
- zoom_onzoomstart: function () {
- },
- zoom_onzoomend: function () {
- },
- interaction_enabled: !0,
- onmouseover: function () {
- },
- onmouseout: function () {
- },
- onresize: function () {
- },
- onresized: function () {
- },
- oninit: function () {
- },
- transition_duration: 350,
- data_x: void 0,
- data_xs: {},
- data_xFormat: "%Y-%m-%d",
- data_xLocaltime: !0,
- data_xSort: !0,
- data_idConverter: function (a) {
- return a
- },
- data_names: {},
- data_classes: {},
- data_groups: [],
- data_axes: {},
- data_type: void 0,
- data_types: {},
- data_labels: {},
- data_order: "desc",
- data_regions: {},
- data_color: void 0,
- data_colors: {},
- data_hide: !1,
- data_filter: void 0,
- data_selection_enabled: !1,
- data_selection_grouped: !1,
- data_selection_isselectable: function () {
- return !0
- },
- data_selection_multiple: !0,
- data_onclick: function () {
- },
- data_onmouseover: function () {
- },
- data_onmouseout: function () {
- },
- data_onselected: function () {
- },
- data_onunselected: function () {
- },
- data_ondragstart: function () {
- },
- data_ondragend: function () {
- },
- data_url: void 0,
- data_json: void 0,
- data_rows: void 0,
- data_columns: void 0,
- data_mimeType: void 0,
- data_keys: void 0,
- data_empty_label_text: "",
- subchart_show: !1,
- subchart_size_height: 60,
- subchart_onbrush: function () {
- },
- color_pattern: [],
- color_threshold: {},
- legend_show: !0,
- legend_hide: !1,
- legend_position: "bottom",
- legend_inset_anchor: "top-left",
- legend_inset_x: 10,
- legend_inset_y: 0,
- legend_inset_step: void 0,
- legend_item_onclick: void 0,
- legend_item_onmouseover: void 0,
- legend_item_onmouseout: void 0,
- legend_equally: !1,
- axis_rotated: !1,
- axis_x_show: !0,
- axis_x_type: "indexed",
- axis_x_localtime: !0,
- axis_x_categories: [],
- axis_x_tick_centered: !1,
- axis_x_tick_format: void 0,
- axis_x_tick_culling: {},
- axis_x_tick_culling_max: 10,
- axis_x_tick_count: void 0,
- axis_x_tick_fit: !0,
- axis_x_tick_values: null,
- axis_x_tick_rotate: 0,
- axis_x_tick_outer: !0,
- axis_x_tick_multiline: !0,
- axis_x_tick_width: null,
- axis_x_max: void 0,
- axis_x_min: void 0,
- axis_x_padding: {},
- axis_x_height: void 0,
- axis_x_extent: void 0,
- axis_x_label: {},
- axis_y_show: !0,
- axis_y_type: void 0,
- axis_y_max: void 0,
- axis_y_min: void 0,
- axis_y_center: void 0,
- axis_y_inner: void 0,
- axis_y_label: {},
- axis_y_tick_format: void 0,
- axis_y_tick_outer: !0,
- axis_y_tick_values: null,
- axis_y_tick_count: void 0,
- axis_y_tick_time_value: void 0,
- axis_y_tick_time_interval: void 0,
- axis_y_padding: {},
- axis_y_default: void 0,
- axis_y2_show: !1,
- axis_y2_max: void 0,
- axis_y2_min: void 0,
- axis_y2_center: void 0,
- axis_y2_inner: void 0,
- axis_y2_label: {},
- axis_y2_tick_format: void 0,
- axis_y2_tick_outer: !0,
- axis_y2_tick_values: null,
- axis_y2_tick_count: void 0,
- axis_y2_padding: {},
- axis_y2_default: void 0,
- grid_x_show: !1,
- grid_x_type: "tick",
- grid_x_lines: [],
- grid_y_show: !1,
- grid_y_lines: [],
- grid_y_ticks: 10,
- grid_focus_show: !0,
- grid_lines_front: !0,
- point_show: !0,
- point_r: 2.5,
- point_focus_expand_enabled: !0,
- point_focus_expand_r: void 0,
- point_select_r: void 0,
- line_connectNull: !1,
- line_step_type: "step",
- bar_width: void 0,
- bar_width_ratio: .6,
- bar_width_max: void 0,
- bar_zerobased: !0,
- area_zerobased: !0,
- pie_label_show: !0,
- pie_label_format: void 0,
- pie_label_threshold: .05,
- pie_expand: !0,
- gauge_label_show: !0,
- gauge_label_format: void 0,
- gauge_expand: !0,
- gauge_min: 0,
- gauge_max: 100,
- gauge_units: void 0,
- gauge_width: void 0,
- donut_label_show: !0,
- donut_label_format: void 0,
- donut_label_threshold: .05,
- donut_width: void 0,
- donut_expand: !0,
- donut_title: "",
- regions: [],
- tooltip_show: !0,
- tooltip_grouped: !0,
- tooltip_format_title: void 0,
- tooltip_format_name: void 0,
- tooltip_format_value: void 0,
- tooltip_contents: function (a, b, c, d) {
- return this.getTooltipContent ? this.getTooltipContent(a, b, c, d) : ""
- },
- tooltip_init_show: !1,
- tooltip_init_x: 0,
- tooltip_init_position: {top: "0px", left: "50px"}
- };
- return Object.keys(this.additionalConfig).forEach(function (b) {
- a[b] = this.additionalConfig[b]
- }, this), a
- }, f.additionalConfig = {}, f.loadConfig = function (a) {
- function b() {
- var a = d.shift();
- return a && c && "object" == typeof c && a in c ? (c = c[a], b()) : a ? void 0 : c
- }
-
- var c, d, e, f = this.config;
- Object.keys(f).forEach(function (g) {
- c = a, d = g.split("_"), e = b(), n(e) && (f[g] = e)
- })
- }, f.getScale = function (a, b, c) {
- return (c ? this.d3.time.scale() : this.d3.scale.linear()).range([a, b])
- }, f.getX = function (a, b, c, d) {
- var e, f = this, g = f.getScale(a, b, f.isTimeSeries()), h = c ? g.domain(c) : g;
- f.isCategorized() ? (d = d || function () {
- return 0
- }, g = function (a, b) {
- var c = h(a) + d(a);
- return b ? c : Math.ceil(c)
- }) : g = function (a, b) {
- var c = h(a);
- return b ? c : Math.ceil(c)
- };
- for (e in h)g[e] = h[e];
- return g.orgDomain = function () {
- return h.domain()
- }, f.isCategorized() && (g.domain = function (a) {
- return arguments.length ? (h.domain(a), g) : (a = this.orgDomain(), [a[0], a[1] + 1])
- }), g
- }, f.getY = function (a, b, c) {
- var d = this.getScale(a, b, this.isTimeSeriesY());
- return c && d.domain(c), d
- }, f.getYScale = function (a) {
- return "y2" === this.getAxisId(a) ? this.y2 : this.y
- }, f.getSubYScale = function (a) {
- return "y2" === this.getAxisId(a) ? this.subY2 : this.subY
- }, f.updateScales = function () {
- var a = this, b = a.config, c = !a.x;
- a.xMin = b.axis_rotated ? 1 : 0, a.xMax = b.axis_rotated ? a.height : a.width, a.yMin = b.axis_rotated ? 0 : a.height, a.yMax = b.axis_rotated ? a.width : 1, a.subXMin = a.xMin, a.subXMax = a.xMax, a.subYMin = b.axis_rotated ? 0 : a.height2, a.subYMax = b.axis_rotated ? a.width2 : 1, a.x = a.getX(a.xMin, a.xMax, c ? void 0 : a.x.orgDomain(), function () {
- return a.xAxis.tickOffset()
- }), a.y = a.getY(a.yMin, a.yMax, c ? b.axis_y_default : a.y.domain()), a.y2 = a.getY(a.yMin, a.yMax, c ? b.axis_y2_default : a.y2.domain()), a.subX = a.getX(a.xMin, a.xMax, a.orgXDomain, function (b) {
- return b % 1 ? 0 : a.subXAxis.tickOffset()
- }), a.subY = a.getY(a.subYMin, a.subYMax, c ? b.axis_y_default : a.subY.domain()), a.subY2 = a.getY(a.subYMin, a.subYMax, c ? b.axis_y2_default : a.subY2.domain()), a.xAxisTickFormat = a.getXAxisTickFormat(), a.xAxisTickValues = a.getXAxisTickValues(), a.yAxisTickValues = a.getYAxisTickValues(), a.y2AxisTickValues = a.getY2AxisTickValues(), a.xAxis = a.getXAxis(a.x, a.xOrient, a.xAxisTickFormat, a.xAxisTickValues, b.axis_x_tick_outer), a.subXAxis = a.getXAxis(a.subX, a.subXOrient, a.xAxisTickFormat, a.xAxisTickValues, b.axis_x_tick_outer), a.yAxis = a.getYAxis(a.y, a.yOrient, b.axis_y_tick_format, a.yAxisTickValues, b.axis_y_tick_outer), a.y2Axis = a.getYAxis(a.y2, a.y2Orient, b.axis_y2_tick_format, a.y2AxisTickValues, b.axis_y2_tick_outer), c || (a.brush && a.brush.scale(a.subX), b.zoom_enabled && a.zoom.scale(a.x)), a.updateArc && a.updateArc()
- }, f.getYDomainMin = function (a) {
- var b, c, d, e, f, g, h = this, i = h.config, j = h.mapToIds(a), k = h.getValuesAsIdKeyed(a);
- if (i.data_groups.length > 0)for (g = h.hasNegativeValueInTargets(a), b = 0; b < i.data_groups.length; b++)if (e = i.data_groups[b].filter(function (a) {
- return j.indexOf(a) >= 0
- }), 0 !== e.length)for (d = e[0], g && k[d] && k[d].forEach(function (a, b) {
- k[d][b] = 0 > a ? a : 0
- }), c = 1; c < e.length; c++)f = e[c], k[f] && k[f].forEach(function (a, b) {
- h.getAxisId(f) !== h.getAxisId(d) || !k[d] || g && +a > 0 || (k[d][b] += +a)
- });
- return h.d3.min(Object.keys(k).map(function (a) {
- return h.d3.min(k[a])
- }))
- }, f.getYDomainMax = function (a) {
- var b, c, d, e, f, g, h = this, i = h.config, j = h.mapToIds(a), k = h.getValuesAsIdKeyed(a);
- if (i.data_groups.length > 0)for (g = h.hasPositiveValueInTargets(a), b = 0; b < i.data_groups.length; b++)if (e = i.data_groups[b].filter(function (a) {
- return j.indexOf(a) >= 0
- }), 0 !== e.length)for (d = e[0], g && k[d] && k[d].forEach(function (a, b) {
- k[d][b] = a > 0 ? a : 0
- }), c = 1; c < e.length; c++)f = e[c], k[f] && k[f].forEach(function (a, b) {
- h.getAxisId(f) !== h.getAxisId(d) || !k[d] || g && 0 > +a || (k[d][b] += +a)
- });
- return h.d3.max(Object.keys(k).map(function (a) {
- return h.d3.max(k[a])
- }))
- }, f.getYDomain = function (a, b, c) {
- var d, e, f, g, h, i, k, l, m, n, o = this, p = o.config, r = a.filter(function (a) {
- return o.getAxisId(a.id) === b
- }), t = c ? o.filterByXDomain(r, c) : r, u = "y2" === b ? p.axis_y2_min : p.axis_y_min, v = "y2" === b ? p.axis_y2_max : p.axis_y_max, w = j(u) ? u : o.getYDomainMin(t), x = j(v) ? v : o.getYDomainMax(t), y = "y2" === b ? p.axis_y2_center : p.axis_y_center, z = o.hasType("bar", t) && p.bar_zerobased || o.hasType("area", t) && p.area_zerobased, A = o.hasDataLabel() && p.axis_rotated, B = o.hasDataLabel() && !p.axis_rotated;
- return w > x && (j(u) ? x = w + 10 : w = x - 10), 0 === t.length ? "y2" === b ? o.y2.domain() : o.y.domain() : (isNaN(w) && (w = 0), isNaN(x) && (x = w), w === x && (0 > w ? x = 0 : w = 0), m = w >= 0 && x >= 0, n = 0 >= w && 0 >= x, (j(u) && m || j(v) && n) && (z = !1), z && (m && (w = 0), n && (x = 0)), d = Math.abs(x - w), e = f = g = .1 * d, "undefined" != typeof y && (h = Math.max(Math.abs(w), Math.abs(x)), x = y + h, w = y - h), A ? (i = o.getDataLabelLength(w, x, b, "width"), k = q(o.y.range()), l = [i[0] / k, i[1] / k], f += d * (l[1] / (1 - l[0] - l[1])), g += d * (l[0] / (1 - l[0] - l[1]))) : B && (i = o.getDataLabelLength(w, x, b, "height"), f += this.convertPixelsToAxisPadding(i[1], d), g += this.convertPixelsToAxisPadding(i[0], d)), "y" === b && s(p.axis_y_padding) && (f = o.getAxisPadding(p.axis_y_padding, "top", f, d), g = o.getAxisPadding(p.axis_y_padding, "bottom", g, d)), "y2" === b && s(p.axis_y2_padding) && (f = o.getAxisPadding(p.axis_y2_padding, "top", f, d), g = o.getAxisPadding(p.axis_y2_padding, "bottom", g, d)), z && (m && (g = w), n && (f = -x)), [w - g, x + f])
- }, f.getXDomainMin = function (a) {
- var b = this, c = b.config;
- return n(c.axis_x_min) ? b.isTimeSeries() ? this.parseDate(c.axis_x_min) : c.axis_x_min : b.d3.min(a, function (a) {
- return b.d3.min(a.values, function (a) {
- return a.x
- })
- })
- }, f.getXDomainMax = function (a) {
- var b = this, c = b.config;
- return n(c.axis_x_max) ? b.isTimeSeries() ? this.parseDate(c.axis_x_max) : c.axis_x_max : b.d3.max(a, function (a) {
- return b.d3.max(a.values, function (a) {
- return a.x
- })
- })
- }, f.getXDomainPadding = function (a) {
- var b, c, d, e, f = this, g = f.config, h = a[1] - a[0];
- return f.isCategorized() ? c = 0 : f.hasType("bar") ? (b = f.getMaxDataCount(), c = b > 1 ? h / (b - 1) / 2 : .5) : c = .01 * h, "object" == typeof g.axis_x_padding && s(g.axis_x_padding) ? (d = j(g.axis_x_padding.left) ? g.axis_x_padding.left : c, e = j(g.axis_x_padding.right) ? g.axis_x_padding.right : c) : d = e = "number" == typeof g.axis_x_padding ? g.axis_x_padding : c, {
- left: d,
- right: e
- }
- }, f.getXDomain = function (a) {
- var b = this, c = [b.getXDomainMin(a), b.getXDomainMax(a)], d = c[0], e = c[1], f = b.getXDomainPadding(c), g = 0, h = 0;
- return d - e !== 0 || b.isCategorized() || (b.isTimeSeries() ? (d = new Date(.5 * d.getTime()), e = new Date(1.5 * e.getTime())) : (d = 0 === d ? 1 : .5 * d, e = 0 === e ? -1 : 1.5 * e)), (d || 0 === d) && (g = b.isTimeSeries() ? new Date(d.getTime() - f.left) : d - f.left), (e || 0 === e) && (h = b.isTimeSeries() ? new Date(e.getTime() + f.right) : e + f.right), [g, h]
- }, f.updateXDomain = function (a, b, c, d, e) {
- var f = this, g = f.config;
- return c && (f.x.domain(e ? e : f.d3.extent(f.getXDomain(a))), f.orgXDomain = f.x.domain(), g.zoom_enabled && f.zoom.scale(f.x).updateScaleExtent(), f.subX.domain(f.x.domain()), f.brush && f.brush.scale(f.subX)), b && (f.x.domain(e ? e : !f.brush || f.brush.empty() ? f.orgXDomain : f.brush.extent()), g.zoom_enabled && f.zoom.scale(f.x).updateScaleExtent()), d && f.x.domain(f.trimXDomain(f.x.orgDomain())), f.x.domain()
- }, f.trimXDomain = function (a) {
- var b = this;
- return a[0] <= b.orgXDomain[0] && (a[1] = +a[1] + (b.orgXDomain[0] - a[0]), a[0] = b.orgXDomain[0]), b.orgXDomain[1] <= a[1] && (a[0] = +a[0] - (a[1] - b.orgXDomain[1]), a[1] = b.orgXDomain[1]), a
- }, f.isX = function (a) {
- var b = this, c = b.config;
- return c.data_x && a === c.data_x || s(c.data_xs) && u(c.data_xs, a)
- }, f.isNotX = function (a) {
- return !this.isX(a)
- }, f.getXKey = function (a) {
- var b = this, c = b.config;
- return c.data_x ? c.data_x : s(c.data_xs) ? c.data_xs[a] : null
- }, f.getXValuesOfXKey = function (a, b) {
- var c, d = this, e = b && s(b) ? d.mapToIds(b) : [];
- return e.forEach(function (b) {
- d.getXKey(b) === a && (c = d.data.xs[b])
- }), c
- }, f.getIndexByX = function (a) {
- var b = this, c = b.filterByX(b.data.targets, a);
- return c.length ? c[0].index : null
- }, f.getXValue = function (a, b) {
- var c = this;
- return a in c.data.xs && c.data.xs[a] && j(c.data.xs[a][b]) ? c.data.xs[a][b] : b
- }, f.getOtherTargetXs = function () {
- var a = this, b = Object.keys(a.data.xs);
- return b.length ? a.data.xs[b[0]] : null
- }, f.getOtherTargetX = function (a) {
- var b = this.getOtherTargetXs();
- return b && a < b.length ? b[a] : null
- }, f.addXs = function (a) {
- var b = this;
- Object.keys(a).forEach(function (c) {
- b.config.data_xs[c] = a[c]
- })
- }, f.hasMultipleX = function (a) {
- return this.d3.set(Object.keys(a).map(function (b) {
- return a[b]
- })).size() > 1
- }, f.isMultipleX = function () {
- return s(this.config.data_xs) || !this.config.data_xSort || this.hasType("scatter")
- }, f.addName = function (a) {
- var b, c = this;
- return a && (b = c.config.data_names[a.id], a.name = b ? b : a.id), a
- }, f.getValueOnIndex = function (a, b) {
- var c = a.filter(function (a) {
- return a.index === b
- });
- return c.length ? c[0] : null
- }, f.updateTargetX = function (a, b) {
- var c = this;
- a.forEach(function (a) {
- a.values.forEach(function (d, e) {
- d.x = c.generateTargetX(b[e], a.id, e)
- }), c.data.xs[a.id] = b
- })
- }, f.updateTargetXs = function (a, b) {
- var c = this;
- a.forEach(function (a) {
- b[a.id] && c.updateTargetX([a], b[a.id])
- })
- }, f.generateTargetX = function (a, b, c) {
- var d, e = this;
- return d = e.isTimeSeries() ? e.parseDate(a ? a : e.getXValue(b, c)) : e.isCustomX() && !e.isCategorized() ? j(a) ? +a : e.getXValue(b, c) : c
- }, f.cloneTarget = function (a) {
- return {
- id: a.id, id_org: a.id_org, values: a.values.map(function (a) {
- return {x: a.x, value: a.value, id: a.id}
- })
- }
- }, f.updateXs = function () {
- var a = this;
- a.data.targets.length && (a.xs = [], a.data.targets[0].values.forEach(function (b) {
- a.xs[b.index] = b.x
- }))
- }, f.getPrevX = function (a) {
- var b = this.xs[a - 1];
- return "undefined" != typeof b ? b : null
- }, f.getNextX = function (a) {
- var b = this.xs[a + 1];
- return "undefined" != typeof b ? b : null
- }, f.getMaxDataCount = function () {
- var a = this;
- return a.d3.max(a.data.targets, function (a) {
- return a.values.length
- })
- }, f.getMaxDataCountTarget = function (a) {
- var b, c = a.length, d = 0;
- return c > 1 ? a.forEach(function (a) {
- a.values.length > d && (b = a, d = a.values.length)
- }) : b = c ? a[0] : null, b
- }, f.getEdgeX = function (a) {
- var b = this;
- return a.length ? [b.d3.min(a, function (a) {
- return a.values[0].x
- }), b.d3.max(a, function (a) {
- return a.values[a.values.length - 1].x
- })] : [0, 0]
- }, f.mapToIds = function (a) {
- return a.map(function (a) {
- return a.id
- })
- }, f.mapToTargetIds = function (a) {
- var b = this;
- return a ? l(a) ? [a] : a : b.mapToIds(b.data.targets)
- }, f.hasTarget = function (a, b) {
- var c, d = this.mapToIds(a);
- for (c = 0; c < d.length; c++)if (d[c] === b)return !0;
- return !1
- }, f.isTargetToShow = function (a) {
- return this.hiddenTargetIds.indexOf(a) < 0
- }, f.isLegendToShow = function (a) {
- return this.hiddenLegendIds.indexOf(a) < 0
- }, f.filterTargetsToShow = function (a) {
- var b = this;
- return a.filter(function (a) {
- return b.isTargetToShow(a.id)
- })
- }, f.mapTargetsToUniqueXs = function (a) {
- var b = this, c = b.d3.set(b.d3.merge(a.map(function (a) {
- return a.values.map(function (a) {
- return +a.x
- })
- }))).values();
- return c.map(b.isTimeSeries() ? function (a) {
- return new Date(+a)
- } : function (a) {
- return +a
- })
- }, f.addHiddenTargetIds = function (a) {
- this.hiddenTargetIds = this.hiddenTargetIds.concat(a)
- }, f.removeHiddenTargetIds = function (a) {
- this.hiddenTargetIds = this.hiddenTargetIds.filter(function (b) {
- return a.indexOf(b) < 0
- })
- }, f.addHiddenLegendIds = function (a) {
- this.hiddenLegendIds = this.hiddenLegendIds.concat(a)
- }, f.removeHiddenLegendIds = function (a) {
- this.hiddenLegendIds = this.hiddenLegendIds.filter(function (b) {
- return a.indexOf(b) < 0
- })
- }, f.getValuesAsIdKeyed = function (a) {
- var b = {};
- return a.forEach(function (a) {
- b[a.id] = [], a.values.forEach(function (c) {
- b[a.id].push(c.value)
- })
- }), b
- }, f.checkValueInTargets = function (a, b) {
- var c, d, e, f = Object.keys(a);
- for (c = 0; c < f.length; c++)for (e = a[f[c]].values, d = 0; d < e.length; d++)if (b(e[d].value))return !0;
- return !1
- }, f.hasNegativeValueInTargets = function (a) {
- return this.checkValueInTargets(a, function (a) {
- return 0 > a
- })
- }, f.hasPositiveValueInTargets = function (a) {
- return this.checkValueInTargets(a, function (a) {
- return a > 0
- })
- }, f.isOrderDesc = function () {
- var a = this.config;
- return "string" == typeof a.data_order && "desc" === a.data_order.toLowerCase()
- }, f.isOrderAsc = function () {
- var a = this.config;
- return "string" == typeof a.data_order && "asc" === a.data_order.toLowerCase()
- }, f.orderTargets = function (a) {
- var b = this, c = b.config, d = b.isOrderAsc(), e = b.isOrderDesc();
- return d || e ? a.sort(function (a, b) {
- var c = function (a, b) {
- return a + Math.abs(b.value)
- }, e = a.values.reduce(c, 0), f = b.values.reduce(c, 0);
- return d ? f - e : e - f
- }) : k(c.data_order) && a.sort(c.data_order), a
- }, f.filterByX = function (a, b) {
- return this.d3.merge(a.map(function (a) {
- return a.values
- })).filter(function (a) {
- return a.x - b === 0
- })
- }, f.filterRemoveNull = function (a) {
- return a.filter(function (a) {
- return j(a.value)
- })
- }, f.filterByXDomain = function (a, b) {
- return a.map(function (a) {
- return {
- id: a.id, id_org: a.id_org, values: a.values.filter(function (a) {
- return b[0] <= a.x && a.x <= b[1]
- })
- }
- })
- }, f.hasDataLabel = function () {
- var a = this.config;
- return "boolean" == typeof a.data_labels && a.data_labels ? !0 : "object" == typeof a.data_labels && s(a.data_labels) ? !0 : !1
- }, f.getDataLabelLength = function (a, b, c, d) {
- var e = this, f = [0, 0], g = 1.3;
- return e.selectChart.select("svg").selectAll(".dummy").data([a, b]).enter().append("text").text(function (a) {
- return e.formatByAxisId(c)(a)
- }).each(function (a, b) {
- f[b] = this.getBoundingClientRect()[d] * g
- }).remove(), f
- }, f.isNoneArc = function (a) {
- return this.hasTarget(this.data.targets, a.id)
- },f.isArc = function (a) {
- return "data"in a && this.hasTarget(this.data.targets, a.data.id)
- },f.findSameXOfValues = function (a, b) {
- var c, d = a[b].x, e = [];
- for (c = b - 1; c >= 0 && d === a[c].x; c--)e.push(a[c]);
- for (c = b; c < a.length && d === a[c].x; c++)e.push(a[c]);
- return e
- },f.findClosestFromTargets = function (a, b) {
- var c, d = this;
- return c = a.map(function (a) {
- return d.findClosest(a.values, b)
- }), d.findClosest(c, b)
- },f.findClosest = function (a, b) {
- var c, d = this, e = 100;
- return a.filter(function (a) {
- return a && d.isBarType(a.id)
- }).forEach(function (a) {
- var b = d.main.select("." + i.bars + d.getTargetSelectorSuffix(a.id) + " ." + i.bar + "-" + a.index).node();
- !c && d.isWithinBar(b) && (c = a)
- }), a.filter(function (a) {
- return a && !d.isBarType(a.id)
- }).forEach(function (a) {
- var f = d.dist(a, b);
- e > f && (e = f, c = a)
- }), c
- },f.dist = function (a, b) {
- var c = this, d = c.config, e = d.axis_rotated ? 1 : 0, f = d.axis_rotated ? 0 : 1, g = c.circleY(a, a.index), h = c.x(a.x);
- return Math.pow(h - b[e], 2) + Math.pow(g - b[f], 2)
- },f.convertValuesToStep = function (a) {
- var b, c = [].concat(a);
- if (!this.isCategorized())return a;
- for (b = a.length + 1; b > 0; b--)c[b] = c[b - 1];
- return c[0] = {x: c[0].x - 1, value: c[0].value, id: c[0].id}, c[a.length + 1] = {
- x: c[a.length].x + 1,
- value: c[a.length].value,
- id: c[a.length].id
- }, c
- },f.updateDataAttributes = function (a, b) {
- var c = this, d = c.config, e = d["data_" + a];
- return "undefined" == typeof b ? e : (Object.keys(b).forEach(function (a) {
- e[a] = b[a]
- }), c.redraw({withLegend: !0}), e)
- },f.convertUrlToData = function (a, b, c, d) {
- var e = this, f = b ? b : "csv";
- e.d3.xhr(a, function (a, b) {
- var g;
- g = "json" === f ? e.convertJsonToData(JSON.parse(b.response), c) : "tsv" === f ? e.convertTsvToData(b.response) : e.convertCsvToData(b.response), d.call(e, g)
- })
- },f.convertXsvToData = function (a, b) {
- var c, d = b.parseRows(a);
- return 1 === d.length ? (c = [{}], d[0].forEach(function (a) {
- c[0][a] = null
- })) : c = b.parse(a), c
- },f.convertCsvToData = function (a) {
- return this.convertXsvToData(a, this.d3.csv)
- },f.convertTsvToData = function (a) {
- return this.convertXsvToData(a, this.d3.tsv)
- },f.convertJsonToData = function (a, b) {
- var c, d, e = this, f = [];
- return b ? (c = b.value, b.x && (c.push(b.x), e.config.data_x = b.x), f.push(c), a.forEach(function (a) {
- var b = [];
- c.forEach(function (c) {
- var d = m(a[c]) ? null : a[c];
- b.push(d)
- }), f.push(b)
- }), d = e.convertRowsToData(f)) : (Object.keys(a).forEach(function (b) {
- f.push([b].concat(a[b]))
- }), d = e.convertColumnsToData(f)), d
- },f.convertRowsToData = function (a) {
- var b, c, d = a[0], e = {}, f = [];
- for (b = 1; b < a.length; b++) {
- for (e = {}, c = 0; c < a[b].length; c++) {
- if (m(a[b][c]))throw new Error("Source data is missing a component at (" + b + "," + c + ")!");
- e[d[c]] = a[b][c]
- }
- f.push(e)
- }
- return f
- },f.convertColumnsToData = function (a) {
- var b, c, d, e = [];
- for (b = 0; b < a.length; b++)for (d = a[b][0], c = 1; c < a[b].length; c++) {
- if (m(e[c - 1]) && (e[c - 1] = {}), m(a[b][c]))throw new Error("Source data is missing a component at (" + b + "," + c + ")!");
- e[c - 1][d] = a[b][c]
- }
- return e
- },f.convertDataToTargets = function (a, b) {
- var c, d = this, e = d.config, f = d.d3.keys(a[0]).filter(d.isNotX, d), g = d.d3.keys(a[0]).filter(d.isX, d);
- return f.forEach(function (c) {
- var f = d.getXKey(c);
- d.isCustomX() || d.isTimeSeries() ? g.indexOf(f) >= 0 ? d.data.xs[c] = (b && d.data.xs[c] ? d.data.xs[c] : []).concat(a.map(function (a) {
- return a[f]
- }).filter(j).map(function (a, b) {
- return d.generateTargetX(a, c, b)
- })) : e.data_x ? d.data.xs[c] = d.getOtherTargetXs() : s(e.data_xs) && (d.data.xs[c] = d.getXValuesOfXKey(f, d.data.targets)) : d.data.xs[c] = a.map(function (a, b) {
- return b
- })
- }), f.forEach(function (a) {
- if (!d.data.xs[a])throw new Error('x is not defined for id = "' + a + '".')
- }), c = f.map(function (b, c) {
- var f = e.data_idConverter(b);
- return {
- id: f, id_org: b, values: a.map(function (a, g) {
- var h = d.getXKey(b), i = a[h], j = d.generateTargetX(i, b, g);
- return d.isCustomX() && d.isCategorized() && 0 === c && i && (0 === g && (e.axis_x_categories = []), e.axis_x_categories.push(i)), (m(a[b]) || d.data.xs[b].length <= g) && (j = void 0), {
- x: j,
- value: null === a[b] || isNaN(a[b]) ? null : +a[b],
- id: f
- }
- }).filter(function (a) {
- return n(a.x)
- })
- }
- }), c.forEach(function (a) {
- var b;
- e.data_xSort && (a.values = a.values.sort(function (a, b) {
- var c = a.x || 0 === a.x ? a.x : 1 / 0, d = b.x || 0 === b.x ? b.x : 1 / 0;
- return c - d
- })), b = 0, a.values.forEach(function (a) {
- a.index = b++
- }), d.data.xs[a.id].sort(function (a, b) {
- return a - b
- })
- }), e.data_type && d.setTargetType(d.mapToIds(c).filter(function (a) {
- return !(a in e.data_types)
- }), e.data_type), c.forEach(function (a) {
- d.addCache(a.id_org, a)
- }), c
- },f.load = function (a, b) {
- var c = this;
- a && (b.filter && (a = a.filter(b.filter)), (b.type || b.types) && a.forEach(function (a) {
- c.setTargetType(a.id, b.types ? b.types[a.id] : b.type)
- }), c.data.targets.forEach(function (b) {
- for (var c = 0; c < a.length; c++)if (b.id === a[c].id) {
- b.values = a[c].values, a.splice(c, 1);
- break
- }
- }), c.data.targets = c.data.targets.concat(a)), c.updateTargets(c.data.targets), c.redraw({
- withUpdateOrgXDomain: !0,
- withUpdateXDomain: !0,
- withLegend: !0
- }), b.done && b.done()
- },f.loadFromArgs = function (a) {
- var b = this;
- a.data ? b.load(b.convertDataToTargets(a.data), a) : a.url ? b.convertUrlToData(a.url, a.mimeType, a.keys, function (c) {
- b.load(b.convertDataToTargets(c), a)
- }) : a.json ? b.load(b.convertDataToTargets(b.convertJsonToData(a.json, a.keys)), a) : a.rows ? b.load(b.convertDataToTargets(b.convertRowsToData(a.rows)), a) : a.columns ? b.load(b.convertDataToTargets(b.convertColumnsToData(a.columns)), a) : b.load(null, a)
- },f.unload = function (a, b) {
- var c = this;
- return b || (b = function () {
- }), a = a.filter(function (a) {
- return c.hasTarget(c.data.targets, a)
- }), a && 0 !== a.length ? (c.svg.selectAll(a.map(function (a) {
- return c.selectorTarget(a)
- })).transition().style("opacity", 0).remove().call(c.endall, b), void a.forEach(function (a) {
- c.withoutFadeIn[a] = !1, c.legend && c.legend.selectAll("." + i.legendItem + c.getTargetSelectorSuffix(a)).remove(), c.data.targets = c.data.targets.filter(function (b) {
- return b.id !== a
- })
- })) : void b()
- },f.categoryName = function (a) {
- var b = this.config;
- return a < b.axis_x_categories.length ? b.axis_x_categories[a] : a
- },f.initEventRect = function () {
- var a = this;
- a.main.select("." + i.chart).append("g").attr("class", i.eventRects).style("fill-opacity", 0)
- },f.redrawEventRect = function () {
- var a, b, c = this, d = c.config, e = c.isMultipleX(), f = c.main.select("." + i.eventRects).style("cursor", d.zoom_enabled ? d.axis_rotated ? "ns-resize" : "ew-resize" : null).classed(i.eventRectsMultiple, e).classed(i.eventRectsSingle, !e);
- f.selectAll("." + i.eventRect).remove(), c.eventRect = f.selectAll("." + i.eventRect), e ? (a = c.eventRect.data([0]), c.generateEventRectsForMultipleXs(a.enter()), c.updateEventRect(a)) : (b = c.getMaxDataCountTarget(c.data.targets), f.datum(b ? b.values : []), c.eventRect = f.selectAll("." + i.eventRect), a = c.eventRect.data(function (a) {
- return a
- }), c.generateEventRectsForSingleX(a.enter()), c.updateEventRect(a), a.exit().remove())
- },f.updateEventRect = function (a) {
- var b, c, d, e, f, g, h = this, i = h.config;
- a = a || h.eventRect.data(function (a) {
- return a
- }), h.isMultipleX() ? (b = 0, c = 0, d = h.width, e = h.height) : (!h.isCustomX() && !h.isTimeSeries() || h.isCategorized() ? (f = h.getEventRectWidth(), g = function (a) {
- return h.x(a.x) - f / 2
- }) : (h.updateXs(), f = function (a) {
- var b = h.getPrevX(a.index), c = h.getNextX(a.index);
- return null === b && null === c ? i.axis_rotated ? h.height : h.width : (null === b && (b = h.x.domain()[0]), null === c && (c = h.x.domain()[1]), Math.max(0, (h.x(c) - h.x(b)) / 2))
- }, g = function (a) {
- var b = h.getPrevX(a.index), c = h.getNextX(a.index), d = h.data.xs[a.id][a.index];
- return null === b && null === c ? 0 : (null === b && (b = h.x.domain()[0]), (h.x(d) + h.x(b)) / 2)
- }), b = i.axis_rotated ? 0 : g, c = i.axis_rotated ? g : 0, d = i.axis_rotated ? h.width : f, e = i.axis_rotated ? f : h.height), a.attr("class", h.classEvent.bind(h)).attr("x", b).attr("y", c).attr("width", d).attr("height", e)
- },f.generateEventRectsForSingleX = function (a) {
- var b = this, c = b.d3, d = b.config;
- a.append("rect").attr("class", b.classEvent.bind(b)).style("cursor", d.data_selection_enabled && d.data_selection_grouped ? "pointer" : null).on("mouseover", function (a) {
- var c, e, f = a.index;
- b.dragging || b.flowing || b.hasArcType() || (c = b.data.targets.map(function (a) {
- return b.addName(b.getValueOnIndex(a.values, f))
- }), e = [], Object.keys(d.data_names).forEach(function (a) {
- for (var b = 0; b < c.length; b++)if (c[b] && c[b].id === a) {
- e.push(c[b]), c.shift(b);
- break
- }
- }), c = e.concat(c), d.point_focus_expand_enabled && b.expandCircles(f, null, !0), b.expandBars(f, null, !0), b.main.selectAll("." + i.shape + "-" + f).each(function (a) {
- d.data_onmouseover.call(b.api, a)
- }))
- }).on("mouseout", function (a) {
- var c = a.index;
- b.hasArcType() || (b.hideXGridFocus(), b.hideTooltip(), b.unexpandCircles(), b.unexpandBars(), b.main.selectAll("." + i.shape + "-" + c).each(function (a) {
- d.data_onmouseout.call(b.api, a)
- }))
- }).on("mousemove", function (a) {
- var e, f = a.index, g = b.svg.select("." + i.eventRect + "-" + f);
- b.dragging || b.flowing || b.hasArcType() || (b.isStepType(a) && "step-after" === b.config.line_step_type && c.mouse(this)[0] < b.x(b.getXValue(a.id, f)) && (f -= 1), e = b.filterTargetsToShow(b.data.targets).map(function (a) {
- return b.addName(b.getValueOnIndex(a.values, f))
- }), d.tooltip_grouped && (b.showTooltip(e, c.mouse(this)), b.showXGridFocus(e)), (!d.tooltip_grouped || d.data_selection_enabled && !d.data_selection_grouped) && b.main.selectAll("." + i.shape + "-" + f).each(function () {
- c.select(this).classed(i.EXPANDED, !0), d.data_selection_enabled && g.style("cursor", d.data_selection_grouped ? "pointer" : null), d.tooltip_grouped || (b.hideXGridFocus(), b.hideTooltip(), d.data_selection_grouped || (b.unexpandCircles(f), b.unexpandBars(f)))
- }).filter(function (a) {
- return b.isWithinShape(this, a)
- }).each(function (a) {
- d.data_selection_enabled && (d.data_selection_grouped || d.data_selection_isselectable(a)) && g.style("cursor", "pointer"), d.tooltip_grouped || (b.showTooltip([a], c.mouse(this)), b.showXGridFocus([a]), d.point_focus_expand_enabled && b.expandCircles(f, a.id, !0), b.expandBars(f, a.id, !0))
- }))
- }).on("click", function (a) {
- var e = a.index;
- if (!b.hasArcType() && b.toggleShape) {
- if (b.cancelClick)return void(b.cancelClick = !1);
- b.isStepType(a) && "step-after" === d.line_step_type && c.mouse(this)[0] < b.x(b.getXValue(a.id, e)) && (e -= 1), b.main.selectAll("." + i.shape + "-" + e).each(function (a) {
- (d.data_selection_grouped || b.isWithinShape(this, a)) && (b.toggleShape(this, a, e), b.config.data_onclick.call(b.api, a, this))
- })
- }
- }).call(c.behavior.drag().origin(Object).on("drag", function () {
- b.drag(c.mouse(this))
- }).on("dragstart", function () {
- b.dragstart(c.mouse(this))
- }).on("dragend", function () {
- b.dragend()
- }))
- },f.generateEventRectsForMultipleXs = function (a) {
- function b() {
- c.svg.select("." + i.eventRect).style("cursor", null), c.hideXGridFocus(), c.hideTooltip(), c.unexpandCircles(), c.unexpandBars()
- }
-
- var c = this, d = c.d3, e = c.config;
- a.append("rect").attr("x", 0).attr("y", 0).attr("width", c.width).attr("height", c.height).attr("class", i.eventRect).on("mouseout", function () {
- c.hasArcType() || b()
- }).on("mousemove", function () {
- var a, f, g, h, j = c.filterTargetsToShow(c.data.targets);
- if (!c.dragging && !c.hasArcType(j)) {
- if (a = d.mouse(this), f = c.findClosestFromTargets(j, a), !c.mouseover || f && f.id === c.mouseover.id || (e.data_onmouseout.call(c.api, c.mouseover), c.mouseover = void 0), !f)return void b();
- g = c.isScatterType(f) || !e.tooltip_grouped ? [f] : c.filterByX(j, f.x), h = g.map(function (a) {
- return c.addName(a)
- }), c.showTooltip(h, a), e.point_focus_expand_enabled && c.expandCircles(f.index, f.id, !0), c.expandBars(f.index, f.id, !0), c.showXGridFocus(h), (c.isBarType(f.id) || c.dist(f, a) < 100) && (c.svg.select("." + i.eventRect).style("cursor", "pointer"), c.mouseover || (e.data_onmouseover.call(c.api, f), c.mouseover = f))
- }
- }).on("click", function () {
- var a, b, f = c.filterTargetsToShow(c.data.targets);
- c.hasArcType(f) || (a = d.mouse(this), b = c.findClosestFromTargets(f, a), b && (c.isBarType(b.id) || c.dist(b, a) < 100) && c.main.selectAll("." + i.shapes + c.getTargetSelectorSuffix(b.id)).select("." + i.shape + "-" + b.index).each(function () {
- (e.data_selection_grouped || c.isWithinShape(this, b)) && (c.toggleShape(this, b, b.index), c.config.data_onclick.call(c.api, b, this))
- }))
- }).call(d.behavior.drag().origin(Object).on("drag", function () {
- c.drag(d.mouse(this))
- }).on("dragstart", function () {
- c.dragstart(d.mouse(this))
- }).on("dragend", function () {
- c.dragend()
- }))
- },f.dispatchEvent = function (b, c, d) {
- var e = this, f = "." + i.eventRect + (e.isMultipleX() ? "" : "-" + c), g = e.main.select(f).node(), h = g.getBoundingClientRect(), j = h.left + (d ? d[0] : 0), k = h.top + (d ? d[1] : 0), l = document.createEvent("MouseEvents");
- l.initMouseEvent(b, !0, !0, a, 0, j, k, j, k, !1, !1, !1, !1, 0, null), g.dispatchEvent(l)
- },f.getCurrentWidth = function () {
- var a = this, b = a.config;
- return b.size_width ? b.size_width : a.getParentWidth()
- },f.getCurrentHeight = function () {
- var a = this, b = a.config, c = b.size_height ? b.size_height : a.getParentHeight();
- return c > 0 ? c : 320 / (a.hasType("gauge") ? 2 : 1)
- },f.getCurrentPaddingTop = function () {
- var a = this.config;
- return j(a.padding_top) ? a.padding_top : 0
- },f.getCurrentPaddingBottom = function () {
- var a = this.config;
- return j(a.padding_bottom) ? a.padding_bottom : 0
- },f.getCurrentPaddingLeft = function (a) {
- var b = this, c = b.config;
- return j(c.padding_left) ? c.padding_left : c.axis_rotated ? c.axis_x_show ? Math.max(o(b.getAxisWidthByAxisId("x", a)), 40) : 1 : !c.axis_y_show || c.axis_y_inner ? b.getYAxisLabelPosition().isOuter ? 30 : 1 : o(b.getAxisWidthByAxisId("y", a))
- },f.getCurrentPaddingRight = function () {
- var a = this, b = a.config, c = 10, d = a.isLegendRight ? a.getLegendWidth() + 20 : 0;
- return j(b.padding_right) ? b.padding_right + 1 : b.axis_rotated ? c + d : !b.axis_y2_show || b.axis_y2_inner ? 2 + d + (a.getY2AxisLabelPosition().isOuter ? 20 : 0) : o(a.getAxisWidthByAxisId("y2")) + d
- },f.getParentRectValue = function (a) {
- for (var b, c = this.selectChart.node(); c && "BODY" !== c.tagName && !(b = c.getBoundingClientRect()[a]);)c = c.parentNode;
- return b
- },f.getParentWidth = function () {
- return this.getParentRectValue("width")
- },f.getParentHeight = function () {
- var a = this.selectChart.style("height");
- return a.indexOf("px") > 0 ? +a.replace("px", "") : 0
- },f.getSvgLeft = function (a) {
- var b = this, c = b.config, d = c.axis_rotated || !c.axis_rotated && !c.axis_y_inner, e = c.axis_rotated ? i.axisX : i.axisY, f = b.main.select("." + e).node(), g = f && d ? f.getBoundingClientRect() : {right: 0}, h = b.selectChart.node().getBoundingClientRect(), j = b.hasArcType(), k = g.right - h.left - (j ? 0 : b.getCurrentPaddingLeft(a));
- return k > 0 ? k : 0
- },f.getAxisWidthByAxisId = function (a, b) {
- var c = this, d = c.getAxisLabelPositionById(a);
- return c.getMaxTickWidth(a, b) + (d.isInner ? 20 : 40)
- },f.getHorizontalAxisHeight = function (a) {
- var b = this, c = b.config, d = 30;
- return "x" !== a || c.axis_x_show ? "x" === a && c.axis_x_height ? c.axis_x_height : "y" !== a || c.axis_y_show ? "y2" !== a || c.axis_y2_show ? ("x" === a && !c.axis_rotated && c.axis_x_tick_rotate && (d = b.getMaxTickWidth(a) * Math.cos(Math.PI * (90 - c.axis_x_tick_rotate) / 180)), d + (b.getAxisLabelPositionById(a).isInner ? 0 : 10) + ("y2" === a ? -10 : 0)) : b.rotated_padding_top : !c.legend_show || b.isLegendRight || b.isLegendInset ? 1 : 10 : 8
- },f.getEventRectWidth = function () {
- var a, b, c, d, e, f, g = this, h = g.getMaxDataCountTarget(g.data.targets);
- return h ? (a = h.values[0], b = h.values[h.values.length - 1], c = g.x(b.x) - g.x(a.x), 0 === c ? g.config.axis_rotated ? g.height : g.width : (d = g.getMaxDataCount(), e = g.hasType("bar") ? (d - (g.isCategorized() ? .25 : 1)) / d : 1, f = d > 1 ? c * e / (d - 1) : c, 1 > f ? 1 : f)) : 0
- },f.getShapeIndices = function (a) {
- var b, c, d = this, e = d.config, f = {}, g = 0;
- return d.filterTargetsToShow(d.data.targets.filter(a, d)).forEach(function (a) {
- for (b = 0; b < e.data_groups.length; b++)if (!(e.data_groups[b].indexOf(a.id) < 0))for (c = 0; c < e.data_groups[b].length; c++)if (e.data_groups[b][c]in f) {
- f[a.id] = f[e.data_groups[b][c]];
- break
- }
- m(f[a.id]) && (f[a.id] = g++)
- }), f.__max__ = g - 1, f
- },f.getShapeX = function (a, b, c, d) {
- var e = this, f = d ? e.subX : e.x;
- return function (d) {
- var e = d.id in c ? c[d.id] : 0;
- return d.x || 0 === d.x ? f(d.x) - a * (b / 2 - e) : 0
- }
- },f.getShapeY = function (a) {
- var b = this;
- return function (c) {
- var d = a ? b.getSubYScale(c.id) : b.getYScale(c.id);
- return d(c.value)
- }
- },f.getShapeOffset = function (a, b, c) {
- var d = this, e = d.orderTargets(d.filterTargetsToShow(d.data.targets.filter(a, d))), f = e.map(function (a) {
- return a.id
- });
- return function (a, g) {
- var h = c ? d.getSubYScale(a.id) : d.getYScale(a.id), i = h(0), j = i;
- return e.forEach(function (c) {
- var e = d.isStepType(a) ? d.convertValuesToStep(c.values) : c.values;
- c.id !== a.id && b[c.id] === b[a.id] && f.indexOf(c.id) < f.indexOf(a.id) && e[g].value * a.value >= 0 && (j += h(e[g].value) - i)
- }), j
- }
- },f.isWithinShape = function (a, b) {
- var c, d = this, e = d.d3.select(a);
- return d.isTargetToShow(b.id) ? "circle" === a.nodeName ? c = d.isStepType(b) ? d.isWithinStep(a, d.getYScale(b.id)(b.value)) : d.isWithinCircle(a, 1.5 * d.pointSelectR(b)) : "path" === a.nodeName && (c = e.classed(i.bar) ? d.isWithinBar(a) : !0) : c = !1, c
- },f.getInterpolate = function (a) {
- var b = this;
- return b.isSplineType(a) ? "cardinal" : b.isStepType(a) ? b.config.line_step_type : "linear"
- },f.initLine = function () {
- var a = this;
- a.main.select("." + i.chart).append("g").attr("class", i.chartLines)
- },f.updateTargetsForLine = function (a) {
- var b, c, d = this, e = d.config, f = d.classChartLine.bind(d), g = d.classLines.bind(d), h = d.classAreas.bind(d), j = d.classCircles.bind(d), k = d.classFocus.bind(d);
- b = d.main.select("." + i.chartLines).selectAll("." + i.chartLine).data(a).attr("class", function (a) {
- return f(a) + k(a)
- }), c = b.enter().append("g").attr("class", f).style("opacity", 0).style("pointer-events", "none"), c.append("g").attr("class", g), c.append("g").attr("class", h), c.append("g").attr("class", function (a) {
- return d.generateClass(i.selectedCircles, a.id)
- }), c.append("g").attr("class", j).style("cursor", function (a) {
- return e.data_selection_isselectable(a) ? "pointer" : null
- }), a.forEach(function (a) {
- d.main.selectAll("." + i.selectedCircles + d.getTargetSelectorSuffix(a.id)).selectAll("." + i.selectedCircle).each(function (b) {
- b.value = a.values[b.index].value
- })
- })
- },f.redrawLine = function (a) {
- var b = this;
- b.mainLine = b.main.selectAll("." + i.lines).selectAll("." + i.line).data(b.lineData.bind(b)), b.mainLine.enter().append("path").attr("class", b.classLine.bind(b)).style("stroke", b.color), b.mainLine.style("opacity", b.initialOpacity.bind(b)).style("shape-rendering", function (a) {
- return b.isStepType(a) ? "crispEdges" : ""
- }).attr("transform", null), b.mainLine.exit().transition().duration(a).style("opacity", 0).remove()
- },f.addTransitionForLine = function (a, b) {
- var c = this;
- a.push(c.mainLine.transition().attr("d", b).style("stroke", c.color).style("opacity", 1))
- },f.generateDrawLine = function (a, b) {
- var c = this, d = c.config, e = c.d3.svg.line(), f = c.generateGetLinePoints(a, b), g = b ? c.getSubYScale : c.getYScale, h = function (a) {
- return (b ? c.subxx : c.xx).call(c, a)
- }, i = function (a, b) {
- return d.data_groups.length > 0 ? f(a, b)[0][1] : g.call(c, a.id)(a.value)
- };
- return e = d.axis_rotated ? e.x(i).y(h) : e.x(h).y(i), d.line_connectNull || (e = e.defined(function (a) {
- return null != a.value
- })), function (a) {
- var f, h = d.line_connectNull ? c.filterRemoveNull(a.values) : a.values, i = b ? c.x : c.subX, j = g.call(c, a.id), k = 0, l = 0;
- return c.isLineType(a) ? d.data_regions[a.id] ? f = c.lineWithRegions(h, i, j, d.data_regions[a.id]) : (c.isStepType(a) && (h = c.convertValuesToStep(h)), f = e.interpolate(c.getInterpolate(a))(h)) : (h[0] && (k = i(h[0].x), l = j(h[0].value)), f = d.axis_rotated ? "M " + l + " " + k : "M " + k + " " + l), f ? f : "M 0 0"
- }
- },f.generateGetLinePoints = function (a, b) {
- var c = this, d = c.config, e = a.__max__ + 1, f = c.getShapeX(0, e, a, !!b), g = c.getShapeY(!!b), h = c.getShapeOffset(c.isLineType, a, !!b), i = b ? c.getSubYScale : c.getYScale;
- return function (a, b) {
- var e = i.call(c, a.id)(0), j = h(a, b) || e, k = f(a), l = g(a);
- return d.axis_rotated && (0 < a.value && e > l || a.value < 0 && l > e) && (l = e), [[k, l - (e - j)], [k, l - (e - j)], [k, l - (e - j)], [k, l - (e - j)]]
- }
- },f.lineWithRegions = function (a, b, c, d) {
- function e(a, b) {
- var c;
- for (c = 0; c < b.length; c++)if (b[c].start < a && a <= b[c].end)return !0;
- return !1
- }
-
- var f, g, h, i, j, k, l, o, p, q, r, s, t = this, u = t.config, v = -1, w = "M", x = [];
- if (n(d))for (f = 0; f < d.length; f++)x[f] = {}, x[f].start = m(d[f].start) ? a[0].x : t.isTimeSeries() ? t.parseDate(d[f].start) : d[f].start, x[f].end = m(d[f].end) ? a[a.length - 1].x : t.isTimeSeries() ? t.parseDate(d[f].end) : d[f].end;
- for (r = u.axis_rotated ? function (a) {
- return c(a.value)
- } : function (a) {
- return b(a.x)
- }, s = u.axis_rotated ? function (a) {
- return b(a.x)
- } : function (a) {
- return c(a.value)
- }, h = t.isTimeSeries() ? function (a, d, e, f) {
- var g = a.x.getTime(), h = d.x - a.x, i = new Date(g + h * e), k = new Date(g + h * (e + f));
- return "M" + b(i) + " " + c(j(e)) + " " + b(k) + " " + c(j(e + f))
- } : function (a, d, e, f) {
- return "M" + b(i(e), !0) + " " + c(j(e)) + " " + b(i(e + f), !0) + " " + c(j(e + f))
- }, f = 0; f < a.length; f++) {
- if (m(x) || !e(a[f].x, x))w += " " + r(a[f]) + " " + s(a[f]); else for (i = t.getScale(a[f - 1].x, a[f].x, t.isTimeSeries()), j = t.getScale(a[f - 1].value, a[f].value), k = b(a[f].x) - b(a[f - 1].x), l = c(a[f].value) - c(a[f - 1].value), o = Math.sqrt(Math.pow(k, 2) + Math.pow(l, 2)), p = 2 / o, q = 2 * p, g = p; 1 >= g; g += q)w += h(a[f - 1], a[f], g, p);
- v = a[f].x
- }
- return w
- },f.redrawArea = function (a) {
- var b = this, c = b.d3;
- b.mainArea = b.main.selectAll("." + i.areas).selectAll("." + i.area).data(b.lineData.bind(b)), b.mainArea.enter().append("path").attr("class", b.classArea.bind(b)).style("fill", b.color).style("opacity", function () {
- return b.orgAreaOpacity = +c.select(this).style("opacity"), 0
- }), b.mainArea.style("opacity", b.orgAreaOpacity), b.mainArea.exit().transition().duration(a).style("opacity", 0).remove()
- },f.addTransitionForArea = function (a, b) {
- var c = this;
- a.push(c.mainArea.transition().attr("d", b).style("fill", c.color).style("opacity", c.orgAreaOpacity))
- },f.generateDrawArea = function (a, b) {
- var c = this, d = c.config, e = c.d3.svg.area(), f = c.generateGetAreaPoints(a, b), g = b ? c.getSubYScale : c.getYScale, h = function (a) {
- return (b ? c.subxx : c.xx).call(c, a)
- }, i = function (a, b) {
- return d.data_groups.length > 0 ? f(a, b)[0][1] : g.call(c, a.id)(0)
- }, j = function (a, b) {
- return d.data_groups.length > 0 ? f(a, b)[1][1] : g.call(c, a.id)(a.value)
- };
- return e = d.axis_rotated ? e.x0(i).x1(j).y(h) : e.x(h).y0(i).y1(j), d.line_connectNull || (e = e.defined(function (a) {
- return null !== a.value
- })), function (a) {
- var b, f = d.line_connectNull ? c.filterRemoveNull(a.values) : a.values, g = 0, h = 0;
- return c.isAreaType(a) ? (c.isStepType(a) && (f = c.convertValuesToStep(f)), b = e.interpolate(c.getInterpolate(a))(f)) : (f[0] && (g = c.x(f[0].x), h = c.getYScale(a.id)(f[0].value)), b = d.axis_rotated ? "M " + h + " " + g : "M " + g + " " + h), b ? b : "M 0 0"
- }
- },f.generateGetAreaPoints = function (a, b) {
- var c = this, d = c.config, e = a.__max__ + 1, f = c.getShapeX(0, e, a, !!b), g = c.getShapeY(!!b), h = c.getShapeOffset(c.isAreaType, a, !!b), i = b ? c.getSubYScale : c.getYScale;
- return function (a, b) {
- var e = i.call(c, a.id)(0), j = h(a, b) || e, k = f(a), l = g(a);
- return d.axis_rotated && (0 < a.value && e > l || a.value < 0 && l > e) && (l = e), [[k, j], [k, l - (e - j)], [k, l - (e - j)], [k, j]]
- }
- },f.redrawCircle = function () {
- var a = this;
- a.mainCircle = a.main.selectAll("." + i.circles).selectAll("." + i.circle).data(a.lineOrScatterData.bind(a)), a.mainCircle.enter().append("circle").attr("class", a.classCircle.bind(a)).attr("r", a.pointR.bind(a)).style("fill", a.color), a.mainCircle.style("opacity", a.initialOpacityForCircle.bind(a)), a.mainCircle.exit().remove()
- },f.addTransitionForCircle = function (a, b, c) {
- var d = this;
- a.push(d.mainCircle.transition().style("opacity", d.opacityForCircle.bind(d)).style("fill", d.color).attr("cx", b).attr("cy", c)), a.push(d.main.selectAll("." + i.selectedCircle).transition().attr("cx", b).attr("cy", c))
- },f.circleX = function (a) {
- return a.x || 0 === a.x ? this.x(a.x) : null
- },f.updateCircleY = function () {
- var a, b, c = this;
- c.config.data_groups.length > 0 ? (a = c.getShapeIndices(c.isLineType), b = c.generateGetLinePoints(a), c.circleY = function (a, c) {
- return b(a, c)[0][1]
- }) : c.circleY = function (a) {
- return c.getYScale(a.id)(a.value)
- }
- },f.getCircles = function (a, b) {
- var c = this;
- return (b ? c.main.selectAll("." + i.circles + c.getTargetSelectorSuffix(b)) : c.main).selectAll("." + i.circle + (j(a) ? "-" + a : ""))
- },f.expandCircles = function (a, b, c) {
- var d = this, e = d.pointExpandedR.bind(d);
- c && d.unexpandCircles(), d.getCircles(a, b).classed(i.EXPANDED, !0).attr("r", e)
- },f.unexpandCircles = function (a) {
- var b = this, c = b.pointR.bind(b);
- b.getCircles(a).filter(function () {
- return b.d3.select(this).classed(i.EXPANDED)
- }).classed(i.EXPANDED, !1).attr("r", c)
- },f.pointR = function (a) {
- var b = this, c = b.config;
- return b.isStepType(a) ? 0 : k(c.point_r) ? c.point_r(a) : c.point_r
- },f.pointExpandedR = function (a) {
- var b = this, c = b.config;
- return c.point_focus_expand_enabled ? c.point_focus_expand_r ? c.point_focus_expand_r : 1.75 * b.pointR(a) : b.pointR(a)
- },f.pointSelectR = function (a) {
- var b = this, c = b.config;
- return c.point_select_r ? c.point_select_r : 4 * b.pointR(a)
- },f.isWithinCircle = function (a, b) {
- var c = this.d3, d = c.mouse(a), e = c.select(a), f = +e.attr("cx"), g = +e.attr("cy");
- return Math.sqrt(Math.pow(f - d[0], 2) + Math.pow(g - d[1], 2)) < b
- },f.isWithinStep = function (a, b) {
- return Math.abs(b - this.d3.mouse(a)[1]) < 30
- },f.initBar = function () {
- var a = this;
- a.main.select("." + i.chart).append("g").attr("class", i.chartBars)
- },f.updateTargetsForBar = function (a) {
- var b, c, d = this, e = d.config, f = d.classChartBar.bind(d), g = d.classBars.bind(d), h = d.classFocus.bind(d);
- b = d.main.select("." + i.chartBars).selectAll("." + i.chartBar).data(a).attr("class", function (a) {
- return f(a) + h(a)
- }), c = b.enter().append("g").attr("class", f).style("opacity", 0).style("pointer-events", "none"), c.append("g").attr("class", g).style("cursor", function (a) {
- return e.data_selection_isselectable(a) ? "pointer" : null
- })
- },f.redrawBar = function (a) {
- var b = this, c = b.barData.bind(b), d = b.classBar.bind(b), e = b.initialOpacity.bind(b), f = function (a) {
- return b.color(a.id)
- };
- b.mainBar = b.main.selectAll("." + i.bars).selectAll("." + i.bar).data(c), b.mainBar.enter().append("path").attr("class", d).style("stroke", f).style("fill", f), b.mainBar.style("opacity", e), b.mainBar.exit().transition().duration(a).style("opacity", 0).remove()
- },f.addTransitionForBar = function (a, b) {
- var c = this;
- a.push(c.mainBar.transition().attr("d", b).style("fill", c.color).style("opacity", 1))
- },f.getBarW = function (a, b) {
- var c = this, d = c.config, e = "number" == typeof d.bar_width ? d.bar_width : b ? 2 * a.tickOffset() * d.bar_width_ratio / b : 0;
- return d.bar_width_max && e > d.bar_width_max ? d.bar_width_max : e
- },f.getBars = function (a, b) {
- var c = this;
- return (b ? c.main.selectAll("." + i.bars + c.getTargetSelectorSuffix(b)) : c.main).selectAll("." + i.bar + (j(a) ? "-" + a : ""))
- },f.expandBars = function (a, b, c) {
- var d = this;
- c && d.unexpandBars(), d.getBars(a, b).classed(i.EXPANDED, !0)
- },f.unexpandBars = function (a) {
- var b = this;
- b.getBars(a).classed(i.EXPANDED, !1)
- },f.generateDrawBar = function (a, b) {
- var c = this, d = c.config, e = c.generateGetBarPoints(a, b);
- return function (a, b) {
- var c = e(a, b), f = d.axis_rotated ? 1 : 0, g = d.axis_rotated ? 0 : 1, h = "M " + c[0][f] + "," + c[0][g] + " L" + c[1][f] + "," + c[1][g] + " L" + c[2][f] + "," + c[2][g] + " L" + c[3][f] + "," + c[3][g] + " z";
- return h
- }
- },f.generateGetBarPoints = function (a, b) {
- var c = this, d = b ? c.subXAxis : c.xAxis, e = a.__max__ + 1, f = c.getBarW(d, e), g = c.getShapeX(f, e, a, !!b), h = c.getShapeY(!!b), i = c.getShapeOffset(c.isBarType, a, !!b), j = b ? c.getSubYScale : c.getYScale;
- return function (a, b) {
- var d = j.call(c, a.id)(0), e = i(a, b) || d, k = g(a), l = h(a);
- return c.config.axis_rotated && (0 < a.value && d > l || a.value < 0 && l > d) && (l = d), [[k, e], [k, l - (d - e)], [k + f, l - (d - e)], [k + f, e]]
- }
- },f.isWithinBar = function (a) {
- var b = this.d3.mouse(a), c = a.getBoundingClientRect(), d = a.pathSegList.getItem(0), e = a.pathSegList.getItem(1), f = Math.min(d.x, e.x), g = Math.min(d.y, e.y), h = c.width, i = c.height, j = 2, k = f - j, l = f + h + j, m = g + i + j, n = g - j;
- return k < b[0] && b[0] < l && n < b[1] && b[1] < m
- },f.initText = function () {
- var a = this;
- a.main.select("." + i.chart).append("g").attr("class", i.chartTexts), a.mainText = a.d3.selectAll([])
- },f.updateTargetsForText = function (a) {
- var b, c, d = this, e = d.classChartText.bind(d), f = d.classTexts.bind(d), g = d.classFocus.bind(d);
- b = d.main.select("." + i.chartTexts).selectAll("." + i.chartText).data(a).attr("class", function (a) {
- return e(a) + g(a)
- }), c = b.enter().append("g").attr("class", e).style("opacity", 0).style("pointer-events", "none"), c.append("g").attr("class", f)
- },f.redrawText = function (a) {
- var b = this, c = b.config, d = b.barOrLineData.bind(b), e = b.classText.bind(b);
- b.mainText = b.main.selectAll("." + i.texts).selectAll("." + i.text).data(d), b.mainText.enter().append("text").attr("class", e).attr("text-anchor", function (a) {
- return c.axis_rotated ? a.value < 0 ? "end" : "start" : "middle"
- }).style("stroke", "none").style("fill", function (a) {
- return b.color(a)
- }).style("fill-opacity", 0), b.mainText.text(function (a, c, d) {
- return b.formatByAxisId(b.getAxisId(a.id))(a.value, a.id, c, d)
- }), b.mainText.exit().transition().duration(a).style("fill-opacity", 0).remove()
- },f.addTransitionForText = function (a, b, c, d) {
- var e = this, f = d ? 0 : e.opacityForText.bind(e);
- a.push(e.mainText.transition().attr("x", b).attr("y", c).style("fill", e.color).style("fill-opacity", f))
- },f.getTextRect = function (a, b) {
- var c, d = this.d3.select("body").classed("c3", !0), e = d.append("svg").style("visibility", "hidden");
- return e.selectAll(".dummy").data([a]).enter().append("text").classed(b ? b : "", !0).text(a).each(function () {
- c = this.getBoundingClientRect()
- }), e.remove(), d.classed("c3", !1), c
- },f.generateXYForText = function (a, b, c, d) {
- var e = this, f = e.generateGetAreaPoints(b, !1), g = e.generateGetBarPoints(b, !1), h = e.generateGetLinePoints(c, !1), i = d ? e.getXForText : e.getYForText;
- return function (a, b) {
- var c = e.isAreaType(a) ? f : e.isBarType(a) ? g : h;
- return i.call(e, c(a, b), a, this)
- }
- },f.getXForText = function (a, b, c) {
- var d, e, f = this, g = c.getBoundingClientRect();
- return f.config.axis_rotated ? (e = f.isBarType(b) ? 4 : 6, d = a[2][1] + e * (b.value < 0 ? -1 : 1)) : d = f.hasType("bar") ? (a[2][0] + a[0][0]) / 2 : a[0][0], null === b.value && (d > f.width ? d = f.width - g.width : 0 > d && (d = 4)), d
- },f.getYForText = function (a, b, c) {
- var d, e = this, f = c.getBoundingClientRect();
- return d = e.config.axis_rotated ? (a[0][0] + a[2][0] + .6 * f.height) / 2 : a[2][1] + (b.value < 0 ? f.height : e.isBarType(b) ? -3 : -6), null !== b.value || e.config.axis_rotated || (d < f.height ? d = f.height : d > this.height && (d = this.height - 4)), d
- },f.setTargetType = function (a, b) {
- var c = this, d = c.config;
- c.mapToTargetIds(a).forEach(function (a) {
- c.withoutFadeIn[a] = b === d.data_types[a], d.data_types[a] = b
- }), a || (d.data_type = b)
- },f.hasType = function (a, b) {
- var c = this, d = c.config.data_types, e = !1;
- return b = b || c.data.targets, b && b.length ? b.forEach(function (b) {
- var c = d[b.id];
- (c && c.indexOf(a) >= 0 || !c && "line" === a) && (e = !0)
- }) : Object.keys(d).length ? Object.keys(d).forEach(function (b) {
- d[b] === a && (e = !0)
- }) : e = c.config.data_type === a, e
- },f.hasArcType = function (a) {
- return this.hasType("pie", a) || this.hasType("donut", a) || this.hasType("gauge", a)
- },f.isLineType = function (a) {
- var b = this.config, c = l(a) ? a : a.id;
- return !b.data_types[c] || ["line", "spline", "area", "area-spline", "step", "area-step"].indexOf(b.data_types[c]) >= 0
- },f.isStepType = function (a) {
- var b = l(a) ? a : a.id;
- return ["step", "area-step"].indexOf(this.config.data_types[b]) >= 0
- },f.isSplineType = function (a) {
- var b = l(a) ? a : a.id;
- return ["spline", "area-spline"].indexOf(this.config.data_types[b]) >= 0
- },f.isAreaType = function (a) {
- var b = l(a) ? a : a.id;
- return ["area", "area-spline", "area-step"].indexOf(this.config.data_types[b]) >= 0
- },f.isBarType = function (a) {
- var b = l(a) ? a : a.id;
- return "bar" === this.config.data_types[b]
- },f.isScatterType = function (a) {
- var b = l(a) ? a : a.id;
- return "scatter" === this.config.data_types[b]
- },f.isPieType = function (a) {
- var b = l(a) ? a : a.id;
- return "pie" === this.config.data_types[b]
- },f.isGaugeType = function (a) {
- var b = l(a) ? a : a.id;
- return "gauge" === this.config.data_types[b]
- },f.isDonutType = function (a) {
- var b = l(a) ? a : a.id;
- return "donut" === this.config.data_types[b]
- },f.isArcType = function (a) {
- return this.isPieType(a) || this.isDonutType(a) || this.isGaugeType(a)
- },f.lineData = function (a) {
- return this.isLineType(a) ? [a] : []
- },f.arcData = function (a) {
- return this.isArcType(a.data) ? [a] : []
- },f.barData = function (a) {
- return this.isBarType(a) ? a.values : []
- },f.lineOrScatterData = function (a) {
- return this.isLineType(a) || this.isScatterType(a) ? a.values : []
- },f.barOrLineData = function (a) {
- return this.isBarType(a) || this.isLineType(a) ? a.values : []
- },f.initGrid = function () {
- var a = this, b = a.config, c = a.d3;
- a.grid = a.main.append("g").attr("clip-path", a.clipPathForGrid).attr("class", i.grid), b.grid_x_show && a.grid.append("g").attr("class", i.xgrids), b.grid_y_show && a.grid.append("g").attr("class", i.ygrids), b.grid_focus_show && a.grid.append("g").attr("class", i.xgridFocus).append("line").attr("class", i.xgridFocus), a.xgrid = c.selectAll([]), b.grid_lines_front || a.initGridLines()
- },f.initGridLines = function () {
- var a = this, b = a.d3;
- a.gridLines = a.main.append("g").attr("clip-path", a.clipPathForGrid).attr("class", i.grid + " " + i.gridLines), a.gridLines.append("g").attr("class", i.xgridLines), a.gridLines.append("g").attr("class", i.ygridLines), a.xgridLines = b.selectAll([])
- },f.updateXGrid = function (a) {
- var b = this, c = b.config, d = b.d3, e = b.generateGridData(c.grid_x_type, b.x), f = b.isCategorized() ? b.xAxis.tickOffset() : 0;
- b.xgridAttr = c.axis_rotated ? {
- x1: 0, x2: b.width, y1: function (a) {
- return b.x(a) - f
- }, y2: function (a) {
- return b.x(a) - f
- }
- } : {
- x1: function (a) {
- return b.x(a) + f
- }, x2: function (a) {
- return b.x(a) + f
- }, y1: 0, y2: b.height
- }, b.xgrid = b.main.select("." + i.xgrids).selectAll("." + i.xgrid).data(e), b.xgrid.enter().append("line").attr("class", i.xgrid), a || b.xgrid.attr(b.xgridAttr).style("opacity", function () {
- return +d.select(this).attr(c.axis_rotated ? "y1" : "x1") === (c.axis_rotated ? b.height : 0) ? 0 : 1
- }), b.xgrid.exit().remove()
- },f.updateYGrid = function () {
- var a = this, b = a.config, c = a.yAxis.tickValues() || a.y.ticks(b.grid_y_ticks);
- a.ygrid = a.main.select("." + i.ygrids).selectAll("." + i.ygrid).data(c), a.ygrid.enter().append("line").attr("class", i.ygrid), a.ygrid.attr("x1", b.axis_rotated ? a.y : 0).attr("x2", b.axis_rotated ? a.y : a.width).attr("y1", b.axis_rotated ? 0 : a.y).attr("y2", b.axis_rotated ? a.height : a.y), a.ygrid.exit().remove(), a.smoothLines(a.ygrid, "grid")
- },f.redrawGrid = function (a) {
- var b, c, d, e = this, f = e.main, g = e.config;
- e.grid.style("visibility", e.hasArcType() ? "hidden" : "visible"), f.select("line." + i.xgridFocus).style("visibility", "hidden"), g.grid_x_show && e.updateXGrid(), e.xgridLines = f.select("." + i.xgridLines).selectAll("." + i.xgridLine).data(g.grid_x_lines), b = e.xgridLines.enter().append("g").attr("class", function (a) {
- return i.xgridLine + (a["class"] ? " " + a["class"] : "")
- }), b.append("line").style("opacity", 0), b.append("text").attr("text-anchor", "end").attr("transform", g.axis_rotated ? "" : "rotate(-90)").attr("dx", g.axis_rotated ? 0 : -e.margin.top).attr("dy", -5).style("opacity", 0), e.xgridLines.exit().transition().duration(a).style("opacity", 0).remove(), g.grid_y_show && e.updateYGrid(), e.ygridLines = f.select("." + i.ygridLines).selectAll("." + i.ygridLine).data(g.grid_y_lines), c = e.ygridLines.enter().append("g").attr("class", function (a) {
- return i.ygridLine + (a["class"] ? " " + a["class"] : "")
- }), c.append("line").style("opacity", 0), c.append("text").attr("text-anchor", "end").attr("transform", g.axis_rotated ? "rotate(-90)" : "").attr("dx", g.axis_rotated ? 0 : -e.margin.top).attr("dy", -5).style("opacity", 0), d = e.yv.bind(e), e.ygridLines.select("line").transition().duration(a).attr("x1", g.axis_rotated ? d : 0).attr("x2", g.axis_rotated ? d : e.width).attr("y1", g.axis_rotated ? 0 : d).attr("y2", g.axis_rotated ? e.height : d).style("opacity", 1), e.ygridLines.select("text").transition().duration(a).attr("x", g.axis_rotated ? 0 : e.width).attr("y", d).text(function (a) {
- return a.text
- }).style("opacity", 1), e.ygridLines.exit().transition().duration(a).style("opacity", 0).remove()
- },f.addTransitionForGrid = function (a) {
- var b = this, c = b.config, d = b.xv.bind(b);
- a.push(b.xgridLines.select("line").transition().attr("x1", c.axis_rotated ? 0 : d).attr("x2", c.axis_rotated ? b.width : d).attr("y1", c.axis_rotated ? d : b.margin.top).attr("y2", c.axis_rotated ? d : b.height).style("opacity", 1)), a.push(b.xgridLines.select("text").transition().attr("x", c.axis_rotated ? b.width : 0).attr("y", d).text(function (a) {
- return a.text
- }).style("opacity", 1))
- },f.showXGridFocus = function (a) {
- var b = this, c = b.config, d = a.filter(function (a) {
- return a && j(a.value)
- }), e = b.main.selectAll("line." + i.xgridFocus), f = b.xx.bind(b);
- c.tooltip_show && (b.hasType("scatter") || b.hasArcType() || (e.style("visibility", "visible").data([d[0]]).attr(c.axis_rotated ? "y1" : "x1", f).attr(c.axis_rotated ? "y2" : "x2", f), b.smoothLines(e, "grid")))
- },f.hideXGridFocus = function () {
- this.main.select("line." + i.xgridFocus).style("visibility", "hidden")
- },f.updateXgridFocus = function () {
- var a = this, b = a.config;
- a.main.select("line." + i.xgridFocus).attr("x1", b.axis_rotated ? 0 : -10).attr("x2", b.axis_rotated ? a.width : -10).attr("y1", b.axis_rotated ? -10 : 0).attr("y2", b.axis_rotated ? -10 : a.height)
- },f.generateGridData = function (a, b) {
- var c, d, e, f, g = this, h = [], j = g.main.select("." + i.axisX).selectAll(".tick").size();
- if ("year" === a)for (c = g.getXDomain(), d = c[0].getFullYear(), e = c[1].getFullYear(), f = d; e >= f; f++)h.push(new Date(f + "-01-01 00:00:00")); else h = b.ticks(10), h.length > j && (h = h.filter(function (a) {
- return ("" + a).indexOf(".") < 0
- }));
- return h
- },f.getGridFilterToRemove = function (a) {
- return a ? function (b) {
- var c = !1;
- return [].concat(a).forEach(function (a) {
- ("value"in a && b.value === a.value || "class"in a && b["class"] === a["class"]) && (c = !0)
- }), c
- } : function () {
- return !0
- }
- },f.removeGridLines = function (a, b) {
- var c = this, d = c.config, e = c.getGridFilterToRemove(a), f = function (a) {
- return !e(a)
- }, g = b ? i.xgridLines : i.ygridLines, h = b ? i.xgridLine : i.ygridLine;
- c.main.select("." + g).selectAll("." + h).filter(e).transition().duration(d.transition_duration).style("opacity", 0).remove(), b ? d.grid_x_lines = d.grid_x_lines.filter(f) : d.grid_y_lines = d.grid_y_lines.filter(f)
- },f.initTooltip = function () {
- var a, b = this, c = b.config;
- if (b.tooltip = b.selectChart.style("position", "relative").append("div").attr("class", i.tooltipContainer).style("position", "absolute").style("pointer-events", "none").style("display", "none"), c.tooltip_init_show) {
- if (b.isTimeSeries() && l(c.tooltip_init_x)) {
- for (c.tooltip_init_x = b.parseDate(c.tooltip_init_x), a = 0; a < b.data.targets[0].values.length && b.data.targets[0].values[a].x - c.tooltip_init_x !== 0; a++);
- c.tooltip_init_x = a
- }
- b.tooltip.html(c.tooltip_contents.call(b, b.data.targets.map(function (a) {
- return b.addName(a.values[c.tooltip_init_x])
- }), b.getXAxisTickFormat(), b.getYFormat(b.hasArcType()), b.color)), b.tooltip.style("top", c.tooltip_init_position.top).style("left", c.tooltip_init_position.left).style("display", "block")
- }
- },f.getTooltipContent = function (a, b, c, d) {
- var e, f, g, h, j, k, l = this, m = l.config, n = m.tooltip_format_title || b, o = m.tooltip_format_name || function (a) {
- return a
- }, p = m.tooltip_format_value || c;
- for (f = 0; f < a.length; f++)a[f] && (a[f].value || 0 === a[f].value) && (e || (g = n ? n(a[f].x) : a[f].x, e = "<table class='" + i.tooltip + "'>" + (g || 0 === g ? "<tr><th colspan='2'>" + g + "</th></tr>" : "")), j = o(a[f].name, a[f].ratio, a[f].id, a[f].index), h = p(a[f].value, a[f].ratio, a[f].id, a[f].index), k = l.levelColor ? l.levelColor(a[f].value) : d(a[f].id), e += "<tr class='" + i.tooltipName + "-" + a[f].id + "'>", e += "<td class='name'><span style='background-color:" + k + "'></span>" + j + "</td>", e += "<td class='value'>" + h + "</td>", e += "</tr>");
- return e + "</table>"
- },f.showTooltip = function (a, b) {
- var c, d, e, f, g, h, i, k = this, l = k.config, m = k.hasArcType(), n = a.filter(function (a) {
- return a && j(a.value)
- });
- 0 !== n.length && l.tooltip_show && (k.tooltip.html(l.tooltip_contents.call(k, a, k.getXAxisTickFormat(), k.getYFormat(m), k.color)).style("display", "block"), c = k.tooltip.property("offsetWidth"), d = k.tooltip.property("offsetHeight"), m ? (f = k.width / 2 + b[0], h = k.height / 2 + b[1] + 20) : (e = k.getSvgLeft(!0), l.axis_rotated ? (f = e + b[0] + 100, g = f + c, i = k.currentWidth - k.getCurrentPaddingRight(), h = k.x(n[0].x) + 20) : (f = e + k.getCurrentPaddingLeft(!0) + k.x(n[0].x) + 20, g = f + c, i = e + k.currentWidth - k.getCurrentPaddingRight(), h = b[1] + 15), g > i && (f -= g - i), h + d > k.currentHeight && (h -= d + 30)), 0 > h && (h = 0), k.tooltip.style("top", h + "px").style("left", f + "px"))
- },f.hideTooltip = function () {
- this.tooltip.style("display", "none")
- },f.initLegend = function () {
- var a = this;
- return a.legendHasRendered = !1, a.legend = a.svg.append("g").attr("transform", a.getTranslate("legend")), a.config.legend_show ? void a.updateLegendWithDefaults() : (a.legend.style("visibility", "hidden"), void(a.hiddenLegendIds = a.mapToIds(a.data.targets)))
- },f.updateLegendWithDefaults = function () {
- var a = this;
- a.updateLegend(a.mapToIds(a.data.targets), {
- withTransform: !1,
- withTransitionForTransform: !1,
- withTransition: !1
- })
- },f.updateSizeForLegend = function (a, b) {
- var c = this, d = c.config, e = {
- top: c.isLegendTop ? c.getCurrentPaddingTop() + d.legend_inset_y + 5.5 : c.currentHeight - a - c.getCurrentPaddingBottom() - d.legend_inset_y,
- left: c.isLegendLeft ? c.getCurrentPaddingLeft() + d.legend_inset_x + .5 : c.currentWidth - b - c.getCurrentPaddingRight() - d.legend_inset_x + .5
- };
- c.margin3 = {
- top: c.isLegendRight ? 0 : c.isLegendInset ? e.top : c.currentHeight - a,
- right: 0 / 0,
- bottom: 0,
- left: c.isLegendRight ? c.currentWidth - b : c.isLegendInset ? e.left : 0
- }
- },f.transformLegend = function (a) {
- var b = this;
- (a ? b.legend.transition() : b.legend).attr("transform", b.getTranslate("legend"))
- },f.updateLegendStep = function (a) {
- this.legendStep = a
- },f.updateLegendItemWidth = function (a) {
- this.legendItemWidth = a
- },f.updateLegendItemHeight = function (a) {
- this.legendItemHeight = a
- },f.getLegendWidth = function () {
- var a = this;
- return a.config.legend_show ? a.isLegendRight || a.isLegendInset ? a.legendItemWidth * (a.legendStep + 1) : a.currentWidth : 0
- },f.getLegendHeight = function () {
- var a = this, b = 0;
- return a.config.legend_show && (b = a.isLegendRight ? a.currentHeight : Math.max(20, a.legendItemHeight) * (a.legendStep + 1)), b
- },f.opacityForLegend = function (a) {
- return a.classed(i.legendItemHidden) ? null : 1
- },f.opacityForUnfocusedLegend = function (a) {
- return a.classed(i.legendItemHidden) ? null : .3
- },f.toggleFocusLegend = function (a, b) {
- var c = this;
- a = c.mapToTargetIds(a), c.legend.selectAll("." + i.legendItem).filter(function (b) {
- return a.indexOf(b) >= 0
- }).classed(i.legendItemFocused, b).transition().duration(100).style("opacity", function () {
- var a = b ? c.opacityForLegend : c.opacityForUnfocusedLegend;
- return a.call(c, c.d3.select(this))
- })
- },f.revertLegend = function () {
- var a = this, b = a.d3;
- a.legend.selectAll("." + i.legendItem).classed(i.legendItemFocused, !1).transition().duration(100).style("opacity", function () {
- return a.opacityForLegend(b.select(this))
- })
- },f.showLegend = function (a) {
- var b = this, c = b.config;
- c.legend_show || (c.legend_show = !0, b.legend.style("visibility", "visible"), b.legendHasRendered || b.updateLegendWithDefaults()), b.removeHiddenLegendIds(a), b.legend.selectAll(b.selectorLegends(a)).style("visibility", "visible").transition().style("opacity", function () {
- return b.opacityForLegend(b.d3.select(this))
- })
- },f.hideLegend = function (a) {
- var b = this, c = b.config;
- c.legend_show && r(a) && (c.legend_show = !1, b.legend.style("visibility", "hidden")), b.addHiddenLegendIds(a), b.legend.selectAll(b.selectorLegends(a)).style("opacity", 0).style("visibility", "hidden")
- };
- var h = {};
- f.clearLegendItemTextBoxCache = function () {
- h = {}
- }, f.updateLegend = function (a, b, c) {
- function d(a, b) {
- return h[b] || (h[b] = w.getTextRect(a.textContent, i.legendItem)), h[b]
- }
-
- function e(b, c, e) {
- function f(a, b) {
- b || (g = (o - E - n) / 2, C > g && (g = (o - n) / 2, E = 0, K++)), J[a] = K, I[K] = w.isLegendInset ? 10 : g, F[a] = E, E += n
- }
-
- var g, h, i = 0 === e, j = e === a.length - 1, k = d(b, c), l = k.width + D + (!j || w.isLegendRight || w.isLegendInset ? z : 0), m = k.height + y, n = w.isLegendRight || w.isLegendInset ? m : l, o = w.isLegendRight || w.isLegendInset ? w.getLegendHeight() : w.getLegendWidth();
- return i && (E = 0, K = 0, A = 0, B = 0), x.legend_show && !w.isLegendToShow(c) ? void(G[c] = H[c] = J[c] = F[c] = 0) : (G[c] = l, H[c] = m, (!A || l >= A) && (A = l), (!B || m >= B) && (B = m), h = w.isLegendRight || w.isLegendInset ? B : A, void(x.legend_equally ? (Object.keys(G).forEach(function (a) {
- G[a] = A
- }), Object.keys(H).forEach(function (a) {
- H[a] = B
- }), g = (o - h * a.length) / 2, C > g ? (E = 0, K = 0, a.forEach(function (a) {
- f(a)
- })) : f(c, !0)) : f(c)))
- }
-
- var f, g, j, k, l, m, o, p, q, r, s, u, v, w = this, x = w.config, y = 4, z = 10, A = 0, B = 0, C = 10, D = 15, E = 0, F = {}, G = {}, H = {}, I = [0], J = {}, K = 0, L = w.legend.selectAll("." + i.legendItemFocused).size();
- b = b || {}, p = t(b, "withTransition", !0), q = t(b, "withTransitionForTransform", !0), w.isLegendInset && (K = x.legend_inset_step ? x.legend_inset_step : a.length, w.updateLegendStep(K)), w.isLegendRight ? (f = function (a) {
- return A * J[a]
- }, k = function (a) {
- return I[J[a]] + F[a]
- }) : w.isLegendInset ? (f = function (a) {
- return A * J[a] + 10
- }, k = function (a) {
- return I[J[a]] + F[a]
- }) : (f = function (a) {
- return I[J[a]] + F[a]
- }, k = function (a) {
- return B * J[a]
- }), g = function (a, b) {
- return f(a, b) + 14
- }, l = function (a, b) {
- return k(a, b) + 9
- }, j = function (a, b) {
- return f(a, b)
- }, m = function (a, b) {
- return k(a, b) - 5
- }, o = w.legend.selectAll("." + i.legendItem).data(a).enter().append("g").attr("class", function (a) {
- return w.generateClass(i.legendItem, a)
- }).style("visibility", function (a) {
- return w.isLegendToShow(a) ? "visible" : "hidden"
- }).style("cursor", "pointer").on("click", function (a) {
- x.legend_item_onclick ? x.legend_item_onclick.call(w, a) : w.d3.event.altKey ? (w.api.hide(), w.api.show(a)) : (w.api.toggle(a), w.isTargetToShow(a) ? w.api.focus(a) : w.api.revert())
- }).on("mouseover", function (a) {
- w.d3.select(this).classed(i.legendItemFocused, !0), !w.transiting && w.isTargetToShow(a) && w.api.focus(a), x.legend_item_onmouseover && x.legend_item_onmouseover.call(w, a)
- }).on("mouseout", function (a) {
- w.d3.select(this).classed(i.legendItemFocused, !1), w.api.revert(), x.legend_item_onmouseout && x.legend_item_onmouseout.call(w, a)
- }), o.append("text").text(function (a) {
- return n(x.data_names[a]) ? x.data_names[a] : a
- }).each(function (a, b) {
- e(this, a, b)
- }).style("pointer-events", "none").attr("x", w.isLegendRight || w.isLegendInset ? g : -200).attr("y", w.isLegendRight || w.isLegendInset ? -200 : l), o.append("rect").attr("class", i.legendItemEvent).style("fill-opacity", 0).attr("x", w.isLegendRight || w.isLegendInset ? j : -200).attr("y", w.isLegendRight || w.isLegendInset ? -200 : m), o.append("rect").attr("class", i.legendItemTile).style("pointer-events", "none").style("fill", w.color).attr("x", w.isLegendRight || w.isLegendInset ? g : -200).attr("y", w.isLegendRight || w.isLegendInset ? -200 : k).attr("width", 10).attr("height", 10), v = w.legend.select("." + i.legendBackground + " rect"), w.isLegendInset && A > 0 && 0 === v.size() && (v = w.legend.insert("g", "." + i.legendItem).attr("class", i.legendBackground).append("rect")), r = w.legend.selectAll("text").data(a).text(function (a) {
- return n(x.data_names[a]) ? x.data_names[a] : a
- }).each(function (a, b) {
- e(this, a, b)
- }), (p ? r.transition() : r).attr("x", g).attr("y", l), s = w.legend.selectAll("rect." + i.legendItemEvent).data(a), (p ? s.transition() : s).attr("width", function (a) {
- return G[a]
- }).attr("height", function (a) {
- return H[a]
- }).attr("x", j).attr("y", m), u = w.legend.selectAll("rect." + i.legendItemTile).data(a), (p ? u.transition() : u).style("fill", w.color).attr("x", f).attr("y", k), v && (p ? v.transition() : v).attr("height", w.getLegendHeight() - 12).attr("width", A * (K + 1) + 10), w.legend.selectAll("." + i.legendItem).classed(i.legendItemHidden, function (a) {
- return !w.isTargetToShow(a)
- }).transition().style("opacity", function (a) {
- var b = w.d3.select(this);
- return w.isTargetToShow(a) ? !L || b.classed(i.legendItemFocused) ? w.opacityForLegend(b) : w.opacityForUnfocusedLegend(b) : null
- }), w.updateLegendItemWidth(A), w.updateLegendItemHeight(B), w.updateLegendStep(K), w.updateSizes(), w.updateScales(), w.updateSvgSize(), w.transformAll(q, c), w.legendHasRendered = !0
- }, f.initAxis = function () {
- var a = this, b = a.config, c = a.main;
- a.axes.x = c.append("g").attr("class", i.axis + " " + i.axisX).attr("clip-path", a.clipPathForXAxis).attr("transform", a.getTranslate("x")).style("visibility", b.axis_x_show ? "visible" : "hidden"), a.axes.x.append("text").attr("class", i.axisXLabel).attr("transform", b.axis_rotated ? "rotate(-90)" : "").style("text-anchor", a.textAnchorForXAxisLabel.bind(a)), a.axes.y = c.append("g").attr("class", i.axis + " " + i.axisY).attr("clip-path", b.axis_y_inner ? "" : a.clipPathForYAxis).attr("transform", a.getTranslate("y")).style("visibility", b.axis_y_show ? "visible" : "hidden"), a.axes.y.append("text").attr("class", i.axisYLabel).attr("transform", b.axis_rotated ? "" : "rotate(-90)").style("text-anchor", a.textAnchorForYAxisLabel.bind(a)), a.axes.y2 = c.append("g").attr("class", i.axis + " " + i.axisY2).attr("transform", a.getTranslate("y2")).style("visibility", b.axis_y2_show ? "visible" : "hidden"), a.axes.y2.append("text").attr("class", i.axisY2Label).attr("transform", b.axis_rotated ? "" : "rotate(-90)").style("text-anchor", a.textAnchorForY2AxisLabel.bind(a))
- }, f.getXAxis = function (a, b, c, e, f) {
- var g = this, h = g.config, i = {
- isCategory: g.isCategorized(),
- withOuterTick: f,
- tickMultiline: h.axis_x_tick_multiline,
- tickWidth: h.axis_x_tick_width
- }, j = d(g.d3, i).scale(a).orient(b);
- return g.isTimeSeries() && e && (e = e.map(function (a) {
- return g.parseDate(a)
- })), j.tickFormat(c).tickValues(e), g.isCategorized() ? (j.tickCentered(h.axis_x_tick_centered), r(h.axis_x_tick_culling) && (h.axis_x_tick_culling = !1)) : j.tickOffset = function () {
- var a = this.scale(), b = g.getEdgeX(g.data.targets), c = a(b[1]) - a(b[0]), d = c ? c : h.axis_rotated ? g.height : g.width;
- return d / g.getMaxDataCount() / 2
- }, j
- }, f.getYAxis = function (a, b, c, e, f) {
- var g = {withOuterTick: f}, h = d(this.d3, g).scale(a).orient(b).tickFormat(c);
- return this.isTimeSeriesY() ? h.ticks(this.d3.time[this.config.axis_y_tick_time_value], this.config.axis_y_tick_time_interval) : h.tickValues(e), h
- }, f.getAxisId = function (a) {
- var b = this.config;
- return a in b.data_axes ? b.data_axes[a] : "y"
- }, f.getXAxisTickFormat = function () {
- var a = this, b = a.config, c = a.isTimeSeries() ? a.defaultAxisTimeFormat : a.isCategorized() ? a.categoryName : function (a) {
- return 0 > a ? a.toFixed(0) : a
- };
- return b.axis_x_tick_format && (k(b.axis_x_tick_format) ? c = b.axis_x_tick_format : a.isTimeSeries() && (c = function (c) {
- return c ? a.axisTimeFormat(b.axis_x_tick_format)(c) : ""
- })), k(c) ? function (b) {
- return c.call(a, b)
- } : c
- }, f.getAxisTickValues = function (a, b) {
- return a ? a : b ? b.tickValues() : void 0
- }, f.getXAxisTickValues = function () {
- return this.getAxisTickValues(this.config.axis_x_tick_values, this.xAxis)
- }, f.getYAxisTickValues = function () {
- return this.getAxisTickValues(this.config.axis_y_tick_values, this.yAxis)
- }, f.getY2AxisTickValues = function () {
- return this.getAxisTickValues(this.config.axis_y2_tick_values, this.y2Axis)
- }, f.getAxisLabelOptionByAxisId = function (a) {
- var b, c = this, d = c.config;
- return "y" === a ? b = d.axis_y_label : "y2" === a ? b = d.axis_y2_label : "x" === a && (b = d.axis_x_label), b
- }, f.getAxisLabelText = function (a) {
- var b = this.getAxisLabelOptionByAxisId(a);
- return l(b) ? b : b ? b.text : null
- }, f.setAxisLabelText = function (a, b) {
- var c = this, d = c.config, e = c.getAxisLabelOptionByAxisId(a);
- l(e) ? "y" === a ? d.axis_y_label = b : "y2" === a ? d.axis_y2_label = b : "x" === a && (d.axis_x_label = b) : e && (e.text = b)
- }, f.getAxisLabelPosition = function (a, b) {
- var c = this.getAxisLabelOptionByAxisId(a), d = c && "object" == typeof c && c.position ? c.position : b;
- return {
- isInner: d.indexOf("inner") >= 0,
- isOuter: d.indexOf("outer") >= 0,
- isLeft: d.indexOf("left") >= 0,
- isCenter: d.indexOf("center") >= 0,
- isRight: d.indexOf("right") >= 0,
- isTop: d.indexOf("top") >= 0,
- isMiddle: d.indexOf("middle") >= 0,
- isBottom: d.indexOf("bottom") >= 0
- }
- }, f.getXAxisLabelPosition = function () {
- return this.getAxisLabelPosition("x", this.config.axis_rotated ? "inner-top" : "inner-right")
- }, f.getYAxisLabelPosition = function () {
- return this.getAxisLabelPosition("y", this.config.axis_rotated ? "inner-right" : "inner-top")
- }, f.getY2AxisLabelPosition = function () {
- return this.getAxisLabelPosition("y2", this.config.axis_rotated ? "inner-right" : "inner-top")
- }, f.getAxisLabelPositionById = function (a) {
- return "y2" === a ? this.getY2AxisLabelPosition() : "y" === a ? this.getYAxisLabelPosition() : this.getXAxisLabelPosition()
- }, f.textForXAxisLabel = function () {
- return this.getAxisLabelText("x")
- }, f.textForYAxisLabel = function () {
- return this.getAxisLabelText("y")
- }, f.textForY2AxisLabel = function () {
- return this.getAxisLabelText("y2")
- }, f.xForAxisLabel = function (a, b) {
- var c = this;
- return a ? b.isLeft ? 0 : b.isCenter ? c.width / 2 : c.width : b.isBottom ? -c.height : b.isMiddle ? -c.height / 2 : 0
- }, f.dxForAxisLabel = function (a, b) {
- return a ? b.isLeft ? "0.5em" : b.isRight ? "-0.5em" : "0" : b.isTop ? "-0.5em" : b.isBottom ? "0.5em" : "0"
- }, f.textAnchorForAxisLabel = function (a, b) {
- return a ? b.isLeft ? "start" : b.isCenter ? "middle" : "end" : b.isBottom ? "start" : b.isMiddle ? "middle" : "end"
- }, f.xForXAxisLabel = function () {
- return this.xForAxisLabel(!this.config.axis_rotated, this.getXAxisLabelPosition())
- }, f.xForYAxisLabel = function () {
- return this.xForAxisLabel(this.config.axis_rotated, this.getYAxisLabelPosition())
- }, f.xForY2AxisLabel = function () {
- return this.xForAxisLabel(this.config.axis_rotated, this.getY2AxisLabelPosition())
- }, f.dxForXAxisLabel = function () {
- return this.dxForAxisLabel(!this.config.axis_rotated, this.getXAxisLabelPosition())
- }, f.dxForYAxisLabel = function () {
- return this.dxForAxisLabel(this.config.axis_rotated, this.getYAxisLabelPosition())
- }, f.dxForY2AxisLabel = function () {
- return this.dxForAxisLabel(this.config.axis_rotated, this.getY2AxisLabelPosition())
- }, f.dyForXAxisLabel = function () {
- var a = this, b = a.config, c = a.getXAxisLabelPosition();
- return b.axis_rotated ? c.isInner ? "1.2em" : -25 - a.getMaxTickWidth("x") : c.isInner ? "-0.5em" : b.axis_x_height ? b.axis_x_height - 10 : "3em"
- }, f.dyForYAxisLabel = function () {
- var a = this, b = a.getYAxisLabelPosition();
- return a.config.axis_rotated ? b.isInner ? "-0.5em" : "3em" : b.isInner ? "1.2em" : -10 - (a.config.axis_y_inner ? 0 : a.getMaxTickWidth("y") + 10)
- }, f.dyForY2AxisLabel = function () {
- var a = this, b = a.getY2AxisLabelPosition();
- return a.config.axis_rotated ? b.isInner ? "1.2em" : "-2.2em" : b.isInner ? "-0.5em" : 15 + (a.config.axis_y2_inner ? 0 : this.getMaxTickWidth("y2") + 15)
- }, f.textAnchorForXAxisLabel = function () {
- var a = this;
- return a.textAnchorForAxisLabel(!a.config.axis_rotated, a.getXAxisLabelPosition())
- }, f.textAnchorForYAxisLabel = function () {
- var a = this;
- return a.textAnchorForAxisLabel(a.config.axis_rotated, a.getYAxisLabelPosition())
- }, f.textAnchorForY2AxisLabel = function () {
- var a = this;
- return a.textAnchorForAxisLabel(a.config.axis_rotated, a.getY2AxisLabelPosition())
- }, f.xForRotatedTickText = function (a) {
- return 8 * Math.sin(Math.PI * (a / 180))
- }, f.yForRotatedTickText = function (a) {
- return 11.5 - 2.5 * (a / 15) * (a > 0 ? 1 : -1)
- }, f.rotateTickText = function (a, b, c) {
- a.selectAll(".tick text").style("text-anchor", c > 0 ? "start" : "end"), b.selectAll(".tick text").attr("y", this.yForRotatedTickText(c)).attr("transform", "rotate(" + c + ")").selectAll("tspan").attr("dx", this.xForRotatedTickText(c))
- }, f.getMaxTickWidth = function (a, b) {
- var c, d, e, f = this, g = f.config, h = 0;
- return b && f.currentMaxTickWidths[a] ? f.currentMaxTickWidths[a] : (f.svg && (c = f.filterTargetsToShow(f.data.targets), "y" === a ? (d = f.y.copy().domain(f.getYDomain(c, "y")), e = f.getYAxis(d, f.yOrient, g.axis_y_tick_format, f.yAxisTickValues)) : "y2" === a ? (d = f.y2.copy().domain(f.getYDomain(c, "y2")), e = f.getYAxis(d, f.y2Orient, g.axis_y2_tick_format, f.y2AxisTickValues)) : (d = f.x.copy().domain(f.getXDomain(c)), e = f.getXAxis(d, f.xOrient, f.xAxisTickFormat, f.xAxisTickValues)), f.d3.select("body").append("g").style("visibility", "hidden").call(e).each(function () {
- f.d3.select(this).selectAll("text tspan").each(function () {
- var a = this.getBoundingClientRect();
- a.left > 0 && h < a.width && (h = a.width)
- })
- }).remove()), f.currentMaxTickWidths[a] = 0 >= h ? f.currentMaxTickWidths[a] : h, f.currentMaxTickWidths[a])
- }, f.updateAxisLabels = function (a) {
- var b = this, c = b.main.select("." + i.axisX + " ." + i.axisXLabel), d = b.main.select("." + i.axisY + " ." + i.axisYLabel), e = b.main.select("." + i.axisY2 + " ." + i.axisY2Label);
- (a ? c.transition() : c).attr("x", b.xForXAxisLabel.bind(b)).attr("dx", b.dxForXAxisLabel.bind(b)).attr("dy", b.dyForXAxisLabel.bind(b)).text(b.textForXAxisLabel.bind(b)), (a ? d.transition() : d).attr("x", b.xForYAxisLabel.bind(b)).attr("dx", b.dxForYAxisLabel.bind(b)).attr("dy", b.dyForYAxisLabel.bind(b)).text(b.textForYAxisLabel.bind(b)), (a ? e.transition() : e).attr("x", b.xForY2AxisLabel.bind(b)).attr("dx", b.dxForY2AxisLabel.bind(b)).attr("dy", b.dyForY2AxisLabel.bind(b)).text(b.textForY2AxisLabel.bind(b))
- }, f.getAxisPadding = function (a, b, c, d) {
- return j(a[b]) ? "ratio" === a.unit ? a[b] * d : this.convertPixelsToAxisPadding(a[b], d) : c
- }, f.convertPixelsToAxisPadding = function (a, b) {
- var c = this.config.axis_rotated ? this.width : this.height;
- return b * (a / c)
- }, f.generateTickValues = function (a, b, c) {
- var d, e, f, g, h, i, j, l = a;
- if (b)if (d = k(b) ? b() : b, 1 === d)l = [a[0]]; else if (2 === d)l = [a[0], a[a.length - 1]]; else if (d > 2) {
- for (g = d - 2, e = a[0], f = a[a.length - 1], h = (f - e) / (g + 1), l = [e], i = 0; g > i; i++)j = +e + h * (i + 1), l.push(c ? new Date(j) : j);
- l.push(f)
- }
- return c || (l = l.sort(function (a, b) {
- return a - b
- })), l
- }, f.generateAxisTransitions = function (a) {
- var b = this, c = b.axes;
- return {
- axisX: a ? c.x.transition().duration(a) : c.x,
- axisY: a ? c.y.transition().duration(a) : c.y,
- axisY2: a ? c.y2.transition().duration(a) : c.y2,
- axisSubX: a ? c.subx.transition().duration(a) : c.subx
- }
- }, f.redrawAxis = function (a, b) {
- var c = this, d = c.config;
- c.axes.x.style("opacity", b ? 0 : 1), c.axes.y.style("opacity", b ? 0 : 1), c.axes.y2.style("opacity", b ? 0 : 1), c.axes.subx.style("opacity", b ? 0 : 1), a.axisX.call(c.xAxis), a.axisY.call(c.yAxis), a.axisY2.call(c.y2Axis), a.axisSubX.call(c.subXAxis), !d.axis_rotated && d.axis_x_tick_rotate && (c.rotateTickText(c.axes.x, a.axisX, d.axis_x_tick_rotate), c.rotateTickText(c.axes.subx, a.axisSubX, d.axis_x_tick_rotate))
- }, f.getClipPath = function (b) {
- var c = a.navigator.appVersion.toLowerCase().indexOf("msie 9.") >= 0;
- return "url(" + (c ? "" : document.URL.split("#")[0]) + "#" + b + ")"
- }, f.appendClip = function (a, b) {
- return a.append("clipPath").attr("id", b).append("rect")
- }, f.getAxisClipX = function (a) {
- var b = Math.max(30, this.margin.left);
- return a ? -(1 + b) : -(b - 1)
- }, f.getAxisClipY = function (a) {
- return a ? -20 : -this.margin.top
- }, f.getXAxisClipX = function () {
- var a = this;
- return a.getAxisClipX(!a.config.axis_rotated)
- }, f.getXAxisClipY = function () {
- var a = this;
- return a.getAxisClipY(!a.config.axis_rotated)
- }, f.getYAxisClipX = function () {
- var a = this;
- return a.config.axis_y_inner ? -1 : a.getAxisClipX(a.config.axis_rotated)
- }, f.getYAxisClipY = function () {
- var a = this;
- return a.getAxisClipY(a.config.axis_rotated)
- }, f.getAxisClipWidth = function (a) {
- var b = this, c = Math.max(30, b.margin.left), d = Math.max(30, b.margin.right);
- return a ? b.width + 2 + c + d : b.margin.left + 20
- }, f.getAxisClipHeight = function (a) {
- return (a ? this.margin.bottom : this.margin.top + this.height) + 20
- }, f.getXAxisClipWidth = function () {
- var a = this;
- return a.getAxisClipWidth(!a.config.axis_rotated)
- }, f.getXAxisClipHeight = function () {
- var a = this;
- return a.getAxisClipHeight(!a.config.axis_rotated)
- }, f.getYAxisClipWidth = function () {
- var a = this;
- return a.getAxisClipWidth(a.config.axis_rotated) + (a.config.axis_y_inner ? 20 : 0)
- }, f.getYAxisClipHeight = function () {
- var a = this;
- return a.getAxisClipHeight(a.config.axis_rotated)
- }, f.initPie = function () {
- var a = this, b = a.d3, c = a.config;
- a.pie = b.layout.pie().value(function (a) {
- return a.values.reduce(function (a, b) {
- return a + b.value
- }, 0)
- }), c.data_order || a.pie.sort(null)
- }, f.updateRadius = function () {
- var a = this, b = a.config, c = b.gauge_width || b.donut_width;
- a.radiusExpanded = Math.min(a.arcWidth, a.arcHeight) / 2, a.radius = .95 * a.radiusExpanded, a.innerRadiusRatio = c ? (a.radius - c) / a.radius : .6, a.innerRadius = a.hasType("donut") || a.hasType("gauge") ? a.radius * a.innerRadiusRatio : 0
- }, f.updateArc = function () {
- var a = this;
- a.svgArc = a.getSvgArc(), a.svgArcExpanded = a.getSvgArcExpanded(), a.svgArcExpandedSub = a.getSvgArcExpanded(.98)
- }, f.updateAngle = function (a) {
- var b, c, d = this, e = d.config, f = !1, g = 0, h = e.gauge_min, i = e.gauge_max;
- return d.pie(d.filterTargetsToShow(d.data.targets)).forEach(function (b) {
- f || b.data.id !== a.data.id || (f = !0, a = b, a.index = g), g++
- }), isNaN(a.endAngle) && (a.endAngle = a.startAngle), d.isGaugeType(a.data) && (b = Math.PI / (i - h), c = a.value < h ? 0 : a.value < i ? a.value - h : i - h, a.startAngle = -1 * (Math.PI / 2), a.endAngle = a.startAngle + b * c), f ? a : null
- }, f.getSvgArc = function () {
- var a = this, b = a.d3.svg.arc().outerRadius(a.radius).innerRadius(a.innerRadius), c = function (c, d) {
- var e;
- return d ? b(c) : (e = a.updateAngle(c), e ? b(e) : "M 0 0")
- };
- return c.centroid = b.centroid, c
- }, f.getSvgArcExpanded = function (a) {
- var b = this, c = b.d3.svg.arc().outerRadius(b.radiusExpanded * (a ? a : 1)).innerRadius(b.innerRadius);
- return function (a) {
- var d = b.updateAngle(a);
- return d ? c(d) : "M 0 0"
- }
- }, f.getArc = function (a, b, c) {
- return c || this.isArcType(a.data) ? this.svgArc(a, b) : "M 0 0"
- }, f.transformForArcLabel = function (a) {
- var b, c, d, e, f, g = this, h = g.updateAngle(a), i = "";
- return h && !g.hasType("gauge") && (b = this.svgArc.centroid(h), c = isNaN(b[0]) ? 0 : b[0], d = isNaN(b[1]) ? 0 : b[1], e = Math.sqrt(c * c + d * d), f = g.radius && e ? (36 / g.radius > .375 ? 1.175 - 36 / g.radius : .8) * g.radius / e : 0, i = "translate(" + c * f + "," + d * f + ")"), i
- }, f.getArcRatio = function (a) {
- var b = this, c = b.hasType("gauge") ? Math.PI : 2 * Math.PI;
- return a ? (a.endAngle - a.startAngle) / c : null
- }, f.convertToArcData = function (a) {
- return this.addName({id: a.data.id, value: a.value, ratio: this.getArcRatio(a), index: a.index})
- }, f.textForArcLabel = function (a) {
- var b, c, d, e, f, g = this;
- return g.shouldShowArcLabel() ? (b = g.updateAngle(a), c = b ? b.value : null, d = g.getArcRatio(b), e = a.data.id, g.hasType("gauge") || g.meetsArcLabelThreshold(d) ? (f = g.getArcLabelFormat(), f ? f(c, d, e) : g.defaultArcValueFormat(c, d)) : "") : ""
- }, f.expandArc = function (b) {
- var c, d = this;
- return d.transiting ? void(c = a.setInterval(function () {
- d.transiting || (a.clearInterval(c), d.legend.selectAll(".c3-legend-item-focused").size() > 0 && d.expandArc(b))
- }, 10)) : (b = d.mapToTargetIds(b), void d.svg.selectAll(d.selectorTargets(b, "." + i.chartArc)).each(function (a) {
- d.shouldExpand(a.data.id) && d.d3.select(this).selectAll("path").transition().duration(50).attr("d", d.svgArcExpanded).transition().duration(100).attr("d", d.svgArcExpandedSub).each(function (a) {
- d.isDonutType(a.data)
- })
- }))
- }, f.unexpandArc = function (a) {
- var b = this;
- b.transiting || (a = b.mapToTargetIds(a), b.svg.selectAll(b.selectorTargets(a, "." + i.chartArc)).selectAll("path").transition().duration(50).attr("d", b.svgArc), b.svg.selectAll("." + i.arc).style("opacity", 1))
- }, f.shouldExpand = function (a) {
- var b = this, c = b.config;
- return b.isDonutType(a) && c.donut_expand || b.isGaugeType(a) && c.gauge_expand || b.isPieType(a) && c.pie_expand
- }, f.shouldShowArcLabel = function () {
- var a = this, b = a.config, c = !0;
- return a.hasType("donut") ? c = b.donut_label_show : a.hasType("pie") && (c = b.pie_label_show), c
- }, f.meetsArcLabelThreshold = function (a) {
- var b = this, c = b.config, d = b.hasType("donut") ? c.donut_label_threshold : c.pie_label_threshold;
- return a >= d
- }, f.getArcLabelFormat = function () {
- var a = this, b = a.config, c = b.pie_label_format;
- return a.hasType("gauge") ? c = b.gauge_label_format : a.hasType("donut") && (c = b.donut_label_format), c
- }, f.getArcTitle = function () {
- var a = this;
- return a.hasType("donut") ? a.config.donut_title : ""
- }, f.updateTargetsForArc = function (a) {
- var b, c, d = this, e = d.main, f = d.classChartArc.bind(d), g = d.classArcs.bind(d), h = d.classFocus.bind(d);
- b = e.select("." + i.chartArcs).selectAll("." + i.chartArc).data(d.pie(a)).attr("class", function (a) {
- return f(a) + h(a.data)
- }), c = b.enter().append("g").attr("class", f), c.append("g").attr("class", g), c.append("text").attr("dy", d.hasType("gauge") ? "-.1em" : ".35em").style("opacity", 0).style("text-anchor", "middle").style("pointer-events", "none")
- }, f.initArc = function () {
- var a = this;
- a.arcs = a.main.select("." + i.chart).append("g").attr("class", i.chartArcs).attr("transform", a.getTranslate("arc")), a.arcs.append("text").attr("class", i.chartArcsTitle).style("text-anchor", "middle").text(a.getArcTitle())
- }, f.redrawArc = function (a, b, c) {
- var d, e = this, f = e.d3, g = e.config, h = e.main;
- d = h.selectAll("." + i.arcs).selectAll("." + i.arc).data(e.arcData.bind(e)), d.enter().append("path").attr("class", e.classArc.bind(e)).style("fill", function (a) {
- return e.color(a.data)
- }).style("cursor", function (a) {
- return g.interaction_enabled && g.data_selection_isselectable(a) ? "pointer" : null
- }).style("opacity", 0).each(function (a) {
- e.isGaugeType(a.data) && (a.startAngle = a.endAngle = -1 * (Math.PI / 2)), this._current = a
- }), d.attr("transform", function (a) {
- return !e.isGaugeType(a.data) && c ? "scale(0)" : ""
- }).style("opacity", function (a) {
- return a === this._current ? 0 : 1
- }).on("mouseover", g.interaction_enabled ? function (a) {
- var b, c;
- e.transiting || (b = e.updateAngle(a), c = e.convertToArcData(b), e.expandArc(b.data.id), e.api.focus(b.data.id), e.toggleFocusLegend(b.data.id, !0), e.config.data_onmouseover(c, this))
- } : null).on("mousemove", g.interaction_enabled ? function (a) {
- var b = e.updateAngle(a), c = e.convertToArcData(b), d = [c];
- e.showTooltip(d, f.mouse(this))
- } : null).on("mouseout", g.interaction_enabled ? function (a) {
- var b, c;
- e.transiting || (b = e.updateAngle(a), c = e.convertToArcData(b), e.unexpandArc(b.data.id), e.api.revert(), e.revertLegend(), e.hideTooltip(), e.config.data_onmouseout(c, this))
- } : null).on("click", g.interaction_enabled ? function (a, b) {
- var c = e.updateAngle(a), d = e.convertToArcData(c);
- e.toggleShape && e.toggleShape(this, d, b), e.config.data_onclick.call(e.api, d, this)
- } : null).each(function () {
- e.transiting = !0
- }).transition().duration(a).attrTween("d", function (a) {
- var b, c = e.updateAngle(a);
- return c ? (isNaN(this._current.endAngle) && (this._current.endAngle = this._current.startAngle), b = f.interpolate(this._current, c), this._current = b(0), function (c) {
- var d = b(c);
- return d.data = a.data, e.getArc(d, !0)
- }) : function () {
- return "M 0 0"
- }
- }).attr("transform", c ? "scale(1)" : "").style("fill", function (a) {
- return e.levelColor ? e.levelColor(a.data.values[0].value) : e.color(a.data.id)
- }).style("opacity", 1).call(e.endall, function () {
- e.transiting = !1
- }), d.exit().transition().duration(b).style("opacity", 0).remove(), h.selectAll("." + i.chartArc).select("text").style("opacity", 0).attr("class", function (a) {
- return e.isGaugeType(a.data) ? i.gaugeValue : ""
- }).text(e.textForArcLabel.bind(e)).attr("transform", e.transformForArcLabel.bind(e)).style("font-size", function (a) {
- return e.isGaugeType(a.data) ? Math.round(e.radius / 5) + "px" : ""
- }).transition().duration(a).style("opacity", function (a) {
- return e.isTargetToShow(a.data.id) && e.isArcType(a.data) ? 1 : 0
- }), h.select("." + i.chartArcsTitle).style("opacity", e.hasType("donut") || e.hasType("gauge") ? 1 : 0), e.hasType("gauge") && (e.arcs.select("." + i.chartArcsBackground).attr("d", function () {
- var a = {data: [{value: g.gauge_max}], startAngle: -1 * (Math.PI / 2), endAngle: Math.PI / 2};
- return e.getArc(a, !0, !0)
- }), e.arcs.select("." + i.chartArcsGaugeUnit).attr("dy", ".75em").text(g.gauge_label_show ? g.gauge_units : ""), e.arcs.select("." + i.chartArcsGaugeMin).attr("dx", -1 * (e.innerRadius + (e.radius - e.innerRadius) / 2) + "px").attr("dy", "1.2em").text(g.gauge_label_show ? g.gauge_min : ""), e.arcs.select("." + i.chartArcsGaugeMax).attr("dx", e.innerRadius + (e.radius - e.innerRadius) / 2 + "px").attr("dy", "1.2em").text(g.gauge_label_show ? g.gauge_max : ""))
- }, f.initGauge = function () {
- var a = this.arcs;
- this.hasType("gauge") && (a.append("path").attr("class", i.chartArcsBackground), a.append("text").attr("class", i.chartArcsGaugeUnit).style("text-anchor", "middle").style("pointer-events", "none"), a.append("text").attr("class", i.chartArcsGaugeMin).style("text-anchor", "middle").style("pointer-events", "none"), a.append("text").attr("class", i.chartArcsGaugeMax).style("text-anchor", "middle").style("pointer-events", "none"))
- }, f.getGaugeLabelHeight = function () {
- return this.config.gauge_label_show ? 20 : 0
- }, f.initRegion = function () {
- var a = this;
- a.region = a.main.append("g").attr("clip-path", a.clipPath).attr("class", i.regions)
- }, f.redrawRegion = function (a) {
- var b = this, c = b.config;
- b.region.style("visibility", b.hasArcType() ? "hidden" : "visible"), b.mainRegion = b.main.select("." + i.regions).selectAll("." + i.region).data(c.regions), b.mainRegion.enter().append("g").attr("class", b.classRegion.bind(b)).append("rect").style("fill-opacity", 0), b.mainRegion.exit().transition().duration(a).style("opacity", 0).remove()
- }, f.addTransitionForRegion = function (a) {
- var b = this, c = b.regionX.bind(b), d = b.regionY.bind(b), e = b.regionWidth.bind(b), f = b.regionHeight.bind(b);
- a.push(b.mainRegion.selectAll("rect").transition().attr("x", c).attr("y", d).attr("width", e).attr("height", f).style("fill-opacity", function (a) {
- return j(a.opacity) ? a.opacity : .1
- }))
- }, f.regionX = function (a) {
- var b, c = this, d = c.config, e = "y" === a.axis ? c.y : c.y2;
- return b = "y" === a.axis || "y2" === a.axis ? d.axis_rotated && "start"in a ? e(a.start) : 0 : d.axis_rotated ? 0 : "start"in a ? c.x(c.isTimeSeries() ? c.parseDate(a.start) : a.start) : 0
- }, f.regionY = function (a) {
- var b, c = this, d = c.config, e = "y" === a.axis ? c.y : c.y2;
- return b = "y" === a.axis || "y2" === a.axis ? d.axis_rotated ? 0 : "end"in a ? e(a.end) : 0 : d.axis_rotated && "start"in a ? c.x(c.isTimeSeries() ? c.parseDate(a.start) : a.start) : 0
- }, f.regionWidth = function (a) {
- var b, c = this, d = c.config, e = c.regionX(a), f = "y" === a.axis ? c.y : c.y2;
- return b = "y" === a.axis || "y2" === a.axis ? d.axis_rotated && "end"in a ? f(a.end) : c.width : d.axis_rotated ? c.width : "end"in a ? c.x(c.isTimeSeries() ? c.parseDate(a.end) : a.end) : c.width, e > b ? 0 : b - e
- }, f.regionHeight = function (a) {
- var b, c = this, d = c.config, e = this.regionY(a), f = "y" === a.axis ? c.y : c.y2;
- return b = "y" === a.axis || "y2" === a.axis ? d.axis_rotated ? c.height : "start"in a ? f(a.start) : c.height : d.axis_rotated && "end"in a ? c.x(c.isTimeSeries() ? c.parseDate(a.end) : a.end) : c.height, e > b ? 0 : b - e
- }, f.isRegionOnX = function (a) {
- return !a.axis || "x" === a.axis
- }, f.drag = function (a) {
- var b, c, d, e, f, g, h, j, k = this, l = k.config, m = k.main, n = k.d3;
- k.hasArcType() || l.data_selection_enabled && (!l.zoom_enabled || k.zoom.altDomain) && l.data_selection_multiple && (b = k.dragStart[0], c = k.dragStart[1], d = a[0], e = a[1], f = Math.min(b, d), g = Math.max(b, d), h = l.data_selection_grouped ? k.margin.top : Math.min(c, e), j = l.data_selection_grouped ? k.height : Math.max(c, e), m.select("." + i.dragarea).attr("x", f).attr("y", h).attr("width", g - f).attr("height", j - h), m.selectAll("." + i.shapes).selectAll("." + i.shape).filter(function (a) {
- return l.data_selection_isselectable(a)
- }).each(function (a, b) {
- var c, d, e, l, m, o, p = n.select(this), q = p.classed(i.SELECTED), r = p.classed(i.INCLUDED), s = !1;
- if (p.classed(i.circle))c = 1 * p.attr("cx"), d = 1 * p.attr("cy"), m = k.togglePoint, s = c > f && g > c && d > h && j > d; else {
- if (!p.classed(i.bar))return;
- o = v(this), c = o.x, d = o.y, e = o.width, l = o.height, m = k.togglePath, s = !(c > g || f > c + e || d > j || h > d + l)
- }
- s ^ r && (p.classed(i.INCLUDED, !r), p.classed(i.SELECTED, !q), m.call(k, !q, p, a, b))
- }))
- }, f.dragstart = function (a) {
- var b = this, c = b.config;
- b.hasArcType() || c.data_selection_enabled && (b.dragStart = a, b.main.select("." + i.chart).append("rect").attr("class", i.dragarea).style("opacity", .1), b.dragging = !0, b.config.data_ondragstart.call(b.api))
- }, f.dragend = function () {
- var a = this, b = a.config;
- a.hasArcType() || b.data_selection_enabled && (a.main.select("." + i.dragarea).transition().duration(100).style("opacity", 0).remove(), a.main.selectAll("." + i.shape).classed(i.INCLUDED, !1), a.dragging = !1, a.config.data_ondragend.call(a.api))
- }, f.selectPoint = function (a, b, c) {
- var d = this, e = d.config, f = (e.axis_rotated ? d.circleY : d.circleX).bind(d), g = (e.axis_rotated ? d.circleX : d.circleY).bind(d), h = d.pointSelectR.bind(d);
- e.data_onselected.call(d.api, b, a.node()), d.main.select("." + i.selectedCircles + d.getTargetSelectorSuffix(b.id)).selectAll("." + i.selectedCircle + "-" + c).data([b]).enter().append("circle").attr("class", function () {
- return d.generateClass(i.selectedCircle, c)
- }).attr("cx", f).attr("cy", g).attr("stroke", function () {
- return d.color(b)
- }).attr("r", function (a) {
- return 1.4 * d.pointSelectR(a)
- }).transition().duration(100).attr("r", h)
- }, f.unselectPoint = function (a, b, c) {
- var d = this;
- d.config.data_onunselected(b, a.node()), d.main.select("." + i.selectedCircles + d.getTargetSelectorSuffix(b.id)).selectAll("." + i.selectedCircle + "-" + c).transition().duration(100).attr("r", 0).remove()
- }, f.togglePoint = function (a, b, c, d) {
- a ? this.selectPoint(b, c, d) : this.unselectPoint(b, c, d)
- }, f.selectPath = function (a, b) {
- var c = this;
- c.config.data_onselected.call(c, b, a.node()), a.transition().duration(100).style("fill", function () {
- return c.d3.rgb(c.color(b)).brighter(.75)
- })
- }, f.unselectPath = function (a, b) {
- var c = this;
- c.config.data_onunselected.call(c, b, a.node()), a.transition().duration(100).style("fill", function () {
- return c.color(b)
- })
- }, f.togglePath = function (a, b, c, d) {
- a ? this.selectPath(b, c, d) : this.unselectPath(b, c, d)
- },f.getToggle = function (a, b) {
- var c, d = this;
- return "circle" === a.nodeName ? c = d.isStepType(b) ? function () {
- } : d.togglePoint : "path" === a.nodeName && (c = d.togglePath), c
- },f.toggleShape = function (a, b, c) {
- var d = this, e = d.d3, f = d.config, g = e.select(a), h = g.classed(i.SELECTED), j = d.getToggle(a, b).bind(d);
- f.data_selection_enabled && f.data_selection_isselectable(b) && (f.data_selection_multiple || d.main.selectAll("." + i.shapes + (f.data_selection_grouped ? d.getTargetSelectorSuffix(b.id) : "")).selectAll("." + i.shape).each(function (a, b) {
- var c = e.select(this);
- c.classed(i.SELECTED) && j(!1, c.classed(i.SELECTED, !1), a, b)
- }), g.classed(i.SELECTED, !h), j(!h, g, b, c))
- },f.initBrush = function () {
- var a = this, b = a.d3;
- a.brush = b.svg.brush().on("brush", function () {
- a.redrawForBrush()
- }), a.brush.update = function () {
- return a.context && a.context.select("." + i.brush).call(this), this
- }, a.brush.scale = function (b) {
- return a.config.axis_rotated ? this.y(b) : this.x(b)
- }
- },f.initSubchart = function () {
- var a = this, b = a.config, c = a.context = a.svg.append("g").attr("transform", a.getTranslate("context"));
- b.subchart_show || c.style("visibility", "hidden"), c.append("g").attr("clip-path", a.clipPathForSubchart).attr("class", i.chart), c.select("." + i.chart).append("g").attr("class", i.chartBars), c.select("." + i.chart).append("g").attr("class", i.chartLines), c.append("g").attr("clip-path", a.clipPath).attr("class", i.brush).call(a.brush).selectAll("rect").attr(b.axis_rotated ? "width" : "height", b.axis_rotated ? a.width2 : a.height2), a.axes.subx = c.append("g").attr("class", i.axisX).attr("transform", a.getTranslate("subx")).attr("clip-path", b.axis_rotated ? "" : a.clipPathForXAxis)
- },f.updateTargetsForSubchart = function (a) {
- var b, c, d, e, f = this, g = f.context, h = f.config, j = f.classChartBar.bind(f), k = f.classBars.bind(f), l = f.classChartLine.bind(f), m = f.classLines.bind(f), n = f.classAreas.bind(f);
- h.subchart_show && (e = g.select("." + i.chartBars).selectAll("." + i.chartBar).data(a).attr("class", j), d = e.enter().append("g").style("opacity", 0).attr("class", j), d.append("g").attr("class", k), c = g.select("." + i.chartLines).selectAll("." + i.chartLine).data(a).attr("class", l), b = c.enter().append("g").style("opacity", 0).attr("class", l), b.append("g").attr("class", m), b.append("g").attr("class", n))
- },f.redrawSubchart = function (a, b, c, d, e, f, g) {
- var h, j, k, l, m, n, o = this, p = o.d3, q = o.context, r = o.config, s = o.barData.bind(o), t = o.lineData.bind(o), u = o.classBar.bind(o), v = o.classLine.bind(o), w = o.classArea.bind(o), x = o.initialOpacity.bind(o);
- r.subchart_show && (p.event && "zoom" === p.event.type && o.brush.extent(o.x.orgDomain()).update(), a && (o.brush.empty() || o.brush.extent(o.x.orgDomain()).update(), l = o.generateDrawArea(e, !0), m = o.generateDrawBar(f, !0), n = o.generateDrawLine(g, !0), k = q.selectAll("." + i.bars).selectAll("." + i.bar).data(s), k.enter().append("path").attr("class", u).style("stroke", "none").style("fill", o.color), k.style("opacity", x).transition().duration(c).attr("d", m).style("opacity", 1), k.exit().transition().duration(c).style("opacity", 0).remove(), h = q.selectAll("." + i.lines).selectAll("." + i.line).data(t), h.enter().append("path").attr("class", v).style("stroke", o.color), h.style("opacity", x).transition().duration(c).attr("d", n).style("opacity", 1), h.exit().transition().duration(c).style("opacity", 0).remove(), j = q.selectAll("." + i.areas).selectAll("." + i.area).data(t), j.enter().append("path").attr("class", w).style("fill", o.color).style("opacity", function () {
- return o.orgAreaOpacity = +p.select(this).style("opacity"), 0
- }), j.style("opacity", 0).transition().duration(c).attr("d", l).style("fill", o.color).style("opacity", o.orgAreaOpacity), j.exit().transition().duration(d).style("opacity", 0).remove()))
- },f.redrawForBrush = function () {
- var a = this, b = a.x;
- a.redraw({
- withTransition: !1,
- withY: a.config.zoom_rescale,
- withSubchart: !1,
- withUpdateXDomain: !0,
- withDimension: !1
- }), a.config.subchart_onbrush.call(a.api, b.orgDomain())
- },f.transformContext = function (a, b) {
- var c, d = this;
- b && b.axisSubX ? c = b.axisSubX : (c = d.context.select("." + i.axisX), a && (c = c.transition())), d.context.attr("transform", d.getTranslate("context")), c.attr("transform", d.getTranslate("subx"))
- },f.getDefaultExtent = function () {
- var a = this, b = a.config, c = k(b.axis_x_extent) ? b.axis_x_extent(a.getXDomain(a.data.targets)) : b.axis_x_extent;
- return a.isTimeSeries() && (c = [a.parseDate(c[0]), a.parseDate(c[1])]), c
- },f.initZoom = function () {
- var a, b = this, c = b.d3, d = b.config;
- b.zoom = c.behavior.zoom().on("zoomstart", function () {
- a = c.event.sourceEvent, b.zoom.altDomain = c.event.sourceEvent.altKey ? b.x.orgDomain() : null, d.zoom_onzoomstart.call(b.api, c.event.sourceEvent)
- }).on("zoom", function () {
- b.redrawForZoom.call(b)
- }).on("zoomend", function () {
- var e = c.event.sourceEvent;
- e && a.clientX === e.clientX && a.clientY === e.clientY || (b.redrawEventRect(), b.updateZoom(), d.zoom_onzoomend.call(b.api, b.x.orgDomain()))
- }), b.zoom.scale = function (a) {
- return d.axis_rotated ? this.y(a) : this.x(a)
- }, b.zoom.orgScaleExtent = function () {
- var a = d.zoom_extent ? d.zoom_extent : [1, 10];
- return [a[0], Math.max(b.getMaxDataCount() / a[1], a[1])]
- }, b.zoom.updateScaleExtent = function () {
- var a = q(b.x.orgDomain()) / q(b.orgXDomain), c = this.orgScaleExtent();
- return this.scaleExtent([c[0] * a, c[1] * a]), this
- }
- },f.updateZoom = function () {
- var a = this, b = a.config.zoom_enabled ? a.zoom : function () {
- };
- a.main.select("." + i.zoomRect).call(b).on("dblclick.zoom", null), a.main.selectAll("." + i.eventRect).call(b).on("dblclick.zoom", null)
- },f.redrawForZoom = function () {
- var a = this, b = a.d3, c = a.config, d = a.zoom, e = a.x;
- if (c.zoom_enabled && 0 !== a.filterTargetsToShow(a.data.targets).length) {
- if ("mousemove" === b.event.sourceEvent.type && d.altDomain)return e.domain(d.altDomain), void d.scale(e).updateScaleExtent();
- a.isCategorized() && e.orgDomain()[0] === a.orgXDomain[0] && e.domain([a.orgXDomain[0] - 1e-10, e.orgDomain()[1]]), a.redraw({
- withTransition: !1,
- withY: c.zoom_rescale,
- withSubchart: !1,
- withEventRect: !1,
- withDimension: !1
- }), "mousemove" === b.event.sourceEvent.type && (a.cancelClick = !0), c.zoom_onzoom.call(a.api, e.orgDomain())
- }
- },f.generateColor = function () {
- var a = this, b = a.config, c = a.d3, d = b.data_colors, e = s(b.color_pattern) ? b.color_pattern : c.scale.category10().range(), f = b.data_color, g = [];
- return function (a) {
- var b, c = a.id || a;
- return d[c]instanceof Function ? b = d[c](a) : d[c] ? b = d[c] : (g.indexOf(c) < 0 && g.push(c), b = e[g.indexOf(c) % e.length], d[c] = b), f instanceof Function ? f(b, a) : b
- }
- },f.generateLevelColor = function () {
- var a = this, b = a.config, c = b.color_pattern, d = b.color_threshold, e = "value" === d.unit, f = d.values && d.values.length ? d.values : [], g = d.max || 100;
- return s(b.color_threshold) ? function (a) {
- var b, d, h = c[c.length - 1];
- for (b = 0; b < f.length; b++)if (d = e ? a : 100 * a / g, d < f[b]) {
- h = c[b];
- break
- }
- return h
- } : null
- },f.getYFormat = function (a) {
- var b = this, c = a && !b.hasType("gauge") ? b.defaultArcValueFormat : b.yFormat, d = a && !b.hasType("gauge") ? b.defaultArcValueFormat : b.y2Format;
- return function (a, e, f) {
- var g = "y2" === b.getAxisId(f) ? d : c;
- return g.call(b, a, e)
- }
- },f.yFormat = function (a) {
- var b = this, c = b.config, d = c.axis_y_tick_format ? c.axis_y_tick_format : b.defaultValueFormat;
- return d(a)
- },f.y2Format = function (a) {
- var b = this, c = b.config, d = c.axis_y2_tick_format ? c.axis_y2_tick_format : b.defaultValueFormat;
- return d(a)
- },f.defaultValueFormat = function (a) {
- return j(a) ? +a : ""
- },f.defaultArcValueFormat = function (a, b) {
- return (100 * b).toFixed(1) + "%"
- },f.formatByAxisId = function (a) {
- var b = this, c = b.config.data_labels, d = function (a) {
- return j(a) ? +a : ""
- };
- return "function" == typeof c.format ? d = c.format : "object" == typeof c.format && c.format[a] && (d = c.format[a]), d
- },f.hasCaches = function (a) {
- for (var b = 0; b < a.length; b++)if (!(a[b]in this.cache))return !1;
- return !0
- },f.addCache = function (a, b) {
- this.cache[a] = this.cloneTarget(b)
- },f.getCaches = function (a) {
- var b, c = [];
- for (b = 0; b < a.length; b++)a[b]in this.cache && c.push(this.cloneTarget(this.cache[a[b]]));
- return c
- };
- var i = f.CLASS = {
- target: "c3-target",
- chart: "c3-chart",
- chartLine: "c3-chart-line",
- chartLines: "c3-chart-lines",
- chartBar: "c3-chart-bar",
- chartBars: "c3-chart-bars",
- chartText: "c3-chart-text",
- chartTexts: "c3-chart-texts",
- chartArc: "c3-chart-arc",
- chartArcs: "c3-chart-arcs",
- chartArcsTitle: "c3-chart-arcs-title",
- chartArcsBackground: "c3-chart-arcs-background",
- chartArcsGaugeUnit: "c3-chart-arcs-gauge-unit",
- chartArcsGaugeMax: "c3-chart-arcs-gauge-max",
- chartArcsGaugeMin: "c3-chart-arcs-gauge-min",
- selectedCircle: "c3-selected-circle",
- selectedCircles: "c3-selected-circles",
- eventRect: "c3-event-rect",
- eventRects: "c3-event-rects",
- eventRectsSingle: "c3-event-rects-single",
- eventRectsMultiple: "c3-event-rects-multiple",
- zoomRect: "c3-zoom-rect",
- brush: "c3-brush",
- focused: "c3-focused",
- defocused: "c3-defocused",
- region: "c3-region",
- regions: "c3-regions",
- tooltipContainer: "c3-tooltip-container",
- tooltip: "c3-tooltip",
- tooltipName: "c3-tooltip-name",
- shape: "c3-shape",
- shapes: "c3-shapes",
- line: "c3-line",
- lines: "c3-lines",
- bar: "c3-bar",
- bars: "c3-bars",
- circle: "c3-circle",
- circles: "c3-circles",
- arc: "c3-arc",
- arcs: "c3-arcs",
- area: "c3-area",
- areas: "c3-areas",
- empty: "c3-empty",
- text: "c3-text",
- texts: "c3-texts",
- gaugeValue: "c3-gauge-value",
- grid: "c3-grid",
- gridLines: "c3-grid-lines",
- xgrid: "c3-xgrid",
- xgrids: "c3-xgrids",
- xgridLine: "c3-xgrid-line",
- xgridLines: "c3-xgrid-lines",
- xgridFocus: "c3-xgrid-focus",
- ygrid: "c3-ygrid",
- ygrids: "c3-ygrids",
- ygridLine: "c3-ygrid-line",
- ygridLines: "c3-ygrid-lines",
- axis: "c3-axis",
- axisX: "c3-axis-x",
- axisXLabel: "c3-axis-x-label",
- axisY: "c3-axis-y",
- axisYLabel: "c3-axis-y-label",
- axisY2: "c3-axis-y2",
- axisY2Label: "c3-axis-y2-label",
- legendBackground: "c3-legend-background",
- legendItem: "c3-legend-item",
- legendItemEvent: "c3-legend-item-event",
- legendItemTile: "c3-legend-item-tile",
- legendItemHidden: "c3-legend-item-hidden",
- legendItemFocused: "c3-legend-item-focused",
- dragarea: "c3-dragarea",
- EXPANDED: "_expanded_",
- SELECTED: "_selected_",
- INCLUDED: "_included_"
- };
- f.generateClass = function (a, b) {
- return " " + a + " " + a + this.getTargetSelectorSuffix(b)
- }, f.classText = function (a) {
- return this.generateClass(i.text, a.index)
- }, f.classTexts = function (a) {
- return this.generateClass(i.texts, a.id)
- }, f.classShape = function (a) {
- return this.generateClass(i.shape, a.index)
- }, f.classShapes = function (a) {
- return this.generateClass(i.shapes, a.id)
- }, f.classLine = function (a) {
- return this.classShape(a) + this.generateClass(i.line, a.id)
- }, f.classLines = function (a) {
- return this.classShapes(a) + this.generateClass(i.lines, a.id)
- }, f.classCircle = function (a) {
- return this.classShape(a) + this.generateClass(i.circle, a.index)
- }, f.classCircles = function (a) {
- return this.classShapes(a) + this.generateClass(i.circles, a.id)
- }, f.classBar = function (a) {
- return this.classShape(a) + this.generateClass(i.bar, a.index)
- }, f.classBars = function (a) {
- return this.classShapes(a) + this.generateClass(i.bars, a.id)
- }, f.classArc = function (a) {
- return this.classShape(a.data) + this.generateClass(i.arc, a.data.id)
- }, f.classArcs = function (a) {
- return this.classShapes(a.data) + this.generateClass(i.arcs, a.data.id)
- }, f.classArea = function (a) {
- return this.classShape(a) + this.generateClass(i.area, a.id)
- }, f.classAreas = function (a) {
- return this.classShapes(a) + this.generateClass(i.areas, a.id)
- }, f.classRegion = function (a, b) {
- return this.generateClass(i.region, b) + " " + ("class"in a ? a["class"] : "")
- }, f.classEvent = function (a) {
- return this.generateClass(i.eventRect, a.index)
- }, f.classTarget = function (a) {
- var b = this, c = b.config.data_classes[a], d = "";
- return c && (d = " " + i.target + "-" + c), b.generateClass(i.target, a) + d
- }, f.classFocus = function (a) {
- return this.classFocused(a) + this.classDefocused(a)
- }, f.classFocused = function (a) {
- return " " + (this.focusedTargetIds.indexOf(a.id) >= 0 ? i.focused : "")
- }, f.classDefocused = function (a) {
- return " " + (this.defocusedTargetIds.indexOf(a.id) >= 0 ? i.defocused : "")
- }, f.classChartText = function (a) {
- return i.chartText + this.classTarget(a.id)
- }, f.classChartLine = function (a) {
- return i.chartLine + this.classTarget(a.id)
- }, f.classChartBar = function (a) {
- return i.chartBar + this.classTarget(a.id)
- }, f.classChartArc = function (a) {
- return i.chartArc + this.classTarget(a.data.id)
- }, f.getTargetSelectorSuffix = function (a) {
- return a || 0 === a ? ("-" + a).replace(/[\s?!@#$%^&*()_=+,.<>'":;\[\]\/|~`{}\\]/g, "-") : ""
- }, f.selectorTarget = function (a, b) {
- return (b || "") + "." + i.target + this.getTargetSelectorSuffix(a)
- }, f.selectorTargets = function (a, b) {
- var c = this;
- return a = a || [], a.length ? a.map(function (a) {
- return c.selectorTarget(a, b)
- }) : null
- }, f.selectorLegend = function (a) {
- return "." + i.legendItem + this.getTargetSelectorSuffix(a)
- }, f.selectorLegends = function (a) {
- var b = this;
- return a && a.length ? a.map(function (a) {
- return b.selectorLegend(a)
- }) : null
- };
- var j = f.isValue = function (a) {
- return a || 0 === a
- }, k = f.isFunction = function (a) {
- return "function" == typeof a
- }, l = f.isString = function (a) {
- return "string" == typeof a
- }, m = f.isUndefined = function (a) {
- return "undefined" == typeof a
- }, n = f.isDefined = function (a) {
- return "undefined" != typeof a
- }, o = f.ceil10 = function (a) {
- return 10 * Math.ceil(a / 10)
- }, p = f.asHalfPixel = function (a) {
- return Math.ceil(a) + .5
- }, q = f.diffDomain = function (a) {
- return a[1] - a[0]
- }, r = f.isEmpty = function (a) {
- return !a || l(a) && 0 === a.length || "object" == typeof a && 0 === Object.keys(a).length
- }, s = f.notEmpty = function (a) {
- return Object.keys(a).length > 0
- }, t = f.getOption = function (a, b, c) {
- return n(a[b]) ? a[b] : c
- }, u = f.hasValue = function (a, b) {
- var c = !1;
- return Object.keys(a).forEach(function (d) {
- a[d] === b && (c = !0)
- }), c
- }, v = f.getPathBox = function (a) {
- var b = a.getBoundingClientRect(), c = [a.pathSegList.getItem(0), a.pathSegList.getItem(1)], d = c[0].x, e = Math.min(c[0].y, c[1].y);
- return {x: d, y: e, width: b.width, height: b.height}
- };
- e.focus = function (a) {
- var b, c = this.internal;
- a = c.mapToTargetIds(a), b = c.svg.selectAll(c.selectorTargets(a.filter(c.isTargetToShow, c))), this.revert(), this.defocus(), b.classed(i.focused, !0).classed(i.defocused, !1), c.hasArcType() && c.expandArc(a), c.toggleFocusLegend(a, !0), c.focusedTargetIds = a, c.defocusedTargetIds = c.defocusedTargetIds.filter(function (b) {
- return a.indexOf(b) < 0
- })
- }, e.defocus = function (a) {
- var b, c = this.internal;
- a = c.mapToTargetIds(a), b = c.svg.selectAll(c.selectorTargets(a.filter(c.isTargetToShow, c))), this.revert(), b.classed(i.focused, !1).classed(i.defocused, !0), c.hasArcType() && c.unexpandArc(a), c.toggleFocusLegend(a, !1), c.focusedTargetIds = c.focusedTargetIds.filter(function (b) {
- return a.indexOf(b) < 0
- }), c.defocusedTargetIds = a
- }, e.revert = function (a) {
- var b, c = this.internal;
- a = c.mapToTargetIds(a), b = c.svg.selectAll(c.selectorTargets(a)), b.classed(i.focused, !1).classed(i.defocused, !1), c.hasArcType() && c.unexpandArc(a), c.config.legend_show && c.showLegend(a.filter(c.isLegendToShow.bind(c))), c.focusedTargetIds = [], c.defocusedTargetIds = []
- }, e.show = function (a, b) {
- var c, d = this.internal;
- a = d.mapToTargetIds(a), b = b || {}, d.removeHiddenTargetIds(a), c = d.svg.selectAll(d.selectorTargets(a)), c.transition().style("opacity", 1, "important").call(d.endall, function () {
- c.style("opacity", null).style("opacity", 1)
- }), b.withLegend && d.showLegend(a), d.redraw({withUpdateOrgXDomain: !0, withUpdateXDomain: !0, withLegend: !0})
- }, e.hide = function (a, b) {
- var c, d = this.internal;
- a = d.mapToTargetIds(a), b = b || {}, d.addHiddenTargetIds(a), c = d.svg.selectAll(d.selectorTargets(a)), c.transition().style("opacity", 0, "important").call(d.endall, function () {
- c.style("opacity", null).style("opacity", 0)
- }), b.withLegend && d.hideLegend(a), d.redraw({withUpdateOrgXDomain: !0, withUpdateXDomain: !0, withLegend: !0})
- }, e.toggle = function (a) {
- var b = this, c = this.internal;
- c.mapToTargetIds(a).forEach(function (a) {
- c.isTargetToShow(a) ? b.hide(a) : b.show(a)
- })
- }, e.zoom = function (a) {
- var b = this.internal;
- return a && (b.isTimeSeries() && (a = a.map(function (a) {
- return b.parseDate(a)
- })), b.brush.extent(a), b.redraw({
- withUpdateXDomain: !0,
- withY: b.config.zoom_rescale
- }), b.config.zoom_onzoom.call(this, b.x.orgDomain())), b.brush.extent()
- }, e.zoom.enable = function (a) {
- var b = this.internal;
- b.config.zoom_enabled = a, b.updateAndRedraw()
- }, e.unzoom = function () {
- var a = this.internal;
- a.brush.clear().update(), a.redraw({withUpdateXDomain: !0})
- }, e.load = function (a) {
- var b = this.internal, c = b.config;
- return a.xs && b.addXs(a.xs), "classes"in a && Object.keys(a.classes).forEach(function (b) {
- c.data_classes[b] = a.classes[b]
- }), "categories"in a && b.isCategorized() && (c.axis_x_categories = a.categories), "axes"in a && Object.keys(a.axes).forEach(function (b) {
- c.data_axes[b] = a.axes[b]
- }), "cacheIds"in a && b.hasCaches(a.cacheIds) ? void b.load(b.getCaches(a.cacheIds), a.done) : void("unload"in a ? b.unload(b.mapToTargetIds("boolean" == typeof a.unload && a.unload ? null : a.unload), function () {
- b.loadFromArgs(a)
- }) : b.loadFromArgs(a))
- }, e.unload = function (a) {
- var b = this.internal;
- a = a || {}, a instanceof Array ? a = {ids: a} : "string" == typeof a && (a = {ids: [a]}), b.unload(b.mapToTargetIds(a.ids), function () {
- b.redraw({withUpdateOrgXDomain: !0, withUpdateXDomain: !0, withLegend: !0}), a.done && a.done()
- })
- }, e.flow = function (a) {
- var b, c, d, e, f, g, h, i, k = this.internal, l = [], m = k.getMaxDataCount(), o = 0, p = 0;
- if (a.json)c = k.convertJsonToData(a.json, a.keys); else if (a.rows)c = k.convertRowsToData(a.rows); else {
- if (!a.columns)return;
- c = k.convertColumnsToData(a.columns)
- }
- b = k.convertDataToTargets(c, !0), k.data.targets.forEach(function (a) {
- var c, d, e = !1;
- for (c = 0; c < b.length; c++)if (a.id === b[c].id) {
- for (e = !0, a.values[a.values.length - 1] && (p = a.values[a.values.length - 1].index + 1), o = b[c].values.length, d = 0; o > d; d++)b[c].values[d].index = p + d, k.isTimeSeries() || (b[c].values[d].x = p + d);
- a.values = a.values.concat(b[c].values), b.splice(c, 1);
- break
- }
- e || l.push(a.id)
- }), k.data.targets.forEach(function (a) {
- var b, c;
- for (b = 0; b < l.length; b++)if (a.id === l[b])for (p = a.values[a.values.length - 1].index + 1, c = 0; o > c; c++)a.values.push({
- id: a.id,
- index: p + c,
- x: k.isTimeSeries() ? k.getOtherTargetX(p + c) : p + c,
- value: null
- })
- }), k.data.targets.length && b.forEach(function (a) {
- var b, c = [];
- for (b = k.data.targets[0].values[0].index; p > b; b++)c.push({
- id: a.id,
- index: b,
- x: k.isTimeSeries() ? k.getOtherTargetX(b) : b,
- value: null
- });
- a.values.forEach(function (a) {
- a.index += p, k.isTimeSeries() || (a.x += p)
- }), a.values = c.concat(a.values)
- }), k.data.targets = k.data.targets.concat(b), d = k.getMaxDataCount(), f = k.data.targets[0], g = f.values[0], n(a.to) ? (o = 0, i = k.isTimeSeries() ? k.parseDate(a.to) : a.to, f.values.forEach(function (a) {
- a.x < i && o++
- })) : n(a.length) && (o = a.length), m ? 1 === m && k.isTimeSeries() && (h = (f.values[f.values.length - 1].x - g.x) / 2, e = [new Date(+g.x - h), new Date(+g.x + h)], k.updateXDomain(null, !0, !0, !1, e)) : (h = k.isTimeSeries() ? f.values.length > 1 ? f.values[f.values.length - 1].x - g.x : g.x - k.getXDomain(k.data.targets)[0] : 1, e = [g.x - h, g.x], k.updateXDomain(null, !0, !0, !1, e)), k.updateTargets(k.data.targets), k.redraw({
- flow: {
- index: g.index,
- length: o,
- duration: j(a.duration) ? a.duration : k.config.transition_duration,
- done: a.done,
- orgDataCount: m
- }, withLegend: !0, withTransition: m > 1, withTrimXDomain: !1, withUpdateXAxis: !0
- })
- }, f.generateFlow = function (a) {
- var b = this, c = b.config, d = b.d3;
- return function () {
- var e, f, g, h = a.targets, j = a.flow, k = a.drawBar, l = a.drawLine, m = a.drawArea, n = a.cx, o = a.cy, p = a.xv, r = a.xForText, s = a.yForText, t = a.duration, u = 1, v = j.index, w = j.length, x = b.getValueOnIndex(b.data.targets[0].values, v), y = b.getValueOnIndex(b.data.targets[0].values, v + w), z = b.x.domain(), A = j.duration || t, B = j.done || function () {
- }, C = b.generateWait(), D = b.xgrid || d.selectAll([]), E = b.xgridLines || d.selectAll([]), F = b.mainRegion || d.selectAll([]), G = b.mainText || d.selectAll([]), H = b.mainBar || d.selectAll([]), I = b.mainLine || d.selectAll([]), J = b.mainArea || d.selectAll([]), K = b.mainCircle || d.selectAll([]);
- b.flowing = !0, b.data.targets.forEach(function (a) {
- a.values.splice(0, w)
- }), g = b.updateXDomain(h, !0, !0), b.updateXGrid && b.updateXGrid(!0), j.orgDataCount ? e = 1 === j.orgDataCount || x.x === y.x ? b.x(z[0]) - b.x(g[0]) : b.isTimeSeries() ? b.x(z[0]) - b.x(g[0]) : b.x(x.x) - b.x(y.x) : 1 !== b.data.targets[0].values.length ? e = b.x(z[0]) - b.x(g[0]) : b.isTimeSeries() ? (x = b.getValueOnIndex(b.data.targets[0].values, 0), y = b.getValueOnIndex(b.data.targets[0].values, b.data.targets[0].values.length - 1), e = b.x(x.x) - b.x(y.x)) : e = q(g) / 2, u = q(z) / q(g), f = "translate(" + e + ",0) scale(" + u + ",1)", b.hideXGridFocus(), b.hideTooltip(), d.transition().ease("linear").duration(A).each(function () {
- C.add(b.axes.x.transition().call(b.xAxis)), C.add(H.transition().attr("transform", f)), C.add(I.transition().attr("transform", f)), C.add(J.transition().attr("transform", f)), C.add(K.transition().attr("transform", f)), C.add(G.transition().attr("transform", f)), C.add(F.filter(b.isRegionOnX).transition().attr("transform", f)), C.add(D.transition().attr("transform", f)), C.add(E.transition().attr("transform", f))
- }).call(C, function () {
- var a, d = [], e = [], f = [];
- if (w) {
- for (a = 0; w > a; a++)d.push("." + i.shape + "-" + (v + a)), e.push("." + i.text + "-" + (v + a)), f.push("." + i.eventRect + "-" + (v + a));
- b.svg.selectAll("." + i.shapes).selectAll(d).remove(), b.svg.selectAll("." + i.texts).selectAll(e).remove(), b.svg.selectAll("." + i.eventRects).selectAll(f).remove(), b.svg.select("." + i.xgrid).remove()
- }
- D.attr("transform", null).attr(b.xgridAttr), E.attr("transform", null), E.select("line").attr("x1", c.axis_rotated ? 0 : p).attr("x2", c.axis_rotated ? b.width : p), E.select("text").attr("x", c.axis_rotated ? b.width : 0).attr("y", p), H.attr("transform", null).attr("d", k), I.attr("transform", null).attr("d", l), J.attr("transform", null).attr("d", m), K.attr("transform", null).attr("cx", n).attr("cy", o), G.attr("transform", null).attr("x", r).attr("y", s).style("fill-opacity", b.opacityForText.bind(b)), F.attr("transform", null), F.select("rect").filter(b.isRegionOnX).attr("x", b.regionX.bind(b)).attr("width", b.regionWidth.bind(b)), c.interaction_enabled && b.redrawEventRect(), B(), b.flowing = !1
- })
- }
- }, e.selected = function (a) {
- var b = this.internal, c = b.d3;
- return c.merge(b.main.selectAll("." + i.shapes + b.getTargetSelectorSuffix(a)).selectAll("." + i.shape).filter(function () {
- return c.select(this).classed(i.SELECTED)
- }).map(function (a) {
- return a.map(function (a) {
- var b = a.__data__;
- return b.data ? b.data : b
- })
- }))
- }, e.select = function (a, b, c) {
- var d = this.internal, e = d.d3, f = d.config;
- f.data_selection_enabled && d.main.selectAll("." + i.shapes).selectAll("." + i.shape).each(function (g, h) {
- var j = e.select(this), k = g.data ? g.data.id : g.id, l = d.getToggle(this, g).bind(d), m = f.data_selection_grouped || !a || a.indexOf(k) >= 0, o = !b || b.indexOf(h) >= 0, p = j.classed(i.SELECTED);
- j.classed(i.line) || j.classed(i.area) || (m && o ? f.data_selection_isselectable(g) && !p && l(!0, j.classed(i.SELECTED, !0), g, h) : n(c) && c && p && l(!1, j.classed(i.SELECTED, !1), g, h))
- })
- }, e.unselect = function (a, b) {
- var c = this.internal, d = c.d3, e = c.config;
- e.data_selection_enabled && c.main.selectAll("." + i.shapes).selectAll("." + i.shape).each(function (f, g) {
- var h = d.select(this), j = f.data ? f.data.id : f.id, k = c.getToggle(this, f).bind(c), l = e.data_selection_grouped || !a || a.indexOf(j) >= 0, m = !b || b.indexOf(g) >= 0, n = h.classed(i.SELECTED);
- h.classed(i.line) || h.classed(i.area) || l && m && e.data_selection_isselectable(f) && n && k(!1, h.classed(i.SELECTED, !1), f, g)
- })
- }, e.transform = function (a, b) {
- var c = this.internal, d = ["pie", "donut"].indexOf(a) >= 0 ? {withTransform: !0} : null;
- c.transformTo(b, a, d)
- }, f.transformTo = function (a, b, c) {
- var d = this, e = !d.hasArcType(), f = c || {withTransitionForAxis: e};
- f.withTransitionForTransform = !1, d.transiting = !1, d.setTargetType(a, b), d.updateAndRedraw(f)
- }, e.groups = function (a) {
- var b = this.internal, c = b.config;
- return m(a) ? c.data_groups : (c.data_groups = a, b.redraw(), c.data_groups)
- }, e.xgrids = function (a) {
- var b = this.internal, c = b.config;
- return a ? (c.grid_x_lines = a, b.redrawWithoutRescale(), c.grid_x_lines) : c.grid_x_lines
- }, e.xgrids.add = function (a) {
- var b = this.internal;
- return this.xgrids(b.config.grid_x_lines.concat(a ? a : []))
- }, e.xgrids.remove = function (a) {
- var b = this.internal;
- b.removeGridLines(a, !0)
- }, e.ygrids = function (a) {
- var b = this.internal, c = b.config;
- return a ? (c.grid_y_lines = a, b.redrawWithoutRescale(), c.grid_y_lines) : c.grid_y_lines
- }, e.ygrids.add = function (a) {
- var b = this.internal;
- return this.ygrids(b.config.grid_y_lines.concat(a ? a : []))
- }, e.ygrids.remove = function (a) {
- var b = this.internal;
- b.removeGridLines(a, !1)
- }, e.regions = function (a) {
- var b = this.internal, c = b.config;
- return a ? (c.regions = a, b.redrawWithoutRescale(), c.regions) : c.regions
- }, e.regions.add = function (a) {
- var b = this.internal, c = b.config;
- return a ? (c.regions = c.regions.concat(a), b.redrawWithoutRescale(), c.regions) : c.regions
- }, e.regions.remove = function (a) {
- var b, c, d, e = this.internal, f = e.config;
- return a = a || {}, b = e.getOption(a, "duration", f.transition_duration), c = e.getOption(a, "classes", [i.region]), d = e.main.select("." + i.regions).selectAll(c.map(function (a) {
- return "." + a
- })), (b ? d.transition().duration(b) : d).style("opacity", 0).remove(), f.regions = f.regions.filter(function (a) {
- var b = !1;
- return a["class"] ? (a["class"].split(" ").forEach(function (a) {
- c.indexOf(a) >= 0 && (b = !0)
- }), !b) : !0
- }), f.regions
- }, e.data = function (a) {
- var b = this.internal.data.targets;
- return "undefined" == typeof a ? b : b.filter(function (b) {
- return [].concat(a).indexOf(b.id) >= 0
- })
- }, e.data.shown = function (a) {
- return this.internal.filterTargetsToShow(this.data(a))
- }, e.data.values = function (a) {
- var b, c = null;
- return a && (b = this.data(a), c = b[0] ? b[0].values.map(function (a) {
- return a.value
- }) : null), c
- }, e.data.names = function (a) {
- return this.internal.clearLegendItemTextBoxCache(), this.internal.updateDataAttributes("names", a)
- }, e.data.colors = function (a) {
- return this.internal.updateDataAttributes("colors", a)
- }, e.data.axes = function (a) {
- return this.internal.updateDataAttributes("axes", a)
- }, e.category = function (a, b) {
- var c = this.internal, d = c.config;
- return arguments.length > 1 && (d.axis_x_categories[a] = b, c.redraw()), d.axis_x_categories[a]
- }, e.categories = function (a) {
- var b = this.internal, c = b.config;
- return arguments.length ? (c.axis_x_categories = a, b.redraw(), c.axis_x_categories) : c.axis_x_categories
- }, e.color = function (a) {
- var b = this.internal;
- return b.color(a)
- }, e.x = function (a) {
- var b = this.internal;
- return arguments.length && (b.updateTargetX(b.data.targets, a), b.redraw({
- withUpdateOrgXDomain: !0,
- withUpdateXDomain: !0
- })), b.data.xs
- }, e.xs = function (a) {
- var b = this.internal;
- return arguments.length && (b.updateTargetXs(b.data.targets, a), b.redraw({
- withUpdateOrgXDomain: !0,
- withUpdateXDomain: !0
- })), b.data.xs
- }, e.axis = function () {
- }, e.axis.labels = function (a) {
- var b = this.internal;
- arguments.length && (Object.keys(a).forEach(function (c) {
- b.setAxisLabelText(c, a[c])
- }), b.updateAxisLabels())
- }, e.axis.max = function (a) {
- var b = this.internal, c = b.config;
- return arguments.length ? ("object" == typeof a ? (j(a.x) && (c.axis_x_max = a.x), j(a.y) && (c.axis_y_max = a.y), j(a.y2) && (c.axis_y2_max = a.y2)) : c.axis_y_max = c.axis_y2_max = a, void b.redraw({
- withUpdateOrgXDomain: !0,
- withUpdateXDomain: !0
- })) : {x: c.axis_x_max, y: c.axis_y_max, y2: c.axis_y2_max}
- }, e.axis.min = function (a) {
- var b = this.internal, c = b.config;
- return arguments.length ? ("object" == typeof a ? (j(a.x) && (c.axis_x_min = a.x), j(a.y) && (c.axis_y_min = a.y), j(a.y2) && (c.axis_y2_min = a.y2)) : c.axis_y_min = c.axis_y2_min = a, void b.redraw({
- withUpdateOrgXDomain: !0,
- withUpdateXDomain: !0
- })) : {x: c.axis_x_min, y: c.axis_y_min, y2: c.axis_y2_min}
- }, e.axis.range = function (a) {
- return arguments.length ? (n(a.max) && this.axis.max(a.max), void(n(a.min) && this.axis.min(a.min))) : {
- max: this.axis.max(),
- min: this.axis.min()
- }
- }, e.legend = function () {
- }, e.legend.show = function (a) {
- var b = this.internal;
- b.showLegend(b.mapToTargetIds(a)), b.updateAndRedraw({withLegend: !0})
- }, e.legend.hide = function (a) {
- var b = this.internal;
- b.hideLegend(b.mapToTargetIds(a)), b.updateAndRedraw({withLegend: !0})
- }, e.resize = function (a) {
- var b = this.internal, c = b.config;
- c.size_width = a ? a.width : null, c.size_height = a ? a.height : null, this.flush()
- }, e.flush = function () {
- var a = this.internal;
- a.updateAndRedraw({withLegend: !0, withTransition: !1, withTransitionForTransform: !1})
- }, e.destroy = function () {
- var b = this.internal;
- b.data.targets = void 0, b.data.xs = {}, b.selectChart.classed("c3", !1).html(""), a.clearInterval(b.intervalForObserveInserted), a.onresize = null
- }, e.tooltip = function () {
- }, e.tooltip.show = function (a) {
- var b, c, d = this.internal;
- a.mouse && (c = a.mouse), a.data ? d.isMultipleX() ? (c = [d.x(a.data.x), d.getYScale(a.data.id)(a.data.value)], b = null) : b = j(a.data.index) ? a.data.index : d.getIndexByX(a.data.x) : "undefined" != typeof a.x ? b = d.getIndexByX(a.x) : "undefined" != typeof a.index && (b = a.index), d.dispatchEvent("mouseover", b, c), d.dispatchEvent("mousemove", b, c)
- }, e.tooltip.hide = function () {
- this.internal.dispatchEvent("mouseout", 0)
- };
- var w;
- "function" == typeof define && define.amd ? define("c3", ["d3"], g) : "undefined" != typeof exports && "undefined" != typeof module ? module.exports = g : a.c3 = g
-}(window); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/d3.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/d3.min.js
deleted file mode 100644
index 3ff71133..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/d3.min.js
+++ /dev/null
@@ -1,6152 +0,0 @@
-!function () {
- function n(n, t) {
- return t > n ? -1 : n > t ? 1 : n >= t ? 0 : 0 / 0
- }
-
- function t(n) {
- return null === n ? 0 / 0 : +n
- }
-
- function e(n) {
- return !isNaN(n)
- }
-
- function r(n) {
- return {
- left: function (t, e, r, u) {
- for (arguments.length < 3 && (r = 0), arguments.length < 4 && (u = t.length); u > r;) {
- var i = r + u >>> 1;
- n(t[i], e) < 0 ? r = i + 1 : u = i
- }
- return r
- }, right: function (t, e, r, u) {
- for (arguments.length < 3 && (r = 0), arguments.length < 4 && (u = t.length); u > r;) {
- var i = r + u >>> 1;
- n(t[i], e) > 0 ? u = i : r = i + 1
- }
- return r
- }
- }
- }
-
- function u(n) {
- return n.length
- }
-
- function i(n) {
- for (var t = 1; n * t % 1;)t *= 10;
- return t
- }
-
- function o(n, t) {
- for (var e in t)Object.defineProperty(n.prototype, e, {value: t[e], enumerable: !1})
- }
-
- function a() {
- this._ = Object.create(null)
- }
-
- function c(n) {
- return (n += "") === la || n[0] === sa ? sa + n : n
- }
-
- function l(n) {
- return (n += "")[0] === sa ? n.slice(1) : n
- }
-
- function s(n) {
- return c(n)in this._
- }
-
- function f(n) {
- return (n = c(n))in this._ && delete this._[n]
- }
-
- function h() {
- var n = [];
- for (var t in this._)n.push(l(t));
- return n
- }
-
- function g() {
- var n = 0;
- for (var t in this._)++n;
- return n
- }
-
- function p() {
- for (var n in this._)return !1;
- return !0
- }
-
- function v() {
- this._ = Object.create(null)
- }
-
- function d(n, t, e) {
- return function () {
- var r = e.apply(t, arguments);
- return r === t ? n : r
- }
- }
-
- function m(n, t) {
- if (t in n)return t;
- t = t.charAt(0).toUpperCase() + t.slice(1);
- for (var e = 0, r = fa.length; r > e; ++e) {
- var u = fa[e] + t;
- if (u in n)return u
- }
- }
-
- function y() {
- }
-
- function x() {
- }
-
- function M(n) {
- function t() {
- for (var t, r = e, u = -1, i = r.length; ++u < i;)(t = r[u].on) && t.apply(this, arguments);
- return n
- }
-
- var e = [], r = new a;
- return t.on = function (t, u) {
- var i, o = r.get(t);
- return arguments.length < 2 ? o && o.on : (o && (o.on = null, e = e.slice(0, i = e.indexOf(o)).concat(e.slice(i + 1)), r.remove(t)), u && e.push(r.set(t, {on: u})), n)
- }, t
- }
-
- function _() {
- Bo.event.preventDefault()
- }
-
- function b() {
- for (var n, t = Bo.event; n = t.sourceEvent;)t = n;
- return t
- }
-
- function w(n) {
- for (var t = new x, e = 0, r = arguments.length; ++e < r;)t[arguments[e]] = M(t);
- return t.of = function (e, r) {
- return function (u) {
- try {
- var i = u.sourceEvent = Bo.event;
- u.target = n, Bo.event = u, t[u.type].apply(e, r)
- } finally {
- Bo.event = i
- }
- }
- }, t
- }
-
- function S(n) {
- return ga(n, ya), n
- }
-
- function k(n) {
- return "function" == typeof n ? n : function () {
- return pa(n, this)
- }
- }
-
- function E(n) {
- return "function" == typeof n ? n : function () {
- return va(n, this)
- }
- }
-
- function A(n, t) {
- function e() {
- this.removeAttribute(n)
- }
-
- function r() {
- this.removeAttributeNS(n.space, n.local)
- }
-
- function u() {
- this.setAttribute(n, t)
- }
-
- function i() {
- this.setAttributeNS(n.space, n.local, t)
- }
-
- function o() {
- var e = t.apply(this, arguments);
- null == e ? this.removeAttribute(n) : this.setAttribute(n, e)
- }
-
- function a() {
- var e = t.apply(this, arguments);
- null == e ? this.removeAttributeNS(n.space, n.local) : this.setAttributeNS(n.space, n.local, e)
- }
-
- return n = Bo.ns.qualify(n), null == t ? n.local ? r : e : "function" == typeof t ? n.local ? a : o : n.local ? i : u
- }
-
- function C(n) {
- return n.trim().replace(/\s+/g, " ")
- }
-
- function N(n) {
- return new RegExp("(?:^|\\s+)" + Bo.requote(n) + "(?:\\s+|$)", "g")
- }
-
- function z(n) {
- return (n + "").trim().split(/^|\s+/)
- }
-
- function L(n, t) {
- function e() {
- for (var e = -1; ++e < u;)n[e](this, t)
- }
-
- function r() {
- for (var e = -1, r = t.apply(this, arguments); ++e < u;)n[e](this, r)
- }
-
- n = z(n).map(T);
- var u = n.length;
- return "function" == typeof t ? r : e
- }
-
- function T(n) {
- var t = N(n);
- return function (e, r) {
- if (u = e.classList)return r ? u.add(n) : u.remove(n);
- var u = e.getAttribute("class") || "";
- r ? (t.lastIndex = 0, t.test(u) || e.setAttribute("class", C(u + " " + n))) : e.setAttribute("class", C(u.replace(t, " ")))
- }
- }
-
- function q(n, t, e) {
- function r() {
- this.style.removeProperty(n)
- }
-
- function u() {
- this.style.setProperty(n, t, e)
- }
-
- function i() {
- var r = t.apply(this, arguments);
- null == r ? this.style.removeProperty(n) : this.style.setProperty(n, r, e)
- }
-
- return null == t ? r : "function" == typeof t ? i : u
- }
-
- function R(n, t) {
- function e() {
- delete this[n]
- }
-
- function r() {
- this[n] = t
- }
-
- function u() {
- var e = t.apply(this, arguments);
- null == e ? delete this[n] : this[n] = e
- }
-
- return null == t ? e : "function" == typeof t ? u : r
- }
-
- function D(n) {
- return "function" == typeof n ? n : (n = Bo.ns.qualify(n)).local ? function () {
- return this.ownerDocument.createElementNS(n.space, n.local)
- } : function () {
- return this.ownerDocument.createElementNS(this.namespaceURI, n)
- }
- }
-
- function P(n) {
- return {__data__: n}
- }
-
- function U(n) {
- return function () {
- return ma(this, n)
- }
- }
-
- function j(t) {
- return arguments.length || (t = n), function (n, e) {
- return n && e ? t(n.__data__, e.__data__) : !n - !e
- }
- }
-
- function F(n, t) {
- for (var e = 0, r = n.length; r > e; e++)for (var u, i = n[e], o = 0, a = i.length; a > o; o++)(u = i[o]) && t(u, o, e);
- return n
- }
-
- function H(n) {
- return ga(n, Ma), n
- }
-
- function O(n) {
- var t, e;
- return function (r, u, i) {
- var o, a = n[i].update, c = a.length;
- for (i != e && (e = i, t = 0), u >= t && (t = u + 1); !(o = a[t]) && ++t < c;);
- return o
- }
- }
-
- function Y() {
- var n = this.__transition__;
- n && ++n.active
- }
-
- function I(n, t, e) {
- function r() {
- var t = this[o];
- t && (this.removeEventListener(n, t, t.$), delete this[o])
- }
-
- function u() {
- var u = c(t, Jo(arguments));
- r.call(this), this.addEventListener(n, this[o] = u, u.$ = e), u._ = t
- }
-
- function i() {
- var t, e = new RegExp("^__on([^.]+)" + Bo.requote(n) + "$");
- for (var r in this)if (t = r.match(e)) {
- var u = this[r];
- this.removeEventListener(t[1], u, u.$), delete this[r]
- }
- }
-
- var o = "__on" + n, a = n.indexOf("."), c = Z;
- a > 0 && (n = n.slice(0, a));
- var l = ba.get(n);
- return l && (n = l, c = V), a ? t ? u : r : t ? y : i
- }
-
- function Z(n, t) {
- return function (e) {
- var r = Bo.event;
- Bo.event = e, t[0] = this.__data__;
- try {
- n.apply(this, t)
- } finally {
- Bo.event = r
- }
- }
- }
-
- function V(n, t) {
- var e = Z(n, t);
- return function (n) {
- var t = this, r = n.relatedTarget;
- r && (r === t || 8 & r.compareDocumentPosition(t)) || e.call(t, n)
- }
- }
-
- function X() {
- var n = ".dragsuppress-" + ++Sa, t = "click" + n, e = Bo.select(Qo).on("touchmove" + n, _).on("dragstart" + n, _).on("selectstart" + n, _);
- if (wa) {
- var r = Ko.style, u = r[wa];
- r[wa] = "none"
- }
- return function (i) {
- function o() {
- e.on(t, null)
- }
-
- e.on(n, null), wa && (r[wa] = u), i && (e.on(t, function () {
- _(), o()
- }, !0), setTimeout(o, 0))
- }
- }
-
- function $(n, t) {
- t.changedTouches && (t = t.changedTouches[0]);
- var e = n.ownerSVGElement || n;
- if (e.createSVGPoint) {
- var r = e.createSVGPoint();
- if (0 > ka && (Qo.scrollX || Qo.scrollY)) {
- e = Bo.select("body").append("svg").style({
- position: "absolute",
- top: 0,
- left: 0,
- margin: 0,
- padding: 0,
- border: "none"
- }, "important");
- var u = e[0][0].getScreenCTM();
- ka = !(u.f || u.e), e.remove()
- }
- return ka ? (r.x = t.pageX, r.y = t.pageY) : (r.x = t.clientX, r.y = t.clientY), r = r.matrixTransform(n.getScreenCTM().inverse()), [r.x, r.y]
- }
- var i = n.getBoundingClientRect();
- return [t.clientX - i.left - n.clientLeft, t.clientY - i.top - n.clientTop]
- }
-
- function B() {
- return Bo.event.changedTouches[0].identifier
- }
-
- function W() {
- return Bo.event.target
- }
-
- function J() {
- return Qo
- }
-
- function G(n) {
- return n > 0 ? 1 : 0 > n ? -1 : 0
- }
-
- function K(n, t, e) {
- return (t[0] - n[0]) * (e[1] - n[1]) - (t[1] - n[1]) * (e[0] - n[0])
- }
-
- function Q(n) {
- return n > 1 ? 0 : -1 > n ? Ea : Math.acos(n)
- }
-
- function nt(n) {
- return n > 1 ? Ca : -1 > n ? -Ca : Math.asin(n)
- }
-
- function tt(n) {
- return ((n = Math.exp(n)) - 1 / n) / 2
- }
-
- function et(n) {
- return ((n = Math.exp(n)) + 1 / n) / 2
- }
-
- function rt(n) {
- return ((n = Math.exp(2 * n)) - 1) / (n + 1)
- }
-
- function ut(n) {
- return (n = Math.sin(n / 2)) * n
- }
-
- function it() {
- }
-
- function ot(n, t, e) {
- return this instanceof ot ? (this.h = +n, this.s = +t, void(this.l = +e)) : arguments.length < 2 ? n instanceof ot ? new ot(n.h, n.s, n.l) : Mt("" + n, _t, ot) : new ot(n, t, e)
- }
-
- function at(n, t, e) {
- function r(n) {
- return n > 360 ? n -= 360 : 0 > n && (n += 360), 60 > n ? i + (o - i) * n / 60 : 180 > n ? o : 240 > n ? i + (o - i) * (240 - n) / 60 : i
- }
-
- function u(n) {
- return Math.round(255 * r(n))
- }
-
- var i, o;
- return n = isNaN(n) ? 0 : (n %= 360) < 0 ? n + 360 : n, t = isNaN(t) ? 0 : 0 > t ? 0 : t > 1 ? 1 : t, e = 0 > e ? 0 : e > 1 ? 1 : e, o = .5 >= e ? e * (1 + t) : e + t - e * t, i = 2 * e - o, new dt(u(n + 120), u(n), u(n - 120))
- }
-
- function ct(n, t, e) {
- return this instanceof ct ? (this.h = +n, this.c = +t, void(this.l = +e)) : arguments.length < 2 ? n instanceof ct ? new ct(n.h, n.c, n.l) : n instanceof st ? ht(n.l, n.a, n.b) : ht((n = bt((n = Bo.rgb(n)).r, n.g, n.b)).l, n.a, n.b) : new ct(n, t, e)
- }
-
- function lt(n, t, e) {
- return isNaN(n) && (n = 0), isNaN(t) && (t = 0), new st(e, Math.cos(n *= La) * t, Math.sin(n) * t)
- }
-
- function st(n, t, e) {
- return this instanceof st ? (this.l = +n, this.a = +t, void(this.b = +e)) : arguments.length < 2 ? n instanceof st ? new st(n.l, n.a, n.b) : n instanceof ct ? lt(n.h, n.c, n.l) : bt((n = dt(n)).r, n.g, n.b) : new st(n, t, e)
- }
-
- function ft(n, t, e) {
- var r = (n + 16) / 116, u = r + t / 500, i = r - e / 200;
- return u = gt(u) * Ya, r = gt(r) * Ia, i = gt(i) * Za, new dt(vt(3.2404542 * u - 1.5371385 * r - .4985314 * i), vt(-.969266 * u + 1.8760108 * r + .041556 * i), vt(.0556434 * u - .2040259 * r + 1.0572252 * i))
- }
-
- function ht(n, t, e) {
- return n > 0 ? new ct(Math.atan2(e, t) * Ta, Math.sqrt(t * t + e * e), n) : new ct(0 / 0, 0 / 0, n)
- }
-
- function gt(n) {
- return n > .206893034 ? n * n * n : (n - 4 / 29) / 7.787037
- }
-
- function pt(n) {
- return n > .008856 ? Math.pow(n, 1 / 3) : 7.787037 * n + 4 / 29
- }
-
- function vt(n) {
- return Math.round(255 * (.00304 >= n ? 12.92 * n : 1.055 * Math.pow(n, 1 / 2.4) - .055))
- }
-
- function dt(n, t, e) {
- return this instanceof dt ? (this.r = ~~n, this.g = ~~t, void(this.b = ~~e)) : arguments.length < 2 ? n instanceof dt ? new dt(n.r, n.g, n.b) : Mt("" + n, dt, at) : new dt(n, t, e)
- }
-
- function mt(n) {
- return new dt(n >> 16, 255 & n >> 8, 255 & n)
- }
-
- function yt(n) {
- return mt(n) + ""
- }
-
- function xt(n) {
- return 16 > n ? "0" + Math.max(0, n).toString(16) : Math.min(255, n).toString(16)
- }
-
- function Mt(n, t, e) {
- var r, u, i, o = 0, a = 0, c = 0;
- if (r = /([a-z]+)\((.*)\)/i.exec(n))switch (u = r[2].split(","), r[1]) {
- case"hsl":
- return e(parseFloat(u[0]), parseFloat(u[1]) / 100, parseFloat(u[2]) / 100);
- case"rgb":
- return t(St(u[0]), St(u[1]), St(u[2]))
- }
- return (i = $a.get(n)) ? t(i.r, i.g, i.b) : (null == n || "#" !== n.charAt(0) || isNaN(i = parseInt(n.slice(1), 16)) || (4 === n.length ? (o = (3840 & i) >> 4, o = o >> 4 | o, a = 240 & i, a = a >> 4 | a, c = 15 & i, c = c << 4 | c) : 7 === n.length && (o = (16711680 & i) >> 16, a = (65280 & i) >> 8, c = 255 & i)), t(o, a, c))
- }
-
- function _t(n, t, e) {
- var r, u, i = Math.min(n /= 255, t /= 255, e /= 255), o = Math.max(n, t, e), a = o - i, c = (o + i) / 2;
- return a ? (u = .5 > c ? a / (o + i) : a / (2 - o - i), r = n == o ? (t - e) / a + (e > t ? 6 : 0) : t == o ? (e - n) / a + 2 : (n - t) / a + 4, r *= 60) : (r = 0 / 0, u = c > 0 && 1 > c ? 0 : r), new ot(r, u, c)
- }
-
- function bt(n, t, e) {
- n = wt(n), t = wt(t), e = wt(e);
- var r = pt((.4124564 * n + .3575761 * t + .1804375 * e) / Ya), u = pt((.2126729 * n + .7151522 * t + .072175 * e) / Ia), i = pt((.0193339 * n + .119192 * t + .9503041 * e) / Za);
- return st(116 * u - 16, 500 * (r - u), 200 * (u - i))
- }
-
- function wt(n) {
- return (n /= 255) <= .04045 ? n / 12.92 : Math.pow((n + .055) / 1.055, 2.4)
- }
-
- function St(n) {
- var t = parseFloat(n);
- return "%" === n.charAt(n.length - 1) ? Math.round(2.55 * t) : t
- }
-
- function kt(n) {
- return "function" == typeof n ? n : function () {
- return n
- }
- }
-
- function Et(n) {
- return n
- }
-
- function At(n) {
- return function (t, e, r) {
- return 2 === arguments.length && "function" == typeof e && (r = e, e = null), Ct(t, e, n, r)
- }
- }
-
- function Ct(n, t, e, r) {
- function u() {
- var n, t = c.status;
- if (!t && zt(c) || t >= 200 && 300 > t || 304 === t) {
- try {
- n = e.call(i, c)
- } catch (r) {
- return o.error.call(i, r), void 0
- }
- o.load.call(i, n)
- } else o.error.call(i, c)
- }
-
- var i = {}, o = Bo.dispatch("beforesend", "progress", "load", "error"), a = {}, c = new XMLHttpRequest, l = null;
- return !Qo.XDomainRequest || "withCredentials"in c || !/^(http(s)?:)?\/\//.test(n) || (c = new XDomainRequest), "onload"in c ? c.onload = c.onerror = u : c.onreadystatechange = function () {
- c.readyState > 3 && u()
- }, c.onprogress = function (n) {
- var t = Bo.event;
- Bo.event = n;
- try {
- o.progress.call(i, c)
- } finally {
- Bo.event = t
- }
- }, i.header = function (n, t) {
- return n = (n + "").toLowerCase(), arguments.length < 2 ? a[n] : (null == t ? delete a[n] : a[n] = t + "", i)
- }, i.mimeType = function (n) {
- return arguments.length ? (t = null == n ? null : n + "", i) : t
- }, i.responseType = function (n) {
- return arguments.length ? (l = n, i) : l
- }, i.response = function (n) {
- return e = n, i
- }, ["get", "post"].forEach(function (n) {
- i[n] = function () {
- return i.send.apply(i, [n].concat(Jo(arguments)))
- }
- }), i.send = function (e, r, u) {
- if (2 === arguments.length && "function" == typeof r && (u = r, r = null), c.open(e, n, !0), null == t || "accept"in a || (a.accept = t + ",*/*"), c.setRequestHeader)for (var s in a)c.setRequestHeader(s, a[s]);
- return null != t && c.overrideMimeType && c.overrideMimeType(t), null != l && (c.responseType = l), null != u && i.on("error", u).on("load", function (n) {
- u(null, n)
- }), o.beforesend.call(i, c), c.send(null == r ? null : r), i
- }, i.abort = function () {
- return c.abort(), i
- }, Bo.rebind(i, o, "on"), null == r ? i : i.get(Nt(r))
- }
-
- function Nt(n) {
- return 1 === n.length ? function (t, e) {
- n(null == t ? e : null)
- } : n
- }
-
- function zt(n) {
- var t = n.responseType;
- return t && "text" !== t ? n.response : n.responseText
- }
-
- function Lt() {
- var n = Tt(), t = qt() - n;
- t > 24 ? (isFinite(t) && (clearTimeout(Ga), Ga = setTimeout(Lt, t)), Ja = 0) : (Ja = 1, Qa(Lt))
- }
-
- function Tt() {
- var n = Date.now();
- for (Ka = Ba; Ka;)n >= Ka.t && (Ka.f = Ka.c(n - Ka.t)), Ka = Ka.n;
- return n
- }
-
- function qt() {
- for (var n, t = Ba, e = 1 / 0; t;)t.f ? t = n ? n.n = t.n : Ba = t.n : (t.t < e && (e = t.t), t = (n = t).n);
- return Wa = n, e
- }
-
- function Rt(n, t) {
- return t - (n ? Math.ceil(Math.log(n) / Math.LN10) : 1)
- }
-
- function Dt(n, t) {
- var e = Math.pow(10, 3 * ca(8 - t));
- return {
- scale: t > 8 ? function (n) {
- return n / e
- } : function (n) {
- return n * e
- }, symbol: n
- }
- }
-
- function Pt(n) {
- var t = n.decimal, e = n.thousands, r = n.grouping, u = n.currency, i = r && e ? function (n, t) {
- for (var u = n.length, i = [], o = 0, a = r[0], c = 0; u > 0 && a > 0 && (c + a + 1 > t && (a = Math.max(1, t - c)), i.push(n.substring(u -= a, u + a)), !((c += a + 1) > t));)a = r[o = (o + 1) % r.length];
- return i.reverse().join(e)
- } : Et;
- return function (n) {
- var e = tc.exec(n), r = e[1] || " ", o = e[2] || ">", a = e[3] || "-", c = e[4] || "", l = e[5], s = +e[6], f = e[7], h = e[8], g = e[9], p = 1, v = "", d = "", m = !1, y = !0;
- switch (h && (h = +h.substring(1)), (l || "0" === r && "=" === o) && (l = r = "0", o = "="), g) {
- case"n":
- f = !0, g = "g";
- break;
- case"%":
- p = 100, d = "%", g = "f";
- break;
- case"p":
- p = 100, d = "%", g = "r";
- break;
- case"b":
- case"o":
- case"x":
- case"X":
- "#" === c && (v = "0" + g.toLowerCase());
- case"c":
- y = !1;
- case"d":
- m = !0, h = 0;
- break;
- case"s":
- p = -1, g = "r"
- }
- "$" === c && (v = u[0], d = u[1]), "r" != g || h || (g = "g"), null != h && ("g" == g ? h = Math.max(1, Math.min(21, h)) : ("e" == g || "f" == g) && (h = Math.max(0, Math.min(20, h)))), g = ec.get(g) || Ut;
- var x = l && f;
- return function (n) {
- var e = d;
- if (m && n % 1)return "";
- var u = 0 > n || 0 === n && 0 > 1 / n ? (n = -n, "-") : "-" === a ? "" : a;
- if (0 > p) {
- var c = Bo.formatPrefix(n, h);
- n = c.scale(n), e = c.symbol + d
- } else n *= p;
- n = g(n, h);
- var M, _, b = n.lastIndexOf(".");
- if (0 > b) {
- var w = y ? n.lastIndexOf("e") : -1;
- 0 > w ? (M = n, _ = "") : (M = n.substring(0, w), _ = n.substring(w))
- } else M = n.substring(0, b), _ = t + n.substring(b + 1);
- !l && f && (M = i(M, 1 / 0));
- var S = v.length + M.length + _.length + (x ? 0 : u.length), k = s > S ? new Array(S = s - S + 1).join(r) : "";
- return x && (M = i(k + M, k.length ? s - _.length : 1 / 0)), u += v, n = M + _, ("<" === o ? u + n + k : ">" === o ? k + u + n : "^" === o ? k.substring(0, S >>= 1) + u + n + k.substring(S) : u + (x ? n : k + n)) + e
- }
- }
- }
-
- function Ut(n) {
- return n + ""
- }
-
- function jt() {
- this._ = new Date(arguments.length > 1 ? Date.UTC.apply(this, arguments) : arguments[0])
- }
-
- function Ft(n, t, e) {
- function r(t) {
- var e = n(t), r = i(e, 1);
- return r - t > t - e ? e : r
- }
-
- function u(e) {
- return t(e = n(new uc(e - 1)), 1), e
- }
-
- function i(n, e) {
- return t(n = new uc(+n), e), n
- }
-
- function o(n, r, i) {
- var o = u(n), a = [];
- if (i > 1)for (; r > o;)e(o) % i || a.push(new Date(+o)), t(o, 1); else for (; r > o;)a.push(new Date(+o)), t(o, 1);
- return a
- }
-
- function a(n, t, e) {
- try {
- uc = jt;
- var r = new jt;
- return r._ = n, o(r, t, e)
- } finally {
- uc = Date
- }
- }
-
- n.floor = n, n.round = r, n.ceil = u, n.offset = i, n.range = o;
- var c = n.utc = Ht(n);
- return c.floor = c, c.round = Ht(r), c.ceil = Ht(u), c.offset = Ht(i), c.range = a, n
- }
-
- function Ht(n) {
- return function (t, e) {
- try {
- uc = jt;
- var r = new jt;
- return r._ = t, n(r, e)._
- } finally {
- uc = Date
- }
- }
- }
-
- function Ot(n) {
- function t(n) {
- function t(t) {
- for (var e, u, i, o = [], a = -1, c = 0; ++a < r;)37 === n.charCodeAt(a) && (o.push(n.slice(c, a)), null != (u = oc[e = n.charAt(++a)]) && (e = n.charAt(++a)), (i = C[e]) && (e = i(t, null == u ? "e" === e ? " " : "0" : u)), o.push(e), c = a + 1);
- return o.push(n.slice(c, a)), o.join("")
- }
-
- var r = n.length;
- return t.parse = function (t) {
- var r = {y: 1900, m: 0, d: 1, H: 0, M: 0, S: 0, L: 0, Z: null}, u = e(r, n, t, 0);
- if (u != t.length)return null;
- "p"in r && (r.H = r.H % 12 + 12 * r.p);
- var i = null != r.Z && uc !== jt, o = new (i ? jt : uc);
- return "j"in r ? o.setFullYear(r.y, 0, r.j) : "w"in r && ("W"in r || "U"in r) ? (o.setFullYear(r.y, 0, 1), o.setFullYear(r.y, 0, "W"in r ? (r.w + 6) % 7 + 7 * r.W - (o.getDay() + 5) % 7 : r.w + 7 * r.U - (o.getDay() + 6) % 7)) : o.setFullYear(r.y, r.m, r.d), o.setHours(r.H + (0 | r.Z / 100), r.M + r.Z % 100, r.S, r.L), i ? o._ : o
- }, t.toString = function () {
- return n
- }, t
- }
-
- function e(n, t, e, r) {
- for (var u, i, o, a = 0, c = t.length, l = e.length; c > a;) {
- if (r >= l)return -1;
- if (u = t.charCodeAt(a++), 37 === u) {
- if (o = t.charAt(a++), i = N[o in oc ? t.charAt(a++) : o], !i || (r = i(n, e, r)) < 0)return -1
- } else if (u != e.charCodeAt(r++))return -1
- }
- return r
- }
-
- function r(n, t, e) {
- b.lastIndex = 0;
- var r = b.exec(t.slice(e));
- return r ? (n.w = w.get(r[0].toLowerCase()), e + r[0].length) : -1
- }
-
- function u(n, t, e) {
- M.lastIndex = 0;
- var r = M.exec(t.slice(e));
- return r ? (n.w = _.get(r[0].toLowerCase()), e + r[0].length) : -1
- }
-
- function i(n, t, e) {
- E.lastIndex = 0;
- var r = E.exec(t.slice(e));
- return r ? (n.m = A.get(r[0].toLowerCase()), e + r[0].length) : -1
- }
-
- function o(n, t, e) {
- S.lastIndex = 0;
- var r = S.exec(t.slice(e));
- return r ? (n.m = k.get(r[0].toLowerCase()), e + r[0].length) : -1
- }
-
- function a(n, t, r) {
- return e(n, C.c.toString(), t, r)
- }
-
- function c(n, t, r) {
- return e(n, C.x.toString(), t, r)
- }
-
- function l(n, t, r) {
- return e(n, C.X.toString(), t, r)
- }
-
- function s(n, t, e) {
- var r = x.get(t.slice(e, e += 2).toLowerCase());
- return null == r ? -1 : (n.p = r, e)
- }
-
- var f = n.dateTime, h = n.date, g = n.time, p = n.periods, v = n.days, d = n.shortDays, m = n.months, y = n.shortMonths;
- t.utc = function (n) {
- function e(n) {
- try {
- uc = jt;
- var t = new uc;
- return t._ = n, r(t)
- } finally {
- uc = Date
- }
- }
-
- var r = t(n);
- return e.parse = function (n) {
- try {
- uc = jt;
- var t = r.parse(n);
- return t && t._
- } finally {
- uc = Date
- }
- }, e.toString = r.toString, e
- }, t.multi = t.utc.multi = ae;
- var x = Bo.map(), M = It(v), _ = Zt(v), b = It(d), w = Zt(d), S = It(m), k = Zt(m), E = It(y), A = Zt(y);
- p.forEach(function (n, t) {
- x.set(n.toLowerCase(), t)
- });
- var C = {
- a: function (n) {
- return d[n.getDay()]
- }, A: function (n) {
- return v[n.getDay()]
- }, b: function (n) {
- return y[n.getMonth()]
- }, B: function (n) {
- return m[n.getMonth()]
- }, c: t(f), d: function (n, t) {
- return Yt(n.getDate(), t, 2)
- }, e: function (n, t) {
- return Yt(n.getDate(), t, 2)
- }, H: function (n, t) {
- return Yt(n.getHours(), t, 2)
- }, I: function (n, t) {
- return Yt(n.getHours() % 12 || 12, t, 2)
- }, j: function (n, t) {
- return Yt(1 + rc.dayOfYear(n), t, 3)
- }, L: function (n, t) {
- return Yt(n.getMilliseconds(), t, 3)
- }, m: function (n, t) {
- return Yt(n.getMonth() + 1, t, 2)
- }, M: function (n, t) {
- return Yt(n.getMinutes(), t, 2)
- }, p: function (n) {
- return p[+(n.getHours() >= 12)]
- }, S: function (n, t) {
- return Yt(n.getSeconds(), t, 2)
- }, U: function (n, t) {
- return Yt(rc.sundayOfYear(n), t, 2)
- }, w: function (n) {
- return n.getDay()
- }, W: function (n, t) {
- return Yt(rc.mondayOfYear(n), t, 2)
- }, x: t(h), X: t(g), y: function (n, t) {
- return Yt(n.getFullYear() % 100, t, 2)
- }, Y: function (n, t) {
- return Yt(n.getFullYear() % 1e4, t, 4)
- }, Z: ie, "%": function () {
- return "%"
- }
- }, N = {
- a: r,
- A: u,
- b: i,
- B: o,
- c: a,
- d: Qt,
- e: Qt,
- H: te,
- I: te,
- j: ne,
- L: ue,
- m: Kt,
- M: ee,
- p: s,
- S: re,
- U: Xt,
- w: Vt,
- W: $t,
- x: c,
- X: l,
- y: Wt,
- Y: Bt,
- Z: Jt,
- "%": oe
- };
- return t
- }
-
- function Yt(n, t, e) {
- var r = 0 > n ? "-" : "", u = (r ? -n : n) + "", i = u.length;
- return r + (e > i ? new Array(e - i + 1).join(t) + u : u)
- }
-
- function It(n) {
- return new RegExp("^(?:" + n.map(Bo.requote).join("|") + ")", "i")
- }
-
- function Zt(n) {
- for (var t = new a, e = -1, r = n.length; ++e < r;)t.set(n[e].toLowerCase(), e);
- return t
- }
-
- function Vt(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 1));
- return r ? (n.w = +r[0], e + r[0].length) : -1
- }
-
- function Xt(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e));
- return r ? (n.U = +r[0], e + r[0].length) : -1
- }
-
- function $t(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e));
- return r ? (n.W = +r[0], e + r[0].length) : -1
- }
-
- function Bt(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 4));
- return r ? (n.y = +r[0], e + r[0].length) : -1
- }
-
- function Wt(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 2));
- return r ? (n.y = Gt(+r[0]), e + r[0].length) : -1
- }
-
- function Jt(n, t, e) {
- return /^[+-]\d{4}$/.test(t = t.slice(e, e + 5)) ? (n.Z = -t, e + 5) : -1
- }
-
- function Gt(n) {
- return n + (n > 68 ? 1900 : 2e3)
- }
-
- function Kt(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 2));
- return r ? (n.m = r[0] - 1, e + r[0].length) : -1
- }
-
- function Qt(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 2));
- return r ? (n.d = +r[0], e + r[0].length) : -1
- }
-
- function ne(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 3));
- return r ? (n.j = +r[0], e + r[0].length) : -1
- }
-
- function te(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 2));
- return r ? (n.H = +r[0], e + r[0].length) : -1
- }
-
- function ee(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 2));
- return r ? (n.M = +r[0], e + r[0].length) : -1
- }
-
- function re(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 2));
- return r ? (n.S = +r[0], e + r[0].length) : -1
- }
-
- function ue(n, t, e) {
- ac.lastIndex = 0;
- var r = ac.exec(t.slice(e, e + 3));
- return r ? (n.L = +r[0], e + r[0].length) : -1
- }
-
- function ie(n) {
- var t = n.getTimezoneOffset(), e = t > 0 ? "-" : "+", r = 0 | ca(t) / 60, u = ca(t) % 60;
- return e + Yt(r, "0", 2) + Yt(u, "0", 2)
- }
-
- function oe(n, t, e) {
- cc.lastIndex = 0;
- var r = cc.exec(t.slice(e, e + 1));
- return r ? e + r[0].length : -1
- }
-
- function ae(n) {
- for (var t = n.length, e = -1; ++e < t;)n[e][0] = this(n[e][0]);
- return function (t) {
- for (var e = 0, r = n[e]; !r[1](t);)r = n[++e];
- return r[0](t)
- }
- }
-
- function ce() {
- }
-
- function le(n, t, e) {
- var r = e.s = n + t, u = r - n, i = r - u;
- e.t = n - i + (t - u)
- }
-
- function se(n, t) {
- n && hc.hasOwnProperty(n.type) && hc[n.type](n, t)
- }
-
- function fe(n, t, e) {
- var r, u = -1, i = n.length - e;
- for (t.lineStart(); ++u < i;)r = n[u], t.point(r[0], r[1], r[2]);
- t.lineEnd()
- }
-
- function he(n, t) {
- var e = -1, r = n.length;
- for (t.polygonStart(); ++e < r;)fe(n[e], t, 1);
- t.polygonEnd()
- }
-
- function ge() {
- function n(n, t) {
- n *= La, t = t * La / 2 + Ea / 4;
- var e = n - r, o = e >= 0 ? 1 : -1, a = o * e, c = Math.cos(t), l = Math.sin(t), s = i * l, f = u * c + s * Math.cos(a), h = s * o * Math.sin(a);
- pc.add(Math.atan2(h, f)), r = n, u = c, i = l
- }
-
- var t, e, r, u, i;
- vc.point = function (o, a) {
- vc.point = n, r = (t = o) * La, u = Math.cos(a = (e = a) * La / 2 + Ea / 4), i = Math.sin(a)
- }, vc.lineEnd = function () {
- n(t, e)
- }
- }
-
- function pe(n) {
- var t = n[0], e = n[1], r = Math.cos(e);
- return [r * Math.cos(t), r * Math.sin(t), Math.sin(e)]
- }
-
- function ve(n, t) {
- return n[0] * t[0] + n[1] * t[1] + n[2] * t[2]
- }
-
- function de(n, t) {
- return [n[1] * t[2] - n[2] * t[1], n[2] * t[0] - n[0] * t[2], n[0] * t[1] - n[1] * t[0]]
- }
-
- function me(n, t) {
- n[0] += t[0], n[1] += t[1], n[2] += t[2]
- }
-
- function ye(n, t) {
- return [n[0] * t, n[1] * t, n[2] * t]
- }
-
- function xe(n) {
- var t = Math.sqrt(n[0] * n[0] + n[1] * n[1] + n[2] * n[2]);
- n[0] /= t, n[1] /= t, n[2] /= t
- }
-
- function Me(n) {
- return [Math.atan2(n[1], n[0]), nt(n[2])]
- }
-
- function _e(n, t) {
- return ca(n[0] - t[0]) < Na && ca(n[1] - t[1]) < Na
- }
-
- function be(n, t) {
- n *= La;
- var e = Math.cos(t *= La);
- we(e * Math.cos(n), e * Math.sin(n), Math.sin(t))
- }
-
- function we(n, t, e) {
- ++dc, yc += (n - yc) / dc, xc += (t - xc) / dc, Mc += (e - Mc) / dc
- }
-
- function Se() {
- function n(n, u) {
- n *= La;
- var i = Math.cos(u *= La), o = i * Math.cos(n), a = i * Math.sin(n), c = Math.sin(u), l = Math.atan2(Math.sqrt((l = e * c - r * a) * l + (l = r * o - t * c) * l + (l = t * a - e * o) * l), t * o + e * a + r * c);
- mc += l, _c += l * (t + (t = o)), bc += l * (e + (e = a)), wc += l * (r + (r = c)), we(t, e, r)
- }
-
- var t, e, r;
- Ac.point = function (u, i) {
- u *= La;
- var o = Math.cos(i *= La);
- t = o * Math.cos(u), e = o * Math.sin(u), r = Math.sin(i), Ac.point = n, we(t, e, r)
- }
- }
-
- function ke() {
- Ac.point = be
- }
-
- function Ee() {
- function n(n, t) {
- n *= La;
- var e = Math.cos(t *= La), o = e * Math.cos(n), a = e * Math.sin(n), c = Math.sin(t), l = u * c - i * a, s = i * o - r * c, f = r * a - u * o, h = Math.sqrt(l * l + s * s + f * f), g = r * o + u * a + i * c, p = h && -Q(g) / h, v = Math.atan2(h, g);
- Sc += p * l, kc += p * s, Ec += p * f, mc += v, _c += v * (r + (r = o)), bc += v * (u + (u = a)), wc += v * (i + (i = c)), we(r, u, i)
- }
-
- var t, e, r, u, i;
- Ac.point = function (o, a) {
- t = o, e = a, Ac.point = n, o *= La;
- var c = Math.cos(a *= La);
- r = c * Math.cos(o), u = c * Math.sin(o), i = Math.sin(a), we(r, u, i)
- }, Ac.lineEnd = function () {
- n(t, e), Ac.lineEnd = ke, Ac.point = be
- }
- }
-
- function Ae() {
- return !0
- }
-
- function Ce(n, t, e, r, u) {
- var i = [], o = [];
- if (n.forEach(function (n) {
- if (!((t = n.length - 1) <= 0)) {
- var t, e = n[0], r = n[t];
- if (_e(e, r)) {
- u.lineStart();
- for (var a = 0; t > a; ++a)u.point((e = n[a])[0], e[1]);
- return u.lineEnd(), void 0
- }
- var c = new ze(e, n, null, !0), l = new ze(e, null, c, !1);
- c.o = l, i.push(c), o.push(l), c = new ze(r, n, null, !1), l = new ze(r, null, c, !0), c.o = l, i.push(c), o.push(l)
- }
- }), o.sort(t), Ne(i), Ne(o), i.length) {
- for (var a = 0, c = e, l = o.length; l > a; ++a)o[a].e = c = !c;
- for (var s, f, h = i[0]; ;) {
- for (var g = h, p = !0; g.v;)if ((g = g.n) === h)return;
- s = g.z, u.lineStart();
- do {
- if (g.v = g.o.v = !0, g.e) {
- if (p)for (var a = 0, l = s.length; l > a; ++a)u.point((f = s[a])[0], f[1]); else r(g.x, g.n.x, 1, u);
- g = g.n
- } else {
- if (p) {
- s = g.p.z;
- for (var a = s.length - 1; a >= 0; --a)u.point((f = s[a])[0], f[1])
- } else r(g.x, g.p.x, -1, u);
- g = g.p
- }
- g = g.o, s = g.z, p = !p
- } while (!g.v);
- u.lineEnd()
- }
- }
- }
-
- function Ne(n) {
- if (t = n.length) {
- for (var t, e, r = 0, u = n[0]; ++r < t;)u.n = e = n[r], e.p = u, u = e;
- u.n = e = n[0], e.p = u
- }
- }
-
- function ze(n, t, e, r) {
- this.x = n, this.z = t, this.o = e, this.e = r, this.v = !1, this.n = this.p = null
- }
-
- function Le(n, t, e, r) {
- return function (u, i) {
- function o(t, e) {
- var r = u(t, e);
- n(t = r[0], e = r[1]) && i.point(t, e)
- }
-
- function a(n, t) {
- var e = u(n, t);
- d.point(e[0], e[1])
- }
-
- function c() {
- y.point = a, d.lineStart()
- }
-
- function l() {
- y.point = o, d.lineEnd()
- }
-
- function s(n, t) {
- v.push([n, t]);
- var e = u(n, t);
- M.point(e[0], e[1])
- }
-
- function f() {
- M.lineStart(), v = []
- }
-
- function h() {
- s(v[0][0], v[0][1]), M.lineEnd();
- var n, t = M.clean(), e = x.buffer(), r = e.length;
- if (v.pop(), p.push(v), v = null, r)if (1 & t) {
- n = e[0];
- var u, r = n.length - 1, o = -1;
- if (r > 0) {
- for (_ || (i.polygonStart(), _ = !0), i.lineStart(); ++o < r;)i.point((u = n[o])[0], u[1]);
- i.lineEnd()
- }
- } else r > 1 && 2 & t && e.push(e.pop().concat(e.shift())), g.push(e.filter(Te))
- }
-
- var g, p, v, d = t(i), m = u.invert(r[0], r[1]), y = {
- point: o,
- lineStart: c,
- lineEnd: l,
- polygonStart: function () {
- y.point = s, y.lineStart = f, y.lineEnd = h, g = [], p = []
- },
- polygonEnd: function () {
- y.point = o, y.lineStart = c, y.lineEnd = l, g = Bo.merge(g);
- var n = je(m, p);
- g.length ? (_ || (i.polygonStart(), _ = !0), Ce(g, Re, n, e, i)) : n && (_ || (i.polygonStart(), _ = !0), i.lineStart(), e(null, null, 1, i), i.lineEnd()), _ && (i.polygonEnd(), _ = !1), g = p = null
- },
- sphere: function () {
- i.polygonStart(), i.lineStart(), e(null, null, 1, i), i.lineEnd(), i.polygonEnd()
- }
- }, x = qe(), M = t(x), _ = !1;
- return y
- }
- }
-
- function Te(n) {
- return n.length > 1
- }
-
- function qe() {
- var n, t = [];
- return {
- lineStart: function () {
- t.push(n = [])
- }, point: function (t, e) {
- n.push([t, e])
- }, lineEnd: y, buffer: function () {
- var e = t;
- return t = [], n = null, e
- }, rejoin: function () {
- t.length > 1 && t.push(t.pop().concat(t.shift()))
- }
- }
- }
-
- function Re(n, t) {
- return ((n = n.x)[0] < 0 ? n[1] - Ca - Na : Ca - n[1]) - ((t = t.x)[0] < 0 ? t[1] - Ca - Na : Ca - t[1])
- }
-
- function De(n) {
- var t, e = 0 / 0, r = 0 / 0, u = 0 / 0;
- return {
- lineStart: function () {
- n.lineStart(), t = 1
- }, point: function (i, o) {
- var a = i > 0 ? Ea : -Ea, c = ca(i - e);
- ca(c - Ea) < Na ? (n.point(e, r = (r + o) / 2 > 0 ? Ca : -Ca), n.point(u, r), n.lineEnd(), n.lineStart(), n.point(a, r), n.point(i, r), t = 0) : u !== a && c >= Ea && (ca(e - u) < Na && (e -= u * Na), ca(i - a) < Na && (i -= a * Na), r = Pe(e, r, i, o), n.point(u, r), n.lineEnd(), n.lineStart(), n.point(a, r), t = 0), n.point(e = i, r = o), u = a
- }, lineEnd: function () {
- n.lineEnd(), e = r = 0 / 0
- }, clean: function () {
- return 2 - t
- }
- }
- }
-
- function Pe(n, t, e, r) {
- var u, i, o = Math.sin(n - e);
- return ca(o) > Na ? Math.atan((Math.sin(t) * (i = Math.cos(r)) * Math.sin(e) - Math.sin(r) * (u = Math.cos(t)) * Math.sin(n)) / (u * i * o)) : (t + r) / 2
- }
-
- function Ue(n, t, e, r) {
- var u;
- if (null == n)u = e * Ca, r.point(-Ea, u), r.point(0, u), r.point(Ea, u), r.point(Ea, 0), r.point(Ea, -u), r.point(0, -u), r.point(-Ea, -u), r.point(-Ea, 0), r.point(-Ea, u); else if (ca(n[0] - t[0]) > Na) {
- var i = n[0] < t[0] ? Ea : -Ea;
- u = e * i / 2, r.point(-i, u), r.point(0, u), r.point(i, u)
- } else r.point(t[0], t[1])
- }
-
- function je(n, t) {
- var e = n[0], r = n[1], u = [Math.sin(e), -Math.cos(e), 0], i = 0, o = 0;
- pc.reset();
- for (var a = 0, c = t.length; c > a; ++a) {
- var l = t[a], s = l.length;
- if (s)for (var f = l[0], h = f[0], g = f[1] / 2 + Ea / 4, p = Math.sin(g), v = Math.cos(g), d = 1; ;) {
- d === s && (d = 0), n = l[d];
- var m = n[0], y = n[1] / 2 + Ea / 4, x = Math.sin(y), M = Math.cos(y), _ = m - h, b = _ >= 0 ? 1 : -1, w = b * _, S = w > Ea, k = p * x;
- if (pc.add(Math.atan2(k * b * Math.sin(w), v * M + k * Math.cos(w))), i += S ? _ + b * Aa : _, S ^ h >= e ^ m >= e) {
- var E = de(pe(f), pe(n));
- xe(E);
- var A = de(u, E);
- xe(A);
- var C = (S ^ _ >= 0 ? -1 : 1) * nt(A[2]);
- (r > C || r === C && (E[0] || E[1])) && (o += S ^ _ >= 0 ? 1 : -1)
- }
- if (!d++)break;
- h = m, p = x, v = M, f = n
- }
- }
- return (-Na > i || Na > i && 0 > pc) ^ 1 & o
- }
-
- function Fe(n) {
- function t(n, t) {
- return Math.cos(n) * Math.cos(t) > i
- }
-
- function e(n) {
- var e, i, c, l, s;
- return {
- lineStart: function () {
- l = c = !1, s = 1
- }, point: function (f, h) {
- var g, p = [f, h], v = t(f, h), d = o ? v ? 0 : u(f, h) : v ? u(f + (0 > f ? Ea : -Ea), h) : 0;
- if (!e && (l = c = v) && n.lineStart(), v !== c && (g = r(e, p), (_e(e, g) || _e(p, g)) && (p[0] += Na, p[1] += Na, v = t(p[0], p[1]))), v !== c)s = 0, v ? (n.lineStart(), g = r(p, e), n.point(g[0], g[1])) : (g = r(e, p), n.point(g[0], g[1]), n.lineEnd()), e = g; else if (a && e && o ^ v) {
- var m;
- d & i || !(m = r(p, e, !0)) || (s = 0, o ? (n.lineStart(), n.point(m[0][0], m[0][1]), n.point(m[1][0], m[1][1]), n.lineEnd()) : (n.point(m[1][0], m[1][1]), n.lineEnd(), n.lineStart(), n.point(m[0][0], m[0][1])))
- }
- !v || e && _e(e, p) || n.point(p[0], p[1]), e = p, c = v, i = d
- }, lineEnd: function () {
- c && n.lineEnd(), e = null
- }, clean: function () {
- return s | (l && c) << 1
- }
- }
- }
-
- function r(n, t, e) {
- var r = pe(n), u = pe(t), o = [1, 0, 0], a = de(r, u), c = ve(a, a), l = a[0], s = c - l * l;
- if (!s)return !e && n;
- var f = i * c / s, h = -i * l / s, g = de(o, a), p = ye(o, f), v = ye(a, h);
- me(p, v);
- var d = g, m = ve(p, d), y = ve(d, d), x = m * m - y * (ve(p, p) - 1);
- if (!(0 > x)) {
- var M = Math.sqrt(x), _ = ye(d, (-m - M) / y);
- if (me(_, p), _ = Me(_), !e)return _;
- var b, w = n[0], S = t[0], k = n[1], E = t[1];
- w > S && (b = w, w = S, S = b);
- var A = S - w, C = ca(A - Ea) < Na, N = C || Na > A;
- if (!C && k > E && (b = k, k = E, E = b), N ? C ? k + E > 0 ^ _[1] < (ca(_[0] - w) < Na ? k : E) : k <= _[1] && _[1] <= E : A > Ea ^ (w <= _[0] && _[0] <= S)) {
- var z = ye(d, (-m + M) / y);
- return me(z, p), [_, Me(z)]
- }
- }
- }
-
- function u(t, e) {
- var r = o ? n : Ea - n, u = 0;
- return -r > t ? u |= 1 : t > r && (u |= 2), -r > e ? u |= 4 : e > r && (u |= 8), u
- }
-
- var i = Math.cos(n), o = i > 0, a = ca(i) > Na, c = gr(n, 6 * La);
- return Le(t, e, c, o ? [0, -n] : [-Ea, n - Ea])
- }
-
- function He(n, t, e, r) {
- return function (u) {
- var i, o = u.a, a = u.b, c = o.x, l = o.y, s = a.x, f = a.y, h = 0, g = 1, p = s - c, v = f - l;
- if (i = n - c, p || !(i > 0)) {
- if (i /= p, 0 > p) {
- if (h > i)return;
- g > i && (g = i)
- } else if (p > 0) {
- if (i > g)return;
- i > h && (h = i)
- }
- if (i = e - c, p || !(0 > i)) {
- if (i /= p, 0 > p) {
- if (i > g)return;
- i > h && (h = i)
- } else if (p > 0) {
- if (h > i)return;
- g > i && (g = i)
- }
- if (i = t - l, v || !(i > 0)) {
- if (i /= v, 0 > v) {
- if (h > i)return;
- g > i && (g = i)
- } else if (v > 0) {
- if (i > g)return;
- i > h && (h = i)
- }
- if (i = r - l, v || !(0 > i)) {
- if (i /= v, 0 > v) {
- if (i > g)return;
- i > h && (h = i)
- } else if (v > 0) {
- if (h > i)return;
- g > i && (g = i)
- }
- return h > 0 && (u.a = {x: c + h * p, y: l + h * v}), 1 > g && (u.b = {
- x: c + g * p,
- y: l + g * v
- }), u
- }
- }
- }
- }
- }
- }
-
- function Oe(n, t, e, r) {
- function u(r, u) {
- return ca(r[0] - n) < Na ? u > 0 ? 0 : 3 : ca(r[0] - e) < Na ? u > 0 ? 2 : 1 : ca(r[1] - t) < Na ? u > 0 ? 1 : 0 : u > 0 ? 3 : 2
- }
-
- function i(n, t) {
- return o(n.x, t.x)
- }
-
- function o(n, t) {
- var e = u(n, 1), r = u(t, 1);
- return e !== r ? e - r : 0 === e ? t[1] - n[1] : 1 === e ? n[0] - t[0] : 2 === e ? n[1] - t[1] : t[0] - n[0]
- }
-
- return function (a) {
- function c(n) {
- for (var t = 0, e = d.length, r = n[1], u = 0; e > u; ++u)for (var i, o = 1, a = d[u], c = a.length, l = a[0]; c > o; ++o)i = a[o], l[1] <= r ? i[1] > r && K(l, i, n) > 0 && ++t : i[1] <= r && K(l, i, n) < 0 && --t, l = i;
- return 0 !== t
- }
-
- function l(i, a, c, l) {
- var s = 0, f = 0;
- if (null == i || (s = u(i, c)) !== (f = u(a, c)) || o(i, a) < 0 ^ c > 0) {
- do l.point(0 === s || 3 === s ? n : e, s > 1 ? r : t); while ((s = (s + c + 4) % 4) !== f)
- } else l.point(a[0], a[1])
- }
-
- function s(u, i) {
- return u >= n && e >= u && i >= t && r >= i
- }
-
- function f(n, t) {
- s(n, t) && a.point(n, t)
- }
-
- function h() {
- N.point = p, d && d.push(m = []), S = !0, w = !1, _ = b = 0 / 0
- }
-
- function g() {
- v && (p(y, x), M && w && A.rejoin(), v.push(A.buffer())), N.point = f, w && a.lineEnd()
- }
-
- function p(n, t) {
- n = Math.max(-Nc, Math.min(Nc, n)), t = Math.max(-Nc, Math.min(Nc, t));
- var e = s(n, t);
- if (d && m.push([n, t]), S)y = n, x = t, M = e, S = !1, e && (a.lineStart(), a.point(n, t)); else if (e && w)a.point(n, t); else {
- var r = {a: {x: _, y: b}, b: {x: n, y: t}};
- C(r) ? (w || (a.lineStart(), a.point(r.a.x, r.a.y)), a.point(r.b.x, r.b.y), e || a.lineEnd(), k = !1) : e && (a.lineStart(), a.point(n, t), k = !1)
- }
- _ = n, b = t, w = e
- }
-
- var v, d, m, y, x, M, _, b, w, S, k, E = a, A = qe(), C = He(n, t, e, r), N = {
- point: f,
- lineStart: h,
- lineEnd: g,
- polygonStart: function () {
- a = A, v = [], d = [], k = !0
- },
- polygonEnd: function () {
- a = E, v = Bo.merge(v);
- var t = c([n, r]), e = k && t, u = v.length;
- (e || u) && (a.polygonStart(), e && (a.lineStart(), l(null, null, 1, a), a.lineEnd()), u && Ce(v, i, t, l, a), a.polygonEnd()), v = d = m = null
- }
- };
- return N
- }
- }
-
- function Ye(n, t) {
- function e(e, r) {
- return e = n(e, r), t(e[0], e[1])
- }
-
- return n.invert && t.invert && (e.invert = function (e, r) {
- return e = t.invert(e, r), e && n.invert(e[0], e[1])
- }), e
- }
-
- function Ie(n) {
- var t = 0, e = Ea / 3, r = ir(n), u = r(t, e);
- return u.parallels = function (n) {
- return arguments.length ? r(t = n[0] * Ea / 180, e = n[1] * Ea / 180) : [180 * (t / Ea), 180 * (e / Ea)]
- }, u
- }
-
- function Ze(n, t) {
- function e(n, t) {
- var e = Math.sqrt(i - 2 * u * Math.sin(t)) / u;
- return [e * Math.sin(n *= u), o - e * Math.cos(n)]
- }
-
- var r = Math.sin(n), u = (r + Math.sin(t)) / 2, i = 1 + r * (2 * u - r), o = Math.sqrt(i) / u;
- return e.invert = function (n, t) {
- var e = o - t;
- return [Math.atan2(n, e) / u, nt((i - (n * n + e * e) * u * u) / (2 * u))]
- }, e
- }
-
- function Ve() {
- function n(n, t) {
- Lc += u * n - r * t, r = n, u = t
- }
-
- var t, e, r, u;
- Pc.point = function (i, o) {
- Pc.point = n, t = r = i, e = u = o
- }, Pc.lineEnd = function () {
- n(t, e)
- }
- }
-
- function Xe(n, t) {
- Tc > n && (Tc = n), n > Rc && (Rc = n), qc > t && (qc = t), t > Dc && (Dc = t)
- }
-
- function $e() {
- function n(n, t) {
- o.push("M", n, ",", t, i)
- }
-
- function t(n, t) {
- o.push("M", n, ",", t), a.point = e
- }
-
- function e(n, t) {
- o.push("L", n, ",", t)
- }
-
- function r() {
- a.point = n
- }
-
- function u() {
- o.push("Z")
- }
-
- var i = Be(4.5), o = [], a = {
- point: n, lineStart: function () {
- a.point = t
- }, lineEnd: r, polygonStart: function () {
- a.lineEnd = u
- }, polygonEnd: function () {
- a.lineEnd = r, a.point = n
- }, pointRadius: function (n) {
- return i = Be(n), a
- }, result: function () {
- if (o.length) {
- var n = o.join("");
- return o = [], n
- }
- }
- };
- return a
- }
-
- function Be(n) {
- return "m0," + n + "a" + n + "," + n + " 0 1,1 0," + -2 * n + "a" + n + "," + n + " 0 1,1 0," + 2 * n + "z"
- }
-
- function We(n, t) {
- yc += n, xc += t, ++Mc
- }
-
- function Je() {
- function n(n, r) {
- var u = n - t, i = r - e, o = Math.sqrt(u * u + i * i);
- _c += o * (t + n) / 2, bc += o * (e + r) / 2, wc += o, We(t = n, e = r)
- }
-
- var t, e;
- jc.point = function (r, u) {
- jc.point = n, We(t = r, e = u)
- }
- }
-
- function Ge() {
- jc.point = We
- }
-
- function Ke() {
- function n(n, t) {
- var e = n - r, i = t - u, o = Math.sqrt(e * e + i * i);
- _c += o * (r + n) / 2, bc += o * (u + t) / 2, wc += o, o = u * n - r * t, Sc += o * (r + n), kc += o * (u + t), Ec += 3 * o, We(r = n, u = t)
- }
-
- var t, e, r, u;
- jc.point = function (i, o) {
- jc.point = n, We(t = r = i, e = u = o)
- }, jc.lineEnd = function () {
- n(t, e)
- }
- }
-
- function Qe(n) {
- function t(t, e) {
- n.moveTo(t, e), n.arc(t, e, o, 0, Aa)
- }
-
- function e(t, e) {
- n.moveTo(t, e), a.point = r
- }
-
- function r(t, e) {
- n.lineTo(t, e)
- }
-
- function u() {
- a.point = t
- }
-
- function i() {
- n.closePath()
- }
-
- var o = 4.5, a = {
- point: t, lineStart: function () {
- a.point = e
- }, lineEnd: u, polygonStart: function () {
- a.lineEnd = i
- }, polygonEnd: function () {
- a.lineEnd = u, a.point = t
- }, pointRadius: function (n) {
- return o = n, a
- }, result: y
- };
- return a
- }
-
- function nr(n) {
- function t(n) {
- return (a ? r : e)(n)
- }
-
- function e(t) {
- return rr(t, function (e, r) {
- e = n(e, r), t.point(e[0], e[1])
- })
- }
-
- function r(t) {
- function e(e, r) {
- e = n(e, r), t.point(e[0], e[1])
- }
-
- function r() {
- x = 0 / 0, S.point = i, t.lineStart()
- }
-
- function i(e, r) {
- var i = pe([e, r]), o = n(e, r);
- u(x, M, y, _, b, w, x = o[0], M = o[1], y = e, _ = i[0], b = i[1], w = i[2], a, t), t.point(x, M)
- }
-
- function o() {
- S.point = e, t.lineEnd()
- }
-
- function c() {
- r(), S.point = l, S.lineEnd = s
- }
-
- function l(n, t) {
- i(f = n, h = t), g = x, p = M, v = _, d = b, m = w, S.point = i
- }
-
- function s() {
- u(x, M, y, _, b, w, g, p, f, v, d, m, a, t), S.lineEnd = o, o()
- }
-
- var f, h, g, p, v, d, m, y, x, M, _, b, w, S = {
- point: e,
- lineStart: r,
- lineEnd: o,
- polygonStart: function () {
- t.polygonStart(), S.lineStart = c
- },
- polygonEnd: function () {
- t.polygonEnd(), S.lineStart = r
- }
- };
- return S
- }
-
- function u(t, e, r, a, c, l, s, f, h, g, p, v, d, m) {
- var y = s - t, x = f - e, M = y * y + x * x;
- if (M > 4 * i && d--) {
- var _ = a + g, b = c + p, w = l + v, S = Math.sqrt(_ * _ + b * b + w * w), k = Math.asin(w /= S), E = ca(ca(w) - 1) < Na || ca(r - h) < Na ? (r + h) / 2 : Math.atan2(b, _), A = n(E, k), C = A[0], N = A[1], z = C - t, L = N - e, T = x * z - y * L;
- (T * T / M > i || ca((y * z + x * L) / M - .5) > .3 || o > a * g + c * p + l * v) && (u(t, e, r, a, c, l, C, N, E, _ /= S, b /= S, w, d, m), m.point(C, N), u(C, N, E, _, b, w, s, f, h, g, p, v, d, m))
- }
- }
-
- var i = .5, o = Math.cos(30 * La), a = 16;
- return t.precision = function (n) {
- return arguments.length ? (a = (i = n * n) > 0 && 16, t) : Math.sqrt(i)
- }, t
- }
-
- function tr(n) {
- var t = nr(function (t, e) {
- return n([t * Ta, e * Ta])
- });
- return function (n) {
- return or(t(n))
- }
- }
-
- function er(n) {
- this.stream = n
- }
-
- function rr(n, t) {
- return {
- point: t, sphere: function () {
- n.sphere()
- }, lineStart: function () {
- n.lineStart()
- }, lineEnd: function () {
- n.lineEnd()
- }, polygonStart: function () {
- n.polygonStart()
- }, polygonEnd: function () {
- n.polygonEnd()
- }
- }
- }
-
- function ur(n) {
- return ir(function () {
- return n
- })()
- }
-
- function ir(n) {
- function t(n) {
- return n = a(n[0] * La, n[1] * La), [n[0] * h + c, l - n[1] * h]
- }
-
- function e(n) {
- return n = a.invert((n[0] - c) / h, (l - n[1]) / h), n && [n[0] * Ta, n[1] * Ta]
- }
-
- function r() {
- a = Ye(o = lr(m, y, x), i);
- var n = i(v, d);
- return c = g - n[0] * h, l = p + n[1] * h, u()
- }
-
- function u() {
- return s && (s.valid = !1, s = null), t
- }
-
- var i, o, a, c, l, s, f = nr(function (n, t) {
- return n = i(n, t), [n[0] * h + c, l - n[1] * h]
- }), h = 150, g = 480, p = 250, v = 0, d = 0, m = 0, y = 0, x = 0, M = Cc, _ = Et, b = null, w = null;
- return t.stream = function (n) {
- return s && (s.valid = !1), s = or(M(o, f(_(n)))), s.valid = !0, s
- }, t.clipAngle = function (n) {
- return arguments.length ? (M = null == n ? (b = n, Cc) : Fe((b = +n) * La), u()) : b
- }, t.clipExtent = function (n) {
- return arguments.length ? (w = n, _ = n ? Oe(n[0][0], n[0][1], n[1][0], n[1][1]) : Et, u()) : w
- }, t.scale = function (n) {
- return arguments.length ? (h = +n, r()) : h
- }, t.translate = function (n) {
- return arguments.length ? (g = +n[0], p = +n[1], r()) : [g, p]
- }, t.center = function (n) {
- return arguments.length ? (v = n[0] % 360 * La, d = n[1] % 360 * La, r()) : [v * Ta, d * Ta]
- }, t.rotate = function (n) {
- return arguments.length ? (m = n[0] % 360 * La, y = n[1] % 360 * La, x = n.length > 2 ? n[2] % 360 * La : 0, r()) : [m * Ta, y * Ta, x * Ta]
- }, Bo.rebind(t, f, "precision"), function () {
- return i = n.apply(this, arguments), t.invert = i.invert && e, r()
- }
- }
-
- function or(n) {
- return rr(n, function (t, e) {
- n.point(t * La, e * La)
- })
- }
-
- function ar(n, t) {
- return [n, t]
- }
-
- function cr(n, t) {
- return [n > Ea ? n - Aa : -Ea > n ? n + Aa : n, t]
- }
-
- function lr(n, t, e) {
- return n ? t || e ? Ye(fr(n), hr(t, e)) : fr(n) : t || e ? hr(t, e) : cr
- }
-
- function sr(n) {
- return function (t, e) {
- return t += n, [t > Ea ? t - Aa : -Ea > t ? t + Aa : t, e]
- }
- }
-
- function fr(n) {
- var t = sr(n);
- return t.invert = sr(-n), t
- }
-
- function hr(n, t) {
- function e(n, t) {
- var e = Math.cos(t), a = Math.cos(n) * e, c = Math.sin(n) * e, l = Math.sin(t), s = l * r + a * u;
- return [Math.atan2(c * i - s * o, a * r - l * u), nt(s * i + c * o)]
- }
-
- var r = Math.cos(n), u = Math.sin(n), i = Math.cos(t), o = Math.sin(t);
- return e.invert = function (n, t) {
- var e = Math.cos(t), a = Math.cos(n) * e, c = Math.sin(n) * e, l = Math.sin(t), s = l * i - c * o;
- return [Math.atan2(c * i + l * o, a * r + s * u), nt(s * r - a * u)]
- }, e
- }
-
- function gr(n, t) {
- var e = Math.cos(n), r = Math.sin(n);
- return function (u, i, o, a) {
- var c = o * t;
- null != u ? (u = pr(e, u), i = pr(e, i), (o > 0 ? i > u : u > i) && (u += o * Aa)) : (u = n + o * Aa, i = n - .5 * c);
- for (var l, s = u; o > 0 ? s > i : i > s; s -= c)a.point((l = Me([e, -r * Math.cos(s), -r * Math.sin(s)]))[0], l[1])
- }
- }
-
- function pr(n, t) {
- var e = pe(t);
- e[0] -= n, xe(e);
- var r = Q(-e[1]);
- return ((-e[2] < 0 ? -r : r) + 2 * Math.PI - Na) % (2 * Math.PI)
- }
-
- function vr(n, t, e) {
- var r = Bo.range(n, t - Na, e).concat(t);
- return function (n) {
- return r.map(function (t) {
- return [n, t]
- })
- }
- }
-
- function dr(n, t, e) {
- var r = Bo.range(n, t - Na, e).concat(t);
- return function (n) {
- return r.map(function (t) {
- return [t, n]
- })
- }
- }
-
- function mr(n) {
- return n.source
- }
-
- function yr(n) {
- return n.target
- }
-
- function xr(n, t, e, r) {
- var u = Math.cos(t), i = Math.sin(t), o = Math.cos(r), a = Math.sin(r), c = u * Math.cos(n), l = u * Math.sin(n), s = o * Math.cos(e), f = o * Math.sin(e), h = 2 * Math.asin(Math.sqrt(ut(r - t) + u * o * ut(e - n))), g = 1 / Math.sin(h), p = h ? function (n) {
- var t = Math.sin(n *= h) * g, e = Math.sin(h - n) * g, r = e * c + t * s, u = e * l + t * f, o = e * i + t * a;
- return [Math.atan2(u, r) * Ta, Math.atan2(o, Math.sqrt(r * r + u * u)) * Ta]
- } : function () {
- return [n * Ta, t * Ta]
- };
- return p.distance = h, p
- }
-
- function Mr() {
- function n(n, u) {
- var i = Math.sin(u *= La), o = Math.cos(u), a = ca((n *= La) - t), c = Math.cos(a);
- Fc += Math.atan2(Math.sqrt((a = o * Math.sin(a)) * a + (a = r * i - e * o * c) * a), e * i + r * o * c), t = n, e = i, r = o
- }
-
- var t, e, r;
- Hc.point = function (u, i) {
- t = u * La, e = Math.sin(i *= La), r = Math.cos(i), Hc.point = n
- }, Hc.lineEnd = function () {
- Hc.point = Hc.lineEnd = y
- }
- }
-
- function _r(n, t) {
- function e(t, e) {
- var r = Math.cos(t), u = Math.cos(e), i = n(r * u);
- return [i * u * Math.sin(t), i * Math.sin(e)]
- }
-
- return e.invert = function (n, e) {
- var r = Math.sqrt(n * n + e * e), u = t(r), i = Math.sin(u), o = Math.cos(u);
- return [Math.atan2(n * i, r * o), Math.asin(r && e * i / r)]
- }, e
- }
-
- function br(n, t) {
- function e(n, t) {
- o > 0 ? -Ca + Na > t && (t = -Ca + Na) : t > Ca - Na && (t = Ca - Na);
- var e = o / Math.pow(u(t), i);
- return [e * Math.sin(i * n), o - e * Math.cos(i * n)]
- }
-
- var r = Math.cos(n), u = function (n) {
- return Math.tan(Ea / 4 + n / 2)
- }, i = n === t ? Math.sin(n) : Math.log(r / Math.cos(t)) / Math.log(u(t) / u(n)), o = r * Math.pow(u(n), i) / i;
- return i ? (e.invert = function (n, t) {
- var e = o - t, r = G(i) * Math.sqrt(n * n + e * e);
- return [Math.atan2(n, e) / i, 2 * Math.atan(Math.pow(o / r, 1 / i)) - Ca]
- }, e) : Sr
- }
-
- function wr(n, t) {
- function e(n, t) {
- var e = i - t;
- return [e * Math.sin(u * n), i - e * Math.cos(u * n)]
- }
-
- var r = Math.cos(n), u = n === t ? Math.sin(n) : (r - Math.cos(t)) / (t - n), i = r / u + n;
- return ca(u) < Na ? ar : (e.invert = function (n, t) {
- var e = i - t;
- return [Math.atan2(n, e) / u, i - G(u) * Math.sqrt(n * n + e * e)]
- }, e)
- }
-
- function Sr(n, t) {
- return [n, Math.log(Math.tan(Ea / 4 + t / 2))]
- }
-
- function kr(n) {
- var t, e = ur(n), r = e.scale, u = e.translate, i = e.clipExtent;
- return e.scale = function () {
- var n = r.apply(e, arguments);
- return n === e ? t ? e.clipExtent(null) : e : n
- }, e.translate = function () {
- var n = u.apply(e, arguments);
- return n === e ? t ? e.clipExtent(null) : e : n
- }, e.clipExtent = function (n) {
- var o = i.apply(e, arguments);
- if (o === e) {
- if (t = null == n) {
- var a = Ea * r(), c = u();
- i([[c[0] - a, c[1] - a], [c[0] + a, c[1] + a]])
- }
- } else t && (o = null);
- return o
- }, e.clipExtent(null)
- }
-
- function Er(n, t) {
- return [Math.log(Math.tan(Ea / 4 + t / 2)), -n]
- }
-
- function Ar(n) {
- return n[0]
- }
-
- function Cr(n) {
- return n[1]
- }
-
- function Nr(n) {
- for (var t = n.length, e = [0, 1], r = 2, u = 2; t > u; u++) {
- for (; r > 1 && K(n[e[r - 2]], n[e[r - 1]], n[u]) <= 0;)--r;
- e[r++] = u
- }
- return e.slice(0, r)
- }
-
- function zr(n, t) {
- return n[0] - t[0] || n[1] - t[1]
- }
-
- function Lr(n, t, e) {
- return (e[0] - t[0]) * (n[1] - t[1]) < (e[1] - t[1]) * (n[0] - t[0])
- }
-
- function Tr(n, t, e, r) {
- var u = n[0], i = e[0], o = t[0] - u, a = r[0] - i, c = n[1], l = e[1], s = t[1] - c, f = r[1] - l, h = (a * (c - l) - f * (u - i)) / (f * o - a * s);
- return [u + h * o, c + h * s]
- }
-
- function qr(n) {
- var t = n[0], e = n[n.length - 1];
- return !(t[0] - e[0] || t[1] - e[1])
- }
-
- function Rr() {
- tu(this), this.edge = this.site = this.circle = null
- }
-
- function Dr(n) {
- var t = Kc.pop() || new Rr;
- return t.site = n, t
- }
-
- function Pr(n) {
- Xr(n), Wc.remove(n), Kc.push(n), tu(n)
- }
-
- function Ur(n) {
- var t = n.circle, e = t.x, r = t.cy, u = {x: e, y: r}, i = n.P, o = n.N, a = [n];
- Pr(n);
- for (var c = i; c.circle && ca(e - c.circle.x) < Na && ca(r - c.circle.cy) < Na;)i = c.P, a.unshift(c), Pr(c), c = i;
- a.unshift(c), Xr(c);
- for (var l = o; l.circle && ca(e - l.circle.x) < Na && ca(r - l.circle.cy) < Na;)o = l.N, a.push(l), Pr(l), l = o;
- a.push(l), Xr(l);
- var s, f = a.length;
- for (s = 1; f > s; ++s)l = a[s], c = a[s - 1], Kr(l.edge, c.site, l.site, u);
- c = a[0], l = a[f - 1], l.edge = Jr(c.site, l.site, null, u), Vr(c), Vr(l)
- }
-
- function jr(n) {
- for (var t, e, r, u, i = n.x, o = n.y, a = Wc._; a;)if (r = Fr(a, o) - i, r > Na)a = a.L; else {
- if (u = i - Hr(a, o), !(u > Na)) {
- r > -Na ? (t = a.P, e = a) : u > -Na ? (t = a, e = a.N) : t = e = a;
- break
- }
- if (!a.R) {
- t = a;
- break
- }
- a = a.R
- }
- var c = Dr(n);
- if (Wc.insert(t, c), t || e) {
- if (t === e)return Xr(t), e = Dr(t.site), Wc.insert(c, e), c.edge = e.edge = Jr(t.site, c.site), Vr(t), Vr(e), void 0;
- if (!e)return c.edge = Jr(t.site, c.site), void 0;
- Xr(t), Xr(e);
- var l = t.site, s = l.x, f = l.y, h = n.x - s, g = n.y - f, p = e.site, v = p.x - s, d = p.y - f, m = 2 * (h * d - g * v), y = h * h + g * g, x = v * v + d * d, M = {
- x: (d * y - g * x) / m + s,
- y: (h * x - v * y) / m + f
- };
- Kr(e.edge, l, p, M), c.edge = Jr(l, n, null, M), e.edge = Jr(n, p, null, M), Vr(t), Vr(e)
- }
- }
-
- function Fr(n, t) {
- var e = n.site, r = e.x, u = e.y, i = u - t;
- if (!i)return r;
- var o = n.P;
- if (!o)return -1 / 0;
- e = o.site;
- var a = e.x, c = e.y, l = c - t;
- if (!l)return a;
- var s = a - r, f = 1 / i - 1 / l, h = s / l;
- return f ? (-h + Math.sqrt(h * h - 2 * f * (s * s / (-2 * l) - c + l / 2 + u - i / 2))) / f + r : (r + a) / 2
- }
-
- function Hr(n, t) {
- var e = n.N;
- if (e)return Fr(e, t);
- var r = n.site;
- return r.y === t ? r.x : 1 / 0
- }
-
- function Or(n) {
- this.site = n, this.edges = []
- }
-
- function Yr(n) {
- for (var t, e, r, u, i, o, a, c, l, s, f = n[0][0], h = n[1][0], g = n[0][1], p = n[1][1], v = Bc, d = v.length; d--;)if (i = v[d], i && i.prepare())for (a = i.edges, c = a.length, o = 0; c > o;)s = a[o].end(), r = s.x, u = s.y, l = a[++o % c].start(), t = l.x, e = l.y, (ca(r - t) > Na || ca(u - e) > Na) && (a.splice(o, 0, new Qr(Gr(i.site, s, ca(r - f) < Na && p - u > Na ? {
- x: f,
- y: ca(t - f) < Na ? e : p
- } : ca(u - p) < Na && h - r > Na ? {x: ca(e - p) < Na ? t : h, y: p} : ca(r - h) < Na && u - g > Na ? {
- x: h,
- y: ca(t - h) < Na ? e : g
- } : ca(u - g) < Na && r - f > Na ? {x: ca(e - g) < Na ? t : f, y: g} : null), i.site, null)), ++c)
- }
-
- function Ir(n, t) {
- return t.angle - n.angle
- }
-
- function Zr() {
- tu(this), this.x = this.y = this.arc = this.site = this.cy = null
- }
-
- function Vr(n) {
- var t = n.P, e = n.N;
- if (t && e) {
- var r = t.site, u = n.site, i = e.site;
- if (r !== i) {
- var o = u.x, a = u.y, c = r.x - o, l = r.y - a, s = i.x - o, f = i.y - a, h = 2 * (c * f - l * s);
- if (!(h >= -za)) {
- var g = c * c + l * l, p = s * s + f * f, v = (f * g - l * p) / h, d = (c * p - s * g) / h, f = d + a, m = Qc.pop() || new Zr;
- m.arc = n, m.site = u, m.x = v + o, m.y = f + Math.sqrt(v * v + d * d), m.cy = f, n.circle = m;
- for (var y = null, x = Gc._; x;)if (m.y < x.y || m.y === x.y && m.x <= x.x) {
- if (!x.L) {
- y = x.P;
- break
- }
- x = x.L
- } else {
- if (!x.R) {
- y = x;
- break
- }
- x = x.R
- }
- Gc.insert(y, m), y || (Jc = m)
- }
- }
- }
- }
-
- function Xr(n) {
- var t = n.circle;
- t && (t.P || (Jc = t.N), Gc.remove(t), Qc.push(t), tu(t), n.circle = null)
- }
-
- function $r(n) {
- for (var t, e = $c, r = He(n[0][0], n[0][1], n[1][0], n[1][1]), u = e.length; u--;)t = e[u], (!Br(t, n) || !r(t) || ca(t.a.x - t.b.x) < Na && ca(t.a.y - t.b.y) < Na) && (t.a = t.b = null, e.splice(u, 1))
- }
-
- function Br(n, t) {
- var e = n.b;
- if (e)return !0;
- var r, u, i = n.a, o = t[0][0], a = t[1][0], c = t[0][1], l = t[1][1], s = n.l, f = n.r, h = s.x, g = s.y, p = f.x, v = f.y, d = (h + p) / 2, m = (g + v) / 2;
- if (v === g) {
- if (o > d || d >= a)return;
- if (h > p) {
- if (i) {
- if (i.y >= l)return
- } else i = {x: d, y: c};
- e = {x: d, y: l}
- } else {
- if (i) {
- if (i.y < c)return
- } else i = {x: d, y: l};
- e = {x: d, y: c}
- }
- } else if (r = (h - p) / (v - g), u = m - r * d, -1 > r || r > 1)if (h > p) {
- if (i) {
- if (i.y >= l)return
- } else i = {x: (c - u) / r, y: c};
- e = {x: (l - u) / r, y: l}
- } else {
- if (i) {
- if (i.y < c)return
- } else i = {x: (l - u) / r, y: l};
- e = {x: (c - u) / r, y: c}
- } else if (v > g) {
- if (i) {
- if (i.x >= a)return
- } else i = {x: o, y: r * o + u};
- e = {x: a, y: r * a + u}
- } else {
- if (i) {
- if (i.x < o)return
- } else i = {x: a, y: r * a + u};
- e = {x: o, y: r * o + u}
- }
- return n.a = i, n.b = e, !0
- }
-
- function Wr(n, t) {
- this.l = n, this.r = t, this.a = this.b = null
- }
-
- function Jr(n, t, e, r) {
- var u = new Wr(n, t);
- return $c.push(u), e && Kr(u, n, t, e), r && Kr(u, t, n, r), Bc[n.i].edges.push(new Qr(u, n, t)), Bc[t.i].edges.push(new Qr(u, t, n)), u
- }
-
- function Gr(n, t, e) {
- var r = new Wr(n, null);
- return r.a = t, r.b = e, $c.push(r), r
- }
-
- function Kr(n, t, e, r) {
- n.a || n.b ? n.l === e ? n.b = r : n.a = r : (n.a = r, n.l = t, n.r = e)
- }
-
- function Qr(n, t, e) {
- var r = n.a, u = n.b;
- this.edge = n, this.site = t, this.angle = e ? Math.atan2(e.y - t.y, e.x - t.x) : n.l === t ? Math.atan2(u.x - r.x, r.y - u.y) : Math.atan2(r.x - u.x, u.y - r.y)
- }
-
- function nu() {
- this._ = null
- }
-
- function tu(n) {
- n.U = n.C = n.L = n.R = n.P = n.N = null
- }
-
- function eu(n, t) {
- var e = t, r = t.R, u = e.U;
- u ? u.L === e ? u.L = r : u.R = r : n._ = r, r.U = u, e.U = r, e.R = r.L, e.R && (e.R.U = e), r.L = e
- }
-
- function ru(n, t) {
- var e = t, r = t.L, u = e.U;
- u ? u.L === e ? u.L = r : u.R = r : n._ = r, r.U = u, e.U = r, e.L = r.R, e.L && (e.L.U = e), r.R = e
- }
-
- function uu(n) {
- for (; n.L;)n = n.L;
- return n
- }
-
- function iu(n, t) {
- var e, r, u, i = n.sort(ou).pop();
- for ($c = [], Bc = new Array(n.length), Wc = new nu, Gc = new nu; ;)if (u = Jc, i && (!u || i.y < u.y || i.y === u.y && i.x < u.x))(i.x !== e || i.y !== r) && (Bc[i.i] = new Or(i), jr(i), e = i.x, r = i.y), i = n.pop(); else {
- if (!u)break;
- Ur(u.arc)
- }
- t && ($r(t), Yr(t));
- var o = {cells: Bc, edges: $c};
- return Wc = Gc = $c = Bc = null, o
- }
-
- function ou(n, t) {
- return t.y - n.y || t.x - n.x
- }
-
- function au(n, t, e) {
- return (n.x - e.x) * (t.y - n.y) - (n.x - t.x) * (e.y - n.y)
- }
-
- function cu(n) {
- return n.x
- }
-
- function lu(n) {
- return n.y
- }
-
- function su() {
- return {leaf: !0, nodes: [], point: null, x: null, y: null}
- }
-
- function fu(n, t, e, r, u, i) {
- if (!n(t, e, r, u, i)) {
- var o = .5 * (e + u), a = .5 * (r + i), c = t.nodes;
- c[0] && fu(n, c[0], e, r, o, a), c[1] && fu(n, c[1], o, r, u, a), c[2] && fu(n, c[2], e, a, o, i), c[3] && fu(n, c[3], o, a, u, i)
- }
- }
-
- function hu(n, t) {
- n = Bo.rgb(n), t = Bo.rgb(t);
- var e = n.r, r = n.g, u = n.b, i = t.r - e, o = t.g - r, a = t.b - u;
- return function (n) {
- return "#" + xt(Math.round(e + i * n)) + xt(Math.round(r + o * n)) + xt(Math.round(u + a * n))
- }
- }
-
- function gu(n, t) {
- var e, r = {}, u = {};
- for (e in n)e in t ? r[e] = du(n[e], t[e]) : u[e] = n[e];
- for (e in t)e in n || (u[e] = t[e]);
- return function (n) {
- for (e in r)u[e] = r[e](n);
- return u
- }
- }
-
- function pu(n, t) {
- return n = +n, t = +t, function (e) {
- return n * (1 - e) + t * e
- }
- }
-
- function vu(n, t) {
- var e, r, u, i = tl.lastIndex = el.lastIndex = 0, o = -1, a = [], c = [];
- for (n += "", t += ""; (e = tl.exec(n)) && (r = el.exec(t));)(u = r.index) > i && (u = t.slice(i, u), a[o] ? a[o] += u : a[++o] = u), (e = e[0]) === (r = r[0]) ? a[o] ? a[o] += r : a[++o] = r : (a[++o] = null, c.push({
- i: o,
- x: pu(e, r)
- })), i = el.lastIndex;
- return i < t.length && (u = t.slice(i), a[o] ? a[o] += u : a[++o] = u), a.length < 2 ? c[0] ? (t = c[0].x, function (n) {
- return t(n) + ""
- }) : function () {
- return t
- } : (t = c.length, function (n) {
- for (var e, r = 0; t > r; ++r)a[(e = c[r]).i] = e.x(n);
- return a.join("")
- })
- }
-
- function du(n, t) {
- for (var e, r = Bo.interpolators.length; --r >= 0 && !(e = Bo.interpolators[r](n, t)););
- return e
- }
-
- function mu(n, t) {
- var e, r = [], u = [], i = n.length, o = t.length, a = Math.min(n.length, t.length);
- for (e = 0; a > e; ++e)r.push(du(n[e], t[e]));
- for (; i > e; ++e)u[e] = n[e];
- for (; o > e; ++e)u[e] = t[e];
- return function (n) {
- for (e = 0; a > e; ++e)u[e] = r[e](n);
- return u
- }
- }
-
- function yu(n) {
- return function (t) {
- return 0 >= t ? 0 : t >= 1 ? 1 : n(t)
- }
- }
-
- function xu(n) {
- return function (t) {
- return 1 - n(1 - t)
- }
- }
-
- function Mu(n) {
- return function (t) {
- return .5 * (.5 > t ? n(2 * t) : 2 - n(2 - 2 * t))
- }
- }
-
- function _u(n) {
- return n * n
- }
-
- function bu(n) {
- return n * n * n
- }
-
- function wu(n) {
- if (0 >= n)return 0;
- if (n >= 1)return 1;
- var t = n * n, e = t * n;
- return 4 * (.5 > n ? e : 3 * (n - t) + e - .75)
- }
-
- function Su(n) {
- return function (t) {
- return Math.pow(t, n)
- }
- }
-
- function ku(n) {
- return 1 - Math.cos(n * Ca)
- }
-
- function Eu(n) {
- return Math.pow(2, 10 * (n - 1))
- }
-
- function Au(n) {
- return 1 - Math.sqrt(1 - n * n)
- }
-
- function Cu(n, t) {
- var e;
- return arguments.length < 2 && (t = .45), arguments.length ? e = t / Aa * Math.asin(1 / n) : (n = 1, e = t / 4), function (r) {
- return 1 + n * Math.pow(2, -10 * r) * Math.sin((r - e) * Aa / t)
- }
- }
-
- function Nu(n) {
- return n || (n = 1.70158), function (t) {
- return t * t * ((n + 1) * t - n)
- }
- }
-
- function zu(n) {
- return 1 / 2.75 > n ? 7.5625 * n * n : 2 / 2.75 > n ? 7.5625 * (n -= 1.5 / 2.75) * n + .75 : 2.5 / 2.75 > n ? 7.5625 * (n -= 2.25 / 2.75) * n + .9375 : 7.5625 * (n -= 2.625 / 2.75) * n + .984375
- }
-
- function Lu(n, t) {
- n = Bo.hcl(n), t = Bo.hcl(t);
- var e = n.h, r = n.c, u = n.l, i = t.h - e, o = t.c - r, a = t.l - u;
- return isNaN(o) && (o = 0, r = isNaN(r) ? t.c : r), isNaN(i) ? (i = 0, e = isNaN(e) ? t.h : e) : i > 180 ? i -= 360 : -180 > i && (i += 360), function (n) {
- return lt(e + i * n, r + o * n, u + a * n) + ""
- }
- }
-
- function Tu(n, t) {
- n = Bo.hsl(n), t = Bo.hsl(t);
- var e = n.h, r = n.s, u = n.l, i = t.h - e, o = t.s - r, a = t.l - u;
- return isNaN(o) && (o = 0, r = isNaN(r) ? t.s : r), isNaN(i) ? (i = 0, e = isNaN(e) ? t.h : e) : i > 180 ? i -= 360 : -180 > i && (i += 360), function (n) {
- return at(e + i * n, r + o * n, u + a * n) + ""
- }
- }
-
- function qu(n, t) {
- n = Bo.lab(n), t = Bo.lab(t);
- var e = n.l, r = n.a, u = n.b, i = t.l - e, o = t.a - r, a = t.b - u;
- return function (n) {
- return ft(e + i * n, r + o * n, u + a * n) + ""
- }
- }
-
- function Ru(n, t) {
- return t -= n, function (e) {
- return Math.round(n + t * e)
- }
- }
-
- function Du(n) {
- var t = [n.a, n.b], e = [n.c, n.d], r = Uu(t), u = Pu(t, e), i = Uu(ju(e, t, -u)) || 0;
- t[0] * e[1] < e[0] * t[1] && (t[0] *= -1, t[1] *= -1, r *= -1, u *= -1), this.rotate = (r ? Math.atan2(t[1], t[0]) : Math.atan2(-e[0], e[1])) * Ta, this.translate = [n.e, n.f], this.scale = [r, i], this.skew = i ? Math.atan2(u, i) * Ta : 0
- }
-
- function Pu(n, t) {
- return n[0] * t[0] + n[1] * t[1]
- }
-
- function Uu(n) {
- var t = Math.sqrt(Pu(n, n));
- return t && (n[0] /= t, n[1] /= t), t
- }
-
- function ju(n, t, e) {
- return n[0] += e * t[0], n[1] += e * t[1], n
- }
-
- function Fu(n, t) {
- var e, r = [], u = [], i = Bo.transform(n), o = Bo.transform(t), a = i.translate, c = o.translate, l = i.rotate, s = o.rotate, f = i.skew, h = o.skew, g = i.scale, p = o.scale;
- return a[0] != c[0] || a[1] != c[1] ? (r.push("translate(", null, ",", null, ")"), u.push({
- i: 1,
- x: pu(a[0], c[0])
- }, {
- i: 3,
- x: pu(a[1], c[1])
- })) : c[0] || c[1] ? r.push("translate(" + c + ")") : r.push(""), l != s ? (l - s > 180 ? s += 360 : s - l > 180 && (l += 360), u.push({
- i: r.push(r.pop() + "rotate(", null, ")") - 2,
- x: pu(l, s)
- })) : s && r.push(r.pop() + "rotate(" + s + ")"), f != h ? u.push({
- i: r.push(r.pop() + "skewX(", null, ")") - 2,
- x: pu(f, h)
- }) : h && r.push(r.pop() + "skewX(" + h + ")"), g[0] != p[0] || g[1] != p[1] ? (e = r.push(r.pop() + "scale(", null, ",", null, ")"), u.push({
- i: e - 4,
- x: pu(g[0], p[0])
- }, {
- i: e - 2,
- x: pu(g[1], p[1])
- })) : (1 != p[0] || 1 != p[1]) && r.push(r.pop() + "scale(" + p + ")"), e = u.length, function (n) {
- for (var t, i = -1; ++i < e;)r[(t = u[i]).i] = t.x(n);
- return r.join("")
- }
- }
-
- function Hu(n, t) {
- return t = (t -= n = +n) || 1 / t, function (e) {
- return (e - n) / t
- }
- }
-
- function Ou(n, t) {
- return t = (t -= n = +n) || 1 / t, function (e) {
- return Math.max(0, Math.min(1, (e - n) / t))
- }
- }
-
- function Yu(n) {
- for (var t = n.source, e = n.target, r = Zu(t, e), u = [t]; t !== r;)t = t.parent, u.push(t);
- for (var i = u.length; e !== r;)u.splice(i, 0, e), e = e.parent;
- return u
- }
-
- function Iu(n) {
- for (var t = [], e = n.parent; null != e;)t.push(n), n = e, e = e.parent;
- return t.push(n), t
- }
-
- function Zu(n, t) {
- if (n === t)return n;
- for (var e = Iu(n), r = Iu(t), u = e.pop(), i = r.pop(), o = null; u === i;)o = u, u = e.pop(), i = r.pop();
- return o
- }
-
- function Vu(n) {
- n.fixed |= 2
- }
-
- function Xu(n) {
- n.fixed &= -7
- }
-
- function $u(n) {
- n.fixed |= 4, n.px = n.x, n.py = n.y
- }
-
- function Bu(n) {
- n.fixed &= -5
- }
-
- function Wu(n, t, e) {
- var r = 0, u = 0;
- if (n.charge = 0, !n.leaf)for (var i, o = n.nodes, a = o.length, c = -1; ++c < a;)i = o[c], null != i && (Wu(i, t, e), n.charge += i.charge, r += i.charge * i.cx, u += i.charge * i.cy);
- if (n.point) {
- n.leaf || (n.point.x += Math.random() - .5, n.point.y += Math.random() - .5);
- var l = t * e[n.point.index];
- n.charge += n.pointCharge = l, r += l * n.point.x, u += l * n.point.y
- }
- n.cx = r / n.charge, n.cy = u / n.charge
- }
-
- function Ju(n, t) {
- return Bo.rebind(n, t, "sort", "children", "value"), n.nodes = n, n.links = ei, n
- }
-
- function Gu(n, t) {
- for (var e = [n]; null != (n = e.pop());)if (t(n), (u = n.children) && (r = u.length))for (var r, u; --r >= 0;)e.push(u[r])
- }
-
- function Ku(n, t) {
- for (var e = [n], r = []; null != (n = e.pop());)if (r.push(n), (i = n.children) && (u = i.length))for (var u, i, o = -1; ++o < u;)e.push(i[o]);
- for (; null != (n = r.pop());)t(n)
- }
-
- function Qu(n) {
- return n.children
- }
-
- function ni(n) {
- return n.value
- }
-
- function ti(n, t) {
- return t.value - n.value
- }
-
- function ei(n) {
- return Bo.merge(n.map(function (n) {
- return (n.children || []).map(function (t) {
- return {source: n, target: t}
- })
- }))
- }
-
- function ri(n) {
- return n.x
- }
-
- function ui(n) {
- return n.y
- }
-
- function ii(n, t, e) {
- n.y0 = t, n.y = e
- }
-
- function oi(n) {
- return Bo.range(n.length)
- }
-
- function ai(n) {
- for (var t = -1, e = n[0].length, r = []; ++t < e;)r[t] = 0;
- return r
- }
-
- function ci(n) {
- for (var t, e = 1, r = 0, u = n[0][1], i = n.length; i > e; ++e)(t = n[e][1]) > u && (r = e, u = t);
- return r
- }
-
- function li(n) {
- return n.reduce(si, 0)
- }
-
- function si(n, t) {
- return n + t[1]
- }
-
- function fi(n, t) {
- return hi(n, Math.ceil(Math.log(t.length) / Math.LN2 + 1))
- }
-
- function hi(n, t) {
- for (var e = -1, r = +n[0], u = (n[1] - r) / t, i = []; ++e <= t;)i[e] = u * e + r;
- return i
- }
-
- function gi(n) {
- return [Bo.min(n), Bo.max(n)]
- }
-
- function pi(n, t) {
- return n.value - t.value
- }
-
- function vi(n, t) {
- var e = n._pack_next;
- n._pack_next = t, t._pack_prev = n, t._pack_next = e, e._pack_prev = t
- }
-
- function di(n, t) {
- n._pack_next = t, t._pack_prev = n
- }
-
- function mi(n, t) {
- var e = t.x - n.x, r = t.y - n.y, u = n.r + t.r;
- return .999 * u * u > e * e + r * r
- }
-
- function yi(n) {
- function t(n) {
- s = Math.min(n.x - n.r, s), f = Math.max(n.x + n.r, f), h = Math.min(n.y - n.r, h), g = Math.max(n.y + n.r, g)
- }
-
- if ((e = n.children) && (l = e.length)) {
- var e, r, u, i, o, a, c, l, s = 1 / 0, f = -1 / 0, h = 1 / 0, g = -1 / 0;
- if (e.forEach(xi), r = e[0], r.x = -r.r, r.y = 0, t(r), l > 1 && (u = e[1], u.x = u.r, u.y = 0, t(u), l > 2))for (i = e[2], bi(r, u, i), t(i), vi(r, i), r._pack_prev = i, vi(i, u), u = r._pack_next, o = 3; l > o; o++) {
- bi(r, u, i = e[o]);
- var p = 0, v = 1, d = 1;
- for (a = u._pack_next; a !== u; a = a._pack_next, v++)if (mi(a, i)) {
- p = 1;
- break
- }
- if (1 == p)for (c = r._pack_prev; c !== a._pack_prev && !mi(c, i); c = c._pack_prev, d++);
- p ? (d > v || v == d && u.r < r.r ? di(r, u = a) : di(r = c, u), o--) : (vi(r, i), u = i, t(i))
- }
- var m = (s + f) / 2, y = (h + g) / 2, x = 0;
- for (o = 0; l > o; o++)i = e[o], i.x -= m, i.y -= y, x = Math.max(x, i.r + Math.sqrt(i.x * i.x + i.y * i.y));
- n.r = x, e.forEach(Mi)
- }
- }
-
- function xi(n) {
- n._pack_next = n._pack_prev = n
- }
-
- function Mi(n) {
- delete n._pack_next, delete n._pack_prev
- }
-
- function _i(n, t, e, r) {
- var u = n.children;
- if (n.x = t += r * n.x, n.y = e += r * n.y, n.r *= r, u)for (var i = -1, o = u.length; ++i < o;)_i(u[i], t, e, r)
- }
-
- function bi(n, t, e) {
- var r = n.r + e.r, u = t.x - n.x, i = t.y - n.y;
- if (r && (u || i)) {
- var o = t.r + e.r, a = u * u + i * i;
- o *= o, r *= r;
- var c = .5 + (r - o) / (2 * a), l = Math.sqrt(Math.max(0, 2 * o * (r + a) - (r -= a) * r - o * o)) / (2 * a);
- e.x = n.x + c * u + l * i, e.y = n.y + c * i - l * u
- } else e.x = n.x + r, e.y = n.y
- }
-
- function wi(n, t) {
- return n.parent == t.parent ? 1 : 2
- }
-
- function Si(n) {
- var t = n.children;
- return t.length ? t[0] : n.t
- }
-
- function ki(n) {
- var t, e = n.children;
- return (t = e.length) ? e[t - 1] : n.t
- }
-
- function Ei(n, t, e) {
- var r = e / (t.i - n.i);
- t.c -= r, t.s += e, n.c += r, t.z += e, t.m += e
- }
-
- function Ai(n) {
- for (var t, e = 0, r = 0, u = n.children, i = u.length; --i >= 0;)t = u[i], t.z += e, t.m += e, e += t.s + (r += t.c)
- }
-
- function Ci(n, t, e) {
- return n.a.parent === t.parent ? n.a : e
- }
-
- function Ni(n) {
- return 1 + Bo.max(n, function (n) {
- return n.y
- })
- }
-
- function zi(n) {
- return n.reduce(function (n, t) {
- return n + t.x
- }, 0) / n.length
- }
-
- function Li(n) {
- var t = n.children;
- return t && t.length ? Li(t[0]) : n
- }
-
- function Ti(n) {
- var t, e = n.children;
- return e && (t = e.length) ? Ti(e[t - 1]) : n
- }
-
- function qi(n) {
- return {x: n.x, y: n.y, dx: n.dx, dy: n.dy}
- }
-
- function Ri(n, t) {
- var e = n.x + t[3], r = n.y + t[0], u = n.dx - t[1] - t[3], i = n.dy - t[0] - t[2];
- return 0 > u && (e += u / 2, u = 0), 0 > i && (r += i / 2, i = 0), {x: e, y: r, dx: u, dy: i}
- }
-
- function Di(n) {
- var t = n[0], e = n[n.length - 1];
- return e > t ? [t, e] : [e, t]
- }
-
- function Pi(n) {
- return n.rangeExtent ? n.rangeExtent() : Di(n.range())
- }
-
- function Ui(n, t, e, r) {
- var u = e(n[0], n[1]), i = r(t[0], t[1]);
- return function (n) {
- return i(u(n))
- }
- }
-
- function ji(n, t) {
- var e, r = 0, u = n.length - 1, i = n[r], o = n[u];
- return i > o && (e = r, r = u, u = e, e = i, i = o, o = e), n[r] = t.floor(i), n[u] = t.ceil(o), n
- }
-
- function Fi(n) {
- return n ? {
- floor: function (t) {
- return Math.floor(t / n) * n
- }, ceil: function (t) {
- return Math.ceil(t / n) * n
- }
- } : gl
- }
-
- function Hi(n, t, e, r) {
- var u = [], i = [], o = 0, a = Math.min(n.length, t.length) - 1;
- for (n[a] < n[0] && (n = n.slice().reverse(), t = t.slice().reverse()); ++o <= a;)u.push(e(n[o - 1], n[o])), i.push(r(t[o - 1], t[o]));
- return function (t) {
- var e = Bo.bisect(n, t, 1, a) - 1;
- return i[e](u[e](t))
- }
- }
-
- function Oi(n, t, e, r) {
- function u() {
- var u = Math.min(n.length, t.length) > 2 ? Hi : Ui, c = r ? Ou : Hu;
- return o = u(n, t, c, e), a = u(t, n, c, du), i
- }
-
- function i(n) {
- return o(n)
- }
-
- var o, a;
- return i.invert = function (n) {
- return a(n)
- }, i.domain = function (t) {
- return arguments.length ? (n = t.map(Number), u()) : n
- }, i.range = function (n) {
- return arguments.length ? (t = n, u()) : t
- }, i.rangeRound = function (n) {
- return i.range(n).interpolate(Ru)
- }, i.clamp = function (n) {
- return arguments.length ? (r = n, u()) : r
- }, i.interpolate = function (n) {
- return arguments.length ? (e = n, u()) : e
- }, i.ticks = function (t) {
- return Vi(n, t)
- }, i.tickFormat = function (t, e) {
- return Xi(n, t, e)
- }, i.nice = function (t) {
- return Ii(n, t), u()
- }, i.copy = function () {
- return Oi(n, t, e, r)
- }, u()
- }
-
- function Yi(n, t) {
- return Bo.rebind(n, t, "range", "rangeRound", "interpolate", "clamp")
- }
-
- function Ii(n, t) {
- return ji(n, Fi(Zi(n, t)[2]))
- }
-
- function Zi(n, t) {
- null == t && (t = 10);
- var e = Di(n), r = e[1] - e[0], u = Math.pow(10, Math.floor(Math.log(r / t) / Math.LN10)), i = t / r * u;
- return .15 >= i ? u *= 10 : .35 >= i ? u *= 5 : .75 >= i && (u *= 2), e[0] = Math.ceil(e[0] / u) * u, e[1] = Math.floor(e[1] / u) * u + .5 * u, e[2] = u, e
- }
-
- function Vi(n, t) {
- return Bo.range.apply(Bo, Zi(n, t))
- }
-
- function Xi(n, t, e) {
- var r = Zi(n, t);
- if (e) {
- var u = tc.exec(e);
- if (u.shift(), "s" === u[8]) {
- var i = Bo.formatPrefix(Math.max(ca(r[0]), ca(r[1])));
- return u[7] || (u[7] = "." + $i(i.scale(r[2]))), u[8] = "f", e = Bo.format(u.join("")), function (n) {
- return e(i.scale(n)) + i.symbol
- }
- }
- u[7] || (u[7] = "." + Bi(u[8], r)), e = u.join("")
- } else e = ",." + $i(r[2]) + "f";
- return Bo.format(e)
- }
-
- function $i(n) {
- return -Math.floor(Math.log(n) / Math.LN10 + .01)
- }
-
- function Bi(n, t) {
- var e = $i(t[2]);
- return n in pl ? Math.abs(e - $i(Math.max(ca(t[0]), ca(t[1])))) + +("e" !== n) : e - 2 * ("%" === n)
- }
-
- function Wi(n, t, e, r) {
- function u(n) {
- return (e ? Math.log(0 > n ? 0 : n) : -Math.log(n > 0 ? 0 : -n)) / Math.log(t)
- }
-
- function i(n) {
- return e ? Math.pow(t, n) : -Math.pow(t, -n)
- }
-
- function o(t) {
- return n(u(t))
- }
-
- return o.invert = function (t) {
- return i(n.invert(t))
- }, o.domain = function (t) {
- return arguments.length ? (e = t[0] >= 0, n.domain((r = t.map(Number)).map(u)), o) : r
- }, o.base = function (e) {
- return arguments.length ? (t = +e, n.domain(r.map(u)), o) : t
- }, o.nice = function () {
- var t = ji(r.map(u), e ? Math : dl);
- return n.domain(t), r = t.map(i), o
- }, o.ticks = function () {
- var n = Di(r), o = [], a = n[0], c = n[1], l = Math.floor(u(a)), s = Math.ceil(u(c)), f = t % 1 ? 2 : t;
- if (isFinite(s - l)) {
- if (e) {
- for (; s > l; l++)for (var h = 1; f > h; h++)o.push(i(l) * h);
- o.push(i(l))
- } else for (o.push(i(l)); l++ < s;)for (var h = f - 1; h > 0; h--)o.push(i(l) * h);
- for (l = 0; o[l] < a; l++);
- for (s = o.length; o[s - 1] > c; s--);
- o = o.slice(l, s)
- }
- return o
- }, o.tickFormat = function (n, t) {
- if (!arguments.length)return vl;
- arguments.length < 2 ? t = vl : "function" != typeof t && (t = Bo.format(t));
- var r, a = Math.max(.1, n / o.ticks().length), c = e ? (r = 1e-12, Math.ceil) : (r = -1e-12, Math.floor);
- return function (n) {
- return n / i(c(u(n) + r)) <= a ? t(n) : ""
- }
- }, o.copy = function () {
- return Wi(n.copy(), t, e, r)
- }, Yi(o, n)
- }
-
- function Ji(n, t, e) {
- function r(t) {
- return n(u(t))
- }
-
- var u = Gi(t), i = Gi(1 / t);
- return r.invert = function (t) {
- return i(n.invert(t))
- }, r.domain = function (t) {
- return arguments.length ? (n.domain((e = t.map(Number)).map(u)), r) : e
- }, r.ticks = function (n) {
- return Vi(e, n)
- }, r.tickFormat = function (n, t) {
- return Xi(e, n, t)
- }, r.nice = function (n) {
- return r.domain(Ii(e, n))
- }, r.exponent = function (o) {
- return arguments.length ? (u = Gi(t = o), i = Gi(1 / t), n.domain(e.map(u)), r) : t
- }, r.copy = function () {
- return Ji(n.copy(), t, e)
- }, Yi(r, n)
- }
-
- function Gi(n) {
- return function (t) {
- return 0 > t ? -Math.pow(-t, n) : Math.pow(t, n)
- }
- }
-
- function Ki(n, t) {
- function e(e) {
- return i[((u.get(e) || ("range" === t.t ? u.set(e, n.push(e)) : 0 / 0)) - 1) % i.length]
- }
-
- function r(t, e) {
- return Bo.range(n.length).map(function (n) {
- return t + e * n
- })
- }
-
- var u, i, o;
- return e.domain = function (r) {
- if (!arguments.length)return n;
- n = [], u = new a;
- for (var i, o = -1, c = r.length; ++o < c;)u.has(i = r[o]) || u.set(i, n.push(i));
- return e[t.t].apply(e, t.a)
- }, e.range = function (n) {
- return arguments.length ? (i = n, o = 0, t = {t: "range", a: arguments}, e) : i
- }, e.rangePoints = function (u, a) {
- arguments.length < 2 && (a = 0);
- var c = u[0], l = u[1], s = (l - c) / (Math.max(1, n.length - 1) + a);
- return i = r(n.length < 2 ? (c + l) / 2 : c + s * a / 2, s), o = 0, t = {t: "rangePoints", a: arguments}, e
- }, e.rangeBands = function (u, a, c) {
- arguments.length < 2 && (a = 0), arguments.length < 3 && (c = a);
- var l = u[1] < u[0], s = u[l - 0], f = u[1 - l], h = (f - s) / (n.length - a + 2 * c);
- return i = r(s + h * c, h), l && i.reverse(), o = h * (1 - a), t = {t: "rangeBands", a: arguments}, e
- }, e.rangeRoundBands = function (u, a, c) {
- arguments.length < 2 && (a = 0), arguments.length < 3 && (c = a);
- var l = u[1] < u[0], s = u[l - 0], f = u[1 - l], h = Math.floor((f - s) / (n.length - a + 2 * c)), g = f - s - (n.length - a) * h;
- return i = r(s + Math.round(g / 2), h), l && i.reverse(), o = Math.round(h * (1 - a)), t = {
- t: "rangeRoundBands",
- a: arguments
- }, e
- }, e.rangeBand = function () {
- return o
- }, e.rangeExtent = function () {
- return Di(t.a[0])
- }, e.copy = function () {
- return Ki(n, t)
- }, e.domain(n)
- }
-
- function Qi(r, u) {
- function i() {
- var n = 0, t = u.length;
- for (a = []; ++n < t;)a[n - 1] = Bo.quantile(r, n / t);
- return o
- }
-
- function o(n) {
- return isNaN(n = +n) ? void 0 : u[Bo.bisect(a, n)]
- }
-
- var a;
- return o.domain = function (u) {
- return arguments.length ? (r = u.map(t).filter(e).sort(n), i()) : r
- }, o.range = function (n) {
- return arguments.length ? (u = n, i()) : u
- }, o.quantiles = function () {
- return a
- }, o.invertExtent = function (n) {
- return n = u.indexOf(n), 0 > n ? [0 / 0, 0 / 0] : [n > 0 ? a[n - 1] : r[0], n < a.length ? a[n] : r[r.length - 1]]
- }, o.copy = function () {
- return Qi(r, u)
- }, i()
- }
-
- function no(n, t, e) {
- function r(t) {
- return e[Math.max(0, Math.min(o, Math.floor(i * (t - n))))]
- }
-
- function u() {
- return i = e.length / (t - n), o = e.length - 1, r
- }
-
- var i, o;
- return r.domain = function (e) {
- return arguments.length ? (n = +e[0], t = +e[e.length - 1], u()) : [n, t]
- }, r.range = function (n) {
- return arguments.length ? (e = n, u()) : e
- }, r.invertExtent = function (t) {
- return t = e.indexOf(t), t = 0 > t ? 0 / 0 : t / i + n, [t, t + 1 / i]
- }, r.copy = function () {
- return no(n, t, e)
- }, u()
- }
-
- function to(n, t) {
- function e(e) {
- return e >= e ? t[Bo.bisect(n, e)] : void 0
- }
-
- return e.domain = function (t) {
- return arguments.length ? (n = t, e) : n
- }, e.range = function (n) {
- return arguments.length ? (t = n, e) : t
- }, e.invertExtent = function (e) {
- return e = t.indexOf(e), [n[e - 1], n[e]]
- }, e.copy = function () {
- return to(n, t)
- }, e
- }
-
- function eo(n) {
- function t(n) {
- return +n
- }
-
- return t.invert = t, t.domain = t.range = function (e) {
- return arguments.length ? (n = e.map(t), t) : n
- }, t.ticks = function (t) {
- return Vi(n, t)
- }, t.tickFormat = function (t, e) {
- return Xi(n, t, e)
- }, t.copy = function () {
- return eo(n)
- }, t
- }
-
- function ro(n) {
- return n.innerRadius
- }
-
- function uo(n) {
- return n.outerRadius
- }
-
- function io(n) {
- return n.startAngle
- }
-
- function oo(n) {
- return n.endAngle
- }
-
- function ao(n) {
- function t(t) {
- function o() {
- l.push("M", i(n(s), a))
- }
-
- for (var c, l = [], s = [], f = -1, h = t.length, g = kt(e), p = kt(r); ++f < h;)u.call(this, c = t[f], f) ? s.push([+g.call(this, c, f), +p.call(this, c, f)]) : s.length && (o(), s = []);
- return s.length && o(), l.length ? l.join("") : null
- }
-
- var e = Ar, r = Cr, u = Ae, i = co, o = i.key, a = .7;
- return t.x = function (n) {
- return arguments.length ? (e = n, t) : e
- }, t.y = function (n) {
- return arguments.length ? (r = n, t) : r
- }, t.defined = function (n) {
- return arguments.length ? (u = n, t) : u
- }, t.interpolate = function (n) {
- return arguments.length ? (o = "function" == typeof n ? i = n : (i = wl.get(n) || co).key, t) : o
- }, t.tension = function (n) {
- return arguments.length ? (a = n, t) : a
- }, t
- }
-
- function co(n) {
- return n.join("L")
- }
-
- function lo(n) {
- return co(n) + "Z"
- }
-
- function so(n) {
- for (var t = 0, e = n.length, r = n[0], u = [r[0], ",", r[1]]; ++t < e;)u.push("H", (r[0] + (r = n[t])[0]) / 2, "V", r[1]);
- return e > 1 && u.push("H", r[0]), u.join("")
- }
-
- function fo(n) {
- for (var t = 0, e = n.length, r = n[0], u = [r[0], ",", r[1]]; ++t < e;)u.push("V", (r = n[t])[1], "H", r[0]);
- return u.join("")
- }
-
- function ho(n) {
- for (var t = 0, e = n.length, r = n[0], u = [r[0], ",", r[1]]; ++t < e;)u.push("H", (r = n[t])[0], "V", r[1]);
- return u.join("")
- }
-
- function go(n, t) {
- return n.length < 4 ? co(n) : n[1] + mo(n.slice(1, n.length - 1), yo(n, t))
- }
-
- function po(n, t) {
- return n.length < 3 ? co(n) : n[0] + mo((n.push(n[0]), n), yo([n[n.length - 2]].concat(n, [n[1]]), t))
- }
-
- function vo(n, t) {
- return n.length < 3 ? co(n) : n[0] + mo(n, yo(n, t))
- }
-
- function mo(n, t) {
- if (t.length < 1 || n.length != t.length && n.length != t.length + 2)return co(n);
- var e = n.length != t.length, r = "", u = n[0], i = n[1], o = t[0], a = o, c = 1;
- if (e && (r += "Q" + (i[0] - 2 * o[0] / 3) + "," + (i[1] - 2 * o[1] / 3) + "," + i[0] + "," + i[1], u = n[1], c = 2), t.length > 1) {
- a = t[1], i = n[c], c++, r += "C" + (u[0] + o[0]) + "," + (u[1] + o[1]) + "," + (i[0] - a[0]) + "," + (i[1] - a[1]) + "," + i[0] + "," + i[1];
- for (var l = 2; l < t.length; l++, c++)i = n[c], a = t[l], r += "S" + (i[0] - a[0]) + "," + (i[1] - a[1]) + "," + i[0] + "," + i[1]
- }
- if (e) {
- var s = n[c];
- r += "Q" + (i[0] + 2 * a[0] / 3) + "," + (i[1] + 2 * a[1] / 3) + "," + s[0] + "," + s[1]
- }
- return r
- }
-
- function yo(n, t) {
- for (var e, r = [], u = (1 - t) / 2, i = n[0], o = n[1], a = 1, c = n.length; ++a < c;)e = i, i = o, o = n[a], r.push([u * (o[0] - e[0]), u * (o[1] - e[1])]);
- return r
- }
-
- function xo(n) {
- if (n.length < 3)return co(n);
- var t = 1, e = n.length, r = n[0], u = r[0], i = r[1], o = [u, u, u, (r = n[1])[0]], a = [i, i, i, r[1]], c = [u, ",", i, "L", wo(El, o), ",", wo(El, a)];
- for (n.push(n[e - 1]); ++t <= e;)r = n[t], o.shift(), o.push(r[0]), a.shift(), a.push(r[1]), So(c, o, a);
- return n.pop(), c.push("L", r), c.join("")
- }
-
- function Mo(n) {
- if (n.length < 4)return co(n);
- for (var t, e = [], r = -1, u = n.length, i = [0], o = [0]; ++r < 3;)t = n[r], i.push(t[0]), o.push(t[1]);
- for (e.push(wo(El, i) + "," + wo(El, o)), --r; ++r < u;)t = n[r], i.shift(), i.push(t[0]), o.shift(), o.push(t[1]), So(e, i, o);
- return e.join("")
- }
-
- function _o(n) {
- for (var t, e, r = -1, u = n.length, i = u + 4, o = [], a = []; ++r < 4;)e = n[r % u], o.push(e[0]), a.push(e[1]);
- for (t = [wo(El, o), ",", wo(El, a)], --r; ++r < i;)e = n[r % u], o.shift(), o.push(e[0]), a.shift(), a.push(e[1]), So(t, o, a);
- return t.join("")
- }
-
- function bo(n, t) {
- var e = n.length - 1;
- if (e)for (var r, u, i = n[0][0], o = n[0][1], a = n[e][0] - i, c = n[e][1] - o, l = -1; ++l <= e;)r = n[l], u = l / e, r[0] = t * r[0] + (1 - t) * (i + u * a), r[1] = t * r[1] + (1 - t) * (o + u * c);
- return xo(n)
- }
-
- function wo(n, t) {
- return n[0] * t[0] + n[1] * t[1] + n[2] * t[2] + n[3] * t[3]
- }
-
- function So(n, t, e) {
- n.push("C", wo(Sl, t), ",", wo(Sl, e), ",", wo(kl, t), ",", wo(kl, e), ",", wo(El, t), ",", wo(El, e))
- }
-
- function ko(n, t) {
- return (t[1] - n[1]) / (t[0] - n[0])
- }
-
- function Eo(n) {
- for (var t = 0, e = n.length - 1, r = [], u = n[0], i = n[1], o = r[0] = ko(u, i); ++t < e;)r[t] = (o + (o = ko(u = i, i = n[t + 1]))) / 2;
- return r[t] = o, r
- }
-
- function Ao(n) {
- for (var t, e, r, u, i = [], o = Eo(n), a = -1, c = n.length - 1; ++a < c;)t = ko(n[a], n[a + 1]), ca(t) < Na ? o[a] = o[a + 1] = 0 : (e = o[a] / t, r = o[a + 1] / t, u = e * e + r * r, u > 9 && (u = 3 * t / Math.sqrt(u), o[a] = u * e, o[a + 1] = u * r));
- for (a = -1; ++a <= c;)u = (n[Math.min(c, a + 1)][0] - n[Math.max(0, a - 1)][0]) / (6 * (1 + o[a] * o[a])), i.push([u || 0, o[a] * u || 0]);
- return i
- }
-
- function Co(n) {
- return n.length < 3 ? co(n) : n[0] + mo(n, Ao(n))
- }
-
- function No(n) {
- for (var t, e, r, u = -1, i = n.length; ++u < i;)t = n[u], e = t[0], r = t[1] + _l, t[0] = e * Math.cos(r), t[1] = e * Math.sin(r);
- return n
- }
-
- function zo(n) {
- function t(t) {
- function c() {
- v.push("M", a(n(m), f), s, l(n(d.reverse()), f), "Z")
- }
-
- for (var h, g, p, v = [], d = [], m = [], y = -1, x = t.length, M = kt(e), _ = kt(u), b = e === r ? function () {
- return g
- } : kt(r), w = u === i ? function () {
- return p
- } : kt(i); ++y < x;)o.call(this, h = t[y], y) ? (d.push([g = +M.call(this, h, y), p = +_.call(this, h, y)]), m.push([+b.call(this, h, y), +w.call(this, h, y)])) : d.length && (c(), d = [], m = []);
- return d.length && c(), v.length ? v.join("") : null
- }
-
- var e = Ar, r = Ar, u = 0, i = Cr, o = Ae, a = co, c = a.key, l = a, s = "L", f = .7;
- return t.x = function (n) {
- return arguments.length ? (e = r = n, t) : r
- }, t.x0 = function (n) {
- return arguments.length ? (e = n, t) : e
- }, t.x1 = function (n) {
- return arguments.length ? (r = n, t) : r
- }, t.y = function (n) {
- return arguments.length ? (u = i = n, t) : i
- }, t.y0 = function (n) {
- return arguments.length ? (u = n, t) : u
- }, t.y1 = function (n) {
- return arguments.length ? (i = n, t) : i
- }, t.defined = function (n) {
- return arguments.length ? (o = n, t) : o
- }, t.interpolate = function (n) {
- return arguments.length ? (c = "function" == typeof n ? a = n : (a = wl.get(n) || co).key, l = a.reverse || a, s = a.closed ? "M" : "L", t) : c
- }, t.tension = function (n) {
- return arguments.length ? (f = n, t) : f
- }, t
- }
-
- function Lo(n) {
- return n.radius
- }
-
- function To(n) {
- return [n.x, n.y]
- }
-
- function qo(n) {
- return function () {
- var t = n.apply(this, arguments), e = t[0], r = t[1] + _l;
- return [e * Math.cos(r), e * Math.sin(r)]
- }
- }
-
- function Ro() {
- return 64
- }
-
- function Do() {
- return "circle"
- }
-
- function Po(n) {
- var t = Math.sqrt(n / Ea);
- return "M0," + t + "A" + t + "," + t + " 0 1,1 0," + -t + "A" + t + "," + t + " 0 1,1 0," + t + "Z"
- }
-
- function Uo(n, t) {
- return ga(n, Tl), n.id = t, n
- }
-
- function jo(n, t, e, r) {
- var u = n.id;
- return F(n, "function" == typeof e ? function (n, i, o) {
- n.__transition__[u].tween.set(t, r(e.call(n, n.__data__, i, o)))
- } : (e = r(e), function (n) {
- n.__transition__[u].tween.set(t, e)
- }))
- }
-
- function Fo(n) {
- return null == n && (n = ""), function () {
- this.textContent = n
- }
- }
-
- function Ho(n, t, e, r) {
- var u = n.__transition__ || (n.__transition__ = {active: 0, count: 0}), i = u[e];
- if (!i) {
- var o = r.time;
- i = u[e] = {
- tween: new a,
- time: o,
- ease: r.ease,
- delay: r.delay,
- duration: r.duration
- }, ++u.count, Bo.timer(function (r) {
- function a(r) {
- return u.active > e ? l() : (u.active = e, i.event && i.event.start.call(n, s, t), i.tween.forEach(function (e, r) {
- (r = r.call(n, s, t)) && v.push(r)
- }), Bo.timer(function () {
- return p.c = c(r || 1) ? Ae : c, 1
- }, 0, o), void 0)
- }
-
- function c(r) {
- if (u.active !== e)return l();
- for (var o = r / g, a = f(o), c = v.length; c > 0;)v[--c].call(n, a);
- return o >= 1 ? (i.event && i.event.end.call(n, s, t), l()) : void 0
- }
-
- function l() {
- return --u.count ? delete u[e] : delete n.__transition__, 1
- }
-
- var s = n.__data__, f = i.ease, h = i.delay, g = i.duration, p = Ka, v = [];
- return p.t = h + o, r >= h ? a(r - h) : (p.c = a, void 0)
- }, 0, o)
- }
- }
-
- function Oo(n, t, e) {
- n.attr("transform", function (n) {
- var r = t(n);
- return "translate(" + (isFinite(r) ? r : e(n)) + ",0)"
- })
- }
-
- function Yo(n, t, e) {
- n.attr("transform", function (n) {
- var r = t(n);
- return "translate(0," + (isFinite(r) ? r : e(n)) + ")"
- })
- }
-
- function Io(n) {
- return n.toISOString()
- }
-
- function Zo(n, t, e) {
- function r(t) {
- return n(t)
- }
-
- function u(n, e) {
- var r = n[1] - n[0], u = r / e, i = Bo.bisect(Ol, u);
- return i == Ol.length ? [t.year, Zi(n.map(function (n) {
- return n / 31536e6
- }), e)[2]] : i ? t[u / Ol[i - 1] < Ol[i] / u ? i - 1 : i] : [Zl, Zi(n, e)[2]]
- }
-
- return r.invert = function (t) {
- return Vo(n.invert(t))
- }, r.domain = function (t) {
- return arguments.length ? (n.domain(t), r) : n.domain().map(Vo)
- }, r.nice = function (n, t) {
- function e(e) {
- return !isNaN(e) && !n.range(e, Vo(+e + 1), t).length
- }
-
- var i = r.domain(), o = Di(i), a = null == n ? u(o, 10) : "number" == typeof n && u(o, n);
- return a && (n = a[0], t = a[1]), r.domain(ji(i, t > 1 ? {
- floor: function (t) {
- for (; e(t = n.floor(t));)t = Vo(t - 1);
- return t
- }, ceil: function (t) {
- for (; e(t = n.ceil(t));)t = Vo(+t + 1);
- return t
- }
- } : n))
- }, r.ticks = function (n, t) {
- var e = Di(r.domain()), i = null == n ? u(e, 10) : "number" == typeof n ? u(e, n) : !n.range && [{range: n}, t];
- return i && (n = i[0], t = i[1]), n.range(e[0], Vo(+e[1] + 1), 1 > t ? 1 : t)
- }, r.tickFormat = function () {
- return e
- }, r.copy = function () {
- return Zo(n.copy(), t, e)
- }, Yi(r, n)
- }
-
- function Vo(n) {
- return new Date(n)
- }
-
- function Xo(n) {
- return JSON.parse(n.responseText)
- }
-
- function $o(n) {
- var t = Go.createRange();
- return t.selectNode(Go.body), t.createContextualFragment(n.responseText)
- }
-
- var Bo = {version: "3.4.13"};
- Date.now || (Date.now = function () {
- return +new Date
- });
- var Wo = [].slice, Jo = function (n) {
- return Wo.call(n)
- }, Go = document, Ko = Go.documentElement, Qo = window;
- try {
- Jo(Ko.childNodes)[0].nodeType
- } catch (na) {
- Jo = function (n) {
- for (var t = n.length, e = new Array(t); t--;)e[t] = n[t];
- return e
- }
- }
- try {
- Go.createElement("div").style.setProperty("opacity", 0, "")
- } catch (ta) {
- var ea = Qo.Element.prototype, ra = ea.setAttribute, ua = ea.setAttributeNS, ia = Qo.CSSStyleDeclaration.prototype, oa = ia.setProperty;
- ea.setAttribute = function (n, t) {
- ra.call(this, n, t + "")
- }, ea.setAttributeNS = function (n, t, e) {
- ua.call(this, n, t, e + "")
- }, ia.setProperty = function (n, t, e) {
- oa.call(this, n, t + "", e)
- }
- }
- Bo.ascending = n, Bo.descending = function (n, t) {
- return n > t ? -1 : t > n ? 1 : t >= n ? 0 : 0 / 0
- }, Bo.min = function (n, t) {
- var e, r, u = -1, i = n.length;
- if (1 === arguments.length) {
- for (; ++u < i && !(null != (e = n[u]) && e >= e);)e = void 0;
- for (; ++u < i;)null != (r = n[u]) && e > r && (e = r)
- } else {
- for (; ++u < i && !(null != (e = t.call(n, n[u], u)) && e >= e);)e = void 0;
- for (; ++u < i;)null != (r = t.call(n, n[u], u)) && e > r && (e = r)
- }
- return e
- }, Bo.max = function (n, t) {
- var e, r, u = -1, i = n.length;
- if (1 === arguments.length) {
- for (; ++u < i && !(null != (e = n[u]) && e >= e);)e = void 0;
- for (; ++u < i;)null != (r = n[u]) && r > e && (e = r)
- } else {
- for (; ++u < i && !(null != (e = t.call(n, n[u], u)) && e >= e);)e = void 0;
- for (; ++u < i;)null != (r = t.call(n, n[u], u)) && r > e && (e = r)
- }
- return e
- }, Bo.extent = function (n, t) {
- var e, r, u, i = -1, o = n.length;
- if (1 === arguments.length) {
- for (; ++i < o && !(null != (e = u = n[i]) && e >= e);)e = u = void 0;
- for (; ++i < o;)null != (r = n[i]) && (e > r && (e = r), r > u && (u = r))
- } else {
- for (; ++i < o && !(null != (e = u = t.call(n, n[i], i)) && e >= e);)e = void 0;
- for (; ++i < o;)null != (r = t.call(n, n[i], i)) && (e > r && (e = r), r > u && (u = r))
- }
- return [e, u]
- }, Bo.sum = function (n, t) {
- var r, u = 0, i = n.length, o = -1;
- if (1 === arguments.length)for (; ++o < i;)e(r = +n[o]) && (u += r); else for (; ++o < i;)e(r = +t.call(n, n[o], o)) && (u += r);
- return u
- }, Bo.mean = function (n, r) {
- var u, i = 0, o = n.length, a = -1, c = o;
- if (1 === arguments.length)for (; ++a < o;)e(u = t(n[a])) ? i += u : --c; else for (; ++a < o;)e(u = t(r.call(n, n[a], a))) ? i += u : --c;
- return c ? i / c : void 0
- }, Bo.quantile = function (n, t) {
- var e = (n.length - 1) * t + 1, r = Math.floor(e), u = +n[r - 1], i = e - r;
- return i ? u + i * (n[r] - u) : u
- }, Bo.median = function (r, u) {
- var i, o = [], a = r.length, c = -1;
- if (1 === arguments.length)for (; ++c < a;)e(i = t(r[c])) && o.push(i); else for (; ++c < a;)e(i = t(u.call(r, r[c], c))) && o.push(i);
- return o.length ? Bo.quantile(o.sort(n), .5) : void 0
- };
- var aa = r(n);
- Bo.bisectLeft = aa.left, Bo.bisect = Bo.bisectRight = aa.right, Bo.bisector = function (t) {
- return r(1 === t.length ? function (e, r) {
- return n(t(e), r)
- } : t)
- }, Bo.shuffle = function (n) {
- for (var t, e, r = n.length; r;)e = 0 | Math.random() * r--, t = n[r], n[r] = n[e], n[e] = t;
- return n
- }, Bo.permute = function (n, t) {
- for (var e = t.length, r = new Array(e); e--;)r[e] = n[t[e]];
- return r
- }, Bo.pairs = function (n) {
- for (var t, e = 0, r = n.length - 1, u = n[0], i = new Array(0 > r ? 0 : r); r > e;)i[e] = [t = u, u = n[++e]];
- return i
- }, Bo.zip = function () {
- if (!(r = arguments.length))return [];
- for (var n = -1, t = Bo.min(arguments, u), e = new Array(t); ++n < t;)for (var r, i = -1, o = e[n] = new Array(r); ++i < r;)o[i] = arguments[i][n];
- return e
- }, Bo.transpose = function (n) {
- return Bo.zip.apply(Bo, n)
- }, Bo.keys = function (n) {
- var t = [];
- for (var e in n)t.push(e);
- return t
- }, Bo.values = function (n) {
- var t = [];
- for (var e in n)t.push(n[e]);
- return t
- }, Bo.entries = function (n) {
- var t = [];
- for (var e in n)t.push({key: e, value: n[e]});
- return t
- }, Bo.merge = function (n) {
- for (var t, e, r, u = n.length, i = -1, o = 0; ++i < u;)o += n[i].length;
- for (e = new Array(o); --u >= 0;)for (r = n[u], t = r.length; --t >= 0;)e[--o] = r[t];
- return e
- };
- var ca = Math.abs;
- Bo.range = function (n, t, e) {
- if (arguments.length < 3 && (e = 1, arguments.length < 2 && (t = n, n = 0)), 1 / 0 === (t - n) / e)throw new Error("infinite range");
- var r, u = [], o = i(ca(e)), a = -1;
- if (n *= o, t *= o, e *= o, 0 > e)for (; (r = n + e * ++a) > t;)u.push(r / o); else for (; (r = n + e * ++a) < t;)u.push(r / o);
- return u
- }, Bo.map = function (n) {
- var t = new a;
- if (n instanceof a)n.forEach(function (n, e) {
- t.set(n, e)
- }); else for (var e in n)t.set(e, n[e]);
- return t
- };
- var la = "__proto__", sa = "\x00";
- o(a, {
- has: s, get: function (n) {
- return this._[c(n)]
- }, set: function (n, t) {
- return this._[c(n)] = t
- }, remove: f, keys: h, values: function () {
- var n = [];
- for (var t in this._)n.push(this._[t]);
- return n
- }, entries: function () {
- var n = [];
- for (var t in this._)n.push({key: l(t), value: this._[t]});
- return n
- }, size: g, empty: p, forEach: function (n) {
- for (var t in this._)n.call(this, l(t), this._[t])
- }
- }), Bo.nest = function () {
- function n(t, o, c) {
- if (c >= i.length)return r ? r.call(u, o) : e ? o.sort(e) : o;
- for (var l, s, f, h, g = -1, p = o.length, v = i[c++], d = new a; ++g < p;)(h = d.get(l = v(s = o[g]))) ? h.push(s) : d.set(l, [s]);
- return t ? (s = t(), f = function (e, r) {
- s.set(e, n(t, r, c))
- }) : (s = {}, f = function (e, r) {
- s[e] = n(t, r, c)
- }), d.forEach(f), s
- }
-
- function t(n, e) {
- if (e >= i.length)return n;
- var r = [], u = o[e++];
- return n.forEach(function (n, u) {
- r.push({key: n, values: t(u, e)})
- }), u ? r.sort(function (n, t) {
- return u(n.key, t.key)
- }) : r
- }
-
- var e, r, u = {}, i = [], o = [];
- return u.map = function (t, e) {
- return n(e, t, 0)
- }, u.entries = function (e) {
- return t(n(Bo.map, e, 0), 0)
- }, u.key = function (n) {
- return i.push(n), u
- }, u.sortKeys = function (n) {
- return o[i.length - 1] = n, u
- }, u.sortValues = function (n) {
- return e = n, u
- }, u.rollup = function (n) {
- return r = n, u
- }, u
- }, Bo.set = function (n) {
- var t = new v;
- if (n)for (var e = 0, r = n.length; r > e; ++e)t.add(n[e]);
- return t
- }, o(v, {
- has: s, add: function (n) {
- return this._[c(n += "")] = !0, n
- }, remove: f, values: h, size: g, empty: p, forEach: function (n) {
- for (var t in this._)n.call(this, l(t))
- }
- }), Bo.behavior = {}, Bo.rebind = function (n, t) {
- for (var e, r = 1, u = arguments.length; ++r < u;)n[e = arguments[r]] = d(n, t, t[e]);
- return n
- };
- var fa = ["webkit", "ms", "moz", "Moz", "o", "O"];
- Bo.dispatch = function () {
- for (var n = new x, t = -1, e = arguments.length; ++t < e;)n[arguments[t]] = M(n);
- return n
- }, x.prototype.on = function (n, t) {
- var e = n.indexOf("."), r = "";
- if (e >= 0 && (r = n.slice(e + 1), n = n.slice(0, e)), n)return arguments.length < 2 ? this[n].on(r) : this[n].on(r, t);
- if (2 === arguments.length) {
- if (null == t)for (n in this)this.hasOwnProperty(n) && this[n].on(r, null);
- return this
- }
- }, Bo.event = null, Bo.requote = function (n) {
- return n.replace(ha, "\\$&")
- };
- var ha = /[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g, ga = {}.__proto__ ? function (n, t) {
- n.__proto__ = t
- } : function (n, t) {
- for (var e in t)n[e] = t[e]
- }, pa = function (n, t) {
- return t.querySelector(n)
- }, va = function (n, t) {
- return t.querySelectorAll(n)
- }, da = Ko.matches || Ko[m(Ko, "matchesSelector")], ma = function (n, t) {
- return da.call(n, t)
- };
- "function" == typeof Sizzle && (pa = function (n, t) {
- return Sizzle(n, t)[0] || null
- }, va = Sizzle, ma = Sizzle.matchesSelector), Bo.selection = function () {
- return _a
- };
- var ya = Bo.selection.prototype = [];
- ya.select = function (n) {
- var t, e, r, u, i = [];
- n = k(n);
- for (var o = -1, a = this.length; ++o < a;) {
- i.push(t = []), t.parentNode = (r = this[o]).parentNode;
- for (var c = -1, l = r.length; ++c < l;)(u = r[c]) ? (t.push(e = n.call(u, u.__data__, c, o)), e && "__data__"in u && (e.__data__ = u.__data__)) : t.push(null)
- }
- return S(i)
- }, ya.selectAll = function (n) {
- var t, e, r = [];
- n = E(n);
- for (var u = -1, i = this.length; ++u < i;)for (var o = this[u], a = -1, c = o.length; ++a < c;)(e = o[a]) && (r.push(t = Jo(n.call(e, e.__data__, a, u))), t.parentNode = e);
- return S(r)
- };
- var xa = {
- svg: "http://www.w3.org/2000/svg",
- xhtml: "http://www.w3.org/1999/xhtml",
- xlink: "http://www.w3.org/1999/xlink",
- xml: "http://www.w3.org/XML/1998/namespace",
- xmlns: "http://www.w3.org/2000/xmlns/"
- };
- Bo.ns = {
- prefix: xa, qualify: function (n) {
- var t = n.indexOf(":"), e = n;
- return t >= 0 && (e = n.slice(0, t), n = n.slice(t + 1)), xa.hasOwnProperty(e) ? {
- space: xa[e],
- local: n
- } : n
- }
- }, ya.attr = function (n, t) {
- if (arguments.length < 2) {
- if ("string" == typeof n) {
- var e = this.node();
- return n = Bo.ns.qualify(n), n.local ? e.getAttributeNS(n.space, n.local) : e.getAttribute(n)
- }
- for (t in n)this.each(A(t, n[t]));
- return this
- }
- return this.each(A(n, t))
- }, ya.classed = function (n, t) {
- if (arguments.length < 2) {
- if ("string" == typeof n) {
- var e = this.node(), r = (n = z(n)).length, u = -1;
- if (t = e.classList) {
- for (; ++u < r;)if (!t.contains(n[u]))return !1
- } else for (t = e.getAttribute("class"); ++u < r;)if (!N(n[u]).test(t))return !1;
- return !0
- }
- for (t in n)this.each(L(t, n[t]));
- return this
- }
- return this.each(L(n, t))
- }, ya.style = function (n, t, e) {
- var r = arguments.length;
- if (3 > r) {
- if ("string" != typeof n) {
- 2 > r && (t = "");
- for (e in n)this.each(q(e, n[e], t));
- return this
- }
- if (2 > r)return Qo.getComputedStyle(this.node(), null).getPropertyValue(n);
- e = ""
- }
- return this.each(q(n, t, e))
- }, ya.property = function (n, t) {
- if (arguments.length < 2) {
- if ("string" == typeof n)return this.node()[n];
- for (t in n)this.each(R(t, n[t]));
- return this
- }
- return this.each(R(n, t))
- }, ya.text = function (n) {
- return arguments.length ? this.each("function" == typeof n ? function () {
- var t = n.apply(this, arguments);
- this.textContent = null == t ? "" : t
- } : null == n ? function () {
- this.textContent = ""
- } : function () {
- this.textContent = n
- }) : this.node().textContent
- }, ya.html = function (n) {
- return arguments.length ? this.each("function" == typeof n ? function () {
- var t = n.apply(this, arguments);
- this.innerHTML = null == t ? "" : t
- } : null == n ? function () {
- this.innerHTML = ""
- } : function () {
- this.innerHTML = n
- }) : this.node().innerHTML
- }, ya.append = function (n) {
- return n = D(n), this.select(function () {
- return this.appendChild(n.apply(this, arguments))
- })
- }, ya.insert = function (n, t) {
- return n = D(n), t = k(t), this.select(function () {
- return this.insertBefore(n.apply(this, arguments), t.apply(this, arguments) || null)
- })
- }, ya.remove = function () {
- return this.each(function () {
- var n = this.parentNode;
- n && n.removeChild(this)
- })
- }, ya.data = function (n, t) {
- function e(n, e) {
- var r, u, i, o = n.length, f = e.length, h = Math.min(o, f), g = new Array(f), p = new Array(f), v = new Array(o);
- if (t) {
- var d, m = new a, y = new Array(o);
- for (r = -1; ++r < o;)m.has(d = t.call(u = n[r], u.__data__, r)) ? v[r] = u : m.set(d, u), y[r] = d;
- for (r = -1; ++r < f;)(u = m.get(d = t.call(e, i = e[r], r))) ? u !== !0 && (g[r] = u, u.__data__ = i) : p[r] = P(i), m.set(d, !0);
- for (r = -1; ++r < o;)m.get(y[r]) !== !0 && (v[r] = n[r])
- } else {
- for (r = -1; ++r < h;)u = n[r], i = e[r], u ? (u.__data__ = i, g[r] = u) : p[r] = P(i);
- for (; f > r; ++r)p[r] = P(e[r]);
- for (; o > r; ++r)v[r] = n[r]
- }
- p.update = g, p.parentNode = g.parentNode = v.parentNode = n.parentNode, c.push(p), l.push(g), s.push(v)
- }
-
- var r, u, i = -1, o = this.length;
- if (!arguments.length) {
- for (n = new Array(o = (r = this[0]).length); ++i < o;)(u = r[i]) && (n[i] = u.__data__);
- return n
- }
- var c = H([]), l = S([]), s = S([]);
- if ("function" == typeof n)for (; ++i < o;)e(r = this[i], n.call(r, r.parentNode.__data__, i)); else for (; ++i < o;)e(r = this[i], n);
- return l.enter = function () {
- return c
- }, l.exit = function () {
- return s
- }, l
- }, ya.datum = function (n) {
- return arguments.length ? this.property("__data__", n) : this.property("__data__")
- }, ya.filter = function (n) {
- var t, e, r, u = [];
- "function" != typeof n && (n = U(n));
- for (var i = 0, o = this.length; o > i; i++) {
- u.push(t = []), t.parentNode = (e = this[i]).parentNode;
- for (var a = 0, c = e.length; c > a; a++)(r = e[a]) && n.call(r, r.__data__, a, i) && t.push(r)
- }
- return S(u)
- }, ya.order = function () {
- for (var n = -1, t = this.length; ++n < t;)for (var e, r = this[n], u = r.length - 1, i = r[u]; --u >= 0;)(e = r[u]) && (i && i !== e.nextSibling && i.parentNode.insertBefore(e, i), i = e);
- return this
- }, ya.sort = function (n) {
- n = j.apply(this, arguments);
- for (var t = -1, e = this.length; ++t < e;)this[t].sort(n);
- return this.order()
- }, ya.each = function (n) {
- return F(this, function (t, e, r) {
- n.call(t, t.__data__, e, r)
- })
- }, ya.call = function (n) {
- var t = Jo(arguments);
- return n.apply(t[0] = this, t), this
- }, ya.empty = function () {
- return !this.node()
- }, ya.node = function () {
- for (var n = 0, t = this.length; t > n; n++)for (var e = this[n], r = 0, u = e.length; u > r; r++) {
- var i = e[r];
- if (i)return i
- }
- return null
- }, ya.size = function () {
- var n = 0;
- return F(this, function () {
- ++n
- }), n
- };
- var Ma = [];
- Bo.selection.enter = H, Bo.selection.enter.prototype = Ma, Ma.append = ya.append, Ma.empty = ya.empty, Ma.node = ya.node, Ma.call = ya.call, Ma.size = ya.size, Ma.select = function (n) {
- for (var t, e, r, u, i, o = [], a = -1, c = this.length; ++a < c;) {
- r = (u = this[a]).update, o.push(t = []), t.parentNode = u.parentNode;
- for (var l = -1, s = u.length; ++l < s;)(i = u[l]) ? (t.push(r[l] = e = n.call(u.parentNode, i.__data__, l, a)), e.__data__ = i.__data__) : t.push(null)
- }
- return S(o)
- }, Ma.insert = function (n, t) {
- return arguments.length < 2 && (t = O(this)), ya.insert.call(this, n, t)
- }, ya.transition = function () {
- for (var n, t, e = Cl || ++ql, r = [], u = Nl || {
- time: Date.now(),
- ease: wu,
- delay: 0,
- duration: 250
- }, i = -1, o = this.length; ++i < o;) {
- r.push(n = []);
- for (var a = this[i], c = -1, l = a.length; ++c < l;)(t = a[c]) && Ho(t, c, e, u), n.push(t)
- }
- return Uo(r, e)
- }, ya.interrupt = function () {
- return this.each(Y)
- }, Bo.select = function (n) {
- var t = ["string" == typeof n ? pa(n, Go) : n];
- return t.parentNode = Ko, S([t])
- }, Bo.selectAll = function (n) {
- var t = Jo("string" == typeof n ? va(n, Go) : n);
- return t.parentNode = Ko, S([t])
- };
- var _a = Bo.select(Ko);
- ya.on = function (n, t, e) {
- var r = arguments.length;
- if (3 > r) {
- if ("string" != typeof n) {
- 2 > r && (t = !1);
- for (e in n)this.each(I(e, n[e], t));
- return this
- }
- if (2 > r)return (r = this.node()["__on" + n]) && r._;
- e = !1
- }
- return this.each(I(n, t, e))
- };
- var ba = Bo.map({mouseenter: "mouseover", mouseleave: "mouseout"});
- ba.forEach(function (n) {
- "on" + n in Go && ba.remove(n)
- });
- var wa = "onselectstart"in Go ? null : m(Ko.style, "userSelect"), Sa = 0;
- Bo.mouse = function (n) {
- return $(n, b())
- };
- var ka = /WebKit/.test(Qo.navigator.userAgent) ? -1 : 0;
- Bo.touch = function (n, t, e) {
- if (arguments.length < 3 && (e = t, t = b().changedTouches), t)for (var r, u = 0, i = t.length; i > u; ++u)if ((r = t[u]).identifier === e)return $(n, r)
- }, Bo.behavior.drag = function () {
- function n() {
- this.on("mousedown.drag", u).on("touchstart.drag", i)
- }
-
- function t(n, t, u, i, o) {
- return function () {
- function a() {
- var n, e, r = t(h, v);
- r && (n = r[0] - x[0], e = r[1] - x[1], p |= n | e, x = r, g({
- type: "drag",
- x: r[0] + l[0],
- y: r[1] + l[1],
- dx: n,
- dy: e
- }))
- }
-
- function c() {
- t(h, v) && (m.on(i + d, null).on(o + d, null), y(p && Bo.event.target === f), g({type: "dragend"}))
- }
-
- var l, s = this, f = Bo.event.target, h = s.parentNode, g = e.of(s, arguments), p = 0, v = n(), d = ".drag" + (null == v ? "" : "-" + v), m = Bo.select(u()).on(i + d, a).on(o + d, c), y = X(), x = t(h, v);
- r ? (l = r.apply(s, arguments), l = [l.x - x[0], l.y - x[1]]) : l = [0, 0], g({type: "dragstart"})
- }
- }
-
- var e = w(n, "drag", "dragstart", "dragend"), r = null, u = t(y, Bo.mouse, J, "mousemove", "mouseup"), i = t(B, Bo.touch, W, "touchmove", "touchend");
- return n.origin = function (t) {
- return arguments.length ? (r = t, n) : r
- }, Bo.rebind(n, e, "on")
- }, Bo.touches = function (n, t) {
- return arguments.length < 2 && (t = b().touches), t ? Jo(t).map(function (t) {
- var e = $(n, t);
- return e.identifier = t.identifier, e
- }) : []
- };
- var Ea = Math.PI, Aa = 2 * Ea, Ca = Ea / 2, Na = 1e-6, za = Na * Na, La = Ea / 180, Ta = 180 / Ea, qa = Math.SQRT2, Ra = 2, Da = 4;
- Bo.interpolateZoom = function (n, t) {
- function e(n) {
- var t = n * y;
- if (m) {
- var e = et(v), o = i / (Ra * h) * (e * rt(qa * t + v) - tt(v));
- return [r + o * l, u + o * s, i * e / et(qa * t + v)]
- }
- return [r + n * l, u + n * s, i * Math.exp(qa * t)]
- }
-
- var r = n[0], u = n[1], i = n[2], o = t[0], a = t[1], c = t[2], l = o - r, s = a - u, f = l * l + s * s, h = Math.sqrt(f), g = (c * c - i * i + Da * f) / (2 * i * Ra * h), p = (c * c - i * i - Da * f) / (2 * c * Ra * h), v = Math.log(Math.sqrt(g * g + 1) - g), d = Math.log(Math.sqrt(p * p + 1) - p), m = d - v, y = (m || Math.log(c / i)) / qa;
- return e.duration = 1e3 * y, e
- }, Bo.behavior.zoom = function () {
- function n(n) {
- n.on(A, l).on(ja + ".zoom", f).on("dblclick.zoom", h).on(z, s)
- }
-
- function t(n) {
- return [(n[0] - S.x) / S.k, (n[1] - S.y) / S.k]
- }
-
- function e(n) {
- return [n[0] * S.k + S.x, n[1] * S.k + S.y]
- }
-
- function r(n) {
- S.k = Math.max(E[0], Math.min(E[1], n))
- }
-
- function u(n, t) {
- t = e(t), S.x += n[0] - t[0], S.y += n[1] - t[1]
- }
-
- function i() {
- x && x.domain(y.range().map(function (n) {
- return (n - S.x) / S.k
- }).map(y.invert)), b && b.domain(M.range().map(function (n) {
- return (n - S.y) / S.k
- }).map(M.invert))
- }
-
- function o(n) {
- n({type: "zoomstart"})
- }
-
- function a(n) {
- i(), n({type: "zoom", scale: S.k, translate: [S.x, S.y]})
- }
-
- function c(n) {
- n({type: "zoomend"})
- }
-
- function l() {
- function n() {
- s = 1, u(Bo.mouse(r), h), a(l)
- }
-
- function e() {
- f.on(C, null).on(N, null), g(s && Bo.event.target === i), c(l)
- }
-
- var r = this, i = Bo.event.target, l = L.of(r, arguments), s = 0, f = Bo.select(Qo).on(C, n).on(N, e), h = t(Bo.mouse(r)), g = X();
- Y.call(r), o(l)
- }
-
- function s() {
- function n() {
- var n = Bo.touches(g);
- return h = S.k, n.forEach(function (n) {
- n.identifier in v && (v[n.identifier] = t(n))
- }), n
- }
-
- function e() {
- var t = Bo.event.target;
- Bo.select(t).on(x, i).on(M, f), b.push(t);
- for (var e = Bo.event.changedTouches, o = 0, c = e.length; c > o; ++o)v[e[o].identifier] = null;
- var l = n(), s = Date.now();
- if (1 === l.length) {
- if (500 > s - m) {
- var h = l[0], g = v[h.identifier];
- r(2 * S.k), u(h, g), _(), a(p)
- }
- m = s
- } else if (l.length > 1) {
- var h = l[0], y = l[1], w = h[0] - y[0], k = h[1] - y[1];
- d = w * w + k * k
- }
- }
-
- function i() {
- for (var n, t, e, i, o = Bo.touches(g), c = 0, l = o.length; l > c; ++c, i = null)if (e = o[c], i = v[e.identifier]) {
- if (t)break;
- n = e, t = i
- }
- if (i) {
- var s = (s = e[0] - n[0]) * s + (s = e[1] - n[1]) * s, f = d && Math.sqrt(s / d);
- n = [(n[0] + e[0]) / 2, (n[1] + e[1]) / 2], t = [(t[0] + i[0]) / 2, (t[1] + i[1]) / 2], r(f * h)
- }
- m = null, u(n, t), a(p)
- }
-
- function f() {
- if (Bo.event.touches.length) {
- for (var t = Bo.event.changedTouches, e = 0, r = t.length; r > e; ++e)delete v[t[e].identifier];
- for (var u in v)return void n()
- }
- Bo.selectAll(b).on(y, null), w.on(A, l).on(z, s), k(), c(p)
- }
-
- var h, g = this, p = L.of(g, arguments), v = {}, d = 0, y = ".zoom-" + Bo.event.changedTouches[0].identifier, x = "touchmove" + y, M = "touchend" + y, b = [], w = Bo.select(g), k = X();
- Y.call(g), e(), o(p), w.on(A, null).on(z, e)
- }
-
- function f() {
- var n = L.of(this, arguments);
- d ? clearTimeout(d) : (g = t(p = v || Bo.mouse(this)), Y.call(this), o(n)), d = setTimeout(function () {
- d = null, c(n)
- }, 50), _(), r(Math.pow(2, .002 * Pa()) * S.k), u(p, g), a(n)
- }
-
- function h() {
- var n = L.of(this, arguments), e = Bo.mouse(this), i = t(e), l = Math.log(S.k) / Math.LN2;
- o(n), r(Math.pow(2, Bo.event.shiftKey ? Math.ceil(l) - 1 : Math.floor(l) + 1)), u(e, i), a(n), c(n)
- }
-
- var g, p, v, d, m, y, x, M, b, S = {
- x: 0,
- y: 0,
- k: 1
- }, k = [960, 500], E = Ua, A = "mousedown.zoom", C = "mousemove.zoom", N = "mouseup.zoom", z = "touchstart.zoom", L = w(n, "zoomstart", "zoom", "zoomend");
- return n.event = function (n) {
- n.each(function () {
- var n = L.of(this, arguments), t = S;
- Cl ? Bo.select(this).transition().each("start.zoom", function () {
- S = this.__chart__ || {x: 0, y: 0, k: 1}, o(n)
- }).tween("zoom:zoom", function () {
- var e = k[0], r = k[1], u = e / 2, i = r / 2, o = Bo.interpolateZoom([(u - S.x) / S.k, (i - S.y) / S.k, e / S.k], [(u - t.x) / t.k, (i - t.y) / t.k, e / t.k]);
- return function (t) {
- var r = o(t), c = e / r[2];
- this.__chart__ = S = {x: u - r[0] * c, y: i - r[1] * c, k: c}, a(n)
- }
- }).each("end.zoom", function () {
- c(n)
- }) : (this.__chart__ = S, o(n), a(n), c(n))
- })
- }, n.translate = function (t) {
- return arguments.length ? (S = {x: +t[0], y: +t[1], k: S.k}, i(), n) : [S.x, S.y]
- }, n.scale = function (t) {
- return arguments.length ? (S = {x: S.x, y: S.y, k: +t}, i(), n) : S.k
- }, n.scaleExtent = function (t) {
- return arguments.length ? (E = null == t ? Ua : [+t[0], +t[1]], n) : E
- }, n.center = function (t) {
- return arguments.length ? (v = t && [+t[0], +t[1]], n) : v
- }, n.size = function (t) {
- return arguments.length ? (k = t && [+t[0], +t[1]], n) : k
- }, n.x = function (t) {
- return arguments.length ? (x = t, y = t.copy(), S = {x: 0, y: 0, k: 1}, n) : x
- }, n.y = function (t) {
- return arguments.length ? (b = t, M = t.copy(), S = {x: 0, y: 0, k: 1}, n) : b
- }, Bo.rebind(n, L, "on")
- };
- var Pa, Ua = [0, 1 / 0], ja = "onwheel"in Go ? (Pa = function () {
- return -Bo.event.deltaY * (Bo.event.deltaMode ? 120 : 1)
- }, "wheel") : "onmousewheel"in Go ? (Pa = function () {
- return Bo.event.wheelDelta
- }, "mousewheel") : (Pa = function () {
- return -Bo.event.detail
- }, "MozMousePixelScroll");
- Bo.color = it, it.prototype.toString = function () {
- return this.rgb() + ""
- }, Bo.hsl = ot;
- var Fa = ot.prototype = new it;
- Fa.brighter = function (n) {
- return n = Math.pow(.7, arguments.length ? n : 1), new ot(this.h, this.s, this.l / n)
- }, Fa.darker = function (n) {
- return n = Math.pow(.7, arguments.length ? n : 1), new ot(this.h, this.s, n * this.l)
- }, Fa.rgb = function () {
- return at(this.h, this.s, this.l)
- }, Bo.hcl = ct;
- var Ha = ct.prototype = new it;
- Ha.brighter = function (n) {
- return new ct(this.h, this.c, Math.min(100, this.l + Oa * (arguments.length ? n : 1)))
- }, Ha.darker = function (n) {
- return new ct(this.h, this.c, Math.max(0, this.l - Oa * (arguments.length ? n : 1)))
- }, Ha.rgb = function () {
- return lt(this.h, this.c, this.l).rgb()
- }, Bo.lab = st;
- var Oa = 18, Ya = .95047, Ia = 1, Za = 1.08883, Va = st.prototype = new it;
- Va.brighter = function (n) {
- return new st(Math.min(100, this.l + Oa * (arguments.length ? n : 1)), this.a, this.b)
- }, Va.darker = function (n) {
- return new st(Math.max(0, this.l - Oa * (arguments.length ? n : 1)), this.a, this.b)
- }, Va.rgb = function () {
- return ft(this.l, this.a, this.b)
- }, Bo.rgb = dt;
- var Xa = dt.prototype = new it;
- Xa.brighter = function (n) {
- n = Math.pow(.7, arguments.length ? n : 1);
- var t = this.r, e = this.g, r = this.b, u = 30;
- return t || e || r ? (t && u > t && (t = u), e && u > e && (e = u), r && u > r && (r = u), new dt(Math.min(255, t / n), Math.min(255, e / n), Math.min(255, r / n))) : new dt(u, u, u)
- }, Xa.darker = function (n) {
- return n = Math.pow(.7, arguments.length ? n : 1), new dt(n * this.r, n * this.g, n * this.b)
- }, Xa.hsl = function () {
- return _t(this.r, this.g, this.b)
- }, Xa.toString = function () {
- return "#" + xt(this.r) + xt(this.g) + xt(this.b)
- };
- var $a = Bo.map({
- aliceblue: 15792383,
- antiquewhite: 16444375,
- aqua: 65535,
- aquamarine: 8388564,
- azure: 15794175,
- beige: 16119260,
- bisque: 16770244,
- black: 0,
- blanchedalmond: 16772045,
- blue: 255,
- blueviolet: 9055202,
- brown: 10824234,
- burlywood: 14596231,
- cadetblue: 6266528,
- chartreuse: 8388352,
- chocolate: 13789470,
- coral: 16744272,
- cornflowerblue: 6591981,
- cornsilk: 16775388,
- crimson: 14423100,
- cyan: 65535,
- darkblue: 139,
- darkcyan: 35723,
- darkgoldenrod: 12092939,
- darkgray: 11119017,
- darkgreen: 25600,
- darkgrey: 11119017,
- darkkhaki: 12433259,
- darkmagenta: 9109643,
- darkolivegreen: 5597999,
- darkorange: 16747520,
- darkorchid: 10040012,
- darkred: 9109504,
- darksalmon: 15308410,
- darkseagreen: 9419919,
- darkslateblue: 4734347,
- darkslategray: 3100495,
- darkslategrey: 3100495,
- darkturquoise: 52945,
- darkviolet: 9699539,
- deeppink: 16716947,
- deepskyblue: 49151,
- dimgray: 6908265,
- dimgrey: 6908265,
- dodgerblue: 2003199,
- firebrick: 11674146,
- floralwhite: 16775920,
- forestgreen: 2263842,
- fuchsia: 16711935,
- gainsboro: 14474460,
- ghostwhite: 16316671,
- gold: 16766720,
- goldenrod: 14329120,
- gray: 8421504,
- green: 32768,
- greenyellow: 11403055,
- grey: 8421504,
- honeydew: 15794160,
- hotpink: 16738740,
- indianred: 13458524,
- indigo: 4915330,
- ivory: 16777200,
- khaki: 15787660,
- lavender: 15132410,
- lavenderblush: 16773365,
- lawngreen: 8190976,
- lemonchiffon: 16775885,
- lightblue: 11393254,
- lightcoral: 15761536,
- lightcyan: 14745599,
- lightgoldenrodyellow: 16448210,
- lightgray: 13882323,
- lightgreen: 9498256,
- lightgrey: 13882323,
- lightpink: 16758465,
- lightsalmon: 16752762,
- lightseagreen: 2142890,
- lightskyblue: 8900346,
- lightslategray: 7833753,
- lightslategrey: 7833753,
- lightsteelblue: 11584734,
- lightyellow: 16777184,
- lime: 65280,
- limegreen: 3329330,
- linen: 16445670,
- magenta: 16711935,
- maroon: 8388608,
- mediumaquamarine: 6737322,
- mediumblue: 205,
- mediumorchid: 12211667,
- mediumpurple: 9662683,
- mediumseagreen: 3978097,
- mediumslateblue: 8087790,
- mediumspringgreen: 64154,
- mediumturquoise: 4772300,
- mediumvioletred: 13047173,
- midnightblue: 1644912,
- mintcream: 16121850,
- mistyrose: 16770273,
- moccasin: 16770229,
- navajowhite: 16768685,
- navy: 128,
- oldlace: 16643558,
- olive: 8421376,
- olivedrab: 7048739,
- orange: 16753920,
- orangered: 16729344,
- orchid: 14315734,
- palegoldenrod: 15657130,
- palegreen: 10025880,
- paleturquoise: 11529966,
- palevioletred: 14381203,
- papayawhip: 16773077,
- peachpuff: 16767673,
- peru: 13468991,
- pink: 16761035,
- plum: 14524637,
- powderblue: 11591910,
- purple: 8388736,
- red: 16711680,
- rosybrown: 12357519,
- royalblue: 4286945,
- saddlebrown: 9127187,
- salmon: 16416882,
- sandybrown: 16032864,
- seagreen: 3050327,
- seashell: 16774638,
- sienna: 10506797,
- silver: 12632256,
- skyblue: 8900331,
- slateblue: 6970061,
- slategray: 7372944,
- slategrey: 7372944,
- snow: 16775930,
- springgreen: 65407,
- steelblue: 4620980,
- tan: 13808780,
- teal: 32896,
- thistle: 14204888,
- tomato: 16737095,
- turquoise: 4251856,
- violet: 15631086,
- wheat: 16113331,
- white: 16777215,
- whitesmoke: 16119285,
- yellow: 16776960,
- yellowgreen: 10145074
- });
- $a.forEach(function (n, t) {
- $a.set(n, mt(t))
- }), Bo.functor = kt, Bo.xhr = At(Et), Bo.dsv = function (n, t) {
- function e(n, e, i) {
- arguments.length < 3 && (i = e, e = null);
- var o = Ct(n, t, null == e ? r : u(e), i);
- return o.row = function (n) {
- return arguments.length ? o.response(null == (e = n) ? r : u(n)) : e
- }, o
- }
-
- function r(n) {
- return e.parse(n.responseText)
- }
-
- function u(n) {
- return function (t) {
- return e.parse(t.responseText, n)
- }
- }
-
- function i(t) {
- return t.map(o).join(n)
- }
-
- function o(n) {
- return a.test(n) ? '"' + n.replace(/\"/g, '""') + '"' : n
- }
-
- var a = new RegExp('["' + n + "\n]"), c = n.charCodeAt(0);
- return e.parse = function (n, t) {
- var r;
- return e.parseRows(n, function (n, e) {
- if (r)return r(n, e - 1);
- var u = new Function("d", "return {" + n.map(function (n, t) {
- return JSON.stringify(n) + ": d[" + t + "]"
- }).join(",") + "}");
- r = t ? function (n, e) {
- return t(u(n), e)
- } : u
- })
- }, e.parseRows = function (n, t) {
- function e() {
- if (s >= l)return o;
- if (u)return u = !1, i;
- var t = s;
- if (34 === n.charCodeAt(t)) {
- for (var e = t; e++ < l;)if (34 === n.charCodeAt(e)) {
- if (34 !== n.charCodeAt(e + 1))break;
- ++e
- }
- s = e + 2;
- var r = n.charCodeAt(e + 1);
- return 13 === r ? (u = !0, 10 === n.charCodeAt(e + 2) && ++s) : 10 === r && (u = !0), n.slice(t + 1, e).replace(/""/g, '"')
- }
- for (; l > s;) {
- var r = n.charCodeAt(s++), a = 1;
- if (10 === r)u = !0; else if (13 === r)u = !0, 10 === n.charCodeAt(s) && (++s, ++a); else if (r !== c)continue;
- return n.slice(t, s - a)
- }
- return n.slice(t)
- }
-
- for (var r, u, i = {}, o = {}, a = [], l = n.length, s = 0, f = 0; (r = e()) !== o;) {
- for (var h = []; r !== i && r !== o;)h.push(r), r = e();
- t && null == (h = t(h, f++)) || a.push(h)
- }
- return a
- }, e.format = function (t) {
- if (Array.isArray(t[0]))return e.formatRows(t);
- var r = new v, u = [];
- return t.forEach(function (n) {
- for (var t in n)r.has(t) || u.push(r.add(t))
- }), [u.map(o).join(n)].concat(t.map(function (t) {
- return u.map(function (n) {
- return o(t[n])
- }).join(n)
- })).join("\n")
- }, e.formatRows = function (n) {
- return n.map(i).join("\n")
- }, e
- }, Bo.csv = Bo.dsv(",", "text/csv"), Bo.tsv = Bo.dsv(" ", "text/tab-separated-values");
- var Ba, Wa, Ja, Ga, Ka, Qa = Qo[m(Qo, "requestAnimationFrame")] || function (n) {
- setTimeout(n, 17)
- };
- Bo.timer = function (n, t, e) {
- var r = arguments.length;
- 2 > r && (t = 0), 3 > r && (e = Date.now());
- var u = e + t, i = {c: n, t: u, f: !1, n: null};
- Wa ? Wa.n = i : Ba = i, Wa = i, Ja || (Ga = clearTimeout(Ga), Ja = 1, Qa(Lt))
- }, Bo.timer.flush = function () {
- Tt(), qt()
- }, Bo.round = function (n, t) {
- return t ? Math.round(n * (t = Math.pow(10, t))) / t : Math.round(n)
- };
- var nc = ["y", "z", "a", "f", "p", "n", "\xb5", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"].map(Dt);
- Bo.formatPrefix = function (n, t) {
- var e = 0;
- return n && (0 > n && (n *= -1), t && (n = Bo.round(n, Rt(n, t))), e = 1 + Math.floor(1e-12 + Math.log(n) / Math.LN10), e = Math.max(-24, Math.min(24, 3 * Math.floor((e - 1) / 3)))), nc[8 + e / 3]
- };
- var tc = /(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i, ec = Bo.map({
- b: function (n) {
- return n.toString(2)
- }, c: function (n) {
- return String.fromCharCode(n)
- }, o: function (n) {
- return n.toString(8)
- }, x: function (n) {
- return n.toString(16)
- }, X: function (n) {
- return n.toString(16).toUpperCase()
- }, g: function (n, t) {
- return n.toPrecision(t)
- }, e: function (n, t) {
- return n.toExponential(t)
- }, f: function (n, t) {
- return n.toFixed(t)
- }, r: function (n, t) {
- return (n = Bo.round(n, Rt(n, t))).toFixed(Math.max(0, Math.min(20, Rt(n * (1 + 1e-15), t))))
- }
- }), rc = Bo.time = {}, uc = Date;
- jt.prototype = {
- getDate: function () {
- return this._.getUTCDate()
- }, getDay: function () {
- return this._.getUTCDay()
- }, getFullYear: function () {
- return this._.getUTCFullYear()
- }, getHours: function () {
- return this._.getUTCHours()
- }, getMilliseconds: function () {
- return this._.getUTCMilliseconds()
- }, getMinutes: function () {
- return this._.getUTCMinutes()
- }, getMonth: function () {
- return this._.getUTCMonth()
- }, getSeconds: function () {
- return this._.getUTCSeconds()
- }, getTime: function () {
- return this._.getTime()
- }, getTimezoneOffset: function () {
- return 0
- }, valueOf: function () {
- return this._.valueOf()
- }, setDate: function () {
- ic.setUTCDate.apply(this._, arguments)
- }, setDay: function () {
- ic.setUTCDay.apply(this._, arguments)
- }, setFullYear: function () {
- ic.setUTCFullYear.apply(this._, arguments)
- }, setHours: function () {
- ic.setUTCHours.apply(this._, arguments)
- }, setMilliseconds: function () {
- ic.setUTCMilliseconds.apply(this._, arguments)
- }, setMinutes: function () {
- ic.setUTCMinutes.apply(this._, arguments)
- }, setMonth: function () {
- ic.setUTCMonth.apply(this._, arguments)
- }, setSeconds: function () {
- ic.setUTCSeconds.apply(this._, arguments)
- }, setTime: function () {
- ic.setTime.apply(this._, arguments)
- }
- };
- var ic = Date.prototype;
- rc.year = Ft(function (n) {
- return n = rc.day(n), n.setMonth(0, 1), n
- }, function (n, t) {
- n.setFullYear(n.getFullYear() + t)
- }, function (n) {
- return n.getFullYear()
- }), rc.years = rc.year.range, rc.years.utc = rc.year.utc.range, rc.day = Ft(function (n) {
- var t = new uc(2e3, 0);
- return t.setFullYear(n.getFullYear(), n.getMonth(), n.getDate()), t
- }, function (n, t) {
- n.setDate(n.getDate() + t)
- }, function (n) {
- return n.getDate() - 1
- }), rc.days = rc.day.range, rc.days.utc = rc.day.utc.range, rc.dayOfYear = function (n) {
- var t = rc.year(n);
- return Math.floor((n - t - 6e4 * (n.getTimezoneOffset() - t.getTimezoneOffset())) / 864e5)
- }, ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"].forEach(function (n, t) {
- t = 7 - t;
- var e = rc[n] = Ft(function (n) {
- return (n = rc.day(n)).setDate(n.getDate() - (n.getDay() + t) % 7), n
- }, function (n, t) {
- n.setDate(n.getDate() + 7 * Math.floor(t))
- }, function (n) {
- var e = rc.year(n).getDay();
- return Math.floor((rc.dayOfYear(n) + (e + t) % 7) / 7) - (e !== t)
- });
- rc[n + "s"] = e.range, rc[n + "s"].utc = e.utc.range, rc[n + "OfYear"] = function (n) {
- var e = rc.year(n).getDay();
- return Math.floor((rc.dayOfYear(n) + (e + t) % 7) / 7)
- }
- }), rc.week = rc.sunday, rc.weeks = rc.sunday.range, rc.weeks.utc = rc.sunday.utc.range, rc.weekOfYear = rc.sundayOfYear;
- var oc = {"-": "", _: " ", 0: "0"}, ac = /^\s*\d+/, cc = /^%/;
- Bo.locale = function (n) {
- return {numberFormat: Pt(n), timeFormat: Ot(n)}
- };
- var lc = Bo.locale({
- decimal: ".",
- thousands: ",",
- grouping: [3],
- currency: ["$", ""],
- dateTime: "%a %b %e %X %Y",
- date: "%m/%d/%Y",
- time: "%H:%M:%S",
- periods: ["AM", "PM"],
- days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
- shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
- months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
- shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
- });
- Bo.format = lc.numberFormat, Bo.geo = {}, ce.prototype = {
- s: 0, t: 0, add: function (n) {
- le(n, this.t, sc), le(sc.s, this.s, this), this.s ? this.t += sc.t : this.s = sc.t
- }, reset: function () {
- this.s = this.t = 0
- }, valueOf: function () {
- return this.s
- }
- };
- var sc = new ce;
- Bo.geo.stream = function (n, t) {
- n && fc.hasOwnProperty(n.type) ? fc[n.type](n, t) : se(n, t)
- };
- var fc = {
- Feature: function (n, t) {
- se(n.geometry, t)
- }, FeatureCollection: function (n, t) {
- for (var e = n.features, r = -1, u = e.length; ++r < u;)se(e[r].geometry, t)
- }
- }, hc = {
- Sphere: function (n, t) {
- t.sphere()
- }, Point: function (n, t) {
- n = n.coordinates, t.point(n[0], n[1], n[2])
- }, MultiPoint: function (n, t) {
- for (var e = n.coordinates, r = -1, u = e.length; ++r < u;)n = e[r], t.point(n[0], n[1], n[2])
- }, LineString: function (n, t) {
- fe(n.coordinates, t, 0)
- }, MultiLineString: function (n, t) {
- for (var e = n.coordinates, r = -1, u = e.length; ++r < u;)fe(e[r], t, 0)
- }, Polygon: function (n, t) {
- he(n.coordinates, t)
- }, MultiPolygon: function (n, t) {
- for (var e = n.coordinates, r = -1, u = e.length; ++r < u;)he(e[r], t)
- }, GeometryCollection: function (n, t) {
- for (var e = n.geometries, r = -1, u = e.length; ++r < u;)se(e[r], t)
- }
- };
- Bo.geo.area = function (n) {
- return gc = 0, Bo.geo.stream(n, vc), gc
- };
- var gc, pc = new ce, vc = {
- sphere: function () {
- gc += 4 * Ea
- }, point: y, lineStart: y, lineEnd: y, polygonStart: function () {
- pc.reset(), vc.lineStart = ge
- }, polygonEnd: function () {
- var n = 2 * pc;
- gc += 0 > n ? 4 * Ea + n : n, vc.lineStart = vc.lineEnd = vc.point = y
- }
- };
- Bo.geo.bounds = function () {
- function n(n, t) {
- x.push(M = [s = n, h = n]), f > t && (f = t), t > g && (g = t)
- }
-
- function t(t, e) {
- var r = pe([t * La, e * La]);
- if (m) {
- var u = de(m, r), i = [u[1], -u[0], 0], o = de(i, u);
- xe(o), o = Me(o);
- var c = t - p, l = c > 0 ? 1 : -1, v = o[0] * Ta * l, d = ca(c) > 180;
- if (d ^ (v > l * p && l * t > v)) {
- var y = o[1] * Ta;
- y > g && (g = y)
- } else if (v = (v + 360) % 360 - 180, d ^ (v > l * p && l * t > v)) {
- var y = -o[1] * Ta;
- f > y && (f = y)
- } else f > e && (f = e), e > g && (g = e);
- d ? p > t ? a(s, t) > a(s, h) && (h = t) : a(t, h) > a(s, h) && (s = t) : h >= s ? (s > t && (s = t), t > h && (h = t)) : t > p ? a(s, t) > a(s, h) && (h = t) : a(t, h) > a(s, h) && (s = t)
- } else n(t, e);
- m = r, p = t
- }
-
- function e() {
- _.point = t
- }
-
- function r() {
- M[0] = s, M[1] = h, _.point = n, m = null
- }
-
- function u(n, e) {
- if (m) {
- var r = n - p;
- y += ca(r) > 180 ? r + (r > 0 ? 360 : -360) : r
- } else v = n, d = e;
- vc.point(n, e), t(n, e)
- }
-
- function i() {
- vc.lineStart()
- }
-
- function o() {
- u(v, d), vc.lineEnd(), ca(y) > Na && (s = -(h = 180)), M[0] = s, M[1] = h, m = null
- }
-
- function a(n, t) {
- return (t -= n) < 0 ? t + 360 : t
- }
-
- function c(n, t) {
- return n[0] - t[0]
- }
-
- function l(n, t) {
- return t[0] <= t[1] ? t[0] <= n && n <= t[1] : n < t[0] || t[1] < n
- }
-
- var s, f, h, g, p, v, d, m, y, x, M, _ = {
- point: n, lineStart: e, lineEnd: r, polygonStart: function () {
- _.point = u, _.lineStart = i, _.lineEnd = o, y = 0, vc.polygonStart()
- }, polygonEnd: function () {
- vc.polygonEnd(), _.point = n, _.lineStart = e, _.lineEnd = r, 0 > pc ? (s = -(h = 180), f = -(g = 90)) : y > Na ? g = 90 : -Na > y && (f = -90), M[0] = s, M[1] = h
- }
- };
- return function (n) {
- g = h = -(s = f = 1 / 0), x = [], Bo.geo.stream(n, _);
- var t = x.length;
- if (t) {
- x.sort(c);
- for (var e, r = 1, u = x[0], i = [u]; t > r; ++r)e = x[r], l(e[0], u) || l(e[1], u) ? (a(u[0], e[1]) > a(u[0], u[1]) && (u[1] = e[1]), a(e[0], u[1]) > a(u[0], u[1]) && (u[0] = e[0])) : i.push(u = e);
- for (var o, e, p = -1 / 0, t = i.length - 1, r = 0, u = i[t]; t >= r; u = e, ++r)e = i[r], (o = a(u[1], e[0])) > p && (p = o, s = e[0], h = u[1])
- }
- return x = M = null, 1 / 0 === s || 1 / 0 === f ? [[0 / 0, 0 / 0], [0 / 0, 0 / 0]] : [[s, f], [h, g]]
- }
- }(), Bo.geo.centroid = function (n) {
- dc = mc = yc = xc = Mc = _c = bc = wc = Sc = kc = Ec = 0, Bo.geo.stream(n, Ac);
- var t = Sc, e = kc, r = Ec, u = t * t + e * e + r * r;
- return za > u && (t = _c, e = bc, r = wc, Na > mc && (t = yc, e = xc, r = Mc), u = t * t + e * e + r * r, za > u) ? [0 / 0, 0 / 0] : [Math.atan2(e, t) * Ta, nt(r / Math.sqrt(u)) * Ta]
- };
- var dc, mc, yc, xc, Mc, _c, bc, wc, Sc, kc, Ec, Ac = {
- sphere: y,
- point: be,
- lineStart: Se,
- lineEnd: ke,
- polygonStart: function () {
- Ac.lineStart = Ee
- },
- polygonEnd: function () {
- Ac.lineStart = Se
- }
- }, Cc = Le(Ae, De, Ue, [-Ea, -Ea / 2]), Nc = 1e9;
- Bo.geo.clipExtent = function () {
- var n, t, e, r, u, i, o = {
- stream: function (n) {
- return u && (u.valid = !1), u = i(n), u.valid = !0, u
- }, extent: function (a) {
- return arguments.length ? (i = Oe(n = +a[0][0], t = +a[0][1], e = +a[1][0], r = +a[1][1]), u && (u.valid = !1, u = null), o) : [[n, t], [e, r]]
- }
- };
- return o.extent([[0, 0], [960, 500]])
- }, (Bo.geo.conicEqualArea = function () {
- return Ie(Ze)
- }).raw = Ze, Bo.geo.albers = function () {
- return Bo.geo.conicEqualArea().rotate([96, 0]).center([-.6, 38.7]).parallels([29.5, 45.5]).scale(1070)
- }, Bo.geo.albersUsa = function () {
- function n(n) {
- var i = n[0], o = n[1];
- return t = null, e(i, o), t || (r(i, o), t) || u(i, o), t
- }
-
- var t, e, r, u, i = Bo.geo.albers(), o = Bo.geo.conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), a = Bo.geo.conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), c = {
- point: function (n, e) {
- t = [n, e]
- }
- };
- return n.invert = function (n) {
- var t = i.scale(), e = i.translate(), r = (n[0] - e[0]) / t, u = (n[1] - e[1]) / t;
- return (u >= .12 && .234 > u && r >= -.425 && -.214 > r ? o : u >= .166 && .234 > u && r >= -.214 && -.115 > r ? a : i).invert(n)
- }, n.stream = function (n) {
- var t = i.stream(n), e = o.stream(n), r = a.stream(n);
- return {
- point: function (n, u) {
- t.point(n, u), e.point(n, u), r.point(n, u)
- }, sphere: function () {
- t.sphere(), e.sphere(), r.sphere()
- }, lineStart: function () {
- t.lineStart(), e.lineStart(), r.lineStart()
- }, lineEnd: function () {
- t.lineEnd(), e.lineEnd(), r.lineEnd()
- }, polygonStart: function () {
- t.polygonStart(), e.polygonStart(), r.polygonStart()
- }, polygonEnd: function () {
- t.polygonEnd(), e.polygonEnd(), r.polygonEnd()
- }
- }
- }, n.precision = function (t) {
- return arguments.length ? (i.precision(t), o.precision(t), a.precision(t), n) : i.precision()
- }, n.scale = function (t) {
- return arguments.length ? (i.scale(t), o.scale(.35 * t), a.scale(t), n.translate(i.translate())) : i.scale()
- }, n.translate = function (t) {
- if (!arguments.length)return i.translate();
- var l = i.scale(), s = +t[0], f = +t[1];
- return e = i.translate(t).clipExtent([[s - .455 * l, f - .238 * l], [s + .455 * l, f + .238 * l]]).stream(c).point, r = o.translate([s - .307 * l, f + .201 * l]).clipExtent([[s - .425 * l + Na, f + .12 * l + Na], [s - .214 * l - Na, f + .234 * l - Na]]).stream(c).point, u = a.translate([s - .205 * l, f + .212 * l]).clipExtent([[s - .214 * l + Na, f + .166 * l + Na], [s - .115 * l - Na, f + .234 * l - Na]]).stream(c).point, n
- }, n.scale(1070)
- };
- var zc, Lc, Tc, qc, Rc, Dc, Pc = {
- point: y, lineStart: y, lineEnd: y, polygonStart: function () {
- Lc = 0, Pc.lineStart = Ve
- }, polygonEnd: function () {
- Pc.lineStart = Pc.lineEnd = Pc.point = y, zc += ca(Lc / 2)
- }
- }, Uc = {point: Xe, lineStart: y, lineEnd: y, polygonStart: y, polygonEnd: y}, jc = {
- point: We,
- lineStart: Je,
- lineEnd: Ge,
- polygonStart: function () {
- jc.lineStart = Ke
- },
- polygonEnd: function () {
- jc.point = We, jc.lineStart = Je, jc.lineEnd = Ge
- }
- };
- Bo.geo.path = function () {
- function n(n) {
- return n && ("function" == typeof a && i.pointRadius(+a.apply(this, arguments)), o && o.valid || (o = u(i)), Bo.geo.stream(n, o)), i.result()
- }
-
- function t() {
- return o = null, n
- }
-
- var e, r, u, i, o, a = 4.5;
- return n.area = function (n) {
- return zc = 0, Bo.geo.stream(n, u(Pc)), zc
- }, n.centroid = function (n) {
- return yc = xc = Mc = _c = bc = wc = Sc = kc = Ec = 0, Bo.geo.stream(n, u(jc)), Ec ? [Sc / Ec, kc / Ec] : wc ? [_c / wc, bc / wc] : Mc ? [yc / Mc, xc / Mc] : [0 / 0, 0 / 0]
- }, n.bounds = function (n) {
- return Rc = Dc = -(Tc = qc = 1 / 0), Bo.geo.stream(n, u(Uc)), [[Tc, qc], [Rc, Dc]]
- }, n.projection = function (n) {
- return arguments.length ? (u = (e = n) ? n.stream || tr(n) : Et, t()) : e
- }, n.context = function (n) {
- return arguments.length ? (i = null == (r = n) ? new $e : new Qe(n), "function" != typeof a && i.pointRadius(a), t()) : r
- }, n.pointRadius = function (t) {
- return arguments.length ? (a = "function" == typeof t ? t : (i.pointRadius(+t), +t), n) : a
- }, n.projection(Bo.geo.albersUsa()).context(null)
- }, Bo.geo.transform = function (n) {
- return {
- stream: function (t) {
- var e = new er(t);
- for (var r in n)e[r] = n[r];
- return e
- }
- }
- }, er.prototype = {
- point: function (n, t) {
- this.stream.point(n, t)
- }, sphere: function () {
- this.stream.sphere()
- }, lineStart: function () {
- this.stream.lineStart()
- }, lineEnd: function () {
- this.stream.lineEnd()
- }, polygonStart: function () {
- this.stream.polygonStart()
- }, polygonEnd: function () {
- this.stream.polygonEnd()
- }
- }, Bo.geo.projection = ur, Bo.geo.projectionMutator = ir, (Bo.geo.equirectangular = function () {
- return ur(ar)
- }).raw = ar.invert = ar, Bo.geo.rotation = function (n) {
- function t(t) {
- return t = n(t[0] * La, t[1] * La), t[0] *= Ta, t[1] *= Ta, t
- }
-
- return n = lr(n[0] % 360 * La, n[1] * La, n.length > 2 ? n[2] * La : 0), t.invert = function (t) {
- return t = n.invert(t[0] * La, t[1] * La), t[0] *= Ta, t[1] *= Ta, t
- }, t
- }, cr.invert = ar, Bo.geo.circle = function () {
- function n() {
- var n = "function" == typeof r ? r.apply(this, arguments) : r, t = lr(-n[0] * La, -n[1] * La, 0).invert, u = [];
- return e(null, null, 1, {
- point: function (n, e) {
- u.push(n = t(n, e)), n[0] *= Ta, n[1] *= Ta
- }
- }), {type: "Polygon", coordinates: [u]}
- }
-
- var t, e, r = [0, 0], u = 6;
- return n.origin = function (t) {
- return arguments.length ? (r = t, n) : r
- }, n.angle = function (r) {
- return arguments.length ? (e = gr((t = +r) * La, u * La), n) : t
- }, n.precision = function (r) {
- return arguments.length ? (e = gr(t * La, (u = +r) * La), n) : u
- }, n.angle(90)
- }, Bo.geo.distance = function (n, t) {
- var e, r = (t[0] - n[0]) * La, u = n[1] * La, i = t[1] * La, o = Math.sin(r), a = Math.cos(r), c = Math.sin(u), l = Math.cos(u), s = Math.sin(i), f = Math.cos(i);
- return Math.atan2(Math.sqrt((e = f * o) * e + (e = l * s - c * f * a) * e), c * s + l * f * a)
- }, Bo.geo.graticule = function () {
- function n() {
- return {type: "MultiLineString", coordinates: t()}
- }
-
- function t() {
- return Bo.range(Math.ceil(i / d) * d, u, d).map(h).concat(Bo.range(Math.ceil(l / m) * m, c, m).map(g)).concat(Bo.range(Math.ceil(r / p) * p, e, p).filter(function (n) {
- return ca(n % d) > Na
- }).map(s)).concat(Bo.range(Math.ceil(a / v) * v, o, v).filter(function (n) {
- return ca(n % m) > Na
- }).map(f))
- }
-
- var e, r, u, i, o, a, c, l, s, f, h, g, p = 10, v = p, d = 90, m = 360, y = 2.5;
- return n.lines = function () {
- return t().map(function (n) {
- return {type: "LineString", coordinates: n}
- })
- }, n.outline = function () {
- return {
- type: "Polygon",
- coordinates: [h(i).concat(g(c).slice(1), h(u).reverse().slice(1), g(l).reverse().slice(1))]
- }
- }, n.extent = function (t) {
- return arguments.length ? n.majorExtent(t).minorExtent(t) : n.minorExtent()
- }, n.majorExtent = function (t) {
- return arguments.length ? (i = +t[0][0], u = +t[1][0], l = +t[0][1], c = +t[1][1], i > u && (t = i, i = u, u = t), l > c && (t = l, l = c, c = t), n.precision(y)) : [[i, l], [u, c]]
- }, n.minorExtent = function (t) {
- return arguments.length ? (r = +t[0][0], e = +t[1][0], a = +t[0][1], o = +t[1][1], r > e && (t = r, r = e, e = t), a > o && (t = a, a = o, o = t), n.precision(y)) : [[r, a], [e, o]]
- }, n.step = function (t) {
- return arguments.length ? n.majorStep(t).minorStep(t) : n.minorStep()
- }, n.majorStep = function (t) {
- return arguments.length ? (d = +t[0], m = +t[1], n) : [d, m]
- }, n.minorStep = function (t) {
- return arguments.length ? (p = +t[0], v = +t[1], n) : [p, v]
- }, n.precision = function (t) {
- return arguments.length ? (y = +t, s = vr(a, o, 90), f = dr(r, e, y), h = vr(l, c, 90), g = dr(i, u, y), n) : y
- }, n.majorExtent([[-180, -90 + Na], [180, 90 - Na]]).minorExtent([[-180, -80 - Na], [180, 80 + Na]])
- }, Bo.geo.greatArc = function () {
- function n() {
- return {type: "LineString", coordinates: [t || r.apply(this, arguments), e || u.apply(this, arguments)]}
- }
-
- var t, e, r = mr, u = yr;
- return n.distance = function () {
- return Bo.geo.distance(t || r.apply(this, arguments), e || u.apply(this, arguments))
- }, n.source = function (e) {
- return arguments.length ? (r = e, t = "function" == typeof e ? null : e, n) : r
- }, n.target = function (t) {
- return arguments.length ? (u = t, e = "function" == typeof t ? null : t, n) : u
- }, n.precision = function () {
- return arguments.length ? n : 0
- }, n
- }, Bo.geo.interpolate = function (n, t) {
- return xr(n[0] * La, n[1] * La, t[0] * La, t[1] * La)
- }, Bo.geo.length = function (n) {
- return Fc = 0, Bo.geo.stream(n, Hc), Fc
- };
- var Fc, Hc = {
- sphere: y,
- point: y,
- lineStart: Mr,
- lineEnd: y,
- polygonStart: y,
- polygonEnd: y
- }, Oc = _r(function (n) {
- return Math.sqrt(2 / (1 + n))
- }, function (n) {
- return 2 * Math.asin(n / 2)
- });
- (Bo.geo.azimuthalEqualArea = function () {
- return ur(Oc)
- }).raw = Oc;
- var Yc = _r(function (n) {
- var t = Math.acos(n);
- return t && t / Math.sin(t)
- }, Et);
- (Bo.geo.azimuthalEquidistant = function () {
- return ur(Yc)
- }).raw = Yc, (Bo.geo.conicConformal = function () {
- return Ie(br)
- }).raw = br, (Bo.geo.conicEquidistant = function () {
- return Ie(wr)
- }).raw = wr;
- var Ic = _r(function (n) {
- return 1 / n
- }, Math.atan);
- (Bo.geo.gnomonic = function () {
- return ur(Ic)
- }).raw = Ic, Sr.invert = function (n, t) {
- return [n, 2 * Math.atan(Math.exp(t)) - Ca]
- }, (Bo.geo.mercator = function () {
- return kr(Sr)
- }).raw = Sr;
- var Zc = _r(function () {
- return 1
- }, Math.asin);
- (Bo.geo.orthographic = function () {
- return ur(Zc)
- }).raw = Zc;
- var Vc = _r(function (n) {
- return 1 / (1 + n)
- }, function (n) {
- return 2 * Math.atan(n)
- });
- (Bo.geo.stereographic = function () {
- return ur(Vc)
- }).raw = Vc, Er.invert = function (n, t) {
- return [-t, 2 * Math.atan(Math.exp(n)) - Ca]
- }, (Bo.geo.transverseMercator = function () {
- var n = kr(Er), t = n.center, e = n.rotate;
- return n.center = function (n) {
- return n ? t([-n[1], n[0]]) : (n = t(), [n[1], -n[0]])
- }, n.rotate = function (n) {
- return n ? e([n[0], n[1], n.length > 2 ? n[2] + 90 : 90]) : (n = e(), [n[0], n[1], n[2] - 90])
- }, e([0, 0, 90])
- }).raw = Er, Bo.geom = {}, Bo.geom.hull = function (n) {
- function t(n) {
- if (n.length < 3)return [];
- var t, u = kt(e), i = kt(r), o = n.length, a = [], c = [];
- for (t = 0; o > t; t++)a.push([+u.call(this, n[t], t), +i.call(this, n[t], t), t]);
- for (a.sort(zr), t = 0; o > t; t++)c.push([a[t][0], -a[t][1]]);
- var l = Nr(a), s = Nr(c), f = s[0] === l[0], h = s[s.length - 1] === l[l.length - 1], g = [];
- for (t = l.length - 1; t >= 0; --t)g.push(n[a[l[t]][2]]);
- for (t = +f; t < s.length - h; ++t)g.push(n[a[s[t]][2]]);
- return g
- }
-
- var e = Ar, r = Cr;
- return arguments.length ? t(n) : (t.x = function (n) {
- return arguments.length ? (e = n, t) : e
- }, t.y = function (n) {
- return arguments.length ? (r = n, t) : r
- }, t)
- }, Bo.geom.polygon = function (n) {
- return ga(n, Xc), n
- };
- var Xc = Bo.geom.polygon.prototype = [];
- Xc.area = function () {
- for (var n, t = -1, e = this.length, r = this[e - 1], u = 0; ++t < e;)n = r, r = this[t], u += n[1] * r[0] - n[0] * r[1];
- return .5 * u
- }, Xc.centroid = function (n) {
- var t, e, r = -1, u = this.length, i = 0, o = 0, a = this[u - 1];
- for (arguments.length || (n = -1 / (6 * this.area())); ++r < u;)t = a, a = this[r], e = t[0] * a[1] - a[0] * t[1], i += (t[0] + a[0]) * e, o += (t[1] + a[1]) * e;
- return [i * n, o * n]
- }, Xc.clip = function (n) {
- for (var t, e, r, u, i, o, a = qr(n), c = -1, l = this.length - qr(this), s = this[l - 1]; ++c < l;) {
- for (t = n.slice(), n.length = 0, u = this[c], i = t[(r = t.length - a) - 1], e = -1; ++e < r;)o = t[e], Lr(o, s, u) ? (Lr(i, s, u) || n.push(Tr(i, o, s, u)), n.push(o)) : Lr(i, s, u) && n.push(Tr(i, o, s, u)), i = o;
- a && n.push(n[0]), s = u
- }
- return n
- };
- var $c, Bc, Wc, Jc, Gc, Kc = [], Qc = [];
- Or.prototype.prepare = function () {
- for (var n, t = this.edges, e = t.length; e--;)n = t[e].edge, n.b && n.a || t.splice(e, 1);
- return t.sort(Ir), t.length
- }, Qr.prototype = {
- start: function () {
- return this.edge.l === this.site ? this.edge.a : this.edge.b
- }, end: function () {
- return this.edge.l === this.site ? this.edge.b : this.edge.a
- }
- }, nu.prototype = {
- insert: function (n, t) {
- var e, r, u;
- if (n) {
- if (t.P = n, t.N = n.N, n.N && (n.N.P = t), n.N = t, n.R) {
- for (n = n.R; n.L;)n = n.L;
- n.L = t
- } else n.R = t;
- e = n
- } else this._ ? (n = uu(this._), t.P = null, t.N = n, n.P = n.L = t, e = n) : (t.P = t.N = null, this._ = t, e = null);
- for (t.L = t.R = null, t.U = e, t.C = !0, n = t; e && e.C;)r = e.U, e === r.L ? (u = r.R, u && u.C ? (e.C = u.C = !1, r.C = !0, n = r) : (n === e.R && (eu(this, e), n = e, e = n.U), e.C = !1, r.C = !0, ru(this, r))) : (u = r.L, u && u.C ? (e.C = u.C = !1, r.C = !0, n = r) : (n === e.L && (ru(this, e), n = e, e = n.U), e.C = !1, r.C = !0, eu(this, r))), e = n.U;
- this._.C = !1
- }, remove: function (n) {
- n.N && (n.N.P = n.P), n.P && (n.P.N = n.N), n.N = n.P = null;
- var t, e, r, u = n.U, i = n.L, o = n.R;
- if (e = i ? o ? uu(o) : i : o, u ? u.L === n ? u.L = e : u.R = e : this._ = e, i && o ? (r = e.C, e.C = n.C, e.L = i, i.U = e, e !== o ? (u = e.U, e.U = n.U, n = e.R, u.L = n, e.R = o, o.U = e) : (e.U = u, u = e, n = e.R)) : (r = n.C, n = e), n && (n.U = u), !r) {
- if (n && n.C)return n.C = !1, void 0;
- do {
- if (n === this._)break;
- if (n === u.L) {
- if (t = u.R, t.C && (t.C = !1, u.C = !0, eu(this, u), t = u.R), t.L && t.L.C || t.R && t.R.C) {
- t.R && t.R.C || (t.L.C = !1, t.C = !0, ru(this, t), t = u.R), t.C = u.C, u.C = t.R.C = !1, eu(this, u), n = this._;
- break
- }
- } else if (t = u.L, t.C && (t.C = !1, u.C = !0, ru(this, u), t = u.L), t.L && t.L.C || t.R && t.R.C) {
- t.L && t.L.C || (t.R.C = !1, t.C = !0, eu(this, t), t = u.L), t.C = u.C, u.C = t.L.C = !1, ru(this, u), n = this._;
- break
- }
- t.C = !0, n = u, u = u.U
- } while (!n.C);
- n && (n.C = !1)
- }
- }
- }, Bo.geom.voronoi = function (n) {
- function t(n) {
- var t = new Array(n.length), r = a[0][0], u = a[0][1], i = a[1][0], o = a[1][1];
- return iu(e(n), a).cells.forEach(function (e, a) {
- var c = e.edges, l = e.site, s = t[a] = c.length ? c.map(function (n) {
- var t = n.start();
- return [t.x, t.y]
- }) : l.x >= r && l.x <= i && l.y >= u && l.y <= o ? [[r, o], [i, o], [i, u], [r, u]] : [];
- s.point = n[a]
- }), t
- }
-
- function e(n) {
- return n.map(function (n, t) {
- return {x: Math.round(i(n, t) / Na) * Na, y: Math.round(o(n, t) / Na) * Na, i: t}
- })
- }
-
- var r = Ar, u = Cr, i = r, o = u, a = nl;
- return n ? t(n) : (t.links = function (n) {
- return iu(e(n)).edges.filter(function (n) {
- return n.l && n.r
- }).map(function (t) {
- return {source: n[t.l.i], target: n[t.r.i]}
- })
- }, t.triangles = function (n) {
- var t = [];
- return iu(e(n)).cells.forEach(function (e, r) {
- for (var u, i, o = e.site, a = e.edges.sort(Ir), c = -1, l = a.length, s = a[l - 1].edge, f = s.l === o ? s.r : s.l; ++c < l;)u = s, i = f, s = a[c].edge, f = s.l === o ? s.r : s.l, r < i.i && r < f.i && au(o, i, f) < 0 && t.push([n[r], n[i.i], n[f.i]])
- }), t
- }, t.x = function (n) {
- return arguments.length ? (i = kt(r = n), t) : r
- }, t.y = function (n) {
- return arguments.length ? (o = kt(u = n), t) : u
- }, t.clipExtent = function (n) {
- return arguments.length ? (a = null == n ? nl : n, t) : a === nl ? null : a
- }, t.size = function (n) {
- return arguments.length ? t.clipExtent(n && [[0, 0], n]) : a === nl ? null : a && a[1]
- }, t)
- };
- var nl = [[-1e6, -1e6], [1e6, 1e6]];
- Bo.geom.delaunay = function (n) {
- return Bo.geom.voronoi().triangles(n)
- }, Bo.geom.quadtree = function (n, t, e, r, u) {
- function i(n) {
- function i(n, t, e, r, u, i, o, a) {
- if (!isNaN(e) && !isNaN(r))if (n.leaf) {
- var c = n.x, s = n.y;
- if (null != c)if (ca(c - e) + ca(s - r) < .01)l(n, t, e, r, u, i, o, a); else {
- var f = n.point;
- n.x = n.y = n.point = null, l(n, f, c, s, u, i, o, a), l(n, t, e, r, u, i, o, a)
- } else n.x = e, n.y = r, n.point = t
- } else l(n, t, e, r, u, i, o, a)
- }
-
- function l(n, t, e, r, u, o, a, c) {
- var l = .5 * (u + a), s = .5 * (o + c), f = e >= l, h = r >= s, g = (h << 1) + f;
- n.leaf = !1, n = n.nodes[g] || (n.nodes[g] = su()), f ? u = l : a = l, h ? o = s : c = s, i(n, t, e, r, u, o, a, c)
- }
-
- var s, f, h, g, p, v, d, m, y, x = kt(a), M = kt(c);
- if (null != t)v = t, d = e, m = r, y = u; else if (m = y = -(v = d = 1 / 0), f = [], h = [], p = n.length, o)for (g = 0; p > g; ++g)s = n[g], s.x < v && (v = s.x), s.y < d && (d = s.y), s.x > m && (m = s.x), s.y > y && (y = s.y), f.push(s.x), h.push(s.y); else for (g = 0; p > g; ++g) {
- var _ = +x(s = n[g], g), b = +M(s, g);
- v > _ && (v = _), d > b && (d = b), _ > m && (m = _), b > y && (y = b), f.push(_), h.push(b)
- }
- var w = m - v, S = y - d;
- w > S ? y = d + w : m = v + S;
- var k = su();
- if (k.add = function (n) {
- i(k, n, +x(n, ++g), +M(n, g), v, d, m, y)
- }, k.visit = function (n) {
- fu(n, k, v, d, m, y)
- }, g = -1, null == t) {
- for (; ++g < p;)i(k, n[g], f[g], h[g], v, d, m, y);
- --g
- } else n.forEach(k.add);
- return f = h = n = s = null, k
- }
-
- var o, a = Ar, c = Cr;
- return (o = arguments.length) ? (a = cu, c = lu, 3 === o && (u = e, r = t, e = t = 0), i(n)) : (i.x = function (n) {
- return arguments.length ? (a = n, i) : a
- }, i.y = function (n) {
- return arguments.length ? (c = n, i) : c
- }, i.extent = function (n) {
- return arguments.length ? (null == n ? t = e = r = u = null : (t = +n[0][0], e = +n[0][1], r = +n[1][0], u = +n[1][1]), i) : null == t ? null : [[t, e], [r, u]]
- }, i.size = function (n) {
- return arguments.length ? (null == n ? t = e = r = u = null : (t = e = 0, r = +n[0], u = +n[1]), i) : null == t ? null : [r - t, u - e]
- }, i)
- }, Bo.interpolateRgb = hu, Bo.interpolateObject = gu, Bo.interpolateNumber = pu, Bo.interpolateString = vu;
- var tl = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, el = new RegExp(tl.source, "g");
- Bo.interpolate = du, Bo.interpolators = [function (n, t) {
- var e = typeof t;
- return ("string" === e ? $a.has(t) || /^(#|rgb\(|hsl\()/.test(t) ? hu : vu : t instanceof it ? hu : Array.isArray(t) ? mu : "object" === e && isNaN(t) ? gu : pu)(n, t)
- }], Bo.interpolateArray = mu;
- var rl = function () {
- return Et
- }, ul = Bo.map({
- linear: rl, poly: Su, quad: function () {
- return _u
- }, cubic: function () {
- return bu
- }, sin: function () {
- return ku
- }, exp: function () {
- return Eu
- }, circle: function () {
- return Au
- }, elastic: Cu, back: Nu, bounce: function () {
- return zu
- }
- }), il = Bo.map({
- "in": Et, out: xu, "in-out": Mu, "out-in": function (n) {
- return Mu(xu(n))
- }
- });
- Bo.ease = function (n) {
- var t = n.indexOf("-"), e = t >= 0 ? n.slice(0, t) : n, r = t >= 0 ? n.slice(t + 1) : "in";
- return e = ul.get(e) || rl, r = il.get(r) || Et, yu(r(e.apply(null, Wo.call(arguments, 1))))
- }, Bo.interpolateHcl = Lu, Bo.interpolateHsl = Tu, Bo.interpolateLab = qu, Bo.interpolateRound = Ru, Bo.transform = function (n) {
- var t = Go.createElementNS(Bo.ns.prefix.svg, "g");
- return (Bo.transform = function (n) {
- if (null != n) {
- t.setAttribute("transform", n);
- var e = t.transform.baseVal.consolidate()
- }
- return new Du(e ? e.matrix : ol)
- })(n)
- }, Du.prototype.toString = function () {
- return "translate(" + this.translate + ")rotate(" + this.rotate + ")skewX(" + this.skew + ")scale(" + this.scale + ")"
- };
- var ol = {a: 1, b: 0, c: 0, d: 1, e: 0, f: 0};
- Bo.interpolateTransform = Fu, Bo.layout = {}, Bo.layout.bundle = function () {
- return function (n) {
- for (var t = [], e = -1, r = n.length; ++e < r;)t.push(Yu(n[e]));
- return t
- }
- }, Bo.layout.chord = function () {
- function n() {
- var n, l, f, h, g, p = {}, v = [], d = Bo.range(i), m = [];
- for (e = [], r = [], n = 0, h = -1; ++h < i;) {
- for (l = 0, g = -1; ++g < i;)l += u[h][g];
- v.push(l), m.push(Bo.range(i)), n += l
- }
- for (o && d.sort(function (n, t) {
- return o(v[n], v[t])
- }), a && m.forEach(function (n, t) {
- n.sort(function (n, e) {
- return a(u[t][n], u[t][e])
- })
- }), n = (Aa - s * i) / n, l = 0, h = -1; ++h < i;) {
- for (f = l, g = -1; ++g < i;) {
- var y = d[h], x = m[y][g], M = u[y][x], _ = l, b = l += M * n;
- p[y + "-" + x] = {index: y, subindex: x, startAngle: _, endAngle: b, value: M}
- }
- r[y] = {index: y, startAngle: f, endAngle: l, value: (l - f) / n}, l += s
- }
- for (h = -1; ++h < i;)for (g = h - 1; ++g < i;) {
- var w = p[h + "-" + g], S = p[g + "-" + h];
- (w.value || S.value) && e.push(w.value < S.value ? {source: S, target: w} : {source: w, target: S})
- }
- c && t()
- }
-
- function t() {
- e.sort(function (n, t) {
- return c((n.source.value + n.target.value) / 2, (t.source.value + t.target.value) / 2)
- })
- }
-
- var e, r, u, i, o, a, c, l = {}, s = 0;
- return l.matrix = function (n) {
- return arguments.length ? (i = (u = n) && u.length, e = r = null, l) : u
- }, l.padding = function (n) {
- return arguments.length ? (s = n, e = r = null, l) : s
- }, l.sortGroups = function (n) {
- return arguments.length ? (o = n, e = r = null, l) : o
- }, l.sortSubgroups = function (n) {
- return arguments.length ? (a = n, e = null, l) : a
- }, l.sortChords = function (n) {
- return arguments.length ? (c = n, e && t(), l) : c
- }, l.chords = function () {
- return e || n(), e
- }, l.groups = function () {
- return r || n(), r
- }, l
- }, Bo.layout.force = function () {
- function n(n) {
- return function (t, e, r, u) {
- if (t.point !== n) {
- var i = t.cx - n.x, o = t.cy - n.y, a = u - e, c = i * i + o * o;
- if (c > a * a / d) {
- if (p > c) {
- var l = t.charge / c;
- n.px -= i * l, n.py -= o * l
- }
- return !0
- }
- if (t.point && c && p > c) {
- var l = t.pointCharge / c;
- n.px -= i * l, n.py -= o * l
- }
- }
- return !t.charge
- }
- }
-
- function t(n) {
- n.px = Bo.event.x, n.py = Bo.event.y, a.resume()
- }
-
- var e, r, u, i, o, a = {}, c = Bo.dispatch("start", "tick", "end"), l = [1, 1], s = .9, f = al, h = cl, g = -30, p = ll, v = .1, d = .64, m = [], y = [];
- return a.tick = function () {
- if ((r *= .99) < .005)return c.end({type: "end", alpha: r = 0}), !0;
- var t, e, a, f, h, p, d, x, M, _ = m.length, b = y.length;
- for (e = 0; b > e; ++e)a = y[e], f = a.source, h = a.target, x = h.x - f.x, M = h.y - f.y, (p = x * x + M * M) && (p = r * i[e] * ((p = Math.sqrt(p)) - u[e]) / p, x *= p, M *= p, h.x -= x * (d = f.weight / (h.weight + f.weight)), h.y -= M * d, f.x += x * (d = 1 - d), f.y += M * d);
- if ((d = r * v) && (x = l[0] / 2, M = l[1] / 2, e = -1, d))for (; ++e < _;)a = m[e], a.x += (x - a.x) * d, a.y += (M - a.y) * d;
- if (g)for (Wu(t = Bo.geom.quadtree(m), r, o), e = -1; ++e < _;)(a = m[e]).fixed || t.visit(n(a));
- for (e = -1; ++e < _;)a = m[e], a.fixed ? (a.x = a.px, a.y = a.py) : (a.x -= (a.px - (a.px = a.x)) * s, a.y -= (a.py - (a.py = a.y)) * s);
- c.tick({type: "tick", alpha: r})
- }, a.nodes = function (n) {
- return arguments.length ? (m = n, a) : m
- }, a.links = function (n) {
- return arguments.length ? (y = n, a) : y
- }, a.size = function (n) {
- return arguments.length ? (l = n, a) : l
- }, a.linkDistance = function (n) {
- return arguments.length ? (f = "function" == typeof n ? n : +n, a) : f
- }, a.distance = a.linkDistance, a.linkStrength = function (n) {
- return arguments.length ? (h = "function" == typeof n ? n : +n, a) : h
- }, a.friction = function (n) {
- return arguments.length ? (s = +n, a) : s
- }, a.charge = function (n) {
- return arguments.length ? (g = "function" == typeof n ? n : +n, a) : g
- }, a.chargeDistance = function (n) {
- return arguments.length ? (p = n * n, a) : Math.sqrt(p)
- }, a.gravity = function (n) {
- return arguments.length ? (v = +n, a) : v
- }, a.theta = function (n) {
- return arguments.length ? (d = n * n, a) : Math.sqrt(d)
- }, a.alpha = function (n) {
- return arguments.length ? (n = +n, r ? r = n > 0 ? n : 0 : n > 0 && (c.start({
- type: "start",
- alpha: r = n
- }), Bo.timer(a.tick)), a) : r
- }, a.start = function () {
- function n(n, r) {
- if (!e) {
- for (e = new Array(c), a = 0; c > a; ++a)e[a] = [];
- for (a = 0; l > a; ++a) {
- var u = y[a];
- e[u.source.index].push(u.target), e[u.target.index].push(u.source)
- }
- }
- for (var i, o = e[t], a = -1, l = o.length; ++a < l;)if (!isNaN(i = o[a][n]))return i;
- return Math.random() * r
- }
-
- var t, e, r, c = m.length, s = y.length, p = l[0], v = l[1];
- for (t = 0; c > t; ++t)(r = m[t]).index = t, r.weight = 0;
- for (t = 0; s > t; ++t)r = y[t], "number" == typeof r.source && (r.source = m[r.source]), "number" == typeof r.target && (r.target = m[r.target]), ++r.source.weight, ++r.target.weight;
- for (t = 0; c > t; ++t)r = m[t], isNaN(r.x) && (r.x = n("x", p)), isNaN(r.y) && (r.y = n("y", v)), isNaN(r.px) && (r.px = r.x), isNaN(r.py) && (r.py = r.y);
- if (u = [], "function" == typeof f)for (t = 0; s > t; ++t)u[t] = +f.call(this, y[t], t); else for (t = 0; s > t; ++t)u[t] = f;
- if (i = [], "function" == typeof h)for (t = 0; s > t; ++t)i[t] = +h.call(this, y[t], t); else for (t = 0; s > t; ++t)i[t] = h;
- if (o = [], "function" == typeof g)for (t = 0; c > t; ++t)o[t] = +g.call(this, m[t], t); else for (t = 0; c > t; ++t)o[t] = g;
- return a.resume()
- }, a.resume = function () {
- return a.alpha(.1)
- }, a.stop = function () {
- return a.alpha(0)
- }, a.drag = function () {
- return e || (e = Bo.behavior.drag().origin(Et).on("dragstart.force", Vu).on("drag.force", t).on("dragend.force", Xu)), arguments.length ? (this.on("mouseover.force", $u).on("mouseout.force", Bu).call(e), void 0) : e
- }, Bo.rebind(a, c, "on")
- };
- var al = 20, cl = 1, ll = 1 / 0;
- Bo.layout.hierarchy = function () {
- function n(u) {
- var i, o = [u], a = [];
- for (u.depth = 0; null != (i = o.pop());)if (a.push(i), (l = e.call(n, i, i.depth)) && (c = l.length)) {
- for (var c, l, s; --c >= 0;)o.push(s = l[c]), s.parent = i, s.depth = i.depth + 1;
- r && (i.value = 0), i.children = l
- } else r && (i.value = +r.call(n, i, i.depth) || 0), delete i.children;
- return Ku(u, function (n) {
- var e, u;
- t && (e = n.children) && e.sort(t), r && (u = n.parent) && (u.value += n.value)
- }), a
- }
-
- var t = ti, e = Qu, r = ni;
- return n.sort = function (e) {
- return arguments.length ? (t = e, n) : t
- }, n.children = function (t) {
- return arguments.length ? (e = t, n) : e
- }, n.value = function (t) {
- return arguments.length ? (r = t, n) : r
- }, n.revalue = function (t) {
- return r && (Gu(t, function (n) {
- n.children && (n.value = 0)
- }), Ku(t, function (t) {
- var e;
- t.children || (t.value = +r.call(n, t, t.depth) || 0), (e = t.parent) && (e.value += t.value)
- })), t
- }, n
- }, Bo.layout.partition = function () {
- function n(t, e, r, u) {
- var i = t.children;
- if (t.x = e, t.y = t.depth * u, t.dx = r, t.dy = u, i && (o = i.length)) {
- var o, a, c, l = -1;
- for (r = t.value ? r / t.value : 0; ++l < o;)n(a = i[l], e, c = a.value * r, u), e += c
- }
- }
-
- function t(n) {
- var e = n.children, r = 0;
- if (e && (u = e.length))for (var u, i = -1; ++i < u;)r = Math.max(r, t(e[i]));
- return 1 + r
- }
-
- function e(e, i) {
- var o = r.call(this, e, i);
- return n(o[0], 0, u[0], u[1] / t(o[0])), o
- }
-
- var r = Bo.layout.hierarchy(), u = [1, 1];
- return e.size = function (n) {
- return arguments.length ? (u = n, e) : u
- }, Ju(e, r)
- }, Bo.layout.pie = function () {
- function n(i) {
- var o = i.map(function (e, r) {
- return +t.call(n, e, r)
- }), a = +("function" == typeof r ? r.apply(this, arguments) : r), c = (("function" == typeof u ? u.apply(this, arguments) : u) - a) / Bo.sum(o), l = Bo.range(i.length);
- null != e && l.sort(e === sl ? function (n, t) {
- return o[t] - o[n]
- } : function (n, t) {
- return e(i[n], i[t])
- });
- var s = [];
- return l.forEach(function (n) {
- var t;
- s[n] = {data: i[n], value: t = o[n], startAngle: a, endAngle: a += t * c}
- }), s
- }
-
- var t = Number, e = sl, r = 0, u = Aa;
- return n.value = function (e) {
- return arguments.length ? (t = e, n) : t
- }, n.sort = function (t) {
- return arguments.length ? (e = t, n) : e
- }, n.startAngle = function (t) {
- return arguments.length ? (r = t, n) : r
- }, n.endAngle = function (t) {
- return arguments.length ? (u = t, n) : u
- }, n
- };
- var sl = {};
- Bo.layout.stack = function () {
- function n(a, c) {
- if (!(h = a.length))return a;
- var l = a.map(function (e, r) {
- return t.call(n, e, r)
- }), s = l.map(function (t) {
- return t.map(function (t, e) {
- return [i.call(n, t, e), o.call(n, t, e)]
- })
- }), f = e.call(n, s, c);
- l = Bo.permute(l, f), s = Bo.permute(s, f);
- var h, g, p, v, d = r.call(n, s, c), m = l[0].length;
- for (p = 0; m > p; ++p)for (u.call(n, l[0][p], v = d[p], s[0][p][1]), g = 1; h > g; ++g)u.call(n, l[g][p], v += s[g - 1][p][1], s[g][p][1]);
- return a
- }
-
- var t = Et, e = oi, r = ai, u = ii, i = ri, o = ui;
- return n.values = function (e) {
- return arguments.length ? (t = e, n) : t
- }, n.order = function (t) {
- return arguments.length ? (e = "function" == typeof t ? t : fl.get(t) || oi, n) : e
- }, n.offset = function (t) {
- return arguments.length ? (r = "function" == typeof t ? t : hl.get(t) || ai, n) : r
- }, n.x = function (t) {
- return arguments.length ? (i = t, n) : i
- }, n.y = function (t) {
- return arguments.length ? (o = t, n) : o
- }, n.out = function (t) {
- return arguments.length ? (u = t, n) : u
- }, n
- };
- var fl = Bo.map({
- "inside-out": function (n) {
- var t, e, r = n.length, u = n.map(ci), i = n.map(li), o = Bo.range(r).sort(function (n, t) {
- return u[n] - u[t]
- }), a = 0, c = 0, l = [], s = [];
- for (t = 0; r > t; ++t)e = o[t], c > a ? (a += i[e], l.push(e)) : (c += i[e], s.push(e));
- return s.reverse().concat(l)
- }, reverse: function (n) {
- return Bo.range(n.length).reverse()
- }, "default": oi
- }), hl = Bo.map({
- silhouette: function (n) {
- var t, e, r, u = n.length, i = n[0].length, o = [], a = 0, c = [];
- for (e = 0; i > e; ++e) {
- for (t = 0, r = 0; u > t; t++)r += n[t][e][1];
- r > a && (a = r), o.push(r)
- }
- for (e = 0; i > e; ++e)c[e] = (a - o[e]) / 2;
- return c
- }, wiggle: function (n) {
- var t, e, r, u, i, o, a, c, l, s = n.length, f = n[0], h = f.length, g = [];
- for (g[0] = c = l = 0, e = 1; h > e; ++e) {
- for (t = 0, u = 0; s > t; ++t)u += n[t][e][1];
- for (t = 0, i = 0, a = f[e][0] - f[e - 1][0]; s > t; ++t) {
- for (r = 0, o = (n[t][e][1] - n[t][e - 1][1]) / (2 * a); t > r; ++r)o += (n[r][e][1] - n[r][e - 1][1]) / a;
- i += o * n[t][e][1]
- }
- g[e] = c -= u ? i / u * a : 0, l > c && (l = c)
- }
- for (e = 0; h > e; ++e)g[e] -= l;
- return g
- }, expand: function (n) {
- var t, e, r, u = n.length, i = n[0].length, o = 1 / u, a = [];
- for (e = 0; i > e; ++e) {
- for (t = 0, r = 0; u > t; t++)r += n[t][e][1];
- if (r)for (t = 0; u > t; t++)n[t][e][1] /= r; else for (t = 0; u > t; t++)n[t][e][1] = o
- }
- for (e = 0; i > e; ++e)a[e] = 0;
- return a
- }, zero: ai
- });
- Bo.layout.histogram = function () {
- function n(n, i) {
- for (var o, a, c = [], l = n.map(e, this), s = r.call(this, l, i), f = u.call(this, s, l, i), i = -1, h = l.length, g = f.length - 1, p = t ? 1 : 1 / h; ++i < g;)o = c[i] = [], o.dx = f[i + 1] - (o.x = f[i]), o.y = 0;
- if (g > 0)for (i = -1; ++i < h;)a = l[i], a >= s[0] && a <= s[1] && (o = c[Bo.bisect(f, a, 1, g) - 1], o.y += p, o.push(n[i]));
- return c
- }
-
- var t = !0, e = Number, r = gi, u = fi;
- return n.value = function (t) {
- return arguments.length ? (e = t, n) : e
- }, n.range = function (t) {
- return arguments.length ? (r = kt(t), n) : r
- }, n.bins = function (t) {
- return arguments.length ? (u = "number" == typeof t ? function (n) {
- return hi(n, t)
- } : kt(t), n) : u
- }, n.frequency = function (e) {
- return arguments.length ? (t = !!e, n) : t
- }, n
- }, Bo.layout.pack = function () {
- function n(n, i) {
- var o = e.call(this, n, i), a = o[0], c = u[0], l = u[1], s = null == t ? Math.sqrt : "function" == typeof t ? t : function () {
- return t
- };
- if (a.x = a.y = 0, Ku(a, function (n) {
- n.r = +s(n.value)
- }), Ku(a, yi), r) {
- var f = r * (t ? 1 : Math.max(2 * a.r / c, 2 * a.r / l)) / 2;
- Ku(a, function (n) {
- n.r += f
- }), Ku(a, yi), Ku(a, function (n) {
- n.r -= f
- })
- }
- return _i(a, c / 2, l / 2, t ? 1 : 1 / Math.max(2 * a.r / c, 2 * a.r / l)), o
- }
-
- var t, e = Bo.layout.hierarchy().sort(pi), r = 0, u = [1, 1];
- return n.size = function (t) {
- return arguments.length ? (u = t, n) : u
- }, n.radius = function (e) {
- return arguments.length ? (t = null == e || "function" == typeof e ? e : +e, n) : t
- }, n.padding = function (t) {
- return arguments.length ? (r = +t, n) : r
- }, Ju(n, e)
- }, Bo.layout.tree = function () {
- function n(n, u) {
- var s = o.call(this, n, u), f = s[0], h = t(f);
- if (Ku(h, e), h.parent.m = -h.z, Gu(h, r), l)Gu(f, i); else {
- var g = f, p = f, v = f;
- Gu(f, function (n) {
- n.x < g.x && (g = n), n.x > p.x && (p = n), n.depth > v.depth && (v = n)
- });
- var d = a(g, p) / 2 - g.x, m = c[0] / (p.x + a(p, g) / 2 + d), y = c[1] / (v.depth || 1);
- Gu(f, function (n) {
- n.x = (n.x + d) * m, n.y = n.depth * y
- })
- }
- return s
- }
-
- function t(n) {
- for (var t, e = {
- A: null,
- children: [n]
- }, r = [e]; null != (t = r.pop());)for (var u, i = t.children, o = 0, a = i.length; a > o; ++o)r.push((i[o] = u = {
- _: i[o],
- parent: t,
- children: (u = i[o].children) && u.slice() || [],
- A: null,
- a: null,
- z: 0,
- m: 0,
- c: 0,
- s: 0,
- t: null,
- i: o
- }).a = u);
- return e.children[0]
- }
-
- function e(n) {
- var t = n.children, e = n.parent.children, r = n.i ? e[n.i - 1] : null;
- if (t.length) {
- Ai(n);
- var i = (t[0].z + t[t.length - 1].z) / 2;
- r ? (n.z = r.z + a(n._, r._), n.m = n.z - i) : n.z = i
- } else r && (n.z = r.z + a(n._, r._));
- n.parent.A = u(n, r, n.parent.A || e[0])
- }
-
- function r(n) {
- n._.x = n.z + n.parent.m, n.m += n.parent.m
- }
-
- function u(n, t, e) {
- if (t) {
- for (var r, u = n, i = n, o = t, c = u.parent.children[0], l = u.m, s = i.m, f = o.m, h = c.m; o = ki(o), u = Si(u), o && u;)c = Si(c), i = ki(i), i.a = n, r = o.z + f - u.z - l + a(o._, u._), r > 0 && (Ei(Ci(o, n, e), n, r), l += r, s += r), f += o.m, l += u.m, h += c.m, s += i.m;
- o && !ki(i) && (i.t = o, i.m += f - s), u && !Si(c) && (c.t = u, c.m += l - h, e = n)
- }
- return e
- }
-
- function i(n) {
- n.x *= c[0], n.y = n.depth * c[1]
- }
-
- var o = Bo.layout.hierarchy().sort(null).value(null), a = wi, c = [1, 1], l = null;
- return n.separation = function (t) {
- return arguments.length ? (a = t, n) : a
- }, n.size = function (t) {
- return arguments.length ? (l = null == (c = t) ? i : null, n) : l ? null : c
- }, n.nodeSize = function (t) {
- return arguments.length ? (l = null == (c = t) ? null : i, n) : l ? c : null
- }, Ju(n, o)
- }, Bo.layout.cluster = function () {
- function n(n, i) {
- var o, a = t.call(this, n, i), c = a[0], l = 0;
- Ku(c, function (n) {
- var t = n.children;
- t && t.length ? (n.x = zi(t), n.y = Ni(t)) : (n.x = o ? l += e(n, o) : 0, n.y = 0, o = n)
- });
- var s = Li(c), f = Ti(c), h = s.x - e(s, f) / 2, g = f.x + e(f, s) / 2;
- return Ku(c, u ? function (n) {
- n.x = (n.x - c.x) * r[0], n.y = (c.y - n.y) * r[1]
- } : function (n) {
- n.x = (n.x - h) / (g - h) * r[0], n.y = (1 - (c.y ? n.y / c.y : 1)) * r[1]
- }), a
- }
-
- var t = Bo.layout.hierarchy().sort(null).value(null), e = wi, r = [1, 1], u = !1;
- return n.separation = function (t) {
- return arguments.length ? (e = t, n) : e
- }, n.size = function (t) {
- return arguments.length ? (u = null == (r = t), n) : u ? null : r
- }, n.nodeSize = function (t) {
- return arguments.length ? (u = null != (r = t), n) : u ? r : null
- }, Ju(n, t)
- }, Bo.layout.treemap = function () {
- function n(n, t) {
- for (var e, r, u = -1, i = n.length; ++u < i;)r = (e = n[u]).value * (0 > t ? 0 : t), e.area = isNaN(r) || 0 >= r ? 0 : r
- }
-
- function t(e) {
- var i = e.children;
- if (i && i.length) {
- var o, a, c, l = f(e), s = [], h = i.slice(), p = 1 / 0, v = "slice" === g ? l.dx : "dice" === g ? l.dy : "slice-dice" === g ? 1 & e.depth ? l.dy : l.dx : Math.min(l.dx, l.dy);
- for (n(h, l.dx * l.dy / e.value), s.area = 0; (c = h.length) > 0;)s.push(o = h[c - 1]), s.area += o.area, "squarify" !== g || (a = r(s, v)) <= p ? (h.pop(), p = a) : (s.area -= s.pop().area, u(s, v, l, !1), v = Math.min(l.dx, l.dy), s.length = s.area = 0, p = 1 / 0);
- s.length && (u(s, v, l, !0), s.length = s.area = 0), i.forEach(t)
- }
- }
-
- function e(t) {
- var r = t.children;
- if (r && r.length) {
- var i, o = f(t), a = r.slice(), c = [];
- for (n(a, o.dx * o.dy / t.value), c.area = 0; i = a.pop();)c.push(i), c.area += i.area, null != i.z && (u(c, i.z ? o.dx : o.dy, o, !a.length), c.length = c.area = 0);
- r.forEach(e)
- }
- }
-
- function r(n, t) {
- for (var e, r = n.area, u = 0, i = 1 / 0, o = -1, a = n.length; ++o < a;)(e = n[o].area) && (i > e && (i = e), e > u && (u = e));
- return r *= r, t *= t, r ? Math.max(t * u * p / r, r / (t * i * p)) : 1 / 0
- }
-
- function u(n, t, e, r) {
- var u, i = -1, o = n.length, a = e.x, l = e.y, s = t ? c(n.area / t) : 0;
- if (t == e.dx) {
- for ((r || s > e.dy) && (s = e.dy); ++i < o;)u = n[i], u.x = a, u.y = l, u.dy = s, a += u.dx = Math.min(e.x + e.dx - a, s ? c(u.area / s) : 0);
- u.z = !0, u.dx += e.x + e.dx - a, e.y += s, e.dy -= s
- } else {
- for ((r || s > e.dx) && (s = e.dx); ++i < o;)u = n[i], u.x = a, u.y = l, u.dx = s, l += u.dy = Math.min(e.y + e.dy - l, s ? c(u.area / s) : 0);
- u.z = !1, u.dy += e.y + e.dy - l, e.x += s, e.dx -= s
- }
- }
-
- function i(r) {
- var u = o || a(r), i = u[0];
- return i.x = 0, i.y = 0, i.dx = l[0], i.dy = l[1], o && a.revalue(i), n([i], i.dx * i.dy / i.value), (o ? e : t)(i), h && (o = u), u
- }
-
- var o, a = Bo.layout.hierarchy(), c = Math.round, l = [1, 1], s = null, f = qi, h = !1, g = "squarify", p = .5 * (1 + Math.sqrt(5));
- return i.size = function (n) {
- return arguments.length ? (l = n, i) : l
- }, i.padding = function (n) {
- function t(t) {
- var e = n.call(i, t, t.depth);
- return null == e ? qi(t) : Ri(t, "number" == typeof e ? [e, e, e, e] : e)
- }
-
- function e(t) {
- return Ri(t, n)
- }
-
- if (!arguments.length)return s;
- var r;
- return f = null == (s = n) ? qi : "function" == (r = typeof n) ? t : "number" === r ? (n = [n, n, n, n], e) : e, i
- }, i.round = function (n) {
- return arguments.length ? (c = n ? Math.round : Number, i) : c != Number
- }, i.sticky = function (n) {
- return arguments.length ? (h = n, o = null, i) : h
- }, i.ratio = function (n) {
- return arguments.length ? (p = n, i) : p
- }, i.mode = function (n) {
- return arguments.length ? (g = n + "", i) : g
- }, Ju(i, a)
- }, Bo.random = {
- normal: function (n, t) {
- var e = arguments.length;
- return 2 > e && (t = 1), 1 > e && (n = 0), function () {
- var e, r, u;
- do e = 2 * Math.random() - 1, r = 2 * Math.random() - 1, u = e * e + r * r; while (!u || u > 1);
- return n + t * e * Math.sqrt(-2 * Math.log(u) / u)
- }
- }, logNormal: function () {
- var n = Bo.random.normal.apply(Bo, arguments);
- return function () {
- return Math.exp(n())
- }
- }, bates: function (n) {
- var t = Bo.random.irwinHall(n);
- return function () {
- return t() / n
- }
- }, irwinHall: function (n) {
- return function () {
- for (var t = 0, e = 0; n > e; e++)t += Math.random();
- return t
- }
- }
- }, Bo.scale = {};
- var gl = {floor: Et, ceil: Et};
- Bo.scale.linear = function () {
- return Oi([0, 1], [0, 1], du, !1)
- };
- var pl = {s: 1, g: 1, p: 1, r: 1, e: 1};
- Bo.scale.log = function () {
- return Wi(Bo.scale.linear().domain([0, 1]), 10, !0, [1, 10])
- };
- var vl = Bo.format(".0e"), dl = {
- floor: function (n) {
- return -Math.ceil(-n)
- }, ceil: function (n) {
- return -Math.floor(-n)
- }
- };
- Bo.scale.pow = function () {
- return Ji(Bo.scale.linear(), 1, [0, 1])
- }, Bo.scale.sqrt = function () {
- return Bo.scale.pow().exponent(.5)
- }, Bo.scale.ordinal = function () {
- return Ki([], {t: "range", a: [[]]})
- }, Bo.scale.category10 = function () {
- return Bo.scale.ordinal().range(ml)
- }, Bo.scale.category20 = function () {
- return Bo.scale.ordinal().range(yl)
- }, Bo.scale.category20b = function () {
- return Bo.scale.ordinal().range(xl)
- }, Bo.scale.category20c = function () {
- return Bo.scale.ordinal().range(Ml)
- };
- var ml = [2062260, 16744206, 2924588, 14034728, 9725885, 9197131, 14907330, 8355711, 12369186, 1556175].map(yt), yl = [2062260, 11454440, 16744206, 16759672, 2924588, 10018698, 14034728, 16750742, 9725885, 12955861, 9197131, 12885140, 14907330, 16234194, 8355711, 13092807, 12369186, 14408589, 1556175, 10410725].map(yt), xl = [3750777, 5395619, 7040719, 10264286, 6519097, 9216594, 11915115, 13556636, 9202993, 12426809, 15186514, 15190932, 8666169, 11356490, 14049643, 15177372, 8077683, 10834324, 13528509, 14589654].map(yt), Ml = [3244733, 7057110, 10406625, 13032431, 15095053, 16616764, 16625259, 16634018, 3253076, 7652470, 10607003, 13101504, 7695281, 10394312, 12369372, 14342891, 6513507, 9868950, 12434877, 14277081].map(yt);
- Bo.scale.quantile = function () {
- return Qi([], [])
- }, Bo.scale.quantize = function () {
- return no(0, 1, [0, 1])
- }, Bo.scale.threshold = function () {
- return to([.5], [0, 1])
- }, Bo.scale.identity = function () {
- return eo([0, 1])
- }, Bo.svg = {}, Bo.svg.arc = function () {
- function n() {
- var n = t.apply(this, arguments), i = e.apply(this, arguments), o = r.apply(this, arguments) + _l, a = u.apply(this, arguments) + _l, c = (o > a && (c = o, o = a, a = c), a - o), l = Ea > c ? "0" : "1", s = Math.cos(o), f = Math.sin(o), h = Math.cos(a), g = Math.sin(a);
- return c >= bl ? n ? "M0," + i + "A" + i + "," + i + " 0 1,1 0," + -i + "A" + i + "," + i + " 0 1,1 0," + i + "M0," + n + "A" + n + "," + n + " 0 1,0 0," + -n + "A" + n + "," + n + " 0 1,0 0," + n + "Z" : "M0," + i + "A" + i + "," + i + " 0 1,1 0," + -i + "A" + i + "," + i + " 0 1,1 0," + i + "Z" : n ? "M" + i * s + "," + i * f + "A" + i + "," + i + " 0 " + l + ",1 " + i * h + "," + i * g + "L" + n * h + "," + n * g + "A" + n + "," + n + " 0 " + l + ",0 " + n * s + "," + n * f + "Z" : "M" + i * s + "," + i * f + "A" + i + "," + i + " 0 " + l + ",1 " + i * h + "," + i * g + "L0,0" + "Z"
- }
-
- var t = ro, e = uo, r = io, u = oo;
- return n.innerRadius = function (e) {
- return arguments.length ? (t = kt(e), n) : t
- }, n.outerRadius = function (t) {
- return arguments.length ? (e = kt(t), n) : e
- }, n.startAngle = function (t) {
- return arguments.length ? (r = kt(t), n) : r
- }, n.endAngle = function (t) {
- return arguments.length ? (u = kt(t), n) : u
- }, n.centroid = function () {
- var n = (t.apply(this, arguments) + e.apply(this, arguments)) / 2, i = (r.apply(this, arguments) + u.apply(this, arguments)) / 2 + _l;
- return [Math.cos(i) * n, Math.sin(i) * n]
- }, n
- };
- var _l = -Ca, bl = Aa - Na;
- Bo.svg.line = function () {
- return ao(Et)
- };
- var wl = Bo.map({
- linear: co,
- "linear-closed": lo,
- step: so,
- "step-before": fo,
- "step-after": ho,
- basis: xo,
- "basis-open": Mo,
- "basis-closed": _o,
- bundle: bo,
- cardinal: vo,
- "cardinal-open": go,
- "cardinal-closed": po,
- monotone: Co
- });
- wl.forEach(function (n, t) {
- t.key = n, t.closed = /-closed$/.test(n)
- });
- var Sl = [0, 2 / 3, 1 / 3, 0], kl = [0, 1 / 3, 2 / 3, 0], El = [0, 1 / 6, 2 / 3, 1 / 6];
- Bo.svg.line.radial = function () {
- var n = ao(No);
- return n.radius = n.x, delete n.x, n.angle = n.y, delete n.y, n
- }, fo.reverse = ho, ho.reverse = fo, Bo.svg.area = function () {
- return zo(Et)
- }, Bo.svg.area.radial = function () {
- var n = zo(No);
- return n.radius = n.x, delete n.x, n.innerRadius = n.x0, delete n.x0, n.outerRadius = n.x1, delete n.x1, n.angle = n.y, delete n.y, n.startAngle = n.y0, delete n.y0, n.endAngle = n.y1, delete n.y1, n
- }, Bo.svg.chord = function () {
- function n(n, a) {
- var c = t(this, i, n, a), l = t(this, o, n, a);
- return "M" + c.p0 + r(c.r, c.p1, c.a1 - c.a0) + (e(c, l) ? u(c.r, c.p1, c.r, c.p0) : u(c.r, c.p1, l.r, l.p0) + r(l.r, l.p1, l.a1 - l.a0) + u(l.r, l.p1, c.r, c.p0)) + "Z"
- }
-
- function t(n, t, e, r) {
- var u = t.call(n, e, r), i = a.call(n, u, r), o = c.call(n, u, r) + _l, s = l.call(n, u, r) + _l;
- return {r: i, a0: o, a1: s, p0: [i * Math.cos(o), i * Math.sin(o)], p1: [i * Math.cos(s), i * Math.sin(s)]}
- }
-
- function e(n, t) {
- return n.a0 == t.a0 && n.a1 == t.a1
- }
-
- function r(n, t, e) {
- return "A" + n + "," + n + " 0 " + +(e > Ea) + ",1 " + t
- }
-
- function u(n, t, e, r) {
- return "Q 0,0 " + r
- }
-
- var i = mr, o = yr, a = Lo, c = io, l = oo;
- return n.radius = function (t) {
- return arguments.length ? (a = kt(t), n) : a
- }, n.source = function (t) {
- return arguments.length ? (i = kt(t), n) : i
- }, n.target = function (t) {
- return arguments.length ? (o = kt(t), n) : o
- }, n.startAngle = function (t) {
- return arguments.length ? (c = kt(t), n) : c
- }, n.endAngle = function (t) {
- return arguments.length ? (l = kt(t), n) : l
- }, n
- }, Bo.svg.diagonal = function () {
- function n(n, u) {
- var i = t.call(this, n, u), o = e.call(this, n, u), a = (i.y + o.y) / 2, c = [i, {x: i.x, y: a}, {
- x: o.x,
- y: a
- }, o];
- return c = c.map(r), "M" + c[0] + "C" + c[1] + " " + c[2] + " " + c[3]
- }
-
- var t = mr, e = yr, r = To;
- return n.source = function (e) {
- return arguments.length ? (t = kt(e), n) : t
- }, n.target = function (t) {
- return arguments.length ? (e = kt(t), n) : e
- }, n.projection = function (t) {
- return arguments.length ? (r = t, n) : r
- }, n
- }, Bo.svg.diagonal.radial = function () {
- var n = Bo.svg.diagonal(), t = To, e = n.projection;
- return n.projection = function (n) {
- return arguments.length ? e(qo(t = n)) : t
- }, n
- }, Bo.svg.symbol = function () {
- function n(n, r) {
- return (Al.get(t.call(this, n, r)) || Po)(e.call(this, n, r))
- }
-
- var t = Do, e = Ro;
- return n.type = function (e) {
- return arguments.length ? (t = kt(e), n) : t
- }, n.size = function (t) {
- return arguments.length ? (e = kt(t), n) : e
- }, n
- };
- var Al = Bo.map({
- circle: Po, cross: function (n) {
- var t = Math.sqrt(n / 5) / 2;
- return "M" + -3 * t + "," + -t + "H" + -t + "V" + -3 * t + "H" + t + "V" + -t + "H" + 3 * t + "V" + t + "H" + t + "V" + 3 * t + "H" + -t + "V" + t + "H" + -3 * t + "Z"
- }, diamond: function (n) {
- var t = Math.sqrt(n / (2 * Ll)), e = t * Ll;
- return "M0," + -t + "L" + e + ",0" + " 0," + t + " " + -e + ",0" + "Z"
- }, square: function (n) {
- var t = Math.sqrt(n) / 2;
- return "M" + -t + "," + -t + "L" + t + "," + -t + " " + t + "," + t + " " + -t + "," + t + "Z"
- }, "triangle-down": function (n) {
- var t = Math.sqrt(n / zl), e = t * zl / 2;
- return "M0," + e + "L" + t + "," + -e + " " + -t + "," + -e + "Z"
- }, "triangle-up": function (n) {
- var t = Math.sqrt(n / zl), e = t * zl / 2;
- return "M0," + -e + "L" + t + "," + e + " " + -t + "," + e + "Z"
- }
- });
- Bo.svg.symbolTypes = Al.keys();
- var Cl, Nl, zl = Math.sqrt(3), Ll = Math.tan(30 * La), Tl = [], ql = 0;
- Tl.call = ya.call, Tl.empty = ya.empty, Tl.node = ya.node, Tl.size = ya.size, Bo.transition = function (n) {
- return arguments.length ? Cl ? n.transition() : n : _a.transition()
- }, Bo.transition.prototype = Tl, Tl.select = function (n) {
- var t, e, r, u = this.id, i = [];
- n = k(n);
- for (var o = -1, a = this.length; ++o < a;) {
- i.push(t = []);
- for (var c = this[o], l = -1, s = c.length; ++l < s;)(r = c[l]) && (e = n.call(r, r.__data__, l, o)) ? ("__data__"in r && (e.__data__ = r.__data__), Ho(e, l, u, r.__transition__[u]), t.push(e)) : t.push(null)
- }
- return Uo(i, u)
- }, Tl.selectAll = function (n) {
- var t, e, r, u, i, o = this.id, a = [];
- n = E(n);
- for (var c = -1, l = this.length; ++c < l;)for (var s = this[c], f = -1, h = s.length; ++f < h;)if (r = s[f]) {
- i = r.__transition__[o], e = n.call(r, r.__data__, f, c), a.push(t = []);
- for (var g = -1, p = e.length; ++g < p;)(u = e[g]) && Ho(u, g, o, i), t.push(u)
- }
- return Uo(a, o)
- }, Tl.filter = function (n) {
- var t, e, r, u = [];
- "function" != typeof n && (n = U(n));
- for (var i = 0, o = this.length; o > i; i++) {
- u.push(t = []);
- for (var e = this[i], a = 0, c = e.length; c > a; a++)(r = e[a]) && n.call(r, r.__data__, a, i) && t.push(r)
- }
- return Uo(u, this.id)
- }, Tl.tween = function (n, t) {
- var e = this.id;
- return arguments.length < 2 ? this.node().__transition__[e].tween.get(n) : F(this, null == t ? function (t) {
- t.__transition__[e].tween.remove(n)
- } : function (r) {
- r.__transition__[e].tween.set(n, t)
- })
- }, Tl.attr = function (n, t) {
- function e() {
- this.removeAttribute(a)
- }
-
- function r() {
- this.removeAttributeNS(a.space, a.local)
- }
-
- function u(n) {
- return null == n ? e : (n += "", function () {
- var t, e = this.getAttribute(a);
- return e !== n && (t = o(e, n), function (n) {
- this.setAttribute(a, t(n))
- })
- })
- }
-
- function i(n) {
- return null == n ? r : (n += "", function () {
- var t, e = this.getAttributeNS(a.space, a.local);
- return e !== n && (t = o(e, n), function (n) {
- this.setAttributeNS(a.space, a.local, t(n))
- })
- })
- }
-
- if (arguments.length < 2) {
- for (t in n)this.attr(t, n[t]);
- return this
- }
- var o = "transform" == n ? Fu : du, a = Bo.ns.qualify(n);
- return jo(this, "attr." + n, t, a.local ? i : u)
- }, Tl.attrTween = function (n, t) {
- function e(n, e) {
- var r = t.call(this, n, e, this.getAttribute(u));
- return r && function (n) {
- this.setAttribute(u, r(n))
- }
- }
-
- function r(n, e) {
- var r = t.call(this, n, e, this.getAttributeNS(u.space, u.local));
- return r && function (n) {
- this.setAttributeNS(u.space, u.local, r(n))
- }
- }
-
- var u = Bo.ns.qualify(n);
- return this.tween("attr." + n, u.local ? r : e)
- }, Tl.style = function (n, t, e) {
- function r() {
- this.style.removeProperty(n)
- }
-
- function u(t) {
- return null == t ? r : (t += "", function () {
- var r, u = Qo.getComputedStyle(this, null).getPropertyValue(n);
- return u !== t && (r = du(u, t), function (t) {
- this.style.setProperty(n, r(t), e)
- })
- })
- }
-
- var i = arguments.length;
- if (3 > i) {
- if ("string" != typeof n) {
- 2 > i && (t = "");
- for (e in n)this.style(e, n[e], t);
- return this
- }
- e = ""
- }
- return jo(this, "style." + n, t, u)
- }, Tl.styleTween = function (n, t, e) {
- function r(r, u) {
- var i = t.call(this, r, u, Qo.getComputedStyle(this, null).getPropertyValue(n));
- return i && function (t) {
- this.style.setProperty(n, i(t), e)
- }
- }
-
- return arguments.length < 3 && (e = ""), this.tween("style." + n, r)
- }, Tl.text = function (n) {
- return jo(this, "text", n, Fo)
- }, Tl.remove = function () {
- return this.each("end.transition", function () {
- var n;
- this.__transition__.count < 2 && (n = this.parentNode) && n.removeChild(this)
- })
- }, Tl.ease = function (n) {
- var t = this.id;
- return arguments.length < 1 ? this.node().__transition__[t].ease : ("function" != typeof n && (n = Bo.ease.apply(Bo, arguments)), F(this, function (e) {
- e.__transition__[t].ease = n
- }))
- }, Tl.delay = function (n) {
- var t = this.id;
- return arguments.length < 1 ? this.node().__transition__[t].delay : F(this, "function" == typeof n ? function (e, r, u) {
- e.__transition__[t].delay = +n.call(e, e.__data__, r, u)
- } : (n = +n, function (e) {
- e.__transition__[t].delay = n
- }))
- }, Tl.duration = function (n) {
- var t = this.id;
- return arguments.length < 1 ? this.node().__transition__[t].duration : F(this, "function" == typeof n ? function (e, r, u) {
- e.__transition__[t].duration = Math.max(1, n.call(e, e.__data__, r, u))
- } : (n = Math.max(1, n), function (e) {
- e.__transition__[t].duration = n
- }))
- }, Tl.each = function (n, t) {
- var e = this.id;
- if (arguments.length < 2) {
- var r = Nl, u = Cl;
- Cl = e, F(this, function (t, r, u) {
- Nl = t.__transition__[e], n.call(t, t.__data__, r, u)
- }), Nl = r, Cl = u
- } else F(this, function (r) {
- var u = r.__transition__[e];
- (u.event || (u.event = Bo.dispatch("start", "end"))).on(n, t)
- });
- return this
- }, Tl.transition = function () {
- for (var n, t, e, r, u = this.id, i = ++ql, o = [], a = 0, c = this.length; c > a; a++) {
- o.push(n = []);
- for (var t = this[a], l = 0, s = t.length; s > l; l++)(e = t[l]) && (r = Object.create(e.__transition__[u]), r.delay += r.duration, Ho(e, l, i, r)), n.push(e)
- }
- return Uo(o, i)
- }, Bo.svg.axis = function () {
- function n(n) {
- n.each(function () {
- var n, l = Bo.select(this), s = this.__chart__ || e, f = this.__chart__ = e.copy(), h = null == c ? f.ticks ? f.ticks.apply(f, a) : f.domain() : c, g = null == t ? f.tickFormat ? f.tickFormat.apply(f, a) : Et : t, p = l.selectAll(".tick").data(h, f), v = p.enter().insert("g", ".domain").attr("class", "tick").style("opacity", Na), d = Bo.transition(p.exit()).style("opacity", Na).remove(), m = Bo.transition(p.order()).style("opacity", 1), y = Math.max(u, 0) + o, x = Pi(f), M = l.selectAll(".domain").data([0]), _ = (M.enter().append("path").attr("class", "domain"), Bo.transition(M));
- v.append("line"), v.append("text");
- var b, w, S, k, E = v.select("line"), A = m.select("line"), C = p.select("text").text(g), N = v.select("text"), z = m.select("text"), L = "top" === r || "left" === r ? -1 : 1;
- if ("bottom" === r || "top" === r ? (n = Oo, b = "x", S = "y", w = "x2", k = "y2", C.attr("dy", 0 > L ? "0em" : ".71em").style("text-anchor", "middle"), _.attr("d", "M" + x[0] + "," + L * i + "V0H" + x[1] + "V" + L * i)) : (n = Yo, b = "y", S = "x", w = "y2", k = "x2", C.attr("dy", ".32em").style("text-anchor", 0 > L ? "end" : "start"), _.attr("d", "M" + L * i + "," + x[0] + "H0V" + x[1] + "H" + L * i)), E.attr(k, L * u), N.attr(S, L * y), A.attr(w, 0).attr(k, L * u), z.attr(b, 0).attr(S, L * y), f.rangeBand) {
- var T = f, q = T.rangeBand() / 2;
- s = f = function (n) {
- return T(n) + q
- }
- } else s.rangeBand ? s = f : d.call(n, f, s);
- v.call(n, s, f), m.call(n, f, f)
- })
- }
-
- var t, e = Bo.scale.linear(), r = Rl, u = 6, i = 6, o = 3, a = [10], c = null;
- return n.scale = function (t) {
- return arguments.length ? (e = t, n) : e
- }, n.orient = function (t) {
- return arguments.length ? (r = t in Dl ? t + "" : Rl, n) : r
- }, n.ticks = function () {
- return arguments.length ? (a = arguments, n) : a
- }, n.tickValues = function (t) {
- return arguments.length ? (c = t, n) : c
- }, n.tickFormat = function (e) {
- return arguments.length ? (t = e, n) : t
- }, n.tickSize = function (t) {
- var e = arguments.length;
- return e ? (u = +t, i = +arguments[e - 1], n) : u
- }, n.innerTickSize = function (t) {
- return arguments.length ? (u = +t, n) : u
- }, n.outerTickSize = function (t) {
- return arguments.length ? (i = +t, n) : i
- }, n.tickPadding = function (t) {
- return arguments.length ? (o = +t, n) : o
- }, n.tickSubdivide = function () {
- return arguments.length && n
- }, n
- };
- var Rl = "bottom", Dl = {top: 1, right: 1, bottom: 1, left: 1};
- Bo.svg.brush = function () {
- function n(i) {
- i.each(function () {
- var i = Bo.select(this).style("pointer-events", "all").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)").on("mousedown.brush", u).on("touchstart.brush", u), o = i.selectAll(".background").data([0]);
- o.enter().append("rect").attr("class", "background").style("visibility", "hidden").style("cursor", "crosshair"), i.selectAll(".extent").data([0]).enter().append("rect").attr("class", "extent").style("cursor", "move");
- var a = i.selectAll(".resize").data(p, Et);
- a.exit().remove(), a.enter().append("g").attr("class", function (n) {
- return "resize " + n
- }).style("cursor", function (n) {
- return Pl[n]
- }).append("rect").attr("x", function (n) {
- return /[ew]$/.test(n) ? -3 : null
- }).attr("y", function (n) {
- return /^[ns]/.test(n) ? -3 : null
- }).attr("width", 6).attr("height", 6).style("visibility", "hidden"), a.style("display", n.empty() ? "none" : null);
- var s, f = Bo.transition(i), h = Bo.transition(o);
- c && (s = Pi(c), h.attr("x", s[0]).attr("width", s[1] - s[0]), e(f)), l && (s = Pi(l), h.attr("y", s[0]).attr("height", s[1] - s[0]), r(f)), t(f)
- })
- }
-
- function t(n) {
- n.selectAll(".resize").attr("transform", function (n) {
- return "translate(" + s[+/e$/.test(n)] + "," + f[+/^s/.test(n)] + ")"
- })
- }
-
- function e(n) {
- n.select(".extent").attr("x", s[0]), n.selectAll(".extent,.n>rect,.s>rect").attr("width", s[1] - s[0])
- }
-
- function r(n) {
- n.select(".extent").attr("y", f[0]), n.selectAll(".extent,.e>rect,.w>rect").attr("height", f[1] - f[0])
- }
-
- function u() {
- function u() {
- 32 == Bo.event.keyCode && (C || (y = null, z[0] -= s[1], z[1] -= f[1], C = 2), _())
- }
-
- function p() {
- 32 == Bo.event.keyCode && 2 == C && (z[0] += s[1], z[1] += f[1], C = 0, _())
- }
-
- function v() {
- var n = Bo.mouse(M), u = !1;
- x && (n[0] += x[0], n[1] += x[1]), C || (Bo.event.altKey ? (y || (y = [(s[0] + s[1]) / 2, (f[0] + f[1]) / 2]), z[0] = s[+(n[0] < y[0])], z[1] = f[+(n[1] < y[1])]) : y = null), E && d(n, c, 0) && (e(S), u = !0), A && d(n, l, 1) && (r(S), u = !0), u && (t(S), w({
- type: "brush",
- mode: C ? "move" : "resize"
- }))
- }
-
- function d(n, t, e) {
- var r, u, a = Pi(t), c = a[0], l = a[1], p = z[e], v = e ? f : s, d = v[1] - v[0];
- return C && (c -= p, l -= d + p), r = (e ? g : h) ? Math.max(c, Math.min(l, n[e])) : n[e], C ? u = (r += p) + d : (y && (p = Math.max(c, Math.min(l, 2 * y[e] - r))), r > p ? (u = r, r = p) : u = p), v[0] != r || v[1] != u ? (e ? o = null : i = null, v[0] = r, v[1] = u, !0) : void 0
- }
-
- function m() {
- v(), S.style("pointer-events", "all").selectAll(".resize").style("display", n.empty() ? "none" : null), Bo.select("body").style("cursor", null), L.on("mousemove.brush", null).on("mouseup.brush", null).on("touchmove.brush", null).on("touchend.brush", null).on("keydown.brush", null).on("keyup.brush", null), N(), w({type: "brushend"})
- }
-
- var y, x, M = this, b = Bo.select(Bo.event.target), w = a.of(M, arguments), S = Bo.select(M), k = b.datum(), E = !/^(n|s)$/.test(k) && c, A = !/^(e|w)$/.test(k) && l, C = b.classed("extent"), N = X(), z = Bo.mouse(M), L = Bo.select(Qo).on("keydown.brush", u).on("keyup.brush", p);
- if (Bo.event.changedTouches ? L.on("touchmove.brush", v).on("touchend.brush", m) : L.on("mousemove.brush", v).on("mouseup.brush", m), S.interrupt().selectAll("*").interrupt(), C)z[0] = s[0] - z[0], z[1] = f[0] - z[1]; else if (k) {
- var T = +/w$/.test(k), q = +/^n/.test(k);
- x = [s[1 - T] - z[0], f[1 - q] - z[1]], z[0] = s[T], z[1] = f[q]
- } else Bo.event.altKey && (y = z.slice());
- S.style("pointer-events", "none").selectAll(".resize").style("display", null), Bo.select("body").style("cursor", b.style("cursor")), w({type: "brushstart"}), v()
- }
-
- var i, o, a = w(n, "brushstart", "brush", "brushend"), c = null, l = null, s = [0, 0], f = [0, 0], h = !0, g = !0, p = Ul[0];
- return n.event = function (n) {
- n.each(function () {
- var n = a.of(this, arguments), t = {x: s, y: f, i: i, j: o}, e = this.__chart__ || t;
- this.__chart__ = t, Cl ? Bo.select(this).transition().each("start.brush", function () {
- i = e.i, o = e.j, s = e.x, f = e.y, n({type: "brushstart"})
- }).tween("brush:brush", function () {
- var e = mu(s, t.x), r = mu(f, t.y);
- return i = o = null, function (u) {
- s = t.x = e(u), f = t.y = r(u), n({type: "brush", mode: "resize"})
- }
- }).each("end.brush", function () {
- i = t.i, o = t.j, n({type: "brush", mode: "resize"}), n({type: "brushend"})
- }) : (n({type: "brushstart"}), n({type: "brush", mode: "resize"}), n({type: "brushend"}))
- })
- }, n.x = function (t) {
- return arguments.length ? (c = t, p = Ul[!c << 1 | !l], n) : c
- }, n.y = function (t) {
- return arguments.length ? (l = t, p = Ul[!c << 1 | !l], n) : l
- }, n.clamp = function (t) {
- return arguments.length ? (c && l ? (h = !!t[0], g = !!t[1]) : c ? h = !!t : l && (g = !!t), n) : c && l ? [h, g] : c ? h : l ? g : null
- }, n.extent = function (t) {
- var e, r, u, a, h;
- return arguments.length ? (c && (e = t[0], r = t[1], l && (e = e[0], r = r[0]), i = [e, r], c.invert && (e = c(e), r = c(r)), e > r && (h = e, e = r, r = h), (e != s[0] || r != s[1]) && (s = [e, r])), l && (u = t[0], a = t[1], c && (u = u[1], a = a[1]), o = [u, a], l.invert && (u = l(u), a = l(a)), u > a && (h = u, u = a, a = h), (u != f[0] || a != f[1]) && (f = [u, a])), n) : (c && (i ? (e = i[0], r = i[1]) : (e = s[0], r = s[1], c.invert && (e = c.invert(e), r = c.invert(r)), e > r && (h = e, e = r, r = h))), l && (o ? (u = o[0], a = o[1]) : (u = f[0], a = f[1], l.invert && (u = l.invert(u), a = l.invert(a)), u > a && (h = u, u = a, a = h))), c && l ? [[e, u], [r, a]] : c ? [e, r] : l && [u, a])
- }, n.clear = function () {
- return n.empty() || (s = [0, 0], f = [0, 0], i = o = null), n
- }, n.empty = function () {
- return !!c && s[0] == s[1] || !!l && f[0] == f[1]
- }, Bo.rebind(n, a, "on")
- };
- var Pl = {
- n: "ns-resize",
- e: "ew-resize",
- s: "ns-resize",
- w: "ew-resize",
- nw: "nwse-resize",
- ne: "nesw-resize",
- se: "nwse-resize",
- sw: "nesw-resize"
- }, Ul = [["n", "e", "s", "w", "nw", "ne", "se", "sw"], ["e", "w"], ["n", "s"], []], jl = rc.format = lc.timeFormat, Fl = jl.utc, Hl = Fl("%Y-%m-%dT%H:%M:%S.%LZ");
- jl.iso = Date.prototype.toISOString && +new Date("2000-01-01T00:00:00.000Z") ? Io : Hl, Io.parse = function (n) {
- var t = new Date(n);
- return isNaN(t) ? null : t
- }, Io.toString = Hl.toString, rc.second = Ft(function (n) {
- return new uc(1e3 * Math.floor(n / 1e3))
- }, function (n, t) {
- n.setTime(n.getTime() + 1e3 * Math.floor(t))
- }, function (n) {
- return n.getSeconds()
- }), rc.seconds = rc.second.range, rc.seconds.utc = rc.second.utc.range, rc.minute = Ft(function (n) {
- return new uc(6e4 * Math.floor(n / 6e4))
- }, function (n, t) {
- n.setTime(n.getTime() + 6e4 * Math.floor(t))
- }, function (n) {
- return n.getMinutes()
- }), rc.minutes = rc.minute.range, rc.minutes.utc = rc.minute.utc.range, rc.hour = Ft(function (n) {
- var t = n.getTimezoneOffset() / 60;
- return new uc(36e5 * (Math.floor(n / 36e5 - t) + t))
- }, function (n, t) {
- n.setTime(n.getTime() + 36e5 * Math.floor(t))
- }, function (n) {
- return n.getHours()
- }), rc.hours = rc.hour.range, rc.hours.utc = rc.hour.utc.range, rc.month = Ft(function (n) {
- return n = rc.day(n), n.setDate(1), n
- }, function (n, t) {
- n.setMonth(n.getMonth() + t)
- }, function (n) {
- return n.getMonth()
- }), rc.months = rc.month.range, rc.months.utc = rc.month.utc.range;
- var Ol = [1e3, 5e3, 15e3, 3e4, 6e4, 3e5, 9e5, 18e5, 36e5, 108e5, 216e5, 432e5, 864e5, 1728e5, 6048e5, 2592e6, 7776e6, 31536e6], Yl = [[rc.second, 1], [rc.second, 5], [rc.second, 15], [rc.second, 30], [rc.minute, 1], [rc.minute, 5], [rc.minute, 15], [rc.minute, 30], [rc.hour, 1], [rc.hour, 3], [rc.hour, 6], [rc.hour, 12], [rc.day, 1], [rc.day, 2], [rc.week, 1], [rc.month, 1], [rc.month, 3], [rc.year, 1]], Il = jl.multi([[".%L", function (n) {
- return n.getMilliseconds()
- }], [":%S", function (n) {
- return n.getSeconds()
- }], ["%I:%M", function (n) {
- return n.getMinutes()
- }], ["%I %p", function (n) {
- return n.getHours()
- }], ["%a %d", function (n) {
- return n.getDay() && 1 != n.getDate()
- }], ["%b %d", function (n) {
- return 1 != n.getDate()
- }], ["%B", function (n) {
- return n.getMonth()
- }], ["%Y", Ae]]), Zl = {
- range: function (n, t, e) {
- return Bo.range(Math.ceil(n / e) * e, +t, e).map(Vo)
- }, floor: Et, ceil: Et
- };
- Yl.year = rc.year, rc.scale = function () {
- return Zo(Bo.scale.linear(), Yl, Il)
- };
- var Vl = Yl.map(function (n) {
- return [n[0].utc, n[1]]
- }), Xl = Fl.multi([[".%L", function (n) {
- return n.getUTCMilliseconds()
- }], [":%S", function (n) {
- return n.getUTCSeconds()
- }], ["%I:%M", function (n) {
- return n.getUTCMinutes()
- }], ["%I %p", function (n) {
- return n.getUTCHours()
- }], ["%a %d", function (n) {
- return n.getUTCDay() && 1 != n.getUTCDate()
- }], ["%b %d", function (n) {
- return 1 != n.getUTCDate()
- }], ["%B", function (n) {
- return n.getUTCMonth()
- }], ["%Y", Ae]]);
- Vl.year = rc.year.utc, rc.scale.utc = function () {
- return Zo(Bo.scale.linear(), Vl, Xl)
- }, Bo.text = At(function (n) {
- return n.responseText
- }), Bo.json = function (n, t) {
- return Ct(n, "application/json", Xo, t)
- }, Bo.html = function (n, t) {
- return Ct(n, "text/html", $o, t)
- }, Bo.xml = At(function (n) {
- return n.responseXML
- }), "function" == typeof define && define.amd ? define(Bo) : "object" == typeof module && module.exports && (module.exports = Bo), this.d3 = Bo
-}(); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/facebox.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/facebox.js
deleted file mode 100644
index cc6f138a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/facebox.js
+++ /dev/null
@@ -1,388 +0,0 @@
-/*
- * Facebox (for jQuery)
- * version: 1.3
- * @requires jQuery v1.2 or later
- * @homepage https://github.com/defunkt/facebox
- *
- * Licensed under the MIT:
- * http://www.opensource.org/licenses/mit-license.php
- *
- * Copyright Forever Chris Wanstrath, Kyle Neath
- *
- * Usage:
- *
- * jQuery(document).ready(function() {
- * jQuery('a[rel*=facebox]').facebox()
- * })
- *
- * <a href="#terms" rel="facebox">Terms</a>
- * Loads the #terms div in the box
- *
- * <a href="terms.html" rel="facebox">Terms</a>
- * Loads the terms.html page in the box
- *
- * <a href="terms.png" rel="facebox">Terms</a>
- * Loads the terms.png image in the box
- *
- *
- * You can also use it programmatically:
- *
- * jQuery.facebox('some html')
- * jQuery.facebox('some html', 'my-groovy-style')
- *
- * The above will open a facebox with "some html" as the content.
- *
- * jQuery.facebox(function($) {
- * $.get('blah.html', function(data) { $.facebox(data) })
- * })
- *
- * The above will show a loading screen before the passed function is called,
- * allowing for a better ajaxy experience.
- *
- * The facebox function can also display an ajax page, an image, or the contents of a div:
- *
- * jQuery.facebox({ ajax: 'remote.html' })
- * jQuery.facebox({ ajax: 'remote.html' }, 'my-groovy-style')
- * jQuery.facebox({ image: 'stairs.jpg' })
- * jQuery.facebox({ image: 'stairs.jpg' }, 'my-groovy-style')
- * jQuery.facebox({ div: '#box' })
- * jQuery.facebox({ div: '#box' }, 'my-groovy-style')
- *
- * Want to close the facebox? Trigger the 'close.facebox' document event:
- *
- * jQuery(document).trigger('close.facebox')
- *
- * Facebox also has a bunch of other hooks:
- *
- * loading.facebox
- * beforeReveal.facebox
- * reveal.facebox (aliased as 'afterReveal.facebox')
- * init.facebox
- * afterClose.facebox
- *
- * Simply bind a function to any of these hooks:
- *
- * $(document).bind('reveal.facebox', function() { ...stuff to do after the facebox and contents are revealed... })
- *
- */
-(function ($) {
- /*
- function cloneCanvas(oldCanvas) {
-
- //create a new canvas
- var newCanvas = document.createElement('canvas');
- var context = newCanvas.getContext('2d');
-
- //set dimensions
- newCanvas.width = oldCanvas.width;
- newCanvas.height = oldCanvas.height;
-
- //apply the old canvas to the new one
- context.drawImage(oldCanvas, 0, 0);
-
- //return the new canvas
- return newCanvas;
- }
- */
- $.facebox = function (data, klass) {
- $.facebox.loading(data.settings || [])
-
- if (data.ajax) fillFaceboxFromAjax(data.ajax, klass)
- else if (data.image) fillFaceboxFromImage(data.image, klass)
- else if (data.div) fillFaceboxFromHref(data.div, klass)
- else if ($.isFunction(data)) data.call($)
- else $.facebox.reveal(data, klass)
- }
-
- /*
- * Public, $.facebox methods
- */
-
- $.extend($.facebox, {
- settings: {
- opacity: 0.2,
- overlay: true,
- loadingImage: '/facebox/loading.gif',
- closeImage: '/facebox/closelabel.png',
- imageTypes: ['png', 'jpg', 'jpeg', 'gif'],
- faceboxHtml: '\
- <div id="facebox" style="display:none;"> \
- <div class="popup"> \
- <div class="content"> \
- </div> \
- <a href="#" class="close"></a> \
- </div> \
- </div>'
- },
-
- loading: function () {
- init()
- if ($('#facebox .loading').length == 1) return true
- showOverlay()
-
- $('#facebox .content').empty().
- append('<div class="loading"><img src="' + $.facebox.settings.loadingImage + '"/></div>')
-
- $('#facebox').show().css({
- top: getPageScroll()[1] + (getPageHeight() / 10),
- left: $(window).width() / 2 - ($('#facebox .popup').outerWidth() / 2)
- })
-
- $(document).bind('keydown.facebox', function (e) {
- if (e.keyCode == 27) $.facebox.close()
- return true
- })
- $(document).trigger('loading.facebox')
- },
-
- flotPlaceholderId: "",
- //flotRedrawCallbackId: "",
- flotRedrawCallback: {},
- flotRedrawCallbackObjs: {},
- intervals: {},
- charts: {},
-
- isExpand: function (placeholderFlotId) {
- if (placeholderFlotId.indexOf("_expand") >= 0) {
- return true;
- } else {
- return false;
- }
- },
-
- clearContent: function (placeholderId) {
- $('#facebox .content').empty().append('<div id="' + placeholderId + '_expand" class="flot-placeholder-expand">')
- },
-
- createChartExpand: function (callback) {
- $.facebox.clearContent(this.flotPlaceholderId);
- callback(this.flotPlaceholderId + "_expand");
- },
-
- createChartExpandObj: function (callbackObj) {
- $.facebox.clearContent(this.flotPlaceholderId);
- //callback(this.flotPlaceholderId + "_expand");
- var args = callbackObj.arguments;
- if (args.length > 0) {
- args[0] = this.flotPlaceholderId + "_expand";
- callbackObj.callback.apply(null, args);
- }
- },
-
- reveal: function (data, klass) {
- $(document).trigger('beforeReveal.facebox')
- if (klass) $('#facebox .content').addClass(klass)
- //$('#facebox .content').empty().append(data)
- /////////////////////////////////////////////
- //this.createChartExpand(this.flotRedrawCallback[this.flotPlaceholderId]);
- this.createChartExpandObj(this.flotRedrawCallbackObjs[this.flotPlaceholderId]);
- //////////////////////////////////////////////////////////////////////
- $('#facebox .popup').children().fadeIn('normal')
- $('#facebox').css('left', $(window).width() / 2 - ($('#facebox .popup').outerWidth() / 2))
- $(document).trigger('reveal.facebox').trigger('afterReveal.facebox')
- },
-
- close: function () {
- $(document).trigger('close.facebox')
- return false
- }
- })
-
- /*
- * Public, $.fn methods
- */
-
- $.fn.facebox = function (settings) {
- if ($(this).length == 0) return
-
- init(settings)
-
- function clickHandler() {
- $.facebox.loading(true)
-
- // support for rel="facebox.inline_popup" syntax, to add a class
- // also supports deprecated "facebox[.inline_popup]" syntax
- var klass
- if (this.rel) {
- klass = this.rel.match(/facebox\[?\.(\w+)\]?/)
- } else {
- klass = $(this).attr("rel").match(/facebox\[?\.(\w+)\]?/)
- }
- if (klass) klass = klass[1]
-
- if (this.href) fillFaceboxFromHref(this.href, klass)
- else fillFaceboxFromHref($(this).attr("href"), klass)
- return false
- }
-
- return this.bind('click.facebox', clickHandler)
- }
-
- /*
- * Private methods
- */
-
- // called one time to setup facebox on this page
- function init(settings) {
- if ($.facebox.settings.inited) return true
- else $.facebox.settings.inited = true
-
- $(document).trigger('init.facebox')
- makeCompatible()
-
- var imageTypes = $.facebox.settings.imageTypes.join('|')
- $.facebox.settings.imageTypesRegexp = new RegExp('\\.(' + imageTypes + ')(\\?.*)?$', 'i')
-
- if (settings) $.extend($.facebox.settings, settings)
- $('body').append($.facebox.settings.faceboxHtml)
-
- var preload = [new Image(), new Image()]
- preload[0].src = $.facebox.settings.closeImage
- preload[1].src = $.facebox.settings.loadingImage
-
- $('#facebox').find('.b:first, .bl').each(function () {
- preload.push(new Image())
- preload.slice(-1).src = $(this).css('background-image').replace(/url\((.+)\)/, '$1')
- })
-
- $('#facebox .close')
- .click($.facebox.close)
- .append('<img src="'
- + $.facebox.settings.closeImage
- + '" class="close_image" title="close">')
-
- //$('#facebox .content').addClass('contentWide')
- }
-
- // getPageScroll() by quirksmode.com
- function getPageScroll() {
- var xScroll, yScroll;
- if (self.pageYOffset) {
- yScroll = self.pageYOffset;
- xScroll = self.pageXOffset;
- } else if (document.documentElement && document.documentElement.scrollTop) { // Explorer 6 Strict
- yScroll = document.documentElement.scrollTop;
- xScroll = document.documentElement.scrollLeft;
- } else if (document.body) {// all other Explorers
- yScroll = document.body.scrollTop;
- xScroll = document.body.scrollLeft;
- }
- return new Array(xScroll, yScroll)
- }
-
- // Adapted from getPageSize() by quirksmode.com
- function getPageHeight() {
- var windowHeight
- if (self.innerHeight) { // all except Explorer
- windowHeight = self.innerHeight;
- } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
- windowHeight = document.documentElement.clientHeight;
- } else if (document.body) { // other Explorers
- windowHeight = document.body.clientHeight;
- }
- return windowHeight
- }
-
- // Backwards compatibility
- function makeCompatible() {
- var $s = $.facebox.settings
-
- $s.loadingImage = $s.loading_image || $s.loadingImage
- $s.closeImage = $s.close_image || $s.closeImage
- $s.imageTypes = $s.image_types || $s.imageTypes
- $s.faceboxHtml = $s.facebox_html || $s.faceboxHtml
- }
-
- // Figures out what you want to display and displays it
- // formats are:
- // div: #id
- // image: blah.extension
- // ajax: anything else
- function fillFaceboxFromHref(href, klass) {
- // div
- if (href.match(/#/)) {
- var url = window.location.href.split('#')[0]
- var target = href.replace(url, '')
- if (target == '#') return
- //选择需要放大的图
- $.facebox.flotPlaceholderId = $(target).attr("flot_id");
- //$.facebox.flotRedrawCallbackId = $(target).attr("callback_id");
- if ($(target).hasClass("flot-placeholder-wrapper-portlet-wide")) {
- $('#facebox .content').addClass('contentWide');
- }
-
- $.facebox.reveal($(target).html(), klass)
-
- // image
- } else if (href.match($.facebox.settings.imageTypesRegexp)) {
- fillFaceboxFromImage(href, klass)
- // ajax
- } else {
- fillFaceboxFromAjax(href, klass)
- }
- }
-
- function fillFaceboxFromImage(href, klass) {
- var image = new Image()
- image.onload = function () {
- $.facebox.reveal('<div class="image"><img src="' + image.src + '" /></div>', klass)
- }
- image.src = href
- }
-
- function fillFaceboxFromAjax(href, klass) {
- $.facebox.jqxhr = $.get(href, function (data) {
- $.facebox.reveal(data, klass)
- })
- }
-
- function skipOverlay() {
- return $.facebox.settings.overlay == false || $.facebox.settings.opacity === null
- }
-
- function showOverlay() {
- if (skipOverlay()) return
-
- if ($('#facebox_overlay').length == 0)
- $("body").append('<div id="facebox_overlay" class="facebox_hide"></div>')
-
- $('#facebox_overlay').hide().addClass("facebox_overlayBG")
- .css('opacity', $.facebox.settings.opacity)
- .click(function () {
- $(document).trigger('close.facebox')
- })
- .fadeIn(200)
- return false
- }
-
- function hideOverlay() {
- if (skipOverlay()) return
-
- $('#facebox_overlay').fadeOut(200, function () {
- $("#facebox_overlay").removeClass("facebox_overlayBG")
- $("#facebox_overlay").addClass("facebox_hide")
- $("#facebox_overlay").remove()
- })
-
- return false
- }
-
- /*
- * Bindings
- */
-
- $(document).bind('close.facebox', function () {
- if ($.facebox.jqxhr) {
- $.facebox.jqxhr.abort()
- $.facebox.jqxhr = null
- }
- $(document).unbind('keydown.facebox')
- $('#facebox').fadeOut(function () {
- $('#facebox .content').removeClass().addClass('content')
- $('#facebox .loading').remove()
- $(document).trigger('afterClose.facebox')
- })
- hideOverlay()
- })
-
-})(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/portlet-draggable-jq.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/portlet-draggable-jq.js
deleted file mode 100644
index 3afe3a6a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/assets/js/portlet-draggable-jq.js
+++ /dev/null
@@ -1,66 +0,0 @@
-var PortletDraggable = function () {
-
- return {
- //main function to initiate the module
- init: function () {
-
- if (!jQuery().sortable) {
- return;
- }
-
- $(".column").sortable({
- connectWith: ".column",
- items: ".portlet",
- opacity: 0.8,
- forceHelperSize: true,
- placeholder: 'portlet-sortable-placeholder',
- forcePlaceholderSize: true,
- tolerance: "pointer",
- helper: "clone",
- /* tolerance: "pointer",
- forcePlaceholderSize: !0,
- helper: "clone", */
- cancel: ".portlet-sortable-empty, .portlet-fullscreen", // cancel dragging if portlet is in fullscreen mode
- revert: 250, // animation in milliseconds
- update: function (b, c) {
- if (c.item.prev().hasClass("portlet-sortable-empty")) {
- c.item.prev().before(c.item);
- }
- //换位置后重绘图例
- var portlet = $(c.item);
- /* var placeHolderId = $("a > div", portlet).attr("flot_id");
- if(placeHolderId){
- var itemCallbackObj = $.facebox.flotRedrawCallbackObjs[placeHolderId];
- var args = itemCallbackObj.arguments;
- $.facebox.isDragged = true;
- var placeHolder = $("div[id=" + placeHolderId + "]");
- if($(placeHolder).length > 0){
- $(placeHolder).empty();
- //eChart的情况需要去掉_echarts_instance_属性才能重绘
- if($(placeHolder).attr("_echarts_instance_")){
- $(placeHolder).removeAttr("_echarts_instance_");
- }
- if(itemCallbackObj.callback && args.length > 0){
- args[0] = placeHolderId;
- itemCallbackObj.callback.apply(null, args);
- }
- }
- $.facebox.isDragged = false;
- } */
- //刷新图例大小
- var charts = $.facebox.charts;
- for (var chart in charts) {
- charts[chart].resize();
- }
- DashboardICT.removeYaxisScale();
- //调整放大后的宽度
- if ($(portlet).parent().hasClass("col-md-6")) {
- $("a > div", portlet).addClass("flot-placeholder-wrapper-portlet-wide");
- } else {
- $("a > div", portlet).removeClass("flot-placeholder-wrapper-portlet-wide");
- }
- }
- });
- }
- };
-}(); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/c3Chart.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/c3Chart.js
deleted file mode 100644
index 5a3326dc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/c3Chart.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- graphApp = angular.module('graphApp', []);
-
- graphApp.controller('GraphCtrl', function ($scope) {
- $scope.chart = null;
- $scope.config={};
- $scope.config.data1="30, 200, 100, 200, 150, 250";
- $scope.config.data2="70, 30, 10, 240, 150, 125";
-
- $scope.typeOptions=["line","bar","spline","step","area","area-step","area-spline"];
-
- $scope.config.type1=$scope.typeOptions[0];
- $scope.config.type2=$scope.typeOptions[1];
-
- $scope.showGraph = function() {
- var config = {};
- config.bindto = '#placeholderC3';
- config.data = {};
- config.data.json = {};
- config.data.json.data1 = $scope.config.data1.split(",");
- config.data.json.data2 = $scope.config.data2.split(",");
- config.axis = {"y":{"label":{"text":"Number of items","position":"outer-middle"}}};
- config.data.types={"data1":$scope.config.type1,"data2":$scope.config.type2};
- $scope.chart = c3.generate(config);
- }
-
- $scope.changeColor = function() {
- d3.selectAll('path.c3-bar').style("fill", "red");
- }
- });
- */
-
-var c3ChartDemo = function (placeholderC3, type) {
- var $scopeX = {};
- $scopeX.chart = null;
- $scopeX.config = {};
- $scopeX.config.data1 = "30, 200, 100, 200, 150, 250";
- $scopeX.config.data2 = "70, 30, 10, 240, 150, 125";
-
- $scopeX.typeOptions = ["line", "bar", "spline", "step", "area", "area-step", "area-spline"];
-
- $scopeX.config.type1 = $scopeX.typeOptions[0];
- $scopeX.config.type2 = $scopeX.typeOptions[1];
- var config = {};
- config.bindto = '#' + placeholderC3;
- config.data = {};
- config.data.json = {};
- config.data.json.data1 = $scopeX.config.data1.split(",");
- config.data.json.data2 = $scopeX.config.data2.split(",");
- config.axis = {"y": {"label": {"text": "Number of items", "position": "outer-middle"}}};
- config.data.types = {"data1": $scopeX.config.type1, "data2": $scopeX.config.type2};
- if (type && type == "bar") {
- config.data.types.data1 = $scopeX.config.type2;
- }
- if (type && type == "step") {
- config.data.types.data1 = "step";
- }
- $.facebox.charts[placeholderC3] = c3.generate(config);
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/demo-barchart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/demo-barchart-c3.js
deleted file mode 100644
index 6f332f1b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/demo-barchart-c3.js
+++ /dev/null
@@ -1,29 +0,0 @@
-var AlarmCount_BarChart_C3 = function (placeholdeC3) {
-
- var callbackList = [];
- var callback = function () {
-
- }
- callbackList.push(callback);
-
- $.ajax({
- "dataType": "json",
- "type": "GET",
- "url": "/web/rest/web/fm/count/total",
- "data": null,
- "Content-Type": "",
- "success": function (json, textStatus, jqXHR) {
- var alarmcount = json;
- var inputData = [];
- for (var i = 0; i < alarmcount.ackedCount.length; i++) {
- inputData.push(alarmcount.unAckedCount[i] + alarmcount.ackedCount[i]);
- }
- //for test
- inputData = [50, 10, 20, 40];
- ICT_Bar_Chart_C3(placeholdeC3, inputData, callbackList);
- },
- "error": function () {
- }
- });
-
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/demo-linechart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/demo-linechart-c3.js
deleted file mode 100644
index 2991a8b6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/demo-linechart-c3.js
+++ /dev/null
@@ -1,41 +0,0 @@
-var seriesCount = 3;
-var xMaxLength = 60;
-var colors = ["#d12610", "#37b7f3", "#52e136"];
-
-var ICT_CPU_UsageLine_C3 = function (placeholderC3) {
-
- var c3Line = ICT_Line_C3(placeholderC3);
-
- var data = {};
- var maxNumber = 60;
-
- function randomNumber() {
- return Math.floor((Math.random() * maxNumber) + 1);
- }
-
- if (!$.facebox.isExpand(placeholderC3)) {
- $.facebox.intervals[placeholderC3] = window.setInterval(function () {
-
- //var newSeriesData = {};
- var newSeriesData = [];
-
- $.ajax({
- dataType: "json",
- "type": "GET",
- url: "/web/rest/web/dm/dashboard/selfcpu/queryValues",
- "data": JSON.stringify(data),
- contentType: "application/json; charset=utf-8",
- "success": function (data) {
- //newSeriesData.data1 = data.cpuUseRatios[0];
- //newSeriesData.data2 = randomNumber();
- newSeriesData.push({name: "data1", value: data.cpuUseRatios[0]});
- newSeriesData.push({name: "data2", value: randomNumber()});
- newSeriesData.push({name: "data3", value: randomNumber()});
- c3Line.setC3Data(newSeriesData);
- }
- });
-
- }, 3 * 1000);
- }
-
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/ict-barchart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/ict-barchart-c3.js
deleted file mode 100644
index ee1040ca..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/ict-barchart-c3.js
+++ /dev/null
@@ -1,67 +0,0 @@
-var ICT_Bar_Chart_C3 = function (placeholdeC3, inputData, callbackList) {
-
- var language;
- //取得国际化信息
- $.ajax({
- dataType: "json",
- url: "/web/newict/framework/thirdparty/flotchart/i18n/ict-barchart-flot-" + getLanguage() + ".json",
- async: false,
- contentType: "application/json; charset=utf-8",
- "success": function (data) {
- language = data.language;
- },
- "error": function (xhr, info) {
- alert("Communication Error! Error reason:" + info);
- }
- });
-
- var config = {};
- config.bindto = '#' + placeholdeC3;
- config.data = {};
- config.data.json = {};
- config.data.json["告警"] = inputData;
- config.axis = {"y": {"label": {"text": "Number of Alarms", "position": "outer-middle"}}};
- config.axis.x = {
- type: 'category',
- categories: [language[0].value, language[1].value, language[2].value, language[3].value]
- };
- /* config.axis.y.tick = {
- format: function(data){
- return data + "%";
- }
- }; */
- config.data.types = {};
- config.data.types["告警"] = "bar";
- config.data.color = function (inColor, data) {
- if (data.index !== undefined) {
- return language[data.index].color;
- }
- return inColor;
- },
- config.data.onclick = function (data, element) {
- if (data.index !== undefined) {
- var severity = data.index + 1;
- window.open(
- "/web/res/web-framework/default.html?showNav=false&severity="
- + severity + "#uep-ict-fm-currentAlarm", "fm_portlet_page_title"
- + severity, "");
- }
- },
- //config.data.colors = ['red', 'green', 'blue', 'yellow'];
- config.legend = {
- show: false
- };
- $.facebox.charts[placeholdeC3] = c3.generate(config);
-
- /* if($.facebox.isExpand(placeholdeC3)){
- barChartData = $.facebox.barChartData;
- }else{
- $.facebox.barChartData = barChartData;
- } */
-
- $.each(callbackList, function (index, callback) {
- callback();
- });
-
-}
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/ict-linechart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/ict-linechart-c3.js
deleted file mode 100644
index 5b6d22bc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/ict-linechart-c3.js
+++ /dev/null
@@ -1,81 +0,0 @@
-var ICT_Line_C3 = function (placeholderC3) {
-
- //var dataSeries = [];
- var xkeys = {"x": "x", "value": []};
-
- //��ʼ�����
- var config = {};
- config.bindto = '#' + placeholderC3;
- config.data = {};
- config.data.keys = xkeys;
- config.data.json = [];
- //�Ŵ���ʾ�����ֱ��ȡ��������
- if (($.facebox.isExpand(placeholderC3) || $.facebox.isDragged) && $.facebox.flotRealTimeData) {
- config.data.json = $.facebox.flotRealTimeData;
- config.data.keys = $.facebox.xkeys;
- }
- config.axis = {};
- config.axis.x = {"type": "timeseries", "tick": {"format": "%S"}};
- config.axis.y = {"label": {"text": "Ratio of CPUs", "position": "outer-middle"}};
- config.axis.y.tick = {
- format: function (data) {
- return data + "%";
- }
- };
- config.data.types = {"data1": "line", "data2": "spline"};
- config.data.colors = {
- data1: '#ff0000',
- data2: '#00ff00',
- data3: '#0000ff'
- };
- var c3Chart = c3.generate(config);
- $.facebox.charts[placeholderC3] = c3Chart;
-
- if (!$.facebox.isExpand(placeholderC3)) {
-
- var dataService = function () {
- var data = [];
- var numDataPoints = 60;
-
- this.loadData = function (callback, newSeriesData) {
- if (data.length > numDataPoints) {
- data.shift();
- }
- var newValue = {"x": new Date()};
- for (var i = 0; i < newSeriesData.length; i++) {
- newValue[newSeriesData[i].name] = newSeriesData[i].value;
- }
- //data.push({"x":new Date(),"data1":newSeriesData.data1,"data2":newSeriesData.data2});
- data.push(newValue);
- $.facebox.flotRealTimeData = data;
- $.facebox.xkeys = xkeys;
- callback(data);
- };
- return this;
- }();
-
- return {
-
- setC3Data: function (newSeriesData) {
- var values = [];
- for (var i = 0; i < newSeriesData.length; i++) {
- values.push(newSeriesData[i].name);
- }
- xkeys.value = values;
- //dataSeries = recalculateSeries(dataSeries, newSeriesData);
- dataService.loadData(function (newData) {
- var data = {};
- data.keys = xkeys;
- data.json = newData;
- c3Chart.load(data);
- //c3Chart.resize();
- }, newSeriesData);
-
- //$.facebox.flotRealTimeData = dataSeries;
- }
-
- };
-
- }
-
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/index3.html b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/index3.html
deleted file mode 100644
index ad289ae0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/demo/index3.html
+++ /dev/null
@@ -1,142 +0,0 @@
-<!DOCTYPE html>
-<html ng-app="graphApp">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title></title>
- <SCRIPT SRC="debug.js"></SCRIPT>
- <SCRIPT>
- if (typeof(parent.loadJsFromIndex) == "undefined" || !parent.loadJsFromIndex) {
- var jqueryJsPath = "/web/res/web-common/comp/jquery.js";
- document.write("<" + "SCRIPT SRC=" + jqueryJsPath + "><" + "/SCRIPT>");
- var frameworkJsPath = "/web/res/web-framework/js/framework.js";
- document.write("<" + "SCRIPT SRC=" + frameworkJsPath + "><" + "/SCRIPT>");
- }
- </SCRIPT>
- <SCRIPT>
- if (typeof ($userFrameDir) == 'undefined') {
- $userFrameDir = "/web/res/web-common/comp/";
- }
- var toolUrl = $userFrameDir + "tools.js";
- document.write("<" + "SCRIPT SRC=" + toolUrl + "><" + "/SCRIPT>");
- </SCRIPT>
-</head>
-<style>
- body {
- margin: 0;
- padding: 0;
- }
-</style>
-<link rel="stylesheet" href="/web/newict/framework/thirdparty/jquery-ui/jquery-ui-1.10.3.custom.min.css">
-<link href="/web/newict/framework/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
-<link href="/web/newict/framework/thirdparty/facebox/facebox.css" media="screen" rel="stylesheet" type="text/css"/>
-<link type="text/css" href="/web/newict/framework/thirdparty/dashboard/assets/css/ict-chart-dashboard.css"
- rel="stylesheet">
-<link type="text/css" href="/web/newict/framework/thirdparty/dashboard/assets/css/components.css" rel="stylesheet">
-<link rel="stylesheet" href="/web/res/web-common/css/ZteIctIcons/style.css"/>
-<link rel="stylesheet" href="/web/newict/framework/thirdparty/font-awesome/css/font-awesome.min.css"/>
-<link type="text/css" href="/web/newict/framework/thirdparty/dashboard/assets/css/transition.css" rel="stylesheet">
-<link type="text/css" href="/web/newict/framework/thirdparty/dashboard/DashboardICT.css" rel="stylesheet">
-<link href="/web/newict/framework/thirdparty/uniform/css/uniform.default.css" rel="stylesheet" type="text/css">
-<link href="/web/newict/framework/thirdparty/dashboard/assets/css/c3.css" rel="stylesheet" type="text/css">
-<body ng-controller="GraphCtrl">
-<div class="dashBoardHeader">
- <div id="cf5" class="hover sidebar-toggler">
- <img class="top shadow" src="images/open.png"/>
- <img class="bottom shadow" src="images/shrink.png"/>
- </div>
- <button id="savePlots">Save</button>
- <div id="deleteIcon" class="hover delete-icon">
- <img class="top shadow" src="images/remove.png"/>
- <img class="bottom shadow deleteIconHidden" src="images/remove_red.png"/>
- </div>
-</div>
-<div class="plotItemsSelectionWrapper"></div>
-<div class="dashBoardBody">
- <div class="contentWrapper">
- <div class="plotsWrapper">
- <div class="row ui-sortable" id="sortable_portlets_added">
- <div class="col-md-6 column sortable col-padding-adjust">
- <div id="droppable" class="portlet portlet-sortable light bg-inverse droppable"
- style="display: block;"></div>
- <div class="portlet portlet-sortable-empty"></div>
- </div>
- <div class="col-md-6 column sortable col-padding-adjust">
- <div id="droppable1" class="portlet portlet-sortable light bg-inverse droppable"
- style="display: block;"></div>
- <div class="portlet portlet-sortable-empty"></div>
- </div>
- </div>
- </div>
- </div>
-</div>
-<!-- </div> -->
-<script type="text/javascript" src="/web/newict/framework/thirdparty/jquery-1.10.2.min.js"></script>
-<script src="/web/newict/framework/thirdparty/jquery-ui/jquery-ui-1.10.3.custom.min.js"></script>
-<script src="/web/newict/framework/thirdparty/dashboard/assets/js/d3.min.js" charset="utf-8"></script>
-<script src="/web/newict/framework/thirdparty/dashboard/assets/js/c3.js"></script>
-<!--图例-->
-<SCRIPT SRC="/web/newict/framework/thirdparty/dashboard/demo/ict-linechart-c3.js"></SCRIPT>
-<SCRIPT SRC="/web/newict/framework/thirdparty/dashboard/demo/ict-barchart-c3.js"></SCRIPT>
-<!--demo-->
-<SCRIPT SRC="/web/newict/framework/thirdparty/dashboard/demo/demo-barchart-c3.js"></SCRIPT>
-<SCRIPT SRC="/web/newict/framework/thirdparty/dashboard/demo/demo-linechart-c3.js"></SCRIPT>
-<!--facebox-->
-<script src="/web/newict/framework/thirdparty/dashboard/assets/js/facebox.js"></script>
-<!--portlet-->
-<script src="/web/newict/framework/thirdparty/dashboard/assets/js/portlet-draggable-jq.js"
- type="text/javascript"></script>
-<script src="/web/newict/framework/thirdparty/bootstrap/js/bootstrap.min.js"></script>
-<script src="/web/newict/framework/thirdparty/jquery-slimscroll/jquery.slimscroll.min.js"
- type="text/javascript"></script>
-<!-- <script type="text/javascript" src="js/freewall.js"></script> -->
-<script src="/web/newict/framework/thirdparty/dashboard/demo/c3Chart.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/uniform/jquery.uniform.min.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/dashboard/DashboardICT-jq.js"></script>
-<script>
- jQuery(document).ready(function () {
-
- var c3ChartControlHtmlFrag =
- '<div class="legendC3">' +
- '<span id="c3-line" data-id="data1" style="background-color: rgb(31, 119, 180);">Line</span>' +
- '<span id="c3-bar" data-id="data2" style="background-color: rgb(255, 127, 14);">Bar</span>' +
- '<span id="c3-step" data-id="data3" style="background-color: rgb(44, 160, 44);">Step</span>' +
- '</div>';
- DashboardICT.addPlotControlHtmlFrags("c3Chart", c3ChartControlHtmlFrag);
-
- var c3PlotControlCallback = function (plotCallback, placeholderId) {
- $("#c3-line").click(function () {
- plotCallback(placeholderId, "line");
- var args = [placeholderId, "line"];
- $.facebox.flotRedrawCallbackObjs[placeholderId] = {
- callback: plotCallback,
- arguments: args
- }
- });
- $("#c3-bar").click(function () {
- plotCallback(placeholderId, "bar");
- var args = [placeholderId, "bar"];
- $.facebox.flotRedrawCallbackObjs[placeholderId] = {
- callback: plotCallback,
- arguments: args
- }
- });
- $("#c3-step").click(function () {
- plotCallback(placeholderId, "step");
- var args = [placeholderId, "step"];
- $.facebox.flotRedrawCallbackObjs[placeholderId] = {
- callback: plotCallback,
- arguments: args
- }
- });
- }
- DashboardICT.addPlotControlCallbacks("c3Chart", c3PlotControlCallback);
-
- DashboardICT.init();
- $("#savePlots").click(function () {
- var savedPlots = DashboardICT.saveSelectedPlots();
- });
-
- });
-</script>
-</body>
-</html>
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/ict.dashboard.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/ict.dashboard.css
deleted file mode 100644
index e9a9795b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/ict.dashboard.css
+++ /dev/null
@@ -1,293 +0,0 @@
-.droppable {
- height: 254px;
- /*height: 600px;*/
- opacity: 0.0;
-}
-
-.draggableItemsWrapper {
- opacity: 0.8;
- background: #F7F7F7;
- position: fixed;
- width: 100%;
- height: 70px;
- overflow: auto;
- margin: 5px;
- top: 0px;
-}
-
-.draggableItems {
- display: inline-block;
- /* width: 70px; */
- color: black;
- /*background-color: #4b8df8;*/
- padding: 20px;
- padding-bottom: 3px;
- padding-left: 20px;
- padding-right: 20px;
- /*margin-right: 5px;*/
- font-size: 1.8em;
- /*margin-bottom: 10px;*/
- /*border: 1px solid #e1e1e1 !important;*/
- border-bottom: 1px solid #e1e1e1 !important;
- cursor: pointer;
- background-color: #fff;
- opacity: 0.75;
-}
-
-.draggableItems:hover {
- opacity: 1;
-}
-
-.droppedOver {
- background-color: red;
-}
-
-/*.plotItemsSelectionWrapper{
- width: 160px;
- float: left;
- position: relative;
- margin-right: -100%;
- height:600px;
- margin-top: 10px;
- overflow-y:auto;
-}*/
-.sideBarHeader {
- float: left;
- display: block;
- width: 160px;
- height: 75px;
- padding-left: 20px;
- padding-right: 20px;
-}
-
-.sideBarClose {
- width: 0px !important;
-}
-
-.dashboardExpand {
- margin-left: 1px !important;
-}
-
-.dashBoardWrapper {
- overflow-x: auto;
-}
-
-.delete-icon {
- float: right;
- /*padding: 5px;*/
- cursor: pointer;
- position: relative;
- display: inline-block;
-}
-
-.delete-icon img {
- position: absolute;
- right: 0px;
-}
-
-.deleteIconHidden {
- opacity: 0;
-}
-
-.removeIcon {
- width: 22px;
- height: 22px;
- float: right;
- margin-right: -24px;
- margin-top: -20px;
- background: url(images/delete.png) no-repeat 0px 0px;
- cursor: pointer;
-}
-
-.portletLabel {
- color: #343434;
- width: 100%;
- height: 30px;
- float: left;
- border-bottom: 1px solid #e1e1e1;
- font: 16px Microsoft yahei;
-}
-
-.col-md-6.column.sortable.ui-sortable {
- padding-left: 5px !important;
-}
-
-.col-padding-adjust {
- padding-right: 5px !important;
-}
-
-.dashBoardBody {
- width: 100%;
- height: 720px;
- overflow-y: auto;
- overflow-x: hidden;
-}
-
-.widePortlet {
- width: 600px !important;
-}
-
-.freeDragBlock {
- display: block;
- width: 300px !important;
- height: 270px !important;
-}
-
-.freeDragBlockWide {
- display: block;
- width: 600px !important;
- height: 270px !important;
-}
-
-.brickDraggable {
- float: left;
- display: block;
- cursor: default;
- /*overflow: hidden;*/
-}
-
-.size11 {
- height: 250px !important;
- width: 280px !important;
-}
-
-/*
-.size21 {
- height: 250px !important;
- width: 566px !important;
-}
-.size22 {
- height: 506px !important;
- width: 566px !important;
-}
-*/
-.size21 {
- height: 250px;
- width: 566px;
-}
-
-.size22 {
- height: 506px;
- width: 566px;
-}
-
-/*
-.size11 {
- height: 250px !important;
- width: 25% !important;
-}
-.size21 {
- height: 250px !important;
- width: 51% !important;
-}
-.size22 {
- height: 506px !important;
- width: 51% !important;
-}*/
-.c3PlotTypes {
- float: right;
-}
-
-.legendC3 {
- width: 50%;
- top: 20%;
- position: absolute;
- right: 5%;
- z-index: 99;
- font: 14px Microsoft yahei;
- /* display: table; */
-}
-
-/* #htmlFrag{
- display: table;
-} */
-.legendC3 span {
- width: 33.333333%;
- display: inline-block;
- text-align: center;
- cursor: pointer;
- color: white;
-}
-
-.initBlock {
- opacity: 0 !important;
-}
-
-.dashBoardHeader {
- position: relative;
- /*z-index: 99999;*/
- /*padding-left: 5px;*/
-}
-
-.row.ui-sortable {
- /*height:100%;*/
-}
-
-.column.sortable {
- height: 100%;
-}
-
-.expandLink {
- position: absolute;
- right: 5%;
-}
-
-.dragItemLabel {
- color: #000;
- text-align: center;
- position: relative;
- /* height: 10px; */
- /* display: inline-block; */
- font-size: 0.5em;
- font-family: Microsoft yahei;
- /* padding: 0px; */
- margin-top: 6px;
- margin-bottom: 3px;
- width: 108px;
-}
-
-#dashboardTest {
- background-color: #F1F3FA;
-}
-
-#dashboardICT {
- background-color: #F1F3FA;
- height: 100%;
- /*position: absolute;*/
-}
-
-.ui-droppable {
- padding-left: 0px;
-}
-
-.ui-sortable {
- margin-left: 0;
- margin-right: 0;
-}
-
-.slimScrollDiv {
- margin-top: 6px;
- padding-left: 0;
-}
-
-.portlet-sortable {
- margin-top: 6px;
-}
-
-.dashboardTest {
- margin-top: 1px;
-}
-
-.plotItemsSelectionWrapper {
- margin-right: 5px;
- border: 1px solid #e1e1e1 !important;
- border-radius: 8px !important;
-}
-
-.plotItemsSelectionWrapper.sideBarClose {
- border: 0px solid #e1e1e1 !important;
-}
-
-.draggableItems:last-child {
- border-bottom: 0 !important;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/ict.dashboard.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/ict.dashboard.js
deleted file mode 100644
index ff14d2a3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/ict.dashboard.js
+++ /dev/null
@@ -1,435 +0,0 @@
-var DashboardICT = function () {
-
- var chartObjs;
- var plotsSelected;
- var plotControlCallbacks = {};
- var plotControlHtmlFrags = {};
-
- var addDroppableItem = function () {
- $(".column.sortable").droppable({
- accept: ".draggableItems",
- drop: function (event, ui) {
- //var dropLocation = $( ".plotsWrapper" );
- var plotTypeId = $(ui.draggable).attr("id");
- /* if($("#" + chartObjs[plotTypeId].placeholderId).length >0){
- alert("Plot already exits!");
- return;
- } */
- addDraggablePortlet(this, plotTypeId);
- }
- });
- }
-
- var addDraggablePortlet = function (droppableItem, plotTypeId) {
-
- if (!chartObjs[plotTypeId].chartType || chartObjs[plotTypeId].chartType != "prototype") {
- $("div#" + plotTypeId).remove();
- }
-
- var portletId = chartObjs[plotTypeId].typeId;
- var portletLabel = chartObjs[plotTypeId].plotLabel;
- var placeholderId = chartObjs[plotTypeId].placeholderId;
- if ($("div[id^=" + placeholderId + "]").length > 0) {
- var placeholderIdCount = $("div[id^=" + placeholderId + "]").length;
- placeholderId = placeholderId + "_" + placeholderIdCount;
- }
- var plotCallback = eval(chartObjs[plotTypeId].plotCallbackName);
- var plotSize = "size11";
- if (chartObjs[plotTypeId].plotSize) {
- plotSize = chartObjs[plotTypeId].plotSize;
- }
- plotSize = "";
-
- var faceboxDivIndex = $("a[rel=facebox]").length + 1;
- var portletHtml = '<div id="' + portletId + '" class="portlet portlet-sortable light bg-inverse ' + plotSize + '" style="position: relative;">' +
- '<div class="portletLabel">' + portletLabel + '</div>' +
- '<a href="#faceboxDiv_' + faceboxDivIndex + '" rel="facebox" class="expandLink"><img src="/ngict/iui/component/ict/ict-dashboard/images/zoom.png" /></a>' +
- '<div class="removeflot"></div>' +
- //'<a href="#faceboxDiv_' + faceboxDivIndex + '" rel="facebox">' +
- '<div id="faceboxDiv_' + faceboxDivIndex + '" flot_id="' + placeholderId + '" class="flot-placeholder-wrapper-portlet">' +
- '<div id="' + placeholderId + '" class="flot-placeholder"></div>' +
- '</div>' +
- //'</a>' +
- '</div>';
-
- if (chartObjs[plotTypeId].plotControlCallback) {
- portletHtml = '<div id="' + portletId + '" class="portlet portlet-sortable light bg-inverse ' + plotSize + '" style="position: relative;">' +
- '<div class="portletLabel">' + portletLabel + '</div>' +
- '<div class="removeflot"></div>' +
- plotControlHtmlFrags[plotTypeId] +
- //'<a href="#faceboxDiv_' + faceboxDivIndex + '" rel="facebox">' +
- '<div id="faceboxDiv_' + faceboxDivIndex + '" flot_id="' + placeholderId + '" class="flot-placeholder-wrapper-portlet">' +
- '<div id="' + placeholderId + '" class="flot-placeholder flot-placeholder-high"></div>' +
- '</div>' +
- //'</a>' +
- '</div>';
- }
-
- if (chartObjs[plotTypeId].htmlSrc) {
- portletHtml = '<div id="' + portletId + '" class="portlet portlet-sortable light bg-inverse ' + plotSize + '" style="position: relative;">' +
- '<div class="portletLabel">' + portletLabel + '</div>' +
- '<a href="#faceboxDiv_' + faceboxDivIndex + '" rel="facebox" class="expandLink"><img src="/ngict/iui/component/ict/ict-dashboard/images/zoom.png" /></a>' +
- '<div class="removeflot"></div>' +
- '<div id="htmlFrag" ></div>' +
- /* '<div ms-include-src="' + chartObjs[plotTypeId].htmlSrc + '"></div>' + */
- //'<a href="#faceboxDiv_' + faceboxDivIndex + '" rel="facebox">' +
- '<div id="faceboxDiv_' + faceboxDivIndex + '" flot_id="' + placeholderId + '" class="flot-placeholder-wrapper-portlet">' +
- '<div id="' + placeholderId + '" class="flot-placeholder flot-placeholder-high"></div>' +
- '</div>' +
- //'</a>' +
- '</div>';
- }
-
- //插入图例
- //$(droppableItem).before(portletHtml);
- $(droppableItem).prepend(portletHtml);
- //$( ".plotsWrapper" ).append(portletHtml);
- if (chartObjs[plotTypeId].htmlSrc) {
- $.ajax({
- async: false,
- "dataType": "html",
- "type": "GET",
- "url": chartObjs[plotTypeId].htmlSrc,
- "data": null,
- "success": function (html, textStatus, jqXHR) {
- $("div#htmlFrag").html(html);
- },
- "error": function () {
- alert("Communication error!");
- }
- });
- }
-
- //添加图例控制回调
- if (chartObjs[plotTypeId].plotControlCallback) {
- plotControlCallbacks[plotTypeId](plotCallback, placeholderId);
- }
-
- var args = [placeholderId];
- if (chartObjs[plotTypeId].arguments) {
- var argsArray = chartObjs[plotTypeId].arguments.split(",");
- args = args.concat(argsArray);
- }
- //plotCallback(placeholderId);
- plotCallback.apply(null, args);
-
- $.facebox.flotRedrawCallbackObjs[placeholderId] = {
- callback: plotCallback,
- arguments: args
- }
-
- //调整放大后的宽度
- var portlet = $("#" + portletId + ".portlet");
- if ($(portlet).parent().hasClass("col-md-6")) {
- $("div.flot-placeholder-wrapper-portlet", portlet).addClass("flot-placeholder-wrapper-portlet-wide");
- } else {
- $("div.flot-placeholder-wrapper-portlet", portlet).removeClass("flot-placeholder-wrapper-portlet-wide");
- }
-
- //添加点击范围
- /* var graphToExpand = $("div#" + placeholderId + " > svg > g")[0];
- $(graphToExpand).attr("id", "graphToExpand_" + placeholderId);
- var gNode = d3.select("g#graphToExpand_" + placeholderId);
- gNode.attr("href", "#faceboxDiv_" + faceboxDivIndex);
- gNode.attr("rel", "facebox"); */
-
- $.facebox.settings.closeImage = '/web/newict/framework/thirdparty/facebox/closelabel.png';
- $.facebox.settings.loadingImage = '/web/newict/framework/thirdparty/facebox/loading.gif';
- $('a[rel*=facebox]').facebox();
-
- addDroppableItem();
- }
-
- var restoreDragItems = function (chartId) {
- if (!chartObjs[chartId].chartType || chartObjs[chartId].chartType != "prototype") {
- var plotItemsSelectionDiv = $(".plotItemsSelectionWrapper");
- if ($("div#" + chartId, plotItemsSelectionDiv).length == 0) {
- var chartSelectHtml =
- '<div id="' + chartObjs[chartId].typeId + '" class="draggableItems">' +
- '<img width="100%" height="100%" src="' + chartObjs[chartId].imageURL + '">' +
- '<div class="dragItemLabel">' + chartObjs[chartId].plotLabel + '</div>' +
- '</div>';
- $(plotItemsSelectionDiv).append(chartSelectHtml);
- $(".draggableItems").draggable({
- //containment:"body",
- revert: false,
- appendTo: "div.plotsWrapper",
- scroll: false,
- zIndex: 9999,
- helper: "clone",
- opacity: 0.75
- });
- }
- }
- }
-
- var jsonTransformFromBackend = function (json) {
- var charts = json;
- var obj = {};
- obj.chartTypes = {};
- for (var i = 0; i < charts.length; i++) {
- obj.chartTypes[charts[i].id] = charts[i];
- obj.chartTypes[charts[i].id].typeId = charts[i].id;
- }
- //obj.initPlots = ["ictCPULineC3", "currentAlarm"];
- return obj;
- }
-
- function sleep(numberMillis) {
- var now = new Date();
- var exitTime = now.getTime() + numberMillis;
- while (true) {
- now = new Date();
- if (now.getTime() > exitTime)
- return;
- }
- }
-
- return {
-
- init: function (restPath, dashboardDivId, dashboardHtmlPath) {
-
- if (dashboardDivId && dashboardHtmlPath) {
- $.ajax({
- async: false,
- "dataType": "html",
- "type": "GET",
- "url": dashboardHtmlPath,
- "data": null,
- "success": function (html, textStatus, jqXHR) {
- $('div#' + dashboardDivId).html(html);
- },
- "error": function () {
- alert("Communication error!");
- }
- });
- }
-
- //sleep(500);
-
- $.ajax({
- async: false,
- "type": "GET",
- url: "/ngict/rest/dashboard/charts",
- dataType: "json",
- "success": function (res, textStatus, jqXHR) {
- res = jsonTransformFromBackend(res);
- var plotItemsSelectionDiv = $(".plotItemsSelectionWrapper");
- //初始化左边的图列类型列表
- chartObjs = res.chartTypes;
- var chartSelectHtml = "";
- for (var chartObj in chartObjs) {
- chartSelectHtml =
- '<div id="' + chartObjs[chartObj].typeId + '" class="draggableItems">' +
- '<img width="100%" height="100%" src="' + chartObjs[chartObj].imageURL + '">' +
- '<div class="dragItemLabel">' + chartObjs[chartObj].plotLabel + '</div>' +
- '</div>';
- $(plotItemsSelectionDiv).append(chartSelectHtml);
- }
- //初始化已选图例
- //plotsSelected = res.initPlots;
- },
- "error": function () {
- alert("Config file load error!");
- }
- });
-
- PortletDraggable.init();
- //Portlet
- $(".draggableItems").draggable({
- //containment:"body",
- revert: false,
- appendTo: "div.plotsWrapper",
- scroll: false,
- zIndex: 9999,
- helper: "clone",
- opacity: 0.75
- });
- $("#deleteIcon").droppable({
- accept: ".portlet",
- drop: function () {
- if ($("#deleteIcon .top").hasClass("deleteIconHidden")) {
- //$( "#droppableItem" ).removeClass("droppedOver");
- var portletRemoveId = $(".ui-sortable-helper").attr("id");
- if (portletRemoveId != "droppable") {
- $("#" + portletRemoveId).remove();
- restoreDragItems(portletRemoveId);
- }
- }
- },
- tolerance: "touch",
- over: function (event, ui) {
- //$( "#droppableItem" ).addClass("droppedOver");
- }
- });
- addDroppableItem();
- $(".sidebar-toggler").click(function () {
- $("#cf5 img.top").toggleClass("scale");
- $("#cf5 img.bottom").toggleClass("rotate");
-
- $(".plotsWrapper").toggleClass("dashboardExpand", 300, "linear");
- $(".plotItemsSelectionWrapper").toggleClass("sideBarClose", 300, "linear");
-
- setTimeout(function () {
- var charts = $.facebox.charts;
- for (var chart in charts) {
- charts[chart].resize();
- }
- DashboardICT.removeYaxisScale();
- }, 300);
- });
- $('.plotItemsSelectionWrapper').slimScroll({
- position: 'right',
- distance: '-2px',
- //width: '177px',
- width: '158px',
- //height:'630px',
- //color:'rgb(100, 150, 240)',
- color: "#F1F3FA",
- //railColor: '#fff',
- //railOpacity: 0.3,
- railOpacity: 0,
- railVisible: true,
- allowPageScroll: true
- });
- $('.slimScrollDiv').css({
- 'float': 'left',
- 'margin-right': '-100%',
- //'margin-top': '10px',
- //'padding-left': '5px'
- });
-
- $("#deleteIcon").click(function () {
- if ($("#deleteIcon .bottom").hasClass("deleteIconHidden")) {
- $("#deleteIcon .top").addClass("deleteIconHidden", 500);
- $("#deleteIcon .bottom").removeClass("deleteIconHidden", 500);
- //添加删除小图标
- $(".removeflot").addClass("removeIcon");
- $(".removeflot.removeIcon").click(function () {
- var placeholderId = $(".flot-placeholder", $(this).parent()).attr("id");
- if ($.facebox.intervals[placeholderId]) {
- clearInterval($.facebox.intervals[placeholderId]);
- }
- $(this).parent().remove();
- if ($(".flot-placeholder").length == 0) {
- $("#deleteIcon").click();
- }
- //恢复左侧列表
- var chartId = $(this).parent().attr("id");
- restoreDragItems(chartId);
- });
- } else {
- $("#deleteIcon .top").removeClass("deleteIconHidden", 500);
- $("#deleteIcon .bottom").addClass("deleteIconHidden", 500);
- //去掉删除小图标
- $(".removeflot.removeIcon").removeClass("removeIcon");
- }
- });
- /*
- $(window).unload(function(){
- var savedPlots = DashboardICT.saveSelectedPlots();
- //alert("Goodbye!" + savedPlots);
- });
-
- if ($.cookie && $.cookie('dashboard_selected')){
- plotsSelected = $.cookie('dashboard_selected').split(",");
- }
- */
- $.ajax({
- async: false,
- "type": "GET",
- url: "/ngict/rest/dashboard/initcharts",
- dataType: "json",
- "success": function (res, textStatus, jqXHR) {
- //初始化已选图例
- plotsSelected = res;
- },
- error: function (XMLHttpRequest, textStatus, errorThrown) {
- alert(XMLHttpRequest.status);
- alert(XMLHttpRequest.readyState);
- alert(textStatus);
- }
- });
-
- //初始化已选图例
- if (plotsSelected && plotsSelected.length > 0) {
- for (var i = 0; i < plotsSelected.length; i++) {
- /* var portlets = $(".portlet-sortable");
- var maxIndex = portlets.length -1;
- addDraggablePortlet(portlets[maxIndex], plotsSelected[i]); */
- addDraggablePortlet($(".column.sortable")[i % 3], plotsSelected[i]);
- }
- }
-
- //$( ".sidebar-toggler" ).click();
- $("#cf5 img.top").addClass("scale");
- $("#cf5 img.bottom").addClass("rotate");
- $(".plotsWrapper").addClass("dashboardExpand");
- $(".plotItemsSelectionWrapper").addClass("sideBarClose");
-
- $('.slimScrollBar').hide();
- window.onresize = function () {
- DashboardICT.removeYaxisScale();
- }
- },
-
- saveSelectedPlots: function () {
- var placeholders = [];
- var plots = $(".flot-placeholder");
- $.each(plots, function (index, plot) {
- placeholders.push($(plot).attr('id'));
- });
- plotsSelected = [];
- for (var chartObj in chartObjs) {
- if (jQuery.inArray(chartObjs[chartObj].placeholderId, placeholders) > -1) {
- plotsSelected.push(chartObj);
- }
- }
- if ($.cookie) {
- $.cookie('dashboard_selected', plotsSelected);
- }
- return plotsSelected;
- },
-
- addPlotControlCallbacks: function (plotId, callback) {
- plotControlCallbacks[plotId] = callback;
- },
-
- addPlotControlHtmlFrags: function (plotId, htmlFrag) {
- plotControlHtmlFrags[plotId] = htmlFrag;
- },
-
- graphChangeToExpand: function (placeholderId) {
- var graphToExpand = $("div#" + placeholderId + " > svg > g")[0];
- $(graphToExpand).attr("id", "graphToExpand_" + placeholderId);
- var faceboxDivId = $($("div[flot_id=" + placeholderId + "]")[0]).attr("id");
- var gNode = d3.select("g#graphToExpand_" + placeholderId);
- gNode.attr("href", "#" + faceboxDivId);
- gNode.attr("rel", "facebox");
- $('g[rel*=facebox]').facebox();
- },
-
- setGraphChangeToExpand: function (placeholderId, callbackObj) {
- $.facebox.flotRedrawCallbackObjs[placeholderId] = callbackObj;
- },
-
- registerChartsToReDraw: function (placeholderId, chartObj) {
- $.facebox.charts[placeholderId] = chartObj;
- },
-
- registerIntervalsToClear: function (placeholderId, intervalId) {
- $.facebox.intervals[placeholderId] = intervalId;
- },
-
- graphIsExpanded: function (placeholderId) {
- return $.facebox.isExpand(placeholderId);
- },
-
- removeYaxisScale: function () {
- var lines = d3.selectAll(".c3-axis.c3-axis-y").selectAll(".tick line");
- $(lines).each(function () {
- $(this).attr("x2", "0");
- });
- }
- }
-}(); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/ict.dashboard.js.bak b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/ict.dashboard.js.bak
deleted file mode 100644
index ad8189e1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/ict.dashboard.js.bak
+++ /dev/null
@@ -1,413 +0,0 @@
-var DashboardICT = function(){
-
- var chartObjs;
- var plotsSelected;
- var plotControlCallbacks = {};
- var plotControlHtmlFrags = {};
-
- var addDroppableItem = function(){
- $( ".column.sortable" ).droppable({
- accept: ".draggableItems",
- drop: function(event, ui) {
- //var dropLocation = $( ".plotsWrapper" );
- var plotTypeId = $(ui.draggable).attr("id");
- /* if($("#" + chartObjs[plotTypeId].placeholderId).length >0){
- alert("Plot already exits!");
- return;
- } */
- addDraggablePortlet(this, plotTypeId);
- }
- });
- }
-
- var addDraggablePortlet = function(droppableItem, plotTypeId){
-
- if(!chartObjs[plotTypeId].chartType || chartObjs[plotTypeId].chartType != "prototype"){
- $("div#" + plotTypeId).remove();
- }
-
- var portletId = chartObjs[plotTypeId].typeId;
- var portletLabel = chartObjs[plotTypeId].plotLabel;
- var placeholderId = chartObjs[plotTypeId].placeholderId;
- if($("div[id^=" + placeholderId + "]").length >0){
- var placeholderIdCount = $("div[id^=" + placeholderId + "]").length;
- placeholderId = placeholderId + "_" + placeholderIdCount;
- }
- var plotCallback = eval(chartObjs[plotTypeId].plotCallbackName);
- var plotSize = "size11";
- if(chartObjs[plotTypeId].plotSize){
- plotSize = chartObjs[plotTypeId].plotSize;
- }
- plotSize = "";
-
- var faceboxDivIndex = $("g[rel=facebox]").length + 1;
- var portletHtml = '<div id="' + portletId + '" class="portlet portlet-sortable light bg-inverse ' + plotSize + '" style="position: relative;">' +
- '<div class="portletLabel">' + portletLabel + '</div>' +
- '<div class="removeflot"></div>' +
- //'<a href="#faceboxDiv_' + faceboxDivIndex + '" rel="facebox">' +
- '<div id="faceboxDiv_' + faceboxDivIndex + '" flot_id="' + placeholderId + '" class="flot-placeholder-wrapper-portlet">' +
- '<div id="' + placeholderId + '" class="flot-placeholder"></div>' +
- '</div>' +
- //'</a>' +
- '</div>';
-
- if(chartObjs[plotTypeId].plotControlCallback){
- portletHtml = '<div id="' + portletId + '" class="portlet portlet-sortable light bg-inverse ' + plotSize + '" style="position: relative;">' +
- '<div class="portletLabel">' + portletLabel + '</div>' +
- '<div class="removeflot"></div>' +
- plotControlHtmlFrags[plotTypeId] +
- //'<a href="#faceboxDiv_' + faceboxDivIndex + '" rel="facebox">' +
- '<div id="faceboxDiv_' + faceboxDivIndex + '" flot_id="' + placeholderId + '" class="flot-placeholder-wrapper-portlet">' +
- '<div id="' + placeholderId + '" class="flot-placeholder flot-placeholder-high"></div>' +
- '</div>' +
- //'</a>' +
- '</div>';
- }
-
- if(chartObjs[plotTypeId].htmlSrc){
- portletHtml = '<div id="' + portletId + '" class="portlet portlet-sortable light bg-inverse ' + plotSize + '" style="position: relative;">' +
- '<div class="portletLabel">' + portletLabel + '</div>' +
- '<div class="removeflot"></div>' +
- '<div id="htmlFrag" ></div>' +
- /* '<div ms-include-src="' + chartObjs[plotTypeId].htmlSrc + '"></div>' + */
- //'<a href="#faceboxDiv_' + faceboxDivIndex + '" rel="facebox">' +
- '<div id="faceboxDiv_' + faceboxDivIndex + '" flot_id="' + placeholderId + '" class="flot-placeholder-wrapper-portlet">' +
- '<div id="' + placeholderId + '" class="flot-placeholder flot-placeholder-high"></div>' +
- '</div>' +
- //'</a>' +
- '</div>';
- }
-
- //插入图例
- //$(droppableItem).before(portletHtml);
- $(droppableItem).prepend(portletHtml);
- //$( ".plotsWrapper" ).append(portletHtml);
- if(chartObjs[plotTypeId].htmlSrc){
- $.ajax({
- async : false,
- "dataType" : "html",
- "type" : "GET",
- "url" : chartObjs[plotTypeId].htmlSrc,
- "data" : null,
- "success" : function (html, textStatus, jqXHR) {
- $("div#htmlFrag").html(html);
- },
- "error" : function () {
- alert("Communication error!");
- }
- });
- }
-
- //添加图例控制回调
- if(chartObjs[plotTypeId].plotControlCallback){
- plotControlCallbacks[plotTypeId](plotCallback, placeholderId);
- }
-
- var args = [placeholderId];
- if(chartObjs[plotTypeId].arguments){
- var argsArray = chartObjs[plotTypeId].arguments.split(",");
- args = args.concat(argsArray);
- }
- //plotCallback(placeholderId);
- plotCallback.apply(null, args);
-
- $.facebox.flotRedrawCallbackObjs[placeholderId] = {
- callback:plotCallback,
- arguments:args
- }
-
- //调整放大后的宽度
- var portlet = $("#" + portletId + ".portlet");
- if($(portlet).parent().hasClass("col-md-6")){
- $("div.flot-placeholder-wrapper-portlet", portlet).addClass("flot-placeholder-wrapper-portlet-wide");
- }else{
- $("div.flot-placeholder-wrapper-portlet", portlet).removeClass("flot-placeholder-wrapper-portlet-wide");
- }
-
- //添加点击范围
- var graphToExpand = $("div#" + placeholderId + " > svg > g")[0];
- $(graphToExpand).attr("id", "graphToExpand_" + placeholderId);
- var gNode = d3.select("g#graphToExpand_" + placeholderId);
- gNode.attr("href", "#faceboxDiv_" + faceboxDivIndex);
- gNode.attr("rel", "facebox");
-
- $.facebox.settings.closeImage = '/web/newict/framework/thirdparty/facebox/closelabel.png';
- $.facebox.settings.loadingImage = '/web/newict/framework/thirdparty/facebox/loading.gif';
- $('g[rel*=facebox]').facebox();
-
- addDroppableItem();
- }
-
- var restoreDragItems = function(chartId){
- if(!chartObjs[chartId].chartType || chartObjs[chartId].chartType != "prototype"){
- var plotItemsSelectionDiv = $(".plotItemsSelectionWrapper");
- if($("div#" + chartId, plotItemsSelectionDiv).length == 0){
- var chartSelectHtml =
- '<div id="' + chartObjs[chartId].typeId + '" class="draggableItems">' +
- '<img width="100%" height="100%" src="' + chartObjs[chartId].imageURL + '">' +
- '</div>';
- $(plotItemsSelectionDiv).append(chartSelectHtml);
- $( ".draggableItems" ).draggable({
- //containment:"body",
- revert: false,
- appendTo:"div.plotsWrapper",
- scroll: false,
- zIndex: 9999,
- helper: "clone",
- opacity: 0.75
- });
- }
- }
- }
-
- var jsonTransformFromBackend = function(json){
- var charts = json;
- var obj = {};
- obj.chartTypes = {};
- for(var i=0;i<charts.length;i++){
- obj.chartTypes[charts[i].id] = charts[i];
- obj.chartTypes[charts[i].id].typeId = charts[i].id;
- }
- obj.initPlots = ["ictCPULineC3", "currentAlarm"];
- return obj;
- }
-
- function sleep(numberMillis) {
- var now = new Date();
- var exitTime = now.getTime() + numberMillis;
- while (true) {
- now = new Date();
- if (now.getTime() > exitTime)
- return;
- }
- }
-
- return {
-
- init : function(restPath, dashboardDivId, dashboardHtmlPath){
-
- if(dashboardDivId && dashboardHtmlPath){
- $.ajax({
- async : false,
- "dataType" : "html",
- "type" : "GET",
- "url" : dashboardHtmlPath,
- "data" : null,
- "success" : function (html, textStatus, jqXHR) {
- $('div#' + dashboardDivId).html(html);
- },
- "error" : function () {
- alert("Communication error!");
- }
- });
- }
-
- //sleep(500);
-
- $.ajax({
- async:false,
- "type" : "GET",
- url: restPath,
- dataType: "json",
- "success" : function (res, textStatus, jqXHR) {
- res = jsonTransformFromBackend(res);
- var plotItemsSelectionDiv = $(".plotItemsSelectionWrapper");
- //初始化左边的图列类型列表
- chartObjs = res.chartTypes;
- var chartSelectHtml = "";
- for(var chartObj in chartObjs){
- chartSelectHtml =
- '<div id="' + chartObjs[chartObj].typeId + '" class="draggableItems">' +
- '<img width="100%" height="100%" src="' + chartObjs[chartObj].imageURL + '">' +
- '</div>';
- $(plotItemsSelectionDiv).append(chartSelectHtml);
- }
- //初始化已选图例
- //plotsSelected = res.initPlots;
- },
- "error" : function () {
- alert("Config file load error!");
- }
- });
-
- PortletDraggable.init();
- //Portlet
- $( ".draggableItems" ).draggable({
- //containment:"body",
- revert: false,
- appendTo:"div.plotsWrapper",
- scroll: false,
- zIndex: 9999,
- helper: "clone",
- opacity: 0.75
- });
- $( "#deleteIcon" ).droppable({
- accept: ".portlet",
- drop: function() {
- if($("#deleteIcon .top").hasClass("deleteIconHidden")){
- //$( "#droppableItem" ).removeClass("droppedOver");
- var portletRemoveId = $(".ui-sortable-helper").attr("id");
- if(portletRemoveId != "droppable"){
- $("#" + portletRemoveId).remove();
- restoreDragItems(portletRemoveId);
- }
- }
- },
- tolerance: "touch",
- over: function( event, ui ) {
- //$( "#droppableItem" ).addClass("droppedOver");
- }
- });
- addDroppableItem();
- $( ".sidebar-toggler" ).click(function(){
- $("#cf5 img.top").toggleClass("scale");
- $("#cf5 img.bottom").toggleClass("rotate");
-
- $(".plotsWrapper").toggleClass("dashboardExpand", 500, "linear");
- $(".plotItemsSelectionWrapper").toggleClass("sideBarClose", 500, "linear");
-
- setTimeout(function () {
- var charts = $.facebox.charts;
- for(var chart in charts){
- charts[chart].resize();
- }
- }, 500);
- });
- $('.plotItemsSelectionWrapper').slimScroll({
- position: 'right',
- width: '177px',
- height:'630px',
- color:'rgb(100, 150, 240)',
- railColor: '#fff',
-      railOpacity: 0.3,
- railVisible: false
- });
- $('.slimScrollDiv').css({
- 'float': 'left',
- 'margin-right': '-100%',
- 'margin-top': '10px',
- 'padding-left': '5px'
- });
- $("#deleteIcon").click(function(){
- if($("#deleteIcon .bottom").hasClass("deleteIconHidden")){
- $("#deleteIcon .top").addClass("deleteIconHidden", 500);
- $("#deleteIcon .bottom").removeClass("deleteIconHidden", 500);
- //添加删除小图标
- $(".removeflot").addClass("removeIcon");
- $(".removeflot.removeIcon").click(function(){
- var placeholderId = $(".flot-placeholder", $(this).parent()).attr("id");
- if($.facebox.intervals[placeholderId]){
- clearInterval($.facebox.intervals[placeholderId]);
- }
- $(this).parent().remove();
- if($(".flot-placeholder").length==0) {
- $("#deleteIcon").click();
- }
- //恢复左侧列表
- var chartId = $(this).parent().attr("id");
- restoreDragItems(chartId);
- });
- }else{
- $("#deleteIcon .top").removeClass("deleteIconHidden", 500);
- $("#deleteIcon .bottom").addClass("deleteIconHidden", 500);
- //去掉删除小图标
- $(".removeflot.removeIcon").removeClass("removeIcon");
- }
- });
-/*
- $(window).unload(function(){
- var savedPlots = DashboardICT.saveSelectedPlots();
- //alert("Goodbye!" + savedPlots);
- });
-
- if ($.cookie && $.cookie('dashboard_selected')){
- plotsSelected = $.cookie('dashboard_selected').split(",");
- }
-*/
- $.ajax({
- async:false,
- "type" : "GET",
- url: "/ngict/rest/dashboard/initcharts",
- dataType: "json",
- "success" : function (res, textStatus, jqXHR) {
- //初始化已选图例
- plotsSelected = res;
- },
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- alert(XMLHttpRequest.status);
- alert(XMLHttpRequest.readyState);
- alert(textStatus);
- }
- });
-
- //初始化已选图例
- if(plotsSelected && plotsSelected.length > 0){
- for(var i=0;i<plotsSelected.length;i++){
- /* var portlets = $(".portlet-sortable");
- var maxIndex = portlets.length -1;
- addDraggablePortlet(portlets[maxIndex], plotsSelected[i]); */
- addDraggablePortlet($(".column.sortable")[i%2], plotsSelected[i]);
- }
- }
-
- //$( ".sidebar-toggler" ).click();
- $("#cf5 img.top").addClass("scale");
- $("#cf5 img.bottom").addClass("rotate");
- $(".plotsWrapper").addClass("dashboardExpand");
- $(".plotItemsSelectionWrapper").addClass("sideBarClose");
-
- },
-
- saveSelectedPlots: function(){
- var placeholders = [];
- var plots = $(".flot-placeholder");
- $.each( plots, function( index, plot ){
- placeholders.push($(plot).attr('id'));
- });
- plotsSelected = [];
- for(var chartObj in chartObjs){
- if(jQuery.inArray(chartObjs[chartObj].placeholderId, placeholders) > -1){
- plotsSelected.push(chartObj);
- }
- }
- if ($.cookie){
- $.cookie('dashboard_selected', plotsSelected);
- }
- return plotsSelected;
- },
-
- addPlotControlCallbacks: function(plotId, callback){
- plotControlCallbacks[plotId] = callback;
- },
-
- addPlotControlHtmlFrags: function(plotId, htmlFrag){
- plotControlHtmlFrags[plotId] = htmlFrag;
- },
-
- graphChangeToExpand : function(placeholderId){
- var graphToExpand = $("div#" + placeholderId + " > svg > g")[0];
- $(graphToExpand).attr("id", "graphToExpand_" + placeholderId);
- var faceboxDivId = $($("div[flot_id=" + placeholderId + "]")[0]).attr("id");
- var gNode = d3.select("g#graphToExpand_" + placeholderId);
- gNode.attr("href", "#" + faceboxDivId);
- gNode.attr("rel", "facebox");
- $('g[rel*=facebox]').facebox();
- },
-
- setGraphChangeToExpand: function(placeholderId, callbackObj){
- $.facebox.flotRedrawCallbackObjs[placeholderId] = callbackObj;
- },
-
- registerChartsToReDraw: function(placeholderId, chartObj){
- $.facebox.charts[placeholderId] = chartObj;
- },
-
- registerIntervalsToClear: function(placeholderId, intervalId){
- $.facebox.intervals[placeholderId] = intervalId;
- },
-
- graphIsExpanded: function(placeholderId){
- return $.facebox.isExpand(placeholderId);
- }
- }
-}(); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/CPU统计.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/CPU统计.png
deleted file mode 100644
index b001823f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/CPU统计.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/Thumbs.db b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/Thumbs.db
deleted file mode 100644
index 1f16b238..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/Thumbs.db
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/alarm.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/alarm.png
deleted file mode 100644
index 7850beaf..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/alarm.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/bar.svg b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/bar.svg
deleted file mode 100644
index 8c8492f2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/bar.svg
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="150px" height="75px" viewBox="0 0 150 75" enable-background="new 0 0 150 75" xml:space="preserve">
-<rect x="14.592" y="70.416" fill="#F5AC3C" width="4.028" height="1.125"/>
-<rect x="20.436" y="46.99" fill="#F5AC3C" width="4.028" height="24.551"/>
-<rect x="26.281" y="33.323" fill="#F5AC3C" width="4.028" height="38.218"/>
-<rect x="32.126" y="21.909" fill="#F5AC3C" width="4.027" height="49.632"/>
-<rect x="37.97" y="33.746" fill="#F5AC3C" width="4.027" height="37.795"/>
-<rect x="43.815" y="20.22" fill="#F5AC3C" width="4.027" height="51.321"/>
-<rect x="55.504" y="8.667" fill="#F5AC3C" width="4.027" height="62.874"/>
-<rect x="49.66" y="59.105" fill="#F5AC3C" width="4.027" height="12.436"/>
-<rect x="61.349" y="21.065" fill="#F5AC3C" width="4.027" height="50.476"/>
-<rect x="67.194" y="46.427" fill="#F5AC3C" width="4.026" height="25.114"/>
-<rect x="73.039" y="46.427" fill="#F5AC3C" width="4.028" height="25.114"/>
-<rect x="78.883" y="33.888" fill="#F5AC3C" width="4.027" height="37.653"/>
-<rect x="84.727" y="46.284" fill="#F5AC3C" width="4.027" height="25.257"/>
-<rect x="90.572" y="46.284" fill="#F5AC3C" width="4.027" height="25.257"/>
-<rect x="96.418" y="58.402" fill="#F5AC3C" width="4.025" height="13.139"/>
-<rect x="102.967" y="51.304" fill="#F5AC3C" width="4.027" height="20.237"/>
-<rect x="108.813" y="46.427" fill="#F5AC3C" width="4.027" height="25.114"/>
-<rect x="114.656" y="29.824" fill="#F5AC3C" width="4.027" height="41.717"/>
-<rect x="120.5" y="46.284" fill="#F5AC3C" width="4.027" height="25.257"/>
-<rect x="126.346" y="49.129" fill="#F5AC3C" width="4.027" height="22.412"/>
-<rect x="132.191" y="58.402" fill="#F5AC3C" width="4.025" height="13.139"/>
-</svg>
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/closelabel.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/closelabel.png
deleted file mode 100644
index c339e593..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/closelabel.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/cpu.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/cpu.png
deleted file mode 100644
index f47062a8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/cpu.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/delete.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/delete.png
deleted file mode 100644
index 5947c7c9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/delete.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/gauge.svg b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/gauge.svg
deleted file mode 100644
index 71d01003..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/gauge.svg
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="150px" height="75px" viewBox="0 0 150 75" enable-background="new 0 0 150 75" xml:space="preserve">
-<path fill="#E94819" d="M76.229,39.364l-1.414-21.131L73.582,39.37c-0.916,0.483-1.549,1.432-1.549,2.542
- c0,1.588,1.288,2.875,2.878,2.875c1.59,0,2.879-1.287,2.879-2.875C77.79,40.799,77.149,39.845,76.229,39.364z"/>
-<path fill="#E94819" d="M49.719,48.971l-10.656,3.292c3.281,9.209,10.057,16.76,18.737,21.049l1.643-11.916
- C55.053,58.368,51.63,54.039,49.719,48.971z"/>
-<path fill="#86C6E0" d="M74.385,13.33c14.558,0,26.357,11.8,26.357,26.356c0,2.512-0.363,4.935-1.02,7.235l10.699,3.125
- c0.946-3.291,1.454-6.766,1.454-10.36c0-20.705-16.785-37.491-37.492-37.491c-20.706,0-37.49,16.786-37.49,37.491
- c0,3.507,0.486,6.899,1.387,10.116l10.648-3.289c-0.583-2.178-0.901-4.465-0.901-6.827C48.028,25.13,59.829,13.33,74.385,13.33z"/>
-<path fill="#E94819" d="M98.901,49.37c-1.938,4.898-5.298,9.077-9.575,12.026l1.644,11.915c8.604-4.251,15.341-11.708,18.653-20.81
- L98.901,49.37z"/>
-</svg>
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/line.svg b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/line.svg
deleted file mode 100644
index 0b789c49..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/line.svg
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="150px" height="75px" viewBox="0 0 150 75" enable-background="new 0 0 150 75" xml:space="preserve">
-<path fill="none" stroke="#42B1B3" stroke-miterlimit="10" d="M3.298,50.475l21.718,0.581c0,0,17.204-9.142,23.436-10.159
- c6.235-1.016,20.861,3.193,26.877,4.937c6.021,1.74,22.152,2.756,23.872,2.321c1.715-0.436,17.848-4.357,23.005-3.339
- c5.163,1.018,23.654,9.001,23.654,9.001"/>
-<path fill="none" stroke="#A695C2" stroke-miterlimit="10" d="M3.514,62.192c0,0,18.708,8.709,23.868,8.272
- c5.16-0.435,18.276-9.001,22.148-10.308c3.87-1.304,18.276-8.998,26.445-8.271c8.173,0.726,22.15,5.516,23.655,5.662
- c1.503,0.146,21.288,0.433,23.652,1.595c2.367,1.163,19.779,4.354,21.502,5.084"/>
-<circle fill="#41A9AA" cx="3.771" cy="50.483" r="2.134"/>
-<circle fill="#A695C2" cx="3.476" cy="62.219" r="2.133"/>
-<circle fill="#A695C2" cx="26.716" cy="70.178" r="2.132"/>
-<path fill="#A695C2" d="M76.11,50.271c1.177,0,2.132,0.957,2.132,2.133c0,1.18-0.955,2.135-2.132,2.135
- c-1.18,0-2.135-0.955-2.135-2.135C73.978,51.229,74.931,50.271,76.11,50.271z"/>
-<circle fill="#A695C2" cx="100.521" cy="57.756" r="2.133"/>
-<circle fill="#A695C2" cx="123.39" cy="58.384" r="2.132"/>
-<circle fill="#41A9AA" cx="25.249" cy="51.207" r="2.134"/>
-<circle fill="#41A9AA" cx="47.878" cy="40.885" r="2.133"/>
-<circle fill="#41A9AA" cx="77.688" cy="46.231" r="2.133"/>
-<circle fill="#41A9AA" cx="98.658" cy="47.898" r="2.133"/>
-<circle fill="#41A9AA" cx="122.816" cy="45.533" r="2.132"/>
-<path fill="none" stroke="#E4C136" stroke-miterlimit="10" d="M3.298,34.542l19.214-1.999c0,0,21.716-12.35,27.952-13.365
- c6.233-1.016,18.85,8.977,24.867,10.719c6.019,1.743,20.58,1.508,22.298,1.075c1.724-0.437,19.006-2.981,24.167-1.965
- c5.159,1.015,24.063,8.874,24.063,8.874"/>
-<circle fill="#E4C136" cx="3.771" cy="34.552" r="2.133"/>
-<path fill="#E4C136" d="M24.063,30.06c1.178,0,2.132,0.955,2.132,2.135c0,1.175-0.954,2.133-2.132,2.133
- c-1.177,0-2.133-0.958-2.133-2.133C21.93,31.015,22.886,30.06,24.063,30.06z"/>
-<circle fill="#E4C136" cx="48.812" cy="19.024" r="2.133"/>
-<circle fill="#E4C136" cx="78.095" cy="31.406" r="2.133"/>
-<circle fill="#E4C136" cx="145.167" cy="38.382" r="2.132"/>
-<circle fill="#E4C136" cx="121.394" cy="28.583" r="2.132"/>
-<circle fill="#A695C2" cx="143.334" cy="63.971" r="2.132"/>
-<circle fill="#41A9AA" cx="144.98" cy="53.35" r="2.132"/>
-</svg>
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/lineBar.svg b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/lineBar.svg
deleted file mode 100644
index fae02500..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/lineBar.svg
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="150px" height="75px" viewBox="0 0 150 75" enable-background="new 0 0 150 75" xml:space="preserve">
-<rect x="15.405" y="69.12" fill="#3AB9BB" width="4.028" height="2.421"/>
-<rect x="21.249" y="63.808" fill="#B09ECB" width="4.028" height="7.733"/>
-<rect x="27.094" y="59.502" fill="#3AB9BB" width="4.028" height="12.039"/>
-<rect x="32.939" y="44.729" fill="#B09ECB" width="4.027" height="26.812"/>
-<rect x="38.783" y="45.614" fill="#3AB9BB" width="4.027" height="25.927"/>
-<rect x="44.628" y="37.493" fill="#B09ECB" width="4.027" height="34.048"/>
-<rect x="56.317" y="13.543" fill="#B09ECB" width="4.027" height="57.998"/>
-<rect x="50.473" y="39.395" fill="#3AB9BB" width="4.027" height="32.146"/>
-<rect x="62.162" y="21.065" fill="#3AB9BB" width="4.027" height="50.476"/>
-<rect x="68.007" y="46.427" fill="#B09ECB" width="4.026" height="25.114"/>
-<rect x="73.852" y="46.427" fill="#3AB9BB" width="4.028" height="25.114"/>
-<rect x="79.696" y="33.888" fill="#B09ECB" width="4.027" height="37.653"/>
-<rect x="85.54" y="46.284" fill="#3AB9BB" width="4.027" height="25.257"/>
-<rect x="91.386" y="46.284" fill="#B09ECB" width="4.027" height="25.257"/>
-<rect x="97.231" y="58.402" fill="#3AB9BB" width="4.025" height="13.139"/>
-<rect x="103.78" y="51.304" fill="#B09ECB" width="4.027" height="20.237"/>
-<rect x="109.626" y="46.427" fill="#3AB9BB" width="4.027" height="25.114"/>
-<rect x="115.47" y="42.829" fill="#B09ECB" width="4.027" height="28.712"/>
-<rect x="121.313" y="46.284" fill="#3AB9BB" width="4.027" height="25.257"/>
-<rect x="127.159" y="49.129" fill="#B09ECB" width="4.027" height="22.412"/>
-<path fill="none" stroke="#81BBE6" stroke-miterlimit="10" d="M12.906,67.273l5.689-6.706l6.103-5.391l5.689-10.363l12.802-12.598
- L56.6,6.206l20.93,15.646c0,0,17.38-1.597,19.101-2.032c1.715-0.436,15.443,4.268,15.443,4.268l18.695-4.674"/>
-<circle fill="#81BBE6" cx="13.562" cy="66.809" r="1.727"/>
-<circle fill="#81BBE6" cx="24.842" cy="55.602" r="1.727"/>
-<circle fill="#81BBE6" cx="30.532" cy="45.239" r="1.727"/>
-<circle fill="#81BBE6" cx="42.724" cy="32.03" r="1.727"/>
-<circle fill="#81BBE6" cx="56.745" cy="6.833" r="1.727"/>
-<circle fill="#81BBE6" cx="78.081" cy="21.87" r="1.727"/>
-<circle fill="#81BBE6" cx="97.183" cy="19.432" r="1.727"/>
-<circle fill="#81BBE6" cx="112.626" cy="24.105" r="1.727"/>
-<circle fill="#81BBE6" cx="130.915" cy="19.838" r="1.727"/>
-</svg>
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/loading.gif b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/loading.gif
deleted file mode 100644
index f864d5fd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/loading.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/map.svg b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/map.svg
deleted file mode 100644
index ea01bfa3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/map.svg
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="150px" height="75px" viewBox="0 0 150 75" enable-background="new 0 0 150 75" xml:space="preserve">
-<path fill="#D1D1D1" d="M113.703,10.244l1.203,2.233l-1.203,3.091l-1.889,1.89l-0.344,1.89v2.92l-0.348,2.918l-1.717-1.373
- l-0.856,2.578l-2.231,0.342v2.406l-2.402,1.373l-0.855,0.516h-1.893l-0.171-0.855l-2.75,0.346l-0.517,1.375l-1.028,1.373
- l-2.748,0.516v1.029l2.401,0.516l1.547,0.689l1.892-0.861h1.374l0.342,2.92l-2.059,1.203l-1.204,0.172l-0.688,2.063l0.52,1.891
- l1.888,0.17l1.892,1.031l0.172,2.232l1.203,1.545l0.342,3.092l-0.514,4.123l-1.203,2.061v1.721l-1.031,1.548h-1.717l-0.859,2.747
- l-1.717,1.545l-1.545,0.688l-0.346,2.23l-2.406,0.17l-1.717-0.344L90,69.501l-3.264-0.515l-1.2,1.201v1.545l-1.72,0.859H82.27
- c0,0,0.002-2.063-0.514-2.063c-0.518,0-3.779,0.688-3.779,0.688l-1.201-1.546l-1.029-1.548l-1.202-0.17l-2.75,0.347
- c0,0-0.858,0.515-1.375,0.515c-0.515,0-2.576-0.688-2.576,0.346S67.5,70.88,67.5,70.88l-1.203,1.373l-1.374-0.349l-0.687-2.573
- l-1.545-2.747l-0.172-1.029l-2.75-3.265l1.375-3.095l1.545-1.545l-0.688-1.029l-5.152-0.688l-2.576,1.719l-1.031,1.031l-1.374,1.203
- l-1.203-1.203l-0.172-1.55l-2.749-0.854l-1.717,0.688l-1.717-1.377l-2.063-0.515l-2.404,0.173l-1.89-1.721l-1.888-1.199
- l-1.031-1.547l-0.86-1.891h-2.229l-1.373-1.72l-2.233-1.028l-1.546-2.404l2.92-0.858v-1.03v-3.436V37.21l-1.718-0.343l-1.888-1.204
- l-0.516-1.544l0.172-2.92l0.17-1.374l-0.687-1.548l0.858-1.889l2.232-0.172l3.092,0.344l2.404-0.172l2.234-0.172l0.857-1.889
- l0.172-2.063l1.202-2.061l0.515-1.546l2.406-1.375l2.403-0.859l1.546-1.202l2.405-1.546l1.546-0.516l3.09,1.203l0.688,2.92
- l0.344,4.293l3.779,0.515l0.344,0.86l2.234,2.231l2.402,1.203l3.951,0.516l3.607,0.516l-0.345,1.889l4.468-0.343l0.856,0.171
- l2.233,0.516h2.92l1.543-1.717l0.519-2.063l0.858-2.232l1.029-0.859h2.063l1.717-0.516L90,21.236l0.688-1.202l0.347-1.718h2.745
- l0.519-1.203l-2.401-0.686h-2.922l0.344-1.89l0.516-1.546l1.202-1.202l1.718-1.203l0.857-2.404V3.889l1.891-0.858l0.171-1.546
- l1.72,1.546l3.092,1.374l1.891,0.688v1.374l1.2,3.435l2.063-0.343l3.777,1.03l0.172,2.061l0.857,0.172l2.062-2.748L113.703,10.244z"
- />
-<polygon fill="#D1D1D1" points="102.852,61.975 103.178,65.08 102.361,66.875 100.564,67.202 99.094,67.202 98.766,64.914
- 99.746,62.955 101.218,61.975 "/>
-<circle fill="#FFFFFF" cx="92.875" cy="33.371" r="3.188"/>
-<g>
- <path fill="#E94819" d="M92.877,30.867c-1.385,0-2.504,1.121-2.504,2.502c0,1.385,1.119,2.504,2.504,2.504
- c1.381,0,2.502-1.119,2.502-2.504C95.379,31.988,94.258,30.867,92.877,30.867z M92.877,35.189c-1.006,0-1.82-0.814-1.82-1.82
- c0-1.004,0.814-1.818,1.82-1.818c1.004,0,1.818,0.814,1.818,1.818C94.695,34.375,93.881,35.189,92.877,35.189z"/>
- <circle fill="#E94819" cx="92.877" cy="33.371" r="1.023"/>
-</g>
-<circle fill="#FFFFFF" cx="47.68" cy="37.002" r="3.188"/>
-<g>
- <path fill="#3FA8A9" d="M47.682,34.498c-1.385,0-2.504,1.121-2.504,2.502c0,1.385,1.119,2.504,2.504,2.504
- c1.381,0,2.502-1.119,2.502-2.504C50.184,35.619,49.063,34.498,47.682,34.498z M47.682,38.82c-1.006,0-1.82-0.814-1.82-1.82
- c0-1.004,0.814-1.818,1.82-1.818c1.004,0,1.818,0.814,1.818,1.818C49.5,38.006,48.686,38.82,47.682,38.82z"/>
- <circle fill="#3FA8A9" cx="47.682" cy="37.002" r="1.023"/>
-</g>
-<circle fill="#FFFFFF" cx="83.998" cy="56" r="3.188"/>
-<g>
- <path fill="#40A0A1" d="M84,53.496c-1.385,0-2.504,1.121-2.504,2.502c0,1.385,1.119,2.504,2.504,2.504
- c1.381,0,2.502-1.119,2.502-2.504C86.502,54.617,85.381,53.496,84,53.496z M84,57.818c-1.006,0-1.82-0.814-1.82-1.82
- c0-1.004,0.814-1.818,1.82-1.818c1.004,0,1.818,0.814,1.818,1.818C85.818,57.004,85.004,57.818,84,57.818z"/>
- <circle fill="#40A0A1" cx="84" cy="56" r="1.023"/>
-</g>
-<circle fill="#FFFFFF" cx="70.498" cy="42.023" r="3.188"/>
-<g>
- <path fill="#E94819" d="M70.5,39.52c-1.385,0-2.504,1.121-2.504,2.502c0,1.385,1.119,2.504,2.504,2.504
- c1.381,0,2.502-1.116,2.502-2.504C73.002,40.641,71.881,39.52,70.5,39.52z M70.5,43.842c-1.006,0-1.82-0.814-1.82-1.82
- c0-1.004,0.814-1.815,1.82-1.815c1.004,0,1.818,0.813,1.818,1.815C72.318,43.027,71.504,43.842,70.5,43.842z"/>
- <circle fill="#E94819" cx="70.5" cy="42.023" r="1.023"/>
-</g>
-</svg>
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/open.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/open.png
deleted file mode 100644
index 81b49921..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/open.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/pie.svg b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/pie.svg
deleted file mode 100644
index df7ca03c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/pie.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="150px" height="75px" viewBox="0 0 150 75" enable-background="new 0 0 150 75" xml:space="preserve">
-<path fill="#E94819" d="M55.453,41.58c-0.472-3.018-0.24-6.193,0.827-9.286c3.346-9.698,13.614-15.02,23.372-12.388l5.015-14.534
- C66.536-0.132,47.151,9.646,40.918,27.71c-1.985,5.751-2.396,11.661-1.473,17.27L55.453,41.58z"/>
-<path fill="#DDDDDD" d="M56.579,44.673L41.21,47.938c2.544,10.42,9.985,19.427,20.642,23.556l5.215-15.113
- C61.848,54.168,58.129,49.786,56.579,44.673z"/>
-<g>
- <path fill="#86C6E0" d="M86.147,8.532l-4.793,13.891c8.894,3.771,13.482,13.825,10.284,23.094S78.628,59.872,69.302,57.355
- L64.087,72.47c17.329,5.261,35.854-4.085,41.812-21.349C111.854,33.857,103.034,15.076,86.147,8.532z"/>
-</g>
-</svg>
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/remove.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/remove.png
deleted file mode 100644
index 9e95c899..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/remove.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/remove_red.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/remove_red.png
deleted file mode 100644
index d8551fde..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/remove_red.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/shrink.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/shrink.png
deleted file mode 100644
index 7d74ce32..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/shrink.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/stacked.svg b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/stacked.svg
deleted file mode 100644
index 525f73a9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/stacked.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="150px" height="75px" viewBox="0 0 150 75" enable-background="new 0 0 150 75" xml:space="preserve">
-<polyline fill="#CBD8EF" stroke="#F4BB61" stroke-miterlimit="10" points="0,75.057 0,44.117 10.906,35.767 17.589,44.954
- 27.085,34.695 35.529,34.236 53.118,14.635 62.965,34.39 68.594,34.542 79.499,24.436 84.5,29.5 93.753,12.999 111.861,34.39
- 121.006,14.021 137.186,35.002 146.383,12.491 153.522,32.779 154.751,74.378 "/>
-<polyline fill="#A797C7" stroke="#F7F7F7" stroke-width="2" stroke-miterlimit="10" points="0,75 10.964,60.453 17.682,71.184
- 27.229,59.201 35.717,58.665 53.399,35.772 63.299,58.843 68.958,59.023 79.921,47.218 86.284,47.04 94.25,33.863 112.455,58.843
- 121.648,35.059 137.914,59.557 147.16,33.269 151.305,75 "/>
-</svg>
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/zoom.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/zoom.png
deleted file mode 100644
index 6e2b74a3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/zoom.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/告警统计.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/告警统计.png
deleted file mode 100644
index 0120e90d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/告警统计.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/性能统计A.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/性能统计A.png
deleted file mode 100644
index bd67fa14..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/性能统计A.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/性能统计B.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/性能统计B.png
deleted file mode 100644
index 341bd0f1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/性能统计B.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/性能统计C.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/性能统计C.png
deleted file mode 100644
index f51faa24..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/性能统计C.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/日志统计.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/日志统计.png
deleted file mode 100644
index c2c78b1f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/images/日志统计.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/index4.html b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/index4.html
deleted file mode 100644
index 3ff1d6e5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/index4.html
+++ /dev/null
@@ -1,99 +0,0 @@
-<!DOCTYPE html>
-<html ng-app="graphApp">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title></title>
- <SCRIPT SRC="debug.js"></SCRIPT>
- <SCRIPT>
- if (typeof(parent.loadJsFromIndex) == "undefined" || !parent.loadJsFromIndex) {
- var jqueryJsPath = "/web/res/web-common/comp/jquery.js";
- document.write("<" + "SCRIPT SRC=" + jqueryJsPath + "><" + "/SCRIPT>");
- var frameworkJsPath = "/web/res/web-framework/js/framework.js";
- document.write("<" + "SCRIPT SRC=" + frameworkJsPath + "><" + "/SCRIPT>");
- }
- </SCRIPT>
- <SCRIPT>
- if (typeof ($userFrameDir) == 'undefined') {
- $userFrameDir = "/web/res/web-common/comp/";
- }
- var toolUrl = $userFrameDir + "tools.js";
- document.write("<" + "SCRIPT SRC=" + toolUrl + "><" + "/SCRIPT>");
- </SCRIPT>
-</head>
-<style>
- body {
- margin: 0;
- padding: 0;
- }
-</style>
-<link rel="stylesheet" href="/web/newict/framework/thirdparty/jquery-ui/jquery-ui-1.10.3.custom.min.css">
-<link href="/web/newict/framework/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
-<link href="/web/newict/framework/thirdparty/facebox/facebox.css" media="screen" rel="stylesheet" type="text/css"/>
-<link type="text/css" href="/web/newict/framework/thirdparty/flotchart/demo/css/ict-chart-flot.css" rel="stylesheet">
-<link type="text/css" href="/web/newict/framework/thirdparty/flotchart/demo/css/components.css" rel="stylesheet">
-<link rel="stylesheet" href="/web/res/web-common/css/ZteIctIcons/style.css"/>
-<link rel="stylesheet" href="/web/newict/framework/thirdparty/font-awesome/css/font-awesome.min.css"/>
-<link type="text/css" href="/web/newict/framework/thirdparty/flotchart/demo/css/transition.css" rel="stylesheet">
-<link type="text/css" href="/web/newict/framework/thirdparty/dashboard/DashboardICT.css" rel="stylesheet">
-<link href="/web/newict/framework/thirdparty/uniform/css/uniform.default.css" rel="stylesheet" type="text/css">
-<link href="assets/css/c3.css" rel="stylesheet" type="text/css">
-<body ng-controller="GraphCtrl">
-<div class="dashBoardHeader">
- <div id="cf5" class="hover sidebar-toggler">
- <img class="top shadow" src="images/open.png"/>
- <img class="bottom shadow" src="images/shrink.png"/>
- </div>
- <div id="deleteIcon" class="hover delete-icon">
- <img class="top shadow" src="images/remove.png"/>
- <img class="bottom shadow deleteIconHidden" src="images/remove_red.png"/>
- </div>
-</div>
-<div class="plotItemsSelectionWrapper"></div>
-<div class="dashBoardBody">
- <div class="contentWrapper">
- <div id="freeDraggable" class="plotsWrapper" style="height:730px">
- <div id="droppable" class="portlet portlet-sortable light bg-inverse droppable freeDragBlock initBlock">
- </div>
- </div>
- </div>
-</div>
-<!-- </div> -->
-<script type="text/javascript" src="/web/newict/framework/thirdparty/jquery-1.10.2.min.js"></script>
-<script src="/web/newict/framework/thirdparty/jquery-ui/jquery-ui-1.10.3.custom.min.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/flot/jquery.flot.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/flot/jquery.flot.categories.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/flot/jquery.flot.pie.min.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/flot/jquery.flot.stack.min.js"></script>
-<script src="assets/js/d3.min.js" charset="utf-8"></script>
-<script src="assets/js/c3.js"></script>
-<!--图例-->
-<SCRIPT SRC="/web/newict/framework/thirdparty/flotchart/ict-linechart-flot.js"></SCRIPT>
-<SCRIPT SRC="/web/newict/framework/thirdparty/flotchart/ict-barchart-flot.js"></SCRIPT>
-<SCRIPT SRC="/web/newict/framework/thirdparty/flotchart/ict-piechart-flot.js"></SCRIPT>
-<SCRIPT SRC="/web/newict/framework/thirdparty/flotchart/ict-stackchart-flot.js"></SCRIPT>
-<!--demo-->
-<SCRIPT SRC="/web/newict/framework/thirdparty/flotchart/demo/demo-barchart-flot.js"></SCRIPT>
-<SCRIPT SRC="/web/newict/framework/thirdparty/flotchart/demo/demo-linechart-flot.js"></SCRIPT>
-<SCRIPT SRC="/web/newict/framework/thirdparty/flotchart/demo/demo-piechart-flot.js"></SCRIPT>
-<SCRIPT SRC="/web/newict/framework/thirdparty/flotchart/demo/demo-stackchart-flot.js"></SCRIPT>
-<!--facebox-->
-<script src="js/facebox.js" type="text/javascript"></script>
-<!--portlet-->
-<script src="/web/newict/framework/thirdparty/flotchart/demo/portlet-draggable.js" type="text/javascript"></script>
-<script src="/web/newict/framework/thirdparty/bootstrap/js/bootstrap.min.js"></script>
-<script src="/web/newict/framework/thirdparty/flotchart/demo/esl.js"></script>
-<script src="/web/newict/framework/thirdparty/flotchart/demo/alarmCounts.js"></script>
-<script src="/web/newict/framework/thirdparty/jquery-slimscroll/jquery.slimscroll.min.js"
- type="text/javascript"></script>
-<script type="text/javascript" src="js/freewall.js"></script>
-<!-- <script src="assets/js/angular.min.js"></script> -->
-<script src="/web/newict/framework/thirdparty/flotchart/demo/c3Chart.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/uniform/jquery.uniform.min.js"></script>
-<script type="text/javascript" src="/web/newict/framework/thirdparty/dashboard/DashboardICT.js"></script>
-<script>
- jQuery(document).ready(function () {
- DashboardICT.init();
- });
-</script>
-</body>
-</html>
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/avalon.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/avalon.js
deleted file mode 100644
index 17238e50..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/avalon.js
+++ /dev/null
@@ -1,5279 +0,0 @@
-/*==================================================
- Copyright (c) 2013-2015 司徒正美 and other contributors
- http://www.cnblogs.com/rubylouvre/
- https://github.com/RubyLouvre
- http://weibo.com/jslouvre/
-
- Released under the MIT license
- avalon.js 1.39 build in 2015.1.21
- _____________________________________
- support IE6+ and other browsers
- ==================================================*/
-(function (global, factory) {
-
- if (typeof module === "object" && typeof module.exports === "object") {
- // For CommonJS and CommonJS-like environments where a proper `window`
- // is present, execute the factory and get avalon.
- // For environments that do not have a `window` with a `document`
- // (such as Node.js), expose a factory as module.exports.
- // This accentuates the need for the creation of a real `window`.
- // e.g. var avalon = require("avalon")(window);
- module.exports = global.document ? factory(global, true) : function (w) {
- if (!w.document) {
- throw new Error("Avalon requires a window with a document")
- }
- return factory(w)
- }
- } else {
- factory(global)
- }
-
-// Pass this if window is not defined yet
-}(typeof window !== "undefined" ? window : this, function (window, noGlobal) {
-
- /*********************************************************************
- * 全局变量及方法 *
- **********************************************************************/
- var expose = new Date - 0
-//http://stackoverflow.com/questions/7290086/javascript-use-strict-and-nicks-find-global-function
- var DOC = window.document
- var head = DOC.getElementsByTagName("head")[0] //HEAD元素
- var ifGroup = head.insertBefore(document.createElement("avalon"), head.firstChild) //避免IE6 base标签BUG
- ifGroup.innerHTML = "X<style id='avalonStyle'>.avalonHide{ display: none!important }</style>"
- ifGroup.setAttribute("ms-skip", "1")
- var rnative = /\[native code\]/ //判定是否原生函数
- function log() {
- if (window.console && avalon.config.debug) {
- // http://stackoverflow.com/questions/8785624/how-to-safely-wrap-console-log
- Function.apply.call(console.log, console, arguments)
- }
- }
-
-
- var subscribers = "$" + expose
- var otherRequire = window.require
- var otherDefine = window.define
- var stopRepeatAssign = false
- var rword = /[^, ]+/g //切割字符串为一个个小块,以空格或豆号分开它们,结合replace实现字符串的forEach
- var rcomplexType = /^(?:object|array)$/
- var rsvg = /^\[object SVG\w*Element\]$/
- var rwindow = /^\[object (?:Window|DOMWindow|global)\]$/
- var oproto = Object.prototype
- var ohasOwn = oproto.hasOwnProperty
- var serialize = oproto.toString
- var ap = Array.prototype
- var aslice = ap.slice
- var Registry = {} //将函数曝光到此对象上,方便访问器收集依赖
- var W3C = window.dispatchEvent
- var root = DOC.documentElement
- var hyperspace = DOC.createDocumentFragment()
- var cinerator = DOC.createElement("div")
- var class2type = {}
- "Boolean Number String Function Array Date RegExp Object Error".replace(rword, function (name) {
- class2type["[object " + name + "]"] = name.toLowerCase()
- })
-
-
- function noop() {
- }
-
-
- function oneObject(array, val) {
- if (typeof array === "string") {
- array = array.match(rword) || []
- }
- var result = {},
- value = val !== void 0 ? val : 1
- for (var i = 0, n = array.length; i < n; i++) {
- result[array[i]] = value
- }
- return result
- }
-
- function createCache(maxLength) {
- var keys = []
-
- function cache(key, value) {
- if (keys.push(key) > maxLength) {
- delete cache[keys.shift()]
- }
- return cache[key] = value;
- }
-
- return cache;
- }
-
-//生成UUID http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
- var generateID = function (prefix) {
- prefix = prefix || "avalon"
- return (prefix + Math.random() + Math.random()).replace(/0\./g, "")
- }
-
- function IE() {
- if (window.VBArray) {
- var mode = document.documentMode
- return mode ? mode : window.XMLHttpRequest ? 7 : 6
- } else {
- return 0
- }
- }
-
- var IEVersion = IE()
- /*********************************************************************
- * avalon的静态方法定义区 *
- **********************************************************************/
- avalon = function (el) { //创建jQuery式的无new 实例化结构
- return new avalon.init(el)
- }
-
- avalon.init = function (el) {
- this[0] = this.element = el
- }
- avalon.fn = avalon.prototype = avalon.init.prototype
-
- avalon.type = function (obj) { //取得目标的类型
- if (obj == null) {
- return String(obj)
- }
- // 早期的webkit内核浏览器实现了已废弃的ecma262v4标准,可以将正则字面量当作函数使用,因此typeof在判定正则时会返回function
- return typeof obj === "object" || typeof obj === "function" ?
- class2type[serialize.call(obj)] || "object" :
- typeof obj
- }
-
- var isFunction = typeof alert === "object" ? function (fn) {
- try {
- return /^\s*\bfunction\b/.test(fn + "")
- } catch (e) {
- return false
- }
- } : function (fn) {
- return serialize.call(fn) == "[object Function]"
- }
- avalon.isFunction = isFunction
-
- avalon.isWindow = function (obj) {
- if (!obj)
- return false
- // 利用IE678 window == document为true,document == window竟然为false的神奇特性
- // 标准浏览器及IE9,IE10等使用 正则检测
- return obj == obj.document && obj.document != obj
- }
-
- function isWindow(obj) {
- return rwindow.test(serialize.call(obj))
- }
-
- if (isWindow(window)) {
- avalon.isWindow = isWindow
- }
- var enu
- for (enu in avalon({})) {
- break
- }
- var enumerateBUG = enu !== "0" //IE6下为true, 其他为false
- /*判定是否是一个朴素的javascript对象(Object),不是DOM对象,不是BOM对象,不是自定义类的实例*/
- avalon.isPlainObject = function (obj, key) {
- if (!obj || avalon.type(obj) !== "object" || obj.nodeType || avalon.isWindow(obj)) {
- return false;
- }
- try { //IE内置对象没有constructor
- if (obj.constructor && !ohasOwn.call(obj, "constructor") && !ohasOwn.call(obj.constructor.prototype, "isPrototypeOf")) {
- return false;
- }
- } catch (e) { //IE8 9会在这里抛错
- return false;
- }
- if (enumerateBUG) {
- for (key in obj) {
- return ohasOwn.call(obj, key)
- }
- }
- for (key in obj) {
- }
- return key === void 0 || ohasOwn.call(obj, key);
- }
- if (rnative.test(Object.getPrototypeOf)) {
- avalon.isPlainObject = function (obj) {
- // 简单的 typeof obj === "object"检测,会致使用isPlainObject(window)在opera下通不过
- return serialize.call(obj) === "[object Object]" && Object.getPrototypeOf(obj) === oproto
- }
- }
-//与jQuery.extend方法,可用于浅拷贝,深拷贝
- avalon.mix = avalon.fn.mix = function () {
- var options, name, src, copy, copyIsArray, clone,
- target = arguments[0] || {},
- i = 1,
- length = arguments.length,
- deep = false
-
- // 如果第一个参数为布尔,判定是否深拷贝
- if (typeof target === "boolean") {
- deep = target
- target = arguments[1] || {}
- i++
- }
-
- //确保接受方为一个复杂的数据类型
- if (typeof target !== "object" && !isFunction(target)) {
- target = {}
- }
-
- //如果只有一个参数,那么新成员添加于mix所在的对象上
- if (i === length) {
- target = this
- i--
- }
-
- for (; i < length; i++) {
- //只处理非空参数
- if ((options = arguments[i]) != null) {
- for (name in options) {
- src = target[name]
- try {
- copy = options[name] //当options为VBS对象时报错
- } catch (e) {
- continue
- }
-
- // 防止环引用
- if (target === copy) {
- continue
- }
- if (deep && copy && (avalon.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) {
-
- if (copyIsArray) {
- copyIsArray = false
- clone = src && Array.isArray(src) ? src : []
-
- } else {
- clone = src && avalon.isPlainObject(src) ? src : {}
- }
-
- target[name] = avalon.mix(deep, clone, copy)
- } else if (copy !== void 0) {
- target[name] = copy
- }
- }
- }
- }
- return target
- }
-
- function _number(a, len) { //用于模拟slice, splice的效果
- a = Math.floor(a) || 0
- return a < 0 ? Math.max(len + a, 0) : Math.min(a, len);
- }
-
- avalon.mix({
- rword: rword,
- subscribers: subscribers,
- version: 1.39,
- ui: {},
- log: log,
- slice: W3C ? function (nodes, start, end) {
- return aslice.call(nodes, start, end)
- } : function (nodes, start, end) {
- var ret = []
- var len = nodes.length
- if (end === void 0)
- end = len
- if (typeof end === "number" && isFinite(end)) {
- start = _number(start, len)
- end = _number(end, len)
- for (var i = start; i < end; ++i) {
- ret[i - start] = nodes[i]
- }
- }
- return ret
- },
- noop: noop,
- /*如果不用Error对象封装一下,str在控制台下可能会乱码*/
- error: function (str, e) {
- throw new (e || Error)(str)
- },
- /*将一个以空格或逗号隔开的字符串或数组,转换成一个键值都为1的对象*/
- oneObject: oneObject,
- /* avalon.range(10)
- => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
- avalon.range(1, 11)
- => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
- avalon.range(0, 30, 5)
- => [0, 5, 10, 15, 20, 25]
- avalon.range(0, -10, -1)
- => [0, -1, -2, -3, -4, -5, -6, -7, -8, -9]
- avalon.range(0)
- => []*/
- range: function (start, end, step) { // 用于生成整数数组
- step || (step = 1)
- if (end == null) {
- end = start || 0
- start = 0
- }
- var index = -1,
- length = Math.max(0, Math.ceil((end - start) / step)),
- result = Array(length)
- while (++index < length) {
- result[index] = start
- start += step
- }
- return result
- },
- eventHooks: {},
- /*绑定事件*/
- bind: function (el, type, fn, phase) {
- var hooks = avalon.eventHooks
- var hook = hooks[type]
- if (typeof hook === "object") {
- type = hook.type
- if (hook.deel) {
- fn = hook.deel(el, fn)
- }
- }
- var callback = W3C ? fn : function (e) {
- fn.call(el, fixEvent(e));
- }
- if (W3C) {
- el.addEventListener(type, callback, !!phase)
- } else {
- el.attachEvent("on" + type, callback)
- }
- return callback
- },
- /*卸载事件*/
- unbind: function (el, type, fn, phase) {
- var hooks = avalon.eventHooks
- var hook = hooks[type]
- var callback = fn || noop
- if (typeof hook === "object") {
- type = hook.type
- }
- if (W3C) {
- el.removeEventListener(type, callback, !!phase)
- } else {
- el.detachEvent("on" + type, callback)
- }
- },
- /*读写删除元素节点的样式*/
- css: function (node, name, value) {
- if (node instanceof avalon) {
- node = node[0]
- }
- var prop = /[_-]/.test(name) ? camelize(name) : name
- name = avalon.cssName(prop) || prop
- if (value === void 0 || typeof value === "boolean") { //获取样式
- var fn = cssHooks[prop + ":get"] || cssHooks["@:get"]
- if (name === "background") {
- name = "backgroundColor"
- }
- var val = fn(node, name)
- return value === true ? parseFloat(val) || 0 : val
- } else if (value === "") { //请除样式
- node.style[name] = ""
- } else { //设置样式
- if (value == null || value !== value) {
- return
- }
- if (isFinite(value) && !avalon.cssNumber[prop]) {
- value += "px"
- }
- fn = cssHooks[prop + ":set"] || cssHooks["@:set"]
- fn(node, name, value)
- }
- },
- /*遍历数组与对象,回调的第一个参数为索引或键名,第二个或元素或键值*/
- each: function (obj, fn) {
- if (obj) { //排除null, undefined
- var i = 0
- if (isArrayLike(obj)) {
- for (var n = obj.length; i < n; i++) {
- fn(i, obj[i])
- }
- } else {
- for (i in obj) {
- if (obj.hasOwnProperty(i)) {
- fn(i, obj[i])
- }
- }
- }
- }
- },
- //收集元素的data-{{prefix}}-*属性,并转换为对象
- getWidgetData: function (elem, prefix) {
- var raw = avalon(elem).data()
- var result = {}
- for (var i in raw) {
- if (i.indexOf(prefix) === 0) {
- result[i.replace(prefix, "").replace(/\w/, function (a) {
- return a.toLowerCase()
- })] = raw[i]
- }
- }
- return result
- },
- Array: {
- /*只有当前数组不存在此元素时只添加它*/
- ensure: function (target, item) {
- if (target.indexOf(item) === -1) {
- return target.push(item)
- }
- },
- /*移除数组中指定位置的元素,返回布尔表示成功与否*/
- removeAt: function (target, index) {
- return !!target.splice(index, 1).length
- },
- /*移除数组中第一个匹配传参的那个元素,返回布尔表示成功与否*/
- remove: function (target, item) {
- var index = target.indexOf(item)
- if (~index)
- return avalon.Array.removeAt(target, index)
- return false
- }
- }
- })
-
- var bindingHandlers = avalon.bindingHandlers = {}
- var bindingExecutors = avalon.bindingExecutors = {}
-
- /*判定是否类数组,如节点集合,纯数组,arguments与拥有非负整数的length属性的纯JS对象*/
-
- function isArrayLike(obj) {
- if (obj && typeof obj === "object") {
- var n = obj.length
- if (n === (n >>> 0)) { //检测length属性是否为非负整数
- try {
- if ({}.propertyIsEnumerable.call(obj, "length") === false) { //如果是原生对象
- return Array.isArray(obj) || /^\s?function/.test(obj.item || obj.callee)
- }
- return true
- } catch (e) { //IE的NodeList直接抛错
- return true
- }
- }
- }
- return false
- }
-
- /*视浏览器情况采用最快的异步回调(在avalon.ready里,还有一个分支,用于处理IE6-9)*/
- avalon.nextTick = window.setImmediate ? setImmediate.bind(window) : function (callback) {
- setTimeout(callback, 0) //IE10-11 or W3C
- }
-
- /*********************************************************************
- * javascript 底层补丁 *
- **********************************************************************/
- if (!"司徒正美".trim) {
- var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g
- String.prototype.trim = function () {
- return this.replace(rtrim, "")
- }
- }
- var hasDontEnumBug = !({
- 'toString': null
- }).propertyIsEnumerable('toString'),
- hasProtoEnumBug = (function () {
- }).propertyIsEnumerable('prototype'),
- dontEnums = [
- "toString",
- "toLocaleString",
- "valueOf",
- "hasOwnProperty",
- "isPrototypeOf",
- "propertyIsEnumerable",
- "constructor"
- ],
- dontEnumsLength = dontEnums.length;
- if (!Object.keys) {
- Object.keys = function (object) { //ecma262v5 15.2.3.14
- var theKeys = [];
- var skipProto = hasProtoEnumBug && typeof object === "function"
- if (typeof object === "string" || (object && object.callee)) {
- for (var i = 0; i < object.length; ++i) {
- theKeys.push(String(i))
- }
- } else {
- for (var name in object) {
- if (!(skipProto && name === "prototype") && ohasOwn.call(object, name)) {
- theKeys.push(String(name))
- }
- }
- }
-
- if (hasDontEnumBug) {
- var ctor = object.constructor,
- skipConstructor = ctor && ctor.prototype === object;
- for (var j = 0; j < dontEnumsLength; j++) {
- var dontEnum = dontEnums[j]
- if (!(skipConstructor && dontEnum === "constructor") && ohasOwn.call(object, dontEnum)) {
- theKeys.push(dontEnum)
- }
- }
- }
- return theKeys
- }
- }
- if (!Array.isArray) {
- Array.isArray = function (a) {
- return serialize.call(a) === "[object Array]"
- }
- }
-
- if (!noop.bind) {
- Function.prototype.bind = function (scope) {
- if (arguments.length < 2 && scope === void 0)
- return this
- var fn = this,
- argv = arguments
- return function () {
- var args = [],
- i
- for (i = 1; i < argv.length; i++)
- args.push(argv[i])
- for (i = 0; i < arguments.length; i++)
- args.push(arguments[i])
- return fn.apply(scope, args)
- }
- }
- }
-
- function iterator(vars, body, ret) {
- var fun = 'for(var ' + vars + 'i=0,n = this.length; i < n; i++){' + body.replace('_', '((i in this) && fn.call(scope,this[i],i,this))') + '}' + ret
- return Function("fn,scope", fun)
- }
-
- if (!rnative.test([].map)) {
- avalon.mix(ap, {
- //定位操作,返回数组中第一个等于给定参数的元素的索引值。
- indexOf: function (item, index) {
- var n = this.length,
- i = ~~index
- if (i < 0)
- i += n
- for (; i < n; i++)
- if (this[i] === item)
- return i
- return -1
- },
- //定位操作,同上,不过是从后遍历。
- lastIndexOf: function (item, index) {
- var n = this.length,
- i = index == null ? n - 1 : index
- if (i < 0)
- i = Math.max(0, n + i)
- for (; i >= 0; i--)
- if (this[i] === item)
- return i
- return -1
- },
- //迭代操作,将数组的元素挨个儿传入一个函数中执行。Prototype.js的对应名字为each。
- forEach: iterator("", '_', ""),
- //迭代类 在数组中的每个项上运行一个函数,如果此函数的值为真,则此元素作为新数组的元素收集起来,并返回新数组
- filter: iterator('r=[],j=0,', 'if(_)r[j++]=this[i]', 'return r'),
- //收集操作,将数组的元素挨个儿传入一个函数中执行,然后把它们的返回值组成一个新数组返回。Prototype.js的对应名字为collect。
- map: iterator('r=[],', 'r[i]=_', 'return r'),
- //只要数组中有一个元素满足条件(放进给定函数返回true),那么它就返回true。Prototype.js的对应名字为any。
- some: iterator("", 'if(_)return true', 'return false'),
- //只有数组中的元素都满足条件(放进给定函数返回true),它才返回true。Prototype.js的对应名字为all。
- every: iterator("", 'if(!_)return false', 'return true')
- })
- }
- /*********************************************************************
- * DOM 底层补丁 *
- **********************************************************************/
-
- function fixContains(root, el) {
- try { //IE6-8,游离于DOM树外的文本节点,访问parentNode有时会抛错
- while ((el = el.parentNode))
- if (el === root)
- return true;
- return false
- } catch (e) {
- return false
- }
- }
-
- avalon.contains = fixContains
-//safari5+是把contains方法放在Element.prototype上而不是Node.prototype
- if (!root.contains) {
- Node.prototype.contains = function (arg) {
- return !!(this.compareDocumentPosition(arg) & 16)
- }
- }
-//IE6-11的文档对象没有contains
- if (!DOC.contains) {
- DOC.contains = function (b) {
- return fixContains(DOC, b)
- }
- }
-
- function outerHTML() {
- return new XMLSerializer().serializeToString(this)
- }
-
-
- if (window.SVGElement) {
- var svgns = "http://www.w3.org/2000/svg"
- var svg = DOC.createElementNS(svgns, "svg")
- svg.innerHTML = '<circle cx="50" cy="50" r="40" fill="red" />'
- if (!rsvg.test(svg.firstChild)) { // #409
- function enumerateNode(node, targetNode) {
- if (node && node.childNodes) {
- var nodes = node.childNodes
- for (var i = 0, el; el = nodes[i++];) {
- if (el.tagName) {
- var svg = DOC.createElementNS(svgns,
- el.tagName.toLowerCase())
- ap.forEach.call(el.attributes, function (attr) {
- svg.setAttribute(attr.name, attr.value) //复制属性
- })
- // 递归处理子节点
- enumerateNode(el, svg)
- targetNode.appendChild(svg)
- }
- }
- }
- }
-
- Object.defineProperties(SVGElement.prototype, {
- "outerHTML": {//IE9-11,firefox不支持SVG元素的innerHTML,outerHTML属性
- enumerable: true,
- configurable: true,
- get: outerHTML,
- set: function (html) {
- var tagName = this.tagName.toLowerCase(),
- par = this.parentNode,
- frag = avalon.parseHTML(html)
- // 操作的svg,直接插入
- if (tagName === "svg") {
- par.insertBefore(frag, this)
- // svg节点的子节点类似
- } else {
- var newFrag = DOC.createDocumentFragment()
- enumerateNode(frag, newFrag)
- par.insertBefore(newFrag, this)
- }
- par.removeChild(this)
- }
- },
- "innerHTML": {
- enumerable: true,
- configurable: true,
- get: function () {
- var s = this.outerHTML
- var ropen = new RegExp("<" + this.nodeName + '\\b(?:(["\'])[^"]*?(\\1)|[^>])*>', "i")
- var rclose = new RegExp("<\/" + this.nodeName + ">$", "i")
- return s.replace(ropen, "").replace(rclose, "")
- },
- set: function (html) {
- if (avalon.clearHTML) {
- avalon.clearHTML(this)
- var frag = avalon.parseHTML(html)
- enumerateNode(frag, this)
- }
- }
- }
- })
- }
- }
- if (!root.outerHTML && window.HTMLElement) { //firefox 到11时才有outerHTML
- HTMLElement.prototype.__defineGetter__("outerHTML", outerHTML);
- }
-
-//============================= event binding =======================
- var rmouseEvent = /^(?:mouse|contextmenu|drag)|click/
-
- function fixEvent(event) {
- var ret = {}
- for (var i in event) {
- ret[i] = event[i]
- }
- var target = ret.target = event.srcElement
- if (event.type.indexOf("key") === 0) {
- ret.which = event.charCode != null ? event.charCode : event.keyCode
- } else if (rmouseEvent.test(event.type)) {
- var doc = target.ownerDocument || DOC
- var box = doc.compatMode === "BackCompat" ? doc.body : doc.documentElement
- ret.pageX = event.clientX + (box.scrollLeft >> 0) - (box.clientLeft >> 0)
- ret.pageY = event.clientY + (box.scrollTop >> 0) - (box.clientTop >> 0)
- ret.wheelDeltaY = ret.wheelDelta
- ret.wheelDeltaX = 0
- }
- ret.timeStamp = new Date - 0
- ret.originalEvent = event
- ret.preventDefault = function () { //阻止默认行为
- event.returnValue = false
- }
- ret.stopPropagation = function () { //阻止事件在DOM树中的传播
- event.cancelBubble = true
- }
- return ret
- }
-
- var eventHooks = avalon.eventHooks
-//针对firefox, chrome修正mouseenter, mouseleave
- if (!("onmouseenter" in root)) {
- avalon.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout"
- }, function (origType, fixType) {
- eventHooks[origType] = {
- type: fixType,
- deel: function (elem, fn) {
- return function (e) {
- var t = e.relatedTarget
- if (!t || (t !== elem && !(elem.compareDocumentPosition(t) & 16))) {
- delete e.type
- e.type = origType
- return fn.call(elem, e)
- }
- }
- }
- }
- })
- }
-//针对IE9+, w3c修正animationend
- avalon.each({
- AnimationEvent: "animationend",
- WebKitAnimationEvent: "webkitAnimationEnd"
- }, function (construct, fixType) {
- if (window[construct] && !eventHooks.animationend) {
- eventHooks.animationend = {
- type: fixType
- }
- }
- })
-//针对IE6-8修正input
- if (!("oninput" in DOC.createElement("input"))) {
- eventHooks.input = {
- type: "propertychange",
- deel: function (elem, fn) {
- return function (e) {
- if (e.propertyName === "value") {
- e.type = "input"
- return fn.call(elem, e)
- }
- }
- }
- }
- }
- if (DOC.onmousewheel === void 0) {
- /* IE6-11 chrome mousewheel wheelDetla 下 -120 上 120
- firefox DOMMouseScroll detail 下3 上-3
- firefox wheel detlaY 下3 上-3
- IE9-11 wheel deltaY 下40 上-40
- chrome wheel deltaY 下100 上-100 */
- var fixWheelType = DOC.onwheel !== void 0 ? "wheel" : "DOMMouseScroll"
- var fixWheelDelta = fixWheelType === "wheel" ? "deltaY" : "detail"
- eventHooks.mousewheel = {
- type: fixWheelType,
- deel: function (elem, fn) {
- return function (e) {
- e.wheelDeltaY = e.wheelDelta = e[fixWheelDelta] > 0 ? -120 : 120
- e.wheelDeltaX = 0
- if (Object.defineProperty) {
- Object.defineProperty(e, "type", {
- value: "mousewheel"
- })
- }
- fn.call(elem, e)
- }
- }
- }
- }
-
-
- /*********************************************************************
- * 配置系统 *
- **********************************************************************/
-
- function kernel(settings) {
- for (var p in settings) {
- if (!ohasOwn.call(settings, p))
- continue
- var val = settings[p]
- if (typeof kernel.plugins[p] === "function") {
- kernel.plugins[p](val)
- } else if (typeof kernel[p] === "object") {
- avalon.mix(kernel[p], val)
- } else {
- kernel[p] = val
- }
- }
- return this
- }
-
- var openTag, closeTag, rexpr, rexprg, rbind, rregexp = /[-.*+?^${}()|[\]\/\\]/g
-
- function escapeRegExp(target) {
- //http://stevenlevithan.com/regex/xregexp/
- //将字符串安全格式化为正则表达式的源码
- return (target + "").replace(rregexp, "\\$&")
- }
-
- var innerRequire = noop
- var plugins = {
- loader: function (builtin) {
- window.define = builtin ? innerRequire.define : otherDefine
- window.require = builtin ? innerRequire : otherRequire
- },
- interpolate: function (array) {
- openTag = array[0]
- closeTag = array[1]
- if (openTag === closeTag) {
- throw new SyntaxError("openTag!==closeTag")
- } else if (array + "" === "<!--,-->") {
- kernel.commentInterpolate = true
- } else {
- var test = openTag + "test" + closeTag
- cinerator.innerHTML = test
- if (cinerator.innerHTML !== test && cinerator.innerHTML.indexOf("&lt;") > -1) {
- throw new SyntaxError("此定界符不合法")
- }
- cinerator.innerHTML = ""
- }
- var o = escapeRegExp(openTag),
- c = escapeRegExp(closeTag)
- rexpr = new RegExp(o + "(.*?)" + c)
- rexprg = new RegExp(o + "(.*?)" + c, "g")
- rbind = new RegExp(o + ".*?" + c + "|\\sms-")
- }
- }
-
- kernel.debug = true
- kernel.plugins = plugins
- kernel.plugins['interpolate'](["{{", "}}"])
- kernel.paths = {}
- kernel.shim = {}
- kernel.maxRepeatSize = 100
- avalon.config = kernel
- /*********************************************************************
- * 事件总线 *
- **********************************************************************/
- var EventBus = {
- $watch: function (type, callback) {
- if (typeof callback === "function") {
- var callbacks = this.$events[type]
- if (callbacks) {
- callbacks.push(callback)
- } else {
- this.$events[type] = [callback]
- }
- } else { //重新开始监听此VM的第一重简单属性的变动
- this.$events = this.$watch.backup
- }
- return this
- },
- $unwatch: function (type, callback) {
- var n = arguments.length
- if (n === 0) { //让此VM的所有$watch回调无效化
- this.$watch.backup = this.$events
- this.$events = {}
- } else if (n === 1) {
- this.$events[type] = []
- } else {
- var callbacks = this.$events[type] || []
- var i = callbacks.length
- while (~--i < 0) {
- if (callbacks[i] === callback) {
- return callbacks.splice(i, 1)
- }
- }
- }
- return this
- },
- $fire: function (type) {
- var special
- if (/^(\w+)!(\S+)$/.test(type)) {
- special = RegExp.$1
- type = RegExp.$2
- }
- var events = this.$events
- var args = aslice.call(arguments, 1)
- var detail = [type].concat(args)
- if (special === "all") {
- for (var i in avalon.vmodels) {
- var v = avalon.vmodels[i]
- if (v !== this) {
- v.$fire.apply(v, detail)
- }
- }
- } else if (special === "up" || special === "down") {
- var elements = events.expr ? findNodes(events.expr) : []
- if (elements.length === 0)
- return
- for (var i in avalon.vmodels) {
- var v = avalon.vmodels[i]
- if (v !== this) {
- if (v.$events.expr) {
- var eventNodes = findNodes(v.$events.expr)
- if (eventNodes.length === 0) {
- continue
- }
- //循环两个vmodel中的节点,查找匹配(向上匹配或者向下匹配)的节点并设置标识
- Array.prototype.forEach.call(eventNodes, function (node) {
- Array.prototype.forEach.call(elements, function (element) {
- var ok = special === "down" ? element.contains(node) : //向下捕获
- node.contains(element) //向上冒泡
-
- if (ok) {
- node._avalon = v //符合条件的加一个标识
- }
- });
- })
- }
- }
- }
- var nodes = DOC.getElementsByTagName("*") //实现节点排序
- var alls = []
- Array.prototype.forEach.call(nodes, function (el) {
- if (el._avalon) {
- alls.push(el._avalon)
- el._avalon = ""
- el.removeAttribute("_avalon")
- }
- })
- if (special === "up") {
- alls.reverse()
- }
- for (var i = 0, el; el = alls[i++];) {
- if (el.$fire.apply(el, detail) === false) {
- break
- }
- }
- } else {
- var callbacks = events[type] || []
- var all = events.$all || []
- for (var i = 0, callback; callback = callbacks[i++];) {
- if (isFunction(callback))
- callback.apply(this, args)
- }
- for (var i = 0, callback; callback = all[i++];) {
- if (isFunction(callback))
- callback.apply(this, arguments)
- }
- }
- }
- }
-
- var ravalon = /(\w+)\[(avalonctrl)="(\S+)"\]/
- var findNodes = DOC.querySelectorAll ? function (str) {
- //pc safari v5.1: typeof DOC.querySelectorAll(str) === 'function'
- //https://gist.github.com/DavidBruant/1016007
- return DOC.querySelectorAll(str)
- } : function (str) {
- var match = str.match(ravalon)
- var all = DOC.getElementsByTagName(match[1])
- var nodes = []
- for (var i = 0, el; el = all[i++];) {
- if (el.getAttribute(match[2]) === match[3]) {
- nodes.push(el)
- }
- }
- return nodes
- }
- /*********************************************************************
- * modelFactory *
- **********************************************************************/
-//avalon最核心的方法的两个方法之一(另一个是avalon.scan),返回一个ViewModel(VM)
- var VMODELS = avalon.vmodels = {} //所有vmodel都储存在这里
- avalon.define = function (id, factory) {
- var $id = id.$id || id
- if (!$id) {
- log("warning: vm必须指定$id")
- }
- if (VMODELS[$id]) {
- log("warning: " + $id + " 已经存在于avalon.vmodels中")
- }
- if (typeof id === "object") {
- var model = modelFactory(id)
- } else {
- var scope = {
- $watch: noop
- }
- factory(scope) //得到所有定义
- model = modelFactory(scope) //偷天换日,将scope换为model
- stopRepeatAssign = true
- factory(model)
- stopRepeatAssign = false
- }
- model.$id = $id
- return VMODELS[$id] = model
- }
-
-//一些不需要被监听的属性
- var $$skipArray = String("$id,$watch,$unwatch,$fire,$events,$model,$skipArray").match(rword)
-
- function isObservable(name, value, $skipArray) {
- if (isFunction(value) || value && value.nodeType) {
- return false
- }
- if ($skipArray.indexOf(name) !== -1) {
- return false
- }
- if ($$skipArray.indexOf(name) !== -1) {
- return false
- }
- var $special = $skipArray.$special
- if (name && name.charAt(0) === "$" && !$special[name]) {
- return false
- }
- return true
- }
-
-//ms-with,ms-each, ms-repeat绑定生成的代理对象储存池
- var midway = {}
-
- function getNewValue(accessor, name, value, $vmodel) {
- switch (accessor.type) {
- case 0://计算属性
- var getter = accessor.get
- var setter = accessor.set
- if (isFunction(setter)) {
- var $events = $vmodel.$events
- var lock = $events[name]
- $events[name] = [] //清空回调,防止内部冒泡而触发多次$fire
- setter.call($vmodel, value)
- $events[name] = lock
- }
- return getter.call($vmodel) //同步$model
- case 1://监控属性
- return value
- case 2://对象属性(包括数组与哈希)
- if (value !== $vmodel.$model[name]) {
- var svmodel = accessor.svmodel = objectFactory($vmodel, name, value, accessor.valueType)
- value = svmodel.$model //同步$model
- var fn = midway[svmodel.$id]
- fn && fn() //同步视图
- }
- return value
- }
- }
-
- var defineProperty = Object.defineProperty
- var canHideOwn = true
-//如果浏览器不支持ecma262v5的Object.defineProperties或者存在BUG,比如IE8
-//标准浏览器使用__defineGetter__, __defineSetter__实现
- try {
- defineProperty({}, "_", {
- value: "x"
- })
- var defineProperties = Object.defineProperties
- } catch (e) {
- canHideOwn = false
- }
- function modelFactory(source, $special, $model) {
- if (Array.isArray(source)) {
- var arr = source.concat()
- source.length = 0
- var collection = Collection(source)
- collection.pushArray(arr)
- return collection
- }
- if (typeof source.nodeType === "number") {
- return source
- }
- if (source.$id && source.$events) { //fix IE6-8 createWithProxy $val: val引发的BUG
- return source
- }
- if (!Array.isArray(source.$skipArray)) {
- source.$skipArray = []
- }
- source.$skipArray.$special = $special || {} //强制要监听的属性
- var $vmodel = {} //要返回的对象, 它在IE6-8下可能被偷龙转凤
- $model = $model || {} //vmodels.$model属性
- var $events = {} //vmodel.$events属性
- var watchedProperties = {} //监控属性
- var initCallbacks = [] //初始化才执行的函数
- for (var i in source) {
- (function (name, val) {
- $model[name] = val
- if (!isObservable(name, val, source.$skipArray)) {
- return //过滤所有非监控属性
- }
- //总共产生三种accessor
- $events[name] = []
- var valueType = avalon.type(val)
- var accessor = function (newValue) {
- var name = accessor._name
- var $vmodel = this
- var $model = $vmodel.$model
- var oldValue = $model[name]
- var $events = $vmodel.$events
-
- if (arguments.length) {
- if (stopRepeatAssign) {
- return
- }
- //计算属性与对象属性需要重新计算newValue
- if (accessor.type !== 1) {
- newValue = getNewValue(accessor, name, newValue, $vmodel)
- }
- if (!isEqual(oldValue, newValue)) {
- $model[name] = newValue
- if ($events.$digest) {
- if (accessor.pedding)
- return
- accessor.pedding = true
- setTimeout(function () {
- notifySubscribers($events[name]) //同步视图
- safeFire($vmodel, name, $model[name], oldValue) //触发$watch回调
- accessor.pedding = false
- })
- } else {
- notifySubscribers($events[name]) //同步视图
- safeFire($vmodel, name, newValue, oldValue) //触发$watch回调
- }
- }
- } else {
- if (accessor.type === 0) { //type 0 计算属性 1 监控属性 2 对象属性
- //计算属性不需要收集视图刷新函数,都是由其他监控属性代劳
- return $model[name] = accessor.get.call($vmodel)
- } else {
- collectSubscribers($events[name]) //收集视图函数
- return accessor.svmodel || oldValue
- }
- }
- }
- //总共产生三种accessor
- if (valueType === "object" && isFunction(val.get) && Object.keys(val).length <= 2) {
- //第1种为计算属性, 因变量,通过其他监控属性触发其改变
- accessor.set = val.set
- accessor.get = val.get
- accessor.type = 0
- initCallbacks.push(function () {
- var data = {
- evaluator: function () {
- data.element = null
- data.type = new Date - 0
- $model[name] = accessor.get.call($vmodel)
- },
- element: head,
- type: new Date - 0,
- handler: noop,
- args: []
- }
- Registry[expose] = data
- accessor.call($vmodel)
- delete Registry[expose]
- })
- } else if (rcomplexType.test(valueType)) {
- //第2种为对象属性,产生子VM与监控数组
- accessor.type = 2
- accessor.valueType = valueType
- initCallbacks.push(function () {
- var svmodel = modelFactory(val, 0, $model[name])
- accessor.svmodel = svmodel
- svmodel.$events[subscribers] = $events[name]
- })
- } else {
- accessor.type = 1
- //第3种为监控属性,对应简单的数据类型,自变量
- }
- accessor._name = name
- watchedProperties[name] = accessor
- })(i, source[i])
- }
-
- $$skipArray.forEach(function (name) {
- delete source[name]
- delete $model[name] //这些特殊属性不应该在$model中出现
- })
-
- $vmodel = defineProperties($vmodel, descriptorFactory(watchedProperties), source) //生成一个空的ViewModel
- for (var name in source) {
- if (!watchedProperties[name]) {
- $vmodel[name] = source[name]
- }
- }
- //添加$id, $model, $events, $watch, $unwatch, $fire
- $vmodel.$id = generateID()
- $vmodel.$model = $model
- $vmodel.$events = $events
- for (var i in EventBus) {
- var fn = EventBus[i]
- if (!W3C) { //在IE6-8下,VB对象的方法里的this并不指向自身,需要用bind处理一下
- fn = fn.bind($vmodel)
- }
- $vmodel[i] = fn
- }
-
- if (canHideOwn) {
- Object.defineProperty($vmodel, "hasOwnProperty", {
- value: function (name) {
- return name in this.$model
- },
- writable: false,
- enumerable: false,
- configurable: true
- })
-
- } else {
- $vmodel.hasOwnProperty = function (name) {
- return name in $vmodel.$model
- }
- }
- initCallbacks.forEach(function (cb) { //收集依赖
- cb()
- })
- return $vmodel
- }
-
-//比较两个值是否相等
- var isEqual = Object.is || function (v1, v2) {
- if (v1 === 0 && v2 === 0) {
- return 1 / v1 === 1 / v2
- } else if (v1 !== v1) {
- return v2 !== v2
- } else {
- return v1 === v2
- }
- }
-
- function safeFire(a, b, c, d) {
- if (a.$events) {
- EventBus.$fire.call(a, b, c, d)
- }
- }
-
- var descriptorFactory = W3C ? function (obj) {
- var descriptors = {}
- for (var i in obj) {
- descriptors[i] = {
- get: obj[i],
- set: obj[i],
- enumerable: true,
- configurable: true
- }
- }
- return descriptors
- } : function (a) {
- return a
- }
-
-
-//应用于第2种accessor
- function objectFactory(parent, name, value, valueType) {
- //a为原来的VM, b为新数组或新对象
- var son = parent[name]
- if (valueType === "array") {
- if (!Array.isArray(value) || son === value) {
- return son //fix https://github.com/RubyLouvre/avalon/issues/261
- }
- son._.$unwatch()
- son.clear()
- son._.$watch()
- son.pushArray(value.concat())
- return son
- } else {
- var iterators = parent.$events[name]
- var pool = son.$events.$withProxyPool
- if (pool) {
- recycleProxies(pool, "with")
- son.$events.$withProxyPool = null
- }
- var ret = modelFactory(value)
- ret.$events[subscribers] = iterators
- midway[ret.$id] = function (data) {
- while (data = iterators.shift()) {
- (function (el) {
- avalon.nextTick(function () {
- if (el.type) { //重新绑定
- el.rollback && el.rollback() //还原 ms-with ms-on
- bindingHandlers[el.type](el, el.vmodels)
- }
- })
- })(data)
- }
- delete midway[ret.$id]
- }
- return ret
- }
- }
-
-//===================修复浏览器对Object.defineProperties的支持=================
- if (!canHideOwn) {
- if ("__defineGetter__" in avalon) {
- defineProperty = function (obj, prop, desc) {
- if ('value' in desc) {
- obj[prop] = desc.value
- }
- if ("get" in desc) {
- obj.__defineGetter__(prop, desc.get)
- }
- if ('set' in desc) {
- obj.__defineSetter__(prop, desc.set)
- }
- return obj
- }
- defineProperties = function (obj, descs) {
- for (var prop in descs) {
- if (descs.hasOwnProperty(prop)) {
- defineProperty(obj, prop, descs[prop])
- }
- }
- return obj
- }
- }
- if (IEVersion) {
- window.execScript([
- "Function parseVB(code)",
- "\tExecuteGlobal(code)",
- "End Function",
- "Dim VBClassBodies",
- "Set VBClassBodies=CreateObject(\"Scripting.Dictionary\")",
- "Function findOrDefineVBClass(name,body)",
- "\tDim found",
- "\tfound=\"\"",
- "\tFor Each key in VBClassBodies",
- "\t\tIf body=VBClassBodies.Item(key) Then",
- "\t\t\tfound=key",
- "\t\t\tExit For",
- "\t\tEnd If",
- "\tnext",
- "\tIf found=\"\" Then",
- "\t\tparseVB(\"Class \" + name + body)",
- "\t\tVBClassBodies.Add name, body",
- "\t\tfound=name",
- "\tEnd If",
- "\tfindOrDefineVBClass=found",
- "End Function"
- ].join("\n"), "VBScript")
-
- function VBMediator(instance, accessors, name, value) {
- var accessor = accessors[name]
- if (arguments.length === 4) {
- accessor.call(instance, value)
- } else {
- return accessor.call(instance)
- }
- }
-
- defineProperties = function (name, accessors, properties) {
- var className = "VBClass" + setTimeout("1"),
- buffer = []
- buffer.push(
- "\r\n\tPrivate [__data__], [__proxy__]",
- "\tPublic Default Function [__const__](d, p)",
- "\t\tSet [__data__] = d: set [__proxy__] = p",
- "\t\tSet [__const__] = Me", //链式调用
- "\tEnd Function")
- //添加普通属性,因为VBScript对象不能像JS那样随意增删属性,必须在这里预先定义好
- for (name in properties) {
- if (!accessors.hasOwnProperty(name)) {
- buffer.push("\tPublic [" + name + "]")
- }
- }
- $$skipArray.forEach(function (name) {
- if (!accessors.hasOwnProperty(name)) {
- buffer.push("\tPublic [" + name + "]")
- }
- })
- buffer.push("\tPublic [" + 'hasOwnProperty' + "]")
- //添加访问器属性
- for (name in accessors) {
- buffer.push(
- //由于不知对方会传入什么,因此set, let都用上
- "\tPublic Property Let [" + name + "](val" + expose + ")", //setter
- "\t\tCall [__proxy__](Me,[__data__], \"" + name + "\", val" + expose + ")",
- "\tEnd Property",
- "\tPublic Property Set [" + name + "](val" + expose + ")", //setter
- "\t\tCall [__proxy__](Me,[__data__], \"" + name + "\", val" + expose + ")",
- "\tEnd Property",
- "\tPublic Property Get [" + name + "]", //getter
- "\tOn Error Resume Next", //必须优先使用set语句,否则它会误将数组当字符串返回
- "\t\tSet[" + name + "] = [__proxy__](Me,[__data__],\"" + name + "\")",
- "\tIf Err.Number <> 0 Then",
- "\t\t[" + name + "] = [__proxy__](Me,[__data__],\"" + name + "\")",
- "\tEnd If",
- "\tOn Error Goto 0",
- "\tEnd Property")
-
- }
-
- buffer.push("End Class")
- var code = buffer.join("\r\n"),
- realClassName = window['findOrDefineVBClass'](className, code) //如果该VB类已定义,返回类名。否则用className创建一个新类。
- if (realClassName === className) {
- window.parseVB([
- "Function " + className + "Factory(a, b)", //创建实例并传入两个关键的参数
- "\tDim o",
- "\tSet o = (New " + className + ")(a, b)",
- "\tSet " + className + "Factory = o",
- "End Function"
- ].join("\r\n"))
- }
- // console.log(code)
- var ret = window[realClassName + "Factory"](accessors, VBMediator) //得到其产品
- return ret //得到其产品
- }
- }
- }
-
- /*********************************************************************
- * 监控数组(与ms-each, ms-repeat配合使用) *
- **********************************************************************/
-
- function Collection(model) {
- var array = []
- array.$id = generateID()
- array.$model = model //数据模型
- array.$events = {}
- array.$events[subscribers] = []
- array._ = modelFactory({
- length: model.length
- })
- array._.$watch("length", function (a, b) {
- array.$fire("length", a, b)
- })
- for (var i in EventBus) {
- array[i] = EventBus[i]
- }
- avalon.mix(array, CollectionPrototype)
- return array
- }
-
- function mutateArray(method, pos, n, index, method2, pos2, n2) {
- var oldLen = this.length, loop = 2
- while (--loop) {
- switch (method) {
- case "add":
- var array = this.$model.slice(pos, pos + n).map(function (el) {
- if (rcomplexType.test(avalon.type(el))) {
- return el.$id ? el : modelFactory(el, 0, el)
- } else {
- return el
- }
- })
- _splice.apply(this, [pos, 0].concat(array))
- this._fire("add", pos, n)
- break
- case "del":
- var ret = this._splice(pos, n)
- this._fire("del", pos, n)
- break
- }
- if (method2) {
- method = method2
- pos = pos2
- n = n2
- loop = 2
- method2 = 0
- }
- }
- this._fire("index", index)
- if (this.length !== oldLen) {
- this._.length = this.length
- }
- return ret
- }
-
- var _splice = ap.splice
- var CollectionPrototype = {
- _splice: _splice,
- _fire: function (method, a, b) {
- notifySubscribers(this.$events[subscribers], method, a, b)
- },
- size: function () { //取得数组长度,这个函数可以同步视图,length不能
- return this._.length
- },
- pushArray: function (array) {
- var m = array.length, n = this.length
- if (m) {
- ap.push.apply(this.$model, array)
- mutateArray.call(this, "add", n, m, n)
- }
- return m + n
- },
- push: function () {
- //http://jsperf.com/closure-with-arguments
- var array = []
- var i, n = arguments.length
- for (i = 0; i < n; i++) {
- array[i] = arguments[i]
- }
- return this.pushArray(arguments)
- },
- unshift: function () {
- var m = arguments.length, n = this.length
- if (m) {
- ap.unshift.apply(this.$model, arguments)
- mutateArray.call(this, "add", 0, m, 0)
- }
- return m + n //IE67的unshift不会返回长度
- },
- shift: function () {
- if (this.length) {
- var el = this.$model.shift()
- mutateArray.call(this, "del", 0, 1, 0)
- return el //返回被移除的元素
- }
- },
- pop: function () {
- var m = this.length
- if (m) {
- var el = this.$model.pop()
- mutateArray.call(this, "del", m - 1, 1, Math.max(0, m - 2))
- return el //返回被移除的元素
- }
- },
- splice: function (start) {
- var m = arguments.length, args = [], change
- var removed = _splice.apply(this.$model, arguments)
- if (removed.length) { //如果用户删掉了元素
- args.push("del", start, removed.length, 0)
- change = true
- }
- if (m > 2) { //如果用户添加了元素
- if (change) {
- args.splice(3, 1, 0, "add", start, m - 2)
- } else {
- args.push("add", start, m - 2, 0)
- }
- change = true
- }
- if (change) { //返回被移除的元素
- return mutateArray.apply(this, args)
- } else {
- return []
- }
- },
- contains: function (el) { //判定是否包含
- return this.indexOf(el) !== -1
- },
- remove: function (el) { //移除第一个等于给定值的元素
- return this.removeAt(this.indexOf(el))
- },
- removeAt: function (index) { //移除指定索引上的元素
- if (index >= 0) {
- this.$model.splice(index, 1)
- return mutateArray.call(this, "del", index, 1, 0)
- }
- return []
- },
- clear: function () {
- this.$model.length = this.length = this._.length = 0 //清空数组
- this._fire("clear", 0)
- return this
- },
- removeAll: function (all) { //移除N个元素
- if (Array.isArray(all)) {
- all.forEach(function (el) {
- this.remove(el)
- }, this)
- } else if (typeof all === "function") {
- for (var i = this.length - 1; i >= 0; i--) {
- var el = this[i]
- if (all(el, i)) {
- this.removeAt(i)
- }
- }
- } else {
- this.clear()
- }
- },
- ensure: function (el) {
- if (!this.contains(el)) { //只有不存在才push
- this.push(el)
- }
- return this
- },
- set: function (index, val) {
- if (index >= 0) {
- var valueType = avalon.type(val)
- if (val && val.$model) {
- val = val.$model
- }
- var target = this[index]
- if (valueType === "object") {
- for (var i in val) {
- if (target.hasOwnProperty(i)) {
- target[i] = val[i]
- }
- }
- } else if (valueType === "array") {
- target.clear().push.apply(target, val)
- } else if (target !== val) {
- this[index] = val
- this.$model[index] = val
- this._fire("set", index, val)
- }
- }
- return this
- }
- }
-
- function sortByIndex(array, indexes) {
- var map = {};
- for (var i = 0, n = indexes.length; i < n; i++) {
- map[i] = array[i] // preserve
- var j = indexes[i]
- if (j in map) {
- array[i] = map[j]
- delete map[j]
- } else {
- array[i] = array[j]
- }
- }
- }
-
- "sort,reverse".replace(rword, function (method) {
- CollectionPrototype[method] = function () {
- var newArray = this.$model//这是要排序的新数组
- var oldArray = newArray.concat() //保持原来状态的旧数组
- var mask = Math.random()
- var indexes = []
- var hasSort
- ap[method].apply(newArray, arguments) //排序
- for (var i = 0, n = oldArray.length; i < n; i++) {
- var neo = newArray[i]
- var old = oldArray[i]
- if (isEqual(neo, old)) {
- indexes.push(i)
- } else {
- var index = oldArray.indexOf(neo)
- indexes.push(index)//得到新数组的每个元素在旧数组对应的位置
- oldArray[index] = mask //屏蔽已经找过的元素
- hasSort = true
- }
- }
- if (hasSort) {
- sortByIndex(this, indexes)
- this._fire("move", indexes)
- this._fire("index", 0)
- }
- return this
- }
- })
-
- /*********************************************************************
- * 依赖调度系统 *
- **********************************************************************/
- var ronduplex = /^(duplex|on)$/
-
- function registerSubscriber(data) {
- Registry[expose] = data //暴光此函数,方便collectSubscribers收集
- avalon.openComputedCollect = true
- var fn = data.evaluator
- if (fn) { //如果是求值函数
- try {
- var c = ronduplex.test(data.type) ? data : fn.apply(0, data.args)
- data.handler(c, data.element, data)
- } catch (e) {
- //log("warning:exception throwed in [registerSubscriber] " + e)
- delete data.evaluator
- var node = data.element
- if (node.nodeType === 3) {
- var parent = node.parentNode
- if (kernel.commentInterpolate) {
- parent.replaceChild(DOC.createComment(data.value), node)
- } else {
- node.data = openTag + data.value + closeTag
- }
- }
- }
- }
- avalon.openComputedCollect = false
- delete Registry[expose]
- }
-
- function collectSubscribers(list) { //收集依赖于这个访问器的订阅者
- var data = Registry[expose]
- if (list && data && avalon.Array.ensure(list, data) && data.element) { //只有数组不存在此元素才push进去
- addSubscribers(data, list)
- }
- }
-
-
- function addSubscribers(data, list) {
- data.$uuid = data.$uuid || generateID()
- list.$uuid = list.$uuid || generateID()
- var obj = {
- data: data,
- list: list,
- $$uuid: data.$uuid + list.$uuid
- }
- if (!$$subscribers[obj.$$uuid]) {
- $$subscribers[obj.$$uuid] = 1
- $$subscribers.push(obj)
- }
- }
-
- function disposeData(data) {
- data.element = null
- data.rollback && data.rollback()
- for (var key in data) {
- data[key] = null
- }
- }
-
- function isRemove(el) {
- try {//IE下,如果文本节点脱离DOM树,访问parentNode会报错
- if (!el.parentNode) {
- return true
- }
- } catch (e) {
- return true
- }
- return el.msRetain ? 0 : (el.nodeType === 1 ? typeof el.sourceIndex === "number" ?
- el.sourceIndex === 0 : !root.contains(el) : !avalon.contains(root, el))
- }
-
- var $$subscribers = avalon.$$subscribers = []
- var beginTime = new Date()
- var oldInfo = {}
-
- function removeSubscribers() {
- var i = $$subscribers.length
- var n = i
- var k = 0
- var obj
- var types = []
- var newInfo = {}
- var needTest = {}
- while (obj = $$subscribers[--i]) {
- var data = obj.data
- var type = data.type
- if (newInfo[type]) {
- newInfo[type]++
- } else {
- newInfo[type] = 1
- types.push(type)
- }
- }
- var diff = false
- types.forEach(function (type) {
- if (oldInfo[type] !== newInfo[type]) {
- needTest[type] = 1
- diff = true
- }
- })
- i = n
- //avalon.log("需要检测的个数 " + i)
- if (diff) {
- //avalon.log("有需要移除的元素")
- while (obj = $$subscribers[--i]) {
- var data = obj.data
- if (data.element === void 0)
- continue
- if (needTest[data.type] && isRemove(data.element)) { //如果它没有在DOM树
- k++
- $$subscribers.splice(i, 1)
- delete $$subscribers[obj.$$uuid]
- avalon.Array.remove(obj.list, data)
- //log("debug: remove " + data.type)
- disposeData(data)
- obj.data = obj.list = null
- }
- }
- }
- oldInfo = newInfo
- // avalon.log("已经移除的个数 " + k)
- beginTime = new Date()
- }
-
- function notifySubscribers(list) { //通知依赖于这个访问器的订阅者更新自身
- if (list && list.length) {
- if (new Date() - beginTime > 444 && typeof list[0] === "object") {
- removeSubscribers()
- }
- var args = aslice.call(arguments, 1)
- for (var i = list.length, fn; fn = list[--i];) {
- var el = fn.element
- if (el && el.parentNode) {
- if (fn.$repeat) {
- fn.handler.apply(fn, args) //处理监控数组的方法
- } else if (fn.type !== "on") { //事件绑定只能由用户触发,不能由程序触发
- var fun = fn.evaluator || noop
- fn.handler(fun.apply(0, fn.args || []), el, fn)
- }
- }
- }
- }
- }
-
- /************************************************************************
- * HTML处理(parseHTML, innerHTML, clearHTML) *
- ************************************************************************/
-//parseHTML的辅助变量
- var tagHooks = {
- area: [1, "<map>"],
- param: [1, "<object>"],
- col: [2, "<table><tbody></tbody><colgroup>", "</table>"],
- legend: [1, "<fieldset>"],
- option: [1, "<select multiple='multiple'>"],
- thead: [1, "<table>", "</table>"],
- //如果这里不写</tbody></table>,在IE6-9会在多出一个奇怪的caption标签
- tr: [2, "<table><tbody>", "</tbody></table>"],
- //如果这里不写</tr></tbody></table>,在IE6-9会在多出一个奇怪的caption标签
- th: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
- td: [3, "<table><tbody><tr>"],
- g: [1, '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">', '</svg>'],
- //IE6-8在用innerHTML生成节点时,不能直接创建no-scope元素与HTML5的新标签
- _default: W3C ? [0, ""] : [1, "X<div>"] //div可以不用闭合
- }
-
- tagHooks.optgroup = tagHooks.option
- tagHooks.tbody = tagHooks.tfoot = tagHooks.colgroup = tagHooks.caption = tagHooks.thead
- String("circle,defs,ellipse,image,line,path,polygon,polyline,rect,symbol,text,use").replace(rword, function (tag) {
- tagHooks[tag] = tagHooks.g //处理SVG
- })
- var rtagName = /<([\w:]+)/ //取得其tagName
- var rxhtml = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig
- var rcreate = W3C ? /[^\d\D]/ : /(<(?:script|link|style|meta|noscript))/ig
- var scriptTypes = oneObject(["", "text/javascript", "text/ecmascript", "application/ecmascript", "application/javascript"])
- var rnest = /<(?:tb|td|tf|th|tr|col|opt|leg|cap|area)/ //需要处理套嵌关系的标签
- var script = DOC.createElement("script")
- avalon.parseHTML = function (html) {
- if (typeof html !== "string") {
- html = html + ""
- }
- html = html.replace(rxhtml, "<$1></$2>").trim()
- var tag = (rtagName.exec(html) || ["", ""])[1].toLowerCase(),
- //取得其标签名
- wrap = tagHooks[tag] || tagHooks._default,
- fragment = hyperspace.cloneNode(false),
- wrapper = cinerator,
- firstChild, neo
- if (!W3C) { //fix IE
- html = html.replace(rcreate, "<br class=msNoScope>$1") //在link style script等标签之前添加一个补丁
- }
- wrapper.innerHTML = wrap[1] + html + (wrap[2] || "")
- var els = wrapper.getElementsByTagName("script")
- if (els.length) { //使用innerHTML生成的script节点不会发出请求与执行text属性
- for (var i = 0, el; el = els[i++];) {
- if (scriptTypes[el.type]) {
- //以偷龙转凤方式恢复执行脚本功能
- neo = script.cloneNode(false) //FF不能省略参数
- ap.forEach.call(el.attributes, function (attr) {
- if (attr && attr.specified) {
- neo[attr.name] = attr.value //复制其属性
- neo.setAttribute(attr.name, attr.value)
- }
- })
- neo.text = el.text
- el.parentNode.replaceChild(neo, el) //替换节点
- }
- }
- }
- //移除我们为了符合套嵌关系而添加的标签
- for (i = wrap[0]; i--; wrapper = wrapper.lastChild) {
- }
- if (!W3C) { //fix IE
- var els = wrapper.getElementsByTagName("br"), n = els.length
- while (el = els[--n]) {
- if (el.className === "msNoScope") {
- el.parentNode.removeChild(el)
- }
- }
- for (els = wrapper.all, i = 0; el = els[i++];) { //fix VML
- if (isVML(el)) {
- fixVML(el)
- }
- }
- }
-
- while (firstChild = wrapper.firstChild) { // 将wrapper上的节点转移到文档碎片上!
- fragment.appendChild(firstChild)
- }
- return fragment
- }
-
- function isVML(src) {
- var nodeName = src.nodeName
- return nodeName.toLowerCase() === nodeName && src.scopeName && src.outerText === ""
- }
-
- function fixVML(node) {
- if (node.currentStyle.behavior !== "url(#default#VML)") {
- node.style.behavior = "url(#default#VML)"
- node.style.display = "inline-block"
- node.style.zoom = 1 //hasLayout
- }
- }
-
- avalon.innerHTML = function (node, html) {
- if (!W3C && (!rcreate.test(html) && !rnest.test(html))) {
- try {
- node.innerHTML = html
- return
- } catch (e) {
- }
- }
- var a = this.parseHTML(html)
- this.clearHTML(node).appendChild(a)
- }
- avalon.clearHTML = function (node) {
- node.textContent = ""
- while (node.firstChild) {
- node.removeChild(node.firstChild)
- }
- return node
- }
-
- /*********************************************************************
- * 扫描系统 *
- **********************************************************************/
-
- avalon.scan = function (elem, vmodel, group) {
- elem = elem || root
- var vmodels = vmodel ? [].concat(vmodel) : []
- scanTag(elem, vmodels)
- }
-
-//http://www.w3.org/TR/html5/syntax.html#void-elements
- var stopScan = oneObject("area,base,basefont,br,col,command,embed,hr,img,input,link,meta,param,source,track,wbr,noscript,script,style,textarea".toUpperCase())
-
- function checkScan(elem, callback, innerHTML) {
- var id = setTimeout(function () {
- var currHTML = elem.innerHTML
- clearTimeout(id)
- if (currHTML === innerHTML) {
- callback()
- } else {
- checkScan(elem, callback, currHTML)
- }
- })
- }
-
-
- function createSignalTower(elem, vmodel) {
- var id = elem.getAttribute("avalonctrl") || vmodel.$id
- elem.setAttribute("avalonctrl", id)
- vmodel.$events.expr = elem.tagName + '[avalonctrl="' + id + '"]'
- }
-
- var getBindingCallback = function (elem, name, vmodels) {
- var callback = elem.getAttribute(name)
- if (callback) {
- for (var i = 0, vm; vm = vmodels[i++];) {
- if (vm.hasOwnProperty(callback) && typeof vm[callback] === "function") {
- return vm[callback]
- }
- }
- }
- }
-
- function executeBindings(bindings, vmodels) {
- for (var i = 0, data; data = bindings[i++];) {
- data.vmodels = vmodels
- bindingHandlers[data.type](data, vmodels)
- if (data.evaluator && data.element && data.element.nodeType === 1) { //移除数据绑定,防止被二次解析
- //chrome使用removeAttributeNode移除不存在的特性节点时会报错 https://github.com/RubyLouvre/avalon/issues/99
- data.element.removeAttribute(data.name)
- }
- }
- bindings.length = 0
- }
-
-//https://github.com/RubyLouvre/avalon/issues/636
- var mergeTextNodes = IEVersion && window.MutationObserver ? function (elem) {
- var node = elem.firstChild, text
- while (node) {
- var aaa = node.nextSibling
- if (node.nodeType === 3) {
- if (text) {
- text.nodeValue += node.nodeValue
- elem.removeChild(node)
- } else {
- text = node
- }
- } else {
- text = null
- }
- node = aaa
- }
- } : 0
-
- var rmsAttr = /ms-(\w+)-?(.*)/
- var priorityMap = {
- "if": 10,
- "repeat": 90,
- "data": 100,
- "widget": 110,
- "each": 1400,
- "with": 1500,
- "duplex": 2000,
- "on": 3000
- }
-
- var events = oneObject("animationend,blur,change,input,click,dblclick,focus,keydown,keypress,keyup,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,scan,scroll,submit")
- var obsoleteAttrs = oneObject("value,title,alt,checked,selected,disabled,readonly,enabled")
-
- function bindingSorter(a, b) {
- return a.priority - b.priority
- }
-
- function scanTag(elem, vmodels, node) {
- //扫描顺序 ms-skip(0) --> ms-important(1) --> ms-controller(2) --> ms-if(10) --> ms-repeat(100)
- //--> ms-if-loop(110) --> ms-attr(970) ...--> ms-each(1400)-->ms-with(1500)--〉ms-duplex(2000)垫后
- var a = elem.getAttribute("ms-skip")
- //#360 在旧式IE中 Object标签在引入Flash等资源时,可能出现没有getAttributeNode,innerHTML的情形
- if (!elem.getAttributeNode) {
- return log("warning " + elem.tagName + " no getAttributeNode method")
- }
- var b = elem.getAttributeNode("ms-important")
- var c = elem.getAttributeNode("ms-controller")
- if (typeof a === "string") {
- return
- } else if (node = b || c) {
- var newVmodel = avalon.vmodels[node.value]
- if (!newVmodel) {
- return
- }
- //ms-important不包含父VM,ms-controller相反
- vmodels = node === b ? [newVmodel] : [newVmodel].concat(vmodels)
- var name = node.name
- elem.removeAttribute(name) //removeAttributeNode不会刷新[ms-controller]样式规则
- avalon(elem).removeClass(name)
- createSignalTower(elem, newVmodel)
- }
- scanAttr(elem, vmodels) //扫描特性节点
- }
-
- function scanNodeList(parent, vmodels) {
- var node = parent.firstChild
- while (node) {
- var nextNode = node.nextSibling
- scanNode(node, node.nodeType, vmodels)
- node = nextNode
- }
- }
-
- function scanNodeArray(nodes, vmodels) {
- for (var i = 0, node; node = nodes[i++];) {
- scanNode(node, node.nodeType, vmodels)
- }
- }
-
- function scanNode(node, nodeType, vmodels) {
- if (nodeType === 1) {
- scanTag(node, vmodels) //扫描元素节点
- } else if (nodeType === 3 && rexpr.test(node.data)) {
- scanText(node, vmodels) //扫描文本节点
- } else if (kernel.commentInterpolate && nodeType === 8 && !rexpr.test(node.nodeValue)) {
- scanText(node, vmodels) //扫描注释节点
- }
- }
-
- function scanAttr(elem, vmodels) {
- //防止setAttribute, removeAttribute时 attributes自动被同步,导致for循环出错
- var attributes = getAttributes ? getAttributes(elem) : avalon.slice(elem.attributes)
- var bindings = [],
- msData = {},
- match
- for (var i = 0, attr; attr = attributes[i++];) {
- if (attr.specified) {
- if (match = attr.name.match(rmsAttr)) {
- //如果是以指定前缀命名的
- var type = match[1]
- var param = match[2] || ""
- var value = attr.value
- var name = attr.name
- msData[name] = value
- if (events[type]) {
- param = type
- type = "on"
- } else if (obsoleteAttrs[type]) {
- log("ms-" + type + "已经被废弃,请使用ms-attr-*代替")
- if (type === "enabled") { //吃掉ms-enabled绑定,用ms-disabled代替
- type = "disabled"
- value = "!(" + value + ")"
- }
- param = type
- type = "attr"
- elem.removeAttribute(name)
- name = "ms-attr-" + param
- elem.setAttribute(name, value)
- match = [name]
- msData[name] = value
- }
- if (typeof bindingHandlers[type] === "function") {
- var binding = {
- type: type,
- param: param,
- element: elem,
- name: match[0],
- value: value,
- priority: type in priorityMap ? priorityMap[type] : type.charCodeAt(0) * 10 + (Number(param) || 0)
- }
- if (type === "html" || type === "text") {
- var token = getToken(value)
- avalon.mix(binding, token)
- binding.filters = binding.filters.replace(rhasHtml, function () {
- binding.type = "html"
- binding.group = 1
- return ""
- })
- }
- if (name === "ms-if-loop") {
- binding.priority += 100
- }
- if (vmodels.length) {
- bindings.push(binding)
- if (type === "widget") {
- elem.msData = elem.msData || msData
- }
- }
- }
- }
- }
- }
- bindings.sort(bindingSorter)
- if (msData["ms-attr-checked"] && msData["ms-duplex"]) {
- log("warning!一个元素上不能同时定义ms-attr-checked与ms-duplex")
- }
- var scanNode = true
- for (var i = 0, binding; binding = bindings[i]; i++) {
- var type = binding.type
- if (rnoscanAttrBinding.test(type)) {
- return executeBindings(bindings.slice(0, i + 1), vmodels)
- } else if (scanNode) {
- scanNode = !rnoscanNodeBinding.test(type)
- }
- }
- executeBindings(bindings, vmodels)
- if (scanNode && !stopScan[elem.tagName] && rbind.test(elem.innerHTML.replace(rlt, "<").replace(rgt, ">"))) {
- mergeTextNodes && mergeTextNodes(elem)
- scanNodeList(elem, vmodels) //扫描子孙元素
- }
- }
-
- var rnoscanAttrBinding = /^if|widget|repeat$/
- var rnoscanNodeBinding = /^each|with|html|include$/
-//IE67下,在循环绑定中,一个节点如果是通过cloneNode得到,自定义属性的specified为false,无法进入里面的分支,
-//但如果我们去掉scanAttr中的attr.specified检测,一个元素会有80+个特性节点(因为它不区分固有属性与自定义属性),很容易卡死页面
- if (!"1" [0]) {
- var cacheAttrs = createCache(512)
- var rattrs = /\s+(ms-[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g,
- rquote = /^['"]/,
- rtag = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/i,
- ramp = /&amp;/g
- //IE6-8解析HTML5新标签,会将它分解两个元素节点与一个文本节点
- //<body><section>ddd</section></body>
- // window.onload = function() {
- // var body = document.body
- // for (var i = 0, el; el = body.children[i++]; ) {
- // avalon.log(el.outerHTML)
- // }
- // }
- //依次输出<SECTION>, </SECTION>
- var getAttributes = function (elem) {
- var html = elem.outerHTML
- //处理IE6-8解析HTML5新标签的情况,及<br>等半闭合标签outerHTML为空的情况
- if (html.slice(0, 2) === "</" || !html.trim()) {
- return []
- }
- var str = html.match(rtag)[0]
- var attributes = [],
- match,
- k, v;
- if (cacheAttrs[str]) {
- return cacheAttrs[str]
- }
- while (k = rattrs.exec(str)) {
- v = k[2]
- if (v) {
- v = (rquote.test(v) ? v.slice(1, -1) : v).replace(ramp, "&")
- }
- var name = k[1].toLowerCase()
- match = name.match(rmsAttr)
- var binding = {
- name: name,
- specified: true,
- value: v || ""
- }
- attributes.push(binding)
- }
- return cacheAttrs(str, attributes)
- }
- }
-
- var rhasHtml = /\|\s*html\s*/,
- r11a = /\|\|/g,
- rlt = /&lt;/g,
- rgt = /&gt;/g
-
- function getToken(value) {
- if (value.indexOf("|") > 0) {
- var index = value.replace(r11a, "\u1122\u3344").indexOf("|") //干掉所有短路或
- if (index > -1) {
- return {
- filters: value.slice(index),
- value: value.slice(0, index),
- expr: true
- }
- }
- }
- return {
- value: value,
- filters: "",
- expr: true
- }
- }
-
- function scanExpr(str) {
- var tokens = [],
- value, start = 0,
- stop
- do {
- stop = str.indexOf(openTag, start)
- if (stop === -1) {
- break
- }
- value = str.slice(start, stop)
- if (value) { // {{ 左边的文本
- tokens.push({
- value: value,
- filters: "",
- expr: false
- })
- }
- start = stop + openTag.length
- stop = str.indexOf(closeTag, start)
- if (stop === -1) {
- break
- }
- value = str.slice(start, stop)
- if (value) { //处理{{ }}插值表达式
- tokens.push(getToken(value))
- }
- start = stop + closeTag.length
- } while (1)
- value = str.slice(start)
- if (value) { //}} 右边的文本
- tokens.push({
- value: value,
- expr: false,
- filters: ""
- })
- }
- return tokens
- }
-
- function scanText(textNode, vmodels) {
- var bindings = []
- if (textNode.nodeType === 8) {
- var token = getToken(textNode.nodeValue)
- var tokens = [token]
- } else {
- tokens = scanExpr(textNode.data)
- }
- if (tokens.length) {
- for (var i = 0, token; token = tokens[i++];) {
- var node = DOC.createTextNode(token.value) //将文本转换为文本节点,并替换原来的文本节点
- if (token.expr) {
- token.type = "text"
- token.element = node
- token.filters = token.filters.replace(rhasHtml, function () {
- token.type = "html"
- token.group = 1
- return ""
- })
- bindings.push(token) //收集带有插值表达式的文本
- }
- hyperspace.appendChild(node)
- }
- textNode.parentNode.replaceChild(hyperspace, textNode)
- if (bindings.length)
- executeBindings(bindings, vmodels)
- }
- }
-
- /*********************************************************************
- * avalon的原型方法定义区 *
- **********************************************************************/
-
- function hyphen(target) {
- //转换为连字符线风格
- return target.replace(/([a-z\d])([A-Z]+)/g, "$1-$2").toLowerCase()
- }
-
- function camelize(target) {
- //转换为驼峰风格
- if (target.indexOf("-") < 0 && target.indexOf("_") < 0) {
- return target //提前判断,提高getStyle等的效率
- }
- return target.replace(/[-_][^-_]/g, function (match) {
- return match.charAt(1).toUpperCase()
- })
- }
-
- var ClassListMethods = {
- _toString: function () {
- var node = this.node
- var cls = node.className
- var str = typeof cls === "string" ? cls : cls.baseVal
- return str.split(/\s+/).join(" ")
- },
- _contains: function (cls) {
- return (" " + this + " ").indexOf(" " + cls + " ") > -1
- },
- _add: function (cls) {
- if (!this.contains(cls)) {
- this._set(this + " " + cls)
- }
- },
- _remove: function (cls) {
- this._set((" " + this + " ").replace(" " + cls + " ", " "))
- },
- __set: function (cls) {
- cls = cls.trim()
- var node = this.node
- if (rsvg.test(node)) {
- //SVG元素的className是一个对象 SVGAnimatedString { baseVal="", animVal=""},只能通过set/getAttribute操作
- node.setAttribute("class", cls)
- } else {
- node.className = cls
- }
- } //toggle存在版本差异,因此不使用它
- }
-
- function ClassList(node) {
- if (!("classList" in node)) {
- node.classList = {
- node: node
- }
- for (var k in ClassListMethods) {
- node.classList[k.slice(1)] = ClassListMethods[k]
- }
- }
- return node.classList
- }
-
-
- "add,remove".replace(rword, function (method) {
- avalon.fn[method + "Class"] = function (cls) {
- var el = this[0]
- //https://developer.mozilla.org/zh-CN/docs/Mozilla/Firefox/Releases/26
- if (cls && typeof cls === "string" && el && el.nodeType === 1) {
- cls.replace(/\S+/g, function (c) {
- ClassList(el)[method](c)
- })
- }
- return this
- }
- })
- avalon.fn.mix({
- hasClass: function (cls) {
- var el = this[0] || {}
- return el.nodeType === 1 && ClassList(el).contains(cls)
- },
- toggleClass: function (value, stateVal) {
- var className, i = 0
- var classNames = value.split(/\s+/)
- var isBool = typeof stateVal === "boolean"
- while ((className = classNames[i++])) {
- var state = isBool ? stateVal : !this.hasClass(className)
- this[state ? "addClass" : "removeClass"](className)
- }
- return this
- },
- attr: function (name, value) {
- if (arguments.length === 2) {
- this[0].setAttribute(name, value)
- return this
- } else {
- return this[0].getAttribute(name)
- }
- },
- data: function (name, value) {
- name = "data-" + hyphen(name || "")
- switch (arguments.length) {
- case 2:
- this.attr(name, value)
- return this
- case 1:
- var val = this.attr(name)
- return parseData(val)
- case 0:
- var ret = {}
- ap.forEach.call(this[0].attributes, function (attr) {
- if (attr) {
- name = attr.name
- if (!name.indexOf("data-")) {
- name = camelize(name.slice(5))
- ret[name] = parseData(attr.value)
- }
- }
- })
- return ret
- }
- },
- removeData: function (name) {
- name = "data-" + hyphen(name)
- this[0].removeAttribute(name)
- return this
- },
- css: function (name, value) {
- if (avalon.isPlainObject(name)) {
- for (var i in name) {
- avalon.css(this, i, name[i])
- }
- } else {
- var ret = avalon.css(this, name, value)
- }
- return ret !== void 0 ? ret : this
- },
- position: function () {
- var offsetParent, offset,
- elem = this[0],
- parentOffset = {
- top: 0,
- left: 0
- }
- if (!elem) {
- return
- }
- if (this.css("position") === "fixed") {
- offset = elem.getBoundingClientRect()
- } else {
- offsetParent = this.offsetParent() //得到真正的offsetParent
- offset = this.offset() // 得到正确的offsetParent
- if (offsetParent[0].tagName !== "HTML") {
- parentOffset = offsetParent.offset()
- }
- parentOffset.top += avalon.css(offsetParent[0], "borderTopWidth", true)
- parentOffset.left += avalon.css(offsetParent[0], "borderLeftWidth", true)
- }
- return {
- top: offset.top - parentOffset.top - avalon.css(elem, "marginTop", true),
- left: offset.left - parentOffset.left - avalon.css(elem, "marginLeft", true)
- }
- },
- offsetParent: function () {
- var offsetParent = this[0].offsetParent
- while (offsetParent && avalon.css(offsetParent, "position") === "static") {
- offsetParent = offsetParent.offsetParent;
- }
- return avalon(offsetParent)
- },
- bind: function (type, fn, phase) {
- if (this[0]) { //此方法不会链
- return avalon.bind(this[0], type, fn, phase)
- }
- },
- unbind: function (type, fn, phase) {
- if (this[0]) {
- avalon.unbind(this[0], type, fn, phase)
- }
- return this
- },
- val: function (value) {
- var node = this[0]
- if (node && node.nodeType === 1) {
- var get = arguments.length === 0
- var access = get ? ":get" : ":set"
- var fn = valHooks[getValType(node) + access]
- if (fn) {
- var val = fn(node, value)
- } else if (get) {
- return (node.value || "").replace(/\r/g, "")
- } else {
- node.value = value
- }
- }
- return get ? val : this
- }
- })
-
- function parseData(data) {
- try {
- if (typeof data === "object")
- return data
- data = data === "true" ? true :
- data === "false" ? false :
- data === "null" ? null : +data + "" === data ? +data : rbrace.test(data) ? avalon.parseJSON(data) : data
- } catch (e) {
- }
- return data
- }
-
- var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/,
- rvalidchars = /^[\],:{}\s]*$/,
- rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,
- rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,
- rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g
- avalon.parseJSON = window.JSON ? JSON.parse : function (data) {
- if (typeof data === "string") {
- data = data.trim();
- if (data) {
- if (rvalidchars.test(data.replace(rvalidescape, "@")
- .replace(rvalidtokens, "]")
- .replace(rvalidbraces, ""))) {
- return (new Function("return " + data))();
- }
- }
- avalon.error("Invalid JSON: " + data);
- }
- return data
- }
-
-//生成avalon.fn.scrollLeft, avalon.fn.scrollTop方法
- avalon.each({
- scrollLeft: "pageXOffset",
- scrollTop: "pageYOffset"
- }, function (method, prop) {
- avalon.fn[method] = function (val) {
- var node = this[0] || {}, win = getWindow(node),
- top = method === "scrollTop"
- if (!arguments.length) {
- return win ? (prop in win) ? win[prop] : root[method] : node[method]
- } else {
- if (win) {
- win.scrollTo(!top ? val : avalon(win).scrollLeft(), top ? val : avalon(win).scrollTop())
- } else {
- node[method] = val
- }
- }
- }
- })
-
- function getWindow(node) {
- return node.window && node.document ? node : node.nodeType === 9 ? node.defaultView || node.parentWindow : false;
- }
-
-//=============================css相关=======================
- var cssHooks = avalon.cssHooks = {}
- var prefixes = ["", "-webkit-", "-o-", "-moz-", "-ms-"]
- var cssMap = {
- "float": W3C ? "cssFloat" : "styleFloat"
- }
- avalon.cssNumber = oneObject("columnCount,order,fillOpacity,fontWeight,lineHeight,opacity,orphans,widows,zIndex,zoom")
-
- avalon.cssName = function (name, host, camelCase) {
- if (cssMap[name]) {
- return cssMap[name]
- }
- host = host || root.style
- for (var i = 0, n = prefixes.length; i < n; i++) {
- camelCase = camelize(prefixes[i] + name)
- if (camelCase in host) {
- return (cssMap[name] = camelCase)
- }
- }
- return null
- }
- cssHooks["@:set"] = function (node, name, value) {
- try { //node.style.width = NaN;node.style.width = "xxxxxxx";node.style.width = undefine 在旧式IE下会抛异常
- node.style[name] = value
- } catch (e) {
- }
- }
- if (window.getComputedStyle) {
- cssHooks["@:get"] = function (node, name) {
- if (!node || !node.style) {
- throw new Error("getComputedStyle要求传入一个节点 " + node)
- }
- var ret, styles = getComputedStyle(node, null)
- if (styles) {
- ret = name === "filter" ? styles.getPropertyValue(name) : styles[name]
- if (ret === "") {
- ret = node.style[name] //其他浏览器需要我们手动取内联样式
- }
- }
- return ret
- }
- cssHooks["opacity:get"] = function (node) {
- var ret = cssHooks["@:get"](node, "opacity")
- return ret === "" ? "1" : ret
- }
- } else {
- var rnumnonpx = /^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i
- var rposition = /^(top|right|bottom|left)$/
- var ralpha = /alpha\([^)]*\)/i
- var ie8 = !!window.XDomainRequest
- var salpha = "DXImageTransform.Microsoft.Alpha"
- var border = {
- thin: ie8 ? '1px' : '2px',
- medium: ie8 ? '3px' : '4px',
- thick: ie8 ? '5px' : '6px'
- }
- cssHooks["@:get"] = function (node, name) {
- //取得精确值,不过它有可能是带em,pc,mm,pt,%等单位
- var currentStyle = node.currentStyle
- var ret = currentStyle[name]
- if ((rnumnonpx.test(ret) && !rposition.test(ret))) {
- //①,保存原有的style.left, runtimeStyle.left,
- var style = node.style,
- left = style.left,
- rsLeft = node.runtimeStyle.left
- //②由于③处的style.left = xxx会影响到currentStyle.left,
- //因此把它currentStyle.left放到runtimeStyle.left,
- //runtimeStyle.left拥有最高优先级,不会style.left影响
- node.runtimeStyle.left = currentStyle.left
- //③将精确值赋给到style.left,然后通过IE的另一个私有属性 style.pixelLeft
- //得到单位为px的结果;fontSize的分支见http://bugs.jquery.com/ticket/760
- style.left = name === 'fontSize' ? '1em' : (ret || 0)
- ret = style.pixelLeft + "px"
- //④还原 style.left,runtimeStyle.left
- style.left = left
- node.runtimeStyle.left = rsLeft
- }
- if (ret === "medium") {
- name = name.replace("Width", "Style")
- //border width 默认值为medium,即使其为0"
- if (currentStyle[name] === "none") {
- ret = "0px"
- }
- }
- return ret === "" ? "auto" : border[ret] || ret
- }
- cssHooks["opacity:set"] = function (node, name, value) {
- var style = node.style
- var opacity = isFinite(value) && value <= 1 ? "alpha(opacity=" + value * 100 + ")" : ""
- var filter = style.filter || "";
- style.zoom = 1
- //不能使用以下方式设置透明度
- //node.filters.alpha.opacity = value * 100
- style.filter = (ralpha.test(filter) ?
- filter.replace(ralpha, opacity) :
- filter + " " + opacity).trim()
- if (!style.filter) {
- style.removeAttribute("filter")
- }
- }
- cssHooks["opacity:get"] = function (node) {
- //这是最快的获取IE透明值的方式,不需要动用正则了!
- var alpha = node.filters.alpha || node.filters[salpha],
- op = alpha && alpha.enabled ? alpha.opacity : 100
- return (op / 100) + "" //确保返回的是字符串
- }
- }
-
- "top,left".replace(rword, function (name) {
- cssHooks[name + ":get"] = function (node) {
- var computed = cssHooks["@:get"](node, name)
- return /px$/.test(computed) ? computed :
- avalon(node).position()[name] + "px"
- }
- })
-
- var cssShow = {
- position: "absolute",
- visibility: "hidden",
- display: "block"
- }
-
- var rdisplayswap = /^(none|table(?!-c[ea]).+)/
-
- function showHidden(node, array) {
- //http://www.cnblogs.com/rubylouvre/archive/2012/10/27/2742529.html
- if (node.offsetWidth <= 0) { //opera.offsetWidth可能小于0
- if (rdisplayswap.test(cssHooks["@:get"](node, "display"))) {
- var obj = {
- node: node
- }
- for (var name in cssShow) {
- obj[name] = node.style[name]
- node.style[name] = cssShow[name]
- }
- array.push(obj)
- }
- var parent = node.parentNode
- if (parent && parent.nodeType === 1) {
- showHidden(parent, array)
- }
- }
- }
-
- "Width,Height".replace(rword, function (name) { //fix 481
- var method = name.toLowerCase(),
- clientProp = "client" + name,
- scrollProp = "scroll" + name,
- offsetProp = "offset" + name
- cssHooks[method + ":get"] = function (node, which, override) {
- var boxSizing = -4
- if (typeof override === "number") {
- boxSizing = override
- }
- which = name === "Width" ? ["Left", "Right"] : ["Top", "Bottom"]
- var ret = node[offsetProp] // border-box 0
- if (boxSizing === 2) { // margin-box 2
- return ret + avalon.css(node, "margin" + which[0], true) + avalon.css(node, "margin" + which[1], true)
- }
- if (boxSizing < 0) { // padding-box -2
- ret = ret - avalon.css(node, "border" + which[0] + "Width", true) - avalon.css(node, "border" + which[1] + "Width", true)
- }
- if (boxSizing === -4) { // content-box -4
- ret = ret - avalon.css(node, "padding" + which[0], true) - avalon.css(node, "padding" + which[1], true)
- }
- return ret
- }
- cssHooks[method + "&get"] = function (node) {
- var hidden = [];
- showHidden(node, hidden);
- var val = cssHooks[method + ":get"](node)
- for (var i = 0, obj; obj = hidden[i++];) {
- node = obj.node
- for (var n in obj) {
- if (typeof obj[n] === "string") {
- node.style[n] = obj[n]
- }
- }
- }
- return val;
- }
- avalon.fn[method] = function (value) { //会忽视其display
- var node = this[0]
- if (arguments.length === 0) {
- if (node.setTimeout) { //取得窗口尺寸,IE9后可以用node.innerWidth /innerHeight代替
- return node["inner" + name] || node.document.documentElement[clientProp]
- }
- if (node.nodeType === 9) { //取得页面尺寸
- var doc = node.documentElement
- //FF chrome html.scrollHeight< body.scrollHeight
- //IE 标准模式 : html.scrollHeight> body.scrollHeight
- //IE 怪异模式 : html.scrollHeight 最大等于可视窗口多一点?
- return Math.max(node.body[scrollProp], doc[scrollProp], node.body[offsetProp], doc[offsetProp], doc[clientProp])
- }
- return cssHooks[method + "&get"](node)
- } else {
- return this.css(method, value)
- }
- }
- avalon.fn["inner" + name] = function () {
- return cssHooks[method + ":get"](this[0], void 0, -2)
- }
- avalon.fn["outer" + name] = function (includeMargin) {
- return cssHooks[method + ":get"](this[0], void 0, includeMargin === true ? 2 : 0)
- }
- })
- avalon.fn.offset = function () { //取得距离页面左右角的坐标
- var node = this[0],
- box = {
- left: 0,
- top: 0
- }
- if (!node || !node.tagName || !node.ownerDocument) {
- return box
- }
- var doc = node.ownerDocument,
- body = doc.body,
- root = doc.documentElement,
- win = doc.defaultView || doc.parentWindow
- if (!avalon.contains(root, node)) {
- return box
- }
- //http://hkom.blog1.fc2.com/?mode=m&no=750 body的偏移量是不包含margin的
- //我们可以通过getBoundingClientRect来获得元素相对于client的rect.
- //http://msdn.microsoft.com/en-us/library/ms536433.aspx
- if (node.getBoundingClientRect) {
- box = node.getBoundingClientRect() // BlackBerry 5, iOS 3 (original iPhone)
- }
- //chrome/IE6: body.scrollTop, firefox/other: root.scrollTop
- var clientTop = root.clientTop || body.clientTop,
- clientLeft = root.clientLeft || body.clientLeft,
- scrollTop = Math.max(win.pageYOffset || 0, root.scrollTop, body.scrollTop),
- scrollLeft = Math.max(win.pageXOffset || 0, root.scrollLeft, body.scrollLeft)
- // 把滚动距离加到left,top中去。
- // IE一些版本中会自动为HTML元素加上2px的border,我们需要去掉它
- // http://msdn.microsoft.com/en-us/library/ms533564(VS.85).aspx
- return {
- top: box.top + scrollTop - clientTop,
- left: box.left + scrollLeft - clientLeft
- }
- }
-
-//==================================val相关============================
-
- function getValType(el) {
- var ret = el.tagName.toLowerCase()
- return ret === "input" && /checkbox|radio/.test(el.type) ? "checked" : ret
- }
-
- var roption = /^<option(?:\s+\w+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+))?)*\s+value[\s=]/i
- var valHooks = {
- "option:get": IEVersion ? function (node) {
- //在IE11及W3C,如果没有指定value,那么node.value默认为node.text(存在trim作),但IE9-10则是取innerHTML(没trim操作)
- //specified并不可靠,因此通过分析outerHTML判定用户有没有显示定义value
- return roption.test(node.outerHTML) ? node.value : node.text.trim()
- } : function (node) {
- return node.value
- },
- "select:get": function (node, value) {
- var option, options = node.options,
- index = node.selectedIndex,
- getter = valHooks["option:get"],
- one = node.type === "select-one" || index < 0,
- values = one ? null : [],
- max = one ? index + 1 : options.length,
- i = index < 0 ? max : one ? index : 0
- for (; i < max; i++) {
- option = options[i]
- //旧式IE在reset后不会改变selected,需要改用i === index判定
- //我们过滤所有disabled的option元素,但在safari5下,如果设置select为disable,那么其所有孩子都disable
- //因此当一个元素为disable,需要检测其是否显式设置了disable及其父节点的disable情况
- if ((option.selected || i === index) && !option.disabled) {
- value = getter(option)
- if (one) {
- return value
- }
- //收集所有selected值组成数组返回
- values.push(value)
- }
- }
- return values
- },
- "select:set": function (node, values, optionSet) {
- values = [].concat(values) //强制转换为数组
- var getter = valHooks["option:get"]
- for (var i = 0, el; el = node.options[i++];) {
- if ((el.selected = values.indexOf(getter(el)) > -1)) {
- optionSet = true
- }
- }
- if (!optionSet) {
- node.selectedIndex = -1
- }
- }
- }
-
- /*********************************************************************
- * 编译系统 *
- **********************************************************************/
- var meta = {
- '\b': '\\b',
- '\t': '\\t',
- '\n': '\\n',
- '\f': '\\f',
- '\r': '\\r',
- '"': '\\"',
- '\\': '\\\\'
- }
- var quote = window.JSON && JSON.stringify || function (str) {
- return '"' + str.replace(/[\\\"\x00-\x1f]/g, function (a) {
- var c = meta[a];
- return typeof c === 'string' ? c :
- '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
- }) + '"'
- }
-
- var keywords =
- // 关键字
- "break,case,catch,continue,debugger,default,delete,do,else,false" +
- ",finally,for,function,if,in,instanceof,new,null,return,switch,this" +
- ",throw,true,try,typeof,var,void,while,with"
- // 保留字
- + ",abstract,boolean,byte,char,class,const,double,enum,export,extends" +
- ",final,float,goto,implements,import,int,interface,long,native" +
- ",package,private,protected,public,short,static,super,synchronized" +
- ",throws,transient,volatile"
- // ECMA 5 - use strict
- + ",arguments,let,yield" + ",undefined"
- var rrexpstr = /\/\*[\w\W]*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|"(?:[^"\\]|\\[\w\W])*"|'(?:[^'\\]|\\[\w\W])*'|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g
- var rsplit = /[^\w$]+/g
- var rkeywords = new RegExp(["\\b" + keywords.replace(/,/g, '\\b|\\b') + "\\b"].join('|'), 'g')
- var rnumber = /\b\d[^,]*/g
- var rcomma = /^,+|,+$/g
- var cacheVars = createCache(512)
- var getVariables = function (code) {
- var key = "," + code.trim()
- if (cacheVars[key]) {
- return cacheVars[key]
- }
- var match = code
- .replace(rrexpstr, "")
- .replace(rsplit, ",")
- .replace(rkeywords, "")
- .replace(rnumber, "")
- .replace(rcomma, "")
- .split(/^$|,+/)
- return cacheVars(key, uniqSet(match))
- }
- /*添加赋值语句*/
-
- function addAssign(vars, scope, name, data) {
- var ret = [],
- prefix = " = " + name + "."
- for (var i = vars.length, prop; prop = vars[--i];) {
- if (scope.hasOwnProperty(prop)) {
- ret.push(prop + prefix + prop)
- data.vars.push(prop)
- if (data.type === "duplex") {
- vars.get = name + "." + prop
- }
- vars.splice(i, 1)
- }
- }
- return ret
- }
-
- function uniqSet(array) {
- var ret = [],
- unique = {}
- for (var i = 0; i < array.length; i++) {
- var el = array[i]
- var id = el && typeof el.$id === "string" ? el.$id : el
- if (!unique[id]) {
- unique[id] = ret.push(el)
- }
- }
- return ret
- }
-
-//缓存求值函数,以便多次利用
- var cacheExprs = createCache(128)
-//取得求值函数及其传参
- var rduplex = /\w\[.*\]|\w\.\w/
- var rproxy = /(\$proxy\$[a-z]+)\d+$/
- var rthimRightParentheses = /\)\s*$/
- var rthimOtherParentheses = /\)\s*\|/g
- var rquoteFilterName = /\|\s*([$\w]+)/g
- var rpatchBracket = /"\s*\["/g
- var rthimLeftParentheses = /"\s*\(/g
-
- function parseFilter(val, filters) {
- filters = filters
- .replace(rthimRightParentheses, "")//处理最后的小括号
- .replace(rthimOtherParentheses, function () {//处理其他小括号
- return "],|"
- })
- .replace(rquoteFilterName, function (a, b) { //处理|及它后面的过滤器的名字
- return "[" + quote(b)
- })
- .replace(rpatchBracket, function () {
- return '"],["'
- })
- .replace(rthimLeftParentheses, function () {
- return '",'
- }) + "]"
- return "return avalon.filters.$filter(" + val + ", " + filters + ")"
- }
-
- function parseExpr(code, scopes, data) {
- var dataType = data.type
- var filters = data.filters || ""
- var exprId = scopes.map(function (el) {
- return String(el.$id).replace(rproxy, "$1")
- }) + code + dataType + filters
- var vars = getVariables(code).concat(),
- assigns = [],
- names = [],
- args = [],
- prefix = ""
- //args 是一个对象数组, names 是将要生成的求值函数的参数
- scopes = uniqSet(scopes)
- data.vars = []
- for (var i = 0, sn = scopes.length; i < sn; i++) {
- if (vars.length) {
- var name = "vm" + expose + "_" + i
- names.push(name)
- args.push(scopes[i])
- assigns.push.apply(assigns, addAssign(vars, scopes[i], name, data))
- }
- }
- if (!assigns.length && dataType === "duplex") {
- return
- }
- if (dataType !== "duplex" && (code.indexOf("||") > -1 || code.indexOf("&&") > -1)) {
- //https://github.com/RubyLouvre/avalon/issues/583
- data.vars.forEach(function (v) {
- var reg = new RegExp("\\b" + v + "(?:\\.\\w+|\\[\\w+\\])+", "ig")
- code = code.replace(reg, function (_) {
- var c = _.charAt(v.length)
- var r = IEVersion ? code.slice(arguments[1] + _.length) : RegExp.rightContext
- var method = /^\s*\(/.test(r)
- if (c === "." || c === "[" || method) {//比如v为aa,我们只匹配aa.bb,aa[cc],不匹配aaa.xxx
- var name = "var" + String(Math.random()).replace(/^0\./, "")
- if (method) {//array.size()
- var array = _.split(".")
- if (array.length > 2) {
- var last = array.pop()
- assigns.push(name + " = " + array.join("."))
- return name + "." + last
- } else {
- return _
- }
- }
- assigns.push(name + " = " + _)
- return name
- } else {
- return _
- }
- })
- })
- }
- //---------------args----------------
- data.args = args
- //---------------cache----------------
- var fn = cacheExprs[exprId] //直接从缓存,免得重复生成
- if (fn) {
- data.evaluator = fn
- return
- }
- var prefix = assigns.join(", ")
- if (prefix) {
- prefix = "var " + prefix
- }
- if (/\S/.test(filters)) { //文本绑定,双工绑定才有过滤器
- if (!/text|html/.test(data.type)) {
- throw Error("ms-" + data.type + "不支持过滤器")
- }
- code = "\nvar ret" + expose + " = " + code + ";\r\n"
- code += parseFilter("ret" + expose, filters)
- } else if (dataType === "duplex") { //双工绑定
- var _body = "'use strict';\nreturn function(vvv){\n\t" +
- prefix +
- ";\n\tif(!arguments.length){\n\t\treturn " +
- code +
- "\n\t}\n\t" + (!rduplex.test(code) ? vars.get : code) +
- "= vvv;\n} "
- try {
- fn = Function.apply(noop, names.concat(_body))
- data.evaluator = cacheExprs(exprId, fn)
- } catch (e) {
- log("debug: parse error," + e.message)
- }
- return
- } else if (dataType === "on") { //事件绑定
- if (code.indexOf("(") === -1) {
- code += ".call(this, $event)"
- } else {
- code = code.replace("(", ".call(this,")
- }
- names.push("$event")
- code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;")
- var lastIndex = code.lastIndexOf("\nreturn")
- var header = code.slice(0, lastIndex)
- var footer = code.slice(lastIndex)
- code = header + "\n" + footer
- } else { //其他绑定
- code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;")
- }
- try {
- fn = Function.apply(noop, names.concat("'use strict';\n" + prefix + code))
- data.evaluator = cacheExprs(exprId, fn)
- } catch (e) {
- log("debug: parse error," + e.message)
- } finally {
- vars = textBuffer = names = null //释放内存
- }
- }
-
-
-//parseExpr的智能引用代理
-
- function parseExprProxy(code, scopes, data, tokens, noregister) {
- if (Array.isArray(tokens)) {
- code = tokens.map(function (el) {
- return el.expr ? "(" + el.value + ")" : quote(el.value)
- }).join(" + ")
- }
- parseExpr(code, scopes, data)
- if (data.evaluator && !noregister) {
- data.handler = bindingExecutors[data.handlerName || data.type]
- //方便调试
- //这里非常重要,我们通过判定视图刷新函数的element是否在DOM树决定
- //将它移出订阅者列表
- registerSubscriber(data)
- }
- }
-
- avalon.parseExprProxy = parseExprProxy
- /*********************************************************************
- * 各种指令 *
- **********************************************************************/
-//ms-skip绑定已经在scanTag 方法中实现
-//ms-controller绑定已经在scanTag 方法中实现
-//ms-important绑定已经在scanTag 方法中实现
- var bools = "autofocus,autoplay,async,allowTransparency,checked,controls,declare,disabled,defer,defaultChecked,defaultSelected" +
- "contentEditable,isMap,loop,multiple,noHref,noResize,noShade,open,readOnly,selected"
- var boolMap = {}
- bools.replace(rword, function (name) {
- boolMap[name.toLowerCase()] = name
- })
-
- var propMap = {//属性名映射
- "accept-charset": "acceptCharset",
- "char": "ch",
- "charoff": "chOff",
- "class": "className",
- "for": "htmlFor",
- "http-equiv": "httpEquiv"
- }
-
- var anomaly = "accessKey,bgColor,cellPadding,cellSpacing,codeBase,codeType,colSpan," + "dateTime,defaultValue,frameBorder,longDesc,maxLength,marginWidth,marginHeight," + "rowSpan,tabIndex,useMap,vSpace,valueType,vAlign"
- anomaly.replace(rword, function (name) {
- propMap[name.toLowerCase()] = name
- })
-
- var rnoscripts = /<noscript.*?>(?:[\s\S]+?)<\/noscript>/img
- var rnoscriptText = /<noscript.*?>([\s\S]+?)<\/noscript>/im
-
- var getXHR = function () {
- return new (window.XMLHttpRequest || ActiveXObject)("Microsoft.XMLHTTP")
- }
-
- var cacheTmpls = avalon.templateCache = {}
-
- bindingHandlers.attr = function (data, vmodels) {
- var text = data.value.trim(),
- simple = true
- if (text.indexOf(openTag) > -1 && text.indexOf(closeTag) > 2) {
- simple = false
- if (rexpr.test(text) && RegExp.rightContext === "" && RegExp.leftContext === "") {
- simple = true
- text = RegExp.$1
- }
- }
- if (data.type === "include") {
- var elem = data.element
- data.includeRendered = getBindingCallback(elem, "data-include-rendered", vmodels)
- data.includeLoaded = getBindingCallback(elem, "data-include-loaded", vmodels)
- var outer = data.includeReplaced = !!avalon(elem).data("includeReplace")
- data.startInclude = DOC.createComment("ms-include")
- data.endInclude = DOC.createComment("ms-include-end")
- if (outer) {
- data.element = data.startInclude
- elem.parentNode.insertBefore(data.startInclude, elem)
- elem.parentNode.insertBefore(data.endInclude, elem.nextSibling)
- } else {
- elem.insertBefore(data.startInclude, elem.firstChild)
- elem.appendChild(data.endInclude)
- }
- }
- data.handlerName = "attr" //handleName用于处理多种绑定共用同一种bindingExecutor的情况
- parseExprProxy(text, vmodels, data, (simple ? 0 : scanExpr(data.value)))
- }
-
- bindingExecutors.attr = function (val, elem, data) {
- var method = data.type,
- attrName = data.param
- if (method === "css") {
- avalon(elem).css(attrName, val)
- } else if (method === "attr") {
- // ms-attr-class="xxx" vm.xxx="aaa bbb ccc"将元素的className设置为aaa bbb ccc
- // ms-attr-class="xxx" vm.xxx=false 清空元素的所有类名
- // ms-attr-name="yyy" vm.yyy="ooo" 为元素设置name属性
- if (boolMap[attrName]) {
- var bool = boolMap[attrName]
- if (typeof elem[bool] === "boolean") {
- // IE6-11不支持动态设置fieldset的disabled属性,IE11下样式是生效了,但无法阻止用户对其底下的input元素进行设值……
- return elem[bool] = !!val
- }
- }
- var toRemove = (val === false) || (val === null) || (val === void 0)
-
- if (!W3C && propMap[attrName]) { //旧式IE下需要进行名字映射
- attrName = propMap[attrName]
- }
- if (toRemove) {
- return elem.removeAttribute(attrName)
- }
- //SVG只能使用setAttribute(xxx, yyy), VML只能使用elem.xxx = yyy ,HTML的固有属性必须elem.xxx = yyy
- var isInnate = rsvg.test(elem) ? false : (DOC.namespaces && isVML(elem)) ? true : attrName in elem.cloneNode(false)
- if (isInnate) {
- elem[attrName] = val
- } else {
- elem.setAttribute(attrName, val)
- }
- } else if (method === "include" && val) {
- var vmodels = data.vmodels
- var rendered = data.includeRendered
- var loaded = data.includeLoaded
- var replace = data.includeReplaced
- var target = replace ? elem.parentNode : elem
-
- function scanTemplate(text) {
- if (loaded) {
- text = loaded.apply(target, [text].concat(vmodels))
- }
- if (rendered) {
- checkScan(target, function () {
- rendered.call(target)
- }, NaN)
- }
- while (true) {
- var node = data.startInclude.nextSibling
- if (node && node !== data.endInclude) {
- target.removeChild(node)
- } else {
- break
- }
- }
- var dom = avalon.parseHTML(text)
- var nodes = avalon.slice(dom.childNodes)
- target.insertBefore(dom, data.endInclude)
- scanNodeArray(nodes, vmodels)
- }
-
- if (data.param === "src") {
- if (cacheTmpls[val]) {
- avalon.nextTick(function () {
- scanTemplate(cacheTmpls[val])
- })
- } else {
- var xhr = getXHR()
- xhr.onreadystatechange = function () {
- if (xhr.readyState === 4) {
- var s = xhr.status
- if (s >= 200 && s < 300 || s === 304 || s === 1223) {
- scanTemplate(cacheTmpls[val] = xhr.responseText)
- }
- }
- }
- xhr.open("GET", val, true)
- if ("withCredentials" in xhr) {
- xhr.withCredentials = true
- }
- xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")
- xhr.send(null)
- }
- } else {
- //IE系列与够新的标准浏览器支持通过ID取得元素(firefox14+)
- //http://tjvantoll.com/2012/07/19/dom-element-references-as-global-variables/
- var el = val && val.nodeType === 1 ? val : DOC.getElementById(val)
- if (el) {
- if (el.tagName === "NOSCRIPT" && !(el.innerHTML || el.fixIE78)) { //IE7-8 innerText,innerHTML都无法取得其内容,IE6能取得其innerHTML
- var xhr = getXHR() //IE9-11与chrome的innerHTML会得到转义的内容,它们的innerText可以
- xhr.open("GET", location, false) //谢谢Nodejs 乱炖群 深圳-纯属虚构
- xhr.send(null)
- //http://bbs.csdn.net/topics/390349046?page=1#post-393492653
- var noscripts = DOC.getElementsByTagName("noscript")
- var array = (xhr.responseText || "").match(rnoscripts) || []
- var n = array.length
- for (var i = 0; i < n; i++) {
- var tag = noscripts[i]
- if (tag) { //IE6-8中noscript标签的innerHTML,innerText是只读的
- tag.style.display = "none" //http://haslayout.net/css/noscript-Ghost-Bug
- tag.fixIE78 = (array[i].match(rnoscriptText) || ["", "&nbsp;"])[1]
- }
- }
- }
- avalon.nextTick(function () {
- scanTemplate(el.fixIE78 || el.value || el.innerText || el.innerHTML)
- })
- }
- }
- } else {
- if (!root.hasAttribute && typeof val === "string" && (method === "src" || method === "href")) {
- val = val.replace(/&amp;/g, "&") //处理IE67自动转义的问题
- }
- elem[method] = val
- if (window.chrome && elem.tagName === "EMBED") {
- var parent = elem.parentNode //#525 chrome1-37下embed标签动态设置src不能发生请求
- var comment = document.createComment("ms-src")
- parent.replaceChild(comment, elem)
- parent.replaceChild(elem, comment)
- }
- }
- }
-
-//这几个指令都可以使用插值表达式,如ms-src="aaa/{{b}}/{{c}}.html"
- "title,alt,src,value,css,include,href".replace(rword, function (name) {
- bindingHandlers[name] = bindingHandlers.attr
- })
-//ms-include绑定已由ms-attr绑定实现
-
-//根据VM的属性值或表达式的值切换类名,ms-class="xxx yyy zzz:flag"
-//http://www.cnblogs.com/rubylouvre/archive/2012/12/17/2818540.html
- bindingHandlers["class"] = function (data, vmodels) {
- var oldStyle = data.param,
- text = data.value,
- rightExpr
- data.handlerName = "class"
- if (!oldStyle || isFinite(oldStyle)) {
- data.param = "" //去掉数字
- var noExpr = text.replace(rexprg, function (a) {
- return a.replace(/./g, "0")
- //return Math.pow(10, a.length - 1) //将插值表达式插入10的N-1次方来占位
- })
- var colonIndex = noExpr.indexOf(":") //取得第一个冒号的位置
- if (colonIndex === -1) { // 比如 ms-class="aaa bbb ccc" 的情况
- var className = text
- } else { // 比如 ms-class-1="ui-state-active:checked" 的情况
- className = text.slice(0, colonIndex)
- rightExpr = text.slice(colonIndex + 1)
- parseExpr(rightExpr, vmodels, data) //决定是添加还是删除
- if (!data.evaluator) {
- log("debug: ms-class '" + (rightExpr || "").trim() + "' 不存在于VM中")
- return false
- } else {
- data._evaluator = data.evaluator
- data._args = data.args
- }
- }
- var hasExpr = rexpr.test(className) //比如ms-class="width{{w}}"的情况
- if (!hasExpr) {
- data.immobileClass = className
- }
- parseExprProxy("", vmodels, data, (hasExpr ? scanExpr(className) : 0))
- } else {
- data.immobileClass = data.oldStyle = data.param
- parseExprProxy(text, vmodels, data)
- }
- }
-
- bindingExecutors ["class"] = function (val, elem, data) {
- var $elem = avalon(elem),
- method = data.type
- if (method === "class" && data.oldStyle) { //如果是旧风格
- $elem.toggleClass(data.oldStyle, !!val)
- } else {
- //如果存在冒号就有求值函数
- data.toggleClass = data._evaluator ? !!data._evaluator.apply(elem, data._args) : true
- data.newClass = data.immobileClass || val
- if (data.oldClass && data.newClass !== data.oldClass) {
- $elem.removeClass(data.oldClass)
- }
- data.oldClass = data.newClass
- switch (method) {
- case "class":
- $elem.toggleClass(data.newClass, data.toggleClass)
- break
- case "hover":
- case "active":
- if (!data.hasBindEvent) { //确保只绑定一次
- var activate = "mouseenter" //在移出移入时切换类名
- var abandon = "mouseleave"
- if (method === "active") { //在聚焦失焦中切换类名
- elem.tabIndex = elem.tabIndex || -1
- activate = "mousedown"
- abandon = "mouseup"
- var fn0 = $elem.bind("mouseleave", function () {
- data.toggleClass && $elem.removeClass(data.newClass)
- })
- }
- var fn1 = $elem.bind(activate, function () {
- data.toggleClass && $elem.addClass(data.newClass)
- })
- var fn2 = $elem.bind(abandon, function () {
- data.toggleClass && $elem.removeClass(data.newClass)
- })
- data.rollback = function () {
- $elem.unbind("mouseleave", fn0)
- $elem.unbind(activate, fn1)
- $elem.unbind(abandon, fn2)
- }
- data.hasBindEvent = true
- }
- break;
- }
- }
- }
-
- "hover,active".replace(rword, function (method) {
- bindingHandlers[method] = bindingHandlers["class"]
- })
-// bindingHandlers.data 定义在if.js
- bindingExecutors.data = function (val, elem, data) {
- var key = "data-" + data.param
- if (val && typeof val === "object") {
- elem[key] = val
- } else {
- elem.setAttribute(key, String(val))
- }
- }
-
-// bindingHandlers.text 定义在if.js
- bindingExecutors.text = function (val, elem) {
- val = val == null ? "" : val //不在页面上显示undefined null
- if (elem.nodeType === 3) { //绑定在文本节点上
- try { //IE对游离于DOM树外的节点赋值会报错
- elem.data = val
- } catch (e) {
- }
- } else { //绑定在特性节点上
- if ("textContent" in elem) {
- elem.textContent = val
- } else {
- elem.innerText = val
- }
- }
- }
-
-
-// bindingHandlers.html 定义在if.js
- bindingExecutors.html = function (val, elem, data) {
- val = val == null ? "" : val
- var isHtmlFilter = "group" in data
- var parent = isHtmlFilter ? elem.parentNode : elem
- if (!parent)
- return
- if (val.nodeType === 11) { //将val转换为文档碎片
- var fragment = val
- } else if (val.nodeType === 1 || val.item) {
- var nodes = val.nodeType === 1 ? val.childNodes : val.item ? val : []
- fragment = hyperspace.cloneNode(true)
- while (nodes[0]) {
- fragment.appendChild(nodes[0])
- }
- } else {
- fragment = avalon.parseHTML(val)
- }
- //插入占位符, 如果是过滤器,需要有节制地移除指定的数量,如果是html指令,直接清空
- var comment = DOC.createComment("ms-html")
- if (isHtmlFilter) {
- parent.insertBefore(comment, elem)
- var n = data.group, i = 1
- while (i < n) {
- var node = elem.nextSibling
- if (node) {
- parent.removeChild(node)
- i++
- }
- }
- parent.removeChild(elem)
- data.element = comment //防止被CG
- } else {
- avalon.clearHTML(parent).appendChild(comment)
- }
- if (isHtmlFilter) {
- data.group = fragment.childNodes.length || 1
- }
- var nodes = avalon.slice(fragment.childNodes)
- if (nodes[0]) {
- if (comment.parentNode)
- comment.parentNode.replaceChild(fragment, comment)
- if (isHtmlFilter) {
- data.element = nodes[0]
- }
- }
- scanNodeArray(nodes, data.vmodels)
- }
-
- bindingHandlers["if"] =
- bindingHandlers.data =
- bindingHandlers.text =
- bindingHandlers.html =
- function (data, vmodels) {
- parseExprProxy(data.value, vmodels, data)
- }
-
- bindingExecutors["if"] = function (val, elem, data) {
- if (val) { //插回DOM树
- if (elem.nodeType === 8) {
- elem.parentNode.replaceChild(data.template, elem)
- elem = data.element = data.template //这时可能为null
- }
- if (elem.getAttribute(data.name)) {
- elem.removeAttribute(data.name)
- scanAttr(elem, data.vmodels)
- }
- data.rollback = null
- } else { //移出DOM树,并用注释节点占据原位置
- if (elem.nodeType === 1) {
- var node = data.element = DOC.createComment("ms-if")
- elem.parentNode.replaceChild(node, elem)
- data.template = elem //元素节点
- ifGroup.appendChild(elem)
- data.rollback = function () {
- if (elem.parentNode === ifGroup) {
- ifGroup.removeChild(elem)
- }
- }
- }
- }
- }
-
-
- function parseDisplay(nodeName, val) {
- //用于取得此类标签的默认display值
- var key = "_" + nodeName
- if (!parseDisplay[key]) {
- var node = DOC.createElement(nodeName)
- root.appendChild(node)
- if (W3C) {
- val = getComputedStyle(node, null).display
- } else {
- val = node.currentStyle.display
- }
- root.removeChild(node)
- parseDisplay[key] = val
- }
- return parseDisplay[key]
- }
-
- avalon.parseDisplay = parseDisplay
-
- bindingHandlers.visible = function (data, vmodels) {
- var elem = avalon(data.element)
- var display = elem.css("display")
- if (display === "none") {
- var style = elem[0].style
- var has = /visibility/i.test(style.cssText)
- var visible = elem.css("visibility")
- style.display = ""
- style.visibility = "hidden"
- display = elem.css("display")
- if (display === "none") {
- display = parseDisplay(elem[0].nodeName)
- }
- style.visibility = has ? visible : ""
- }
- data.display = display
- parseExprProxy(data.value, vmodels, data)
- }
-
- bindingExecutors.visible = function (val, elem, data) {
- elem.style.display = val ? data.display : "none"
- }
-
- var rdash = /\(([^)]*)\)/
- bindingHandlers.on = function (data, vmodels) {
- var value = data.value
- data.type = "on"
- var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10
- if (typeof bindingHandlers.on[eventType + "Hook"] === "function") {
- bindingHandlers.on[eventType + "Hook"](data)
- }
- if (value.indexOf("(") > 0 && value.indexOf(")") > -1) {
- var matched = (value.match(rdash) || ["", ""])[1].trim()
- if (matched === "" || matched === "$event") { // aaa() aaa($event)当成aaa处理
- value = value.replace(rdash, "")
- }
- }
- parseExprProxy(value, vmodels, data)
- }
-
- bindingExecutors.on = function (callback, elem, data) {
- callback = function (e) {
- var fn = data.evaluator || noop
- return fn.apply(this, data.args.concat(e))
- }
- var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10
- if (eventType === "scan") {
- callback.call(elem, {
- type: eventType
- })
- } else if (typeof data.specialBind === "function") {
- data.specialBind(elem, callback)
- } else {
- var removeFn = avalon.bind(elem, eventType, callback)
- }
- data.rollback = function () {
- if (typeof data.specialUnbind === "function") {
- data.specialUnbind()
- } else {
- avalon.unbind(elem, eventType, removeFn)
- }
- }
- }
-
-
- bindingHandlers.widget = function (data, vmodels) {
- var args = data.value.match(rword)
- var elem = data.element
- var widget = args[0]
- var id = args[1]
- if (!id || id === "$") {//没有定义或为$时,取组件名+随机数
- id = generateID(widget)
- }
- var optName = args[2] || widget//没有定义,取组件名
- var constructor = avalon.ui[widget]
- if (typeof constructor === "function") { //ms-widget="tabs,tabsAAA,optname"
- vmodels = elem.vmodels || vmodels
- for (var i = 0, v; v = vmodels[i++];) {
- if (v.hasOwnProperty(optName) && typeof v[optName] === "object") {
- var vmOptions = v[optName]
- vmOptions = vmOptions.$model || vmOptions
- break
- }
- }
- if (vmOptions) {
- var wid = vmOptions[widget + "Id"]
- if (typeof wid === "string") {
- id = wid
- }
- }
- //抽取data-tooltip-text、data-tooltip-attr属性,组成一个配置对象
- var widgetData = avalon.getWidgetData(elem, widget)
- data.value = [widget, id, optName].join(",")
- data[widget + "Id"] = id
- data.evaluator = noop
- elem.msData["ms-widget-id"] = id
- var options = data[widget + "Options"] = avalon.mix({}, constructor.defaults, vmOptions || {}, widgetData)
- elem.removeAttribute("ms-widget")
- var vmodel = constructor(elem, data, vmodels) || {} //防止组件不返回VM
- if (vmodel.$id) {
- avalon.vmodels[id] = vmodel
- createSignalTower(elem, vmodel)
- if (vmodel.hasOwnProperty("$init")) {
- vmodel.$init(function () {
- avalon.scan(elem, [vmodel].concat(vmodels))
- if (typeof options.onInit === "function") {
- options.onInit.call(elem, vmodel, options, vmodels)
- }
- })
- }
- data.rollback = function () {
- try {
- vmodel.widgetElement = null
- vmodel.$remove()
- } catch (e) {
- }
- elem.msData = {}
- delete avalon.vmodels[vmodel.$id]
- }
- addSubscribers(data, widgetList)
- if (window.chrome) {
- elem.addEventListener("DOMNodeRemovedFromDocument", function () {
- setTimeout(removeSubscribers)
- })
- }
- } else {
- avalon.scan(elem, vmodels)
- }
- } else if (vmodels.length) { //如果该组件还没有加载,那么保存当前的vmodels
- elem.vmodels = vmodels
- }
- }
- var widgetList = []
-//不存在 bindingExecutors.widget
-//双工绑定
- var duplexBinding = bindingHandlers.duplex = function (data, vmodels) {
- var elem = data.element,
- hasCast
- parseExprProxy(data.value, vmodels, data, 0, 1)
-
- data.changed = getBindingCallback(elem, "data-duplex-changed", vmodels) || noop
- if (data.evaluator && data.args) {
- var params = []
- var casting = oneObject("string,number,boolean,checked")
- if (elem.type === "radio" && data.param === "") {
- data.param = "checked"
- }
- if (elem.msData) {
- elem.msData["ms-duplex"] = data.value
- }
- data.param.replace(/\w+/g, function (name) {
- if (/^(checkbox|radio)$/.test(elem.type) && /^(radio|checked)$/.test(name)) {
- if (name === "radio")
- log("ms-duplex-radio已经更名为ms-duplex-checked")
- name = "checked"
- data.isChecked = true
- }
- if (name === "bool") {
- name = "boolean"
- log("ms-duplex-bool已经更名为ms-duplex-boolean")
- } else if (name === "text") {
- name = "string"
- log("ms-duplex-text已经更名为ms-duplex-string")
- }
- if (casting[name]) {
- hasCast = true
- }
- avalon.Array.ensure(params, name)
- })
- if (!hasCast) {
- params.push("string")
- }
- data.param = params.join("-")
- data.bound = function (type, callback) {
- if (elem.addEventListener) {
- elem.addEventListener(type, callback, false)
- } else {
- elem.attachEvent("on" + type, callback)
- }
- var old = data.rollback
- data.rollback = function () {
- elem.avalonSetter = null
- avalon.unbind(elem, type, callback)
- old && old()
- }
- }
- for (var i in avalon.vmodels) {
- var v = avalon.vmodels[i]
- v.$fire("avalon-ms-duplex-init", data)
- }
- var cpipe = data.pipe || (data.pipe = pipe)
- cpipe(null, data, "init")
- var tagName = elem.tagName
- duplexBinding[tagName] && duplexBinding[tagName](elem, data.evaluator.apply(null, data.args), data)
- }
- }
-//不存在 bindingExecutors.duplex
- function fixNull(val) {
- return val == null ? "" : val
- }
-
- avalon.duplexHooks = {
- checked: {
- get: function (val, data) {
- return !data.element.oldValue
- }
- },
- string: {
- get: function (val) { //同步到VM
- return val
- },
- set: fixNull
- },
- "boolean": {
- get: function (val) {
- return val === "true"
- },
- set: fixNull
- },
- number: {
- get: function (val) {
- return isFinite(val) ? parseFloat(val) || 0 : val
- },
- set: fixNull
- }
- }
-
- function pipe(val, data, action, e) {
- data.param.replace(/\w+/g, function (name) {
- var hook = avalon.duplexHooks[name]
- if (hook && typeof hook[action] === "function") {
- val = hook[action](val, data)
- }
- })
- return val
- }
-
- var TimerID, ribbon = []
-
- function W3CFire(el, name, detail) {
- var event = DOC.createEvent("Events")
- event.initEvent(name, true, true)
- event.fireByAvalon = true//签名,标记事件是由avalon触发
- //event.isTrusted = false 设置这个opera会报错
- if (detail)
- event.detail = detail
- el.dispatchEvent(event)
- }
-
-
- avalon.tick = function (fn) {
- if (ribbon.push(fn) === 1) {
- TimerID = setInterval(ticker, 60)
- }
- }
-
- function ticker() {
- for (var n = ribbon.length - 1; n >= 0; n--) {
- var el = ribbon[n]
- if (el() === false) {
- ribbon.splice(n, 1)
- }
- }
- if (!ribbon.length) {
- clearInterval(TimerID)
- }
- }
-
- var watchValueInTimer = noop
- new function () {
- try {//#272 IE9-IE11, firefox
- var setters = {}
- var aproto = HTMLInputElement.prototype
- var bproto = HTMLTextAreaElement.prototype
-
- function newSetter(value) {
- if (avalon.contains(root, this)) {
- setters[this.tagName].call(this, value)
- if (this.avalonSetter) {
- this.avalonSetter()
- }
- }
- }
-
- var inputProto = HTMLInputElement.prototype
- Object.getOwnPropertyNames(inputProto) //故意引发IE6-8等浏览器报错
- setters["INPUT"] = Object.getOwnPropertyDescriptor(aproto, "value").set
- Object.defineProperty(aproto, "value", {
- set: newSetter
- })
- setters["TEXTAREA"] = Object.getOwnPropertyDescriptor(bproto, "value").set
- Object.defineProperty(bproto, "value", {
- set: newSetter
- })
- } catch (e) {
- watchValueInTimer = avalon.tick
- }
- }
-
- if (IEVersion) {
- avalon.bind(DOC, "selectionchange", function (e) {
- var el = DOC.activeElement
- if (el && typeof el.avalonSetter === "function") {
- el.avalonSetter()
- }
- })
- }
-
-//处理radio, checkbox, text, textarea, password
- duplexBinding.INPUT = function (element, evaluator, data) {
- var type = element.type,
- bound = data.bound,
- $elem = avalon(element),
- composing = false
-
- function callback(value) {
- data.changed.call(this, value, data)
- }
-
- function compositionStart() {
- composing = true
- }
-
- function compositionEnd() {
- composing = false
- }
-
- //当value变化时改变model的值
-
- function updateVModel() {
- if (composing) //处理中文输入法在minlengh下引发的BUG
- return
- var val = element.oldValue = element.value //防止递归调用形成死循环
- var lastValue = data.pipe(val, data, "get")
- if ($elem.data("duplex-observe") !== false) {
- evaluator(lastValue)
- callback.call(element, lastValue)
- if ($elem.data("duplex-focus")) {
- avalon.nextTick(function () {
- element.focus()
- })
- }
- }
- }
-
- //当model变化时,它就会改变value的值
- data.handler = function () {
- var val = data.pipe(evaluator(), data, "set")
- if (val !== element.oldValue) {
- element.value = val
- }
- }
- if (data.isChecked || element.type === "radio") {
- var IE6 = IEVersion === 6
- updateVModel = function () {
- if ($elem.data("duplex-observe") !== false) {
- var lastValue = data.pipe(element.value, data, "get")
- evaluator(lastValue)
- callback.call(element, lastValue)
- }
- }
- data.handler = function () {
- var val = evaluator()
- var checked = data.isChecked ? !!val : val + "" === element.value
- element.oldValue = checked
- if (IE6) {
- setTimeout(function () {
- //IE8 checkbox, radio是使用defaultChecked控制选中状态,
- //并且要先设置defaultChecked后设置checked
- //并且必须设置延迟
- element.defaultChecked = checked
- element.checked = checked
- }, 100)
- } else {
- element.checked = checked
- }
- }
- bound(IE6 ? "mouseup" : "click", updateVModel)
- } else if (type === "checkbox") {
- updateVModel = function () {
- if ($elem.data("duplex-observe") !== false) {
- var method = element.checked ? "ensure" : "remove"
- var array = evaluator()
- if (!Array.isArray(array)) {
- log("ms-duplex应用于checkbox上要对应一个数组")
- array = [array]
- }
- avalon.Array[method](array, data.pipe(element.value, data, "get"))
- callback.call(element, array)
- }
- }
-
- data.handler = function () {
- var array = [].concat(evaluator()) //强制转换为数组
- element.checked = array.indexOf(data.pipe(element.value, data, "get")) > -1
- }
- bound(W3C ? "change" : "click", updateVModel)
- } else {
- var events = element.getAttribute("data-duplex-event") || element.getAttribute("data-event") || "input"
- if (element.attributes["data-event"]) {
- log("data-event指令已经废弃,请改用data-duplex-event")
- }
- function delay(e) {
- setTimeout(function () {
- updateVModel(e)
- })
- }
-
- events.replace(rword, function (name) {
- switch (name) {
- case "input":
- if (!IEVersion) { // W3C
- bound("input", updateVModel)
- //非IE浏览器才用这个
- bound("compositionstart", compositionStart)
- bound("compositionend", compositionEnd)
- bound("DOMAutoComplete", updateVModel)
- } else { //onpropertychange事件无法区分是程序触发还是用户触发
- // IE下通过selectionchange事件监听IE9+点击input右边的X的清空行为,及粘贴,剪切,删除行为
- if (IEVersion > 8) {
- bound("input", updateVModel)//IE9使用propertychange无法监听中文输入改动
- } else {
- bound("propertychange", function (e) {//IE6-8下第一次修改时不会触发,需要使用keydown或selectionchange修正
- if (e.propertyName === "value") {
- updateVModel()
- }
- })
- }
- bound("dragend", delay)
- //http://www.cnblogs.com/rubylouvre/archive/2013/02/17/2914604.html
- //http://www.matts411.com/post/internet-explorer-9-oninput/
- }
- break
- default:
- bound(name, updateVModel)
- break
- }
- })
- }
- if (/text|password/.test(element.type)) {
- watchValueInTimer(function () {
- if (root.contains(element)) {
- if (element.value !== element.oldValue) {
- updateVModel()
- }
- } else if (!element.msRetain) {
- return false
- }
- })
- }
- element.avalonSetter = updateVModel
- element.oldValue = element.value
- registerSubscriber(data)
- callback.call(element, element.value)
- }
- duplexBinding.TEXTAREA = duplexBinding.INPUT
-
-
- duplexBinding.SELECT = function (element, evaluator, data) {
- var $elem = avalon(element)
-
- function updateVModel() {
- if ($elem.data("duplex-observe") !== false) {
- var val = $elem.val() //字符串或字符串数组
- if (Array.isArray(val)) {
- val = val.map(function (v) {
- return data.pipe(v, data, "get")
- })
- } else {
- val = data.pipe(val, data, "get")
- }
- if (val + "" !== element.oldValue) {
- evaluator(val)
- }
- data.changed.call(element, val, data)
- }
- }
-
- data.handler = function () {
- var val = evaluator()
- val = val && val.$model || val
- if (Array.isArray(val)) {
- if (!element.multiple) {
- log("ms-duplex在<select multiple=true>上要求对应一个数组")
- }
- } else {
- if (element.multiple) {
- log("ms-duplex在<select multiple=false>不能对应一个数组")
- }
- }
- //必须变成字符串后才能比较
- val = Array.isArray(val) ? val.map(String) : val + ""
- if (val + "" !== element.oldValue) {
- $elem.val(val)
- element.oldValue = val + ""
- }
- }
- data.bound("change", updateVModel)
- checkScan(element, function () {
- registerSubscriber(data)
- data.changed.call(element, evaluator(), data)
- }, NaN)
- }
-
-
- bindingHandlers.repeat = function (data, vmodels) {
- var type = data.type
- parseExprProxy(data.value, vmodels, data, 0, 1)
- data.proxies = []
- var freturn = false
- try {
- var $repeat = data.$repeat = data.evaluator.apply(0, data.args || [])
- var xtype = avalon.type($repeat)
- if (xtype !== "object" && xtype !== "array") {
- freturn = true
- avalon.log("warning:" + data.value + "对应类型不正确")
- }
- } catch (e) {
- freturn = true
- avalon.log("warning:" + data.value + "编译出错")
- }
-
- var arr = data.value.split(".") || []
- if (arr.length > 1) {
- arr.pop()
- var n = arr[0]
- for (var i = 0, v; v = vmodels[i++];) {
- if (v && v.hasOwnProperty(n)) {
- var events = v[n].$events || {}
- events[subscribers] = events[subscribers] || []
- events[subscribers].push(data)
- break
- }
- }
- }
- var elem = data.element
- elem.removeAttribute(data.name)
-
- data.sortedCallback = getBindingCallback(elem, "data-with-sorted", vmodels)
- data.renderedCallback = getBindingCallback(elem, "data-" + type + "-rendered", vmodels)
- var signature = generateID(type)
- var comment = data.element = DOC.createComment(signature + ":end")
- data.clone = DOC.createComment(signature)
- hyperspace.appendChild(comment)
-
- if (type === "each" || type === "with") {
- data.template = elem.innerHTML.trim()
- avalon.clearHTML(elem).appendChild(comment)
- } else {
- data.template = elem.outerHTML.trim()
- elem.parentNode.replaceChild(comment, elem)
- }
- data.template = avalon.parseHTML(data.template)
- data.rollback = function () {
- var elem = data.element
- if (!elem)
- return
- bindingExecutors.repeat.call(data, "clear")
- var parentNode = elem.parentNode
- var content = data.template
- var target = content.firstChild
- parentNode.replaceChild(content, elem)
- var start = data.$stamp
- start && start.parentNode && start.parentNode.removeChild(start)
- target = data.element = data.type === "repeat" ? target : parentNode
- }
- if (freturn) {
- return
- }
- data.handler = bindingExecutors.repeat
- data.$outer = {}
- var check0 = "$key"
- var check1 = "$val"
- if (Array.isArray($repeat)) {
- check0 = "$first"
- check1 = "$last"
- }
- for (var i = 0, p; p = vmodels[i++];) {
- if (p.hasOwnProperty(check0) && p.hasOwnProperty(check1)) {
- data.$outer = p
- break
- }
- }
- var $events = $repeat.$events
- var $list = ($events || {})[subscribers]
- if ($list && avalon.Array.ensure($list, data)) {
- addSubscribers(data, $list)
- }
- if (xtype === "object") {
- data.$with = true
- var pool = !$events ? {} : $events.$withProxyPool || ($events.$withProxyPool = {})
- data.handler("append", $repeat, pool)
- } else if ($repeat.length) {
- data.handler("add", 0, $repeat.length)
- }
- }
-
- bindingExecutors.repeat = function (method, pos, el) {
- if (method) {
- var data = this
- var end = data.element
- var parent = end.parentNode
- var proxies = data.proxies
- var transation = hyperspace.cloneNode(false)
- switch (method) {
- case "add": //在pos位置后添加el数组(pos为数字,el为数组)
- var n = pos + el
- var array = data.$repeat
- var last = array.length - 1
- var fragments = []
- var start = locateNode(data, pos)
- for (var i = pos; i < n; i++) {
- var proxy = eachProxyAgent(i, data)
- proxies.splice(i, 0, proxy)
- shimController(data, transation, proxy, fragments)
- }
- parent.insertBefore(transation, start)
- for (var i = 0, fragment; fragment = fragments[i++];) {
- scanNodeArray(fragment.nodes, fragment.vmodels)
- fragment.nodes = fragment.vmodels = null
- }
- break
- case "del": //将pos后的el个元素删掉(pos, el都是数字)
- start = proxies[pos].$stamp
- end = locateNode(data, pos + el)
- sweepNodes(start, end)
- var removed = proxies.splice(pos, el)
- recycleProxies(removed, "each")
- break
- case "clear":
- var check = data.$stamp || proxies[0]
- if (check) {
- start = check.$stamp || check
- sweepNodes(start, end)
- }
- recycleProxies(proxies, "each")
- break
- case "move":
- start = proxies[0].$stamp
- var signature = start.nodeValue
- var rooms = []
- var room = [], node
- sweepNodes(start, end, function () {
- room.unshift(this)
- if (this.nodeValue === signature) {
- rooms.unshift(room)
- room = []
- }
- })
- sortByIndex(proxies, pos)
- sortByIndex(rooms, pos)
- while (room = rooms.shift()) {
- while (node = room.shift()) {
- transation.appendChild(node)
- }
- }
- parent.insertBefore(transation, end)
- break
- case "index": //将proxies中的第pos个起的所有元素重新索引
- var last = proxies.length - 1
- for (; el = proxies[pos]; pos++) {
- el.$index = pos
- el.$first = pos === 0
- el.$last = pos === last
- }
- return
- case "set": //将proxies中的第pos个元素的VM设置为el(pos为数字,el任意)
- var proxy = proxies[pos]
- if (proxy) {
- notifySubscribers(proxy.$events.$index)
- }
- return
- case "append": //将pos的键值对从el中取出(pos为一个普通对象,el为预先生成好的代理VM对象池)
- var pool = el
- var keys = []
- var fragments = []
- for (var key in pos) { //得到所有键名
- if (pos.hasOwnProperty(key) && key !== "hasOwnProperty") {
- keys.push(key)
- }
- }
- if (data.sortedCallback) { //如果有回调,则让它们排序
- var keys2 = data.sortedCallback.call(parent, keys)
- if (keys2 && Array.isArray(keys2) && keys2.length) {
- keys = keys2
- }
- }
- for (var i = 0, key; key = keys[i++];) {
- if (key !== "hasOwnProperty") {
- if (!pool[key]) {
- pool[key] = withProxyAgent(key, data)
- }
- shimController(data, transation, pool[key], fragments)
- }
- }
- var comment = data.$stamp = data.clone
- parent.insertBefore(comment, end)
- parent.insertBefore(transation, end)
- for (var i = 0, fragment; fragment = fragments[i++];) {
- scanNodeArray(fragment.nodes, fragment.vmodels)
- fragment.nodes = fragment.vmodels = null
- }
- break
- }
- if (method === "clear")
- method = "del"
- var callback = data.renderedCallback || noop,
- args = arguments
- checkScan(parent, function () {
- callback.apply(parent, args)
- if (parent.oldValue && parent.tagName === "SELECT") { //fix #503
- avalon(parent).val(parent.oldValue.split(","))
- }
- }, NaN)
- }
- }
-
- "with,each".replace(rword, function (name) {
- bindingHandlers[name] = bindingHandlers.repeat
- })
-
- function shimController(data, transation, proxy, fragments) {
- var content = data.template.cloneNode(true)
- var nodes = avalon.slice(content.childNodes)
- if (proxy.$stamp) {
- content.insertBefore(proxy.$stamp, content.firstChild)
- }
- transation.appendChild(content)
- var nv = [proxy].concat(data.vmodels)
- var fragment = {
- nodes: nodes,
- vmodels: nv
- }
- fragments.push(fragment)
- }
-
- function locateNode(data, pos) {
- var proxy = data.proxies[pos]
- return proxy ? proxy.$stamp : data.element
- }
-
- function sweepNodes(start, end, callback) {
- while (true) {
- var node = end.previousSibling
- if (!node)
- break
- node.parentNode.removeChild(node)
- callback && callback.call(node)
- if (node === start) {
- break
- }
- }
- }
-
-// 为ms-each,ms-with, ms-repeat会创建一个代理VM,
-// 通过它们保持一个下上文,让用户能调用$index,$first,$last,$remove,$key,$val,$outer等属性与方法
-// 所有代理VM的产生,消费,收集,存放通过xxxProxyFactory,xxxProxyAgent, recycleProxies,xxxProxyPool实现
- var eachProxyPool = []
- var withProxyPool = []
-
- function eachProxyFactory(name) {
- var source = {
- $host: [],
- $outer: {},
- $stamp: 1,
- $index: 0,
- $first: false,
- $last: false,
- $remove: avalon.noop
- }
- source[name] = {
- get: function () {
- return this.$host[this.$index]
- },
- set: function (val) {
- this.$host.set(this.$index, val)
- }
- }
- var second = {
- $last: 1,
- $first: 1,
- $index: 1
- }
- var proxy = modelFactory(source, second)
- var e = proxy.$events
- e[name] = e.$first = e.$last = e.$index
- proxy.$id = generateID("$proxy$each")
- return proxy
- }
-
- function eachProxyAgent(index, data) {
- var param = data.param || "el", proxy
- for (var i = 0, n = eachProxyPool.length; i < n; i++) {
- var candidate = eachProxyPool[i]
- if (candidate && candidate.hasOwnProperty(param)) {
- proxy = candidate
- eachProxyPool.splice(i, 1)
- }
- }
- if (!proxy) {
- proxy = eachProxyFactory(param)
- }
- var host = data.$repeat
- var last = host.length - 1
- proxy.$index = index
- proxy.$first = index === 0
- proxy.$last = index === last
- proxy.$host = host
- proxy.$outer = data.$outer
- proxy.$stamp = data.clone.cloneNode(false)
- proxy.$remove = function () {
- return host.removeAt(proxy.$index)
- }
- return proxy
- }
-
- function withProxyFactory() {
- var proxy = modelFactory({
- $key: "",
- $outer: {},
- $host: {},
- $val: {
- get: function () {
- return this.$host[this.$key]
- },
- set: function (val) {
- this.$host[this.$key] = val
- }
- }
- }, {
- $val: 1
- })
- proxy.$id = generateID("$proxy$with")
- return proxy
- }
-
- function withProxyAgent(key, data) {
- var proxy = withProxyPool.pop()
- if (!proxy) {
- proxy = withProxyFactory()
- }
- var host = data.$repeat
- proxy.$key = key
- proxy.$host = host
- proxy.$outer = data.$outer
- if (host.$events) {
- proxy.$events.$val = host.$events[key]
- } else {
- proxy.$events = {}
- }
- return proxy
- }
-
- function recycleProxies(proxies, type) {
- var proxyPool = type === "each" ? eachProxyPool : withProxyPool
- avalon.each(proxies, function (key, proxy) {
- if (proxy.$events) {
- for (var i in proxy.$events) {
- if (Array.isArray(proxy.$events[i])) {
- proxy.$events[i].forEach(function (data) {
- if (typeof data === "object")
- disposeData(data)
- })
- proxy.$events[i].length = 0
- }
- }
- proxy.$host = proxy.$outer = {}
- if (proxyPool.unshift(proxy) > kernel.maxRepeatSize) {
- proxyPool.pop()
- }
- }
- })
- if (type === "each")
- proxies.length = 0
- }
-
-
- /*********************************************************************
- * 自带过滤器 *
- **********************************************************************/
- var rscripts = /<script[^>]*>([\S\s]*?)<\/script\s*>/gim
- var ron = /\s+(on[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g
- var ropen = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/ig
- var rsanitize = {
- a: /\b(href)\=("javascript[^"]*"|'javascript[^']*')/ig,
- img: /\b(src)\=("javascript[^"]*"|'javascript[^']*')/ig,
- form: /\b(action)\=("javascript[^"]*"|'javascript[^']*')/ig
- }
- var rsurrogate = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g
- var rnoalphanumeric = /([^\#-~| |!])/g;
-
- function numberFormat(number, decimals, dec_point, thousands_sep) {
- //form http://phpjs.org/functions/number_format/
- //number 必需,要格式化的数字
- //decimals 可选,规定多少个小数位。
- //dec_point 可选,规定用作小数点的字符串(默认为 . )。
- //thousands_sep 可选,规定用作千位分隔符的字符串(默认为 , ),如果设置了该参数,那么所有其他参数都是必需的。
- number = (number + '')
- .replace(/[^0-9+\-Ee.]/g, '')
- var n = !isFinite(+number) ? 0 : +number,
- prec = !isFinite(+decimals) ? 0 : Math.abs(decimals),
- sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep,
- dec = (typeof dec_point === 'undefined') ? '.' : dec_point,
- s = '',
- toFixedFix = function (n, prec) {
- var k = Math.pow(10, prec)
- return '' + (Math.round(n * k) / k)
- .toFixed(prec)
- }
- // Fix for IE parseFloat(0.55).toFixed(0) = 0;
- s = (prec ? toFixedFix(n, prec) : '' + Math.round(n))
- .split('.')
- if (s[0].length > 3) {
- s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep)
- }
- if ((s[1] || '')
- .length < prec) {
- s[1] = s[1] || ''
- s[1] += new Array(prec - s[1].length + 1)
- .join('0')
- }
- return s.join(dec)
- }
-
-
- var filters = avalon.filters = {
- uppercase: function (str) {
- return str.toUpperCase()
- },
- lowercase: function (str) {
- return str.toLowerCase()
- },
- truncate: function (str, length, truncation) {
- //length,新字符串长度,truncation,新字符串的结尾的字段,返回新字符串
- length = length || 30
- truncation = truncation === void(0) ? "..." : truncation
- return str.length > length ? str.slice(0, length - truncation.length) + truncation : String(str)
- },
- $filter: function (val) {
- for (var i = 1, n = arguments.length; i < n; i++) {
- var array = arguments[i]
- var fn = avalon.filters[array.shift()]
- if (typeof fn === "function") {
- var arr = [val].concat(array)
- val = fn.apply(null, arr)
- }
- }
- return val
- },
- camelize: camelize,
- //https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
- // <a href="javasc&NewLine;ript&colon;alert('XSS')">chrome</a>
- // <a href="data:text/html;base64, PGltZyBzcmM9eCBvbmVycm9yPWFsZXJ0KDEpPg==">chrome</a>
- // <a href="jav ascript:alert('XSS');">IE67chrome</a>
- // <a href="jav&#x09;ascript:alert('XSS');">IE67chrome</a>
- // <a href="jav&#x0A;ascript:alert('XSS');">IE67chrome</a>
- sanitize: function (str) {
- return str.replace(rscripts, "").replace(ropen, function (a, b) {
- var match = a.toLowerCase().match(/<(\w+)\s/)
- if (match) { //处理a标签的href属性,img标签的src属性,form标签的action属性
- var reg = rsanitize[match[1]]
- if (reg) {
- a = a.replace(reg, function (s, name, value) {
- var quote = value.charAt(0)
- return name + "=" + quote + "javascript:void(0)" + quote
- })
- }
- }
- return a.replace(ron, " ").replace(/\s+/g, " ") //移除onXXX事件
- })
- },
- escape: function (str) {
- //将字符串经过 str 转义得到适合在页面中显示的内容, 例如替换 < 为 &lt
- return String(str).
- replace(/&/g, '&amp;').
- replace(rsurrogate, function (value) {
- var hi = value.charCodeAt(0)
- var low = value.charCodeAt(1)
- return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';'
- }).
- replace(rnoalphanumeric, function (value) {
- return '&#' + value.charCodeAt(0) + ';'
- }).
- replace(/</g, '&lt;').
- replace(/>/g, '&gt;')
- },
- currency: function (amount, symbol, fractionSize) {
- return (symbol || "\uFFE5") + numberFormat(amount, isFinite(fractionSize) ? fractionSize : 2)
- },
- number: function (number, fractionSize) {
- return numberFormat(number, isFinite(fractionSize) ? fractionSize : 3)
- }
- }
- /*
- 'yyyy': 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010)
- 'yy': 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)
- 'y': 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199)
- 'MMMM': Month in year (January-December)
- 'MMM': Month in year (Jan-Dec)
- 'MM': Month in year, padded (01-12)
- 'M': Month in year (1-12)
- 'dd': Day in month, padded (01-31)
- 'd': Day in month (1-31)
- 'EEEE': Day in Week,(Sunday-Saturday)
- 'EEE': Day in Week, (Sun-Sat)
- 'HH': Hour in day, padded (00-23)
- 'H': Hour in day (0-23)
- 'hh': Hour in am/pm, padded (01-12)
- 'h': Hour in am/pm, (1-12)
- 'mm': Minute in hour, padded (00-59)
- 'm': Minute in hour (0-59)
- 'ss': Second in minute, padded (00-59)
- 's': Second in minute (0-59)
- 'a': am/pm marker
- 'Z': 4 digit (+sign) representation of the timezone offset (-1200-+1200)
- format string can also be one of the following predefined localizable formats:
-
- 'medium': equivalent to 'MMM d, y h:mm:ss a' for en_US locale (e.g. Sep 3, 2010 12:05:08 pm)
- 'short': equivalent to 'M/d/yy h:mm a' for en_US locale (e.g. 9/3/10 12:05 pm)
- 'fullDate': equivalent to 'EEEE, MMMM d,y' for en_US locale (e.g. Friday, September 3, 2010)
- 'longDate': equivalent to 'MMMM d, y' for en_US locale (e.g. September 3, 2010
- 'mediumDate': equivalent to 'MMM d, y' for en_US locale (e.g. Sep 3, 2010)
- 'shortDate': equivalent to 'M/d/yy' for en_US locale (e.g. 9/3/10)
- 'mediumTime': equivalent to 'h:mm:ss a' for en_US locale (e.g. 12:05:08 pm)
- 'shortTime': equivalent to 'h:mm a' for en_US locale (e.g. 12:05 pm)
- */
- new function () {
- function toInt(str) {
- return parseInt(str, 10)
- }
-
- function padNumber(num, digits, trim) {
- var neg = ""
- if (num < 0) {
- neg = '-'
- num = -num
- }
- num = "" + num
- while (num.length < digits)
- num = "0" + num
- if (trim)
- num = num.substr(num.length - digits)
- return neg + num
- }
-
- function dateGetter(name, size, offset, trim) {
- return function (date) {
- var value = date["get" + name]()
- if (offset > 0 || value > -offset)
- value += offset
- if (value === 0 && offset === -12) {
- value = 12
- }
- return padNumber(value, size, trim)
- }
- }
-
- function dateStrGetter(name, shortForm) {
- return function (date, formats) {
- var value = date["get" + name]()
- var get = (shortForm ? ("SHORT" + name) : name).toUpperCase()
- return formats[get][value]
- }
- }
-
- function timeZoneGetter(date) {
- var zone = -1 * date.getTimezoneOffset()
- var paddedZone = (zone >= 0) ? "+" : ""
- paddedZone += padNumber(Math[zone > 0 ? "floor" : "ceil"](zone / 60), 2) + padNumber(Math.abs(zone % 60), 2)
- return paddedZone
- }
-
- //取得上午下午
-
- function ampmGetter(date, formats) {
- return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1]
- }
-
- var DATE_FORMATS = {
- yyyy: dateGetter("FullYear", 4),
- yy: dateGetter("FullYear", 2, 0, true),
- y: dateGetter("FullYear", 1),
- MMMM: dateStrGetter("Month"),
- MMM: dateStrGetter("Month", true),
- MM: dateGetter("Month", 2, 1),
- M: dateGetter("Month", 1, 1),
- dd: dateGetter("Date", 2),
- d: dateGetter("Date", 1),
- HH: dateGetter("Hours", 2),
- H: dateGetter("Hours", 1),
- hh: dateGetter("Hours", 2, -12),
- h: dateGetter("Hours", 1, -12),
- mm: dateGetter("Minutes", 2),
- m: dateGetter("Minutes", 1),
- ss: dateGetter("Seconds", 2),
- s: dateGetter("Seconds", 1),
- sss: dateGetter("Milliseconds", 3),
- EEEE: dateStrGetter("Day"),
- EEE: dateStrGetter("Day", true),
- a: ampmGetter,
- Z: timeZoneGetter
- }
- var DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,
- NUMBER_STRING = /^\d+$/
- var riso8601 = /^(\d{4})-?(\d+)-?(\d+)(?:T(\d+)(?::?(\d+)(?::?(\d+)(?:\.(\d+))?)?)?(Z|([+-])(\d+):?(\d+))?)?$/
- // 1 2 3 4 5 6 7 8 9 10 11
-
- function jsonStringToDate(string) {
- var match
- if (match = string.match(riso8601)) {
- var date = new Date(0),
- tzHour = 0,
- tzMin = 0,
- dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear,
- timeSetter = match[8] ? date.setUTCHours : date.setHours
- if (match[9]) {
- tzHour = toInt(match[9] + match[10])
- tzMin = toInt(match[9] + match[11])
- }
- dateSetter.call(date, toInt(match[1]), toInt(match[2]) - 1, toInt(match[3]))
- var h = toInt(match[4] || 0) - tzHour
- var m = toInt(match[5] || 0) - tzMin
- var s = toInt(match[6] || 0)
- var ms = Math.round(parseFloat('0.' + (match[7] || 0)) * 1000)
- timeSetter.call(date, h, m, s, ms)
- return date
- }
- return string
- }
-
- var rfixYMD = /^(\d+)\D(\d+)\D(\d+)/
- filters.date = function (date, format) {
- var locate = filters.date.locate,
- text = "",
- parts = [],
- fn, match
- format = format || "mediumDate"
- format = locate[format] || format
- if (typeof date === "string") {
- if (NUMBER_STRING.test(date)) {
- date = toInt(date)
- } else {
- var trimDate = date.trim()
- date = trimDate.replace(rfixYMD, function (a, b, c, d) {
- var array = d.length === 4 ? [d, b, c] : [b, c, d]
- return array.join("-")
- })
- date = jsonStringToDate(date)
- }
- date = new Date(date)
- }
- if (typeof date === "number") {
- date = new Date(date)
- }
- if (avalon.type(date) !== "date") {
- return
- }
- while (format) {
- match = DATE_FORMATS_SPLIT.exec(format)
- if (match) {
- parts = parts.concat(match.slice(1))
- format = parts.pop()
- } else {
- parts.push(format)
- format = null
- }
- }
- parts.forEach(function (value) {
- fn = DATE_FORMATS[value]
- text += fn ? fn(date, locate) : value.replace(/(^'|'$)/g, "").replace(/''/g, "'")
- })
- return text
- }
- var locate = {
- AMPMS: {
- 0: "上午",
- 1: "下午"
- },
- DAY: {
- 0: "星期日",
- 1: "星期一",
- 2: "星期二",
- 3: "星期三",
- 4: "星期四",
- 5: "星期五",
- 6: "星期六"
- },
- MONTH: {
- 0: "1月",
- 1: "2月",
- 2: "3月",
- 3: "4月",
- 4: "5月",
- 5: "6月",
- 6: "7月",
- 7: "8月",
- 8: "9月",
- 9: "10月",
- 10: "11月",
- 11: "12月"
- },
- SHORTDAY: {
- "0": "周日",
- "1": "周一",
- "2": "周二",
- "3": "周三",
- "4": "周四",
- "5": "周五",
- "6": "周六"
- },
- fullDate: "y年M月d日EEEE",
- longDate: "y年M月d日",
- medium: "yyyy-M-d H:mm:ss",
- mediumDate: "yyyy-M-d",
- mediumTime: "H:mm:ss",
- "short": "yy-M-d ah:mm",
- shortDate: "yy-M-d",
- shortTime: "ah:mm"
- }
- locate.SHORTMONTH = locate.MONTH
- filters.date.locate = locate
- }
- /*********************************************************************
- * AMD加载器 *
- **********************************************************************/
- var modules = avalon.modules = {
- "ready!": {
- exports: avalon
- },
- "avalon": {
- exports: avalon,
- state: 2
- }
- }
- modules.exports = modules.avalon
-//http://stackoverflow.com/questions/25175914/bundles-in-requirejs
-//http://maxogden.com/nested-dependencies.html
- new function () {
- var loadings = [] //正在加载中的模块列表
- var factorys = [] //储存需要绑定ID与factory对应关系的模块(标准浏览器下,先parse的script节点会先onload)
-
- function trimHashAndQuery(url) {
- return (url || "").replace(/[?#].*/, "")
- }
-
- var cur = getCurrentScript(true) //求得当前avalon.js 所在的JS文件的路径
- if (!cur) { //处理window safari的Error没有stack的问题
- cur = DOC.scripts[DOC.scripts.length - 1].src
- }
- var url = trimHashAndQuery(cur)
- kernel.loaderUrl = url.slice(0, url.lastIndexOf("/") + 1)
-
- function getBaseUrl(parentUrl) {
- return kernel.baseUrl ? kernel.baseUrl : parentUrl ?
- parentUrl.substr(0, parentUrl.lastIndexOf("/")) :
- kernel.loaderUrl
- }
-
- function getCurrentScript(base) {
- // 参考 https://github.com/samyk/jiagra/blob/master/jiagra.js
- var stack
- try {
- a.b.c() //强制报错,以便捕获e.stack
- } catch (e) { //safari的错误对象只有line,sourceId,sourceURL
- stack = e.stack
- if (!stack && window.opera) {
- //opera 9没有e.stack,但有e.Backtrace,但不能直接取得,需要对e对象转字符串进行抽取
- stack = (String(e).match(/of linked script \S+/g) || []).join(" ")
- }
- }
- if (stack) {
- /**e.stack最后一行在所有支持的浏览器大致如下:
- *chrome23:
- * at http://113.93.50.63/data.js:4:1
- *firefox17:
- *@http://113.93.50.63/query.js:4
- *opera12:http://www.oldapps.com/opera.php?system=Windows_XP
- *@http://113.93.50.63/data.js:4
- *IE10:
- * at Global code (http://113.93.50.63/data.js:4:1)
- * //firefox4+ 可以用document.currentScript
- */
- stack = stack.split(/[@ ]/g).pop() //取得最后一行,最后一个空格或@之后的部分
- stack = stack[0] === "(" ? stack.slice(1, -1) : stack.replace(/\s/, "") //去掉换行符
- return stack.replace(/(:\d+)?:\d+$/i, "") //去掉行号与或许存在的出错字符起始位置
- }
- var nodes = (base ? DOC : head).getElementsByTagName("script") //只在head标签中寻找
- for (var i = nodes.length, node; node = nodes[--i];) {
- if ((base || node.className === subscribers) && node.readyState === "interactive") {
- var url = "1"[0] ? node.src : node.getAttribute("src", 4)
- return node.className = url
- }
- }
- }
-
- innerRequire = avalon.require = function (array, factory, parentUrl) {
- if (!Array.isArray(array)) {
- avalon.error("require的第一个参数必须是依赖列数,类型为数组 " + array)
- }
- var args = [] // 放置所有依赖项的完整路径
- var deps = {} // args的另一种表现形式,为的是方便去重
- var id = parentUrl || "callback" + setTimeout("1")
- parentUrl = getBaseUrl(parentUrl)
- array.forEach(function (el) {
- var url = loadResources(el, parentUrl) //加载资源,并返回能加载资源的完整路径
- if (url) {
- if (!deps[url]) {
- args.push(url)
- deps[url] = "司徒正美" //去重
- }
- }
- })
- if (!modules[id]) {
- //如果此模块是定义在另一个JS文件中, 那必须等该文件加载完毕
- //才能放到检测列队中
- loadings.push(id)
- }
- if (!modules[id] || modules[id].state !== 2) {
- modules[id] = makeModule(id, 1, factory, deps, args)//更新此模块信息
- }
-
- checkDeps()
- }
-
- innerRequire.define = function (urlOrId, deps, factory) { //模块名,依赖列表,模块本身
- var args = aslice.call(arguments)
- if (typeof urlOrId === "string") {
- var id = args.shift()
- }
- if (typeof args[0] === "function") {
- args.unshift([])
- }
- //上线合并后能直接得到模块ID,否则寻找当前正在解析中的script节点的src作为模块ID
- //现在除了safari5,1-外,我们都能直接通过getCurrentScript一步到位得到当前执行的script节点,
- //safari可通过onload+ factory.require闭包组合解决
- var url = modules[id] && modules[id].state >= 1 ? id : trimHashAndQuery(getCurrentScript())
- factory = args[1]
- factory.id = id //用于调试
-
- if (!modules[url] && id) {
- //必须先行定义,并且不存在deps,用于checkCycle方法
- modules[url] = makeModule(url, 1, factory)
- }
-
- factory.require = function (url) {
- args.push(url)
- var isCycle = true
- try {
- isCycle = checkCycle(modules[url].deps, url)
- } catch (e) {
- }
- if (isCycle) {
- avalon.error(url + "模块与之前的模块存在循环依赖,请不要直接用script标签引入" + url + "模块")
- }
-
- delete factory.require //释放内存
- innerRequire.apply(null, args) //0,1,2 --> 1,2,0
- }
- if (url) {
- factory.require(url)
- } else { //先进先出
- factorys.push(factory)
- }
- }
- innerRequire.define.amd = modules
-
- function checkCycle(deps, nick) {
- //检测是否存在循环依赖
- for (var id in deps) {
- if (deps[id] === "司徒正美" && modules[id].state !== 2 && (id === nick || checkCycle(modules[id].deps, nick))) {
- return true
- }
- }
- }
-
- function checkDeps() {
- //检测此JS模块的依赖是否都已安装完毕,是则安装自身
- loop: for (var i = loadings.length, id; id = loadings[--i];) {
-
- var obj = modules[id],
- deps = obj.deps
- for (var key in deps) {
- if (ohasOwn.call(deps, key) && modules[key].state !== 2) {
- continue loop
- }
- }
- //如果deps是空对象或者其依赖的模块的状态都是2
- if (obj.state !== 2) {
- loadings.splice(i, 1) //必须先移除再安装,防止在IE下DOM树建完后手动刷新页面,会多次执行它
- fireFactory(obj.id, obj.args, obj.factory)
- checkDeps() //如果成功,则再执行一次,以防有些模块就差本模块没有安装好
- }
- }
- }
-
- function checkFail(node, onError, fuckIE) {
- var id = trimHashAndQuery(node.src) //检测是否死链
- node.onload = node.onreadystatechange = node.onerror = null
- if (onError || (fuckIE && !modules[id].state)) {
- setTimeout(function () {
- head.removeChild(node)
- node = null // 处理旧式IE下的循环引用问题
- })
- log("debug: 加载 " + id + " 失败" + onError + " " + (!modules[id].state))
- } else {
- return true
- }
- }
-
- function isAbsUrl(path) {
- //http://stackoverflow.com/questions/10687099/how-to-test-if-a-url-string-is-absolute-or-relative
- return /^(?:[a-z]+:)?\/\//i.test(String(path))
- }
-
- function getAbsUrl(url, baseUrl) {
- //http://stackoverflow.com/questions/470832/getting-an-absolute-url-from-a-relative-one-ie6-issue
- var oldBase = DOC.getElementsByTagName("base")[0]
- var oldHref = oldBase && oldBase.href
- var ourBase = oldBase || head.appendChild(DOC.createElement("base"))
- var node = DOC.createElement("a")
- ourBase.href = baseUrl
- node.href = url
- try {
- return "1"[0] ? node.href : node.getAttribute("href", 4)
- } finally {
- if (oldBase) {
- oldBase.href = oldHref
- } else {
- head.removeChild(ourBase)
- }
- }
- }
-
- var rdeuce = /\/\w+\/\.\./
-
- function joinPath(a, b) {
- if (a.charAt(a.length - 1) !== "/") {
- a += "/"
- }
- if (b.slice(0, 2) === "./") { //相对于兄弟路径
- return a + b.slice(2)
- }
- if (b.slice(0, 2) === "..") { //相对于父路径
- a += b
- while (rdeuce.test(a)) {
- a = a.replace(rdeuce, "")
- }
- return a
- }
- if (b.slice(0, 1) === "/") {
- return a + b.slice(1)
- }
- return a + b
- }
-
- function makeShimExports(value) {
- function fn() {
- var ret;
- if (value.init) {
- ret = value.init.apply(window, arguments);
- }
- return ret || (value.exports && getGlobal(value.exports));
- }
-
- return fn
- }
-
- function makeModule(id, state, factory, deps, args) {
- return {
- id: id,
- state: state || 1,
- factory: factory || noop,
- deps: deps || {},
- args: args || []
- }
- }
-
- function getGlobal(value) {
- if (!value) {
- return value;
- }
- var g = window
- value.split('.').forEach(function (part) {
- g = g[part]
- })
- return g;
- }
-
- function loadResources(url, parentUrl) {
- //1. 特别处理ready标识符
- if (url === "ready!" || (modules[url] && modules[url].state === 2)) {
- return url
- }
- //2. 获取text! css! 等插件名
- var plugin
- url = url.replace(/^\w+!/, function (a) {
- plugin = a.slice(0, -1)
- return ""
- })
- plugin = plugin || "js"
- plugin = plugins[plugin] || noop
- //3. 处理shim配置项
- var shim = kernel.shim[url]
- if (typeof shim === "object") {
- if (Array.isArray(shim)) {
- shim = kernel.shim[url] = {
- deps: shim
- }
- }
- if (!shim.exportsFn && (shim.exports || shim.init)) {
- shim.exportsFn = makeShimExports(shim)
- }
- }
- //4. 处理paths配置项
- url = url.split("/");
- for (var i = url.length, parentModule, parentPath; i > 0; i -= 1) {
- parentModule = url.slice(0, i).join('/');
-
- parentPath = kernel.paths[parentModule];
- if (parentPath) {
- //If an array, it means there are a few choices,
- //Choose the one that is desired
- if (Array.isArray(parentPath)) {
- parentPath = parentPath[0];
- }
- url.splice(0, i, parentPath);
- break;
- }
- }
- //Join the path parts together, then figure out if baseUrl is needed.
- url = url.join('/');
- //5. 补全扩展名
- url = trimHashAndQuery(url)
- var ext = plugin.ext
- if (ext) {
- if (url.slice(0 - ext.length) !== ext) {
- url += ext
- }
- }
- //5. 转换为绝对路径
- if (!isAbsUrl(url)) {
- url = joinPath(parentUrl, url)
- if (!isAbsUrl(url)) {
- url = getAbsUrl(url, getBaseUrl())
- }
- }
- //6. 缓存处理
- if (kernel.nocache) {
- url += (url.indexOf("?") === -1 ? "?" : "&") + (new Date - 0)
- }
- return plugin(url, shim)
- }
-
- function loadJS(url, id, callback) {
- //通过script节点加载目标模块
- var node = DOC.createElement("script")
- node.className = subscribers //让getCurrentScript只处理类名为subscribers的script节点
- node[W3C ? "onload" : "onreadystatechange"] = function () {
- if (W3C || /loaded|complete/i.test(node.readyState)) {
- //mass Framework会在_checkFail把它上面的回调清掉,尽可能释放回存,尽管DOM0事件写法在IE6下GC无望
- var factory = factorys.pop()
-
- factory && factory.require(id)
- if (callback) {
- callback()
- }
- if (checkFail(node, false, !W3C)) {
- log("debug: 已成功加载 " + url)
- loadings.push(id)
- checkDeps()
- }
- }
- }
- node.onerror = function () {
- checkFail(node, true)
- }
- node.src = url //插入到head的第一个节点前,防止IE6下head标签没闭合前使用appendChild抛错
- head.insertBefore(node, head.firstChild) //chrome下第二个参数不能为null
- log("debug: 正准备加载 " + url) //更重要的是IE6下可以收窄getCurrentScript的寻找范围
- }
-
- function fireFactory(id, deps, factory) {
- var module = Object(modules[id])
- module.state = 2
- for (var i = 0, array = [], d; d = deps[i++];) {
- if (d === "exports") {
- var obj = module.exports || (module.exports = {})
- array.push(obj)
- } else {
- array.push(modules[d].exports)
- }
- }
- var ret = factory.apply(window, array)
- if (ret !== void 0) {
- modules[id].exports = ret
- }
- return ret
- }
-
-
- kernel.packages = []
- kernel.pkgs = {}
- jsSuffixRegExp = /\.js$/
- currDirRegExp = /^\.\//
- plugins.packages = function (array) {
- for (var i = 0; i < array.length; i++) {
- var pkgObj = array[i]
- pkgObj = typeof pkgObj === "string" ? {name: pkgObj} : pkgObj
- var name = pkgObj.name;
- var location = pkgObj.location;
- if (location) {
- kernel.paths[name] = pkgObj.location
- }
- //Save pointer to main module ID for pkg name.
- //Remove leading dot in main, so main paths are normalized,
- //and remove any trailing .js, since different package
- //envs have different conventions: some use a module name,
- //some use a file name.
- kernel.pkgs[name] = pkgObj.name + "/" + (pkgObj.main || "main")
- .replace(currDirRegExp, "")
- .replace(jsSuffixRegExp, "")
- }
- }
-
-
- plugins.js = function (url, shim) {
- var id = trimHashAndQuery(url)
- if (!modules[id]) { //如果之前没有加载过
- var module = modules[id] = makeModule(id)
- if (shim) { //shim机制
- innerRequire(shim.deps || [], function () {
- var args = avalon.slice(arguments)
- loadJS(url, id, function () {
- module.state = 2
- if (shim.exportsFn) {
- module.exports = shim.exportsFn.apply(0, args)
- }
- innerRequire.checkDeps()
- })
- })
- } else {
- loadJS(url, id)
- }
- }
- return id
- }
- plugins.css = function (url) {
- var id = trimHashAndQuery(url).replace(/\W/g, "_") ////用于处理掉href中的hash与所有特殊符号
- if (!DOC.getElementById(id)) {
- var node = DOC.createElement("link")
- node.rel = "stylesheet"
- node.href = url
- node.id = id
- head.insertBefore(node, head.firstChild)
- }
- }
- plugins.css.ext = ".css"
- plugins.js.ext = ".js"
-
- plugins.text = function (url) {
- var xhr = getXHR()
- var id = trimHashAndQuery(url)
- modules[id] = {}
- xhr.onreadystatechange = function () {
- if (xhr.readyState === 4) {
- var status = xhr.status;
- if (status > 399 && status < 600) {
- avalon.error(url + " 对应资源不存在或没有开启 CORS")
- } else {
- modules[id].state = 2
- modules[id].exports = xhr.responseText
- innerRequire.checkDeps()
- }
- }
- }
- xhr.open("GET", url, true)
- if ("withCredentials" in xhr) {
- xhr.withCredentials = true
- }
- xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")
- xhr.send()
- return id
- }
-
- innerRequire.config = kernel
- innerRequire.checkDeps = checkDeps
- }
-
- /*********************************************************************
- * DOMReady *
- **********************************************************************/
-
- var readyList = []
-
- function fireReady() {
- if (DOC.body) { // 在IE8 iframe中doScrollCheck可能不正确
- if (innerRequire) {
- modules["ready!"].state = 2
- innerRequire.checkDeps()
- } else {
- readyList.forEach(function (a) {
- a(avalon)
- })
- }
- fireReady = noop //隋性函数,防止IE9二次调用_checkDeps
- }
- }
-
- function doScrollCheck() {
- try { //IE下通过doScrollCheck检测DOM树是否建完
- root.doScroll("left")
- fireReady()
- } catch (e) {
- setTimeout(doScrollCheck)
- }
- }
-
- if (DOC.readyState === "complete") {
- setTimeout(fireReady) //如果在domReady之外加载
- } else if (W3C) {
- DOC.addEventListener("DOMContentLoaded", fireReady)
- } else {
- DOC.attachEvent("onreadystatechange", function () {
- if (DOC.readyState === "complete") {
- fireReady()
- }
- })
- var isFrame;
- try {
- isFrame = window.frameElement != null//当前页面处于iframe中时,访问frameElement会抛出不允许跨域访问异常
- }
- catch (e) {
- isFrame = true
- }
- if (root.doScroll && !isFrame) {//只有不处于iframe时才用doScroll判断,否则可能会不准
- doScrollCheck()
- }
- }
- avalon.bind(window, "load", fireReady)
-
- avalon.ready = function (fn) {
- if (innerRequire) {
- innerRequire(["ready!"], fn)
- } else if (fireReady === noop) {
- fn(avalon)
- } else {
- readyList.push(fn)
- }
- }
-
- avalon.config({
- loader: true
- })
-
- avalon.ready(function () {
- avalon.scan(DOC.body)
- })
-
-// Register as a named AMD module, since avalon can be concatenated with other
-// files that may use define, but not via a proper concatenation script that
-// understands anonymous AMD modules. A named AMD is safest and most robust
-// way to register. Lowercase avalon is used because AMD module names are
-// derived from file names, and Avalon is normally delivered in a lowercase
-// file name. Do this after creating the global so that if an AMD module wants
-// to call noConflict to hide this version of avalon, it will work.
-
-// Note that for maximum portability, libraries that are not avalon should
-// declare themselves as anonymous modules, and avoid setting a global if an
-// AMD loader is present. avalon is a special case. For more information, see
-// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon
- if (typeof define === "function" && define.amd) {
- define("avalon", [], function () {
- return avalon
- })
- }
-// Map over avalon in case of overwrite
- var _avalon = window.avalon
- avalon.noConflict = function (deep) {
- if (deep && window.avalon === avalon) {
- window.avalon = avalon
- }
- return avalon
- }
-// Expose avalon and $ identifiers, even in AMD
-// and CommonJS for browser emulators
- if (noGlobal === void 0) {
- window.avalon = avalon
- }
- return avalon
-
-}));
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/d3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/d3.js
deleted file mode 100644
index eafe91d9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/d3.js
+++ /dev/null
@@ -1,9925 +0,0 @@
-!function () {
- var d3 = {
- version: "3.4.12"
- };
- if (!Date.now) Date.now = function () {
- return +new Date();
- };
- var d3_arraySlice = [].slice, d3_array = function (list) {
- return d3_arraySlice.call(list);
- };
- var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
- try {
- d3_array(d3_documentElement.childNodes)[0].nodeType;
- } catch (e) {
- d3_array = function (list) {
- var i = list.length, array = new Array(i);
- while (i--) array[i] = list[i];
- return array;
- };
- }
- try {
- d3_document.createElement("div").style.setProperty("opacity", 0, "");
- } catch (error) {
- var d3_element_prototype = d3_window.Element.prototype, d3_element_setAttribute = d3_element_prototype.setAttribute, d3_element_setAttributeNS = d3_element_prototype.setAttributeNS, d3_style_prototype = d3_window.CSSStyleDeclaration.prototype, d3_style_setProperty = d3_style_prototype.setProperty;
- d3_element_prototype.setAttribute = function (name, value) {
- d3_element_setAttribute.call(this, name, value + "");
- };
- d3_element_prototype.setAttributeNS = function (space, local, value) {
- d3_element_setAttributeNS.call(this, space, local, value + "");
- };
- d3_style_prototype.setProperty = function (name, value, priority) {
- d3_style_setProperty.call(this, name, value + "", priority);
- };
- }
- d3.ascending = d3_ascending;
- function d3_ascending(a, b) {
- return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
- }
-
- d3.descending = function (a, b) {
- return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;
- };
- d3.min = function (array, f) {
- var i = -1, n = array.length, a, b;
- if (arguments.length === 1) {
- while (++i < n && !((a = array[i]) != null && a <= a)) a = undefined;
- while (++i < n) if ((b = array[i]) != null && a > b) a = b;
- } else {
- while (++i < n && !((a = f.call(array, array[i], i)) != null && a <= a)) a = undefined;
- while (++i < n) if ((b = f.call(array, array[i], i)) != null && a > b) a = b;
- }
- return a;
- };
- d3.max = function (array, f) {
- var i = -1, n = array.length, a, b;
- if (arguments.length === 1) {
- while (++i < n && !((a = array[i]) != null && a <= a)) a = undefined;
- while (++i < n) if ((b = array[i]) != null && b > a) a = b;
- } else {
- while (++i < n && !((a = f.call(array, array[i], i)) != null && a <= a)) a = undefined;
- while (++i < n) if ((b = f.call(array, array[i], i)) != null && b > a) a = b;
- }
- return a;
- };
- d3.extent = function (array, f) {
- var i = -1, n = array.length, a, b, c;
- if (arguments.length === 1) {
- while (++i < n && !((a = c = array[i]) != null && a <= a)) a = c = undefined;
- while (++i < n) if ((b = array[i]) != null) {
- if (a > b) a = b;
- if (c < b) c = b;
- }
- } else {
- while (++i < n && !((a = c = f.call(array, array[i], i)) != null && a <= a)) a = undefined;
- while (++i < n) if ((b = f.call(array, array[i], i)) != null) {
- if (a > b) a = b;
- if (c < b) c = b;
- }
- }
- return [a, c];
- };
- d3.sum = function (array, f) {
- var s = 0, n = array.length, a, i = -1;
- if (arguments.length === 1) {
- while (++i < n) if (!isNaN(a = +array[i])) s += a;
- } else {
- while (++i < n) if (!isNaN(a = +f.call(array, array[i], i))) s += a;
- }
- return s;
- };
- function d3_number(x) {
- return x != null && !isNaN(x);
- }
-
- d3.mean = function (array, f) {
- var s = 0, n = array.length, a, i = -1, j = n;
- if (arguments.length === 1) {
- while (++i < n) if (d3_number(a = array[i])) s += a; else --j;
- } else {
- while (++i < n) if (d3_number(a = f.call(array, array[i], i))) s += a; else --j;
- }
- return j ? s / j : undefined;
- };
- d3.quantile = function (values, p) {
- var H = (values.length - 1) * p + 1, h = Math.floor(H), v = +values[h - 1], e = H - h;
- return e ? v + e * (values[h] - v) : v;
- };
- d3.median = function (array, f) {
- if (arguments.length > 1) array = array.map(f);
- array = array.filter(d3_number);
- return array.length ? d3.quantile(array.sort(d3_ascending), .5) : undefined;
- };
- function d3_bisector(compare) {
- return {
- left: function (a, x, lo, hi) {
- if (arguments.length < 3) lo = 0;
- if (arguments.length < 4) hi = a.length;
- while (lo < hi) {
- var mid = lo + hi >>> 1;
- if (compare(a[mid], x) < 0) lo = mid + 1; else hi = mid;
- }
- return lo;
- },
- right: function (a, x, lo, hi) {
- if (arguments.length < 3) lo = 0;
- if (arguments.length < 4) hi = a.length;
- while (lo < hi) {
- var mid = lo + hi >>> 1;
- if (compare(a[mid], x) > 0) hi = mid; else lo = mid + 1;
- }
- return lo;
- }
- };
- }
-
- var d3_bisect = d3_bisector(d3_ascending);
- d3.bisectLeft = d3_bisect.left;
- d3.bisect = d3.bisectRight = d3_bisect.right;
- d3.bisector = function (f) {
- return d3_bisector(f.length === 1 ? function (d, x) {
- return d3_ascending(f(d), x);
- } : f);
- };
- d3.shuffle = function (array) {
- var m = array.length, t, i;
- while (m) {
- i = Math.random() * m-- | 0;
- t = array[m], array[m] = array[i], array[i] = t;
- }
- return array;
- };
- d3.permute = function (array, indexes) {
- var i = indexes.length, permutes = new Array(i);
- while (i--) permutes[i] = array[indexes[i]];
- return permutes;
- };
- d3.pairs = function (array) {
- var i = 0, n = array.length - 1, p0, p1 = array[0], pairs = new Array(n < 0 ? 0 : n);
- while (i < n) pairs[i] = [p0 = p1, p1 = array[++i]];
- return pairs;
- };
- d3.zip = function () {
- if (!(n = arguments.length)) return [];
- for (var i = -1, m = d3.min(arguments, d3_zipLength), zips = new Array(m); ++i < m;) {
- for (var j = -1, n, zip = zips[i] = new Array(n); ++j < n;) {
- zip[j] = arguments[j][i];
- }
- }
- return zips;
- };
- function d3_zipLength(d) {
- return d.length;
- }
-
- d3.transpose = function (matrix) {
- return d3.zip.apply(d3, matrix);
- };
- d3.keys = function (map) {
- var keys = [];
- for (var key in map) keys.push(key);
- return keys;
- };
- d3.values = function (map) {
- var values = [];
- for (var key in map) values.push(map[key]);
- return values;
- };
- d3.entries = function (map) {
- var entries = [];
- for (var key in map) entries.push({
- key: key,
- value: map[key]
- });
- return entries;
- };
- d3.merge = function (arrays) {
- var n = arrays.length, m, i = -1, j = 0, merged, array;
- while (++i < n) j += arrays[i].length;
- merged = new Array(j);
- while (--n >= 0) {
- array = arrays[n];
- m = array.length;
- while (--m >= 0) {
- merged[--j] = array[m];
- }
- }
- return merged;
- };
- var abs = Math.abs;
- d3.range = function (start, stop, step) {
- if (arguments.length < 3) {
- step = 1;
- if (arguments.length < 2) {
- stop = start;
- start = 0;
- }
- }
- if ((stop - start) / step === Infinity) throw new Error("infinite range");
- var range = [], k = d3_range_integerScale(abs(step)), i = -1, j;
- start *= k, stop *= k, step *= k;
- if (step < 0) while ((j = start + step * ++i) > stop) range.push(j / k); else while ((j = start + step * ++i) < stop) range.push(j / k);
- return range;
- };
- function d3_range_integerScale(x) {
- var k = 1;
- while (x * k % 1) k *= 10;
- return k;
- }
-
- function d3_class(ctor, properties) {
- try {
- for (var key in properties) {
- Object.defineProperty(ctor.prototype, key, {
- value: properties[key],
- enumerable: false
- });
- }
- } catch (e) {
- ctor.prototype = properties;
- }
- }
-
- d3.map = function (object) {
- var map = new d3_Map();
- if (object instanceof d3_Map) object.forEach(function (key, value) {
- map.set(key, value);
- }); else for (var key in object) map.set(key, object[key]);
- return map;
- };
- function d3_Map() {
- }
-
- d3_class(d3_Map, {
- has: d3_map_has,
- get: function (key) {
- return this[d3_map_prefix + key];
- },
- set: function (key, value) {
- return this[d3_map_prefix + key] = value;
- },
- remove: d3_map_remove,
- keys: d3_map_keys,
- values: function () {
- var values = [];
- this.forEach(function (key, value) {
- values.push(value);
- });
- return values;
- },
- entries: function () {
- var entries = [];
- this.forEach(function (key, value) {
- entries.push({
- key: key,
- value: value
- });
- });
- return entries;
- },
- size: d3_map_size,
- empty: d3_map_empty,
- forEach: function (f) {
- for (var key in this) if (key.charCodeAt(0) === d3_map_prefixCode) f.call(this, key.slice(1), this[key]);
- }
- });
- var d3_map_prefix = "\x00", d3_map_prefixCode = d3_map_prefix.charCodeAt(0);
-
- function d3_map_has(key) {
- return d3_map_prefix + key in this;
- }
-
- function d3_map_remove(key) {
- key = d3_map_prefix + key;
- return key in this && delete this[key];
- }
-
- function d3_map_keys() {
- var keys = [];
- this.forEach(function (key) {
- keys.push(key);
- });
- return keys;
- }
-
- function d3_map_size() {
- var size = 0;
- for (var key in this) if (key.charCodeAt(0) === d3_map_prefixCode) ++size;
- return size;
- }
-
- function d3_map_empty() {
- for (var key in this) if (key.charCodeAt(0) === d3_map_prefixCode) return false;
- return true;
- }
-
- d3.nest = function () {
- var nest = {}, keys = [], sortKeys = [], sortValues, rollup;
-
- function map(mapType, array, depth) {
- if (depth >= keys.length) return rollup ? rollup.call(nest, array) : sortValues ? array.sort(sortValues) : array;
- var i = -1, n = array.length, key = keys[depth++], keyValue, object, setter, valuesByKey = new d3_Map(), values;
- while (++i < n) {
- if (values = valuesByKey.get(keyValue = key(object = array[i]))) {
- values.push(object);
- } else {
- valuesByKey.set(keyValue, [object]);
- }
- }
- if (mapType) {
- object = mapType();
- setter = function (keyValue, values) {
- object.set(keyValue, map(mapType, values, depth));
- };
- } else {
- object = {};
- setter = function (keyValue, values) {
- object[keyValue] = map(mapType, values, depth);
- };
- }
- valuesByKey.forEach(setter);
- return object;
- }
-
- function entries(map, depth) {
- if (depth >= keys.length) return map;
- var array = [], sortKey = sortKeys[depth++];
- map.forEach(function (key, keyMap) {
- array.push({
- key: key,
- values: entries(keyMap, depth)
- });
- });
- return sortKey ? array.sort(function (a, b) {
- return sortKey(a.key, b.key);
- }) : array;
- }
-
- nest.map = function (array, mapType) {
- return map(mapType, array, 0);
- };
- nest.entries = function (array) {
- return entries(map(d3.map, array, 0), 0);
- };
- nest.key = function (d) {
- keys.push(d);
- return nest;
- };
- nest.sortKeys = function (order) {
- sortKeys[keys.length - 1] = order;
- return nest;
- };
- nest.sortValues = function (order) {
- sortValues = order;
- return nest;
- };
- nest.rollup = function (f) {
- rollup = f;
- return nest;
- };
- return nest;
- };
- d3.set = function (array) {
- var set = new d3_Set();
- if (array) for (var i = 0, n = array.length; i < n; ++i) set.add(array[i]);
- return set;
- };
- function d3_Set() {
- }
-
- d3_class(d3_Set, {
- has: d3_map_has,
- add: function (value) {
- this[d3_map_prefix + value] = true;
- return value;
- },
- remove: function (value) {
- value = d3_map_prefix + value;
- return value in this && delete this[value];
- },
- values: d3_map_keys,
- size: d3_map_size,
- empty: d3_map_empty,
- forEach: function (f) {
- for (var value in this) if (value.charCodeAt(0) === d3_map_prefixCode) f.call(this, value.slice(1));
- }
- });
- d3.behavior = {};
- d3.rebind = function (target, source) {
- var i = 1, n = arguments.length, method;
- while (++i < n) target[method = arguments[i]] = d3_rebind(target, source, source[method]);
- return target;
- };
- function d3_rebind(target, source, method) {
- return function () {
- var value = method.apply(source, arguments);
- return value === source ? target : value;
- };
- }
-
- function d3_vendorSymbol(object, name) {
- if (name in object) return name;
- name = name.charAt(0).toUpperCase() + name.slice(1);
- for (var i = 0, n = d3_vendorPrefixes.length; i < n; ++i) {
- var prefixName = d3_vendorPrefixes[i] + name;
- if (prefixName in object) return prefixName;
- }
- }
-
- var d3_vendorPrefixes = ["webkit", "ms", "moz", "Moz", "o", "O"];
-
- function d3_noop() {
- }
-
- d3.dispatch = function () {
- var dispatch = new d3_dispatch(), i = -1, n = arguments.length;
- while (++i < n) dispatch[arguments[i]] = d3_dispatch_event(dispatch);
- return dispatch;
- };
- function d3_dispatch() {
- }
-
- d3_dispatch.prototype.on = function (type, listener) {
- var i = type.indexOf("."), name = "";
- if (i >= 0) {
- name = type.slice(i + 1);
- type = type.slice(0, i);
- }
- if (type) return arguments.length < 2 ? this[type].on(name) : this[type].on(name, listener);
- if (arguments.length === 2) {
- if (listener == null) for (type in this) {
- if (this.hasOwnProperty(type)) this[type].on(name, null);
- }
- return this;
- }
- };
- function d3_dispatch_event(dispatch) {
- var listeners = [], listenerByName = new d3_Map();
-
- function event() {
- var z = listeners, i = -1, n = z.length, l;
- while (++i < n) if (l = z[i].on) l.apply(this, arguments);
- return dispatch;
- }
-
- event.on = function (name, listener) {
- var l = listenerByName.get(name), i;
- if (arguments.length < 2) return l && l.on;
- if (l) {
- l.on = null;
- listeners = listeners.slice(0, i = listeners.indexOf(l)).concat(listeners.slice(i + 1));
- listenerByName.remove(name);
- }
- if (listener) listeners.push(listenerByName.set(name, {
- on: listener
- }));
- return dispatch;
- };
- return event;
- }
-
- d3.event = null;
- function d3_eventPreventDefault() {
- d3.event.preventDefault();
- }
-
- function d3_eventSource() {
- var e = d3.event, s;
- while (s = e.sourceEvent) e = s;
- return e;
- }
-
- function d3_eventDispatch(target) {
- var dispatch = new d3_dispatch(), i = 0, n = arguments.length;
- while (++i < n) dispatch[arguments[i]] = d3_dispatch_event(dispatch);
- dispatch.of = function (thiz, argumentz) {
- return function (e1) {
- try {
- var e0 = e1.sourceEvent = d3.event;
- e1.target = target;
- d3.event = e1;
- dispatch[e1.type].apply(thiz, argumentz);
- } finally {
- d3.event = e0;
- }
- };
- };
- return dispatch;
- }
-
- d3.requote = function (s) {
- return s.replace(d3_requote_re, "\\$&");
- };
- var d3_requote_re = /[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;
- var d3_subclass = {}.__proto__ ? function (object, prototype) {
- object.__proto__ = prototype;
- } : function (object, prototype) {
- for (var property in prototype) object[property] = prototype[property];
- };
-
- function d3_selection(groups) {
- d3_subclass(groups, d3_selectionPrototype);
- return groups;
- }
-
- var d3_select = function (s, n) {
- return n.querySelector(s);
- }, d3_selectAll = function (s, n) {
- return n.querySelectorAll(s);
- }, d3_selectMatcher = d3_documentElement.matches || d3_documentElement[d3_vendorSymbol(d3_documentElement, "matchesSelector")], d3_selectMatches = function (n, s) {
- return d3_selectMatcher.call(n, s);
- };
- if (typeof Sizzle === "function") {
- d3_select = function (s, n) {
- return Sizzle(s, n)[0] || null;
- };
- d3_selectAll = Sizzle;
- d3_selectMatches = Sizzle.matchesSelector;
- }
- d3.selection = function () {
- return d3_selectionRoot;
- };
- var d3_selectionPrototype = d3.selection.prototype = [];
- d3_selectionPrototype.select = function (selector) {
- var subgroups = [], subgroup, subnode, group, node;
- selector = d3_selection_selector(selector);
- for (var j = -1, m = this.length; ++j < m;) {
- subgroups.push(subgroup = []);
- subgroup.parentNode = (group = this[j]).parentNode;
- for (var i = -1, n = group.length; ++i < n;) {
- if (node = group[i]) {
- subgroup.push(subnode = selector.call(node, node.__data__, i, j));
- if (subnode && "__data__" in node) subnode.__data__ = node.__data__;
- } else {
- subgroup.push(null);
- }
- }
- }
- return d3_selection(subgroups);
- };
- function d3_selection_selector(selector) {
- return typeof selector === "function" ? selector : function () {
- return d3_select(selector, this);
- };
- }
-
- d3_selectionPrototype.selectAll = function (selector) {
- var subgroups = [], subgroup, node;
- selector = d3_selection_selectorAll(selector);
- for (var j = -1, m = this.length; ++j < m;) {
- for (var group = this[j], i = -1, n = group.length; ++i < n;) {
- if (node = group[i]) {
- subgroups.push(subgroup = d3_array(selector.call(node, node.__data__, i, j)));
- subgroup.parentNode = node;
- }
- }
- }
- return d3_selection(subgroups);
- };
- function d3_selection_selectorAll(selector) {
- return typeof selector === "function" ? selector : function () {
- return d3_selectAll(selector, this);
- };
- }
-
- var d3_nsPrefix = {
- svg: "http://www.w3.org/2000/svg",
- xhtml: "http://www.w3.org/1999/xhtml",
- xlink: "http://www.w3.org/1999/xlink",
- xml: "http://www.w3.org/XML/1998/namespace",
- xmlns: "http://www.w3.org/2000/xmlns/"
- };
- d3.ns = {
- prefix: d3_nsPrefix,
- qualify: function (name) {
- var i = name.indexOf(":"), prefix = name;
- if (i >= 0) {
- prefix = name.slice(0, i);
- name = name.slice(i + 1);
- }
- return d3_nsPrefix.hasOwnProperty(prefix) ? {
- space: d3_nsPrefix[prefix],
- local: name
- } : name;
- }
- };
- d3_selectionPrototype.attr = function (name, value) {
- if (arguments.length < 2) {
- if (typeof name === "string") {
- var node = this.node();
- name = d3.ns.qualify(name);
- return name.local ? node.getAttributeNS(name.space, name.local) : node.getAttribute(name);
- }
- for (value in name) this.each(d3_selection_attr(value, name[value]));
- return this;
- }
- return this.each(d3_selection_attr(name, value));
- };
- function d3_selection_attr(name, value) {
- name = d3.ns.qualify(name);
- function attrNull() {
- this.removeAttribute(name);
- }
-
- function attrNullNS() {
- this.removeAttributeNS(name.space, name.local);
- }
-
- function attrConstant() {
- this.setAttribute(name, value);
- }
-
- function attrConstantNS() {
- this.setAttributeNS(name.space, name.local, value);
- }
-
- function attrFunction() {
- var x = value.apply(this, arguments);
- if (x == null) this.removeAttribute(name); else this.setAttribute(name, x);
- }
-
- function attrFunctionNS() {
- var x = value.apply(this, arguments);
- if (x == null) this.removeAttributeNS(name.space, name.local); else this.setAttributeNS(name.space, name.local, x);
- }
-
- return value == null ? name.local ? attrNullNS : attrNull : typeof value === "function" ? name.local ? attrFunctionNS : attrFunction : name.local ? attrConstantNS : attrConstant;
- }
-
- function d3_collapse(s) {
- return s.trim().replace(/\s+/g, " ");
- }
-
- d3_selectionPrototype.classed = function (name, value) {
- if (arguments.length < 2) {
- if (typeof name === "string") {
- var node = this.node(), n = (name = d3_selection_classes(name)).length, i = -1;
- if (value = node.classList) {
- while (++i < n) if (!value.contains(name[i])) return false;
- } else {
- value = node.getAttribute("class");
- while (++i < n) if (!d3_selection_classedRe(name[i]).test(value)) return false;
- }
- return true;
- }
- for (value in name) this.each(d3_selection_classed(value, name[value]));
- return this;
- }
- return this.each(d3_selection_classed(name, value));
- };
- function d3_selection_classedRe(name) {
- return new RegExp("(?:^|\\s+)" + d3.requote(name) + "(?:\\s+|$)", "g");
- }
-
- function d3_selection_classes(name) {
- return (name + "").trim().split(/^|\s+/);
- }
-
- function d3_selection_classed(name, value) {
- name = d3_selection_classes(name).map(d3_selection_classedName);
- var n = name.length;
-
- function classedConstant() {
- var i = -1;
- while (++i < n) name[i](this, value);
- }
-
- function classedFunction() {
- var i = -1, x = value.apply(this, arguments);
- while (++i < n) name[i](this, x);
- }
-
- return typeof value === "function" ? classedFunction : classedConstant;
- }
-
- function d3_selection_classedName(name) {
- var re = d3_selection_classedRe(name);
- return function (node, value) {
- if (c = node.classList) return value ? c.add(name) : c.remove(name);
- var c = node.getAttribute("class") || "";
- if (value) {
- re.lastIndex = 0;
- if (!re.test(c)) node.setAttribute("class", d3_collapse(c + " " + name));
- } else {
- node.setAttribute("class", d3_collapse(c.replace(re, " ")));
- }
- };
- }
-
- d3_selectionPrototype.style = function (name, value, priority) {
- var n = arguments.length;
- if (n < 3) {
- if (typeof name !== "string") {
- if (n < 2) value = "";
- for (priority in name) this.each(d3_selection_style(priority, name[priority], value));
- return this;
- }
- if (n < 2) return d3_window.getComputedStyle(this.node(), null).getPropertyValue(name);
- priority = "";
- }
- return this.each(d3_selection_style(name, value, priority));
- };
- function d3_selection_style(name, value, priority) {
- function styleNull() {
- this.style.removeProperty(name);
- }
-
- function styleConstant() {
- this.style.setProperty(name, value, priority);
- }
-
- function styleFunction() {
- var x = value.apply(this, arguments);
- if (x == null) this.style.removeProperty(name); else this.style.setProperty(name, x, priority);
- }
-
- return value == null ? styleNull : typeof value === "function" ? styleFunction : styleConstant;
- }
-
- d3_selectionPrototype.property = function (name, value) {
- if (arguments.length < 2) {
- if (typeof name === "string") return this.node()[name];
- for (value in name) this.each(d3_selection_property(value, name[value]));
- return this;
- }
- return this.each(d3_selection_property(name, value));
- };
- function d3_selection_property(name, value) {
- function propertyNull() {
- delete this[name];
- }
-
- function propertyConstant() {
- this[name] = value;
- }
-
- function propertyFunction() {
- var x = value.apply(this, arguments);
- if (x == null) delete this[name]; else this[name] = x;
- }
-
- return value == null ? propertyNull : typeof value === "function" ? propertyFunction : propertyConstant;
- }
-
- d3_selectionPrototype.text = function (value) {
- return arguments.length ? this.each(typeof value === "function" ? function () {
- var v = value.apply(this, arguments);
- this.textContent = v == null ? "" : v;
- } : value == null ? function () {
- this.textContent = "";
- } : function () {
- this.textContent = value;
- }) : this.node().textContent;
- };
- d3_selectionPrototype.html = function (value) {
- return arguments.length ? this.each(typeof value === "function" ? function () {
- var v = value.apply(this, arguments);
- this.innerHTML = v == null ? "" : v;
- } : value == null ? function () {
- this.innerHTML = "";
- } : function () {
- this.innerHTML = value;
- }) : this.node().innerHTML;
- };
- d3_selectionPrototype.append = function (name) {
- name = d3_selection_creator(name);
- return this.select(function () {
- return this.appendChild(name.apply(this, arguments));
- });
- };
- function d3_selection_creator(name) {
- return typeof name === "function" ? name : (name = d3.ns.qualify(name)).local ? function () {
- return this.ownerDocument.createElementNS(name.space, name.local);
- } : function () {
- return this.ownerDocument.createElementNS(this.namespaceURI, name);
- };
- }
-
- d3_selectionPrototype.insert = function (name, before) {
- name = d3_selection_creator(name);
- before = d3_selection_selector(before);
- return this.select(function () {
- return this.insertBefore(name.apply(this, arguments), before.apply(this, arguments) || null);
- });
- };
- d3_selectionPrototype.remove = function () {
- return this.each(function () {
- var parent = this.parentNode;
- if (parent) parent.removeChild(this);
- });
- };
- d3_selectionPrototype.data = function (value, key) {
- var i = -1, n = this.length, group, node;
- if (!arguments.length) {
- value = new Array(n = (group = this[0]).length);
- while (++i < n) {
- if (node = group[i]) {
- value[i] = node.__data__;
- }
- }
- return value;
- }
- function bind(group, groupData) {
- var i, n = group.length, m = groupData.length, n0 = Math.min(n, m), updateNodes = new Array(m), enterNodes = new Array(m), exitNodes = new Array(n), node, nodeData;
- if (key) {
- var nodeByKeyValue = new d3_Map(), dataByKeyValue = new d3_Map(), keyValues = [], keyValue;
- for (i = -1; ++i < n;) {
- keyValue = key.call(node = group[i], node.__data__, i);
- if (nodeByKeyValue.has(keyValue)) {
- exitNodes[i] = node;
- } else {
- nodeByKeyValue.set(keyValue, node);
- }
- keyValues.push(keyValue);
- }
- for (i = -1; ++i < m;) {
- keyValue = key.call(groupData, nodeData = groupData[i], i);
- if (node = nodeByKeyValue.get(keyValue)) {
- updateNodes[i] = node;
- node.__data__ = nodeData;
- } else if (!dataByKeyValue.has(keyValue)) {
- enterNodes[i] = d3_selection_dataNode(nodeData);
- }
- dataByKeyValue.set(keyValue, nodeData);
- nodeByKeyValue.remove(keyValue);
- }
- for (i = -1; ++i < n;) {
- if (nodeByKeyValue.has(keyValues[i])) {
- exitNodes[i] = group[i];
- }
- }
- } else {
- for (i = -1; ++i < n0;) {
- node = group[i];
- nodeData = groupData[i];
- if (node) {
- node.__data__ = nodeData;
- updateNodes[i] = node;
- } else {
- enterNodes[i] = d3_selection_dataNode(nodeData);
- }
- }
- for (; i < m; ++i) {
- enterNodes[i] = d3_selection_dataNode(groupData[i]);
- }
- for (; i < n; ++i) {
- exitNodes[i] = group[i];
- }
- }
- enterNodes.update = updateNodes;
- enterNodes.parentNode = updateNodes.parentNode = exitNodes.parentNode = group.parentNode;
- enter.push(enterNodes);
- update.push(updateNodes);
- exit.push(exitNodes);
- }
-
- var enter = d3_selection_enter([]), update = d3_selection([]), exit = d3_selection([]);
- if (typeof value === "function") {
- while (++i < n) {
- bind(group = this[i], value.call(group, group.parentNode.__data__, i));
- }
- } else {
- while (++i < n) {
- bind(group = this[i], value);
- }
- }
- update.enter = function () {
- return enter;
- };
- update.exit = function () {
- return exit;
- };
- return update;
- };
- function d3_selection_dataNode(data) {
- return {
- __data__: data
- };
- }
-
- d3_selectionPrototype.datum = function (value) {
- return arguments.length ? this.property("__data__", value) : this.property("__data__");
- };
- d3_selectionPrototype.filter = function (filter) {
- var subgroups = [], subgroup, group, node;
- if (typeof filter !== "function") filter = d3_selection_filter(filter);
- for (var j = 0, m = this.length; j < m; j++) {
- subgroups.push(subgroup = []);
- subgroup.parentNode = (group = this[j]).parentNode;
- for (var i = 0, n = group.length; i < n; i++) {
- if ((node = group[i]) && filter.call(node, node.__data__, i, j)) {
- subgroup.push(node);
- }
- }
- }
- return d3_selection(subgroups);
- };
- function d3_selection_filter(selector) {
- return function () {
- return d3_selectMatches(this, selector);
- };
- }
-
- d3_selectionPrototype.order = function () {
- for (var j = -1, m = this.length; ++j < m;) {
- for (var group = this[j], i = group.length - 1, next = group[i], node; --i >= 0;) {
- if (node = group[i]) {
- if (next && next !== node.nextSibling) next.parentNode.insertBefore(node, next);
- next = node;
- }
- }
- }
- return this;
- };
- d3_selectionPrototype.sort = function (comparator) {
- comparator = d3_selection_sortComparator.apply(this, arguments);
- for (var j = -1, m = this.length; ++j < m;) this[j].sort(comparator);
- return this.order();
- };
- function d3_selection_sortComparator(comparator) {
- if (!arguments.length) comparator = d3_ascending;
- return function (a, b) {
- return a && b ? comparator(a.__data__, b.__data__) : !a - !b;
- };
- }
-
- d3_selectionPrototype.each = function (callback) {
- return d3_selection_each(this, function (node, i, j) {
- callback.call(node, node.__data__, i, j);
- });
- };
- function d3_selection_each(groups, callback) {
- for (var j = 0, m = groups.length; j < m; j++) {
- for (var group = groups[j], i = 0, n = group.length, node; i < n; i++) {
- if (node = group[i]) callback(node, i, j);
- }
- }
- return groups;
- }
-
- d3_selectionPrototype.call = function (callback) {
- var args = d3_array(arguments);
- callback.apply(args[0] = this, args);
- return this;
- };
- d3_selectionPrototype.empty = function () {
- return !this.node();
- };
- d3_selectionPrototype.node = function () {
- for (var j = 0, m = this.length; j < m; j++) {
- for (var group = this[j], i = 0, n = group.length; i < n; i++) {
- var node = group[i];
- if (node) return node;
- }
- }
- return null;
- };
- d3_selectionPrototype.size = function () {
- var n = 0;
- d3_selection_each(this, function () {
- ++n;
- });
- return n;
- };
- function d3_selection_enter(selection) {
- d3_subclass(selection, d3_selection_enterPrototype);
- return selection;
- }
-
- var d3_selection_enterPrototype = [];
- d3.selection.enter = d3_selection_enter;
- d3.selection.enter.prototype = d3_selection_enterPrototype;
- d3_selection_enterPrototype.append = d3_selectionPrototype.append;
- d3_selection_enterPrototype.empty = d3_selectionPrototype.empty;
- d3_selection_enterPrototype.node = d3_selectionPrototype.node;
- d3_selection_enterPrototype.call = d3_selectionPrototype.call;
- d3_selection_enterPrototype.size = d3_selectionPrototype.size;
- d3_selection_enterPrototype.select = function (selector) {
- var subgroups = [], subgroup, subnode, upgroup, group, node;
- for (var j = -1, m = this.length; ++j < m;) {
- upgroup = (group = this[j]).update;
- subgroups.push(subgroup = []);
- subgroup.parentNode = group.parentNode;
- for (var i = -1, n = group.length; ++i < n;) {
- if (node = group[i]) {
- subgroup.push(upgroup[i] = subnode = selector.call(group.parentNode, node.__data__, i, j));
- subnode.__data__ = node.__data__;
- } else {
- subgroup.push(null);
- }
- }
- }
- return d3_selection(subgroups);
- };
- d3_selection_enterPrototype.insert = function (name, before) {
- if (arguments.length < 2) before = d3_selection_enterInsertBefore(this);
- return d3_selectionPrototype.insert.call(this, name, before);
- };
- function d3_selection_enterInsertBefore(enter) {
- var i0, j0;
- return function (d, i, j) {
- var group = enter[j].update, n = group.length, node;
- if (j != j0) j0 = j, i0 = 0;
- if (i >= i0) i0 = i + 1;
- while (!(node = group[i0]) && ++i0 < n) ;
- return node;
- };
- }
-
- d3_selectionPrototype.transition = function () {
- var id = d3_transitionInheritId || ++d3_transitionId, subgroups = [], subgroup, node, transition = d3_transitionInherit || {
- time: Date.now(),
- ease: d3_ease_cubicInOut,
- delay: 0,
- duration: 250
- };
- for (var j = -1, m = this.length; ++j < m;) {
- subgroups.push(subgroup = []);
- for (var group = this[j], i = -1, n = group.length; ++i < n;) {
- if (node = group[i]) d3_transitionNode(node, i, id, transition);
- subgroup.push(node);
- }
- }
- return d3_transition(subgroups, id);
- };
- d3_selectionPrototype.interrupt = function () {
- return this.each(d3_selection_interrupt);
- };
- function d3_selection_interrupt() {
- var lock = this.__transition__;
- if (lock) ++lock.active;
- }
-
- d3.select = function (node) {
- var group = [typeof node === "string" ? d3_select(node, d3_document) : node];
- group.parentNode = d3_documentElement;
- return d3_selection([group]);
- };
- d3.selectAll = function (nodes) {
- var group = d3_array(typeof nodes === "string" ? d3_selectAll(nodes, d3_document) : nodes);
- group.parentNode = d3_documentElement;
- return d3_selection([group]);
- };
- var d3_selectionRoot = d3.select(d3_documentElement);
- d3_selectionPrototype.on = function (type, listener, capture) {
- var n = arguments.length;
- if (n < 3) {
- if (typeof type !== "string") {
- if (n < 2) listener = false;
- for (capture in type) this.each(d3_selection_on(capture, type[capture], listener));
- return this;
- }
- if (n < 2) return (n = this.node()["__on" + type]) && n._;
- capture = false;
- }
- return this.each(d3_selection_on(type, listener, capture));
- };
- function d3_selection_on(type, listener, capture) {
- var name = "__on" + type, i = type.indexOf("."), wrap = d3_selection_onListener;
- if (i > 0) type = type.slice(0, i);
- var filter = d3_selection_onFilters.get(type);
- if (filter) type = filter, wrap = d3_selection_onFilter;
- function onRemove() {
- var l = this[name];
- if (l) {
- this.removeEventListener(type, l, l.$);
- delete this[name];
- }
- }
-
- function onAdd() {
- var l = wrap(listener, d3_array(arguments));
- onRemove.call(this);
- this.addEventListener(type, this[name] = l, l.$ = capture);
- l._ = listener;
- }
-
- function removeAll() {
- var re = new RegExp("^__on([^.]+)" + d3.requote(type) + "$"), match;
- for (var name in this) {
- if (match = name.match(re)) {
- var l = this[name];
- this.removeEventListener(match[1], l, l.$);
- delete this[name];
- }
- }
- }
-
- return i ? listener ? onAdd : onRemove : listener ? d3_noop : removeAll;
- }
-
- var d3_selection_onFilters = d3.map({
- mouseenter: "mouseover",
- mouseleave: "mouseout"
- });
- d3_selection_onFilters.forEach(function (k) {
- if ("on" + k in d3_document) d3_selection_onFilters.remove(k);
- });
- function d3_selection_onListener(listener, argumentz) {
- return function (e) {
- var o = d3.event;
- d3.event = e;
- argumentz[0] = this.__data__;
- try {
- listener.apply(this, argumentz);
- } finally {
- d3.event = o;
- }
- };
- }
-
- function d3_selection_onFilter(listener, argumentz) {
- var l = d3_selection_onListener(listener, argumentz);
- return function (e) {
- var target = this, related = e.relatedTarget;
- if (!related || related !== target && !(related.compareDocumentPosition(target) & 8)) {
- l.call(target, e);
- }
- };
- }
-
- var d3_event_dragSelect = "onselectstart" in d3_document ? null : d3_vendorSymbol(d3_documentElement.style, "userSelect"), d3_event_dragId = 0;
-
- function d3_event_dragSuppress() {
- var name = ".dragsuppress-" + ++d3_event_dragId, click = "click" + name, w = d3.select(d3_window).on("touchmove" + name, d3_eventPreventDefault).on("dragstart" + name, d3_eventPreventDefault).on("selectstart" + name, d3_eventPreventDefault);
- if (d3_event_dragSelect) {
- var style = d3_documentElement.style, select = style[d3_event_dragSelect];
- style[d3_event_dragSelect] = "none";
- }
- return function (suppressClick) {
- w.on(name, null);
- if (d3_event_dragSelect) style[d3_event_dragSelect] = select;
- if (suppressClick) {
- function off() {
- w.on(click, null);
- }
-
- w.on(click, function () {
- d3_eventPreventDefault();
- off();
- }, true);
- setTimeout(off, 0);
- }
- };
- }
-
- d3.mouse = function (container) {
- return d3_mousePoint(container, d3_eventSource());
- };
- var d3_mouse_bug44083 = /WebKit/.test(d3_window.navigator.userAgent) ? -1 : 0;
-
- function d3_mousePoint(container, e) {
- if (e.changedTouches) e = e.changedTouches[0];
- var svg = container.ownerSVGElement || container;
- if (svg.createSVGPoint) {
- var point = svg.createSVGPoint();
- if (d3_mouse_bug44083 < 0 && (d3_window.scrollX || d3_window.scrollY)) {
- svg = d3.select("body").append("svg").style({
- position: "absolute",
- top: 0,
- left: 0,
- margin: 0,
- padding: 0,
- border: "none"
- }, "important");
- var ctm = svg[0][0].getScreenCTM();
- d3_mouse_bug44083 = !(ctm.f || ctm.e);
- svg.remove();
- }
- if (d3_mouse_bug44083) point.x = e.pageX, point.y = e.pageY; else point.x = e.clientX,
- point.y = e.clientY;
- point = point.matrixTransform(container.getScreenCTM().inverse());
- return [point.x, point.y];
- }
- var rect = container.getBoundingClientRect();
- return [e.clientX - rect.left - container.clientLeft, e.clientY - rect.top - container.clientTop];
- }
-
- d3.touch = function (container, touches, identifier) {
- if (arguments.length < 3) identifier = touches, touches = d3_eventSource().changedTouches;
- if (touches) for (var i = 0, n = touches.length, touch; i < n; ++i) {
- if ((touch = touches[i]).identifier === identifier) {
- return d3_mousePoint(container, touch);
- }
- }
- };
- d3.behavior.drag = function () {
- var event = d3_eventDispatch(drag, "drag", "dragstart", "dragend"), origin = null, mousedown = dragstart(d3_noop, d3.mouse, d3_behavior_dragMouseSubject, "mousemove", "mouseup"), touchstart = dragstart(d3_behavior_dragTouchId, d3.touch, d3_behavior_dragTouchSubject, "touchmove", "touchend");
-
- function drag() {
- this.on("mousedown.drag", mousedown).on("touchstart.drag", touchstart);
- }
-
- function dragstart(id, position, subject, move, end) {
- return function () {
- var that = this, target = d3.event.target, parent = that.parentNode, dispatch = event.of(that, arguments), dragged = 0, dragId = id(), dragName = ".drag" + (dragId == null ? "" : "-" + dragId), dragOffset, dragSubject = d3.select(subject()).on(move + dragName, moved).on(end + dragName, ended), dragRestore = d3_event_dragSuppress(), position0 = position(parent, dragId);
- if (origin) {
- dragOffset = origin.apply(that, arguments);
- dragOffset = [dragOffset.x - position0[0], dragOffset.y - position0[1]];
- } else {
- dragOffset = [0, 0];
- }
- dispatch({
- type: "dragstart"
- });
- function moved() {
- var position1 = position(parent, dragId), dx, dy;
- if (!position1) return;
- dx = position1[0] - position0[0];
- dy = position1[1] - position0[1];
- dragged |= dx | dy;
- position0 = position1;
- dispatch({
- type: "drag",
- x: position1[0] + dragOffset[0],
- y: position1[1] + dragOffset[1],
- dx: dx,
- dy: dy
- });
- }
-
- function ended() {
- if (!position(parent, dragId)) return;
- dragSubject.on(move + dragName, null).on(end + dragName, null);
- dragRestore(dragged && d3.event.target === target);
- dispatch({
- type: "dragend"
- });
- }
- };
- }
-
- drag.origin = function (x) {
- if (!arguments.length) return origin;
- origin = x;
- return drag;
- };
- return d3.rebind(drag, event, "on");
- };
- function d3_behavior_dragTouchId() {
- return d3.event.changedTouches[0].identifier;
- }
-
- function d3_behavior_dragTouchSubject() {
- return d3.event.target;
- }
-
- function d3_behavior_dragMouseSubject() {
- return d3_window;
- }
-
- d3.touches = function (container, touches) {
- if (arguments.length < 2) touches = d3_eventSource().touches;
- return touches ? d3_array(touches).map(function (touch) {
- var point = d3_mousePoint(container, touch);
- point.identifier = touch.identifier;
- return point;
- }) : [];
- };
- var π = Math.PI, τ = 2 * π, halfπ = π / 2, ε = 1e-6, ε2 = ε * ε, d3_radians = π / 180, d3_degrees = 180 / π;
-
- function d3_sgn(x) {
- return x > 0 ? 1 : x < 0 ? -1 : 0;
- }
-
- function d3_cross2d(a, b, c) {
- return (b[0] - a[0]) * (c[1] - a[1]) - (b[1] - a[1]) * (c[0] - a[0]);
- }
-
- function d3_acos(x) {
- return x > 1 ? 0 : x < -1 ? π : Math.acos(x);
- }
-
- function d3_asin(x) {
- return x > 1 ? halfπ : x < -1 ? -halfπ : Math.asin(x);
- }
-
- function d3_sinh(x) {
- return ((x = Math.exp(x)) - 1 / x) / 2;
- }
-
- function d3_cosh(x) {
- return ((x = Math.exp(x)) + 1 / x) / 2;
- }
-
- function d3_tanh(x) {
- return ((x = Math.exp(2 * x)) - 1) / (x + 1);
- }
-
- function d3_haversin(x) {
- return (x = Math.sin(x / 2)) * x;
- }
-
- var ρ = Math.SQRT2, ρ2 = 2, ρ4 = 4;
- d3.interpolateZoom = function (p0, p1) {
- var ux0 = p0[0], uy0 = p0[1], w0 = p0[2], ux1 = p1[0], uy1 = p1[1], w1 = p1[2];
- var dx = ux1 - ux0, dy = uy1 - uy0, d2 = dx * dx + dy * dy, d1 = Math.sqrt(d2), b0 = (w1 * w1 - w0 * w0 + ρ4 * d2) / (2 * w0 * ρ2 * d1), b1 = (w1 * w1 - w0 * w0 - ρ4 * d2) / (2 * w1 * ρ2 * d1), r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0), r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1), dr = r1 - r0, S = (dr || Math.log(w1 / w0)) / ρ;
-
- function interpolate(t) {
- var s = t * S;
- if (dr) {
- var coshr0 = d3_cosh(r0), u = w0 / (ρ2 * d1) * (coshr0 * d3_tanh(ρ * s + r0) - d3_sinh(r0));
- return [ux0 + u * dx, uy0 + u * dy, w0 * coshr0 / d3_cosh(ρ * s + r0)];
- }
- return [ux0 + t * dx, uy0 + t * dy, w0 * Math.exp(ρ * s)];
- }
-
- interpolate.duration = S * 1e3;
- return interpolate;
- };
- d3.behavior.zoom = function () {
- var view = {
- x: 0,
- y: 0,
- k: 1
- }, translate0, center0, center, size = [960, 500], scaleExtent = d3_behavior_zoomInfinity, mousedown = "mousedown.zoom", mousemove = "mousemove.zoom", mouseup = "mouseup.zoom", mousewheelTimer, touchstart = "touchstart.zoom", touchtime, event = d3_eventDispatch(zoom, "zoomstart", "zoom", "zoomend"), x0, x1, y0, y1;
-
- function zoom(g) {
- g.on(mousedown, mousedowned).on(d3_behavior_zoomWheel + ".zoom", mousewheeled).on("dblclick.zoom", dblclicked).on(touchstart, touchstarted);
- }
-
- zoom.event = function (g) {
- g.each(function () {
- var dispatch = event.of(this, arguments), view1 = view;
- if (d3_transitionInheritId) {
- d3.select(this).transition().each("start.zoom", function () {
- view = this.__chart__ || {
- x: 0,
- y: 0,
- k: 1
- };
- zoomstarted(dispatch);
- }).tween("zoom:zoom", function () {
- var dx = size[0], dy = size[1], cx = dx / 2, cy = dy / 2, i = d3.interpolateZoom([(cx - view.x) / view.k, (cy - view.y) / view.k, dx / view.k], [(cx - view1.x) / view1.k, (cy - view1.y) / view1.k, dx / view1.k]);
- return function (t) {
- var l = i(t), k = dx / l[2];
- this.__chart__ = view = {
- x: cx - l[0] * k,
- y: cy - l[1] * k,
- k: k
- };
- zoomed(dispatch);
- };
- }).each("end.zoom", function () {
- zoomended(dispatch);
- });
- } else {
- this.__chart__ = view;
- zoomstarted(dispatch);
- zoomed(dispatch);
- zoomended(dispatch);
- }
- });
- };
- zoom.translate = function (_) {
- if (!arguments.length) return [view.x, view.y];
- view = {
- x: +_[0],
- y: +_[1],
- k: view.k
- };
- rescale();
- return zoom;
- };
- zoom.scale = function (_) {
- if (!arguments.length) return view.k;
- view = {
- x: view.x,
- y: view.y,
- k: +_
- };
- rescale();
- return zoom;
- };
- zoom.scaleExtent = function (_) {
- if (!arguments.length) return scaleExtent;
- scaleExtent = _ == null ? d3_behavior_zoomInfinity : [+_[0], +_[1]];
- return zoom;
- };
- zoom.center = function (_) {
- if (!arguments.length) return center;
- center = _ && [+_[0], +_[1]];
- return zoom;
- };
- zoom.size = function (_) {
- if (!arguments.length) return size;
- size = _ && [+_[0], +_[1]];
- return zoom;
- };
- zoom.x = function (z) {
- if (!arguments.length) return x1;
- x1 = z;
- x0 = z.copy();
- view = {
- x: 0,
- y: 0,
- k: 1
- };
- return zoom;
- };
- zoom.y = function (z) {
- if (!arguments.length) return y1;
- y1 = z;
- y0 = z.copy();
- view = {
- x: 0,
- y: 0,
- k: 1
- };
- return zoom;
- };
- function location(p) {
- return [(p[0] - view.x) / view.k, (p[1] - view.y) / view.k];
- }
-
- function point(l) {
- return [l[0] * view.k + view.x, l[1] * view.k + view.y];
- }
-
- function scaleTo(s) {
- view.k = Math.max(scaleExtent[0], Math.min(scaleExtent[1], s));
- }
-
- function translateTo(p, l) {
- l = point(l);
- view.x += p[0] - l[0];
- view.y += p[1] - l[1];
- }
-
- function rescale() {
- if (x1) x1.domain(x0.range().map(function (x) {
- return (x - view.x) / view.k;
- }).map(x0.invert));
- if (y1) y1.domain(y0.range().map(function (y) {
- return (y - view.y) / view.k;
- }).map(y0.invert));
- }
-
- function zoomstarted(dispatch) {
- dispatch({
- type: "zoomstart"
- });
- }
-
- function zoomed(dispatch) {
- rescale();
- dispatch({
- type: "zoom",
- scale: view.k,
- translate: [view.x, view.y]
- });
- }
-
- function zoomended(dispatch) {
- dispatch({
- type: "zoomend"
- });
- }
-
- function mousedowned() {
- var that = this, target = d3.event.target, dispatch = event.of(that, arguments), dragged = 0, subject = d3.select(d3_window).on(mousemove, moved).on(mouseup, ended), location0 = location(d3.mouse(that)), dragRestore = d3_event_dragSuppress();
- d3_selection_interrupt.call(that);
- zoomstarted(dispatch);
- function moved() {
- dragged = 1;
- translateTo(d3.mouse(that), location0);
- zoomed(dispatch);
- }
-
- function ended() {
- subject.on(mousemove, null).on(mouseup, null);
- dragRestore(dragged && d3.event.target === target);
- zoomended(dispatch);
- }
- }
-
- function touchstarted() {
- var that = this, dispatch = event.of(that, arguments), locations0 = {}, distance0 = 0, scale0, zoomName = ".zoom-" + d3.event.changedTouches[0].identifier, touchmove = "touchmove" + zoomName, touchend = "touchend" + zoomName, targets = [], subject = d3.select(that), dragRestore = d3_event_dragSuppress();
- d3_selection_interrupt.call(that);
- started();
- zoomstarted(dispatch);
- subject.on(mousedown, null).on(touchstart, started);
- function relocate() {
- var touches = d3.touches(that);
- scale0 = view.k;
- touches.forEach(function (t) {
- if (t.identifier in locations0) locations0[t.identifier] = location(t);
- });
- return touches;
- }
-
- function started() {
- var target = d3.event.target;
- d3.select(target).on(touchmove, moved).on(touchend, ended);
- targets.push(target);
- var changed = d3.event.changedTouches;
- for (var i = 0, n = changed.length; i < n; ++i) {
- locations0[changed[i].identifier] = null;
- }
- var touches = relocate(), now = Date.now();
- if (touches.length === 1) {
- if (now - touchtime < 500) {
- var p = touches[0], l = locations0[p.identifier];
- scaleTo(view.k * 2);
- translateTo(p, l);
- d3_eventPreventDefault();
- zoomed(dispatch);
- }
- touchtime = now;
- } else if (touches.length > 1) {
- var p = touches[0], q = touches[1], dx = p[0] - q[0], dy = p[1] - q[1];
- distance0 = dx * dx + dy * dy;
- }
- }
-
- function moved() {
- var touches = d3.touches(that), p0, l0, p1, l1;
- for (var i = 0, n = touches.length; i < n; ++i, l1 = null) {
- p1 = touches[i];
- if (l1 = locations0[p1.identifier]) {
- if (l0) break;
- p0 = p1, l0 = l1;
- }
- }
- if (l1) {
- var distance1 = (distance1 = p1[0] - p0[0]) * distance1 + (distance1 = p1[1] - p0[1]) * distance1, scale1 = distance0 && Math.sqrt(distance1 / distance0);
- p0 = [(p0[0] + p1[0]) / 2, (p0[1] + p1[1]) / 2];
- l0 = [(l0[0] + l1[0]) / 2, (l0[1] + l1[1]) / 2];
- scaleTo(scale1 * scale0);
- }
- touchtime = null;
- translateTo(p0, l0);
- zoomed(dispatch);
- }
-
- function ended() {
- if (d3.event.touches.length) {
- var changed = d3.event.changedTouches;
- for (var i = 0, n = changed.length; i < n; ++i) {
- delete locations0[changed[i].identifier];
- }
- for (var identifier in locations0) {
- return void relocate();
- }
- }
- d3.selectAll(targets).on(zoomName, null);
- subject.on(mousedown, mousedowned).on(touchstart, touchstarted);
- dragRestore();
- zoomended(dispatch);
- }
- }
-
- function mousewheeled() {
- var dispatch = event.of(this, arguments);
- if (mousewheelTimer) clearTimeout(mousewheelTimer); else translate0 = location(center0 = center || d3.mouse(this)),
- d3_selection_interrupt.call(this), zoomstarted(dispatch);
- mousewheelTimer = setTimeout(function () {
- mousewheelTimer = null;
- zoomended(dispatch);
- }, 50);
- d3_eventPreventDefault();
- scaleTo(Math.pow(2, d3_behavior_zoomDelta() * .002) * view.k);
- translateTo(center0, translate0);
- zoomed(dispatch);
- }
-
- function dblclicked() {
- var dispatch = event.of(this, arguments), p = d3.mouse(this), l = location(p), k = Math.log(view.k) / Math.LN2;
- zoomstarted(dispatch);
- scaleTo(Math.pow(2, d3.event.shiftKey ? Math.ceil(k) - 1 : Math.floor(k) + 1));
- translateTo(p, l);
- zoomed(dispatch);
- zoomended(dispatch);
- }
-
- return d3.rebind(zoom, event, "on");
- };
- var d3_behavior_zoomInfinity = [0, Infinity];
- var d3_behavior_zoomDelta, d3_behavior_zoomWheel = "onwheel" in d3_document ? (d3_behavior_zoomDelta = function () {
- return -d3.event.deltaY * (d3.event.deltaMode ? 120 : 1);
- }, "wheel") : "onmousewheel" in d3_document ? (d3_behavior_zoomDelta = function () {
- return d3.event.wheelDelta;
- }, "mousewheel") : (d3_behavior_zoomDelta = function () {
- return -d3.event.detail;
- }, "MozMousePixelScroll");
- d3.color = d3_color;
- function d3_color() {
- }
-
- d3_color.prototype.toString = function () {
- return this.rgb() + "";
- };
- d3.hsl = d3_hsl;
- function d3_hsl(h, s, l) {
- return this instanceof d3_hsl ? void (this.h = +h, this.s = +s, this.l = +l) : arguments.length < 2 ? h instanceof d3_hsl ? new d3_hsl(h.h, h.s, h.l) : d3_rgb_parse("" + h, d3_rgb_hsl, d3_hsl) : new d3_hsl(h, s, l);
- }
-
- var d3_hslPrototype = d3_hsl.prototype = new d3_color();
- d3_hslPrototype.brighter = function (k) {
- k = Math.pow(.7, arguments.length ? k : 1);
- return new d3_hsl(this.h, this.s, this.l / k);
- };
- d3_hslPrototype.darker = function (k) {
- k = Math.pow(.7, arguments.length ? k : 1);
- return new d3_hsl(this.h, this.s, k * this.l);
- };
- d3_hslPrototype.rgb = function () {
- return d3_hsl_rgb(this.h, this.s, this.l);
- };
- function d3_hsl_rgb(h, s, l) {
- var m1, m2;
- h = isNaN(h) ? 0 : (h %= 360) < 0 ? h + 360 : h;
- s = isNaN(s) ? 0 : s < 0 ? 0 : s > 1 ? 1 : s;
- l = l < 0 ? 0 : l > 1 ? 1 : l;
- m2 = l <= .5 ? l * (1 + s) : l + s - l * s;
- m1 = 2 * l - m2;
- function v(h) {
- if (h > 360) h -= 360; else if (h < 0) h += 360;
- if (h < 60) return m1 + (m2 - m1) * h / 60;
- if (h < 180) return m2;
- if (h < 240) return m1 + (m2 - m1) * (240 - h) / 60;
- return m1;
- }
-
- function vv(h) {
- return Math.round(v(h) * 255);
- }
-
- return new d3_rgb(vv(h + 120), vv(h), vv(h - 120));
- }
-
- d3.hcl = d3_hcl;
- function d3_hcl(h, c, l) {
- return this instanceof d3_hcl ? void (this.h = +h, this.c = +c, this.l = +l) : arguments.length < 2 ? h instanceof d3_hcl ? new d3_hcl(h.h, h.c, h.l) : h instanceof d3_lab ? d3_lab_hcl(h.l, h.a, h.b) : d3_lab_hcl((h = d3_rgb_lab((h = d3.rgb(h)).r, h.g, h.b)).l, h.a, h.b) : new d3_hcl(h, c, l);
- }
-
- var d3_hclPrototype = d3_hcl.prototype = new d3_color();
- d3_hclPrototype.brighter = function (k) {
- return new d3_hcl(this.h, this.c, Math.min(100, this.l + d3_lab_K * (arguments.length ? k : 1)));
- };
- d3_hclPrototype.darker = function (k) {
- return new d3_hcl(this.h, this.c, Math.max(0, this.l - d3_lab_K * (arguments.length ? k : 1)));
- };
- d3_hclPrototype.rgb = function () {
- return d3_hcl_lab(this.h, this.c, this.l).rgb();
- };
- function d3_hcl_lab(h, c, l) {
- if (isNaN(h)) h = 0;
- if (isNaN(c)) c = 0;
- return new d3_lab(l, Math.cos(h *= d3_radians) * c, Math.sin(h) * c);
- }
-
- d3.lab = d3_lab;
- function d3_lab(l, a, b) {
- return this instanceof d3_lab ? void (this.l = +l, this.a = +a, this.b = +b) : arguments.length < 2 ? l instanceof d3_lab ? new d3_lab(l.l, l.a, l.b) : l instanceof d3_hcl ? d3_hcl_lab(l.l, l.c, l.h) : d3_rgb_lab((l = d3_rgb(l)).r, l.g, l.b) : new d3_lab(l, a, b);
- }
-
- var d3_lab_K = 18;
- var d3_lab_X = .95047, d3_lab_Y = 1, d3_lab_Z = 1.08883;
- var d3_labPrototype = d3_lab.prototype = new d3_color();
- d3_labPrototype.brighter = function (k) {
- return new d3_lab(Math.min(100, this.l + d3_lab_K * (arguments.length ? k : 1)), this.a, this.b);
- };
- d3_labPrototype.darker = function (k) {
- return new d3_lab(Math.max(0, this.l - d3_lab_K * (arguments.length ? k : 1)), this.a, this.b);
- };
- d3_labPrototype.rgb = function () {
- return d3_lab_rgb(this.l, this.a, this.b);
- };
- function d3_lab_rgb(l, a, b) {
- var y = (l + 16) / 116, x = y + a / 500, z = y - b / 200;
- x = d3_lab_xyz(x) * d3_lab_X;
- y = d3_lab_xyz(y) * d3_lab_Y;
- z = d3_lab_xyz(z) * d3_lab_Z;
- return new d3_rgb(d3_xyz_rgb(3.2404542 * x - 1.5371385 * y - .4985314 * z), d3_xyz_rgb(-.969266 * x + 1.8760108 * y + .041556 * z), d3_xyz_rgb(.0556434 * x - .2040259 * y + 1.0572252 * z));
- }
-
- function d3_lab_hcl(l, a, b) {
- return l > 0 ? new d3_hcl(Math.atan2(b, a) * d3_degrees, Math.sqrt(a * a + b * b), l) : new d3_hcl(NaN, NaN, l);
- }
-
- function d3_lab_xyz(x) {
- return x > .206893034 ? x * x * x : (x - 4 / 29) / 7.787037;
- }
-
- function d3_xyz_lab(x) {
- return x > .008856 ? Math.pow(x, 1 / 3) : 7.787037 * x + 4 / 29;
- }
-
- function d3_xyz_rgb(r) {
- return Math.round(255 * (r <= .00304 ? 12.92 * r : 1.055 * Math.pow(r, 1 / 2.4) - .055));
- }
-
- d3.rgb = d3_rgb;
- function d3_rgb(r, g, b) {
- return this instanceof d3_rgb ? void (this.r = ~~r, this.g = ~~g, this.b = ~~b) : arguments.length < 2 ? r instanceof d3_rgb ? new d3_rgb(r.r, r.g, r.b) : d3_rgb_parse("" + r, d3_rgb, d3_hsl_rgb) : new d3_rgb(r, g, b);
- }
-
- function d3_rgbNumber(value) {
- return new d3_rgb(value >> 16, value >> 8 & 255, value & 255);
- }
-
- function d3_rgbString(value) {
- return d3_rgbNumber(value) + "";
- }
-
- var d3_rgbPrototype = d3_rgb.prototype = new d3_color();
- d3_rgbPrototype.brighter = function (k) {
- k = Math.pow(.7, arguments.length ? k : 1);
- var r = this.r, g = this.g, b = this.b, i = 30;
- if (!r && !g && !b) return new d3_rgb(i, i, i);
- if (r && r < i) r = i;
- if (g && g < i) g = i;
- if (b && b < i) b = i;
- return new d3_rgb(Math.min(255, r / k), Math.min(255, g / k), Math.min(255, b / k));
- };
- d3_rgbPrototype.darker = function (k) {
- k = Math.pow(.7, arguments.length ? k : 1);
- return new d3_rgb(k * this.r, k * this.g, k * this.b);
- };
- d3_rgbPrototype.hsl = function () {
- return d3_rgb_hsl(this.r, this.g, this.b);
- };
- d3_rgbPrototype.toString = function () {
- return "#" + d3_rgb_hex(this.r) + d3_rgb_hex(this.g) + d3_rgb_hex(this.b);
- };
- function d3_rgb_hex(v) {
- return v < 16 ? "0" + Math.max(0, v).toString(16) : Math.min(255, v).toString(16);
- }
-
- function d3_rgb_parse(format, rgb, hsl) {
- var r = 0, g = 0, b = 0, m1, m2, color;
- m1 = /([a-z]+)\((.*)\)/i.exec(format);
- if (m1) {
- m2 = m1[2].split(",");
- switch (m1[1]) {
- case "hsl":
- {
- return hsl(parseFloat(m2[0]), parseFloat(m2[1]) / 100, parseFloat(m2[2]) / 100);
- }
-
- case "rgb":
- {
- return rgb(d3_rgb_parseNumber(m2[0]), d3_rgb_parseNumber(m2[1]), d3_rgb_parseNumber(m2[2]));
- }
- }
- }
- if (color = d3_rgb_names.get(format)) return rgb(color.r, color.g, color.b);
- if (format != null && format.charAt(0) === "#" && !isNaN(color = parseInt(format.slice(1), 16))) {
- if (format.length === 4) {
- r = (color & 3840) >> 4;
- r = r >> 4 | r;
- g = color & 240;
- g = g >> 4 | g;
- b = color & 15;
- b = b << 4 | b;
- } else if (format.length === 7) {
- r = (color & 16711680) >> 16;
- g = (color & 65280) >> 8;
- b = color & 255;
- }
- }
- return rgb(r, g, b);
- }
-
- function d3_rgb_hsl(r, g, b) {
- var min = Math.min(r /= 255, g /= 255, b /= 255), max = Math.max(r, g, b), d = max - min, h, s, l = (max + min) / 2;
- if (d) {
- s = l < .5 ? d / (max + min) : d / (2 - max - min);
- if (r == max) h = (g - b) / d + (g < b ? 6 : 0); else if (g == max) h = (b - r) / d + 2; else h = (r - g) / d + 4;
- h *= 60;
- } else {
- h = NaN;
- s = l > 0 && l < 1 ? 0 : h;
- }
- return new d3_hsl(h, s, l);
- }
-
- function d3_rgb_lab(r, g, b) {
- r = d3_rgb_xyz(r);
- g = d3_rgb_xyz(g);
- b = d3_rgb_xyz(b);
- var x = d3_xyz_lab((.4124564 * r + .3575761 * g + .1804375 * b) / d3_lab_X), y = d3_xyz_lab((.2126729 * r + .7151522 * g + .072175 * b) / d3_lab_Y), z = d3_xyz_lab((.0193339 * r + .119192 * g + .9503041 * b) / d3_lab_Z);
- return d3_lab(116 * y - 16, 500 * (x - y), 200 * (y - z));
- }
-
- function d3_rgb_xyz(r) {
- return (r /= 255) <= .04045 ? r / 12.92 : Math.pow((r + .055) / 1.055, 2.4);
- }
-
- function d3_rgb_parseNumber(c) {
- var f = parseFloat(c);
- return c.charAt(c.length - 1) === "%" ? Math.round(f * 2.55) : f;
- }
-
- var d3_rgb_names = d3.map({
- aliceblue: 15792383,
- antiquewhite: 16444375,
- aqua: 65535,
- aquamarine: 8388564,
- azure: 15794175,
- beige: 16119260,
- bisque: 16770244,
- black: 0,
- blanchedalmond: 16772045,
- blue: 255,
- blueviolet: 9055202,
- brown: 10824234,
- burlywood: 14596231,
- cadetblue: 6266528,
- chartreuse: 8388352,
- chocolate: 13789470,
- coral: 16744272,
- cornflowerblue: 6591981,
- cornsilk: 16775388,
- crimson: 14423100,
- cyan: 65535,
- darkblue: 139,
- darkcyan: 35723,
- darkgoldenrod: 12092939,
- darkgray: 11119017,
- darkgreen: 25600,
- darkgrey: 11119017,
- darkkhaki: 12433259,
- darkmagenta: 9109643,
- darkolivegreen: 5597999,
- darkorange: 16747520,
- darkorchid: 10040012,
- darkred: 9109504,
- darksalmon: 15308410,
- darkseagreen: 9419919,
- darkslateblue: 4734347,
- darkslategray: 3100495,
- darkslategrey: 3100495,
- darkturquoise: 52945,
- darkviolet: 9699539,
- deeppink: 16716947,
- deepskyblue: 49151,
- dimgray: 6908265,
- dimgrey: 6908265,
- dodgerblue: 2003199,
- firebrick: 11674146,
- floralwhite: 16775920,
- forestgreen: 2263842,
- fuchsia: 16711935,
- gainsboro: 14474460,
- ghostwhite: 16316671,
- gold: 16766720,
- goldenrod: 14329120,
- gray: 8421504,
- green: 32768,
- greenyellow: 11403055,
- grey: 8421504,
- honeydew: 15794160,
- hotpink: 16738740,
- indianred: 13458524,
- indigo: 4915330,
- ivory: 16777200,
- khaki: 15787660,
- lavender: 15132410,
- lavenderblush: 16773365,
- lawngreen: 8190976,
- lemonchiffon: 16775885,
- lightblue: 11393254,
- lightcoral: 15761536,
- lightcyan: 14745599,
- lightgoldenrodyellow: 16448210,
- lightgray: 13882323,
- lightgreen: 9498256,
- lightgrey: 13882323,
- lightpink: 16758465,
- lightsalmon: 16752762,
- lightseagreen: 2142890,
- lightskyblue: 8900346,
- lightslategray: 7833753,
- lightslategrey: 7833753,
- lightsteelblue: 11584734,
- lightyellow: 16777184,
- lime: 65280,
- limegreen: 3329330,
- linen: 16445670,
- magenta: 16711935,
- maroon: 8388608,
- mediumaquamarine: 6737322,
- mediumblue: 205,
- mediumorchid: 12211667,
- mediumpurple: 9662683,
- mediumseagreen: 3978097,
- mediumslateblue: 8087790,
- mediumspringgreen: 64154,
- mediumturquoise: 4772300,
- mediumvioletred: 13047173,
- midnightblue: 1644912,
- mintcream: 16121850,
- mistyrose: 16770273,
- moccasin: 16770229,
- navajowhite: 16768685,
- navy: 128,
- oldlace: 16643558,
- olive: 8421376,
- olivedrab: 7048739,
- orange: 16753920,
- orangered: 16729344,
- orchid: 14315734,
- palegoldenrod: 15657130,
- palegreen: 10025880,
- paleturquoise: 11529966,
- palevioletred: 14381203,
- papayawhip: 16773077,
- peachpuff: 16767673,
- peru: 13468991,
- pink: 16761035,
- plum: 14524637,
- powderblue: 11591910,
- purple: 8388736,
- red: 16711680,
- rosybrown: 12357519,
- royalblue: 4286945,
- saddlebrown: 9127187,
- salmon: 16416882,
- sandybrown: 16032864,
- seagreen: 3050327,
- seashell: 16774638,
- sienna: 10506797,
- silver: 12632256,
- skyblue: 8900331,
- slateblue: 6970061,
- slategray: 7372944,
- slategrey: 7372944,
- snow: 16775930,
- springgreen: 65407,
- steelblue: 4620980,
- tan: 13808780,
- teal: 32896,
- thistle: 14204888,
- tomato: 16737095,
- turquoise: 4251856,
- violet: 15631086,
- wheat: 16113331,
- white: 16777215,
- whitesmoke: 16119285,
- yellow: 16776960,
- yellowgreen: 10145074
- });
- d3_rgb_names.forEach(function (key, value) {
- d3_rgb_names.set(key, d3_rgbNumber(value));
- });
- function d3_functor(v) {
- return typeof v === "function" ? v : function () {
- return v;
- };
- }
-
- d3.functor = d3_functor;
- function d3_identity(d) {
- return d;
- }
-
- d3.xhr = d3_xhrType(d3_identity);
- function d3_xhrType(response) {
- return function (url, mimeType, callback) {
- if (arguments.length === 2 && typeof mimeType === "function") callback = mimeType,
- mimeType = null;
- return d3_xhr(url, mimeType, response, callback);
- };
- }
-
- function d3_xhr(url, mimeType, response, callback) {
- var xhr = {}, dispatch = d3.dispatch("beforesend", "progress", "load", "error"), headers = {}, request = new XMLHttpRequest(), responseType = null;
- if (d3_window.XDomainRequest && !("withCredentials" in request) && /^(http(s)?:)?\/\//.test(url)) request = new XDomainRequest();
- "onload" in request ? request.onload = request.onerror = respond : request.onreadystatechange = function () {
- request.readyState > 3 && respond();
- };
- function respond() {
- var status = request.status, result;
- if (!status && d3_xhrHasResponse(request) || status >= 200 && status < 300 || status === 304) {
- try {
- result = response.call(xhr, request);
- } catch (e) {
- dispatch.error.call(xhr, e);
- return;
- }
- dispatch.load.call(xhr, result);
- } else {
- dispatch.error.call(xhr, request);
- }
- }
-
- request.onprogress = function (event) {
- var o = d3.event;
- d3.event = event;
- try {
- dispatch.progress.call(xhr, request);
- } finally {
- d3.event = o;
- }
- };
- xhr.header = function (name, value) {
- name = (name + "").toLowerCase();
- if (arguments.length < 2) return headers[name];
- if (value == null) delete headers[name]; else headers[name] = value + "";
- return xhr;
- };
- xhr.mimeType = function (value) {
- if (!arguments.length) return mimeType;
- mimeType = value == null ? null : value + "";
- return xhr;
- };
- xhr.responseType = function (value) {
- if (!arguments.length) return responseType;
- responseType = value;
- return xhr;
- };
- xhr.response = function (value) {
- response = value;
- return xhr;
- };
- ["get", "post"].forEach(function (method) {
- xhr[method] = function () {
- return xhr.send.apply(xhr, [method].concat(d3_array(arguments)));
- };
- });
- xhr.send = function (method, data, callback) {
- if (arguments.length === 2 && typeof data === "function") callback = data, data = null;
- request.open(method, url, true);
- if (mimeType != null && !("accept" in headers)) headers["accept"] = mimeType + ",*/*";
- if (request.setRequestHeader) for (var name in headers) request.setRequestHeader(name, headers[name]);
- if (mimeType != null && request.overrideMimeType) request.overrideMimeType(mimeType);
- if (responseType != null) request.responseType = responseType;
- if (callback != null) xhr.on("error", callback).on("load", function (request) {
- callback(null, request);
- });
- dispatch.beforesend.call(xhr, request);
- request.send(data == null ? null : data);
- return xhr;
- };
- xhr.abort = function () {
- request.abort();
- return xhr;
- };
- d3.rebind(xhr, dispatch, "on");
- return callback == null ? xhr : xhr.get(d3_xhr_fixCallback(callback));
- }
-
- function d3_xhr_fixCallback(callback) {
- return callback.length === 1 ? function (error, request) {
- callback(error == null ? request : null);
- } : callback;
- }
-
- function d3_xhrHasResponse(request) {
- var type = request.responseType;
- return type && type !== "text" ? request.response : request.responseText;
- }
-
- d3.dsv = function (delimiter, mimeType) {
- var reFormat = new RegExp('["' + delimiter + "\n]"), delimiterCode = delimiter.charCodeAt(0);
-
- function dsv(url, row, callback) {
- if (arguments.length < 3) callback = row, row = null;
- var xhr = d3_xhr(url, mimeType, row == null ? response : typedResponse(row), callback);
- xhr.row = function (_) {
- return arguments.length ? xhr.response((row = _) == null ? response : typedResponse(_)) : row;
- };
- return xhr;
- }
-
- function response(request) {
- return dsv.parse(request.responseText);
- }
-
- function typedResponse(f) {
- return function (request) {
- return dsv.parse(request.responseText, f);
- };
- }
-
- dsv.parse = function (text, f) {
- var o;
- return dsv.parseRows(text, function (row, i) {
- if (o) return o(row, i - 1);
- var a = new Function("d", "return {" + row.map(function (name, i) {
- return JSON.stringify(name) + ": d[" + i + "]";
- }).join(",") + "}");
- o = f ? function (row, i) {
- return f(a(row), i);
- } : a;
- });
- };
- dsv.parseRows = function (text, f) {
- var EOL = {}, EOF = {}, rows = [], N = text.length, I = 0, n = 0, t, eol;
-
- function token() {
- if (I >= N) return EOF;
- if (eol) return eol = false, EOL;
- var j = I;
- if (text.charCodeAt(j) === 34) {
- var i = j;
- while (i++ < N) {
- if (text.charCodeAt(i) === 34) {
- if (text.charCodeAt(i + 1) !== 34) break;
- ++i;
- }
- }
- I = i + 2;
- var c = text.charCodeAt(i + 1);
- if (c === 13) {
- eol = true;
- if (text.charCodeAt(i + 2) === 10) ++I;
- } else if (c === 10) {
- eol = true;
- }
- return text.slice(j + 1, i).replace(/""/g, '"');
- }
- while (I < N) {
- var c = text.charCodeAt(I++), k = 1;
- if (c === 10) eol = true; else if (c === 13) {
- eol = true;
- if (text.charCodeAt(I) === 10) ++I, ++k;
- } else if (c !== delimiterCode) continue;
- return text.slice(j, I - k);
- }
- return text.slice(j);
- }
-
- while ((t = token()) !== EOF) {
- var a = [];
- while (t !== EOL && t !== EOF) {
- a.push(t);
- t = token();
- }
- if (f && !(a = f(a, n++))) continue;
- rows.push(a);
- }
- return rows;
- };
- dsv.format = function (rows) {
- if (Array.isArray(rows[0])) return dsv.formatRows(rows);
- var fieldSet = new d3_Set(), fields = [];
- rows.forEach(function (row) {
- for (var field in row) {
- if (!fieldSet.has(field)) {
- fields.push(fieldSet.add(field));
- }
- }
- });
- return [fields.map(formatValue).join(delimiter)].concat(rows.map(function (row) {
- return fields.map(function (field) {
- return formatValue(row[field]);
- }).join(delimiter);
- })).join("\n");
- };
- dsv.formatRows = function (rows) {
- return rows.map(formatRow).join("\n");
- };
- function formatRow(row) {
- return row.map(formatValue).join(delimiter);
- }
-
- function formatValue(text) {
- return reFormat.test(text) ? '"' + text.replace(/\"/g, '""') + '"' : text;
- }
-
- return dsv;
- };
- d3.csv = d3.dsv(",", "text/csv");
- d3.tsv = d3.dsv(" ", "text/tab-separated-values");
- var d3_timer_queueHead, d3_timer_queueTail, d3_timer_interval, d3_timer_timeout, d3_timer_active, d3_timer_frame = d3_window[d3_vendorSymbol(d3_window, "requestAnimationFrame")] || function (callback) {
- setTimeout(callback, 17);
- };
- d3.timer = function (callback, delay, then) {
- var n = arguments.length;
- if (n < 2) delay = 0;
- if (n < 3) then = Date.now();
- var time = then + delay, timer = {
- c: callback,
- t: time,
- f: false,
- n: null
- };
- if (d3_timer_queueTail) d3_timer_queueTail.n = timer; else d3_timer_queueHead = timer;
- d3_timer_queueTail = timer;
- if (!d3_timer_interval) {
- d3_timer_timeout = clearTimeout(d3_timer_timeout);
- d3_timer_interval = 1;
- d3_timer_frame(d3_timer_step);
- }
- };
- function d3_timer_step() {
- var now = d3_timer_mark(), delay = d3_timer_sweep() - now;
- if (delay > 24) {
- if (isFinite(delay)) {
- clearTimeout(d3_timer_timeout);
- d3_timer_timeout = setTimeout(d3_timer_step, delay);
- }
- d3_timer_interval = 0;
- } else {
- d3_timer_interval = 1;
- d3_timer_frame(d3_timer_step);
- }
- }
-
- d3.timer.flush = function () {
- d3_timer_mark();
- d3_timer_sweep();
- };
- function d3_timer_mark() {
- var now = Date.now();
- d3_timer_active = d3_timer_queueHead;
- while (d3_timer_active) {
- if (now >= d3_timer_active.t) d3_timer_active.f = d3_timer_active.c(now - d3_timer_active.t);
- d3_timer_active = d3_timer_active.n;
- }
- return now;
- }
-
- function d3_timer_sweep() {
- var t0, t1 = d3_timer_queueHead, time = Infinity;
- while (t1) {
- if (t1.f) {
- t1 = t0 ? t0.n = t1.n : d3_timer_queueHead = t1.n;
- } else {
- if (t1.t < time) time = t1.t;
- t1 = (t0 = t1).n;
- }
- }
- d3_timer_queueTail = t0;
- return time;
- }
-
- function d3_format_precision(x, p) {
- return p - (x ? Math.ceil(Math.log(x) / Math.LN10) : 1);
- }
-
- d3.round = function (x, n) {
- return n ? Math.round(x * (n = Math.pow(10, n))) / n : Math.round(x);
- };
- var d3_formatPrefixes = ["y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"].map(d3_formatPrefix);
- d3.formatPrefix = function (value, precision) {
- var i = 0;
- if (value) {
- if (value < 0) value *= -1;
- if (precision) value = d3.round(value, d3_format_precision(value, precision));
- i = 1 + Math.floor(1e-12 + Math.log(value) / Math.LN10);
- i = Math.max(-24, Math.min(24, Math.floor((i - 1) / 3) * 3));
- }
- return d3_formatPrefixes[8 + i / 3];
- };
- function d3_formatPrefix(d, i) {
- var k = Math.pow(10, abs(8 - i) * 3);
- return {
- scale: i > 8 ? function (d) {
- return d / k;
- } : function (d) {
- return d * k;
- },
- symbol: d
- };
- }
-
- function d3_locale_numberFormat(locale) {
- var locale_decimal = locale.decimal, locale_thousands = locale.thousands, locale_grouping = locale.grouping, locale_currency = locale.currency, formatGroup = locale_grouping ? function (value) {
- var i = value.length, t = [], j = 0, g = locale_grouping[0];
- while (g > 0 && i > 0) {
- t.push(value.substring(i -= g, i + g));
- g = locale_grouping[j = (j + 1) % locale_grouping.length];
- }
- return t.reverse().join(locale_thousands);
- } : d3_identity;
- return function (specifier) {
- var match = d3_format_re.exec(specifier), fill = match[1] || " ", align = match[2] || ">", sign = match[3] || "", symbol = match[4] || "", zfill = match[5], width = +match[6], comma = match[7], precision = match[8], type = match[9], scale = 1, prefix = "", suffix = "", integer = false;
- if (precision) precision = +precision.substring(1);
- if (zfill || fill === "0" && align === "=") {
- zfill = fill = "0";
- align = "=";
- if (comma) width -= Math.floor((width - 1) / 4);
- }
- switch (type) {
- case "n":
- comma = true;
- type = "g";
- break;
-
- case "%":
- scale = 100;
- suffix = "%";
- type = "f";
- break;
-
- case "p":
- scale = 100;
- suffix = "%";
- type = "r";
- break;
-
- case "b":
- case "o":
- case "x":
- case "X":
- if (symbol === "#") prefix = "0" + type.toLowerCase();
-
- case "c":
- case "d":
- integer = true;
- precision = 0;
- break;
-
- case "s":
- scale = -1;
- type = "r";
- break;
- }
- if (symbol === "$") prefix = locale_currency[0], suffix = locale_currency[1];
- if (type == "r" && !precision) type = "g";
- if (precision != null) {
- if (type == "g") precision = Math.max(1, Math.min(21, precision)); else if (type == "e" || type == "f") precision = Math.max(0, Math.min(20, precision));
- }
- type = d3_format_types.get(type) || d3_format_typeDefault;
- var zcomma = zfill && comma;
- return function (value) {
- var fullSuffix = suffix;
- if (integer && value % 1) return "";
- var negative = value < 0 || value === 0 && 1 / value < 0 ? (value = -value, "-") : sign;
- if (scale < 0) {
- var unit = d3.formatPrefix(value, precision);
- value = unit.scale(value);
- fullSuffix = unit.symbol + suffix;
- } else {
- value *= scale;
- }
- value = type(value, precision);
- var i = value.lastIndexOf("."), before = i < 0 ? value : value.substring(0, i), after = i < 0 ? "" : locale_decimal + value.substring(i + 1);
- if (!zfill && comma) before = formatGroup(before);
- var length = prefix.length + before.length + after.length + (zcomma ? 0 : negative.length), padding = length < width ? new Array(length = width - length + 1).join(fill) : "";
- if (zcomma) before = formatGroup(padding + before);
- negative += prefix;
- value = before + after;
- return (align === "<" ? negative + value + padding : align === ">" ? padding + negative + value : align === "^" ? padding.substring(0, length >>= 1) + negative + value + padding.substring(length) : negative + (zcomma ? value : padding + value)) + fullSuffix;
- };
- };
- }
-
- var d3_format_re = /(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i;
- var d3_format_types = d3.map({
- b: function (x) {
- return x.toString(2);
- },
- c: function (x) {
- return String.fromCharCode(x);
- },
- o: function (x) {
- return x.toString(8);
- },
- x: function (x) {
- return x.toString(16);
- },
- X: function (x) {
- return x.toString(16).toUpperCase();
- },
- g: function (x, p) {
- return x.toPrecision(p);
- },
- e: function (x, p) {
- return x.toExponential(p);
- },
- f: function (x, p) {
- return x.toFixed(p);
- },
- r: function (x, p) {
- return (x = d3.round(x, d3_format_precision(x, p))).toFixed(Math.max(0, Math.min(20, d3_format_precision(x * (1 + 1e-15), p))));
- }
- });
-
- function d3_format_typeDefault(x) {
- return x + "";
- }
-
- var d3_time = d3.time = {}, d3_date = Date;
-
- function d3_date_utc() {
- this._ = new Date(arguments.length > 1 ? Date.UTC.apply(this, arguments) : arguments[0]);
- }
-
- d3_date_utc.prototype = {
- getDate: function () {
- return this._.getUTCDate();
- },
- getDay: function () {
- return this._.getUTCDay();
- },
- getFullYear: function () {
- return this._.getUTCFullYear();
- },
- getHours: function () {
- return this._.getUTCHours();
- },
- getMilliseconds: function () {
- return this._.getUTCMilliseconds();
- },
- getMinutes: function () {
- return this._.getUTCMinutes();
- },
- getMonth: function () {
- return this._.getUTCMonth();
- },
- getSeconds: function () {
- return this._.getUTCSeconds();
- },
- getTime: function () {
- return this._.getTime();
- },
- getTimezoneOffset: function () {
- return 0;
- },
- valueOf: function () {
- return this._.valueOf();
- },
- setDate: function () {
- d3_time_prototype.setUTCDate.apply(this._, arguments);
- },
- setDay: function () {
- d3_time_prototype.setUTCDay.apply(this._, arguments);
- },
- setFullYear: function () {
- d3_time_prototype.setUTCFullYear.apply(this._, arguments);
- },
- setHours: function () {
- d3_time_prototype.setUTCHours.apply(this._, arguments);
- },
- setMilliseconds: function () {
- d3_time_prototype.setUTCMilliseconds.apply(this._, arguments);
- },
- setMinutes: function () {
- d3_time_prototype.setUTCMinutes.apply(this._, arguments);
- },
- setMonth: function () {
- d3_time_prototype.setUTCMonth.apply(this._, arguments);
- },
- setSeconds: function () {
- d3_time_prototype.setUTCSeconds.apply(this._, arguments);
- },
- setTime: function () {
- d3_time_prototype.setTime.apply(this._, arguments);
- }
- };
- var d3_time_prototype = Date.prototype;
-
- function d3_time_interval(local, step, number) {
- function round(date) {
- var d0 = local(date), d1 = offset(d0, 1);
- return date - d0 < d1 - date ? d0 : d1;
- }
-
- function ceil(date) {
- step(date = local(new d3_date(date - 1)), 1);
- return date;
- }
-
- function offset(date, k) {
- step(date = new d3_date(+date), k);
- return date;
- }
-
- function range(t0, t1, dt) {
- var time = ceil(t0), times = [];
- if (dt > 1) {
- while (time < t1) {
- if (!(number(time) % dt)) times.push(new Date(+time));
- step(time, 1);
- }
- } else {
- while (time < t1) times.push(new Date(+time)), step(time, 1);
- }
- return times;
- }
-
- function range_utc(t0, t1, dt) {
- try {
- d3_date = d3_date_utc;
- var utc = new d3_date_utc();
- utc._ = t0;
- return range(utc, t1, dt);
- } finally {
- d3_date = Date;
- }
- }
-
- local.floor = local;
- local.round = round;
- local.ceil = ceil;
- local.offset = offset;
- local.range = range;
- var utc = local.utc = d3_time_interval_utc(local);
- utc.floor = utc;
- utc.round = d3_time_interval_utc(round);
- utc.ceil = d3_time_interval_utc(ceil);
- utc.offset = d3_time_interval_utc(offset);
- utc.range = range_utc;
- return local;
- }
-
- function d3_time_interval_utc(method) {
- return function (date, k) {
- try {
- d3_date = d3_date_utc;
- var utc = new d3_date_utc();
- utc._ = date;
- return method(utc, k)._;
- } finally {
- d3_date = Date;
- }
- };
- }
-
- d3_time.year = d3_time_interval(function (date) {
- date = d3_time.day(date);
- date.setMonth(0, 1);
- return date;
- }, function (date, offset) {
- date.setFullYear(date.getFullYear() + offset);
- }, function (date) {
- return date.getFullYear();
- });
- d3_time.years = d3_time.year.range;
- d3_time.years.utc = d3_time.year.utc.range;
- d3_time.day = d3_time_interval(function (date) {
- var day = new d3_date(2e3, 0);
- day.setFullYear(date.getFullYear(), date.getMonth(), date.getDate());
- return day;
- }, function (date, offset) {
- date.setDate(date.getDate() + offset);
- }, function (date) {
- return date.getDate() - 1;
- });
- d3_time.days = d3_time.day.range;
- d3_time.days.utc = d3_time.day.utc.range;
- d3_time.dayOfYear = function (date) {
- var year = d3_time.year(date);
- return Math.floor((date - year - (date.getTimezoneOffset() - year.getTimezoneOffset()) * 6e4) / 864e5);
- };
- ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"].forEach(function (day, i) {
- i = 7 - i;
- var interval = d3_time[day] = d3_time_interval(function (date) {
- (date = d3_time.day(date)).setDate(date.getDate() - (date.getDay() + i) % 7);
- return date;
- }, function (date, offset) {
- date.setDate(date.getDate() + Math.floor(offset) * 7);
- }, function (date) {
- var day = d3_time.year(date).getDay();
- return Math.floor((d3_time.dayOfYear(date) + (day + i) % 7) / 7) - (day !== i);
- });
- d3_time[day + "s"] = interval.range;
- d3_time[day + "s"].utc = interval.utc.range;
- d3_time[day + "OfYear"] = function (date) {
- var day = d3_time.year(date).getDay();
- return Math.floor((d3_time.dayOfYear(date) + (day + i) % 7) / 7);
- };
- });
- d3_time.week = d3_time.sunday;
- d3_time.weeks = d3_time.sunday.range;
- d3_time.weeks.utc = d3_time.sunday.utc.range;
- d3_time.weekOfYear = d3_time.sundayOfYear;
- function d3_locale_timeFormat(locale) {
- var locale_dateTime = locale.dateTime, locale_date = locale.date, locale_time = locale.time, locale_periods = locale.periods, locale_days = locale.days, locale_shortDays = locale.shortDays, locale_months = locale.months, locale_shortMonths = locale.shortMonths;
-
- function d3_time_format(template) {
- var n = template.length;
-
- function format(date) {
- var string = [], i = -1, j = 0, c, p, f;
- while (++i < n) {
- if (template.charCodeAt(i) === 37) {
- string.push(template.slice(j, i));
- if ((p = d3_time_formatPads[c = template.charAt(++i)]) != null) c = template.charAt(++i);
- if (f = d3_time_formats[c]) c = f(date, p == null ? c === "e" ? " " : "0" : p);
- string.push(c);
- j = i + 1;
- }
- }
- string.push(template.slice(j, i));
- return string.join("");
- }
-
- format.parse = function (string) {
- var d = {
- y: 1900,
- m: 0,
- d: 1,
- H: 0,
- M: 0,
- S: 0,
- L: 0,
- Z: null
- }, i = d3_time_parse(d, template, string, 0);
- if (i != string.length) return null;
- if ("p" in d) d.H = d.H % 12 + d.p * 12;
- var localZ = d.Z != null && d3_date !== d3_date_utc, date = new (localZ ? d3_date_utc : d3_date)();
- if ("j" in d) date.setFullYear(d.y, 0, d.j); else if ("w" in d && ("W" in d || "U" in d)) {
- date.setFullYear(d.y, 0, 1);
- date.setFullYear(d.y, 0, "W" in d ? (d.w + 6) % 7 + d.W * 7 - (date.getDay() + 5) % 7 : d.w + d.U * 7 - (date.getDay() + 6) % 7);
- } else date.setFullYear(d.y, d.m, d.d);
- date.setHours(d.H + (d.Z / 100 | 0), d.M + d.Z % 100, d.S, d.L);
- return localZ ? date._ : date;
- };
- format.toString = function () {
- return template;
- };
- return format;
- }
-
- function d3_time_parse(date, template, string, j) {
- var c, p, t, i = 0, n = template.length, m = string.length;
- while (i < n) {
- if (j >= m) return -1;
- c = template.charCodeAt(i++);
- if (c === 37) {
- t = template.charAt(i++);
- p = d3_time_parsers[t in d3_time_formatPads ? template.charAt(i++) : t];
- if (!p || (j = p(date, string, j)) < 0) return -1;
- } else if (c != string.charCodeAt(j++)) {
- return -1;
- }
- }
- return j;
- }
-
- d3_time_format.utc = function (template) {
- var local = d3_time_format(template);
-
- function format(date) {
- try {
- d3_date = d3_date_utc;
- var utc = new d3_date();
- utc._ = date;
- return local(utc);
- } finally {
- d3_date = Date;
- }
- }
-
- format.parse = function (string) {
- try {
- d3_date = d3_date_utc;
- var date = local.parse(string);
- return date && date._;
- } finally {
- d3_date = Date;
- }
- };
- format.toString = local.toString;
- return format;
- };
- d3_time_format.multi = d3_time_format.utc.multi = d3_time_formatMulti;
- var d3_time_periodLookup = d3.map(), d3_time_dayRe = d3_time_formatRe(locale_days), d3_time_dayLookup = d3_time_formatLookup(locale_days), d3_time_dayAbbrevRe = d3_time_formatRe(locale_shortDays), d3_time_dayAbbrevLookup = d3_time_formatLookup(locale_shortDays), d3_time_monthRe = d3_time_formatRe(locale_months), d3_time_monthLookup = d3_time_formatLookup(locale_months), d3_time_monthAbbrevRe = d3_time_formatRe(locale_shortMonths), d3_time_monthAbbrevLookup = d3_time_formatLookup(locale_shortMonths);
- locale_periods.forEach(function (p, i) {
- d3_time_periodLookup.set(p.toLowerCase(), i);
- });
- var d3_time_formats = {
- a: function (d) {
- return locale_shortDays[d.getDay()];
- },
- A: function (d) {
- return locale_days[d.getDay()];
- },
- b: function (d) {
- return locale_shortMonths[d.getMonth()];
- },
- B: function (d) {
- return locale_months[d.getMonth()];
- },
- c: d3_time_format(locale_dateTime),
- d: function (d, p) {
- return d3_time_formatPad(d.getDate(), p, 2);
- },
- e: function (d, p) {
- return d3_time_formatPad(d.getDate(), p, 2);
- },
- H: function (d, p) {
- return d3_time_formatPad(d.getHours(), p, 2);
- },
- I: function (d, p) {
- return d3_time_formatPad(d.getHours() % 12 || 12, p, 2);
- },
- j: function (d, p) {
- return d3_time_formatPad(1 + d3_time.dayOfYear(d), p, 3);
- },
- L: function (d, p) {
- return d3_time_formatPad(d.getMilliseconds(), p, 3);
- },
- m: function (d, p) {
- return d3_time_formatPad(d.getMonth() + 1, p, 2);
- },
- M: function (d, p) {
- return d3_time_formatPad(d.getMinutes(), p, 2);
- },
- p: function (d) {
- return locale_periods[+(d.getHours() >= 12)];
- },
- S: function (d, p) {
- return d3_time_formatPad(d.getSeconds(), p, 2);
- },
- U: function (d, p) {
- return d3_time_formatPad(d3_time.sundayOfYear(d), p, 2);
- },
- w: function (d) {
- return d.getDay();
- },
- W: function (d, p) {
- return d3_time_formatPad(d3_time.mondayOfYear(d), p, 2);
- },
- x: d3_time_format(locale_date),
- X: d3_time_format(locale_time),
- y: function (d, p) {
- return d3_time_formatPad(d.getFullYear() % 100, p, 2);
- },
- Y: function (d, p) {
- return d3_time_formatPad(d.getFullYear() % 1e4, p, 4);
- },
- Z: d3_time_zone,
- "%": function () {
- return "%";
- }
- };
- var d3_time_parsers = {
- a: d3_time_parseWeekdayAbbrev,
- A: d3_time_parseWeekday,
- b: d3_time_parseMonthAbbrev,
- B: d3_time_parseMonth,
- c: d3_time_parseLocaleFull,
- d: d3_time_parseDay,
- e: d3_time_parseDay,
- H: d3_time_parseHour24,
- I: d3_time_parseHour24,
- j: d3_time_parseDayOfYear,
- L: d3_time_parseMilliseconds,
- m: d3_time_parseMonthNumber,
- M: d3_time_parseMinutes,
- p: d3_time_parseAmPm,
- S: d3_time_parseSeconds,
- U: d3_time_parseWeekNumberSunday,
- w: d3_time_parseWeekdayNumber,
- W: d3_time_parseWeekNumberMonday,
- x: d3_time_parseLocaleDate,
- X: d3_time_parseLocaleTime,
- y: d3_time_parseYear,
- Y: d3_time_parseFullYear,
- Z: d3_time_parseZone,
- "%": d3_time_parseLiteralPercent
- };
-
- function d3_time_parseWeekdayAbbrev(date, string, i) {
- d3_time_dayAbbrevRe.lastIndex = 0;
- var n = d3_time_dayAbbrevRe.exec(string.slice(i));
- return n ? (date.w = d3_time_dayAbbrevLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
- }
-
- function d3_time_parseWeekday(date, string, i) {
- d3_time_dayRe.lastIndex = 0;
- var n = d3_time_dayRe.exec(string.slice(i));
- return n ? (date.w = d3_time_dayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
- }
-
- function d3_time_parseMonthAbbrev(date, string, i) {
- d3_time_monthAbbrevRe.lastIndex = 0;
- var n = d3_time_monthAbbrevRe.exec(string.slice(i));
- return n ? (date.m = d3_time_monthAbbrevLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
- }
-
- function d3_time_parseMonth(date, string, i) {
- d3_time_monthRe.lastIndex = 0;
- var n = d3_time_monthRe.exec(string.slice(i));
- return n ? (date.m = d3_time_monthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
- }
-
- function d3_time_parseLocaleFull(date, string, i) {
- return d3_time_parse(date, d3_time_formats.c.toString(), string, i);
- }
-
- function d3_time_parseLocaleDate(date, string, i) {
- return d3_time_parse(date, d3_time_formats.x.toString(), string, i);
- }
-
- function d3_time_parseLocaleTime(date, string, i) {
- return d3_time_parse(date, d3_time_formats.X.toString(), string, i);
- }
-
- function d3_time_parseAmPm(date, string, i) {
- var n = d3_time_periodLookup.get(string.slice(i, i += 2).toLowerCase());
- return n == null ? -1 : (date.p = n, i);
- }
-
- return d3_time_format;
- }
-
- var d3_time_formatPads = {
- "-": "",
- _: " ",
- "0": "0"
- }, d3_time_numberRe = /^\s*\d+/, d3_time_percentRe = /^%/;
-
- function d3_time_formatPad(value, fill, width) {
- var sign = value < 0 ? "-" : "", string = (sign ? -value : value) + "", length = string.length;
- return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);
- }
-
- function d3_time_formatRe(names) {
- return new RegExp("^(?:" + names.map(d3.requote).join("|") + ")", "i");
- }
-
- function d3_time_formatLookup(names) {
- var map = new d3_Map(), i = -1, n = names.length;
- while (++i < n) map.set(names[i].toLowerCase(), i);
- return map;
- }
-
- function d3_time_parseWeekdayNumber(date, string, i) {
- d3_time_numberRe.lastIndex = 0;
- var n = d3_time_numberRe.exec(string.slice(i, i + 1));
- return n ? (date.w = +n[0], i + n[0].length) : -1;
- }
-
- function d3_time_parseWeekNumberSunday(date, string, i) {
- d3_time_numberRe.lastIndex = 0;
- var n = d3_time_numberRe.exec(string.slice(i));
- return n ? (date.U = +n[0], i + n[0].length) : -1;
- }
-
- function d3_time_parseWeekNumberMonday(date, string, i) {
- d3_time_numberRe.lastIndex = 0;
- var n = d3_time_numberRe.exec(string.slice(i));
- return n ? (date.W = +n[0], i + n[0].length) : -1;
- }
-
- function d3_time_parseFullYear(date, string, i) {
- d3_time_numberRe.lastIndex = 0;
- var n = d3_time_numberRe.exec(string.slice(i, i + 4));
- return n ? (date.y = +n[0], i + n[0].length) : -1;
- }
-
- function d3_time_parseYear(date, string, i) {
- d3_time_numberRe.lastIndex = 0;
- var n = d3_time_numberRe.exec(string.slice(i, i + 2));
- return n ? (date.y = d3_time_expandYear(+n[0]), i + n[0].length) : -1;
- }
-
- function d3_time_parseZone(date, string, i) {
- return /^[+-]\d{4}$/.test(string = string.slice(i, i + 5)) ? (date.Z = -string,
- i + 5) : -1;
- }
-
- function d3_time_expandYear(d) {
- return d + (d > 68 ? 1900 : 2e3);
- }
-
- function d3_time_parseMonthNumber(date, string, i) {
- d3_time_numberRe.lastIndex = 0;
- var n = d3_time_numberRe.exec(string.slice(i, i + 2));
- return n ? (date.m = n[0] - 1, i + n[0].length) : -1;
- }
-
- function d3_time_parseDay(date, string, i) {
- d3_time_numberRe.lastIndex = 0;
- var n = d3_time_numberRe.exec(string.slice(i, i + 2));
- return n ? (date.d = +n[0], i + n[0].length) : -1;
- }
-
- function d3_time_parseDayOfYear(date, string, i) {
- d3_time_numberRe.lastIndex = 0;
- var n = d3_time_numberRe.exec(string.slice(i, i + 3));
- return n ? (date.j = +n[0], i + n[0].length) : -1;
- }
-
- function d3_time_parseHour24(date, string, i) {
- d3_time_numberRe.lastIndex = 0;
- var n = d3_time_numberRe.exec(string.slice(i, i + 2));
- return n ? (date.H = +n[0], i + n[0].length) : -1;
- }
-
- function d3_time_parseMinutes(date, string, i) {
- d3_time_numberRe.lastIndex = 0;
- var n = d3_time_numberRe.exec(string.slice(i, i + 2));
- return n ? (date.M = +n[0], i + n[0].length) : -1;
- }
-
- function d3_time_parseSeconds(date, string, i) {
- d3_time_numberRe.lastIndex = 0;
- var n = d3_time_numberRe.exec(string.slice(i, i + 2));
- return n ? (date.S = +n[0], i + n[0].length) : -1;
- }
-
- function d3_time_parseMilliseconds(date, string, i) {
- d3_time_numberRe.lastIndex = 0;
- var n = d3_time_numberRe.exec(string.slice(i, i + 3));
- return n ? (date.L = +n[0], i + n[0].length) : -1;
- }
-
- function d3_time_zone(d) {
- var z = d.getTimezoneOffset(), zs = z > 0 ? "-" : "+", zh = abs(z) / 60 | 0, zm = abs(z) % 60;
- return zs + d3_time_formatPad(zh, "0", 2) + d3_time_formatPad(zm, "0", 2);
- }
-
- function d3_time_parseLiteralPercent(date, string, i) {
- d3_time_percentRe.lastIndex = 0;
- var n = d3_time_percentRe.exec(string.slice(i, i + 1));
- return n ? i + n[0].length : -1;
- }
-
- function d3_time_formatMulti(formats) {
- var n = formats.length, i = -1;
- while (++i < n) formats[i][0] = this(formats[i][0]);
- return function (date) {
- var i = 0, f = formats[i];
- while (!f[1](date)) f = formats[++i];
- return f[0](date);
- };
- }
-
- d3.locale = function (locale) {
- return {
- numberFormat: d3_locale_numberFormat(locale),
- timeFormat: d3_locale_timeFormat(locale)
- };
- };
- var d3_locale_enUS = d3.locale({
- decimal: ".",
- thousands: ",",
- grouping: [3],
- currency: ["$", ""],
- dateTime: "%a %b %e %X %Y",
- date: "%m/%d/%Y",
- time: "%H:%M:%S",
- periods: ["AM", "PM"],
- days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
- shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
- months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
- shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
- });
- d3.format = d3_locale_enUS.numberFormat;
- d3.geo = {};
- function d3_adder() {
- }
-
- d3_adder.prototype = {
- s: 0,
- t: 0,
- add: function (y) {
- d3_adderSum(y, this.t, d3_adderTemp);
- d3_adderSum(d3_adderTemp.s, this.s, this);
- if (this.s) this.t += d3_adderTemp.t; else this.s = d3_adderTemp.t;
- },
- reset: function () {
- this.s = this.t = 0;
- },
- valueOf: function () {
- return this.s;
- }
- };
- var d3_adderTemp = new d3_adder();
-
- function d3_adderSum(a, b, o) {
- var x = o.s = a + b, bv = x - a, av = x - bv;
- o.t = a - av + (b - bv);
- }
-
- d3.geo.stream = function (object, listener) {
- if (object && d3_geo_streamObjectType.hasOwnProperty(object.type)) {
- d3_geo_streamObjectType[object.type](object, listener);
- } else {
- d3_geo_streamGeometry(object, listener);
- }
- };
- function d3_geo_streamGeometry(geometry, listener) {
- if (geometry && d3_geo_streamGeometryType.hasOwnProperty(geometry.type)) {
- d3_geo_streamGeometryType[geometry.type](geometry, listener);
- }
- }
-
- var d3_geo_streamObjectType = {
- Feature: function (feature, listener) {
- d3_geo_streamGeometry(feature.geometry, listener);
- },
- FeatureCollection: function (object, listener) {
- var features = object.features, i = -1, n = features.length;
- while (++i < n) d3_geo_streamGeometry(features[i].geometry, listener);
- }
- };
- var d3_geo_streamGeometryType = {
- Sphere: function (object, listener) {
- listener.sphere();
- },
- Point: function (object, listener) {
- object = object.coordinates;
- listener.point(object[0], object[1], object[2]);
- },
- MultiPoint: function (object, listener) {
- var coordinates = object.coordinates, i = -1, n = coordinates.length;
- while (++i < n) object = coordinates[i], listener.point(object[0], object[1], object[2]);
- },
- LineString: function (object, listener) {
- d3_geo_streamLine(object.coordinates, listener, 0);
- },
- MultiLineString: function (object, listener) {
- var coordinates = object.coordinates, i = -1, n = coordinates.length;
- while (++i < n) d3_geo_streamLine(coordinates[i], listener, 0);
- },
- Polygon: function (object, listener) {
- d3_geo_streamPolygon(object.coordinates, listener);
- },
- MultiPolygon: function (object, listener) {
- var coordinates = object.coordinates, i = -1, n = coordinates.length;
- while (++i < n) d3_geo_streamPolygon(coordinates[i], listener);
- },
- GeometryCollection: function (object, listener) {
- var geometries = object.geometries, i = -1, n = geometries.length;
- while (++i < n) d3_geo_streamGeometry(geometries[i], listener);
- }
- };
-
- function d3_geo_streamLine(coordinates, listener, closed) {
- var i = -1, n = coordinates.length - closed, coordinate;
- listener.lineStart();
- while (++i < n) coordinate = coordinates[i], listener.point(coordinate[0], coordinate[1], coordinate[2]);
- listener.lineEnd();
- }
-
- function d3_geo_streamPolygon(coordinates, listener) {
- var i = -1, n = coordinates.length;
- listener.polygonStart();
- while (++i < n) d3_geo_streamLine(coordinates[i], listener, 1);
- listener.polygonEnd();
- }
-
- d3.geo.area = function (object) {
- d3_geo_areaSum = 0;
- d3.geo.stream(object, d3_geo_area);
- return d3_geo_areaSum;
- };
- var d3_geo_areaSum, d3_geo_areaRingSum = new d3_adder();
- var d3_geo_area = {
- sphere: function () {
- d3_geo_areaSum += 4 * π;
- },
- point: d3_noop,
- lineStart: d3_noop,
- lineEnd: d3_noop,
- polygonStart: function () {
- d3_geo_areaRingSum.reset();
- d3_geo_area.lineStart = d3_geo_areaRingStart;
- },
- polygonEnd: function () {
- var area = 2 * d3_geo_areaRingSum;
- d3_geo_areaSum += area < 0 ? 4 * π + area : area;
- d3_geo_area.lineStart = d3_geo_area.lineEnd = d3_geo_area.point = d3_noop;
- }
- };
-
- function d3_geo_areaRingStart() {
- var λ00, φ00, λ0, cosφ0, sinφ0;
- d3_geo_area.point = function (λ, φ) {
- d3_geo_area.point = nextPoint;
- λ0 = (λ00 = λ) * d3_radians, cosφ0 = Math.cos(φ = (φ00 = φ) * d3_radians / 2 + π / 4),
- sinφ0 = Math.sin(φ);
- };
- function nextPoint(λ, φ) {
- λ *= d3_radians;
- φ = φ * d3_radians / 2 + π / 4;
- var dλ = λ - λ0, sdλ = dλ >= 0 ? 1 : -1, adλ = sdλ * dλ, cosφ = Math.cos(φ), sinφ = Math.sin(φ), k = sinφ0 * sinφ, u = cosφ0 * cosφ + k * Math.cos(adλ), v = k * sdλ * Math.sin(adλ);
- d3_geo_areaRingSum.add(Math.atan2(v, u));
- λ0 = λ, cosφ0 = cosφ, sinφ0 = sinφ;
- }
-
- d3_geo_area.lineEnd = function () {
- nextPoint(λ00, φ00);
- };
- }
-
- function d3_geo_cartesian(spherical) {
- var λ = spherical[0], φ = spherical[1], cosφ = Math.cos(φ);
- return [cosφ * Math.cos(λ), cosφ * Math.sin(λ), Math.sin(φ)];
- }
-
- function d3_geo_cartesianDot(a, b) {
- return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];
- }
-
- function d3_geo_cartesianCross(a, b) {
- return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];
- }
-
- function d3_geo_cartesianAdd(a, b) {
- a[0] += b[0];
- a[1] += b[1];
- a[2] += b[2];
- }
-
- function d3_geo_cartesianScale(vector, k) {
- return [vector[0] * k, vector[1] * k, vector[2] * k];
- }
-
- function d3_geo_cartesianNormalize(d) {
- var l = Math.sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);
- d[0] /= l;
- d[1] /= l;
- d[2] /= l;
- }
-
- function d3_geo_spherical(cartesian) {
- return [Math.atan2(cartesian[1], cartesian[0]), d3_asin(cartesian[2])];
- }
-
- function d3_geo_sphericalEqual(a, b) {
- return abs(a[0] - b[0]) < ε && abs(a[1] - b[1]) < ε;
- }
-
- d3.geo.bounds = function () {
- var λ0, φ0, λ1, φ1, λ_, λ__, φ__, p0, dλSum, ranges, range;
- var bound = {
- point: point,
- lineStart: lineStart,
- lineEnd: lineEnd,
- polygonStart: function () {
- bound.point = ringPoint;
- bound.lineStart = ringStart;
- bound.lineEnd = ringEnd;
- dλSum = 0;
- d3_geo_area.polygonStart();
- },
- polygonEnd: function () {
- d3_geo_area.polygonEnd();
- bound.point = point;
- bound.lineStart = lineStart;
- bound.lineEnd = lineEnd;
- if (d3_geo_areaRingSum < 0) λ0 = -(λ1 = 180), φ0 = -(φ1 = 90); else if (dλSum > ε) φ1 = 90; else if (dλSum < -ε) φ0 = -90;
- range[0] = λ0, range[1] = λ1;
- }
- };
-
- function point(λ, φ) {
- ranges.push(range = [λ0 = λ, λ1 = λ]);
- if (φ < φ0) φ0 = φ;
- if (φ > φ1) φ1 = φ;
- }
-
- function linePoint(λ, φ) {
- var p = d3_geo_cartesian([λ * d3_radians, φ * d3_radians]);
- if (p0) {
- var normal = d3_geo_cartesianCross(p0, p), equatorial = [normal[1], -normal[0], 0], inflection = d3_geo_cartesianCross(equatorial, normal);
- d3_geo_cartesianNormalize(inflection);
- inflection = d3_geo_spherical(inflection);
- var dλ = λ - λ_, s = dλ > 0 ? 1 : -1, λi = inflection[0] * d3_degrees * s, antimeridian = abs(dλ) > 180;
- if (antimeridian ^ (s * λ_ < λi && λi < s * λ)) {
- var φi = inflection[1] * d3_degrees;
- if (φi > φ1) φ1 = φi;
- } else if (λi = (λi + 360) % 360 - 180, antimeridian ^ (s * λ_ < λi && λi < s * λ)) {
- var φi = -inflection[1] * d3_degrees;
- if (φi < φ0) φ0 = φi;
- } else {
- if (φ < φ0) φ0 = φ;
- if (φ > φ1) φ1 = φ;
- }
- if (antimeridian) {
- if (λ < λ_) {
- if (angle(λ0, λ) > angle(λ0, λ1)) λ1 = λ;
- } else {
- if (angle(λ, λ1) > angle(λ0, λ1)) λ0 = λ;
- }
- } else {
- if (λ1 >= λ0) {
- if (λ < λ0) λ0 = λ;
- if (λ > λ1) λ1 = λ;
- } else {
- if (λ > λ_) {
- if (angle(λ0, λ) > angle(λ0, λ1)) λ1 = λ;
- } else {
- if (angle(λ, λ1) > angle(λ0, λ1)) λ0 = λ;
- }
- }
- }
- } else {
- point(λ, φ);
- }
- p0 = p, λ_ = λ;
- }
-
- function lineStart() {
- bound.point = linePoint;
- }
-
- function lineEnd() {
- range[0] = λ0, range[1] = λ1;
- bound.point = point;
- p0 = null;
- }
-
- function ringPoint(λ, φ) {
- if (p0) {
- var dλ = λ - λ_;
- dλSum += abs(dλ) > 180 ? dλ + (dλ > 0 ? 360 : -360) : dλ;
- } else λ__ = λ, φ__ = φ;
- d3_geo_area.point(λ, φ);
- linePoint(λ, φ);
- }
-
- function ringStart() {
- d3_geo_area.lineStart();
- }
-
- function ringEnd() {
- ringPoint(λ__, φ__);
- d3_geo_area.lineEnd();
- if (abs(dλSum) > ε) λ0 = -(λ1 = 180);
- range[0] = λ0, range[1] = λ1;
- p0 = null;
- }
-
- function angle(λ0, λ1) {
- return (λ1 -= λ0) < 0 ? λ1 + 360 : λ1;
- }
-
- function compareRanges(a, b) {
- return a[0] - b[0];
- }
-
- function withinRange(x, range) {
- return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;
- }
-
- return function (feature) {
- φ1 = λ1 = -(λ0 = φ0 = Infinity);
- ranges = [];
- d3.geo.stream(feature, bound);
- var n = ranges.length;
- if (n) {
- ranges.sort(compareRanges);
- for (var i = 1, a = ranges[0], b, merged = [a]; i < n; ++i) {
- b = ranges[i];
- if (withinRange(b[0], a) || withinRange(b[1], a)) {
- if (angle(a[0], b[1]) > angle(a[0], a[1])) a[1] = b[1];
- if (angle(b[0], a[1]) > angle(a[0], a[1])) a[0] = b[0];
- } else {
- merged.push(a = b);
- }
- }
- var best = -Infinity, dλ;
- for (var n = merged.length - 1, i = 0, a = merged[n], b; i <= n; a = b, ++i) {
- b = merged[i];
- if ((dλ = angle(a[1], b[0])) > best) best = dλ, λ0 = b[0], λ1 = a[1];
- }
- }
- ranges = range = null;
- return λ0 === Infinity || φ0 === Infinity ? [[NaN, NaN], [NaN, NaN]] : [[λ0, φ0], [λ1, φ1]];
- };
- }();
- d3.geo.centroid = function (object) {
- d3_geo_centroidW0 = d3_geo_centroidW1 = d3_geo_centroidX0 = d3_geo_centroidY0 = d3_geo_centroidZ0 = d3_geo_centroidX1 = d3_geo_centroidY1 = d3_geo_centroidZ1 = d3_geo_centroidX2 = d3_geo_centroidY2 = d3_geo_centroidZ2 = 0;
- d3.geo.stream(object, d3_geo_centroid);
- var x = d3_geo_centroidX2, y = d3_geo_centroidY2, z = d3_geo_centroidZ2, m = x * x + y * y + z * z;
- if (m < ε2) {
- x = d3_geo_centroidX1, y = d3_geo_centroidY1, z = d3_geo_centroidZ1;
- if (d3_geo_centroidW1 < ε) x = d3_geo_centroidX0, y = d3_geo_centroidY0, z = d3_geo_centroidZ0;
- m = x * x + y * y + z * z;
- if (m < ε2) return [NaN, NaN];
- }
- return [Math.atan2(y, x) * d3_degrees, d3_asin(z / Math.sqrt(m)) * d3_degrees];
- };
- var d3_geo_centroidW0, d3_geo_centroidW1, d3_geo_centroidX0, d3_geo_centroidY0, d3_geo_centroidZ0, d3_geo_centroidX1, d3_geo_centroidY1, d3_geo_centroidZ1, d3_geo_centroidX2, d3_geo_centroidY2, d3_geo_centroidZ2;
- var d3_geo_centroid = {
- sphere: d3_noop,
- point: d3_geo_centroidPoint,
- lineStart: d3_geo_centroidLineStart,
- lineEnd: d3_geo_centroidLineEnd,
- polygonStart: function () {
- d3_geo_centroid.lineStart = d3_geo_centroidRingStart;
- },
- polygonEnd: function () {
- d3_geo_centroid.lineStart = d3_geo_centroidLineStart;
- }
- };
-
- function d3_geo_centroidPoint(λ, φ) {
- λ *= d3_radians;
- var cosφ = Math.cos(φ *= d3_radians);
- d3_geo_centroidPointXYZ(cosφ * Math.cos(λ), cosφ * Math.sin(λ), Math.sin(φ));
- }
-
- function d3_geo_centroidPointXYZ(x, y, z) {
- ++d3_geo_centroidW0;
- d3_geo_centroidX0 += (x - d3_geo_centroidX0) / d3_geo_centroidW0;
- d3_geo_centroidY0 += (y - d3_geo_centroidY0) / d3_geo_centroidW0;
- d3_geo_centroidZ0 += (z - d3_geo_centroidZ0) / d3_geo_centroidW0;
- }
-
- function d3_geo_centroidLineStart() {
- var x0, y0, z0;
- d3_geo_centroid.point = function (λ, φ) {
- λ *= d3_radians;
- var cosφ = Math.cos(φ *= d3_radians);
- x0 = cosφ * Math.cos(λ);
- y0 = cosφ * Math.sin(λ);
- z0 = Math.sin(φ);
- d3_geo_centroid.point = nextPoint;
- d3_geo_centroidPointXYZ(x0, y0, z0);
- };
- function nextPoint(λ, φ) {
- λ *= d3_radians;
- var cosφ = Math.cos(φ *= d3_radians), x = cosφ * Math.cos(λ), y = cosφ * Math.sin(λ), z = Math.sin(φ), w = Math.atan2(Math.sqrt((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z);
- d3_geo_centroidW1 += w;
- d3_geo_centroidX1 += w * (x0 + (x0 = x));
- d3_geo_centroidY1 += w * (y0 + (y0 = y));
- d3_geo_centroidZ1 += w * (z0 + (z0 = z));
- d3_geo_centroidPointXYZ(x0, y0, z0);
- }
- }
-
- function d3_geo_centroidLineEnd() {
- d3_geo_centroid.point = d3_geo_centroidPoint;
- }
-
- function d3_geo_centroidRingStart() {
- var λ00, φ00, x0, y0, z0;
- d3_geo_centroid.point = function (λ, φ) {
- λ00 = λ, φ00 = φ;
- d3_geo_centroid.point = nextPoint;
- λ *= d3_radians;
- var cosφ = Math.cos(φ *= d3_radians);
- x0 = cosφ * Math.cos(λ);
- y0 = cosφ * Math.sin(λ);
- z0 = Math.sin(φ);
- d3_geo_centroidPointXYZ(x0, y0, z0);
- };
- d3_geo_centroid.lineEnd = function () {
- nextPoint(λ00, φ00);
- d3_geo_centroid.lineEnd = d3_geo_centroidLineEnd;
- d3_geo_centroid.point = d3_geo_centroidPoint;
- };
- function nextPoint(λ, φ) {
- λ *= d3_radians;
- var cosφ = Math.cos(φ *= d3_radians), x = cosφ * Math.cos(λ), y = cosφ * Math.sin(λ), z = Math.sin(φ), cx = y0 * z - z0 * y, cy = z0 * x - x0 * z, cz = x0 * y - y0 * x, m = Math.sqrt(cx * cx + cy * cy + cz * cz), u = x0 * x + y0 * y + z0 * z, v = m && -d3_acos(u) / m, w = Math.atan2(m, u);
- d3_geo_centroidX2 += v * cx;
- d3_geo_centroidY2 += v * cy;
- d3_geo_centroidZ2 += v * cz;
- d3_geo_centroidW1 += w;
- d3_geo_centroidX1 += w * (x0 + (x0 = x));
- d3_geo_centroidY1 += w * (y0 + (y0 = y));
- d3_geo_centroidZ1 += w * (z0 + (z0 = z));
- d3_geo_centroidPointXYZ(x0, y0, z0);
- }
- }
-
- function d3_true() {
- return true;
- }
-
- function d3_geo_clipPolygon(segments, compare, clipStartInside, interpolate, listener) {
- var subject = [], clip = [];
- segments.forEach(function (segment) {
- if ((n = segment.length - 1) <= 0) return;
- var n, p0 = segment[0], p1 = segment[n];
- if (d3_geo_sphericalEqual(p0, p1)) {
- listener.lineStart();
- for (var i = 0; i < n; ++i) listener.point((p0 = segment[i])[0], p0[1]);
- listener.lineEnd();
- return;
- }
- var a = new d3_geo_clipPolygonIntersection(p0, segment, null, true), b = new d3_geo_clipPolygonIntersection(p0, null, a, false);
- a.o = b;
- subject.push(a);
- clip.push(b);
- a = new d3_geo_clipPolygonIntersection(p1, segment, null, false);
- b = new d3_geo_clipPolygonIntersection(p1, null, a, true);
- a.o = b;
- subject.push(a);
- clip.push(b);
- });
- clip.sort(compare);
- d3_geo_clipPolygonLinkCircular(subject);
- d3_geo_clipPolygonLinkCircular(clip);
- if (!subject.length) return;
- for (var i = 0, entry = clipStartInside, n = clip.length; i < n; ++i) {
- clip[i].e = entry = !entry;
- }
- var start = subject[0], points, point;
- while (1) {
- var current = start, isSubject = true;
- while (current.v) if ((current = current.n) === start) return;
- points = current.z;
- listener.lineStart();
- do {
- current.v = current.o.v = true;
- if (current.e) {
- if (isSubject) {
- for (var i = 0, n = points.length; i < n; ++i) listener.point((point = points[i])[0], point[1]);
- } else {
- interpolate(current.x, current.n.x, 1, listener);
- }
- current = current.n;
- } else {
- if (isSubject) {
- points = current.p.z;
- for (var i = points.length - 1; i >= 0; --i) listener.point((point = points[i])[0], point[1]);
- } else {
- interpolate(current.x, current.p.x, -1, listener);
- }
- current = current.p;
- }
- current = current.o;
- points = current.z;
- isSubject = !isSubject;
- } while (!current.v);
- listener.lineEnd();
- }
- }
-
- function d3_geo_clipPolygonLinkCircular(array) {
- if (!(n = array.length)) return;
- var n, i = 0, a = array[0], b;
- while (++i < n) {
- a.n = b = array[i];
- b.p = a;
- a = b;
- }
- a.n = b = array[0];
- b.p = a;
- }
-
- function d3_geo_clipPolygonIntersection(point, points, other, entry) {
- this.x = point;
- this.z = points;
- this.o = other;
- this.e = entry;
- this.v = false;
- this.n = this.p = null;
- }
-
- function d3_geo_clip(pointVisible, clipLine, interpolate, clipStart) {
- return function (rotate, listener) {
- var line = clipLine(listener), rotatedClipStart = rotate.invert(clipStart[0], clipStart[1]);
- var clip = {
- point: point,
- lineStart: lineStart,
- lineEnd: lineEnd,
- polygonStart: function () {
- clip.point = pointRing;
- clip.lineStart = ringStart;
- clip.lineEnd = ringEnd;
- segments = [];
- polygon = [];
- },
- polygonEnd: function () {
- clip.point = point;
- clip.lineStart = lineStart;
- clip.lineEnd = lineEnd;
- segments = d3.merge(segments);
- var clipStartInside = d3_geo_pointInPolygon(rotatedClipStart, polygon);
- if (segments.length) {
- if (!polygonStarted) listener.polygonStart(), polygonStarted = true;
- d3_geo_clipPolygon(segments, d3_geo_clipSort, clipStartInside, interpolate, listener);
- } else if (clipStartInside) {
- if (!polygonStarted) listener.polygonStart(), polygonStarted = true;
- listener.lineStart();
- interpolate(null, null, 1, listener);
- listener.lineEnd();
- }
- if (polygonStarted) listener.polygonEnd(), polygonStarted = false;
- segments = polygon = null;
- },
- sphere: function () {
- listener.polygonStart();
- listener.lineStart();
- interpolate(null, null, 1, listener);
- listener.lineEnd();
- listener.polygonEnd();
- }
- };
-
- function point(λ, φ) {
- var point = rotate(λ, φ);
- if (pointVisible(λ = point[0], φ = point[1])) listener.point(λ, φ);
- }
-
- function pointLine(λ, φ) {
- var point = rotate(λ, φ);
- line.point(point[0], point[1]);
- }
-
- function lineStart() {
- clip.point = pointLine;
- line.lineStart();
- }
-
- function lineEnd() {
- clip.point = point;
- line.lineEnd();
- }
-
- var segments;
- var buffer = d3_geo_clipBufferListener(), ringListener = clipLine(buffer), polygonStarted = false, polygon, ring;
-
- function pointRing(λ, φ) {
- ring.push([λ, φ]);
- var point = rotate(λ, φ);
- ringListener.point(point[0], point[1]);
- }
-
- function ringStart() {
- ringListener.lineStart();
- ring = [];
- }
-
- function ringEnd() {
- pointRing(ring[0][0], ring[0][1]);
- ringListener.lineEnd();
- var clean = ringListener.clean(), ringSegments = buffer.buffer(), segment, n = ringSegments.length;
- ring.pop();
- polygon.push(ring);
- ring = null;
- if (!n) return;
- if (clean & 1) {
- segment = ringSegments[0];
- var n = segment.length - 1, i = -1, point;
- if (n > 0) {
- if (!polygonStarted) listener.polygonStart(), polygonStarted = true;
- listener.lineStart();
- while (++i < n) listener.point((point = segment[i])[0], point[1]);
- listener.lineEnd();
- }
- return;
- }
- if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));
- segments.push(ringSegments.filter(d3_geo_clipSegmentLength1));
- }
-
- return clip;
- };
- }
-
- function d3_geo_clipSegmentLength1(segment) {
- return segment.length > 1;
- }
-
- function d3_geo_clipBufferListener() {
- var lines = [], line;
- return {
- lineStart: function () {
- lines.push(line = []);
- },
- point: function (λ, φ) {
- line.push([λ, φ]);
- },
- lineEnd: d3_noop,
- buffer: function () {
- var buffer = lines;
- lines = [];
- line = null;
- return buffer;
- },
- rejoin: function () {
- if (lines.length > 1) lines.push(lines.pop().concat(lines.shift()));
- }
- };
- }
-
- function d3_geo_clipSort(a, b) {
- return ((a = a.x)[0] < 0 ? a[1] - halfπ - ε : halfπ - a[1]) - ((b = b.x)[0] < 0 ? b[1] - halfπ - ε : halfπ - b[1]);
- }
-
- var d3_geo_clipAntimeridian = d3_geo_clip(d3_true, d3_geo_clipAntimeridianLine, d3_geo_clipAntimeridianInterpolate, [-π, -π / 2]);
-
- function d3_geo_clipAntimeridianLine(listener) {
- var λ0 = NaN, φ0 = NaN, sλ0 = NaN, clean;
- return {
- lineStart: function () {
- listener.lineStart();
- clean = 1;
- },
- point: function (λ1, φ1) {
- var sλ1 = λ1 > 0 ? π : -π, dλ = abs(λ1 - λ0);
- if (abs(dλ - π) < ε) {
- listener.point(λ0, φ0 = (φ0 + φ1) / 2 > 0 ? halfπ : -halfπ);
- listener.point(sλ0, φ0);
- listener.lineEnd();
- listener.lineStart();
- listener.point(sλ1, φ0);
- listener.point(λ1, φ0);
- clean = 0;
- } else if (sλ0 !== sλ1 && dλ >= π) {
- if (abs(λ0 - sλ0) < ε) λ0 -= sλ0 * ε;
- if (abs(λ1 - sλ1) < ε) λ1 -= sλ1 * ε;
- φ0 = d3_geo_clipAntimeridianIntersect(λ0, φ0, λ1, φ1);
- listener.point(sλ0, φ0);
- listener.lineEnd();
- listener.lineStart();
- listener.point(sλ1, φ0);
- clean = 0;
- }
- listener.point(λ0 = λ1, φ0 = φ1);
- sλ0 = sλ1;
- },
- lineEnd: function () {
- listener.lineEnd();
- λ0 = φ0 = NaN;
- },
- clean: function () {
- return 2 - clean;
- }
- };
- }
-
- function d3_geo_clipAntimeridianIntersect(λ0, φ0, λ1, φ1) {
- var cosφ0, cosφ1, sinλ0_λ1 = Math.sin(λ0 - λ1);
- return abs(sinλ0_λ1) > ε ? Math.atan((Math.sin(φ0) * (cosφ1 = Math.cos(φ1)) * Math.sin(λ1) - Math.sin(φ1) * (cosφ0 = Math.cos(φ0)) * Math.sin(λ0)) / (cosφ0 * cosφ1 * sinλ0_λ1)) : (φ0 + φ1) / 2;
- }
-
- function d3_geo_clipAntimeridianInterpolate(from, to, direction, listener) {
- var φ;
- if (from == null) {
- φ = direction * halfπ;
- listener.point(-π, φ);
- listener.point(0, φ);
- listener.point(π, φ);
- listener.point(π, 0);
- listener.point(π, -φ);
- listener.point(0, -φ);
- listener.point(-π, -φ);
- listener.point(-π, 0);
- listener.point(-π, φ);
- } else if (abs(from[0] - to[0]) > ε) {
- var s = from[0] < to[0] ? π : -π;
- φ = direction * s / 2;
- listener.point(-s, φ);
- listener.point(0, φ);
- listener.point(s, φ);
- } else {
- listener.point(to[0], to[1]);
- }
- }
-
- function d3_geo_pointInPolygon(point, polygon) {
- var meridian = point[0], parallel = point[1], meridianNormal = [Math.sin(meridian), -Math.cos(meridian), 0], polarAngle = 0, winding = 0;
- d3_geo_areaRingSum.reset();
- for (var i = 0, n = polygon.length; i < n; ++i) {
- var ring = polygon[i], m = ring.length;
- if (!m) continue;
- var point0 = ring[0], λ0 = point0[0], φ0 = point0[1] / 2 + π / 4, sinφ0 = Math.sin(φ0), cosφ0 = Math.cos(φ0), j = 1;
- while (true) {
- if (j === m) j = 0;
- point = ring[j];
- var λ = point[0], φ = point[1] / 2 + π / 4, sinφ = Math.sin(φ), cosφ = Math.cos(φ), dλ = λ - λ0, sdλ = dλ >= 0 ? 1 : -1, adλ = sdλ * dλ, antimeridian = adλ > π, k = sinφ0 * sinφ;
- d3_geo_areaRingSum.add(Math.atan2(k * sdλ * Math.sin(adλ), cosφ0 * cosφ + k * Math.cos(adλ)));
- polarAngle += antimeridian ? dλ + sdλ * τ : dλ;
- if (antimeridian ^ λ0 >= meridian ^ λ >= meridian) {
- var arc = d3_geo_cartesianCross(d3_geo_cartesian(point0), d3_geo_cartesian(point));
- d3_geo_cartesianNormalize(arc);
- var intersection = d3_geo_cartesianCross(meridianNormal, arc);
- d3_geo_cartesianNormalize(intersection);
- var φarc = (antimeridian ^ dλ >= 0 ? -1 : 1) * d3_asin(intersection[2]);
- if (parallel > φarc || parallel === φarc && (arc[0] || arc[1])) {
- winding += antimeridian ^ dλ >= 0 ? 1 : -1;
- }
- }
- if (!j++) break;
- λ0 = λ, sinφ0 = sinφ, cosφ0 = cosφ, point0 = point;
- }
- }
- return (polarAngle < -ε || polarAngle < ε && d3_geo_areaRingSum < 0) ^ winding & 1;
- }
-
- function d3_geo_clipCircle(radius) {
- var cr = Math.cos(radius), smallRadius = cr > 0, notHemisphere = abs(cr) > ε, interpolate = d3_geo_circleInterpolate(radius, 6 * d3_radians);
- return d3_geo_clip(visible, clipLine, interpolate, smallRadius ? [0, -radius] : [-π, radius - π]);
- function visible(λ, φ) {
- return Math.cos(λ) * Math.cos(φ) > cr;
- }
-
- function clipLine(listener) {
- var point0, c0, v0, v00, clean;
- return {
- lineStart: function () {
- v00 = v0 = false;
- clean = 1;
- },
- point: function (λ, φ) {
- var point1 = [λ, φ], point2, v = visible(λ, φ), c = smallRadius ? v ? 0 : code(λ, φ) : v ? code(λ + (λ < 0 ? π : -π), φ) : 0;
- if (!point0 && (v00 = v0 = v)) listener.lineStart();
- if (v !== v0) {
- point2 = intersect(point0, point1);
- if (d3_geo_sphericalEqual(point0, point2) || d3_geo_sphericalEqual(point1, point2)) {
- point1[0] += ε;
- point1[1] += ε;
- v = visible(point1[0], point1[1]);
- }
- }
- if (v !== v0) {
- clean = 0;
- if (v) {
- listener.lineStart();
- point2 = intersect(point1, point0);
- listener.point(point2[0], point2[1]);
- } else {
- point2 = intersect(point0, point1);
- listener.point(point2[0], point2[1]);
- listener.lineEnd();
- }
- point0 = point2;
- } else if (notHemisphere && point0 && smallRadius ^ v) {
- var t;
- if (!(c & c0) && (t = intersect(point1, point0, true))) {
- clean = 0;
- if (smallRadius) {
- listener.lineStart();
- listener.point(t[0][0], t[0][1]);
- listener.point(t[1][0], t[1][1]);
- listener.lineEnd();
- } else {
- listener.point(t[1][0], t[1][1]);
- listener.lineEnd();
- listener.lineStart();
- listener.point(t[0][0], t[0][1]);
- }
- }
- }
- if (v && (!point0 || !d3_geo_sphericalEqual(point0, point1))) {
- listener.point(point1[0], point1[1]);
- }
- point0 = point1, v0 = v, c0 = c;
- },
- lineEnd: function () {
- if (v0) listener.lineEnd();
- point0 = null;
- },
- clean: function () {
- return clean | (v00 && v0) << 1;
- }
- };
- }
-
- function intersect(a, b, two) {
- var pa = d3_geo_cartesian(a), pb = d3_geo_cartesian(b);
- var n1 = [1, 0, 0], n2 = d3_geo_cartesianCross(pa, pb), n2n2 = d3_geo_cartesianDot(n2, n2), n1n2 = n2[0], determinant = n2n2 - n1n2 * n1n2;
- if (!determinant) return !two && a;
- var c1 = cr * n2n2 / determinant, c2 = -cr * n1n2 / determinant, n1xn2 = d3_geo_cartesianCross(n1, n2), A = d3_geo_cartesianScale(n1, c1), B = d3_geo_cartesianScale(n2, c2);
- d3_geo_cartesianAdd(A, B);
- var u = n1xn2, w = d3_geo_cartesianDot(A, u), uu = d3_geo_cartesianDot(u, u), t2 = w * w - uu * (d3_geo_cartesianDot(A, A) - 1);
- if (t2 < 0) return;
- var t = Math.sqrt(t2), q = d3_geo_cartesianScale(u, (-w - t) / uu);
- d3_geo_cartesianAdd(q, A);
- q = d3_geo_spherical(q);
- if (!two) return q;
- var λ0 = a[0], λ1 = b[0], φ0 = a[1], φ1 = b[1], z;
- if (λ1 < λ0) z = λ0, λ0 = λ1, λ1 = z;
- var δλ = λ1 - λ0, polar = abs(δλ - π) < ε, meridian = polar || δλ < ε;
- if (!polar && φ1 < φ0) z = φ0, φ0 = φ1, φ1 = z;
- if (meridian ? polar ? φ0 + φ1 > 0 ^ q[1] < (abs(q[0] - λ0) < ε ? φ0 : φ1) : φ0 <= q[1] && q[1] <= φ1 : δλ > π ^ (λ0 <= q[0] && q[0] <= λ1)) {
- var q1 = d3_geo_cartesianScale(u, (-w + t) / uu);
- d3_geo_cartesianAdd(q1, A);
- return [q, d3_geo_spherical(q1)];
- }
- }
-
- function code(λ, φ) {
- var r = smallRadius ? radius : π - radius, code = 0;
- if (λ < -r) code |= 1; else if (λ > r) code |= 2;
- if (φ < -r) code |= 4; else if (φ > r) code |= 8;
- return code;
- }
- }
-
- function d3_geom_clipLine(x0, y0, x1, y1) {
- return function (line) {
- var a = line.a, b = line.b, ax = a.x, ay = a.y, bx = b.x, by = b.y, t0 = 0, t1 = 1, dx = bx - ax, dy = by - ay, r;
- r = x0 - ax;
- if (!dx && r > 0) return;
- r /= dx;
- if (dx < 0) {
- if (r < t0) return;
- if (r < t1) t1 = r;
- } else if (dx > 0) {
- if (r > t1) return;
- if (r > t0) t0 = r;
- }
- r = x1 - ax;
- if (!dx && r < 0) return;
- r /= dx;
- if (dx < 0) {
- if (r > t1) return;
- if (r > t0) t0 = r;
- } else if (dx > 0) {
- if (r < t0) return;
- if (r < t1) t1 = r;
- }
- r = y0 - ay;
- if (!dy && r > 0) return;
- r /= dy;
- if (dy < 0) {
- if (r < t0) return;
- if (r < t1) t1 = r;
- } else if (dy > 0) {
- if (r > t1) return;
- if (r > t0) t0 = r;
- }
- r = y1 - ay;
- if (!dy && r < 0) return;
- r /= dy;
- if (dy < 0) {
- if (r > t1) return;
- if (r > t0) t0 = r;
- } else if (dy > 0) {
- if (r < t0) return;
- if (r < t1) t1 = r;
- }
- if (t0 > 0) line.a = {
- x: ax + t0 * dx,
- y: ay + t0 * dy
- };
- if (t1 < 1) line.b = {
- x: ax + t1 * dx,
- y: ay + t1 * dy
- };
- return line;
- };
- }
-
- var d3_geo_clipExtentMAX = 1e9;
- d3.geo.clipExtent = function () {
- var x0, y0, x1, y1, stream, clip, clipExtent = {
- stream: function (output) {
- if (stream) stream.valid = false;
- stream = clip(output);
- stream.valid = true;
- return stream;
- },
- extent: function (_) {
- if (!arguments.length) return [[x0, y0], [x1, y1]];
- clip = d3_geo_clipExtent(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]);
- if (stream) stream.valid = false, stream = null;
- return clipExtent;
- }
- };
- return clipExtent.extent([[0, 0], [960, 500]]);
- };
- function d3_geo_clipExtent(x0, y0, x1, y1) {
- return function (listener) {
- var listener_ = listener, bufferListener = d3_geo_clipBufferListener(), clipLine = d3_geom_clipLine(x0, y0, x1, y1), segments, polygon, ring;
- var clip = {
- point: point,
- lineStart: lineStart,
- lineEnd: lineEnd,
- polygonStart: function () {
- listener = bufferListener;
- segments = [];
- polygon = [];
- clean = true;
- },
- polygonEnd: function () {
- listener = listener_;
- segments = d3.merge(segments);
- var clipStartInside = insidePolygon([x0, y1]), inside = clean && clipStartInside, visible = segments.length;
- if (inside || visible) {
- listener.polygonStart();
- if (inside) {
- listener.lineStart();
- interpolate(null, null, 1, listener);
- listener.lineEnd();
- }
- if (visible) {
- d3_geo_clipPolygon(segments, compare, clipStartInside, interpolate, listener);
- }
- listener.polygonEnd();
- }
- segments = polygon = ring = null;
- }
- };
-
- function insidePolygon(p) {
- var wn = 0, n = polygon.length, y = p[1];
- for (var i = 0; i < n; ++i) {
- for (var j = 1, v = polygon[i], m = v.length, a = v[0], b; j < m; ++j) {
- b = v[j];
- if (a[1] <= y) {
- if (b[1] > y && d3_cross2d(a, b, p) > 0) ++wn;
- } else {
- if (b[1] <= y && d3_cross2d(a, b, p) < 0) --wn;
- }
- a = b;
- }
- }
- return wn !== 0;
- }
-
- function interpolate(from, to, direction, listener) {
- var a = 0, a1 = 0;
- if (from == null || (a = corner(from, direction)) !== (a1 = corner(to, direction)) || comparePoints(from, to) < 0 ^ direction > 0) {
- do {
- listener.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);
- } while ((a = (a + direction + 4) % 4) !== a1);
- } else {
- listener.point(to[0], to[1]);
- }
- }
-
- function pointVisible(x, y) {
- return x0 <= x && x <= x1 && y0 <= y && y <= y1;
- }
-
- function point(x, y) {
- if (pointVisible(x, y)) listener.point(x, y);
- }
-
- var x__, y__, v__, x_, y_, v_, first, clean;
-
- function lineStart() {
- clip.point = linePoint;
- if (polygon) polygon.push(ring = []);
- first = true;
- v_ = false;
- x_ = y_ = NaN;
- }
-
- function lineEnd() {
- if (segments) {
- linePoint(x__, y__);
- if (v__ && v_) bufferListener.rejoin();
- segments.push(bufferListener.buffer());
- }
- clip.point = point;
- if (v_) listener.lineEnd();
- }
-
- function linePoint(x, y) {
- x = Math.max(-d3_geo_clipExtentMAX, Math.min(d3_geo_clipExtentMAX, x));
- y = Math.max(-d3_geo_clipExtentMAX, Math.min(d3_geo_clipExtentMAX, y));
- var v = pointVisible(x, y);
- if (polygon) ring.push([x, y]);
- if (first) {
- x__ = x, y__ = y, v__ = v;
- first = false;
- if (v) {
- listener.lineStart();
- listener.point(x, y);
- }
- } else {
- if (v && v_) listener.point(x, y); else {
- var l = {
- a: {
- x: x_,
- y: y_
- },
- b: {
- x: x,
- y: y
- }
- };
- if (clipLine(l)) {
- if (!v_) {
- listener.lineStart();
- listener.point(l.a.x, l.a.y);
- }
- listener.point(l.b.x, l.b.y);
- if (!v) listener.lineEnd();
- clean = false;
- } else if (v) {
- listener.lineStart();
- listener.point(x, y);
- clean = false;
- }
- }
- }
- x_ = x, y_ = y, v_ = v;
- }
-
- return clip;
- };
- function corner(p, direction) {
- return abs(p[0] - x0) < ε ? direction > 0 ? 0 : 3 : abs(p[0] - x1) < ε ? direction > 0 ? 2 : 1 : abs(p[1] - y0) < ε ? direction > 0 ? 1 : 0 : direction > 0 ? 3 : 2;
- }
-
- function compare(a, b) {
- return comparePoints(a.x, b.x);
- }
-
- function comparePoints(a, b) {
- var ca = corner(a, 1), cb = corner(b, 1);
- return ca !== cb ? ca - cb : ca === 0 ? b[1] - a[1] : ca === 1 ? a[0] - b[0] : ca === 2 ? a[1] - b[1] : b[0] - a[0];
- }
- }
-
- function d3_geo_compose(a, b) {
- function compose(x, y) {
- return x = a(x, y), b(x[0], x[1]);
- }
-
- if (a.invert && b.invert) compose.invert = function (x, y) {
- return x = b.invert(x, y), x && a.invert(x[0], x[1]);
- };
- return compose;
- }
-
- function d3_geo_conic(projectAt) {
- var φ0 = 0, φ1 = π / 3, m = d3_geo_projectionMutator(projectAt), p = m(φ0, φ1);
- p.parallels = function (_) {
- if (!arguments.length) return [φ0 / π * 180, φ1 / π * 180];
- return m(φ0 = _[0] * π / 180, φ1 = _[1] * π / 180);
- };
- return p;
- }
-
- function d3_geo_conicEqualArea(φ0, φ1) {
- var sinφ0 = Math.sin(φ0), n = (sinφ0 + Math.sin(φ1)) / 2, C = 1 + sinφ0 * (2 * n - sinφ0), ρ0 = Math.sqrt(C) / n;
-
- function forward(λ, φ) {
- var ρ = Math.sqrt(C - 2 * n * Math.sin(φ)) / n;
- return [ρ * Math.sin(λ *= n), ρ0 - ρ * Math.cos(λ)];
- }
-
- forward.invert = function (x, y) {
- var ρ0_y = ρ0 - y;
- return [Math.atan2(x, ρ0_y) / n, d3_asin((C - (x * x + ρ0_y * ρ0_y) * n * n) / (2 * n))];
- };
- return forward;
- }
-
- (d3.geo.conicEqualArea = function () {
- return d3_geo_conic(d3_geo_conicEqualArea);
- }).raw = d3_geo_conicEqualArea;
- d3.geo.albers = function () {
- return d3.geo.conicEqualArea().rotate([96, 0]).center([-.6, 38.7]).parallels([29.5, 45.5]).scale(1070);
- };
- d3.geo.albersUsa = function () {
- var lower48 = d3.geo.albers();
- var alaska = d3.geo.conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]);
- var hawaii = d3.geo.conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]);
- var point, pointStream = {
- point: function (x, y) {
- point = [x, y];
- }
- }, lower48Point, alaskaPoint, hawaiiPoint;
-
- function albersUsa(coordinates) {
- var x = coordinates[0], y = coordinates[1];
- point = null;
- (lower48Point(x, y), point) || (alaskaPoint(x, y), point) || hawaiiPoint(x, y);
- return point;
- }
-
- albersUsa.invert = function (coordinates) {
- var k = lower48.scale(), t = lower48.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;
- return (y >= .12 && y < .234 && x >= -.425 && x < -.214 ? alaska : y >= .166 && y < .234 && x >= -.214 && x < -.115 ? hawaii : lower48).invert(coordinates);
- };
- albersUsa.stream = function (stream) {
- var lower48Stream = lower48.stream(stream), alaskaStream = alaska.stream(stream), hawaiiStream = hawaii.stream(stream);
- return {
- point: function (x, y) {
- lower48Stream.point(x, y);
- alaskaStream.point(x, y);
- hawaiiStream.point(x, y);
- },
- sphere: function () {
- lower48Stream.sphere();
- alaskaStream.sphere();
- hawaiiStream.sphere();
- },
- lineStart: function () {
- lower48Stream.lineStart();
- alaskaStream.lineStart();
- hawaiiStream.lineStart();
- },
- lineEnd: function () {
- lower48Stream.lineEnd();
- alaskaStream.lineEnd();
- hawaiiStream.lineEnd();
- },
- polygonStart: function () {
- lower48Stream.polygonStart();
- alaskaStream.polygonStart();
- hawaiiStream.polygonStart();
- },
- polygonEnd: function () {
- lower48Stream.polygonEnd();
- alaskaStream.polygonEnd();
- hawaiiStream.polygonEnd();
- }
- };
- };
- albersUsa.precision = function (_) {
- if (!arguments.length) return lower48.precision();
- lower48.precision(_);
- alaska.precision(_);
- hawaii.precision(_);
- return albersUsa;
- };
- albersUsa.scale = function (_) {
- if (!arguments.length) return lower48.scale();
- lower48.scale(_);
- alaska.scale(_ * .35);
- hawaii.scale(_);
- return albersUsa.translate(lower48.translate());
- };
- albersUsa.translate = function (_) {
- if (!arguments.length) return lower48.translate();
- var k = lower48.scale(), x = +_[0], y = +_[1];
- lower48Point = lower48.translate(_).clipExtent([[x - .455 * k, y - .238 * k], [x + .455 * k, y + .238 * k]]).stream(pointStream).point;
- alaskaPoint = alaska.translate([x - .307 * k, y + .201 * k]).clipExtent([[x - .425 * k + ε, y + .12 * k + ε], [x - .214 * k - ε, y + .234 * k - ε]]).stream(pointStream).point;
- hawaiiPoint = hawaii.translate([x - .205 * k, y + .212 * k]).clipExtent([[x - .214 * k + ε, y + .166 * k + ε], [x - .115 * k - ε, y + .234 * k - ε]]).stream(pointStream).point;
- return albersUsa;
- };
- return albersUsa.scale(1070);
- };
- var d3_geo_pathAreaSum, d3_geo_pathAreaPolygon, d3_geo_pathArea = {
- point: d3_noop,
- lineStart: d3_noop,
- lineEnd: d3_noop,
- polygonStart: function () {
- d3_geo_pathAreaPolygon = 0;
- d3_geo_pathArea.lineStart = d3_geo_pathAreaRingStart;
- },
- polygonEnd: function () {
- d3_geo_pathArea.lineStart = d3_geo_pathArea.lineEnd = d3_geo_pathArea.point = d3_noop;
- d3_geo_pathAreaSum += abs(d3_geo_pathAreaPolygon / 2);
- }
- };
-
- function d3_geo_pathAreaRingStart() {
- var x00, y00, x0, y0;
- d3_geo_pathArea.point = function (x, y) {
- d3_geo_pathArea.point = nextPoint;
- x00 = x0 = x, y00 = y0 = y;
- };
- function nextPoint(x, y) {
- d3_geo_pathAreaPolygon += y0 * x - x0 * y;
- x0 = x, y0 = y;
- }
-
- d3_geo_pathArea.lineEnd = function () {
- nextPoint(x00, y00);
- };
- }
-
- var d3_geo_pathBoundsX0, d3_geo_pathBoundsY0, d3_geo_pathBoundsX1, d3_geo_pathBoundsY1;
- var d3_geo_pathBounds = {
- point: d3_geo_pathBoundsPoint,
- lineStart: d3_noop,
- lineEnd: d3_noop,
- polygonStart: d3_noop,
- polygonEnd: d3_noop
- };
-
- function d3_geo_pathBoundsPoint(x, y) {
- if (x < d3_geo_pathBoundsX0) d3_geo_pathBoundsX0 = x;
- if (x > d3_geo_pathBoundsX1) d3_geo_pathBoundsX1 = x;
- if (y < d3_geo_pathBoundsY0) d3_geo_pathBoundsY0 = y;
- if (y > d3_geo_pathBoundsY1) d3_geo_pathBoundsY1 = y;
- }
-
- function d3_geo_pathBuffer() {
- var pointCircle = d3_geo_pathBufferCircle(4.5), buffer = [];
- var stream = {
- point: point,
- lineStart: function () {
- stream.point = pointLineStart;
- },
- lineEnd: lineEnd,
- polygonStart: function () {
- stream.lineEnd = lineEndPolygon;
- },
- polygonEnd: function () {
- stream.lineEnd = lineEnd;
- stream.point = point;
- },
- pointRadius: function (_) {
- pointCircle = d3_geo_pathBufferCircle(_);
- return stream;
- },
- result: function () {
- if (buffer.length) {
- var result = buffer.join("");
- buffer = [];
- return result;
- }
- }
- };
-
- function point(x, y) {
- buffer.push("M", x, ",", y, pointCircle);
- }
-
- function pointLineStart(x, y) {
- buffer.push("M", x, ",", y);
- stream.point = pointLine;
- }
-
- function pointLine(x, y) {
- buffer.push("L", x, ",", y);
- }
-
- function lineEnd() {
- stream.point = point;
- }
-
- function lineEndPolygon() {
- buffer.push("Z");
- }
-
- return stream;
- }
-
- function d3_geo_pathBufferCircle(radius) {
- return "m0," + radius + "a" + radius + "," + radius + " 0 1,1 0," + -2 * radius + "a" + radius + "," + radius + " 0 1,1 0," + 2 * radius + "z";
- }
-
- var d3_geo_pathCentroid = {
- point: d3_geo_pathCentroidPoint,
- lineStart: d3_geo_pathCentroidLineStart,
- lineEnd: d3_geo_pathCentroidLineEnd,
- polygonStart: function () {
- d3_geo_pathCentroid.lineStart = d3_geo_pathCentroidRingStart;
- },
- polygonEnd: function () {
- d3_geo_pathCentroid.point = d3_geo_pathCentroidPoint;
- d3_geo_pathCentroid.lineStart = d3_geo_pathCentroidLineStart;
- d3_geo_pathCentroid.lineEnd = d3_geo_pathCentroidLineEnd;
- }
- };
-
- function d3_geo_pathCentroidPoint(x, y) {
- d3_geo_centroidX0 += x;
- d3_geo_centroidY0 += y;
- ++d3_geo_centroidZ0;
- }
-
- function d3_geo_pathCentroidLineStart() {
- var x0, y0;
- d3_geo_pathCentroid.point = function (x, y) {
- d3_geo_pathCentroid.point = nextPoint;
- d3_geo_pathCentroidPoint(x0 = x, y0 = y);
- };
- function nextPoint(x, y) {
- var dx = x - x0, dy = y - y0, z = Math.sqrt(dx * dx + dy * dy);
- d3_geo_centroidX1 += z * (x0 + x) / 2;
- d3_geo_centroidY1 += z * (y0 + y) / 2;
- d3_geo_centroidZ1 += z;
- d3_geo_pathCentroidPoint(x0 = x, y0 = y);
- }
- }
-
- function d3_geo_pathCentroidLineEnd() {
- d3_geo_pathCentroid.point = d3_geo_pathCentroidPoint;
- }
-
- function d3_geo_pathCentroidRingStart() {
- var x00, y00, x0, y0;
- d3_geo_pathCentroid.point = function (x, y) {
- d3_geo_pathCentroid.point = nextPoint;
- d3_geo_pathCentroidPoint(x00 = x0 = x, y00 = y0 = y);
- };
- function nextPoint(x, y) {
- var dx = x - x0, dy = y - y0, z = Math.sqrt(dx * dx + dy * dy);
- d3_geo_centroidX1 += z * (x0 + x) / 2;
- d3_geo_centroidY1 += z * (y0 + y) / 2;
- d3_geo_centroidZ1 += z;
- z = y0 * x - x0 * y;
- d3_geo_centroidX2 += z * (x0 + x);
- d3_geo_centroidY2 += z * (y0 + y);
- d3_geo_centroidZ2 += z * 3;
- d3_geo_pathCentroidPoint(x0 = x, y0 = y);
- }
-
- d3_geo_pathCentroid.lineEnd = function () {
- nextPoint(x00, y00);
- };
- }
-
- function d3_geo_pathContext(context) {
- var pointRadius = 4.5;
- var stream = {
- point: point,
- lineStart: function () {
- stream.point = pointLineStart;
- },
- lineEnd: lineEnd,
- polygonStart: function () {
- stream.lineEnd = lineEndPolygon;
- },
- polygonEnd: function () {
- stream.lineEnd = lineEnd;
- stream.point = point;
- },
- pointRadius: function (_) {
- pointRadius = _;
- return stream;
- },
- result: d3_noop
- };
-
- function point(x, y) {
- context.moveTo(x, y);
- context.arc(x, y, pointRadius, 0, τ);
- }
-
- function pointLineStart(x, y) {
- context.moveTo(x, y);
- stream.point = pointLine;
- }
-
- function pointLine(x, y) {
- context.lineTo(x, y);
- }
-
- function lineEnd() {
- stream.point = point;
- }
-
- function lineEndPolygon() {
- context.closePath();
- }
-
- return stream;
- }
-
- function d3_geo_resample(project) {
- var δ2 = .5, cosMinDistance = Math.cos(30 * d3_radians), maxDepth = 16;
-
- function resample(stream) {
- return (maxDepth ? resampleRecursive : resampleNone)(stream);
- }
-
- function resampleNone(stream) {
- return d3_geo_transformPoint(stream, function (x, y) {
- x = project(x, y);
- stream.point(x[0], x[1]);
- });
- }
-
- function resampleRecursive(stream) {
- var λ00, φ00, x00, y00, a00, b00, c00, λ0, x0, y0, a0, b0, c0;
- var resample = {
- point: point,
- lineStart: lineStart,
- lineEnd: lineEnd,
- polygonStart: function () {
- stream.polygonStart();
- resample.lineStart = ringStart;
- },
- polygonEnd: function () {
- stream.polygonEnd();
- resample.lineStart = lineStart;
- }
- };
-
- function point(x, y) {
- x = project(x, y);
- stream.point(x[0], x[1]);
- }
-
- function lineStart() {
- x0 = NaN;
- resample.point = linePoint;
- stream.lineStart();
- }
-
- function linePoint(λ, φ) {
- var c = d3_geo_cartesian([λ, φ]), p = project(λ, φ);
- resampleLineTo(x0, y0, λ0, a0, b0, c0, x0 = p[0], y0 = p[1], λ0 = λ, a0 = c[0], b0 = c[1], c0 = c[2], maxDepth, stream);
- stream.point(x0, y0);
- }
-
- function lineEnd() {
- resample.point = point;
- stream.lineEnd();
- }
-
- function ringStart() {
- lineStart();
- resample.point = ringPoint;
- resample.lineEnd = ringEnd;
- }
-
- function ringPoint(λ, φ) {
- linePoint(λ00 = λ, φ00 = φ), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0;
- resample.point = linePoint;
- }
-
- function ringEnd() {
- resampleLineTo(x0, y0, λ0, a0, b0, c0, x00, y00, λ00, a00, b00, c00, maxDepth, stream);
- resample.lineEnd = lineEnd;
- lineEnd();
- }
-
- return resample;
- }
-
- function resampleLineTo(x0, y0, λ0, a0, b0, c0, x1, y1, λ1, a1, b1, c1, depth, stream) {
- var dx = x1 - x0, dy = y1 - y0, d2 = dx * dx + dy * dy;
- if (d2 > 4 * δ2 && depth--) {
- var a = a0 + a1, b = b0 + b1, c = c0 + c1, m = Math.sqrt(a * a + b * b + c * c), φ2 = Math.asin(c /= m), λ2 = abs(abs(c) - 1) < ε || abs(λ0 - λ1) < ε ? (λ0 + λ1) / 2 : Math.atan2(b, a), p = project(λ2, φ2), x2 = p[0], y2 = p[1], dx2 = x2 - x0, dy2 = y2 - y0, dz = dy * dx2 - dx * dy2;
- if (dz * dz / d2 > δ2 || abs((dx * dx2 + dy * dy2) / d2 - .5) > .3 || a0 * a1 + b0 * b1 + c0 * c1 < cosMinDistance) {
- resampleLineTo(x0, y0, λ0, a0, b0, c0, x2, y2, λ2, a /= m, b /= m, c, depth, stream);
- stream.point(x2, y2);
- resampleLineTo(x2, y2, λ2, a, b, c, x1, y1, λ1, a1, b1, c1, depth, stream);
- }
- }
- }
-
- resample.precision = function (_) {
- if (!arguments.length) return Math.sqrt(δ2);
- maxDepth = (δ2 = _ * _) > 0 && 16;
- return resample;
- };
- return resample;
- }
-
- d3.geo.path = function () {
- var pointRadius = 4.5, projection, context, projectStream, contextStream, cacheStream;
-
- function path(object) {
- if (object) {
- if (typeof pointRadius === "function") contextStream.pointRadius(+pointRadius.apply(this, arguments));
- if (!cacheStream || !cacheStream.valid) cacheStream = projectStream(contextStream);
- d3.geo.stream(object, cacheStream);
- }
- return contextStream.result();
- }
-
- path.area = function (object) {
- d3_geo_pathAreaSum = 0;
- d3.geo.stream(object, projectStream(d3_geo_pathArea));
- return d3_geo_pathAreaSum;
- };
- path.centroid = function (object) {
- d3_geo_centroidX0 = d3_geo_centroidY0 = d3_geo_centroidZ0 = d3_geo_centroidX1 = d3_geo_centroidY1 = d3_geo_centroidZ1 = d3_geo_centroidX2 = d3_geo_centroidY2 = d3_geo_centroidZ2 = 0;
- d3.geo.stream(object, projectStream(d3_geo_pathCentroid));
- return d3_geo_centroidZ2 ? [d3_geo_centroidX2 / d3_geo_centroidZ2, d3_geo_centroidY2 / d3_geo_centroidZ2] : d3_geo_centroidZ1 ? [d3_geo_centroidX1 / d3_geo_centroidZ1, d3_geo_centroidY1 / d3_geo_centroidZ1] : d3_geo_centroidZ0 ? [d3_geo_centroidX0 / d3_geo_centroidZ0, d3_geo_centroidY0 / d3_geo_centroidZ0] : [NaN, NaN];
- };
- path.bounds = function (object) {
- d3_geo_pathBoundsX1 = d3_geo_pathBoundsY1 = -(d3_geo_pathBoundsX0 = d3_geo_pathBoundsY0 = Infinity);
- d3.geo.stream(object, projectStream(d3_geo_pathBounds));
- return [[d3_geo_pathBoundsX0, d3_geo_pathBoundsY0], [d3_geo_pathBoundsX1, d3_geo_pathBoundsY1]];
- };
- path.projection = function (_) {
- if (!arguments.length) return projection;
- projectStream = (projection = _) ? _.stream || d3_geo_pathProjectStream(_) : d3_identity;
- return reset();
- };
- path.context = function (_) {
- if (!arguments.length) return context;
- contextStream = (context = _) == null ? new d3_geo_pathBuffer() : new d3_geo_pathContext(_);
- if (typeof pointRadius !== "function") contextStream.pointRadius(pointRadius);
- return reset();
- };
- path.pointRadius = function (_) {
- if (!arguments.length) return pointRadius;
- pointRadius = typeof _ === "function" ? _ : (contextStream.pointRadius(+_), +_);
- return path;
- };
- function reset() {
- cacheStream = null;
- return path;
- }
-
- return path.projection(d3.geo.albersUsa()).context(null);
- };
- function d3_geo_pathProjectStream(project) {
- var resample = d3_geo_resample(function (x, y) {
- return project([x * d3_degrees, y * d3_degrees]);
- });
- return function (stream) {
- return d3_geo_projectionRadians(resample(stream));
- };
- }
-
- d3.geo.transform = function (methods) {
- return {
- stream: function (stream) {
- var transform = new d3_geo_transform(stream);
- for (var k in methods) transform[k] = methods[k];
- return transform;
- }
- };
- };
- function d3_geo_transform(stream) {
- this.stream = stream;
- }
-
- d3_geo_transform.prototype = {
- point: function (x, y) {
- this.stream.point(x, y);
- },
- sphere: function () {
- this.stream.sphere();
- },
- lineStart: function () {
- this.stream.lineStart();
- },
- lineEnd: function () {
- this.stream.lineEnd();
- },
- polygonStart: function () {
- this.stream.polygonStart();
- },
- polygonEnd: function () {
- this.stream.polygonEnd();
- }
- };
- function d3_geo_transformPoint(stream, point) {
- return {
- point: point,
- sphere: function () {
- stream.sphere();
- },
- lineStart: function () {
- stream.lineStart();
- },
- lineEnd: function () {
- stream.lineEnd();
- },
- polygonStart: function () {
- stream.polygonStart();
- },
- polygonEnd: function () {
- stream.polygonEnd();
- }
- };
- }
-
- d3.geo.projection = d3_geo_projection;
- d3.geo.projectionMutator = d3_geo_projectionMutator;
- function d3_geo_projection(project) {
- return d3_geo_projectionMutator(function () {
- return project;
- })();
- }
-
- function d3_geo_projectionMutator(projectAt) {
- var project, rotate, projectRotate, projectResample = d3_geo_resample(function (x, y) {
- x = project(x, y);
- return [x[0] * k + δx, δy - x[1] * k];
- }), k = 150, x = 480, y = 250, λ = 0, φ = 0, δλ = 0, δφ = 0, δγ = 0, δx, δy, preclip = d3_geo_clipAntimeridian, postclip = d3_identity, clipAngle = null, clipExtent = null, stream;
-
- function projection(point) {
- point = projectRotate(point[0] * d3_radians, point[1] * d3_radians);
- return [point[0] * k + δx, δy - point[1] * k];
- }
-
- function invert(point) {
- point = projectRotate.invert((point[0] - δx) / k, (δy - point[1]) / k);
- return point && [point[0] * d3_degrees, point[1] * d3_degrees];
- }
-
- projection.stream = function (output) {
- if (stream) stream.valid = false;
- stream = d3_geo_projectionRadians(preclip(rotate, projectResample(postclip(output))));
- stream.valid = true;
- return stream;
- };
- projection.clipAngle = function (_) {
- if (!arguments.length) return clipAngle;
- preclip = _ == null ? (clipAngle = _, d3_geo_clipAntimeridian) : d3_geo_clipCircle((clipAngle = +_) * d3_radians);
- return invalidate();
- };
- projection.clipExtent = function (_) {
- if (!arguments.length) return clipExtent;
- clipExtent = _;
- postclip = _ ? d3_geo_clipExtent(_[0][0], _[0][1], _[1][0], _[1][1]) : d3_identity;
- return invalidate();
- };
- projection.scale = function (_) {
- if (!arguments.length) return k;
- k = +_;
- return reset();
- };
- projection.translate = function (_) {
- if (!arguments.length) return [x, y];
- x = +_[0];
- y = +_[1];
- return reset();
- };
- projection.center = function (_) {
- if (!arguments.length) return [λ * d3_degrees, φ * d3_degrees];
- λ = _[0] % 360 * d3_radians;
- φ = _[1] % 360 * d3_radians;
- return reset();
- };
- projection.rotate = function (_) {
- if (!arguments.length) return [δλ * d3_degrees, δφ * d3_degrees, δγ * d3_degrees];
- δλ = _[0] % 360 * d3_radians;
- δφ = _[1] % 360 * d3_radians;
- δγ = _.length > 2 ? _[2] % 360 * d3_radians : 0;
- return reset();
- };
- d3.rebind(projection, projectResample, "precision");
- function reset() {
- projectRotate = d3_geo_compose(rotate = d3_geo_rotation(δλ, δφ, δγ), project);
- var center = project(λ, φ);
- δx = x - center[0] * k;
- δy = y + center[1] * k;
- return invalidate();
- }
-
- function invalidate() {
- if (stream) stream.valid = false, stream = null;
- return projection;
- }
-
- return function () {
- project = projectAt.apply(this, arguments);
- projection.invert = project.invert && invert;
- return reset();
- };
- }
-
- function d3_geo_projectionRadians(stream) {
- return d3_geo_transformPoint(stream, function (x, y) {
- stream.point(x * d3_radians, y * d3_radians);
- });
- }
-
- function d3_geo_equirectangular(λ, φ) {
- return [λ, φ];
- }
-
- (d3.geo.equirectangular = function () {
- return d3_geo_projection(d3_geo_equirectangular);
- }).raw = d3_geo_equirectangular.invert = d3_geo_equirectangular;
- d3.geo.rotation = function (rotate) {
- rotate = d3_geo_rotation(rotate[0] % 360 * d3_radians, rotate[1] * d3_radians, rotate.length > 2 ? rotate[2] * d3_radians : 0);
- function forward(coordinates) {
- coordinates = rotate(coordinates[0] * d3_radians, coordinates[1] * d3_radians);
- return coordinates[0] *= d3_degrees, coordinates[1] *= d3_degrees, coordinates;
- }
-
- forward.invert = function (coordinates) {
- coordinates = rotate.invert(coordinates[0] * d3_radians, coordinates[1] * d3_radians);
- return coordinates[0] *= d3_degrees, coordinates[1] *= d3_degrees, coordinates;
- };
- return forward;
- };
- function d3_geo_identityRotation(λ, φ) {
- return [λ > π ? λ - τ : λ < -π ? λ + τ : λ, φ];
- }
-
- d3_geo_identityRotation.invert = d3_geo_equirectangular;
- function d3_geo_rotation(δλ, δφ, δγ) {
- return δλ ? δφ || δγ ? d3_geo_compose(d3_geo_rotationλ(δλ), d3_geo_rotationφγ(δφ, δγ)) : d3_geo_rotationλ(δλ) : δφ || δγ ? d3_geo_rotationφγ(δφ, δγ) : d3_geo_identityRotation;
- }
-
- function d3_geo_forwardRotationλ(δλ) {
- return function (λ, φ) {
- return λ += δλ, [λ > π ? λ - τ : λ < -π ? λ + τ : λ, φ];
- };
- }
-
- function d3_geo_rotationλ(δλ) {
- var rotation = d3_geo_forwardRotationλ(δλ);
- rotation.invert = d3_geo_forwardRotationλ(-δλ);
- return rotation;
- }
-
- function d3_geo_rotationφγ(δφ, δγ) {
- var cosδφ = Math.cos(δφ), sinδφ = Math.sin(δφ), cosδγ = Math.cos(δγ), sinδγ = Math.sin(δγ);
-
- function rotation(λ, φ) {
- var cosφ = Math.cos(φ), x = Math.cos(λ) * cosφ, y = Math.sin(λ) * cosφ, z = Math.sin(φ), k = z * cosδφ + x * sinδφ;
- return [Math.atan2(y * cosδγ - k * sinδγ, x * cosδφ - z * sinδφ), d3_asin(k * cosδγ + y * sinδγ)];
- }
-
- rotation.invert = function (λ, φ) {
- var cosφ = Math.cos(φ), x = Math.cos(λ) * cosφ, y = Math.sin(λ) * cosφ, z = Math.sin(φ), k = z * cosδγ - y * sinδγ;
- return [Math.atan2(y * cosδγ + z * sinδγ, x * cosδφ + k * sinδφ), d3_asin(k * cosδφ - x * sinδφ)];
- };
- return rotation;
- }
-
- d3.geo.circle = function () {
- var origin = [0, 0], angle, precision = 6, interpolate;
-
- function circle() {
- var center = typeof origin === "function" ? origin.apply(this, arguments) : origin, rotate = d3_geo_rotation(-center[0] * d3_radians, -center[1] * d3_radians, 0).invert, ring = [];
- interpolate(null, null, 1, {
- point: function (x, y) {
- ring.push(x = rotate(x, y));
- x[0] *= d3_degrees, x[1] *= d3_degrees;
- }
- });
- return {
- type: "Polygon",
- coordinates: [ring]
- };
- }
-
- circle.origin = function (x) {
- if (!arguments.length) return origin;
- origin = x;
- return circle;
- };
- circle.angle = function (x) {
- if (!arguments.length) return angle;
- interpolate = d3_geo_circleInterpolate((angle = +x) * d3_radians, precision * d3_radians);
- return circle;
- };
- circle.precision = function (_) {
- if (!arguments.length) return precision;
- interpolate = d3_geo_circleInterpolate(angle * d3_radians, (precision = +_) * d3_radians);
- return circle;
- };
- return circle.angle(90);
- };
- function d3_geo_circleInterpolate(radius, precision) {
- var cr = Math.cos(radius), sr = Math.sin(radius);
- return function (from, to, direction, listener) {
- var step = direction * precision;
- if (from != null) {
- from = d3_geo_circleAngle(cr, from);
- to = d3_geo_circleAngle(cr, to);
- if (direction > 0 ? from < to : from > to) from += direction * τ;
- } else {
- from = radius + direction * τ;
- to = radius - .5 * step;
- }
- for (var point, t = from; direction > 0 ? t > to : t < to; t -= step) {
- listener.point((point = d3_geo_spherical([cr, -sr * Math.cos(t), -sr * Math.sin(t)]))[0], point[1]);
- }
- };
- }
-
- function d3_geo_circleAngle(cr, point) {
- var a = d3_geo_cartesian(point);
- a[0] -= cr;
- d3_geo_cartesianNormalize(a);
- var angle = d3_acos(-a[1]);
- return ((-a[2] < 0 ? -angle : angle) + 2 * Math.PI - ε) % (2 * Math.PI);
- }
-
- d3.geo.distance = function (a, b) {
- var Δλ = (b[0] - a[0]) * d3_radians, φ0 = a[1] * d3_radians, φ1 = b[1] * d3_radians, sinΔλ = Math.sin(Δλ), cosΔλ = Math.cos(Δλ), sinφ0 = Math.sin(φ0), cosφ0 = Math.cos(φ0), sinφ1 = Math.sin(φ1), cosφ1 = Math.cos(φ1), t;
- return Math.atan2(Math.sqrt((t = cosφ1 * sinΔλ) * t + (t = cosφ0 * sinφ1 - sinφ0 * cosφ1 * cosΔλ) * t), sinφ0 * sinφ1 + cosφ0 * cosφ1 * cosΔλ);
- };
- d3.geo.graticule = function () {
- var x1, x0, X1, X0, y1, y0, Y1, Y0, dx = 10, dy = dx, DX = 90, DY = 360, x, y, X, Y, precision = 2.5;
-
- function graticule() {
- return {
- type: "MultiLineString",
- coordinates: lines()
- };
- }
-
- function lines() {
- return d3.range(Math.ceil(X0 / DX) * DX, X1, DX).map(X).concat(d3.range(Math.ceil(Y0 / DY) * DY, Y1, DY).map(Y)).concat(d3.range(Math.ceil(x0 / dx) * dx, x1, dx).filter(function (x) {
- return abs(x % DX) > ε;
- }).map(x)).concat(d3.range(Math.ceil(y0 / dy) * dy, y1, dy).filter(function (y) {
- return abs(y % DY) > ε;
- }).map(y));
- }
-
- graticule.lines = function () {
- return lines().map(function (coordinates) {
- return {
- type: "LineString",
- coordinates: coordinates
- };
- });
- };
- graticule.outline = function () {
- return {
- type: "Polygon",
- coordinates: [X(X0).concat(Y(Y1).slice(1), X(X1).reverse().slice(1), Y(Y0).reverse().slice(1))]
- };
- };
- graticule.extent = function (_) {
- if (!arguments.length) return graticule.minorExtent();
- return graticule.majorExtent(_).minorExtent(_);
- };
- graticule.majorExtent = function (_) {
- if (!arguments.length) return [[X0, Y0], [X1, Y1]];
- X0 = +_[0][0], X1 = +_[1][0];
- Y0 = +_[0][1], Y1 = +_[1][1];
- if (X0 > X1) _ = X0, X0 = X1, X1 = _;
- if (Y0 > Y1) _ = Y0, Y0 = Y1, Y1 = _;
- return graticule.precision(precision);
- };
- graticule.minorExtent = function (_) {
- if (!arguments.length) return [[x0, y0], [x1, y1]];
- x0 = +_[0][0], x1 = +_[1][0];
- y0 = +_[0][1], y1 = +_[1][1];
- if (x0 > x1) _ = x0, x0 = x1, x1 = _;
- if (y0 > y1) _ = y0, y0 = y1, y1 = _;
- return graticule.precision(precision);
- };
- graticule.step = function (_) {
- if (!arguments.length) return graticule.minorStep();
- return graticule.majorStep(_).minorStep(_);
- };
- graticule.majorStep = function (_) {
- if (!arguments.length) return [DX, DY];
- DX = +_[0], DY = +_[1];
- return graticule;
- };
- graticule.minorStep = function (_) {
- if (!arguments.length) return [dx, dy];
- dx = +_[0], dy = +_[1];
- return graticule;
- };
- graticule.precision = function (_) {
- if (!arguments.length) return precision;
- precision = +_;
- x = d3_geo_graticuleX(y0, y1, 90);
- y = d3_geo_graticuleY(x0, x1, precision);
- X = d3_geo_graticuleX(Y0, Y1, 90);
- Y = d3_geo_graticuleY(X0, X1, precision);
- return graticule;
- };
- return graticule.majorExtent([[-180, -90 + ε], [180, 90 - ε]]).minorExtent([[-180, -80 - ε], [180, 80 + ε]]);
- };
- function d3_geo_graticuleX(y0, y1, dy) {
- var y = d3.range(y0, y1 - ε, dy).concat(y1);
- return function (x) {
- return y.map(function (y) {
- return [x, y];
- });
- };
- }
-
- function d3_geo_graticuleY(x0, x1, dx) {
- var x = d3.range(x0, x1 - ε, dx).concat(x1);
- return function (y) {
- return x.map(function (x) {
- return [x, y];
- });
- };
- }
-
- function d3_source(d) {
- return d.source;
- }
-
- function d3_target(d) {
- return d.target;
- }
-
- d3.geo.greatArc = function () {
- var source = d3_source, source_, target = d3_target, target_;
-
- function greatArc() {
- return {
- type: "LineString",
- coordinates: [source_ || source.apply(this, arguments), target_ || target.apply(this, arguments)]
- };
- }
-
- greatArc.distance = function () {
- return d3.geo.distance(source_ || source.apply(this, arguments), target_ || target.apply(this, arguments));
- };
- greatArc.source = function (_) {
- if (!arguments.length) return source;
- source = _, source_ = typeof _ === "function" ? null : _;
- return greatArc;
- };
- greatArc.target = function (_) {
- if (!arguments.length) return target;
- target = _, target_ = typeof _ === "function" ? null : _;
- return greatArc;
- };
- greatArc.precision = function () {
- return arguments.length ? greatArc : 0;
- };
- return greatArc;
- };
- d3.geo.interpolate = function (source, target) {
- return d3_geo_interpolate(source[0] * d3_radians, source[1] * d3_radians, target[0] * d3_radians, target[1] * d3_radians);
- };
- function d3_geo_interpolate(x0, y0, x1, y1) {
- var cy0 = Math.cos(y0), sy0 = Math.sin(y0), cy1 = Math.cos(y1), sy1 = Math.sin(y1), kx0 = cy0 * Math.cos(x0), ky0 = cy0 * Math.sin(x0), kx1 = cy1 * Math.cos(x1), ky1 = cy1 * Math.sin(x1), d = 2 * Math.asin(Math.sqrt(d3_haversin(y1 - y0) + cy0 * cy1 * d3_haversin(x1 - x0))), k = 1 / Math.sin(d);
- var interpolate = d ? function (t) {
- var B = Math.sin(t *= d) * k, A = Math.sin(d - t) * k, x = A * kx0 + B * kx1, y = A * ky0 + B * ky1, z = A * sy0 + B * sy1;
- return [Math.atan2(y, x) * d3_degrees, Math.atan2(z, Math.sqrt(x * x + y * y)) * d3_degrees];
- } : function () {
- return [x0 * d3_degrees, y0 * d3_degrees];
- };
- interpolate.distance = d;
- return interpolate;
- }
-
- d3.geo.length = function (object) {
- d3_geo_lengthSum = 0;
- d3.geo.stream(object, d3_geo_length);
- return d3_geo_lengthSum;
- };
- var d3_geo_lengthSum;
- var d3_geo_length = {
- sphere: d3_noop,
- point: d3_noop,
- lineStart: d3_geo_lengthLineStart,
- lineEnd: d3_noop,
- polygonStart: d3_noop,
- polygonEnd: d3_noop
- };
-
- function d3_geo_lengthLineStart() {
- var λ0, sinφ0, cosφ0;
- d3_geo_length.point = function (λ, φ) {
- λ0 = λ * d3_radians, sinφ0 = Math.sin(φ *= d3_radians), cosφ0 = Math.cos(φ);
- d3_geo_length.point = nextPoint;
- };
- d3_geo_length.lineEnd = function () {
- d3_geo_length.point = d3_geo_length.lineEnd = d3_noop;
- };
- function nextPoint(λ, φ) {
- var sinφ = Math.sin(φ *= d3_radians), cosφ = Math.cos(φ), t = abs((λ *= d3_radians) - λ0), cosΔλ = Math.cos(t);
- d3_geo_lengthSum += Math.atan2(Math.sqrt((t = cosφ * Math.sin(t)) * t + (t = cosφ0 * sinφ - sinφ0 * cosφ * cosΔλ) * t), sinφ0 * sinφ + cosφ0 * cosφ * cosΔλ);
- λ0 = λ, sinφ0 = sinφ, cosφ0 = cosφ;
- }
- }
-
- function d3_geo_azimuthal(scale, angle) {
- function azimuthal(λ, φ) {
- var cosλ = Math.cos(λ), cosφ = Math.cos(φ), k = scale(cosλ * cosφ);
- return [k * cosφ * Math.sin(λ), k * Math.sin(φ)];
- }
-
- azimuthal.invert = function (x, y) {
- var ρ = Math.sqrt(x * x + y * y), c = angle(ρ), sinc = Math.sin(c), cosc = Math.cos(c);
- return [Math.atan2(x * sinc, ρ * cosc), Math.asin(ρ && y * sinc / ρ)];
- };
- return azimuthal;
- }
-
- var d3_geo_azimuthalEqualArea = d3_geo_azimuthal(function (cosλcosφ) {
- return Math.sqrt(2 / (1 + cosλcosφ));
- }, function (ρ) {
- return 2 * Math.asin(ρ / 2);
- });
- (d3.geo.azimuthalEqualArea = function () {
- return d3_geo_projection(d3_geo_azimuthalEqualArea);
- }).raw = d3_geo_azimuthalEqualArea;
- var d3_geo_azimuthalEquidistant = d3_geo_azimuthal(function (cosλcosφ) {
- var c = Math.acos(cosλcosφ);
- return c && c / Math.sin(c);
- }, d3_identity);
- (d3.geo.azimuthalEquidistant = function () {
- return d3_geo_projection(d3_geo_azimuthalEquidistant);
- }).raw = d3_geo_azimuthalEquidistant;
- function d3_geo_conicConformal(φ0, φ1) {
- var cosφ0 = Math.cos(φ0), t = function (φ) {
- return Math.tan(π / 4 + φ / 2);
- }, n = φ0 === φ1 ? Math.sin(φ0) : Math.log(cosφ0 / Math.cos(φ1)) / Math.log(t(φ1) / t(φ0)), F = cosφ0 * Math.pow(t(φ0), n) / n;
- if (!n) return d3_geo_mercator;
- function forward(λ, φ) {
- if (F > 0) {
- if (φ < -halfπ + ε) φ = -halfπ + ε;
- } else {
- if (φ > halfπ - ε) φ = halfπ - ε;
- }
- var ρ = F / Math.pow(t(φ), n);
- return [ρ * Math.sin(n * λ), F - ρ * Math.cos(n * λ)];
- }
-
- forward.invert = function (x, y) {
- var ρ0_y = F - y, ρ = d3_sgn(n) * Math.sqrt(x * x + ρ0_y * ρ0_y);
- return [Math.atan2(x, ρ0_y) / n, 2 * Math.atan(Math.pow(F / ρ, 1 / n)) - halfπ];
- };
- return forward;
- }
-
- (d3.geo.conicConformal = function () {
- return d3_geo_conic(d3_geo_conicConformal);
- }).raw = d3_geo_conicConformal;
- function d3_geo_conicEquidistant(φ0, φ1) {
- var cosφ0 = Math.cos(φ0), n = φ0 === φ1 ? Math.sin(φ0) : (cosφ0 - Math.cos(φ1)) / (φ1 - φ0), G = cosφ0 / n + φ0;
- if (abs(n) < ε) return d3_geo_equirectangular;
- function forward(λ, φ) {
- var ρ = G - φ;
- return [ρ * Math.sin(n * λ), G - ρ * Math.cos(n * λ)];
- }
-
- forward.invert = function (x, y) {
- var ρ0_y = G - y;
- return [Math.atan2(x, ρ0_y) / n, G - d3_sgn(n) * Math.sqrt(x * x + ρ0_y * ρ0_y)];
- };
- return forward;
- }
-
- (d3.geo.conicEquidistant = function () {
- return d3_geo_conic(d3_geo_conicEquidistant);
- }).raw = d3_geo_conicEquidistant;
- var d3_geo_gnomonic = d3_geo_azimuthal(function (cosλcosφ) {
- return 1 / cosλcosφ;
- }, Math.atan);
- (d3.geo.gnomonic = function () {
- return d3_geo_projection(d3_geo_gnomonic);
- }).raw = d3_geo_gnomonic;
- function d3_geo_mercator(λ, φ) {
- return [λ, Math.log(Math.tan(π / 4 + φ / 2))];
- }
-
- d3_geo_mercator.invert = function (x, y) {
- return [x, 2 * Math.atan(Math.exp(y)) - halfπ];
- };
- function d3_geo_mercatorProjection(project) {
- var m = d3_geo_projection(project), scale = m.scale, translate = m.translate, clipExtent = m.clipExtent, clipAuto;
- m.scale = function () {
- var v = scale.apply(m, arguments);
- return v === m ? clipAuto ? m.clipExtent(null) : m : v;
- };
- m.translate = function () {
- var v = translate.apply(m, arguments);
- return v === m ? clipAuto ? m.clipExtent(null) : m : v;
- };
- m.clipExtent = function (_) {
- var v = clipExtent.apply(m, arguments);
- if (v === m) {
- if (clipAuto = _ == null) {
- var k = π * scale(), t = translate();
- clipExtent([[t[0] - k, t[1] - k], [t[0] + k, t[1] + k]]);
- }
- } else if (clipAuto) {
- v = null;
- }
- return v;
- };
- return m.clipExtent(null);
- }
-
- (d3.geo.mercator = function () {
- return d3_geo_mercatorProjection(d3_geo_mercator);
- }).raw = d3_geo_mercator;
- var d3_geo_orthographic = d3_geo_azimuthal(function () {
- return 1;
- }, Math.asin);
- (d3.geo.orthographic = function () {
- return d3_geo_projection(d3_geo_orthographic);
- }).raw = d3_geo_orthographic;
- var d3_geo_stereographic = d3_geo_azimuthal(function (cosλcosφ) {
- return 1 / (1 + cosλcosφ);
- }, function (ρ) {
- return 2 * Math.atan(ρ);
- });
- (d3.geo.stereographic = function () {
- return d3_geo_projection(d3_geo_stereographic);
- }).raw = d3_geo_stereographic;
- function d3_geo_transverseMercator(λ, φ) {
- return [Math.log(Math.tan(π / 4 + φ / 2)), -λ];
- }
-
- d3_geo_transverseMercator.invert = function (x, y) {
- return [-y, 2 * Math.atan(Math.exp(x)) - halfπ];
- };
- (d3.geo.transverseMercator = function () {
- var projection = d3_geo_mercatorProjection(d3_geo_transverseMercator), center = projection.center, rotate = projection.rotate;
- projection.center = function (_) {
- return _ ? center([-_[1], _[0]]) : (_ = center(), [_[1], -_[0]]);
- };
- projection.rotate = function (_) {
- return _ ? rotate([_[0], _[1], _.length > 2 ? _[2] + 90 : 90]) : (_ = rotate(),
- [_[0], _[1], _[2] - 90]);
- };
- return rotate([0, 0, 90]);
- }).raw = d3_geo_transverseMercator;
- d3.geom = {};
- function d3_geom_pointX(d) {
- return d[0];
- }
-
- function d3_geom_pointY(d) {
- return d[1];
- }
-
- d3.geom.hull = function (vertices) {
- var x = d3_geom_pointX, y = d3_geom_pointY;
- if (arguments.length) return hull(vertices);
- function hull(data) {
- if (data.length < 3) return [];
- var fx = d3_functor(x), fy = d3_functor(y), i, n = data.length, points = [], flippedPoints = [];
- for (i = 0; i < n; i++) {
- points.push([+fx.call(this, data[i], i), +fy.call(this, data[i], i), i]);
- }
- points.sort(d3_geom_hullOrder);
- for (i = 0; i < n; i++) flippedPoints.push([points[i][0], -points[i][1]]);
- var upper = d3_geom_hullUpper(points), lower = d3_geom_hullUpper(flippedPoints);
- var skipLeft = lower[0] === upper[0], skipRight = lower[lower.length - 1] === upper[upper.length - 1], polygon = [];
- for (i = upper.length - 1; i >= 0; --i) polygon.push(data[points[upper[i]][2]]);
- for (i = +skipLeft; i < lower.length - skipRight; ++i) polygon.push(data[points[lower[i]][2]]);
- return polygon;
- }
-
- hull.x = function (_) {
- return arguments.length ? (x = _, hull) : x;
- };
- hull.y = function (_) {
- return arguments.length ? (y = _, hull) : y;
- };
- return hull;
- };
- function d3_geom_hullUpper(points) {
- var n = points.length, hull = [0, 1], hs = 2;
- for (var i = 2; i < n; i++) {
- while (hs > 1 && d3_cross2d(points[hull[hs - 2]], points[hull[hs - 1]], points[i]) <= 0) --hs;
- hull[hs++] = i;
- }
- return hull.slice(0, hs);
- }
-
- function d3_geom_hullOrder(a, b) {
- return a[0] - b[0] || a[1] - b[1];
- }
-
- d3.geom.polygon = function (coordinates) {
- d3_subclass(coordinates, d3_geom_polygonPrototype);
- return coordinates;
- };
- var d3_geom_polygonPrototype = d3.geom.polygon.prototype = [];
- d3_geom_polygonPrototype.area = function () {
- var i = -1, n = this.length, a, b = this[n - 1], area = 0;
- while (++i < n) {
- a = b;
- b = this[i];
- area += a[1] * b[0] - a[0] * b[1];
- }
- return area * .5;
- };
- d3_geom_polygonPrototype.centroid = function (k) {
- var i = -1, n = this.length, x = 0, y = 0, a, b = this[n - 1], c;
- if (!arguments.length) k = -1 / (6 * this.area());
- while (++i < n) {
- a = b;
- b = this[i];
- c = a[0] * b[1] - b[0] * a[1];
- x += (a[0] + b[0]) * c;
- y += (a[1] + b[1]) * c;
- }
- return [x * k, y * k];
- };
- d3_geom_polygonPrototype.clip = function (subject) {
- var input, closed = d3_geom_polygonClosed(subject), i = -1, n = this.length - d3_geom_polygonClosed(this), j, m, a = this[n - 1], b, c, d;
- while (++i < n) {
- input = subject.slice();
- subject.length = 0;
- b = this[i];
- c = input[(m = input.length - closed) - 1];
- j = -1;
- while (++j < m) {
- d = input[j];
- if (d3_geom_polygonInside(d, a, b)) {
- if (!d3_geom_polygonInside(c, a, b)) {
- subject.push(d3_geom_polygonIntersect(c, d, a, b));
- }
- subject.push(d);
- } else if (d3_geom_polygonInside(c, a, b)) {
- subject.push(d3_geom_polygonIntersect(c, d, a, b));
- }
- c = d;
- }
- if (closed) subject.push(subject[0]);
- a = b;
- }
- return subject;
- };
- function d3_geom_polygonInside(p, a, b) {
- return (b[0] - a[0]) * (p[1] - a[1]) < (b[1] - a[1]) * (p[0] - a[0]);
- }
-
- function d3_geom_polygonIntersect(c, d, a, b) {
- var x1 = c[0], x3 = a[0], x21 = d[0] - x1, x43 = b[0] - x3, y1 = c[1], y3 = a[1], y21 = d[1] - y1, y43 = b[1] - y3, ua = (x43 * (y1 - y3) - y43 * (x1 - x3)) / (y43 * x21 - x43 * y21);
- return [x1 + ua * x21, y1 + ua * y21];
- }
-
- function d3_geom_polygonClosed(coordinates) {
- var a = coordinates[0], b = coordinates[coordinates.length - 1];
- return !(a[0] - b[0] || a[1] - b[1]);
- }
-
- var d3_geom_voronoiEdges, d3_geom_voronoiCells, d3_geom_voronoiBeaches, d3_geom_voronoiBeachPool = [], d3_geom_voronoiFirstCircle, d3_geom_voronoiCircles, d3_geom_voronoiCirclePool = [];
-
- function d3_geom_voronoiBeach() {
- d3_geom_voronoiRedBlackNode(this);
- this.edge = this.site = this.circle = null;
- }
-
- function d3_geom_voronoiCreateBeach(site) {
- var beach = d3_geom_voronoiBeachPool.pop() || new d3_geom_voronoiBeach();
- beach.site = site;
- return beach;
- }
-
- function d3_geom_voronoiDetachBeach(beach) {
- d3_geom_voronoiDetachCircle(beach);
- d3_geom_voronoiBeaches.remove(beach);
- d3_geom_voronoiBeachPool.push(beach);
- d3_geom_voronoiRedBlackNode(beach);
- }
-
- function d3_geom_voronoiRemoveBeach(beach) {
- var circle = beach.circle, x = circle.x, y = circle.cy, vertex = {
- x: x,
- y: y
- }, previous = beach.P, next = beach.N, disappearing = [beach];
- d3_geom_voronoiDetachBeach(beach);
- var lArc = previous;
- while (lArc.circle && abs(x - lArc.circle.x) < ε && abs(y - lArc.circle.cy) < ε) {
- previous = lArc.P;
- disappearing.unshift(lArc);
- d3_geom_voronoiDetachBeach(lArc);
- lArc = previous;
- }
- disappearing.unshift(lArc);
- d3_geom_voronoiDetachCircle(lArc);
- var rArc = next;
- while (rArc.circle && abs(x - rArc.circle.x) < ε && abs(y - rArc.circle.cy) < ε) {
- next = rArc.N;
- disappearing.push(rArc);
- d3_geom_voronoiDetachBeach(rArc);
- rArc = next;
- }
- disappearing.push(rArc);
- d3_geom_voronoiDetachCircle(rArc);
- var nArcs = disappearing.length, iArc;
- for (iArc = 1; iArc < nArcs; ++iArc) {
- rArc = disappearing[iArc];
- lArc = disappearing[iArc - 1];
- d3_geom_voronoiSetEdgeEnd(rArc.edge, lArc.site, rArc.site, vertex);
- }
- lArc = disappearing[0];
- rArc = disappearing[nArcs - 1];
- rArc.edge = d3_geom_voronoiCreateEdge(lArc.site, rArc.site, null, vertex);
- d3_geom_voronoiAttachCircle(lArc);
- d3_geom_voronoiAttachCircle(rArc);
- }
-
- function d3_geom_voronoiAddBeach(site) {
- var x = site.x, directrix = site.y, lArc, rArc, dxl, dxr, node = d3_geom_voronoiBeaches._;
- while (node) {
- dxl = d3_geom_voronoiLeftBreakPoint(node, directrix) - x;
- if (dxl > ε) node = node.L; else {
- dxr = x - d3_geom_voronoiRightBreakPoint(node, directrix);
- if (dxr > ε) {
- if (!node.R) {
- lArc = node;
- break;
- }
- node = node.R;
- } else {
- if (dxl > -ε) {
- lArc = node.P;
- rArc = node;
- } else if (dxr > -ε) {
- lArc = node;
- rArc = node.N;
- } else {
- lArc = rArc = node;
- }
- break;
- }
- }
- }
- var newArc = d3_geom_voronoiCreateBeach(site);
- d3_geom_voronoiBeaches.insert(lArc, newArc);
- if (!lArc && !rArc) return;
- if (lArc === rArc) {
- d3_geom_voronoiDetachCircle(lArc);
- rArc = d3_geom_voronoiCreateBeach(lArc.site);
- d3_geom_voronoiBeaches.insert(newArc, rArc);
- newArc.edge = rArc.edge = d3_geom_voronoiCreateEdge(lArc.site, newArc.site);
- d3_geom_voronoiAttachCircle(lArc);
- d3_geom_voronoiAttachCircle(rArc);
- return;
- }
- if (!rArc) {
- newArc.edge = d3_geom_voronoiCreateEdge(lArc.site, newArc.site);
- return;
- }
- d3_geom_voronoiDetachCircle(lArc);
- d3_geom_voronoiDetachCircle(rArc);
- var lSite = lArc.site, ax = lSite.x, ay = lSite.y, bx = site.x - ax, by = site.y - ay, rSite = rArc.site, cx = rSite.x - ax, cy = rSite.y - ay, d = 2 * (bx * cy - by * cx), hb = bx * bx + by * by, hc = cx * cx + cy * cy, vertex = {
- x: (cy * hb - by * hc) / d + ax,
- y: (bx * hc - cx * hb) / d + ay
- };
- d3_geom_voronoiSetEdgeEnd(rArc.edge, lSite, rSite, vertex);
- newArc.edge = d3_geom_voronoiCreateEdge(lSite, site, null, vertex);
- rArc.edge = d3_geom_voronoiCreateEdge(site, rSite, null, vertex);
- d3_geom_voronoiAttachCircle(lArc);
- d3_geom_voronoiAttachCircle(rArc);
- }
-
- function d3_geom_voronoiLeftBreakPoint(arc, directrix) {
- var site = arc.site, rfocx = site.x, rfocy = site.y, pby2 = rfocy - directrix;
- if (!pby2) return rfocx;
- var lArc = arc.P;
- if (!lArc) return -Infinity;
- site = lArc.site;
- var lfocx = site.x, lfocy = site.y, plby2 = lfocy - directrix;
- if (!plby2) return lfocx;
- var hl = lfocx - rfocx, aby2 = 1 / pby2 - 1 / plby2, b = hl / plby2;
- if (aby2) return (-b + Math.sqrt(b * b - 2 * aby2 * (hl * hl / (-2 * plby2) - lfocy + plby2 / 2 + rfocy - pby2 / 2))) / aby2 + rfocx;
- return (rfocx + lfocx) / 2;
- }
-
- function d3_geom_voronoiRightBreakPoint(arc, directrix) {
- var rArc = arc.N;
- if (rArc) return d3_geom_voronoiLeftBreakPoint(rArc, directrix);
- var site = arc.site;
- return site.y === directrix ? site.x : Infinity;
- }
-
- function d3_geom_voronoiCell(site) {
- this.site = site;
- this.edges = [];
- }
-
- d3_geom_voronoiCell.prototype.prepare = function () {
- var halfEdges = this.edges, iHalfEdge = halfEdges.length, edge;
- while (iHalfEdge--) {
- edge = halfEdges[iHalfEdge].edge;
- if (!edge.b || !edge.a) halfEdges.splice(iHalfEdge, 1);
- }
- halfEdges.sort(d3_geom_voronoiHalfEdgeOrder);
- return halfEdges.length;
- };
- function d3_geom_voronoiCloseCells(extent) {
- var x0 = extent[0][0], x1 = extent[1][0], y0 = extent[0][1], y1 = extent[1][1], x2, y2, x3, y3, cells = d3_geom_voronoiCells, iCell = cells.length, cell, iHalfEdge, halfEdges, nHalfEdges, start, end;
- while (iCell--) {
- cell = cells[iCell];
- if (!cell || !cell.prepare()) continue;
- halfEdges = cell.edges;
- nHalfEdges = halfEdges.length;
- iHalfEdge = 0;
- while (iHalfEdge < nHalfEdges) {
- end = halfEdges[iHalfEdge].end(), x3 = end.x, y3 = end.y;
- start = halfEdges[++iHalfEdge % nHalfEdges].start(), x2 = start.x, y2 = start.y;
- if (abs(x3 - x2) > ε || abs(y3 - y2) > ε) {
- halfEdges.splice(iHalfEdge, 0, new d3_geom_voronoiHalfEdge(d3_geom_voronoiCreateBorderEdge(cell.site, end, abs(x3 - x0) < ε && y1 - y3 > ε ? {
- x: x0,
- y: abs(x2 - x0) < ε ? y2 : y1
- } : abs(y3 - y1) < ε && x1 - x3 > ε ? {
- x: abs(y2 - y1) < ε ? x2 : x1,
- y: y1
- } : abs(x3 - x1) < ε && y3 - y0 > ε ? {
- x: x1,
- y: abs(x2 - x1) < ε ? y2 : y0
- } : abs(y3 - y0) < ε && x3 - x0 > ε ? {
- x: abs(y2 - y0) < ε ? x2 : x0,
- y: y0
- } : null), cell.site, null));
- ++nHalfEdges;
- }
- }
- }
- }
-
- function d3_geom_voronoiHalfEdgeOrder(a, b) {
- return b.angle - a.angle;
- }
-
- function d3_geom_voronoiCircle() {
- d3_geom_voronoiRedBlackNode(this);
- this.x = this.y = this.arc = this.site = this.cy = null;
- }
-
- function d3_geom_voronoiAttachCircle(arc) {
- var lArc = arc.P, rArc = arc.N;
- if (!lArc || !rArc) return;
- var lSite = lArc.site, cSite = arc.site, rSite = rArc.site;
- if (lSite === rSite) return;
- var bx = cSite.x, by = cSite.y, ax = lSite.x - bx, ay = lSite.y - by, cx = rSite.x - bx, cy = rSite.y - by;
- var d = 2 * (ax * cy - ay * cx);
- if (d >= -ε2) return;
- var ha = ax * ax + ay * ay, hc = cx * cx + cy * cy, x = (cy * ha - ay * hc) / d, y = (ax * hc - cx * ha) / d, cy = y + by;
- var circle = d3_geom_voronoiCirclePool.pop() || new d3_geom_voronoiCircle();
- circle.arc = arc;
- circle.site = cSite;
- circle.x = x + bx;
- circle.y = cy + Math.sqrt(x * x + y * y);
- circle.cy = cy;
- arc.circle = circle;
- var before = null, node = d3_geom_voronoiCircles._;
- while (node) {
- if (circle.y < node.y || circle.y === node.y && circle.x <= node.x) {
- if (node.L) node = node.L; else {
- before = node.P;
- break;
- }
- } else {
- if (node.R) node = node.R; else {
- before = node;
- break;
- }
- }
- }
- d3_geom_voronoiCircles.insert(before, circle);
- if (!before) d3_geom_voronoiFirstCircle = circle;
- }
-
- function d3_geom_voronoiDetachCircle(arc) {
- var circle = arc.circle;
- if (circle) {
- if (!circle.P) d3_geom_voronoiFirstCircle = circle.N;
- d3_geom_voronoiCircles.remove(circle);
- d3_geom_voronoiCirclePool.push(circle);
- d3_geom_voronoiRedBlackNode(circle);
- arc.circle = null;
- }
- }
-
- function d3_geom_voronoiClipEdges(extent) {
- var edges = d3_geom_voronoiEdges, clip = d3_geom_clipLine(extent[0][0], extent[0][1], extent[1][0], extent[1][1]), i = edges.length, e;
- while (i--) {
- e = edges[i];
- if (!d3_geom_voronoiConnectEdge(e, extent) || !clip(e) || abs(e.a.x - e.b.x) < ε && abs(e.a.y - e.b.y) < ε) {
- e.a = e.b = null;
- edges.splice(i, 1);
- }
- }
- }
-
- function d3_geom_voronoiConnectEdge(edge, extent) {
- var vb = edge.b;
- if (vb) return true;
- var va = edge.a, x0 = extent[0][0], x1 = extent[1][0], y0 = extent[0][1], y1 = extent[1][1], lSite = edge.l, rSite = edge.r, lx = lSite.x, ly = lSite.y, rx = rSite.x, ry = rSite.y, fx = (lx + rx) / 2, fy = (ly + ry) / 2, fm, fb;
- if (ry === ly) {
- if (fx < x0 || fx >= x1) return;
- if (lx > rx) {
- if (!va) va = {
- x: fx,
- y: y0
- }; else if (va.y >= y1) return;
- vb = {
- x: fx,
- y: y1
- };
- } else {
- if (!va) va = {
- x: fx,
- y: y1
- }; else if (va.y < y0) return;
- vb = {
- x: fx,
- y: y0
- };
- }
- } else {
- fm = (lx - rx) / (ry - ly);
- fb = fy - fm * fx;
- if (fm < -1 || fm > 1) {
- if (lx > rx) {
- if (!va) va = {
- x: (y0 - fb) / fm,
- y: y0
- }; else if (va.y >= y1) return;
- vb = {
- x: (y1 - fb) / fm,
- y: y1
- };
- } else {
- if (!va) va = {
- x: (y1 - fb) / fm,
- y: y1
- }; else if (va.y < y0) return;
- vb = {
- x: (y0 - fb) / fm,
- y: y0
- };
- }
- } else {
- if (ly < ry) {
- if (!va) va = {
- x: x0,
- y: fm * x0 + fb
- }; else if (va.x >= x1) return;
- vb = {
- x: x1,
- y: fm * x1 + fb
- };
- } else {
- if (!va) va = {
- x: x1,
- y: fm * x1 + fb
- }; else if (va.x < x0) return;
- vb = {
- x: x0,
- y: fm * x0 + fb
- };
- }
- }
- }
- edge.a = va;
- edge.b = vb;
- return true;
- }
-
- function d3_geom_voronoiEdge(lSite, rSite) {
- this.l = lSite;
- this.r = rSite;
- this.a = this.b = null;
- }
-
- function d3_geom_voronoiCreateEdge(lSite, rSite, va, vb) {
- var edge = new d3_geom_voronoiEdge(lSite, rSite);
- d3_geom_voronoiEdges.push(edge);
- if (va) d3_geom_voronoiSetEdgeEnd(edge, lSite, rSite, va);
- if (vb) d3_geom_voronoiSetEdgeEnd(edge, rSite, lSite, vb);
- d3_geom_voronoiCells[lSite.i].edges.push(new d3_geom_voronoiHalfEdge(edge, lSite, rSite));
- d3_geom_voronoiCells[rSite.i].edges.push(new d3_geom_voronoiHalfEdge(edge, rSite, lSite));
- return edge;
- }
-
- function d3_geom_voronoiCreateBorderEdge(lSite, va, vb) {
- var edge = new d3_geom_voronoiEdge(lSite, null);
- edge.a = va;
- edge.b = vb;
- d3_geom_voronoiEdges.push(edge);
- return edge;
- }
-
- function d3_geom_voronoiSetEdgeEnd(edge, lSite, rSite, vertex) {
- if (!edge.a && !edge.b) {
- edge.a = vertex;
- edge.l = lSite;
- edge.r = rSite;
- } else if (edge.l === rSite) {
- edge.b = vertex;
- } else {
- edge.a = vertex;
- }
- }
-
- function d3_geom_voronoiHalfEdge(edge, lSite, rSite) {
- var va = edge.a, vb = edge.b;
- this.edge = edge;
- this.site = lSite;
- this.angle = rSite ? Math.atan2(rSite.y - lSite.y, rSite.x - lSite.x) : edge.l === lSite ? Math.atan2(vb.x - va.x, va.y - vb.y) : Math.atan2(va.x - vb.x, vb.y - va.y);
- }
-
- d3_geom_voronoiHalfEdge.prototype = {
- start: function () {
- return this.edge.l === this.site ? this.edge.a : this.edge.b;
- },
- end: function () {
- return this.edge.l === this.site ? this.edge.b : this.edge.a;
- }
- };
- function d3_geom_voronoiRedBlackTree() {
- this._ = null;
- }
-
- function d3_geom_voronoiRedBlackNode(node) {
- node.U = node.C = node.L = node.R = node.P = node.N = null;
- }
-
- d3_geom_voronoiRedBlackTree.prototype = {
- insert: function (after, node) {
- var parent, grandpa, uncle;
- if (after) {
- node.P = after;
- node.N = after.N;
- if (after.N) after.N.P = node;
- after.N = node;
- if (after.R) {
- after = after.R;
- while (after.L) after = after.L;
- after.L = node;
- } else {
- after.R = node;
- }
- parent = after;
- } else if (this._) {
- after = d3_geom_voronoiRedBlackFirst(this._);
- node.P = null;
- node.N = after;
- after.P = after.L = node;
- parent = after;
- } else {
- node.P = node.N = null;
- this._ = node;
- parent = null;
- }
- node.L = node.R = null;
- node.U = parent;
- node.C = true;
- after = node;
- while (parent && parent.C) {
- grandpa = parent.U;
- if (parent === grandpa.L) {
- uncle = grandpa.R;
- if (uncle && uncle.C) {
- parent.C = uncle.C = false;
- grandpa.C = true;
- after = grandpa;
- } else {
- if (after === parent.R) {
- d3_geom_voronoiRedBlackRotateLeft(this, parent);
- after = parent;
- parent = after.U;
- }
- parent.C = false;
- grandpa.C = true;
- d3_geom_voronoiRedBlackRotateRight(this, grandpa);
- }
- } else {
- uncle = grandpa.L;
- if (uncle && uncle.C) {
- parent.C = uncle.C = false;
- grandpa.C = true;
- after = grandpa;
- } else {
- if (after === parent.L) {
- d3_geom_voronoiRedBlackRotateRight(this, parent);
- after = parent;
- parent = after.U;
- }
- parent.C = false;
- grandpa.C = true;
- d3_geom_voronoiRedBlackRotateLeft(this, grandpa);
- }
- }
- parent = after.U;
- }
- this._.C = false;
- },
- remove: function (node) {
- if (node.N) node.N.P = node.P;
- if (node.P) node.P.N = node.N;
- node.N = node.P = null;
- var parent = node.U, sibling, left = node.L, right = node.R, next, red;
- if (!left) next = right; else if (!right) next = left; else next = d3_geom_voronoiRedBlackFirst(right);
- if (parent) {
- if (parent.L === node) parent.L = next; else parent.R = next;
- } else {
- this._ = next;
- }
- if (left && right) {
- red = next.C;
- next.C = node.C;
- next.L = left;
- left.U = next;
- if (next !== right) {
- parent = next.U;
- next.U = node.U;
- node = next.R;
- parent.L = node;
- next.R = right;
- right.U = next;
- } else {
- next.U = parent;
- parent = next;
- node = next.R;
- }
- } else {
- red = node.C;
- node = next;
- }
- if (node) node.U = parent;
- if (red) return;
- if (node && node.C) {
- node.C = false;
- return;
- }
- do {
- if (node === this._) break;
- if (node === parent.L) {
- sibling = parent.R;
- if (sibling.C) {
- sibling.C = false;
- parent.C = true;
- d3_geom_voronoiRedBlackRotateLeft(this, parent);
- sibling = parent.R;
- }
- if (sibling.L && sibling.L.C || sibling.R && sibling.R.C) {
- if (!sibling.R || !sibling.R.C) {
- sibling.L.C = false;
- sibling.C = true;
- d3_geom_voronoiRedBlackRotateRight(this, sibling);
- sibling = parent.R;
- }
- sibling.C = parent.C;
- parent.C = sibling.R.C = false;
- d3_geom_voronoiRedBlackRotateLeft(this, parent);
- node = this._;
- break;
- }
- } else {
- sibling = parent.L;
- if (sibling.C) {
- sibling.C = false;
- parent.C = true;
- d3_geom_voronoiRedBlackRotateRight(this, parent);
- sibling = parent.L;
- }
- if (sibling.L && sibling.L.C || sibling.R && sibling.R.C) {
- if (!sibling.L || !sibling.L.C) {
- sibling.R.C = false;
- sibling.C = true;
- d3_geom_voronoiRedBlackRotateLeft(this, sibling);
- sibling = parent.L;
- }
- sibling.C = parent.C;
- parent.C = sibling.L.C = false;
- d3_geom_voronoiRedBlackRotateRight(this, parent);
- node = this._;
- break;
- }
- }
- sibling.C = true;
- node = parent;
- parent = parent.U;
- } while (!node.C);
- if (node) node.C = false;
- }
- };
- function d3_geom_voronoiRedBlackRotateLeft(tree, node) {
- var p = node, q = node.R, parent = p.U;
- if (parent) {
- if (parent.L === p) parent.L = q; else parent.R = q;
- } else {
- tree._ = q;
- }
- q.U = parent;
- p.U = q;
- p.R = q.L;
- if (p.R) p.R.U = p;
- q.L = p;
- }
-
- function d3_geom_voronoiRedBlackRotateRight(tree, node) {
- var p = node, q = node.L, parent = p.U;
- if (parent) {
- if (parent.L === p) parent.L = q; else parent.R = q;
- } else {
- tree._ = q;
- }
- q.U = parent;
- p.U = q;
- p.L = q.R;
- if (p.L) p.L.U = p;
- q.R = p;
- }
-
- function d3_geom_voronoiRedBlackFirst(node) {
- while (node.L) node = node.L;
- return node;
- }
-
- function d3_geom_voronoi(sites, bbox) {
- var site = sites.sort(d3_geom_voronoiVertexOrder).pop(), x0, y0, circle;
- d3_geom_voronoiEdges = [];
- d3_geom_voronoiCells = new Array(sites.length);
- d3_geom_voronoiBeaches = new d3_geom_voronoiRedBlackTree();
- d3_geom_voronoiCircles = new d3_geom_voronoiRedBlackTree();
- while (true) {
- circle = d3_geom_voronoiFirstCircle;
- if (site && (!circle || site.y < circle.y || site.y === circle.y && site.x < circle.x)) {
- if (site.x !== x0 || site.y !== y0) {
- d3_geom_voronoiCells[site.i] = new d3_geom_voronoiCell(site);
- d3_geom_voronoiAddBeach(site);
- x0 = site.x, y0 = site.y;
- }
- site = sites.pop();
- } else if (circle) {
- d3_geom_voronoiRemoveBeach(circle.arc);
- } else {
- break;
- }
- }
- if (bbox) d3_geom_voronoiClipEdges(bbox), d3_geom_voronoiCloseCells(bbox);
- var diagram = {
- cells: d3_geom_voronoiCells,
- edges: d3_geom_voronoiEdges
- };
- d3_geom_voronoiBeaches = d3_geom_voronoiCircles = d3_geom_voronoiEdges = d3_geom_voronoiCells = null;
- return diagram;
- }
-
- function d3_geom_voronoiVertexOrder(a, b) {
- return b.y - a.y || b.x - a.x;
- }
-
- d3.geom.voronoi = function (points) {
- var x = d3_geom_pointX, y = d3_geom_pointY, fx = x, fy = y, clipExtent = d3_geom_voronoiClipExtent;
- if (points) return voronoi(points);
- function voronoi(data) {
- var polygons = new Array(data.length), x0 = clipExtent[0][0], y0 = clipExtent[0][1], x1 = clipExtent[1][0], y1 = clipExtent[1][1];
- d3_geom_voronoi(sites(data), clipExtent).cells.forEach(function (cell, i) {
- var edges = cell.edges, site = cell.site, polygon = polygons[i] = edges.length ? edges.map(function (e) {
- var s = e.start();
- return [s.x, s.y];
- }) : site.x >= x0 && site.x <= x1 && site.y >= y0 && site.y <= y1 ? [[x0, y1], [x1, y1], [x1, y0], [x0, y0]] : [];
- polygon.point = data[i];
- });
- return polygons;
- }
-
- function sites(data) {
- return data.map(function (d, i) {
- return {
- x: Math.round(fx(d, i) / ε) * ε,
- y: Math.round(fy(d, i) / ε) * ε,
- i: i
- };
- });
- }
-
- voronoi.links = function (data) {
- return d3_geom_voronoi(sites(data)).edges.filter(function (edge) {
- return edge.l && edge.r;
- }).map(function (edge) {
- return {
- source: data[edge.l.i],
- target: data[edge.r.i]
- };
- });
- };
- voronoi.triangles = function (data) {
- var triangles = [];
- d3_geom_voronoi(sites(data)).cells.forEach(function (cell, i) {
- var site = cell.site, edges = cell.edges.sort(d3_geom_voronoiHalfEdgeOrder), j = -1, m = edges.length, e0, s0, e1 = edges[m - 1].edge, s1 = e1.l === site ? e1.r : e1.l;
- while (++j < m) {
- e0 = e1;
- s0 = s1;
- e1 = edges[j].edge;
- s1 = e1.l === site ? e1.r : e1.l;
- if (i < s0.i && i < s1.i && d3_geom_voronoiTriangleArea(site, s0, s1) < 0) {
- triangles.push([data[i], data[s0.i], data[s1.i]]);
- }
- }
- });
- return triangles;
- };
- voronoi.x = function (_) {
- return arguments.length ? (fx = d3_functor(x = _), voronoi) : x;
- };
- voronoi.y = function (_) {
- return arguments.length ? (fy = d3_functor(y = _), voronoi) : y;
- };
- voronoi.clipExtent = function (_) {
- if (!arguments.length) return clipExtent === d3_geom_voronoiClipExtent ? null : clipExtent;
- clipExtent = _ == null ? d3_geom_voronoiClipExtent : _;
- return voronoi;
- };
- voronoi.size = function (_) {
- if (!arguments.length) return clipExtent === d3_geom_voronoiClipExtent ? null : clipExtent && clipExtent[1];
- return voronoi.clipExtent(_ && [[0, 0], _]);
- };
- return voronoi;
- };
- var d3_geom_voronoiClipExtent = [[-1e6, -1e6], [1e6, 1e6]];
-
- function d3_geom_voronoiTriangleArea(a, b, c) {
- return (a.x - c.x) * (b.y - a.y) - (a.x - b.x) * (c.y - a.y);
- }
-
- d3.geom.delaunay = function (vertices) {
- return d3.geom.voronoi().triangles(vertices);
- };
- d3.geom.quadtree = function (points, x1, y1, x2, y2) {
- var x = d3_geom_pointX, y = d3_geom_pointY, compat;
- if (compat = arguments.length) {
- x = d3_geom_quadtreeCompatX;
- y = d3_geom_quadtreeCompatY;
- if (compat === 3) {
- y2 = y1;
- x2 = x1;
- y1 = x1 = 0;
- }
- return quadtree(points);
- }
- function quadtree(data) {
- var d, fx = d3_functor(x), fy = d3_functor(y), xs, ys, i, n, x1_, y1_, x2_, y2_;
- if (x1 != null) {
- x1_ = x1, y1_ = y1, x2_ = x2, y2_ = y2;
- } else {
- x2_ = y2_ = -(x1_ = y1_ = Infinity);
- xs = [], ys = [];
- n = data.length;
- if (compat) for (i = 0; i < n; ++i) {
- d = data[i];
- if (d.x < x1_) x1_ = d.x;
- if (d.y < y1_) y1_ = d.y;
- if (d.x > x2_) x2_ = d.x;
- if (d.y > y2_) y2_ = d.y;
- xs.push(d.x);
- ys.push(d.y);
- } else for (i = 0; i < n; ++i) {
- var x_ = +fx(d = data[i], i), y_ = +fy(d, i);
- if (x_ < x1_) x1_ = x_;
- if (y_ < y1_) y1_ = y_;
- if (x_ > x2_) x2_ = x_;
- if (y_ > y2_) y2_ = y_;
- xs.push(x_);
- ys.push(y_);
- }
- }
- var dx = x2_ - x1_, dy = y2_ - y1_;
- if (dx > dy) y2_ = y1_ + dx; else x2_ = x1_ + dy;
- function insert(n, d, x, y, x1, y1, x2, y2) {
- if (isNaN(x) || isNaN(y)) return;
- if (n.leaf) {
- var nx = n.x, ny = n.y;
- if (nx != null) {
- if (abs(nx - x) + abs(ny - y) < .01) {
- insertChild(n, d, x, y, x1, y1, x2, y2);
- } else {
- var nPoint = n.point;
- n.x = n.y = n.point = null;
- insertChild(n, nPoint, nx, ny, x1, y1, x2, y2);
- insertChild(n, d, x, y, x1, y1, x2, y2);
- }
- } else {
- n.x = x, n.y = y, n.point = d;
- }
- } else {
- insertChild(n, d, x, y, x1, y1, x2, y2);
- }
- }
-
- function insertChild(n, d, x, y, x1, y1, x2, y2) {
- var sx = (x1 + x2) * .5, sy = (y1 + y2) * .5, right = x >= sx, bottom = y >= sy, i = (bottom << 1) + right;
- n.leaf = false;
- n = n.nodes[i] || (n.nodes[i] = d3_geom_quadtreeNode());
- if (right) x1 = sx; else x2 = sx;
- if (bottom) y1 = sy; else y2 = sy;
- insert(n, d, x, y, x1, y1, x2, y2);
- }
-
- var root = d3_geom_quadtreeNode();
- root.add = function (d) {
- insert(root, d, +fx(d, ++i), +fy(d, i), x1_, y1_, x2_, y2_);
- };
- root.visit = function (f) {
- d3_geom_quadtreeVisit(f, root, x1_, y1_, x2_, y2_);
- };
- i = -1;
- if (x1 == null) {
- while (++i < n) {
- insert(root, data[i], xs[i], ys[i], x1_, y1_, x2_, y2_);
- }
- --i;
- } else data.forEach(root.add);
- xs = ys = data = d = null;
- return root;
- }
-
- quadtree.x = function (_) {
- return arguments.length ? (x = _, quadtree) : x;
- };
- quadtree.y = function (_) {
- return arguments.length ? (y = _, quadtree) : y;
- };
- quadtree.extent = function (_) {
- if (!arguments.length) return x1 == null ? null : [[x1, y1], [x2, y2]];
- if (_ == null) x1 = y1 = x2 = y2 = null; else x1 = +_[0][0], y1 = +_[0][1], x2 = +_[1][0],
- y2 = +_[1][1];
- return quadtree;
- };
- quadtree.size = function (_) {
- if (!arguments.length) return x1 == null ? null : [x2 - x1, y2 - y1];
- if (_ == null) x1 = y1 = x2 = y2 = null; else x1 = y1 = 0, x2 = +_[0], y2 = +_[1];
- return quadtree;
- };
- return quadtree;
- };
- function d3_geom_quadtreeCompatX(d) {
- return d.x;
- }
-
- function d3_geom_quadtreeCompatY(d) {
- return d.y;
- }
-
- function d3_geom_quadtreeNode() {
- return {
- leaf: true,
- nodes: [],
- point: null,
- x: null,
- y: null
- };
- }
-
- function d3_geom_quadtreeVisit(f, node, x1, y1, x2, y2) {
- if (!f(node, x1, y1, x2, y2)) {
- var sx = (x1 + x2) * .5, sy = (y1 + y2) * .5, children = node.nodes;
- if (children[0]) d3_geom_quadtreeVisit(f, children[0], x1, y1, sx, sy);
- if (children[1]) d3_geom_quadtreeVisit(f, children[1], sx, y1, x2, sy);
- if (children[2]) d3_geom_quadtreeVisit(f, children[2], x1, sy, sx, y2);
- if (children[3]) d3_geom_quadtreeVisit(f, children[3], sx, sy, x2, y2);
- }
- }
-
- d3.interpolateRgb = d3_interpolateRgb;
- function d3_interpolateRgb(a, b) {
- a = d3.rgb(a);
- b = d3.rgb(b);
- var ar = a.r, ag = a.g, ab = a.b, br = b.r - ar, bg = b.g - ag, bb = b.b - ab;
- return function (t) {
- return "#" + d3_rgb_hex(Math.round(ar + br * t)) + d3_rgb_hex(Math.round(ag + bg * t)) + d3_rgb_hex(Math.round(ab + bb * t));
- };
- }
-
- d3.interpolateObject = d3_interpolateObject;
- function d3_interpolateObject(a, b) {
- var i = {}, c = {}, k;
- for (k in a) {
- if (k in b) {
- i[k] = d3_interpolate(a[k], b[k]);
- } else {
- c[k] = a[k];
- }
- }
- for (k in b) {
- if (!(k in a)) {
- c[k] = b[k];
- }
- }
- return function (t) {
- for (k in i) c[k] = i[k](t);
- return c;
- };
- }
-
- d3.interpolateNumber = d3_interpolateNumber;
- function d3_interpolateNumber(a, b) {
- b -= a = +a;
- return function (t) {
- return a + b * t;
- };
- }
-
- d3.interpolateString = d3_interpolateString;
- function d3_interpolateString(a, b) {
- var bi = d3_interpolate_numberA.lastIndex = d3_interpolate_numberB.lastIndex = 0, am, bm, bs, i = -1, s = [], q = [];
- a = a + "", b = b + "";
- while ((am = d3_interpolate_numberA.exec(a)) && (bm = d3_interpolate_numberB.exec(b))) {
- if ((bs = bm.index) > bi) {
- bs = b.slice(bi, bs);
- if (s[i]) s[i] += bs; else s[++i] = bs;
- }
- if ((am = am[0]) === (bm = bm[0])) {
- if (s[i]) s[i] += bm; else s[++i] = bm;
- } else {
- s[++i] = null;
- q.push({
- i: i,
- x: d3_interpolateNumber(am, bm)
- });
- }
- bi = d3_interpolate_numberB.lastIndex;
- }
- if (bi < b.length) {
- bs = b.slice(bi);
- if (s[i]) s[i] += bs; else s[++i] = bs;
- }
- return s.length < 2 ? q[0] ? (b = q[0].x, function (t) {
- return b(t) + "";
- }) : function () {
- return b;
- } : (b = q.length, function (t) {
- for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);
- return s.join("");
- });
- }
-
- var d3_interpolate_numberA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, d3_interpolate_numberB = new RegExp(d3_interpolate_numberA.source, "g");
- d3.interpolate = d3_interpolate;
- function d3_interpolate(a, b) {
- var i = d3.interpolators.length, f;
- while (--i >= 0 && !(f = d3.interpolators[i](a, b))) ;
- return f;
- }
-
- d3.interpolators = [function (a, b) {
- var t = typeof b;
- return (t === "string" ? d3_rgb_names.has(b) || /^(#|rgb\(|hsl\()/.test(b) ? d3_interpolateRgb : d3_interpolateString : b instanceof d3_color ? d3_interpolateRgb : Array.isArray(b) ? d3_interpolateArray : t === "object" && isNaN(b) ? d3_interpolateObject : d3_interpolateNumber)(a, b);
- }];
- d3.interpolateArray = d3_interpolateArray;
- function d3_interpolateArray(a, b) {
- var x = [], c = [], na = a.length, nb = b.length, n0 = Math.min(a.length, b.length), i;
- for (i = 0; i < n0; ++i) x.push(d3_interpolate(a[i], b[i]));
- for (; i < na; ++i) c[i] = a[i];
- for (; i < nb; ++i) c[i] = b[i];
- return function (t) {
- for (i = 0; i < n0; ++i) c[i] = x[i](t);
- return c;
- };
- }
-
- var d3_ease_default = function () {
- return d3_identity;
- };
- var d3_ease = d3.map({
- linear: d3_ease_default,
- poly: d3_ease_poly,
- quad: function () {
- return d3_ease_quad;
- },
- cubic: function () {
- return d3_ease_cubic;
- },
- sin: function () {
- return d3_ease_sin;
- },
- exp: function () {
- return d3_ease_exp;
- },
- circle: function () {
- return d3_ease_circle;
- },
- elastic: d3_ease_elastic,
- back: d3_ease_back,
- bounce: function () {
- return d3_ease_bounce;
- }
- });
- var d3_ease_mode = d3.map({
- "in": d3_identity,
- out: d3_ease_reverse,
- "in-out": d3_ease_reflect,
- "out-in": function (f) {
- return d3_ease_reflect(d3_ease_reverse(f));
- }
- });
- d3.ease = function (name) {
- var i = name.indexOf("-"), t = i >= 0 ? name.slice(0, i) : name, m = i >= 0 ? name.slice(i + 1) : "in";
- t = d3_ease.get(t) || d3_ease_default;
- m = d3_ease_mode.get(m) || d3_identity;
- return d3_ease_clamp(m(t.apply(null, d3_arraySlice.call(arguments, 1))));
- };
- function d3_ease_clamp(f) {
- return function (t) {
- return t <= 0 ? 0 : t >= 1 ? 1 : f(t);
- };
- }
-
- function d3_ease_reverse(f) {
- return function (t) {
- return 1 - f(1 - t);
- };
- }
-
- function d3_ease_reflect(f) {
- return function (t) {
- return .5 * (t < .5 ? f(2 * t) : 2 - f(2 - 2 * t));
- };
- }
-
- function d3_ease_quad(t) {
- return t * t;
- }
-
- function d3_ease_cubic(t) {
- return t * t * t;
- }
-
- function d3_ease_cubicInOut(t) {
- if (t <= 0) return 0;
- if (t >= 1) return 1;
- var t2 = t * t, t3 = t2 * t;
- return 4 * (t < .5 ? t3 : 3 * (t - t2) + t3 - .75);
- }
-
- function d3_ease_poly(e) {
- return function (t) {
- return Math.pow(t, e);
- };
- }
-
- function d3_ease_sin(t) {
- return 1 - Math.cos(t * halfπ);
- }
-
- function d3_ease_exp(t) {
- return Math.pow(2, 10 * (t - 1));
- }
-
- function d3_ease_circle(t) {
- return 1 - Math.sqrt(1 - t * t);
- }
-
- function d3_ease_elastic(a, p) {
- var s;
- if (arguments.length < 2) p = .45;
- if (arguments.length) s = p / τ * Math.asin(1 / a); else a = 1, s = p / 4;
- return function (t) {
- return 1 + a * Math.pow(2, -10 * t) * Math.sin((t - s) * τ / p);
- };
- }
-
- function d3_ease_back(s) {
- if (!s) s = 1.70158;
- return function (t) {
- return t * t * ((s + 1) * t - s);
- };
- }
-
- function d3_ease_bounce(t) {
- return t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : t < 2.5 / 2.75 ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375;
- }
-
- d3.interpolateHcl = d3_interpolateHcl;
- function d3_interpolateHcl(a, b) {
- a = d3.hcl(a);
- b = d3.hcl(b);
- var ah = a.h, ac = a.c, al = a.l, bh = b.h - ah, bc = b.c - ac, bl = b.l - al;
- if (isNaN(bc)) bc = 0, ac = isNaN(ac) ? b.c : ac;
- if (isNaN(bh)) bh = 0, ah = isNaN(ah) ? b.h : ah; else if (bh > 180) bh -= 360; else if (bh < -180) bh += 360;
- return function (t) {
- return d3_hcl_lab(ah + bh * t, ac + bc * t, al + bl * t) + "";
- };
- }
-
- d3.interpolateHsl = d3_interpolateHsl;
- function d3_interpolateHsl(a, b) {
- a = d3.hsl(a);
- b = d3.hsl(b);
- var ah = a.h, as = a.s, al = a.l, bh = b.h - ah, bs = b.s - as, bl = b.l - al;
- if (isNaN(bs)) bs = 0, as = isNaN(as) ? b.s : as;
- if (isNaN(bh)) bh = 0, ah = isNaN(ah) ? b.h : ah; else if (bh > 180) bh -= 360; else if (bh < -180) bh += 360;
- return function (t) {
- return d3_hsl_rgb(ah + bh * t, as + bs * t, al + bl * t) + "";
- };
- }
-
- d3.interpolateLab = d3_interpolateLab;
- function d3_interpolateLab(a, b) {
- a = d3.lab(a);
- b = d3.lab(b);
- var al = a.l, aa = a.a, ab = a.b, bl = b.l - al, ba = b.a - aa, bb = b.b - ab;
- return function (t) {
- return d3_lab_rgb(al + bl * t, aa + ba * t, ab + bb * t) + "";
- };
- }
-
- d3.interpolateRound = d3_interpolateRound;
- function d3_interpolateRound(a, b) {
- b -= a;
- return function (t) {
- return Math.round(a + b * t);
- };
- }
-
- d3.transform = function (string) {
- var g = d3_document.createElementNS(d3.ns.prefix.svg, "g");
- return (d3.transform = function (string) {
- if (string != null) {
- g.setAttribute("transform", string);
- var t = g.transform.baseVal.consolidate();
- }
- return new d3_transform(t ? t.matrix : d3_transformIdentity);
- })(string);
- };
- function d3_transform(m) {
- var r0 = [m.a, m.b], r1 = [m.c, m.d], kx = d3_transformNormalize(r0), kz = d3_transformDot(r0, r1), ky = d3_transformNormalize(d3_transformCombine(r1, r0, -kz)) || 0;
- if (r0[0] * r1[1] < r1[0] * r0[1]) {
- r0[0] *= -1;
- r0[1] *= -1;
- kx *= -1;
- kz *= -1;
- }
- this.rotate = (kx ? Math.atan2(r0[1], r0[0]) : Math.atan2(-r1[0], r1[1])) * d3_degrees;
- this.translate = [m.e, m.f];
- this.scale = [kx, ky];
- this.skew = ky ? Math.atan2(kz, ky) * d3_degrees : 0;
- }
-
- d3_transform.prototype.toString = function () {
- return "translate(" + this.translate + ")rotate(" + this.rotate + ")skewX(" + this.skew + ")scale(" + this.scale + ")";
- };
- function d3_transformDot(a, b) {
- return a[0] * b[0] + a[1] * b[1];
- }
-
- function d3_transformNormalize(a) {
- var k = Math.sqrt(d3_transformDot(a, a));
- if (k) {
- a[0] /= k;
- a[1] /= k;
- }
- return k;
- }
-
- function d3_transformCombine(a, b, k) {
- a[0] += k * b[0];
- a[1] += k * b[1];
- return a;
- }
-
- var d3_transformIdentity = {
- a: 1,
- b: 0,
- c: 0,
- d: 1,
- e: 0,
- f: 0
- };
- d3.interpolateTransform = d3_interpolateTransform;
- function d3_interpolateTransform(a, b) {
- var s = [], q = [], n, A = d3.transform(a), B = d3.transform(b), ta = A.translate, tb = B.translate, ra = A.rotate, rb = B.rotate, wa = A.skew, wb = B.skew, ka = A.scale, kb = B.scale;
- if (ta[0] != tb[0] || ta[1] != tb[1]) {
- s.push("translate(", null, ",", null, ")");
- q.push({
- i: 1,
- x: d3_interpolateNumber(ta[0], tb[0])
- }, {
- i: 3,
- x: d3_interpolateNumber(ta[1], tb[1])
- });
- } else if (tb[0] || tb[1]) {
- s.push("translate(" + tb + ")");
- } else {
- s.push("");
- }
- if (ra != rb) {
- if (ra - rb > 180) rb += 360; else if (rb - ra > 180) ra += 360;
- q.push({
- i: s.push(s.pop() + "rotate(", null, ")") - 2,
- x: d3_interpolateNumber(ra, rb)
- });
- } else if (rb) {
- s.push(s.pop() + "rotate(" + rb + ")");
- }
- if (wa != wb) {
- q.push({
- i: s.push(s.pop() + "skewX(", null, ")") - 2,
- x: d3_interpolateNumber(wa, wb)
- });
- } else if (wb) {
- s.push(s.pop() + "skewX(" + wb + ")");
- }
- if (ka[0] != kb[0] || ka[1] != kb[1]) {
- n = s.push(s.pop() + "scale(", null, ",", null, ")");
- q.push({
- i: n - 4,
- x: d3_interpolateNumber(ka[0], kb[0])
- }, {
- i: n - 2,
- x: d3_interpolateNumber(ka[1], kb[1])
- });
- } else if (kb[0] != 1 || kb[1] != 1) {
- s.push(s.pop() + "scale(" + kb + ")");
- }
- n = q.length;
- return function (t) {
- var i = -1, o;
- while (++i < n) s[(o = q[i]).i] = o.x(t);
- return s.join("");
- };
- }
-
- function d3_uninterpolateNumber(a, b) {
- b = b - (a = +a) ? 1 / (b - a) : 0;
- return function (x) {
- return (x - a) * b;
- };
- }
-
- function d3_uninterpolateClamp(a, b) {
- b = b - (a = +a) ? 1 / (b - a) : 0;
- return function (x) {
- return Math.max(0, Math.min(1, (x - a) * b));
- };
- }
-
- d3.layout = {};
- d3.layout.bundle = function () {
- return function (links) {
- var paths = [], i = -1, n = links.length;
- while (++i < n) paths.push(d3_layout_bundlePath(links[i]));
- return paths;
- };
- };
- function d3_layout_bundlePath(link) {
- var start = link.source, end = link.target, lca = d3_layout_bundleLeastCommonAncestor(start, end), points = [start];
- while (start !== lca) {
- start = start.parent;
- points.push(start);
- }
- var k = points.length;
- while (end !== lca) {
- points.splice(k, 0, end);
- end = end.parent;
- }
- return points;
- }
-
- function d3_layout_bundleAncestors(node) {
- var ancestors = [], parent = node.parent;
- while (parent != null) {
- ancestors.push(node);
- node = parent;
- parent = parent.parent;
- }
- ancestors.push(node);
- return ancestors;
- }
-
- function d3_layout_bundleLeastCommonAncestor(a, b) {
- if (a === b) return a;
- var aNodes = d3_layout_bundleAncestors(a), bNodes = d3_layout_bundleAncestors(b), aNode = aNodes.pop(), bNode = bNodes.pop(), sharedNode = null;
- while (aNode === bNode) {
- sharedNode = aNode;
- aNode = aNodes.pop();
- bNode = bNodes.pop();
- }
- return sharedNode;
- }
-
- d3.layout.chord = function () {
- var chord = {}, chords, groups, matrix, n, padding = 0, sortGroups, sortSubgroups, sortChords;
-
- function relayout() {
- var subgroups = {}, groupSums = [], groupIndex = d3.range(n), subgroupIndex = [], k, x, x0, i, j;
- chords = [];
- groups = [];
- k = 0, i = -1;
- while (++i < n) {
- x = 0, j = -1;
- while (++j < n) {
- x += matrix[i][j];
- }
- groupSums.push(x);
- subgroupIndex.push(d3.range(n));
- k += x;
- }
- if (sortGroups) {
- groupIndex.sort(function (a, b) {
- return sortGroups(groupSums[a], groupSums[b]);
- });
- }
- if (sortSubgroups) {
- subgroupIndex.forEach(function (d, i) {
- d.sort(function (a, b) {
- return sortSubgroups(matrix[i][a], matrix[i][b]);
- });
- });
- }
- k = (τ - padding * n) / k;
- x = 0, i = -1;
- while (++i < n) {
- x0 = x, j = -1;
- while (++j < n) {
- var di = groupIndex[i], dj = subgroupIndex[di][j], v = matrix[di][dj], a0 = x, a1 = x += v * k;
- subgroups[di + "-" + dj] = {
- index: di,
- subindex: dj,
- startAngle: a0,
- endAngle: a1,
- value: v
- };
- }
- groups[di] = {
- index: di,
- startAngle: x0,
- endAngle: x,
- value: (x - x0) / k
- };
- x += padding;
- }
- i = -1;
- while (++i < n) {
- j = i - 1;
- while (++j < n) {
- var source = subgroups[i + "-" + j], target = subgroups[j + "-" + i];
- if (source.value || target.value) {
- chords.push(source.value < target.value ? {
- source: target,
- target: source
- } : {
- source: source,
- target: target
- });
- }
- }
- }
- if (sortChords) resort();
- }
-
- function resort() {
- chords.sort(function (a, b) {
- return sortChords((a.source.value + a.target.value) / 2, (b.source.value + b.target.value) / 2);
- });
- }
-
- chord.matrix = function (x) {
- if (!arguments.length) return matrix;
- n = (matrix = x) && matrix.length;
- chords = groups = null;
- return chord;
- };
- chord.padding = function (x) {
- if (!arguments.length) return padding;
- padding = x;
- chords = groups = null;
- return chord;
- };
- chord.sortGroups = function (x) {
- if (!arguments.length) return sortGroups;
- sortGroups = x;
- chords = groups = null;
- return chord;
- };
- chord.sortSubgroups = function (x) {
- if (!arguments.length) return sortSubgroups;
- sortSubgroups = x;
- chords = null;
- return chord;
- };
- chord.sortChords = function (x) {
- if (!arguments.length) return sortChords;
- sortChords = x;
- if (chords) resort();
- return chord;
- };
- chord.chords = function () {
- if (!chords) relayout();
- return chords;
- };
- chord.groups = function () {
- if (!groups) relayout();
- return groups;
- };
- return chord;
- };
- d3.layout.force = function () {
- var force = {}, event = d3.dispatch("start", "tick", "end"), size = [1, 1], drag, alpha, friction = .9, linkDistance = d3_layout_forceLinkDistance, linkStrength = d3_layout_forceLinkStrength, charge = -30, chargeDistance2 = d3_layout_forceChargeDistance2, gravity = .1, theta2 = .64, nodes = [], links = [], distances, strengths, charges;
-
- function repulse(node) {
- return function (quad, x1, _, x2) {
- if (quad.point !== node) {
- var dx = quad.cx - node.x, dy = quad.cy - node.y, dw = x2 - x1, dn = dx * dx + dy * dy;
- if (dw * dw / theta2 < dn) {
- if (dn < chargeDistance2) {
- var k = quad.charge / dn;
- node.px -= dx * k;
- node.py -= dy * k;
- }
- return true;
- }
- if (quad.point && dn && dn < chargeDistance2) {
- var k = quad.pointCharge / dn;
- node.px -= dx * k;
- node.py -= dy * k;
- }
- }
- return !quad.charge;
- };
- }
-
- force.tick = function () {
- if ((alpha *= .99) < .005) {
- event.end({
- type: "end",
- alpha: alpha = 0
- });
- return true;
- }
- var n = nodes.length, m = links.length, q, i, o, s, t, l, k, x, y;
- for (i = 0; i < m; ++i) {
- o = links[i];
- s = o.source;
- t = o.target;
- x = t.x - s.x;
- y = t.y - s.y;
- if (l = x * x + y * y) {
- l = alpha * strengths[i] * ((l = Math.sqrt(l)) - distances[i]) / l;
- x *= l;
- y *= l;
- t.x -= x * (k = s.weight / (t.weight + s.weight));
- t.y -= y * k;
- s.x += x * (k = 1 - k);
- s.y += y * k;
- }
- }
- if (k = alpha * gravity) {
- x = size[0] / 2;
- y = size[1] / 2;
- i = -1;
- if (k) while (++i < n) {
- o = nodes[i];
- o.x += (x - o.x) * k;
- o.y += (y - o.y) * k;
- }
- }
- if (charge) {
- d3_layout_forceAccumulate(q = d3.geom.quadtree(nodes), alpha, charges);
- i = -1;
- while (++i < n) {
- if (!(o = nodes[i]).fixed) {
- q.visit(repulse(o));
- }
- }
- }
- i = -1;
- while (++i < n) {
- o = nodes[i];
- if (o.fixed) {
- o.x = o.px;
- o.y = o.py;
- } else {
- o.x -= (o.px - (o.px = o.x)) * friction;
- o.y -= (o.py - (o.py = o.y)) * friction;
- }
- }
- event.tick({
- type: "tick",
- alpha: alpha
- });
- };
- force.nodes = function (x) {
- if (!arguments.length) return nodes;
- nodes = x;
- return force;
- };
- force.links = function (x) {
- if (!arguments.length) return links;
- links = x;
- return force;
- };
- force.size = function (x) {
- if (!arguments.length) return size;
- size = x;
- return force;
- };
- force.linkDistance = function (x) {
- if (!arguments.length) return linkDistance;
- linkDistance = typeof x === "function" ? x : +x;
- return force;
- };
- force.distance = force.linkDistance;
- force.linkStrength = function (x) {
- if (!arguments.length) return linkStrength;
- linkStrength = typeof x === "function" ? x : +x;
- return force;
- };
- force.friction = function (x) {
- if (!arguments.length) return friction;
- friction = +x;
- return force;
- };
- force.charge = function (x) {
- if (!arguments.length) return charge;
- charge = typeof x === "function" ? x : +x;
- return force;
- };
- force.chargeDistance = function (x) {
- if (!arguments.length) return Math.sqrt(chargeDistance2);
- chargeDistance2 = x * x;
- return force;
- };
- force.gravity = function (x) {
- if (!arguments.length) return gravity;
- gravity = +x;
- return force;
- };
- force.theta = function (x) {
- if (!arguments.length) return Math.sqrt(theta2);
- theta2 = x * x;
- return force;
- };
- force.alpha = function (x) {
- if (!arguments.length) return alpha;
- x = +x;
- if (alpha) {
- if (x > 0) alpha = x; else alpha = 0;
- } else if (x > 0) {
- event.start({
- type: "start",
- alpha: alpha = x
- });
- d3.timer(force.tick);
- }
- return force;
- };
- force.start = function () {
- var i, n = nodes.length, m = links.length, w = size[0], h = size[1], neighbors, o;
- for (i = 0; i < n; ++i) {
- (o = nodes[i]).index = i;
- o.weight = 0;
- }
- for (i = 0; i < m; ++i) {
- o = links[i];
- if (typeof o.source == "number") o.source = nodes[o.source];
- if (typeof o.target == "number") o.target = nodes[o.target];
- ++o.source.weight;
- ++o.target.weight;
- }
- for (i = 0; i < n; ++i) {
- o = nodes[i];
- if (isNaN(o.x)) o.x = position("x", w);
- if (isNaN(o.y)) o.y = position("y", h);
- if (isNaN(o.px)) o.px = o.x;
- if (isNaN(o.py)) o.py = o.y;
- }
- distances = [];
- if (typeof linkDistance === "function") for (i = 0; i < m; ++i) distances[i] = +linkDistance.call(this, links[i], i); else for (i = 0; i < m; ++i) distances[i] = linkDistance;
- strengths = [];
- if (typeof linkStrength === "function") for (i = 0; i < m; ++i) strengths[i] = +linkStrength.call(this, links[i], i); else for (i = 0; i < m; ++i) strengths[i] = linkStrength;
- charges = [];
- if (typeof charge === "function") for (i = 0; i < n; ++i) charges[i] = +charge.call(this, nodes[i], i); else for (i = 0; i < n; ++i) charges[i] = charge;
- function position(dimension, size) {
- if (!neighbors) {
- neighbors = new Array(n);
- for (j = 0; j < n; ++j) {
- neighbors[j] = [];
- }
- for (j = 0; j < m; ++j) {
- var o = links[j];
- neighbors[o.source.index].push(o.target);
- neighbors[o.target.index].push(o.source);
- }
- }
- var candidates = neighbors[i], j = -1, m = candidates.length, x;
- while (++j < m) if (!isNaN(x = candidates[j][dimension])) return x;
- return Math.random() * size;
- }
-
- return force.resume();
- };
- force.resume = function () {
- return force.alpha(.1);
- };
- force.stop = function () {
- return force.alpha(0);
- };
- force.drag = function () {
- if (!drag) drag = d3.behavior.drag().origin(d3_identity).on("dragstart.force", d3_layout_forceDragstart).on("drag.force", dragmove).on("dragend.force", d3_layout_forceDragend);
- if (!arguments.length) return drag;
- this.on("mouseover.force", d3_layout_forceMouseover).on("mouseout.force", d3_layout_forceMouseout).call(drag);
- };
- function dragmove(d) {
- d.px = d3.event.x, d.py = d3.event.y;
- force.resume();
- }
-
- return d3.rebind(force, event, "on");
- };
- function d3_layout_forceDragstart(d) {
- d.fixed |= 2;
- }
-
- function d3_layout_forceDragend(d) {
- d.fixed &= ~6;
- }
-
- function d3_layout_forceMouseover(d) {
- d.fixed |= 4;
- d.px = d.x, d.py = d.y;
- }
-
- function d3_layout_forceMouseout(d) {
- d.fixed &= ~4;
- }
-
- function d3_layout_forceAccumulate(quad, alpha, charges) {
- var cx = 0, cy = 0;
- quad.charge = 0;
- if (!quad.leaf) {
- var nodes = quad.nodes, n = nodes.length, i = -1, c;
- while (++i < n) {
- c = nodes[i];
- if (c == null) continue;
- d3_layout_forceAccumulate(c, alpha, charges);
- quad.charge += c.charge;
- cx += c.charge * c.cx;
- cy += c.charge * c.cy;
- }
- }
- if (quad.point) {
- if (!quad.leaf) {
- quad.point.x += Math.random() - .5;
- quad.point.y += Math.random() - .5;
- }
- var k = alpha * charges[quad.point.index];
- quad.charge += quad.pointCharge = k;
- cx += k * quad.point.x;
- cy += k * quad.point.y;
- }
- quad.cx = cx / quad.charge;
- quad.cy = cy / quad.charge;
- }
-
- var d3_layout_forceLinkDistance = 20, d3_layout_forceLinkStrength = 1, d3_layout_forceChargeDistance2 = Infinity;
- d3.layout.hierarchy = function () {
- var sort = d3_layout_hierarchySort, children = d3_layout_hierarchyChildren, value = d3_layout_hierarchyValue;
-
- function hierarchy(root) {
- var stack = [root], nodes = [], node;
- root.depth = 0;
- while ((node = stack.pop()) != null) {
- nodes.push(node);
- if ((childs = children.call(hierarchy, node, node.depth)) && (n = childs.length)) {
- var n, childs, child;
- while (--n >= 0) {
- stack.push(child = childs[n]);
- child.parent = node;
- child.depth = node.depth + 1;
- }
- if (value) node.value = 0;
- node.children = childs;
- } else {
- if (value) node.value = +value.call(hierarchy, node, node.depth) || 0;
- delete node.children;
- }
- }
- d3_layout_hierarchyVisitAfter(root, function (node) {
- var childs, parent;
- if (sort && (childs = node.children)) childs.sort(sort);
- if (value && (parent = node.parent)) parent.value += node.value;
- });
- return nodes;
- }
-
- hierarchy.sort = function (x) {
- if (!arguments.length) return sort;
- sort = x;
- return hierarchy;
- };
- hierarchy.children = function (x) {
- if (!arguments.length) return children;
- children = x;
- return hierarchy;
- };
- hierarchy.value = function (x) {
- if (!arguments.length) return value;
- value = x;
- return hierarchy;
- };
- hierarchy.revalue = function (root) {
- if (value) {
- d3_layout_hierarchyVisitBefore(root, function (node) {
- if (node.children) node.value = 0;
- });
- d3_layout_hierarchyVisitAfter(root, function (node) {
- var parent;
- if (!node.children) node.value = +value.call(hierarchy, node, node.depth) || 0;
- if (parent = node.parent) parent.value += node.value;
- });
- }
- return root;
- };
- return hierarchy;
- };
- function d3_layout_hierarchyRebind(object, hierarchy) {
- d3.rebind(object, hierarchy, "sort", "children", "value");
- object.nodes = object;
- object.links = d3_layout_hierarchyLinks;
- return object;
- }
-
- function d3_layout_hierarchyVisitBefore(node, callback) {
- var nodes = [node];
- while ((node = nodes.pop()) != null) {
- callback(node);
- if ((children = node.children) && (n = children.length)) {
- var n, children;
- while (--n >= 0) nodes.push(children[n]);
- }
- }
- }
-
- function d3_layout_hierarchyVisitAfter(node, callback) {
- var nodes = [node], nodes2 = [];
- while ((node = nodes.pop()) != null) {
- nodes2.push(node);
- if ((children = node.children) && (n = children.length)) {
- var i = -1, n, children;
- while (++i < n) nodes.push(children[i]);
- }
- }
- while ((node = nodes2.pop()) != null) {
- callback(node);
- }
- }
-
- function d3_layout_hierarchyChildren(d) {
- return d.children;
- }
-
- function d3_layout_hierarchyValue(d) {
- return d.value;
- }
-
- function d3_layout_hierarchySort(a, b) {
- return b.value - a.value;
- }
-
- function d3_layout_hierarchyLinks(nodes) {
- return d3.merge(nodes.map(function (parent) {
- return (parent.children || []).map(function (child) {
- return {
- source: parent,
- target: child
- };
- });
- }));
- }
-
- d3.layout.partition = function () {
- var hierarchy = d3.layout.hierarchy(), size = [1, 1];
-
- function position(node, x, dx, dy) {
- var children = node.children;
- node.x = x;
- node.y = node.depth * dy;
- node.dx = dx;
- node.dy = dy;
- if (children && (n = children.length)) {
- var i = -1, n, c, d;
- dx = node.value ? dx / node.value : 0;
- while (++i < n) {
- position(c = children[i], x, d = c.value * dx, dy);
- x += d;
- }
- }
- }
-
- function depth(node) {
- var children = node.children, d = 0;
- if (children && (n = children.length)) {
- var i = -1, n;
- while (++i < n) d = Math.max(d, depth(children[i]));
- }
- return 1 + d;
- }
-
- function partition(d, i) {
- var nodes = hierarchy.call(this, d, i);
- position(nodes[0], 0, size[0], size[1] / depth(nodes[0]));
- return nodes;
- }
-
- partition.size = function (x) {
- if (!arguments.length) return size;
- size = x;
- return partition;
- };
- return d3_layout_hierarchyRebind(partition, hierarchy);
- };
- d3.layout.pie = function () {
- var value = Number, sort = d3_layout_pieSortByValue, startAngle = 0, endAngle = τ;
-
- function pie(data) {
- var values = data.map(function (d, i) {
- return +value.call(pie, d, i);
- });
- var a = +(typeof startAngle === "function" ? startAngle.apply(this, arguments) : startAngle);
- var k = ((typeof endAngle === "function" ? endAngle.apply(this, arguments) : endAngle) - a) / d3.sum(values);
- var index = d3.range(data.length);
- if (sort != null) index.sort(sort === d3_layout_pieSortByValue ? function (i, j) {
- return values[j] - values[i];
- } : function (i, j) {
- return sort(data[i], data[j]);
- });
- var arcs = [];
- index.forEach(function (i) {
- var d;
- arcs[i] = {
- data: data[i],
- value: d = values[i],
- startAngle: a,
- endAngle: a += d * k
- };
- });
- return arcs;
- }
-
- pie.value = function (x) {
- if (!arguments.length) return value;
- value = x;
- return pie;
- };
- pie.sort = function (x) {
- if (!arguments.length) return sort;
- sort = x;
- return pie;
- };
- pie.startAngle = function (x) {
- if (!arguments.length) return startAngle;
- startAngle = x;
- return pie;
- };
- pie.endAngle = function (x) {
- if (!arguments.length) return endAngle;
- endAngle = x;
- return pie;
- };
- return pie;
- };
- var d3_layout_pieSortByValue = {};
- d3.layout.stack = function () {
- var values = d3_identity, order = d3_layout_stackOrderDefault, offset = d3_layout_stackOffsetZero, out = d3_layout_stackOut, x = d3_layout_stackX, y = d3_layout_stackY;
-
- function stack(data, index) {
- var series = data.map(function (d, i) {
- return values.call(stack, d, i);
- });
- var points = series.map(function (d) {
- return d.map(function (v, i) {
- return [x.call(stack, v, i), y.call(stack, v, i)];
- });
- });
- var orders = order.call(stack, points, index);
- series = d3.permute(series, orders);
- points = d3.permute(points, orders);
- var offsets = offset.call(stack, points, index);
- var n = series.length, m = series[0].length, i, j, o;
- for (j = 0; j < m; ++j) {
- out.call(stack, series[0][j], o = offsets[j], points[0][j][1]);
- for (i = 1; i < n; ++i) {
- out.call(stack, series[i][j], o += points[i - 1][j][1], points[i][j][1]);
- }
- }
- return data;
- }
-
- stack.values = function (x) {
- if (!arguments.length) return values;
- values = x;
- return stack;
- };
- stack.order = function (x) {
- if (!arguments.length) return order;
- order = typeof x === "function" ? x : d3_layout_stackOrders.get(x) || d3_layout_stackOrderDefault;
- return stack;
- };
- stack.offset = function (x) {
- if (!arguments.length) return offset;
- offset = typeof x === "function" ? x : d3_layout_stackOffsets.get(x) || d3_layout_stackOffsetZero;
- return stack;
- };
- stack.x = function (z) {
- if (!arguments.length) return x;
- x = z;
- return stack;
- };
- stack.y = function (z) {
- if (!arguments.length) return y;
- y = z;
- return stack;
- };
- stack.out = function (z) {
- if (!arguments.length) return out;
- out = z;
- return stack;
- };
- return stack;
- };
- function d3_layout_stackX(d) {
- return d.x;
- }
-
- function d3_layout_stackY(d) {
- return d.y;
- }
-
- function d3_layout_stackOut(d, y0, y) {
- d.y0 = y0;
- d.y = y;
- }
-
- var d3_layout_stackOrders = d3.map({
- "inside-out": function (data) {
- var n = data.length, i, j, max = data.map(d3_layout_stackMaxIndex), sums = data.map(d3_layout_stackReduceSum), index = d3.range(n).sort(function (a, b) {
- return max[a] - max[b];
- }), top = 0, bottom = 0, tops = [], bottoms = [];
- for (i = 0; i < n; ++i) {
- j = index[i];
- if (top < bottom) {
- top += sums[j];
- tops.push(j);
- } else {
- bottom += sums[j];
- bottoms.push(j);
- }
- }
- return bottoms.reverse().concat(tops);
- },
- reverse: function (data) {
- return d3.range(data.length).reverse();
- },
- "default": d3_layout_stackOrderDefault
- });
- var d3_layout_stackOffsets = d3.map({
- silhouette: function (data) {
- var n = data.length, m = data[0].length, sums = [], max = 0, i, j, o, y0 = [];
- for (j = 0; j < m; ++j) {
- for (i = 0, o = 0; i < n; i++) o += data[i][j][1];
- if (o > max) max = o;
- sums.push(o);
- }
- for (j = 0; j < m; ++j) {
- y0[j] = (max - sums[j]) / 2;
- }
- return y0;
- },
- wiggle: function (data) {
- var n = data.length, x = data[0], m = x.length, i, j, k, s1, s2, s3, dx, o, o0, y0 = [];
- y0[0] = o = o0 = 0;
- for (j = 1; j < m; ++j) {
- for (i = 0, s1 = 0; i < n; ++i) s1 += data[i][j][1];
- for (i = 0, s2 = 0, dx = x[j][0] - x[j - 1][0]; i < n; ++i) {
- for (k = 0, s3 = (data[i][j][1] - data[i][j - 1][1]) / (2 * dx); k < i; ++k) {
- s3 += (data[k][j][1] - data[k][j - 1][1]) / dx;
- }
- s2 += s3 * data[i][j][1];
- }
- y0[j] = o -= s1 ? s2 / s1 * dx : 0;
- if (o < o0) o0 = o;
- }
- for (j = 0; j < m; ++j) y0[j] -= o0;
- return y0;
- },
- expand: function (data) {
- var n = data.length, m = data[0].length, k = 1 / n, i, j, o, y0 = [];
- for (j = 0; j < m; ++j) {
- for (i = 0, o = 0; i < n; i++) o += data[i][j][1];
- if (o) for (i = 0; i < n; i++) data[i][j][1] /= o; else for (i = 0; i < n; i++) data[i][j][1] = k;
- }
- for (j = 0; j < m; ++j) y0[j] = 0;
- return y0;
- },
- zero: d3_layout_stackOffsetZero
- });
-
- function d3_layout_stackOrderDefault(data) {
- return d3.range(data.length);
- }
-
- function d3_layout_stackOffsetZero(data) {
- var j = -1, m = data[0].length, y0 = [];
- while (++j < m) y0[j] = 0;
- return y0;
- }
-
- function d3_layout_stackMaxIndex(array) {
- var i = 1, j = 0, v = array[0][1], k, n = array.length;
- for (; i < n; ++i) {
- if ((k = array[i][1]) > v) {
- j = i;
- v = k;
- }
- }
- return j;
- }
-
- function d3_layout_stackReduceSum(d) {
- return d.reduce(d3_layout_stackSum, 0);
- }
-
- function d3_layout_stackSum(p, d) {
- return p + d[1];
- }
-
- d3.layout.histogram = function () {
- var frequency = true, valuer = Number, ranger = d3_layout_histogramRange, binner = d3_layout_histogramBinSturges;
-
- function histogram(data, i) {
- var bins = [], values = data.map(valuer, this), range = ranger.call(this, values, i), thresholds = binner.call(this, range, values, i), bin, i = -1, n = values.length, m = thresholds.length - 1, k = frequency ? 1 : 1 / n, x;
- while (++i < m) {
- bin = bins[i] = [];
- bin.dx = thresholds[i + 1] - (bin.x = thresholds[i]);
- bin.y = 0;
- }
- if (m > 0) {
- i = -1;
- while (++i < n) {
- x = values[i];
- if (x >= range[0] && x <= range[1]) {
- bin = bins[d3.bisect(thresholds, x, 1, m) - 1];
- bin.y += k;
- bin.push(data[i]);
- }
- }
- }
- return bins;
- }
-
- histogram.value = function (x) {
- if (!arguments.length) return valuer;
- valuer = x;
- return histogram;
- };
- histogram.range = function (x) {
- if (!arguments.length) return ranger;
- ranger = d3_functor(x);
- return histogram;
- };
- histogram.bins = function (x) {
- if (!arguments.length) return binner;
- binner = typeof x === "number" ? function (range) {
- return d3_layout_histogramBinFixed(range, x);
- } : d3_functor(x);
- return histogram;
- };
- histogram.frequency = function (x) {
- if (!arguments.length) return frequency;
- frequency = !!x;
- return histogram;
- };
- return histogram;
- };
- function d3_layout_histogramBinSturges(range, values) {
- return d3_layout_histogramBinFixed(range, Math.ceil(Math.log(values.length) / Math.LN2 + 1));
- }
-
- function d3_layout_histogramBinFixed(range, n) {
- var x = -1, b = +range[0], m = (range[1] - b) / n, f = [];
- while (++x <= n) f[x] = m * x + b;
- return f;
- }
-
- function d3_layout_histogramRange(values) {
- return [d3.min(values), d3.max(values)];
- }
-
- d3.layout.pack = function () {
- var hierarchy = d3.layout.hierarchy().sort(d3_layout_packSort), padding = 0, size = [1, 1], radius;
-
- function pack(d, i) {
- var nodes = hierarchy.call(this, d, i), root = nodes[0], w = size[0], h = size[1], r = radius == null ? Math.sqrt : typeof radius === "function" ? radius : function () {
- return radius;
- };
- root.x = root.y = 0;
- d3_layout_hierarchyVisitAfter(root, function (d) {
- d.r = +r(d.value);
- });
- d3_layout_hierarchyVisitAfter(root, d3_layout_packSiblings);
- if (padding) {
- var dr = padding * (radius ? 1 : Math.max(2 * root.r / w, 2 * root.r / h)) / 2;
- d3_layout_hierarchyVisitAfter(root, function (d) {
- d.r += dr;
- });
- d3_layout_hierarchyVisitAfter(root, d3_layout_packSiblings);
- d3_layout_hierarchyVisitAfter(root, function (d) {
- d.r -= dr;
- });
- }
- d3_layout_packTransform(root, w / 2, h / 2, radius ? 1 : 1 / Math.max(2 * root.r / w, 2 * root.r / h));
- return nodes;
- }
-
- pack.size = function (_) {
- if (!arguments.length) return size;
- size = _;
- return pack;
- };
- pack.radius = function (_) {
- if (!arguments.length) return radius;
- radius = _ == null || typeof _ === "function" ? _ : +_;
- return pack;
- };
- pack.padding = function (_) {
- if (!arguments.length) return padding;
- padding = +_;
- return pack;
- };
- return d3_layout_hierarchyRebind(pack, hierarchy);
- };
- function d3_layout_packSort(a, b) {
- return a.value - b.value;
- }
-
- function d3_layout_packInsert(a, b) {
- var c = a._pack_next;
- a._pack_next = b;
- b._pack_prev = a;
- b._pack_next = c;
- c._pack_prev = b;
- }
-
- function d3_layout_packSplice(a, b) {
- a._pack_next = b;
- b._pack_prev = a;
- }
-
- function d3_layout_packIntersects(a, b) {
- var dx = b.x - a.x, dy = b.y - a.y, dr = a.r + b.r;
- return .999 * dr * dr > dx * dx + dy * dy;
- }
-
- function d3_layout_packSiblings(node) {
- if (!(nodes = node.children) || !(n = nodes.length)) return;
- var nodes, xMin = Infinity, xMax = -Infinity, yMin = Infinity, yMax = -Infinity, a, b, c, i, j, k, n;
-
- function bound(node) {
- xMin = Math.min(node.x - node.r, xMin);
- xMax = Math.max(node.x + node.r, xMax);
- yMin = Math.min(node.y - node.r, yMin);
- yMax = Math.max(node.y + node.r, yMax);
- }
-
- nodes.forEach(d3_layout_packLink);
- a = nodes[0];
- a.x = -a.r;
- a.y = 0;
- bound(a);
- if (n > 1) {
- b = nodes[1];
- b.x = b.r;
- b.y = 0;
- bound(b);
- if (n > 2) {
- c = nodes[2];
- d3_layout_packPlace(a, b, c);
- bound(c);
- d3_layout_packInsert(a, c);
- a._pack_prev = c;
- d3_layout_packInsert(c, b);
- b = a._pack_next;
- for (i = 3; i < n; i++) {
- d3_layout_packPlace(a, b, c = nodes[i]);
- var isect = 0, s1 = 1, s2 = 1;
- for (j = b._pack_next; j !== b; j = j._pack_next, s1++) {
- if (d3_layout_packIntersects(j, c)) {
- isect = 1;
- break;
- }
- }
- if (isect == 1) {
- for (k = a._pack_prev; k !== j._pack_prev; k = k._pack_prev, s2++) {
- if (d3_layout_packIntersects(k, c)) {
- break;
- }
- }
- }
- if (isect) {
- if (s1 < s2 || s1 == s2 && b.r < a.r) d3_layout_packSplice(a, b = j); else d3_layout_packSplice(a = k, b);
- i--;
- } else {
- d3_layout_packInsert(a, c);
- b = c;
- bound(c);
- }
- }
- }
- }
- var cx = (xMin + xMax) / 2, cy = (yMin + yMax) / 2, cr = 0;
- for (i = 0; i < n; i++) {
- c = nodes[i];
- c.x -= cx;
- c.y -= cy;
- cr = Math.max(cr, c.r + Math.sqrt(c.x * c.x + c.y * c.y));
- }
- node.r = cr;
- nodes.forEach(d3_layout_packUnlink);
- }
-
- function d3_layout_packLink(node) {
- node._pack_next = node._pack_prev = node;
- }
-
- function d3_layout_packUnlink(node) {
- delete node._pack_next;
- delete node._pack_prev;
- }
-
- function d3_layout_packTransform(node, x, y, k) {
- var children = node.children;
- node.x = x += k * node.x;
- node.y = y += k * node.y;
- node.r *= k;
- if (children) {
- var i = -1, n = children.length;
- while (++i < n) d3_layout_packTransform(children[i], x, y, k);
- }
- }
-
- function d3_layout_packPlace(a, b, c) {
- var db = a.r + c.r, dx = b.x - a.x, dy = b.y - a.y;
- if (db && (dx || dy)) {
- var da = b.r + c.r, dc = dx * dx + dy * dy;
- da *= da;
- db *= db;
- var x = .5 + (db - da) / (2 * dc), y = Math.sqrt(Math.max(0, 2 * da * (db + dc) - (db -= dc) * db - da * da)) / (2 * dc);
- c.x = a.x + x * dx + y * dy;
- c.y = a.y + x * dy - y * dx;
- } else {
- c.x = a.x + db;
- c.y = a.y;
- }
- }
-
- d3.layout.tree = function () {
- var hierarchy = d3.layout.hierarchy().sort(null).value(null), separation = d3_layout_treeSeparation, size = [1, 1], nodeSize = null;
-
- function tree(d, i) {
- var nodes = hierarchy.call(this, d, i), root0 = nodes[0], root1 = wrapTree(root0);
- d3_layout_hierarchyVisitAfter(root1, firstWalk), root1.parent.m = -root1.z;
- d3_layout_hierarchyVisitBefore(root1, secondWalk);
- if (nodeSize) d3_layout_hierarchyVisitBefore(root0, sizeNode); else {
- var left = root0, right = root0, bottom = root0;
- d3_layout_hierarchyVisitBefore(root0, function (node) {
- if (node.x < left.x) left = node;
- if (node.x > right.x) right = node;
- if (node.depth > bottom.depth) bottom = node;
- });
- var tx = separation(left, right) / 2 - left.x, kx = size[0] / (right.x + separation(right, left) / 2 + tx), ky = size[1] / (bottom.depth || 1);
- d3_layout_hierarchyVisitBefore(root0, function (node) {
- node.x = (node.x + tx) * kx;
- node.y = node.depth * ky;
- });
- }
- return nodes;
- }
-
- function wrapTree(root0) {
- var root1 = {
- A: null,
- children: [root0]
- }, queue = [root1], node1;
- while ((node1 = queue.pop()) != null) {
- for (var children = node1.children, child, i = 0, n = children.length; i < n; ++i) {
- queue.push((children[i] = child = {
- _: children[i],
- parent: node1,
- children: (child = children[i].children) && child.slice() || [],
- A: null,
- a: null,
- z: 0,
- m: 0,
- c: 0,
- s: 0,
- t: null,
- i: i
- }).a = child);
- }
- }
- return root1.children[0];
- }
-
- function firstWalk(v) {
- var children = v.children, siblings = v.parent.children, w = v.i ? siblings[v.i - 1] : null;
- if (children.length) {
- d3_layout_treeShift(v);
- var midpoint = (children[0].z + children[children.length - 1].z) / 2;
- if (w) {
- v.z = w.z + separation(v._, w._);
- v.m = v.z - midpoint;
- } else {
- v.z = midpoint;
- }
- } else if (w) {
- v.z = w.z + separation(v._, w._);
- }
- v.parent.A = apportion(v, w, v.parent.A || siblings[0]);
- }
-
- function secondWalk(v) {
- v._.x = v.z + v.parent.m;
- v.m += v.parent.m;
- }
-
- function apportion(v, w, ancestor) {
- if (w) {
- var vip = v, vop = v, vim = w, vom = vip.parent.children[0], sip = vip.m, sop = vop.m, sim = vim.m, som = vom.m, shift;
- while (vim = d3_layout_treeRight(vim), vip = d3_layout_treeLeft(vip), vim && vip) {
- vom = d3_layout_treeLeft(vom);
- vop = d3_layout_treeRight(vop);
- vop.a = v;
- shift = vim.z + sim - vip.z - sip + separation(vim._, vip._);
- if (shift > 0) {
- d3_layout_treeMove(d3_layout_treeAncestor(vim, v, ancestor), v, shift);
- sip += shift;
- sop += shift;
- }
- sim += vim.m;
- sip += vip.m;
- som += vom.m;
- sop += vop.m;
- }
- if (vim && !d3_layout_treeRight(vop)) {
- vop.t = vim;
- vop.m += sim - sop;
- }
- if (vip && !d3_layout_treeLeft(vom)) {
- vom.t = vip;
- vom.m += sip - som;
- ancestor = v;
- }
- }
- return ancestor;
- }
-
- function sizeNode(node) {
- node.x *= size[0];
- node.y = node.depth * size[1];
- }
-
- tree.separation = function (x) {
- if (!arguments.length) return separation;
- separation = x;
- return tree;
- };
- tree.size = function (x) {
- if (!arguments.length) return nodeSize ? null : size;
- nodeSize = (size = x) == null ? sizeNode : null;
- return tree;
- };
- tree.nodeSize = function (x) {
- if (!arguments.length) return nodeSize ? size : null;
- nodeSize = (size = x) == null ? null : sizeNode;
- return tree;
- };
- return d3_layout_hierarchyRebind(tree, hierarchy);
- };
- function d3_layout_treeSeparation(a, b) {
- return a.parent == b.parent ? 1 : 2;
- }
-
- function d3_layout_treeLeft(v) {
- var children = v.children;
- return children.length ? children[0] : v.t;
- }
-
- function d3_layout_treeRight(v) {
- var children = v.children, n;
- return (n = children.length) ? children[n - 1] : v.t;
- }
-
- function d3_layout_treeMove(wm, wp, shift) {
- var change = shift / (wp.i - wm.i);
- wp.c -= change;
- wp.s += shift;
- wm.c += change;
- wp.z += shift;
- wp.m += shift;
- }
-
- function d3_layout_treeShift(v) {
- var shift = 0, change = 0, children = v.children, i = children.length, w;
- while (--i >= 0) {
- w = children[i];
- w.z += shift;
- w.m += shift;
- shift += w.s + (change += w.c);
- }
- }
-
- function d3_layout_treeAncestor(vim, v, ancestor) {
- return vim.a.parent === v.parent ? vim.a : ancestor;
- }
-
- d3.layout.cluster = function () {
- var hierarchy = d3.layout.hierarchy().sort(null).value(null), separation = d3_layout_treeSeparation, size = [1, 1], nodeSize = false;
-
- function cluster(d, i) {
- var nodes = hierarchy.call(this, d, i), root = nodes[0], previousNode, x = 0;
- d3_layout_hierarchyVisitAfter(root, function (node) {
- var children = node.children;
- if (children && children.length) {
- node.x = d3_layout_clusterX(children);
- node.y = d3_layout_clusterY(children);
- } else {
- node.x = previousNode ? x += separation(node, previousNode) : 0;
- node.y = 0;
- previousNode = node;
- }
- });
- var left = d3_layout_clusterLeft(root), right = d3_layout_clusterRight(root), x0 = left.x - separation(left, right) / 2, x1 = right.x + separation(right, left) / 2;
- d3_layout_hierarchyVisitAfter(root, nodeSize ? function (node) {
- node.x = (node.x - root.x) * size[0];
- node.y = (root.y - node.y) * size[1];
- } : function (node) {
- node.x = (node.x - x0) / (x1 - x0) * size[0];
- node.y = (1 - (root.y ? node.y / root.y : 1)) * size[1];
- });
- return nodes;
- }
-
- cluster.separation = function (x) {
- if (!arguments.length) return separation;
- separation = x;
- return cluster;
- };
- cluster.size = function (x) {
- if (!arguments.length) return nodeSize ? null : size;
- nodeSize = (size = x) == null;
- return cluster;
- };
- cluster.nodeSize = function (x) {
- if (!arguments.length) return nodeSize ? size : null;
- nodeSize = (size = x) != null;
- return cluster;
- };
- return d3_layout_hierarchyRebind(cluster, hierarchy);
- };
- function d3_layout_clusterY(children) {
- return 1 + d3.max(children, function (child) {
- return child.y;
- });
- }
-
- function d3_layout_clusterX(children) {
- return children.reduce(function (x, child) {
- return x + child.x;
- }, 0) / children.length;
- }
-
- function d3_layout_clusterLeft(node) {
- var children = node.children;
- return children && children.length ? d3_layout_clusterLeft(children[0]) : node;
- }
-
- function d3_layout_clusterRight(node) {
- var children = node.children, n;
- return children && (n = children.length) ? d3_layout_clusterRight(children[n - 1]) : node;
- }
-
- d3.layout.treemap = function () {
- var hierarchy = d3.layout.hierarchy(), round = Math.round, size = [1, 1], padding = null, pad = d3_layout_treemapPadNull, sticky = false, stickies, mode = "squarify", ratio = .5 * (1 + Math.sqrt(5));
-
- function scale(children, k) {
- var i = -1, n = children.length, child, area;
- while (++i < n) {
- area = (child = children[i]).value * (k < 0 ? 0 : k);
- child.area = isNaN(area) || area <= 0 ? 0 : area;
- }
- }
-
- function squarify(node) {
- var children = node.children;
- if (children && children.length) {
- var rect = pad(node), row = [], remaining = children.slice(), child, best = Infinity, score, u = mode === "slice" ? rect.dx : mode === "dice" ? rect.dy : mode === "slice-dice" ? node.depth & 1 ? rect.dy : rect.dx : Math.min(rect.dx, rect.dy), n;
- scale(remaining, rect.dx * rect.dy / node.value);
- row.area = 0;
- while ((n = remaining.length) > 0) {
- row.push(child = remaining[n - 1]);
- row.area += child.area;
- if (mode !== "squarify" || (score = worst(row, u)) <= best) {
- remaining.pop();
- best = score;
- } else {
- row.area -= row.pop().area;
- position(row, u, rect, false);
- u = Math.min(rect.dx, rect.dy);
- row.length = row.area = 0;
- best = Infinity;
- }
- }
- if (row.length) {
- position(row, u, rect, true);
- row.length = row.area = 0;
- }
- children.forEach(squarify);
- }
- }
-
- function stickify(node) {
- var children = node.children;
- if (children && children.length) {
- var rect = pad(node), remaining = children.slice(), child, row = [];
- scale(remaining, rect.dx * rect.dy / node.value);
- row.area = 0;
- while (child = remaining.pop()) {
- row.push(child);
- row.area += child.area;
- if (child.z != null) {
- position(row, child.z ? rect.dx : rect.dy, rect, !remaining.length);
- row.length = row.area = 0;
- }
- }
- children.forEach(stickify);
- }
- }
-
- function worst(row, u) {
- var s = row.area, r, rmax = 0, rmin = Infinity, i = -1, n = row.length;
- while (++i < n) {
- if (!(r = row[i].area)) continue;
- if (r < rmin) rmin = r;
- if (r > rmax) rmax = r;
- }
- s *= s;
- u *= u;
- return s ? Math.max(u * rmax * ratio / s, s / (u * rmin * ratio)) : Infinity;
- }
-
- function position(row, u, rect, flush) {
- var i = -1, n = row.length, x = rect.x, y = rect.y, v = u ? round(row.area / u) : 0, o;
- if (u == rect.dx) {
- if (flush || v > rect.dy) v = rect.dy;
- while (++i < n) {
- o = row[i];
- o.x = x;
- o.y = y;
- o.dy = v;
- x += o.dx = Math.min(rect.x + rect.dx - x, v ? round(o.area / v) : 0);
- }
- o.z = true;
- o.dx += rect.x + rect.dx - x;
- rect.y += v;
- rect.dy -= v;
- } else {
- if (flush || v > rect.dx) v = rect.dx;
- while (++i < n) {
- o = row[i];
- o.x = x;
- o.y = y;
- o.dx = v;
- y += o.dy = Math.min(rect.y + rect.dy - y, v ? round(o.area / v) : 0);
- }
- o.z = false;
- o.dy += rect.y + rect.dy - y;
- rect.x += v;
- rect.dx -= v;
- }
- }
-
- function treemap(d) {
- var nodes = stickies || hierarchy(d), root = nodes[0];
- root.x = 0;
- root.y = 0;
- root.dx = size[0];
- root.dy = size[1];
- if (stickies) hierarchy.revalue(root);
- scale([root], root.dx * root.dy / root.value);
- (stickies ? stickify : squarify)(root);
- if (sticky) stickies = nodes;
- return nodes;
- }
-
- treemap.size = function (x) {
- if (!arguments.length) return size;
- size = x;
- return treemap;
- };
- treemap.padding = function (x) {
- if (!arguments.length) return padding;
- function padFunction(node) {
- var p = x.call(treemap, node, node.depth);
- return p == null ? d3_layout_treemapPadNull(node) : d3_layout_treemapPad(node, typeof p === "number" ? [p, p, p, p] : p);
- }
-
- function padConstant(node) {
- return d3_layout_treemapPad(node, x);
- }
-
- var type;
- pad = (padding = x) == null ? d3_layout_treemapPadNull : (type = typeof x) === "function" ? padFunction : type === "number" ? (x = [x, x, x, x],
- padConstant) : padConstant;
- return treemap;
- };
- treemap.round = function (x) {
- if (!arguments.length) return round != Number;
- round = x ? Math.round : Number;
- return treemap;
- };
- treemap.sticky = function (x) {
- if (!arguments.length) return sticky;
- sticky = x;
- stickies = null;
- return treemap;
- };
- treemap.ratio = function (x) {
- if (!arguments.length) return ratio;
- ratio = x;
- return treemap;
- };
- treemap.mode = function (x) {
- if (!arguments.length) return mode;
- mode = x + "";
- return treemap;
- };
- return d3_layout_hierarchyRebind(treemap, hierarchy);
- };
- function d3_layout_treemapPadNull(node) {
- return {
- x: node.x,
- y: node.y,
- dx: node.dx,
- dy: node.dy
- };
- }
-
- function d3_layout_treemapPad(node, padding) {
- var x = node.x + padding[3], y = node.y + padding[0], dx = node.dx - padding[1] - padding[3], dy = node.dy - padding[0] - padding[2];
- if (dx < 0) {
- x += dx / 2;
- dx = 0;
- }
- if (dy < 0) {
- y += dy / 2;
- dy = 0;
- }
- return {
- x: x,
- y: y,
- dx: dx,
- dy: dy
- };
- }
-
- d3.random = {
- normal: function (µ, σ) {
- var n = arguments.length;
- if (n < 2) σ = 1;
- if (n < 1) µ = 0;
- return function () {
- var x, y, r;
- do {
- x = Math.random() * 2 - 1;
- y = Math.random() * 2 - 1;
- r = x * x + y * y;
- } while (!r || r > 1);
- return µ + σ * x * Math.sqrt(-2 * Math.log(r) / r);
- };
- },
- logNormal: function () {
- var random = d3.random.normal.apply(d3, arguments);
- return function () {
- return Math.exp(random());
- };
- },
- bates: function (m) {
- var random = d3.random.irwinHall(m);
- return function () {
- return random() / m;
- };
- },
- irwinHall: function (m) {
- return function () {
- for (var s = 0, j = 0; j < m; j++) s += Math.random();
- return s;
- };
- }
- };
- d3.scale = {};
- function d3_scaleExtent(domain) {
- var start = domain[0], stop = domain[domain.length - 1];
- return start < stop ? [start, stop] : [stop, start];
- }
-
- function d3_scaleRange(scale) {
- return scale.rangeExtent ? scale.rangeExtent() : d3_scaleExtent(scale.range());
- }
-
- function d3_scale_bilinear(domain, range, uninterpolate, interpolate) {
- var u = uninterpolate(domain[0], domain[1]), i = interpolate(range[0], range[1]);
- return function (x) {
- return i(u(x));
- };
- }
-
- function d3_scale_nice(domain, nice) {
- var i0 = 0, i1 = domain.length - 1, x0 = domain[i0], x1 = domain[i1], dx;
- if (x1 < x0) {
- dx = i0, i0 = i1, i1 = dx;
- dx = x0, x0 = x1, x1 = dx;
- }
- domain[i0] = nice.floor(x0);
- domain[i1] = nice.ceil(x1);
- return domain;
- }
-
- function d3_scale_niceStep(step) {
- return step ? {
- floor: function (x) {
- return Math.floor(x / step) * step;
- },
- ceil: function (x) {
- return Math.ceil(x / step) * step;
- }
- } : d3_scale_niceIdentity;
- }
-
- var d3_scale_niceIdentity = {
- floor: d3_identity,
- ceil: d3_identity
- };
-
- function d3_scale_polylinear(domain, range, uninterpolate, interpolate) {
- var u = [], i = [], j = 0, k = Math.min(domain.length, range.length) - 1;
- if (domain[k] < domain[0]) {
- domain = domain.slice().reverse();
- range = range.slice().reverse();
- }
- while (++j <= k) {
- u.push(uninterpolate(domain[j - 1], domain[j]));
- i.push(interpolate(range[j - 1], range[j]));
- }
- return function (x) {
- var j = d3.bisect(domain, x, 1, k) - 1;
- return i[j](u[j](x));
- };
- }
-
- d3.scale.linear = function () {
- return d3_scale_linear([0, 1], [0, 1], d3_interpolate, false);
- };
- function d3_scale_linear(domain, range, interpolate, clamp) {
- var output, input;
-
- function rescale() {
- var linear = Math.min(domain.length, range.length) > 2 ? d3_scale_polylinear : d3_scale_bilinear, uninterpolate = clamp ? d3_uninterpolateClamp : d3_uninterpolateNumber;
- output = linear(domain, range, uninterpolate, interpolate);
- input = linear(range, domain, uninterpolate, d3_interpolate);
- return scale;
- }
-
- function scale(x) {
- return output(x);
- }
-
- scale.invert = function (y) {
- return input(y);
- };
- scale.domain = function (x) {
- if (!arguments.length) return domain;
- domain = x.map(Number);
- return rescale();
- };
- scale.range = function (x) {
- if (!arguments.length) return range;
- range = x;
- return rescale();
- };
- scale.rangeRound = function (x) {
- return scale.range(x).interpolate(d3_interpolateRound);
- };
- scale.clamp = function (x) {
- if (!arguments.length) return clamp;
- clamp = x;
- return rescale();
- };
- scale.interpolate = function (x) {
- if (!arguments.length) return interpolate;
- interpolate = x;
- return rescale();
- };
- scale.ticks = function (m) {
- return d3_scale_linearTicks(domain, m);
- };
- scale.tickFormat = function (m, format) {
- return d3_scale_linearTickFormat(domain, m, format);
- };
- scale.nice = function (m) {
- d3_scale_linearNice(domain, m);
- return rescale();
- };
- scale.copy = function () {
- return d3_scale_linear(domain, range, interpolate, clamp);
- };
- return rescale();
- }
-
- function d3_scale_linearRebind(scale, linear) {
- return d3.rebind(scale, linear, "range", "rangeRound", "interpolate", "clamp");
- }
-
- function d3_scale_linearNice(domain, m) {
- return d3_scale_nice(domain, d3_scale_niceStep(d3_scale_linearTickRange(domain, m)[2]));
- }
-
- function d3_scale_linearTickRange(domain, m) {
- if (m == null) m = 10;
- var extent = d3_scaleExtent(domain), span = extent[1] - extent[0], step = Math.pow(10, Math.floor(Math.log(span / m) / Math.LN10)), err = m / span * step;
- if (err <= .15) step *= 10; else if (err <= .35) step *= 5; else if (err <= .75) step *= 2;
- extent[0] = Math.ceil(extent[0] / step) * step;
- extent[1] = Math.floor(extent[1] / step) * step + step * .5;
- extent[2] = step;
- return extent;
- }
-
- function d3_scale_linearTicks(domain, m) {
- return d3.range.apply(d3, d3_scale_linearTickRange(domain, m));
- }
-
- function d3_scale_linearTickFormat(domain, m, format) {
- var range = d3_scale_linearTickRange(domain, m);
- if (format) {
- var match = d3_format_re.exec(format);
- match.shift();
- if (match[8] === "s") {
- var prefix = d3.formatPrefix(Math.max(abs(range[0]), abs(range[1])));
- if (!match[7]) match[7] = "." + d3_scale_linearPrecision(prefix.scale(range[2]));
- match[8] = "f";
- format = d3.format(match.join(""));
- return function (d) {
- return format(prefix.scale(d)) + prefix.symbol;
- };
- }
- if (!match[7]) match[7] = "." + d3_scale_linearFormatPrecision(match[8], range);
- format = match.join("");
- } else {
- format = ",." + d3_scale_linearPrecision(range[2]) + "f";
- }
- return d3.format(format);
- }
-
- var d3_scale_linearFormatSignificant = {
- s: 1,
- g: 1,
- p: 1,
- r: 1,
- e: 1
- };
-
- function d3_scale_linearPrecision(value) {
- return -Math.floor(Math.log(value) / Math.LN10 + .01);
- }
-
- function d3_scale_linearFormatPrecision(type, range) {
- var p = d3_scale_linearPrecision(range[2]);
- return type in d3_scale_linearFormatSignificant ? Math.abs(p - d3_scale_linearPrecision(Math.max(abs(range[0]), abs(range[1])))) + +(type !== "e") : p - (type === "%") * 2;
- }
-
- d3.scale.log = function () {
- return d3_scale_log(d3.scale.linear().domain([0, 1]), 10, true, [1, 10]);
- };
- function d3_scale_log(linear, base, positive, domain) {
- function log(x) {
- return (positive ? Math.log(x < 0 ? 0 : x) : -Math.log(x > 0 ? 0 : -x)) / Math.log(base);
- }
-
- function pow(x) {
- return positive ? Math.pow(base, x) : -Math.pow(base, -x);
- }
-
- function scale(x) {
- return linear(log(x));
- }
-
- scale.invert = function (x) {
- return pow(linear.invert(x));
- };
- scale.domain = function (x) {
- if (!arguments.length) return domain;
- positive = x[0] >= 0;
- linear.domain((domain = x.map(Number)).map(log));
- return scale;
- };
- scale.base = function (_) {
- if (!arguments.length) return base;
- base = +_;
- linear.domain(domain.map(log));
- return scale;
- };
- scale.nice = function () {
- var niced = d3_scale_nice(domain.map(log), positive ? Math : d3_scale_logNiceNegative);
- linear.domain(niced);
- domain = niced.map(pow);
- return scale;
- };
- scale.ticks = function () {
- var extent = d3_scaleExtent(domain), ticks = [], u = extent[0], v = extent[1], i = Math.floor(log(u)), j = Math.ceil(log(v)), n = base % 1 ? 2 : base;
- if (isFinite(j - i)) {
- if (positive) {
- for (; i < j; i++) for (var k = 1; k < n; k++) ticks.push(pow(i) * k);
- ticks.push(pow(i));
- } else {
- ticks.push(pow(i));
- for (; i++ < j;) for (var k = n - 1; k > 0; k--) ticks.push(pow(i) * k);
- }
- for (i = 0; ticks[i] < u; i++) {
- }
- for (j = ticks.length; ticks[j - 1] > v; j--) {
- }
- ticks = ticks.slice(i, j);
- }
- return ticks;
- };
- scale.tickFormat = function (n, format) {
- if (!arguments.length) return d3_scale_logFormat;
- if (arguments.length < 2) format = d3_scale_logFormat; else if (typeof format !== "function") format = d3.format(format);
- var k = Math.max(.1, n / scale.ticks().length), f = positive ? (e = 1e-12, Math.ceil) : (e = -1e-12,
- Math.floor), e;
- return function (d) {
- return d / pow(f(log(d) + e)) <= k ? format(d) : "";
- };
- };
- scale.copy = function () {
- return d3_scale_log(linear.copy(), base, positive, domain);
- };
- return d3_scale_linearRebind(scale, linear);
- }
-
- var d3_scale_logFormat = d3.format(".0e"), d3_scale_logNiceNegative = {
- floor: function (x) {
- return -Math.ceil(-x);
- },
- ceil: function (x) {
- return -Math.floor(-x);
- }
- };
- d3.scale.pow = function () {
- return d3_scale_pow(d3.scale.linear(), 1, [0, 1]);
- };
- function d3_scale_pow(linear, exponent, domain) {
- var powp = d3_scale_powPow(exponent), powb = d3_scale_powPow(1 / exponent);
-
- function scale(x) {
- return linear(powp(x));
- }
-
- scale.invert = function (x) {
- return powb(linear.invert(x));
- };
- scale.domain = function (x) {
- if (!arguments.length) return domain;
- linear.domain((domain = x.map(Number)).map(powp));
- return scale;
- };
- scale.ticks = function (m) {
- return d3_scale_linearTicks(domain, m);
- };
- scale.tickFormat = function (m, format) {
- return d3_scale_linearTickFormat(domain, m, format);
- };
- scale.nice = function (m) {
- return scale.domain(d3_scale_linearNice(domain, m));
- };
- scale.exponent = function (x) {
- if (!arguments.length) return exponent;
- powp = d3_scale_powPow(exponent = x);
- powb = d3_scale_powPow(1 / exponent);
- linear.domain(domain.map(powp));
- return scale;
- };
- scale.copy = function () {
- return d3_scale_pow(linear.copy(), exponent, domain);
- };
- return d3_scale_linearRebind(scale, linear);
- }
-
- function d3_scale_powPow(e) {
- return function (x) {
- return x < 0 ? -Math.pow(-x, e) : Math.pow(x, e);
- };
- }
-
- d3.scale.sqrt = function () {
- return d3.scale.pow().exponent(.5);
- };
- d3.scale.ordinal = function () {
- return d3_scale_ordinal([], {
- t: "range",
- a: [[]]
- });
- };
- function d3_scale_ordinal(domain, ranger) {
- var index, range, rangeBand;
-
- function scale(x) {
- return range[((index.get(x) || (ranger.t === "range" ? index.set(x, domain.push(x)) : NaN)) - 1) % range.length];
- }
-
- function steps(start, step) {
- return d3.range(domain.length).map(function (i) {
- return start + step * i;
- });
- }
-
- scale.domain = function (x) {
- if (!arguments.length) return domain;
- domain = [];
- index = new d3_Map();
- var i = -1, n = x.length, xi;
- while (++i < n) if (!index.has(xi = x[i])) index.set(xi, domain.push(xi));
- return scale[ranger.t].apply(scale, ranger.a);
- };
- scale.range = function (x) {
- if (!arguments.length) return range;
- range = x;
- rangeBand = 0;
- ranger = {
- t: "range",
- a: arguments
- };
- return scale;
- };
- scale.rangePoints = function (x, padding) {
- if (arguments.length < 2) padding = 0;
- var start = x[0], stop = x[1], step = (stop - start) / (Math.max(1, domain.length - 1) + padding);
- range = steps(domain.length < 2 ? (start + stop) / 2 : start + step * padding / 2, step);
- rangeBand = 0;
- ranger = {
- t: "rangePoints",
- a: arguments
- };
- return scale;
- };
- scale.rangeBands = function (x, padding, outerPadding) {
- if (arguments.length < 2) padding = 0;
- if (arguments.length < 3) outerPadding = padding;
- var reverse = x[1] < x[0], start = x[reverse - 0], stop = x[1 - reverse], step = (stop - start) / (domain.length - padding + 2 * outerPadding);
- range = steps(start + step * outerPadding, step);
- if (reverse) range.reverse();
- rangeBand = step * (1 - padding);
- ranger = {
- t: "rangeBands",
- a: arguments
- };
- return scale;
- };
- scale.rangeRoundBands = function (x, padding, outerPadding) {
- if (arguments.length < 2) padding = 0;
- if (arguments.length < 3) outerPadding = padding;
- var reverse = x[1] < x[0], start = x[reverse - 0], stop = x[1 - reverse], step = Math.floor((stop - start) / (domain.length - padding + 2 * outerPadding)), error = stop - start - (domain.length - padding) * step;
- range = steps(start + Math.round(error / 2), step);
- if (reverse) range.reverse();
- rangeBand = Math.round(step * (1 - padding));
- ranger = {
- t: "rangeRoundBands",
- a: arguments
- };
- return scale;
- };
- scale.rangeBand = function () {
- return rangeBand;
- };
- scale.rangeExtent = function () {
- return d3_scaleExtent(ranger.a[0]);
- };
- scale.copy = function () {
- return d3_scale_ordinal(domain, ranger);
- };
- return scale.domain(domain);
- }
-
- d3.scale.category10 = function () {
- return d3.scale.ordinal().range(d3_category10);
- };
- d3.scale.category20 = function () {
- return d3.scale.ordinal().range(d3_category20);
- };
- d3.scale.category20b = function () {
- return d3.scale.ordinal().range(d3_category20b);
- };
- d3.scale.category20c = function () {
- return d3.scale.ordinal().range(d3_category20c);
- };
- var d3_category10 = [2062260, 16744206, 2924588, 14034728, 9725885, 9197131, 14907330, 8355711, 12369186, 1556175].map(d3_rgbString);
- var d3_category20 = [2062260, 11454440, 16744206, 16759672, 2924588, 10018698, 14034728, 16750742, 9725885, 12955861, 9197131, 12885140, 14907330, 16234194, 8355711, 13092807, 12369186, 14408589, 1556175, 10410725].map(d3_rgbString);
- var d3_category20b = [3750777, 5395619, 7040719, 10264286, 6519097, 9216594, 11915115, 13556636, 9202993, 12426809, 15186514, 15190932, 8666169, 11356490, 14049643, 15177372, 8077683, 10834324, 13528509, 14589654].map(d3_rgbString);
- var d3_category20c = [3244733, 7057110, 10406625, 13032431, 15095053, 16616764, 16625259, 16634018, 3253076, 7652470, 10607003, 13101504, 7695281, 10394312, 12369372, 14342891, 6513507, 9868950, 12434877, 14277081].map(d3_rgbString);
- d3.scale.quantile = function () {
- return d3_scale_quantile([], []);
- };
- function d3_scale_quantile(domain, range) {
- var thresholds;
-
- function rescale() {
- var k = 0, q = range.length;
- thresholds = [];
- while (++k < q) thresholds[k - 1] = d3.quantile(domain, k / q);
- return scale;
- }
-
- function scale(x) {
- if (!isNaN(x = +x)) return range[d3.bisect(thresholds, x)];
- }
-
- scale.domain = function (x) {
- if (!arguments.length) return domain;
- domain = x.filter(d3_number).sort(d3_ascending);
- return rescale();
- };
- scale.range = function (x) {
- if (!arguments.length) return range;
- range = x;
- return rescale();
- };
- scale.quantiles = function () {
- return thresholds;
- };
- scale.invertExtent = function (y) {
- y = range.indexOf(y);
- return y < 0 ? [NaN, NaN] : [y > 0 ? thresholds[y - 1] : domain[0], y < thresholds.length ? thresholds[y] : domain[domain.length - 1]];
- };
- scale.copy = function () {
- return d3_scale_quantile(domain, range);
- };
- return rescale();
- }
-
- d3.scale.quantize = function () {
- return d3_scale_quantize(0, 1, [0, 1]);
- };
- function d3_scale_quantize(x0, x1, range) {
- var kx, i;
-
- function scale(x) {
- return range[Math.max(0, Math.min(i, Math.floor(kx * (x - x0))))];
- }
-
- function rescale() {
- kx = range.length / (x1 - x0);
- i = range.length - 1;
- return scale;
- }
-
- scale.domain = function (x) {
- if (!arguments.length) return [x0, x1];
- x0 = +x[0];
- x1 = +x[x.length - 1];
- return rescale();
- };
- scale.range = function (x) {
- if (!arguments.length) return range;
- range = x;
- return rescale();
- };
- scale.invertExtent = function (y) {
- y = range.indexOf(y);
- y = y < 0 ? NaN : y / kx + x0;
- return [y, y + 1 / kx];
- };
- scale.copy = function () {
- return d3_scale_quantize(x0, x1, range);
- };
- return rescale();
- }
-
- d3.scale.threshold = function () {
- return d3_scale_threshold([.5], [0, 1]);
- };
- function d3_scale_threshold(domain, range) {
- function scale(x) {
- if (x <= x) return range[d3.bisect(domain, x)];
- }
-
- scale.domain = function (_) {
- if (!arguments.length) return domain;
- domain = _;
- return scale;
- };
- scale.range = function (_) {
- if (!arguments.length) return range;
- range = _;
- return scale;
- };
- scale.invertExtent = function (y) {
- y = range.indexOf(y);
- return [domain[y - 1], domain[y]];
- };
- scale.copy = function () {
- return d3_scale_threshold(domain, range);
- };
- return scale;
- }
-
- d3.scale.identity = function () {
- return d3_scale_identity([0, 1]);
- };
- function d3_scale_identity(domain) {
- function identity(x) {
- return +x;
- }
-
- identity.invert = identity;
- identity.domain = identity.range = function (x) {
- if (!arguments.length) return domain;
- domain = x.map(identity);
- return identity;
- };
- identity.ticks = function (m) {
- return d3_scale_linearTicks(domain, m);
- };
- identity.tickFormat = function (m, format) {
- return d3_scale_linearTickFormat(domain, m, format);
- };
- identity.copy = function () {
- return d3_scale_identity(domain);
- };
- return identity;
- }
-
- d3.svg = {};
- d3.svg.arc = function () {
- var innerRadius = d3_svg_arcInnerRadius, outerRadius = d3_svg_arcOuterRadius, startAngle = d3_svg_arcStartAngle, endAngle = d3_svg_arcEndAngle;
-
- function arc() {
- var r0 = innerRadius.apply(this, arguments), r1 = outerRadius.apply(this, arguments), a0 = startAngle.apply(this, arguments) + d3_svg_arcOffset, a1 = endAngle.apply(this, arguments) + d3_svg_arcOffset, da = (a1 < a0 && (da = a0,
- a0 = a1, a1 = da), a1 - a0), df = da < π ? "0" : "1", c0 = Math.cos(a0), s0 = Math.sin(a0), c1 = Math.cos(a1), s1 = Math.sin(a1);
- return da >= d3_svg_arcMax ? r0 ? "M0," + r1 + "A" + r1 + "," + r1 + " 0 1,1 0," + -r1 + "A" + r1 + "," + r1 + " 0 1,1 0," + r1 + "M0," + r0 + "A" + r0 + "," + r0 + " 0 1,0 0," + -r0 + "A" + r0 + "," + r0 + " 0 1,0 0," + r0 + "Z" : "M0," + r1 + "A" + r1 + "," + r1 + " 0 1,1 0," + -r1 + "A" + r1 + "," + r1 + " 0 1,1 0," + r1 + "Z" : r0 ? "M" + r1 * c0 + "," + r1 * s0 + "A" + r1 + "," + r1 + " 0 " + df + ",1 " + r1 * c1 + "," + r1 * s1 + "L" + r0 * c1 + "," + r0 * s1 + "A" + r0 + "," + r0 + " 0 " + df + ",0 " + r0 * c0 + "," + r0 * s0 + "Z" : "M" + r1 * c0 + "," + r1 * s0 + "A" + r1 + "," + r1 + " 0 " + df + ",1 " + r1 * c1 + "," + r1 * s1 + "L0,0" + "Z";
- }
-
- arc.innerRadius = function (v) {
- if (!arguments.length) return innerRadius;
- innerRadius = d3_functor(v);
- return arc;
- };
- arc.outerRadius = function (v) {
- if (!arguments.length) return outerRadius;
- outerRadius = d3_functor(v);
- return arc;
- };
- arc.startAngle = function (v) {
- if (!arguments.length) return startAngle;
- startAngle = d3_functor(v);
- return arc;
- };
- arc.endAngle = function (v) {
- if (!arguments.length) return endAngle;
- endAngle = d3_functor(v);
- return arc;
- };
- arc.centroid = function () {
- var r = (innerRadius.apply(this, arguments) + outerRadius.apply(this, arguments)) / 2, a = (startAngle.apply(this, arguments) + endAngle.apply(this, arguments)) / 2 + d3_svg_arcOffset;
- return [Math.cos(a) * r, Math.sin(a) * r];
- };
- return arc;
- };
- var d3_svg_arcOffset = -halfπ, d3_svg_arcMax = τ - ε;
-
- function d3_svg_arcInnerRadius(d) {
- return d.innerRadius;
- }
-
- function d3_svg_arcOuterRadius(d) {
- return d.outerRadius;
- }
-
- function d3_svg_arcStartAngle(d) {
- return d.startAngle;
- }
-
- function d3_svg_arcEndAngle(d) {
- return d.endAngle;
- }
-
- function d3_svg_line(projection) {
- var x = d3_geom_pointX, y = d3_geom_pointY, defined = d3_true, interpolate = d3_svg_lineLinear, interpolateKey = interpolate.key, tension = .7;
-
- function line(data) {
- var segments = [], points = [], i = -1, n = data.length, d, fx = d3_functor(x), fy = d3_functor(y);
-
- function segment() {
- segments.push("M", interpolate(projection(points), tension));
- }
-
- while (++i < n) {
- if (defined.call(this, d = data[i], i)) {
- points.push([+fx.call(this, d, i), +fy.call(this, d, i)]);
- } else if (points.length) {
- segment();
- points = [];
- }
- }
- if (points.length) segment();
- return segments.length ? segments.join("") : null;
- }
-
- line.x = function (_) {
- if (!arguments.length) return x;
- x = _;
- return line;
- };
- line.y = function (_) {
- if (!arguments.length) return y;
- y = _;
- return line;
- };
- line.defined = function (_) {
- if (!arguments.length) return defined;
- defined = _;
- return line;
- };
- line.interpolate = function (_) {
- if (!arguments.length) return interpolateKey;
- if (typeof _ === "function") interpolateKey = interpolate = _; else interpolateKey = (interpolate = d3_svg_lineInterpolators.get(_) || d3_svg_lineLinear).key;
- return line;
- };
- line.tension = function (_) {
- if (!arguments.length) return tension;
- tension = _;
- return line;
- };
- return line;
- }
-
- d3.svg.line = function () {
- return d3_svg_line(d3_identity);
- };
- var d3_svg_lineInterpolators = d3.map({
- linear: d3_svg_lineLinear,
- "linear-closed": d3_svg_lineLinearClosed,
- step: d3_svg_lineStep,
- "step-before": d3_svg_lineStepBefore,
- "step-after": d3_svg_lineStepAfter,
- basis: d3_svg_lineBasis,
- "basis-open": d3_svg_lineBasisOpen,
- "basis-closed": d3_svg_lineBasisClosed,
- bundle: d3_svg_lineBundle,
- cardinal: d3_svg_lineCardinal,
- "cardinal-open": d3_svg_lineCardinalOpen,
- "cardinal-closed": d3_svg_lineCardinalClosed,
- monotone: d3_svg_lineMonotone
- });
- d3_svg_lineInterpolators.forEach(function (key, value) {
- value.key = key;
- value.closed = /-closed$/.test(key);
- });
- function d3_svg_lineLinear(points) {
- return points.join("L");
- }
-
- function d3_svg_lineLinearClosed(points) {
- return d3_svg_lineLinear(points) + "Z";
- }
-
- function d3_svg_lineStep(points) {
- var i = 0, n = points.length, p = points[0], path = [p[0], ",", p[1]];
- while (++i < n) path.push("H", (p[0] + (p = points[i])[0]) / 2, "V", p[1]);
- if (n > 1) path.push("H", p[0]);
- return path.join("");
- }
-
- function d3_svg_lineStepBefore(points) {
- var i = 0, n = points.length, p = points[0], path = [p[0], ",", p[1]];
- while (++i < n) path.push("V", (p = points[i])[1], "H", p[0]);
- return path.join("");
- }
-
- function d3_svg_lineStepAfter(points) {
- var i = 0, n = points.length, p = points[0], path = [p[0], ",", p[1]];
- while (++i < n) path.push("H", (p = points[i])[0], "V", p[1]);
- return path.join("");
- }
-
- function d3_svg_lineCardinalOpen(points, tension) {
- return points.length < 4 ? d3_svg_lineLinear(points) : points[1] + d3_svg_lineHermite(points.slice(1, points.length - 1), d3_svg_lineCardinalTangents(points, tension));
- }
-
- function d3_svg_lineCardinalClosed(points, tension) {
- return points.length < 3 ? d3_svg_lineLinear(points) : points[0] + d3_svg_lineHermite((points.push(points[0]),
- points), d3_svg_lineCardinalTangents([points[points.length - 2]].concat(points, [points[1]]), tension));
- }
-
- function d3_svg_lineCardinal(points, tension) {
- return points.length < 3 ? d3_svg_lineLinear(points) : points[0] + d3_svg_lineHermite(points, d3_svg_lineCardinalTangents(points, tension));
- }
-
- function d3_svg_lineHermite(points, tangents) {
- if (tangents.length < 1 || points.length != tangents.length && points.length != tangents.length + 2) {
- return d3_svg_lineLinear(points);
- }
- var quad = points.length != tangents.length, path = "", p0 = points[0], p = points[1], t0 = tangents[0], t = t0, pi = 1;
- if (quad) {
- path += "Q" + (p[0] - t0[0] * 2 / 3) + "," + (p[1] - t0[1] * 2 / 3) + "," + p[0] + "," + p[1];
- p0 = points[1];
- pi = 2;
- }
- if (tangents.length > 1) {
- t = tangents[1];
- p = points[pi];
- pi++;
- path += "C" + (p0[0] + t0[0]) + "," + (p0[1] + t0[1]) + "," + (p[0] - t[0]) + "," + (p[1] - t[1]) + "," + p[0] + "," + p[1];
- for (var i = 2; i < tangents.length; i++, pi++) {
- p = points[pi];
- t = tangents[i];
- path += "S" + (p[0] - t[0]) + "," + (p[1] - t[1]) + "," + p[0] + "," + p[1];
- }
- }
- if (quad) {
- var lp = points[pi];
- path += "Q" + (p[0] + t[0] * 2 / 3) + "," + (p[1] + t[1] * 2 / 3) + "," + lp[0] + "," + lp[1];
- }
- return path;
- }
-
- function d3_svg_lineCardinalTangents(points, tension) {
- var tangents = [], a = (1 - tension) / 2, p0, p1 = points[0], p2 = points[1], i = 1, n = points.length;
- while (++i < n) {
- p0 = p1;
- p1 = p2;
- p2 = points[i];
- tangents.push([a * (p2[0] - p0[0]), a * (p2[1] - p0[1])]);
- }
- return tangents;
- }
-
- function d3_svg_lineBasis(points) {
- if (points.length < 3) return d3_svg_lineLinear(points);
- var i = 1, n = points.length, pi = points[0], x0 = pi[0], y0 = pi[1], px = [x0, x0, x0, (pi = points[1])[0]], py = [y0, y0, y0, pi[1]], path = [x0, ",", y0, "L", d3_svg_lineDot4(d3_svg_lineBasisBezier3, px), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier3, py)];
- points.push(points[n - 1]);
- while (++i <= n) {
- pi = points[i];
- px.shift();
- px.push(pi[0]);
- py.shift();
- py.push(pi[1]);
- d3_svg_lineBasisBezier(path, px, py);
- }
- points.pop();
- path.push("L", pi);
- return path.join("");
- }
-
- function d3_svg_lineBasisOpen(points) {
- if (points.length < 4) return d3_svg_lineLinear(points);
- var path = [], i = -1, n = points.length, pi, px = [0], py = [0];
- while (++i < 3) {
- pi = points[i];
- px.push(pi[0]);
- py.push(pi[1]);
- }
- path.push(d3_svg_lineDot4(d3_svg_lineBasisBezier3, px) + "," + d3_svg_lineDot4(d3_svg_lineBasisBezier3, py));
- --i;
- while (++i < n) {
- pi = points[i];
- px.shift();
- px.push(pi[0]);
- py.shift();
- py.push(pi[1]);
- d3_svg_lineBasisBezier(path, px, py);
- }
- return path.join("");
- }
-
- function d3_svg_lineBasisClosed(points) {
- var path, i = -1, n = points.length, m = n + 4, pi, px = [], py = [];
- while (++i < 4) {
- pi = points[i % n];
- px.push(pi[0]);
- py.push(pi[1]);
- }
- path = [d3_svg_lineDot4(d3_svg_lineBasisBezier3, px), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier3, py)];
- --i;
- while (++i < m) {
- pi = points[i % n];
- px.shift();
- px.push(pi[0]);
- py.shift();
- py.push(pi[1]);
- d3_svg_lineBasisBezier(path, px, py);
- }
- return path.join("");
- }
-
- function d3_svg_lineBundle(points, tension) {
- var n = points.length - 1;
- if (n) {
- var x0 = points[0][0], y0 = points[0][1], dx = points[n][0] - x0, dy = points[n][1] - y0, i = -1, p, t;
- while (++i <= n) {
- p = points[i];
- t = i / n;
- p[0] = tension * p[0] + (1 - tension) * (x0 + t * dx);
- p[1] = tension * p[1] + (1 - tension) * (y0 + t * dy);
- }
- }
- return d3_svg_lineBasis(points);
- }
-
- function d3_svg_lineDot4(a, b) {
- return a[0] * b[0] + a[1] * b[1] + a[2] * b[2] + a[3] * b[3];
- }
-
- var d3_svg_lineBasisBezier1 = [0, 2 / 3, 1 / 3, 0], d3_svg_lineBasisBezier2 = [0, 1 / 3, 2 / 3, 0], d3_svg_lineBasisBezier3 = [0, 1 / 6, 2 / 3, 1 / 6];
-
- function d3_svg_lineBasisBezier(path, x, y) {
- path.push("C", d3_svg_lineDot4(d3_svg_lineBasisBezier1, x), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier1, y), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier2, x), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier2, y), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier3, x), ",", d3_svg_lineDot4(d3_svg_lineBasisBezier3, y));
- }
-
- function d3_svg_lineSlope(p0, p1) {
- return (p1[1] - p0[1]) / (p1[0] - p0[0]);
- }
-
- function d3_svg_lineFiniteDifferences(points) {
- var i = 0, j = points.length - 1, m = [], p0 = points[0], p1 = points[1], d = m[0] = d3_svg_lineSlope(p0, p1);
- while (++i < j) {
- m[i] = (d + (d = d3_svg_lineSlope(p0 = p1, p1 = points[i + 1]))) / 2;
- }
- m[i] = d;
- return m;
- }
-
- function d3_svg_lineMonotoneTangents(points) {
- var tangents = [], d, a, b, s, m = d3_svg_lineFiniteDifferences(points), i = -1, j = points.length - 1;
- while (++i < j) {
- d = d3_svg_lineSlope(points[i], points[i + 1]);
- if (abs(d) < ε) {
- m[i] = m[i + 1] = 0;
- } else {
- a = m[i] / d;
- b = m[i + 1] / d;
- s = a * a + b * b;
- if (s > 9) {
- s = d * 3 / Math.sqrt(s);
- m[i] = s * a;
- m[i + 1] = s * b;
- }
- }
- }
- i = -1;
- while (++i <= j) {
- s = (points[Math.min(j, i + 1)][0] - points[Math.max(0, i - 1)][0]) / (6 * (1 + m[i] * m[i]));
- tangents.push([s || 0, m[i] * s || 0]);
- }
- return tangents;
- }
-
- function d3_svg_lineMonotone(points) {
- return points.length < 3 ? d3_svg_lineLinear(points) : points[0] + d3_svg_lineHermite(points, d3_svg_lineMonotoneTangents(points));
- }
-
- d3.svg.line.radial = function () {
- var line = d3_svg_line(d3_svg_lineRadial);
- line.radius = line.x, delete line.x;
- line.angle = line.y, delete line.y;
- return line;
- };
- function d3_svg_lineRadial(points) {
- var point, i = -1, n = points.length, r, a;
- while (++i < n) {
- point = points[i];
- r = point[0];
- a = point[1] + d3_svg_arcOffset;
- point[0] = r * Math.cos(a);
- point[1] = r * Math.sin(a);
- }
- return points;
- }
-
- function d3_svg_area(projection) {
- var x0 = d3_geom_pointX, x1 = d3_geom_pointX, y0 = 0, y1 = d3_geom_pointY, defined = d3_true, interpolate = d3_svg_lineLinear, interpolateKey = interpolate.key, interpolateReverse = interpolate, L = "L", tension = .7;
-
- function area(data) {
- var segments = [], points0 = [], points1 = [], i = -1, n = data.length, d, fx0 = d3_functor(x0), fy0 = d3_functor(y0), fx1 = x0 === x1 ? function () {
- return x;
- } : d3_functor(x1), fy1 = y0 === y1 ? function () {
- return y;
- } : d3_functor(y1), x, y;
-
- function segment() {
- segments.push("M", interpolate(projection(points1), tension), L, interpolateReverse(projection(points0.reverse()), tension), "Z");
- }
-
- while (++i < n) {
- if (defined.call(this, d = data[i], i)) {
- points0.push([x = +fx0.call(this, d, i), y = +fy0.call(this, d, i)]);
- points1.push([+fx1.call(this, d, i), +fy1.call(this, d, i)]);
- } else if (points0.length) {
- segment();
- points0 = [];
- points1 = [];
- }
- }
- if (points0.length) segment();
- return segments.length ? segments.join("") : null;
- }
-
- area.x = function (_) {
- if (!arguments.length) return x1;
- x0 = x1 = _;
- return area;
- };
- area.x0 = function (_) {
- if (!arguments.length) return x0;
- x0 = _;
- return area;
- };
- area.x1 = function (_) {
- if (!arguments.length) return x1;
- x1 = _;
- return area;
- };
- area.y = function (_) {
- if (!arguments.length) return y1;
- y0 = y1 = _;
- return area;
- };
- area.y0 = function (_) {
- if (!arguments.length) return y0;
- y0 = _;
- return area;
- };
- area.y1 = function (_) {
- if (!arguments.length) return y1;
- y1 = _;
- return area;
- };
- area.defined = function (_) {
- if (!arguments.length) return defined;
- defined = _;
- return area;
- };
- area.interpolate = function (_) {
- if (!arguments.length) return interpolateKey;
- if (typeof _ === "function") interpolateKey = interpolate = _; else interpolateKey = (interpolate = d3_svg_lineInterpolators.get(_) || d3_svg_lineLinear).key;
- interpolateReverse = interpolate.reverse || interpolate;
- L = interpolate.closed ? "M" : "L";
- return area;
- };
- area.tension = function (_) {
- if (!arguments.length) return tension;
- tension = _;
- return area;
- };
- return area;
- }
-
- d3_svg_lineStepBefore.reverse = d3_svg_lineStepAfter;
- d3_svg_lineStepAfter.reverse = d3_svg_lineStepBefore;
- d3.svg.area = function () {
- return d3_svg_area(d3_identity);
- };
- d3.svg.area.radial = function () {
- var area = d3_svg_area(d3_svg_lineRadial);
- area.radius = area.x, delete area.x;
- area.innerRadius = area.x0, delete area.x0;
- area.outerRadius = area.x1, delete area.x1;
- area.angle = area.y, delete area.y;
- area.startAngle = area.y0, delete area.y0;
- area.endAngle = area.y1, delete area.y1;
- return area;
- };
- d3.svg.chord = function () {
- var source = d3_source, target = d3_target, radius = d3_svg_chordRadius, startAngle = d3_svg_arcStartAngle, endAngle = d3_svg_arcEndAngle;
-
- function chord(d, i) {
- var s = subgroup(this, source, d, i), t = subgroup(this, target, d, i);
- return "M" + s.p0 + arc(s.r, s.p1, s.a1 - s.a0) + (equals(s, t) ? curve(s.r, s.p1, s.r, s.p0) : curve(s.r, s.p1, t.r, t.p0) + arc(t.r, t.p1, t.a1 - t.a0) + curve(t.r, t.p1, s.r, s.p0)) + "Z";
- }
-
- function subgroup(self, f, d, i) {
- var subgroup = f.call(self, d, i), r = radius.call(self, subgroup, i), a0 = startAngle.call(self, subgroup, i) + d3_svg_arcOffset, a1 = endAngle.call(self, subgroup, i) + d3_svg_arcOffset;
- return {
- r: r,
- a0: a0,
- a1: a1,
- p0: [r * Math.cos(a0), r * Math.sin(a0)],
- p1: [r * Math.cos(a1), r * Math.sin(a1)]
- };
- }
-
- function equals(a, b) {
- return a.a0 == b.a0 && a.a1 == b.a1;
- }
-
- function arc(r, p, a) {
- return "A" + r + "," + r + " 0 " + +(a > π) + ",1 " + p;
- }
-
- function curve(r0, p0, r1, p1) {
- return "Q 0,0 " + p1;
- }
-
- chord.radius = function (v) {
- if (!arguments.length) return radius;
- radius = d3_functor(v);
- return chord;
- };
- chord.source = function (v) {
- if (!arguments.length) return source;
- source = d3_functor(v);
- return chord;
- };
- chord.target = function (v) {
- if (!arguments.length) return target;
- target = d3_functor(v);
- return chord;
- };
- chord.startAngle = function (v) {
- if (!arguments.length) return startAngle;
- startAngle = d3_functor(v);
- return chord;
- };
- chord.endAngle = function (v) {
- if (!arguments.length) return endAngle;
- endAngle = d3_functor(v);
- return chord;
- };
- return chord;
- };
- function d3_svg_chordRadius(d) {
- return d.radius;
- }
-
- d3.svg.diagonal = function () {
- var source = d3_source, target = d3_target, projection = d3_svg_diagonalProjection;
-
- function diagonal(d, i) {
- var p0 = source.call(this, d, i), p3 = target.call(this, d, i), m = (p0.y + p3.y) / 2, p = [p0, {
- x: p0.x,
- y: m
- }, {
- x: p3.x,
- y: m
- }, p3];
- p = p.map(projection);
- return "M" + p[0] + "C" + p[1] + " " + p[2] + " " + p[3];
- }
-
- diagonal.source = function (x) {
- if (!arguments.length) return source;
- source = d3_functor(x);
- return diagonal;
- };
- diagonal.target = function (x) {
- if (!arguments.length) return target;
- target = d3_functor(x);
- return diagonal;
- };
- diagonal.projection = function (x) {
- if (!arguments.length) return projection;
- projection = x;
- return diagonal;
- };
- return diagonal;
- };
- function d3_svg_diagonalProjection(d) {
- return [d.x, d.y];
- }
-
- d3.svg.diagonal.radial = function () {
- var diagonal = d3.svg.diagonal(), projection = d3_svg_diagonalProjection, projection_ = diagonal.projection;
- diagonal.projection = function (x) {
- return arguments.length ? projection_(d3_svg_diagonalRadialProjection(projection = x)) : projection;
- };
- return diagonal;
- };
- function d3_svg_diagonalRadialProjection(projection) {
- return function () {
- var d = projection.apply(this, arguments), r = d[0], a = d[1] + d3_svg_arcOffset;
- return [r * Math.cos(a), r * Math.sin(a)];
- };
- }
-
- d3.svg.symbol = function () {
- var type = d3_svg_symbolType, size = d3_svg_symbolSize;
-
- function symbol(d, i) {
- return (d3_svg_symbols.get(type.call(this, d, i)) || d3_svg_symbolCircle)(size.call(this, d, i));
- }
-
- symbol.type = function (x) {
- if (!arguments.length) return type;
- type = d3_functor(x);
- return symbol;
- };
- symbol.size = function (x) {
- if (!arguments.length) return size;
- size = d3_functor(x);
- return symbol;
- };
- return symbol;
- };
- function d3_svg_symbolSize() {
- return 64;
- }
-
- function d3_svg_symbolType() {
- return "circle";
- }
-
- function d3_svg_symbolCircle(size) {
- var r = Math.sqrt(size / π);
- return "M0," + r + "A" + r + "," + r + " 0 1,1 0," + -r + "A" + r + "," + r + " 0 1,1 0," + r + "Z";
- }
-
- var d3_svg_symbols = d3.map({
- circle: d3_svg_symbolCircle,
- cross: function (size) {
- var r = Math.sqrt(size / 5) / 2;
- return "M" + -3 * r + "," + -r + "H" + -r + "V" + -3 * r + "H" + r + "V" + -r + "H" + 3 * r + "V" + r + "H" + r + "V" + 3 * r + "H" + -r + "V" + r + "H" + -3 * r + "Z";
- },
- diamond: function (size) {
- var ry = Math.sqrt(size / (2 * d3_svg_symbolTan30)), rx = ry * d3_svg_symbolTan30;
- return "M0," + -ry + "L" + rx + ",0" + " 0," + ry + " " + -rx + ",0" + "Z";
- },
- square: function (size) {
- var r = Math.sqrt(size) / 2;
- return "M" + -r + "," + -r + "L" + r + "," + -r + " " + r + "," + r + " " + -r + "," + r + "Z";
- },
- "triangle-down": function (size) {
- var rx = Math.sqrt(size / d3_svg_symbolSqrt3), ry = rx * d3_svg_symbolSqrt3 / 2;
- return "M0," + ry + "L" + rx + "," + -ry + " " + -rx + "," + -ry + "Z";
- },
- "triangle-up": function (size) {
- var rx = Math.sqrt(size / d3_svg_symbolSqrt3), ry = rx * d3_svg_symbolSqrt3 / 2;
- return "M0," + -ry + "L" + rx + "," + ry + " " + -rx + "," + ry + "Z";
- }
- });
- d3.svg.symbolTypes = d3_svg_symbols.keys();
- var d3_svg_symbolSqrt3 = Math.sqrt(3), d3_svg_symbolTan30 = Math.tan(30 * d3_radians);
-
- function d3_transition(groups, id) {
- d3_subclass(groups, d3_transitionPrototype);
- groups.id = id;
- return groups;
- }
-
- var d3_transitionPrototype = [], d3_transitionId = 0, d3_transitionInheritId, d3_transitionInherit;
- d3_transitionPrototype.call = d3_selectionPrototype.call;
- d3_transitionPrototype.empty = d3_selectionPrototype.empty;
- d3_transitionPrototype.node = d3_selectionPrototype.node;
- d3_transitionPrototype.size = d3_selectionPrototype.size;
- d3.transition = function (selection) {
- return arguments.length ? d3_transitionInheritId ? selection.transition() : selection : d3_selectionRoot.transition();
- };
- d3.transition.prototype = d3_transitionPrototype;
- d3_transitionPrototype.select = function (selector) {
- var id = this.id, subgroups = [], subgroup, subnode, node;
- selector = d3_selection_selector(selector);
- for (var j = -1, m = this.length; ++j < m;) {
- subgroups.push(subgroup = []);
- for (var group = this[j], i = -1, n = group.length; ++i < n;) {
- if ((node = group[i]) && (subnode = selector.call(node, node.__data__, i, j))) {
- if ("__data__" in node) subnode.__data__ = node.__data__;
- d3_transitionNode(subnode, i, id, node.__transition__[id]);
- subgroup.push(subnode);
- } else {
- subgroup.push(null);
- }
- }
- }
- return d3_transition(subgroups, id);
- };
- d3_transitionPrototype.selectAll = function (selector) {
- var id = this.id, subgroups = [], subgroup, subnodes, node, subnode, transition;
- selector = d3_selection_selectorAll(selector);
- for (var j = -1, m = this.length; ++j < m;) {
- for (var group = this[j], i = -1, n = group.length; ++i < n;) {
- if (node = group[i]) {
- transition = node.__transition__[id];
- subnodes = selector.call(node, node.__data__, i, j);
- subgroups.push(subgroup = []);
- for (var k = -1, o = subnodes.length; ++k < o;) {
- if (subnode = subnodes[k]) d3_transitionNode(subnode, k, id, transition);
- subgroup.push(subnode);
- }
- }
- }
- }
- return d3_transition(subgroups, id);
- };
- d3_transitionPrototype.filter = function (filter) {
- var subgroups = [], subgroup, group, node;
- if (typeof filter !== "function") filter = d3_selection_filter(filter);
- for (var j = 0, m = this.length; j < m; j++) {
- subgroups.push(subgroup = []);
- for (var group = this[j], i = 0, n = group.length; i < n; i++) {
- if ((node = group[i]) && filter.call(node, node.__data__, i, j)) {
- subgroup.push(node);
- }
- }
- }
- return d3_transition(subgroups, this.id);
- };
- d3_transitionPrototype.tween = function (name, tween) {
- var id = this.id;
- if (arguments.length < 2) return this.node().__transition__[id].tween.get(name);
- return d3_selection_each(this, tween == null ? function (node) {
- node.__transition__[id].tween.remove(name);
- } : function (node) {
- node.__transition__[id].tween.set(name, tween);
- });
- };
- function d3_transition_tween(groups, name, value, tween) {
- var id = groups.id;
- return d3_selection_each(groups, typeof value === "function" ? function (node, i, j) {
- node.__transition__[id].tween.set(name, tween(value.call(node, node.__data__, i, j)));
- } : (value = tween(value), function (node) {
- node.__transition__[id].tween.set(name, value);
- }));
- }
-
- d3_transitionPrototype.attr = function (nameNS, value) {
- if (arguments.length < 2) {
- for (value in nameNS) this.attr(value, nameNS[value]);
- return this;
- }
- var interpolate = nameNS == "transform" ? d3_interpolateTransform : d3_interpolate, name = d3.ns.qualify(nameNS);
-
- function attrNull() {
- this.removeAttribute(name);
- }
-
- function attrNullNS() {
- this.removeAttributeNS(name.space, name.local);
- }
-
- function attrTween(b) {
- return b == null ? attrNull : (b += "", function () {
- var a = this.getAttribute(name), i;
- return a !== b && (i = interpolate(a, b), function (t) {
- this.setAttribute(name, i(t));
- });
- });
- }
-
- function attrTweenNS(b) {
- return b == null ? attrNullNS : (b += "", function () {
- var a = this.getAttributeNS(name.space, name.local), i;
- return a !== b && (i = interpolate(a, b), function (t) {
- this.setAttributeNS(name.space, name.local, i(t));
- });
- });
- }
-
- return d3_transition_tween(this, "attr." + nameNS, value, name.local ? attrTweenNS : attrTween);
- };
- d3_transitionPrototype.attrTween = function (nameNS, tween) {
- var name = d3.ns.qualify(nameNS);
-
- function attrTween(d, i) {
- var f = tween.call(this, d, i, this.getAttribute(name));
- return f && function (t) {
- this.setAttribute(name, f(t));
- };
- }
-
- function attrTweenNS(d, i) {
- var f = tween.call(this, d, i, this.getAttributeNS(name.space, name.local));
- return f && function (t) {
- this.setAttributeNS(name.space, name.local, f(t));
- };
- }
-
- return this.tween("attr." + nameNS, name.local ? attrTweenNS : attrTween);
- };
- d3_transitionPrototype.style = function (name, value, priority) {
- var n = arguments.length;
- if (n < 3) {
- if (typeof name !== "string") {
- if (n < 2) value = "";
- for (priority in name) this.style(priority, name[priority], value);
- return this;
- }
- priority = "";
- }
- function styleNull() {
- this.style.removeProperty(name);
- }
-
- function styleString(b) {
- return b == null ? styleNull : (b += "", function () {
- var a = d3_window.getComputedStyle(this, null).getPropertyValue(name), i;
- return a !== b && (i = d3_interpolate(a, b), function (t) {
- this.style.setProperty(name, i(t), priority);
- });
- });
- }
-
- return d3_transition_tween(this, "style." + name, value, styleString);
- };
- d3_transitionPrototype.styleTween = function (name, tween, priority) {
- if (arguments.length < 3) priority = "";
- function styleTween(d, i) {
- var f = tween.call(this, d, i, d3_window.getComputedStyle(this, null).getPropertyValue(name));
- return f && function (t) {
- this.style.setProperty(name, f(t), priority);
- };
- }
-
- return this.tween("style." + name, styleTween);
- };
- d3_transitionPrototype.text = function (value) {
- return d3_transition_tween(this, "text", value, d3_transition_text);
- };
- function d3_transition_text(b) {
- if (b == null) b = "";
- return function () {
- this.textContent = b;
- };
- }
-
- d3_transitionPrototype.remove = function () {
- return this.each("end.transition", function () {
- var p;
- if (this.__transition__.count < 2 && (p = this.parentNode)) p.removeChild(this);
- });
- };
- d3_transitionPrototype.ease = function (value) {
- var id = this.id;
- if (arguments.length < 1) return this.node().__transition__[id].ease;
- if (typeof value !== "function") value = d3.ease.apply(d3, arguments);
- return d3_selection_each(this, function (node) {
- node.__transition__[id].ease = value;
- });
- };
- d3_transitionPrototype.delay = function (value) {
- var id = this.id;
- if (arguments.length < 1) return this.node().__transition__[id].delay;
- return d3_selection_each(this, typeof value === "function" ? function (node, i, j) {
- node.__transition__[id].delay = +value.call(node, node.__data__, i, j);
- } : (value = +value, function (node) {
- node.__transition__[id].delay = value;
- }));
- };
- d3_transitionPrototype.duration = function (value) {
- var id = this.id;
- if (arguments.length < 1) return this.node().__transition__[id].duration;
- return d3_selection_each(this, typeof value === "function" ? function (node, i, j) {
- node.__transition__[id].duration = Math.max(1, value.call(node, node.__data__, i, j));
- } : (value = Math.max(1, value), function (node) {
- node.__transition__[id].duration = value;
- }));
- };
- d3_transitionPrototype.each = function (type, listener) {
- var id = this.id;
- if (arguments.length < 2) {
- var inherit = d3_transitionInherit, inheritId = d3_transitionInheritId;
- d3_transitionInheritId = id;
- d3_selection_each(this, function (node, i, j) {
- d3_transitionInherit = node.__transition__[id];
- type.call(node, node.__data__, i, j);
- });
- d3_transitionInherit = inherit;
- d3_transitionInheritId = inheritId;
- } else {
- d3_selection_each(this, function (node) {
- var transition = node.__transition__[id];
- (transition.event || (transition.event = d3.dispatch("start", "end"))).on(type, listener);
- });
- }
- return this;
- };
- d3_transitionPrototype.transition = function () {
- var id0 = this.id, id1 = ++d3_transitionId, subgroups = [], subgroup, group, node, transition;
- for (var j = 0, m = this.length; j < m; j++) {
- subgroups.push(subgroup = []);
- for (var group = this[j], i = 0, n = group.length; i < n; i++) {
- if (node = group[i]) {
- transition = Object.create(node.__transition__[id0]);
- transition.delay += transition.duration;
- d3_transitionNode(node, i, id1, transition);
- }
- subgroup.push(node);
- }
- }
- return d3_transition(subgroups, id1);
- };
- function d3_transitionNode(node, i, id, inherit) {
- var lock = node.__transition__ || (node.__transition__ = {
- active: 0,
- count: 0
- }), transition = lock[id];
- if (!transition) {
- var time = inherit.time;
- transition = lock[id] = {
- tween: new d3_Map(),
- time: time,
- ease: inherit.ease,
- delay: inherit.delay,
- duration: inherit.duration
- };
- ++lock.count;
- d3.timer(function (elapsed) {
- var d = node.__data__, ease = transition.ease, delay = transition.delay, duration = transition.duration, timer = d3_timer_active, tweened = [];
- timer.t = delay + time;
- if (delay <= elapsed) return start(elapsed - delay);
- timer.c = start;
- function start(elapsed) {
- if (lock.active > id) return stop();
- lock.active = id;
- transition.event && transition.event.start.call(node, d, i);
- transition.tween.forEach(function (key, value) {
- if (value = value.call(node, d, i)) {
- tweened.push(value);
- }
- });
- d3.timer(function () {
- timer.c = tick(elapsed || 1) ? d3_true : tick;
- return 1;
- }, 0, time);
- }
-
- function tick(elapsed) {
- if (lock.active !== id) return stop();
- var t = elapsed / duration, e = ease(t), n = tweened.length;
- while (n > 0) {
- tweened[--n].call(node, e);
- }
- if (t >= 1) {
- transition.event && transition.event.end.call(node, d, i);
- return stop();
- }
- }
-
- function stop() {
- if (--lock.count) delete lock[id]; else delete node.__transition__;
- return 1;
- }
- }, 0, time);
- }
- }
-
- d3.svg.axis = function () {
- var scale = d3.scale.linear(), orient = d3_svg_axisDefaultOrient, innerTickSize = 6, outerTickSize = 6, tickPadding = 3, tickArguments_ = [10], tickValues = null, tickFormat_;
-
- function axis(g) {
- g.each(function () {
- var g = d3.select(this);
- var scale0 = this.__chart__ || scale, scale1 = this.__chart__ = scale.copy();
- var ticks = tickValues == null ? scale1.ticks ? scale1.ticks.apply(scale1, tickArguments_) : scale1.domain() : tickValues, tickFormat = tickFormat_ == null ? scale1.tickFormat ? scale1.tickFormat.apply(scale1, tickArguments_) : d3_identity : tickFormat_, tick = g.selectAll(".tick").data(ticks, scale1), tickEnter = tick.enter().insert("g", ".domain").attr("class", "tick").style("opacity", ε), tickExit = d3.transition(tick.exit()).style("opacity", ε).remove(), tickUpdate = d3.transition(tick.order()).style("opacity", 1), tickTransform;
- var range = d3_scaleRange(scale1), path = g.selectAll(".domain").data([0]), pathUpdate = (path.enter().append("path").attr("class", "domain"),
- d3.transition(path));
- tickEnter.append("line");
- tickEnter.append("text");
- var lineEnter = tickEnter.select("line"), lineUpdate = tickUpdate.select("line"), text = tick.select("text").text(tickFormat), textEnter = tickEnter.select("text"), textUpdate = tickUpdate.select("text");
- switch (orient) {
- case "bottom":
- {
- tickTransform = d3_svg_axisX;
- lineEnter.attr("y2", innerTickSize);
- textEnter.attr("y", Math.max(innerTickSize, 0) + tickPadding);
- lineUpdate.attr("x2", 0).attr("y2", innerTickSize);
- textUpdate.attr("x", 0).attr("y", Math.max(innerTickSize, 0) + tickPadding);
- text.attr("dy", ".71em").style("text-anchor", "middle");
- pathUpdate.attr("d", "M" + range[0] + "," + outerTickSize + "V0H" + range[1] + "V" + outerTickSize);
- break;
- }
-
- case "top":
- {
- tickTransform = d3_svg_axisX;
- lineEnter.attr("y2", -innerTickSize);
- textEnter.attr("y", -(Math.max(innerTickSize, 0) + tickPadding));
- lineUpdate.attr("x2", 0).attr("y2", -innerTickSize);
- textUpdate.attr("x", 0).attr("y", -(Math.max(innerTickSize, 0) + tickPadding));
- text.attr("dy", "0em").style("text-anchor", "middle");
- pathUpdate.attr("d", "M" + range[0] + "," + -outerTickSize + "V0H" + range[1] + "V" + -outerTickSize);
- break;
- }
-
- case "left":
- {
- tickTransform = d3_svg_axisY;
- lineEnter.attr("x2", -innerTickSize);
- textEnter.attr("x", -(Math.max(innerTickSize, 0) + tickPadding));
- lineUpdate.attr("x2", -innerTickSize).attr("y2", 0);
- textUpdate.attr("x", -(Math.max(innerTickSize, 0) + tickPadding)).attr("y", 0);
- text.attr("dy", ".32em").style("text-anchor", "end");
- pathUpdate.attr("d", "M" + -outerTickSize + "," + range[0] + "H0V" + range[1] + "H" + -outerTickSize);
- break;
- }
-
- case "right":
- {
- tickTransform = d3_svg_axisY;
- lineEnter.attr("x2", innerTickSize);
- textEnter.attr("x", Math.max(innerTickSize, 0) + tickPadding);
- lineUpdate.attr("x2", innerTickSize).attr("y2", 0);
- textUpdate.attr("x", Math.max(innerTickSize, 0) + tickPadding).attr("y", 0);
- text.attr("dy", ".32em").style("text-anchor", "start");
- pathUpdate.attr("d", "M" + outerTickSize + "," + range[0] + "H0V" + range[1] + "H" + outerTickSize);
- break;
- }
- }
- if (scale1.rangeBand) {
- var x = scale1, dx = x.rangeBand() / 2;
- scale0 = scale1 = function (d) {
- return x(d) + dx;
- };
- } else if (scale0.rangeBand) {
- scale0 = scale1;
- } else {
- tickExit.call(tickTransform, scale1);
- }
- tickEnter.call(tickTransform, scale0);
- tickUpdate.call(tickTransform, scale1);
- });
- }
-
- axis.scale = function (x) {
- if (!arguments.length) return scale;
- scale = x;
- return axis;
- };
- axis.orient = function (x) {
- if (!arguments.length) return orient;
- orient = x in d3_svg_axisOrients ? x + "" : d3_svg_axisDefaultOrient;
- return axis;
- };
- axis.ticks = function () {
- if (!arguments.length) return tickArguments_;
- tickArguments_ = arguments;
- return axis;
- };
- axis.tickValues = function (x) {
- if (!arguments.length) return tickValues;
- tickValues = x;
- return axis;
- };
- axis.tickFormat = function (x) {
- if (!arguments.length) return tickFormat_;
- tickFormat_ = x;
- return axis;
- };
- axis.tickSize = function (x) {
- var n = arguments.length;
- if (!n) return innerTickSize;
- innerTickSize = +x;
- outerTickSize = +arguments[n - 1];
- return axis;
- };
- axis.innerTickSize = function (x) {
- if (!arguments.length) return innerTickSize;
- innerTickSize = +x;
- return axis;
- };
- axis.outerTickSize = function (x) {
- if (!arguments.length) return outerTickSize;
- outerTickSize = +x;
- return axis;
- };
- axis.tickPadding = function (x) {
- if (!arguments.length) return tickPadding;
- tickPadding = +x;
- return axis;
- };
- axis.tickSubdivide = function () {
- return arguments.length && axis;
- };
- return axis;
- };
- var d3_svg_axisDefaultOrient = "bottom", d3_svg_axisOrients = {
- top: 1,
- right: 1,
- bottom: 1,
- left: 1
- };
-
- function d3_svg_axisX(selection, x) {
- selection.attr("transform", function (d) {
- return "translate(" + x(d) + ",0)";
- });
- }
-
- function d3_svg_axisY(selection, y) {
- selection.attr("transform", function (d) {
- return "translate(0," + y(d) + ")";
- });
- }
-
- d3.svg.brush = function () {
- var event = d3_eventDispatch(brush, "brushstart", "brush", "brushend"), x = null, y = null, xExtent = [0, 0], yExtent = [0, 0], xExtentDomain, yExtentDomain, xClamp = true, yClamp = true, resizes = d3_svg_brushResizes[0];
-
- function brush(g) {
- g.each(function () {
- var g = d3.select(this).style("pointer-events", "all").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)").on("mousedown.brush", brushstart).on("touchstart.brush", brushstart);
- var background = g.selectAll(".background").data([0]);
- background.enter().append("rect").attr("class", "background").style("visibility", "hidden").style("cursor", "crosshair");
- g.selectAll(".extent").data([0]).enter().append("rect").attr("class", "extent").style("cursor", "move");
- var resize = g.selectAll(".resize").data(resizes, d3_identity);
- resize.exit().remove();
- resize.enter().append("g").attr("class", function (d) {
- return "resize " + d;
- }).style("cursor", function (d) {
- return d3_svg_brushCursor[d];
- }).append("rect").attr("x", function (d) {
- return /[ew]$/.test(d) ? -3 : null;
- }).attr("y", function (d) {
- return /^[ns]/.test(d) ? -3 : null;
- }).attr("width", 6).attr("height", 6).style("visibility", "hidden");
- resize.style("display", brush.empty() ? "none" : null);
- var gUpdate = d3.transition(g), backgroundUpdate = d3.transition(background), range;
- if (x) {
- range = d3_scaleRange(x);
- backgroundUpdate.attr("x", range[0]).attr("width", range[1] - range[0]);
- redrawX(gUpdate);
- }
- if (y) {
- range = d3_scaleRange(y);
- backgroundUpdate.attr("y", range[0]).attr("height", range[1] - range[0]);
- redrawY(gUpdate);
- }
- redraw(gUpdate);
- });
- }
-
- brush.event = function (g) {
- g.each(function () {
- var event_ = event.of(this, arguments), extent1 = {
- x: xExtent,
- y: yExtent,
- i: xExtentDomain,
- j: yExtentDomain
- }, extent0 = this.__chart__ || extent1;
- this.__chart__ = extent1;
- if (d3_transitionInheritId) {
- d3.select(this).transition().each("start.brush", function () {
- xExtentDomain = extent0.i;
- yExtentDomain = extent0.j;
- xExtent = extent0.x;
- yExtent = extent0.y;
- event_({
- type: "brushstart"
- });
- }).tween("brush:brush", function () {
- var xi = d3_interpolateArray(xExtent, extent1.x), yi = d3_interpolateArray(yExtent, extent1.y);
- xExtentDomain = yExtentDomain = null;
- return function (t) {
- xExtent = extent1.x = xi(t);
- yExtent = extent1.y = yi(t);
- event_({
- type: "brush",
- mode: "resize"
- });
- };
- }).each("end.brush", function () {
- xExtentDomain = extent1.i;
- yExtentDomain = extent1.j;
- event_({
- type: "brush",
- mode: "resize"
- });
- event_({
- type: "brushend"
- });
- });
- } else {
- event_({
- type: "brushstart"
- });
- event_({
- type: "brush",
- mode: "resize"
- });
- event_({
- type: "brushend"
- });
- }
- });
- };
- function redraw(g) {
- g.selectAll(".resize").attr("transform", function (d) {
- return "translate(" + xExtent[+/e$/.test(d)] + "," + yExtent[+/^s/.test(d)] + ")";
- });
- }
-
- function redrawX(g) {
- g.select(".extent").attr("x", xExtent[0]);
- g.selectAll(".extent,.n>rect,.s>rect").attr("width", xExtent[1] - xExtent[0]);
- }
-
- function redrawY(g) {
- g.select(".extent").attr("y", yExtent[0]);
- g.selectAll(".extent,.e>rect,.w>rect").attr("height", yExtent[1] - yExtent[0]);
- }
-
- function brushstart() {
- var target = this, eventTarget = d3.select(d3.event.target), event_ = event.of(target, arguments), g = d3.select(target), resizing = eventTarget.datum(), resizingX = !/^(n|s)$/.test(resizing) && x, resizingY = !/^(e|w)$/.test(resizing) && y, dragging = eventTarget.classed("extent"), dragRestore = d3_event_dragSuppress(), center, origin = d3.mouse(target), offset;
- var w = d3.select(d3_window).on("keydown.brush", keydown).on("keyup.brush", keyup);
- if (d3.event.changedTouches) {
- w.on("touchmove.brush", brushmove).on("touchend.brush", brushend);
- } else {
- w.on("mousemove.brush", brushmove).on("mouseup.brush", brushend);
- }
- g.interrupt().selectAll("*").interrupt();
- if (dragging) {
- origin[0] = xExtent[0] - origin[0];
- origin[1] = yExtent[0] - origin[1];
- } else if (resizing) {
- var ex = +/w$/.test(resizing), ey = +/^n/.test(resizing);
- offset = [xExtent[1 - ex] - origin[0], yExtent[1 - ey] - origin[1]];
- origin[0] = xExtent[ex];
- origin[1] = yExtent[ey];
- } else if (d3.event.altKey) center = origin.slice();
- g.style("pointer-events", "none").selectAll(".resize").style("display", null);
- d3.select("body").style("cursor", eventTarget.style("cursor"));
- event_({
- type: "brushstart"
- });
- brushmove();
- function keydown() {
- if (d3.event.keyCode == 32) {
- if (!dragging) {
- center = null;
- origin[0] -= xExtent[1];
- origin[1] -= yExtent[1];
- dragging = 2;
- }
- d3_eventPreventDefault();
- }
- }
-
- function keyup() {
- if (d3.event.keyCode == 32 && dragging == 2) {
- origin[0] += xExtent[1];
- origin[1] += yExtent[1];
- dragging = 0;
- d3_eventPreventDefault();
- }
- }
-
- function brushmove() {
- var point = d3.mouse(target), moved = false;
- if (offset) {
- point[0] += offset[0];
- point[1] += offset[1];
- }
- if (!dragging) {
- if (d3.event.altKey) {
- if (!center) center = [(xExtent[0] + xExtent[1]) / 2, (yExtent[0] + yExtent[1]) / 2];
- origin[0] = xExtent[+(point[0] < center[0])];
- origin[1] = yExtent[+(point[1] < center[1])];
- } else center = null;
- }
- if (resizingX && move1(point, x, 0)) {
- redrawX(g);
- moved = true;
- }
- if (resizingY && move1(point, y, 1)) {
- redrawY(g);
- moved = true;
- }
- if (moved) {
- redraw(g);
- event_({
- type: "brush",
- mode: dragging ? "move" : "resize"
- });
- }
- }
-
- function move1(point, scale, i) {
- var range = d3_scaleRange(scale), r0 = range[0], r1 = range[1], position = origin[i], extent = i ? yExtent : xExtent, size = extent[1] - extent[0], min, max;
- if (dragging) {
- r0 -= position;
- r1 -= size + position;
- }
- min = (i ? yClamp : xClamp) ? Math.max(r0, Math.min(r1, point[i])) : point[i];
- if (dragging) {
- max = (min += position) + size;
- } else {
- if (center) position = Math.max(r0, Math.min(r1, 2 * center[i] - min));
- if (position < min) {
- max = min;
- min = position;
- } else {
- max = position;
- }
- }
- if (extent[0] != min || extent[1] != max) {
- if (i) yExtentDomain = null; else xExtentDomain = null;
- extent[0] = min;
- extent[1] = max;
- return true;
- }
- }
-
- function brushend() {
- brushmove();
- g.style("pointer-events", "all").selectAll(".resize").style("display", brush.empty() ? "none" : null);
- d3.select("body").style("cursor", null);
- w.on("mousemove.brush", null).on("mouseup.brush", null).on("touchmove.brush", null).on("touchend.brush", null).on("keydown.brush", null).on("keyup.brush", null);
- dragRestore();
- event_({
- type: "brushend"
- });
- }
- }
-
- brush.x = function (z) {
- if (!arguments.length) return x;
- x = z;
- resizes = d3_svg_brushResizes[!x << 1 | !y];
- return brush;
- };
- brush.y = function (z) {
- if (!arguments.length) return y;
- y = z;
- resizes = d3_svg_brushResizes[!x << 1 | !y];
- return brush;
- };
- brush.clamp = function (z) {
- if (!arguments.length) return x && y ? [xClamp, yClamp] : x ? xClamp : y ? yClamp : null;
- if (x && y) xClamp = !!z[0], yClamp = !!z[1]; else if (x) xClamp = !!z; else if (y) yClamp = !!z;
- return brush;
- };
- brush.extent = function (z) {
- var x0, x1, y0, y1, t;
- if (!arguments.length) {
- if (x) {
- if (xExtentDomain) {
- x0 = xExtentDomain[0], x1 = xExtentDomain[1];
- } else {
- x0 = xExtent[0], x1 = xExtent[1];
- if (x.invert) x0 = x.invert(x0), x1 = x.invert(x1);
- if (x1 < x0) t = x0, x0 = x1, x1 = t;
- }
- }
- if (y) {
- if (yExtentDomain) {
- y0 = yExtentDomain[0], y1 = yExtentDomain[1];
- } else {
- y0 = yExtent[0], y1 = yExtent[1];
- if (y.invert) y0 = y.invert(y0), y1 = y.invert(y1);
- if (y1 < y0) t = y0, y0 = y1, y1 = t;
- }
- }
- return x && y ? [[x0, y0], [x1, y1]] : x ? [x0, x1] : y && [y0, y1];
- }
- if (x) {
- x0 = z[0], x1 = z[1];
- if (y) x0 = x0[0], x1 = x1[0];
- xExtentDomain = [x0, x1];
- if (x.invert) x0 = x(x0), x1 = x(x1);
- if (x1 < x0) t = x0, x0 = x1, x1 = t;
- if (x0 != xExtent[0] || x1 != xExtent[1]) xExtent = [x0, x1];
- }
- if (y) {
- y0 = z[0], y1 = z[1];
- if (x) y0 = y0[1], y1 = y1[1];
- yExtentDomain = [y0, y1];
- if (y.invert) y0 = y(y0), y1 = y(y1);
- if (y1 < y0) t = y0, y0 = y1, y1 = t;
- if (y0 != yExtent[0] || y1 != yExtent[1]) yExtent = [y0, y1];
- }
- return brush;
- };
- brush.clear = function () {
- if (!brush.empty()) {
- xExtent = [0, 0], yExtent = [0, 0];
- xExtentDomain = yExtentDomain = null;
- }
- return brush;
- };
- brush.empty = function () {
- return !!x && xExtent[0] == xExtent[1] || !!y && yExtent[0] == yExtent[1];
- };
- return d3.rebind(brush, event, "on");
- };
- var d3_svg_brushCursor = {
- n: "ns-resize",
- e: "ew-resize",
- s: "ns-resize",
- w: "ew-resize",
- nw: "nwse-resize",
- ne: "nesw-resize",
- se: "nwse-resize",
- sw: "nesw-resize"
- };
- var d3_svg_brushResizes = [["n", "e", "s", "w", "nw", "ne", "se", "sw"], ["e", "w"], ["n", "s"], []];
- var d3_time_format = d3_time.format = d3_locale_enUS.timeFormat;
- var d3_time_formatUtc = d3_time_format.utc;
- var d3_time_formatIso = d3_time_formatUtc("%Y-%m-%dT%H:%M:%S.%LZ");
- d3_time_format.iso = Date.prototype.toISOString && +new Date("2000-01-01T00:00:00.000Z") ? d3_time_formatIsoNative : d3_time_formatIso;
- function d3_time_formatIsoNative(date) {
- return date.toISOString();
- }
-
- d3_time_formatIsoNative.parse = function (string) {
- var date = new Date(string);
- return isNaN(date) ? null : date;
- };
- d3_time_formatIsoNative.toString = d3_time_formatIso.toString;
- d3_time.second = d3_time_interval(function (date) {
- return new d3_date(Math.floor(date / 1e3) * 1e3);
- }, function (date, offset) {
- date.setTime(date.getTime() + Math.floor(offset) * 1e3);
- }, function (date) {
- return date.getSeconds();
- });
- d3_time.seconds = d3_time.second.range;
- d3_time.seconds.utc = d3_time.second.utc.range;
- d3_time.minute = d3_time_interval(function (date) {
- return new d3_date(Math.floor(date / 6e4) * 6e4);
- }, function (date, offset) {
- date.setTime(date.getTime() + Math.floor(offset) * 6e4);
- }, function (date) {
- return date.getMinutes();
- });
- d3_time.minutes = d3_time.minute.range;
- d3_time.minutes.utc = d3_time.minute.utc.range;
- d3_time.hour = d3_time_interval(function (date) {
- var timezone = date.getTimezoneOffset() / 60;
- return new d3_date((Math.floor(date / 36e5 - timezone) + timezone) * 36e5);
- }, function (date, offset) {
- date.setTime(date.getTime() + Math.floor(offset) * 36e5);
- }, function (date) {
- return date.getHours();
- });
- d3_time.hours = d3_time.hour.range;
- d3_time.hours.utc = d3_time.hour.utc.range;
- d3_time.month = d3_time_interval(function (date) {
- date = d3_time.day(date);
- date.setDate(1);
- return date;
- }, function (date, offset) {
- date.setMonth(date.getMonth() + offset);
- }, function (date) {
- return date.getMonth();
- });
- d3_time.months = d3_time.month.range;
- d3_time.months.utc = d3_time.month.utc.range;
- function d3_time_scale(linear, methods, format) {
- function scale(x) {
- return linear(x);
- }
-
- scale.invert = function (x) {
- return d3_time_scaleDate(linear.invert(x));
- };
- scale.domain = function (x) {
- if (!arguments.length) return linear.domain().map(d3_time_scaleDate);
- linear.domain(x);
- return scale;
- };
- function tickMethod(extent, count) {
- var span = extent[1] - extent[0], target = span / count, i = d3.bisect(d3_time_scaleSteps, target);
- return i == d3_time_scaleSteps.length ? [methods.year, d3_scale_linearTickRange(extent.map(function (d) {
- return d / 31536e6;
- }), count)[2]] : !i ? [d3_time_scaleMilliseconds, d3_scale_linearTickRange(extent, count)[2]] : methods[target / d3_time_scaleSteps[i - 1] < d3_time_scaleSteps[i] / target ? i - 1 : i];
- }
-
- scale.nice = function (interval, skip) {
- var domain = scale.domain(), extent = d3_scaleExtent(domain), method = interval == null ? tickMethod(extent, 10) : typeof interval === "number" && tickMethod(extent, interval);
- if (method) interval = method[0], skip = method[1];
- function skipped(date) {
- return !isNaN(date) && !interval.range(date, d3_time_scaleDate(+date + 1), skip).length;
- }
-
- return scale.domain(d3_scale_nice(domain, skip > 1 ? {
- floor: function (date) {
- while (skipped(date = interval.floor(date))) date = d3_time_scaleDate(date - 1);
- return date;
- },
- ceil: function (date) {
- while (skipped(date = interval.ceil(date))) date = d3_time_scaleDate(+date + 1);
- return date;
- }
- } : interval));
- };
- scale.ticks = function (interval, skip) {
- var extent = d3_scaleExtent(scale.domain()), method = interval == null ? tickMethod(extent, 10) : typeof interval === "number" ? tickMethod(extent, interval) : !interval.range && [{
- range: interval
- }, skip];
- if (method) interval = method[0], skip = method[1];
- return interval.range(extent[0], d3_time_scaleDate(+extent[1] + 1), skip < 1 ? 1 : skip);
- };
- scale.tickFormat = function () {
- return format;
- };
- scale.copy = function () {
- return d3_time_scale(linear.copy(), methods, format);
- };
- return d3_scale_linearRebind(scale, linear);
- }
-
- function d3_time_scaleDate(t) {
- return new Date(t);
- }
-
- var d3_time_scaleSteps = [1e3, 5e3, 15e3, 3e4, 6e4, 3e5, 9e5, 18e5, 36e5, 108e5, 216e5, 432e5, 864e5, 1728e5, 6048e5, 2592e6, 7776e6, 31536e6];
- var d3_time_scaleLocalMethods = [[d3_time.second, 1], [d3_time.second, 5], [d3_time.second, 15], [d3_time.second, 30], [d3_time.minute, 1], [d3_time.minute, 5], [d3_time.minute, 15], [d3_time.minute, 30], [d3_time.hour, 1], [d3_time.hour, 3], [d3_time.hour, 6], [d3_time.hour, 12], [d3_time.day, 1], [d3_time.day, 2], [d3_time.week, 1], [d3_time.month, 1], [d3_time.month, 3], [d3_time.year, 1]];
- var d3_time_scaleLocalFormat = d3_time_format.multi([[".%L", function (d) {
- return d.getMilliseconds();
- }], [":%S", function (d) {
- return d.getSeconds();
- }], ["%I:%M", function (d) {
- return d.getMinutes();
- }], ["%I %p", function (d) {
- return d.getHours();
- }], ["%a %d", function (d) {
- return d.getDay() && d.getDate() != 1;
- }], ["%b %d", function (d) {
- return d.getDate() != 1;
- }], ["%B", function (d) {
- return d.getMonth();
- }], ["%Y", d3_true]]);
- var d3_time_scaleMilliseconds = {
- range: function (start, stop, step) {
- return d3.range(Math.ceil(start / step) * step, +stop, step).map(d3_time_scaleDate);
- },
- floor: d3_identity,
- ceil: d3_identity
- };
- d3_time_scaleLocalMethods.year = d3_time.year;
- d3_time.scale = function () {
- return d3_time_scale(d3.scale.linear(), d3_time_scaleLocalMethods, d3_time_scaleLocalFormat);
- };
- var d3_time_scaleUtcMethods = d3_time_scaleLocalMethods.map(function (m) {
- return [m[0].utc, m[1]];
- });
- var d3_time_scaleUtcFormat = d3_time_formatUtc.multi([[".%L", function (d) {
- return d.getUTCMilliseconds();
- }], [":%S", function (d) {
- return d.getUTCSeconds();
- }], ["%I:%M", function (d) {
- return d.getUTCMinutes();
- }], ["%I %p", function (d) {
- return d.getUTCHours();
- }], ["%a %d", function (d) {
- return d.getUTCDay() && d.getUTCDate() != 1;
- }], ["%b %d", function (d) {
- return d.getUTCDate() != 1;
- }], ["%B", function (d) {
- return d.getUTCMonth();
- }], ["%Y", d3_true]]);
- d3_time_scaleUtcMethods.year = d3_time.year.utc;
- d3_time.scale.utc = function () {
- return d3_time_scale(d3.scale.linear(), d3_time_scaleUtcMethods, d3_time_scaleUtcFormat);
- };
- d3.text = d3_xhrType(function (request) {
- return request.responseText;
- });
- d3.json = function (url, callback) {
- return d3_xhr(url, "application/json", d3_json, callback);
- };
- function d3_json(request) {
- return JSON.parse(request.responseText);
- }
-
- d3.html = function (url, callback) {
- return d3_xhr(url, "text/html", d3_html, callback);
- };
- function d3_html(request) {
- var range = d3_document.createRange();
- range.selectNode(d3_document.body);
- return range.createContextualFragment(request.responseText);
- }
-
- d3.xml = d3_xhrType(function (request) {
- return request.responseXML;
- });
- if (typeof define === "function" && define.amd) define(d3); else if (typeof module === "object" && module.exports) module.exports = d3;
- this.d3 = d3;
-}(); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/facebox.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/facebox.js
deleted file mode 100644
index 69443cc7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/facebox.js
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * Facebox (for jQuery)
- * version: 1.3
- * @requires jQuery v1.2 or later
- * @homepage https://github.com/defunkt/facebox
- *
- * Licensed under the MIT:
- * http://www.opensource.org/licenses/mit-license.php
- *
- * Copyright Forever Chris Wanstrath, Kyle Neath
- *
- * Usage:
- *
- * jQuery(document).ready(function() {
- * jQuery('a[rel*=facebox]').facebox()
- * })
- *
- * <a href="#terms" rel="facebox">Terms</a>
- * Loads the #terms div in the box
- *
- * <a href="terms.html" rel="facebox">Terms</a>
- * Loads the terms.html page in the box
- *
- * <a href="terms.png" rel="facebox">Terms</a>
- * Loads the terms.png image in the box
- *
- *
- * You can also use it programmatically:
- *
- * jQuery.facebox('some html')
- * jQuery.facebox('some html', 'my-groovy-style')
- *
- * The above will open a facebox with "some html" as the content.
- *
- * jQuery.facebox(function($) {
- * $.get('blah.html', function(data) { $.facebox(data) })
- * })
- *
- * The above will show a loading screen before the passed function is called,
- * allowing for a better ajaxy experience.
- *
- * The facebox function can also display an ajax page, an image, or the contents of a div:
- *
- * jQuery.facebox({ ajax: 'remote.html' })
- * jQuery.facebox({ ajax: 'remote.html' }, 'my-groovy-style')
- * jQuery.facebox({ image: 'stairs.jpg' })
- * jQuery.facebox({ image: 'stairs.jpg' }, 'my-groovy-style')
- * jQuery.facebox({ div: '#box' })
- * jQuery.facebox({ div: '#box' }, 'my-groovy-style')
- *
- * Want to close the facebox? Trigger the 'close.facebox' document event:
- *
- * jQuery(document).trigger('close.facebox')
- *
- * Facebox also has a bunch of other hooks:
- *
- * loading.facebox
- * beforeReveal.facebox
- * reveal.facebox (aliased as 'afterReveal.facebox')
- * init.facebox
- * afterClose.facebox
- *
- * Simply bind a function to any of these hooks:
- *
- * $(document).bind('reveal.facebox', function() { ...stuff to do after the facebox and contents are revealed... })
- *
- */
-(function ($) {
- /*
- function cloneCanvas(oldCanvas) {
-
- //create a new canvas
- var newCanvas = document.createElement('canvas');
- var context = newCanvas.getContext('2d');
-
- //set dimensions
- newCanvas.width = oldCanvas.width;
- newCanvas.height = oldCanvas.height;
-
- //apply the old canvas to the new one
- context.drawImage(oldCanvas, 0, 0);
-
- //return the new canvas
- return newCanvas;
- }
- */
- $.facebox = function (data, klass) {
- $.facebox.loading(data.settings || [])
-
- if (data.ajax) fillFaceboxFromAjax(data.ajax, klass)
- else if (data.image) fillFaceboxFromImage(data.image, klass)
- else if (data.div) fillFaceboxFromHref(data.div, klass)
- else if ($.isFunction(data)) data.call($)
- else $.facebox.reveal(data, klass)
- }
-
- /*
- * Public, $.facebox methods
- */
-
- $.extend($.facebox, {
- settings: {
- opacity: 0.2,
- overlay: true,
- loadingImage: '/facebox/loading.gif',
- closeImage: '/facebox/closelabel.png',
- imageTypes: ['png', 'jpg', 'jpeg', 'gif'],
- faceboxHtml: '\
- <div id="facebox" style="display:none;"> \
- <div class="popup"> \
- <div class="content"> \
- </div> \
- <a href="#" class="close"></a> \
- </div> \
- </div>'
- },
-
- loading: function () {
- init()
- if ($('#facebox .loading').length == 1) return true
- showOverlay()
-
- $('#facebox .content').empty().
- append('<div class="loading"><img src="' + $.facebox.settings.loadingImage + '"/></div>')
-
- $('#facebox').show().css({
- top: getPageScroll()[1] + (getPageHeight() / 10),
- left: $(window).width() / 2 - ($('#facebox .popup').outerWidth() / 2)
- })
-
- $(document).bind('keydown.facebox', function (e) {
- if (e.keyCode == 27) $.facebox.close()
- return true
- })
- $(document).trigger('loading.facebox')
- },
-
- flotPlaceholderId: "",
- //flotRedrawCallbackId: "",
- flotRedrawCallback: {},
- flotRedrawCallbackObjs: {},
-
- isExpand: function (placeholderFlotId) {
- if (placeholderFlotId.indexOf("_expand") >= 0) {
- return true;
- } else {
- return false;
- }
- },
-
- clearContent: function (placeholderId) {
- $('#facebox .content').empty().append('<div id="' + placeholderId + '_expand" class="flot-placeholder-expand">')
- },
-
- createChartExpand: function (callback) {
- $.facebox.clearContent(this.flotPlaceholderId);
- callback(this.flotPlaceholderId + "_expand");
- },
-
- createChartExpandObj: function (callbackObj) {
- $.facebox.clearContent(this.flotPlaceholderId);
- //callback(this.flotPlaceholderId + "_expand");
- var args = callbackObj.arguments;
- if (args.length > 0) {
- args[0] = this.flotPlaceholderId + "_expand";
- callbackObj.callback.apply(null, args);
- }
- },
-
- reveal: function (data, klass) {
- $(document).trigger('beforeReveal.facebox')
- if (klass) $('#facebox .content').addClass(klass)
- //$('#facebox .content').empty().append(data)
- /////////////////////////////////////////////
- //this.createChartExpand(this.flotRedrawCallback[this.flotPlaceholderId]);
- this.createChartExpandObj(this.flotRedrawCallbackObjs[this.flotPlaceholderId]);
- //////////////////////////////////////////////////////////////////////
- $('#facebox .popup').children().fadeIn('normal')
- $('#facebox').css('left', $(window).width() / 2 - ($('#facebox .popup').outerWidth() / 2))
- $(document).trigger('reveal.facebox').trigger('afterReveal.facebox')
- },
-
- close: function () {
- $(document).trigger('close.facebox')
- return false
- }
- })
-
- /*
- * Public, $.fn methods
- */
-
- $.fn.facebox = function (settings) {
- if ($(this).length == 0) return
-
- init(settings)
-
- function clickHandler() {
- $.facebox.loading(true)
-
- // support for rel="facebox.inline_popup" syntax, to add a class
- // also supports deprecated "facebox[.inline_popup]" syntax
- var klass = this.rel.match(/facebox\[?\.(\w+)\]?/)
- if (klass) klass = klass[1]
-
- fillFaceboxFromHref(this.href, klass)
- return false
- }
-
- return this.bind('click.facebox', clickHandler)
- }
-
- /*
- * Private methods
- */
-
- // called one time to setup facebox on this page
- function init(settings) {
- if ($.facebox.settings.inited) return true
- else $.facebox.settings.inited = true
-
- $(document).trigger('init.facebox')
- makeCompatible()
-
- var imageTypes = $.facebox.settings.imageTypes.join('|')
- $.facebox.settings.imageTypesRegexp = new RegExp('\\.(' + imageTypes + ')(\\?.*)?$', 'i')
-
- if (settings) $.extend($.facebox.settings, settings)
- $('body').append($.facebox.settings.faceboxHtml)
-
- var preload = [new Image(), new Image()]
- preload[0].src = $.facebox.settings.closeImage
- preload[1].src = $.facebox.settings.loadingImage
-
- $('#facebox').find('.b:first, .bl').each(function () {
- preload.push(new Image())
- preload.slice(-1).src = $(this).css('background-image').replace(/url\((.+)\)/, '$1')
- })
-
- $('#facebox .close')
- .click($.facebox.close)
- .append('<img src="'
- + $.facebox.settings.closeImage
- + '" class="close_image" title="close">')
-
- //$('#facebox .content').addClass('contentWide')
- }
-
- // getPageScroll() by quirksmode.com
- function getPageScroll() {
- var xScroll, yScroll;
- if (self.pageYOffset) {
- yScroll = self.pageYOffset;
- xScroll = self.pageXOffset;
- } else if (document.documentElement && document.documentElement.scrollTop) { // Explorer 6 Strict
- yScroll = document.documentElement.scrollTop;
- xScroll = document.documentElement.scrollLeft;
- } else if (document.body) {// all other Explorers
- yScroll = document.body.scrollTop;
- xScroll = document.body.scrollLeft;
- }
- return new Array(xScroll, yScroll)
- }
-
- // Adapted from getPageSize() by quirksmode.com
- function getPageHeight() {
- var windowHeight
- if (self.innerHeight) { // all except Explorer
- windowHeight = self.innerHeight;
- } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
- windowHeight = document.documentElement.clientHeight;
- } else if (document.body) { // other Explorers
- windowHeight = document.body.clientHeight;
- }
- return windowHeight
- }
-
- // Backwards compatibility
- function makeCompatible() {
- var $s = $.facebox.settings
-
- $s.loadingImage = $s.loading_image || $s.loadingImage
- $s.closeImage = $s.close_image || $s.closeImage
- $s.imageTypes = $s.image_types || $s.imageTypes
- $s.faceboxHtml = $s.facebox_html || $s.faceboxHtml
- }
-
- // Figures out what you want to display and displays it
- // formats are:
- // div: #id
- // image: blah.extension
- // ajax: anything else
- function fillFaceboxFromHref(href, klass) {
- // div
- if (href.match(/#/)) {
- var url = window.location.href.split('#')[0]
- var target = href.replace(url, '')
- if (target == '#') return
- //选择需要放大的图
- $.facebox.flotPlaceholderId = $(target).attr("flot_id");
- //$.facebox.flotRedrawCallbackId = $(target).attr("callback_id");
- if ($(target).hasClass("flot-placeholder-wrapper-portlet-wide")) {
- $('#facebox .content').addClass('contentWide');
- }
-
- $.facebox.reveal($(target).html(), klass)
-
- // image
- } else if (href.match($.facebox.settings.imageTypesRegexp)) {
- fillFaceboxFromImage(href, klass)
- // ajax
- } else {
- fillFaceboxFromAjax(href, klass)
- }
- }
-
- function fillFaceboxFromImage(href, klass) {
- var image = new Image()
- image.onload = function () {
- $.facebox.reveal('<div class="image"><img src="' + image.src + '" /></div>', klass)
- }
- image.src = href
- }
-
- function fillFaceboxFromAjax(href, klass) {
- $.facebox.jqxhr = $.get(href, function (data) {
- $.facebox.reveal(data, klass)
- })
- }
-
- function skipOverlay() {
- return $.facebox.settings.overlay == false || $.facebox.settings.opacity === null
- }
-
- function showOverlay() {
- if (skipOverlay()) return
-
- if ($('#facebox_overlay').length == 0)
- $("body").append('<div id="facebox_overlay" class="facebox_hide"></div>')
-
- $('#facebox_overlay').hide().addClass("facebox_overlayBG")
- .css('opacity', $.facebox.settings.opacity)
- .click(function () {
- $(document).trigger('close.facebox')
- })
- .fadeIn(200)
- return false
- }
-
- function hideOverlay() {
- if (skipOverlay()) return
-
- $('#facebox_overlay').fadeOut(200, function () {
- $("#facebox_overlay").removeClass("facebox_overlayBG")
- $("#facebox_overlay").addClass("facebox_hide")
- $("#facebox_overlay").remove()
- })
-
- return false
- }
-
- /*
- * Bindings
- */
-
- $(document).bind('close.facebox', function () {
- if ($.facebox.jqxhr) {
- $.facebox.jqxhr.abort()
- $.facebox.jqxhr = null
- }
- $(document).unbind('keydown.facebox')
- $('#facebox').fadeOut(function () {
- $('#facebox .content').removeClass().addClass('content')
- $('#facebox .loading').remove()
- $(document).trigger('afterClose.facebox')
- })
- hideOverlay()
- })
-
-})(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/freewall.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/freewall.js
deleted file mode 100644
index d84c334e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-dashboard/js/freewall.js
+++ /dev/null
@@ -1,1317 +0,0 @@
-// created by Minh Nguyen;
-// version 1.05;
-
-(function ($) {
-
- // for zeptojs;
- $.isNumeric == null && ($.isNumeric = function (src) {
- return src != null && src.constructor === Number;
- });
-
- $.isFunction == null && ($.isFunction = function (src) {
- return src != null && src instanceof Function;
- });
-
- var $W = $(window);
- var $D = $(document);
-
- var layoutManager = {
- // default setting;
- defaultConfig: {
- animate: false,
- cellW: 100, // function(container) {return 100;}
- cellH: 100, // function(container) {return 100;}
- delay: 0, // slowdown active block;
- engine: 'giot', // 'giot' is a person name;
- fixSize: null, // resize + adjust = fill gap;
- //fixSize: 0, resize but keep ratio = no fill gap;
- //fixSize: 1, no resize + no adjust = no fill gap;
- gutterX: 15, // width spacing between blocks;
- gutterY: 15, // height spacing between blocks;
- keepOrder: false,
- selector: '> div',
- draggable: false,
- cacheSize: true, // caches the original size of block;
- rightToLeft: false,
- bottomToTop: false,
- onGapFound: function () {
- },
- onComplete: function () {
- },
- onResize: function () {
- },
- onBlockDrag: function () {
- },
- onBlockMove: function () {
- },
- onBlockDrop: function () {
- },
- onBlockReady: function () {
- },
- onBlockFinish: function () {
- },
- onBlockActive: function () {
- },
- onBlockResize: function () {
- }
- },
- plugin: {},
- totalGrid: 1,
- transition: false,
- loadBlock: function (item, setting) {
- var runtime = setting.runtime;
- var gutterX = runtime.gutterX;
- var gutterY = runtime.gutterY;
- var cellH = runtime.cellH;
- var cellW = runtime.cellW;
- var block = null;
- var $item = $(item);
- var active = $item.data("active");
- var fixPos = $item.attr('data-position');
- var fixSize = parseInt($item.attr('data-fixSize'));
- var blockId = runtime.lastId++ + '-' + runtime.totalGrid;
-
- //ignore dragging block;
- if ($item.hasClass('fw-float')) return;
- $item.attr({id: blockId, 'data-delay': item.index});
-
- //remove animation for speed render;
- if (setting.animate && this.transition) {
- this.setTransition(item, "");
- }
-
- isNaN(fixSize) && (fixSize = null);
- (fixSize == null) && (fixSize = setting.fixSize);
- var makeRound = (fixSize >= 1) ? "ceil" : "round";
- // store original size;
-
- $item.attr('data-height') == null && $item.attr('data-height', $item.height());
- $item.attr('data-width') == null && $item.attr('data-width', $item.width());
- var height = 1 * $item.attr('data-height');
- var width = 1 * $item.attr('data-width');
-
- if (!setting.cacheSize) {
- item.style.width = "";
- width = $item.width();
-
- item.style.height = "";
- height = $item.height();
- }
-
- var col = !width ? 0 : Math[makeRound]((width + gutterX) / cellW);
- var row = !height ? 0 : Math[makeRound]((height + gutterY) / cellH);
-
- // estimate size;
- if (!fixSize && setting.cellH == 'auto') {
- $item.width(cellW * col - gutterX);
- item.style.height = "";
- height = $item.height();
- row = !height ? 0 : Math.round((height + gutterY) / cellH);
- }
-
- if (!fixSize && setting.cellW == 'auto') {
- $item.height(cellH * row - gutterY);
- item.style.width = "";
- width = $item.width();
- col = !width ? 0 : Math.round((width + gutterX) / cellW);
- }
-
- // for none resize block;
- if ((fixSize != null) && (col > runtime.limitCol || row > runtime.limitRow)) {
- block = null;
- } else {
- // get smallest width and smallest height of block;
- // using for image runtime;
- row && row < runtime.minHoB && (runtime.minHoB = row);
- col && col < runtime.minWoB && (runtime.minWoB = col);
-
- // get biggest width and biggest height of block;
- row > runtime.maxHoB && (runtime.maxHoB = row);
- col > runtime.maxWoB && (runtime.maxWoB = col);
-
- width == 0 && (col = 0);
- height == 0 && (row = 0);
-
- block = {
- resize: false,
- id: blockId,
- width: col,
- height: row,
- fixSize: fixSize
- };
-
- // for fix position;
- if (fixPos) {
- fixPos = fixPos.split("-");
- block.y = 1 * fixPos[0];
- block.x = 1 * fixPos[1];
- block.width = fixSize != null ? col : Math.min(col, runtime.limitCol - block.x);
- block.height = fixSize != null ? row : Math.min(row, runtime.limitRow - block.y);
- var holeId = block.y + "-" + block.x + "-" + block.width + "-" + block.height;
- if (active) {
- runtime.holes[holeId] = {
- id: block.id,
- top: block.y,
- left: block.x,
- width: block.width,
- height: block.height
- };
- this.setBlock(block, setting);
- } else {
- delete runtime.holes[holeId];
- }
-
- }
- }
-
- // for css animation;
- if ($item.attr("data-state") == null) {
- $item.attr("data-state", "init");
- } else {
- $item.attr("data-state", "move");
- }
-
- setting.onBlockReady.call(item, block, setting);
-
- return (fixPos && active) ? null : block;
- },
- setBlock: function (block, setting) {
- var runtime = setting.runtime;
- var gutterX = runtime.gutterX;
- var gutterY = runtime.gutterY;
- var height = block.height;
- var width = block.width;
- var cellH = runtime.cellH;
- var cellW = runtime.cellW;
- var x = block.x;
- var y = block.y;
-
- if (setting.rightToLeft) {
- x = runtime.limitCol - x - width;
- }
- if (setting.bottomToTop) {
- y = runtime.limitRow - y - height;
- }
-
- var realBlock = {
- fixSize: block.fixSize,
- resize: block.resize,
- top: y * cellH,
- left: x * cellW,
- width: cellW * width - gutterX,
- height: cellH * height - gutterY
- };
-
- realBlock.top = 1 * realBlock.top.toFixed(2);
- realBlock.left = 1 * realBlock.left.toFixed(2);
- realBlock.width = 1 * realBlock.width.toFixed(2);
- realBlock.height = 1 * realBlock.height.toFixed(2);
-
- //runtime.length += 1;
- block.id && (runtime.blocks[block.id] = realBlock);
-
- // for append feature;
- return realBlock;
- },
- showBlock: function (item, setting) {
- var runtime = setting.runtime;
- var method = setting.animate && !this.transition ? 'animate' : 'css';
- var block = runtime.blocks[item.id];
- var $item = $(item);
- var self = this;
- var start = $item.attr("data-state") != "move";
- var trans = start ? "width 0.5s, height 0.5s" : "top 0.5s, left 0.5s, width 0.5s, height 0.5s, opacity 0.5s";
-
- item.delay && clearTimeout(item.delay);
- //ignore dragging block;
- if ($item.hasClass('fw-float')) return;
-
- // kill the old transition;
- self.setTransition(item, "");
- item.style.position = "absolute";
- setting.onBlockActive.call(item, block, setting);
-
- function action() {
- // start to arrange;
- start && $item.attr("data-state", "start");
- // add animation by using css3 transition;
- if (setting.animate && self.transition) {
- self.setTransition(item, trans);
- }
-
- // for hidden block;
- if (!block) {
- //var position = $item.position(); <= make speed so slow;
- var height = parseInt(item.style.height) || 0;
- var width = parseInt(item.style.width) || 0;
- var left = parseInt(item.style.left) || 0;
- var top = parseInt(item.style.top) || 0;
- $item[method]({
- left: left + width / 2,
- top: top + height / 2,
- width: 0,
- height: 0,
- opacity: 0
- });
- } else {
- if (block.fixSize) {
- block.height = 1 * $item.attr("data-height");
- block.width = 1 * $item.attr("data-width");
- }
-
- $item["css"]({
- opacity: 1,
- width: block.width,
- height: block.height
- });
-
- // for animating by javascript;
- $item[method]({
- top: block.top,
- left: block.left
- });
-
- if ($item.attr('data-nested') != null) {
- self.nestedGrid(item, setting);
- }
- }
-
- runtime.length -= 1;
-
- setting.onBlockFinish.call(item, block, setting);
-
- runtime.length == 0 && setting.onComplete.call(item, block, setting);
- }
-
- block && block.resize && setting.onBlockResize.call(item, block, setting);
-
- setting.delay > 0 ? (item.delay = setTimeout(action, setting.delay * $item.attr("data-delay"))) : action();
- },
- nestedGrid: function (item, setting) {
- var innerWall, $item = $(item), runtime = setting.runtime;
- var gutterX = $item.attr("data-gutterX") || setting.gutterX;
- var gutterY = $item.attr("data-gutterY") || setting.gutterY;
- var method = $item.attr("data-method") || "fitZone";
- var nested = $item.attr('data-nested') || "> div";
- var cellH = $item.attr("data-cellH") || setting.cellH;
- var cellW = $item.attr("data-cellW") || setting.cellW;
- var block = runtime.blocks[item.id];
-
- if (block) {
- innerWall = new freewall($item);
- innerWall.reset({
- cellH: cellH,
- cellW: cellW,
- gutterX: 1 * gutterX,
- gutterY: 1 * gutterY,
- selector: nested,
- cacheSize: false
- });
-
- switch (method) {
- case "fitHeight":
- innerWall[method](block.height);
- break;
- case "fitWidth":
- innerWall[method](block.width);
- break;
- case "fitZone":
- innerWall[method](block.width, block.height);
- break;
- }
- }
- },
- adjustBlock: function (block, setting) {
- var runtime = setting.runtime;
- var gutterX = runtime.gutterX;
- var gutterY = runtime.gutterY;
- var $item = $("#" + block.id);
- var cellH = runtime.cellH;
- var cellW = runtime.cellW;
-
- if (setting.cellH == 'auto') {
- $item.width(block.width * cellW - gutterX);
- $item[0].style.height = "";
- block.height = Math.round(($item.height() + gutterY) / cellH);
- }
- },
- adjustUnit: function (width, height, setting) {
- var gutterX = setting.gutterX;
- var gutterY = setting.gutterY;
- var runtime = setting.runtime;
- var cellW = setting.cellW;
- var cellH = setting.cellH;
-
- $.isFunction(cellW) && (cellW = cellW(width));
- cellW = 1 * cellW;
- !$.isNumeric(cellW) && (cellW = 1);
-
- $.isFunction(cellH) && (cellH = cellH(height));
- cellH = 1 * cellH;
- !$.isNumeric(cellH) && (cellH = 1);
-
- if ($.isNumeric(width)) {
- // adjust cell width via container;
- cellW < 1 && (cellW = cellW * width);
-
- // estimate total columns;
- var limitCol = Math.max(1, Math.floor(width / cellW));
-
- // adjust unit size for fit width;
- if (!$.isNumeric(gutterX)) {
- gutterX = (width - limitCol * cellW) / Math.max(1, (limitCol - 1));
- gutterX = Math.max(0, gutterX);
- }
-
- limitCol = Math.floor((width + gutterX) / cellW);
- runtime.cellW = (width + gutterX) / Math.max(limitCol, 1);
- runtime.cellS = runtime.cellW / cellW;
- runtime.gutterX = gutterX;
- runtime.limitCol = limitCol;
- }
-
- if ($.isNumeric(height)) {
- // adjust cell height via container;
- cellH < 1 && (cellH = cellH * height);
-
- // estimate total rows;
- var limitRow = Math.max(1, Math.floor(height / cellH));
-
- // adjust size unit for fit height;
- if (!$.isNumeric(gutterY)) {
- gutterY = (height - limitRow * cellH) / Math.max(1, (limitRow - 1));
- gutterY = Math.max(0, gutterY);
- }
-
- limitRow = Math.floor((height + gutterY) / cellH);
- runtime.cellH = (height + gutterY) / Math.max(limitRow, 1);
- runtime.cellS = runtime.cellH / cellH;
- runtime.gutterY = gutterY;
- runtime.limitRow = limitRow;
- }
-
- if (!$.isNumeric(width)) {
- // adjust cell width via cell height;
- cellW < 1 && (cellW = runtime.cellH);
- runtime.cellW = cellW != 1 ? cellW * runtime.cellS : 1;
- runtime.gutterX = gutterX;
- runtime.limitCol = 666666;
- }
-
- if (!$.isNumeric(height)) {
- // adjust cell height via cell width;
- cellH < 1 && (cellH = runtime.cellW);
- runtime.cellH = cellH != 1 ? cellH * runtime.cellS : 1;
- runtime.gutterY = gutterY;
- runtime.limitRow = 666666;
- }
- },
- resetGrid: function (runtime) {
- runtime.blocks = {};
- runtime.length = 0;
- runtime.cellH = 0;
- runtime.cellW = 0;
- runtime.lastId = 1;
- runtime.matrix = {};
- runtime.totalCol = 0;
- runtime.totalRow = 0;
- },
- setDraggable: function (item, option) {
- var isTouch = false;
- var config = {
- startX: 0, //start clientX;
- startY: 0,
- top: 0,
- left: 0,
- handle: null,
- onDrop: function () {
- },
- onDrag: function () {
- },
- onStart: function () {
- }
- };
-
- $(item).each(function () {
- var setting = $.extend({}, config, option);
- var handle = setting.handle || this;
- var ele = this;
- var $E = $(ele);
- var $H = $(handle);
-
- var posStyle = $E.css("position");
- posStyle != "absolute" && $E.css("position", "relative");
-
-
- function mouseDown(evt) {
- evt.stopPropagation();
- evt = evt.originalEvent;
-
- if (evt.touches) {
- isTouch = true;
- evt = evt.changedTouches[0];
- }
-
- if (evt.button != 2 && evt.which != 3) {
- setting.onStart.call(ele, evt);
-
- setting.startX = evt.clientX;
- setting.startY = evt.clientY;
- setting.top = parseInt($E.css("top")) || 0;
- setting.left = parseInt($E.css("left")) || 0;
-
- $D.bind("mouseup touchend", mouseUp);
- $D.bind("mousemove touchmove", mouseMove);
- }
-
- return false;
- };
-
-
- function mouseMove(evt) {
- evt = evt.originalEvent;
- isTouch && (evt = evt.changedTouches[0]);
-
- $E.css({
- top: setting.top - (setting.startY - evt.clientY),
- left: setting.left - (setting.startX - evt.clientX)
- });
-
- setting.onDrag.call(ele, evt);
- };
-
- function mouseUp(evt) {
- evt = evt.originalEvent;
- isTouch && (evt = evt.changedTouches[0]);
-
- setting.onDrop.call(ele, evt);
-
- $D.unbind("mouseup touchend", mouseUp);
- $D.unbind("mousemove touchmove", mouseMove);
- };
-
- // ignore drag drop on text field;
- $E.find("iframe, form, input, textarea, .ignore-drag")
- .each(function () {
- $(this).on("touchstart mousedown", function (evt) {
- evt.stopPropagation();
- });
- });
-
- $D.unbind("mouseup touchend", mouseUp);
- $D.unbind("mousemove touchmove", mouseMove);
- $H.unbind("mousedown touchstart").bind("mousedown touchstart", mouseDown);
-
- });
- },
- setTransition: function (item, trans) {
- var style = item.style;
- var $item = $(item);
-
- // remove animation;
- if (!this.transition && $item.stop) {
- $item.stop();
- } else if (style.webkitTransition != null) {
- style.webkitTransition = trans;
- } else if (style.MozTransition != null) {
- style.MozTransition = trans;
- } else if (style.msTransition != null) {
- style.msTransition = trans;
- } else if (style.OTransition != null) {
- style.OTransition = trans;
- } else {
- style.transition = trans;
- }
- },
- getFreeArea: function (t, l, runtime) {
- var maxY = Math.min(t + runtime.maxHoB, runtime.limitRow);
- var maxX = Math.min(l + runtime.maxWoB, runtime.limitCol);
- var minX = maxX;
- var minY = maxY;
- var matrix = runtime.matrix;
-
- // find limit zone by horizon;
- for (var y = t; y < minY; ++y) {
- for (var x = l; x < maxX; ++x) {
- if (matrix[y + '-' + x]) {
- (l < x && x < minX) && (minX = x);
- }
- }
- }
-
- // find limit zone by vertical;
- for (var y = t; y < maxY; ++y) {
- for (var x = l; x < minX; ++x) {
- if (matrix[y + '-' + x]) {
- (t < y && y < minY) && (minY = y);
- }
- }
- }
-
- return {
- top: t,
- left: l,
- width: minX - l,
- height: minY - t
- };
-
- },
- setWallSize: function (runtime, container) {
- var totalRow = runtime.totalRow;
- var totalCol = runtime.totalCol;
- var gutterY = runtime.gutterY;
- var gutterX = runtime.gutterX;
- var cellH = runtime.cellH;
- var cellW = runtime.cellW;
- var totalWidth = Math.max(0, cellW * totalCol - gutterX);
- var totalHeight = Math.max(0, cellH * totalRow - gutterY);
-
- container.attr({
- 'data-total-col': totalCol,
- 'data-total-row': totalRow,
- 'data-wall-width': Math.ceil(totalWidth),
- 'data-wall-height': Math.ceil(totalHeight)
- });
-
- if (runtime.limitCol < runtime.limitRow) {
- // do not set height with nesting grid;
- !container.attr("data-height") && container.height(Math.ceil(totalHeight));
- }
- }
- };
-
-
- var engine = {
- // Giot just a person name;
- giot: function (items, setting) {
- var runtime = setting.runtime,
- row = runtime.limitRow,
- col = runtime.limitCol,
- x = 0,
- y = 0,
- maxX = runtime.totalCol,
- maxY = runtime.totalRow,
- wall = {},
- holes = runtime.holes,
- block = null,
- matrix = runtime.matrix,
- bigLoop = Math.max(col, row),
- freeArea = null,
- misBlock = null,
- fitWidth = col < row ? 1 : 0,
- lastBlock = null,
- smallLoop = Math.min(col, row);
-
- // fill area with top, left, width, height;
- function fillMatrix(id, t, l, w, h) {
- for (var y = t; y < t + h;) {
- for (var x = l; x < l + w;) {
- matrix[y + '-' + x] = id;
- ++x > maxX && (maxX = x);
- }
- ++y > maxY && (maxY = y);
- }
- }
-
- // set holes on the wall;
- for (var i in holes) {
- if (holes.hasOwnProperty(i)) {
- fillMatrix(holes[i]["id"] || true, holes[i]['top'], holes[i]['left'], holes[i]['width'], holes[i]['height']);
- }
- }
-
-
- for (var b = 0; b < bigLoop; ++b) {
- if (!items.length) break;
- fitWidth ? (y = b) : (x = b);
- lastBlock = null;
-
- for (var s = 0; s < smallLoop; ++s) {
- if (!items.length) break;
- block = null;
- fitWidth ? (x = s) : (y = s);
- if (runtime.matrix[y + '-' + x]) continue;
- freeArea = layoutManager.getFreeArea(y, x, runtime);
-
- // trying resize last block to fit free area;
- if (setting.fixSize == null) {
- // resize near block to fill gap;
- if (lastBlock && !fitWidth && runtime.minHoB > freeArea.height) {
- lastBlock.height += freeArea.height;
- lastBlock.resize = true;
- fillMatrix(lastBlock.id, lastBlock.y, lastBlock.x, lastBlock.width, lastBlock.height);
- layoutManager.setBlock(lastBlock, setting);
- continue;
- } else if (lastBlock && fitWidth && runtime.minWoB > freeArea.width) {
- lastBlock.width += freeArea.width;
- lastBlock.resize = true;
- fillMatrix(lastBlock.id, lastBlock.y, lastBlock.x, lastBlock.width, lastBlock.height);
- layoutManager.setBlock(lastBlock, setting);
- continue;
- }
- }
-
- // get the next block to keep order;
- if (setting.keepOrder) {
- block = items.shift();
- block.resize = true;
- } else {
- // find a suitable block to fit gap;
- for (var i = 0; i < items.length; ++i) {
- if (items[i].height > freeArea.height) continue;
- if (items[i].width > freeArea.width) continue;
- block = items.splice(i, 1)[0];
- break;
- }
-
- // trying resize the other block to fit gap;
- if (block == null && setting.fixSize == null) {
- // get other block fill to gap;
- for (var i = 0; i < items.length; ++i) {
- if (items[i]['fixSize'] != null) continue;
- block = items.splice(i, 1)[0];
- block.resize = true;
- break;
- }
-
- }
- }
-
-
- if (block != null) {
- // resize block with free area;
- if (block.resize) {
- if (fitWidth) {
- block.width = freeArea.width;
- if (setting.cellH == 'auto') {
- layoutManager.adjustBlock(block, setting);
- }
- // for fitZone;
- block.height = Math.min(block.height, freeArea.height);
- } else {
- block.height = freeArea.height;
- // for fitZone;
- block.width = Math.min(block.width, freeArea.width);
- }
- }
-
- wall[block.id] = {
- id: block.id,
- x: x,
- y: y,
- width: block.width,
- height: block.height,
- resize: block.resize,
- fixSize: block.fixSize
- };
-
- // keep success block for next round;
- lastBlock = wall[block.id];
-
- fillMatrix(lastBlock.id, lastBlock.y, lastBlock.x, lastBlock.width, lastBlock.height);
- layoutManager.setBlock(lastBlock, setting);
- } else {
- // get expect area;
- var misBlock = {
- x: x,
- y: y,
- fixSize: 0
- };
- if (fitWidth) {
- misBlock.width = freeArea.width;
- misBlock.height = 0;
- var lastX = x - 1;
- var lastY = y;
-
- while (matrix[lastY + '-' + lastX]) {
- matrix[lastY + '-' + x] = true;
- misBlock.height += 1;
- lastY += 1;
- }
- } else {
- misBlock.height = freeArea.height;
- misBlock.width = 0;
- var lastY = y - 1;
- var lastX = x;
-
- while (matrix[lastY + '-' + lastX]) {
- matrix[y + '-' + lastX] = true;
- misBlock.width += 1;
- lastX += 1;
- }
- }
- setting.onGapFound(layoutManager.setBlock(misBlock, setting), setting);
- }
- }
-
- }
-
- runtime.matrix = matrix;
- runtime.totalRow = maxY;
- runtime.totalCol = maxX;
- }
- };
-
-
- window.freewall = function (selector) {
-
- var container = $(selector);
- if (container.css('position') == 'static') {
- container.css('position', 'relative');
- }
- var MAX = Number.MAX_VALUE;
- var klass = this;
- // increase the instance index;
- layoutManager.totalGrid += 1;
-
- var setting = $.extend({}, layoutManager.defaultConfig);
- var runtime = {
- blocks: {}, // store all items;
- events: {}, // store custome events;
- matrix: {},
- holes: {}, // forbidden zone;
-
- cellW: 0,
- cellH: 0, // unit adjust;
- cellS: 1, // unit scale;
-
- filter: '', // filter selector;
-
- lastId: 0,
- length: 0,
-
- maxWoB: 0, // max width of block;
- maxHoB: 0,
- minWoB: MAX,
- minHoB: MAX, // min height of block;
-
- running: 0, // flag to check layout arranging;
-
- gutterX: 15,
- gutterY: 15,
-
- totalCol: 0,
- totalRow: 0,
-
- limitCol: 666666, // maximum column;
- limitRow: 666666,
-
- currentMethod: null,
- currentArguments: []
- };
- setting.runtime = runtime;
- runtime.totalGrid = layoutManager.totalGrid;
-
- // check browser support transition;
- var bodyStyle = document.body.style;
- if (!layoutManager.transition) {
- (bodyStyle.webkitTransition != null ||
- bodyStyle.MozTransition != null ||
- bodyStyle.msTransition != null ||
- bodyStyle.OTransition != null ||
- bodyStyle.transition != null) &&
- (layoutManager.transition = true);
- }
-
-
- function setDraggable(item) {
-
- var gutterX = runtime.gutterX;
- var gutterY = runtime.gutterY;
- var cellH = runtime.cellH;
- var cellW = runtime.cellW;
- var $item = $(item);
- var handle = $item.find($item.attr("data-handle"));
- layoutManager.setDraggable(item, {
- handle: handle[0],
- onStart: function (event) {
- if (setting.animate && layoutManager.transition) {
- layoutManager.setTransition(this, "");
- }
- $item.css('z-index', 9999).addClass('fw-float');
-
- setting.onBlockDrag.call(item, event);
- },
- onDrag: function (event, tracker) {
- var position = $item.position();
- var top = Math.round(position.top / cellH);
- var left = Math.round(position.left / cellW);
- var width = Math.round($item.width() / cellW);
- var height = Math.round($item.height() / cellH);
- top = Math.min(Math.max(0, top), runtime.limitRow - height);
- left = Math.min(Math.max(0, left), runtime.limitCol - width);
- klass.setHoles({top: top, left: left, width: width, height: height});
- klass.refresh();
-
- setting.onBlockMove.call(item, event);
- },
- onDrop: function (event) {
- var position = $item.position();
- var top = Math.round(position.top / cellH);
- var left = Math.round(position.left / cellW);
- var width = Math.round($item.width() / cellW);
- var height = Math.round($item.height() / cellH);
- top = Math.min(Math.max(0, top), runtime.limitRow - height);
- left = Math.min(Math.max(0, left), runtime.limitCol - width);
-
- $item.removeClass('fw-float');
- $item.css({
- zIndex: "auto",
- top: top * cellH,
- left: left * cellW
- });
-
- //check old drag element;
- var x, y, key, oldDropId;
- for (y = 0; y < height; ++y) {
- for (x = 0; x < width; ++x) {
- key = (y + top) + "-" + (x + left);
- oldDropId = runtime.matrix[key];
- if (oldDropId && oldDropId != true) {
- $("#" + oldDropId).removeAttr("data-position");
- }
- }
- }
-
- runtime.holes = {};
-
- $item.attr({
- "data-width": $item.width(),
- "data-height": $item.height(),
- "data-position": top + "-" + left
- });
-
- klass.refresh();
-
- setting.onBlockDrop.call(item, event);
- }
- });
- }
-
-
- $.extend(klass, {
-
- addCustomEvent: function (name, func) {
- var events = runtime.events;
- name = name.toLowerCase();
- !events[name] && (events[name] = []);
- func.eid = events[name].length;
- events[name].push(func);
- return this;
- },
-
- appendBlock: function (items) {
- var allBlock = $(items).appendTo(container);
- var block = null;
- var activeBlock = [];
-
- if (runtime.currentMethod) {
- allBlock.each(function (index, item) {
- item.index = ++index;
- block = layoutManager.loadBlock(item, setting);
- block && activeBlock.push(block);
- });
-
- engine[setting.engine](activeBlock, setting);
-
- layoutManager.setWallSize(runtime, container);
-
- runtime.length = allBlock.length;
-
- allBlock.each(function (index, item) {
- layoutManager.showBlock(item, setting);
- if (setting.draggable || item.getAttribute('data-draggable')) {
- setDraggable(item);
- }
- });
- }
- },
- /*
- add one or more blank area (hole) on layout;
- example:
-
- wall.appendHoles({
- top: 10,
- left: 36,
- width: 2,
- height: 6
- });
-
- wall.appendHoles([
- {
- top: 16,
- left: 16,
- width: 8,
- height: 2
- },
- {
- top: 10,
- left: 36,
- width: 2,
- height: 6
- }
- ]);
-
- */
- appendHoles: function (holes) {
- var newHoles = [].concat(holes), h = {}, i;
- for (i = 0; i < newHoles.length; ++i) {
- h = newHoles[i];
- runtime.holes[h.top + "-" + h.left + "-" + h.width + "-" + h.height] = h;
- }
- return this;
- },
-
- container: container,
-
- destroy: function () {
- var allBlock = container.find(setting.selector).removeAttr('id'),
- block = null,
- activeBlock = [];
-
- allBlock.each(function (index, item) {
- $item = $(item);
- var width = 1 * $item.attr('data-width') || "";
- var height = 1 * $item.attr('data-height') || "";
- $item.width(width).height(height).css({
- position: 'static'
- });
- });
- },
-
- fillHoles: function (holes) {
- if (arguments.length == 0) {
- runtime.holes = {};
- } else {
- var newHoles = [].concat(holes), h = {}, i;
- for (i = 0; i < newHoles.length; ++i) {
- h = newHoles[i];
- delete runtime.holes[h.top + "-" + h.left + "-" + h.width + "-" + h.height];
- }
- }
- return this;
- },
-
- filter: function (filter) {
- runtime.filter = filter;
- runtime.currentMethod && this.refresh();
- return this;
- },
-
- fireEvent: function (name, object, setting) {
- var events = runtime.events;
- name = name.toLowerCase();
- if (events[name] && events[name].length) {
- for (var i = 0; i < events[name].length; ++i) {
- events[name][i].call(this, object, setting);
- }
- }
- return this;
- },
-
- fitHeight: function (height) {
- var allBlock = container.find(setting.selector).removeAttr('id'),
- block = null,
- activeBlock = [];
-
- height = height ? height : container.height() || $W.height();
-
- runtime.currentMethod = arguments.callee;
- runtime.currentArguments = arguments;
-
- layoutManager.resetGrid(runtime);
- layoutManager.adjustUnit('auto', height, setting);
-
- if (runtime.filter) {
- allBlock.data('active', 0);
- allBlock.filter(runtime.filter).data('active', 1);
- } else {
- allBlock.data('active', 1);
- }
-
- allBlock.each(function (index, item) {
- var $item = $(item);
- item.index = ++index;
- block = layoutManager.loadBlock(item, setting);
- block && $item.data("active") && activeBlock.push(block);
- });
-
- klass.fireEvent('onGridReady', container, setting);
-
- engine[setting.engine](activeBlock, setting);
-
- layoutManager.setWallSize(runtime, container);
-
- klass.fireEvent('onGridArrange', container, setting);
-
- runtime.length = allBlock.length;
-
- allBlock.each(function (index, item) {
- layoutManager.showBlock(item, setting);
- if (setting.draggable || item.getAttribute('data-draggable')) {
- setDraggable(item);
- }
- });
- },
-
- fitWidth: function (width) {
- var allBlock = container.find(setting.selector).removeAttr('id'),
- block = null,
- activeBlock = [];
-
- width = width ? width : container.width() || $W.width();
-
- runtime.currentMethod = arguments.callee;
- runtime.currentArguments = arguments;
-
- layoutManager.resetGrid(runtime);
- layoutManager.adjustUnit(width, 'auto', setting);
-
- if (runtime.filter) {
- allBlock.data('active', 0);
- allBlock.filter(runtime.filter).data('active', 1);
- } else {
- allBlock.data('active', 1);
- }
-
- allBlock.each(function (index, item) {
- var $item = $(item);
- item.index = ++index;
- block = layoutManager.loadBlock(item, setting);
- block && $item.data("active") && activeBlock.push(block);
- });
-
- klass.fireEvent('onGridReady', container, setting);
-
- engine[setting.engine](activeBlock, setting);
-
- layoutManager.setWallSize(runtime, container);
-
- klass.fireEvent('onGridArrange', container, setting);
-
- runtime.length = allBlock.length;
-
- allBlock.each(function (index, item) {
- layoutManager.showBlock(item, setting);
- if (setting.draggable || item.getAttribute('data-draggable')) {
- setDraggable(item);
- }
- });
- },
-
- fitZone: function (width, height) {
- var allBlock = container.find(setting.selector).removeAttr('id'),
- block = null,
- activeBlock = [];
-
- height = height ? height : container.height() || $W.height();
- width = width ? width : container.width() || $W.width();
-
- runtime.currentMethod = arguments.callee;
- runtime.currentArguments = arguments;
-
- layoutManager.resetGrid(runtime);
- layoutManager.adjustUnit(width, height, setting);
-
- if (runtime.filter) {
- allBlock.data('active', 0);
- allBlock.filter(runtime.filter).data('active', 1);
- } else {
- allBlock.data('active', 1);
- }
-
- allBlock.each(function (index, item) {
- var $item = $(item);
- item.index = ++index;
- block = layoutManager.loadBlock(item, setting);
- block && $item.data("active") && activeBlock.push(block);
- });
-
- klass.fireEvent('onGridReady', container, setting);
-
- engine[setting.engine](activeBlock, setting);
-
- layoutManager.setWallSize(runtime, container);
-
- klass.fireEvent('onGridArrange', container, setting);
-
- runtime.length = allBlock.length;
-
- allBlock.each(function (index, item) {
- layoutManager.showBlock(item, setting);
- if (setting.draggable || item.getAttribute('data-draggable')) {
- setDraggable(item);
- }
- });
- },
-
- /*
- set block with special position, the top and left are multiple of unit width/height;
- example:
-
- wall.fixPos({
- top: 0,
- left: 0,
- block: $('.free')
- });
- */
- fixPos: function (option) {
- $(option.block).attr({'data-position': option.top + "-" + option.left});
- return this;
- },
-
- /*
- set block with special size, the width and height are multiple of unit width/height;
- example:
-
- wall.fixSize({
- height: 5,
- width: 2,
- block: $('.free')
- });
- */
- fixSize: function (option) {
- option.height != null && $(option.block).attr({'data-height': option.height});
- option.width != null && $(option.block).attr({'data-width': option.width});
- return this;
- },
-
- prepend: function (items) {
- container.prepend(items);
- runtime.currentMethod && this.refresh();
- return this;
- },
-
- refresh: function () {
- var params = arguments.length ? arguments : runtime.currentArguments;
- runtime.currentMethod == null && (runtime.currentMethod = this.fitWidth);
- runtime.currentMethod.apply(this, Array.prototype.slice.call(params, 0));
- return this;
- },
-
- /*
- custom layout setting;
- example:
-
- wall.reset({
- selector: '.brick',
- animate: true,
- cellW: 160,
- cellH: 160,
- delay: 50,
- onResize: function() {
- wall.fitWidth();
- }
- });
- */
- reset: function (option) {
- $.extend(setting, option);
- return this;
- },
-
- /*
- create one or more blank area (hole) on layout;
- example:
-
- wall.setHoles({
- top: 2,
- left: 2,
- width: 2,
- height: 2
- });
- */
-
- setHoles: function (holes) {
- var newHoles = [].concat(holes), h = {}, i;
- runtime.holes = {};
- for (i = 0; i < newHoles.length; ++i) {
- h = newHoles[i];
- runtime.holes[h.top + "-" + h.left + "-" + h.width + "-" + h.height] = h;
- }
- return this;
- },
-
- unFilter: function () {
- delete runtime.filter;
- this.refresh();
- return this;
- }
- });
-
- container.attr('data-min-width', Math.floor($W.width() / 80) * 80);
- // execute plugins;
- for (var i in layoutManager.plugin) {
- if (layoutManager.plugin.hasOwnProperty(i)) {
- layoutManager.plugin[i].call(klass, setting, container);
- }
- }
-
- // setup resize event;
- $W.resize(function () {
- if (runtime.running) return;
- runtime.running = 1;
- setTimeout(function () {
- runtime.running = 0;
- setting.onResize.call(klass, container);
- }, 122);
- container.attr('data-min-width', Math.floor($W.width() / 80) * 80);
- });
- };
-
- /*
- add default setting;
- example:
-
- freewall.addConfig({
- offsetLeft: 0
- });
- */
- freewall.addConfig = function (newConfig) {
- // add default setting;
- $.extend(layoutManager.defaultConfig, newConfig);
- };
-
-
- /*
- support create new arrange algorithm;
- example:
-
- freewall.createEngine({
- slice: function(items, setting) {
- // slice engine;
- }
- });
- */
- freewall.createEngine = function (engineData) {
- // create new engine;
- $.extend(engine, engineData);
- };
-
- /*
- support create new plugin;
- example:
-
- freewall.createPlugin({
- centering: function(setting, container) {
- console.log(this);
- console.log(setting);
- }
- })l
- */
- freewall.createPlugin = function (pluginData) {
- // register new plugin;
- $.extend(layoutManager.plugin, pluginData);
- };
-
- /*
- support access helper function;
- example:
-
- freewall.getMethod('setBlock')(block, setting);
- */
- freewall.getMethod = function (method) {
- // get helper method;
- return layoutManager[method];
- };
-
-})(window.Zepto || window.jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/css/serverPageTable.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/css/serverPageTable.css
deleted file mode 100644
index 439aa157..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/css/serverPageTable.css
+++ /dev/null
@@ -1,29 +0,0 @@
-div.dataTables_length, div.dataTables_info {
- display: inline;
-}
-div.dataTables_paginate{
- display: inline;
- float: right;
-}
-div.dataTables_length label{
- font-weight:100;
-}
-table.dataTable tbody th, table.dataTable tbody td {
-padding: 8px 10px;
-}
-.table-scrollable > .table-bordered > thead > tr:last-child > th, .table-scrollable > .table-bordered > tbody > tr:last-child > th, .table-scrollable > .table-bordered > tfoot > tr:last-child > th, .table-scrollable > .table-bordered > thead > tr:last-child > td, .table-scrollable > .table-bordered > tbody > tr:last-child > td, .table-scrollable > .table-bordered > tfoot > tr:last-child > td {
- border-bottom: 0;
-}
-input.pagination-panel-input{
- width:50px;
-}
-input.pagination-panel-input{
- width:50px;
-}
-select[size]{
-height:28px;
-border-radius:3px;
-}
-.dataTables_length{
-margin-top:15px;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/images/details_close.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/images/details_close.png
deleted file mode 100644
index e6281bae..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/images/details_close.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/images/details_open.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/images/details_open.png
deleted file mode 100644
index 5bf4389c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/images/details_open.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/readme.txt b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/readme.txt
deleted file mode 100644
index 55a40ae5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/readme.txt
+++ /dev/null
@@ -1,70 +0,0 @@
-1ܣ
- jquery datatable÷˷ҳķʽ淭ҳʱ˽вѯ
-
- кܶزֲҪУͨ+չһм¼ʾ
-
-2Ҫõļ
-
- <link href="/ngict/iui/component/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
-
- <script src="/ngict/iui/component/thirdparty/data-tables/jquery.dataTables.js"></script>
-
-3ӿ
-
- serverPageTable.initDataTable = function( setting ,cond , divId) {}
-
- ӿڣԶѯݣõҳϡ
-
-4˵Ӧþ
-
- var language = {
- "sLengthMenu": $.i18n.prop("ngict-log-iui-table-sLengthMenu"),
- "sZeroRecords": $.i18n.prop("ngict-log-iui-table-sZeroRecords"),
- "sInfo": "<span class='seperator'> </span>" + $.i18n.prop("ngict-log-iui-table-sInfo"),
- "sInfoEmpty": $.i18n.prop("ngict-log-iui-table-sInfoEmpty"),
- "sGroupActions": $.i18n.prop("ngict-log-iui-table-sGroupActions"),
- "sAjaxRequestGeneralError":$.i18n.prop("ngict-log-iui-table-sAjaxRequestGeneralError"),
- "sEmptyTable": $.i18n.prop("ngict-log-iui-table-sEmptyTable"),
- "oPaginate": {
- "sPrevious": $.i18n.prop("ngict-log-iui-table-sPrevious"),
- "sNext": $.i18n.prop("ngict-log-iui-table-sNext"),
- "sPage": $.i18n.prop("ngict-log-iui-table-sPage"),
- "sPageOf": $.i18n.prop("ngict-log-iui-table-sPageOf")
- }
- },
-
- var operLog = [
- {"mData": null, name: "", "sClass": 'details-control', "sWidth": '5%'},
- {"mData": "id", name: "ID", "bVisible": false},
- {"mData": "description", name: $.i18n.prop('ngict-log-iui-oper-field-description')},
- {"mData": "userName", name: $.i18n.prop('ngict-log-iui-oper-field-userName')},
- {"mData": "logRank", name: $.i18n.prop('ngict-log-iui-oper-field-logRank'), "sWidth": '12%', "fnRender": logUtil.cmdRankRender},
- {"mData": "operateSet", name: $.i18n.prop('ngict-log-iui-oper-field-operateSet'), "sWidth": '12%'},
- {"mData": "logDate", name: $.i18n.prop('ngict-log-iui-oper-field-logDate'), "fnRender": logUtil.timeRender},
- {"mData": "logEndDate", name: $.i18n.prop('ngict-log-iui-oper-field-logEndDate'), "fnRender": logUtil.timeRender},
- {"mData": "isSucceed", name: $.i18n.prop('ngict-log-iui-oper-field-isSucceed'), "sWidth": '9%', "fnRender": logUtil.cmdResultRender},
- {"mData": "failReason", name: $.i18n.prop('ngict-log-iui-oper-field-failReason'), "bVisible": false},
- {"mData": "host", name: $.i18n.prop('ngict-log-iui-oper-field-host')},
- {"mData": "resourceDn", name: $.i18n.prop('ngict-log-iui-oper-field-resourceDn'), "bVisible": false},
- {"mData": "detail", name: $.i18n.prop('ngict-log-iui-oper-field-detail'), "bVisible": false}
- ]
- var queryLogInfoUrl = '/ngict/rest/log/info/cmdlog',
-
- var getCond = function () {
- var cond = {};
- //ͨõʱ
- cond.startTime = new date();
- return cond;
- },
-
-
- initTable = function () {
- var setting = {};
- setting.language = language ;
- setting.columns = operLog;
- setting.restUrl = queryLogInfoUrl ;
- setting.tableId = "ict_log_table";
- serverPageTable.initDataTable(setting, getCond(), 'ict_log_table_div');
- }
-
- \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/serverPageTable.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/serverPageTable.js
deleted file mode 100644
index 31627768..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/serverPageTable.js
+++ /dev/null
@@ -1,217 +0,0 @@
-var serverPageTable = {};
-/* Bootstrap style full number pagination control */
-$.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings )
-{
- return {
- "iStart": oSettings._iDisplayStart,
- "iEnd": oSettings.fnDisplayEnd(),
- "iLength": oSettings._iDisplayLength,
- "iTotal": oSettings.fnRecordsTotal(),
- "iFilteredTotal": oSettings.fnRecordsDisplay(),
- "iPage": Math.ceil( oSettings._iDisplayStart / oSettings._iDisplayLength ),
- "iTotalPages": Math.ceil( oSettings.fnRecordsDisplay() / oSettings._iDisplayLength )
- };
-};
-
-$.extend( $.fn.dataTableExt.oPagination, {
- "bootstrap_extended": {
- "fnInit": function( oSettings, nPaging, fnDraw ) {
- var oLang = oSettings.oLanguage.oPaginate;
- var oPaging = oSettings.oInstance.fnPagingInfo();
-
- var fnClickHandler = function ( e ) {
- e.preventDefault();
- if ( oSettings.oApi._fnPageChange(oSettings, e.data.action) ) {
- fnDraw( oSettings );
- }
- };
-
- $(nPaging).append(
- '<div class="pagination-panel"> ' + oLang.sPage + ' ' +
- '<a href="#" class="btn btn-sm default prev disabled" title="' + oLang.sPrevious + '"><i class="fa fa-angle-left"></i></a>' +
- '<input type="text" class="pagination-panel-input input-mini input-inline input-sm" maxlenght="5" style="text-align:center; margin: 0 4px; border: 1px solid rgb(169, 169, 169);height: 28px;">' +
- '<a href="#" class="btn btn-sm default next disabled" title="' + oLang.sNext + '"><i class="fa fa-angle-right"></i></a> ' +
- oLang.sPageOf + ' <span class="pagination-panel-total"></span>' +
- '</div>'
- );
-
- var els = $('a', nPaging);
-
- $(els[0]).bind('click.DT', { action: "previous" }, fnClickHandler );
- $(els[1]).bind('click.DT', { action: "next" }, fnClickHandler);
-
- $('.pagination-panel-input', nPaging).bind('change.DT', function(e) {
- var oPaging = oSettings.oInstance.fnPagingInfo();
- e.preventDefault();
- var page = parseInt($(this).val());
- if (page > 0 && page < oPaging.iTotalPages) {
- if ( oSettings.oApi._fnPageChange(oSettings, page-1) ) {
- fnDraw( oSettings );
- }
- } else {
- $(this).val(oPaging.iPage + 1);
- }
- });
-
- $('.pagination-panel-input', nPaging).bind('keypress.DT', function(e) {
- var oPaging = oSettings.oInstance.fnPagingInfo();
- if (e.which == 13) {
- var page = parseInt($(this).val());
- if (page > 0 && page < oSettings.oInstance.fnPagingInfo().iTotalPages) {
- if ( oSettings.oApi._fnPageChange(oSettings, page-1) ) {
- fnDraw( oSettings );
- }
- } else {
- $(this).val(oPaging.iPage + 1);
- }
- e.preventDefault();
- }
- });
- },
-
- "fnUpdate": function ( oSettings, fnDraw ) {
- var iListLength = 5;
- var oPaging = oSettings.oInstance.fnPagingInfo();
- var an = oSettings.aanFeatures.p;
- var i, j, sClass, iStart, iEnd, iHalf=Math.floor(iListLength/2);
-
- if ( oPaging.iTotalPages < iListLength) {
- iStart = 1;
- iEnd = oPaging.iTotalPages;
- }
- else if ( oPaging.iPage <= iHalf ) {
- iStart = 1;
- iEnd = iListLength;
- } else if ( oPaging.iPage >= (oPaging.iTotalPages-iHalf) ) {
- iStart = oPaging.iTotalPages - iListLength + 1;
- iEnd = oPaging.iTotalPages;
- } else {
- iStart = oPaging.iPage - iHalf + 1;
- iEnd = iStart + iListLength - 1;
- }
-
-
- for ( i=0, iLen=an.length ; i<iLen ; i++ ) {
- var wrapper = $(an[i]).parents(".dataTables_wrapper");
-
- if (oPaging.iTotalPages <= 0) {
- $('.pagination-panel, .dataTables_length', wrapper).hide();
- } else {
- $('.pagination-panel, .dataTables_length', wrapper).show();
- }
-
- $('.pagination-panel-total', an[i]).html(oPaging.iTotalPages);
- $('.pagination-panel-input', an[i]).val(oPaging.iPage + 1);
-
- // Remove the middle elements
- $('li:gt(1)', an[i]).filter(':not(.next)').remove();
-
- // Add the new list items and their event handlers
- for ( j=iStart ; j<=iEnd ; j++ ) {
- sClass = (j==oPaging.iPage+1) ? 'class="active"' : '';
- $('<li '+sClass+'><a href="#">'+j+'</a></li>')
- .insertBefore( $('li.next:first', an[i])[0] )
- .bind('click', function (e) {
- e.preventDefault();
- oSettings._iDisplayStart = (parseInt($('a', this).text(),10)-1) * oPaging.iLength;
- fnDraw( oSettings );
- } );
- }
-
- // Add / remove disabled classes from the static elements
- if ( oPaging.iPage === 0 ) {
- $('a.prev', an[i]).addClass('disabled');
- } else {
- $('a.prev', an[i]).removeClass('disabled');
- }
-
- if ( oPaging.iPage === oPaging.iTotalPages-1 || oPaging.iTotalPages === 0 ) {
- $('a.next', an[i]).addClass('disabled');
- } else {
- $('a.next', an[i]).removeClass('disabled');
- }
- }
- }
- }
-} );
-serverPageTable.initDataTable = function( setting , divId ,pageInfos) {
- serverPageTable.pageInfo = pageInfos;
- //转换colomn
-
- var column = setting.columns;
- //先把原来的表格清空
- $('#'+ divId).children().remove();
- var tableId = setting.tableId;
- var tableEleStr = '<table class="table table-striped table-bordered table-hover" id= '+ tableId + '>'
- + '<thead>'
- +'<tr role="row" class="heading" >'
- + '</tr>'
- + '</thead>'
- +'<tbody>'
- +'</tbody>'
- +'</table>';
- $('#'+ divId).append(tableEleStr);
- //$('#'+ tableId).append(' <thead><tr role="row" class="heading" ></tr></thead><tbody></tbody>');
- var trEle = $('#'+ tableId + ' > thead >tr');
- //var dataTableColumn = [];
- for ( var one in column){
- var th = '<th>' + column[one].name + '</th>';
- trEle.append(th);
- }
- serverPageTable.pageInfo = pageInfos;
- if(!setting.pageHtml){
- pageHtml="<'row'<'col-md-12 col-sm-12'lip>r><'table-scrollable't>>";
- }else{
- pageHtml=setting.pageHtml;
- }
- var table = $("#" + tableId).dataTable({
- //"sDom" : "tr<'row'<'col-md-6 col-sm-12'><'col-md-6 col-sm-12'pli>>", // datatable layout
- "sDom" : pageHtml,
- "oLanguage": setting.language,//汉化
- "bJQueryUI": true,
- "bPaginate": true,// 分页按钮
- "bFilter": false,// 搜索栏
- "bAutoWidth":true,//自动设置列宽
- "bLengthChange": true,// 每行显示记录数
- "iDisplayLength": 10,// 每页显示行数
- "bSort": false,// 排序
- "bInfo": true,// Showing 1 to 10 of 23 entries 总记录数没也显示多少等信息
- "bWidth": true,
- "bScrollCollapse": true,
- "sPaginationType": "bootstrap_extended", // 分页,一共两种样式 另一种为two_button // 是datatables默认
- "bProcessing": true,
- "bServerSide": true,
- "bDestroy": true,
- "bSortCellsTop": true,
- "sAjaxSource": setting.restUrl,
- "aoColumns": setting.columns,
- "fnServerData": function (sSource, aoData, fnCallback, oSettings) {
- fnServerData(sSource, aoData, fnCallback, oSettings);
- }
- });
- $('#'+ tableId + '>tbody').on('click', 'td.details-control', function () {
- var tr = $(this).closest('tr');
- //var nTr = $(this).parents('tr')[0];
- //var row = table.row( tr );
- if ( table.fnIsOpen(tr[0]) ){
- table.fnClose( tr[0] );
- //if ( row.child.isShown() ) {
- // This row is already open - close it
- //row.child.hide();
- tr.removeClass('shown');
- }
- else {
- // Open this row
- table.fnOpen( tr[0], format_Detail(table, tr[0],column) );
- //row.child( format_Detail(row.data()) ).show();
- tr.addClass('shown');
- }
- } );
- return table;
-
-
-};
-
-
-
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/serverPageTable_demo.html b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/serverPageTable_demo.html
deleted file mode 100644
index a7b4fcb7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/serverPageTable_demo.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head lang="en">
- <meta charset="UTF-8">
- <title></title>
- <link href="/ngict/iui/component/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
- <link href="../../thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
- <link href="serverpagetable.css" rel="stylesheet"/>
- <script src="../../thirdparty/jquery/jquery-1.10.2.min.js"></script>
- <script src="../../thirdparty/data-tables/jquery.dataTables.js"></script>
- <script src="serverPageTable.js"></script>
-</head>
-<body>
-<div id="ict_serverPage_div" style="width:95%;margin-left:25px;"></div>
-<script>
- var setting = {};
-
- setting.language = {
- "sLengthMenu": "每页 _MENU_ 条结果",
- "sZeroRecords": "没有匹配结果",
- "sInfo": "<span class='seperator'> </span>" + "总共找到 _TOTAL_ 条结果",
- "sInfoEmpty": "共 0 项",
- //"sGroupActions": $.i18n.prop("ngict-log-iui-table-sGroupActions"),
- //"sAjaxRequestGeneralError": $.i18n.prop("ngict-log-iui-table-sAjaxRequestGeneralError"),
- //"sEmptyTable": $.i18n.prop("ngict-log-iui-table-sEmptyTable"),
- "oPaginate": {
- "sPrevious": "前页",
- "sNext": "后页",
- "sPage": "第",
- "sPageOf": "页,总页数"
- }
- };
- setting.columns = [
- {"mData": null, name: "", "sClass": 'details-control', "sWidth": '8%'},
- {"mData": "id", name: "ID", "bVisible": false},
- {"mData": "operate", name: "日志名称"},
- {"mData": "userName", name: "用户名称"},
- {"mData": "host", name: "主机地址"},
- {"mData": "logDate", name: "时间"},
- {"mData": "detail", name: "详细信息", "bVisible": false}
- ];
- setting.restUrl = '/ngict/rest/log/info/secLog';
- setting.tableId = "ict_log_table_seclog";
- var cond = {};
- cond.startTime = 1437053600000;
- cond.endTime = 1448358399999;
- var pageInfo = null;
- serverPageTable.initDataTable(setting, cond, 'ict_serverPage_div', pageInfo);
-</script>
-</body>
-</html> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/serverpagetable.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/serverpagetable.css
deleted file mode 100644
index 3385583e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-serverpagetable/serverpagetable.css
+++ /dev/null
@@ -1,70 +0,0 @@
-td.details-control {
- background: url('images/details_open.png') no-repeat center center;
- cursor: pointer;
-}
-
-tr.shown td.details-control {
- background: url('images/details_close.png') no-repeat center center;
-}
-
-.details table td {
- word-wrap: break-word;
- word-break: normal;
- border-top: 1px solid #dddddd;
-}
-
-.details table tr:first-child td {
- border-top: none;
-}
-
-.details table {
- table-layout: fixed;
- width: 100%;
-}
-
-td.title {
- width: 10%;
-}
-
-table.dataTable tbody th, table.dataTable tbody td {
- padding: 8px 10px;
-}
-
-div.dataTables_length, div.dataTables_info {
- display: inline;
-}
-
-div.dataTables_paginate {
- display: inline;
- float: right;
-}
-
-div.pagination-panel {
- margin-right: 10px;
-}
-
-input.pagination-panel-input {
- width: 50px;
-}
-
-table {
- width: 100% !important;
-}
-
-label {
- font-weight: 100;
-}
-
-div.dataTables_length, div.dataTables_info {
- display: inline;
-}
-
-.dataTables_wrapper select {
- border-width: 1px;
- padding: 4px 1px;
- border-radius: 4px;
-}
-
-input.pagination-panel-input{
- width:50px;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/css/bootstrap-dt.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/css/bootstrap-dt.css
deleted file mode 100644
index 1be9eb88..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/css/bootstrap-dt.css
+++ /dev/null
@@ -1,7067 +0,0 @@
-/*!
- * Bootstrap v3.1.1 (http://getbootstrap.com)
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-
-/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
-html {
- font-family: sans-serif;
- -webkit-text-size-adjust: 100%;
- -ms-text-size-adjust: 100%;
-}
-
-body {
- margin: 0;
-}
-
-article,
-aside,
-details,
-figcaption,
-figure,
-footer,
-header,
-hgroup,
-main,
-nav,
-section,
-summary {
- display: block;
-}
-
-audio,
-canvas,
-progress,
-video {
- display: inline-block;
- vertical-align: baseline;
-}
-
-audio:not([controls]) {
- display: none;
- height: 0;
-}
-
-[hidden],
-template {
- display: none;
-}
-
-a {
- background: transparent;
-}
-
-a:active,
-a:hover {
- outline: 0;
-}
-
-abbr[title] {
- border-bottom: 1px dotted;
-}
-
-b,
-strong {
- font-weight: bold;
-}
-
-dfn {
- font-style: italic;
-}
-
-h1 {
- margin: .67em 0;
- font-size: 2em;
-}
-
-mark {
- color: #000;
- background: #ff0;
-}
-
-small {
- font-size: 80%;
-}
-
-sub,
-sup {
- position: relative;
- font-size: 75%;
- line-height: 0;
- vertical-align: baseline;
-}
-
-sup {
- top: -.5em;
-}
-
-sub {
- bottom: -.25em;
-}
-
-img {
- border: 0;
-}
-
-svg:not(:root) {
- overflow: hidden;
-}
-
-figure {
- margin: 1em 40px;
-}
-
-hr {
- height: 0;
- -moz-box-sizing: content-box;
- box-sizing: content-box;
-}
-
-pre {
- overflow: auto;
-}
-
-code,
-kbd,
-pre,
-samp {
- font-family: monospace, monospace;
- font-size: 1em;
-}
-
-button,
-input,
-optgroup,
-select,
-textarea {
- margin: 0;
- font: inherit;
- color: inherit;
-}
-
-button {
- overflow: visible;
-}
-
-button,
-select {
- text-transform: none;
-}
-
-button,
-html input[type="button"],
-input[type="reset"],
-input[type="submit"] {
- -webkit-appearance: button;
- cursor: pointer;
-}
-
-button[disabled],
-html input[disabled] {
- cursor: default;
-}
-
-button::-moz-focus-inner,
-input::-moz-focus-inner {
- padding: 0;
- border: 0;
-}
-
-input {
- line-height: normal;
-}
-
-input[type="checkbox"],
-input[type="radio"] {
- box-sizing: border-box;
- padding: 0;
-}
-
-input[type="number"]::-webkit-inner-spin-button,
-input[type="number"]::-webkit-outer-spin-button {
- height: auto;
-}
-
-input[type="search"] {
- -webkit-box-sizing: content-box;
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- -webkit-appearance: textfield;
-}
-
-input[type="search"]::-webkit-search-cancel-button,
-input[type="search"]::-webkit-search-decoration {
- -webkit-appearance: none;
-}
-
-fieldset {
- padding: .35em .625em .75em;
- margin: 0 2px;
- border: 1px solid #c0c0c0;
-}
-
-legend {
- padding: 0;
- border: 0;
-}
-
-textarea {
- overflow: auto;
-}
-
-optgroup {
- font-weight: bold;
-}
-
-table {
- border-spacing: 0;
- border-collapse: collapse;
-}
-
-td,
-th {
-}
-
-@media print {
- * {
- color: #000 !important;
- text-shadow: none !important;
- background: transparent !important;
- box-shadow: none !important;
- }
-
- a,
- a:visited {
- text-decoration: underline;
- }
-
- a[href]:after {
- content: " (" attr(href) ")";
- }
-
- abbr[title]:after {
- content: " (" attr(title) ")";
- }
-
- a[href^="javascript:"]:after,
- a[href^="#"]:after {
- content: "";
- }
-
- pre,
- blockquote {
- border: 1px solid #999;
-
- page-break-inside: avoid;
- }
-
- thead {
- display: table-header-group;
- }
-
- tr,
- img {
- page-break-inside: avoid;
- }
-
- img {
- max-width: 100% !important;
- }
-
- p,
- h2,
- h3 {
- orphans: 3;
- widows: 3;
- }
-
- h2,
- h3 {
- page-break-after: avoid;
- }
-
- select {
- background: #fff !important;
- }
-
- .navbar {
- display: none;
- }
-
- .table td,
- .table th {
- background-color: #fff !important;
- }
-
- .btn > .caret,
- .dropup > .btn > .caret {
- border-top-color: #000 !important;
- }
-
- .label {
- border: 1px solid #000;
- }
-
- .table {
- border-collapse: collapse !important;
- }
-
- .table-bordered th,
- .table-bordered td {
- border: 1px solid #ddd !important;
- }
-}
-
-.dataTableWrapperDiv div {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-*:before,
-*:after {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-html {
- font-size: 62.5%;
-
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-}
-
-body {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 14px;
- line-height: 1.42857143;
- color: #333;
- background-color: #fff;
-}
-
-input,
-button,
-select,
-textarea {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit;
-}
-
-a {
- color: #428bca;
- text-decoration: none;
-}
-
-a:hover,
-a:focus {
- color: #2a6496;
- text-decoration: underline;
-}
-
-a:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px;
-}
-
-figure {
- margin: 0;
-}
-
-img {
- vertical-align: middle;
-}
-
-.img-responsive,
-.thumbnail > img,
-.thumbnail a > img,
-.carousel-inner > .item > img,
-.carousel-inner > .item > a > img {
- display: block;
- max-width: 100%;
- height: auto;
-}
-
-.img-rounded {
- border-radius: 6px;
-}
-
-.img-thumbnail {
- display: inline-block;
- max-width: 100%;
- height: auto;
- padding: 4px;
- line-height: 1.42857143;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 4px;
- -webkit-transition: all .2s ease-in-out;
- transition: all .2s ease-in-out;
-}
-
-.img-circle {
- border-radius: 50%;
-}
-
-hr {
- margin-top: 20px;
- margin-bottom: 20px;
- border: 0;
- border-top: 1px solid #eee;
-}
-
-.sr-only {
- position: absolute;
- width: 1px;
- height: 1px;
- padding: 0;
- margin: -1px;
- overflow: hidden;
- clip: rect(0, 0, 0, 0);
- border: 0;
-}
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6,
-.h1,
-.h2,
-.h3,
-.h4,
-.h5,
-.h6 {
- font-family: inherit;
- font-weight: 500;
- line-height: 1.1;
- color: inherit;
-}
-
-h1 small,
-h2 small,
-h3 small,
-h4 small,
-h5 small,
-h6 small,
-.h1 small,
-.h2 small,
-.h3 small,
-.h4 small,
-.h5 small,
-.h6 small,
-h1 .small,
-h2 .small,
-h3 .small,
-h4 .small,
-h5 .small,
-h6 .small,
-.h1 .small,
-.h2 .small,
-.h3 .small,
-.h4 .small,
-.h5 .small,
-.h6 .small {
- font-weight: normal;
- line-height: 1;
- color: #999;
-}
-
-h1,
-.h1,
-h2,
-.h2,
-h3,
-.h3 {
- margin-top: 20px;
- margin-bottom: 10px;
-}
-
-h1 small,
-.h1 small,
-h2 small,
-.h2 small,
-h3 small,
-.h3 small,
-h1 .small,
-.h1 .small,
-h2 .small,
-.h2 .small,
-h3 .small,
-.h3 .small {
- font-size: 65%;
-}
-
-h4,
-.h4,
-h5,
-.h5,
-h6,
-.h6 {
- margin-top: 10px;
- margin-bottom: 10px;
-}
-
-h4 small,
-.h4 small,
-h5 small,
-.h5 small,
-h6 small,
-.h6 small,
-h4 .small,
-.h4 .small,
-h5 .small,
-.h5 .small,
-h6 .small,
-.h6 .small {
- font-size: 75%;
-}
-
-h1,
-.h1 {
- font-size: 36px;
-}
-
-h2,
-.h2 {
- font-size: 30px;
-}
-
-h3,
-.h3 {
- font-size: 24px;
-}
-
-h4,
-.h4 {
- font-size: 18px;
-}
-
-h5,
-.h5 {
- font-size: 14px;
-}
-
-h6,
-.h6 {
- font-size: 12px;
-}
-
-p {
- margin: 0 0 10px;
-}
-
-.lead {
- margin-bottom: 20px;
- font-size: 16px;
- font-weight: 200;
- line-height: 1.4;
-}
-
-@media (min-width: 768px) {
- .lead {
- font-size: 21px;
- }
-}
-
-small,
-.small {
- font-size: 85%;
-}
-
-cite {
- font-style: normal;
-}
-
-.text-left {
- text-align: left;
-}
-
-.text-right {
- text-align: right;
-}
-
-.text-center {
- text-align: center;
-}
-
-.text-justify {
- text-align: justify;
-}
-
-.text-muted {
- color: #999;
-}
-
-.text-primary {
- color: #428bca;
-}
-
-a.text-primary:hover {
- color: #3071a9;
-}
-
-.text-success {
- color: #3c763d;
-}
-
-a.text-success:hover {
- color: #2b542c;
-}
-
-.text-info {
- color: #31708f;
-}
-
-a.text-info:hover {
- color: #245269;
-}
-
-.text-warning {
- color: #8a6d3b;
-}
-
-a.text-warning:hover {
- color: #66512c;
-}
-
-.text-danger {
- color: #a94442;
-}
-
-a.text-danger:hover {
- color: #843534;
-}
-
-.bg-primary {
- color: #fff;
- background-color: #428bca;
-}
-
-a.bg-primary:hover {
- background-color: #3071a9;
-}
-
-.bg-success {
- background-color: #dff0d8;
-}
-
-a.bg-success:hover {
- background-color: #c1e2b3;
-}
-
-.bg-info {
- background-color: #d9edf7;
-}
-
-a.bg-info:hover {
- background-color: #afd9ee;
-}
-
-.bg-warning {
- background-color: #fcf8e3;
-}
-
-a.bg-warning:hover {
- background-color: #f7ecb5;
-}
-
-.bg-danger {
- background-color: #f2dede;
-}
-
-a.bg-danger:hover {
- background-color: #e4b9b9;
-}
-
-.page-header {
- padding-bottom: 9px;
- margin: 40px 0 20px;
- border-bottom: 1px solid #eee;
-}
-
-ul,
-ol {
- margin-top: 0;
- margin-bottom: 10px;
-}
-
-ul ul,
-ol ul,
-ul ol,
-ol ol {
- margin-bottom: 0;
-}
-
-.list-unstyled {
- padding-left: 0;
- list-style: none;
-}
-
-.list-inline {
- padding-left: 0;
- margin-left: -5px;
- list-style: none;
-}
-
-.list-inline > li {
- display: inline-block;
- padding-right: 5px;
- padding-left: 5px;
-}
-
-dl {
- margin-top: 0;
- margin-bottom: 20px;
-}
-
-dt,
-dd {
- line-height: 1.42857143;
-}
-
-dt {
- font-weight: bold;
-}
-
-dd {
- margin-left: 0;
-}
-
-@media (min-width: 768px) {
- .dl-horizontal dt {
- float: left;
- width: 160px;
- overflow: hidden;
- clear: left;
- text-align: right;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-
- .dl-horizontal dd {
- margin-left: 180px;
- }
-}
-
-abbr[title],
-abbr[data-original-title] {
- cursor: help;
- border-bottom: 1px dotted #999;
-}
-
-.initialism {
- font-size: 90%;
- text-transform: uppercase;
-}
-
-blockquote {
- padding: 10px 20px;
- margin: 0 0 20px;
- font-size: 17.5px;
- border-left: 5px solid #eee;
-}
-
-blockquote p:last-child,
-blockquote ul:last-child,
-blockquote ol:last-child {
- margin-bottom: 0;
-}
-
-blockquote footer,
-blockquote small,
-blockquote .small {
- display: block;
- font-size: 80%;
- line-height: 1.42857143;
- color: #999;
-}
-
-blockquote footer:before,
-blockquote small:before,
-blockquote .small:before {
- content: '\2014 \00A0';
-}
-
-.blockquote-reverse,
-blockquote.pull-right {
- padding-right: 15px;
- padding-left: 0;
- text-align: right;
- border-right: 5px solid #eee;
- border-left: 0;
-}
-
-.blockquote-reverse footer:before,
-blockquote.pull-right footer:before,
-.blockquote-reverse small:before,
-blockquote.pull-right small:before,
-.blockquote-reverse .small:before,
-blockquote.pull-right .small:before {
- content: '';
-}
-
-.blockquote-reverse footer:after,
-blockquote.pull-right footer:after,
-.blockquote-reverse small:after,
-blockquote.pull-right small:after,
-.blockquote-reverse .small:after,
-blockquote.pull-right .small:after {
- content: '\00A0 \2014';
-}
-
-blockquote:before,
-blockquote:after {
- content: "";
-}
-
-address {
- margin-bottom: 20px;
- font-style: normal;
- line-height: 1.42857143;
-}
-
-code,
-kbd,
-pre,
-samp {
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
-}
-
-code {
- padding: 2px 4px;
- font-size: 90%;
- color: #c7254e;
- white-space: nowrap;
- background-color: #f9f2f4;
- border-radius: 4px;
-}
-
-kbd {
- padding: 2px 4px;
- font-size: 90%;
- color: #fff;
- background-color: #333;
- border-radius: 3px;
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
-}
-
-pre {
- display: block;
- padding: 9.5px;
- margin: 0 0 10px;
- font-size: 13px;
- line-height: 1.42857143;
- color: #333;
- word-break: break-all;
- word-wrap: break-word;
- background-color: #f5f5f5;
- border: 1px solid #ccc;
- border-radius: 4px;
-}
-
-pre code {
- padding: 0;
- font-size: inherit;
- color: inherit;
- white-space: pre-wrap;
- background-color: transparent;
- border-radius: 0;
-}
-
-.pre-scrollable {
- max-height: 340px;
- overflow-y: scroll;
-}
-
-.container {
- padding-right: 15px;
- padding-left: 15px;
- margin-right: auto;
- margin-left: auto;
-}
-
-@media (min-width: 768px) {
- .container {
- width: 750px;
- }
-}
-
-@media (min-width: 992px) {
- .container {
- width: 970px;
- }
-}
-
-@media (min-width: 1200px) {
- .container {
- width: 1170px;
- }
-}
-
-.container-fluid {
- padding-right: 15px;
- padding-left: 15px;
- margin-right: auto;
- margin-left: auto;
-}
-
-.row {
- margin-right: -15px;
- margin-left: -15px;
-}
-
-.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
- position: relative;
- min-height: 1px;
- padding-right: 15px;
- padding-left: 15px;
-}
-
-.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
- float: left;
-}
-
-.col-xs-12 {
- width: 100%;
-}
-
-.col-xs-11 {
- width: 91.66666667%;
-}
-
-.col-xs-10 {
- width: 83.33333333%;
-}
-
-.col-xs-9 {
- width: 75%;
-}
-
-.col-xs-8 {
- width: 66.66666667%;
-}
-
-.col-xs-7 {
- width: 58.33333333%;
-}
-
-.col-xs-6 {
- width: 50%;
-}
-
-.col-xs-5 {
- width: 41.66666667%;
-}
-
-.col-xs-4 {
- width: 33.33333333%;
-}
-
-.col-xs-3 {
- width: 25%;
-}
-
-.col-xs-2 {
- width: 16.66666667%;
-}
-
-.col-xs-1 {
- width: 8.33333333%;
-}
-
-.col-xs-pull-12 {
- right: 100%;
-}
-
-.col-xs-pull-11 {
- right: 91.66666667%;
-}
-
-.col-xs-pull-10 {
- right: 83.33333333%;
-}
-
-.col-xs-pull-9 {
- right: 75%;
-}
-
-.col-xs-pull-8 {
- right: 66.66666667%;
-}
-
-.col-xs-pull-7 {
- right: 58.33333333%;
-}
-
-.col-xs-pull-6 {
- right: 50%;
-}
-
-.col-xs-pull-5 {
- right: 41.66666667%;
-}
-
-.col-xs-pull-4 {
- right: 33.33333333%;
-}
-
-.col-xs-pull-3 {
- right: 25%;
-}
-
-.col-xs-pull-2 {
- right: 16.66666667%;
-}
-
-.col-xs-pull-1 {
- right: 8.33333333%;
-}
-
-.col-xs-pull-0 {
- right: 0;
-}
-
-.col-xs-push-12 {
- left: 100%;
-}
-
-.col-xs-push-11 {
- left: 91.66666667%;
-}
-
-.col-xs-push-10 {
- left: 83.33333333%;
-}
-
-.col-xs-push-9 {
- left: 75%;
-}
-
-.col-xs-push-8 {
- left: 66.66666667%;
-}
-
-.col-xs-push-7 {
- left: 58.33333333%;
-}
-
-.col-xs-push-6 {
- left: 50%;
-}
-
-.col-xs-push-5 {
- left: 41.66666667%;
-}
-
-.col-xs-push-4 {
- left: 33.33333333%;
-}
-
-.col-xs-push-3 {
- left: 25%;
-}
-
-.col-xs-push-2 {
- left: 16.66666667%;
-}
-
-.col-xs-push-1 {
- left: 8.33333333%;
-}
-
-.col-xs-push-0 {
- left: 0;
-}
-
-.col-xs-offset-12 {
- margin-left: 100%;
-}
-
-.col-xs-offset-11 {
- margin-left: 91.66666667%;
-}
-
-.col-xs-offset-10 {
- margin-left: 83.33333333%;
-}
-
-.col-xs-offset-9 {
- margin-left: 75%;
-}
-
-.col-xs-offset-8 {
- margin-left: 66.66666667%;
-}
-
-.col-xs-offset-7 {
- margin-left: 58.33333333%;
-}
-
-.col-xs-offset-6 {
- margin-left: 50%;
-}
-
-.col-xs-offset-5 {
- margin-left: 41.66666667%;
-}
-
-.col-xs-offset-4 {
- margin-left: 33.33333333%;
-}
-
-.col-xs-offset-3 {
- margin-left: 25%;
-}
-
-.col-xs-offset-2 {
- margin-left: 16.66666667%;
-}
-
-.col-xs-offset-1 {
- margin-left: 8.33333333%;
-}
-
-.col-xs-offset-0 {
- margin-left: 0;
-}
-
-@media (min-width: 768px) {
- .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
- float: left;
- }
-
- .col-sm-12 {
- width: 100%;
- }
-
- .col-sm-11 {
- width: 91.66666667%;
- }
-
- .col-sm-10 {
- width: 83.33333333%;
- }
-
- .col-sm-9 {
- width: 75%;
- }
-
- .col-sm-8 {
- width: 66.66666667%;
- }
-
- .col-sm-7 {
- width: 58.33333333%;
- }
-
- .col-sm-6 {
- width: 50%;
- }
-
- .col-sm-5 {
- width: 41.66666667%;
- }
-
- .col-sm-4 {
- width: 33.33333333%;
- }
-
- .col-sm-3 {
- width: 25%;
- }
-
- .col-sm-2 {
- width: 16.66666667%;
- }
-
- .col-sm-1 {
- width: 8.33333333%;
- }
-
- .col-sm-pull-12 {
- right: 100%;
- }
-
- .col-sm-pull-11 {
- right: 91.66666667%;
- }
-
- .col-sm-pull-10 {
- right: 83.33333333%;
- }
-
- .col-sm-pull-9 {
- right: 75%;
- }
-
- .col-sm-pull-8 {
- right: 66.66666667%;
- }
-
- .col-sm-pull-7 {
- right: 58.33333333%;
- }
-
- .col-sm-pull-6 {
- right: 50%;
- }
-
- .col-sm-pull-5 {
- right: 41.66666667%;
- }
-
- .col-sm-pull-4 {
- right: 33.33333333%;
- }
-
- .col-sm-pull-3 {
- right: 25%;
- }
-
- .col-sm-pull-2 {
- right: 16.66666667%;
- }
-
- .col-sm-pull-1 {
- right: 8.33333333%;
- }
-
- .col-sm-pull-0 {
- right: 0;
- }
-
- .col-sm-push-12 {
- left: 100%;
- }
-
- .col-sm-push-11 {
- left: 91.66666667%;
- }
-
- .col-sm-push-10 {
- left: 83.33333333%;
- }
-
- .col-sm-push-9 {
- left: 75%;
- }
-
- .col-sm-push-8 {
- left: 66.66666667%;
- }
-
- .col-sm-push-7 {
- left: 58.33333333%;
- }
-
- .col-sm-push-6 {
- left: 50%;
- }
-
- .col-sm-push-5 {
- left: 41.66666667%;
- }
-
- .col-sm-push-4 {
- left: 33.33333333%;
- }
-
- .col-sm-push-3 {
- left: 25%;
- }
-
- .col-sm-push-2 {
- left: 16.66666667%;
- }
-
- .col-sm-push-1 {
- left: 8.33333333%;
- }
-
- .col-sm-push-0 {
- left: 0;
- }
-
- .col-sm-offset-12 {
- margin-left: 100%;
- }
-
- .col-sm-offset-11 {
- margin-left: 91.66666667%;
- }
-
- .col-sm-offset-10 {
- margin-left: 83.33333333%;
- }
-
- .col-sm-offset-9 {
- margin-left: 75%;
- }
-
- .col-sm-offset-8 {
- margin-left: 66.66666667%;
- }
-
- .col-sm-offset-7 {
- margin-left: 58.33333333%;
- }
-
- .col-sm-offset-6 {
- margin-left: 50%;
- }
-
- .col-sm-offset-5 {
- margin-left: 41.66666667%;
- }
-
- .col-sm-offset-4 {
- margin-left: 33.33333333%;
- }
-
- .col-sm-offset-3 {
- margin-left: 25%;
- }
-
- .col-sm-offset-2 {
- margin-left: 16.66666667%;
- }
-
- .col-sm-offset-1 {
- margin-left: 8.33333333%;
- }
-
- .col-sm-offset-0 {
- margin-left: 0;
- }
-}
-
-@media (min-width: 992px) {
- .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
- float: left;
- }
-
- .col-md-12 {
- width: 100%;
- }
-
- .col-md-11 {
- width: 91.66666667%;
- }
-
- .col-md-10 {
- width: 83.33333333%;
- }
-
- .col-md-9 {
- width: 75%;
- }
-
- .col-md-8 {
- width: 66.66666667%;
- }
-
- .col-md-7 {
- width: 58.33333333%;
- }
-
- .col-md-6 {
- width: 50%;
- }
-
- .col-md-5 {
- width: 41.66666667%;
- }
-
- .col-md-4 {
- width: 33.33333333%;
- }
-
- .col-md-3 {
- width: 25%;
- }
-
- .col-md-2 {
- width: 16.66666667%;
- }
-
- .col-md-1 {
- width: 8.33333333%;
- }
-
- .col-md-pull-12 {
- right: 100%;
- }
-
- .col-md-pull-11 {
- right: 91.66666667%;
- }
-
- .col-md-pull-10 {
- right: 83.33333333%;
- }
-
- .col-md-pull-9 {
- right: 75%;
- }
-
- .col-md-pull-8 {
- right: 66.66666667%;
- }
-
- .col-md-pull-7 {
- right: 58.33333333%;
- }
-
- .col-md-pull-6 {
- right: 50%;
- }
-
- .col-md-pull-5 {
- right: 41.66666667%;
- }
-
- .col-md-pull-4 {
- right: 33.33333333%;
- }
-
- .col-md-pull-3 {
- right: 25%;
- }
-
- .col-md-pull-2 {
- right: 16.66666667%;
- }
-
- .col-md-pull-1 {
- right: 8.33333333%;
- }
-
- .col-md-pull-0 {
- right: 0;
- }
-
- .col-md-push-12 {
- left: 100%;
- }
-
- .col-md-push-11 {
- left: 91.66666667%;
- }
-
- .col-md-push-10 {
- left: 83.33333333%;
- }
-
- .col-md-push-9 {
- left: 75%;
- }
-
- .col-md-push-8 {
- left: 66.66666667%;
- }
-
- .col-md-push-7 {
- left: 58.33333333%;
- }
-
- .col-md-push-6 {
- left: 50%;
- }
-
- .col-md-push-5 {
- left: 41.66666667%;
- }
-
- .col-md-push-4 {
- left: 33.33333333%;
- }
-
- .col-md-push-3 {
- left: 25%;
- }
-
- .col-md-push-2 {
- left: 16.66666667%;
- }
-
- .col-md-push-1 {
- left: 8.33333333%;
- }
-
- .col-md-push-0 {
- left: 0;
- }
-
- .col-md-offset-12 {
- margin-left: 100%;
- }
-
- .col-md-offset-11 {
- margin-left: 91.66666667%;
- }
-
- .col-md-offset-10 {
- margin-left: 83.33333333%;
- }
-
- .col-md-offset-9 {
- margin-left: 75%;
- }
-
- .col-md-offset-8 {
- margin-left: 66.66666667%;
- }
-
- .col-md-offset-7 {
- margin-left: 58.33333333%;
- }
-
- .col-md-offset-6 {
- margin-left: 50%;
- }
-
- .col-md-offset-5 {
- margin-left: 41.66666667%;
- }
-
- .col-md-offset-4 {
- margin-left: 33.33333333%;
- }
-
- .col-md-offset-3 {
- margin-left: 25%;
- }
-
- .col-md-offset-2 {
- margin-left: 16.66666667%;
- }
-
- .col-md-offset-1 {
- margin-left: 8.33333333%;
- }
-
- .col-md-offset-0 {
- margin-left: 0;
- }
-}
-
-@media (min-width: 1200px) {
- .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
- float: left;
- }
-
- .col-lg-12 {
- width: 100%;
- }
-
- .col-lg-11 {
- width: 91.66666667%;
- }
-
- .col-lg-10 {
- width: 83.33333333%;
- }
-
- .col-lg-9 {
- width: 75%;
- }
-
- .col-lg-8 {
- width: 66.66666667%;
- }
-
- .col-lg-7 {
- width: 58.33333333%;
- }
-
- .col-lg-6 {
- width: 50%;
- }
-
- .col-lg-5 {
- width: 41.66666667%;
- }
-
- .col-lg-4 {
- width: 33.33333333%;
- }
-
- .col-lg-3 {
- width: 25%;
- }
-
- .col-lg-2 {
- width: 16.66666667%;
- }
-
- .col-lg-1 {
- width: 8.33333333%;
- }
-
- .col-lg-pull-12 {
- right: 100%;
- }
-
- .col-lg-pull-11 {
- right: 91.66666667%;
- }
-
- .col-lg-pull-10 {
- right: 83.33333333%;
- }
-
- .col-lg-pull-9 {
- right: 75%;
- }
-
- .col-lg-pull-8 {
- right: 66.66666667%;
- }
-
- .col-lg-pull-7 {
- right: 58.33333333%;
- }
-
- .col-lg-pull-6 {
- right: 50%;
- }
-
- .col-lg-pull-5 {
- right: 41.66666667%;
- }
-
- .col-lg-pull-4 {
- right: 33.33333333%;
- }
-
- .col-lg-pull-3 {
- right: 25%;
- }
-
- .col-lg-pull-2 {
- right: 16.66666667%;
- }
-
- .col-lg-pull-1 {
- right: 8.33333333%;
- }
-
- .col-lg-pull-0 {
- right: 0;
- }
-
- .col-lg-push-12 {
- left: 100%;
- }
-
- .col-lg-push-11 {
- left: 91.66666667%;
- }
-
- .col-lg-push-10 {
- left: 83.33333333%;
- }
-
- .col-lg-push-9 {
- left: 75%;
- }
-
- .col-lg-push-8 {
- left: 66.66666667%;
- }
-
- .col-lg-push-7 {
- left: 58.33333333%;
- }
-
- .col-lg-push-6 {
- left: 50%;
- }
-
- .col-lg-push-5 {
- left: 41.66666667%;
- }
-
- .col-lg-push-4 {
- left: 33.33333333%;
- }
-
- .col-lg-push-3 {
- left: 25%;
- }
-
- .col-lg-push-2 {
- left: 16.66666667%;
- }
-
- .col-lg-push-1 {
- left: 8.33333333%;
- }
-
- .col-lg-push-0 {
- left: 0;
- }
-
- .col-lg-offset-12 {
- margin-left: 100%;
- }
-
- .col-lg-offset-11 {
- margin-left: 91.66666667%;
- }
-
- .col-lg-offset-10 {
- margin-left: 83.33333333%;
- }
-
- .col-lg-offset-9 {
- margin-left: 75%;
- }
-
- .col-lg-offset-8 {
- margin-left: 66.66666667%;
- }
-
- .col-lg-offset-7 {
- margin-left: 58.33333333%;
- }
-
- .col-lg-offset-6 {
- margin-left: 50%;
- }
-
- .col-lg-offset-5 {
- margin-left: 41.66666667%;
- }
-
- .col-lg-offset-4 {
- margin-left: 33.33333333%;
- }
-
- .col-lg-offset-3 {
- margin-left: 25%;
- }
-
- .col-lg-offset-2 {
- margin-left: 16.66666667%;
- }
-
- .col-lg-offset-1 {
- margin-left: 8.33333333%;
- }
-
- .col-lg-offset-0 {
- margin-left: 0;
- }
-}
-
-table {
- max-width: 100%;
- background-color: transparent;
-}
-
-th {
- text-align: left;
-}
-
-.table {
- width: 100%;
- margin-bottom: 20px;
-}
-
-.table > thead > tr > th,
-.table > tbody > tr > th,
-.table > tfoot > tr > th,
-.table > thead > tr > td,
-.table > tbody > tr > td,
-.table > tfoot > tr > td {
- padding: 8px;
- line-height: 1.42857143;
- vertical-align: top;
- border-top: 1px solid #ddd;
-}
-
-.table > thead > tr > th {
- vertical-align: bottom;
- border-bottom: 2px solid #ddd;
-}
-
-.table > caption + thead > tr:first-child > th,
-.table > colgroup + thead > tr:first-child > th,
-.table > thead:first-child > tr:first-child > th,
-.table > caption + thead > tr:first-child > td,
-.table > colgroup + thead > tr:first-child > td,
-.table > thead:first-child > tr:first-child > td {
- border-top: 0;
-}
-
-.table > tbody + tbody {
- border-top: 2px solid #ddd;
-}
-
-.table .table {
- background-color: #fff;
-}
-
-.table-condensed > thead > tr > th,
-.table-condensed > tbody > tr > th,
-.table-condensed > tfoot > tr > th,
-.table-condensed > thead > tr > td,
-.table-condensed > tbody > tr > td,
-.table-condensed > tfoot > tr > td {
- padding: 5px;
-}
-
-.table-bordered {
- border: 1px solid #ddd;
-}
-
-.table-bordered > thead > tr > th,
-.table-bordered > tbody > tr > th,
-.table-bordered > tfoot > tr > th,
-.table-bordered > thead > tr > td,
-.table-bordered > tbody > tr > td,
-.table-bordered > tfoot > tr > td {
- border: 1px solid #ddd;
-}
-
-.table-bordered > thead > tr > th,
-.table-bordered > thead > tr > td {
- border-bottom-width: 2px;
-}
-
-.table-striped > tbody > tr:nth-child(odd) > td,
-.table-striped > tbody > tr:nth-child(odd) > th {
- background-color: #f9f9f9;
-}
-
-.table-hover > tbody > tr:hover > td,
-.table-hover > tbody > tr:hover > th {
- /*background-color: #f5f5f5;*/
- background-color: #dbedff;
-}
-
-.dataTableTdSelected {
- background-color: #dbedff !important;
-}
-
-table col[class*="col-"] {
- position: static;
- display: table-column;
- float: none;
-}
-
-table td[class*="col-"],
-table th[class*="col-"] {
- position: static;
- display: table-cell;
- float: none;
-}
-
-.table > thead > tr > td.active,
-.table > tbody > tr > td.active,
-.table > tfoot > tr > td.active,
-.table > thead > tr > th.active,
-.table > tbody > tr > th.active,
-.table > tfoot > tr > th.active,
-.table > thead > tr.active > td,
-.table > tbody > tr.active > td,
-.table > tfoot > tr.active > td,
-.table > thead > tr.active > th,
-.table > tbody > tr.active > th,
-.table > tfoot > tr.active > th {
- background-color: #f5f5f5;
-}
-
-.table-hover > tbody > tr > td.active:hover,
-.table-hover > tbody > tr > th.active:hover,
-.table-hover > tbody > tr.active:hover > td,
-.table-hover > tbody > tr.active:hover > th {
- background-color: #e8e8e8;
-}
-
-.table > thead > tr > td.success,
-.table > tbody > tr > td.success,
-.table > tfoot > tr > td.success,
-.table > thead > tr > th.success,
-.table > tbody > tr > th.success,
-.table > tfoot > tr > th.success,
-.table > thead > tr.success > td,
-.table > tbody > tr.success > td,
-.table > tfoot > tr.success > td,
-.table > thead > tr.success > th,
-.table > tbody > tr.success > th,
-.table > tfoot > tr.success > th {
- background-color: #dff0d8;
-}
-
-.table-hover > tbody > tr > td.success:hover,
-.table-hover > tbody > tr > th.success:hover,
-.table-hover > tbody > tr.success:hover > td,
-.table-hover > tbody > tr.success:hover > th {
- background-color: #d0e9c6;
-}
-
-.table > thead > tr > td.info,
-.table > tbody > tr > td.info,
-.table > tfoot > tr > td.info,
-.table > thead > tr > th.info,
-.table > tbody > tr > th.info,
-.table > tfoot > tr > th.info,
-.table > thead > tr.info > td,
-.table > tbody > tr.info > td,
-.table > tfoot > tr.info > td,
-.table > thead > tr.info > th,
-.table > tbody > tr.info > th,
-.table > tfoot > tr.info > th {
- background-color: #d9edf7;
-}
-
-.table-hover > tbody > tr > td.info:hover,
-.table-hover > tbody > tr > th.info:hover,
-.table-hover > tbody > tr.info:hover > td,
-.table-hover > tbody > tr.info:hover > th {
- background-color: #c4e3f3;
-}
-
-.table > thead > tr > td.warning,
-.table > tbody > tr > td.warning,
-.table > tfoot > tr > td.warning,
-.table > thead > tr > th.warning,
-.table > tbody > tr > th.warning,
-.table > tfoot > tr > th.warning,
-.table > thead > tr.warning > td,
-.table > tbody > tr.warning > td,
-.table > tfoot > tr.warning > td,
-.table > thead > tr.warning > th,
-.table > tbody > tr.warning > th,
-.table > tfoot > tr.warning > th {
- background-color: #fcf8e3;
-}
-
-.table-hover > tbody > tr > td.warning:hover,
-.table-hover > tbody > tr > th.warning:hover,
-.table-hover > tbody > tr.warning:hover > td,
-.table-hover > tbody > tr.warning:hover > th {
- background-color: #faf2cc;
-}
-
-.table > thead > tr > td.danger,
-.table > tbody > tr > td.danger,
-.table > tfoot > tr > td.danger,
-.table > thead > tr > th.danger,
-.table > tbody > tr > th.danger,
-.table > tfoot > tr > th.danger,
-.table > thead > tr.danger > td,
-.table > tbody > tr.danger > td,
-.table > tfoot > tr.danger > td,
-.table > thead > tr.danger > th,
-.table > tbody > tr.danger > th,
-.table > tfoot > tr.danger > th {
- background-color: #f2dede;
-}
-
-.table-hover > tbody > tr > td.danger:hover,
-.table-hover > tbody > tr > th.danger:hover,
-.table-hover > tbody > tr.danger:hover > td,
-.table-hover > tbody > tr.danger:hover > th {
- background-color: #ebcccc;
-}
-
-@media (max-width: 767px) {
- .table-responsive {
- width: 100%;
- margin-bottom: 15px;
- overflow-x: scroll;
- overflow-y: hidden;
- -webkit-overflow-scrolling: touch;
- -ms-overflow-style: -ms-autohiding-scrollbar;
- border: 1px solid #ddd;
- }
-
- .table-responsive > .table {
- margin-bottom: 0;
- }
-
- .table-responsive > .table > thead > tr > th,
- .table-responsive > .table > tbody > tr > th,
- .table-responsive > .table > tfoot > tr > th,
- .table-responsive > .table > thead > tr > td,
- .table-responsive > .table > tbody > tr > td,
- .table-responsive > .table > tfoot > tr > td {
- white-space: nowrap;
- }
-
- .table-responsive > .table-bordered {
- border: 0;
- }
-
- .table-responsive > .table-bordered > thead > tr > th:first-child,
- .table-responsive > .table-bordered > tbody > tr > th:first-child,
- .table-responsive > .table-bordered > tfoot > tr > th:first-child,
- .table-responsive > .table-bordered > thead > tr > td:first-child,
- .table-responsive > .table-bordered > tbody > tr > td:first-child,
- .table-responsive > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0;
- }
-
- .table-responsive > .table-bordered > thead > tr > th:last-child,
- .table-responsive > .table-bordered > tbody > tr > th:last-child,
- .table-responsive > .table-bordered > tfoot > tr > th:last-child,
- .table-responsive > .table-bordered > thead > tr > td:last-child,
- .table-responsive > .table-bordered > tbody > tr > td:last-child,
- .table-responsive > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0;
- }
-
- .table-responsive > .table-bordered > tbody > tr:last-child > th,
- .table-responsive > .table-bordered > tfoot > tr:last-child > th,
- .table-responsive > .table-bordered > tbody > tr:last-child > td,
- .table-responsive > .table-bordered > tfoot > tr:last-child > td {
- border-bottom: 0;
- }
-}
-
-fieldset {
- min-width: 0;
- padding: 0;
- margin: 0;
- border: 0;
-}
-
-legend {
- display: block;
- width: 100%;
- padding: 0;
- margin-bottom: 20px;
- font-size: 21px;
- line-height: inherit;
- color: #333;
- border: 0;
- border-bottom: 1px solid #e5e5e5;
-}
-
-label {
- display: inline-block;
- margin-bottom: 5px;
- font-weight: bold;
-}
-
-input[type="search"] {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-input[type="radio"],
-input[type="checkbox"] {
- margin: 4px 0 0;
- margin-top: 1px \9;
- /* IE8-9 */
- line-height: normal;
-}
-
-input[type="file"] {
- display: block;
-}
-
-input[type="range"] {
- display: block;
- width: 100%;
-}
-
-select[multiple],
-select[size] {
- height: auto;
-}
-
-input[type="file"]:focus,
-input[type="radio"]:focus,
-input[type="checkbox"]:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px;
-}
-
-output {
- display: block;
- padding-top: 7px;
- font-size: 14px;
- line-height: 1.42857143;
- color: #555;
-}
-
-.form-control {
- display: block;
- width: 100%;
- height: 34px;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 1.42857143;
- color: #555;
- background-color: #fff;
- background-image: none;
- border: 1px solid #ccc;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-}
-
-.form-control:focus {
- border-color: #66afe9;
- outline: 0;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
-}
-
-.form-control::-moz-placeholder {
- color: #999;
- opacity: 1;
-}
-
-.form-control:-ms-input-placeholder {
- color: #999;
-}
-
-.form-control::-webkit-input-placeholder {
- color: #999;
-}
-
-.form-control[disabled],
-.form-control[readonly],
-fieldset[disabled] .form-control {
- cursor: not-allowed;
- background-color: #eee;
- opacity: 1;
-}
-
-textarea.form-control {
- height: auto;
-}
-
-input[type="search"] {
- -webkit-appearance: none;
-}
-
-input[type="date"] {
- line-height: 34px;
-}
-
-.form-group {
- margin-bottom: 15px;
-}
-
-.radio,
-.checkbox {
- display: block;
- min-height: 20px;
- padding-left: 20px;
- margin-top: 10px;
- margin-bottom: 10px;
-}
-
-.radio label,
-.checkbox label {
- display: inline;
- font-weight: normal;
- cursor: pointer;
-}
-
-.radio input[type="radio"],
-.radio-inline input[type="radio"],
-.checkbox input[type="checkbox"],
-.checkbox-inline input[type="checkbox"] {
- float: left;
- margin-left: -20px;
-}
-
-.radio + .radio,
-.checkbox + .checkbox {
- margin-top: -5px;
-}
-
-.radio-inline,
-.checkbox-inline {
- display: inline-block;
- padding-left: 20px;
- margin-bottom: 0;
- font-weight: normal;
- vertical-align: middle;
- cursor: pointer;
-}
-
-.radio-inline + .radio-inline,
-.checkbox-inline + .checkbox-inline {
- margin-top: 0;
- margin-left: 10px;
-}
-
-input[type="radio"][disabled],
-input[type="checkbox"][disabled],
-.radio[disabled],
-.radio-inline[disabled],
-.checkbox[disabled],
-.checkbox-inline[disabled],
-fieldset[disabled] input[type="radio"],
-fieldset[disabled] input[type="checkbox"],
-fieldset[disabled] .radio,
-fieldset[disabled] .radio-inline,
-fieldset[disabled] .checkbox,
-fieldset[disabled] .checkbox-inline {
- cursor: not-allowed;
-}
-
-.input-sm {
- height: 30px;
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px;
-}
-
-select.input-sm {
- height: 30px;
- line-height: 30px;
-}
-
-textarea.input-sm,
-select[multiple].input-sm {
- height: auto;
-}
-
-.input-lg {
- height: 46px;
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 6px;
-}
-
-select.input-lg {
- height: 46px;
- line-height: 46px;
-}
-
-textarea.input-lg,
-select[multiple].input-lg {
- height: auto;
-}
-
-.has-feedback {
- position: relative;
-}
-
-.has-feedback .form-control {
- padding-right: 42.5px;
-}
-
-.has-feedback .form-control-feedback {
- position: absolute;
- top: 25px;
- right: 0;
- display: block;
- width: 34px;
- height: 34px;
- line-height: 34px;
- text-align: center;
-}
-
-.has-success .help-block,
-.has-success .control-label,
-.has-success .radio,
-.has-success .checkbox,
-.has-success .radio-inline,
-.has-success .checkbox-inline {
- color: #3c763d;
-}
-
-.has-success .form-control {
- border-color: #3c763d;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
-}
-
-.has-success .form-control:focus {
- border-color: #2b542c;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
-}
-
-.has-success .input-group-addon {
- color: #3c763d;
- background-color: #dff0d8;
- border-color: #3c763d;
-}
-
-.has-success .form-control-feedback {
- color: #3c763d;
-}
-
-.has-warning .help-block,
-.has-warning .control-label,
-.has-warning .radio,
-.has-warning .checkbox,
-.has-warning .radio-inline,
-.has-warning .checkbox-inline {
- color: #8a6d3b;
-}
-
-.has-warning .form-control {
- border-color: #8a6d3b;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
-}
-
-.has-warning .form-control:focus {
- border-color: #66512c;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
-}
-
-.has-warning .input-group-addon {
- color: #8a6d3b;
- background-color: #fcf8e3;
- border-color: #8a6d3b;
-}
-
-.has-warning .form-control-feedback {
- color: #8a6d3b;
-}
-
-.has-error .help-block,
-.has-error .control-label,
-.has-error .radio,
-.has-error .checkbox,
-.has-error .radio-inline,
-.has-error .checkbox-inline {
- color: #a94442;
-}
-
-.has-error .form-control {
- border-color: #a94442;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
-}
-
-.has-error .form-control:focus {
- border-color: #843534;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
-}
-
-.has-error .input-group-addon {
- color: #a94442;
- background-color: #f2dede;
- border-color: #a94442;
-}
-
-.has-error .form-control-feedback {
- color: #a94442;
-}
-
-.form-control-static {
- margin-bottom: 0;
-}
-
-.help-block {
- display: block;
- margin-top: 5px;
- margin-bottom: 10px;
- color: #737373;
-}
-
-@media (min-width: 768px) {
- .form-inline .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle;
- }
-
- .form-inline .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle;
- }
-
- .form-inline .input-group > .form-control {
- width: 100%;
- }
-
- .form-inline .control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
-
- .form-inline .radio,
- .form-inline .checkbox {
- display: inline-block;
- padding-left: 0;
- margin-top: 0;
- margin-bottom: 0;
- vertical-align: middle;
- }
-
- .form-inline .radio input[type="radio"],
- .form-inline .checkbox input[type="checkbox"] {
- float: none;
- margin-left: 0;
- }
-
- .form-inline .has-feedback .form-control-feedback {
- top: 0;
- }
-}
-
-.form-horizontal .control-label,
-.form-horizontal .radio,
-.form-horizontal .checkbox,
-.form-horizontal .radio-inline,
-.form-horizontal .checkbox-inline {
- padding-top: 7px;
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.form-horizontal .radio,
-.form-horizontal .checkbox {
- min-height: 27px;
-}
-
-.form-horizontal .form-group {
- margin-right: -15px;
- margin-left: -15px;
-}
-
-.form-horizontal .form-control-static {
- padding-top: 7px;
-}
-
-@media (min-width: 768px) {
- .form-horizontal .control-label {
- text-align: right;
- }
-}
-
-.form-horizontal .has-feedback .form-control-feedback {
- top: 0;
- right: 15px;
-}
-
-.btn {
- display: inline-block;
- padding: 6px 12px;
- margin-bottom: 0;
- font-size: 14px;
- font-weight: normal;
- line-height: 1.42857143;
- text-align: center;
- white-space: nowrap;
- vertical-align: middle;
- cursor: pointer;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- background-image: none;
- border: 1px solid transparent;
- border-radius: 4px;
-}
-
-.btn:focus,
-.btn:active:focus,
-.btn.active:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px;
-}
-
-.btn:hover,
-.btn:focus {
- color: #333;
- text-decoration: none;
-}
-
-.btn:active,
-.btn.active {
- background-image: none;
- outline: 0;
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
-}
-
-.btn.disabled,
-.btn[disabled],
-fieldset[disabled] .btn {
- pointer-events: none;
- cursor: not-allowed;
- filter: alpha(opacity=65);
- -webkit-box-shadow: none;
- box-shadow: none;
- opacity: .65;
-}
-
-.btn.default {
- color: #333333;
- text-shadow: none;
- background-color: #e5e5e5;
- height: 12px;
-}
-
-.btn.default:hover,
-.btn.default:focus,
-.btn.default:active,
-.btn.default.active,
-.btn.default[disabled],
-.btn.default.disabled {
- color: #333333;
- background-color: #d8d8d8 !important;
- outline: none !important;
-}
-
-.btn-default:hover,
-.btn-default:focus,
-.btn-default:active,
-.btn-default.active,
-.open .dropdown-toggle.btn-default {
- color: #333;
- background-color: #ebebeb;
- border-color: #adadad;
-}
-
-.btn-default:active,
-.btn-default.active,
-.open .dropdown-toggle.btn-default {
- background-image: none;
-}
-
-.btn-default.disabled,
-.btn-default[disabled],
-fieldset[disabled] .btn-default,
-.btn-default.disabled:hover,
-.btn-default[disabled]:hover,
-fieldset[disabled] .btn-default:hover,
-.btn-default.disabled:focus,
-.btn-default[disabled]:focus,
-fieldset[disabled] .btn-default:focus,
-.btn-default.disabled:active,
-.btn-default[disabled]:active,
-fieldset[disabled] .btn-default:active,
-.btn-default.disabled.active,
-.btn-default[disabled].active,
-fieldset[disabled] .btn-default.active {
- background-color: #fff;
- border-color: #ccc;
-}
-
-.btn-default .badge {
- color: #fff;
- background-color: #333;
-}
-
-.btn-primary {
- color: #fff;
- background-color: #428bca;
- border-color: #357ebd;
-}
-
-.btn-primary:hover,
-.btn-primary:focus,
-.btn-primary:active,
-.btn-primary.active,
-.open .dropdown-toggle.btn-primary {
- color: #fff;
- background-color: #3276b1;
- border-color: #285e8e;
-}
-
-.btn-primary:active,
-.btn-primary.active,
-.open .dropdown-toggle.btn-primary {
- background-image: none;
-}
-
-.btn-primary.disabled,
-.btn-primary[disabled],
-fieldset[disabled] .btn-primary,
-.btn-primary.disabled:hover,
-.btn-primary[disabled]:hover,
-fieldset[disabled] .btn-primary:hover,
-.btn-primary.disabled:focus,
-.btn-primary[disabled]:focus,
-fieldset[disabled] .btn-primary:focus,
-.btn-primary.disabled:active,
-.btn-primary[disabled]:active,
-fieldset[disabled] .btn-primary:active,
-.btn-primary.disabled.active,
-.btn-primary[disabled].active,
-fieldset[disabled] .btn-primary.active {
- background-color: #428bca;
- border-color: #357ebd;
-}
-
-.btn-primary .badge {
- color: #428bca;
- background-color: #fff;
-}
-
-.btn-success {
- color: #fff;
- background-color: #5cb85c;
- border-color: #4cae4c;
-}
-
-.btn-success:hover,
-.btn-success:focus,
-.btn-success:active,
-.btn-success.active,
-.open .dropdown-toggle.btn-success {
- color: #fff;
- background-color: #47a447;
- border-color: #398439;
-}
-
-.btn-success:active,
-.btn-success.active,
-.open .dropdown-toggle.btn-success {
- background-image: none;
-}
-
-.btn-success.disabled,
-.btn-success[disabled],
-fieldset[disabled] .btn-success,
-.btn-success.disabled:hover,
-.btn-success[disabled]:hover,
-fieldset[disabled] .btn-success:hover,
-.btn-success.disabled:focus,
-.btn-success[disabled]:focus,
-fieldset[disabled] .btn-success:focus,
-.btn-success.disabled:active,
-.btn-success[disabled]:active,
-fieldset[disabled] .btn-success:active,
-.btn-success.disabled.active,
-.btn-success[disabled].active,
-fieldset[disabled] .btn-success.active {
- background-color: #5cb85c;
- border-color: #4cae4c;
-}
-
-.btn-success .badge {
- color: #5cb85c;
- background-color: #fff;
-}
-
-.btn-info {
- color: #fff;
- background-color: #5bc0de;
- border-color: #46b8da;
-}
-
-.btn-info:hover,
-.btn-info:focus,
-.btn-info:active,
-.btn-info.active,
-.open .dropdown-toggle.btn-info {
- color: #fff;
- background-color: #39b3d7;
- border-color: #269abc;
-}
-
-.btn-info:active,
-.btn-info.active,
-.open .dropdown-toggle.btn-info {
- background-image: none;
-}
-
-.btn-info.disabled,
-.btn-info[disabled],
-fieldset[disabled] .btn-info,
-.btn-info.disabled:hover,
-.btn-info[disabled]:hover,
-fieldset[disabled] .btn-info:hover,
-.btn-info.disabled:focus,
-.btn-info[disabled]:focus,
-fieldset[disabled] .btn-info:focus,
-.btn-info.disabled:active,
-.btn-info[disabled]:active,
-fieldset[disabled] .btn-info:active,
-.btn-info.disabled.active,
-.btn-info[disabled].active,
-fieldset[disabled] .btn-info.active {
- background-color: #5bc0de;
- border-color: #46b8da;
-}
-
-.btn-info .badge {
- color: #5bc0de;
- background-color: #fff;
-}
-
-.btn-warning {
- color: #fff;
- background-color: #f0ad4e;
- border-color: #eea236;
-}
-
-.btn-warning:hover,
-.btn-warning:focus,
-.btn-warning:active,
-.btn-warning.active,
-.open .dropdown-toggle.btn-warning {
- color: #fff;
- background-color: #ed9c28;
- border-color: #d58512;
-}
-
-.btn-warning:active,
-.btn-warning.active,
-.open .dropdown-toggle.btn-warning {
- background-image: none;
-}
-
-.btn-warning.disabled,
-.btn-warning[disabled],
-fieldset[disabled] .btn-warning,
-.btn-warning.disabled:hover,
-.btn-warning[disabled]:hover,
-fieldset[disabled] .btn-warning:hover,
-.btn-warning.disabled:focus,
-.btn-warning[disabled]:focus,
-fieldset[disabled] .btn-warning:focus,
-.btn-warning.disabled:active,
-.btn-warning[disabled]:active,
-fieldset[disabled] .btn-warning:active,
-.btn-warning.disabled.active,
-.btn-warning[disabled].active,
-fieldset[disabled] .btn-warning.active {
- background-color: #f0ad4e;
- border-color: #eea236;
-}
-
-.btn-warning .badge {
- color: #f0ad4e;
- background-color: #fff;
-}
-
-.btn-danger {
- color: #fff;
- background-color: #d9534f;
- border-color: #d43f3a;
-}
-
-.btn-danger:hover,
-.btn-danger:focus,
-.btn-danger:active,
-.btn-danger.active,
-.open .dropdown-toggle.btn-danger {
- color: #fff;
- background-color: #d2322d;
- border-color: #ac2925;
-}
-
-.btn-danger:active,
-.btn-danger.active,
-.open .dropdown-toggle.btn-danger {
- background-image: none;
-}
-
-.btn-danger.disabled,
-.btn-danger[disabled],
-fieldset[disabled] .btn-danger,
-.btn-danger.disabled:hover,
-.btn-danger[disabled]:hover,
-fieldset[disabled] .btn-danger:hover,
-.btn-danger.disabled:focus,
-.btn-danger[disabled]:focus,
-fieldset[disabled] .btn-danger:focus,
-.btn-danger.disabled:active,
-.btn-danger[disabled]:active,
-fieldset[disabled] .btn-danger:active,
-.btn-danger.disabled.active,
-.btn-danger[disabled].active,
-fieldset[disabled] .btn-danger.active {
- background-color: #d9534f;
- border-color: #d43f3a;
-}
-
-.btn-danger .badge {
- color: #d9534f;
- background-color: #fff;
-}
-
-.btn-link {
- font-weight: normal;
- color: #428bca;
- cursor: pointer;
- border-radius: 0;
-}
-
-.btn-link,
-.btn-link:active,
-.btn-link[disabled],
-fieldset[disabled] .btn-link {
- background-color: transparent;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.btn-link,
-.btn-link:hover,
-.btn-link:focus,
-.btn-link:active {
- border-color: transparent;
-}
-
-.btn-link:hover,
-.btn-link:focus {
- color: #2a6496;
- text-decoration: underline;
- background-color: transparent;
-}
-
-.btn-link[disabled]:hover,
-fieldset[disabled] .btn-link:hover,
-.btn-link[disabled]:focus,
-fieldset[disabled] .btn-link:focus {
- color: #999;
- text-decoration: none;
-}
-
-.btn-lg,
-.btn-group-lg > .btn {
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 6px;
-}
-
-.btn-sm,
-.btn-group-sm > .btn {
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px;
-}
-
-.btn-sm {
- padding: 2px 10px 8px 10px;
-}
-
-.btn-xs,
-.btn-group-xs > .btn {
- padding: 1px 5px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px;
-}
-
-.btn-block {
- display: block;
- width: 100%;
- padding-right: 0;
- padding-left: 0;
-}
-
-.btn-block + .btn-block {
- margin-top: 5px;
-}
-
-input[type="submit"].btn-block,
-input[type="reset"].btn-block,
-input[type="button"].btn-block {
- width: 100%;
-}
-
-.fade {
- opacity: 0;
- -webkit-transition: opacity .15s linear;
- transition: opacity .15s linear;
-}
-
-.fade.in {
- opacity: 1;
-}
-
-.collapse {
- display: none;
-}
-
-.collapse.in {
- display: block;
-}
-
-.collapsing {
- position: relative;
- height: 0;
- overflow: hidden;
- -webkit-transition: height .35s ease;
- transition: height .35s ease;
-}
-
-@font-face {
- font-family: 'Glyphicons Halflings';
-
- src: url('../fonts/glyphicons-halflings-regular.eot');
- src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
-}
-
-.glyphicon {
- position: relative;
- top: 1px;
- display: inline-block;
- font-family: 'Glyphicons Halflings';
- font-style: normal;
- font-weight: normal;
- line-height: 1;
-
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-.glyphicon-asterisk:before {
- content: "\2a";
-}
-
-.glyphicon-plus:before {
- content: "\2b";
-}
-
-.glyphicon-euro:before {
- content: "\20ac";
-}
-
-.glyphicon-minus:before {
- content: "\2212";
-}
-
-.glyphicon-cloud:before {
- content: "\2601";
-}
-
-.glyphicon-envelope:before {
- content: "\2709";
-}
-
-.glyphicon-pencil:before {
- content: "\270f";
-}
-
-.glyphicon-glass:before {
- content: "\e001";
-}
-
-.glyphicon-music:before {
- content: "\e002";
-}
-
-.glyphicon-search:before {
- content: "\e003";
-}
-
-.glyphicon-heart:before {
- content: "\e005";
-}
-
-.glyphicon-star:before {
- content: "\e006";
-}
-
-.glyphicon-star-empty:before {
- content: "\e007";
-}
-
-.glyphicon-user:before {
- content: "\e008";
-}
-
-.glyphicon-film:before {
- content: "\e009";
-}
-
-.glyphicon-th-large:before {
- content: "\e010";
-}
-
-.glyphicon-th:before {
- content: "\e011";
-}
-
-.glyphicon-th-list:before {
- content: "\e012";
-}
-
-.glyphicon-ok:before {
- content: "\e013";
-}
-
-.glyphicon-remove:before {
- content: "\e014";
-}
-
-.glyphicon-zoom-in:before {
- content: "\e015";
-}
-
-.glyphicon-zoom-out:before {
- content: "\e016";
-}
-
-.glyphicon-off:before {
- content: "\e017";
-}
-
-.glyphicon-signal:before {
- content: "\e018";
-}
-
-.glyphicon-cog:before {
- content: "\e019";
-}
-
-.glyphicon-trash:before {
- content: "\e020";
-}
-
-.glyphicon-home:before {
- content: "\e021";
-}
-
-.glyphicon-file:before {
- content: "\e022";
-}
-
-.glyphicon-time:before {
- content: "\e023";
-}
-
-.glyphicon-road:before {
- content: "\e024";
-}
-
-.glyphicon-download-alt:before {
- content: "\e025";
-}
-
-.glyphicon-download:before {
- content: "\e026";
-}
-
-.glyphicon-upload:before {
- content: "\e027";
-}
-
-.glyphicon-inbox:before {
- content: "\e028";
-}
-
-.glyphicon-play-circle:before {
- content: "\e029";
-}
-
-.glyphicon-repeat:before {
- content: "\e030";
-}
-
-.glyphicon-refresh:before {
- content: "\e031";
-}
-
-.glyphicon-list-alt:before {
- content: "\e032";
-}
-
-.glyphicon-lock:before {
- content: "\e033";
-}
-
-.glyphicon-flag:before {
- content: "\e034";
-}
-
-.glyphicon-headphones:before {
- content: "\e035";
-}
-
-.glyphicon-volume-off:before {
- content: "\e036";
-}
-
-.glyphicon-volume-down:before {
- content: "\e037";
-}
-
-.glyphicon-volume-up:before {
- content: "\e038";
-}
-
-.glyphicon-qrcode:before {
- content: "\e039";
-}
-
-.glyphicon-barcode:before {
- content: "\e040";
-}
-
-.glyphicon-tag:before {
- content: "\e041";
-}
-
-.glyphicon-tags:before {
- content: "\e042";
-}
-
-.glyphicon-book:before {
- content: "\e043";
-}
-
-.glyphicon-bookmark:before {
- content: "\e044";
-}
-
-.glyphicon-print:before {
- content: "\e045";
-}
-
-.glyphicon-camera:before {
- content: "\e046";
-}
-
-.glyphicon-font:before {
- content: "\e047";
-}
-
-.glyphicon-bold:before {
- content: "\e048";
-}
-
-.glyphicon-italic:before {
- content: "\e049";
-}
-
-.glyphicon-text-height:before {
- content: "\e050";
-}
-
-.glyphicon-text-width:before {
- content: "\e051";
-}
-
-.glyphicon-align-left:before {
- content: "\e052";
-}
-
-.glyphicon-align-center:before {
- content: "\e053";
-}
-
-.glyphicon-align-right:before {
- content: "\e054";
-}
-
-.glyphicon-align-justify:before {
- content: "\e055";
-}
-
-.glyphicon-list:before {
- content: "\e056";
-}
-
-.glyphicon-indent-left:before {
- content: "\e057";
-}
-
-.glyphicon-indent-right:before {
- content: "\e058";
-}
-
-.glyphicon-facetime-video:before {
- content: "\e059";
-}
-
-.glyphicon-picture:before {
- content: "\e060";
-}
-
-.glyphicon-map-marker:before {
- content: "\e062";
-}
-
-.glyphicon-adjust:before {
- content: "\e063";
-}
-
-.glyphicon-tint:before {
- content: "\e064";
-}
-
-.glyphicon-edit:before {
- content: "\e065";
-}
-
-.glyphicon-share:before {
- content: "\e066";
-}
-
-.glyphicon-check:before {
- content: "\e067";
-}
-
-.glyphicon-move:before {
- content: "\e068";
-}
-
-.glyphicon-step-backward:before {
- content: "\e069";
-}
-
-.glyphicon-fast-backward:before {
- content: "\e070";
-}
-
-.glyphicon-backward:before {
- content: "\e071";
-}
-
-.glyphicon-play:before {
- content: "\e072";
-}
-
-.glyphicon-pause:before {
- content: "\e073";
-}
-
-.glyphicon-stop:before {
- content: "\e074";
-}
-
-.glyphicon-forward:before {
- content: "\e075";
-}
-
-.glyphicon-fast-forward:before {
- content: "\e076";
-}
-
-.glyphicon-step-forward:before {
- content: "\e077";
-}
-
-.glyphicon-eject:before {
- content: "\e078";
-}
-
-.glyphicon-chevron-left:before {
- content: "\e079";
-}
-
-.glyphicon-chevron-right:before {
- content: "\e080";
-}
-
-.glyphicon-plus-sign:before {
- content: "\e081";
-}
-
-.glyphicon-minus-sign:before {
- content: "\e082";
-}
-
-.glyphicon-remove-sign:before {
- content: "\e083";
-}
-
-.glyphicon-ok-sign:before {
- content: "\e084";
-}
-
-.glyphicon-question-sign:before {
- content: "\e085";
-}
-
-.glyphicon-info-sign:before {
- content: "\e086";
-}
-
-.glyphicon-screenshot:before {
- content: "\e087";
-}
-
-.glyphicon-remove-circle:before {
- content: "\e088";
-}
-
-.glyphicon-ok-circle:before {
- content: "\e089";
-}
-
-.glyphicon-ban-circle:before {
- content: "\e090";
-}
-
-.glyphicon-arrow-left:before {
- content: "\e091";
-}
-
-.glyphicon-arrow-right:before {
- content: "\e092";
-}
-
-.glyphicon-arrow-up:before {
- content: "\e093";
-}
-
-.glyphicon-arrow-down:before {
- content: "\e094";
-}
-
-.glyphicon-share-alt:before {
- content: "\e095";
-}
-
-.glyphicon-resize-full:before {
- content: "\e096";
-}
-
-.glyphicon-resize-small:before {
- content: "\e097";
-}
-
-.glyphicon-exclamation-sign:before {
- content: "\e101";
-}
-
-.glyphicon-gift:before {
- content: "\e102";
-}
-
-.glyphicon-leaf:before {
- content: "\e103";
-}
-
-.glyphicon-fire:before {
- content: "\e104";
-}
-
-.glyphicon-eye-open:before {
- content: "\e105";
-}
-
-.glyphicon-eye-close:before {
- content: "\e106";
-}
-
-.glyphicon-warning-sign:before {
- content: "\e107";
-}
-
-.glyphicon-plane:before {
- content: "\e108";
-}
-
-.glyphicon-calendar:before {
- content: "\e109";
-}
-
-.glyphicon-random:before {
- content: "\e110";
-}
-
-.glyphicon-comment:before {
- content: "\e111";
-}
-
-.glyphicon-magnet:before {
- content: "\e112";
-}
-
-.glyphicon-chevron-up:before {
- content: "\e113";
-}
-
-.glyphicon-chevron-down:before {
- content: "\e114";
-}
-
-.glyphicon-retweet:before {
- content: "\e115";
-}
-
-.glyphicon-shopping-cart:before {
- content: "\e116";
-}
-
-.glyphicon-folder-close:before {
- content: "\e117";
-}
-
-.glyphicon-folder-open:before {
- content: "\e118";
-}
-
-.glyphicon-resize-vertical:before {
- content: "\e119";
-}
-
-.glyphicon-resize-horizontal:before {
- content: "\e120";
-}
-
-.glyphicon-hdd:before {
- content: "\e121";
-}
-
-.glyphicon-bullhorn:before {
- content: "\e122";
-}
-
-.glyphicon-bell:before {
- content: "\e123";
-}
-
-.glyphicon-certificate:before {
- content: "\e124";
-}
-
-.glyphicon-thumbs-up:before {
- content: "\e125";
-}
-
-.glyphicon-thumbs-down:before {
- content: "\e126";
-}
-
-.glyphicon-hand-right:before {
- content: "\e127";
-}
-
-.glyphicon-hand-left:before {
- content: "\e128";
-}
-
-.glyphicon-hand-up:before {
- content: "\e129";
-}
-
-.glyphicon-hand-down:before {
- content: "\e130";
-}
-
-.glyphicon-circle-arrow-right:before {
- content: "\e131";
-}
-
-.glyphicon-circle-arrow-left:before {
- content: "\e132";
-}
-
-.glyphicon-circle-arrow-up:before {
- content: "\e133";
-}
-
-.glyphicon-circle-arrow-down:before {
- content: "\e134";
-}
-
-.glyphicon-globe:before {
- content: "\e135";
-}
-
-.glyphicon-wrench:before {
- content: "\e136";
-}
-
-.glyphicon-tasks:before {
- content: "\e137";
-}
-
-.glyphicon-filter:before {
- content: "\e138";
-}
-
-.glyphicon-briefcase:before {
- content: "\e139";
-}
-
-.glyphicon-fullscreen:before {
- content: "\e140";
-}
-
-.glyphicon-dashboard:before {
- content: "\e141";
-}
-
-.glyphicon-paperclip:before {
- content: "\e142";
-}
-
-.glyphicon-heart-empty:before {
- content: "\e143";
-}
-
-.glyphicon-link:before {
- content: "\e144";
-}
-
-.glyphicon-phone:before {
- content: "\e145";
-}
-
-.glyphicon-pushpin:before {
- content: "\e146";
-}
-
-.glyphicon-usd:before {
- content: "\e148";
-}
-
-.glyphicon-gbp:before {
- content: "\e149";
-}
-
-.glyphicon-sort:before {
- content: "\e150";
-}
-
-.glyphicon-sort-by-alphabet:before {
- content: "\e151";
-}
-
-.glyphicon-sort-by-alphabet-alt:before {
- content: "\e152";
-}
-
-.glyphicon-sort-by-order:before {
- content: "\e153";
-}
-
-.glyphicon-sort-by-order-alt:before {
- content: "\e154";
-}
-
-.glyphicon-sort-by-attributes:before {
- content: "\e155";
-}
-
-.glyphicon-sort-by-attributes-alt:before {
- content: "\e156";
-}
-
-.glyphicon-unchecked:before {
- content: "\e157";
-}
-
-.glyphicon-expand:before {
- content: "\e158";
-}
-
-.glyphicon-collapse-down:before {
- content: "\e159";
-}
-
-.glyphicon-collapse-up:before {
- content: "\e160";
-}
-
-.glyphicon-log-in:before {
- content: "\e161";
-}
-
-.glyphicon-flash:before {
- content: "\e162";
-}
-
-.glyphicon-log-out:before {
- content: "\e163";
-}
-
-.glyphicon-new-window:before {
- content: "\e164";
-}
-
-.glyphicon-record:before {
- content: "\e165";
-}
-
-.glyphicon-save:before {
- content: "\e166";
-}
-
-.glyphicon-open:before {
- content: "\e167";
-}
-
-.glyphicon-saved:before {
- content: "\e168";
-}
-
-.glyphicon-import:before {
- content: "\e169";
-}
-
-.glyphicon-export:before {
- content: "\e170";
-}
-
-.glyphicon-send:before {
- content: "\e171";
-}
-
-.glyphicon-floppy-disk:before {
- content: "\e172";
-}
-
-.glyphicon-floppy-saved:before {
- content: "\e173";
-}
-
-.glyphicon-floppy-remove:before {
- content: "\e174";
-}
-
-.glyphicon-floppy-save:before {
- content: "\e175";
-}
-
-.glyphicon-floppy-open:before {
- content: "\e176";
-}
-
-.glyphicon-credit-card:before {
- content: "\e177";
-}
-
-.glyphicon-transfer:before {
- content: "\e178";
-}
-
-.glyphicon-cutlery:before {
- content: "\e179";
-}
-
-.glyphicon-header:before {
- content: "\e180";
-}
-
-.glyphicon-compressed:before {
- content: "\e181";
-}
-
-.glyphicon-earphone:before {
- content: "\e182";
-}
-
-.glyphicon-phone-alt:before {
- content: "\e183";
-}
-
-.glyphicon-tower:before {
- content: "\e184";
-}
-
-.glyphicon-stats:before {
- content: "\e185";
-}
-
-.glyphicon-sd-video:before {
- content: "\e186";
-}
-
-.glyphicon-hd-video:before {
- content: "\e187";
-}
-
-.glyphicon-subtitles:before {
- content: "\e188";
-}
-
-.glyphicon-sound-stereo:before {
- content: "\e189";
-}
-
-.glyphicon-sound-dolby:before {
- content: "\e190";
-}
-
-.glyphicon-sound-5-1:before {
- content: "\e191";
-}
-
-.glyphicon-sound-6-1:before {
- content: "\e192";
-}
-
-.glyphicon-sound-7-1:before {
- content: "\e193";
-}
-
-.glyphicon-copyright-mark:before {
- content: "\e194";
-}
-
-.glyphicon-registration-mark:before {
- content: "\e195";
-}
-
-.glyphicon-cloud-download:before {
- content: "\e197";
-}
-
-.glyphicon-cloud-upload:before {
- content: "\e198";
-}
-
-.glyphicon-tree-conifer:before {
- content: "\e199";
-}
-
-.glyphicon-tree-deciduous:before {
- content: "\e200";
-}
-
-.caret {
- display: inline-block;
- width: 0;
- height: 0;
- margin-left: 2px;
- vertical-align: middle;
- border-top: 4px solid;
- border-right: 4px solid transparent;
- border-left: 4px solid transparent;
-}
-
-.dropdown {
- position: relative;
-}
-
-.dropdown-toggle:focus {
- outline: 0;
-}
-
-.dropdown-menu {
- position: absolute;
- top: 100%;
- left: 0;
- z-index: 1000;
- display: none;
- float: left;
- min-width: 160px;
- padding: 5px 0;
- margin: 2px 0 0;
- font-size: 14px;
- list-style: none;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, .15);
- border-radius: 4px;
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
- box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
-}
-
-.dropdown-menu.pull-right {
- right: 0;
- left: auto;
-}
-
-.dropdown-menu .divider {
- height: 1px;
- margin: 9px 0;
- overflow: hidden;
- background-color: #e5e5e5;
-}
-
-.dropdown-menu > li > a {
- display: block;
- padding: 3px 20px;
- clear: both;
- font-weight: normal;
- line-height: 1.42857143;
- color: #333;
- white-space: nowrap;
-}
-
-.dropdown-menu > li > a:hover,
-.dropdown-menu > li > a:focus {
- color: #262626;
- text-decoration: none;
- background-color: #f5f5f5;
-}
-
-.dropdown-menu > .active > a,
-.dropdown-menu > .active > a:hover,
-.dropdown-menu > .active > a:focus {
- color: #fff;
- text-decoration: none;
- background-color: #428bca;
- outline: 0;
-}
-
-.dropdown-menu > .disabled > a,
-.dropdown-menu > .disabled > a:hover,
-.dropdown-menu > .disabled > a:focus {
- color: #999;
-}
-
-.dropdown-menu > .disabled > a:hover,
-.dropdown-menu > .disabled > a:focus {
- text-decoration: none;
- cursor: not-allowed;
- background-color: transparent;
- background-image: none;
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
-}
-
-.open > .dropdown-menu {
- display: block;
-}
-
-.open > a {
- outline: 0;
-}
-
-.dropdown-menu-right {
- right: 0;
- left: auto;
-}
-
-.dropdown-menu-left {
- right: auto;
- left: 0;
-}
-
-.dropdown-header {
- display: block;
- padding: 3px 20px;
- font-size: 12px;
- line-height: 1.42857143;
- color: #999;
-}
-
-.dropdown-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 990;
-}
-
-.pull-right > .dropdown-menu {
- right: 0;
- left: auto;
-}
-
-.dropup .caret,
-.navbar-fixed-bottom .dropdown .caret {
- content: "";
- border-top: 0;
- border-bottom: 4px solid;
-}
-
-.dropup .dropdown-menu,
-.navbar-fixed-bottom .dropdown .dropdown-menu {
- top: auto;
- bottom: 100%;
- margin-bottom: 1px;
-}
-
-@media (min-width: 768px) {
- .navbar-right .dropdown-menu {
- right: 0;
- left: auto;
- }
-
- .navbar-right .dropdown-menu-left {
- right: auto;
- left: 0;
- }
-}
-
-.btn-group,
-.btn-group-vertical {
- position: relative;
- display: inline-block;
- vertical-align: middle;
-}
-
-.btn-group > .btn,
-.btn-group-vertical > .btn {
- position: relative;
- float: left;
-}
-
-.btn-group > .btn:hover,
-.btn-group-vertical > .btn:hover,
-.btn-group > .btn:focus,
-.btn-group-vertical > .btn:focus,
-.btn-group > .btn:active,
-.btn-group-vertical > .btn:active,
-.btn-group > .btn.active,
-.btn-group-vertical > .btn.active {
- z-index: 2;
-}
-
-.btn-group > .btn:focus,
-.btn-group-vertical > .btn:focus {
- outline: none;
-}
-
-.btn-group .btn + .btn,
-.btn-group .btn + .btn-group,
-.btn-group .btn-group + .btn,
-.btn-group .btn-group + .btn-group {
- margin-left: -1px;
-}
-
-.btn-toolbar {
- margin-left: -5px;
-}
-
-.btn-toolbar .btn-group,
-.btn-toolbar .input-group {
- float: left;
-}
-
-.btn-toolbar > .btn,
-.btn-toolbar > .btn-group,
-.btn-toolbar > .input-group {
- margin-left: 5px;
-}
-
-.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
- border-radius: 0;
-}
-
-.btn-group > .btn:first-child {
- margin-left: 0;
-}
-
-.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-.btn-group > .btn:last-child:not(:first-child),
-.btn-group > .dropdown-toggle:not(:first-child) {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group > .btn-group {
- float: left;
-}
-
-.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
- border-radius: 0;
-}
-
-.btn-group > .btn-group:first-child > .btn:last-child,
-.btn-group > .btn-group:first-child > .dropdown-toggle {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-.btn-group > .btn-group:last-child > .btn:first-child {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group .dropdown-toggle:active,
-.btn-group.open .dropdown-toggle {
- outline: 0;
-}
-
-.btn-group > .btn + .dropdown-toggle {
- padding-right: 8px;
- padding-left: 8px;
-}
-
-.btn-group > .btn-lg + .dropdown-toggle {
- padding-right: 12px;
- padding-left: 12px;
-}
-
-.btn-group.open .dropdown-toggle {
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
-}
-
-.btn-group.open .dropdown-toggle.btn-link {
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.btn .caret {
- margin-left: 0;
-}
-
-.btn-lg .caret {
- border-width: 5px 5px 0;
- border-bottom-width: 0;
-}
-
-.dropup .btn-lg .caret {
- border-width: 0 5px 5px;
-}
-
-.btn-group-vertical > .btn,
-.btn-group-vertical > .btn-group,
-.btn-group-vertical > .btn-group > .btn {
- display: block;
- float: none;
- width: 100%;
- max-width: 100%;
-}
-
-.btn-group-vertical > .btn-group > .btn {
- float: none;
-}
-
-.btn-group-vertical > .btn + .btn,
-.btn-group-vertical > .btn + .btn-group,
-.btn-group-vertical > .btn-group + .btn,
-.btn-group-vertical > .btn-group + .btn-group {
- margin-top: -1px;
- margin-left: 0;
-}
-
-.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
- border-radius: 0;
-}
-
-.btn-group-vertical > .btn:first-child:not(:last-child) {
- border-top-right-radius: 4px;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group-vertical > .btn:last-child:not(:first-child) {
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- border-bottom-left-radius: 4px;
-}
-
-.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
- border-radius: 0;
-}
-
-.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
-.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
- border-top-left-radius: 0;
- border-top-right-radius: 0;
-}
-
-.btn-group-justified {
- display: table;
- width: 100%;
- table-layout: fixed;
- border-collapse: separate;
-}
-
-.btn-group-justified > .btn,
-.btn-group-justified > .btn-group {
- display: table-cell;
- float: none;
- width: 1%;
-}
-
-.btn-group-justified > .btn-group .btn {
- width: 100%;
-}
-
-[data-toggle="buttons"] > .btn > input[type="radio"],
-[data-toggle="buttons"] > .btn > input[type="checkbox"] {
- display: none;
-}
-
-.input-group {
- position: relative;
- display: table;
- border-collapse: separate;
-}
-
-.input-group[class*="col-"] {
- float: none;
- padding-right: 0;
- padding-left: 0;
-}
-
-.input-group .form-control {
- position: relative;
- z-index: 2;
- float: left;
- width: 100%;
- margin-bottom: 0;
-}
-
-.input-group-lg > .form-control,
-.input-group-lg > .input-group-addon,
-.input-group-lg > .input-group-btn > .btn {
- height: 46px;
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 6px;
-}
-
-select.input-group-lg > .form-control,
-select.input-group-lg > .input-group-addon,
-select.input-group-lg > .input-group-btn > .btn {
- height: 46px;
- line-height: 46px;
-}
-
-textarea.input-group-lg > .form-control,
-textarea.input-group-lg > .input-group-addon,
-textarea.input-group-lg > .input-group-btn > .btn,
-select[multiple].input-group-lg > .form-control,
-select[multiple].input-group-lg > .input-group-addon,
-select[multiple].input-group-lg > .input-group-btn > .btn {
- height: auto;
-}
-
-.input-group-sm > .form-control,
-.input-group-sm > .input-group-addon,
-.input-group-sm > .input-group-btn > .btn {
- height: 30px;
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px;
-}
-
-select.input-group-sm > .form-control,
-select.input-group-sm > .input-group-addon,
-select.input-group-sm > .input-group-btn > .btn {
- height: 30px;
- line-height: 30px;
-}
-
-textarea.input-group-sm > .form-control,
-textarea.input-group-sm > .input-group-addon,
-textarea.input-group-sm > .input-group-btn > .btn,
-select[multiple].input-group-sm > .form-control,
-select[multiple].input-group-sm > .input-group-addon,
-select[multiple].input-group-sm > .input-group-btn > .btn {
- height: auto;
-}
-
-.input-group-addon,
-.input-group-btn,
-.input-group .form-control {
- display: table-cell;
-}
-
-.input-group-addon:not(:first-child):not(:last-child),
-.input-group-btn:not(:first-child):not(:last-child),
-.input-group .form-control:not(:first-child):not(:last-child) {
- border-radius: 0;
-}
-
-.input-group-addon,
-.input-group-btn {
- width: 1%;
- white-space: nowrap;
- vertical-align: middle;
-}
-
-.input-group-addon {
- padding: 6px 12px;
- font-size: 14px;
- font-weight: normal;
- line-height: 1;
- color: #555;
- text-align: center;
- background-color: #eee;
- border: 1px solid #ccc;
- border-radius: 4px;
-}
-
-.input-group-addon.input-sm {
- padding: 5px 10px;
- font-size: 12px;
- border-radius: 3px;
-}
-
-.input-group-addon.input-lg {
- padding: 10px 16px;
- font-size: 18px;
- border-radius: 6px;
-}
-
-.input-group-addon input[type="radio"],
-.input-group-addon input[type="checkbox"] {
- margin-top: 0;
-}
-
-.input-group .form-control:first-child,
-.input-group-addon:first-child,
-.input-group-btn:first-child > .btn,
-.input-group-btn:first-child > .btn-group > .btn,
-.input-group-btn:first-child > .dropdown-toggle,
-.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
-.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-.input-group-addon:first-child {
- border-right: 0;
-}
-
-.input-group .form-control:last-child,
-.input-group-addon:last-child,
-.input-group-btn:last-child > .btn,
-.input-group-btn:last-child > .btn-group > .btn,
-.input-group-btn:last-child > .dropdown-toggle,
-.input-group-btn:first-child > .btn:not(:first-child),
-.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.input-group-addon:last-child {
- border-left: 0;
-}
-
-.input-group-btn {
- position: relative;
- font-size: 0;
- white-space: nowrap;
-}
-
-.input-group-btn > .btn {
- position: relative;
-}
-
-.input-group-btn > .btn + .btn {
- margin-left: -1px;
-}
-
-.input-group-btn > .btn:hover,
-.input-group-btn > .btn:focus,
-.input-group-btn > .btn:active {
- z-index: 2;
-}
-
-.input-group-btn:first-child > .btn,
-.input-group-btn:first-child > .btn-group {
- margin-right: -1px;
-}
-
-.input-group-btn:last-child > .btn,
-.input-group-btn:last-child > .btn-group {
- margin-left: -1px;
-}
-
-.nav {
- padding-left: 0;
- margin-bottom: 0;
- list-style: none;
-}
-
-.nav > li {
- position: relative;
- display: block;
-}
-
-.nav > li > a {
- position: relative;
- display: block;
- padding: 10px 15px;
-}
-
-.nav > li > a:hover,
-.nav > li > a:focus {
- text-decoration: none;
- background-color: #eee;
-}
-
-.nav > li.disabled > a {
- color: #999;
-}
-
-.nav > li.disabled > a:hover,
-.nav > li.disabled > a:focus {
- color: #999;
- text-decoration: none;
- cursor: not-allowed;
- background-color: transparent;
-}
-
-.nav .open > a,
-.nav .open > a:hover,
-.nav .open > a:focus {
- background-color: #eee;
- border-color: #428bca;
-}
-
-.nav .nav-divider {
- height: 1px;
- margin: 9px 0;
- overflow: hidden;
- background-color: #e5e5e5;
-}
-
-.nav > li > a > img {
- max-width: none;
-}
-
-.nav-tabs {
- border-bottom: 1px solid #ddd;
-}
-
-.nav-tabs > li {
- float: left;
- margin-bottom: -1px;
-}
-
-.nav-tabs > li > a {
- margin-right: 2px;
- line-height: 1.42857143;
- border: 1px solid transparent;
- border-radius: 4px 4px 0 0;
-}
-
-.nav-tabs > li > a:hover {
- border-color: #eee #eee #ddd;
-}
-
-.nav-tabs > li.active > a,
-.nav-tabs > li.active > a:hover,
-.nav-tabs > li.active > a:focus {
- color: #555;
- cursor: default;
- background-color: #fff;
- border: 1px solid #ddd;
- border-bottom-color: transparent;
-}
-
-.nav-tabs.nav-justified {
- width: 100%;
- border-bottom: 0;
-}
-
-.nav-tabs.nav-justified > li {
- float: none;
-}
-
-.nav-tabs.nav-justified > li > a {
- margin-bottom: 5px;
- text-align: center;
-}
-
-.nav-tabs.nav-justified > .dropdown .dropdown-menu {
- top: auto;
- left: auto;
-}
-
-@media (min-width: 768px) {
- .nav-tabs.nav-justified > li {
- display: table-cell;
- width: 1%;
- }
-
- .nav-tabs.nav-justified > li > a {
- margin-bottom: 0;
- }
-}
-
-.nav-tabs.nav-justified > li > a {
- margin-right: 0;
- border-radius: 4px;
-}
-
-.nav-tabs.nav-justified > .active > a,
-.nav-tabs.nav-justified > .active > a:hover,
-.nav-tabs.nav-justified > .active > a:focus {
- border: 1px solid #ddd;
-}
-
-@media (min-width: 768px) {
- .nav-tabs.nav-justified > li > a {
- border-bottom: 1px solid #ddd;
- border-radius: 4px 4px 0 0;
- }
-
- .nav-tabs.nav-justified > .active > a,
- .nav-tabs.nav-justified > .active > a:hover,
- .nav-tabs.nav-justified > .active > a:focus {
- border-bottom-color: #fff;
- }
-}
-
-.nav-pills > li {
- float: left;
-}
-
-.nav-pills > li > a {
- border-radius: 4px;
-}
-
-.nav-pills > li + li {
- margin-left: 2px;
-}
-
-.nav-pills > li.active > a,
-.nav-pills > li.active > a:hover,
-.nav-pills > li.active > a:focus {
- color: #fff;
- background-color: #428bca;
-}
-
-.nav-stacked > li {
- float: none;
-}
-
-.nav-stacked > li + li {
- margin-top: 2px;
- margin-left: 0;
-}
-
-.nav-justified {
- width: 100%;
-}
-
-.nav-justified > li {
- float: none;
-}
-
-.nav-justified > li > a {
- margin-bottom: 5px;
- text-align: center;
-}
-
-.nav-justified > .dropdown .dropdown-menu {
- top: auto;
- left: auto;
-}
-
-@media (min-width: 768px) {
- .nav-justified > li {
- display: table-cell;
- width: 1%;
- }
-
- .nav-justified > li > a {
- margin-bottom: 0;
- }
-}
-
-.nav-tabs-justified {
- border-bottom: 0;
-}
-
-.nav-tabs-justified > li > a {
- margin-right: 0;
- border-radius: 4px;
-}
-
-.nav-tabs-justified > .active > a,
-.nav-tabs-justified > .active > a:hover,
-.nav-tabs-justified > .active > a:focus {
- border: 1px solid #ddd;
-}
-
-@media (min-width: 768px) {
- .nav-tabs-justified > li > a {
- border-bottom: 1px solid #ddd;
- border-radius: 4px 4px 0 0;
- }
-
- .nav-tabs-justified > .active > a,
- .nav-tabs-justified > .active > a:hover,
- .nav-tabs-justified > .active > a:focus {
- border-bottom-color: #fff;
- }
-}
-
-.tab-content > .tab-pane {
- display: none;
-}
-
-.tab-content > .active {
- display: block;
-}
-
-.nav-tabs .dropdown-menu {
- margin-top: -1px;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
-}
-
-.navbar {
- position: relative;
- min-height: 50px;
- margin-bottom: 20px;
- border: 1px solid transparent;
-}
-
-@media (min-width: 768px) {
- .navbar {
- border-radius: 4px;
- }
-}
-
-@media (min-width: 768px) {
- .navbar-header {
- float: left;
- }
-}
-
-.navbar-collapse {
- max-height: 340px;
- padding-right: 15px;
- padding-left: 15px;
- overflow-x: visible;
- -webkit-overflow-scrolling: touch;
- border-top: 1px solid transparent;
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
-}
-
-.navbar-collapse.in {
- overflow-y: auto;
-}
-
-@media (min-width: 768px) {
- .navbar-collapse {
- width: auto;
- border-top: 0;
- box-shadow: none;
- }
-
- .navbar-collapse.collapse {
- display: block !important;
- height: auto !important;
- padding-bottom: 0;
- overflow: visible !important;
- }
-
- .navbar-collapse.in {
- overflow-y: visible;
- }
-
- .navbar-fixed-top .navbar-collapse,
- .navbar-static-top .navbar-collapse,
- .navbar-fixed-bottom .navbar-collapse {
- padding-right: 0;
- padding-left: 0;
- }
-}
-
-.container > .navbar-header,
-.container-fluid > .navbar-header,
-.container > .navbar-collapse,
-.container-fluid > .navbar-collapse {
- margin-right: -15px;
- margin-left: -15px;
-}
-
-@media (min-width: 768px) {
- .container > .navbar-header,
- .container-fluid > .navbar-header,
- .container > .navbar-collapse,
- .container-fluid > .navbar-collapse {
- margin-right: 0;
- margin-left: 0;
- }
-}
-
-.navbar-static-top {
- z-index: 1000;
- border-width: 0 0 1px;
-}
-
-@media (min-width: 768px) {
- .navbar-static-top {
- border-radius: 0;
- }
-}
-
-.navbar-fixed-top,
-.navbar-fixed-bottom {
- position: fixed;
- right: 0;
- left: 0;
- z-index: 1030;
-}
-
-@media (min-width: 768px) {
- .navbar-fixed-top,
- .navbar-fixed-bottom {
- border-radius: 0;
- }
-}
-
-.navbar-fixed-top {
- top: 0;
- border-width: 0 0 1px;
-}
-
-.navbar-fixed-bottom {
- bottom: 0;
- margin-bottom: 0;
- border-width: 1px 0 0;
-}
-
-.navbar-brand {
- float: left;
- height: 50px;
- padding: 15px 15px;
- font-size: 18px;
- line-height: 20px;
-}
-
-.navbar-brand:hover,
-.navbar-brand:focus {
- text-decoration: none;
-}
-
-@media (min-width: 768px) {
- .navbar > .container .navbar-brand,
- .navbar > .container-fluid .navbar-brand {
- margin-left: -15px;
- }
-}
-
-.navbar-toggle {
- position: relative;
- float: right;
- padding: 9px 10px;
- margin-top: 8px;
- margin-right: 15px;
- margin-bottom: 8px;
- background-color: transparent;
- background-image: none;
- border: 1px solid transparent;
- border-radius: 4px;
-}
-
-.navbar-toggle:focus {
- outline: none;
-}
-
-.navbar-toggle .icon-bar {
- display: block;
- width: 22px;
- height: 2px;
- border-radius: 1px;
-}
-
-.navbar-toggle .icon-bar + .icon-bar {
- margin-top: 4px;
-}
-
-@media (min-width: 768px) {
- .navbar-toggle {
- display: none;
- }
-}
-
-.navbar-nav {
- margin: 7.5px -15px;
-}
-
-.navbar-nav > li > a {
- padding-top: 10px;
- padding-bottom: 10px;
- line-height: 20px;
-}
-
-@media (max-width: 767px) {
- .navbar-nav .open .dropdown-menu {
- position: static;
- float: none;
- width: auto;
- margin-top: 0;
- background-color: transparent;
- border: 0;
- box-shadow: none;
- }
-
- .navbar-nav .open .dropdown-menu > li > a,
- .navbar-nav .open .dropdown-menu .dropdown-header {
- padding: 5px 15px 5px 25px;
- }
-
- .navbar-nav .open .dropdown-menu > li > a {
- line-height: 20px;
- }
-
- .navbar-nav .open .dropdown-menu > li > a:hover,
- .navbar-nav .open .dropdown-menu > li > a:focus {
- background-image: none;
- }
-}
-
-@media (min-width: 768px) {
- .navbar-nav {
- float: left;
- margin: 0;
- }
-
- .navbar-nav > li {
- float: left;
- }
-
- .navbar-nav > li > a {
- padding-top: 15px;
- padding-bottom: 15px;
- }
-
- .navbar-nav.navbar-right:last-child {
- margin-right: -15px;
- }
-}
-
-@media (min-width: 768px) {
- .navbar-left {
- float: left !important;
- }
-
- .navbar-right {
- float: right !important;
- }
-}
-
-.navbar-form {
- padding: 10px 15px;
- margin-top: 8px;
- margin-right: -15px;
- margin-bottom: 8px;
- margin-left: -15px;
- border-top: 1px solid transparent;
- border-bottom: 1px solid transparent;
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
-}
-
-@media (min-width: 768px) {
- .navbar-form .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle;
- }
-
- .navbar-form .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle;
- }
-
- .navbar-form .input-group > .form-control {
- width: 100%;
- }
-
- .navbar-form .control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
-
- .navbar-form .radio,
- .navbar-form .checkbox {
- display: inline-block;
- padding-left: 0;
- margin-top: 0;
- margin-bottom: 0;
- vertical-align: middle;
- }
-
- .navbar-form .radio input[type="radio"],
- .navbar-form .checkbox input[type="checkbox"] {
- float: none;
- margin-left: 0;
- }
-
- .navbar-form .has-feedback .form-control-feedback {
- top: 0;
- }
-}
-
-@media (max-width: 767px) {
- .navbar-form .form-group {
- margin-bottom: 5px;
- }
-}
-
-@media (min-width: 768px) {
- .navbar-form {
- width: auto;
- padding-top: 0;
- padding-bottom: 0;
- margin-right: 0;
- margin-left: 0;
- border: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
- }
-
- .navbar-form.navbar-right:last-child {
- margin-right: -15px;
- }
-}
-
-.navbar-nav > li > .dropdown-menu {
- margin-top: 0;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
-}
-
-.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.navbar-btn {
- margin-top: 8px;
- margin-bottom: 8px;
-}
-
-.navbar-btn.btn-sm {
- margin-top: 10px;
- margin-bottom: 10px;
-}
-
-.navbar-btn.btn-xs {
- margin-top: 14px;
- margin-bottom: 14px;
-}
-
-.navbar-text {
- margin-top: 15px;
- margin-bottom: 15px;
-}
-
-@media (min-width: 768px) {
- .navbar-text {
- float: left;
- margin-right: 15px;
- margin-left: 15px;
- }
-
- .navbar-text.navbar-right:last-child {
- margin-right: 0;
- }
-}
-
-.navbar-default {
- background-color: #f8f8f8;
- border-color: #e7e7e7;
-}
-
-.navbar-default .navbar-brand {
- color: #777;
-}
-
-.navbar-default .navbar-brand:hover,
-.navbar-default .navbar-brand:focus {
- color: #5e5e5e;
- background-color: transparent;
-}
-
-.navbar-default .navbar-text {
- color: #777;
-}
-
-.navbar-default .navbar-nav > li > a {
- color: #777;
-}
-
-.navbar-default .navbar-nav > li > a:hover,
-.navbar-default .navbar-nav > li > a:focus {
- color: #333;
- background-color: transparent;
-}
-
-.navbar-default .navbar-nav > .active > a,
-.navbar-default .navbar-nav > .active > a:hover,
-.navbar-default .navbar-nav > .active > a:focus {
- color: #555;
- background-color: #e7e7e7;
-}
-
-.navbar-default .navbar-nav > .disabled > a,
-.navbar-default .navbar-nav > .disabled > a:hover,
-.navbar-default .navbar-nav > .disabled > a:focus {
- color: #ccc;
- background-color: transparent;
-}
-
-.navbar-default .navbar-toggle {
- border-color: #ddd;
-}
-
-.navbar-default .navbar-toggle:hover,
-.navbar-default .navbar-toggle:focus {
- background-color: #ddd;
-}
-
-.navbar-default .navbar-toggle .icon-bar {
- background-color: #888;
-}
-
-.navbar-default .navbar-collapse,
-.navbar-default .navbar-form {
- border-color: #e7e7e7;
-}
-
-.navbar-default .navbar-nav > .open > a,
-.navbar-default .navbar-nav > .open > a:hover,
-.navbar-default .navbar-nav > .open > a:focus {
- color: #555;
- background-color: #e7e7e7;
-}
-
-@media (max-width: 767px) {
- .navbar-default .navbar-nav .open .dropdown-menu > li > a {
- color: #777;
- }
-
- .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
- .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #333;
- background-color: transparent;
- }
-
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
- color: #555;
- background-color: #e7e7e7;
- }
-
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
- color: #ccc;
- background-color: transparent;
- }
-}
-
-.navbar-default .navbar-link {
- color: #777;
-}
-
-.navbar-default .navbar-link:hover {
- color: #333;
-}
-
-.navbar-inverse {
- background-color: #222;
- border-color: #080808;
-}
-
-.navbar-inverse .navbar-brand {
- color: #999;
-}
-
-.navbar-inverse .navbar-brand:hover,
-.navbar-inverse .navbar-brand:focus {
- color: #fff;
- background-color: transparent;
-}
-
-.navbar-inverse .navbar-text {
- color: #999;
-}
-
-.navbar-inverse .navbar-nav > li > a {
- color: #999;
-}
-
-.navbar-inverse .navbar-nav > li > a:hover,
-.navbar-inverse .navbar-nav > li > a:focus {
- color: #fff;
- background-color: transparent;
-}
-
-.navbar-inverse .navbar-nav > .active > a,
-.navbar-inverse .navbar-nav > .active > a:hover,
-.navbar-inverse .navbar-nav > .active > a:focus {
- color: #fff;
- background-color: #080808;
-}
-
-.navbar-inverse .navbar-nav > .disabled > a,
-.navbar-inverse .navbar-nav > .disabled > a:hover,
-.navbar-inverse .navbar-nav > .disabled > a:focus {
- color: #444;
- background-color: transparent;
-}
-
-.navbar-inverse .navbar-toggle {
- border-color: #333;
-}
-
-.navbar-inverse .navbar-toggle:hover,
-.navbar-inverse .navbar-toggle:focus {
- background-color: #333;
-}
-
-.navbar-inverse .navbar-toggle .icon-bar {
- background-color: #fff;
-}
-
-.navbar-inverse .navbar-collapse,
-.navbar-inverse .navbar-form {
- border-color: #101010;
-}
-
-.navbar-inverse .navbar-nav > .open > a,
-.navbar-inverse .navbar-nav > .open > a:hover,
-.navbar-inverse .navbar-nav > .open > a:focus {
- color: #fff;
- background-color: #080808;
-}
-
-@media (max-width: 767px) {
- .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
- border-color: #080808;
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
- background-color: #080808;
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
- color: #999;
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #fff;
- background-color: transparent;
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
- color: #fff;
- background-color: #080808;
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
- color: #444;
- background-color: transparent;
- }
-}
-
-.navbar-inverse .navbar-link {
- color: #999;
-}
-
-.navbar-inverse .navbar-link:hover {
- color: #fff;
-}
-
-.breadcrumb {
- padding: 8px 15px;
- margin-bottom: 20px;
- list-style: none;
- background-color: #f5f5f5;
- border-radius: 4px;
-}
-
-.breadcrumb > li {
- display: inline-block;
-}
-
-.breadcrumb > li + li:before {
- padding: 0 5px;
- color: #ccc;
- content: "/\00a0";
-}
-
-.breadcrumb > .active {
- color: #999;
-}
-
-.pagination {
- display: inline-block;
- padding-left: 0;
- margin: 20px 0;
- border-radius: 4px;
-}
-
-.pagination > li {
- display: inline;
-}
-
-.pagination > li > a,
-.pagination > li > span {
- position: relative;
- float: left;
- padding: 6px 12px;
- margin-left: -1px;
- line-height: 1.42857143;
- color: #428bca;
- text-decoration: none;
- background-color: #fff;
- border: 1px solid #ddd;
-}
-
-.pagination > li:first-child > a,
-.pagination > li:first-child > span {
- margin-left: 0;
- border-top-left-radius: 4px;
- border-bottom-left-radius: 4px;
-}
-
-.pagination > li:last-child > a,
-.pagination > li:last-child > span {
- border-top-right-radius: 4px;
- border-bottom-right-radius: 4px;
-}
-
-.pagination > li > a:hover,
-.pagination > li > span:hover,
-.pagination > li > a:focus,
-.pagination > li > span:focus {
- color: #2a6496;
- background-color: #eee;
- border-color: #ddd;
-}
-
-.pagination > .active > a,
-.pagination > .active > span,
-.pagination > .active > a:hover,
-.pagination > .active > span:hover,
-.pagination > .active > a:focus,
-.pagination > .active > span:focus {
- z-index: 2;
- color: #fff;
- cursor: default;
- background-color: #428bca;
- border-color: #428bca;
-}
-
-.pagination > .disabled > span,
-.pagination > .disabled > span:hover,
-.pagination > .disabled > span:focus,
-.pagination > .disabled > a,
-.pagination > .disabled > a:hover,
-.pagination > .disabled > a:focus {
- color: #999;
- cursor: not-allowed;
- background-color: #fff;
- border-color: #ddd;
-}
-
-.pagination-lg > li > a,
-.pagination-lg > li > span {
- padding: 10px 16px;
- font-size: 18px;
-}
-
-.pagination-lg > li:first-child > a,
-.pagination-lg > li:first-child > span {
- border-top-left-radius: 6px;
- border-bottom-left-radius: 6px;
-}
-
-.pagination-lg > li:last-child > a,
-.pagination-lg > li:last-child > span {
- border-top-right-radius: 6px;
- border-bottom-right-radius: 6px;
-}
-
-.pagination-sm > li > a,
-.pagination-sm > li > span {
- padding: 5px 10px;
- font-size: 12px;
-}
-
-.pagination-sm > li:first-child > a,
-.pagination-sm > li:first-child > span {
- border-top-left-radius: 3px;
- border-bottom-left-radius: 3px;
-}
-
-.pagination-sm > li:last-child > a,
-.pagination-sm > li:last-child > span {
- border-top-right-radius: 3px;
- border-bottom-right-radius: 3px;
-}
-
-.pager {
- padding-left: 0;
- margin: 20px 0;
- text-align: center;
- list-style: none;
-}
-
-.pager li {
- display: inline;
-}
-
-.pager li > a,
-.pager li > span {
- display: inline-block;
- padding: 5px 14px;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 15px;
-}
-
-.pager li > a:hover,
-.pager li > a:focus {
- text-decoration: none;
- background-color: #eee;
-}
-
-.pager .next > a,
-.pager .next > span {
- float: right;
-}
-
-.pager .previous > a,
-.pager .previous > span {
- float: left;
-}
-
-.pager .disabled > a,
-.pager .disabled > a:hover,
-.pager .disabled > a:focus,
-.pager .disabled > span {
- color: #999;
- cursor: not-allowed;
- background-color: #fff;
-}
-
-.label {
- display: inline;
- padding: .2em .6em .3em;
- font-size: 75%;
- font-weight: bold;
- line-height: 1;
- color: #fff;
- text-align: center;
- white-space: nowrap;
- vertical-align: baseline;
- border-radius: .25em;
-}
-
-.label[href]:hover,
-.label[href]:focus {
- color: #fff;
- text-decoration: none;
- cursor: pointer;
-}
-
-.label:empty {
- display: none;
-}
-
-.btn .label {
- position: relative;
- top: -1px;
-}
-
-.label-default {
- background-color: #999;
-}
-
-.label-default[href]:hover,
-.label-default[href]:focus {
- background-color: #808080;
-}
-
-.label-primary {
- background-color: #428bca;
-}
-
-.label-primary[href]:hover,
-.label-primary[href]:focus {
- background-color: #3071a9;
-}
-
-.label-success {
- background-color: #5cb85c;
-}
-
-.label-success[href]:hover,
-.label-success[href]:focus {
- background-color: #449d44;
-}
-
-.label-info {
- background-color: #5bc0de;
-}
-
-.label-info[href]:hover,
-.label-info[href]:focus {
- background-color: #31b0d5;
-}
-
-.label-warning {
- background-color: #f0ad4e;
-}
-
-.label-warning[href]:hover,
-.label-warning[href]:focus {
- background-color: #ec971f;
-}
-
-.label-danger {
- background-color: #d9534f;
-}
-
-.label-danger[href]:hover,
-.label-danger[href]:focus {
- background-color: #c9302c;
-}
-
-.badge {
- display: inline-block;
- min-width: 10px;
- padding: 3px 7px;
- font-size: 12px;
- font-weight: bold;
- line-height: 1;
- color: #fff;
- text-align: center;
- white-space: nowrap;
- vertical-align: baseline;
- background-color: #999;
- border-radius: 10px;
-}
-
-.badge:empty {
- display: none;
-}
-
-.btn .badge {
- position: relative;
- top: -1px;
-}
-
-.btn-xs .badge {
- top: 0;
- padding: 1px 5px;
-}
-
-a.badge:hover,
-a.badge:focus {
- color: #fff;
- text-decoration: none;
- cursor: pointer;
-}
-
-a.list-group-item.active > .badge,
-.nav-pills > .active > a > .badge {
- color: #428bca;
- background-color: #fff;
-}
-
-.nav-pills > li > a > .badge {
- margin-left: 3px;
-}
-
-.jumbotron {
- padding: 30px;
- margin-bottom: 30px;
- color: inherit;
- background-color: #eee;
-}
-
-.jumbotron h1,
-.jumbotron .h1 {
- color: inherit;
-}
-
-.jumbotron p {
- margin-bottom: 15px;
- font-size: 21px;
- font-weight: 200;
-}
-
-.container .jumbotron {
- border-radius: 6px;
-}
-
-.jumbotron .container {
- max-width: 100%;
-}
-
-@media screen and (min-width: 768px) {
- .jumbotron {
- padding-top: 48px;
- padding-bottom: 48px;
- }
-
- .container .jumbotron {
- padding-right: 60px;
- padding-left: 60px;
- }
-
- .jumbotron h1,
- .jumbotron .h1 {
- font-size: 63px;
- }
-}
-
-.thumbnail {
- display: block;
- padding: 4px;
- margin-bottom: 20px;
- line-height: 1.42857143;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 4px;
- -webkit-transition: all .2s ease-in-out;
- transition: all .2s ease-in-out;
-}
-
-.thumbnail > img,
-.thumbnail a > img {
- margin-right: auto;
- margin-left: auto;
-}
-
-a.thumbnail:hover,
-a.thumbnail:focus,
-a.thumbnail.active {
- border-color: #428bca;
-}
-
-.thumbnail .caption {
- padding: 9px;
- color: #333;
-}
-
-.alert {
- padding: 15px;
- margin-bottom: 20px;
- border: 1px solid transparent;
- border-radius: 4px;
-}
-
-.alert h4 {
- margin-top: 0;
- color: inherit;
-}
-
-.alert .alert-link {
- font-weight: bold;
-}
-
-.alert > p,
-.alert > ul {
- margin-bottom: 0;
-}
-
-.alert > p + p {
- margin-top: 5px;
-}
-
-.alert-dismissable {
- padding-right: 35px;
-}
-
-.alert-dismissable .close {
- position: relative;
- top: -2px;
- right: -21px;
- color: inherit;
-}
-
-.alert-success {
- color: #3c763d;
- background-color: #dff0d8;
- border-color: #d6e9c6;
-}
-
-.alert-success hr {
- border-top-color: #c9e2b3;
-}
-
-.alert-success .alert-link {
- color: #2b542c;
-}
-
-.alert-info {
- color: #31708f;
- background-color: #d9edf7;
- border-color: #bce8f1;
-}
-
-.alert-info hr {
- border-top-color: #a6e1ec;
-}
-
-.alert-info .alert-link {
- color: #245269;
-}
-
-.alert-warning {
- color: #8a6d3b;
- background-color: #fcf8e3;
- border-color: #faebcc;
-}
-
-.alert-warning hr {
- border-top-color: #f7e1b5;
-}
-
-.alert-warning .alert-link {
- color: #66512c;
-}
-
-.alert-danger {
- color: #a94442;
- background-color: #f2dede;
- border-color: #ebccd1;
-}
-
-.alert-danger hr {
- border-top-color: #e4b9c0;
-}
-
-.alert-danger .alert-link {
- color: #843534;
-}
-
-@-webkit-keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
-}
-
-@keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
-}
-
-.progress {
- height: 20px;
- margin-bottom: 20px;
- overflow: hidden;
- background-color: #f5f5f5;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
-}
-
-.progress-bar {
- float: left;
- width: 0;
- height: 100%;
- font-size: 12px;
- line-height: 20px;
- color: #fff;
- text-align: center;
- background-color: #428bca;
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
- -webkit-transition: width .6s ease;
- transition: width .6s ease;
-}
-
-.progress-striped .progress-bar {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-size: 40px 40px;
-}
-
-.progress.active .progress-bar {
- -webkit-animation: progress-bar-stripes 2s linear infinite;
- animation: progress-bar-stripes 2s linear infinite;
-}
-
-.progress-bar-success {
- background-color: #5cb85c;
-}
-
-.progress-striped .progress-bar-success {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
-}
-
-.progress-bar-info {
- background-color: #5bc0de;
-}
-
-.progress-striped .progress-bar-info {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
-}
-
-.progress-bar-warning {
- background-color: #f0ad4e;
-}
-
-.progress-striped .progress-bar-warning {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
-}
-
-.progress-bar-danger {
- background-color: #d9534f;
-}
-
-.progress-striped .progress-bar-danger {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
-}
-
-.media,
-.media-body {
- overflow: hidden;
- zoom: 1;
-}
-
-.media,
-.media .media {
- margin-top: 15px;
-}
-
-.media:first-child {
- margin-top: 0;
-}
-
-.media-object {
- display: block;
-}
-
-.media-heading {
- margin: 0 0 5px;
-}
-
-.media > .pull-left {
- margin-right: 10px;
-}
-
-.media > .pull-right {
- margin-left: 10px;
-}
-
-.media-list {
- padding-left: 0;
- list-style: none;
-}
-
-.list-group {
- padding-left: 0;
- margin-bottom: 20px;
-}
-
-.list-group-item {
- position: relative;
- display: block;
- padding: 10px 15px;
- margin-bottom: -1px;
- background-color: #fff;
- border: 1px solid #ddd;
-}
-
-.list-group-item:first-child {
- border-top-left-radius: 4px;
- border-top-right-radius: 4px;
-}
-
-.list-group-item:last-child {
- margin-bottom: 0;
- border-bottom-right-radius: 4px;
- border-bottom-left-radius: 4px;
-}
-
-.list-group-item > .badge {
- float: right;
-}
-
-.list-group-item > .badge + .badge {
- margin-right: 5px;
-}
-
-a.list-group-item {
- color: #555;
-}
-
-a.list-group-item .list-group-item-heading {
- color: #333;
-}
-
-a.list-group-item:hover,
-a.list-group-item:focus {
- text-decoration: none;
- background-color: #f5f5f5;
-}
-
-a.list-group-item.active,
-a.list-group-item.active:hover,
-a.list-group-item.active:focus {
- z-index: 2;
- color: #fff;
- background-color: #428bca;
- border-color: #428bca;
-}
-
-a.list-group-item.active .list-group-item-heading,
-a.list-group-item.active:hover .list-group-item-heading,
-a.list-group-item.active:focus .list-group-item-heading {
- color: inherit;
-}
-
-a.list-group-item.active .list-group-item-text,
-a.list-group-item.active:hover .list-group-item-text,
-a.list-group-item.active:focus .list-group-item-text {
- color: #e1edf7;
-}
-
-.list-group-item-success {
- color: #3c763d;
- background-color: #dff0d8;
-}
-
-a.list-group-item-success {
- color: #3c763d;
-}
-
-a.list-group-item-success .list-group-item-heading {
- color: inherit;
-}
-
-a.list-group-item-success:hover,
-a.list-group-item-success:focus {
- color: #3c763d;
- background-color: #d0e9c6;
-}
-
-a.list-group-item-success.active,
-a.list-group-item-success.active:hover,
-a.list-group-item-success.active:focus {
- color: #fff;
- background-color: #3c763d;
- border-color: #3c763d;
-}
-
-.list-group-item-info {
- color: #31708f;
- background-color: #d9edf7;
-}
-
-a.list-group-item-info {
- color: #31708f;
-}
-
-a.list-group-item-info .list-group-item-heading {
- color: inherit;
-}
-
-a.list-group-item-info:hover,
-a.list-group-item-info:focus {
- color: #31708f;
- background-color: #c4e3f3;
-}
-
-a.list-group-item-info.active,
-a.list-group-item-info.active:hover,
-a.list-group-item-info.active:focus {
- color: #fff;
- background-color: #31708f;
- border-color: #31708f;
-}
-
-.list-group-item-warning {
- color: #8a6d3b;
- background-color: #fcf8e3;
-}
-
-a.list-group-item-warning {
- color: #8a6d3b;
-}
-
-a.list-group-item-warning .list-group-item-heading {
- color: inherit;
-}
-
-a.list-group-item-warning:hover,
-a.list-group-item-warning:focus {
- color: #8a6d3b;
- background-color: #faf2cc;
-}
-
-a.list-group-item-warning.active,
-a.list-group-item-warning.active:hover,
-a.list-group-item-warning.active:focus {
- color: #fff;
- background-color: #8a6d3b;
- border-color: #8a6d3b;
-}
-
-.list-group-item-danger {
- color: #a94442;
- background-color: #f2dede;
-}
-
-a.list-group-item-danger {
- color: #a94442;
-}
-
-a.list-group-item-danger .list-group-item-heading {
- color: inherit;
-}
-
-a.list-group-item-danger:hover,
-a.list-group-item-danger:focus {
- color: #a94442;
- background-color: #ebcccc;
-}
-
-a.list-group-item-danger.active,
-a.list-group-item-danger.active:hover,
-a.list-group-item-danger.active:focus {
- color: #fff;
- background-color: #a94442;
- border-color: #a94442;
-}
-
-.list-group-item-heading {
- margin-top: 0;
- margin-bottom: 5px;
-}
-
-.list-group-item-text {
- margin-bottom: 0;
- line-height: 1.3;
-}
-
-.panel {
- margin-bottom: 20px;
- background-color: #fff;
- border: 1px solid transparent;
- border-radius: 4px;
- -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
- box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
-}
-
-.panel-body {
- padding: 15px;
-}
-
-.panel-heading {
- padding: 10px 15px;
- border-bottom: 1px solid transparent;
- border-top-left-radius: 3px;
- border-top-right-radius: 3px;
-}
-
-.panel-heading > .dropdown .dropdown-toggle {
- color: inherit;
-}
-
-.panel-title {
- margin-top: 0;
- margin-bottom: 0;
- font-size: 16px;
- color: inherit;
-}
-
-.panel-title > a {
- color: inherit;
-}
-
-.panel-footer {
- padding: 10px 15px;
- background-color: #f5f5f5;
- border-top: 1px solid #ddd;
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px;
-}
-
-.panel > .list-group {
- margin-bottom: 0;
-}
-
-.panel > .list-group .list-group-item {
- border-width: 1px 0;
- border-radius: 0;
-}
-
-.panel > .list-group:first-child .list-group-item:first-child {
- border-top: 0;
- border-top-left-radius: 3px;
- border-top-right-radius: 3px;
-}
-
-.panel > .list-group:last-child .list-group-item:last-child {
- border-bottom: 0;
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px;
-}
-
-.panel-heading + .list-group .list-group-item:first-child {
- border-top-width: 0;
-}
-
-.panel > .table,
-.panel > .table-responsive > .table {
- margin-bottom: 0;
-}
-
-.panel > .table:first-child,
-.panel > .table-responsive:first-child > .table:first-child {
- border-top-left-radius: 3px;
- border-top-right-radius: 3px;
-}
-
-.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
-.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
-.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
-.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
- border-top-left-radius: 3px;
-}
-
-.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
-.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
-.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
-.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
- border-top-right-radius: 3px;
-}
-
-.panel > .table:last-child,
-.panel > .table-responsive:last-child > .table:last-child {
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px;
-}
-
-.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
-.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
-.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
-.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
- border-bottom-left-radius: 3px;
-}
-
-.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
-.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
-.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
-.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
- border-bottom-right-radius: 3px;
-}
-
-.panel > .panel-body + .table,
-.panel > .panel-body + .table-responsive {
- border-top: 1px solid #ddd;
-}
-
-.panel > .table > tbody:first-child > tr:first-child th,
-.panel > .table > tbody:first-child > tr:first-child td {
- border-top: 0;
-}
-
-.panel > .table-bordered,
-.panel > .table-responsive > .table-bordered {
- border: 0;
-}
-
-.panel > .table-bordered > thead > tr > th:first-child,
-.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
-.panel > .table-bordered > tbody > tr > th:first-child,
-.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
-.panel > .table-bordered > tfoot > tr > th:first-child,
-.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
-.panel > .table-bordered > thead > tr > td:first-child,
-.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
-.panel > .table-bordered > tbody > tr > td:first-child,
-.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
-.panel > .table-bordered > tfoot > tr > td:first-child,
-.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0;
-}
-
-.panel > .table-bordered > thead > tr > th:last-child,
-.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
-.panel > .table-bordered > tbody > tr > th:last-child,
-.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
-.panel > .table-bordered > tfoot > tr > th:last-child,
-.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
-.panel > .table-bordered > thead > tr > td:last-child,
-.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
-.panel > .table-bordered > tbody > tr > td:last-child,
-.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
-.panel > .table-bordered > tfoot > tr > td:last-child,
-.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0;
-}
-
-.panel > .table-bordered > thead > tr:first-child > td,
-.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
-.panel > .table-bordered > tbody > tr:first-child > td,
-.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
-.panel > .table-bordered > thead > tr:first-child > th,
-.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
-.panel > .table-bordered > tbody > tr:first-child > th,
-.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
- border-bottom: 0;
-}
-
-.panel > .table-bordered > tbody > tr:last-child > td,
-.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
-.panel > .table-bordered > tfoot > tr:last-child > td,
-.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
-.panel > .table-bordered > tbody > tr:last-child > th,
-.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
-.panel > .table-bordered > tfoot > tr:last-child > th,
-.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
- border-bottom: 0;
-}
-
-.panel > .table-responsive {
- margin-bottom: 0;
- border: 0;
-}
-
-.panel-group {
- margin-bottom: 20px;
-}
-
-.panel-group .panel {
- margin-bottom: 0;
- overflow: hidden;
- border-radius: 4px;
-}
-
-.panel-group .panel + .panel {
- margin-top: 5px;
-}
-
-.panel-group .panel-heading {
- border-bottom: 0;
-}
-
-.panel-group .panel-heading + .panel-collapse .panel-body {
- border-top: 1px solid #ddd;
-}
-
-.panel-group .panel-footer {
- border-top: 0;
-}
-
-.panel-group .panel-footer + .panel-collapse .panel-body {
- border-bottom: 1px solid #ddd;
-}
-
-.panel-default {
- border-color: #ddd;
-}
-
-.panel-default > .panel-heading {
- color: #333;
- background-color: #f5f5f5;
- border-color: #ddd;
-}
-
-.panel-default > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #ddd;
-}
-
-.panel-default > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #ddd;
-}
-
-.panel-primary {
- border-color: #428bca;
-}
-
-.panel-primary > .panel-heading {
- color: #fff;
- background-color: #428bca;
- border-color: #428bca;
-}
-
-.panel-primary > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #428bca;
-}
-
-.panel-primary > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #428bca;
-}
-
-.panel-success {
- border-color: #d6e9c6;
-}
-
-.panel-success > .panel-heading {
- color: #3c763d;
- background-color: #dff0d8;
- border-color: #d6e9c6;
-}
-
-.panel-success > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #d6e9c6;
-}
-
-.panel-success > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #d6e9c6;
-}
-
-.panel-info {
- border-color: #bce8f1;
-}
-
-.panel-info > .panel-heading {
- color: #31708f;
- background-color: #d9edf7;
- border-color: #bce8f1;
-}
-
-.panel-info > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #bce8f1;
-}
-
-.panel-info > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #bce8f1;
-}
-
-.panel-warning {
- border-color: #faebcc;
-}
-
-.panel-warning > .panel-heading {
- color: #8a6d3b;
- background-color: #fcf8e3;
- border-color: #faebcc;
-}
-
-.panel-warning > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #faebcc;
-}
-
-.panel-warning > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #faebcc;
-}
-
-.panel-danger {
- border-color: #ebccd1;
-}
-
-.panel-danger > .panel-heading {
- color: #a94442;
- background-color: #f2dede;
- border-color: #ebccd1;
-}
-
-.panel-danger > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #ebccd1;
-}
-
-.panel-danger > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #ebccd1;
-}
-
-.well {
- min-height: 20px;
- padding: 19px;
- margin-bottom: 20px;
- background-color: #f5f5f5;
- border: 1px solid #e3e3e3;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
-}
-
-.well blockquote {
- border-color: #ddd;
- border-color: rgba(0, 0, 0, .15);
-}
-
-.well-lg {
- padding: 24px;
- border-radius: 6px;
-}
-
-.well-sm {
- padding: 9px;
- border-radius: 3px;
-}
-
-.close {
- float: right;
- font-size: 21px;
- font-weight: bold;
- line-height: 1;
- color: #000;
- text-shadow: 0 1px 0 #fff;
- filter: alpha(opacity=20);
- opacity: .2;
-}
-
-.close:hover,
-.close:focus {
- color: #000;
- text-decoration: none;
- cursor: pointer;
- filter: alpha(opacity=50);
- opacity: .5;
-}
-
-button.close {
- -webkit-appearance: none;
- padding: 0;
- cursor: pointer;
- background: transparent;
- border: 0;
-}
-
-.modal-open {
- overflow: hidden;
-}
-
-.modal {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1050;
- display: none;
- overflow: auto;
- overflow-y: scroll;
- -webkit-overflow-scrolling: touch;
- outline: 0;
-}
-
-.modal.fade .modal-dialog {
- -webkit-transition: -webkit-transform .3s ease-out;
- -moz-transition: -moz-transform .3s ease-out;
- -o-transition: -o-transform .3s ease-out;
- transition: transform .3s ease-out;
- -webkit-transform: translate(0, -25%);
- -ms-transform: translate(0, -25%);
- transform: translate(0, -25%);
-}
-
-.modal.in .modal-dialog {
- -webkit-transform: translate(0, 0);
- -ms-transform: translate(0, 0);
- transform: translate(0, 0);
-}
-
-.modal-dialog {
- position: relative;
- width: auto;
- margin: 10px;
-}
-
-.modal-content {
- position: relative;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #999;
- border: 1px solid rgba(0, 0, 0, .2);
- border-radius: 6px;
- outline: none;
- -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
- box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
-}
-
-.modal-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1040;
- /*background-color: #000;*/
- background-color: #fff;
-}
-
-.modal-backdrop.fade {
- filter: alpha(opacity=0);
- opacity: 0;
-}
-
-.modal-backdrop.in {
- filter: alpha(opacity=50);
- opacity: .5;
-}
-
-.modal-header {
- min-height: 16.42857143px;
- padding: 15px;
- border-bottom: 1px solid #e5e5e5;
-}
-
-.modal-header .close {
- margin-top: -2px;
-}
-
-.modal-title {
- margin: 0;
- line-height: 1.42857143;
-}
-
-.modal-body {
- position: relative;
- padding: 20px;
-}
-
-.modal-footer {
- padding: 19px 20px 20px;
- margin-top: 15px;
- text-align: right;
- border-top: 1px solid #e5e5e5;
-}
-
-.modal-footer .btn + .btn {
- margin-bottom: 0;
- margin-left: 5px;
-}
-
-.modal-footer .btn-group .btn + .btn {
- margin-left: -1px;
-}
-
-.modal-footer .btn-block + .btn-block {
- margin-left: 0;
-}
-
-@media (min-width: 768px) {
- .modal-dialog {
- width: 600px;
- margin: 30px auto;
- }
-
- .modal-content {
- -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
- box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
- }
-
- .modal-sm {
- width: 300px;
- }
-}
-
-@media (min-width: 992px) {
- .modal-lg {
- width: 900px;
- }
-}
-
-.tooltip {
- position: absolute;
- z-index: 1030;
- display: block;
- font-size: 12px;
- line-height: 1.4;
- visibility: visible;
- filter: alpha(opacity=0);
- opacity: 0;
-}
-
-.tooltip.in {
- filter: alpha(opacity=90);
- opacity: .9;
-}
-
-.tooltip.top {
- padding: 5px 0;
- margin-top: -3px;
-}
-
-.tooltip.right {
- padding: 0 5px;
- margin-left: 3px;
-}
-
-.tooltip.bottom {
- padding: 5px 0;
- margin-top: 3px;
-}
-
-.tooltip.left {
- padding: 0 5px;
- margin-left: -3px;
-}
-
-.tooltip-inner {
- max-width: 200px;
- padding: 3px 8px;
- color: #fff;
- text-align: center;
- text-decoration: none;
- background-color: #000;
- border-radius: 4px;
-}
-
-.tooltip-arrow {
- position: absolute;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid;
-}
-
-.tooltip.top .tooltip-arrow {
- bottom: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-
-.tooltip.top-left .tooltip-arrow {
- bottom: 0;
- left: 5px;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-
-.tooltip.top-right .tooltip-arrow {
- right: 5px;
- bottom: 0;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-
-.tooltip.right .tooltip-arrow {
- top: 50%;
- left: 0;
- margin-top: -5px;
- border-width: 5px 5px 5px 0;
- border-right-color: #000;
-}
-
-.tooltip.left .tooltip-arrow {
- top: 50%;
- right: 0;
- margin-top: -5px;
- border-width: 5px 0 5px 5px;
- border-left-color: #000;
-}
-
-.tooltip.bottom .tooltip-arrow {
- top: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-
-.tooltip.bottom-left .tooltip-arrow {
- top: 0;
- left: 5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-
-.tooltip.bottom-right .tooltip-arrow {
- top: 0;
- right: 5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-
-.popover {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1010;
- display: none;
- max-width: 276px;
- padding: 1px;
- text-align: left;
- white-space: normal;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, .2);
- border-radius: 6px;
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
- box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
-}
-
-.popover.top {
- margin-top: -10px;
-}
-
-.popover.right {
- margin-left: 10px;
-}
-
-.popover.bottom {
- margin-top: 10px;
-}
-
-.popover.left {
- margin-left: -10px;
-}
-
-.popover-title {
- padding: 8px 14px;
- margin: 0;
- font-size: 14px;
- font-weight: normal;
- line-height: 18px;
- background-color: #f7f7f7;
- border-bottom: 1px solid #ebebeb;
- border-radius: 5px 5px 0 0;
-}
-
-.popover-content {
- padding: 9px 14px;
-}
-
-.popover > .arrow,
-.popover > .arrow:after {
- position: absolute;
- display: block;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid;
-}
-
-.popover > .arrow {
- border-width: 11px;
-}
-
-.popover > .arrow:after {
- content: "";
- border-width: 10px;
-}
-
-.popover.top > .arrow {
- bottom: -11px;
- left: 50%;
- margin-left: -11px;
- border-top-color: #999;
- border-top-color: rgba(0, 0, 0, .25);
- border-bottom-width: 0;
-}
-
-.popover.top > .arrow:after {
- bottom: 1px;
- margin-left: -10px;
- content: " ";
- border-top-color: #fff;
- border-bottom-width: 0;
-}
-
-.popover.right > .arrow {
- top: 50%;
- left: -11px;
- margin-top: -11px;
- border-right-color: #999;
- border-right-color: rgba(0, 0, 0, .25);
- border-left-width: 0;
-}
-
-.popover.right > .arrow:after {
- bottom: -10px;
- left: 1px;
- content: " ";
- border-right-color: #fff;
- border-left-width: 0;
-}
-
-.popover.bottom > .arrow {
- top: -11px;
- left: 50%;
- margin-left: -11px;
- border-top-width: 0;
- border-bottom-color: #999;
- border-bottom-color: rgba(0, 0, 0, .25);
-}
-
-.popover.bottom > .arrow:after {
- top: 1px;
- margin-left: -10px;
- content: " ";
- border-top-width: 0;
- border-bottom-color: #fff;
-}
-
-.popover.left > .arrow {
- top: 50%;
- right: -11px;
- margin-top: -11px;
- border-right-width: 0;
- border-left-color: #999;
- border-left-color: rgba(0, 0, 0, .25);
-}
-
-.popover.left > .arrow:after {
- right: 1px;
- bottom: -10px;
- content: " ";
- border-right-width: 0;
- border-left-color: #fff;
-}
-
-.carousel {
- position: relative;
-}
-
-.carousel-inner {
- position: relative;
- width: 100%;
- overflow: hidden;
-}
-
-.carousel-inner > .item {
- position: relative;
- display: none;
- -webkit-transition: .6s ease-in-out left;
- transition: .6s ease-in-out left;
-}
-
-.carousel-inner > .item > img,
-.carousel-inner > .item > a > img {
- line-height: 1;
-}
-
-.carousel-inner > .active,
-.carousel-inner > .next,
-.carousel-inner > .prev {
- display: block;
-}
-
-.carousel-inner > .active {
- left: 0;
-}
-
-.carousel-inner > .next,
-.carousel-inner > .prev {
- position: absolute;
- top: 0;
- width: 100%;
-}
-
-.carousel-inner > .next {
- left: 100%;
-}
-
-.carousel-inner > .prev {
- left: -100%;
-}
-
-.carousel-inner > .next.left,
-.carousel-inner > .prev.right {
- left: 0;
-}
-
-.carousel-inner > .active.left {
- left: -100%;
-}
-
-.carousel-inner > .active.right {
- left: 100%;
-}
-
-.carousel-control {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- width: 15%;
- font-size: 20px;
- color: #fff;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
- filter: alpha(opacity=50);
- opacity: .5;
-}
-
-.carousel-control.left {
- background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .5) 0%), color-stop(rgba(0, 0, 0, .0001) 100%));
- background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
- background-repeat: repeat-x;
-}
-
-.carousel-control.right {
- right: 0;
- left: auto;
- background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .0001) 0%), color-stop(rgba(0, 0, 0, .5) 100%));
- background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
- background-repeat: repeat-x;
-}
-
-.carousel-control:hover,
-.carousel-control:focus {
- color: #fff;
- text-decoration: none;
- filter: alpha(opacity=90);
- outline: none;
- opacity: .9;
-}
-
-.carousel-control .icon-prev,
-.carousel-control .icon-next,
-.carousel-control .glyphicon-chevron-left,
-.carousel-control .glyphicon-chevron-right {
- position: absolute;
- top: 50%;
- z-index: 5;
- display: inline-block;
-}
-
-.carousel-control .icon-prev,
-.carousel-control .glyphicon-chevron-left {
- left: 50%;
-}
-
-.carousel-control .icon-next,
-.carousel-control .glyphicon-chevron-right {
- right: 50%;
-}
-
-.carousel-control .icon-prev,
-.carousel-control .icon-next {
- width: 20px;
- height: 20px;
- margin-top: -10px;
- margin-left: -10px;
- font-family: serif;
-}
-
-.carousel-control .icon-prev:before {
- content: '\2039';
-}
-
-.carousel-control .icon-next:before {
- content: '\203a';
-}
-
-.carousel-indicators {
- position: absolute;
- bottom: 10px;
- left: 50%;
- z-index: 15;
- width: 60%;
- padding-left: 0;
- margin-left: -30%;
- text-align: center;
- list-style: none;
-}
-
-.carousel-indicators li {
- display: inline-block;
- width: 10px;
- height: 10px;
- margin: 1px;
- text-indent: -999px;
- cursor: pointer;
- background-color: #000 \9;
- background-color: rgba(0, 0, 0, 0);
- border: 1px solid #fff;
- border-radius: 10px;
-}
-
-.carousel-indicators .active {
- width: 12px;
- height: 12px;
- margin: 0;
- background-color: #fff;
-}
-
-.carousel-caption {
- position: absolute;
- right: 15%;
- bottom: 20px;
- left: 15%;
- z-index: 10;
- padding-top: 20px;
- padding-bottom: 20px;
- color: #fff;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
-}
-
-.carousel-caption .btn {
- text-shadow: none;
-}
-
-@media screen and (min-width: 768px) {
- .carousel-control .glyphicon-chevron-left,
- .carousel-control .glyphicon-chevron-right,
- .carousel-control .icon-prev,
- .carousel-control .icon-next {
- width: 30px;
- height: 30px;
- margin-top: -15px;
- margin-left: -15px;
- font-size: 30px;
- }
-
- .carousel-caption {
- right: 20%;
- left: 20%;
- padding-bottom: 30px;
- }
-
- .carousel-indicators {
- bottom: 20px;
- }
-}
-
-.clearfix:before,
-.clearfix:after,
-.container:before,
-.container:after,
-.container-fluid:before,
-.container-fluid:after,
-.row:before,
-.row:after,
-.form-horizontal .form-group:before,
-.form-horizontal .form-group:after,
-.btn-toolbar:before,
-.btn-toolbar:after,
-.btn-group-vertical > .btn-group:before,
-.btn-group-vertical > .btn-group:after,
-.nav:before,
-.nav:after,
-.navbar:before,
-.navbar:after,
-.navbar-header:before,
-.navbar-header:after,
-.navbar-collapse:before,
-.navbar-collapse:after,
-.pager:before,
-.pager:after,
-.panel-body:before,
-.panel-body:after,
-.modal-footer:before,
-.modal-footer:after {
- display: table;
- content: " ";
-}
-
-.clearfix:after,
-.container:after,
-.container-fluid:after,
-.row:after,
-.form-horizontal .form-group:after,
-.btn-toolbar:after,
-.btn-group-vertical > .btn-group:after,
-.nav:after,
-.navbar:after,
-.navbar-header:after,
-.navbar-collapse:after,
-.pager:after,
-.panel-body:after,
-.modal-footer:after {
- clear: both;
-}
-
-.center-block {
- display: block;
- margin-right: auto;
- margin-left: auto;
-}
-
-.pull-right {
- float: right !important;
-}
-
-.pull-left {
- float: left !important;
-}
-
-.hide {
- display: none !important;
-}
-
-.show {
- display: block !important;
-}
-
-.invisible {
- visibility: hidden;
-}
-
-.text-hide {
- font: 0/0 a;
- color: transparent;
- text-shadow: none;
- background-color: transparent;
- border: 0;
-}
-
-.hidden {
- display: none !important;
- visibility: hidden !important;
-}
-
-.affix {
- position: fixed;
-}
-
-@-ms-viewport {
- width: device-width;
-}
-
-.visible-xs,
-.visible-sm,
-.visible-md,
-.visible-lg {
- display: none !important;
-}
-
-@media (max-width: 767px) {
- .visible-xs {
- display: block !important;
- }
-
- table.visible-xs {
- display: table;
- }
-
- tr.visible-xs {
- display: table-row !important;
- }
-
- th.visible-xs,
- td.visible-xs {
- display: table-cell !important;
- }
-}
-
-@media (min-width: 768px) and (max-width: 991px) {
- .visible-sm {
- display: block !important;
- }
-
- table.visible-sm {
- display: table;
- }
-
- tr.visible-sm {
- display: table-row !important;
- }
-
- th.visible-sm,
- td.visible-sm {
- display: table-cell !important;
- }
-}
-
-@media (min-width: 992px) and (max-width: 1199px) {
- .visible-md {
- display: block !important;
- }
-
- table.visible-md {
- display: table;
- }
-
- tr.visible-md {
- display: table-row !important;
- }
-
- th.visible-md,
- td.visible-md {
- display: table-cell !important;
- }
-}
-
-@media (min-width: 1200px) {
- .visible-lg {
- display: block !important;
- }
-
- table.visible-lg {
- display: table;
- }
-
- tr.visible-lg {
- display: table-row !important;
- }
-
- th.visible-lg,
- td.visible-lg {
- display: table-cell !important;
- }
-}
-
-@media (max-width: 767px) {
- .hidden-xs {
- display: none !important;
- }
-}
-
-@media (min-width: 768px) and (max-width: 991px) {
- .hidden-sm {
- display: none !important;
- }
-}
-
-@media (min-width: 992px) and (max-width: 1199px) {
- .hidden-md {
- display: none !important;
- }
-}
-
-@media (min-width: 1200px) {
- .hidden-lg {
- display: none !important;
- }
-}
-
-.visible-print {
- display: none !important;
-}
-
-@media print {
- .visible-print {
- display: block !important;
- }
-
- table.visible-print {
- display: table;
- }
-
- tr.visible-print {
- display: table-row !important;
- }
-
- th.visible-print,
- td.visible-print {
- display: table-cell !important;
- }
-}
-
-@media print {
- .hidden-print {
- display: none !important;
- }
-}
-
-/*# sourceMappingURL=bootstrap.css.map */
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/css/bootstrap.min.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/css/bootstrap.min.css
deleted file mode 100644
index d8ea28de..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/css/bootstrap.min.css
+++ /dev/null
@@ -1,6235 +0,0 @@
-/*!
- * Bootstrap v3.1.1 (http://getbootstrap.com)
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-
-/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
-html {
- font-family: sans-serif;
- -ms-text-size-adjust: 100%;
- -webkit-text-size-adjust: 100%
-}
-
-body {
- margin: 0
-}
-
-article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
- display: block
-}
-
-audio, canvas, progress, video {
- display: inline-block;
- vertical-align: baseline
-}
-
-audio:not([controls]) {
- display: none;
- height: 0
-}
-
-[hidden], template {
- display: none
-}
-
-a {
- background: 0 0
-}
-
-a:active, a:hover {
- outline: 0
-}
-
-abbr[title] {
- border-bottom: 1px dotted
-}
-
-b, strong {
- font-weight: 700
-}
-
-dfn {
- font-style: italic
-}
-
-h1 {
- font-size: 2em;
- margin: .67em 0
-}
-
-mark {
- background: #ff0;
- color: #000
-}
-
-small {
- font-size: 80%
-}
-
-sub, sup {
- font-size: 75%;
- line-height: 0;
- position: relative;
- vertical-align: baseline
-}
-
-sup {
- top: -.5em
-}
-
-sub {
- bottom: -.25em
-}
-
-img {
- border: 0
-}
-
-svg:not(:root) {
- overflow: hidden
-}
-
-figure {
- margin: 1em 40px
-}
-
-hr {
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- height: 0
-}
-
-pre {
- overflow: auto
-}
-
-code, kbd, pre, samp {
- font-family: monospace, monospace;
- font-size: 1em
-}
-
-button, input, optgroup, select, textarea {
- color: inherit;
- font: inherit;
- margin: 0
-}
-
-button {
- overflow: visible
-}
-
-button, select {
- text-transform: none
-}
-
-button, html input[type=button], input[type=reset], input[type=submit] {
- -webkit-appearance: button;
- cursor: pointer
-}
-
-button[disabled], html input[disabled] {
- cursor: default
-}
-
-button::-moz-focus-inner, input::-moz-focus-inner {
- border: 0;
- padding: 0
-}
-
-input {
- line-height: normal
-}
-
-input[type=checkbox], input[type=radio] {
- box-sizing: border-box;
- padding: 0
-}
-
-input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
- height: auto
-}
-
-input[type=search] {
- -webkit-appearance: textfield;
- -moz-box-sizing: content-box;
- -webkit-box-sizing: content-box;
- box-sizing: content-box
-}
-
-input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
- -webkit-appearance: none
-}
-
-fieldset {
- border: 1px solid silver;
- margin: 0 2px;
- padding: .35em .625em .75em
-}
-
-legend {
- border: 0;
- padding: 0
-}
-
-textarea {
- overflow: auto
-}
-
-table {
- border-collapse: collapse;
- border-spacing: 0
-}
-
-td, th {
- padding: 0
-}
-
-@media print {
- * {
- text-shadow: none !important;
- color: #000 !important;
- background: transparent !important;
- box-shadow: none !important
- }
-
- a, a:visited {
- text-decoration: underline
- }
-
- a[href]:after {
- content: " (" attr(href) ")"
- }
-
- abbr[title]:after {
- content: " (" attr(title) ")"
- }
-
- a[href^="javascript:"]:after, a[href^="#"]:after {
- content: ""
- }
-
- pre, blockquote {
- border: 1px solid #999;
- page-break-inside: avoid
- }
-
- thead {
- display: table-header-group
- }
-
- tr, img {
- page-break-inside: avoid
- }
-
- img {
- max-width: 100% !important
- }
-
- p, h2, h3 {
- orphans: 3;
- widows: 3
- }
-
- h2, h3 {
- page-break-after: avoid
- }
-
- select {
- background: #fff !important
- }
-
- .navbar {
- display: none
- }
-
- .table td, .table th {
- background-color: #fff !important
- }
-
- .btn > .caret, .dropup > .btn > .caret {
- border-top-color: #000 !important
- }
-
- .label {
- border: 1px solid #000
- }
-
- .table {
- border-collapse: collapse !important
- }
-
- .table-bordered th, .table-bordered td {
- border: 1px solid #ddd !important
- }
-}
-
-* {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box
-}
-
-:before, :after {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box
-}
-
-html {
- font-size: 62.5%;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
-}
-
-body {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 14px;
- line-height: 1.42857143;
- color: #333;
- background-color: #fff
-}
-
-input, button, select, textarea {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit
-}
-
-a {
- color: #428bca;
- text-decoration: none
-}
-
-a:hover, a:focus {
- color: #2a6496;
- text-decoration: underline
-}
-
-a:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px
-}
-
-figure {
- margin: 0
-}
-
-img {
- vertical-align: middle
-}
-
-.img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img {
- display: block;
- max-width: 100%;
- height: auto
-}
-
-.img-rounded {
- border-radius: 6px
-}
-
-.img-thumbnail {
- padding: 4px;
- line-height: 1.42857143;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 4px;
- -webkit-transition: all .2s ease-in-out;
- transition: all .2s ease-in-out;
- display: inline-block;
- max-width: 100%;
- height: auto
-}
-
-.img-circle {
- border-radius: 50%
-}
-
-hr {
- margin-top: 20px;
- margin-bottom: 20px;
- border: 0;
- border-top: 1px solid #eee
-}
-
-.sr-only {
- position: absolute;
- width: 1px;
- height: 1px;
- margin: -1px;
- padding: 0;
- overflow: hidden;
- clip: rect(0, 0, 0, 0);
- border: 0
-}
-
-h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
- font-family: inherit;
- font-weight: 500;
- line-height: 1.1;
- color: inherit
-}
-
-h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small {
- font-weight: 400;
- line-height: 1;
- color: #999
-}
-
-h1, .h1, h2, .h2, h3, .h3 {
- margin-top: 20px;
- margin-bottom: 10px
-}
-
-h1 small, .h1 small, h2 small, .h2 small, h3 small, .h3 small, h1 .small, .h1 .small, h2 .small, .h2 .small, h3 .small, .h3 .small {
- font-size: 65%
-}
-
-h4, .h4, h5, .h5, h6, .h6 {
- margin-top: 10px;
- margin-bottom: 10px
-}
-
-h4 small, .h4 small, h5 small, .h5 small, h6 small, .h6 small, h4 .small, .h4 .small, h5 .small, .h5 .small, h6 .small, .h6 .small {
- font-size: 75%
-}
-
-h1, .h1 {
- font-size: 36px
-}
-
-h2, .h2 {
- font-size: 30px
-}
-
-h3, .h3 {
- font-size: 24px
-}
-
-h4, .h4 {
- font-size: 18px
-}
-
-h5, .h5 {
- font-size: 14px
-}
-
-h6, .h6 {
- font-size: 12px
-}
-
-p {
- margin: 0 0 10px
-}
-
-.lead {
- margin-bottom: 20px;
- font-size: 16px;
- font-weight: 200;
- line-height: 1.4
-}
-
-@media (min-width: 768px) {
- .lead {
- font-size: 21px
- }
-}
-
-small, .small {
- font-size: 85%
-}
-
-cite {
- font-style: normal
-}
-
-.text-left {
- text-align: left
-}
-
-.text-right {
- text-align: right
-}
-
-.text-center {
- text-align: center
-}
-
-.text-justify {
- text-align: justify
-}
-
-.text-muted {
- color: #999
-}
-
-.text-primary {
- color: #428bca
-}
-
-a.text-primary:hover {
- color: #3071a9
-}
-
-.text-success {
- color: #3c763d
-}
-
-a.text-success:hover {
- color: #2b542c
-}
-
-.text-info {
- color: #31708f
-}
-
-a.text-info:hover {
- color: #245269
-}
-
-.text-warning {
- color: #8a6d3b
-}
-
-a.text-warning:hover {
- color: #66512c
-}
-
-.text-danger {
- color: #a94442
-}
-
-a.text-danger:hover {
- color: #843534
-}
-
-.bg-primary {
- color: #fff;
- background-color: #428bca
-}
-
-a.bg-primary:hover {
- background-color: #3071a9
-}
-
-.bg-success {
- background-color: #dff0d8
-}
-
-a.bg-success:hover {
- background-color: #c1e2b3
-}
-
-.bg-info {
- background-color: #d9edf7
-}
-
-a.bg-info:hover {
- background-color: #afd9ee
-}
-
-.bg-warning {
- background-color: #fcf8e3
-}
-
-a.bg-warning:hover {
- background-color: #f7ecb5
-}
-
-.bg-danger {
- background-color: #f2dede
-}
-
-a.bg-danger:hover {
- background-color: #e4b9b9
-}
-
-.page-header {
- padding-bottom: 9px;
- margin: 40px 0 20px;
- border-bottom: 1px solid #eee
-}
-
-ul, ol {
- margin-top: 0;
- margin-bottom: 10px
-}
-
-ul ul, ol ul, ul ol, ol ol {
- margin-bottom: 0
-}
-
-.list-unstyled {
- padding-left: 0;
- list-style: none
-}
-
-.list-inline {
- padding-left: 0;
- list-style: none;
- margin-left: -5px
-}
-
-.list-inline > li {
- display: inline-block;
- padding-left: 5px;
- padding-right: 5px
-}
-
-dl {
- margin-top: 0;
- margin-bottom: 20px
-}
-
-dt, dd {
- line-height: 1.42857143
-}
-
-dd {
- margin-left: 0
-}
-
-@media (min-width: 768px) {
- .dl-horizontal dt {
- float: left;
- width: 160px;
- clear: left;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap
- }
-
- .dl-horizontal dd {
- margin-left: 180px
- }
-}
-
-abbr[title], abbr[data-original-title] {
- cursor: help;
- border-bottom: 1px dotted #999
-}
-
-.initialism {
- font-size: 90%;
- text-transform: uppercase
-}
-
-blockquote {
- padding: 10px 20px;
- margin: 0 0 20px;
- font-size: 17.5px;
- border-left: 5px solid #eee
-}
-
-blockquote p:last-child, blockquote ul:last-child, blockquote ol:last-child {
- margin-bottom: 0
-}
-
-blockquote footer, blockquote small, blockquote .small {
- display: block;
- font-size: 80%;
- line-height: 1.42857143;
- color: #999
-}
-
-blockquote footer:before, blockquote small:before, blockquote .small:before {
- content: '\2014 \00A0'
-}
-
-.blockquote-reverse, blockquote.pull-right {
- padding-right: 15px;
- padding-left: 0;
- border-right: 5px solid #eee;
- border-left: 0;
- text-align: right
-}
-
-.blockquote-reverse footer:before, blockquote.pull-right footer:before, .blockquote-reverse small:before, blockquote.pull-right small:before, .blockquote-reverse .small:before, blockquote.pull-right .small:before {
- content: ''
-}
-
-.blockquote-reverse footer:after, blockquote.pull-right footer:after, .blockquote-reverse small:after, blockquote.pull-right small:after, .blockquote-reverse .small:after, blockquote.pull-right .small:after {
- content: '\00A0 \2014'
-}
-
-blockquote:before, blockquote:after {
- content: ""
-}
-
-address {
- margin-bottom: 20px;
- font-style: normal;
- line-height: 1.42857143
-}
-
-code, kbd, pre, samp {
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace
-}
-
-code {
- padding: 2px 4px;
- font-size: 90%;
- color: #c7254e;
- background-color: #f9f2f4;
- white-space: nowrap;
- border-radius: 4px
-}
-
-kbd {
- padding: 2px 4px;
- font-size: 90%;
- color: #fff;
- background-color: #333;
- border-radius: 3px;
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25)
-}
-
-pre {
- display: block;
- padding: 9.5px;
- margin: 0 0 10px;
- font-size: 13px;
- line-height: 1.42857143;
- word-break: break-all;
- word-wrap: break-word;
- color: #333;
- background-color: #f5f5f5;
- border: 1px solid #ccc;
- border-radius: 4px
-}
-
-pre code {
- padding: 0;
- font-size: inherit;
- color: inherit;
- white-space: pre-wrap;
- background-color: transparent;
- border-radius: 0
-}
-
-.pre-scrollable {
- max-height: 340px;
- overflow-y: scroll
-}
-
-.container {
- margin-right: auto;
- margin-left: auto;
- padding-left: 15px;
- padding-right: 15px
-}
-
-@media (min-width: 768px) {
- .container {
- width: 750px
- }
-}
-
-@media (min-width: 992px) {
- .container {
- width: 970px
- }
-}
-
-@media (min-width: 1200px) {
- .container {
- width: 1170px
- }
-}
-
-.container-fluid {
- margin-right: auto;
- margin-left: auto;
- padding-left: 15px;
- padding-right: 15px
-}
-
-.row {
- margin-left: -15px;
- margin-right: -15px
-}
-
-.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
- position: relative;
- min-height: 1px;
- padding-left: 15px;
- padding-right: 15px
-}
-
-.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
- float: left
-}
-
-.col-xs-12 {
- width: 100%
-}
-
-.col-xs-11 {
- width: 91.66666667%
-}
-
-.col-xs-10 {
- width: 83.33333333%
-}
-
-.col-xs-9 {
- width: 75%
-}
-
-.col-xs-8 {
- width: 66.66666667%
-}
-
-.col-xs-7 {
- width: 58.33333333%
-}
-
-.col-xs-6 {
- width: 50%
-}
-
-.col-xs-5 {
- width: 41.66666667%
-}
-
-.col-xs-4 {
- width: 33.33333333%
-}
-
-.col-xs-3 {
- width: 25%
-}
-
-.col-xs-2 {
- width: 16.66666667%
-}
-
-.col-xs-1 {
- width: 8.33333333%
-}
-
-.col-xs-pull-12 {
- right: 100%
-}
-
-.col-xs-pull-11 {
- right: 91.66666667%
-}
-
-.col-xs-pull-10 {
- right: 83.33333333%
-}
-
-.col-xs-pull-9 {
- right: 75%
-}
-
-.col-xs-pull-8 {
- right: 66.66666667%
-}
-
-.col-xs-pull-7 {
- right: 58.33333333%
-}
-
-.col-xs-pull-6 {
- right: 50%
-}
-
-.col-xs-pull-5 {
- right: 41.66666667%
-}
-
-.col-xs-pull-4 {
- right: 33.33333333%
-}
-
-.col-xs-pull-3 {
- right: 25%
-}
-
-.col-xs-pull-2 {
- right: 16.66666667%
-}
-
-.col-xs-pull-1 {
- right: 8.33333333%
-}
-
-.col-xs-pull-0 {
- right: 0
-}
-
-.col-xs-push-12 {
- left: 100%
-}
-
-.col-xs-push-11 {
- left: 91.66666667%
-}
-
-.col-xs-push-10 {
- left: 83.33333333%
-}
-
-.col-xs-push-9 {
- left: 75%
-}
-
-.col-xs-push-8 {
- left: 66.66666667%
-}
-
-.col-xs-push-7 {
- left: 58.33333333%
-}
-
-.col-xs-push-6 {
- left: 50%
-}
-
-.col-xs-push-5 {
- left: 41.66666667%
-}
-
-.col-xs-push-4 {
- left: 33.33333333%
-}
-
-.col-xs-push-3 {
- left: 25%
-}
-
-.col-xs-push-2 {
- left: 16.66666667%
-}
-
-.col-xs-push-1 {
- left: 8.33333333%
-}
-
-.col-xs-push-0 {
- left: 0
-}
-
-.col-xs-offset-12 {
- margin-left: 100%
-}
-
-.col-xs-offset-11 {
- margin-left: 91.66666667%
-}
-
-.col-xs-offset-10 {
- margin-left: 83.33333333%
-}
-
-.col-xs-offset-9 {
- margin-left: 75%
-}
-
-.col-xs-offset-8 {
- margin-left: 66.66666667%
-}
-
-.col-xs-offset-7 {
- margin-left: 58.33333333%
-}
-
-.col-xs-offset-6 {
- margin-left: 50%
-}
-
-.col-xs-offset-5 {
- margin-left: 41.66666667%
-}
-
-.col-xs-offset-4 {
- margin-left: 33.33333333%
-}
-
-.col-xs-offset-3 {
- margin-left: 25%
-}
-
-.col-xs-offset-2 {
- margin-left: 16.66666667%
-}
-
-.col-xs-offset-1 {
- margin-left: 8.33333333%
-}
-
-.col-xs-offset-0 {
- margin-left: 0
-}
-
-@media (min-width: 768px) {
- .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
- float: left
- }
-
- .col-sm-12 {
- width: 100%
- }
-
- .col-sm-11 {
- width: 91.66666667%
- }
-
- .col-sm-10 {
- width: 83.33333333%
- }
-
- .col-sm-9 {
- width: 75%
- }
-
- .col-sm-8 {
- width: 66.66666667%
- }
-
- .col-sm-7 {
- width: 58.33333333%
- }
-
- .col-sm-6 {
- width: 50%
- }
-
- .col-sm-5 {
- width: 41.66666667%
- }
-
- .col-sm-4 {
- width: 33.33333333%
- }
-
- .col-sm-3 {
- width: 25%
- }
-
- .col-sm-2 {
- width: 16.66666667%
- }
-
- .col-sm-1 {
- width: 8.33333333%
- }
-
- .col-sm-pull-12 {
- right: 100%
- }
-
- .col-sm-pull-11 {
- right: 91.66666667%
- }
-
- .col-sm-pull-10 {
- right: 83.33333333%
- }
-
- .col-sm-pull-9 {
- right: 75%
- }
-
- .col-sm-pull-8 {
- right: 66.66666667%
- }
-
- .col-sm-pull-7 {
- right: 58.33333333%
- }
-
- .col-sm-pull-6 {
- right: 50%
- }
-
- .col-sm-pull-5 {
- right: 41.66666667%
- }
-
- .col-sm-pull-4 {
- right: 33.33333333%
- }
-
- .col-sm-pull-3 {
- right: 25%
- }
-
- .col-sm-pull-2 {
- right: 16.66666667%
- }
-
- .col-sm-pull-1 {
- right: 8.33333333%
- }
-
- .col-sm-pull-0 {
- right: 0
- }
-
- .col-sm-push-12 {
- left: 100%
- }
-
- .col-sm-push-11 {
- left: 91.66666667%
- }
-
- .col-sm-push-10 {
- left: 83.33333333%
- }
-
- .col-sm-push-9 {
- left: 75%
- }
-
- .col-sm-push-8 {
- left: 66.66666667%
- }
-
- .col-sm-push-7 {
- left: 58.33333333%
- }
-
- .col-sm-push-6 {
- left: 50%
- }
-
- .col-sm-push-5 {
- left: 41.66666667%
- }
-
- .col-sm-push-4 {
- left: 33.33333333%
- }
-
- .col-sm-push-3 {
- left: 25%
- }
-
- .col-sm-push-2 {
- left: 16.66666667%
- }
-
- .col-sm-push-1 {
- left: 8.33333333%
- }
-
- .col-sm-push-0 {
- left: 0
- }
-
- .col-sm-offset-12 {
- margin-left: 100%
- }
-
- .col-sm-offset-11 {
- margin-left: 91.66666667%
- }
-
- .col-sm-offset-10 {
- margin-left: 83.33333333%
- }
-
- .col-sm-offset-9 {
- margin-left: 75%
- }
-
- .col-sm-offset-8 {
- margin-left: 66.66666667%
- }
-
- .col-sm-offset-7 {
- margin-left: 58.33333333%
- }
-
- .col-sm-offset-6 {
- margin-left: 50%
- }
-
- .col-sm-offset-5 {
- margin-left: 41.66666667%
- }
-
- .col-sm-offset-4 {
- margin-left: 33.33333333%
- }
-
- .col-sm-offset-3 {
- margin-left: 25%
- }
-
- .col-sm-offset-2 {
- margin-left: 16.66666667%
- }
-
- .col-sm-offset-1 {
- margin-left: 8.33333333%
- }
-
- .col-sm-offset-0 {
- margin-left: 0
- }
-}
-
-@media (min-width: 992px) {
- .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
- float: left
- }
-
- .col-md-12 {
- width: 100%
- }
-
- .col-md-11 {
- width: 91.66666667%
- }
-
- .col-md-10 {
- width: 83.33333333%
- }
-
- .col-md-9 {
- width: 75%
- }
-
- .col-md-8 {
- width: 66.66666667%
- }
-
- .col-md-7 {
- width: 58.33333333%
- }
-
- .col-md-6 {
- width: 50%
- }
-
- .col-md-5 {
- width: 41.66666667%
- }
-
- .col-md-4 {
- width: 33.33333333%
- }
-
- .col-md-3 {
- width: 25%
- }
-
- .col-md-2 {
- width: 16.66666667%
- }
-
- .col-md-1 {
- width: 8.33333333%
- }
-
- .col-md-pull-12 {
- right: 100%
- }
-
- .col-md-pull-11 {
- right: 91.66666667%
- }
-
- .col-md-pull-10 {
- right: 83.33333333%
- }
-
- .col-md-pull-9 {
- right: 75%
- }
-
- .col-md-pull-8 {
- right: 66.66666667%
- }
-
- .col-md-pull-7 {
- right: 58.33333333%
- }
-
- .col-md-pull-6 {
- right: 50%
- }
-
- .col-md-pull-5 {
- right: 41.66666667%
- }
-
- .col-md-pull-4 {
- right: 33.33333333%
- }
-
- .col-md-pull-3 {
- right: 25%
- }
-
- .col-md-pull-2 {
- right: 16.66666667%
- }
-
- .col-md-pull-1 {
- right: 8.33333333%
- }
-
- .col-md-pull-0 {
- right: 0
- }
-
- .col-md-push-12 {
- left: 100%
- }
-
- .col-md-push-11 {
- left: 91.66666667%
- }
-
- .col-md-push-10 {
- left: 83.33333333%
- }
-
- .col-md-push-9 {
- left: 75%
- }
-
- .col-md-push-8 {
- left: 66.66666667%
- }
-
- .col-md-push-7 {
- left: 58.33333333%
- }
-
- .col-md-push-6 {
- left: 50%
- }
-
- .col-md-push-5 {
- left: 41.66666667%
- }
-
- .col-md-push-4 {
- left: 33.33333333%
- }
-
- .col-md-push-3 {
- left: 25%
- }
-
- .col-md-push-2 {
- left: 16.66666667%
- }
-
- .col-md-push-1 {
- left: 8.33333333%
- }
-
- .col-md-push-0 {
- left: 0
- }
-
- .col-md-offset-12 {
- margin-left: 100%
- }
-
- .col-md-offset-11 {
- margin-left: 91.66666667%
- }
-
- .col-md-offset-10 {
- margin-left: 83.33333333%
- }
-
- .col-md-offset-9 {
- margin-left: 75%
- }
-
- .col-md-offset-8 {
- margin-left: 66.66666667%
- }
-
- .col-md-offset-7 {
- margin-left: 58.33333333%
- }
-
- .col-md-offset-6 {
- margin-left: 50%
- }
-
- .col-md-offset-5 {
- margin-left: 41.66666667%
- }
-
- .col-md-offset-4 {
- margin-left: 33.33333333%
- }
-
- .col-md-offset-3 {
- margin-left: 25%
- }
-
- .col-md-offset-2 {
- margin-left: 16.66666667%
- }
-
- .col-md-offset-1 {
- margin-left: 8.33333333%
- }
-
- .col-md-offset-0 {
- margin-left: 0
- }
-}
-
-@media (min-width: 1200px) {
- .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
- float: left
- }
-
- .col-lg-12 {
- width: 100%
- }
-
- .col-lg-11 {
- width: 91.66666667%
- }
-
- .col-lg-10 {
- width: 83.33333333%
- }
-
- .col-lg-9 {
- width: 75%
- }
-
- .col-lg-8 {
- width: 66.66666667%
- }
-
- .col-lg-7 {
- width: 58.33333333%
- }
-
- .col-lg-6 {
- width: 50%
- }
-
- .col-lg-5 {
- width: 41.66666667%
- }
-
- .col-lg-4 {
- width: 33.33333333%
- }
-
- .col-lg-3 {
- width: 25%
- }
-
- .col-lg-2 {
- width: 16.66666667%
- }
-
- .col-lg-1 {
- width: 8.33333333%
- }
-
- .col-lg-pull-12 {
- right: 100%
- }
-
- .col-lg-pull-11 {
- right: 91.66666667%
- }
-
- .col-lg-pull-10 {
- right: 83.33333333%
- }
-
- .col-lg-pull-9 {
- right: 75%
- }
-
- .col-lg-pull-8 {
- right: 66.66666667%
- }
-
- .col-lg-pull-7 {
- right: 58.33333333%
- }
-
- .col-lg-pull-6 {
- right: 50%
- }
-
- .col-lg-pull-5 {
- right: 41.66666667%
- }
-
- .col-lg-pull-4 {
- right: 33.33333333%
- }
-
- .col-lg-pull-3 {
- right: 25%
- }
-
- .col-lg-pull-2 {
- right: 16.66666667%
- }
-
- .col-lg-pull-1 {
- right: 8.33333333%
- }
-
- .col-lg-pull-0 {
- right: 0
- }
-
- .col-lg-push-12 {
- left: 100%
- }
-
- .col-lg-push-11 {
- left: 91.66666667%
- }
-
- .col-lg-push-10 {
- left: 83.33333333%
- }
-
- .col-lg-push-9 {
- left: 75%
- }
-
- .col-lg-push-8 {
- left: 66.66666667%
- }
-
- .col-lg-push-7 {
- left: 58.33333333%
- }
-
- .col-lg-push-6 {
- left: 50%
- }
-
- .col-lg-push-5 {
- left: 41.66666667%
- }
-
- .col-lg-push-4 {
- left: 33.33333333%
- }
-
- .col-lg-push-3 {
- left: 25%
- }
-
- .col-lg-push-2 {
- left: 16.66666667%
- }
-
- .col-lg-push-1 {
- left: 8.33333333%
- }
-
- .col-lg-push-0 {
- left: 0
- }
-
- .col-lg-offset-12 {
- margin-left: 100%
- }
-
- .col-lg-offset-11 {
- margin-left: 91.66666667%
- }
-
- .col-lg-offset-10 {
- margin-left: 83.33333333%
- }
-
- .col-lg-offset-9 {
- margin-left: 75%
- }
-
- .col-lg-offset-8 {
- margin-left: 66.66666667%
- }
-
- .col-lg-offset-7 {
- margin-left: 58.33333333%
- }
-
- .col-lg-offset-6 {
- margin-left: 50%
- }
-
- .col-lg-offset-5 {
- margin-left: 41.66666667%
- }
-
- .col-lg-offset-4 {
- margin-left: 33.33333333%
- }
-
- .col-lg-offset-3 {
- margin-left: 25%
- }
-
- .col-lg-offset-2 {
- margin-left: 16.66666667%
- }
-
- .col-lg-offset-1 {
- margin-left: 8.33333333%
- }
-
- .col-lg-offset-0 {
- margin-left: 0
- }
-}
-
-table {
- max-width: 100%;
- background-color: transparent
-}
-
-th {
- text-align: left
-}
-
-.table {
- width: 100%;
- margin-bottom: 20px
-}
-
-.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
- padding: 8px;
- line-height: 1.42857143;
- vertical-align: top;
- border-top: 1px solid #ddd
-}
-
-.table > thead > tr > th {
- vertical-align: bottom;
- border-bottom: 2px solid #ddd
-}
-
-.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
- border-top: 0
-}
-
-.table > tbody + tbody {
- border-top: 2px solid #ddd
-}
-
-.table .table {
- background-color: #fff
-}
-
-.table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td {
- padding: 5px
-}
-
-.table-bordered {
- border: 1px solid #ddd
-}
-
-.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
- border: 1px solid #ddd
-}
-
-.table-bordered > thead > tr > th, .table-bordered > thead > tr > td {
- border-bottom-width: 2px
-}
-
-.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
- background-color: #f9f9f9
-}
-
-.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
- background-color: #f5f5f5
-}
-
-table col[class*=col-] {
- position: static;
- float: none;
- display: table-column
-}
-
-table td[class*=col-], table th[class*=col-] {
- position: static;
- float: none;
- display: table-cell
-}
-
-.table > thead > tr > td.active, .table > tbody > tr > td.active, .table > tfoot > tr > td.active, .table > thead > tr > th.active, .table > tbody > tr > th.active, .table > tfoot > tr > th.active, .table > thead > tr.active > td, .table > tbody > tr.active > td, .table > tfoot > tr.active > td, .table > thead > tr.active > th, .table > tbody > tr.active > th, .table > tfoot > tr.active > th {
- background-color: #f5f5f5
-}
-
-.table-hover > tbody > tr > td.active:hover, .table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr.active:hover > th {
- background-color: #e8e8e8
-}
-
-.table > thead > tr > td.success, .table > tbody > tr > td.success, .table > tfoot > tr > td.success, .table > thead > tr > th.success, .table > tbody > tr > th.success, .table > tfoot > tr > th.success, .table > thead > tr.success > td, .table > tbody > tr.success > td, .table > tfoot > tr.success > td, .table > thead > tr.success > th, .table > tbody > tr.success > th, .table > tfoot > tr.success > th {
- background-color: #dff0d8
-}
-
-.table-hover > tbody > tr > td.success:hover, .table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr.success:hover > th {
- background-color: #d0e9c6
-}
-
-.table > thead > tr > td.info, .table > tbody > tr > td.info, .table > tfoot > tr > td.info, .table > thead > tr > th.info, .table > tbody > tr > th.info, .table > tfoot > tr > th.info, .table > thead > tr.info > td, .table > tbody > tr.info > td, .table > tfoot > tr.info > td, .table > thead > tr.info > th, .table > tbody > tr.info > th, .table > tfoot > tr.info > th {
- background-color: #d9edf7
-}
-
-.table-hover > tbody > tr > td.info:hover, .table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr.info:hover > th {
- background-color: #c4e3f3
-}
-
-.table > thead > tr > td.warning, .table > tbody > tr > td.warning, .table > tfoot > tr > td.warning, .table > thead > tr > th.warning, .table > tbody > tr > th.warning, .table > tfoot > tr > th.warning, .table > thead > tr.warning > td, .table > tbody > tr.warning > td, .table > tfoot > tr.warning > td, .table > thead > tr.warning > th, .table > tbody > tr.warning > th, .table > tfoot > tr.warning > th {
- background-color: #fcf8e3
-}
-
-.table-hover > tbody > tr > td.warning:hover, .table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr.warning:hover > th {
- background-color: #faf2cc
-}
-
-.table > thead > tr > td.danger, .table > tbody > tr > td.danger, .table > tfoot > tr > td.danger, .table > thead > tr > th.danger, .table > tbody > tr > th.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > tbody > tr.danger > td, .table > tfoot > tr.danger > td, .table > thead > tr.danger > th, .table > tbody > tr.danger > th, .table > tfoot > tr.danger > th {
- background-color: #f2dede
-}
-
-.table-hover > tbody > tr > td.danger:hover, .table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr.danger:hover > th {
- background-color: #ebcccc
-}
-
-@media (max-width: 767px) {
- .table-responsive {
- width: 100%;
- margin-bottom: 15px;
- overflow-y: hidden;
- overflow-x: scroll;
- -ms-overflow-style: -ms-autohiding-scrollbar;
- border: 1px solid #ddd;
- -webkit-overflow-scrolling: touch
- }
-
- .table-responsive > .table {
- margin-bottom: 0
- }
-
- .table-responsive > .table > thead > tr > th, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > tbody > tr > td, .table-responsive > .table > tfoot > tr > td {
- white-space: nowrap
- }
-
- .table-responsive > .table-bordered {
- border: 0
- }
-
- .table-responsive > .table-bordered > thead > tr > th:first-child, .table-responsive > .table-bordered > tbody > tr > th:first-child, .table-responsive > .table-bordered > tfoot > tr > th:first-child, .table-responsive > .table-bordered > thead > tr > td:first-child, .table-responsive > .table-bordered > tbody > tr > td:first-child, .table-responsive > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0
- }
-
- .table-responsive > .table-bordered > thead > tr > th:last-child, .table-responsive > .table-bordered > tbody > tr > th:last-child, .table-responsive > .table-bordered > tfoot > tr > th:last-child, .table-responsive > .table-bordered > thead > tr > td:last-child, .table-responsive > .table-bordered > tbody > tr > td:last-child, .table-responsive > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0
- }
-
- .table-responsive > .table-bordered > tbody > tr:last-child > th, .table-responsive > .table-bordered > tfoot > tr:last-child > th, .table-responsive > .table-bordered > tbody > tr:last-child > td, .table-responsive > .table-bordered > tfoot > tr:last-child > td {
- border-bottom: 0
- }
-}
-
-fieldset {
- padding: 0;
- margin: 0;
- border: 0;
- min-width: 0
-}
-
-legend {
- display: block;
- width: 100%;
- padding: 0;
- margin-bottom: 20px;
- font-size: 21px;
- line-height: inherit;
- color: #333;
- border: 0;
- border-bottom: 1px solid #e5e5e5
-}
-
-label {
- display: inline-block;
- margin-bottom: 5px
-}
-
-input[type=search] {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box
-}
-
-input[type=radio], input[type=checkbox] {
- margin: 4px 0 0;
- margin-top: 1px \9;
- line-height: normal
-}
-
-input[type=file] {
- display: block
-}
-
-input[type=range] {
- display: block;
- width: 100%
-}
-
-select[multiple], select[size] {
- height: auto
-}
-
-input[type=file]:focus, input[type=radio]:focus, input[type=checkbox]:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px
-}
-
-output {
- display: block;
- padding-top: 7px;
- font-size: 14px;
- line-height: 1.42857143;
- color: #555
-}
-
-.form-control {
- display: block;
- width: 100%;
- height: 34px;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 1.42857143;
- color: #555;
- background-color: #fff;
- background-image: none;
- border: 1px solid #ccc;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
-}
-
-.form-control:focus {
- border-color: #66afe9;
- outline: 0;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6)
-}
-
-.form-control::-moz-placeholder {
- color: #999;
- opacity: 1
-}
-
-.form-control:-ms-input-placeholder {
- color: #999
-}
-
-.form-control::-webkit-input-placeholder {
- color: #999
-}
-
-.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
- cursor: not-allowed;
- background-color: #eee;
- opacity: 1
-}
-
-textarea.form-control {
- height: auto
-}
-
-input[type=search] {
- -webkit-appearance: none
-}
-
-input[type=date] {
- line-height: 34px
-}
-
-.form-group {
- margin-bottom: 15px
-}
-
-.radio, .checkbox {
- display: block;
- min-height: 20px;
- margin-top: 10px;
- margin-bottom: 10px;
- padding-left: 20px
-}
-
-.radio label, .checkbox label {
- display: inline;
- font-weight: 400;
- cursor: pointer
-}
-
-.radio input[type=radio], .radio-inline input[type=radio], .checkbox input[type=checkbox], .checkbox-inline input[type=checkbox] {
- float: left;
- margin-left: -20px
-}
-
-.radio + .radio, .checkbox + .checkbox {
- margin-top: -5px
-}
-
-.radio-inline, .checkbox-inline {
- display: inline-block;
- padding-left: 20px;
- margin-bottom: 0;
- vertical-align: middle;
- font-weight: 400;
- cursor: pointer
-}
-
-.radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline {
- margin-top: 0;
- margin-left: 10px
-}
-
-input[type=radio][disabled], input[type=checkbox][disabled], .radio[disabled], .radio-inline[disabled], .checkbox[disabled], .checkbox-inline[disabled], fieldset[disabled] input[type=radio], fieldset[disabled] input[type=checkbox], fieldset[disabled] .radio, fieldset[disabled] .radio-inline, fieldset[disabled] .checkbox, fieldset[disabled] .checkbox-inline {
- cursor: not-allowed
-}
-
-.input-sm {
- height: 30px;
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px
-}
-
-select.input-sm {
- height: 30px;
- line-height: 30px
-}
-
-textarea.input-sm, select[multiple].input-sm {
- height: auto
-}
-
-.input-lg {
- height: 46px;
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 6px
-}
-
-select.input-lg {
- height: 46px;
- line-height: 46px
-}
-
-textarea.input-lg, select[multiple].input-lg {
- height: auto
-}
-
-.has-feedback {
- position: relative
-}
-
-.has-feedback .form-control {
- padding-right: 42.5px
-}
-
-.has-feedback .form-control-feedback {
- position: absolute;
- top: 25px;
- right: 0;
- display: block;
- width: 34px;
- height: 34px;
- line-height: 34px;
- text-align: center
-}
-
-.has-success .help-block, .has-success .control-label, .has-success .radio, .has-success .checkbox, .has-success .radio-inline, .has-success .checkbox-inline {
- color: #3c763d
-}
-
-.has-success .form-control {
- border-color: #3c763d;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075)
-}
-
-.has-success .form-control:focus {
- border-color: #2b542c;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168
-}
-
-.has-success .input-group-addon {
- color: #3c763d;
- border-color: #3c763d;
- background-color: #dff0d8
-}
-
-.has-success .form-control-feedback {
- color: #3c763d
-}
-
-.has-warning .help-block, .has-warning .control-label, .has-warning .radio, .has-warning .checkbox, .has-warning .radio-inline, .has-warning .checkbox-inline {
- color: #8a6d3b
-}
-
-.has-warning .form-control {
- border-color: #8a6d3b;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075)
-}
-
-.has-warning .form-control:focus {
- border-color: #66512c;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b
-}
-
-.has-warning .input-group-addon {
- color: #8a6d3b;
- border-color: #8a6d3b;
- background-color: #fcf8e3
-}
-
-.has-warning .form-control-feedback {
- color: #8a6d3b
-}
-
-.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline {
- color: #a94442
-}
-
-.has-error .form-control {
- border-color: #a94442;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075)
-}
-
-.has-error .form-control:focus {
- border-color: #843534;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483
-}
-
-.has-error .input-group-addon {
- color: #a94442;
- border-color: #a94442;
- background-color: #f2dede
-}
-
-.has-error .form-control-feedback {
- color: #a94442
-}
-
-.form-control-static {
- margin-bottom: 0
-}
-
-.help-block {
- display: block;
- margin-top: 5px;
- margin-bottom: 10px;
- color: #737373
-}
-
-@media (min-width: 768px) {
- .form-inline .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle
- }
-
- .form-inline .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle
- }
-
- .form-inline .input-group > .form-control {
- width: 100%
- }
-
- .form-inline .control-label {
- margin-bottom: 0;
- vertical-align: middle
- }
-
- .form-inline .radio, .form-inline .checkbox {
- display: inline-block;
- margin-top: 0;
- margin-bottom: 0;
- padding-left: 0;
- vertical-align: middle
- }
-
- .form-inline .radio input[type=radio], .form-inline .checkbox input[type=checkbox] {
- float: none;
- margin-left: 0
- }
-
- .form-inline .has-feedback .form-control-feedback {
- top: 0
- }
-}
-
-.form-horizontal .control-label, .form-horizontal .radio, .form-horizontal .checkbox, .form-horizontal .radio-inline, .form-horizontal .checkbox-inline {
- margin-top: 0;
- margin-bottom: 0;
- padding-top: 7px
-}
-
-.form-horizontal .radio, .form-horizontal .checkbox {
- min-height: 27px
-}
-
-.form-horizontal .form-group {
- margin-left: -15px;
- margin-right: -15px
-}
-
-.form-horizontal .form-control-static {
- padding-top: 7px
-}
-
-@media (min-width: 768px) {
- .form-horizontal .control-label {
- text-align: right
- }
-}
-
-.form-horizontal .has-feedback .form-control-feedback {
- top: 0;
- right: 15px
-}
-
-.btn {
- display: inline-block;
- margin-bottom: 0;
- font-weight: 400;
- text-align: center;
- vertical-align: middle;
- cursor: pointer;
- background-image: none;
- border: 1px solid transparent;
- white-space: nowrap;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 1.42857143;
- border-radius: 4px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none
-}
-
-.btn:focus, .btn:active:focus, .btn.active:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px
-}
-
-.btn:hover, .btn:focus {
- color: #333;
- text-decoration: none
-}
-
-.btn:active, .btn.active {
- outline: 0;
- background-image: none;
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)
-}
-
-.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
- cursor: not-allowed;
- pointer-events: none;
- opacity: .65;
- filter: alpha(opacity=65);
- -webkit-box-shadow: none;
- box-shadow: none
-}
-
-.btn-default {
- color: #333;
- background-color: #fff;
- border-color: #ccc
-}
-
-.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {
- color: #333;
- background-color: #ebebeb;
- border-color: #adadad
-}
-
-.btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {
- background-image: none
-}
-
-.btn-default.disabled, .btn-default[disabled], fieldset[disabled] .btn-default, .btn-default.disabled:hover, .btn-default[disabled]:hover, fieldset[disabled] .btn-default:hover, .btn-default.disabled:focus, .btn-default[disabled]:focus, fieldset[disabled] .btn-default:focus, .btn-default.disabled:active, .btn-default[disabled]:active, fieldset[disabled] .btn-default:active, .btn-default.disabled.active, .btn-default[disabled].active, fieldset[disabled] .btn-default.active {
- background-color: #fff;
- border-color: #ccc
-}
-
-.btn-default .badge {
- color: #fff;
- background-color: #333
-}
-
-.btn-primary {
- color: #fff;
- background-color: #428bca;
- border-color: #357ebd
-}
-
-.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
- color: #fff;
- background-color: #3276b1;
- border-color: #285e8e
-}
-
-.btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
- background-image: none
-}
-
-.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active {
- background-color: #428bca;
- border-color: #357ebd
-}
-
-.btn-primary .badge {
- color: #428bca;
- background-color: #fff
-}
-
-.btn-success {
- color: #fff;
- background-color: #5cb85c;
- border-color: #4cae4c
-}
-
-.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {
- color: #fff;
- background-color: #47a447;
- border-color: #398439
-}
-
-.btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {
- background-image: none
-}
-
-.btn-success.disabled, .btn-success[disabled], fieldset[disabled] .btn-success, .btn-success.disabled:hover, .btn-success[disabled]:hover, fieldset[disabled] .btn-success:hover, .btn-success.disabled:focus, .btn-success[disabled]:focus, fieldset[disabled] .btn-success:focus, .btn-success.disabled:active, .btn-success[disabled]:active, fieldset[disabled] .btn-success:active, .btn-success.disabled.active, .btn-success[disabled].active, fieldset[disabled] .btn-success.active {
- background-color: #5cb85c;
- border-color: #4cae4c
-}
-
-.btn-success .badge {
- color: #5cb85c;
- background-color: #fff
-}
-
-.btn-info {
- color: #fff;
- background-color: #5bc0de;
- border-color: #46b8da
-}
-
-.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info {
- color: #fff;
- background-color: #39b3d7;
- border-color: #269abc
-}
-
-.btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info {
- background-image: none
-}
-
-.btn-info.disabled, .btn-info[disabled], fieldset[disabled] .btn-info, .btn-info.disabled:hover, .btn-info[disabled]:hover, fieldset[disabled] .btn-info:hover, .btn-info.disabled:focus, .btn-info[disabled]:focus, fieldset[disabled] .btn-info:focus, .btn-info.disabled:active, .btn-info[disabled]:active, fieldset[disabled] .btn-info:active, .btn-info.disabled.active, .btn-info[disabled].active, fieldset[disabled] .btn-info.active {
- background-color: #5bc0de;
- border-color: #46b8da
-}
-
-.btn-info .badge {
- color: #5bc0de;
- background-color: #fff
-}
-
-.btn-warning {
- color: #fff;
- background-color: #f0ad4e;
- border-color: #eea236
-}
-
-.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning {
- color: #fff;
- background-color: #ed9c28;
- border-color: #d58512
-}
-
-.btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning {
- background-image: none
-}
-
-.btn-warning.disabled, .btn-warning[disabled], fieldset[disabled] .btn-warning, .btn-warning.disabled:hover, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning:hover, .btn-warning.disabled:focus, .btn-warning[disabled]:focus, fieldset[disabled] .btn-warning:focus, .btn-warning.disabled:active, .btn-warning[disabled]:active, fieldset[disabled] .btn-warning:active, .btn-warning.disabled.active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning.active {
- background-color: #f0ad4e;
- border-color: #eea236
-}
-
-.btn-warning .badge {
- color: #f0ad4e;
- background-color: #fff
-}
-
-.btn-danger {
- color: #fff;
- background-color: #d9534f;
- border-color: #d43f3a
-}
-
-.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger {
- color: #fff;
- background-color: #d2322d;
- border-color: #ac2925
-}
-
-.btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger {
- background-image: none
-}
-
-.btn-danger.disabled, .btn-danger[disabled], fieldset[disabled] .btn-danger, .btn-danger.disabled:hover, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger:hover, .btn-danger.disabled:focus, .btn-danger[disabled]:focus, fieldset[disabled] .btn-danger:focus, .btn-danger.disabled:active, .btn-danger[disabled]:active, fieldset[disabled] .btn-danger:active, .btn-danger.disabled.active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger.active {
- background-color: #d9534f;
- border-color: #d43f3a
-}
-
-.btn-danger .badge {
- color: #d9534f;
- background-color: #fff
-}
-
-.btn-link {
- color: #428bca;
- font-weight: 400;
- cursor: pointer;
- border-radius: 0
-}
-
-.btn-link, .btn-link:active, .btn-link[disabled], fieldset[disabled] .btn-link {
- background-color: transparent;
- -webkit-box-shadow: none;
- box-shadow: none
-}
-
-.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
- border-color: transparent
-}
-
-.btn-link:hover, .btn-link:focus {
- color: #2a6496;
- text-decoration: underline;
- background-color: transparent
-}
-
-.btn-link[disabled]:hover, fieldset[disabled] .btn-link:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:focus {
- color: #999;
- text-decoration: none
-}
-
-.btn-lg, .btn-group-lg > .btn {
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 6px
-}
-
-.btn-sm, .btn-group-sm > .btn {
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px
-}
-
-.btn-xs, .btn-group-xs > .btn {
- padding: 1px 5px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px
-}
-
-.btn-block {
- display: block;
- width: 100%;
- padding-left: 0;
- padding-right: 0
-}
-
-.btn-block + .btn-block {
- margin-top: 5px
-}
-
-input[type=submit].btn-block, input[type=reset].btn-block, input[type=button].btn-block {
- width: 100%
-}
-
-.fade {
- opacity: 0;
- -webkit-transition: opacity .15s linear;
- transition: opacity .15s linear
-}
-
-.fade.in {
- opacity: 1
-}
-
-.collapse {
- display: none
-}
-
-.collapse.in {
- display: block
-}
-
-.collapsing {
- position: relative;
- height: 0;
- overflow: hidden;
- -webkit-transition: height .35s ease;
- transition: height .35s ease
-}
-
-@font-face {
- font-family: 'Glyphicons Halflings';
- src: url(../fonts/glyphicons-halflings-regular.eot);
- src: url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'), url(../fonts/glyphicons-halflings-regular.woff) format('woff'), url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'), url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')
-}
-
-.glyphicon {
- position: relative;
- top: 1px;
- display: inline-block;
- font-family: 'Glyphicons Halflings';
- font-style: normal;
- font-weight: 400;
- line-height: 1;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale
-}
-
-.glyphicon-asterisk:before {
- content: "\2a"
-}
-
-.glyphicon-plus:before {
- content: "\2b"
-}
-
-.glyphicon-euro:before {
- content: "\20ac"
-}
-
-.glyphicon-minus:before {
- content: "\2212"
-}
-
-.glyphicon-cloud:before {
- content: "\2601"
-}
-
-.glyphicon-envelope:before {
- content: "\2709"
-}
-
-.glyphicon-pencil:before {
- content: "\270f"
-}
-
-.glyphicon-glass:before {
- content: "\e001"
-}
-
-.glyphicon-music:before {
- content: "\e002"
-}
-
-.glyphicon-search:before {
- content: "\e003"
-}
-
-.glyphicon-heart:before {
- content: "\e005"
-}
-
-.glyphicon-star:before {
- content: "\e006"
-}
-
-.glyphicon-star-empty:before {
- content: "\e007"
-}
-
-.glyphicon-user:before {
- content: "\e008"
-}
-
-.glyphicon-film:before {
- content: "\e009"
-}
-
-.glyphicon-th-large:before {
- content: "\e010"
-}
-
-.glyphicon-th:before {
- content: "\e011"
-}
-
-.glyphicon-th-list:before {
- content: "\e012"
-}
-
-.glyphicon-ok:before {
- content: "\e013"
-}
-
-.glyphicon-remove:before {
- content: "\e014"
-}
-
-.glyphicon-zoom-in:before {
- content: "\e015"
-}
-
-.glyphicon-zoom-out:before {
- content: "\e016"
-}
-
-.glyphicon-off:before {
- content: "\e017"
-}
-
-.glyphicon-signal:before {
- content: "\e018"
-}
-
-.glyphicon-cog:before {
- content: "\e019"
-}
-
-.glyphicon-trash:before {
- content: "\e020"
-}
-
-.glyphicon-home:before {
- content: "\e021"
-}
-
-.glyphicon-file:before {
- content: "\e022"
-}
-
-.glyphicon-time:before {
- content: "\e023"
-}
-
-.glyphicon-road:before {
- content: "\e024"
-}
-
-.glyphicon-download-alt:before {
- content: "\e025"
-}
-
-.glyphicon-download:before {
- content: "\e026"
-}
-
-.glyphicon-upload:before {
- content: "\e027"
-}
-
-.glyphicon-inbox:before {
- content: "\e028"
-}
-
-.glyphicon-play-circle:before {
- content: "\e029"
-}
-
-.glyphicon-repeat:before {
- content: "\e030"
-}
-
-.glyphicon-refresh:before {
- content: "\e031"
-}
-
-.glyphicon-list-alt:before {
- content: "\e032"
-}
-
-.glyphicon-lock:before {
- content: "\e033"
-}
-
-.glyphicon-flag:before {
- content: "\e034"
-}
-
-.glyphicon-headphones:before {
- content: "\e035"
-}
-
-.glyphicon-volume-off:before {
- content: "\e036"
-}
-
-.glyphicon-volume-down:before {
- content: "\e037"
-}
-
-.glyphicon-volume-up:before {
- content: "\e038"
-}
-
-.glyphicon-qrcode:before {
- content: "\e039"
-}
-
-.glyphicon-barcode:before {
- content: "\e040"
-}
-
-.glyphicon-tag:before {
- content: "\e041"
-}
-
-.glyphicon-tags:before {
- content: "\e042"
-}
-
-.glyphicon-book:before {
- content: "\e043"
-}
-
-.glyphicon-bookmark:before {
- content: "\e044"
-}
-
-.glyphicon-print:before {
- content: "\e045"
-}
-
-.glyphicon-camera:before {
- content: "\e046"
-}
-
-.glyphicon-font:before {
- content: "\e047"
-}
-
-.glyphicon-bold:before {
- content: "\e048"
-}
-
-.glyphicon-italic:before {
- content: "\e049"
-}
-
-.glyphicon-text-height:before {
- content: "\e050"
-}
-
-.glyphicon-text-width:before {
- content: "\e051"
-}
-
-.glyphicon-align-left:before {
- content: "\e052"
-}
-
-.glyphicon-align-center:before {
- content: "\e053"
-}
-
-.glyphicon-align-right:before {
- content: "\e054"
-}
-
-.glyphicon-align-justify:before {
- content: "\e055"
-}
-
-.glyphicon-list:before {
- content: "\e056"
-}
-
-.glyphicon-indent-left:before {
- content: "\e057"
-}
-
-.glyphicon-indent-right:before {
- content: "\e058"
-}
-
-.glyphicon-facetime-video:before {
- content: "\e059"
-}
-
-.glyphicon-picture:before {
- content: "\e060"
-}
-
-.glyphicon-map-marker:before {
- content: "\e062"
-}
-
-.glyphicon-adjust:before {
- content: "\e063"
-}
-
-.glyphicon-tint:before {
- content: "\e064"
-}
-
-.glyphicon-edit:before {
- content: "\e065"
-}
-
-.glyphicon-share:before {
- content: "\e066"
-}
-
-.glyphicon-check:before {
- content: "\e067"
-}
-
-.glyphicon-move:before {
- content: "\e068"
-}
-
-.glyphicon-step-backward:before {
- content: "\e069"
-}
-
-.glyphicon-fast-backward:before {
- content: "\e070"
-}
-
-.glyphicon-backward:before {
- content: "\e071"
-}
-
-.glyphicon-play:before {
- content: "\e072"
-}
-
-.glyphicon-pause:before {
- content: "\e073"
-}
-
-.glyphicon-stop:before {
- content: "\e074"
-}
-
-.glyphicon-forward:before {
- content: "\e075"
-}
-
-.glyphicon-fast-forward:before {
- content: "\e076"
-}
-
-.glyphicon-step-forward:before {
- content: "\e077"
-}
-
-.glyphicon-eject:before {
- content: "\e078"
-}
-
-.glyphicon-chevron-left:before {
- content: "\e079"
-}
-
-.glyphicon-chevron-right:before {
- content: "\e080"
-}
-
-.glyphicon-plus-sign:before {
- content: "\e081"
-}
-
-.glyphicon-minus-sign:before {
- content: "\e082"
-}
-
-.glyphicon-remove-sign:before {
- content: "\e083"
-}
-
-.glyphicon-ok-sign:before {
- content: "\e084"
-}
-
-.glyphicon-question-sign:before {
- content: "\e085"
-}
-
-.glyphicon-info-sign:before {
- content: "\e086"
-}
-
-.glyphicon-screenshot:before {
- content: "\e087"
-}
-
-.glyphicon-remove-circle:before {
- content: "\e088"
-}
-
-.glyphicon-ok-circle:before {
- content: "\e089"
-}
-
-.glyphicon-ban-circle:before {
- content: "\e090"
-}
-
-.glyphicon-arrow-left:before {
- content: "\e091"
-}
-
-.glyphicon-arrow-right:before {
- content: "\e092"
-}
-
-.glyphicon-arrow-up:before {
- content: "\e093"
-}
-
-.glyphicon-arrow-down:before {
- content: "\e094"
-}
-
-.glyphicon-share-alt:before {
- content: "\e095"
-}
-
-.glyphicon-resize-full:before {
- content: "\e096"
-}
-
-.glyphicon-resize-small:before {
- content: "\e097"
-}
-
-.glyphicon-exclamation-sign:before {
- content: "\e101"
-}
-
-.glyphicon-gift:before {
- content: "\e102"
-}
-
-.glyphicon-leaf:before {
- content: "\e103"
-}
-
-.glyphicon-fire:before {
- content: "\e104"
-}
-
-.glyphicon-eye-open:before {
- content: "\e105"
-}
-
-.glyphicon-eye-close:before {
- content: "\e106"
-}
-
-.glyphicon-warning-sign:before {
- content: "\e107"
-}
-
-.glyphicon-plane:before {
- content: "\e108"
-}
-
-.glyphicon-calendar:before {
- content: "\e109"
-}
-
-.glyphicon-random:before {
- content: "\e110"
-}
-
-.glyphicon-comment:before {
- content: "\e111"
-}
-
-.glyphicon-magnet:before {
- content: "\e112"
-}
-
-.glyphicon-chevron-up:before {
- content: "\e113"
-}
-
-.glyphicon-chevron-down:before {
- content: "\e114"
-}
-
-.glyphicon-retweet:before {
- content: "\e115"
-}
-
-.glyphicon-shopping-cart:before {
- content: "\e116"
-}
-
-.glyphicon-folder-close:before {
- content: "\e117"
-}
-
-.glyphicon-folder-open:before {
- content: "\e118"
-}
-
-.glyphicon-resize-vertical:before {
- content: "\e119"
-}
-
-.glyphicon-resize-horizontal:before {
- content: "\e120"
-}
-
-.glyphicon-hdd:before {
- content: "\e121"
-}
-
-.glyphicon-bullhorn:before {
- content: "\e122"
-}
-
-.glyphicon-bell:before {
- content: "\e123"
-}
-
-.glyphicon-certificate:before {
- content: "\e124"
-}
-
-.glyphicon-thumbs-up:before {
- content: "\e125"
-}
-
-.glyphicon-thumbs-down:before {
- content: "\e126"
-}
-
-.glyphicon-hand-right:before {
- content: "\e127"
-}
-
-.glyphicon-hand-left:before {
- content: "\e128"
-}
-
-.glyphicon-hand-up:before {
- content: "\e129"
-}
-
-.glyphicon-hand-down:before {
- content: "\e130"
-}
-
-.glyphicon-circle-arrow-right:before {
- content: "\e131"
-}
-
-.glyphicon-circle-arrow-left:before {
- content: "\e132"
-}
-
-.glyphicon-circle-arrow-up:before {
- content: "\e133"
-}
-
-.glyphicon-circle-arrow-down:before {
- content: "\e134"
-}
-
-.glyphicon-globe:before {
- content: "\e135"
-}
-
-.glyphicon-wrench:before {
- content: "\e136"
-}
-
-.glyphicon-tasks:before {
- content: "\e137"
-}
-
-.glyphicon-filter:before {
- content: "\e138"
-}
-
-.glyphicon-briefcase:before {
- content: "\e139"
-}
-
-.glyphicon-fullscreen:before {
- content: "\e140"
-}
-
-.glyphicon-dashboard:before {
- content: "\e141"
-}
-
-.glyphicon-paperclip:before {
- content: "\e142"
-}
-
-.glyphicon-heart-empty:before {
- content: "\e143"
-}
-
-.glyphicon-link:before {
- content: "\e144"
-}
-
-.glyphicon-phone:before {
- content: "\e145"
-}
-
-.glyphicon-pushpin:before {
- content: "\e146"
-}
-
-.glyphicon-usd:before {
- content: "\e148"
-}
-
-.glyphicon-gbp:before {
- content: "\e149"
-}
-
-.glyphicon-sort:before {
- content: "\e150"
-}
-
-.glyphicon-sort-by-alphabet:before {
- content: "\e151"
-}
-
-.glyphicon-sort-by-alphabet-alt:before {
- content: "\e152"
-}
-
-.glyphicon-sort-by-order:before {
- content: "\e153"
-}
-
-.glyphicon-sort-by-order-alt:before {
- content: "\e154"
-}
-
-.glyphicon-sort-by-attributes:before {
- content: "\e155"
-}
-
-.glyphicon-sort-by-attributes-alt:before {
- content: "\e156"
-}
-
-.glyphicon-unchecked:before {
- content: "\e157"
-}
-
-.glyphicon-expand:before {
- content: "\e158"
-}
-
-.glyphicon-collapse-down:before {
- content: "\e159"
-}
-
-.glyphicon-collapse-up:before {
- content: "\e160"
-}
-
-.glyphicon-log-in:before {
- content: "\e161"
-}
-
-.glyphicon-flash:before {
- content: "\e162"
-}
-
-.glyphicon-log-out:before {
- content: "\e163"
-}
-
-.glyphicon-new-window:before {
- content: "\e164"
-}
-
-.glyphicon-record:before {
- content: "\e165"
-}
-
-.glyphicon-save:before {
- content: "\e166"
-}
-
-.glyphicon-open:before {
- content: "\e167"
-}
-
-.glyphicon-saved:before {
- content: "\e168"
-}
-
-.glyphicon-import:before {
- content: "\e169"
-}
-
-.glyphicon-export:before {
- content: "\e170"
-}
-
-.glyphicon-send:before {
- content: "\e171"
-}
-
-.glyphicon-floppy-disk:before {
- content: "\e172"
-}
-
-.glyphicon-floppy-saved:before {
- content: "\e173"
-}
-
-.glyphicon-floppy-remove:before {
- content: "\e174"
-}
-
-.glyphicon-floppy-save:before {
- content: "\e175"
-}
-
-.glyphicon-floppy-open:before {
- content: "\e176"
-}
-
-.glyphicon-credit-card:before {
- content: "\e177"
-}
-
-.glyphicon-transfer:before {
- content: "\e178"
-}
-
-.glyphicon-cutlery:before {
- content: "\e179"
-}
-
-.glyphicon-header:before {
- content: "\e180"
-}
-
-.glyphicon-compressed:before {
- content: "\e181"
-}
-
-.glyphicon-earphone:before {
- content: "\e182"
-}
-
-.glyphicon-phone-alt:before {
- content: "\e183"
-}
-
-.glyphicon-tower:before {
- content: "\e184"
-}
-
-.glyphicon-stats:before {
- content: "\e185"
-}
-
-.glyphicon-sd-video:before {
- content: "\e186"
-}
-
-.glyphicon-hd-video:before {
- content: "\e187"
-}
-
-.glyphicon-subtitles:before {
- content: "\e188"
-}
-
-.glyphicon-sound-stereo:before {
- content: "\e189"
-}
-
-.glyphicon-sound-dolby:before {
- content: "\e190"
-}
-
-.glyphicon-sound-5-1:before {
- content: "\e191"
-}
-
-.glyphicon-sound-6-1:before {
- content: "\e192"
-}
-
-.glyphicon-sound-7-1:before {
- content: "\e193"
-}
-
-.glyphicon-copyright-mark:before {
- content: "\e194"
-}
-
-.glyphicon-registration-mark:before {
- content: "\e195"
-}
-
-.glyphicon-cloud-download:before {
- content: "\e197"
-}
-
-.glyphicon-cloud-upload:before {
- content: "\e198"
-}
-
-.glyphicon-tree-conifer:before {
- content: "\e199"
-}
-
-.glyphicon-tree-deciduous:before {
- content: "\e200"
-}
-
-.caret {
- display: inline-block;
- width: 0;
- height: 0;
- margin-left: 2px;
- vertical-align: middle;
- border-top: 4px solid;
- border-right: 4px solid transparent;
- border-left: 4px solid transparent
-}
-
-.dropdown {
- position: relative
-}
-
-.dropdown-toggle:focus {
- outline: 0
-}
-
-.dropdown-menu {
- position: absolute;
- top: 100%;
- left: 0;
- z-index: 1000;
- display: none;
- float: left;
- min-width: 160px;
- padding: 5px 0;
- margin: 2px 0 0;
- list-style: none;
- font-size: 14px;
- background-color: #fff;
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, .15);
- border-radius: 4px;
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
- box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
- background-clip: padding-box
-}
-
-.dropdown-menu.pull-right {
- right: 0;
- left: auto
-}
-
-.dropdown-menu .divider {
- height: 1px;
- margin: 9px 0;
- overflow: hidden;
- background-color: #e5e5e5
-}
-
-.dropdown-menu > li > a {
- display: block;
- padding: 3px 20px;
- clear: both;
- font-weight: 400;
- line-height: 1.42857143;
- color: #333;
- white-space: nowrap
-}
-
-.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
- text-decoration: none;
- color: #262626;
- background-color: #f5f5f5
-}
-
-.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
- color: #fff;
- text-decoration: none;
- outline: 0;
- background-color: #428bca
-}
-
-.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
- color: #999
-}
-
-.dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
- text-decoration: none;
- background-color: transparent;
- background-image: none;
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
- cursor: not-allowed
-}
-
-.open > .dropdown-menu {
- display: block
-}
-
-.open > a {
- outline: 0
-}
-
-.dropdown-menu-right {
- left: auto;
- right: 0
-}
-
-.dropdown-menu-left {
- left: 0;
- right: auto
-}
-
-.dropdown-header {
- display: block;
- padding: 3px 20px;
- font-size: 12px;
- line-height: 1.42857143;
- color: #999
-}
-
-.dropdown-backdrop {
- position: fixed;
- left: 0;
- right: 0;
- bottom: 0;
- top: 0;
- z-index: 990
-}
-
-.pull-right > .dropdown-menu {
- right: 0;
- left: auto
-}
-
-.dropup .caret, .navbar-fixed-bottom .dropdown .caret {
- border-top: 0;
- border-bottom: 4px solid;
- content: ""
-}
-
-.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu {
- top: auto;
- bottom: 100%;
- margin-bottom: 1px
-}
-
-@media (min-width: 768px) {
- .navbar-right .dropdown-menu {
- left: auto;
- right: 0
- }
-
- .navbar-right .dropdown-menu-left {
- left: 0;
- right: auto
- }
-}
-
-.btn-group, .btn-group-vertical {
- position: relative;
- display: inline-block;
- vertical-align: middle
-}
-
-.btn-group > .btn, .btn-group-vertical > .btn {
- position: relative;
- float: left
-}
-
-.btn-group > .btn:hover, .btn-group-vertical > .btn:hover, .btn-group > .btn:focus, .btn-group-vertical > .btn:focus, .btn-group > .btn:active, .btn-group-vertical > .btn:active, .btn-group > .btn.active, .btn-group-vertical > .btn.active {
- z-index: 2
-}
-
-.btn-group > .btn:focus, .btn-group-vertical > .btn:focus {
- outline: 0
-}
-
-.btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group {
- margin-left: -1px
-}
-
-.btn-toolbar {
- margin-left: -5px
-}
-
-.btn-toolbar .btn-group, .btn-toolbar .input-group {
- float: left
-}
-
-.btn-toolbar > .btn, .btn-toolbar > .btn-group, .btn-toolbar > .input-group {
- margin-left: 5px
-}
-
-.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
- border-radius: 0
-}
-
-.btn-group > .btn:first-child {
- margin-left: 0
-}
-
-.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
- border-bottom-right-radius: 0;
- border-top-right-radius: 0
-}
-
-.btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) {
- border-bottom-left-radius: 0;
- border-top-left-radius: 0
-}
-
-.btn-group > .btn-group {
- float: left
-}
-
-.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
- border-radius: 0
-}
-
-.btn-group > .btn-group:first-child > .btn:last-child, .btn-group > .btn-group:first-child > .dropdown-toggle {
- border-bottom-right-radius: 0;
- border-top-right-radius: 0
-}
-
-.btn-group > .btn-group:last-child > .btn:first-child {
- border-bottom-left-radius: 0;
- border-top-left-radius: 0
-}
-
-.btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle {
- outline: 0
-}
-
-.btn-group > .btn + .dropdown-toggle {
- padding-left: 8px;
- padding-right: 8px
-}
-
-.btn-group > .btn-lg + .dropdown-toggle {
- padding-left: 12px;
- padding-right: 12px
-}
-
-.btn-group.open .dropdown-toggle {
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)
-}
-
-.btn-group.open .dropdown-toggle.btn-link {
- -webkit-box-shadow: none;
- box-shadow: none
-}
-
-.btn .caret {
- margin-left: 0
-}
-
-.btn-lg .caret {
- border-width: 5px 5px 0;
- border-bottom-width: 0
-}
-
-.dropup .btn-lg .caret {
- border-width: 0 5px 5px
-}
-
-.btn-group-vertical > .btn, .btn-group-vertical > .btn-group, .btn-group-vertical > .btn-group > .btn {
- display: block;
- float: none;
- width: 100%;
- max-width: 100%
-}
-
-.btn-group-vertical > .btn-group > .btn {
- float: none
-}
-
-.btn-group-vertical > .btn + .btn, .btn-group-vertical > .btn + .btn-group, .btn-group-vertical > .btn-group + .btn, .btn-group-vertical > .btn-group + .btn-group {
- margin-top: -1px;
- margin-left: 0
-}
-
-.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
- border-radius: 0
-}
-
-.btn-group-vertical > .btn:first-child:not(:last-child) {
- border-top-right-radius: 4px;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0
-}
-
-.btn-group-vertical > .btn:last-child:not(:first-child) {
- border-bottom-left-radius: 4px;
- border-top-right-radius: 0;
- border-top-left-radius: 0
-}
-
-.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
- border-radius: 0
-}
-
-.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0
-}
-
-.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
- border-top-right-radius: 0;
- border-top-left-radius: 0
-}
-
-.btn-group-justified {
- display: table;
- width: 100%;
- table-layout: fixed;
- border-collapse: separate
-}
-
-.btn-group-justified > .btn, .btn-group-justified > .btn-group {
- float: none;
- display: table-cell;
- width: 1%
-}
-
-.btn-group-justified > .btn-group .btn {
- width: 100%
-}
-
-[data-toggle=buttons] > .btn > input[type=radio], [data-toggle=buttons] > .btn > input[type=checkbox] {
- display: none
-}
-
-.input-group {
- position: relative;
- display: table;
- border-collapse: separate
-}
-
-.input-group[class*=col-] {
- float: none;
- padding-left: 0;
- padding-right: 0
-}
-
-.input-group .form-control {
- position: relative;
- z-index: 2;
- float: left;
- width: 100%;
- margin-bottom: 0
-}
-
-.input-group-lg > .form-control, .input-group-lg > .input-group-addon, .input-group-lg > .input-group-btn > .btn {
- height: 46px;
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 6px
-}
-
-select.input-group-lg > .form-control, select.input-group-lg > .input-group-addon, select.input-group-lg > .input-group-btn > .btn {
- height: 46px;
- line-height: 46px
-}
-
-textarea.input-group-lg > .form-control, textarea.input-group-lg > .input-group-addon, textarea.input-group-lg > .input-group-btn > .btn, select[multiple].input-group-lg > .form-control, select[multiple].input-group-lg > .input-group-addon, select[multiple].input-group-lg > .input-group-btn > .btn {
- height: auto
-}
-
-.input-group-sm > .form-control, .input-group-sm > .input-group-addon, .input-group-sm > .input-group-btn > .btn {
- height: 30px;
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px
-}
-
-select.input-group-sm > .form-control, select.input-group-sm > .input-group-addon, select.input-group-sm > .input-group-btn > .btn {
- height: 30px;
- line-height: 30px
-}
-
-textarea.input-group-sm > .form-control, textarea.input-group-sm > .input-group-addon, textarea.input-group-sm > .input-group-btn > .btn, select[multiple].input-group-sm > .form-control, select[multiple].input-group-sm > .input-group-addon, select[multiple].input-group-sm > .input-group-btn > .btn {
- height: auto
-}
-
-.input-group-addon, .input-group-btn, .input-group .form-control {
- display: table-cell
-}
-
-.input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child), .input-group .form-control:not(:first-child):not(:last-child) {
- border-radius: 0
-}
-
-.input-group-addon, .input-group-btn {
- width: 1%;
- white-space: nowrap;
- vertical-align: middle
-}
-
-.input-group-addon {
- padding: 6px 12px;
- font-size: 14px;
- font-weight: 400;
- line-height: 1;
- color: #555;
- text-align: center;
- background-color: #eee;
- border: 1px solid #ccc;
- border-radius: 4px
-}
-
-.input-group-addon.input-sm {
- padding: 5px 10px;
- font-size: 12px;
- border-radius: 3px
-}
-
-.input-group-addon.input-lg {
- padding: 10px 16px;
- font-size: 18px;
- border-radius: 6px
-}
-
-.input-group-addon input[type=radio], .input-group-addon input[type=checkbox] {
- margin-top: 0
-}
-
-.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
- border-bottom-right-radius: 0;
- border-top-right-radius: 0
-}
-
-.input-group-addon:first-child {
- border-right: 0
-}
-
-.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
- border-bottom-left-radius: 0;
- border-top-left-radius: 0
-}
-
-.input-group-addon:last-child {
- border-left: 0
-}
-
-.input-group-btn {
- position: relative;
- font-size: 0;
- white-space: nowrap
-}
-
-.input-group-btn > .btn {
- position: relative
-}
-
-.input-group-btn > .btn + .btn {
- margin-left: -1px
-}
-
-.input-group-btn > .btn:hover, .input-group-btn > .btn:focus, .input-group-btn > .btn:active {
- z-index: 2
-}
-
-.input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group {
- margin-right: -1px
-}
-
-.input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group {
- margin-left: -1px
-}
-
-.nav {
- margin-bottom: 0;
- padding-left: 0;
- list-style: none
-}
-
-.nav > li {
- position: relative;
- display: block
-}
-
-.nav > li > a {
- position: relative;
- display: block;
- padding: 10px 15px
-}
-
-.nav > li > a:hover, .nav > li > a:focus {
- text-decoration: none;
- background-color: #eee
-}
-
-.nav > li.disabled > a {
- color: #999
-}
-
-.nav > li.disabled > a:hover, .nav > li.disabled > a:focus {
- color: #999;
- text-decoration: none;
- background-color: transparent;
- cursor: not-allowed
-}
-
-.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
- background-color: #eee;
- border-color: #428bca
-}
-
-.nav .nav-divider {
- height: 1px;
- margin: 9px 0;
- overflow: hidden;
- background-color: #e5e5e5
-}
-
-.nav > li > a > img {
- max-width: none
-}
-
-.nav-tabs {
- border-bottom: 1px solid #ddd
-}
-
-.nav-tabs > li {
- float: left;
- margin-bottom: -1px
-}
-
-.nav-tabs > li > a {
- margin-right: 2px;
- line-height: 1.42857143;
- border: 1px solid transparent;
- border-radius: 4px 4px 0 0
-}
-
-.nav-tabs > li > a:hover {
- border-color: #eee #eee #ddd
-}
-
-.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
- color: #555;
- background-color: #fff;
- border: 1px solid #ddd;
- border-bottom-color: transparent;
- cursor: default
-}
-
-.nav-tabs.nav-justified {
- width: 100%;
- border-bottom: 0
-}
-
-.nav-tabs.nav-justified > li {
- float: none
-}
-
-.nav-tabs.nav-justified > li > a {
- text-align: center;
- margin-bottom: 5px
-}
-
-.nav-tabs.nav-justified > .dropdown .dropdown-menu {
- top: auto;
- left: auto
-}
-
-@media (min-width: 768px) {
- .nav-tabs.nav-justified > li {
- display: table-cell;
- width: 1%
- }
-
- .nav-tabs.nav-justified > li > a {
- margin-bottom: 0
- }
-}
-
-.nav-tabs.nav-justified > li > a {
- margin-right: 0;
- border-radius: 4px
-}
-
-.nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus {
- border: 1px solid #ddd
-}
-
-@media (min-width: 768px) {
- .nav-tabs.nav-justified > li > a {
- border-bottom: 1px solid #ddd;
- border-radius: 4px 4px 0 0
- }
-
- .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus {
- border-bottom-color: #fff
- }
-}
-
-.nav-pills > li {
- float: left
-}
-
-.nav-pills > li > a {
- border-radius: 4px
-}
-
-.nav-pills > li + li {
- margin-left: 2px
-}
-
-.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
- color: #fff;
- background-color: #428bca
-}
-
-.nav-stacked > li {
- float: none
-}
-
-.nav-stacked > li + li {
- margin-top: 2px;
- margin-left: 0
-}
-
-.nav-justified {
- width: 100%
-}
-
-.nav-justified > li {
- float: none
-}
-
-.nav-justified > li > a {
- text-align: center;
- margin-bottom: 5px
-}
-
-.nav-justified > .dropdown .dropdown-menu {
- top: auto;
- left: auto
-}
-
-@media (min-width: 768px) {
- .nav-justified > li {
- display: table-cell;
- width: 1%
- }
-
- .nav-justified > li > a {
- margin-bottom: 0
- }
-}
-
-.nav-tabs-justified {
- border-bottom: 0
-}
-
-.nav-tabs-justified > li > a {
- margin-right: 0;
- border-radius: 4px
-}
-
-.nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus {
- border: 1px solid #ddd
-}
-
-@media (min-width: 768px) {
- .nav-tabs-justified > li > a {
- border-bottom: 1px solid #ddd;
- border-radius: 4px 4px 0 0
- }
-
- .nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus {
- border-bottom-color: #fff
- }
-}
-
-.tab-content > .tab-pane {
- display: none
-}
-
-.tab-content > .active {
- display: block
-}
-
-.nav-tabs .dropdown-menu {
- margin-top: -1px;
- border-top-right-radius: 0;
- border-top-left-radius: 0
-}
-
-.navbar {
- position: relative;
- min-height: 50px;
- margin-bottom: 20px;
- border: 1px solid transparent
-}
-
-@media (min-width: 768px) {
- .navbar {
- border-radius: 4px
- }
-}
-
-@media (min-width: 768px) {
- .navbar-header {
- float: left
- }
-}
-
-.navbar-collapse {
- max-height: 340px;
- overflow-x: visible;
- padding-right: 15px;
- padding-left: 15px;
- border-top: 1px solid transparent;
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
- -webkit-overflow-scrolling: touch
-}
-
-.navbar-collapse.in {
- overflow-y: auto
-}
-
-@media (min-width: 768px) {
- .navbar-collapse {
- width: auto;
- border-top: 0;
- box-shadow: none
- }
-
- .navbar-collapse.collapse {
- display: block !important;
- height: auto !important;
- padding-bottom: 0;
- overflow: visible !important
- }
-
- .navbar-collapse.in {
- overflow-y: visible
- }
-
- .navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
- padding-left: 0;
- padding-right: 0
- }
-}
-
-.container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
- margin-right: -15px;
- margin-left: -15px
-}
-
-@media (min-width: 768px) {
- .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
- margin-right: 0;
- margin-left: 0
- }
-}
-
-.navbar-static-top {
- z-index: 1000;
- border-width: 0 0 1px
-}
-
-@media (min-width: 768px) {
- .navbar-static-top {
- border-radius: 0
- }
-}
-
-.navbar-fixed-top, .navbar-fixed-bottom {
- position: fixed;
- right: 0;
- left: 0;
- z-index: 1030
-}
-
-@media (min-width: 768px) {
- .navbar-fixed-top, .navbar-fixed-bottom {
- border-radius: 0
- }
-}
-
-.navbar-fixed-top {
- top: 0;
- border-width: 0 0 1px
-}
-
-.navbar-fixed-bottom {
- bottom: 0;
- margin-bottom: 0;
- border-width: 1px 0 0
-}
-
-.navbar-brand {
- float: left;
- padding: 15px;
- font-size: 18px;
- line-height: 20px;
- height: 50px
-}
-
-.navbar-brand:hover, .navbar-brand:focus {
- text-decoration: none
-}
-
-@media (min-width: 768px) {
- .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
- margin-left: -15px
- }
-}
-
-.navbar-toggle {
- position: relative;
- float: right;
- margin-right: 15px;
- padding: 9px 10px;
- margin-top: 8px;
- margin-bottom: 8px;
- background-color: transparent;
- background-image: none;
- border: 1px solid transparent;
- border-radius: 4px
-}
-
-.navbar-toggle:focus {
- outline: 0
-}
-
-.navbar-toggle .icon-bar {
- display: block;
- width: 22px;
- height: 2px;
- border-radius: 1px
-}
-
-.navbar-toggle .icon-bar + .icon-bar {
- margin-top: 4px
-}
-
-@media (min-width: 768px) {
- .navbar-toggle {
- display: none
- }
-}
-
-.navbar-nav {
- margin: 7.5px -15px
-}
-
-.navbar-nav > li > a {
- padding-top: 10px;
- padding-bottom: 10px;
- line-height: 20px
-}
-
-@media (max-width: 767px) {
- .navbar-nav .open .dropdown-menu {
- position: static;
- float: none;
- width: auto;
- margin-top: 0;
- background-color: transparent;
- border: 0;
- box-shadow: none
- }
-
- .navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header {
- padding: 5px 15px 5px 25px
- }
-
- .navbar-nav .open .dropdown-menu > li > a {
- line-height: 20px
- }
-
- .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus {
- background-image: none
- }
-}
-
-@media (min-width: 768px) {
- .navbar-nav {
- float: left;
- margin: 0
- }
-
- .navbar-nav > li {
- float: left
- }
-
- .navbar-nav > li > a {
- padding-top: 15px;
- padding-bottom: 15px
- }
-
- .navbar-nav.navbar-right:last-child {
- margin-right: -15px
- }
-}
-
-@media (min-width: 768px) {
- .navbar-left {
- float: left !important
- }
-
- .navbar-right {
- float: right !important
- }
-}
-
-.navbar-form {
- margin-left: -15px;
- margin-right: -15px;
- padding: 10px 15px;
- border-top: 1px solid transparent;
- border-bottom: 1px solid transparent;
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
- margin-top: 8px;
- margin-bottom: 8px
-}
-
-@media (min-width: 768px) {
- .navbar-form .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle
- }
-
- .navbar-form .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle
- }
-
- .navbar-form .input-group > .form-control {
- width: 100%
- }
-
- .navbar-form .control-label {
- margin-bottom: 0;
- vertical-align: middle
- }
-
- .navbar-form .radio, .navbar-form .checkbox {
- display: inline-block;
- margin-top: 0;
- margin-bottom: 0;
- padding-left: 0;
- vertical-align: middle
- }
-
- .navbar-form .radio input[type=radio], .navbar-form .checkbox input[type=checkbox] {
- float: none;
- margin-left: 0
- }
-
- .navbar-form .has-feedback .form-control-feedback {
- top: 0
- }
-}
-
-@media (max-width: 767px) {
- .navbar-form .form-group {
- margin-bottom: 5px
- }
-}
-
-@media (min-width: 768px) {
- .navbar-form {
- width: auto;
- border: 0;
- margin-left: 0;
- margin-right: 0;
- padding-top: 0;
- padding-bottom: 0;
- -webkit-box-shadow: none;
- box-shadow: none
- }
-
- .navbar-form.navbar-right:last-child {
- margin-right: -15px
- }
-}
-
-.navbar-nav > li > .dropdown-menu {
- margin-top: 0;
- border-top-right-radius: 0;
- border-top-left-radius: 0
-}
-
-.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0
-}
-
-.navbar-btn {
- margin-top: 8px;
- margin-bottom: 8px
-}
-
-.navbar-btn.btn-sm {
- margin-top: 10px;
- margin-bottom: 10px
-}
-
-.navbar-btn.btn-xs {
- margin-top: 14px;
- margin-bottom: 14px
-}
-
-.navbar-text {
- margin-top: 15px;
- margin-bottom: 15px
-}
-
-@media (min-width: 768px) {
- .navbar-text {
- float: left;
- margin-left: 15px;
- margin-right: 15px
- }
-
- .navbar-text.navbar-right:last-child {
- margin-right: 0
- }
-}
-
-.navbar-default {
- background-color: #f8f8f8;
- border-color: #e7e7e7
-}
-
-.navbar-default .navbar-brand {
- color: #777
-}
-
-.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
- color: #5e5e5e;
- background-color: transparent
-}
-
-.navbar-default .navbar-text {
- color: #777
-}
-
-.navbar-default .navbar-nav > li > a {
- color: #777
-}
-
-.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
- color: #333;
- background-color: transparent
-}
-
-.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
- color: #555;
- background-color: #e7e7e7
-}
-
-.navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus {
- color: #ccc;
- background-color: transparent
-}
-
-.navbar-default .navbar-toggle {
- border-color: #ddd
-}
-
-.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
- background-color: #ddd
-}
-
-.navbar-default .navbar-toggle .icon-bar {
- background-color: #888
-}
-
-.navbar-default .navbar-collapse, .navbar-default .navbar-form {
- border-color: #e7e7e7
-}
-
-.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
- background-color: #e7e7e7;
- color: #555
-}
-
-@media (max-width: 767px) {
- .navbar-default .navbar-nav .open .dropdown-menu > li > a {
- color: #777
- }
-
- .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #333;
- background-color: transparent
- }
-
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
- color: #555;
- background-color: #e7e7e7
- }
-
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
- color: #ccc;
- background-color: transparent
- }
-}
-
-.navbar-default .navbar-link {
- color: #777
-}
-
-.navbar-default .navbar-link:hover {
- color: #333
-}
-
-.navbar-inverse {
- background-color: #222;
- border-color: #080808
-}
-
-.navbar-inverse .navbar-brand {
- color: #999
-}
-
-.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {
- color: #fff;
- background-color: transparent
-}
-
-.navbar-inverse .navbar-text {
- color: #999
-}
-
-.navbar-inverse .navbar-nav > li > a {
- color: #999
-}
-
-.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
- color: #fff;
- background-color: transparent
-}
-
-.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
- color: #fff;
- background-color: #080808
-}
-
-.navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus {
- color: #444;
- background-color: transparent
-}
-
-.navbar-inverse .navbar-toggle {
- border-color: #333
-}
-
-.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
- background-color: #333
-}
-
-.navbar-inverse .navbar-toggle .icon-bar {
- background-color: #fff
-}
-
-.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
- border-color: #101010
-}
-
-.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
- background-color: #080808;
- color: #fff
-}
-
-@media (max-width: 767px) {
- .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
- border-color: #080808
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
- background-color: #080808
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
- color: #999
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #fff;
- background-color: transparent
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
- color: #fff;
- background-color: #080808
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
- color: #444;
- background-color: transparent
- }
-}
-
-.navbar-inverse .navbar-link {
- color: #999
-}
-
-.navbar-inverse .navbar-link:hover {
- color: #fff
-}
-
-.breadcrumb {
- padding: 8px 15px;
- margin-bottom: 20px;
- list-style: none;
- background-color: #f5f5f5;
- border-radius: 4px
-}
-
-.breadcrumb > li {
- display: inline-block
-}
-
-.breadcrumb > li + li:before {
- content: "/\00a0";
- padding: 0 5px;
- color: #ccc
-}
-
-.breadcrumb > .active {
- color: #999
-}
-
-.pagination {
- display: inline-block;
- padding-left: 0;
- margin: 20px 0;
- border-radius: 4px
-}
-
-.pagination > li {
- display: inline
-}
-
-.pagination > li > a, .pagination > li > span {
- position: relative;
- float: left;
- padding: 6px 12px;
- line-height: 1.42857143;
- text-decoration: none;
- color: #428bca;
- background-color: #fff;
- border: 1px solid #ddd;
- margin-left: -1px
-}
-
-.pagination > li:first-child > a, .pagination > li:first-child > span {
- margin-left: 0;
- border-bottom-left-radius: 4px;
- border-top-left-radius: 4px
-}
-
-.pagination > li:last-child > a, .pagination > li:last-child > span {
- border-bottom-right-radius: 4px;
- border-top-right-radius: 4px
-}
-
-.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
- color: #2a6496;
- background-color: #eee;
- border-color: #ddd
-}
-
-.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
- z-index: 2;
- color: #fff;
- background-color: #428bca;
- border-color: #428bca;
- cursor: default
-}
-
-.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
- color: #999;
- background-color: #fff;
- border-color: #ddd;
- cursor: not-allowed
-}
-
-.pagination-lg > li > a, .pagination-lg > li > span {
- padding: 10px 16px;
- font-size: 18px
-}
-
-.pagination-lg > li:first-child > a, .pagination-lg > li:first-child > span {
- border-bottom-left-radius: 6px;
- border-top-left-radius: 6px
-}
-
-.pagination-lg > li:last-child > a, .pagination-lg > li:last-child > span {
- border-bottom-right-radius: 6px;
- border-top-right-radius: 6px
-}
-
-.pagination-sm > li > a, .pagination-sm > li > span {
- padding: 5px 10px;
- font-size: 12px
-}
-
-.pagination-sm > li:first-child > a, .pagination-sm > li:first-child > span {
- border-bottom-left-radius: 3px;
- border-top-left-radius: 3px
-}
-
-.pagination-sm > li:last-child > a, .pagination-sm > li:last-child > span {
- border-bottom-right-radius: 3px;
- border-top-right-radius: 3px
-}
-
-.pager {
- padding-left: 0;
- margin: 20px 0;
- list-style: none;
- text-align: center
-}
-
-.pager li {
- display: inline
-}
-
-.pager li > a, .pager li > span {
- display: inline-block;
- padding: 5px 14px;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 15px
-}
-
-.pager li > a:hover, .pager li > a:focus {
- text-decoration: none;
- background-color: #eee
-}
-
-.pager .next > a, .pager .next > span {
- float: right
-}
-
-.pager .previous > a, .pager .previous > span {
- float: left
-}
-
-.pager .disabled > a, .pager .disabled > a:hover, .pager .disabled > a:focus, .pager .disabled > span {
- color: #999;
- background-color: #fff;
- cursor: not-allowed
-}
-
-.label {
- display: inline;
- padding: .2em .6em .3em;
- font-size: 75%;
- line-height: 1;
- color: #fff;
- text-align: center;
- white-space: nowrap;
- vertical-align: baseline;
- border-radius: .25em
-}
-
-.label[href]:hover, .label[href]:focus {
- color: #fff;
- text-decoration: none;
- cursor: pointer
-}
-
-.label:empty {
- display: none
-}
-
-.btn .label {
- position: relative;
- top: -1px
-}
-
-.label-default {
- background-color: #999
-}
-
-.label-default[href]:hover, .label-default[href]:focus {
- background-color: gray
-}
-
-.label-primary {
- background-color: #428bca
-}
-
-.label-primary[href]:hover, .label-primary[href]:focus {
- background-color: #3071a9
-}
-
-.label-success {
- background-color: #5cb85c
-}
-
-.label-success[href]:hover, .label-success[href]:focus {
- background-color: #449d44
-}
-
-.label-info {
- background-color: #5bc0de
-}
-
-.label-info[href]:hover, .label-info[href]:focus {
- background-color: #31b0d5
-}
-
-.label-warning {
- background-color: #f0ad4e
-}
-
-.label-warning[href]:hover, .label-warning[href]:focus {
- background-color: #ec971f
-}
-
-.label-danger {
- background-color: #d9534f
-}
-
-.label-danger[href]:hover, .label-danger[href]:focus {
- background-color: #c9302c
-}
-
-.badge {
- display: inline-block;
- min-width: 10px;
- padding: 3px 7px;
- font-size: 12px;
- color: #fff;
- line-height: 1;
- vertical-align: baseline;
- white-space: nowrap;
- text-align: center;
- background-color: #999;
- border-radius: 10px
-}
-
-.badge:empty {
- display: none
-}
-
-.btn .badge {
- position: relative;
- top: -1px
-}
-
-.btn-xs .badge {
- top: 0;
- padding: 1px 5px
-}
-
-a.badge:hover, a.badge:focus {
- color: #fff;
- text-decoration: none;
- cursor: pointer
-}
-
-a.list-group-item.active > .badge, .nav-pills > .active > a > .badge {
- color: #428bca;
- background-color: #fff
-}
-
-.nav-pills > li > a > .badge {
- margin-left: 3px
-}
-
-.jumbotron {
- padding: 30px;
- margin-bottom: 30px;
- color: inherit;
- background-color: #eee
-}
-
-.jumbotron h1, .jumbotron .h1 {
- color: inherit
-}
-
-.jumbotron p {
- margin-bottom: 15px;
- font-size: 21px;
- font-weight: 200
-}
-
-.container .jumbotron {
- border-radius: 6px
-}
-
-.jumbotron .container {
- max-width: 100%
-}
-
-@media screen and (min-width: 768px) {
- .jumbotron {
- padding-top: 48px;
- padding-bottom: 48px
- }
-
- .container .jumbotron {
- padding-left: 60px;
- padding-right: 60px
- }
-
- .jumbotron h1, .jumbotron .h1 {
- font-size: 63px
- }
-}
-
-.thumbnail {
- display: block;
- padding: 4px;
- margin-bottom: 20px;
- line-height: 1.42857143;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 4px;
- -webkit-transition: all .2s ease-in-out;
- transition: all .2s ease-in-out
-}
-
-.thumbnail > img, .thumbnail a > img {
- margin-left: auto;
- margin-right: auto
-}
-
-a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active {
- border-color: #428bca
-}
-
-.thumbnail .caption {
- padding: 9px;
- color: #333
-}
-
-.alert {
- padding: 15px;
- margin-bottom: 20px;
- border: 1px solid transparent;
- border-radius: 4px
-}
-
-.alert h4 {
- margin-top: 0;
- color: inherit
-}
-
-.alert .alert-link {
- font-weight: 700
-}
-
-.alert > p, .alert > ul {
- margin-bottom: 0
-}
-
-.alert > p + p {
- margin-top: 5px
-}
-
-.alert-dismissable {
- padding-right: 35px
-}
-
-.alert-dismissable .close {
- position: relative;
- top: -2px;
- right: -21px;
- color: inherit
-}
-
-.alert-success {
- background-color: #dff0d8;
- border-color: #d6e9c6;
- color: #3c763d
-}
-
-.alert-success hr {
- border-top-color: #c9e2b3
-}
-
-.alert-success .alert-link {
- color: #2b542c
-}
-
-.alert-info {
- background-color: #d9edf7;
- border-color: #bce8f1;
- color: #31708f
-}
-
-.alert-info hr {
- border-top-color: #a6e1ec
-}
-
-.alert-info .alert-link {
- color: #245269
-}
-
-.alert-warning {
- background-color: #fcf8e3;
- border-color: #faebcc;
- color: #8a6d3b
-}
-
-.alert-warning hr {
- border-top-color: #f7e1b5
-}
-
-.alert-warning .alert-link {
- color: #66512c
-}
-
-.alert-danger {
- background-color: #f2dede;
- border-color: #ebccd1;
- color: #a94442
-}
-
-.alert-danger hr {
- border-top-color: #e4b9c0
-}
-
-.alert-danger .alert-link {
- color: #843534
-}
-
-@-webkit-keyframes progress-bar-stripes {
- from {
- background-position: 40px 0
- }
- to {
- background-position: 0 0
- }
-}
-
-@keyframes progress-bar-stripes {
- from {
- background-position: 40px 0
- }
- to {
- background-position: 0 0
- }
-}
-
-.progress {
- overflow: hidden;
- height: 20px;
- margin-bottom: 20px;
- background-color: #f5f5f5;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1)
-}
-
-.progress-bar {
- float: left;
- width: 0;
- height: 100%;
- font-size: 12px;
- line-height: 20px;
- color: #fff;
- text-align: center;
- background-color: #428bca;
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
- -webkit-transition: width .6s ease;
- transition: width .6s ease
-}
-
-.progress-striped .progress-bar {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-size: 40px 40px
-}
-
-.progress.active .progress-bar {
- -webkit-animation: progress-bar-stripes 2s linear infinite;
- animation: progress-bar-stripes 2s linear infinite
-}
-
-.progress-bar-success {
- background-color: #5cb85c
-}
-
-.progress-striped .progress-bar-success {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent)
-}
-
-.progress-bar-info {
- background-color: #5bc0de
-}
-
-.progress-striped .progress-bar-info {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent)
-}
-
-.progress-bar-warning {
- background-color: #f0ad4e
-}
-
-.progress-striped .progress-bar-warning {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent)
-}
-
-.progress-bar-danger {
- background-color: #d9534f
-}
-
-.progress-striped .progress-bar-danger {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent)
-}
-
-.media, .media-body {
- overflow: hidden;
- zoom: 1
-}
-
-.media, .media .media {
- margin-top: 15px
-}
-
-.media:first-child {
- margin-top: 0
-}
-
-.media-object {
- display: block
-}
-
-.media-heading {
- margin: 0 0 5px
-}
-
-.media > .pull-left {
- margin-right: 10px
-}
-
-.media > .pull-right {
- margin-left: 10px
-}
-
-.media-list {
- padding-left: 0;
- list-style: none
-}
-
-.list-group {
- margin-bottom: 20px;
- padding-left: 0
-}
-
-.list-group-item {
- position: relative;
- display: block;
- padding: 10px 15px;
- margin-bottom: -1px;
- background-color: #fff;
- border: 1px solid #ddd
-}
-
-.list-group-item:first-child {
- border-top-right-radius: 4px;
- border-top-left-radius: 4px
-}
-
-.list-group-item:last-child {
- margin-bottom: 0;
- border-bottom-right-radius: 4px;
- border-bottom-left-radius: 4px
-}
-
-.list-group-item > .badge {
- float: right
-}
-
-.list-group-item > .badge + .badge {
- margin-right: 5px
-}
-
-a.list-group-item {
- color: #555
-}
-
-a.list-group-item .list-group-item-heading {
- color: #333
-}
-
-a.list-group-item:hover, a.list-group-item:focus {
- text-decoration: none;
- background-color: #f5f5f5
-}
-
-a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus {
- z-index: 2;
- color: #fff;
- background-color: #428bca;
- border-color: #428bca
-}
-
-a.list-group-item.active .list-group-item-heading, a.list-group-item.active:hover .list-group-item-heading, a.list-group-item.active:focus .list-group-item-heading {
- color: inherit
-}
-
-a.list-group-item.active .list-group-item-text, a.list-group-item.active:hover .list-group-item-text, a.list-group-item.active:focus .list-group-item-text {
- color: #e1edf7
-}
-
-.list-group-item-success {
- color: #3c763d;
- background-color: #dff0d8
-}
-
-a.list-group-item-success {
- color: #3c763d
-}
-
-a.list-group-item-success .list-group-item-heading {
- color: inherit
-}
-
-a.list-group-item-success:hover, a.list-group-item-success:focus {
- color: #3c763d;
- background-color: #d0e9c6
-}
-
-a.list-group-item-success.active, a.list-group-item-success.active:hover, a.list-group-item-success.active:focus {
- color: #fff;
- background-color: #3c763d;
- border-color: #3c763d
-}
-
-.list-group-item-info {
- color: #31708f;
- background-color: #d9edf7
-}
-
-a.list-group-item-info {
- color: #31708f
-}
-
-a.list-group-item-info .list-group-item-heading {
- color: inherit
-}
-
-a.list-group-item-info:hover, a.list-group-item-info:focus {
- color: #31708f;
- background-color: #c4e3f3
-}
-
-a.list-group-item-info.active, a.list-group-item-info.active:hover, a.list-group-item-info.active:focus {
- color: #fff;
- background-color: #31708f;
- border-color: #31708f
-}
-
-.list-group-item-warning {
- color: #8a6d3b;
- background-color: #fcf8e3
-}
-
-a.list-group-item-warning {
- color: #8a6d3b
-}
-
-a.list-group-item-warning .list-group-item-heading {
- color: inherit
-}
-
-a.list-group-item-warning:hover, a.list-group-item-warning:focus {
- color: #8a6d3b;
- background-color: #faf2cc
-}
-
-a.list-group-item-warning.active, a.list-group-item-warning.active:hover, a.list-group-item-warning.active:focus {
- color: #fff;
- background-color: #8a6d3b;
- border-color: #8a6d3b
-}
-
-.list-group-item-danger {
- color: #a94442;
- background-color: #f2dede
-}
-
-a.list-group-item-danger {
- color: #a94442
-}
-
-a.list-group-item-danger .list-group-item-heading {
- color: inherit
-}
-
-a.list-group-item-danger:hover, a.list-group-item-danger:focus {
- color: #a94442;
- background-color: #ebcccc
-}
-
-a.list-group-item-danger.active, a.list-group-item-danger.active:hover, a.list-group-item-danger.active:focus {
- color: #fff;
- background-color: #a94442;
- border-color: #a94442
-}
-
-.list-group-item-heading {
- margin-top: 0;
- margin-bottom: 5px
-}
-
-.list-group-item-text {
- margin-bottom: 0;
- line-height: 1.3
-}
-
-.panel {
- margin-bottom: 20px;
- background-color: #fff;
- border: 1px solid transparent;
- border-radius: 4px;
- -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
- box-shadow: 0 1px 1px rgba(0, 0, 0, .05)
-}
-
-.panel-body {
- padding: 15px
-}
-
-.panel-heading {
- padding: 10px 15px;
- border-bottom: 1px solid transparent;
- border-top-right-radius: 3px;
- border-top-left-radius: 3px
-}
-
-.panel-heading > .dropdown .dropdown-toggle {
- color: inherit
-}
-
-.panel-title {
- margin-top: 0;
- margin-bottom: 0;
- font-size: 16px;
- color: inherit
-}
-
-.panel-title > a {
- color: inherit
-}
-
-.panel-footer {
- padding: 10px 15px;
- background-color: #f5f5f5;
- border-top: 1px solid #ddd;
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px
-}
-
-.panel > .list-group {
- margin-bottom: 0
-}
-
-.panel > .list-group .list-group-item {
- border-width: 1px 0;
- border-radius: 0
-}
-
-.panel > .list-group:first-child .list-group-item:first-child {
- border-top: 0;
- border-top-right-radius: 3px;
- border-top-left-radius: 3px
-}
-
-.panel > .list-group:last-child .list-group-item:last-child {
- border-bottom: 0;
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px
-}
-
-.panel-heading + .list-group .list-group-item:first-child {
- border-top-width: 0
-}
-
-.panel > .table, .panel > .table-responsive > .table {
- margin-bottom: 0
-}
-
-.panel > .table:first-child, .panel > .table-responsive:first-child > .table:first-child {
- border-top-right-radius: 3px;
- border-top-left-radius: 3px
-}
-
-.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
- border-top-left-radius: 3px
-}
-
-.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
- border-top-right-radius: 3px
-}
-
-.panel > .table:last-child, .panel > .table-responsive:last-child > .table:last-child {
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px
-}
-
-.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
- border-bottom-left-radius: 3px
-}
-
-.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
- border-bottom-right-radius: 3px
-}
-
-.panel > .panel-body + .table, .panel > .panel-body + .table-responsive {
- border-top: 1px solid #ddd
-}
-
-.panel > .table > tbody:first-child > tr:first-child th, .panel > .table > tbody:first-child > tr:first-child td {
- border-top: 0
-}
-
-.panel > .table-bordered, .panel > .table-responsive > .table-bordered {
- border: 0
-}
-
-.panel > .table-bordered > thead > tr > th:first-child, .panel > .table-responsive > .table-bordered > thead > tr > th:first-child, .panel > .table-bordered > tbody > tr > th:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, .panel > .table-bordered > tfoot > tr > th:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, .panel > .table-bordered > thead > tr > td:first-child, .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, .panel > .table-bordered > tbody > tr > td:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, .panel > .table-bordered > tfoot > tr > td:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0
-}
-
-.panel > .table-bordered > thead > tr > th:last-child, .panel > .table-responsive > .table-bordered > thead > tr > th:last-child, .panel > .table-bordered > tbody > tr > th:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, .panel > .table-bordered > tfoot > tr > th:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, .panel > .table-bordered > thead > tr > td:last-child, .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, .panel > .table-bordered > tbody > tr > td:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, .panel > .table-bordered > tfoot > tr > td:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0
-}
-
-.panel > .table-bordered > thead > tr:first-child > td, .panel > .table-responsive > .table-bordered > thead > tr:first-child > td, .panel > .table-bordered > tbody > tr:first-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, .panel > .table-bordered > thead > tr:first-child > th, .panel > .table-responsive > .table-bordered > thead > tr:first-child > th, .panel > .table-bordered > tbody > tr:first-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
- border-bottom: 0
-}
-
-.panel > .table-bordered > tbody > tr:last-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, .panel > .table-bordered > tfoot > tr:last-child > td, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, .panel > .table-bordered > tbody > tr:last-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, .panel > .table-bordered > tfoot > tr:last-child > th, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
- border-bottom: 0
-}
-
-.panel > .table-responsive {
- border: 0;
- margin-bottom: 0
-}
-
-.panel-group {
- margin-bottom: 20px
-}
-
-.panel-group .panel {
- margin-bottom: 0;
- border-radius: 4px;
- overflow: hidden
-}
-
-.panel-group .panel + .panel {
- margin-top: 5px
-}
-
-.panel-group .panel-heading {
- border-bottom: 0
-}
-
-.panel-group .panel-heading + .panel-collapse .panel-body {
- border-top: 1px solid #ddd
-}
-
-.panel-group .panel-footer {
- border-top: 0
-}
-
-.panel-group .panel-footer + .panel-collapse .panel-body {
- border-bottom: 1px solid #ddd
-}
-
-.panel-default {
- border-color: #ddd
-}
-
-.panel-default > .panel-heading {
- color: #333;
- background-color: #f5f5f5;
- border-color: #ddd
-}
-
-.panel-default > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #ddd
-}
-
-.panel-default > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #ddd
-}
-
-.panel-primary {
- border-color: #428bca
-}
-
-.panel-primary > .panel-heading {
- color: #fff;
- background-color: #428bca;
- border-color: #428bca
-}
-
-.panel-primary > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #428bca
-}
-
-.panel-primary > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #428bca
-}
-
-.panel-success {
- border-color: #d6e9c6
-}
-
-.panel-success > .panel-heading {
- color: #3c763d;
- background-color: #dff0d8;
- border-color: #d6e9c6
-}
-
-.panel-success > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #d6e9c6
-}
-
-.panel-success > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #d6e9c6
-}
-
-.panel-info {
- border-color: #bce8f1
-}
-
-.panel-info > .panel-heading {
- color: #31708f;
- background-color: #d9edf7;
- border-color: #bce8f1
-}
-
-.panel-info > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #bce8f1
-}
-
-.panel-info > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #bce8f1
-}
-
-.panel-warning {
- border-color: #faebcc
-}
-
-.panel-warning > .panel-heading {
- color: #8a6d3b;
- background-color: #fcf8e3;
- border-color: #faebcc
-}
-
-.panel-warning > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #faebcc
-}
-
-.panel-warning > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #faebcc
-}
-
-.panel-danger {
- border-color: #ebccd1
-}
-
-.panel-danger > .panel-heading {
- color: #a94442;
- background-color: #f2dede;
- border-color: #ebccd1
-}
-
-.panel-danger > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #ebccd1
-}
-
-.panel-danger > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #ebccd1
-}
-
-.well {
- min-height: 20px;
- padding: 19px;
- margin-bottom: 20px;
- background-color: #f5f5f5;
- border: 1px solid #e3e3e3;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05)
-}
-
-.well blockquote {
- border-color: #ddd;
- border-color: rgba(0, 0, 0, .15)
-}
-
-.well-lg {
- padding: 24px;
- border-radius: 6px
-}
-
-.well-sm {
- padding: 9px;
- border-radius: 3px
-}
-
-.close {
- float: right;
- font-size: 21px;
- font-weight: 700;
- line-height: 1;
- color: #000;
- text-shadow: 0 1px 0 #fff;
- opacity: .2;
- filter: alpha(opacity=20)
-}
-
-.close:hover, .close:focus {
- color: #000;
- text-decoration: none;
- cursor: pointer;
- opacity: .5;
- filter: alpha(opacity=50)
-}
-
-button.close {
- padding: 0;
- cursor: pointer;
- background: 0 0;
- border: 0;
- -webkit-appearance: none
-}
-
-.modal-open {
- overflow: hidden
-}
-
-.modal {
- display: none;
- overflow: auto;
- overflow-y: scroll;
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1050;
- -webkit-overflow-scrolling: touch;
- outline: 0
-}
-
-.modal.fade .modal-dialog {
- -webkit-transform: translate(0, -25%);
- -ms-transform: translate(0, -25%);
- transform: translate(0, -25%);
- -webkit-transition: -webkit-transform .3s ease-out;
- -moz-transition: -moz-transform .3s ease-out;
- -o-transition: -o-transform .3s ease-out;
- transition: transform .3s ease-out
-}
-
-.modal.in .modal-dialog {
- -webkit-transform: translate(0, 0);
- -ms-transform: translate(0, 0);
- transform: translate(0, 0)
-}
-
-.modal-dialog {
- position: relative;
- width: auto;
- margin: 10px
-}
-
-.modal-content {
- position: relative;
- background-color: #fff;
- border: 1px solid #999;
- border: 1px solid rgba(0, 0, 0, .2);
- border-radius: 6px;
- -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
- box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
- background-clip: padding-box;
- outline: 0
-}
-
-.modal-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1040;
- background-color: #000
-}
-
-.modal-backdrop.fade {
- opacity: 0;
- filter: alpha(opacity=0)
-}
-
-.modal-backdrop.in {
- opacity: .5;
- filter: alpha(opacity=50)
-}
-
-.modal-header {
- padding: 15px;
- border-bottom: 1px solid #e5e5e5;
- min-height: 16.42857143px
-}
-
-.modal-header .close {
- margin-top: -2px
-}
-
-.modal-title {
- margin: 0;
- line-height: 1.42857143
-}
-
-.modal-body {
- position: relative;
- padding: 20px
-}
-
-.modal-footer {
- margin-top: 15px;
- padding: 19px 20px 20px;
- text-align: right;
- border-top: 1px solid #e5e5e5
-}
-
-.modal-footer .btn + .btn {
- margin-left: 5px;
- margin-bottom: 0
-}
-
-.modal-footer .btn-group .btn + .btn {
- margin-left: -1px
-}
-
-.modal-footer .btn-block + .btn-block {
- margin-left: 0
-}
-
-@media (min-width: 768px) {
- .modal-dialog {
- width: 600px;
- margin: 30px auto
- }
-
- .modal-content {
- -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
- box-shadow: 0 5px 15px rgba(0, 0, 0, .5)
- }
-
- .modal-sm {
- width: 300px
- }
-}
-
-@media (min-width: 992px) {
- .modal-lg {
- width: 900px
- }
-}
-
-.tooltip {
- position: absolute;
- z-index: 1030;
- display: block;
- visibility: visible;
- font-size: 12px;
- line-height: 1.4;
- opacity: 0;
- filter: alpha(opacity=0)
-}
-
-.tooltip.in {
- opacity: .9;
- filter: alpha(opacity=90)
-}
-
-.tooltip.top {
- margin-top: -3px;
- padding: 5px 0
-}
-
-.tooltip.right {
- margin-left: 3px;
- padding: 0 5px
-}
-
-.tooltip.bottom {
- margin-top: 3px;
- padding: 5px 0
-}
-
-.tooltip.left {
- margin-left: -3px;
- padding: 0 5px
-}
-
-.tooltip-inner {
- max-width: 200px;
- padding: 3px 8px;
- color: #fff;
- text-align: center;
- text-decoration: none;
- background-color: #000;
- border-radius: 4px
-}
-
-.tooltip-arrow {
- position: absolute;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid
-}
-
-.tooltip.top .tooltip-arrow {
- bottom: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 5px 5px 0;
- border-top-color: #000
-}
-
-.tooltip.top-left .tooltip-arrow {
- bottom: 0;
- left: 5px;
- border-width: 5px 5px 0;
- border-top-color: #000
-}
-
-.tooltip.top-right .tooltip-arrow {
- bottom: 0;
- right: 5px;
- border-width: 5px 5px 0;
- border-top-color: #000
-}
-
-.tooltip.right .tooltip-arrow {
- top: 50%;
- left: 0;
- margin-top: -5px;
- border-width: 5px 5px 5px 0;
- border-right-color: #000
-}
-
-.tooltip.left .tooltip-arrow {
- top: 50%;
- right: 0;
- margin-top: -5px;
- border-width: 5px 0 5px 5px;
- border-left-color: #000
-}
-
-.tooltip.bottom .tooltip-arrow {
- top: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000
-}
-
-.tooltip.bottom-left .tooltip-arrow {
- top: 0;
- left: 5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000
-}
-
-.tooltip.bottom-right .tooltip-arrow {
- top: 0;
- right: 5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000
-}
-
-.popover {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1010;
- display: none;
- max-width: 276px;
- padding: 1px;
- text-align: left;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, .2);
- border-radius: 6px;
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
- box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
- white-space: normal
-}
-
-.popover.top {
- margin-top: -10px
-}
-
-.popover.right {
- margin-left: 10px
-}
-
-.popover.bottom {
- margin-top: 10px
-}
-
-.popover.left {
- margin-left: -10px
-}
-
-.popover-title {
- margin: 0;
- padding: 8px 14px;
- font-size: 14px;
- font-weight: 400;
- line-height: 18px;
- background-color: #f7f7f7;
- border-bottom: 1px solid #ebebeb;
- border-radius: 5px 5px 0 0
-}
-
-.popover-content {
- padding: 9px 14px
-}
-
-.popover > .arrow, .popover > .arrow:after {
- position: absolute;
- display: block;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid
-}
-
-.popover > .arrow {
- border-width: 11px
-}
-
-.popover > .arrow:after {
- border-width: 10px;
- content: ""
-}
-
-.popover.top > .arrow {
- left: 50%;
- margin-left: -11px;
- border-bottom-width: 0;
- border-top-color: #999;
- border-top-color: rgba(0, 0, 0, .25);
- bottom: -11px
-}
-
-.popover.top > .arrow:after {
- content: " ";
- bottom: 1px;
- margin-left: -10px;
- border-bottom-width: 0;
- border-top-color: #fff
-}
-
-.popover.right > .arrow {
- top: 50%;
- left: -11px;
- margin-top: -11px;
- border-left-width: 0;
- border-right-color: #999;
- border-right-color: rgba(0, 0, 0, .25)
-}
-
-.popover.right > .arrow:after {
- content: " ";
- left: 1px;
- bottom: -10px;
- border-left-width: 0;
- border-right-color: #fff
-}
-
-.popover.bottom > .arrow {
- left: 50%;
- margin-left: -11px;
- border-top-width: 0;
- border-bottom-color: #999;
- border-bottom-color: rgba(0, 0, 0, .25);
- top: -11px
-}
-
-.popover.bottom > .arrow:after {
- content: " ";
- top: 1px;
- margin-left: -10px;
- border-top-width: 0;
- border-bottom-color: #fff
-}
-
-.popover.left > .arrow {
- top: 50%;
- right: -11px;
- margin-top: -11px;
- border-right-width: 0;
- border-left-color: #999;
- border-left-color: rgba(0, 0, 0, .25)
-}
-
-.popover.left > .arrow:after {
- content: " ";
- right: 1px;
- border-right-width: 0;
- border-left-color: #fff;
- bottom: -10px
-}
-
-.carousel {
- position: relative
-}
-
-.carousel-inner {
- position: relative;
- overflow: hidden;
- width: 100%
-}
-
-.carousel-inner > .item {
- display: none;
- position: relative;
- -webkit-transition: .6s ease-in-out left;
- transition: .6s ease-in-out left
-}
-
-.carousel-inner > .item > img, .carousel-inner > .item > a > img {
- line-height: 1
-}
-
-.carousel-inner > .active, .carousel-inner > .next, .carousel-inner > .prev {
- display: block
-}
-
-.carousel-inner > .active {
- left: 0
-}
-
-.carousel-inner > .next, .carousel-inner > .prev {
- position: absolute;
- top: 0;
- width: 100%
-}
-
-.carousel-inner > .next {
- left: 100%
-}
-
-.carousel-inner > .prev {
- left: -100%
-}
-
-.carousel-inner > .next.left, .carousel-inner > .prev.right {
- left: 0
-}
-
-.carousel-inner > .active.left {
- left: -100%
-}
-
-.carousel-inner > .active.right {
- left: 100%
-}
-
-.carousel-control {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- width: 15%;
- opacity: .5;
- filter: alpha(opacity=50);
- font-size: 20px;
- color: #fff;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, .6)
-}
-
-.carousel-control.left {
- background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .5) 0), color-stop(rgba(0, 0, 0, .0001) 100%));
- background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)
-}
-
-.carousel-control.right {
- left: auto;
- right: 0;
- background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .0001) 0), color-stop(rgba(0, 0, 0, .5) 100%));
- background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)
-}
-
-.carousel-control:hover, .carousel-control:focus {
- outline: 0;
- color: #fff;
- text-decoration: none;
- opacity: .9;
- filter: alpha(opacity=90)
-}
-
-.carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
- position: absolute;
- top: 50%;
- z-index: 5;
- display: inline-block
-}
-
-.carousel-control .icon-prev, .carousel-control .glyphicon-chevron-left {
- left: 50%
-}
-
-.carousel-control .icon-next, .carousel-control .glyphicon-chevron-right {
- right: 50%
-}
-
-.carousel-control .icon-prev, .carousel-control .icon-next {
- width: 20px;
- height: 20px;
- margin-top: -10px;
- margin-left: -10px;
- font-family: serif
-}
-
-.carousel-control .icon-prev:before {
- content: '\2039'
-}
-
-.carousel-control .icon-next:before {
- content: '\203a'
-}
-
-.carousel-indicators {
- position: absolute;
- bottom: 10px;
- left: 50%;
- z-index: 15;
- width: 60%;
- margin-left: -30%;
- padding-left: 0;
- list-style: none;
- text-align: center
-}
-
-.carousel-indicators li {
- display: inline-block;
- width: 10px;
- height: 10px;
- margin: 1px;
- text-indent: -999px;
- border: 1px solid #fff;
- border-radius: 10px;
- cursor: pointer;
- background-color: #000 \9;
- background-color: rgba(0, 0, 0, 0)
-}
-
-.carousel-indicators .active {
- margin: 0;
- width: 12px;
- height: 12px;
- background-color: #fff
-}
-
-.carousel-caption {
- position: absolute;
- left: 15%;
- right: 15%;
- bottom: 20px;
- z-index: 10;
- padding-top: 20px;
- padding-bottom: 20px;
- color: #fff;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, .6)
-}
-
-.carousel-caption .btn {
- text-shadow: none
-}
-
-@media screen and (min-width: 768px) {
- .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next {
- width: 30px;
- height: 30px;
- margin-top: -15px;
- margin-left: -15px;
- font-size: 30px
- }
-
- .carousel-caption {
- left: 20%;
- right: 20%;
- padding-bottom: 30px
- }
-
- .carousel-indicators {
- bottom: 20px
- }
-}
-
-.clearfix:before, .clearfix:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after, .btn-toolbar:before, .btn-toolbar:after, .btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after, .nav:before, .nav:after, .navbar:before, .navbar:after, .navbar-header:before, .navbar-header:after, .navbar-collapse:before, .navbar-collapse:after, .pager:before, .pager:after, .panel-body:before, .panel-body:after, .modal-footer:before, .modal-footer:after {
- content: " ";
- display: table
-}
-
-.clearfix:after, .container:after, .container-fluid:after, .row:after, .form-horizontal .form-group:after, .btn-toolbar:after, .btn-group-vertical > .btn-group:after, .nav:after, .navbar:after, .navbar-header:after, .navbar-collapse:after, .pager:after, .panel-body:after, .modal-footer:after {
- clear: both
-}
-
-.center-block {
- display: block;
- margin-left: auto;
- margin-right: auto
-}
-
-.pull-right {
- float: right !important
-}
-
-.pull-left {
- float: left !important
-}
-
-.hide {
- display: none !important
-}
-
-.show {
- display: block !important
-}
-
-.invisible {
- visibility: hidden
-}
-
-.text-hide {
- font: 0/0 a;
- color: transparent;
- text-shadow: none;
- background-color: transparent;
- border: 0
-}
-
-.hidden {
- display: none !important;
- visibility: hidden !important
-}
-
-.affix {
- position: fixed
-}
-
-@-ms-viewport {
- width: device-width
-}
-
-.visible-xs, .visible-sm, .visible-md, .visible-lg {
- display: none !important
-}
-
-@media (max-width: 767px) {
- .visible-xs {
- display: block !important
- }
-
- table.visible-xs {
- display: table
- }
-
- tr.visible-xs {
- display: table-row !important
- }
-
- th.visible-xs, td.visible-xs {
- display: table-cell !important
- }
-}
-
-@media (min-width: 768px) and (max-width: 991px) {
- .visible-sm {
- display: block !important
- }
-
- table.visible-sm {
- display: table
- }
-
- tr.visible-sm {
- display: table-row !important
- }
-
- th.visible-sm, td.visible-sm {
- display: table-cell !important
- }
-}
-
-@media (min-width: 992px) and (max-width: 1199px) {
- .visible-md {
- display: block !important
- }
-
- table.visible-md {
- display: table
- }
-
- tr.visible-md {
- display: table-row !important
- }
-
- th.visible-md, td.visible-md {
- display: table-cell !important
- }
-}
-
-@media (min-width: 1200px) {
- .visible-lg {
- display: block !important
- }
-
- table.visible-lg {
- display: table
- }
-
- tr.visible-lg {
- display: table-row !important
- }
-
- th.visible-lg, td.visible-lg {
- display: table-cell !important
- }
-}
-
-@media (max-width: 767px) {
- .hidden-xs {
- display: none !important
- }
-}
-
-@media (min-width: 768px) and (max-width: 991px) {
- .hidden-sm {
- display: none !important
- }
-}
-
-@media (min-width: 992px) and (max-width: 1199px) {
- .hidden-md {
- display: none !important
- }
-}
-
-@media (min-width: 1200px) {
- .hidden-lg {
- display: none !important
- }
-}
-
-.visible-print {
- display: none !important
-}
-
-@media print {
- .visible-print {
- display: block !important
- }
-
- table.visible-print {
- display: table
- }
-
- tr.visible-print {
- display: table-row !important
- }
-
- th.visible-print, td.visible-print {
- display: table-cell !important
- }
-}
-
-@media print {
- .hidden-print {
- display: none !important
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/js/bootstrap.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/js/bootstrap.js
deleted file mode 100644
index 89c5c94f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/js/bootstrap.js
+++ /dev/null
@@ -1,1972 +0,0 @@
-/*!
- * Bootstrap v3.1.1 (http://getbootstrap.com)
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-
-if (typeof jQuery === 'undefined') {
- throw new Error('Bootstrap\'s JavaScript requires jQuery')
-}
-
-/* ========================================================================
- * Bootstrap: transition.js v3.1.1
- * http://getbootstrap.com/javascript/#transitions
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
- // ============================================================
-
- function transitionEnd() {
- var el = document.createElement('bootstrap')
-
- var transEndEventNames = {
- 'WebkitTransition': 'webkitTransitionEnd',
- 'MozTransition': 'transitionend',
- 'OTransition': 'oTransitionEnd otransitionend',
- 'transition': 'transitionend'
- }
-
- for (var name in transEndEventNames) {
- if (el.style[name] !== undefined) {
- return {end: transEndEventNames[name]}
- }
- }
-
- return false // explicit for ie8 ( ._.)
- }
-
- // http://blog.alexmaccaw.com/css-transitions
- $.fn.emulateTransitionEnd = function (duration) {
- var called = false, $el = this
- $(this).one($.support.transition.end, function () {
- called = true
- })
- var callback = function () {
- if (!called) $($el).trigger($.support.transition.end)
- }
- setTimeout(callback, duration)
- return this
- }
-
- $(function () {
- $.support.transition = transitionEnd()
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: alert.js v3.1.1
- * http://getbootstrap.com/javascript/#alerts
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // ALERT CLASS DEFINITION
- // ======================
-
- var dismiss = '[data-dismiss="alert"]'
- var Alert = function (el) {
- $(el).on('click', dismiss, this.close)
- }
-
- Alert.prototype.close = function (e) {
- var $this = $(this)
- var selector = $this.attr('data-target')
-
- if (!selector) {
- selector = $this.attr('href')
- selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
- }
-
- var $parent = $(selector)
-
- if (e) e.preventDefault()
-
- if (!$parent.length) {
- $parent = $this.hasClass('alert') ? $this : $this.parent()
- }
-
- $parent.trigger(e = $.Event('close.bs.alert'))
-
- if (e.isDefaultPrevented()) return
-
- $parent.removeClass('in')
-
- function removeElement() {
- $parent.trigger('closed.bs.alert').remove()
- }
-
- $.support.transition && $parent.hasClass('fade') ?
- $parent
- .one($.support.transition.end, removeElement)
- .emulateTransitionEnd(150) :
- removeElement()
- }
-
-
- // ALERT PLUGIN DEFINITION
- // =======================
-
- var old = $.fn.alert
-
- $.fn.alert = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.alert')
-
- if (!data) $this.data('bs.alert', (data = new Alert(this)))
- if (typeof option == 'string') data[option].call($this)
- })
- }
-
- $.fn.alert.Constructor = Alert
-
-
- // ALERT NO CONFLICT
- // =================
-
- $.fn.alert.noConflict = function () {
- $.fn.alert = old
- return this
- }
-
-
- // ALERT DATA-API
- // ==============
-
- $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: button.js v3.1.1
- * http://getbootstrap.com/javascript/#buttons
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // BUTTON PUBLIC CLASS DEFINITION
- // ==============================
-
- var Button = function (element, options) {
- this.$element = $(element)
- this.options = $.extend({}, Button.DEFAULTS, options)
- this.isLoading = false
- }
-
- Button.DEFAULTS = {
- loadingText: 'loading...'
- }
-
- Button.prototype.setState = function (state) {
- var d = 'disabled'
- var $el = this.$element
- var val = $el.is('input') ? 'val' : 'html'
- var data = $el.data()
-
- state = state + 'Text'
-
- if (!data.resetText) $el.data('resetText', $el[val]())
-
- $el[val](data[state] || this.options[state])
-
- // push to event loop to allow forms to submit
- setTimeout($.proxy(function () {
- if (state == 'loadingText') {
- this.isLoading = true
- $el.addClass(d).attr(d, d)
- } else if (this.isLoading) {
- this.isLoading = false
- $el.removeClass(d).removeAttr(d)
- }
- }, this), 0)
- }
-
- Button.prototype.toggle = function () {
- var changed = true
- var $parent = this.$element.closest('[data-toggle="buttons"]')
-
- if ($parent.length) {
- var $input = this.$element.find('input')
- if ($input.prop('type') == 'radio') {
- if ($input.prop('checked') && this.$element.hasClass('active')) changed = false
- else $parent.find('.active').removeClass('active')
- }
- if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
- }
-
- if (changed) this.$element.toggleClass('active')
- }
-
-
- // BUTTON PLUGIN DEFINITION
- // ========================
-
- var old = $.fn.button
-
- $.fn.button = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.button')
- var options = typeof option == 'object' && option
-
- if (!data) $this.data('bs.button', (data = new Button(this, options)))
-
- if (option == 'toggle') data.toggle()
- else if (option) data.setState(option)
- })
- }
-
- $.fn.button.Constructor = Button
-
-
- // BUTTON NO CONFLICT
- // ==================
-
- $.fn.button.noConflict = function () {
- $.fn.button = old
- return this
- }
-
-
- // BUTTON DATA-API
- // ===============
-
- $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) {
- var $btn = $(e.target)
- if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
- $btn.button('toggle')
- e.preventDefault()
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: carousel.js v3.1.1
- * http://getbootstrap.com/javascript/#carousel
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // CAROUSEL CLASS DEFINITION
- // =========================
-
- var Carousel = function (element, options) {
- this.$element = $(element)
- this.$indicators = this.$element.find('.carousel-indicators')
- this.options = options
- this.paused =
- this.sliding =
- this.interval =
- this.$active =
- this.$items = null
-
- this.options.pause == 'hover' && this.$element
- .on('mouseenter', $.proxy(this.pause, this))
- .on('mouseleave', $.proxy(this.cycle, this))
- }
-
- Carousel.DEFAULTS = {
- interval: 5000,
- pause: 'hover',
- wrap: true
- }
-
- Carousel.prototype.cycle = function (e) {
- e || (this.paused = false)
-
- this.interval && clearInterval(this.interval)
-
- this.options.interval
- && !this.paused
- && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
-
- return this
- }
-
- Carousel.prototype.getActiveIndex = function () {
- this.$active = this.$element.find('.item.active')
- this.$items = this.$active.parent().children()
-
- return this.$items.index(this.$active)
- }
-
- Carousel.prototype.to = function (pos) {
- var that = this
- var activeIndex = this.getActiveIndex()
-
- if (pos > (this.$items.length - 1) || pos < 0) return
-
- if (this.sliding) return this.$element.one('slid.bs.carousel', function () {
- that.to(pos)
- })
- if (activeIndex == pos) return this.pause().cycle()
-
- return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
- }
-
- Carousel.prototype.pause = function (e) {
- e || (this.paused = true)
-
- if (this.$element.find('.next, .prev').length && $.support.transition) {
- this.$element.trigger($.support.transition.end)
- this.cycle(true)
- }
-
- this.interval = clearInterval(this.interval)
-
- return this
- }
-
- Carousel.prototype.next = function () {
- if (this.sliding) return
- return this.slide('next')
- }
-
- Carousel.prototype.prev = function () {
- if (this.sliding) return
- return this.slide('prev')
- }
-
- Carousel.prototype.slide = function (type, next) {
- var $active = this.$element.find('.item.active')
- var $next = next || $active[type]()
- var isCycling = this.interval
- var direction = type == 'next' ? 'left' : 'right'
- var fallback = type == 'next' ? 'first' : 'last'
- var that = this
-
- if (!$next.length) {
- if (!this.options.wrap) return
- $next = this.$element.find('.item')[fallback]()
- }
-
- if ($next.hasClass('active')) return this.sliding = false
-
- var e = $.Event('slide.bs.carousel', {relatedTarget: $next[0], direction: direction})
- this.$element.trigger(e)
- if (e.isDefaultPrevented()) return
-
- this.sliding = true
-
- isCycling && this.pause()
-
- if (this.$indicators.length) {
- this.$indicators.find('.active').removeClass('active')
- this.$element.one('slid.bs.carousel', function () {
- var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
- $nextIndicator && $nextIndicator.addClass('active')
- })
- }
-
- if ($.support.transition && this.$element.hasClass('slide')) {
- $next.addClass(type)
- $next[0].offsetWidth // force reflow
- $active.addClass(direction)
- $next.addClass(direction)
- $active
- .one($.support.transition.end, function () {
- $next.removeClass([type, direction].join(' ')).addClass('active')
- $active.removeClass(['active', direction].join(' '))
- that.sliding = false
- setTimeout(function () {
- that.$element.trigger('slid.bs.carousel')
- }, 0)
- })
- .emulateTransitionEnd($active.css('transition-duration').slice(0, -1) * 1000)
- } else {
- $active.removeClass('active')
- $next.addClass('active')
- this.sliding = false
- this.$element.trigger('slid.bs.carousel')
- }
-
- isCycling && this.cycle()
-
- return this
- }
-
-
- // CAROUSEL PLUGIN DEFINITION
- // ==========================
-
- var old = $.fn.carousel
-
- $.fn.carousel = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.carousel')
- var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
- var action = typeof option == 'string' ? option : options.slide
-
- if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
- if (typeof option == 'number') data.to(option)
- else if (action) data[action]()
- else if (options.interval) data.pause().cycle()
- })
- }
-
- $.fn.carousel.Constructor = Carousel
-
-
- // CAROUSEL NO CONFLICT
- // ====================
-
- $.fn.carousel.noConflict = function () {
- $.fn.carousel = old
- return this
- }
-
-
- // CAROUSEL DATA-API
- // =================
-
- $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
- var $this = $(this), href
- var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
- var options = $.extend({}, $target.data(), $this.data())
- var slideIndex = $this.attr('data-slide-to')
- if (slideIndex) options.interval = false
-
- $target.carousel(options)
-
- if (slideIndex = $this.attr('data-slide-to')) {
- $target.data('bs.carousel').to(slideIndex)
- }
-
- e.preventDefault()
- })
-
- $(window).on('load', function () {
- $('[data-ride="carousel"]').each(function () {
- var $carousel = $(this)
- $carousel.carousel($carousel.data())
- })
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: collapse.js v3.1.1
- * http://getbootstrap.com/javascript/#collapse
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // COLLAPSE PUBLIC CLASS DEFINITION
- // ================================
-
- var Collapse = function (element, options) {
- this.$element = $(element)
- this.options = $.extend({}, Collapse.DEFAULTS, options)
- this.transitioning = null
-
- if (this.options.parent) this.$parent = $(this.options.parent)
- if (this.options.toggle) this.toggle()
- }
-
- Collapse.DEFAULTS = {
- toggle: true
- }
-
- Collapse.prototype.dimension = function () {
- var hasWidth = this.$element.hasClass('width')
- return hasWidth ? 'width' : 'height'
- }
-
- Collapse.prototype.show = function () {
- if (this.transitioning || this.$element.hasClass('in')) return
-
- var startEvent = $.Event('show.bs.collapse')
- this.$element.trigger(startEvent)
- if (startEvent.isDefaultPrevented()) return
-
- var actives = this.$parent && this.$parent.find('> .panel > .in')
-
- if (actives && actives.length) {
- var hasData = actives.data('bs.collapse')
- if (hasData && hasData.transitioning) return
- actives.collapse('hide')
- hasData || actives.data('bs.collapse', null)
- }
-
- var dimension = this.dimension()
-
- this.$element
- .removeClass('collapse')
- .addClass('collapsing')
- [dimension](0)
-
- this.transitioning = 1
-
- var complete = function () {
- this.$element
- .removeClass('collapsing')
- .addClass('collapse in')
- [dimension]('auto')
- this.transitioning = 0
- this.$element.trigger('shown.bs.collapse')
- }
-
- if (!$.support.transition) return complete.call(this)
-
- var scrollSize = $.camelCase(['scroll', dimension].join('-'))
-
- this.$element
- .one($.support.transition.end, $.proxy(complete, this))
- .emulateTransitionEnd(350)
- [dimension](this.$element[0][scrollSize])
- }
-
- Collapse.prototype.hide = function () {
- if (this.transitioning || !this.$element.hasClass('in')) return
-
- var startEvent = $.Event('hide.bs.collapse')
- this.$element.trigger(startEvent)
- if (startEvent.isDefaultPrevented()) return
-
- var dimension = this.dimension()
-
- this.$element
- [dimension](this.$element[dimension]())
- [0].offsetHeight
-
- this.$element
- .addClass('collapsing')
- .removeClass('collapse')
- .removeClass('in')
-
- this.transitioning = 1
-
- var complete = function () {
- this.transitioning = 0
- this.$element
- .trigger('hidden.bs.collapse')
- .removeClass('collapsing')
- .addClass('collapse')
- }
-
- if (!$.support.transition) return complete.call(this)
-
- this.$element
- [dimension](0)
- .one($.support.transition.end, $.proxy(complete, this))
- .emulateTransitionEnd(350)
- }
-
- Collapse.prototype.toggle = function () {
- this[this.$element.hasClass('in') ? 'hide' : 'show']()
- }
-
-
- // COLLAPSE PLUGIN DEFINITION
- // ==========================
-
- var old = $.fn.collapse
-
- $.fn.collapse = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.collapse')
- var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
-
- if (!data && options.toggle && option == 'show') option = !option
- if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.collapse.Constructor = Collapse
-
-
- // COLLAPSE NO CONFLICT
- // ====================
-
- $.fn.collapse.noConflict = function () {
- $.fn.collapse = old
- return this
- }
-
-
- // COLLAPSE DATA-API
- // =================
-
- $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {
- var $this = $(this), href
- var target = $this.attr('data-target')
- || e.preventDefault()
- || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
- var $target = $(target)
- var data = $target.data('bs.collapse')
- var option = data ? 'toggle' : $this.data()
- var parent = $this.attr('data-parent')
- var $parent = parent && $(parent)
-
- if (!data || !data.transitioning) {
- if ($parent) $parent.find('[data-toggle=collapse][data-parent="' + parent + '"]').not($this).addClass('collapsed')
- $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
- }
-
- $target.collapse(option)
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: dropdown.js v3.1.1
- * http://getbootstrap.com/javascript/#dropdowns
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // DROPDOWN CLASS DEFINITION
- // =========================
-
- var backdrop = '.dropdown-backdrop'
- var toggle = '[data-toggle=dropdown]'
- var Dropdown = function (element) {
- $(element).on('click.bs.dropdown', this.toggle)
- }
-
- Dropdown.prototype.toggle = function (e) {
- var $this = $(this)
-
- if ($this.is('.disabled, :disabled')) return
-
- var $parent = getParent($this)
- var isActive = $parent.hasClass('open')
-
- clearMenus()
-
- if (!isActive) {
- if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
- // if mobile we use a backdrop because click events don't delegate
- $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
- }
-
- var relatedTarget = {relatedTarget: this}
- $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
-
- if (e.isDefaultPrevented()) return
-
- $parent
- .toggleClass('open')
- .trigger('shown.bs.dropdown', relatedTarget)
-
- $this.focus()
- }
-
- return false
- }
-
- Dropdown.prototype.keydown = function (e) {
- if (!/(38|40|27)/.test(e.keyCode)) return
-
- var $this = $(this)
-
- e.preventDefault()
- e.stopPropagation()
-
- if ($this.is('.disabled, :disabled')) return
-
- var $parent = getParent($this)
- var isActive = $parent.hasClass('open')
-
- if (!isActive || (isActive && e.keyCode == 27)) {
- if (e.which == 27) $parent.find(toggle).focus()
- return $this.click()
- }
-
- var desc = ' li:not(.divider):visible a'
- var $items = $parent.find('[role=menu]' + desc + ', [role=listbox]' + desc)
-
- if (!$items.length) return
-
- var index = $items.index($items.filter(':focus'))
-
- if (e.keyCode == 38 && index > 0) index-- // up
- if (e.keyCode == 40 && index < $items.length - 1) index++ // down
- if (!~index) index = 0
-
- $items.eq(index).focus()
- }
-
- function clearMenus(e) {
- $(backdrop).remove()
- $(toggle).each(function () {
- var $parent = getParent($(this))
- var relatedTarget = {relatedTarget: this}
- if (!$parent.hasClass('open')) return
- $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
- if (e.isDefaultPrevented()) return
- $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
- })
- }
-
- function getParent($this) {
- var selector = $this.attr('data-target')
-
- if (!selector) {
- selector = $this.attr('href')
- selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
- }
-
- var $parent = selector && $(selector)
-
- return $parent && $parent.length ? $parent : $this.parent()
- }
-
-
- // DROPDOWN PLUGIN DEFINITION
- // ==========================
-
- var old = $.fn.dropdown
-
- $.fn.dropdown = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.dropdown')
-
- if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
- if (typeof option == 'string') data[option].call($this)
- })
- }
-
- $.fn.dropdown.Constructor = Dropdown
-
-
- // DROPDOWN NO CONFLICT
- // ====================
-
- $.fn.dropdown.noConflict = function () {
- $.fn.dropdown = old
- return this
- }
-
-
- // APPLY TO STANDARD DROPDOWN ELEMENTS
- // ===================================
-
- $(document)
- .on('click.bs.dropdown.data-api', clearMenus)
- .on('click.bs.dropdown.data-api', '.dropdown form', function (e) {
- e.stopPropagation()
- })
- .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
- .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu], [role=listbox]', Dropdown.prototype.keydown)
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: modal.js v3.1.1
- * http://getbootstrap.com/javascript/#modals
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // MODAL CLASS DEFINITION
- // ======================
-
- var Modal = function (element, options) {
- this.options = options
- this.$element = $(element)
- this.$backdrop =
- this.isShown = null
-
- if (this.options.remote) {
- this.$element
- .find('.modal-content')
- .load(this.options.remote, $.proxy(function () {
- this.$element.trigger('loaded.bs.modal')
- }, this))
- }
- }
-
- Modal.DEFAULTS = {
- backdrop: true,
- keyboard: true,
- show: true
- }
-
- Modal.prototype.toggle = function (_relatedTarget) {
- return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)
- }
-
- Modal.prototype.show = function (_relatedTarget) {
- var that = this
- var e = $.Event('show.bs.modal', {relatedTarget: _relatedTarget})
-
- this.$element.trigger(e)
-
- if (this.isShown || e.isDefaultPrevented()) return
-
- this.isShown = true
-
- this.escape()
-
- this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
-
- this.backdrop(function () {
- var transition = $.support.transition && that.$element.hasClass('fade')
-
- if (!that.$element.parent().length) {
- that.$element.appendTo(document.body) // don't move modals dom position
- }
-
- that.$element
- .show()
- .scrollTop(0)
-
- if (transition) {
- that.$element[0].offsetWidth // force reflow
- }
-
- that.$element
- .addClass('in')
- .attr('aria-hidden', false)
-
- that.enforceFocus()
-
- var e = $.Event('shown.bs.modal', {relatedTarget: _relatedTarget})
-
- transition ?
- that.$element.find('.modal-dialog') // wait for modal to slide in
- .one($.support.transition.end, function () {
- that.$element.focus().trigger(e)
- })
- .emulateTransitionEnd(300) :
- that.$element.focus().trigger(e)
- })
- }
-
- Modal.prototype.hide = function (e) {
- if (e) e.preventDefault()
-
- e = $.Event('hide.bs.modal')
-
- this.$element.trigger(e)
-
- if (!this.isShown || e.isDefaultPrevented()) return
-
- this.isShown = false
-
- this.escape()
-
- $(document).off('focusin.bs.modal')
-
- this.$element
- .removeClass('in')
- .attr('aria-hidden', true)
- .off('click.dismiss.bs.modal')
-
- $.support.transition && this.$element.hasClass('fade') ?
- this.$element
- .one($.support.transition.end, $.proxy(this.hideModal, this))
- .emulateTransitionEnd(300) :
- this.hideModal()
- }
-
- Modal.prototype.enforceFocus = function () {
- $(document)
- .off('focusin.bs.modal') // guard against infinite focus loop
- .on('focusin.bs.modal', $.proxy(function (e) {
- if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
- this.$element.focus()
- }
- }, this))
- }
-
- Modal.prototype.escape = function () {
- if (this.isShown && this.options.keyboard) {
- this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
- e.which == 27 && this.hide()
- }, this))
- } else if (!this.isShown) {
- this.$element.off('keyup.dismiss.bs.modal')
- }
- }
-
- Modal.prototype.hideModal = function () {
- var that = this
- this.$element.hide()
- this.backdrop(function () {
- that.removeBackdrop()
- that.$element.trigger('hidden.bs.modal')
- })
- }
-
- Modal.prototype.removeBackdrop = function () {
- this.$backdrop && this.$backdrop.remove()
- this.$backdrop = null
- }
-
- Modal.prototype.backdrop = function (callback) {
- var animate = this.$element.hasClass('fade') ? 'fade' : ''
-
- if (this.isShown && this.options.backdrop) {
- var doAnimate = $.support.transition && animate
-
- this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
- .appendTo(document.body)
-
- this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
- if (e.target !== e.currentTarget) return
- this.options.backdrop == 'static'
- ? this.$element[0].focus.call(this.$element[0])
- : this.hide.call(this)
- }, this))
-
- if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
-
- this.$backdrop.addClass('in')
-
- if (!callback) return
-
- doAnimate ?
- this.$backdrop
- .one($.support.transition.end, callback)
- .emulateTransitionEnd(150) :
- callback()
-
- } else if (!this.isShown && this.$backdrop) {
- this.$backdrop.removeClass('in')
-
- $.support.transition && this.$element.hasClass('fade') ?
- this.$backdrop
- .one($.support.transition.end, callback)
- .emulateTransitionEnd(150) :
- callback()
-
- } else if (callback) {
- callback()
- }
- }
-
-
- // MODAL PLUGIN DEFINITION
- // =======================
-
- var old = $.fn.modal
-
- $.fn.modal = function (option, _relatedTarget) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.modal')
- var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
-
- if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
- if (typeof option == 'string') data[option](_relatedTarget)
- else if (options.show) data.show(_relatedTarget)
- })
- }
-
- $.fn.modal.Constructor = Modal
-
-
- // MODAL NO CONFLICT
- // =================
-
- $.fn.modal.noConflict = function () {
- $.fn.modal = old
- return this
- }
-
-
- // MODAL DATA-API
- // ==============
-
- $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
- var $this = $(this)
- var href = $this.attr('href')
- var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
- var option = $target.data('bs.modal') ? 'toggle' : $.extend({remote: !/#/.test(href) && href}, $target.data(), $this.data())
-
- if ($this.is('a')) e.preventDefault()
-
- $target
- .modal(option, this)
- .one('hide', function () {
- $this.is(':visible') && $this.focus()
- })
- })
-
- $(document)
- .on('show.bs.modal', '.modal', function () {
- $(document.body).addClass('modal-open')
- })
- .on('hidden.bs.modal', '.modal', function () {
- $(document.body).removeClass('modal-open')
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: tooltip.js v3.1.1
- * http://getbootstrap.com/javascript/#tooltip
- * Inspired by the original jQuery.tipsy by Jason Frame
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // TOOLTIP PUBLIC CLASS DEFINITION
- // ===============================
-
- var Tooltip = function (element, options) {
- this.type =
- this.options =
- this.enabled =
- this.timeout =
- this.hoverState =
- this.$element = null
-
- this.init('tooltip', element, options)
- }
-
- Tooltip.DEFAULTS = {
- animation: true,
- placement: 'top',
- selector: false,
- template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
- trigger: 'hover focus',
- title: '',
- delay: 0,
- html: false,
- container: false
- }
-
- Tooltip.prototype.init = function (type, element, options) {
- this.enabled = true
- this.type = type
- this.$element = $(element)
- this.options = this.getOptions(options)
-
- var triggers = this.options.trigger.split(' ')
-
- for (var i = triggers.length; i--;) {
- var trigger = triggers[i]
-
- if (trigger == 'click') {
- this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
- } else if (trigger != 'manual') {
- var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
- var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
-
- this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
- this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
- }
- }
-
- this.options.selector ?
- (this._options = $.extend({}, this.options, {trigger: 'manual', selector: ''})) :
- this.fixTitle()
- }
-
- Tooltip.prototype.getDefaults = function () {
- return Tooltip.DEFAULTS
- }
-
- Tooltip.prototype.getOptions = function (options) {
- options = $.extend({}, this.getDefaults(), this.$element.data(), options)
-
- if (options.delay && typeof options.delay == 'number') {
- options.delay = {
- show: options.delay,
- hide: options.delay
- }
- }
-
- return options
- }
-
- Tooltip.prototype.getDelegateOptions = function () {
- var options = {}
- var defaults = this.getDefaults()
-
- this._options && $.each(this._options, function (key, value) {
- if (defaults[key] != value) options[key] = value
- })
-
- return options
- }
-
- Tooltip.prototype.enter = function (obj) {
- var self = obj instanceof this.constructor ?
- obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
-
- clearTimeout(self.timeout)
-
- self.hoverState = 'in'
-
- if (!self.options.delay || !self.options.delay.show) return self.show()
-
- self.timeout = setTimeout(function () {
- if (self.hoverState == 'in') self.show()
- }, self.options.delay.show)
- }
-
- Tooltip.prototype.leave = function (obj) {
- var self = obj instanceof this.constructor ?
- obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
-
- clearTimeout(self.timeout)
-
- self.hoverState = 'out'
-
- if (!self.options.delay || !self.options.delay.hide) return self.hide()
-
- self.timeout = setTimeout(function () {
- if (self.hoverState == 'out') self.hide()
- }, self.options.delay.hide)
- }
-
- Tooltip.prototype.show = function () {
- var e = $.Event('show.bs.' + this.type)
-
- if (this.hasContent() && this.enabled) {
- this.$element.trigger(e)
-
- if (e.isDefaultPrevented()) return
- var that = this;
-
- var $tip = this.tip()
-
- this.setContent()
-
- if (this.options.animation) $tip.addClass('fade')
-
- var placement = typeof this.options.placement == 'function' ?
- this.options.placement.call(this, $tip[0], this.$element[0]) :
- this.options.placement
-
- var autoToken = /\s?auto?\s?/i
- var autoPlace = autoToken.test(placement)
- if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
-
- $tip
- .detach()
- .css({top: 0, left: 0, display: 'block'})
- .addClass(placement)
-
- this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
-
- var pos = this.getPosition()
- var actualWidth = $tip[0].offsetWidth
- var actualHeight = $tip[0].offsetHeight
-
- if (autoPlace) {
- var $parent = this.$element.parent()
-
- var orgPlacement = placement
- var docScroll = document.documentElement.scrollTop || document.body.scrollTop
- var parentWidth = this.options.container == 'body' ? window.innerWidth : $parent.outerWidth()
- var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()
- var parentLeft = this.options.container == 'body' ? 0 : $parent.offset().left
-
- placement = placement == 'bottom' && pos.top + pos.height + actualHeight - docScroll > parentHeight ? 'top' :
- placement == 'top' && pos.top - docScroll - actualHeight < 0 ? 'bottom' :
- placement == 'right' && pos.right + actualWidth > parentWidth ? 'left' :
- placement == 'left' && pos.left - actualWidth < parentLeft ? 'right' :
- placement
-
- $tip
- .removeClass(orgPlacement)
- .addClass(placement)
- }
-
- var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
-
- this.applyPlacement(calculatedOffset, placement)
- this.hoverState = null
-
- var complete = function () {
- that.$element.trigger('shown.bs.' + that.type)
- }
-
- $.support.transition && this.$tip.hasClass('fade') ?
- $tip
- .one($.support.transition.end, complete)
- .emulateTransitionEnd(150) :
- complete()
- }
- }
-
- Tooltip.prototype.applyPlacement = function (offset, placement) {
- var replace
- var $tip = this.tip()
- var width = $tip[0].offsetWidth
- var height = $tip[0].offsetHeight
-
- // manually read margins because getBoundingClientRect includes difference
- var marginTop = parseInt($tip.css('margin-top'), 10)
- var marginLeft = parseInt($tip.css('margin-left'), 10)
-
- // we must check for NaN for ie 8/9
- if (isNaN(marginTop)) marginTop = 0
- if (isNaN(marginLeft)) marginLeft = 0
-
- offset.top = offset.top + marginTop
- offset.left = offset.left + marginLeft
-
- // $.fn.offset doesn't round pixel values
- // so we use setOffset directly with our own function B-0
- $.offset.setOffset($tip[0], $.extend({
- using: function (props) {
- $tip.css({
- top: Math.round(props.top),
- left: Math.round(props.left)
- })
- }
- }, offset), 0)
-
- $tip.addClass('in')
-
- // check to see if placing tip in new offset caused the tip to resize itself
- var actualWidth = $tip[0].offsetWidth
- var actualHeight = $tip[0].offsetHeight
-
- if (placement == 'top' && actualHeight != height) {
- replace = true
- offset.top = offset.top + height - actualHeight
- }
-
- if (/bottom|top/.test(placement)) {
- var delta = 0
-
- if (offset.left < 0) {
- delta = offset.left * -2
- offset.left = 0
-
- $tip.offset(offset)
-
- actualWidth = $tip[0].offsetWidth
- actualHeight = $tip[0].offsetHeight
- }
-
- this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')
- } else {
- this.replaceArrow(actualHeight - height, actualHeight, 'top')
- }
-
- if (replace) $tip.offset(offset)
- }
-
- Tooltip.prototype.replaceArrow = function (delta, dimension, position) {
- this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + '%') : '')
- }
-
- Tooltip.prototype.setContent = function () {
- var $tip = this.tip()
- var title = this.getTitle()
-
- $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
- $tip.removeClass('fade in top bottom left right')
- }
-
- Tooltip.prototype.hide = function () {
- var that = this
- var $tip = this.tip()
- var e = $.Event('hide.bs.' + this.type)
-
- function complete() {
- if (that.hoverState != 'in') $tip.detach()
- that.$element.trigger('hidden.bs.' + that.type)
- }
-
- this.$element.trigger(e)
-
- if (e.isDefaultPrevented()) return
-
- $tip.removeClass('in')
-
- $.support.transition && this.$tip.hasClass('fade') ?
- $tip
- .one($.support.transition.end, complete)
- .emulateTransitionEnd(150) :
- complete()
-
- this.hoverState = null
-
- return this
- }
-
- Tooltip.prototype.fixTitle = function () {
- var $e = this.$element
- if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
- $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
- }
- }
-
- Tooltip.prototype.hasContent = function () {
- return this.getTitle()
- }
-
- Tooltip.prototype.getPosition = function () {
- var el = this.$element[0]
- return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
- width: el.offsetWidth,
- height: el.offsetHeight
- }, this.$element.offset())
- }
-
- Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
- return placement == 'bottom' ? {top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2} :
- placement == 'top' ? {top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2} :
- placement == 'left' ? {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth} :
- /* placement == 'right' */ {
- top: pos.top + pos.height / 2 - actualHeight / 2,
- left: pos.left + pos.width
- }
- }
-
- Tooltip.prototype.getTitle = function () {
- var title
- var $e = this.$element
- var o = this.options
-
- title = $e.attr('data-original-title')
- || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
-
- return title
- }
-
- Tooltip.prototype.tip = function () {
- return this.$tip = this.$tip || $(this.options.template)
- }
-
- Tooltip.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')
- }
-
- Tooltip.prototype.validate = function () {
- if (!this.$element[0].parentNode) {
- this.hide()
- this.$element = null
- this.options = null
- }
- }
-
- Tooltip.prototype.enable = function () {
- this.enabled = true
- }
-
- Tooltip.prototype.disable = function () {
- this.enabled = false
- }
-
- Tooltip.prototype.toggleEnabled = function () {
- this.enabled = !this.enabled
- }
-
- Tooltip.prototype.toggle = function (e) {
- var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this
- self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
- }
-
- Tooltip.prototype.destroy = function () {
- clearTimeout(this.timeout)
- this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
- }
-
-
- // TOOLTIP PLUGIN DEFINITION
- // =========================
-
- var old = $.fn.tooltip
-
- $.fn.tooltip = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.tooltip')
- var options = typeof option == 'object' && option
-
- if (!data && option == 'destroy') return
- if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.tooltip.Constructor = Tooltip
-
-
- // TOOLTIP NO CONFLICT
- // ===================
-
- $.fn.tooltip.noConflict = function () {
- $.fn.tooltip = old
- return this
- }
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: popover.js v3.1.1
- * http://getbootstrap.com/javascript/#popovers
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // POPOVER PUBLIC CLASS DEFINITION
- // ===============================
-
- var Popover = function (element, options) {
- this.init('popover', element, options)
- }
-
- if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
-
- Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
- placement: 'right',
- trigger: 'click',
- content: '',
- template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
- })
-
-
- // NOTE: POPOVER EXTENDS tooltip.js
- // ================================
-
- Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
-
- Popover.prototype.constructor = Popover
-
- Popover.prototype.getDefaults = function () {
- return Popover.DEFAULTS
- }
-
- Popover.prototype.setContent = function () {
- var $tip = this.tip()
- var title = this.getTitle()
- var content = this.getContent()
-
- $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
- $tip.find('.popover-content')[ // we use append for html objects to maintain js events
- this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
- ](content)
-
- $tip.removeClass('fade top bottom left right in')
-
- // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
- // this manually by checking the contents.
- if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
- }
-
- Popover.prototype.hasContent = function () {
- return this.getTitle() || this.getContent()
- }
-
- Popover.prototype.getContent = function () {
- var $e = this.$element
- var o = this.options
-
- return $e.attr('data-content')
- || (typeof o.content == 'function' ?
- o.content.call($e[0]) :
- o.content)
- }
-
- Popover.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find('.arrow')
- }
-
- Popover.prototype.tip = function () {
- if (!this.$tip) this.$tip = $(this.options.template)
- return this.$tip
- }
-
-
- // POPOVER PLUGIN DEFINITION
- // =========================
-
- var old = $.fn.popover
-
- $.fn.popover = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.popover')
- var options = typeof option == 'object' && option
-
- if (!data && option == 'destroy') return
- if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.popover.Constructor = Popover
-
-
- // POPOVER NO CONFLICT
- // ===================
-
- $.fn.popover.noConflict = function () {
- $.fn.popover = old
- return this
- }
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: scrollspy.js v3.1.1
- * http://getbootstrap.com/javascript/#scrollspy
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // SCROLLSPY CLASS DEFINITION
- // ==========================
-
- function ScrollSpy(element, options) {
- var href
- var process = $.proxy(this.process, this)
-
- this.$element = $(element).is('body') ? $(window) : $(element)
- this.$body = $('body')
- this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process)
- this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
- this.selector = (this.options.target
- || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
- || '') + ' .nav li > a'
- this.offsets = $([])
- this.targets = $([])
- this.activeTarget = null
-
- this.refresh()
- this.process()
- }
-
- ScrollSpy.DEFAULTS = {
- offset: 10
- }
-
- ScrollSpy.prototype.refresh = function () {
- var offsetMethod = this.$element[0] == window ? 'offset' : 'position'
-
- this.offsets = $([])
- this.targets = $([])
-
- var self = this
- var $targets = this.$body
- .find(this.selector)
- .map(function () {
- var $el = $(this)
- var href = $el.data('target') || $el.attr('href')
- var $href = /^#./.test(href) && $(href)
-
- return ($href
- && $href.length
- && $href.is(':visible')
- && [[$href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href]]) || null
- })
- .sort(function (a, b) {
- return a[0] - b[0]
- })
- .each(function () {
- self.offsets.push(this[0])
- self.targets.push(this[1])
- })
- }
-
- ScrollSpy.prototype.process = function () {
- var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
- var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight
- var maxScroll = scrollHeight - this.$scrollElement.height()
- var offsets = this.offsets
- var targets = this.targets
- var activeTarget = this.activeTarget
- var i
-
- if (scrollTop >= maxScroll) {
- return activeTarget != (i = targets.last()[0]) && this.activate(i)
- }
-
- if (activeTarget && scrollTop <= offsets[0]) {
- return activeTarget != (i = targets[0]) && this.activate(i)
- }
-
- for (i = offsets.length; i--;) {
- activeTarget != targets[i]
- && scrollTop >= offsets[i]
- && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
- && this.activate(targets[i])
- }
- }
-
- ScrollSpy.prototype.activate = function (target) {
- this.activeTarget = target
-
- $(this.selector)
- .parentsUntil(this.options.target, '.active')
- .removeClass('active')
-
- var selector = this.selector +
- '[data-target="' + target + '"],' +
- this.selector + '[href="' + target + '"]'
-
- var active = $(selector)
- .parents('li')
- .addClass('active')
-
- if (active.parent('.dropdown-menu').length) {
- active = active
- .closest('li.dropdown')
- .addClass('active')
- }
-
- active.trigger('activate.bs.scrollspy')
- }
-
-
- // SCROLLSPY PLUGIN DEFINITION
- // ===========================
-
- var old = $.fn.scrollspy
-
- $.fn.scrollspy = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.scrollspy')
- var options = typeof option == 'object' && option
-
- if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.scrollspy.Constructor = ScrollSpy
-
-
- // SCROLLSPY NO CONFLICT
- // =====================
-
- $.fn.scrollspy.noConflict = function () {
- $.fn.scrollspy = old
- return this
- }
-
-
- // SCROLLSPY DATA-API
- // ==================
-
- $(window).on('load', function () {
- $('[data-spy="scroll"]').each(function () {
- var $spy = $(this)
- $spy.scrollspy($spy.data())
- })
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: tab.js v3.1.1
- * http://getbootstrap.com/javascript/#tabs
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // TAB CLASS DEFINITION
- // ====================
-
- var Tab = function (element) {
- this.element = $(element)
- }
-
- Tab.prototype.show = function () {
- var $this = this.element
- var $ul = $this.closest('ul:not(.dropdown-menu)')
- var selector = $this.data('target')
-
- if (!selector) {
- selector = $this.attr('href')
- selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
- }
-
- if ($this.parent('li').hasClass('active')) return
-
- var previous = $ul.find('.active:last a')[0]
- var e = $.Event('show.bs.tab', {
- relatedTarget: previous
- })
-
- $this.trigger(e)
-
- if (e.isDefaultPrevented()) return
-
- var $target = $(selector)
-
- this.activate($this.parent('li'), $ul)
- this.activate($target, $target.parent(), function () {
- $this.trigger({
- type: 'shown.bs.tab',
- relatedTarget: previous
- })
- })
- }
-
- Tab.prototype.activate = function (element, container, callback) {
- var $active = container.find('> .active')
- var transition = callback
- && $.support.transition
- && $active.hasClass('fade')
-
- function next() {
- $active
- .removeClass('active')
- .find('> .dropdown-menu > .active')
- .removeClass('active')
-
- element.addClass('active')
-
- if (transition) {
- element[0].offsetWidth // reflow for transition
- element.addClass('in')
- } else {
- element.removeClass('fade')
- }
-
- if (element.parent('.dropdown-menu')) {
- element.closest('li.dropdown').addClass('active')
- }
-
- callback && callback()
- }
-
- transition ?
- $active
- .one($.support.transition.end, next)
- .emulateTransitionEnd(150) :
- next()
-
- $active.removeClass('in')
- }
-
-
- // TAB PLUGIN DEFINITION
- // =====================
-
- var old = $.fn.tab
-
- $.fn.tab = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.tab')
-
- if (!data) $this.data('bs.tab', (data = new Tab(this)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.tab.Constructor = Tab
-
-
- // TAB NO CONFLICT
- // ===============
-
- $.fn.tab.noConflict = function () {
- $.fn.tab = old
- return this
- }
-
-
- // TAB DATA-API
- // ============
-
- $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
- e.preventDefault()
- $(this).tab('show')
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: affix.js v3.1.1
- * http://getbootstrap.com/javascript/#affix
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // AFFIX CLASS DEFINITION
- // ======================
-
- var Affix = function (element, options) {
- this.options = $.extend({}, Affix.DEFAULTS, options)
- this.$window = $(window)
- .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
- .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
-
- this.$element = $(element)
- this.affixed =
- this.unpin =
- this.pinnedOffset = null
-
- this.checkPosition()
- }
-
- Affix.RESET = 'affix affix-top affix-bottom'
-
- Affix.DEFAULTS = {
- offset: 0
- }
-
- Affix.prototype.getPinnedOffset = function () {
- if (this.pinnedOffset) return this.pinnedOffset
- this.$element.removeClass(Affix.RESET).addClass('affix')
- var scrollTop = this.$window.scrollTop()
- var position = this.$element.offset()
- return (this.pinnedOffset = position.top - scrollTop)
- }
-
- Affix.prototype.checkPositionWithEventLoop = function () {
- setTimeout($.proxy(this.checkPosition, this), 1)
- }
-
- Affix.prototype.checkPosition = function () {
- if (!this.$element.is(':visible')) return
-
- var scrollHeight = $(document).height()
- var scrollTop = this.$window.scrollTop()
- var position = this.$element.offset()
- var offset = this.options.offset
- var offsetTop = offset.top
- var offsetBottom = offset.bottom
-
- if (this.affixed == 'top') position.top += scrollTop
-
- if (typeof offset != 'object') offsetBottom = offsetTop = offset
- if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
- if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
-
- var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
- offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
- offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
-
- if (this.affixed === affix) return
- if (this.unpin) this.$element.css('top', '')
-
- var affixType = 'affix' + (affix ? '-' + affix : '')
- var e = $.Event(affixType + '.bs.affix')
-
- this.$element.trigger(e)
-
- if (e.isDefaultPrevented()) return
-
- this.affixed = affix
- this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
-
- this.$element
- .removeClass(Affix.RESET)
- .addClass(affixType)
- .trigger($.Event(affixType.replace('affix', 'affixed')))
-
- if (affix == 'bottom') {
- this.$element.offset({top: scrollHeight - offsetBottom - this.$element.height()})
- }
- }
-
-
- // AFFIX PLUGIN DEFINITION
- // =======================
-
- var old = $.fn.affix
-
- $.fn.affix = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.affix')
- var options = typeof option == 'object' && option
-
- if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.affix.Constructor = Affix
-
-
- // AFFIX NO CONFLICT
- // =================
-
- $.fn.affix.noConflict = function () {
- $.fn.affix = old
- return this
- }
-
-
- // AFFIX DATA-API
- // ==============
-
- $(window).on('load', function () {
- $('[data-spy="affix"]').each(function () {
- var $spy = $(this)
- var data = $spy.data()
-
- data.offset = data.offset || {}
-
- if (data.offsetBottom) data.offset.bottom = data.offsetBottom
- if (data.offsetTop) data.offset.top = data.offsetTop
-
- $spy.affix(data)
- })
- })
-
-}(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/js/bootstrap.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/js/bootstrap.min.js
deleted file mode 100644
index 4d171b85..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/js/bootstrap.min.js
+++ /dev/null
@@ -1,619 +0,0 @@
-/*!
- * Bootstrap v3.1.1 (http://getbootstrap.com)
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-if ("undefined" == typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");
-+function (a) {
- "use strict";
- function b() {
- var a = document.createElement("bootstrap"), b = {
- WebkitTransition: "webkitTransitionEnd",
- MozTransition: "transitionend",
- OTransition: "oTransitionEnd otransitionend",
- transition: "transitionend"
- };
- for (var c in b)if (void 0 !== a.style[c])return {end: b[c]};
- return !1
- }
-
- a.fn.emulateTransitionEnd = function (b) {
- var c = !1, d = this;
- a(this).one(a.support.transition.end, function () {
- c = !0
- });
- var e = function () {
- c || a(d).trigger(a.support.transition.end)
- };
- return setTimeout(e, b), this
- }, a(function () {
- a.support.transition = b()
- })
-}(jQuery), +function (a) {
- "use strict";
- var b = '[data-dismiss="alert"]', c = function (c) {
- a(c).on("click", b, this.close)
- };
- c.prototype.close = function (b) {
- function c() {
- f.trigger("closed.bs.alert").remove()
- }
-
- var d = a(this), e = d.attr("data-target");
- e || (e = d.attr("href"), e = e && e.replace(/.*(?=#[^\s]*$)/, ""));
- var f = a(e);
- b && b.preventDefault(), f.length || (f = d.hasClass("alert") ? d : d.parent()), f.trigger(b = a.Event("close.bs.alert")), b.isDefaultPrevented() || (f.removeClass("in"), a.support.transition && f.hasClass("fade") ? f.one(a.support.transition.end, c).emulateTransitionEnd(150) : c())
- };
- var d = a.fn.alert;
- a.fn.alert = function (b) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.alert");
- e || d.data("bs.alert", e = new c(this)), "string" == typeof b && e[b].call(d)
- })
- }, a.fn.alert.Constructor = c, a.fn.alert.noConflict = function () {
- return a.fn.alert = d, this
- }, a(document).on("click.bs.alert.data-api", b, c.prototype.close)
-}(jQuery), +function (a) {
- "use strict";
- var b = function (c, d) {
- this.$element = a(c), this.options = a.extend({}, b.DEFAULTS, d), this.isLoading = !1
- };
- b.DEFAULTS = {loadingText: "loading..."}, b.prototype.setState = function (b) {
- var c = "disabled", d = this.$element, e = d.is("input") ? "val" : "html", f = d.data();
- b += "Text", f.resetText || d.data("resetText", d[e]()), d[e](f[b] || this.options[b]), setTimeout(a.proxy(function () {
- "loadingText" == b ? (this.isLoading = !0, d.addClass(c).attr(c, c)) : this.isLoading && (this.isLoading = !1, d.removeClass(c).removeAttr(c))
- }, this), 0)
- }, b.prototype.toggle = function () {
- var a = !0, b = this.$element.closest('[data-toggle="buttons"]');
- if (b.length) {
- var c = this.$element.find("input");
- "radio" == c.prop("type") && (c.prop("checked") && this.$element.hasClass("active") ? a = !1 : b.find(".active").removeClass("active")), a && c.prop("checked", !this.$element.hasClass("active")).trigger("change")
- }
- a && this.$element.toggleClass("active")
- };
- var c = a.fn.button;
- a.fn.button = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.button"), f = "object" == typeof c && c;
- e || d.data("bs.button", e = new b(this, f)), "toggle" == c ? e.toggle() : c && e.setState(c)
- })
- }, a.fn.button.Constructor = b, a.fn.button.noConflict = function () {
- return a.fn.button = c, this
- }, a(document).on("click.bs.button.data-api", "[data-toggle^=button]", function (b) {
- var c = a(b.target);
- c.hasClass("btn") || (c = c.closest(".btn")), c.button("toggle"), b.preventDefault()
- })
-}(jQuery), +function (a) {
- "use strict";
- var b = function (b, c) {
- this.$element = a(b), this.$indicators = this.$element.find(".carousel-indicators"), this.options = c, this.paused = this.sliding = this.interval = this.$active = this.$items = null, "hover" == this.options.pause && this.$element.on("mouseenter", a.proxy(this.pause, this)).on("mouseleave", a.proxy(this.cycle, this))
- };
- b.DEFAULTS = {interval: 5e3, pause: "hover", wrap: !0}, b.prototype.cycle = function (b) {
- return b || (this.paused = !1), this.interval && clearInterval(this.interval), this.options.interval && !this.paused && (this.interval = setInterval(a.proxy(this.next, this), this.options.interval)), this
- }, b.prototype.getActiveIndex = function () {
- return this.$active = this.$element.find(".item.active"), this.$items = this.$active.parent().children(), this.$items.index(this.$active)
- }, b.prototype.to = function (b) {
- var c = this, d = this.getActiveIndex();
- return b > this.$items.length - 1 || 0 > b ? void 0 : this.sliding ? this.$element.one("slid.bs.carousel", function () {
- c.to(b)
- }) : d == b ? this.pause().cycle() : this.slide(b > d ? "next" : "prev", a(this.$items[b]))
- }, b.prototype.pause = function (b) {
- return b || (this.paused = !0), this.$element.find(".next, .prev").length && a.support.transition && (this.$element.trigger(a.support.transition.end), this.cycle(!0)), this.interval = clearInterval(this.interval), this
- }, b.prototype.next = function () {
- return this.sliding ? void 0 : this.slide("next")
- }, b.prototype.prev = function () {
- return this.sliding ? void 0 : this.slide("prev")
- }, b.prototype.slide = function (b, c) {
- var d = this.$element.find(".item.active"), e = c || d[b](), f = this.interval, g = "next" == b ? "left" : "right", h = "next" == b ? "first" : "last", i = this;
- if (!e.length) {
- if (!this.options.wrap)return;
- e = this.$element.find(".item")[h]()
- }
- if (e.hasClass("active"))return this.sliding = !1;
- var j = a.Event("slide.bs.carousel", {relatedTarget: e[0], direction: g});
- return this.$element.trigger(j), j.isDefaultPrevented() ? void 0 : (this.sliding = !0, f && this.pause(), this.$indicators.length && (this.$indicators.find(".active").removeClass("active"), this.$element.one("slid.bs.carousel", function () {
- var b = a(i.$indicators.children()[i.getActiveIndex()]);
- b && b.addClass("active")
- })), a.support.transition && this.$element.hasClass("slide") ? (e.addClass(b), e[0].offsetWidth, d.addClass(g), e.addClass(g), d.one(a.support.transition.end, function () {
- e.removeClass([b, g].join(" ")).addClass("active"), d.removeClass(["active", g].join(" ")), i.sliding = !1, setTimeout(function () {
- i.$element.trigger("slid.bs.carousel")
- }, 0)
- }).emulateTransitionEnd(1e3 * d.css("transition-duration").slice(0, -1))) : (d.removeClass("active"), e.addClass("active"), this.sliding = !1, this.$element.trigger("slid.bs.carousel")), f && this.cycle(), this)
- };
- var c = a.fn.carousel;
- a.fn.carousel = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.carousel"), f = a.extend({}, b.DEFAULTS, d.data(), "object" == typeof c && c), g = "string" == typeof c ? c : f.slide;
- e || d.data("bs.carousel", e = new b(this, f)), "number" == typeof c ? e.to(c) : g ? e[g]() : f.interval && e.pause().cycle()
- })
- }, a.fn.carousel.Constructor = b, a.fn.carousel.noConflict = function () {
- return a.fn.carousel = c, this
- }, a(document).on("click.bs.carousel.data-api", "[data-slide], [data-slide-to]", function (b) {
- var c, d = a(this), e = a(d.attr("data-target") || (c = d.attr("href")) && c.replace(/.*(?=#[^\s]+$)/, "")), f = a.extend({}, e.data(), d.data()), g = d.attr("data-slide-to");
- g && (f.interval = !1), e.carousel(f), (g = d.attr("data-slide-to")) && e.data("bs.carousel").to(g), b.preventDefault()
- }), a(window).on("load", function () {
- a('[data-ride="carousel"]').each(function () {
- var b = a(this);
- b.carousel(b.data())
- })
- })
-}(jQuery), +function (a) {
- "use strict";
- var b = function (c, d) {
- this.$element = a(c), this.options = a.extend({}, b.DEFAULTS, d), this.transitioning = null, this.options.parent && (this.$parent = a(this.options.parent)), this.options.toggle && this.toggle()
- };
- b.DEFAULTS = {toggle: !0}, b.prototype.dimension = function () {
- var a = this.$element.hasClass("width");
- return a ? "width" : "height"
- }, b.prototype.show = function () {
- if (!this.transitioning && !this.$element.hasClass("in")) {
- var b = a.Event("show.bs.collapse");
- if (this.$element.trigger(b), !b.isDefaultPrevented()) {
- var c = this.$parent && this.$parent.find("> .panel > .in");
- if (c && c.length) {
- var d = c.data("bs.collapse");
- if (d && d.transitioning)return;
- c.collapse("hide"), d || c.data("bs.collapse", null)
- }
- var e = this.dimension();
- this.$element.removeClass("collapse").addClass("collapsing")[e](0), this.transitioning = 1;
- var f = function () {
- this.$element.removeClass("collapsing").addClass("collapse in")[e]("auto"), this.transitioning = 0, this.$element.trigger("shown.bs.collapse")
- };
- if (!a.support.transition)return f.call(this);
- var g = a.camelCase(["scroll", e].join("-"));
- this.$element.one(a.support.transition.end, a.proxy(f, this)).emulateTransitionEnd(350)[e](this.$element[0][g])
- }
- }
- }, b.prototype.hide = function () {
- if (!this.transitioning && this.$element.hasClass("in")) {
- var b = a.Event("hide.bs.collapse");
- if (this.$element.trigger(b), !b.isDefaultPrevented()) {
- var c = this.dimension();
- this.$element[c](this.$element[c]())[0].offsetHeight, this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"), this.transitioning = 1;
- var d = function () {
- this.transitioning = 0, this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")
- };
- return a.support.transition ? void this.$element[c](0).one(a.support.transition.end, a.proxy(d, this)).emulateTransitionEnd(350) : d.call(this)
- }
- }
- }, b.prototype.toggle = function () {
- this[this.$element.hasClass("in") ? "hide" : "show"]()
- };
- var c = a.fn.collapse;
- a.fn.collapse = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.collapse"), f = a.extend({}, b.DEFAULTS, d.data(), "object" == typeof c && c);
- !e && f.toggle && "show" == c && (c = !c), e || d.data("bs.collapse", e = new b(this, f)), "string" == typeof c && e[c]()
- })
- }, a.fn.collapse.Constructor = b, a.fn.collapse.noConflict = function () {
- return a.fn.collapse = c, this
- }, a(document).on("click.bs.collapse.data-api", "[data-toggle=collapse]", function (b) {
- var c, d = a(this), e = d.attr("data-target") || b.preventDefault() || (c = d.attr("href")) && c.replace(/.*(?=#[^\s]+$)/, ""), f = a(e), g = f.data("bs.collapse"), h = g ? "toggle" : d.data(), i = d.attr("data-parent"), j = i && a(i);
- g && g.transitioning || (j && j.find('[data-toggle=collapse][data-parent="' + i + '"]').not(d).addClass("collapsed"), d[f.hasClass("in") ? "addClass" : "removeClass"]("collapsed")), f.collapse(h)
- })
-}(jQuery), +function (a) {
- "use strict";
- function b(b) {
- a(d).remove(), a(e).each(function () {
- var d = c(a(this)), e = {relatedTarget: this};
- d.hasClass("open") && (d.trigger(b = a.Event("hide.bs.dropdown", e)), b.isDefaultPrevented() || d.removeClass("open").trigger("hidden.bs.dropdown", e))
- })
- }
-
- function c(b) {
- var c = b.attr("data-target");
- c || (c = b.attr("href"), c = c && /#[A-Za-z]/.test(c) && c.replace(/.*(?=#[^\s]*$)/, ""));
- var d = c && a(c);
- return d && d.length ? d : b.parent()
- }
-
- var d = ".dropdown-backdrop", e = "[data-toggle=dropdown]", f = function (b) {
- a(b).on("click.bs.dropdown", this.toggle)
- };
- f.prototype.toggle = function (d) {
- var e = a(this);
- if (!e.is(".disabled, :disabled")) {
- var f = c(e), g = f.hasClass("open");
- if (b(), !g) {
- "ontouchstart"in document.documentElement && !f.closest(".navbar-nav").length && a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click", b);
- var h = {relatedTarget: this};
- if (f.trigger(d = a.Event("show.bs.dropdown", h)), d.isDefaultPrevented())return;
- f.toggleClass("open").trigger("shown.bs.dropdown", h), e.focus()
- }
- return !1
- }
- }, f.prototype.keydown = function (b) {
- if (/(38|40|27)/.test(b.keyCode)) {
- var d = a(this);
- if (b.preventDefault(), b.stopPropagation(), !d.is(".disabled, :disabled")) {
- var f = c(d), g = f.hasClass("open");
- if (!g || g && 27 == b.keyCode)return 27 == b.which && f.find(e).focus(), d.click();
- var h = " li:not(.divider):visible a", i = f.find("[role=menu]" + h + ", [role=listbox]" + h);
- if (i.length) {
- var j = i.index(i.filter(":focus"));
- 38 == b.keyCode && j > 0 && j--, 40 == b.keyCode && j < i.length - 1 && j++, ~j || (j = 0), i.eq(j).focus()
- }
- }
- }
- };
- var g = a.fn.dropdown;
- a.fn.dropdown = function (b) {
- return this.each(function () {
- var c = a(this), d = c.data("bs.dropdown");
- d || c.data("bs.dropdown", d = new f(this)), "string" == typeof b && d[b].call(c)
- })
- }, a.fn.dropdown.Constructor = f, a.fn.dropdown.noConflict = function () {
- return a.fn.dropdown = g, this
- }, a(document).on("click.bs.dropdown.data-api", b).on("click.bs.dropdown.data-api", ".dropdown form", function (a) {
- a.stopPropagation()
- }).on("click.bs.dropdown.data-api", e, f.prototype.toggle).on("keydown.bs.dropdown.data-api", e + ", [role=menu], [role=listbox]", f.prototype.keydown)
-}(jQuery), +function (a) {
- "use strict";
- var b = function (b, c) {
- this.options = c, this.$element = a(b), this.$backdrop = this.isShown = null, this.options.remote && this.$element.find(".modal-content").load(this.options.remote, a.proxy(function () {
- this.$element.trigger("loaded.bs.modal")
- }, this))
- };
- b.DEFAULTS = {backdrop: !0, keyboard: !0, show: !0}, b.prototype.toggle = function (a) {
- return this[this.isShown ? "hide" : "show"](a)
- }, b.prototype.show = function (b) {
- var c = this, d = a.Event("show.bs.modal", {relatedTarget: b});
- this.$element.trigger(d), this.isShown || d.isDefaultPrevented() || (this.isShown = !0, this.escape(), this.$element.on("click.dismiss.bs.modal", '[data-dismiss="modal"]', a.proxy(this.hide, this)), this.backdrop(function () {
- var d = a.support.transition && c.$element.hasClass("fade");
- c.$element.parent().length || c.$element.appendTo(document.body), c.$element.show().scrollTop(0), d && c.$element[0].offsetWidth, c.$element.addClass("in").attr("aria-hidden", !1), c.enforceFocus();
- var e = a.Event("shown.bs.modal", {relatedTarget: b});
- d ? c.$element.find(".modal-dialog").one(a.support.transition.end, function () {
- c.$element.focus().trigger(e)
- }).emulateTransitionEnd(300) : c.$element.focus().trigger(e)
- }))
- }, b.prototype.hide = function (b) {
- b && b.preventDefault(), b = a.Event("hide.bs.modal"), this.$element.trigger(b), this.isShown && !b.isDefaultPrevented() && (this.isShown = !1, this.escape(), a(document).off("focusin.bs.modal"), this.$element.removeClass("in").attr("aria-hidden", !0).off("click.dismiss.bs.modal"), a.support.transition && this.$element.hasClass("fade") ? this.$element.one(a.support.transition.end, a.proxy(this.hideModal, this)).emulateTransitionEnd(300) : this.hideModal())
- }, b.prototype.enforceFocus = function () {
- a(document).off("focusin.bs.modal").on("focusin.bs.modal", a.proxy(function (a) {
- this.$element[0] === a.target || this.$element.has(a.target).length || this.$element.focus()
- }, this))
- }, b.prototype.escape = function () {
- this.isShown && this.options.keyboard ? this.$element.on("keyup.dismiss.bs.modal", a.proxy(function (a) {
- 27 == a.which && this.hide()
- }, this)) : this.isShown || this.$element.off("keyup.dismiss.bs.modal")
- }, b.prototype.hideModal = function () {
- var a = this;
- this.$element.hide(), this.backdrop(function () {
- a.removeBackdrop(), a.$element.trigger("hidden.bs.modal")
- })
- }, b.prototype.removeBackdrop = function () {
- this.$backdrop && this.$backdrop.remove(), this.$backdrop = null
- }, b.prototype.backdrop = function (b) {
- var c = this.$element.hasClass("fade") ? "fade" : "";
- if (this.isShown && this.options.backdrop) {
- var d = a.support.transition && c;
- if (this.$backdrop = a('<div class="modal-backdrop ' + c + '" />').appendTo(document.body), this.$element.on("click.dismiss.bs.modal", a.proxy(function (a) {
- a.target === a.currentTarget && ("static" == this.options.backdrop ? this.$element[0].focus.call(this.$element[0]) : this.hide.call(this))
- }, this)), d && this.$backdrop[0].offsetWidth, this.$backdrop.addClass("in"), !b)return;
- d ? this.$backdrop.one(a.support.transition.end, b).emulateTransitionEnd(150) : b()
- } else!this.isShown && this.$backdrop ? (this.$backdrop.removeClass("in"), a.support.transition && this.$element.hasClass("fade") ? this.$backdrop.one(a.support.transition.end, b).emulateTransitionEnd(150) : b()) : b && b()
- };
- var c = a.fn.modal;
- a.fn.modal = function (c, d) {
- return this.each(function () {
- var e = a(this), f = e.data("bs.modal"), g = a.extend({}, b.DEFAULTS, e.data(), "object" == typeof c && c);
- f || e.data("bs.modal", f = new b(this, g)), "string" == typeof c ? f[c](d) : g.show && f.show(d)
- })
- }, a.fn.modal.Constructor = b, a.fn.modal.noConflict = function () {
- return a.fn.modal = c, this
- }, a(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function (b) {
- var c = a(this), d = c.attr("href"), e = a(c.attr("data-target") || d && d.replace(/.*(?=#[^\s]+$)/, "")), f = e.data("bs.modal") ? "toggle" : a.extend({remote: !/#/.test(d) && d}, e.data(), c.data());
- c.is("a") && b.preventDefault(), e.modal(f, this).one("hide", function () {
- c.is(":visible") && c.focus()
- })
- }), a(document).on("show.bs.modal", ".modal", function () {
- a(document.body).addClass("modal-open")
- }).on("hidden.bs.modal", ".modal", function () {
- a(document.body).removeClass("modal-open")
- })
-}(jQuery), +function (a) {
- "use strict";
- var b = function (a, b) {
- this.type = this.options = this.enabled = this.timeout = this.hoverState = this.$element = null, this.init("tooltip", a, b)
- };
- b.DEFAULTS = {
- animation: !0,
- placement: "top",
- selector: !1,
- template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
- trigger: "hover focus",
- title: "",
- delay: 0,
- html: !1,
- container: !1
- }, b.prototype.init = function (b, c, d) {
- this.enabled = !0, this.type = b, this.$element = a(c), this.options = this.getOptions(d);
- for (var e = this.options.trigger.split(" "), f = e.length; f--;) {
- var g = e[f];
- if ("click" == g)this.$element.on("click." + this.type, this.options.selector, a.proxy(this.toggle, this)); else if ("manual" != g) {
- var h = "hover" == g ? "mouseenter" : "focusin", i = "hover" == g ? "mouseleave" : "focusout";
- this.$element.on(h + "." + this.type, this.options.selector, a.proxy(this.enter, this)), this.$element.on(i + "." + this.type, this.options.selector, a.proxy(this.leave, this))
- }
- }
- this.options.selector ? this._options = a.extend({}, this.options, {
- trigger: "manual",
- selector: ""
- }) : this.fixTitle()
- }, b.prototype.getDefaults = function () {
- return b.DEFAULTS
- }, b.prototype.getOptions = function (b) {
- return b = a.extend({}, this.getDefaults(), this.$element.data(), b), b.delay && "number" == typeof b.delay && (b.delay = {
- show: b.delay,
- hide: b.delay
- }), b
- }, b.prototype.getDelegateOptions = function () {
- var b = {}, c = this.getDefaults();
- return this._options && a.each(this._options, function (a, d) {
- c[a] != d && (b[a] = d)
- }), b
- }, b.prototype.enter = function (b) {
- var c = b instanceof this.constructor ? b : a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type);
- return clearTimeout(c.timeout), c.hoverState = "in", c.options.delay && c.options.delay.show ? void(c.timeout = setTimeout(function () {
- "in" == c.hoverState && c.show()
- }, c.options.delay.show)) : c.show()
- }, b.prototype.leave = function (b) {
- var c = b instanceof this.constructor ? b : a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type);
- return clearTimeout(c.timeout), c.hoverState = "out", c.options.delay && c.options.delay.hide ? void(c.timeout = setTimeout(function () {
- "out" == c.hoverState && c.hide()
- }, c.options.delay.hide)) : c.hide()
- }, b.prototype.show = function () {
- var b = a.Event("show.bs." + this.type);
- if (this.hasContent() && this.enabled) {
- if (this.$element.trigger(b), b.isDefaultPrevented())return;
- var c = this, d = this.tip();
- this.setContent(), this.options.animation && d.addClass("fade");
- var e = "function" == typeof this.options.placement ? this.options.placement.call(this, d[0], this.$element[0]) : this.options.placement, f = /\s?auto?\s?/i, g = f.test(e);
- g && (e = e.replace(f, "") || "top"), d.detach().css({
- top: 0,
- left: 0,
- display: "block"
- }).addClass(e), this.options.container ? d.appendTo(this.options.container) : d.insertAfter(this.$element);
- var h = this.getPosition(), i = d[0].offsetWidth, j = d[0].offsetHeight;
- if (g) {
- var k = this.$element.parent(), l = e, m = document.documentElement.scrollTop || document.body.scrollTop, n = "body" == this.options.container ? window.innerWidth : k.outerWidth(), o = "body" == this.options.container ? window.innerHeight : k.outerHeight(), p = "body" == this.options.container ? 0 : k.offset().left;
- e = "bottom" == e && h.top + h.height + j - m > o ? "top" : "top" == e && h.top - m - j < 0 ? "bottom" : "right" == e && h.right + i > n ? "left" : "left" == e && h.left - i < p ? "right" : e, d.removeClass(l).addClass(e)
- }
- var q = this.getCalculatedOffset(e, h, i, j);
- this.applyPlacement(q, e), this.hoverState = null;
- var r = function () {
- c.$element.trigger("shown.bs." + c.type)
- };
- a.support.transition && this.$tip.hasClass("fade") ? d.one(a.support.transition.end, r).emulateTransitionEnd(150) : r()
- }
- }, b.prototype.applyPlacement = function (b, c) {
- var d, e = this.tip(), f = e[0].offsetWidth, g = e[0].offsetHeight, h = parseInt(e.css("margin-top"), 10), i = parseInt(e.css("margin-left"), 10);
- isNaN(h) && (h = 0), isNaN(i) && (i = 0), b.top = b.top + h, b.left = b.left + i, a.offset.setOffset(e[0], a.extend({
- using: function (a) {
- e.css({top: Math.round(a.top), left: Math.round(a.left)})
- }
- }, b), 0), e.addClass("in");
- var j = e[0].offsetWidth, k = e[0].offsetHeight;
- if ("top" == c && k != g && (d = !0, b.top = b.top + g - k), /bottom|top/.test(c)) {
- var l = 0;
- b.left < 0 && (l = -2 * b.left, b.left = 0, e.offset(b), j = e[0].offsetWidth, k = e[0].offsetHeight), this.replaceArrow(l - f + j, j, "left")
- } else this.replaceArrow(k - g, k, "top");
- d && e.offset(b)
- }, b.prototype.replaceArrow = function (a, b, c) {
- this.arrow().css(c, a ? 50 * (1 - a / b) + "%" : "")
- }, b.prototype.setContent = function () {
- var a = this.tip(), b = this.getTitle();
- a.find(".tooltip-inner")[this.options.html ? "html" : "text"](b), a.removeClass("fade in top bottom left right")
- }, b.prototype.hide = function () {
- function b() {
- "in" != c.hoverState && d.detach(), c.$element.trigger("hidden.bs." + c.type)
- }
-
- var c = this, d = this.tip(), e = a.Event("hide.bs." + this.type);
- return this.$element.trigger(e), e.isDefaultPrevented() ? void 0 : (d.removeClass("in"), a.support.transition && this.$tip.hasClass("fade") ? d.one(a.support.transition.end, b).emulateTransitionEnd(150) : b(), this.hoverState = null, this)
- }, b.prototype.fixTitle = function () {
- var a = this.$element;
- (a.attr("title") || "string" != typeof a.attr("data-original-title")) && a.attr("data-original-title", a.attr("title") || "").attr("title", "")
- }, b.prototype.hasContent = function () {
- return this.getTitle()
- }, b.prototype.getPosition = function () {
- var b = this.$element[0];
- return a.extend({}, "function" == typeof b.getBoundingClientRect ? b.getBoundingClientRect() : {
- width: b.offsetWidth,
- height: b.offsetHeight
- }, this.$element.offset())
- }, b.prototype.getCalculatedOffset = function (a, b, c, d) {
- return "bottom" == a ? {
- top: b.top + b.height,
- left: b.left + b.width / 2 - c / 2
- } : "top" == a ? {
- top: b.top - d,
- left: b.left + b.width / 2 - c / 2
- } : "left" == a ? {top: b.top + b.height / 2 - d / 2, left: b.left - c} : {
- top: b.top + b.height / 2 - d / 2,
- left: b.left + b.width
- }
- }, b.prototype.getTitle = function () {
- var a, b = this.$element, c = this.options;
- return a = b.attr("data-original-title") || ("function" == typeof c.title ? c.title.call(b[0]) : c.title)
- }, b.prototype.tip = function () {
- return this.$tip = this.$tip || a(this.options.template)
- }, b.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find(".tooltip-arrow")
- }, b.prototype.validate = function () {
- this.$element[0].parentNode || (this.hide(), this.$element = null, this.options = null)
- }, b.prototype.enable = function () {
- this.enabled = !0
- }, b.prototype.disable = function () {
- this.enabled = !1
- }, b.prototype.toggleEnabled = function () {
- this.enabled = !this.enabled
- }, b.prototype.toggle = function (b) {
- var c = b ? a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type) : this;
- c.tip().hasClass("in") ? c.leave(c) : c.enter(c)
- }, b.prototype.destroy = function () {
- clearTimeout(this.timeout), this.hide().$element.off("." + this.type).removeData("bs." + this.type)
- };
- var c = a.fn.tooltip;
- a.fn.tooltip = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.tooltip"), f = "object" == typeof c && c;
- (e || "destroy" != c) && (e || d.data("bs.tooltip", e = new b(this, f)), "string" == typeof c && e[c]())
- })
- }, a.fn.tooltip.Constructor = b, a.fn.tooltip.noConflict = function () {
- return a.fn.tooltip = c, this
- }
-}(jQuery), +function (a) {
- "use strict";
- var b = function (a, b) {
- this.init("popover", a, b)
- };
- if (!a.fn.tooltip)throw new Error("Popover requires tooltip.js");
- b.DEFAULTS = a.extend({}, a.fn.tooltip.Constructor.DEFAULTS, {
- placement: "right",
- trigger: "click",
- content: "",
- template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
- }), b.prototype = a.extend({}, a.fn.tooltip.Constructor.prototype), b.prototype.constructor = b, b.prototype.getDefaults = function () {
- return b.DEFAULTS
- }, b.prototype.setContent = function () {
- var a = this.tip(), b = this.getTitle(), c = this.getContent();
- a.find(".popover-title")[this.options.html ? "html" : "text"](b), a.find(".popover-content")[this.options.html ? "string" == typeof c ? "html" : "append" : "text"](c), a.removeClass("fade top bottom left right in"), a.find(".popover-title").html() || a.find(".popover-title").hide()
- }, b.prototype.hasContent = function () {
- return this.getTitle() || this.getContent()
- }, b.prototype.getContent = function () {
- var a = this.$element, b = this.options;
- return a.attr("data-content") || ("function" == typeof b.content ? b.content.call(a[0]) : b.content)
- }, b.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find(".arrow")
- }, b.prototype.tip = function () {
- return this.$tip || (this.$tip = a(this.options.template)), this.$tip
- };
- var c = a.fn.popover;
- a.fn.popover = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.popover"), f = "object" == typeof c && c;
- (e || "destroy" != c) && (e || d.data("bs.popover", e = new b(this, f)), "string" == typeof c && e[c]())
- })
- }, a.fn.popover.Constructor = b, a.fn.popover.noConflict = function () {
- return a.fn.popover = c, this
- }
-}(jQuery), +function (a) {
- "use strict";
- function b(c, d) {
- var e, f = a.proxy(this.process, this);
- this.$element = a(a(c).is("body") ? window : c), this.$body = a("body"), this.$scrollElement = this.$element.on("scroll.bs.scroll-spy.data-api", f), this.options = a.extend({}, b.DEFAULTS, d), this.selector = (this.options.target || (e = a(c).attr("href")) && e.replace(/.*(?=#[^\s]+$)/, "") || "") + " .nav li > a", this.offsets = a([]), this.targets = a([]), this.activeTarget = null, this.refresh(), this.process()
- }
-
- b.DEFAULTS = {offset: 10}, b.prototype.refresh = function () {
- var b = this.$element[0] == window ? "offset" : "position";
- this.offsets = a([]), this.targets = a([]);
- {
- var c = this;
- this.$body.find(this.selector).map(function () {
- var d = a(this), e = d.data("target") || d.attr("href"), f = /^#./.test(e) && a(e);
- return f && f.length && f.is(":visible") && [[f[b]().top + (!a.isWindow(c.$scrollElement.get(0)) && c.$scrollElement.scrollTop()), e]] || null
- }).sort(function (a, b) {
- return a[0] - b[0]
- }).each(function () {
- c.offsets.push(this[0]), c.targets.push(this[1])
- })
- }
- }, b.prototype.process = function () {
- var a, b = this.$scrollElement.scrollTop() + this.options.offset, c = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight, d = c - this.$scrollElement.height(), e = this.offsets, f = this.targets, g = this.activeTarget;
- if (b >= d)return g != (a = f.last()[0]) && this.activate(a);
- if (g && b <= e[0])return g != (a = f[0]) && this.activate(a);
- for (a = e.length; a--;)g != f[a] && b >= e[a] && (!e[a + 1] || b <= e[a + 1]) && this.activate(f[a])
- }, b.prototype.activate = function (b) {
- this.activeTarget = b, a(this.selector).parentsUntil(this.options.target, ".active").removeClass("active");
- var c = this.selector + '[data-target="' + b + '"],' + this.selector + '[href="' + b + '"]', d = a(c).parents("li").addClass("active");
- d.parent(".dropdown-menu").length && (d = d.closest("li.dropdown").addClass("active")), d.trigger("activate.bs.scrollspy")
- };
- var c = a.fn.scrollspy;
- a.fn.scrollspy = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.scrollspy"), f = "object" == typeof c && c;
- e || d.data("bs.scrollspy", e = new b(this, f)), "string" == typeof c && e[c]()
- })
- }, a.fn.scrollspy.Constructor = b, a.fn.scrollspy.noConflict = function () {
- return a.fn.scrollspy = c, this
- }, a(window).on("load", function () {
- a('[data-spy="scroll"]').each(function () {
- var b = a(this);
- b.scrollspy(b.data())
- })
- })
-}(jQuery), +function (a) {
- "use strict";
- var b = function (b) {
- this.element = a(b)
- };
- b.prototype.show = function () {
- var b = this.element, c = b.closest("ul:not(.dropdown-menu)"), d = b.data("target");
- if (d || (d = b.attr("href"), d = d && d.replace(/.*(?=#[^\s]*$)/, "")), !b.parent("li").hasClass("active")) {
- var e = c.find(".active:last a")[0], f = a.Event("show.bs.tab", {relatedTarget: e});
- if (b.trigger(f), !f.isDefaultPrevented()) {
- var g = a(d);
- this.activate(b.parent("li"), c), this.activate(g, g.parent(), function () {
- b.trigger({type: "shown.bs.tab", relatedTarget: e})
- })
- }
- }
- }, b.prototype.activate = function (b, c, d) {
- function e() {
- f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"), b.addClass("active"), g ? (b[0].offsetWidth, b.addClass("in")) : b.removeClass("fade"), b.parent(".dropdown-menu") && b.closest("li.dropdown").addClass("active"), d && d()
- }
-
- var f = c.find("> .active"), g = d && a.support.transition && f.hasClass("fade");
- g ? f.one(a.support.transition.end, e).emulateTransitionEnd(150) : e(), f.removeClass("in")
- };
- var c = a.fn.tab;
- a.fn.tab = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.tab");
- e || d.data("bs.tab", e = new b(this)), "string" == typeof c && e[c]()
- })
- }, a.fn.tab.Constructor = b, a.fn.tab.noConflict = function () {
- return a.fn.tab = c, this
- }, a(document).on("click.bs.tab.data-api", '[data-toggle="tab"], [data-toggle="pill"]', function (b) {
- b.preventDefault(), a(this).tab("show")
- })
-}(jQuery), +function (a) {
- "use strict";
- var b = function (c, d) {
- this.options = a.extend({}, b.DEFAULTS, d), this.$window = a(window).on("scroll.bs.affix.data-api", a.proxy(this.checkPosition, this)).on("click.bs.affix.data-api", a.proxy(this.checkPositionWithEventLoop, this)), this.$element = a(c), this.affixed = this.unpin = this.pinnedOffset = null, this.checkPosition()
- };
- b.RESET = "affix affix-top affix-bottom", b.DEFAULTS = {offset: 0}, b.prototype.getPinnedOffset = function () {
- if (this.pinnedOffset)return this.pinnedOffset;
- this.$element.removeClass(b.RESET).addClass("affix");
- var a = this.$window.scrollTop(), c = this.$element.offset();
- return this.pinnedOffset = c.top - a
- }, b.prototype.checkPositionWithEventLoop = function () {
- setTimeout(a.proxy(this.checkPosition, this), 1)
- }, b.prototype.checkPosition = function () {
- if (this.$element.is(":visible")) {
- var c = a(document).height(), d = this.$window.scrollTop(), e = this.$element.offset(), f = this.options.offset, g = f.top, h = f.bottom;
- "top" == this.affixed && (e.top += d), "object" != typeof f && (h = g = f), "function" == typeof g && (g = f.top(this.$element)), "function" == typeof h && (h = f.bottom(this.$element));
- var i = null != this.unpin && d + this.unpin <= e.top ? !1 : null != h && e.top + this.$element.height() >= c - h ? "bottom" : null != g && g >= d ? "top" : !1;
- if (this.affixed !== i) {
- this.unpin && this.$element.css("top", "");
- var j = "affix" + (i ? "-" + i : ""), k = a.Event(j + ".bs.affix");
- this.$element.trigger(k), k.isDefaultPrevented() || (this.affixed = i, this.unpin = "bottom" == i ? this.getPinnedOffset() : null, this.$element.removeClass(b.RESET).addClass(j).trigger(a.Event(j.replace("affix", "affixed"))), "bottom" == i && this.$element.offset({top: c - h - this.$element.height()}))
- }
- }
- };
- var c = a.fn.affix;
- a.fn.affix = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.affix"), f = "object" == typeof c && c;
- e || d.data("bs.affix", e = new b(this, f)), "string" == typeof c && e[c]()
- })
- }, a.fn.affix.Constructor = b, a.fn.affix.noConflict = function () {
- return a.fn.affix = c, this
- }, a(window).on("load", function () {
- a('[data-spy="affix"]').each(function () {
- var b = a(this), c = b.data();
- c.offset = c.offset || {}, c.offsetBottom && (c.offset.bottom = c.offsetBottom), c.offsetTop && (c.offset.top = c.offsetTop), b.affix(c)
- })
- })
-}(jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/js/bootstrap2-typeahead.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/js/bootstrap2-typeahead.min.js
deleted file mode 100644
index a8447c20..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/bootstrap/js/bootstrap2-typeahead.min.js
+++ /dev/null
@@ -1,145 +0,0 @@
-/* =============================================================
- * bootstrap-typeahead.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#typeahead
- * =============================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============================================================ */
-
-
-!function (t) {
- "use strict";
- var e = function (e, s) {
- this.$element = t(e), this.options = t.extend({}, t.fn.typeahead.defaults, s), this.matcher = this.options.matcher || this.matcher, this.sorter = this.options.sorter || this.sorter, this.highlighter = this.options.highlighter || this.highlighter, this.updater = this.options.updater || this.updater, this.source = this.options.source, this.$menu = t(this.options.menu), this.shown = !1, this.listen()
- };
- e.prototype = {
- constructor: e, select: function () {
- var t = this.$menu.find(".active").attr("data-value");
- return this.$element.val(this.updater(t)).change(), this.hide()
- }, updater: function (t) {
- return t
- }, show: function () {
- var e = t.extend({}, this.$element.position(), {height: this.$element[0].offsetHeight});
- return this.$menu.insertAfter(this.$element).css({
- top: e.top + e.height,
- left: e.left
- }).show(), this.shown = !0, this
- }, hide: function () {
- return this.$menu.hide(), this.shown = !1, this
- }, lookup: function () {
- var e;
- return this.query = this.$element.val(), !this.query || this.query.length < this.options.minLength ? this.shown ? this.hide() : this : (e = t.isFunction(this.source) ? this.source(this.query, t.proxy(this.process, this)) : this.source, e ? this.process(e) : this)
- }, process: function (e) {
- var s = this;
- return e = t.grep(e, function (t) {
- return s.matcher(t)
- }), e = this.sorter(e), e.length ? this.render(e.slice(0, this.options.items)).show() : this.shown ? this.hide() : this
- }, matcher: function (t) {
- return ~t.toLowerCase().indexOf(this.query.toLowerCase())
- }, sorter: function (t) {
- for (var e, s = [], i = [], n = []; e = t.shift();)e.toLowerCase().indexOf(this.query.toLowerCase()) ? ~e.indexOf(this.query) ? i.push(e) : n.push(e) : s.push(e);
- return s.concat(i, n)
- }, highlighter: function (t) {
- var e = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
- return t.replace(new RegExp("(" + e + ")", "ig"), function (t, e) {
- return "<strong>" + e + "</strong>"
- })
- }, render: function (e) {
- var s = this;
- return e = t(e).map(function (e, i) {
- return e = t(s.options.item).attr("data-value", i), e.find("a").html(s.highlighter(i)), e[0]
- }), e.first().addClass("active"), this.$menu.html(e), this
- }, next: function () {
- var e = this.$menu.find(".active").removeClass("active"), s = e.next();
- s.length || (s = t(this.$menu.find("li")[0])), s.addClass("active")
- }, prev: function () {
- var t = this.$menu.find(".active").removeClass("active"), e = t.prev();
- e.length || (e = this.$menu.find("li").last()), e.addClass("active")
- }, listen: function () {
- this.$element.on("focus", t.proxy(this.focus, this)).on("blur", t.proxy(this.blur, this)).on("keypress", t.proxy(this.keypress, this)).on("keyup", t.proxy(this.keyup, this)), this.eventSupported("keydown") && this.$element.on("keydown", t.proxy(this.keydown, this)), this.$menu.on("click", t.proxy(this.click, this)).on("mouseenter", "li", t.proxy(this.mouseenter, this)).on("mouseleave", "li", t.proxy(this.mouseleave, this))
- }, eventSupported: function (t) {
- var e = t in this.$element;
- return e || (this.$element.setAttribute(t, "return;"), e = "function" == typeof this.$element[t]), e
- }, move: function (t) {
- if (this.shown) {
- switch (t.keyCode) {
- case 9:
- case 13:
- case 27:
- t.preventDefault();
- break;
- case 38:
- t.preventDefault(), this.prev();
- break;
- case 40:
- t.preventDefault(), this.next()
- }
- t.stopPropagation()
- }
- }, keydown: function (e) {
- this.suppressKeyPressRepeat = ~t.inArray(e.keyCode, [40, 38, 9, 13, 27]), this.move(e)
- }, keypress: function (t) {
- this.suppressKeyPressRepeat || this.move(t)
- }, keyup: function (t) {
- switch (t.keyCode) {
- case 40:
- case 38:
- case 16:
- case 17:
- case 18:
- break;
- case 9:
- case 13:
- if (!this.shown)return;
- this.select();
- break;
- case 27:
- if (!this.shown)return;
- this.hide();
- break;
- default:
- this.lookup()
- }
- t.stopPropagation(), t.preventDefault()
- }, focus: function () {
- this.focused = !0
- }, blur: function () {
- this.focused = !1, !this.mousedover && this.shown && this.hide()
- }, click: function (t) {
- t.stopPropagation(), t.preventDefault(), this.select(), this.$element.focus()
- }, mouseenter: function (e) {
- this.mousedover = !0, this.$menu.find(".active").removeClass("active"), t(e.currentTarget).addClass("active")
- }, mouseleave: function () {
- this.mousedover = !1, !this.focused && this.shown && this.hide()
- }
- };
- var s = t.fn.typeahead;
- t.fn.typeahead = function (s) {
- return this.each(function () {
- var i = t(this), n = i.data("typeahead"), h = "object" == typeof s && s;
- n || i.data("typeahead", n = new e(this, h)), "string" == typeof s && n[s]()
- })
- }, t.fn.typeahead.defaults = {
- source: [],
- items: 8,
- menu: '<ul class="typeahead dropdown-menu"></ul>',
- item: '<li><a href="#"></a></li>',
- minLength: 1
- }, t.fn.typeahead.Constructor = e, t.fn.typeahead.noConflict = function () {
- return t.fn.typeahead = s, this
- }, t(document).on("focus.typeahead.data-api", '[data-provide="typeahead"]', function () {
- var e = t(this);
- e.data("typeahead") || e.typeahead(e.data())
- })
-}(window.jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/css/jquery-ui.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/css/jquery-ui.css
deleted file mode 100644
index 50fd7674..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/css/jquery-ui.css
+++ /dev/null
@@ -1,1908 +0,0 @@
-/*! jQuery UI - v1.11.2 - 2014-10-16
-* http://jqueryui.com
-* Includes: core.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, draggable.css, menu.css, progressbar.css, resizable.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
-* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
-* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
-
-/* Layout helpers
-----------------------------------*/
-.ui-helper-hidden {
- display: none;
-}
-
-.ui-helper-hidden-accessible {
- border: 0;
- clip: rect(0 0 0 0);
- height: 1px;
- margin: -1px;
- overflow: hidden;
- padding: 0;
- position: absolute;
- width: 1px;
-}
-
-.ui-helper-reset {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0;
- line-height: 1.3;
- text-decoration: none;
- font-size: 100%;
- list-style: none;
-}
-
-.ui-helper-clearfix:before,
-.ui-helper-clearfix:after {
- content: "";
- display: table;
- border-collapse: collapse;
-}
-
-.ui-helper-clearfix:after {
- clear: both;
-}
-
-.ui-helper-clearfix {
- min-height: 0; /* support: IE7 */
-}
-
-.ui-helper-zfix {
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- position: absolute;
- opacity: 0;
- filter: Alpha(Opacity=0); /* support: IE8 */
-}
-
-.ui-front {
- z-index: 100;
-}
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-disabled {
- cursor: default !important;
-}
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon {
- display: block;
- text-indent: -99999px;
- overflow: hidden;
- background-repeat: no-repeat;
-}
-
-/* Misc visuals
-----------------------------------*/
-
-/* Overlays */
-.ui-widget-overlay {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
-}
-
-.ui-accordion .ui-accordion-header {
- display: block;
- cursor: pointer;
- position: relative;
- margin: 2px 0 0 0;
- padding: .5em .5em .5em .7em;
- min-height: 0; /* support: IE7 */
- font-size: 100%;
-}
-
-.ui-accordion .ui-accordion-icons {
- padding-left: 2.2em;
-}
-
-.ui-accordion .ui-accordion-icons .ui-accordion-icons {
- padding-left: 2.2em;
-}
-
-.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
- position: absolute;
- left: .5em;
- top: 50%;
- margin-top: -8px;
-}
-
-.ui-accordion .ui-accordion-content {
- padding: 1em 2.2em;
- border-top: 0;
- overflow: auto;
-}
-
-.ui-autocomplete {
- position: absolute;
- top: 0;
- left: 0;
- cursor: default;
-}
-
-.ui-button {
- display: inline-block;
- position: relative;
- padding: 0;
- line-height: normal;
- margin-right: .1em;
- cursor: pointer;
- vertical-align: middle;
- text-align: center;
- overflow: visible; /* removes extra width in IE */
-}
-
-.ui-button,
-.ui-button:link,
-.ui-button:visited,
-.ui-button:hover,
-.ui-button:active {
- text-decoration: none;
-}
-
-/* to make room for the icon, a width needs to be set here */
-.ui-button-icon-only {
- width: 2.2em;
-}
-
-/* button elements seem to need a little more width */
-button.ui-button-icon-only {
- width: 2.4em;
-}
-
-.ui-button-icons-only {
- width: 3.4em;
-}
-
-button.ui-button-icons-only {
- width: 3.7em;
-}
-
-/* button text element */
-.ui-button .ui-button-text {
- display: block;
- line-height: normal;
-}
-
-.ui-button-text-only .ui-button-text {
- padding: .4em 1em;
-}
-
-.ui-button-icon-only .ui-button-text,
-.ui-button-icons-only .ui-button-text {
- padding: .4em;
- text-indent: -9999999px;
-}
-
-.ui-button-text-icon-primary .ui-button-text,
-.ui-button-text-icons .ui-button-text {
- padding: .4em 1em .4em 2.1em;
-}
-
-.ui-button-text-icon-secondary .ui-button-text,
-.ui-button-text-icons .ui-button-text {
- padding: .4em 2.1em .4em 1em;
-}
-
-.ui-button-text-icons .ui-button-text {
- padding-left: 2.1em;
- padding-right: 2.1em;
-}
-
-/* no icon support for input elements, provide padding by default */
-input.ui-button {
- padding: .4em 1em;
-}
-
-/* button icon element(s) */
-.ui-button-icon-only .ui-icon,
-.ui-button-text-icon-primary .ui-icon,
-.ui-button-text-icon-secondary .ui-icon,
-.ui-button-text-icons .ui-icon,
-.ui-button-icons-only .ui-icon {
- position: absolute;
- top: 50%;
- margin-top: -8px;
-}
-
-.ui-button-icon-only .ui-icon {
- left: 50%;
- margin-left: -8px;
-}
-
-.ui-button-text-icon-primary .ui-button-icon-primary,
-.ui-button-text-icons .ui-button-icon-primary,
-.ui-button-icons-only .ui-button-icon-primary {
- left: .5em;
-}
-
-.ui-button-text-icon-secondary .ui-button-icon-secondary,
-.ui-button-text-icons .ui-button-icon-secondary,
-.ui-button-icons-only .ui-button-icon-secondary {
- right: .5em;
-}
-
-/* button sets */
-.ui-buttonset {
- margin-right: 7px;
-}
-
-.ui-buttonset .ui-button {
- margin-left: 0;
- margin-right: -.3em;
-}
-
-/* workarounds */
-/* reset extra padding in Firefox, see h5bp.com/l */
-input.ui-button::-moz-focus-inner,
-button.ui-button::-moz-focus-inner {
- border: 0;
- padding: 0;
-}
-
-.ui-datepicker {
- width: 17em;
- padding: .2em .2em 0;
- display: none;
-}
-
-.ui-datepicker .ui-datepicker-header {
- position: relative;
- padding: .2em 0;
-}
-
-.ui-datepicker .ui-datepicker-prev,
-.ui-datepicker .ui-datepicker-next {
- position: absolute;
- top: 2px;
- width: 1.8em;
- height: 1.8em;
-}
-
-.ui-datepicker .ui-datepicker-prev-hover,
-.ui-datepicker .ui-datepicker-next-hover {
- top: 1px;
-}
-
-.ui-datepicker .ui-datepicker-prev {
- left: 2px;
-}
-
-.ui-datepicker .ui-datepicker-next {
- right: 2px;
-}
-
-.ui-datepicker .ui-datepicker-prev-hover {
- left: 1px;
-}
-
-.ui-datepicker .ui-datepicker-next-hover {
- right: 1px;
-}
-
-.ui-datepicker .ui-datepicker-prev span,
-.ui-datepicker .ui-datepicker-next span {
- display: block;
- position: absolute;
- left: 50%;
- margin-left: -8px;
- top: 50%;
- margin-top: -8px;
-}
-
-.ui-datepicker .ui-datepicker-title {
- margin: 0 2.3em;
- line-height: 1.8em;
- text-align: center;
-}
-
-.ui-datepicker .ui-datepicker-title select {
- font-size: 1em;
- margin: 1px 0;
-}
-
-.ui-datepicker select.ui-datepicker-month,
-.ui-datepicker select.ui-datepicker-year {
- width: 45%;
-}
-
-.ui-datepicker table {
- width: 100%;
- font-size: .9em;
- border-collapse: collapse;
- margin: 0 0 .4em;
-}
-
-.ui-datepicker th {
- padding: .7em .3em;
- text-align: center;
- font-weight: bold;
- border: 0;
-}
-
-.ui-datepicker td {
- border: 0;
- padding: 1px;
-}
-
-.ui-datepicker td span,
-.ui-datepicker td a {
- display: block;
- padding: .2em;
- text-align: right;
- text-decoration: none;
-}
-
-.ui-datepicker .ui-datepicker-buttonpane {
- background-image: none;
- margin: .7em 0 0 0;
- padding: 0 .2em;
- border-left: 0;
- border-right: 0;
- border-bottom: 0;
-}
-
-.ui-datepicker .ui-datepicker-buttonpane button {
- float: right;
- margin: .5em .2em .4em;
- cursor: pointer;
- padding: .2em .6em .3em .6em;
- width: auto;
- overflow: visible;
-}
-
-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
- float: left;
-}
-
-/* with multiple calendars */
-.ui-datepicker.ui-datepicker-multi {
- width: auto;
-}
-
-.ui-datepicker-multi .ui-datepicker-group {
- float: left;
-}
-
-.ui-datepicker-multi .ui-datepicker-group table {
- width: 95%;
- margin: 0 auto .4em;
-}
-
-.ui-datepicker-multi-2 .ui-datepicker-group {
- width: 50%;
-}
-
-.ui-datepicker-multi-3 .ui-datepicker-group {
- width: 33.3%;
-}
-
-.ui-datepicker-multi-4 .ui-datepicker-group {
- width: 25%;
-}
-
-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
-.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
- border-left-width: 0;
-}
-
-.ui-datepicker-multi .ui-datepicker-buttonpane {
- clear: left;
-}
-
-.ui-datepicker-row-break {
- clear: both;
- width: 100%;
- font-size: 0;
-}
-
-/* RTL support */
-.ui-datepicker-rtl {
- direction: rtl;
-}
-
-.ui-datepicker-rtl .ui-datepicker-prev {
- right: 2px;
- left: auto;
-}
-
-.ui-datepicker-rtl .ui-datepicker-next {
- left: 2px;
- right: auto;
-}
-
-.ui-datepicker-rtl .ui-datepicker-prev:hover {
- right: 1px;
- left: auto;
-}
-
-.ui-datepicker-rtl .ui-datepicker-next:hover {
- left: 1px;
- right: auto;
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane {
- clear: right;
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane button {
- float: left;
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
-.ui-datepicker-rtl .ui-datepicker-group {
- float: right;
-}
-
-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
-.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
- border-right-width: 0;
- border-left-width: 1px;
-}
-
-.ui-dialog {
- overflow: hidden;
- position: absolute;
- top: 0;
- left: 0;
- padding: .2em;
- outline: 0;
-}
-
-.ui-dialog .ui-dialog-titlebar {
- padding: .4em 1em;
- position: relative;
-}
-
-.ui-dialog .ui-dialog-title {
- float: left;
- margin: .1em 0;
- white-space: nowrap;
- width: 90%;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-.ui-dialog .ui-dialog-titlebar-close {
- position: absolute;
- right: .3em;
- top: 50%;
- width: 20px;
- margin: -10px 0 0 0;
- padding: 1px;
- height: 20px;
-}
-
-.ui-dialog .ui-dialog-content {
- position: relative;
- border: 0;
- padding: .5em 1em;
- background: none;
- overflow: auto;
-}
-
-.ui-dialog .ui-dialog-buttonpane {
- text-align: left;
- border-width: 1px 0 0 0;
- background-image: none;
- margin-top: .5em;
- padding: .3em 1em .5em .4em;
-}
-
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
- float: right;
-}
-
-.ui-dialog .ui-dialog-buttonpane button {
- margin: .5em .4em .5em 0;
- cursor: pointer;
-}
-
-.ui-dialog .ui-resizable-se {
- width: 12px;
- height: 12px;
- right: -5px;
- bottom: -5px;
- background-position: 16px 16px;
-}
-
-.ui-draggable .ui-dialog-titlebar {
- cursor: move;
-}
-
-.ui-draggable-handle {
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-menu {
- list-style: none;
- padding: 0;
- margin: 0;
- display: block;
- outline: none;
-}
-
-.ui-menu .ui-menu {
- position: absolute;
-}
-
-.ui-menu .ui-menu-item {
- position: relative;
- margin: 0;
- padding: 3px 1em 3px .4em;
- cursor: pointer;
- min-height: 0; /* support: IE7 */
- /* support: IE10, see #8844 */
- list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
-}
-
-.ui-menu .ui-menu-divider {
- margin: 5px 0;
- height: 0;
- font-size: 0;
- line-height: 0;
- border-width: 1px 0 0 0;
-}
-
-.ui-menu .ui-state-focus,
-.ui-menu .ui-state-active {
- margin: -1px;
-}
-
-/* icon support */
-.ui-menu-icons {
- position: relative;
-}
-
-.ui-menu-icons .ui-menu-item {
- padding-left: 2em;
-}
-
-/* left-aligned */
-.ui-menu .ui-icon {
- position: absolute;
- top: 0;
- bottom: 0;
- left: .2em;
- margin: auto 0;
-}
-
-/* right-aligned */
-.ui-menu .ui-menu-icon {
- left: auto;
- right: 0;
-}
-
-.ui-progressbar {
- height: 2em;
- text-align: left;
- overflow: hidden;
-}
-
-.ui-progressbar .ui-progressbar-value {
- margin: -1px;
- height: 100%;
-}
-
-.ui-progressbar .ui-progressbar-overlay {
- background: url("data:image/gif;base64,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");
- height: 100%;
- filter: alpha(opacity=25); /* support: IE8 */
- opacity: 0.25;
-}
-
-.ui-progressbar-indeterminate .ui-progressbar-value {
- background-image: none;
-}
-
-.ui-resizable {
- position: relative;
-}
-
-.ui-resizable-handle {
- position: absolute;
- font-size: 0.1px;
- display: block;
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-resizable-disabled .ui-resizable-handle,
-.ui-resizable-autohide .ui-resizable-handle {
- display: none;
-}
-
-.ui-resizable-n {
- cursor: n-resize;
- height: 7px;
- width: 100%;
- top: -5px;
- left: 0;
-}
-
-.ui-resizable-s {
- cursor: s-resize;
- height: 7px;
- width: 100%;
- bottom: -5px;
- left: 0;
-}
-
-.ui-resizable-e {
- cursor: e-resize;
- width: 7px;
- right: -5px;
- top: 0;
- height: 100%;
-}
-
-.ui-resizable-w {
- cursor: w-resize;
- width: 7px;
- left: -5px;
- top: 0;
- height: 100%;
-}
-
-.ui-resizable-se {
- cursor: se-resize;
- width: 12px;
- height: 12px;
- right: 1px;
- bottom: 1px;
-}
-
-.ui-resizable-sw {
- cursor: sw-resize;
- width: 9px;
- height: 9px;
- left: -5px;
- bottom: -5px;
-}
-
-.ui-resizable-nw {
- cursor: nw-resize;
- width: 9px;
- height: 9px;
- left: -5px;
- top: -5px;
-}
-
-.ui-resizable-ne {
- cursor: ne-resize;
- width: 9px;
- height: 9px;
- right: -5px;
- top: -5px;
-}
-
-.ui-selectable {
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-selectable-helper {
- position: absolute;
- z-index: 100;
- border: 1px dotted black;
-}
-
-.ui-selectmenu-menu {
- padding: 0;
- margin: 0;
- position: absolute;
- top: 0;
- left: 0;
- display: none;
-}
-
-.ui-selectmenu-menu .ui-menu {
- overflow: auto;
- /* Support: IE7 */
- overflow-x: hidden;
- padding-bottom: 1px;
-}
-
-.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
- font-size: 1em;
- font-weight: bold;
- line-height: 1.5;
- padding: 2px 0.4em;
- margin: 0.5em 0 0 0;
- height: auto;
- border: 0;
-}
-
-.ui-selectmenu-open {
- display: block;
-}
-
-.ui-selectmenu-button {
- display: inline-block;
- overflow: hidden;
- position: relative;
- text-decoration: none;
- cursor: pointer;
-}
-
-.ui-selectmenu-button span.ui-icon {
- right: 0.5em;
- left: auto;
- margin-top: -8px;
- position: absolute;
- top: 50%;
-}
-
-.ui-selectmenu-button span.ui-selectmenu-text {
- text-align: left;
- padding: 0.4em 2.1em 0.4em 1em;
- display: block;
- line-height: 1.4;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.ui-slider {
- position: relative;
- text-align: left;
-}
-
-.ui-slider .ui-slider-handle {
- position: absolute;
- z-index: 2;
- width: 1.2em;
- height: 1.2em;
- cursor: default;
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-slider .ui-slider-range {
- position: absolute;
- z-index: 1;
- font-size: .7em;
- display: block;
- border: 0;
- background-position: 0 0;
-}
-
-/* support: IE8 - See #6727 */
-.ui-slider.ui-state-disabled .ui-slider-handle,
-.ui-slider.ui-state-disabled .ui-slider-range {
- filter: inherit;
-}
-
-.ui-slider-horizontal {
- height: .8em;
-}
-
-.ui-slider-horizontal .ui-slider-handle {
- top: -.3em;
- margin-left: -.6em;
-}
-
-.ui-slider-horizontal .ui-slider-range {
- top: 0;
- height: 100%;
-}
-
-.ui-slider-horizontal .ui-slider-range-min {
- left: 0;
-}
-
-.ui-slider-horizontal .ui-slider-range-max {
- right: 0;
-}
-
-.ui-slider-vertical {
- width: .8em;
- height: 100px;
-}
-
-.ui-slider-vertical .ui-slider-handle {
- left: -.3em;
- margin-left: 0;
- margin-bottom: -.6em;
-}
-
-.ui-slider-vertical .ui-slider-range {
- left: 0;
- width: 100%;
-}
-
-.ui-slider-vertical .ui-slider-range-min {
- bottom: 0;
-}
-
-.ui-slider-vertical .ui-slider-range-max {
- top: 0;
-}
-
-.ui-sortable-handle {
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-spinner {
- position: relative;
- display: inline-block;
- overflow: hidden;
- padding: 0;
- vertical-align: middle;
-}
-
-.ui-spinner-input {
- border: none;
- background: none;
- color: inherit;
- padding: 0;
- margin: .2em 0;
- vertical-align: middle;
- margin-left: .4em;
- margin-right: 22px;
-}
-
-.ui-spinner-button {
- width: 16px;
- height: 50%;
- font-size: .5em;
- padding: 0;
- margin: 0;
- text-align: center;
- position: absolute;
- cursor: default;
- display: block;
- overflow: hidden;
- right: 0;
-}
-
-/* more specificity required here to override default borders */
-.ui-spinner a.ui-spinner-button {
- border-top: none;
- border-bottom: none;
- border-right: none;
-}
-
-/* vertically center icon */
-.ui-spinner .ui-icon {
- position: absolute;
- margin-top: -8px;
- top: 50%;
- left: 0;
-}
-
-.ui-spinner-up {
- top: 0;
-}
-
-.ui-spinner-down {
- bottom: 0;
-}
-
-/* TR overrides */
-.ui-spinner .ui-icon-triangle-1-s {
- /* need to fix icons sprite */
- background-position: -65px -16px;
-}
-
-.ui-tabs {
- position: relative; /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
- padding: .2em;
-}
-
-.ui-tabs .ui-tabs-nav {
- margin: 0;
- padding: .2em .2em 0;
-}
-
-.ui-tabs .ui-tabs-nav li {
- list-style: none;
- float: left;
- position: relative;
- top: 0;
- margin: 1px .2em 0 0;
- border-bottom-width: 0;
- padding: 0;
- white-space: nowrap;
-}
-
-.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
- float: left;
- padding: .5em 1em;
- text-decoration: none;
-}
-
-.ui-tabs .ui-tabs-nav li.ui-tabs-active {
- margin-bottom: -1px;
- padding-bottom: 1px;
-}
-
-.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
-.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
-.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
- cursor: text;
-}
-
-.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
- cursor: pointer;
-}
-
-.ui-tabs .ui-tabs-panel {
- display: block;
- border-width: 0;
- padding: 1em 1.4em;
- background: none;
-}
-
-.ui-tooltip {
- padding: 8px;
- position: absolute;
- z-index: 9999;
- max-width: 300px;
- -webkit-box-shadow: 0 0 5px #aaa;
- box-shadow: 0 0 5px #aaa;
-}
-
-body .ui-tooltip {
- border-width: 2px;
-}
-
-/* Component containers
-----------------------------------*/
-.ui-widget {
- font-family: Verdana, Arial, sans-serif;
- font-size: 1.1em;
-}
-
-.ui-widget .ui-widget {
- font-size: 1em;
-}
-
-.ui-widget input,
-.ui-widget select,
-.ui-widget textarea,
-.ui-widget button {
- font-family: Verdana, Arial, sans-serif;
- font-size: 1em;
-}
-
-.ui-widget-content {
- border: 1px solid #aaaaaa;
- background: #ffffff url("images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x;
- color: #222222;
-}
-
-.ui-widget-content a {
- color: #222222;
-}
-
-.ui-widget-header {
- border: 1px solid #aaaaaa;
- background: #cccccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
- color: #222222;
- font-weight: bold;
-}
-
-.ui-widget-header a {
- color: #222222;
-}
-
-/* Interaction states
-----------------------------------*/
-.ui-state-default,
-.ui-widget-content .ui-state-default,
-.ui-widget-header .ui-state-default {
- border: 1px solid #d3d3d3;
- background: #e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;
- font-weight: normal;
- color: #555555;
-}
-
-.ui-state-default a,
-.ui-state-default a:link,
-.ui-state-default a:visited {
- color: #555555;
- text-decoration: none;
-}
-
-.ui-state-hover,
-.ui-widget-content .ui-state-hover,
-.ui-widget-header .ui-state-hover,
-.ui-state-focus,
-.ui-widget-content .ui-state-focus,
-.ui-widget-header .ui-state-focus {
- border: 1px solid #999999;
- background: #dadada url("images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;
- font-weight: normal;
- color: #212121;
-}
-
-.ui-state-hover a,
-.ui-state-hover a:hover,
-.ui-state-hover a:link,
-.ui-state-hover a:visited,
-.ui-state-focus a,
-.ui-state-focus a:hover,
-.ui-state-focus a:link,
-.ui-state-focus a:visited {
- color: #212121;
- text-decoration: none;
-}
-
-.ui-state-active,
-.ui-widget-content .ui-state-active,
-.ui-widget-header .ui-state-active {
- border: 1px solid #aaaaaa;
- background: #ffffff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;
- font-weight: normal;
- color: #212121;
-}
-
-.ui-state-active a,
-.ui-state-active a:link,
-.ui-state-active a:visited {
- color: #212121;
- text-decoration: none;
-}
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-highlight,
-.ui-widget-content .ui-state-highlight,
-.ui-widget-header .ui-state-highlight {
- border: 1px solid #fcefa1;
- background: #fbf9ee url("images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;
- color: #363636;
-}
-
-.ui-state-highlight a,
-.ui-widget-content .ui-state-highlight a,
-.ui-widget-header .ui-state-highlight a {
- color: #363636;
-}
-
-.ui-state-error,
-.ui-widget-content .ui-state-error,
-.ui-widget-header .ui-state-error {
- border: 1px solid #cd0a0a;
- background: #fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;
- color: #cd0a0a;
-}
-
-.ui-state-error a,
-.ui-widget-content .ui-state-error a,
-.ui-widget-header .ui-state-error a {
- color: #cd0a0a;
-}
-
-.ui-state-error-text,
-.ui-widget-content .ui-state-error-text,
-.ui-widget-header .ui-state-error-text {
- color: #cd0a0a;
-}
-
-.ui-priority-primary,
-.ui-widget-content .ui-priority-primary,
-.ui-widget-header .ui-priority-primary {
- font-weight: bold;
-}
-
-.ui-priority-secondary,
-.ui-widget-content .ui-priority-secondary,
-.ui-widget-header .ui-priority-secondary {
- opacity: .7;
- filter: Alpha(Opacity=70); /* support: IE8 */
- font-weight: normal;
-}
-
-.ui-state-disabled,
-.ui-widget-content .ui-state-disabled,
-.ui-widget-header .ui-state-disabled {
- opacity: .35;
- filter: Alpha(Opacity=35); /* support: IE8 */
- background-image: none;
-}
-
-.ui-state-disabled .ui-icon {
- filter: Alpha(Opacity=35); /* support: IE8 - See #6059 */
-}
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon {
- width: 16px;
- height: 16px;
-}
-
-.ui-icon,
-.ui-widget-content .ui-icon {
- background-image: url("images/ui-icons_222222_256x240.png");
-}
-
-.ui-widget-header .ui-icon {
- background-image: url("images/ui-icons_222222_256x240.png");
-}
-
-.ui-state-default .ui-icon {
- background-image: url("images/ui-icons_888888_256x240.png");
-}
-
-.ui-state-hover .ui-icon,
-.ui-state-focus .ui-icon {
- background-image: url("images/ui-icons_454545_256x240.png");
-}
-
-.ui-state-active .ui-icon {
- background-image: url("images/ui-icons_454545_256x240.png");
-}
-
-.ui-state-highlight .ui-icon {
- background-image: url("images/ui-icons_2e83ff_256x240.png");
-}
-
-.ui-state-error .ui-icon,
-.ui-state-error-text .ui-icon {
- background-image: url("images/ui-icons_cd0a0a_256x240.png");
-}
-
-/* positioning */
-.ui-icon-blank {
- background-position: 16px 16px;
-}
-
-.ui-icon-carat-1-n {
- background-position: 0 0;
-}
-
-.ui-icon-carat-1-ne {
- background-position: -16px 0;
-}
-
-.ui-icon-carat-1-e {
- background-position: -32px 0;
-}
-
-.ui-icon-carat-1-se {
- background-position: -48px 0;
-}
-
-.ui-icon-carat-1-s {
- background-position: -64px 0;
-}
-
-.ui-icon-carat-1-sw {
- background-position: -80px 0;
-}
-
-.ui-icon-carat-1-w {
- background-position: -96px 0;
-}
-
-.ui-icon-carat-1-nw {
- background-position: -112px 0;
-}
-
-.ui-icon-carat-2-n-s {
- background-position: -128px 0;
-}
-
-.ui-icon-carat-2-e-w {
- background-position: -144px 0;
-}
-
-.ui-icon-triangle-1-n {
- background-position: 0 -16px;
-}
-
-.ui-icon-triangle-1-ne {
- background-position: -16px -16px;
-}
-
-.ui-icon-triangle-1-e {
- background-position: -32px -16px;
-}
-
-.ui-icon-triangle-1-se {
- background-position: -48px -16px;
-}
-
-.ui-icon-triangle-1-s {
- background-position: -64px -16px;
-}
-
-.ui-icon-triangle-1-sw {
- background-position: -80px -16px;
-}
-
-.ui-icon-triangle-1-w {
- background-position: -96px -16px;
-}
-
-.ui-icon-triangle-1-nw {
- background-position: -112px -16px;
-}
-
-.ui-icon-triangle-2-n-s {
- background-position: -128px -16px;
-}
-
-.ui-icon-triangle-2-e-w {
- background-position: -144px -16px;
-}
-
-.ui-icon-arrow-1-n {
- background-position: 0 -32px;
-}
-
-.ui-icon-arrow-1-ne {
- background-position: -16px -32px;
-}
-
-.ui-icon-arrow-1-e {
- background-position: -32px -32px;
-}
-
-.ui-icon-arrow-1-se {
- background-position: -48px -32px;
-}
-
-.ui-icon-arrow-1-s {
- background-position: -64px -32px;
-}
-
-.ui-icon-arrow-1-sw {
- background-position: -80px -32px;
-}
-
-.ui-icon-arrow-1-w {
- background-position: -96px -32px;
-}
-
-.ui-icon-arrow-1-nw {
- background-position: -112px -32px;
-}
-
-.ui-icon-arrow-2-n-s {
- background-position: -128px -32px;
-}
-
-.ui-icon-arrow-2-ne-sw {
- background-position: -144px -32px;
-}
-
-.ui-icon-arrow-2-e-w {
- background-position: -160px -32px;
-}
-
-.ui-icon-arrow-2-se-nw {
- background-position: -176px -32px;
-}
-
-.ui-icon-arrowstop-1-n {
- background-position: -192px -32px;
-}
-
-.ui-icon-arrowstop-1-e {
- background-position: -208px -32px;
-}
-
-.ui-icon-arrowstop-1-s {
- background-position: -224px -32px;
-}
-
-.ui-icon-arrowstop-1-w {
- background-position: -240px -32px;
-}
-
-.ui-icon-arrowthick-1-n {
- background-position: 0 -48px;
-}
-
-.ui-icon-arrowthick-1-ne {
- background-position: -16px -48px;
-}
-
-.ui-icon-arrowthick-1-e {
- background-position: -32px -48px;
-}
-
-.ui-icon-arrowthick-1-se {
- background-position: -48px -48px;
-}
-
-.ui-icon-arrowthick-1-s {
- background-position: -64px -48px;
-}
-
-.ui-icon-arrowthick-1-sw {
- background-position: -80px -48px;
-}
-
-.ui-icon-arrowthick-1-w {
- background-position: -96px -48px;
-}
-
-.ui-icon-arrowthick-1-nw {
- background-position: -112px -48px;
-}
-
-.ui-icon-arrowthick-2-n-s {
- background-position: -128px -48px;
-}
-
-.ui-icon-arrowthick-2-ne-sw {
- background-position: -144px -48px;
-}
-
-.ui-icon-arrowthick-2-e-w {
- background-position: -160px -48px;
-}
-
-.ui-icon-arrowthick-2-se-nw {
- background-position: -176px -48px;
-}
-
-.ui-icon-arrowthickstop-1-n {
- background-position: -192px -48px;
-}
-
-.ui-icon-arrowthickstop-1-e {
- background-position: -208px -48px;
-}
-
-.ui-icon-arrowthickstop-1-s {
- background-position: -224px -48px;
-}
-
-.ui-icon-arrowthickstop-1-w {
- background-position: -240px -48px;
-}
-
-.ui-icon-arrowreturnthick-1-w {
- background-position: 0 -64px;
-}
-
-.ui-icon-arrowreturnthick-1-n {
- background-position: -16px -64px;
-}
-
-.ui-icon-arrowreturnthick-1-e {
- background-position: -32px -64px;
-}
-
-.ui-icon-arrowreturnthick-1-s {
- background-position: -48px -64px;
-}
-
-.ui-icon-arrowreturn-1-w {
- background-position: -64px -64px;
-}
-
-.ui-icon-arrowreturn-1-n {
- background-position: -80px -64px;
-}
-
-.ui-icon-arrowreturn-1-e {
- background-position: -96px -64px;
-}
-
-.ui-icon-arrowreturn-1-s {
- background-position: -112px -64px;
-}
-
-.ui-icon-arrowrefresh-1-w {
- background-position: -128px -64px;
-}
-
-.ui-icon-arrowrefresh-1-n {
- background-position: -144px -64px;
-}
-
-.ui-icon-arrowrefresh-1-e {
- background-position: -160px -64px;
-}
-
-.ui-icon-arrowrefresh-1-s {
- background-position: -176px -64px;
-}
-
-.ui-icon-arrow-4 {
- background-position: 0 -80px;
-}
-
-.ui-icon-arrow-4-diag {
- background-position: -16px -80px;
-}
-
-.ui-icon-extlink {
- background-position: -32px -80px;
-}
-
-.ui-icon-newwin {
- background-position: -48px -80px;
-}
-
-.ui-icon-refresh {
- background-position: -64px -80px;
-}
-
-.ui-icon-shuffle {
- background-position: -80px -80px;
-}
-
-.ui-icon-transfer-e-w {
- background-position: -96px -80px;
-}
-
-.ui-icon-transferthick-e-w {
- background-position: -112px -80px;
-}
-
-.ui-icon-folder-collapsed {
- background-position: 0 -96px;
-}
-
-.ui-icon-folder-open {
- background-position: -16px -96px;
-}
-
-.ui-icon-document {
- background-position: -32px -96px;
-}
-
-.ui-icon-document-b {
- background-position: -48px -96px;
-}
-
-.ui-icon-note {
- background-position: -64px -96px;
-}
-
-.ui-icon-mail-closed {
- background-position: -80px -96px;
-}
-
-.ui-icon-mail-open {
- background-position: -96px -96px;
-}
-
-.ui-icon-suitcase {
- background-position: -112px -96px;
-}
-
-.ui-icon-comment {
- background-position: -128px -96px;
-}
-
-.ui-icon-person {
- background-position: -144px -96px;
-}
-
-.ui-icon-print {
- background-position: -160px -96px;
-}
-
-.ui-icon-trash {
- background-position: -176px -96px;
-}
-
-.ui-icon-locked {
- background-position: -192px -96px;
-}
-
-.ui-icon-unlocked {
- background-position: -208px -96px;
-}
-
-.ui-icon-bookmark {
- background-position: -224px -96px;
-}
-
-.ui-icon-tag {
- background-position: -240px -96px;
-}
-
-.ui-icon-home {
- background-position: 0 -112px;
-}
-
-.ui-icon-flag {
- background-position: -16px -112px;
-}
-
-.ui-icon-calendar {
- background-position: -32px -112px;
-}
-
-.ui-icon-cart {
- background-position: -48px -112px;
-}
-
-.ui-icon-pencil {
- background-position: -64px -112px;
-}
-
-.ui-icon-clock {
- background-position: -80px -112px;
-}
-
-.ui-icon-disk {
- background-position: -96px -112px;
-}
-
-.ui-icon-calculator {
- background-position: -112px -112px;
-}
-
-.ui-icon-zoomin {
- background-position: -128px -112px;
-}
-
-.ui-icon-zoomout {
- background-position: -144px -112px;
-}
-
-.ui-icon-search {
- background-position: -160px -112px;
-}
-
-.ui-icon-wrench {
- background-position: -176px -112px;
-}
-
-.ui-icon-gear {
- background-position: -192px -112px;
-}
-
-.ui-icon-heart {
- background-position: -208px -112px;
-}
-
-.ui-icon-star {
- background-position: -224px -112px;
-}
-
-.ui-icon-link {
- background-position: -240px -112px;
-}
-
-.ui-icon-cancel {
- background-position: 0 -128px;
-}
-
-.ui-icon-plus {
- background-position: -16px -128px;
-}
-
-.ui-icon-plusthick {
- background-position: -32px -128px;
-}
-
-.ui-icon-minus {
- background-position: -48px -128px;
-}
-
-.ui-icon-minusthick {
- background-position: -64px -128px;
-}
-
-.ui-icon-close {
- background-position: -80px -128px;
-}
-
-.ui-icon-closethick {
- background-position: -96px -128px;
-}
-
-.ui-icon-key {
- background-position: -112px -128px;
-}
-
-.ui-icon-lightbulb {
- background-position: -128px -128px;
-}
-
-.ui-icon-scissors {
- background-position: -144px -128px;
-}
-
-.ui-icon-clipboard {
- background-position: -160px -128px;
-}
-
-.ui-icon-copy {
- background-position: -176px -128px;
-}
-
-.ui-icon-contact {
- background-position: -192px -128px;
-}
-
-.ui-icon-image {
- background-position: -208px -128px;
-}
-
-.ui-icon-video {
- background-position: -224px -128px;
-}
-
-.ui-icon-script {
- background-position: -240px -128px;
-}
-
-.ui-icon-alert {
- background-position: 0 -144px;
-}
-
-.ui-icon-info {
- background-position: -16px -144px;
-}
-
-.ui-icon-notice {
- background-position: -32px -144px;
-}
-
-.ui-icon-help {
- background-position: -48px -144px;
-}
-
-.ui-icon-check {
- background-position: -64px -144px;
-}
-
-.ui-icon-bullet {
- background-position: -80px -144px;
-}
-
-.ui-icon-radio-on {
- background-position: -96px -144px;
-}
-
-.ui-icon-radio-off {
- background-position: -112px -144px;
-}
-
-.ui-icon-pin-w {
- background-position: -128px -144px;
-}
-
-.ui-icon-pin-s {
- background-position: -144px -144px;
-}
-
-.ui-icon-play {
- background-position: 0 -160px;
-}
-
-.ui-icon-pause {
- background-position: -16px -160px;
-}
-
-.ui-icon-seek-next {
- background-position: -32px -160px;
-}
-
-.ui-icon-seek-prev {
- background-position: -48px -160px;
-}
-
-.ui-icon-seek-end {
- background-position: -64px -160px;
-}
-
-.ui-icon-seek-start {
- background-position: -80px -160px;
-}
-
-/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
-.ui-icon-seek-first {
- background-position: -80px -160px;
-}
-
-.ui-icon-stop {
- background-position: -96px -160px;
-}
-
-.ui-icon-eject {
- background-position: -112px -160px;
-}
-
-.ui-icon-volume-off {
- background-position: -128px -160px;
-}
-
-.ui-icon-volume-on {
- background-position: -144px -160px;
-}
-
-.ui-icon-power {
- background-position: 0 -176px;
-}
-
-.ui-icon-signal-diag {
- background-position: -16px -176px;
-}
-
-.ui-icon-signal {
- background-position: -32px -176px;
-}
-
-.ui-icon-battery-0 {
- background-position: -48px -176px;
-}
-
-.ui-icon-battery-1 {
- background-position: -64px -176px;
-}
-
-.ui-icon-battery-2 {
- background-position: -80px -176px;
-}
-
-.ui-icon-battery-3 {
- background-position: -96px -176px;
-}
-
-.ui-icon-circle-plus {
- background-position: 0 -192px;
-}
-
-.ui-icon-circle-minus {
- background-position: -16px -192px;
-}
-
-.ui-icon-circle-close {
- background-position: -32px -192px;
-}
-
-.ui-icon-circle-triangle-e {
- background-position: -48px -192px;
-}
-
-.ui-icon-circle-triangle-s {
- background-position: -64px -192px;
-}
-
-.ui-icon-circle-triangle-w {
- background-position: -80px -192px;
-}
-
-.ui-icon-circle-triangle-n {
- background-position: -96px -192px;
-}
-
-.ui-icon-circle-arrow-e {
- background-position: -112px -192px;
-}
-
-.ui-icon-circle-arrow-s {
- background-position: -128px -192px;
-}
-
-.ui-icon-circle-arrow-w {
- background-position: -144px -192px;
-}
-
-.ui-icon-circle-arrow-n {
- background-position: -160px -192px;
-}
-
-.ui-icon-circle-zoomin {
- background-position: -176px -192px;
-}
-
-.ui-icon-circle-zoomout {
- background-position: -192px -192px;
-}
-
-.ui-icon-circle-check {
- background-position: -208px -192px;
-}
-
-.ui-icon-circlesmall-plus {
- background-position: 0 -208px;
-}
-
-.ui-icon-circlesmall-minus {
- background-position: -16px -208px;
-}
-
-.ui-icon-circlesmall-close {
- background-position: -32px -208px;
-}
-
-.ui-icon-squaresmall-plus {
- background-position: -48px -208px;
-}
-
-.ui-icon-squaresmall-minus {
- background-position: -64px -208px;
-}
-
-.ui-icon-squaresmall-close {
- background-position: -80px -208px;
-}
-
-.ui-icon-grip-dotted-vertical {
- background-position: 0 -224px;
-}
-
-.ui-icon-grip-dotted-horizontal {
- background-position: -16px -224px;
-}
-
-.ui-icon-grip-solid-vertical {
- background-position: -32px -224px;
-}
-
-.ui-icon-grip-solid-horizontal {
- background-position: -48px -224px;
-}
-
-.ui-icon-gripsmall-diagonal-se {
- background-position: -64px -224px;
-}
-
-.ui-icon-grip-diagonal-se {
- background-position: -80px -224px;
-}
-
-/* Misc visuals
-----------------------------------*/
-
-/* Corner radius */
-.ui-corner-all,
-.ui-corner-top,
-.ui-corner-left,
-.ui-corner-tl {
- border-top-left-radius: 4px;
-}
-
-.ui-corner-all,
-.ui-corner-top,
-.ui-corner-right,
-.ui-corner-tr {
- border-top-right-radius: 4px;
-}
-
-.ui-corner-all,
-.ui-corner-bottom,
-.ui-corner-left,
-.ui-corner-bl {
- border-bottom-left-radius: 4px;
-}
-
-.ui-corner-all,
-.ui-corner-bottom,
-.ui-corner-right,
-.ui-corner-br {
- border-bottom-right-radius: 4px;
-}
-
-/* Overlays */
-.ui-widget-overlay {
- background: #aaaaaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;
- opacity: .3;
- filter: Alpha(Opacity=30); /* support: IE8 */
-}
-
-.ui-widget-shadow {
- margin: -8px 0 0 -8px;
- padding: 8px;
- background: #aaaaaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;
- opacity: .3;
- filter: Alpha(Opacity=30); /* support: IE8 */
- border-radius: 8px;
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/css/multi-handle-slider.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/css/multi-handle-slider.css
deleted file mode 100644
index cf6c1b9b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/css/multi-handle-slider.css
+++ /dev/null
@@ -1,53 +0,0 @@
-div, span {
- border-radius: 0 !important;
-}
-
-.sliderWrapper {
- display: block;
- position: absolute;
- background-color: #629bcd;
- opacity: 0.9;
- border: 'solid 0px';
- width: 682px;
- height: 80px;
- top: 10%;
- left: 5%;
-}
-
-.tooltip-style {
- opacity: 1;
- left: -14px;
- top: -25px;
- background-color: rgb(59, 173, 240) !important;
-}
-
-.tooltip-style-bottom {
- opacity: 1;
- left: -12px;
- top: 18px;
- white-space: nowrap;
- background-color: rgb(59, 173, 240) !important;
-}
-
-.centerRail {
- text-align: left;
- margin-top: 35px;
- margin-left: auto;
- margin-right: auto;
- width: 575px;
-}
-
-.tooltip-inner {
- background-color: #629bcd;
-!important;
-}
-
-.tooltip-text {
- opacity: 1 !important;
-}
-
-.sliderValues {
- left: 5%;
- top: 30%;
- position: absolute;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/index.html b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/index.html
deleted file mode 100644
index 8c8658db..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/index.html
+++ /dev/null
@@ -1,67 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title></title>
- <link rel="stylesheet" href="css/jquery-ui.css">
- <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
- <link rel="stylesheet" href="css/multi-handle-slider.css">
-</head>
-<body style="overflow: auto;">
-<div id="slider" ms-controller="multiHandleSliderController">
- <div class="sliderWrapper">
- <div class="centerRail">
- <div id="slider-multi-handles"></div>
- </div>
- </div>
- <div class="row" data-name="tab_zone">
- <div class="col-md-12 sliderValues">
- <ul>
- <li ms-repeat-el="items">{{el.name}}:{{el.value}}%</li>
- </ul>
- </div>
- </div>
-</div>
-<div id="slider1" ms-controller="multiHandleSliderController1" style="position:absolute;top:300px;left:5%">
- <div class="sliderWrapper">
- <div class="centerRail">
- <div id="slider-multi-handles-1"></div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-12 sliderValues" style="width: 200px;top: 120px;">
- <ul>
- <li ms-repeat-e="items">{{e.name}}:{{e.value}}%</li>
- </ul>
- </div>
- </div>
-</div>
-<script src="js/jquery-1.10.2.min.js"></script>
-<script src="jquery-ui-1.11.4.custom/jquery-ui.js"></script>
-<!-- <script src="bootstrap/js/bootstrap.min.js"></script> -->
-<script src="js/avalon.modern.js"></script>
-<script src="js/multi-handle-slider.js"></script>
-<script>
- var items = [
- {name: "警告", value: 20},
- {name: "次要", value: 40},
- {name: "主要", value: 60},
- {name: "严重", value: 80}
- ];
- var items1 = [
- {name: "警告1", value: 20},
- {name: "次要1", value: 40},
- {name: "主要1", value: 60},
- {name: "严重1", value: 80}
- ];
- var vm = vmMultiHandleSlider("multiHandleSliderController");
- vm.$setItems(items);
- vm.$initSlider("slider-multi-handles", "slider");
- //vmMultiHandleSlider.$setItems(items1);
- //vmMultiHandleSlider.$initSlider("slider-multi-handles-1");
- var vm1 = vmMultiHandleSlider("multiHandleSliderController1");
- vm1.$setItems(items1);
- vm1.$initSlider("slider-multi-handles-1", "slider1");
-</script>
-</body>
-</html>
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/external/jquery/jquery.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/external/jquery/jquery.js
deleted file mode 100644
index d513758a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/external/jquery/jquery.js
+++ /dev/null
@@ -1,9815 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.10.2
- * http://jquery.com/
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- *
- * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
- * Released under the MIT license
- * http://jquery.org/license
- *
- * Date: 2013-07-03T13:48Z
- */
-(function (window, undefined) {
-
-// Can't do this because several apps including ASP.NET trace
-// the stack via arguments.caller.callee and Firefox dies if
-// you try to trace through "use strict" call chains. (#13335)
-// Support: Firefox 18+
-//"use strict";
- var
- // The deferred used on DOM ready
- readyList,
-
- // A central reference to the root jQuery(document)
- rootjQuery,
-
- // Support: IE<10
- // For `typeof xmlNode.method` instead of `xmlNode.method !== undefined`
- core_strundefined = typeof undefined,
-
- // Use the correct document accordingly with window argument (sandbox)
- location = window.location,
- document = window.document,
- docElem = document.documentElement,
-
- // Map over jQuery in case of overwrite
- _jQuery = window.jQuery,
-
- // Map over the $ in case of overwrite
- _$ = window.$,
-
- // [[Class]] -> type pairs
- class2type = {},
-
- // List of deleted data cache ids, so we can reuse them
- core_deletedIds = [],
-
- core_version = "1.10.2",
-
- // Save a reference to some core methods
- core_concat = core_deletedIds.concat,
- core_push = core_deletedIds.push,
- core_slice = core_deletedIds.slice,
- core_indexOf = core_deletedIds.indexOf,
- core_toString = class2type.toString,
- core_hasOwn = class2type.hasOwnProperty,
- core_trim = core_version.trim,
-
- // Define a local copy of jQuery
- jQuery = function (selector, context) {
- // The jQuery object is actually just the init constructor 'enhanced'
- return new jQuery.fn.init(selector, context, rootjQuery);
- },
-
- // Used for matching numbers
- core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
-
- // Used for splitting on whitespace
- core_rnotwhite = /\S+/g,
-
- // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE)
- rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
-
- // A simple way to check for HTML strings
- // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
- // Strict HTML recognition (#11290: must start with <)
- rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
-
- // Match a standalone tag
- rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
-
- // JSON RegExp
- rvalidchars = /^[\],:{}\s]*$/,
- rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,
- rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,
- rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,
-
- // Matches dashed string for camelizing
- rmsPrefix = /^-ms-/,
- rdashAlpha = /-([\da-z])/gi,
-
- // Used by jQuery.camelCase as callback to replace()
- fcamelCase = function (all, letter) {
- return letter.toUpperCase();
- },
-
- // The ready event handler
- completed = function (event) {
-
- // readyState === "complete" is good enough for us to call the dom ready in oldIE
- if (document.addEventListener || event.type === "load" || document.readyState === "complete") {
- detach();
- jQuery.ready();
- }
- },
- // Clean-up method for dom ready events
- detach = function () {
- if (document.addEventListener) {
- document.removeEventListener("DOMContentLoaded", completed, false);
- window.removeEventListener("load", completed, false);
-
- } else {
- document.detachEvent("onreadystatechange", completed);
- window.detachEvent("onload", completed);
- }
- };
-
- jQuery.fn = jQuery.prototype = {
- // The current version of jQuery being used
- jquery: core_version,
-
- constructor: jQuery,
- init: function (selector, context, rootjQuery) {
- var match, elem;
-
- // HANDLE: $(""), $(null), $(undefined), $(false)
- if (!selector) {
- return this;
- }
-
- // Handle HTML strings
- if (typeof selector === "string") {
- if (selector.charAt(0) === "<" && selector.charAt(selector.length - 1) === ">" && selector.length >= 3) {
- // Assume that strings that start and end with <> are HTML and skip the regex check
- match = [null, selector, null];
-
- } else {
- match = rquickExpr.exec(selector);
- }
-
- // Match html or make sure no context is specified for #id
- if (match && (match[1] || !context)) {
-
- // HANDLE: $(html) -> $(array)
- if (match[1]) {
- context = context instanceof jQuery ? context[0] : context;
-
- // scripts is true for back-compat
- jQuery.merge(this, jQuery.parseHTML(
- match[1],
- context && context.nodeType ? context.ownerDocument || context : document,
- true
- ));
-
- // HANDLE: $(html, props)
- if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) {
- for (match in context) {
- // Properties of context are called as methods if possible
- if (jQuery.isFunction(this[match])) {
- this[match](context[match]);
-
- // ...and otherwise set as attributes
- } else {
- this.attr(match, context[match]);
- }
- }
- }
-
- return this;
-
- // HANDLE: $(#id)
- } else {
- elem = document.getElementById(match[2]);
-
- // Check parentNode to catch when Blackberry 4.6 returns
- // nodes that are no longer in the document #6963
- if (elem && elem.parentNode) {
- // Handle the case where IE and Opera return items
- // by name instead of ID
- if (elem.id !== match[2]) {
- return rootjQuery.find(selector);
- }
-
- // Otherwise, we inject the element directly into the jQuery object
- this.length = 1;
- this[0] = elem;
- }
-
- this.context = document;
- this.selector = selector;
- return this;
- }
-
- // HANDLE: $(expr, $(...))
- } else if (!context || context.jquery) {
- return ( context || rootjQuery ).find(selector);
-
- // HANDLE: $(expr, context)
- // (which is just equivalent to: $(context).find(expr)
- } else {
- return this.constructor(context).find(selector);
- }
-
- // HANDLE: $(DOMElement)
- } else if (selector.nodeType) {
- this.context = this[0] = selector;
- this.length = 1;
- return this;
-
- // HANDLE: $(function)
- // Shortcut for document ready
- } else if (jQuery.isFunction(selector)) {
- return rootjQuery.ready(selector);
- }
-
- if (selector.selector !== undefined) {
- this.selector = selector.selector;
- this.context = selector.context;
- }
-
- return jQuery.makeArray(selector, this);
- },
-
- // Start with an empty selector
- selector: "",
-
- // The default length of a jQuery object is 0
- length: 0,
-
- toArray: function () {
- return core_slice.call(this);
- },
-
- // Get the Nth element in the matched element set OR
- // Get the whole matched element set as a clean array
- get: function (num) {
- return num == null ?
-
- // Return a 'clean' array
- this.toArray() :
-
- // Return just the object
- ( num < 0 ? this[this.length + num] : this[num] );
- },
-
- // Take an array of elements and push it onto the stack
- // (returning the new matched element set)
- pushStack: function (elems) {
-
- // Build a new jQuery matched element set
- var ret = jQuery.merge(this.constructor(), elems);
-
- // Add the old object onto the stack (as a reference)
- ret.prevObject = this;
- ret.context = this.context;
-
- // Return the newly-formed element set
- return ret;
- },
-
- // Execute a callback for every element in the matched set.
- // (You can seed the arguments with an array of args, but this is
- // only used internally.)
- each: function (callback, args) {
- return jQuery.each(this, callback, args);
- },
-
- ready: function (fn) {
- // Add the callback
- jQuery.ready.promise().done(fn);
-
- return this;
- },
-
- slice: function () {
- return this.pushStack(core_slice.apply(this, arguments));
- },
-
- first: function () {
- return this.eq(0);
- },
-
- last: function () {
- return this.eq(-1);
- },
-
- eq: function (i) {
- var len = this.length,
- j = +i + ( i < 0 ? len : 0 );
- return this.pushStack(j >= 0 && j < len ? [this[j]] : []);
- },
-
- map: function (callback) {
- return this.pushStack(jQuery.map(this, function (elem, i) {
- return callback.call(elem, i, elem);
- }));
- },
-
- end: function () {
- return this.prevObject || this.constructor(null);
- },
-
- // For internal use only.
- // Behaves like an Array's method, not like a jQuery method.
- push: core_push,
- sort: [].sort,
- splice: [].splice
- };
-
-// Give the init function the jQuery prototype for later instantiation
- jQuery.fn.init.prototype = jQuery.fn;
-
- jQuery.extend = jQuery.fn.extend = function () {
- var src, copyIsArray, copy, name, options, clone,
- target = arguments[0] || {},
- i = 1,
- length = arguments.length,
- deep = false;
-
- // Handle a deep copy situation
- if (typeof target === "boolean") {
- deep = target;
- target = arguments[1] || {};
- // skip the boolean and the target
- i = 2;
- }
-
- // Handle case when target is a string or something (possible in deep copy)
- if (typeof target !== "object" && !jQuery.isFunction(target)) {
- target = {};
- }
-
- // extend jQuery itself if only one argument is passed
- if (length === i) {
- target = this;
- --i;
- }
-
- for (; i < length; i++) {
- // Only deal with non-null/undefined values
- if ((options = arguments[i]) != null) {
- // Extend the base object
- for (name in options) {
- src = target[name];
- copy = options[name];
-
- // Prevent never-ending loop
- if (target === copy) {
- continue;
- }
-
- // Recurse if we're merging plain objects or arrays
- if (deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) )) {
- if (copyIsArray) {
- copyIsArray = false;
- clone = src && jQuery.isArray(src) ? src : [];
-
- } else {
- clone = src && jQuery.isPlainObject(src) ? src : {};
- }
-
- // Never move original objects, clone them
- target[name] = jQuery.extend(deep, clone, copy);
-
- // Don't bring in undefined values
- } else if (copy !== undefined) {
- target[name] = copy;
- }
- }
- }
- }
-
- // Return the modified object
- return target;
- };
-
- jQuery.extend({
- // Unique for each copy of jQuery on the page
- // Non-digits removed to match rinlinejQuery
- expando: "jQuery" + ( core_version + Math.random() ).replace(/\D/g, ""),
-
- noConflict: function (deep) {
- if (window.$ === jQuery) {
- window.$ = _$;
- }
-
- if (deep && window.jQuery === jQuery) {
- window.jQuery = _jQuery;
- }
-
- return jQuery;
- },
-
- // Is the DOM ready to be used? Set to true once it occurs.
- isReady: false,
-
- // A counter to track how many items to wait for before
- // the ready event fires. See #6781
- readyWait: 1,
-
- // Hold (or release) the ready event
- holdReady: function (hold) {
- if (hold) {
- jQuery.readyWait++;
- } else {
- jQuery.ready(true);
- }
- },
-
- // Handle when the DOM is ready
- ready: function (wait) {
-
- // Abort if there are pending holds or we're already ready
- if (wait === true ? --jQuery.readyWait : jQuery.isReady) {
- return;
- }
-
- // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
- if (!document.body) {
- return setTimeout(jQuery.ready);
- }
-
- // Remember that the DOM is ready
- jQuery.isReady = true;
-
- // If a normal DOM Ready event fired, decrement, and wait if need be
- if (wait !== true && --jQuery.readyWait > 0) {
- return;
- }
-
- // If there are functions bound, to execute
- readyList.resolveWith(document, [jQuery]);
-
- // Trigger any bound ready events
- if (jQuery.fn.trigger) {
- jQuery(document).trigger("ready").off("ready");
- }
- },
-
- // See test/unit/core.js for details concerning isFunction.
- // Since version 1.3, DOM methods and functions like alert
- // aren't supported. They return false on IE (#2968).
- isFunction: function (obj) {
- return jQuery.type(obj) === "function";
- },
-
- isArray: Array.isArray || function (obj) {
- return jQuery.type(obj) === "array";
- },
-
- isWindow: function (obj) {
- /* jshint eqeqeq: false */
- return obj != null && obj == obj.window;
- },
-
- isNumeric: function (obj) {
- return !isNaN(parseFloat(obj)) && isFinite(obj);
- },
-
- type: function (obj) {
- if (obj == null) {
- return String(obj);
- }
- return typeof obj === "object" || typeof obj === "function" ?
- class2type[core_toString.call(obj)] || "object" :
- typeof obj;
- },
-
- isPlainObject: function (obj) {
- var key;
-
- // Must be an Object.
- // Because of IE, we also have to check the presence of the constructor property.
- // Make sure that DOM nodes and window objects don't pass through, as well
- if (!obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow(obj)) {
- return false;
- }
-
- try {
- // Not own constructor property must be Object
- if (obj.constructor && !core_hasOwn.call(obj, "constructor") && !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf")) {
- return false;
- }
- } catch (e) {
- // IE8,9 Will throw exceptions on certain host objects #9897
- return false;
- }
-
- // Support: IE<9
- // Handle iteration over inherited properties before own properties.
- if (jQuery.support.ownLast) {
- for (key in obj) {
- return core_hasOwn.call(obj, key);
- }
- }
-
- // Own properties are enumerated firstly, so to speed up,
- // if last one is own, then all properties are own.
- for (key in obj) {
- }
-
- return key === undefined || core_hasOwn.call(obj, key);
- },
-
- isEmptyObject: function (obj) {
- var name;
- for (name in obj) {
- return false;
- }
- return true;
- },
-
- error: function (msg) {
- throw new Error(msg);
- },
-
- // data: string of html
- // context (optional): If specified, the fragment will be created in this context, defaults to document
- // keepScripts (optional): If true, will include scripts passed in the html string
- parseHTML: function (data, context, keepScripts) {
- if (!data || typeof data !== "string") {
- return null;
- }
- if (typeof context === "boolean") {
- keepScripts = context;
- context = false;
- }
- context = context || document;
-
- var parsed = rsingleTag.exec(data),
- scripts = !keepScripts && [];
-
- // Single tag
- if (parsed) {
- return [context.createElement(parsed[1])];
- }
-
- parsed = jQuery.buildFragment([data], context, scripts);
- if (scripts) {
- jQuery(scripts).remove();
- }
- return jQuery.merge([], parsed.childNodes);
- },
-
- parseJSON: function (data) {
- // Attempt to parse using the native JSON parser first
- if (window.JSON && window.JSON.parse) {
- return window.JSON.parse(data);
- }
-
- if (data === null) {
- return data;
- }
-
- if (typeof data === "string") {
-
- // Make sure leading/trailing whitespace is removed (IE can't handle it)
- data = jQuery.trim(data);
-
- if (data) {
- // Make sure the incoming data is actual JSON
- // Logic borrowed from http://json.org/json2.js
- if (rvalidchars.test(data.replace(rvalidescape, "@")
- .replace(rvalidtokens, "]")
- .replace(rvalidbraces, ""))) {
-
- return ( new Function("return " + data) )();
- }
- }
- }
-
- jQuery.error("Invalid JSON: " + data);
- },
-
- // Cross-browser xml parsing
- parseXML: function (data) {
- var xml, tmp;
- if (!data || typeof data !== "string") {
- return null;
- }
- try {
- if (window.DOMParser) { // Standard
- tmp = new DOMParser();
- xml = tmp.parseFromString(data, "text/xml");
- } else { // IE
- xml = new ActiveXObject("Microsoft.XMLDOM");
- xml.async = "false";
- xml.loadXML(data);
- }
- } catch (e) {
- xml = undefined;
- }
- if (!xml || !xml.documentElement || xml.getElementsByTagName("parsererror").length) {
- jQuery.error("Invalid XML: " + data);
- }
- return xml;
- },
-
- noop: function () {
- },
-
- // Evaluates a script in a global context
- // Workarounds based on findings by Jim Driscoll
- // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
- globalEval: function (data) {
- if (data && jQuery.trim(data)) {
- // We use execScript on Internet Explorer
- // We use an anonymous function so that context is window
- // rather than jQuery in Firefox
- ( window.execScript || function (data) {
- window["eval"].call(window, data);
- } )(data);
- }
- },
-
- // Convert dashed to camelCase; used by the css and data modules
- // Microsoft forgot to hump their vendor prefix (#9572)
- camelCase: function (string) {
- return string.replace(rmsPrefix, "ms-").replace(rdashAlpha, fcamelCase);
- },
-
- nodeName: function (elem, name) {
- return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
- },
-
- // args is for internal usage only
- each: function (obj, callback, args) {
- var value,
- i = 0,
- length = obj.length,
- isArray = isArraylike(obj);
-
- if (args) {
- if (isArray) {
- for (; i < length; i++) {
- value = callback.apply(obj[i], args);
-
- if (value === false) {
- break;
- }
- }
- } else {
- for (i in obj) {
- value = callback.apply(obj[i], args);
-
- if (value === false) {
- break;
- }
- }
- }
-
- // A special, fast, case for the most common use of each
- } else {
- if (isArray) {
- for (; i < length; i++) {
- value = callback.call(obj[i], i, obj[i]);
-
- if (value === false) {
- break;
- }
- }
- } else {
- for (i in obj) {
- value = callback.call(obj[i], i, obj[i]);
-
- if (value === false) {
- break;
- }
- }
- }
- }
-
- return obj;
- },
-
- // Use native String.trim function wherever possible
- trim: core_trim && !core_trim.call("\uFEFF\xA0") ?
- function (text) {
- return text == null ?
- "" :
- core_trim.call(text);
- } :
-
- // Otherwise use our own trimming functionality
- function (text) {
- return text == null ?
- "" :
- ( text + "" ).replace(rtrim, "");
- },
-
- // results is for internal usage only
- makeArray: function (arr, results) {
- var ret = results || [];
-
- if (arr != null) {
- if (isArraylike(Object(arr))) {
- jQuery.merge(ret,
- typeof arr === "string" ?
- [arr] : arr
- );
- } else {
- core_push.call(ret, arr);
- }
- }
-
- return ret;
- },
-
- inArray: function (elem, arr, i) {
- var len;
-
- if (arr) {
- if (core_indexOf) {
- return core_indexOf.call(arr, elem, i);
- }
-
- len = arr.length;
- i = i ? i < 0 ? Math.max(0, len + i) : i : 0;
-
- for (; i < len; i++) {
- // Skip accessing in sparse arrays
- if (i in arr && arr[i] === elem) {
- return i;
- }
- }
- }
-
- return -1;
- },
-
- merge: function (first, second) {
- var l = second.length,
- i = first.length,
- j = 0;
-
- if (typeof l === "number") {
- for (; j < l; j++) {
- first[i++] = second[j];
- }
- } else {
- while (second[j] !== undefined) {
- first[i++] = second[j++];
- }
- }
-
- first.length = i;
-
- return first;
- },
-
- grep: function (elems, callback, inv) {
- var retVal,
- ret = [],
- i = 0,
- length = elems.length;
- inv = !!inv;
-
- // Go through the array, only saving the items
- // that pass the validator function
- for (; i < length; i++) {
- retVal = !!callback(elems[i], i);
- if (inv !== retVal) {
- ret.push(elems[i]);
- }
- }
-
- return ret;
- },
-
- // arg is for internal usage only
- map: function (elems, callback, arg) {
- var value,
- i = 0,
- length = elems.length,
- isArray = isArraylike(elems),
- ret = [];
-
- // Go through the array, translating each of the items to their
- if (isArray) {
- for (; i < length; i++) {
- value = callback(elems[i], i, arg);
-
- if (value != null) {
- ret[ret.length] = value;
- }
- }
-
- // Go through every key on the object,
- } else {
- for (i in elems) {
- value = callback(elems[i], i, arg);
-
- if (value != null) {
- ret[ret.length] = value;
- }
- }
- }
-
- // Flatten any nested arrays
- return core_concat.apply([], ret);
- },
-
- // A global GUID counter for objects
- guid: 1,
-
- // Bind a function to a context, optionally partially applying any
- // arguments.
- proxy: function (fn, context) {
- var args, proxy, tmp;
-
- if (typeof context === "string") {
- tmp = fn[context];
- context = fn;
- fn = tmp;
- }
-
- // Quick check to determine if target is callable, in the spec
- // this throws a TypeError, but we will just return undefined.
- if (!jQuery.isFunction(fn)) {
- return undefined;
- }
-
- // Simulated bind
- args = core_slice.call(arguments, 2);
- proxy = function () {
- return fn.apply(context || this, args.concat(core_slice.call(arguments)));
- };
-
- // Set the guid of unique handler to the same of original handler, so it can be removed
- proxy.guid = fn.guid = fn.guid || jQuery.guid++;
-
- return proxy;
- },
-
- // Multifunctional method to get and set values of a collection
- // The value/s can optionally be executed if it's a function
- access: function (elems, fn, key, value, chainable, emptyGet, raw) {
- var i = 0,
- length = elems.length,
- bulk = key == null;
-
- // Sets many values
- if (jQuery.type(key) === "object") {
- chainable = true;
- for (i in key) {
- jQuery.access(elems, fn, i, key[i], true, emptyGet, raw);
- }
-
- // Sets one value
- } else if (value !== undefined) {
- chainable = true;
-
- if (!jQuery.isFunction(value)) {
- raw = true;
- }
-
- if (bulk) {
- // Bulk operations run against the entire set
- if (raw) {
- fn.call(elems, value);
- fn = null;
-
- // ...except when executing function values
- } else {
- bulk = fn;
- fn = function (elem, key, value) {
- return bulk.call(jQuery(elem), value);
- };
- }
- }
-
- if (fn) {
- for (; i < length; i++) {
- fn(elems[i], key, raw ? value : value.call(elems[i], i, fn(elems[i], key)));
- }
- }
- }
-
- return chainable ?
- elems :
-
- // Gets
- bulk ?
- fn.call(elems) :
- length ? fn(elems[0], key) : emptyGet;
- },
-
- now: function () {
- return ( new Date() ).getTime();
- },
-
- // A method for quickly swapping in/out CSS properties to get correct calculations.
- // Note: this method belongs to the css module but it's needed here for the support module.
- // If support gets modularized, this method should be moved back to the css module.
- swap: function (elem, options, callback, args) {
- var ret, name,
- old = {};
-
- // Remember the old values, and insert the new ones
- for (name in options) {
- old[name] = elem.style[name];
- elem.style[name] = options[name];
- }
-
- ret = callback.apply(elem, args || []);
-
- // Revert the old values
- for (name in options) {
- elem.style[name] = old[name];
- }
-
- return ret;
- }
- });
-
- jQuery.ready.promise = function (obj) {
- if (!readyList) {
-
- readyList = jQuery.Deferred();
-
- // Catch cases where $(document).ready() is called after the browser event has already occurred.
- // we once tried to use readyState "interactive" here, but it caused issues like the one
- // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15
- if (document.readyState === "complete") {
- // Handle it asynchronously to allow scripts the opportunity to delay ready
- setTimeout(jQuery.ready);
-
- // Standards-based browsers support DOMContentLoaded
- } else if (document.addEventListener) {
- // Use the handy event callback
- document.addEventListener("DOMContentLoaded", completed, false);
-
- // A fallback to window.onload, that will always work
- window.addEventListener("load", completed, false);
-
- // If IE event model is used
- } else {
- // Ensure firing before onload, maybe late but safe also for iframes
- document.attachEvent("onreadystatechange", completed);
-
- // A fallback to window.onload, that will always work
- window.attachEvent("onload", completed);
-
- // If IE and not a frame
- // continually check to see if the document is ready
- var top = false;
-
- try {
- top = window.frameElement == null && document.documentElement;
- } catch (e) {
- }
-
- if (top && top.doScroll) {
- (function doScrollCheck() {
- if (!jQuery.isReady) {
-
- try {
- // Use the trick by Diego Perini
- // http://javascript.nwbox.com/IEContentLoaded/
- top.doScroll("left");
- } catch (e) {
- return setTimeout(doScrollCheck, 50);
- }
-
- // detach all dom ready events
- detach();
-
- // and execute any waiting functions
- jQuery.ready();
- }
- })();
- }
- }
- }
- return readyList.promise(obj);
- };
-
-// Populate the class2type map
- jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (i, name) {
- class2type["[object " + name + "]"] = name.toLowerCase();
- });
-
- function isArraylike(obj) {
- var length = obj.length,
- type = jQuery.type(obj);
-
- if (jQuery.isWindow(obj)) {
- return false;
- }
-
- if (obj.nodeType === 1 && length) {
- return true;
- }
-
- return type === "array" || type !== "function" &&
- ( length === 0 ||
- typeof length === "number" && length > 0 && ( length - 1 ) in obj );
- }
-
-// All jQuery objects should point back to these
- rootjQuery = jQuery(document);
- /*!
- * Sizzle CSS Selector Engine v1.10.2
- * http://sizzlejs.com/
- *
- * Copyright 2013 jQuery Foundation, Inc. and other contributors
- * Released under the MIT license
- * http://jquery.org/license
- *
- * Date: 2013-07-03
- */
- (function (window, undefined) {
-
- var i,
- support,
- cachedruns,
- Expr,
- getText,
- isXML,
- compile,
- outermostContext,
- sortInput,
-
- // Local document vars
- setDocument,
- document,
- docElem,
- documentIsHTML,
- rbuggyQSA,
- rbuggyMatches,
- matches,
- contains,
-
- // Instance-specific data
- expando = "sizzle" + -(new Date()),
- preferredDoc = window.document,
- dirruns = 0,
- done = 0,
- classCache = createCache(),
- tokenCache = createCache(),
- compilerCache = createCache(),
- hasDuplicate = false,
- sortOrder = function (a, b) {
- if (a === b) {
- hasDuplicate = true;
- return 0;
- }
- return 0;
- },
-
- // General-purpose constants
- strundefined = typeof undefined,
- MAX_NEGATIVE = 1 << 31,
-
- // Instance methods
- hasOwn = ({}).hasOwnProperty,
- arr = [],
- pop = arr.pop,
- push_native = arr.push,
- push = arr.push,
- slice = arr.slice,
- // Use a stripped-down indexOf if we can't use a native one
- indexOf = arr.indexOf || function (elem) {
- var i = 0,
- len = this.length;
- for (; i < len; i++) {
- if (this[i] === elem) {
- return i;
- }
- }
- return -1;
- },
-
- booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
-
- // Regular expressions
-
- // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace
- whitespace = "[\\x20\\t\\r\\n\\f]",
- // http://www.w3.org/TR/css3-syntax/#characters
- characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
-
- // Loosely modeled on CSS identifier characters
- // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors
- // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
- identifier = characterEncoding.replace("w", "w#"),
-
- // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors
- attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace +
- "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]",
-
- // Prefer arguments quoted,
- // then not containing pseudos/brackets,
- // then attribute selectors/non-parenthetical expressions,
- // then anything else
- // These preferences are here to reduce the number of selectors
- // needing tokenize in the PSEUDO preFilter
- pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace(3, 8) + ")*)|.*)\\)|)",
-
- // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
- rtrim = new RegExp("^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g"),
-
- rcomma = new RegExp("^" + whitespace + "*," + whitespace + "*"),
- rcombinators = new RegExp("^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*"),
-
- rsibling = new RegExp(whitespace + "*[+~]"),
- rattributeQuotes = new RegExp("=" + whitespace + "*([^\\]'\"]*)" + whitespace + "*\\]", "g"),
-
- rpseudo = new RegExp(pseudos),
- ridentifier = new RegExp("^" + identifier + "$"),
-
- matchExpr = {
- "ID": new RegExp("^#(" + characterEncoding + ")"),
- "CLASS": new RegExp("^\\.(" + characterEncoding + ")"),
- "TAG": new RegExp("^(" + characterEncoding.replace("w", "w*") + ")"),
- "ATTR": new RegExp("^" + attributes),
- "PSEUDO": new RegExp("^" + pseudos),
- "CHILD": new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +
- "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace +
- "*(\\d+)|))" + whitespace + "*\\)|)", "i"),
- "bool": new RegExp("^(?:" + booleans + ")$", "i"),
- // For use in libraries implementing .is()
- // We use this for POS matching in `select`
- "needsContext": new RegExp("^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
- whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i")
- },
-
- rnative = /^[^{]+\{\s*\[native \w/,
-
- // Easily-parseable/retrievable ID or TAG or CLASS selectors
- rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
-
- rinputs = /^(?:input|select|textarea|button)$/i,
- rheader = /^h\d$/i,
-
- rescape = /'|\\/g,
-
- // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
- runescape = new RegExp("\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig"),
- funescape = function (_, escaped, escapedWhitespace) {
- var high = "0x" + escaped - 0x10000;
- // NaN means non-codepoint
- // Support: Firefox
- // Workaround erroneous numeric interpretation of +"0x"
- return high !== high || escapedWhitespace ?
- escaped :
- // BMP codepoint
- high < 0 ?
- String.fromCharCode(high + 0x10000) :
- // Supplemental Plane codepoint (surrogate pair)
- String.fromCharCode(high >> 10 | 0xD800, high & 0x3FF | 0xDC00);
- };
-
-// Optimize for push.apply( _, NodeList )
- try {
- push.apply(
- (arr = slice.call(preferredDoc.childNodes)),
- preferredDoc.childNodes
- );
- // Support: Android<4.0
- // Detect silently failing push.apply
- arr[preferredDoc.childNodes.length].nodeType;
- } catch (e) {
- push = {
- apply: arr.length ?
-
- // Leverage slice if possible
- function (target, els) {
- push_native.apply(target, slice.call(els));
- } :
-
- // Support: IE<9
- // Otherwise append directly
- function (target, els) {
- var j = target.length,
- i = 0;
- // Can't trust NodeList.length
- while ((target[j++] = els[i++])) {
- }
- target.length = j - 1;
- }
- };
- }
-
- function Sizzle(selector, context, results, seed) {
- var match, elem, m, nodeType,
- // QSA vars
- i, groups, old, nid, newContext, newSelector;
-
- if (( context ? context.ownerDocument || context : preferredDoc ) !== document) {
- setDocument(context);
- }
-
- context = context || document;
- results = results || [];
-
- if (!selector || typeof selector !== "string") {
- return results;
- }
-
- if ((nodeType = context.nodeType) !== 1 && nodeType !== 9) {
- return [];
- }
-
- if (documentIsHTML && !seed) {
-
- // Shortcuts
- if ((match = rquickExpr.exec(selector))) {
- // Speed-up: Sizzle("#ID")
- if ((m = match[1])) {
- if (nodeType === 9) {
- elem = context.getElementById(m);
- // Check parentNode to catch when Blackberry 4.6 returns
- // nodes that are no longer in the document #6963
- if (elem && elem.parentNode) {
- // Handle the case where IE, Opera, and Webkit return items
- // by name instead of ID
- if (elem.id === m) {
- results.push(elem);
- return results;
- }
- } else {
- return results;
- }
- } else {
- // Context is not a document
- if (context.ownerDocument && (elem = context.ownerDocument.getElementById(m)) &&
- contains(context, elem) && elem.id === m) {
- results.push(elem);
- return results;
- }
- }
-
- // Speed-up: Sizzle("TAG")
- } else if (match[2]) {
- push.apply(results, context.getElementsByTagName(selector));
- return results;
-
- // Speed-up: Sizzle(".CLASS")
- } else if ((m = match[3]) && support.getElementsByClassName && context.getElementsByClassName) {
- push.apply(results, context.getElementsByClassName(m));
- return results;
- }
- }
-
- // QSA path
- if (support.qsa && (!rbuggyQSA || !rbuggyQSA.test(selector))) {
- nid = old = expando;
- newContext = context;
- newSelector = nodeType === 9 && selector;
-
- // qSA works strangely on Element-rooted queries
- // We can work around this by specifying an extra ID on the root
- // and working up from there (Thanks to Andrew Dupont for the technique)
- // IE 8 doesn't work on object elements
- if (nodeType === 1 && context.nodeName.toLowerCase() !== "object") {
- groups = tokenize(selector);
-
- if ((old = context.getAttribute("id"))) {
- nid = old.replace(rescape, "\\$&");
- } else {
- context.setAttribute("id", nid);
- }
- nid = "[id='" + nid + "'] ";
-
- i = groups.length;
- while (i--) {
- groups[i] = nid + toSelector(groups[i]);
- }
- newContext = rsibling.test(selector) && context.parentNode || context;
- newSelector = groups.join(",");
- }
-
- if (newSelector) {
- try {
- push.apply(results,
- newContext.querySelectorAll(newSelector)
- );
- return results;
- } catch (qsaError) {
- } finally {
- if (!old) {
- context.removeAttribute("id");
- }
- }
- }
- }
- }
-
- // All others
- return select(selector.replace(rtrim, "$1"), context, results, seed);
- }
-
- /**
- * Create key-value caches of limited size
- * @returns {Function(string, Object)} Returns the Object data after storing it on itself with
- * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
- * deleting the oldest entry
- */
- function createCache() {
- var keys = [];
-
- function cache(key, value) {
- // Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
- if (keys.push(key += " ") > Expr.cacheLength) {
- // Only keep the most recent entries
- delete cache[keys.shift()];
- }
- return (cache[key] = value);
- }
-
- return cache;
- }
-
- /**
- * Mark a function for special use by Sizzle
- * @param {Function} fn The function to mark
- */
- function markFunction(fn) {
- fn[expando] = true;
- return fn;
- }
-
- /**
- * Support testing using an element
- * @param {Function} fn Passed the created div and expects a boolean result
- */
- function assert(fn) {
- var div = document.createElement("div");
-
- try {
- return !!fn(div);
- } catch (e) {
- return false;
- } finally {
- // Remove from its parent by default
- if (div.parentNode) {
- div.parentNode.removeChild(div);
- }
- // release memory in IE
- div = null;
- }
- }
-
- /**
- * Adds the same handler for all of the specified attrs
- * @param {String} attrs Pipe-separated list of attributes
- * @param {Function} handler The method that will be applied
- */
- function addHandle(attrs, handler) {
- var arr = attrs.split("|"),
- i = attrs.length;
-
- while (i--) {
- Expr.attrHandle[arr[i]] = handler;
- }
- }
-
- /**
- * Checks document order of two siblings
- * @param {Element} a
- * @param {Element} b
- * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
- */
- function siblingCheck(a, b) {
- var cur = b && a,
- diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
- ( ~b.sourceIndex || MAX_NEGATIVE ) -
- ( ~a.sourceIndex || MAX_NEGATIVE );
-
- // Use IE sourceIndex if available on both nodes
- if (diff) {
- return diff;
- }
-
- // Check if b follows a
- if (cur) {
- while ((cur = cur.nextSibling)) {
- if (cur === b) {
- return -1;
- }
- }
- }
-
- return a ? 1 : -1;
- }
-
- /**
- * Returns a function to use in pseudos for input types
- * @param {String} type
- */
- function createInputPseudo(type) {
- return function (elem) {
- var name = elem.nodeName.toLowerCase();
- return name === "input" && elem.type === type;
- };
- }
-
- /**
- * Returns a function to use in pseudos for buttons
- * @param {String} type
- */
- function createButtonPseudo(type) {
- return function (elem) {
- var name = elem.nodeName.toLowerCase();
- return (name === "input" || name === "button") && elem.type === type;
- };
- }
-
- /**
- * Returns a function to use in pseudos for positionals
- * @param {Function} fn
- */
- function createPositionalPseudo(fn) {
- return markFunction(function (argument) {
- argument = +argument;
- return markFunction(function (seed, matches) {
- var j,
- matchIndexes = fn([], seed.length, argument),
- i = matchIndexes.length;
-
- // Match elements found at the specified indexes
- while (i--) {
- if (seed[(j = matchIndexes[i])]) {
- seed[j] = !(matches[j] = seed[j]);
- }
- }
- });
- });
- }
-
- /**
- * Detect xml
- * @param {Element|Object} elem An element or a document
- */
- isXML = Sizzle.isXML = function (elem) {
- // documentElement is verified for cases where it doesn't yet exist
- // (such as loading iframes in IE - #4833)
- var documentElement = elem && (elem.ownerDocument || elem).documentElement;
- return documentElement ? documentElement.nodeName !== "HTML" : false;
- };
-
-// Expose support vars for convenience
- support = Sizzle.support = {};
-
- /**
- * Sets document-related variables once based on the current document
- * @param {Element|Object} [doc] An element or document object to use to set the document
- * @returns {Object} Returns the current document
- */
- setDocument = Sizzle.setDocument = function (node) {
- var doc = node ? node.ownerDocument || node : preferredDoc,
- parent = doc.defaultView;
-
- // If no document and documentElement is available, return
- if (doc === document || doc.nodeType !== 9 || !doc.documentElement) {
- return document;
- }
-
- // Set our document
- document = doc;
- docElem = doc.documentElement;
-
- // Support tests
- documentIsHTML = !isXML(doc);
-
- // Support: IE>8
- // If iframe document is assigned to "document" variable and if iframe has been reloaded,
- // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936
- // IE6-8 do not support the defaultView property so parent will be undefined
- if (parent && parent.attachEvent && parent !== parent.top) {
- parent.attachEvent("onbeforeunload", function () {
- setDocument();
- });
- }
-
- /* Attributes
- ---------------------------------------------------------------------- */
-
- // Support: IE<8
- // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans)
- support.attributes = assert(function (div) {
- div.className = "i";
- return !div.getAttribute("className");
- });
-
- /* getElement(s)By*
- ---------------------------------------------------------------------- */
-
- // Check if getElementsByTagName("*") returns only elements
- support.getElementsByTagName = assert(function (div) {
- div.appendChild(doc.createComment(""));
- return !div.getElementsByTagName("*").length;
- });
-
- // Check if getElementsByClassName can be trusted
- support.getElementsByClassName = assert(function (div) {
- div.innerHTML = "<div class='a'></div><div class='a i'></div>";
-
- // Support: Safari<4
- // Catch class over-caching
- div.firstChild.className = "i";
- // Support: Opera<10
- // Catch gEBCN failure to find non-leading classes
- return div.getElementsByClassName("i").length === 2;
- });
-
- // Support: IE<10
- // Check if getElementById returns elements by name
- // The broken getElementById methods don't pick up programatically-set names,
- // so use a roundabout getElementsByName test
- support.getById = assert(function (div) {
- docElem.appendChild(div).id = expando;
- return !doc.getElementsByName || !doc.getElementsByName(expando).length;
- });
-
- // ID find and filter
- if (support.getById) {
- Expr.find["ID"] = function (id, context) {
- if (typeof context.getElementById !== strundefined && documentIsHTML) {
- var m = context.getElementById(id);
- // Check parentNode to catch when Blackberry 4.6 returns
- // nodes that are no longer in the document #6963
- return m && m.parentNode ? [m] : [];
- }
- };
- Expr.filter["ID"] = function (id) {
- var attrId = id.replace(runescape, funescape);
- return function (elem) {
- return elem.getAttribute("id") === attrId;
- };
- };
- } else {
- // Support: IE6/7
- // getElementById is not reliable as a find shortcut
- delete Expr.find["ID"];
-
- Expr.filter["ID"] = function (id) {
- var attrId = id.replace(runescape, funescape);
- return function (elem) {
- var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id");
- return node && node.value === attrId;
- };
- };
- }
-
- // Tag
- Expr.find["TAG"] = support.getElementsByTagName ?
- function (tag, context) {
- if (typeof context.getElementsByTagName !== strundefined) {
- return context.getElementsByTagName(tag);
- }
- } :
- function (tag, context) {
- var elem,
- tmp = [],
- i = 0,
- results = context.getElementsByTagName(tag);
-
- // Filter out possible comments
- if (tag === "*") {
- while ((elem = results[i++])) {
- if (elem.nodeType === 1) {
- tmp.push(elem);
- }
- }
-
- return tmp;
- }
- return results;
- };
-
- // Class
- Expr.find["CLASS"] = support.getElementsByClassName && function (className, context) {
- if (typeof context.getElementsByClassName !== strundefined && documentIsHTML) {
- return context.getElementsByClassName(className);
- }
- };
-
- /* QSA/matchesSelector
- ---------------------------------------------------------------------- */
-
- // QSA and matchesSelector support
-
- // matchesSelector(:active) reports false when true (IE9/Opera 11.5)
- rbuggyMatches = [];
-
- // qSa(:focus) reports false when true (Chrome 21)
- // We allow this because of a bug in IE8/9 that throws an error
- // whenever `document.activeElement` is accessed on an iframe
- // So, we allow :focus to pass through QSA all the time to avoid the IE error
- // See http://bugs.jquery.com/ticket/13378
- rbuggyQSA = [];
-
- if ((support.qsa = rnative.test(doc.querySelectorAll))) {
- // Build QSA regex
- // Regex strategy adopted from Diego Perini
- assert(function (div) {
- // Select is set to empty string on purpose
- // This is to test IE's treatment of not explicitly
- // setting a boolean content attribute,
- // since its presence should be enough
- // http://bugs.jquery.com/ticket/12359
- div.innerHTML = "<select><option selected=''></option></select>";
-
- // Support: IE8
- // Boolean attributes and "value" are not treated correctly
- if (!div.querySelectorAll("[selected]").length) {
- rbuggyQSA.push("\\[" + whitespace + "*(?:value|" + booleans + ")");
- }
-
- // Webkit/Opera - :checked should return selected option elements
- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
- // IE8 throws error here and will not see later tests
- if (!div.querySelectorAll(":checked").length) {
- rbuggyQSA.push(":checked");
- }
- });
-
- assert(function (div) {
-
- // Support: Opera 10-12/IE8
- // ^= $= *= and empty values
- // Should not select anything
- // Support: Windows 8 Native Apps
- // The type attribute is restricted during .innerHTML assignment
- var input = doc.createElement("input");
- input.setAttribute("type", "hidden");
- div.appendChild(input).setAttribute("t", "");
-
- if (div.querySelectorAll("[t^='']").length) {
- rbuggyQSA.push("[*^$]=" + whitespace + "*(?:''|\"\")");
- }
-
- // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
- // IE8 throws error here and will not see later tests
- if (!div.querySelectorAll(":enabled").length) {
- rbuggyQSA.push(":enabled", ":disabled");
- }
-
- // Opera 10-11 does not throw on post-comma invalid pseudos
- div.querySelectorAll("*,:x");
- rbuggyQSA.push(",.*:");
- });
- }
-
- if ((support.matchesSelector = rnative.test((matches = docElem.webkitMatchesSelector ||
- docElem.mozMatchesSelector ||
- docElem.oMatchesSelector ||
- docElem.msMatchesSelector)))) {
-
- assert(function (div) {
- // Check to see if it's possible to do matchesSelector
- // on a disconnected node (IE 9)
- support.disconnectedMatch = matches.call(div, "div");
-
- // This should fail with an exception
- // Gecko does not error, returns false instead
- matches.call(div, "[s!='']:x");
- rbuggyMatches.push("!=", pseudos);
- });
- }
-
- rbuggyQSA = rbuggyQSA.length && new RegExp(rbuggyQSA.join("|"));
- rbuggyMatches = rbuggyMatches.length && new RegExp(rbuggyMatches.join("|"));
-
- /* Contains
- ---------------------------------------------------------------------- */
-
- // Element contains another
- // Purposefully does not implement inclusive descendent
- // As in, an element does not contain itself
- contains = rnative.test(docElem.contains) || docElem.compareDocumentPosition ?
- function (a, b) {
- var adown = a.nodeType === 9 ? a.documentElement : a,
- bup = b && b.parentNode;
- return a === bup || !!( bup && bup.nodeType === 1 && (
- adown.contains ?
- adown.contains(bup) :
- a.compareDocumentPosition && a.compareDocumentPosition(bup) & 16
- ));
- } :
- function (a, b) {
- if (b) {
- while ((b = b.parentNode)) {
- if (b === a) {
- return true;
- }
- }
- }
- return false;
- };
-
- /* Sorting
- ---------------------------------------------------------------------- */
-
- // Document order sorting
- sortOrder = docElem.compareDocumentPosition ?
- function (a, b) {
-
- // Flag for duplicate removal
- if (a === b) {
- hasDuplicate = true;
- return 0;
- }
-
- var compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition(b);
-
- if (compare) {
- // Disconnected nodes
- if (compare & 1 ||
- (!support.sortDetached && b.compareDocumentPosition(a) === compare)) {
-
- // Choose the first element that is related to our preferred document
- if (a === doc || contains(preferredDoc, a)) {
- return -1;
- }
- if (b === doc || contains(preferredDoc, b)) {
- return 1;
- }
-
- // Maintain original order
- return sortInput ?
- ( indexOf.call(sortInput, a) - indexOf.call(sortInput, b) ) :
- 0;
- }
-
- return compare & 4 ? -1 : 1;
- }
-
- // Not directly comparable, sort on existence of method
- return a.compareDocumentPosition ? -1 : 1;
- } :
- function (a, b) {
- var cur,
- i = 0,
- aup = a.parentNode,
- bup = b.parentNode,
- ap = [a],
- bp = [b];
-
- // Exit early if the nodes are identical
- if (a === b) {
- hasDuplicate = true;
- return 0;
-
- // Parentless nodes are either documents or disconnected
- } else if (!aup || !bup) {
- return a === doc ? -1 :
- b === doc ? 1 :
- aup ? -1 :
- bup ? 1 :
- sortInput ?
- ( indexOf.call(sortInput, a) - indexOf.call(sortInput, b) ) :
- 0;
-
- // If the nodes are siblings, we can do a quick check
- } else if (aup === bup) {
- return siblingCheck(a, b);
- }
-
- // Otherwise we need full lists of their ancestors for comparison
- cur = a;
- while ((cur = cur.parentNode)) {
- ap.unshift(cur);
- }
- cur = b;
- while ((cur = cur.parentNode)) {
- bp.unshift(cur);
- }
-
- // Walk down the tree looking for a discrepancy
- while (ap[i] === bp[i]) {
- i++;
- }
-
- return i ?
- // Do a sibling check if the nodes have a common ancestor
- siblingCheck(ap[i], bp[i]) :
-
- // Otherwise nodes in our document sort first
- ap[i] === preferredDoc ? -1 :
- bp[i] === preferredDoc ? 1 :
- 0;
- };
-
- return doc;
- };
-
- Sizzle.matches = function (expr, elements) {
- return Sizzle(expr, null, null, elements);
- };
-
- Sizzle.matchesSelector = function (elem, expr) {
- // Set document vars if needed
- if (( elem.ownerDocument || elem ) !== document) {
- setDocument(elem);
- }
-
- // Make sure that attribute selectors are quoted
- expr = expr.replace(rattributeQuotes, "='$1']");
-
- if (support.matchesSelector && documentIsHTML &&
- ( !rbuggyMatches || !rbuggyMatches.test(expr) ) &&
- ( !rbuggyQSA || !rbuggyQSA.test(expr) )) {
-
- try {
- var ret = matches.call(elem, expr);
-
- // IE 9's matchesSelector returns false on disconnected nodes
- if (ret || support.disconnectedMatch ||
- // As well, disconnected nodes are said to be in a document
- // fragment in IE 9
- elem.document && elem.document.nodeType !== 11) {
- return ret;
- }
- } catch (e) {
- }
- }
-
- return Sizzle(expr, document, null, [elem]).length > 0;
- };
-
- Sizzle.contains = function (context, elem) {
- // Set document vars if needed
- if (( context.ownerDocument || context ) !== document) {
- setDocument(context);
- }
- return contains(context, elem);
- };
-
- Sizzle.attr = function (elem, name) {
- // Set document vars if needed
- if (( elem.ownerDocument || elem ) !== document) {
- setDocument(elem);
- }
-
- var fn = Expr.attrHandle[name.toLowerCase()],
- // Don't get fooled by Object.prototype properties (jQuery #13807)
- val = fn && hasOwn.call(Expr.attrHandle, name.toLowerCase()) ?
- fn(elem, name, !documentIsHTML) :
- undefined;
-
- return val === undefined ?
- support.attributes || !documentIsHTML ?
- elem.getAttribute(name) :
- (val = elem.getAttributeNode(name)) && val.specified ?
- val.value :
- null :
- val;
- };
-
- Sizzle.error = function (msg) {
- throw new Error("Syntax error, unrecognized expression: " + msg);
- };
-
- /**
- * Document sorting and removing duplicates
- * @param {ArrayLike} results
- */
- Sizzle.uniqueSort = function (results) {
- var elem,
- duplicates = [],
- j = 0,
- i = 0;
-
- // Unless we *know* we can detect duplicates, assume their presence
- hasDuplicate = !support.detectDuplicates;
- sortInput = !support.sortStable && results.slice(0);
- results.sort(sortOrder);
-
- if (hasDuplicate) {
- while ((elem = results[i++])) {
- if (elem === results[i]) {
- j = duplicates.push(i);
- }
- }
- while (j--) {
- results.splice(duplicates[j], 1);
- }
- }
-
- return results;
- };
-
- /**
- * Utility function for retrieving the text value of an array of DOM nodes
- * @param {Array|Element} elem
- */
- getText = Sizzle.getText = function (elem) {
- var node,
- ret = "",
- i = 0,
- nodeType = elem.nodeType;
-
- if (!nodeType) {
- // If no nodeType, this is expected to be an array
- for (; (node = elem[i]); i++) {
- // Do not traverse comment nodes
- ret += getText(node);
- }
- } else if (nodeType === 1 || nodeType === 9 || nodeType === 11) {
- // Use textContent for elements
- // innerText usage removed for consistency of new lines (see #11153)
- if (typeof elem.textContent === "string") {
- return elem.textContent;
- } else {
- // Traverse its children
- for (elem = elem.firstChild; elem; elem = elem.nextSibling) {
- ret += getText(elem);
- }
- }
- } else if (nodeType === 3 || nodeType === 4) {
- return elem.nodeValue;
- }
- // Do not include comment or processing instruction nodes
-
- return ret;
- };
-
- Expr = Sizzle.selectors = {
-
- // Can be adjusted by the user
- cacheLength: 50,
-
- createPseudo: markFunction,
-
- match: matchExpr,
-
- attrHandle: {},
-
- find: {},
-
- relative: {
- ">": {dir: "parentNode", first: true},
- " ": {dir: "parentNode"},
- "+": {dir: "previousSibling", first: true},
- "~": {dir: "previousSibling"}
- },
-
- preFilter: {
- "ATTR": function (match) {
- match[1] = match[1].replace(runescape, funescape);
-
- // Move the given value to match[3] whether quoted or unquoted
- match[3] = ( match[4] || match[5] || "" ).replace(runescape, funescape);
-
- if (match[2] === "~=") {
- match[3] = " " + match[3] + " ";
- }
-
- return match.slice(0, 4);
- },
-
- "CHILD": function (match) {
- /* matches from matchExpr["CHILD"]
- 1 type (only|nth|...)
- 2 what (child|of-type)
- 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
- 4 xn-component of xn+y argument ([+-]?\d*n|)
- 5 sign of xn-component
- 6 x of xn-component
- 7 sign of y-component
- 8 y of y-component
- */
- match[1] = match[1].toLowerCase();
-
- if (match[1].slice(0, 3) === "nth") {
- // nth-* requires argument
- if (!match[3]) {
- Sizzle.error(match[0]);
- }
-
- // numeric x and y parameters for Expr.filter.CHILD
- // remember that false/true cast respectively to 0/1
- match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) );
- match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" );
-
- // other types prohibit arguments
- } else if (match[3]) {
- Sizzle.error(match[0]);
- }
-
- return match;
- },
-
- "PSEUDO": function (match) {
- var excess,
- unquoted = !match[5] && match[2];
-
- if (matchExpr["CHILD"].test(match[0])) {
- return null;
- }
-
- // Accept quoted arguments as-is
- if (match[3] && match[4] !== undefined) {
- match[2] = match[4];
-
- // Strip excess characters from unquoted arguments
- } else if (unquoted && rpseudo.test(unquoted) &&
- // Get excess from tokenize (recursively)
- (excess = tokenize(unquoted, true)) &&
- // advance to the next closing parenthesis
- (excess = unquoted.indexOf(")", unquoted.length - excess) - unquoted.length)) {
-
- // excess is a negative index
- match[0] = match[0].slice(0, excess);
- match[2] = unquoted.slice(0, excess);
- }
-
- // Return only captures needed by the pseudo filter method (type and argument)
- return match.slice(0, 3);
- }
- },
-
- filter: {
-
- "TAG": function (nodeNameSelector) {
- var nodeName = nodeNameSelector.replace(runescape, funescape).toLowerCase();
- return nodeNameSelector === "*" ?
- function () {
- return true;
- } :
- function (elem) {
- return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
- };
- },
-
- "CLASS": function (className) {
- var pattern = classCache[className + " "];
-
- return pattern ||
- (pattern = new RegExp("(^|" + whitespace + ")" + className + "(" + whitespace + "|$)")) &&
- classCache(className, function (elem) {
- return pattern.test(typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "");
- });
- },
-
- "ATTR": function (name, operator, check) {
- return function (elem) {
- var result = Sizzle.attr(elem, name);
-
- if (result == null) {
- return operator === "!=";
- }
- if (!operator) {
- return true;
- }
-
- result += "";
-
- return operator === "=" ? result === check :
- operator === "!=" ? result !== check :
- operator === "^=" ? check && result.indexOf(check) === 0 :
- operator === "*=" ? check && result.indexOf(check) > -1 :
- operator === "$=" ? check && result.slice(-check.length) === check :
- operator === "~=" ? ( " " + result + " " ).indexOf(check) > -1 :
- operator === "|=" ? result === check || result.slice(0, check.length + 1) === check + "-" :
- false;
- };
- },
-
- "CHILD": function (type, what, argument, first, last) {
- var simple = type.slice(0, 3) !== "nth",
- forward = type.slice(-4) !== "last",
- ofType = what === "of-type";
-
- return first === 1 && last === 0 ?
-
- // Shortcut for :nth-*(n)
- function (elem) {
- return !!elem.parentNode;
- } :
-
- function (elem, context, xml) {
- var cache, outerCache, node, diff, nodeIndex, start,
- dir = simple !== forward ? "nextSibling" : "previousSibling",
- parent = elem.parentNode,
- name = ofType && elem.nodeName.toLowerCase(),
- useCache = !xml && !ofType;
-
- if (parent) {
-
- // :(first|last|only)-(child|of-type)
- if (simple) {
- while (dir) {
- node = elem;
- while ((node = node[dir])) {
- if (ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1) {
- return false;
- }
- }
- // Reverse direction for :only-* (if we haven't yet done so)
- start = dir = type === "only" && !start && "nextSibling";
- }
- return true;
- }
-
- start = [forward ? parent.firstChild : parent.lastChild];
-
- // non-xml :nth-child(...) stores cache data on `parent`
- if (forward && useCache) {
- // Seek `elem` from a previously-cached index
- outerCache = parent[expando] || (parent[expando] = {});
- cache = outerCache[type] || [];
- nodeIndex = cache[0] === dirruns && cache[1];
- diff = cache[0] === dirruns && cache[2];
- node = nodeIndex && parent.childNodes[nodeIndex];
-
- while ((node = ++nodeIndex && node && node[dir] ||
-
- // Fallback to seeking `elem` from the start
- (diff = nodeIndex = 0) || start.pop())) {
-
- // When found, cache indexes on `parent` and break
- if (node.nodeType === 1 && ++diff && node === elem) {
- outerCache[type] = [dirruns, nodeIndex, diff];
- break;
- }
- }
-
- // Use previously-cached element index if available
- } else if (useCache && (cache = (elem[expando] || (elem[expando] = {}))[type]) && cache[0] === dirruns) {
- diff = cache[1];
-
- // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)
- } else {
- // Use the same loop as above to seek `elem` from the start
- while ((node = ++nodeIndex && node && node[dir] ||
- (diff = nodeIndex = 0) || start.pop())) {
-
- if (( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff) {
- // Cache the index of each encountered element
- if (useCache) {
- (node[expando] || (node[expando] = {}))[type] = [dirruns, diff];
- }
-
- if (node === elem) {
- break;
- }
- }
- }
- }
-
- // Incorporate the offset, then check against cycle size
- diff -= last;
- return diff === first || ( diff % first === 0 && diff / first >= 0 );
- }
- };
- },
-
- "PSEUDO": function (pseudo, argument) {
- // pseudo-class names are case-insensitive
- // http://www.w3.org/TR/selectors/#pseudo-classes
- // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
- // Remember that setFilters inherits from pseudos
- var args,
- fn = Expr.pseudos[pseudo] || Expr.setFilters[pseudo.toLowerCase()] ||
- Sizzle.error("unsupported pseudo: " + pseudo);
-
- // The user may use createPseudo to indicate that
- // arguments are needed to create the filter function
- // just as Sizzle does
- if (fn[expando]) {
- return fn(argument);
- }
-
- // But maintain support for old signatures
- if (fn.length > 1) {
- args = [pseudo, pseudo, "", argument];
- return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ?
- markFunction(function (seed, matches) {
- var idx,
- matched = fn(seed, argument),
- i = matched.length;
- while (i--) {
- idx = indexOf.call(seed, matched[i]);
- seed[idx] = !( matches[idx] = matched[i] );
- }
- }) :
- function (elem) {
- return fn(elem, 0, args);
- };
- }
-
- return fn;
- }
- },
-
- pseudos: {
- // Potentially complex pseudos
- "not": markFunction(function (selector) {
- // Trim the selector passed to compile
- // to avoid treating leading and trailing
- // spaces as combinators
- var input = [],
- results = [],
- matcher = compile(selector.replace(rtrim, "$1"));
-
- return matcher[expando] ?
- markFunction(function (seed, matches, context, xml) {
- var elem,
- unmatched = matcher(seed, null, xml, []),
- i = seed.length;
-
- // Match elements unmatched by `matcher`
- while (i--) {
- if ((elem = unmatched[i])) {
- seed[i] = !(matches[i] = elem);
- }
- }
- }) :
- function (elem, context, xml) {
- input[0] = elem;
- matcher(input, null, xml, results);
- return !results.pop();
- };
- }),
-
- "has": markFunction(function (selector) {
- return function (elem) {
- return Sizzle(selector, elem).length > 0;
- };
- }),
-
- "contains": markFunction(function (text) {
- return function (elem) {
- return ( elem.textContent || elem.innerText || getText(elem) ).indexOf(text) > -1;
- };
- }),
-
- // "Whether an element is represented by a :lang() selector
- // is based solely on the element's language value
- // being equal to the identifier C,
- // or beginning with the identifier C immediately followed by "-".
- // The matching of C against the element's language value is performed case-insensitively.
- // The identifier C does not have to be a valid language name."
- // http://www.w3.org/TR/selectors/#lang-pseudo
- "lang": markFunction(function (lang) {
- // lang value must be a valid identifier
- if (!ridentifier.test(lang || "")) {
- Sizzle.error("unsupported lang: " + lang);
- }
- lang = lang.replace(runescape, funescape).toLowerCase();
- return function (elem) {
- var elemLang;
- do {
- if ((elemLang = documentIsHTML ?
- elem.lang :
- elem.getAttribute("xml:lang") || elem.getAttribute("lang"))) {
-
- elemLang = elemLang.toLowerCase();
- return elemLang === lang || elemLang.indexOf(lang + "-") === 0;
- }
- } while ((elem = elem.parentNode) && elem.nodeType === 1);
- return false;
- };
- }),
-
- // Miscellaneous
- "target": function (elem) {
- var hash = window.location && window.location.hash;
- return hash && hash.slice(1) === elem.id;
- },
-
- "root": function (elem) {
- return elem === docElem;
- },
-
- "focus": function (elem) {
- return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);
- },
-
- // Boolean properties
- "enabled": function (elem) {
- return elem.disabled === false;
- },
-
- "disabled": function (elem) {
- return elem.disabled === true;
- },
-
- "checked": function (elem) {
- // In CSS3, :checked should return both checked and selected elements
- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
- var nodeName = elem.nodeName.toLowerCase();
- return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);
- },
-
- "selected": function (elem) {
- // Accessing this property makes selected-by-default
- // options in Safari work properly
- if (elem.parentNode) {
- elem.parentNode.selectedIndex;
- }
-
- return elem.selected === true;
- },
-
- // Contents
- "empty": function (elem) {
- // http://www.w3.org/TR/selectors/#empty-pseudo
- // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)),
- // not comment, processing instructions, or others
- // Thanks to Diego Perini for the nodeName shortcut
- // Greater than "@" means alpha characters (specifically not starting with "#" or "?")
- for (elem = elem.firstChild; elem; elem = elem.nextSibling) {
- if (elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4) {
- return false;
- }
- }
- return true;
- },
-
- "parent": function (elem) {
- return !Expr.pseudos["empty"](elem);
- },
-
- // Element/input types
- "header": function (elem) {
- return rheader.test(elem.nodeName);
- },
-
- "input": function (elem) {
- return rinputs.test(elem.nodeName);
- },
-
- "button": function (elem) {
- var name = elem.nodeName.toLowerCase();
- return name === "input" && elem.type === "button" || name === "button";
- },
-
- "text": function (elem) {
- var attr;
- // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc)
- // use getAttribute instead to test this case
- return elem.nodeName.toLowerCase() === "input" &&
- elem.type === "text" &&
- ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type );
- },
-
- // Position-in-collection
- "first": createPositionalPseudo(function () {
- return [0];
- }),
-
- "last": createPositionalPseudo(function (matchIndexes, length) {
- return [length - 1];
- }),
-
- "eq": createPositionalPseudo(function (matchIndexes, length, argument) {
- return [argument < 0 ? argument + length : argument];
- }),
-
- "even": createPositionalPseudo(function (matchIndexes, length) {
- var i = 0;
- for (; i < length; i += 2) {
- matchIndexes.push(i);
- }
- return matchIndexes;
- }),
-
- "odd": createPositionalPseudo(function (matchIndexes, length) {
- var i = 1;
- for (; i < length; i += 2) {
- matchIndexes.push(i);
- }
- return matchIndexes;
- }),
-
- "lt": createPositionalPseudo(function (matchIndexes, length, argument) {
- var i = argument < 0 ? argument + length : argument;
- for (; --i >= 0;) {
- matchIndexes.push(i);
- }
- return matchIndexes;
- }),
-
- "gt": createPositionalPseudo(function (matchIndexes, length, argument) {
- var i = argument < 0 ? argument + length : argument;
- for (; ++i < length;) {
- matchIndexes.push(i);
- }
- return matchIndexes;
- })
- }
- };
-
- Expr.pseudos["nth"] = Expr.pseudos["eq"];
-
-// Add button/input type pseudos
- for (i in {radio: true, checkbox: true, file: true, password: true, image: true}) {
- Expr.pseudos[i] = createInputPseudo(i);
- }
- for (i in {submit: true, reset: true}) {
- Expr.pseudos[i] = createButtonPseudo(i);
- }
-
-// Easy API for creating new setFilters
- function setFilters() {
- }
-
- setFilters.prototype = Expr.filters = Expr.pseudos;
- Expr.setFilters = new setFilters();
-
- function tokenize(selector, parseOnly) {
- var matched, match, tokens, type,
- soFar, groups, preFilters,
- cached = tokenCache[selector + " "];
-
- if (cached) {
- return parseOnly ? 0 : cached.slice(0);
- }
-
- soFar = selector;
- groups = [];
- preFilters = Expr.preFilter;
-
- while (soFar) {
-
- // Comma and first run
- if (!matched || (match = rcomma.exec(soFar))) {
- if (match) {
- // Don't consume trailing commas as valid
- soFar = soFar.slice(match[0].length) || soFar;
- }
- groups.push(tokens = []);
- }
-
- matched = false;
-
- // Combinators
- if ((match = rcombinators.exec(soFar))) {
- matched = match.shift();
- tokens.push({
- value: matched,
- // Cast descendant combinators to space
- type: match[0].replace(rtrim, " ")
- });
- soFar = soFar.slice(matched.length);
- }
-
- // Filters
- for (type in Expr.filter) {
- if ((match = matchExpr[type].exec(soFar)) && (!preFilters[type] ||
- (match = preFilters[type](match)))) {
- matched = match.shift();
- tokens.push({
- value: matched,
- type: type,
- matches: match
- });
- soFar = soFar.slice(matched.length);
- }
- }
-
- if (!matched) {
- break;
- }
- }
-
- // Return the length of the invalid excess
- // if we're just parsing
- // Otherwise, throw an error or return tokens
- return parseOnly ?
- soFar.length :
- soFar ?
- Sizzle.error(selector) :
- // Cache the tokens
- tokenCache(selector, groups).slice(0);
- }
-
- function toSelector(tokens) {
- var i = 0,
- len = tokens.length,
- selector = "";
- for (; i < len; i++) {
- selector += tokens[i].value;
- }
- return selector;
- }
-
- function addCombinator(matcher, combinator, base) {
- var dir = combinator.dir,
- checkNonElements = base && dir === "parentNode",
- doneName = done++;
-
- return combinator.first ?
- // Check against closest ancestor/preceding element
- function (elem, context, xml) {
- while ((elem = elem[dir])) {
- if (elem.nodeType === 1 || checkNonElements) {
- return matcher(elem, context, xml);
- }
- }
- } :
-
- // Check against all ancestor/preceding elements
- function (elem, context, xml) {
- var data, cache, outerCache,
- dirkey = dirruns + " " + doneName;
-
- // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching
- if (xml) {
- while ((elem = elem[dir])) {
- if (elem.nodeType === 1 || checkNonElements) {
- if (matcher(elem, context, xml)) {
- return true;
- }
- }
- }
- } else {
- while ((elem = elem[dir])) {
- if (elem.nodeType === 1 || checkNonElements) {
- outerCache = elem[expando] || (elem[expando] = {});
- if ((cache = outerCache[dir]) && cache[0] === dirkey) {
- if ((data = cache[1]) === true || data === cachedruns) {
- return data === true;
- }
- } else {
- cache = outerCache[dir] = [dirkey];
- cache[1] = matcher(elem, context, xml) || cachedruns;
- if (cache[1] === true) {
- return true;
- }
- }
- }
- }
- }
- };
- }
-
- function elementMatcher(matchers) {
- return matchers.length > 1 ?
- function (elem, context, xml) {
- var i = matchers.length;
- while (i--) {
- if (!matchers[i](elem, context, xml)) {
- return false;
- }
- }
- return true;
- } :
- matchers[0];
- }
-
- function condense(unmatched, map, filter, context, xml) {
- var elem,
- newUnmatched = [],
- i = 0,
- len = unmatched.length,
- mapped = map != null;
-
- for (; i < len; i++) {
- if ((elem = unmatched[i])) {
- if (!filter || filter(elem, context, xml)) {
- newUnmatched.push(elem);
- if (mapped) {
- map.push(i);
- }
- }
- }
- }
-
- return newUnmatched;
- }
-
- function setMatcher(preFilter, selector, matcher, postFilter, postFinder, postSelector) {
- if (postFilter && !postFilter[expando]) {
- postFilter = setMatcher(postFilter);
- }
- if (postFinder && !postFinder[expando]) {
- postFinder = setMatcher(postFinder, postSelector);
- }
- return markFunction(function (seed, results, context, xml) {
- var temp, i, elem,
- preMap = [],
- postMap = [],
- preexisting = results.length,
-
- // Get initial elements from seed or context
- elems = seed || multipleContexts(selector || "*", context.nodeType ? [context] : context, []),
-
- // Prefilter to get matcher input, preserving a map for seed-results synchronization
- matcherIn = preFilter && ( seed || !selector ) ?
- condense(elems, preMap, preFilter, context, xml) :
- elems,
-
- matcherOut = matcher ?
- // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
- postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
-
- // ...intermediate processing is necessary
- [] :
-
- // ...otherwise use results directly
- results :
- matcherIn;
-
- // Find primary matches
- if (matcher) {
- matcher(matcherIn, matcherOut, context, xml);
- }
-
- // Apply postFilter
- if (postFilter) {
- temp = condense(matcherOut, postMap);
- postFilter(temp, [], context, xml);
-
- // Un-match failing elements by moving them back to matcherIn
- i = temp.length;
- while (i--) {
- if ((elem = temp[i])) {
- matcherOut[postMap[i]] = !(matcherIn[postMap[i]] = elem);
- }
- }
- }
-
- if (seed) {
- if (postFinder || preFilter) {
- if (postFinder) {
- // Get the final matcherOut by condensing this intermediate into postFinder contexts
- temp = [];
- i = matcherOut.length;
- while (i--) {
- if ((elem = matcherOut[i])) {
- // Restore matcherIn since elem is not yet a final match
- temp.push((matcherIn[i] = elem));
- }
- }
- postFinder(null, (matcherOut = []), temp, xml);
- }
-
- // Move matched elements from seed to results to keep them synchronized
- i = matcherOut.length;
- while (i--) {
- if ((elem = matcherOut[i]) &&
- (temp = postFinder ? indexOf.call(seed, elem) : preMap[i]) > -1) {
-
- seed[temp] = !(results[temp] = elem);
- }
- }
- }
-
- // Add elements to results, through postFinder if defined
- } else {
- matcherOut = condense(
- matcherOut === results ?
- matcherOut.splice(preexisting, matcherOut.length) :
- matcherOut
- );
- if (postFinder) {
- postFinder(null, results, matcherOut, xml);
- } else {
- push.apply(results, matcherOut);
- }
- }
- });
- }
-
- function matcherFromTokens(tokens) {
- var checkContext, matcher, j,
- len = tokens.length,
- leadingRelative = Expr.relative[tokens[0].type],
- implicitRelative = leadingRelative || Expr.relative[" "],
- i = leadingRelative ? 1 : 0,
-
- // The foundational matcher ensures that elements are reachable from top-level context(s)
- matchContext = addCombinator(function (elem) {
- return elem === checkContext;
- }, implicitRelative, true),
- matchAnyContext = addCombinator(function (elem) {
- return indexOf.call(checkContext, elem) > -1;
- }, implicitRelative, true),
- matchers = [function (elem, context, xml) {
- return ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
- (checkContext = context).nodeType ?
- matchContext(elem, context, xml) :
- matchAnyContext(elem, context, xml) );
- }];
-
- for (; i < len; i++) {
- if ((matcher = Expr.relative[tokens[i].type])) {
- matchers = [addCombinator(elementMatcher(matchers), matcher)];
- } else {
- matcher = Expr.filter[tokens[i].type].apply(null, tokens[i].matches);
-
- // Return special upon seeing a positional matcher
- if (matcher[expando]) {
- // Find the next relative operator (if any) for proper handling
- j = ++i;
- for (; j < len; j++) {
- if (Expr.relative[tokens[j].type]) {
- break;
- }
- }
- return setMatcher(
- i > 1 && elementMatcher(matchers),
- i > 1 && toSelector(
- // If the preceding token was a descendant combinator, insert an implicit any-element `*`
- tokens.slice(0, i - 1).concat({value: tokens[i - 2].type === " " ? "*" : ""})
- ).replace(rtrim, "$1"),
- matcher,
- i < j && matcherFromTokens(tokens.slice(i, j)),
- j < len && matcherFromTokens((tokens = tokens.slice(j))),
- j < len && toSelector(tokens)
- );
- }
- matchers.push(matcher);
- }
- }
-
- return elementMatcher(matchers);
- }
-
- function matcherFromGroupMatchers(elementMatchers, setMatchers) {
- // A counter to specify which element is currently being matched
- var matcherCachedRuns = 0,
- bySet = setMatchers.length > 0,
- byElement = elementMatchers.length > 0,
- superMatcher = function (seed, context, xml, results, expandContext) {
- var elem, j, matcher,
- setMatched = [],
- matchedCount = 0,
- i = "0",
- unmatched = seed && [],
- outermost = expandContext != null,
- contextBackup = outermostContext,
- // We must always have either seed elements or context
- elems = seed || byElement && Expr.find["TAG"]("*", expandContext && context.parentNode || context),
- // Use integer dirruns iff this is the outermost matcher
- dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1);
-
- if (outermost) {
- outermostContext = context !== document && context;
- cachedruns = matcherCachedRuns;
- }
-
- // Add elements passing elementMatchers directly to results
- // Keep `i` a string if there are no elements so `matchedCount` will be "00" below
- for (; (elem = elems[i]) != null; i++) {
- if (byElement && elem) {
- j = 0;
- while ((matcher = elementMatchers[j++])) {
- if (matcher(elem, context, xml)) {
- results.push(elem);
- break;
- }
- }
- if (outermost) {
- dirruns = dirrunsUnique;
- cachedruns = ++matcherCachedRuns;
- }
- }
-
- // Track unmatched elements for set filters
- if (bySet) {
- // They will have gone through all possible matchers
- if ((elem = !matcher && elem)) {
- matchedCount--;
- }
-
- // Lengthen the array for every element, matched or not
- if (seed) {
- unmatched.push(elem);
- }
- }
- }
-
- // Apply set filters to unmatched elements
- matchedCount += i;
- if (bySet && i !== matchedCount) {
- j = 0;
- while ((matcher = setMatchers[j++])) {
- matcher(unmatched, setMatched, context, xml);
- }
-
- if (seed) {
- // Reintegrate element matches to eliminate the need for sorting
- if (matchedCount > 0) {
- while (i--) {
- if (!(unmatched[i] || setMatched[i])) {
- setMatched[i] = pop.call(results);
- }
- }
- }
-
- // Discard index placeholder values to get only actual matches
- setMatched = condense(setMatched);
- }
-
- // Add matches to results
- push.apply(results, setMatched);
-
- // Seedless set matches succeeding multiple successful matchers stipulate sorting
- if (outermost && !seed && setMatched.length > 0 &&
- ( matchedCount + setMatchers.length ) > 1) {
-
- Sizzle.uniqueSort(results);
- }
- }
-
- // Override manipulation of globals by nested matchers
- if (outermost) {
- dirruns = dirrunsUnique;
- outermostContext = contextBackup;
- }
-
- return unmatched;
- };
-
- return bySet ?
- markFunction(superMatcher) :
- superMatcher;
- }
-
- compile = Sizzle.compile = function (selector, group /* Internal Use Only */) {
- var i,
- setMatchers = [],
- elementMatchers = [],
- cached = compilerCache[selector + " "];
-
- if (!cached) {
- // Generate a function of recursive functions that can be used to check each element
- if (!group) {
- group = tokenize(selector);
- }
- i = group.length;
- while (i--) {
- cached = matcherFromTokens(group[i]);
- if (cached[expando]) {
- setMatchers.push(cached);
- } else {
- elementMatchers.push(cached);
- }
- }
-
- // Cache the compiled function
- cached = compilerCache(selector, matcherFromGroupMatchers(elementMatchers, setMatchers));
- }
- return cached;
- };
-
- function multipleContexts(selector, contexts, results) {
- var i = 0,
- len = contexts.length;
- for (; i < len; i++) {
- Sizzle(selector, contexts[i], results);
- }
- return results;
- }
-
- function select(selector, context, results, seed) {
- var i, tokens, token, type, find,
- match = tokenize(selector);
-
- if (!seed) {
- // Try to minimize operations if there is only one group
- if (match.length === 1) {
-
- // Take a shortcut and set the context if the root selector is an ID
- tokens = match[0] = match[0].slice(0);
- if (tokens.length > 2 && (token = tokens[0]).type === "ID" &&
- support.getById && context.nodeType === 9 && documentIsHTML &&
- Expr.relative[tokens[1].type]) {
-
- context = ( Expr.find["ID"](token.matches[0].replace(runescape, funescape), context) || [] )[0];
- if (!context) {
- return results;
- }
- selector = selector.slice(tokens.shift().value.length);
- }
-
- // Fetch a seed set for right-to-left matching
- i = matchExpr["needsContext"].test(selector) ? 0 : tokens.length;
- while (i--) {
- token = tokens[i];
-
- // Abort if we hit a combinator
- if (Expr.relative[(type = token.type)]) {
- break;
- }
- if ((find = Expr.find[type])) {
- // Search, expanding context for leading sibling combinators
- if ((seed = find(
- token.matches[0].replace(runescape, funescape),
- rsibling.test(tokens[0].type) && context.parentNode || context
- ))) {
-
- // If seed is empty or no tokens remain, we can return early
- tokens.splice(i, 1);
- selector = seed.length && toSelector(tokens);
- if (!selector) {
- push.apply(results, seed);
- return results;
- }
-
- break;
- }
- }
- }
- }
- }
-
- // Compile and execute a filtering function
- // Provide `match` to avoid retokenization if we modified the selector above
- compile(selector, match)(
- seed,
- context,
- !documentIsHTML,
- results,
- rsibling.test(selector)
- );
- return results;
- }
-
-// One-time assignments
-
-// Sort stability
- support.sortStable = expando.split("").sort(sortOrder).join("") === expando;
-
-// Support: Chrome<14
-// Always assume duplicates if they aren't passed to the comparison function
- support.detectDuplicates = hasDuplicate;
-
-// Initialize against the default document
- setDocument();
-
-// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
-// Detached nodes confoundingly follow *each other*
- support.sortDetached = assert(function (div1) {
- // Should return 1, but returns 4 (following)
- return div1.compareDocumentPosition(document.createElement("div")) & 1;
- });
-
-// Support: IE<8
-// Prevent attribute/property "interpolation"
-// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
- if (!assert(function (div) {
- div.innerHTML = "<a href='#'></a>";
- return div.firstChild.getAttribute("href") === "#";
- })) {
- addHandle("type|href|height|width", function (elem, name, isXML) {
- if (!isXML) {
- return elem.getAttribute(name, name.toLowerCase() === "type" ? 1 : 2);
- }
- });
- }
-
-// Support: IE<9
-// Use defaultValue in place of getAttribute("value")
- if (!support.attributes || !assert(function (div) {
- div.innerHTML = "<input/>";
- div.firstChild.setAttribute("value", "");
- return div.firstChild.getAttribute("value") === "";
- })) {
- addHandle("value", function (elem, name, isXML) {
- if (!isXML && elem.nodeName.toLowerCase() === "input") {
- return elem.defaultValue;
- }
- });
- }
-
-// Support: IE<9
-// Use getAttributeNode to fetch booleans when getAttribute lies
- if (!assert(function (div) {
- return div.getAttribute("disabled") == null;
- })) {
- addHandle(booleans, function (elem, name, isXML) {
- var val;
- if (!isXML) {
- return (val = elem.getAttributeNode(name)) && val.specified ?
- val.value :
- elem[name] === true ? name.toLowerCase() : null;
- }
- });
- }
-
- jQuery.find = Sizzle;
- jQuery.expr = Sizzle.selectors;
- jQuery.expr[":"] = jQuery.expr.pseudos;
- jQuery.unique = Sizzle.uniqueSort;
- jQuery.text = Sizzle.getText;
- jQuery.isXMLDoc = Sizzle.isXML;
- jQuery.contains = Sizzle.contains;
-
-
- })(window);
-// String to Object options format cache
- var optionsCache = {};
-
-// Convert String-formatted options into Object-formatted ones and store in cache
- function createOptions(options) {
- var object = optionsCache[options] = {};
- jQuery.each(options.match(core_rnotwhite) || [], function (_, flag) {
- object[flag] = true;
- });
- return object;
- }
-
- /*
- * Create a callback list using the following parameters:
- *
- * options: an optional list of space-separated options that will change how
- * the callback list behaves or a more traditional option object
- *
- * By default a callback list will act like an event callback list and can be
- * "fired" multiple times.
- *
- * Possible options:
- *
- * once: will ensure the callback list can only be fired once (like a Deferred)
- *
- * memory: will keep track of previous values and will call any callback added
- * after the list has been fired right away with the latest "memorized"
- * values (like a Deferred)
- *
- * unique: will ensure a callback can only be added once (no duplicate in the list)
- *
- * stopOnFalse: interrupt callings when a callback returns false
- *
- */
- jQuery.Callbacks = function (options) {
-
- // Convert options from String-formatted to Object-formatted if needed
- // (we check in cache first)
- options = typeof options === "string" ?
- ( optionsCache[options] || createOptions(options) ) :
- jQuery.extend({}, options);
-
- var // Flag to know if list is currently firing
- firing,
- // Last fire value (for non-forgettable lists)
- memory,
- // Flag to know if list was already fired
- fired,
- // End of the loop when firing
- firingLength,
- // Index of currently firing callback (modified by remove if needed)
- firingIndex,
- // First callback to fire (used internally by add and fireWith)
- firingStart,
- // Actual callback list
- list = [],
- // Stack of fire calls for repeatable lists
- stack = !options.once && [],
- // Fire callbacks
- fire = function (data) {
- memory = options.memory && data;
- fired = true;
- firingIndex = firingStart || 0;
- firingStart = 0;
- firingLength = list.length;
- firing = true;
- for (; list && firingIndex < firingLength; firingIndex++) {
- if (list[firingIndex].apply(data[0], data[1]) === false && options.stopOnFalse) {
- memory = false; // To prevent further calls using add
- break;
- }
- }
- firing = false;
- if (list) {
- if (stack) {
- if (stack.length) {
- fire(stack.shift());
- }
- } else if (memory) {
- list = [];
- } else {
- self.disable();
- }
- }
- },
- // Actual Callbacks object
- self = {
- // Add a callback or a collection of callbacks to the list
- add: function () {
- if (list) {
- // First, we save the current length
- var start = list.length;
- (function add(args) {
- jQuery.each(args, function (_, arg) {
- var type = jQuery.type(arg);
- if (type === "function") {
- if (!options.unique || !self.has(arg)) {
- list.push(arg);
- }
- } else if (arg && arg.length && type !== "string") {
- // Inspect recursively
- add(arg);
- }
- });
- })(arguments);
- // Do we need to add the callbacks to the
- // current firing batch?
- if (firing) {
- firingLength = list.length;
- // With memory, if we're not firing then
- // we should call right away
- } else if (memory) {
- firingStart = start;
- fire(memory);
- }
- }
- return this;
- },
- // Remove a callback from the list
- remove: function () {
- if (list) {
- jQuery.each(arguments, function (_, arg) {
- var index;
- while (( index = jQuery.inArray(arg, list, index) ) > -1) {
- list.splice(index, 1);
- // Handle firing indexes
- if (firing) {
- if (index <= firingLength) {
- firingLength--;
- }
- if (index <= firingIndex) {
- firingIndex--;
- }
- }
- }
- });
- }
- return this;
- },
- // Check if a given callback is in the list.
- // If no argument is given, return whether or not list has callbacks attached.
- has: function (fn) {
- return fn ? jQuery.inArray(fn, list) > -1 : !!( list && list.length );
- },
- // Remove all callbacks from the list
- empty: function () {
- list = [];
- firingLength = 0;
- return this;
- },
- // Have the list do nothing anymore
- disable: function () {
- list = stack = memory = undefined;
- return this;
- },
- // Is it disabled?
- disabled: function () {
- return !list;
- },
- // Lock the list in its current state
- lock: function () {
- stack = undefined;
- if (!memory) {
- self.disable();
- }
- return this;
- },
- // Is it locked?
- locked: function () {
- return !stack;
- },
- // Call all callbacks with the given context and arguments
- fireWith: function (context, args) {
- if (list && ( !fired || stack )) {
- args = args || [];
- args = [context, args.slice ? args.slice() : args];
- if (firing) {
- stack.push(args);
- } else {
- fire(args);
- }
- }
- return this;
- },
- // Call all the callbacks with the given arguments
- fire: function () {
- self.fireWith(this, arguments);
- return this;
- },
- // To know if the callbacks have already been called at least once
- fired: function () {
- return !!fired;
- }
- };
-
- return self;
- };
- jQuery.extend({
-
- Deferred: function (func) {
- var tuples = [
- // action, add listener, listener list, final state
- ["resolve", "done", jQuery.Callbacks("once memory"), "resolved"],
- ["reject", "fail", jQuery.Callbacks("once memory"), "rejected"],
- ["notify", "progress", jQuery.Callbacks("memory")]
- ],
- state = "pending",
- promise = {
- state: function () {
- return state;
- },
- always: function () {
- deferred.done(arguments).fail(arguments);
- return this;
- },
- then: function (/* fnDone, fnFail, fnProgress */) {
- var fns = arguments;
- return jQuery.Deferred(function (newDefer) {
- jQuery.each(tuples, function (i, tuple) {
- var action = tuple[0],
- fn = jQuery.isFunction(fns[i]) && fns[i];
- // deferred[ done | fail | progress ] for forwarding actions to newDefer
- deferred[tuple[1]](function () {
- var returned = fn && fn.apply(this, arguments);
- if (returned && jQuery.isFunction(returned.promise)) {
- returned.promise()
- .done(newDefer.resolve)
- .fail(newDefer.reject)
- .progress(newDefer.notify);
- } else {
- newDefer[action + "With"](this === promise ? newDefer.promise() : this, fn ? [returned] : arguments);
- }
- });
- });
- fns = null;
- }).promise();
- },
- // Get a promise for this deferred
- // If obj is provided, the promise aspect is added to the object
- promise: function (obj) {
- return obj != null ? jQuery.extend(obj, promise) : promise;
- }
- },
- deferred = {};
-
- // Keep pipe for back-compat
- promise.pipe = promise.then;
-
- // Add list-specific methods
- jQuery.each(tuples, function (i, tuple) {
- var list = tuple[2],
- stateString = tuple[3];
-
- // promise[ done | fail | progress ] = list.add
- promise[tuple[1]] = list.add;
-
- // Handle state
- if (stateString) {
- list.add(function () {
- // state = [ resolved | rejected ]
- state = stateString;
-
- // [ reject_list | resolve_list ].disable; progress_list.lock
- }, tuples[i ^ 1][2].disable, tuples[2][2].lock);
- }
-
- // deferred[ resolve | reject | notify ]
- deferred[tuple[0]] = function () {
- deferred[tuple[0] + "With"](this === deferred ? promise : this, arguments);
- return this;
- };
- deferred[tuple[0] + "With"] = list.fireWith;
- });
-
- // Make the deferred a promise
- promise.promise(deferred);
-
- // Call given func if any
- if (func) {
- func.call(deferred, deferred);
- }
-
- // All done!
- return deferred;
- },
-
- // Deferred helper
- when: function (subordinate /* , ..., subordinateN */) {
- var i = 0,
- resolveValues = core_slice.call(arguments),
- length = resolveValues.length,
-
- // the count of uncompleted subordinates
- remaining = length !== 1 || ( subordinate && jQuery.isFunction(subordinate.promise) ) ? length : 0,
-
- // the master Deferred. If resolveValues consist of only a single Deferred, just use that.
- deferred = remaining === 1 ? subordinate : jQuery.Deferred(),
-
- // Update function for both resolve and progress values
- updateFunc = function (i, contexts, values) {
- return function (value) {
- contexts[i] = this;
- values[i] = arguments.length > 1 ? core_slice.call(arguments) : value;
- if (values === progressValues) {
- deferred.notifyWith(contexts, values);
- } else if (!( --remaining )) {
- deferred.resolveWith(contexts, values);
- }
- };
- },
-
- progressValues, progressContexts, resolveContexts;
-
- // add listeners to Deferred subordinates; treat others as resolved
- if (length > 1) {
- progressValues = new Array(length);
- progressContexts = new Array(length);
- resolveContexts = new Array(length);
- for (; i < length; i++) {
- if (resolveValues[i] && jQuery.isFunction(resolveValues[i].promise)) {
- resolveValues[i].promise()
- .done(updateFunc(i, resolveContexts, resolveValues))
- .fail(deferred.reject)
- .progress(updateFunc(i, progressContexts, progressValues));
- } else {
- --remaining;
- }
- }
- }
-
- // if we're not waiting on anything, resolve the master
- if (!remaining) {
- deferred.resolveWith(resolveContexts, resolveValues);
- }
-
- return deferred.promise();
- }
- });
- jQuery.support = (function (support) {
-
- var all, a, input, select, fragment, opt, eventName, isSupported, i,
- div = document.createElement("div");
-
- // Setup
- div.setAttribute("className", "t");
- div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
-
- // Finish early in limited (non-browser) environments
- all = div.getElementsByTagName("*") || [];
- a = div.getElementsByTagName("a")[0];
- if (!a || !a.style || !all.length) {
- return support;
- }
-
- // First batch of tests
- select = document.createElement("select");
- opt = select.appendChild(document.createElement("option"));
- input = div.getElementsByTagName("input")[0];
-
- a.style.cssText = "top:1px;float:left;opacity:.5";
-
- // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)
- support.getSetAttribute = div.className !== "t";
-
- // IE strips leading whitespace when .innerHTML is used
- support.leadingWhitespace = div.firstChild.nodeType === 3;
-
- // Make sure that tbody elements aren't automatically inserted
- // IE will insert them into empty tables
- support.tbody = !div.getElementsByTagName("tbody").length;
-
- // Make sure that link elements get serialized correctly by innerHTML
- // This requires a wrapper element in IE
- support.htmlSerialize = !!div.getElementsByTagName("link").length;
-
- // Get the style information from getAttribute
- // (IE uses .cssText instead)
- support.style = /top/.test(a.getAttribute("style"));
-
- // Make sure that URLs aren't manipulated
- // (IE normalizes it by default)
- support.hrefNormalized = a.getAttribute("href") === "/a";
-
- // Make sure that element opacity exists
- // (IE uses filter instead)
- // Use a regex to work around a WebKit issue. See #5145
- support.opacity = /^0.5/.test(a.style.opacity);
-
- // Verify style float existence
- // (IE uses styleFloat instead of cssFloat)
- support.cssFloat = !!a.style.cssFloat;
-
- // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere)
- support.checkOn = !!input.value;
-
- // Make sure that a selected-by-default option has a working selected property.
- // (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
- support.optSelected = opt.selected;
-
- // Tests for enctype support on a form (#6743)
- support.enctype = !!document.createElement("form").enctype;
-
- // Makes sure cloning an html5 element does not cause problems
- // Where outerHTML is undefined, this still works
- support.html5Clone = document.createElement("nav").cloneNode(true).outerHTML !== "<:nav></:nav>";
-
- // Will be defined later
- support.inlineBlockNeedsLayout = false;
- support.shrinkWrapBlocks = false;
- support.pixelPosition = false;
- support.deleteExpando = true;
- support.noCloneEvent = true;
- support.reliableMarginRight = true;
- support.boxSizingReliable = true;
-
- // Make sure checked status is properly cloned
- input.checked = true;
- support.noCloneChecked = input.cloneNode(true).checked;
-
- // Make sure that the options inside disabled selects aren't marked as disabled
- // (WebKit marks them as disabled)
- select.disabled = true;
- support.optDisabled = !opt.disabled;
-
- // Support: IE<9
- try {
- delete div.test;
- } catch (e) {
- support.deleteExpando = false;
- }
-
- // Check if we can trust getAttribute("value")
- input = document.createElement("input");
- input.setAttribute("value", "");
- support.input = input.getAttribute("value") === "";
-
- // Check if an input maintains its value after becoming a radio
- input.value = "t";
- input.setAttribute("type", "radio");
- support.radioValue = input.value === "t";
-
- // #11217 - WebKit loses check when the name is after the checked attribute
- input.setAttribute("checked", "t");
- input.setAttribute("name", "t");
-
- fragment = document.createDocumentFragment();
- fragment.appendChild(input);
-
- // Check if a disconnected checkbox will retain its checked
- // value of true after appended to the DOM (IE6/7)
- support.appendChecked = input.checked;
-
- // WebKit doesn't clone checked state correctly in fragments
- support.checkClone = fragment.cloneNode(true).cloneNode(true).lastChild.checked;
-
- // Support: IE<9
- // Opera does not clone events (and typeof div.attachEvent === undefined).
- // IE9-10 clones events bound via attachEvent, but they don't trigger with .click()
- if (div.attachEvent) {
- div.attachEvent("onclick", function () {
- support.noCloneEvent = false;
- });
-
- div.cloneNode(true).click();
- }
-
- // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event)
- // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP)
- for (i in {submit: true, change: true, focusin: true}) {
- div.setAttribute(eventName = "on" + i, "t");
-
- support[i + "Bubbles"] = eventName in window || div.attributes[eventName].expando === false;
- }
-
- div.style.backgroundClip = "content-box";
- div.cloneNode(true).style.backgroundClip = "";
- support.clearCloneStyle = div.style.backgroundClip === "content-box";
-
- // Support: IE<9
- // Iteration over object's inherited properties before its own.
- for (i in jQuery(support)) {
- break;
- }
- support.ownLast = i !== "0";
-
- // Run tests that need a body at doc ready
- jQuery(function () {
- var container, marginDiv, tds,
- divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",
- body = document.getElementsByTagName("body")[0];
-
- if (!body) {
- // Return for frameset docs that don't have a body
- return;
- }
-
- container = document.createElement("div");
- container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px";
-
- body.appendChild(container).appendChild(div);
-
- // Support: IE8
- // Check if table cells still have offsetWidth/Height when they are set
- // to display:none and there are still other visible table cells in a
- // table row; if so, offsetWidth/Height are not reliable for use when
- // determining if an element has been hidden directly using
- // display:none (it is still safe to use offsets if a parent element is
- // hidden; don safety goggles and see bug #4512 for more information).
- div.innerHTML = "<table><tr><td></td><td>t</td></tr></table>";
- tds = div.getElementsByTagName("td");
- tds[0].style.cssText = "padding:0;margin:0;border:0;display:none";
- isSupported = ( tds[0].offsetHeight === 0 );
-
- tds[0].style.display = "";
- tds[1].style.display = "none";
-
- // Support: IE8
- // Check if empty table cells still have offsetWidth/Height
- support.reliableHiddenOffsets = isSupported && ( tds[0].offsetHeight === 0 );
-
- // Check box-sizing and margin behavior.
- div.innerHTML = "";
- div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";
-
- // Workaround failing boxSizing test due to offsetWidth returning wrong value
- // with some non-1 values of body zoom, ticket #13543
- jQuery.swap(body, body.style.zoom != null ? {zoom: 1} : {}, function () {
- support.boxSizing = div.offsetWidth === 4;
- });
-
- // Use window.getComputedStyle because jsdom on node.js will break without it.
- if (window.getComputedStyle) {
- support.pixelPosition = ( window.getComputedStyle(div, null) || {} ).top !== "1%";
- support.boxSizingReliable = ( window.getComputedStyle(div, null) || {width: "4px"} ).width === "4px";
-
- // Check if div with explicit width and no margin-right incorrectly
- // gets computed margin-right based on width of container. (#3333)
- // Fails in WebKit before Feb 2011 nightlies
- // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
- marginDiv = div.appendChild(document.createElement("div"));
- marginDiv.style.cssText = div.style.cssText = divReset;
- marginDiv.style.marginRight = marginDiv.style.width = "0";
- div.style.width = "1px";
-
- support.reliableMarginRight = !parseFloat(( window.getComputedStyle(marginDiv, null) || {} ).marginRight);
- }
-
- if (typeof div.style.zoom !== core_strundefined) {
- // Support: IE<8
- // Check if natively block-level elements act like inline-block
- // elements when setting their display to 'inline' and giving
- // them layout
- div.innerHTML = "";
- div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1";
- support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 );
-
- // Support: IE6
- // Check if elements with layout shrink-wrap their children
- div.style.display = "block";
- div.innerHTML = "<div></div>";
- div.firstChild.style.width = "5px";
- support.shrinkWrapBlocks = ( div.offsetWidth !== 3 );
-
- if (support.inlineBlockNeedsLayout) {
- // Prevent IE 6 from affecting layout for positioned elements #11048
- // Prevent IE from shrinking the body in IE 7 mode #12869
- // Support: IE<8
- body.style.zoom = 1;
- }
- }
-
- body.removeChild(container);
-
- // Null elements to avoid leaks in IE
- container = div = tds = marginDiv = null;
- });
-
- // Null elements to avoid leaks in IE
- all = select = fragment = opt = a = input = null;
-
- return support;
- })({});
-
- var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/,
- rmultiDash = /([A-Z])/g;
-
- function internalData(elem, name, data, pvt /* Internal Use Only */) {
- if (!jQuery.acceptData(elem)) {
- return;
- }
-
- var ret, thisCache,
- internalKey = jQuery.expando,
-
- // We have to handle DOM nodes and JS objects differently because IE6-7
- // can't GC object references properly across the DOM-JS boundary
- isNode = elem.nodeType,
-
- // Only DOM nodes need the global jQuery cache; JS object data is
- // attached directly to the object so GC can occur automatically
- cache = isNode ? jQuery.cache : elem,
-
- // Only defining an ID for JS objects if its cache already exists allows
- // the code to shortcut on the same path as a DOM node with no cache
- id = isNode ? elem[internalKey] : elem[internalKey] && internalKey;
-
- // Avoid doing any more work than we need to when trying to get data on an
- // object that has no data at all
- if ((!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string") {
- return;
- }
-
- if (!id) {
- // Only DOM nodes need a new unique ID for each element since their data
- // ends up in the global cache
- if (isNode) {
- id = elem[internalKey] = core_deletedIds.pop() || jQuery.guid++;
- } else {
- id = internalKey;
- }
- }
-
- if (!cache[id]) {
- // Avoid exposing jQuery metadata on plain JS objects when the object
- // is serialized using JSON.stringify
- cache[id] = isNode ? {} : {toJSON: jQuery.noop};
- }
-
- // An object can be passed to jQuery.data instead of a key/value pair; this gets
- // shallow copied over onto the existing cache
- if (typeof name === "object" || typeof name === "function") {
- if (pvt) {
- cache[id] = jQuery.extend(cache[id], name);
- } else {
- cache[id].data = jQuery.extend(cache[id].data, name);
- }
- }
-
- thisCache = cache[id];
-
- // jQuery data() is stored in a separate object inside the object's internal data
- // cache in order to avoid key collisions between internal data and user-defined
- // data.
- if (!pvt) {
- if (!thisCache.data) {
- thisCache.data = {};
- }
-
- thisCache = thisCache.data;
- }
-
- if (data !== undefined) {
- thisCache[jQuery.camelCase(name)] = data;
- }
-
- // Check for both converted-to-camel and non-converted data property names
- // If a data property was specified
- if (typeof name === "string") {
-
- // First Try to find as-is property data
- ret = thisCache[name];
-
- // Test for null|undefined property data
- if (ret == null) {
-
- // Try to find the camelCased property
- ret = thisCache[jQuery.camelCase(name)];
- }
- } else {
- ret = thisCache;
- }
-
- return ret;
- }
-
- function internalRemoveData(elem, name, pvt) {
- if (!jQuery.acceptData(elem)) {
- return;
- }
-
- var thisCache, i,
- isNode = elem.nodeType,
-
- // See jQuery.data for more information
- cache = isNode ? jQuery.cache : elem,
- id = isNode ? elem[jQuery.expando] : jQuery.expando;
-
- // If there is already no cache entry for this object, there is no
- // purpose in continuing
- if (!cache[id]) {
- return;
- }
-
- if (name) {
-
- thisCache = pvt ? cache[id] : cache[id].data;
-
- if (thisCache) {
-
- // Support array or space separated string names for data keys
- if (!jQuery.isArray(name)) {
-
- // try the string as a key before any manipulation
- if (name in thisCache) {
- name = [name];
- } else {
-
- // split the camel cased version by spaces unless a key with the spaces exists
- name = jQuery.camelCase(name);
- if (name in thisCache) {
- name = [name];
- } else {
- name = name.split(" ");
- }
- }
- } else {
- // If "name" is an array of keys...
- // When data is initially created, via ("key", "val") signature,
- // keys will be converted to camelCase.
- // Since there is no way to tell _how_ a key was added, remove
- // both plain key and camelCase key. #12786
- // This will only penalize the array argument path.
- name = name.concat(jQuery.map(name, jQuery.camelCase));
- }
-
- i = name.length;
- while (i--) {
- delete thisCache[name[i]];
- }
-
- // If there is no data left in the cache, we want to continue
- // and let the cache object itself get destroyed
- if (pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache)) {
- return;
- }
- }
- }
-
- // See jQuery.data for more information
- if (!pvt) {
- delete cache[id].data;
-
- // Don't destroy the parent cache unless the internal data object
- // had been the only thing left in it
- if (!isEmptyDataObject(cache[id])) {
- return;
- }
- }
-
- // Destroy the cache
- if (isNode) {
- jQuery.cleanData([elem], true);
-
- // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080)
- /* jshint eqeqeq: false */
- } else if (jQuery.support.deleteExpando || cache != cache.window) {
- /* jshint eqeqeq: true */
- delete cache[id];
-
- // When all else fails, null
- } else {
- cache[id] = null;
- }
- }
-
- jQuery.extend({
- cache: {},
-
- // The following elements throw uncatchable exceptions if you
- // attempt to add expando properties to them.
- noData: {
- "applet": true,
- "embed": true,
- // Ban all objects except for Flash (which handle expandos)
- "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
- },
-
- hasData: function (elem) {
- elem = elem.nodeType ? jQuery.cache[elem[jQuery.expando]] : elem[jQuery.expando];
- return !!elem && !isEmptyDataObject(elem);
- },
-
- data: function (elem, name, data) {
- return internalData(elem, name, data);
- },
-
- removeData: function (elem, name) {
- return internalRemoveData(elem, name);
- },
-
- // For internal use only.
- _data: function (elem, name, data) {
- return internalData(elem, name, data, true);
- },
-
- _removeData: function (elem, name) {
- return internalRemoveData(elem, name, true);
- },
-
- // A method for determining if a DOM node can handle the data expando
- acceptData: function (elem) {
- // Do not set data on non-element because it will not be cleared (#8335).
- if (elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9) {
- return false;
- }
-
- var noData = elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()];
-
- // nodes accept data unless otherwise specified; rejection can be conditional
- return !noData || noData !== true && elem.getAttribute("classid") === noData;
- }
- });
-
- jQuery.fn.extend({
- data: function (key, value) {
- var attrs, name,
- data = null,
- i = 0,
- elem = this[0];
-
- // Special expections of .data basically thwart jQuery.access,
- // so implement the relevant behavior ourselves
-
- // Gets all values
- if (key === undefined) {
- if (this.length) {
- data = jQuery.data(elem);
-
- if (elem.nodeType === 1 && !jQuery._data(elem, "parsedAttrs")) {
- attrs = elem.attributes;
- for (; i < attrs.length; i++) {
- name = attrs[i].name;
-
- if (name.indexOf("data-") === 0) {
- name = jQuery.camelCase(name.slice(5));
-
- dataAttr(elem, name, data[name]);
- }
- }
- jQuery._data(elem, "parsedAttrs", true);
- }
- }
-
- return data;
- }
-
- // Sets multiple values
- if (typeof key === "object") {
- return this.each(function () {
- jQuery.data(this, key);
- });
- }
-
- return arguments.length > 1 ?
-
- // Sets one value
- this.each(function () {
- jQuery.data(this, key, value);
- }) :
-
- // Gets one value
- // Try to fetch any internally stored data first
- elem ? dataAttr(elem, key, jQuery.data(elem, key)) : null;
- },
-
- removeData: function (key) {
- return this.each(function () {
- jQuery.removeData(this, key);
- });
- }
- });
-
- function dataAttr(elem, key, data) {
- // If nothing was found internally, try to fetch any
- // data from the HTML5 data-* attribute
- if (data === undefined && elem.nodeType === 1) {
-
- var name = "data-" + key.replace(rmultiDash, "-$1").toLowerCase();
-
- data = elem.getAttribute(name);
-
- if (typeof data === "string") {
- try {
- data = data === "true" ? true :
- data === "false" ? false :
- data === "null" ? null :
- // Only convert to a number if it doesn't change the string
- +data + "" === data ? +data :
- rbrace.test(data) ? jQuery.parseJSON(data) :
- data;
- } catch (e) {
- }
-
- // Make sure we set the data so it isn't changed later
- jQuery.data(elem, key, data);
-
- } else {
- data = undefined;
- }
- }
-
- return data;
- }
-
-// checks a cache object for emptiness
- function isEmptyDataObject(obj) {
- var name;
- for (name in obj) {
-
- // if the public data object is empty, the private is still empty
- if (name === "data" && jQuery.isEmptyObject(obj[name])) {
- continue;
- }
- if (name !== "toJSON") {
- return false;
- }
- }
-
- return true;
- }
-
- jQuery.extend({
- queue: function (elem, type, data) {
- var queue;
-
- if (elem) {
- type = ( type || "fx" ) + "queue";
- queue = jQuery._data(elem, type);
-
- // Speed up dequeue by getting out quickly if this is just a lookup
- if (data) {
- if (!queue || jQuery.isArray(data)) {
- queue = jQuery._data(elem, type, jQuery.makeArray(data));
- } else {
- queue.push(data);
- }
- }
- return queue || [];
- }
- },
-
- dequeue: function (elem, type) {
- type = type || "fx";
-
- var queue = jQuery.queue(elem, type),
- startLength = queue.length,
- fn = queue.shift(),
- hooks = jQuery._queueHooks(elem, type),
- next = function () {
- jQuery.dequeue(elem, type);
- };
-
- // If the fx queue is dequeued, always remove the progress sentinel
- if (fn === "inprogress") {
- fn = queue.shift();
- startLength--;
- }
-
- if (fn) {
-
- // Add a progress sentinel to prevent the fx queue from being
- // automatically dequeued
- if (type === "fx") {
- queue.unshift("inprogress");
- }
-
- // clear up the last queue stop function
- delete hooks.stop;
- fn.call(elem, next, hooks);
- }
-
- if (!startLength && hooks) {
- hooks.empty.fire();
- }
- },
-
- // not intended for public consumption - generates a queueHooks object, or returns the current one
- _queueHooks: function (elem, type) {
- var key = type + "queueHooks";
- return jQuery._data(elem, key) || jQuery._data(elem, key, {
- empty: jQuery.Callbacks("once memory").add(function () {
- jQuery._removeData(elem, type + "queue");
- jQuery._removeData(elem, key);
- })
- });
- }
- });
-
- jQuery.fn.extend({
- queue: function (type, data) {
- var setter = 2;
-
- if (typeof type !== "string") {
- data = type;
- type = "fx";
- setter--;
- }
-
- if (arguments.length < setter) {
- return jQuery.queue(this[0], type);
- }
-
- return data === undefined ?
- this :
- this.each(function () {
- var queue = jQuery.queue(this, type, data);
-
- // ensure a hooks for this queue
- jQuery._queueHooks(this, type);
-
- if (type === "fx" && queue[0] !== "inprogress") {
- jQuery.dequeue(this, type);
- }
- });
- },
- dequeue: function (type) {
- return this.each(function () {
- jQuery.dequeue(this, type);
- });
- },
- // Based off of the plugin by Clint Helfers, with permission.
- // http://blindsignals.com/index.php/2009/07/jquery-delay/
- delay: function (time, type) {
- time = jQuery.fx ? jQuery.fx.speeds[time] || time : time;
- type = type || "fx";
-
- return this.queue(type, function (next, hooks) {
- var timeout = setTimeout(next, time);
- hooks.stop = function () {
- clearTimeout(timeout);
- };
- });
- },
- clearQueue: function (type) {
- return this.queue(type || "fx", []);
- },
- // Get a promise resolved when queues of a certain type
- // are emptied (fx is the type by default)
- promise: function (type, obj) {
- var tmp,
- count = 1,
- defer = jQuery.Deferred(),
- elements = this,
- i = this.length,
- resolve = function () {
- if (!( --count )) {
- defer.resolveWith(elements, [elements]);
- }
- };
-
- if (typeof type !== "string") {
- obj = type;
- type = undefined;
- }
- type = type || "fx";
-
- while (i--) {
- tmp = jQuery._data(elements[i], type + "queueHooks");
- if (tmp && tmp.empty) {
- count++;
- tmp.empty.add(resolve);
- }
- }
- resolve();
- return defer.promise(obj);
- }
- });
- var nodeHook, boolHook,
- rclass = /[\t\r\n\f]/g,
- rreturn = /\r/g,
- rfocusable = /^(?:input|select|textarea|button|object)$/i,
- rclickable = /^(?:a|area)$/i,
- ruseDefault = /^(?:checked|selected)$/i,
- getSetAttribute = jQuery.support.getSetAttribute,
- getSetInput = jQuery.support.input;
-
- jQuery.fn.extend({
- attr: function (name, value) {
- return jQuery.access(this, jQuery.attr, name, value, arguments.length > 1);
- },
-
- removeAttr: function (name) {
- return this.each(function () {
- jQuery.removeAttr(this, name);
- });
- },
-
- prop: function (name, value) {
- return jQuery.access(this, jQuery.prop, name, value, arguments.length > 1);
- },
-
- removeProp: function (name) {
- name = jQuery.propFix[name] || name;
- return this.each(function () {
- // try/catch handles cases where IE balks (such as removing a property on window)
- try {
- this[name] = undefined;
- delete this[name];
- } catch (e) {
- }
- });
- },
-
- addClass: function (value) {
- var classes, elem, cur, clazz, j,
- i = 0,
- len = this.length,
- proceed = typeof value === "string" && value;
-
- if (jQuery.isFunction(value)) {
- return this.each(function (j) {
- jQuery(this).addClass(value.call(this, j, this.className));
- });
- }
-
- if (proceed) {
- // The disjunction here is for better compressibility (see removeClass)
- classes = ( value || "" ).match(core_rnotwhite) || [];
-
- for (; i < len; i++) {
- elem = this[i];
- cur = elem.nodeType === 1 && ( elem.className ?
- ( " " + elem.className + " " ).replace(rclass, " ") :
- " "
- );
-
- if (cur) {
- j = 0;
- while ((clazz = classes[j++])) {
- if (cur.indexOf(" " + clazz + " ") < 0) {
- cur += clazz + " ";
- }
- }
- elem.className = jQuery.trim(cur);
-
- }
- }
- }
-
- return this;
- },
-
- removeClass: function (value) {
- var classes, elem, cur, clazz, j,
- i = 0,
- len = this.length,
- proceed = arguments.length === 0 || typeof value === "string" && value;
-
- if (jQuery.isFunction(value)) {
- return this.each(function (j) {
- jQuery(this).removeClass(value.call(this, j, this.className));
- });
- }
- if (proceed) {
- classes = ( value || "" ).match(core_rnotwhite) || [];
-
- for (; i < len; i++) {
- elem = this[i];
- // This expression is here for better compressibility (see addClass)
- cur = elem.nodeType === 1 && ( elem.className ?
- ( " " + elem.className + " " ).replace(rclass, " ") :
- ""
- );
-
- if (cur) {
- j = 0;
- while ((clazz = classes[j++])) {
- // Remove *all* instances
- while (cur.indexOf(" " + clazz + " ") >= 0) {
- cur = cur.replace(" " + clazz + " ", " ");
- }
- }
- elem.className = value ? jQuery.trim(cur) : "";
- }
- }
- }
-
- return this;
- },
-
- toggleClass: function (value, stateVal) {
- var type = typeof value;
-
- if (typeof stateVal === "boolean" && type === "string") {
- return stateVal ? this.addClass(value) : this.removeClass(value);
- }
-
- if (jQuery.isFunction(value)) {
- return this.each(function (i) {
- jQuery(this).toggleClass(value.call(this, i, this.className, stateVal), stateVal);
- });
- }
-
- return this.each(function () {
- if (type === "string") {
- // toggle individual class names
- var className,
- i = 0,
- self = jQuery(this),
- classNames = value.match(core_rnotwhite) || [];
-
- while ((className = classNames[i++])) {
- // check each className given, space separated list
- if (self.hasClass(className)) {
- self.removeClass(className);
- } else {
- self.addClass(className);
- }
- }
-
- // Toggle whole class name
- } else if (type === core_strundefined || type === "boolean") {
- if (this.className) {
- // store className if set
- jQuery._data(this, "__className__", this.className);
- }
-
- // If the element has a class name or if we're passed "false",
- // then remove the whole classname (if there was one, the above saved it).
- // Otherwise bring back whatever was previously saved (if anything),
- // falling back to the empty string if nothing was stored.
- this.className = this.className || value === false ? "" : jQuery._data(this, "__className__") || "";
- }
- });
- },
-
- hasClass: function (selector) {
- var className = " " + selector + " ",
- i = 0,
- l = this.length;
- for (; i < l; i++) {
- if (this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf(className) >= 0) {
- return true;
- }
- }
-
- return false;
- },
-
- val: function (value) {
- var ret, hooks, isFunction,
- elem = this[0];
-
- if (!arguments.length) {
- if (elem) {
- hooks = jQuery.valHooks[elem.type] || jQuery.valHooks[elem.nodeName.toLowerCase()];
-
- if (hooks && "get" in hooks && (ret = hooks.get(elem, "value")) !== undefined) {
- return ret;
- }
-
- ret = elem.value;
-
- return typeof ret === "string" ?
- // handle most common string cases
- ret.replace(rreturn, "") :
- // handle cases where value is null/undef or number
- ret == null ? "" : ret;
- }
-
- return;
- }
-
- isFunction = jQuery.isFunction(value);
-
- return this.each(function (i) {
- var val;
-
- if (this.nodeType !== 1) {
- return;
- }
-
- if (isFunction) {
- val = value.call(this, i, jQuery(this).val());
- } else {
- val = value;
- }
-
- // Treat null/undefined as ""; convert numbers to string
- if (val == null) {
- val = "";
- } else if (typeof val === "number") {
- val += "";
- } else if (jQuery.isArray(val)) {
- val = jQuery.map(val, function (value) {
- return value == null ? "" : value + "";
- });
- }
-
- hooks = jQuery.valHooks[this.type] || jQuery.valHooks[this.nodeName.toLowerCase()];
-
- // If set returns undefined, fall back to normal setting
- if (!hooks || !("set" in hooks) || hooks.set(this, val, "value") === undefined) {
- this.value = val;
- }
- });
- }
- });
-
- jQuery.extend({
- valHooks: {
- option: {
- get: function (elem) {
- // Use proper attribute retrieval(#6932, #12072)
- var val = jQuery.find.attr(elem, "value");
- return val != null ?
- val :
- elem.text;
- }
- },
- select: {
- get: function (elem) {
- var value, option,
- options = elem.options,
- index = elem.selectedIndex,
- one = elem.type === "select-one" || index < 0,
- values = one ? null : [],
- max = one ? index + 1 : options.length,
- i = index < 0 ?
- max :
- one ? index : 0;
-
- // Loop through all the selected options
- for (; i < max; i++) {
- option = options[i];
-
- // oldIE doesn't update selected after form reset (#2551)
- if (( option.selected || i === index ) &&
- // Don't return options that are disabled or in a disabled optgroup
- ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) &&
- ( !option.parentNode.disabled || !jQuery.nodeName(option.parentNode, "optgroup") )) {
-
- // Get the specific value for the option
- value = jQuery(option).val();
-
- // We don't need an array for one selects
- if (one) {
- return value;
- }
-
- // Multi-Selects return an array
- values.push(value);
- }
- }
-
- return values;
- },
-
- set: function (elem, value) {
- var optionSet, option,
- options = elem.options,
- values = jQuery.makeArray(value),
- i = options.length;
-
- while (i--) {
- option = options[i];
- if ((option.selected = jQuery.inArray(jQuery(option).val(), values) >= 0)) {
- optionSet = true;
- }
- }
-
- // force browsers to behave consistently when non-matching value is set
- if (!optionSet) {
- elem.selectedIndex = -1;
- }
- return values;
- }
- }
- },
-
- attr: function (elem, name, value) {
- var hooks, ret,
- nType = elem.nodeType;
-
- // don't get/set attributes on text, comment and attribute nodes
- if (!elem || nType === 3 || nType === 8 || nType === 2) {
- return;
- }
-
- // Fallback to prop when attributes are not supported
- if (typeof elem.getAttribute === core_strundefined) {
- return jQuery.prop(elem, name, value);
- }
-
- // All attributes are lowercase
- // Grab necessary hook if one is defined
- if (nType !== 1 || !jQuery.isXMLDoc(elem)) {
- name = name.toLowerCase();
- hooks = jQuery.attrHooks[name] ||
- ( jQuery.expr.match.bool.test(name) ? boolHook : nodeHook );
- }
-
- if (value !== undefined) {
-
- if (value === null) {
- jQuery.removeAttr(elem, name);
-
- } else if (hooks && "set" in hooks && (ret = hooks.set(elem, value, name)) !== undefined) {
- return ret;
-
- } else {
- elem.setAttribute(name, value + "");
- return value;
- }
-
- } else if (hooks && "get" in hooks && (ret = hooks.get(elem, name)) !== null) {
- return ret;
-
- } else {
- ret = jQuery.find.attr(elem, name);
-
- // Non-existent attributes return null, we normalize to undefined
- return ret == null ?
- undefined :
- ret;
- }
- },
-
- removeAttr: function (elem, value) {
- var name, propName,
- i = 0,
- attrNames = value && value.match(core_rnotwhite);
-
- if (attrNames && elem.nodeType === 1) {
- while ((name = attrNames[i++])) {
- propName = jQuery.propFix[name] || name;
-
- // Boolean attributes get special treatment (#10870)
- if (jQuery.expr.match.bool.test(name)) {
- // Set corresponding property to false
- if (getSetInput && getSetAttribute || !ruseDefault.test(name)) {
- elem[propName] = false;
- // Support: IE<9
- // Also clear defaultChecked/defaultSelected (if appropriate)
- } else {
- elem[jQuery.camelCase("default-" + name)] =
- elem[propName] = false;
- }
-
- // See #9699 for explanation of this approach (setting first, then removal)
- } else {
- jQuery.attr(elem, name, "");
- }
-
- elem.removeAttribute(getSetAttribute ? name : propName);
- }
- }
- },
-
- attrHooks: {
- type: {
- set: function (elem, value) {
- if (!jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input")) {
- // Setting the type on a radio button after the value resets the value in IE6-9
- // Reset value to default in case type is set after value during creation
- var val = elem.value;
- elem.setAttribute("type", value);
- if (val) {
- elem.value = val;
- }
- return value;
- }
- }
- }
- },
-
- propFix: {
- "for": "htmlFor",
- "class": "className"
- },
-
- prop: function (elem, name, value) {
- var ret, hooks, notxml,
- nType = elem.nodeType;
-
- // don't get/set properties on text, comment and attribute nodes
- if (!elem || nType === 3 || nType === 8 || nType === 2) {
- return;
- }
-
- notxml = nType !== 1 || !jQuery.isXMLDoc(elem);
-
- if (notxml) {
- // Fix name and attach hooks
- name = jQuery.propFix[name] || name;
- hooks = jQuery.propHooks[name];
- }
-
- if (value !== undefined) {
- return hooks && "set" in hooks && (ret = hooks.set(elem, value, name)) !== undefined ?
- ret :
- ( elem[name] = value );
-
- } else {
- return hooks && "get" in hooks && (ret = hooks.get(elem, name)) !== null ?
- ret :
- elem[name];
- }
- },
-
- propHooks: {
- tabIndex: {
- get: function (elem) {
- // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
- // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
- // Use proper attribute retrieval(#12072)
- var tabindex = jQuery.find.attr(elem, "tabindex");
-
- return tabindex ?
- parseInt(tabindex, 10) :
- rfocusable.test(elem.nodeName) || rclickable.test(elem.nodeName) && elem.href ?
- 0 :
- -1;
- }
- }
- }
- });
-
-// Hooks for boolean attributes
- boolHook = {
- set: function (elem, value, name) {
- if (value === false) {
- // Remove boolean attributes when set to false
- jQuery.removeAttr(elem, name);
- } else if (getSetInput && getSetAttribute || !ruseDefault.test(name)) {
- // IE<8 needs the *property* name
- elem.setAttribute(!getSetAttribute && jQuery.propFix[name] || name, name);
-
- // Use defaultChecked and defaultSelected for oldIE
- } else {
- elem[jQuery.camelCase("default-" + name)] = elem[name] = true;
- }
-
- return name;
- }
- };
- jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g), function (i, name) {
- var getter = jQuery.expr.attrHandle[name] || jQuery.find.attr;
-
- jQuery.expr.attrHandle[name] = getSetInput && getSetAttribute || !ruseDefault.test(name) ?
- function (elem, name, isXML) {
- var fn = jQuery.expr.attrHandle[name],
- ret = isXML ?
- undefined :
- /* jshint eqeqeq: false */
- (jQuery.expr.attrHandle[name] = undefined) !=
- getter(elem, name, isXML) ?
-
- name.toLowerCase() :
- null;
- jQuery.expr.attrHandle[name] = fn;
- return ret;
- } :
- function (elem, name, isXML) {
- return isXML ?
- undefined :
- elem[jQuery.camelCase("default-" + name)] ?
- name.toLowerCase() :
- null;
- };
- });
-
-// fix oldIE attroperties
- if (!getSetInput || !getSetAttribute) {
- jQuery.attrHooks.value = {
- set: function (elem, value, name) {
- if (jQuery.nodeName(elem, "input")) {
- // Does not return so that setAttribute is also used
- elem.defaultValue = value;
- } else {
- // Use nodeHook if defined (#1954); otherwise setAttribute is fine
- return nodeHook && nodeHook.set(elem, value, name);
- }
- }
- };
- }
-
-// IE6/7 do not support getting/setting some attributes with get/setAttribute
- if (!getSetAttribute) {
-
- // Use this for any attribute in IE6/7
- // This fixes almost every IE6/7 issue
- nodeHook = {
- set: function (elem, value, name) {
- // Set the existing or create a new attribute node
- var ret = elem.getAttributeNode(name);
- if (!ret) {
- elem.setAttributeNode(
- (ret = elem.ownerDocument.createAttribute(name))
- );
- }
-
- ret.value = value += "";
-
- // Break association with cloned elements by also using setAttribute (#9646)
- return name === "value" || value === elem.getAttribute(name) ?
- value :
- undefined;
- }
- };
- jQuery.expr.attrHandle.id = jQuery.expr.attrHandle.name = jQuery.expr.attrHandle.coords =
- // Some attributes are constructed with empty-string values when not defined
- function (elem, name, isXML) {
- var ret;
- return isXML ?
- undefined :
- (ret = elem.getAttributeNode(name)) && ret.value !== "" ?
- ret.value :
- null;
- };
- jQuery.valHooks.button = {
- get: function (elem, name) {
- var ret = elem.getAttributeNode(name);
- return ret && ret.specified ?
- ret.value :
- undefined;
- },
- set: nodeHook.set
- };
-
- // Set contenteditable to false on removals(#10429)
- // Setting to empty string throws an error as an invalid value
- jQuery.attrHooks.contenteditable = {
- set: function (elem, value, name) {
- nodeHook.set(elem, value === "" ? false : value, name);
- }
- };
-
- // Set width and height to auto instead of 0 on empty string( Bug #8150 )
- // This is for removals
- jQuery.each(["width", "height"], function (i, name) {
- jQuery.attrHooks[name] = {
- set: function (elem, value) {
- if (value === "") {
- elem.setAttribute(name, "auto");
- return value;
- }
- }
- };
- });
- }
-
-
-// Some attributes require a special call on IE
-// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
- if (!jQuery.support.hrefNormalized) {
- // href/src property should get the full normalized URL (#10299/#12915)
- jQuery.each(["href", "src"], function (i, name) {
- jQuery.propHooks[name] = {
- get: function (elem) {
- return elem.getAttribute(name, 4);
- }
- };
- });
- }
-
- if (!jQuery.support.style) {
- jQuery.attrHooks.style = {
- get: function (elem) {
- // Return undefined in the case of empty string
- // Note: IE uppercases css property names, but if we were to .toLowerCase()
- // .cssText, that would destroy case senstitivity in URL's, like in "background"
- return elem.style.cssText || undefined;
- },
- set: function (elem, value) {
- return ( elem.style.cssText = value + "" );
- }
- };
- }
-
-// Safari mis-reports the default selected property of an option
-// Accessing the parent's selectedIndex property fixes it
- if (!jQuery.support.optSelected) {
- jQuery.propHooks.selected = {
- get: function (elem) {
- var parent = elem.parentNode;
-
- if (parent) {
- parent.selectedIndex;
-
- // Make sure that it also works with optgroups, see #5701
- if (parent.parentNode) {
- parent.parentNode.selectedIndex;
- }
- }
- return null;
- }
- };
- }
-
- jQuery.each([
- "tabIndex",
- "readOnly",
- "maxLength",
- "cellSpacing",
- "cellPadding",
- "rowSpan",
- "colSpan",
- "useMap",
- "frameBorder",
- "contentEditable"
- ], function () {
- jQuery.propFix[this.toLowerCase()] = this;
- });
-
-// IE6/7 call enctype encoding
- if (!jQuery.support.enctype) {
- jQuery.propFix.enctype = "encoding";
- }
-
-// Radios and checkboxes getter/setter
- jQuery.each(["radio", "checkbox"], function () {
- jQuery.valHooks[this] = {
- set: function (elem, value) {
- if (jQuery.isArray(value)) {
- return ( elem.checked = jQuery.inArray(jQuery(elem).val(), value) >= 0 );
- }
- }
- };
- if (!jQuery.support.checkOn) {
- jQuery.valHooks[this].get = function (elem) {
- // Support: Webkit
- // "" is returned instead of "on" if a value isn't specified
- return elem.getAttribute("value") === null ? "on" : elem.value;
- };
- }
- });
- var rformElems = /^(?:input|select|textarea)$/i,
- rkeyEvent = /^key/,
- rmouseEvent = /^(?:mouse|contextmenu)|click/,
- rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
- rtypenamespace = /^([^.]*)(?:\.(.+)|)$/;
-
- function returnTrue() {
- return true;
- }
-
- function returnFalse() {
- return false;
- }
-
- function safeActiveElement() {
- try {
- return document.activeElement;
- } catch (err) {
- }
- }
-
- /*
- * Helper functions for managing events -- not part of the public interface.
- * Props to Dean Edwards' addEvent library for many of the ideas.
- */
- jQuery.event = {
-
- global: {},
-
- add: function (elem, types, handler, data, selector) {
- var tmp, events, t, handleObjIn,
- special, eventHandle, handleObj,
- handlers, type, namespaces, origType,
- elemData = jQuery._data(elem);
-
- // Don't attach events to noData or text/comment nodes (but allow plain objects)
- if (!elemData) {
- return;
- }
-
- // Caller can pass in an object of custom data in lieu of the handler
- if (handler.handler) {
- handleObjIn = handler;
- handler = handleObjIn.handler;
- selector = handleObjIn.selector;
- }
-
- // Make sure that the handler has a unique ID, used to find/remove it later
- if (!handler.guid) {
- handler.guid = jQuery.guid++;
- }
-
- // Init the element's event structure and main handler, if this is the first
- if (!(events = elemData.events)) {
- events = elemData.events = {};
- }
- if (!(eventHandle = elemData.handle)) {
- eventHandle = elemData.handle = function (e) {
- // Discard the second event of a jQuery.event.trigger() and
- // when an event is called after a page has unloaded
- return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ?
- jQuery.event.dispatch.apply(eventHandle.elem, arguments) :
- undefined;
- };
- // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events
- eventHandle.elem = elem;
- }
-
- // Handle multiple events separated by a space
- types = ( types || "" ).match(core_rnotwhite) || [""];
- t = types.length;
- while (t--) {
- tmp = rtypenamespace.exec(types[t]) || [];
- type = origType = tmp[1];
- namespaces = ( tmp[2] || "" ).split(".").sort();
-
- // There *must* be a type, no attaching namespace-only handlers
- if (!type) {
- continue;
- }
-
- // If event changes its type, use the special event handlers for the changed type
- special = jQuery.event.special[type] || {};
-
- // If selector defined, determine special event api type, otherwise given type
- type = ( selector ? special.delegateType : special.bindType ) || type;
-
- // Update special based on newly reset type
- special = jQuery.event.special[type] || {};
-
- // handleObj is passed to all event handlers
- handleObj = jQuery.extend({
- type: type,
- origType: origType,
- data: data,
- handler: handler,
- guid: handler.guid,
- selector: selector,
- needsContext: selector && jQuery.expr.match.needsContext.test(selector),
- namespace: namespaces.join(".")
- }, handleObjIn);
-
- // Init the event handler queue if we're the first
- if (!(handlers = events[type])) {
- handlers = events[type] = [];
- handlers.delegateCount = 0;
-
- // Only use addEventListener/attachEvent if the special events handler returns false
- if (!special.setup || special.setup.call(elem, data, namespaces, eventHandle) === false) {
- // Bind the global event handler to the element
- if (elem.addEventListener) {
- elem.addEventListener(type, eventHandle, false);
-
- } else if (elem.attachEvent) {
- elem.attachEvent("on" + type, eventHandle);
- }
- }
- }
-
- if (special.add) {
- special.add.call(elem, handleObj);
-
- if (!handleObj.handler.guid) {
- handleObj.handler.guid = handler.guid;
- }
- }
-
- // Add to the element's handler list, delegates in front
- if (selector) {
- handlers.splice(handlers.delegateCount++, 0, handleObj);
- } else {
- handlers.push(handleObj);
- }
-
- // Keep track of which events have ever been used, for event optimization
- jQuery.event.global[type] = true;
- }
-
- // Nullify elem to prevent memory leaks in IE
- elem = null;
- },
-
- // Detach an event or set of events from an element
- remove: function (elem, types, handler, selector, mappedTypes) {
- var j, handleObj, tmp,
- origCount, t, events,
- special, handlers, type,
- namespaces, origType,
- elemData = jQuery.hasData(elem) && jQuery._data(elem);
-
- if (!elemData || !(events = elemData.events)) {
- return;
- }
-
- // Once for each type.namespace in types; type may be omitted
- types = ( types || "" ).match(core_rnotwhite) || [""];
- t = types.length;
- while (t--) {
- tmp = rtypenamespace.exec(types[t]) || [];
- type = origType = tmp[1];
- namespaces = ( tmp[2] || "" ).split(".").sort();
-
- // Unbind all events (on this namespace, if provided) for the element
- if (!type) {
- for (type in events) {
- jQuery.event.remove(elem, type + types[t], handler, selector, true);
- }
- continue;
- }
-
- special = jQuery.event.special[type] || {};
- type = ( selector ? special.delegateType : special.bindType ) || type;
- handlers = events[type] || [];
- tmp = tmp[2] && new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)");
-
- // Remove matching events
- origCount = j = handlers.length;
- while (j--) {
- handleObj = handlers[j];
-
- if (( mappedTypes || origType === handleObj.origType ) &&
- ( !handler || handler.guid === handleObj.guid ) &&
- ( !tmp || tmp.test(handleObj.namespace) ) &&
- ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector )) {
- handlers.splice(j, 1);
-
- if (handleObj.selector) {
- handlers.delegateCount--;
- }
- if (special.remove) {
- special.remove.call(elem, handleObj);
- }
- }
- }
-
- // Remove generic event handler if we removed something and no more handlers exist
- // (avoids potential for endless recursion during removal of special event handlers)
- if (origCount && !handlers.length) {
- if (!special.teardown || special.teardown.call(elem, namespaces, elemData.handle) === false) {
- jQuery.removeEvent(elem, type, elemData.handle);
- }
-
- delete events[type];
- }
- }
-
- // Remove the expando if it's no longer used
- if (jQuery.isEmptyObject(events)) {
- delete elemData.handle;
-
- // removeData also checks for emptiness and clears the expando if empty
- // so use it instead of delete
- jQuery._removeData(elem, "events");
- }
- },
-
- trigger: function (event, data, elem, onlyHandlers) {
- var handle, ontype, cur,
- bubbleType, special, tmp, i,
- eventPath = [elem || document],
- type = core_hasOwn.call(event, "type") ? event.type : event,
- namespaces = core_hasOwn.call(event, "namespace") ? event.namespace.split(".") : [];
-
- cur = tmp = elem = elem || document;
-
- // Don't do events on text and comment nodes
- if (elem.nodeType === 3 || elem.nodeType === 8) {
- return;
- }
-
- // focus/blur morphs to focusin/out; ensure we're not firing them right now
- if (rfocusMorph.test(type + jQuery.event.triggered)) {
- return;
- }
-
- if (type.indexOf(".") >= 0) {
- // Namespaced trigger; create a regexp to match event type in handle()
- namespaces = type.split(".");
- type = namespaces.shift();
- namespaces.sort();
- }
- ontype = type.indexOf(":") < 0 && "on" + type;
-
- // Caller can pass in a jQuery.Event object, Object, or just an event type string
- event = event[jQuery.expando] ?
- event :
- new jQuery.Event(type, typeof event === "object" && event);
-
- // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)
- event.isTrigger = onlyHandlers ? 2 : 3;
- event.namespace = namespaces.join(".");
- event.namespace_re = event.namespace ?
- new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)") :
- null;
-
- // Clean up the event in case it is being reused
- event.result = undefined;
- if (!event.target) {
- event.target = elem;
- }
-
- // Clone any incoming data and prepend the event, creating the handler arg list
- data = data == null ?
- [event] :
- jQuery.makeArray(data, [event]);
-
- // Allow special events to draw outside the lines
- special = jQuery.event.special[type] || {};
- if (!onlyHandlers && special.trigger && special.trigger.apply(elem, data) === false) {
- return;
- }
-
- // Determine event propagation path in advance, per W3C events spec (#9951)
- // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
- if (!onlyHandlers && !special.noBubble && !jQuery.isWindow(elem)) {
-
- bubbleType = special.delegateType || type;
- if (!rfocusMorph.test(bubbleType + type)) {
- cur = cur.parentNode;
- }
- for (; cur; cur = cur.parentNode) {
- eventPath.push(cur);
- tmp = cur;
- }
-
- // Only add window if we got to document (e.g., not plain obj or detached DOM)
- if (tmp === (elem.ownerDocument || document)) {
- eventPath.push(tmp.defaultView || tmp.parentWindow || window);
- }
- }
-
- // Fire handlers on the event path
- i = 0;
- while ((cur = eventPath[i++]) && !event.isPropagationStopped()) {
-
- event.type = i > 1 ?
- bubbleType :
- special.bindType || type;
-
- // jQuery handler
- handle = ( jQuery._data(cur, "events") || {} )[event.type] && jQuery._data(cur, "handle");
- if (handle) {
- handle.apply(cur, data);
- }
-
- // Native handler
- handle = ontype && cur[ontype];
- if (handle && jQuery.acceptData(cur) && handle.apply && handle.apply(cur, data) === false) {
- event.preventDefault();
- }
- }
- event.type = type;
-
- // If nobody prevented the default action, do it now
- if (!onlyHandlers && !event.isDefaultPrevented()) {
-
- if ((!special._default || special._default.apply(eventPath.pop(), data) === false) &&
- jQuery.acceptData(elem)) {
-
- // Call a native DOM method on the target with the same name name as the event.
- // Can't use an .isFunction() check here because IE6/7 fails that test.
- // Don't do default actions on window, that's where global variables be (#6170)
- if (ontype && elem[type] && !jQuery.isWindow(elem)) {
-
- // Don't re-trigger an onFOO event when we call its FOO() method
- tmp = elem[ontype];
-
- if (tmp) {
- elem[ontype] = null;
- }
-
- // Prevent re-triggering of the same event, since we already bubbled it above
- jQuery.event.triggered = type;
- try {
- elem[type]();
- } catch (e) {
- // IE<9 dies on focus/blur to hidden element (#1486,#12518)
- // only reproducible on winXP IE8 native, not IE9 in IE8 mode
- }
- jQuery.event.triggered = undefined;
-
- if (tmp) {
- elem[ontype] = tmp;
- }
- }
- }
- }
-
- return event.result;
- },
-
- dispatch: function (event) {
-
- // Make a writable jQuery.Event from the native event object
- event = jQuery.event.fix(event);
-
- var i, ret, handleObj, matched, j,
- handlerQueue = [],
- args = core_slice.call(arguments),
- handlers = ( jQuery._data(this, "events") || {} )[event.type] || [],
- special = jQuery.event.special[event.type] || {};
-
- // Use the fix-ed jQuery.Event rather than the (read-only) native event
- args[0] = event;
- event.delegateTarget = this;
-
- // Call the preDispatch hook for the mapped type, and let it bail if desired
- if (special.preDispatch && special.preDispatch.call(this, event) === false) {
- return;
- }
-
- // Determine handlers
- handlerQueue = jQuery.event.handlers.call(this, event, handlers);
-
- // Run delegates first; they may want to stop propagation beneath us
- i = 0;
- while ((matched = handlerQueue[i++]) && !event.isPropagationStopped()) {
- event.currentTarget = matched.elem;
-
- j = 0;
- while ((handleObj = matched.handlers[j++]) && !event.isImmediatePropagationStopped()) {
-
- // Triggered event must either 1) have no namespace, or
- // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).
- if (!event.namespace_re || event.namespace_re.test(handleObj.namespace)) {
-
- event.handleObj = handleObj;
- event.data = handleObj.data;
-
- ret = ( (jQuery.event.special[handleObj.origType] || {}).handle || handleObj.handler )
- .apply(matched.elem, args);
-
- if (ret !== undefined) {
- if ((event.result = ret) === false) {
- event.preventDefault();
- event.stopPropagation();
- }
- }
- }
- }
- }
-
- // Call the postDispatch hook for the mapped type
- if (special.postDispatch) {
- special.postDispatch.call(this, event);
- }
-
- return event.result;
- },
-
- handlers: function (event, handlers) {
- var sel, handleObj, matches, i,
- handlerQueue = [],
- delegateCount = handlers.delegateCount,
- cur = event.target;
-
- // Find delegate handlers
- // Black-hole SVG <use> instance trees (#13180)
- // Avoid non-left-click bubbling in Firefox (#3861)
- if (delegateCount && cur.nodeType && (!event.button || event.type !== "click")) {
-
- /* jshint eqeqeq: false */
- for (; cur != this; cur = cur.parentNode || this) {
- /* jshint eqeqeq: true */
-
- // Don't check non-elements (#13208)
- // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
- if (cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click")) {
- matches = [];
- for (i = 0; i < delegateCount; i++) {
- handleObj = handlers[i];
-
- // Don't conflict with Object.prototype properties (#13203)
- sel = handleObj.selector + " ";
-
- if (matches[sel] === undefined) {
- matches[sel] = handleObj.needsContext ?
- jQuery(sel, this).index(cur) >= 0 :
- jQuery.find(sel, this, null, [cur]).length;
- }
- if (matches[sel]) {
- matches.push(handleObj);
- }
- }
- if (matches.length) {
- handlerQueue.push({elem: cur, handlers: matches});
- }
- }
- }
- }
-
- // Add the remaining (directly-bound) handlers
- if (delegateCount < handlers.length) {
- handlerQueue.push({elem: this, handlers: handlers.slice(delegateCount)});
- }
-
- return handlerQueue;
- },
-
- fix: function (event) {
- if (event[jQuery.expando]) {
- return event;
- }
-
- // Create a writable copy of the event object and normalize some properties
- var i, prop, copy,
- type = event.type,
- originalEvent = event,
- fixHook = this.fixHooks[type];
-
- if (!fixHook) {
- this.fixHooks[type] = fixHook =
- rmouseEvent.test(type) ? this.mouseHooks :
- rkeyEvent.test(type) ? this.keyHooks :
- {};
- }
- copy = fixHook.props ? this.props.concat(fixHook.props) : this.props;
-
- event = new jQuery.Event(originalEvent);
-
- i = copy.length;
- while (i--) {
- prop = copy[i];
- event[prop] = originalEvent[prop];
- }
-
- // Support: IE<9
- // Fix target property (#1925)
- if (!event.target) {
- event.target = originalEvent.srcElement || document;
- }
-
- // Support: Chrome 23+, Safari?
- // Target should not be a text node (#504, #13143)
- if (event.target.nodeType === 3) {
- event.target = event.target.parentNode;
- }
-
- // Support: IE<9
- // For mouse/key events, metaKey==false if it's undefined (#3368, #11328)
- event.metaKey = !!event.metaKey;
-
- return fixHook.filter ? fixHook.filter(event, originalEvent) : event;
- },
-
- // Includes some event props shared by KeyEvent and MouseEvent
- props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
-
- fixHooks: {},
-
- keyHooks: {
- props: "char charCode key keyCode".split(" "),
- filter: function (event, original) {
-
- // Add which for key events
- if (event.which == null) {
- event.which = original.charCode != null ? original.charCode : original.keyCode;
- }
-
- return event;
- }
- },
-
- mouseHooks: {
- props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
- filter: function (event, original) {
- var body, eventDoc, doc,
- button = original.button,
- fromElement = original.fromElement;
-
- // Calculate pageX/Y if missing and clientX/Y available
- if (event.pageX == null && original.clientX != null) {
- eventDoc = event.target.ownerDocument || document;
- doc = eventDoc.documentElement;
- body = eventDoc.body;
-
- event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );
- event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 );
- }
-
- // Add relatedTarget, if necessary
- if (!event.relatedTarget && fromElement) {
- event.relatedTarget = fromElement === event.target ? original.toElement : fromElement;
- }
-
- // Add which for click: 1 === left; 2 === middle; 3 === right
- // Note: button is not normalized, so don't use it
- if (!event.which && button !== undefined) {
- event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );
- }
-
- return event;
- }
- },
-
- special: {
- load: {
- // Prevent triggered image.load events from bubbling to window.load
- noBubble: true
- },
- focus: {
- // Fire native event if possible so blur/focus sequence is correct
- trigger: function () {
- if (this !== safeActiveElement() && this.focus) {
- try {
- this.focus();
- return false;
- } catch (e) {
- // Support: IE<9
- // If we error on focus to hidden element (#1486, #12518),
- // let .trigger() run the handlers
- }
- }
- },
- delegateType: "focusin"
- },
- blur: {
- trigger: function () {
- if (this === safeActiveElement() && this.blur) {
- this.blur();
- return false;
- }
- },
- delegateType: "focusout"
- },
- click: {
- // For checkbox, fire native event so checked state will be right
- trigger: function () {
- if (jQuery.nodeName(this, "input") && this.type === "checkbox" && this.click) {
- this.click();
- return false;
- }
- },
-
- // For cross-browser consistency, don't fire native .click() on links
- _default: function (event) {
- return jQuery.nodeName(event.target, "a");
- }
- },
-
- beforeunload: {
- postDispatch: function (event) {
-
- // Even when returnValue equals to undefined Firefox will still show alert
- if (event.result !== undefined) {
- event.originalEvent.returnValue = event.result;
- }
- }
- }
- },
-
- simulate: function (type, elem, event, bubble) {
- // Piggyback on a donor event to simulate a different one.
- // Fake originalEvent to avoid donor's stopPropagation, but if the
- // simulated event prevents default then we do the same on the donor.
- var e = jQuery.extend(
- new jQuery.Event(),
- event,
- {
- type: type,
- isSimulated: true,
- originalEvent: {}
- }
- );
- if (bubble) {
- jQuery.event.trigger(e, null, elem);
- } else {
- jQuery.event.dispatch.call(elem, e);
- }
- if (e.isDefaultPrevented()) {
- event.preventDefault();
- }
- }
- };
-
- jQuery.removeEvent = document.removeEventListener ?
- function (elem, type, handle) {
- if (elem.removeEventListener) {
- elem.removeEventListener(type, handle, false);
- }
- } :
- function (elem, type, handle) {
- var name = "on" + type;
-
- if (elem.detachEvent) {
-
- // #8545, #7054, preventing memory leaks for custom events in IE6-8
- // detachEvent needed property on element, by name of that event, to properly expose it to GC
- if (typeof elem[name] === core_strundefined) {
- elem[name] = null;
- }
-
- elem.detachEvent(name, handle);
- }
- };
-
- jQuery.Event = function (src, props) {
- // Allow instantiation without the 'new' keyword
- if (!(this instanceof jQuery.Event)) {
- return new jQuery.Event(src, props);
- }
-
- // Event object
- if (src && src.type) {
- this.originalEvent = src;
- this.type = src.type;
-
- // Events bubbling up the document may have been marked as prevented
- // by a handler lower down the tree; reflect the correct value.
- this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false ||
- src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;
-
- // Event type
- } else {
- this.type = src;
- }
-
- // Put explicitly provided properties onto the event object
- if (props) {
- jQuery.extend(this, props);
- }
-
- // Create a timestamp if incoming event doesn't have one
- this.timeStamp = src && src.timeStamp || jQuery.now();
-
- // Mark it as fixed
- this[jQuery.expando] = true;
- };
-
-// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
-// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
- jQuery.Event.prototype = {
- isDefaultPrevented: returnFalse,
- isPropagationStopped: returnFalse,
- isImmediatePropagationStopped: returnFalse,
-
- preventDefault: function () {
- var e = this.originalEvent;
-
- this.isDefaultPrevented = returnTrue;
- if (!e) {
- return;
- }
-
- // If preventDefault exists, run it on the original event
- if (e.preventDefault) {
- e.preventDefault();
-
- // Support: IE
- // Otherwise set the returnValue property of the original event to false
- } else {
- e.returnValue = false;
- }
- },
- stopPropagation: function () {
- var e = this.originalEvent;
-
- this.isPropagationStopped = returnTrue;
- if (!e) {
- return;
- }
- // If stopPropagation exists, run it on the original event
- if (e.stopPropagation) {
- e.stopPropagation();
- }
-
- // Support: IE
- // Set the cancelBubble property of the original event to true
- e.cancelBubble = true;
- },
- stopImmediatePropagation: function () {
- this.isImmediatePropagationStopped = returnTrue;
- this.stopPropagation();
- }
- };
-
-// Create mouseenter/leave events using mouseover/out and event-time checks
- jQuery.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout"
- }, function (orig, fix) {
- jQuery.event.special[orig] = {
- delegateType: fix,
- bindType: fix,
-
- handle: function (event) {
- var ret,
- target = this,
- related = event.relatedTarget,
- handleObj = event.handleObj;
-
- // For mousenter/leave call the handler if related is outside the target.
- // NB: No relatedTarget if the mouse left/entered the browser window
- if (!related || (related !== target && !jQuery.contains(target, related))) {
- event.type = handleObj.origType;
- ret = handleObj.handler.apply(this, arguments);
- event.type = fix;
- }
- return ret;
- }
- };
- });
-
-// IE submit delegation
- if (!jQuery.support.submitBubbles) {
-
- jQuery.event.special.submit = {
- setup: function () {
- // Only need this for delegated form submit events
- if (jQuery.nodeName(this, "form")) {
- return false;
- }
-
- // Lazy-add a submit handler when a descendant form may potentially be submitted
- jQuery.event.add(this, "click._submit keypress._submit", function (e) {
- // Node name check avoids a VML-related crash in IE (#9807)
- var elem = e.target,
- form = jQuery.nodeName(elem, "input") || jQuery.nodeName(elem, "button") ? elem.form : undefined;
- if (form && !jQuery._data(form, "submitBubbles")) {
- jQuery.event.add(form, "submit._submit", function (event) {
- event._submit_bubble = true;
- });
- jQuery._data(form, "submitBubbles", true);
- }
- });
- // return undefined since we don't need an event listener
- },
-
- postDispatch: function (event) {
- // If form was submitted by the user, bubble the event up the tree
- if (event._submit_bubble) {
- delete event._submit_bubble;
- if (this.parentNode && !event.isTrigger) {
- jQuery.event.simulate("submit", this.parentNode, event, true);
- }
- }
- },
-
- teardown: function () {
- // Only need this for delegated form submit events
- if (jQuery.nodeName(this, "form")) {
- return false;
- }
-
- // Remove delegated handlers; cleanData eventually reaps submit handlers attached above
- jQuery.event.remove(this, "._submit");
- }
- };
- }
-
-// IE change delegation and checkbox/radio fix
- if (!jQuery.support.changeBubbles) {
-
- jQuery.event.special.change = {
-
- setup: function () {
-
- if (rformElems.test(this.nodeName)) {
- // IE doesn't fire change on a check/radio until blur; trigger it on click
- // after a propertychange. Eat the blur-change in special.change.handle.
- // This still fires onchange a second time for check/radio after blur.
- if (this.type === "checkbox" || this.type === "radio") {
- jQuery.event.add(this, "propertychange._change", function (event) {
- if (event.originalEvent.propertyName === "checked") {
- this._just_changed = true;
- }
- });
- jQuery.event.add(this, "click._change", function (event) {
- if (this._just_changed && !event.isTrigger) {
- this._just_changed = false;
- }
- // Allow triggered, simulated change events (#11500)
- jQuery.event.simulate("change", this, event, true);
- });
- }
- return false;
- }
- // Delegated event; lazy-add a change handler on descendant inputs
- jQuery.event.add(this, "beforeactivate._change", function (e) {
- var elem = e.target;
-
- if (rformElems.test(elem.nodeName) && !jQuery._data(elem, "changeBubbles")) {
- jQuery.event.add(elem, "change._change", function (event) {
- if (this.parentNode && !event.isSimulated && !event.isTrigger) {
- jQuery.event.simulate("change", this.parentNode, event, true);
- }
- });
- jQuery._data(elem, "changeBubbles", true);
- }
- });
- },
-
- handle: function (event) {
- var elem = event.target;
-
- // Swallow native change events from checkbox/radio, we already triggered them above
- if (this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox")) {
- return event.handleObj.handler.apply(this, arguments);
- }
- },
-
- teardown: function () {
- jQuery.event.remove(this, "._change");
-
- return !rformElems.test(this.nodeName);
- }
- };
- }
-
-// Create "bubbling" focus and blur events
- if (!jQuery.support.focusinBubbles) {
- jQuery.each({focus: "focusin", blur: "focusout"}, function (orig, fix) {
-
- // Attach a single capturing handler while someone wants focusin/focusout
- var attaches = 0,
- handler = function (event) {
- jQuery.event.simulate(fix, event.target, jQuery.event.fix(event), true);
- };
-
- jQuery.event.special[fix] = {
- setup: function () {
- if (attaches++ === 0) {
- document.addEventListener(orig, handler, true);
- }
- },
- teardown: function () {
- if (--attaches === 0) {
- document.removeEventListener(orig, handler, true);
- }
- }
- };
- });
- }
-
- jQuery.fn.extend({
-
- on: function (types, selector, data, fn, /*INTERNAL*/ one) {
- var type, origFn;
-
- // Types can be a map of types/handlers
- if (typeof types === "object") {
- // ( types-Object, selector, data )
- if (typeof selector !== "string") {
- // ( types-Object, data )
- data = data || selector;
- selector = undefined;
- }
- for (type in types) {
- this.on(type, selector, data, types[type], one);
- }
- return this;
- }
-
- if (data == null && fn == null) {
- // ( types, fn )
- fn = selector;
- data = selector = undefined;
- } else if (fn == null) {
- if (typeof selector === "string") {
- // ( types, selector, fn )
- fn = data;
- data = undefined;
- } else {
- // ( types, data, fn )
- fn = data;
- data = selector;
- selector = undefined;
- }
- }
- if (fn === false) {
- fn = returnFalse;
- } else if (!fn) {
- return this;
- }
-
- if (one === 1) {
- origFn = fn;
- fn = function (event) {
- // Can use an empty set, since event contains the info
- jQuery().off(event);
- return origFn.apply(this, arguments);
- };
- // Use same guid so caller can remove using origFn
- fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
- }
- return this.each(function () {
- jQuery.event.add(this, types, fn, data, selector);
- });
- },
- one: function (types, selector, data, fn) {
- return this.on(types, selector, data, fn, 1);
- },
- off: function (types, selector, fn) {
- var handleObj, type;
- if (types && types.preventDefault && types.handleObj) {
- // ( event ) dispatched jQuery.Event
- handleObj = types.handleObj;
- jQuery(types.delegateTarget).off(
- handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,
- handleObj.selector,
- handleObj.handler
- );
- return this;
- }
- if (typeof types === "object") {
- // ( types-object [, selector] )
- for (type in types) {
- this.off(type, selector, types[type]);
- }
- return this;
- }
- if (selector === false || typeof selector === "function") {
- // ( types [, fn] )
- fn = selector;
- selector = undefined;
- }
- if (fn === false) {
- fn = returnFalse;
- }
- return this.each(function () {
- jQuery.event.remove(this, types, fn, selector);
- });
- },
-
- trigger: function (type, data) {
- return this.each(function () {
- jQuery.event.trigger(type, data, this);
- });
- },
- triggerHandler: function (type, data) {
- var elem = this[0];
- if (elem) {
- return jQuery.event.trigger(type, data, elem, true);
- }
- }
- });
- var isSimple = /^.[^:#\[\.,]*$/,
- rparentsprev = /^(?:parents|prev(?:Until|All))/,
- rneedsContext = jQuery.expr.match.needsContext,
- // methods guaranteed to produce a unique set when starting from a unique set
- guaranteedUnique = {
- children: true,
- contents: true,
- next: true,
- prev: true
- };
-
- jQuery.fn.extend({
- find: function (selector) {
- var i,
- ret = [],
- self = this,
- len = self.length;
-
- if (typeof selector !== "string") {
- return this.pushStack(jQuery(selector).filter(function () {
- for (i = 0; i < len; i++) {
- if (jQuery.contains(self[i], this)) {
- return true;
- }
- }
- }));
- }
-
- for (i = 0; i < len; i++) {
- jQuery.find(selector, self[i], ret);
- }
-
- // Needed because $( selector, context ) becomes $( context ).find( selector )
- ret = this.pushStack(len > 1 ? jQuery.unique(ret) : ret);
- ret.selector = this.selector ? this.selector + " " + selector : selector;
- return ret;
- },
-
- has: function (target) {
- var i,
- targets = jQuery(target, this),
- len = targets.length;
-
- return this.filter(function () {
- for (i = 0; i < len; i++) {
- if (jQuery.contains(this, targets[i])) {
- return true;
- }
- }
- });
- },
-
- not: function (selector) {
- return this.pushStack(winnow(this, selector || [], true));
- },
-
- filter: function (selector) {
- return this.pushStack(winnow(this, selector || [], false));
- },
-
- is: function (selector) {
- return !!winnow(
- this,
-
- // If this is a positional/relative selector, check membership in the returned set
- // so $("p:first").is("p:last") won't return true for a doc with two "p".
- typeof selector === "string" && rneedsContext.test(selector) ?
- jQuery(selector) :
- selector || [],
- false
- ).length;
- },
-
- closest: function (selectors, context) {
- var cur,
- i = 0,
- l = this.length,
- ret = [],
- pos = rneedsContext.test(selectors) || typeof selectors !== "string" ?
- jQuery(selectors, context || this.context) :
- 0;
-
- for (; i < l; i++) {
- for (cur = this[i]; cur && cur !== context; cur = cur.parentNode) {
- // Always skip document fragments
- if (cur.nodeType < 11 && (pos ?
- pos.index(cur) > -1 :
-
- // Don't pass non-elements to Sizzle
- cur.nodeType === 1 &&
- jQuery.find.matchesSelector(cur, selectors))) {
-
- cur = ret.push(cur);
- break;
- }
- }
- }
-
- return this.pushStack(ret.length > 1 ? jQuery.unique(ret) : ret);
- },
-
- // Determine the position of an element within
- // the matched set of elements
- index: function (elem) {
-
- // No argument, return index in parent
- if (!elem) {
- return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1;
- }
-
- // index in selector
- if (typeof elem === "string") {
- return jQuery.inArray(this[0], jQuery(elem));
- }
-
- // Locate the position of the desired element
- return jQuery.inArray(
- // If it receives a jQuery object, the first element is used
- elem.jquery ? elem[0] : elem, this);
- },
-
- add: function (selector, context) {
- var set = typeof selector === "string" ?
- jQuery(selector, context) :
- jQuery.makeArray(selector && selector.nodeType ? [selector] : selector),
- all = jQuery.merge(this.get(), set);
-
- return this.pushStack(jQuery.unique(all));
- },
-
- addBack: function (selector) {
- return this.add(selector == null ?
- this.prevObject : this.prevObject.filter(selector)
- );
- }
- });
-
- function sibling(cur, dir) {
- do {
- cur = cur[dir];
- } while (cur && cur.nodeType !== 1);
-
- return cur;
- }
-
- jQuery.each({
- parent: function (elem) {
- var parent = elem.parentNode;
- return parent && parent.nodeType !== 11 ? parent : null;
- },
- parents: function (elem) {
- return jQuery.dir(elem, "parentNode");
- },
- parentsUntil: function (elem, i, until) {
- return jQuery.dir(elem, "parentNode", until);
- },
- next: function (elem) {
- return sibling(elem, "nextSibling");
- },
- prev: function (elem) {
- return sibling(elem, "previousSibling");
- },
- nextAll: function (elem) {
- return jQuery.dir(elem, "nextSibling");
- },
- prevAll: function (elem) {
- return jQuery.dir(elem, "previousSibling");
- },
- nextUntil: function (elem, i, until) {
- return jQuery.dir(elem, "nextSibling", until);
- },
- prevUntil: function (elem, i, until) {
- return jQuery.dir(elem, "previousSibling", until);
- },
- siblings: function (elem) {
- return jQuery.sibling(( elem.parentNode || {} ).firstChild, elem);
- },
- children: function (elem) {
- return jQuery.sibling(elem.firstChild);
- },
- contents: function (elem) {
- return jQuery.nodeName(elem, "iframe") ?
- elem.contentDocument || elem.contentWindow.document :
- jQuery.merge([], elem.childNodes);
- }
- }, function (name, fn) {
- jQuery.fn[name] = function (until, selector) {
- var ret = jQuery.map(this, fn, until);
-
- if (name.slice(-5) !== "Until") {
- selector = until;
- }
-
- if (selector && typeof selector === "string") {
- ret = jQuery.filter(selector, ret);
- }
-
- if (this.length > 1) {
- // Remove duplicates
- if (!guaranteedUnique[name]) {
- ret = jQuery.unique(ret);
- }
-
- // Reverse order for parents* and prev-derivatives
- if (rparentsprev.test(name)) {
- ret = ret.reverse();
- }
- }
-
- return this.pushStack(ret);
- };
- });
-
- jQuery.extend({
- filter: function (expr, elems, not) {
- var elem = elems[0];
-
- if (not) {
- expr = ":not(" + expr + ")";
- }
-
- return elems.length === 1 && elem.nodeType === 1 ?
- jQuery.find.matchesSelector(elem, expr) ? [elem] : [] :
- jQuery.find.matches(expr, jQuery.grep(elems, function (elem) {
- return elem.nodeType === 1;
- }));
- },
-
- dir: function (elem, dir, until) {
- var matched = [],
- cur = elem[dir];
-
- while (cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery(cur).is(until))) {
- if (cur.nodeType === 1) {
- matched.push(cur);
- }
- cur = cur[dir];
- }
- return matched;
- },
-
- sibling: function (n, elem) {
- var r = [];
-
- for (; n; n = n.nextSibling) {
- if (n.nodeType === 1 && n !== elem) {
- r.push(n);
- }
- }
-
- return r;
- }
- });
-
-// Implement the identical functionality for filter and not
- function winnow(elements, qualifier, not) {
- if (jQuery.isFunction(qualifier)) {
- return jQuery.grep(elements, function (elem, i) {
- /* jshint -W018 */
- return !!qualifier.call(elem, i, elem) !== not;
- });
-
- }
-
- if (qualifier.nodeType) {
- return jQuery.grep(elements, function (elem) {
- return ( elem === qualifier ) !== not;
- });
-
- }
-
- if (typeof qualifier === "string") {
- if (isSimple.test(qualifier)) {
- return jQuery.filter(qualifier, elements, not);
- }
-
- qualifier = jQuery.filter(qualifier, elements);
- }
-
- return jQuery.grep(elements, function (elem) {
- return ( jQuery.inArray(elem, qualifier) >= 0 ) !== not;
- });
- }
-
- function createSafeFragment(document) {
- var list = nodeNames.split("|"),
- safeFrag = document.createDocumentFragment();
-
- if (safeFrag.createElement) {
- while (list.length) {
- safeFrag.createElement(
- list.pop()
- );
- }
- }
- return safeFrag;
- }
-
- var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" +
- "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
- rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g,
- rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),
- rleadingWhitespace = /^\s+/,
- rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
- rtagName = /<([\w:]+)/,
- rtbody = /<tbody/i,
- rhtml = /<|&#?\w+;/,
- rnoInnerhtml = /<(?:script|style|link)/i,
- manipulation_rcheckableType = /^(?:checkbox|radio)$/i,
- // checked="checked" or checked
- rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
- rscriptType = /^$|\/(?:java|ecma)script/i,
- rscriptTypeMasked = /^true\/(.*)/,
- rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
-
- // We have to close these tags to support XHTML (#13200)
- wrapMap = {
- option: [1, "<select multiple='multiple'>", "</select>"],
- legend: [1, "<fieldset>", "</fieldset>"],
- area: [1, "<map>", "</map>"],
- param: [1, "<object>", "</object>"],
- thead: [1, "<table>", "</table>"],
- tr: [2, "<table><tbody>", "</tbody></table>"],
- col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
- td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
-
- // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags,
- // unless wrapped in a div with non-breaking characters in front of it.
- _default: jQuery.support.htmlSerialize ? [0, "", ""] : [1, "X<div>", "</div>"]
- },
- safeFragment = createSafeFragment(document),
- fragmentDiv = safeFragment.appendChild(document.createElement("div"));
-
- wrapMap.optgroup = wrapMap.option;
- wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
- wrapMap.th = wrapMap.td;
-
- jQuery.fn.extend({
- text: function (value) {
- return jQuery.access(this, function (value) {
- return value === undefined ?
- jQuery.text(this) :
- this.empty().append(( this[0] && this[0].ownerDocument || document ).createTextNode(value));
- }, null, value, arguments.length);
- },
-
- append: function () {
- return this.domManip(arguments, function (elem) {
- if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
- var target = manipulationTarget(this, elem);
- target.appendChild(elem);
- }
- });
- },
-
- prepend: function () {
- return this.domManip(arguments, function (elem) {
- if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
- var target = manipulationTarget(this, elem);
- target.insertBefore(elem, target.firstChild);
- }
- });
- },
-
- before: function () {
- return this.domManip(arguments, function (elem) {
- if (this.parentNode) {
- this.parentNode.insertBefore(elem, this);
- }
- });
- },
-
- after: function () {
- return this.domManip(arguments, function (elem) {
- if (this.parentNode) {
- this.parentNode.insertBefore(elem, this.nextSibling);
- }
- });
- },
-
- // keepData is for internal use only--do not document
- remove: function (selector, keepData) {
- var elem,
- elems = selector ? jQuery.filter(selector, this) : this,
- i = 0;
-
- for (; (elem = elems[i]) != null; i++) {
-
- if (!keepData && elem.nodeType === 1) {
- jQuery.cleanData(getAll(elem));
- }
-
- if (elem.parentNode) {
- if (keepData && jQuery.contains(elem.ownerDocument, elem)) {
- setGlobalEval(getAll(elem, "script"));
- }
- elem.parentNode.removeChild(elem);
- }
- }
-
- return this;
- },
-
- empty: function () {
- var elem,
- i = 0;
-
- for (; (elem = this[i]) != null; i++) {
- // Remove element nodes and prevent memory leaks
- if (elem.nodeType === 1) {
- jQuery.cleanData(getAll(elem, false));
- }
-
- // Remove any remaining nodes
- while (elem.firstChild) {
- elem.removeChild(elem.firstChild);
- }
-
- // If this is a select, ensure that it displays empty (#12336)
- // Support: IE<9
- if (elem.options && jQuery.nodeName(elem, "select")) {
- elem.options.length = 0;
- }
- }
-
- return this;
- },
-
- clone: function (dataAndEvents, deepDataAndEvents) {
- dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
- deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
-
- return this.map(function () {
- return jQuery.clone(this, dataAndEvents, deepDataAndEvents);
- });
- },
-
- html: function (value) {
- return jQuery.access(this, function (value) {
- var elem = this[0] || {},
- i = 0,
- l = this.length;
-
- if (value === undefined) {
- return elem.nodeType === 1 ?
- elem.innerHTML.replace(rinlinejQuery, "") :
- undefined;
- }
-
- // See if we can take a shortcut and just use innerHTML
- if (typeof value === "string" && !rnoInnerhtml.test(value) &&
- ( jQuery.support.htmlSerialize || !rnoshimcache.test(value) ) &&
- ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test(value) ) && !wrapMap[( rtagName.exec(value) || ["", ""] )[1].toLowerCase()]) {
-
- value = value.replace(rxhtmlTag, "<$1></$2>");
-
- try {
- for (; i < l; i++) {
- // Remove element nodes and prevent memory leaks
- elem = this[i] || {};
- if (elem.nodeType === 1) {
- jQuery.cleanData(getAll(elem, false));
- elem.innerHTML = value;
- }
- }
-
- elem = 0;
-
- // If using innerHTML throws an exception, use the fallback method
- } catch (e) {
- }
- }
-
- if (elem) {
- this.empty().append(value);
- }
- }, null, value, arguments.length);
- },
-
- replaceWith: function () {
- var
- // Snapshot the DOM in case .domManip sweeps something relevant into its fragment
- args = jQuery.map(this, function (elem) {
- return [elem.nextSibling, elem.parentNode];
- }),
- i = 0;
-
- // Make the changes, replacing each context element with the new content
- this.domManip(arguments, function (elem) {
- var next = args[i++],
- parent = args[i++];
-
- if (parent) {
- // Don't use the snapshot next if it has moved (#13810)
- if (next && next.parentNode !== parent) {
- next = this.nextSibling;
- }
- jQuery(this).remove();
- parent.insertBefore(elem, next);
- }
- // Allow new content to include elements from the context set
- }, true);
-
- // Force removal if there was no new content (e.g., from empty arguments)
- return i ? this : this.remove();
- },
-
- detach: function (selector) {
- return this.remove(selector, true);
- },
-
- domManip: function (args, callback, allowIntersection) {
-
- // Flatten any nested arrays
- args = core_concat.apply([], args);
-
- var first, node, hasScripts,
- scripts, doc, fragment,
- i = 0,
- l = this.length,
- set = this,
- iNoClone = l - 1,
- value = args[0],
- isFunction = jQuery.isFunction(value);
-
- // We can't cloneNode fragments that contain checked, in WebKit
- if (isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test(value) )) {
- return this.each(function (index) {
- var self = set.eq(index);
- if (isFunction) {
- args[0] = value.call(this, index, self.html());
- }
- self.domManip(args, callback, allowIntersection);
- });
- }
-
- if (l) {
- fragment = jQuery.buildFragment(args, this[0].ownerDocument, false, !allowIntersection && this);
- first = fragment.firstChild;
-
- if (fragment.childNodes.length === 1) {
- fragment = first;
- }
-
- if (first) {
- scripts = jQuery.map(getAll(fragment, "script"), disableScript);
- hasScripts = scripts.length;
-
- // Use the original fragment for the last item instead of the first because it can end up
- // being emptied incorrectly in certain situations (#8070).
- for (; i < l; i++) {
- node = fragment;
-
- if (i !== iNoClone) {
- node = jQuery.clone(node, true, true);
-
- // Keep references to cloned scripts for later restoration
- if (hasScripts) {
- jQuery.merge(scripts, getAll(node, "script"));
- }
- }
-
- callback.call(this[i], node, i);
- }
-
- if (hasScripts) {
- doc = scripts[scripts.length - 1].ownerDocument;
-
- // Reenable scripts
- jQuery.map(scripts, restoreScript);
-
- // Evaluate executable scripts on first document insertion
- for (i = 0; i < hasScripts; i++) {
- node = scripts[i];
- if (rscriptType.test(node.type || "") && !jQuery._data(node, "globalEval") && jQuery.contains(doc, node)) {
-
- if (node.src) {
- // Hope ajax is available...
- jQuery._evalUrl(node.src);
- } else {
- jQuery.globalEval(( node.text || node.textContent || node.innerHTML || "" ).replace(rcleanScript, ""));
- }
- }
- }
- }
-
- // Fix #11809: Avoid leaking memory
- fragment = first = null;
- }
- }
-
- return this;
- }
- });
-
-// Support: IE<8
-// Manipulating tables requires a tbody
- function manipulationTarget(elem, content) {
- return jQuery.nodeName(elem, "table") &&
- jQuery.nodeName(content.nodeType === 1 ? content : content.firstChild, "tr") ?
-
- elem.getElementsByTagName("tbody")[0] ||
- elem.appendChild(elem.ownerDocument.createElement("tbody")) :
- elem;
- }
-
-// Replace/restore the type attribute of script elements for safe DOM manipulation
- function disableScript(elem) {
- elem.type = (jQuery.find.attr(elem, "type") !== null) + "/" + elem.type;
- return elem;
- }
-
- function restoreScript(elem) {
- var match = rscriptTypeMasked.exec(elem.type);
- if (match) {
- elem.type = match[1];
- } else {
- elem.removeAttribute("type");
- }
- return elem;
- }
-
-// Mark scripts as having already been evaluated
- function setGlobalEval(elems, refElements) {
- var elem,
- i = 0;
- for (; (elem = elems[i]) != null; i++) {
- jQuery._data(elem, "globalEval", !refElements || jQuery._data(refElements[i], "globalEval"));
- }
- }
-
- function cloneCopyEvent(src, dest) {
-
- if (dest.nodeType !== 1 || !jQuery.hasData(src)) {
- return;
- }
-
- var type, i, l,
- oldData = jQuery._data(src),
- curData = jQuery._data(dest, oldData),
- events = oldData.events;
-
- if (events) {
- delete curData.handle;
- curData.events = {};
-
- for (type in events) {
- for (i = 0, l = events[type].length; i < l; i++) {
- jQuery.event.add(dest, type, events[type][i]);
- }
- }
- }
-
- // make the cloned public data object a copy from the original
- if (curData.data) {
- curData.data = jQuery.extend({}, curData.data);
- }
- }
-
- function fixCloneNodeIssues(src, dest) {
- var nodeName, e, data;
-
- // We do not need to do anything for non-Elements
- if (dest.nodeType !== 1) {
- return;
- }
-
- nodeName = dest.nodeName.toLowerCase();
-
- // IE6-8 copies events bound via attachEvent when using cloneNode.
- if (!jQuery.support.noCloneEvent && dest[jQuery.expando]) {
- data = jQuery._data(dest);
-
- for (e in data.events) {
- jQuery.removeEvent(dest, e, data.handle);
- }
-
- // Event data gets referenced instead of copied if the expando gets copied too
- dest.removeAttribute(jQuery.expando);
- }
-
- // IE blanks contents when cloning scripts, and tries to evaluate newly-set text
- if (nodeName === "script" && dest.text !== src.text) {
- disableScript(dest).text = src.text;
- restoreScript(dest);
-
- // IE6-10 improperly clones children of object elements using classid.
- // IE10 throws NoModificationAllowedError if parent is null, #12132.
- } else if (nodeName === "object") {
- if (dest.parentNode) {
- dest.outerHTML = src.outerHTML;
- }
-
- // This path appears unavoidable for IE9. When cloning an object
- // element in IE9, the outerHTML strategy above is not sufficient.
- // If the src has innerHTML and the destination does not,
- // copy the src.innerHTML into the dest.innerHTML. #10324
- if (jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) )) {
- dest.innerHTML = src.innerHTML;
- }
-
- } else if (nodeName === "input" && manipulation_rcheckableType.test(src.type)) {
- // IE6-8 fails to persist the checked state of a cloned checkbox
- // or radio button. Worse, IE6-7 fail to give the cloned element
- // a checked appearance if the defaultChecked value isn't also set
-
- dest.defaultChecked = dest.checked = src.checked;
-
- // IE6-7 get confused and end up setting the value of a cloned
- // checkbox/radio button to an empty string instead of "on"
- if (dest.value !== src.value) {
- dest.value = src.value;
- }
-
- // IE6-8 fails to return the selected option to the default selected
- // state when cloning options
- } else if (nodeName === "option") {
- dest.defaultSelected = dest.selected = src.defaultSelected;
-
- // IE6-8 fails to set the defaultValue to the correct value when
- // cloning other types of input fields
- } else if (nodeName === "input" || nodeName === "textarea") {
- dest.defaultValue = src.defaultValue;
- }
- }
-
- jQuery.each({
- appendTo: "append",
- prependTo: "prepend",
- insertBefore: "before",
- insertAfter: "after",
- replaceAll: "replaceWith"
- }, function (name, original) {
- jQuery.fn[name] = function (selector) {
- var elems,
- i = 0,
- ret = [],
- insert = jQuery(selector),
- last = insert.length - 1;
-
- for (; i <= last; i++) {
- elems = i === last ? this : this.clone(true);
- jQuery(insert[i])[original](elems);
-
- // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get()
- core_push.apply(ret, elems.get());
- }
-
- return this.pushStack(ret);
- };
- });
-
- function getAll(context, tag) {
- var elems, elem,
- i = 0,
- found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName(tag || "*") :
- typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll(tag || "*") :
- undefined;
-
- if (!found) {
- for (found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++) {
- if (!tag || jQuery.nodeName(elem, tag)) {
- found.push(elem);
- } else {
- jQuery.merge(found, getAll(elem, tag));
- }
- }
- }
-
- return tag === undefined || tag && jQuery.nodeName(context, tag) ?
- jQuery.merge([context], found) :
- found;
- }
-
-// Used in buildFragment, fixes the defaultChecked property
- function fixDefaultChecked(elem) {
- if (manipulation_rcheckableType.test(elem.type)) {
- elem.defaultChecked = elem.checked;
- }
- }
-
- jQuery.extend({
- clone: function (elem, dataAndEvents, deepDataAndEvents) {
- var destElements, node, clone, i, srcElements,
- inPage = jQuery.contains(elem.ownerDocument, elem);
-
- if (jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test("<" + elem.nodeName + ">")) {
- clone = elem.cloneNode(true);
-
- // IE<=8 does not properly clone detached, unknown element nodes
- } else {
- fragmentDiv.innerHTML = elem.outerHTML;
- fragmentDiv.removeChild(clone = fragmentDiv.firstChild);
- }
-
- if ((!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) &&
- (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem)) {
-
- // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2
- destElements = getAll(clone);
- srcElements = getAll(elem);
-
- // Fix all IE cloning issues
- for (i = 0; (node = srcElements[i]) != null; ++i) {
- // Ensure that the destination node is not null; Fixes #9587
- if (destElements[i]) {
- fixCloneNodeIssues(node, destElements[i]);
- }
- }
- }
-
- // Copy the events from the original to the clone
- if (dataAndEvents) {
- if (deepDataAndEvents) {
- srcElements = srcElements || getAll(elem);
- destElements = destElements || getAll(clone);
-
- for (i = 0; (node = srcElements[i]) != null; i++) {
- cloneCopyEvent(node, destElements[i]);
- }
- } else {
- cloneCopyEvent(elem, clone);
- }
- }
-
- // Preserve script evaluation history
- destElements = getAll(clone, "script");
- if (destElements.length > 0) {
- setGlobalEval(destElements, !inPage && getAll(elem, "script"));
- }
-
- destElements = srcElements = node = null;
-
- // Return the cloned set
- return clone;
- },
-
- buildFragment: function (elems, context, scripts, selection) {
- var j, elem, contains,
- tmp, tag, tbody, wrap,
- l = elems.length,
-
- // Ensure a safe fragment
- safe = createSafeFragment(context),
-
- nodes = [],
- i = 0;
-
- for (; i < l; i++) {
- elem = elems[i];
-
- if (elem || elem === 0) {
-
- // Add nodes directly
- if (jQuery.type(elem) === "object") {
- jQuery.merge(nodes, elem.nodeType ? [elem] : elem);
-
- // Convert non-html into a text node
- } else if (!rhtml.test(elem)) {
- nodes.push(context.createTextNode(elem));
-
- // Convert html into DOM nodes
- } else {
- tmp = tmp || safe.appendChild(context.createElement("div"));
-
- // Deserialize a standard representation
- tag = ( rtagName.exec(elem) || ["", ""] )[1].toLowerCase();
- wrap = wrapMap[tag] || wrapMap._default;
-
- tmp.innerHTML = wrap[1] + elem.replace(rxhtmlTag, "<$1></$2>") + wrap[2];
-
- // Descend through wrappers to the right content
- j = wrap[0];
- while (j--) {
- tmp = tmp.lastChild;
- }
-
- // Manually add leading whitespace removed by IE
- if (!jQuery.support.leadingWhitespace && rleadingWhitespace.test(elem)) {
- nodes.push(context.createTextNode(rleadingWhitespace.exec(elem)[0]));
- }
-
- // Remove IE's autoinserted <tbody> from table fragments
- if (!jQuery.support.tbody) {
-
- // String was a <table>, *may* have spurious <tbody>
- elem = tag === "table" && !rtbody.test(elem) ?
- tmp.firstChild :
-
- // String was a bare <thead> or <tfoot>
- wrap[1] === "<table>" && !rtbody.test(elem) ?
- tmp :
- 0;
-
- j = elem && elem.childNodes.length;
- while (j--) {
- if (jQuery.nodeName((tbody = elem.childNodes[j]), "tbody") && !tbody.childNodes.length) {
- elem.removeChild(tbody);
- }
- }
- }
-
- jQuery.merge(nodes, tmp.childNodes);
-
- // Fix #12392 for WebKit and IE > 9
- tmp.textContent = "";
-
- // Fix #12392 for oldIE
- while (tmp.firstChild) {
- tmp.removeChild(tmp.firstChild);
- }
-
- // Remember the top-level container for proper cleanup
- tmp = safe.lastChild;
- }
- }
- }
-
- // Fix #11356: Clear elements from fragment
- if (tmp) {
- safe.removeChild(tmp);
- }
-
- // Reset defaultChecked for any radios and checkboxes
- // about to be appended to the DOM in IE 6/7 (#8060)
- if (!jQuery.support.appendChecked) {
- jQuery.grep(getAll(nodes, "input"), fixDefaultChecked);
- }
-
- i = 0;
- while ((elem = nodes[i++])) {
-
- // #4087 - If origin and destination elements are the same, and this is
- // that element, do not do anything
- if (selection && jQuery.inArray(elem, selection) !== -1) {
- continue;
- }
-
- contains = jQuery.contains(elem.ownerDocument, elem);
-
- // Append to fragment
- tmp = getAll(safe.appendChild(elem), "script");
-
- // Preserve script evaluation history
- if (contains) {
- setGlobalEval(tmp);
- }
-
- // Capture executables
- if (scripts) {
- j = 0;
- while ((elem = tmp[j++])) {
- if (rscriptType.test(elem.type || "")) {
- scripts.push(elem);
- }
- }
- }
- }
-
- tmp = null;
-
- return safe;
- },
-
- cleanData: function (elems, /* internal */ acceptData) {
- var elem, type, id, data,
- i = 0,
- internalKey = jQuery.expando,
- cache = jQuery.cache,
- deleteExpando = jQuery.support.deleteExpando,
- special = jQuery.event.special;
-
- for (; (elem = elems[i]) != null; i++) {
-
- if (acceptData || jQuery.acceptData(elem)) {
-
- id = elem[internalKey];
- data = id && cache[id];
-
- if (data) {
- if (data.events) {
- for (type in data.events) {
- if (special[type]) {
- jQuery.event.remove(elem, type);
-
- // This is a shortcut to avoid jQuery.event.remove's overhead
- } else {
- jQuery.removeEvent(elem, type, data.handle);
- }
- }
- }
-
- // Remove cache only if it was not already removed by jQuery.event.remove
- if (cache[id]) {
-
- delete cache[id];
-
- // IE does not allow us to delete expando properties from nodes,
- // nor does it have a removeAttribute function on Document nodes;
- // we must handle all of these cases
- if (deleteExpando) {
- delete elem[internalKey];
-
- } else if (typeof elem.removeAttribute !== core_strundefined) {
- elem.removeAttribute(internalKey);
-
- } else {
- elem[internalKey] = null;
- }
-
- core_deletedIds.push(id);
- }
- }
- }
- }
- },
-
- _evalUrl: function (url) {
- return jQuery.ajax({
- url: url,
- type: "GET",
- dataType: "script",
- async: false,
- global: false,
- "throws": true
- });
- }
- });
- jQuery.fn.extend({
- wrapAll: function (html) {
- if (jQuery.isFunction(html)) {
- return this.each(function (i) {
- jQuery(this).wrapAll(html.call(this, i));
- });
- }
-
- if (this[0]) {
- // The elements to wrap the target around
- var wrap = jQuery(html, this[0].ownerDocument).eq(0).clone(true);
-
- if (this[0].parentNode) {
- wrap.insertBefore(this[0]);
- }
-
- wrap.map(function () {
- var elem = this;
-
- while (elem.firstChild && elem.firstChild.nodeType === 1) {
- elem = elem.firstChild;
- }
-
- return elem;
- }).append(this);
- }
-
- return this;
- },
-
- wrapInner: function (html) {
- if (jQuery.isFunction(html)) {
- return this.each(function (i) {
- jQuery(this).wrapInner(html.call(this, i));
- });
- }
-
- return this.each(function () {
- var self = jQuery(this),
- contents = self.contents();
-
- if (contents.length) {
- contents.wrapAll(html);
-
- } else {
- self.append(html);
- }
- });
- },
-
- wrap: function (html) {
- var isFunction = jQuery.isFunction(html);
-
- return this.each(function (i) {
- jQuery(this).wrapAll(isFunction ? html.call(this, i) : html);
- });
- },
-
- unwrap: function () {
- return this.parent().each(function () {
- if (!jQuery.nodeName(this, "body")) {
- jQuery(this).replaceWith(this.childNodes);
- }
- }).end();
- }
- });
- var iframe, getStyles, curCSS,
- ralpha = /alpha\([^)]*\)/i,
- ropacity = /opacity\s*=\s*([^)]*)/,
- rposition = /^(top|right|bottom|left)$/,
- // swappable if display is none or starts with table except "table", "table-cell", or "table-caption"
- // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
- rdisplayswap = /^(none|table(?!-c[ea]).+)/,
- rmargin = /^margin/,
- rnumsplit = new RegExp("^(" + core_pnum + ")(.*)$", "i"),
- rnumnonpx = new RegExp("^(" + core_pnum + ")(?!px)[a-z%]+$", "i"),
- rrelNum = new RegExp("^([+-])=(" + core_pnum + ")", "i"),
- elemdisplay = {BODY: "block"},
-
- cssShow = {position: "absolute", visibility: "hidden", display: "block"},
- cssNormalTransform = {
- letterSpacing: 0,
- fontWeight: 400
- },
-
- cssExpand = ["Top", "Right", "Bottom", "Left"],
- cssPrefixes = ["Webkit", "O", "Moz", "ms"];
-
-// return a css property mapped to a potentially vendor prefixed property
- function vendorPropName(style, name) {
-
- // shortcut for names that are not vendor prefixed
- if (name in style) {
- return name;
- }
-
- // check for vendor prefixed names
- var capName = name.charAt(0).toUpperCase() + name.slice(1),
- origName = name,
- i = cssPrefixes.length;
-
- while (i--) {
- name = cssPrefixes[i] + capName;
- if (name in style) {
- return name;
- }
- }
-
- return origName;
- }
-
- function isHidden(elem, el) {
- // isHidden might be called from jQuery#filter function;
- // in that case, element will be second argument
- elem = el || elem;
- return jQuery.css(elem, "display") === "none" || !jQuery.contains(elem.ownerDocument, elem);
- }
-
- function showHide(elements, show) {
- var display, elem, hidden,
- values = [],
- index = 0,
- length = elements.length;
-
- for (; index < length; index++) {
- elem = elements[index];
- if (!elem.style) {
- continue;
- }
-
- values[index] = jQuery._data(elem, "olddisplay");
- display = elem.style.display;
- if (show) {
- // Reset the inline display of this element to learn if it is
- // being hidden by cascaded rules or not
- if (!values[index] && display === "none") {
- elem.style.display = "";
- }
-
- // Set elements which have been overridden with display: none
- // in a stylesheet to whatever the default browser style is
- // for such an element
- if (elem.style.display === "" && isHidden(elem)) {
- values[index] = jQuery._data(elem, "olddisplay", css_defaultDisplay(elem.nodeName));
- }
- } else {
-
- if (!values[index]) {
- hidden = isHidden(elem);
-
- if (display && display !== "none" || !hidden) {
- jQuery._data(elem, "olddisplay", hidden ? display : jQuery.css(elem, "display"));
- }
- }
- }
- }
-
- // Set the display of most of the elements in a second loop
- // to avoid the constant reflow
- for (index = 0; index < length; index++) {
- elem = elements[index];
- if (!elem.style) {
- continue;
- }
- if (!show || elem.style.display === "none" || elem.style.display === "") {
- elem.style.display = show ? values[index] || "" : "none";
- }
- }
-
- return elements;
- }
-
- jQuery.fn.extend({
- css: function (name, value) {
- return jQuery.access(this, function (elem, name, value) {
- var len, styles,
- map = {},
- i = 0;
-
- if (jQuery.isArray(name)) {
- styles = getStyles(elem);
- len = name.length;
-
- for (; i < len; i++) {
- map[name[i]] = jQuery.css(elem, name[i], false, styles);
- }
-
- return map;
- }
-
- return value !== undefined ?
- jQuery.style(elem, name, value) :
- jQuery.css(elem, name);
- }, name, value, arguments.length > 1);
- },
- show: function () {
- return showHide(this, true);
- },
- hide: function () {
- return showHide(this);
- },
- toggle: function (state) {
- if (typeof state === "boolean") {
- return state ? this.show() : this.hide();
- }
-
- return this.each(function () {
- if (isHidden(this)) {
- jQuery(this).show();
- } else {
- jQuery(this).hide();
- }
- });
- }
- });
-
- jQuery.extend({
- // Add in style property hooks for overriding the default
- // behavior of getting and setting a style property
- cssHooks: {
- opacity: {
- get: function (elem, computed) {
- if (computed) {
- // We should always get a number back from opacity
- var ret = curCSS(elem, "opacity");
- return ret === "" ? "1" : ret;
- }
- }
- }
- },
-
- // Don't automatically add "px" to these possibly-unitless properties
- cssNumber: {
- "columnCount": true,
- "fillOpacity": true,
- "fontWeight": true,
- "lineHeight": true,
- "opacity": true,
- "order": true,
- "orphans": true,
- "widows": true,
- "zIndex": true,
- "zoom": true
- },
-
- // Add in properties whose names you wish to fix before
- // setting or getting the value
- cssProps: {
- // normalize float css property
- "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat"
- },
-
- // Get and set the style property on a DOM Node
- style: function (elem, name, value, extra) {
- // Don't set styles on text and comment nodes
- if (!elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style) {
- return;
- }
-
- // Make sure that we're working with the right name
- var ret, type, hooks,
- origName = jQuery.camelCase(name),
- style = elem.style;
-
- name = jQuery.cssProps[origName] || ( jQuery.cssProps[origName] = vendorPropName(style, origName) );
-
- // gets hook for the prefixed version
- // followed by the unprefixed version
- hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];
-
- // Check if we're setting a value
- if (value !== undefined) {
- type = typeof value;
-
- // convert relative number strings (+= or -=) to relative numbers. #7345
- if (type === "string" && (ret = rrelNum.exec(value))) {
- value = ( ret[1] + 1 ) * ret[2] + parseFloat(jQuery.css(elem, name));
- // Fixes bug #9237
- type = "number";
- }
-
- // Make sure that NaN and null values aren't set. See: #7116
- if (value == null || type === "number" && isNaN(value)) {
- return;
- }
-
- // If a number was passed in, add 'px' to the (except for certain CSS properties)
- if (type === "number" && !jQuery.cssNumber[origName]) {
- value += "px";
- }
-
- // Fixes #8908, it can be done more correctly by specifing setters in cssHooks,
- // but it would mean to define eight (for every problematic property) identical functions
- if (!jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0) {
- style[name] = "inherit";
- }
-
- // If a hook was provided, use that value, otherwise just set the specified value
- if (!hooks || !("set" in hooks) || (value = hooks.set(elem, value, extra)) !== undefined) {
-
- // Wrapped to prevent IE from throwing errors when 'invalid' values are provided
- // Fixes bug #5509
- try {
- style[name] = value;
- } catch (e) {
- }
- }
-
- } else {
- // If a hook was provided get the non-computed value from there
- if (hooks && "get" in hooks && (ret = hooks.get(elem, false, extra)) !== undefined) {
- return ret;
- }
-
- // Otherwise just get the value from the style object
- return style[name];
- }
- },
-
- css: function (elem, name, extra, styles) {
- var num, val, hooks,
- origName = jQuery.camelCase(name);
-
- // Make sure that we're working with the right name
- name = jQuery.cssProps[origName] || ( jQuery.cssProps[origName] = vendorPropName(elem.style, origName) );
-
- // gets hook for the prefixed version
- // followed by the unprefixed version
- hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];
-
- // If a hook was provided get the computed value from there
- if (hooks && "get" in hooks) {
- val = hooks.get(elem, true, extra);
- }
-
- // Otherwise, if a way to get the computed value exists, use that
- if (val === undefined) {
- val = curCSS(elem, name, styles);
- }
-
- //convert "normal" to computed value
- if (val === "normal" && name in cssNormalTransform) {
- val = cssNormalTransform[name];
- }
-
- // Return, converting to number if forced or a qualifier was provided and val looks numeric
- if (extra === "" || extra) {
- num = parseFloat(val);
- return extra === true || jQuery.isNumeric(num) ? num || 0 : val;
- }
- return val;
- }
- });
-
-// NOTE: we've included the "window" in window.getComputedStyle
-// because jsdom on node.js will break without it.
- if (window.getComputedStyle) {
- getStyles = function (elem) {
- return window.getComputedStyle(elem, null);
- };
-
- curCSS = function (elem, name, _computed) {
- var width, minWidth, maxWidth,
- computed = _computed || getStyles(elem),
-
- // getPropertyValue is only needed for .css('filter') in IE9, see #12537
- ret = computed ? computed.getPropertyValue(name) || computed[name] : undefined,
- style = elem.style;
-
- if (computed) {
-
- if (ret === "" && !jQuery.contains(elem.ownerDocument, elem)) {
- ret = jQuery.style(elem, name);
- }
-
- // A tribute to the "awesome hack by Dean Edwards"
- // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right
- // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
- // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
- if (rnumnonpx.test(ret) && rmargin.test(name)) {
-
- // Remember the original values
- width = style.width;
- minWidth = style.minWidth;
- maxWidth = style.maxWidth;
-
- // Put in the new values to get a computed value out
- style.minWidth = style.maxWidth = style.width = ret;
- ret = computed.width;
-
- // Revert the changed values
- style.width = width;
- style.minWidth = minWidth;
- style.maxWidth = maxWidth;
- }
- }
-
- return ret;
- };
- } else if (document.documentElement.currentStyle) {
- getStyles = function (elem) {
- return elem.currentStyle;
- };
-
- curCSS = function (elem, name, _computed) {
- var left, rs, rsLeft,
- computed = _computed || getStyles(elem),
- ret = computed ? computed[name] : undefined,
- style = elem.style;
-
- // Avoid setting ret to empty string here
- // so we don't default to auto
- if (ret == null && style && style[name]) {
- ret = style[name];
- }
-
- // From the awesome hack by Dean Edwards
- // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
-
- // If we're not dealing with a regular pixel number
- // but a number that has a weird ending, we need to convert it to pixels
- // but not position css attributes, as those are proportional to the parent element instead
- // and we can't measure the parent instead because it might trigger a "stacking dolls" problem
- if (rnumnonpx.test(ret) && !rposition.test(name)) {
-
- // Remember the original values
- left = style.left;
- rs = elem.runtimeStyle;
- rsLeft = rs && rs.left;
-
- // Put in the new values to get a computed value out
- if (rsLeft) {
- rs.left = elem.currentStyle.left;
- }
- style.left = name === "fontSize" ? "1em" : ret;
- ret = style.pixelLeft + "px";
-
- // Revert the changed values
- style.left = left;
- if (rsLeft) {
- rs.left = rsLeft;
- }
- }
-
- return ret === "" ? "auto" : ret;
- };
- }
-
- function setPositiveNumber(elem, value, subtract) {
- var matches = rnumsplit.exec(value);
- return matches ?
- // Guard against undefined "subtract", e.g., when used as in cssHooks
- Math.max(0, matches[1] - ( subtract || 0 )) + ( matches[2] || "px" ) :
- value;
- }
-
- function augmentWidthOrHeight(elem, name, extra, isBorderBox, styles) {
- var i = extra === ( isBorderBox ? "border" : "content" ) ?
- // If we already have the right measurement, avoid augmentation
- 4 :
- // Otherwise initialize for horizontal or vertical properties
- name === "width" ? 1 : 0,
-
- val = 0;
-
- for (; i < 4; i += 2) {
- // both box models exclude margin, so add it if we want it
- if (extra === "margin") {
- val += jQuery.css(elem, extra + cssExpand[i], true, styles);
- }
-
- if (isBorderBox) {
- // border-box includes padding, so remove it if we want content
- if (extra === "content") {
- val -= jQuery.css(elem, "padding" + cssExpand[i], true, styles);
- }
-
- // at this point, extra isn't border nor margin, so remove border
- if (extra !== "margin") {
- val -= jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles);
- }
- } else {
- // at this point, extra isn't content, so add padding
- val += jQuery.css(elem, "padding" + cssExpand[i], true, styles);
-
- // at this point, extra isn't content nor padding, so add border
- if (extra !== "padding") {
- val += jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles);
- }
- }
- }
-
- return val;
- }
-
- function getWidthOrHeight(elem, name, extra) {
-
- // Start with offset property, which is equivalent to the border-box value
- var valueIsBorderBox = true,
- val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
- styles = getStyles(elem),
- isBorderBox = jQuery.support.boxSizing && jQuery.css(elem, "boxSizing", false, styles) === "border-box";
-
- // some non-html elements return undefined for offsetWidth, so check for null/undefined
- // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
- // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668
- if (val <= 0 || val == null) {
- // Fall back to computed then uncomputed css if necessary
- val = curCSS(elem, name, styles);
- if (val < 0 || val == null) {
- val = elem.style[name];
- }
-
- // Computed unit is not pixels. Stop here and return.
- if (rnumnonpx.test(val)) {
- return val;
- }
-
- // we need the check for style in case a browser which returns unreliable values
- // for getComputedStyle silently falls back to the reliable elem.style
- valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[name] );
-
- // Normalize "", auto, and prepare for extra
- val = parseFloat(val) || 0;
- }
-
- // use the active box-sizing model to add/subtract irrelevant styles
- return ( val +
- augmentWidthOrHeight(
- elem,
- name,
- extra || ( isBorderBox ? "border" : "content" ),
- valueIsBorderBox,
- styles
- )
- ) + "px";
- }
-
-// Try to determine the default display value of an element
- function css_defaultDisplay(nodeName) {
- var doc = document,
- display = elemdisplay[nodeName];
-
- if (!display) {
- display = actualDisplay(nodeName, doc);
-
- // If the simple way fails, read from inside an iframe
- if (display === "none" || !display) {
- // Use the already-created iframe if possible
- iframe = ( iframe ||
- jQuery("<iframe frameborder='0' width='0' height='0'/>")
- .css("cssText", "display:block !important")
- ).appendTo(doc.documentElement);
-
- // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse
- doc = ( iframe[0].contentWindow || iframe[0].contentDocument ).document;
- doc.write("<!doctype html><html><body>");
- doc.close();
-
- display = actualDisplay(nodeName, doc);
- iframe.detach();
- }
-
- // Store the correct default display
- elemdisplay[nodeName] = display;
- }
-
- return display;
- }
-
-// Called ONLY from within css_defaultDisplay
- function actualDisplay(name, doc) {
- var elem = jQuery(doc.createElement(name)).appendTo(doc.body),
- display = jQuery.css(elem[0], "display");
- elem.remove();
- return display;
- }
-
- jQuery.each(["height", "width"], function (i, name) {
- jQuery.cssHooks[name] = {
- get: function (elem, computed, extra) {
- if (computed) {
- // certain elements can have dimension info if we invisibly show them
- // however, it must have a current display style that would benefit from this
- return elem.offsetWidth === 0 && rdisplayswap.test(jQuery.css(elem, "display")) ?
- jQuery.swap(elem, cssShow, function () {
- return getWidthOrHeight(elem, name, extra);
- }) :
- getWidthOrHeight(elem, name, extra);
- }
- },
-
- set: function (elem, value, extra) {
- var styles = extra && getStyles(elem);
- return setPositiveNumber(elem, value, extra ?
- augmentWidthOrHeight(
- elem,
- name,
- extra,
- jQuery.support.boxSizing && jQuery.css(elem, "boxSizing", false, styles) === "border-box",
- styles
- ) : 0
- );
- }
- };
- });
-
- if (!jQuery.support.opacity) {
- jQuery.cssHooks.opacity = {
- get: function (elem, computed) {
- // IE uses filters for opacity
- return ropacity.test((computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "") ?
- ( 0.01 * parseFloat(RegExp.$1) ) + "" :
- computed ? "1" : "";
- },
-
- set: function (elem, value) {
- var style = elem.style,
- currentStyle = elem.currentStyle,
- opacity = jQuery.isNumeric(value) ? "alpha(opacity=" + value * 100 + ")" : "",
- filter = currentStyle && currentStyle.filter || style.filter || "";
-
- // IE has trouble with opacity if it does not have layout
- // Force it by setting the zoom level
- style.zoom = 1;
-
- // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652
- // if value === "", then remove inline opacity #12685
- if (( value >= 1 || value === "" ) &&
- jQuery.trim(filter.replace(ralpha, "")) === "" &&
- style.removeAttribute) {
-
- // Setting style.filter to null, "" & " " still leave "filter:" in the cssText
- // if "filter:" is present at all, clearType is disabled, we want to avoid this
- // style.removeAttribute is IE Only, but so apparently is this code path...
- style.removeAttribute("filter");
-
- // if there is no filter style applied in a css rule or unset inline opacity, we are done
- if (value === "" || currentStyle && !currentStyle.filter) {
- return;
- }
- }
-
- // otherwise, set new filter values
- style.filter = ralpha.test(filter) ?
- filter.replace(ralpha, opacity) :
- filter + " " + opacity;
- }
- };
- }
-
-// These hooks cannot be added until DOM ready because the support test
-// for it is not run until after DOM ready
- jQuery(function () {
- if (!jQuery.support.reliableMarginRight) {
- jQuery.cssHooks.marginRight = {
- get: function (elem, computed) {
- if (computed) {
- // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
- // Work around by temporarily setting element display to inline-block
- return jQuery.swap(elem, {"display": "inline-block"},
- curCSS, [elem, "marginRight"]);
- }
- }
- };
- }
-
- // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
- // getComputedStyle returns percent when specified for top/left/bottom/right
- // rather than make the css module depend on the offset module, we just check for it here
- if (!jQuery.support.pixelPosition && jQuery.fn.position) {
- jQuery.each(["top", "left"], function (i, prop) {
- jQuery.cssHooks[prop] = {
- get: function (elem, computed) {
- if (computed) {
- computed = curCSS(elem, prop);
- // if curCSS returns percentage, fallback to offset
- return rnumnonpx.test(computed) ?
- jQuery(elem).position()[prop] + "px" :
- computed;
- }
- }
- };
- });
- }
-
- });
-
- if (jQuery.expr && jQuery.expr.filters) {
- jQuery.expr.filters.hidden = function (elem) {
- // Support: Opera <= 12.12
- // Opera reports offsetWidths and offsetHeights less than zero on some elements
- return elem.offsetWidth <= 0 && elem.offsetHeight <= 0 ||
- (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css(elem, "display")) === "none");
- };
-
- jQuery.expr.filters.visible = function (elem) {
- return !jQuery.expr.filters.hidden(elem);
- };
- }
-
-// These hooks are used by animate to expand properties
- jQuery.each({
- margin: "",
- padding: "",
- border: "Width"
- }, function (prefix, suffix) {
- jQuery.cssHooks[prefix + suffix] = {
- expand: function (value) {
- var i = 0,
- expanded = {},
-
- // assumes a single number if not a string
- parts = typeof value === "string" ? value.split(" ") : [value];
-
- for (; i < 4; i++) {
- expanded[prefix + cssExpand[i] + suffix] =
- parts[i] || parts[i - 2] || parts[0];
- }
-
- return expanded;
- }
- };
-
- if (!rmargin.test(prefix)) {
- jQuery.cssHooks[prefix + suffix].set = setPositiveNumber;
- }
- });
- var r20 = /%20/g,
- rbracket = /\[\]$/,
- rCRLF = /\r?\n/g,
- rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
- rsubmittable = /^(?:input|select|textarea|keygen)/i;
-
- jQuery.fn.extend({
- serialize: function () {
- return jQuery.param(this.serializeArray());
- },
- serializeArray: function () {
- return this.map(function () {
- // Can add propHook for "elements" to filter or add form elements
- var elements = jQuery.prop(this, "elements");
- return elements ? jQuery.makeArray(elements) : this;
- })
- .filter(function () {
- var type = this.type;
- // Use .is(":disabled") so that fieldset[disabled] works
- return this.name && !jQuery(this).is(":disabled") &&
- rsubmittable.test(this.nodeName) && !rsubmitterTypes.test(type) &&
- ( this.checked || !manipulation_rcheckableType.test(type) );
- })
- .map(function (i, elem) {
- var val = jQuery(this).val();
-
- return val == null ?
- null :
- jQuery.isArray(val) ?
- jQuery.map(val, function (val) {
- return {name: elem.name, value: val.replace(rCRLF, "\r\n")};
- }) :
- {name: elem.name, value: val.replace(rCRLF, "\r\n")};
- }).get();
- }
- });
-
-//Serialize an array of form elements or a set of
-//key/values into a query string
- jQuery.param = function (a, traditional) {
- var prefix,
- s = [],
- add = function (key, value) {
- // If value is a function, invoke it and return its value
- value = jQuery.isFunction(value) ? value() : ( value == null ? "" : value );
- s[s.length] = encodeURIComponent(key) + "=" + encodeURIComponent(value);
- };
-
- // Set traditional to true for jQuery <= 1.3.2 behavior.
- if (traditional === undefined) {
- traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;
- }
-
- // If an array was passed in, assume that it is an array of form elements.
- if (jQuery.isArray(a) || ( a.jquery && !jQuery.isPlainObject(a) )) {
- // Serialize the form elements
- jQuery.each(a, function () {
- add(this.name, this.value);
- });
-
- } else {
- // If traditional, encode the "old" way (the way 1.3.2 or older
- // did it), otherwise encode params recursively.
- for (prefix in a) {
- buildParams(prefix, a[prefix], traditional, add);
- }
- }
-
- // Return the resulting serialization
- return s.join("&").replace(r20, "+");
- };
-
- function buildParams(prefix, obj, traditional, add) {
- var name;
-
- if (jQuery.isArray(obj)) {
- // Serialize array item.
- jQuery.each(obj, function (i, v) {
- if (traditional || rbracket.test(prefix)) {
- // Treat each array item as a scalar.
- add(prefix, v);
-
- } else {
- // Item is non-scalar (array or object), encode its numeric index.
- buildParams(prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add);
- }
- });
-
- } else if (!traditional && jQuery.type(obj) === "object") {
- // Serialize object item.
- for (name in obj) {
- buildParams(prefix + "[" + name + "]", obj[name], traditional, add);
- }
-
- } else {
- // Serialize scalar item.
- add(prefix, obj);
- }
- }
-
- jQuery.each(("blur focus focusin focusout load resize scroll unload click dblclick " +
- "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
- "change select submit keydown keypress keyup error contextmenu").split(" "), function (i, name) {
-
- // Handle event binding
- jQuery.fn[name] = function (data, fn) {
- return arguments.length > 0 ?
- this.on(name, null, data, fn) :
- this.trigger(name);
- };
- });
-
- jQuery.fn.extend({
- hover: function (fnOver, fnOut) {
- return this.mouseenter(fnOver).mouseleave(fnOut || fnOver);
- },
-
- bind: function (types, data, fn) {
- return this.on(types, null, data, fn);
- },
- unbind: function (types, fn) {
- return this.off(types, null, fn);
- },
-
- delegate: function (selector, types, data, fn) {
- return this.on(types, selector, data, fn);
- },
- undelegate: function (selector, types, fn) {
- // ( namespace ) or ( selector, types [, fn] )
- return arguments.length === 1 ? this.off(selector, "**") : this.off(types, selector || "**", fn);
- }
- });
- var
- // Document location
- ajaxLocParts,
- ajaxLocation,
- ajax_nonce = jQuery.now(),
-
- ajax_rquery = /\?/,
- rhash = /#.*$/,
- rts = /([?&])_=[^&]*/,
- rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL
- // #7653, #8125, #8152: local protocol detection
- rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
- rnoContent = /^(?:GET|HEAD)$/,
- rprotocol = /^\/\//,
- rurl = /^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,
-
- // Keep a copy of the old load method
- _load = jQuery.fn.load,
-
- /* Prefilters
- * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
- * 2) These are called:
- * - BEFORE asking for a transport
- * - AFTER param serialization (s.data is a string if s.processData is true)
- * 3) key is the dataType
- * 4) the catchall symbol "*" can be used
- * 5) execution will start with transport dataType and THEN continue down to "*" if needed
- */
- prefilters = {},
-
- /* Transports bindings
- * 1) key is the dataType
- * 2) the catchall symbol "*" can be used
- * 3) selection will start with transport dataType and THEN go to "*" if needed
- */
- transports = {},
-
- // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
- allTypes = "*/".concat("*");
-
-// #8138, IE may throw an exception when accessing
-// a field from window.location if document.domain has been set
- try {
- ajaxLocation = location.href;
- } catch (e) {
- // Use the href attribute of an A element
- // since IE will modify it given document.location
- ajaxLocation = document.createElement("a");
- ajaxLocation.href = "";
- ajaxLocation = ajaxLocation.href;
- }
-
-// Segment location into parts
- ajaxLocParts = rurl.exec(ajaxLocation.toLowerCase()) || [];
-
-// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
- function addToPrefiltersOrTransports(structure) {
-
- // dataTypeExpression is optional and defaults to "*"
- return function (dataTypeExpression, func) {
-
- if (typeof dataTypeExpression !== "string") {
- func = dataTypeExpression;
- dataTypeExpression = "*";
- }
-
- var dataType,
- i = 0,
- dataTypes = dataTypeExpression.toLowerCase().match(core_rnotwhite) || [];
-
- if (jQuery.isFunction(func)) {
- // For each dataType in the dataTypeExpression
- while ((dataType = dataTypes[i++])) {
- // Prepend if requested
- if (dataType[0] === "+") {
- dataType = dataType.slice(1) || "*";
- (structure[dataType] = structure[dataType] || []).unshift(func);
-
- // Otherwise append
- } else {
- (structure[dataType] = structure[dataType] || []).push(func);
- }
- }
- }
- };
- }
-
-// Base inspection function for prefilters and transports
- function inspectPrefiltersOrTransports(structure, options, originalOptions, jqXHR) {
-
- var inspected = {},
- seekingTransport = ( structure === transports );
-
- function inspect(dataType) {
- var selected;
- inspected[dataType] = true;
- jQuery.each(structure[dataType] || [], function (_, prefilterOrFactory) {
- var dataTypeOrTransport = prefilterOrFactory(options, originalOptions, jqXHR);
- if (typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[dataTypeOrTransport]) {
- options.dataTypes.unshift(dataTypeOrTransport);
- inspect(dataTypeOrTransport);
- return false;
- } else if (seekingTransport) {
- return !( selected = dataTypeOrTransport );
- }
- });
- return selected;
- }
-
- return inspect(options.dataTypes[0]) || !inspected["*"] && inspect("*");
- }
-
-// A special extend for ajax options
-// that takes "flat" options (not to be deep extended)
-// Fixes #9887
- function ajaxExtend(target, src) {
- var deep, key,
- flatOptions = jQuery.ajaxSettings.flatOptions || {};
-
- for (key in src) {
- if (src[key] !== undefined) {
- ( flatOptions[key] ? target : ( deep || (deep = {}) ) )[key] = src[key];
- }
- }
- if (deep) {
- jQuery.extend(true, target, deep);
- }
-
- return target;
- }
-
- jQuery.fn.load = function (url, params, callback) {
- if (typeof url !== "string" && _load) {
- return _load.apply(this, arguments);
- }
-
- var selector, response, type,
- self = this,
- off = url.indexOf(" ");
-
- if (off >= 0) {
- selector = url.slice(off, url.length);
- url = url.slice(0, off);
- }
-
- // If it's a function
- if (jQuery.isFunction(params)) {
-
- // We assume that it's the callback
- callback = params;
- params = undefined;
-
- // Otherwise, build a param string
- } else if (params && typeof params === "object") {
- type = "POST";
- }
-
- // If we have elements to modify, make the request
- if (self.length > 0) {
- jQuery.ajax({
- url: url,
-
- // if "type" variable is undefined, then "GET" method will be used
- type: type,
- dataType: "html",
- data: params
- }).done(function (responseText) {
-
- // Save response for use in complete callback
- response = arguments;
-
- self.html(selector ?
-
- // If a selector was specified, locate the right elements in a dummy div
- // Exclude scripts to avoid IE 'Permission Denied' errors
- jQuery("<div>").append(jQuery.parseHTML(responseText)).find(selector) :
-
- // Otherwise use the full result
- responseText);
-
- }).complete(callback && function (jqXHR, status) {
- self.each(callback, response || [jqXHR.responseText, status, jqXHR]);
- });
- }
-
- return this;
- };
-
-// Attach a bunch of functions for handling common AJAX events
- jQuery.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (i, type) {
- jQuery.fn[type] = function (fn) {
- return this.on(type, fn);
- };
- });
-
- jQuery.extend({
-
- // Counter for holding the number of active queries
- active: 0,
-
- // Last-Modified header cache for next request
- lastModified: {},
- etag: {},
-
- ajaxSettings: {
- url: ajaxLocation,
- type: "GET",
- isLocal: rlocalProtocol.test(ajaxLocParts[1]),
- global: true,
- processData: true,
- async: true,
- contentType: "application/x-www-form-urlencoded; charset=UTF-8",
- /*
- timeout: 0,
- data: null,
- dataType: null,
- username: null,
- password: null,
- cache: null,
- throws: false,
- traditional: false,
- headers: {},
- */
-
- accepts: {
- "*": allTypes,
- text: "text/plain",
- html: "text/html",
- xml: "application/xml, text/xml",
- json: "application/json, text/javascript"
- },
-
- contents: {
- xml: /xml/,
- html: /html/,
- json: /json/
- },
-
- responseFields: {
- xml: "responseXML",
- text: "responseText",
- json: "responseJSON"
- },
-
- // Data converters
- // Keys separate source (or catchall "*") and destination types with a single space
- converters: {
-
- // Convert anything to text
- "* text": String,
-
- // Text to html (true = no transformation)
- "text html": true,
-
- // Evaluate text as a json expression
- "text json": jQuery.parseJSON,
-
- // Parse text as xml
- "text xml": jQuery.parseXML
- },
-
- // For options that shouldn't be deep extended:
- // you can add your own custom options here if
- // and when you create one that shouldn't be
- // deep extended (see ajaxExtend)
- flatOptions: {
- url: true,
- context: true
- }
- },
-
- // Creates a full fledged settings object into target
- // with both ajaxSettings and settings fields.
- // If target is omitted, writes into ajaxSettings.
- ajaxSetup: function (target, settings) {
- return settings ?
-
- // Building a settings object
- ajaxExtend(ajaxExtend(target, jQuery.ajaxSettings), settings) :
-
- // Extending ajaxSettings
- ajaxExtend(jQuery.ajaxSettings, target);
- },
-
- ajaxPrefilter: addToPrefiltersOrTransports(prefilters),
- ajaxTransport: addToPrefiltersOrTransports(transports),
-
- // Main method
- ajax: function (url, options) {
-
- // If url is an object, simulate pre-1.5 signature
- if (typeof url === "object") {
- options = url;
- url = undefined;
- }
-
- // Force options to be an object
- options = options || {};
-
- var // Cross-domain detection vars
- parts,
- // Loop variable
- i,
- // URL without anti-cache param
- cacheURL,
- // Response headers as string
- responseHeadersString,
- // timeout handle
- timeoutTimer,
-
- // To know if global events are to be dispatched
- fireGlobals,
-
- transport,
- // Response headers
- responseHeaders,
- // Create the final options object
- s = jQuery.ajaxSetup({}, options),
- // Callbacks context
- callbackContext = s.context || s,
- // Context for global events is callbackContext if it is a DOM node or jQuery collection
- globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ?
- jQuery(callbackContext) :
- jQuery.event,
- // Deferreds
- deferred = jQuery.Deferred(),
- completeDeferred = jQuery.Callbacks("once memory"),
- // Status-dependent callbacks
- statusCode = s.statusCode || {},
- // Headers (they are sent all at once)
- requestHeaders = {},
- requestHeadersNames = {},
- // The jqXHR state
- state = 0,
- // Default abort message
- strAbort = "canceled",
- // Fake xhr
- jqXHR = {
- readyState: 0,
-
- // Builds headers hashtable if needed
- getResponseHeader: function (key) {
- var match;
- if (state === 2) {
- if (!responseHeaders) {
- responseHeaders = {};
- while ((match = rheaders.exec(responseHeadersString))) {
- responseHeaders[match[1].toLowerCase()] = match[2];
- }
- }
- match = responseHeaders[key.toLowerCase()];
- }
- return match == null ? null : match;
- },
-
- // Raw string
- getAllResponseHeaders: function () {
- return state === 2 ? responseHeadersString : null;
- },
-
- // Caches the header
- setRequestHeader: function (name, value) {
- var lname = name.toLowerCase();
- if (!state) {
- name = requestHeadersNames[lname] = requestHeadersNames[lname] || name;
- requestHeaders[name] = value;
- }
- return this;
- },
-
- // Overrides response content-type header
- overrideMimeType: function (type) {
- if (!state) {
- s.mimeType = type;
- }
- return this;
- },
-
- // Status-dependent callbacks
- statusCode: function (map) {
- var code;
- if (map) {
- if (state < 2) {
- for (code in map) {
- // Lazy-add the new callback in a way that preserves old ones
- statusCode[code] = [statusCode[code], map[code]];
- }
- } else {
- // Execute the appropriate callbacks
- jqXHR.always(map[jqXHR.status]);
- }
- }
- return this;
- },
-
- // Cancel the request
- abort: function (statusText) {
- var finalText = statusText || strAbort;
- if (transport) {
- transport.abort(finalText);
- }
- done(0, finalText);
- return this;
- }
- };
-
- // Attach deferreds
- deferred.promise(jqXHR).complete = completeDeferred.add;
- jqXHR.success = jqXHR.done;
- jqXHR.error = jqXHR.fail;
-
- // Remove hash character (#7531: and string promotion)
- // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
- // Handle falsy url in the settings object (#10093: consistency with old signature)
- // We also use the url parameter if available
- s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace(rhash, "").replace(rprotocol, ajaxLocParts[1] + "//");
-
- // Alias method option to type as per ticket #12004
- s.type = options.method || options.type || s.method || s.type;
-
- // Extract dataTypes list
- s.dataTypes = jQuery.trim(s.dataType || "*").toLowerCase().match(core_rnotwhite) || [""];
-
- // A cross-domain request is in order when we have a protocol:host:port mismatch
- if (s.crossDomain == null) {
- parts = rurl.exec(s.url.toLowerCase());
- s.crossDomain = !!( parts &&
- ( parts[1] !== ajaxLocParts[1] || parts[2] !== ajaxLocParts[2] ||
- ( parts[3] || ( parts[1] === "http:" ? "80" : "443" ) ) !==
- ( ajaxLocParts[3] || ( ajaxLocParts[1] === "http:" ? "80" : "443" ) ) )
- );
- }
-
- // Convert data if not already a string
- if (s.data && s.processData && typeof s.data !== "string") {
- s.data = jQuery.param(s.data, s.traditional);
- }
-
- // Apply prefilters
- inspectPrefiltersOrTransports(prefilters, s, options, jqXHR);
-
- // If request was aborted inside a prefilter, stop there
- if (state === 2) {
- return jqXHR;
- }
-
- // We can fire global events as of now if asked to
- fireGlobals = s.global;
-
- // Watch for a new set of requests
- if (fireGlobals && jQuery.active++ === 0) {
- jQuery.event.trigger("ajaxStart");
- }
-
- // Uppercase the type
- s.type = s.type.toUpperCase();
-
- // Determine if request has content
- s.hasContent = !rnoContent.test(s.type);
-
- // Save the URL in case we're toying with the If-Modified-Since
- // and/or If-None-Match header later on
- cacheURL = s.url;
-
- // More options handling for requests with no content
- if (!s.hasContent) {
-
- // If data is available, append data to url
- if (s.data) {
- cacheURL = ( s.url += ( ajax_rquery.test(cacheURL) ? "&" : "?" ) + s.data );
- // #9682: remove data so that it's not used in an eventual retry
- delete s.data;
- }
-
- // Add anti-cache in url if needed
- if (s.cache === false) {
- s.url = rts.test(cacheURL) ?
-
- // If there is already a '_' parameter, set its value
- cacheURL.replace(rts, "$1_=" + ajax_nonce++) :
-
- // Otherwise add one to the end
- cacheURL + ( ajax_rquery.test(cacheURL) ? "&" : "?" ) + "_=" + ajax_nonce++;
- }
- }
-
- // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
- if (s.ifModified) {
- if (jQuery.lastModified[cacheURL]) {
- jqXHR.setRequestHeader("If-Modified-Since", jQuery.lastModified[cacheURL]);
- }
- if (jQuery.etag[cacheURL]) {
- jqXHR.setRequestHeader("If-None-Match", jQuery.etag[cacheURL]);
- }
- }
-
- // Set the correct header, if data is being sent
- if (s.data && s.hasContent && s.contentType !== false || options.contentType) {
- jqXHR.setRequestHeader("Content-Type", s.contentType);
- }
-
- // Set the Accepts header for the server, depending on the dataType
- jqXHR.setRequestHeader(
- "Accept",
- s.dataTypes[0] && s.accepts[s.dataTypes[0]] ?
- s.accepts[s.dataTypes[0]] + ( s.dataTypes[0] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
- s.accepts["*"]
- );
-
- // Check for headers option
- for (i in s.headers) {
- jqXHR.setRequestHeader(i, s.headers[i]);
- }
-
- // Allow custom headers/mimetypes and early abort
- if (s.beforeSend && ( s.beforeSend.call(callbackContext, jqXHR, s) === false || state === 2 )) {
- // Abort if not done already and return
- return jqXHR.abort();
- }
-
- // aborting is no longer a cancellation
- strAbort = "abort";
-
- // Install callbacks on deferreds
- for (i in {success: 1, error: 1, complete: 1}) {
- jqXHR[i](s[i]);
- }
-
- // Get transport
- transport = inspectPrefiltersOrTransports(transports, s, options, jqXHR);
-
- // If no transport, we auto-abort
- if (!transport) {
- done(-1, "No Transport");
- } else {
- jqXHR.readyState = 1;
-
- // Send global event
- if (fireGlobals) {
- globalEventContext.trigger("ajaxSend", [jqXHR, s]);
- }
- // Timeout
- if (s.async && s.timeout > 0) {
- timeoutTimer = setTimeout(function () {
- jqXHR.abort("timeout");
- }, s.timeout);
- }
-
- try {
- state = 1;
- transport.send(requestHeaders, done);
- } catch (e) {
- // Propagate exception as error if not done
- if (state < 2) {
- done(-1, e);
- // Simply rethrow otherwise
- } else {
- throw e;
- }
- }
- }
-
- // Callback for when everything is done
- function done(status, nativeStatusText, responses, headers) {
- var isSuccess, success, error, response, modified,
- statusText = nativeStatusText;
-
- // Called once
- if (state === 2) {
- return;
- }
-
- // State is "done" now
- state = 2;
-
- // Clear timeout if it exists
- if (timeoutTimer) {
- clearTimeout(timeoutTimer);
- }
-
- // Dereference transport for early garbage collection
- // (no matter how long the jqXHR object will be used)
- transport = undefined;
-
- // Cache response headers
- responseHeadersString = headers || "";
-
- // Set readyState
- jqXHR.readyState = status > 0 ? 4 : 0;
-
- // Determine if successful
- isSuccess = status >= 200 && status < 300 || status === 304;
-
- // Get response data
- if (responses) {
- response = ajaxHandleResponses(s, jqXHR, responses);
- }
-
- // Convert no matter what (that way responseXXX fields are always set)
- response = ajaxConvert(s, response, jqXHR, isSuccess);
-
- // If successful, handle type chaining
- if (isSuccess) {
-
- // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
- if (s.ifModified) {
- modified = jqXHR.getResponseHeader("Last-Modified");
- if (modified) {
- jQuery.lastModified[cacheURL] = modified;
- }
- modified = jqXHR.getResponseHeader("etag");
- if (modified) {
- jQuery.etag[cacheURL] = modified;
- }
- }
-
- // if no content
- if (status === 204 || s.type === "HEAD") {
- statusText = "nocontent";
-
- // if not modified
- } else if (status === 304) {
- statusText = "notmodified";
-
- // If we have data, let's convert it
- } else {
- statusText = response.state;
- success = response.data;
- error = response.error;
- isSuccess = !error;
- }
- } else {
- // We extract error from statusText
- // then normalize statusText and status for non-aborts
- error = statusText;
- if (status || !statusText) {
- statusText = "error";
- if (status < 0) {
- status = 0;
- }
- }
- }
-
- // Set data for the fake xhr object
- jqXHR.status = status;
- jqXHR.statusText = ( nativeStatusText || statusText ) + "";
-
- // Success/Error
- if (isSuccess) {
- deferred.resolveWith(callbackContext, [success, statusText, jqXHR]);
- } else {
- deferred.rejectWith(callbackContext, [jqXHR, statusText, error]);
- }
-
- // Status-dependent callbacks
- jqXHR.statusCode(statusCode);
- statusCode = undefined;
-
- if (fireGlobals) {
- globalEventContext.trigger(isSuccess ? "ajaxSuccess" : "ajaxError",
- [jqXHR, s, isSuccess ? success : error]);
- }
-
- // Complete
- completeDeferred.fireWith(callbackContext, [jqXHR, statusText]);
-
- if (fireGlobals) {
- globalEventContext.trigger("ajaxComplete", [jqXHR, s]);
- // Handle the global AJAX counter
- if (!( --jQuery.active )) {
- jQuery.event.trigger("ajaxStop");
- }
- }
- }
-
- return jqXHR;
- },
-
- getJSON: function (url, data, callback) {
- return jQuery.get(url, data, callback, "json");
- },
-
- getScript: function (url, callback) {
- return jQuery.get(url, undefined, callback, "script");
- }
- });
-
- jQuery.each(["get", "post"], function (i, method) {
- jQuery[method] = function (url, data, callback, type) {
- // shift arguments if data argument was omitted
- if (jQuery.isFunction(data)) {
- type = type || callback;
- callback = data;
- data = undefined;
- }
-
- return jQuery.ajax({
- url: url,
- type: method,
- dataType: type,
- data: data,
- success: callback
- });
- };
- });
-
- /* Handles responses to an ajax request:
- * - finds the right dataType (mediates between content-type and expected dataType)
- * - returns the corresponding response
- */
- function ajaxHandleResponses(s, jqXHR, responses) {
- var firstDataType, ct, finalDataType, type,
- contents = s.contents,
- dataTypes = s.dataTypes;
-
- // Remove auto dataType and get content-type in the process
- while (dataTypes[0] === "*") {
- dataTypes.shift();
- if (ct === undefined) {
- ct = s.mimeType || jqXHR.getResponseHeader("Content-Type");
- }
- }
-
- // Check if we're dealing with a known content-type
- if (ct) {
- for (type in contents) {
- if (contents[type] && contents[type].test(ct)) {
- dataTypes.unshift(type);
- break;
- }
- }
- }
-
- // Check to see if we have a response for the expected dataType
- if (dataTypes[0] in responses) {
- finalDataType = dataTypes[0];
- } else {
- // Try convertible dataTypes
- for (type in responses) {
- if (!dataTypes[0] || s.converters[type + " " + dataTypes[0]]) {
- finalDataType = type;
- break;
- }
- if (!firstDataType) {
- firstDataType = type;
- }
- }
- // Or just use first one
- finalDataType = finalDataType || firstDataType;
- }
-
- // If we found a dataType
- // We add the dataType to the list if needed
- // and return the corresponding response
- if (finalDataType) {
- if (finalDataType !== dataTypes[0]) {
- dataTypes.unshift(finalDataType);
- }
- return responses[finalDataType];
- }
- }
-
- /* Chain conversions given the request and the original response
- * Also sets the responseXXX fields on the jqXHR instance
- */
- function ajaxConvert(s, response, jqXHR, isSuccess) {
- var conv2, current, conv, tmp, prev,
- converters = {},
- // Work with a copy of dataTypes in case we need to modify it for conversion
- dataTypes = s.dataTypes.slice();
-
- // Create converters map with lowercased keys
- if (dataTypes[1]) {
- for (conv in s.converters) {
- converters[conv.toLowerCase()] = s.converters[conv];
- }
- }
-
- current = dataTypes.shift();
-
- // Convert to each sequential dataType
- while (current) {
-
- if (s.responseFields[current]) {
- jqXHR[s.responseFields[current]] = response;
- }
-
- // Apply the dataFilter if provided
- if (!prev && isSuccess && s.dataFilter) {
- response = s.dataFilter(response, s.dataType);
- }
-
- prev = current;
- current = dataTypes.shift();
-
- if (current) {
-
- // There's only work to do if current dataType is non-auto
- if (current === "*") {
-
- current = prev;
-
- // Convert response if prev dataType is non-auto and differs from current
- } else if (prev !== "*" && prev !== current) {
-
- // Seek a direct converter
- conv = converters[prev + " " + current] || converters["* " + current];
-
- // If none found, seek a pair
- if (!conv) {
- for (conv2 in converters) {
-
- // If conv2 outputs current
- tmp = conv2.split(" ");
- if (tmp[1] === current) {
-
- // If prev can be converted to accepted input
- conv = converters[prev + " " + tmp[0]] ||
- converters["* " + tmp[0]];
- if (conv) {
- // Condense equivalence converters
- if (conv === true) {
- conv = converters[conv2];
-
- // Otherwise, insert the intermediate dataType
- } else if (converters[conv2] !== true) {
- current = tmp[0];
- dataTypes.unshift(tmp[1]);
- }
- break;
- }
- }
- }
- }
-
- // Apply converter (if not an equivalence)
- if (conv !== true) {
-
- // Unless errors are allowed to bubble, catch and return them
- if (conv && s["throws"]) {
- response = conv(response);
- } else {
- try {
- response = conv(response);
- } catch (e) {
- return {
- state: "parsererror",
- error: conv ? e : "No conversion from " + prev + " to " + current
- };
- }
- }
- }
- }
- }
- }
-
- return {state: "success", data: response};
- }
-
-// Install script dataType
- jQuery.ajaxSetup({
- accepts: {
- script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
- },
- contents: {
- script: /(?:java|ecma)script/
- },
- converters: {
- "text script": function (text) {
- jQuery.globalEval(text);
- return text;
- }
- }
- });
-
-// Handle cache's special case and global
- jQuery.ajaxPrefilter("script", function (s) {
- if (s.cache === undefined) {
- s.cache = false;
- }
- if (s.crossDomain) {
- s.type = "GET";
- s.global = false;
- }
- });
-
-// Bind script tag hack transport
- jQuery.ajaxTransport("script", function (s) {
-
- // This transport only deals with cross domain requests
- if (s.crossDomain) {
-
- var script,
- head = document.head || jQuery("head")[0] || document.documentElement;
-
- return {
-
- send: function (_, callback) {
-
- script = document.createElement("script");
-
- script.async = true;
-
- if (s.scriptCharset) {
- script.charset = s.scriptCharset;
- }
-
- script.src = s.url;
-
- // Attach handlers for all browsers
- script.onload = script.onreadystatechange = function (_, isAbort) {
-
- if (isAbort || !script.readyState || /loaded|complete/.test(script.readyState)) {
-
- // Handle memory leak in IE
- script.onload = script.onreadystatechange = null;
-
- // Remove the script
- if (script.parentNode) {
- script.parentNode.removeChild(script);
- }
-
- // Dereference the script
- script = null;
-
- // Callback if not abort
- if (!isAbort) {
- callback(200, "success");
- }
- }
- };
-
- // Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending
- // Use native DOM manipulation to avoid our domManip AJAX trickery
- head.insertBefore(script, head.firstChild);
- },
-
- abort: function () {
- if (script) {
- script.onload(undefined, true);
- }
- }
- };
- }
- });
- var oldCallbacks = [],
- rjsonp = /(=)\?(?=&|$)|\?\?/;
-
-// Default jsonp settings
- jQuery.ajaxSetup({
- jsonp: "callback",
- jsonpCallback: function () {
- var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( ajax_nonce++ ) );
- this[callback] = true;
- return callback;
- }
- });
-
-// Detect, normalize options and install callbacks for jsonp requests
- jQuery.ajaxPrefilter("json jsonp", function (s, originalSettings, jqXHR) {
-
- var callbackName, overwritten, responseContainer,
- jsonProp = s.jsonp !== false && ( rjsonp.test(s.url) ?
- "url" :
- typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test(s.data) && "data"
- );
-
- // Handle iff the expected data type is "jsonp" or we have a parameter to set
- if (jsonProp || s.dataTypes[0] === "jsonp") {
-
- // Get callback name, remembering preexisting value associated with it
- callbackName = s.jsonpCallback = jQuery.isFunction(s.jsonpCallback) ?
- s.jsonpCallback() :
- s.jsonpCallback;
-
- // Insert callback into url or form data
- if (jsonProp) {
- s[jsonProp] = s[jsonProp].replace(rjsonp, "$1" + callbackName);
- } else if (s.jsonp !== false) {
- s.url += ( ajax_rquery.test(s.url) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
- }
-
- // Use data converter to retrieve json after script execution
- s.converters["script json"] = function () {
- if (!responseContainer) {
- jQuery.error(callbackName + " was not called");
- }
- return responseContainer[0];
- };
-
- // force json dataType
- s.dataTypes[0] = "json";
-
- // Install callback
- overwritten = window[callbackName];
- window[callbackName] = function () {
- responseContainer = arguments;
- };
-
- // Clean-up function (fires after converters)
- jqXHR.always(function () {
- // Restore preexisting value
- window[callbackName] = overwritten;
-
- // Save back as free
- if (s[callbackName]) {
- // make sure that re-using the options doesn't screw things around
- s.jsonpCallback = originalSettings.jsonpCallback;
-
- // save the callback name for future use
- oldCallbacks.push(callbackName);
- }
-
- // Call if it was a function and we have a response
- if (responseContainer && jQuery.isFunction(overwritten)) {
- overwritten(responseContainer[0]);
- }
-
- responseContainer = overwritten = undefined;
- });
-
- // Delegate to script
- return "script";
- }
- });
- var xhrCallbacks, xhrSupported,
- xhrId = 0,
- // #5280: Internet Explorer will keep connections alive if we don't abort on unload
- xhrOnUnloadAbort = window.ActiveXObject && function () {
- // Abort all pending requests
- var key;
- for (key in xhrCallbacks) {
- xhrCallbacks[key](undefined, true);
- }
- };
-
-// Functions to create xhrs
- function createStandardXHR() {
- try {
- return new window.XMLHttpRequest();
- } catch (e) {
- }
- }
-
- function createActiveXHR() {
- try {
- return new window.ActiveXObject("Microsoft.XMLHTTP");
- } catch (e) {
- }
- }
-
-// Create the request object
-// (This is still attached to ajaxSettings for backward compatibility)
- jQuery.ajaxSettings.xhr = window.ActiveXObject ?
- /* Microsoft failed to properly
- * implement the XMLHttpRequest in IE7 (can't request local files),
- * so we use the ActiveXObject when it is available
- * Additionally XMLHttpRequest can be disabled in IE7/IE8 so
- * we need a fallback.
- */
- function () {
- return !this.isLocal && createStandardXHR() || createActiveXHR();
- } :
- // For all other browsers, use the standard XMLHttpRequest object
- createStandardXHR;
-
-// Determine support properties
- xhrSupported = jQuery.ajaxSettings.xhr();
- jQuery.support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );
- xhrSupported = jQuery.support.ajax = !!xhrSupported;
-
-// Create transport if the browser can provide an xhr
- if (xhrSupported) {
-
- jQuery.ajaxTransport(function (s) {
- // Cross domain only allowed if supported through XMLHttpRequest
- if (!s.crossDomain || jQuery.support.cors) {
-
- var callback;
-
- return {
- send: function (headers, complete) {
-
- // Get a new xhr
- var handle, i,
- xhr = s.xhr();
-
- // Open the socket
- // Passing null username, generates a login popup on Opera (#2865)
- if (s.username) {
- xhr.open(s.type, s.url, s.async, s.username, s.password);
- } else {
- xhr.open(s.type, s.url, s.async);
- }
-
- // Apply custom fields if provided
- if (s.xhrFields) {
- for (i in s.xhrFields) {
- xhr[i] = s.xhrFields[i];
- }
- }
-
- // Override mime type if needed
- if (s.mimeType && xhr.overrideMimeType) {
- xhr.overrideMimeType(s.mimeType);
- }
-
- // X-Requested-With header
- // For cross-domain requests, seeing as conditions for a preflight are
- // akin to a jigsaw puzzle, we simply never set it to be sure.
- // (it can always be set on a per-request basis or even using ajaxSetup)
- // For same-domain requests, won't change header if already provided.
- if (!s.crossDomain && !headers["X-Requested-With"]) {
- headers["X-Requested-With"] = "XMLHttpRequest";
- }
-
- // Need an extra try/catch for cross domain requests in Firefox 3
- try {
- for (i in headers) {
- xhr.setRequestHeader(i, headers[i]);
- }
- } catch (err) {
- }
-
- // Do send the request
- // This may raise an exception which is actually
- // handled in jQuery.ajax (so no try/catch here)
- xhr.send(( s.hasContent && s.data ) || null);
-
- // Listener
- callback = function (_, isAbort) {
- var status, responseHeaders, statusText, responses;
-
- // Firefox throws exceptions when accessing properties
- // of an xhr when a network error occurred
- // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE)
- try {
-
- // Was never called and is aborted or complete
- if (callback && ( isAbort || xhr.readyState === 4 )) {
-
- // Only called once
- callback = undefined;
-
- // Do not keep as active anymore
- if (handle) {
- xhr.onreadystatechange = jQuery.noop;
- if (xhrOnUnloadAbort) {
- delete xhrCallbacks[handle];
- }
- }
-
- // If it's an abort
- if (isAbort) {
- // Abort it manually if needed
- if (xhr.readyState !== 4) {
- xhr.abort();
- }
- } else {
- responses = {};
- status = xhr.status;
- responseHeaders = xhr.getAllResponseHeaders();
-
- // When requesting binary data, IE6-9 will throw an exception
- // on any attempt to access responseText (#11426)
- if (typeof xhr.responseText === "string") {
- responses.text = xhr.responseText;
- }
-
- // Firefox throws an exception when accessing
- // statusText for faulty cross-domain requests
- try {
- statusText = xhr.statusText;
- } catch (e) {
- // We normalize with Webkit giving an empty statusText
- statusText = "";
- }
-
- // Filter status for non standard behaviors
-
- // If the request is local and we have data: assume a success
- // (success with no data won't get notified, that's the best we
- // can do given current implementations)
- if (!status && s.isLocal && !s.crossDomain) {
- status = responses.text ? 200 : 404;
- // IE - #1450: sometimes returns 1223 when it should be 204
- } else if (status === 1223) {
- status = 204;
- }
- }
- }
- } catch (firefoxAccessException) {
- if (!isAbort) {
- complete(-1, firefoxAccessException);
- }
- }
-
- // Call complete if needed
- if (responses) {
- complete(status, statusText, responses, responseHeaders);
- }
- };
-
- if (!s.async) {
- // if we're in sync mode we fire the callback
- callback();
- } else if (xhr.readyState === 4) {
- // (IE6 & IE7) if it's in cache and has been
- // retrieved directly we need to fire the callback
- setTimeout(callback);
- } else {
- handle = ++xhrId;
- if (xhrOnUnloadAbort) {
- // Create the active xhrs callbacks list if needed
- // and attach the unload handler
- if (!xhrCallbacks) {
- xhrCallbacks = {};
- jQuery(window).unload(xhrOnUnloadAbort);
- }
- // Add to list of active xhrs callbacks
- xhrCallbacks[handle] = callback;
- }
- xhr.onreadystatechange = callback;
- }
- },
-
- abort: function () {
- if (callback) {
- callback(undefined, true);
- }
- }
- };
- }
- });
- }
- var fxNow, timerId,
- rfxtypes = /^(?:toggle|show|hide)$/,
- rfxnum = new RegExp("^(?:([+-])=|)(" + core_pnum + ")([a-z%]*)$", "i"),
- rrun = /queueHooks$/,
- animationPrefilters = [defaultPrefilter],
- tweeners = {
- "*": [function (prop, value) {
- var tween = this.createTween(prop, value),
- target = tween.cur(),
- parts = rfxnum.exec(value),
- unit = parts && parts[3] || ( jQuery.cssNumber[prop] ? "" : "px" ),
-
- // Starting value computation is required for potential unit mismatches
- start = ( jQuery.cssNumber[prop] || unit !== "px" && +target ) &&
- rfxnum.exec(jQuery.css(tween.elem, prop)),
- scale = 1,
- maxIterations = 20;
-
- if (start && start[3] !== unit) {
- // Trust units reported by jQuery.css
- unit = unit || start[3];
-
- // Make sure we update the tween properties later on
- parts = parts || [];
-
- // Iteratively approximate from a nonzero starting point
- start = +target || 1;
-
- do {
- // If previous iteration zeroed out, double until we get *something*
- // Use a string for doubling factor so we don't accidentally see scale as unchanged below
- scale = scale || ".5";
-
- // Adjust and apply
- start = start / scale;
- jQuery.style(tween.elem, prop, start + unit);
-
- // Update scale, tolerating zero or NaN from tween.cur()
- // And breaking the loop if scale is unchanged or perfect, or if we've just had enough
- } while (scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations);
- }
-
- // Update tween properties
- if (parts) {
- start = tween.start = +start || +target || 0;
- tween.unit = unit;
- // If a +=/-= token was provided, we're doing a relative animation
- tween.end = parts[1] ?
- start + ( parts[1] + 1 ) * parts[2] :
- +parts[2];
- }
-
- return tween;
- }]
- };
-
-// Animations created synchronously will run synchronously
- function createFxNow() {
- setTimeout(function () {
- fxNow = undefined;
- });
- return ( fxNow = jQuery.now() );
- }
-
- function createTween(value, prop, animation) {
- var tween,
- collection = ( tweeners[prop] || [] ).concat(tweeners["*"]),
- index = 0,
- length = collection.length;
- for (; index < length; index++) {
- if ((tween = collection[index].call(animation, prop, value))) {
-
- // we're done with this property
- return tween;
- }
- }
- }
-
- function Animation(elem, properties, options) {
- var result,
- stopped,
- index = 0,
- length = animationPrefilters.length,
- deferred = jQuery.Deferred().always(function () {
- // don't match elem in the :animated selector
- delete tick.elem;
- }),
- tick = function () {
- if (stopped) {
- return false;
- }
- var currentTime = fxNow || createFxNow(),
- remaining = Math.max(0, animation.startTime + animation.duration - currentTime),
- // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497)
- temp = remaining / animation.duration || 0,
- percent = 1 - temp,
- index = 0,
- length = animation.tweens.length;
-
- for (; index < length; index++) {
- animation.tweens[index].run(percent);
- }
-
- deferred.notifyWith(elem, [animation, percent, remaining]);
-
- if (percent < 1 && length) {
- return remaining;
- } else {
- deferred.resolveWith(elem, [animation]);
- return false;
- }
- },
- animation = deferred.promise({
- elem: elem,
- props: jQuery.extend({}, properties),
- opts: jQuery.extend(true, {specialEasing: {}}, options),
- originalProperties: properties,
- originalOptions: options,
- startTime: fxNow || createFxNow(),
- duration: options.duration,
- tweens: [],
- createTween: function (prop, end) {
- var tween = jQuery.Tween(elem, animation.opts, prop, end,
- animation.opts.specialEasing[prop] || animation.opts.easing);
- animation.tweens.push(tween);
- return tween;
- },
- stop: function (gotoEnd) {
- var index = 0,
- // if we are going to the end, we want to run all the tweens
- // otherwise we skip this part
- length = gotoEnd ? animation.tweens.length : 0;
- if (stopped) {
- return this;
- }
- stopped = true;
- for (; index < length; index++) {
- animation.tweens[index].run(1);
- }
-
- // resolve when we played the last frame
- // otherwise, reject
- if (gotoEnd) {
- deferred.resolveWith(elem, [animation, gotoEnd]);
- } else {
- deferred.rejectWith(elem, [animation, gotoEnd]);
- }
- return this;
- }
- }),
- props = animation.props;
-
- propFilter(props, animation.opts.specialEasing);
-
- for (; index < length; index++) {
- result = animationPrefilters[index].call(animation, elem, props, animation.opts);
- if (result) {
- return result;
- }
- }
-
- jQuery.map(props, createTween, animation);
-
- if (jQuery.isFunction(animation.opts.start)) {
- animation.opts.start.call(elem, animation);
- }
-
- jQuery.fx.timer(
- jQuery.extend(tick, {
- elem: elem,
- anim: animation,
- queue: animation.opts.queue
- })
- );
-
- // attach callbacks from options
- return animation.progress(animation.opts.progress)
- .done(animation.opts.done, animation.opts.complete)
- .fail(animation.opts.fail)
- .always(animation.opts.always);
- }
-
- function propFilter(props, specialEasing) {
- var index, name, easing, value, hooks;
-
- // camelCase, specialEasing and expand cssHook pass
- for (index in props) {
- name = jQuery.camelCase(index);
- easing = specialEasing[name];
- value = props[index];
- if (jQuery.isArray(value)) {
- easing = value[1];
- value = props[index] = value[0];
- }
-
- if (index !== name) {
- props[name] = value;
- delete props[index];
- }
-
- hooks = jQuery.cssHooks[name];
- if (hooks && "expand" in hooks) {
- value = hooks.expand(value);
- delete props[name];
-
- // not quite $.extend, this wont overwrite keys already present.
- // also - reusing 'index' from above because we have the correct "name"
- for (index in value) {
- if (!( index in props )) {
- props[index] = value[index];
- specialEasing[index] = easing;
- }
- }
- } else {
- specialEasing[name] = easing;
- }
- }
- }
-
- jQuery.Animation = jQuery.extend(Animation, {
-
- tweener: function (props, callback) {
- if (jQuery.isFunction(props)) {
- callback = props;
- props = ["*"];
- } else {
- props = props.split(" ");
- }
-
- var prop,
- index = 0,
- length = props.length;
-
- for (; index < length; index++) {
- prop = props[index];
- tweeners[prop] = tweeners[prop] || [];
- tweeners[prop].unshift(callback);
- }
- },
-
- prefilter: function (callback, prepend) {
- if (prepend) {
- animationPrefilters.unshift(callback);
- } else {
- animationPrefilters.push(callback);
- }
- }
- });
-
- function defaultPrefilter(elem, props, opts) {
- /* jshint validthis: true */
- var prop, value, toggle, tween, hooks, oldfire,
- anim = this,
- orig = {},
- style = elem.style,
- hidden = elem.nodeType && isHidden(elem),
- dataShow = jQuery._data(elem, "fxshow");
-
- // handle queue: false promises
- if (!opts.queue) {
- hooks = jQuery._queueHooks(elem, "fx");
- if (hooks.unqueued == null) {
- hooks.unqueued = 0;
- oldfire = hooks.empty.fire;
- hooks.empty.fire = function () {
- if (!hooks.unqueued) {
- oldfire();
- }
- };
- }
- hooks.unqueued++;
-
- anim.always(function () {
- // doing this makes sure that the complete handler will be called
- // before this completes
- anim.always(function () {
- hooks.unqueued--;
- if (!jQuery.queue(elem, "fx").length) {
- hooks.empty.fire();
- }
- });
- });
- }
-
- // height/width overflow pass
- if (elem.nodeType === 1 && ( "height" in props || "width" in props )) {
- // Make sure that nothing sneaks out
- // Record all 3 overflow attributes because IE does not
- // change the overflow attribute when overflowX and
- // overflowY are set to the same value
- opts.overflow = [style.overflow, style.overflowX, style.overflowY];
-
- // Set display property to inline-block for height/width
- // animations on inline elements that are having width/height animated
- if (jQuery.css(elem, "display") === "inline" &&
- jQuery.css(elem, "float") === "none") {
-
- // inline-level elements accept inline-block;
- // block-level elements need to be inline with layout
- if (!jQuery.support.inlineBlockNeedsLayout || css_defaultDisplay(elem.nodeName) === "inline") {
- style.display = "inline-block";
-
- } else {
- style.zoom = 1;
- }
- }
- }
-
- if (opts.overflow) {
- style.overflow = "hidden";
- if (!jQuery.support.shrinkWrapBlocks) {
- anim.always(function () {
- style.overflow = opts.overflow[0];
- style.overflowX = opts.overflow[1];
- style.overflowY = opts.overflow[2];
- });
- }
- }
-
-
- // show/hide pass
- for (prop in props) {
- value = props[prop];
- if (rfxtypes.exec(value)) {
- delete props[prop];
- toggle = toggle || value === "toggle";
- if (value === ( hidden ? "hide" : "show" )) {
- continue;
- }
- orig[prop] = dataShow && dataShow[prop] || jQuery.style(elem, prop);
- }
- }
-
- if (!jQuery.isEmptyObject(orig)) {
- if (dataShow) {
- if ("hidden" in dataShow) {
- hidden = dataShow.hidden;
- }
- } else {
- dataShow = jQuery._data(elem, "fxshow", {});
- }
-
- // store state if its toggle - enables .stop().toggle() to "reverse"
- if (toggle) {
- dataShow.hidden = !hidden;
- }
- if (hidden) {
- jQuery(elem).show();
- } else {
- anim.done(function () {
- jQuery(elem).hide();
- });
- }
- anim.done(function () {
- var prop;
- jQuery._removeData(elem, "fxshow");
- for (prop in orig) {
- jQuery.style(elem, prop, orig[prop]);
- }
- });
- for (prop in orig) {
- tween = createTween(hidden ? dataShow[prop] : 0, prop, anim);
-
- if (!( prop in dataShow )) {
- dataShow[prop] = tween.start;
- if (hidden) {
- tween.end = tween.start;
- tween.start = prop === "width" || prop === "height" ? 1 : 0;
- }
- }
- }
- }
- }
-
- function Tween(elem, options, prop, end, easing) {
- return new Tween.prototype.init(elem, options, prop, end, easing);
- }
-
- jQuery.Tween = Tween;
-
- Tween.prototype = {
- constructor: Tween,
- init: function (elem, options, prop, end, easing, unit) {
- this.elem = elem;
- this.prop = prop;
- this.easing = easing || "swing";
- this.options = options;
- this.start = this.now = this.cur();
- this.end = end;
- this.unit = unit || ( jQuery.cssNumber[prop] ? "" : "px" );
- },
- cur: function () {
- var hooks = Tween.propHooks[this.prop];
-
- return hooks && hooks.get ?
- hooks.get(this) :
- Tween.propHooks._default.get(this);
- },
- run: function (percent) {
- var eased,
- hooks = Tween.propHooks[this.prop];
-
- if (this.options.duration) {
- this.pos = eased = jQuery.easing[this.easing](
- percent, this.options.duration * percent, 0, 1, this.options.duration
- );
- } else {
- this.pos = eased = percent;
- }
- this.now = ( this.end - this.start ) * eased + this.start;
-
- if (this.options.step) {
- this.options.step.call(this.elem, this.now, this);
- }
-
- if (hooks && hooks.set) {
- hooks.set(this);
- } else {
- Tween.propHooks._default.set(this);
- }
- return this;
- }
- };
-
- Tween.prototype.init.prototype = Tween.prototype;
-
- Tween.propHooks = {
- _default: {
- get: function (tween) {
- var result;
-
- if (tween.elem[tween.prop] != null &&
- (!tween.elem.style || tween.elem.style[tween.prop] == null)) {
- return tween.elem[tween.prop];
- }
-
- // passing an empty string as a 3rd parameter to .css will automatically
- // attempt a parseFloat and fallback to a string if the parse fails
- // so, simple values such as "10px" are parsed to Float.
- // complex values such as "rotate(1rad)" are returned as is.
- result = jQuery.css(tween.elem, tween.prop, "");
- // Empty strings, null, undefined and "auto" are converted to 0.
- return !result || result === "auto" ? 0 : result;
- },
- set: function (tween) {
- // use step hook for back compat - use cssHook if its there - use .style if its
- // available and use plain properties where available
- if (jQuery.fx.step[tween.prop]) {
- jQuery.fx.step[tween.prop](tween);
- } else if (tween.elem.style && ( tween.elem.style[jQuery.cssProps[tween.prop]] != null || jQuery.cssHooks[tween.prop] )) {
- jQuery.style(tween.elem, tween.prop, tween.now + tween.unit);
- } else {
- tween.elem[tween.prop] = tween.now;
- }
- }
- }
- };
-
-// Support: IE <=9
-// Panic based approach to setting things on disconnected nodes
-
- Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
- set: function (tween) {
- if (tween.elem.nodeType && tween.elem.parentNode) {
- tween.elem[tween.prop] = tween.now;
- }
- }
- };
-
- jQuery.each(["toggle", "show", "hide"], function (i, name) {
- var cssFn = jQuery.fn[name];
- jQuery.fn[name] = function (speed, easing, callback) {
- return speed == null || typeof speed === "boolean" ?
- cssFn.apply(this, arguments) :
- this.animate(genFx(name, true), speed, easing, callback);
- };
- });
-
- jQuery.fn.extend({
- fadeTo: function (speed, to, easing, callback) {
-
- // show any hidden elements after setting opacity to 0
- return this.filter(isHidden).css("opacity", 0).show()
-
- // animate to the value specified
- .end().animate({opacity: to}, speed, easing, callback);
- },
- animate: function (prop, speed, easing, callback) {
- var empty = jQuery.isEmptyObject(prop),
- optall = jQuery.speed(speed, easing, callback),
- doAnimation = function () {
- // Operate on a copy of prop so per-property easing won't be lost
- var anim = Animation(this, jQuery.extend({}, prop), optall);
-
- // Empty animations, or finishing resolves immediately
- if (empty || jQuery._data(this, "finish")) {
- anim.stop(true);
- }
- };
- doAnimation.finish = doAnimation;
-
- return empty || optall.queue === false ?
- this.each(doAnimation) :
- this.queue(optall.queue, doAnimation);
- },
- stop: function (type, clearQueue, gotoEnd) {
- var stopQueue = function (hooks) {
- var stop = hooks.stop;
- delete hooks.stop;
- stop(gotoEnd);
- };
-
- if (typeof type !== "string") {
- gotoEnd = clearQueue;
- clearQueue = type;
- type = undefined;
- }
- if (clearQueue && type !== false) {
- this.queue(type || "fx", []);
- }
-
- return this.each(function () {
- var dequeue = true,
- index = type != null && type + "queueHooks",
- timers = jQuery.timers,
- data = jQuery._data(this);
-
- if (index) {
- if (data[index] && data[index].stop) {
- stopQueue(data[index]);
- }
- } else {
- for (index in data) {
- if (data[index] && data[index].stop && rrun.test(index)) {
- stopQueue(data[index]);
- }
- }
- }
-
- for (index = timers.length; index--;) {
- if (timers[index].elem === this && (type == null || timers[index].queue === type)) {
- timers[index].anim.stop(gotoEnd);
- dequeue = false;
- timers.splice(index, 1);
- }
- }
-
- // start the next in the queue if the last step wasn't forced
- // timers currently will call their complete callbacks, which will dequeue
- // but only if they were gotoEnd
- if (dequeue || !gotoEnd) {
- jQuery.dequeue(this, type);
- }
- });
- },
- finish: function (type) {
- if (type !== false) {
- type = type || "fx";
- }
- return this.each(function () {
- var index,
- data = jQuery._data(this),
- queue = data[type + "queue"],
- hooks = data[type + "queueHooks"],
- timers = jQuery.timers,
- length = queue ? queue.length : 0;
-
- // enable finishing flag on private data
- data.finish = true;
-
- // empty the queue first
- jQuery.queue(this, type, []);
-
- if (hooks && hooks.stop) {
- hooks.stop.call(this, true);
- }
-
- // look for any active animations, and finish them
- for (index = timers.length; index--;) {
- if (timers[index].elem === this && timers[index].queue === type) {
- timers[index].anim.stop(true);
- timers.splice(index, 1);
- }
- }
-
- // look for any animations in the old queue and finish them
- for (index = 0; index < length; index++) {
- if (queue[index] && queue[index].finish) {
- queue[index].finish.call(this);
- }
- }
-
- // turn off finishing flag
- delete data.finish;
- });
- }
- });
-
-// Generate parameters to create a standard animation
- function genFx(type, includeWidth) {
- var which,
- attrs = {height: type},
- i = 0;
-
- // if we include width, step value is 1 to do all cssExpand values,
- // if we don't include width, step value is 2 to skip over Left and Right
- includeWidth = includeWidth ? 1 : 0;
- for (; i < 4; i += 2 - includeWidth) {
- which = cssExpand[i];
- attrs["margin" + which] = attrs["padding" + which] = type;
- }
-
- if (includeWidth) {
- attrs.opacity = attrs.width = type;
- }
-
- return attrs;
- }
-
-// Generate shortcuts for custom animations
- jQuery.each({
- slideDown: genFx("show"),
- slideUp: genFx("hide"),
- slideToggle: genFx("toggle"),
- fadeIn: {opacity: "show"},
- fadeOut: {opacity: "hide"},
- fadeToggle: {opacity: "toggle"}
- }, function (name, props) {
- jQuery.fn[name] = function (speed, easing, callback) {
- return this.animate(props, speed, easing, callback);
- };
- });
-
- jQuery.speed = function (speed, easing, fn) {
- var opt = speed && typeof speed === "object" ? jQuery.extend({}, speed) : {
- complete: fn || !fn && easing ||
- jQuery.isFunction(speed) && speed,
- duration: speed,
- easing: fn && easing || easing && !jQuery.isFunction(easing) && easing
- };
-
- opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
- opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[opt.duration] : jQuery.fx.speeds._default;
-
- // normalize opt.queue - true/undefined/null -> "fx"
- if (opt.queue == null || opt.queue === true) {
- opt.queue = "fx";
- }
-
- // Queueing
- opt.old = opt.complete;
-
- opt.complete = function () {
- if (jQuery.isFunction(opt.old)) {
- opt.old.call(this);
- }
-
- if (opt.queue) {
- jQuery.dequeue(this, opt.queue);
- }
- };
-
- return opt;
- };
-
- jQuery.easing = {
- linear: function (p) {
- return p;
- },
- swing: function (p) {
- return 0.5 - Math.cos(p * Math.PI) / 2;
- }
- };
-
- jQuery.timers = [];
- jQuery.fx = Tween.prototype.init;
- jQuery.fx.tick = function () {
- var timer,
- timers = jQuery.timers,
- i = 0;
-
- fxNow = jQuery.now();
-
- for (; i < timers.length; i++) {
- timer = timers[i];
- // Checks the timer has not already been removed
- if (!timer() && timers[i] === timer) {
- timers.splice(i--, 1);
- }
- }
-
- if (!timers.length) {
- jQuery.fx.stop();
- }
- fxNow = undefined;
- };
-
- jQuery.fx.timer = function (timer) {
- if (timer() && jQuery.timers.push(timer)) {
- jQuery.fx.start();
- }
- };
-
- jQuery.fx.interval = 13;
-
- jQuery.fx.start = function () {
- if (!timerId) {
- timerId = setInterval(jQuery.fx.tick, jQuery.fx.interval);
- }
- };
-
- jQuery.fx.stop = function () {
- clearInterval(timerId);
- timerId = null;
- };
-
- jQuery.fx.speeds = {
- slow: 600,
- fast: 200,
- // Default speed
- _default: 400
- };
-
-// Back Compat <1.8 extension point
- jQuery.fx.step = {};
-
- if (jQuery.expr && jQuery.expr.filters) {
- jQuery.expr.filters.animated = function (elem) {
- return jQuery.grep(jQuery.timers, function (fn) {
- return elem === fn.elem;
- }).length;
- };
- }
- jQuery.fn.offset = function (options) {
- if (arguments.length) {
- return options === undefined ?
- this :
- this.each(function (i) {
- jQuery.offset.setOffset(this, options, i);
- });
- }
-
- var docElem, win,
- box = {top: 0, left: 0},
- elem = this[0],
- doc = elem && elem.ownerDocument;
-
- if (!doc) {
- return;
- }
-
- docElem = doc.documentElement;
-
- // Make sure it's not a disconnected DOM node
- if (!jQuery.contains(docElem, elem)) {
- return box;
- }
-
- // If we don't have gBCR, just use 0,0 rather than error
- // BlackBerry 5, iOS 3 (original iPhone)
- if (typeof elem.getBoundingClientRect !== core_strundefined) {
- box = elem.getBoundingClientRect();
- }
- win = getWindow(doc);
- return {
- top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ),
- left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )
- };
- };
-
- jQuery.offset = {
-
- setOffset: function (elem, options, i) {
- var position = jQuery.css(elem, "position");
-
- // set position first, in-case top/left are set even on static elem
- if (position === "static") {
- elem.style.position = "relative";
- }
-
- var curElem = jQuery(elem),
- curOffset = curElem.offset(),
- curCSSTop = jQuery.css(elem, "top"),
- curCSSLeft = jQuery.css(elem, "left"),
- calculatePosition = ( position === "absolute" || position === "fixed" ) && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1,
- props = {}, curPosition = {}, curTop, curLeft;
-
- // need to be able to calculate position if either top or left is auto and position is either absolute or fixed
- if (calculatePosition) {
- curPosition = curElem.position();
- curTop = curPosition.top;
- curLeft = curPosition.left;
- } else {
- curTop = parseFloat(curCSSTop) || 0;
- curLeft = parseFloat(curCSSLeft) || 0;
- }
-
- if (jQuery.isFunction(options)) {
- options = options.call(elem, i, curOffset);
- }
-
- if (options.top != null) {
- props.top = ( options.top - curOffset.top ) + curTop;
- }
- if (options.left != null) {
- props.left = ( options.left - curOffset.left ) + curLeft;
- }
-
- if ("using" in options) {
- options.using.call(elem, props);
- } else {
- curElem.css(props);
- }
- }
- };
-
-
- jQuery.fn.extend({
-
- position: function () {
- if (!this[0]) {
- return;
- }
-
- var offsetParent, offset,
- parentOffset = {top: 0, left: 0},
- elem = this[0];
-
- // fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is it's only offset parent
- if (jQuery.css(elem, "position") === "fixed") {
- // we assume that getBoundingClientRect is available when computed position is fixed
- offset = elem.getBoundingClientRect();
- } else {
- // Get *real* offsetParent
- offsetParent = this.offsetParent();
-
- // Get correct offsets
- offset = this.offset();
- if (!jQuery.nodeName(offsetParent[0], "html")) {
- parentOffset = offsetParent.offset();
- }
-
- // Add offsetParent borders
- parentOffset.top += jQuery.css(offsetParent[0], "borderTopWidth", true);
- parentOffset.left += jQuery.css(offsetParent[0], "borderLeftWidth", true);
- }
-
- // Subtract parent offsets and element margins
- // note: when an element has margin: auto the offsetLeft and marginLeft
- // are the same in Safari causing offset.left to incorrectly be 0
- return {
- top: offset.top - parentOffset.top - jQuery.css(elem, "marginTop", true),
- left: offset.left - parentOffset.left - jQuery.css(elem, "marginLeft", true)
- };
- },
-
- offsetParent: function () {
- return this.map(function () {
- var offsetParent = this.offsetParent || docElem;
- while (offsetParent && ( !jQuery.nodeName(offsetParent, "html") && jQuery.css(offsetParent, "position") === "static" )) {
- offsetParent = offsetParent.offsetParent;
- }
- return offsetParent || docElem;
- });
- }
- });
-
-
-// Create scrollLeft and scrollTop methods
- jQuery.each({scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function (method, prop) {
- var top = /Y/.test(prop);
-
- jQuery.fn[method] = function (val) {
- return jQuery.access(this, function (elem, method, val) {
- var win = getWindow(elem);
-
- if (val === undefined) {
- return win ? (prop in win) ? win[prop] :
- win.document.documentElement[method] :
- elem[method];
- }
-
- if (win) {
- win.scrollTo(
- !top ? val : jQuery(win).scrollLeft(),
- top ? val : jQuery(win).scrollTop()
- );
-
- } else {
- elem[method] = val;
- }
- }, method, val, arguments.length, null);
- };
- });
-
- function getWindow(elem) {
- return jQuery.isWindow(elem) ?
- elem :
- elem.nodeType === 9 ?
- elem.defaultView || elem.parentWindow :
- false;
- }
-
-// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
- jQuery.each({Height: "height", Width: "width"}, function (name, type) {
- jQuery.each({padding: "inner" + name, content: type, "": "outer" + name}, function (defaultExtra, funcName) {
- // margin is only for outerHeight, outerWidth
- jQuery.fn[funcName] = function (margin, value) {
- var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ),
- extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" );
-
- return jQuery.access(this, function (elem, type, value) {
- var doc;
-
- if (jQuery.isWindow(elem)) {
- // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there
- // isn't a whole lot we can do. See pull request at this URL for discussion:
- // https://github.com/jquery/jquery/pull/764
- return elem.document.documentElement["client" + name];
- }
-
- // Get document width or height
- if (elem.nodeType === 9) {
- doc = elem.documentElement;
-
- // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest
- // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it.
- return Math.max(
- elem.body["scroll" + name], doc["scroll" + name],
- elem.body["offset" + name], doc["offset" + name],
- doc["client" + name]
- );
- }
-
- return value === undefined ?
- // Get width or height on the element, requesting but not forcing parseFloat
- jQuery.css(elem, type, extra) :
-
- // Set width or height on the element
- jQuery.style(elem, type, value, extra);
- }, type, chainable ? margin : undefined, chainable, null);
- };
- });
- });
-// Limit scope pollution from any deprecated API
-// (function() {
-
-// The number of elements contained in the matched element set
- jQuery.fn.size = function () {
- return this.length;
- };
-
- jQuery.fn.andSelf = jQuery.fn.addBack;
-
-// })();
- if (typeof module === "object" && module && typeof module.exports === "object") {
- // Expose jQuery as module.exports in loaders that implement the Node
- // module pattern (including browserify). Do not create the global, since
- // the user will be storing it themselves locally, and globals are frowned
- // upon in the Node module world.
- module.exports = jQuery;
- } else {
- // Otherwise expose jQuery to the global object as usual
- window.jQuery = window.$ = jQuery;
-
- // Register as a named AMD module, since jQuery can be concatenated with other
- // files that may use define, but not via a proper concatenation script that
- // understands anonymous AMD modules. A named AMD is safest and most robust
- // way to register. Lowercase jquery is used because AMD module names are
- // derived from file names, and jQuery is normally delivered in a lowercase
- // file name. Do this after creating the global so that if an AMD module wants
- // to call noConflict to hide this version of jQuery, it will work.
- if (typeof define === "function" && define.amd) {
- define("jquery", [], function () {
- return jQuery;
- });
- }
- }
-
-})(window);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/Thumbs.db b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/Thumbs.db
deleted file mode 100644
index db4be920..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/Thumbs.db
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_diagonals-thick_18_b81900_40x40.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_diagonals-thick_18_b81900_40x40.png
deleted file mode 100644
index 993e5313..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_diagonals-thick_18_b81900_40x40.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_diagonals-thick_20_666666_40x40.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_diagonals-thick_20_666666_40x40.png
deleted file mode 100644
index 1d5a926e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_diagonals-thick_20_666666_40x40.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_flat_10_000000_40x100.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_flat_10_000000_40x100.png
deleted file mode 100644
index 41c12149..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_flat_10_000000_40x100.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_glass_100_f6f6f6_1x400.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_glass_100_f6f6f6_1x400.png
deleted file mode 100644
index 23e558b3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_glass_100_f6f6f6_1x400.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_glass_100_fdf5ce_1x400.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_glass_100_fdf5ce_1x400.png
deleted file mode 100644
index fa412f54..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_glass_100_fdf5ce_1x400.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_glass_65_ffffff_1x400.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_glass_65_ffffff_1x400.png
deleted file mode 100644
index d27cbce9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_glass_65_ffffff_1x400.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_gloss-wave_35_f6a828_500x100.png
deleted file mode 100644
index 5eb316d0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_gloss-wave_35_f6a828_500x100.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
deleted file mode 100644
index 99fc8beb..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
deleted file mode 100644
index 6994a1c6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_222222_256x240.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_222222_256x240.png
deleted file mode 100644
index e9c8e16a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_222222_256x240.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_228ef1_256x240.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_228ef1_256x240.png
deleted file mode 100644
index 8d68c543..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_228ef1_256x240.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_ef8c08_256x240.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_ef8c08_256x240.png
deleted file mode 100644
index 18bbfe82..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_ef8c08_256x240.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_ffd27a_256x240.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_ffd27a_256x240.png
deleted file mode 100644
index 4435b497..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_ffd27a_256x240.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_ffffff_256x240.png b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_ffffff_256x240.png
deleted file mode 100644
index 4d66f596..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/images/ui-icons_ffffff_256x240.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/index.html b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/index.html
deleted file mode 100644
index 6ce5ce11..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/index.html
+++ /dev/null
@@ -1,684 +0,0 @@
-<!doctype html>
-<html lang="us">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Example Page</title>
- <link href="jquery-ui.css" rel="stylesheet">
- <style>
- body {
- font: 62.5% "Trebuchet MS", sans-serif;
- margin: 50px;
- }
-
- .demoHeaders {
- margin-top: 2em;
- }
-
- #dialog-link {
- padding: .4em 1em .4em 20px;
- text-decoration: none;
- position: relative;
- }
-
- #dialog-link span.ui-icon {
- margin: 0 5px 0 0;
- position: absolute;
- left: .2em;
- top: 50%;
- margin-top: -8px;
- }
-
- #icons {
- margin: 0;
- padding: 0;
- }
-
- #icons li {
- margin: 2px;
- position: relative;
- padding: 4px 0;
- cursor: pointer;
- float: left;
- list-style: none;
- }
-
- #icons span.ui-icon {
- float: left;
- margin: 0 4px;
- }
-
- .fakewindowcontain .ui-widget-overlay {
- position: absolute;
- }
-
- select {
- width: 200px;
- }
- </style>
-</head>
-<body>
-
-<h1>Welcome to jQuery UI!</h1>
-
-<div class="ui-widget">
- <p>This page demonstrates the widgets and theme you selected in Download Builder. Please make sure you are using
- them with a compatible jQuery version.</p>
-</div>
-
-<h1>YOUR COMPONENTS:</h1>
-
-
-<!-- Accordion -->
-<h2 class="demoHeaders">Accordion</h2>
-
-<div id="accordion">
- <h3>First</h3>
-
- <div>Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.</div>
- <h3>Second</h3>
-
- <div>Phasellus mattis tincidunt nibh.</div>
- <h3>Third</h3>
-
- <div>Nam dui erat, auctor a, dignissim quis.</div>
-</div>
-
-
-<!-- Autocomplete -->
-<h2 class="demoHeaders">Autocomplete</h2>
-
-<div>
- <input id="autocomplete" title="type &quot;a&quot;">
-</div>
-
-
-<!-- Button -->
-<h2 class="demoHeaders">Button</h2>
-<button id="button">A button element</button>
-<form style="margin-top: 1em;">
- <div id="radioset">
- <input type="radio" id="radio1" name="radio"><label for="radio1">Choice 1</label>
- <input type="radio" id="radio2" name="radio" checked="checked"><label for="radio2">Choice 2</label>
- <input type="radio" id="radio3" name="radio"><label for="radio3">Choice 3</label>
- </div>
-</form>
-
-
-<!-- Tabs -->
-<h2 class="demoHeaders">Tabs</h2>
-
-<div id="tabs">
- <ul>
- <li><a href="#tabs-1">First</a></li>
- <li><a href="#tabs-2">Second</a></li>
- <li><a href="#tabs-3">Third</a></li>
- </ul>
- <div id="tabs-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
- labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
- aliquip ex ea commodo consequat.
- </div>
- <div id="tabs-2">Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis.
- Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.
- </div>
- <div id="tabs-3">Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum
- eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.
- </div>
-</div>
-
-
-<!-- Dialog NOTE: Dialog is not generated by UI in this demo so it can be visually styled in themeroller-->
-<h2 class="demoHeaders">Dialog</h2>
-
-<p><a href="#" id="dialog-link" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-newwin"></span>Open
- Dialog</a></p>
-
-<h2 class="demoHeaders">Overlay and Shadow Classes <em>(not currently used in UI widgets)</em></h2>
-
-<div style="position: relative; width: 96%; height: 200px; padding:1% 2%; overflow:hidden;" class="fakewindowcontain">
- <p>Lorem ipsum dolor sit amet, Nulla nec tortor. Donec id elit quis purus consectetur consequat. </p>
-
- <p>Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante.
- Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi
- in orci. </p>
-
- <p>Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. Nullam feugiat
- cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra
- mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. </p>
-
- <p>Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante.
- Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi
- in orci. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. </p>
-
- <p>Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo
- vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. Nam
- congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. </p>
-
- <p>Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi
- in orci. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. Nullam
- feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae,
- pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. Nam congue
- semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. </p>
-
- <!-- ui-dialog -->
- <div class="ui-overlay">
- <div class="ui-widget-overlay"></div>
- <div class="ui-widget-shadow ui-corner-all"
- style="width: 302px; height: 152px; position: absolute; left: 50px; top: 30px;"></div>
- </div>
- <div style="position: absolute; width: 280px; height: 130px;left: 50px; top: 30px; padding: 10px;"
- class="ui-widget ui-widget-content ui-corner-all">
- <div class="ui-dialog-content ui-widget-content" style="background: none; border: 0;">
- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et
- dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
- ex ea commodo consequat.</p>
- </div>
- </div>
-
-</div>
-
-<!-- ui-dialog -->
-<div id="dialog" title="Dialog Title">
- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
- magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
- consequat.</p>
-</div>
-
-
-<h2 class="demoHeaders">Framework Icons (content color preview)</h2>
-<ul id="icons" class="ui-widget ui-helper-clearfix">
- <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-n"><span
- class="ui-icon ui-icon-carat-1-n"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-ne"><span
- class="ui-icon ui-icon-carat-1-ne"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-e"><span
- class="ui-icon ui-icon-carat-1-e"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-se"><span
- class="ui-icon ui-icon-carat-1-se"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-s"><span
- class="ui-icon ui-icon-carat-1-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-sw"><span
- class="ui-icon ui-icon-carat-1-sw"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-w"><span
- class="ui-icon ui-icon-carat-1-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-nw"><span
- class="ui-icon ui-icon-carat-1-nw"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-2-n-s"><span
- class="ui-icon ui-icon-carat-2-n-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-2-e-w"><span
- class="ui-icon ui-icon-carat-2-e-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-n"><span
- class="ui-icon ui-icon-triangle-1-n"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-ne"><span
- class="ui-icon ui-icon-triangle-1-ne"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-e"><span
- class="ui-icon ui-icon-triangle-1-e"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-se"><span
- class="ui-icon ui-icon-triangle-1-se"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-s"><span
- class="ui-icon ui-icon-triangle-1-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-sw"><span
- class="ui-icon ui-icon-triangle-1-sw"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-w"><span
- class="ui-icon ui-icon-triangle-1-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-nw"><span
- class="ui-icon ui-icon-triangle-1-nw"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-2-n-s"><span
- class="ui-icon ui-icon-triangle-2-n-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-2-e-w"><span
- class="ui-icon ui-icon-triangle-2-e-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-n"><span
- class="ui-icon ui-icon-arrow-1-n"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-ne"><span
- class="ui-icon ui-icon-arrow-1-ne"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-e"><span
- class="ui-icon ui-icon-arrow-1-e"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-se"><span
- class="ui-icon ui-icon-arrow-1-se"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-s"><span
- class="ui-icon ui-icon-arrow-1-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-sw"><span
- class="ui-icon ui-icon-arrow-1-sw"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-w"><span
- class="ui-icon ui-icon-arrow-1-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-nw"><span
- class="ui-icon ui-icon-arrow-1-nw"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-n-s"><span
- class="ui-icon ui-icon-arrow-2-n-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-ne-sw"><span
- class="ui-icon ui-icon-arrow-2-ne-sw"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-e-w"><span
- class="ui-icon ui-icon-arrow-2-e-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-se-nw"><span
- class="ui-icon ui-icon-arrow-2-se-nw"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-n"><span
- class="ui-icon ui-icon-arrowstop-1-n"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-e"><span
- class="ui-icon ui-icon-arrowstop-1-e"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-s"><span
- class="ui-icon ui-icon-arrowstop-1-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-w"><span
- class="ui-icon ui-icon-arrowstop-1-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-n"><span
- class="ui-icon ui-icon-arrowthick-1-n"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-ne"><span
- class="ui-icon ui-icon-arrowthick-1-ne"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-e"><span
- class="ui-icon ui-icon-arrowthick-1-e"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-se"><span
- class="ui-icon ui-icon-arrowthick-1-se"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-s"><span
- class="ui-icon ui-icon-arrowthick-1-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-sw"><span
- class="ui-icon ui-icon-arrowthick-1-sw"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-w"><span
- class="ui-icon ui-icon-arrowthick-1-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-nw"><span
- class="ui-icon ui-icon-arrowthick-1-nw"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-n-s"><span
- class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-ne-sw"><span
- class="ui-icon ui-icon-arrowthick-2-ne-sw"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-e-w"><span
- class="ui-icon ui-icon-arrowthick-2-e-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-se-nw"><span
- class="ui-icon ui-icon-arrowthick-2-se-nw"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-n"><span
- class="ui-icon ui-icon-arrowthickstop-1-n"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-e"><span
- class="ui-icon ui-icon-arrowthickstop-1-e"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-s"><span
- class="ui-icon ui-icon-arrowthickstop-1-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-w"><span
- class="ui-icon ui-icon-arrowthickstop-1-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-w"><span
- class="ui-icon ui-icon-arrowreturnthick-1-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-n"><span
- class="ui-icon ui-icon-arrowreturnthick-1-n"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-e"><span
- class="ui-icon ui-icon-arrowreturnthick-1-e"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-s"><span
- class="ui-icon ui-icon-arrowreturnthick-1-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-w"><span
- class="ui-icon ui-icon-arrowreturn-1-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-n"><span
- class="ui-icon ui-icon-arrowreturn-1-n"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-e"><span
- class="ui-icon ui-icon-arrowreturn-1-e"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-s"><span
- class="ui-icon ui-icon-arrowreturn-1-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-w"><span
- class="ui-icon ui-icon-arrowrefresh-1-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-n"><span
- class="ui-icon ui-icon-arrowrefresh-1-n"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-e"><span
- class="ui-icon ui-icon-arrowrefresh-1-e"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-s"><span
- class="ui-icon ui-icon-arrowrefresh-1-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-4"><span class="ui-icon ui-icon-arrow-4"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-4-diag"><span
- class="ui-icon ui-icon-arrow-4-diag"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-extlink"><span class="ui-icon ui-icon-extlink"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-newwin"><span class="ui-icon ui-icon-newwin"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-refresh"><span class="ui-icon ui-icon-refresh"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-shuffle"><span class="ui-icon ui-icon-shuffle"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-transfer-e-w"><span
- class="ui-icon ui-icon-transfer-e-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-transferthick-e-w"><span
- class="ui-icon ui-icon-transferthick-e-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-folder-collapsed"><span
- class="ui-icon ui-icon-folder-collapsed"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-folder-open"><span
- class="ui-icon ui-icon-folder-open"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-document"><span class="ui-icon ui-icon-document"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-document-b"><span
- class="ui-icon ui-icon-document-b"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-note"><span class="ui-icon ui-icon-note"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-mail-closed"><span
- class="ui-icon ui-icon-mail-closed"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-mail-open"><span
- class="ui-icon ui-icon-mail-open"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-suitcase"><span class="ui-icon ui-icon-suitcase"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-comment"><span class="ui-icon ui-icon-comment"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-person"><span class="ui-icon ui-icon-person"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-print"><span class="ui-icon ui-icon-print"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-trash"><span class="ui-icon ui-icon-trash"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-locked"><span class="ui-icon ui-icon-locked"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-unlocked"><span class="ui-icon ui-icon-unlocked"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-bookmark"><span class="ui-icon ui-icon-bookmark"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-tag"><span class="ui-icon ui-icon-tag"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-home"><span class="ui-icon ui-icon-home"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-flag"><span class="ui-icon ui-icon-flag"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-calculator"><span
- class="ui-icon ui-icon-calculator"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-cart"><span class="ui-icon ui-icon-cart"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-pencil"><span class="ui-icon ui-icon-pencil"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-clock"><span class="ui-icon ui-icon-clock"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-disk"><span class="ui-icon ui-icon-disk"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-calendar"><span class="ui-icon ui-icon-calendar"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-zoomin"><span class="ui-icon ui-icon-zoomin"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-zoomout"><span class="ui-icon ui-icon-zoomout"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-search"><span class="ui-icon ui-icon-search"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-wrench"><span class="ui-icon ui-icon-wrench"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-gear"><span class="ui-icon ui-icon-gear"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-heart"><span class="ui-icon ui-icon-heart"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-star"><span class="ui-icon ui-icon-star"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-link"><span class="ui-icon ui-icon-link"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-cancel"><span class="ui-icon ui-icon-cancel"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-plus"><span class="ui-icon ui-icon-plus"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-plusthick"><span
- class="ui-icon ui-icon-plusthick"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-minus"><span class="ui-icon ui-icon-minus"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-minusthick"><span
- class="ui-icon ui-icon-minusthick"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-close"><span class="ui-icon ui-icon-close"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-closethick"><span
- class="ui-icon ui-icon-closethick"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-key"><span class="ui-icon ui-icon-key"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-lightbulb"><span
- class="ui-icon ui-icon-lightbulb"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-scissors"><span class="ui-icon ui-icon-scissors"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-clipboard"><span
- class="ui-icon ui-icon-clipboard"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-copy"><span class="ui-icon ui-icon-copy"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-contact"><span class="ui-icon ui-icon-contact"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-image"><span class="ui-icon ui-icon-image"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-video"><span class="ui-icon ui-icon-video"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-script"><span class="ui-icon ui-icon-script"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-alert"><span class="ui-icon ui-icon-alert"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-info"><span class="ui-icon ui-icon-info"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-notice"><span class="ui-icon ui-icon-notice"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-help"><span class="ui-icon ui-icon-help"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-check"><span class="ui-icon ui-icon-check"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-bullet"><span class="ui-icon ui-icon-bullet"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-radio-off"><span
- class="ui-icon ui-icon-radio-off"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-radio-on"><span class="ui-icon ui-icon-radio-on"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-pin-w"><span class="ui-icon ui-icon-pin-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-pin-s"><span class="ui-icon ui-icon-pin-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-play"><span class="ui-icon ui-icon-play"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-pause"><span class="ui-icon ui-icon-pause"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-seek-next"><span
- class="ui-icon ui-icon-seek-next"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-seek-prev"><span
- class="ui-icon ui-icon-seek-prev"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-seek-end"><span class="ui-icon ui-icon-seek-end"></span>
- </li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-seek-first"><span
- class="ui-icon ui-icon-seek-first"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-stop"><span class="ui-icon ui-icon-stop"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-eject"><span class="ui-icon ui-icon-eject"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-volume-off"><span
- class="ui-icon ui-icon-volume-off"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-volume-on"><span
- class="ui-icon ui-icon-volume-on"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-power"><span class="ui-icon ui-icon-power"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-signal-diag"><span
- class="ui-icon ui-icon-signal-diag"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-signal"><span class="ui-icon ui-icon-signal"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-battery-0"><span
- class="ui-icon ui-icon-battery-0"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-battery-1"><span
- class="ui-icon ui-icon-battery-1"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-battery-2"><span
- class="ui-icon ui-icon-battery-2"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-battery-3"><span
- class="ui-icon ui-icon-battery-3"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-plus"><span
- class="ui-icon ui-icon-circle-plus"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-minus"><span
- class="ui-icon ui-icon-circle-minus"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-close"><span
- class="ui-icon ui-icon-circle-close"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-e"><span
- class="ui-icon ui-icon-circle-triangle-e"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-s"><span
- class="ui-icon ui-icon-circle-triangle-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-w"><span
- class="ui-icon ui-icon-circle-triangle-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-n"><span
- class="ui-icon ui-icon-circle-triangle-n"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-e"><span
- class="ui-icon ui-icon-circle-arrow-e"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-s"><span
- class="ui-icon ui-icon-circle-arrow-s"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-w"><span
- class="ui-icon ui-icon-circle-arrow-w"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-n"><span
- class="ui-icon ui-icon-circle-arrow-n"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-zoomin"><span
- class="ui-icon ui-icon-circle-zoomin"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-zoomout"><span
- class="ui-icon ui-icon-circle-zoomout"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-check"><span
- class="ui-icon ui-icon-circle-check"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-plus"><span
- class="ui-icon ui-icon-circlesmall-plus"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-minus"><span
- class="ui-icon ui-icon-circlesmall-minus"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-close"><span
- class="ui-icon ui-icon-circlesmall-close"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-plus"><span
- class="ui-icon ui-icon-squaresmall-plus"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-minus"><span
- class="ui-icon ui-icon-squaresmall-minus"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-close"><span
- class="ui-icon ui-icon-squaresmall-close"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-grip-dotted-vertical"><span
- class="ui-icon ui-icon-grip-dotted-vertical"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-grip-dotted-horizontal"><span
- class="ui-icon ui-icon-grip-dotted-horizontal"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-grip-solid-vertical"><span
- class="ui-icon ui-icon-grip-solid-vertical"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-grip-solid-horizontal"><span
- class="ui-icon ui-icon-grip-solid-horizontal"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-gripsmall-diagonal-se"><span
- class="ui-icon ui-icon-gripsmall-diagonal-se"></span></li>
- <li class="ui-state-default ui-corner-all" title=".ui-icon-grip-diagonal-se"><span
- class="ui-icon ui-icon-grip-diagonal-se"></span></li>
-</ul>
-
-
-<!-- Slider -->
-<h2 class="demoHeaders">Slider</h2>
-
-<div id="slider"></div>
-
-
-<!-- Datepicker -->
-<h2 class="demoHeaders">Datepicker</h2>
-
-<div id="datepicker"></div>
-
-
-<!-- Progressbar -->
-<h2 class="demoHeaders">Progressbar</h2>
-
-<div id="progressbar"></div>
-
-
-<!-- Progressbar -->
-<h2 class="demoHeaders">Selectmenu</h2>
-<select id="selectmenu">
- <option>Slower</option>
- <option>Slow</option>
- <option selected="selected">Medium</option>
- <option>Fast</option>
- <option>Faster</option>
-</select>
-
-
-<!-- Spinner -->
-<h2 class="demoHeaders">Spinner</h2>
-<input id="spinner">
-
-
-<!-- Menu -->
-<h2 class="demoHeaders">Menu</h2>
-<ul style="width:100px;" id="menu">
- <li>Item 1</li>
- <li>Item 2</li>
- <li>Item 3
- <ul>
- <li>Item 3-1</li>
- <li>Item 3-2</li>
- <li>Item 3-3</li>
- <li>Item 3-4</li>
- <li>Item 3-5</li>
- </ul>
- </li>
- <li>Item 4</li>
- <li>Item 5</li>
-</ul>
-
-
-<!-- Tooltip -->
-<h2 class="demoHeaders">Tooltip</h2>
-
-<p id="tooltip">
- <a href="#" title="That&apos;s what this widget is">Tooltips</a> can be attached to any element. When you hover
- the element with your mouse, the title attribute is displayed in a little box next to the element, just like a
- native tooltip.
-</p>
-
-
-<!-- Highlight / Error -->
-<h2 class="demoHeaders">Highlight / Error</h2>
-
-<div class="ui-widget">
- <div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
- <p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
- <strong>Hey!</strong> Sample ui-state-highlight style.</p>
- </div>
-</div>
-<br>
-
-<div class="ui-widget">
- <div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
- <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
- <strong>Alert:</strong> Sample ui-state-error style.</p>
- </div>
-</div>
-
-<script src="external/jquery/jquery.js"></script>
-<script src="jquery-ui.js"></script>
-<script>
-
- $("#accordion").accordion();
-
-
- var availableTags = [
- "ActionScript",
- "AppleScript",
- "Asp",
- "BASIC",
- "C",
- "C++",
- "Clojure",
- "COBOL",
- "ColdFusion",
- "Erlang",
- "Fortran",
- "Groovy",
- "Haskell",
- "Java",
- "JavaScript",
- "Lisp",
- "Perl",
- "PHP",
- "Python",
- "Ruby",
- "Scala",
- "Scheme"
- ];
- $("#autocomplete").autocomplete({
- source: availableTags
- });
-
-
- $("#button").button();
- $("#radioset").buttonset();
-
-
- $("#tabs").tabs();
-
-
- $("#dialog").dialog({
- autoOpen: false,
- width: 400,
- buttons: [
- {
- text: "Ok",
- click: function () {
- $(this).dialog("close");
- }
- },
- {
- text: "Cancel",
- click: function () {
- $(this).dialog("close");
- }
- }
- ]
- });
-
- // Link to open the dialog
- $("#dialog-link").click(function (event) {
- $("#dialog").dialog("open");
- event.preventDefault();
- });
-
-
- $("#datepicker").datepicker({
- inline: true
- });
-
-
- $("#slider").slider({
- range: true,
- values: [17, 67]
- });
-
-
- $("#progressbar").progressbar({
- value: 20
- });
-
-
- $("#spinner").spinner();
-
-
- $("#menu").menu();
-
-
- $("#tooltip").tooltip();
-
-
- $("#selectmenu").selectmenu();
-
-
- // Hover states on the static widgets
- $("#dialog-link, #icons li").hover(
- function () {
- $(this).addClass("ui-state-hover");
- },
- function () {
- $(this).removeClass("ui-state-hover");
- }
- );
-</script>
-</body>
-</html>
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.css
deleted file mode 100644
index c7ec789e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.css
+++ /dev/null
@@ -1,1908 +0,0 @@
-/*! jQuery UI - v1.11.4 - 2015-04-16
-* http://jqueryui.com
-* Includes: core.css, draggable.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, menu.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css
-* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
-* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
-
-/* Layout helpers
-----------------------------------*/
-.ui-helper-hidden {
- display: none;
-}
-
-.ui-helper-hidden-accessible {
- border: 0;
- clip: rect(0 0 0 0);
- height: 1px;
- margin: -1px;
- overflow: hidden;
- padding: 0;
- position: absolute;
- width: 1px;
-}
-
-.ui-helper-reset {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0;
- line-height: 1.3;
- text-decoration: none;
- font-size: 100%;
- list-style: none;
-}
-
-.ui-helper-clearfix:before,
-.ui-helper-clearfix:after {
- content: "";
- display: table;
- border-collapse: collapse;
-}
-
-.ui-helper-clearfix:after {
- clear: both;
-}
-
-.ui-helper-clearfix {
- min-height: 0; /* support: IE7 */
-}
-
-.ui-helper-zfix {
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- position: absolute;
- opacity: 0;
- filter: Alpha(Opacity=0); /* support: IE8 */
-}
-
-.ui-front {
- z-index: 100;
-}
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-disabled {
- cursor: default !important;
-}
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon {
- display: block;
- text-indent: -99999px;
- overflow: hidden;
- background-repeat: no-repeat;
-}
-
-/* Misc visuals
-----------------------------------*/
-
-/* Overlays */
-.ui-widget-overlay {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
-}
-
-.ui-draggable-handle {
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-resizable {
- position: relative;
-}
-
-.ui-resizable-handle {
- position: absolute;
- font-size: 0.1px;
- display: block;
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-resizable-disabled .ui-resizable-handle,
-.ui-resizable-autohide .ui-resizable-handle {
- display: none;
-}
-
-.ui-resizable-n {
- cursor: n-resize;
- height: 7px;
- width: 100%;
- top: -5px;
- left: 0;
-}
-
-.ui-resizable-s {
- cursor: s-resize;
- height: 7px;
- width: 100%;
- bottom: -5px;
- left: 0;
-}
-
-.ui-resizable-e {
- cursor: e-resize;
- width: 7px;
- right: -5px;
- top: 0;
- height: 100%;
-}
-
-.ui-resizable-w {
- cursor: w-resize;
- width: 7px;
- left: -5px;
- top: 0;
- height: 100%;
-}
-
-.ui-resizable-se {
- cursor: se-resize;
- width: 12px;
- height: 12px;
- right: 1px;
- bottom: 1px;
-}
-
-.ui-resizable-sw {
- cursor: sw-resize;
- width: 9px;
- height: 9px;
- left: -5px;
- bottom: -5px;
-}
-
-.ui-resizable-nw {
- cursor: nw-resize;
- width: 9px;
- height: 9px;
- left: -5px;
- top: -5px;
-}
-
-.ui-resizable-ne {
- cursor: ne-resize;
- width: 9px;
- height: 9px;
- right: -5px;
- top: -5px;
-}
-
-.ui-selectable {
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-selectable-helper {
- position: absolute;
- z-index: 100;
- border: 1px dotted black;
-}
-
-.ui-sortable-handle {
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-accordion .ui-accordion-header {
- display: block;
- cursor: pointer;
- position: relative;
- margin: 2px 0 0 0;
- padding: .5em .5em .5em .7em;
- min-height: 0; /* support: IE7 */
- font-size: 100%;
-}
-
-.ui-accordion .ui-accordion-icons {
- padding-left: 2.2em;
-}
-
-.ui-accordion .ui-accordion-icons .ui-accordion-icons {
- padding-left: 2.2em;
-}
-
-.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
- position: absolute;
- left: .5em;
- top: 50%;
- margin-top: -8px;
-}
-
-.ui-accordion .ui-accordion-content {
- padding: 1em 2.2em;
- border-top: 0;
- overflow: auto;
-}
-
-.ui-autocomplete {
- position: absolute;
- top: 0;
- left: 0;
- cursor: default;
-}
-
-.ui-button {
- display: inline-block;
- position: relative;
- padding: 0;
- line-height: normal;
- margin-right: .1em;
- cursor: pointer;
- vertical-align: middle;
- text-align: center;
- overflow: visible; /* removes extra width in IE */
-}
-
-.ui-button,
-.ui-button:link,
-.ui-button:visited,
-.ui-button:hover,
-.ui-button:active {
- text-decoration: none;
-}
-
-/* to make room for the icon, a width needs to be set here */
-.ui-button-icon-only {
- width: 2.2em;
-}
-
-/* button elements seem to need a little more width */
-button.ui-button-icon-only {
- width: 2.4em;
-}
-
-.ui-button-icons-only {
- width: 3.4em;
-}
-
-button.ui-button-icons-only {
- width: 3.7em;
-}
-
-/* button text element */
-.ui-button .ui-button-text {
- display: block;
- line-height: normal;
-}
-
-.ui-button-text-only .ui-button-text {
- padding: .4em 1em;
-}
-
-.ui-button-icon-only .ui-button-text,
-.ui-button-icons-only .ui-button-text {
- padding: .4em;
- text-indent: -9999999px;
-}
-
-.ui-button-text-icon-primary .ui-button-text,
-.ui-button-text-icons .ui-button-text {
- padding: .4em 1em .4em 2.1em;
-}
-
-.ui-button-text-icon-secondary .ui-button-text,
-.ui-button-text-icons .ui-button-text {
- padding: .4em 2.1em .4em 1em;
-}
-
-.ui-button-text-icons .ui-button-text {
- padding-left: 2.1em;
- padding-right: 2.1em;
-}
-
-/* no icon support for input elements, provide padding by default */
-input.ui-button {
- padding: .4em 1em;
-}
-
-/* button icon element(s) */
-.ui-button-icon-only .ui-icon,
-.ui-button-text-icon-primary .ui-icon,
-.ui-button-text-icon-secondary .ui-icon,
-.ui-button-text-icons .ui-icon,
-.ui-button-icons-only .ui-icon {
- position: absolute;
- top: 50%;
- margin-top: -8px;
-}
-
-.ui-button-icon-only .ui-icon {
- left: 50%;
- margin-left: -8px;
-}
-
-.ui-button-text-icon-primary .ui-button-icon-primary,
-.ui-button-text-icons .ui-button-icon-primary,
-.ui-button-icons-only .ui-button-icon-primary {
- left: .5em;
-}
-
-.ui-button-text-icon-secondary .ui-button-icon-secondary,
-.ui-button-text-icons .ui-button-icon-secondary,
-.ui-button-icons-only .ui-button-icon-secondary {
- right: .5em;
-}
-
-/* button sets */
-.ui-buttonset {
- margin-right: 7px;
-}
-
-.ui-buttonset .ui-button {
- margin-left: 0;
- margin-right: -.3em;
-}
-
-/* workarounds */
-/* reset extra padding in Firefox, see h5bp.com/l */
-input.ui-button::-moz-focus-inner,
-button.ui-button::-moz-focus-inner {
- border: 0;
- padding: 0;
-}
-
-.ui-datepicker {
- width: 17em;
- padding: .2em .2em 0;
- display: none;
-}
-
-.ui-datepicker .ui-datepicker-header {
- position: relative;
- padding: .2em 0;
-}
-
-.ui-datepicker .ui-datepicker-prev,
-.ui-datepicker .ui-datepicker-next {
- position: absolute;
- top: 2px;
- width: 1.8em;
- height: 1.8em;
-}
-
-.ui-datepicker .ui-datepicker-prev-hover,
-.ui-datepicker .ui-datepicker-next-hover {
- top: 1px;
-}
-
-.ui-datepicker .ui-datepicker-prev {
- left: 2px;
-}
-
-.ui-datepicker .ui-datepicker-next {
- right: 2px;
-}
-
-.ui-datepicker .ui-datepicker-prev-hover {
- left: 1px;
-}
-
-.ui-datepicker .ui-datepicker-next-hover {
- right: 1px;
-}
-
-.ui-datepicker .ui-datepicker-prev span,
-.ui-datepicker .ui-datepicker-next span {
- display: block;
- position: absolute;
- left: 50%;
- margin-left: -8px;
- top: 50%;
- margin-top: -8px;
-}
-
-.ui-datepicker .ui-datepicker-title {
- margin: 0 2.3em;
- line-height: 1.8em;
- text-align: center;
-}
-
-.ui-datepicker .ui-datepicker-title select {
- font-size: 1em;
- margin: 1px 0;
-}
-
-.ui-datepicker select.ui-datepicker-month,
-.ui-datepicker select.ui-datepicker-year {
- width: 45%;
-}
-
-.ui-datepicker table {
- width: 100%;
- font-size: .9em;
- border-collapse: collapse;
- margin: 0 0 .4em;
-}
-
-.ui-datepicker th {
- padding: .7em .3em;
- text-align: center;
- font-weight: bold;
- border: 0;
-}
-
-.ui-datepicker td {
- border: 0;
- padding: 1px;
-}
-
-.ui-datepicker td span,
-.ui-datepicker td a {
- display: block;
- padding: .2em;
- text-align: right;
- text-decoration: none;
-}
-
-.ui-datepicker .ui-datepicker-buttonpane {
- background-image: none;
- margin: .7em 0 0 0;
- padding: 0 .2em;
- border-left: 0;
- border-right: 0;
- border-bottom: 0;
-}
-
-.ui-datepicker .ui-datepicker-buttonpane button {
- float: right;
- margin: .5em .2em .4em;
- cursor: pointer;
- padding: .2em .6em .3em .6em;
- width: auto;
- overflow: visible;
-}
-
-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
- float: left;
-}
-
-/* with multiple calendars */
-.ui-datepicker.ui-datepicker-multi {
- width: auto;
-}
-
-.ui-datepicker-multi .ui-datepicker-group {
- float: left;
-}
-
-.ui-datepicker-multi .ui-datepicker-group table {
- width: 95%;
- margin: 0 auto .4em;
-}
-
-.ui-datepicker-multi-2 .ui-datepicker-group {
- width: 50%;
-}
-
-.ui-datepicker-multi-3 .ui-datepicker-group {
- width: 33.3%;
-}
-
-.ui-datepicker-multi-4 .ui-datepicker-group {
- width: 25%;
-}
-
-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
-.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
- border-left-width: 0;
-}
-
-.ui-datepicker-multi .ui-datepicker-buttonpane {
- clear: left;
-}
-
-.ui-datepicker-row-break {
- clear: both;
- width: 100%;
- font-size: 0;
-}
-
-/* RTL support */
-.ui-datepicker-rtl {
- direction: rtl;
-}
-
-.ui-datepicker-rtl .ui-datepicker-prev {
- right: 2px;
- left: auto;
-}
-
-.ui-datepicker-rtl .ui-datepicker-next {
- left: 2px;
- right: auto;
-}
-
-.ui-datepicker-rtl .ui-datepicker-prev:hover {
- right: 1px;
- left: auto;
-}
-
-.ui-datepicker-rtl .ui-datepicker-next:hover {
- left: 1px;
- right: auto;
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane {
- clear: right;
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane button {
- float: left;
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
-.ui-datepicker-rtl .ui-datepicker-group {
- float: right;
-}
-
-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
-.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
- border-right-width: 0;
- border-left-width: 1px;
-}
-
-.ui-dialog {
- overflow: hidden;
- position: absolute;
- top: 0;
- left: 0;
- padding: .2em;
- outline: 0;
-}
-
-.ui-dialog .ui-dialog-titlebar {
- padding: .4em 1em;
- position: relative;
-}
-
-.ui-dialog .ui-dialog-title {
- float: left;
- margin: .1em 0;
- white-space: nowrap;
- width: 90%;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-.ui-dialog .ui-dialog-titlebar-close {
- position: absolute;
- right: .3em;
- top: 50%;
- width: 20px;
- margin: -10px 0 0 0;
- padding: 1px;
- height: 20px;
-}
-
-.ui-dialog .ui-dialog-content {
- position: relative;
- border: 0;
- padding: .5em 1em;
- background: none;
- overflow: auto;
-}
-
-.ui-dialog .ui-dialog-buttonpane {
- text-align: left;
- border-width: 1px 0 0 0;
- background-image: none;
- margin-top: .5em;
- padding: .3em 1em .5em .4em;
-}
-
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
- float: right;
-}
-
-.ui-dialog .ui-dialog-buttonpane button {
- margin: .5em .4em .5em 0;
- cursor: pointer;
-}
-
-.ui-dialog .ui-resizable-se {
- width: 12px;
- height: 12px;
- right: -5px;
- bottom: -5px;
- background-position: 16px 16px;
-}
-
-.ui-draggable .ui-dialog-titlebar {
- cursor: move;
-}
-
-.ui-menu {
- list-style: none;
- padding: 0;
- margin: 0;
- display: block;
- outline: none;
-}
-
-.ui-menu .ui-menu {
- position: absolute;
-}
-
-.ui-menu .ui-menu-item {
- position: relative;
- margin: 0;
- padding: 3px 1em 3px .4em;
- cursor: pointer;
- min-height: 0; /* support: IE7 */
- /* support: IE10, see #8844 */
- list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
-}
-
-.ui-menu .ui-menu-divider {
- margin: 5px 0;
- height: 0;
- font-size: 0;
- line-height: 0;
- border-width: 1px 0 0 0;
-}
-
-.ui-menu .ui-state-focus,
-.ui-menu .ui-state-active {
- margin: -1px;
-}
-
-/* icon support */
-.ui-menu-icons {
- position: relative;
-}
-
-.ui-menu-icons .ui-menu-item {
- padding-left: 2em;
-}
-
-/* left-aligned */
-.ui-menu .ui-icon {
- position: absolute;
- top: 0;
- bottom: 0;
- left: .2em;
- margin: auto 0;
-}
-
-/* right-aligned */
-.ui-menu .ui-menu-icon {
- left: auto;
- right: 0;
-}
-
-.ui-progressbar {
- height: 2em;
- text-align: left;
- overflow: hidden;
-}
-
-.ui-progressbar .ui-progressbar-value {
- margin: -1px;
- height: 100%;
-}
-
-.ui-progressbar .ui-progressbar-overlay {
- background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");
- height: 100%;
- filter: alpha(opacity=25); /* support: IE8 */
- opacity: 0.25;
-}
-
-.ui-progressbar-indeterminate .ui-progressbar-value {
- background-image: none;
-}
-
-.ui-selectmenu-menu {
- padding: 0;
- margin: 0;
- position: absolute;
- top: 0;
- left: 0;
- display: none;
-}
-
-.ui-selectmenu-menu .ui-menu {
- overflow: auto;
- /* Support: IE7 */
- overflow-x: hidden;
- padding-bottom: 1px;
-}
-
-.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
- font-size: 1em;
- font-weight: bold;
- line-height: 1.5;
- padding: 2px 0.4em;
- margin: 0.5em 0 0 0;
- height: auto;
- border: 0;
-}
-
-.ui-selectmenu-open {
- display: block;
-}
-
-.ui-selectmenu-button {
- display: inline-block;
- overflow: hidden;
- position: relative;
- text-decoration: none;
- cursor: pointer;
-}
-
-.ui-selectmenu-button span.ui-icon {
- right: 0.5em;
- left: auto;
- margin-top: -8px;
- position: absolute;
- top: 50%;
-}
-
-.ui-selectmenu-button span.ui-selectmenu-text {
- text-align: left;
- padding: 0.4em 2.1em 0.4em 1em;
- display: block;
- line-height: 1.4;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.ui-slider {
- position: relative;
- text-align: left;
-}
-
-.ui-slider .ui-slider-handle {
- position: absolute;
- z-index: 2;
- width: 1.2em;
- height: 1.2em;
- cursor: default;
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-slider .ui-slider-range {
- position: absolute;
- z-index: 1;
- font-size: .7em;
- display: block;
- border: 0;
- background-position: 0 0;
-}
-
-/* support: IE8 - See #6727 */
-.ui-slider.ui-state-disabled .ui-slider-handle,
-.ui-slider.ui-state-disabled .ui-slider-range {
- filter: inherit;
-}
-
-.ui-slider-horizontal {
- height: .8em;
-}
-
-.ui-slider-horizontal .ui-slider-handle {
- top: -.3em;
- margin-left: -.6em;
-}
-
-.ui-slider-horizontal .ui-slider-range {
- top: 0;
- height: 100%;
-}
-
-.ui-slider-horizontal .ui-slider-range-min {
- left: 0;
-}
-
-.ui-slider-horizontal .ui-slider-range-max {
- right: 0;
-}
-
-.ui-slider-vertical {
- width: .8em;
- height: 100px;
-}
-
-.ui-slider-vertical .ui-slider-handle {
- left: -.3em;
- margin-left: 0;
- margin-bottom: -.6em;
-}
-
-.ui-slider-vertical .ui-slider-range {
- left: 0;
- width: 100%;
-}
-
-.ui-slider-vertical .ui-slider-range-min {
- bottom: 0;
-}
-
-.ui-slider-vertical .ui-slider-range-max {
- top: 0;
-}
-
-.ui-spinner {
- position: relative;
- display: inline-block;
- overflow: hidden;
- padding: 0;
- vertical-align: middle;
-}
-
-.ui-spinner-input {
- border: none;
- background: none;
- color: inherit;
- padding: 0;
- margin: .2em 0;
- vertical-align: middle;
- margin-left: .4em;
- margin-right: 22px;
-}
-
-.ui-spinner-button {
- width: 16px;
- height: 50%;
- font-size: .5em;
- padding: 0;
- margin: 0;
- text-align: center;
- position: absolute;
- cursor: default;
- display: block;
- overflow: hidden;
- right: 0;
-}
-
-/* more specificity required here to override default borders */
-.ui-spinner a.ui-spinner-button {
- border-top: none;
- border-bottom: none;
- border-right: none;
-}
-
-/* vertically center icon */
-.ui-spinner .ui-icon {
- position: absolute;
- margin-top: -8px;
- top: 50%;
- left: 0;
-}
-
-.ui-spinner-up {
- top: 0;
-}
-
-.ui-spinner-down {
- bottom: 0;
-}
-
-/* TR overrides */
-.ui-spinner .ui-icon-triangle-1-s {
- /* need to fix icons sprite */
- background-position: -65px -16px;
-}
-
-.ui-tabs {
- position: relative; /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
- padding: .2em;
-}
-
-.ui-tabs .ui-tabs-nav {
- margin: 0;
- padding: .2em .2em 0;
-}
-
-.ui-tabs .ui-tabs-nav li {
- list-style: none;
- float: left;
- position: relative;
- top: 0;
- margin: 1px .2em 0 0;
- border-bottom-width: 0;
- padding: 0;
- white-space: nowrap;
-}
-
-.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
- float: left;
- padding: .5em 1em;
- text-decoration: none;
-}
-
-.ui-tabs .ui-tabs-nav li.ui-tabs-active {
- margin-bottom: -1px;
- padding-bottom: 1px;
-}
-
-.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
-.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
-.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
- cursor: text;
-}
-
-.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
- cursor: pointer;
-}
-
-.ui-tabs .ui-tabs-panel {
- display: block;
- border-width: 0;
- padding: 1em 1.4em;
- background: none;
-}
-
-.ui-tooltip {
- padding: 8px;
- position: absolute;
- z-index: 9999;
- max-width: 300px;
- -webkit-box-shadow: 0 0 5px #aaa;
- box-shadow: 0 0 5px #aaa;
-}
-
-body .ui-tooltip {
- border-width: 2px;
-}
-
-/* Component containers
-----------------------------------*/
-.ui-widget {
- font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
- font-size: 1.1em;
-}
-
-.ui-widget .ui-widget {
- font-size: 1em;
-}
-
-.ui-widget input,
-.ui-widget select,
-.ui-widget textarea,
-.ui-widget button {
- font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
- font-size: 1em;
-}
-
-.ui-widget-content {
- border: 1px solid #dddddd;
- background: #eeeeee url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x;
- color: #333333;
-}
-
-.ui-widget-content a {
- color: #333333;
-}
-
-.ui-widget-header {
- border: 1px solid #e78f08;
- background: #f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x;
- color: #ffffff;
- font-weight: bold;
-}
-
-.ui-widget-header a {
- color: #ffffff;
-}
-
-/* Interaction states
-----------------------------------*/
-.ui-state-default,
-.ui-widget-content .ui-state-default,
-.ui-widget-header .ui-state-default {
- border: 1px solid #cccccc;
- background: #f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;
- font-weight: bold;
- color: #1c94c4;
-}
-
-.ui-state-default a,
-.ui-state-default a:link,
-.ui-state-default a:visited {
- color: #1c94c4;
- text-decoration: none;
-}
-
-.ui-state-hover,
-.ui-widget-content .ui-state-hover,
-.ui-widget-header .ui-state-hover,
-.ui-state-focus,
-.ui-widget-content .ui-state-focus,
-.ui-widget-header .ui-state-focus {
- border: 1px solid #fbcb09;
- background: #fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x;
- font-weight: bold;
- color: #c77405;
-}
-
-.ui-state-hover a,
-.ui-state-hover a:hover,
-.ui-state-hover a:link,
-.ui-state-hover a:visited,
-.ui-state-focus a,
-.ui-state-focus a:hover,
-.ui-state-focus a:link,
-.ui-state-focus a:visited {
- color: #c77405;
- text-decoration: none;
-}
-
-.ui-state-active,
-.ui-widget-content .ui-state-active,
-.ui-widget-header .ui-state-active {
- border: 1px solid #fbd850;
- background: #ffffff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;
- font-weight: bold;
- color: #eb8f00;
-}
-
-.ui-state-active a,
-.ui-state-active a:link,
-.ui-state-active a:visited {
- color: #eb8f00;
- text-decoration: none;
-}
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-highlight,
-.ui-widget-content .ui-state-highlight,
-.ui-widget-header .ui-state-highlight {
- border: 1px solid #fed22f;
- background: #ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x;
- color: #363636;
-}
-
-.ui-state-highlight a,
-.ui-widget-content .ui-state-highlight a,
-.ui-widget-header .ui-state-highlight a {
- color: #363636;
-}
-
-.ui-state-error,
-.ui-widget-content .ui-state-error,
-.ui-widget-header .ui-state-error {
- border: 1px solid #cd0a0a;
- background: #b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat;
- color: #ffffff;
-}
-
-.ui-state-error a,
-.ui-widget-content .ui-state-error a,
-.ui-widget-header .ui-state-error a {
- color: #ffffff;
-}
-
-.ui-state-error-text,
-.ui-widget-content .ui-state-error-text,
-.ui-widget-header .ui-state-error-text {
- color: #ffffff;
-}
-
-.ui-priority-primary,
-.ui-widget-content .ui-priority-primary,
-.ui-widget-header .ui-priority-primary {
- font-weight: bold;
-}
-
-.ui-priority-secondary,
-.ui-widget-content .ui-priority-secondary,
-.ui-widget-header .ui-priority-secondary {
- opacity: .7;
- filter: Alpha(Opacity=70); /* support: IE8 */
- font-weight: normal;
-}
-
-.ui-state-disabled,
-.ui-widget-content .ui-state-disabled,
-.ui-widget-header .ui-state-disabled {
- opacity: .35;
- filter: Alpha(Opacity=35); /* support: IE8 */
- background-image: none;
-}
-
-.ui-state-disabled .ui-icon {
- filter: Alpha(Opacity=35); /* support: IE8 - See #6059 */
-}
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon {
- width: 16px;
- height: 16px;
-}
-
-.ui-icon,
-.ui-widget-content .ui-icon {
- background-image: url("images/ui-icons_222222_256x240.png");
-}
-
-.ui-widget-header .ui-icon {
- background-image: url("images/ui-icons_ffffff_256x240.png");
-}
-
-.ui-state-default .ui-icon {
- background-image: url("images/ui-icons_ef8c08_256x240.png");
-}
-
-.ui-state-hover .ui-icon,
-.ui-state-focus .ui-icon {
- background-image: url("images/ui-icons_ef8c08_256x240.png");
-}
-
-.ui-state-active .ui-icon {
- background-image: url("images/ui-icons_ef8c08_256x240.png");
-}
-
-.ui-state-highlight .ui-icon {
- background-image: url("images/ui-icons_228ef1_256x240.png");
-}
-
-.ui-state-error .ui-icon,
-.ui-state-error-text .ui-icon {
- background-image: url("images/ui-icons_ffd27a_256x240.png");
-}
-
-/* positioning */
-.ui-icon-blank {
- background-position: 16px 16px;
-}
-
-.ui-icon-carat-1-n {
- background-position: 0 0;
-}
-
-.ui-icon-carat-1-ne {
- background-position: -16px 0;
-}
-
-.ui-icon-carat-1-e {
- background-position: -32px 0;
-}
-
-.ui-icon-carat-1-se {
- background-position: -48px 0;
-}
-
-.ui-icon-carat-1-s {
- background-position: -64px 0;
-}
-
-.ui-icon-carat-1-sw {
- background-position: -80px 0;
-}
-
-.ui-icon-carat-1-w {
- background-position: -96px 0;
-}
-
-.ui-icon-carat-1-nw {
- background-position: -112px 0;
-}
-
-.ui-icon-carat-2-n-s {
- background-position: -128px 0;
-}
-
-.ui-icon-carat-2-e-w {
- background-position: -144px 0;
-}
-
-.ui-icon-triangle-1-n {
- background-position: 0 -16px;
-}
-
-.ui-icon-triangle-1-ne {
- background-position: -16px -16px;
-}
-
-.ui-icon-triangle-1-e {
- background-position: -32px -16px;
-}
-
-.ui-icon-triangle-1-se {
- background-position: -48px -16px;
-}
-
-.ui-icon-triangle-1-s {
- background-position: -64px -16px;
-}
-
-.ui-icon-triangle-1-sw {
- background-position: -80px -16px;
-}
-
-.ui-icon-triangle-1-w {
- background-position: -96px -16px;
-}
-
-.ui-icon-triangle-1-nw {
- background-position: -112px -16px;
-}
-
-.ui-icon-triangle-2-n-s {
- background-position: -128px -16px;
-}
-
-.ui-icon-triangle-2-e-w {
- background-position: -144px -16px;
-}
-
-.ui-icon-arrow-1-n {
- background-position: 0 -32px;
-}
-
-.ui-icon-arrow-1-ne {
- background-position: -16px -32px;
-}
-
-.ui-icon-arrow-1-e {
- background-position: -32px -32px;
-}
-
-.ui-icon-arrow-1-se {
- background-position: -48px -32px;
-}
-
-.ui-icon-arrow-1-s {
- background-position: -64px -32px;
-}
-
-.ui-icon-arrow-1-sw {
- background-position: -80px -32px;
-}
-
-.ui-icon-arrow-1-w {
- background-position: -96px -32px;
-}
-
-.ui-icon-arrow-1-nw {
- background-position: -112px -32px;
-}
-
-.ui-icon-arrow-2-n-s {
- background-position: -128px -32px;
-}
-
-.ui-icon-arrow-2-ne-sw {
- background-position: -144px -32px;
-}
-
-.ui-icon-arrow-2-e-w {
- background-position: -160px -32px;
-}
-
-.ui-icon-arrow-2-se-nw {
- background-position: -176px -32px;
-}
-
-.ui-icon-arrowstop-1-n {
- background-position: -192px -32px;
-}
-
-.ui-icon-arrowstop-1-e {
- background-position: -208px -32px;
-}
-
-.ui-icon-arrowstop-1-s {
- background-position: -224px -32px;
-}
-
-.ui-icon-arrowstop-1-w {
- background-position: -240px -32px;
-}
-
-.ui-icon-arrowthick-1-n {
- background-position: 0 -48px;
-}
-
-.ui-icon-arrowthick-1-ne {
- background-position: -16px -48px;
-}
-
-.ui-icon-arrowthick-1-e {
- background-position: -32px -48px;
-}
-
-.ui-icon-arrowthick-1-se {
- background-position: -48px -48px;
-}
-
-.ui-icon-arrowthick-1-s {
- background-position: -64px -48px;
-}
-
-.ui-icon-arrowthick-1-sw {
- background-position: -80px -48px;
-}
-
-.ui-icon-arrowthick-1-w {
- background-position: -96px -48px;
-}
-
-.ui-icon-arrowthick-1-nw {
- background-position: -112px -48px;
-}
-
-.ui-icon-arrowthick-2-n-s {
- background-position: -128px -48px;
-}
-
-.ui-icon-arrowthick-2-ne-sw {
- background-position: -144px -48px;
-}
-
-.ui-icon-arrowthick-2-e-w {
- background-position: -160px -48px;
-}
-
-.ui-icon-arrowthick-2-se-nw {
- background-position: -176px -48px;
-}
-
-.ui-icon-arrowthickstop-1-n {
- background-position: -192px -48px;
-}
-
-.ui-icon-arrowthickstop-1-e {
- background-position: -208px -48px;
-}
-
-.ui-icon-arrowthickstop-1-s {
- background-position: -224px -48px;
-}
-
-.ui-icon-arrowthickstop-1-w {
- background-position: -240px -48px;
-}
-
-.ui-icon-arrowreturnthick-1-w {
- background-position: 0 -64px;
-}
-
-.ui-icon-arrowreturnthick-1-n {
- background-position: -16px -64px;
-}
-
-.ui-icon-arrowreturnthick-1-e {
- background-position: -32px -64px;
-}
-
-.ui-icon-arrowreturnthick-1-s {
- background-position: -48px -64px;
-}
-
-.ui-icon-arrowreturn-1-w {
- background-position: -64px -64px;
-}
-
-.ui-icon-arrowreturn-1-n {
- background-position: -80px -64px;
-}
-
-.ui-icon-arrowreturn-1-e {
- background-position: -96px -64px;
-}
-
-.ui-icon-arrowreturn-1-s {
- background-position: -112px -64px;
-}
-
-.ui-icon-arrowrefresh-1-w {
- background-position: -128px -64px;
-}
-
-.ui-icon-arrowrefresh-1-n {
- background-position: -144px -64px;
-}
-
-.ui-icon-arrowrefresh-1-e {
- background-position: -160px -64px;
-}
-
-.ui-icon-arrowrefresh-1-s {
- background-position: -176px -64px;
-}
-
-.ui-icon-arrow-4 {
- background-position: 0 -80px;
-}
-
-.ui-icon-arrow-4-diag {
- background-position: -16px -80px;
-}
-
-.ui-icon-extlink {
- background-position: -32px -80px;
-}
-
-.ui-icon-newwin {
- background-position: -48px -80px;
-}
-
-.ui-icon-refresh {
- background-position: -64px -80px;
-}
-
-.ui-icon-shuffle {
- background-position: -80px -80px;
-}
-
-.ui-icon-transfer-e-w {
- background-position: -96px -80px;
-}
-
-.ui-icon-transferthick-e-w {
- background-position: -112px -80px;
-}
-
-.ui-icon-folder-collapsed {
- background-position: 0 -96px;
-}
-
-.ui-icon-folder-open {
- background-position: -16px -96px;
-}
-
-.ui-icon-document {
- background-position: -32px -96px;
-}
-
-.ui-icon-document-b {
- background-position: -48px -96px;
-}
-
-.ui-icon-note {
- background-position: -64px -96px;
-}
-
-.ui-icon-mail-closed {
- background-position: -80px -96px;
-}
-
-.ui-icon-mail-open {
- background-position: -96px -96px;
-}
-
-.ui-icon-suitcase {
- background-position: -112px -96px;
-}
-
-.ui-icon-comment {
- background-position: -128px -96px;
-}
-
-.ui-icon-person {
- background-position: -144px -96px;
-}
-
-.ui-icon-print {
- background-position: -160px -96px;
-}
-
-.ui-icon-trash {
- background-position: -176px -96px;
-}
-
-.ui-icon-locked {
- background-position: -192px -96px;
-}
-
-.ui-icon-unlocked {
- background-position: -208px -96px;
-}
-
-.ui-icon-bookmark {
- background-position: -224px -96px;
-}
-
-.ui-icon-tag {
- background-position: -240px -96px;
-}
-
-.ui-icon-home {
- background-position: 0 -112px;
-}
-
-.ui-icon-flag {
- background-position: -16px -112px;
-}
-
-.ui-icon-calendar {
- background-position: -32px -112px;
-}
-
-.ui-icon-cart {
- background-position: -48px -112px;
-}
-
-.ui-icon-pencil {
- background-position: -64px -112px;
-}
-
-.ui-icon-clock {
- background-position: -80px -112px;
-}
-
-.ui-icon-disk {
- background-position: -96px -112px;
-}
-
-.ui-icon-calculator {
- background-position: -112px -112px;
-}
-
-.ui-icon-zoomin {
- background-position: -128px -112px;
-}
-
-.ui-icon-zoomout {
- background-position: -144px -112px;
-}
-
-.ui-icon-search {
- background-position: -160px -112px;
-}
-
-.ui-icon-wrench {
- background-position: -176px -112px;
-}
-
-.ui-icon-gear {
- background-position: -192px -112px;
-}
-
-.ui-icon-heart {
- background-position: -208px -112px;
-}
-
-.ui-icon-star {
- background-position: -224px -112px;
-}
-
-.ui-icon-link {
- background-position: -240px -112px;
-}
-
-.ui-icon-cancel {
- background-position: 0 -128px;
-}
-
-.ui-icon-plus {
- background-position: -16px -128px;
-}
-
-.ui-icon-plusthick {
- background-position: -32px -128px;
-}
-
-.ui-icon-minus {
- background-position: -48px -128px;
-}
-
-.ui-icon-minusthick {
- background-position: -64px -128px;
-}
-
-.ui-icon-close {
- background-position: -80px -128px;
-}
-
-.ui-icon-closethick {
- background-position: -96px -128px;
-}
-
-.ui-icon-key {
- background-position: -112px -128px;
-}
-
-.ui-icon-lightbulb {
- background-position: -128px -128px;
-}
-
-.ui-icon-scissors {
- background-position: -144px -128px;
-}
-
-.ui-icon-clipboard {
- background-position: -160px -128px;
-}
-
-.ui-icon-copy {
- background-position: -176px -128px;
-}
-
-.ui-icon-contact {
- background-position: -192px -128px;
-}
-
-.ui-icon-image {
- background-position: -208px -128px;
-}
-
-.ui-icon-video {
- background-position: -224px -128px;
-}
-
-.ui-icon-script {
- background-position: -240px -128px;
-}
-
-.ui-icon-alert {
- background-position: 0 -144px;
-}
-
-.ui-icon-info {
- background-position: -16px -144px;
-}
-
-.ui-icon-notice {
- background-position: -32px -144px;
-}
-
-.ui-icon-help {
- background-position: -48px -144px;
-}
-
-.ui-icon-check {
- background-position: -64px -144px;
-}
-
-.ui-icon-bullet {
- background-position: -80px -144px;
-}
-
-.ui-icon-radio-on {
- background-position: -96px -144px;
-}
-
-.ui-icon-radio-off {
- background-position: -112px -144px;
-}
-
-.ui-icon-pin-w {
- background-position: -128px -144px;
-}
-
-.ui-icon-pin-s {
- background-position: -144px -144px;
-}
-
-.ui-icon-play {
- background-position: 0 -160px;
-}
-
-.ui-icon-pause {
- background-position: -16px -160px;
-}
-
-.ui-icon-seek-next {
- background-position: -32px -160px;
-}
-
-.ui-icon-seek-prev {
- background-position: -48px -160px;
-}
-
-.ui-icon-seek-end {
- background-position: -64px -160px;
-}
-
-.ui-icon-seek-start {
- background-position: -80px -160px;
-}
-
-/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
-.ui-icon-seek-first {
- background-position: -80px -160px;
-}
-
-.ui-icon-stop {
- background-position: -96px -160px;
-}
-
-.ui-icon-eject {
- background-position: -112px -160px;
-}
-
-.ui-icon-volume-off {
- background-position: -128px -160px;
-}
-
-.ui-icon-volume-on {
- background-position: -144px -160px;
-}
-
-.ui-icon-power {
- background-position: 0 -176px;
-}
-
-.ui-icon-signal-diag {
- background-position: -16px -176px;
-}
-
-.ui-icon-signal {
- background-position: -32px -176px;
-}
-
-.ui-icon-battery-0 {
- background-position: -48px -176px;
-}
-
-.ui-icon-battery-1 {
- background-position: -64px -176px;
-}
-
-.ui-icon-battery-2 {
- background-position: -80px -176px;
-}
-
-.ui-icon-battery-3 {
- background-position: -96px -176px;
-}
-
-.ui-icon-circle-plus {
- background-position: 0 -192px;
-}
-
-.ui-icon-circle-minus {
- background-position: -16px -192px;
-}
-
-.ui-icon-circle-close {
- background-position: -32px -192px;
-}
-
-.ui-icon-circle-triangle-e {
- background-position: -48px -192px;
-}
-
-.ui-icon-circle-triangle-s {
- background-position: -64px -192px;
-}
-
-.ui-icon-circle-triangle-w {
- background-position: -80px -192px;
-}
-
-.ui-icon-circle-triangle-n {
- background-position: -96px -192px;
-}
-
-.ui-icon-circle-arrow-e {
- background-position: -112px -192px;
-}
-
-.ui-icon-circle-arrow-s {
- background-position: -128px -192px;
-}
-
-.ui-icon-circle-arrow-w {
- background-position: -144px -192px;
-}
-
-.ui-icon-circle-arrow-n {
- background-position: -160px -192px;
-}
-
-.ui-icon-circle-zoomin {
- background-position: -176px -192px;
-}
-
-.ui-icon-circle-zoomout {
- background-position: -192px -192px;
-}
-
-.ui-icon-circle-check {
- background-position: -208px -192px;
-}
-
-.ui-icon-circlesmall-plus {
- background-position: 0 -208px;
-}
-
-.ui-icon-circlesmall-minus {
- background-position: -16px -208px;
-}
-
-.ui-icon-circlesmall-close {
- background-position: -32px -208px;
-}
-
-.ui-icon-squaresmall-plus {
- background-position: -48px -208px;
-}
-
-.ui-icon-squaresmall-minus {
- background-position: -64px -208px;
-}
-
-.ui-icon-squaresmall-close {
- background-position: -80px -208px;
-}
-
-.ui-icon-grip-dotted-vertical {
- background-position: 0 -224px;
-}
-
-.ui-icon-grip-dotted-horizontal {
- background-position: -16px -224px;
-}
-
-.ui-icon-grip-solid-vertical {
- background-position: -32px -224px;
-}
-
-.ui-icon-grip-solid-horizontal {
- background-position: -48px -224px;
-}
-
-.ui-icon-gripsmall-diagonal-se {
- background-position: -64px -224px;
-}
-
-.ui-icon-grip-diagonal-se {
- background-position: -80px -224px;
-}
-
-/* Misc visuals
-----------------------------------*/
-
-/* Corner radius */
-.ui-corner-all,
-.ui-corner-top,
-.ui-corner-left,
-.ui-corner-tl {
- border-top-left-radius: 4px;
-}
-
-.ui-corner-all,
-.ui-corner-top,
-.ui-corner-right,
-.ui-corner-tr {
- border-top-right-radius: 4px;
-}
-
-.ui-corner-all,
-.ui-corner-bottom,
-.ui-corner-left,
-.ui-corner-bl {
- border-bottom-left-radius: 4px;
-}
-
-.ui-corner-all,
-.ui-corner-bottom,
-.ui-corner-right,
-.ui-corner-br {
- border-bottom-right-radius: 4px;
-}
-
-/* Overlays */
-.ui-widget-overlay {
- background: #666666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;
- opacity: .5;
- filter: Alpha(Opacity=50); /* support: IE8 */
-}
-
-.ui-widget-shadow {
- margin: -5px 0 0 -5px;
- padding: 5px;
- background: #000000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;
- opacity: .2;
- filter: Alpha(Opacity=20); /* support: IE8 */
- border-radius: 5px;
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.js
deleted file mode 100644
index cbaf2b50..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.js
+++ /dev/null
@@ -1,16753 +0,0 @@
-/*! jQuery UI - v1.11.4 - 2015-04-12
- * http://jqueryui.com
- * Includes: core.js, widget.js, mouse.js, position.js, draggable.js, droppable.js, resizable.js, selectable.js, sortable.js, accordion.js, autocomplete.js, button.js, datepicker.js, dialog.js, menu.js, progressbar.js, selectmenu.js, slider.js, spinner.js, tabs.js, tooltip.js, effect.js, effect-blind.js, effect-bounce.js, effect-clip.js, effect-drop.js, effect-explode.js, effect-fade.js, effect-fold.js, effect-highlight.js, effect-puff.js, effect-pulsate.js, effect-scale.js, effect-shake.js, effect-size.js, effect-slide.js, effect-transfer.js
- * Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
-
-(function (factory) {
- if (typeof define === "function" && define.amd) {
-
- // AMD. Register as an anonymous module.
- define(["jquery"], factory);
- } else {
-
- // Browser globals
- factory(jQuery);
- }
-}(function ($) {
- /*!
- * jQuery UI Core 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/category/ui-core/
- */
-
-
-// $.ui might exist from components with no dependencies, e.g., $.ui.position
- $.ui = $.ui || {};
-
- $.extend($.ui, {
- version: "1.11.4",
-
- keyCode: {
- BACKSPACE: 8,
- COMMA: 188,
- DELETE: 46,
- DOWN: 40,
- END: 35,
- ENTER: 13,
- ESCAPE: 27,
- HOME: 36,
- LEFT: 37,
- PAGE_DOWN: 34,
- PAGE_UP: 33,
- PERIOD: 190,
- RIGHT: 39,
- SPACE: 32,
- TAB: 9,
- UP: 38
- }
- });
-
-// plugins
- $.fn.extend({
- scrollParent: function (includeHidden) {
- var position = this.css("position"),
- excludeStaticParent = position === "absolute",
- overflowRegex = includeHidden ? /(auto|scroll|hidden)/ : /(auto|scroll)/,
- scrollParent = this.parents().filter(function () {
- var parent = $(this);
- if (excludeStaticParent && parent.css("position") === "static") {
- return false;
- }
- return overflowRegex.test(parent.css("overflow") + parent.css("overflow-y") + parent.css("overflow-x"));
- }).eq(0);
-
- return position === "fixed" || !scrollParent.length ? $(this[0].ownerDocument || document) : scrollParent;
- },
-
- uniqueId: (function () {
- var uuid = 0;
-
- return function () {
- return this.each(function () {
- if (!this.id) {
- this.id = "ui-id-" + ( ++uuid );
- }
- });
- };
- })(),
-
- removeUniqueId: function () {
- return this.each(function () {
- if (/^ui-id-\d+$/.test(this.id)) {
- $(this).removeAttr("id");
- }
- });
- }
- });
-
-// selectors
- function focusable(element, isTabIndexNotNaN) {
- var map, mapName, img,
- nodeName = element.nodeName.toLowerCase();
- if ("area" === nodeName) {
- map = element.parentNode;
- mapName = map.name;
- if (!element.href || !mapName || map.nodeName.toLowerCase() !== "map") {
- return false;
- }
- img = $("img[usemap='#" + mapName + "']")[0];
- return !!img && visible(img);
- }
- return ( /^(input|select|textarea|button|object)$/.test(nodeName) ?
- !element.disabled :
- "a" === nodeName ?
- element.href || isTabIndexNotNaN :
- isTabIndexNotNaN) &&
- // the element and all of its ancestors must be visible
- visible(element);
- }
-
- function visible(element) {
- return $.expr.filters.visible(element) && !$(element).parents().addBack().filter(function () {
- return $.css(this, "visibility") === "hidden";
- }).length;
- }
-
- $.extend($.expr[":"], {
- data: $.expr.createPseudo ?
- $.expr.createPseudo(function (dataName) {
- return function (elem) {
- return !!$.data(elem, dataName);
- };
- }) :
- // support: jQuery <1.8
- function (elem, i, match) {
- return !!$.data(elem, match[3]);
- },
-
- focusable: function (element) {
- return focusable(element, !isNaN($.attr(element, "tabindex")));
- },
-
- tabbable: function (element) {
- var tabIndex = $.attr(element, "tabindex"),
- isTabIndexNaN = isNaN(tabIndex);
- return ( isTabIndexNaN || tabIndex >= 0 ) && focusable(element, !isTabIndexNaN);
- }
- });
-
-// support: jQuery <1.8
- if (!$("<a>").outerWidth(1).jquery) {
- $.each(["Width", "Height"], function (i, name) {
- var side = name === "Width" ? ["Left", "Right"] : ["Top", "Bottom"],
- type = name.toLowerCase(),
- orig = {
- innerWidth: $.fn.innerWidth,
- innerHeight: $.fn.innerHeight,
- outerWidth: $.fn.outerWidth,
- outerHeight: $.fn.outerHeight
- };
-
- function reduce(elem, size, border, margin) {
- $.each(side, function () {
- size -= parseFloat($.css(elem, "padding" + this)) || 0;
- if (border) {
- size -= parseFloat($.css(elem, "border" + this + "Width")) || 0;
- }
- if (margin) {
- size -= parseFloat($.css(elem, "margin" + this)) || 0;
- }
- });
- return size;
- }
-
- $.fn["inner" + name] = function (size) {
- if (size === undefined) {
- return orig["inner" + name].call(this);
- }
-
- return this.each(function () {
- $(this).css(type, reduce(this, size) + "px");
- });
- };
-
- $.fn["outer" + name] = function (size, margin) {
- if (typeof size !== "number") {
- return orig["outer" + name].call(this, size);
- }
-
- return this.each(function () {
- $(this).css(type, reduce(this, size, true, margin) + "px");
- });
- };
- });
- }
-
-// support: jQuery <1.8
- if (!$.fn.addBack) {
- $.fn.addBack = function (selector) {
- return this.add(selector == null ?
- this.prevObject : this.prevObject.filter(selector)
- );
- };
- }
-
-// support: jQuery 1.6.1, 1.6.2 (http://bugs.jquery.com/ticket/9413)
- if ($("<a>").data("a-b", "a").removeData("a-b").data("a-b")) {
- $.fn.removeData = (function (removeData) {
- return function (key) {
- if (arguments.length) {
- return removeData.call(this, $.camelCase(key));
- } else {
- return removeData.call(this);
- }
- };
- })($.fn.removeData);
- }
-
-// deprecated
- $.ui.ie = !!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());
-
- $.fn.extend({
- focus: (function (orig) {
- return function (delay, fn) {
- return typeof delay === "number" ?
- this.each(function () {
- var elem = this;
- setTimeout(function () {
- $(elem).focus();
- if (fn) {
- fn.call(elem);
- }
- }, delay);
- }) :
- orig.apply(this, arguments);
- };
- })($.fn.focus),
-
- disableSelection: (function () {
- var eventType = "onselectstart" in document.createElement("div") ?
- "selectstart" :
- "mousedown";
-
- return function () {
- return this.bind(eventType + ".ui-disableSelection", function (event) {
- event.preventDefault();
- });
- };
- })(),
-
- enableSelection: function () {
- return this.unbind(".ui-disableSelection");
- },
-
- zIndex: function (zIndex) {
- if (zIndex !== undefined) {
- return this.css("zIndex", zIndex);
- }
-
- if (this.length) {
- var elem = $(this[0]), position, value;
- while (elem.length && elem[0] !== document) {
- // Ignore z-index if position is set to a value where z-index is ignored by the browser
- // This makes behavior of this function consistent across browsers
- // WebKit always returns auto if the element is positioned
- position = elem.css("position");
- if (position === "absolute" || position === "relative" || position === "fixed") {
- // IE returns 0 when zIndex is not specified
- // other browsers return a string
- // we ignore the case of nested elements with an explicit value of 0
- // <div style="z-index: -10;"><div style="z-index: 0;"></div></div>
- value = parseInt(elem.css("zIndex"), 10);
- if (!isNaN(value) && value !== 0) {
- return value;
- }
- }
- elem = elem.parent();
- }
- }
-
- return 0;
- }
- });
-
-// $.ui.plugin is deprecated. Use $.widget() extensions instead.
- $.ui.plugin = {
- add: function (module, option, set) {
- var i,
- proto = $.ui[module].prototype;
- for (i in set) {
- proto.plugins[i] = proto.plugins[i] || [];
- proto.plugins[i].push([option, set[i]]);
- }
- },
- call: function (instance, name, args, allowDisconnected) {
- var i,
- set = instance.plugins[name];
-
- if (!set) {
- return;
- }
-
- if (!allowDisconnected && ( !instance.element[0].parentNode || instance.element[0].parentNode.nodeType === 11 )) {
- return;
- }
-
- for (i = 0; i < set.length; i++) {
- if (instance.options[set[i][0]]) {
- set[i][1].apply(instance.element, args);
- }
- }
- }
- };
-
-
- /*!
- * jQuery UI Widget 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/jQuery.widget/
- */
-
-
- var widget_uuid = 0,
- widget_slice = Array.prototype.slice;
-
- $.cleanData = (function (orig) {
- return function (elems) {
- var events, elem, i;
- for (i = 0; (elem = elems[i]) != null; i++) {
- try {
-
- // Only trigger remove when necessary to save time
- events = $._data(elem, "events");
- if (events && events.remove) {
- $(elem).triggerHandler("remove");
- }
-
- // http://bugs.jquery.com/ticket/8235
- } catch (e) {
- }
- }
- orig(elems);
- };
- })($.cleanData);
-
- $.widget = function (name, base, prototype) {
- var fullName, existingConstructor, constructor, basePrototype,
- // proxiedPrototype allows the provided prototype to remain unmodified
- // so that it can be used as a mixin for multiple widgets (#8876)
- proxiedPrototype = {},
- namespace = name.split(".")[0];
-
- name = name.split(".")[1];
- fullName = namespace + "-" + name;
-
- if (!prototype) {
- prototype = base;
- base = $.Widget;
- }
-
- // create selector for plugin
- $.expr[":"][fullName.toLowerCase()] = function (elem) {
- return !!$.data(elem, fullName);
- };
-
- $[namespace] = $[namespace] || {};
- existingConstructor = $[namespace][name];
- constructor = $[namespace][name] = function (options, element) {
- // allow instantiation without "new" keyword
- if (!this._createWidget) {
- return new constructor(options, element);
- }
-
- // allow instantiation without initializing for simple inheritance
- // must use "new" keyword (the code above always passes args)
- if (arguments.length) {
- this._createWidget(options, element);
- }
- };
- // extend with the existing constructor to carry over any static properties
- $.extend(constructor, existingConstructor, {
- version: prototype.version,
- // copy the object used to create the prototype in case we need to
- // redefine the widget later
- _proto: $.extend({}, prototype),
- // track widgets that inherit from this widget in case this widget is
- // redefined after a widget inherits from it
- _childConstructors: []
- });
-
- basePrototype = new base();
- // we need to make the options hash a property directly on the new instance
- // otherwise we'll modify the options hash on the prototype that we're
- // inheriting from
- basePrototype.options = $.widget.extend({}, basePrototype.options);
- $.each(prototype, function (prop, value) {
- if (!$.isFunction(value)) {
- proxiedPrototype[prop] = value;
- return;
- }
- proxiedPrototype[prop] = (function () {
- var _super = function () {
- return base.prototype[prop].apply(this, arguments);
- },
- _superApply = function (args) {
- return base.prototype[prop].apply(this, args);
- };
- return function () {
- var __super = this._super,
- __superApply = this._superApply,
- returnValue;
-
- this._super = _super;
- this._superApply = _superApply;
-
- returnValue = value.apply(this, arguments);
-
- this._super = __super;
- this._superApply = __superApply;
-
- return returnValue;
- };
- })();
- });
- constructor.prototype = $.widget.extend(basePrototype, {
- // TODO: remove support for widgetEventPrefix
- // always use the name + a colon as the prefix, e.g., draggable:start
- // don't prefix for widgets that aren't DOM-based
- widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name
- }, proxiedPrototype, {
- constructor: constructor,
- namespace: namespace,
- widgetName: name,
- widgetFullName: fullName
- });
-
- // If this widget is being redefined then we need to find all widgets that
- // are inheriting from it and redefine all of them so that they inherit from
- // the new version of this widget. We're essentially trying to replace one
- // level in the prototype chain.
- if (existingConstructor) {
- $.each(existingConstructor._childConstructors, function (i, child) {
- var childPrototype = child.prototype;
-
- // redefine the child widget using the same prototype that was
- // originally used, but inherit from the new version of the base
- $.widget(childPrototype.namespace + "." + childPrototype.widgetName, constructor, child._proto);
- });
- // remove the list of existing child constructors from the old constructor
- // so the old child constructors can be garbage collected
- delete existingConstructor._childConstructors;
- } else {
- base._childConstructors.push(constructor);
- }
-
- $.widget.bridge(name, constructor);
-
- return constructor;
- };
-
- $.widget.extend = function (target) {
- var input = widget_slice.call(arguments, 1),
- inputIndex = 0,
- inputLength = input.length,
- key,
- value;
- for (; inputIndex < inputLength; inputIndex++) {
- for (key in input[inputIndex]) {
- value = input[inputIndex][key];
- if (input[inputIndex].hasOwnProperty(key) && value !== undefined) {
- // Clone objects
- if ($.isPlainObject(value)) {
- target[key] = $.isPlainObject(target[key]) ?
- $.widget.extend({}, target[key], value) :
- // Don't extend strings, arrays, etc. with objects
- $.widget.extend({}, value);
- // Copy everything else by reference
- } else {
- target[key] = value;
- }
- }
- }
- }
- return target;
- };
-
- $.widget.bridge = function (name, object) {
- var fullName = object.prototype.widgetFullName || name;
- $.fn[name] = function (options) {
- var isMethodCall = typeof options === "string",
- args = widget_slice.call(arguments, 1),
- returnValue = this;
-
- if (isMethodCall) {
- this.each(function () {
- var methodValue,
- instance = $.data(this, fullName);
- if (options === "instance") {
- returnValue = instance;
- return false;
- }
- if (!instance) {
- return $.error("cannot call methods on " + name + " prior to initialization; " +
- "attempted to call method '" + options + "'");
- }
- if (!$.isFunction(instance[options]) || options.charAt(0) === "_") {
- return $.error("no such method '" + options + "' for " + name + " widget instance");
- }
- methodValue = instance[options].apply(instance, args);
- if (methodValue !== instance && methodValue !== undefined) {
- returnValue = methodValue && methodValue.jquery ?
- returnValue.pushStack(methodValue.get()) :
- methodValue;
- return false;
- }
- });
- } else {
-
- // Allow multiple hashes to be passed on init
- if (args.length) {
- options = $.widget.extend.apply(null, [options].concat(args));
- }
-
- this.each(function () {
- var instance = $.data(this, fullName);
- if (instance) {
- instance.option(options || {});
- if (instance._init) {
- instance._init();
- }
- } else {
- $.data(this, fullName, new object(options, this));
- }
- });
- }
-
- return returnValue;
- };
- };
-
- $.Widget = function (/* options, element */) {
- };
- $.Widget._childConstructors = [];
-
- $.Widget.prototype = {
- widgetName: "widget",
- widgetEventPrefix: "",
- defaultElement: "<div>",
- options: {
- disabled: false,
-
- // callbacks
- create: null
- },
- _createWidget: function (options, element) {
- element = $(element || this.defaultElement || this)[0];
- this.element = $(element);
- this.uuid = widget_uuid++;
- this.eventNamespace = "." + this.widgetName + this.uuid;
-
- this.bindings = $();
- this.hoverable = $();
- this.focusable = $();
-
- if (element !== this) {
- $.data(element, this.widgetFullName, this);
- this._on(true, this.element, {
- remove: function (event) {
- if (event.target === element) {
- this.destroy();
- }
- }
- });
- this.document = $(element.style ?
- // element within the document
- element.ownerDocument :
- // element is window or document
- element.document || element);
- this.window = $(this.document[0].defaultView || this.document[0].parentWindow);
- }
-
- this.options = $.widget.extend({},
- this.options,
- this._getCreateOptions(),
- options);
-
- this._create();
- this._trigger("create", null, this._getCreateEventData());
- this._init();
- },
- _getCreateOptions: $.noop,
- _getCreateEventData: $.noop,
- _create: $.noop,
- _init: $.noop,
-
- destroy: function () {
- this._destroy();
- // we can probably remove the unbind calls in 2.0
- // all event bindings should go through this._on()
- this.element
- .unbind(this.eventNamespace)
- .removeData(this.widgetFullName)
- // support: jquery <1.6.3
- // http://bugs.jquery.com/ticket/9413
- .removeData($.camelCase(this.widgetFullName));
- this.widget()
- .unbind(this.eventNamespace)
- .removeAttr("aria-disabled")
- .removeClass(
- this.widgetFullName + "-disabled " +
- "ui-state-disabled");
-
- // clean up events and states
- this.bindings.unbind(this.eventNamespace);
- this.hoverable.removeClass("ui-state-hover");
- this.focusable.removeClass("ui-state-focus");
- },
- _destroy: $.noop,
-
- widget: function () {
- return this.element;
- },
-
- option: function (key, value) {
- var options = key,
- parts,
- curOption,
- i;
-
- if (arguments.length === 0) {
- // don't return a reference to the internal hash
- return $.widget.extend({}, this.options);
- }
-
- if (typeof key === "string") {
- // handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } }
- options = {};
- parts = key.split(".");
- key = parts.shift();
- if (parts.length) {
- curOption = options[key] = $.widget.extend({}, this.options[key]);
- for (i = 0; i < parts.length - 1; i++) {
- curOption[parts[i]] = curOption[parts[i]] || {};
- curOption = curOption[parts[i]];
- }
- key = parts.pop();
- if (arguments.length === 1) {
- return curOption[key] === undefined ? null : curOption[key];
- }
- curOption[key] = value;
- } else {
- if (arguments.length === 1) {
- return this.options[key] === undefined ? null : this.options[key];
- }
- options[key] = value;
- }
- }
-
- this._setOptions(options);
-
- return this;
- },
- _setOptions: function (options) {
- var key;
-
- for (key in options) {
- this._setOption(key, options[key]);
- }
-
- return this;
- },
- _setOption: function (key, value) {
- this.options[key] = value;
-
- if (key === "disabled") {
- this.widget()
- .toggleClass(this.widgetFullName + "-disabled", !!value);
-
- // If the widget is becoming disabled, then nothing is interactive
- if (value) {
- this.hoverable.removeClass("ui-state-hover");
- this.focusable.removeClass("ui-state-focus");
- }
- }
-
- return this;
- },
-
- enable: function () {
- return this._setOptions({disabled: false});
- },
- disable: function () {
- return this._setOptions({disabled: true});
- },
-
- _on: function (suppressDisabledCheck, element, handlers) {
- var delegateElement,
- instance = this;
-
- // no suppressDisabledCheck flag, shuffle arguments
- if (typeof suppressDisabledCheck !== "boolean") {
- handlers = element;
- element = suppressDisabledCheck;
- suppressDisabledCheck = false;
- }
-
- // no element argument, shuffle and use this.element
- if (!handlers) {
- handlers = element;
- element = this.element;
- delegateElement = this.widget();
- } else {
- element = delegateElement = $(element);
- this.bindings = this.bindings.add(element);
- }
-
- $.each(handlers, function (event, handler) {
- function handlerProxy() {
- // allow widgets to customize the disabled handling
- // - disabled as an array instead of boolean
- // - disabled class as method for disabling individual parts
- if (!suppressDisabledCheck &&
- ( instance.options.disabled === true ||
- $(this).hasClass("ui-state-disabled") )) {
- return;
- }
- return ( typeof handler === "string" ? instance[handler] : handler )
- .apply(instance, arguments);
- }
-
- // copy the guid so direct unbinding works
- if (typeof handler !== "string") {
- handlerProxy.guid = handler.guid =
- handler.guid || handlerProxy.guid || $.guid++;
- }
-
- var match = event.match(/^([\w:-]*)\s*(.*)$/),
- eventName = match[1] + instance.eventNamespace,
- selector = match[2];
- if (selector) {
- delegateElement.delegate(selector, eventName, handlerProxy);
- } else {
- element.bind(eventName, handlerProxy);
- }
- });
- },
-
- _off: function (element, eventName) {
- eventName = (eventName || "").split(" ").join(this.eventNamespace + " ") +
- this.eventNamespace;
- element.unbind(eventName).undelegate(eventName);
-
- // Clear the stack to avoid memory leaks (#10056)
- this.bindings = $(this.bindings.not(element).get());
- this.focusable = $(this.focusable.not(element).get());
- this.hoverable = $(this.hoverable.not(element).get());
- },
-
- _delay: function (handler, delay) {
- function handlerProxy() {
- return ( typeof handler === "string" ? instance[handler] : handler )
- .apply(instance, arguments);
- }
-
- var instance = this;
- return setTimeout(handlerProxy, delay || 0);
- },
-
- _hoverable: function (element) {
- this.hoverable = this.hoverable.add(element);
- this._on(element, {
- mouseenter: function (event) {
- $(event.currentTarget).addClass("ui-state-hover");
- },
- mouseleave: function (event) {
- $(event.currentTarget).removeClass("ui-state-hover");
- }
- });
- },
-
- _focusable: function (element) {
- this.focusable = this.focusable.add(element);
- this._on(element, {
- focusin: function (event) {
- $(event.currentTarget).addClass("ui-state-focus");
- },
- focusout: function (event) {
- $(event.currentTarget).removeClass("ui-state-focus");
- }
- });
- },
-
- _trigger: function (type, event, data) {
- var prop, orig,
- callback = this.options[type];
-
- data = data || {};
- event = $.Event(event);
- event.type = ( type === this.widgetEventPrefix ?
- type :
- this.widgetEventPrefix + type ).toLowerCase();
- // the original event may come from any element
- // so we need to reset the target on the new event
- event.target = this.element[0];
-
- // copy original event properties over to the new event
- orig = event.originalEvent;
- if (orig) {
- for (prop in orig) {
- if (!( prop in event )) {
- event[prop] = orig[prop];
- }
- }
- }
-
- this.element.trigger(event, data);
- return !( $.isFunction(callback) &&
- callback.apply(this.element[0], [event].concat(data)) === false ||
- event.isDefaultPrevented() );
- }
- };
-
- $.each({show: "fadeIn", hide: "fadeOut"}, function (method, defaultEffect) {
- $.Widget.prototype["_" + method] = function (element, options, callback) {
- if (typeof options === "string") {
- options = {effect: options};
- }
- var hasOptions,
- effectName = !options ?
- method :
- options === true || typeof options === "number" ?
- defaultEffect :
- options.effect || defaultEffect;
- options = options || {};
- if (typeof options === "number") {
- options = {duration: options};
- }
- hasOptions = !$.isEmptyObject(options);
- options.complete = callback;
- if (options.delay) {
- element.delay(options.delay);
- }
- if (hasOptions && $.effects && $.effects.effect[effectName]) {
- element[method](options);
- } else if (effectName !== method && element[effectName]) {
- element[effectName](options.duration, options.easing, callback);
- } else {
- element.queue(function (next) {
- $(this)[method]();
- if (callback) {
- callback.call(element[0]);
- }
- next();
- });
- }
- };
- });
-
- var widget = $.widget;
-
-
- /*!
- * jQuery UI Mouse 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/mouse/
- */
-
-
- var mouseHandled = false;
- $(document).mouseup(function () {
- mouseHandled = false;
- });
-
- var mouse = $.widget("ui.mouse", {
- version: "1.11.4",
- options: {
- cancel: "input,textarea,button,select,option",
- distance: 1,
- delay: 0
- },
- _mouseInit: function () {
- var that = this;
-
- this.element
- .bind("mousedown." + this.widgetName, function (event) {
- return that._mouseDown(event);
- })
- .bind("click." + this.widgetName, function (event) {
- if (true === $.data(event.target, that.widgetName + ".preventClickEvent")) {
- $.removeData(event.target, that.widgetName + ".preventClickEvent");
- event.stopImmediatePropagation();
- return false;
- }
- });
-
- this.started = false;
- },
-
- // TODO: make sure destroying one instance of mouse doesn't mess with
- // other instances of mouse
- _mouseDestroy: function () {
- this.element.unbind("." + this.widgetName);
- if (this._mouseMoveDelegate) {
- this.document
- .unbind("mousemove." + this.widgetName, this._mouseMoveDelegate)
- .unbind("mouseup." + this.widgetName, this._mouseUpDelegate);
- }
- },
-
- _mouseDown: function (event) {
- // don't let more than one widget handle mouseStart
- if (mouseHandled) {
- return;
- }
-
- this._mouseMoved = false;
-
- // we may have missed mouseup (out of window)
- (this._mouseStarted && this._mouseUp(event));
-
- this._mouseDownEvent = event;
-
- var that = this,
- btnIsLeft = (event.which === 1),
- // event.target.nodeName works around a bug in IE 8 with
- // disabled inputs (#7620)
- elIsCancel = (typeof this.options.cancel === "string" && event.target.nodeName ? $(event.target).closest(this.options.cancel).length : false);
- if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) {
- return true;
- }
-
- this.mouseDelayMet = !this.options.delay;
- if (!this.mouseDelayMet) {
- this._mouseDelayTimer = setTimeout(function () {
- that.mouseDelayMet = true;
- }, this.options.delay);
- }
-
- if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {
- this._mouseStarted = (this._mouseStart(event) !== false);
- if (!this._mouseStarted) {
- event.preventDefault();
- return true;
- }
- }
-
- // Click event may never have fired (Gecko & Opera)
- if (true === $.data(event.target, this.widgetName + ".preventClickEvent")) {
- $.removeData(event.target, this.widgetName + ".preventClickEvent");
- }
-
- // these delegates are required to keep context
- this._mouseMoveDelegate = function (event) {
- return that._mouseMove(event);
- };
- this._mouseUpDelegate = function (event) {
- return that._mouseUp(event);
- };
-
- this.document
- .bind("mousemove." + this.widgetName, this._mouseMoveDelegate)
- .bind("mouseup." + this.widgetName, this._mouseUpDelegate);
-
- event.preventDefault();
-
- mouseHandled = true;
- return true;
- },
-
- _mouseMove: function (event) {
- // Only check for mouseups outside the document if you've moved inside the document
- // at least once. This prevents the firing of mouseup in the case of IE<9, which will
- // fire a mousemove event if content is placed under the cursor. See #7778
- // Support: IE <9
- if (this._mouseMoved) {
- // IE mouseup check - mouseup happened when mouse was out of window
- if ($.ui.ie && ( !document.documentMode || document.documentMode < 9 ) && !event.button) {
- return this._mouseUp(event);
-
- // Iframe mouseup check - mouseup occurred in another document
- } else if (!event.which) {
- return this._mouseUp(event);
- }
- }
-
- if (event.which || event.button) {
- this._mouseMoved = true;
- }
-
- if (this._mouseStarted) {
- this._mouseDrag(event);
- return event.preventDefault();
- }
-
- if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {
- this._mouseStarted =
- (this._mouseStart(this._mouseDownEvent, event) !== false);
- (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event));
- }
-
- return !this._mouseStarted;
- },
-
- _mouseUp: function (event) {
- this.document
- .unbind("mousemove." + this.widgetName, this._mouseMoveDelegate)
- .unbind("mouseup." + this.widgetName, this._mouseUpDelegate);
-
- if (this._mouseStarted) {
- this._mouseStarted = false;
-
- if (event.target === this._mouseDownEvent.target) {
- $.data(event.target, this.widgetName + ".preventClickEvent", true);
- }
-
- this._mouseStop(event);
- }
-
- mouseHandled = false;
- return false;
- },
-
- _mouseDistanceMet: function (event) {
- return (Math.max(
- Math.abs(this._mouseDownEvent.pageX - event.pageX),
- Math.abs(this._mouseDownEvent.pageY - event.pageY)
- ) >= this.options.distance
- );
- },
-
- _mouseDelayMet: function (/* event */) {
- return this.mouseDelayMet;
- },
-
- // These are placeholder methods, to be overriden by extending plugin
- _mouseStart: function (/* event */) {
- },
- _mouseDrag: function (/* event */) {
- },
- _mouseStop: function (/* event */) {
- },
- _mouseCapture: function (/* event */) {
- return true;
- }
- });
-
-
- /*!
- * jQuery UI Position 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/position/
- */
-
- (function () {
-
- $.ui = $.ui || {};
-
- var cachedScrollbarWidth, supportsOffsetFractions,
- max = Math.max,
- abs = Math.abs,
- round = Math.round,
- rhorizontal = /left|center|right/,
- rvertical = /top|center|bottom/,
- roffset = /[\+\-]\d+(\.[\d]+)?%?/,
- rposition = /^\w+/,
- rpercent = /%$/,
- _position = $.fn.position;
-
- function getOffsets(offsets, width, height) {
- return [
- parseFloat(offsets[0]) * ( rpercent.test(offsets[0]) ? width / 100 : 1 ),
- parseFloat(offsets[1]) * ( rpercent.test(offsets[1]) ? height / 100 : 1 )
- ];
- }
-
- function parseCss(element, property) {
- return parseInt($.css(element, property), 10) || 0;
- }
-
- function getDimensions(elem) {
- var raw = elem[0];
- if (raw.nodeType === 9) {
- return {
- width: elem.width(),
- height: elem.height(),
- offset: {top: 0, left: 0}
- };
- }
- if ($.isWindow(raw)) {
- return {
- width: elem.width(),
- height: elem.height(),
- offset: {top: elem.scrollTop(), left: elem.scrollLeft()}
- };
- }
- if (raw.preventDefault) {
- return {
- width: 0,
- height: 0,
- offset: {top: raw.pageY, left: raw.pageX}
- };
- }
- return {
- width: elem.outerWidth(),
- height: elem.outerHeight(),
- offset: elem.offset()
- };
- }
-
- $.position = {
- scrollbarWidth: function () {
- if (cachedScrollbarWidth !== undefined) {
- return cachedScrollbarWidth;
- }
- var w1, w2,
- div = $("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),
- innerDiv = div.children()[0];
-
- $("body").append(div);
- w1 = innerDiv.offsetWidth;
- div.css("overflow", "scroll");
-
- w2 = innerDiv.offsetWidth;
-
- if (w1 === w2) {
- w2 = div[0].clientWidth;
- }
-
- div.remove();
-
- return (cachedScrollbarWidth = w1 - w2);
- },
- getScrollInfo: function (within) {
- var overflowX = within.isWindow || within.isDocument ? "" :
- within.element.css("overflow-x"),
- overflowY = within.isWindow || within.isDocument ? "" :
- within.element.css("overflow-y"),
- hasOverflowX = overflowX === "scroll" ||
- ( overflowX === "auto" && within.width < within.element[0].scrollWidth ),
- hasOverflowY = overflowY === "scroll" ||
- ( overflowY === "auto" && within.height < within.element[0].scrollHeight );
- return {
- width: hasOverflowY ? $.position.scrollbarWidth() : 0,
- height: hasOverflowX ? $.position.scrollbarWidth() : 0
- };
- },
- getWithinInfo: function (element) {
- var withinElement = $(element || window),
- isWindow = $.isWindow(withinElement[0]),
- isDocument = !!withinElement[0] && withinElement[0].nodeType === 9;
- return {
- element: withinElement,
- isWindow: isWindow,
- isDocument: isDocument,
- offset: withinElement.offset() || {left: 0, top: 0},
- scrollLeft: withinElement.scrollLeft(),
- scrollTop: withinElement.scrollTop(),
-
- // support: jQuery 1.6.x
- // jQuery 1.6 doesn't support .outerWidth/Height() on documents or windows
- width: isWindow || isDocument ? withinElement.width() : withinElement.outerWidth(),
- height: isWindow || isDocument ? withinElement.height() : withinElement.outerHeight()
- };
- }
- };
-
- $.fn.position = function (options) {
- if (!options || !options.of) {
- return _position.apply(this, arguments);
- }
-
- // make a copy, we don't want to modify arguments
- options = $.extend({}, options);
-
- var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions,
- target = $(options.of),
- within = $.position.getWithinInfo(options.within),
- scrollInfo = $.position.getScrollInfo(within),
- collision = ( options.collision || "flip" ).split(" "),
- offsets = {};
-
- dimensions = getDimensions(target);
- if (target[0].preventDefault) {
- // force left top to allow flipping
- options.at = "left top";
- }
- targetWidth = dimensions.width;
- targetHeight = dimensions.height;
- targetOffset = dimensions.offset;
- // clone to reuse original targetOffset later
- basePosition = $.extend({}, targetOffset);
-
- // force my and at to have valid horizontal and vertical positions
- // if a value is missing or invalid, it will be converted to center
- $.each(["my", "at"], function () {
- var pos = ( options[this] || "" ).split(" "),
- horizontalOffset,
- verticalOffset;
-
- if (pos.length === 1) {
- pos = rhorizontal.test(pos[0]) ?
- pos.concat(["center"]) :
- rvertical.test(pos[0]) ?
- ["center"].concat(pos) :
- ["center", "center"];
- }
- pos[0] = rhorizontal.test(pos[0]) ? pos[0] : "center";
- pos[1] = rvertical.test(pos[1]) ? pos[1] : "center";
-
- // calculate offsets
- horizontalOffset = roffset.exec(pos[0]);
- verticalOffset = roffset.exec(pos[1]);
- offsets[this] = [
- horizontalOffset ? horizontalOffset[0] : 0,
- verticalOffset ? verticalOffset[0] : 0
- ];
-
- // reduce to just the positions without the offsets
- options[this] = [
- rposition.exec(pos[0])[0],
- rposition.exec(pos[1])[0]
- ];
- });
-
- // normalize collision option
- if (collision.length === 1) {
- collision[1] = collision[0];
- }
-
- if (options.at[0] === "right") {
- basePosition.left += targetWidth;
- } else if (options.at[0] === "center") {
- basePosition.left += targetWidth / 2;
- }
-
- if (options.at[1] === "bottom") {
- basePosition.top += targetHeight;
- } else if (options.at[1] === "center") {
- basePosition.top += targetHeight / 2;
- }
-
- atOffset = getOffsets(offsets.at, targetWidth, targetHeight);
- basePosition.left += atOffset[0];
- basePosition.top += atOffset[1];
-
- return this.each(function () {
- var collisionPosition, using,
- elem = $(this),
- elemWidth = elem.outerWidth(),
- elemHeight = elem.outerHeight(),
- marginLeft = parseCss(this, "marginLeft"),
- marginTop = parseCss(this, "marginTop"),
- collisionWidth = elemWidth + marginLeft + parseCss(this, "marginRight") + scrollInfo.width,
- collisionHeight = elemHeight + marginTop + parseCss(this, "marginBottom") + scrollInfo.height,
- position = $.extend({}, basePosition),
- myOffset = getOffsets(offsets.my, elem.outerWidth(), elem.outerHeight());
-
- if (options.my[0] === "right") {
- position.left -= elemWidth;
- } else if (options.my[0] === "center") {
- position.left -= elemWidth / 2;
- }
-
- if (options.my[1] === "bottom") {
- position.top -= elemHeight;
- } else if (options.my[1] === "center") {
- position.top -= elemHeight / 2;
- }
-
- position.left += myOffset[0];
- position.top += myOffset[1];
-
- // if the browser doesn't support fractions, then round for consistent results
- if (!supportsOffsetFractions) {
- position.left = round(position.left);
- position.top = round(position.top);
- }
-
- collisionPosition = {
- marginLeft: marginLeft,
- marginTop: marginTop
- };
-
- $.each(["left", "top"], function (i, dir) {
- if ($.ui.position[collision[i]]) {
- $.ui.position[collision[i]][dir](position, {
- targetWidth: targetWidth,
- targetHeight: targetHeight,
- elemWidth: elemWidth,
- elemHeight: elemHeight,
- collisionPosition: collisionPosition,
- collisionWidth: collisionWidth,
- collisionHeight: collisionHeight,
- offset: [atOffset[0] + myOffset[0], atOffset [1] + myOffset[1]],
- my: options.my,
- at: options.at,
- within: within,
- elem: elem
- });
- }
- });
-
- if (options.using) {
- // adds feedback as second argument to using callback, if present
- using = function (props) {
- var left = targetOffset.left - position.left,
- right = left + targetWidth - elemWidth,
- top = targetOffset.top - position.top,
- bottom = top + targetHeight - elemHeight,
- feedback = {
- target: {
- element: target,
- left: targetOffset.left,
- top: targetOffset.top,
- width: targetWidth,
- height: targetHeight
- },
- element: {
- element: elem,
- left: position.left,
- top: position.top,
- width: elemWidth,
- height: elemHeight
- },
- horizontal: right < 0 ? "left" : left > 0 ? "right" : "center",
- vertical: bottom < 0 ? "top" : top > 0 ? "bottom" : "middle"
- };
- if (targetWidth < elemWidth && abs(left + right) < targetWidth) {
- feedback.horizontal = "center";
- }
- if (targetHeight < elemHeight && abs(top + bottom) < targetHeight) {
- feedback.vertical = "middle";
- }
- if (max(abs(left), abs(right)) > max(abs(top), abs(bottom))) {
- feedback.important = "horizontal";
- } else {
- feedback.important = "vertical";
- }
- options.using.call(this, props, feedback);
- };
- }
-
- elem.offset($.extend(position, {using: using}));
- });
- };
-
- $.ui.position = {
- fit: {
- left: function (position, data) {
- var within = data.within,
- withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
- outerWidth = within.width,
- collisionPosLeft = position.left - data.collisionPosition.marginLeft,
- overLeft = withinOffset - collisionPosLeft,
- overRight = collisionPosLeft + data.collisionWidth - outerWidth - withinOffset,
- newOverRight;
-
- // element is wider than within
- if (data.collisionWidth > outerWidth) {
- // element is initially over the left side of within
- if (overLeft > 0 && overRight <= 0) {
- newOverRight = position.left + overLeft + data.collisionWidth - outerWidth - withinOffset;
- position.left += overLeft - newOverRight;
- // element is initially over right side of within
- } else if (overRight > 0 && overLeft <= 0) {
- position.left = withinOffset;
- // element is initially over both left and right sides of within
- } else {
- if (overLeft > overRight) {
- position.left = withinOffset + outerWidth - data.collisionWidth;
- } else {
- position.left = withinOffset;
- }
- }
- // too far left -> align with left edge
- } else if (overLeft > 0) {
- position.left += overLeft;
- // too far right -> align with right edge
- } else if (overRight > 0) {
- position.left -= overRight;
- // adjust based on position and margin
- } else {
- position.left = max(position.left - collisionPosLeft, position.left);
- }
- },
- top: function (position, data) {
- var within = data.within,
- withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
- outerHeight = data.within.height,
- collisionPosTop = position.top - data.collisionPosition.marginTop,
- overTop = withinOffset - collisionPosTop,
- overBottom = collisionPosTop + data.collisionHeight - outerHeight - withinOffset,
- newOverBottom;
-
- // element is taller than within
- if (data.collisionHeight > outerHeight) {
- // element is initially over the top of within
- if (overTop > 0 && overBottom <= 0) {
- newOverBottom = position.top + overTop + data.collisionHeight - outerHeight - withinOffset;
- position.top += overTop - newOverBottom;
- // element is initially over bottom of within
- } else if (overBottom > 0 && overTop <= 0) {
- position.top = withinOffset;
- // element is initially over both top and bottom of within
- } else {
- if (overTop > overBottom) {
- position.top = withinOffset + outerHeight - data.collisionHeight;
- } else {
- position.top = withinOffset;
- }
- }
- // too far up -> align with top
- } else if (overTop > 0) {
- position.top += overTop;
- // too far down -> align with bottom edge
- } else if (overBottom > 0) {
- position.top -= overBottom;
- // adjust based on position and margin
- } else {
- position.top = max(position.top - collisionPosTop, position.top);
- }
- }
- },
- flip: {
- left: function (position, data) {
- var within = data.within,
- withinOffset = within.offset.left + within.scrollLeft,
- outerWidth = within.width,
- offsetLeft = within.isWindow ? within.scrollLeft : within.offset.left,
- collisionPosLeft = position.left - data.collisionPosition.marginLeft,
- overLeft = collisionPosLeft - offsetLeft,
- overRight = collisionPosLeft + data.collisionWidth - outerWidth - offsetLeft,
- myOffset = data.my[0] === "left" ?
- -data.elemWidth :
- data.my[0] === "right" ?
- data.elemWidth :
- 0,
- atOffset = data.at[0] === "left" ?
- data.targetWidth :
- data.at[0] === "right" ?
- -data.targetWidth :
- 0,
- offset = -2 * data.offset[0],
- newOverRight,
- newOverLeft;
-
- if (overLeft < 0) {
- newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth - outerWidth - withinOffset;
- if (newOverRight < 0 || newOverRight < abs(overLeft)) {
- position.left += myOffset + atOffset + offset;
- }
- } else if (overRight > 0) {
- newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset + atOffset + offset - offsetLeft;
- if (newOverLeft > 0 || abs(newOverLeft) < overRight) {
- position.left += myOffset + atOffset + offset;
- }
- }
- },
- top: function (position, data) {
- var within = data.within,
- withinOffset = within.offset.top + within.scrollTop,
- outerHeight = within.height,
- offsetTop = within.isWindow ? within.scrollTop : within.offset.top,
- collisionPosTop = position.top - data.collisionPosition.marginTop,
- overTop = collisionPosTop - offsetTop,
- overBottom = collisionPosTop + data.collisionHeight - outerHeight - offsetTop,
- top = data.my[1] === "top",
- myOffset = top ?
- -data.elemHeight :
- data.my[1] === "bottom" ?
- data.elemHeight :
- 0,
- atOffset = data.at[1] === "top" ?
- data.targetHeight :
- data.at[1] === "bottom" ?
- -data.targetHeight :
- 0,
- offset = -2 * data.offset[1],
- newOverTop,
- newOverBottom;
- if (overTop < 0) {
- newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight - outerHeight - withinOffset;
- if (newOverBottom < 0 || newOverBottom < abs(overTop)) {
- position.top += myOffset + atOffset + offset;
- }
- } else if (overBottom > 0) {
- newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset + offset - offsetTop;
- if (newOverTop > 0 || abs(newOverTop) < overBottom) {
- position.top += myOffset + atOffset + offset;
- }
- }
- }
- },
- flipfit: {
- left: function () {
- $.ui.position.flip.left.apply(this, arguments);
- $.ui.position.fit.left.apply(this, arguments);
- },
- top: function () {
- $.ui.position.flip.top.apply(this, arguments);
- $.ui.position.fit.top.apply(this, arguments);
- }
- }
- };
-
-// fraction support test
- (function () {
- var testElement, testElementParent, testElementStyle, offsetLeft, i,
- body = document.getElementsByTagName("body")[0],
- div = document.createElement("div");
-
- //Create a "fake body" for testing based on method used in jQuery.support
- testElement = document.createElement(body ? "div" : "body");
- testElementStyle = {
- visibility: "hidden",
- width: 0,
- height: 0,
- border: 0,
- margin: 0,
- background: "none"
- };
- if (body) {
- $.extend(testElementStyle, {
- position: "absolute",
- left: "-1000px",
- top: "-1000px"
- });
- }
- for (i in testElementStyle) {
- testElement.style[i] = testElementStyle[i];
- }
- testElement.appendChild(div);
- testElementParent = body || document.documentElement;
- testElementParent.insertBefore(testElement, testElementParent.firstChild);
-
- div.style.cssText = "position: absolute; left: 10.7432222px;";
-
- offsetLeft = $(div).offset().left;
- supportsOffsetFractions = offsetLeft > 10 && offsetLeft < 11;
-
- testElement.innerHTML = "";
- testElementParent.removeChild(testElement);
- })();
-
- })();
-
- var position = $.ui.position;
-
-
- /*!
- * jQuery UI Draggable 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/draggable/
- */
-
-
- $.widget("ui.draggable", $.ui.mouse, {
- version: "1.11.4",
- widgetEventPrefix: "drag",
- options: {
- addClasses: true,
- appendTo: "parent",
- axis: false,
- connectToSortable: false,
- containment: false,
- cursor: "auto",
- cursorAt: false,
- grid: false,
- handle: false,
- helper: "original",
- iframeFix: false,
- opacity: false,
- refreshPositions: false,
- revert: false,
- revertDuration: 500,
- scope: "default",
- scroll: true,
- scrollSensitivity: 20,
- scrollSpeed: 20,
- snap: false,
- snapMode: "both",
- snapTolerance: 20,
- stack: false,
- zIndex: false,
-
- // callbacks
- drag: null,
- start: null,
- stop: null
- },
- _create: function () {
-
- if (this.options.helper === "original") {
- this._setPositionRelative();
- }
- if (this.options.addClasses) {
- this.element.addClass("ui-draggable");
- }
- if (this.options.disabled) {
- this.element.addClass("ui-draggable-disabled");
- }
- this._setHandleClassName();
-
- this._mouseInit();
- },
-
- _setOption: function (key, value) {
- this._super(key, value);
- if (key === "handle") {
- this._removeHandleClassName();
- this._setHandleClassName();
- }
- },
-
- _destroy: function () {
- if (( this.helper || this.element ).is(".ui-draggable-dragging")) {
- this.destroyOnClear = true;
- return;
- }
- this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");
- this._removeHandleClassName();
- this._mouseDestroy();
- },
-
- _mouseCapture: function (event) {
- var o = this.options;
-
- this._blurActiveElement(event);
-
- // among others, prevent a drag on a resizable-handle
- if (this.helper || o.disabled || $(event.target).closest(".ui-resizable-handle").length > 0) {
- return false;
- }
-
- //Quit if we're not on a valid handle
- this.handle = this._getHandle(event);
- if (!this.handle) {
- return false;
- }
-
- this._blockFrames(o.iframeFix === true ? "iframe" : o.iframeFix);
-
- return true;
-
- },
-
- _blockFrames: function (selector) {
- this.iframeBlocks = this.document.find(selector).map(function () {
- var iframe = $(this);
-
- return $("<div>")
- .css("position", "absolute")
- .appendTo(iframe.parent())
- .outerWidth(iframe.outerWidth())
- .outerHeight(iframe.outerHeight())
- .offset(iframe.offset())[0];
- });
- },
-
- _unblockFrames: function () {
- if (this.iframeBlocks) {
- this.iframeBlocks.remove();
- delete this.iframeBlocks;
- }
- },
-
- _blurActiveElement: function (event) {
- var document = this.document[0];
-
- // Only need to blur if the event occurred on the draggable itself, see #10527
- if (!this.handleElement.is(event.target)) {
- return;
- }
-
- // support: IE9
- // IE9 throws an "Unspecified error" accessing document.activeElement from an <iframe>
- try {
-
- // Support: IE9, IE10
- // If the <body> is blurred, IE will switch windows, see #9520
- if (document.activeElement && document.activeElement.nodeName.toLowerCase() !== "body") {
-
- // Blur any element that currently has focus, see #4261
- $(document.activeElement).blur();
- }
- } catch (error) {
- }
- },
-
- _mouseStart: function (event) {
-
- var o = this.options;
-
- //Create and append the visible helper
- this.helper = this._createHelper(event);
-
- this.helper.addClass("ui-draggable-dragging");
-
- //Cache the helper size
- this._cacheHelperProportions();
-
- //If ddmanager is used for droppables, set the global draggable
- if ($.ui.ddmanager) {
- $.ui.ddmanager.current = this;
- }
-
- /*
- * - Position generation -
- * This block generates everything position related - it's the core of draggables.
- */
-
- //Cache the margins of the original element
- this._cacheMargins();
-
- //Store the helper's css position
- this.cssPosition = this.helper.css("position");
- this.scrollParent = this.helper.scrollParent(true);
- this.offsetParent = this.helper.offsetParent();
- this.hasFixedAncestor = this.helper.parents().filter(function () {
- return $(this).css("position") === "fixed";
- }).length > 0;
-
- //The element's absolute position on the page minus margins
- this.positionAbs = this.element.offset();
- this._refreshOffsets(event);
-
- //Generate the original position
- this.originalPosition = this.position = this._generatePosition(event, false);
- this.originalPageX = event.pageX;
- this.originalPageY = event.pageY;
-
- //Adjust the mouse offset relative to the helper if "cursorAt" is supplied
- (o.cursorAt && this._adjustOffsetFromHelper(o.cursorAt));
-
- //Set a containment if given in the options
- this._setContainment();
-
- //Trigger event + callbacks
- if (this._trigger("start", event) === false) {
- this._clear();
- return false;
- }
-
- //Recache the helper size
- this._cacheHelperProportions();
-
- //Prepare the droppable offsets
- if ($.ui.ddmanager && !o.dropBehaviour) {
- $.ui.ddmanager.prepareOffsets(this, event);
- }
-
- // Reset helper's right/bottom css if they're set and set explicit width/height instead
- // as this prevents resizing of elements with right/bottom set (see #7772)
- this._normalizeRightBottom();
-
- this._mouseDrag(event, true); //Execute the drag once - this causes the helper not to be visible before getting its correct position
-
- //If the ddmanager is used for droppables, inform the manager that dragging has started (see #5003)
- if ($.ui.ddmanager) {
- $.ui.ddmanager.dragStart(this, event);
- }
-
- return true;
- },
-
- _refreshOffsets: function (event) {
- this.offset = {
- top: this.positionAbs.top - this.margins.top,
- left: this.positionAbs.left - this.margins.left,
- scroll: false,
- parent: this._getParentOffset(),
- relative: this._getRelativeOffset()
- };
-
- this.offset.click = {
- left: event.pageX - this.offset.left,
- top: event.pageY - this.offset.top
- };
- },
-
- _mouseDrag: function (event, noPropagation) {
- // reset any necessary cached properties (see #5009)
- if (this.hasFixedAncestor) {
- this.offset.parent = this._getParentOffset();
- }
-
- //Compute the helpers position
- this.position = this._generatePosition(event, true);
- this.positionAbs = this._convertPositionTo("absolute");
-
- //Call plugins and callbacks and use the resulting position if something is returned
- if (!noPropagation) {
- var ui = this._uiHash();
- if (this._trigger("drag", event, ui) === false) {
- this._mouseUp({});
- return false;
- }
- this.position = ui.position;
- }
-
- this.helper[0].style.left = this.position.left + "px";
- this.helper[0].style.top = this.position.top + "px";
-
- if ($.ui.ddmanager) {
- $.ui.ddmanager.drag(this, event);
- }
-
- return false;
- },
-
- _mouseStop: function (event) {
-
- //If we are using droppables, inform the manager about the drop
- var that = this,
- dropped = false;
- if ($.ui.ddmanager && !this.options.dropBehaviour) {
- dropped = $.ui.ddmanager.drop(this, event);
- }
-
- //if a drop comes from outside (a sortable)
- if (this.dropped) {
- dropped = this.dropped;
- this.dropped = false;
- }
-
- if ((this.options.revert === "invalid" && !dropped) || (this.options.revert === "valid" && dropped) || this.options.revert === true || ($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped))) {
- $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function () {
- if (that._trigger("stop", event) !== false) {
- that._clear();
- }
- });
- } else {
- if (this._trigger("stop", event) !== false) {
- this._clear();
- }
- }
-
- return false;
- },
-
- _mouseUp: function (event) {
- this._unblockFrames();
-
- //If the ddmanager is used for droppables, inform the manager that dragging has stopped (see #5003)
- if ($.ui.ddmanager) {
- $.ui.ddmanager.dragStop(this, event);
- }
-
- // Only need to focus if the event occurred on the draggable itself, see #10527
- if (this.handleElement.is(event.target)) {
- // The interaction is over; whether or not the click resulted in a drag, focus the element
- this.element.focus();
- }
-
- return $.ui.mouse.prototype._mouseUp.call(this, event);
- },
-
- cancel: function () {
-
- if (this.helper.is(".ui-draggable-dragging")) {
- this._mouseUp({});
- } else {
- this._clear();
- }
-
- return this;
-
- },
-
- _getHandle: function (event) {
- return this.options.handle ?
- !!$(event.target).closest(this.element.find(this.options.handle)).length :
- true;
- },
-
- _setHandleClassName: function () {
- this.handleElement = this.options.handle ?
- this.element.find(this.options.handle) : this.element;
- this.handleElement.addClass("ui-draggable-handle");
- },
-
- _removeHandleClassName: function () {
- this.handleElement.removeClass("ui-draggable-handle");
- },
-
- _createHelper: function (event) {
-
- var o = this.options,
- helperIsFunction = $.isFunction(o.helper),
- helper = helperIsFunction ?
- $(o.helper.apply(this.element[0], [event])) :
- ( o.helper === "clone" ?
- this.element.clone().removeAttr("id") :
- this.element );
-
- if (!helper.parents("body").length) {
- helper.appendTo((o.appendTo === "parent" ? this.element[0].parentNode : o.appendTo));
- }
-
- // http://bugs.jqueryui.com/ticket/9446
- // a helper function can return the original element
- // which wouldn't have been set to relative in _create
- if (helperIsFunction && helper[0] === this.element[0]) {
- this._setPositionRelative();
- }
-
- if (helper[0] !== this.element[0] && !(/(fixed|absolute)/).test(helper.css("position"))) {
- helper.css("position", "absolute");
- }
-
- return helper;
-
- },
-
- _setPositionRelative: function () {
- if (!( /^(?:r|a|f)/ ).test(this.element.css("position"))) {
- this.element[0].style.position = "relative";
- }
- },
-
- _adjustOffsetFromHelper: function (obj) {
- if (typeof obj === "string") {
- obj = obj.split(" ");
- }
- if ($.isArray(obj)) {
- obj = {left: +obj[0], top: +obj[1] || 0};
- }
- if ("left" in obj) {
- this.offset.click.left = obj.left + this.margins.left;
- }
- if ("right" in obj) {
- this.offset.click.left = this.helperProportions.width - obj.right + this.margins.left;
- }
- if ("top" in obj) {
- this.offset.click.top = obj.top + this.margins.top;
- }
- if ("bottom" in obj) {
- this.offset.click.top = this.helperProportions.height - obj.bottom + this.margins.top;
- }
- },
-
- _isRootNode: function (element) {
- return ( /(html|body)/i ).test(element.tagName) || element === this.document[0];
- },
-
- _getParentOffset: function () {
-
- //Get the offsetParent and cache its position
- var po = this.offsetParent.offset(),
- document = this.document[0];
-
- // This is a special case where we need to modify a offset calculated on start, since the following happened:
- // 1. The position of the helper is absolute, so it's position is calculated based on the next positioned parent
- // 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't the document, which means that
- // the scroll is included in the initial calculation of the offset of the parent, and never recalculated upon drag
- if (this.cssPosition === "absolute" && this.scrollParent[0] !== document && $.contains(this.scrollParent[0], this.offsetParent[0])) {
- po.left += this.scrollParent.scrollLeft();
- po.top += this.scrollParent.scrollTop();
- }
-
- if (this._isRootNode(this.offsetParent[0])) {
- po = {top: 0, left: 0};
- }
-
- return {
- top: po.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0),
- left: po.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0)
- };
-
- },
-
- _getRelativeOffset: function () {
- if (this.cssPosition !== "relative") {
- return {top: 0, left: 0};
- }
-
- var p = this.element.position(),
- scrollIsRootNode = this._isRootNode(this.scrollParent[0]);
-
- return {
- top: p.top - ( parseInt(this.helper.css("top"), 10) || 0 ) + ( !scrollIsRootNode ? this.scrollParent.scrollTop() : 0 ),
- left: p.left - ( parseInt(this.helper.css("left"), 10) || 0 ) + ( !scrollIsRootNode ? this.scrollParent.scrollLeft() : 0 )
- };
-
- },
-
- _cacheMargins: function () {
- this.margins = {
- left: (parseInt(this.element.css("marginLeft"), 10) || 0),
- top: (parseInt(this.element.css("marginTop"), 10) || 0),
- right: (parseInt(this.element.css("marginRight"), 10) || 0),
- bottom: (parseInt(this.element.css("marginBottom"), 10) || 0)
- };
- },
-
- _cacheHelperProportions: function () {
- this.helperProportions = {
- width: this.helper.outerWidth(),
- height: this.helper.outerHeight()
- };
- },
-
- _setContainment: function () {
-
- var isUserScrollable, c, ce,
- o = this.options,
- document = this.document[0];
-
- this.relativeContainer = null;
-
- if (!o.containment) {
- this.containment = null;
- return;
- }
-
- if (o.containment === "window") {
- this.containment = [
- $(window).scrollLeft() - this.offset.relative.left - this.offset.parent.left,
- $(window).scrollTop() - this.offset.relative.top - this.offset.parent.top,
- $(window).scrollLeft() + $(window).width() - this.helperProportions.width - this.margins.left,
- $(window).scrollTop() + ( $(window).height() || document.body.parentNode.scrollHeight ) - this.helperProportions.height - this.margins.top
- ];
- return;
- }
-
- if (o.containment === "document") {
- this.containment = [
- 0,
- 0,
- $(document).width() - this.helperProportions.width - this.margins.left,
- ( $(document).height() || document.body.parentNode.scrollHeight ) - this.helperProportions.height - this.margins.top
- ];
- return;
- }
-
- if (o.containment.constructor === Array) {
- this.containment = o.containment;
- return;
- }
-
- if (o.containment === "parent") {
- o.containment = this.helper[0].parentNode;
- }
-
- c = $(o.containment);
- ce = c[0];
-
- if (!ce) {
- return;
- }
-
- isUserScrollable = /(scroll|auto)/.test(c.css("overflow"));
-
- this.containment = [
- ( parseInt(c.css("borderLeftWidth"), 10) || 0 ) + ( parseInt(c.css("paddingLeft"), 10) || 0 ),
- ( parseInt(c.css("borderTopWidth"), 10) || 0 ) + ( parseInt(c.css("paddingTop"), 10) || 0 ),
- ( isUserScrollable ? Math.max(ce.scrollWidth, ce.offsetWidth) : ce.offsetWidth ) -
- ( parseInt(c.css("borderRightWidth"), 10) || 0 ) -
- ( parseInt(c.css("paddingRight"), 10) || 0 ) -
- this.helperProportions.width -
- this.margins.left -
- this.margins.right,
- ( isUserScrollable ? Math.max(ce.scrollHeight, ce.offsetHeight) : ce.offsetHeight ) -
- ( parseInt(c.css("borderBottomWidth"), 10) || 0 ) -
- ( parseInt(c.css("paddingBottom"), 10) || 0 ) -
- this.helperProportions.height -
- this.margins.top -
- this.margins.bottom
- ];
- this.relativeContainer = c;
- },
-
- _convertPositionTo: function (d, pos) {
-
- if (!pos) {
- pos = this.position;
- }
-
- var mod = d === "absolute" ? 1 : -1,
- scrollIsRootNode = this._isRootNode(this.scrollParent[0]);
-
- return {
- top: (
- pos.top + // The absolute mouse position
- this.offset.relative.top * mod + // Only for relative positioned nodes: Relative offset from element to offset parent
- this.offset.parent.top * mod - // The offsetParent's offset without borders (offset + border)
- ( ( this.cssPosition === "fixed" ? -this.offset.scroll.top : ( scrollIsRootNode ? 0 : this.offset.scroll.top ) ) * mod)
- ),
- left: (
- pos.left + // The absolute mouse position
- this.offset.relative.left * mod + // Only for relative positioned nodes: Relative offset from element to offset parent
- this.offset.parent.left * mod - // The offsetParent's offset without borders (offset + border)
- ( ( this.cssPosition === "fixed" ? -this.offset.scroll.left : ( scrollIsRootNode ? 0 : this.offset.scroll.left ) ) * mod)
- )
- };
-
- },
-
- _generatePosition: function (event, constrainPosition) {
-
- var containment, co, top, left,
- o = this.options,
- scrollIsRootNode = this._isRootNode(this.scrollParent[0]),
- pageX = event.pageX,
- pageY = event.pageY;
-
- // Cache the scroll
- if (!scrollIsRootNode || !this.offset.scroll) {
- this.offset.scroll = {
- top: this.scrollParent.scrollTop(),
- left: this.scrollParent.scrollLeft()
- };
- }
-
- /*
- * - Position constraining -
- * Constrain the position to a mix of grid, containment.
- */
-
- // If we are not dragging yet, we won't check for options
- if (constrainPosition) {
- if (this.containment) {
- if (this.relativeContainer) {
- co = this.relativeContainer.offset();
- containment = [
- this.containment[0] + co.left,
- this.containment[1] + co.top,
- this.containment[2] + co.left,
- this.containment[3] + co.top
- ];
- } else {
- containment = this.containment;
- }
-
- if (event.pageX - this.offset.click.left < containment[0]) {
- pageX = containment[0] + this.offset.click.left;
- }
- if (event.pageY - this.offset.click.top < containment[1]) {
- pageY = containment[1] + this.offset.click.top;
- }
- if (event.pageX - this.offset.click.left > containment[2]) {
- pageX = containment[2] + this.offset.click.left;
- }
- if (event.pageY - this.offset.click.top > containment[3]) {
- pageY = containment[3] + this.offset.click.top;
- }
- }
-
- if (o.grid) {
- //Check for grid elements set to 0 to prevent divide by 0 error causing invalid argument errors in IE (see ticket #6950)
- top = o.grid[1] ? this.originalPageY + Math.round((pageY - this.originalPageY) / o.grid[1]) * o.grid[1] : this.originalPageY;
- pageY = containment ? ((top - this.offset.click.top >= containment[1] || top - this.offset.click.top > containment[3]) ? top : ((top - this.offset.click.top >= containment[1]) ? top - o.grid[1] : top + o.grid[1])) : top;
-
- left = o.grid[0] ? this.originalPageX + Math.round((pageX - this.originalPageX) / o.grid[0]) * o.grid[0] : this.originalPageX;
- pageX = containment ? ((left - this.offset.click.left >= containment[0] || left - this.offset.click.left > containment[2]) ? left : ((left - this.offset.click.left >= containment[0]) ? left - o.grid[0] : left + o.grid[0])) : left;
- }
-
- if (o.axis === "y") {
- pageX = this.originalPageX;
- }
-
- if (o.axis === "x") {
- pageY = this.originalPageY;
- }
- }
-
- return {
- top: (
- pageY - // The absolute mouse position
- this.offset.click.top - // Click offset (relative to the element)
- this.offset.relative.top - // Only for relative positioned nodes: Relative offset from element to offset parent
- this.offset.parent.top + // The offsetParent's offset without borders (offset + border)
- ( this.cssPosition === "fixed" ? -this.offset.scroll.top : ( scrollIsRootNode ? 0 : this.offset.scroll.top ) )
- ),
- left: (
- pageX - // The absolute mouse position
- this.offset.click.left - // Click offset (relative to the element)
- this.offset.relative.left - // Only for relative positioned nodes: Relative offset from element to offset parent
- this.offset.parent.left + // The offsetParent's offset without borders (offset + border)
- ( this.cssPosition === "fixed" ? -this.offset.scroll.left : ( scrollIsRootNode ? 0 : this.offset.scroll.left ) )
- )
- };
-
- },
-
- _clear: function () {
- this.helper.removeClass("ui-draggable-dragging");
- if (this.helper[0] !== this.element[0] && !this.cancelHelperRemoval) {
- this.helper.remove();
- }
- this.helper = null;
- this.cancelHelperRemoval = false;
- if (this.destroyOnClear) {
- this.destroy();
- }
- },
-
- _normalizeRightBottom: function () {
- if (this.options.axis !== "y" && this.helper.css("right") !== "auto") {
- this.helper.width(this.helper.width());
- this.helper.css("right", "auto");
- }
- if (this.options.axis !== "x" && this.helper.css("bottom") !== "auto") {
- this.helper.height(this.helper.height());
- this.helper.css("bottom", "auto");
- }
- },
-
- // From now on bulk stuff - mainly helpers
-
- _trigger: function (type, event, ui) {
- ui = ui || this._uiHash();
- $.ui.plugin.call(this, type, [event, ui, this], true);
-
- // Absolute position and offset (see #6884 ) have to be recalculated after plugins
- if (/^(drag|start|stop)/.test(type)) {
- this.positionAbs = this._convertPositionTo("absolute");
- ui.offset = this.positionAbs;
- }
- return $.Widget.prototype._trigger.call(this, type, event, ui);
- },
-
- plugins: {},
-
- _uiHash: function () {
- return {
- helper: this.helper,
- position: this.position,
- originalPosition: this.originalPosition,
- offset: this.positionAbs
- };
- }
-
- });
-
- $.ui.plugin.add("draggable", "connectToSortable", {
- start: function (event, ui, draggable) {
- var uiSortable = $.extend({}, ui, {
- item: draggable.element
- });
-
- draggable.sortables = [];
- $(draggable.options.connectToSortable).each(function () {
- var sortable = $(this).sortable("instance");
-
- if (sortable && !sortable.options.disabled) {
- draggable.sortables.push(sortable);
-
- // refreshPositions is called at drag start to refresh the containerCache
- // which is used in drag. This ensures it's initialized and synchronized
- // with any changes that might have happened on the page since initialization.
- sortable.refreshPositions();
- sortable._trigger("activate", event, uiSortable);
- }
- });
- },
- stop: function (event, ui, draggable) {
- var uiSortable = $.extend({}, ui, {
- item: draggable.element
- });
-
- draggable.cancelHelperRemoval = false;
-
- $.each(draggable.sortables, function () {
- var sortable = this;
-
- if (sortable.isOver) {
- sortable.isOver = 0;
-
- // Allow this sortable to handle removing the helper
- draggable.cancelHelperRemoval = true;
- sortable.cancelHelperRemoval = false;
-
- // Use _storedCSS To restore properties in the sortable,
- // as this also handles revert (#9675) since the draggable
- // may have modified them in unexpected ways (#8809)
- sortable._storedCSS = {
- position: sortable.placeholder.css("position"),
- top: sortable.placeholder.css("top"),
- left: sortable.placeholder.css("left")
- };
-
- sortable._mouseStop(event);
-
- // Once drag has ended, the sortable should return to using
- // its original helper, not the shared helper from draggable
- sortable.options.helper = sortable.options._helper;
- } else {
- // Prevent this Sortable from removing the helper.
- // However, don't set the draggable to remove the helper
- // either as another connected Sortable may yet handle the removal.
- sortable.cancelHelperRemoval = true;
-
- sortable._trigger("deactivate", event, uiSortable);
- }
- });
- },
- drag: function (event, ui, draggable) {
- $.each(draggable.sortables, function () {
- var innermostIntersecting = false,
- sortable = this;
-
- // Copy over variables that sortable's _intersectsWith uses
- sortable.positionAbs = draggable.positionAbs;
- sortable.helperProportions = draggable.helperProportions;
- sortable.offset.click = draggable.offset.click;
-
- if (sortable._intersectsWith(sortable.containerCache)) {
- innermostIntersecting = true;
-
- $.each(draggable.sortables, function () {
- // Copy over variables that sortable's _intersectsWith uses
- this.positionAbs = draggable.positionAbs;
- this.helperProportions = draggable.helperProportions;
- this.offset.click = draggable.offset.click;
-
- if (this !== sortable &&
- this._intersectsWith(this.containerCache) &&
- $.contains(sortable.element[0], this.element[0])) {
- innermostIntersecting = false;
- }
-
- return innermostIntersecting;
- });
- }
-
- if (innermostIntersecting) {
- // If it intersects, we use a little isOver variable and set it once,
- // so that the move-in stuff gets fired only once.
- if (!sortable.isOver) {
- sortable.isOver = 1;
-
- // Store draggable's parent in case we need to reappend to it later.
- draggable._parent = ui.helper.parent();
-
- sortable.currentItem = ui.helper
- .appendTo(sortable.element)
- .data("ui-sortable-item", true);
-
- // Store helper option to later restore it
- sortable.options._helper = sortable.options.helper;
-
- sortable.options.helper = function () {
- return ui.helper[0];
- };
-
- // Fire the start events of the sortable with our passed browser event,
- // and our own helper (so it doesn't create a new one)
- event.target = sortable.currentItem[0];
- sortable._mouseCapture(event, true);
- sortable._mouseStart(event, true, true);
-
- // Because the browser event is way off the new appended portlet,
- // modify necessary variables to reflect the changes
- sortable.offset.click.top = draggable.offset.click.top;
- sortable.offset.click.left = draggable.offset.click.left;
- sortable.offset.parent.left -= draggable.offset.parent.left -
- sortable.offset.parent.left;
- sortable.offset.parent.top -= draggable.offset.parent.top -
- sortable.offset.parent.top;
-
- draggable._trigger("toSortable", event);
-
- // Inform draggable that the helper is in a valid drop zone,
- // used solely in the revert option to handle "valid/invalid".
- draggable.dropped = sortable.element;
-
- // Need to refreshPositions of all sortables in the case that
- // adding to one sortable changes the location of the other sortables (#9675)
- $.each(draggable.sortables, function () {
- this.refreshPositions();
- });
-
- // hack so receive/update callbacks work (mostly)
- draggable.currentItem = draggable.element;
- sortable.fromOutside = draggable;
- }
-
- if (sortable.currentItem) {
- sortable._mouseDrag(event);
- // Copy the sortable's position because the draggable's can potentially reflect
- // a relative position, while sortable is always absolute, which the dragged
- // element has now become. (#8809)
- ui.position = sortable.position;
- }
- } else {
- // If it doesn't intersect with the sortable, and it intersected before,
- // we fake the drag stop of the sortable, but make sure it doesn't remove
- // the helper by using cancelHelperRemoval.
- if (sortable.isOver) {
-
- sortable.isOver = 0;
- sortable.cancelHelperRemoval = true;
-
- // Calling sortable's mouseStop would trigger a revert,
- // so revert must be temporarily false until after mouseStop is called.
- sortable.options._revert = sortable.options.revert;
- sortable.options.revert = false;
-
- sortable._trigger("out", event, sortable._uiHash(sortable));
- sortable._mouseStop(event, true);
-
- // restore sortable behaviors that were modfied
- // when the draggable entered the sortable area (#9481)
- sortable.options.revert = sortable.options._revert;
- sortable.options.helper = sortable.options._helper;
-
- if (sortable.placeholder) {
- sortable.placeholder.remove();
- }
-
- // Restore and recalculate the draggable's offset considering the sortable
- // may have modified them in unexpected ways. (#8809, #10669)
- ui.helper.appendTo(draggable._parent);
- draggable._refreshOffsets(event);
- ui.position = draggable._generatePosition(event, true);
-
- draggable._trigger("fromSortable", event);
-
- // Inform draggable that the helper is no longer in a valid drop zone
- draggable.dropped = false;
-
- // Need to refreshPositions of all sortables just in case removing
- // from one sortable changes the location of other sortables (#9675)
- $.each(draggable.sortables, function () {
- this.refreshPositions();
- });
- }
- }
- });
- }
- });
-
- $.ui.plugin.add("draggable", "cursor", {
- start: function (event, ui, instance) {
- var t = $("body"),
- o = instance.options;
-
- if (t.css("cursor")) {
- o._cursor = t.css("cursor");
- }
- t.css("cursor", o.cursor);
- },
- stop: function (event, ui, instance) {
- var o = instance.options;
- if (o._cursor) {
- $("body").css("cursor", o._cursor);
- }
- }
- });
-
- $.ui.plugin.add("draggable", "opacity", {
- start: function (event, ui, instance) {
- var t = $(ui.helper),
- o = instance.options;
- if (t.css("opacity")) {
- o._opacity = t.css("opacity");
- }
- t.css("opacity", o.opacity);
- },
- stop: function (event, ui, instance) {
- var o = instance.options;
- if (o._opacity) {
- $(ui.helper).css("opacity", o._opacity);
- }
- }
- });
-
- $.ui.plugin.add("draggable", "scroll", {
- start: function (event, ui, i) {
- if (!i.scrollParentNotHidden) {
- i.scrollParentNotHidden = i.helper.scrollParent(false);
- }
-
- if (i.scrollParentNotHidden[0] !== i.document[0] && i.scrollParentNotHidden[0].tagName !== "HTML") {
- i.overflowOffset = i.scrollParentNotHidden.offset();
- }
- },
- drag: function (event, ui, i) {
-
- var o = i.options,
- scrolled = false,
- scrollParent = i.scrollParentNotHidden[0],
- document = i.document[0];
-
- if (scrollParent !== document && scrollParent.tagName !== "HTML") {
- if (!o.axis || o.axis !== "x") {
- if (( i.overflowOffset.top + scrollParent.offsetHeight ) - event.pageY < o.scrollSensitivity) {
- scrollParent.scrollTop = scrolled = scrollParent.scrollTop + o.scrollSpeed;
- } else if (event.pageY - i.overflowOffset.top < o.scrollSensitivity) {
- scrollParent.scrollTop = scrolled = scrollParent.scrollTop - o.scrollSpeed;
- }
- }
-
- if (!o.axis || o.axis !== "y") {
- if (( i.overflowOffset.left + scrollParent.offsetWidth ) - event.pageX < o.scrollSensitivity) {
- scrollParent.scrollLeft = scrolled = scrollParent.scrollLeft + o.scrollSpeed;
- } else if (event.pageX - i.overflowOffset.left < o.scrollSensitivity) {
- scrollParent.scrollLeft = scrolled = scrollParent.scrollLeft - o.scrollSpeed;
- }
- }
-
- } else {
-
- if (!o.axis || o.axis !== "x") {
- if (event.pageY - $(document).scrollTop() < o.scrollSensitivity) {
- scrolled = $(document).scrollTop($(document).scrollTop() - o.scrollSpeed);
- } else if ($(window).height() - (event.pageY - $(document).scrollTop()) < o.scrollSensitivity) {
- scrolled = $(document).scrollTop($(document).scrollTop() + o.scrollSpeed);
- }
- }
-
- if (!o.axis || o.axis !== "y") {
- if (event.pageX - $(document).scrollLeft() < o.scrollSensitivity) {
- scrolled = $(document).scrollLeft($(document).scrollLeft() - o.scrollSpeed);
- } else if ($(window).width() - (event.pageX - $(document).scrollLeft()) < o.scrollSensitivity) {
- scrolled = $(document).scrollLeft($(document).scrollLeft() + o.scrollSpeed);
- }
- }
-
- }
-
- if (scrolled !== false && $.ui.ddmanager && !o.dropBehaviour) {
- $.ui.ddmanager.prepareOffsets(i, event);
- }
-
- }
- });
-
- $.ui.plugin.add("draggable", "snap", {
- start: function (event, ui, i) {
-
- var o = i.options;
-
- i.snapElements = [];
-
- $(o.snap.constructor !== String ? ( o.snap.items || ":data(ui-draggable)" ) : o.snap).each(function () {
- var $t = $(this),
- $o = $t.offset();
- if (this !== i.element[0]) {
- i.snapElements.push({
- item: this,
- width: $t.outerWidth(), height: $t.outerHeight(),
- top: $o.top, left: $o.left
- });
- }
- });
-
- },
- drag: function (event, ui, inst) {
-
- var ts, bs, ls, rs, l, r, t, b, i, first,
- o = inst.options,
- d = o.snapTolerance,
- x1 = ui.offset.left, x2 = x1 + inst.helperProportions.width,
- y1 = ui.offset.top, y2 = y1 + inst.helperProportions.height;
-
- for (i = inst.snapElements.length - 1; i >= 0; i--) {
-
- l = inst.snapElements[i].left - inst.margins.left;
- r = l + inst.snapElements[i].width;
- t = inst.snapElements[i].top - inst.margins.top;
- b = t + inst.snapElements[i].height;
-
- if (x2 < l - d || x1 > r + d || y2 < t - d || y1 > b + d || !$.contains(inst.snapElements[i].item.ownerDocument, inst.snapElements[i].item)) {
- if (inst.snapElements[i].snapping) {
- (inst.options.snap.release && inst.options.snap.release.call(inst.element, event, $.extend(inst._uiHash(), {snapItem: inst.snapElements[i].item})));
- }
- inst.snapElements[i].snapping = false;
- continue;
- }
-
- if (o.snapMode !== "inner") {
- ts = Math.abs(t - y2) <= d;
- bs = Math.abs(b - y1) <= d;
- ls = Math.abs(l - x2) <= d;
- rs = Math.abs(r - x1) <= d;
- if (ts) {
- ui.position.top = inst._convertPositionTo("relative", {
- top: t - inst.helperProportions.height,
- left: 0
- }).top;
- }
- if (bs) {
- ui.position.top = inst._convertPositionTo("relative", {top: b, left: 0}).top;
- }
- if (ls) {
- ui.position.left = inst._convertPositionTo("relative", {
- top: 0,
- left: l - inst.helperProportions.width
- }).left;
- }
- if (rs) {
- ui.position.left = inst._convertPositionTo("relative", {top: 0, left: r}).left;
- }
- }
-
- first = (ts || bs || ls || rs);
-
- if (o.snapMode !== "outer") {
- ts = Math.abs(t - y1) <= d;
- bs = Math.abs(b - y2) <= d;
- ls = Math.abs(l - x1) <= d;
- rs = Math.abs(r - x2) <= d;
- if (ts) {
- ui.position.top = inst._convertPositionTo("relative", {top: t, left: 0}).top;
- }
- if (bs) {
- ui.position.top = inst._convertPositionTo("relative", {
- top: b - inst.helperProportions.height,
- left: 0
- }).top;
- }
- if (ls) {
- ui.position.left = inst._convertPositionTo("relative", {top: 0, left: l}).left;
- }
- if (rs) {
- ui.position.left = inst._convertPositionTo("relative", {
- top: 0,
- left: r - inst.helperProportions.width
- }).left;
- }
- }
-
- if (!inst.snapElements[i].snapping && (ts || bs || ls || rs || first)) {
- (inst.options.snap.snap && inst.options.snap.snap.call(inst.element, event, $.extend(inst._uiHash(), {snapItem: inst.snapElements[i].item})));
- }
- inst.snapElements[i].snapping = (ts || bs || ls || rs || first);
-
- }
-
- }
- });
-
- $.ui.plugin.add("draggable", "stack", {
- start: function (event, ui, instance) {
- var min,
- o = instance.options,
- group = $.makeArray($(o.stack)).sort(function (a, b) {
- return (parseInt($(a).css("zIndex"), 10) || 0) - (parseInt($(b).css("zIndex"), 10) || 0);
- });
-
- if (!group.length) {
- return;
- }
-
- min = parseInt($(group[0]).css("zIndex"), 10) || 0;
- $(group).each(function (i) {
- $(this).css("zIndex", min + i);
- });
- this.css("zIndex", (min + group.length));
- }
- });
-
- $.ui.plugin.add("draggable", "zIndex", {
- start: function (event, ui, instance) {
- var t = $(ui.helper),
- o = instance.options;
-
- if (t.css("zIndex")) {
- o._zIndex = t.css("zIndex");
- }
- t.css("zIndex", o.zIndex);
- },
- stop: function (event, ui, instance) {
- var o = instance.options;
-
- if (o._zIndex) {
- $(ui.helper).css("zIndex", o._zIndex);
- }
- }
- });
-
- var draggable = $.ui.draggable;
-
-
- /*!
- * jQuery UI Droppable 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/droppable/
- */
-
-
- $.widget("ui.droppable", {
- version: "1.11.4",
- widgetEventPrefix: "drop",
- options: {
- accept: "*",
- activeClass: false,
- addClasses: true,
- greedy: false,
- hoverClass: false,
- scope: "default",
- tolerance: "intersect",
-
- // callbacks
- activate: null,
- deactivate: null,
- drop: null,
- out: null,
- over: null
- },
- _create: function () {
-
- var proportions,
- o = this.options,
- accept = o.accept;
-
- this.isover = false;
- this.isout = true;
-
- this.accept = $.isFunction(accept) ? accept : function (d) {
- return d.is(accept);
- };
-
- this.proportions = function (/* valueToWrite */) {
- if (arguments.length) {
- // Store the droppable's proportions
- proportions = arguments[0];
- } else {
- // Retrieve or derive the droppable's proportions
- return proportions ?
- proportions :
- proportions = {
- width: this.element[0].offsetWidth,
- height: this.element[0].offsetHeight
- };
- }
- };
-
- this._addToManager(o.scope);
-
- o.addClasses && this.element.addClass("ui-droppable");
-
- },
-
- _addToManager: function (scope) {
- // Add the reference and positions to the manager
- $.ui.ddmanager.droppables[scope] = $.ui.ddmanager.droppables[scope] || [];
- $.ui.ddmanager.droppables[scope].push(this);
- },
-
- _splice: function (drop) {
- var i = 0;
- for (; i < drop.length; i++) {
- if (drop[i] === this) {
- drop.splice(i, 1);
- }
- }
- },
-
- _destroy: function () {
- var drop = $.ui.ddmanager.droppables[this.options.scope];
-
- this._splice(drop);
-
- this.element.removeClass("ui-droppable ui-droppable-disabled");
- },
-
- _setOption: function (key, value) {
-
- if (key === "accept") {
- this.accept = $.isFunction(value) ? value : function (d) {
- return d.is(value);
- };
- } else if (key === "scope") {
- var drop = $.ui.ddmanager.droppables[this.options.scope];
-
- this._splice(drop);
- this._addToManager(value);
- }
-
- this._super(key, value);
- },
-
- _activate: function (event) {
- var draggable = $.ui.ddmanager.current;
- if (this.options.activeClass) {
- this.element.addClass(this.options.activeClass);
- }
- if (draggable) {
- this._trigger("activate", event, this.ui(draggable));
- }
- },
-
- _deactivate: function (event) {
- var draggable = $.ui.ddmanager.current;
- if (this.options.activeClass) {
- this.element.removeClass(this.options.activeClass);
- }
- if (draggable) {
- this._trigger("deactivate", event, this.ui(draggable));
- }
- },
-
- _over: function (event) {
-
- var draggable = $.ui.ddmanager.current;
-
- // Bail if draggable and droppable are same element
- if (!draggable || ( draggable.currentItem || draggable.element )[0] === this.element[0]) {
- return;
- }
-
- if (this.accept.call(this.element[0], ( draggable.currentItem || draggable.element ))) {
- if (this.options.hoverClass) {
- this.element.addClass(this.options.hoverClass);
- }
- this._trigger("over", event, this.ui(draggable));
- }
-
- },
-
- _out: function (event) {
-
- var draggable = $.ui.ddmanager.current;
-
- // Bail if draggable and droppable are same element
- if (!draggable || ( draggable.currentItem || draggable.element )[0] === this.element[0]) {
- return;
- }
-
- if (this.accept.call(this.element[0], ( draggable.currentItem || draggable.element ))) {
- if (this.options.hoverClass) {
- this.element.removeClass(this.options.hoverClass);
- }
- this._trigger("out", event, this.ui(draggable));
- }
-
- },
-
- _drop: function (event, custom) {
-
- var draggable = custom || $.ui.ddmanager.current,
- childrenIntersection = false;
-
- // Bail if draggable and droppable are same element
- if (!draggable || ( draggable.currentItem || draggable.element )[0] === this.element[0]) {
- return false;
- }
-
- this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function () {
- var inst = $(this).droppable("instance");
- if (
- inst.options.greedy && !inst.options.disabled &&
- inst.options.scope === draggable.options.scope &&
- inst.accept.call(inst.element[0], ( draggable.currentItem || draggable.element )) &&
- $.ui.intersect(draggable, $.extend(inst, {offset: inst.element.offset()}), inst.options.tolerance, event)
- ) {
- childrenIntersection = true;
- return false;
- }
- });
- if (childrenIntersection) {
- return false;
- }
-
- if (this.accept.call(this.element[0], ( draggable.currentItem || draggable.element ))) {
- if (this.options.activeClass) {
- this.element.removeClass(this.options.activeClass);
- }
- if (this.options.hoverClass) {
- this.element.removeClass(this.options.hoverClass);
- }
- this._trigger("drop", event, this.ui(draggable));
- return this.element;
- }
-
- return false;
-
- },
-
- ui: function (c) {
- return {
- draggable: ( c.currentItem || c.element ),
- helper: c.helper,
- position: c.position,
- offset: c.positionAbs
- };
- }
-
- });
-
- $.ui.intersect = (function () {
- function isOverAxis(x, reference, size) {
- return ( x >= reference ) && ( x < ( reference + size ) );
- }
-
- return function (draggable, droppable, toleranceMode, event) {
-
- if (!droppable.offset) {
- return false;
- }
-
- var x1 = ( draggable.positionAbs || draggable.position.absolute ).left + draggable.margins.left,
- y1 = ( draggable.positionAbs || draggable.position.absolute ).top + draggable.margins.top,
- x2 = x1 + draggable.helperProportions.width,
- y2 = y1 + draggable.helperProportions.height,
- l = droppable.offset.left,
- t = droppable.offset.top,
- r = l + droppable.proportions().width,
- b = t + droppable.proportions().height;
-
- switch (toleranceMode) {
- case "fit":
- return ( l <= x1 && x2 <= r && t <= y1 && y2 <= b );
- case "intersect":
- return ( l < x1 + ( draggable.helperProportions.width / 2 ) && // Right Half
- x2 - ( draggable.helperProportions.width / 2 ) < r && // Left Half
- t < y1 + ( draggable.helperProportions.height / 2 ) && // Bottom Half
- y2 - ( draggable.helperProportions.height / 2 ) < b ); // Top Half
- case "pointer":
- return isOverAxis(event.pageY, t, droppable.proportions().height) && isOverAxis(event.pageX, l, droppable.proportions().width);
- case "touch":
- return (
- ( y1 >= t && y1 <= b ) || // Top edge touching
- ( y2 >= t && y2 <= b ) || // Bottom edge touching
- ( y1 < t && y2 > b ) // Surrounded vertically
- ) && (
- ( x1 >= l && x1 <= r ) || // Left edge touching
- ( x2 >= l && x2 <= r ) || // Right edge touching
- ( x1 < l && x2 > r ) // Surrounded horizontally
- );
- default:
- return false;
- }
- };
- })();
-
- /*
- This manager tracks offsets of draggables and droppables
- */
- $.ui.ddmanager = {
- current: null,
- droppables: {"default": []},
- prepareOffsets: function (t, event) {
-
- var i, j,
- m = $.ui.ddmanager.droppables[t.options.scope] || [],
- type = event ? event.type : null, // workaround for #2317
- list = ( t.currentItem || t.element ).find(":data(ui-droppable)").addBack();
-
- droppablesLoop: for (i = 0; i < m.length; i++) {
-
- // No disabled and non-accepted
- if (m[i].options.disabled || ( t && !m[i].accept.call(m[i].element[0], ( t.currentItem || t.element )) )) {
- continue;
- }
-
- // Filter out elements in the current dragged item
- for (j = 0; j < list.length; j++) {
- if (list[j] === m[i].element[0]) {
- m[i].proportions().height = 0;
- continue droppablesLoop;
- }
- }
-
- m[i].visible = m[i].element.css("display") !== "none";
- if (!m[i].visible) {
- continue;
- }
-
- // Activate the droppable if used directly from draggables
- if (type === "mousedown") {
- m[i]._activate.call(m[i], event);
- }
-
- m[i].offset = m[i].element.offset();
- m[i].proportions({width: m[i].element[0].offsetWidth, height: m[i].element[0].offsetHeight});
-
- }
-
- },
- drop: function (draggable, event) {
-
- var dropped = false;
- // Create a copy of the droppables in case the list changes during the drop (#9116)
- $.each(( $.ui.ddmanager.droppables[draggable.options.scope] || [] ).slice(), function () {
-
- if (!this.options) {
- return;
- }
- if (!this.options.disabled && this.visible && $.ui.intersect(draggable, this, this.options.tolerance, event)) {
- dropped = this._drop.call(this, event) || dropped;
- }
-
- if (!this.options.disabled && this.visible && this.accept.call(this.element[0], ( draggable.currentItem || draggable.element ))) {
- this.isout = true;
- this.isover = false;
- this._deactivate.call(this, event);
- }
-
- });
- return dropped;
-
- },
- dragStart: function (draggable, event) {
- // Listen for scrolling so that if the dragging causes scrolling the position of the droppables can be recalculated (see #5003)
- draggable.element.parentsUntil("body").bind("scroll.droppable", function () {
- if (!draggable.options.refreshPositions) {
- $.ui.ddmanager.prepareOffsets(draggable, event);
- }
- });
- },
- drag: function (draggable, event) {
-
- // If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
- if (draggable.options.refreshPositions) {
- $.ui.ddmanager.prepareOffsets(draggable, event);
- }
-
- // Run through all droppables and check their positions based on specific tolerance options
- $.each($.ui.ddmanager.droppables[draggable.options.scope] || [], function () {
-
- if (this.options.disabled || this.greedyChild || !this.visible) {
- return;
- }
-
- var parentInstance, scope, parent,
- intersects = $.ui.intersect(draggable, this, this.options.tolerance, event),
- c = !intersects && this.isover ? "isout" : ( intersects && !this.isover ? "isover" : null );
- if (!c) {
- return;
- }
-
- if (this.options.greedy) {
- // find droppable parents with same scope
- scope = this.options.scope;
- parent = this.element.parents(":data(ui-droppable)").filter(function () {
- return $(this).droppable("instance").options.scope === scope;
- });
-
- if (parent.length) {
- parentInstance = $(parent[0]).droppable("instance");
- parentInstance.greedyChild = ( c === "isover" );
- }
- }
-
- // we just moved into a greedy child
- if (parentInstance && c === "isover") {
- parentInstance.isover = false;
- parentInstance.isout = true;
- parentInstance._out.call(parentInstance, event);
- }
-
- this[c] = true;
- this[c === "isout" ? "isover" : "isout"] = false;
- this[c === "isover" ? "_over" : "_out"].call(this, event);
-
- // we just moved out of a greedy child
- if (parentInstance && c === "isout") {
- parentInstance.isout = false;
- parentInstance.isover = true;
- parentInstance._over.call(parentInstance, event);
- }
- });
-
- },
- dragStop: function (draggable, event) {
- draggable.element.parentsUntil("body").unbind("scroll.droppable");
- // Call prepareOffsets one final time since IE does not fire return scroll events when overflow was caused by drag (see #5003)
- if (!draggable.options.refreshPositions) {
- $.ui.ddmanager.prepareOffsets(draggable, event);
- }
- }
- };
-
- var droppable = $.ui.droppable;
-
-
- /*!
- * jQuery UI Resizable 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/resizable/
- */
-
-
- $.widget("ui.resizable", $.ui.mouse, {
- version: "1.11.4",
- widgetEventPrefix: "resize",
- options: {
- alsoResize: false,
- animate: false,
- animateDuration: "slow",
- animateEasing: "swing",
- aspectRatio: false,
- autoHide: false,
- containment: false,
- ghost: false,
- grid: false,
- handles: "e,s,se",
- helper: false,
- maxHeight: null,
- maxWidth: null,
- minHeight: 10,
- minWidth: 10,
- // See #7960
- zIndex: 90,
-
- // callbacks
- resize: null,
- start: null,
- stop: null
- },
-
- _num: function (value) {
- return parseInt(value, 10) || 0;
- },
-
- _isNumber: function (value) {
- return !isNaN(parseInt(value, 10));
- },
-
- _hasScroll: function (el, a) {
-
- if ($(el).css("overflow") === "hidden") {
- return false;
- }
-
- var scroll = ( a && a === "left" ) ? "scrollLeft" : "scrollTop",
- has = false;
-
- if (el[scroll] > 0) {
- return true;
- }
-
- // TODO: determine which cases actually cause this to happen
- // if the element doesn't have the scroll set, see if it's possible to
- // set the scroll
- el[scroll] = 1;
- has = ( el[scroll] > 0 );
- el[scroll] = 0;
- return has;
- },
-
- _create: function () {
-
- var n, i, handle, axis, hname,
- that = this,
- o = this.options;
- this.element.addClass("ui-resizable");
-
- $.extend(this, {
- _aspectRatio: !!(o.aspectRatio),
- aspectRatio: o.aspectRatio,
- originalElement: this.element,
- _proportionallyResizeElements: [],
- _helper: o.helper || o.ghost || o.animate ? o.helper || "ui-resizable-helper" : null
- });
-
- // Wrap the element if it cannot hold child nodes
- if (this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)) {
-
- this.element.wrap(
- $("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({
- position: this.element.css("position"),
- width: this.element.outerWidth(),
- height: this.element.outerHeight(),
- top: this.element.css("top"),
- left: this.element.css("left")
- })
- );
-
- this.element = this.element.parent().data(
- "ui-resizable", this.element.resizable("instance")
- );
-
- this.elementIsWrapper = true;
-
- this.element.css({
- marginLeft: this.originalElement.css("marginLeft"),
- marginTop: this.originalElement.css("marginTop"),
- marginRight: this.originalElement.css("marginRight"),
- marginBottom: this.originalElement.css("marginBottom")
- });
- this.originalElement.css({
- marginLeft: 0,
- marginTop: 0,
- marginRight: 0,
- marginBottom: 0
- });
- // support: Safari
- // Prevent Safari textarea resize
- this.originalResizeStyle = this.originalElement.css("resize");
- this.originalElement.css("resize", "none");
-
- this._proportionallyResizeElements.push(this.originalElement.css({
- position: "static",
- zoom: 1,
- display: "block"
- }));
-
- // support: IE9
- // avoid IE jump (hard set the margin)
- this.originalElement.css({margin: this.originalElement.css("margin")});
-
- this._proportionallyResize();
- }
-
- this.handles = o.handles ||
- ( !$(".ui-resizable-handle", this.element).length ?
- "e,s,se" : {
- n: ".ui-resizable-n",
- e: ".ui-resizable-e",
- s: ".ui-resizable-s",
- w: ".ui-resizable-w",
- se: ".ui-resizable-se",
- sw: ".ui-resizable-sw",
- ne: ".ui-resizable-ne",
- nw: ".ui-resizable-nw"
- } );
-
- this._handles = $();
- if (this.handles.constructor === String) {
-
- if (this.handles === "all") {
- this.handles = "n,e,s,w,se,sw,ne,nw";
- }
-
- n = this.handles.split(",");
- this.handles = {};
-
- for (i = 0; i < n.length; i++) {
-
- handle = $.trim(n[i]);
- hname = "ui-resizable-" + handle;
- axis = $("<div class='ui-resizable-handle " + hname + "'></div>");
-
- axis.css({zIndex: o.zIndex});
-
- // TODO : What's going on here?
- if ("se" === handle) {
- axis.addClass("ui-icon ui-icon-gripsmall-diagonal-se");
- }
-
- this.handles[handle] = ".ui-resizable-" + handle;
- this.element.append(axis);
- }
-
- }
-
- this._renderAxis = function (target) {
-
- var i, axis, padPos, padWrapper;
-
- target = target || this.element;
-
- for (i in this.handles) {
-
- if (this.handles[i].constructor === String) {
- this.handles[i] = this.element.children(this.handles[i]).first().show();
- } else if (this.handles[i].jquery || this.handles[i].nodeType) {
- this.handles[i] = $(this.handles[i]);
- this._on(this.handles[i], {"mousedown": that._mouseDown});
- }
-
- if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)) {
-
- axis = $(this.handles[i], this.element);
-
- padWrapper = /sw|ne|nw|se|n|s/.test(i) ? axis.outerHeight() : axis.outerWidth();
-
- padPos = ["padding",
- /ne|nw|n/.test(i) ? "Top" :
- /se|sw|s/.test(i) ? "Bottom" :
- /^e$/.test(i) ? "Right" : "Left"].join("");
-
- target.css(padPos, padWrapper);
-
- this._proportionallyResize();
- }
-
- this._handles = this._handles.add(this.handles[i]);
- }
- };
-
- // TODO: make renderAxis a prototype function
- this._renderAxis(this.element);
-
- this._handles = this._handles.add(this.element.find(".ui-resizable-handle"));
- this._handles.disableSelection();
-
- this._handles.mouseover(function () {
- if (!that.resizing) {
- if (this.className) {
- axis = this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);
- }
- that.axis = axis && axis[1] ? axis[1] : "se";
- }
- });
-
- if (o.autoHide) {
- this._handles.hide();
- $(this.element)
- .addClass("ui-resizable-autohide")
- .mouseenter(function () {
- if (o.disabled) {
- return;
- }
- $(this).removeClass("ui-resizable-autohide");
- that._handles.show();
- })
- .mouseleave(function () {
- if (o.disabled) {
- return;
- }
- if (!that.resizing) {
- $(this).addClass("ui-resizable-autohide");
- that._handles.hide();
- }
- });
- }
-
- this._mouseInit();
- },
-
- _destroy: function () {
-
- this._mouseDestroy();
-
- var wrapper,
- _destroy = function (exp) {
- $(exp)
- .removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing")
- .removeData("resizable")
- .removeData("ui-resizable")
- .unbind(".resizable")
- .find(".ui-resizable-handle")
- .remove();
- };
-
- // TODO: Unwrap at same DOM position
- if (this.elementIsWrapper) {
- _destroy(this.element);
- wrapper = this.element;
- this.originalElement.css({
- position: wrapper.css("position"),
- width: wrapper.outerWidth(),
- height: wrapper.outerHeight(),
- top: wrapper.css("top"),
- left: wrapper.css("left")
- }).insertAfter(wrapper);
- wrapper.remove();
- }
-
- this.originalElement.css("resize", this.originalResizeStyle);
- _destroy(this.originalElement);
-
- return this;
- },
-
- _mouseCapture: function (event) {
- var i, handle,
- capture = false;
-
- for (i in this.handles) {
- handle = $(this.handles[i])[0];
- if (handle === event.target || $.contains(handle, event.target)) {
- capture = true;
- }
- }
-
- return !this.options.disabled && capture;
- },
-
- _mouseStart: function (event) {
-
- var curleft, curtop, cursor,
- o = this.options,
- el = this.element;
-
- this.resizing = true;
-
- this._renderProxy();
-
- curleft = this._num(this.helper.css("left"));
- curtop = this._num(this.helper.css("top"));
-
- if (o.containment) {
- curleft += $(o.containment).scrollLeft() || 0;
- curtop += $(o.containment).scrollTop() || 0;
- }
-
- this.offset = this.helper.offset();
- this.position = {left: curleft, top: curtop};
-
- this.size = this._helper ? {
- width: this.helper.width(),
- height: this.helper.height()
- } : {
- width: el.width(),
- height: el.height()
- };
-
- this.originalSize = this._helper ? {
- width: el.outerWidth(),
- height: el.outerHeight()
- } : {
- width: el.width(),
- height: el.height()
- };
-
- this.sizeDiff = {
- width: el.outerWidth() - el.width(),
- height: el.outerHeight() - el.height()
- };
-
- this.originalPosition = {left: curleft, top: curtop};
- this.originalMousePosition = {left: event.pageX, top: event.pageY};
-
- this.aspectRatio = (typeof o.aspectRatio === "number") ?
- o.aspectRatio :
- ((this.originalSize.width / this.originalSize.height) || 1);
-
- cursor = $(".ui-resizable-" + this.axis).css("cursor");
- $("body").css("cursor", cursor === "auto" ? this.axis + "-resize" : cursor);
-
- el.addClass("ui-resizable-resizing");
- this._propagate("start", event);
- return true;
- },
-
- _mouseDrag: function (event) {
-
- var data, props,
- smp = this.originalMousePosition,
- a = this.axis,
- dx = (event.pageX - smp.left) || 0,
- dy = (event.pageY - smp.top) || 0,
- trigger = this._change[a];
-
- this._updatePrevProperties();
-
- if (!trigger) {
- return false;
- }
-
- data = trigger.apply(this, [event, dx, dy]);
-
- this._updateVirtualBoundaries(event.shiftKey);
- if (this._aspectRatio || event.shiftKey) {
- data = this._updateRatio(data, event);
- }
-
- data = this._respectSize(data, event);
-
- this._updateCache(data);
-
- this._propagate("resize", event);
-
- props = this._applyChanges();
-
- if (!this._helper && this._proportionallyResizeElements.length) {
- this._proportionallyResize();
- }
-
- if (!$.isEmptyObject(props)) {
- this._updatePrevProperties();
- this._trigger("resize", event, this.ui());
- this._applyChanges();
- }
-
- return false;
- },
-
- _mouseStop: function (event) {
-
- this.resizing = false;
- var pr, ista, soffseth, soffsetw, s, left, top,
- o = this.options, that = this;
-
- if (this._helper) {
-
- pr = this._proportionallyResizeElements;
- ista = pr.length && (/textarea/i).test(pr[0].nodeName);
- soffseth = ista && this._hasScroll(pr[0], "left") ? 0 : that.sizeDiff.height;
- soffsetw = ista ? 0 : that.sizeDiff.width;
-
- s = {
- width: (that.helper.width() - soffsetw),
- height: (that.helper.height() - soffseth)
- };
- left = (parseInt(that.element.css("left"), 10) +
- (that.position.left - that.originalPosition.left)) || null;
- top = (parseInt(that.element.css("top"), 10) +
- (that.position.top - that.originalPosition.top)) || null;
-
- if (!o.animate) {
- this.element.css($.extend(s, {top: top, left: left}));
- }
-
- that.helper.height(that.size.height);
- that.helper.width(that.size.width);
-
- if (this._helper && !o.animate) {
- this._proportionallyResize();
- }
- }
-
- $("body").css("cursor", "auto");
-
- this.element.removeClass("ui-resizable-resizing");
-
- this._propagate("stop", event);
-
- if (this._helper) {
- this.helper.remove();
- }
-
- return false;
-
- },
-
- _updatePrevProperties: function () {
- this.prevPosition = {
- top: this.position.top,
- left: this.position.left
- };
- this.prevSize = {
- width: this.size.width,
- height: this.size.height
- };
- },
-
- _applyChanges: function () {
- var props = {};
-
- if (this.position.top !== this.prevPosition.top) {
- props.top = this.position.top + "px";
- }
- if (this.position.left !== this.prevPosition.left) {
- props.left = this.position.left + "px";
- }
- if (this.size.width !== this.prevSize.width) {
- props.width = this.size.width + "px";
- }
- if (this.size.height !== this.prevSize.height) {
- props.height = this.size.height + "px";
- }
-
- this.helper.css(props);
-
- return props;
- },
-
- _updateVirtualBoundaries: function (forceAspectRatio) {
- var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b,
- o = this.options;
-
- b = {
- minWidth: this._isNumber(o.minWidth) ? o.minWidth : 0,
- maxWidth: this._isNumber(o.maxWidth) ? o.maxWidth : Infinity,
- minHeight: this._isNumber(o.minHeight) ? o.minHeight : 0,
- maxHeight: this._isNumber(o.maxHeight) ? o.maxHeight : Infinity
- };
-
- if (this._aspectRatio || forceAspectRatio) {
- pMinWidth = b.minHeight * this.aspectRatio;
- pMinHeight = b.minWidth / this.aspectRatio;
- pMaxWidth = b.maxHeight * this.aspectRatio;
- pMaxHeight = b.maxWidth / this.aspectRatio;
-
- if (pMinWidth > b.minWidth) {
- b.minWidth = pMinWidth;
- }
- if (pMinHeight > b.minHeight) {
- b.minHeight = pMinHeight;
- }
- if (pMaxWidth < b.maxWidth) {
- b.maxWidth = pMaxWidth;
- }
- if (pMaxHeight < b.maxHeight) {
- b.maxHeight = pMaxHeight;
- }
- }
- this._vBoundaries = b;
- },
-
- _updateCache: function (data) {
- this.offset = this.helper.offset();
- if (this._isNumber(data.left)) {
- this.position.left = data.left;
- }
- if (this._isNumber(data.top)) {
- this.position.top = data.top;
- }
- if (this._isNumber(data.height)) {
- this.size.height = data.height;
- }
- if (this._isNumber(data.width)) {
- this.size.width = data.width;
- }
- },
-
- _updateRatio: function (data) {
-
- var cpos = this.position,
- csize = this.size,
- a = this.axis;
-
- if (this._isNumber(data.height)) {
- data.width = (data.height * this.aspectRatio);
- } else if (this._isNumber(data.width)) {
- data.height = (data.width / this.aspectRatio);
- }
-
- if (a === "sw") {
- data.left = cpos.left + (csize.width - data.width);
- data.top = null;
- }
- if (a === "nw") {
- data.top = cpos.top + (csize.height - data.height);
- data.left = cpos.left + (csize.width - data.width);
- }
-
- return data;
- },
-
- _respectSize: function (data) {
-
- var o = this._vBoundaries,
- a = this.axis,
- ismaxw = this._isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width),
- ismaxh = this._isNumber(data.height) && o.maxHeight && (o.maxHeight < data.height),
- isminw = this._isNumber(data.width) && o.minWidth && (o.minWidth > data.width),
- isminh = this._isNumber(data.height) && o.minHeight && (o.minHeight > data.height),
- dw = this.originalPosition.left + this.originalSize.width,
- dh = this.position.top + this.size.height,
- cw = /sw|nw|w/.test(a), ch = /nw|ne|n/.test(a);
- if (isminw) {
- data.width = o.minWidth;
- }
- if (isminh) {
- data.height = o.minHeight;
- }
- if (ismaxw) {
- data.width = o.maxWidth;
- }
- if (ismaxh) {
- data.height = o.maxHeight;
- }
-
- if (isminw && cw) {
- data.left = dw - o.minWidth;
- }
- if (ismaxw && cw) {
- data.left = dw - o.maxWidth;
- }
- if (isminh && ch) {
- data.top = dh - o.minHeight;
- }
- if (ismaxh && ch) {
- data.top = dh - o.maxHeight;
- }
-
- // Fixing jump error on top/left - bug #2330
- if (!data.width && !data.height && !data.left && data.top) {
- data.top = null;
- } else if (!data.width && !data.height && !data.top && data.left) {
- data.left = null;
- }
-
- return data;
- },
-
- _getPaddingPlusBorderDimensions: function (element) {
- var i = 0,
- widths = [],
- borders = [
- element.css("borderTopWidth"),
- element.css("borderRightWidth"),
- element.css("borderBottomWidth"),
- element.css("borderLeftWidth")
- ],
- paddings = [
- element.css("paddingTop"),
- element.css("paddingRight"),
- element.css("paddingBottom"),
- element.css("paddingLeft")
- ];
-
- for (; i < 4; i++) {
- widths[i] = ( parseInt(borders[i], 10) || 0 );
- widths[i] += ( parseInt(paddings[i], 10) || 0 );
- }
-
- return {
- height: widths[0] + widths[2],
- width: widths[1] + widths[3]
- };
- },
-
- _proportionallyResize: function () {
-
- if (!this._proportionallyResizeElements.length) {
- return;
- }
-
- var prel,
- i = 0,
- element = this.helper || this.element;
-
- for (; i < this._proportionallyResizeElements.length; i++) {
-
- prel = this._proportionallyResizeElements[i];
-
- // TODO: Seems like a bug to cache this.outerDimensions
- // considering that we are in a loop.
- if (!this.outerDimensions) {
- this.outerDimensions = this._getPaddingPlusBorderDimensions(prel);
- }
-
- prel.css({
- height: (element.height() - this.outerDimensions.height) || 0,
- width: (element.width() - this.outerDimensions.width) || 0
- });
-
- }
-
- },
-
- _renderProxy: function () {
-
- var el = this.element, o = this.options;
- this.elementOffset = el.offset();
-
- if (this._helper) {
-
- this.helper = this.helper || $("<div style='overflow:hidden;'></div>");
-
- this.helper.addClass(this._helper).css({
- width: this.element.outerWidth() - 1,
- height: this.element.outerHeight() - 1,
- position: "absolute",
- left: this.elementOffset.left + "px",
- top: this.elementOffset.top + "px",
- zIndex: ++o.zIndex //TODO: Don't modify option
- });
-
- this.helper
- .appendTo("body")
- .disableSelection();
-
- } else {
- this.helper = this.element;
- }
-
- },
-
- _change: {
- e: function (event, dx) {
- return {width: this.originalSize.width + dx};
- },
- w: function (event, dx) {
- var cs = this.originalSize, sp = this.originalPosition;
- return {left: sp.left + dx, width: cs.width - dx};
- },
- n: function (event, dx, dy) {
- var cs = this.originalSize, sp = this.originalPosition;
- return {top: sp.top + dy, height: cs.height - dy};
- },
- s: function (event, dx, dy) {
- return {height: this.originalSize.height + dy};
- },
- se: function (event, dx, dy) {
- return $.extend(this._change.s.apply(this, arguments),
- this._change.e.apply(this, [event, dx, dy]));
- },
- sw: function (event, dx, dy) {
- return $.extend(this._change.s.apply(this, arguments),
- this._change.w.apply(this, [event, dx, dy]));
- },
- ne: function (event, dx, dy) {
- return $.extend(this._change.n.apply(this, arguments),
- this._change.e.apply(this, [event, dx, dy]));
- },
- nw: function (event, dx, dy) {
- return $.extend(this._change.n.apply(this, arguments),
- this._change.w.apply(this, [event, dx, dy]));
- }
- },
-
- _propagate: function (n, event) {
- $.ui.plugin.call(this, n, [event, this.ui()]);
- (n !== "resize" && this._trigger(n, event, this.ui()));
- },
-
- plugins: {},
-
- ui: function () {
- return {
- originalElement: this.originalElement,
- element: this.element,
- helper: this.helper,
- position: this.position,
- size: this.size,
- originalSize: this.originalSize,
- originalPosition: this.originalPosition
- };
- }
-
- });
-
- /*
- * Resizable Extensions
- */
-
- $.ui.plugin.add("resizable", "animate", {
-
- stop: function (event) {
- var that = $(this).resizable("instance"),
- o = that.options,
- pr = that._proportionallyResizeElements,
- ista = pr.length && (/textarea/i).test(pr[0].nodeName),
- soffseth = ista && that._hasScroll(pr[0], "left") ? 0 : that.sizeDiff.height,
- soffsetw = ista ? 0 : that.sizeDiff.width,
- style = {width: (that.size.width - soffsetw), height: (that.size.height - soffseth)},
- left = (parseInt(that.element.css("left"), 10) +
- (that.position.left - that.originalPosition.left)) || null,
- top = (parseInt(that.element.css("top"), 10) +
- (that.position.top - that.originalPosition.top)) || null;
-
- that.element.animate(
- $.extend(style, top && left ? {top: top, left: left} : {}), {
- duration: o.animateDuration,
- easing: o.animateEasing,
- step: function () {
-
- var data = {
- width: parseInt(that.element.css("width"), 10),
- height: parseInt(that.element.css("height"), 10),
- top: parseInt(that.element.css("top"), 10),
- left: parseInt(that.element.css("left"), 10)
- };
-
- if (pr && pr.length) {
- $(pr[0]).css({width: data.width, height: data.height});
- }
-
- // propagating resize, and updating values for each animation step
- that._updateCache(data);
- that._propagate("resize", event);
-
- }
- }
- );
- }
-
- });
-
- $.ui.plugin.add("resizable", "containment", {
-
- start: function () {
- var element, p, co, ch, cw, width, height,
- that = $(this).resizable("instance"),
- o = that.options,
- el = that.element,
- oc = o.containment,
- ce = ( oc instanceof $ ) ? oc.get(0) : ( /parent/.test(oc) ) ? el.parent().get(0) : oc;
-
- if (!ce) {
- return;
- }
-
- that.containerElement = $(ce);
-
- if (/document/.test(oc) || oc === document) {
- that.containerOffset = {
- left: 0,
- top: 0
- };
- that.containerPosition = {
- left: 0,
- top: 0
- };
-
- that.parentData = {
- element: $(document),
- left: 0,
- top: 0,
- width: $(document).width(),
- height: $(document).height() || document.body.parentNode.scrollHeight
- };
- } else {
- element = $(ce);
- p = [];
- $(["Top", "Right", "Left", "Bottom"]).each(function (i, name) {
- p[i] = that._num(element.css("padding" + name));
- });
-
- that.containerOffset = element.offset();
- that.containerPosition = element.position();
- that.containerSize = {
- height: ( element.innerHeight() - p[3] ),
- width: ( element.innerWidth() - p[1] )
- };
-
- co = that.containerOffset;
- ch = that.containerSize.height;
- cw = that.containerSize.width;
- width = ( that._hasScroll(ce, "left") ? ce.scrollWidth : cw );
- height = ( that._hasScroll(ce) ? ce.scrollHeight : ch );
-
- that.parentData = {
- element: ce,
- left: co.left,
- top: co.top,
- width: width,
- height: height
- };
- }
- },
-
- resize: function (event) {
- var woset, hoset, isParent, isOffsetRelative,
- that = $(this).resizable("instance"),
- o = that.options,
- co = that.containerOffset,
- cp = that.position,
- pRatio = that._aspectRatio || event.shiftKey,
- cop = {
- top: 0,
- left: 0
- },
- ce = that.containerElement,
- continueResize = true;
-
- if (ce[0] !== document && ( /static/ ).test(ce.css("position"))) {
- cop = co;
- }
-
- if (cp.left < ( that._helper ? co.left : 0 )) {
- that.size.width = that.size.width +
- ( that._helper ?
- ( that.position.left - co.left ) :
- ( that.position.left - cop.left ) );
-
- if (pRatio) {
- that.size.height = that.size.width / that.aspectRatio;
- continueResize = false;
- }
- that.position.left = o.helper ? co.left : 0;
- }
-
- if (cp.top < ( that._helper ? co.top : 0 )) {
- that.size.height = that.size.height +
- ( that._helper ?
- ( that.position.top - co.top ) :
- that.position.top );
-
- if (pRatio) {
- that.size.width = that.size.height * that.aspectRatio;
- continueResize = false;
- }
- that.position.top = that._helper ? co.top : 0;
- }
-
- isParent = that.containerElement.get(0) === that.element.parent().get(0);
- isOffsetRelative = /relative|absolute/.test(that.containerElement.css("position"));
-
- if (isParent && isOffsetRelative) {
- that.offset.left = that.parentData.left + that.position.left;
- that.offset.top = that.parentData.top + that.position.top;
- } else {
- that.offset.left = that.element.offset().left;
- that.offset.top = that.element.offset().top;
- }
-
- woset = Math.abs(that.sizeDiff.width +
- (that._helper ?
- that.offset.left - cop.left :
- (that.offset.left - co.left)));
-
- hoset = Math.abs(that.sizeDiff.height +
- (that._helper ?
- that.offset.top - cop.top :
- (that.offset.top - co.top)));
-
- if (woset + that.size.width >= that.parentData.width) {
- that.size.width = that.parentData.width - woset;
- if (pRatio) {
- that.size.height = that.size.width / that.aspectRatio;
- continueResize = false;
- }
- }
-
- if (hoset + that.size.height >= that.parentData.height) {
- that.size.height = that.parentData.height - hoset;
- if (pRatio) {
- that.size.width = that.size.height * that.aspectRatio;
- continueResize = false;
- }
- }
-
- if (!continueResize) {
- that.position.left = that.prevPosition.left;
- that.position.top = that.prevPosition.top;
- that.size.width = that.prevSize.width;
- that.size.height = that.prevSize.height;
- }
- },
-
- stop: function () {
- var that = $(this).resizable("instance"),
- o = that.options,
- co = that.containerOffset,
- cop = that.containerPosition,
- ce = that.containerElement,
- helper = $(that.helper),
- ho = helper.offset(),
- w = helper.outerWidth() - that.sizeDiff.width,
- h = helper.outerHeight() - that.sizeDiff.height;
-
- if (that._helper && !o.animate && ( /relative/ ).test(ce.css("position"))) {
- $(this).css({
- left: ho.left - cop.left - co.left,
- width: w,
- height: h
- });
- }
-
- if (that._helper && !o.animate && ( /static/ ).test(ce.css("position"))) {
- $(this).css({
- left: ho.left - cop.left - co.left,
- width: w,
- height: h
- });
- }
- }
- });
-
- $.ui.plugin.add("resizable", "alsoResize", {
-
- start: function () {
- var that = $(this).resizable("instance"),
- o = that.options;
-
- $(o.alsoResize).each(function () {
- var el = $(this);
- el.data("ui-resizable-alsoresize", {
- width: parseInt(el.width(), 10), height: parseInt(el.height(), 10),
- left: parseInt(el.css("left"), 10), top: parseInt(el.css("top"), 10)
- });
- });
- },
-
- resize: function (event, ui) {
- var that = $(this).resizable("instance"),
- o = that.options,
- os = that.originalSize,
- op = that.originalPosition,
- delta = {
- height: (that.size.height - os.height) || 0,
- width: (that.size.width - os.width) || 0,
- top: (that.position.top - op.top) || 0,
- left: (that.position.left - op.left) || 0
- };
-
- $(o.alsoResize).each(function () {
- var el = $(this), start = $(this).data("ui-resizable-alsoresize"), style = {},
- css = el.parents(ui.originalElement[0]).length ?
- ["width", "height"] :
- ["width", "height", "top", "left"];
-
- $.each(css, function (i, prop) {
- var sum = (start[prop] || 0) + (delta[prop] || 0);
- if (sum && sum >= 0) {
- style[prop] = sum || null;
- }
- });
-
- el.css(style);
- });
- },
-
- stop: function () {
- $(this).removeData("resizable-alsoresize");
- }
- });
-
- $.ui.plugin.add("resizable", "ghost", {
-
- start: function () {
-
- var that = $(this).resizable("instance"), o = that.options, cs = that.size;
-
- that.ghost = that.originalElement.clone();
- that.ghost
- .css({
- opacity: 0.25,
- display: "block",
- position: "relative",
- height: cs.height,
- width: cs.width,
- margin: 0,
- left: 0,
- top: 0
- })
- .addClass("ui-resizable-ghost")
- .addClass(typeof o.ghost === "string" ? o.ghost : "");
-
- that.ghost.appendTo(that.helper);
-
- },
-
- resize: function () {
- var that = $(this).resizable("instance");
- if (that.ghost) {
- that.ghost.css({
- position: "relative",
- height: that.size.height,
- width: that.size.width
- });
- }
- },
-
- stop: function () {
- var that = $(this).resizable("instance");
- if (that.ghost && that.helper) {
- that.helper.get(0).removeChild(that.ghost.get(0));
- }
- }
-
- });
-
- $.ui.plugin.add("resizable", "grid", {
-
- resize: function () {
- var outerDimensions,
- that = $(this).resizable("instance"),
- o = that.options,
- cs = that.size,
- os = that.originalSize,
- op = that.originalPosition,
- a = that.axis,
- grid = typeof o.grid === "number" ? [o.grid, o.grid] : o.grid,
- gridX = (grid[0] || 1),
- gridY = (grid[1] || 1),
- ox = Math.round((cs.width - os.width) / gridX) * gridX,
- oy = Math.round((cs.height - os.height) / gridY) * gridY,
- newWidth = os.width + ox,
- newHeight = os.height + oy,
- isMaxWidth = o.maxWidth && (o.maxWidth < newWidth),
- isMaxHeight = o.maxHeight && (o.maxHeight < newHeight),
- isMinWidth = o.minWidth && (o.minWidth > newWidth),
- isMinHeight = o.minHeight && (o.minHeight > newHeight);
-
- o.grid = grid;
-
- if (isMinWidth) {
- newWidth += gridX;
- }
- if (isMinHeight) {
- newHeight += gridY;
- }
- if (isMaxWidth) {
- newWidth -= gridX;
- }
- if (isMaxHeight) {
- newHeight -= gridY;
- }
-
- if (/^(se|s|e)$/.test(a)) {
- that.size.width = newWidth;
- that.size.height = newHeight;
- } else if (/^(ne)$/.test(a)) {
- that.size.width = newWidth;
- that.size.height = newHeight;
- that.position.top = op.top - oy;
- } else if (/^(sw)$/.test(a)) {
- that.size.width = newWidth;
- that.size.height = newHeight;
- that.position.left = op.left - ox;
- } else {
- if (newHeight - gridY <= 0 || newWidth - gridX <= 0) {
- outerDimensions = that._getPaddingPlusBorderDimensions(this);
- }
-
- if (newHeight - gridY > 0) {
- that.size.height = newHeight;
- that.position.top = op.top - oy;
- } else {
- newHeight = gridY - outerDimensions.height;
- that.size.height = newHeight;
- that.position.top = op.top + os.height - newHeight;
- }
- if (newWidth - gridX > 0) {
- that.size.width = newWidth;
- that.position.left = op.left - ox;
- } else {
- newWidth = gridX - outerDimensions.width;
- that.size.width = newWidth;
- that.position.left = op.left + os.width - newWidth;
- }
- }
- }
-
- });
-
- var resizable = $.ui.resizable;
-
-
- /*!
- * jQuery UI Selectable 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/selectable/
- */
-
-
- var selectable = $.widget("ui.selectable", $.ui.mouse, {
- version: "1.11.4",
- options: {
- appendTo: "body",
- autoRefresh: true,
- distance: 0,
- filter: "*",
- tolerance: "touch",
-
- // callbacks
- selected: null,
- selecting: null,
- start: null,
- stop: null,
- unselected: null,
- unselecting: null
- },
- _create: function () {
- var selectees,
- that = this;
-
- this.element.addClass("ui-selectable");
-
- this.dragged = false;
-
- // cache selectee children based on filter
- this.refresh = function () {
- selectees = $(that.options.filter, that.element[0]);
- selectees.addClass("ui-selectee");
- selectees.each(function () {
- var $this = $(this),
- pos = $this.offset();
- $.data(this, "selectable-item", {
- element: this,
- $element: $this,
- left: pos.left,
- top: pos.top,
- right: pos.left + $this.outerWidth(),
- bottom: pos.top + $this.outerHeight(),
- startselected: false,
- selected: $this.hasClass("ui-selected"),
- selecting: $this.hasClass("ui-selecting"),
- unselecting: $this.hasClass("ui-unselecting")
- });
- });
- };
- this.refresh();
-
- this.selectees = selectees.addClass("ui-selectee");
-
- this._mouseInit();
-
- this.helper = $("<div class='ui-selectable-helper'></div>");
- },
-
- _destroy: function () {
- this.selectees
- .removeClass("ui-selectee")
- .removeData("selectable-item");
- this.element
- .removeClass("ui-selectable ui-selectable-disabled");
- this._mouseDestroy();
- },
-
- _mouseStart: function (event) {
- var that = this,
- options = this.options;
-
- this.opos = [event.pageX, event.pageY];
-
- if (this.options.disabled) {
- return;
- }
-
- this.selectees = $(options.filter, this.element[0]);
-
- this._trigger("start", event);
-
- $(options.appendTo).append(this.helper);
- // position helper (lasso)
- this.helper.css({
- "left": event.pageX,
- "top": event.pageY,
- "width": 0,
- "height": 0
- });
-
- if (options.autoRefresh) {
- this.refresh();
- }
-
- this.selectees.filter(".ui-selected").each(function () {
- var selectee = $.data(this, "selectable-item");
- selectee.startselected = true;
- if (!event.metaKey && !event.ctrlKey) {
- selectee.$element.removeClass("ui-selected");
- selectee.selected = false;
- selectee.$element.addClass("ui-unselecting");
- selectee.unselecting = true;
- // selectable UNSELECTING callback
- that._trigger("unselecting", event, {
- unselecting: selectee.element
- });
- }
- });
-
- $(event.target).parents().addBack().each(function () {
- var doSelect,
- selectee = $.data(this, "selectable-item");
- if (selectee) {
- doSelect = (!event.metaKey && !event.ctrlKey) || !selectee.$element.hasClass("ui-selected");
- selectee.$element
- .removeClass(doSelect ? "ui-unselecting" : "ui-selected")
- .addClass(doSelect ? "ui-selecting" : "ui-unselecting");
- selectee.unselecting = !doSelect;
- selectee.selecting = doSelect;
- selectee.selected = doSelect;
- // selectable (UN)SELECTING callback
- if (doSelect) {
- that._trigger("selecting", event, {
- selecting: selectee.element
- });
- } else {
- that._trigger("unselecting", event, {
- unselecting: selectee.element
- });
- }
- return false;
- }
- });
-
- },
-
- _mouseDrag: function (event) {
-
- this.dragged = true;
-
- if (this.options.disabled) {
- return;
- }
-
- var tmp,
- that = this,
- options = this.options,
- x1 = this.opos[0],
- y1 = this.opos[1],
- x2 = event.pageX,
- y2 = event.pageY;
-
- if (x1 > x2) {
- tmp = x2;
- x2 = x1;
- x1 = tmp;
- }
- if (y1 > y2) {
- tmp = y2;
- y2 = y1;
- y1 = tmp;
- }
- this.helper.css({left: x1, top: y1, width: x2 - x1, height: y2 - y1});
-
- this.selectees.each(function () {
- var selectee = $.data(this, "selectable-item"),
- hit = false;
-
- //prevent helper from being selected if appendTo: selectable
- if (!selectee || selectee.element === that.element[0]) {
- return;
- }
-
- if (options.tolerance === "touch") {
- hit = ( !(selectee.left > x2 || selectee.right < x1 || selectee.top > y2 || selectee.bottom < y1) );
- } else if (options.tolerance === "fit") {
- hit = (selectee.left > x1 && selectee.right < x2 && selectee.top > y1 && selectee.bottom < y2);
- }
-
- if (hit) {
- // SELECT
- if (selectee.selected) {
- selectee.$element.removeClass("ui-selected");
- selectee.selected = false;
- }
- if (selectee.unselecting) {
- selectee.$element.removeClass("ui-unselecting");
- selectee.unselecting = false;
- }
- if (!selectee.selecting) {
- selectee.$element.addClass("ui-selecting");
- selectee.selecting = true;
- // selectable SELECTING callback
- that._trigger("selecting", event, {
- selecting: selectee.element
- });
- }
- } else {
- // UNSELECT
- if (selectee.selecting) {
- if ((event.metaKey || event.ctrlKey) && selectee.startselected) {
- selectee.$element.removeClass("ui-selecting");
- selectee.selecting = false;
- selectee.$element.addClass("ui-selected");
- selectee.selected = true;
- } else {
- selectee.$element.removeClass("ui-selecting");
- selectee.selecting = false;
- if (selectee.startselected) {
- selectee.$element.addClass("ui-unselecting");
- selectee.unselecting = true;
- }
- // selectable UNSELECTING callback
- that._trigger("unselecting", event, {
- unselecting: selectee.element
- });
- }
- }
- if (selectee.selected) {
- if (!event.metaKey && !event.ctrlKey && !selectee.startselected) {
- selectee.$element.removeClass("ui-selected");
- selectee.selected = false;
-
- selectee.$element.addClass("ui-unselecting");
- selectee.unselecting = true;
- // selectable UNSELECTING callback
- that._trigger("unselecting", event, {
- unselecting: selectee.element
- });
- }
- }
- }
- });
-
- return false;
- },
-
- _mouseStop: function (event) {
- var that = this;
-
- this.dragged = false;
-
- $(".ui-unselecting", this.element[0]).each(function () {
- var selectee = $.data(this, "selectable-item");
- selectee.$element.removeClass("ui-unselecting");
- selectee.unselecting = false;
- selectee.startselected = false;
- that._trigger("unselected", event, {
- unselected: selectee.element
- });
- });
- $(".ui-selecting", this.element[0]).each(function () {
- var selectee = $.data(this, "selectable-item");
- selectee.$element.removeClass("ui-selecting").addClass("ui-selected");
- selectee.selecting = false;
- selectee.selected = true;
- selectee.startselected = true;
- that._trigger("selected", event, {
- selected: selectee.element
- });
- });
- this._trigger("stop", event);
-
- this.helper.remove();
-
- return false;
- }
-
- });
-
-
- /*!
- * jQuery UI Sortable 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/sortable/
- */
-
-
- var sortable = $.widget("ui.sortable", $.ui.mouse, {
- version: "1.11.4",
- widgetEventPrefix: "sort",
- ready: false,
- options: {
- appendTo: "parent",
- axis: false,
- connectWith: false,
- containment: false,
- cursor: "auto",
- cursorAt: false,
- dropOnEmpty: true,
- forcePlaceholderSize: false,
- forceHelperSize: false,
- grid: false,
- handle: false,
- helper: "original",
- items: "> *",
- opacity: false,
- placeholder: false,
- revert: false,
- scroll: true,
- scrollSensitivity: 20,
- scrollSpeed: 20,
- scope: "default",
- tolerance: "intersect",
- zIndex: 1000,
-
- // callbacks
- activate: null,
- beforeStop: null,
- change: null,
- deactivate: null,
- out: null,
- over: null,
- receive: null,
- remove: null,
- sort: null,
- start: null,
- stop: null,
- update: null
- },
-
- _isOverAxis: function (x, reference, size) {
- return ( x >= reference ) && ( x < ( reference + size ) );
- },
-
- _isFloating: function (item) {
- return (/left|right/).test(item.css("float")) || (/inline|table-cell/).test(item.css("display"));
- },
-
- _create: function () {
- this.containerCache = {};
- this.element.addClass("ui-sortable");
-
- //Get the items
- this.refresh();
-
- //Let's determine the parent's offset
- this.offset = this.element.offset();
-
- //Initialize mouse events for interaction
- this._mouseInit();
-
- this._setHandleClassName();
-
- //We're ready to go
- this.ready = true;
-
- },
-
- _setOption: function (key, value) {
- this._super(key, value);
-
- if (key === "handle") {
- this._setHandleClassName();
- }
- },
-
- _setHandleClassName: function () {
- this.element.find(".ui-sortable-handle").removeClass("ui-sortable-handle");
- $.each(this.items, function () {
- ( this.instance.options.handle ?
- this.item.find(this.instance.options.handle) : this.item )
- .addClass("ui-sortable-handle");
- });
- },
-
- _destroy: function () {
- this.element
- .removeClass("ui-sortable ui-sortable-disabled")
- .find(".ui-sortable-handle")
- .removeClass("ui-sortable-handle");
- this._mouseDestroy();
-
- for (var i = this.items.length - 1; i >= 0; i--) {
- this.items[i].item.removeData(this.widgetName + "-item");
- }
-
- return this;
- },
-
- _mouseCapture: function (event, overrideHandle) {
- var currentItem = null,
- validHandle = false,
- that = this;
-
- if (this.reverting) {
- return false;
- }
-
- if (this.options.disabled || this.options.type === "static") {
- return false;
- }
-
- //We have to refresh the items data once first
- this._refreshItems(event);
-
- //Find out if the clicked node (or one of its parents) is a actual item in this.items
- $(event.target).parents().each(function () {
- if ($.data(this, that.widgetName + "-item") === that) {
- currentItem = $(this);
- return false;
- }
- });
- if ($.data(event.target, that.widgetName + "-item") === that) {
- currentItem = $(event.target);
- }
-
- if (!currentItem) {
- return false;
- }
- if (this.options.handle && !overrideHandle) {
- $(this.options.handle, currentItem).find("*").addBack().each(function () {
- if (this === event.target) {
- validHandle = true;
- }
- });
- if (!validHandle) {
- return false;
- }
- }
-
- this.currentItem = currentItem;
- this._removeCurrentsFromItems();
- return true;
-
- },
-
- _mouseStart: function (event, overrideHandle, noActivation) {
-
- var i, body,
- o = this.options;
-
- this.currentContainer = this;
-
- //We only need to call refreshPositions, because the refreshItems call has been moved to mouseCapture
- this.refreshPositions();
-
- //Create and append the visible helper
- this.helper = this._createHelper(event);
-
- //Cache the helper size
- this._cacheHelperProportions();
-
- /*
- * - Position generation -
- * This block generates everything position related - it's the core of draggables.
- */
-
- //Cache the margins of the original element
- this._cacheMargins();
-
- //Get the next scrolling parent
- this.scrollParent = this.helper.scrollParent();
-
- //The element's absolute position on the page minus margins
- this.offset = this.currentItem.offset();
- this.offset = {
- top: this.offset.top - this.margins.top,
- left: this.offset.left - this.margins.left
- };
-
- $.extend(this.offset, {
- click: { //Where the click happened, relative to the element
- left: event.pageX - this.offset.left,
- top: event.pageY - this.offset.top
- },
- parent: this._getParentOffset(),
- relative: this._getRelativeOffset() //This is a relative to absolute position minus the actual position calculation - only used for relative positioned helper
- });
-
- // Only after we got the offset, we can change the helper's position to absolute
- // TODO: Still need to figure out a way to make relative sorting possible
- this.helper.css("position", "absolute");
- this.cssPosition = this.helper.css("position");
-
- //Generate the original position
- this.originalPosition = this._generatePosition(event);
- this.originalPageX = event.pageX;
- this.originalPageY = event.pageY;
-
- //Adjust the mouse offset relative to the helper if "cursorAt" is supplied
- (o.cursorAt && this._adjustOffsetFromHelper(o.cursorAt));
-
- //Cache the former DOM position
- this.domPosition = {prev: this.currentItem.prev()[0], parent: this.currentItem.parent()[0]};
-
- //If the helper is not the original, hide the original so it's not playing any role during the drag, won't cause anything bad this way
- if (this.helper[0] !== this.currentItem[0]) {
- this.currentItem.hide();
- }
-
- //Create the placeholder
- this._createPlaceholder();
-
- //Set a containment if given in the options
- if (o.containment) {
- this._setContainment();
- }
-
- if (o.cursor && o.cursor !== "auto") { // cursor option
- body = this.document.find("body");
-
- // support: IE
- this.storedCursor = body.css("cursor");
- body.css("cursor", o.cursor);
-
- this.storedStylesheet = $("<style>*{ cursor: " + o.cursor + " !important; }</style>").appendTo(body);
- }
-
- if (o.opacity) { // opacity option
- if (this.helper.css("opacity")) {
- this._storedOpacity = this.helper.css("opacity");
- }
- this.helper.css("opacity", o.opacity);
- }
-
- if (o.zIndex) { // zIndex option
- if (this.helper.css("zIndex")) {
- this._storedZIndex = this.helper.css("zIndex");
- }
- this.helper.css("zIndex", o.zIndex);
- }
-
- //Prepare scrolling
- if (this.scrollParent[0] !== this.document[0] && this.scrollParent[0].tagName !== "HTML") {
- this.overflowOffset = this.scrollParent.offset();
- }
-
- //Call callbacks
- this._trigger("start", event, this._uiHash());
-
- //Recache the helper size
- if (!this._preserveHelperProportions) {
- this._cacheHelperProportions();
- }
-
-
- //Post "activate" events to possible containers
- if (!noActivation) {
- for (i = this.containers.length - 1; i >= 0; i--) {
- this.containers[i]._trigger("activate", event, this._uiHash(this));
- }
- }
-
- //Prepare possible droppables
- if ($.ui.ddmanager) {
- $.ui.ddmanager.current = this;
- }
-
- if ($.ui.ddmanager && !o.dropBehaviour) {
- $.ui.ddmanager.prepareOffsets(this, event);
- }
-
- this.dragging = true;
-
- this.helper.addClass("ui-sortable-helper");
- this._mouseDrag(event); //Execute the drag once - this causes the helper not to be visible before getting its correct position
- return true;
-
- },
-
- _mouseDrag: function (event) {
- var i, item, itemElement, intersection,
- o = this.options,
- scrolled = false;
-
- //Compute the helpers position
- this.position = this._generatePosition(event);
- this.positionAbs = this._convertPositionTo("absolute");
-
- if (!this.lastPositionAbs) {
- this.lastPositionAbs = this.positionAbs;
- }
-
- //Do scrolling
- if (this.options.scroll) {
- if (this.scrollParent[0] !== this.document[0] && this.scrollParent[0].tagName !== "HTML") {
-
- if ((this.overflowOffset.top + this.scrollParent[0].offsetHeight) - event.pageY < o.scrollSensitivity) {
- this.scrollParent[0].scrollTop = scrolled = this.scrollParent[0].scrollTop + o.scrollSpeed;
- } else if (event.pageY - this.overflowOffset.top < o.scrollSensitivity) {
- this.scrollParent[0].scrollTop = scrolled = this.scrollParent[0].scrollTop - o.scrollSpeed;
- }
-
- if ((this.overflowOffset.left + this.scrollParent[0].offsetWidth) - event.pageX < o.scrollSensitivity) {
- this.scrollParent[0].scrollLeft = scrolled = this.scrollParent[0].scrollLeft + o.scrollSpeed;
- } else if (event.pageX - this.overflowOffset.left < o.scrollSensitivity) {
- this.scrollParent[0].scrollLeft = scrolled = this.scrollParent[0].scrollLeft - o.scrollSpeed;
- }
-
- } else {
-
- if (event.pageY - this.document.scrollTop() < o.scrollSensitivity) {
- scrolled = this.document.scrollTop(this.document.scrollTop() - o.scrollSpeed);
- } else if (this.window.height() - (event.pageY - this.document.scrollTop()) < o.scrollSensitivity) {
- scrolled = this.document.scrollTop(this.document.scrollTop() + o.scrollSpeed);
- }
-
- if (event.pageX - this.document.scrollLeft() < o.scrollSensitivity) {
- scrolled = this.document.scrollLeft(this.document.scrollLeft() - o.scrollSpeed);
- } else if (this.window.width() - (event.pageX - this.document.scrollLeft()) < o.scrollSensitivity) {
- scrolled = this.document.scrollLeft(this.document.scrollLeft() + o.scrollSpeed);
- }
-
- }
-
- if (scrolled !== false && $.ui.ddmanager && !o.dropBehaviour) {
- $.ui.ddmanager.prepareOffsets(this, event);
- }
- }
-
- //Regenerate the absolute position used for position checks
- this.positionAbs = this._convertPositionTo("absolute");
-
- //Set the helper position
- if (!this.options.axis || this.options.axis !== "y") {
- this.helper[0].style.left = this.position.left + "px";
- }
- if (!this.options.axis || this.options.axis !== "x") {
- this.helper[0].style.top = this.position.top + "px";
- }
-
- //Rearrange
- for (i = this.items.length - 1; i >= 0; i--) {
-
- //Cache variables and intersection, continue if no intersection
- item = this.items[i];
- itemElement = item.item[0];
- intersection = this._intersectsWithPointer(item);
- if (!intersection) {
- continue;
- }
-
- // Only put the placeholder inside the current Container, skip all
- // items from other containers. This works because when moving
- // an item from one container to another the
- // currentContainer is switched before the placeholder is moved.
- //
- // Without this, moving items in "sub-sortables" can cause
- // the placeholder to jitter between the outer and inner container.
- if (item.instance !== this.currentContainer) {
- continue;
- }
-
- // cannot intersect with itself
- // no useless actions that have been done before
- // no action if the item moved is the parent of the item checked
- if (itemElement !== this.currentItem[0] &&
- this.placeholder[intersection === 1 ? "next" : "prev"]()[0] !== itemElement && !$.contains(this.placeholder[0], itemElement) &&
- (this.options.type === "semi-dynamic" ? !$.contains(this.element[0], itemElement) : true)
- ) {
-
- this.direction = intersection === 1 ? "down" : "up";
-
- if (this.options.tolerance === "pointer" || this._intersectsWithSides(item)) {
- this._rearrange(event, item);
- } else {
- break;
- }
-
- this._trigger("change", event, this._uiHash());
- break;
- }
- }
-
- //Post events to containers
- this._contactContainers(event);
-
- //Interconnect with droppables
- if ($.ui.ddmanager) {
- $.ui.ddmanager.drag(this, event);
- }
-
- //Call callbacks
- this._trigger("sort", event, this._uiHash());
-
- this.lastPositionAbs = this.positionAbs;
- return false;
-
- },
-
- _mouseStop: function (event, noPropagation) {
-
- if (!event) {
- return;
- }
-
- //If we are using droppables, inform the manager about the drop
- if ($.ui.ddmanager && !this.options.dropBehaviour) {
- $.ui.ddmanager.drop(this, event);
- }
-
- if (this.options.revert) {
- var that = this,
- cur = this.placeholder.offset(),
- axis = this.options.axis,
- animation = {};
-
- if (!axis || axis === "x") {
- animation.left = cur.left - this.offset.parent.left - this.margins.left + (this.offsetParent[0] === this.document[0].body ? 0 : this.offsetParent[0].scrollLeft);
- }
- if (!axis || axis === "y") {
- animation.top = cur.top - this.offset.parent.top - this.margins.top + (this.offsetParent[0] === this.document[0].body ? 0 : this.offsetParent[0].scrollTop);
- }
- this.reverting = true;
- $(this.helper).animate(animation, parseInt(this.options.revert, 10) || 500, function () {
- that._clear(event);
- });
- } else {
- this._clear(event, noPropagation);
- }
-
- return false;
-
- },
-
- cancel: function () {
-
- if (this.dragging) {
-
- this._mouseUp({target: null});
-
- if (this.options.helper === "original") {
- this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper");
- } else {
- this.currentItem.show();
- }
-
- //Post deactivating events to containers
- for (var i = this.containers.length - 1; i >= 0; i--) {
- this.containers[i]._trigger("deactivate", null, this._uiHash(this));
- if (this.containers[i].containerCache.over) {
- this.containers[i]._trigger("out", null, this._uiHash(this));
- this.containers[i].containerCache.over = 0;
- }
- }
-
- }
-
- if (this.placeholder) {
- //$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately, it unbinds ALL events from the original node!
- if (this.placeholder[0].parentNode) {
- this.placeholder[0].parentNode.removeChild(this.placeholder[0]);
- }
- if (this.options.helper !== "original" && this.helper && this.helper[0].parentNode) {
- this.helper.remove();
- }
-
- $.extend(this, {
- helper: null,
- dragging: false,
- reverting: false,
- _noFinalSort: null
- });
-
- if (this.domPosition.prev) {
- $(this.domPosition.prev).after(this.currentItem);
- } else {
- $(this.domPosition.parent).prepend(this.currentItem);
- }
- }
-
- return this;
-
- },
-
- serialize: function (o) {
-
- var items = this._getItemsAsjQuery(o && o.connected),
- str = [];
- o = o || {};
-
- $(items).each(function () {
- var res = ($(o.item || this).attr(o.attribute || "id") || "").match(o.expression || (/(.+)[\-=_](.+)/));
- if (res) {
- str.push((o.key || res[1] + "[]") + "=" + (o.key && o.expression ? res[1] : res[2]));
- }
- });
-
- if (!str.length && o.key) {
- str.push(o.key + "=");
- }
-
- return str.join("&");
-
- },
-
- toArray: function (o) {
-
- var items = this._getItemsAsjQuery(o && o.connected),
- ret = [];
-
- o = o || {};
-
- items.each(function () {
- ret.push($(o.item || this).attr(o.attribute || "id") || "");
- });
- return ret;
-
- },
-
- /* Be careful with the following core functions */
- _intersectsWith: function (item) {
-
- var x1 = this.positionAbs.left,
- x2 = x1 + this.helperProportions.width,
- y1 = this.positionAbs.top,
- y2 = y1 + this.helperProportions.height,
- l = item.left,
- r = l + item.width,
- t = item.top,
- b = t + item.height,
- dyClick = this.offset.click.top,
- dxClick = this.offset.click.left,
- isOverElementHeight = ( this.options.axis === "x" ) || ( ( y1 + dyClick ) > t && ( y1 + dyClick ) < b ),
- isOverElementWidth = ( this.options.axis === "y" ) || ( ( x1 + dxClick ) > l && ( x1 + dxClick ) < r ),
- isOverElement = isOverElementHeight && isOverElementWidth;
-
- if (this.options.tolerance === "pointer" ||
- this.options.forcePointerForContainers ||
- (this.options.tolerance !== "pointer" && this.helperProportions[this.floating ? "width" : "height"] > item[this.floating ? "width" : "height"])
- ) {
- return isOverElement;
- } else {
-
- return (l < x1 + (this.helperProportions.width / 2) && // Right Half
- x2 - (this.helperProportions.width / 2) < r && // Left Half
- t < y1 + (this.helperProportions.height / 2) && // Bottom Half
- y2 - (this.helperProportions.height / 2) < b ); // Top Half
-
- }
- },
-
- _intersectsWithPointer: function (item) {
-
- var isOverElementHeight = (this.options.axis === "x") || this._isOverAxis(this.positionAbs.top + this.offset.click.top, item.top, item.height),
- isOverElementWidth = (this.options.axis === "y") || this._isOverAxis(this.positionAbs.left + this.offset.click.left, item.left, item.width),
- isOverElement = isOverElementHeight && isOverElementWidth,
- verticalDirection = this._getDragVerticalDirection(),
- horizontalDirection = this._getDragHorizontalDirection();
-
- if (!isOverElement) {
- return false;
- }
-
- return this.floating ?
- ( ((horizontalDirection && horizontalDirection === "right") || verticalDirection === "down") ? 2 : 1 )
- : ( verticalDirection && (verticalDirection === "down" ? 2 : 1) );
-
- },
-
- _intersectsWithSides: function (item) {
-
- var isOverBottomHalf = this._isOverAxis(this.positionAbs.top + this.offset.click.top, item.top + (item.height / 2), item.height),
- isOverRightHalf = this._isOverAxis(this.positionAbs.left + this.offset.click.left, item.left + (item.width / 2), item.width),
- verticalDirection = this._getDragVerticalDirection(),
- horizontalDirection = this._getDragHorizontalDirection();
-
- if (this.floating && horizontalDirection) {
- return ((horizontalDirection === "right" && isOverRightHalf) || (horizontalDirection === "left" && !isOverRightHalf));
- } else {
- return verticalDirection && ((verticalDirection === "down" && isOverBottomHalf) || (verticalDirection === "up" && !isOverBottomHalf));
- }
-
- },
-
- _getDragVerticalDirection: function () {
- var delta = this.positionAbs.top - this.lastPositionAbs.top;
- return delta !== 0 && (delta > 0 ? "down" : "up");
- },
-
- _getDragHorizontalDirection: function () {
- var delta = this.positionAbs.left - this.lastPositionAbs.left;
- return delta !== 0 && (delta > 0 ? "right" : "left");
- },
-
- refresh: function (event) {
- this._refreshItems(event);
- this._setHandleClassName();
- this.refreshPositions();
- return this;
- },
-
- _connectWith: function () {
- var options = this.options;
- return options.connectWith.constructor === String ? [options.connectWith] : options.connectWith;
- },
-
- _getItemsAsjQuery: function (connected) {
-
- var i, j, cur, inst,
- items = [],
- queries = [],
- connectWith = this._connectWith();
-
- if (connectWith && connected) {
- for (i = connectWith.length - 1; i >= 0; i--) {
- cur = $(connectWith[i], this.document[0]);
- for (j = cur.length - 1; j >= 0; j--) {
- inst = $.data(cur[j], this.widgetFullName);
- if (inst && inst !== this && !inst.options.disabled) {
- queries.push([$.isFunction(inst.options.items) ? inst.options.items.call(inst.element) : $(inst.options.items, inst.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), inst]);
- }
- }
- }
- }
-
- queries.push([$.isFunction(this.options.items) ? this.options.items.call(this.element, null, {
- options: this.options,
- item: this.currentItem
- }) : $(this.options.items, this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), this]);
-
- function addItems() {
- items.push(this);
- }
-
- for (i = queries.length - 1; i >= 0; i--) {
- queries[i][0].each(addItems);
- }
-
- return $(items);
-
- },
-
- _removeCurrentsFromItems: function () {
-
- var list = this.currentItem.find(":data(" + this.widgetName + "-item)");
-
- this.items = $.grep(this.items, function (item) {
- for (var j = 0; j < list.length; j++) {
- if (list[j] === item.item[0]) {
- return false;
- }
- }
- return true;
- });
-
- },
-
- _refreshItems: function (event) {
-
- this.items = [];
- this.containers = [this];
-
- var i, j, cur, inst, targetData, _queries, item, queriesLength,
- items = this.items,
- queries = [[$.isFunction(this.options.items) ? this.options.items.call(this.element[0], event, {item: this.currentItem}) : $(this.options.items, this.element), this]],
- connectWith = this._connectWith();
-
- if (connectWith && this.ready) { //Shouldn't be run the first time through due to massive slow-down
- for (i = connectWith.length - 1; i >= 0; i--) {
- cur = $(connectWith[i], this.document[0]);
- for (j = cur.length - 1; j >= 0; j--) {
- inst = $.data(cur[j], this.widgetFullName);
- if (inst && inst !== this && !inst.options.disabled) {
- queries.push([$.isFunction(inst.options.items) ? inst.options.items.call(inst.element[0], event, {item: this.currentItem}) : $(inst.options.items, inst.element), inst]);
- this.containers.push(inst);
- }
- }
- }
- }
-
- for (i = queries.length - 1; i >= 0; i--) {
- targetData = queries[i][1];
- _queries = queries[i][0];
-
- for (j = 0, queriesLength = _queries.length; j < queriesLength; j++) {
- item = $(_queries[j]);
-
- item.data(this.widgetName + "-item", targetData); // Data for target checking (mouse manager)
-
- items.push({
- item: item,
- instance: targetData,
- width: 0, height: 0,
- left: 0, top: 0
- });
- }
- }
-
- },
-
- refreshPositions: function (fast) {
-
- // Determine whether items are being displayed horizontally
- this.floating = this.items.length ?
- this.options.axis === "x" || this._isFloating(this.items[0].item) :
- false;
-
- //This has to be redone because due to the item being moved out/into the offsetParent, the offsetParent's position will change
- if (this.offsetParent && this.helper) {
- this.offset.parent = this._getParentOffset();
- }
-
- var i, item, t, p;
-
- for (i = this.items.length - 1; i >= 0; i--) {
- item = this.items[i];
-
- //We ignore calculating positions of all connected containers when we're not over them
- if (item.instance !== this.currentContainer && this.currentContainer && item.item[0] !== this.currentItem[0]) {
- continue;
- }
-
- t = this.options.toleranceElement ? $(this.options.toleranceElement, item.item) : item.item;
-
- if (!fast) {
- item.width = t.outerWidth();
- item.height = t.outerHeight();
- }
-
- p = t.offset();
- item.left = p.left;
- item.top = p.top;
- }
-
- if (this.options.custom && this.options.custom.refreshContainers) {
- this.options.custom.refreshContainers.call(this);
- } else {
- for (i = this.containers.length - 1; i >= 0; i--) {
- p = this.containers[i].element.offset();
- this.containers[i].containerCache.left = p.left;
- this.containers[i].containerCache.top = p.top;
- this.containers[i].containerCache.width = this.containers[i].element.outerWidth();
- this.containers[i].containerCache.height = this.containers[i].element.outerHeight();
- }
- }
-
- return this;
- },
-
- _createPlaceholder: function (that) {
- that = that || this;
- var className,
- o = that.options;
-
- if (!o.placeholder || o.placeholder.constructor === String) {
- className = o.placeholder;
- o.placeholder = {
- element: function () {
-
- var nodeName = that.currentItem[0].nodeName.toLowerCase(),
- element = $("<" + nodeName + ">", that.document[0])
- .addClass(className || that.currentItem[0].className + " ui-sortable-placeholder")
- .removeClass("ui-sortable-helper");
-
- if (nodeName === "tbody") {
- that._createTrPlaceholder(
- that.currentItem.find("tr").eq(0),
- $("<tr>", that.document[0]).appendTo(element)
- );
- } else if (nodeName === "tr") {
- that._createTrPlaceholder(that.currentItem, element);
- } else if (nodeName === "img") {
- element.attr("src", that.currentItem.attr("src"));
- }
-
- if (!className) {
- element.css("visibility", "hidden");
- }
-
- return element;
- },
- update: function (container, p) {
-
- // 1. If a className is set as 'placeholder option, we don't force sizes - the class is responsible for that
- // 2. The option 'forcePlaceholderSize can be enabled to force it even if a class name is specified
- if (className && !o.forcePlaceholderSize) {
- return;
- }
-
- //If the element doesn't have a actual height by itself (without styles coming from a stylesheet), it receives the inline height from the dragged item
- if (!p.height()) {
- p.height(that.currentItem.innerHeight() - parseInt(that.currentItem.css("paddingTop") || 0, 10) - parseInt(that.currentItem.css("paddingBottom") || 0, 10));
- }
- if (!p.width()) {
- p.width(that.currentItem.innerWidth() - parseInt(that.currentItem.css("paddingLeft") || 0, 10) - parseInt(that.currentItem.css("paddingRight") || 0, 10));
- }
- }
- };
- }
-
- //Create the placeholder
- that.placeholder = $(o.placeholder.element.call(that.element, that.currentItem));
-
- //Append it after the actual current item
- that.currentItem.after(that.placeholder);
-
- //Update the size of the placeholder (TODO: Logic to fuzzy, see line 316/317)
- o.placeholder.update(that, that.placeholder);
-
- },
-
- _createTrPlaceholder: function (sourceTr, targetTr) {
- var that = this;
-
- sourceTr.children().each(function () {
- $("<td>&#160;</td>", that.document[0])
- .attr("colspan", $(this).attr("colspan") || 1)
- .appendTo(targetTr);
- });
- },
-
- _contactContainers: function (event) {
- var i, j, dist, itemWithLeastDistance, posProperty, sizeProperty, cur, nearBottom, floating, axis,
- innermostContainer = null,
- innermostIndex = null;
-
- // get innermost container that intersects with item
- for (i = this.containers.length - 1; i >= 0; i--) {
-
- // never consider a container that's located within the item itself
- if ($.contains(this.currentItem[0], this.containers[i].element[0])) {
- continue;
- }
-
- if (this._intersectsWith(this.containers[i].containerCache)) {
-
- // if we've already found a container and it's more "inner" than this, then continue
- if (innermostContainer && $.contains(this.containers[i].element[0], innermostContainer.element[0])) {
- continue;
- }
-
- innermostContainer = this.containers[i];
- innermostIndex = i;
-
- } else {
- // container doesn't intersect. trigger "out" event if necessary
- if (this.containers[i].containerCache.over) {
- this.containers[i]._trigger("out", event, this._uiHash(this));
- this.containers[i].containerCache.over = 0;
- }
- }
-
- }
-
- // if no intersecting containers found, return
- if (!innermostContainer) {
- return;
- }
-
- // move the item into the container if it's not there already
- if (this.containers.length === 1) {
- if (!this.containers[innermostIndex].containerCache.over) {
- this.containers[innermostIndex]._trigger("over", event, this._uiHash(this));
- this.containers[innermostIndex].containerCache.over = 1;
- }
- } else {
-
- //When entering a new container, we will find the item with the least distance and append our item near it
- dist = 10000;
- itemWithLeastDistance = null;
- floating = innermostContainer.floating || this._isFloating(this.currentItem);
- posProperty = floating ? "left" : "top";
- sizeProperty = floating ? "width" : "height";
- axis = floating ? "clientX" : "clientY";
-
- for (j = this.items.length - 1; j >= 0; j--) {
- if (!$.contains(this.containers[innermostIndex].element[0], this.items[j].item[0])) {
- continue;
- }
- if (this.items[j].item[0] === this.currentItem[0]) {
- continue;
- }
-
- cur = this.items[j].item.offset()[posProperty];
- nearBottom = false;
- if (event[axis] - cur > this.items[j][sizeProperty] / 2) {
- nearBottom = true;
- }
-
- if (Math.abs(event[axis] - cur) < dist) {
- dist = Math.abs(event[axis] - cur);
- itemWithLeastDistance = this.items[j];
- this.direction = nearBottom ? "up" : "down";
- }
- }
-
- //Check if dropOnEmpty is enabled
- if (!itemWithLeastDistance && !this.options.dropOnEmpty) {
- return;
- }
-
- if (this.currentContainer === this.containers[innermostIndex]) {
- if (!this.currentContainer.containerCache.over) {
- this.containers[innermostIndex]._trigger("over", event, this._uiHash());
- this.currentContainer.containerCache.over = 1;
- }
- return;
- }
-
- itemWithLeastDistance ? this._rearrange(event, itemWithLeastDistance, null, true) : this._rearrange(event, null, this.containers[innermostIndex].element, true);
- this._trigger("change", event, this._uiHash());
- this.containers[innermostIndex]._trigger("change", event, this._uiHash(this));
- this.currentContainer = this.containers[innermostIndex];
-
- //Update the placeholder
- this.options.placeholder.update(this.currentContainer, this.placeholder);
-
- this.containers[innermostIndex]._trigger("over", event, this._uiHash(this));
- this.containers[innermostIndex].containerCache.over = 1;
- }
-
-
- },
-
- _createHelper: function (event) {
-
- var o = this.options,
- helper = $.isFunction(o.helper) ? $(o.helper.apply(this.element[0], [event, this.currentItem])) : (o.helper === "clone" ? this.currentItem.clone() : this.currentItem);
-
- //Add the helper to the DOM if that didn't happen already
- if (!helper.parents("body").length) {
- $(o.appendTo !== "parent" ? o.appendTo : this.currentItem[0].parentNode)[0].appendChild(helper[0]);
- }
-
- if (helper[0] === this.currentItem[0]) {
- this._storedCSS = {
- width: this.currentItem[0].style.width,
- height: this.currentItem[0].style.height,
- position: this.currentItem.css("position"),
- top: this.currentItem.css("top"),
- left: this.currentItem.css("left")
- };
- }
-
- if (!helper[0].style.width || o.forceHelperSize) {
- helper.width(this.currentItem.width());
- }
- if (!helper[0].style.height || o.forceHelperSize) {
- helper.height(this.currentItem.height());
- }
-
- return helper;
-
- },
-
- _adjustOffsetFromHelper: function (obj) {
- if (typeof obj === "string") {
- obj = obj.split(" ");
- }
- if ($.isArray(obj)) {
- obj = {left: +obj[0], top: +obj[1] || 0};
- }
- if ("left" in obj) {
- this.offset.click.left = obj.left + this.margins.left;
- }
- if ("right" in obj) {
- this.offset.click.left = this.helperProportions.width - obj.right + this.margins.left;
- }
- if ("top" in obj) {
- this.offset.click.top = obj.top + this.margins.top;
- }
- if ("bottom" in obj) {
- this.offset.click.top = this.helperProportions.height - obj.bottom + this.margins.top;
- }
- },
-
- _getParentOffset: function () {
-
-
- //Get the offsetParent and cache its position
- this.offsetParent = this.helper.offsetParent();
- var po = this.offsetParent.offset();
-
- // This is a special case where we need to modify a offset calculated on start, since the following happened:
- // 1. The position of the helper is absolute, so it's position is calculated based on the next positioned parent
- // 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't the document, which means that
- // the scroll is included in the initial calculation of the offset of the parent, and never recalculated upon drag
- if (this.cssPosition === "absolute" && this.scrollParent[0] !== this.document[0] && $.contains(this.scrollParent[0], this.offsetParent[0])) {
- po.left += this.scrollParent.scrollLeft();
- po.top += this.scrollParent.scrollTop();
- }
-
- // This needs to be actually done for all browsers, since pageX/pageY includes this information
- // with an ugly IE fix
- if (this.offsetParent[0] === this.document[0].body || (this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() === "html" && $.ui.ie)) {
- po = {top: 0, left: 0};
- }
-
- return {
- top: po.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0),
- left: po.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0)
- };
-
- },
-
- _getRelativeOffset: function () {
-
- if (this.cssPosition === "relative") {
- var p = this.currentItem.position();
- return {
- top: p.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(),
- left: p.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft()
- };
- } else {
- return {top: 0, left: 0};
- }
-
- },
-
- _cacheMargins: function () {
- this.margins = {
- left: (parseInt(this.currentItem.css("marginLeft"), 10) || 0),
- top: (parseInt(this.currentItem.css("marginTop"), 10) || 0)
- };
- },
-
- _cacheHelperProportions: function () {
- this.helperProportions = {
- width: this.helper.outerWidth(),
- height: this.helper.outerHeight()
- };
- },
-
- _setContainment: function () {
-
- var ce, co, over,
- o = this.options;
- if (o.containment === "parent") {
- o.containment = this.helper[0].parentNode;
- }
- if (o.containment === "document" || o.containment === "window") {
- this.containment = [
- 0 - this.offset.relative.left - this.offset.parent.left,
- 0 - this.offset.relative.top - this.offset.parent.top,
- o.containment === "document" ? this.document.width() : this.window.width() - this.helperProportions.width - this.margins.left,
- (o.containment === "document" ? this.document.width() : this.window.height() || this.document[0].body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top
- ];
- }
-
- if (!(/^(document|window|parent)$/).test(o.containment)) {
- ce = $(o.containment)[0];
- co = $(o.containment).offset();
- over = ($(ce).css("overflow") !== "hidden");
-
- this.containment = [
- co.left + (parseInt($(ce).css("borderLeftWidth"), 10) || 0) + (parseInt($(ce).css("paddingLeft"), 10) || 0) - this.margins.left,
- co.top + (parseInt($(ce).css("borderTopWidth"), 10) || 0) + (parseInt($(ce).css("paddingTop"), 10) || 0) - this.margins.top,
- co.left + (over ? Math.max(ce.scrollWidth, ce.offsetWidth) : ce.offsetWidth) - (parseInt($(ce).css("borderLeftWidth"), 10) || 0) - (parseInt($(ce).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left,
- co.top + (over ? Math.max(ce.scrollHeight, ce.offsetHeight) : ce.offsetHeight) - (parseInt($(ce).css("borderTopWidth"), 10) || 0) - (parseInt($(ce).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top
- ];
- }
-
- },
-
- _convertPositionTo: function (d, pos) {
-
- if (!pos) {
- pos = this.position;
- }
- var mod = d === "absolute" ? 1 : -1,
- scroll = this.cssPosition === "absolute" && !(this.scrollParent[0] !== this.document[0] && $.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent,
- scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
-
- return {
- top: (
- pos.top + // The absolute mouse position
- this.offset.relative.top * mod + // Only for relative positioned nodes: Relative offset from element to offset parent
- this.offset.parent.top * mod - // The offsetParent's offset without borders (offset + border)
- ( ( this.cssPosition === "fixed" ? -this.scrollParent.scrollTop() : ( scrollIsRootNode ? 0 : scroll.scrollTop() ) ) * mod)
- ),
- left: (
- pos.left + // The absolute mouse position
- this.offset.relative.left * mod + // Only for relative positioned nodes: Relative offset from element to offset parent
- this.offset.parent.left * mod - // The offsetParent's offset without borders (offset + border)
- ( ( this.cssPosition === "fixed" ? -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 : scroll.scrollLeft() ) * mod)
- )
- };
-
- },
-
- _generatePosition: function (event) {
-
- var top, left,
- o = this.options,
- pageX = event.pageX,
- pageY = event.pageY,
- scroll = this.cssPosition === "absolute" && !(this.scrollParent[0] !== this.document[0] && $.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
-
- // This is another very weird special case that only happens for relative elements:
- // 1. If the css position is relative
- // 2. and the scroll parent is the document or similar to the offset parent
- // we have to refresh the relative offset during the scroll so there are no jumps
- if (this.cssPosition === "relative" && !(this.scrollParent[0] !== this.document[0] && this.scrollParent[0] !== this.offsetParent[0])) {
- this.offset.relative = this._getRelativeOffset();
- }
-
- /*
- * - Position constraining -
- * Constrain the position to a mix of grid, containment.
- */
-
- if (this.originalPosition) { //If we are not dragging yet, we won't check for options
-
- if (this.containment) {
- if (event.pageX - this.offset.click.left < this.containment[0]) {
- pageX = this.containment[0] + this.offset.click.left;
- }
- if (event.pageY - this.offset.click.top < this.containment[1]) {
- pageY = this.containment[1] + this.offset.click.top;
- }
- if (event.pageX - this.offset.click.left > this.containment[2]) {
- pageX = this.containment[2] + this.offset.click.left;
- }
- if (event.pageY - this.offset.click.top > this.containment[3]) {
- pageY = this.containment[3] + this.offset.click.top;
- }
- }
-
- if (o.grid) {
- top = this.originalPageY + Math.round((pageY - this.originalPageY) / o.grid[1]) * o.grid[1];
- pageY = this.containment ? ( (top - this.offset.click.top >= this.containment[1] && top - this.offset.click.top <= this.containment[3]) ? top : ((top - this.offset.click.top >= this.containment[1]) ? top - o.grid[1] : top + o.grid[1])) : top;
-
- left = this.originalPageX + Math.round((pageX - this.originalPageX) / o.grid[0]) * o.grid[0];
- pageX = this.containment ? ( (left - this.offset.click.left >= this.containment[0] && left - this.offset.click.left <= this.containment[2]) ? left : ((left - this.offset.click.left >= this.containment[0]) ? left - o.grid[0] : left + o.grid[0])) : left;
- }
-
- }
-
- return {
- top: (
- pageY - // The absolute mouse position
- this.offset.click.top - // Click offset (relative to the element)
- this.offset.relative.top - // Only for relative positioned nodes: Relative offset from element to offset parent
- this.offset.parent.top + // The offsetParent's offset without borders (offset + border)
- ( ( this.cssPosition === "fixed" ? -this.scrollParent.scrollTop() : ( scrollIsRootNode ? 0 : scroll.scrollTop() ) ))
- ),
- left: (
- pageX - // The absolute mouse position
- this.offset.click.left - // Click offset (relative to the element)
- this.offset.relative.left - // Only for relative positioned nodes: Relative offset from element to offset parent
- this.offset.parent.left + // The offsetParent's offset without borders (offset + border)
- ( ( this.cssPosition === "fixed" ? -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 : scroll.scrollLeft() ))
- )
- };
-
- },
-
- _rearrange: function (event, i, a, hardRefresh) {
-
- a ? a[0].appendChild(this.placeholder[0]) : i.item[0].parentNode.insertBefore(this.placeholder[0], (this.direction === "down" ? i.item[0] : i.item[0].nextSibling));
-
- //Various things done here to improve the performance:
- // 1. we create a setTimeout, that calls refreshPositions
- // 2. on the instance, we have a counter variable, that get's higher after every append
- // 3. on the local scope, we copy the counter variable, and check in the timeout, if it's still the same
- // 4. this lets only the last addition to the timeout stack through
- this.counter = this.counter ? ++this.counter : 1;
- var counter = this.counter;
-
- this._delay(function () {
- if (counter === this.counter) {
- this.refreshPositions(!hardRefresh); //Precompute after each DOM insertion, NOT on mousemove
- }
- });
-
- },
-
- _clear: function (event, noPropagation) {
-
- this.reverting = false;
- // We delay all events that have to be triggered to after the point where the placeholder has been removed and
- // everything else normalized again
- var i,
- delayedTriggers = [];
-
- // We first have to update the dom position of the actual currentItem
- // Note: don't do it if the current item is already removed (by a user), or it gets reappended (see #4088)
- if (!this._noFinalSort && this.currentItem.parent().length) {
- this.placeholder.before(this.currentItem);
- }
- this._noFinalSort = null;
-
- if (this.helper[0] === this.currentItem[0]) {
- for (i in this._storedCSS) {
- if (this._storedCSS[i] === "auto" || this._storedCSS[i] === "static") {
- this._storedCSS[i] = "";
- }
- }
- this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper");
- } else {
- this.currentItem.show();
- }
-
- if (this.fromOutside && !noPropagation) {
- delayedTriggers.push(function (event) {
- this._trigger("receive", event, this._uiHash(this.fromOutside));
- });
- }
- if ((this.fromOutside || this.domPosition.prev !== this.currentItem.prev().not(".ui-sortable-helper")[0] || this.domPosition.parent !== this.currentItem.parent()[0]) && !noPropagation) {
- delayedTriggers.push(function (event) {
- this._trigger("update", event, this._uiHash());
- }); //Trigger update callback if the DOM position has changed
- }
-
- // Check if the items Container has Changed and trigger appropriate
- // events.
- if (this !== this.currentContainer) {
- if (!noPropagation) {
- delayedTriggers.push(function (event) {
- this._trigger("remove", event, this._uiHash());
- });
- delayedTriggers.push((function (c) {
- return function (event) {
- c._trigger("receive", event, this._uiHash(this));
- };
- }).call(this, this.currentContainer));
- delayedTriggers.push((function (c) {
- return function (event) {
- c._trigger("update", event, this._uiHash(this));
- };
- }).call(this, this.currentContainer));
- }
- }
-
-
- //Post events to containers
- function delayEvent(type, instance, container) {
- return function (event) {
- container._trigger(type, event, instance._uiHash(instance));
- };
- }
-
- for (i = this.containers.length - 1; i >= 0; i--) {
- if (!noPropagation) {
- delayedTriggers.push(delayEvent("deactivate", this, this.containers[i]));
- }
- if (this.containers[i].containerCache.over) {
- delayedTriggers.push(delayEvent("out", this, this.containers[i]));
- this.containers[i].containerCache.over = 0;
- }
- }
-
- //Do what was originally in plugins
- if (this.storedCursor) {
- this.document.find("body").css("cursor", this.storedCursor);
- this.storedStylesheet.remove();
- }
- if (this._storedOpacity) {
- this.helper.css("opacity", this._storedOpacity);
- }
- if (this._storedZIndex) {
- this.helper.css("zIndex", this._storedZIndex === "auto" ? "" : this._storedZIndex);
- }
-
- this.dragging = false;
-
- if (!noPropagation) {
- this._trigger("beforeStop", event, this._uiHash());
- }
-
- //$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately, it unbinds ALL events from the original node!
- this.placeholder[0].parentNode.removeChild(this.placeholder[0]);
-
- if (!this.cancelHelperRemoval) {
- if (this.helper[0] !== this.currentItem[0]) {
- this.helper.remove();
- }
- this.helper = null;
- }
-
- if (!noPropagation) {
- for (i = 0; i < delayedTriggers.length; i++) {
- delayedTriggers[i].call(this, event);
- } //Trigger all delayed events
- this._trigger("stop", event, this._uiHash());
- }
-
- this.fromOutside = false;
- return !this.cancelHelperRemoval;
-
- },
-
- _trigger: function () {
- if ($.Widget.prototype._trigger.apply(this, arguments) === false) {
- this.cancel();
- }
- },
-
- _uiHash: function (_inst) {
- var inst = _inst || this;
- return {
- helper: inst.helper,
- placeholder: inst.placeholder || $([]),
- position: inst.position,
- originalPosition: inst.originalPosition,
- offset: inst.positionAbs,
- item: inst.currentItem,
- sender: _inst ? _inst.element : null
- };
- }
-
- });
-
-
- /*!
- * jQuery UI Accordion 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/accordion/
- */
-
-
- var accordion = $.widget("ui.accordion", {
- version: "1.11.4",
- options: {
- active: 0,
- animate: {},
- collapsible: false,
- event: "click",
- header: "> li > :first-child,> :not(li):even",
- heightStyle: "auto",
- icons: {
- activeHeader: "ui-icon-triangle-1-s",
- header: "ui-icon-triangle-1-e"
- },
-
- // callbacks
- activate: null,
- beforeActivate: null
- },
-
- hideProps: {
- borderTopWidth: "hide",
- borderBottomWidth: "hide",
- paddingTop: "hide",
- paddingBottom: "hide",
- height: "hide"
- },
-
- showProps: {
- borderTopWidth: "show",
- borderBottomWidth: "show",
- paddingTop: "show",
- paddingBottom: "show",
- height: "show"
- },
-
- _create: function () {
- var options = this.options;
- this.prevShow = this.prevHide = $();
- this.element.addClass("ui-accordion ui-widget ui-helper-reset")
- // ARIA
- .attr("role", "tablist");
-
- // don't allow collapsible: false and active: false / null
- if (!options.collapsible && (options.active === false || options.active == null)) {
- options.active = 0;
- }
-
- this._processPanels();
- // handle negative values
- if (options.active < 0) {
- options.active += this.headers.length;
- }
- this._refresh();
- },
-
- _getCreateEventData: function () {
- return {
- header: this.active,
- panel: !this.active.length ? $() : this.active.next()
- };
- },
-
- _createIcons: function () {
- var icons = this.options.icons;
- if (icons) {
- $("<span>")
- .addClass("ui-accordion-header-icon ui-icon " + icons.header)
- .prependTo(this.headers);
- this.active.children(".ui-accordion-header-icon")
- .removeClass(icons.header)
- .addClass(icons.activeHeader);
- this.headers.addClass("ui-accordion-icons");
- }
- },
-
- _destroyIcons: function () {
- this.headers
- .removeClass("ui-accordion-icons")
- .children(".ui-accordion-header-icon")
- .remove();
- },
-
- _destroy: function () {
- var contents;
-
- // clean up main element
- this.element
- .removeClass("ui-accordion ui-widget ui-helper-reset")
- .removeAttr("role");
-
- // clean up headers
- this.headers
- .removeClass("ui-accordion-header ui-accordion-header-active ui-state-default " +
- "ui-corner-all ui-state-active ui-state-disabled ui-corner-top")
- .removeAttr("role")
- .removeAttr("aria-expanded")
- .removeAttr("aria-selected")
- .removeAttr("aria-controls")
- .removeAttr("tabIndex")
- .removeUniqueId();
-
- this._destroyIcons();
-
- // clean up content panels
- contents = this.headers.next()
- .removeClass("ui-helper-reset ui-widget-content ui-corner-bottom " +
- "ui-accordion-content ui-accordion-content-active ui-state-disabled")
- .css("display", "")
- .removeAttr("role")
- .removeAttr("aria-hidden")
- .removeAttr("aria-labelledby")
- .removeUniqueId();
-
- if (this.options.heightStyle !== "content") {
- contents.css("height", "");
- }
- },
-
- _setOption: function (key, value) {
- if (key === "active") {
- // _activate() will handle invalid values and update this.options
- this._activate(value);
- return;
- }
-
- if (key === "event") {
- if (this.options.event) {
- this._off(this.headers, this.options.event);
- }
- this._setupEvents(value);
- }
-
- this._super(key, value);
-
- // setting collapsible: false while collapsed; open first panel
- if (key === "collapsible" && !value && this.options.active === false) {
- this._activate(0);
- }
-
- if (key === "icons") {
- this._destroyIcons();
- if (value) {
- this._createIcons();
- }
- }
-
- // #5332 - opacity doesn't cascade to positioned elements in IE
- // so we need to add the disabled class to the headers and panels
- if (key === "disabled") {
- this.element
- .toggleClass("ui-state-disabled", !!value)
- .attr("aria-disabled", value);
- this.headers.add(this.headers.next())
- .toggleClass("ui-state-disabled", !!value);
- }
- },
-
- _keydown: function (event) {
- if (event.altKey || event.ctrlKey) {
- return;
- }
-
- var keyCode = $.ui.keyCode,
- length = this.headers.length,
- currentIndex = this.headers.index(event.target),
- toFocus = false;
-
- switch (event.keyCode) {
- case keyCode.RIGHT:
- case keyCode.DOWN:
- toFocus = this.headers[( currentIndex + 1 ) % length];
- break;
- case keyCode.LEFT:
- case keyCode.UP:
- toFocus = this.headers[( currentIndex - 1 + length ) % length];
- break;
- case keyCode.SPACE:
- case keyCode.ENTER:
- this._eventHandler(event);
- break;
- case keyCode.HOME:
- toFocus = this.headers[0];
- break;
- case keyCode.END:
- toFocus = this.headers[length - 1];
- break;
- }
-
- if (toFocus) {
- $(event.target).attr("tabIndex", -1);
- $(toFocus).attr("tabIndex", 0);
- toFocus.focus();
- event.preventDefault();
- }
- },
-
- _panelKeyDown: function (event) {
- if (event.keyCode === $.ui.keyCode.UP && event.ctrlKey) {
- $(event.currentTarget).prev().focus();
- }
- },
-
- refresh: function () {
- var options = this.options;
- this._processPanels();
-
- // was collapsed or no panel
- if (( options.active === false && options.collapsible === true ) || !this.headers.length) {
- options.active = false;
- this.active = $();
- // active false only when collapsible is true
- } else if (options.active === false) {
- this._activate(0);
- // was active, but active panel is gone
- } else if (this.active.length && !$.contains(this.element[0], this.active[0])) {
- // all remaining panel are disabled
- if (this.headers.length === this.headers.find(".ui-state-disabled").length) {
- options.active = false;
- this.active = $();
- // activate previous panel
- } else {
- this._activate(Math.max(0, options.active - 1));
- }
- // was active, active panel still exists
- } else {
- // make sure active index is correct
- options.active = this.headers.index(this.active);
- }
-
- this._destroyIcons();
-
- this._refresh();
- },
-
- _processPanels: function () {
- var prevHeaders = this.headers,
- prevPanels = this.panels;
-
- this.headers = this.element.find(this.options.header)
- .addClass("ui-accordion-header ui-state-default ui-corner-all");
-
- this.panels = this.headers.next()
- .addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom")
- .filter(":not(.ui-accordion-content-active)")
- .hide();
-
- // Avoid memory leaks (#10056)
- if (prevPanels) {
- this._off(prevHeaders.not(this.headers));
- this._off(prevPanels.not(this.panels));
- }
- },
-
- _refresh: function () {
- var maxHeight,
- options = this.options,
- heightStyle = options.heightStyle,
- parent = this.element.parent();
-
- this.active = this._findActive(options.active)
- .addClass("ui-accordion-header-active ui-state-active ui-corner-top")
- .removeClass("ui-corner-all");
- this.active.next()
- .addClass("ui-accordion-content-active")
- .show();
-
- this.headers
- .attr("role", "tab")
- .each(function () {
- var header = $(this),
- headerId = header.uniqueId().attr("id"),
- panel = header.next(),
- panelId = panel.uniqueId().attr("id");
- header.attr("aria-controls", panelId);
- panel.attr("aria-labelledby", headerId);
- })
- .next()
- .attr("role", "tabpanel");
-
- this.headers
- .not(this.active)
- .attr({
- "aria-selected": "false",
- "aria-expanded": "false",
- tabIndex: -1
- })
- .next()
- .attr({
- "aria-hidden": "true"
- })
- .hide();
-
- // make sure at least one header is in the tab order
- if (!this.active.length) {
- this.headers.eq(0).attr("tabIndex", 0);
- } else {
- this.active.attr({
- "aria-selected": "true",
- "aria-expanded": "true",
- tabIndex: 0
- })
- .next()
- .attr({
- "aria-hidden": "false"
- });
- }
-
- this._createIcons();
-
- this._setupEvents(options.event);
-
- if (heightStyle === "fill") {
- maxHeight = parent.height();
- this.element.siblings(":visible").each(function () {
- var elem = $(this),
- position = elem.css("position");
-
- if (position === "absolute" || position === "fixed") {
- return;
- }
- maxHeight -= elem.outerHeight(true);
- });
-
- this.headers.each(function () {
- maxHeight -= $(this).outerHeight(true);
- });
-
- this.headers.next()
- .each(function () {
- $(this).height(Math.max(0, maxHeight -
- $(this).innerHeight() + $(this).height()));
- })
- .css("overflow", "auto");
- } else if (heightStyle === "auto") {
- maxHeight = 0;
- this.headers.next()
- .each(function () {
- maxHeight = Math.max(maxHeight, $(this).css("height", "").height());
- })
- .height(maxHeight);
- }
- },
-
- _activate: function (index) {
- var active = this._findActive(index)[0];
-
- // trying to activate the already active panel
- if (active === this.active[0]) {
- return;
- }
-
- // trying to collapse, simulate a click on the currently active header
- active = active || this.active[0];
-
- this._eventHandler({
- target: active,
- currentTarget: active,
- preventDefault: $.noop
- });
- },
-
- _findActive: function (selector) {
- return typeof selector === "number" ? this.headers.eq(selector) : $();
- },
-
- _setupEvents: function (event) {
- var events = {
- keydown: "_keydown"
- };
- if (event) {
- $.each(event.split(" "), function (index, eventName) {
- events[eventName] = "_eventHandler";
- });
- }
-
- this._off(this.headers.add(this.headers.next()));
- this._on(this.headers, events);
- this._on(this.headers.next(), {keydown: "_panelKeyDown"});
- this._hoverable(this.headers);
- this._focusable(this.headers);
- },
-
- _eventHandler: function (event) {
- var options = this.options,
- active = this.active,
- clicked = $(event.currentTarget),
- clickedIsActive = clicked[0] === active[0],
- collapsing = clickedIsActive && options.collapsible,
- toShow = collapsing ? $() : clicked.next(),
- toHide = active.next(),
- eventData = {
- oldHeader: active,
- oldPanel: toHide,
- newHeader: collapsing ? $() : clicked,
- newPanel: toShow
- };
-
- event.preventDefault();
-
- if (
- // click on active header, but not collapsible
- ( clickedIsActive && !options.collapsible ) ||
- // allow canceling activation
- ( this._trigger("beforeActivate", event, eventData) === false )) {
- return;
- }
-
- options.active = collapsing ? false : this.headers.index(clicked);
-
- // when the call to ._toggle() comes after the class changes
- // it causes a very odd bug in IE 8 (see #6720)
- this.active = clickedIsActive ? $() : clicked;
- this._toggle(eventData);
-
- // switch classes
- // corner classes on the previously active header stay after the animation
- active.removeClass("ui-accordion-header-active ui-state-active");
- if (options.icons) {
- active.children(".ui-accordion-header-icon")
- .removeClass(options.icons.activeHeader)
- .addClass(options.icons.header);
- }
-
- if (!clickedIsActive) {
- clicked
- .removeClass("ui-corner-all")
- .addClass("ui-accordion-header-active ui-state-active ui-corner-top");
- if (options.icons) {
- clicked.children(".ui-accordion-header-icon")
- .removeClass(options.icons.header)
- .addClass(options.icons.activeHeader);
- }
-
- clicked
- .next()
- .addClass("ui-accordion-content-active");
- }
- },
-
- _toggle: function (data) {
- var toShow = data.newPanel,
- toHide = this.prevShow.length ? this.prevShow : data.oldPanel;
-
- // handle activating a panel during the animation for another activation
- this.prevShow.add(this.prevHide).stop(true, true);
- this.prevShow = toShow;
- this.prevHide = toHide;
-
- if (this.options.animate) {
- this._animate(toShow, toHide, data);
- } else {
- toHide.hide();
- toShow.show();
- this._toggleComplete(data);
- }
-
- toHide.attr({
- "aria-hidden": "true"
- });
- toHide.prev().attr({
- "aria-selected": "false",
- "aria-expanded": "false"
- });
- // if we're switching panels, remove the old header from the tab order
- // if we're opening from collapsed state, remove the previous header from the tab order
- // if we're collapsing, then keep the collapsing header in the tab order
- if (toShow.length && toHide.length) {
- toHide.prev().attr({
- "tabIndex": -1,
- "aria-expanded": "false"
- });
- } else if (toShow.length) {
- this.headers.filter(function () {
- return parseInt($(this).attr("tabIndex"), 10) === 0;
- })
- .attr("tabIndex", -1);
- }
-
- toShow
- .attr("aria-hidden", "false")
- .prev()
- .attr({
- "aria-selected": "true",
- "aria-expanded": "true",
- tabIndex: 0
- });
- },
-
- _animate: function (toShow, toHide, data) {
- var total, easing, duration,
- that = this,
- adjust = 0,
- boxSizing = toShow.css("box-sizing"),
- down = toShow.length &&
- ( !toHide.length || ( toShow.index() < toHide.index() ) ),
- animate = this.options.animate || {},
- options = down && animate.down || animate,
- complete = function () {
- that._toggleComplete(data);
- };
-
- if (typeof options === "number") {
- duration = options;
- }
- if (typeof options === "string") {
- easing = options;
- }
- // fall back from options to animation in case of partial down settings
- easing = easing || options.easing || animate.easing;
- duration = duration || options.duration || animate.duration;
-
- if (!toHide.length) {
- return toShow.animate(this.showProps, duration, easing, complete);
- }
- if (!toShow.length) {
- return toHide.animate(this.hideProps, duration, easing, complete);
- }
-
- total = toShow.show().outerHeight();
- toHide.animate(this.hideProps, {
- duration: duration,
- easing: easing,
- step: function (now, fx) {
- fx.now = Math.round(now);
- }
- });
- toShow
- .hide()
- .animate(this.showProps, {
- duration: duration,
- easing: easing,
- complete: complete,
- step: function (now, fx) {
- fx.now = Math.round(now);
- if (fx.prop !== "height") {
- if (boxSizing === "content-box") {
- adjust += fx.now;
- }
- } else if (that.options.heightStyle !== "content") {
- fx.now = Math.round(total - toHide.outerHeight() - adjust);
- adjust = 0;
- }
- }
- });
- },
-
- _toggleComplete: function (data) {
- var toHide = data.oldPanel;
-
- toHide
- .removeClass("ui-accordion-content-active")
- .prev()
- .removeClass("ui-corner-top")
- .addClass("ui-corner-all");
-
- // Work around for rendering bug in IE (#5421)
- if (toHide.length) {
- toHide.parent()[0].className = toHide.parent()[0].className;
- }
- this._trigger("activate", null, data);
- }
- });
-
-
- /*!
- * jQuery UI Menu 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/menu/
- */
-
-
- var menu = $.widget("ui.menu", {
- version: "1.11.4",
- defaultElement: "<ul>",
- delay: 300,
- options: {
- icons: {
- submenu: "ui-icon-carat-1-e"
- },
- items: "> *",
- menus: "ul",
- position: {
- my: "left-1 top",
- at: "right top"
- },
- role: "menu",
-
- // callbacks
- blur: null,
- focus: null,
- select: null
- },
-
- _create: function () {
- this.activeMenu = this.element;
-
- // Flag used to prevent firing of the click handler
- // as the event bubbles up through nested menus
- this.mouseHandled = false;
- this.element
- .uniqueId()
- .addClass("ui-menu ui-widget ui-widget-content")
- .toggleClass("ui-menu-icons", !!this.element.find(".ui-icon").length)
- .attr({
- role: this.options.role,
- tabIndex: 0
- });
-
- if (this.options.disabled) {
- this.element
- .addClass("ui-state-disabled")
- .attr("aria-disabled", "true");
- }
-
- this._on({
- // Prevent focus from sticking to links inside menu after clicking
- // them (focus should always stay on UL during navigation).
- "mousedown .ui-menu-item": function (event) {
- event.preventDefault();
- },
- "click .ui-menu-item": function (event) {
- var target = $(event.target);
- if (!this.mouseHandled && target.not(".ui-state-disabled").length) {
- this.select(event);
-
- // Only set the mouseHandled flag if the event will bubble, see #9469.
- if (!event.isPropagationStopped()) {
- this.mouseHandled = true;
- }
-
- // Open submenu on click
- if (target.has(".ui-menu").length) {
- this.expand(event);
- } else if (!this.element.is(":focus") && $(this.document[0].activeElement).closest(".ui-menu").length) {
-
- // Redirect focus to the menu
- this.element.trigger("focus", [true]);
-
- // If the active item is on the top level, let it stay active.
- // Otherwise, blur the active item since it is no longer visible.
- if (this.active && this.active.parents(".ui-menu").length === 1) {
- clearTimeout(this.timer);
- }
- }
- }
- },
- "mouseenter .ui-menu-item": function (event) {
- // Ignore mouse events while typeahead is active, see #10458.
- // Prevents focusing the wrong item when typeahead causes a scroll while the mouse
- // is over an item in the menu
- if (this.previousFilter) {
- return;
- }
- var target = $(event.currentTarget);
- // Remove ui-state-active class from siblings of the newly focused menu item
- // to avoid a jump caused by adjacent elements both having a class with a border
- target.siblings(".ui-state-active").removeClass("ui-state-active");
- this.focus(event, target);
- },
- mouseleave: "collapseAll",
- "mouseleave .ui-menu": "collapseAll",
- focus: function (event, keepActiveItem) {
- // If there's already an active item, keep it active
- // If not, activate the first item
- var item = this.active || this.element.find(this.options.items).eq(0);
-
- if (!keepActiveItem) {
- this.focus(event, item);
- }
- },
- blur: function (event) {
- this._delay(function () {
- if (!$.contains(this.element[0], this.document[0].activeElement)) {
- this.collapseAll(event);
- }
- });
- },
- keydown: "_keydown"
- });
-
- this.refresh();
-
- // Clicks outside of a menu collapse any open menus
- this._on(this.document, {
- click: function (event) {
- if (this._closeOnDocumentClick(event)) {
- this.collapseAll(event);
- }
-
- // Reset the mouseHandled flag
- this.mouseHandled = false;
- }
- });
- },
-
- _destroy: function () {
- // Destroy (sub)menus
- this.element
- .removeAttr("aria-activedescendant")
- .find(".ui-menu").addBack()
- .removeClass("ui-menu ui-widget ui-widget-content ui-menu-icons ui-front")
- .removeAttr("role")
- .removeAttr("tabIndex")
- .removeAttr("aria-labelledby")
- .removeAttr("aria-expanded")
- .removeAttr("aria-hidden")
- .removeAttr("aria-disabled")
- .removeUniqueId()
- .show();
-
- // Destroy menu items
- this.element.find(".ui-menu-item")
- .removeClass("ui-menu-item")
- .removeAttr("role")
- .removeAttr("aria-disabled")
- .removeUniqueId()
- .removeClass("ui-state-hover")
- .removeAttr("tabIndex")
- .removeAttr("role")
- .removeAttr("aria-haspopup")
- .children().each(function () {
- var elem = $(this);
- if (elem.data("ui-menu-submenu-carat")) {
- elem.remove();
- }
- });
-
- // Destroy menu dividers
- this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content");
- },
-
- _keydown: function (event) {
- var match, prev, character, skip,
- preventDefault = true;
-
- switch (event.keyCode) {
- case $.ui.keyCode.PAGE_UP:
- this.previousPage(event);
- break;
- case $.ui.keyCode.PAGE_DOWN:
- this.nextPage(event);
- break;
- case $.ui.keyCode.HOME:
- this._move("first", "first", event);
- break;
- case $.ui.keyCode.END:
- this._move("last", "last", event);
- break;
- case $.ui.keyCode.UP:
- this.previous(event);
- break;
- case $.ui.keyCode.DOWN:
- this.next(event);
- break;
- case $.ui.keyCode.LEFT:
- this.collapse(event);
- break;
- case $.ui.keyCode.RIGHT:
- if (this.active && !this.active.is(".ui-state-disabled")) {
- this.expand(event);
- }
- break;
- case $.ui.keyCode.ENTER:
- case $.ui.keyCode.SPACE:
- this._activate(event);
- break;
- case $.ui.keyCode.ESCAPE:
- this.collapse(event);
- break;
- default:
- preventDefault = false;
- prev = this.previousFilter || "";
- character = String.fromCharCode(event.keyCode);
- skip = false;
-
- clearTimeout(this.filterTimer);
-
- if (character === prev) {
- skip = true;
- } else {
- character = prev + character;
- }
-
- match = this._filterMenuItems(character);
- match = skip && match.index(this.active.next()) !== -1 ?
- this.active.nextAll(".ui-menu-item") :
- match;
-
- // If no matches on the current filter, reset to the last character pressed
- // to move down the menu to the first item that starts with that character
- if (!match.length) {
- character = String.fromCharCode(event.keyCode);
- match = this._filterMenuItems(character);
- }
-
- if (match.length) {
- this.focus(event, match);
- this.previousFilter = character;
- this.filterTimer = this._delay(function () {
- delete this.previousFilter;
- }, 1000);
- } else {
- delete this.previousFilter;
- }
- }
-
- if (preventDefault) {
- event.preventDefault();
- }
- },
-
- _activate: function (event) {
- if (!this.active.is(".ui-state-disabled")) {
- if (this.active.is("[aria-haspopup='true']")) {
- this.expand(event);
- } else {
- this.select(event);
- }
- }
- },
-
- refresh: function () {
- var menus, items,
- that = this,
- icon = this.options.icons.submenu,
- submenus = this.element.find(this.options.menus);
-
- this.element.toggleClass("ui-menu-icons", !!this.element.find(".ui-icon").length);
-
- // Initialize nested menus
- submenus.filter(":not(.ui-menu)")
- .addClass("ui-menu ui-widget ui-widget-content ui-front")
- .hide()
- .attr({
- role: this.options.role,
- "aria-hidden": "true",
- "aria-expanded": "false"
- })
- .each(function () {
- var menu = $(this),
- item = menu.parent(),
- submenuCarat = $("<span>")
- .addClass("ui-menu-icon ui-icon " + icon)
- .data("ui-menu-submenu-carat", true);
-
- item
- .attr("aria-haspopup", "true")
- .prepend(submenuCarat);
- menu.attr("aria-labelledby", item.attr("id"));
- });
-
- menus = submenus.add(this.element);
- items = menus.find(this.options.items);
-
- // Initialize menu-items containing spaces and/or dashes only as dividers
- items.not(".ui-menu-item").each(function () {
- var item = $(this);
- if (that._isDivider(item)) {
- item.addClass("ui-widget-content ui-menu-divider");
- }
- });
-
- // Don't refresh list items that are already adapted
- items.not(".ui-menu-item, .ui-menu-divider")
- .addClass("ui-menu-item")
- .uniqueId()
- .attr({
- tabIndex: -1,
- role: this._itemRole()
- });
-
- // Add aria-disabled attribute to any disabled menu item
- items.filter(".ui-state-disabled").attr("aria-disabled", "true");
-
- // If the active item has been removed, blur the menu
- if (this.active && !$.contains(this.element[0], this.active[0])) {
- this.blur();
- }
- },
-
- _itemRole: function () {
- return {
- menu: "menuitem",
- listbox: "option"
- }[this.options.role];
- },
-
- _setOption: function (key, value) {
- if (key === "icons") {
- this.element.find(".ui-menu-icon")
- .removeClass(this.options.icons.submenu)
- .addClass(value.submenu);
- }
- if (key === "disabled") {
- this.element
- .toggleClass("ui-state-disabled", !!value)
- .attr("aria-disabled", value);
- }
- this._super(key, value);
- },
-
- focus: function (event, item) {
- var nested, focused;
- this.blur(event, event && event.type === "focus");
-
- this._scrollIntoView(item);
-
- this.active = item.first();
- focused = this.active.addClass("ui-state-focus").removeClass("ui-state-active");
- // Only update aria-activedescendant if there's a role
- // otherwise we assume focus is managed elsewhere
- if (this.options.role) {
- this.element.attr("aria-activedescendant", focused.attr("id"));
- }
-
- // Highlight active parent menu item, if any
- this.active
- .parent()
- .closest(".ui-menu-item")
- .addClass("ui-state-active");
-
- if (event && event.type === "keydown") {
- this._close();
- } else {
- this.timer = this._delay(function () {
- this._close();
- }, this.delay);
- }
-
- nested = item.children(".ui-menu");
- if (nested.length && event && ( /^mouse/.test(event.type) )) {
- this._startOpening(nested);
- }
- this.activeMenu = item.parent();
-
- this._trigger("focus", event, {item: item});
- },
-
- _scrollIntoView: function (item) {
- var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight;
- if (this._hasScroll()) {
- borderTop = parseFloat($.css(this.activeMenu[0], "borderTopWidth")) || 0;
- paddingTop = parseFloat($.css(this.activeMenu[0], "paddingTop")) || 0;
- offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop;
- scroll = this.activeMenu.scrollTop();
- elementHeight = this.activeMenu.height();
- itemHeight = item.outerHeight();
-
- if (offset < 0) {
- this.activeMenu.scrollTop(scroll + offset);
- } else if (offset + itemHeight > elementHeight) {
- this.activeMenu.scrollTop(scroll + offset - elementHeight + itemHeight);
- }
- }
- },
-
- blur: function (event, fromFocus) {
- if (!fromFocus) {
- clearTimeout(this.timer);
- }
-
- if (!this.active) {
- return;
- }
-
- this.active.removeClass("ui-state-focus");
- this.active = null;
-
- this._trigger("blur", event, {item: this.active});
- },
-
- _startOpening: function (submenu) {
- clearTimeout(this.timer);
-
- // Don't open if already open fixes a Firefox bug that caused a .5 pixel
- // shift in the submenu position when mousing over the carat icon
- if (submenu.attr("aria-hidden") !== "true") {
- return;
- }
-
- this.timer = this._delay(function () {
- this._close();
- this._open(submenu);
- }, this.delay);
- },
-
- _open: function (submenu) {
- var position = $.extend({
- of: this.active
- }, this.options.position);
-
- clearTimeout(this.timer);
- this.element.find(".ui-menu").not(submenu.parents(".ui-menu"))
- .hide()
- .attr("aria-hidden", "true");
-
- submenu
- .show()
- .removeAttr("aria-hidden")
- .attr("aria-expanded", "true")
- .position(position);
- },
-
- collapseAll: function (event, all) {
- clearTimeout(this.timer);
- this.timer = this._delay(function () {
- // If we were passed an event, look for the submenu that contains the event
- var currentMenu = all ? this.element :
- $(event && event.target).closest(this.element.find(".ui-menu"));
-
- // If we found no valid submenu ancestor, use the main menu to close all sub menus anyway
- if (!currentMenu.length) {
- currentMenu = this.element;
- }
-
- this._close(currentMenu);
-
- this.blur(event);
- this.activeMenu = currentMenu;
- }, this.delay);
- },
-
- // With no arguments, closes the currently active menu - if nothing is active
- // it closes all menus. If passed an argument, it will search for menus BELOW
- _close: function (startMenu) {
- if (!startMenu) {
- startMenu = this.active ? this.active.parent() : this.element;
- }
-
- startMenu
- .find(".ui-menu")
- .hide()
- .attr("aria-hidden", "true")
- .attr("aria-expanded", "false")
- .end()
- .find(".ui-state-active").not(".ui-state-focus")
- .removeClass("ui-state-active");
- },
-
- _closeOnDocumentClick: function (event) {
- return !$(event.target).closest(".ui-menu").length;
- },
-
- _isDivider: function (item) {
-
- // Match hyphen, em dash, en dash
- return !/[^\-\u2014\u2013\s]/.test(item.text());
- },
-
- collapse: function (event) {
- var newItem = this.active &&
- this.active.parent().closest(".ui-menu-item", this.element);
- if (newItem && newItem.length) {
- this._close();
- this.focus(event, newItem);
- }
- },
-
- expand: function (event) {
- var newItem = this.active &&
- this.active
- .children(".ui-menu ")
- .find(this.options.items)
- .first();
-
- if (newItem && newItem.length) {
- this._open(newItem.parent());
-
- // Delay so Firefox will not hide activedescendant change in expanding submenu from AT
- this._delay(function () {
- this.focus(event, newItem);
- });
- }
- },
-
- next: function (event) {
- this._move("next", "first", event);
- },
-
- previous: function (event) {
- this._move("prev", "last", event);
- },
-
- isFirstItem: function () {
- return this.active && !this.active.prevAll(".ui-menu-item").length;
- },
-
- isLastItem: function () {
- return this.active && !this.active.nextAll(".ui-menu-item").length;
- },
-
- _move: function (direction, filter, event) {
- var next;
- if (this.active) {
- if (direction === "first" || direction === "last") {
- next = this.active
- [direction === "first" ? "prevAll" : "nextAll"](".ui-menu-item")
- .eq(-1);
- } else {
- next = this.active
- [direction + "All"](".ui-menu-item")
- .eq(0);
- }
- }
- if (!next || !next.length || !this.active) {
- next = this.activeMenu.find(this.options.items)[filter]();
- }
-
- this.focus(event, next);
- },
-
- nextPage: function (event) {
- var item, base, height;
-
- if (!this.active) {
- this.next(event);
- return;
- }
- if (this.isLastItem()) {
- return;
- }
- if (this._hasScroll()) {
- base = this.active.offset().top;
- height = this.element.height();
- this.active.nextAll(".ui-menu-item").each(function () {
- item = $(this);
- return item.offset().top - base - height < 0;
- });
-
- this.focus(event, item);
- } else {
- this.focus(event, this.activeMenu.find(this.options.items)
- [!this.active ? "first" : "last"]());
- }
- },
-
- previousPage: function (event) {
- var item, base, height;
- if (!this.active) {
- this.next(event);
- return;
- }
- if (this.isFirstItem()) {
- return;
- }
- if (this._hasScroll()) {
- base = this.active.offset().top;
- height = this.element.height();
- this.active.prevAll(".ui-menu-item").each(function () {
- item = $(this);
- return item.offset().top - base + height > 0;
- });
-
- this.focus(event, item);
- } else {
- this.focus(event, this.activeMenu.find(this.options.items).first());
- }
- },
-
- _hasScroll: function () {
- return this.element.outerHeight() < this.element.prop("scrollHeight");
- },
-
- select: function (event) {
- // TODO: It should never be possible to not have an active item at this
- // point, but the tests don't trigger mouseenter before click.
- this.active = this.active || $(event.target).closest(".ui-menu-item");
- var ui = {item: this.active};
- if (!this.active.has(".ui-menu").length) {
- this.collapseAll(event, true);
- }
- this._trigger("select", event, ui);
- },
-
- _filterMenuItems: function (character) {
- var escapedCharacter = character.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&"),
- regex = new RegExp("^" + escapedCharacter, "i");
-
- return this.activeMenu
- .find(this.options.items)
-
- // Only match on items, not dividers or other content (#10571)
- .filter(".ui-menu-item")
- .filter(function () {
- return regex.test($.trim($(this).text()));
- });
- }
- });
-
-
- /*!
- * jQuery UI Autocomplete 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/autocomplete/
- */
-
-
- $.widget("ui.autocomplete", {
- version: "1.11.4",
- defaultElement: "<input>",
- options: {
- appendTo: null,
- autoFocus: false,
- delay: 300,
- minLength: 1,
- position: {
- my: "left top",
- at: "left bottom",
- collision: "none"
- },
- source: null,
-
- // callbacks
- change: null,
- close: null,
- focus: null,
- open: null,
- response: null,
- search: null,
- select: null
- },
-
- requestIndex: 0,
- pending: 0,
-
- _create: function () {
- // Some browsers only repeat keydown events, not keypress events,
- // so we use the suppressKeyPress flag to determine if we've already
- // handled the keydown event. #7269
- // Unfortunately the code for & in keypress is the same as the up arrow,
- // so we use the suppressKeyPressRepeat flag to avoid handling keypress
- // events when we know the keydown event was used to modify the
- // search term. #7799
- var suppressKeyPress, suppressKeyPressRepeat, suppressInput,
- nodeName = this.element[0].nodeName.toLowerCase(),
- isTextarea = nodeName === "textarea",
- isInput = nodeName === "input";
-
- this.isMultiLine =
- // Textareas are always multi-line
- isTextarea ? true :
- // Inputs are always single-line, even if inside a contentEditable element
- // IE also treats inputs as contentEditable
- isInput ? false :
- // All other element types are determined by whether or not they're contentEditable
- this.element.prop("isContentEditable");
-
- this.valueMethod = this.element[isTextarea || isInput ? "val" : "text"];
- this.isNewMenu = true;
-
- this.element
- .addClass("ui-autocomplete-input")
- .attr("autocomplete", "off");
-
- this._on(this.element, {
- keydown: function (event) {
- if (this.element.prop("readOnly")) {
- suppressKeyPress = true;
- suppressInput = true;
- suppressKeyPressRepeat = true;
- return;
- }
-
- suppressKeyPress = false;
- suppressInput = false;
- suppressKeyPressRepeat = false;
- var keyCode = $.ui.keyCode;
- switch (event.keyCode) {
- case keyCode.PAGE_UP:
- suppressKeyPress = true;
- this._move("previousPage", event);
- break;
- case keyCode.PAGE_DOWN:
- suppressKeyPress = true;
- this._move("nextPage", event);
- break;
- case keyCode.UP:
- suppressKeyPress = true;
- this._keyEvent("previous", event);
- break;
- case keyCode.DOWN:
- suppressKeyPress = true;
- this._keyEvent("next", event);
- break;
- case keyCode.ENTER:
- // when menu is open and has focus
- if (this.menu.active) {
- // #6055 - Opera still allows the keypress to occur
- // which causes forms to submit
- suppressKeyPress = true;
- event.preventDefault();
- this.menu.select(event);
- }
- break;
- case keyCode.TAB:
- if (this.menu.active) {
- this.menu.select(event);
- }
- break;
- case keyCode.ESCAPE:
- if (this.menu.element.is(":visible")) {
- if (!this.isMultiLine) {
- this._value(this.term);
- }
- this.close(event);
- // Different browsers have different default behavior for escape
- // Single press can mean undo or clear
- // Double press in IE means clear the whole form
- event.preventDefault();
- }
- break;
- default:
- suppressKeyPressRepeat = true;
- // search timeout should be triggered before the input value is changed
- this._searchTimeout(event);
- break;
- }
- },
- keypress: function (event) {
- if (suppressKeyPress) {
- suppressKeyPress = false;
- if (!this.isMultiLine || this.menu.element.is(":visible")) {
- event.preventDefault();
- }
- return;
- }
- if (suppressKeyPressRepeat) {
- return;
- }
-
- // replicate some key handlers to allow them to repeat in Firefox and Opera
- var keyCode = $.ui.keyCode;
- switch (event.keyCode) {
- case keyCode.PAGE_UP:
- this._move("previousPage", event);
- break;
- case keyCode.PAGE_DOWN:
- this._move("nextPage", event);
- break;
- case keyCode.UP:
- this._keyEvent("previous", event);
- break;
- case keyCode.DOWN:
- this._keyEvent("next", event);
- break;
- }
- },
- input: function (event) {
- if (suppressInput) {
- suppressInput = false;
- event.preventDefault();
- return;
- }
- this._searchTimeout(event);
- },
- focus: function () {
- this.selectedItem = null;
- this.previous = this._value();
- },
- blur: function (event) {
- if (this.cancelBlur) {
- delete this.cancelBlur;
- return;
- }
-
- clearTimeout(this.searching);
- this.close(event);
- this._change(event);
- }
- });
-
- this._initSource();
- this.menu = $("<ul>")
- .addClass("ui-autocomplete ui-front")
- .appendTo(this._appendTo())
- .menu({
- // disable ARIA support, the live region takes care of that
- role: null
- })
- .hide()
- .menu("instance");
-
- this._on(this.menu.element, {
- mousedown: function (event) {
- // prevent moving focus out of the text field
- event.preventDefault();
-
- // IE doesn't prevent moving focus even with event.preventDefault()
- // so we set a flag to know when we should ignore the blur event
- this.cancelBlur = true;
- this._delay(function () {
- delete this.cancelBlur;
- });
-
- // clicking on the scrollbar causes focus to shift to the body
- // but we can't detect a mouseup or a click immediately afterward
- // so we have to track the next mousedown and close the menu if
- // the user clicks somewhere outside of the autocomplete
- var menuElement = this.menu.element[0];
- if (!$(event.target).closest(".ui-menu-item").length) {
- this._delay(function () {
- var that = this;
- this.document.one("mousedown", function (event) {
- if (event.target !== that.element[0] &&
- event.target !== menuElement && !$.contains(menuElement, event.target)) {
- that.close();
- }
- });
- });
- }
- },
- menufocus: function (event, ui) {
- var label, item;
- // support: Firefox
- // Prevent accidental activation of menu items in Firefox (#7024 #9118)
- if (this.isNewMenu) {
- this.isNewMenu = false;
- if (event.originalEvent && /^mouse/.test(event.originalEvent.type)) {
- this.menu.blur();
-
- this.document.one("mousemove", function () {
- $(event.target).trigger(event.originalEvent);
- });
-
- return;
- }
- }
-
- item = ui.item.data("ui-autocomplete-item");
- if (false !== this._trigger("focus", event, {item: item})) {
- // use value to match what will end up in the input, if it was a key event
- if (event.originalEvent && /^key/.test(event.originalEvent.type)) {
- this._value(item.value);
- }
- }
-
- // Announce the value in the liveRegion
- label = ui.item.attr("aria-label") || item.value;
- if (label && $.trim(label).length) {
- this.liveRegion.children().hide();
- $("<div>").text(label).appendTo(this.liveRegion);
- }
- },
- menuselect: function (event, ui) {
- var item = ui.item.data("ui-autocomplete-item"),
- previous = this.previous;
-
- // only trigger when focus was lost (click on menu)
- if (this.element[0] !== this.document[0].activeElement) {
- this.element.focus();
- this.previous = previous;
- // #6109 - IE triggers two focus events and the second
- // is asynchronous, so we need to reset the previous
- // term synchronously and asynchronously :-(
- this._delay(function () {
- this.previous = previous;
- this.selectedItem = item;
- });
- }
-
- if (false !== this._trigger("select", event, {item: item})) {
- this._value(item.value);
- }
- // reset the term after the select event
- // this allows custom select handling to work properly
- this.term = this._value();
-
- this.close(event);
- this.selectedItem = item;
- }
- });
-
- this.liveRegion = $("<span>", {
- role: "status",
- "aria-live": "assertive",
- "aria-relevant": "additions"
- })
- .addClass("ui-helper-hidden-accessible")
- .appendTo(this.document[0].body);
-
- // turning off autocomplete prevents the browser from remembering the
- // value when navigating through history, so we re-enable autocomplete
- // if the page is unloaded before the widget is destroyed. #7790
- this._on(this.window, {
- beforeunload: function () {
- this.element.removeAttr("autocomplete");
- }
- });
- },
-
- _destroy: function () {
- clearTimeout(this.searching);
- this.element
- .removeClass("ui-autocomplete-input")
- .removeAttr("autocomplete");
- this.menu.element.remove();
- this.liveRegion.remove();
- },
-
- _setOption: function (key, value) {
- this._super(key, value);
- if (key === "source") {
- this._initSource();
- }
- if (key === "appendTo") {
- this.menu.element.appendTo(this._appendTo());
- }
- if (key === "disabled" && value && this.xhr) {
- this.xhr.abort();
- }
- },
-
- _appendTo: function () {
- var element = this.options.appendTo;
-
- if (element) {
- element = element.jquery || element.nodeType ?
- $(element) :
- this.document.find(element).eq(0);
- }
-
- if (!element || !element[0]) {
- element = this.element.closest(".ui-front");
- }
-
- if (!element.length) {
- element = this.document[0].body;
- }
-
- return element;
- },
-
- _initSource: function () {
- var array, url,
- that = this;
- if ($.isArray(this.options.source)) {
- array = this.options.source;
- this.source = function (request, response) {
- response($.ui.autocomplete.filter(array, request.term));
- };
- } else if (typeof this.options.source === "string") {
- url = this.options.source;
- this.source = function (request, response) {
- if (that.xhr) {
- that.xhr.abort();
- }
- that.xhr = $.ajax({
- url: url,
- data: request,
- dataType: "json",
- success: function (data) {
- response(data);
- },
- error: function () {
- response([]);
- }
- });
- };
- } else {
- this.source = this.options.source;
- }
- },
-
- _searchTimeout: function (event) {
- clearTimeout(this.searching);
- this.searching = this._delay(function () {
-
- // Search if the value has changed, or if the user retypes the same value (see #7434)
- var equalValues = this.term === this._value(),
- menuVisible = this.menu.element.is(":visible"),
- modifierKey = event.altKey || event.ctrlKey || event.metaKey || event.shiftKey;
-
- if (!equalValues || ( equalValues && !menuVisible && !modifierKey )) {
- this.selectedItem = null;
- this.search(null, event);
- }
- }, this.options.delay);
- },
-
- search: function (value, event) {
- value = value != null ? value : this._value();
-
- // always save the actual value, not the one passed as an argument
- this.term = this._value();
-
- if (value.length < this.options.minLength) {
- return this.close(event);
- }
-
- if (this._trigger("search", event) === false) {
- return;
- }
-
- return this._search(value);
- },
-
- _search: function (value) {
- this.pending++;
- this.element.addClass("ui-autocomplete-loading");
- this.cancelSearch = false;
-
- this.source({term: value}, this._response());
- },
-
- _response: function () {
- var index = ++this.requestIndex;
-
- return $.proxy(function (content) {
- if (index === this.requestIndex) {
- this.__response(content);
- }
-
- this.pending--;
- if (!this.pending) {
- this.element.removeClass("ui-autocomplete-loading");
- }
- }, this);
- },
-
- __response: function (content) {
- if (content) {
- content = this._normalize(content);
- }
- this._trigger("response", null, {content: content});
- if (!this.options.disabled && content && content.length && !this.cancelSearch) {
- this._suggest(content);
- this._trigger("open");
- } else {
- // use ._close() instead of .close() so we don't cancel future searches
- this._close();
- }
- },
-
- close: function (event) {
- this.cancelSearch = true;
- this._close(event);
- },
-
- _close: function (event) {
- if (this.menu.element.is(":visible")) {
- this.menu.element.hide();
- this.menu.blur();
- this.isNewMenu = true;
- this._trigger("close", event);
- }
- },
-
- _change: function (event) {
- if (this.previous !== this._value()) {
- this._trigger("change", event, {item: this.selectedItem});
- }
- },
-
- _normalize: function (items) {
- // assume all items have the right format when the first item is complete
- if (items.length && items[0].label && items[0].value) {
- return items;
- }
- return $.map(items, function (item) {
- if (typeof item === "string") {
- return {
- label: item,
- value: item
- };
- }
- return $.extend({}, item, {
- label: item.label || item.value,
- value: item.value || item.label
- });
- });
- },
-
- _suggest: function (items) {
- var ul = this.menu.element.empty();
- this._renderMenu(ul, items);
- this.isNewMenu = true;
- this.menu.refresh();
-
- // size and position menu
- ul.show();
- this._resizeMenu();
- ul.position($.extend({
- of: this.element
- }, this.options.position));
-
- if (this.options.autoFocus) {
- this.menu.next();
- }
- },
-
- _resizeMenu: function () {
- var ul = this.menu.element;
- ul.outerWidth(Math.max(
- // Firefox wraps long text (possibly a rounding bug)
- // so we add 1px to avoid the wrapping (#7513)
- ul.width("").outerWidth() + 1,
- this.element.outerWidth()
- ));
- },
-
- _renderMenu: function (ul, items) {
- var that = this;
- $.each(items, function (index, item) {
- that._renderItemData(ul, item);
- });
- },
-
- _renderItemData: function (ul, item) {
- return this._renderItem(ul, item).data("ui-autocomplete-item", item);
- },
-
- _renderItem: function (ul, item) {
- return $("<li>").text(item.label).appendTo(ul);
- },
-
- _move: function (direction, event) {
- if (!this.menu.element.is(":visible")) {
- this.search(null, event);
- return;
- }
- if (this.menu.isFirstItem() && /^previous/.test(direction) ||
- this.menu.isLastItem() && /^next/.test(direction)) {
-
- if (!this.isMultiLine) {
- this._value(this.term);
- }
-
- this.menu.blur();
- return;
- }
- this.menu[direction](event);
- },
-
- widget: function () {
- return this.menu.element;
- },
-
- _value: function () {
- return this.valueMethod.apply(this.element, arguments);
- },
-
- _keyEvent: function (keyEvent, event) {
- if (!this.isMultiLine || this.menu.element.is(":visible")) {
- this._move(keyEvent, event);
-
- // prevents moving cursor to beginning/end of the text field in some browsers
- event.preventDefault();
- }
- }
- });
-
- $.extend($.ui.autocomplete, {
- escapeRegex: function (value) {
- return value.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
- },
- filter: function (array, term) {
- var matcher = new RegExp($.ui.autocomplete.escapeRegex(term), "i");
- return $.grep(array, function (value) {
- return matcher.test(value.label || value.value || value);
- });
- }
- });
-
-// live region extension, adding a `messages` option
-// NOTE: This is an experimental API. We are still investigating
-// a full solution for string manipulation and internationalization.
- $.widget("ui.autocomplete", $.ui.autocomplete, {
- options: {
- messages: {
- noResults: "No search results.",
- results: function (amount) {
- return amount + ( amount > 1 ? " results are" : " result is" ) +
- " available, use up and down arrow keys to navigate.";
- }
- }
- },
-
- __response: function (content) {
- var message;
- this._superApply(arguments);
- if (this.options.disabled || this.cancelSearch) {
- return;
- }
- if (content && content.length) {
- message = this.options.messages.results(content.length);
- } else {
- message = this.options.messages.noResults;
- }
- this.liveRegion.children().hide();
- $("<div>").text(message).appendTo(this.liveRegion);
- }
- });
-
- var autocomplete = $.ui.autocomplete;
-
-
- /*!
- * jQuery UI Button 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/button/
- */
-
-
- var lastActive,
- baseClasses = "ui-button ui-widget ui-state-default ui-corner-all",
- typeClasses = "ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",
- formResetHandler = function () {
- var form = $(this);
- setTimeout(function () {
- form.find(":ui-button").button("refresh");
- }, 1);
- },
- radioGroup = function (radio) {
- var name = radio.name,
- form = radio.form,
- radios = $([]);
- if (name) {
- name = name.replace(/'/g, "\\'");
- if (form) {
- radios = $(form).find("[name='" + name + "'][type=radio]");
- } else {
- radios = $("[name='" + name + "'][type=radio]", radio.ownerDocument)
- .filter(function () {
- return !this.form;
- });
- }
- }
- return radios;
- };
-
- $.widget("ui.button", {
- version: "1.11.4",
- defaultElement: "<button>",
- options: {
- disabled: null,
- text: true,
- label: null,
- icons: {
- primary: null,
- secondary: null
- }
- },
- _create: function () {
- this.element.closest("form")
- .unbind("reset" + this.eventNamespace)
- .bind("reset" + this.eventNamespace, formResetHandler);
-
- if (typeof this.options.disabled !== "boolean") {
- this.options.disabled = !!this.element.prop("disabled");
- } else {
- this.element.prop("disabled", this.options.disabled);
- }
-
- this._determineButtonType();
- this.hasTitle = !!this.buttonElement.attr("title");
-
- var that = this,
- options = this.options,
- toggleButton = this.type === "checkbox" || this.type === "radio",
- activeClass = !toggleButton ? "ui-state-active" : "";
-
- if (options.label === null) {
- options.label = (this.type === "input" ? this.buttonElement.val() : this.buttonElement.html());
- }
-
- this._hoverable(this.buttonElement);
-
- this.buttonElement
- .addClass(baseClasses)
- .attr("role", "button")
- .bind("mouseenter" + this.eventNamespace, function () {
- if (options.disabled) {
- return;
- }
- if (this === lastActive) {
- $(this).addClass("ui-state-active");
- }
- })
- .bind("mouseleave" + this.eventNamespace, function () {
- if (options.disabled) {
- return;
- }
- $(this).removeClass(activeClass);
- })
- .bind("click" + this.eventNamespace, function (event) {
- if (options.disabled) {
- event.preventDefault();
- event.stopImmediatePropagation();
- }
- });
-
- // Can't use _focusable() because the element that receives focus
- // and the element that gets the ui-state-focus class are different
- this._on({
- focus: function () {
- this.buttonElement.addClass("ui-state-focus");
- },
- blur: function () {
- this.buttonElement.removeClass("ui-state-focus");
- }
- });
-
- if (toggleButton) {
- this.element.bind("change" + this.eventNamespace, function () {
- that.refresh();
- });
- }
-
- if (this.type === "checkbox") {
- this.buttonElement.bind("click" + this.eventNamespace, function () {
- if (options.disabled) {
- return false;
- }
- });
- } else if (this.type === "radio") {
- this.buttonElement.bind("click" + this.eventNamespace, function () {
- if (options.disabled) {
- return false;
- }
- $(this).addClass("ui-state-active");
- that.buttonElement.attr("aria-pressed", "true");
-
- var radio = that.element[0];
- radioGroup(radio)
- .not(radio)
- .map(function () {
- return $(this).button("widget")[0];
- })
- .removeClass("ui-state-active")
- .attr("aria-pressed", "false");
- });
- } else {
- this.buttonElement
- .bind("mousedown" + this.eventNamespace, function () {
- if (options.disabled) {
- return false;
- }
- $(this).addClass("ui-state-active");
- lastActive = this;
- that.document.one("mouseup", function () {
- lastActive = null;
- });
- })
- .bind("mouseup" + this.eventNamespace, function () {
- if (options.disabled) {
- return false;
- }
- $(this).removeClass("ui-state-active");
- })
- .bind("keydown" + this.eventNamespace, function (event) {
- if (options.disabled) {
- return false;
- }
- if (event.keyCode === $.ui.keyCode.SPACE || event.keyCode === $.ui.keyCode.ENTER) {
- $(this).addClass("ui-state-active");
- }
- })
- // see #8559, we bind to blur here in case the button element loses
- // focus between keydown and keyup, it would be left in an "active" state
- .bind("keyup" + this.eventNamespace + " blur" + this.eventNamespace, function () {
- $(this).removeClass("ui-state-active");
- });
-
- if (this.buttonElement.is("a")) {
- this.buttonElement.keyup(function (event) {
- if (event.keyCode === $.ui.keyCode.SPACE) {
- // TODO pass through original event correctly (just as 2nd argument doesn't work)
- $(this).click();
- }
- });
- }
- }
-
- this._setOption("disabled", options.disabled);
- this._resetButton();
- },
-
- _determineButtonType: function () {
- var ancestor, labelSelector, checked;
-
- if (this.element.is("[type=checkbox]")) {
- this.type = "checkbox";
- } else if (this.element.is("[type=radio]")) {
- this.type = "radio";
- } else if (this.element.is("input")) {
- this.type = "input";
- } else {
- this.type = "button";
- }
-
- if (this.type === "checkbox" || this.type === "radio") {
- // we don't search against the document in case the element
- // is disconnected from the DOM
- ancestor = this.element.parents().last();
- labelSelector = "label[for='" + this.element.attr("id") + "']";
- this.buttonElement = ancestor.find(labelSelector);
- if (!this.buttonElement.length) {
- ancestor = ancestor.length ? ancestor.siblings() : this.element.siblings();
- this.buttonElement = ancestor.filter(labelSelector);
- if (!this.buttonElement.length) {
- this.buttonElement = ancestor.find(labelSelector);
- }
- }
- this.element.addClass("ui-helper-hidden-accessible");
-
- checked = this.element.is(":checked");
- if (checked) {
- this.buttonElement.addClass("ui-state-active");
- }
- this.buttonElement.prop("aria-pressed", checked);
- } else {
- this.buttonElement = this.element;
- }
- },
-
- widget: function () {
- return this.buttonElement;
- },
-
- _destroy: function () {
- this.element
- .removeClass("ui-helper-hidden-accessible");
- this.buttonElement
- .removeClass(baseClasses + " ui-state-active " + typeClasses)
- .removeAttr("role")
- .removeAttr("aria-pressed")
- .html(this.buttonElement.find(".ui-button-text").html());
-
- if (!this.hasTitle) {
- this.buttonElement.removeAttr("title");
- }
- },
-
- _setOption: function (key, value) {
- this._super(key, value);
- if (key === "disabled") {
- this.widget().toggleClass("ui-state-disabled", !!value);
- this.element.prop("disabled", !!value);
- if (value) {
- if (this.type === "checkbox" || this.type === "radio") {
- this.buttonElement.removeClass("ui-state-focus");
- } else {
- this.buttonElement.removeClass("ui-state-focus ui-state-active");
- }
- }
- return;
- }
- this._resetButton();
- },
-
- refresh: function () {
- //See #8237 & #8828
- var isDisabled = this.element.is("input, button") ? this.element.is(":disabled") : this.element.hasClass("ui-button-disabled");
-
- if (isDisabled !== this.options.disabled) {
- this._setOption("disabled", isDisabled);
- }
- if (this.type === "radio") {
- radioGroup(this.element[0]).each(function () {
- if ($(this).is(":checked")) {
- $(this).button("widget")
- .addClass("ui-state-active")
- .attr("aria-pressed", "true");
- } else {
- $(this).button("widget")
- .removeClass("ui-state-active")
- .attr("aria-pressed", "false");
- }
- });
- } else if (this.type === "checkbox") {
- if (this.element.is(":checked")) {
- this.buttonElement
- .addClass("ui-state-active")
- .attr("aria-pressed", "true");
- } else {
- this.buttonElement
- .removeClass("ui-state-active")
- .attr("aria-pressed", "false");
- }
- }
- },
-
- _resetButton: function () {
- if (this.type === "input") {
- if (this.options.label) {
- this.element.val(this.options.label);
- }
- return;
- }
- var buttonElement = this.buttonElement.removeClass(typeClasses),
- buttonText = $("<span></span>", this.document[0])
- .addClass("ui-button-text")
- .html(this.options.label)
- .appendTo(buttonElement.empty())
- .text(),
- icons = this.options.icons,
- multipleIcons = icons.primary && icons.secondary,
- buttonClasses = [];
-
- if (icons.primary || icons.secondary) {
- if (this.options.text) {
- buttonClasses.push("ui-button-text-icon" + ( multipleIcons ? "s" : ( icons.primary ? "-primary" : "-secondary" ) ));
- }
-
- if (icons.primary) {
- buttonElement.prepend("<span class='ui-button-icon-primary ui-icon " + icons.primary + "'></span>");
- }
-
- if (icons.secondary) {
- buttonElement.append("<span class='ui-button-icon-secondary ui-icon " + icons.secondary + "'></span>");
- }
-
- if (!this.options.text) {
- buttonClasses.push(multipleIcons ? "ui-button-icons-only" : "ui-button-icon-only");
-
- if (!this.hasTitle) {
- buttonElement.attr("title", $.trim(buttonText));
- }
- }
- } else {
- buttonClasses.push("ui-button-text-only");
- }
- buttonElement.addClass(buttonClasses.join(" "));
- }
- });
-
- $.widget("ui.buttonset", {
- version: "1.11.4",
- options: {
- items: "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"
- },
-
- _create: function () {
- this.element.addClass("ui-buttonset");
- },
-
- _init: function () {
- this.refresh();
- },
-
- _setOption: function (key, value) {
- if (key === "disabled") {
- this.buttons.button("option", key, value);
- }
-
- this._super(key, value);
- },
-
- refresh: function () {
- var rtl = this.element.css("direction") === "rtl",
- allButtons = this.element.find(this.options.items),
- existingButtons = allButtons.filter(":ui-button");
-
- // Initialize new buttons
- allButtons.not(":ui-button").button();
-
- // Refresh existing buttons
- existingButtons.button("refresh");
-
- this.buttons = allButtons
- .map(function () {
- return $(this).button("widget")[0];
- })
- .removeClass("ui-corner-all ui-corner-left ui-corner-right")
- .filter(":first")
- .addClass(rtl ? "ui-corner-right" : "ui-corner-left")
- .end()
- .filter(":last")
- .addClass(rtl ? "ui-corner-left" : "ui-corner-right")
- .end()
- .end();
- },
-
- _destroy: function () {
- this.element.removeClass("ui-buttonset");
- this.buttons
- .map(function () {
- return $(this).button("widget")[0];
- })
- .removeClass("ui-corner-left ui-corner-right")
- .end()
- .button("destroy");
- }
- });
-
- var button = $.ui.button;
-
-
- /*!
- * jQuery UI Datepicker 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/datepicker/
- */
-
-
- $.extend($.ui, {datepicker: {version: "1.11.4"}});
-
- var datepicker_instActive;
-
- function datepicker_getZindex(elem) {
- var position, value;
- while (elem.length && elem[0] !== document) {
- // Ignore z-index if position is set to a value where z-index is ignored by the browser
- // This makes behavior of this function consistent across browsers
- // WebKit always returns auto if the element is positioned
- position = elem.css("position");
- if (position === "absolute" || position === "relative" || position === "fixed") {
- // IE returns 0 when zIndex is not specified
- // other browsers return a string
- // we ignore the case of nested elements with an explicit value of 0
- // <div style="z-index: -10;"><div style="z-index: 0;"></div></div>
- value = parseInt(elem.css("zIndex"), 10);
- if (!isNaN(value) && value !== 0) {
- return value;
- }
- }
- elem = elem.parent();
- }
-
- return 0;
- }
-
- /* Date picker manager.
- Use the singleton instance of this class, $.datepicker, to interact with the date picker.
- Settings for (groups of) date pickers are maintained in an instance object,
- allowing multiple different settings on the same page. */
-
- function Datepicker() {
- this._curInst = null; // The current instance in use
- this._keyEvent = false; // If the last event was a key event
- this._disabledInputs = []; // List of date picker inputs that have been disabled
- this._datepickerShowing = false; // True if the popup picker is showing , false if not
- this._inDialog = false; // True if showing within a "dialog", false if not
- this._mainDivId = "ui-datepicker-div"; // The ID of the main datepicker division
- this._inlineClass = "ui-datepicker-inline"; // The name of the inline marker class
- this._appendClass = "ui-datepicker-append"; // The name of the append marker class
- this._triggerClass = "ui-datepicker-trigger"; // The name of the trigger marker class
- this._dialogClass = "ui-datepicker-dialog"; // The name of the dialog marker class
- this._disableClass = "ui-datepicker-disabled"; // The name of the disabled covering marker class
- this._unselectableClass = "ui-datepicker-unselectable"; // The name of the unselectable cell marker class
- this._currentClass = "ui-datepicker-current-day"; // The name of the current day marker class
- this._dayOverClass = "ui-datepicker-days-cell-over"; // The name of the day hover marker class
- this.regional = []; // Available regional settings, indexed by language code
- this.regional[""] = { // Default regional settings
- closeText: "Done", // Display text for close link
- prevText: "Prev", // Display text for previous month link
- nextText: "Next", // Display text for next month link
- currentText: "Today", // Display text for current month link
- monthNames: ["January", "February", "March", "April", "May", "June",
- "July", "August", "September", "October", "November", "December"], // Names of months for drop-down and formatting
- monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], // For formatting
- dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], // For formatting
- dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], // For formatting
- dayNamesMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], // Column headings for days starting at Sunday
- weekHeader: "Wk", // Column header for week of the year
- dateFormat: "mm/dd/yy", // See format options on parseDate
- firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
- isRTL: false, // True if right-to-left language, false if left-to-right
- showMonthAfterYear: false, // True if the year select precedes month, false for month then year
- yearSuffix: "" // Additional text to append to the year in the month headers
- };
- this._defaults = { // Global defaults for all the date picker instances
- showOn: "focus", // "focus" for popup on focus,
- // "button" for trigger button, or "both" for either
- showAnim: "fadeIn", // Name of jQuery animation for popup
- showOptions: {}, // Options for enhanced animations
- defaultDate: null, // Used when field is blank: actual date,
- // +/-number for offset from today, null for today
- appendText: "", // Display text following the input box, e.g. showing the format
- buttonText: "...", // Text for trigger button
- buttonImage: "", // URL for trigger button image
- buttonImageOnly: false, // True if the image appears alone, false if it appears on a button
- hideIfNoPrevNext: false, // True to hide next/previous month links
- // if not applicable, false to just disable them
- navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links
- gotoCurrent: false, // True if today link goes back to current selection instead
- changeMonth: false, // True if month can be selected directly, false if only prev/next
- changeYear: false, // True if year can be selected directly, false if only prev/next
- yearRange: "c-10:c+10", // Range of years to display in drop-down,
- // either relative to today's year (-nn:+nn), relative to currently displayed year
- // (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n)
- showOtherMonths: false, // True to show dates in other months, false to leave blank
- selectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable
- showWeek: false, // True to show week of the year, false to not show it
- calculateWeek: this.iso8601Week, // How to calculate the week of the year,
- // takes a Date and returns the number of the week for it
- shortYearCutoff: "+10", // Short year values < this are in the current century,
- // > this are in the previous century,
- // string value starting with "+" for current year + value
- minDate: null, // The earliest selectable date, or null for no limit
- maxDate: null, // The latest selectable date, or null for no limit
- duration: "fast", // Duration of display/closure
- beforeShowDay: null, // Function that takes a date and returns an array with
- // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or "",
- // [2] = cell title (optional), e.g. $.datepicker.noWeekends
- beforeShow: null, // Function that takes an input field and
- // returns a set of custom settings for the date picker
- onSelect: null, // Define a callback function when a date is selected
- onChangeMonthYear: null, // Define a callback function when the month or year is changed
- onClose: null, // Define a callback function when the datepicker is closed
- numberOfMonths: 1, // Number of months to show at a time
- showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0)
- stepMonths: 1, // Number of months to step back/forward
- stepBigMonths: 12, // Number of months to step back/forward for the big links
- altField: "", // Selector for an alternate field to store selected dates into
- altFormat: "", // The date format to use for the alternate field
- constrainInput: true, // The input is constrained by the current date format
- showButtonPanel: false, // True to show button panel, false to not show it
- autoSize: false, // True to size the input for the date format, false to leave as is
- disabled: false // The initial disabled state
- };
- $.extend(this._defaults, this.regional[""]);
- this.regional.en = $.extend(true, {}, this.regional[""]);
- this.regional["en-US"] = $.extend(true, {}, this.regional.en);
- this.dpDiv = datepicker_bindHover($("<div id='" + this._mainDivId + "' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"));
- }
-
- $.extend(Datepicker.prototype, {
- /* Class name added to elements to indicate already configured with a date picker. */
- markerClassName: "hasDatepicker",
-
- //Keep track of the maximum number of rows displayed (see #7043)
- maxRows: 4,
-
- // TODO rename to "widget" when switching to widget factory
- _widgetDatepicker: function () {
- return this.dpDiv;
- },
-
- /* Override the default settings for all instances of the date picker.
- * @param settings object - the new settings to use as defaults (anonymous object)
- * @return the manager object
- */
- setDefaults: function (settings) {
- datepicker_extendRemove(this._defaults, settings || {});
- return this;
- },
-
- /* Attach the date picker to a jQuery selection.
- * @param target element - the target input field or division or span
- * @param settings object - the new settings to use for this date picker instance (anonymous)
- */
- _attachDatepicker: function (target, settings) {
- var nodeName, inline, inst;
- nodeName = target.nodeName.toLowerCase();
- inline = (nodeName === "div" || nodeName === "span");
- if (!target.id) {
- this.uuid += 1;
- target.id = "dp" + this.uuid;
- }
- inst = this._newInst($(target), inline);
- inst.settings = $.extend({}, settings || {});
- if (nodeName === "input") {
- this._connectDatepicker(target, inst);
- } else if (inline) {
- this._inlineDatepicker(target, inst);
- }
- },
-
- /* Create a new instance object. */
- _newInst: function (target, inline) {
- var id = target[0].id.replace(/([^A-Za-z0-9_\-])/g, "\\\\$1"); // escape jQuery meta chars
- return {
- id: id, input: target, // associated target
- selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection
- drawMonth: 0, drawYear: 0, // month being drawn
- inline: inline, // is datepicker inline or not
- dpDiv: (!inline ? this.dpDiv : // presentation div
- datepicker_bindHover($("<div class='" + this._inlineClass + " ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")))
- };
- },
-
- /* Attach the date picker to an input field. */
- _connectDatepicker: function (target, inst) {
- var input = $(target);
- inst.append = $([]);
- inst.trigger = $([]);
- if (input.hasClass(this.markerClassName)) {
- return;
- }
- this._attachments(input, inst);
- input.addClass(this.markerClassName).keydown(this._doKeyDown).
- keypress(this._doKeyPress).keyup(this._doKeyUp);
- this._autoSize(inst);
- $.data(target, "datepicker", inst);
- //If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665)
- if (inst.settings.disabled) {
- this._disableDatepicker(target);
- }
- },
-
- /* Make attachments based on settings. */
- _attachments: function (input, inst) {
- var showOn, buttonText, buttonImage,
- appendText = this._get(inst, "appendText"),
- isRTL = this._get(inst, "isRTL");
-
- if (inst.append) {
- inst.append.remove();
- }
- if (appendText) {
- inst.append = $("<span class='" + this._appendClass + "'>" + appendText + "</span>");
- input[isRTL ? "before" : "after"](inst.append);
- }
-
- input.unbind("focus", this._showDatepicker);
-
- if (inst.trigger) {
- inst.trigger.remove();
- }
-
- showOn = this._get(inst, "showOn");
- if (showOn === "focus" || showOn === "both") { // pop-up date picker when in the marked field
- input.focus(this._showDatepicker);
- }
- if (showOn === "button" || showOn === "both") { // pop-up date picker when button clicked
- buttonText = this._get(inst, "buttonText");
- buttonImage = this._get(inst, "buttonImage");
- inst.trigger = $(this._get(inst, "buttonImageOnly") ?
- $("<img/>").addClass(this._triggerClass).
- attr({src: buttonImage, alt: buttonText, title: buttonText}) :
- $("<button type='button'></button>").addClass(this._triggerClass).
- html(!buttonImage ? buttonText : $("<img/>").attr(
- {src: buttonImage, alt: buttonText, title: buttonText})));
- input[isRTL ? "before" : "after"](inst.trigger);
- inst.trigger.click(function () {
- if ($.datepicker._datepickerShowing && $.datepicker._lastInput === input[0]) {
- $.datepicker._hideDatepicker();
- } else if ($.datepicker._datepickerShowing && $.datepicker._lastInput !== input[0]) {
- $.datepicker._hideDatepicker();
- $.datepicker._showDatepicker(input[0]);
- } else {
- $.datepicker._showDatepicker(input[0]);
- }
- return false;
- });
- }
- },
-
- /* Apply the maximum length for the date format. */
- _autoSize: function (inst) {
- if (this._get(inst, "autoSize") && !inst.inline) {
- var findMax, max, maxI, i,
- date = new Date(2009, 12 - 1, 20), // Ensure double digits
- dateFormat = this._get(inst, "dateFormat");
-
- if (dateFormat.match(/[DM]/)) {
- findMax = function (names) {
- max = 0;
- maxI = 0;
- for (i = 0; i < names.length; i++) {
- if (names[i].length > max) {
- max = names[i].length;
- maxI = i;
- }
- }
- return maxI;
- };
- date.setMonth(findMax(this._get(inst, (dateFormat.match(/MM/) ?
- "monthNames" : "monthNamesShort"))));
- date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ?
- "dayNames" : "dayNamesShort"))) + 20 - date.getDay());
- }
- inst.input.attr("size", this._formatDate(inst, date).length);
- }
- },
-
- /* Attach an inline date picker to a div. */
- _inlineDatepicker: function (target, inst) {
- var divSpan = $(target);
- if (divSpan.hasClass(this.markerClassName)) {
- return;
- }
- divSpan.addClass(this.markerClassName).append(inst.dpDiv);
- $.data(target, "datepicker", inst);
- this._setDate(inst, this._getDefaultDate(inst), true);
- this._updateDatepicker(inst);
- this._updateAlternate(inst);
- //If disabled option is true, disable the datepicker before showing it (see ticket #5665)
- if (inst.settings.disabled) {
- this._disableDatepicker(target);
- }
- // Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements
- // http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height
- inst.dpDiv.css("display", "block");
- },
-
- /* Pop-up the date picker in a "dialog" box.
- * @param input element - ignored
- * @param date string or Date - the initial date to display
- * @param onSelect function - the function to call when a date is selected
- * @param settings object - update the dialog date picker instance's settings (anonymous object)
- * @param pos int[2] - coordinates for the dialog's position within the screen or
- * event - with x/y coordinates or
- * leave empty for default (screen centre)
- * @return the manager object
- */
- _dialogDatepicker: function (input, date, onSelect, settings, pos) {
- var id, browserWidth, browserHeight, scrollX, scrollY,
- inst = this._dialogInst; // internal instance
-
- if (!inst) {
- this.uuid += 1;
- id = "dp" + this.uuid;
- this._dialogInput = $("<input type='text' id='" + id +
- "' style='position: absolute; top: -100px; width: 0px;'/>");
- this._dialogInput.keydown(this._doKeyDown);
- $("body").append(this._dialogInput);
- inst = this._dialogInst = this._newInst(this._dialogInput, false);
- inst.settings = {};
- $.data(this._dialogInput[0], "datepicker", inst);
- }
- datepicker_extendRemove(inst.settings, settings || {});
- date = (date && date.constructor === Date ? this._formatDate(inst, date) : date);
- this._dialogInput.val(date);
-
- this._pos = (pos ? (pos.length ? pos : [pos.pageX, pos.pageY]) : null);
- if (!this._pos) {
- browserWidth = document.documentElement.clientWidth;
- browserHeight = document.documentElement.clientHeight;
- scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
- scrollY = document.documentElement.scrollTop || document.body.scrollTop;
- this._pos = // should use actual width/height below
- [(browserWidth / 2) - 100 + scrollX, (browserHeight / 2) - 150 + scrollY];
- }
-
- // move input on screen for focus, but hidden behind dialog
- this._dialogInput.css("left", (this._pos[0] + 20) + "px").css("top", this._pos[1] + "px");
- inst.settings.onSelect = onSelect;
- this._inDialog = true;
- this.dpDiv.addClass(this._dialogClass);
- this._showDatepicker(this._dialogInput[0]);
- if ($.blockUI) {
- $.blockUI(this.dpDiv);
- }
- $.data(this._dialogInput[0], "datepicker", inst);
- return this;
- },
-
- /* Detach a datepicker from its control.
- * @param target element - the target input field or division or span
- */
- _destroyDatepicker: function (target) {
- var nodeName,
- $target = $(target),
- inst = $.data(target, "datepicker");
-
- if (!$target.hasClass(this.markerClassName)) {
- return;
- }
-
- nodeName = target.nodeName.toLowerCase();
- $.removeData(target, "datepicker");
- if (nodeName === "input") {
- inst.append.remove();
- inst.trigger.remove();
- $target.removeClass(this.markerClassName).
- unbind("focus", this._showDatepicker).
- unbind("keydown", this._doKeyDown).
- unbind("keypress", this._doKeyPress).
- unbind("keyup", this._doKeyUp);
- } else if (nodeName === "div" || nodeName === "span") {
- $target.removeClass(this.markerClassName).empty();
- }
-
- if (datepicker_instActive === inst) {
- datepicker_instActive = null;
- }
- },
-
- /* Enable the date picker to a jQuery selection.
- * @param target element - the target input field or division or span
- */
- _enableDatepicker: function (target) {
- var nodeName, inline,
- $target = $(target),
- inst = $.data(target, "datepicker");
-
- if (!$target.hasClass(this.markerClassName)) {
- return;
- }
-
- nodeName = target.nodeName.toLowerCase();
- if (nodeName === "input") {
- target.disabled = false;
- inst.trigger.filter("button").
- each(function () {
- this.disabled = false;
- }).end().
- filter("img").css({opacity: "1.0", cursor: ""});
- } else if (nodeName === "div" || nodeName === "span") {
- inline = $target.children("." + this._inlineClass);
- inline.children().removeClass("ui-state-disabled");
- inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
- prop("disabled", false);
- }
- this._disabledInputs = $.map(this._disabledInputs,
- function (value) {
- return (value === target ? null : value);
- }); // delete entry
- },
-
- /* Disable the date picker to a jQuery selection.
- * @param target element - the target input field or division or span
- */
- _disableDatepicker: function (target) {
- var nodeName, inline,
- $target = $(target),
- inst = $.data(target, "datepicker");
-
- if (!$target.hasClass(this.markerClassName)) {
- return;
- }
-
- nodeName = target.nodeName.toLowerCase();
- if (nodeName === "input") {
- target.disabled = true;
- inst.trigger.filter("button").
- each(function () {
- this.disabled = true;
- }).end().
- filter("img").css({opacity: "0.5", cursor: "default"});
- } else if (nodeName === "div" || nodeName === "span") {
- inline = $target.children("." + this._inlineClass);
- inline.children().addClass("ui-state-disabled");
- inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
- prop("disabled", true);
- }
- this._disabledInputs = $.map(this._disabledInputs,
- function (value) {
- return (value === target ? null : value);
- }); // delete entry
- this._disabledInputs[this._disabledInputs.length] = target;
- },
-
- /* Is the first field in a jQuery collection disabled as a datepicker?
- * @param target element - the target input field or division or span
- * @return boolean - true if disabled, false if enabled
- */
- _isDisabledDatepicker: function (target) {
- if (!target) {
- return false;
- }
- for (var i = 0; i < this._disabledInputs.length; i++) {
- if (this._disabledInputs[i] === target) {
- return true;
- }
- }
- return false;
- },
-
- /* Retrieve the instance data for the target control.
- * @param target element - the target input field or division or span
- * @return object - the associated instance data
- * @throws error if a jQuery problem getting data
- */
- _getInst: function (target) {
- try {
- return $.data(target, "datepicker");
- }
- catch (err) {
- throw "Missing instance data for this datepicker";
- }
- },
-
- /* Update or retrieve the settings for a date picker attached to an input field or division.
- * @param target element - the target input field or division or span
- * @param name object - the new settings to update or
- * string - the name of the setting to change or retrieve,
- * when retrieving also "all" for all instance settings or
- * "defaults" for all global defaults
- * @param value any - the new value for the setting
- * (omit if above is an object or to retrieve a value)
- */
- _optionDatepicker: function (target, name, value) {
- var settings, date, minDate, maxDate,
- inst = this._getInst(target);
-
- if (arguments.length === 2 && typeof name === "string") {
- return (name === "defaults" ? $.extend({}, $.datepicker._defaults) :
- (inst ? (name === "all" ? $.extend({}, inst.settings) :
- this._get(inst, name)) : null));
- }
-
- settings = name || {};
- if (typeof name === "string") {
- settings = {};
- settings[name] = value;
- }
-
- if (inst) {
- if (this._curInst === inst) {
- this._hideDatepicker();
- }
-
- date = this._getDateDatepicker(target, true);
- minDate = this._getMinMaxDate(inst, "min");
- maxDate = this._getMinMaxDate(inst, "max");
- datepicker_extendRemove(inst.settings, settings);
- // reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided
- if (minDate !== null && settings.dateFormat !== undefined && settings.minDate === undefined) {
- inst.settings.minDate = this._formatDate(inst, minDate);
- }
- if (maxDate !== null && settings.dateFormat !== undefined && settings.maxDate === undefined) {
- inst.settings.maxDate = this._formatDate(inst, maxDate);
- }
- if ("disabled" in settings) {
- if (settings.disabled) {
- this._disableDatepicker(target);
- } else {
- this._enableDatepicker(target);
- }
- }
- this._attachments($(target), inst);
- this._autoSize(inst);
- this._setDate(inst, date);
- this._updateAlternate(inst);
- this._updateDatepicker(inst);
- }
- },
-
- // change method deprecated
- _changeDatepicker: function (target, name, value) {
- this._optionDatepicker(target, name, value);
- },
-
- /* Redraw the date picker attached to an input field or division.
- * @param target element - the target input field or division or span
- */
- _refreshDatepicker: function (target) {
- var inst = this._getInst(target);
- if (inst) {
- this._updateDatepicker(inst);
- }
- },
-
- /* Set the dates for a jQuery selection.
- * @param target element - the target input field or division or span
- * @param date Date - the new date
- */
- _setDateDatepicker: function (target, date) {
- var inst = this._getInst(target);
- if (inst) {
- this._setDate(inst, date);
- this._updateDatepicker(inst);
- this._updateAlternate(inst);
- }
- },
-
- /* Get the date(s) for the first entry in a jQuery selection.
- * @param target element - the target input field or division or span
- * @param noDefault boolean - true if no default date is to be used
- * @return Date - the current date
- */
- _getDateDatepicker: function (target, noDefault) {
- var inst = this._getInst(target);
- if (inst && !inst.inline) {
- this._setDateFromField(inst, noDefault);
- }
- return (inst ? this._getDate(inst) : null);
- },
-
- /* Handle keystrokes. */
- _doKeyDown: function (event) {
- var onSelect, dateStr, sel,
- inst = $.datepicker._getInst(event.target),
- handled = true,
- isRTL = inst.dpDiv.is(".ui-datepicker-rtl");
-
- inst._keyEvent = true;
- if ($.datepicker._datepickerShowing) {
- switch (event.keyCode) {
- case 9:
- $.datepicker._hideDatepicker();
- handled = false;
- break; // hide on tab out
- case 13:
- sel = $("td." + $.datepicker._dayOverClass + ":not(." +
- $.datepicker._currentClass + ")", inst.dpDiv);
- if (sel[0]) {
- $.datepicker._selectDay(event.target, inst.selectedMonth, inst.selectedYear, sel[0]);
- }
-
- onSelect = $.datepicker._get(inst, "onSelect");
- if (onSelect) {
- dateStr = $.datepicker._formatDate(inst);
-
- // trigger custom callback
- onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]);
- } else {
- $.datepicker._hideDatepicker();
- }
-
- return false; // don't submit the form
- case 27:
- $.datepicker._hideDatepicker();
- break; // hide on escape
- case 33:
- $.datepicker._adjustDate(event.target, (event.ctrlKey ?
- -$.datepicker._get(inst, "stepBigMonths") :
- -$.datepicker._get(inst, "stepMonths")), "M");
- break; // previous month/year on page up/+ ctrl
- case 34:
- $.datepicker._adjustDate(event.target, (event.ctrlKey ?
- +$.datepicker._get(inst, "stepBigMonths") :
- +$.datepicker._get(inst, "stepMonths")), "M");
- break; // next month/year on page down/+ ctrl
- case 35:
- if (event.ctrlKey || event.metaKey) {
- $.datepicker._clearDate(event.target);
- }
- handled = event.ctrlKey || event.metaKey;
- break; // clear on ctrl or command +end
- case 36:
- if (event.ctrlKey || event.metaKey) {
- $.datepicker._gotoToday(event.target);
- }
- handled = event.ctrlKey || event.metaKey;
- break; // current on ctrl or command +home
- case 37:
- if (event.ctrlKey || event.metaKey) {
- $.datepicker._adjustDate(event.target, (isRTL ? +1 : -1), "D");
- }
- handled = event.ctrlKey || event.metaKey;
- // -1 day on ctrl or command +left
- if (event.originalEvent.altKey) {
- $.datepicker._adjustDate(event.target, (event.ctrlKey ?
- -$.datepicker._get(inst, "stepBigMonths") :
- -$.datepicker._get(inst, "stepMonths")), "M");
- }
- // next month/year on alt +left on Mac
- break;
- case 38:
- if (event.ctrlKey || event.metaKey) {
- $.datepicker._adjustDate(event.target, -7, "D");
- }
- handled = event.ctrlKey || event.metaKey;
- break; // -1 week on ctrl or command +up
- case 39:
- if (event.ctrlKey || event.metaKey) {
- $.datepicker._adjustDate(event.target, (isRTL ? -1 : +1), "D");
- }
- handled = event.ctrlKey || event.metaKey;
- // +1 day on ctrl or command +right
- if (event.originalEvent.altKey) {
- $.datepicker._adjustDate(event.target, (event.ctrlKey ?
- +$.datepicker._get(inst, "stepBigMonths") :
- +$.datepicker._get(inst, "stepMonths")), "M");
- }
- // next month/year on alt +right
- break;
- case 40:
- if (event.ctrlKey || event.metaKey) {
- $.datepicker._adjustDate(event.target, +7, "D");
- }
- handled = event.ctrlKey || event.metaKey;
- break; // +1 week on ctrl or command +down
- default:
- handled = false;
- }
- } else if (event.keyCode === 36 && event.ctrlKey) { // display the date picker on ctrl+home
- $.datepicker._showDatepicker(this);
- } else {
- handled = false;
- }
-
- if (handled) {
- event.preventDefault();
- event.stopPropagation();
- }
- },
-
- /* Filter entered characters - based on date format. */
- _doKeyPress: function (event) {
- var chars, chr,
- inst = $.datepicker._getInst(event.target);
-
- if ($.datepicker._get(inst, "constrainInput")) {
- chars = $.datepicker._possibleChars($.datepicker._get(inst, "dateFormat"));
- chr = String.fromCharCode(event.charCode == null ? event.keyCode : event.charCode);
- return event.ctrlKey || event.metaKey || (chr < " " || !chars || chars.indexOf(chr) > -1);
- }
- },
-
- /* Synchronise manual entry and field/alternate field. */
- _doKeyUp: function (event) {
- var date,
- inst = $.datepicker._getInst(event.target);
-
- if (inst.input.val() !== inst.lastVal) {
- try {
- date = $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),
- (inst.input ? inst.input.val() : null),
- $.datepicker._getFormatConfig(inst));
-
- if (date) { // only if valid
- $.datepicker._setDateFromField(inst);
- $.datepicker._updateAlternate(inst);
- $.datepicker._updateDatepicker(inst);
- }
- }
- catch (err) {
- }
- }
- return true;
- },
-
- /* Pop-up the date picker for a given input field.
- * If false returned from beforeShow event handler do not show.
- * @param input element - the input field attached to the date picker or
- * event - if triggered by focus
- */
- _showDatepicker: function (input) {
- input = input.target || input;
- if (input.nodeName.toLowerCase() !== "input") { // find from button/image trigger
- input = $("input", input.parentNode)[0];
- }
-
- if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput === input) { // already here
- return;
- }
-
- var inst, beforeShow, beforeShowSettings, isFixed,
- offset, showAnim, duration;
-
- inst = $.datepicker._getInst(input);
- if ($.datepicker._curInst && $.datepicker._curInst !== inst) {
- $.datepicker._curInst.dpDiv.stop(true, true);
- if (inst && $.datepicker._datepickerShowing) {
- $.datepicker._hideDatepicker($.datepicker._curInst.input[0]);
- }
- }
-
- beforeShow = $.datepicker._get(inst, "beforeShow");
- beforeShowSettings = beforeShow ? beforeShow.apply(input, [input, inst]) : {};
- if (beforeShowSettings === false) {
- return;
- }
- datepicker_extendRemove(inst.settings, beforeShowSettings);
-
- inst.lastVal = null;
- $.datepicker._lastInput = input;
- $.datepicker._setDateFromField(inst);
-
- if ($.datepicker._inDialog) { // hide cursor
- input.value = "";
- }
- if (!$.datepicker._pos) { // position below input
- $.datepicker._pos = $.datepicker._findPos(input);
- $.datepicker._pos[1] += input.offsetHeight; // add the height
- }
-
- isFixed = false;
- $(input).parents().each(function () {
- isFixed |= $(this).css("position") === "fixed";
- return !isFixed;
- });
-
- offset = {left: $.datepicker._pos[0], top: $.datepicker._pos[1]};
- $.datepicker._pos = null;
- //to avoid flashes on Firefox
- inst.dpDiv.empty();
- // determine sizing offscreen
- inst.dpDiv.css({position: "absolute", display: "block", top: "-1000px"});
- $.datepicker._updateDatepicker(inst);
- // fix width for dynamic number of date pickers
- // and adjust position before showing
- offset = $.datepicker._checkOffset(inst, offset, isFixed);
- inst.dpDiv.css({
- position: ($.datepicker._inDialog && $.blockUI ?
- "static" : (isFixed ? "fixed" : "absolute")), display: "none",
- left: offset.left + "px", top: offset.top + "px"
- });
-
- if (!inst.inline) {
- showAnim = $.datepicker._get(inst, "showAnim");
- duration = $.datepicker._get(inst, "duration");
- inst.dpDiv.css("z-index", datepicker_getZindex($(input)) + 1);
- $.datepicker._datepickerShowing = true;
-
- if ($.effects && $.effects.effect[showAnim]) {
- inst.dpDiv.show(showAnim, $.datepicker._get(inst, "showOptions"), duration);
- } else {
- inst.dpDiv[showAnim || "show"](showAnim ? duration : null);
- }
-
- if ($.datepicker._shouldFocusInput(inst)) {
- inst.input.focus();
- }
-
- $.datepicker._curInst = inst;
- }
- },
-
- /* Generate the date picker content. */
- _updateDatepicker: function (inst) {
- this.maxRows = 4; //Reset the max number of rows being displayed (see #7043)
- datepicker_instActive = inst; // for delegate hover events
- inst.dpDiv.empty().append(this._generateHTML(inst));
- this._attachHandlers(inst);
-
- var origyearshtml,
- numMonths = this._getNumberOfMonths(inst),
- cols = numMonths[1],
- width = 17,
- activeCell = inst.dpDiv.find("." + this._dayOverClass + " a");
-
- if (activeCell.length > 0) {
- datepicker_handleMouseover.apply(activeCell.get(0));
- }
-
- inst.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");
- if (cols > 1) {
- inst.dpDiv.addClass("ui-datepicker-multi-" + cols).css("width", (width * cols) + "em");
- }
- inst.dpDiv[(numMonths[0] !== 1 || numMonths[1] !== 1 ? "add" : "remove") +
- "Class"]("ui-datepicker-multi");
- inst.dpDiv[(this._get(inst, "isRTL") ? "add" : "remove") +
- "Class"]("ui-datepicker-rtl");
-
- if (inst === $.datepicker._curInst && $.datepicker._datepickerShowing && $.datepicker._shouldFocusInput(inst)) {
- inst.input.focus();
- }
-
- // deffered render of the years select (to avoid flashes on Firefox)
- if (inst.yearshtml) {
- origyearshtml = inst.yearshtml;
- setTimeout(function () {
- //assure that inst.yearshtml didn't change.
- if (origyearshtml === inst.yearshtml && inst.yearshtml) {
- inst.dpDiv.find("select.ui-datepicker-year:first").replaceWith(inst.yearshtml);
- }
- origyearshtml = inst.yearshtml = null;
- }, 0);
- }
- },
-
- // #6694 - don't focus the input if it's already focused
- // this breaks the change event in IE
- // Support: IE and jQuery <1.9
- _shouldFocusInput: function (inst) {
- return inst.input && inst.input.is(":visible") && !inst.input.is(":disabled") && !inst.input.is(":focus");
- },
-
- /* Check positioning to remain on screen. */
- _checkOffset: function (inst, offset, isFixed) {
- var dpWidth = inst.dpDiv.outerWidth(),
- dpHeight = inst.dpDiv.outerHeight(),
- inputWidth = inst.input ? inst.input.outerWidth() : 0,
- inputHeight = inst.input ? inst.input.outerHeight() : 0,
- viewWidth = document.documentElement.clientWidth + (isFixed ? 0 : $(document).scrollLeft()),
- viewHeight = document.documentElement.clientHeight + (isFixed ? 0 : $(document).scrollTop());
-
- offset.left -= (this._get(inst, "isRTL") ? (dpWidth - inputWidth) : 0);
- offset.left -= (isFixed && offset.left === inst.input.offset().left) ? $(document).scrollLeft() : 0;
- offset.top -= (isFixed && offset.top === (inst.input.offset().top + inputHeight)) ? $(document).scrollTop() : 0;
-
- // now check if datepicker is showing outside window viewport - move to a better place if so.
- offset.left -= Math.min(offset.left, (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ?
- Math.abs(offset.left + dpWidth - viewWidth) : 0);
- offset.top -= Math.min(offset.top, (offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ?
- Math.abs(dpHeight + inputHeight) : 0);
-
- return offset;
- },
-
- /* Find an object's position on the screen. */
- _findPos: function (obj) {
- var position,
- inst = this._getInst(obj),
- isRTL = this._get(inst, "isRTL");
-
- while (obj && (obj.type === "hidden" || obj.nodeType !== 1 || $.expr.filters.hidden(obj))) {
- obj = obj[isRTL ? "previousSibling" : "nextSibling"];
- }
-
- position = $(obj).offset();
- return [position.left, position.top];
- },
-
- /* Hide the date picker from view.
- * @param input element - the input field attached to the date picker
- */
- _hideDatepicker: function (input) {
- var showAnim, duration, postProcess, onClose,
- inst = this._curInst;
-
- if (!inst || (input && inst !== $.data(input, "datepicker"))) {
- return;
- }
-
- if (this._datepickerShowing) {
- showAnim = this._get(inst, "showAnim");
- duration = this._get(inst, "duration");
- postProcess = function () {
- $.datepicker._tidyDialog(inst);
- };
-
- // DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed
- if ($.effects && ( $.effects.effect[showAnim] || $.effects[showAnim] )) {
- inst.dpDiv.hide(showAnim, $.datepicker._get(inst, "showOptions"), duration, postProcess);
- } else {
- inst.dpDiv[(showAnim === "slideDown" ? "slideUp" :
- (showAnim === "fadeIn" ? "fadeOut" : "hide"))]((showAnim ? duration : null), postProcess);
- }
-
- if (!showAnim) {
- postProcess();
- }
- this._datepickerShowing = false;
-
- onClose = this._get(inst, "onClose");
- if (onClose) {
- onClose.apply((inst.input ? inst.input[0] : null), [(inst.input ? inst.input.val() : ""), inst]);
- }
-
- this._lastInput = null;
- if (this._inDialog) {
- this._dialogInput.css({position: "absolute", left: "0", top: "-100px"});
- if ($.blockUI) {
- $.unblockUI();
- $("body").append(this.dpDiv);
- }
- }
- this._inDialog = false;
- }
- },
-
- /* Tidy up after a dialog display. */
- _tidyDialog: function (inst) {
- inst.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar");
- },
-
- /* Close date picker if clicked elsewhere. */
- _checkExternalClick: function (event) {
- if (!$.datepicker._curInst) {
- return;
- }
-
- var $target = $(event.target),
- inst = $.datepicker._getInst($target[0]);
-
- if (( ( $target[0].id !== $.datepicker._mainDivId &&
- $target.parents("#" + $.datepicker._mainDivId).length === 0 && !$target.hasClass($.datepicker.markerClassName) && !$target.closest("." + $.datepicker._triggerClass).length &&
- $.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) ||
- ( $target.hasClass($.datepicker.markerClassName) && $.datepicker._curInst !== inst )) {
- $.datepicker._hideDatepicker();
- }
- },
-
- /* Adjust one of the date sub-fields. */
- _adjustDate: function (id, offset, period) {
- var target = $(id),
- inst = this._getInst(target[0]);
-
- if (this._isDisabledDatepicker(target[0])) {
- return;
- }
- this._adjustInstDate(inst, offset +
- (period === "M" ? this._get(inst, "showCurrentAtPos") : 0), // undo positioning
- period);
- this._updateDatepicker(inst);
- },
-
- /* Action for current link. */
- _gotoToday: function (id) {
- var date,
- target = $(id),
- inst = this._getInst(target[0]);
-
- if (this._get(inst, "gotoCurrent") && inst.currentDay) {
- inst.selectedDay = inst.currentDay;
- inst.drawMonth = inst.selectedMonth = inst.currentMonth;
- inst.drawYear = inst.selectedYear = inst.currentYear;
- } else {
- date = new Date();
- inst.selectedDay = date.getDate();
- inst.drawMonth = inst.selectedMonth = date.getMonth();
- inst.drawYear = inst.selectedYear = date.getFullYear();
- }
- this._notifyChange(inst);
- this._adjustDate(target);
- },
-
- /* Action for selecting a new month/year. */
- _selectMonthYear: function (id, select, period) {
- var target = $(id),
- inst = this._getInst(target[0]);
-
- inst["selected" + (period === "M" ? "Month" : "Year")] =
- inst["draw" + (period === "M" ? "Month" : "Year")] =
- parseInt(select.options[select.selectedIndex].value, 10);
-
- this._notifyChange(inst);
- this._adjustDate(target);
- },
-
- /* Action for selecting a day. */
- _selectDay: function (id, month, year, td) {
- var inst,
- target = $(id);
-
- if ($(td).hasClass(this._unselectableClass) || this._isDisabledDatepicker(target[0])) {
- return;
- }
-
- inst = this._getInst(target[0]);
- inst.selectedDay = inst.currentDay = $("a", td).html();
- inst.selectedMonth = inst.currentMonth = month;
- inst.selectedYear = inst.currentYear = year;
- this._selectDate(id, this._formatDate(inst,
- inst.currentDay, inst.currentMonth, inst.currentYear));
- },
-
- /* Erase the input field and hide the date picker. */
- _clearDate: function (id) {
- var target = $(id);
- this._selectDate(target, "");
- },
-
- /* Update the input field with the selected date. */
- _selectDate: function (id, dateStr) {
- var onSelect,
- target = $(id),
- inst = this._getInst(target[0]);
-
- dateStr = (dateStr != null ? dateStr : this._formatDate(inst));
- if (inst.input) {
- inst.input.val(dateStr);
- }
- this._updateAlternate(inst);
-
- onSelect = this._get(inst, "onSelect");
- if (onSelect) {
- onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]); // trigger custom callback
- } else if (inst.input) {
- inst.input.trigger("change"); // fire the change event
- }
-
- if (inst.inline) {
- this._updateDatepicker(inst);
- } else {
- this._hideDatepicker();
- this._lastInput = inst.input[0];
- if (typeof(inst.input[0]) !== "object") {
- inst.input.focus(); // restore focus
- }
- this._lastInput = null;
- }
- },
-
- /* Update any alternate field to synchronise with the main field. */
- _updateAlternate: function (inst) {
- var altFormat, date, dateStr,
- altField = this._get(inst, "altField");
-
- if (altField) { // update alternate field too
- altFormat = this._get(inst, "altFormat") || this._get(inst, "dateFormat");
- date = this._getDate(inst);
- dateStr = this.formatDate(altFormat, date, this._getFormatConfig(inst));
- $(altField).each(function () {
- $(this).val(dateStr);
- });
- }
- },
-
- /* Set as beforeShowDay function to prevent selection of weekends.
- * @param date Date - the date to customise
- * @return [boolean, string] - is this date selectable?, what is its CSS class?
- */
- noWeekends: function (date) {
- var day = date.getDay();
- return [(day > 0 && day < 6), ""];
- },
-
- /* Set as calculateWeek to determine the week of the year based on the ISO 8601 definition.
- * @param date Date - the date to get the week for
- * @return number - the number of the week within the year that contains this date
- */
- iso8601Week: function (date) {
- var time,
- checkDate = new Date(date.getTime());
-
- // Find Thursday of this week starting on Monday
- checkDate.setDate(checkDate.getDate() + 4 - (checkDate.getDay() || 7));
-
- time = checkDate.getTime();
- checkDate.setMonth(0); // Compare with Jan 1
- checkDate.setDate(1);
- return Math.floor(Math.round((time - checkDate) / 86400000) / 7) + 1;
- },
-
- /* Parse a string value into a date object.
- * See formatDate below for the possible formats.
- *
- * @param format string - the expected format of the date
- * @param value string - the date in the above format
- * @param settings Object - attributes include:
- * shortYearCutoff number - the cutoff year for determining the century (optional)
- * dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)
- * dayNames string[7] - names of the days from Sunday (optional)
- * monthNamesShort string[12] - abbreviated names of the months (optional)
- * monthNames string[12] - names of the months (optional)
- * @return Date - the extracted date value or null if value is blank
- */
- parseDate: function (format, value, settings) {
- if (format == null || value == null) {
- throw "Invalid arguments";
- }
-
- value = (typeof value === "object" ? value.toString() : value + "");
- if (value === "") {
- return null;
- }
-
- var iFormat, dim, extra,
- iValue = 0,
- shortYearCutoffTemp = (settings ? settings.shortYearCutoff : null) || this._defaults.shortYearCutoff,
- shortYearCutoff = (typeof shortYearCutoffTemp !== "string" ? shortYearCutoffTemp :
- new Date().getFullYear() % 100 + parseInt(shortYearCutoffTemp, 10)),
- dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort,
- dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames,
- monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort,
- monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames,
- year = -1,
- month = -1,
- day = -1,
- doy = -1,
- literal = false,
- date,
- // Check whether a format character is doubled
- lookAhead = function (match) {
- var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
- if (matches) {
- iFormat++;
- }
- return matches;
- },
- // Extract a number from the string value
- getNumber = function (match) {
- var isDoubled = lookAhead(match),
- size = (match === "@" ? 14 : (match === "!" ? 20 :
- (match === "y" && isDoubled ? 4 : (match === "o" ? 3 : 2)))),
- minSize = (match === "y" ? size : 1),
- digits = new RegExp("^\\d{" + minSize + "," + size + "}"),
- num = value.substring(iValue).match(digits);
- if (!num) {
- throw "Missing number at position " + iValue;
- }
- iValue += num[0].length;
- return parseInt(num[0], 10);
- },
- // Extract a name from the string value and convert to an index
- getName = function (match, shortNames, longNames) {
- var index = -1,
- names = $.map(lookAhead(match) ? longNames : shortNames, function (v, k) {
- return [[k, v]];
- }).sort(function (a, b) {
- return -(a[1].length - b[1].length);
- });
-
- $.each(names, function (i, pair) {
- var name = pair[1];
- if (value.substr(iValue, name.length).toLowerCase() === name.toLowerCase()) {
- index = pair[0];
- iValue += name.length;
- return false;
- }
- });
- if (index !== -1) {
- return index + 1;
- } else {
- throw "Unknown name at position " + iValue;
- }
- },
- // Confirm that a literal character matches the string value
- checkLiteral = function () {
- if (value.charAt(iValue) !== format.charAt(iFormat)) {
- throw "Unexpected literal at position " + iValue;
- }
- iValue++;
- };
-
- for (iFormat = 0; iFormat < format.length; iFormat++) {
- if (literal) {
- if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
- literal = false;
- } else {
- checkLiteral();
- }
- } else {
- switch (format.charAt(iFormat)) {
- case "d":
- day = getNumber("d");
- break;
- case "D":
- getName("D", dayNamesShort, dayNames);
- break;
- case "o":
- doy = getNumber("o");
- break;
- case "m":
- month = getNumber("m");
- break;
- case "M":
- month = getName("M", monthNamesShort, monthNames);
- break;
- case "y":
- year = getNumber("y");
- break;
- case "@":
- date = new Date(getNumber("@"));
- year = date.getFullYear();
- month = date.getMonth() + 1;
- day = date.getDate();
- break;
- case "!":
- date = new Date((getNumber("!") - this._ticksTo1970) / 10000);
- year = date.getFullYear();
- month = date.getMonth() + 1;
- day = date.getDate();
- break;
- case "'":
- if (lookAhead("'")) {
- checkLiteral();
- } else {
- literal = true;
- }
- break;
- default:
- checkLiteral();
- }
- }
- }
-
- if (iValue < value.length) {
- extra = value.substr(iValue);
- if (!/^\s+/.test(extra)) {
- throw "Extra/unparsed characters found in date: " + extra;
- }
- }
-
- if (year === -1) {
- year = new Date().getFullYear();
- } else if (year < 100) {
- year += new Date().getFullYear() - new Date().getFullYear() % 100 +
- (year <= shortYearCutoff ? 0 : -100);
- }
-
- if (doy > -1) {
- month = 1;
- day = doy;
- do {
- dim = this._getDaysInMonth(year, month - 1);
- if (day <= dim) {
- break;
- }
- month++;
- day -= dim;
- } while (true);
- }
-
- date = this._daylightSavingAdjust(new Date(year, month - 1, day));
- if (date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day) {
- throw "Invalid date"; // E.g. 31/02/00
- }
- return date;
- },
-
- /* Standard date formats. */
- ATOM: "yy-mm-dd", // RFC 3339 (ISO 8601)
- COOKIE: "D, dd M yy",
- ISO_8601: "yy-mm-dd",
- RFC_822: "D, d M y",
- RFC_850: "DD, dd-M-y",
- RFC_1036: "D, d M y",
- RFC_1123: "D, d M yy",
- RFC_2822: "D, d M yy",
- RSS: "D, d M y", // RFC 822
- TICKS: "!",
- TIMESTAMP: "@",
- W3C: "yy-mm-dd", // ISO 8601
-
- _ticksTo1970: (((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) +
- Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000),
-
- /* Format a date object into a string value.
- * The format can be combinations of the following:
- * d - day of month (no leading zero)
- * dd - day of month (two digit)
- * o - day of year (no leading zeros)
- * oo - day of year (three digit)
- * D - day name short
- * DD - day name long
- * m - month of year (no leading zero)
- * mm - month of year (two digit)
- * M - month name short
- * MM - month name long
- * y - year (two digit)
- * yy - year (four digit)
- * @ - Unix timestamp (ms since 01/01/1970)
- * ! - Windows ticks (100ns since 01/01/0001)
- * "..." - literal text
- * '' - single quote
- *
- * @param format string - the desired format of the date
- * @param date Date - the date value to format
- * @param settings Object - attributes include:
- * dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)
- * dayNames string[7] - names of the days from Sunday (optional)
- * monthNamesShort string[12] - abbreviated names of the months (optional)
- * monthNames string[12] - names of the months (optional)
- * @return string - the date in the above format
- */
- formatDate: function (format, date, settings) {
- if (!date) {
- return "";
- }
-
- var iFormat,
- dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort,
- dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames,
- monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort,
- monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames,
- // Check whether a format character is doubled
- lookAhead = function (match) {
- var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
- if (matches) {
- iFormat++;
- }
- return matches;
- },
- // Format a number, with leading zero if necessary
- formatNumber = function (match, value, len) {
- var num = "" + value;
- if (lookAhead(match)) {
- while (num.length < len) {
- num = "0" + num;
- }
- }
- return num;
- },
- // Format a name, short or long as requested
- formatName = function (match, value, shortNames, longNames) {
- return (lookAhead(match) ? longNames[value] : shortNames[value]);
- },
- output = "",
- literal = false;
-
- if (date) {
- for (iFormat = 0; iFormat < format.length; iFormat++) {
- if (literal) {
- if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
- literal = false;
- } else {
- output += format.charAt(iFormat);
- }
- } else {
- switch (format.charAt(iFormat)) {
- case "d":
- output += formatNumber("d", date.getDate(), 2);
- break;
- case "D":
- output += formatName("D", date.getDay(), dayNamesShort, dayNames);
- break;
- case "o":
- output += formatNumber("o",
- Math.round((new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() - new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3);
- break;
- case "m":
- output += formatNumber("m", date.getMonth() + 1, 2);
- break;
- case "M":
- output += formatName("M", date.getMonth(), monthNamesShort, monthNames);
- break;
- case "y":
- output += (lookAhead("y") ? date.getFullYear() :
- (date.getYear() % 100 < 10 ? "0" : "") + date.getYear() % 100);
- break;
- case "@":
- output += date.getTime();
- break;
- case "!":
- output += date.getTime() * 10000 + this._ticksTo1970;
- break;
- case "'":
- if (lookAhead("'")) {
- output += "'";
- } else {
- literal = true;
- }
- break;
- default:
- output += format.charAt(iFormat);
- }
- }
- }
- }
- return output;
- },
-
- /* Extract all possible characters from the date format. */
- _possibleChars: function (format) {
- var iFormat,
- chars = "",
- literal = false,
- // Check whether a format character is doubled
- lookAhead = function (match) {
- var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
- if (matches) {
- iFormat++;
- }
- return matches;
- };
-
- for (iFormat = 0; iFormat < format.length; iFormat++) {
- if (literal) {
- if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
- literal = false;
- } else {
- chars += format.charAt(iFormat);
- }
- } else {
- switch (format.charAt(iFormat)) {
- case "d":
- case "m":
- case "y":
- case "@":
- chars += "0123456789";
- break;
- case "D":
- case "M":
- return null; // Accept anything
- case "'":
- if (lookAhead("'")) {
- chars += "'";
- } else {
- literal = true;
- }
- break;
- default:
- chars += format.charAt(iFormat);
- }
- }
- }
- return chars;
- },
-
- /* Get a setting value, defaulting if necessary. */
- _get: function (inst, name) {
- return inst.settings[name] !== undefined ?
- inst.settings[name] : this._defaults[name];
- },
-
- /* Parse existing date and initialise date picker. */
- _setDateFromField: function (inst, noDefault) {
- if (inst.input.val() === inst.lastVal) {
- return;
- }
-
- var dateFormat = this._get(inst, "dateFormat"),
- dates = inst.lastVal = inst.input ? inst.input.val() : null,
- defaultDate = this._getDefaultDate(inst),
- date = defaultDate,
- settings = this._getFormatConfig(inst);
-
- try {
- date = this.parseDate(dateFormat, dates, settings) || defaultDate;
- } catch (event) {
- dates = (noDefault ? "" : dates);
- }
- inst.selectedDay = date.getDate();
- inst.drawMonth = inst.selectedMonth = date.getMonth();
- inst.drawYear = inst.selectedYear = date.getFullYear();
- inst.currentDay = (dates ? date.getDate() : 0);
- inst.currentMonth = (dates ? date.getMonth() : 0);
- inst.currentYear = (dates ? date.getFullYear() : 0);
- this._adjustInstDate(inst);
- },
-
- /* Retrieve the default date shown on opening. */
- _getDefaultDate: function (inst) {
- return this._restrictMinMax(inst,
- this._determineDate(inst, this._get(inst, "defaultDate"), new Date()));
- },
-
- /* A date may be specified as an exact value or a relative one. */
- _determineDate: function (inst, date, defaultDate) {
- var offsetNumeric = function (offset) {
- var date = new Date();
- date.setDate(date.getDate() + offset);
- return date;
- },
- offsetString = function (offset) {
- try {
- return $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),
- offset, $.datepicker._getFormatConfig(inst));
- }
- catch (e) {
- // Ignore
- }
-
- var date = (offset.toLowerCase().match(/^c/) ?
- $.datepicker._getDate(inst) : null) || new Date(),
- year = date.getFullYear(),
- month = date.getMonth(),
- day = date.getDate(),
- pattern = /([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,
- matches = pattern.exec(offset);
-
- while (matches) {
- switch (matches[2] || "d") {
- case "d" :
- case "D" :
- day += parseInt(matches[1], 10);
- break;
- case "w" :
- case "W" :
- day += parseInt(matches[1], 10) * 7;
- break;
- case "m" :
- case "M" :
- month += parseInt(matches[1], 10);
- day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
- break;
- case "y":
- case "Y" :
- year += parseInt(matches[1], 10);
- day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
- break;
- }
- matches = pattern.exec(offset);
- }
- return new Date(year, month, day);
- },
- newDate = (date == null || date === "" ? defaultDate : (typeof date === "string" ? offsetString(date) :
- (typeof date === "number" ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : new Date(date.getTime()))));
-
- newDate = (newDate && newDate.toString() === "Invalid Date" ? defaultDate : newDate);
- if (newDate) {
- newDate.setHours(0);
- newDate.setMinutes(0);
- newDate.setSeconds(0);
- newDate.setMilliseconds(0);
- }
- return this._daylightSavingAdjust(newDate);
- },
-
- /* Handle switch to/from daylight saving.
- * Hours may be non-zero on daylight saving cut-over:
- * > 12 when midnight changeover, but then cannot generate
- * midnight datetime, so jump to 1AM, otherwise reset.
- * @param date (Date) the date to check
- * @return (Date) the corrected date
- */
- _daylightSavingAdjust: function (date) {
- if (!date) {
- return null;
- }
- date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0);
- return date;
- },
-
- /* Set the date(s) directly. */
- _setDate: function (inst, date, noChange) {
- var clear = !date,
- origMonth = inst.selectedMonth,
- origYear = inst.selectedYear,
- newDate = this._restrictMinMax(inst, this._determineDate(inst, date, new Date()));
-
- inst.selectedDay = inst.currentDay = newDate.getDate();
- inst.drawMonth = inst.selectedMonth = inst.currentMonth = newDate.getMonth();
- inst.drawYear = inst.selectedYear = inst.currentYear = newDate.getFullYear();
- if ((origMonth !== inst.selectedMonth || origYear !== inst.selectedYear) && !noChange) {
- this._notifyChange(inst);
- }
- this._adjustInstDate(inst);
- if (inst.input) {
- inst.input.val(clear ? "" : this._formatDate(inst));
- }
- },
-
- /* Retrieve the date(s) directly. */
- _getDate: function (inst) {
- var startDate = (!inst.currentYear || (inst.input && inst.input.val() === "") ? null :
- this._daylightSavingAdjust(new Date(
- inst.currentYear, inst.currentMonth, inst.currentDay)));
- return startDate;
- },
-
- /* Attach the onxxx handlers. These are declared statically so
- * they work with static code transformers like Caja.
- */
- _attachHandlers: function (inst) {
- var stepMonths = this._get(inst, "stepMonths"),
- id = "#" + inst.id.replace(/\\\\/g, "\\");
- inst.dpDiv.find("[data-handler]").map(function () {
- var handler = {
- prev: function () {
- $.datepicker._adjustDate(id, -stepMonths, "M");
- },
- next: function () {
- $.datepicker._adjustDate(id, +stepMonths, "M");
- },
- hide: function () {
- $.datepicker._hideDatepicker();
- },
- today: function () {
- $.datepicker._gotoToday(id);
- },
- selectDay: function () {
- $.datepicker._selectDay(id, +this.getAttribute("data-month"), +this.getAttribute("data-year"), this);
- return false;
- },
- selectMonth: function () {
- $.datepicker._selectMonthYear(id, this, "M");
- return false;
- },
- selectYear: function () {
- $.datepicker._selectMonthYear(id, this, "Y");
- return false;
- }
- };
- $(this).bind(this.getAttribute("data-event"), handler[this.getAttribute("data-handler")]);
- });
- },
-
- /* Generate the HTML for the current state of the date picker. */
- _generateHTML: function (inst) {
- var maxDraw, prevText, prev, nextText, next, currentText, gotoDate,
- controls, buttonPanel, firstDay, showWeek, dayNames, dayNamesMin,
- monthNames, monthNamesShort, beforeShowDay, showOtherMonths,
- selectOtherMonths, defaultDate, html, dow, row, group, col, selectedDate,
- cornerClass, calender, thead, day, daysInMonth, leadDays, curRows, numRows,
- printDate, dRow, tbody, daySettings, otherMonth, unselectable,
- tempDate = new Date(),
- today = this._daylightSavingAdjust(
- new Date(tempDate.getFullYear(), tempDate.getMonth(), tempDate.getDate())), // clear time
- isRTL = this._get(inst, "isRTL"),
- showButtonPanel = this._get(inst, "showButtonPanel"),
- hideIfNoPrevNext = this._get(inst, "hideIfNoPrevNext"),
- navigationAsDateFormat = this._get(inst, "navigationAsDateFormat"),
- numMonths = this._getNumberOfMonths(inst),
- showCurrentAtPos = this._get(inst, "showCurrentAtPos"),
- stepMonths = this._get(inst, "stepMonths"),
- isMultiMonth = (numMonths[0] !== 1 || numMonths[1] !== 1),
- currentDate = this._daylightSavingAdjust((!inst.currentDay ? new Date(9999, 9, 9) :
- new Date(inst.currentYear, inst.currentMonth, inst.currentDay))),
- minDate = this._getMinMaxDate(inst, "min"),
- maxDate = this._getMinMaxDate(inst, "max"),
- drawMonth = inst.drawMonth - showCurrentAtPos,
- drawYear = inst.drawYear;
-
- if (drawMonth < 0) {
- drawMonth += 12;
- drawYear--;
- }
- if (maxDate) {
- maxDraw = this._daylightSavingAdjust(new Date(maxDate.getFullYear(),
- maxDate.getMonth() - (numMonths[0] * numMonths[1]) + 1, maxDate.getDate()));
- maxDraw = (minDate && maxDraw < minDate ? minDate : maxDraw);
- while (this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1)) > maxDraw) {
- drawMonth--;
- if (drawMonth < 0) {
- drawMonth = 11;
- drawYear--;
- }
- }
- }
- inst.drawMonth = drawMonth;
- inst.drawYear = drawYear;
-
- prevText = this._get(inst, "prevText");
- prevText = (!navigationAsDateFormat ? prevText : this.formatDate(prevText,
- this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)),
- this._getFormatConfig(inst)));
-
- prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
- "<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'" +
- " title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>" :
- (hideIfNoPrevNext ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>"));
-
- nextText = this._get(inst, "nextText");
- nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText,
- this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)),
- this._getFormatConfig(inst)));
-
- next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ?
- "<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click'" +
- " title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>" :
- (hideIfNoPrevNext ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>"));
-
- currentText = this._get(inst, "currentText");
- gotoDate = (this._get(inst, "gotoCurrent") && inst.currentDay ? currentDate : today);
- currentText = (!navigationAsDateFormat ? currentText :
- this.formatDate(currentText, gotoDate, this._getFormatConfig(inst)));
-
- controls = (!inst.inline ? "<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>" +
- this._get(inst, "closeText") + "</button>" : "");
-
- buttonPanel = (showButtonPanel) ? "<div class='ui-datepicker-buttonpane ui-widget-content'>" + (isRTL ? controls : "") +
- (this._isInRange(inst, gotoDate) ? "<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'" +
- ">" + currentText + "</button>" : "") + (isRTL ? "" : controls) + "</div>" : "";
-
- firstDay = parseInt(this._get(inst, "firstDay"), 10);
- firstDay = (isNaN(firstDay) ? 0 : firstDay);
-
- showWeek = this._get(inst, "showWeek");
- dayNames = this._get(inst, "dayNames");
- dayNamesMin = this._get(inst, "dayNamesMin");
- monthNames = this._get(inst, "monthNames");
- monthNamesShort = this._get(inst, "monthNamesShort");
- beforeShowDay = this._get(inst, "beforeShowDay");
- showOtherMonths = this._get(inst, "showOtherMonths");
- selectOtherMonths = this._get(inst, "selectOtherMonths");
- defaultDate = this._getDefaultDate(inst);
- html = "";
- dow;
- for (row = 0; row < numMonths[0]; row++) {
- group = "";
- this.maxRows = 4;
- for (col = 0; col < numMonths[1]; col++) {
- selectedDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay));
- cornerClass = " ui-corner-all";
- calender = "";
- if (isMultiMonth) {
- calender += "<div class='ui-datepicker-group";
- if (numMonths[1] > 1) {
- switch (col) {
- case 0:
- calender += " ui-datepicker-group-first";
- cornerClass = " ui-corner-" + (isRTL ? "right" : "left");
- break;
- case numMonths[1] - 1:
- calender += " ui-datepicker-group-last";
- cornerClass = " ui-corner-" + (isRTL ? "left" : "right");
- break;
- default:
- calender += " ui-datepicker-group-middle";
- cornerClass = "";
- break;
- }
- }
- calender += "'>";
- }
- calender += "<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix" + cornerClass + "'>" +
- (/all|left/.test(cornerClass) && row === 0 ? (isRTL ? next : prev) : "") +
- (/all|right/.test(cornerClass) && row === 0 ? (isRTL ? prev : next) : "") +
- this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate,
- row > 0 || col > 0, monthNames, monthNamesShort) + // draw month headers
- "</div><table class='ui-datepicker-calendar'><thead>" +
- "<tr>";
- thead = (showWeek ? "<th class='ui-datepicker-week-col'>" + this._get(inst, "weekHeader") + "</th>" : "");
- for (dow = 0; dow < 7; dow++) { // days of the week
- day = (dow + firstDay) % 7;
- thead += "<th scope='col'" + ((dow + firstDay + 6) % 7 >= 5 ? " class='ui-datepicker-week-end'" : "") + ">" +
- "<span title='" + dayNames[day] + "'>" + dayNamesMin[day] + "</span></th>";
- }
- calender += thead + "</tr></thead><tbody>";
- daysInMonth = this._getDaysInMonth(drawYear, drawMonth);
- if (drawYear === inst.selectedYear && drawMonth === inst.selectedMonth) {
- inst.selectedDay = Math.min(inst.selectedDay, daysInMonth);
- }
- leadDays = (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7;
- curRows = Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate
- numRows = (isMultiMonth ? this.maxRows > curRows ? this.maxRows : curRows : curRows); //If multiple months, use the higher number of rows (see #7043)
- this.maxRows = numRows;
- printDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1 - leadDays));
- for (dRow = 0; dRow < numRows; dRow++) { // create date picker rows
- calender += "<tr>";
- tbody = (!showWeek ? "" : "<td class='ui-datepicker-week-col'>" +
- this._get(inst, "calculateWeek")(printDate) + "</td>");
- for (dow = 0; dow < 7; dow++) { // create date picker days
- daySettings = (beforeShowDay ?
- beforeShowDay.apply((inst.input ? inst.input[0] : null), [printDate]) : [true, ""]);
- otherMonth = (printDate.getMonth() !== drawMonth);
- unselectable = (otherMonth && !selectOtherMonths) || !daySettings[0] ||
- (minDate && printDate < minDate) || (maxDate && printDate > maxDate);
- tbody += "<td class='" +
- ((dow + firstDay + 6) % 7 >= 5 ? " ui-datepicker-week-end" : "") + // highlight weekends
- (otherMonth ? " ui-datepicker-other-month" : "") + // highlight days from other months
- ((printDate.getTime() === selectedDate.getTime() && drawMonth === inst.selectedMonth && inst._keyEvent) || // user pressed key
- (defaultDate.getTime() === printDate.getTime() && defaultDate.getTime() === selectedDate.getTime()) ?
- // or defaultDate is current printedDate and defaultDate is selectedDate
- " " + this._dayOverClass : "") + // highlight selected day
- (unselectable ? " " + this._unselectableClass + " ui-state-disabled" : "") + // highlight unselectable days
- (otherMonth && !showOtherMonths ? "" : " " + daySettings[1] + // highlight custom dates
- (printDate.getTime() === currentDate.getTime() ? " " + this._currentClass : "") + // highlight selected day
- (printDate.getTime() === today.getTime() ? " ui-datepicker-today" : "")) + "'" + // highlight today (if different)
- ((!otherMonth || showOtherMonths) && daySettings[2] ? " title='" + daySettings[2].replace(/'/g, "&#39;") + "'" : "") + // cell title
- (unselectable ? "" : " data-handler='selectDay' data-event='click' data-month='" + printDate.getMonth() + "' data-year='" + printDate.getFullYear() + "'") + ">" + // actions
- (otherMonth && !showOtherMonths ? "&#xa0;" : // display for other months
- (unselectable ? "<span class='ui-state-default'>" + printDate.getDate() + "</span>" : "<a class='ui-state-default" +
- (printDate.getTime() === today.getTime() ? " ui-state-highlight" : "") +
- (printDate.getTime() === currentDate.getTime() ? " ui-state-active" : "") + // highlight selected day
- (otherMonth ? " ui-priority-secondary" : "") + // distinguish dates from other months
- "' href='#'>" + printDate.getDate() + "</a>")) + "</td>"; // display selectable date
- printDate.setDate(printDate.getDate() + 1);
- printDate = this._daylightSavingAdjust(printDate);
- }
- calender += tbody + "</tr>";
- }
- drawMonth++;
- if (drawMonth > 11) {
- drawMonth = 0;
- drawYear++;
- }
- calender += "</tbody></table>" + (isMultiMonth ? "</div>" +
- ((numMonths[0] > 0 && col === numMonths[1] - 1) ? "<div class='ui-datepicker-row-break'></div>" : "") : "");
- group += calender;
- }
- html += group;
- }
- html += buttonPanel;
- inst._keyEvent = false;
- return html;
- },
-
- /* Generate the month and year header. */
- _generateMonthYearHeader: function (inst, drawMonth, drawYear, minDate, maxDate,
- secondary, monthNames, monthNamesShort) {
-
- var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear,
- changeMonth = this._get(inst, "changeMonth"),
- changeYear = this._get(inst, "changeYear"),
- showMonthAfterYear = this._get(inst, "showMonthAfterYear"),
- html = "<div class='ui-datepicker-title'>",
- monthHtml = "";
-
- // month selection
- if (secondary || !changeMonth) {
- monthHtml += "<span class='ui-datepicker-month'>" + monthNames[drawMonth] + "</span>";
- } else {
- inMinYear = (minDate && minDate.getFullYear() === drawYear);
- inMaxYear = (maxDate && maxDate.getFullYear() === drawYear);
- monthHtml += "<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>";
- for (month = 0; month < 12; month++) {
- if ((!inMinYear || month >= minDate.getMonth()) && (!inMaxYear || month <= maxDate.getMonth())) {
- monthHtml += "<option value='" + month + "'" +
- (month === drawMonth ? " selected='selected'" : "") +
- ">" + monthNamesShort[month] + "</option>";
- }
- }
- monthHtml += "</select>";
- }
-
- if (!showMonthAfterYear) {
- html += monthHtml + (secondary || !(changeMonth && changeYear) ? "&#xa0;" : "");
- }
-
- // year selection
- if (!inst.yearshtml) {
- inst.yearshtml = "";
- if (secondary || !changeYear) {
- html += "<span class='ui-datepicker-year'>" + drawYear + "</span>";
- } else {
- // determine range of years to display
- years = this._get(inst, "yearRange").split(":");
- thisYear = new Date().getFullYear();
- determineYear = function (value) {
- var year = (value.match(/c[+\-].*/) ? drawYear + parseInt(value.substring(1), 10) :
- (value.match(/[+\-].*/) ? thisYear + parseInt(value, 10) :
- parseInt(value, 10)));
- return (isNaN(year) ? thisYear : year);
- };
- year = determineYear(years[0]);
- endYear = Math.max(year, determineYear(years[1] || ""));
- year = (minDate ? Math.max(year, minDate.getFullYear()) : year);
- endYear = (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear);
- inst.yearshtml += "<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";
- for (; year <= endYear; year++) {
- inst.yearshtml += "<option value='" + year + "'" +
- (year === drawYear ? " selected='selected'" : "") +
- ">" + year + "</option>";
- }
- inst.yearshtml += "</select>";
-
- html += inst.yearshtml;
- inst.yearshtml = null;
- }
- }
-
- html += this._get(inst, "yearSuffix");
- if (showMonthAfterYear) {
- html += (secondary || !(changeMonth && changeYear) ? "&#xa0;" : "") + monthHtml;
- }
- html += "</div>"; // Close datepicker_header
- return html;
- },
-
- /* Adjust one of the date sub-fields. */
- _adjustInstDate: function (inst, offset, period) {
- var year = inst.drawYear + (period === "Y" ? offset : 0),
- month = inst.drawMonth + (period === "M" ? offset : 0),
- day = Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) + (period === "D" ? offset : 0),
- date = this._restrictMinMax(inst, this._daylightSavingAdjust(new Date(year, month, day)));
-
- inst.selectedDay = date.getDate();
- inst.drawMonth = inst.selectedMonth = date.getMonth();
- inst.drawYear = inst.selectedYear = date.getFullYear();
- if (period === "M" || period === "Y") {
- this._notifyChange(inst);
- }
- },
-
- /* Ensure a date is within any min/max bounds. */
- _restrictMinMax: function (inst, date) {
- var minDate = this._getMinMaxDate(inst, "min"),
- maxDate = this._getMinMaxDate(inst, "max"),
- newDate = (minDate && date < minDate ? minDate : date);
- return (maxDate && newDate > maxDate ? maxDate : newDate);
- },
-
- /* Notify change of month/year. */
- _notifyChange: function (inst) {
- var onChange = this._get(inst, "onChangeMonthYear");
- if (onChange) {
- onChange.apply((inst.input ? inst.input[0] : null),
- [inst.selectedYear, inst.selectedMonth + 1, inst]);
- }
- },
-
- /* Determine the number of months to show. */
- _getNumberOfMonths: function (inst) {
- var numMonths = this._get(inst, "numberOfMonths");
- return (numMonths == null ? [1, 1] : (typeof numMonths === "number" ? [1, numMonths] : numMonths));
- },
-
- /* Determine the current maximum date - ensure no time components are set. */
- _getMinMaxDate: function (inst, minMax) {
- return this._determineDate(inst, this._get(inst, minMax + "Date"), null);
- },
-
- /* Find the number of days in a given month. */
- _getDaysInMonth: function (year, month) {
- return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate();
- },
-
- /* Find the day of the week of the first of a month. */
- _getFirstDayOfMonth: function (year, month) {
- return new Date(year, month, 1).getDay();
- },
-
- /* Determines if we should allow a "next/prev" month display change. */
- _canAdjustMonth: function (inst, offset, curYear, curMonth) {
- var numMonths = this._getNumberOfMonths(inst),
- date = this._daylightSavingAdjust(new Date(curYear,
- curMonth + (offset < 0 ? offset : numMonths[0] * numMonths[1]), 1));
-
- if (offset < 0) {
- date.setDate(this._getDaysInMonth(date.getFullYear(), date.getMonth()));
- }
- return this._isInRange(inst, date);
- },
-
- /* Is the given date in the accepted range? */
- _isInRange: function (inst, date) {
- var yearSplit, currentYear,
- minDate = this._getMinMaxDate(inst, "min"),
- maxDate = this._getMinMaxDate(inst, "max"),
- minYear = null,
- maxYear = null,
- years = this._get(inst, "yearRange");
- if (years) {
- yearSplit = years.split(":");
- currentYear = new Date().getFullYear();
- minYear = parseInt(yearSplit[0], 10);
- maxYear = parseInt(yearSplit[1], 10);
- if (yearSplit[0].match(/[+\-].*/)) {
- minYear += currentYear;
- }
- if (yearSplit[1].match(/[+\-].*/)) {
- maxYear += currentYear;
- }
- }
-
- return ((!minDate || date.getTime() >= minDate.getTime()) &&
- (!maxDate || date.getTime() <= maxDate.getTime()) &&
- (!minYear || date.getFullYear() >= minYear) &&
- (!maxYear || date.getFullYear() <= maxYear));
- },
-
- /* Provide the configuration settings for formatting/parsing. */
- _getFormatConfig: function (inst) {
- var shortYearCutoff = this._get(inst, "shortYearCutoff");
- shortYearCutoff = (typeof shortYearCutoff !== "string" ? shortYearCutoff :
- new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10));
- return {
- shortYearCutoff: shortYearCutoff,
- dayNamesShort: this._get(inst, "dayNamesShort"), dayNames: this._get(inst, "dayNames"),
- monthNamesShort: this._get(inst, "monthNamesShort"), monthNames: this._get(inst, "monthNames")
- };
- },
-
- /* Format the given date for display. */
- _formatDate: function (inst, day, month, year) {
- if (!day) {
- inst.currentDay = inst.selectedDay;
- inst.currentMonth = inst.selectedMonth;
- inst.currentYear = inst.selectedYear;
- }
- var date = (day ? (typeof day === "object" ? day :
- this._daylightSavingAdjust(new Date(year, month, day))) :
- this._daylightSavingAdjust(new Date(inst.currentYear, inst.currentMonth, inst.currentDay)));
- return this.formatDate(this._get(inst, "dateFormat"), date, this._getFormatConfig(inst));
- }
- });
-
- /*
- * Bind hover events for datepicker elements.
- * Done via delegate so the binding only occurs once in the lifetime of the parent div.
- * Global datepicker_instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker.
- */
- function datepicker_bindHover(dpDiv) {
- var selector = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";
- return dpDiv.delegate(selector, "mouseout", function () {
- $(this).removeClass("ui-state-hover");
- if (this.className.indexOf("ui-datepicker-prev") !== -1) {
- $(this).removeClass("ui-datepicker-prev-hover");
- }
- if (this.className.indexOf("ui-datepicker-next") !== -1) {
- $(this).removeClass("ui-datepicker-next-hover");
- }
- })
- .delegate(selector, "mouseover", datepicker_handleMouseover);
- }
-
- function datepicker_handleMouseover() {
- if (!$.datepicker._isDisabledDatepicker(datepicker_instActive.inline ? datepicker_instActive.dpDiv.parent()[0] : datepicker_instActive.input[0])) {
- $(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");
- $(this).addClass("ui-state-hover");
- if (this.className.indexOf("ui-datepicker-prev") !== -1) {
- $(this).addClass("ui-datepicker-prev-hover");
- }
- if (this.className.indexOf("ui-datepicker-next") !== -1) {
- $(this).addClass("ui-datepicker-next-hover");
- }
- }
- }
-
- /* jQuery extend now ignores nulls! */
- function datepicker_extendRemove(target, props) {
- $.extend(target, props);
- for (var name in props) {
- if (props[name] == null) {
- target[name] = props[name];
- }
- }
- return target;
- }
-
- /* Invoke the datepicker functionality.
- @param options string - a command, optionally followed by additional parameters or
- Object - settings for attaching new datepicker functionality
- @return jQuery object */
- $.fn.datepicker = function (options) {
-
- /* Verify an empty collection wasn't passed - Fixes #6976 */
- if (!this.length) {
- return this;
- }
-
- /* Initialise the date picker. */
- if (!$.datepicker.initialized) {
- $(document).mousedown($.datepicker._checkExternalClick);
- $.datepicker.initialized = true;
- }
-
- /* Append datepicker main container to body if not exist. */
- if ($("#" + $.datepicker._mainDivId).length === 0) {
- $("body").append($.datepicker.dpDiv);
- }
-
- var otherArgs = Array.prototype.slice.call(arguments, 1);
- if (typeof options === "string" && (options === "isDisabled" || options === "getDate" || options === "widget")) {
- return $.datepicker["_" + options + "Datepicker"].
- apply($.datepicker, [this[0]].concat(otherArgs));
- }
- if (options === "option" && arguments.length === 2 && typeof arguments[1] === "string") {
- return $.datepicker["_" + options + "Datepicker"].
- apply($.datepicker, [this[0]].concat(otherArgs));
- }
- return this.each(function () {
- typeof options === "string" ?
- $.datepicker["_" + options + "Datepicker"].
- apply($.datepicker, [this].concat(otherArgs)) :
- $.datepicker._attachDatepicker(this, options);
- });
- };
-
- $.datepicker = new Datepicker(); // singleton instance
- $.datepicker.initialized = false;
- $.datepicker.uuid = new Date().getTime();
- $.datepicker.version = "1.11.4";
-
- var datepicker = $.datepicker;
-
-
- /*!
- * jQuery UI Dialog 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/dialog/
- */
-
-
- var dialog = $.widget("ui.dialog", {
- version: "1.11.4",
- options: {
- appendTo: "body",
- autoOpen: true,
- buttons: [],
- closeOnEscape: true,
- closeText: "Close",
- dialogClass: "",
- draggable: true,
- hide: null,
- height: "auto",
- maxHeight: null,
- maxWidth: null,
- minHeight: 150,
- minWidth: 150,
- modal: false,
- position: {
- my: "center",
- at: "center",
- of: window,
- collision: "fit",
- // Ensure the titlebar is always visible
- using: function (pos) {
- var topOffset = $(this).css(pos).offset().top;
- if (topOffset < 0) {
- $(this).css("top", pos.top - topOffset);
- }
- }
- },
- resizable: true,
- show: null,
- title: null,
- width: 300,
-
- // callbacks
- beforeClose: null,
- close: null,
- drag: null,
- dragStart: null,
- dragStop: null,
- focus: null,
- open: null,
- resize: null,
- resizeStart: null,
- resizeStop: null
- },
-
- sizeRelatedOptions: {
- buttons: true,
- height: true,
- maxHeight: true,
- maxWidth: true,
- minHeight: true,
- minWidth: true,
- width: true
- },
-
- resizableRelatedOptions: {
- maxHeight: true,
- maxWidth: true,
- minHeight: true,
- minWidth: true
- },
-
- _create: function () {
- this.originalCss = {
- display: this.element[0].style.display,
- width: this.element[0].style.width,
- minHeight: this.element[0].style.minHeight,
- maxHeight: this.element[0].style.maxHeight,
- height: this.element[0].style.height
- };
- this.originalPosition = {
- parent: this.element.parent(),
- index: this.element.parent().children().index(this.element)
- };
- this.originalTitle = this.element.attr("title");
- this.options.title = this.options.title || this.originalTitle;
-
- this._createWrapper();
-
- this.element
- .show()
- .removeAttr("title")
- .addClass("ui-dialog-content ui-widget-content")
- .appendTo(this.uiDialog);
-
- this._createTitlebar();
- this._createButtonPane();
-
- if (this.options.draggable && $.fn.draggable) {
- this._makeDraggable();
- }
- if (this.options.resizable && $.fn.resizable) {
- this._makeResizable();
- }
-
- this._isOpen = false;
-
- this._trackFocus();
- },
-
- _init: function () {
- if (this.options.autoOpen) {
- this.open();
- }
- },
-
- _appendTo: function () {
- var element = this.options.appendTo;
- if (element && (element.jquery || element.nodeType)) {
- return $(element);
- }
- return this.document.find(element || "body").eq(0);
- },
-
- _destroy: function () {
- var next,
- originalPosition = this.originalPosition;
-
- this._untrackInstance();
- this._destroyOverlay();
-
- this.element
- .removeUniqueId()
- .removeClass("ui-dialog-content ui-widget-content")
- .css(this.originalCss)
- // Without detaching first, the following becomes really slow
- .detach();
-
- this.uiDialog.stop(true, true).remove();
-
- if (this.originalTitle) {
- this.element.attr("title", this.originalTitle);
- }
-
- next = originalPosition.parent.children().eq(originalPosition.index);
- // Don't try to place the dialog next to itself (#8613)
- if (next.length && next[0] !== this.element[0]) {
- next.before(this.element);
- } else {
- originalPosition.parent.append(this.element);
- }
- },
-
- widget: function () {
- return this.uiDialog;
- },
-
- disable: $.noop,
- enable: $.noop,
-
- close: function (event) {
- var activeElement,
- that = this;
-
- if (!this._isOpen || this._trigger("beforeClose", event) === false) {
- return;
- }
-
- this._isOpen = false;
- this._focusedElement = null;
- this._destroyOverlay();
- this._untrackInstance();
-
- if (!this.opener.filter(":focusable").focus().length) {
-
- // support: IE9
- // IE9 throws an "Unspecified error" accessing document.activeElement from an <iframe>
- try {
- activeElement = this.document[0].activeElement;
-
- // Support: IE9, IE10
- // If the <body> is blurred, IE will switch windows, see #4520
- if (activeElement && activeElement.nodeName.toLowerCase() !== "body") {
-
- // Hiding a focused element doesn't trigger blur in WebKit
- // so in case we have nothing to focus on, explicitly blur the active element
- // https://bugs.webkit.org/show_bug.cgi?id=47182
- $(activeElement).blur();
- }
- } catch (error) {
- }
- }
-
- this._hide(this.uiDialog, this.options.hide, function () {
- that._trigger("close", event);
- });
- },
-
- isOpen: function () {
- return this._isOpen;
- },
-
- moveToTop: function () {
- this._moveToTop();
- },
-
- _moveToTop: function (event, silent) {
- var moved = false,
- zIndices = this.uiDialog.siblings(".ui-front:visible").map(function () {
- return +$(this).css("z-index");
- }).get(),
- zIndexMax = Math.max.apply(null, zIndices);
-
- if (zIndexMax >= +this.uiDialog.css("z-index")) {
- this.uiDialog.css("z-index", zIndexMax + 1);
- moved = true;
- }
-
- if (moved && !silent) {
- this._trigger("focus", event);
- }
- return moved;
- },
-
- open: function () {
- var that = this;
- if (this._isOpen) {
- if (this._moveToTop()) {
- this._focusTabbable();
- }
- return;
- }
-
- this._isOpen = true;
- this.opener = $(this.document[0].activeElement);
-
- this._size();
- this._position();
- this._createOverlay();
- this._moveToTop(null, true);
-
- // Ensure the overlay is moved to the top with the dialog, but only when
- // opening. The overlay shouldn't move after the dialog is open so that
- // modeless dialogs opened after the modal dialog stack properly.
- if (this.overlay) {
- this.overlay.css("z-index", this.uiDialog.css("z-index") - 1);
- }
-
- this._show(this.uiDialog, this.options.show, function () {
- that._focusTabbable();
- that._trigger("focus");
- });
-
- // Track the dialog immediately upon openening in case a focus event
- // somehow occurs outside of the dialog before an element inside the
- // dialog is focused (#10152)
- this._makeFocusTarget();
-
- this._trigger("open");
- },
-
- _focusTabbable: function () {
- // Set focus to the first match:
- // 1. An element that was focused previously
- // 2. First element inside the dialog matching [autofocus]
- // 3. Tabbable element inside the content element
- // 4. Tabbable element inside the buttonpane
- // 5. The close button
- // 6. The dialog itself
- var hasFocus = this._focusedElement;
- if (!hasFocus) {
- hasFocus = this.element.find("[autofocus]");
- }
- if (!hasFocus.length) {
- hasFocus = this.element.find(":tabbable");
- }
- if (!hasFocus.length) {
- hasFocus = this.uiDialogButtonPane.find(":tabbable");
- }
- if (!hasFocus.length) {
- hasFocus = this.uiDialogTitlebarClose.filter(":tabbable");
- }
- if (!hasFocus.length) {
- hasFocus = this.uiDialog;
- }
- hasFocus.eq(0).focus();
- },
-
- _keepFocus: function (event) {
- function checkFocus() {
- var activeElement = this.document[0].activeElement,
- isActive = this.uiDialog[0] === activeElement ||
- $.contains(this.uiDialog[0], activeElement);
- if (!isActive) {
- this._focusTabbable();
- }
- }
-
- event.preventDefault();
- checkFocus.call(this);
- // support: IE
- // IE <= 8 doesn't prevent moving focus even with event.preventDefault()
- // so we check again later
- this._delay(checkFocus);
- },
-
- _createWrapper: function () {
- this.uiDialog = $("<div>")
- .addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front " +
- this.options.dialogClass)
- .hide()
- .attr({
- // Setting tabIndex makes the div focusable
- tabIndex: -1,
- role: "dialog"
- })
- .appendTo(this._appendTo());
-
- this._on(this.uiDialog, {
- keydown: function (event) {
- if (this.options.closeOnEscape && !event.isDefaultPrevented() && event.keyCode &&
- event.keyCode === $.ui.keyCode.ESCAPE) {
- event.preventDefault();
- this.close(event);
- return;
- }
-
- // prevent tabbing out of dialogs
- if (event.keyCode !== $.ui.keyCode.TAB || event.isDefaultPrevented()) {
- return;
- }
- var tabbables = this.uiDialog.find(":tabbable"),
- first = tabbables.filter(":first"),
- last = tabbables.filter(":last");
-
- if (( event.target === last[0] || event.target === this.uiDialog[0] ) && !event.shiftKey) {
- this._delay(function () {
- first.focus();
- });
- event.preventDefault();
- } else if (( event.target === first[0] || event.target === this.uiDialog[0] ) && event.shiftKey) {
- this._delay(function () {
- last.focus();
- });
- event.preventDefault();
- }
- },
- mousedown: function (event) {
- if (this._moveToTop(event)) {
- this._focusTabbable();
- }
- }
- });
-
- // We assume that any existing aria-describedby attribute means
- // that the dialog content is marked up properly
- // otherwise we brute force the content as the description
- if (!this.element.find("[aria-describedby]").length) {
- this.uiDialog.attr({
- "aria-describedby": this.element.uniqueId().attr("id")
- });
- }
- },
-
- _createTitlebar: function () {
- var uiDialogTitle;
-
- this.uiDialogTitlebar = $("<div>")
- .addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix")
- .prependTo(this.uiDialog);
- this._on(this.uiDialogTitlebar, {
- mousedown: function (event) {
- // Don't prevent click on close button (#8838)
- // Focusing a dialog that is partially scrolled out of view
- // causes the browser to scroll it into view, preventing the click event
- if (!$(event.target).closest(".ui-dialog-titlebar-close")) {
- // Dialog isn't getting focus when dragging (#8063)
- this.uiDialog.focus();
- }
- }
- });
-
- // support: IE
- // Use type="button" to prevent enter keypresses in textboxes from closing the
- // dialog in IE (#9312)
- this.uiDialogTitlebarClose = $("<button type='button'></button>")
- .button({
- label: this.options.closeText,
- icons: {
- primary: "ui-icon-closethick"
- },
- text: false
- })
- .addClass("ui-dialog-titlebar-close")
- .appendTo(this.uiDialogTitlebar);
- this._on(this.uiDialogTitlebarClose, {
- click: function (event) {
- event.preventDefault();
- this.close(event);
- }
- });
-
- uiDialogTitle = $("<span>")
- .uniqueId()
- .addClass("ui-dialog-title")
- .prependTo(this.uiDialogTitlebar);
- this._title(uiDialogTitle);
-
- this.uiDialog.attr({
- "aria-labelledby": uiDialogTitle.attr("id")
- });
- },
-
- _title: function (title) {
- if (!this.options.title) {
- title.html("&#160;");
- }
- title.text(this.options.title);
- },
-
- _createButtonPane: function () {
- this.uiDialogButtonPane = $("<div>")
- .addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix");
-
- this.uiButtonSet = $("<div>")
- .addClass("ui-dialog-buttonset")
- .appendTo(this.uiDialogButtonPane);
-
- this._createButtons();
- },
-
- _createButtons: function () {
- var that = this,
- buttons = this.options.buttons;
-
- // if we already have a button pane, remove it
- this.uiDialogButtonPane.remove();
- this.uiButtonSet.empty();
-
- if ($.isEmptyObject(buttons) || ($.isArray(buttons) && !buttons.length)) {
- this.uiDialog.removeClass("ui-dialog-buttons");
- return;
- }
-
- $.each(buttons, function (name, props) {
- var click, buttonOptions;
- props = $.isFunction(props) ?
- {click: props, text: name} :
- props;
- // Default to a non-submitting button
- props = $.extend({type: "button"}, props);
- // Change the context for the click callback to be the main element
- click = props.click;
- props.click = function () {
- click.apply(that.element[0], arguments);
- };
- buttonOptions = {
- icons: props.icons,
- text: props.showText
- };
- delete props.icons;
- delete props.showText;
- $("<button></button>", props)
- .button(buttonOptions)
- .appendTo(that.uiButtonSet);
- });
- this.uiDialog.addClass("ui-dialog-buttons");
- this.uiDialogButtonPane.appendTo(this.uiDialog);
- },
-
- _makeDraggable: function () {
- var that = this,
- options = this.options;
-
- function filteredUi(ui) {
- return {
- position: ui.position,
- offset: ui.offset
- };
- }
-
- this.uiDialog.draggable({
- cancel: ".ui-dialog-content, .ui-dialog-titlebar-close",
- handle: ".ui-dialog-titlebar",
- containment: "document",
- start: function (event, ui) {
- $(this).addClass("ui-dialog-dragging");
- that._blockFrames();
- that._trigger("dragStart", event, filteredUi(ui));
- },
- drag: function (event, ui) {
- that._trigger("drag", event, filteredUi(ui));
- },
- stop: function (event, ui) {
- var left = ui.offset.left - that.document.scrollLeft(),
- top = ui.offset.top - that.document.scrollTop();
-
- options.position = {
- my: "left top",
- at: "left" + (left >= 0 ? "+" : "") + left + " " +
- "top" + (top >= 0 ? "+" : "") + top,
- of: that.window
- };
- $(this).removeClass("ui-dialog-dragging");
- that._unblockFrames();
- that._trigger("dragStop", event, filteredUi(ui));
- }
- });
- },
-
- _makeResizable: function () {
- var that = this,
- options = this.options,
- handles = options.resizable,
- // .ui-resizable has position: relative defined in the stylesheet
- // but dialogs have to use absolute or fixed positioning
- position = this.uiDialog.css("position"),
- resizeHandles = typeof handles === "string" ?
- handles :
- "n,e,s,w,se,sw,ne,nw";
-
- function filteredUi(ui) {
- return {
- originalPosition: ui.originalPosition,
- originalSize: ui.originalSize,
- position: ui.position,
- size: ui.size
- };
- }
-
- this.uiDialog.resizable({
- cancel: ".ui-dialog-content",
- containment: "document",
- alsoResize: this.element,
- maxWidth: options.maxWidth,
- maxHeight: options.maxHeight,
- minWidth: options.minWidth,
- minHeight: this._minHeight(),
- handles: resizeHandles,
- start: function (event, ui) {
- $(this).addClass("ui-dialog-resizing");
- that._blockFrames();
- that._trigger("resizeStart", event, filteredUi(ui));
- },
- resize: function (event, ui) {
- that._trigger("resize", event, filteredUi(ui));
- },
- stop: function (event, ui) {
- var offset = that.uiDialog.offset(),
- left = offset.left - that.document.scrollLeft(),
- top = offset.top - that.document.scrollTop();
-
- options.height = that.uiDialog.height();
- options.width = that.uiDialog.width();
- options.position = {
- my: "left top",
- at: "left" + (left >= 0 ? "+" : "") + left + " " +
- "top" + (top >= 0 ? "+" : "") + top,
- of: that.window
- };
- $(this).removeClass("ui-dialog-resizing");
- that._unblockFrames();
- that._trigger("resizeStop", event, filteredUi(ui));
- }
- })
- .css("position", position);
- },
-
- _trackFocus: function () {
- this._on(this.widget(), {
- focusin: function (event) {
- this._makeFocusTarget();
- this._focusedElement = $(event.target);
- }
- });
- },
-
- _makeFocusTarget: function () {
- this._untrackInstance();
- this._trackingInstances().unshift(this);
- },
-
- _untrackInstance: function () {
- var instances = this._trackingInstances(),
- exists = $.inArray(this, instances);
- if (exists !== -1) {
- instances.splice(exists, 1);
- }
- },
-
- _trackingInstances: function () {
- var instances = this.document.data("ui-dialog-instances");
- if (!instances) {
- instances = [];
- this.document.data("ui-dialog-instances", instances);
- }
- return instances;
- },
-
- _minHeight: function () {
- var options = this.options;
-
- return options.height === "auto" ?
- options.minHeight :
- Math.min(options.minHeight, options.height);
- },
-
- _position: function () {
- // Need to show the dialog to get the actual offset in the position plugin
- var isVisible = this.uiDialog.is(":visible");
- if (!isVisible) {
- this.uiDialog.show();
- }
- this.uiDialog.position(this.options.position);
- if (!isVisible) {
- this.uiDialog.hide();
- }
- },
-
- _setOptions: function (options) {
- var that = this,
- resize = false,
- resizableOptions = {};
-
- $.each(options, function (key, value) {
- that._setOption(key, value);
-
- if (key in that.sizeRelatedOptions) {
- resize = true;
- }
- if (key in that.resizableRelatedOptions) {
- resizableOptions[key] = value;
- }
- });
-
- if (resize) {
- this._size();
- this._position();
- }
- if (this.uiDialog.is(":data(ui-resizable)")) {
- this.uiDialog.resizable("option", resizableOptions);
- }
- },
-
- _setOption: function (key, value) {
- var isDraggable, isResizable,
- uiDialog = this.uiDialog;
-
- if (key === "dialogClass") {
- uiDialog
- .removeClass(this.options.dialogClass)
- .addClass(value);
- }
-
- if (key === "disabled") {
- return;
- }
-
- this._super(key, value);
-
- if (key === "appendTo") {
- this.uiDialog.appendTo(this._appendTo());
- }
-
- if (key === "buttons") {
- this._createButtons();
- }
-
- if (key === "closeText") {
- this.uiDialogTitlebarClose.button({
- // Ensure that we always pass a string
- label: "" + value
- });
- }
-
- if (key === "draggable") {
- isDraggable = uiDialog.is(":data(ui-draggable)");
- if (isDraggable && !value) {
- uiDialog.draggable("destroy");
- }
-
- if (!isDraggable && value) {
- this._makeDraggable();
- }
- }
-
- if (key === "position") {
- this._position();
- }
-
- if (key === "resizable") {
- // currently resizable, becoming non-resizable
- isResizable = uiDialog.is(":data(ui-resizable)");
- if (isResizable && !value) {
- uiDialog.resizable("destroy");
- }
-
- // currently resizable, changing handles
- if (isResizable && typeof value === "string") {
- uiDialog.resizable("option", "handles", value);
- }
-
- // currently non-resizable, becoming resizable
- if (!isResizable && value !== false) {
- this._makeResizable();
- }
- }
-
- if (key === "title") {
- this._title(this.uiDialogTitlebar.find(".ui-dialog-title"));
- }
- },
-
- _size: function () {
- // If the user has resized the dialog, the .ui-dialog and .ui-dialog-content
- // divs will both have width and height set, so we need to reset them
- var nonContentHeight, minContentHeight, maxContentHeight,
- options = this.options;
-
- // Reset content sizing
- this.element.show().css({
- width: "auto",
- minHeight: 0,
- maxHeight: "none",
- height: 0
- });
-
- if (options.minWidth > options.width) {
- options.width = options.minWidth;
- }
-
- // reset wrapper sizing
- // determine the height of all the non-content elements
- nonContentHeight = this.uiDialog.css({
- height: "auto",
- width: options.width
- })
- .outerHeight();
- minContentHeight = Math.max(0, options.minHeight - nonContentHeight);
- maxContentHeight = typeof options.maxHeight === "number" ?
- Math.max(0, options.maxHeight - nonContentHeight) :
- "none";
-
- if (options.height === "auto") {
- this.element.css({
- minHeight: minContentHeight,
- maxHeight: maxContentHeight,
- height: "auto"
- });
- } else {
- this.element.height(Math.max(0, options.height - nonContentHeight));
- }
-
- if (this.uiDialog.is(":data(ui-resizable)")) {
- this.uiDialog.resizable("option", "minHeight", this._minHeight());
- }
- },
-
- _blockFrames: function () {
- this.iframeBlocks = this.document.find("iframe").map(function () {
- var iframe = $(this);
-
- return $("<div>")
- .css({
- position: "absolute",
- width: iframe.outerWidth(),
- height: iframe.outerHeight()
- })
- .appendTo(iframe.parent())
- .offset(iframe.offset())[0];
- });
- },
-
- _unblockFrames: function () {
- if (this.iframeBlocks) {
- this.iframeBlocks.remove();
- delete this.iframeBlocks;
- }
- },
-
- _allowInteraction: function (event) {
- if ($(event.target).closest(".ui-dialog").length) {
- return true;
- }
-
- // TODO: Remove hack when datepicker implements
- // the .ui-front logic (#8989)
- return !!$(event.target).closest(".ui-datepicker").length;
- },
-
- _createOverlay: function () {
- if (!this.options.modal) {
- return;
- }
-
- // We use a delay in case the overlay is created from an
- // event that we're going to be cancelling (#2804)
- var isOpening = true;
- this._delay(function () {
- isOpening = false;
- });
-
- if (!this.document.data("ui-dialog-overlays")) {
-
- // Prevent use of anchors and inputs
- // Using _on() for an event handler shared across many instances is
- // safe because the dialogs stack and must be closed in reverse order
- this._on(this.document, {
- focusin: function (event) {
- if (isOpening) {
- return;
- }
-
- if (!this._allowInteraction(event)) {
- event.preventDefault();
- this._trackingInstances()[0]._focusTabbable();
- }
- }
- });
- }
-
- this.overlay = $("<div>")
- .addClass("ui-widget-overlay ui-front")
- .appendTo(this._appendTo());
- this._on(this.overlay, {
- mousedown: "_keepFocus"
- });
- this.document.data("ui-dialog-overlays",
- (this.document.data("ui-dialog-overlays") || 0) + 1);
- },
-
- _destroyOverlay: function () {
- if (!this.options.modal) {
- return;
- }
-
- if (this.overlay) {
- var overlays = this.document.data("ui-dialog-overlays") - 1;
-
- if (!overlays) {
- this.document
- .unbind("focusin")
- .removeData("ui-dialog-overlays");
- } else {
- this.document.data("ui-dialog-overlays", overlays);
- }
-
- this.overlay.remove();
- this.overlay = null;
- }
- }
- });
-
-
- /*!
- * jQuery UI Progressbar 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/progressbar/
- */
-
-
- var progressbar = $.widget("ui.progressbar", {
- version: "1.11.4",
- options: {
- max: 100,
- value: 0,
-
- change: null,
- complete: null
- },
-
- min: 0,
-
- _create: function () {
- // Constrain initial value
- this.oldValue = this.options.value = this._constrainedValue();
-
- this.element
- .addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all")
- .attr({
- // Only set static values, aria-valuenow and aria-valuemax are
- // set inside _refreshValue()
- role: "progressbar",
- "aria-valuemin": this.min
- });
-
- this.valueDiv = $("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>")
- .appendTo(this.element);
-
- this._refreshValue();
- },
-
- _destroy: function () {
- this.element
- .removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all")
- .removeAttr("role")
- .removeAttr("aria-valuemin")
- .removeAttr("aria-valuemax")
- .removeAttr("aria-valuenow");
-
- this.valueDiv.remove();
- },
-
- value: function (newValue) {
- if (newValue === undefined) {
- return this.options.value;
- }
-
- this.options.value = this._constrainedValue(newValue);
- this._refreshValue();
- },
-
- _constrainedValue: function (newValue) {
- if (newValue === undefined) {
- newValue = this.options.value;
- }
-
- this.indeterminate = newValue === false;
-
- // sanitize value
- if (typeof newValue !== "number") {
- newValue = 0;
- }
-
- return this.indeterminate ? false :
- Math.min(this.options.max, Math.max(this.min, newValue));
- },
-
- _setOptions: function (options) {
- // Ensure "value" option is set after other values (like max)
- var value = options.value;
- delete options.value;
-
- this._super(options);
-
- this.options.value = this._constrainedValue(value);
- this._refreshValue();
- },
-
- _setOption: function (key, value) {
- if (key === "max") {
- // Don't allow a max less than min
- value = Math.max(this.min, value);
- }
- if (key === "disabled") {
- this.element
- .toggleClass("ui-state-disabled", !!value)
- .attr("aria-disabled", value);
- }
- this._super(key, value);
- },
-
- _percentage: function () {
- return this.indeterminate ? 100 : 100 * ( this.options.value - this.min ) / ( this.options.max - this.min );
- },
-
- _refreshValue: function () {
- var value = this.options.value,
- percentage = this._percentage();
-
- this.valueDiv
- .toggle(this.indeterminate || value > this.min)
- .toggleClass("ui-corner-right", value === this.options.max)
- .width(percentage.toFixed(0) + "%");
-
- this.element.toggleClass("ui-progressbar-indeterminate", this.indeterminate);
-
- if (this.indeterminate) {
- this.element.removeAttr("aria-valuenow");
- if (!this.overlayDiv) {
- this.overlayDiv = $("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv);
- }
- } else {
- this.element.attr({
- "aria-valuemax": this.options.max,
- "aria-valuenow": value
- });
- if (this.overlayDiv) {
- this.overlayDiv.remove();
- this.overlayDiv = null;
- }
- }
-
- if (this.oldValue !== value) {
- this.oldValue = value;
- this._trigger("change");
- }
- if (value === this.options.max) {
- this._trigger("complete");
- }
- }
- });
-
-
- /*!
- * jQuery UI Selectmenu 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/selectmenu
- */
-
-
- var selectmenu = $.widget("ui.selectmenu", {
- version: "1.11.4",
- defaultElement: "<select>",
- options: {
- appendTo: null,
- disabled: null,
- icons: {
- button: "ui-icon-triangle-1-s"
- },
- position: {
- my: "left top",
- at: "left bottom",
- collision: "none"
- },
- width: null,
-
- // callbacks
- change: null,
- close: null,
- focus: null,
- open: null,
- select: null
- },
-
- _create: function () {
- var selectmenuId = this.element.uniqueId().attr("id");
- this.ids = {
- element: selectmenuId,
- button: selectmenuId + "-button",
- menu: selectmenuId + "-menu"
- };
-
- this._drawButton();
- this._drawMenu();
-
- if (this.options.disabled) {
- this.disable();
- }
- },
-
- _drawButton: function () {
- var that = this;
-
- // Associate existing label with the new button
- this.label = $("label[for='" + this.ids.element + "']").attr("for", this.ids.button);
- this._on(this.label, {
- click: function (event) {
- this.button.focus();
- event.preventDefault();
- }
- });
-
- // Hide original select element
- this.element.hide();
-
- // Create button
- this.button = $("<span>", {
- "class": "ui-selectmenu-button ui-widget ui-state-default ui-corner-all",
- tabindex: this.options.disabled ? -1 : 0,
- id: this.ids.button,
- role: "combobox",
- "aria-expanded": "false",
- "aria-autocomplete": "list",
- "aria-owns": this.ids.menu,
- "aria-haspopup": "true"
- })
- .insertAfter(this.element);
-
- $("<span>", {
- "class": "ui-icon " + this.options.icons.button
- })
- .prependTo(this.button);
-
- this.buttonText = $("<span>", {
- "class": "ui-selectmenu-text"
- })
- .appendTo(this.button);
-
- this._setText(this.buttonText, this.element.find("option:selected").text());
- this._resizeButton();
-
- this._on(this.button, this._buttonEvents);
- this.button.one("focusin", function () {
-
- // Delay rendering the menu items until the button receives focus.
- // The menu may have already been rendered via a programmatic open.
- if (!that.menuItems) {
- that._refreshMenu();
- }
- });
- this._hoverable(this.button);
- this._focusable(this.button);
- },
-
- _drawMenu: function () {
- var that = this;
-
- // Create menu
- this.menu = $("<ul>", {
- "aria-hidden": "true",
- "aria-labelledby": this.ids.button,
- id: this.ids.menu
- });
-
- // Wrap menu
- this.menuWrap = $("<div>", {
- "class": "ui-selectmenu-menu ui-front"
- })
- .append(this.menu)
- .appendTo(this._appendTo());
-
- // Initialize menu widget
- this.menuInstance = this.menu
- .menu({
- role: "listbox",
- select: function (event, ui) {
- event.preventDefault();
-
- // support: IE8
- // If the item was selected via a click, the text selection
- // will be destroyed in IE
- that._setSelection();
-
- that._select(ui.item.data("ui-selectmenu-item"), event);
- },
- focus: function (event, ui) {
- var item = ui.item.data("ui-selectmenu-item");
-
- // Prevent inital focus from firing and check if its a newly focused item
- if (that.focusIndex != null && item.index !== that.focusIndex) {
- that._trigger("focus", event, {item: item});
- if (!that.isOpen) {
- that._select(item, event);
- }
- }
- that.focusIndex = item.index;
-
- that.button.attr("aria-activedescendant",
- that.menuItems.eq(item.index).attr("id"));
- }
- })
- .menu("instance");
-
- // Adjust menu styles to dropdown
- this.menu
- .addClass("ui-corner-bottom")
- .removeClass("ui-corner-all");
-
- // Don't close the menu on mouseleave
- this.menuInstance._off(this.menu, "mouseleave");
-
- // Cancel the menu's collapseAll on document click
- this.menuInstance._closeOnDocumentClick = function () {
- return false;
- };
-
- // Selects often contain empty items, but never contain dividers
- this.menuInstance._isDivider = function () {
- return false;
- };
- },
-
- refresh: function () {
- this._refreshMenu();
- this._setText(this.buttonText, this._getSelectedItem().text());
- if (!this.options.width) {
- this._resizeButton();
- }
- },
-
- _refreshMenu: function () {
- this.menu.empty();
-
- var item,
- options = this.element.find("option");
-
- if (!options.length) {
- return;
- }
-
- this._parseOptions(options);
- this._renderMenu(this.menu, this.items);
-
- this.menuInstance.refresh();
- this.menuItems = this.menu.find("li").not(".ui-selectmenu-optgroup");
-
- item = this._getSelectedItem();
-
- // Update the menu to have the correct item focused
- this.menuInstance.focus(null, item);
- this._setAria(item.data("ui-selectmenu-item"));
-
- // Set disabled state
- this._setOption("disabled", this.element.prop("disabled"));
- },
-
- open: function (event) {
- if (this.options.disabled) {
- return;
- }
-
- // If this is the first time the menu is being opened, render the items
- if (!this.menuItems) {
- this._refreshMenu();
- } else {
-
- // Menu clears focus on close, reset focus to selected item
- this.menu.find(".ui-state-focus").removeClass("ui-state-focus");
- this.menuInstance.focus(null, this._getSelectedItem());
- }
-
- this.isOpen = true;
- this._toggleAttr();
- this._resizeMenu();
- this._position();
-
- this._on(this.document, this._documentClick);
-
- this._trigger("open", event);
- },
-
- _position: function () {
- this.menuWrap.position($.extend({of: this.button}, this.options.position));
- },
-
- close: function (event) {
- if (!this.isOpen) {
- return;
- }
-
- this.isOpen = false;
- this._toggleAttr();
-
- this.range = null;
- this._off(this.document);
-
- this._trigger("close", event);
- },
-
- widget: function () {
- return this.button;
- },
-
- menuWidget: function () {
- return this.menu;
- },
-
- _renderMenu: function (ul, items) {
- var that = this,
- currentOptgroup = "";
-
- $.each(items, function (index, item) {
- if (item.optgroup !== currentOptgroup) {
- $("<li>", {
- "class": "ui-selectmenu-optgroup ui-menu-divider" +
- ( item.element.parent("optgroup").prop("disabled") ?
- " ui-state-disabled" :
- "" ),
- text: item.optgroup
- })
- .appendTo(ul);
-
- currentOptgroup = item.optgroup;
- }
-
- that._renderItemData(ul, item);
- });
- },
-
- _renderItemData: function (ul, item) {
- return this._renderItem(ul, item).data("ui-selectmenu-item", item);
- },
-
- _renderItem: function (ul, item) {
- var li = $("<li>");
-
- if (item.disabled) {
- li.addClass("ui-state-disabled");
- }
- this._setText(li, item.label);
-
- return li.appendTo(ul);
- },
-
- _setText: function (element, value) {
- if (value) {
- element.text(value);
- } else {
- element.html("&#160;");
- }
- },
-
- _move: function (direction, event) {
- var item, next,
- filter = ".ui-menu-item";
-
- if (this.isOpen) {
- item = this.menuItems.eq(this.focusIndex);
- } else {
- item = this.menuItems.eq(this.element[0].selectedIndex);
- filter += ":not(.ui-state-disabled)";
- }
-
- if (direction === "first" || direction === "last") {
- next = item[direction === "first" ? "prevAll" : "nextAll"](filter).eq(-1);
- } else {
- next = item[direction + "All"](filter).eq(0);
- }
-
- if (next.length) {
- this.menuInstance.focus(event, next);
- }
- },
-
- _getSelectedItem: function () {
- return this.menuItems.eq(this.element[0].selectedIndex);
- },
-
- _toggle: function (event) {
- this[this.isOpen ? "close" : "open"](event);
- },
-
- _setSelection: function () {
- var selection;
-
- if (!this.range) {
- return;
- }
-
- if (window.getSelection) {
- selection = window.getSelection();
- selection.removeAllRanges();
- selection.addRange(this.range);
-
- // support: IE8
- } else {
- this.range.select();
- }
-
- // support: IE
- // Setting the text selection kills the button focus in IE, but
- // restoring the focus doesn't kill the selection.
- this.button.focus();
- },
-
- _documentClick: {
- mousedown: function (event) {
- if (!this.isOpen) {
- return;
- }
-
- if (!$(event.target).closest(".ui-selectmenu-menu, #" + this.ids.button).length) {
- this.close(event);
- }
- }
- },
-
- _buttonEvents: {
-
- // Prevent text selection from being reset when interacting with the selectmenu (#10144)
- mousedown: function () {
- var selection;
-
- if (window.getSelection) {
- selection = window.getSelection();
- if (selection.rangeCount) {
- this.range = selection.getRangeAt(0);
- }
-
- // support: IE8
- } else {
- this.range = document.selection.createRange();
- }
- },
-
- click: function (event) {
- this._setSelection();
- this._toggle(event);
- },
-
- keydown: function (event) {
- var preventDefault = true;
- switch (event.keyCode) {
- case $.ui.keyCode.TAB:
- case $.ui.keyCode.ESCAPE:
- this.close(event);
- preventDefault = false;
- break;
- case $.ui.keyCode.ENTER:
- if (this.isOpen) {
- this._selectFocusedItem(event);
- }
- break;
- case $.ui.keyCode.UP:
- if (event.altKey) {
- this._toggle(event);
- } else {
- this._move("prev", event);
- }
- break;
- case $.ui.keyCode.DOWN:
- if (event.altKey) {
- this._toggle(event);
- } else {
- this._move("next", event);
- }
- break;
- case $.ui.keyCode.SPACE:
- if (this.isOpen) {
- this._selectFocusedItem(event);
- } else {
- this._toggle(event);
- }
- break;
- case $.ui.keyCode.LEFT:
- this._move("prev", event);
- break;
- case $.ui.keyCode.RIGHT:
- this._move("next", event);
- break;
- case $.ui.keyCode.HOME:
- case $.ui.keyCode.PAGE_UP:
- this._move("first", event);
- break;
- case $.ui.keyCode.END:
- case $.ui.keyCode.PAGE_DOWN:
- this._move("last", event);
- break;
- default:
- this.menu.trigger(event);
- preventDefault = false;
- }
-
- if (preventDefault) {
- event.preventDefault();
- }
- }
- },
-
- _selectFocusedItem: function (event) {
- var item = this.menuItems.eq(this.focusIndex);
- if (!item.hasClass("ui-state-disabled")) {
- this._select(item.data("ui-selectmenu-item"), event);
- }
- },
-
- _select: function (item, event) {
- var oldIndex = this.element[0].selectedIndex;
-
- // Change native select element
- this.element[0].selectedIndex = item.index;
- this._setText(this.buttonText, item.label);
- this._setAria(item);
- this._trigger("select", event, {item: item});
-
- if (item.index !== oldIndex) {
- this._trigger("change", event, {item: item});
- }
-
- this.close(event);
- },
-
- _setAria: function (item) {
- var id = this.menuItems.eq(item.index).attr("id");
-
- this.button.attr({
- "aria-labelledby": id,
- "aria-activedescendant": id
- });
- this.menu.attr("aria-activedescendant", id);
- },
-
- _setOption: function (key, value) {
- if (key === "icons") {
- this.button.find("span.ui-icon")
- .removeClass(this.options.icons.button)
- .addClass(value.button);
- }
-
- this._super(key, value);
-
- if (key === "appendTo") {
- this.menuWrap.appendTo(this._appendTo());
- }
-
- if (key === "disabled") {
- this.menuInstance.option("disabled", value);
- this.button
- .toggleClass("ui-state-disabled", value)
- .attr("aria-disabled", value);
-
- this.element.prop("disabled", value);
- if (value) {
- this.button.attr("tabindex", -1);
- this.close();
- } else {
- this.button.attr("tabindex", 0);
- }
- }
-
- if (key === "width") {
- this._resizeButton();
- }
- },
-
- _appendTo: function () {
- var element = this.options.appendTo;
-
- if (element) {
- element = element.jquery || element.nodeType ?
- $(element) :
- this.document.find(element).eq(0);
- }
-
- if (!element || !element[0]) {
- element = this.element.closest(".ui-front");
- }
-
- if (!element.length) {
- element = this.document[0].body;
- }
-
- return element;
- },
-
- _toggleAttr: function () {
- this.button
- .toggleClass("ui-corner-top", this.isOpen)
- .toggleClass("ui-corner-all", !this.isOpen)
- .attr("aria-expanded", this.isOpen);
- this.menuWrap.toggleClass("ui-selectmenu-open", this.isOpen);
- this.menu.attr("aria-hidden", !this.isOpen);
- },
-
- _resizeButton: function () {
- var width = this.options.width;
-
- if (!width) {
- width = this.element.show().outerWidth();
- this.element.hide();
- }
-
- this.button.outerWidth(width);
- },
-
- _resizeMenu: function () {
- this.menu.outerWidth(Math.max(
- this.button.outerWidth(),
-
- // support: IE10
- // IE10 wraps long text (possibly a rounding bug)
- // so we add 1px to avoid the wrapping
- this.menu.width("").outerWidth() + 1
- ));
- },
-
- _getCreateOptions: function () {
- return {disabled: this.element.prop("disabled")};
- },
-
- _parseOptions: function (options) {
- var data = [];
- options.each(function (index, item) {
- var option = $(item),
- optgroup = option.parent("optgroup");
- data.push({
- element: option,
- index: index,
- value: option.val(),
- label: option.text(),
- optgroup: optgroup.attr("label") || "",
- disabled: optgroup.prop("disabled") || option.prop("disabled")
- });
- });
- this.items = data;
- },
-
- _destroy: function () {
- this.menuWrap.remove();
- this.button.remove();
- this.element.show();
- this.element.removeUniqueId();
- this.label.attr("for", this.ids.element);
- }
- });
-
-
- /*!
- * jQuery UI Slider 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/slider/
- */
-
-
- var slider = $.widget("ui.slider", $.ui.mouse, {
- version: "1.11.4",
- widgetEventPrefix: "slide",
-
- options: {
- animate: false,
- distance: 0,
- max: 100,
- min: 0,
- orientation: "horizontal",
- range: false,
- step: 1,
- value: 0,
- values: null,
-
- // callbacks
- change: null,
- slide: null,
- start: null,
- stop: null
- },
-
- // number of pages in a slider
- // (how many times can you page up/down to go through the whole range)
- numPages: 5,
-
- _create: function () {
- this._keySliding = false;
- this._mouseSliding = false;
- this._animateOff = true;
- this._handleIndex = null;
- this._detectOrientation();
- this._mouseInit();
- this._calculateNewMax();
-
- this.element
- .addClass("ui-slider" +
- " ui-slider-" + this.orientation +
- " ui-widget" +
- " ui-widget-content" +
- " ui-corner-all");
-
- this._refresh();
- this._setOption("disabled", this.options.disabled);
-
- this._animateOff = false;
- },
-
- _refresh: function () {
- this._createRange();
- this._createHandles();
- this._setupEvents();
- this._refreshValue();
- },
-
- _createHandles: function () {
- var i, handleCount,
- options = this.options,
- existingHandles = this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),
- handle = "<span class='ui-slider-handle ui-state-default ui-corner-all' tabindex='0'></span>",
- handles = [];
-
- handleCount = ( options.values && options.values.length ) || 1;
-
- if (existingHandles.length > handleCount) {
- existingHandles.slice(handleCount).remove();
- existingHandles = existingHandles.slice(0, handleCount);
- }
-
- for (i = existingHandles.length; i < handleCount; i++) {
- handles.push(handle);
- }
-
- this.handles = existingHandles.add($(handles.join("")).appendTo(this.element));
-
- this.handle = this.handles.eq(0);
-
- this.handles.each(function (i) {
- $(this).data("ui-slider-handle-index", i);
- });
- },
-
- _createRange: function () {
- var options = this.options,
- classes = "";
-
- if (options.range) {
- if (options.range === true) {
- if (!options.values) {
- options.values = [this._valueMin(), this._valueMin()];
- } else if (options.values.length && options.values.length !== 2) {
- options.values = [options.values[0], options.values[0]];
- } else if ($.isArray(options.values)) {
- options.values = options.values.slice(0);
- }
- }
-
- if (!this.range || !this.range.length) {
- this.range = $("<div></div>")
- .appendTo(this.element);
-
- classes = "ui-slider-range" +
- // note: this isn't the most fittingly semantic framework class for this element,
- // but worked best visually with a variety of themes
- " ui-widget-header ui-corner-all";
- } else {
- this.range.removeClass("ui-slider-range-min ui-slider-range-max")
- // Handle range switching from true to min/max
- .css({
- "left": "",
- "bottom": ""
- });
- }
-
- this.range.addClass(classes +
- ( ( options.range === "min" || options.range === "max" ) ? " ui-slider-range-" + options.range : "" ));
- } else {
- if (this.range) {
- this.range.remove();
- }
- this.range = null;
- }
- },
-
- _setupEvents: function () {
- this._off(this.handles);
- this._on(this.handles, this._handleEvents);
- this._hoverable(this.handles);
- this._focusable(this.handles);
- },
-
- _destroy: function () {
- this.handles.remove();
- if (this.range) {
- this.range.remove();
- }
-
- this.element
- .removeClass("ui-slider" +
- " ui-slider-horizontal" +
- " ui-slider-vertical" +
- " ui-widget" +
- " ui-widget-content" +
- " ui-corner-all");
-
- this._mouseDestroy();
- },
-
- _mouseCapture: function (event) {
- var position, normValue, distance, closestHandle, index, allowed, offset, mouseOverHandle,
- that = this,
- o = this.options;
-
- if (o.disabled) {
- return false;
- }
-
- this.elementSize = {
- width: this.element.outerWidth(),
- height: this.element.outerHeight()
- };
- this.elementOffset = this.element.offset();
-
- position = {x: event.pageX, y: event.pageY};
- normValue = this._normValueFromMouse(position);
- distance = this._valueMax() - this._valueMin() + 1;
- this.handles.each(function (i) {
- var thisDistance = Math.abs(normValue - that.values(i));
- if (( distance > thisDistance ) ||
- ( distance === thisDistance &&
- (i === that._lastChangedValue || that.values(i) === o.min ))) {
- distance = thisDistance;
- closestHandle = $(this);
- index = i;
- }
- });
-
- allowed = this._start(event, index);
- if (allowed === false) {
- return false;
- }
- this._mouseSliding = true;
-
- this._handleIndex = index;
-
- closestHandle
- .addClass("ui-state-active")
- .focus();
-
- offset = closestHandle.offset();
- mouseOverHandle = !$(event.target).parents().addBack().is(".ui-slider-handle");
- this._clickOffset = mouseOverHandle ? {left: 0, top: 0} : {
- left: event.pageX - offset.left - ( closestHandle.width() / 2 ),
- top: event.pageY - offset.top -
- ( closestHandle.height() / 2 ) -
- ( parseInt(closestHandle.css("borderTopWidth"), 10) || 0 ) -
- ( parseInt(closestHandle.css("borderBottomWidth"), 10) || 0) +
- ( parseInt(closestHandle.css("marginTop"), 10) || 0)
- };
-
- if (!this.handles.hasClass("ui-state-hover")) {
- this._slide(event, index, normValue);
- }
- this._animateOff = true;
- return true;
- },
-
- _mouseStart: function () {
- return true;
- },
-
- _mouseDrag: function (event) {
- var position = {x: event.pageX, y: event.pageY},
- normValue = this._normValueFromMouse(position);
-
- this._slide(event, this._handleIndex, normValue);
-
- return false;
- },
-
- _mouseStop: function (event) {
- this.handles.removeClass("ui-state-active");
- this._mouseSliding = false;
-
- this._stop(event, this._handleIndex);
- this._change(event, this._handleIndex);
-
- this._handleIndex = null;
- this._clickOffset = null;
- this._animateOff = false;
-
- return false;
- },
-
- _detectOrientation: function () {
- this.orientation = ( this.options.orientation === "vertical" ) ? "vertical" : "horizontal";
- },
-
- _normValueFromMouse: function (position) {
- var pixelTotal,
- pixelMouse,
- percentMouse,
- valueTotal,
- valueMouse;
-
- if (this.orientation === "horizontal") {
- pixelTotal = this.elementSize.width;
- pixelMouse = position.x - this.elementOffset.left - ( this._clickOffset ? this._clickOffset.left : 0 );
- } else {
- pixelTotal = this.elementSize.height;
- pixelMouse = position.y - this.elementOffset.top - ( this._clickOffset ? this._clickOffset.top : 0 );
- }
-
- percentMouse = ( pixelMouse / pixelTotal );
- if (percentMouse > 1) {
- percentMouse = 1;
- }
- if (percentMouse < 0) {
- percentMouse = 0;
- }
- if (this.orientation === "vertical") {
- percentMouse = 1 - percentMouse;
- }
-
- valueTotal = this._valueMax() - this._valueMin();
- valueMouse = this._valueMin() + percentMouse * valueTotal;
-
- return this._trimAlignValue(valueMouse);
- },
-
- _start: function (event, index) {
- var uiHash = {
- handle: this.handles[index],
- value: this.value()
- };
- if (this.options.values && this.options.values.length) {
- uiHash.value = this.values(index);
- uiHash.values = this.values();
- }
- return this._trigger("start", event, uiHash);
- },
-
- _slide: function (event, index, newVal) {
- var otherVal,
- newValues,
- allowed;
-
- if (this.options.values && this.options.values.length) {
- otherVal = this.values(index ? 0 : 1);
-
- if (( this.options.values.length === 2 && this.options.range === true ) &&
- ( ( index === 0 && newVal > otherVal) || ( index === 1 && newVal < otherVal ) )
- ) {
- newVal = otherVal;
- }
-
- if (newVal !== this.values(index)) {
- newValues = this.values();
- newValues[index] = newVal;
- // A slide can be canceled by returning false from the slide callback
- allowed = this._trigger("slide", event, {
- handle: this.handles[index],
- value: newVal,
- values: newValues
- });
- otherVal = this.values(index ? 0 : 1);
- if (allowed !== false) {
- this.values(index, newVal);
- }
- }
- } else {
- if (newVal !== this.value()) {
- // A slide can be canceled by returning false from the slide callback
- allowed = this._trigger("slide", event, {
- handle: this.handles[index],
- value: newVal
- });
- if (allowed !== false) {
- this.value(newVal);
- }
- }
- }
- },
-
- _stop: function (event, index) {
- var uiHash = {
- handle: this.handles[index],
- value: this.value()
- };
- if (this.options.values && this.options.values.length) {
- uiHash.value = this.values(index);
- uiHash.values = this.values();
- }
-
- this._trigger("stop", event, uiHash);
- },
-
- _change: function (event, index) {
- if (!this._keySliding && !this._mouseSliding) {
- var uiHash = {
- handle: this.handles[index],
- value: this.value()
- };
- if (this.options.values && this.options.values.length) {
- uiHash.value = this.values(index);
- uiHash.values = this.values();
- }
-
- //store the last changed value index for reference when handles overlap
- this._lastChangedValue = index;
-
- this._trigger("change", event, uiHash);
- }
- },
-
- value: function (newValue) {
- if (arguments.length) {
- this.options.value = this._trimAlignValue(newValue);
- this._refreshValue();
- this._change(null, 0);
- return;
- }
-
- return this._value();
- },
-
- values: function (index, newValue) {
- var vals,
- newValues,
- i;
-
- if (arguments.length > 1) {
- this.options.values[index] = this._trimAlignValue(newValue);
- this._refreshValue();
- this._change(null, index);
- return;
- }
-
- if (arguments.length) {
- if ($.isArray(arguments[0])) {
- vals = this.options.values;
- newValues = arguments[0];
- for (i = 0; i < vals.length; i += 1) {
- vals[i] = this._trimAlignValue(newValues[i]);
- this._change(null, i);
- }
- this._refreshValue();
- } else {
- if (this.options.values && this.options.values.length) {
- return this._values(index);
- } else {
- return this.value();
- }
- }
- } else {
- return this._values();
- }
- },
-
- _setOption: function (key, value) {
- var i,
- valsLength = 0;
-
- if (key === "range" && this.options.range === true) {
- if (value === "min") {
- this.options.value = this._values(0);
- this.options.values = null;
- } else if (value === "max") {
- this.options.value = this._values(this.options.values.length - 1);
- this.options.values = null;
- }
- }
-
- if ($.isArray(this.options.values)) {
- valsLength = this.options.values.length;
- }
-
- if (key === "disabled") {
- this.element.toggleClass("ui-state-disabled", !!value);
- }
-
- this._super(key, value);
-
- switch (key) {
- case "orientation":
- this._detectOrientation();
- this.element
- .removeClass("ui-slider-horizontal ui-slider-vertical")
- .addClass("ui-slider-" + this.orientation);
- this._refreshValue();
-
- // Reset positioning from previous orientation
- this.handles.css(value === "horizontal" ? "bottom" : "left", "");
- break;
- case "value":
- this._animateOff = true;
- this._refreshValue();
- this._change(null, 0);
- this._animateOff = false;
- break;
- case "values":
- this._animateOff = true;
- this._refreshValue();
- for (i = 0; i < valsLength; i += 1) {
- this._change(null, i);
- }
- this._animateOff = false;
- break;
- case "step":
- case "min":
- case "max":
- this._animateOff = true;
- this._calculateNewMax();
- this._refreshValue();
- this._animateOff = false;
- break;
- case "range":
- this._animateOff = true;
- this._refresh();
- this._animateOff = false;
- break;
- }
- },
-
- //internal value getter
- // _value() returns value trimmed by min and max, aligned by step
- _value: function () {
- var val = this.options.value;
- val = this._trimAlignValue(val);
-
- return val;
- },
-
- //internal values getter
- // _values() returns array of values trimmed by min and max, aligned by step
- // _values( index ) returns single value trimmed by min and max, aligned by step
- _values: function (index) {
- var val,
- vals,
- i;
-
- if (arguments.length) {
- val = this.options.values[index];
- val = this._trimAlignValue(val);
-
- return val;
- } else if (this.options.values && this.options.values.length) {
- // .slice() creates a copy of the array
- // this copy gets trimmed by min and max and then returned
- vals = this.options.values.slice();
- for (i = 0; i < vals.length; i += 1) {
- vals[i] = this._trimAlignValue(vals[i]);
- }
-
- return vals;
- } else {
- return [];
- }
- },
-
- // returns the step-aligned value that val is closest to, between (inclusive) min and max
- _trimAlignValue: function (val) {
- if (val <= this._valueMin()) {
- return this._valueMin();
- }
- if (val >= this._valueMax()) {
- return this._valueMax();
- }
- var step = ( this.options.step > 0 ) ? this.options.step : 1,
- valModStep = (val - this._valueMin()) % step,
- alignValue = val - valModStep;
-
- if (Math.abs(valModStep) * 2 >= step) {
- alignValue += ( valModStep > 0 ) ? step : ( -step );
- }
-
- // Since JavaScript has problems with large floats, round
- // the final value to 5 digits after the decimal point (see #4124)
- return parseFloat(alignValue.toFixed(5));
- },
-
- _calculateNewMax: function () {
- var max = this.options.max,
- min = this._valueMin(),
- step = this.options.step,
- aboveMin = Math.floor(( +( max - min ).toFixed(this._precision()) ) / step) * step;
- max = aboveMin + min;
- this.max = parseFloat(max.toFixed(this._precision()));
- },
-
- _precision: function () {
- var precision = this._precisionOf(this.options.step);
- if (this.options.min !== null) {
- precision = Math.max(precision, this._precisionOf(this.options.min));
- }
- return precision;
- },
-
- _precisionOf: function (num) {
- var str = num.toString(),
- decimal = str.indexOf(".");
- return decimal === -1 ? 0 : str.length - decimal - 1;
- },
-
- _valueMin: function () {
- return this.options.min;
- },
-
- _valueMax: function () {
- return this.max;
- },
-
- _refreshValue: function () {
- var lastValPercent, valPercent, value, valueMin, valueMax,
- oRange = this.options.range,
- o = this.options,
- that = this,
- animate = ( !this._animateOff ) ? o.animate : false,
- _set = {};
-
- if (this.options.values && this.options.values.length) {
- this.handles.each(function (i) {
- valPercent = ( that.values(i) - that._valueMin() ) / ( that._valueMax() - that._valueMin() ) * 100;
- _set[that.orientation === "horizontal" ? "left" : "bottom"] = valPercent + "%";
- $(this).stop(1, 1)[animate ? "animate" : "css"](_set, o.animate);
- if (that.options.range === true) {
- if (that.orientation === "horizontal") {
- if (i === 0) {
- that.range.stop(1, 1)[animate ? "animate" : "css"]({left: valPercent + "%"}, o.animate);
- }
- if (i === 1) {
- that.range[animate ? "animate" : "css"]({width: ( valPercent - lastValPercent ) + "%"}, {
- queue: false,
- duration: o.animate
- });
- }
- } else {
- if (i === 0) {
- that.range.stop(1, 1)[animate ? "animate" : "css"]({bottom: ( valPercent ) + "%"}, o.animate);
- }
- if (i === 1) {
- that.range[animate ? "animate" : "css"]({height: ( valPercent - lastValPercent ) + "%"}, {
- queue: false,
- duration: o.animate
- });
- }
- }
- }
- lastValPercent = valPercent;
- });
- } else {
- value = this.value();
- valueMin = this._valueMin();
- valueMax = this._valueMax();
- valPercent = ( valueMax !== valueMin ) ?
- ( value - valueMin ) / ( valueMax - valueMin ) * 100 :
- 0;
- _set[this.orientation === "horizontal" ? "left" : "bottom"] = valPercent + "%";
- this.handle.stop(1, 1)[animate ? "animate" : "css"](_set, o.animate);
-
- if (oRange === "min" && this.orientation === "horizontal") {
- this.range.stop(1, 1)[animate ? "animate" : "css"]({width: valPercent + "%"}, o.animate);
- }
- if (oRange === "max" && this.orientation === "horizontal") {
- this.range[animate ? "animate" : "css"]({width: ( 100 - valPercent ) + "%"}, {
- queue: false,
- duration: o.animate
- });
- }
- if (oRange === "min" && this.orientation === "vertical") {
- this.range.stop(1, 1)[animate ? "animate" : "css"]({height: valPercent + "%"}, o.animate);
- }
- if (oRange === "max" && this.orientation === "vertical") {
- this.range[animate ? "animate" : "css"]({height: ( 100 - valPercent ) + "%"}, {
- queue: false,
- duration: o.animate
- });
- }
- }
- },
-
- _handleEvents: {
- keydown: function (event) {
- var allowed, curVal, newVal, step,
- index = $(event.target).data("ui-slider-handle-index");
-
- switch (event.keyCode) {
- case $.ui.keyCode.HOME:
- case $.ui.keyCode.END:
- case $.ui.keyCode.PAGE_UP:
- case $.ui.keyCode.PAGE_DOWN:
- case $.ui.keyCode.UP:
- case $.ui.keyCode.RIGHT:
- case $.ui.keyCode.DOWN:
- case $.ui.keyCode.LEFT:
- event.preventDefault();
- if (!this._keySliding) {
- this._keySliding = true;
- $(event.target).addClass("ui-state-active");
- allowed = this._start(event, index);
- if (allowed === false) {
- return;
- }
- }
- break;
- }
-
- step = this.options.step;
- if (this.options.values && this.options.values.length) {
- curVal = newVal = this.values(index);
- } else {
- curVal = newVal = this.value();
- }
-
- switch (event.keyCode) {
- case $.ui.keyCode.HOME:
- newVal = this._valueMin();
- break;
- case $.ui.keyCode.END:
- newVal = this._valueMax();
- break;
- case $.ui.keyCode.PAGE_UP:
- newVal = this._trimAlignValue(
- curVal + ( ( this._valueMax() - this._valueMin() ) / this.numPages )
- );
- break;
- case $.ui.keyCode.PAGE_DOWN:
- newVal = this._trimAlignValue(
- curVal - ( (this._valueMax() - this._valueMin()) / this.numPages ));
- break;
- case $.ui.keyCode.UP:
- case $.ui.keyCode.RIGHT:
- if (curVal === this._valueMax()) {
- return;
- }
- newVal = this._trimAlignValue(curVal + step);
- break;
- case $.ui.keyCode.DOWN:
- case $.ui.keyCode.LEFT:
- if (curVal === this._valueMin()) {
- return;
- }
- newVal = this._trimAlignValue(curVal - step);
- break;
- }
-
- this._slide(event, index, newVal);
- },
- keyup: function (event) {
- var index = $(event.target).data("ui-slider-handle-index");
-
- if (this._keySliding) {
- this._keySliding = false;
- this._stop(event, index);
- this._change(event, index);
- $(event.target).removeClass("ui-state-active");
- }
- }
- }
- });
-
-
- /*!
- * jQuery UI Spinner 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/spinner/
- */
-
-
- function spinner_modifier(fn) {
- return function () {
- var previous = this.element.val();
- fn.apply(this, arguments);
- this._refresh();
- if (previous !== this.element.val()) {
- this._trigger("change");
- }
- };
- }
-
- var spinner = $.widget("ui.spinner", {
- version: "1.11.4",
- defaultElement: "<input>",
- widgetEventPrefix: "spin",
- options: {
- culture: null,
- icons: {
- down: "ui-icon-triangle-1-s",
- up: "ui-icon-triangle-1-n"
- },
- incremental: true,
- max: null,
- min: null,
- numberFormat: null,
- page: 10,
- step: 1,
-
- change: null,
- spin: null,
- start: null,
- stop: null
- },
-
- _create: function () {
- // handle string values that need to be parsed
- this._setOption("max", this.options.max);
- this._setOption("min", this.options.min);
- this._setOption("step", this.options.step);
-
- // Only format if there is a value, prevents the field from being marked
- // as invalid in Firefox, see #9573.
- if (this.value() !== "") {
- // Format the value, but don't constrain.
- this._value(this.element.val(), true);
- }
-
- this._draw();
- this._on(this._events);
- this._refresh();
-
- // turning off autocomplete prevents the browser from remembering the
- // value when navigating through history, so we re-enable autocomplete
- // if the page is unloaded before the widget is destroyed. #7790
- this._on(this.window, {
- beforeunload: function () {
- this.element.removeAttr("autocomplete");
- }
- });
- },
-
- _getCreateOptions: function () {
- var options = {},
- element = this.element;
-
- $.each(["min", "max", "step"], function (i, option) {
- var value = element.attr(option);
- if (value !== undefined && value.length) {
- options[option] = value;
- }
- });
-
- return options;
- },
-
- _events: {
- keydown: function (event) {
- if (this._start(event) && this._keydown(event)) {
- event.preventDefault();
- }
- },
- keyup: "_stop",
- focus: function () {
- this.previous = this.element.val();
- },
- blur: function (event) {
- if (this.cancelBlur) {
- delete this.cancelBlur;
- return;
- }
-
- this._stop();
- this._refresh();
- if (this.previous !== this.element.val()) {
- this._trigger("change", event);
- }
- },
- mousewheel: function (event, delta) {
- if (!delta) {
- return;
- }
- if (!this.spinning && !this._start(event)) {
- return false;
- }
-
- this._spin((delta > 0 ? 1 : -1) * this.options.step, event);
- clearTimeout(this.mousewheelTimer);
- this.mousewheelTimer = this._delay(function () {
- if (this.spinning) {
- this._stop(event);
- }
- }, 100);
- event.preventDefault();
- },
- "mousedown .ui-spinner-button": function (event) {
- var previous;
-
- // We never want the buttons to have focus; whenever the user is
- // interacting with the spinner, the focus should be on the input.
- // If the input is focused then this.previous is properly set from
- // when the input first received focus. If the input is not focused
- // then we need to set this.previous based on the value before spinning.
- previous = this.element[0] === this.document[0].activeElement ?
- this.previous : this.element.val();
- function checkFocus() {
- var isActive = this.element[0] === this.document[0].activeElement;
- if (!isActive) {
- this.element.focus();
- this.previous = previous;
- // support: IE
- // IE sets focus asynchronously, so we need to check if focus
- // moved off of the input because the user clicked on the button.
- this._delay(function () {
- this.previous = previous;
- });
- }
- }
-
- // ensure focus is on (or stays on) the text field
- event.preventDefault();
- checkFocus.call(this);
-
- // support: IE
- // IE doesn't prevent moving focus even with event.preventDefault()
- // so we set a flag to know when we should ignore the blur event
- // and check (again) if focus moved off of the input.
- this.cancelBlur = true;
- this._delay(function () {
- delete this.cancelBlur;
- checkFocus.call(this);
- });
-
- if (this._start(event) === false) {
- return;
- }
-
- this._repeat(null, $(event.currentTarget).hasClass("ui-spinner-up") ? 1 : -1, event);
- },
- "mouseup .ui-spinner-button": "_stop",
- "mouseenter .ui-spinner-button": function (event) {
- // button will add ui-state-active if mouse was down while mouseleave and kept down
- if (!$(event.currentTarget).hasClass("ui-state-active")) {
- return;
- }
-
- if (this._start(event) === false) {
- return false;
- }
- this._repeat(null, $(event.currentTarget).hasClass("ui-spinner-up") ? 1 : -1, event);
- },
- // TODO: do we really want to consider this a stop?
- // shouldn't we just stop the repeater and wait until mouseup before
- // we trigger the stop event?
- "mouseleave .ui-spinner-button": "_stop"
- },
-
- _draw: function () {
- var uiSpinner = this.uiSpinner = this.element
- .addClass("ui-spinner-input")
- .attr("autocomplete", "off")
- .wrap(this._uiSpinnerHtml())
- .parent()
- // add buttons
- .append(this._buttonHtml());
-
- this.element.attr("role", "spinbutton");
-
- // button bindings
- this.buttons = uiSpinner.find(".ui-spinner-button")
- .attr("tabIndex", -1)
- .button()
- .removeClass("ui-corner-all");
-
- // IE 6 doesn't understand height: 50% for the buttons
- // unless the wrapper has an explicit height
- if (this.buttons.height() > Math.ceil(uiSpinner.height() * 0.5) &&
- uiSpinner.height() > 0) {
- uiSpinner.height(uiSpinner.height());
- }
-
- // disable spinner if element was already disabled
- if (this.options.disabled) {
- this.disable();
- }
- },
-
- _keydown: function (event) {
- var options = this.options,
- keyCode = $.ui.keyCode;
-
- switch (event.keyCode) {
- case keyCode.UP:
- this._repeat(null, 1, event);
- return true;
- case keyCode.DOWN:
- this._repeat(null, -1, event);
- return true;
- case keyCode.PAGE_UP:
- this._repeat(null, options.page, event);
- return true;
- case keyCode.PAGE_DOWN:
- this._repeat(null, -options.page, event);
- return true;
- }
-
- return false;
- },
-
- _uiSpinnerHtml: function () {
- return "<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>";
- },
-
- _buttonHtml: function () {
- return "" +
- "<a class='ui-spinner-button ui-spinner-up ui-corner-tr'>" +
- "<span class='ui-icon " + this.options.icons.up + "'>&#9650;</span>" +
- "</a>" +
- "<a class='ui-spinner-button ui-spinner-down ui-corner-br'>" +
- "<span class='ui-icon " + this.options.icons.down + "'>&#9660;</span>" +
- "</a>";
- },
-
- _start: function (event) {
- if (!this.spinning && this._trigger("start", event) === false) {
- return false;
- }
-
- if (!this.counter) {
- this.counter = 1;
- }
- this.spinning = true;
- return true;
- },
-
- _repeat: function (i, steps, event) {
- i = i || 500;
-
- clearTimeout(this.timer);
- this.timer = this._delay(function () {
- this._repeat(40, steps, event);
- }, i);
-
- this._spin(steps * this.options.step, event);
- },
-
- _spin: function (step, event) {
- var value = this.value() || 0;
-
- if (!this.counter) {
- this.counter = 1;
- }
-
- value = this._adjustValue(value + step * this._increment(this.counter));
-
- if (!this.spinning || this._trigger("spin", event, {value: value}) !== false) {
- this._value(value);
- this.counter++;
- }
- },
-
- _increment: function (i) {
- var incremental = this.options.incremental;
-
- if (incremental) {
- return $.isFunction(incremental) ?
- incremental(i) :
- Math.floor(i * i * i / 50000 - i * i / 500 + 17 * i / 200 + 1);
- }
-
- return 1;
- },
-
- _precision: function () {
- var precision = this._precisionOf(this.options.step);
- if (this.options.min !== null) {
- precision = Math.max(precision, this._precisionOf(this.options.min));
- }
- return precision;
- },
-
- _precisionOf: function (num) {
- var str = num.toString(),
- decimal = str.indexOf(".");
- return decimal === -1 ? 0 : str.length - decimal - 1;
- },
-
- _adjustValue: function (value) {
- var base, aboveMin,
- options = this.options;
-
- // make sure we're at a valid step
- // - find out where we are relative to the base (min or 0)
- base = options.min !== null ? options.min : 0;
- aboveMin = value - base;
- // - round to the nearest step
- aboveMin = Math.round(aboveMin / options.step) * options.step;
- // - rounding is based on 0, so adjust back to our base
- value = base + aboveMin;
-
- // fix precision from bad JS floating point math
- value = parseFloat(value.toFixed(this._precision()));
-
- // clamp the value
- if (options.max !== null && value > options.max) {
- return options.max;
- }
- if (options.min !== null && value < options.min) {
- return options.min;
- }
-
- return value;
- },
-
- _stop: function (event) {
- if (!this.spinning) {
- return;
- }
-
- clearTimeout(this.timer);
- clearTimeout(this.mousewheelTimer);
- this.counter = 0;
- this.spinning = false;
- this._trigger("stop", event);
- },
-
- _setOption: function (key, value) {
- if (key === "culture" || key === "numberFormat") {
- var prevValue = this._parse(this.element.val());
- this.options[key] = value;
- this.element.val(this._format(prevValue));
- return;
- }
-
- if (key === "max" || key === "min" || key === "step") {
- if (typeof value === "string") {
- value = this._parse(value);
- }
- }
- if (key === "icons") {
- this.buttons.first().find(".ui-icon")
- .removeClass(this.options.icons.up)
- .addClass(value.up);
- this.buttons.last().find(".ui-icon")
- .removeClass(this.options.icons.down)
- .addClass(value.down);
- }
-
- this._super(key, value);
-
- if (key === "disabled") {
- this.widget().toggleClass("ui-state-disabled", !!value);
- this.element.prop("disabled", !!value);
- this.buttons.button(value ? "disable" : "enable");
- }
- },
-
- _setOptions: spinner_modifier(function (options) {
- this._super(options);
- }),
-
- _parse: function (val) {
- if (typeof val === "string" && val !== "") {
- val = window.Globalize && this.options.numberFormat ?
- Globalize.parseFloat(val, 10, this.options.culture) : +val;
- }
- return val === "" || isNaN(val) ? null : val;
- },
-
- _format: function (value) {
- if (value === "") {
- return "";
- }
- return window.Globalize && this.options.numberFormat ?
- Globalize.format(value, this.options.numberFormat, this.options.culture) :
- value;
- },
-
- _refresh: function () {
- this.element.attr({
- "aria-valuemin": this.options.min,
- "aria-valuemax": this.options.max,
- // TODO: what should we do with values that can't be parsed?
- "aria-valuenow": this._parse(this.element.val())
- });
- },
-
- isValid: function () {
- var value = this.value();
-
- // null is invalid
- if (value === null) {
- return false;
- }
-
- // if value gets adjusted, it's invalid
- return value === this._adjustValue(value);
- },
-
- // update the value without triggering change
- _value: function (value, allowAny) {
- var parsed;
- if (value !== "") {
- parsed = this._parse(value);
- if (parsed !== null) {
- if (!allowAny) {
- parsed = this._adjustValue(parsed);
- }
- value = this._format(parsed);
- }
- }
- this.element.val(value);
- this._refresh();
- },
-
- _destroy: function () {
- this.element
- .removeClass("ui-spinner-input")
- .prop("disabled", false)
- .removeAttr("autocomplete")
- .removeAttr("role")
- .removeAttr("aria-valuemin")
- .removeAttr("aria-valuemax")
- .removeAttr("aria-valuenow");
- this.uiSpinner.replaceWith(this.element);
- },
-
- stepUp: spinner_modifier(function (steps) {
- this._stepUp(steps);
- }),
- _stepUp: function (steps) {
- if (this._start()) {
- this._spin((steps || 1) * this.options.step);
- this._stop();
- }
- },
-
- stepDown: spinner_modifier(function (steps) {
- this._stepDown(steps);
- }),
- _stepDown: function (steps) {
- if (this._start()) {
- this._spin((steps || 1) * -this.options.step);
- this._stop();
- }
- },
-
- pageUp: spinner_modifier(function (pages) {
- this._stepUp((pages || 1) * this.options.page);
- }),
-
- pageDown: spinner_modifier(function (pages) {
- this._stepDown((pages || 1) * this.options.page);
- }),
-
- value: function (newVal) {
- if (!arguments.length) {
- return this._parse(this.element.val());
- }
- spinner_modifier(this._value).call(this, newVal);
- },
-
- widget: function () {
- return this.uiSpinner;
- }
- });
-
-
- /*!
- * jQuery UI Tabs 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/tabs/
- */
-
-
- var tabs = $.widget("ui.tabs", {
- version: "1.11.4",
- delay: 300,
- options: {
- active: null,
- collapsible: false,
- event: "click",
- heightStyle: "content",
- hide: null,
- show: null,
-
- // callbacks
- activate: null,
- beforeActivate: null,
- beforeLoad: null,
- load: null
- },
-
- _isLocal: (function () {
- var rhash = /#.*$/;
-
- return function (anchor) {
- var anchorUrl, locationUrl;
-
- // support: IE7
- // IE7 doesn't normalize the href property when set via script (#9317)
- anchor = anchor.cloneNode(false);
-
- anchorUrl = anchor.href.replace(rhash, "");
- locationUrl = location.href.replace(rhash, "");
-
- // decoding may throw an error if the URL isn't UTF-8 (#9518)
- try {
- anchorUrl = decodeURIComponent(anchorUrl);
- } catch (error) {
- }
- try {
- locationUrl = decodeURIComponent(locationUrl);
- } catch (error) {
- }
-
- return anchor.hash.length > 1 && anchorUrl === locationUrl;
- };
- })(),
-
- _create: function () {
- var that = this,
- options = this.options;
-
- this.running = false;
-
- this.element
- .addClass("ui-tabs ui-widget ui-widget-content ui-corner-all")
- .toggleClass("ui-tabs-collapsible", options.collapsible);
-
- this._processTabs();
- options.active = this._initialActive();
-
- // Take disabling tabs via class attribute from HTML
- // into account and update option properly.
- if ($.isArray(options.disabled)) {
- options.disabled = $.unique(options.disabled.concat(
- $.map(this.tabs.filter(".ui-state-disabled"), function (li) {
- return that.tabs.index(li);
- })
- )).sort();
- }
-
- // check for length avoids error when initializing empty list
- if (this.options.active !== false && this.anchors.length) {
- this.active = this._findActive(options.active);
- } else {
- this.active = $();
- }
-
- this._refresh();
-
- if (this.active.length) {
- this.load(options.active);
- }
- },
-
- _initialActive: function () {
- var active = this.options.active,
- collapsible = this.options.collapsible,
- locationHash = location.hash.substring(1);
-
- if (active === null) {
- // check the fragment identifier in the URL
- if (locationHash) {
- this.tabs.each(function (i, tab) {
- if ($(tab).attr("aria-controls") === locationHash) {
- active = i;
- return false;
- }
- });
- }
-
- // check for a tab marked active via a class
- if (active === null) {
- active = this.tabs.index(this.tabs.filter(".ui-tabs-active"));
- }
-
- // no active tab, set to false
- if (active === null || active === -1) {
- active = this.tabs.length ? 0 : false;
- }
- }
-
- // handle numbers: negative, out of range
- if (active !== false) {
- active = this.tabs.index(this.tabs.eq(active));
- if (active === -1) {
- active = collapsible ? false : 0;
- }
- }
-
- // don't allow collapsible: false and active: false
- if (!collapsible && active === false && this.anchors.length) {
- active = 0;
- }
-
- return active;
- },
-
- _getCreateEventData: function () {
- return {
- tab: this.active,
- panel: !this.active.length ? $() : this._getPanelForTab(this.active)
- };
- },
-
- _tabKeydown: function (event) {
- var focusedTab = $(this.document[0].activeElement).closest("li"),
- selectedIndex = this.tabs.index(focusedTab),
- goingForward = true;
-
- if (this._handlePageNav(event)) {
- return;
- }
-
- switch (event.keyCode) {
- case $.ui.keyCode.RIGHT:
- case $.ui.keyCode.DOWN:
- selectedIndex++;
- break;
- case $.ui.keyCode.UP:
- case $.ui.keyCode.LEFT:
- goingForward = false;
- selectedIndex--;
- break;
- case $.ui.keyCode.END:
- selectedIndex = this.anchors.length - 1;
- break;
- case $.ui.keyCode.HOME:
- selectedIndex = 0;
- break;
- case $.ui.keyCode.SPACE:
- // Activate only, no collapsing
- event.preventDefault();
- clearTimeout(this.activating);
- this._activate(selectedIndex);
- return;
- case $.ui.keyCode.ENTER:
- // Toggle (cancel delayed activation, allow collapsing)
- event.preventDefault();
- clearTimeout(this.activating);
- // Determine if we should collapse or activate
- this._activate(selectedIndex === this.options.active ? false : selectedIndex);
- return;
- default:
- return;
- }
-
- // Focus the appropriate tab, based on which key was pressed
- event.preventDefault();
- clearTimeout(this.activating);
- selectedIndex = this._focusNextTab(selectedIndex, goingForward);
-
- // Navigating with control/command key will prevent automatic activation
- if (!event.ctrlKey && !event.metaKey) {
-
- // Update aria-selected immediately so that AT think the tab is already selected.
- // Otherwise AT may confuse the user by stating that they need to activate the tab,
- // but the tab will already be activated by the time the announcement finishes.
- focusedTab.attr("aria-selected", "false");
- this.tabs.eq(selectedIndex).attr("aria-selected", "true");
-
- this.activating = this._delay(function () {
- this.option("active", selectedIndex);
- }, this.delay);
- }
- },
-
- _panelKeydown: function (event) {
- if (this._handlePageNav(event)) {
- return;
- }
-
- // Ctrl+up moves focus to the current tab
- if (event.ctrlKey && event.keyCode === $.ui.keyCode.UP) {
- event.preventDefault();
- this.active.focus();
- }
- },
-
- // Alt+page up/down moves focus to the previous/next tab (and activates)
- _handlePageNav: function (event) {
- if (event.altKey && event.keyCode === $.ui.keyCode.PAGE_UP) {
- this._activate(this._focusNextTab(this.options.active - 1, false));
- return true;
- }
- if (event.altKey && event.keyCode === $.ui.keyCode.PAGE_DOWN) {
- this._activate(this._focusNextTab(this.options.active + 1, true));
- return true;
- }
- },
-
- _findNextTab: function (index, goingForward) {
- var lastTabIndex = this.tabs.length - 1;
-
- function constrain() {
- if (index > lastTabIndex) {
- index = 0;
- }
- if (index < 0) {
- index = lastTabIndex;
- }
- return index;
- }
-
- while ($.inArray(constrain(), this.options.disabled) !== -1) {
- index = goingForward ? index + 1 : index - 1;
- }
-
- return index;
- },
-
- _focusNextTab: function (index, goingForward) {
- index = this._findNextTab(index, goingForward);
- this.tabs.eq(index).focus();
- return index;
- },
-
- _setOption: function (key, value) {
- if (key === "active") {
- // _activate() will handle invalid values and update this.options
- this._activate(value);
- return;
- }
-
- if (key === "disabled") {
- // don't use the widget factory's disabled handling
- this._setupDisabled(value);
- return;
- }
-
- this._super(key, value);
-
- if (key === "collapsible") {
- this.element.toggleClass("ui-tabs-collapsible", value);
- // Setting collapsible: false while collapsed; open first panel
- if (!value && this.options.active === false) {
- this._activate(0);
- }
- }
-
- if (key === "event") {
- this._setupEvents(value);
- }
-
- if (key === "heightStyle") {
- this._setupHeightStyle(value);
- }
- },
-
- _sanitizeSelector: function (hash) {
- return hash ? hash.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g, "\\$&") : "";
- },
-
- refresh: function () {
- var options = this.options,
- lis = this.tablist.children(":has(a[href])");
-
- // get disabled tabs from class attribute from HTML
- // this will get converted to a boolean if needed in _refresh()
- options.disabled = $.map(lis.filter(".ui-state-disabled"), function (tab) {
- return lis.index(tab);
- });
-
- this._processTabs();
-
- // was collapsed or no tabs
- if (options.active === false || !this.anchors.length) {
- options.active = false;
- this.active = $();
- // was active, but active tab is gone
- } else if (this.active.length && !$.contains(this.tablist[0], this.active[0])) {
- // all remaining tabs are disabled
- if (this.tabs.length === options.disabled.length) {
- options.active = false;
- this.active = $();
- // activate previous tab
- } else {
- this._activate(this._findNextTab(Math.max(0, options.active - 1), false));
- }
- // was active, active tab still exists
- } else {
- // make sure active index is correct
- options.active = this.tabs.index(this.active);
- }
-
- this._refresh();
- },
-
- _refresh: function () {
- this._setupDisabled(this.options.disabled);
- this._setupEvents(this.options.event);
- this._setupHeightStyle(this.options.heightStyle);
-
- this.tabs.not(this.active).attr({
- "aria-selected": "false",
- "aria-expanded": "false",
- tabIndex: -1
- });
- this.panels.not(this._getPanelForTab(this.active))
- .hide()
- .attr({
- "aria-hidden": "true"
- });
-
- // Make sure one tab is in the tab order
- if (!this.active.length) {
- this.tabs.eq(0).attr("tabIndex", 0);
- } else {
- this.active
- .addClass("ui-tabs-active ui-state-active")
- .attr({
- "aria-selected": "true",
- "aria-expanded": "true",
- tabIndex: 0
- });
- this._getPanelForTab(this.active)
- .show()
- .attr({
- "aria-hidden": "false"
- });
- }
- },
-
- _processTabs: function () {
- var that = this,
- prevTabs = this.tabs,
- prevAnchors = this.anchors,
- prevPanels = this.panels;
-
- this.tablist = this._getList()
- .addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all")
- .attr("role", "tablist")
-
- // Prevent users from focusing disabled tabs via click
- .delegate("> li", "mousedown" + this.eventNamespace, function (event) {
- if ($(this).is(".ui-state-disabled")) {
- event.preventDefault();
- }
- })
-
- // support: IE <9
- // Preventing the default action in mousedown doesn't prevent IE
- // from focusing the element, so if the anchor gets focused, blur.
- // We don't have to worry about focusing the previously focused
- // element since clicking on a non-focusable element should focus
- // the body anyway.
- .delegate(".ui-tabs-anchor", "focus" + this.eventNamespace, function () {
- if ($(this).closest("li").is(".ui-state-disabled")) {
- this.blur();
- }
- });
-
- this.tabs = this.tablist.find("> li:has(a[href])")
- .addClass("ui-state-default ui-corner-top")
- .attr({
- role: "tab",
- tabIndex: -1
- });
-
- this.anchors = this.tabs.map(function () {
- return $("a", this)[0];
- })
- .addClass("ui-tabs-anchor")
- .attr({
- role: "presentation",
- tabIndex: -1
- });
-
- this.panels = $();
-
- this.anchors.each(function (i, anchor) {
- var selector, panel, panelId,
- anchorId = $(anchor).uniqueId().attr("id"),
- tab = $(anchor).closest("li"),
- originalAriaControls = tab.attr("aria-controls");
-
- // inline tab
- if (that._isLocal(anchor)) {
- selector = anchor.hash;
- panelId = selector.substring(1);
- panel = that.element.find(that._sanitizeSelector(selector));
- // remote tab
- } else {
- // If the tab doesn't already have aria-controls,
- // generate an id by using a throw-away element
- panelId = tab.attr("aria-controls") || $({}).uniqueId()[0].id;
- selector = "#" + panelId;
- panel = that.element.find(selector);
- if (!panel.length) {
- panel = that._createPanel(panelId);
- panel.insertAfter(that.panels[i - 1] || that.tablist);
- }
- panel.attr("aria-live", "polite");
- }
-
- if (panel.length) {
- that.panels = that.panels.add(panel);
- }
- if (originalAriaControls) {
- tab.data("ui-tabs-aria-controls", originalAriaControls);
- }
- tab.attr({
- "aria-controls": panelId,
- "aria-labelledby": anchorId
- });
- panel.attr("aria-labelledby", anchorId);
- });
-
- this.panels
- .addClass("ui-tabs-panel ui-widget-content ui-corner-bottom")
- .attr("role", "tabpanel");
-
- // Avoid memory leaks (#10056)
- if (prevTabs) {
- this._off(prevTabs.not(this.tabs));
- this._off(prevAnchors.not(this.anchors));
- this._off(prevPanels.not(this.panels));
- }
- },
-
- // allow overriding how to find the list for rare usage scenarios (#7715)
- _getList: function () {
- return this.tablist || this.element.find("ol,ul").eq(0);
- },
-
- _createPanel: function (id) {
- return $("<div>")
- .attr("id", id)
- .addClass("ui-tabs-panel ui-widget-content ui-corner-bottom")
- .data("ui-tabs-destroy", true);
- },
-
- _setupDisabled: function (disabled) {
- if ($.isArray(disabled)) {
- if (!disabled.length) {
- disabled = false;
- } else if (disabled.length === this.anchors.length) {
- disabled = true;
- }
- }
-
- // disable tabs
- for (var i = 0, li; ( li = this.tabs[i] ); i++) {
- if (disabled === true || $.inArray(i, disabled) !== -1) {
- $(li)
- .addClass("ui-state-disabled")
- .attr("aria-disabled", "true");
- } else {
- $(li)
- .removeClass("ui-state-disabled")
- .removeAttr("aria-disabled");
- }
- }
-
- this.options.disabled = disabled;
- },
-
- _setupEvents: function (event) {
- var events = {};
- if (event) {
- $.each(event.split(" "), function (index, eventName) {
- events[eventName] = "_eventHandler";
- });
- }
-
- this._off(this.anchors.add(this.tabs).add(this.panels));
- // Always prevent the default action, even when disabled
- this._on(true, this.anchors, {
- click: function (event) {
- event.preventDefault();
- }
- });
- this._on(this.anchors, events);
- this._on(this.tabs, {keydown: "_tabKeydown"});
- this._on(this.panels, {keydown: "_panelKeydown"});
-
- this._focusable(this.tabs);
- this._hoverable(this.tabs);
- },
-
- _setupHeightStyle: function (heightStyle) {
- var maxHeight,
- parent = this.element.parent();
-
- if (heightStyle === "fill") {
- maxHeight = parent.height();
- maxHeight -= this.element.outerHeight() - this.element.height();
-
- this.element.siblings(":visible").each(function () {
- var elem = $(this),
- position = elem.css("position");
-
- if (position === "absolute" || position === "fixed") {
- return;
- }
- maxHeight -= elem.outerHeight(true);
- });
-
- this.element.children().not(this.panels).each(function () {
- maxHeight -= $(this).outerHeight(true);
- });
-
- this.panels.each(function () {
- $(this).height(Math.max(0, maxHeight -
- $(this).innerHeight() + $(this).height()));
- })
- .css("overflow", "auto");
- } else if (heightStyle === "auto") {
- maxHeight = 0;
- this.panels.each(function () {
- maxHeight = Math.max(maxHeight, $(this).height("").height());
- }).height(maxHeight);
- }
- },
-
- _eventHandler: function (event) {
- var options = this.options,
- active = this.active,
- anchor = $(event.currentTarget),
- tab = anchor.closest("li"),
- clickedIsActive = tab[0] === active[0],
- collapsing = clickedIsActive && options.collapsible,
- toShow = collapsing ? $() : this._getPanelForTab(tab),
- toHide = !active.length ? $() : this._getPanelForTab(active),
- eventData = {
- oldTab: active,
- oldPanel: toHide,
- newTab: collapsing ? $() : tab,
- newPanel: toShow
- };
-
- event.preventDefault();
-
- if (tab.hasClass("ui-state-disabled") ||
- // tab is already loading
- tab.hasClass("ui-tabs-loading") ||
- // can't switch durning an animation
- this.running ||
- // click on active header, but not collapsible
- ( clickedIsActive && !options.collapsible ) ||
- // allow canceling activation
- ( this._trigger("beforeActivate", event, eventData) === false )) {
- return;
- }
-
- options.active = collapsing ? false : this.tabs.index(tab);
-
- this.active = clickedIsActive ? $() : tab;
- if (this.xhr) {
- this.xhr.abort();
- }
-
- if (!toHide.length && !toShow.length) {
- $.error("jQuery UI Tabs: Mismatching fragment identifier.");
- }
-
- if (toShow.length) {
- this.load(this.tabs.index(tab), event);
- }
- this._toggle(event, eventData);
- },
-
- // handles show/hide for selecting tabs
- _toggle: function (event, eventData) {
- var that = this,
- toShow = eventData.newPanel,
- toHide = eventData.oldPanel;
-
- this.running = true;
-
- function complete() {
- that.running = false;
- that._trigger("activate", event, eventData);
- }
-
- function show() {
- eventData.newTab.closest("li").addClass("ui-tabs-active ui-state-active");
-
- if (toShow.length && that.options.show) {
- that._show(toShow, that.options.show, complete);
- } else {
- toShow.show();
- complete();
- }
- }
-
- // start out by hiding, then showing, then completing
- if (toHide.length && this.options.hide) {
- this._hide(toHide, this.options.hide, function () {
- eventData.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active");
- show();
- });
- } else {
- eventData.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active");
- toHide.hide();
- show();
- }
-
- toHide.attr("aria-hidden", "true");
- eventData.oldTab.attr({
- "aria-selected": "false",
- "aria-expanded": "false"
- });
- // If we're switching tabs, remove the old tab from the tab order.
- // If we're opening from collapsed state, remove the previous tab from the tab order.
- // If we're collapsing, then keep the collapsing tab in the tab order.
- if (toShow.length && toHide.length) {
- eventData.oldTab.attr("tabIndex", -1);
- } else if (toShow.length) {
- this.tabs.filter(function () {
- return $(this).attr("tabIndex") === 0;
- })
- .attr("tabIndex", -1);
- }
-
- toShow.attr("aria-hidden", "false");
- eventData.newTab.attr({
- "aria-selected": "true",
- "aria-expanded": "true",
- tabIndex: 0
- });
- },
-
- _activate: function (index) {
- var anchor,
- active = this._findActive(index);
-
- // trying to activate the already active panel
- if (active[0] === this.active[0]) {
- return;
- }
-
- // trying to collapse, simulate a click on the current active header
- if (!active.length) {
- active = this.active;
- }
-
- anchor = active.find(".ui-tabs-anchor")[0];
- this._eventHandler({
- target: anchor,
- currentTarget: anchor,
- preventDefault: $.noop
- });
- },
-
- _findActive: function (index) {
- return index === false ? $() : this.tabs.eq(index);
- },
-
- _getIndex: function (index) {
- // meta-function to give users option to provide a href string instead of a numerical index.
- if (typeof index === "string") {
- index = this.anchors.index(this.anchors.filter("[href$='" + index + "']"));
- }
-
- return index;
- },
-
- _destroy: function () {
- if (this.xhr) {
- this.xhr.abort();
- }
-
- this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible");
-
- this.tablist
- .removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all")
- .removeAttr("role");
-
- this.anchors
- .removeClass("ui-tabs-anchor")
- .removeAttr("role")
- .removeAttr("tabIndex")
- .removeUniqueId();
-
- this.tablist.unbind(this.eventNamespace);
-
- this.tabs.add(this.panels).each(function () {
- if ($.data(this, "ui-tabs-destroy")) {
- $(this).remove();
- } else {
- $(this)
- .removeClass("ui-state-default ui-state-active ui-state-disabled " +
- "ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel")
- .removeAttr("tabIndex")
- .removeAttr("aria-live")
- .removeAttr("aria-busy")
- .removeAttr("aria-selected")
- .removeAttr("aria-labelledby")
- .removeAttr("aria-hidden")
- .removeAttr("aria-expanded")
- .removeAttr("role");
- }
- });
-
- this.tabs.each(function () {
- var li = $(this),
- prev = li.data("ui-tabs-aria-controls");
- if (prev) {
- li
- .attr("aria-controls", prev)
- .removeData("ui-tabs-aria-controls");
- } else {
- li.removeAttr("aria-controls");
- }
- });
-
- this.panels.show();
-
- if (this.options.heightStyle !== "content") {
- this.panels.css("height", "");
- }
- },
-
- enable: function (index) {
- var disabled = this.options.disabled;
- if (disabled === false) {
- return;
- }
-
- if (index === undefined) {
- disabled = false;
- } else {
- index = this._getIndex(index);
- if ($.isArray(disabled)) {
- disabled = $.map(disabled, function (num) {
- return num !== index ? num : null;
- });
- } else {
- disabled = $.map(this.tabs, function (li, num) {
- return num !== index ? num : null;
- });
- }
- }
- this._setupDisabled(disabled);
- },
-
- disable: function (index) {
- var disabled = this.options.disabled;
- if (disabled === true) {
- return;
- }
-
- if (index === undefined) {
- disabled = true;
- } else {
- index = this._getIndex(index);
- if ($.inArray(index, disabled) !== -1) {
- return;
- }
- if ($.isArray(disabled)) {
- disabled = $.merge([index], disabled).sort();
- } else {
- disabled = [index];
- }
- }
- this._setupDisabled(disabled);
- },
-
- load: function (index, event) {
- index = this._getIndex(index);
- var that = this,
- tab = this.tabs.eq(index),
- anchor = tab.find(".ui-tabs-anchor"),
- panel = this._getPanelForTab(tab),
- eventData = {
- tab: tab,
- panel: panel
- },
- complete = function (jqXHR, status) {
- if (status === "abort") {
- that.panels.stop(false, true);
- }
-
- tab.removeClass("ui-tabs-loading");
- panel.removeAttr("aria-busy");
-
- if (jqXHR === that.xhr) {
- delete that.xhr;
- }
- };
-
- // not remote
- if (this._isLocal(anchor[0])) {
- return;
- }
-
- this.xhr = $.ajax(this._ajaxSettings(anchor, event, eventData));
-
- // support: jQuery <1.8
- // jQuery <1.8 returns false if the request is canceled in beforeSend,
- // but as of 1.8, $.ajax() always returns a jqXHR object.
- if (this.xhr && this.xhr.statusText !== "canceled") {
- tab.addClass("ui-tabs-loading");
- panel.attr("aria-busy", "true");
-
- this.xhr
- .done(function (response, status, jqXHR) {
- // support: jQuery <1.8
- // http://bugs.jquery.com/ticket/11778
- setTimeout(function () {
- panel.html(response);
- that._trigger("load", event, eventData);
-
- complete(jqXHR, status);
- }, 1);
- })
- .fail(function (jqXHR, status) {
- // support: jQuery <1.8
- // http://bugs.jquery.com/ticket/11778
- setTimeout(function () {
- complete(jqXHR, status);
- }, 1);
- });
- }
- },
-
- _ajaxSettings: function (anchor, event, eventData) {
- var that = this;
- return {
- url: anchor.attr("href"),
- beforeSend: function (jqXHR, settings) {
- return that._trigger("beforeLoad", event,
- $.extend({jqXHR: jqXHR, ajaxSettings: settings}, eventData));
- }
- };
- },
-
- _getPanelForTab: function (tab) {
- var id = $(tab).attr("aria-controls");
- return this.element.find(this._sanitizeSelector("#" + id));
- }
- });
-
-
- /*!
- * jQuery UI Tooltip 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/tooltip/
- */
-
-
- var tooltip = $.widget("ui.tooltip", {
- version: "1.11.4",
- options: {
- content: function () {
- // support: IE<9, Opera in jQuery <1.7
- // .text() can't accept undefined, so coerce to a string
- var title = $(this).attr("title") || "";
- // Escape title, since we're going from an attribute to raw HTML
- return $("<a>").text(title).html();
- },
- hide: true,
- // Disabled elements have inconsistent behavior across browsers (#8661)
- items: "[title]:not([disabled])",
- position: {
- my: "left top+15",
- at: "left bottom",
- collision: "flipfit flip"
- },
- show: true,
- tooltipClass: null,
- track: false,
-
- // callbacks
- close: null,
- open: null
- },
-
- _addDescribedBy: function (elem, id) {
- var describedby = (elem.attr("aria-describedby") || "").split(/\s+/);
- describedby.push(id);
- elem
- .data("ui-tooltip-id", id)
- .attr("aria-describedby", $.trim(describedby.join(" ")));
- },
-
- _removeDescribedBy: function (elem) {
- var id = elem.data("ui-tooltip-id"),
- describedby = (elem.attr("aria-describedby") || "").split(/\s+/),
- index = $.inArray(id, describedby);
-
- if (index !== -1) {
- describedby.splice(index, 1);
- }
-
- elem.removeData("ui-tooltip-id");
- describedby = $.trim(describedby.join(" "));
- if (describedby) {
- elem.attr("aria-describedby", describedby);
- } else {
- elem.removeAttr("aria-describedby");
- }
- },
-
- _create: function () {
- this._on({
- mouseover: "open",
- focusin: "open"
- });
-
- // IDs of generated tooltips, needed for destroy
- this.tooltips = {};
-
- // IDs of parent tooltips where we removed the title attribute
- this.parents = {};
-
- if (this.options.disabled) {
- this._disable();
- }
-
- // Append the aria-live region so tooltips announce correctly
- this.liveRegion = $("<div>")
- .attr({
- role: "log",
- "aria-live": "assertive",
- "aria-relevant": "additions"
- })
- .addClass("ui-helper-hidden-accessible")
- .appendTo(this.document[0].body);
- },
-
- _setOption: function (key, value) {
- var that = this;
-
- if (key === "disabled") {
- this[value ? "_disable" : "_enable"]();
- this.options[key] = value;
- // disable element style changes
- return;
- }
-
- this._super(key, value);
-
- if (key === "content") {
- $.each(this.tooltips, function (id, tooltipData) {
- that._updateContent(tooltipData.element);
- });
- }
- },
-
- _disable: function () {
- var that = this;
-
- // close open tooltips
- $.each(this.tooltips, function (id, tooltipData) {
- var event = $.Event("blur");
- event.target = event.currentTarget = tooltipData.element[0];
- that.close(event, true);
- });
-
- // remove title attributes to prevent native tooltips
- this.element.find(this.options.items).addBack().each(function () {
- var element = $(this);
- if (element.is("[title]")) {
- element
- .data("ui-tooltip-title", element.attr("title"))
- .removeAttr("title");
- }
- });
- },
-
- _enable: function () {
- // restore title attributes
- this.element.find(this.options.items).addBack().each(function () {
- var element = $(this);
- if (element.data("ui-tooltip-title")) {
- element.attr("title", element.data("ui-tooltip-title"));
- }
- });
- },
-
- open: function (event) {
- var that = this,
- target = $(event ? event.target : this.element)
- // we need closest here due to mouseover bubbling,
- // but always pointing at the same event target
- .closest(this.options.items);
-
- // No element to show a tooltip for or the tooltip is already open
- if (!target.length || target.data("ui-tooltip-id")) {
- return;
- }
-
- if (target.attr("title")) {
- target.data("ui-tooltip-title", target.attr("title"));
- }
-
- target.data("ui-tooltip-open", true);
-
- // kill parent tooltips, custom or native, for hover
- if (event && event.type === "mouseover") {
- target.parents().each(function () {
- var parent = $(this),
- blurEvent;
- if (parent.data("ui-tooltip-open")) {
- blurEvent = $.Event("blur");
- blurEvent.target = blurEvent.currentTarget = this;
- that.close(blurEvent, true);
- }
- if (parent.attr("title")) {
- parent.uniqueId();
- that.parents[this.id] = {
- element: this,
- title: parent.attr("title")
- };
- parent.attr("title", "");
- }
- });
- }
-
- this._registerCloseHandlers(event, target);
- this._updateContent(target, event);
- },
-
- _updateContent: function (target, event) {
- var content,
- contentOption = this.options.content,
- that = this,
- eventType = event ? event.type : null;
-
- if (typeof contentOption === "string") {
- return this._open(event, target, contentOption);
- }
-
- content = contentOption.call(target[0], function (response) {
-
- // IE may instantly serve a cached response for ajax requests
- // delay this call to _open so the other call to _open runs first
- that._delay(function () {
-
- // Ignore async response if tooltip was closed already
- if (!target.data("ui-tooltip-open")) {
- return;
- }
-
- // jQuery creates a special event for focusin when it doesn't
- // exist natively. To improve performance, the native event
- // object is reused and the type is changed. Therefore, we can't
- // rely on the type being correct after the event finished
- // bubbling, so we set it back to the previous value. (#8740)
- if (event) {
- event.type = eventType;
- }
- this._open(event, target, response);
- });
- });
- if (content) {
- this._open(event, target, content);
- }
- },
-
- _open: function (event, target, content) {
- var tooltipData, tooltip, delayedShow, a11yContent,
- positionOption = $.extend({}, this.options.position);
-
- if (!content) {
- return;
- }
-
- // Content can be updated multiple times. If the tooltip already
- // exists, then just update the content and bail.
- tooltipData = this._find(target);
- if (tooltipData) {
- tooltipData.tooltip.find(".ui-tooltip-content").html(content);
- return;
- }
-
- // if we have a title, clear it to prevent the native tooltip
- // we have to check first to avoid defining a title if none exists
- // (we don't want to cause an element to start matching [title])
- //
- // We use removeAttr only for key events, to allow IE to export the correct
- // accessible attributes. For mouse events, set to empty string to avoid
- // native tooltip showing up (happens only when removing inside mouseover).
- if (target.is("[title]")) {
- if (event && event.type === "mouseover") {
- target.attr("title", "");
- } else {
- target.removeAttr("title");
- }
- }
-
- tooltipData = this._tooltip(target);
- tooltip = tooltipData.tooltip;
- this._addDescribedBy(target, tooltip.attr("id"));
- tooltip.find(".ui-tooltip-content").html(content);
-
- // Support: Voiceover on OS X, JAWS on IE <= 9
- // JAWS announces deletions even when aria-relevant="additions"
- // Voiceover will sometimes re-read the entire log region's contents from the beginning
- this.liveRegion.children().hide();
- if (content.clone) {
- a11yContent = content.clone();
- a11yContent.removeAttr("id").find("[id]").removeAttr("id");
- } else {
- a11yContent = content;
- }
- $("<div>").html(a11yContent).appendTo(this.liveRegion);
-
- function position(event) {
- positionOption.of = event;
- if (tooltip.is(":hidden")) {
- return;
- }
- tooltip.position(positionOption);
- }
-
- if (this.options.track && event && /^mouse/.test(event.type)) {
- this._on(this.document, {
- mousemove: position
- });
- // trigger once to override element-relative positioning
- position(event);
- } else {
- tooltip.position($.extend({
- of: target
- }, this.options.position));
- }
-
- tooltip.hide();
-
- this._show(tooltip, this.options.show);
- // Handle tracking tooltips that are shown with a delay (#8644). As soon
- // as the tooltip is visible, position the tooltip using the most recent
- // event.
- if (this.options.show && this.options.show.delay) {
- delayedShow = this.delayedShow = setInterval(function () {
- if (tooltip.is(":visible")) {
- position(positionOption.of);
- clearInterval(delayedShow);
- }
- }, $.fx.interval);
- }
-
- this._trigger("open", event, {tooltip: tooltip});
- },
-
- _registerCloseHandlers: function (event, target) {
- var events = {
- keyup: function (event) {
- if (event.keyCode === $.ui.keyCode.ESCAPE) {
- var fakeEvent = $.Event(event);
- fakeEvent.currentTarget = target[0];
- this.close(fakeEvent, true);
- }
- }
- };
-
- // Only bind remove handler for delegated targets. Non-delegated
- // tooltips will handle this in destroy.
- if (target[0] !== this.element[0]) {
- events.remove = function () {
- this._removeTooltip(this._find(target).tooltip);
- };
- }
-
- if (!event || event.type === "mouseover") {
- events.mouseleave = "close";
- }
- if (!event || event.type === "focusin") {
- events.focusout = "close";
- }
- this._on(true, target, events);
- },
-
- close: function (event) {
- var tooltip,
- that = this,
- target = $(event ? event.currentTarget : this.element),
- tooltipData = this._find(target);
-
- // The tooltip may already be closed
- if (!tooltipData) {
-
- // We set ui-tooltip-open immediately upon open (in open()), but only set the
- // additional data once there's actually content to show (in _open()). So even if the
- // tooltip doesn't have full data, we always remove ui-tooltip-open in case we're in
- // the period between open() and _open().
- target.removeData("ui-tooltip-open");
- return;
- }
-
- tooltip = tooltipData.tooltip;
-
- // disabling closes the tooltip, so we need to track when we're closing
- // to avoid an infinite loop in case the tooltip becomes disabled on close
- if (tooltipData.closing) {
- return;
- }
-
- // Clear the interval for delayed tracking tooltips
- clearInterval(this.delayedShow);
-
- // only set title if we had one before (see comment in _open())
- // If the title attribute has changed since open(), don't restore
- if (target.data("ui-tooltip-title") && !target.attr("title")) {
- target.attr("title", target.data("ui-tooltip-title"));
- }
-
- this._removeDescribedBy(target);
-
- tooltipData.hiding = true;
- tooltip.stop(true);
- this._hide(tooltip, this.options.hide, function () {
- that._removeTooltip($(this));
- });
-
- target.removeData("ui-tooltip-open");
- this._off(target, "mouseleave focusout keyup");
-
- // Remove 'remove' binding only on delegated targets
- if (target[0] !== this.element[0]) {
- this._off(target, "remove");
- }
- this._off(this.document, "mousemove");
-
- if (event && event.type === "mouseleave") {
- $.each(this.parents, function (id, parent) {
- $(parent.element).attr("title", parent.title);
- delete that.parents[id];
- });
- }
-
- tooltipData.closing = true;
- this._trigger("close", event, {tooltip: tooltip});
- if (!tooltipData.hiding) {
- tooltipData.closing = false;
- }
- },
-
- _tooltip: function (element) {
- var tooltip = $("<div>")
- .attr("role", "tooltip")
- .addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content " +
- ( this.options.tooltipClass || "" )),
- id = tooltip.uniqueId().attr("id");
-
- $("<div>")
- .addClass("ui-tooltip-content")
- .appendTo(tooltip);
-
- tooltip.appendTo(this.document[0].body);
-
- return this.tooltips[id] = {
- element: element,
- tooltip: tooltip
- };
- },
-
- _find: function (target) {
- var id = target.data("ui-tooltip-id");
- return id ? this.tooltips[id] : null;
- },
-
- _removeTooltip: function (tooltip) {
- tooltip.remove();
- delete this.tooltips[tooltip.attr("id")];
- },
-
- _destroy: function () {
- var that = this;
-
- // close open tooltips
- $.each(this.tooltips, function (id, tooltipData) {
- // Delegate to close method to handle common cleanup
- var event = $.Event("blur"),
- element = tooltipData.element;
- event.target = event.currentTarget = element[0];
- that.close(event, true);
-
- // Remove immediately; destroying an open tooltip doesn't use the
- // hide animation
- $("#" + id).remove();
-
- // Restore the title
- if (element.data("ui-tooltip-title")) {
- // If the title attribute has changed since open(), don't restore
- if (!element.attr("title")) {
- element.attr("title", element.data("ui-tooltip-title"));
- }
- element.removeData("ui-tooltip-title");
- }
- });
- this.liveRegion.remove();
- }
- });
-
-
- /*!
- * jQuery UI Effects 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/category/effects-core/
- */
-
-
- var dataSpace = "ui-effects-",
-
- // Create a local jQuery because jQuery Color relies on it and the
- // global may not exist with AMD and a custom build (#10199)
- jQuery = $;
-
- $.effects = {
- effect: {}
- };
-
- /*!
- * jQuery Color Animations v2.1.2
- * https://github.com/jquery/jquery-color
- *
- * Copyright 2014 jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * Date: Wed Jan 16 08:47:09 2013 -0600
- */
- (function (jQuery, undefined) {
-
- var stepHooks = "backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",
-
- // plusequals test for += 100 -= 100
- rplusequals = /^([\-+])=\s*(\d+\.?\d*)/,
- // a set of RE's that can match strings and generate color tuples.
- stringParsers = [{
- re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
- parse: function (execResult) {
- return [
- execResult[1],
- execResult[2],
- execResult[3],
- execResult[4]
- ];
- }
- }, {
- re: /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
- parse: function (execResult) {
- return [
- execResult[1] * 2.55,
- execResult[2] * 2.55,
- execResult[3] * 2.55,
- execResult[4]
- ];
- }
- }, {
- // this regex ignores A-F because it's compared against an already lowercased string
- re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,
- parse: function (execResult) {
- return [
- parseInt(execResult[1], 16),
- parseInt(execResult[2], 16),
- parseInt(execResult[3], 16)
- ];
- }
- }, {
- // this regex ignores A-F because it's compared against an already lowercased string
- re: /#([a-f0-9])([a-f0-9])([a-f0-9])/,
- parse: function (execResult) {
- return [
- parseInt(execResult[1] + execResult[1], 16),
- parseInt(execResult[2] + execResult[2], 16),
- parseInt(execResult[3] + execResult[3], 16)
- ];
- }
- }, {
- re: /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
- space: "hsla",
- parse: function (execResult) {
- return [
- execResult[1],
- execResult[2] / 100,
- execResult[3] / 100,
- execResult[4]
- ];
- }
- }],
-
- // jQuery.Color( )
- color = jQuery.Color = function (color, green, blue, alpha) {
- return new jQuery.Color.fn.parse(color, green, blue, alpha);
- },
- spaces = {
- rgba: {
- props: {
- red: {
- idx: 0,
- type: "byte"
- },
- green: {
- idx: 1,
- type: "byte"
- },
- blue: {
- idx: 2,
- type: "byte"
- }
- }
- },
-
- hsla: {
- props: {
- hue: {
- idx: 0,
- type: "degrees"
- },
- saturation: {
- idx: 1,
- type: "percent"
- },
- lightness: {
- idx: 2,
- type: "percent"
- }
- }
- }
- },
- propTypes = {
- "byte": {
- floor: true,
- max: 255
- },
- "percent": {
- max: 1
- },
- "degrees": {
- mod: 360,
- floor: true
- }
- },
- support = color.support = {},
-
- // element for support tests
- supportElem = jQuery("<p>")[0],
-
- // colors = jQuery.Color.names
- colors,
-
- // local aliases of functions called often
- each = jQuery.each;
-
-// determine rgba support immediately
- supportElem.style.cssText = "background-color:rgba(1,1,1,.5)";
- support.rgba = supportElem.style.backgroundColor.indexOf("rgba") > -1;
-
-// define cache name and alpha properties
-// for rgba and hsla spaces
- each(spaces, function (spaceName, space) {
- space.cache = "_" + spaceName;
- space.props.alpha = {
- idx: 3,
- type: "percent",
- def: 1
- };
- });
-
- function clamp(value, prop, allowEmpty) {
- var type = propTypes[prop.type] || {};
-
- if (value == null) {
- return (allowEmpty || !prop.def) ? null : prop.def;
- }
-
- // ~~ is an short way of doing floor for positive numbers
- value = type.floor ? ~~value : parseFloat(value);
-
- // IE will pass in empty strings as value for alpha,
- // which will hit this case
- if (isNaN(value)) {
- return prop.def;
- }
-
- if (type.mod) {
- // we add mod before modding to make sure that negatives values
- // get converted properly: -10 -> 350
- return (value + type.mod) % type.mod;
- }
-
- // for now all property types without mod have min and max
- return 0 > value ? 0 : type.max < value ? type.max : value;
- }
-
- function stringParse(string) {
- var inst = color(),
- rgba = inst._rgba = [];
-
- string = string.toLowerCase();
-
- each(stringParsers, function (i, parser) {
- var parsed,
- match = parser.re.exec(string),
- values = match && parser.parse(match),
- spaceName = parser.space || "rgba";
-
- if (values) {
- parsed = inst[spaceName](values);
-
- // if this was an rgba parse the assignment might happen twice
- // oh well....
- inst[spaces[spaceName].cache] = parsed[spaces[spaceName].cache];
- rgba = inst._rgba = parsed._rgba;
-
- // exit each( stringParsers ) here because we matched
- return false;
- }
- });
-
- // Found a stringParser that handled it
- if (rgba.length) {
-
- // if this came from a parsed string, force "transparent" when alpha is 0
- // chrome, (and maybe others) return "transparent" as rgba(0,0,0,0)
- if (rgba.join() === "0,0,0,0") {
- jQuery.extend(rgba, colors.transparent);
- }
- return inst;
- }
-
- // named colors
- return colors[string];
- }
-
- color.fn = jQuery.extend(color.prototype, {
- parse: function (red, green, blue, alpha) {
- if (red === undefined) {
- this._rgba = [null, null, null, null];
- return this;
- }
- if (red.jquery || red.nodeType) {
- red = jQuery(red).css(green);
- green = undefined;
- }
-
- var inst = this,
- type = jQuery.type(red),
- rgba = this._rgba = [];
-
- // more than 1 argument specified - assume ( red, green, blue, alpha )
- if (green !== undefined) {
- red = [red, green, blue, alpha];
- type = "array";
- }
-
- if (type === "string") {
- return this.parse(stringParse(red) || colors._default);
- }
-
- if (type === "array") {
- each(spaces.rgba.props, function (key, prop) {
- rgba[prop.idx] = clamp(red[prop.idx], prop);
- });
- return this;
- }
-
- if (type === "object") {
- if (red instanceof color) {
- each(spaces, function (spaceName, space) {
- if (red[space.cache]) {
- inst[space.cache] = red[space.cache].slice();
- }
- });
- } else {
- each(spaces, function (spaceName, space) {
- var cache = space.cache;
- each(space.props, function (key, prop) {
-
- // if the cache doesn't exist, and we know how to convert
- if (!inst[cache] && space.to) {
-
- // if the value was null, we don't need to copy it
- // if the key was alpha, we don't need to copy it either
- if (key === "alpha" || red[key] == null) {
- return;
- }
- inst[cache] = space.to(inst._rgba);
- }
-
- // this is the only case where we allow nulls for ALL properties.
- // call clamp with alwaysAllowEmpty
- inst[cache][prop.idx] = clamp(red[key], prop, true);
- });
-
- // everything defined but alpha?
- if (inst[cache] && jQuery.inArray(null, inst[cache].slice(0, 3)) < 0) {
- // use the default of 1
- inst[cache][3] = 1;
- if (space.from) {
- inst._rgba = space.from(inst[cache]);
- }
- }
- });
- }
- return this;
- }
- },
- is: function (compare) {
- var is = color(compare),
- same = true,
- inst = this;
-
- each(spaces, function (_, space) {
- var localCache,
- isCache = is[space.cache];
- if (isCache) {
- localCache = inst[space.cache] || space.to && space.to(inst._rgba) || [];
- each(space.props, function (_, prop) {
- if (isCache[prop.idx] != null) {
- same = ( isCache[prop.idx] === localCache[prop.idx] );
- return same;
- }
- });
- }
- return same;
- });
- return same;
- },
- _space: function () {
- var used = [],
- inst = this;
- each(spaces, function (spaceName, space) {
- if (inst[space.cache]) {
- used.push(spaceName);
- }
- });
- return used.pop();
- },
- transition: function (other, distance) {
- var end = color(other),
- spaceName = end._space(),
- space = spaces[spaceName],
- startColor = this.alpha() === 0 ? color("transparent") : this,
- start = startColor[space.cache] || space.to(startColor._rgba),
- result = start.slice();
-
- end = end[space.cache];
- each(space.props, function (key, prop) {
- var index = prop.idx,
- startValue = start[index],
- endValue = end[index],
- type = propTypes[prop.type] || {};
-
- // if null, don't override start value
- if (endValue === null) {
- return;
- }
- // if null - use end
- if (startValue === null) {
- result[index] = endValue;
- } else {
- if (type.mod) {
- if (endValue - startValue > type.mod / 2) {
- startValue += type.mod;
- } else if (startValue - endValue > type.mod / 2) {
- startValue -= type.mod;
- }
- }
- result[index] = clamp(( endValue - startValue ) * distance + startValue, prop);
- }
- });
- return this[spaceName](result);
- },
- blend: function (opaque) {
- // if we are already opaque - return ourself
- if (this._rgba[3] === 1) {
- return this;
- }
-
- var rgb = this._rgba.slice(),
- a = rgb.pop(),
- blend = color(opaque)._rgba;
-
- return color(jQuery.map(rgb, function (v, i) {
- return ( 1 - a ) * blend[i] + a * v;
- }));
- },
- toRgbaString: function () {
- var prefix = "rgba(",
- rgba = jQuery.map(this._rgba, function (v, i) {
- return v == null ? ( i > 2 ? 1 : 0 ) : v;
- });
-
- if (rgba[3] === 1) {
- rgba.pop();
- prefix = "rgb(";
- }
-
- return prefix + rgba.join() + ")";
- },
- toHslaString: function () {
- var prefix = "hsla(",
- hsla = jQuery.map(this.hsla(), function (v, i) {
- if (v == null) {
- v = i > 2 ? 1 : 0;
- }
-
- // catch 1 and 2
- if (i && i < 3) {
- v = Math.round(v * 100) + "%";
- }
- return v;
- });
-
- if (hsla[3] === 1) {
- hsla.pop();
- prefix = "hsl(";
- }
- return prefix + hsla.join() + ")";
- },
- toHexString: function (includeAlpha) {
- var rgba = this._rgba.slice(),
- alpha = rgba.pop();
-
- if (includeAlpha) {
- rgba.push(~~( alpha * 255 ));
- }
-
- return "#" + jQuery.map(rgba, function (v) {
-
- // default to 0 when nulls exist
- v = ( v || 0 ).toString(16);
- return v.length === 1 ? "0" + v : v;
- }).join("");
- },
- toString: function () {
- return this._rgba[3] === 0 ? "transparent" : this.toRgbaString();
- }
- });
- color.fn.parse.prototype = color.fn;
-
-// hsla conversions adapted from:
-// https://code.google.com/p/maashaack/source/browse/packages/graphics/trunk/src/graphics/colors/HUE2RGB.as?r=5021
-
- function hue2rgb(p, q, h) {
- h = ( h + 1 ) % 1;
- if (h * 6 < 1) {
- return p + ( q - p ) * h * 6;
- }
- if (h * 2 < 1) {
- return q;
- }
- if (h * 3 < 2) {
- return p + ( q - p ) * ( ( 2 / 3 ) - h ) * 6;
- }
- return p;
- }
-
- spaces.hsla.to = function (rgba) {
- if (rgba[0] == null || rgba[1] == null || rgba[2] == null) {
- return [null, null, null, rgba[3]];
- }
- var r = rgba[0] / 255,
- g = rgba[1] / 255,
- b = rgba[2] / 255,
- a = rgba[3],
- max = Math.max(r, g, b),
- min = Math.min(r, g, b),
- diff = max - min,
- add = max + min,
- l = add * 0.5,
- h, s;
-
- if (min === max) {
- h = 0;
- } else if (r === max) {
- h = ( 60 * ( g - b ) / diff ) + 360;
- } else if (g === max) {
- h = ( 60 * ( b - r ) / diff ) + 120;
- } else {
- h = ( 60 * ( r - g ) / diff ) + 240;
- }
-
- // chroma (diff) == 0 means greyscale which, by definition, saturation = 0%
- // otherwise, saturation is based on the ratio of chroma (diff) to lightness (add)
- if (diff === 0) {
- s = 0;
- } else if (l <= 0.5) {
- s = diff / add;
- } else {
- s = diff / ( 2 - add );
- }
- return [Math.round(h) % 360, s, l, a == null ? 1 : a];
- };
-
- spaces.hsla.from = function (hsla) {
- if (hsla[0] == null || hsla[1] == null || hsla[2] == null) {
- return [null, null, null, hsla[3]];
- }
- var h = hsla[0] / 360,
- s = hsla[1],
- l = hsla[2],
- a = hsla[3],
- q = l <= 0.5 ? l * ( 1 + s ) : l + s - l * s,
- p = 2 * l - q;
-
- return [
- Math.round(hue2rgb(p, q, h + ( 1 / 3 )) * 255),
- Math.round(hue2rgb(p, q, h) * 255),
- Math.round(hue2rgb(p, q, h - ( 1 / 3 )) * 255),
- a
- ];
- };
-
- each(spaces, function (spaceName, space) {
- var props = space.props,
- cache = space.cache,
- to = space.to,
- from = space.from;
-
- // makes rgba() and hsla()
- color.fn[spaceName] = function (value) {
-
- // generate a cache for this space if it doesn't exist
- if (to && !this[cache]) {
- this[cache] = to(this._rgba);
- }
- if (value === undefined) {
- return this[cache].slice();
- }
-
- var ret,
- type = jQuery.type(value),
- arr = ( type === "array" || type === "object" ) ? value : arguments,
- local = this[cache].slice();
-
- each(props, function (key, prop) {
- var val = arr[type === "object" ? key : prop.idx];
- if (val == null) {
- val = local[prop.idx];
- }
- local[prop.idx] = clamp(val, prop);
- });
-
- if (from) {
- ret = color(from(local));
- ret[cache] = local;
- return ret;
- } else {
- return color(local);
- }
- };
-
- // makes red() green() blue() alpha() hue() saturation() lightness()
- each(props, function (key, prop) {
- // alpha is included in more than one space
- if (color.fn[key]) {
- return;
- }
- color.fn[key] = function (value) {
- var vtype = jQuery.type(value),
- fn = ( key === "alpha" ? ( this._hsla ? "hsla" : "rgba" ) : spaceName ),
- local = this[fn](),
- cur = local[prop.idx],
- match;
-
- if (vtype === "undefined") {
- return cur;
- }
-
- if (vtype === "function") {
- value = value.call(this, cur);
- vtype = jQuery.type(value);
- }
- if (value == null && prop.empty) {
- return this;
- }
- if (vtype === "string") {
- match = rplusequals.exec(value);
- if (match) {
- value = cur + parseFloat(match[2]) * ( match[1] === "+" ? 1 : -1 );
- }
- }
- local[prop.idx] = value;
- return this[fn](local);
- };
- });
- });
-
-// add cssHook and .fx.step function for each named hook.
-// accept a space separated string of properties
- color.hook = function (hook) {
- var hooks = hook.split(" ");
- each(hooks, function (i, hook) {
- jQuery.cssHooks[hook] = {
- set: function (elem, value) {
- var parsed, curElem,
- backgroundColor = "";
-
- if (value !== "transparent" && ( jQuery.type(value) !== "string" || ( parsed = stringParse(value) ) )) {
- value = color(parsed || value);
- if (!support.rgba && value._rgba[3] !== 1) {
- curElem = hook === "backgroundColor" ? elem.parentNode : elem;
- while (
- (backgroundColor === "" || backgroundColor === "transparent") &&
- curElem && curElem.style
- ) {
- try {
- backgroundColor = jQuery.css(curElem, "backgroundColor");
- curElem = curElem.parentNode;
- } catch (e) {
- }
- }
-
- value = value.blend(backgroundColor && backgroundColor !== "transparent" ?
- backgroundColor :
- "_default");
- }
-
- value = value.toRgbaString();
- }
- try {
- elem.style[hook] = value;
- } catch (e) {
- // wrapped to prevent IE from throwing errors on "invalid" values like 'auto' or 'inherit'
- }
- }
- };
- jQuery.fx.step[hook] = function (fx) {
- if (!fx.colorInit) {
- fx.start = color(fx.elem, hook);
- fx.end = color(fx.end);
- fx.colorInit = true;
- }
- jQuery.cssHooks[hook].set(fx.elem, fx.start.transition(fx.end, fx.pos));
- };
- });
-
- };
-
- color.hook(stepHooks);
-
- jQuery.cssHooks.borderColor = {
- expand: function (value) {
- var expanded = {};
-
- each(["Top", "Right", "Bottom", "Left"], function (i, part) {
- expanded["border" + part + "Color"] = value;
- });
- return expanded;
- }
- };
-
-// Basic color names only.
-// Usage of any of the other color names requires adding yourself or including
-// jquery.color.svg-names.js.
- colors = jQuery.Color.names = {
- // 4.1. Basic color keywords
- aqua: "#00ffff",
- black: "#000000",
- blue: "#0000ff",
- fuchsia: "#ff00ff",
- gray: "#808080",
- green: "#008000",
- lime: "#00ff00",
- maroon: "#800000",
- navy: "#000080",
- olive: "#808000",
- purple: "#800080",
- red: "#ff0000",
- silver: "#c0c0c0",
- teal: "#008080",
- white: "#ffffff",
- yellow: "#ffff00",
-
- // 4.2.3. "transparent" color keyword
- transparent: [null, null, null, 0],
-
- _default: "#ffffff"
- };
-
- })(jQuery);
-
- /******************************************************************************/
- /****************************** CLASS ANIMATIONS ******************************/
- /******************************************************************************/
- (function () {
-
- var classAnimationActions = ["add", "remove", "toggle"],
- shorthandStyles = {
- border: 1,
- borderBottom: 1,
- borderColor: 1,
- borderLeft: 1,
- borderRight: 1,
- borderTop: 1,
- borderWidth: 1,
- margin: 1,
- padding: 1
- };
-
- $.each(["borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle"], function (_, prop) {
- $.fx.step[prop] = function (fx) {
- if (fx.end !== "none" && !fx.setAttr || fx.pos === 1 && !fx.setAttr) {
- jQuery.style(fx.elem, prop, fx.end);
- fx.setAttr = true;
- }
- };
- });
-
- function getElementStyles(elem) {
- var key, len,
- style = elem.ownerDocument.defaultView ?
- elem.ownerDocument.defaultView.getComputedStyle(elem, null) :
- elem.currentStyle,
- styles = {};
-
- if (style && style.length && style[0] && style[style[0]]) {
- len = style.length;
- while (len--) {
- key = style[len];
- if (typeof style[key] === "string") {
- styles[$.camelCase(key)] = style[key];
- }
- }
- // support: Opera, IE <9
- } else {
- for (key in style) {
- if (typeof style[key] === "string") {
- styles[key] = style[key];
- }
- }
- }
-
- return styles;
- }
-
- function styleDifference(oldStyle, newStyle) {
- var diff = {},
- name, value;
-
- for (name in newStyle) {
- value = newStyle[name];
- if (oldStyle[name] !== value) {
- if (!shorthandStyles[name]) {
- if ($.fx.step[name] || !isNaN(parseFloat(value))) {
- diff[name] = value;
- }
- }
- }
- }
-
- return diff;
- }
-
-// support: jQuery <1.8
- if (!$.fn.addBack) {
- $.fn.addBack = function (selector) {
- return this.add(selector == null ?
- this.prevObject : this.prevObject.filter(selector)
- );
- };
- }
-
- $.effects.animateClass = function (value, duration, easing, callback) {
- var o = $.speed(duration, easing, callback);
-
- return this.queue(function () {
- var animated = $(this),
- baseClass = animated.attr("class") || "",
- applyClassChange,
- allAnimations = o.children ? animated.find("*").addBack() : animated;
-
- // map the animated objects to store the original styles.
- allAnimations = allAnimations.map(function () {
- var el = $(this);
- return {
- el: el,
- start: getElementStyles(this)
- };
- });
-
- // apply class change
- applyClassChange = function () {
- $.each(classAnimationActions, function (i, action) {
- if (value[action]) {
- animated[action + "Class"](value[action]);
- }
- });
- };
- applyClassChange();
-
- // map all animated objects again - calculate new styles and diff
- allAnimations = allAnimations.map(function () {
- this.end = getElementStyles(this.el[0]);
- this.diff = styleDifference(this.start, this.end);
- return this;
- });
-
- // apply original class
- animated.attr("class", baseClass);
-
- // map all animated objects again - this time collecting a promise
- allAnimations = allAnimations.map(function () {
- var styleInfo = this,
- dfd = $.Deferred(),
- opts = $.extend({}, o, {
- queue: false,
- complete: function () {
- dfd.resolve(styleInfo);
- }
- });
-
- this.el.animate(this.diff, opts);
- return dfd.promise();
- });
-
- // once all animations have completed:
- $.when.apply($, allAnimations.get()).done(function () {
-
- // set the final class
- applyClassChange();
-
- // for each animated element,
- // clear all css properties that were animated
- $.each(arguments, function () {
- var el = this.el;
- $.each(this.diff, function (key) {
- el.css(key, "");
- });
- });
-
- // this is guarnteed to be there if you use jQuery.speed()
- // it also handles dequeuing the next anim...
- o.complete.call(animated[0]);
- });
- });
- };
-
- $.fn.extend({
- addClass: (function (orig) {
- return function (classNames, speed, easing, callback) {
- return speed ?
- $.effects.animateClass.call(this,
- {add: classNames}, speed, easing, callback) :
- orig.apply(this, arguments);
- };
- })($.fn.addClass),
-
- removeClass: (function (orig) {
- return function (classNames, speed, easing, callback) {
- return arguments.length > 1 ?
- $.effects.animateClass.call(this,
- {remove: classNames}, speed, easing, callback) :
- orig.apply(this, arguments);
- };
- })($.fn.removeClass),
-
- toggleClass: (function (orig) {
- return function (classNames, force, speed, easing, callback) {
- if (typeof force === "boolean" || force === undefined) {
- if (!speed) {
- // without speed parameter
- return orig.apply(this, arguments);
- } else {
- return $.effects.animateClass.call(this,
- (force ? {add: classNames} : {remove: classNames}),
- speed, easing, callback);
- }
- } else {
- // without force parameter
- return $.effects.animateClass.call(this,
- {toggle: classNames}, force, speed, easing);
- }
- };
- })($.fn.toggleClass),
-
- switchClass: function (remove, add, speed, easing, callback) {
- return $.effects.animateClass.call(this, {
- add: add,
- remove: remove
- }, speed, easing, callback);
- }
- });
-
- })();
-
- /******************************************************************************/
- /*********************************** EFFECTS **********************************/
- /******************************************************************************/
-
- (function () {
-
- $.extend($.effects, {
- version: "1.11.4",
-
- // Saves a set of properties in a data storage
- save: function (element, set) {
- for (var i = 0; i < set.length; i++) {
- if (set[i] !== null) {
- element.data(dataSpace + set[i], element[0].style[set[i]]);
- }
- }
- },
-
- // Restores a set of previously saved properties from a data storage
- restore: function (element, set) {
- var val, i;
- for (i = 0; i < set.length; i++) {
- if (set[i] !== null) {
- val = element.data(dataSpace + set[i]);
- // support: jQuery 1.6.2
- // http://bugs.jquery.com/ticket/9917
- // jQuery 1.6.2 incorrectly returns undefined for any falsy value.
- // We can't differentiate between "" and 0 here, so we just assume
- // empty string since it's likely to be a more common value...
- if (val === undefined) {
- val = "";
- }
- element.css(set[i], val);
- }
- }
- },
-
- setMode: function (el, mode) {
- if (mode === "toggle") {
- mode = el.is(":hidden") ? "show" : "hide";
- }
- return mode;
- },
-
- // Translates a [top,left] array into a baseline value
- // this should be a little more flexible in the future to handle a string & hash
- getBaseline: function (origin, original) {
- var y, x;
- switch (origin[0]) {
- case "top":
- y = 0;
- break;
- case "middle":
- y = 0.5;
- break;
- case "bottom":
- y = 1;
- break;
- default:
- y = origin[0] / original.height;
- }
- switch (origin[1]) {
- case "left":
- x = 0;
- break;
- case "center":
- x = 0.5;
- break;
- case "right":
- x = 1;
- break;
- default:
- x = origin[1] / original.width;
- }
- return {
- x: x,
- y: y
- };
- },
-
- // Wraps the element around a wrapper that copies position properties
- createWrapper: function (element) {
-
- // if the element is already wrapped, return it
- if (element.parent().is(".ui-effects-wrapper")) {
- return element.parent();
- }
-
- // wrap the element
- var props = {
- width: element.outerWidth(true),
- height: element.outerHeight(true),
- "float": element.css("float")
- },
- wrapper = $("<div></div>")
- .addClass("ui-effects-wrapper")
- .css({
- fontSize: "100%",
- background: "transparent",
- border: "none",
- margin: 0,
- padding: 0
- }),
- // Store the size in case width/height are defined in % - Fixes #5245
- size = {
- width: element.width(),
- height: element.height()
- },
- active = document.activeElement;
-
- // support: Firefox
- // Firefox incorrectly exposes anonymous content
- // https://bugzilla.mozilla.org/show_bug.cgi?id=561664
- try {
- active.id;
- } catch (e) {
- active = document.body;
- }
-
- element.wrap(wrapper);
-
- // Fixes #7595 - Elements lose focus when wrapped.
- if (element[0] === active || $.contains(element[0], active)) {
- $(active).focus();
- }
-
- wrapper = element.parent(); //Hotfix for jQuery 1.4 since some change in wrap() seems to actually lose the reference to the wrapped element
-
- // transfer positioning properties to the wrapper
- if (element.css("position") === "static") {
- wrapper.css({position: "relative"});
- element.css({position: "relative"});
- } else {
- $.extend(props, {
- position: element.css("position"),
- zIndex: element.css("z-index")
- });
- $.each(["top", "left", "bottom", "right"], function (i, pos) {
- props[pos] = element.css(pos);
- if (isNaN(parseInt(props[pos], 10))) {
- props[pos] = "auto";
- }
- });
- element.css({
- position: "relative",
- top: 0,
- left: 0,
- right: "auto",
- bottom: "auto"
- });
- }
- element.css(size);
-
- return wrapper.css(props).show();
- },
-
- removeWrapper: function (element) {
- var active = document.activeElement;
-
- if (element.parent().is(".ui-effects-wrapper")) {
- element.parent().replaceWith(element);
-
- // Fixes #7595 - Elements lose focus when wrapped.
- if (element[0] === active || $.contains(element[0], active)) {
- $(active).focus();
- }
- }
-
- return element;
- },
-
- setTransition: function (element, list, factor, value) {
- value = value || {};
- $.each(list, function (i, x) {
- var unit = element.cssUnit(x);
- if (unit[0] > 0) {
- value[x] = unit[0] * factor + unit[1];
- }
- });
- return value;
- }
- });
-
-// return an effect options object for the given parameters:
- function _normalizeArguments(effect, options, speed, callback) {
-
- // allow passing all options as the first parameter
- if ($.isPlainObject(effect)) {
- options = effect;
- effect = effect.effect;
- }
-
- // convert to an object
- effect = {effect: effect};
-
- // catch (effect, null, ...)
- if (options == null) {
- options = {};
- }
-
- // catch (effect, callback)
- if ($.isFunction(options)) {
- callback = options;
- speed = null;
- options = {};
- }
-
- // catch (effect, speed, ?)
- if (typeof options === "number" || $.fx.speeds[options]) {
- callback = speed;
- speed = options;
- options = {};
- }
-
- // catch (effect, options, callback)
- if ($.isFunction(speed)) {
- callback = speed;
- speed = null;
- }
-
- // add options to effect
- if (options) {
- $.extend(effect, options);
- }
-
- speed = speed || options.duration;
- effect.duration = $.fx.off ? 0 :
- typeof speed === "number" ? speed :
- speed in $.fx.speeds ? $.fx.speeds[speed] :
- $.fx.speeds._default;
-
- effect.complete = callback || options.complete;
-
- return effect;
- }
-
- function standardAnimationOption(option) {
- // Valid standard speeds (nothing, number, named speed)
- if (!option || typeof option === "number" || $.fx.speeds[option]) {
- return true;
- }
-
- // Invalid strings - treat as "normal" speed
- if (typeof option === "string" && !$.effects.effect[option]) {
- return true;
- }
-
- // Complete callback
- if ($.isFunction(option)) {
- return true;
- }
-
- // Options hash (but not naming an effect)
- if (typeof option === "object" && !option.effect) {
- return true;
- }
-
- // Didn't match any standard API
- return false;
- }
-
- $.fn.extend({
- effect: function (/* effect, options, speed, callback */) {
- var args = _normalizeArguments.apply(this, arguments),
- mode = args.mode,
- queue = args.queue,
- effectMethod = $.effects.effect[args.effect];
-
- if ($.fx.off || !effectMethod) {
- // delegate to the original method (e.g., .show()) if possible
- if (mode) {
- return this[mode](args.duration, args.complete);
- } else {
- return this.each(function () {
- if (args.complete) {
- args.complete.call(this);
- }
- });
- }
- }
-
- function run(next) {
- var elem = $(this),
- complete = args.complete,
- mode = args.mode;
-
- function done() {
- if ($.isFunction(complete)) {
- complete.call(elem[0]);
- }
- if ($.isFunction(next)) {
- next();
- }
- }
-
- // If the element already has the correct final state, delegate to
- // the core methods so the internal tracking of "olddisplay" works.
- if (elem.is(":hidden") ? mode === "hide" : mode === "show") {
- elem[mode]();
- done();
- } else {
- effectMethod.call(elem[0], args, done);
- }
- }
-
- return queue === false ? this.each(run) : this.queue(queue || "fx", run);
- },
-
- show: (function (orig) {
- return function (option) {
- if (standardAnimationOption(option)) {
- return orig.apply(this, arguments);
- } else {
- var args = _normalizeArguments.apply(this, arguments);
- args.mode = "show";
- return this.effect.call(this, args);
- }
- };
- })($.fn.show),
-
- hide: (function (orig) {
- return function (option) {
- if (standardAnimationOption(option)) {
- return orig.apply(this, arguments);
- } else {
- var args = _normalizeArguments.apply(this, arguments);
- args.mode = "hide";
- return this.effect.call(this, args);
- }
- };
- })($.fn.hide),
-
- toggle: (function (orig) {
- return function (option) {
- if (standardAnimationOption(option) || typeof option === "boolean") {
- return orig.apply(this, arguments);
- } else {
- var args = _normalizeArguments.apply(this, arguments);
- args.mode = "toggle";
- return this.effect.call(this, args);
- }
- };
- })($.fn.toggle),
-
- // helper functions
- cssUnit: function (key) {
- var style = this.css(key),
- val = [];
-
- $.each(["em", "px", "%", "pt"], function (i, unit) {
- if (style.indexOf(unit) > 0) {
- val = [parseFloat(style), unit];
- }
- });
- return val;
- }
- });
-
- })();
-
- /******************************************************************************/
- /*********************************** EASING ***********************************/
- /******************************************************************************/
-
- (function () {
-
-// based on easing equations from Robert Penner (http://www.robertpenner.com/easing)
-
- var baseEasings = {};
-
- $.each(["Quad", "Cubic", "Quart", "Quint", "Expo"], function (i, name) {
- baseEasings[name] = function (p) {
- return Math.pow(p, i + 2);
- };
- });
-
- $.extend(baseEasings, {
- Sine: function (p) {
- return 1 - Math.cos(p * Math.PI / 2);
- },
- Circ: function (p) {
- return 1 - Math.sqrt(1 - p * p);
- },
- Elastic: function (p) {
- return p === 0 || p === 1 ? p :
- -Math.pow(2, 8 * (p - 1)) * Math.sin(( (p - 1) * 80 - 7.5 ) * Math.PI / 15);
- },
- Back: function (p) {
- return p * p * ( 3 * p - 2 );
- },
- Bounce: function (p) {
- var pow2,
- bounce = 4;
-
- while (p < ( ( pow2 = Math.pow(2, --bounce) ) - 1 ) / 11) {
- }
- return 1 / Math.pow(4, 3 - bounce) - 7.5625 * Math.pow(( pow2 * 3 - 2 ) / 22 - p, 2);
- }
- });
-
- $.each(baseEasings, function (name, easeIn) {
- $.easing["easeIn" + name] = easeIn;
- $.easing["easeOut" + name] = function (p) {
- return 1 - easeIn(1 - p);
- };
- $.easing["easeInOut" + name] = function (p) {
- return p < 0.5 ?
- easeIn(p * 2) / 2 :
- 1 - easeIn(p * -2 + 2) / 2;
- };
- });
-
- })();
-
- var effect = $.effects;
-
-
- /*!
- * jQuery UI Effects Blind 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/blind-effect/
- */
-
-
- var effectBlind = $.effects.effect.blind = function (o, done) {
- // Create element
- var el = $(this),
- rvertical = /up|down|vertical/,
- rpositivemotion = /up|left|vertical|horizontal/,
- props = ["position", "top", "bottom", "left", "right", "height", "width"],
- mode = $.effects.setMode(el, o.mode || "hide"),
- direction = o.direction || "up",
- vertical = rvertical.test(direction),
- ref = vertical ? "height" : "width",
- ref2 = vertical ? "top" : "left",
- motion = rpositivemotion.test(direction),
- animation = {},
- show = mode === "show",
- wrapper, distance, margin;
-
- // if already wrapped, the wrapper's properties are my property. #6245
- if (el.parent().is(".ui-effects-wrapper")) {
- $.effects.save(el.parent(), props);
- } else {
- $.effects.save(el, props);
- }
- el.show();
- wrapper = $.effects.createWrapper(el).css({
- overflow: "hidden"
- });
-
- distance = wrapper[ref]();
- margin = parseFloat(wrapper.css(ref2)) || 0;
-
- animation[ref] = show ? distance : 0;
- if (!motion) {
- el
- .css(vertical ? "bottom" : "right", 0)
- .css(vertical ? "top" : "left", "auto")
- .css({position: "absolute"});
-
- animation[ref2] = show ? margin : distance + margin;
- }
-
- // start at 0 if we are showing
- if (show) {
- wrapper.css(ref, 0);
- if (!motion) {
- wrapper.css(ref2, margin + distance);
- }
- }
-
- // Animate
- wrapper.animate(animation, {
- duration: o.duration,
- easing: o.easing,
- queue: false,
- complete: function () {
- if (mode === "hide") {
- el.hide();
- }
- $.effects.restore(el, props);
- $.effects.removeWrapper(el);
- done();
- }
- });
- };
-
-
- /*!
- * jQuery UI Effects Bounce 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/bounce-effect/
- */
-
-
- var effectBounce = $.effects.effect.bounce = function (o, done) {
- var el = $(this),
- props = ["position", "top", "bottom", "left", "right", "height", "width"],
-
- // defaults:
- mode = $.effects.setMode(el, o.mode || "effect"),
- hide = mode === "hide",
- show = mode === "show",
- direction = o.direction || "up",
- distance = o.distance,
- times = o.times || 5,
-
- // number of internal animations
- anims = times * 2 + ( show || hide ? 1 : 0 ),
- speed = o.duration / anims,
- easing = o.easing,
-
- // utility:
- ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
- motion = ( direction === "up" || direction === "left" ),
- i,
- upAnim,
- downAnim,
-
- // we will need to re-assemble the queue to stack our animations in place
- queue = el.queue(),
- queuelen = queue.length;
-
- // Avoid touching opacity to prevent clearType and PNG issues in IE
- if (show || hide) {
- props.push("opacity");
- }
-
- $.effects.save(el, props);
- el.show();
- $.effects.createWrapper(el); // Create Wrapper
-
- // default distance for the BIGGEST bounce is the outer Distance / 3
- if (!distance) {
- distance = el[ref === "top" ? "outerHeight" : "outerWidth"]() / 3;
- }
-
- if (show) {
- downAnim = {opacity: 1};
- downAnim[ref] = 0;
-
- // if we are showing, force opacity 0 and set the initial position
- // then do the "first" animation
- el.css("opacity", 0)
- .css(ref, motion ? -distance * 2 : distance * 2)
- .animate(downAnim, speed, easing);
- }
-
- // start at the smallest distance if we are hiding
- if (hide) {
- distance = distance / Math.pow(2, times - 1);
- }
-
- downAnim = {};
- downAnim[ref] = 0;
- // Bounces up/down/left/right then back to 0 -- times * 2 animations happen here
- for (i = 0; i < times; i++) {
- upAnim = {};
- upAnim[ref] = ( motion ? "-=" : "+=" ) + distance;
-
- el.animate(upAnim, speed, easing)
- .animate(downAnim, speed, easing);
-
- distance = hide ? distance * 2 : distance / 2;
- }
-
- // Last Bounce when Hiding
- if (hide) {
- upAnim = {opacity: 0};
- upAnim[ref] = ( motion ? "-=" : "+=" ) + distance;
-
- el.animate(upAnim, speed, easing);
- }
-
- el.queue(function () {
- if (hide) {
- el.hide();
- }
- $.effects.restore(el, props);
- $.effects.removeWrapper(el);
- done();
- });
-
- // inject all the animations we just queued to be first in line (after "inprogress")
- if (queuelen > 1) {
- queue.splice.apply(queue,
- [1, 0].concat(queue.splice(queuelen, anims + 1)));
- }
- el.dequeue();
-
- };
-
-
- /*!
- * jQuery UI Effects Clip 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/clip-effect/
- */
-
-
- var effectClip = $.effects.effect.clip = function (o, done) {
- // Create element
- var el = $(this),
- props = ["position", "top", "bottom", "left", "right", "height", "width"],
- mode = $.effects.setMode(el, o.mode || "hide"),
- show = mode === "show",
- direction = o.direction || "vertical",
- vert = direction === "vertical",
- size = vert ? "height" : "width",
- position = vert ? "top" : "left",
- animation = {},
- wrapper, animate, distance;
-
- // Save & Show
- $.effects.save(el, props);
- el.show();
-
- // Create Wrapper
- wrapper = $.effects.createWrapper(el).css({
- overflow: "hidden"
- });
- animate = ( el[0].tagName === "IMG" ) ? wrapper : el;
- distance = animate[size]();
-
- // Shift
- if (show) {
- animate.css(size, 0);
- animate.css(position, distance / 2);
- }
-
- // Create Animation Object:
- animation[size] = show ? distance : 0;
- animation[position] = show ? 0 : distance / 2;
-
- // Animate
- animate.animate(animation, {
- queue: false,
- duration: o.duration,
- easing: o.easing,
- complete: function () {
- if (!show) {
- el.hide();
- }
- $.effects.restore(el, props);
- $.effects.removeWrapper(el);
- done();
- }
- });
-
- };
-
-
- /*!
- * jQuery UI Effects Drop 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/drop-effect/
- */
-
-
- var effectDrop = $.effects.effect.drop = function (o, done) {
-
- var el = $(this),
- props = ["position", "top", "bottom", "left", "right", "opacity", "height", "width"],
- mode = $.effects.setMode(el, o.mode || "hide"),
- show = mode === "show",
- direction = o.direction || "left",
- ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
- motion = ( direction === "up" || direction === "left" ) ? "pos" : "neg",
- animation = {
- opacity: show ? 1 : 0
- },
- distance;
-
- // Adjust
- $.effects.save(el, props);
- el.show();
- $.effects.createWrapper(el);
-
- distance = o.distance || el[ref === "top" ? "outerHeight" : "outerWidth"](true) / 2;
-
- if (show) {
- el
- .css("opacity", 0)
- .css(ref, motion === "pos" ? -distance : distance);
- }
-
- // Animation
- animation[ref] = ( show ?
- ( motion === "pos" ? "+=" : "-=" ) :
- ( motion === "pos" ? "-=" : "+=" ) ) +
- distance;
-
- // Animate
- el.animate(animation, {
- queue: false,
- duration: o.duration,
- easing: o.easing,
- complete: function () {
- if (mode === "hide") {
- el.hide();
- }
- $.effects.restore(el, props);
- $.effects.removeWrapper(el);
- done();
- }
- });
- };
-
-
- /*!
- * jQuery UI Effects Explode 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/explode-effect/
- */
-
-
- var effectExplode = $.effects.effect.explode = function (o, done) {
-
- var rows = o.pieces ? Math.round(Math.sqrt(o.pieces)) : 3,
- cells = rows,
- el = $(this),
- mode = $.effects.setMode(el, o.mode || "hide"),
- show = mode === "show",
-
- // show and then visibility:hidden the element before calculating offset
- offset = el.show().css("visibility", "hidden").offset(),
-
- // width and height of a piece
- width = Math.ceil(el.outerWidth() / cells),
- height = Math.ceil(el.outerHeight() / rows),
- pieces = [],
-
- // loop
- i, j, left, top, mx, my;
-
- // children animate complete:
- function childComplete() {
- pieces.push(this);
- if (pieces.length === rows * cells) {
- animComplete();
- }
- }
-
- // clone the element for each row and cell.
- for (i = 0; i < rows; i++) { // ===>
- top = offset.top + i * height;
- my = i - ( rows - 1 ) / 2;
-
- for (j = 0; j < cells; j++) { // |||
- left = offset.left + j * width;
- mx = j - ( cells - 1 ) / 2;
-
- // Create a clone of the now hidden main element that will be absolute positioned
- // within a wrapper div off the -left and -top equal to size of our pieces
- el
- .clone()
- .appendTo("body")
- .wrap("<div></div>")
- .css({
- position: "absolute",
- visibility: "visible",
- left: -j * width,
- top: -i * height
- })
-
- // select the wrapper - make it overflow: hidden and absolute positioned based on
- // where the original was located +left and +top equal to the size of pieces
- .parent()
- .addClass("ui-effects-explode")
- .css({
- position: "absolute",
- overflow: "hidden",
- width: width,
- height: height,
- left: left + ( show ? mx * width : 0 ),
- top: top + ( show ? my * height : 0 ),
- opacity: show ? 0 : 1
- }).animate({
- left: left + ( show ? 0 : mx * width ),
- top: top + ( show ? 0 : my * height ),
- opacity: show ? 1 : 0
- }, o.duration || 500, o.easing, childComplete);
- }
- }
-
- function animComplete() {
- el.css({
- visibility: "visible"
- });
- $(pieces).remove();
- if (!show) {
- el.hide();
- }
- done();
- }
- };
-
-
- /*!
- * jQuery UI Effects Fade 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/fade-effect/
- */
-
-
- var effectFade = $.effects.effect.fade = function (o, done) {
- var el = $(this),
- mode = $.effects.setMode(el, o.mode || "toggle");
-
- el.animate({
- opacity: mode
- }, {
- queue: false,
- duration: o.duration,
- easing: o.easing,
- complete: done
- });
- };
-
-
- /*!
- * jQuery UI Effects Fold 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/fold-effect/
- */
-
-
- var effectFold = $.effects.effect.fold = function (o, done) {
-
- // Create element
- var el = $(this),
- props = ["position", "top", "bottom", "left", "right", "height", "width"],
- mode = $.effects.setMode(el, o.mode || "hide"),
- show = mode === "show",
- hide = mode === "hide",
- size = o.size || 15,
- percent = /([0-9]+)%/.exec(size),
- horizFirst = !!o.horizFirst,
- widthFirst = show !== horizFirst,
- ref = widthFirst ? ["width", "height"] : ["height", "width"],
- duration = o.duration / 2,
- wrapper, distance,
- animation1 = {},
- animation2 = {};
-
- $.effects.save(el, props);
- el.show();
-
- // Create Wrapper
- wrapper = $.effects.createWrapper(el).css({
- overflow: "hidden"
- });
- distance = widthFirst ?
- [wrapper.width(), wrapper.height()] :
- [wrapper.height(), wrapper.width()];
-
- if (percent) {
- size = parseInt(percent[1], 10) / 100 * distance[hide ? 0 : 1];
- }
- if (show) {
- wrapper.css(horizFirst ? {
- height: 0,
- width: size
- } : {
- height: size,
- width: 0
- });
- }
-
- // Animation
- animation1[ref[0]] = show ? distance[0] : size;
- animation2[ref[1]] = show ? distance[1] : 0;
-
- // Animate
- wrapper
- .animate(animation1, duration, o.easing)
- .animate(animation2, duration, o.easing, function () {
- if (hide) {
- el.hide();
- }
- $.effects.restore(el, props);
- $.effects.removeWrapper(el);
- done();
- });
-
- };
-
-
- /*!
- * jQuery UI Effects Highlight 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/highlight-effect/
- */
-
-
- var effectHighlight = $.effects.effect.highlight = function (o, done) {
- var elem = $(this),
- props = ["backgroundImage", "backgroundColor", "opacity"],
- mode = $.effects.setMode(elem, o.mode || "show"),
- animation = {
- backgroundColor: elem.css("backgroundColor")
- };
-
- if (mode === "hide") {
- animation.opacity = 0;
- }
-
- $.effects.save(elem, props);
-
- elem
- .show()
- .css({
- backgroundImage: "none",
- backgroundColor: o.color || "#ffff99"
- })
- .animate(animation, {
- queue: false,
- duration: o.duration,
- easing: o.easing,
- complete: function () {
- if (mode === "hide") {
- elem.hide();
- }
- $.effects.restore(elem, props);
- done();
- }
- });
- };
-
-
- /*!
- * jQuery UI Effects Size 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/size-effect/
- */
-
-
- var effectSize = $.effects.effect.size = function (o, done) {
-
- // Create element
- var original, baseline, factor,
- el = $(this),
- props0 = ["position", "top", "bottom", "left", "right", "width", "height", "overflow", "opacity"],
-
- // Always restore
- props1 = ["position", "top", "bottom", "left", "right", "overflow", "opacity"],
-
- // Copy for children
- props2 = ["width", "height", "overflow"],
- cProps = ["fontSize"],
- vProps = ["borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom"],
- hProps = ["borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight"],
-
- // Set options
- mode = $.effects.setMode(el, o.mode || "effect"),
- restore = o.restore || mode !== "effect",
- scale = o.scale || "both",
- origin = o.origin || ["middle", "center"],
- position = el.css("position"),
- props = restore ? props0 : props1,
- zero = {
- height: 0,
- width: 0,
- outerHeight: 0,
- outerWidth: 0
- };
-
- if (mode === "show") {
- el.show();
- }
- original = {
- height: el.height(),
- width: el.width(),
- outerHeight: el.outerHeight(),
- outerWidth: el.outerWidth()
- };
-
- if (o.mode === "toggle" && mode === "show") {
- el.from = o.to || zero;
- el.to = o.from || original;
- } else {
- el.from = o.from || ( mode === "show" ? zero : original );
- el.to = o.to || ( mode === "hide" ? zero : original );
- }
-
- // Set scaling factor
- factor = {
- from: {
- y: el.from.height / original.height,
- x: el.from.width / original.width
- },
- to: {
- y: el.to.height / original.height,
- x: el.to.width / original.width
- }
- };
-
- // Scale the css box
- if (scale === "box" || scale === "both") {
-
- // Vertical props scaling
- if (factor.from.y !== factor.to.y) {
- props = props.concat(vProps);
- el.from = $.effects.setTransition(el, vProps, factor.from.y, el.from);
- el.to = $.effects.setTransition(el, vProps, factor.to.y, el.to);
- }
-
- // Horizontal props scaling
- if (factor.from.x !== factor.to.x) {
- props = props.concat(hProps);
- el.from = $.effects.setTransition(el, hProps, factor.from.x, el.from);
- el.to = $.effects.setTransition(el, hProps, factor.to.x, el.to);
- }
- }
-
- // Scale the content
- if (scale === "content" || scale === "both") {
-
- // Vertical props scaling
- if (factor.from.y !== factor.to.y) {
- props = props.concat(cProps).concat(props2);
- el.from = $.effects.setTransition(el, cProps, factor.from.y, el.from);
- el.to = $.effects.setTransition(el, cProps, factor.to.y, el.to);
- }
- }
-
- $.effects.save(el, props);
- el.show();
- $.effects.createWrapper(el);
- el.css("overflow", "hidden").css(el.from);
-
- // Adjust
- if (origin) { // Calculate baseline shifts
- baseline = $.effects.getBaseline(origin, original);
- el.from.top = ( original.outerHeight - el.outerHeight() ) * baseline.y;
- el.from.left = ( original.outerWidth - el.outerWidth() ) * baseline.x;
- el.to.top = ( original.outerHeight - el.to.outerHeight ) * baseline.y;
- el.to.left = ( original.outerWidth - el.to.outerWidth ) * baseline.x;
- }
- el.css(el.from); // set top & left
-
- // Animate
- if (scale === "content" || scale === "both") { // Scale the children
-
- // Add margins/font-size
- vProps = vProps.concat(["marginTop", "marginBottom"]).concat(cProps);
- hProps = hProps.concat(["marginLeft", "marginRight"]);
- props2 = props0.concat(vProps).concat(hProps);
-
- el.find("*[width]").each(function () {
- var child = $(this),
- c_original = {
- height: child.height(),
- width: child.width(),
- outerHeight: child.outerHeight(),
- outerWidth: child.outerWidth()
- };
- if (restore) {
- $.effects.save(child, props2);
- }
-
- child.from = {
- height: c_original.height * factor.from.y,
- width: c_original.width * factor.from.x,
- outerHeight: c_original.outerHeight * factor.from.y,
- outerWidth: c_original.outerWidth * factor.from.x
- };
- child.to = {
- height: c_original.height * factor.to.y,
- width: c_original.width * factor.to.x,
- outerHeight: c_original.height * factor.to.y,
- outerWidth: c_original.width * factor.to.x
- };
-
- // Vertical props scaling
- if (factor.from.y !== factor.to.y) {
- child.from = $.effects.setTransition(child, vProps, factor.from.y, child.from);
- child.to = $.effects.setTransition(child, vProps, factor.to.y, child.to);
- }
-
- // Horizontal props scaling
- if (factor.from.x !== factor.to.x) {
- child.from = $.effects.setTransition(child, hProps, factor.from.x, child.from);
- child.to = $.effects.setTransition(child, hProps, factor.to.x, child.to);
- }
-
- // Animate children
- child.css(child.from);
- child.animate(child.to, o.duration, o.easing, function () {
-
- // Restore children
- if (restore) {
- $.effects.restore(child, props2);
- }
- });
- });
- }
-
- // Animate
- el.animate(el.to, {
- queue: false,
- duration: o.duration,
- easing: o.easing,
- complete: function () {
- if (el.to.opacity === 0) {
- el.css("opacity", el.from.opacity);
- }
- if (mode === "hide") {
- el.hide();
- }
- $.effects.restore(el, props);
- if (!restore) {
-
- // we need to calculate our new positioning based on the scaling
- if (position === "static") {
- el.css({
- position: "relative",
- top: el.to.top,
- left: el.to.left
- });
- } else {
- $.each(["top", "left"], function (idx, pos) {
- el.css(pos, function (_, str) {
- var val = parseInt(str, 10),
- toRef = idx ? el.to.left : el.to.top;
-
- // if original was "auto", recalculate the new value from wrapper
- if (str === "auto") {
- return toRef + "px";
- }
-
- return val + toRef + "px";
- });
- });
- }
- }
-
- $.effects.removeWrapper(el);
- done();
- }
- });
-
- };
-
-
- /*!
- * jQuery UI Effects Scale 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/scale-effect/
- */
-
-
- var effectScale = $.effects.effect.scale = function (o, done) {
-
- // Create element
- var el = $(this),
- options = $.extend(true, {}, o),
- mode = $.effects.setMode(el, o.mode || "effect"),
- percent = parseInt(o.percent, 10) ||
- ( parseInt(o.percent, 10) === 0 ? 0 : ( mode === "hide" ? 0 : 100 ) ),
- direction = o.direction || "both",
- origin = o.origin,
- original = {
- height: el.height(),
- width: el.width(),
- outerHeight: el.outerHeight(),
- outerWidth: el.outerWidth()
- },
- factor = {
- y: direction !== "horizontal" ? (percent / 100) : 1,
- x: direction !== "vertical" ? (percent / 100) : 1
- };
-
- // We are going to pass this effect to the size effect:
- options.effect = "size";
- options.queue = false;
- options.complete = done;
-
- // Set default origin and restore for show/hide
- if (mode !== "effect") {
- options.origin = origin || ["middle", "center"];
- options.restore = true;
- }
-
- options.from = o.from || ( mode === "show" ? {
- height: 0,
- width: 0,
- outerHeight: 0,
- outerWidth: 0
- } : original );
- options.to = {
- height: original.height * factor.y,
- width: original.width * factor.x,
- outerHeight: original.outerHeight * factor.y,
- outerWidth: original.outerWidth * factor.x
- };
-
- // Fade option to support puff
- if (options.fade) {
- if (mode === "show") {
- options.from.opacity = 0;
- options.to.opacity = 1;
- }
- if (mode === "hide") {
- options.from.opacity = 1;
- options.to.opacity = 0;
- }
- }
-
- // Animate
- el.effect(options);
-
- };
-
-
- /*!
- * jQuery UI Effects Puff 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/puff-effect/
- */
-
-
- var effectPuff = $.effects.effect.puff = function (o, done) {
- var elem = $(this),
- mode = $.effects.setMode(elem, o.mode || "hide"),
- hide = mode === "hide",
- percent = parseInt(o.percent, 10) || 150,
- factor = percent / 100,
- original = {
- height: elem.height(),
- width: elem.width(),
- outerHeight: elem.outerHeight(),
- outerWidth: elem.outerWidth()
- };
-
- $.extend(o, {
- effect: "scale",
- queue: false,
- fade: true,
- mode: mode,
- complete: done,
- percent: hide ? percent : 100,
- from: hide ?
- original :
- {
- height: original.height * factor,
- width: original.width * factor,
- outerHeight: original.outerHeight * factor,
- outerWidth: original.outerWidth * factor
- }
- });
-
- elem.effect(o);
- };
-
-
- /*!
- * jQuery UI Effects Pulsate 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/pulsate-effect/
- */
-
-
- var effectPulsate = $.effects.effect.pulsate = function (o, done) {
- var elem = $(this),
- mode = $.effects.setMode(elem, o.mode || "show"),
- show = mode === "show",
- hide = mode === "hide",
- showhide = ( show || mode === "hide" ),
-
- // showing or hiding leaves of the "last" animation
- anims = ( ( o.times || 5 ) * 2 ) + ( showhide ? 1 : 0 ),
- duration = o.duration / anims,
- animateTo = 0,
- queue = elem.queue(),
- queuelen = queue.length,
- i;
-
- if (show || !elem.is(":visible")) {
- elem.css("opacity", 0).show();
- animateTo = 1;
- }
-
- // anims - 1 opacity "toggles"
- for (i = 1; i < anims; i++) {
- elem.animate({
- opacity: animateTo
- }, duration, o.easing);
- animateTo = 1 - animateTo;
- }
-
- elem.animate({
- opacity: animateTo
- }, duration, o.easing);
-
- elem.queue(function () {
- if (hide) {
- elem.hide();
- }
- done();
- });
-
- // We just queued up "anims" animations, we need to put them next in the queue
- if (queuelen > 1) {
- queue.splice.apply(queue,
- [1, 0].concat(queue.splice(queuelen, anims + 1)));
- }
- elem.dequeue();
- };
-
-
- /*!
- * jQuery UI Effects Shake 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/shake-effect/
- */
-
-
- var effectShake = $.effects.effect.shake = function (o, done) {
-
- var el = $(this),
- props = ["position", "top", "bottom", "left", "right", "height", "width"],
- mode = $.effects.setMode(el, o.mode || "effect"),
- direction = o.direction || "left",
- distance = o.distance || 20,
- times = o.times || 3,
- anims = times * 2 + 1,
- speed = Math.round(o.duration / anims),
- ref = (direction === "up" || direction === "down") ? "top" : "left",
- positiveMotion = (direction === "up" || direction === "left"),
- animation = {},
- animation1 = {},
- animation2 = {},
- i,
-
- // we will need to re-assemble the queue to stack our animations in place
- queue = el.queue(),
- queuelen = queue.length;
-
- $.effects.save(el, props);
- el.show();
- $.effects.createWrapper(el);
-
- // Animation
- animation[ref] = ( positiveMotion ? "-=" : "+=" ) + distance;
- animation1[ref] = ( positiveMotion ? "+=" : "-=" ) + distance * 2;
- animation2[ref] = ( positiveMotion ? "-=" : "+=" ) + distance * 2;
-
- // Animate
- el.animate(animation, speed, o.easing);
-
- // Shakes
- for (i = 1; i < times; i++) {
- el.animate(animation1, speed, o.easing).animate(animation2, speed, o.easing);
- }
- el
- .animate(animation1, speed, o.easing)
- .animate(animation, speed / 2, o.easing)
- .queue(function () {
- if (mode === "hide") {
- el.hide();
- }
- $.effects.restore(el, props);
- $.effects.removeWrapper(el);
- done();
- });
-
- // inject all the animations we just queued to be first in line (after "inprogress")
- if (queuelen > 1) {
- queue.splice.apply(queue,
- [1, 0].concat(queue.splice(queuelen, anims + 1)));
- }
- el.dequeue();
-
- };
-
-
- /*!
- * jQuery UI Effects Slide 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/slide-effect/
- */
-
-
- var effectSlide = $.effects.effect.slide = function (o, done) {
-
- // Create element
- var el = $(this),
- props = ["position", "top", "bottom", "left", "right", "width", "height"],
- mode = $.effects.setMode(el, o.mode || "show"),
- show = mode === "show",
- direction = o.direction || "left",
- ref = (direction === "up" || direction === "down") ? "top" : "left",
- positiveMotion = (direction === "up" || direction === "left"),
- distance,
- animation = {};
-
- // Adjust
- $.effects.save(el, props);
- el.show();
- distance = o.distance || el[ref === "top" ? "outerHeight" : "outerWidth"](true);
-
- $.effects.createWrapper(el).css({
- overflow: "hidden"
- });
-
- if (show) {
- el.css(ref, positiveMotion ? (isNaN(distance) ? "-" + distance : -distance) : distance);
- }
-
- // Animation
- animation[ref] = ( show ?
- ( positiveMotion ? "+=" : "-=") :
- ( positiveMotion ? "-=" : "+=")) +
- distance;
-
- // Animate
- el.animate(animation, {
- queue: false,
- duration: o.duration,
- easing: o.easing,
- complete: function () {
- if (mode === "hide") {
- el.hide();
- }
- $.effects.restore(el, props);
- $.effects.removeWrapper(el);
- done();
- }
- });
- };
-
-
- /*!
- * jQuery UI Effects Transfer 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/transfer-effect/
- */
-
-
- var effectTransfer = $.effects.effect.transfer = function (o, done) {
- var elem = $(this),
- target = $(o.to),
- targetFixed = target.css("position") === "fixed",
- body = $("body"),
- fixTop = targetFixed ? body.scrollTop() : 0,
- fixLeft = targetFixed ? body.scrollLeft() : 0,
- endPosition = target.offset(),
- animation = {
- top: endPosition.top - fixTop,
- left: endPosition.left - fixLeft,
- height: target.innerHeight(),
- width: target.innerWidth()
- },
- startPosition = elem.offset(),
- transfer = $("<div class='ui-effects-transfer'></div>")
- .appendTo(document.body)
- .addClass(o.className)
- .css({
- top: startPosition.top - fixTop,
- left: startPosition.left - fixLeft,
- height: elem.innerHeight(),
- width: elem.innerWidth(),
- position: targetFixed ? "fixed" : "absolute"
- })
- .animate(animation, o.duration, o.easing, function () {
- transfer.remove();
- done();
- });
- };
-
-
-})); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.min.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.min.css
deleted file mode 100644
index fb2025ff..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.min.css
+++ /dev/null
@@ -1,1775 +0,0 @@
-/*! jQuery UI - v1.11.4 - 2015-04-16
-* http://jqueryui.com
-* Includes: core.css, draggable.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, menu.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css
-* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
-* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
-
-.ui-helper-hidden {
- display: none
-}
-
-.ui-helper-hidden-accessible {
- border: 0;
- clip: rect(0 0 0 0);
- height: 1px;
- margin: -1px;
- overflow: hidden;
- padding: 0;
- position: absolute;
- width: 1px
-}
-
-.ui-helper-reset {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0;
- line-height: 1.3;
- text-decoration: none;
- font-size: 100%;
- list-style: none
-}
-
-.ui-helper-clearfix:before, .ui-helper-clearfix:after {
- content: "";
- display: table;
- border-collapse: collapse
-}
-
-.ui-helper-clearfix:after {
- clear: both
-}
-
-.ui-helper-clearfix {
- min-height: 0
-}
-
-.ui-helper-zfix {
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- position: absolute;
- opacity: 0;
- filter: Alpha(Opacity=0)
-}
-
-.ui-front {
- z-index: 100
-}
-
-.ui-state-disabled {
- cursor: default !important
-}
-
-.ui-icon {
- display: block;
- text-indent: -99999px;
- overflow: hidden;
- background-repeat: no-repeat
-}
-
-.ui-widget-overlay {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%
-}
-
-.ui-draggable-handle {
- -ms-touch-action: none;
- touch-action: none
-}
-
-.ui-resizable {
- position: relative
-}
-
-.ui-resizable-handle {
- position: absolute;
- font-size: 0.1px;
- display: block;
- -ms-touch-action: none;
- touch-action: none
-}
-
-.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle {
- display: none
-}
-
-.ui-resizable-n {
- cursor: n-resize;
- height: 7px;
- width: 100%;
- top: -5px;
- left: 0
-}
-
-.ui-resizable-s {
- cursor: s-resize;
- height: 7px;
- width: 100%;
- bottom: -5px;
- left: 0
-}
-
-.ui-resizable-e {
- cursor: e-resize;
- width: 7px;
- right: -5px;
- top: 0;
- height: 100%
-}
-
-.ui-resizable-w {
- cursor: w-resize;
- width: 7px;
- left: -5px;
- top: 0;
- height: 100%
-}
-
-.ui-resizable-se {
- cursor: se-resize;
- width: 12px;
- height: 12px;
- right: 1px;
- bottom: 1px
-}
-
-.ui-resizable-sw {
- cursor: sw-resize;
- width: 9px;
- height: 9px;
- left: -5px;
- bottom: -5px
-}
-
-.ui-resizable-nw {
- cursor: nw-resize;
- width: 9px;
- height: 9px;
- left: -5px;
- top: -5px
-}
-
-.ui-resizable-ne {
- cursor: ne-resize;
- width: 9px;
- height: 9px;
- right: -5px;
- top: -5px
-}
-
-.ui-selectable {
- -ms-touch-action: none;
- touch-action: none
-}
-
-.ui-selectable-helper {
- position: absolute;
- z-index: 100;
- border: 1px dotted black
-}
-
-.ui-sortable-handle {
- -ms-touch-action: none;
- touch-action: none
-}
-
-.ui-accordion .ui-accordion-header {
- display: block;
- cursor: pointer;
- position: relative;
- margin: 2px 0 0 0;
- padding: .5em .5em .5em .7em;
- min-height: 0;
- font-size: 100%
-}
-
-.ui-accordion .ui-accordion-icons {
- padding-left: 2.2em
-}
-
-.ui-accordion .ui-accordion-icons .ui-accordion-icons {
- padding-left: 2.2em
-}
-
-.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
- position: absolute;
- left: .5em;
- top: 50%;
- margin-top: -8px
-}
-
-.ui-accordion .ui-accordion-content {
- padding: 1em 2.2em;
- border-top: 0;
- overflow: auto
-}
-
-.ui-autocomplete {
- position: absolute;
- top: 0;
- left: 0;
- cursor: default
-}
-
-.ui-button {
- display: inline-block;
- position: relative;
- padding: 0;
- line-height: normal;
- margin-right: .1em;
- cursor: pointer;
- vertical-align: middle;
- text-align: center;
- overflow: visible
-}
-
-.ui-button, .ui-button:link, .ui-button:visited, .ui-button:hover, .ui-button:active {
- text-decoration: none
-}
-
-.ui-button-icon-only {
- width: 2.2em
-}
-
-button.ui-button-icon-only {
- width: 2.4em
-}
-
-.ui-button-icons-only {
- width: 3.4em
-}
-
-button.ui-button-icons-only {
- width: 3.7em
-}
-
-.ui-button .ui-button-text {
- display: block;
- line-height: normal
-}
-
-.ui-button-text-only .ui-button-text {
- padding: .4em 1em
-}
-
-.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text {
- padding: .4em;
- text-indent: -9999999px
-}
-
-.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text {
- padding: .4em 1em .4em 2.1em
-}
-
-.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text {
- padding: .4em 2.1em .4em 1em
-}
-
-.ui-button-text-icons .ui-button-text {
- padding-left: 2.1em;
- padding-right: 2.1em
-}
-
-input.ui-button {
- padding: .4em 1em
-}
-
-.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon {
- position: absolute;
- top: 50%;
- margin-top: -8px
-}
-
-.ui-button-icon-only .ui-icon {
- left: 50%;
- margin-left: -8px
-}
-
-.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary {
- left: .5em
-}
-
-.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary {
- right: .5em
-}
-
-.ui-buttonset {
- margin-right: 7px
-}
-
-.ui-buttonset .ui-button {
- margin-left: 0;
- margin-right: -.3em
-}
-
-input.ui-button::-moz-focus-inner, button.ui-button::-moz-focus-inner {
- border: 0;
- padding: 0
-}
-
-.ui-datepicker {
- width: 17em;
- padding: .2em .2em 0;
- display: none
-}
-
-.ui-datepicker .ui-datepicker-header {
- position: relative;
- padding: .2em 0
-}
-
-.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
- position: absolute;
- top: 2px;
- width: 1.8em;
- height: 1.8em
-}
-
-.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover {
- top: 1px
-}
-
-.ui-datepicker .ui-datepicker-prev {
- left: 2px
-}
-
-.ui-datepicker .ui-datepicker-next {
- right: 2px
-}
-
-.ui-datepicker .ui-datepicker-prev-hover {
- left: 1px
-}
-
-.ui-datepicker .ui-datepicker-next-hover {
- right: 1px
-}
-
-.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
- display: block;
- position: absolute;
- left: 50%;
- margin-left: -8px;
- top: 50%;
- margin-top: -8px
-}
-
-.ui-datepicker .ui-datepicker-title {
- margin: 0 2.3em;
- line-height: 1.8em;
- text-align: center
-}
-
-.ui-datepicker .ui-datepicker-title select {
- font-size: 1em;
- margin: 1px 0
-}
-
-.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
- width: 45%
-}
-
-.ui-datepicker table {
- width: 100%;
- font-size: .9em;
- border-collapse: collapse;
- margin: 0 0 .4em
-}
-
-.ui-datepicker th {
- padding: .7em .3em;
- text-align: center;
- font-weight: bold;
- border: 0
-}
-
-.ui-datepicker td {
- border: 0;
- padding: 1px
-}
-
-.ui-datepicker td span, .ui-datepicker td a {
- display: block;
- padding: .2em;
- text-align: right;
- text-decoration: none
-}
-
-.ui-datepicker .ui-datepicker-buttonpane {
- background-image: none;
- margin: .7em 0 0 0;
- padding: 0 .2em;
- border-left: 0;
- border-right: 0;
- border-bottom: 0
-}
-
-.ui-datepicker .ui-datepicker-buttonpane button {
- float: right;
- margin: .5em .2em .4em;
- cursor: pointer;
- padding: .2em .6em .3em .6em;
- width: auto;
- overflow: visible
-}
-
-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
- float: left
-}
-
-.ui-datepicker.ui-datepicker-multi {
- width: auto
-}
-
-.ui-datepicker-multi .ui-datepicker-group {
- float: left
-}
-
-.ui-datepicker-multi .ui-datepicker-group table {
- width: 95%;
- margin: 0 auto .4em
-}
-
-.ui-datepicker-multi-2 .ui-datepicker-group {
- width: 50%
-}
-
-.ui-datepicker-multi-3 .ui-datepicker-group {
- width: 33.3%
-}
-
-.ui-datepicker-multi-4 .ui-datepicker-group {
- width: 25%
-}
-
-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
- border-left-width: 0
-}
-
-.ui-datepicker-multi .ui-datepicker-buttonpane {
- clear: left
-}
-
-.ui-datepicker-row-break {
- clear: both;
- width: 100%;
- font-size: 0
-}
-
-.ui-datepicker-rtl {
- direction: rtl
-}
-
-.ui-datepicker-rtl .ui-datepicker-prev {
- right: 2px;
- left: auto
-}
-
-.ui-datepicker-rtl .ui-datepicker-next {
- left: 2px;
- right: auto
-}
-
-.ui-datepicker-rtl .ui-datepicker-prev:hover {
- right: 1px;
- left: auto
-}
-
-.ui-datepicker-rtl .ui-datepicker-next:hover {
- left: 1px;
- right: auto
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane {
- clear: right
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane button {
- float: left
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, .ui-datepicker-rtl .ui-datepicker-group {
- float: right
-}
-
-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header, .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
- border-right-width: 0;
- border-left-width: 1px
-}
-
-.ui-dialog {
- overflow: hidden;
- position: absolute;
- top: 0;
- left: 0;
- padding: .2em;
- outline: 0
-}
-
-.ui-dialog .ui-dialog-titlebar {
- padding: .4em 1em;
- position: relative
-}
-
-.ui-dialog .ui-dialog-title {
- float: left;
- margin: .1em 0;
- white-space: nowrap;
- width: 90%;
- overflow: hidden;
- text-overflow: ellipsis
-}
-
-.ui-dialog .ui-dialog-titlebar-close {
- position: absolute;
- right: .3em;
- top: 50%;
- width: 20px;
- margin: -10px 0 0 0;
- padding: 1px;
- height: 20px
-}
-
-.ui-dialog .ui-dialog-content {
- position: relative;
- border: 0;
- padding: .5em 1em;
- background: none;
- overflow: auto
-}
-
-.ui-dialog .ui-dialog-buttonpane {
- text-align: left;
- border-width: 1px 0 0 0;
- background-image: none;
- margin-top: .5em;
- padding: .3em 1em .5em .4em
-}
-
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
- float: right
-}
-
-.ui-dialog .ui-dialog-buttonpane button {
- margin: .5em .4em .5em 0;
- cursor: pointer
-}
-
-.ui-dialog .ui-resizable-se {
- width: 12px;
- height: 12px;
- right: -5px;
- bottom: -5px;
- background-position: 16px 16px
-}
-
-.ui-draggable .ui-dialog-titlebar {
- cursor: move
-}
-
-.ui-menu {
- list-style: none;
- padding: 0;
- margin: 0;
- display: block;
- outline: none
-}
-
-.ui-menu .ui-menu {
- position: absolute
-}
-
-.ui-menu .ui-menu-item {
- position: relative;
- margin: 0;
- padding: 3px 1em 3px .4em;
- cursor: pointer;
- min-height: 0;
- list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")
-}
-
-.ui-menu .ui-menu-divider {
- margin: 5px 0;
- height: 0;
- font-size: 0;
- line-height: 0;
- border-width: 1px 0 0 0
-}
-
-.ui-menu .ui-state-focus, .ui-menu .ui-state-active {
- margin: -1px
-}
-
-.ui-menu-icons {
- position: relative
-}
-
-.ui-menu-icons .ui-menu-item {
- padding-left: 2em
-}
-
-.ui-menu .ui-icon {
- position: absolute;
- top: 0;
- bottom: 0;
- left: .2em;
- margin: auto 0
-}
-
-.ui-menu .ui-menu-icon {
- left: auto;
- right: 0
-}
-
-.ui-progressbar {
- height: 2em;
- text-align: left;
- overflow: hidden
-}
-
-.ui-progressbar .ui-progressbar-value {
- margin: -1px;
- height: 100%
-}
-
-.ui-progressbar .ui-progressbar-overlay {
- background: url("data:image/gif;base64,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");
- height: 100%;
- filter: alpha(opacity=25);
- opacity: 0.25
-}
-
-.ui-progressbar-indeterminate .ui-progressbar-value {
- background-image: none
-}
-
-.ui-selectmenu-menu {
- padding: 0;
- margin: 0;
- position: absolute;
- top: 0;
- left: 0;
- display: none
-}
-
-.ui-selectmenu-menu .ui-menu {
- overflow: auto;
- overflow-x: hidden;
- padding-bottom: 1px
-}
-
-.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
- font-size: 1em;
- font-weight: bold;
- line-height: 1.5;
- padding: 2px 0.4em;
- margin: 0.5em 0 0 0;
- height: auto;
- border: 0
-}
-
-.ui-selectmenu-open {
- display: block
-}
-
-.ui-selectmenu-button {
- display: inline-block;
- overflow: hidden;
- position: relative;
- text-decoration: none;
- cursor: pointer
-}
-
-.ui-selectmenu-button span.ui-icon {
- right: 0.5em;
- left: auto;
- margin-top: -8px;
- position: absolute;
- top: 50%
-}
-
-.ui-selectmenu-button span.ui-selectmenu-text {
- text-align: left;
- padding: 0.4em 2.1em 0.4em 1em;
- display: block;
- line-height: 1.4;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap
-}
-
-.ui-slider {
- position: relative;
- text-align: left
-}
-
-.ui-slider .ui-slider-handle {
- position: absolute;
- z-index: 2;
- width: 1.2em;
- height: 1.2em;
- cursor: default;
- -ms-touch-action: none;
- touch-action: none
-}
-
-.ui-slider .ui-slider-range {
- position: absolute;
- z-index: 1;
- font-size: .7em;
- display: block;
- border: 0;
- background-position: 0 0
-}
-
-.ui-slider.ui-state-disabled .ui-slider-handle, .ui-slider.ui-state-disabled .ui-slider-range {
- filter: inherit
-}
-
-.ui-slider-horizontal {
- height: .8em
-}
-
-.ui-slider-horizontal .ui-slider-handle {
- top: -.3em;
- margin-left: -.6em
-}
-
-.ui-slider-horizontal .ui-slider-range {
- top: 0;
- height: 100%
-}
-
-.ui-slider-horizontal .ui-slider-range-min {
- left: 0
-}
-
-.ui-slider-horizontal .ui-slider-range-max {
- right: 0
-}
-
-.ui-slider-vertical {
- width: .8em;
- height: 100px
-}
-
-.ui-slider-vertical .ui-slider-handle {
- left: -.3em;
- margin-left: 0;
- margin-bottom: -.6em
-}
-
-.ui-slider-vertical .ui-slider-range {
- left: 0;
- width: 100%
-}
-
-.ui-slider-vertical .ui-slider-range-min {
- bottom: 0
-}
-
-.ui-slider-vertical .ui-slider-range-max {
- top: 0
-}
-
-.ui-spinner {
- position: relative;
- display: inline-block;
- overflow: hidden;
- padding: 0;
- vertical-align: middle
-}
-
-.ui-spinner-input {
- border: none;
- background: none;
- color: inherit;
- padding: 0;
- margin: .2em 0;
- vertical-align: middle;
- margin-left: .4em;
- margin-right: 22px
-}
-
-.ui-spinner-button {
- width: 16px;
- height: 50%;
- font-size: .5em;
- padding: 0;
- margin: 0;
- text-align: center;
- position: absolute;
- cursor: default;
- display: block;
- overflow: hidden;
- right: 0
-}
-
-.ui-spinner a.ui-spinner-button {
- border-top: none;
- border-bottom: none;
- border-right: none
-}
-
-.ui-spinner .ui-icon {
- position: absolute;
- margin-top: -8px;
- top: 50%;
- left: 0
-}
-
-.ui-spinner-up {
- top: 0
-}
-
-.ui-spinner-down {
- bottom: 0
-}
-
-.ui-spinner .ui-icon-triangle-1-s {
- background-position: -65px -16px
-}
-
-.ui-tabs {
- position: relative;
- padding: .2em
-}
-
-.ui-tabs .ui-tabs-nav {
- margin: 0;
- padding: .2em .2em 0
-}
-
-.ui-tabs .ui-tabs-nav li {
- list-style: none;
- float: left;
- position: relative;
- top: 0;
- margin: 1px .2em 0 0;
- border-bottom-width: 0;
- padding: 0;
- white-space: nowrap
-}
-
-.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
- float: left;
- padding: .5em 1em;
- text-decoration: none
-}
-
-.ui-tabs .ui-tabs-nav li.ui-tabs-active {
- margin-bottom: -1px;
- padding-bottom: 1px
-}
-
-.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor, .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor, .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
- cursor: text
-}
-
-.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
- cursor: pointer
-}
-
-.ui-tabs .ui-tabs-panel {
- display: block;
- border-width: 0;
- padding: 1em 1.4em;
- background: none
-}
-
-.ui-tooltip {
- padding: 8px;
- position: absolute;
- z-index: 9999;
- max-width: 300px;
- -webkit-box-shadow: 0 0 5px #aaa;
- box-shadow: 0 0 5px #aaa
-}
-
-body .ui-tooltip {
- border-width: 2px
-}
-
-.ui-widget {
- font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
- font-size: 1.1em
-}
-
-.ui-widget .ui-widget {
- font-size: 1em
-}
-
-.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
- font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
- font-size: 1em
-}
-
-.ui-widget-content {
- border: 1px solid #ddd;
- background: #eee url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x;
- color: #333
-}
-
-.ui-widget-content a {
- color: #333
-}
-
-.ui-widget-header {
- border: 1px solid #e78f08;
- background: #f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x;
- color: #fff;
- font-weight: bold
-}
-
-.ui-widget-header a {
- color: #fff
-}
-
-.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
- border: 1px solid #ccc;
- background: #f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;
- font-weight: bold;
- color: #1c94c4
-}
-
-.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
- color: #1c94c4;
- text-decoration: none
-}
-
-.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
- border: 1px solid #fbcb09;
- background: #fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x;
- font-weight: bold;
- color: #c77405
-}
-
-.ui-state-hover a, .ui-state-hover a:hover, .ui-state-hover a:link, .ui-state-hover a:visited, .ui-state-focus a, .ui-state-focus a:hover, .ui-state-focus a:link, .ui-state-focus a:visited {
- color: #c77405;
- text-decoration: none
-}
-
-.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
- border: 1px solid #fbd850;
- background: #fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;
- font-weight: bold;
- color: #eb8f00
-}
-
-.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
- color: #eb8f00;
- text-decoration: none
-}
-
-.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
- border: 1px solid #fed22f;
- background: #ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x;
- color: #363636
-}
-
-.ui-state-highlight a, .ui-widget-content .ui-state-highlight a, .ui-widget-header .ui-state-highlight a {
- color: #363636
-}
-
-.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {
- border: 1px solid #cd0a0a;
- background: #b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat;
- color: #fff
-}
-
-.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a {
- color: #fff
-}
-
-.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text {
- color: #fff
-}
-
-.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary {
- font-weight: bold
-}
-
-.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary {
- opacity: .7;
- filter: Alpha(Opacity=70);
- font-weight: normal
-}
-
-.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled {
- opacity: .35;
- filter: Alpha(Opacity=35);
- background-image: none
-}
-
-.ui-state-disabled .ui-icon {
- filter: Alpha(Opacity=35)
-}
-
-.ui-icon {
- width: 16px;
- height: 16px
-}
-
-.ui-icon, .ui-widget-content .ui-icon {
- background-image: url("images/ui-icons_222222_256x240.png")
-}
-
-.ui-widget-header .ui-icon {
- background-image: url("images/ui-icons_ffffff_256x240.png")
-}
-
-.ui-state-default .ui-icon {
- background-image: url("images/ui-icons_ef8c08_256x240.png")
-}
-
-.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
- background-image: url("images/ui-icons_ef8c08_256x240.png")
-}
-
-.ui-state-active .ui-icon {
- background-image: url("images/ui-icons_ef8c08_256x240.png")
-}
-
-.ui-state-highlight .ui-icon {
- background-image: url("images/ui-icons_228ef1_256x240.png")
-}
-
-.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {
- background-image: url("images/ui-icons_ffd27a_256x240.png")
-}
-
-.ui-icon-blank {
- background-position: 16px 16px
-}
-
-.ui-icon-carat-1-n {
- background-position: 0 0
-}
-
-.ui-icon-carat-1-ne {
- background-position: -16px 0
-}
-
-.ui-icon-carat-1-e {
- background-position: -32px 0
-}
-
-.ui-icon-carat-1-se {
- background-position: -48px 0
-}
-
-.ui-icon-carat-1-s {
- background-position: -64px 0
-}
-
-.ui-icon-carat-1-sw {
- background-position: -80px 0
-}
-
-.ui-icon-carat-1-w {
- background-position: -96px 0
-}
-
-.ui-icon-carat-1-nw {
- background-position: -112px 0
-}
-
-.ui-icon-carat-2-n-s {
- background-position: -128px 0
-}
-
-.ui-icon-carat-2-e-w {
- background-position: -144px 0
-}
-
-.ui-icon-triangle-1-n {
- background-position: 0 -16px
-}
-
-.ui-icon-triangle-1-ne {
- background-position: -16px -16px
-}
-
-.ui-icon-triangle-1-e {
- background-position: -32px -16px
-}
-
-.ui-icon-triangle-1-se {
- background-position: -48px -16px
-}
-
-.ui-icon-triangle-1-s {
- background-position: -64px -16px
-}
-
-.ui-icon-triangle-1-sw {
- background-position: -80px -16px
-}
-
-.ui-icon-triangle-1-w {
- background-position: -96px -16px
-}
-
-.ui-icon-triangle-1-nw {
- background-position: -112px -16px
-}
-
-.ui-icon-triangle-2-n-s {
- background-position: -128px -16px
-}
-
-.ui-icon-triangle-2-e-w {
- background-position: -144px -16px
-}
-
-.ui-icon-arrow-1-n {
- background-position: 0 -32px
-}
-
-.ui-icon-arrow-1-ne {
- background-position: -16px -32px
-}
-
-.ui-icon-arrow-1-e {
- background-position: -32px -32px
-}
-
-.ui-icon-arrow-1-se {
- background-position: -48px -32px
-}
-
-.ui-icon-arrow-1-s {
- background-position: -64px -32px
-}
-
-.ui-icon-arrow-1-sw {
- background-position: -80px -32px
-}
-
-.ui-icon-arrow-1-w {
- background-position: -96px -32px
-}
-
-.ui-icon-arrow-1-nw {
- background-position: -112px -32px
-}
-
-.ui-icon-arrow-2-n-s {
- background-position: -128px -32px
-}
-
-.ui-icon-arrow-2-ne-sw {
- background-position: -144px -32px
-}
-
-.ui-icon-arrow-2-e-w {
- background-position: -160px -32px
-}
-
-.ui-icon-arrow-2-se-nw {
- background-position: -176px -32px
-}
-
-.ui-icon-arrowstop-1-n {
- background-position: -192px -32px
-}
-
-.ui-icon-arrowstop-1-e {
- background-position: -208px -32px
-}
-
-.ui-icon-arrowstop-1-s {
- background-position: -224px -32px
-}
-
-.ui-icon-arrowstop-1-w {
- background-position: -240px -32px
-}
-
-.ui-icon-arrowthick-1-n {
- background-position: 0 -48px
-}
-
-.ui-icon-arrowthick-1-ne {
- background-position: -16px -48px
-}
-
-.ui-icon-arrowthick-1-e {
- background-position: -32px -48px
-}
-
-.ui-icon-arrowthick-1-se {
- background-position: -48px -48px
-}
-
-.ui-icon-arrowthick-1-s {
- background-position: -64px -48px
-}
-
-.ui-icon-arrowthick-1-sw {
- background-position: -80px -48px
-}
-
-.ui-icon-arrowthick-1-w {
- background-position: -96px -48px
-}
-
-.ui-icon-arrowthick-1-nw {
- background-position: -112px -48px
-}
-
-.ui-icon-arrowthick-2-n-s {
- background-position: -128px -48px
-}
-
-.ui-icon-arrowthick-2-ne-sw {
- background-position: -144px -48px
-}
-
-.ui-icon-arrowthick-2-e-w {
- background-position: -160px -48px
-}
-
-.ui-icon-arrowthick-2-se-nw {
- background-position: -176px -48px
-}
-
-.ui-icon-arrowthickstop-1-n {
- background-position: -192px -48px
-}
-
-.ui-icon-arrowthickstop-1-e {
- background-position: -208px -48px
-}
-
-.ui-icon-arrowthickstop-1-s {
- background-position: -224px -48px
-}
-
-.ui-icon-arrowthickstop-1-w {
- background-position: -240px -48px
-}
-
-.ui-icon-arrowreturnthick-1-w {
- background-position: 0 -64px
-}
-
-.ui-icon-arrowreturnthick-1-n {
- background-position: -16px -64px
-}
-
-.ui-icon-arrowreturnthick-1-e {
- background-position: -32px -64px
-}
-
-.ui-icon-arrowreturnthick-1-s {
- background-position: -48px -64px
-}
-
-.ui-icon-arrowreturn-1-w {
- background-position: -64px -64px
-}
-
-.ui-icon-arrowreturn-1-n {
- background-position: -80px -64px
-}
-
-.ui-icon-arrowreturn-1-e {
- background-position: -96px -64px
-}
-
-.ui-icon-arrowreturn-1-s {
- background-position: -112px -64px
-}
-
-.ui-icon-arrowrefresh-1-w {
- background-position: -128px -64px
-}
-
-.ui-icon-arrowrefresh-1-n {
- background-position: -144px -64px
-}
-
-.ui-icon-arrowrefresh-1-e {
- background-position: -160px -64px
-}
-
-.ui-icon-arrowrefresh-1-s {
- background-position: -176px -64px
-}
-
-.ui-icon-arrow-4 {
- background-position: 0 -80px
-}
-
-.ui-icon-arrow-4-diag {
- background-position: -16px -80px
-}
-
-.ui-icon-extlink {
- background-position: -32px -80px
-}
-
-.ui-icon-newwin {
- background-position: -48px -80px
-}
-
-.ui-icon-refresh {
- background-position: -64px -80px
-}
-
-.ui-icon-shuffle {
- background-position: -80px -80px
-}
-
-.ui-icon-transfer-e-w {
- background-position: -96px -80px
-}
-
-.ui-icon-transferthick-e-w {
- background-position: -112px -80px
-}
-
-.ui-icon-folder-collapsed {
- background-position: 0 -96px
-}
-
-.ui-icon-folder-open {
- background-position: -16px -96px
-}
-
-.ui-icon-document {
- background-position: -32px -96px
-}
-
-.ui-icon-document-b {
- background-position: -48px -96px
-}
-
-.ui-icon-note {
- background-position: -64px -96px
-}
-
-.ui-icon-mail-closed {
- background-position: -80px -96px
-}
-
-.ui-icon-mail-open {
- background-position: -96px -96px
-}
-
-.ui-icon-suitcase {
- background-position: -112px -96px
-}
-
-.ui-icon-comment {
- background-position: -128px -96px
-}
-
-.ui-icon-person {
- background-position: -144px -96px
-}
-
-.ui-icon-print {
- background-position: -160px -96px
-}
-
-.ui-icon-trash {
- background-position: -176px -96px
-}
-
-.ui-icon-locked {
- background-position: -192px -96px
-}
-
-.ui-icon-unlocked {
- background-position: -208px -96px
-}
-
-.ui-icon-bookmark {
- background-position: -224px -96px
-}
-
-.ui-icon-tag {
- background-position: -240px -96px
-}
-
-.ui-icon-home {
- background-position: 0 -112px
-}
-
-.ui-icon-flag {
- background-position: -16px -112px
-}
-
-.ui-icon-calendar {
- background-position: -32px -112px
-}
-
-.ui-icon-cart {
- background-position: -48px -112px
-}
-
-.ui-icon-pencil {
- background-position: -64px -112px
-}
-
-.ui-icon-clock {
- background-position: -80px -112px
-}
-
-.ui-icon-disk {
- background-position: -96px -112px
-}
-
-.ui-icon-calculator {
- background-position: -112px -112px
-}
-
-.ui-icon-zoomin {
- background-position: -128px -112px
-}
-
-.ui-icon-zoomout {
- background-position: -144px -112px
-}
-
-.ui-icon-search {
- background-position: -160px -112px
-}
-
-.ui-icon-wrench {
- background-position: -176px -112px
-}
-
-.ui-icon-gear {
- background-position: -192px -112px
-}
-
-.ui-icon-heart {
- background-position: -208px -112px
-}
-
-.ui-icon-star {
- background-position: -224px -112px
-}
-
-.ui-icon-link {
- background-position: -240px -112px
-}
-
-.ui-icon-cancel {
- background-position: 0 -128px
-}
-
-.ui-icon-plus {
- background-position: -16px -128px
-}
-
-.ui-icon-plusthick {
- background-position: -32px -128px
-}
-
-.ui-icon-minus {
- background-position: -48px -128px
-}
-
-.ui-icon-minusthick {
- background-position: -64px -128px
-}
-
-.ui-icon-close {
- background-position: -80px -128px
-}
-
-.ui-icon-closethick {
- background-position: -96px -128px
-}
-
-.ui-icon-key {
- background-position: -112px -128px
-}
-
-.ui-icon-lightbulb {
- background-position: -128px -128px
-}
-
-.ui-icon-scissors {
- background-position: -144px -128px
-}
-
-.ui-icon-clipboard {
- background-position: -160px -128px
-}
-
-.ui-icon-copy {
- background-position: -176px -128px
-}
-
-.ui-icon-contact {
- background-position: -192px -128px
-}
-
-.ui-icon-image {
- background-position: -208px -128px
-}
-
-.ui-icon-video {
- background-position: -224px -128px
-}
-
-.ui-icon-script {
- background-position: -240px -128px
-}
-
-.ui-icon-alert {
- background-position: 0 -144px
-}
-
-.ui-icon-info {
- background-position: -16px -144px
-}
-
-.ui-icon-notice {
- background-position: -32px -144px
-}
-
-.ui-icon-help {
- background-position: -48px -144px
-}
-
-.ui-icon-check {
- background-position: -64px -144px
-}
-
-.ui-icon-bullet {
- background-position: -80px -144px
-}
-
-.ui-icon-radio-on {
- background-position: -96px -144px
-}
-
-.ui-icon-radio-off {
- background-position: -112px -144px
-}
-
-.ui-icon-pin-w {
- background-position: -128px -144px
-}
-
-.ui-icon-pin-s {
- background-position: -144px -144px
-}
-
-.ui-icon-play {
- background-position: 0 -160px
-}
-
-.ui-icon-pause {
- background-position: -16px -160px
-}
-
-.ui-icon-seek-next {
- background-position: -32px -160px
-}
-
-.ui-icon-seek-prev {
- background-position: -48px -160px
-}
-
-.ui-icon-seek-end {
- background-position: -64px -160px
-}
-
-.ui-icon-seek-start {
- background-position: -80px -160px
-}
-
-.ui-icon-seek-first {
- background-position: -80px -160px
-}
-
-.ui-icon-stop {
- background-position: -96px -160px
-}
-
-.ui-icon-eject {
- background-position: -112px -160px
-}
-
-.ui-icon-volume-off {
- background-position: -128px -160px
-}
-
-.ui-icon-volume-on {
- background-position: -144px -160px
-}
-
-.ui-icon-power {
- background-position: 0 -176px
-}
-
-.ui-icon-signal-diag {
- background-position: -16px -176px
-}
-
-.ui-icon-signal {
- background-position: -32px -176px
-}
-
-.ui-icon-battery-0 {
- background-position: -48px -176px
-}
-
-.ui-icon-battery-1 {
- background-position: -64px -176px
-}
-
-.ui-icon-battery-2 {
- background-position: -80px -176px
-}
-
-.ui-icon-battery-3 {
- background-position: -96px -176px
-}
-
-.ui-icon-circle-plus {
- background-position: 0 -192px
-}
-
-.ui-icon-circle-minus {
- background-position: -16px -192px
-}
-
-.ui-icon-circle-close {
- background-position: -32px -192px
-}
-
-.ui-icon-circle-triangle-e {
- background-position: -48px -192px
-}
-
-.ui-icon-circle-triangle-s {
- background-position: -64px -192px
-}
-
-.ui-icon-circle-triangle-w {
- background-position: -80px -192px
-}
-
-.ui-icon-circle-triangle-n {
- background-position: -96px -192px
-}
-
-.ui-icon-circle-arrow-e {
- background-position: -112px -192px
-}
-
-.ui-icon-circle-arrow-s {
- background-position: -128px -192px
-}
-
-.ui-icon-circle-arrow-w {
- background-position: -144px -192px
-}
-
-.ui-icon-circle-arrow-n {
- background-position: -160px -192px
-}
-
-.ui-icon-circle-zoomin {
- background-position: -176px -192px
-}
-
-.ui-icon-circle-zoomout {
- background-position: -192px -192px
-}
-
-.ui-icon-circle-check {
- background-position: -208px -192px
-}
-
-.ui-icon-circlesmall-plus {
- background-position: 0 -208px
-}
-
-.ui-icon-circlesmall-minus {
- background-position: -16px -208px
-}
-
-.ui-icon-circlesmall-close {
- background-position: -32px -208px
-}
-
-.ui-icon-squaresmall-plus {
- background-position: -48px -208px
-}
-
-.ui-icon-squaresmall-minus {
- background-position: -64px -208px
-}
-
-.ui-icon-squaresmall-close {
- background-position: -80px -208px
-}
-
-.ui-icon-grip-dotted-vertical {
- background-position: 0 -224px
-}
-
-.ui-icon-grip-dotted-horizontal {
- background-position: -16px -224px
-}
-
-.ui-icon-grip-solid-vertical {
- background-position: -32px -224px
-}
-
-.ui-icon-grip-solid-horizontal {
- background-position: -48px -224px
-}
-
-.ui-icon-gripsmall-diagonal-se {
- background-position: -64px -224px
-}
-
-.ui-icon-grip-diagonal-se {
- background-position: -80px -224px
-}
-
-.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
- border-top-left-radius: 4px
-}
-
-.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
- border-top-right-radius: 4px
-}
-
-.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
- border-bottom-left-radius: 4px
-}
-
-.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
- border-bottom-right-radius: 4px
-}
-
-.ui-widget-overlay {
- background: #666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;
- opacity: .5;
- filter: Alpha(Opacity=50)
-}
-
-.ui-widget-shadow {
- margin: -5px 0 0 -5px;
- padding: 5px;
- background: #000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;
- opacity: .2;
- filter: Alpha(Opacity=20);
- border-radius: 5px
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.min.js
deleted file mode 100644
index 242fcb5b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.min.js
+++ /dev/null
@@ -1,5102 +0,0 @@
-/*! jQuery UI - v1.11.4 - 2015-04-12
- * http://jqueryui.com
- * Includes: core.js, widget.js, mouse.js, position.js, draggable.js, droppable.js, resizable.js, selectable.js, sortable.js, accordion.js, autocomplete.js, button.js, datepicker.js, dialog.js, menu.js, progressbar.js, selectmenu.js, slider.js, spinner.js, tabs.js, tooltip.js, effect.js, effect-blind.js, effect-bounce.js, effect-clip.js, effect-drop.js, effect-explode.js, effect-fade.js, effect-fold.js, effect-highlight.js, effect-puff.js, effect-pulsate.js, effect-scale.js, effect-shake.js, effect-size.js, effect-slide.js, effect-transfer.js
- * Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
-
-(function (e) {
- "function" == typeof define && define.amd ? define(["jquery"], e) : e(jQuery)
-})(function (e) {
- function t(t, s) {
- var n, a, o, r = t.nodeName.toLowerCase();
- return "area" === r ? (n = t.parentNode, a = n.name, t.href && a && "map" === n.nodeName.toLowerCase() ? (o = e("img[usemap='#" + a + "']")[0], !!o && i(o)) : !1) : (/^(input|select|textarea|button|object)$/.test(r) ? !t.disabled : "a" === r ? t.href || s : s) && i(t)
- }
-
- function i(t) {
- return e.expr.filters.visible(t) && !e(t).parents().addBack().filter(function () {
- return "hidden" === e.css(this, "visibility")
- }).length
- }
-
- function s(e) {
- for (var t, i; e.length && e[0] !== document;) {
- if (t = e.css("position"), ("absolute" === t || "relative" === t || "fixed" === t) && (i = parseInt(e.css("zIndex"), 10), !isNaN(i) && 0 !== i))return i;
- e = e.parent()
- }
- return 0
- }
-
- function n() {
- this._curInst = null, this._keyEvent = !1, this._disabledInputs = [], this._datepickerShowing = !1, this._inDialog = !1, this._mainDivId = "ui-datepicker-div", this._inlineClass = "ui-datepicker-inline", this._appendClass = "ui-datepicker-append", this._triggerClass = "ui-datepicker-trigger", this._dialogClass = "ui-datepicker-dialog", this._disableClass = "ui-datepicker-disabled", this._unselectableClass = "ui-datepicker-unselectable", this._currentClass = "ui-datepicker-current-day", this._dayOverClass = "ui-datepicker-days-cell-over", this.regional = [], this.regional[""] = {
- closeText: "Done",
- prevText: "Prev",
- nextText: "Next",
- currentText: "Today",
- monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
- monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
- dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
- dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
- dayNamesMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
- weekHeader: "Wk",
- dateFormat: "mm/dd/yy",
- firstDay: 0,
- isRTL: !1,
- showMonthAfterYear: !1,
- yearSuffix: ""
- }, this._defaults = {
- showOn: "focus",
- showAnim: "fadeIn",
- showOptions: {},
- defaultDate: null,
- appendText: "",
- buttonText: "...",
- buttonImage: "",
- buttonImageOnly: !1,
- hideIfNoPrevNext: !1,
- navigationAsDateFormat: !1,
- gotoCurrent: !1,
- changeMonth: !1,
- changeYear: !1,
- yearRange: "c-10:c+10",
- showOtherMonths: !1,
- selectOtherMonths: !1,
- showWeek: !1,
- calculateWeek: this.iso8601Week,
- shortYearCutoff: "+10",
- minDate: null,
- maxDate: null,
- duration: "fast",
- beforeShowDay: null,
- beforeShow: null,
- onSelect: null,
- onChangeMonthYear: null,
- onClose: null,
- numberOfMonths: 1,
- showCurrentAtPos: 0,
- stepMonths: 1,
- stepBigMonths: 12,
- altField: "",
- altFormat: "",
- constrainInput: !0,
- showButtonPanel: !1,
- autoSize: !1,
- disabled: !1
- }, e.extend(this._defaults, this.regional[""]), this.regional.en = e.extend(!0, {}, this.regional[""]), this.regional["en-US"] = e.extend(!0, {}, this.regional.en), this.dpDiv = a(e("<div id='" + this._mainDivId + "' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))
- }
-
- function a(t) {
- var i = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";
- return t.delegate(i, "mouseout", function () {
- e(this).removeClass("ui-state-hover"), -1 !== this.className.indexOf("ui-datepicker-prev") && e(this).removeClass("ui-datepicker-prev-hover"), -1 !== this.className.indexOf("ui-datepicker-next") && e(this).removeClass("ui-datepicker-next-hover")
- }).delegate(i, "mouseover", o)
- }
-
- function o() {
- e.datepicker._isDisabledDatepicker(v.inline ? v.dpDiv.parent()[0] : v.input[0]) || (e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"), e(this).addClass("ui-state-hover"), -1 !== this.className.indexOf("ui-datepicker-prev") && e(this).addClass("ui-datepicker-prev-hover"), -1 !== this.className.indexOf("ui-datepicker-next") && e(this).addClass("ui-datepicker-next-hover"))
- }
-
- function r(t, i) {
- e.extend(t, i);
- for (var s in i)null == i[s] && (t[s] = i[s]);
- return t
- }
-
- function h(e) {
- return function () {
- var t = this.element.val();
- e.apply(this, arguments), this._refresh(), t !== this.element.val() && this._trigger("change")
- }
- }
-
- e.ui = e.ui || {}, e.extend(e.ui, {
- version: "1.11.4",
- keyCode: {
- BACKSPACE: 8,
- COMMA: 188,
- DELETE: 46,
- DOWN: 40,
- END: 35,
- ENTER: 13,
- ESCAPE: 27,
- HOME: 36,
- LEFT: 37,
- PAGE_DOWN: 34,
- PAGE_UP: 33,
- PERIOD: 190,
- RIGHT: 39,
- SPACE: 32,
- TAB: 9,
- UP: 38
- }
- }), e.fn.extend({
- scrollParent: function (t) {
- var i = this.css("position"), s = "absolute" === i, n = t ? /(auto|scroll|hidden)/ : /(auto|scroll)/, a = this.parents().filter(function () {
- var t = e(this);
- return s && "static" === t.css("position") ? !1 : n.test(t.css("overflow") + t.css("overflow-y") + t.css("overflow-x"))
- }).eq(0);
- return "fixed" !== i && a.length ? a : e(this[0].ownerDocument || document)
- }, uniqueId: function () {
- var e = 0;
- return function () {
- return this.each(function () {
- this.id || (this.id = "ui-id-" + ++e)
- })
- }
- }(), removeUniqueId: function () {
- return this.each(function () {
- /^ui-id-\d+$/.test(this.id) && e(this).removeAttr("id")
- })
- }
- }), e.extend(e.expr[":"], {
- data: e.expr.createPseudo ? e.expr.createPseudo(function (t) {
- return function (i) {
- return !!e.data(i, t)
- }
- }) : function (t, i, s) {
- return !!e.data(t, s[3])
- }, focusable: function (i) {
- return t(i, !isNaN(e.attr(i, "tabindex")))
- }, tabbable: function (i) {
- var s = e.attr(i, "tabindex"), n = isNaN(s);
- return (n || s >= 0) && t(i, !n)
- }
- }), e("<a>").outerWidth(1).jquery || e.each(["Width", "Height"], function (t, i) {
- function s(t, i, s, a) {
- return e.each(n, function () {
- i -= parseFloat(e.css(t, "padding" + this)) || 0, s && (i -= parseFloat(e.css(t, "border" + this + "Width")) || 0), a && (i -= parseFloat(e.css(t, "margin" + this)) || 0)
- }), i
- }
-
- var n = "Width" === i ? ["Left", "Right"] : ["Top", "Bottom"], a = i.toLowerCase(), o = {
- innerWidth: e.fn.innerWidth,
- innerHeight: e.fn.innerHeight,
- outerWidth: e.fn.outerWidth,
- outerHeight: e.fn.outerHeight
- };
- e.fn["inner" + i] = function (t) {
- return void 0 === t ? o["inner" + i].call(this) : this.each(function () {
- e(this).css(a, s(this, t) + "px")
- })
- }, e.fn["outer" + i] = function (t, n) {
- return "number" != typeof t ? o["outer" + i].call(this, t) : this.each(function () {
- e(this).css(a, s(this, t, !0, n) + "px")
- })
- }
- }), e.fn.addBack || (e.fn.addBack = function (e) {
- return this.add(null == e ? this.prevObject : this.prevObject.filter(e))
- }), e("<a>").data("a-b", "a").removeData("a-b").data("a-b") && (e.fn.removeData = function (t) {
- return function (i) {
- return arguments.length ? t.call(this, e.camelCase(i)) : t.call(this)
- }
- }(e.fn.removeData)), e.ui.ie = !!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()), e.fn.extend({
- focus: function (t) {
- return function (i, s) {
- return "number" == typeof i ? this.each(function () {
- var t = this;
- setTimeout(function () {
- e(t).focus(), s && s.call(t)
- }, i)
- }) : t.apply(this, arguments)
- }
- }(e.fn.focus), disableSelection: function () {
- var e = "onselectstart"in document.createElement("div") ? "selectstart" : "mousedown";
- return function () {
- return this.bind(e + ".ui-disableSelection", function (e) {
- e.preventDefault()
- })
- }
- }(), enableSelection: function () {
- return this.unbind(".ui-disableSelection")
- }, zIndex: function (t) {
- if (void 0 !== t)return this.css("zIndex", t);
- if (this.length)for (var i, s, n = e(this[0]); n.length && n[0] !== document;) {
- if (i = n.css("position"), ("absolute" === i || "relative" === i || "fixed" === i) && (s = parseInt(n.css("zIndex"), 10), !isNaN(s) && 0 !== s))return s;
- n = n.parent()
- }
- return 0
- }
- }), e.ui.plugin = {
- add: function (t, i, s) {
- var n, a = e.ui[t].prototype;
- for (n in s)a.plugins[n] = a.plugins[n] || [], a.plugins[n].push([i, s[n]])
- }, call: function (e, t, i, s) {
- var n, a = e.plugins[t];
- if (a && (s || e.element[0].parentNode && 11 !== e.element[0].parentNode.nodeType))for (n = 0; a.length > n; n++)e.options[a[n][0]] && a[n][1].apply(e.element, i)
- }
- };
- var l = 0, u = Array.prototype.slice;
- e.cleanData = function (t) {
- return function (i) {
- var s, n, a;
- for (a = 0; null != (n = i[a]); a++)try {
- s = e._data(n, "events"), s && s.remove && e(n).triggerHandler("remove")
- } catch (o) {
- }
- t(i)
- }
- }(e.cleanData), e.widget = function (t, i, s) {
- var n, a, o, r, h = {}, l = t.split(".")[0];
- return t = t.split(".")[1], n = l + "-" + t, s || (s = i, i = e.Widget), e.expr[":"][n.toLowerCase()] = function (t) {
- return !!e.data(t, n)
- }, e[l] = e[l] || {}, a = e[l][t], o = e[l][t] = function (e, t) {
- return this._createWidget ? (arguments.length && this._createWidget(e, t), void 0) : new o(e, t)
- }, e.extend(o, a, {
- version: s.version,
- _proto: e.extend({}, s),
- _childConstructors: []
- }), r = new i, r.options = e.widget.extend({}, r.options), e.each(s, function (t, s) {
- return e.isFunction(s) ? (h[t] = function () {
- var e = function () {
- return i.prototype[t].apply(this, arguments)
- }, n = function (e) {
- return i.prototype[t].apply(this, e)
- };
- return function () {
- var t, i = this._super, a = this._superApply;
- return this._super = e, this._superApply = n, t = s.apply(this, arguments), this._super = i, this._superApply = a, t
- }
- }(), void 0) : (h[t] = s, void 0)
- }), o.prototype = e.widget.extend(r, {widgetEventPrefix: a ? r.widgetEventPrefix || t : t}, h, {
- constructor: o,
- namespace: l,
- widgetName: t,
- widgetFullName: n
- }), a ? (e.each(a._childConstructors, function (t, i) {
- var s = i.prototype;
- e.widget(s.namespace + "." + s.widgetName, o, i._proto)
- }), delete a._childConstructors) : i._childConstructors.push(o), e.widget.bridge(t, o), o
- }, e.widget.extend = function (t) {
- for (var i, s, n = u.call(arguments, 1), a = 0, o = n.length; o > a; a++)for (i in n[a])s = n[a][i], n[a].hasOwnProperty(i) && void 0 !== s && (t[i] = e.isPlainObject(s) ? e.isPlainObject(t[i]) ? e.widget.extend({}, t[i], s) : e.widget.extend({}, s) : s);
- return t
- }, e.widget.bridge = function (t, i) {
- var s = i.prototype.widgetFullName || t;
- e.fn[t] = function (n) {
- var a = "string" == typeof n, o = u.call(arguments, 1), r = this;
- return a ? this.each(function () {
- var i, a = e.data(this, s);
- return "instance" === n ? (r = a, !1) : a ? e.isFunction(a[n]) && "_" !== n.charAt(0) ? (i = a[n].apply(a, o), i !== a && void 0 !== i ? (r = i && i.jquery ? r.pushStack(i.get()) : i, !1) : void 0) : e.error("no such method '" + n + "' for " + t + " widget instance") : e.error("cannot call methods on " + t + " prior to initialization; " + "attempted to call method '" + n + "'")
- }) : (o.length && (n = e.widget.extend.apply(null, [n].concat(o))), this.each(function () {
- var t = e.data(this, s);
- t ? (t.option(n || {}), t._init && t._init()) : e.data(this, s, new i(n, this))
- })), r
- }
- }, e.Widget = function () {
- }, e.Widget._childConstructors = [], e.Widget.prototype = {
- widgetName: "widget",
- widgetEventPrefix: "",
- defaultElement: "<div>",
- options: {disabled: !1, create: null},
- _createWidget: function (t, i) {
- i = e(i || this.defaultElement || this)[0], this.element = e(i), this.uuid = l++, this.eventNamespace = "." + this.widgetName + this.uuid, this.bindings = e(), this.hoverable = e(), this.focusable = e(), i !== this && (e.data(i, this.widgetFullName, this), this._on(!0, this.element, {
- remove: function (e) {
- e.target === i && this.destroy()
- }
- }), this.document = e(i.style ? i.ownerDocument : i.document || i), this.window = e(this.document[0].defaultView || this.document[0].parentWindow)), this.options = e.widget.extend({}, this.options, this._getCreateOptions(), t), this._create(), this._trigger("create", null, this._getCreateEventData()), this._init()
- },
- _getCreateOptions: e.noop,
- _getCreateEventData: e.noop,
- _create: e.noop,
- _init: e.noop,
- destroy: function () {
- this._destroy(), this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)), this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName + "-disabled " + "ui-state-disabled"), this.bindings.unbind(this.eventNamespace), this.hoverable.removeClass("ui-state-hover"), this.focusable.removeClass("ui-state-focus")
- },
- _destroy: e.noop,
- widget: function () {
- return this.element
- },
- option: function (t, i) {
- var s, n, a, o = t;
- if (0 === arguments.length)return e.widget.extend({}, this.options);
- if ("string" == typeof t)if (o = {}, s = t.split("."), t = s.shift(), s.length) {
- for (n = o[t] = e.widget.extend({}, this.options[t]), a = 0; s.length - 1 > a; a++)n[s[a]] = n[s[a]] || {}, n = n[s[a]];
- if (t = s.pop(), 1 === arguments.length)return void 0 === n[t] ? null : n[t];
- n[t] = i
- } else {
- if (1 === arguments.length)return void 0 === this.options[t] ? null : this.options[t];
- o[t] = i
- }
- return this._setOptions(o), this
- },
- _setOptions: function (e) {
- var t;
- for (t in e)this._setOption(t, e[t]);
- return this
- },
- _setOption: function (e, t) {
- return this.options[e] = t, "disabled" === e && (this.widget().toggleClass(this.widgetFullName + "-disabled", !!t), t && (this.hoverable.removeClass("ui-state-hover"), this.focusable.removeClass("ui-state-focus"))), this
- },
- enable: function () {
- return this._setOptions({disabled: !1})
- },
- disable: function () {
- return this._setOptions({disabled: !0})
- },
- _on: function (t, i, s) {
- var n, a = this;
- "boolean" != typeof t && (s = i, i = t, t = !1), s ? (i = n = e(i), this.bindings = this.bindings.add(i)) : (s = i, i = this.element, n = this.widget()), e.each(s, function (s, o) {
- function r() {
- return t || a.options.disabled !== !0 && !e(this).hasClass("ui-state-disabled") ? ("string" == typeof o ? a[o] : o).apply(a, arguments) : void 0
- }
-
- "string" != typeof o && (r.guid = o.guid = o.guid || r.guid || e.guid++);
- var h = s.match(/^([\w:-]*)\s*(.*)$/), l = h[1] + a.eventNamespace, u = h[2];
- u ? n.delegate(u, l, r) : i.bind(l, r)
- })
- },
- _off: function (t, i) {
- i = (i || "").split(" ").join(this.eventNamespace + " ") + this.eventNamespace, t.unbind(i).undelegate(i), this.bindings = e(this.bindings.not(t).get()), this.focusable = e(this.focusable.not(t).get()), this.hoverable = e(this.hoverable.not(t).get())
- },
- _delay: function (e, t) {
- function i() {
- return ("string" == typeof e ? s[e] : e).apply(s, arguments)
- }
-
- var s = this;
- return setTimeout(i, t || 0)
- },
- _hoverable: function (t) {
- this.hoverable = this.hoverable.add(t), this._on(t, {
- mouseenter: function (t) {
- e(t.currentTarget).addClass("ui-state-hover")
- }, mouseleave: function (t) {
- e(t.currentTarget).removeClass("ui-state-hover")
- }
- })
- },
- _focusable: function (t) {
- this.focusable = this.focusable.add(t), this._on(t, {
- focusin: function (t) {
- e(t.currentTarget).addClass("ui-state-focus")
- }, focusout: function (t) {
- e(t.currentTarget).removeClass("ui-state-focus")
- }
- })
- },
- _trigger: function (t, i, s) {
- var n, a, o = this.options[t];
- if (s = s || {}, i = e.Event(i), i.type = (t === this.widgetEventPrefix ? t : this.widgetEventPrefix + t).toLowerCase(), i.target = this.element[0], a = i.originalEvent)for (n in a)n in i || (i[n] = a[n]);
- return this.element.trigger(i, s), !(e.isFunction(o) && o.apply(this.element[0], [i].concat(s)) === !1 || i.isDefaultPrevented())
- }
- }, e.each({show: "fadeIn", hide: "fadeOut"}, function (t, i) {
- e.Widget.prototype["_" + t] = function (s, n, a) {
- "string" == typeof n && (n = {effect: n});
- var o, r = n ? n === !0 || "number" == typeof n ? i : n.effect || i : t;
- n = n || {}, "number" == typeof n && (n = {duration: n}), o = !e.isEmptyObject(n), n.complete = a, n.delay && s.delay(n.delay), o && e.effects && e.effects.effect[r] ? s[t](n) : r !== t && s[r] ? s[r](n.duration, n.easing, a) : s.queue(function (i) {
- e(this)[t](), a && a.call(s[0]), i()
- })
- }
- }), e.widget;
- var d = !1;
- e(document).mouseup(function () {
- d = !1
- }), e.widget("ui.mouse", {
- version: "1.11.4",
- options: {cancel: "input,textarea,button,select,option", distance: 1, delay: 0},
- _mouseInit: function () {
- var t = this;
- this.element.bind("mousedown." + this.widgetName, function (e) {
- return t._mouseDown(e)
- }).bind("click." + this.widgetName, function (i) {
- return !0 === e.data(i.target, t.widgetName + ".preventClickEvent") ? (e.removeData(i.target, t.widgetName + ".preventClickEvent"), i.stopImmediatePropagation(), !1) : void 0
- }), this.started = !1
- },
- _mouseDestroy: function () {
- this.element.unbind("." + this.widgetName), this._mouseMoveDelegate && this.document.unbind("mousemove." + this.widgetName, this._mouseMoveDelegate).unbind("mouseup." + this.widgetName, this._mouseUpDelegate)
- },
- _mouseDown: function (t) {
- if (!d) {
- this._mouseMoved = !1, this._mouseStarted && this._mouseUp(t), this._mouseDownEvent = t;
- var i = this, s = 1 === t.which, n = "string" == typeof this.options.cancel && t.target.nodeName ? e(t.target).closest(this.options.cancel).length : !1;
- return s && !n && this._mouseCapture(t) ? (this.mouseDelayMet = !this.options.delay, this.mouseDelayMet || (this._mouseDelayTimer = setTimeout(function () {
- i.mouseDelayMet = !0
- }, this.options.delay)), this._mouseDistanceMet(t) && this._mouseDelayMet(t) && (this._mouseStarted = this._mouseStart(t) !== !1, !this._mouseStarted) ? (t.preventDefault(), !0) : (!0 === e.data(t.target, this.widgetName + ".preventClickEvent") && e.removeData(t.target, this.widgetName + ".preventClickEvent"), this._mouseMoveDelegate = function (e) {
- return i._mouseMove(e)
- }, this._mouseUpDelegate = function (e) {
- return i._mouseUp(e)
- }, this.document.bind("mousemove." + this.widgetName, this._mouseMoveDelegate).bind("mouseup." + this.widgetName, this._mouseUpDelegate), t.preventDefault(), d = !0, !0)) : !0
- }
- },
- _mouseMove: function (t) {
- if (this._mouseMoved) {
- if (e.ui.ie && (!document.documentMode || 9 > document.documentMode) && !t.button)return this._mouseUp(t);
- if (!t.which)return this._mouseUp(t)
- }
- return (t.which || t.button) && (this._mouseMoved = !0), this._mouseStarted ? (this._mouseDrag(t), t.preventDefault()) : (this._mouseDistanceMet(t) && this._mouseDelayMet(t) && (this._mouseStarted = this._mouseStart(this._mouseDownEvent, t) !== !1, this._mouseStarted ? this._mouseDrag(t) : this._mouseUp(t)), !this._mouseStarted)
- },
- _mouseUp: function (t) {
- return this.document.unbind("mousemove." + this.widgetName, this._mouseMoveDelegate).unbind("mouseup." + this.widgetName, this._mouseUpDelegate), this._mouseStarted && (this._mouseStarted = !1, t.target === this._mouseDownEvent.target && e.data(t.target, this.widgetName + ".preventClickEvent", !0), this._mouseStop(t)), d = !1, !1
- },
- _mouseDistanceMet: function (e) {
- return Math.max(Math.abs(this._mouseDownEvent.pageX - e.pageX), Math.abs(this._mouseDownEvent.pageY - e.pageY)) >= this.options.distance
- },
- _mouseDelayMet: function () {
- return this.mouseDelayMet
- },
- _mouseStart: function () {
- },
- _mouseDrag: function () {
- },
- _mouseStop: function () {
- },
- _mouseCapture: function () {
- return !0
- }
- }), function () {
- function t(e, t, i) {
- return [parseFloat(e[0]) * (p.test(e[0]) ? t / 100 : 1), parseFloat(e[1]) * (p.test(e[1]) ? i / 100 : 1)]
- }
-
- function i(t, i) {
- return parseInt(e.css(t, i), 10) || 0
- }
-
- function s(t) {
- var i = t[0];
- return 9 === i.nodeType ? {
- width: t.width(),
- height: t.height(),
- offset: {top: 0, left: 0}
- } : e.isWindow(i) ? {
- width: t.width(),
- height: t.height(),
- offset: {top: t.scrollTop(), left: t.scrollLeft()}
- } : i.preventDefault ? {
- width: 0,
- height: 0,
- offset: {top: i.pageY, left: i.pageX}
- } : {width: t.outerWidth(), height: t.outerHeight(), offset: t.offset()}
- }
-
- e.ui = e.ui || {};
- var n, a, o = Math.max, r = Math.abs, h = Math.round, l = /left|center|right/, u = /top|center|bottom/, d = /[\+\-]\d+(\.[\d]+)?%?/, c = /^\w+/, p = /%$/, f = e.fn.position;
- e.position = {
- scrollbarWidth: function () {
- if (void 0 !== n)return n;
- var t, i, s = e("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"), a = s.children()[0];
- return e("body").append(s), t = a.offsetWidth, s.css("overflow", "scroll"), i = a.offsetWidth, t === i && (i = s[0].clientWidth), s.remove(), n = t - i
- }, getScrollInfo: function (t) {
- var i = t.isWindow || t.isDocument ? "" : t.element.css("overflow-x"), s = t.isWindow || t.isDocument ? "" : t.element.css("overflow-y"), n = "scroll" === i || "auto" === i && t.width < t.element[0].scrollWidth, a = "scroll" === s || "auto" === s && t.height < t.element[0].scrollHeight;
- return {width: a ? e.position.scrollbarWidth() : 0, height: n ? e.position.scrollbarWidth() : 0}
- }, getWithinInfo: function (t) {
- var i = e(t || window), s = e.isWindow(i[0]), n = !!i[0] && 9 === i[0].nodeType;
- return {
- element: i,
- isWindow: s,
- isDocument: n,
- offset: i.offset() || {left: 0, top: 0},
- scrollLeft: i.scrollLeft(),
- scrollTop: i.scrollTop(),
- width: s || n ? i.width() : i.outerWidth(),
- height: s || n ? i.height() : i.outerHeight()
- }
- }
- }, e.fn.position = function (n) {
- if (!n || !n.of)return f.apply(this, arguments);
- n = e.extend({}, n);
- var p, m, g, v, y, b, _ = e(n.of), x = e.position.getWithinInfo(n.within), w = e.position.getScrollInfo(x), k = (n.collision || "flip").split(" "), T = {};
- return b = s(_), _[0].preventDefault && (n.at = "left top"), m = b.width, g = b.height, v = b.offset, y = e.extend({}, v), e.each(["my", "at"], function () {
- var e, t, i = (n[this] || "").split(" ");
- 1 === i.length && (i = l.test(i[0]) ? i.concat(["center"]) : u.test(i[0]) ? ["center"].concat(i) : ["center", "center"]), i[0] = l.test(i[0]) ? i[0] : "center", i[1] = u.test(i[1]) ? i[1] : "center", e = d.exec(i[0]), t = d.exec(i[1]), T[this] = [e ? e[0] : 0, t ? t[0] : 0], n[this] = [c.exec(i[0])[0], c.exec(i[1])[0]]
- }), 1 === k.length && (k[1] = k[0]), "right" === n.at[0] ? y.left += m : "center" === n.at[0] && (y.left += m / 2), "bottom" === n.at[1] ? y.top += g : "center" === n.at[1] && (y.top += g / 2), p = t(T.at, m, g), y.left += p[0], y.top += p[1], this.each(function () {
- var s, l, u = e(this), d = u.outerWidth(), c = u.outerHeight(), f = i(this, "marginLeft"), b = i(this, "marginTop"), D = d + f + i(this, "marginRight") + w.width, S = c + b + i(this, "marginBottom") + w.height, M = e.extend({}, y), C = t(T.my, u.outerWidth(), u.outerHeight());
- "right" === n.my[0] ? M.left -= d : "center" === n.my[0] && (M.left -= d / 2), "bottom" === n.my[1] ? M.top -= c : "center" === n.my[1] && (M.top -= c / 2), M.left += C[0], M.top += C[1], a || (M.left = h(M.left), M.top = h(M.top)), s = {
- marginLeft: f,
- marginTop: b
- }, e.each(["left", "top"], function (t, i) {
- e.ui.position[k[t]] && e.ui.position[k[t]][i](M, {
- targetWidth: m,
- targetHeight: g,
- elemWidth: d,
- elemHeight: c,
- collisionPosition: s,
- collisionWidth: D,
- collisionHeight: S,
- offset: [p[0] + C[0], p[1] + C[1]],
- my: n.my,
- at: n.at,
- within: x,
- elem: u
- })
- }), n.using && (l = function (e) {
- var t = v.left - M.left, i = t + m - d, s = v.top - M.top, a = s + g - c, h = {
- target: {
- element: _,
- left: v.left,
- top: v.top,
- width: m,
- height: g
- },
- element: {element: u, left: M.left, top: M.top, width: d, height: c},
- horizontal: 0 > i ? "left" : t > 0 ? "right" : "center",
- vertical: 0 > a ? "top" : s > 0 ? "bottom" : "middle"
- };
- d > m && m > r(t + i) && (h.horizontal = "center"), c > g && g > r(s + a) && (h.vertical = "middle"), h.important = o(r(t), r(i)) > o(r(s), r(a)) ? "horizontal" : "vertical", n.using.call(this, e, h)
- }), u.offset(e.extend(M, {using: l}))
- })
- }, e.ui.position = {
- fit: {
- left: function (e, t) {
- var i, s = t.within, n = s.isWindow ? s.scrollLeft : s.offset.left, a = s.width, r = e.left - t.collisionPosition.marginLeft, h = n - r, l = r + t.collisionWidth - a - n;
- t.collisionWidth > a ? h > 0 && 0 >= l ? (i = e.left + h + t.collisionWidth - a - n, e.left += h - i) : e.left = l > 0 && 0 >= h ? n : h > l ? n + a - t.collisionWidth : n : h > 0 ? e.left += h : l > 0 ? e.left -= l : e.left = o(e.left - r, e.left)
- }, top: function (e, t) {
- var i, s = t.within, n = s.isWindow ? s.scrollTop : s.offset.top, a = t.within.height, r = e.top - t.collisionPosition.marginTop, h = n - r, l = r + t.collisionHeight - a - n;
- t.collisionHeight > a ? h > 0 && 0 >= l ? (i = e.top + h + t.collisionHeight - a - n, e.top += h - i) : e.top = l > 0 && 0 >= h ? n : h > l ? n + a - t.collisionHeight : n : h > 0 ? e.top += h : l > 0 ? e.top -= l : e.top = o(e.top - r, e.top)
- }
- }, flip: {
- left: function (e, t) {
- var i, s, n = t.within, a = n.offset.left + n.scrollLeft, o = n.width, h = n.isWindow ? n.scrollLeft : n.offset.left, l = e.left - t.collisionPosition.marginLeft, u = l - h, d = l + t.collisionWidth - o - h, c = "left" === t.my[0] ? -t.elemWidth : "right" === t.my[0] ? t.elemWidth : 0, p = "left" === t.at[0] ? t.targetWidth : "right" === t.at[0] ? -t.targetWidth : 0, f = -2 * t.offset[0];
- 0 > u ? (i = e.left + c + p + f + t.collisionWidth - o - a, (0 > i || r(u) > i) && (e.left += c + p + f)) : d > 0 && (s = e.left - t.collisionPosition.marginLeft + c + p + f - h, (s > 0 || d > r(s)) && (e.left += c + p + f))
- }, top: function (e, t) {
- var i, s, n = t.within, a = n.offset.top + n.scrollTop, o = n.height, h = n.isWindow ? n.scrollTop : n.offset.top, l = e.top - t.collisionPosition.marginTop, u = l - h, d = l + t.collisionHeight - o - h, c = "top" === t.my[1], p = c ? -t.elemHeight : "bottom" === t.my[1] ? t.elemHeight : 0, f = "top" === t.at[1] ? t.targetHeight : "bottom" === t.at[1] ? -t.targetHeight : 0, m = -2 * t.offset[1];
- 0 > u ? (s = e.top + p + f + m + t.collisionHeight - o - a, (0 > s || r(u) > s) && (e.top += p + f + m)) : d > 0 && (i = e.top - t.collisionPosition.marginTop + p + f + m - h, (i > 0 || d > r(i)) && (e.top += p + f + m))
- }
- }, flipfit: {
- left: function () {
- e.ui.position.flip.left.apply(this, arguments), e.ui.position.fit.left.apply(this, arguments)
- }, top: function () {
- e.ui.position.flip.top.apply(this, arguments), e.ui.position.fit.top.apply(this, arguments)
- }
- }
- }, function () {
- var t, i, s, n, o, r = document.getElementsByTagName("body")[0], h = document.createElement("div");
- t = document.createElement(r ? "div" : "body"), s = {
- visibility: "hidden",
- width: 0,
- height: 0,
- border: 0,
- margin: 0,
- background: "none"
- }, r && e.extend(s, {position: "absolute", left: "-1000px", top: "-1000px"});
- for (o in s)t.style[o] = s[o];
- t.appendChild(h), i = r || document.documentElement, i.insertBefore(t, i.firstChild), h.style.cssText = "position: absolute; left: 10.7432222px;", n = e(h).offset().left, a = n > 10 && 11 > n, t.innerHTML = "", i.removeChild(t)
- }()
- }(), e.ui.position, e.widget("ui.draggable", e.ui.mouse, {
- version: "1.11.4",
- widgetEventPrefix: "drag",
- options: {
- addClasses: !0,
- appendTo: "parent",
- axis: !1,
- connectToSortable: !1,
- containment: !1,
- cursor: "auto",
- cursorAt: !1,
- grid: !1,
- handle: !1,
- helper: "original",
- iframeFix: !1,
- opacity: !1,
- refreshPositions: !1,
- revert: !1,
- revertDuration: 500,
- scope: "default",
- scroll: !0,
- scrollSensitivity: 20,
- scrollSpeed: 20,
- snap: !1,
- snapMode: "both",
- snapTolerance: 20,
- stack: !1,
- zIndex: !1,
- drag: null,
- start: null,
- stop: null
- },
- _create: function () {
- "original" === this.options.helper && this._setPositionRelative(), this.options.addClasses && this.element.addClass("ui-draggable"), this.options.disabled && this.element.addClass("ui-draggable-disabled"), this._setHandleClassName(), this._mouseInit()
- },
- _setOption: function (e, t) {
- this._super(e, t), "handle" === e && (this._removeHandleClassName(), this._setHandleClassName())
- },
- _destroy: function () {
- return (this.helper || this.element).is(".ui-draggable-dragging") ? (this.destroyOnClear = !0, void 0) : (this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"), this._removeHandleClassName(), this._mouseDestroy(), void 0)
- },
- _mouseCapture: function (t) {
- var i = this.options;
- return this._blurActiveElement(t), this.helper || i.disabled || e(t.target).closest(".ui-resizable-handle").length > 0 ? !1 : (this.handle = this._getHandle(t), this.handle ? (this._blockFrames(i.iframeFix === !0 ? "iframe" : i.iframeFix), !0) : !1)
- },
- _blockFrames: function (t) {
- this.iframeBlocks = this.document.find(t).map(function () {
- var t = e(this);
- return e("<div>").css("position", "absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]
- })
- },
- _unblockFrames: function () {
- this.iframeBlocks && (this.iframeBlocks.remove(), delete this.iframeBlocks)
- },
- _blurActiveElement: function (t) {
- var i = this.document[0];
- if (this.handleElement.is(t.target))try {
- i.activeElement && "body" !== i.activeElement.nodeName.toLowerCase() && e(i.activeElement).blur()
- } catch (s) {
- }
- },
- _mouseStart: function (t) {
- var i = this.options;
- return this.helper = this._createHelper(t), this.helper.addClass("ui-draggable-dragging"), this._cacheHelperProportions(), e.ui.ddmanager && (e.ui.ddmanager.current = this), this._cacheMargins(), this.cssPosition = this.helper.css("position"), this.scrollParent = this.helper.scrollParent(!0), this.offsetParent = this.helper.offsetParent(), this.hasFixedAncestor = this.helper.parents().filter(function () {
- return "fixed" === e(this).css("position")
- }).length > 0, this.positionAbs = this.element.offset(), this._refreshOffsets(t), this.originalPosition = this.position = this._generatePosition(t, !1), this.originalPageX = t.pageX, this.originalPageY = t.pageY, i.cursorAt && this._adjustOffsetFromHelper(i.cursorAt), this._setContainment(), this._trigger("start", t) === !1 ? (this._clear(), !1) : (this._cacheHelperProportions(), e.ui.ddmanager && !i.dropBehaviour && e.ui.ddmanager.prepareOffsets(this, t), this._normalizeRightBottom(), this._mouseDrag(t, !0), e.ui.ddmanager && e.ui.ddmanager.dragStart(this, t), !0)
- },
- _refreshOffsets: function (e) {
- this.offset = {
- top: this.positionAbs.top - this.margins.top,
- left: this.positionAbs.left - this.margins.left,
- scroll: !1,
- parent: this._getParentOffset(),
- relative: this._getRelativeOffset()
- }, this.offset.click = {left: e.pageX - this.offset.left, top: e.pageY - this.offset.top}
- },
- _mouseDrag: function (t, i) {
- if (this.hasFixedAncestor && (this.offset.parent = this._getParentOffset()), this.position = this._generatePosition(t, !0), this.positionAbs = this._convertPositionTo("absolute"), !i) {
- var s = this._uiHash();
- if (this._trigger("drag", t, s) === !1)return this._mouseUp({}), !1;
- this.position = s.position
- }
- return this.helper[0].style.left = this.position.left + "px", this.helper[0].style.top = this.position.top + "px", e.ui.ddmanager && e.ui.ddmanager.drag(this, t), !1
- },
- _mouseStop: function (t) {
- var i = this, s = !1;
- return e.ui.ddmanager && !this.options.dropBehaviour && (s = e.ui.ddmanager.drop(this, t)), this.dropped && (s = this.dropped, this.dropped = !1), "invalid" === this.options.revert && !s || "valid" === this.options.revert && s || this.options.revert === !0 || e.isFunction(this.options.revert) && this.options.revert.call(this.element, s) ? e(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function () {
- i._trigger("stop", t) !== !1 && i._clear()
- }) : this._trigger("stop", t) !== !1 && this._clear(), !1
- },
- _mouseUp: function (t) {
- return this._unblockFrames(), e.ui.ddmanager && e.ui.ddmanager.dragStop(this, t), this.handleElement.is(t.target) && this.element.focus(), e.ui.mouse.prototype._mouseUp.call(this, t)
- },
- cancel: function () {
- return this.helper.is(".ui-draggable-dragging") ? this._mouseUp({}) : this._clear(), this
- },
- _getHandle: function (t) {
- return this.options.handle ? !!e(t.target).closest(this.element.find(this.options.handle)).length : !0
- },
- _setHandleClassName: function () {
- this.handleElement = this.options.handle ? this.element.find(this.options.handle) : this.element, this.handleElement.addClass("ui-draggable-handle")
- },
- _removeHandleClassName: function () {
- this.handleElement.removeClass("ui-draggable-handle")
- },
- _createHelper: function (t) {
- var i = this.options, s = e.isFunction(i.helper), n = s ? e(i.helper.apply(this.element[0], [t])) : "clone" === i.helper ? this.element.clone().removeAttr("id") : this.element;
- return n.parents("body").length || n.appendTo("parent" === i.appendTo ? this.element[0].parentNode : i.appendTo), s && n[0] === this.element[0] && this._setPositionRelative(), n[0] === this.element[0] || /(fixed|absolute)/.test(n.css("position")) || n.css("position", "absolute"), n
- },
- _setPositionRelative: function () {
- /^(?:r|a|f)/.test(this.element.css("position")) || (this.element[0].style.position = "relative")
- },
- _adjustOffsetFromHelper: function (t) {
- "string" == typeof t && (t = t.split(" ")), e.isArray(t) && (t = {
- left: +t[0],
- top: +t[1] || 0
- }), "left"in t && (this.offset.click.left = t.left + this.margins.left), "right"in t && (this.offset.click.left = this.helperProportions.width - t.right + this.margins.left), "top"in t && (this.offset.click.top = t.top + this.margins.top), "bottom"in t && (this.offset.click.top = this.helperProportions.height - t.bottom + this.margins.top)
- },
- _isRootNode: function (e) {
- return /(html|body)/i.test(e.tagName) || e === this.document[0]
- },
- _getParentOffset: function () {
- var t = this.offsetParent.offset(), i = this.document[0];
- return "absolute" === this.cssPosition && this.scrollParent[0] !== i && e.contains(this.scrollParent[0], this.offsetParent[0]) && (t.left += this.scrollParent.scrollLeft(), t.top += this.scrollParent.scrollTop()), this._isRootNode(this.offsetParent[0]) && (t = {
- top: 0,
- left: 0
- }), {
- top: t.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0),
- left: t.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0)
- }
- },
- _getRelativeOffset: function () {
- if ("relative" !== this.cssPosition)return {top: 0, left: 0};
- var e = this.element.position(), t = this._isRootNode(this.scrollParent[0]);
- return {
- top: e.top - (parseInt(this.helper.css("top"), 10) || 0) + (t ? 0 : this.scrollParent.scrollTop()),
- left: e.left - (parseInt(this.helper.css("left"), 10) || 0) + (t ? 0 : this.scrollParent.scrollLeft())
- }
- },
- _cacheMargins: function () {
- this.margins = {
- left: parseInt(this.element.css("marginLeft"), 10) || 0,
- top: parseInt(this.element.css("marginTop"), 10) || 0,
- right: parseInt(this.element.css("marginRight"), 10) || 0,
- bottom: parseInt(this.element.css("marginBottom"), 10) || 0
- }
- },
- _cacheHelperProportions: function () {
- this.helperProportions = {width: this.helper.outerWidth(), height: this.helper.outerHeight()}
- },
- _setContainment: function () {
- var t, i, s, n = this.options, a = this.document[0];
- return this.relativeContainer = null, n.containment ? "window" === n.containment ? (this.containment = [e(window).scrollLeft() - this.offset.relative.left - this.offset.parent.left, e(window).scrollTop() - this.offset.relative.top - this.offset.parent.top, e(window).scrollLeft() + e(window).width() - this.helperProportions.width - this.margins.left, e(window).scrollTop() + (e(window).height() || a.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top], void 0) : "document" === n.containment ? (this.containment = [0, 0, e(a).width() - this.helperProportions.width - this.margins.left, (e(a).height() || a.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top], void 0) : n.containment.constructor === Array ? (this.containment = n.containment, void 0) : ("parent" === n.containment && (n.containment = this.helper[0].parentNode), i = e(n.containment), s = i[0], s && (t = /(scroll|auto)/.test(i.css("overflow")), this.containment = [(parseInt(i.css("borderLeftWidth"), 10) || 0) + (parseInt(i.css("paddingLeft"), 10) || 0), (parseInt(i.css("borderTopWidth"), 10) || 0) + (parseInt(i.css("paddingTop"), 10) || 0), (t ? Math.max(s.scrollWidth, s.offsetWidth) : s.offsetWidth) - (parseInt(i.css("borderRightWidth"), 10) || 0) - (parseInt(i.css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left - this.margins.right, (t ? Math.max(s.scrollHeight, s.offsetHeight) : s.offsetHeight) - (parseInt(i.css("borderBottomWidth"), 10) || 0) - (parseInt(i.css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top - this.margins.bottom], this.relativeContainer = i), void 0) : (this.containment = null, void 0)
- },
- _convertPositionTo: function (e, t) {
- t || (t = this.position);
- var i = "absolute" === e ? 1 : -1, s = this._isRootNode(this.scrollParent[0]);
- return {
- top: t.top + this.offset.relative.top * i + this.offset.parent.top * i - ("fixed" === this.cssPosition ? -this.offset.scroll.top : s ? 0 : this.offset.scroll.top) * i,
- left: t.left + this.offset.relative.left * i + this.offset.parent.left * i - ("fixed" === this.cssPosition ? -this.offset.scroll.left : s ? 0 : this.offset.scroll.left) * i
- }
- },
- _generatePosition: function (e, t) {
- var i, s, n, a, o = this.options, r = this._isRootNode(this.scrollParent[0]), h = e.pageX, l = e.pageY;
- return r && this.offset.scroll || (this.offset.scroll = {
- top: this.scrollParent.scrollTop(),
- left: this.scrollParent.scrollLeft()
- }), t && (this.containment && (this.relativeContainer ? (s = this.relativeContainer.offset(), i = [this.containment[0] + s.left, this.containment[1] + s.top, this.containment[2] + s.left, this.containment[3] + s.top]) : i = this.containment, e.pageX - this.offset.click.left < i[0] && (h = i[0] + this.offset.click.left), e.pageY - this.offset.click.top < i[1] && (l = i[1] + this.offset.click.top), e.pageX - this.offset.click.left > i[2] && (h = i[2] + this.offset.click.left), e.pageY - this.offset.click.top > i[3] && (l = i[3] + this.offset.click.top)), o.grid && (n = o.grid[1] ? this.originalPageY + Math.round((l - this.originalPageY) / o.grid[1]) * o.grid[1] : this.originalPageY, l = i ? n - this.offset.click.top >= i[1] || n - this.offset.click.top > i[3] ? n : n - this.offset.click.top >= i[1] ? n - o.grid[1] : n + o.grid[1] : n, a = o.grid[0] ? this.originalPageX + Math.round((h - this.originalPageX) / o.grid[0]) * o.grid[0] : this.originalPageX, h = i ? a - this.offset.click.left >= i[0] || a - this.offset.click.left > i[2] ? a : a - this.offset.click.left >= i[0] ? a - o.grid[0] : a + o.grid[0] : a), "y" === o.axis && (h = this.originalPageX), "x" === o.axis && (l = this.originalPageY)), {
- top: l - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + ("fixed" === this.cssPosition ? -this.offset.scroll.top : r ? 0 : this.offset.scroll.top),
- left: h - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + ("fixed" === this.cssPosition ? -this.offset.scroll.left : r ? 0 : this.offset.scroll.left)
- }
- },
- _clear: function () {
- this.helper.removeClass("ui-draggable-dragging"), this.helper[0] === this.element[0] || this.cancelHelperRemoval || this.helper.remove(), this.helper = null, this.cancelHelperRemoval = !1, this.destroyOnClear && this.destroy()
- },
- _normalizeRightBottom: function () {
- "y" !== this.options.axis && "auto" !== this.helper.css("right") && (this.helper.width(this.helper.width()), this.helper.css("right", "auto")), "x" !== this.options.axis && "auto" !== this.helper.css("bottom") && (this.helper.height(this.helper.height()), this.helper.css("bottom", "auto"))
- },
- _trigger: function (t, i, s) {
- return s = s || this._uiHash(), e.ui.plugin.call(this, t, [i, s, this], !0), /^(drag|start|stop)/.test(t) && (this.positionAbs = this._convertPositionTo("absolute"), s.offset = this.positionAbs), e.Widget.prototype._trigger.call(this, t, i, s)
- },
- plugins: {},
- _uiHash: function () {
- return {
- helper: this.helper,
- position: this.position,
- originalPosition: this.originalPosition,
- offset: this.positionAbs
- }
- }
- }), e.ui.plugin.add("draggable", "connectToSortable", {
- start: function (t, i, s) {
- var n = e.extend({}, i, {item: s.element});
- s.sortables = [], e(s.options.connectToSortable).each(function () {
- var i = e(this).sortable("instance");
- i && !i.options.disabled && (s.sortables.push(i), i.refreshPositions(), i._trigger("activate", t, n))
- })
- }, stop: function (t, i, s) {
- var n = e.extend({}, i, {item: s.element});
- s.cancelHelperRemoval = !1, e.each(s.sortables, function () {
- var e = this;
- e.isOver ? (e.isOver = 0, s.cancelHelperRemoval = !0, e.cancelHelperRemoval = !1, e._storedCSS = {
- position: e.placeholder.css("position"),
- top: e.placeholder.css("top"),
- left: e.placeholder.css("left")
- }, e._mouseStop(t), e.options.helper = e.options._helper) : (e.cancelHelperRemoval = !0, e._trigger("deactivate", t, n))
- })
- }, drag: function (t, i, s) {
- e.each(s.sortables, function () {
- var n = !1, a = this;
- a.positionAbs = s.positionAbs, a.helperProportions = s.helperProportions, a.offset.click = s.offset.click, a._intersectsWith(a.containerCache) && (n = !0, e.each(s.sortables, function () {
- return this.positionAbs = s.positionAbs, this.helperProportions = s.helperProportions, this.offset.click = s.offset.click, this !== a && this._intersectsWith(this.containerCache) && e.contains(a.element[0], this.element[0]) && (n = !1), n
- })), n ? (a.isOver || (a.isOver = 1, s._parent = i.helper.parent(), a.currentItem = i.helper.appendTo(a.element).data("ui-sortable-item", !0), a.options._helper = a.options.helper, a.options.helper = function () {
- return i.helper[0]
- }, t.target = a.currentItem[0], a._mouseCapture(t, !0), a._mouseStart(t, !0, !0), a.offset.click.top = s.offset.click.top, a.offset.click.left = s.offset.click.left, a.offset.parent.left -= s.offset.parent.left - a.offset.parent.left, a.offset.parent.top -= s.offset.parent.top - a.offset.parent.top, s._trigger("toSortable", t), s.dropped = a.element, e.each(s.sortables, function () {
- this.refreshPositions()
- }), s.currentItem = s.element, a.fromOutside = s), a.currentItem && (a._mouseDrag(t), i.position = a.position)) : a.isOver && (a.isOver = 0, a.cancelHelperRemoval = !0, a.options._revert = a.options.revert, a.options.revert = !1, a._trigger("out", t, a._uiHash(a)), a._mouseStop(t, !0), a.options.revert = a.options._revert, a.options.helper = a.options._helper, a.placeholder && a.placeholder.remove(), i.helper.appendTo(s._parent), s._refreshOffsets(t), i.position = s._generatePosition(t, !0), s._trigger("fromSortable", t), s.dropped = !1, e.each(s.sortables, function () {
- this.refreshPositions()
- }))
- })
- }
- }), e.ui.plugin.add("draggable", "cursor", {
- start: function (t, i, s) {
- var n = e("body"), a = s.options;
- n.css("cursor") && (a._cursor = n.css("cursor")), n.css("cursor", a.cursor)
- }, stop: function (t, i, s) {
- var n = s.options;
- n._cursor && e("body").css("cursor", n._cursor)
- }
- }), e.ui.plugin.add("draggable", "opacity", {
- start: function (t, i, s) {
- var n = e(i.helper), a = s.options;
- n.css("opacity") && (a._opacity = n.css("opacity")), n.css("opacity", a.opacity)
- }, stop: function (t, i, s) {
- var n = s.options;
- n._opacity && e(i.helper).css("opacity", n._opacity)
- }
- }), e.ui.plugin.add("draggable", "scroll", {
- start: function (e, t, i) {
- i.scrollParentNotHidden || (i.scrollParentNotHidden = i.helper.scrollParent(!1)), i.scrollParentNotHidden[0] !== i.document[0] && "HTML" !== i.scrollParentNotHidden[0].tagName && (i.overflowOffset = i.scrollParentNotHidden.offset())
- }, drag: function (t, i, s) {
- var n = s.options, a = !1, o = s.scrollParentNotHidden[0], r = s.document[0];
- o !== r && "HTML" !== o.tagName ? (n.axis && "x" === n.axis || (s.overflowOffset.top + o.offsetHeight - t.pageY < n.scrollSensitivity ? o.scrollTop = a = o.scrollTop + n.scrollSpeed : t.pageY - s.overflowOffset.top < n.scrollSensitivity && (o.scrollTop = a = o.scrollTop - n.scrollSpeed)), n.axis && "y" === n.axis || (s.overflowOffset.left + o.offsetWidth - t.pageX < n.scrollSensitivity ? o.scrollLeft = a = o.scrollLeft + n.scrollSpeed : t.pageX - s.overflowOffset.left < n.scrollSensitivity && (o.scrollLeft = a = o.scrollLeft - n.scrollSpeed))) : (n.axis && "x" === n.axis || (t.pageY - e(r).scrollTop() < n.scrollSensitivity ? a = e(r).scrollTop(e(r).scrollTop() - n.scrollSpeed) : e(window).height() - (t.pageY - e(r).scrollTop()) < n.scrollSensitivity && (a = e(r).scrollTop(e(r).scrollTop() + n.scrollSpeed))), n.axis && "y" === n.axis || (t.pageX - e(r).scrollLeft() < n.scrollSensitivity ? a = e(r).scrollLeft(e(r).scrollLeft() - n.scrollSpeed) : e(window).width() - (t.pageX - e(r).scrollLeft()) < n.scrollSensitivity && (a = e(r).scrollLeft(e(r).scrollLeft() + n.scrollSpeed)))), a !== !1 && e.ui.ddmanager && !n.dropBehaviour && e.ui.ddmanager.prepareOffsets(s, t)
- }
- }), e.ui.plugin.add("draggable", "snap", {
- start: function (t, i, s) {
- var n = s.options;
- s.snapElements = [], e(n.snap.constructor !== String ? n.snap.items || ":data(ui-draggable)" : n.snap).each(function () {
- var t = e(this), i = t.offset();
- this !== s.element[0] && s.snapElements.push({
- item: this,
- width: t.outerWidth(),
- height: t.outerHeight(),
- top: i.top,
- left: i.left
- })
- })
- }, drag: function (t, i, s) {
- var n, a, o, r, h, l, u, d, c, p, f = s.options, m = f.snapTolerance, g = i.offset.left, v = g + s.helperProportions.width, y = i.offset.top, b = y + s.helperProportions.height;
- for (c = s.snapElements.length - 1; c >= 0; c--)h = s.snapElements[c].left - s.margins.left, l = h + s.snapElements[c].width, u = s.snapElements[c].top - s.margins.top, d = u + s.snapElements[c].height, h - m > v || g > l + m || u - m > b || y > d + m || !e.contains(s.snapElements[c].item.ownerDocument, s.snapElements[c].item) ? (s.snapElements[c].snapping && s.options.snap.release && s.options.snap.release.call(s.element, t, e.extend(s._uiHash(), {snapItem: s.snapElements[c].item})), s.snapElements[c].snapping = !1) : ("inner" !== f.snapMode && (n = m >= Math.abs(u - b), a = m >= Math.abs(d - y), o = m >= Math.abs(h - v), r = m >= Math.abs(l - g), n && (i.position.top = s._convertPositionTo("relative", {
- top: u - s.helperProportions.height,
- left: 0
- }).top), a && (i.position.top = s._convertPositionTo("relative", {
- top: d,
- left: 0
- }).top), o && (i.position.left = s._convertPositionTo("relative", {
- top: 0,
- left: h - s.helperProportions.width
- }).left), r && (i.position.left = s._convertPositionTo("relative", {
- top: 0,
- left: l
- }).left)), p = n || a || o || r, "outer" !== f.snapMode && (n = m >= Math.abs(u - y), a = m >= Math.abs(d - b), o = m >= Math.abs(h - g), r = m >= Math.abs(l - v), n && (i.position.top = s._convertPositionTo("relative", {
- top: u,
- left: 0
- }).top), a && (i.position.top = s._convertPositionTo("relative", {
- top: d - s.helperProportions.height,
- left: 0
- }).top), o && (i.position.left = s._convertPositionTo("relative", {
- top: 0,
- left: h
- }).left), r && (i.position.left = s._convertPositionTo("relative", {
- top: 0,
- left: l - s.helperProportions.width
- }).left)), !s.snapElements[c].snapping && (n || a || o || r || p) && s.options.snap.snap && s.options.snap.snap.call(s.element, t, e.extend(s._uiHash(), {snapItem: s.snapElements[c].item})), s.snapElements[c].snapping = n || a || o || r || p)
- }
- }), e.ui.plugin.add("draggable", "stack", {
- start: function (t, i, s) {
- var n, a = s.options, o = e.makeArray(e(a.stack)).sort(function (t, i) {
- return (parseInt(e(t).css("zIndex"), 10) || 0) - (parseInt(e(i).css("zIndex"), 10) || 0)
- });
- o.length && (n = parseInt(e(o[0]).css("zIndex"), 10) || 0, e(o).each(function (t) {
- e(this).css("zIndex", n + t)
- }), this.css("zIndex", n + o.length))
- }
- }), e.ui.plugin.add("draggable", "zIndex", {
- start: function (t, i, s) {
- var n = e(i.helper), a = s.options;
- n.css("zIndex") && (a._zIndex = n.css("zIndex")), n.css("zIndex", a.zIndex)
- }, stop: function (t, i, s) {
- var n = s.options;
- n._zIndex && e(i.helper).css("zIndex", n._zIndex)
- }
- }), e.ui.draggable, e.widget("ui.droppable", {
- version: "1.11.4",
- widgetEventPrefix: "drop",
- options: {
- accept: "*",
- activeClass: !1,
- addClasses: !0,
- greedy: !1,
- hoverClass: !1,
- scope: "default",
- tolerance: "intersect",
- activate: null,
- deactivate: null,
- drop: null,
- out: null,
- over: null
- },
- _create: function () {
- var t, i = this.options, s = i.accept;
- this.isover = !1, this.isout = !0, this.accept = e.isFunction(s) ? s : function (e) {
- return e.is(s)
- }, this.proportions = function () {
- return arguments.length ? (t = arguments[0], void 0) : t ? t : t = {
- width: this.element[0].offsetWidth,
- height: this.element[0].offsetHeight
- }
- }, this._addToManager(i.scope), i.addClasses && this.element.addClass("ui-droppable")
- },
- _addToManager: function (t) {
- e.ui.ddmanager.droppables[t] = e.ui.ddmanager.droppables[t] || [], e.ui.ddmanager.droppables[t].push(this)
- },
- _splice: function (e) {
- for (var t = 0; e.length > t; t++)e[t] === this && e.splice(t, 1)
- },
- _destroy: function () {
- var t = e.ui.ddmanager.droppables[this.options.scope];
- this._splice(t), this.element.removeClass("ui-droppable ui-droppable-disabled")
- },
- _setOption: function (t, i) {
- if ("accept" === t)this.accept = e.isFunction(i) ? i : function (e) {
- return e.is(i)
- }; else if ("scope" === t) {
- var s = e.ui.ddmanager.droppables[this.options.scope];
- this._splice(s), this._addToManager(i)
- }
- this._super(t, i)
- },
- _activate: function (t) {
- var i = e.ui.ddmanager.current;
- this.options.activeClass && this.element.addClass(this.options.activeClass), i && this._trigger("activate", t, this.ui(i))
- },
- _deactivate: function (t) {
- var i = e.ui.ddmanager.current;
- this.options.activeClass && this.element.removeClass(this.options.activeClass), i && this._trigger("deactivate", t, this.ui(i))
- },
- _over: function (t) {
- var i = e.ui.ddmanager.current;
- i && (i.currentItem || i.element)[0] !== this.element[0] && this.accept.call(this.element[0], i.currentItem || i.element) && (this.options.hoverClass && this.element.addClass(this.options.hoverClass), this._trigger("over", t, this.ui(i)))
- },
- _out: function (t) {
- var i = e.ui.ddmanager.current;
- i && (i.currentItem || i.element)[0] !== this.element[0] && this.accept.call(this.element[0], i.currentItem || i.element) && (this.options.hoverClass && this.element.removeClass(this.options.hoverClass), this._trigger("out", t, this.ui(i)))
- },
- _drop: function (t, i) {
- var s = i || e.ui.ddmanager.current, n = !1;
- return s && (s.currentItem || s.element)[0] !== this.element[0] ? (this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function () {
- var i = e(this).droppable("instance");
- return i.options.greedy && !i.options.disabled && i.options.scope === s.options.scope && i.accept.call(i.element[0], s.currentItem || s.element) && e.ui.intersect(s, e.extend(i, {offset: i.element.offset()}), i.options.tolerance, t) ? (n = !0, !1) : void 0
- }), n ? !1 : this.accept.call(this.element[0], s.currentItem || s.element) ? (this.options.activeClass && this.element.removeClass(this.options.activeClass), this.options.hoverClass && this.element.removeClass(this.options.hoverClass), this._trigger("drop", t, this.ui(s)), this.element) : !1) : !1
- },
- ui: function (e) {
- return {
- draggable: e.currentItem || e.element,
- helper: e.helper,
- position: e.position,
- offset: e.positionAbs
- }
- }
- }), e.ui.intersect = function () {
- function e(e, t, i) {
- return e >= t && t + i > e
- }
-
- return function (t, i, s, n) {
- if (!i.offset)return !1;
- var a = (t.positionAbs || t.position.absolute).left + t.margins.left, o = (t.positionAbs || t.position.absolute).top + t.margins.top, r = a + t.helperProportions.width, h = o + t.helperProportions.height, l = i.offset.left, u = i.offset.top, d = l + i.proportions().width, c = u + i.proportions().height;
- switch (s) {
- case"fit":
- return a >= l && d >= r && o >= u && c >= h;
- case"intersect":
- return a + t.helperProportions.width / 2 > l && d > r - t.helperProportions.width / 2 && o + t.helperProportions.height / 2 > u && c > h - t.helperProportions.height / 2;
- case"pointer":
- return e(n.pageY, u, i.proportions().height) && e(n.pageX, l, i.proportions().width);
- case"touch":
- return (o >= u && c >= o || h >= u && c >= h || u > o && h > c) && (a >= l && d >= a || r >= l && d >= r || l > a && r > d);
- default:
- return !1
- }
- }
- }(), e.ui.ddmanager = {
- current: null, droppables: {"default": []}, prepareOffsets: function (t, i) {
- var s, n, a = e.ui.ddmanager.droppables[t.options.scope] || [], o = i ? i.type : null, r = (t.currentItem || t.element).find(":data(ui-droppable)").addBack();
- e:for (s = 0; a.length > s; s++)if (!(a[s].options.disabled || t && !a[s].accept.call(a[s].element[0], t.currentItem || t.element))) {
- for (n = 0; r.length > n; n++)if (r[n] === a[s].element[0]) {
- a[s].proportions().height = 0;
- continue e
- }
- a[s].visible = "none" !== a[s].element.css("display"), a[s].visible && ("mousedown" === o && a[s]._activate.call(a[s], i), a[s].offset = a[s].element.offset(), a[s].proportions({
- width: a[s].element[0].offsetWidth,
- height: a[s].element[0].offsetHeight
- }))
- }
- }, drop: function (t, i) {
- var s = !1;
- return e.each((e.ui.ddmanager.droppables[t.options.scope] || []).slice(), function () {
- this.options && (!this.options.disabled && this.visible && e.ui.intersect(t, this, this.options.tolerance, i) && (s = this._drop.call(this, i) || s), !this.options.disabled && this.visible && this.accept.call(this.element[0], t.currentItem || t.element) && (this.isout = !0, this.isover = !1, this._deactivate.call(this, i)))
- }), s
- }, dragStart: function (t, i) {
- t.element.parentsUntil("body").bind("scroll.droppable", function () {
- t.options.refreshPositions || e.ui.ddmanager.prepareOffsets(t, i)
- })
- }, drag: function (t, i) {
- t.options.refreshPositions && e.ui.ddmanager.prepareOffsets(t, i), e.each(e.ui.ddmanager.droppables[t.options.scope] || [], function () {
- if (!this.options.disabled && !this.greedyChild && this.visible) {
- var s, n, a, o = e.ui.intersect(t, this, this.options.tolerance, i), r = !o && this.isover ? "isout" : o && !this.isover ? "isover" : null;
- r && (this.options.greedy && (n = this.options.scope, a = this.element.parents(":data(ui-droppable)").filter(function () {
- return e(this).droppable("instance").options.scope === n
- }), a.length && (s = e(a[0]).droppable("instance"), s.greedyChild = "isover" === r)), s && "isover" === r && (s.isover = !1, s.isout = !0, s._out.call(s, i)), this[r] = !0, this["isout" === r ? "isover" : "isout"] = !1, this["isover" === r ? "_over" : "_out"].call(this, i), s && "isout" === r && (s.isout = !1, s.isover = !0, s._over.call(s, i)))
- }
- })
- }, dragStop: function (t, i) {
- t.element.parentsUntil("body").unbind("scroll.droppable"), t.options.refreshPositions || e.ui.ddmanager.prepareOffsets(t, i)
- }
- }, e.ui.droppable, e.widget("ui.resizable", e.ui.mouse, {
- version: "1.11.4",
- widgetEventPrefix: "resize",
- options: {
- alsoResize: !1,
- animate: !1,
- animateDuration: "slow",
- animateEasing: "swing",
- aspectRatio: !1,
- autoHide: !1,
- containment: !1,
- ghost: !1,
- grid: !1,
- handles: "e,s,se",
- helper: !1,
- maxHeight: null,
- maxWidth: null,
- minHeight: 10,
- minWidth: 10,
- zIndex: 90,
- resize: null,
- start: null,
- stop: null
- },
- _num: function (e) {
- return parseInt(e, 10) || 0
- },
- _isNumber: function (e) {
- return !isNaN(parseInt(e, 10))
- },
- _hasScroll: function (t, i) {
- if ("hidden" === e(t).css("overflow"))return !1;
- var s = i && "left" === i ? "scrollLeft" : "scrollTop", n = !1;
- return t[s] > 0 ? !0 : (t[s] = 1, n = t[s] > 0, t[s] = 0, n)
- },
- _create: function () {
- var t, i, s, n, a, o = this, r = this.options;
- if (this.element.addClass("ui-resizable"), e.extend(this, {
- _aspectRatio: !!r.aspectRatio,
- aspectRatio: r.aspectRatio,
- originalElement: this.element,
- _proportionallyResizeElements: [],
- _helper: r.helper || r.ghost || r.animate ? r.helper || "ui-resizable-helper" : null
- }), this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i) && (this.element.wrap(e("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({
- position: this.element.css("position"),
- width: this.element.outerWidth(),
- height: this.element.outerHeight(),
- top: this.element.css("top"),
- left: this.element.css("left")
- })), this.element = this.element.parent().data("ui-resizable", this.element.resizable("instance")), this.elementIsWrapper = !0, this.element.css({
- marginLeft: this.originalElement.css("marginLeft"),
- marginTop: this.originalElement.css("marginTop"),
- marginRight: this.originalElement.css("marginRight"),
- marginBottom: this.originalElement.css("marginBottom")
- }), this.originalElement.css({
- marginLeft: 0,
- marginTop: 0,
- marginRight: 0,
- marginBottom: 0
- }), this.originalResizeStyle = this.originalElement.css("resize"), this.originalElement.css("resize", "none"), this._proportionallyResizeElements.push(this.originalElement.css({
- position: "static",
- zoom: 1,
- display: "block"
- })), this.originalElement.css({margin: this.originalElement.css("margin")}), this._proportionallyResize()), this.handles = r.handles || (e(".ui-resizable-handle", this.element).length ? {
- n: ".ui-resizable-n",
- e: ".ui-resizable-e",
- s: ".ui-resizable-s",
- w: ".ui-resizable-w",
- se: ".ui-resizable-se",
- sw: ".ui-resizable-sw",
- ne: ".ui-resizable-ne",
- nw: ".ui-resizable-nw"
- } : "e,s,se"), this._handles = e(), this.handles.constructor === String)for ("all" === this.handles && (this.handles = "n,e,s,w,se,sw,ne,nw"), t = this.handles.split(","), this.handles = {}, i = 0; t.length > i; i++)s = e.trim(t[i]), a = "ui-resizable-" + s, n = e("<div class='ui-resizable-handle " + a + "'></div>"), n.css({zIndex: r.zIndex}), "se" === s && n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"), this.handles[s] = ".ui-resizable-" + s, this.element.append(n);
- this._renderAxis = function (t) {
- var i, s, n, a;
- t = t || this.element;
- for (i in this.handles)this.handles[i].constructor === String ? this.handles[i] = this.element.children(this.handles[i]).first().show() : (this.handles[i].jquery || this.handles[i].nodeType) && (this.handles[i] = e(this.handles[i]), this._on(this.handles[i], {mousedown: o._mouseDown})), this.elementIsWrapper && this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i) && (s = e(this.handles[i], this.element), a = /sw|ne|nw|se|n|s/.test(i) ? s.outerHeight() : s.outerWidth(), n = ["padding", /ne|nw|n/.test(i) ? "Top" : /se|sw|s/.test(i) ? "Bottom" : /^e$/.test(i) ? "Right" : "Left"].join(""), t.css(n, a), this._proportionallyResize()), this._handles = this._handles.add(this.handles[i])
- }, this._renderAxis(this.element), this._handles = this._handles.add(this.element.find(".ui-resizable-handle")), this._handles.disableSelection(), this._handles.mouseover(function () {
- o.resizing || (this.className && (n = this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)), o.axis = n && n[1] ? n[1] : "se")
- }), r.autoHide && (this._handles.hide(), e(this.element).addClass("ui-resizable-autohide").mouseenter(function () {
- r.disabled || (e(this).removeClass("ui-resizable-autohide"), o._handles.show())
- }).mouseleave(function () {
- r.disabled || o.resizing || (e(this).addClass("ui-resizable-autohide"), o._handles.hide())
- })), this._mouseInit()
- },
- _destroy: function () {
- this._mouseDestroy();
- var t, i = function (t) {
- e(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()
- };
- return this.elementIsWrapper && (i(this.element), t = this.element, this.originalElement.css({
- position: t.css("position"),
- width: t.outerWidth(),
- height: t.outerHeight(),
- top: t.css("top"),
- left: t.css("left")
- }).insertAfter(t), t.remove()), this.originalElement.css("resize", this.originalResizeStyle), i(this.originalElement), this
- },
- _mouseCapture: function (t) {
- var i, s, n = !1;
- for (i in this.handles)s = e(this.handles[i])[0], (s === t.target || e.contains(s, t.target)) && (n = !0);
- return !this.options.disabled && n
- },
- _mouseStart: function (t) {
- var i, s, n, a = this.options, o = this.element;
- return this.resizing = !0, this._renderProxy(), i = this._num(this.helper.css("left")), s = this._num(this.helper.css("top")), a.containment && (i += e(a.containment).scrollLeft() || 0, s += e(a.containment).scrollTop() || 0), this.offset = this.helper.offset(), this.position = {
- left: i,
- top: s
- }, this.size = this._helper ? {
- width: this.helper.width(),
- height: this.helper.height()
- } : {width: o.width(), height: o.height()}, this.originalSize = this._helper ? {
- width: o.outerWidth(),
- height: o.outerHeight()
- } : {width: o.width(), height: o.height()}, this.sizeDiff = {
- width: o.outerWidth() - o.width(),
- height: o.outerHeight() - o.height()
- }, this.originalPosition = {left: i, top: s}, this.originalMousePosition = {
- left: t.pageX,
- top: t.pageY
- }, this.aspectRatio = "number" == typeof a.aspectRatio ? a.aspectRatio : this.originalSize.width / this.originalSize.height || 1, n = e(".ui-resizable-" + this.axis).css("cursor"), e("body").css("cursor", "auto" === n ? this.axis + "-resize" : n), o.addClass("ui-resizable-resizing"), this._propagate("start", t), !0
- },
- _mouseDrag: function (t) {
- var i, s, n = this.originalMousePosition, a = this.axis, o = t.pageX - n.left || 0, r = t.pageY - n.top || 0, h = this._change[a];
- return this._updatePrevProperties(), h ? (i = h.apply(this, [t, o, r]), this._updateVirtualBoundaries(t.shiftKey), (this._aspectRatio || t.shiftKey) && (i = this._updateRatio(i, t)), i = this._respectSize(i, t), this._updateCache(i), this._propagate("resize", t), s = this._applyChanges(), !this._helper && this._proportionallyResizeElements.length && this._proportionallyResize(), e.isEmptyObject(s) || (this._updatePrevProperties(), this._trigger("resize", t, this.ui()), this._applyChanges()), !1) : !1
- },
- _mouseStop: function (t) {
- this.resizing = !1;
- var i, s, n, a, o, r, h, l = this.options, u = this;
- return this._helper && (i = this._proportionallyResizeElements, s = i.length && /textarea/i.test(i[0].nodeName), n = s && this._hasScroll(i[0], "left") ? 0 : u.sizeDiff.height, a = s ? 0 : u.sizeDiff.width, o = {
- width: u.helper.width() - a,
- height: u.helper.height() - n
- }, r = parseInt(u.element.css("left"), 10) + (u.position.left - u.originalPosition.left) || null, h = parseInt(u.element.css("top"), 10) + (u.position.top - u.originalPosition.top) || null, l.animate || this.element.css(e.extend(o, {
- top: h,
- left: r
- })), u.helper.height(u.size.height), u.helper.width(u.size.width), this._helper && !l.animate && this._proportionallyResize()), e("body").css("cursor", "auto"), this.element.removeClass("ui-resizable-resizing"), this._propagate("stop", t), this._helper && this.helper.remove(), !1
- },
- _updatePrevProperties: function () {
- this.prevPosition = {
- top: this.position.top,
- left: this.position.left
- }, this.prevSize = {width: this.size.width, height: this.size.height}
- },
- _applyChanges: function () {
- var e = {};
- return this.position.top !== this.prevPosition.top && (e.top = this.position.top + "px"), this.position.left !== this.prevPosition.left && (e.left = this.position.left + "px"), this.size.width !== this.prevSize.width && (e.width = this.size.width + "px"), this.size.height !== this.prevSize.height && (e.height = this.size.height + "px"), this.helper.css(e), e
- },
- _updateVirtualBoundaries: function (e) {
- var t, i, s, n, a, o = this.options;
- a = {
- minWidth: this._isNumber(o.minWidth) ? o.minWidth : 0,
- maxWidth: this._isNumber(o.maxWidth) ? o.maxWidth : 1 / 0,
- minHeight: this._isNumber(o.minHeight) ? o.minHeight : 0,
- maxHeight: this._isNumber(o.maxHeight) ? o.maxHeight : 1 / 0
- }, (this._aspectRatio || e) && (t = a.minHeight * this.aspectRatio, s = a.minWidth / this.aspectRatio, i = a.maxHeight * this.aspectRatio, n = a.maxWidth / this.aspectRatio, t > a.minWidth && (a.minWidth = t), s > a.minHeight && (a.minHeight = s), a.maxWidth > i && (a.maxWidth = i), a.maxHeight > n && (a.maxHeight = n)), this._vBoundaries = a
- },
- _updateCache: function (e) {
- this.offset = this.helper.offset(), this._isNumber(e.left) && (this.position.left = e.left), this._isNumber(e.top) && (this.position.top = e.top), this._isNumber(e.height) && (this.size.height = e.height), this._isNumber(e.width) && (this.size.width = e.width)
- },
- _updateRatio: function (e) {
- var t = this.position, i = this.size, s = this.axis;
- return this._isNumber(e.height) ? e.width = e.height * this.aspectRatio : this._isNumber(e.width) && (e.height = e.width / this.aspectRatio), "sw" === s && (e.left = t.left + (i.width - e.width), e.top = null), "nw" === s && (e.top = t.top + (i.height - e.height), e.left = t.left + (i.width - e.width)), e
- },
- _respectSize: function (e) {
- var t = this._vBoundaries, i = this.axis, s = this._isNumber(e.width) && t.maxWidth && t.maxWidth < e.width, n = this._isNumber(e.height) && t.maxHeight && t.maxHeight < e.height, a = this._isNumber(e.width) && t.minWidth && t.minWidth > e.width, o = this._isNumber(e.height) && t.minHeight && t.minHeight > e.height, r = this.originalPosition.left + this.originalSize.width, h = this.position.top + this.size.height, l = /sw|nw|w/.test(i), u = /nw|ne|n/.test(i);
- return a && (e.width = t.minWidth), o && (e.height = t.minHeight), s && (e.width = t.maxWidth), n && (e.height = t.maxHeight), a && l && (e.left = r - t.minWidth), s && l && (e.left = r - t.maxWidth), o && u && (e.top = h - t.minHeight), n && u && (e.top = h - t.maxHeight), e.width || e.height || e.left || !e.top ? e.width || e.height || e.top || !e.left || (e.left = null) : e.top = null, e
- },
- _getPaddingPlusBorderDimensions: function (e) {
- for (var t = 0, i = [], s = [e.css("borderTopWidth"), e.css("borderRightWidth"), e.css("borderBottomWidth"), e.css("borderLeftWidth")], n = [e.css("paddingTop"), e.css("paddingRight"), e.css("paddingBottom"), e.css("paddingLeft")]; 4 > t; t++)i[t] = parseInt(s[t], 10) || 0, i[t] += parseInt(n[t], 10) || 0;
- return {height: i[0] + i[2], width: i[1] + i[3]}
- },
- _proportionallyResize: function () {
- if (this._proportionallyResizeElements.length)for (var e, t = 0, i = this.helper || this.element; this._proportionallyResizeElements.length > t; t++)e = this._proportionallyResizeElements[t], this.outerDimensions || (this.outerDimensions = this._getPaddingPlusBorderDimensions(e)), e.css({
- height: i.height() - this.outerDimensions.height || 0,
- width: i.width() - this.outerDimensions.width || 0
- })
- },
- _renderProxy: function () {
- var t = this.element, i = this.options;
- this.elementOffset = t.offset(), this._helper ? (this.helper = this.helper || e("<div style='overflow:hidden;'></div>"), this.helper.addClass(this._helper).css({
- width: this.element.outerWidth() - 1,
- height: this.element.outerHeight() - 1,
- position: "absolute",
- left: this.elementOffset.left + "px",
- top: this.elementOffset.top + "px",
- zIndex: ++i.zIndex
- }), this.helper.appendTo("body").disableSelection()) : this.helper = this.element
- },
- _change: {
- e: function (e, t) {
- return {width: this.originalSize.width + t}
- }, w: function (e, t) {
- var i = this.originalSize, s = this.originalPosition;
- return {left: s.left + t, width: i.width - t}
- }, n: function (e, t, i) {
- var s = this.originalSize, n = this.originalPosition;
- return {top: n.top + i, height: s.height - i}
- }, s: function (e, t, i) {
- return {height: this.originalSize.height + i}
- }, se: function (t, i, s) {
- return e.extend(this._change.s.apply(this, arguments), this._change.e.apply(this, [t, i, s]))
- }, sw: function (t, i, s) {
- return e.extend(this._change.s.apply(this, arguments), this._change.w.apply(this, [t, i, s]))
- }, ne: function (t, i, s) {
- return e.extend(this._change.n.apply(this, arguments), this._change.e.apply(this, [t, i, s]))
- }, nw: function (t, i, s) {
- return e.extend(this._change.n.apply(this, arguments), this._change.w.apply(this, [t, i, s]))
- }
- },
- _propagate: function (t, i) {
- e.ui.plugin.call(this, t, [i, this.ui()]), "resize" !== t && this._trigger(t, i, this.ui())
- },
- plugins: {},
- ui: function () {
- return {
- originalElement: this.originalElement,
- element: this.element,
- helper: this.helper,
- position: this.position,
- size: this.size,
- originalSize: this.originalSize,
- originalPosition: this.originalPosition
- }
- }
- }), e.ui.plugin.add("resizable", "animate", {
- stop: function (t) {
- var i = e(this).resizable("instance"), s = i.options, n = i._proportionallyResizeElements, a = n.length && /textarea/i.test(n[0].nodeName), o = a && i._hasScroll(n[0], "left") ? 0 : i.sizeDiff.height, r = a ? 0 : i.sizeDiff.width, h = {
- width: i.size.width - r,
- height: i.size.height - o
- }, l = parseInt(i.element.css("left"), 10) + (i.position.left - i.originalPosition.left) || null, u = parseInt(i.element.css("top"), 10) + (i.position.top - i.originalPosition.top) || null;
- i.element.animate(e.extend(h, u && l ? {top: u, left: l} : {}), {
- duration: s.animateDuration,
- easing: s.animateEasing,
- step: function () {
- var s = {
- width: parseInt(i.element.css("width"), 10),
- height: parseInt(i.element.css("height"), 10),
- top: parseInt(i.element.css("top"), 10),
- left: parseInt(i.element.css("left"), 10)
- };
- n && n.length && e(n[0]).css({
- width: s.width,
- height: s.height
- }), i._updateCache(s), i._propagate("resize", t)
- }
- })
- }
- }), e.ui.plugin.add("resizable", "containment", {
- start: function () {
- var t, i, s, n, a, o, r, h = e(this).resizable("instance"), l = h.options, u = h.element, d = l.containment, c = d instanceof e ? d.get(0) : /parent/.test(d) ? u.parent().get(0) : d;
- c && (h.containerElement = e(c), /document/.test(d) || d === document ? (h.containerOffset = {
- left: 0,
- top: 0
- }, h.containerPosition = {left: 0, top: 0}, h.parentData = {
- element: e(document),
- left: 0,
- top: 0,
- width: e(document).width(),
- height: e(document).height() || document.body.parentNode.scrollHeight
- }) : (t = e(c), i = [], e(["Top", "Right", "Left", "Bottom"]).each(function (e, s) {
- i[e] = h._num(t.css("padding" + s))
- }), h.containerOffset = t.offset(), h.containerPosition = t.position(), h.containerSize = {
- height: t.innerHeight() - i[3],
- width: t.innerWidth() - i[1]
- }, s = h.containerOffset, n = h.containerSize.height, a = h.containerSize.width, o = h._hasScroll(c, "left") ? c.scrollWidth : a, r = h._hasScroll(c) ? c.scrollHeight : n, h.parentData = {
- element: c,
- left: s.left,
- top: s.top,
- width: o,
- height: r
- }))
- }, resize: function (t) {
- var i, s, n, a, o = e(this).resizable("instance"), r = o.options, h = o.containerOffset, l = o.position, u = o._aspectRatio || t.shiftKey, d = {
- top: 0,
- left: 0
- }, c = o.containerElement, p = !0;
- c[0] !== document && /static/.test(c.css("position")) && (d = h), l.left < (o._helper ? h.left : 0) && (o.size.width = o.size.width + (o._helper ? o.position.left - h.left : o.position.left - d.left), u && (o.size.height = o.size.width / o.aspectRatio, p = !1), o.position.left = r.helper ? h.left : 0), l.top < (o._helper ? h.top : 0) && (o.size.height = o.size.height + (o._helper ? o.position.top - h.top : o.position.top), u && (o.size.width = o.size.height * o.aspectRatio, p = !1), o.position.top = o._helper ? h.top : 0), n = o.containerElement.get(0) === o.element.parent().get(0), a = /relative|absolute/.test(o.containerElement.css("position")), n && a ? (o.offset.left = o.parentData.left + o.position.left, o.offset.top = o.parentData.top + o.position.top) : (o.offset.left = o.element.offset().left, o.offset.top = o.element.offset().top), i = Math.abs(o.sizeDiff.width + (o._helper ? o.offset.left - d.left : o.offset.left - h.left)), s = Math.abs(o.sizeDiff.height + (o._helper ? o.offset.top - d.top : o.offset.top - h.top)), i + o.size.width >= o.parentData.width && (o.size.width = o.parentData.width - i, u && (o.size.height = o.size.width / o.aspectRatio, p = !1)), s + o.size.height >= o.parentData.height && (o.size.height = o.parentData.height - s, u && (o.size.width = o.size.height * o.aspectRatio, p = !1)), p || (o.position.left = o.prevPosition.left, o.position.top = o.prevPosition.top, o.size.width = o.prevSize.width, o.size.height = o.prevSize.height)
- }, stop: function () {
- var t = e(this).resizable("instance"), i = t.options, s = t.containerOffset, n = t.containerPosition, a = t.containerElement, o = e(t.helper), r = o.offset(), h = o.outerWidth() - t.sizeDiff.width, l = o.outerHeight() - t.sizeDiff.height;
- t._helper && !i.animate && /relative/.test(a.css("position")) && e(this).css({
- left: r.left - n.left - s.left,
- width: h,
- height: l
- }), t._helper && !i.animate && /static/.test(a.css("position")) && e(this).css({
- left: r.left - n.left - s.left,
- width: h,
- height: l
- })
- }
- }), e.ui.plugin.add("resizable", "alsoResize", {
- start: function () {
- var t = e(this).resizable("instance"), i = t.options;
- e(i.alsoResize).each(function () {
- var t = e(this);
- t.data("ui-resizable-alsoresize", {
- width: parseInt(t.width(), 10),
- height: parseInt(t.height(), 10),
- left: parseInt(t.css("left"), 10),
- top: parseInt(t.css("top"), 10)
- })
- })
- }, resize: function (t, i) {
- var s = e(this).resizable("instance"), n = s.options, a = s.originalSize, o = s.originalPosition, r = {
- height: s.size.height - a.height || 0,
- width: s.size.width - a.width || 0,
- top: s.position.top - o.top || 0,
- left: s.position.left - o.left || 0
- };
- e(n.alsoResize).each(function () {
- var t = e(this), s = e(this).data("ui-resizable-alsoresize"), n = {}, a = t.parents(i.originalElement[0]).length ? ["width", "height"] : ["width", "height", "top", "left"];
- e.each(a, function (e, t) {
- var i = (s[t] || 0) + (r[t] || 0);
- i && i >= 0 && (n[t] = i || null)
- }), t.css(n)
- })
- }, stop: function () {
- e(this).removeData("resizable-alsoresize")
- }
- }), e.ui.plugin.add("resizable", "ghost", {
- start: function () {
- var t = e(this).resizable("instance"), i = t.options, s = t.size;
- t.ghost = t.originalElement.clone(), t.ghost.css({
- opacity: .25,
- display: "block",
- position: "relative",
- height: s.height,
- width: s.width,
- margin: 0,
- left: 0,
- top: 0
- }).addClass("ui-resizable-ghost").addClass("string" == typeof i.ghost ? i.ghost : ""), t.ghost.appendTo(t.helper)
- }, resize: function () {
- var t = e(this).resizable("instance");
- t.ghost && t.ghost.css({position: "relative", height: t.size.height, width: t.size.width})
- }, stop: function () {
- var t = e(this).resizable("instance");
- t.ghost && t.helper && t.helper.get(0).removeChild(t.ghost.get(0))
- }
- }), e.ui.plugin.add("resizable", "grid", {
- resize: function () {
- var t, i = e(this).resizable("instance"), s = i.options, n = i.size, a = i.originalSize, o = i.originalPosition, r = i.axis, h = "number" == typeof s.grid ? [s.grid, s.grid] : s.grid, l = h[0] || 1, u = h[1] || 1, d = Math.round((n.width - a.width) / l) * l, c = Math.round((n.height - a.height) / u) * u, p = a.width + d, f = a.height + c, m = s.maxWidth && p > s.maxWidth, g = s.maxHeight && f > s.maxHeight, v = s.minWidth && s.minWidth > p, y = s.minHeight && s.minHeight > f;
- s.grid = h, v && (p += l), y && (f += u), m && (p -= l), g && (f -= u), /^(se|s|e)$/.test(r) ? (i.size.width = p, i.size.height = f) : /^(ne)$/.test(r) ? (i.size.width = p, i.size.height = f, i.position.top = o.top - c) : /^(sw)$/.test(r) ? (i.size.width = p, i.size.height = f, i.position.left = o.left - d) : ((0 >= f - u || 0 >= p - l) && (t = i._getPaddingPlusBorderDimensions(this)), f - u > 0 ? (i.size.height = f, i.position.top = o.top - c) : (f = u - t.height, i.size.height = f, i.position.top = o.top + a.height - f), p - l > 0 ? (i.size.width = p, i.position.left = o.left - d) : (p = l - t.width, i.size.width = p, i.position.left = o.left + a.width - p))
- }
- }), e.ui.resizable, e.widget("ui.selectable", e.ui.mouse, {
- version: "1.11.4",
- options: {
- appendTo: "body",
- autoRefresh: !0,
- distance: 0,
- filter: "*",
- tolerance: "touch",
- selected: null,
- selecting: null,
- start: null,
- stop: null,
- unselected: null,
- unselecting: null
- },
- _create: function () {
- var t, i = this;
- this.element.addClass("ui-selectable"), this.dragged = !1, this.refresh = function () {
- t = e(i.options.filter, i.element[0]), t.addClass("ui-selectee"), t.each(function () {
- var t = e(this), i = t.offset();
- e.data(this, "selectable-item", {
- element: this,
- $element: t,
- left: i.left,
- top: i.top,
- right: i.left + t.outerWidth(),
- bottom: i.top + t.outerHeight(),
- startselected: !1,
- selected: t.hasClass("ui-selected"),
- selecting: t.hasClass("ui-selecting"),
- unselecting: t.hasClass("ui-unselecting")
- })
- })
- }, this.refresh(), this.selectees = t.addClass("ui-selectee"), this._mouseInit(), this.helper = e("<div class='ui-selectable-helper'></div>")
- },
- _destroy: function () {
- this.selectees.removeClass("ui-selectee").removeData("selectable-item"), this.element.removeClass("ui-selectable ui-selectable-disabled"), this._mouseDestroy()
- },
- _mouseStart: function (t) {
- var i = this, s = this.options;
- this.opos = [t.pageX, t.pageY], this.options.disabled || (this.selectees = e(s.filter, this.element[0]), this._trigger("start", t), e(s.appendTo).append(this.helper), this.helper.css({
- left: t.pageX,
- top: t.pageY,
- width: 0,
- height: 0
- }), s.autoRefresh && this.refresh(), this.selectees.filter(".ui-selected").each(function () {
- var s = e.data(this, "selectable-item");
- s.startselected = !0, t.metaKey || t.ctrlKey || (s.$element.removeClass("ui-selected"), s.selected = !1, s.$element.addClass("ui-unselecting"), s.unselecting = !0, i._trigger("unselecting", t, {unselecting: s.element}))
- }), e(t.target).parents().addBack().each(function () {
- var s, n = e.data(this, "selectable-item");
- return n ? (s = !t.metaKey && !t.ctrlKey || !n.$element.hasClass("ui-selected"), n.$element.removeClass(s ? "ui-unselecting" : "ui-selected").addClass(s ? "ui-selecting" : "ui-unselecting"), n.unselecting = !s, n.selecting = s, n.selected = s, s ? i._trigger("selecting", t, {selecting: n.element}) : i._trigger("unselecting", t, {unselecting: n.element}), !1) : void 0
- }))
- },
- _mouseDrag: function (t) {
- if (this.dragged = !0, !this.options.disabled) {
- var i, s = this, n = this.options, a = this.opos[0], o = this.opos[1], r = t.pageX, h = t.pageY;
- return a > r && (i = r, r = a, a = i), o > h && (i = h, h = o, o = i), this.helper.css({
- left: a,
- top: o,
- width: r - a,
- height: h - o
- }), this.selectees.each(function () {
- var i = e.data(this, "selectable-item"), l = !1;
- i && i.element !== s.element[0] && ("touch" === n.tolerance ? l = !(i.left > r || a > i.right || i.top > h || o > i.bottom) : "fit" === n.tolerance && (l = i.left > a && r > i.right && i.top > o && h > i.bottom), l ? (i.selected && (i.$element.removeClass("ui-selected"), i.selected = !1), i.unselecting && (i.$element.removeClass("ui-unselecting"), i.unselecting = !1), i.selecting || (i.$element.addClass("ui-selecting"), i.selecting = !0, s._trigger("selecting", t, {selecting: i.element}))) : (i.selecting && ((t.metaKey || t.ctrlKey) && i.startselected ? (i.$element.removeClass("ui-selecting"), i.selecting = !1, i.$element.addClass("ui-selected"), i.selected = !0) : (i.$element.removeClass("ui-selecting"), i.selecting = !1, i.startselected && (i.$element.addClass("ui-unselecting"), i.unselecting = !0), s._trigger("unselecting", t, {unselecting: i.element}))), i.selected && (t.metaKey || t.ctrlKey || i.startselected || (i.$element.removeClass("ui-selected"), i.selected = !1, i.$element.addClass("ui-unselecting"), i.unselecting = !0, s._trigger("unselecting", t, {unselecting: i.element})))))
- }), !1
- }
- },
- _mouseStop: function (t) {
- var i = this;
- return this.dragged = !1, e(".ui-unselecting", this.element[0]).each(function () {
- var s = e.data(this, "selectable-item");
- s.$element.removeClass("ui-unselecting"), s.unselecting = !1, s.startselected = !1, i._trigger("unselected", t, {unselected: s.element})
- }), e(".ui-selecting", this.element[0]).each(function () {
- var s = e.data(this, "selectable-item");
- s.$element.removeClass("ui-selecting").addClass("ui-selected"), s.selecting = !1, s.selected = !0, s.startselected = !0, i._trigger("selected", t, {selected: s.element})
- }), this._trigger("stop", t), this.helper.remove(), !1
- }
- }), e.widget("ui.sortable", e.ui.mouse, {
- version: "1.11.4",
- widgetEventPrefix: "sort",
- ready: !1,
- options: {
- appendTo: "parent",
- axis: !1,
- connectWith: !1,
- containment: !1,
- cursor: "auto",
- cursorAt: !1,
- dropOnEmpty: !0,
- forcePlaceholderSize: !1,
- forceHelperSize: !1,
- grid: !1,
- handle: !1,
- helper: "original",
- items: "> *",
- opacity: !1,
- placeholder: !1,
- revert: !1,
- scroll: !0,
- scrollSensitivity: 20,
- scrollSpeed: 20,
- scope: "default",
- tolerance: "intersect",
- zIndex: 1e3,
- activate: null,
- beforeStop: null,
- change: null,
- deactivate: null,
- out: null,
- over: null,
- receive: null,
- remove: null,
- sort: null,
- start: null,
- stop: null,
- update: null
- },
- _isOverAxis: function (e, t, i) {
- return e >= t && t + i > e
- },
- _isFloating: function (e) {
- return /left|right/.test(e.css("float")) || /inline|table-cell/.test(e.css("display"))
- },
- _create: function () {
- this.containerCache = {}, this.element.addClass("ui-sortable"), this.refresh(), this.offset = this.element.offset(), this._mouseInit(), this._setHandleClassName(), this.ready = !0
- },
- _setOption: function (e, t) {
- this._super(e, t), "handle" === e && this._setHandleClassName()
- },
- _setHandleClassName: function () {
- this.element.find(".ui-sortable-handle").removeClass("ui-sortable-handle"), e.each(this.items, function () {
- (this.instance.options.handle ? this.item.find(this.instance.options.handle) : this.item).addClass("ui-sortable-handle")
- })
- },
- _destroy: function () {
- this.element.removeClass("ui-sortable ui-sortable-disabled").find(".ui-sortable-handle").removeClass("ui-sortable-handle"), this._mouseDestroy();
- for (var e = this.items.length - 1; e >= 0; e--)this.items[e].item.removeData(this.widgetName + "-item");
- return this
- },
- _mouseCapture: function (t, i) {
- var s = null, n = !1, a = this;
- return this.reverting ? !1 : this.options.disabled || "static" === this.options.type ? !1 : (this._refreshItems(t), e(t.target).parents().each(function () {
- return e.data(this, a.widgetName + "-item") === a ? (s = e(this), !1) : void 0
- }), e.data(t.target, a.widgetName + "-item") === a && (s = e(t.target)), s ? !this.options.handle || i || (e(this.options.handle, s).find("*").addBack().each(function () {
- this === t.target && (n = !0)
- }), n) ? (this.currentItem = s, this._removeCurrentsFromItems(), !0) : !1 : !1)
- },
- _mouseStart: function (t, i, s) {
- var n, a, o = this.options;
- if (this.currentContainer = this, this.refreshPositions(), this.helper = this._createHelper(t), this._cacheHelperProportions(), this._cacheMargins(), this.scrollParent = this.helper.scrollParent(), this.offset = this.currentItem.offset(), this.offset = {
- top: this.offset.top - this.margins.top,
- left: this.offset.left - this.margins.left
- }, e.extend(this.offset, {
- click: {left: t.pageX - this.offset.left, top: t.pageY - this.offset.top},
- parent: this._getParentOffset(),
- relative: this._getRelativeOffset()
- }), this.helper.css("position", "absolute"), this.cssPosition = this.helper.css("position"), this.originalPosition = this._generatePosition(t), this.originalPageX = t.pageX, this.originalPageY = t.pageY, o.cursorAt && this._adjustOffsetFromHelper(o.cursorAt), this.domPosition = {
- prev: this.currentItem.prev()[0],
- parent: this.currentItem.parent()[0]
- }, this.helper[0] !== this.currentItem[0] && this.currentItem.hide(), this._createPlaceholder(), o.containment && this._setContainment(), o.cursor && "auto" !== o.cursor && (a = this.document.find("body"), this.storedCursor = a.css("cursor"), a.css("cursor", o.cursor), this.storedStylesheet = e("<style>*{ cursor: " + o.cursor + " !important; }</style>").appendTo(a)), o.opacity && (this.helper.css("opacity") && (this._storedOpacity = this.helper.css("opacity")), this.helper.css("opacity", o.opacity)), o.zIndex && (this.helper.css("zIndex") && (this._storedZIndex = this.helper.css("zIndex")), this.helper.css("zIndex", o.zIndex)), this.scrollParent[0] !== this.document[0] && "HTML" !== this.scrollParent[0].tagName && (this.overflowOffset = this.scrollParent.offset()), this._trigger("start", t, this._uiHash()), this._preserveHelperProportions || this._cacheHelperProportions(), !s)for (n = this.containers.length - 1; n >= 0; n--)this.containers[n]._trigger("activate", t, this._uiHash(this));
- return e.ui.ddmanager && (e.ui.ddmanager.current = this), e.ui.ddmanager && !o.dropBehaviour && e.ui.ddmanager.prepareOffsets(this, t), this.dragging = !0, this.helper.addClass("ui-sortable-helper"), this._mouseDrag(t), !0
- },
- _mouseDrag: function (t) {
- var i, s, n, a, o = this.options, r = !1;
- for (this.position = this._generatePosition(t), this.positionAbs = this._convertPositionTo("absolute"), this.lastPositionAbs || (this.lastPositionAbs = this.positionAbs), this.options.scroll && (this.scrollParent[0] !== this.document[0] && "HTML" !== this.scrollParent[0].tagName ? (this.overflowOffset.top + this.scrollParent[0].offsetHeight - t.pageY < o.scrollSensitivity ? this.scrollParent[0].scrollTop = r = this.scrollParent[0].scrollTop + o.scrollSpeed : t.pageY - this.overflowOffset.top < o.scrollSensitivity && (this.scrollParent[0].scrollTop = r = this.scrollParent[0].scrollTop - o.scrollSpeed), this.overflowOffset.left + this.scrollParent[0].offsetWidth - t.pageX < o.scrollSensitivity ? this.scrollParent[0].scrollLeft = r = this.scrollParent[0].scrollLeft + o.scrollSpeed : t.pageX - this.overflowOffset.left < o.scrollSensitivity && (this.scrollParent[0].scrollLeft = r = this.scrollParent[0].scrollLeft - o.scrollSpeed)) : (t.pageY - this.document.scrollTop() < o.scrollSensitivity ? r = this.document.scrollTop(this.document.scrollTop() - o.scrollSpeed) : this.window.height() - (t.pageY - this.document.scrollTop()) < o.scrollSensitivity && (r = this.document.scrollTop(this.document.scrollTop() + o.scrollSpeed)), t.pageX - this.document.scrollLeft() < o.scrollSensitivity ? r = this.document.scrollLeft(this.document.scrollLeft() - o.scrollSpeed) : this.window.width() - (t.pageX - this.document.scrollLeft()) < o.scrollSensitivity && (r = this.document.scrollLeft(this.document.scrollLeft() + o.scrollSpeed))), r !== !1 && e.ui.ddmanager && !o.dropBehaviour && e.ui.ddmanager.prepareOffsets(this, t)), this.positionAbs = this._convertPositionTo("absolute"), this.options.axis && "y" === this.options.axis || (this.helper[0].style.left = this.position.left + "px"), this.options.axis && "x" === this.options.axis || (this.helper[0].style.top = this.position.top + "px"), i = this.items.length - 1; i >= 0; i--)if (s = this.items[i], n = s.item[0], a = this._intersectsWithPointer(s), a && s.instance === this.currentContainer && n !== this.currentItem[0] && this.placeholder[1 === a ? "next" : "prev"]()[0] !== n && !e.contains(this.placeholder[0], n) && ("semi-dynamic" === this.options.type ? !e.contains(this.element[0], n) : !0)) {
- if (this.direction = 1 === a ? "down" : "up", "pointer" !== this.options.tolerance && !this._intersectsWithSides(s))break;
- this._rearrange(t, s), this._trigger("change", t, this._uiHash());
- break
- }
- return this._contactContainers(t), e.ui.ddmanager && e.ui.ddmanager.drag(this, t), this._trigger("sort", t, this._uiHash()), this.lastPositionAbs = this.positionAbs, !1
- },
- _mouseStop: function (t, i) {
- if (t) {
- if (e.ui.ddmanager && !this.options.dropBehaviour && e.ui.ddmanager.drop(this, t), this.options.revert) {
- var s = this, n = this.placeholder.offset(), a = this.options.axis, o = {};
- a && "x" !== a || (o.left = n.left - this.offset.parent.left - this.margins.left + (this.offsetParent[0] === this.document[0].body ? 0 : this.offsetParent[0].scrollLeft)), a && "y" !== a || (o.top = n.top - this.offset.parent.top - this.margins.top + (this.offsetParent[0] === this.document[0].body ? 0 : this.offsetParent[0].scrollTop)), this.reverting = !0, e(this.helper).animate(o, parseInt(this.options.revert, 10) || 500, function () {
- s._clear(t)
- })
- } else this._clear(t, i);
- return !1
- }
- },
- cancel: function () {
- if (this.dragging) {
- this._mouseUp({target: null}), "original" === this.options.helper ? this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper") : this.currentItem.show();
- for (var t = this.containers.length - 1; t >= 0; t--)this.containers[t]._trigger("deactivate", null, this._uiHash(this)), this.containers[t].containerCache.over && (this.containers[t]._trigger("out", null, this._uiHash(this)), this.containers[t].containerCache.over = 0)
- }
- return this.placeholder && (this.placeholder[0].parentNode && this.placeholder[0].parentNode.removeChild(this.placeholder[0]), "original" !== this.options.helper && this.helper && this.helper[0].parentNode && this.helper.remove(), e.extend(this, {
- helper: null,
- dragging: !1,
- reverting: !1,
- _noFinalSort: null
- }), this.domPosition.prev ? e(this.domPosition.prev).after(this.currentItem) : e(this.domPosition.parent).prepend(this.currentItem)), this
- },
- serialize: function (t) {
- var i = this._getItemsAsjQuery(t && t.connected), s = [];
- return t = t || {}, e(i).each(function () {
- var i = (e(t.item || this).attr(t.attribute || "id") || "").match(t.expression || /(.+)[\-=_](.+)/);
- i && s.push((t.key || i[1] + "[]") + "=" + (t.key && t.expression ? i[1] : i[2]))
- }), !s.length && t.key && s.push(t.key + "="), s.join("&")
- },
- toArray: function (t) {
- var i = this._getItemsAsjQuery(t && t.connected), s = [];
- return t = t || {}, i.each(function () {
- s.push(e(t.item || this).attr(t.attribute || "id") || "")
- }), s
- },
- _intersectsWith: function (e) {
- var t = this.positionAbs.left, i = t + this.helperProportions.width, s = this.positionAbs.top, n = s + this.helperProportions.height, a = e.left, o = a + e.width, r = e.top, h = r + e.height, l = this.offset.click.top, u = this.offset.click.left, d = "x" === this.options.axis || s + l > r && h > s + l, c = "y" === this.options.axis || t + u > a && o > t + u, p = d && c;
- return "pointer" === this.options.tolerance || this.options.forcePointerForContainers || "pointer" !== this.options.tolerance && this.helperProportions[this.floating ? "width" : "height"] > e[this.floating ? "width" : "height"] ? p : t + this.helperProportions.width / 2 > a && o > i - this.helperProportions.width / 2 && s + this.helperProportions.height / 2 > r && h > n - this.helperProportions.height / 2
- },
- _intersectsWithPointer: function (e) {
- var t = "x" === this.options.axis || this._isOverAxis(this.positionAbs.top + this.offset.click.top, e.top, e.height), i = "y" === this.options.axis || this._isOverAxis(this.positionAbs.left + this.offset.click.left, e.left, e.width), s = t && i, n = this._getDragVerticalDirection(), a = this._getDragHorizontalDirection();
- return s ? this.floating ? a && "right" === a || "down" === n ? 2 : 1 : n && ("down" === n ? 2 : 1) : !1
- },
- _intersectsWithSides: function (e) {
- var t = this._isOverAxis(this.positionAbs.top + this.offset.click.top, e.top + e.height / 2, e.height), i = this._isOverAxis(this.positionAbs.left + this.offset.click.left, e.left + e.width / 2, e.width), s = this._getDragVerticalDirection(), n = this._getDragHorizontalDirection();
- return this.floating && n ? "right" === n && i || "left" === n && !i : s && ("down" === s && t || "up" === s && !t)
- },
- _getDragVerticalDirection: function () {
- var e = this.positionAbs.top - this.lastPositionAbs.top;
- return 0 !== e && (e > 0 ? "down" : "up")
- },
- _getDragHorizontalDirection: function () {
- var e = this.positionAbs.left - this.lastPositionAbs.left;
- return 0 !== e && (e > 0 ? "right" : "left")
- },
- refresh: function (e) {
- return this._refreshItems(e), this._setHandleClassName(), this.refreshPositions(), this
- },
- _connectWith: function () {
- var e = this.options;
- return e.connectWith.constructor === String ? [e.connectWith] : e.connectWith
- },
- _getItemsAsjQuery: function (t) {
- function i() {
- r.push(this)
- }
-
- var s, n, a, o, r = [], h = [], l = this._connectWith();
- if (l && t)for (s = l.length - 1; s >= 0; s--)for (a = e(l[s], this.document[0]), n = a.length - 1; n >= 0; n--)o = e.data(a[n], this.widgetFullName), o && o !== this && !o.options.disabled && h.push([e.isFunction(o.options.items) ? o.options.items.call(o.element) : e(o.options.items, o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), o]);
- for (h.push([e.isFunction(this.options.items) ? this.options.items.call(this.element, null, {
- options: this.options,
- item: this.currentItem
- }) : e(this.options.items, this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), this]), s = h.length - 1; s >= 0; s--)h[s][0].each(i);
- return e(r)
- },
- _removeCurrentsFromItems: function () {
- var t = this.currentItem.find(":data(" + this.widgetName + "-item)");
- this.items = e.grep(this.items, function (e) {
- for (var i = 0; t.length > i; i++)if (t[i] === e.item[0])return !1;
- return !0
- })
- },
- _refreshItems: function (t) {
- this.items = [], this.containers = [this];
- var i, s, n, a, o, r, h, l, u = this.items, d = [[e.isFunction(this.options.items) ? this.options.items.call(this.element[0], t, {item: this.currentItem}) : e(this.options.items, this.element), this]], c = this._connectWith();
- if (c && this.ready)for (i = c.length - 1; i >= 0; i--)for (n = e(c[i], this.document[0]), s = n.length - 1; s >= 0; s--)a = e.data(n[s], this.widgetFullName), a && a !== this && !a.options.disabled && (d.push([e.isFunction(a.options.items) ? a.options.items.call(a.element[0], t, {item: this.currentItem}) : e(a.options.items, a.element), a]), this.containers.push(a));
- for (i = d.length - 1; i >= 0; i--)for (o = d[i][1], r = d[i][0], s = 0, l = r.length; l > s; s++)h = e(r[s]), h.data(this.widgetName + "-item", o), u.push({
- item: h,
- instance: o,
- width: 0,
- height: 0,
- left: 0,
- top: 0
- })
- },
- refreshPositions: function (t) {
- this.floating = this.items.length ? "x" === this.options.axis || this._isFloating(this.items[0].item) : !1, this.offsetParent && this.helper && (this.offset.parent = this._getParentOffset());
- var i, s, n, a;
- for (i = this.items.length - 1; i >= 0; i--)s = this.items[i], s.instance !== this.currentContainer && this.currentContainer && s.item[0] !== this.currentItem[0] || (n = this.options.toleranceElement ? e(this.options.toleranceElement, s.item) : s.item, t || (s.width = n.outerWidth(), s.height = n.outerHeight()), a = n.offset(), s.left = a.left, s.top = a.top);
- if (this.options.custom && this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this); else for (i = this.containers.length - 1; i >= 0; i--)a = this.containers[i].element.offset(), this.containers[i].containerCache.left = a.left, this.containers[i].containerCache.top = a.top, this.containers[i].containerCache.width = this.containers[i].element.outerWidth(), this.containers[i].containerCache.height = this.containers[i].element.outerHeight();
- return this
- },
- _createPlaceholder: function (t) {
- t = t || this;
- var i, s = t.options;
- s.placeholder && s.placeholder.constructor !== String || (i = s.placeholder, s.placeholder = {
- element: function () {
- var s = t.currentItem[0].nodeName.toLowerCase(), n = e("<" + s + ">", t.document[0]).addClass(i || t.currentItem[0].className + " ui-sortable-placeholder").removeClass("ui-sortable-helper");
- return "tbody" === s ? t._createTrPlaceholder(t.currentItem.find("tr").eq(0), e("<tr>", t.document[0]).appendTo(n)) : "tr" === s ? t._createTrPlaceholder(t.currentItem, n) : "img" === s && n.attr("src", t.currentItem.attr("src")), i || n.css("visibility", "hidden"), n
- }, update: function (e, n) {
- (!i || s.forcePlaceholderSize) && (n.height() || n.height(t.currentItem.innerHeight() - parseInt(t.currentItem.css("paddingTop") || 0, 10) - parseInt(t.currentItem.css("paddingBottom") || 0, 10)), n.width() || n.width(t.currentItem.innerWidth() - parseInt(t.currentItem.css("paddingLeft") || 0, 10) - parseInt(t.currentItem.css("paddingRight") || 0, 10)))
- }
- }), t.placeholder = e(s.placeholder.element.call(t.element, t.currentItem)), t.currentItem.after(t.placeholder), s.placeholder.update(t, t.placeholder)
- },
- _createTrPlaceholder: function (t, i) {
- var s = this;
- t.children().each(function () {
- e("<td>&#160;</td>", s.document[0]).attr("colspan", e(this).attr("colspan") || 1).appendTo(i)
- })
- },
- _contactContainers: function (t) {
- var i, s, n, a, o, r, h, l, u, d, c = null, p = null;
- for (i = this.containers.length - 1; i >= 0; i--)if (!e.contains(this.currentItem[0], this.containers[i].element[0]))if (this._intersectsWith(this.containers[i].containerCache)) {
- if (c && e.contains(this.containers[i].element[0], c.element[0]))continue;
- c = this.containers[i], p = i
- } else this.containers[i].containerCache.over && (this.containers[i]._trigger("out", t, this._uiHash(this)), this.containers[i].containerCache.over = 0);
- if (c)if (1 === this.containers.length)this.containers[p].containerCache.over || (this.containers[p]._trigger("over", t, this._uiHash(this)), this.containers[p].containerCache.over = 1); else {
- for (n = 1e4, a = null, u = c.floating || this._isFloating(this.currentItem), o = u ? "left" : "top", r = u ? "width" : "height", d = u ? "clientX" : "clientY", s = this.items.length - 1; s >= 0; s--)e.contains(this.containers[p].element[0], this.items[s].item[0]) && this.items[s].item[0] !== this.currentItem[0] && (h = this.items[s].item.offset()[o], l = !1, t[d] - h > this.items[s][r] / 2 && (l = !0), n > Math.abs(t[d] - h) && (n = Math.abs(t[d] - h), a = this.items[s], this.direction = l ? "up" : "down"));
- if (!a && !this.options.dropOnEmpty)return;
- if (this.currentContainer === this.containers[p])return this.currentContainer.containerCache.over || (this.containers[p]._trigger("over", t, this._uiHash()), this.currentContainer.containerCache.over = 1), void 0;
- a ? this._rearrange(t, a, null, !0) : this._rearrange(t, null, this.containers[p].element, !0), this._trigger("change", t, this._uiHash()), this.containers[p]._trigger("change", t, this._uiHash(this)), this.currentContainer = this.containers[p], this.options.placeholder.update(this.currentContainer, this.placeholder), this.containers[p]._trigger("over", t, this._uiHash(this)), this.containers[p].containerCache.over = 1
- }
- },
- _createHelper: function (t) {
- var i = this.options, s = e.isFunction(i.helper) ? e(i.helper.apply(this.element[0], [t, this.currentItem])) : "clone" === i.helper ? this.currentItem.clone() : this.currentItem;
- return s.parents("body").length || e("parent" !== i.appendTo ? i.appendTo : this.currentItem[0].parentNode)[0].appendChild(s[0]), s[0] === this.currentItem[0] && (this._storedCSS = {
- width: this.currentItem[0].style.width,
- height: this.currentItem[0].style.height,
- position: this.currentItem.css("position"),
- top: this.currentItem.css("top"),
- left: this.currentItem.css("left")
- }), (!s[0].style.width || i.forceHelperSize) && s.width(this.currentItem.width()), (!s[0].style.height || i.forceHelperSize) && s.height(this.currentItem.height()), s
- },
- _adjustOffsetFromHelper: function (t) {
- "string" == typeof t && (t = t.split(" ")), e.isArray(t) && (t = {
- left: +t[0],
- top: +t[1] || 0
- }), "left"in t && (this.offset.click.left = t.left + this.margins.left), "right"in t && (this.offset.click.left = this.helperProportions.width - t.right + this.margins.left), "top"in t && (this.offset.click.top = t.top + this.margins.top), "bottom"in t && (this.offset.click.top = this.helperProportions.height - t.bottom + this.margins.top)
- },
- _getParentOffset: function () {
- this.offsetParent = this.helper.offsetParent();
- var t = this.offsetParent.offset();
- return "absolute" === this.cssPosition && this.scrollParent[0] !== this.document[0] && e.contains(this.scrollParent[0], this.offsetParent[0]) && (t.left += this.scrollParent.scrollLeft(), t.top += this.scrollParent.scrollTop()), (this.offsetParent[0] === this.document[0].body || this.offsetParent[0].tagName && "html" === this.offsetParent[0].tagName.toLowerCase() && e.ui.ie) && (t = {
- top: 0,
- left: 0
- }), {
- top: t.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0),
- left: t.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0)
- }
- },
- _getRelativeOffset: function () {
- if ("relative" === this.cssPosition) {
- var e = this.currentItem.position();
- return {
- top: e.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(),
- left: e.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft()
- }
- }
- return {top: 0, left: 0}
- },
- _cacheMargins: function () {
- this.margins = {
- left: parseInt(this.currentItem.css("marginLeft"), 10) || 0,
- top: parseInt(this.currentItem.css("marginTop"), 10) || 0
- }
- },
- _cacheHelperProportions: function () {
- this.helperProportions = {width: this.helper.outerWidth(), height: this.helper.outerHeight()}
- },
- _setContainment: function () {
- var t, i, s, n = this.options;
- "parent" === n.containment && (n.containment = this.helper[0].parentNode), ("document" === n.containment || "window" === n.containment) && (this.containment = [0 - this.offset.relative.left - this.offset.parent.left, 0 - this.offset.relative.top - this.offset.parent.top, "document" === n.containment ? this.document.width() : this.window.width() - this.helperProportions.width - this.margins.left, ("document" === n.containment ? this.document.width() : this.window.height() || this.document[0].body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top]), /^(document|window|parent)$/.test(n.containment) || (t = e(n.containment)[0], i = e(n.containment).offset(), s = "hidden" !== e(t).css("overflow"), this.containment = [i.left + (parseInt(e(t).css("borderLeftWidth"), 10) || 0) + (parseInt(e(t).css("paddingLeft"), 10) || 0) - this.margins.left, i.top + (parseInt(e(t).css("borderTopWidth"), 10) || 0) + (parseInt(e(t).css("paddingTop"), 10) || 0) - this.margins.top, i.left + (s ? Math.max(t.scrollWidth, t.offsetWidth) : t.offsetWidth) - (parseInt(e(t).css("borderLeftWidth"), 10) || 0) - (parseInt(e(t).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left, i.top + (s ? Math.max(t.scrollHeight, t.offsetHeight) : t.offsetHeight) - (parseInt(e(t).css("borderTopWidth"), 10) || 0) - (parseInt(e(t).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top])
- },
- _convertPositionTo: function (t, i) {
- i || (i = this.position);
- var s = "absolute" === t ? 1 : -1, n = "absolute" !== this.cssPosition || this.scrollParent[0] !== this.document[0] && e.contains(this.scrollParent[0], this.offsetParent[0]) ? this.scrollParent : this.offsetParent, a = /(html|body)/i.test(n[0].tagName);
- return {
- top: i.top + this.offset.relative.top * s + this.offset.parent.top * s - ("fixed" === this.cssPosition ? -this.scrollParent.scrollTop() : a ? 0 : n.scrollTop()) * s,
- left: i.left + this.offset.relative.left * s + this.offset.parent.left * s - ("fixed" === this.cssPosition ? -this.scrollParent.scrollLeft() : a ? 0 : n.scrollLeft()) * s
- }
- },
- _generatePosition: function (t) {
- var i, s, n = this.options, a = t.pageX, o = t.pageY, r = "absolute" !== this.cssPosition || this.scrollParent[0] !== this.document[0] && e.contains(this.scrollParent[0], this.offsetParent[0]) ? this.scrollParent : this.offsetParent, h = /(html|body)/i.test(r[0].tagName);
- return "relative" !== this.cssPosition || this.scrollParent[0] !== this.document[0] && this.scrollParent[0] !== this.offsetParent[0] || (this.offset.relative = this._getRelativeOffset()), this.originalPosition && (this.containment && (t.pageX - this.offset.click.left < this.containment[0] && (a = this.containment[0] + this.offset.click.left), t.pageY - this.offset.click.top < this.containment[1] && (o = this.containment[1] + this.offset.click.top), t.pageX - this.offset.click.left > this.containment[2] && (a = this.containment[2] + this.offset.click.left), t.pageY - this.offset.click.top > this.containment[3] && (o = this.containment[3] + this.offset.click.top)), n.grid && (i = this.originalPageY + Math.round((o - this.originalPageY) / n.grid[1]) * n.grid[1], o = this.containment ? i - this.offset.click.top >= this.containment[1] && i - this.offset.click.top <= this.containment[3] ? i : i - this.offset.click.top >= this.containment[1] ? i - n.grid[1] : i + n.grid[1] : i, s = this.originalPageX + Math.round((a - this.originalPageX) / n.grid[0]) * n.grid[0], a = this.containment ? s - this.offset.click.left >= this.containment[0] && s - this.offset.click.left <= this.containment[2] ? s : s - this.offset.click.left >= this.containment[0] ? s - n.grid[0] : s + n.grid[0] : s)), {
- top: o - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + ("fixed" === this.cssPosition ? -this.scrollParent.scrollTop() : h ? 0 : r.scrollTop()),
- left: a - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + ("fixed" === this.cssPosition ? -this.scrollParent.scrollLeft() : h ? 0 : r.scrollLeft())
- }
- },
- _rearrange: function (e, t, i, s) {
- i ? i[0].appendChild(this.placeholder[0]) : t.item[0].parentNode.insertBefore(this.placeholder[0], "down" === this.direction ? t.item[0] : t.item[0].nextSibling), this.counter = this.counter ? ++this.counter : 1;
- var n = this.counter;
- this._delay(function () {
- n === this.counter && this.refreshPositions(!s)
- })
- },
- _clear: function (e, t) {
- function i(e, t, i) {
- return function (s) {
- i._trigger(e, s, t._uiHash(t))
- }
- }
-
- this.reverting = !1;
- var s, n = [];
- if (!this._noFinalSort && this.currentItem.parent().length && this.placeholder.before(this.currentItem), this._noFinalSort = null, this.helper[0] === this.currentItem[0]) {
- for (s in this._storedCSS)("auto" === this._storedCSS[s] || "static" === this._storedCSS[s]) && (this._storedCSS[s] = "");
- this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")
- } else this.currentItem.show();
- for (this.fromOutside && !t && n.push(function (e) {
- this._trigger("receive", e, this._uiHash(this.fromOutside))
- }), !this.fromOutside && this.domPosition.prev === this.currentItem.prev().not(".ui-sortable-helper")[0] && this.domPosition.parent === this.currentItem.parent()[0] || t || n.push(function (e) {
- this._trigger("update", e, this._uiHash())
- }), this !== this.currentContainer && (t || (n.push(function (e) {
- this._trigger("remove", e, this._uiHash())
- }), n.push(function (e) {
- return function (t) {
- e._trigger("receive", t, this._uiHash(this))
- }
- }.call(this, this.currentContainer)), n.push(function (e) {
- return function (t) {
- e._trigger("update", t, this._uiHash(this))
- }
- }.call(this, this.currentContainer)))), s = this.containers.length - 1; s >= 0; s--)t || n.push(i("deactivate", this, this.containers[s])), this.containers[s].containerCache.over && (n.push(i("out", this, this.containers[s])), this.containers[s].containerCache.over = 0);
- if (this.storedCursor && (this.document.find("body").css("cursor", this.storedCursor), this.storedStylesheet.remove()), this._storedOpacity && this.helper.css("opacity", this._storedOpacity), this._storedZIndex && this.helper.css("zIndex", "auto" === this._storedZIndex ? "" : this._storedZIndex), this.dragging = !1, t || this._trigger("beforeStop", e, this._uiHash()), this.placeholder[0].parentNode.removeChild(this.placeholder[0]), this.cancelHelperRemoval || (this.helper[0] !== this.currentItem[0] && this.helper.remove(), this.helper = null), !t) {
- for (s = 0; n.length > s; s++)n[s].call(this, e);
- this._trigger("stop", e, this._uiHash())
- }
- return this.fromOutside = !1, !this.cancelHelperRemoval
- },
- _trigger: function () {
- e.Widget.prototype._trigger.apply(this, arguments) === !1 && this.cancel()
- },
- _uiHash: function (t) {
- var i = t || this;
- return {
- helper: i.helper,
- placeholder: i.placeholder || e([]),
- position: i.position,
- originalPosition: i.originalPosition,
- offset: i.positionAbs,
- item: i.currentItem,
- sender: t ? t.element : null
- }
- }
- }), e.widget("ui.accordion", {
- version: "1.11.4",
- options: {
- active: 0,
- animate: {},
- collapsible: !1,
- event: "click",
- header: "> li > :first-child,> :not(li):even",
- heightStyle: "auto",
- icons: {activeHeader: "ui-icon-triangle-1-s", header: "ui-icon-triangle-1-e"},
- activate: null,
- beforeActivate: null
- },
- hideProps: {
- borderTopWidth: "hide",
- borderBottomWidth: "hide",
- paddingTop: "hide",
- paddingBottom: "hide",
- height: "hide"
- },
- showProps: {
- borderTopWidth: "show",
- borderBottomWidth: "show",
- paddingTop: "show",
- paddingBottom: "show",
- height: "show"
- },
- _create: function () {
- var t = this.options;
- this.prevShow = this.prevHide = e(), this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role", "tablist"), t.collapsible || t.active !== !1 && null != t.active || (t.active = 0), this._processPanels(), 0 > t.active && (t.active += this.headers.length), this._refresh()
- },
- _getCreateEventData: function () {
- return {header: this.active, panel: this.active.length ? this.active.next() : e()}
- },
- _createIcons: function () {
- var t = this.options.icons;
- t && (e("<span>").addClass("ui-accordion-header-icon ui-icon " + t.header).prependTo(this.headers), this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader), this.headers.addClass("ui-accordion-icons"))
- },
- _destroyIcons: function () {
- this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()
- },
- _destroy: function () {
- var e;
- this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"), this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").removeUniqueId(), this._destroyIcons(), e = this.headers.next().removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").css("display", "").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeUniqueId(), "content" !== this.options.heightStyle && e.css("height", "")
- },
- _setOption: function (e, t) {
- return "active" === e ? (this._activate(t), void 0) : ("event" === e && (this.options.event && this._off(this.headers, this.options.event), this._setupEvents(t)), this._super(e, t), "collapsible" !== e || t || this.options.active !== !1 || this._activate(0), "icons" === e && (this._destroyIcons(), t && this._createIcons()), "disabled" === e && (this.element.toggleClass("ui-state-disabled", !!t).attr("aria-disabled", t), this.headers.add(this.headers.next()).toggleClass("ui-state-disabled", !!t)), void 0)
- },
- _keydown: function (t) {
- if (!t.altKey && !t.ctrlKey) {
- var i = e.ui.keyCode, s = this.headers.length, n = this.headers.index(t.target), a = !1;
- switch (t.keyCode) {
- case i.RIGHT:
- case i.DOWN:
- a = this.headers[(n + 1) % s];
- break;
- case i.LEFT:
- case i.UP:
- a = this.headers[(n - 1 + s) % s];
- break;
- case i.SPACE:
- case i.ENTER:
- this._eventHandler(t);
- break;
- case i.HOME:
- a = this.headers[0];
- break;
- case i.END:
- a = this.headers[s - 1]
- }
- a && (e(t.target).attr("tabIndex", -1), e(a).attr("tabIndex", 0), a.focus(), t.preventDefault())
- }
- },
- _panelKeyDown: function (t) {
- t.keyCode === e.ui.keyCode.UP && t.ctrlKey && e(t.currentTarget).prev().focus()
- },
- refresh: function () {
- var t = this.options;
- this._processPanels(), t.active === !1 && t.collapsible === !0 || !this.headers.length ? (t.active = !1, this.active = e()) : t.active === !1 ? this._activate(0) : this.active.length && !e.contains(this.element[0], this.active[0]) ? this.headers.length === this.headers.find(".ui-state-disabled").length ? (t.active = !1, this.active = e()) : this._activate(Math.max(0, t.active - 1)) : t.active = this.headers.index(this.active), this._destroyIcons(), this._refresh()
- },
- _processPanels: function () {
- var e = this.headers, t = this.panels;
- this.headers = this.element.find(this.options.header).addClass("ui-accordion-header ui-state-default ui-corner-all"), this.panels = this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide(), t && (this._off(e.not(this.headers)), this._off(t.not(this.panels)))
- },
- _refresh: function () {
- var t, i = this.options, s = i.heightStyle, n = this.element.parent();
- this.active = this._findActive(i.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"), this.active.next().addClass("ui-accordion-content-active").show(), this.headers.attr("role", "tab").each(function () {
- var t = e(this), i = t.uniqueId().attr("id"), s = t.next(), n = s.uniqueId().attr("id");
- t.attr("aria-controls", n), s.attr("aria-labelledby", i)
- }).next().attr("role", "tabpanel"), this.headers.not(this.active).attr({
- "aria-selected": "false",
- "aria-expanded": "false",
- tabIndex: -1
- }).next().attr({"aria-hidden": "true"}).hide(), this.active.length ? this.active.attr({
- "aria-selected": "true",
- "aria-expanded": "true",
- tabIndex: 0
- }).next().attr({"aria-hidden": "false"}) : this.headers.eq(0).attr("tabIndex", 0), this._createIcons(), this._setupEvents(i.event), "fill" === s ? (t = n.height(), this.element.siblings(":visible").each(function () {
- var i = e(this), s = i.css("position");
- "absolute" !== s && "fixed" !== s && (t -= i.outerHeight(!0))
- }), this.headers.each(function () {
- t -= e(this).outerHeight(!0)
- }), this.headers.next().each(function () {
- e(this).height(Math.max(0, t - e(this).innerHeight() + e(this).height()))
- }).css("overflow", "auto")) : "auto" === s && (t = 0, this.headers.next().each(function () {
- t = Math.max(t, e(this).css("height", "").height())
- }).height(t))
- },
- _activate: function (t) {
- var i = this._findActive(t)[0];
- i !== this.active[0] && (i = i || this.active[0], this._eventHandler({
- target: i,
- currentTarget: i,
- preventDefault: e.noop
- }))
- },
- _findActive: function (t) {
- return "number" == typeof t ? this.headers.eq(t) : e()
- },
- _setupEvents: function (t) {
- var i = {keydown: "_keydown"};
- t && e.each(t.split(" "), function (e, t) {
- i[t] = "_eventHandler"
- }), this._off(this.headers.add(this.headers.next())), this._on(this.headers, i), this._on(this.headers.next(), {keydown: "_panelKeyDown"}), this._hoverable(this.headers), this._focusable(this.headers)
- },
- _eventHandler: function (t) {
- var i = this.options, s = this.active, n = e(t.currentTarget), a = n[0] === s[0], o = a && i.collapsible, r = o ? e() : n.next(), h = s.next(), l = {
- oldHeader: s,
- oldPanel: h,
- newHeader: o ? e() : n,
- newPanel: r
- };
- t.preventDefault(), a && !i.collapsible || this._trigger("beforeActivate", t, l) === !1 || (i.active = o ? !1 : this.headers.index(n), this.active = a ? e() : n, this._toggle(l), s.removeClass("ui-accordion-header-active ui-state-active"), i.icons && s.children(".ui-accordion-header-icon").removeClass(i.icons.activeHeader).addClass(i.icons.header), a || (n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"), i.icons && n.children(".ui-accordion-header-icon").removeClass(i.icons.header).addClass(i.icons.activeHeader), n.next().addClass("ui-accordion-content-active")))
- },
- _toggle: function (t) {
- var i = t.newPanel, s = this.prevShow.length ? this.prevShow : t.oldPanel;
- this.prevShow.add(this.prevHide).stop(!0, !0), this.prevShow = i, this.prevHide = s, this.options.animate ? this._animate(i, s, t) : (s.hide(), i.show(), this._toggleComplete(t)), s.attr({"aria-hidden": "true"}), s.prev().attr({
- "aria-selected": "false",
- "aria-expanded": "false"
- }), i.length && s.length ? s.prev().attr({
- tabIndex: -1,
- "aria-expanded": "false"
- }) : i.length && this.headers.filter(function () {
- return 0 === parseInt(e(this).attr("tabIndex"), 10)
- }).attr("tabIndex", -1), i.attr("aria-hidden", "false").prev().attr({
- "aria-selected": "true",
- "aria-expanded": "true",
- tabIndex: 0
- })
- },
- _animate: function (e, t, i) {
- var s, n, a, o = this, r = 0, h = e.css("box-sizing"), l = e.length && (!t.length || e.index() < t.index()), u = this.options.animate || {}, d = l && u.down || u, c = function () {
- o._toggleComplete(i)
- };
- return "number" == typeof d && (a = d), "string" == typeof d && (n = d), n = n || d.easing || u.easing, a = a || d.duration || u.duration, t.length ? e.length ? (s = e.show().outerHeight(), t.animate(this.hideProps, {
- duration: a,
- easing: n,
- step: function (e, t) {
- t.now = Math.round(e)
- }
- }), e.hide().animate(this.showProps, {
- duration: a, easing: n, complete: c, step: function (e, i) {
- i.now = Math.round(e), "height" !== i.prop ? "content-box" === h && (r += i.now) : "content" !== o.options.heightStyle && (i.now = Math.round(s - t.outerHeight() - r), r = 0)
- }
- }), void 0) : t.animate(this.hideProps, a, n, c) : e.animate(this.showProps, a, n, c)
- },
- _toggleComplete: function (e) {
- var t = e.oldPanel;
- t.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"), t.length && (t.parent()[0].className = t.parent()[0].className), this._trigger("activate", null, e)
- }
- }), e.widget("ui.menu", {
- version: "1.11.4",
- defaultElement: "<ul>",
- delay: 300,
- options: {
- icons: {submenu: "ui-icon-carat-1-e"},
- items: "> *",
- menus: "ul",
- position: {my: "left-1 top", at: "right top"},
- role: "menu",
- blur: null,
- focus: null,
- select: null
- },
- _create: function () {
- this.activeMenu = this.element, this.mouseHandled = !1, this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content").toggleClass("ui-menu-icons", !!this.element.find(".ui-icon").length).attr({
- role: this.options.role,
- tabIndex: 0
- }), this.options.disabled && this.element.addClass("ui-state-disabled").attr("aria-disabled", "true"), this._on({
- "mousedown .ui-menu-item": function (e) {
- e.preventDefault()
- }, "click .ui-menu-item": function (t) {
- var i = e(t.target);
- !this.mouseHandled && i.not(".ui-state-disabled").length && (this.select(t), t.isPropagationStopped() || (this.mouseHandled = !0), i.has(".ui-menu").length ? this.expand(t) : !this.element.is(":focus") && e(this.document[0].activeElement).closest(".ui-menu").length && (this.element.trigger("focus", [!0]), this.active && 1 === this.active.parents(".ui-menu").length && clearTimeout(this.timer)))
- }, "mouseenter .ui-menu-item": function (t) {
- if (!this.previousFilter) {
- var i = e(t.currentTarget);
- i.siblings(".ui-state-active").removeClass("ui-state-active"), this.focus(t, i)
- }
- }, mouseleave: "collapseAll", "mouseleave .ui-menu": "collapseAll", focus: function (e, t) {
- var i = this.active || this.element.find(this.options.items).eq(0);
- t || this.focus(e, i)
- }, blur: function (t) {
- this._delay(function () {
- e.contains(this.element[0], this.document[0].activeElement) || this.collapseAll(t)
- })
- }, keydown: "_keydown"
- }), this.refresh(), this._on(this.document, {
- click: function (e) {
- this._closeOnDocumentClick(e) && this.collapseAll(e), this.mouseHandled = !1
- }
- })
- },
- _destroy: function () {
- this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-menu-icons ui-front").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(), this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").removeUniqueId().removeClass("ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function () {
- var t = e(this);
- t.data("ui-menu-submenu-carat") && t.remove()
- }), this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")
- },
- _keydown: function (t) {
- var i, s, n, a, o = !0;
- switch (t.keyCode) {
- case e.ui.keyCode.PAGE_UP:
- this.previousPage(t);
- break;
- case e.ui.keyCode.PAGE_DOWN:
- this.nextPage(t);
- break;
- case e.ui.keyCode.HOME:
- this._move("first", "first", t);
- break;
- case e.ui.keyCode.END:
- this._move("last", "last", t);
- break;
- case e.ui.keyCode.UP:
- this.previous(t);
- break;
- case e.ui.keyCode.DOWN:
- this.next(t);
- break;
- case e.ui.keyCode.LEFT:
- this.collapse(t);
- break;
- case e.ui.keyCode.RIGHT:
- this.active && !this.active.is(".ui-state-disabled") && this.expand(t);
- break;
- case e.ui.keyCode.ENTER:
- case e.ui.keyCode.SPACE:
- this._activate(t);
- break;
- case e.ui.keyCode.ESCAPE:
- this.collapse(t);
- break;
- default:
- o = !1, s = this.previousFilter || "", n = String.fromCharCode(t.keyCode), a = !1, clearTimeout(this.filterTimer), n === s ? a = !0 : n = s + n, i = this._filterMenuItems(n), i = a && -1 !== i.index(this.active.next()) ? this.active.nextAll(".ui-menu-item") : i, i.length || (n = String.fromCharCode(t.keyCode), i = this._filterMenuItems(n)), i.length ? (this.focus(t, i), this.previousFilter = n, this.filterTimer = this._delay(function () {
- delete this.previousFilter
- }, 1e3)) : delete this.previousFilter
- }
- o && t.preventDefault()
- },
- _activate: function (e) {
- this.active.is(".ui-state-disabled") || (this.active.is("[aria-haspopup='true']") ? this.expand(e) : this.select(e))
- },
- refresh: function () {
- var t, i, s = this, n = this.options.icons.submenu, a = this.element.find(this.options.menus);
- this.element.toggleClass("ui-menu-icons", !!this.element.find(".ui-icon").length), a.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-front").hide().attr({
- role: this.options.role,
- "aria-hidden": "true",
- "aria-expanded": "false"
- }).each(function () {
- var t = e(this), i = t.parent(), s = e("<span>").addClass("ui-menu-icon ui-icon " + n).data("ui-menu-submenu-carat", !0);
- i.attr("aria-haspopup", "true").prepend(s), t.attr("aria-labelledby", i.attr("id"))
- }), t = a.add(this.element), i = t.find(this.options.items), i.not(".ui-menu-item").each(function () {
- var t = e(this);
- s._isDivider(t) && t.addClass("ui-widget-content ui-menu-divider")
- }), i.not(".ui-menu-item, .ui-menu-divider").addClass("ui-menu-item").uniqueId().attr({
- tabIndex: -1,
- role: this._itemRole()
- }), i.filter(".ui-state-disabled").attr("aria-disabled", "true"), this.active && !e.contains(this.element[0], this.active[0]) && this.blur()
- },
- _itemRole: function () {
- return {menu: "menuitem", listbox: "option"}[this.options.role]
- },
- _setOption: function (e, t) {
- "icons" === e && this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(t.submenu), "disabled" === e && this.element.toggleClass("ui-state-disabled", !!t).attr("aria-disabled", t), this._super(e, t)
- },
- focus: function (e, t) {
- var i, s;
- this.blur(e, e && "focus" === e.type), this._scrollIntoView(t), this.active = t.first(), s = this.active.addClass("ui-state-focus").removeClass("ui-state-active"), this.options.role && this.element.attr("aria-activedescendant", s.attr("id")), this.active.parent().closest(".ui-menu-item").addClass("ui-state-active"), e && "keydown" === e.type ? this._close() : this.timer = this._delay(function () {
- this._close()
- }, this.delay), i = t.children(".ui-menu"), i.length && e && /^mouse/.test(e.type) && this._startOpening(i), this.activeMenu = t.parent(), this._trigger("focus", e, {item: t})
- },
- _scrollIntoView: function (t) {
- var i, s, n, a, o, r;
- this._hasScroll() && (i = parseFloat(e.css(this.activeMenu[0], "borderTopWidth")) || 0, s = parseFloat(e.css(this.activeMenu[0], "paddingTop")) || 0, n = t.offset().top - this.activeMenu.offset().top - i - s, a = this.activeMenu.scrollTop(), o = this.activeMenu.height(), r = t.outerHeight(), 0 > n ? this.activeMenu.scrollTop(a + n) : n + r > o && this.activeMenu.scrollTop(a + n - o + r))
- },
- blur: function (e, t) {
- t || clearTimeout(this.timer), this.active && (this.active.removeClass("ui-state-focus"), this.active = null, this._trigger("blur", e, {item: this.active}))
- },
- _startOpening: function (e) {
- clearTimeout(this.timer), "true" === e.attr("aria-hidden") && (this.timer = this._delay(function () {
- this._close(), this._open(e)
- }, this.delay))
- },
- _open: function (t) {
- var i = e.extend({of: this.active}, this.options.position);
- clearTimeout(this.timer), this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden", "true"), t.show().removeAttr("aria-hidden").attr("aria-expanded", "true").position(i)
- },
- collapseAll: function (t, i) {
- clearTimeout(this.timer), this.timer = this._delay(function () {
- var s = i ? this.element : e(t && t.target).closest(this.element.find(".ui-menu"));
- s.length || (s = this.element), this._close(s), this.blur(t), this.activeMenu = s
- }, this.delay)
- },
- _close: function (e) {
- e || (e = this.active ? this.active.parent() : this.element), e.find(".ui-menu").hide().attr("aria-hidden", "true").attr("aria-expanded", "false").end().find(".ui-state-active").not(".ui-state-focus").removeClass("ui-state-active")
- },
- _closeOnDocumentClick: function (t) {
- return !e(t.target).closest(".ui-menu").length
- },
- _isDivider: function (e) {
- return !/[^\-\u2014\u2013\s]/.test(e.text())
- },
- collapse: function (e) {
- var t = this.active && this.active.parent().closest(".ui-menu-item", this.element);
- t && t.length && (this._close(), this.focus(e, t))
- },
- expand: function (e) {
- var t = this.active && this.active.children(".ui-menu ").find(this.options.items).first();
- t && t.length && (this._open(t.parent()), this._delay(function () {
- this.focus(e, t)
- }))
- },
- next: function (e) {
- this._move("next", "first", e)
- },
- previous: function (e) {
- this._move("prev", "last", e)
- },
- isFirstItem: function () {
- return this.active && !this.active.prevAll(".ui-menu-item").length
- },
- isLastItem: function () {
- return this.active && !this.active.nextAll(".ui-menu-item").length
- },
- _move: function (e, t, i) {
- var s;
- this.active && (s = "first" === e || "last" === e ? this.active["first" === e ? "prevAll" : "nextAll"](".ui-menu-item").eq(-1) : this.active[e + "All"](".ui-menu-item").eq(0)), s && s.length && this.active || (s = this.activeMenu.find(this.options.items)[t]()), this.focus(i, s)
- },
- nextPage: function (t) {
- var i, s, n;
- return this.active ? (this.isLastItem() || (this._hasScroll() ? (s = this.active.offset().top, n = this.element.height(), this.active.nextAll(".ui-menu-item").each(function () {
- return i = e(this), 0 > i.offset().top - s - n
- }), this.focus(t, i)) : this.focus(t, this.activeMenu.find(this.options.items)[this.active ? "last" : "first"]())), void 0) : (this.next(t), void 0)
- },
- previousPage: function (t) {
- var i, s, n;
- return this.active ? (this.isFirstItem() || (this._hasScroll() ? (s = this.active.offset().top, n = this.element.height(), this.active.prevAll(".ui-menu-item").each(function () {
- return i = e(this), i.offset().top - s + n > 0
- }), this.focus(t, i)) : this.focus(t, this.activeMenu.find(this.options.items).first())), void 0) : (this.next(t), void 0)
- },
- _hasScroll: function () {
- return this.element.outerHeight() < this.element.prop("scrollHeight")
- },
- select: function (t) {
- this.active = this.active || e(t.target).closest(".ui-menu-item");
- var i = {item: this.active};
- this.active.has(".ui-menu").length || this.collapseAll(t, !0), this._trigger("select", t, i)
- },
- _filterMenuItems: function (t) {
- var i = t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&"), s = RegExp("^" + i, "i");
- return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function () {
- return s.test(e.trim(e(this).text()))
- })
- }
- }), e.widget("ui.autocomplete", {
- version: "1.11.4",
- defaultElement: "<input>",
- options: {
- appendTo: null,
- autoFocus: !1,
- delay: 300,
- minLength: 1,
- position: {my: "left top", at: "left bottom", collision: "none"},
- source: null,
- change: null,
- close: null,
- focus: null,
- open: null,
- response: null,
- search: null,
- select: null
- },
- requestIndex: 0,
- pending: 0,
- _create: function () {
- var t, i, s, n = this.element[0].nodeName.toLowerCase(), a = "textarea" === n, o = "input" === n;
- this.isMultiLine = a ? !0 : o ? !1 : this.element.prop("isContentEditable"), this.valueMethod = this.element[a || o ? "val" : "text"], this.isNewMenu = !0, this.element.addClass("ui-autocomplete-input").attr("autocomplete", "off"), this._on(this.element, {
- keydown: function (n) {
- if (this.element.prop("readOnly"))return t = !0, s = !0, i = !0, void 0;
- t = !1, s = !1, i = !1;
- var a = e.ui.keyCode;
- switch (n.keyCode) {
- case a.PAGE_UP:
- t = !0, this._move("previousPage", n);
- break;
- case a.PAGE_DOWN:
- t = !0, this._move("nextPage", n);
- break;
- case a.UP:
- t = !0, this._keyEvent("previous", n);
- break;
- case a.DOWN:
- t = !0, this._keyEvent("next", n);
- break;
- case a.ENTER:
- this.menu.active && (t = !0, n.preventDefault(), this.menu.select(n));
- break;
- case a.TAB:
- this.menu.active && this.menu.select(n);
- break;
- case a.ESCAPE:
- this.menu.element.is(":visible") && (this.isMultiLine || this._value(this.term), this.close(n), n.preventDefault());
- break;
- default:
- i = !0, this._searchTimeout(n)
- }
- }, keypress: function (s) {
- if (t)return t = !1, (!this.isMultiLine || this.menu.element.is(":visible")) && s.preventDefault(), void 0;
- if (!i) {
- var n = e.ui.keyCode;
- switch (s.keyCode) {
- case n.PAGE_UP:
- this._move("previousPage", s);
- break;
- case n.PAGE_DOWN:
- this._move("nextPage", s);
- break;
- case n.UP:
- this._keyEvent("previous", s);
- break;
- case n.DOWN:
- this._keyEvent("next", s)
- }
- }
- }, input: function (e) {
- return s ? (s = !1, e.preventDefault(), void 0) : (this._searchTimeout(e), void 0)
- }, focus: function () {
- this.selectedItem = null, this.previous = this._value()
- }, blur: function (e) {
- return this.cancelBlur ? (delete this.cancelBlur, void 0) : (clearTimeout(this.searching), this.close(e), this._change(e), void 0)
- }
- }), this._initSource(), this.menu = e("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role: null}).hide().menu("instance"), this._on(this.menu.element, {
- mousedown: function (t) {
- t.preventDefault(), this.cancelBlur = !0, this._delay(function () {
- delete this.cancelBlur
- });
- var i = this.menu.element[0];
- e(t.target).closest(".ui-menu-item").length || this._delay(function () {
- var t = this;
- this.document.one("mousedown", function (s) {
- s.target === t.element[0] || s.target === i || e.contains(i, s.target) || t.close()
- })
- })
- }, menufocus: function (t, i) {
- var s, n;
- return this.isNewMenu && (this.isNewMenu = !1, t.originalEvent && /^mouse/.test(t.originalEvent.type)) ? (this.menu.blur(), this.document.one("mousemove", function () {
- e(t.target).trigger(t.originalEvent)
- }), void 0) : (n = i.item.data("ui-autocomplete-item"), !1 !== this._trigger("focus", t, {item: n}) && t.originalEvent && /^key/.test(t.originalEvent.type) && this._value(n.value), s = i.item.attr("aria-label") || n.value, s && e.trim(s).length && (this.liveRegion.children().hide(), e("<div>").text(s).appendTo(this.liveRegion)), void 0)
- }, menuselect: function (e, t) {
- var i = t.item.data("ui-autocomplete-item"), s = this.previous;
- this.element[0] !== this.document[0].activeElement && (this.element.focus(), this.previous = s, this._delay(function () {
- this.previous = s, this.selectedItem = i
- })), !1 !== this._trigger("select", e, {item: i}) && this._value(i.value), this.term = this._value(), this.close(e), this.selectedItem = i
- }
- }), this.liveRegion = e("<span>", {
- role: "status",
- "aria-live": "assertive",
- "aria-relevant": "additions"
- }).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body), this._on(this.window, {
- beforeunload: function () {
- this.element.removeAttr("autocomplete")
- }
- })
- },
- _destroy: function () {
- clearTimeout(this.searching), this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"), this.menu.element.remove(), this.liveRegion.remove()
- },
- _setOption: function (e, t) {
- this._super(e, t), "source" === e && this._initSource(), "appendTo" === e && this.menu.element.appendTo(this._appendTo()), "disabled" === e && t && this.xhr && this.xhr.abort()
- },
- _appendTo: function () {
- var t = this.options.appendTo;
- return t && (t = t.jquery || t.nodeType ? e(t) : this.document.find(t).eq(0)), t && t[0] || (t = this.element.closest(".ui-front")), t.length || (t = this.document[0].body), t
- },
- _initSource: function () {
- var t, i, s = this;
- e.isArray(this.options.source) ? (t = this.options.source, this.source = function (i, s) {
- s(e.ui.autocomplete.filter(t, i.term))
- }) : "string" == typeof this.options.source ? (i = this.options.source, this.source = function (t, n) {
- s.xhr && s.xhr.abort(), s.xhr = e.ajax({
- url: i, data: t, dataType: "json", success: function (e) {
- n(e)
- }, error: function () {
- n([])
- }
- })
- }) : this.source = this.options.source
- },
- _searchTimeout: function (e) {
- clearTimeout(this.searching), this.searching = this._delay(function () {
- var t = this.term === this._value(), i = this.menu.element.is(":visible"), s = e.altKey || e.ctrlKey || e.metaKey || e.shiftKey;
- (!t || t && !i && !s) && (this.selectedItem = null, this.search(null, e))
- }, this.options.delay)
- },
- search: function (e, t) {
- return e = null != e ? e : this._value(), this.term = this._value(), e.length < this.options.minLength ? this.close(t) : this._trigger("search", t) !== !1 ? this._search(e) : void 0
- },
- _search: function (e) {
- this.pending++, this.element.addClass("ui-autocomplete-loading"), this.cancelSearch = !1, this.source({term: e}, this._response())
- },
- _response: function () {
- var t = ++this.requestIndex;
- return e.proxy(function (e) {
- t === this.requestIndex && this.__response(e), this.pending--, this.pending || this.element.removeClass("ui-autocomplete-loading")
- }, this)
- },
- __response: function (e) {
- e && (e = this._normalize(e)), this._trigger("response", null, {content: e}), !this.options.disabled && e && e.length && !this.cancelSearch ? (this._suggest(e), this._trigger("open")) : this._close()
- },
- close: function (e) {
- this.cancelSearch = !0, this._close(e)
- },
- _close: function (e) {
- this.menu.element.is(":visible") && (this.menu.element.hide(), this.menu.blur(), this.isNewMenu = !0, this._trigger("close", e))
- },
- _change: function (e) {
- this.previous !== this._value() && this._trigger("change", e, {item: this.selectedItem})
- },
- _normalize: function (t) {
- return t.length && t[0].label && t[0].value ? t : e.map(t, function (t) {
- return "string" == typeof t ? {label: t, value: t} : e.extend({}, t, {
- label: t.label || t.value,
- value: t.value || t.label
- })
- })
- },
- _suggest: function (t) {
- var i = this.menu.element.empty();
- this._renderMenu(i, t), this.isNewMenu = !0, this.menu.refresh(), i.show(), this._resizeMenu(), i.position(e.extend({of: this.element}, this.options.position)), this.options.autoFocus && this.menu.next()
- },
- _resizeMenu: function () {
- var e = this.menu.element;
- e.outerWidth(Math.max(e.width("").outerWidth() + 1, this.element.outerWidth()))
- },
- _renderMenu: function (t, i) {
- var s = this;
- e.each(i, function (e, i) {
- s._renderItemData(t, i)
- })
- },
- _renderItemData: function (e, t) {
- return this._renderItem(e, t).data("ui-autocomplete-item", t)
- },
- _renderItem: function (t, i) {
- return e("<li>").text(i.label).appendTo(t)
- },
- _move: function (e, t) {
- return this.menu.element.is(":visible") ? this.menu.isFirstItem() && /^previous/.test(e) || this.menu.isLastItem() && /^next/.test(e) ? (this.isMultiLine || this._value(this.term), this.menu.blur(), void 0) : (this.menu[e](t), void 0) : (this.search(null, t), void 0)
- },
- widget: function () {
- return this.menu.element
- },
- _value: function () {
- return this.valueMethod.apply(this.element, arguments)
- },
- _keyEvent: function (e, t) {
- (!this.isMultiLine || this.menu.element.is(":visible")) && (this._move(e, t), t.preventDefault())
- }
- }), e.extend(e.ui.autocomplete, {
- escapeRegex: function (e) {
- return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&")
- }, filter: function (t, i) {
- var s = RegExp(e.ui.autocomplete.escapeRegex(i), "i");
- return e.grep(t, function (e) {
- return s.test(e.label || e.value || e)
- })
- }
- }), e.widget("ui.autocomplete", e.ui.autocomplete, {
- options: {
- messages: {
- noResults: "No search results.",
- results: function (e) {
- return e + (e > 1 ? " results are" : " result is") + " available, use up and down arrow keys to navigate."
- }
- }
- }, __response: function (t) {
- var i;
- this._superApply(arguments), this.options.disabled || this.cancelSearch || (i = t && t.length ? this.options.messages.results(t.length) : this.options.messages.noResults, this.liveRegion.children().hide(), e("<div>").text(i).appendTo(this.liveRegion))
- }
- }), e.ui.autocomplete;
- var c, p = "ui-button ui-widget ui-state-default ui-corner-all", f = "ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only", m = function () {
- var t = e(this);
- setTimeout(function () {
- t.find(":ui-button").button("refresh")
- }, 1)
- }, g = function (t) {
- var i = t.name, s = t.form, n = e([]);
- return i && (i = i.replace(/'/g, "\\'"), n = s ? e(s).find("[name='" + i + "'][type=radio]") : e("[name='" + i + "'][type=radio]", t.ownerDocument).filter(function () {
- return !this.form
- })), n
- };
- e.widget("ui.button", {
- version: "1.11.4",
- defaultElement: "<button>",
- options: {disabled: null, text: !0, label: null, icons: {primary: null, secondary: null}},
- _create: function () {
- this.element.closest("form").unbind("reset" + this.eventNamespace).bind("reset" + this.eventNamespace, m), "boolean" != typeof this.options.disabled ? this.options.disabled = !!this.element.prop("disabled") : this.element.prop("disabled", this.options.disabled), this._determineButtonType(), this.hasTitle = !!this.buttonElement.attr("title");
- var t = this, i = this.options, s = "checkbox" === this.type || "radio" === this.type, n = s ? "" : "ui-state-active";
- null === i.label && (i.label = "input" === this.type ? this.buttonElement.val() : this.buttonElement.html()), this._hoverable(this.buttonElement), this.buttonElement.addClass(p).attr("role", "button").bind("mouseenter" + this.eventNamespace, function () {
- i.disabled || this === c && e(this).addClass("ui-state-active")
- }).bind("mouseleave" + this.eventNamespace, function () {
- i.disabled || e(this).removeClass(n)
- }).bind("click" + this.eventNamespace, function (e) {
- i.disabled && (e.preventDefault(), e.stopImmediatePropagation())
- }), this._on({
- focus: function () {
- this.buttonElement.addClass("ui-state-focus")
- }, blur: function () {
- this.buttonElement.removeClass("ui-state-focus")
- }
- }), s && this.element.bind("change" + this.eventNamespace, function () {
- t.refresh()
- }), "checkbox" === this.type ? this.buttonElement.bind("click" + this.eventNamespace, function () {
- return i.disabled ? !1 : void 0
- }) : "radio" === this.type ? this.buttonElement.bind("click" + this.eventNamespace, function () {
- if (i.disabled)return !1;
- e(this).addClass("ui-state-active"), t.buttonElement.attr("aria-pressed", "true");
- var s = t.element[0];
- g(s).not(s).map(function () {
- return e(this).button("widget")[0]
- }).removeClass("ui-state-active").attr("aria-pressed", "false")
- }) : (this.buttonElement.bind("mousedown" + this.eventNamespace, function () {
- return i.disabled ? !1 : (e(this).addClass("ui-state-active"), c = this, t.document.one("mouseup", function () {
- c = null
- }), void 0)
- }).bind("mouseup" + this.eventNamespace, function () {
- return i.disabled ? !1 : (e(this).removeClass("ui-state-active"), void 0)
- }).bind("keydown" + this.eventNamespace, function (t) {
- return i.disabled ? !1 : ((t.keyCode === e.ui.keyCode.SPACE || t.keyCode === e.ui.keyCode.ENTER) && e(this).addClass("ui-state-active"), void 0)
- }).bind("keyup" + this.eventNamespace + " blur" + this.eventNamespace, function () {
- e(this).removeClass("ui-state-active")
- }), this.buttonElement.is("a") && this.buttonElement.keyup(function (t) {
- t.keyCode === e.ui.keyCode.SPACE && e(this).click()
- })), this._setOption("disabled", i.disabled), this._resetButton()
- },
- _determineButtonType: function () {
- var e, t, i;
- this.type = this.element.is("[type=checkbox]") ? "checkbox" : this.element.is("[type=radio]") ? "radio" : this.element.is("input") ? "input" : "button", "checkbox" === this.type || "radio" === this.type ? (e = this.element.parents().last(), t = "label[for='" + this.element.attr("id") + "']", this.buttonElement = e.find(t), this.buttonElement.length || (e = e.length ? e.siblings() : this.element.siblings(), this.buttonElement = e.filter(t), this.buttonElement.length || (this.buttonElement = e.find(t))), this.element.addClass("ui-helper-hidden-accessible"), i = this.element.is(":checked"), i && this.buttonElement.addClass("ui-state-active"), this.buttonElement.prop("aria-pressed", i)) : this.buttonElement = this.element
- },
- widget: function () {
- return this.buttonElement
- },
- _destroy: function () {
- this.element.removeClass("ui-helper-hidden-accessible"), this.buttonElement.removeClass(p + " ui-state-active " + f).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()), this.hasTitle || this.buttonElement.removeAttr("title")
- },
- _setOption: function (e, t) {
- return this._super(e, t), "disabled" === e ? (this.widget().toggleClass("ui-state-disabled", !!t), this.element.prop("disabled", !!t), t && ("checkbox" === this.type || "radio" === this.type ? this.buttonElement.removeClass("ui-state-focus") : this.buttonElement.removeClass("ui-state-focus ui-state-active")), void 0) : (this._resetButton(), void 0)
- },
- refresh: function () {
- var t = this.element.is("input, button") ? this.element.is(":disabled") : this.element.hasClass("ui-button-disabled");
- t !== this.options.disabled && this._setOption("disabled", t), "radio" === this.type ? g(this.element[0]).each(function () {
- e(this).is(":checked") ? e(this).button("widget").addClass("ui-state-active").attr("aria-pressed", "true") : e(this).button("widget").removeClass("ui-state-active").attr("aria-pressed", "false")
- }) : "checkbox" === this.type && (this.element.is(":checked") ? this.buttonElement.addClass("ui-state-active").attr("aria-pressed", "true") : this.buttonElement.removeClass("ui-state-active").attr("aria-pressed", "false"))
- },
- _resetButton: function () {
- if ("input" === this.type)return this.options.label && this.element.val(this.options.label), void 0;
- var t = this.buttonElement.removeClass(f), i = e("<span></span>", this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(t.empty()).text(), s = this.options.icons, n = s.primary && s.secondary, a = [];
- s.primary || s.secondary ? (this.options.text && a.push("ui-button-text-icon" + (n ? "s" : s.primary ? "-primary" : "-secondary")), s.primary && t.prepend("<span class='ui-button-icon-primary ui-icon " + s.primary + "'></span>"), s.secondary && t.append("<span class='ui-button-icon-secondary ui-icon " + s.secondary + "'></span>"), this.options.text || (a.push(n ? "ui-button-icons-only" : "ui-button-icon-only"), this.hasTitle || t.attr("title", e.trim(i)))) : a.push("ui-button-text-only"), t.addClass(a.join(" "))
- }
- }), e.widget("ui.buttonset", {
- version: "1.11.4",
- options: {items: "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},
- _create: function () {
- this.element.addClass("ui-buttonset")
- },
- _init: function () {
- this.refresh()
- },
- _setOption: function (e, t) {
- "disabled" === e && this.buttons.button("option", e, t), this._super(e, t)
- },
- refresh: function () {
- var t = "rtl" === this.element.css("direction"), i = this.element.find(this.options.items), s = i.filter(":ui-button");
- i.not(":ui-button").button(), s.button("refresh"), this.buttons = i.map(function () {
- return e(this).button("widget")[0]
- }).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(t ? "ui-corner-right" : "ui-corner-left").end().filter(":last").addClass(t ? "ui-corner-left" : "ui-corner-right").end().end()
- },
- _destroy: function () {
- this.element.removeClass("ui-buttonset"), this.buttons.map(function () {
- return e(this).button("widget")[0]
- }).removeClass("ui-corner-left ui-corner-right").end().button("destroy")
- }
- }), e.ui.button, e.extend(e.ui, {datepicker: {version: "1.11.4"}});
- var v;
- e.extend(n.prototype, {
- markerClassName: "hasDatepicker",
- maxRows: 4,
- _widgetDatepicker: function () {
- return this.dpDiv
- },
- setDefaults: function (e) {
- return r(this._defaults, e || {}), this
- },
- _attachDatepicker: function (t, i) {
- var s, n, a;
- s = t.nodeName.toLowerCase(), n = "div" === s || "span" === s, t.id || (this.uuid += 1, t.id = "dp" + this.uuid), a = this._newInst(e(t), n), a.settings = e.extend({}, i || {}), "input" === s ? this._connectDatepicker(t, a) : n && this._inlineDatepicker(t, a)
- },
- _newInst: function (t, i) {
- var s = t[0].id.replace(/([^A-Za-z0-9_\-])/g, "\\\\$1");
- return {
- id: s,
- input: t,
- selectedDay: 0,
- selectedMonth: 0,
- selectedYear: 0,
- drawMonth: 0,
- drawYear: 0,
- inline: i,
- dpDiv: i ? a(e("<div class='" + this._inlineClass + " ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")) : this.dpDiv
- }
- },
- _connectDatepicker: function (t, i) {
- var s = e(t);
- i.append = e([]), i.trigger = e([]), s.hasClass(this.markerClassName) || (this._attachments(s, i), s.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp), this._autoSize(i), e.data(t, "datepicker", i), i.settings.disabled && this._disableDatepicker(t))
- },
- _attachments: function (t, i) {
- var s, n, a, o = this._get(i, "appendText"), r = this._get(i, "isRTL");
- i.append && i.append.remove(), o && (i.append = e("<span class='" + this._appendClass + "'>" + o + "</span>"), t[r ? "before" : "after"](i.append)), t.unbind("focus", this._showDatepicker), i.trigger && i.trigger.remove(), s = this._get(i, "showOn"), ("focus" === s || "both" === s) && t.focus(this._showDatepicker), ("button" === s || "both" === s) && (n = this._get(i, "buttonText"), a = this._get(i, "buttonImage"), i.trigger = e(this._get(i, "buttonImageOnly") ? e("<img/>").addClass(this._triggerClass).attr({
- src: a,
- alt: n,
- title: n
- }) : e("<button type='button'></button>").addClass(this._triggerClass).html(a ? e("<img/>").attr({
- src: a,
- alt: n,
- title: n
- }) : n)), t[r ? "before" : "after"](i.trigger), i.trigger.click(function () {
- return e.datepicker._datepickerShowing && e.datepicker._lastInput === t[0] ? e.datepicker._hideDatepicker() : e.datepicker._datepickerShowing && e.datepicker._lastInput !== t[0] ? (e.datepicker._hideDatepicker(), e.datepicker._showDatepicker(t[0])) : e.datepicker._showDatepicker(t[0]), !1
- }))
- },
- _autoSize: function (e) {
- if (this._get(e, "autoSize") && !e.inline) {
- var t, i, s, n, a = new Date(2009, 11, 20), o = this._get(e, "dateFormat");
- o.match(/[DM]/) && (t = function (e) {
- for (i = 0, s = 0, n = 0; e.length > n; n++)e[n].length > i && (i = e[n].length, s = n);
- return s
- }, a.setMonth(t(this._get(e, o.match(/MM/) ? "monthNames" : "monthNamesShort"))), a.setDate(t(this._get(e, o.match(/DD/) ? "dayNames" : "dayNamesShort")) + 20 - a.getDay())), e.input.attr("size", this._formatDate(e, a).length)
- }
- },
- _inlineDatepicker: function (t, i) {
- var s = e(t);
- s.hasClass(this.markerClassName) || (s.addClass(this.markerClassName).append(i.dpDiv), e.data(t, "datepicker", i), this._setDate(i, this._getDefaultDate(i), !0), this._updateDatepicker(i), this._updateAlternate(i), i.settings.disabled && this._disableDatepicker(t), i.dpDiv.css("display", "block"))
- },
- _dialogDatepicker: function (t, i, s, n, a) {
- var o, h, l, u, d, c = this._dialogInst;
- return c || (this.uuid += 1, o = "dp" + this.uuid, this._dialogInput = e("<input type='text' id='" + o + "' style='position: absolute; top: -100px; width: 0px;'/>"), this._dialogInput.keydown(this._doKeyDown), e("body").append(this._dialogInput), c = this._dialogInst = this._newInst(this._dialogInput, !1), c.settings = {}, e.data(this._dialogInput[0], "datepicker", c)), r(c.settings, n || {}), i = i && i.constructor === Date ? this._formatDate(c, i) : i, this._dialogInput.val(i), this._pos = a ? a.length ? a : [a.pageX, a.pageY] : null, this._pos || (h = document.documentElement.clientWidth, l = document.documentElement.clientHeight, u = document.documentElement.scrollLeft || document.body.scrollLeft, d = document.documentElement.scrollTop || document.body.scrollTop, this._pos = [h / 2 - 100 + u, l / 2 - 150 + d]), this._dialogInput.css("left", this._pos[0] + 20 + "px").css("top", this._pos[1] + "px"), c.settings.onSelect = s, this._inDialog = !0, this.dpDiv.addClass(this._dialogClass), this._showDatepicker(this._dialogInput[0]), e.blockUI && e.blockUI(this.dpDiv), e.data(this._dialogInput[0], "datepicker", c), this
- },
- _destroyDatepicker: function (t) {
- var i, s = e(t), n = e.data(t, "datepicker");
- s.hasClass(this.markerClassName) && (i = t.nodeName.toLowerCase(), e.removeData(t, "datepicker"), "input" === i ? (n.append.remove(), n.trigger.remove(), s.removeClass(this.markerClassName).unbind("focus", this._showDatepicker).unbind("keydown", this._doKeyDown).unbind("keypress", this._doKeyPress).unbind("keyup", this._doKeyUp)) : ("div" === i || "span" === i) && s.removeClass(this.markerClassName).empty(), v === n && (v = null))
- },
- _enableDatepicker: function (t) {
- var i, s, n = e(t), a = e.data(t, "datepicker");
- n.hasClass(this.markerClassName) && (i = t.nodeName.toLowerCase(), "input" === i ? (t.disabled = !1, a.trigger.filter("button").each(function () {
- this.disabled = !1
- }).end().filter("img").css({
- opacity: "1.0",
- cursor: ""
- })) : ("div" === i || "span" === i) && (s = n.children("." + this._inlineClass), s.children().removeClass("ui-state-disabled"), s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled", !1)), this._disabledInputs = e.map(this._disabledInputs, function (e) {
- return e === t ? null : e
- }))
- },
- _disableDatepicker: function (t) {
- var i, s, n = e(t), a = e.data(t, "datepicker");
- n.hasClass(this.markerClassName) && (i = t.nodeName.toLowerCase(), "input" === i ? (t.disabled = !0, a.trigger.filter("button").each(function () {
- this.disabled = !0
- }).end().filter("img").css({
- opacity: "0.5",
- cursor: "default"
- })) : ("div" === i || "span" === i) && (s = n.children("." + this._inlineClass), s.children().addClass("ui-state-disabled"), s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled", !0)), this._disabledInputs = e.map(this._disabledInputs, function (e) {
- return e === t ? null : e
- }), this._disabledInputs[this._disabledInputs.length] = t)
- },
- _isDisabledDatepicker: function (e) {
- if (!e)return !1;
- for (var t = 0; this._disabledInputs.length > t; t++)if (this._disabledInputs[t] === e)return !0;
- return !1
- },
- _getInst: function (t) {
- try {
- return e.data(t, "datepicker")
- } catch (i) {
- throw"Missing instance data for this datepicker"
- }
- },
- _optionDatepicker: function (t, i, s) {
- var n, a, o, h, l = this._getInst(t);
- return 2 === arguments.length && "string" == typeof i ? "defaults" === i ? e.extend({}, e.datepicker._defaults) : l ? "all" === i ? e.extend({}, l.settings) : this._get(l, i) : null : (n = i || {}, "string" == typeof i && (n = {}, n[i] = s), l && (this._curInst === l && this._hideDatepicker(), a = this._getDateDatepicker(t, !0), o = this._getMinMaxDate(l, "min"), h = this._getMinMaxDate(l, "max"), r(l.settings, n), null !== o && void 0 !== n.dateFormat && void 0 === n.minDate && (l.settings.minDate = this._formatDate(l, o)), null !== h && void 0 !== n.dateFormat && void 0 === n.maxDate && (l.settings.maxDate = this._formatDate(l, h)), "disabled"in n && (n.disabled ? this._disableDatepicker(t) : this._enableDatepicker(t)), this._attachments(e(t), l), this._autoSize(l), this._setDate(l, a), this._updateAlternate(l), this._updateDatepicker(l)), void 0)
- },
- _changeDatepicker: function (e, t, i) {
- this._optionDatepicker(e, t, i)
- },
- _refreshDatepicker: function (e) {
- var t = this._getInst(e);
- t && this._updateDatepicker(t)
- },
- _setDateDatepicker: function (e, t) {
- var i = this._getInst(e);
- i && (this._setDate(i, t), this._updateDatepicker(i), this._updateAlternate(i))
- },
- _getDateDatepicker: function (e, t) {
- var i = this._getInst(e);
- return i && !i.inline && this._setDateFromField(i, t), i ? this._getDate(i) : null
- },
- _doKeyDown: function (t) {
- var i, s, n, a = e.datepicker._getInst(t.target), o = !0, r = a.dpDiv.is(".ui-datepicker-rtl");
- if (a._keyEvent = !0, e.datepicker._datepickerShowing)switch (t.keyCode) {
- case 9:
- e.datepicker._hideDatepicker(), o = !1;
- break;
- case 13:
- return n = e("td." + e.datepicker._dayOverClass + ":not(." + e.datepicker._currentClass + ")", a.dpDiv), n[0] && e.datepicker._selectDay(t.target, a.selectedMonth, a.selectedYear, n[0]), i = e.datepicker._get(a, "onSelect"), i ? (s = e.datepicker._formatDate(a), i.apply(a.input ? a.input[0] : null, [s, a])) : e.datepicker._hideDatepicker(), !1;
- case 27:
- e.datepicker._hideDatepicker();
- break;
- case 33:
- e.datepicker._adjustDate(t.target, t.ctrlKey ? -e.datepicker._get(a, "stepBigMonths") : -e.datepicker._get(a, "stepMonths"), "M");
- break;
- case 34:
- e.datepicker._adjustDate(t.target, t.ctrlKey ? +e.datepicker._get(a, "stepBigMonths") : +e.datepicker._get(a, "stepMonths"), "M");
- break;
- case 35:
- (t.ctrlKey || t.metaKey) && e.datepicker._clearDate(t.target), o = t.ctrlKey || t.metaKey;
- break;
- case 36:
- (t.ctrlKey || t.metaKey) && e.datepicker._gotoToday(t.target), o = t.ctrlKey || t.metaKey;
- break;
- case 37:
- (t.ctrlKey || t.metaKey) && e.datepicker._adjustDate(t.target, r ? 1 : -1, "D"), o = t.ctrlKey || t.metaKey, t.originalEvent.altKey && e.datepicker._adjustDate(t.target, t.ctrlKey ? -e.datepicker._get(a, "stepBigMonths") : -e.datepicker._get(a, "stepMonths"), "M");
- break;
- case 38:
- (t.ctrlKey || t.metaKey) && e.datepicker._adjustDate(t.target, -7, "D"), o = t.ctrlKey || t.metaKey;
- break;
- case 39:
- (t.ctrlKey || t.metaKey) && e.datepicker._adjustDate(t.target, r ? -1 : 1, "D"), o = t.ctrlKey || t.metaKey, t.originalEvent.altKey && e.datepicker._adjustDate(t.target, t.ctrlKey ? +e.datepicker._get(a, "stepBigMonths") : +e.datepicker._get(a, "stepMonths"), "M");
- break;
- case 40:
- (t.ctrlKey || t.metaKey) && e.datepicker._adjustDate(t.target, 7, "D"), o = t.ctrlKey || t.metaKey;
- break;
- default:
- o = !1
- } else 36 === t.keyCode && t.ctrlKey ? e.datepicker._showDatepicker(this) : o = !1;
- o && (t.preventDefault(), t.stopPropagation())
- },
- _doKeyPress: function (t) {
- var i, s, n = e.datepicker._getInst(t.target);
- return e.datepicker._get(n, "constrainInput") ? (i = e.datepicker._possibleChars(e.datepicker._get(n, "dateFormat")), s = String.fromCharCode(null == t.charCode ? t.keyCode : t.charCode), t.ctrlKey || t.metaKey || " " > s || !i || i.indexOf(s) > -1) : void 0
- },
- _doKeyUp: function (t) {
- var i, s = e.datepicker._getInst(t.target);
- if (s.input.val() !== s.lastVal)try {
- i = e.datepicker.parseDate(e.datepicker._get(s, "dateFormat"), s.input ? s.input.val() : null, e.datepicker._getFormatConfig(s)), i && (e.datepicker._setDateFromField(s), e.datepicker._updateAlternate(s), e.datepicker._updateDatepicker(s))
- } catch (n) {
- }
- return !0
- },
- _showDatepicker: function (t) {
- if (t = t.target || t, "input" !== t.nodeName.toLowerCase() && (t = e("input", t.parentNode)[0]), !e.datepicker._isDisabledDatepicker(t) && e.datepicker._lastInput !== t) {
- var i, n, a, o, h, l, u;
- i = e.datepicker._getInst(t), e.datepicker._curInst && e.datepicker._curInst !== i && (e.datepicker._curInst.dpDiv.stop(!0, !0), i && e.datepicker._datepickerShowing && e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])), n = e.datepicker._get(i, "beforeShow"), a = n ? n.apply(t, [t, i]) : {}, a !== !1 && (r(i.settings, a), i.lastVal = null, e.datepicker._lastInput = t, e.datepicker._setDateFromField(i), e.datepicker._inDialog && (t.value = ""), e.datepicker._pos || (e.datepicker._pos = e.datepicker._findPos(t), e.datepicker._pos[1] += t.offsetHeight), o = !1, e(t).parents().each(function () {
- return o |= "fixed" === e(this).css("position"), !o
- }), h = {
- left: e.datepicker._pos[0],
- top: e.datepicker._pos[1]
- }, e.datepicker._pos = null, i.dpDiv.empty(), i.dpDiv.css({
- position: "absolute",
- display: "block",
- top: "-1000px"
- }), e.datepicker._updateDatepicker(i), h = e.datepicker._checkOffset(i, h, o), i.dpDiv.css({
- position: e.datepicker._inDialog && e.blockUI ? "static" : o ? "fixed" : "absolute",
- display: "none",
- left: h.left + "px",
- top: h.top + "px"
- }), i.inline || (l = e.datepicker._get(i, "showAnim"), u = e.datepicker._get(i, "duration"), i.dpDiv.css("z-index", s(e(t)) + 1), e.datepicker._datepickerShowing = !0, e.effects && e.effects.effect[l] ? i.dpDiv.show(l, e.datepicker._get(i, "showOptions"), u) : i.dpDiv[l || "show"](l ? u : null), e.datepicker._shouldFocusInput(i) && i.input.focus(), e.datepicker._curInst = i))
- }
- },
- _updateDatepicker: function (t) {
- this.maxRows = 4, v = t, t.dpDiv.empty().append(this._generateHTML(t)), this._attachHandlers(t);
- var i, s = this._getNumberOfMonths(t), n = s[1], a = 17, r = t.dpDiv.find("." + this._dayOverClass + " a");
- r.length > 0 && o.apply(r.get(0)), t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""), n > 1 && t.dpDiv.addClass("ui-datepicker-multi-" + n).css("width", a * n + "em"), t.dpDiv[(1 !== s[0] || 1 !== s[1] ? "add" : "remove") + "Class"]("ui-datepicker-multi"), t.dpDiv[(this._get(t, "isRTL") ? "add" : "remove") + "Class"]("ui-datepicker-rtl"), t === e.datepicker._curInst && e.datepicker._datepickerShowing && e.datepicker._shouldFocusInput(t) && t.input.focus(), t.yearshtml && (i = t.yearshtml, setTimeout(function () {
- i === t.yearshtml && t.yearshtml && t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml), i = t.yearshtml = null
- }, 0))
- },
- _shouldFocusInput: function (e) {
- return e.input && e.input.is(":visible") && !e.input.is(":disabled") && !e.input.is(":focus")
- },
- _checkOffset: function (t, i, s) {
- var n = t.dpDiv.outerWidth(), a = t.dpDiv.outerHeight(), o = t.input ? t.input.outerWidth() : 0, r = t.input ? t.input.outerHeight() : 0, h = document.documentElement.clientWidth + (s ? 0 : e(document).scrollLeft()), l = document.documentElement.clientHeight + (s ? 0 : e(document).scrollTop());
- return i.left -= this._get(t, "isRTL") ? n - o : 0, i.left -= s && i.left === t.input.offset().left ? e(document).scrollLeft() : 0, i.top -= s && i.top === t.input.offset().top + r ? e(document).scrollTop() : 0, i.left -= Math.min(i.left, i.left + n > h && h > n ? Math.abs(i.left + n - h) : 0), i.top -= Math.min(i.top, i.top + a > l && l > a ? Math.abs(a + r) : 0), i
- },
- _findPos: function (t) {
- for (var i, s = this._getInst(t), n = this._get(s, "isRTL"); t && ("hidden" === t.type || 1 !== t.nodeType || e.expr.filters.hidden(t));)t = t[n ? "previousSibling" : "nextSibling"];
- return i = e(t).offset(), [i.left, i.top]
- },
- _hideDatepicker: function (t) {
- var i, s, n, a, o = this._curInst;
- !o || t && o !== e.data(t, "datepicker") || this._datepickerShowing && (i = this._get(o, "showAnim"), s = this._get(o, "duration"), n = function () {
- e.datepicker._tidyDialog(o)
- }, e.effects && (e.effects.effect[i] || e.effects[i]) ? o.dpDiv.hide(i, e.datepicker._get(o, "showOptions"), s, n) : o.dpDiv["slideDown" === i ? "slideUp" : "fadeIn" === i ? "fadeOut" : "hide"](i ? s : null, n), i || n(), this._datepickerShowing = !1, a = this._get(o, "onClose"), a && a.apply(o.input ? o.input[0] : null, [o.input ? o.input.val() : "", o]), this._lastInput = null, this._inDialog && (this._dialogInput.css({
- position: "absolute",
- left: "0",
- top: "-100px"
- }), e.blockUI && (e.unblockUI(), e("body").append(this.dpDiv))), this._inDialog = !1)
- },
- _tidyDialog: function (e) {
- e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")
- },
- _checkExternalClick: function (t) {
- if (e.datepicker._curInst) {
- var i = e(t.target), s = e.datepicker._getInst(i[0]);
- (i[0].id !== e.datepicker._mainDivId && 0 === i.parents("#" + e.datepicker._mainDivId).length && !i.hasClass(e.datepicker.markerClassName) && !i.closest("." + e.datepicker._triggerClass).length && e.datepicker._datepickerShowing && (!e.datepicker._inDialog || !e.blockUI) || i.hasClass(e.datepicker.markerClassName) && e.datepicker._curInst !== s) && e.datepicker._hideDatepicker()
- }
- },
- _adjustDate: function (t, i, s) {
- var n = e(t), a = this._getInst(n[0]);
- this._isDisabledDatepicker(n[0]) || (this._adjustInstDate(a, i + ("M" === s ? this._get(a, "showCurrentAtPos") : 0), s), this._updateDatepicker(a))
- },
- _gotoToday: function (t) {
- var i, s = e(t), n = this._getInst(s[0]);
- this._get(n, "gotoCurrent") && n.currentDay ? (n.selectedDay = n.currentDay, n.drawMonth = n.selectedMonth = n.currentMonth, n.drawYear = n.selectedYear = n.currentYear) : (i = new Date, n.selectedDay = i.getDate(), n.drawMonth = n.selectedMonth = i.getMonth(), n.drawYear = n.selectedYear = i.getFullYear()), this._notifyChange(n), this._adjustDate(s)
- },
- _selectMonthYear: function (t, i, s) {
- var n = e(t), a = this._getInst(n[0]);
- a["selected" + ("M" === s ? "Month" : "Year")] = a["draw" + ("M" === s ? "Month" : "Year")] = parseInt(i.options[i.selectedIndex].value, 10), this._notifyChange(a), this._adjustDate(n)
- },
- _selectDay: function (t, i, s, n) {
- var a, o = e(t);
- e(n).hasClass(this._unselectableClass) || this._isDisabledDatepicker(o[0]) || (a = this._getInst(o[0]), a.selectedDay = a.currentDay = e("a", n).html(), a.selectedMonth = a.currentMonth = i, a.selectedYear = a.currentYear = s, this._selectDate(t, this._formatDate(a, a.currentDay, a.currentMonth, a.currentYear)))
- },
- _clearDate: function (t) {
- var i = e(t);
- this._selectDate(i, "")
- },
- _selectDate: function (t, i) {
- var s, n = e(t), a = this._getInst(n[0]);
- i = null != i ? i : this._formatDate(a), a.input && a.input.val(i), this._updateAlternate(a), s = this._get(a, "onSelect"), s ? s.apply(a.input ? a.input[0] : null, [i, a]) : a.input && a.input.trigger("change"), a.inline ? this._updateDatepicker(a) : (this._hideDatepicker(), this._lastInput = a.input[0], "object" != typeof a.input[0] && a.input.focus(), this._lastInput = null)
- },
- _updateAlternate: function (t) {
- var i, s, n, a = this._get(t, "altField");
- a && (i = this._get(t, "altFormat") || this._get(t, "dateFormat"), s = this._getDate(t), n = this.formatDate(i, s, this._getFormatConfig(t)), e(a).each(function () {
- e(this).val(n)
- }))
- },
- noWeekends: function (e) {
- var t = e.getDay();
- return [t > 0 && 6 > t, ""]
- },
- iso8601Week: function (e) {
- var t, i = new Date(e.getTime());
- return i.setDate(i.getDate() + 4 - (i.getDay() || 7)), t = i.getTime(), i.setMonth(0), i.setDate(1), Math.floor(Math.round((t - i) / 864e5) / 7) + 1
- },
- parseDate: function (t, i, s) {
- if (null == t || null == i)throw"Invalid arguments";
- if (i = "object" == typeof i ? "" + i : i + "", "" === i)return null;
- var n, a, o, r, h = 0, l = (s ? s.shortYearCutoff : null) || this._defaults.shortYearCutoff, u = "string" != typeof l ? l : (new Date).getFullYear() % 100 + parseInt(l, 10), d = (s ? s.dayNamesShort : null) || this._defaults.dayNamesShort, c = (s ? s.dayNames : null) || this._defaults.dayNames, p = (s ? s.monthNamesShort : null) || this._defaults.monthNamesShort, f = (s ? s.monthNames : null) || this._defaults.monthNames, m = -1, g = -1, v = -1, y = -1, b = !1, _ = function (e) {
- var i = t.length > n + 1 && t.charAt(n + 1) === e;
- return i && n++, i
- }, x = function (e) {
- var t = _(e), s = "@" === e ? 14 : "!" === e ? 20 : "y" === e && t ? 4 : "o" === e ? 3 : 2, n = "y" === e ? s : 1, a = RegExp("^\\d{" + n + "," + s + "}"), o = i.substring(h).match(a);
- if (!o)throw"Missing number at position " + h;
- return h += o[0].length, parseInt(o[0], 10)
- }, w = function (t, s, n) {
- var a = -1, o = e.map(_(t) ? n : s, function (e, t) {
- return [[t, e]]
- }).sort(function (e, t) {
- return -(e[1].length - t[1].length)
- });
- if (e.each(o, function (e, t) {
- var s = t[1];
- return i.substr(h, s.length).toLowerCase() === s.toLowerCase() ? (a = t[0], h += s.length, !1) : void 0
- }), -1 !== a)return a + 1;
- throw"Unknown name at position " + h
- }, k = function () {
- if (i.charAt(h) !== t.charAt(n))throw"Unexpected literal at position " + h;
- h++
- };
- for (n = 0; t.length > n; n++)if (b)"'" !== t.charAt(n) || _("'") ? k() : b = !1; else switch (t.charAt(n)) {
- case"d":
- v = x("d");
- break;
- case"D":
- w("D", d, c);
- break;
- case"o":
- y = x("o");
- break;
- case"m":
- g = x("m");
- break;
- case"M":
- g = w("M", p, f);
- break;
- case"y":
- m = x("y");
- break;
- case"@":
- r = new Date(x("@")), m = r.getFullYear(), g = r.getMonth() + 1, v = r.getDate();
- break;
- case"!":
- r = new Date((x("!") - this._ticksTo1970) / 1e4), m = r.getFullYear(), g = r.getMonth() + 1, v = r.getDate();
- break;
- case"'":
- _("'") ? k() : b = !0;
- break;
- default:
- k()
- }
- if (i.length > h && (o = i.substr(h), !/^\s+/.test(o)))throw"Extra/unparsed characters found in date: " + o;
- if (-1 === m ? m = (new Date).getFullYear() : 100 > m && (m += (new Date).getFullYear() - (new Date).getFullYear() % 100 + (u >= m ? 0 : -100)), y > -1)for (g = 1, v = y; ;) {
- if (a = this._getDaysInMonth(m, g - 1), a >= v)break;
- g++, v -= a
- }
- if (r = this._daylightSavingAdjust(new Date(m, g - 1, v)), r.getFullYear() !== m || r.getMonth() + 1 !== g || r.getDate() !== v)throw"Invalid date";
- return r
- },
- ATOM: "yy-mm-dd",
- COOKIE: "D, dd M yy",
- ISO_8601: "yy-mm-dd",
- RFC_822: "D, d M y",
- RFC_850: "DD, dd-M-y",
- RFC_1036: "D, d M y",
- RFC_1123: "D, d M yy",
- RFC_2822: "D, d M yy",
- RSS: "D, d M y",
- TICKS: "!",
- TIMESTAMP: "@",
- W3C: "yy-mm-dd",
- _ticksTo1970: 1e7 * 60 * 60 * 24 * (718685 + Math.floor(492.5) - Math.floor(19.7) + Math.floor(4.925)),
- formatDate: function (e, t, i) {
- if (!t)return "";
- var s, n = (i ? i.dayNamesShort : null) || this._defaults.dayNamesShort, a = (i ? i.dayNames : null) || this._defaults.dayNames, o = (i ? i.monthNamesShort : null) || this._defaults.monthNamesShort, r = (i ? i.monthNames : null) || this._defaults.monthNames, h = function (t) {
- var i = e.length > s + 1 && e.charAt(s + 1) === t;
- return i && s++, i
- }, l = function (e, t, i) {
- var s = "" + t;
- if (h(e))for (; i > s.length;)s = "0" + s;
- return s
- }, u = function (e, t, i, s) {
- return h(e) ? s[t] : i[t]
- }, d = "", c = !1;
- if (t)for (s = 0; e.length > s; s++)if (c)"'" !== e.charAt(s) || h("'") ? d += e.charAt(s) : c = !1; else switch (e.charAt(s)) {
- case"d":
- d += l("d", t.getDate(), 2);
- break;
- case"D":
- d += u("D", t.getDay(), n, a);
- break;
- case"o":
- d += l("o", Math.round((new Date(t.getFullYear(), t.getMonth(), t.getDate()).getTime() - new Date(t.getFullYear(), 0, 0).getTime()) / 864e5), 3);
- break;
- case"m":
- d += l("m", t.getMonth() + 1, 2);
- break;
- case"M":
- d += u("M", t.getMonth(), o, r);
- break;
- case"y":
- d += h("y") ? t.getFullYear() : (10 > t.getYear() % 100 ? "0" : "") + t.getYear() % 100;
- break;
- case"@":
- d += t.getTime();
- break;
- case"!":
- d += 1e4 * t.getTime() + this._ticksTo1970;
- break;
- case"'":
- h("'") ? d += "'" : c = !0;
- break;
- default:
- d += e.charAt(s)
- }
- return d
- },
- _possibleChars: function (e) {
- var t, i = "", s = !1, n = function (i) {
- var s = e.length > t + 1 && e.charAt(t + 1) === i;
- return s && t++, s
- };
- for (t = 0; e.length > t; t++)if (s)"'" !== e.charAt(t) || n("'") ? i += e.charAt(t) : s = !1; else switch (e.charAt(t)) {
- case"d":
- case"m":
- case"y":
- case"@":
- i += "0123456789";
- break;
- case"D":
- case"M":
- return null;
- case"'":
- n("'") ? i += "'" : s = !0;
- break;
- default:
- i += e.charAt(t)
- }
- return i
- },
- _get: function (e, t) {
- return void 0 !== e.settings[t] ? e.settings[t] : this._defaults[t]
- },
- _setDateFromField: function (e, t) {
- if (e.input.val() !== e.lastVal) {
- var i = this._get(e, "dateFormat"), s = e.lastVal = e.input ? e.input.val() : null, n = this._getDefaultDate(e), a = n, o = this._getFormatConfig(e);
- try {
- a = this.parseDate(i, s, o) || n
- } catch (r) {
- s = t ? "" : s
- }
- e.selectedDay = a.getDate(), e.drawMonth = e.selectedMonth = a.getMonth(), e.drawYear = e.selectedYear = a.getFullYear(), e.currentDay = s ? a.getDate() : 0, e.currentMonth = s ? a.getMonth() : 0, e.currentYear = s ? a.getFullYear() : 0, this._adjustInstDate(e)
- }
- },
- _getDefaultDate: function (e) {
- return this._restrictMinMax(e, this._determineDate(e, this._get(e, "defaultDate"), new Date))
- },
- _determineDate: function (t, i, s) {
- var n = function (e) {
- var t = new Date;
- return t.setDate(t.getDate() + e), t
- }, a = function (i) {
- try {
- return e.datepicker.parseDate(e.datepicker._get(t, "dateFormat"), i, e.datepicker._getFormatConfig(t))
- } catch (s) {
- }
- for (var n = (i.toLowerCase().match(/^c/) ? e.datepicker._getDate(t) : null) || new Date, a = n.getFullYear(), o = n.getMonth(), r = n.getDate(), h = /([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g, l = h.exec(i); l;) {
- switch (l[2] || "d") {
- case"d":
- case"D":
- r += parseInt(l[1], 10);
- break;
- case"w":
- case"W":
- r += 7 * parseInt(l[1], 10);
- break;
- case"m":
- case"M":
- o += parseInt(l[1], 10), r = Math.min(r, e.datepicker._getDaysInMonth(a, o));
- break;
- case"y":
- case"Y":
- a += parseInt(l[1], 10), r = Math.min(r, e.datepicker._getDaysInMonth(a, o))
- }
- l = h.exec(i)
- }
- return new Date(a, o, r)
- }, o = null == i || "" === i ? s : "string" == typeof i ? a(i) : "number" == typeof i ? isNaN(i) ? s : n(i) : new Date(i.getTime());
- return o = o && "Invalid Date" == "" + o ? s : o, o && (o.setHours(0), o.setMinutes(0), o.setSeconds(0), o.setMilliseconds(0)), this._daylightSavingAdjust(o)
- },
- _daylightSavingAdjust: function (e) {
- return e ? (e.setHours(e.getHours() > 12 ? e.getHours() + 2 : 0), e) : null
- },
- _setDate: function (e, t, i) {
- var s = !t, n = e.selectedMonth, a = e.selectedYear, o = this._restrictMinMax(e, this._determineDate(e, t, new Date));
- e.selectedDay = e.currentDay = o.getDate(), e.drawMonth = e.selectedMonth = e.currentMonth = o.getMonth(), e.drawYear = e.selectedYear = e.currentYear = o.getFullYear(), n === e.selectedMonth && a === e.selectedYear || i || this._notifyChange(e), this._adjustInstDate(e), e.input && e.input.val(s ? "" : this._formatDate(e))
- },
- _getDate: function (e) {
- var t = !e.currentYear || e.input && "" === e.input.val() ? null : this._daylightSavingAdjust(new Date(e.currentYear, e.currentMonth, e.currentDay));
- return t
- },
- _attachHandlers: function (t) {
- var i = this._get(t, "stepMonths"), s = "#" + t.id.replace(/\\\\/g, "\\");
- t.dpDiv.find("[data-handler]").map(function () {
- var t = {
- prev: function () {
- e.datepicker._adjustDate(s, -i, "M")
- }, next: function () {
- e.datepicker._adjustDate(s, +i, "M")
- }, hide: function () {
- e.datepicker._hideDatepicker()
- }, today: function () {
- e.datepicker._gotoToday(s)
- }, selectDay: function () {
- return e.datepicker._selectDay(s, +this.getAttribute("data-month"), +this.getAttribute("data-year"), this), !1
- }, selectMonth: function () {
- return e.datepicker._selectMonthYear(s, this, "M"), !1
- }, selectYear: function () {
- return e.datepicker._selectMonthYear(s, this, "Y"), !1
- }
- };
- e(this).bind(this.getAttribute("data-event"), t[this.getAttribute("data-handler")])
- })
- },
- _generateHTML: function (e) {
- var t, i, s, n, a, o, r, h, l, u, d, c, p, f, m, g, v, y, b, _, x, w, k, T, D, S, M, C, N, A, P, I, H, z, F, E, O, j, W, L = new Date, R = this._daylightSavingAdjust(new Date(L.getFullYear(), L.getMonth(), L.getDate())), Y = this._get(e, "isRTL"), B = this._get(e, "showButtonPanel"), J = this._get(e, "hideIfNoPrevNext"), q = this._get(e, "navigationAsDateFormat"), K = this._getNumberOfMonths(e), V = this._get(e, "showCurrentAtPos"), U = this._get(e, "stepMonths"), Q = 1 !== K[0] || 1 !== K[1], G = this._daylightSavingAdjust(e.currentDay ? new Date(e.currentYear, e.currentMonth, e.currentDay) : new Date(9999, 9, 9)), X = this._getMinMaxDate(e, "min"), $ = this._getMinMaxDate(e, "max"), Z = e.drawMonth - V, et = e.drawYear;
- if (0 > Z && (Z += 12, et--), $)for (t = this._daylightSavingAdjust(new Date($.getFullYear(), $.getMonth() - K[0] * K[1] + 1, $.getDate())), t = X && X > t ? X : t; this._daylightSavingAdjust(new Date(et, Z, 1)) > t;)Z--, 0 > Z && (Z = 11, et--);
- for (e.drawMonth = Z, e.drawYear = et, i = this._get(e, "prevText"), i = q ? this.formatDate(i, this._daylightSavingAdjust(new Date(et, Z - U, 1)), this._getFormatConfig(e)) : i, s = this._canAdjustMonth(e, -1, et, Z) ? "<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='" + i + "'><span class='ui-icon ui-icon-circle-triangle-" + (Y ? "e" : "w") + "'>" + i + "</span></a>" : J ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='" + i + "'><span class='ui-icon ui-icon-circle-triangle-" + (Y ? "e" : "w") + "'>" + i + "</span></a>", n = this._get(e, "nextText"), n = q ? this.formatDate(n, this._daylightSavingAdjust(new Date(et, Z + U, 1)), this._getFormatConfig(e)) : n, a = this._canAdjustMonth(e, 1, et, Z) ? "<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='" + n + "'><span class='ui-icon ui-icon-circle-triangle-" + (Y ? "w" : "e") + "'>" + n + "</span></a>" : J ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='" + n + "'><span class='ui-icon ui-icon-circle-triangle-" + (Y ? "w" : "e") + "'>" + n + "</span></a>", o = this._get(e, "currentText"), r = this._get(e, "gotoCurrent") && e.currentDay ? G : R, o = q ? this.formatDate(o, r, this._getFormatConfig(e)) : o, h = e.inline ? "" : "<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>" + this._get(e, "closeText") + "</button>", l = B ? "<div class='ui-datepicker-buttonpane ui-widget-content'>" + (Y ? h : "") + (this._isInRange(e, r) ? "<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>" + o + "</button>" : "") + (Y ? "" : h) + "</div>" : "", u = parseInt(this._get(e, "firstDay"), 10), u = isNaN(u) ? 0 : u, d = this._get(e, "showWeek"), c = this._get(e, "dayNames"), p = this._get(e, "dayNamesMin"), f = this._get(e, "monthNames"), m = this._get(e, "monthNamesShort"), g = this._get(e, "beforeShowDay"), v = this._get(e, "showOtherMonths"), y = this._get(e, "selectOtherMonths"), b = this._getDefaultDate(e), _ = "", w = 0; K[0] > w; w++) {
- for (k = "", this.maxRows = 4, T = 0; K[1] > T; T++) {
- if (D = this._daylightSavingAdjust(new Date(et, Z, e.selectedDay)), S = " ui-corner-all", M = "", Q) {
- if (M += "<div class='ui-datepicker-group", K[1] > 1)switch (T) {
- case 0:
- M += " ui-datepicker-group-first", S = " ui-corner-" + (Y ? "right" : "left");
- break;
- case K[1] - 1:
- M += " ui-datepicker-group-last", S = " ui-corner-" + (Y ? "left" : "right");
- break;
- default:
- M += " ui-datepicker-group-middle", S = ""
- }
- M += "'>"
- }
- for (M += "<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix" + S + "'>" + (/all|left/.test(S) && 0 === w ? Y ? a : s : "") + (/all|right/.test(S) && 0 === w ? Y ? s : a : "") + this._generateMonthYearHeader(e, Z, et, X, $, w > 0 || T > 0, f, m) + "</div><table class='ui-datepicker-calendar'><thead>" + "<tr>", C = d ? "<th class='ui-datepicker-week-col'>" + this._get(e, "weekHeader") + "</th>" : "", x = 0; 7 > x; x++)N = (x + u) % 7, C += "<th scope='col'" + ((x + u + 6) % 7 >= 5 ? " class='ui-datepicker-week-end'" : "") + ">" + "<span title='" + c[N] + "'>" + p[N] + "</span></th>";
- for (M += C + "</tr></thead><tbody>", A = this._getDaysInMonth(et, Z), et === e.selectedYear && Z === e.selectedMonth && (e.selectedDay = Math.min(e.selectedDay, A)), P = (this._getFirstDayOfMonth(et, Z) - u + 7) % 7, I = Math.ceil((P + A) / 7), H = Q ? this.maxRows > I ? this.maxRows : I : I, this.maxRows = H, z = this._daylightSavingAdjust(new Date(et, Z, 1 - P)), F = 0; H > F; F++) {
- for (M += "<tr>", E = d ? "<td class='ui-datepicker-week-col'>" + this._get(e, "calculateWeek")(z) + "</td>" : "", x = 0; 7 > x; x++)O = g ? g.apply(e.input ? e.input[0] : null, [z]) : [!0, ""], j = z.getMonth() !== Z, W = j && !y || !O[0] || X && X > z || $ && z > $, E += "<td class='" + ((x + u + 6) % 7 >= 5 ? " ui-datepicker-week-end" : "") + (j ? " ui-datepicker-other-month" : "") + (z.getTime() === D.getTime() && Z === e.selectedMonth && e._keyEvent || b.getTime() === z.getTime() && b.getTime() === D.getTime() ? " " + this._dayOverClass : "") + (W ? " " + this._unselectableClass + " ui-state-disabled" : "") + (j && !v ? "" : " " + O[1] + (z.getTime() === G.getTime() ? " " + this._currentClass : "") + (z.getTime() === R.getTime() ? " ui-datepicker-today" : "")) + "'" + (j && !v || !O[2] ? "" : " title='" + O[2].replace(/'/g, "&#39;") + "'") + (W ? "" : " data-handler='selectDay' data-event='click' data-month='" + z.getMonth() + "' data-year='" + z.getFullYear() + "'") + ">" + (j && !v ? "&#xa0;" : W ? "<span class='ui-state-default'>" + z.getDate() + "</span>" : "<a class='ui-state-default" + (z.getTime() === R.getTime() ? " ui-state-highlight" : "") + (z.getTime() === G.getTime() ? " ui-state-active" : "") + (j ? " ui-priority-secondary" : "") + "' href='#'>" + z.getDate() + "</a>") + "</td>", z.setDate(z.getDate() + 1), z = this._daylightSavingAdjust(z);
- M += E + "</tr>"
- }
- Z++, Z > 11 && (Z = 0, et++), M += "</tbody></table>" + (Q ? "</div>" + (K[0] > 0 && T === K[1] - 1 ? "<div class='ui-datepicker-row-break'></div>" : "") : ""), k += M
- }
- _ += k
- }
- return _ += l, e._keyEvent = !1, _
- },
- _generateMonthYearHeader: function (e, t, i, s, n, a, o, r) {
- var h, l, u, d, c, p, f, m, g = this._get(e, "changeMonth"), v = this._get(e, "changeYear"), y = this._get(e, "showMonthAfterYear"), b = "<div class='ui-datepicker-title'>", _ = "";
- if (a || !g)_ += "<span class='ui-datepicker-month'>" + o[t] + "</span>"; else {
- for (h = s && s.getFullYear() === i, l = n && n.getFullYear() === i, _ += "<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>", u = 0; 12 > u; u++)(!h || u >= s.getMonth()) && (!l || n.getMonth() >= u) && (_ += "<option value='" + u + "'" + (u === t ? " selected='selected'" : "") + ">" + r[u] + "</option>");
- _ += "</select>"
- }
- if (y || (b += _ + (!a && g && v ? "" : "&#xa0;")), !e.yearshtml)if (e.yearshtml = "", a || !v)b += "<span class='ui-datepicker-year'>" + i + "</span>"; else {
- for (d = this._get(e, "yearRange").split(":"), c = (new Date).getFullYear(), p = function (e) {
- var t = e.match(/c[+\-].*/) ? i + parseInt(e.substring(1), 10) : e.match(/[+\-].*/) ? c + parseInt(e, 10) : parseInt(e, 10);
- return isNaN(t) ? c : t
- }, f = p(d[0]), m = Math.max(f, p(d[1] || "")), f = s ? Math.max(f, s.getFullYear()) : f, m = n ? Math.min(m, n.getFullYear()) : m, e.yearshtml += "<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>"; m >= f; f++)e.yearshtml += "<option value='" + f + "'" + (f === i ? " selected='selected'" : "") + ">" + f + "</option>";
- e.yearshtml += "</select>", b += e.yearshtml, e.yearshtml = null
- }
- return b += this._get(e, "yearSuffix"), y && (b += (!a && g && v ? "" : "&#xa0;") + _), b += "</div>"
- },
- _adjustInstDate: function (e, t, i) {
- var s = e.drawYear + ("Y" === i ? t : 0), n = e.drawMonth + ("M" === i ? t : 0), a = Math.min(e.selectedDay, this._getDaysInMonth(s, n)) + ("D" === i ? t : 0), o = this._restrictMinMax(e, this._daylightSavingAdjust(new Date(s, n, a)));
- e.selectedDay = o.getDate(), e.drawMonth = e.selectedMonth = o.getMonth(), e.drawYear = e.selectedYear = o.getFullYear(), ("M" === i || "Y" === i) && this._notifyChange(e)
- },
- _restrictMinMax: function (e, t) {
- var i = this._getMinMaxDate(e, "min"), s = this._getMinMaxDate(e, "max"), n = i && i > t ? i : t;
- return s && n > s ? s : n
- },
- _notifyChange: function (e) {
- var t = this._get(e, "onChangeMonthYear");
- t && t.apply(e.input ? e.input[0] : null, [e.selectedYear, e.selectedMonth + 1, e])
- },
- _getNumberOfMonths: function (e) {
- var t = this._get(e, "numberOfMonths");
- return null == t ? [1, 1] : "number" == typeof t ? [1, t] : t
- },
- _getMinMaxDate: function (e, t) {
- return this._determineDate(e, this._get(e, t + "Date"), null)
- },
- _getDaysInMonth: function (e, t) {
- return 32 - this._daylightSavingAdjust(new Date(e, t, 32)).getDate()
- },
- _getFirstDayOfMonth: function (e, t) {
- return new Date(e, t, 1).getDay()
- },
- _canAdjustMonth: function (e, t, i, s) {
- var n = this._getNumberOfMonths(e), a = this._daylightSavingAdjust(new Date(i, s + (0 > t ? t : n[0] * n[1]), 1));
- return 0 > t && a.setDate(this._getDaysInMonth(a.getFullYear(), a.getMonth())), this._isInRange(e, a)
- },
- _isInRange: function (e, t) {
- var i, s, n = this._getMinMaxDate(e, "min"), a = this._getMinMaxDate(e, "max"), o = null, r = null, h = this._get(e, "yearRange");
- return h && (i = h.split(":"), s = (new Date).getFullYear(), o = parseInt(i[0], 10), r = parseInt(i[1], 10), i[0].match(/[+\-].*/) && (o += s), i[1].match(/[+\-].*/) && (r += s)), (!n || t.getTime() >= n.getTime()) && (!a || t.getTime() <= a.getTime()) && (!o || t.getFullYear() >= o) && (!r || r >= t.getFullYear())
- },
- _getFormatConfig: function (e) {
- var t = this._get(e, "shortYearCutoff");
- return t = "string" != typeof t ? t : (new Date).getFullYear() % 100 + parseInt(t, 10), {
- shortYearCutoff: t,
- dayNamesShort: this._get(e, "dayNamesShort"),
- dayNames: this._get(e, "dayNames"),
- monthNamesShort: this._get(e, "monthNamesShort"),
- monthNames: this._get(e, "monthNames")
- }
- },
- _formatDate: function (e, t, i, s) {
- t || (e.currentDay = e.selectedDay, e.currentMonth = e.selectedMonth, e.currentYear = e.selectedYear);
- var n = t ? "object" == typeof t ? t : this._daylightSavingAdjust(new Date(s, i, t)) : this._daylightSavingAdjust(new Date(e.currentYear, e.currentMonth, e.currentDay));
- return this.formatDate(this._get(e, "dateFormat"), n, this._getFormatConfig(e))
- }
- }), e.fn.datepicker = function (t) {
- if (!this.length)return this;
- e.datepicker.initialized || (e(document).mousedown(e.datepicker._checkExternalClick), e.datepicker.initialized = !0), 0 === e("#" + e.datepicker._mainDivId).length && e("body").append(e.datepicker.dpDiv);
- var i = Array.prototype.slice.call(arguments, 1);
- return "string" != typeof t || "isDisabled" !== t && "getDate" !== t && "widget" !== t ? "option" === t && 2 === arguments.length && "string" == typeof arguments[1] ? e.datepicker["_" + t + "Datepicker"].apply(e.datepicker, [this[0]].concat(i)) : this.each(function () {
- "string" == typeof t ? e.datepicker["_" + t + "Datepicker"].apply(e.datepicker, [this].concat(i)) : e.datepicker._attachDatepicker(this, t)
- }) : e.datepicker["_" + t + "Datepicker"].apply(e.datepicker, [this[0]].concat(i))
- }, e.datepicker = new n, e.datepicker.initialized = !1, e.datepicker.uuid = (new Date).getTime(), e.datepicker.version = "1.11.4", e.datepicker, e.widget("ui.dialog", {
- version: "1.11.4",
- options: {
- appendTo: "body",
- autoOpen: !0,
- buttons: [],
- closeOnEscape: !0,
- closeText: "Close",
- dialogClass: "",
- draggable: !0,
- hide: null,
- height: "auto",
- maxHeight: null,
- maxWidth: null,
- minHeight: 150,
- minWidth: 150,
- modal: !1,
- position: {
- my: "center", at: "center", of: window, collision: "fit", using: function (t) {
- var i = e(this).css(t).offset().top;
- 0 > i && e(this).css("top", t.top - i)
- }
- },
- resizable: !0,
- show: null,
- title: null,
- width: 300,
- beforeClose: null,
- close: null,
- drag: null,
- dragStart: null,
- dragStop: null,
- focus: null,
- open: null,
- resize: null,
- resizeStart: null,
- resizeStop: null
- },
- sizeRelatedOptions: {
- buttons: !0,
- height: !0,
- maxHeight: !0,
- maxWidth: !0,
- minHeight: !0,
- minWidth: !0,
- width: !0
- },
- resizableRelatedOptions: {maxHeight: !0, maxWidth: !0, minHeight: !0, minWidth: !0},
- _create: function () {
- this.originalCss = {
- display: this.element[0].style.display,
- width: this.element[0].style.width,
- minHeight: this.element[0].style.minHeight,
- maxHeight: this.element[0].style.maxHeight,
- height: this.element[0].style.height
- }, this.originalPosition = {
- parent: this.element.parent(),
- index: this.element.parent().children().index(this.element)
- }, this.originalTitle = this.element.attr("title"), this.options.title = this.options.title || this.originalTitle, this._createWrapper(), this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog), this._createTitlebar(), this._createButtonPane(), this.options.draggable && e.fn.draggable && this._makeDraggable(), this.options.resizable && e.fn.resizable && this._makeResizable(), this._isOpen = !1, this._trackFocus()
- },
- _init: function () {
- this.options.autoOpen && this.open()
- },
- _appendTo: function () {
- var t = this.options.appendTo;
- return t && (t.jquery || t.nodeType) ? e(t) : this.document.find(t || "body").eq(0)
- },
- _destroy: function () {
- var e, t = this.originalPosition;
- this._untrackInstance(), this._destroyOverlay(), this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(), this.uiDialog.stop(!0, !0).remove(), this.originalTitle && this.element.attr("title", this.originalTitle), e = t.parent.children().eq(t.index), e.length && e[0] !== this.element[0] ? e.before(this.element) : t.parent.append(this.element)
- },
- widget: function () {
- return this.uiDialog
- },
- disable: e.noop,
- enable: e.noop,
- close: function (t) {
- var i, s = this;
- if (this._isOpen && this._trigger("beforeClose", t) !== !1) {
- if (this._isOpen = !1, this._focusedElement = null, this._destroyOverlay(), this._untrackInstance(), !this.opener.filter(":focusable").focus().length)try {
- i = this.document[0].activeElement, i && "body" !== i.nodeName.toLowerCase() && e(i).blur()
- } catch (n) {
- }
- this._hide(this.uiDialog, this.options.hide, function () {
- s._trigger("close", t)
- })
- }
- },
- isOpen: function () {
- return this._isOpen
- },
- moveToTop: function () {
- this._moveToTop()
- },
- _moveToTop: function (t, i) {
- var s = !1, n = this.uiDialog.siblings(".ui-front:visible").map(function () {
- return +e(this).css("z-index")
- }).get(), a = Math.max.apply(null, n);
- return a >= +this.uiDialog.css("z-index") && (this.uiDialog.css("z-index", a + 1), s = !0), s && !i && this._trigger("focus", t), s
- },
- open: function () {
- var t = this;
- return this._isOpen ? (this._moveToTop() && this._focusTabbable(), void 0) : (this._isOpen = !0, this.opener = e(this.document[0].activeElement), this._size(), this._position(), this._createOverlay(), this._moveToTop(null, !0), this.overlay && this.overlay.css("z-index", this.uiDialog.css("z-index") - 1), this._show(this.uiDialog, this.options.show, function () {
- t._focusTabbable(), t._trigger("focus")
- }), this._makeFocusTarget(), this._trigger("open"), void 0)
- },
- _focusTabbable: function () {
- var e = this._focusedElement;
- e || (e = this.element.find("[autofocus]")), e.length || (e = this.element.find(":tabbable")), e.length || (e = this.uiDialogButtonPane.find(":tabbable")), e.length || (e = this.uiDialogTitlebarClose.filter(":tabbable")), e.length || (e = this.uiDialog), e.eq(0).focus()
- },
- _keepFocus: function (t) {
- function i() {
- var t = this.document[0].activeElement, i = this.uiDialog[0] === t || e.contains(this.uiDialog[0], t);
- i || this._focusTabbable()
- }
-
- t.preventDefault(), i.call(this), this._delay(i)
- },
- _createWrapper: function () {
- this.uiDialog = e("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front " + this.options.dialogClass).hide().attr({
- tabIndex: -1,
- role: "dialog"
- }).appendTo(this._appendTo()), this._on(this.uiDialog, {
- keydown: function (t) {
- if (this.options.closeOnEscape && !t.isDefaultPrevented() && t.keyCode && t.keyCode === e.ui.keyCode.ESCAPE)return t.preventDefault(), this.close(t), void 0;
- if (t.keyCode === e.ui.keyCode.TAB && !t.isDefaultPrevented()) {
- var i = this.uiDialog.find(":tabbable"), s = i.filter(":first"), n = i.filter(":last");
- t.target !== n[0] && t.target !== this.uiDialog[0] || t.shiftKey ? t.target !== s[0] && t.target !== this.uiDialog[0] || !t.shiftKey || (this._delay(function () {
- n.focus()
- }), t.preventDefault()) : (this._delay(function () {
- s.focus()
- }), t.preventDefault())
- }
- }, mousedown: function (e) {
- this._moveToTop(e) && this._focusTabbable()
- }
- }), this.element.find("[aria-describedby]").length || this.uiDialog.attr({"aria-describedby": this.element.uniqueId().attr("id")})
- },
- _createTitlebar: function () {
- var t;
- this.uiDialogTitlebar = e("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog), this._on(this.uiDialogTitlebar, {
- mousedown: function (t) {
- e(t.target).closest(".ui-dialog-titlebar-close") || this.uiDialog.focus()
- }
- }), this.uiDialogTitlebarClose = e("<button type='button'></button>").button({
- label: this.options.closeText,
- icons: {primary: "ui-icon-closethick"},
- text: !1
- }).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar), this._on(this.uiDialogTitlebarClose, {
- click: function (e) {
- e.preventDefault(), this.close(e)
- }
- }), t = e("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar), this._title(t), this.uiDialog.attr({"aria-labelledby": t.attr("id")})
- },
- _title: function (e) {
- this.options.title || e.html("&#160;"), e.text(this.options.title)
- },
- _createButtonPane: function () {
- this.uiDialogButtonPane = e("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"), this.uiButtonSet = e("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane), this._createButtons()
- },
- _createButtons: function () {
- var t = this, i = this.options.buttons;
- return this.uiDialogButtonPane.remove(), this.uiButtonSet.empty(), e.isEmptyObject(i) || e.isArray(i) && !i.length ? (this.uiDialog.removeClass("ui-dialog-buttons"), void 0) : (e.each(i, function (i, s) {
- var n, a;
- s = e.isFunction(s) ? {
- click: s,
- text: i
- } : s, s = e.extend({type: "button"}, s), n = s.click, s.click = function () {
- n.apply(t.element[0], arguments)
- }, a = {
- icons: s.icons,
- text: s.showText
- }, delete s.icons, delete s.showText, e("<button></button>", s).button(a).appendTo(t.uiButtonSet)
- }), this.uiDialog.addClass("ui-dialog-buttons"), this.uiDialogButtonPane.appendTo(this.uiDialog), void 0)
- },
- _makeDraggable: function () {
- function t(e) {
- return {position: e.position, offset: e.offset}
- }
-
- var i = this, s = this.options;
- this.uiDialog.draggable({
- cancel: ".ui-dialog-content, .ui-dialog-titlebar-close",
- handle: ".ui-dialog-titlebar",
- containment: "document",
- start: function (s, n) {
- e(this).addClass("ui-dialog-dragging"), i._blockFrames(), i._trigger("dragStart", s, t(n))
- },
- drag: function (e, s) {
- i._trigger("drag", e, t(s))
- },
- stop: function (n, a) {
- var o = a.offset.left - i.document.scrollLeft(), r = a.offset.top - i.document.scrollTop();
- s.position = {
- my: "left top",
- at: "left" + (o >= 0 ? "+" : "") + o + " " + "top" + (r >= 0 ? "+" : "") + r,
- of: i.window
- }, e(this).removeClass("ui-dialog-dragging"), i._unblockFrames(), i._trigger("dragStop", n, t(a))
- }
- })
- },
- _makeResizable: function () {
- function t(e) {
- return {
- originalPosition: e.originalPosition,
- originalSize: e.originalSize,
- position: e.position,
- size: e.size
- }
- }
-
- var i = this, s = this.options, n = s.resizable, a = this.uiDialog.css("position"), o = "string" == typeof n ? n : "n,e,s,w,se,sw,ne,nw";
- this.uiDialog.resizable({
- cancel: ".ui-dialog-content",
- containment: "document",
- alsoResize: this.element,
- maxWidth: s.maxWidth,
- maxHeight: s.maxHeight,
- minWidth: s.minWidth,
- minHeight: this._minHeight(),
- handles: o,
- start: function (s, n) {
- e(this).addClass("ui-dialog-resizing"), i._blockFrames(), i._trigger("resizeStart", s, t(n))
- },
- resize: function (e, s) {
- i._trigger("resize", e, t(s))
- },
- stop: function (n, a) {
- var o = i.uiDialog.offset(), r = o.left - i.document.scrollLeft(), h = o.top - i.document.scrollTop();
- s.height = i.uiDialog.height(), s.width = i.uiDialog.width(), s.position = {
- my: "left top",
- at: "left" + (r >= 0 ? "+" : "") + r + " " + "top" + (h >= 0 ? "+" : "") + h,
- of: i.window
- }, e(this).removeClass("ui-dialog-resizing"), i._unblockFrames(), i._trigger("resizeStop", n, t(a))
- }
- }).css("position", a)
- },
- _trackFocus: function () {
- this._on(this.widget(), {
- focusin: function (t) {
- this._makeFocusTarget(), this._focusedElement = e(t.target)
- }
- })
- },
- _makeFocusTarget: function () {
- this._untrackInstance(), this._trackingInstances().unshift(this)
- },
- _untrackInstance: function () {
- var t = this._trackingInstances(), i = e.inArray(this, t);
- -1 !== i && t.splice(i, 1)
- },
- _trackingInstances: function () {
- var e = this.document.data("ui-dialog-instances");
- return e || (e = [], this.document.data("ui-dialog-instances", e)), e
- },
- _minHeight: function () {
- var e = this.options;
- return "auto" === e.height ? e.minHeight : Math.min(e.minHeight, e.height)
- },
- _position: function () {
- var e = this.uiDialog.is(":visible");
- e || this.uiDialog.show(), this.uiDialog.position(this.options.position), e || this.uiDialog.hide()
- },
- _setOptions: function (t) {
- var i = this, s = !1, n = {};
- e.each(t, function (e, t) {
- i._setOption(e, t), e in i.sizeRelatedOptions && (s = !0), e in i.resizableRelatedOptions && (n[e] = t)
- }), s && (this._size(), this._position()), this.uiDialog.is(":data(ui-resizable)") && this.uiDialog.resizable("option", n)
- },
- _setOption: function (e, t) {
- var i, s, n = this.uiDialog;
- "dialogClass" === e && n.removeClass(this.options.dialogClass).addClass(t), "disabled" !== e && (this._super(e, t), "appendTo" === e && this.uiDialog.appendTo(this._appendTo()), "buttons" === e && this._createButtons(), "closeText" === e && this.uiDialogTitlebarClose.button({label: "" + t}), "draggable" === e && (i = n.is(":data(ui-draggable)"), i && !t && n.draggable("destroy"), !i && t && this._makeDraggable()), "position" === e && this._position(), "resizable" === e && (s = n.is(":data(ui-resizable)"), s && !t && n.resizable("destroy"), s && "string" == typeof t && n.resizable("option", "handles", t), s || t === !1 || this._makeResizable()), "title" === e && this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))
- },
- _size: function () {
- var e, t, i, s = this.options;
- this.element.show().css({
- width: "auto",
- minHeight: 0,
- maxHeight: "none",
- height: 0
- }), s.minWidth > s.width && (s.width = s.minWidth), e = this.uiDialog.css({
- height: "auto",
- width: s.width
- }).outerHeight(), t = Math.max(0, s.minHeight - e), i = "number" == typeof s.maxHeight ? Math.max(0, s.maxHeight - e) : "none", "auto" === s.height ? this.element.css({
- minHeight: t,
- maxHeight: i,
- height: "auto"
- }) : this.element.height(Math.max(0, s.height - e)), this.uiDialog.is(":data(ui-resizable)") && this.uiDialog.resizable("option", "minHeight", this._minHeight())
- },
- _blockFrames: function () {
- this.iframeBlocks = this.document.find("iframe").map(function () {
- var t = e(this);
- return e("<div>").css({
- position: "absolute",
- width: t.outerWidth(),
- height: t.outerHeight()
- }).appendTo(t.parent()).offset(t.offset())[0]
- })
- },
- _unblockFrames: function () {
- this.iframeBlocks && (this.iframeBlocks.remove(), delete this.iframeBlocks)
- },
- _allowInteraction: function (t) {
- return e(t.target).closest(".ui-dialog").length ? !0 : !!e(t.target).closest(".ui-datepicker").length
- },
- _createOverlay: function () {
- if (this.options.modal) {
- var t = !0;
- this._delay(function () {
- t = !1
- }), this.document.data("ui-dialog-overlays") || this._on(this.document, {
- focusin: function (e) {
- t || this._allowInteraction(e) || (e.preventDefault(), this._trackingInstances()[0]._focusTabbable())
- }
- }), this.overlay = e("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()), this._on(this.overlay, {mousedown: "_keepFocus"}), this.document.data("ui-dialog-overlays", (this.document.data("ui-dialog-overlays") || 0) + 1)
- }
- },
- _destroyOverlay: function () {
- if (this.options.modal && this.overlay) {
- var e = this.document.data("ui-dialog-overlays") - 1;
- e ? this.document.data("ui-dialog-overlays", e) : this.document.unbind("focusin").removeData("ui-dialog-overlays"), this.overlay.remove(), this.overlay = null
- }
- }
- }), e.widget("ui.progressbar", {
- version: "1.11.4",
- options: {max: 100, value: 0, change: null, complete: null},
- min: 0,
- _create: function () {
- this.oldValue = this.options.value = this._constrainedValue(), this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({
- role: "progressbar",
- "aria-valuemin": this.min
- }), this.valueDiv = e("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element), this._refreshValue()
- },
- _destroy: function () {
- this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"), this.valueDiv.remove()
- },
- value: function (e) {
- return void 0 === e ? this.options.value : (this.options.value = this._constrainedValue(e), this._refreshValue(), void 0)
- },
- _constrainedValue: function (e) {
- return void 0 === e && (e = this.options.value), this.indeterminate = e === !1, "number" != typeof e && (e = 0), this.indeterminate ? !1 : Math.min(this.options.max, Math.max(this.min, e))
- },
- _setOptions: function (e) {
- var t = e.value;
- delete e.value, this._super(e), this.options.value = this._constrainedValue(t), this._refreshValue()
- },
- _setOption: function (e, t) {
- "max" === e && (t = Math.max(this.min, t)), "disabled" === e && this.element.toggleClass("ui-state-disabled", !!t).attr("aria-disabled", t), this._super(e, t)
- },
- _percentage: function () {
- return this.indeterminate ? 100 : 100 * (this.options.value - this.min) / (this.options.max - this.min)
- },
- _refreshValue: function () {
- var t = this.options.value, i = this._percentage();
- this.valueDiv.toggle(this.indeterminate || t > this.min).toggleClass("ui-corner-right", t === this.options.max).width(i.toFixed(0) + "%"), this.element.toggleClass("ui-progressbar-indeterminate", this.indeterminate), this.indeterminate ? (this.element.removeAttr("aria-valuenow"), this.overlayDiv || (this.overlayDiv = e("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv))) : (this.element.attr({
- "aria-valuemax": this.options.max,
- "aria-valuenow": t
- }), this.overlayDiv && (this.overlayDiv.remove(), this.overlayDiv = null)), this.oldValue !== t && (this.oldValue = t, this._trigger("change")), t === this.options.max && this._trigger("complete")
- }
- }), e.widget("ui.selectmenu", {
- version: "1.11.4",
- defaultElement: "<select>",
- options: {
- appendTo: null,
- disabled: null,
- icons: {button: "ui-icon-triangle-1-s"},
- position: {my: "left top", at: "left bottom", collision: "none"},
- width: null,
- change: null,
- close: null,
- focus: null,
- open: null,
- select: null
- },
- _create: function () {
- var e = this.element.uniqueId().attr("id");
- this.ids = {
- element: e,
- button: e + "-button",
- menu: e + "-menu"
- }, this._drawButton(), this._drawMenu(), this.options.disabled && this.disable()
- },
- _drawButton: function () {
- var t = this;
- this.label = e("label[for='" + this.ids.element + "']").attr("for", this.ids.button), this._on(this.label, {
- click: function (e) {
- this.button.focus(), e.preventDefault()
- }
- }), this.element.hide(), this.button = e("<span>", {
- "class": "ui-selectmenu-button ui-widget ui-state-default ui-corner-all",
- tabindex: this.options.disabled ? -1 : 0,
- id: this.ids.button,
- role: "combobox",
- "aria-expanded": "false",
- "aria-autocomplete": "list",
- "aria-owns": this.ids.menu,
- "aria-haspopup": "true"
- }).insertAfter(this.element), e("<span>", {"class": "ui-icon " + this.options.icons.button}).prependTo(this.button), this.buttonText = e("<span>", {"class": "ui-selectmenu-text"}).appendTo(this.button), this._setText(this.buttonText, this.element.find("option:selected").text()), this._resizeButton(), this._on(this.button, this._buttonEvents), this.button.one("focusin", function () {
- t.menuItems || t._refreshMenu()
- }), this._hoverable(this.button), this._focusable(this.button)
- },
- _drawMenu: function () {
- var t = this;
- this.menu = e("<ul>", {
- "aria-hidden": "true",
- "aria-labelledby": this.ids.button,
- id: this.ids.menu
- }), this.menuWrap = e("<div>", {"class": "ui-selectmenu-menu ui-front"}).append(this.menu).appendTo(this._appendTo()), this.menuInstance = this.menu.menu({
- role: "listbox",
- select: function (e, i) {
- e.preventDefault(), t._setSelection(), t._select(i.item.data("ui-selectmenu-item"), e)
- },
- focus: function (e, i) {
- var s = i.item.data("ui-selectmenu-item");
- null != t.focusIndex && s.index !== t.focusIndex && (t._trigger("focus", e, {item: s}), t.isOpen || t._select(s, e)), t.focusIndex = s.index, t.button.attr("aria-activedescendant", t.menuItems.eq(s.index).attr("id"))
- }
- }).menu("instance"), this.menu.addClass("ui-corner-bottom").removeClass("ui-corner-all"), this.menuInstance._off(this.menu, "mouseleave"), this.menuInstance._closeOnDocumentClick = function () {
- return !1
- }, this.menuInstance._isDivider = function () {
- return !1
- }
- },
- refresh: function () {
- this._refreshMenu(), this._setText(this.buttonText, this._getSelectedItem().text()), this.options.width || this._resizeButton()
- },
- _refreshMenu: function () {
- this.menu.empty();
- var e, t = this.element.find("option");
- t.length && (this._parseOptions(t), this._renderMenu(this.menu, this.items), this.menuInstance.refresh(), this.menuItems = this.menu.find("li").not(".ui-selectmenu-optgroup"), e = this._getSelectedItem(), this.menuInstance.focus(null, e), this._setAria(e.data("ui-selectmenu-item")), this._setOption("disabled", this.element.prop("disabled")))
- },
- open: function (e) {
- this.options.disabled || (this.menuItems ? (this.menu.find(".ui-state-focus").removeClass("ui-state-focus"), this.menuInstance.focus(null, this._getSelectedItem())) : this._refreshMenu(), this.isOpen = !0, this._toggleAttr(), this._resizeMenu(), this._position(), this._on(this.document, this._documentClick), this._trigger("open", e))
- },
- _position: function () {
- this.menuWrap.position(e.extend({of: this.button}, this.options.position))
- },
- close: function (e) {
- this.isOpen && (this.isOpen = !1, this._toggleAttr(), this.range = null, this._off(this.document), this._trigger("close", e))
- },
- widget: function () {
- return this.button
- },
- menuWidget: function () {
- return this.menu
- },
- _renderMenu: function (t, i) {
- var s = this, n = "";
- e.each(i, function (i, a) {
- a.optgroup !== n && (e("<li>", {
- "class": "ui-selectmenu-optgroup ui-menu-divider" + (a.element.parent("optgroup").prop("disabled") ? " ui-state-disabled" : ""),
- text: a.optgroup
- }).appendTo(t), n = a.optgroup), s._renderItemData(t, a)
- })
- },
- _renderItemData: function (e, t) {
- return this._renderItem(e, t).data("ui-selectmenu-item", t)
- },
- _renderItem: function (t, i) {
- var s = e("<li>");
- return i.disabled && s.addClass("ui-state-disabled"), this._setText(s, i.label), s.appendTo(t)
- },
- _setText: function (e, t) {
- t ? e.text(t) : e.html("&#160;")
- },
- _move: function (e, t) {
- var i, s, n = ".ui-menu-item";
- this.isOpen ? i = this.menuItems.eq(this.focusIndex) : (i = this.menuItems.eq(this.element[0].selectedIndex), n += ":not(.ui-state-disabled)"), s = "first" === e || "last" === e ? i["first" === e ? "prevAll" : "nextAll"](n).eq(-1) : i[e + "All"](n).eq(0), s.length && this.menuInstance.focus(t, s)
- },
- _getSelectedItem: function () {
- return this.menuItems.eq(this.element[0].selectedIndex)
- },
- _toggle: function (e) {
- this[this.isOpen ? "close" : "open"](e)
- },
- _setSelection: function () {
- var e;
- this.range && (window.getSelection ? (e = window.getSelection(), e.removeAllRanges(), e.addRange(this.range)) : this.range.select(), this.button.focus())
- },
- _documentClick: {
- mousedown: function (t) {
- this.isOpen && (e(t.target).closest(".ui-selectmenu-menu, #" + this.ids.button).length || this.close(t))
- }
- },
- _buttonEvents: {
- mousedown: function () {
- var e;
- window.getSelection ? (e = window.getSelection(), e.rangeCount && (this.range = e.getRangeAt(0))) : this.range = document.selection.createRange()
- }, click: function (e) {
- this._setSelection(), this._toggle(e)
- }, keydown: function (t) {
- var i = !0;
- switch (t.keyCode) {
- case e.ui.keyCode.TAB:
- case e.ui.keyCode.ESCAPE:
- this.close(t), i = !1;
- break;
- case e.ui.keyCode.ENTER:
- this.isOpen && this._selectFocusedItem(t);
- break;
- case e.ui.keyCode.UP:
- t.altKey ? this._toggle(t) : this._move("prev", t);
- break;
- case e.ui.keyCode.DOWN:
- t.altKey ? this._toggle(t) : this._move("next", t);
- break;
- case e.ui.keyCode.SPACE:
- this.isOpen ? this._selectFocusedItem(t) : this._toggle(t);
- break;
- case e.ui.keyCode.LEFT:
- this._move("prev", t);
- break;
- case e.ui.keyCode.RIGHT:
- this._move("next", t);
- break;
- case e.ui.keyCode.HOME:
- case e.ui.keyCode.PAGE_UP:
- this._move("first", t);
- break;
- case e.ui.keyCode.END:
- case e.ui.keyCode.PAGE_DOWN:
- this._move("last", t);
- break;
- default:
- this.menu.trigger(t), i = !1
- }
- i && t.preventDefault()
- }
- },
- _selectFocusedItem: function (e) {
- var t = this.menuItems.eq(this.focusIndex);
- t.hasClass("ui-state-disabled") || this._select(t.data("ui-selectmenu-item"), e)
- },
- _select: function (e, t) {
- var i = this.element[0].selectedIndex;
- this.element[0].selectedIndex = e.index, this._setText(this.buttonText, e.label), this._setAria(e), this._trigger("select", t, {item: e}), e.index !== i && this._trigger("change", t, {item: e}), this.close(t)
- },
- _setAria: function (e) {
- var t = this.menuItems.eq(e.index).attr("id");
- this.button.attr({
- "aria-labelledby": t,
- "aria-activedescendant": t
- }), this.menu.attr("aria-activedescendant", t)
- },
- _setOption: function (e, t) {
- "icons" === e && this.button.find("span.ui-icon").removeClass(this.options.icons.button).addClass(t.button), this._super(e, t), "appendTo" === e && this.menuWrap.appendTo(this._appendTo()), "disabled" === e && (this.menuInstance.option("disabled", t), this.button.toggleClass("ui-state-disabled", t).attr("aria-disabled", t), this.element.prop("disabled", t), t ? (this.button.attr("tabindex", -1), this.close()) : this.button.attr("tabindex", 0)), "width" === e && this._resizeButton()
- },
- _appendTo: function () {
- var t = this.options.appendTo;
- return t && (t = t.jquery || t.nodeType ? e(t) : this.document.find(t).eq(0)), t && t[0] || (t = this.element.closest(".ui-front")), t.length || (t = this.document[0].body), t
- },
- _toggleAttr: function () {
- this.button.toggleClass("ui-corner-top", this.isOpen).toggleClass("ui-corner-all", !this.isOpen).attr("aria-expanded", this.isOpen), this.menuWrap.toggleClass("ui-selectmenu-open", this.isOpen), this.menu.attr("aria-hidden", !this.isOpen)
- },
- _resizeButton: function () {
- var e = this.options.width;
- e || (e = this.element.show().outerWidth(), this.element.hide()), this.button.outerWidth(e)
- },
- _resizeMenu: function () {
- this.menu.outerWidth(Math.max(this.button.outerWidth(), this.menu.width("").outerWidth() + 1))
- },
- _getCreateOptions: function () {
- return {disabled: this.element.prop("disabled")}
- },
- _parseOptions: function (t) {
- var i = [];
- t.each(function (t, s) {
- var n = e(s), a = n.parent("optgroup");
- i.push({
- element: n,
- index: t,
- value: n.val(),
- label: n.text(),
- optgroup: a.attr("label") || "",
- disabled: a.prop("disabled") || n.prop("disabled")
- })
- }), this.items = i
- },
- _destroy: function () {
- this.menuWrap.remove(), this.button.remove(), this.element.show(), this.element.removeUniqueId(), this.label.attr("for", this.ids.element)
- }
- }), e.widget("ui.slider", e.ui.mouse, {
- version: "1.11.4",
- widgetEventPrefix: "slide",
- options: {
- animate: !1,
- distance: 0,
- max: 100,
- min: 0,
- orientation: "horizontal",
- range: !1,
- step: 1,
- value: 0,
- values: null,
- change: null,
- slide: null,
- start: null,
- stop: null
- },
- numPages: 5,
- _create: function () {
- this._keySliding = !1, this._mouseSliding = !1, this._animateOff = !0, this._handleIndex = null, this._detectOrientation(), this._mouseInit(), this._calculateNewMax(), this.element.addClass("ui-slider ui-slider-" + this.orientation + " ui-widget" + " ui-widget-content" + " ui-corner-all"), this._refresh(), this._setOption("disabled", this.options.disabled), this._animateOff = !1
- },
- _refresh: function () {
- this._createRange(), this._createHandles(), this._setupEvents(), this._refreshValue()
- },
- _createHandles: function () {
- var t, i, s = this.options, n = this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"), a = "<span class='ui-slider-handle ui-state-default ui-corner-all' tabindex='0'></span>", o = [];
- for (i = s.values && s.values.length || 1, n.length > i && (n.slice(i).remove(), n = n.slice(0, i)), t = n.length; i > t; t++)o.push(a);
- this.handles = n.add(e(o.join("")).appendTo(this.element)), this.handle = this.handles.eq(0), this.handles.each(function (t) {
- e(this).data("ui-slider-handle-index", t)
- })
- },
- _createRange: function () {
- var t = this.options, i = "";
- t.range ? (t.range === !0 && (t.values ? t.values.length && 2 !== t.values.length ? t.values = [t.values[0], t.values[0]] : e.isArray(t.values) && (t.values = t.values.slice(0)) : t.values = [this._valueMin(), this._valueMin()]), this.range && this.range.length ? this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({
- left: "",
- bottom: ""
- }) : (this.range = e("<div></div>").appendTo(this.element), i = "ui-slider-range ui-widget-header ui-corner-all"), this.range.addClass(i + ("min" === t.range || "max" === t.range ? " ui-slider-range-" + t.range : ""))) : (this.range && this.range.remove(), this.range = null)
- },
- _setupEvents: function () {
- this._off(this.handles), this._on(this.handles, this._handleEvents), this._hoverable(this.handles), this._focusable(this.handles)
- },
- _destroy: function () {
- this.handles.remove(), this.range && this.range.remove(), this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"), this._mouseDestroy()
- },
- _mouseCapture: function (t) {
- var i, s, n, a, o, r, h, l, u = this, d = this.options;
- return d.disabled ? !1 : (this.elementSize = {
- width: this.element.outerWidth(),
- height: this.element.outerHeight()
- }, this.elementOffset = this.element.offset(), i = {
- x: t.pageX,
- y: t.pageY
- }, s = this._normValueFromMouse(i), n = this._valueMax() - this._valueMin() + 1, this.handles.each(function (t) {
- var i = Math.abs(s - u.values(t));
- (n > i || n === i && (t === u._lastChangedValue || u.values(t) === d.min)) && (n = i, a = e(this), o = t)
- }), r = this._start(t, o), r === !1 ? !1 : (this._mouseSliding = !0, this._handleIndex = o, a.addClass("ui-state-active").focus(), h = a.offset(), l = !e(t.target).parents().addBack().is(".ui-slider-handle"), this._clickOffset = l ? {
- left: 0,
- top: 0
- } : {
- left: t.pageX - h.left - a.width() / 2,
- top: t.pageY - h.top - a.height() / 2 - (parseInt(a.css("borderTopWidth"), 10) || 0) - (parseInt(a.css("borderBottomWidth"), 10) || 0) + (parseInt(a.css("marginTop"), 10) || 0)
- }, this.handles.hasClass("ui-state-hover") || this._slide(t, o, s), this._animateOff = !0, !0))
- },
- _mouseStart: function () {
- return !0
- },
- _mouseDrag: function (e) {
- var t = {x: e.pageX, y: e.pageY}, i = this._normValueFromMouse(t);
- return this._slide(e, this._handleIndex, i), !1
- },
- _mouseStop: function (e) {
- return this.handles.removeClass("ui-state-active"), this._mouseSliding = !1, this._stop(e, this._handleIndex), this._change(e, this._handleIndex), this._handleIndex = null, this._clickOffset = null, this._animateOff = !1, !1
- },
- _detectOrientation: function () {
- this.orientation = "vertical" === this.options.orientation ? "vertical" : "horizontal"
- },
- _normValueFromMouse: function (e) {
- var t, i, s, n, a;
- return "horizontal" === this.orientation ? (t = this.elementSize.width, i = e.x - this.elementOffset.left - (this._clickOffset ? this._clickOffset.left : 0)) : (t = this.elementSize.height, i = e.y - this.elementOffset.top - (this._clickOffset ? this._clickOffset.top : 0)), s = i / t, s > 1 && (s = 1), 0 > s && (s = 0), "vertical" === this.orientation && (s = 1 - s), n = this._valueMax() - this._valueMin(), a = this._valueMin() + s * n, this._trimAlignValue(a)
- },
- _start: function (e, t) {
- var i = {handle: this.handles[t], value: this.value()};
- return this.options.values && this.options.values.length && (i.value = this.values(t), i.values = this.values()), this._trigger("start", e, i)
- },
- _slide: function (e, t, i) {
- var s, n, a;
- this.options.values && this.options.values.length ? (s = this.values(t ? 0 : 1), 2 === this.options.values.length && this.options.range === !0 && (0 === t && i > s || 1 === t && s > i) && (i = s), i !== this.values(t) && (n = this.values(), n[t] = i, a = this._trigger("slide", e, {
- handle: this.handles[t],
- value: i,
- values: n
- }), s = this.values(t ? 0 : 1), a !== !1 && this.values(t, i))) : i !== this.value() && (a = this._trigger("slide", e, {
- handle: this.handles[t],
- value: i
- }), a !== !1 && this.value(i))
- },
- _stop: function (e, t) {
- var i = {handle: this.handles[t], value: this.value()};
- this.options.values && this.options.values.length && (i.value = this.values(t), i.values = this.values()), this._trigger("stop", e, i)
- },
- _change: function (e, t) {
- if (!this._keySliding && !this._mouseSliding) {
- var i = {handle: this.handles[t], value: this.value()};
- this.options.values && this.options.values.length && (i.value = this.values(t), i.values = this.values()), this._lastChangedValue = t, this._trigger("change", e, i)
- }
- },
- value: function (e) {
- return arguments.length ? (this.options.value = this._trimAlignValue(e), this._refreshValue(), this._change(null, 0), void 0) : this._value()
- },
- values: function (t, i) {
- var s, n, a;
- if (arguments.length > 1)return this.options.values[t] = this._trimAlignValue(i), this._refreshValue(), this._change(null, t), void 0;
- if (!arguments.length)return this._values();
- if (!e.isArray(arguments[0]))return this.options.values && this.options.values.length ? this._values(t) : this.value();
- for (s = this.options.values, n = arguments[0], a = 0; s.length > a; a += 1)s[a] = this._trimAlignValue(n[a]), this._change(null, a);
- this._refreshValue()
- },
- _setOption: function (t, i) {
- var s, n = 0;
- switch ("range" === t && this.options.range === !0 && ("min" === i ? (this.options.value = this._values(0), this.options.values = null) : "max" === i && (this.options.value = this._values(this.options.values.length - 1), this.options.values = null)), e.isArray(this.options.values) && (n = this.options.values.length), "disabled" === t && this.element.toggleClass("ui-state-disabled", !!i), this._super(t, i), t) {
- case"orientation":
- this._detectOrientation(), this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-" + this.orientation), this._refreshValue(), this.handles.css("horizontal" === i ? "bottom" : "left", "");
- break;
- case"value":
- this._animateOff = !0, this._refreshValue(), this._change(null, 0), this._animateOff = !1;
- break;
- case"values":
- for (this._animateOff = !0, this._refreshValue(), s = 0; n > s; s += 1)this._change(null, s);
- this._animateOff = !1;
- break;
- case"step":
- case"min":
- case"max":
- this._animateOff = !0, this._calculateNewMax(), this._refreshValue(), this._animateOff = !1;
- break;
- case"range":
- this._animateOff = !0, this._refresh(), this._animateOff = !1
- }
- },
- _value: function () {
- var e = this.options.value;
- return e = this._trimAlignValue(e)
- },
- _values: function (e) {
- var t, i, s;
- if (arguments.length)return t = this.options.values[e], t = this._trimAlignValue(t);
- if (this.options.values && this.options.values.length) {
- for (i = this.options.values.slice(), s = 0; i.length > s; s += 1)i[s] = this._trimAlignValue(i[s]);
- return i
- }
- return []
- },
- _trimAlignValue: function (e) {
- if (this._valueMin() >= e)return this._valueMin();
- if (e >= this._valueMax())return this._valueMax();
- var t = this.options.step > 0 ? this.options.step : 1, i = (e - this._valueMin()) % t, s = e - i;
- return 2 * Math.abs(i) >= t && (s += i > 0 ? t : -t), parseFloat(s.toFixed(5))
- },
- _calculateNewMax: function () {
- var e = this.options.max, t = this._valueMin(), i = this.options.step, s = Math.floor(+(e - t).toFixed(this._precision()) / i) * i;
- e = s + t, this.max = parseFloat(e.toFixed(this._precision()))
- },
- _precision: function () {
- var e = this._precisionOf(this.options.step);
- return null !== this.options.min && (e = Math.max(e, this._precisionOf(this.options.min))), e
- },
- _precisionOf: function (e) {
- var t = "" + e, i = t.indexOf(".");
- return -1 === i ? 0 : t.length - i - 1
- },
- _valueMin: function () {
- return this.options.min
- },
- _valueMax: function () {
- return this.max
- },
- _refreshValue: function () {
- var t, i, s, n, a, o = this.options.range, r = this.options, h = this, l = this._animateOff ? !1 : r.animate, u = {};
- this.options.values && this.options.values.length ? this.handles.each(function (s) {
- i = 100 * ((h.values(s) - h._valueMin()) / (h._valueMax() - h._valueMin())), u["horizontal" === h.orientation ? "left" : "bottom"] = i + "%", e(this).stop(1, 1)[l ? "animate" : "css"](u, r.animate), h.options.range === !0 && ("horizontal" === h.orientation ? (0 === s && h.range.stop(1, 1)[l ? "animate" : "css"]({left: i + "%"}, r.animate), 1 === s && h.range[l ? "animate" : "css"]({width: i - t + "%"}, {
- queue: !1,
- duration: r.animate
- })) : (0 === s && h.range.stop(1, 1)[l ? "animate" : "css"]({bottom: i + "%"}, r.animate), 1 === s && h.range[l ? "animate" : "css"]({height: i - t + "%"}, {
- queue: !1,
- duration: r.animate
- }))), t = i
- }) : (s = this.value(), n = this._valueMin(), a = this._valueMax(), i = a !== n ? 100 * ((s - n) / (a - n)) : 0, u["horizontal" === this.orientation ? "left" : "bottom"] = i + "%", this.handle.stop(1, 1)[l ? "animate" : "css"](u, r.animate), "min" === o && "horizontal" === this.orientation && this.range.stop(1, 1)[l ? "animate" : "css"]({width: i + "%"}, r.animate), "max" === o && "horizontal" === this.orientation && this.range[l ? "animate" : "css"]({width: 100 - i + "%"}, {
- queue: !1,
- duration: r.animate
- }), "min" === o && "vertical" === this.orientation && this.range.stop(1, 1)[l ? "animate" : "css"]({height: i + "%"}, r.animate), "max" === o && "vertical" === this.orientation && this.range[l ? "animate" : "css"]({height: 100 - i + "%"}, {
- queue: !1,
- duration: r.animate
- }))
- },
- _handleEvents: {
- keydown: function (t) {
- var i, s, n, a, o = e(t.target).data("ui-slider-handle-index");
- switch (t.keyCode) {
- case e.ui.keyCode.HOME:
- case e.ui.keyCode.END:
- case e.ui.keyCode.PAGE_UP:
- case e.ui.keyCode.PAGE_DOWN:
- case e.ui.keyCode.UP:
- case e.ui.keyCode.RIGHT:
- case e.ui.keyCode.DOWN:
- case e.ui.keyCode.LEFT:
- if (t.preventDefault(), !this._keySliding && (this._keySliding = !0, e(t.target).addClass("ui-state-active"), i = this._start(t, o), i === !1))return
- }
- switch (a = this.options.step, s = n = this.options.values && this.options.values.length ? this.values(o) : this.value(), t.keyCode) {
- case e.ui.keyCode.HOME:
- n = this._valueMin();
- break;
- case e.ui.keyCode.END:
- n = this._valueMax();
- break;
- case e.ui.keyCode.PAGE_UP:
- n = this._trimAlignValue(s + (this._valueMax() - this._valueMin()) / this.numPages);
- break;
- case e.ui.keyCode.PAGE_DOWN:
- n = this._trimAlignValue(s - (this._valueMax() - this._valueMin()) / this.numPages);
- break;
- case e.ui.keyCode.UP:
- case e.ui.keyCode.RIGHT:
- if (s === this._valueMax())return;
- n = this._trimAlignValue(s + a);
- break;
- case e.ui.keyCode.DOWN:
- case e.ui.keyCode.LEFT:
- if (s === this._valueMin())return;
- n = this._trimAlignValue(s - a)
- }
- this._slide(t, o, n)
- }, keyup: function (t) {
- var i = e(t.target).data("ui-slider-handle-index");
- this._keySliding && (this._keySliding = !1, this._stop(t, i), this._change(t, i), e(t.target).removeClass("ui-state-active"))
- }
- }
- }), e.widget("ui.spinner", {
- version: "1.11.4",
- defaultElement: "<input>",
- widgetEventPrefix: "spin",
- options: {
- culture: null,
- icons: {down: "ui-icon-triangle-1-s", up: "ui-icon-triangle-1-n"},
- incremental: !0,
- max: null,
- min: null,
- numberFormat: null,
- page: 10,
- step: 1,
- change: null,
- spin: null,
- start: null,
- stop: null
- },
- _create: function () {
- this._setOption("max", this.options.max), this._setOption("min", this.options.min), this._setOption("step", this.options.step), "" !== this.value() && this._value(this.element.val(), !0), this._draw(), this._on(this._events), this._refresh(), this._on(this.window, {
- beforeunload: function () {
- this.element.removeAttr("autocomplete")
- }
- })
- },
- _getCreateOptions: function () {
- var t = {}, i = this.element;
- return e.each(["min", "max", "step"], function (e, s) {
- var n = i.attr(s);
- void 0 !== n && n.length && (t[s] = n)
- }), t
- },
- _events: {
- keydown: function (e) {
- this._start(e) && this._keydown(e) && e.preventDefault()
- }, keyup: "_stop", focus: function () {
- this.previous = this.element.val()
- }, blur: function (e) {
- return this.cancelBlur ? (delete this.cancelBlur, void 0) : (this._stop(), this._refresh(), this.previous !== this.element.val() && this._trigger("change", e), void 0)
- }, mousewheel: function (e, t) {
- if (t) {
- if (!this.spinning && !this._start(e))return !1;
- this._spin((t > 0 ? 1 : -1) * this.options.step, e), clearTimeout(this.mousewheelTimer), this.mousewheelTimer = this._delay(function () {
- this.spinning && this._stop(e)
- }, 100), e.preventDefault()
- }
- }, "mousedown .ui-spinner-button": function (t) {
- function i() {
- var e = this.element[0] === this.document[0].activeElement;
- e || (this.element.focus(), this.previous = s, this._delay(function () {
- this.previous = s
- }))
- }
-
- var s;
- s = this.element[0] === this.document[0].activeElement ? this.previous : this.element.val(), t.preventDefault(), i.call(this), this.cancelBlur = !0, this._delay(function () {
- delete this.cancelBlur, i.call(this)
- }), this._start(t) !== !1 && this._repeat(null, e(t.currentTarget).hasClass("ui-spinner-up") ? 1 : -1, t)
- }, "mouseup .ui-spinner-button": "_stop", "mouseenter .ui-spinner-button": function (t) {
- return e(t.currentTarget).hasClass("ui-state-active") ? this._start(t) === !1 ? !1 : (this._repeat(null, e(t.currentTarget).hasClass("ui-spinner-up") ? 1 : -1, t), void 0) : void 0
- }, "mouseleave .ui-spinner-button": "_stop"
- },
- _draw: function () {
- var e = this.uiSpinner = this.element.addClass("ui-spinner-input").attr("autocomplete", "off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());
- this.element.attr("role", "spinbutton"), this.buttons = e.find(".ui-spinner-button").attr("tabIndex", -1).button().removeClass("ui-corner-all"), this.buttons.height() > Math.ceil(.5 * e.height()) && e.height() > 0 && e.height(e.height()), this.options.disabled && this.disable()
- },
- _keydown: function (t) {
- var i = this.options, s = e.ui.keyCode;
- switch (t.keyCode) {
- case s.UP:
- return this._repeat(null, 1, t), !0;
- case s.DOWN:
- return this._repeat(null, -1, t), !0;
- case s.PAGE_UP:
- return this._repeat(null, i.page, t), !0;
- case s.PAGE_DOWN:
- return this._repeat(null, -i.page, t), !0
- }
- return !1
- },
- _uiSpinnerHtml: function () {
- return "<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"
- },
- _buttonHtml: function () {
- return "<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon " + this.options.icons.up + "'>&#9650;</span>" + "</a>" + "<a class='ui-spinner-button ui-spinner-down ui-corner-br'>" + "<span class='ui-icon " + this.options.icons.down + "'>&#9660;</span>" + "</a>"
- },
- _start: function (e) {
- return this.spinning || this._trigger("start", e) !== !1 ? (this.counter || (this.counter = 1), this.spinning = !0, !0) : !1
- },
- _repeat: function (e, t, i) {
- e = e || 500, clearTimeout(this.timer), this.timer = this._delay(function () {
- this._repeat(40, t, i)
- }, e), this._spin(t * this.options.step, i)
- },
- _spin: function (e, t) {
- var i = this.value() || 0;
- this.counter || (this.counter = 1), i = this._adjustValue(i + e * this._increment(this.counter)), this.spinning && this._trigger("spin", t, {value: i}) === !1 || (this._value(i), this.counter++)
- },
- _increment: function (t) {
- var i = this.options.incremental;
- return i ? e.isFunction(i) ? i(t) : Math.floor(t * t * t / 5e4 - t * t / 500 + 17 * t / 200 + 1) : 1
- },
- _precision: function () {
- var e = this._precisionOf(this.options.step);
- return null !== this.options.min && (e = Math.max(e, this._precisionOf(this.options.min))), e
- },
- _precisionOf: function (e) {
- var t = "" + e, i = t.indexOf(".");
- return -1 === i ? 0 : t.length - i - 1
- },
- _adjustValue: function (e) {
- var t, i, s = this.options;
- return t = null !== s.min ? s.min : 0, i = e - t, i = Math.round(i / s.step) * s.step, e = t + i, e = parseFloat(e.toFixed(this._precision())), null !== s.max && e > s.max ? s.max : null !== s.min && s.min > e ? s.min : e
- },
- _stop: function (e) {
- this.spinning && (clearTimeout(this.timer), clearTimeout(this.mousewheelTimer), this.counter = 0, this.spinning = !1, this._trigger("stop", e))
- },
- _setOption: function (e, t) {
- if ("culture" === e || "numberFormat" === e) {
- var i = this._parse(this.element.val());
- return this.options[e] = t, this.element.val(this._format(i)), void 0
- }
- ("max" === e || "min" === e || "step" === e) && "string" == typeof t && (t = this._parse(t)), "icons" === e && (this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(t.up), this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(t.down)), this._super(e, t), "disabled" === e && (this.widget().toggleClass("ui-state-disabled", !!t), this.element.prop("disabled", !!t), this.buttons.button(t ? "disable" : "enable"))
- },
- _setOptions: h(function (e) {
- this._super(e)
- }),
- _parse: function (e) {
- return "string" == typeof e && "" !== e && (e = window.Globalize && this.options.numberFormat ? Globalize.parseFloat(e, 10, this.options.culture) : +e), "" === e || isNaN(e) ? null : e
- },
- _format: function (e) {
- return "" === e ? "" : window.Globalize && this.options.numberFormat ? Globalize.format(e, this.options.numberFormat, this.options.culture) : e
- },
- _refresh: function () {
- this.element.attr({
- "aria-valuemin": this.options.min,
- "aria-valuemax": this.options.max,
- "aria-valuenow": this._parse(this.element.val())
- })
- },
- isValid: function () {
- var e = this.value();
- return null === e ? !1 : e === this._adjustValue(e)
- },
- _value: function (e, t) {
- var i;
- "" !== e && (i = this._parse(e), null !== i && (t || (i = this._adjustValue(i)), e = this._format(i))), this.element.val(e), this._refresh()
- },
- _destroy: function () {
- this.element.removeClass("ui-spinner-input").prop("disabled", !1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"), this.uiSpinner.replaceWith(this.element)
- },
- stepUp: h(function (e) {
- this._stepUp(e)
- }),
- _stepUp: function (e) {
- this._start() && (this._spin((e || 1) * this.options.step), this._stop())
- },
- stepDown: h(function (e) {
- this._stepDown(e)
- }),
- _stepDown: function (e) {
- this._start() && (this._spin((e || 1) * -this.options.step), this._stop())
- },
- pageUp: h(function (e) {
- this._stepUp((e || 1) * this.options.page)
- }),
- pageDown: h(function (e) {
- this._stepDown((e || 1) * this.options.page)
- }),
- value: function (e) {
- return arguments.length ? (h(this._value).call(this, e), void 0) : this._parse(this.element.val())
- },
- widget: function () {
- return this.uiSpinner
- }
- }), e.widget("ui.tabs", {
- version: "1.11.4",
- delay: 300,
- options: {
- active: null,
- collapsible: !1,
- event: "click",
- heightStyle: "content",
- hide: null,
- show: null,
- activate: null,
- beforeActivate: null,
- beforeLoad: null,
- load: null
- },
- _isLocal: function () {
- var e = /#.*$/;
- return function (t) {
- var i, s;
- t = t.cloneNode(!1), i = t.href.replace(e, ""), s = location.href.replace(e, "");
- try {
- i = decodeURIComponent(i)
- } catch (n) {
- }
- try {
- s = decodeURIComponent(s)
- } catch (n) {
- }
- return t.hash.length > 1 && i === s
- }
- }(),
- _create: function () {
- var t = this, i = this.options;
- this.running = !1, this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible", i.collapsible), this._processTabs(), i.active = this._initialActive(), e.isArray(i.disabled) && (i.disabled = e.unique(i.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"), function (e) {
- return t.tabs.index(e)
- }))).sort()), this.active = this.options.active !== !1 && this.anchors.length ? this._findActive(i.active) : e(), this._refresh(), this.active.length && this.load(i.active)
- },
- _initialActive: function () {
- var t = this.options.active, i = this.options.collapsible, s = location.hash.substring(1);
- return null === t && (s && this.tabs.each(function (i, n) {
- return e(n).attr("aria-controls") === s ? (t = i, !1) : void 0
- }), null === t && (t = this.tabs.index(this.tabs.filter(".ui-tabs-active"))), (null === t || -1 === t) && (t = this.tabs.length ? 0 : !1)), t !== !1 && (t = this.tabs.index(this.tabs.eq(t)), -1 === t && (t = i ? !1 : 0)), !i && t === !1 && this.anchors.length && (t = 0), t
- },
- _getCreateEventData: function () {
- return {tab: this.active, panel: this.active.length ? this._getPanelForTab(this.active) : e()}
- },
- _tabKeydown: function (t) {
- var i = e(this.document[0].activeElement).closest("li"), s = this.tabs.index(i), n = !0;
- if (!this._handlePageNav(t)) {
- switch (t.keyCode) {
- case e.ui.keyCode.RIGHT:
- case e.ui.keyCode.DOWN:
- s++;
- break;
- case e.ui.keyCode.UP:
- case e.ui.keyCode.LEFT:
- n = !1, s--;
- break;
- case e.ui.keyCode.END:
- s = this.anchors.length - 1;
- break;
- case e.ui.keyCode.HOME:
- s = 0;
- break;
- case e.ui.keyCode.SPACE:
- return t.preventDefault(), clearTimeout(this.activating), this._activate(s), void 0;
- case e.ui.keyCode.ENTER:
- return t.preventDefault(), clearTimeout(this.activating), this._activate(s === this.options.active ? !1 : s), void 0;
- default:
- return
- }
- t.preventDefault(), clearTimeout(this.activating), s = this._focusNextTab(s, n), t.ctrlKey || t.metaKey || (i.attr("aria-selected", "false"), this.tabs.eq(s).attr("aria-selected", "true"), this.activating = this._delay(function () {
- this.option("active", s)
- }, this.delay))
- }
- },
- _panelKeydown: function (t) {
- this._handlePageNav(t) || t.ctrlKey && t.keyCode === e.ui.keyCode.UP && (t.preventDefault(), this.active.focus())
- },
- _handlePageNav: function (t) {
- return t.altKey && t.keyCode === e.ui.keyCode.PAGE_UP ? (this._activate(this._focusNextTab(this.options.active - 1, !1)), !0) : t.altKey && t.keyCode === e.ui.keyCode.PAGE_DOWN ? (this._activate(this._focusNextTab(this.options.active + 1, !0)), !0) : void 0
- },
- _findNextTab: function (t, i) {
- function s() {
- return t > n && (t = 0), 0 > t && (t = n), t
- }
-
- for (var n = this.tabs.length - 1; -1 !== e.inArray(s(), this.options.disabled);)t = i ? t + 1 : t - 1;
- return t
- },
- _focusNextTab: function (e, t) {
- return e = this._findNextTab(e, t), this.tabs.eq(e).focus(), e
- },
- _setOption: function (e, t) {
- return "active" === e ? (this._activate(t), void 0) : "disabled" === e ? (this._setupDisabled(t), void 0) : (this._super(e, t), "collapsible" === e && (this.element.toggleClass("ui-tabs-collapsible", t), t || this.options.active !== !1 || this._activate(0)), "event" === e && this._setupEvents(t), "heightStyle" === e && this._setupHeightStyle(t), void 0)
- },
- _sanitizeSelector: function (e) {
- return e ? e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g, "\\$&") : ""
- },
- refresh: function () {
- var t = this.options, i = this.tablist.children(":has(a[href])");
- t.disabled = e.map(i.filter(".ui-state-disabled"), function (e) {
- return i.index(e)
- }), this._processTabs(), t.active !== !1 && this.anchors.length ? this.active.length && !e.contains(this.tablist[0], this.active[0]) ? this.tabs.length === t.disabled.length ? (t.active = !1, this.active = e()) : this._activate(this._findNextTab(Math.max(0, t.active - 1), !1)) : t.active = this.tabs.index(this.active) : (t.active = !1, this.active = e()), this._refresh()
- },
- _refresh: function () {
- this._setupDisabled(this.options.disabled), this._setupEvents(this.options.event), this._setupHeightStyle(this.options.heightStyle), this.tabs.not(this.active).attr({
- "aria-selected": "false",
- "aria-expanded": "false",
- tabIndex: -1
- }), this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden": "true"}), this.active.length ? (this.active.addClass("ui-tabs-active ui-state-active").attr({
- "aria-selected": "true",
- "aria-expanded": "true",
- tabIndex: 0
- }), this._getPanelForTab(this.active).show().attr({"aria-hidden": "false"})) : this.tabs.eq(0).attr("tabIndex", 0)
- },
- _processTabs: function () {
- var t = this, i = this.tabs, s = this.anchors, n = this.panels;
- this.tablist = this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role", "tablist").delegate("> li", "mousedown" + this.eventNamespace, function (t) {
- e(this).is(".ui-state-disabled") && t.preventDefault()
- }).delegate(".ui-tabs-anchor", "focus" + this.eventNamespace, function () {
- e(this).closest("li").is(".ui-state-disabled") && this.blur()
- }), this.tabs = this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({
- role: "tab",
- tabIndex: -1
- }), this.anchors = this.tabs.map(function () {
- return e("a", this)[0]
- }).addClass("ui-tabs-anchor").attr({
- role: "presentation",
- tabIndex: -1
- }), this.panels = e(), this.anchors.each(function (i, s) {
- var n, a, o, r = e(s).uniqueId().attr("id"), h = e(s).closest("li"), l = h.attr("aria-controls");
- t._isLocal(s) ? (n = s.hash, o = n.substring(1), a = t.element.find(t._sanitizeSelector(n))) : (o = h.attr("aria-controls") || e({}).uniqueId()[0].id, n = "#" + o, a = t.element.find(n), a.length || (a = t._createPanel(o), a.insertAfter(t.panels[i - 1] || t.tablist)), a.attr("aria-live", "polite")), a.length && (t.panels = t.panels.add(a)), l && h.data("ui-tabs-aria-controls", l), h.attr({
- "aria-controls": o,
- "aria-labelledby": r
- }), a.attr("aria-labelledby", r)
- }), this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role", "tabpanel"), i && (this._off(i.not(this.tabs)), this._off(s.not(this.anchors)), this._off(n.not(this.panels)))
- },
- _getList: function () {
- return this.tablist || this.element.find("ol,ul").eq(0)
- },
- _createPanel: function (t) {
- return e("<div>").attr("id", t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy", !0)
- },
- _setupDisabled: function (t) {
- e.isArray(t) && (t.length ? t.length === this.anchors.length && (t = !0) : t = !1);
- for (var i, s = 0; i = this.tabs[s]; s++)t === !0 || -1 !== e.inArray(s, t) ? e(i).addClass("ui-state-disabled").attr("aria-disabled", "true") : e(i).removeClass("ui-state-disabled").removeAttr("aria-disabled");
- this.options.disabled = t
- },
- _setupEvents: function (t) {
- var i = {};
- t && e.each(t.split(" "), function (e, t) {
- i[t] = "_eventHandler"
- }), this._off(this.anchors.add(this.tabs).add(this.panels)), this._on(!0, this.anchors, {
- click: function (e) {
- e.preventDefault()
- }
- }), this._on(this.anchors, i), this._on(this.tabs, {keydown: "_tabKeydown"}), this._on(this.panels, {keydown: "_panelKeydown"}), this._focusable(this.tabs), this._hoverable(this.tabs)
- },
- _setupHeightStyle: function (t) {
- var i, s = this.element.parent();
- "fill" === t ? (i = s.height(), i -= this.element.outerHeight() - this.element.height(), this.element.siblings(":visible").each(function () {
- var t = e(this), s = t.css("position");
- "absolute" !== s && "fixed" !== s && (i -= t.outerHeight(!0))
- }), this.element.children().not(this.panels).each(function () {
- i -= e(this).outerHeight(!0)
- }), this.panels.each(function () {
- e(this).height(Math.max(0, i - e(this).innerHeight() + e(this).height()))
- }).css("overflow", "auto")) : "auto" === t && (i = 0, this.panels.each(function () {
- i = Math.max(i, e(this).height("").height())
- }).height(i))
- },
- _eventHandler: function (t) {
- var i = this.options, s = this.active, n = e(t.currentTarget), a = n.closest("li"), o = a[0] === s[0], r = o && i.collapsible, h = r ? e() : this._getPanelForTab(a), l = s.length ? this._getPanelForTab(s) : e(), u = {
- oldTab: s,
- oldPanel: l,
- newTab: r ? e() : a,
- newPanel: h
- };
- t.preventDefault(), a.hasClass("ui-state-disabled") || a.hasClass("ui-tabs-loading") || this.running || o && !i.collapsible || this._trigger("beforeActivate", t, u) === !1 || (i.active = r ? !1 : this.tabs.index(a), this.active = o ? e() : a, this.xhr && this.xhr.abort(), l.length || h.length || e.error("jQuery UI Tabs: Mismatching fragment identifier."), h.length && this.load(this.tabs.index(a), t), this._toggle(t, u))
- },
- _toggle: function (t, i) {
- function s() {
- a.running = !1, a._trigger("activate", t, i)
- }
-
- function n() {
- i.newTab.closest("li").addClass("ui-tabs-active ui-state-active"), o.length && a.options.show ? a._show(o, a.options.show, s) : (o.show(), s())
- }
-
- var a = this, o = i.newPanel, r = i.oldPanel;
- this.running = !0, r.length && this.options.hide ? this._hide(r, this.options.hide, function () {
- i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"), n()
- }) : (i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"), r.hide(), n()), r.attr("aria-hidden", "true"), i.oldTab.attr({
- "aria-selected": "false",
- "aria-expanded": "false"
- }), o.length && r.length ? i.oldTab.attr("tabIndex", -1) : o.length && this.tabs.filter(function () {
- return 0 === e(this).attr("tabIndex")
- }).attr("tabIndex", -1), o.attr("aria-hidden", "false"), i.newTab.attr({
- "aria-selected": "true",
- "aria-expanded": "true",
- tabIndex: 0
- })
- },
- _activate: function (t) {
- var i, s = this._findActive(t);
- s[0] !== this.active[0] && (s.length || (s = this.active), i = s.find(".ui-tabs-anchor")[0], this._eventHandler({
- target: i,
- currentTarget: i,
- preventDefault: e.noop
- }))
- },
- _findActive: function (t) {
- return t === !1 ? e() : this.tabs.eq(t)
- },
- _getIndex: function (e) {
- return "string" == typeof e && (e = this.anchors.index(this.anchors.filter("[href$='" + e + "']"))), e
- },
- _destroy: function () {
- this.xhr && this.xhr.abort(), this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"), this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"), this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(), this.tablist.unbind(this.eventNamespace), this.tabs.add(this.panels).each(function () {
- e.data(this, "ui-tabs-destroy") ? e(this).remove() : e(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")
- }), this.tabs.each(function () {
- var t = e(this), i = t.data("ui-tabs-aria-controls");
- i ? t.attr("aria-controls", i).removeData("ui-tabs-aria-controls") : t.removeAttr("aria-controls")
- }), this.panels.show(), "content" !== this.options.heightStyle && this.panels.css("height", "")
- },
- enable: function (t) {
- var i = this.options.disabled;
- i !== !1 && (void 0 === t ? i = !1 : (t = this._getIndex(t), i = e.isArray(i) ? e.map(i, function (e) {
- return e !== t ? e : null
- }) : e.map(this.tabs, function (e, i) {
- return i !== t ? i : null
- })), this._setupDisabled(i))
- },
- disable: function (t) {
- var i = this.options.disabled;
- if (i !== !0) {
- if (void 0 === t)i = !0; else {
- if (t = this._getIndex(t), -1 !== e.inArray(t, i))return;
- i = e.isArray(i) ? e.merge([t], i).sort() : [t]
- }
- this._setupDisabled(i)
- }
- },
- load: function (t, i) {
- t = this._getIndex(t);
- var s = this, n = this.tabs.eq(t), a = n.find(".ui-tabs-anchor"), o = this._getPanelForTab(n), r = {
- tab: n,
- panel: o
- }, h = function (e, t) {
- "abort" === t && s.panels.stop(!1, !0), n.removeClass("ui-tabs-loading"), o.removeAttr("aria-busy"), e === s.xhr && delete s.xhr
- };
- this._isLocal(a[0]) || (this.xhr = e.ajax(this._ajaxSettings(a, i, r)), this.xhr && "canceled" !== this.xhr.statusText && (n.addClass("ui-tabs-loading"), o.attr("aria-busy", "true"), this.xhr.done(function (e, t, n) {
- setTimeout(function () {
- o.html(e), s._trigger("load", i, r), h(n, t)
- }, 1)
- }).fail(function (e, t) {
- setTimeout(function () {
- h(e, t)
- }, 1)
- })))
- },
- _ajaxSettings: function (t, i, s) {
- var n = this;
- return {
- url: t.attr("href"), beforeSend: function (t, a) {
- return n._trigger("beforeLoad", i, e.extend({jqXHR: t, ajaxSettings: a}, s))
- }
- }
- },
- _getPanelForTab: function (t) {
- var i = e(t).attr("aria-controls");
- return this.element.find(this._sanitizeSelector("#" + i))
- }
- }), e.widget("ui.tooltip", {
- version: "1.11.4", options: {
- content: function () {
- var t = e(this).attr("title") || "";
- return e("<a>").text(t).html()
- },
- hide: !0,
- items: "[title]:not([disabled])",
- position: {my: "left top+15", at: "left bottom", collision: "flipfit flip"},
- show: !0,
- tooltipClass: null,
- track: !1,
- close: null,
- open: null
- }, _addDescribedBy: function (t, i) {
- var s = (t.attr("aria-describedby") || "").split(/\s+/);
- s.push(i), t.data("ui-tooltip-id", i).attr("aria-describedby", e.trim(s.join(" ")))
- }, _removeDescribedBy: function (t) {
- var i = t.data("ui-tooltip-id"), s = (t.attr("aria-describedby") || "").split(/\s+/), n = e.inArray(i, s);
- -1 !== n && s.splice(n, 1), t.removeData("ui-tooltip-id"), s = e.trim(s.join(" ")), s ? t.attr("aria-describedby", s) : t.removeAttr("aria-describedby")
- }, _create: function () {
- this._on({
- mouseover: "open",
- focusin: "open"
- }), this.tooltips = {}, this.parents = {}, this.options.disabled && this._disable(), this.liveRegion = e("<div>").attr({
- role: "log",
- "aria-live": "assertive",
- "aria-relevant": "additions"
- }).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body)
- }, _setOption: function (t, i) {
- var s = this;
- return "disabled" === t ? (this[i ? "_disable" : "_enable"](), this.options[t] = i, void 0) : (this._super(t, i), "content" === t && e.each(this.tooltips, function (e, t) {
- s._updateContent(t.element)
- }), void 0)
- }, _disable: function () {
- var t = this;
- e.each(this.tooltips, function (i, s) {
- var n = e.Event("blur");
- n.target = n.currentTarget = s.element[0], t.close(n, !0)
- }), this.element.find(this.options.items).addBack().each(function () {
- var t = e(this);
- t.is("[title]") && t.data("ui-tooltip-title", t.attr("title")).removeAttr("title")
- })
- }, _enable: function () {
- this.element.find(this.options.items).addBack().each(function () {
- var t = e(this);
- t.data("ui-tooltip-title") && t.attr("title", t.data("ui-tooltip-title"))
- })
- }, open: function (t) {
- var i = this, s = e(t ? t.target : this.element).closest(this.options.items);
- s.length && !s.data("ui-tooltip-id") && (s.attr("title") && s.data("ui-tooltip-title", s.attr("title")), s.data("ui-tooltip-open", !0), t && "mouseover" === t.type && s.parents().each(function () {
- var t, s = e(this);
- s.data("ui-tooltip-open") && (t = e.Event("blur"), t.target = t.currentTarget = this, i.close(t, !0)), s.attr("title") && (s.uniqueId(), i.parents[this.id] = {
- element: this,
- title: s.attr("title")
- }, s.attr("title", ""))
- }), this._registerCloseHandlers(t, s), this._updateContent(s, t))
- }, _updateContent: function (e, t) {
- var i, s = this.options.content, n = this, a = t ? t.type : null;
- return "string" == typeof s ? this._open(t, e, s) : (i = s.call(e[0], function (i) {
- n._delay(function () {
- e.data("ui-tooltip-open") && (t && (t.type = a), this._open(t, e, i))
- })
- }), i && this._open(t, e, i), void 0)
- }, _open: function (t, i, s) {
- function n(e) {
- l.of = e, o.is(":hidden") || o.position(l)
- }
-
- var a, o, r, h, l = e.extend({}, this.options.position);
- if (s) {
- if (a = this._find(i))return a.tooltip.find(".ui-tooltip-content").html(s), void 0;
- i.is("[title]") && (t && "mouseover" === t.type ? i.attr("title", "") : i.removeAttr("title")), a = this._tooltip(i), o = a.tooltip, this._addDescribedBy(i, o.attr("id")), o.find(".ui-tooltip-content").html(s), this.liveRegion.children().hide(), s.clone ? (h = s.clone(), h.removeAttr("id").find("[id]").removeAttr("id")) : h = s, e("<div>").html(h).appendTo(this.liveRegion), this.options.track && t && /^mouse/.test(t.type) ? (this._on(this.document, {mousemove: n}), n(t)) : o.position(e.extend({of: i}, this.options.position)), o.hide(), this._show(o, this.options.show), this.options.show && this.options.show.delay && (r = this.delayedShow = setInterval(function () {
- o.is(":visible") && (n(l.of), clearInterval(r))
- }, e.fx.interval)), this._trigger("open", t, {tooltip: o})
- }
- }, _registerCloseHandlers: function (t, i) {
- var s = {
- keyup: function (t) {
- if (t.keyCode === e.ui.keyCode.ESCAPE) {
- var s = e.Event(t);
- s.currentTarget = i[0], this.close(s, !0)
- }
- }
- };
- i[0] !== this.element[0] && (s.remove = function () {
- this._removeTooltip(this._find(i).tooltip)
- }), t && "mouseover" !== t.type || (s.mouseleave = "close"), t && "focusin" !== t.type || (s.focusout = "close"), this._on(!0, i, s)
- }, close: function (t) {
- var i, s = this, n = e(t ? t.currentTarget : this.element), a = this._find(n);
- return a ? (i = a.tooltip, a.closing || (clearInterval(this.delayedShow), n.data("ui-tooltip-title") && !n.attr("title") && n.attr("title", n.data("ui-tooltip-title")), this._removeDescribedBy(n), a.hiding = !0, i.stop(!0), this._hide(i, this.options.hide, function () {
- s._removeTooltip(e(this))
- }), n.removeData("ui-tooltip-open"), this._off(n, "mouseleave focusout keyup"), n[0] !== this.element[0] && this._off(n, "remove"), this._off(this.document, "mousemove"), t && "mouseleave" === t.type && e.each(this.parents, function (t, i) {
- e(i.element).attr("title", i.title), delete s.parents[t]
- }), a.closing = !0, this._trigger("close", t, {tooltip: i}), a.hiding || (a.closing = !1)), void 0) : (n.removeData("ui-tooltip-open"), void 0)
- }, _tooltip: function (t) {
- var i = e("<div>").attr("role", "tooltip").addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content " + (this.options.tooltipClass || "")), s = i.uniqueId().attr("id");
- return e("<div>").addClass("ui-tooltip-content").appendTo(i), i.appendTo(this.document[0].body), this.tooltips[s] = {
- element: t,
- tooltip: i
- }
- }, _find: function (e) {
- var t = e.data("ui-tooltip-id");
- return t ? this.tooltips[t] : null
- }, _removeTooltip: function (e) {
- e.remove(), delete this.tooltips[e.attr("id")]
- }, _destroy: function () {
- var t = this;
- e.each(this.tooltips, function (i, s) {
- var n = e.Event("blur"), a = s.element;
- n.target = n.currentTarget = a[0], t.close(n, !0), e("#" + i).remove(), a.data("ui-tooltip-title") && (a.attr("title") || a.attr("title", a.data("ui-tooltip-title")), a.removeData("ui-tooltip-title"))
- }), this.liveRegion.remove()
- }
- });
- var y = "ui-effects-", b = e;
- e.effects = {effect: {}}, function (e, t) {
- function i(e, t, i) {
- var s = d[t.type] || {};
- return null == e ? i || !t.def ? null : t.def : (e = s.floor ? ~~e : parseFloat(e), isNaN(e) ? t.def : s.mod ? (e + s.mod) % s.mod : 0 > e ? 0 : e > s.max ? s.max : e)
- }
-
- function s(i) {
- var s = l(), n = s._rgba = [];
- return i = i.toLowerCase(), f(h, function (e, a) {
- var o, r = a.re.exec(i), h = r && a.parse(r), l = a.space || "rgba";
- return h ? (o = s[l](h), s[u[l].cache] = o[u[l].cache], n = s._rgba = o._rgba, !1) : t
- }), n.length ? ("0,0,0,0" === n.join() && e.extend(n, a.transparent), s) : a[i]
- }
-
- function n(e, t, i) {
- return i = (i + 1) % 1, 1 > 6 * i ? e + 6 * (t - e) * i : 1 > 2 * i ? t : 2 > 3 * i ? e + 6 * (t - e) * (2 / 3 - i) : e
- }
-
- var a, o = "backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor", r = /^([\-+])=\s*(\d+\.?\d*)/, h = [{
- re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
- parse: function (e) {
- return [e[1], e[2], e[3], e[4]]
- }
- }, {
- re: /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
- parse: function (e) {
- return [2.55 * e[1], 2.55 * e[2], 2.55 * e[3], e[4]]
- }
- }, {
- re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/, parse: function (e) {
- return [parseInt(e[1], 16), parseInt(e[2], 16), parseInt(e[3], 16)]
- }
- }, {
- re: /#([a-f0-9])([a-f0-9])([a-f0-9])/, parse: function (e) {
- return [parseInt(e[1] + e[1], 16), parseInt(e[2] + e[2], 16), parseInt(e[3] + e[3], 16)]
- }
- }, {
- re: /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
- space: "hsla",
- parse: function (e) {
- return [e[1], e[2] / 100, e[3] / 100, e[4]]
- }
- }], l = e.Color = function (t, i, s, n) {
- return new e.Color.fn.parse(t, i, s, n)
- }, u = {
- rgba: {
- props: {
- red: {idx: 0, type: "byte"},
- green: {idx: 1, type: "byte"},
- blue: {idx: 2, type: "byte"}
- }
- },
- hsla: {
- props: {
- hue: {idx: 0, type: "degrees"},
- saturation: {idx: 1, type: "percent"},
- lightness: {idx: 2, type: "percent"}
- }
- }
- }, d = {
- "byte": {floor: !0, max: 255},
- percent: {max: 1},
- degrees: {mod: 360, floor: !0}
- }, c = l.support = {}, p = e("<p>")[0], f = e.each;
- p.style.cssText = "background-color:rgba(1,1,1,.5)", c.rgba = p.style.backgroundColor.indexOf("rgba") > -1, f(u, function (e, t) {
- t.cache = "_" + e, t.props.alpha = {idx: 3, type: "percent", def: 1}
- }), l.fn = e.extend(l.prototype, {
- parse: function (n, o, r, h) {
- if (n === t)return this._rgba = [null, null, null, null], this;
- (n.jquery || n.nodeType) && (n = e(n).css(o), o = t);
- var d = this, c = e.type(n), p = this._rgba = [];
- return o !== t && (n = [n, o, r, h], c = "array"), "string" === c ? this.parse(s(n) || a._default) : "array" === c ? (f(u.rgba.props, function (e, t) {
- p[t.idx] = i(n[t.idx], t)
- }), this) : "object" === c ? (n instanceof l ? f(u, function (e, t) {
- n[t.cache] && (d[t.cache] = n[t.cache].slice())
- }) : f(u, function (t, s) {
- var a = s.cache;
- f(s.props, function (e, t) {
- if (!d[a] && s.to) {
- if ("alpha" === e || null == n[e])return;
- d[a] = s.to(d._rgba)
- }
- d[a][t.idx] = i(n[e], t, !0)
- }), d[a] && 0 > e.inArray(null, d[a].slice(0, 3)) && (d[a][3] = 1, s.from && (d._rgba = s.from(d[a])))
- }), this) : t
- }, is: function (e) {
- var i = l(e), s = !0, n = this;
- return f(u, function (e, a) {
- var o, r = i[a.cache];
- return r && (o = n[a.cache] || a.to && a.to(n._rgba) || [], f(a.props, function (e, i) {
- return null != r[i.idx] ? s = r[i.idx] === o[i.idx] : t
- })), s
- }), s
- }, _space: function () {
- var e = [], t = this;
- return f(u, function (i, s) {
- t[s.cache] && e.push(i)
- }), e.pop()
- }, transition: function (e, t) {
- var s = l(e), n = s._space(), a = u[n], o = 0 === this.alpha() ? l("transparent") : this, r = o[a.cache] || a.to(o._rgba), h = r.slice();
- return s = s[a.cache], f(a.props, function (e, n) {
- var a = n.idx, o = r[a], l = s[a], u = d[n.type] || {};
- null !== l && (null === o ? h[a] = l : (u.mod && (l - o > u.mod / 2 ? o += u.mod : o - l > u.mod / 2 && (o -= u.mod)), h[a] = i((l - o) * t + o, n)))
- }), this[n](h)
- }, blend: function (t) {
- if (1 === this._rgba[3])return this;
- var i = this._rgba.slice(), s = i.pop(), n = l(t)._rgba;
- return l(e.map(i, function (e, t) {
- return (1 - s) * n[t] + s * e
- }))
- }, toRgbaString: function () {
- var t = "rgba(", i = e.map(this._rgba, function (e, t) {
- return null == e ? t > 2 ? 1 : 0 : e
- });
- return 1 === i[3] && (i.pop(), t = "rgb("), t + i.join() + ")"
- }, toHslaString: function () {
- var t = "hsla(", i = e.map(this.hsla(), function (e, t) {
- return null == e && (e = t > 2 ? 1 : 0), t && 3 > t && (e = Math.round(100 * e) + "%"), e
- });
- return 1 === i[3] && (i.pop(), t = "hsl("), t + i.join() + ")"
- }, toHexString: function (t) {
- var i = this._rgba.slice(), s = i.pop();
- return t && i.push(~~(255 * s)), "#" + e.map(i, function (e) {
- return e = (e || 0).toString(16), 1 === e.length ? "0" + e : e
- }).join("")
- }, toString: function () {
- return 0 === this._rgba[3] ? "transparent" : this.toRgbaString()
- }
- }), l.fn.parse.prototype = l.fn, u.hsla.to = function (e) {
- if (null == e[0] || null == e[1] || null == e[2])return [null, null, null, e[3]];
- var t, i, s = e[0] / 255, n = e[1] / 255, a = e[2] / 255, o = e[3], r = Math.max(s, n, a), h = Math.min(s, n, a), l = r - h, u = r + h, d = .5 * u;
- return t = h === r ? 0 : s === r ? 60 * (n - a) / l + 360 : n === r ? 60 * (a - s) / l + 120 : 60 * (s - n) / l + 240, i = 0 === l ? 0 : .5 >= d ? l / u : l / (2 - u), [Math.round(t) % 360, i, d, null == o ? 1 : o]
- }, u.hsla.from = function (e) {
- if (null == e[0] || null == e[1] || null == e[2])return [null, null, null, e[3]];
- var t = e[0] / 360, i = e[1], s = e[2], a = e[3], o = .5 >= s ? s * (1 + i) : s + i - s * i, r = 2 * s - o;
- return [Math.round(255 * n(r, o, t + 1 / 3)), Math.round(255 * n(r, o, t)), Math.round(255 * n(r, o, t - 1 / 3)), a]
- }, f(u, function (s, n) {
- var a = n.props, o = n.cache, h = n.to, u = n.from;
- l.fn[s] = function (s) {
- if (h && !this[o] && (this[o] = h(this._rgba)), s === t)return this[o].slice();
- var n, r = e.type(s), d = "array" === r || "object" === r ? s : arguments, c = this[o].slice();
- return f(a, function (e, t) {
- var s = d["object" === r ? e : t.idx];
- null == s && (s = c[t.idx]), c[t.idx] = i(s, t)
- }), u ? (n = l(u(c)), n[o] = c, n) : l(c)
- }, f(a, function (t, i) {
- l.fn[t] || (l.fn[t] = function (n) {
- var a, o = e.type(n), h = "alpha" === t ? this._hsla ? "hsla" : "rgba" : s, l = this[h](), u = l[i.idx];
- return "undefined" === o ? u : ("function" === o && (n = n.call(this, u), o = e.type(n)), null == n && i.empty ? this : ("string" === o && (a = r.exec(n), a && (n = u + parseFloat(a[2]) * ("+" === a[1] ? 1 : -1))), l[i.idx] = n, this[h](l)))
- })
- })
- }), l.hook = function (t) {
- var i = t.split(" ");
- f(i, function (t, i) {
- e.cssHooks[i] = {
- set: function (t, n) {
- var a, o, r = "";
- if ("transparent" !== n && ("string" !== e.type(n) || (a = s(n)))) {
- if (n = l(a || n), !c.rgba && 1 !== n._rgba[3]) {
- for (o = "backgroundColor" === i ? t.parentNode : t; ("" === r || "transparent" === r) && o && o.style;)try {
- r = e.css(o, "backgroundColor"), o = o.parentNode
- } catch (h) {
- }
- n = n.blend(r && "transparent" !== r ? r : "_default")
- }
- n = n.toRgbaString()
- }
- try {
- t.style[i] = n
- } catch (h) {
- }
- }
- }, e.fx.step[i] = function (t) {
- t.colorInit || (t.start = l(t.elem, i), t.end = l(t.end), t.colorInit = !0), e.cssHooks[i].set(t.elem, t.start.transition(t.end, t.pos))
- }
- })
- }, l.hook(o), e.cssHooks.borderColor = {
- expand: function (e) {
- var t = {};
- return f(["Top", "Right", "Bottom", "Left"], function (i, s) {
- t["border" + s + "Color"] = e
- }), t
- }
- }, a = e.Color.names = {
- aqua: "#00ffff",
- black: "#000000",
- blue: "#0000ff",
- fuchsia: "#ff00ff",
- gray: "#808080",
- green: "#008000",
- lime: "#00ff00",
- maroon: "#800000",
- navy: "#000080",
- olive: "#808000",
- purple: "#800080",
- red: "#ff0000",
- silver: "#c0c0c0",
- teal: "#008080",
- white: "#ffffff",
- yellow: "#ffff00",
- transparent: [null, null, null, 0],
- _default: "#ffffff"
- }
- }(b), function () {
- function t(t) {
- var i, s, n = t.ownerDocument.defaultView ? t.ownerDocument.defaultView.getComputedStyle(t, null) : t.currentStyle, a = {};
- if (n && n.length && n[0] && n[n[0]])for (s = n.length; s--;)i = n[s], "string" == typeof n[i] && (a[e.camelCase(i)] = n[i]); else for (i in n)"string" == typeof n[i] && (a[i] = n[i]);
- return a
- }
-
- function i(t, i) {
- var s, a, o = {};
- for (s in i)a = i[s], t[s] !== a && (n[s] || (e.fx.step[s] || !isNaN(parseFloat(a))) && (o[s] = a));
- return o
- }
-
- var s = ["add", "remove", "toggle"], n = {
- border: 1,
- borderBottom: 1,
- borderColor: 1,
- borderLeft: 1,
- borderRight: 1,
- borderTop: 1,
- borderWidth: 1,
- margin: 1,
- padding: 1
- };
- e.each(["borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle"], function (t, i) {
- e.fx.step[i] = function (e) {
- ("none" !== e.end && !e.setAttr || 1 === e.pos && !e.setAttr) && (b.style(e.elem, i, e.end), e.setAttr = !0)
- }
- }), e.fn.addBack || (e.fn.addBack = function (e) {
- return this.add(null == e ? this.prevObject : this.prevObject.filter(e))
- }), e.effects.animateClass = function (n, a, o, r) {
- var h = e.speed(a, o, r);
- return this.queue(function () {
- var a, o = e(this), r = o.attr("class") || "", l = h.children ? o.find("*").addBack() : o;
- l = l.map(function () {
- var i = e(this);
- return {el: i, start: t(this)}
- }), a = function () {
- e.each(s, function (e, t) {
- n[t] && o[t + "Class"](n[t])
- })
- }, a(), l = l.map(function () {
- return this.end = t(this.el[0]), this.diff = i(this.start, this.end), this
- }), o.attr("class", r), l = l.map(function () {
- var t = this, i = e.Deferred(), s = e.extend({}, h, {
- queue: !1, complete: function () {
- i.resolve(t)
- }
- });
- return this.el.animate(this.diff, s), i.promise()
- }), e.when.apply(e, l.get()).done(function () {
- a(), e.each(arguments, function () {
- var t = this.el;
- e.each(this.diff, function (e) {
- t.css(e, "")
- })
- }), h.complete.call(o[0])
- })
- })
- }, e.fn.extend({
- addClass: function (t) {
- return function (i, s, n, a) {
- return s ? e.effects.animateClass.call(this, {add: i}, s, n, a) : t.apply(this, arguments)
- }
- }(e.fn.addClass), removeClass: function (t) {
- return function (i, s, n, a) {
- return arguments.length > 1 ? e.effects.animateClass.call(this, {remove: i}, s, n, a) : t.apply(this, arguments)
- }
- }(e.fn.removeClass), toggleClass: function (t) {
- return function (i, s, n, a, o) {
- return "boolean" == typeof s || void 0 === s ? n ? e.effects.animateClass.call(this, s ? {add: i} : {remove: i}, n, a, o) : t.apply(this, arguments) : e.effects.animateClass.call(this, {toggle: i}, s, n, a)
- }
- }(e.fn.toggleClass), switchClass: function (t, i, s, n, a) {
- return e.effects.animateClass.call(this, {add: i, remove: t}, s, n, a)
- }
- })
- }(), function () {
- function t(t, i, s, n) {
- return e.isPlainObject(t) && (i = t, t = t.effect), t = {effect: t}, null == i && (i = {}), e.isFunction(i) && (n = i, s = null, i = {}), ("number" == typeof i || e.fx.speeds[i]) && (n = s, s = i, i = {}), e.isFunction(s) && (n = s, s = null), i && e.extend(t, i), s = s || i.duration, t.duration = e.fx.off ? 0 : "number" == typeof s ? s : s in e.fx.speeds ? e.fx.speeds[s] : e.fx.speeds._default, t.complete = n || i.complete, t
- }
-
- function i(t) {
- return !t || "number" == typeof t || e.fx.speeds[t] ? !0 : "string" != typeof t || e.effects.effect[t] ? e.isFunction(t) ? !0 : "object" != typeof t || t.effect ? !1 : !0 : !0
- }
-
- e.extend(e.effects, {
- version: "1.11.4", save: function (e, t) {
- for (var i = 0; t.length > i; i++)null !== t[i] && e.data(y + t[i], e[0].style[t[i]])
- }, restore: function (e, t) {
- var i, s;
- for (s = 0; t.length > s; s++)null !== t[s] && (i = e.data(y + t[s]), void 0 === i && (i = ""), e.css(t[s], i))
- }, setMode: function (e, t) {
- return "toggle" === t && (t = e.is(":hidden") ? "show" : "hide"), t
- }, getBaseline: function (e, t) {
- var i, s;
- switch (e[0]) {
- case"top":
- i = 0;
- break;
- case"middle":
- i = .5;
- break;
- case"bottom":
- i = 1;
- break;
- default:
- i = e[0] / t.height
- }
- switch (e[1]) {
- case"left":
- s = 0;
- break;
- case"center":
- s = .5;
- break;
- case"right":
- s = 1;
- break;
- default:
- s = e[1] / t.width
- }
- return {x: s, y: i}
- }, createWrapper: function (t) {
- if (t.parent().is(".ui-effects-wrapper"))return t.parent();
- var i = {
- width: t.outerWidth(!0),
- height: t.outerHeight(!0),
- "float": t.css("float")
- }, s = e("<div></div>").addClass("ui-effects-wrapper").css({
- fontSize: "100%",
- background: "transparent",
- border: "none",
- margin: 0,
- padding: 0
- }), n = {width: t.width(), height: t.height()}, a = document.activeElement;
- try {
- a.id
- } catch (o) {
- a = document.body
- }
- return t.wrap(s), (t[0] === a || e.contains(t[0], a)) && e(a).focus(), s = t.parent(), "static" === t.css("position") ? (s.css({position: "relative"}), t.css({position: "relative"})) : (e.extend(i, {
- position: t.css("position"),
- zIndex: t.css("z-index")
- }), e.each(["top", "left", "bottom", "right"], function (e, s) {
- i[s] = t.css(s), isNaN(parseInt(i[s], 10)) && (i[s] = "auto")
- }), t.css({
- position: "relative",
- top: 0,
- left: 0,
- right: "auto",
- bottom: "auto"
- })), t.css(n), s.css(i).show()
- }, removeWrapper: function (t) {
- var i = document.activeElement;
- return t.parent().is(".ui-effects-wrapper") && (t.parent().replaceWith(t), (t[0] === i || e.contains(t[0], i)) && e(i).focus()), t
- }, setTransition: function (t, i, s, n) {
- return n = n || {}, e.each(i, function (e, i) {
- var a = t.cssUnit(i);
- a[0] > 0 && (n[i] = a[0] * s + a[1])
- }), n
- }
- }), e.fn.extend({
- effect: function () {
- function i(t) {
- function i() {
- e.isFunction(a) && a.call(n[0]), e.isFunction(t) && t()
- }
-
- var n = e(this), a = s.complete, r = s.mode;
- (n.is(":hidden") ? "hide" === r : "show" === r) ? (n[r](), i()) : o.call(n[0], s, i)
- }
-
- var s = t.apply(this, arguments), n = s.mode, a = s.queue, o = e.effects.effect[s.effect];
- return e.fx.off || !o ? n ? this[n](s.duration, s.complete) : this.each(function () {
- s.complete && s.complete.call(this)
- }) : a === !1 ? this.each(i) : this.queue(a || "fx", i)
- }, show: function (e) {
- return function (s) {
- if (i(s))return e.apply(this, arguments);
- var n = t.apply(this, arguments);
- return n.mode = "show", this.effect.call(this, n)
- }
- }(e.fn.show), hide: function (e) {
- return function (s) {
- if (i(s))return e.apply(this, arguments);
- var n = t.apply(this, arguments);
- return n.mode = "hide", this.effect.call(this, n)
- }
- }(e.fn.hide), toggle: function (e) {
- return function (s) {
- if (i(s) || "boolean" == typeof s)return e.apply(this, arguments);
- var n = t.apply(this, arguments);
- return n.mode = "toggle", this.effect.call(this, n)
- }
- }(e.fn.toggle), cssUnit: function (t) {
- var i = this.css(t), s = [];
- return e.each(["em", "px", "%", "pt"], function (e, t) {
- i.indexOf(t) > 0 && (s = [parseFloat(i), t])
- }), s
- }
- })
- }(), function () {
- var t = {};
- e.each(["Quad", "Cubic", "Quart", "Quint", "Expo"], function (e, i) {
- t[i] = function (t) {
- return Math.pow(t, e + 2)
- }
- }), e.extend(t, {
- Sine: function (e) {
- return 1 - Math.cos(e * Math.PI / 2)
- }, Circ: function (e) {
- return 1 - Math.sqrt(1 - e * e)
- }, Elastic: function (e) {
- return 0 === e || 1 === e ? e : -Math.pow(2, 8 * (e - 1)) * Math.sin((80 * (e - 1) - 7.5) * Math.PI / 15)
- }, Back: function (e) {
- return e * e * (3 * e - 2)
- }, Bounce: function (e) {
- for (var t, i = 4; ((t = Math.pow(2, --i)) - 1) / 11 > e;);
- return 1 / Math.pow(4, 3 - i) - 7.5625 * Math.pow((3 * t - 2) / 22 - e, 2)
- }
- }), e.each(t, function (t, i) {
- e.easing["easeIn" + t] = i, e.easing["easeOut" + t] = function (e) {
- return 1 - i(1 - e)
- }, e.easing["easeInOut" + t] = function (e) {
- return .5 > e ? i(2 * e) / 2 : 1 - i(-2 * e + 2) / 2
- }
- })
- }(), e.effects, e.effects.effect.blind = function (t, i) {
- var s, n, a, o = e(this), r = /up|down|vertical/, h = /up|left|vertical|horizontal/, l = ["position", "top", "bottom", "left", "right", "height", "width"], u = e.effects.setMode(o, t.mode || "hide"), d = t.direction || "up", c = r.test(d), p = c ? "height" : "width", f = c ? "top" : "left", m = h.test(d), g = {}, v = "show" === u;
- o.parent().is(".ui-effects-wrapper") ? e.effects.save(o.parent(), l) : e.effects.save(o, l), o.show(), s = e.effects.createWrapper(o).css({overflow: "hidden"}), n = s[p](), a = parseFloat(s.css(f)) || 0, g[p] = v ? n : 0, m || (o.css(c ? "bottom" : "right", 0).css(c ? "top" : "left", "auto").css({position: "absolute"}), g[f] = v ? a : n + a), v && (s.css(p, 0), m || s.css(f, a + n)), s.animate(g, {
- duration: t.duration,
- easing: t.easing,
- queue: !1,
- complete: function () {
- "hide" === u && o.hide(), e.effects.restore(o, l), e.effects.removeWrapper(o), i()
- }
- })
- }, e.effects.effect.bounce = function (t, i) {
- var s, n, a, o = e(this), r = ["position", "top", "bottom", "left", "right", "height", "width"], h = e.effects.setMode(o, t.mode || "effect"), l = "hide" === h, u = "show" === h, d = t.direction || "up", c = t.distance, p = t.times || 5, f = 2 * p + (u || l ? 1 : 0), m = t.duration / f, g = t.easing, v = "up" === d || "down" === d ? "top" : "left", y = "up" === d || "left" === d, b = o.queue(), _ = b.length;
- for ((u || l) && r.push("opacity"), e.effects.save(o, r), o.show(), e.effects.createWrapper(o), c || (c = o["top" === v ? "outerHeight" : "outerWidth"]() / 3), u && (a = {opacity: 1}, a[v] = 0, o.css("opacity", 0).css(v, y ? 2 * -c : 2 * c).animate(a, m, g)), l && (c /= Math.pow(2, p - 1)), a = {}, a[v] = 0, s = 0; p > s; s++)n = {}, n[v] = (y ? "-=" : "+=") + c, o.animate(n, m, g).animate(a, m, g), c = l ? 2 * c : c / 2;
- l && (n = {opacity: 0}, n[v] = (y ? "-=" : "+=") + c, o.animate(n, m, g)), o.queue(function () {
- l && o.hide(), e.effects.restore(o, r), e.effects.removeWrapper(o), i()
- }), _ > 1 && b.splice.apply(b, [1, 0].concat(b.splice(_, f + 1))), o.dequeue()
- }, e.effects.effect.clip = function (t, i) {
- var s, n, a, o = e(this), r = ["position", "top", "bottom", "left", "right", "height", "width"], h = e.effects.setMode(o, t.mode || "hide"), l = "show" === h, u = t.direction || "vertical", d = "vertical" === u, c = d ? "height" : "width", p = d ? "top" : "left", f = {};
- e.effects.save(o, r), o.show(), s = e.effects.createWrapper(o).css({overflow: "hidden"}), n = "IMG" === o[0].tagName ? s : o, a = n[c](), l && (n.css(c, 0), n.css(p, a / 2)), f[c] = l ? a : 0, f[p] = l ? 0 : a / 2, n.animate(f, {
- queue: !1,
- duration: t.duration,
- easing: t.easing,
- complete: function () {
- l || o.hide(), e.effects.restore(o, r), e.effects.removeWrapper(o), i()
- }
- })
- }, e.effects.effect.drop = function (t, i) {
- var s, n = e(this), a = ["position", "top", "bottom", "left", "right", "opacity", "height", "width"], o = e.effects.setMode(n, t.mode || "hide"), r = "show" === o, h = t.direction || "left", l = "up" === h || "down" === h ? "top" : "left", u = "up" === h || "left" === h ? "pos" : "neg", d = {opacity: r ? 1 : 0};
- e.effects.save(n, a), n.show(), e.effects.createWrapper(n), s = t.distance || n["top" === l ? "outerHeight" : "outerWidth"](!0) / 2, r && n.css("opacity", 0).css(l, "pos" === u ? -s : s), d[l] = (r ? "pos" === u ? "+=" : "-=" : "pos" === u ? "-=" : "+=") + s, n.animate(d, {
- queue: !1,
- duration: t.duration,
- easing: t.easing,
- complete: function () {
- "hide" === o && n.hide(), e.effects.restore(n, a), e.effects.removeWrapper(n), i()
- }
- })
- }, e.effects.effect.explode = function (t, i) {
- function s() {
- b.push(this), b.length === d * c && n()
- }
-
- function n() {
- p.css({visibility: "visible"}), e(b).remove(), m || p.hide(), i()
- }
-
- var a, o, r, h, l, u, d = t.pieces ? Math.round(Math.sqrt(t.pieces)) : 3, c = d, p = e(this), f = e.effects.setMode(p, t.mode || "hide"), m = "show" === f, g = p.show().css("visibility", "hidden").offset(), v = Math.ceil(p.outerWidth() / c), y = Math.ceil(p.outerHeight() / d), b = [];
- for (a = 0; d > a; a++)for (h = g.top + a * y, u = a - (d - 1) / 2, o = 0; c > o; o++)r = g.left + o * v, l = o - (c - 1) / 2, p.clone().appendTo("body").wrap("<div></div>").css({
- position: "absolute",
- visibility: "visible",
- left: -o * v,
- top: -a * y
- }).parent().addClass("ui-effects-explode").css({
- position: "absolute",
- overflow: "hidden",
- width: v,
- height: y,
- left: r + (m ? l * v : 0),
- top: h + (m ? u * y : 0),
- opacity: m ? 0 : 1
- }).animate({
- left: r + (m ? 0 : l * v),
- top: h + (m ? 0 : u * y),
- opacity: m ? 1 : 0
- }, t.duration || 500, t.easing, s)
- }, e.effects.effect.fade = function (t, i) {
- var s = e(this), n = e.effects.setMode(s, t.mode || "toggle");
- s.animate({opacity: n}, {queue: !1, duration: t.duration, easing: t.easing, complete: i})
- }, e.effects.effect.fold = function (t, i) {
- var s, n, a = e(this), o = ["position", "top", "bottom", "left", "right", "height", "width"], r = e.effects.setMode(a, t.mode || "hide"), h = "show" === r, l = "hide" === r, u = t.size || 15, d = /([0-9]+)%/.exec(u), c = !!t.horizFirst, p = h !== c, f = p ? ["width", "height"] : ["height", "width"], m = t.duration / 2, g = {}, v = {};
- e.effects.save(a, o), a.show(), s = e.effects.createWrapper(a).css({overflow: "hidden"}), n = p ? [s.width(), s.height()] : [s.height(), s.width()], d && (u = parseInt(d[1], 10) / 100 * n[l ? 0 : 1]), h && s.css(c ? {
- height: 0,
- width: u
- } : {
- height: u,
- width: 0
- }), g[f[0]] = h ? n[0] : u, v[f[1]] = h ? n[1] : 0, s.animate(g, m, t.easing).animate(v, m, t.easing, function () {
- l && a.hide(), e.effects.restore(a, o), e.effects.removeWrapper(a), i()
- })
- }, e.effects.effect.highlight = function (t, i) {
- var s = e(this), n = ["backgroundImage", "backgroundColor", "opacity"], a = e.effects.setMode(s, t.mode || "show"), o = {backgroundColor: s.css("backgroundColor")};
- "hide" === a && (o.opacity = 0), e.effects.save(s, n), s.show().css({
- backgroundImage: "none",
- backgroundColor: t.color || "#ffff99"
- }).animate(o, {
- queue: !1, duration: t.duration, easing: t.easing, complete: function () {
- "hide" === a && s.hide(), e.effects.restore(s, n), i()
- }
- })
- }, e.effects.effect.size = function (t, i) {
- var s, n, a, o = e(this), r = ["position", "top", "bottom", "left", "right", "width", "height", "overflow", "opacity"], h = ["position", "top", "bottom", "left", "right", "overflow", "opacity"], l = ["width", "height", "overflow"], u = ["fontSize"], d = ["borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom"], c = ["borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight"], p = e.effects.setMode(o, t.mode || "effect"), f = t.restore || "effect" !== p, m = t.scale || "both", g = t.origin || ["middle", "center"], v = o.css("position"), y = f ? r : h, b = {
- height: 0,
- width: 0,
- outerHeight: 0,
- outerWidth: 0
- };
- "show" === p && o.show(), s = {
- height: o.height(),
- width: o.width(),
- outerHeight: o.outerHeight(),
- outerWidth: o.outerWidth()
- }, "toggle" === t.mode && "show" === p ? (o.from = t.to || b, o.to = t.from || s) : (o.from = t.from || ("show" === p ? b : s), o.to = t.to || ("hide" === p ? b : s)), a = {
- from: {
- y: o.from.height / s.height,
- x: o.from.width / s.width
- }, to: {y: o.to.height / s.height, x: o.to.width / s.width}
- }, ("box" === m || "both" === m) && (a.from.y !== a.to.y && (y = y.concat(d), o.from = e.effects.setTransition(o, d, a.from.y, o.from), o.to = e.effects.setTransition(o, d, a.to.y, o.to)), a.from.x !== a.to.x && (y = y.concat(c), o.from = e.effects.setTransition(o, c, a.from.x, o.from), o.to = e.effects.setTransition(o, c, a.to.x, o.to))), ("content" === m || "both" === m) && a.from.y !== a.to.y && (y = y.concat(u).concat(l), o.from = e.effects.setTransition(o, u, a.from.y, o.from), o.to = e.effects.setTransition(o, u, a.to.y, o.to)), e.effects.save(o, y), o.show(), e.effects.createWrapper(o), o.css("overflow", "hidden").css(o.from), g && (n = e.effects.getBaseline(g, s), o.from.top = (s.outerHeight - o.outerHeight()) * n.y, o.from.left = (s.outerWidth - o.outerWidth()) * n.x, o.to.top = (s.outerHeight - o.to.outerHeight) * n.y, o.to.left = (s.outerWidth - o.to.outerWidth) * n.x), o.css(o.from), ("content" === m || "both" === m) && (d = d.concat(["marginTop", "marginBottom"]).concat(u), c = c.concat(["marginLeft", "marginRight"]), l = r.concat(d).concat(c), o.find("*[width]").each(function () {
- var i = e(this), s = {
- height: i.height(),
- width: i.width(),
- outerHeight: i.outerHeight(),
- outerWidth: i.outerWidth()
- };
- f && e.effects.save(i, l), i.from = {
- height: s.height * a.from.y,
- width: s.width * a.from.x,
- outerHeight: s.outerHeight * a.from.y,
- outerWidth: s.outerWidth * a.from.x
- }, i.to = {
- height: s.height * a.to.y,
- width: s.width * a.to.x,
- outerHeight: s.height * a.to.y,
- outerWidth: s.width * a.to.x
- }, a.from.y !== a.to.y && (i.from = e.effects.setTransition(i, d, a.from.y, i.from), i.to = e.effects.setTransition(i, d, a.to.y, i.to)), a.from.x !== a.to.x && (i.from = e.effects.setTransition(i, c, a.from.x, i.from), i.to = e.effects.setTransition(i, c, a.to.x, i.to)), i.css(i.from), i.animate(i.to, t.duration, t.easing, function () {
- f && e.effects.restore(i, l)
- })
- })), o.animate(o.to, {
- queue: !1, duration: t.duration, easing: t.easing, complete: function () {
- 0 === o.to.opacity && o.css("opacity", o.from.opacity), "hide" === p && o.hide(), e.effects.restore(o, y), f || ("static" === v ? o.css({
- position: "relative",
- top: o.to.top,
- left: o.to.left
- }) : e.each(["top", "left"], function (e, t) {
- o.css(t, function (t, i) {
- var s = parseInt(i, 10), n = e ? o.to.left : o.to.top;
- return "auto" === i ? n + "px" : s + n + "px"
- })
- })), e.effects.removeWrapper(o), i()
- }
- })
- }, e.effects.effect.scale = function (t, i) {
- var s = e(this), n = e.extend(!0, {}, t), a = e.effects.setMode(s, t.mode || "effect"), o = parseInt(t.percent, 10) || (0 === parseInt(t.percent, 10) ? 0 : "hide" === a ? 0 : 100), r = t.direction || "both", h = t.origin, l = {
- height: s.height(),
- width: s.width(),
- outerHeight: s.outerHeight(),
- outerWidth: s.outerWidth()
- }, u = {y: "horizontal" !== r ? o / 100 : 1, x: "vertical" !== r ? o / 100 : 1};
- n.effect = "size", n.queue = !1, n.complete = i, "effect" !== a && (n.origin = h || ["middle", "center"], n.restore = !0), n.from = t.from || ("show" === a ? {
- height: 0,
- width: 0,
- outerHeight: 0,
- outerWidth: 0
- } : l), n.to = {
- height: l.height * u.y,
- width: l.width * u.x,
- outerHeight: l.outerHeight * u.y,
- outerWidth: l.outerWidth * u.x
- }, n.fade && ("show" === a && (n.from.opacity = 0, n.to.opacity = 1), "hide" === a && (n.from.opacity = 1, n.to.opacity = 0)), s.effect(n)
- }, e.effects.effect.puff = function (t, i) {
- var s = e(this), n = e.effects.setMode(s, t.mode || "hide"), a = "hide" === n, o = parseInt(t.percent, 10) || 150, r = o / 100, h = {
- height: s.height(),
- width: s.width(),
- outerHeight: s.outerHeight(),
- outerWidth: s.outerWidth()
- };
- e.extend(t, {
- effect: "scale",
- queue: !1,
- fade: !0,
- mode: n,
- complete: i,
- percent: a ? o : 100,
- from: a ? h : {
- height: h.height * r,
- width: h.width * r,
- outerHeight: h.outerHeight * r,
- outerWidth: h.outerWidth * r
- }
- }), s.effect(t)
- }, e.effects.effect.pulsate = function (t, i) {
- var s, n = e(this), a = e.effects.setMode(n, t.mode || "show"), o = "show" === a, r = "hide" === a, h = o || "hide" === a, l = 2 * (t.times || 5) + (h ? 1 : 0), u = t.duration / l, d = 0, c = n.queue(), p = c.length;
- for ((o || !n.is(":visible")) && (n.css("opacity", 0).show(), d = 1), s = 1; l > s; s++)n.animate({opacity: d}, u, t.easing), d = 1 - d;
- n.animate({opacity: d}, u, t.easing), n.queue(function () {
- r && n.hide(), i()
- }), p > 1 && c.splice.apply(c, [1, 0].concat(c.splice(p, l + 1))), n.dequeue()
- }, e.effects.effect.shake = function (t, i) {
- var s, n = e(this), a = ["position", "top", "bottom", "left", "right", "height", "width"], o = e.effects.setMode(n, t.mode || "effect"), r = t.direction || "left", h = t.distance || 20, l = t.times || 3, u = 2 * l + 1, d = Math.round(t.duration / u), c = "up" === r || "down" === r ? "top" : "left", p = "up" === r || "left" === r, f = {}, m = {}, g = {}, v = n.queue(), y = v.length;
- for (e.effects.save(n, a), n.show(), e.effects.createWrapper(n), f[c] = (p ? "-=" : "+=") + h, m[c] = (p ? "+=" : "-=") + 2 * h, g[c] = (p ? "-=" : "+=") + 2 * h, n.animate(f, d, t.easing), s = 1; l > s; s++)n.animate(m, d, t.easing).animate(g, d, t.easing);
- n.animate(m, d, t.easing).animate(f, d / 2, t.easing).queue(function () {
- "hide" === o && n.hide(), e.effects.restore(n, a), e.effects.removeWrapper(n), i()
- }), y > 1 && v.splice.apply(v, [1, 0].concat(v.splice(y, u + 1))), n.dequeue()
- }, e.effects.effect.slide = function (t, i) {
- var s, n = e(this), a = ["position", "top", "bottom", "left", "right", "width", "height"], o = e.effects.setMode(n, t.mode || "show"), r = "show" === o, h = t.direction || "left", l = "up" === h || "down" === h ? "top" : "left", u = "up" === h || "left" === h, d = {};
- e.effects.save(n, a), n.show(), s = t.distance || n["top" === l ? "outerHeight" : "outerWidth"](!0), e.effects.createWrapper(n).css({overflow: "hidden"}), r && n.css(l, u ? isNaN(s) ? "-" + s : -s : s), d[l] = (r ? u ? "+=" : "-=" : u ? "-=" : "+=") + s, n.animate(d, {
- queue: !1,
- duration: t.duration,
- easing: t.easing,
- complete: function () {
- "hide" === o && n.hide(), e.effects.restore(n, a), e.effects.removeWrapper(n), i()
- }
- })
- }, e.effects.effect.transfer = function (t, i) {
- var s = e(this), n = e(t.to), a = "fixed" === n.css("position"), o = e("body"), r = a ? o.scrollTop() : 0, h = a ? o.scrollLeft() : 0, l = n.offset(), u = {
- top: l.top - r,
- left: l.left - h,
- height: n.innerHeight(),
- width: n.innerWidth()
- }, d = s.offset(), c = e("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(t.className).css({
- top: d.top - r,
- left: d.left - h,
- height: s.innerHeight(),
- width: s.innerWidth(),
- position: a ? "fixed" : "absolute"
- }).animate(u, t.duration, t.easing, function () {
- c.remove(), i()
- })
- }
-}); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.structure.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.structure.css
deleted file mode 100644
index a58bc8c9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.structure.css
+++ /dev/null
@@ -1,963 +0,0 @@
-/*!
- * jQuery UI CSS Framework 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/category/theming/
- */
-
-/* Layout helpers
-----------------------------------*/
-.ui-helper-hidden {
- display: none;
-}
-
-.ui-helper-hidden-accessible {
- border: 0;
- clip: rect(0 0 0 0);
- height: 1px;
- margin: -1px;
- overflow: hidden;
- padding: 0;
- position: absolute;
- width: 1px;
-}
-
-.ui-helper-reset {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0;
- line-height: 1.3;
- text-decoration: none;
- font-size: 100%;
- list-style: none;
-}
-
-.ui-helper-clearfix:before,
-.ui-helper-clearfix:after {
- content: "";
- display: table;
- border-collapse: collapse;
-}
-
-.ui-helper-clearfix:after {
- clear: both;
-}
-
-.ui-helper-clearfix {
- min-height: 0; /* support: IE7 */
-}
-
-.ui-helper-zfix {
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- position: absolute;
- opacity: 0;
- filter: Alpha(Opacity=0); /* support: IE8 */
-}
-
-.ui-front {
- z-index: 100;
-}
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-disabled {
- cursor: default !important;
-}
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon {
- display: block;
- text-indent: -99999px;
- overflow: hidden;
- background-repeat: no-repeat;
-}
-
-/* Misc visuals
-----------------------------------*/
-
-/* Overlays */
-.ui-widget-overlay {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
-}
-
-.ui-draggable-handle {
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-resizable {
- position: relative;
-}
-
-.ui-resizable-handle {
- position: absolute;
- font-size: 0.1px;
- display: block;
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-resizable-disabled .ui-resizable-handle,
-.ui-resizable-autohide .ui-resizable-handle {
- display: none;
-}
-
-.ui-resizable-n {
- cursor: n-resize;
- height: 7px;
- width: 100%;
- top: -5px;
- left: 0;
-}
-
-.ui-resizable-s {
- cursor: s-resize;
- height: 7px;
- width: 100%;
- bottom: -5px;
- left: 0;
-}
-
-.ui-resizable-e {
- cursor: e-resize;
- width: 7px;
- right: -5px;
- top: 0;
- height: 100%;
-}
-
-.ui-resizable-w {
- cursor: w-resize;
- width: 7px;
- left: -5px;
- top: 0;
- height: 100%;
-}
-
-.ui-resizable-se {
- cursor: se-resize;
- width: 12px;
- height: 12px;
- right: 1px;
- bottom: 1px;
-}
-
-.ui-resizable-sw {
- cursor: sw-resize;
- width: 9px;
- height: 9px;
- left: -5px;
- bottom: -5px;
-}
-
-.ui-resizable-nw {
- cursor: nw-resize;
- width: 9px;
- height: 9px;
- left: -5px;
- top: -5px;
-}
-
-.ui-resizable-ne {
- cursor: ne-resize;
- width: 9px;
- height: 9px;
- right: -5px;
- top: -5px;
-}
-
-.ui-selectable {
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-selectable-helper {
- position: absolute;
- z-index: 100;
- border: 1px dotted black;
-}
-
-.ui-sortable-handle {
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-accordion .ui-accordion-header {
- display: block;
- cursor: pointer;
- position: relative;
- margin: 2px 0 0 0;
- padding: .5em .5em .5em .7em;
- min-height: 0; /* support: IE7 */
- font-size: 100%;
-}
-
-.ui-accordion .ui-accordion-icons {
- padding-left: 2.2em;
-}
-
-.ui-accordion .ui-accordion-icons .ui-accordion-icons {
- padding-left: 2.2em;
-}
-
-.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
- position: absolute;
- left: .5em;
- top: 50%;
- margin-top: -8px;
-}
-
-.ui-accordion .ui-accordion-content {
- padding: 1em 2.2em;
- border-top: 0;
- overflow: auto;
-}
-
-.ui-autocomplete {
- position: absolute;
- top: 0;
- left: 0;
- cursor: default;
-}
-
-.ui-button {
- display: inline-block;
- position: relative;
- padding: 0;
- line-height: normal;
- margin-right: .1em;
- cursor: pointer;
- vertical-align: middle;
- text-align: center;
- overflow: visible; /* removes extra width in IE */
-}
-
-.ui-button,
-.ui-button:link,
-.ui-button:visited,
-.ui-button:hover,
-.ui-button:active {
- text-decoration: none;
-}
-
-/* to make room for the icon, a width needs to be set here */
-.ui-button-icon-only {
- width: 2.2em;
-}
-
-/* button elements seem to need a little more width */
-button.ui-button-icon-only {
- width: 2.4em;
-}
-
-.ui-button-icons-only {
- width: 3.4em;
-}
-
-button.ui-button-icons-only {
- width: 3.7em;
-}
-
-/* button text element */
-.ui-button .ui-button-text {
- display: block;
- line-height: normal;
-}
-
-.ui-button-text-only .ui-button-text {
- padding: .4em 1em;
-}
-
-.ui-button-icon-only .ui-button-text,
-.ui-button-icons-only .ui-button-text {
- padding: .4em;
- text-indent: -9999999px;
-}
-
-.ui-button-text-icon-primary .ui-button-text,
-.ui-button-text-icons .ui-button-text {
- padding: .4em 1em .4em 2.1em;
-}
-
-.ui-button-text-icon-secondary .ui-button-text,
-.ui-button-text-icons .ui-button-text {
- padding: .4em 2.1em .4em 1em;
-}
-
-.ui-button-text-icons .ui-button-text {
- padding-left: 2.1em;
- padding-right: 2.1em;
-}
-
-/* no icon support for input elements, provide padding by default */
-input.ui-button {
- padding: .4em 1em;
-}
-
-/* button icon element(s) */
-.ui-button-icon-only .ui-icon,
-.ui-button-text-icon-primary .ui-icon,
-.ui-button-text-icon-secondary .ui-icon,
-.ui-button-text-icons .ui-icon,
-.ui-button-icons-only .ui-icon {
- position: absolute;
- top: 50%;
- margin-top: -8px;
-}
-
-.ui-button-icon-only .ui-icon {
- left: 50%;
- margin-left: -8px;
-}
-
-.ui-button-text-icon-primary .ui-button-icon-primary,
-.ui-button-text-icons .ui-button-icon-primary,
-.ui-button-icons-only .ui-button-icon-primary {
- left: .5em;
-}
-
-.ui-button-text-icon-secondary .ui-button-icon-secondary,
-.ui-button-text-icons .ui-button-icon-secondary,
-.ui-button-icons-only .ui-button-icon-secondary {
- right: .5em;
-}
-
-/* button sets */
-.ui-buttonset {
- margin-right: 7px;
-}
-
-.ui-buttonset .ui-button {
- margin-left: 0;
- margin-right: -.3em;
-}
-
-/* workarounds */
-/* reset extra padding in Firefox, see h5bp.com/l */
-input.ui-button::-moz-focus-inner,
-button.ui-button::-moz-focus-inner {
- border: 0;
- padding: 0;
-}
-
-.ui-datepicker {
- width: 17em;
- padding: .2em .2em 0;
- display: none;
-}
-
-.ui-datepicker .ui-datepicker-header {
- position: relative;
- padding: .2em 0;
-}
-
-.ui-datepicker .ui-datepicker-prev,
-.ui-datepicker .ui-datepicker-next {
- position: absolute;
- top: 2px;
- width: 1.8em;
- height: 1.8em;
-}
-
-.ui-datepicker .ui-datepicker-prev-hover,
-.ui-datepicker .ui-datepicker-next-hover {
- top: 1px;
-}
-
-.ui-datepicker .ui-datepicker-prev {
- left: 2px;
-}
-
-.ui-datepicker .ui-datepicker-next {
- right: 2px;
-}
-
-.ui-datepicker .ui-datepicker-prev-hover {
- left: 1px;
-}
-
-.ui-datepicker .ui-datepicker-next-hover {
- right: 1px;
-}
-
-.ui-datepicker .ui-datepicker-prev span,
-.ui-datepicker .ui-datepicker-next span {
- display: block;
- position: absolute;
- left: 50%;
- margin-left: -8px;
- top: 50%;
- margin-top: -8px;
-}
-
-.ui-datepicker .ui-datepicker-title {
- margin: 0 2.3em;
- line-height: 1.8em;
- text-align: center;
-}
-
-.ui-datepicker .ui-datepicker-title select {
- font-size: 1em;
- margin: 1px 0;
-}
-
-.ui-datepicker select.ui-datepicker-month,
-.ui-datepicker select.ui-datepicker-year {
- width: 45%;
-}
-
-.ui-datepicker table {
- width: 100%;
- font-size: .9em;
- border-collapse: collapse;
- margin: 0 0 .4em;
-}
-
-.ui-datepicker th {
- padding: .7em .3em;
- text-align: center;
- font-weight: bold;
- border: 0;
-}
-
-.ui-datepicker td {
- border: 0;
- padding: 1px;
-}
-
-.ui-datepicker td span,
-.ui-datepicker td a {
- display: block;
- padding: .2em;
- text-align: right;
- text-decoration: none;
-}
-
-.ui-datepicker .ui-datepicker-buttonpane {
- background-image: none;
- margin: .7em 0 0 0;
- padding: 0 .2em;
- border-left: 0;
- border-right: 0;
- border-bottom: 0;
-}
-
-.ui-datepicker .ui-datepicker-buttonpane button {
- float: right;
- margin: .5em .2em .4em;
- cursor: pointer;
- padding: .2em .6em .3em .6em;
- width: auto;
- overflow: visible;
-}
-
-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
- float: left;
-}
-
-/* with multiple calendars */
-.ui-datepicker.ui-datepicker-multi {
- width: auto;
-}
-
-.ui-datepicker-multi .ui-datepicker-group {
- float: left;
-}
-
-.ui-datepicker-multi .ui-datepicker-group table {
- width: 95%;
- margin: 0 auto .4em;
-}
-
-.ui-datepicker-multi-2 .ui-datepicker-group {
- width: 50%;
-}
-
-.ui-datepicker-multi-3 .ui-datepicker-group {
- width: 33.3%;
-}
-
-.ui-datepicker-multi-4 .ui-datepicker-group {
- width: 25%;
-}
-
-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
-.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
- border-left-width: 0;
-}
-
-.ui-datepicker-multi .ui-datepicker-buttonpane {
- clear: left;
-}
-
-.ui-datepicker-row-break {
- clear: both;
- width: 100%;
- font-size: 0;
-}
-
-/* RTL support */
-.ui-datepicker-rtl {
- direction: rtl;
-}
-
-.ui-datepicker-rtl .ui-datepicker-prev {
- right: 2px;
- left: auto;
-}
-
-.ui-datepicker-rtl .ui-datepicker-next {
- left: 2px;
- right: auto;
-}
-
-.ui-datepicker-rtl .ui-datepicker-prev:hover {
- right: 1px;
- left: auto;
-}
-
-.ui-datepicker-rtl .ui-datepicker-next:hover {
- left: 1px;
- right: auto;
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane {
- clear: right;
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane button {
- float: left;
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
-.ui-datepicker-rtl .ui-datepicker-group {
- float: right;
-}
-
-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
-.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
- border-right-width: 0;
- border-left-width: 1px;
-}
-
-.ui-dialog {
- overflow: hidden;
- position: absolute;
- top: 0;
- left: 0;
- padding: .2em;
- outline: 0;
-}
-
-.ui-dialog .ui-dialog-titlebar {
- padding: .4em 1em;
- position: relative;
-}
-
-.ui-dialog .ui-dialog-title {
- float: left;
- margin: .1em 0;
- white-space: nowrap;
- width: 90%;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-.ui-dialog .ui-dialog-titlebar-close {
- position: absolute;
- right: .3em;
- top: 50%;
- width: 20px;
- margin: -10px 0 0 0;
- padding: 1px;
- height: 20px;
-}
-
-.ui-dialog .ui-dialog-content {
- position: relative;
- border: 0;
- padding: .5em 1em;
- background: none;
- overflow: auto;
-}
-
-.ui-dialog .ui-dialog-buttonpane {
- text-align: left;
- border-width: 1px 0 0 0;
- background-image: none;
- margin-top: .5em;
- padding: .3em 1em .5em .4em;
-}
-
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
- float: right;
-}
-
-.ui-dialog .ui-dialog-buttonpane button {
- margin: .5em .4em .5em 0;
- cursor: pointer;
-}
-
-.ui-dialog .ui-resizable-se {
- width: 12px;
- height: 12px;
- right: -5px;
- bottom: -5px;
- background-position: 16px 16px;
-}
-
-.ui-draggable .ui-dialog-titlebar {
- cursor: move;
-}
-
-.ui-menu {
- list-style: none;
- padding: 0;
- margin: 0;
- display: block;
- outline: none;
-}
-
-.ui-menu .ui-menu {
- position: absolute;
-}
-
-.ui-menu .ui-menu-item {
- position: relative;
- margin: 0;
- padding: 3px 1em 3px .4em;
- cursor: pointer;
- min-height: 0; /* support: IE7 */
- /* support: IE10, see #8844 */
- list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
-}
-
-.ui-menu .ui-menu-divider {
- margin: 5px 0;
- height: 0;
- font-size: 0;
- line-height: 0;
- border-width: 1px 0 0 0;
-}
-
-.ui-menu .ui-state-focus,
-.ui-menu .ui-state-active {
- margin: -1px;
-}
-
-/* icon support */
-.ui-menu-icons {
- position: relative;
-}
-
-.ui-menu-icons .ui-menu-item {
- padding-left: 2em;
-}
-
-/* left-aligned */
-.ui-menu .ui-icon {
- position: absolute;
- top: 0;
- bottom: 0;
- left: .2em;
- margin: auto 0;
-}
-
-/* right-aligned */
-.ui-menu .ui-menu-icon {
- left: auto;
- right: 0;
-}
-
-.ui-progressbar {
- height: 2em;
- text-align: left;
- overflow: hidden;
-}
-
-.ui-progressbar .ui-progressbar-value {
- margin: -1px;
- height: 100%;
-}
-
-.ui-progressbar .ui-progressbar-overlay {
- background: url("data:image/gif;base64,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");
- height: 100%;
- filter: alpha(opacity=25); /* support: IE8 */
- opacity: 0.25;
-}
-
-.ui-progressbar-indeterminate .ui-progressbar-value {
- background-image: none;
-}
-
-.ui-selectmenu-menu {
- padding: 0;
- margin: 0;
- position: absolute;
- top: 0;
- left: 0;
- display: none;
-}
-
-.ui-selectmenu-menu .ui-menu {
- overflow: auto;
- /* Support: IE7 */
- overflow-x: hidden;
- padding-bottom: 1px;
-}
-
-.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
- font-size: 1em;
- font-weight: bold;
- line-height: 1.5;
- padding: 2px 0.4em;
- margin: 0.5em 0 0 0;
- height: auto;
- border: 0;
-}
-
-.ui-selectmenu-open {
- display: block;
-}
-
-.ui-selectmenu-button {
- display: inline-block;
- overflow: hidden;
- position: relative;
- text-decoration: none;
- cursor: pointer;
-}
-
-.ui-selectmenu-button span.ui-icon {
- right: 0.5em;
- left: auto;
- margin-top: -8px;
- position: absolute;
- top: 50%;
-}
-
-.ui-selectmenu-button span.ui-selectmenu-text {
- text-align: left;
- padding: 0.4em 2.1em 0.4em 1em;
- display: block;
- line-height: 1.4;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.ui-slider {
- position: relative;
- text-align: left;
-}
-
-.ui-slider .ui-slider-handle {
- position: absolute;
- z-index: 2;
- width: 1.2em;
- height: 1.2em;
- cursor: default;
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.ui-slider .ui-slider-range {
- position: absolute;
- z-index: 1;
- font-size: .7em;
- display: block;
- border: 0;
- background-position: 0 0;
-}
-
-/* support: IE8 - See #6727 */
-.ui-slider.ui-state-disabled .ui-slider-handle,
-.ui-slider.ui-state-disabled .ui-slider-range {
- filter: inherit;
-}
-
-.ui-slider-horizontal {
- height: .8em;
-}
-
-.ui-slider-horizontal .ui-slider-handle {
- top: -.3em;
- margin-left: -.6em;
-}
-
-.ui-slider-horizontal .ui-slider-range {
- top: 0;
- height: 100%;
-}
-
-.ui-slider-horizontal .ui-slider-range-min {
- left: 0;
-}
-
-.ui-slider-horizontal .ui-slider-range-max {
- right: 0;
-}
-
-.ui-slider-vertical {
- width: .8em;
- height: 100px;
-}
-
-.ui-slider-vertical .ui-slider-handle {
- left: -.3em;
- margin-left: 0;
- margin-bottom: -.6em;
-}
-
-.ui-slider-vertical .ui-slider-range {
- left: 0;
- width: 100%;
-}
-
-.ui-slider-vertical .ui-slider-range-min {
- bottom: 0;
-}
-
-.ui-slider-vertical .ui-slider-range-max {
- top: 0;
-}
-
-.ui-spinner {
- position: relative;
- display: inline-block;
- overflow: hidden;
- padding: 0;
- vertical-align: middle;
-}
-
-.ui-spinner-input {
- border: none;
- background: none;
- color: inherit;
- padding: 0;
- margin: .2em 0;
- vertical-align: middle;
- margin-left: .4em;
- margin-right: 22px;
-}
-
-.ui-spinner-button {
- width: 16px;
- height: 50%;
- font-size: .5em;
- padding: 0;
- margin: 0;
- text-align: center;
- position: absolute;
- cursor: default;
- display: block;
- overflow: hidden;
- right: 0;
-}
-
-/* more specificity required here to override default borders */
-.ui-spinner a.ui-spinner-button {
- border-top: none;
- border-bottom: none;
- border-right: none;
-}
-
-/* vertically center icon */
-.ui-spinner .ui-icon {
- position: absolute;
- margin-top: -8px;
- top: 50%;
- left: 0;
-}
-
-.ui-spinner-up {
- top: 0;
-}
-
-.ui-spinner-down {
- bottom: 0;
-}
-
-/* TR overrides */
-.ui-spinner .ui-icon-triangle-1-s {
- /* need to fix icons sprite */
- background-position: -65px -16px;
-}
-
-.ui-tabs {
- position: relative; /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
- padding: .2em;
-}
-
-.ui-tabs .ui-tabs-nav {
- margin: 0;
- padding: .2em .2em 0;
-}
-
-.ui-tabs .ui-tabs-nav li {
- list-style: none;
- float: left;
- position: relative;
- top: 0;
- margin: 1px .2em 0 0;
- border-bottom-width: 0;
- padding: 0;
- white-space: nowrap;
-}
-
-.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
- float: left;
- padding: .5em 1em;
- text-decoration: none;
-}
-
-.ui-tabs .ui-tabs-nav li.ui-tabs-active {
- margin-bottom: -1px;
- padding-bottom: 1px;
-}
-
-.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
-.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
-.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
- cursor: text;
-}
-
-.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
- cursor: pointer;
-}
-
-.ui-tabs .ui-tabs-panel {
- display: block;
- border-width: 0;
- padding: 1em 1.4em;
- background: none;
-}
-
-.ui-tooltip {
- padding: 8px;
- position: absolute;
- z-index: 9999;
- max-width: 300px;
- -webkit-box-shadow: 0 0 5px #aaa;
- box-shadow: 0 0 5px #aaa;
-}
-
-body .ui-tooltip {
- border-width: 2px;
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.structure.min.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.structure.min.css
deleted file mode 100644
index c74dbd8e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.structure.min.css
+++ /dev/null
@@ -1,894 +0,0 @@
-/*! jQuery UI - v1.11.4 - 2015-04-12
-* http://jqueryui.com
-* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
-
-.ui-helper-hidden {
- display: none
-}
-
-.ui-helper-hidden-accessible {
- border: 0;
- clip: rect(0 0 0 0);
- height: 1px;
- margin: -1px;
- overflow: hidden;
- padding: 0;
- position: absolute;
- width: 1px
-}
-
-.ui-helper-reset {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0;
- line-height: 1.3;
- text-decoration: none;
- font-size: 100%;
- list-style: none
-}
-
-.ui-helper-clearfix:before, .ui-helper-clearfix:after {
- content: "";
- display: table;
- border-collapse: collapse
-}
-
-.ui-helper-clearfix:after {
- clear: both
-}
-
-.ui-helper-clearfix {
- min-height: 0
-}
-
-.ui-helper-zfix {
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- position: absolute;
- opacity: 0;
- filter: Alpha(Opacity=0)
-}
-
-.ui-front {
- z-index: 100
-}
-
-.ui-state-disabled {
- cursor: default !important
-}
-
-.ui-icon {
- display: block;
- text-indent: -99999px;
- overflow: hidden;
- background-repeat: no-repeat
-}
-
-.ui-widget-overlay {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%
-}
-
-.ui-draggable-handle {
- -ms-touch-action: none;
- touch-action: none
-}
-
-.ui-resizable {
- position: relative
-}
-
-.ui-resizable-handle {
- position: absolute;
- font-size: 0.1px;
- display: block;
- -ms-touch-action: none;
- touch-action: none
-}
-
-.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle {
- display: none
-}
-
-.ui-resizable-n {
- cursor: n-resize;
- height: 7px;
- width: 100%;
- top: -5px;
- left: 0
-}
-
-.ui-resizable-s {
- cursor: s-resize;
- height: 7px;
- width: 100%;
- bottom: -5px;
- left: 0
-}
-
-.ui-resizable-e {
- cursor: e-resize;
- width: 7px;
- right: -5px;
- top: 0;
- height: 100%
-}
-
-.ui-resizable-w {
- cursor: w-resize;
- width: 7px;
- left: -5px;
- top: 0;
- height: 100%
-}
-
-.ui-resizable-se {
- cursor: se-resize;
- width: 12px;
- height: 12px;
- right: 1px;
- bottom: 1px
-}
-
-.ui-resizable-sw {
- cursor: sw-resize;
- width: 9px;
- height: 9px;
- left: -5px;
- bottom: -5px
-}
-
-.ui-resizable-nw {
- cursor: nw-resize;
- width: 9px;
- height: 9px;
- left: -5px;
- top: -5px
-}
-
-.ui-resizable-ne {
- cursor: ne-resize;
- width: 9px;
- height: 9px;
- right: -5px;
- top: -5px
-}
-
-.ui-selectable {
- -ms-touch-action: none;
- touch-action: none
-}
-
-.ui-selectable-helper {
- position: absolute;
- z-index: 100;
- border: 1px dotted black
-}
-
-.ui-sortable-handle {
- -ms-touch-action: none;
- touch-action: none
-}
-
-.ui-accordion .ui-accordion-header {
- display: block;
- cursor: pointer;
- position: relative;
- margin: 2px 0 0 0;
- padding: .5em .5em .5em .7em;
- min-height: 0;
- font-size: 100%
-}
-
-.ui-accordion .ui-accordion-icons {
- padding-left: 2.2em
-}
-
-.ui-accordion .ui-accordion-icons .ui-accordion-icons {
- padding-left: 2.2em
-}
-
-.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
- position: absolute;
- left: .5em;
- top: 50%;
- margin-top: -8px
-}
-
-.ui-accordion .ui-accordion-content {
- padding: 1em 2.2em;
- border-top: 0;
- overflow: auto
-}
-
-.ui-autocomplete {
- position: absolute;
- top: 0;
- left: 0;
- cursor: default
-}
-
-.ui-button {
- display: inline-block;
- position: relative;
- padding: 0;
- line-height: normal;
- margin-right: .1em;
- cursor: pointer;
- vertical-align: middle;
- text-align: center;
- overflow: visible
-}
-
-.ui-button, .ui-button:link, .ui-button:visited, .ui-button:hover, .ui-button:active {
- text-decoration: none
-}
-
-.ui-button-icon-only {
- width: 2.2em
-}
-
-button.ui-button-icon-only {
- width: 2.4em
-}
-
-.ui-button-icons-only {
- width: 3.4em
-}
-
-button.ui-button-icons-only {
- width: 3.7em
-}
-
-.ui-button .ui-button-text {
- display: block;
- line-height: normal
-}
-
-.ui-button-text-only .ui-button-text {
- padding: .4em 1em
-}
-
-.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text {
- padding: .4em;
- text-indent: -9999999px
-}
-
-.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text {
- padding: .4em 1em .4em 2.1em
-}
-
-.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text {
- padding: .4em 2.1em .4em 1em
-}
-
-.ui-button-text-icons .ui-button-text {
- padding-left: 2.1em;
- padding-right: 2.1em
-}
-
-input.ui-button {
- padding: .4em 1em
-}
-
-.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon {
- position: absolute;
- top: 50%;
- margin-top: -8px
-}
-
-.ui-button-icon-only .ui-icon {
- left: 50%;
- margin-left: -8px
-}
-
-.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary {
- left: .5em
-}
-
-.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary {
- right: .5em
-}
-
-.ui-buttonset {
- margin-right: 7px
-}
-
-.ui-buttonset .ui-button {
- margin-left: 0;
- margin-right: -.3em
-}
-
-input.ui-button::-moz-focus-inner, button.ui-button::-moz-focus-inner {
- border: 0;
- padding: 0
-}
-
-.ui-datepicker {
- width: 17em;
- padding: .2em .2em 0;
- display: none
-}
-
-.ui-datepicker .ui-datepicker-header {
- position: relative;
- padding: .2em 0
-}
-
-.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
- position: absolute;
- top: 2px;
- width: 1.8em;
- height: 1.8em
-}
-
-.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover {
- top: 1px
-}
-
-.ui-datepicker .ui-datepicker-prev {
- left: 2px
-}
-
-.ui-datepicker .ui-datepicker-next {
- right: 2px
-}
-
-.ui-datepicker .ui-datepicker-prev-hover {
- left: 1px
-}
-
-.ui-datepicker .ui-datepicker-next-hover {
- right: 1px
-}
-
-.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
- display: block;
- position: absolute;
- left: 50%;
- margin-left: -8px;
- top: 50%;
- margin-top: -8px
-}
-
-.ui-datepicker .ui-datepicker-title {
- margin: 0 2.3em;
- line-height: 1.8em;
- text-align: center
-}
-
-.ui-datepicker .ui-datepicker-title select {
- font-size: 1em;
- margin: 1px 0
-}
-
-.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
- width: 45%
-}
-
-.ui-datepicker table {
- width: 100%;
- font-size: .9em;
- border-collapse: collapse;
- margin: 0 0 .4em
-}
-
-.ui-datepicker th {
- padding: .7em .3em;
- text-align: center;
- font-weight: bold;
- border: 0
-}
-
-.ui-datepicker td {
- border: 0;
- padding: 1px
-}
-
-.ui-datepicker td span, .ui-datepicker td a {
- display: block;
- padding: .2em;
- text-align: right;
- text-decoration: none
-}
-
-.ui-datepicker .ui-datepicker-buttonpane {
- background-image: none;
- margin: .7em 0 0 0;
- padding: 0 .2em;
- border-left: 0;
- border-right: 0;
- border-bottom: 0
-}
-
-.ui-datepicker .ui-datepicker-buttonpane button {
- float: right;
- margin: .5em .2em .4em;
- cursor: pointer;
- padding: .2em .6em .3em .6em;
- width: auto;
- overflow: visible
-}
-
-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
- float: left
-}
-
-.ui-datepicker.ui-datepicker-multi {
- width: auto
-}
-
-.ui-datepicker-multi .ui-datepicker-group {
- float: left
-}
-
-.ui-datepicker-multi .ui-datepicker-group table {
- width: 95%;
- margin: 0 auto .4em
-}
-
-.ui-datepicker-multi-2 .ui-datepicker-group {
- width: 50%
-}
-
-.ui-datepicker-multi-3 .ui-datepicker-group {
- width: 33.3%
-}
-
-.ui-datepicker-multi-4 .ui-datepicker-group {
- width: 25%
-}
-
-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
- border-left-width: 0
-}
-
-.ui-datepicker-multi .ui-datepicker-buttonpane {
- clear: left
-}
-
-.ui-datepicker-row-break {
- clear: both;
- width: 100%;
- font-size: 0
-}
-
-.ui-datepicker-rtl {
- direction: rtl
-}
-
-.ui-datepicker-rtl .ui-datepicker-prev {
- right: 2px;
- left: auto
-}
-
-.ui-datepicker-rtl .ui-datepicker-next {
- left: 2px;
- right: auto
-}
-
-.ui-datepicker-rtl .ui-datepicker-prev:hover {
- right: 1px;
- left: auto
-}
-
-.ui-datepicker-rtl .ui-datepicker-next:hover {
- left: 1px;
- right: auto
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane {
- clear: right
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane button {
- float: left
-}
-
-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, .ui-datepicker-rtl .ui-datepicker-group {
- float: right
-}
-
-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header, .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
- border-right-width: 0;
- border-left-width: 1px
-}
-
-.ui-dialog {
- overflow: hidden;
- position: absolute;
- top: 0;
- left: 0;
- padding: .2em;
- outline: 0
-}
-
-.ui-dialog .ui-dialog-titlebar {
- padding: .4em 1em;
- position: relative
-}
-
-.ui-dialog .ui-dialog-title {
- float: left;
- margin: .1em 0;
- white-space: nowrap;
- width: 90%;
- overflow: hidden;
- text-overflow: ellipsis
-}
-
-.ui-dialog .ui-dialog-titlebar-close {
- position: absolute;
- right: .3em;
- top: 50%;
- width: 20px;
- margin: -10px 0 0 0;
- padding: 1px;
- height: 20px
-}
-
-.ui-dialog .ui-dialog-content {
- position: relative;
- border: 0;
- padding: .5em 1em;
- background: none;
- overflow: auto
-}
-
-.ui-dialog .ui-dialog-buttonpane {
- text-align: left;
- border-width: 1px 0 0 0;
- background-image: none;
- margin-top: .5em;
- padding: .3em 1em .5em .4em
-}
-
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
- float: right
-}
-
-.ui-dialog .ui-dialog-buttonpane button {
- margin: .5em .4em .5em 0;
- cursor: pointer
-}
-
-.ui-dialog .ui-resizable-se {
- width: 12px;
- height: 12px;
- right: -5px;
- bottom: -5px;
- background-position: 16px 16px
-}
-
-.ui-draggable .ui-dialog-titlebar {
- cursor: move
-}
-
-.ui-menu {
- list-style: none;
- padding: 0;
- margin: 0;
- display: block;
- outline: none
-}
-
-.ui-menu .ui-menu {
- position: absolute
-}
-
-.ui-menu .ui-menu-item {
- position: relative;
- margin: 0;
- padding: 3px 1em 3px .4em;
- cursor: pointer;
- min-height: 0;
- list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")
-}
-
-.ui-menu .ui-menu-divider {
- margin: 5px 0;
- height: 0;
- font-size: 0;
- line-height: 0;
- border-width: 1px 0 0 0
-}
-
-.ui-menu .ui-state-focus, .ui-menu .ui-state-active {
- margin: -1px
-}
-
-.ui-menu-icons {
- position: relative
-}
-
-.ui-menu-icons .ui-menu-item {
- padding-left: 2em
-}
-
-.ui-menu .ui-icon {
- position: absolute;
- top: 0;
- bottom: 0;
- left: .2em;
- margin: auto 0
-}
-
-.ui-menu .ui-menu-icon {
- left: auto;
- right: 0
-}
-
-.ui-progressbar {
- height: 2em;
- text-align: left;
- overflow: hidden
-}
-
-.ui-progressbar .ui-progressbar-value {
- margin: -1px;
- height: 100%
-}
-
-.ui-progressbar .ui-progressbar-overlay {
- background: url("data:image/gif;base64,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");
- height: 100%;
- filter: alpha(opacity=25);
- opacity: 0.25
-}
-
-.ui-progressbar-indeterminate .ui-progressbar-value {
- background-image: none
-}
-
-.ui-selectmenu-menu {
- padding: 0;
- margin: 0;
- position: absolute;
- top: 0;
- left: 0;
- display: none
-}
-
-.ui-selectmenu-menu .ui-menu {
- overflow: auto;
- overflow-x: hidden;
- padding-bottom: 1px
-}
-
-.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
- font-size: 1em;
- font-weight: bold;
- line-height: 1.5;
- padding: 2px 0.4em;
- margin: 0.5em 0 0 0;
- height: auto;
- border: 0
-}
-
-.ui-selectmenu-open {
- display: block
-}
-
-.ui-selectmenu-button {
- display: inline-block;
- overflow: hidden;
- position: relative;
- text-decoration: none;
- cursor: pointer
-}
-
-.ui-selectmenu-button span.ui-icon {
- right: 0.5em;
- left: auto;
- margin-top: -8px;
- position: absolute;
- top: 50%
-}
-
-.ui-selectmenu-button span.ui-selectmenu-text {
- text-align: left;
- padding: 0.4em 2.1em 0.4em 1em;
- display: block;
- line-height: 1.4;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap
-}
-
-.ui-slider {
- position: relative;
- text-align: left
-}
-
-.ui-slider .ui-slider-handle {
- position: absolute;
- z-index: 2;
- width: 1.2em;
- height: 1.2em;
- cursor: default;
- -ms-touch-action: none;
- touch-action: none
-}
-
-.ui-slider .ui-slider-range {
- position: absolute;
- z-index: 1;
- font-size: .7em;
- display: block;
- border: 0;
- background-position: 0 0
-}
-
-.ui-slider.ui-state-disabled .ui-slider-handle, .ui-slider.ui-state-disabled .ui-slider-range {
- filter: inherit
-}
-
-.ui-slider-horizontal {
- height: .8em
-}
-
-.ui-slider-horizontal .ui-slider-handle {
- top: -.3em;
- margin-left: -.6em
-}
-
-.ui-slider-horizontal .ui-slider-range {
- top: 0;
- height: 100%
-}
-
-.ui-slider-horizontal .ui-slider-range-min {
- left: 0
-}
-
-.ui-slider-horizontal .ui-slider-range-max {
- right: 0
-}
-
-.ui-slider-vertical {
- width: .8em;
- height: 100px
-}
-
-.ui-slider-vertical .ui-slider-handle {
- left: -.3em;
- margin-left: 0;
- margin-bottom: -.6em
-}
-
-.ui-slider-vertical .ui-slider-range {
- left: 0;
- width: 100%
-}
-
-.ui-slider-vertical .ui-slider-range-min {
- bottom: 0
-}
-
-.ui-slider-vertical .ui-slider-range-max {
- top: 0
-}
-
-.ui-spinner {
- position: relative;
- display: inline-block;
- overflow: hidden;
- padding: 0;
- vertical-align: middle
-}
-
-.ui-spinner-input {
- border: none;
- background: none;
- color: inherit;
- padding: 0;
- margin: .2em 0;
- vertical-align: middle;
- margin-left: .4em;
- margin-right: 22px
-}
-
-.ui-spinner-button {
- width: 16px;
- height: 50%;
- font-size: .5em;
- padding: 0;
- margin: 0;
- text-align: center;
- position: absolute;
- cursor: default;
- display: block;
- overflow: hidden;
- right: 0
-}
-
-.ui-spinner a.ui-spinner-button {
- border-top: none;
- border-bottom: none;
- border-right: none
-}
-
-.ui-spinner .ui-icon {
- position: absolute;
- margin-top: -8px;
- top: 50%;
- left: 0
-}
-
-.ui-spinner-up {
- top: 0
-}
-
-.ui-spinner-down {
- bottom: 0
-}
-
-.ui-spinner .ui-icon-triangle-1-s {
- background-position: -65px -16px
-}
-
-.ui-tabs {
- position: relative;
- padding: .2em
-}
-
-.ui-tabs .ui-tabs-nav {
- margin: 0;
- padding: .2em .2em 0
-}
-
-.ui-tabs .ui-tabs-nav li {
- list-style: none;
- float: left;
- position: relative;
- top: 0;
- margin: 1px .2em 0 0;
- border-bottom-width: 0;
- padding: 0;
- white-space: nowrap
-}
-
-.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
- float: left;
- padding: .5em 1em;
- text-decoration: none
-}
-
-.ui-tabs .ui-tabs-nav li.ui-tabs-active {
- margin-bottom: -1px;
- padding-bottom: 1px
-}
-
-.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor, .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor, .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
- cursor: text
-}
-
-.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
- cursor: pointer
-}
-
-.ui-tabs .ui-tabs-panel {
- display: block;
- border-width: 0;
- padding: 1em 1.4em;
- background: none
-}
-
-.ui-tooltip {
- padding: 8px;
- position: absolute;
- z-index: 9999;
- max-width: 300px;
- -webkit-box-shadow: 0 0 5px #aaa;
- box-shadow: 0 0 5px #aaa
-}
-
-body .ui-tooltip {
- border-width: 2px
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.theme.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.theme.css
deleted file mode 100644
index 5f1de320..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.theme.css
+++ /dev/null
@@ -1,962 +0,0 @@
-/*!
- * jQuery UI CSS Framework 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/category/theming/
- *
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
- */
-
-/* Component containers
-----------------------------------*/
-.ui-widget {
- font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
- font-size: 1.1em;
-}
-
-.ui-widget .ui-widget {
- font-size: 1em;
-}
-
-.ui-widget input,
-.ui-widget select,
-.ui-widget textarea,
-.ui-widget button {
- font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
- font-size: 1em;
-}
-
-.ui-widget-content {
- border: 1px solid #dddddd;
- background: #eeeeee url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x;
- color: #333333;
-}
-
-.ui-widget-content a {
- color: #333333;
-}
-
-.ui-widget-header {
- border: 1px solid #e78f08;
- background: #f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x;
- color: #ffffff;
- font-weight: bold;
-}
-
-.ui-widget-header a {
- color: #ffffff;
-}
-
-/* Interaction states
-----------------------------------*/
-.ui-state-default,
-.ui-widget-content .ui-state-default,
-.ui-widget-header .ui-state-default {
- border: 1px solid #cccccc;
- background: #f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;
- font-weight: bold;
- color: #1c94c4;
-}
-
-.ui-state-default a,
-.ui-state-default a:link,
-.ui-state-default a:visited {
- color: #1c94c4;
- text-decoration: none;
-}
-
-.ui-state-hover,
-.ui-widget-content .ui-state-hover,
-.ui-widget-header .ui-state-hover,
-.ui-state-focus,
-.ui-widget-content .ui-state-focus,
-.ui-widget-header .ui-state-focus {
- border: 1px solid #fbcb09;
- background: #fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x;
- font-weight: bold;
- color: #c77405;
-}
-
-.ui-state-hover a,
-.ui-state-hover a:hover,
-.ui-state-hover a:link,
-.ui-state-hover a:visited,
-.ui-state-focus a,
-.ui-state-focus a:hover,
-.ui-state-focus a:link,
-.ui-state-focus a:visited {
- color: #c77405;
- text-decoration: none;
-}
-
-.ui-state-active,
-.ui-widget-content .ui-state-active,
-.ui-widget-header .ui-state-active {
- border: 1px solid #fbd850;
- background: #ffffff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;
- font-weight: bold;
- color: #eb8f00;
-}
-
-.ui-state-active a,
-.ui-state-active a:link,
-.ui-state-active a:visited {
- color: #eb8f00;
- text-decoration: none;
-}
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-highlight,
-.ui-widget-content .ui-state-highlight,
-.ui-widget-header .ui-state-highlight {
- border: 1px solid #fed22f;
- background: #ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x;
- color: #363636;
-}
-
-.ui-state-highlight a,
-.ui-widget-content .ui-state-highlight a,
-.ui-widget-header .ui-state-highlight a {
- color: #363636;
-}
-
-.ui-state-error,
-.ui-widget-content .ui-state-error,
-.ui-widget-header .ui-state-error {
- border: 1px solid #cd0a0a;
- background: #b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat;
- color: #ffffff;
-}
-
-.ui-state-error a,
-.ui-widget-content .ui-state-error a,
-.ui-widget-header .ui-state-error a {
- color: #ffffff;
-}
-
-.ui-state-error-text,
-.ui-widget-content .ui-state-error-text,
-.ui-widget-header .ui-state-error-text {
- color: #ffffff;
-}
-
-.ui-priority-primary,
-.ui-widget-content .ui-priority-primary,
-.ui-widget-header .ui-priority-primary {
- font-weight: bold;
-}
-
-.ui-priority-secondary,
-.ui-widget-content .ui-priority-secondary,
-.ui-widget-header .ui-priority-secondary {
- opacity: .7;
- filter: Alpha(Opacity=70); /* support: IE8 */
- font-weight: normal;
-}
-
-.ui-state-disabled,
-.ui-widget-content .ui-state-disabled,
-.ui-widget-header .ui-state-disabled {
- opacity: .35;
- filter: Alpha(Opacity=35); /* support: IE8 */
- background-image: none;
-}
-
-.ui-state-disabled .ui-icon {
- filter: Alpha(Opacity=35); /* support: IE8 - See #6059 */
-}
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon {
- width: 16px;
- height: 16px;
-}
-
-.ui-icon,
-.ui-widget-content .ui-icon {
- background-image: url("images/ui-icons_222222_256x240.png");
-}
-
-.ui-widget-header .ui-icon {
- background-image: url("images/ui-icons_ffffff_256x240.png");
-}
-
-.ui-state-default .ui-icon {
- background-image: url("images/ui-icons_ef8c08_256x240.png");
-}
-
-.ui-state-hover .ui-icon,
-.ui-state-focus .ui-icon {
- background-image: url("images/ui-icons_ef8c08_256x240.png");
-}
-
-.ui-state-active .ui-icon {
- background-image: url("images/ui-icons_ef8c08_256x240.png");
-}
-
-.ui-state-highlight .ui-icon {
- background-image: url("images/ui-icons_228ef1_256x240.png");
-}
-
-.ui-state-error .ui-icon,
-.ui-state-error-text .ui-icon {
- background-image: url("images/ui-icons_ffd27a_256x240.png");
-}
-
-/* positioning */
-.ui-icon-blank {
- background-position: 16px 16px;
-}
-
-.ui-icon-carat-1-n {
- background-position: 0 0;
-}
-
-.ui-icon-carat-1-ne {
- background-position: -16px 0;
-}
-
-.ui-icon-carat-1-e {
- background-position: -32px 0;
-}
-
-.ui-icon-carat-1-se {
- background-position: -48px 0;
-}
-
-.ui-icon-carat-1-s {
- background-position: -64px 0;
-}
-
-.ui-icon-carat-1-sw {
- background-position: -80px 0;
-}
-
-.ui-icon-carat-1-w {
- background-position: -96px 0;
-}
-
-.ui-icon-carat-1-nw {
- background-position: -112px 0;
-}
-
-.ui-icon-carat-2-n-s {
- background-position: -128px 0;
-}
-
-.ui-icon-carat-2-e-w {
- background-position: -144px 0;
-}
-
-.ui-icon-triangle-1-n {
- background-position: 0 -16px;
-}
-
-.ui-icon-triangle-1-ne {
- background-position: -16px -16px;
-}
-
-.ui-icon-triangle-1-e {
- background-position: -32px -16px;
-}
-
-.ui-icon-triangle-1-se {
- background-position: -48px -16px;
-}
-
-.ui-icon-triangle-1-s {
- background-position: -64px -16px;
-}
-
-.ui-icon-triangle-1-sw {
- background-position: -80px -16px;
-}
-
-.ui-icon-triangle-1-w {
- background-position: -96px -16px;
-}
-
-.ui-icon-triangle-1-nw {
- background-position: -112px -16px;
-}
-
-.ui-icon-triangle-2-n-s {
- background-position: -128px -16px;
-}
-
-.ui-icon-triangle-2-e-w {
- background-position: -144px -16px;
-}
-
-.ui-icon-arrow-1-n {
- background-position: 0 -32px;
-}
-
-.ui-icon-arrow-1-ne {
- background-position: -16px -32px;
-}
-
-.ui-icon-arrow-1-e {
- background-position: -32px -32px;
-}
-
-.ui-icon-arrow-1-se {
- background-position: -48px -32px;
-}
-
-.ui-icon-arrow-1-s {
- background-position: -64px -32px;
-}
-
-.ui-icon-arrow-1-sw {
- background-position: -80px -32px;
-}
-
-.ui-icon-arrow-1-w {
- background-position: -96px -32px;
-}
-
-.ui-icon-arrow-1-nw {
- background-position: -112px -32px;
-}
-
-.ui-icon-arrow-2-n-s {
- background-position: -128px -32px;
-}
-
-.ui-icon-arrow-2-ne-sw {
- background-position: -144px -32px;
-}
-
-.ui-icon-arrow-2-e-w {
- background-position: -160px -32px;
-}
-
-.ui-icon-arrow-2-se-nw {
- background-position: -176px -32px;
-}
-
-.ui-icon-arrowstop-1-n {
- background-position: -192px -32px;
-}
-
-.ui-icon-arrowstop-1-e {
- background-position: -208px -32px;
-}
-
-.ui-icon-arrowstop-1-s {
- background-position: -224px -32px;
-}
-
-.ui-icon-arrowstop-1-w {
- background-position: -240px -32px;
-}
-
-.ui-icon-arrowthick-1-n {
- background-position: 0 -48px;
-}
-
-.ui-icon-arrowthick-1-ne {
- background-position: -16px -48px;
-}
-
-.ui-icon-arrowthick-1-e {
- background-position: -32px -48px;
-}
-
-.ui-icon-arrowthick-1-se {
- background-position: -48px -48px;
-}
-
-.ui-icon-arrowthick-1-s {
- background-position: -64px -48px;
-}
-
-.ui-icon-arrowthick-1-sw {
- background-position: -80px -48px;
-}
-
-.ui-icon-arrowthick-1-w {
- background-position: -96px -48px;
-}
-
-.ui-icon-arrowthick-1-nw {
- background-position: -112px -48px;
-}
-
-.ui-icon-arrowthick-2-n-s {
- background-position: -128px -48px;
-}
-
-.ui-icon-arrowthick-2-ne-sw {
- background-position: -144px -48px;
-}
-
-.ui-icon-arrowthick-2-e-w {
- background-position: -160px -48px;
-}
-
-.ui-icon-arrowthick-2-se-nw {
- background-position: -176px -48px;
-}
-
-.ui-icon-arrowthickstop-1-n {
- background-position: -192px -48px;
-}
-
-.ui-icon-arrowthickstop-1-e {
- background-position: -208px -48px;
-}
-
-.ui-icon-arrowthickstop-1-s {
- background-position: -224px -48px;
-}
-
-.ui-icon-arrowthickstop-1-w {
- background-position: -240px -48px;
-}
-
-.ui-icon-arrowreturnthick-1-w {
- background-position: 0 -64px;
-}
-
-.ui-icon-arrowreturnthick-1-n {
- background-position: -16px -64px;
-}
-
-.ui-icon-arrowreturnthick-1-e {
- background-position: -32px -64px;
-}
-
-.ui-icon-arrowreturnthick-1-s {
- background-position: -48px -64px;
-}
-
-.ui-icon-arrowreturn-1-w {
- background-position: -64px -64px;
-}
-
-.ui-icon-arrowreturn-1-n {
- background-position: -80px -64px;
-}
-
-.ui-icon-arrowreturn-1-e {
- background-position: -96px -64px;
-}
-
-.ui-icon-arrowreturn-1-s {
- background-position: -112px -64px;
-}
-
-.ui-icon-arrowrefresh-1-w {
- background-position: -128px -64px;
-}
-
-.ui-icon-arrowrefresh-1-n {
- background-position: -144px -64px;
-}
-
-.ui-icon-arrowrefresh-1-e {
- background-position: -160px -64px;
-}
-
-.ui-icon-arrowrefresh-1-s {
- background-position: -176px -64px;
-}
-
-.ui-icon-arrow-4 {
- background-position: 0 -80px;
-}
-
-.ui-icon-arrow-4-diag {
- background-position: -16px -80px;
-}
-
-.ui-icon-extlink {
- background-position: -32px -80px;
-}
-
-.ui-icon-newwin {
- background-position: -48px -80px;
-}
-
-.ui-icon-refresh {
- background-position: -64px -80px;
-}
-
-.ui-icon-shuffle {
- background-position: -80px -80px;
-}
-
-.ui-icon-transfer-e-w {
- background-position: -96px -80px;
-}
-
-.ui-icon-transferthick-e-w {
- background-position: -112px -80px;
-}
-
-.ui-icon-folder-collapsed {
- background-position: 0 -96px;
-}
-
-.ui-icon-folder-open {
- background-position: -16px -96px;
-}
-
-.ui-icon-document {
- background-position: -32px -96px;
-}
-
-.ui-icon-document-b {
- background-position: -48px -96px;
-}
-
-.ui-icon-note {
- background-position: -64px -96px;
-}
-
-.ui-icon-mail-closed {
- background-position: -80px -96px;
-}
-
-.ui-icon-mail-open {
- background-position: -96px -96px;
-}
-
-.ui-icon-suitcase {
- background-position: -112px -96px;
-}
-
-.ui-icon-comment {
- background-position: -128px -96px;
-}
-
-.ui-icon-person {
- background-position: -144px -96px;
-}
-
-.ui-icon-print {
- background-position: -160px -96px;
-}
-
-.ui-icon-trash {
- background-position: -176px -96px;
-}
-
-.ui-icon-locked {
- background-position: -192px -96px;
-}
-
-.ui-icon-unlocked {
- background-position: -208px -96px;
-}
-
-.ui-icon-bookmark {
- background-position: -224px -96px;
-}
-
-.ui-icon-tag {
- background-position: -240px -96px;
-}
-
-.ui-icon-home {
- background-position: 0 -112px;
-}
-
-.ui-icon-flag {
- background-position: -16px -112px;
-}
-
-.ui-icon-calendar {
- background-position: -32px -112px;
-}
-
-.ui-icon-cart {
- background-position: -48px -112px;
-}
-
-.ui-icon-pencil {
- background-position: -64px -112px;
-}
-
-.ui-icon-clock {
- background-position: -80px -112px;
-}
-
-.ui-icon-disk {
- background-position: -96px -112px;
-}
-
-.ui-icon-calculator {
- background-position: -112px -112px;
-}
-
-.ui-icon-zoomin {
- background-position: -128px -112px;
-}
-
-.ui-icon-zoomout {
- background-position: -144px -112px;
-}
-
-.ui-icon-search {
- background-position: -160px -112px;
-}
-
-.ui-icon-wrench {
- background-position: -176px -112px;
-}
-
-.ui-icon-gear {
- background-position: -192px -112px;
-}
-
-.ui-icon-heart {
- background-position: -208px -112px;
-}
-
-.ui-icon-star {
- background-position: -224px -112px;
-}
-
-.ui-icon-link {
- background-position: -240px -112px;
-}
-
-.ui-icon-cancel {
- background-position: 0 -128px;
-}
-
-.ui-icon-plus {
- background-position: -16px -128px;
-}
-
-.ui-icon-plusthick {
- background-position: -32px -128px;
-}
-
-.ui-icon-minus {
- background-position: -48px -128px;
-}
-
-.ui-icon-minusthick {
- background-position: -64px -128px;
-}
-
-.ui-icon-close {
- background-position: -80px -128px;
-}
-
-.ui-icon-closethick {
- background-position: -96px -128px;
-}
-
-.ui-icon-key {
- background-position: -112px -128px;
-}
-
-.ui-icon-lightbulb {
- background-position: -128px -128px;
-}
-
-.ui-icon-scissors {
- background-position: -144px -128px;
-}
-
-.ui-icon-clipboard {
- background-position: -160px -128px;
-}
-
-.ui-icon-copy {
- background-position: -176px -128px;
-}
-
-.ui-icon-contact {
- background-position: -192px -128px;
-}
-
-.ui-icon-image {
- background-position: -208px -128px;
-}
-
-.ui-icon-video {
- background-position: -224px -128px;
-}
-
-.ui-icon-script {
- background-position: -240px -128px;
-}
-
-.ui-icon-alert {
- background-position: 0 -144px;
-}
-
-.ui-icon-info {
- background-position: -16px -144px;
-}
-
-.ui-icon-notice {
- background-position: -32px -144px;
-}
-
-.ui-icon-help {
- background-position: -48px -144px;
-}
-
-.ui-icon-check {
- background-position: -64px -144px;
-}
-
-.ui-icon-bullet {
- background-position: -80px -144px;
-}
-
-.ui-icon-radio-on {
- background-position: -96px -144px;
-}
-
-.ui-icon-radio-off {
- background-position: -112px -144px;
-}
-
-.ui-icon-pin-w {
- background-position: -128px -144px;
-}
-
-.ui-icon-pin-s {
- background-position: -144px -144px;
-}
-
-.ui-icon-play {
- background-position: 0 -160px;
-}
-
-.ui-icon-pause {
- background-position: -16px -160px;
-}
-
-.ui-icon-seek-next {
- background-position: -32px -160px;
-}
-
-.ui-icon-seek-prev {
- background-position: -48px -160px;
-}
-
-.ui-icon-seek-end {
- background-position: -64px -160px;
-}
-
-.ui-icon-seek-start {
- background-position: -80px -160px;
-}
-
-/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
-.ui-icon-seek-first {
- background-position: -80px -160px;
-}
-
-.ui-icon-stop {
- background-position: -96px -160px;
-}
-
-.ui-icon-eject {
- background-position: -112px -160px;
-}
-
-.ui-icon-volume-off {
- background-position: -128px -160px;
-}
-
-.ui-icon-volume-on {
- background-position: -144px -160px;
-}
-
-.ui-icon-power {
- background-position: 0 -176px;
-}
-
-.ui-icon-signal-diag {
- background-position: -16px -176px;
-}
-
-.ui-icon-signal {
- background-position: -32px -176px;
-}
-
-.ui-icon-battery-0 {
- background-position: -48px -176px;
-}
-
-.ui-icon-battery-1 {
- background-position: -64px -176px;
-}
-
-.ui-icon-battery-2 {
- background-position: -80px -176px;
-}
-
-.ui-icon-battery-3 {
- background-position: -96px -176px;
-}
-
-.ui-icon-circle-plus {
- background-position: 0 -192px;
-}
-
-.ui-icon-circle-minus {
- background-position: -16px -192px;
-}
-
-.ui-icon-circle-close {
- background-position: -32px -192px;
-}
-
-.ui-icon-circle-triangle-e {
- background-position: -48px -192px;
-}
-
-.ui-icon-circle-triangle-s {
- background-position: -64px -192px;
-}
-
-.ui-icon-circle-triangle-w {
- background-position: -80px -192px;
-}
-
-.ui-icon-circle-triangle-n {
- background-position: -96px -192px;
-}
-
-.ui-icon-circle-arrow-e {
- background-position: -112px -192px;
-}
-
-.ui-icon-circle-arrow-s {
- background-position: -128px -192px;
-}
-
-.ui-icon-circle-arrow-w {
- background-position: -144px -192px;
-}
-
-.ui-icon-circle-arrow-n {
- background-position: -160px -192px;
-}
-
-.ui-icon-circle-zoomin {
- background-position: -176px -192px;
-}
-
-.ui-icon-circle-zoomout {
- background-position: -192px -192px;
-}
-
-.ui-icon-circle-check {
- background-position: -208px -192px;
-}
-
-.ui-icon-circlesmall-plus {
- background-position: 0 -208px;
-}
-
-.ui-icon-circlesmall-minus {
- background-position: -16px -208px;
-}
-
-.ui-icon-circlesmall-close {
- background-position: -32px -208px;
-}
-
-.ui-icon-squaresmall-plus {
- background-position: -48px -208px;
-}
-
-.ui-icon-squaresmall-minus {
- background-position: -64px -208px;
-}
-
-.ui-icon-squaresmall-close {
- background-position: -80px -208px;
-}
-
-.ui-icon-grip-dotted-vertical {
- background-position: 0 -224px;
-}
-
-.ui-icon-grip-dotted-horizontal {
- background-position: -16px -224px;
-}
-
-.ui-icon-grip-solid-vertical {
- background-position: -32px -224px;
-}
-
-.ui-icon-grip-solid-horizontal {
- background-position: -48px -224px;
-}
-
-.ui-icon-gripsmall-diagonal-se {
- background-position: -64px -224px;
-}
-
-.ui-icon-grip-diagonal-se {
- background-position: -80px -224px;
-}
-
-/* Misc visuals
-----------------------------------*/
-
-/* Corner radius */
-.ui-corner-all,
-.ui-corner-top,
-.ui-corner-left,
-.ui-corner-tl {
- border-top-left-radius: 4px;
-}
-
-.ui-corner-all,
-.ui-corner-top,
-.ui-corner-right,
-.ui-corner-tr {
- border-top-right-radius: 4px;
-}
-
-.ui-corner-all,
-.ui-corner-bottom,
-.ui-corner-left,
-.ui-corner-bl {
- border-bottom-left-radius: 4px;
-}
-
-.ui-corner-all,
-.ui-corner-bottom,
-.ui-corner-right,
-.ui-corner-br {
- border-bottom-right-radius: 4px;
-}
-
-/* Overlays */
-.ui-widget-overlay {
- background: #666666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;
- opacity: .5;
- filter: Alpha(Opacity=50); /* support: IE8 */
-}
-
-.ui-widget-shadow {
- margin: -5px 0 0 -5px;
- padding: 5px;
- background: #000000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;
- opacity: .2;
- filter: Alpha(Opacity=20); /* support: IE8 */
- border-radius: 5px;
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.theme.min.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.theme.min.css
deleted file mode 100644
index e6654d08..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/jquery-ui-1.11.4.custom/jquery-ui.theme.min.css
+++ /dev/null
@@ -1,882 +0,0 @@
-/*! jQuery UI - v1.11.4 - 2015-04-16
-* http://jqueryui.com
-* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
-
-.ui-widget {
- font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
- font-size: 1.1em
-}
-
-.ui-widget .ui-widget {
- font-size: 1em
-}
-
-.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
- font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
- font-size: 1em
-}
-
-.ui-widget-content {
- border: 1px solid #ddd;
- background: #eee url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x;
- color: #333
-}
-
-.ui-widget-content a {
- color: #333
-}
-
-.ui-widget-header {
- border: 1px solid #e78f08;
- background: #f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x;
- color: #fff;
- font-weight: bold
-}
-
-.ui-widget-header a {
- color: #fff
-}
-
-.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
- border: 1px solid #ccc;
- background: #f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;
- font-weight: bold;
- color: #1c94c4
-}
-
-.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
- color: #1c94c4;
- text-decoration: none
-}
-
-.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
- border: 1px solid #fbcb09;
- background: #fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x;
- font-weight: bold;
- color: #c77405
-}
-
-.ui-state-hover a, .ui-state-hover a:hover, .ui-state-hover a:link, .ui-state-hover a:visited, .ui-state-focus a, .ui-state-focus a:hover, .ui-state-focus a:link, .ui-state-focus a:visited {
- color: #c77405;
- text-decoration: none
-}
-
-.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
- border: 1px solid #fbd850;
- background: #fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;
- font-weight: bold;
- color: #eb8f00
-}
-
-.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
- color: #eb8f00;
- text-decoration: none
-}
-
-.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
- border: 1px solid #fed22f;
- background: #ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x;
- color: #363636
-}
-
-.ui-state-highlight a, .ui-widget-content .ui-state-highlight a, .ui-widget-header .ui-state-highlight a {
- color: #363636
-}
-
-.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {
- border: 1px solid #cd0a0a;
- background: #b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat;
- color: #fff
-}
-
-.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a {
- color: #fff
-}
-
-.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text {
- color: #fff
-}
-
-.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary {
- font-weight: bold
-}
-
-.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary {
- opacity: .7;
- filter: Alpha(Opacity=70);
- font-weight: normal
-}
-
-.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled {
- opacity: .35;
- filter: Alpha(Opacity=35);
- background-image: none
-}
-
-.ui-state-disabled .ui-icon {
- filter: Alpha(Opacity=35)
-}
-
-.ui-icon {
- width: 16px;
- height: 16px
-}
-
-.ui-icon, .ui-widget-content .ui-icon {
- background-image: url("images/ui-icons_222222_256x240.png")
-}
-
-.ui-widget-header .ui-icon {
- background-image: url("images/ui-icons_ffffff_256x240.png")
-}
-
-.ui-state-default .ui-icon {
- background-image: url("images/ui-icons_ef8c08_256x240.png")
-}
-
-.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
- background-image: url("images/ui-icons_ef8c08_256x240.png")
-}
-
-.ui-state-active .ui-icon {
- background-image: url("images/ui-icons_ef8c08_256x240.png")
-}
-
-.ui-state-highlight .ui-icon {
- background-image: url("images/ui-icons_228ef1_256x240.png")
-}
-
-.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {
- background-image: url("images/ui-icons_ffd27a_256x240.png")
-}
-
-.ui-icon-blank {
- background-position: 16px 16px
-}
-
-.ui-icon-carat-1-n {
- background-position: 0 0
-}
-
-.ui-icon-carat-1-ne {
- background-position: -16px 0
-}
-
-.ui-icon-carat-1-e {
- background-position: -32px 0
-}
-
-.ui-icon-carat-1-se {
- background-position: -48px 0
-}
-
-.ui-icon-carat-1-s {
- background-position: -64px 0
-}
-
-.ui-icon-carat-1-sw {
- background-position: -80px 0
-}
-
-.ui-icon-carat-1-w {
- background-position: -96px 0
-}
-
-.ui-icon-carat-1-nw {
- background-position: -112px 0
-}
-
-.ui-icon-carat-2-n-s {
- background-position: -128px 0
-}
-
-.ui-icon-carat-2-e-w {
- background-position: -144px 0
-}
-
-.ui-icon-triangle-1-n {
- background-position: 0 -16px
-}
-
-.ui-icon-triangle-1-ne {
- background-position: -16px -16px
-}
-
-.ui-icon-triangle-1-e {
- background-position: -32px -16px
-}
-
-.ui-icon-triangle-1-se {
- background-position: -48px -16px
-}
-
-.ui-icon-triangle-1-s {
- background-position: -64px -16px
-}
-
-.ui-icon-triangle-1-sw {
- background-position: -80px -16px
-}
-
-.ui-icon-triangle-1-w {
- background-position: -96px -16px
-}
-
-.ui-icon-triangle-1-nw {
- background-position: -112px -16px
-}
-
-.ui-icon-triangle-2-n-s {
- background-position: -128px -16px
-}
-
-.ui-icon-triangle-2-e-w {
- background-position: -144px -16px
-}
-
-.ui-icon-arrow-1-n {
- background-position: 0 -32px
-}
-
-.ui-icon-arrow-1-ne {
- background-position: -16px -32px
-}
-
-.ui-icon-arrow-1-e {
- background-position: -32px -32px
-}
-
-.ui-icon-arrow-1-se {
- background-position: -48px -32px
-}
-
-.ui-icon-arrow-1-s {
- background-position: -64px -32px
-}
-
-.ui-icon-arrow-1-sw {
- background-position: -80px -32px
-}
-
-.ui-icon-arrow-1-w {
- background-position: -96px -32px
-}
-
-.ui-icon-arrow-1-nw {
- background-position: -112px -32px
-}
-
-.ui-icon-arrow-2-n-s {
- background-position: -128px -32px
-}
-
-.ui-icon-arrow-2-ne-sw {
- background-position: -144px -32px
-}
-
-.ui-icon-arrow-2-e-w {
- background-position: -160px -32px
-}
-
-.ui-icon-arrow-2-se-nw {
- background-position: -176px -32px
-}
-
-.ui-icon-arrowstop-1-n {
- background-position: -192px -32px
-}
-
-.ui-icon-arrowstop-1-e {
- background-position: -208px -32px
-}
-
-.ui-icon-arrowstop-1-s {
- background-position: -224px -32px
-}
-
-.ui-icon-arrowstop-1-w {
- background-position: -240px -32px
-}
-
-.ui-icon-arrowthick-1-n {
- background-position: 0 -48px
-}
-
-.ui-icon-arrowthick-1-ne {
- background-position: -16px -48px
-}
-
-.ui-icon-arrowthick-1-e {
- background-position: -32px -48px
-}
-
-.ui-icon-arrowthick-1-se {
- background-position: -48px -48px
-}
-
-.ui-icon-arrowthick-1-s {
- background-position: -64px -48px
-}
-
-.ui-icon-arrowthick-1-sw {
- background-position: -80px -48px
-}
-
-.ui-icon-arrowthick-1-w {
- background-position: -96px -48px
-}
-
-.ui-icon-arrowthick-1-nw {
- background-position: -112px -48px
-}
-
-.ui-icon-arrowthick-2-n-s {
- background-position: -128px -48px
-}
-
-.ui-icon-arrowthick-2-ne-sw {
- background-position: -144px -48px
-}
-
-.ui-icon-arrowthick-2-e-w {
- background-position: -160px -48px
-}
-
-.ui-icon-arrowthick-2-se-nw {
- background-position: -176px -48px
-}
-
-.ui-icon-arrowthickstop-1-n {
- background-position: -192px -48px
-}
-
-.ui-icon-arrowthickstop-1-e {
- background-position: -208px -48px
-}
-
-.ui-icon-arrowthickstop-1-s {
- background-position: -224px -48px
-}
-
-.ui-icon-arrowthickstop-1-w {
- background-position: -240px -48px
-}
-
-.ui-icon-arrowreturnthick-1-w {
- background-position: 0 -64px
-}
-
-.ui-icon-arrowreturnthick-1-n {
- background-position: -16px -64px
-}
-
-.ui-icon-arrowreturnthick-1-e {
- background-position: -32px -64px
-}
-
-.ui-icon-arrowreturnthick-1-s {
- background-position: -48px -64px
-}
-
-.ui-icon-arrowreturn-1-w {
- background-position: -64px -64px
-}
-
-.ui-icon-arrowreturn-1-n {
- background-position: -80px -64px
-}
-
-.ui-icon-arrowreturn-1-e {
- background-position: -96px -64px
-}
-
-.ui-icon-arrowreturn-1-s {
- background-position: -112px -64px
-}
-
-.ui-icon-arrowrefresh-1-w {
- background-position: -128px -64px
-}
-
-.ui-icon-arrowrefresh-1-n {
- background-position: -144px -64px
-}
-
-.ui-icon-arrowrefresh-1-e {
- background-position: -160px -64px
-}
-
-.ui-icon-arrowrefresh-1-s {
- background-position: -176px -64px
-}
-
-.ui-icon-arrow-4 {
- background-position: 0 -80px
-}
-
-.ui-icon-arrow-4-diag {
- background-position: -16px -80px
-}
-
-.ui-icon-extlink {
- background-position: -32px -80px
-}
-
-.ui-icon-newwin {
- background-position: -48px -80px
-}
-
-.ui-icon-refresh {
- background-position: -64px -80px
-}
-
-.ui-icon-shuffle {
- background-position: -80px -80px
-}
-
-.ui-icon-transfer-e-w {
- background-position: -96px -80px
-}
-
-.ui-icon-transferthick-e-w {
- background-position: -112px -80px
-}
-
-.ui-icon-folder-collapsed {
- background-position: 0 -96px
-}
-
-.ui-icon-folder-open {
- background-position: -16px -96px
-}
-
-.ui-icon-document {
- background-position: -32px -96px
-}
-
-.ui-icon-document-b {
- background-position: -48px -96px
-}
-
-.ui-icon-note {
- background-position: -64px -96px
-}
-
-.ui-icon-mail-closed {
- background-position: -80px -96px
-}
-
-.ui-icon-mail-open {
- background-position: -96px -96px
-}
-
-.ui-icon-suitcase {
- background-position: -112px -96px
-}
-
-.ui-icon-comment {
- background-position: -128px -96px
-}
-
-.ui-icon-person {
- background-position: -144px -96px
-}
-
-.ui-icon-print {
- background-position: -160px -96px
-}
-
-.ui-icon-trash {
- background-position: -176px -96px
-}
-
-.ui-icon-locked {
- background-position: -192px -96px
-}
-
-.ui-icon-unlocked {
- background-position: -208px -96px
-}
-
-.ui-icon-bookmark {
- background-position: -224px -96px
-}
-
-.ui-icon-tag {
- background-position: -240px -96px
-}
-
-.ui-icon-home {
- background-position: 0 -112px
-}
-
-.ui-icon-flag {
- background-position: -16px -112px
-}
-
-.ui-icon-calendar {
- background-position: -32px -112px
-}
-
-.ui-icon-cart {
- background-position: -48px -112px
-}
-
-.ui-icon-pencil {
- background-position: -64px -112px
-}
-
-.ui-icon-clock {
- background-position: -80px -112px
-}
-
-.ui-icon-disk {
- background-position: -96px -112px
-}
-
-.ui-icon-calculator {
- background-position: -112px -112px
-}
-
-.ui-icon-zoomin {
- background-position: -128px -112px
-}
-
-.ui-icon-zoomout {
- background-position: -144px -112px
-}
-
-.ui-icon-search {
- background-position: -160px -112px
-}
-
-.ui-icon-wrench {
- background-position: -176px -112px
-}
-
-.ui-icon-gear {
- background-position: -192px -112px
-}
-
-.ui-icon-heart {
- background-position: -208px -112px
-}
-
-.ui-icon-star {
- background-position: -224px -112px
-}
-
-.ui-icon-link {
- background-position: -240px -112px
-}
-
-.ui-icon-cancel {
- background-position: 0 -128px
-}
-
-.ui-icon-plus {
- background-position: -16px -128px
-}
-
-.ui-icon-plusthick {
- background-position: -32px -128px
-}
-
-.ui-icon-minus {
- background-position: -48px -128px
-}
-
-.ui-icon-minusthick {
- background-position: -64px -128px
-}
-
-.ui-icon-close {
- background-position: -80px -128px
-}
-
-.ui-icon-closethick {
- background-position: -96px -128px
-}
-
-.ui-icon-key {
- background-position: -112px -128px
-}
-
-.ui-icon-lightbulb {
- background-position: -128px -128px
-}
-
-.ui-icon-scissors {
- background-position: -144px -128px
-}
-
-.ui-icon-clipboard {
- background-position: -160px -128px
-}
-
-.ui-icon-copy {
- background-position: -176px -128px
-}
-
-.ui-icon-contact {
- background-position: -192px -128px
-}
-
-.ui-icon-image {
- background-position: -208px -128px
-}
-
-.ui-icon-video {
- background-position: -224px -128px
-}
-
-.ui-icon-script {
- background-position: -240px -128px
-}
-
-.ui-icon-alert {
- background-position: 0 -144px
-}
-
-.ui-icon-info {
- background-position: -16px -144px
-}
-
-.ui-icon-notice {
- background-position: -32px -144px
-}
-
-.ui-icon-help {
- background-position: -48px -144px
-}
-
-.ui-icon-check {
- background-position: -64px -144px
-}
-
-.ui-icon-bullet {
- background-position: -80px -144px
-}
-
-.ui-icon-radio-on {
- background-position: -96px -144px
-}
-
-.ui-icon-radio-off {
- background-position: -112px -144px
-}
-
-.ui-icon-pin-w {
- background-position: -128px -144px
-}
-
-.ui-icon-pin-s {
- background-position: -144px -144px
-}
-
-.ui-icon-play {
- background-position: 0 -160px
-}
-
-.ui-icon-pause {
- background-position: -16px -160px
-}
-
-.ui-icon-seek-next {
- background-position: -32px -160px
-}
-
-.ui-icon-seek-prev {
- background-position: -48px -160px
-}
-
-.ui-icon-seek-end {
- background-position: -64px -160px
-}
-
-.ui-icon-seek-start {
- background-position: -80px -160px
-}
-
-.ui-icon-seek-first {
- background-position: -80px -160px
-}
-
-.ui-icon-stop {
- background-position: -96px -160px
-}
-
-.ui-icon-eject {
- background-position: -112px -160px
-}
-
-.ui-icon-volume-off {
- background-position: -128px -160px
-}
-
-.ui-icon-volume-on {
- background-position: -144px -160px
-}
-
-.ui-icon-power {
- background-position: 0 -176px
-}
-
-.ui-icon-signal-diag {
- background-position: -16px -176px
-}
-
-.ui-icon-signal {
- background-position: -32px -176px
-}
-
-.ui-icon-battery-0 {
- background-position: -48px -176px
-}
-
-.ui-icon-battery-1 {
- background-position: -64px -176px
-}
-
-.ui-icon-battery-2 {
- background-position: -80px -176px
-}
-
-.ui-icon-battery-3 {
- background-position: -96px -176px
-}
-
-.ui-icon-circle-plus {
- background-position: 0 -192px
-}
-
-.ui-icon-circle-minus {
- background-position: -16px -192px
-}
-
-.ui-icon-circle-close {
- background-position: -32px -192px
-}
-
-.ui-icon-circle-triangle-e {
- background-position: -48px -192px
-}
-
-.ui-icon-circle-triangle-s {
- background-position: -64px -192px
-}
-
-.ui-icon-circle-triangle-w {
- background-position: -80px -192px
-}
-
-.ui-icon-circle-triangle-n {
- background-position: -96px -192px
-}
-
-.ui-icon-circle-arrow-e {
- background-position: -112px -192px
-}
-
-.ui-icon-circle-arrow-s {
- background-position: -128px -192px
-}
-
-.ui-icon-circle-arrow-w {
- background-position: -144px -192px
-}
-
-.ui-icon-circle-arrow-n {
- background-position: -160px -192px
-}
-
-.ui-icon-circle-zoomin {
- background-position: -176px -192px
-}
-
-.ui-icon-circle-zoomout {
- background-position: -192px -192px
-}
-
-.ui-icon-circle-check {
- background-position: -208px -192px
-}
-
-.ui-icon-circlesmall-plus {
- background-position: 0 -208px
-}
-
-.ui-icon-circlesmall-minus {
- background-position: -16px -208px
-}
-
-.ui-icon-circlesmall-close {
- background-position: -32px -208px
-}
-
-.ui-icon-squaresmall-plus {
- background-position: -48px -208px
-}
-
-.ui-icon-squaresmall-minus {
- background-position: -64px -208px
-}
-
-.ui-icon-squaresmall-close {
- background-position: -80px -208px
-}
-
-.ui-icon-grip-dotted-vertical {
- background-position: 0 -224px
-}
-
-.ui-icon-grip-dotted-horizontal {
- background-position: -16px -224px
-}
-
-.ui-icon-grip-solid-vertical {
- background-position: -32px -224px
-}
-
-.ui-icon-grip-solid-horizontal {
- background-position: -48px -224px
-}
-
-.ui-icon-gripsmall-diagonal-se {
- background-position: -64px -224px
-}
-
-.ui-icon-grip-diagonal-se {
- background-position: -80px -224px
-}
-
-.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
- border-top-left-radius: 4px
-}
-
-.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
- border-top-right-radius: 4px
-}
-
-.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
- border-bottom-left-radius: 4px
-}
-
-.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
- border-bottom-right-radius: 4px
-}
-
-.ui-widget-overlay {
- background: #666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;
- opacity: .5;
- filter: Alpha(Opacity=50)
-}
-
-.ui-widget-shadow {
- margin: -5px 0 0 -5px;
- padding: 5px;
- background: #000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;
- opacity: .2;
- filter: Alpha(Opacity=20);
- border-radius: 5px
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/js/avalon.modern.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/js/avalon.modern.js
deleted file mode 100644
index f4f885a0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/js/avalon.modern.js
+++ /dev/null
@@ -1,4481 +0,0 @@
-/*==================================================
- Copyright (c) 2013-2014 司徒正美 and other contributors
- http://www.cnblogs.com/rubylouvre/
- https://github.com/RubyLouvre
- http://weibo.com/jslouvre/
-
- Released under the MIT license
- avalon.modern.js 1.39 build in 2015.1.15
- ______________________________
- support IE6+ and other browsers
- ==================================================*/
-(function (global, factory) {
-
- if (typeof module === "object" && typeof module.exports === "object") {
- // For CommonJS and CommonJS-like environments where a proper `window`
- // is present, execute the factory and get avalon.
- // For environments that do not have a `window` with a `document`
- // (such as Node.js), expose a factory as module.exports.
- // This accentuates the need for the creation of a real `window`.
- // e.g. var avalon = require("avalon")(window);
- module.exports = global.document ? factory(global, true) : function (w) {
- if (!w.document) {
- throw new Error("Avalon requires a window with a document")
- }
- return factory(w)
- }
- } else {
- factory(global)
- }
-
-// Pass this if window is not defined yet
-}(typeof window !== "undefined" ? window : this, function (window, noGlobal) {
-
- /*********************************************************************
- * 全局变量及方法 *
- **********************************************************************/
- var expose = Date.now()
-//http://stackoverflow.com/questions/7290086/javascript-use-strict-and-nicks-find-global-function
- var DOC = window.document
- var head = DOC.head //HEAD元素
- head.insertAdjacentHTML("afterBegin", '<avalon ms-skip><style id="avalonStyle">.avalonHide{ display: none!important }</style></avalon>')
- var ifGroup = head.firstChild
-
- function log() {
- if (avalon.config.debug) {
-// http://stackoverflow.com/questions/8785624/how-to-safely-wrap-console-log
- console.log.apply(console, arguments)
- }
- }
-
- var subscribers = "$" + expose
- var otherRequire = window.require
- var otherDefine = window.define
- var stopRepeatAssign = false
- var rword = /[^, ]+/g //切割字符串为一个个小块,以空格或豆号分开它们,结合replace实现字符串的forEach
- var rcomplexType = /^(?:object|array)$/
- var rsvg = /^\[object SVG\w*Element\]$/
- var rwindow = /^\[object (?:Window|DOMWindow|global)\]$/
- var oproto = Object.prototype
- var ohasOwn = oproto.hasOwnProperty
- var serialize = oproto.toString
- var ap = Array.prototype
- var aslice = ap.slice
- var Registry = {} //将函数曝光到此对象上,方便访问器收集依赖
- var W3C = window.dispatchEvent
- var root = DOC.documentElement
- var hyperspace = DOC.createDocumentFragment()
- var cinerator = DOC.createElement("div")
- var class2type = {}
- "Boolean Number String Function Array Date RegExp Object Error".replace(rword, function (name) {
- class2type["[object " + name + "]"] = name.toLowerCase()
- })
-
-
- function noop() {
- }
-
-
- function oneObject(array, val) {
- if (typeof array === "string") {
- array = array.match(rword) || []
- }
- var result = {},
- value = val !== void 0 ? val : 1
- for (var i = 0, n = array.length; i < n; i++) {
- result[array[i]] = value
- }
- return result
- }
-
- function createCache(maxLength) {
- var keys = []
-
- function cache(key, value) {
- if (keys.push(key) > maxLength) {
- delete cache[keys.shift()]
- }
- return cache[key] = value;
- }
-
- return cache;
- }
-
-//生成UUID http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
- var generateID = function (prefix) {
- prefix = prefix || "avalon"
- return (prefix + Math.random() + Math.random()).replace(/0\./g, "")
- }
-
- function IE() {
- if (window.VBArray) {
- var mode = document.documentMode
- return mode ? mode : window.XMLHttpRequest ? 7 : 6
- } else {
- return 0
- }
- }
-
- var IEVersion = IE()
- /*********************************************************************
- * avalon的静态方法定义区 *
- **********************************************************************/
- avalon = function (el) { //创建jQuery式的无new 实例化结构
- return new avalon.init(el)
- }
-
- avalon.init = function (el) {
- this[0] = this.element = el
- }
- avalon.fn = avalon.prototype = avalon.init.prototype
-
- avalon.type = function (obj) { //取得目标的类型
- if (obj == null) {
- return String(obj)
- }
- // 早期的webkit内核浏览器实现了已废弃的ecma262v4标准,可以将正则字面量当作函数使用,因此typeof在判定正则时会返回function
- return typeof obj === "object" || typeof obj === "function" ?
- class2type[serialize.call(obj)] || "object" :
- typeof obj
- }
-
- var isFunction = function (fn) {
- return serialize.call(fn) == "[object Function]"
- }
-
- avalon.isFunction = isFunction
-
- avalon.isWindow = function (obj) {
- return rwindow.test(serialize.call(obj))
- }
-
- /*判定是否是一个朴素的javascript对象(Object),不是DOM对象,不是BOM对象,不是自定义类的实例*/
-
- avalon.isPlainObject = function (obj) {
- // 简单的 typeof obj === "object"检测,会致使用isPlainObject(window)在opera下通不过
- return serialize.call(obj) === "[object Object]" && Object.getPrototypeOf(obj) === oproto
- }
-
-//与jQuery.extend方法,可用于浅拷贝,深拷贝
- avalon.mix = avalon.fn.mix = function () {
- var options, name, src, copy, copyIsArray, clone,
- target = arguments[0] || {},
- i = 1,
- length = arguments.length,
- deep = false
-
- // 如果第一个参数为布尔,判定是否深拷贝
- if (typeof target === "boolean") {
- deep = target
- target = arguments[1] || {}
- i++
- }
-
- //确保接受方为一个复杂的数据类型
- if (typeof target !== "object" && !isFunction(target)) {
- target = {}
- }
-
- //如果只有一个参数,那么新成员添加于mix所在的对象上
- if (i === length) {
- target = this
- i--
- }
-
- for (; i < length; i++) {
- //只处理非空参数
- if ((options = arguments[i]) != null) {
- for (name in options) {
- src = target[name]
- copy = options[name]
- // 防止环引用
- if (target === copy) {
- continue
- }
- if (deep && copy && (avalon.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) {
-
- if (copyIsArray) {
- copyIsArray = false
- clone = src && Array.isArray(src) ? src : []
-
- } else {
- clone = src && avalon.isPlainObject(src) ? src : {}
- }
-
- target[name] = avalon.mix(deep, clone, copy)
- } else if (copy !== void 0) {
- target[name] = copy
- }
- }
- }
- }
- return target
- }
-
- function _number(a, len) { //用于模拟slice, splice的效果
- a = Math.floor(a) || 0
- return a < 0 ? Math.max(len + a, 0) : Math.min(a, len);
- }
-
- avalon.mix({
- rword: rword,
- subscribers: subscribers,
- version: 1.39,
- ui: {},
- log: log,
- slice: function (nodes, start, end) {
- return aslice.call(nodes, start, end)
- },
- noop: noop,
- /*如果不用Error对象封装一下,str在控制台下可能会乱码*/
- error: function (str, e) {
- throw new (e || Error)(str)
- },
- /*将一个以空格或逗号隔开的字符串或数组,转换成一个键值都为1的对象*/
- oneObject: oneObject,
- /* avalon.range(10)
- => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
- avalon.range(1, 11)
- => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
- avalon.range(0, 30, 5)
- => [0, 5, 10, 15, 20, 25]
- avalon.range(0, -10, -1)
- => [0, -1, -2, -3, -4, -5, -6, -7, -8, -9]
- avalon.range(0)
- => []*/
- range: function (start, end, step) { // 用于生成整数数组
- step || (step = 1)
- if (end == null) {
- end = start || 0
- start = 0
- }
- var index = -1,
- length = Math.max(0, Math.ceil((end - start) / step)),
- result = Array(length)
- while (++index < length) {
- result[index] = start
- start += step
- }
- return result
- },
- eventHooks: {},
- /*绑定事件*/
- bind: function (el, type, fn, phase) {
- var hooks = avalon.eventHooks
- var hook = hooks[type]
- if (typeof hook === "object") {
- type = hook.type
- if (hook.deel) {
- fn = hook.deel(el, fn)
- }
- }
- el.addEventListener(type, fn, !!phase)
- return fn
- },
- /*卸载事件*/
- unbind: function (el, type, fn, phase) {
- var hooks = avalon.eventHooks
- var hook = hooks[type]
- var callback = fn || noop
- if (typeof hook === "object") {
- type = hook.type
- }
- el.removeEventListener(type, callback, !!phase)
- },
- /*读写删除元素节点的样式*/
- css: function (node, name, value) {
- if (node instanceof avalon) {
- node = node[0]
- }
- var prop = /[_-]/.test(name) ? camelize(name) : name
- name = avalon.cssName(prop) || prop
- if (value === void 0 || typeof value === "boolean") { //获取样式
- var fn = cssHooks[prop + ":get"] || cssHooks["@:get"]
- if (name === "background") {
- name = "backgroundColor"
- }
- var val = fn(node, name)
- return value === true ? parseFloat(val) || 0 : val
- } else if (value === "") { //请除样式
- node.style[name] = ""
- } else { //设置样式
- if (value == null || value !== value) {
- return
- }
- if (isFinite(value) && !avalon.cssNumber[prop]) {
- value += "px"
- }
- fn = cssHooks[prop + ":set"] || cssHooks["@:set"]
- fn(node, name, value)
- }
- },
- /*遍历数组与对象,回调的第一个参数为索引或键名,第二个或元素或键值*/
- each: function (obj, fn) {
- if (obj) { //排除null, undefined
- var i = 0
- if (isArrayLike(obj)) {
- for (var n = obj.length; i < n; i++) {
- fn(i, obj[i])
- }
- } else {
- for (i in obj) {
- if (obj.hasOwnProperty(i)) {
- fn(i, obj[i])
- }
- }
- }
- }
- },
- //收集元素的data-{{prefix}}-*属性,并转换为对象
- getWidgetData: function (elem, prefix) {
- var raw = avalon(elem).data()
- var result = {}
- for (var i in raw) {
- if (i.indexOf(prefix) === 0) {
- result[i.replace(prefix, "").replace(/\w/, function (a) {
- return a.toLowerCase()
- })] = raw[i]
- }
- }
- return result
- },
- Array: {
- /*只有当前数组不存在此元素时只添加它*/
- ensure: function (target, item) {
- if (target.indexOf(item) === -1) {
- return target.push(item)
- }
- },
- /*移除数组中指定位置的元素,返回布尔表示成功与否*/
- removeAt: function (target, index) {
- return !!target.splice(index, 1).length
- },
- /*移除数组中第一个匹配传参的那个元素,返回布尔表示成功与否*/
- remove: function (target, item) {
- var index = target.indexOf(item)
- if (~index)
- return avalon.Array.removeAt(target, index)
- return false
- }
- }
- })
-
- var bindingHandlers = avalon.bindingHandlers = {}
- var bindingExecutors = avalon.bindingExecutors = {}
-
- /*判定是否类数组,如节点集合,纯数组,arguments与拥有非负整数的length属性的纯JS对象*/
- function isArrayLike(obj) {
- if (obj && typeof obj === "object") {
- var n = obj.length,
- str = serialize.call(obj)
- if (/(Array|List|Collection|Map|Arguments)\]$/.test(str)) {
- return true
- } else if (str === "[object Object]" && n === (n >>> 0)) {
- return true //由于ecma262v5能修改对象属性的enumerable,因此不能用propertyIsEnumerable来判定了
- }
- }
- return false
- }
-
- /*视浏览器情况采用最快的异步回调(在avalon.ready里,还有一个分支,用于处理IE6-9)*/
- avalon.nextTick = window.setImmediate ? setImmediate.bind(window) : function (callback) {
- setTimeout(callback, 0) //IE10-11 or W3C
- }
-
- /*********************************************************************
- * DOM 底层补丁 *
- **********************************************************************/
- if (!root.contains) { //safari5+是把contains方法放在Element.prototype上而不是Node.prototype
- Node.prototype.contains = function (arg) {
- return !!(this.compareDocumentPosition(arg) & 16)
- }
- }
- avalon.contains = function (root, el) {
- try {
- while ((el = el.parentNode))
- if (el === root)
- return true;
- return false
- } catch (e) {
- return false
- }
- }
- if (window.SVGElement) {
- var svgns = "http://www.w3.org/2000/svg"
- var svg = DOC.createElementNS(svgns, "svg")
- svg.innerHTML = '<circle cx="50" cy="50" r="40" fill="red" />'
- if (!rsvg.test(svg.firstChild)) {// #409
-
- function enumerateNode(node, targetNode) {
- if (node && node.childNodes) {
- var nodes = node.childNodes
- for (var i = 0, el; el = nodes[i++];) {
- if (el.tagName) {
- var svg = DOC.createElementNS(svgns,
- el.tagName.toLowerCase())
- // copy attrs
- ap.forEach.call(el.attributes, function (attr) {
- svg.setAttribute(attr.name, attr.value)
- })
- // 递归处理子节点
- enumerateNode(el, svg)
- targetNode.appendChild(svg)
- }
- }
- }
- }
-
- Object.defineProperties(SVGElement.prototype, {
- "outerHTML": {//IE9-11,firefox不支持SVG元素的innerHTML,outerHTML属性
- enumerable: true,
- configurable: true,
- get: function () {
- return new XMLSerializer().serializeToString(this)
- },
- set: function (html) {
- var tagName = this.tagName.toLowerCase(),
- par = this.parentNode,
- frag = avalon.parseHTML(html)
- // 操作的svg,直接插入
- if (tagName === "svg") {
- par.insertBefore(frag, this)
- // svg节点的子节点类似
- } else {
- var newFrag = DOC.createDocumentFragment()
- enumerateNode(frag, newFrag)
- par.insertBefore(newFrag, this)
- }
- par.removeChild(this)
- }
- },
- "innerHTML": {
- enumerable: true,
- configurable: true,
- get: function () {
- var s = this.outerHTML
- var ropen = new RegExp("<" + this.nodeName + '\\b(?:(["\'])[^"]*?(\\1)|[^>])*>', "i")
- var rclose = new RegExp("<\/" + this.nodeName + ">$", "i")
- return s.replace(ropen, "").replace(rclose, "")
- },
- set: function (html) {
- if (avalon.clearHTML) {
- avalon.clearHTML(this)
- var frag = avalon.parseHTML(html)
- enumerateNode(frag, this)
- }
- }
- }
- })
- }
- }
-//========================= event binding ====================
- var eventHooks = avalon.eventHooks
-//针对firefox, chrome修正mouseenter, mouseleave(chrome30+)
- if (!("onmouseenter" in root)) {
- avalon.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout"
- }, function (origType, fixType) {
- eventHooks[origType] = {
- type: fixType,
- deel: function (elem, fn) {
- return function (e) {
- var t = e.relatedTarget
- if (!t || (t !== elem && !(elem.compareDocumentPosition(t) & 16))) {
- delete e.type
- e.type = origType
- return fn.call(elem, e)
- }
- }
- }
- }
- })
- }
-//针对IE9+, w3c修正animationend
- avalon.each({
- AnimationEvent: "animationend",
- WebKitAnimationEvent: "webkitAnimationEnd"
- }, function (construct, fixType) {
- if (window[construct] && !eventHooks.animationend) {
- eventHooks.animationend = {
- type: fixType
- }
- }
- })
-
- if (DOC.onmousewheel === void 0) {
- /* IE6-11 chrome mousewheel wheelDetla 下 -120 上 120
- firefox DOMMouseScroll detail 下3 上-3
- firefox wheel detlaY 下3 上-3
- IE9-11 wheel deltaY 下40 上-40
- chrome wheel deltaY 下100 上-100 */
- eventHooks.mousewheel = {
- type: "wheel",
- deel: function (elem, fn) {
- return function (e) {
- e.wheelDeltaY = e.wheelDelta = e.deltaY > 0 ? -120 : 120
- e.wheelDeltaX = 0
- Object.defineProperty(e, "type", {
- value: "mousewheel"
- })
- fn.call(elem, e)
- }
- }
- }
- }
-
- /*********************************************************************
- * 配置系统 *
- **********************************************************************/
-
- function kernel(settings) {
- for (var p in settings) {
- if (!ohasOwn.call(settings, p))
- continue
- var val = settings[p]
- if (typeof kernel.plugins[p] === "function") {
- kernel.plugins[p](val)
- } else if (typeof kernel[p] === "object") {
- avalon.mix(kernel[p], val)
- } else {
- kernel[p] = val
- }
- }
- return this
- }
-
- var openTag, closeTag, rexpr, rexprg, rbind, rregexp = /[-.*+?^${}()|[\]\/\\]/g
-
- function escapeRegExp(target) {
- //http://stevenlevithan.com/regex/xregexp/
- //将字符串安全格式化为正则表达式的源码
- return (target + "").replace(rregexp, "\\$&")
- }
-
- var innerRequire = noop
- var plugins = {
- loader: function (builtin) {
- window.define = builtin ? innerRequire.define : otherDefine
- window.require = builtin ? innerRequire : otherRequire
- },
- interpolate: function (array) {
- openTag = array[0]
- closeTag = array[1]
- if (openTag === closeTag) {
- throw new SyntaxError("openTag!==closeTag")
- } else if (array + "" === "<!--,-->") {
- kernel.commentInterpolate = true
- } else {
- var test = openTag + "test" + closeTag
- cinerator.innerHTML = test
- if (cinerator.innerHTML !== test && cinerator.innerHTML.indexOf("&lt;") > -1) {
- throw new SyntaxError("此定界符不合法")
- }
- cinerator.innerHTML = ""
- }
- var o = escapeRegExp(openTag),
- c = escapeRegExp(closeTag)
- rexpr = new RegExp(o + "(.*?)" + c)
- rexprg = new RegExp(o + "(.*?)" + c, "g")
- rbind = new RegExp(o + ".*?" + c + "|\\sms-")
- }
- }
-
- kernel.debug = true
- kernel.plugins = plugins
- kernel.plugins['interpolate'](["{{", "}}"])
- kernel.paths = {}
- kernel.shim = {}
- kernel.maxRepeatSize = 100
- avalon.config = kernel
- /*********************************************************************
- * 事件总线 *
- **********************************************************************/
- var EventBus = {
- $watch: function (type, callback) {
- if (typeof callback === "function") {
- var callbacks = this.$events[type]
- if (callbacks) {
- callbacks.push(callback)
- } else {
- this.$events[type] = [callback]
- }
- } else { //重新开始监听此VM的第一重简单属性的变动
- this.$events = this.$watch.backup
- }
- return this
- },
- $unwatch: function (type, callback) {
- var n = arguments.length
- if (n === 0) { //让此VM的所有$watch回调无效化
- this.$watch.backup = this.$events
- this.$events = {}
- } else if (n === 1) {
- this.$events[type] = []
- } else {
- var callbacks = this.$events[type] || []
- var i = callbacks.length
- while (~--i < 0) {
- if (callbacks[i] === callback) {
- return callbacks.splice(i, 1)
- }
- }
- }
- return this
- },
- $fire: function (type) {
- var special
- if (/^(\w+)!(\S+)$/.test(type)) {
- special = RegExp.$1
- type = RegExp.$2
- }
- var events = this.$events
- var args = aslice.call(arguments, 1)
- var detail = [type].concat(args)
- if (special === "all") {
- for (var i in avalon.vmodels) {
- var v = avalon.vmodels[i]
- if (v !== this) {
- v.$fire.apply(v, detail)
- }
- }
- } else if (special === "up" || special === "down") {
- var elements = events.expr ? findNodes(events.expr) : []
- if (elements.length === 0)
- return
- for (var i in avalon.vmodels) {
- var v = avalon.vmodels[i]
- if (v !== this) {
- if (v.$events.expr) {
- var eventNodes = findNodes(v.$events.expr)
- if (eventNodes.length === 0) {
- continue
- }
- //循环两个vmodel中的节点,查找匹配(向上匹配或者向下匹配)的节点并设置标识
- Array.prototype.forEach.call(eventNodes, function (node) {
- Array.prototype.forEach.call(elements, function (element) {
- var ok = special === "down" ? element.contains(node) : //向下捕获
- node.contains(element) //向上冒泡
-
- if (ok) {
- node._avalon = v //符合条件的加一个标识
- }
- });
- })
- }
- }
- }
- var nodes = DOC.getElementsByTagName("*") //实现节点排序
- var alls = []
- Array.prototype.forEach.call(nodes, function (el) {
- if (el._avalon) {
- alls.push(el._avalon)
- el._avalon = ""
- el.removeAttribute("_avalon")
- }
- })
- if (special === "up") {
- alls.reverse()
- }
- for (var i = 0, el; el = alls[i++];) {
- if (el.$fire.apply(el, detail) === false) {
- break
- }
- }
- } else {
- var callbacks = events[type] || []
- var all = events.$all || []
- for (var i = 0, callback; callback = callbacks[i++];) {
- if (isFunction(callback))
- callback.apply(this, args)
- }
- for (var i = 0, callback; callback = all[i++];) {
- if (isFunction(callback))
- callback.apply(this, arguments)
- }
- }
- }
- }
-
- var ravalon = /(\w+)\[(avalonctrl)="(\S+)"\]/
- var findNodes = function (str) {
- //pc safari v5.1: typeof DOC.querySelectorAll(str) === 'function'
- //https://gist.github.com/DavidBruant/1016007
- return DOC.querySelectorAll(str)
- }
- /*********************************************************************
- * modelFactory *
- **********************************************************************/
-//avalon最核心的方法的两个方法之一(另一个是avalon.scan),返回一个ViewModel(VM)
- var VMODELS = avalon.vmodels = {} //所有vmodel都储存在这里
- avalon.define = function (id, factory) {
- var $id = id.$id || id
- if (!$id) {
- log("warning: vm必须指定$id")
- }
- if (VMODELS[$id]) {
- log("warning: " + $id + " 已经存在于avalon.vmodels中")
- }
- if (typeof id === "object") {
- var model = modelFactory(id)
- } else {
- var scope = {
- $watch: noop
- }
- factory(scope) //得到所有定义
- model = modelFactory(scope) //偷天换日,将scope换为model
- stopRepeatAssign = true
- factory(model)
- stopRepeatAssign = false
- }
- model.$id = $id
- return VMODELS[$id] = model
- }
-
-//一些不需要被监听的属性
- var $$skipArray = String("$id,$watch,$unwatch,$fire,$events,$model,$skipArray").match(rword)
-
- function isObservable(name, value, $skipArray) {
- if (isFunction(value) || value && value.nodeType) {
- return false
- }
- if ($skipArray.indexOf(name) !== -1) {
- return false
- }
- if ($$skipArray.indexOf(name) !== -1) {
- return false
- }
- var $special = $skipArray.$special
- if (name && name.charAt(0) === "$" && !$special[name]) {
- return false
- }
- return true
- }
-
-//ms-with,ms-each, ms-repeat绑定生成的代理对象储存池
- var midway = {}
-
- function getNewValue(accessor, name, value, $vmodel) {
- switch (accessor.type) {
- case 0://计算属性
- var getter = accessor.get
- var setter = accessor.set
- if (isFunction(setter)) {
- var $events = $vmodel.$events
- var lock = $events[name]
- $events[name] = [] //清空回调,防止内部冒泡而触发多次$fire
- setter.call($vmodel, value)
- $events[name] = lock
- }
- return getter.call($vmodel) //同步$model
- case 1://监控属性
- return value
- case 2://对象属性(包括数组与哈希)
- if (value !== $vmodel.$model[name]) {
- var svmodel = accessor.svmodel = objectFactory($vmodel, name, value, accessor.valueType)
- value = svmodel.$model //同步$model
- var fn = midway[svmodel.$id]
- fn && fn() //同步视图
- }
- return value
- }
- }
-
- var defineProperty = Object.defineProperty
- var canHideOwn = true
-//如果浏览器不支持ecma262v5的Object.defineProperties或者存在BUG,比如IE8
-//标准浏览器使用__defineGetter__, __defineSetter__实现
- try {
- defineProperty({}, "_", {
- value: "x"
- })
- var defineProperties = Object.defineProperties
- } catch (e) {
- canHideOwn = false
- }
- function modelFactory(source, $special, $model) {
- if (Array.isArray(source)) {
- var arr = source.concat()
- source.length = 0
- var collection = Collection(source)
- collection.pushArray(arr)
- return collection
- }
- if (typeof source.nodeType === "number") {
- return source
- }
- if (source.$id && source.$events) { //fix IE6-8 createWithProxy $val: val引发的BUG
- return source
- }
- if (!Array.isArray(source.$skipArray)) {
- source.$skipArray = []
- }
- source.$skipArray.$special = $special || {} //强制要监听的属性
- var $vmodel = {} //要返回的对象, 它在IE6-8下可能被偷龙转凤
- $model = $model || {} //vmodels.$model属性
- var $events = {} //vmodel.$events属性
- var watchedProperties = {} //监控属性
- var initCallbacks = [] //初始化才执行的函数
- for (var i in source) {
- (function (name, val) {
- $model[name] = val
- if (!isObservable(name, val, source.$skipArray)) {
- return //过滤所有非监控属性
- }
- //总共产生三种accessor
- $events[name] = []
- var valueType = avalon.type(val)
- var accessor = function (newValue) {
- var name = accessor._name
- var $vmodel = this
- var $model = $vmodel.$model
- var oldValue = $model[name]
- var $events = $vmodel.$events
-
- if (arguments.length) {
- if (stopRepeatAssign) {
- return
- }
- //计算属性与对象属性需要重新计算newValue
- if (accessor.type !== 1) {
- newValue = getNewValue(accessor, name, newValue, $vmodel)
- }
- if (!isEqual(oldValue, newValue)) {
- $model[name] = newValue
- if ($events.$digest) {
- if (accessor.pedding)
- return
- accessor.pedding = true
- setTimeout(function () {
- notifySubscribers($events[name]) //同步视图
- safeFire($vmodel, name, $model[name], oldValue) //触发$watch回调
- accessor.pedding = false
- })
- } else {
- notifySubscribers($events[name]) //同步视图
- safeFire($vmodel, name, newValue, oldValue) //触发$watch回调
- }
- }
- } else {
- if (accessor.type === 0) { //type 0 计算属性 1 监控属性 2 对象属性
- //计算属性不需要收集视图刷新函数,都是由其他监控属性代劳
- return $model[name] = accessor.get.call($vmodel)
- } else {
- collectSubscribers($events[name]) //收集视图函数
- return accessor.svmodel || oldValue
- }
- }
- }
- //总共产生三种accessor
- if (valueType === "object" && isFunction(val.get) && Object.keys(val).length <= 2) {
- //第1种为计算属性, 因变量,通过其他监控属性触发其改变
- accessor.set = val.set
- accessor.get = val.get
- accessor.type = 0
- initCallbacks.push(function () {
- var data = {
- evaluator: function () {
- data.element = null
- data.type = new Date - 0
- $model[name] = accessor.get.call($vmodel)
- },
- element: head,
- type: new Date - 0,
- handler: noop,
- args: []
- }
- Registry[expose] = data
- accessor.call($vmodel)
- delete Registry[expose]
- })
- } else if (rcomplexType.test(valueType)) {
- //第2种为对象属性,产生子VM与监控数组
- accessor.type = 2
- accessor.valueType = val.valueType
- initCallbacks.push(function () {
- var svmodel = modelFactory(val, 0, $model[name])
- accessor.svmodel = svmodel
- svmodel.$events[subscribers] = $events[name]
- })
- } else {
- accessor.type = 1
- //第3种为监控属性,对应简单的数据类型,自变量
- }
- accessor._name = name
- watchedProperties[name] = accessor
- })(i, source[i])
- }
-
- $$skipArray.forEach(function (name) {
- delete source[name]
- delete $model[name] //这些特殊属性不应该在$model中出现
- })
-
- $vmodel = defineProperties($vmodel, descriptorFactory(watchedProperties), source) //生成一个空的ViewModel
- for (var name in source) {
- if (!watchedProperties[name]) {
- $vmodel[name] = source[name]
- }
- }
- //添加$id, $model, $events, $watch, $unwatch, $fire
- $vmodel.$id = generateID()
- $vmodel.$model = $model
- $vmodel.$events = $events
- for (var i in EventBus) {
- var fn = EventBus[i]
- if (!W3C) { //在IE6-8下,VB对象的方法里的this并不指向自身,需要用bind处理一下
- fn = fn.bind($vmodel)
- }
- $vmodel[i] = fn
- }
-
- if (canHideOwn) {
- Object.defineProperty($vmodel, "hasOwnProperty", {
- value: function (name) {
- return name in this.$model
- },
- writable: false,
- enumerable: false,
- configurable: true
- })
-
- } else {
- $vmodel.hasOwnProperty = function (name) {
- return name in $vmodel.$model
- }
- }
- initCallbacks.forEach(function (cb) { //收集依赖
- cb()
- })
- return $vmodel
- }
-
-//比较两个值是否相等
- var isEqual = Object.is || function (v1, v2) {
- if (v1 === 0 && v2 === 0) {
- return 1 / v1 === 1 / v2
- } else if (v1 !== v1) {
- return v2 !== v2
- } else {
- return v1 === v2
- }
- }
-
- function safeFire(a, b, c, d) {
- if (a.$events) {
- EventBus.$fire.call(a, b, c, d)
- }
- }
-
- var descriptorFactory = W3C ? function (obj) {
- var descriptors = {}
- for (var i in obj) {
- descriptors[i] = {
- get: obj[i],
- set: obj[i],
- enumerable: true,
- configurable: true
- }
- }
- return descriptors
- } : function (a) {
- return a
- }
-
-
-//应用于第2种accessor
- function objectFactory(parent, name, value, valueType) {
- //a为原来的VM, b为新数组或新对象
- var son = parent[name]
- if (valueType === "array") {
- if (!Array.isArray(value) || son === value) {
- return son //fix https://github.com/RubyLouvre/avalon/issues/261
- }
- son.clear()
- son.pushArray(value.concat())
- return son
- } else {
- var iterators = parent.$events[name]
- var pool = son.$events.$withProxyPool
- if (pool) {
- recycleProxies(pool, "with")
- son.$events.$withProxyPool = null
- }
- var ret = modelFactory(value)
- ret.$events[subscribers] = iterators
- midway[ret.$id] = function (data) {
- while (data = iterators.shift()) {
- (function (el) {
- avalon.nextTick(function () {
- if (el.type) { //重新绑定
- el.rollback && el.rollback() //还原 ms-with ms-on
- bindingHandlers[el.type](el, el.vmodels)
- }
- })
- })(data)
- }
- delete midway[ret.$id]
- }
- return ret
- }
- }
-
- /*********************************************************************
- * 监控数组(与ms-each, ms-repeat配合使用) *
- **********************************************************************/
-
- function Collection(model) {
- var array = []
- array.$id = generateID()
- array.$model = model //数据模型
- array.$events = {}
- array.$events[subscribers] = []
- array._ = modelFactory({
- length: model.length
- })
- array._.$watch("length", function (a, b) {
- array.$fire("length", a, b)
- })
- for (var i in EventBus) {
- array[i] = EventBus[i]
- }
- avalon.mix(array, CollectionPrototype)
- return array
- }
-
- function mutateArray(method, pos, n, index, method2, pos2, n2) {
- var oldLen = this.length, loop = 2
- while (--loop) {
- switch (method) {
- case "add":
- var array = this.$model.slice(pos, pos + n).map(function (el) {
- if (rcomplexType.test(avalon.type(el))) {
- return el.$id ? el : modelFactory(el, 0, el)
- } else {
- return el
- }
- })
- _splice.apply(this, [pos, 0].concat(array))
- this._fire("add", pos, n)
- break
- case "del":
- var ret = this._splice(pos, n)
- this._fire("del", pos, n)
- break
- }
- if (method2) {
- method = method2
- pos = pos2
- n = n2
- loop = 2
- method2 = 0
- }
- }
- this._fire("index", index)
- if (this.length !== oldLen) {
- this._.length = this.length
- }
- return ret
- }
-
- var _splice = ap.splice
- var CollectionPrototype = {
- _splice: _splice,
- _fire: function (method, a, b) {
- var list = this.$events[subscribers]
- for (var i = 0, fn; fn = list[i++];) {
- if (fn.$repeat) {
- fn.handler.call(fn, method, a, b) //处理监控数组的方法
- }
- }
- },
- size: function () { //取得数组长度,这个函数可以同步视图,length不能
- return this._.length
- },
- pushArray: function (array) {
- var m = array.length, n = this.length
- if (m) {
- ap.push.apply(this.$model, array)
- mutateArray.call(this, "add", n, m, n)
- }
- return m + n
- },
- push: function () {
- //http://jsperf.com/closure-with-arguments
- var array = []
- var i, n = arguments.length
- for (i = 0; i < n; i++) {
- array[i] = arguments[i]
- }
- return this.pushArray(arguments)
- },
- unshift: function () {
- var m = arguments.length, n = this.length
- if (m) {
- ap.unshift.apply(this.$model, arguments)
- mutateArray.call(this, "add", 0, m, 0)
- }
- return m + n //IE67的unshift不会返回长度
- },
- shift: function () {
- if (this.length) {
- var el = this.$model.shift()
- mutateArray.call(this, "del", 0, 1, 0)
- return el //返回被移除的元素
- }
- },
- pop: function () {
- var m = this.length
- if (m) {
- var el = this.$model.pop()
- mutateArray.call(this, "del", m - 1, 1, Math.max(0, m - 2))
- return el //返回被移除的元素
- }
- },
- splice: function (start) {
- var m = arguments.length, args = [], change
- var removed = _splice.apply(this.$model, arguments)
- if (removed.length) { //如果用户删掉了元素
- args.push("del", start, removed.length, 0)
- change = true
- }
- if (m > 2) { //如果用户添加了元素
- args.splice(3, 1, 0, "add", start, m - 2)
- change = true
- }
- if (change) { //返回被移除的元素
- return mutateArray.apply(this, args)
- } else {
- return []
- }
- },
- contains: function (el) { //判定是否包含
- return this.indexOf(el) !== -1
- },
- remove: function (el) { //移除第一个等于给定值的元素
- return this.removeAt(this.indexOf(el))
- },
- removeAt: function (index) { //移除指定索引上的元素
- if (index >= 0) {
- this.$model.splice(index, 1)
- return mutateArray.call(this, "del", index, 1, 0)
- }
- return []
- },
- clear: function () {
- this.$model.length = this.length = this._.length = 0 //清空数组
- this._fire("clear", 0)
- return this
- },
- removeAll: function (all) { //移除N个元素
- if (Array.isArray(all)) {
- all.forEach(function (el) {
- this.remove(el)
- }, this)
- } else if (typeof all === "function") {
- for (var i = this.length - 1; i >= 0; i--) {
- var el = this[i]
- if (all(el, i)) {
- this.removeAt(i)
- }
- }
- } else {
- this.clear()
- }
- },
- ensure: function (el) {
- if (!this.contains(el)) { //只有不存在才push
- this.push(el)
- }
- return this
- },
- set: function (index, val) {
- if (index >= 0) {
- var valueType = avalon.type(val)
- if (val && val.$model) {
- val = val.$model
- }
- var target = this[index]
- if (valueType === "object") {
- for (var i in val) {
- if (target.hasOwnProperty(i)) {
- target[i] = val[i]
- }
- }
- } else if (valueType === "array") {
- target.clear().push.apply(target, val)
- } else if (target !== val) {
- this[index] = val
- this.$model[index] = val
- this._fire("set", index, val)
- }
- }
- return this
- }
- }
-
- function sortByIndex(array, indexes) {
- var map = {};
- for (var i = 0, n = indexes.length; i < n; i++) {
- map[i] = array[i] // preserve
- var j = indexes[i]
- if (j in map) {
- array[i] = map[j]
- delete map[j]
- } else {
- array[i] = array[j]
- }
- }
- }
-
- "sort,reverse".replace(rword, function (method) {
- CollectionPrototype[method] = function () {
- var newArray = this.$model//这是要排序的新数组
- var oldArray = newArray.concat() //保持原来状态的旧数组
- var mask = Math.random()
- var indexes = []
- var hasSort
- ap[method].apply(newArray, arguments) //排序
- for (var i = 0, n = oldArray.length; i < n; i++) {
- var neo = newArray[i]
- var old = oldArray[i]
- if (isEqual(neo, old)) {
- indexes.push(i)
- } else {
- var index = oldArray.indexOf(neo)
- indexes.push(index)//得到新数组的每个元素在旧数组对应的位置
- oldArray[index] = mask //屏蔽已经找过的元素
- hasSort = true
- }
- }
- if (hasSort) {
- sortByIndex(this, indexes)
- this._fire("move", indexes)
- this._fire("index", 0)
- }
- return this
- }
- })
-
- /*********************************************************************
- * 依赖调度系统 *
- **********************************************************************/
- var ronduplex = /^(duplex|on)$/
-
- function registerSubscriber(data) {
- Registry[expose] = data //暴光此函数,方便collectSubscribers收集
- avalon.openComputedCollect = true
- var fn = data.evaluator
- if (fn) { //如果是求值函数
- try {
- var c = ronduplex.test(data.type) ? data : fn.apply(0, data.args)
- data.handler(c, data.element, data)
- } catch (e) {
- //log("warning:exception throwed in [registerSubscriber] " + e)
- delete data.evaluator
- var node = data.element
- if (node.nodeType === 3) {
- var parent = node.parentNode
- if (kernel.commentInterpolate) {
- parent.replaceChild(DOC.createComment(data.value), node)
- } else {
- node.data = openTag + data.value + closeTag
- }
- }
- }
- }
- avalon.openComputedCollect = false
- delete Registry[expose]
- }
-
- function collectSubscribers(list) { //收集依赖于这个访问器的订阅者
- var data = Registry[expose]
- if (list && data && avalon.Array.ensure(list, data) && data.element) { //只有数组不存在此元素才push进去
- addSubscribers(data, list)
- }
- }
-
-
- function addSubscribers(data, list) {
- data.$uuid = data.$uuid || generateID()
- list.$uuid = list.$uuid || generateID()
- var obj = {
- data: data,
- list: list,
- $$uuid: data.$uuid + list.$uuid
- }
- if (!$$subscribers[obj.$$uuid]) {
- $$subscribers[obj.$$uuid] = 1
- $$subscribers.push(obj)
- }
- }
-
- function disposeData(data) {
- data.element = null
- data.rollback && data.rollback()
- for (var key in data) {
- data[key] = null
- }
- }
-
- function isRemove(el) {
- try {//IE下,如果文本节点脱离DOM树,访问parentNode会报错
- if (!el.parentNode) {
- return true
- }
- } catch (e) {
- return true
- }
- return el.msRetain ? 0 : (el.nodeType === 1 ? typeof el.sourceIndex === "number" ?
- el.sourceIndex === 0 : !root.contains(el) : !avalon.contains(root, el))
- }
-
- var $$subscribers = avalon.$$subscribers = []
- var beginTime = new Date()
- var oldInfo = {}
-
- function removeSubscribers() {
- var i = $$subscribers.length
- var n = i
- var k = 0
- var obj
- var types = []
- var newInfo = {}
- var needTest = {}
- while (obj = $$subscribers[--i]) {
- var data = obj.data
- var type = data.type
- if (newInfo[type]) {
- newInfo[type]++
- } else {
- newInfo[type] = 1
- types.push(type)
- }
- }
- var diff = false
- types.forEach(function (type) {
- if (oldInfo[type] !== newInfo[type]) {
- needTest[type] = 1
- diff = true
- }
- })
- i = n
- //avalon.log("需要检测的个数 " + i)
- if (diff) {
- //avalon.log("有需要移除的元素")
- while (obj = $$subscribers[--i]) {
- var data = obj.data
- if (data.element === void 0)
- continue
- if (needTest[data.type] && isRemove(data.element)) { //如果它没有在DOM树
- k++
- $$subscribers.splice(i, 1)
- delete $$subscribers[obj.$$uuid]
- avalon.Array.remove(obj.list, data)
- //log("debug: remove " + data.type)
- disposeData(data)
- obj.data = obj.list = null
- }
- }
- }
- oldInfo = newInfo
- // avalon.log("已经移除的个数 " + k)
- beginTime = new Date()
- }
-
- function notifySubscribers(list) { //通知依赖于这个访问器的订阅者更新自身
- if (list && list.length) {
- if (new Date() - beginTime > 444 && typeof list[0] === "object") {
- removeSubscribers()
- }
- var args = aslice.call(arguments, 1)
- for (var i = list.length, fn; fn = list[--i];) {
- var el = fn.element
- if (el && el.parentNode) {
- if (fn.$repeat) {
- fn.handler.apply(fn, args) //处理监控数组的方法
- } else if (fn.type !== "on") { //事件绑定只能由用户触发,不能由程序触发
- var fun = fn.evaluator || noop
- fn.handler(fun.apply(0, fn.args || []), el, fn)
- }
- }
- }
- }
- }
-
- /************************************************************************
- * HTML处理(parseHTML, innerHTML, clearHTML) *
- **************************************************************************/
-//parseHTML的辅助变量
- var tagHooks = new function () {
- avalon.mix(this, {
- option: DOC.createElement("select"),
- thead: DOC.createElement("table"),
- td: DOC.createElement("tr"),
- area: DOC.createElement("map"),
- tr: DOC.createElement("tbody"),
- col: DOC.createElement("colgroup"),
- legend: DOC.createElement("fieldset"),
- _default: DOC.createElement("div"),
- "g": DOC.createElementNS("http://www.w3.org/2000/svg", "svg")
- })
- this.optgroup = this.option
- this.tbody = this.tfoot = this.colgroup = this.caption = this.thead
- this.th = this.td
- }
-
- tagHooks.optgroup = tagHooks.option
- tagHooks.tbody = tagHooks.tfoot = tagHooks.colgroup = tagHooks.caption = tagHooks.thead
- tagHooks.th = tagHooks.td
-
- String("circle,defs,ellipse,image,line,path,polygon,polyline,rect,symbol,text,use").replace(rword, function (tag) {
- tagHooks[tag] = tagHooks.g //处理SVG
- })
- var rtagName = /<([\w:]+)/
- var rxhtml = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig
- var scriptTypes = oneObject(["", "text/javascript", "text/ecmascript", "application/ecmascript", "application/javascript"])
- var script = DOC.createElement("script")
-
- avalon.parseHTML = function (html) {
- if (typeof html !== "string") {
- html = html + ""
- }
- html = html.replace(rxhtml, "<$1></$2>").trim()
- var tag = (rtagName.exec(html) || ["", ""])[1].toLowerCase(),
- //取得其标签名
- wrapper = tagHooks[tag] || tagHooks._default,
- fragment = hyperspace.cloneNode(false),
- firstChild
- wrapper.innerHTML = html
- var els = wrapper.getElementsByTagName("script")
- if (els.length) { //使用innerHTML生成的script节点不会发出请求与执行text属性
- for (var i = 0, el; el = els[i++];) {
- if (scriptTypes[el.type]) {
- var neo = script.cloneNode(false) //FF不能省略参数
- ap.forEach.call(el.attributes, function (attr) {
- neo.setAttribute(attr.name, attr.value)
- })
- neo.text = el.text
- el.parentNode.replaceChild(neo, el)
- }
- }
- }
-
- while (firstChild = wrapper.firstChild) { // 将wrapper上的节点转移到文档碎片上!
- fragment.appendChild(firstChild)
- }
- return fragment
- }
-
- avalon.innerHTML = function (node, html) {
- var a = this.parseHTML(html)
- this.clearHTML(node).appendChild(a)
- }
-
- avalon.clearHTML = function (node) {
- node.textContent = ""
- while (node.firstChild) {
- node.removeChild(node.firstChild)
- }
- return node
- }
- /*********************************************************************
- * 扫描系统 *
- **********************************************************************/
-
- avalon.scan = function (elem, vmodel, group) {
- elem = elem || root
- var vmodels = vmodel ? [].concat(vmodel) : []
- scanTag(elem, vmodels)
- }
-
-//http://www.w3.org/TR/html5/syntax.html#void-elements
- var stopScan = oneObject("area,base,basefont,br,col,command,embed,hr,img,input,link,meta,param,source,track,wbr,noscript,script,style,textarea".toUpperCase())
-
- function checkScan(elem, callback, innerHTML) {
- var id = setTimeout(function () {
- var currHTML = elem.innerHTML
- clearTimeout(id)
- if (currHTML === innerHTML) {
- callback()
- } else {
- checkScan(elem, callback, currHTML)
- }
- })
- }
-
-
- function createSignalTower(elem, vmodel) {
- var id = elem.getAttribute("avalonctrl") || vmodel.$id
- elem.setAttribute("avalonctrl", id)
- vmodel.$events.expr = elem.tagName + '[avalonctrl="' + id + '"]'
- }
-
- var getBindingCallback = function (elem, name, vmodels) {
- var callback = elem.getAttribute(name)
- if (callback) {
- for (var i = 0, vm; vm = vmodels[i++];) {
- if (vm.hasOwnProperty(callback) && typeof vm[callback] === "function") {
- return vm[callback]
- }
- }
- }
- }
-
- function executeBindings(bindings, vmodels) {
- for (var i = 0, data; data = bindings[i++];) {
- data.vmodels = vmodels
- bindingHandlers[data.type](data, vmodels)
- if (data.evaluator && data.element && data.element.nodeType === 1) { //移除数据绑定,防止被二次解析
- //chrome使用removeAttributeNode移除不存在的特性节点时会报错 https://github.com/RubyLouvre/avalon/issues/99
- data.element.removeAttribute(data.name)
- }
- }
- bindings.length = 0
- }
-
-//https://github.com/RubyLouvre/avalon/issues/636
- var mergeTextNodes = IEVersion && window.MutationObserver ? function (elem) {
- var node = elem.firstChild, text
- while (node) {
- var aaa = node.nextSibling
- if (node.nodeType === 3) {
- if (text) {
- text.nodeValue += node.nodeValue
- elem.removeChild(node)
- } else {
- text = node
- }
- } else {
- text = null
- }
- node = aaa
- }
- } : 0
-
- var rmsAttr = /ms-(\w+)-?(.*)/
- var priorityMap = {
- "if": 10,
- "repeat": 90,
- "data": 100,
- "widget": 110,
- "each": 1400,
- "with": 1500,
- "duplex": 2000,
- "on": 3000
- }
-
- var events = oneObject("animationend,blur,change,input,click,dblclick,focus,keydown,keypress,keyup,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,scan,scroll,submit")
- var obsoleteAttrs = oneObject("value,title,alt,checked,selected,disabled,readonly,enabled")
-
- function bindingSorter(a, b) {
- return a.priority - b.priority
- }
-
- function scanTag(elem, vmodels, node) {
- //扫描顺序 ms-skip(0) --> ms-important(1) --> ms-controller(2) --> ms-if(10) --> ms-repeat(100)
- //--> ms-if-loop(110) --> ms-attr(970) ...--> ms-each(1400)-->ms-with(1500)--〉ms-duplex(2000)垫后
- var a = elem.getAttribute("ms-skip")
- var b = elem.getAttributeNode("ms-important")
- var c = elem.getAttributeNode("ms-controller")
- if (typeof a === "string") {
- return
- } else if (node = b || c) {
- var newVmodel = avalon.vmodels[node.value]
- if (!newVmodel) {
- return
- }
- //ms-important不包含父VM,ms-controller相反
- vmodels = node === b ? [newVmodel] : [newVmodel].concat(vmodels)
- elem.removeAttribute(node.name) //removeAttributeNode不会刷新[ms-controller]样式规则
- elem.classList.remove(node.name)
- createSignalTower(elem, newVmodel)
- }
- scanAttr(elem, vmodels) //扫描特性节点
- }
-
- function scanNodeList(parent, vmodels) {
- var node = parent.firstChild
- while (node) {
- var nextNode = node.nextSibling
- scanNode(node, node.nodeType, vmodels)
- node = nextNode
- }
- }
-
- function scanNodeArray(nodes, vmodels) {
- for (var i = 0, node; node = nodes[i++];) {
- scanNode(node, node.nodeType, vmodels)
- }
- }
-
- function scanNode(node, nodeType, vmodels) {
- if (nodeType === 1) {
- scanTag(node, vmodels) //扫描元素节点
- } else if (nodeType === 3 && rexpr.test(node.data)) {
- scanText(node, vmodels) //扫描文本节点
- } else if (kernel.commentInterpolate && nodeType === 8 && !rexpr.test(node.nodeValue)) {
- scanText(node, vmodels) //扫描注释节点
- }
- }
-
- function scanAttr(elem, vmodels) {
- //防止setAttribute, removeAttribute时 attributes自动被同步,导致for循环出错
- var attributes = elem.hasAttributes() ? avalon.slice(elem.attributes) : []
- var bindings = [],
- msData = {},
- match
- for (var i = 0, attr; attr = attributes[i++];) {
- if (attr.specified) {
- if (match = attr.name.match(rmsAttr)) {
- //如果是以指定前缀命名的
- var type = match[1]
- var param = match[2] || ""
- var value = attr.value
- var name = attr.name
- msData[name] = value
- if (events[type]) {
- param = type
- type = "on"
- } else if (obsoleteAttrs[type]) {
- log("ms-" + type + "已经被废弃,请使用ms-attr-*代替")
- if (type === "enabled") {//吃掉ms-enabled绑定,用ms-disabled代替
- type = "disabled"
- value = "!(" + value + ")"
- }
- param = type
- type = "attr"
- elem.removeAttribute(name)
- name = "ms-attr-" + param
- elem.setAttribute(name, value)
- match = [name]
- msData[name] = value
- }
- if (typeof bindingHandlers[type] === "function") {
- var binding = {
- type: type,
- param: param,
- element: elem,
- name: match[0],
- value: value,
- priority: type in priorityMap ? priorityMap[type] : type.charCodeAt(0) * 10 + (Number(param) || 0)
- }
- if (type === "html" || type === "text") {
- var token = getToken(value)
- avalon.mix(binding, token)
- binding.filters = binding.filters.replace(rhasHtml, function () {
- binding.type = "html"
- binding.group = 1
- return ""
- })
- }
- if (name === "ms-if-loop") {
- binding.priority += 100
- }
- if (vmodels.length) {
- bindings.push(binding)
- if (type === "widget") {
- elem.msData = elem.msData || msData
- }
- }
- }
- }
- }
- }
- if (msData["ms-attr-checked"] && msData["ms-duplex"]) {
- log("warning!一个元素上不能同时定义ms-attr-checked与ms-duplex")
- }
- bindings.sort(bindingSorter)
- var scanNode = true
- for (var i = 0, binding; binding = bindings[i]; i++) {
- var type = binding.type
- if (rnoscanAttrBinding.test(type)) {
- return executeBindings(bindings.slice(0, i + 1), vmodels)
- } else if (scanNode) {
- scanNode = !rnoscanNodeBinding.test(type)
- }
- }
- executeBindings(bindings, vmodels)
- if (scanNode && !stopScan[elem.tagName] && rbind.test(elem.innerHTML + elem.textContent)) {
- mergeTextNodes && mergeTextNodes(elem)
- scanNodeList(elem, vmodels) //扫描子孙元素
- }
- }
-
- var rnoscanAttrBinding = /^if|widget|repeat$/
- var rnoscanNodeBinding = /^each|with|html|include$/
- var rhasHtml = /\|\s*html\s*/,
- r11a = /\|\|/g,
- rlt = /&lt;/g,
- rgt = /&gt;/g
-
- function getToken(value) {
- if (value.indexOf("|") > 0) {
- var index = value.replace(r11a, "\u1122\u3344").indexOf("|") //干掉所有短路或
- if (index > -1) {
- return {
- filters: value.slice(index),
- value: value.slice(0, index),
- expr: true
- }
- }
- }
- return {
- value: value,
- filters: "",
- expr: true
- }
- }
-
- function scanExpr(str) {
- var tokens = [],
- value, start = 0,
- stop
- do {
- stop = str.indexOf(openTag, start)
- if (stop === -1) {
- break
- }
- value = str.slice(start, stop)
- if (value) { // {{ 左边的文本
- tokens.push({
- value: value,
- filters: "",
- expr: false
- })
- }
- start = stop + openTag.length
- stop = str.indexOf(closeTag, start)
- if (stop === -1) {
- break
- }
- value = str.slice(start, stop)
- if (value) { //处理{{ }}插值表达式
- tokens.push(getToken(value))
- }
- start = stop + closeTag.length
- } while (1)
- value = str.slice(start)
- if (value) { //}} 右边的文本
- tokens.push({
- value: value,
- expr: false,
- filters: ""
- })
- }
- return tokens
- }
-
- function scanText(textNode, vmodels) {
- var bindings = []
- if (textNode.nodeType === 8) {
- var token = getToken(textNode.nodeValue)
- var tokens = [token]
- } else {
- tokens = scanExpr(textNode.data)
- }
- if (tokens.length) {
- for (var i = 0, token; token = tokens[i++];) {
- var node = DOC.createTextNode(token.value) //将文本转换为文本节点,并替换原来的文本节点
- if (token.expr) {
- token.type = "text"
- token.element = node
- token.filters = token.filters.replace(rhasHtml, function () {
- token.type = "html"
- token.group = 1
- return ""
- })
- bindings.push(token) //收集带有插值表达式的文本
- }
- hyperspace.appendChild(node)
- }
- textNode.parentNode.replaceChild(hyperspace, textNode)
- if (bindings.length)
- executeBindings(bindings, vmodels)
- }
- }
-
-
- /*********************************************************************
- * avalon的原型方法定义区 *
- **********************************************************************/
- function hyphen(target) {
- //转换为连字符线风格
- return target.replace(/([a-z\d])([A-Z]+)/g, "$1-$2").toLowerCase()
- }
-
- function camelize(target) {
- //转换为驼峰风格
- if (target.indexOf("-") < 0 && target.indexOf("_") < 0) {
- return target //提前判断,提高getStyle等的效率
- }
- return target.replace(/[-_][^-_]/g, function (match) {
- return match.charAt(1).toUpperCase()
- })
- }
-
- "add,remove".replace(rword, function (method) {
- avalon.fn[method + "Class"] = function (cls) {
- var el = this[0]
- //https://developer.mozilla.org/zh-CN/docs/Mozilla/Firefox/Releases/26
- if (cls && typeof cls === "string" && el && el.nodeType === 1) {
- cls.replace(/\S+/g, function (c) {
- el.classList[method](c)
- })
- }
- return this
- }
- })
-
- avalon.fn.mix({
- hasClass: function (cls) {
- var el = this[0] || {} //IE10+, chrome8+, firefox3.6+, safari5.1+,opera11.5+支持classList,chrome24+,firefox26+支持classList2.0
- return el.nodeType === 1 && el.classList.contains(cls)
- },
- toggleClass: function (value, stateVal) {
- var className, i = 0
- var classNames = value.split(/\s+/)
- var isBool = typeof stateVal === "boolean"
- while ((className = classNames[i++])) {
- var state = isBool ? stateVal : !this.hasClass(className)
- this[state ? "addClass" : "removeClass"](className)
- }
- return this
- },
- attr: function (name, value) {
- if (arguments.length === 2) {
- this[0].setAttribute(name, value)
- return this
- } else {
- return this[0].getAttribute(name)
- }
- },
- data: function (name, value) {
- name = "data-" + hyphen(name || "")
- switch (arguments.length) {
- case 2:
- this.attr(name, value)
- return this
- case 1:
- var val = this.attr(name)
- return parseData(val)
- case 0:
- var ret = {}
- ap.forEach.call(this[0].attributes, function (attr) {
- if (attr) {
- name = attr.name
- if (!name.indexOf("data-")) {
- name = camelize(name.slice(5))
- ret[name] = parseData(attr.value)
- }
- }
- })
- return ret
- }
- },
- removeData: function (name) {
- name = "data-" + hyphen(name)
- this[0].removeAttribute(name)
- return this
- },
- css: function (name, value) {
- if (avalon.isPlainObject(name)) {
- for (var i in name) {
- avalon.css(this, i, name[i])
- }
- } else {
- var ret = avalon.css(this, name, value)
- }
- return ret !== void 0 ? ret : this
- },
- position: function () {
- var offsetParent, offset,
- elem = this[0],
- parentOffset = {
- top: 0,
- left: 0
- };
- if (!elem) {
- return
- }
- if (this.css("position") === "fixed") {
- offset = elem.getBoundingClientRect()
- } else {
- offsetParent = this.offsetParent() //得到真正的offsetParent
- offset = this.offset() // 得到正确的offsetParent
- if (offsetParent[0].tagName !== "HTML") {
- parentOffset = offsetParent.offset()
- }
- parentOffset.top += avalon.css(offsetParent[0], "borderTopWidth", true)
- parentOffset.left += avalon.css(offsetParent[0], "borderLeftWidth", true)
- }
- return {
- top: offset.top - parentOffset.top - avalon.css(elem, "marginTop", true),
- left: offset.left - parentOffset.left - avalon.css(elem, "marginLeft", true)
- }
- },
- offsetParent: function () {
- var offsetParent = this[0].offsetParent
- while (offsetParent && avalon.css(offsetParent, "position") === "static") {
- offsetParent = offsetParent.offsetParent;
- }
- return avalon(offsetParent)
- },
- bind: function (type, fn, phase) {
- if (this[0]) { //此方法不会链
- return avalon.bind(this[0], type, fn, phase)
- }
- },
- unbind: function (type, fn, phase) {
- if (this[0]) {
- avalon.unbind(this[0], type, fn, phase)
- }
- return this
- },
- val: function (value) {
- var node = this[0]
- if (node && node.nodeType === 1) {
- var get = arguments.length === 0
- var access = get ? ":get" : ":set"
- var fn = valHooks[getValType(node) + access]
- if (fn) {
- var val = fn(node, value)
- } else if (get) {
- return (node.value || "").replace(/\r/g, "")
- } else {
- node.value = value
- }
- }
- return get ? val : this
- }
- })
-
- if (root.dataset) {
- avalon.fn.data = function (name, val) {
- var dataset = this[0].dataset
- switch (arguments.length) {
- case 2:
- dataset[name] = val
- return this
- case 1:
- val = dataset[name]
- return parseData(val)
- case 0:
- var ret = {}
- for (var name in dataset) {
- ret[name] = parseData(dataset[name])
- }
- return ret
- }
- }
- }
- var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/
- avalon.parseJSON = JSON.parse
-
- function parseData(data) {
- try {
- if (typeof data === "object")
- return data
- data = data === "true" ? true :
- data === "false" ? false :
- data === "null" ? null : +data + "" === data ? +data : rbrace.test(data) ? JSON.parse(data) : data
- } catch (e) {
- }
- return data
- }
-
- avalon.each({
- scrollLeft: "pageXOffset",
- scrollTop: "pageYOffset"
- }, function (method, prop) {
- avalon.fn[method] = function (val) {
- var node = this[0] || {}, win = getWindow(node),
- top = method === "scrollTop"
- if (!arguments.length) {
- return win ? win[prop] : node[method]
- } else {
- if (win) {
- win.scrollTo(!top ? val : avalon(win).scrollLeft(), top ? val : avalon(win).scrollTop())
- } else {
- node[method] = val
- }
- }
- }
- })
-
- function getWindow(node) {
- return node.window && node.document ? node : node.nodeType === 9 ? node.defaultView : false
- }
-
-//=============================css相关==================================
- var cssHooks = avalon.cssHooks = {}
- var prefixes = ["", "-webkit-", "-moz-", "-ms-"]//去掉opera-15的支持
- var cssMap = {
- "float": "cssFloat"
- }
- avalon.cssNumber = oneObject("columnCount,order,fillOpacity,fontWeight,lineHeight,opacity,orphans,widows,zIndex,zoom")
-
- avalon.cssName = function (name, host, camelCase) {
- if (cssMap[name]) {
- return cssMap[name]
- }
- host = host || root.style
- for (var i = 0, n = prefixes.length; i < n; i++) {
- camelCase = camelize(prefixes[i] + name)
- if (camelCase in host) {
- return (cssMap[name] = camelCase)
- }
- }
- return null
- }
- cssHooks["@:set"] = function (node, name, value) {
- node.style[name] = value
- }
-
- cssHooks["@:get"] = function (node, name) {
- if (!node || !node.style) {
- throw new Error("getComputedStyle要求传入一个节点 " + node)
- }
- var ret, computed = getComputedStyle(node, null)
- if (computed) {
- ret = name === "filter" ? computed.getPropertyValue(name) : computed[name]
- if (ret === "") {
- ret = node.style[name] //其他浏览器需要我们手动取内联样式
- }
- }
- return ret
- }
- cssHooks["opacity:get"] = function (node) {
- var ret = cssHooks["@:get"](node, "opacity")
- return ret === "" ? "1" : ret
- }
-
- "top,left".replace(rword, function (name) {
- cssHooks[name + ":get"] = function (node) {
- var computed = cssHooks["@:get"](node, name)
- return /px$/.test(computed) ? computed :
- avalon(node).position()[name] + "px"
- }
- })
- var cssShow = {
- position: "absolute",
- visibility: "hidden",
- display: "block"
- }
- var rdisplayswap = /^(none|table(?!-c[ea]).+)/
-
- function showHidden(node, array) {
- //http://www.cnblogs.com/rubylouvre/archive/2012/10/27/2742529.html
- if (node.offsetWidth <= 0) { //opera.offsetWidth可能小于0
- var styles = getComputedStyle(node, null)
- if (rdisplayswap.test(styles["display"])) {
- var obj = {
- node: node
- }
- for (var name in cssShow) {
- obj[name] = styles[name]
- node.style[name] = cssShow[name]
- }
- array.push(obj)
- }
- var parent = node.parentNode
- if (parent && parent.nodeType === 1) {
- showHidden(parent, array)
- }
- }
- }
-
- "Width,Height".replace(rword, function (name) {//fix 481
- var method = name.toLowerCase(),
- clientProp = "client" + name,
- scrollProp = "scroll" + name,
- offsetProp = "offset" + name
- cssHooks[method + ":get"] = function (node, which, override) {
- var boxSizing = -4
- if (typeof override === "number") {
- boxSizing = override
- }
- which = name === "Width" ? ["Left", "Right"] : ["Top", "Bottom"]
- var ret = node[offsetProp] // border-box 0
- if (boxSizing === 2) { // margin-box 2
- return ret
- + avalon.css(node, "margin" + which[0], true)
- + avalon.css(node, "margin" + which[1], true)
- }
- if (boxSizing < 0) { // padding-box -2
- ret = ret
- - avalon.css(node, "border" + which[0] + "Width", true)
- - avalon.css(node, "border" + which[1] + "Width", true)
- }
- if (boxSizing === -4) { // content-box -4
- ret = ret
- - avalon.css(node, "padding" + which[0], true)
- - avalon.css(node, "padding" + which[1], true)
- }
- return ret
- }
- cssHooks[method + "&get"] = function (node) {
- var hidden = [];
- showHidden(node, hidden);
- var val = cssHooks[method + ":get"](node)
- for (var i = 0, obj; obj = hidden[i++];) {
- node = obj.node
- for (var n in obj) {
- if (typeof obj[n] === "string") {
- node.style[n] = obj[n]
- }
- }
- }
- return val;
- }
- avalon.fn[method] = function (value) { //会忽视其display
- var node = this[0]
- if (arguments.length === 0) {
- if (node.setTimeout) { //取得窗口尺寸,IE9后可以用node.innerWidth /innerHeight代替
- return node["inner" + name] || node.document.documentElement[clientProp]
- }
- if (node.nodeType === 9) { //取得页面尺寸
- var doc = node.documentElement
- //FF chrome html.scrollHeight< body.scrollHeight
- //IE 标准模式 : html.scrollHeight> body.scrollHeight
- //IE 怪异模式 : html.scrollHeight 最大等于可视窗口多一点?
- return Math.max(node.body[scrollProp], doc[scrollProp], node.body[offsetProp], doc[offsetProp], doc[clientProp])
- }
- return cssHooks[method + "&get"](node)
- } else {
- return this.css(method, value)
- }
- }
- avalon.fn["inner" + name] = function () {
- return cssHooks[method + ":get"](this[0], void 0, -2)
- }
- avalon.fn["outer" + name] = function (includeMargin) {
- return cssHooks[method + ":get"](this[0], void 0, includeMargin === true ? 2 : 0)
- }
- })
- avalon.fn.offset = function () { //取得距离页面左右角的坐标
- var node = this[0], box = {
- left: 0,
- top: 0
- }
- if (!node || !node.tagName || !node.ownerDocument) {
- return box
- }
- var doc = node.ownerDocument,
- root = doc.documentElement,
- win = doc.defaultView
- if (!root.contains(node)) {
- return box
- }
- if (node.getBoundingClientRect !== void 0) {
- box = node.getBoundingClientRect()
- }
- return {
- top: box.top + win.pageYOffset - root.clientTop,
- left: box.left + win.pageXOffset - root.clientLeft
- }
- }
-//=============================val相关=======================
-
- function getValType(el) {
- var ret = el.tagName.toLowerCase()
- return ret === "input" && /checkbox|radio/.test(el.type) ? "checked" : ret
- }
-
- var valHooks = {
- "select:get": function (node, value) {
- var option, options = node.options,
- index = node.selectedIndex,
- one = node.type === "select-one" || index < 0,
- values = one ? null : [],
- max = one ? index + 1 : options.length,
- i = index < 0 ? max : one ? index : 0
- for (; i < max; i++) {
- option = options[i]
- //旧式IE在reset后不会改变selected,需要改用i === index判定
- //我们过滤所有disabled的option元素,但在safari5下,如果设置select为disable,那么其所有孩子都disable
- //因此当一个元素为disable,需要检测其是否显式设置了disable及其父节点的disable情况
- if ((option.selected || i === index) && !option.disabled) {
- value = option.value
- if (one) {
- return value
- }
- //收集所有selected值组成数组返回
- values.push(value)
- }
- }
- return values
- },
- "select:set": function (node, values, optionSet) {
- values = [].concat(values) //强制转换为数组
- for (var i = 0, el; el = node.options[i++];) {
- if ((el.selected = values.indexOf(el.value) > -1)) {
- optionSet = true
- }
- }
- if (!optionSet) {
- node.selectedIndex = -1
- }
- }
- }
-
- /*********************************************************************
- * 编译系统 *
- **********************************************************************/
- var quote = JSON.stringify
-
- var keywords =
- // 关键字
- "break,case,catch,continue,debugger,default,delete,do,else,false" +
- ",finally,for,function,if,in,instanceof,new,null,return,switch,this" +
- ",throw,true,try,typeof,var,void,while,with"
- // 保留字
- + ",abstract,boolean,byte,char,class,const,double,enum,export,extends" +
- ",final,float,goto,implements,import,int,interface,long,native" +
- ",package,private,protected,public,short,static,super,synchronized" +
- ",throws,transient,volatile"
- // ECMA 5 - use strict
- + ",arguments,let,yield" + ",undefined"
- var rrexpstr = /\/\*[\w\W]*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|"(?:[^"\\]|\\[\w\W])*"|'(?:[^'\\]|\\[\w\W])*'|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g
- var rsplit = /[^\w$]+/g
- var rkeywords = new RegExp(["\\b" + keywords.replace(/,/g, '\\b|\\b') + "\\b"].join('|'), 'g')
- var rnumber = /\b\d[^,]*/g
- var rcomma = /^,+|,+$/g
- var cacheVars = createCache(512)
- var getVariables = function (code) {
- var key = "," + code.trim()
- if (cacheVars[key]) {
- return cacheVars[key]
- }
- var match = code
- .replace(rrexpstr, "")
- .replace(rsplit, ",")
- .replace(rkeywords, "")
- .replace(rnumber, "")
- .replace(rcomma, "")
- .split(/^$|,+/)
- return cacheVars(key, uniqSet(match))
- }
- /*添加赋值语句*/
-
- function addAssign(vars, scope, name, data) {
- var ret = [],
- prefix = " = " + name + "."
- for (var i = vars.length, prop; prop = vars[--i];) {
- if (scope.hasOwnProperty(prop)) {
- ret.push(prop + prefix + prop)
- data.vars.push(prop)
- if (data.type === "duplex") {
- vars.get = name + "." + prop
- }
- vars.splice(i, 1)
- }
- }
- return ret
- }
-
- function uniqSet(array) {
- var ret = [],
- unique = {}
- for (var i = 0; i < array.length; i++) {
- var el = array[i]
- var id = el && typeof el.$id === "string" ? el.$id : el
- if (!unique[id]) {
- unique[id] = ret.push(el)
- }
- }
- return ret
- }
-
-//缓存求值函数,以便多次利用
- var cacheExprs = createCache(128)
-//取得求值函数及其传参
- var rduplex = /\w\[.*\]|\w\.\w/
- var rproxy = /(\$proxy\$[a-z]+)\d+$/
- var rthimRightParentheses = /\)\s*$/
- var rthimOtherParentheses = /\)\s*\|/g
- var rquoteFilterName = /\|\s*([$\w]+)/g
- var rpatchBracket = /"\s*\["/g
- var rthimLeftParentheses = /"\s*\(/g
-
- function parseFilter(val, filters) {
- filters = filters
- .replace(rthimRightParentheses, "")//处理最后的小括号
- .replace(rthimOtherParentheses, function () {//处理其他小括号
- return "],|"
- })
- .replace(rquoteFilterName, function (a, b) { //处理|及它后面的过滤器的名字
- return "[" + quote(b)
- })
- .replace(rpatchBracket, function () {
- return '"],["'
- })
- .replace(rthimLeftParentheses, function () {
- return '",'
- }) + "]"
- return "return avalon.filters.$filter(" + val + ", " + filters + ")"
- }
-
- function parseExpr(code, scopes, data) {
- var dataType = data.type
- var filters = data.filters || ""
- var exprId = scopes.map(function (el) {
- return String(el.$id).replace(rproxy, "$1")
- }) + code + dataType + filters
- var vars = getVariables(code).concat(),
- assigns = [],
- names = [],
- args = [],
- prefix = ""
- //args 是一个对象数组, names 是将要生成的求值函数的参数
- scopes = uniqSet(scopes)
- data.vars = []
- for (var i = 0, sn = scopes.length; i < sn; i++) {
- if (vars.length) {
- var name = "vm" + expose + "_" + i
- names.push(name)
- args.push(scopes[i])
- assigns.push.apply(assigns, addAssign(vars, scopes[i], name, data))
- }
- }
- if (!assigns.length && dataType === "duplex") {
- return
- }
- if (dataType !== "duplex" && (code.indexOf("||") > -1 || code.indexOf("&&") > -1)) {
- //https://github.com/RubyLouvre/avalon/issues/583
- data.vars.forEach(function (v) {
- var reg = new RegExp("\\b" + v + "(?:\\.\\w+|\\[\\w+\\])+", "ig")
- code = code.replace(reg, function (_) {
- var c = _.charAt(v.length)
- var r = IEVersion ? code.slice(arguments[1] + _.length) : RegExp.rightContext
- var method = /^\s*\(/.test(r)
- if (c === "." || c === "[" || method) {//比如v为aa,我们只匹配aa.bb,aa[cc],不匹配aaa.xxx
- var name = "var" + String(Math.random()).replace(/^0\./, "")
- if (method) {//array.size()
- var array = _.split(".")
- if (array.length > 2) {
- var last = array.pop()
- assigns.push(name + " = " + array.join("."))
- return name + "." + last
- } else {
- return _
- }
- }
- assigns.push(name + " = " + _)
- return name
- } else {
- return _
- }
- })
- })
- }
- //---------------args----------------
- data.args = args
- //---------------cache----------------
- var fn = cacheExprs[exprId] //直接从缓存,免得重复生成
- if (fn) {
- data.evaluator = fn
- return
- }
- var prefix = assigns.join(", ")
- if (prefix) {
- prefix = "var " + prefix
- }
- if (/\S/.test(filters)) { //文本绑定,双工绑定才有过滤器
- if (!/text|html/.test(data.type)) {
- throw Error("ms-" + data.type + "不支持过滤器")
- }
- code = "\nvar ret" + expose + " = " + code + ";\r\n"
- code += parseFilter("ret" + expose, filters)
- } else if (dataType === "duplex") { //双工绑定
- var _body = "'use strict';\nreturn function(vvv){\n\t" +
- prefix +
- ";\n\tif(!arguments.length){\n\t\treturn " +
- code +
- "\n\t}\n\t" + (!rduplex.test(code) ? vars.get : code) +
- "= vvv;\n} "
- try {
- fn = Function.apply(noop, names.concat(_body))
- data.evaluator = cacheExprs(exprId, fn)
- } catch (e) {
- log("debug: parse error," + e.message)
- }
- return
- } else if (dataType === "on") { //事件绑定
- if (code.indexOf("(") === -1) {
- code += ".call(this, $event)"
- } else {
- code = code.replace("(", ".call(this,")
- }
- names.push("$event")
- code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;")
- var lastIndex = code.lastIndexOf("\nreturn")
- var header = code.slice(0, lastIndex)
- var footer = code.slice(lastIndex)
- code = header + "\n" + footer
- } else { //其他绑定
- code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;")
- }
- try {
- fn = Function.apply(noop, names.concat("'use strict';\n" + prefix + code))
- data.evaluator = cacheExprs(exprId, fn)
- } catch (e) {
- log("debug: parse error," + e.message)
- } finally {
- vars = textBuffer = names = null //释放内存
- }
- }
-
-
-//parseExpr的智能引用代理
-
- function parseExprProxy(code, scopes, data, tokens, noregister) {
- if (Array.isArray(tokens)) {
- code = tokens.map(function (el) {
- return el.expr ? "(" + el.value + ")" : quote(el.value)
- }).join(" + ")
- }
- parseExpr(code, scopes, data)
- if (data.evaluator && !noregister) {
- data.handler = bindingExecutors[data.handlerName || data.type]
- //方便调试
- //这里非常重要,我们通过判定视图刷新函数的element是否在DOM树决定
- //将它移出订阅者列表
- registerSubscriber(data)
- }
- }
-
- avalon.parseExprProxy = parseExprProxy
- /*********************************************************************
- * 各种指令 *
- **********************************************************************/
-//ms-skip绑定已经在scanTag 方法中实现
-//ms-controller绑定已经在scanTag 方法中实现
-//ms-important绑定已经在scanTag 方法中实现
- var bools = "autofocus,autoplay,async,allowTransparency,checked,controls,declare,disabled,defer,defaultChecked,defaultSelected" +
- "contentEditable,isMap,loop,multiple,noHref,noResize,noShade,open,readOnly,selected"
- var boolMap = {}
- bools.replace(rword, function (name) {
- boolMap[name.toLowerCase()] = name
- })
-
- var propMap = {//属性名映射
- "accept-charset": "acceptCharset",
- "char": "ch",
- "charoff": "chOff",
- "class": "className",
- "for": "htmlFor",
- "http-equiv": "httpEquiv"
- }
-
- var anomaly = "accessKey,bgColor,cellPadding,cellSpacing,codeBase,codeType,colSpan," + "dateTime,defaultValue,frameBorder,longDesc,maxLength,marginWidth,marginHeight," + "rowSpan,tabIndex,useMap,vSpace,valueType,vAlign"
- anomaly.replace(rword, function (name) {
- propMap[name.toLowerCase()] = name
- })
-
- var rnoscripts = /<noscript.*?>(?:[\s\S]+?)<\/noscript>/img
- var rnoscriptText = /<noscript.*?>([\s\S]+?)<\/noscript>/im
-
- var getXHR = function () {
- return new (window.XMLHttpRequest || ActiveXObject)("Microsoft.XMLHTTP")
- }
-
- var cacheTmpls = avalon.templateCache = {}
-
- bindingHandlers.attr = function (data, vmodels) {
- var text = data.value.trim(),
- simple = true
- if (text.indexOf(openTag) > -1 && text.indexOf(closeTag) > 2) {
- simple = false
- if (rexpr.test(text) && RegExp.rightContext === "" && RegExp.leftContext === "") {
- simple = true
- text = RegExp.$1
- }
- }
- if (data.type === "include") {
- var elem = data.element
- data.includeRendered = getBindingCallback(elem, "data-include-rendered", vmodels)
- data.includeLoaded = getBindingCallback(elem, "data-include-loaded", vmodels)
- var outer = data.includeReplaced = !!avalon(elem).data("includeReplace")
- data.startInclude = DOC.createComment("ms-include")
- data.endInclude = DOC.createComment("ms-include-end")
- if (outer) {
- data.element = data.startInclude
- elem.parentNode.insertBefore(data.startInclude, elem)
- elem.parentNode.insertBefore(data.endInclude, elem.nextSibling)
- } else {
- elem.insertBefore(data.startInclude, elem.firstChild)
- elem.appendChild(data.endInclude)
- }
- }
- data.handlerName = "attr" //handleName用于处理多种绑定共用同一种bindingExecutor的情况
- parseExprProxy(text, vmodels, data, (simple ? 0 : scanExpr(data.value)))
- }
-
- bindingExecutors.attr = function (val, elem, data) {
- var method = data.type,
- attrName = data.param
- if (method === "css") {
- avalon(elem).css(attrName, val)
- } else if (method === "attr") {
- // ms-attr-class="xxx" vm.xxx="aaa bbb ccc"将元素的className设置为aaa bbb ccc
- // ms-attr-class="xxx" vm.xxx=false 清空元素的所有类名
- // ms-attr-name="yyy" vm.yyy="ooo" 为元素设置name属性
- if (boolMap[attrName]) {
- var bool = boolMap[attrName]
- if (typeof elem[bool] === "boolean") {
- // IE6-11不支持动态设置fieldset的disabled属性,IE11下样式是生效了,但无法阻止用户对其底下的input元素进行设值……
- return elem[bool] = !!val
- }
- }
- var toRemove = (val === false) || (val === null) || (val === void 0)
-
- if (!W3C && propMap[attrName]) { //旧式IE下需要进行名字映射
- attrName = propMap[attrName]
- }
- if (toRemove) {
- return elem.removeAttribute(attrName)
- }
- //SVG只能使用setAttribute(xxx, yyy), VML只能使用elem.xxx = yyy ,HTML的固有属性必须elem.xxx = yyy
- var isInnate = rsvg.test(elem) ? false : (DOC.namespaces && isVML(elem)) ? true : attrName in elem.cloneNode(false)
- if (isInnate) {
- elem[attrName] = val
- } else {
- elem.setAttribute(attrName, val)
- }
- } else if (method === "include" && val) {
- var vmodels = data.vmodels
- var rendered = data.includeRendered
- var loaded = data.includeLoaded
- var replace = data.includeReplaced
- var target = replace ? elem.parentNode : elem
-
- function scanTemplate(text) {
- if (loaded) {
- text = loaded.apply(target, [text].concat(vmodels))
- }
- if (rendered) {
- checkScan(target, function () {
- rendered.call(target)
- }, NaN)
- }
- while (true) {
- var node = data.startInclude.nextSibling
- if (node && node !== data.endInclude) {
- target.removeChild(node)
- } else {
- break
- }
- }
- var dom = avalon.parseHTML(text)
- var nodes = avalon.slice(dom.childNodes)
- target.insertBefore(dom, data.endInclude)
- scanNodeArray(nodes, vmodels)
- }
-
- if (data.param === "src") {
- if (cacheTmpls[val]) {
- avalon.nextTick(function () {
- scanTemplate(cacheTmpls[val])
- })
- } else {
- var xhr = getXHR()
- xhr.onreadystatechange = function () {
- if (xhr.readyState === 4) {
- var s = xhr.status
- if (s >= 200 && s < 300 || s === 304 || s === 1223) {
- scanTemplate(cacheTmpls[val] = xhr.responseText)
- }
- }
- }
- xhr.open("GET", val, true)
- if ("withCredentials" in xhr) {
- xhr.withCredentials = true
- }
- xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")
- xhr.send(null)
- }
- } else {
- //IE系列与够新的标准浏览器支持通过ID取得元素(firefox14+)
- //http://tjvantoll.com/2012/07/19/dom-element-references-as-global-variables/
- var el = val && val.nodeType === 1 ? val : DOC.getElementById(val)
- if (el) {
- if (el.tagName === "NOSCRIPT" && !(el.innerHTML || el.fixIE78)) { //IE7-8 innerText,innerHTML都无法取得其内容,IE6能取得其innerHTML
- var xhr = getXHR() //IE9-11与chrome的innerHTML会得到转义的内容,它们的innerText可以
- xhr.open("GET", location, false) //谢谢Nodejs 乱炖群 深圳-纯属虚构
- xhr.send(null)
- //http://bbs.csdn.net/topics/390349046?page=1#post-393492653
- var noscripts = DOC.getElementsByTagName("noscript")
- var array = (xhr.responseText || "").match(rnoscripts) || []
- var n = array.length
- for (var i = 0; i < n; i++) {
- var tag = noscripts[i]
- if (tag) { //IE6-8中noscript标签的innerHTML,innerText是只读的
- tag.style.display = "none" //http://haslayout.net/css/noscript-Ghost-Bug
- tag.fixIE78 = (array[i].match(rnoscriptText) || ["", "&nbsp;"])[1]
- }
- }
- }
- avalon.nextTick(function () {
- scanTemplate(el.fixIE78 || el.value || el.innerText || el.innerHTML)
- })
- }
- }
- } else {
- if (!root.hasAttribute && typeof val === "string" && (method === "src" || method === "href")) {
- val = val.replace(/&amp;/g, "&") //处理IE67自动转义的问题
- }
- elem[method] = val
- if (window.chrome && elem.tagName === "EMBED") {
- var parent = elem.parentNode //#525 chrome1-37下embed标签动态设置src不能发生请求
- var comment = document.createComment("ms-src")
- parent.replaceChild(comment, elem)
- parent.replaceChild(elem, comment)
- }
- }
- }
-
-//这几个指令都可以使用插值表达式,如ms-src="aaa/{{b}}/{{c}}.html"
- "title,alt,src,value,css,include,href".replace(rword, function (name) {
- bindingHandlers[name] = bindingHandlers.attr
- })
-//ms-include绑定已由ms-attr绑定实现
-
-//根据VM的属性值或表达式的值切换类名,ms-class="xxx yyy zzz:flag"
-//http://www.cnblogs.com/rubylouvre/archive/2012/12/17/2818540.html
- bindingHandlers["class"] = function (data, vmodels) {
- var oldStyle = data.param,
- text = data.value,
- rightExpr
- data.handlerName = "class"
- if (!oldStyle || isFinite(oldStyle)) {
- data.param = "" //去掉数字
- var noExpr = text.replace(rexprg, function (a) {
- return a.replace(/./g, "0")
- //return Math.pow(10, a.length - 1) //将插值表达式插入10的N-1次方来占位
- })
- var colonIndex = noExpr.indexOf(":") //取得第一个冒号的位置
- if (colonIndex === -1) { // 比如 ms-class="aaa bbb ccc" 的情况
- var className = text
- } else { // 比如 ms-class-1="ui-state-active:checked" 的情况
- className = text.slice(0, colonIndex)
- rightExpr = text.slice(colonIndex + 1)
- parseExpr(rightExpr, vmodels, data) //决定是添加还是删除
- if (!data.evaluator) {
- log("debug: ms-class '" + (rightExpr || "").trim() + "' 不存在于VM中")
- return false
- } else {
- data._evaluator = data.evaluator
- data._args = data.args
- }
- }
- var hasExpr = rexpr.test(className) //比如ms-class="width{{w}}"的情况
- if (!hasExpr) {
- data.immobileClass = className
- }
- parseExprProxy("", vmodels, data, (hasExpr ? scanExpr(className) : 0))
- } else {
- data.immobileClass = data.oldStyle = data.param
- parseExprProxy(text, vmodels, data)
- }
- }
-
- bindingExecutors ["class"] = function (val, elem, data) {
- var $elem = avalon(elem),
- method = data.type
- if (method === "class" && data.oldStyle) { //如果是旧风格
- $elem.toggleClass(data.oldStyle, !!val)
- } else {
- //如果存在冒号就有求值函数
- data.toggleClass = data._evaluator ? !!data._evaluator.apply(elem, data._args) : true
- data.newClass = data.immobileClass || val
- if (data.oldClass && data.newClass !== data.oldClass) {
- $elem.removeClass(data.oldClass)
- }
- data.oldClass = data.newClass
- switch (method) {
- case "class":
- $elem.toggleClass(data.newClass, data.toggleClass)
- break
- case "hover":
- case "active":
- if (!data.hasBindEvent) { //确保只绑定一次
- var activate = "mouseenter" //在移出移入时切换类名
- var abandon = "mouseleave"
- if (method === "active") { //在聚焦失焦中切换类名
- elem.tabIndex = elem.tabIndex || -1
- activate = "mousedown"
- abandon = "mouseup"
- var fn0 = $elem.bind("mouseleave", function () {
- data.toggleClass && $elem.removeClass(data.newClass)
- })
- }
- var fn1 = $elem.bind(activate, function () {
- data.toggleClass && $elem.addClass(data.newClass)
- })
- var fn2 = $elem.bind(abandon, function () {
- data.toggleClass && $elem.removeClass(data.newClass)
- })
- data.rollback = function () {
- $elem.unbind("mouseleave", fn0)
- $elem.unbind(activate, fn1)
- $elem.unbind(abandon, fn2)
- }
- data.hasBindEvent = true
- }
- break;
- }
- }
- }
-
- "hover,active".replace(rword, function (method) {
- bindingHandlers[method] = bindingHandlers["class"]
- })
-// bindingHandlers.data 定义在if.js
- bindingExecutors.data = function (val, elem, data) {
- var key = "data-" + data.param
- if (val && typeof val === "object") {
- elem[key] = val
- } else {
- elem.setAttribute(key, String(val))
- }
- }
-
-// bindingHandlers.text 定义在if.js
- bindingExecutors.text = function (val, elem) {
- val = val == null ? "" : val //不在页面上显示undefined null
- if (elem.nodeType === 3) { //绑定在文本节点上
- try { //IE对游离于DOM树外的节点赋值会报错
- elem.data = val
- } catch (e) {
- }
- } else { //绑定在特性节点上
- elem.textContent = val
- }
- }
-
-// bindingHandlers.html 定义在if.js
- bindingExecutors.html = function (val, elem, data) {
- val = val == null ? "" : val
- var isHtmlFilter = "group" in data
- var parent = isHtmlFilter ? elem.parentNode : elem
- if (!parent)
- return
- if (val.nodeType === 11) { //将val转换为文档碎片
- var fragment = val
- } else if (val.nodeType === 1 || val.item) {
- var nodes = val.nodeType === 1 ? val.childNodes : val.item ? val : []
- fragment = hyperspace.cloneNode(true)
- while (nodes[0]) {
- fragment.appendChild(nodes[0])
- }
- } else {
- fragment = avalon.parseHTML(val)
- }
- //插入占位符, 如果是过滤器,需要有节制地移除指定的数量,如果是html指令,直接清空
- var comment = DOC.createComment("ms-html")
- if (isHtmlFilter) {
- parent.insertBefore(comment, elem)
- var n = data.group, i = 1
- while (i < n) {
- var node = elem.nextSibling
- if (node) {
- parent.removeChild(node)
- i++
- }
- }
- parent.removeChild(elem)
- data.element = comment //防止被CG
- } else {
- avalon.clearHTML(parent).appendChild(comment)
- }
- if (isHtmlFilter) {
- data.group = fragment.childNodes.length || 1
- }
- var nodes = avalon.slice(fragment.childNodes)
- if (nodes[0]) {
- if (comment.parentNode)
- comment.parentNode.replaceChild(fragment, comment)
- if (isHtmlFilter) {
- data.element = nodes[0]
- }
- }
- scanNodeArray(nodes, data.vmodels)
- }
-
- bindingHandlers["if"] =
- bindingHandlers.data =
- bindingHandlers.text =
- bindingHandlers.html =
- function (data, vmodels) {
- parseExprProxy(data.value, vmodels, data)
- }
-
- bindingExecutors["if"] = function (val, elem, data) {
- if (val) { //插回DOM树
- if (elem.nodeType === 8) {
- elem.parentNode.replaceChild(data.template, elem)
- elem = data.element = data.template //这时可能为null
- }
- if (elem.getAttribute(data.name)) {
- elem.removeAttribute(data.name)
- scanAttr(elem, data.vmodels)
- }
- data.rollback = null
- } else { //移出DOM树,并用注释节点占据原位置
- if (elem.nodeType === 1) {
- var node = data.element = DOC.createComment("ms-if")
- elem.parentNode.replaceChild(node, elem)
- data.template = elem //元素节点
- ifGroup.appendChild(elem)
- data.rollback = function () {
- if (elem.parentNode === ifGroup) {
- ifGroup.removeChild(elem)
- }
- }
- }
- }
- }
-
-
- function parseDisplay(nodeName, val) {
- //用于取得此类标签的默认display值
- var key = "_" + nodeName
- if (!parseDisplay[key]) {
- var node = DOC.createElement(nodeName)
- root.appendChild(node)
- if (W3C) {
- val = getComputedStyle(node, null).display
- } else {
- val = node.currentStyle.display
- }
- root.removeChild(node)
- parseDisplay[key] = val
- }
- return parseDisplay[key]
- }
-
- avalon.parseDisplay = parseDisplay
-
- bindingHandlers.visible = function (data, vmodels) {
- var elem = avalon(data.element)
- var display = elem.css("display")
- if (display === "none") {
- var style = elem[0].style
- var has = /visibility/i.test(style.cssText)
- var visible = elem.css("visibility")
- style.display = ""
- style.visibility = "hidden"
- display = elem.css("display")
- if (display === "none") {
- display = parseDisplay(elem[0].nodeName)
- }
- style.visibility = has ? visible : ""
- }
- data.display = display
- parseExprProxy(data.value, vmodels, data)
- }
-
- bindingExecutors.visible = function (val, elem, data) {
- elem.style.display = val ? data.display : "none"
- }
-
- var rdash = /\(([^)]*)\)/
- bindingHandlers.on = function (data, vmodels) {
- var value = data.value
- var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10
- if (typeof bindingHandlers.on[eventType + "Hook"] === "function") {
- bindingHandlers.on[eventType + "Hook"](data)
- }
- if (value.indexOf("(") > 0 && value.indexOf(")") > -1) {
- var matched = (value.match(rdash) || ["", ""])[1].trim()
- if (matched === "" || matched === "$event") { // aaa() aaa($event)当成aaa处理
- value = value.replace(rdash, "")
- }
- }
- parseExprProxy(value, vmodels, data)
- }
-
- bindingExecutors.on = function (callback, elem, data) {
- data.type = "on"
- callback = function (e) {
- var fn = data.evaluator || noop
- return fn.apply(this, data.args.concat(e))
- }
- var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10
- if (eventType === "scan") {
- callback.call(elem, {
- type: eventType
- })
- } else if (typeof data.specialBind === "function") {
- data.specialBind(elem, callback)
- } else {
- var removeFn = avalon.bind(elem, eventType, callback)
- }
- data.rollback = function () {
- if (typeof data.specialUnbind === "function") {
- data.specialUnbind()
- } else {
- avalon.unbind(elem, eventType, removeFn)
- }
- }
- }
-
-
- bindingHandlers.widget = function (data, vmodels) {
- var args = data.value.match(rword)
- var elem = data.element
- var widget = args[0]
- var id = args[1]
- if (!id || id === "$") {//没有定义或为$时,取组件名+随机数
- id = generateID(widget)
- }
- var optName = args[2] || widget//没有定义,取组件名
- var constructor = avalon.ui[widget]
- if (typeof constructor === "function") { //ms-widget="tabs,tabsAAA,optname"
- vmodels = elem.vmodels || vmodels
- for (var i = 0, v; v = vmodels[i++];) {
- if (v.hasOwnProperty(optName) && typeof v[optName] === "object") {
- var vmOptions = v[optName]
- vmOptions = vmOptions.$model || vmOptions
- break
- }
- }
- if (vmOptions) {
- var wid = vmOptions[widget + "Id"]
- if (typeof wid === "string") {
- id = wid
- }
- }
- //抽取data-tooltip-text、data-tooltip-attr属性,组成一个配置对象
- var widgetData = avalon.getWidgetData(elem, widget)
- data.value = [widget, id, optName].join(",")
- data[widget + "Id"] = id
- data.evaluator = noop
- elem.msData["ms-widget-id"] = id
- var options = data[widget + "Options"] = avalon.mix({}, constructor.defaults, vmOptions || {}, widgetData)
- elem.removeAttribute("ms-widget")
- var vmodel = constructor(elem, data, vmodels) || {} //防止组件不返回VM
- if (vmodel.$id) {
- avalon.vmodels[id] = vmodel
- createSignalTower(elem, vmodel)
- if (vmodel.hasOwnProperty("$init")) {
- vmodel.$init(function () {
- avalon.scan(elem, [vmodel].concat(vmodels))
- if (typeof options.onInit === "function") {
- options.onInit.call(elem, vmodel, options, vmodels)
- }
- })
- }
- data.rollback = function () {
- try {
- vmodel.widgetElement = null
- vmodel.$remove()
- } catch (e) {
- }
- elem.msData = {}
- delete avalon.vmodels[vmodel.$id]
- }
- addSubscribers(data, widgetList)
- if (window.chrome) {
- elem.addEventListener("DOMNodeRemovedFromDocument", function () {
- setTimeout(removeSubscribers)
- })
- }
- } else {
- avalon.scan(elem, vmodels)
- }
- } else if (vmodels.length) { //如果该组件还没有加载,那么保存当前的vmodels
- elem.vmodels = vmodels
- }
- }
- var widgetList = []
-//不存在 bindingExecutors.widget
-//双工绑定
- var duplexBinding = bindingHandlers.duplex = function (data, vmodels) {
- var elem = data.element,
- hasCast
- parseExprProxy(data.value, vmodels, data, 0, 1)
-
- data.changed = getBindingCallback(elem, "data-duplex-changed", vmodels) || noop
- if (data.evaluator && data.args) {
- var params = []
- var casting = oneObject("string,number,boolean,checked")
- if (elem.type === "radio" && data.param === "") {
- data.param = "checked"
- }
- if (elem.msData) {
- elem.msData["ms-duplex"] = data.value
- }
- data.param.replace(/\w+/g, function (name) {
- if (/^(checkbox|radio)$/.test(elem.type) && /^(radio|checked)$/.test(name)) {
- if (name === "radio")
- log("ms-duplex-radio已经更名为ms-duplex-checked")
- name = "checked"
- data.isChecked = true
- }
- if (name === "bool") {
- name = "boolean"
- log("ms-duplex-bool已经更名为ms-duplex-boolean")
- } else if (name === "text") {
- name = "string"
- log("ms-duplex-text已经更名为ms-duplex-string")
- }
- if (casting[name]) {
- hasCast = true
- }
- avalon.Array.ensure(params, name)
- })
- if (!hasCast) {
- params.push("string")
- }
- data.param = params.join("-")
- data.bound = function (type, callback) {
- if (elem.addEventListener) {
- elem.addEventListener(type, callback, false)
- } else {
- elem.attachEvent("on" + type, callback)
- }
- var old = data.rollback
- data.rollback = function () {
- elem.avalonSetter = null
- avalon.unbind(elem, type, callback)
- old && old()
- }
- }
- for (var i in avalon.vmodels) {
- var v = avalon.vmodels[i]
- v.$fire("avalon-ms-duplex-init", data)
- }
- var cpipe = data.pipe || (data.pipe = pipe)
- cpipe(null, data, "init")
- var tagName = elem.tagName
- duplexBinding[tagName] && duplexBinding[tagName](elem, data.evaluator.apply(null, data.args), data)
- }
- }
-//不存在 bindingExecutors.duplex
- function fixNull(val) {
- return val == null ? "" : val
- }
-
- avalon.duplexHooks = {
- checked: {
- get: function (val, data) {
- return !data.element.oldValue
- }
- },
- string: {
- get: function (val) { //同步到VM
- return val
- },
- set: fixNull
- },
- "boolean": {
- get: function (val) {
- return val === "true"
- },
- set: fixNull
- },
- number: {
- get: function (val) {
- return isFinite(val) ? parseFloat(val) || 0 : val
- },
- set: fixNull
- }
- }
-
- function pipe(val, data, action, e) {
- data.param.replace(/\w+/g, function (name) {
- var hook = avalon.duplexHooks[name]
- if (hook && typeof hook[action] === "function") {
- val = hook[action](val, data)
- }
- })
- return val
- }
-
- var TimerID, ribbon = []
-
- function W3CFire(el, name, detail) {
- var event = DOC.createEvent("Events")
- event.initEvent(name, true, true)
- event.fireByAvalon = true//签名,标记事件是由avalon触发
- //event.isTrusted = false 设置这个opera会报错
- if (detail)
- event.detail = detail
- el.dispatchEvent(event)
- }
-
-
- avalon.tick = function (fn) {
- if (ribbon.push(fn) === 1) {
- TimerID = setInterval(ticker, 60)
- }
- }
-
- function ticker() {
- for (var n = ribbon.length - 1; n >= 0; n--) {
- var el = ribbon[n]
- if (el() === false) {
- ribbon.splice(n, 1)
- }
- }
- if (!ribbon.length) {
- clearInterval(TimerID)
- }
- }
-
- var watchValueInTimer = noop
- new function () {
- try {//#272 IE9-IE11, firefox
- var setters = {}
- var aproto = HTMLInputElement.prototype
- var bproto = HTMLTextAreaElement.prototype
-
- function newSetter(value) {
- if (avalon.contains(root, this)) {
- setters[this.tagName].call(this, value)
- if (this.avalonSetter) {
- this.avalonSetter()
- }
- }
- }
-
- var inputProto = HTMLInputElement.prototype
- Object.getOwnPropertyNames(inputProto) //故意引发IE6-8等浏览器报错
- setters["INPUT"] = Object.getOwnPropertyDescriptor(aproto, "value").set
- Object.defineProperty(aproto, "value", {
- set: newSetter
- })
- setters["TEXTAREA"] = Object.getOwnPropertyDescriptor(bproto, "value").set
- Object.defineProperty(bproto, "value", {
- set: newSetter
- })
- } catch (e) {
- watchValueInTimer = avalon.tick
- }
- }
-
-
-//处理radio, checkbox, text, textarea, password
- duplexBinding.INPUT = function (element, evaluator, data) {
- var type = element.type,
- bound = data.bound,
- $elem = avalon(element),
- composing = false
-
- function callback(value) {
- data.changed.call(this, value, data)
- }
-
- function compositionStart() {
- composing = true
- }
-
- function compositionEnd() {
- composing = false
- }
-
- //当value变化时改变model的值
- function updateVModel() {
- if (composing)//处理中文输入法在minlengh下引发的BUG
- return
- var val = element.oldValue = element.value //防止递归调用形成死循环
- var lastValue = data.pipe(val, data, "get")
- if ($elem.data("duplex-observe") !== false) {
- evaluator(lastValue)
- callback.call(element, lastValue)
- if ($elem.data("duplex-focus")) {
- avalon.nextTick(function () {
- element.focus()
- })
- }
- }
- }
-
- //当model变化时,它就会改变value的值
- data.handler = function () {
- var val = data.pipe(evaluator(), data, "set")
- if (val !== element.oldValue) {
- element.value = val
- }
- }
- if (data.isChecked || element.type === "radio") {
- updateVModel = function () {
- if ($elem.data("duplex-observe") !== false) {
- var lastValue = data.pipe(element.value, data, "get")
- evaluator(lastValue)
- callback.call(element, lastValue)
- }
- }
- data.handler = function () {
- var val = evaluator()
- var checked = data.isChecked ? !!val : val + "" === element.value
- element.checked = element.oldValue = checked
- }
- bound("click", updateVModel)
- } else if (type === "checkbox") {
- updateVModel = function () {
- if ($elem.data("duplex-observe") !== false) {
- var method = element.checked ? "ensure" : "remove"
- var array = evaluator()
- if (!Array.isArray(array)) {
- log("ms-duplex应用于checkbox上要对应一个数组")
- array = [array]
- }
- avalon.Array[method](array, data.pipe(element.value, data, "get"))
- callback.call(element, array)
- }
- }
- data.handler = function () {
- var array = [].concat(evaluator()) //强制转换为数组
- element.checked = array.indexOf(data.pipe(element.value, data, "get")) > -1
- }
- bound("change", updateVModel)
- } else {
- var events = element.getAttribute("data-duplex-event") || element.getAttribute("data-event") || "input"
- if (element.attributes["data-event"]) {
- log("data-event指令已经废弃,请改用data-duplex-event")
- }
- events.replace(rword, function (name) {
- switch (name) {
- case "input":
- bound("input", updateVModel)
- bound("DOMAutoComplete", updateVModel)
- if (!IEVersion) {
- bound("compositionstart", compositionStart)
- bound("compositionend", compositionEnd)
- }
- break
- default:
- bound(name, updateVModel)
- break
- }
- })
- }
-
- if (/text|password/.test(element.type)) {
- watchValueInTimer(function () {
- if (root.contains(element)) {
- if (element.value !== element.oldValue) {
- updateVModel()
- }
- } else if (!element.msRetain) {
- return false
- }
- })
- }
-
- element.avalonSetter = updateVModel
- element.oldValue = element.value
- registerSubscriber(data)
- callback.call(element, element.value)
- }
- duplexBinding.TEXTAREA = duplexBinding.INPUT
- duplexBinding.SELECT = function (element, evaluator, data) {
- var $elem = avalon(element)
-
- function updateVModel() {
- if ($elem.data("duplex-observe") !== false) {
- var val = $elem.val() //字符串或字符串数组
- if (Array.isArray(val)) {
- val = val.map(function (v) {
- return data.pipe(v, data, "get")
- })
- } else {
- val = data.pipe(val, data, "get")
- }
- if (val + "" !== element.oldValue) {
- evaluator(val)
- }
- data.changed.call(element, val, data)
- }
- }
-
- data.handler = function () {
- var val = evaluator()
- val = val && val.$model || val
- if (Array.isArray(val)) {
- if (!element.multiple) {
- log("ms-duplex在<select multiple=true>上要求对应一个数组")
- }
- } else {
- if (element.multiple) {
- log("ms-duplex在<select multiple=false>不能对应一个数组")
- }
- }
- //必须变成字符串后才能比较
- val = Array.isArray(val) ? val.map(String) : val + ""
- if (val + "" !== element.oldValue) {
- $elem.val(val)
- element.oldValue = val + ""
- }
- }
- data.bound("change", updateVModel)
- checkScan(element, function () {
- registerSubscriber(data)
- data.changed.call(element, evaluator(), data)
- }, NaN)
- }
-
-
- bindingHandlers.repeat = function (data, vmodels) {
- var type = data.type
- parseExprProxy(data.value, vmodels, data, 0, 1)
- data.proxies = []
- var freturn = false
- try {
- var $repeat = data.$repeat = data.evaluator.apply(0, data.args || [])
- var xtype = avalon.type($repeat)
- if (xtype !== "object" && xtype !== "array") {
- freturn = true
- avalon.log("warning:" + data.value + "对应类型不正确")
- }
- } catch (e) {
- freturn = true
- avalon.log("warning:" + data.value + "编译出错")
- }
-
- var arr = data.value.split(".") || []
- if (arr.length > 1) {
- arr.pop()
- var n = arr[0]
- for (var i = 0, v; v = vmodels[i++];) {
- if (v && v.hasOwnProperty(n)) {
- var events = v[n].$events || {}
- events[subscribers] = events[subscribers] || []
- events[subscribers].push(data)
- break
- }
- }
- }
- var elem = data.element
- elem.removeAttribute(data.name)
-
- data.sortedCallback = getBindingCallback(elem, "data-with-sorted", vmodels)
- data.renderedCallback = getBindingCallback(elem, "data-" + type + "-rendered", vmodels)
- var signature = generateID(type)
- var comment = data.element = DOC.createComment(signature + ":end")
- data.clone = DOC.createComment(signature)
- hyperspace.appendChild(comment)
-
- if (type === "each" || type === "with") {
- data.template = elem.innerHTML.trim()
- avalon.clearHTML(elem).appendChild(comment)
- } else {
- data.template = elem.outerHTML.trim()
- elem.parentNode.replaceChild(comment, elem)
- }
- data.template = avalon.parseHTML(data.template)
- data.rollback = function () {
- var elem = data.element
- if (!elem)
- return
- bindingExecutors.repeat.call(data, "clear")
- var parentNode = elem.parentNode
- var content = data.template
- var target = content.firstChild
- parentNode.replaceChild(content, elem)
- var start = data.$stamp
- start && start.parentNode && start.parentNode.removeChild(start)
- target = data.element = data.type === "repeat" ? target : parentNode
- }
- if (freturn) {
- return
- }
- data.handler = bindingExecutors.repeat
- data.$outer = {}
- var check0 = "$key"
- var check1 = "$val"
- if (Array.isArray($repeat)) {
- check0 = "$first"
- check1 = "$last"
- }
- for (var i = 0, p; p = vmodels[i++];) {
- if (p.hasOwnProperty(check0) && p.hasOwnProperty(check1)) {
- data.$outer = p
- break
- }
- }
- var $events = $repeat.$events
- var $list = ($events || {})[subscribers]
- if ($list && avalon.Array.ensure($list, data)) {
- addSubscribers(data, $list)
- }
- if (xtype === "object") {
- data.$with = true
- var pool = !$events ? {} : $events.$withProxyPool || ($events.$withProxyPool = {})
- data.handler("append", $repeat, pool)
- } else if ($repeat.length) {
- data.handler("add", 0, $repeat.length)
- }
- }
-
- bindingExecutors.repeat = function (method, pos, el) {
- if (method) {
- var data = this
- var end = data.element
- var parent = end.parentNode
- var proxies = data.proxies
- var transation = hyperspace.cloneNode(false)
- switch (method) {
- case "add": //在pos位置后添加el数组(pos为数字,el为数组)
- var n = pos + el
- var array = data.$repeat
- var last = array.length - 1
- var fragments = []
- var start = locateNode(data, pos)
- for (var i = pos; i < n; i++) {
- var proxy = eachProxyAgent(i, data)
- proxies.splice(i, 0, proxy)
- shimController(data, transation, proxy, fragments)
- }
- parent.insertBefore(transation, start)
- for (var i = 0, fragment; fragment = fragments[i++];) {
- scanNodeArray(fragment.nodes, fragment.vmodels)
- fragment.nodes = fragment.vmodels = null
- }
- break
- case "del": //将pos后的el个元素删掉(pos, el都是数字)
- start = proxies[pos].$stamp
- end = locateNode(data, pos + el)
- sweepNodes(start, end)
- var removed = proxies.splice(pos, el)
- recycleProxies(removed, "each")
- break
- case "clear":
- var check = data.$stamp || proxies[0]
- if (check) {
- start = check.$stamp || check
- sweepNodes(start, end)
- }
- recycleProxies(proxies, "each")
- break
- case "move":
- start = proxies[0].$stamp
- var signature = start.nodeValue
- var rooms = []
- var room = [], node
- sweepNodes(start, end, function () {
- room.unshift(this)
- if (this.nodeValue === signature) {
- rooms.unshift(room)
- room = []
- }
- })
- sortByIndex(proxies, pos)
- sortByIndex(rooms, pos)
- while (room = rooms.shift()) {
- while (node = room.shift()) {
- transation.appendChild(node)
- }
- }
- parent.insertBefore(transation, end)
- break
- case "index": //将proxies中的第pos个起的所有元素重新索引
- var last = proxies.length - 1
- for (; el = proxies[pos]; pos++) {
- el.$index = pos
- el.$first = pos === 0
- el.$last = pos === last
- }
- return
- case "set": //将proxies中的第pos个元素的VM设置为el(pos为数字,el任意)
- var proxy = proxies[pos]
- if (proxy) {
- notifySubscribers(proxy.$events.$index)
- }
- return
- case "append": //将pos的键值对从el中取出(pos为一个普通对象,el为预先生成好的代理VM对象池)
- var pool = el
- var keys = []
- var fragments = []
- for (var key in pos) { //得到所有键名
- if (pos.hasOwnProperty(key) && key !== "hasOwnProperty") {
- keys.push(key)
- }
- }
- if (data.sortedCallback) { //如果有回调,则让它们排序
- var keys2 = data.sortedCallback.call(parent, keys)
- if (keys2 && Array.isArray(keys2) && keys2.length) {
- keys = keys2
- }
- }
- for (var i = 0, key; key = keys[i++];) {
- if (key !== "hasOwnProperty") {
- if (!pool[key]) {
- pool[key] = withProxyAgent(key, data)
- }
- shimController(data, transation, pool[key], fragments)
- }
- }
- var comment = data.$stamp = data.clone
- parent.insertBefore(comment, end)
- parent.insertBefore(transation, end)
- for (var i = 0, fragment; fragment = fragments[i++];) {
- scanNodeArray(fragment.nodes, fragment.vmodels)
- fragment.nodes = fragment.vmodels = null
- }
- break
- }
- if (method === "clear")
- method = "del"
- var callback = data.renderedCallback || noop,
- args = arguments
- checkScan(parent, function () {
- callback.apply(parent, args)
- if (parent.oldValue && parent.tagName === "SELECT") { //fix #503
- avalon(parent).val(parent.oldValue.split(","))
- }
- }, NaN)
- }
- }
-
- "with,each".replace(rword, function (name) {
- bindingHandlers[name] = bindingHandlers.repeat
- })
-
- function shimController(data, transation, proxy, fragments) {
- var content = data.template.cloneNode(true)
- var nodes = avalon.slice(content.childNodes)
- if (proxy.$stamp) {
- content.insertBefore(proxy.$stamp, content.firstChild)
- }
- transation.appendChild(content)
- var nv = [proxy].concat(data.vmodels)
- var fragment = {
- nodes: nodes,
- vmodels: nv
- }
- fragments.push(fragment)
- }
-
- function locateNode(data, pos) {
- var proxy = data.proxies[pos]
- return proxy ? proxy.$stamp : data.element
- }
-
- function sweepNodes(start, end, callback) {
- while (true) {
- var node = end.previousSibling
- if (!node)
- break
- node.parentNode.removeChild(node)
- callback && callback.call(node)
- if (node === start) {
- break
- }
- }
- }
-
-// 为ms-each,ms-with, ms-repeat会创建一个代理VM,
-// 通过它们保持一个下上文,让用户能调用$index,$first,$last,$remove,$key,$val,$outer等属性与方法
-// 所有代理VM的产生,消费,收集,存放通过xxxProxyFactory,xxxProxyAgent, recycleProxies,xxxProxyPool实现
- var eachProxyPool = []
- var withProxyPool = []
-
- function eachProxyFactory(name) {
- var source = {
- $host: [],
- $outer: {},
- $stamp: 1,
- $index: 0,
- $first: false,
- $last: false,
- $remove: avalon.noop
- }
- source[name] = {
- get: function () {
- return this.$host[this.$index]
- },
- set: function (val) {
- this.$host.set(this.$index, val)
- }
- }
- var second = {
- $last: 1,
- $first: 1,
- $index: 1
- }
- var proxy = modelFactory(source, second)
- var e = proxy.$events
- e[name] = e.$first = e.$last = e.$index
- proxy.$id = generateID("$proxy$each")
- return proxy
- }
-
- function eachProxyAgent(index, data) {
- var param = data.param || "el", proxy
- for (var i = 0, n = eachProxyPool.length; i < n; i++) {
- var candidate = eachProxyPool[i]
- if (candidate && candidate.hasOwnProperty(param)) {
- proxy = candidate
- eachProxyPool.splice(i, 1)
- }
- }
- if (!proxy) {
- proxy = eachProxyFactory(param)
- }
- var host = data.$repeat
- var last = host.length - 1
- proxy.$index = index
- proxy.$first = index === 0
- proxy.$last = index === last
- proxy.$host = host
- proxy.$outer = data.$outer
- proxy.$stamp = data.clone.cloneNode(false)
- proxy.$remove = function () {
- return host.removeAt(proxy.$index)
- }
- return proxy
- }
-
- function withProxyFactory() {
- var proxy = modelFactory({
- $key: "",
- $outer: {},
- $host: {},
- $val: {
- get: function () {
- return this.$host[this.$key]
- },
- set: function (val) {
- this.$host[this.$key] = val
- }
- }
- }, {
- $val: 1
- })
- proxy.$id = generateID("$proxy$with")
- return proxy
- }
-
- function withProxyAgent(key, data) {
- var proxy = withProxyPool.pop()
- if (!proxy) {
- proxy = withProxyFactory()
- }
- var host = data.$repeat
- proxy.$key = key
- proxy.$host = host
- proxy.$outer = data.$outer
- if (host.$events) {
- proxy.$events.$val = host.$events[key]
- } else {
- proxy.$events = {}
- }
- return proxy
- }
-
- function recycleProxies(proxies, type) {
- var proxyPool = type === "each" ? eachProxyPool : withProxyPool
- avalon.each(proxies, function (key, proxy) {
- if (proxy.$events) {
- for (var i in proxy.$events) {
- if (Array.isArray(proxy.$events[i])) {
- proxy.$events[i].forEach(function (data) {
- if (typeof data === "object")
- disposeData(data)
- })
- proxy.$events[i].length = 0
- }
- }
- proxy.$host = proxy.$outer = {}
- if (proxyPool.unshift(proxy) > kernel.maxRepeatSize) {
- proxyPool.pop()
- }
- }
- })
- if (type === "each")
- proxies.length = 0
- }
-
-
- /*********************************************************************
- * 自带过滤器 *
- **********************************************************************/
- var rscripts = /<script[^>]*>([\S\s]*?)<\/script\s*>/gim
- var ron = /\s+(on[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g
- var ropen = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/ig
- var rsanitize = {
- a: /\b(href)\=("javascript[^"]*"|'javascript[^']*')/ig,
- img: /\b(src)\=("javascript[^"]*"|'javascript[^']*')/ig,
- form: /\b(action)\=("javascript[^"]*"|'javascript[^']*')/ig
- }
- var rsurrogate = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g
- var rnoalphanumeric = /([^\#-~| |!])/g;
-
- function numberFormat(number, decimals, dec_point, thousands_sep) {
- //form http://phpjs.org/functions/number_format/
- //number 必需,要格式化的数字
- //decimals 可选,规定多少个小数位。
- //dec_point 可选,规定用作小数点的字符串(默认为 . )。
- //thousands_sep 可选,规定用作千位分隔符的字符串(默认为 , ),如果设置了该参数,那么所有其他参数都是必需的。
- number = (number + '')
- .replace(/[^0-9+\-Ee.]/g, '')
- var n = !isFinite(+number) ? 0 : +number,
- prec = !isFinite(+decimals) ? 0 : Math.abs(decimals),
- sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep,
- dec = (typeof dec_point === 'undefined') ? '.' : dec_point,
- s = '',
- toFixedFix = function (n, prec) {
- var k = Math.pow(10, prec)
- return '' + (Math.round(n * k) / k)
- .toFixed(prec)
- }
- // Fix for IE parseFloat(0.55).toFixed(0) = 0;
- s = (prec ? toFixedFix(n, prec) : '' + Math.round(n))
- .split('.')
- if (s[0].length > 3) {
- s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep)
- }
- if ((s[1] || '')
- .length < prec) {
- s[1] = s[1] || ''
- s[1] += new Array(prec - s[1].length + 1)
- .join('0')
- }
- return s.join(dec)
- }
-
-
- var filters = avalon.filters = {
- uppercase: function (str) {
- return str.toUpperCase()
- },
- lowercase: function (str) {
- return str.toLowerCase()
- },
- truncate: function (str, length, truncation) {
- //length,新字符串长度,truncation,新字符串的结尾的字段,返回新字符串
- length = length || 30
- truncation = truncation === void(0) ? "..." : truncation
- return str.length > length ? str.slice(0, length - truncation.length) + truncation : String(str)
- },
- $filter: function (val) {
- for (var i = 1, n = arguments.length; i < n; i++) {
- var array = arguments[i]
- var fn = avalon.filters[array.shift()]
- if (typeof fn === "function") {
- var arr = [val].concat(array)
- val = fn.apply(null, arr)
- }
- }
- return val
- },
- camelize: camelize,
- //https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
- // <a href="javasc&NewLine;ript&colon;alert('XSS')">chrome</a>
- // <a href="data:text/html;base64, PGltZyBzcmM9eCBvbmVycm9yPWFsZXJ0KDEpPg==">chrome</a>
- // <a href="jav ascript:alert('XSS');">IE67chrome</a>
- // <a href="jav&#x09;ascript:alert('XSS');">IE67chrome</a>
- // <a href="jav&#x0A;ascript:alert('XSS');">IE67chrome</a>
- sanitize: function (str) {
- return str.replace(rscripts, "").replace(ropen, function (a, b) {
- var match = a.toLowerCase().match(/<(\w+)\s/)
- if (match) { //处理a标签的href属性,img标签的src属性,form标签的action属性
- var reg = rsanitize[match[1]]
- if (reg) {
- a = a.replace(reg, function (s, name, value) {
- var quote = value.charAt(0)
- return name + "=" + quote + "javascript:void(0)" + quote
- })
- }
- }
- return a.replace(ron, " ").replace(/\s+/g, " ") //移除onXXX事件
- })
- },
- escape: function (str) {
- //将字符串经过 str 转义得到适合在页面中显示的内容, 例如替换 < 为 &lt
- return String(str).
- replace(/&/g, '&amp;').
- replace(rsurrogate, function (value) {
- var hi = value.charCodeAt(0)
- var low = value.charCodeAt(1)
- return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';'
- }).
- replace(rnoalphanumeric, function (value) {
- return '&#' + value.charCodeAt(0) + ';'
- }).
- replace(/</g, '&lt;').
- replace(/>/g, '&gt;')
- },
- currency: function (amount, symbol, fractionSize) {
- return (symbol || "\uFFE5") + numberFormat(amount, isFinite(fractionSize) ? fractionSize : 2)
- },
- number: function (number, fractionSize) {
- return numberFormat(number, isFinite(fractionSize) ? fractionSize : 3)
- }
- }
- /*
- 'yyyy': 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010)
- 'yy': 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)
- 'y': 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199)
- 'MMMM': Month in year (January-December)
- 'MMM': Month in year (Jan-Dec)
- 'MM': Month in year, padded (01-12)
- 'M': Month in year (1-12)
- 'dd': Day in month, padded (01-31)
- 'd': Day in month (1-31)
- 'EEEE': Day in Week,(Sunday-Saturday)
- 'EEE': Day in Week, (Sun-Sat)
- 'HH': Hour in day, padded (00-23)
- 'H': Hour in day (0-23)
- 'hh': Hour in am/pm, padded (01-12)
- 'h': Hour in am/pm, (1-12)
- 'mm': Minute in hour, padded (00-59)
- 'm': Minute in hour (0-59)
- 'ss': Second in minute, padded (00-59)
- 's': Second in minute (0-59)
- 'a': am/pm marker
- 'Z': 4 digit (+sign) representation of the timezone offset (-1200-+1200)
- format string can also be one of the following predefined localizable formats:
-
- 'medium': equivalent to 'MMM d, y h:mm:ss a' for en_US locale (e.g. Sep 3, 2010 12:05:08 pm)
- 'short': equivalent to 'M/d/yy h:mm a' for en_US locale (e.g. 9/3/10 12:05 pm)
- 'fullDate': equivalent to 'EEEE, MMMM d,y' for en_US locale (e.g. Friday, September 3, 2010)
- 'longDate': equivalent to 'MMMM d, y' for en_US locale (e.g. September 3, 2010
- 'mediumDate': equivalent to 'MMM d, y' for en_US locale (e.g. Sep 3, 2010)
- 'shortDate': equivalent to 'M/d/yy' for en_US locale (e.g. 9/3/10)
- 'mediumTime': equivalent to 'h:mm:ss a' for en_US locale (e.g. 12:05:08 pm)
- 'shortTime': equivalent to 'h:mm a' for en_US locale (e.g. 12:05 pm)
- */
- new function () {
- function toInt(str) {
- return parseInt(str, 10)
- }
-
- function padNumber(num, digits, trim) {
- var neg = ""
- if (num < 0) {
- neg = '-'
- num = -num
- }
- num = "" + num
- while (num.length < digits)
- num = "0" + num
- if (trim)
- num = num.substr(num.length - digits)
- return neg + num
- }
-
- function dateGetter(name, size, offset, trim) {
- return function (date) {
- var value = date["get" + name]()
- if (offset > 0 || value > -offset)
- value += offset
- if (value === 0 && offset === -12) {
- value = 12
- }
- return padNumber(value, size, trim)
- }
- }
-
- function dateStrGetter(name, shortForm) {
- return function (date, formats) {
- var value = date["get" + name]()
- var get = (shortForm ? ("SHORT" + name) : name).toUpperCase()
- return formats[get][value]
- }
- }
-
- function timeZoneGetter(date) {
- var zone = -1 * date.getTimezoneOffset()
- var paddedZone = (zone >= 0) ? "+" : ""
- paddedZone += padNumber(Math[zone > 0 ? "floor" : "ceil"](zone / 60), 2) + padNumber(Math.abs(zone % 60), 2)
- return paddedZone
- }
-
- //取得上午下午
-
- function ampmGetter(date, formats) {
- return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1]
- }
-
- var DATE_FORMATS = {
- yyyy: dateGetter("FullYear", 4),
- yy: dateGetter("FullYear", 2, 0, true),
- y: dateGetter("FullYear", 1),
- MMMM: dateStrGetter("Month"),
- MMM: dateStrGetter("Month", true),
- MM: dateGetter("Month", 2, 1),
- M: dateGetter("Month", 1, 1),
- dd: dateGetter("Date", 2),
- d: dateGetter("Date", 1),
- HH: dateGetter("Hours", 2),
- H: dateGetter("Hours", 1),
- hh: dateGetter("Hours", 2, -12),
- h: dateGetter("Hours", 1, -12),
- mm: dateGetter("Minutes", 2),
- m: dateGetter("Minutes", 1),
- ss: dateGetter("Seconds", 2),
- s: dateGetter("Seconds", 1),
- sss: dateGetter("Milliseconds", 3),
- EEEE: dateStrGetter("Day"),
- EEE: dateStrGetter("Day", true),
- a: ampmGetter,
- Z: timeZoneGetter
- }
- var DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,
- NUMBER_STRING = /^\d+$/
- var riso8601 = /^(\d{4})-?(\d+)-?(\d+)(?:T(\d+)(?::?(\d+)(?::?(\d+)(?:\.(\d+))?)?)?(Z|([+-])(\d+):?(\d+))?)?$/
- // 1 2 3 4 5 6 7 8 9 10 11
-
- function jsonStringToDate(string) {
- var match
- if (match = string.match(riso8601)) {
- var date = new Date(0),
- tzHour = 0,
- tzMin = 0,
- dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear,
- timeSetter = match[8] ? date.setUTCHours : date.setHours
- if (match[9]) {
- tzHour = toInt(match[9] + match[10])
- tzMin = toInt(match[9] + match[11])
- }
- dateSetter.call(date, toInt(match[1]), toInt(match[2]) - 1, toInt(match[3]))
- var h = toInt(match[4] || 0) - tzHour
- var m = toInt(match[5] || 0) - tzMin
- var s = toInt(match[6] || 0)
- var ms = Math.round(parseFloat('0.' + (match[7] || 0)) * 1000)
- timeSetter.call(date, h, m, s, ms)
- return date
- }
- return string
- }
-
- var rfixYMD = /^(\d+)\D(\d+)\D(\d+)/
- filters.date = function (date, format) {
- var locate = filters.date.locate,
- text = "",
- parts = [],
- fn, match
- format = format || "mediumDate"
- format = locate[format] || format
- if (typeof date === "string") {
- if (NUMBER_STRING.test(date)) {
- date = toInt(date)
- } else {
- var trimDate = date.trim()
- date = trimDate.replace(rfixYMD, function (a, b, c, d) {
- var array = d.length === 4 ? [d, b, c] : [b, c, d]
- return array.join("-")
- })
- date = jsonStringToDate(date)
- }
- date = new Date(date)
- }
- if (typeof date === "number") {
- date = new Date(date)
- }
- if (avalon.type(date) !== "date") {
- return
- }
- while (format) {
- match = DATE_FORMATS_SPLIT.exec(format)
- if (match) {
- parts = parts.concat(match.slice(1))
- format = parts.pop()
- } else {
- parts.push(format)
- format = null
- }
- }
- parts.forEach(function (value) {
- fn = DATE_FORMATS[value]
- text += fn ? fn(date, locate) : value.replace(/(^'|'$)/g, "").replace(/''/g, "'")
- })
- return text
- }
- var locate = {
- AMPMS: {
- 0: "上午",
- 1: "下午"
- },
- DAY: {
- 0: "星期日",
- 1: "星期一",
- 2: "星期二",
- 3: "星期三",
- 4: "星期四",
- 5: "星期五",
- 6: "星期六"
- },
- MONTH: {
- 0: "1月",
- 1: "2月",
- 2: "3月",
- 3: "4月",
- 4: "5月",
- 5: "6月",
- 6: "7月",
- 7: "8月",
- 8: "9月",
- 9: "10月",
- 10: "11月",
- 11: "12月"
- },
- SHORTDAY: {
- "0": "周日",
- "1": "周一",
- "2": "周二",
- "3": "周三",
- "4": "周四",
- "5": "周五",
- "6": "周六"
- },
- fullDate: "y年M月d日EEEE",
- longDate: "y年M月d日",
- medium: "yyyy-M-d H:mm:ss",
- mediumDate: "yyyy-M-d",
- mediumTime: "H:mm:ss",
- "short": "yy-M-d ah:mm",
- shortDate: "yy-M-d",
- shortTime: "ah:mm"
- }
- locate.SHORTMONTH = locate.MONTH
- filters.date.locate = locate
- }
- /*********************************************************************
- * AMD加载器 *
- **********************************************************************/
- var modules = avalon.modules = {
- "ready!": {
- exports: avalon
- },
- "avalon": {
- exports: avalon,
- state: 2
- }
- }
-
- new function () {
- var loadings = [] //正在加载中的模块列表
- var factorys = [] //储存需要绑定ID与factory对应关系的模块(标准浏览器下,先parse的script节点会先onload)
- var basepath
-
- function trimHashAndQuery(url) {
- return (url || "").replace(/[?#].*/, "")
- }
-
- var cur = getCurrentScript(true) //求得当前avalon.js 所在的JS文件的路径
- if (!cur) { //处理window safari的Error没有stack的问题
- cur = avalon.slice(DOC.scripts).pop().src
- }
- var url = trimHashAndQuery(cur)
- basepath = kernel.base = url.slice(0, url.lastIndexOf("/") + 1)
-
- function getCurrentScript(base) {
- // 参考 https://github.com/samyk/jiagra/blob/master/jiagra.js
- var stack
- try {
- a.b.c() //强制报错,以便捕获e.stack
- } catch (e) { //safari的错误对象只有line,sourceId,sourceURL
- stack = e.stack
- if (!stack && window.opera) {
- //opera 9没有e.stack,但有e.Backtrace,但不能直接取得,需要对e对象转字符串进行抽取
- stack = (String(e).match(/of linked script \S+/g) || []).join(" ")
- }
- }
- if (stack) {
- /**e.stack最后一行在所有支持的浏览器大致如下:
- *chrome23:
- * at http://113.93.50.63/data.js:4:1
- *firefox17:
- *@http://113.93.50.63/query.js:4
- *opera12:http://www.oldapps.com/opera.php?system=Windows_XP
- *@http://113.93.50.63/data.js:4
- *IE10:
- * at Global code (http://113.93.50.63/data.js:4:1)
- * //firefox4+ 可以用document.currentScript
- */
- stack = stack.split(/[@ ]/g).pop() //取得最后一行,最后一个空格或@之后的部分
- stack = stack[0] === "(" ? stack.slice(1, -1) : stack.replace(/\s/, "") //去掉换行符
- return stack.replace(/(:\d+)?:\d+$/i, "") //去掉行号与或许存在的出错字符起始位置
- }
- var nodes = (base ? DOC : head).getElementsByTagName("script") //只在head标签中寻找
- for (var i = nodes.length, node; node = nodes[--i];) {
- if ((base || node.className === subscribers) && node.readyState === "interactive") {
- return node.className = node.src
- }
- }
- }
-
- innerRequire = avalon.require = function (array, factory, parent) {
- if (!Array.isArray(array)) {
- avalon.error("require的第一个参数必须是依赖列数,类型为数组 " + array)
- }
- var args = [] // 放置所有依赖项的完整路径
- var deps = {} // args的另一种表现形式,为的是方便去重
- var dn = 0 //需要安装的模块数
- var cn = 0 // 已安装完的模块数
- var id = parent || "callback" + setTimeout("1")
- parent = parent || basepath
-
- array.forEach(function (el) {
- var url = loadResources(el, parent) //加载资源,并返回能加载资源的完整路径
- if (url) {
- dn++
- if (modules[url] && modules[url].state === 2) {
- cn++
- }
- if (!deps[url]) {
- args.push(url)
- deps[url] = "司徒正美" //去重
- }
- }
- })
- modules[id] = {//保存此模块的相关信息
- id: id,
- factory: factory,
- deps: deps,
- args: args,
- state: 1
- }
- if (dn === cn) { //如果需要安装的等于已安装好的
- fireFactory(id, args, factory) //安装到框架中
- } else {
- //放到检测列队中,等待checkDeps处理
- loadings.unshift(id)
- }
- checkDeps()
- }
-
- innerRequire.define = function (urlOrId, deps, factory) { //模块名,依赖列表,模块本身
- var args = aslice.call(arguments)
- if (typeof urlOrId === "string") {
- var id = args.shift()
- }
- if (typeof args[0] === "function") {
- args.unshift([])
- }
- //上线合并后能直接得到模块ID,否则寻找当前正在解析中的script节点的src作为模块ID
- //现在除了safari5,1-外,我们都能直接通过getCurrentScript一步到位得到当前执行的script节点,
- //safari可通过onload+delay闭包组合解决
- var url = modules[id] && modules[id].state >= 1 ? id : trimHashAndQuery(getCurrentScript())
- if (!modules[url] && id) {
- modules[url] = {
- id: url,
- factory: factory,
- state: 1
- }
- }
- factory = args[1]
- factory.id = id //用于调试
- factory.delay = function (d) {
- args.push(d)
- var isCycle = true
- try {
- isCycle = checkCycle(modules[d].deps, d)
- } catch (e) {
- }
- if (isCycle) {
- avalon.error(d + "模块与之前的模块存在循环依赖,请不要直接用script标签引入" + d + "模块")
- }
- delete factory.delay //释放内存
- innerRequire.apply(null, args) //0,1,2 --> 1,2,0
- }
- if (url) {
- factory.delay(url)
- } else { //先进先出
- factorys.push(factory)
- }
- }
- innerRequire.define.amd = modules
-
- function checkCycle(deps, nick) {
- //检测是否存在循环依赖
- for (var id in deps) {
- if (deps[id] === "司徒正美" && modules[id].state !== 2 && (id === nick || checkCycle(modules[id].deps, nick))) {
- return true
- }
- }
- }
-
- function checkDeps() {
- //检测此JS模块的依赖是否都已安装完毕,是则安装自身
- loop: for (var i = loadings.length, id; id = loadings[--i];) {
-
- var obj = modules[id],
- deps = obj.deps
- for (var key in deps) {
- if (ohasOwn.call(deps, key) && modules[key].state !== 2) {
- continue loop
- }
- }
- //如果deps是空对象或者其依赖的模块的状态都是2
- if (obj.state !== 2) {
- loadings.splice(i, 1) //必须先移除再安装,防止在IE下DOM树建完后手动刷新页面,会多次执行它
- fireFactory(obj.id, obj.args, obj.factory)
- checkDeps() //如果成功,则再执行一次,以防有些模块就差本模块没有安装好
- }
- }
- }
-
- function checkFail(node, onError, fuckIE) {
- var id = trimHashAndQuery(node.src) //检测是否死链
- node.onload = node.onreadystatechange = node.onerror = null
- if (onError || (fuckIE && !modules[id].state)) {
- setTimeout(function () {
- head.removeChild(node)
- node = null // 处理旧式IE下的循环引用问题
- })
- log("debug: 加载 " + id + " 失败" + onError + " " + (!modules[id].state))
- } else {
- return true
- }
- }
-
- var rdeuce = /\/\w+\/\.\./
-
- function loadResources(url, parent, ret, shim) {
- //1. 特别处理mass|ready标识符
- if (url === "ready!" || (modules[url] && modules[url].state === 2)) {
- return url
- }
- //2. 处理text! css! 等资源
- var plugin
- url = url.replace(/^\w+!/, function (a) {
- plugin = a.slice(0, -1)
- return ""
- })
- plugin = plugin || "js"
- plugin = plugins[plugin] || noop
- //3. 转化为完整路径
- if (typeof kernel.shim[url] === "object") {
- shim = kernel.shim[url]
- }
- url = url.split('/');
- //For each module name segment, see if there is a path
- //registered for it. Start with most specific name
- //and work up from it.
- for (var i = url.length, parentModule, parentPath; i > 0; i -= 1) {
- parentModule = url.slice(0, i).join('/');
-
- parentPath = kernel.paths[parentModule];
- if (parentPath) {
- //If an array, it means there are a few choices,
- //Choose the one that is desired
- if (Array.isArray(parentPath)) {
- parentPath = parentPath[0];
- }
- url.splice(0, i, parentPath);
- break;
- }
- }
- //Join the path parts together, then figure out if baseUrl is needed.
- url = url.join('/');
-
- //4. 补全路径
- if (/^(\w+)(\d)?:.*/.test(url)) {
- ret = url
- } else {
- parent = parent.substr(0, parent.lastIndexOf("/"))
- var tmp = url.charAt(0)
- if (tmp !== "." && tmp !== "/") { //相对于根路径
- ret = basepath + url
- } else if (url.slice(0, 2) === "./") { //相对于兄弟路径
- ret = parent + url.slice(1)
- } else if (url.slice(0, 2) === "..") { //相对于父路径
- ret = parent + "/" + url
- while (rdeuce.test(ret)) {
- ret = ret.replace(rdeuce, "")
- }
- } else if (tmp === "/") {
- ret = url //相对于根路径
- } else {
- avalon.error("不符合模块标识规则: " + url)
- }
- }
- //5. 补全扩展名
- url = trimHashAndQuery(ret)
- var ext = plugin.ext
- if (ext) {
- if (url.slice(0 - ext.length) !== ext) {
- ret += ext
- }
- }
- //6. 缓存处理
- if (kernel.nocache) {
- ret += (ret.indexOf("?") === -1 ? "?" : "&") + (new Date - 0)
- }
- return plugin(ret, shim)
- }
-
- function loadJS(url, id, callback) {
- //通过script节点加载目标模块
- var node = DOC.createElement("script")
- node.className = subscribers //让getCurrentScript只处理类名为subscribers的script节点
- node[W3C ? "onload" : "onreadystatechange"] = function () {
- if (W3C || /loaded|complete/i.test(node.readyState)) {
- //mass Framework会在_checkFail把它上面的回调清掉,尽可能释放回存,尽管DOM0事件写法在IE6下GC无望
- var factory = factorys.pop()
- factory && factory.delay(id)
- if (callback) {
- callback()
- }
- if (checkFail(node, false, !W3C)) {
- log("debug: 已成功加载 " + url)
- }
- }
- }
- node.onerror = function () {
- checkFail(node, true)
- }
- node.src = url //插入到head的第一个节点前,防止IE6下head标签没闭合前使用appendChild抛错
- head.insertBefore(node, head.firstChild) //chrome下第二个参数不能为null
- log("debug: 正准备加载 " + url) //更重要的是IE6下可以收窄getCurrentScript的寻找范围
- }
-
- function fireFactory(id, deps, factory) {
- for (var i = 0, array = [], d; d = deps[i++];) {
- array.push(modules[d].exports)
- }
- var module = Object(modules[id]),
- ret = factory.apply(window, array)
- module.state = 2
- if (ret !== void 0) {
- modules[id].exports = ret
- }
- return ret
- }
-
- plugins.js = function (url, shim) {
- var id = trimHashAndQuery(url)
- if (!modules[id]) { //如果之前没有加载过
- modules[id] = {
- id: id,
- exports: {}
- }
- if (shim) { //shim机制
- innerRequire(shim.deps || "", function () {
- loadJS(url, id, function () {
- modules[id].state = 2
- var s = shim.exports
- if (s && modules[id].exports === void 0) {
- modules[id].exports = typeof s === "function" ?
- s() : window[s]
- }
- innerRequire.checkDeps()
- })
- })
- } else {
- loadJS(url, id)
- }
- }
- return id
- }
- plugins.css = function (url) {
- var id = trimHashAndQuery(url).replace(/\W/g, "_") ////用于处理掉href中的hash与所有特殊符号
- if (!DOC.getElementById(id)) {
- var node = DOC.createElement("link")
- node.rel = "stylesheet"
- node.href = url
- node.id = id
- head.insertBefore(node, head.firstChild)
- }
- }
- plugins.css.ext = ".css"
- plugins.js.ext = ".js"
-
- plugins.text = function (url) {
- var xhr = getXHR()
- var id = trimHashAndQuery(url)
- modules[id] = {}
- xhr.onreadystatechange = function () {
- if (xhr.readyState === 4) {
- var status = xhr.status;
- if (status > 399 && status < 600) {
- avalon.error(url + " 对应资源不存在或没有开启 CORS")
- } else {
- modules[id].state = 2
- modules[id].exports = xhr.responseText
- innerRequire.checkDeps()
- }
- }
- }
- xhr.open("GET", url, true)
- if ("withCredentials" in xhr) {
- xhr.withCredentials = true
- }
- xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")
- xhr.send()
- return id
- }
-
- innerRequire.config = kernel
- innerRequire.checkDeps = checkDeps
- }
-
- /*********************************************************************
- * DOMReady *
- **********************************************************************/
- var readyList = []
-
- function fireReady() {
- if (innerRequire) {
- modules["ready!"].state = 2
- innerRequire.checkDeps()//隋性函数,防止IE9二次调用_checkDeps
- } else {
- readyList.forEach(function (a) {
- a(avalon)
- })
- }
- fireReady = noop //隋性函数,防止IE9二次调用_checkDeps
- }
-
- if (DOC.readyState === "complete") {
- setTimeout(fireReady) //如果在domReady之外加载
- } else {
- DOC.addEventListener("DOMContentLoaded", fireReady)
- window.addEventListener("load", fireReady)
- }
- avalon.ready = function (fn) {
- if (innerRequire) {
- innerRequire(["ready!"], fn)
- } else if (fireReady === noop) {
- fn(avalon)
- } else {
- readyList.push(fn)
- }
- }
- avalon.config({
- loader: true
- })
- avalon.ready(function () {
- avalon.scan(DOC.body)
- })
-
-// Register as a named AMD module, since avalon can be concatenated with other
-// files that may use define, but not via a proper concatenation script that
-// understands anonymous AMD modules. A named AMD is safest and most robust
-// way to register. Lowercase avalon is used because AMD module names are
-// derived from file names, and Avalon is normally delivered in a lowercase
-// file name. Do this after creating the global so that if an AMD module wants
-// to call noConflict to hide this version of avalon, it will work.
-
-// Note that for maximum portability, libraries that are not avalon should
-// declare themselves as anonymous modules, and avoid setting a global if an
-// AMD loader is present. avalon is a special case. For more information, see
-// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon
- if (typeof define === "function" && define.amd) {
- define("avalon", [], function () {
- return avalon
- })
- }
-// Map over avalon in case of overwrite
- var _avalon = window.avalon
- avalon.noConflict = function (deep) {
- if (deep && window.avalon === avalon) {
- window.avalon = avalon
- }
- return avalon
- }
-// Expose avalon and $ identifiers, even in AMD
-// and CommonJS for browser emulators
- if (noGlobal === void 0) {
- window.avalon = avalon
- }
- return avalon
-
-}));
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/js/jquery-1.10.2.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/js/jquery-1.10.2.min.js
deleted file mode 100644
index a78dbea9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/js/jquery-1.10.2.min.js
+++ /dev/null
@@ -1,2640 +0,0 @@
-/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
-!function (a, b) {
- "object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function (a) {
- if (!a.document)throw new Error("jQuery requires a window with a document");
- return b(a)
- } : b(a)
-}("undefined" != typeof window ? window : this, function (a, b) {
- var c = [], d = c.slice, e = c.concat, f = c.push, g = c.indexOf, h = {}, i = h.toString, j = h.hasOwnProperty, k = "".trim, l = {}, m = "1.11.0", n = function (a, b) {
- return new n.fn.init(a, b)
- }, o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, p = /^-ms-/, q = /-([\da-z])/gi, r = function (a, b) {
- return b.toUpperCase()
- };
- n.fn = n.prototype = {
- jquery: m, constructor: n, selector: "", length: 0, toArray: function () {
- return d.call(this)
- }, get: function (a) {
- return null != a ? 0 > a ? this[a + this.length] : this[a] : d.call(this)
- }, pushStack: function (a) {
- var b = n.merge(this.constructor(), a);
- return b.prevObject = this, b.context = this.context, b
- }, each: function (a, b) {
- return n.each(this, a, b)
- }, map: function (a) {
- return this.pushStack(n.map(this, function (b, c) {
- return a.call(b, c, b)
- }))
- }, slice: function () {
- return this.pushStack(d.apply(this, arguments))
- }, first: function () {
- return this.eq(0)
- }, last: function () {
- return this.eq(-1)
- }, eq: function (a) {
- var b = this.length, c = +a + (0 > a ? b : 0);
- return this.pushStack(c >= 0 && b > c ? [this[c]] : [])
- }, end: function () {
- return this.prevObject || this.constructor(null)
- }, push: f, sort: c.sort, splice: c.splice
- }, n.extend = n.fn.extend = function () {
- var a, b, c, d, e, f, g = arguments[0] || {}, h = 1, i = arguments.length, j = !1;
- for ("boolean" == typeof g && (j = g, g = arguments[h] || {}, h++), "object" == typeof g || n.isFunction(g) || (g = {}), h === i && (g = this, h--); i > h; h++)if (null != (e = arguments[h]))for (d in e)a = g[d], c = e[d], g !== c && (j && c && (n.isPlainObject(c) || (b = n.isArray(c))) ? (b ? (b = !1, f = a && n.isArray(a) ? a : []) : f = a && n.isPlainObject(a) ? a : {}, g[d] = n.extend(j, f, c)) : void 0 !== c && (g[d] = c));
- return g
- }, n.extend({
- expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""), isReady: !0, error: function (a) {
- throw new Error(a)
- }, noop: function () {
- }, isFunction: function (a) {
- return "function" === n.type(a)
- }, isArray: Array.isArray || function (a) {
- return "array" === n.type(a)
- }, isWindow: function (a) {
- return null != a && a == a.window
- }, isNumeric: function (a) {
- return a - parseFloat(a) >= 0
- }, isEmptyObject: function (a) {
- var b;
- for (b in a)return !1;
- return !0
- }, isPlainObject: function (a) {
- var b;
- if (!a || "object" !== n.type(a) || a.nodeType || n.isWindow(a))return !1;
- try {
- if (a.constructor && !j.call(a, "constructor") && !j.call(a.constructor.prototype, "isPrototypeOf"))return !1
- } catch (c) {
- return !1
- }
- if (l.ownLast)for (b in a)return j.call(a, b);
- for (b in a);
- return void 0 === b || j.call(a, b)
- }, type: function (a) {
- return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? h[i.call(a)] || "object" : typeof a
- }, globalEval: function (b) {
- b && n.trim(b) && (a.execScript || function (b) {
- a.eval.call(a, b)
- })(b)
- }, camelCase: function (a) {
- return a.replace(p, "ms-").replace(q, r)
- }, nodeName: function (a, b) {
- return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
- }, each: function (a, b, c) {
- var d, e = 0, f = a.length, g = s(a);
- if (c) {
- if (g) {
- for (; f > e; e++)if (d = b.apply(a[e], c), d === !1)break
- } else for (e in a)if (d = b.apply(a[e], c), d === !1)break
- } else if (g) {
- for (; f > e; e++)if (d = b.call(a[e], e, a[e]), d === !1)break
- } else for (e in a)if (d = b.call(a[e], e, a[e]), d === !1)break;
- return a
- }, trim: k && !k.call("\ufeff\xa0") ? function (a) {
- return null == a ? "" : k.call(a)
- } : function (a) {
- return null == a ? "" : (a + "").replace(o, "")
- }, makeArray: function (a, b) {
- var c = b || [];
- return null != a && (s(Object(a)) ? n.merge(c, "string" == typeof a ? [a] : a) : f.call(c, a)), c
- }, inArray: function (a, b, c) {
- var d;
- if (b) {
- if (g)return g.call(b, a, c);
- for (d = b.length, c = c ? 0 > c ? Math.max(0, d + c) : c : 0; d > c; c++)if (c in b && b[c] === a)return c
- }
- return -1
- }, merge: function (a, b) {
- var c = +b.length, d = 0, e = a.length;
- while (c > d)a[e++] = b[d++];
- if (c !== c)while (void 0 !== b[d])a[e++] = b[d++];
- return a.length = e, a
- }, grep: function (a, b, c) {
- for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++)d = !b(a[f], f), d !== h && e.push(a[f]);
- return e
- }, map: function (a, b, c) {
- var d, f = 0, g = a.length, h = s(a), i = [];
- if (h)for (; g > f; f++)d = b(a[f], f, c), null != d && i.push(d); else for (f in a)d = b(a[f], f, c), null != d && i.push(d);
- return e.apply([], i)
- }, guid: 1, proxy: function (a, b) {
- var c, e, f;
- return "string" == typeof b && (f = a[b], b = a, a = f), n.isFunction(a) ? (c = d.call(arguments, 2), e = function () {
- return a.apply(b || this, c.concat(d.call(arguments)))
- }, e.guid = a.guid = a.guid || n.guid++, e) : void 0
- }, now: function () {
- return +new Date
- }, support: l
- }), n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (a, b) {
- h["[object " + b + "]"] = b.toLowerCase()
- });
- function s(a) {
- var b = a.length, c = n.type(a);
- return "function" === c || n.isWindow(a) ? !1 : 1 === a.nodeType && b ? !0 : "array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a
- }
-
- var t = function (a) {
- var b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s = "sizzle" + -new Date, t = a.document, u = 0, v = 0, w = eb(), x = eb(), y = eb(), z = function (a, b) {
- return a === b && (j = !0), 0
- }, A = "undefined", B = 1 << 31, C = {}.hasOwnProperty, D = [], E = D.pop, F = D.push, G = D.push, H = D.slice, I = D.indexOf || function (a) {
- for (var b = 0, c = this.length; c > b; b++)if (this[b] === a)return b;
- return -1
- }, J = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", K = "[\\x20\\t\\r\\n\\f]", L = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", M = L.replace("w", "w#"), N = "\\[" + K + "*(" + L + ")" + K + "*(?:([*^$|!~]?=)" + K + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + M + ")|)|)" + K + "*\\]", O = ":(" + L + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + N.replace(3, 8) + ")*)|.*)\\)|)", P = new RegExp("^" + K + "+|((?:^|[^\\\\])(?:\\\\.)*)" + K + "+$", "g"), Q = new RegExp("^" + K + "*," + K + "*"), R = new RegExp("^" + K + "*([>+~]|" + K + ")" + K + "*"), S = new RegExp("=" + K + "*([^\\]'\"]*?)" + K + "*\\]", "g"), T = new RegExp(O), U = new RegExp("^" + M + "$"), V = {
- ID: new RegExp("^#(" + L + ")"),
- CLASS: new RegExp("^\\.(" + L + ")"),
- TAG: new RegExp("^(" + L.replace("w", "w*") + ")"),
- ATTR: new RegExp("^" + N),
- PSEUDO: new RegExp("^" + O),
- CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + K + "*(even|odd|(([+-]|)(\\d*)n|)" + K + "*(?:([+-]|)" + K + "*(\\d+)|))" + K + "*\\)|)", "i"),
- bool: new RegExp("^(?:" + J + ")$", "i"),
- needsContext: new RegExp("^" + K + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + K + "*((?:-\\d)?\\d*)" + K + "*\\)|)(?=[^-]|$)", "i")
- }, W = /^(?:input|select|textarea|button)$/i, X = /^h\d$/i, Y = /^[^{]+\{\s*\[native \w/, Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, $ = /[+~]/, _ = /'|\\/g, ab = new RegExp("\\\\([\\da-f]{1,6}" + K + "?|(" + K + ")|.)", "ig"), bb = function (a, b, c) {
- var d = "0x" + b - 65536;
- return d !== d || c ? b : 0 > d ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
- };
- try {
- G.apply(D = H.call(t.childNodes), t.childNodes), D[t.childNodes.length].nodeType
- } catch (cb) {
- G = {
- apply: D.length ? function (a, b) {
- F.apply(a, H.call(b))
- } : function (a, b) {
- var c = a.length, d = 0;
- while (a[c++] = b[d++]);
- a.length = c - 1
- }
- }
- }
- function db(a, b, d, e) {
- var f, g, h, i, j, m, p, q, u, v;
- if ((b ? b.ownerDocument || b : t) !== l && k(b), b = b || l, d = d || [], !a || "string" != typeof a)return d;
- if (1 !== (i = b.nodeType) && 9 !== i)return [];
- if (n && !e) {
- if (f = Z.exec(a))if (h = f[1]) {
- if (9 === i) {
- if (g = b.getElementById(h), !g || !g.parentNode)return d;
- if (g.id === h)return d.push(g), d
- } else if (b.ownerDocument && (g = b.ownerDocument.getElementById(h)) && r(b, g) && g.id === h)return d.push(g), d
- } else {
- if (f[2])return G.apply(d, b.getElementsByTagName(a)), d;
- if ((h = f[3]) && c.getElementsByClassName && b.getElementsByClassName)return G.apply(d, b.getElementsByClassName(h)), d
- }
- if (c.qsa && (!o || !o.test(a))) {
- if (q = p = s, u = b, v = 9 === i && a, 1 === i && "object" !== b.nodeName.toLowerCase()) {
- m = ob(a), (p = b.getAttribute("id")) ? q = p.replace(_, "\\$&") : b.setAttribute("id", q), q = "[id='" + q + "'] ", j = m.length;
- while (j--)m[j] = q + pb(m[j]);
- u = $.test(a) && mb(b.parentNode) || b, v = m.join(",")
- }
- if (v)try {
- return G.apply(d, u.querySelectorAll(v)), d
- } catch (w) {
- } finally {
- p || b.removeAttribute("id")
- }
- }
- }
- return xb(a.replace(P, "$1"), b, d, e)
- }
-
- function eb() {
- var a = [];
-
- function b(c, e) {
- return a.push(c + " ") > d.cacheLength && delete b[a.shift()], b[c + " "] = e
- }
-
- return b
- }
-
- function fb(a) {
- return a[s] = !0, a
- }
-
- function gb(a) {
- var b = l.createElement("div");
- try {
- return !!a(b)
- } catch (c) {
- return !1
- } finally {
- b.parentNode && b.parentNode.removeChild(b), b = null
- }
- }
-
- function hb(a, b) {
- var c = a.split("|"), e = a.length;
- while (e--)d.attrHandle[c[e]] = b
- }
-
- function ib(a, b) {
- var c = b && a, d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || B) - (~a.sourceIndex || B);
- if (d)return d;
- if (c)while (c = c.nextSibling)if (c === b)return -1;
- return a ? 1 : -1
- }
-
- function jb(a) {
- return function (b) {
- var c = b.nodeName.toLowerCase();
- return "input" === c && b.type === a
- }
- }
-
- function kb(a) {
- return function (b) {
- var c = b.nodeName.toLowerCase();
- return ("input" === c || "button" === c) && b.type === a
- }
- }
-
- function lb(a) {
- return fb(function (b) {
- return b = +b, fb(function (c, d) {
- var e, f = a([], c.length, b), g = f.length;
- while (g--)c[e = f[g]] && (c[e] = !(d[e] = c[e]))
- })
- })
- }
-
- function mb(a) {
- return a && typeof a.getElementsByTagName !== A && a
- }
-
- c = db.support = {}, f = db.isXML = function (a) {
- var b = a && (a.ownerDocument || a).documentElement;
- return b ? "HTML" !== b.nodeName : !1
- }, k = db.setDocument = function (a) {
- var b, e = a ? a.ownerDocument || a : t, g = e.defaultView;
- return e !== l && 9 === e.nodeType && e.documentElement ? (l = e, m = e.documentElement, n = !f(e), g && g !== g.top && (g.addEventListener ? g.addEventListener("unload", function () {
- k()
- }, !1) : g.attachEvent && g.attachEvent("onunload", function () {
- k()
- })), c.attributes = gb(function (a) {
- return a.className = "i", !a.getAttribute("className")
- }), c.getElementsByTagName = gb(function (a) {
- return a.appendChild(e.createComment("")), !a.getElementsByTagName("*").length
- }), c.getElementsByClassName = Y.test(e.getElementsByClassName) && gb(function (a) {
- return a.innerHTML = "<div class='a'></div><div class='a i'></div>", a.firstChild.className = "i", 2 === a.getElementsByClassName("i").length
- }), c.getById = gb(function (a) {
- return m.appendChild(a).id = s, !e.getElementsByName || !e.getElementsByName(s).length
- }), c.getById ? (d.find.ID = function (a, b) {
- if (typeof b.getElementById !== A && n) {
- var c = b.getElementById(a);
- return c && c.parentNode ? [c] : []
- }
- }, d.filter.ID = function (a) {
- var b = a.replace(ab, bb);
- return function (a) {
- return a.getAttribute("id") === b
- }
- }) : (delete d.find.ID, d.filter.ID = function (a) {
- var b = a.replace(ab, bb);
- return function (a) {
- var c = typeof a.getAttributeNode !== A && a.getAttributeNode("id");
- return c && c.value === b
- }
- }), d.find.TAG = c.getElementsByTagName ? function (a, b) {
- return typeof b.getElementsByTagName !== A ? b.getElementsByTagName(a) : void 0
- } : function (a, b) {
- var c, d = [], e = 0, f = b.getElementsByTagName(a);
- if ("*" === a) {
- while (c = f[e++])1 === c.nodeType && d.push(c);
- return d
- }
- return f
- }, d.find.CLASS = c.getElementsByClassName && function (a, b) {
- return typeof b.getElementsByClassName !== A && n ? b.getElementsByClassName(a) : void 0
- }, p = [], o = [], (c.qsa = Y.test(e.querySelectorAll)) && (gb(function (a) {
- a.innerHTML = "<select t=''><option selected=''></option></select>", a.querySelectorAll("[t^='']").length && o.push("[*^$]=" + K + "*(?:''|\"\")"), a.querySelectorAll("[selected]").length || o.push("\\[" + K + "*(?:value|" + J + ")"), a.querySelectorAll(":checked").length || o.push(":checked")
- }), gb(function (a) {
- var b = e.createElement("input");
- b.setAttribute("type", "hidden"), a.appendChild(b).setAttribute("name", "D"), a.querySelectorAll("[name=d]").length && o.push("name" + K + "*[*^$|!~]?="), a.querySelectorAll(":enabled").length || o.push(":enabled", ":disabled"), a.querySelectorAll("*,:x"), o.push(",.*:")
- })), (c.matchesSelector = Y.test(q = m.webkitMatchesSelector || m.mozMatchesSelector || m.oMatchesSelector || m.msMatchesSelector)) && gb(function (a) {
- c.disconnectedMatch = q.call(a, "div"), q.call(a, "[s!='']:x"), p.push("!=", O)
- }), o = o.length && new RegExp(o.join("|")), p = p.length && new RegExp(p.join("|")), b = Y.test(m.compareDocumentPosition), r = b || Y.test(m.contains) ? function (a, b) {
- var c = 9 === a.nodeType ? a.documentElement : a, d = b && b.parentNode;
- return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
- } : function (a, b) {
- if (b)while (b = b.parentNode)if (b === a)return !0;
- return !1
- }, z = b ? function (a, b) {
- if (a === b)return j = !0, 0;
- var d = !a.compareDocumentPosition - !b.compareDocumentPosition;
- return d ? d : (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === e || a.ownerDocument === t && r(t, a) ? -1 : b === e || b.ownerDocument === t && r(t, b) ? 1 : i ? I.call(i, a) - I.call(i, b) : 0 : 4 & d ? -1 : 1)
- } : function (a, b) {
- if (a === b)return j = !0, 0;
- var c, d = 0, f = a.parentNode, g = b.parentNode, h = [a], k = [b];
- if (!f || !g)return a === e ? -1 : b === e ? 1 : f ? -1 : g ? 1 : i ? I.call(i, a) - I.call(i, b) : 0;
- if (f === g)return ib(a, b);
- c = a;
- while (c = c.parentNode)h.unshift(c);
- c = b;
- while (c = c.parentNode)k.unshift(c);
- while (h[d] === k[d])d++;
- return d ? ib(h[d], k[d]) : h[d] === t ? -1 : k[d] === t ? 1 : 0
- }, e) : l
- }, db.matches = function (a, b) {
- return db(a, null, null, b)
- }, db.matchesSelector = function (a, b) {
- if ((a.ownerDocument || a) !== l && k(a), b = b.replace(S, "='$1']"), !(!c.matchesSelector || !n || p && p.test(b) || o && o.test(b)))try {
- var d = q.call(a, b);
- if (d || c.disconnectedMatch || a.document && 11 !== a.document.nodeType)return d
- } catch (e) {
- }
- return db(b, l, null, [a]).length > 0
- }, db.contains = function (a, b) {
- return (a.ownerDocument || a) !== l && k(a), r(a, b)
- }, db.attr = function (a, b) {
- (a.ownerDocument || a) !== l && k(a);
- var e = d.attrHandle[b.toLowerCase()], f = e && C.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !n) : void 0;
- return void 0 !== f ? f : c.attributes || !n ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null
- }, db.error = function (a) {
- throw new Error("Syntax error, unrecognized expression: " + a)
- }, db.uniqueSort = function (a) {
- var b, d = [], e = 0, f = 0;
- if (j = !c.detectDuplicates, i = !c.sortStable && a.slice(0), a.sort(z), j) {
- while (b = a[f++])b === a[f] && (e = d.push(f));
- while (e--)a.splice(d[e], 1)
- }
- return i = null, a
- }, e = db.getText = function (a) {
- var b, c = "", d = 0, f = a.nodeType;
- if (f) {
- if (1 === f || 9 === f || 11 === f) {
- if ("string" == typeof a.textContent)return a.textContent;
- for (a = a.firstChild; a; a = a.nextSibling)c += e(a)
- } else if (3 === f || 4 === f)return a.nodeValue
- } else while (b = a[d++])c += e(b);
- return c
- }, d = db.selectors = {
- cacheLength: 50,
- createPseudo: fb,
- match: V,
- attrHandle: {},
- find: {},
- relative: {
- ">": {dir: "parentNode", first: !0},
- " ": {dir: "parentNode"},
- "+": {dir: "previousSibling", first: !0},
- "~": {dir: "previousSibling"}
- },
- preFilter: {
- ATTR: function (a) {
- return a[1] = a[1].replace(ab, bb), a[3] = (a[4] || a[5] || "").replace(ab, bb), "~=" === a[2] && (a[3] = " " + a[3] + " "), a.slice(0, 4)
- }, CHILD: function (a) {
- return a[1] = a[1].toLowerCase(), "nth" === a[1].slice(0, 3) ? (a[3] || db.error(a[0]), a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * ("even" === a[3] || "odd" === a[3])), a[5] = +(a[7] + a[8] || "odd" === a[3])) : a[3] && db.error(a[0]), a
- }, PSEUDO: function (a) {
- var b, c = !a[5] && a[2];
- return V.CHILD.test(a[0]) ? null : (a[3] && void 0 !== a[4] ? a[2] = a[4] : c && T.test(c) && (b = ob(c, !0)) && (b = c.indexOf(")", c.length - b) - c.length) && (a[0] = a[0].slice(0, b), a[2] = c.slice(0, b)), a.slice(0, 3))
- }
- },
- filter: {
- TAG: function (a) {
- var b = a.replace(ab, bb).toLowerCase();
- return "*" === a ? function () {
- return !0
- } : function (a) {
- return a.nodeName && a.nodeName.toLowerCase() === b
- }
- }, CLASS: function (a) {
- var b = w[a + " "];
- return b || (b = new RegExp("(^|" + K + ")" + a + "(" + K + "|$)")) && w(a, function (a) {
- return b.test("string" == typeof a.className && a.className || typeof a.getAttribute !== A && a.getAttribute("class") || "")
- })
- }, ATTR: function (a, b, c) {
- return function (d) {
- var e = db.attr(d, a);
- return null == e ? "!=" === b : b ? (e += "", "=" === b ? e === c : "!=" === b ? e !== c : "^=" === b ? c && 0 === e.indexOf(c) : "*=" === b ? c && e.indexOf(c) > -1 : "$=" === b ? c && e.slice(-c.length) === c : "~=" === b ? (" " + e + " ").indexOf(c) > -1 : "|=" === b ? e === c || e.slice(0, c.length + 1) === c + "-" : !1) : !0
- }
- }, CHILD: function (a, b, c, d, e) {
- var f = "nth" !== a.slice(0, 3), g = "last" !== a.slice(-4), h = "of-type" === b;
- return 1 === d && 0 === e ? function (a) {
- return !!a.parentNode
- } : function (b, c, i) {
- var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling", q = b.parentNode, r = h && b.nodeName.toLowerCase(), t = !i && !h;
- if (q) {
- if (f) {
- while (p) {
- l = b;
- while (l = l[p])if (h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType)return !1;
- o = p = "only" === a && !o && "nextSibling"
- }
- return !0
- }
- if (o = [g ? q.firstChild : q.lastChild], g && t) {
- k = q[s] || (q[s] = {}), j = k[a] || [], n = j[0] === u && j[1], m = j[0] === u && j[2], l = n && q.childNodes[n];
- while (l = ++n && l && l[p] || (m = n = 0) || o.pop())if (1 === l.nodeType && ++m && l === b) {
- k[a] = [u, n, m];
- break
- }
- } else if (t && (j = (b[s] || (b[s] = {}))[a]) && j[0] === u)m = j[1]; else while (l = ++n && l && l[p] || (m = n = 0) || o.pop())if ((h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) && ++m && (t && ((l[s] || (l[s] = {}))[a] = [u, m]), l === b))break;
- return m -= e, m === d || m % d === 0 && m / d >= 0
- }
- }
- }, PSEUDO: function (a, b) {
- var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || db.error("unsupported pseudo: " + a);
- return e[s] ? e(b) : e.length > 1 ? (c = [a, a, "", b], d.setFilters.hasOwnProperty(a.toLowerCase()) ? fb(function (a, c) {
- var d, f = e(a, b), g = f.length;
- while (g--)d = I.call(a, f[g]), a[d] = !(c[d] = f[g])
- }) : function (a) {
- return e(a, 0, c)
- }) : e
- }
- },
- pseudos: {
- not: fb(function (a) {
- var b = [], c = [], d = g(a.replace(P, "$1"));
- return d[s] ? fb(function (a, b, c, e) {
- var f, g = d(a, null, e, []), h = a.length;
- while (h--)(f = g[h]) && (a[h] = !(b[h] = f))
- }) : function (a, e, f) {
- return b[0] = a, d(b, null, f, c), !c.pop()
- }
- }), has: fb(function (a) {
- return function (b) {
- return db(a, b).length > 0
- }
- }), contains: fb(function (a) {
- return function (b) {
- return (b.textContent || b.innerText || e(b)).indexOf(a) > -1
- }
- }), lang: fb(function (a) {
- return U.test(a || "") || db.error("unsupported lang: " + a), a = a.replace(ab, bb).toLowerCase(), function (b) {
- var c;
- do if (c = n ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang"))return c = c.toLowerCase(), c === a || 0 === c.indexOf(a + "-"); while ((b = b.parentNode) && 1 === b.nodeType);
- return !1
- }
- }), target: function (b) {
- var c = a.location && a.location.hash;
- return c && c.slice(1) === b.id
- }, root: function (a) {
- return a === m
- }, focus: function (a) {
- return a === l.activeElement && (!l.hasFocus || l.hasFocus()) && !!(a.type || a.href || ~a.tabIndex)
- }, enabled: function (a) {
- return a.disabled === !1
- }, disabled: function (a) {
- return a.disabled === !0
- }, checked: function (a) {
- var b = a.nodeName.toLowerCase();
- return "input" === b && !!a.checked || "option" === b && !!a.selected
- }, selected: function (a) {
- return a.parentNode && a.parentNode.selectedIndex, a.selected === !0
- }, empty: function (a) {
- for (a = a.firstChild; a; a = a.nextSibling)if (a.nodeType < 6)return !1;
- return !0
- }, parent: function (a) {
- return !d.pseudos.empty(a)
- }, header: function (a) {
- return X.test(a.nodeName)
- }, input: function (a) {
- return W.test(a.nodeName)
- }, button: function (a) {
- var b = a.nodeName.toLowerCase();
- return "input" === b && "button" === a.type || "button" === b
- }, text: function (a) {
- var b;
- return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
- }, first: lb(function () {
- return [0]
- }), last: lb(function (a, b) {
- return [b - 1]
- }), eq: lb(function (a, b, c) {
- return [0 > c ? c + b : c]
- }), even: lb(function (a, b) {
- for (var c = 0; b > c; c += 2)a.push(c);
- return a
- }), odd: lb(function (a, b) {
- for (var c = 1; b > c; c += 2)a.push(c);
- return a
- }), lt: lb(function (a, b, c) {
- for (var d = 0 > c ? c + b : c; --d >= 0;)a.push(d);
- return a
- }), gt: lb(function (a, b, c) {
- for (var d = 0 > c ? c + b : c; ++d < b;)a.push(d);
- return a
- })
- }
- }, d.pseudos.nth = d.pseudos.eq;
- for (b in{radio: !0, checkbox: !0, file: !0, password: !0, image: !0})d.pseudos[b] = jb(b);
- for (b in{submit: !0, reset: !0})d.pseudos[b] = kb(b);
- function nb() {
- }
-
- nb.prototype = d.filters = d.pseudos, d.setFilters = new nb;
- function ob(a, b) {
- var c, e, f, g, h, i, j, k = x[a + " "];
- if (k)return b ? 0 : k.slice(0);
- h = a, i = [], j = d.preFilter;
- while (h) {
- (!c || (e = Q.exec(h))) && (e && (h = h.slice(e[0].length) || h), i.push(f = [])), c = !1, (e = R.exec(h)) && (c = e.shift(), f.push({
- value: c,
- type: e[0].replace(P, " ")
- }), h = h.slice(c.length));
- for (g in d.filter)!(e = V[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(), f.push({
- value: c,
- type: g,
- matches: e
- }), h = h.slice(c.length));
- if (!c)break
- }
- return b ? h.length : h ? db.error(a) : x(a, i).slice(0)
- }
-
- function pb(a) {
- for (var b = 0, c = a.length, d = ""; c > b; b++)d += a[b].value;
- return d
- }
-
- function qb(a, b, c) {
- var d = b.dir, e = c && "parentNode" === d, f = v++;
- return b.first ? function (b, c, f) {
- while (b = b[d])if (1 === b.nodeType || e)return a(b, c, f)
- } : function (b, c, g) {
- var h, i, j = [u, f];
- if (g) {
- while (b = b[d])if ((1 === b.nodeType || e) && a(b, c, g))return !0
- } else while (b = b[d])if (1 === b.nodeType || e) {
- if (i = b[s] || (b[s] = {}), (h = i[d]) && h[0] === u && h[1] === f)return j[2] = h[2];
- if (i[d] = j, j[2] = a(b, c, g))return !0
- }
- }
- }
-
- function rb(a) {
- return a.length > 1 ? function (b, c, d) {
- var e = a.length;
- while (e--)if (!a[e](b, c, d))return !1;
- return !0
- } : a[0]
- }
-
- function sb(a, b, c, d, e) {
- for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++)(f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h));
- return g
- }
-
- function tb(a, b, c, d, e, f) {
- return d && !d[s] && (d = tb(d)), e && !e[s] && (e = tb(e, f)), fb(function (f, g, h, i) {
- var j, k, l, m = [], n = [], o = g.length, p = f || wb(b || "*", h.nodeType ? [h] : h, []), q = !a || !f && b ? p : sb(p, m, a, h, i), r = c ? e || (f ? a : o || d) ? [] : g : q;
- if (c && c(q, r, h, i), d) {
- j = sb(r, n), d(j, [], h, i), k = j.length;
- while (k--)(l = j[k]) && (r[n[k]] = !(q[n[k]] = l))
- }
- if (f) {
- if (e || a) {
- if (e) {
- j = [], k = r.length;
- while (k--)(l = r[k]) && j.push(q[k] = l);
- e(null, r = [], j, i)
- }
- k = r.length;
- while (k--)(l = r[k]) && (j = e ? I.call(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l))
- }
- } else r = sb(r === g ? r.splice(o, r.length) : r), e ? e(null, g, r, i) : G.apply(g, r)
- })
- }
-
- function ub(a) {
- for (var b, c, e, f = a.length, g = d.relative[a[0].type], i = g || d.relative[" "], j = g ? 1 : 0, k = qb(function (a) {
- return a === b
- }, i, !0), l = qb(function (a) {
- return I.call(b, a) > -1
- }, i, !0), m = [function (a, c, d) {
- return !g && (d || c !== h) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d))
- }]; f > j; j++)if (c = d.relative[a[j].type])m = [qb(rb(m), c)]; else {
- if (c = d.filter[a[j].type].apply(null, a[j].matches), c[s]) {
- for (e = ++j; f > e; e++)if (d.relative[a[e].type])break;
- return tb(j > 1 && rb(m), j > 1 && pb(a.slice(0, j - 1).concat({value: " " === a[j - 2].type ? "*" : ""})).replace(P, "$1"), c, e > j && ub(a.slice(j, e)), f > e && ub(a = a.slice(e)), f > e && pb(a))
- }
- m.push(c)
- }
- return rb(m)
- }
-
- function vb(a, b) {
- var c = b.length > 0, e = a.length > 0, f = function (f, g, i, j, k) {
- var m, n, o, p = 0, q = "0", r = f && [], s = [], t = h, v = f || e && d.find.TAG("*", k), w = u += null == t ? 1 : Math.random() || .1, x = v.length;
- for (k && (h = g !== l && g); q !== x && null != (m = v[q]); q++) {
- if (e && m) {
- n = 0;
- while (o = a[n++])if (o(m, g, i)) {
- j.push(m);
- break
- }
- k && (u = w)
- }
- c && ((m = !o && m) && p--, f && r.push(m))
- }
- if (p += q, c && q !== p) {
- n = 0;
- while (o = b[n++])o(r, s, g, i);
- if (f) {
- if (p > 0)while (q--)r[q] || s[q] || (s[q] = E.call(j));
- s = sb(s)
- }
- G.apply(j, s), k && !f && s.length > 0 && p + b.length > 1 && db.uniqueSort(j)
- }
- return k && (u = w, h = t), r
- };
- return c ? fb(f) : f
- }
-
- g = db.compile = function (a, b) {
- var c, d = [], e = [], f = y[a + " "];
- if (!f) {
- b || (b = ob(a)), c = b.length;
- while (c--)f = ub(b[c]), f[s] ? d.push(f) : e.push(f);
- f = y(a, vb(e, d))
- }
- return f
- };
- function wb(a, b, c) {
- for (var d = 0, e = b.length; e > d; d++)db(a, b[d], c);
- return c
- }
-
- function xb(a, b, e, f) {
- var h, i, j, k, l, m = ob(a);
- if (!f && 1 === m.length) {
- if (i = m[0] = m[0].slice(0), i.length > 2 && "ID" === (j = i[0]).type && c.getById && 9 === b.nodeType && n && d.relative[i[1].type]) {
- if (b = (d.find.ID(j.matches[0].replace(ab, bb), b) || [])[0], !b)return e;
- a = a.slice(i.shift().value.length)
- }
- h = V.needsContext.test(a) ? 0 : i.length;
- while (h--) {
- if (j = i[h], d.relative[k = j.type])break;
- if ((l = d.find[k]) && (f = l(j.matches[0].replace(ab, bb), $.test(i[0].type) && mb(b.parentNode) || b))) {
- if (i.splice(h, 1), a = f.length && pb(i), !a)return G.apply(e, f), e;
- break
- }
- }
- }
- return g(a, m)(f, b, !n, e, $.test(a) && mb(b.parentNode) || b), e
- }
-
- return c.sortStable = s.split("").sort(z).join("") === s, c.detectDuplicates = !!j, k(), c.sortDetached = gb(function (a) {
- return 1 & a.compareDocumentPosition(l.createElement("div"))
- }), gb(function (a) {
- return a.innerHTML = "<a href='#'></a>", "#" === a.firstChild.getAttribute("href")
- }) || hb("type|href|height|width", function (a, b, c) {
- return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2)
- }), c.attributes && gb(function (a) {
- return a.innerHTML = "<input/>", a.firstChild.setAttribute("value", ""), "" === a.firstChild.getAttribute("value")
- }) || hb("value", function (a, b, c) {
- return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue
- }), gb(function (a) {
- return null == a.getAttribute("disabled")
- }) || hb(J, function (a, b, c) {
- var d;
- return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
- }), db
- }(a);
- n.find = t, n.expr = t.selectors, n.expr[":"] = n.expr.pseudos, n.unique = t.uniqueSort, n.text = t.getText, n.isXMLDoc = t.isXML, n.contains = t.contains;
- var u = n.expr.match.needsContext, v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, w = /^.[^:#\[\.,]*$/;
-
- function x(a, b, c) {
- if (n.isFunction(b))return n.grep(a, function (a, d) {
- return !!b.call(a, d, a) !== c
- });
- if (b.nodeType)return n.grep(a, function (a) {
- return a === b !== c
- });
- if ("string" == typeof b) {
- if (w.test(b))return n.filter(b, a, c);
- b = n.filter(b, a)
- }
- return n.grep(a, function (a) {
- return n.inArray(a, b) >= 0 !== c
- })
- }
-
- n.filter = function (a, b, c) {
- var d = b[0];
- return c && (a = ":not(" + a + ")"), 1 === b.length && 1 === d.nodeType ? n.find.matchesSelector(d, a) ? [d] : [] : n.find.matches(a, n.grep(b, function (a) {
- return 1 === a.nodeType
- }))
- }, n.fn.extend({
- find: function (a) {
- var b, c = [], d = this, e = d.length;
- if ("string" != typeof a)return this.pushStack(n(a).filter(function () {
- for (b = 0; e > b; b++)if (n.contains(d[b], this))return !0
- }));
- for (b = 0; e > b; b++)n.find(a, d[b], c);
- return c = this.pushStack(e > 1 ? n.unique(c) : c), c.selector = this.selector ? this.selector + " " + a : a, c
- }, filter: function (a) {
- return this.pushStack(x(this, a || [], !1))
- }, not: function (a) {
- return this.pushStack(x(this, a || [], !0))
- }, is: function (a) {
- return !!x(this, "string" == typeof a && u.test(a) ? n(a) : a || [], !1).length
- }
- });
- var y, z = a.document, A = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, B = n.fn.init = function (a, b) {
- var c, d;
- if (!a)return this;
- if ("string" == typeof a) {
- if (c = "<" === a.charAt(0) && ">" === a.charAt(a.length - 1) && a.length >= 3 ? [null, a, null] : A.exec(a), !c || !c[1] && b)return !b || b.jquery ? (b || y).find(a) : this.constructor(b).find(a);
- if (c[1]) {
- if (b = b instanceof n ? b[0] : b, n.merge(this, n.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : z, !0)), v.test(c[1]) && n.isPlainObject(b))for (c in b)n.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c]);
- return this
- }
- if (d = z.getElementById(c[2]), d && d.parentNode) {
- if (d.id !== c[2])return y.find(a);
- this.length = 1, this[0] = d
- }
- return this.context = z, this.selector = a, this
- }
- return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : n.isFunction(a) ? "undefined" != typeof y.ready ? y.ready(a) : a(n) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), n.makeArray(a, this))
- };
- B.prototype = n.fn, y = n(z);
- var C = /^(?:parents|prev(?:Until|All))/, D = {children: !0, contents: !0, next: !0, prev: !0};
- n.extend({
- dir: function (a, b, c) {
- var d = [], e = a[b];
- while (e && 9 !== e.nodeType && (void 0 === c || 1 !== e.nodeType || !n(e).is(c)))1 === e.nodeType && d.push(e), e = e[b];
- return d
- }, sibling: function (a, b) {
- for (var c = []; a; a = a.nextSibling)1 === a.nodeType && a !== b && c.push(a);
- return c
- }
- }), n.fn.extend({
- has: function (a) {
- var b, c = n(a, this), d = c.length;
- return this.filter(function () {
- for (b = 0; d > b; b++)if (n.contains(this, c[b]))return !0
- })
- }, closest: function (a, b) {
- for (var c, d = 0, e = this.length, f = [], g = u.test(a) || "string" != typeof a ? n(a, b || this.context) : 0; e > d; d++)for (c = this[d]; c && c !== b; c = c.parentNode)if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && n.find.matchesSelector(c, a))) {
- f.push(c);
- break
- }
- return this.pushStack(f.length > 1 ? n.unique(f) : f)
- }, index: function (a) {
- return a ? "string" == typeof a ? n.inArray(this[0], n(a)) : n.inArray(a.jquery ? a[0] : a, this) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
- }, add: function (a, b) {
- return this.pushStack(n.unique(n.merge(this.get(), n(a, b))))
- }, addBack: function (a) {
- return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
- }
- });
- function E(a, b) {
- do a = a[b]; while (a && 1 !== a.nodeType);
- return a
- }
-
- n.each({
- parent: function (a) {
- var b = a.parentNode;
- return b && 11 !== b.nodeType ? b : null
- }, parents: function (a) {
- return n.dir(a, "parentNode")
- }, parentsUntil: function (a, b, c) {
- return n.dir(a, "parentNode", c)
- }, next: function (a) {
- return E(a, "nextSibling")
- }, prev: function (a) {
- return E(a, "previousSibling")
- }, nextAll: function (a) {
- return n.dir(a, "nextSibling")
- }, prevAll: function (a) {
- return n.dir(a, "previousSibling")
- }, nextUntil: function (a, b, c) {
- return n.dir(a, "nextSibling", c)
- }, prevUntil: function (a, b, c) {
- return n.dir(a, "previousSibling", c)
- }, siblings: function (a) {
- return n.sibling((a.parentNode || {}).firstChild, a)
- }, children: function (a) {
- return n.sibling(a.firstChild)
- }, contents: function (a) {
- return n.nodeName(a, "iframe") ? a.contentDocument || a.contentWindow.document : n.merge([], a.childNodes)
- }
- }, function (a, b) {
- n.fn[a] = function (c, d) {
- var e = n.map(this, b, c);
- return "Until" !== a.slice(-5) && (d = c), d && "string" == typeof d && (e = n.filter(d, e)), this.length > 1 && (D[a] || (e = n.unique(e)), C.test(a) && (e = e.reverse())), this.pushStack(e)
- }
- });
- var F = /\S+/g, G = {};
-
- function H(a) {
- var b = G[a] = {};
- return n.each(a.match(F) || [], function (a, c) {
- b[c] = !0
- }), b
- }
-
- n.Callbacks = function (a) {
- a = "string" == typeof a ? G[a] || H(a) : n.extend({}, a);
- var b, c, d, e, f, g, h = [], i = !a.once && [], j = function (l) {
- for (c = a.memory && l, d = !0, f = g || 0, g = 0, e = h.length, b = !0; h && e > f; f++)if (h[f].apply(l[0], l[1]) === !1 && a.stopOnFalse) {
- c = !1;
- break
- }
- b = !1, h && (i ? i.length && j(i.shift()) : c ? h = [] : k.disable())
- }, k = {
- add: function () {
- if (h) {
- var d = h.length;
- !function f(b) {
- n.each(b, function (b, c) {
- var d = n.type(c);
- "function" === d ? a.unique && k.has(c) || h.push(c) : c && c.length && "string" !== d && f(c)
- })
- }(arguments), b ? e = h.length : c && (g = d, j(c))
- }
- return this
- }, remove: function () {
- return h && n.each(arguments, function (a, c) {
- var d;
- while ((d = n.inArray(c, h, d)) > -1)h.splice(d, 1), b && (e >= d && e--, f >= d && f--)
- }), this
- }, has: function (a) {
- return a ? n.inArray(a, h) > -1 : !(!h || !h.length)
- }, empty: function () {
- return h = [], e = 0, this
- }, disable: function () {
- return h = i = c = void 0, this
- }, disabled: function () {
- return !h
- }, lock: function () {
- return i = void 0, c || k.disable(), this
- }, locked: function () {
- return !i
- }, fireWith: function (a, c) {
- return !h || d && !i || (c = c || [], c = [a, c.slice ? c.slice() : c], b ? i.push(c) : j(c)), this
- }, fire: function () {
- return k.fireWith(this, arguments), this
- }, fired: function () {
- return !!d
- }
- };
- return k
- }, n.extend({
- Deferred: function (a) {
- var b = [["resolve", "done", n.Callbacks("once memory"), "resolved"], ["reject", "fail", n.Callbacks("once memory"), "rejected"], ["notify", "progress", n.Callbacks("memory")]], c = "pending", d = {
- state: function () {
- return c
- }, always: function () {
- return e.done(arguments).fail(arguments), this
- }, then: function () {
- var a = arguments;
- return n.Deferred(function (c) {
- n.each(b, function (b, f) {
- var g = n.isFunction(a[b]) && a[b];
- e[f[1]](function () {
- var a = g && g.apply(this, arguments);
- a && n.isFunction(a.promise) ? a.promise().done(c.resolve).fail(c.reject).progress(c.notify) : c[f[0] + "With"](this === d ? c.promise() : this, g ? [a] : arguments)
- })
- }), a = null
- }).promise()
- }, promise: function (a) {
- return null != a ? n.extend(a, d) : d
- }
- }, e = {};
- return d.pipe = d.then, n.each(b, function (a, f) {
- var g = f[2], h = f[3];
- d[f[1]] = g.add, h && g.add(function () {
- c = h
- }, b[1 ^ a][2].disable, b[2][2].lock), e[f[0]] = function () {
- return e[f[0] + "With"](this === e ? d : this, arguments), this
- }, e[f[0] + "With"] = g.fireWith
- }), d.promise(e), a && a.call(e, e), e
- }, when: function (a) {
- var b = 0, c = d.call(arguments), e = c.length, f = 1 !== e || a && n.isFunction(a.promise) ? e : 0, g = 1 === f ? a : n.Deferred(), h = function (a, b, c) {
- return function (e) {
- b[a] = this, c[a] = arguments.length > 1 ? d.call(arguments) : e, c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c)
- }
- }, i, j, k;
- if (e > 1)for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++)c[b] && n.isFunction(c[b].promise) ? c[b].promise().done(h(b, k, c)).fail(g.reject).progress(h(b, j, i)) : --f;
- return f || g.resolveWith(k, c), g.promise()
- }
- });
- var I;
- n.fn.ready = function (a) {
- return n.ready.promise().done(a), this
- }, n.extend({
- isReady: !1, readyWait: 1, holdReady: function (a) {
- a ? n.readyWait++ : n.ready(!0)
- }, ready: function (a) {
- if (a === !0 ? !--n.readyWait : !n.isReady) {
- if (!z.body)return setTimeout(n.ready);
- n.isReady = !0, a !== !0 && --n.readyWait > 0 || (I.resolveWith(z, [n]), n.fn.trigger && n(z).trigger("ready").off("ready"))
- }
- }
- });
- function J() {
- z.addEventListener ? (z.removeEventListener("DOMContentLoaded", K, !1), a.removeEventListener("load", K, !1)) : (z.detachEvent("onreadystatechange", K), a.detachEvent("onload", K))
- }
-
- function K() {
- (z.addEventListener || "load" === event.type || "complete" === z.readyState) && (J(), n.ready())
- }
-
- n.ready.promise = function (b) {
- if (!I)if (I = n.Deferred(), "complete" === z.readyState)setTimeout(n.ready); else if (z.addEventListener)z.addEventListener("DOMContentLoaded", K, !1), a.addEventListener("load", K, !1); else {
- z.attachEvent("onreadystatechange", K), a.attachEvent("onload", K);
- var c = !1;
- try {
- c = null == a.frameElement && z.documentElement
- } catch (d) {
- }
- c && c.doScroll && !function e() {
- if (!n.isReady) {
- try {
- c.doScroll("left")
- } catch (a) {
- return setTimeout(e, 50)
- }
- J(), n.ready()
- }
- }()
- }
- return I.promise(b)
- };
- var L = "undefined", M;
- for (M in n(l))break;
- l.ownLast = "0" !== M, l.inlineBlockNeedsLayout = !1, n(function () {
- var a, b, c = z.getElementsByTagName("body")[0];
- c && (a = z.createElement("div"), a.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px", b = z.createElement("div"), c.appendChild(a).appendChild(b), typeof b.style.zoom !== L && (b.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1", (l.inlineBlockNeedsLayout = 3 === b.offsetWidth) && (c.style.zoom = 1)), c.removeChild(a), a = b = null)
- }), function () {
- var a = z.createElement("div");
- if (null == l.deleteExpando) {
- l.deleteExpando = !0;
- try {
- delete a.test
- } catch (b) {
- l.deleteExpando = !1
- }
- }
- a = null
- }(), n.acceptData = function (a) {
- var b = n.noData[(a.nodeName + " ").toLowerCase()], c = +a.nodeType || 1;
- return 1 !== c && 9 !== c ? !1 : !b || b !== !0 && a.getAttribute("classid") === b
- };
- var N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, O = /([A-Z])/g;
-
- function P(a, b, c) {
- if (void 0 === c && 1 === a.nodeType) {
- var d = "data-" + b.replace(O, "-$1").toLowerCase();
- if (c = a.getAttribute(d), "string" == typeof c) {
- try {
- c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : N.test(c) ? n.parseJSON(c) : c
- } catch (e) {
- }
- n.data(a, b, c)
- } else c = void 0
- }
- return c
- }
-
- function Q(a) {
- var b;
- for (b in a)if (("data" !== b || !n.isEmptyObject(a[b])) && "toJSON" !== b)return !1;
- return !0
- }
-
- function R(a, b, d, e) {
- if (n.acceptData(a)) {
- var f, g, h = n.expando, i = a.nodeType, j = i ? n.cache : a, k = i ? a[h] : a[h] && h;
- if (k && j[k] && (e || j[k].data) || void 0 !== d || "string" != typeof b)return k || (k = i ? a[h] = c.pop() || n.guid++ : h), j[k] || (j[k] = i ? {} : {toJSON: n.noop}), ("object" == typeof b || "function" == typeof b) && (e ? j[k] = n.extend(j[k], b) : j[k].data = n.extend(j[k].data, b)), g = j[k], e || (g.data || (g.data = {}), g = g.data), void 0 !== d && (g[n.camelCase(b)] = d), "string" == typeof b ? (f = g[b], null == f && (f = g[n.camelCase(b)])) : f = g, f
- }
- }
-
- function S(a, b, c) {
- if (n.acceptData(a)) {
- var d, e, f = a.nodeType, g = f ? n.cache : a, h = f ? a[n.expando] : n.expando;
- if (g[h]) {
- if (b && (d = c ? g[h] : g[h].data)) {
- n.isArray(b) ? b = b.concat(n.map(b, n.camelCase)) : b in d ? b = [b] : (b = n.camelCase(b), b = b in d ? [b] : b.split(" ")), e = b.length;
- while (e--)delete d[b[e]];
- if (c ? !Q(d) : !n.isEmptyObject(d))return
- }
- (c || (delete g[h].data, Q(g[h]))) && (f ? n.cleanData([a], !0) : l.deleteExpando || g != g.window ? delete g[h] : g[h] = null)
- }
- }
- }
-
- n.extend({
- cache: {},
- noData: {"applet ": !0, "embed ": !0, "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},
- hasData: function (a) {
- return a = a.nodeType ? n.cache[a[n.expando]] : a[n.expando], !!a && !Q(a)
- },
- data: function (a, b, c) {
- return R(a, b, c)
- },
- removeData: function (a, b) {
- return S(a, b)
- },
- _data: function (a, b, c) {
- return R(a, b, c, !0)
- },
- _removeData: function (a, b) {
- return S(a, b, !0)
- }
- }), n.fn.extend({
- data: function (a, b) {
- var c, d, e, f = this[0], g = f && f.attributes;
- if (void 0 === a) {
- if (this.length && (e = n.data(f), 1 === f.nodeType && !n._data(f, "parsedAttrs"))) {
- c = g.length;
- while (c--)d = g[c].name, 0 === d.indexOf("data-") && (d = n.camelCase(d.slice(5)), P(f, d, e[d]));
- n._data(f, "parsedAttrs", !0)
- }
- return e
- }
- return "object" == typeof a ? this.each(function () {
- n.data(this, a)
- }) : arguments.length > 1 ? this.each(function () {
- n.data(this, a, b)
- }) : f ? P(f, a, n.data(f, a)) : void 0
- }, removeData: function (a) {
- return this.each(function () {
- n.removeData(this, a)
- })
- }
- }), n.extend({
- queue: function (a, b, c) {
- var d;
- return a ? (b = (b || "fx") + "queue", d = n._data(a, b), c && (!d || n.isArray(c) ? d = n._data(a, b, n.makeArray(c)) : d.push(c)), d || []) : void 0
- }, dequeue: function (a, b) {
- b = b || "fx";
- var c = n.queue(a, b), d = c.length, e = c.shift(), f = n._queueHooks(a, b), g = function () {
- n.dequeue(a, b)
- };
- "inprogress" === e && (e = c.shift(), d--), e && ("fx" === b && c.unshift("inprogress"), delete f.stop, e.call(a, g, f)), !d && f && f.empty.fire()
- }, _queueHooks: function (a, b) {
- var c = b + "queueHooks";
- return n._data(a, c) || n._data(a, c, {
- empty: n.Callbacks("once memory").add(function () {
- n._removeData(a, b + "queue"), n._removeData(a, c)
- })
- })
- }
- }), n.fn.extend({
- queue: function (a, b) {
- var c = 2;
- return "string" != typeof a && (b = a, a = "fx", c--), arguments.length < c ? n.queue(this[0], a) : void 0 === b ? this : this.each(function () {
- var c = n.queue(this, a, b);
- n._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && n.dequeue(this, a)
- })
- }, dequeue: function (a) {
- return this.each(function () {
- n.dequeue(this, a)
- })
- }, clearQueue: function (a) {
- return this.queue(a || "fx", [])
- }, promise: function (a, b) {
- var c, d = 1, e = n.Deferred(), f = this, g = this.length, h = function () {
- --d || e.resolveWith(f, [f])
- };
- "string" != typeof a && (b = a, a = void 0), a = a || "fx";
- while (g--)c = n._data(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h));
- return h(), e.promise(b)
- }
- });
- var T = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, U = ["Top", "Right", "Bottom", "Left"], V = function (a, b) {
- return a = b || a, "none" === n.css(a, "display") || !n.contains(a.ownerDocument, a)
- }, W = n.access = function (a, b, c, d, e, f, g) {
- var h = 0, i = a.length, j = null == c;
- if ("object" === n.type(c)) {
- e = !0;
- for (h in c)n.access(a, b, h, c[h], !0, f, g)
- } else if (void 0 !== d && (e = !0, n.isFunction(d) || (g = !0), j && (g ? (b.call(a, d), b = null) : (j = b, b = function (a, b, c) {
- return j.call(n(a), c)
- })), b))for (; i > h; h++)b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)));
- return e ? a : j ? b.call(a) : i ? b(a[0], c) : f
- }, X = /^(?:checkbox|radio)$/i;
- !function () {
- var a = z.createDocumentFragment(), b = z.createElement("div"), c = z.createElement("input");
- if (b.setAttribute("className", "t"), b.innerHTML = " <link/><table></table><a href='/a'>a</a>", l.leadingWhitespace = 3 === b.firstChild.nodeType, l.tbody = !b.getElementsByTagName("tbody").length, l.htmlSerialize = !!b.getElementsByTagName("link").length, l.html5Clone = "<:nav></:nav>" !== z.createElement("nav").cloneNode(!0).outerHTML, c.type = "checkbox", c.checked = !0, a.appendChild(c), l.appendChecked = c.checked, b.innerHTML = "<textarea>x</textarea>", l.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue, a.appendChild(b), b.innerHTML = "<input type='radio' checked='checked' name='t'/>", l.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked, l.noCloneEvent = !0, b.attachEvent && (b.attachEvent("onclick", function () {
- l.noCloneEvent = !1
- }), b.cloneNode(!0).click()), null == l.deleteExpando) {
- l.deleteExpando = !0;
- try {
- delete b.test
- } catch (d) {
- l.deleteExpando = !1
- }
- }
- a = b = c = null
- }(), function () {
- var b, c, d = z.createElement("div");
- for (b in{
- submit: !0,
- change: !0,
- focusin: !0
- })c = "on" + b, (l[b + "Bubbles"] = c in a) || (d.setAttribute(c, "t"), l[b + "Bubbles"] = d.attributes[c].expando === !1);
- d = null
- }();
- var Y = /^(?:input|select|textarea)$/i, Z = /^key/, $ = /^(?:mouse|contextmenu)|click/, _ = /^(?:focusinfocus|focusoutblur)$/, ab = /^([^.]*)(?:\.(.+)|)$/;
-
- function bb() {
- return !0
- }
-
- function cb() {
- return !1
- }
-
- function db() {
- try {
- return z.activeElement
- } catch (a) {
- }
- }
-
- n.event = {
- global: {},
- add: function (a, b, c, d, e) {
- var f, g, h, i, j, k, l, m, o, p, q, r = n._data(a);
- if (r) {
- c.handler && (i = c, c = i.handler, e = i.selector), c.guid || (c.guid = n.guid++), (g = r.events) || (g = r.events = {}), (k = r.handle) || (k = r.handle = function (a) {
- return typeof n === L || a && n.event.triggered === a.type ? void 0 : n.event.dispatch.apply(k.elem, arguments)
- }, k.elem = a), b = (b || "").match(F) || [""], h = b.length;
- while (h--)f = ab.exec(b[h]) || [], o = q = f[1], p = (f[2] || "").split(".").sort(), o && (j = n.event.special[o] || {}, o = (e ? j.delegateType : j.bindType) || o, j = n.event.special[o] || {}, l = n.extend({
- type: o,
- origType: q,
- data: d,
- handler: c,
- guid: c.guid,
- selector: e,
- needsContext: e && n.expr.match.needsContext.test(e),
- namespace: p.join(".")
- }, i), (m = g[o]) || (m = g[o] = [], m.delegateCount = 0, j.setup && j.setup.call(a, d, p, k) !== !1 || (a.addEventListener ? a.addEventListener(o, k, !1) : a.attachEvent && a.attachEvent("on" + o, k))), j.add && (j.add.call(a, l), l.handler.guid || (l.handler.guid = c.guid)), e ? m.splice(m.delegateCount++, 0, l) : m.push(l), n.event.global[o] = !0);
- a = null
- }
- },
- remove: function (a, b, c, d, e) {
- var f, g, h, i, j, k, l, m, o, p, q, r = n.hasData(a) && n._data(a);
- if (r && (k = r.events)) {
- b = (b || "").match(F) || [""], j = b.length;
- while (j--)if (h = ab.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o) {
- l = n.event.special[o] || {}, o = (d ? l.delegateType : l.bindType) || o, m = k[o] || [], h = h[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), i = f = m.length;
- while (f--)g = m[f], !e && q !== g.origType || c && c.guid !== g.guid || h && !h.test(g.namespace) || d && d !== g.selector && ("**" !== d || !g.selector) || (m.splice(f, 1), g.selector && m.delegateCount--, l.remove && l.remove.call(a, g));
- i && !m.length && (l.teardown && l.teardown.call(a, p, r.handle) !== !1 || n.removeEvent(a, o, r.handle), delete k[o])
- } else for (o in k)n.event.remove(a, o + b[j], c, d, !0);
- n.isEmptyObject(k) && (delete r.handle, n._removeData(a, "events"))
- }
- },
- trigger: function (b, c, d, e) {
- var f, g, h, i, k, l, m, o = [d || z], p = j.call(b, "type") ? b.type : b, q = j.call(b, "namespace") ? b.namespace.split(".") : [];
- if (h = l = d = d || z, 3 !== d.nodeType && 8 !== d.nodeType && !_.test(p + n.event.triggered) && (p.indexOf(".") >= 0 && (q = p.split("."), p = q.shift(), q.sort()), g = p.indexOf(":") < 0 && "on" + p, b = b[n.expando] ? b : new n.Event(p, "object" == typeof b && b), b.isTrigger = e ? 2 : 3, b.namespace = q.join("."), b.namespace_re = b.namespace ? new RegExp("(^|\\.)" + q.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = d), c = null == c ? [b] : n.makeArray(c, [b]), k = n.event.special[p] || {}, e || !k.trigger || k.trigger.apply(d, c) !== !1)) {
- if (!e && !k.noBubble && !n.isWindow(d)) {
- for (i = k.delegateType || p, _.test(i + p) || (h = h.parentNode); h; h = h.parentNode)o.push(h), l = h;
- l === (d.ownerDocument || z) && o.push(l.defaultView || l.parentWindow || a)
- }
- m = 0;
- while ((h = o[m++]) && !b.isPropagationStopped())b.type = m > 1 ? i : k.bindType || p, f = (n._data(h, "events") || {})[b.type] && n._data(h, "handle"), f && f.apply(h, c), f = g && h[g], f && f.apply && n.acceptData(h) && (b.result = f.apply(h, c), b.result === !1 && b.preventDefault());
- if (b.type = p, !e && !b.isDefaultPrevented() && (!k._default || k._default.apply(o.pop(), c) === !1) && n.acceptData(d) && g && d[p] && !n.isWindow(d)) {
- l = d[g], l && (d[g] = null), n.event.triggered = p;
- try {
- d[p]()
- } catch (r) {
- }
- n.event.triggered = void 0, l && (d[g] = l)
- }
- return b.result
- }
- },
- dispatch: function (a) {
- a = n.event.fix(a);
- var b, c, e, f, g, h = [], i = d.call(arguments), j = (n._data(this, "events") || {})[a.type] || [], k = n.event.special[a.type] || {};
- if (i[0] = a, a.delegateTarget = this, !k.preDispatch || k.preDispatch.call(this, a) !== !1) {
- h = n.event.handlers.call(this, a, j), b = 0;
- while ((f = h[b++]) && !a.isPropagationStopped()) {
- a.currentTarget = f.elem, g = 0;
- while ((e = f.handlers[g++]) && !a.isImmediatePropagationStopped())(!a.namespace_re || a.namespace_re.test(e.namespace)) && (a.handleObj = e, a.data = e.data, c = ((n.event.special[e.origType] || {}).handle || e.handler).apply(f.elem, i), void 0 !== c && (a.result = c) === !1 && (a.preventDefault(), a.stopPropagation()))
- }
- return k.postDispatch && k.postDispatch.call(this, a), a.result
- }
- },
- handlers: function (a, b) {
- var c, d, e, f, g = [], h = b.delegateCount, i = a.target;
- if (h && i.nodeType && (!a.button || "click" !== a.type))for (; i != this; i = i.parentNode || this)if (1 === i.nodeType && (i.disabled !== !0 || "click" !== a.type)) {
- for (e = [], f = 0; h > f; f++)d = b[f], c = d.selector + " ", void 0 === e[c] && (e[c] = d.needsContext ? n(c, this).index(i) >= 0 : n.find(c, this, null, [i]).length), e[c] && e.push(d);
- e.length && g.push({elem: i, handlers: e})
- }
- return h < b.length && g.push({elem: this, handlers: b.slice(h)}), g
- },
- fix: function (a) {
- if (a[n.expando])return a;
- var b, c, d, e = a.type, f = a, g = this.fixHooks[e];
- g || (this.fixHooks[e] = g = $.test(e) ? this.mouseHooks : Z.test(e) ? this.keyHooks : {}), d = g.props ? this.props.concat(g.props) : this.props, a = new n.Event(f), b = d.length;
- while (b--)c = d[b], a[c] = f[c];
- return a.target || (a.target = f.srcElement || z), 3 === a.target.nodeType && (a.target = a.target.parentNode), a.metaKey = !!a.metaKey, g.filter ? g.filter(a, f) : a
- },
- props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
- fixHooks: {},
- keyHooks: {
- props: "char charCode key keyCode".split(" "), filter: function (a, b) {
- return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode), a
- }
- },
- mouseHooks: {
- props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
- filter: function (a, b) {
- var c, d, e, f = b.button, g = b.fromElement;
- return null == a.pageX && null != b.clientX && (d = a.target.ownerDocument || z, e = d.documentElement, c = d.body, a.pageX = b.clientX + (e && e.scrollLeft || c && c.scrollLeft || 0) - (e && e.clientLeft || c && c.clientLeft || 0), a.pageY = b.clientY + (e && e.scrollTop || c && c.scrollTop || 0) - (e && e.clientTop || c && c.clientTop || 0)), !a.relatedTarget && g && (a.relatedTarget = g === a.target ? b.toElement : g), a.which || void 0 === f || (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0), a
- }
- },
- special: {
- load: {noBubble: !0}, focus: {
- trigger: function () {
- if (this !== db() && this.focus)try {
- return this.focus(), !1
- } catch (a) {
- }
- }, delegateType: "focusin"
- }, blur: {
- trigger: function () {
- return this === db() && this.blur ? (this.blur(), !1) : void 0
- }, delegateType: "focusout"
- }, click: {
- trigger: function () {
- return n.nodeName(this, "input") && "checkbox" === this.type && this.click ? (this.click(), !1) : void 0
- }, _default: function (a) {
- return n.nodeName(a.target, "a")
- }
- }, beforeunload: {
- postDispatch: function (a) {
- void 0 !== a.result && (a.originalEvent.returnValue = a.result)
- }
- }
- },
- simulate: function (a, b, c, d) {
- var e = n.extend(new n.Event, c, {type: a, isSimulated: !0, originalEvent: {}});
- d ? n.event.trigger(e, null, b) : n.event.dispatch.call(b, e), e.isDefaultPrevented() && c.preventDefault()
- }
- }, n.removeEvent = z.removeEventListener ? function (a, b, c) {
- a.removeEventListener && a.removeEventListener(b, c, !1)
- } : function (a, b, c) {
- var d = "on" + b;
- a.detachEvent && (typeof a[d] === L && (a[d] = null), a.detachEvent(d, c))
- }, n.Event = function (a, b) {
- return this instanceof n.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && (a.returnValue === !1 || a.getPreventDefault && a.getPreventDefault()) ? bb : cb) : this.type = a, b && n.extend(this, b), this.timeStamp = a && a.timeStamp || n.now(), void(this[n.expando] = !0)) : new n.Event(a, b)
- }, n.Event.prototype = {
- isDefaultPrevented: cb,
- isPropagationStopped: cb,
- isImmediatePropagationStopped: cb,
- preventDefault: function () {
- var a = this.originalEvent;
- this.isDefaultPrevented = bb, a && (a.preventDefault ? a.preventDefault() : a.returnValue = !1)
- },
- stopPropagation: function () {
- var a = this.originalEvent;
- this.isPropagationStopped = bb, a && (a.stopPropagation && a.stopPropagation(), a.cancelBubble = !0)
- },
- stopImmediatePropagation: function () {
- this.isImmediatePropagationStopped = bb, this.stopPropagation()
- }
- }, n.each({mouseenter: "mouseover", mouseleave: "mouseout"}, function (a, b) {
- n.event.special[a] = {
- delegateType: b, bindType: b, handle: function (a) {
- var c, d = this, e = a.relatedTarget, f = a.handleObj;
- return (!e || e !== d && !n.contains(d, e)) && (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c
- }
- }
- }), l.submitBubbles || (n.event.special.submit = {
- setup: function () {
- return n.nodeName(this, "form") ? !1 : void n.event.add(this, "click._submit keypress._submit", function (a) {
- var b = a.target, c = n.nodeName(b, "input") || n.nodeName(b, "button") ? b.form : void 0;
- c && !n._data(c, "submitBubbles") && (n.event.add(c, "submit._submit", function (a) {
- a._submit_bubble = !0
- }), n._data(c, "submitBubbles", !0))
- })
- }, postDispatch: function (a) {
- a._submit_bubble && (delete a._submit_bubble, this.parentNode && !a.isTrigger && n.event.simulate("submit", this.parentNode, a, !0))
- }, teardown: function () {
- return n.nodeName(this, "form") ? !1 : void n.event.remove(this, "._submit")
- }
- }), l.changeBubbles || (n.event.special.change = {
- setup: function () {
- return Y.test(this.nodeName) ? (("checkbox" === this.type || "radio" === this.type) && (n.event.add(this, "propertychange._change", function (a) {
- "checked" === a.originalEvent.propertyName && (this._just_changed = !0)
- }), n.event.add(this, "click._change", function (a) {
- this._just_changed && !a.isTrigger && (this._just_changed = !1), n.event.simulate("change", this, a, !0)
- })), !1) : void n.event.add(this, "beforeactivate._change", function (a) {
- var b = a.target;
- Y.test(b.nodeName) && !n._data(b, "changeBubbles") && (n.event.add(b, "change._change", function (a) {
- !this.parentNode || a.isSimulated || a.isTrigger || n.event.simulate("change", this.parentNode, a, !0)
- }), n._data(b, "changeBubbles", !0))
- })
- }, handle: function (a) {
- var b = a.target;
- return this !== b || a.isSimulated || a.isTrigger || "radio" !== b.type && "checkbox" !== b.type ? a.handleObj.handler.apply(this, arguments) : void 0
- }, teardown: function () {
- return n.event.remove(this, "._change"), !Y.test(this.nodeName)
- }
- }), l.focusinBubbles || n.each({focus: "focusin", blur: "focusout"}, function (a, b) {
- var c = function (a) {
- n.event.simulate(b, a.target, n.event.fix(a), !0)
- };
- n.event.special[b] = {
- setup: function () {
- var d = this.ownerDocument || this, e = n._data(d, b);
- e || d.addEventListener(a, c, !0), n._data(d, b, (e || 0) + 1)
- }, teardown: function () {
- var d = this.ownerDocument || this, e = n._data(d, b) - 1;
- e ? n._data(d, b, e) : (d.removeEventListener(a, c, !0), n._removeData(d, b))
- }
- }
- }), n.fn.extend({
- on: function (a, b, c, d, e) {
- var f, g;
- if ("object" == typeof a) {
- "string" != typeof b && (c = c || b, b = void 0);
- for (f in a)this.on(f, b, c, a[f], e);
- return this
- }
- if (null == c && null == d ? (d = b, c = b = void 0) : null == d && ("string" == typeof b ? (d = c, c = void 0) : (d = c, c = b, b = void 0)), d === !1)d = cb; else if (!d)return this;
- return 1 === e && (g = d, d = function (a) {
- return n().off(a), g.apply(this, arguments)
- }, d.guid = g.guid || (g.guid = n.guid++)), this.each(function () {
- n.event.add(this, a, d, c, b)
- })
- }, one: function (a, b, c, d) {
- return this.on(a, b, c, d, 1)
- }, off: function (a, b, c) {
- var d, e;
- if (a && a.preventDefault && a.handleObj)return d = a.handleObj, n(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler), this;
- if ("object" == typeof a) {
- for (e in a)this.off(e, b, a[e]);
- return this
- }
- return (b === !1 || "function" == typeof b) && (c = b, b = void 0), c === !1 && (c = cb), this.each(function () {
- n.event.remove(this, a, c, b)
- })
- }, trigger: function (a, b) {
- return this.each(function () {
- n.event.trigger(a, b, this)
- })
- }, triggerHandler: function (a, b) {
- var c = this[0];
- return c ? n.event.trigger(a, b, c, !0) : void 0
- }
- });
- function eb(a) {
- var b = fb.split("|"), c = a.createDocumentFragment();
- if (c.createElement)while (b.length)c.createElement(b.pop());
- return c
- }
-
- var fb = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", gb = / jQuery\d+="(?:null|\d+)"/g, hb = new RegExp("<(?:" + fb + ")[\\s/>]", "i"), ib = /^\s+/, jb = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, kb = /<([\w:]+)/, lb = /<tbody/i, mb = /<|&#?\w+;/, nb = /<(?:script|style|link)/i, ob = /checked\s*(?:[^=]|=\s*.checked.)/i, pb = /^$|\/(?:java|ecma)script/i, qb = /^true\/(.*)/, rb = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, sb = {
- option: [1, "<select multiple='multiple'>", "</select>"],
- legend: [1, "<fieldset>", "</fieldset>"],
- area: [1, "<map>", "</map>"],
- param: [1, "<object>", "</object>"],
- thead: [1, "<table>", "</table>"],
- tr: [2, "<table><tbody>", "</tbody></table>"],
- col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
- td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
- _default: l.htmlSerialize ? [0, "", ""] : [1, "X<div>", "</div>"]
- }, tb = eb(z), ub = tb.appendChild(z.createElement("div"));
- sb.optgroup = sb.option, sb.tbody = sb.tfoot = sb.colgroup = sb.caption = sb.thead, sb.th = sb.td;
- function vb(a, b) {
- var c, d, e = 0, f = typeof a.getElementsByTagName !== L ? a.getElementsByTagName(b || "*") : typeof a.querySelectorAll !== L ? a.querySelectorAll(b || "*") : void 0;
- if (!f)for (f = [], c = a.childNodes || a; null != (d = c[e]); e++)!b || n.nodeName(d, b) ? f.push(d) : n.merge(f, vb(d, b));
- return void 0 === b || b && n.nodeName(a, b) ? n.merge([a], f) : f
- }
-
- function wb(a) {
- X.test(a.type) && (a.defaultChecked = a.checked)
- }
-
- function xb(a, b) {
- return n.nodeName(a, "table") && n.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a
- }
-
- function yb(a) {
- return a.type = (null !== n.find.attr(a, "type")) + "/" + a.type, a
- }
-
- function zb(a) {
- var b = qb.exec(a.type);
- return b ? a.type = b[1] : a.removeAttribute("type"), a
- }
-
- function Ab(a, b) {
- for (var c, d = 0; null != (c = a[d]); d++)n._data(c, "globalEval", !b || n._data(b[d], "globalEval"))
- }
-
- function Bb(a, b) {
- if (1 === b.nodeType && n.hasData(a)) {
- var c, d, e, f = n._data(a), g = n._data(b, f), h = f.events;
- if (h) {
- delete g.handle, g.events = {};
- for (c in h)for (d = 0, e = h[c].length; e > d; d++)n.event.add(b, c, h[c][d])
- }
- g.data && (g.data = n.extend({}, g.data))
- }
- }
-
- function Cb(a, b) {
- var c, d, e;
- if (1 === b.nodeType) {
- if (c = b.nodeName.toLowerCase(), !l.noCloneEvent && b[n.expando]) {
- e = n._data(b);
- for (d in e.events)n.removeEvent(b, d, e.handle);
- b.removeAttribute(n.expando)
- }
- "script" === c && b.text !== a.text ? (yb(b).text = a.text, zb(b)) : "object" === c ? (b.parentNode && (b.outerHTML = a.outerHTML), l.html5Clone && a.innerHTML && !n.trim(b.innerHTML) && (b.innerHTML = a.innerHTML)) : "input" === c && X.test(a.type) ? (b.defaultChecked = b.checked = a.checked, b.value !== a.value && (b.value = a.value)) : "option" === c ? b.defaultSelected = b.selected = a.defaultSelected : ("input" === c || "textarea" === c) && (b.defaultValue = a.defaultValue)
- }
- }
-
- n.extend({
- clone: function (a, b, c) {
- var d, e, f, g, h, i = n.contains(a.ownerDocument, a);
- if (l.html5Clone || n.isXMLDoc(a) || !hb.test("<" + a.nodeName + ">") ? f = a.cloneNode(!0) : (ub.innerHTML = a.outerHTML, ub.removeChild(f = ub.firstChild)), !(l.noCloneEvent && l.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || n.isXMLDoc(a)))for (d = vb(f), h = vb(a), g = 0; null != (e = h[g]); ++g)d[g] && Cb(e, d[g]);
- if (b)if (c)for (h = h || vb(a), d = d || vb(f), g = 0; null != (e = h[g]); g++)Bb(e, d[g]); else Bb(a, f);
- return d = vb(f, "script"), d.length > 0 && Ab(d, !i && vb(a, "script")), d = h = e = null, f
- }, buildFragment: function (a, b, c, d) {
- for (var e, f, g, h, i, j, k, m = a.length, o = eb(b), p = [], q = 0; m > q; q++)if (f = a[q], f || 0 === f)if ("object" === n.type(f))n.merge(p, f.nodeType ? [f] : f); else if (mb.test(f)) {
- h = h || o.appendChild(b.createElement("div")), i = (kb.exec(f) || ["", ""])[1].toLowerCase(), k = sb[i] || sb._default, h.innerHTML = k[1] + f.replace(jb, "<$1></$2>") + k[2], e = k[0];
- while (e--)h = h.lastChild;
- if (!l.leadingWhitespace && ib.test(f) && p.push(b.createTextNode(ib.exec(f)[0])), !l.tbody) {
- f = "table" !== i || lb.test(f) ? "<table>" !== k[1] || lb.test(f) ? 0 : h : h.firstChild, e = f && f.childNodes.length;
- while (e--)n.nodeName(j = f.childNodes[e], "tbody") && !j.childNodes.length && f.removeChild(j)
- }
- n.merge(p, h.childNodes), h.textContent = "";
- while (h.firstChild)h.removeChild(h.firstChild);
- h = o.lastChild
- } else p.push(b.createTextNode(f));
- h && o.removeChild(h), l.appendChecked || n.grep(vb(p, "input"), wb), q = 0;
- while (f = p[q++])if ((!d || -1 === n.inArray(f, d)) && (g = n.contains(f.ownerDocument, f), h = vb(o.appendChild(f), "script"), g && Ab(h), c)) {
- e = 0;
- while (f = h[e++])pb.test(f.type || "") && c.push(f)
- }
- return h = null, o
- }, cleanData: function (a, b) {
- for (var d, e, f, g, h = 0, i = n.expando, j = n.cache, k = l.deleteExpando, m = n.event.special; null != (d = a[h]); h++)if ((b || n.acceptData(d)) && (f = d[i], g = f && j[f])) {
- if (g.events)for (e in g.events)m[e] ? n.event.remove(d, e) : n.removeEvent(d, e, g.handle);
- j[f] && (delete j[f], k ? delete d[i] : typeof d.removeAttribute !== L ? d.removeAttribute(i) : d[i] = null, c.push(f))
- }
- }
- }), n.fn.extend({
- text: function (a) {
- return W(this, function (a) {
- return void 0 === a ? n.text(this) : this.empty().append((this[0] && this[0].ownerDocument || z).createTextNode(a))
- }, null, a, arguments.length)
- }, append: function () {
- return this.domManip(arguments, function (a) {
- if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
- var b = xb(this, a);
- b.appendChild(a)
- }
- })
- }, prepend: function () {
- return this.domManip(arguments, function (a) {
- if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
- var b = xb(this, a);
- b.insertBefore(a, b.firstChild)
- }
- })
- }, before: function () {
- return this.domManip(arguments, function (a) {
- this.parentNode && this.parentNode.insertBefore(a, this)
- })
- }, after: function () {
- return this.domManip(arguments, function (a) {
- this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)
- })
- }, remove: function (a, b) {
- for (var c, d = a ? n.filter(a, this) : this, e = 0; null != (c = d[e]); e++)b || 1 !== c.nodeType || n.cleanData(vb(c)), c.parentNode && (b && n.contains(c.ownerDocument, c) && Ab(vb(c, "script")), c.parentNode.removeChild(c));
- return this
- }, empty: function () {
- for (var a, b = 0; null != (a = this[b]); b++) {
- 1 === a.nodeType && n.cleanData(vb(a, !1));
- while (a.firstChild)a.removeChild(a.firstChild);
- a.options && n.nodeName(a, "select") && (a.options.length = 0)
- }
- return this
- }, clone: function (a, b) {
- return a = null == a ? !1 : a, b = null == b ? a : b, this.map(function () {
- return n.clone(this, a, b)
- })
- }, html: function (a) {
- return W(this, function (a) {
- var b = this[0] || {}, c = 0, d = this.length;
- if (void 0 === a)return 1 === b.nodeType ? b.innerHTML.replace(gb, "") : void 0;
- if (!("string" != typeof a || nb.test(a) || !l.htmlSerialize && hb.test(a) || !l.leadingWhitespace && ib.test(a) || sb[(kb.exec(a) || ["", ""])[1].toLowerCase()])) {
- a = a.replace(jb, "<$1></$2>");
- try {
- for (; d > c; c++)b = this[c] || {}, 1 === b.nodeType && (n.cleanData(vb(b, !1)), b.innerHTML = a);
- b = 0
- } catch (e) {
- }
- }
- b && this.empty().append(a)
- }, null, a, arguments.length)
- }, replaceWith: function () {
- var a = arguments[0];
- return this.domManip(arguments, function (b) {
- a = this.parentNode, n.cleanData(vb(this)), a && a.replaceChild(b, this)
- }), a && (a.length || a.nodeType) ? this : this.remove()
- }, detach: function (a) {
- return this.remove(a, !0)
- }, domManip: function (a, b) {
- a = e.apply([], a);
- var c, d, f, g, h, i, j = 0, k = this.length, m = this, o = k - 1, p = a[0], q = n.isFunction(p);
- if (q || k > 1 && "string" == typeof p && !l.checkClone && ob.test(p))return this.each(function (c) {
- var d = m.eq(c);
- q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b)
- });
- if (k && (i = n.buildFragment(a, this[0].ownerDocument, !1, this), c = i.firstChild, 1 === i.childNodes.length && (i = c), c)) {
- for (g = n.map(vb(i, "script"), yb), f = g.length; k > j; j++)d = i, j !== o && (d = n.clone(d, !0, !0), f && n.merge(g, vb(d, "script"))), b.call(this[j], d, j);
- if (f)for (h = g[g.length - 1].ownerDocument, n.map(g, zb), j = 0; f > j; j++)d = g[j], pb.test(d.type || "") && !n._data(d, "globalEval") && n.contains(h, d) && (d.src ? n._evalUrl && n._evalUrl(d.src) : n.globalEval((d.text || d.textContent || d.innerHTML || "").replace(rb, "")));
- i = c = null
- }
- return this
- }
- }), n.each({
- appendTo: "append",
- prependTo: "prepend",
- insertBefore: "before",
- insertAfter: "after",
- replaceAll: "replaceWith"
- }, function (a, b) {
- n.fn[a] = function (a) {
- for (var c, d = 0, e = [], g = n(a), h = g.length - 1; h >= d; d++)c = d === h ? this : this.clone(!0), n(g[d])[b](c), f.apply(e, c.get());
- return this.pushStack(e)
- }
- });
- var Db, Eb = {};
-
- function Fb(b, c) {
- var d = n(c.createElement(b)).appendTo(c.body), e = a.getDefaultComputedStyle ? a.getDefaultComputedStyle(d[0]).display : n.css(d[0], "display");
- return d.detach(), e
- }
-
- function Gb(a) {
- var b = z, c = Eb[a];
- return c || (c = Fb(a, b), "none" !== c && c || (Db = (Db || n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement), b = (Db[0].contentWindow || Db[0].contentDocument).document, b.write(), b.close(), c = Fb(a, b), Db.detach()), Eb[a] = c), c
- }
-
- !function () {
- var a, b, c = z.createElement("div"), d = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";
- c.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", a = c.getElementsByTagName("a")[0], a.style.cssText = "float:left;opacity:.5", l.opacity = /^0.5/.test(a.style.opacity), l.cssFloat = !!a.style.cssFloat, c.style.backgroundClip = "content-box", c.cloneNode(!0).style.backgroundClip = "", l.clearCloneStyle = "content-box" === c.style.backgroundClip, a = c = null, l.shrinkWrapBlocks = function () {
- var a, c, e, f;
- if (null == b) {
- if (a = z.getElementsByTagName("body")[0], !a)return;
- f = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px", c = z.createElement("div"), e = z.createElement("div"), a.appendChild(c).appendChild(e), b = !1, typeof e.style.zoom !== L && (e.style.cssText = d + ";width:1px;padding:1px;zoom:1", e.innerHTML = "<div></div>", e.firstChild.style.width = "5px", b = 3 !== e.offsetWidth), a.removeChild(c), a = c = e = null
- }
- return b
- }
- }();
- var Hb = /^margin/, Ib = new RegExp("^(" + T + ")(?!px)[a-z%]+$", "i"), Jb, Kb, Lb = /^(top|right|bottom|left)$/;
- a.getComputedStyle ? (Jb = function (a) {
- return a.ownerDocument.defaultView.getComputedStyle(a, null)
- }, Kb = function (a, b, c) {
- var d, e, f, g, h = a.style;
- return c = c || Jb(a), g = c ? c.getPropertyValue(b) || c[b] : void 0, c && ("" !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)), Ib.test(g) && Hb.test(b) && (d = h.width, e = h.minWidth, f = h.maxWidth, h.minWidth = h.maxWidth = h.width = g, g = c.width, h.width = d, h.minWidth = e, h.maxWidth = f)), void 0 === g ? g : g + ""
- }) : z.documentElement.currentStyle && (Jb = function (a) {
- return a.currentStyle
- }, Kb = function (a, b, c) {
- var d, e, f, g, h = a.style;
- return c = c || Jb(a), g = c ? c[b] : void 0, null == g && h && h[b] && (g = h[b]), Ib.test(g) && !Lb.test(b) && (d = h.left, e = a.runtimeStyle, f = e && e.left, f && (e.left = a.currentStyle.left), h.left = "fontSize" === b ? "1em" : g, g = h.pixelLeft + "px", h.left = d, f && (e.left = f)), void 0 === g ? g : g + "" || "auto"
- });
- function Mb(a, b) {
- return {
- get: function () {
- var c = a();
- if (null != c)return c ? void delete this.get : (this.get = b).apply(this, arguments)
- }
- }
- }
-
- !function () {
- var b, c, d, e, f, g, h = z.createElement("div"), i = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px", j = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";
- h.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", b = h.getElementsByTagName("a")[0], b.style.cssText = "float:left;opacity:.5", l.opacity = /^0.5/.test(b.style.opacity), l.cssFloat = !!b.style.cssFloat, h.style.backgroundClip = "content-box", h.cloneNode(!0).style.backgroundClip = "", l.clearCloneStyle = "content-box" === h.style.backgroundClip, b = h = null, n.extend(l, {
- reliableHiddenOffsets: function () {
- if (null != c)return c;
- var a, b, d, e = z.createElement("div"), f = z.getElementsByTagName("body")[0];
- if (f)return e.setAttribute("className", "t"), e.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", a = z.createElement("div"), a.style.cssText = i, f.appendChild(a).appendChild(e), e.innerHTML = "<table><tr><td></td><td>t</td></tr></table>", b = e.getElementsByTagName("td"), b[0].style.cssText = "padding:0;margin:0;border:0;display:none", d = 0 === b[0].offsetHeight, b[0].style.display = "", b[1].style.display = "none", c = d && 0 === b[0].offsetHeight, f.removeChild(a), e = f = null, c
- }, boxSizing: function () {
- return null == d && k(), d
- }, boxSizingReliable: function () {
- return null == e && k(), e
- }, pixelPosition: function () {
- return null == f && k(), f
- }, reliableMarginRight: function () {
- var b, c, d, e;
- if (null == g && a.getComputedStyle) {
- if (b = z.getElementsByTagName("body")[0], !b)return;
- c = z.createElement("div"), d = z.createElement("div"), c.style.cssText = i, b.appendChild(c).appendChild(d), e = d.appendChild(z.createElement("div")), e.style.cssText = d.style.cssText = j, e.style.marginRight = e.style.width = "0", d.style.width = "1px", g = !parseFloat((a.getComputedStyle(e, null) || {}).marginRight), b.removeChild(c)
- }
- return g
- }
- });
- function k() {
- var b, c, h = z.getElementsByTagName("body")[0];
- h && (b = z.createElement("div"), c = z.createElement("div"), b.style.cssText = i, h.appendChild(b).appendChild(c), c.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%", n.swap(h, null != h.style.zoom ? {zoom: 1} : {}, function () {
- d = 4 === c.offsetWidth
- }), e = !0, f = !1, g = !0, a.getComputedStyle && (f = "1%" !== (a.getComputedStyle(c, null) || {}).top, e = "4px" === (a.getComputedStyle(c, null) || {width: "4px"}).width), h.removeChild(b), c = h = null)
- }
- }(), n.swap = function (a, b, c, d) {
- var e, f, g = {};
- for (f in b)g[f] = a.style[f], a.style[f] = b[f];
- e = c.apply(a, d || []);
- for (f in b)a.style[f] = g[f];
- return e
- };
- var Nb = /alpha\([^)]*\)/i, Ob = /opacity\s*=\s*([^)]*)/, Pb = /^(none|table(?!-c[ea]).+)/, Qb = new RegExp("^(" + T + ")(.*)$", "i"), Rb = new RegExp("^([+-])=(" + T + ")", "i"), Sb = {
- position: "absolute",
- visibility: "hidden",
- display: "block"
- }, Tb = {letterSpacing: 0, fontWeight: 400}, Ub = ["Webkit", "O", "Moz", "ms"];
-
- function Vb(a, b) {
- if (b in a)return b;
- var c = b.charAt(0).toUpperCase() + b.slice(1), d = b, e = Ub.length;
- while (e--)if (b = Ub[e] + c, b in a)return b;
- return d
- }
-
- function Wb(a, b) {
- for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++)d = a[g], d.style && (f[g] = n._data(d, "olddisplay"), c = d.style.display, b ? (f[g] || "none" !== c || (d.style.display = ""), "" === d.style.display && V(d) && (f[g] = n._data(d, "olddisplay", Gb(d.nodeName)))) : f[g] || (e = V(d), (c && "none" !== c || !e) && n._data(d, "olddisplay", e ? c : n.css(d, "display"))));
- for (g = 0; h > g; g++)d = a[g], d.style && (b && "none" !== d.style.display && "" !== d.style.display || (d.style.display = b ? f[g] || "" : "none"));
- return a
- }
-
- function Xb(a, b, c) {
- var d = Qb.exec(b);
- return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b
- }
-
- function Yb(a, b, c, d, e) {
- for (var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0, g = 0; 4 > f; f += 2)"margin" === c && (g += n.css(a, c + U[f], !0, e)), d ? ("content" === c && (g -= n.css(a, "padding" + U[f], !0, e)), "margin" !== c && (g -= n.css(a, "border" + U[f] + "Width", !0, e))) : (g += n.css(a, "padding" + U[f], !0, e), "padding" !== c && (g += n.css(a, "border" + U[f] + "Width", !0, e)));
- return g
- }
-
- function Zb(a, b, c) {
- var d = !0, e = "width" === b ? a.offsetWidth : a.offsetHeight, f = Jb(a), g = l.boxSizing() && "border-box" === n.css(a, "boxSizing", !1, f);
- if (0 >= e || null == e) {
- if (e = Kb(a, b, f), (0 > e || null == e) && (e = a.style[b]), Ib.test(e))return e;
- d = g && (l.boxSizingReliable() || e === a.style[b]), e = parseFloat(e) || 0
- }
- return e + Yb(a, b, c || (g ? "border" : "content"), d, f) + "px"
- }
-
- n.extend({
- cssHooks: {
- opacity: {
- get: function (a, b) {
- if (b) {
- var c = Kb(a, "opacity");
- return "" === c ? "1" : c
- }
- }
- }
- },
- cssNumber: {
- columnCount: !0,
- fillOpacity: !0,
- fontWeight: !0,
- lineHeight: !0,
- opacity: !0,
- order: !0,
- orphans: !0,
- widows: !0,
- zIndex: !0,
- zoom: !0
- },
- cssProps: {"float": l.cssFloat ? "cssFloat" : "styleFloat"},
- style: function (a, b, c, d) {
- if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
- var e, f, g, h = n.camelCase(b), i = a.style;
- if (b = n.cssProps[h] || (n.cssProps[h] = Vb(i, h)), g = n.cssHooks[b] || n.cssHooks[h], void 0 === c)return g && "get"in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b];
- if (f = typeof c, "string" === f && (e = Rb.exec(c)) && (c = (e[1] + 1) * e[2] + parseFloat(n.css(a, b)), f = "number"), null != c && c === c && ("number" !== f || n.cssNumber[h] || (c += "px"), l.clearCloneStyle || "" !== c || 0 !== b.indexOf("background") || (i[b] = "inherit"), !(g && "set"in g && void 0 === (c = g.set(a, c, d)))))try {
- i[b] = "", i[b] = c
- } catch (j) {
- }
- }
- },
- css: function (a, b, c, d) {
- var e, f, g, h = n.camelCase(b);
- return b = n.cssProps[h] || (n.cssProps[h] = Vb(a.style, h)), g = n.cssHooks[b] || n.cssHooks[h], g && "get"in g && (f = g.get(a, !0, c)), void 0 === f && (f = Kb(a, b, d)), "normal" === f && b in Tb && (f = Tb[b]), "" === c || c ? (e = parseFloat(f), c === !0 || n.isNumeric(e) ? e || 0 : f) : f
- }
- }), n.each(["height", "width"], function (a, b) {
- n.cssHooks[b] = {
- get: function (a, c, d) {
- return c ? 0 === a.offsetWidth && Pb.test(n.css(a, "display")) ? n.swap(a, Sb, function () {
- return Zb(a, b, d)
- }) : Zb(a, b, d) : void 0
- }, set: function (a, c, d) {
- var e = d && Jb(a);
- return Xb(a, c, d ? Yb(a, b, d, l.boxSizing() && "border-box" === n.css(a, "boxSizing", !1, e), e) : 0)
- }
- }
- }), l.opacity || (n.cssHooks.opacity = {
- get: function (a, b) {
- return Ob.test((b && a.currentStyle ? a.currentStyle.filter : a.style.filter) || "") ? .01 * parseFloat(RegExp.$1) + "" : b ? "1" : ""
- }, set: function (a, b) {
- var c = a.style, d = a.currentStyle, e = n.isNumeric(b) ? "alpha(opacity=" + 100 * b + ")" : "", f = d && d.filter || c.filter || "";
- c.zoom = 1, (b >= 1 || "" === b) && "" === n.trim(f.replace(Nb, "")) && c.removeAttribute && (c.removeAttribute("filter"), "" === b || d && !d.filter) || (c.filter = Nb.test(f) ? f.replace(Nb, e) : f + " " + e)
- }
- }), n.cssHooks.marginRight = Mb(l.reliableMarginRight, function (a, b) {
- return b ? n.swap(a, {display: "inline-block"}, Kb, [a, "marginRight"]) : void 0
- }), n.each({margin: "", padding: "", border: "Width"}, function (a, b) {
- n.cssHooks[a + b] = {
- expand: function (c) {
- for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; 4 > d; d++)e[a + U[d] + b] = f[d] || f[d - 2] || f[0];
- return e
- }
- }, Hb.test(a) || (n.cssHooks[a + b].set = Xb)
- }), n.fn.extend({
- css: function (a, b) {
- return W(this, function (a, b, c) {
- var d, e, f = {}, g = 0;
- if (n.isArray(b)) {
- for (d = Jb(a), e = b.length; e > g; g++)f[b[g]] = n.css(a, b[g], !1, d);
- return f
- }
- return void 0 !== c ? n.style(a, b, c) : n.css(a, b)
- }, a, b, arguments.length > 1)
- }, show: function () {
- return Wb(this, !0)
- }, hide: function () {
- return Wb(this)
- }, toggle: function (a) {
- return "boolean" == typeof a ? a ? this.show() : this.hide() : this.each(function () {
- V(this) ? n(this).show() : n(this).hide()
- })
- }
- });
- function $b(a, b, c, d, e) {
- return new $b.prototype.init(a, b, c, d, e)
- }
-
- n.Tween = $b, $b.prototype = {
- constructor: $b, init: function (a, b, c, d, e, f) {
- this.elem = a, this.prop = c, this.easing = e || "swing", this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (n.cssNumber[c] ? "" : "px")
- }, cur: function () {
- var a = $b.propHooks[this.prop];
- return a && a.get ? a.get(this) : $b.propHooks._default.get(this)
- }, run: function (a) {
- var b, c = $b.propHooks[this.prop];
- return this.pos = b = this.options.duration ? n.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : a, this.now = (this.end - this.start) * b + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), c && c.set ? c.set(this) : $b.propHooks._default.set(this), this
- }
- }, $b.prototype.init.prototype = $b.prototype, $b.propHooks = {
- _default: {
- get: function (a) {
- var b;
- return null == a.elem[a.prop] || a.elem.style && null != a.elem.style[a.prop] ? (b = n.css(a.elem, a.prop, ""), b && "auto" !== b ? b : 0) : a.elem[a.prop]
- }, set: function (a) {
- n.fx.step[a.prop] ? n.fx.step[a.prop](a) : a.elem.style && (null != a.elem.style[n.cssProps[a.prop]] || n.cssHooks[a.prop]) ? n.style(a.elem, a.prop, a.now + a.unit) : a.elem[a.prop] = a.now
- }
- }
- }, $b.propHooks.scrollTop = $b.propHooks.scrollLeft = {
- set: function (a) {
- a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now)
- }
- }, n.easing = {
- linear: function (a) {
- return a
- }, swing: function (a) {
- return .5 - Math.cos(a * Math.PI) / 2
- }
- }, n.fx = $b.prototype.init, n.fx.step = {};
- var _b, ac, bc = /^(?:toggle|show|hide)$/, cc = new RegExp("^(?:([+-])=|)(" + T + ")([a-z%]*)$", "i"), dc = /queueHooks$/, ec = [jc], fc = {
- "*": [function (a, b) {
- var c = this.createTween(a, b), d = c.cur(), e = cc.exec(b), f = e && e[3] || (n.cssNumber[a] ? "" : "px"), g = (n.cssNumber[a] || "px" !== f && +d) && cc.exec(n.css(c.elem, a)), h = 1, i = 20;
- if (g && g[3] !== f) {
- f = f || g[3], e = e || [], g = +d || 1;
- do h = h || ".5", g /= h, n.style(c.elem, a, g + f); while (h !== (h = c.cur() / d) && 1 !== h && --i)
- }
- return e && (g = c.start = +g || +d || 0, c.unit = f, c.end = e[1] ? g + (e[1] + 1) * e[2] : +e[2]), c
- }]
- };
-
- function gc() {
- return setTimeout(function () {
- _b = void 0
- }), _b = n.now()
- }
-
- function hc(a, b) {
- var c, d = {height: a}, e = 0;
- for (b = b ? 1 : 0; 4 > e; e += 2 - b)c = U[e], d["margin" + c] = d["padding" + c] = a;
- return b && (d.opacity = d.width = a), d
- }
-
- function ic(a, b, c) {
- for (var d, e = (fc[b] || []).concat(fc["*"]), f = 0, g = e.length; g > f; f++)if (d = e[f].call(c, b, a))return d
- }
-
- function jc(a, b, c) {
- var d, e, f, g, h, i, j, k, m = this, o = {}, p = a.style, q = a.nodeType && V(a), r = n._data(a, "fxshow");
- c.queue || (h = n._queueHooks(a, "fx"), null == h.unqueued && (h.unqueued = 0, i = h.empty.fire, h.empty.fire = function () {
- h.unqueued || i()
- }), h.unqueued++, m.always(function () {
- m.always(function () {
- h.unqueued--, n.queue(a, "fx").length || h.empty.fire()
- })
- })), 1 === a.nodeType && ("height"in b || "width"in b) && (c.overflow = [p.overflow, p.overflowX, p.overflowY], j = n.css(a, "display"), k = Gb(a.nodeName), "none" === j && (j = k), "inline" === j && "none" === n.css(a, "float") && (l.inlineBlockNeedsLayout && "inline" !== k ? p.zoom = 1 : p.display = "inline-block")), c.overflow && (p.overflow = "hidden", l.shrinkWrapBlocks() || m.always(function () {
- p.overflow = c.overflow[0], p.overflowX = c.overflow[1], p.overflowY = c.overflow[2]
- }));
- for (d in b)if (e = b[d], bc.exec(e)) {
- if (delete b[d], f = f || "toggle" === e, e === (q ? "hide" : "show")) {
- if ("show" !== e || !r || void 0 === r[d])continue;
- q = !0
- }
- o[d] = r && r[d] || n.style(a, d)
- }
- if (!n.isEmptyObject(o)) {
- r ? "hidden"in r && (q = r.hidden) : r = n._data(a, "fxshow", {}), f && (r.hidden = !q), q ? n(a).show() : m.done(function () {
- n(a).hide()
- }), m.done(function () {
- var b;
- n._removeData(a, "fxshow");
- for (b in o)n.style(a, b, o[b])
- });
- for (d in o)g = ic(q ? r[d] : 0, d, m), d in r || (r[d] = g.start, q && (g.end = g.start, g.start = "width" === d || "height" === d ? 1 : 0))
- }
- }
-
- function kc(a, b) {
- var c, d, e, f, g;
- for (c in a)if (d = n.camelCase(c), e = b[d], f = a[c], n.isArray(f) && (e = f[1], f = a[c] = f[0]), c !== d && (a[d] = f, delete a[c]), g = n.cssHooks[d], g && "expand"in g) {
- f = g.expand(f), delete a[d];
- for (c in f)c in a || (a[c] = f[c], b[c] = e)
- } else b[d] = e
- }
-
- function lc(a, b, c) {
- var d, e, f = 0, g = ec.length, h = n.Deferred().always(function () {
- delete i.elem
- }), i = function () {
- if (e)return !1;
- for (var b = _b || gc(), c = Math.max(0, j.startTime + j.duration - b), d = c / j.duration || 0, f = 1 - d, g = 0, i = j.tweens.length; i > g; g++)j.tweens[g].run(f);
- return h.notifyWith(a, [j, f, c]), 1 > f && i ? c : (h.resolveWith(a, [j]), !1)
- }, j = h.promise({
- elem: a,
- props: n.extend({}, b),
- opts: n.extend(!0, {specialEasing: {}}, c),
- originalProperties: b,
- originalOptions: c,
- startTime: _b || gc(),
- duration: c.duration,
- tweens: [],
- createTween: function (b, c) {
- var d = n.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing);
- return j.tweens.push(d), d
- },
- stop: function (b) {
- var c = 0, d = b ? j.tweens.length : 0;
- if (e)return this;
- for (e = !0; d > c; c++)j.tweens[c].run(1);
- return b ? h.resolveWith(a, [j, b]) : h.rejectWith(a, [j, b]), this
- }
- }), k = j.props;
- for (kc(k, j.opts.specialEasing); g > f; f++)if (d = ec[f].call(j, a, k, j.opts))return d;
- return n.map(k, ic, j), n.isFunction(j.opts.start) && j.opts.start.call(a, j), n.fx.timer(n.extend(i, {
- elem: a,
- anim: j,
- queue: j.opts.queue
- })), j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
- }
-
- n.Animation = n.extend(lc, {
- tweener: function (a, b) {
- n.isFunction(a) ? (b = a, a = ["*"]) : a = a.split(" ");
- for (var c, d = 0, e = a.length; e > d; d++)c = a[d], fc[c] = fc[c] || [], fc[c].unshift(b)
- }, prefilter: function (a, b) {
- b ? ec.unshift(a) : ec.push(a)
- }
- }), n.speed = function (a, b, c) {
- var d = a && "object" == typeof a ? n.extend({}, a) : {
- complete: c || !c && b || n.isFunction(a) && a,
- duration: a,
- easing: c && b || b && !n.isFunction(b) && b
- };
- return d.duration = n.fx.off ? 0 : "number" == typeof d.duration ? d.duration : d.duration in n.fx.speeds ? n.fx.speeds[d.duration] : n.fx.speeds._default, (null == d.queue || d.queue === !0) && (d.queue = "fx"), d.old = d.complete, d.complete = function () {
- n.isFunction(d.old) && d.old.call(this), d.queue && n.dequeue(this, d.queue)
- }, d
- }, n.fn.extend({
- fadeTo: function (a, b, c, d) {
- return this.filter(V).css("opacity", 0).show().end().animate({opacity: b}, a, c, d)
- }, animate: function (a, b, c, d) {
- var e = n.isEmptyObject(a), f = n.speed(b, c, d), g = function () {
- var b = lc(this, n.extend({}, a), f);
- (e || n._data(this, "finish")) && b.stop(!0)
- };
- return g.finish = g, e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g)
- }, stop: function (a, b, c) {
- var d = function (a) {
- var b = a.stop;
- delete a.stop, b(c)
- };
- return "string" != typeof a && (c = b, b = a, a = void 0), b && a !== !1 && this.queue(a || "fx", []), this.each(function () {
- var b = !0, e = null != a && a + "queueHooks", f = n.timers, g = n._data(this);
- if (e)g[e] && g[e].stop && d(g[e]); else for (e in g)g[e] && g[e].stop && dc.test(e) && d(g[e]);
- for (e = f.length; e--;)f[e].elem !== this || null != a && f[e].queue !== a || (f[e].anim.stop(c), b = !1, f.splice(e, 1));
- (b || !c) && n.dequeue(this, a)
- })
- }, finish: function (a) {
- return a !== !1 && (a = a || "fx"), this.each(function () {
- var b, c = n._data(this), d = c[a + "queue"], e = c[a + "queueHooks"], f = n.timers, g = d ? d.length : 0;
- for (c.finish = !0, n.queue(this, a, []), e && e.stop && e.stop.call(this, !0), b = f.length; b--;)f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0), f.splice(b, 1));
- for (b = 0; g > b; b++)d[b] && d[b].finish && d[b].finish.call(this);
- delete c.finish
- })
- }
- }), n.each(["toggle", "show", "hide"], function (a, b) {
- var c = n.fn[b];
- n.fn[b] = function (a, d, e) {
- return null == a || "boolean" == typeof a ? c.apply(this, arguments) : this.animate(hc(b, !0), a, d, e)
- }
- }), n.each({
- slideDown: hc("show"),
- slideUp: hc("hide"),
- slideToggle: hc("toggle"),
- fadeIn: {opacity: "show"},
- fadeOut: {opacity: "hide"},
- fadeToggle: {opacity: "toggle"}
- }, function (a, b) {
- n.fn[a] = function (a, c, d) {
- return this.animate(b, a, c, d)
- }
- }), n.timers = [], n.fx.tick = function () {
- var a, b = n.timers, c = 0;
- for (_b = n.now(); c < b.length; c++)a = b[c], a() || b[c] !== a || b.splice(c--, 1);
- b.length || n.fx.stop(), _b = void 0
- }, n.fx.timer = function (a) {
- n.timers.push(a), a() ? n.fx.start() : n.timers.pop()
- }, n.fx.interval = 13, n.fx.start = function () {
- ac || (ac = setInterval(n.fx.tick, n.fx.interval))
- }, n.fx.stop = function () {
- clearInterval(ac), ac = null
- }, n.fx.speeds = {slow: 600, fast: 200, _default: 400}, n.fn.delay = function (a, b) {
- return a = n.fx ? n.fx.speeds[a] || a : a, b = b || "fx", this.queue(b, function (b, c) {
- var d = setTimeout(b, a);
- c.stop = function () {
- clearTimeout(d)
- }
- })
- }, function () {
- var a, b, c, d, e = z.createElement("div");
- e.setAttribute("className", "t"), e.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", a = e.getElementsByTagName("a")[0], c = z.createElement("select"), d = c.appendChild(z.createElement("option")), b = e.getElementsByTagName("input")[0], a.style.cssText = "top:1px", l.getSetAttribute = "t" !== e.className, l.style = /top/.test(a.getAttribute("style")), l.hrefNormalized = "/a" === a.getAttribute("href"), l.checkOn = !!b.value, l.optSelected = d.selected, l.enctype = !!z.createElement("form").enctype, c.disabled = !0, l.optDisabled = !d.disabled, b = z.createElement("input"), b.setAttribute("value", ""), l.input = "" === b.getAttribute("value"), b.value = "t", b.setAttribute("type", "radio"), l.radioValue = "t" === b.value, a = b = c = d = e = null
- }();
- var mc = /\r/g;
- n.fn.extend({
- val: function (a) {
- var b, c, d, e = this[0];
- {
- if (arguments.length)return d = n.isFunction(a), this.each(function (c) {
- var e;
- 1 === this.nodeType && (e = d ? a.call(this, c, n(this).val()) : a, null == e ? e = "" : "number" == typeof e ? e += "" : n.isArray(e) && (e = n.map(e, function (a) {
- return null == a ? "" : a + ""
- })), b = n.valHooks[this.type] || n.valHooks[this.nodeName.toLowerCase()], b && "set"in b && void 0 !== b.set(this, e, "value") || (this.value = e))
- });
- if (e)return b = n.valHooks[e.type] || n.valHooks[e.nodeName.toLowerCase()], b && "get"in b && void 0 !== (c = b.get(e, "value")) ? c : (c = e.value, "string" == typeof c ? c.replace(mc, "") : null == c ? "" : c)
- }
- }
- }), n.extend({
- valHooks: {
- option: {
- get: function (a) {
- var b = n.find.attr(a, "value");
- return null != b ? b : n.text(a)
- }
- }, select: {
- get: function (a) {
- for (var b, c, d = a.options, e = a.selectedIndex, f = "select-one" === a.type || 0 > e, g = f ? null : [], h = f ? e + 1 : d.length, i = 0 > e ? h : f ? e : 0; h > i; i++)if (c = d[i], !(!c.selected && i !== e || (l.optDisabled ? c.disabled : null !== c.getAttribute("disabled")) || c.parentNode.disabled && n.nodeName(c.parentNode, "optgroup"))) {
- if (b = n(c).val(), f)return b;
- g.push(b)
- }
- return g
- }, set: function (a, b) {
- var c, d, e = a.options, f = n.makeArray(b), g = e.length;
- while (g--)if (d = e[g], n.inArray(n.valHooks.option.get(d), f) >= 0)try {
- d.selected = c = !0
- } catch (h) {
- d.scrollHeight
- } else d.selected = !1;
- return c || (a.selectedIndex = -1), e
- }
- }
- }
- }), n.each(["radio", "checkbox"], function () {
- n.valHooks[this] = {
- set: function (a, b) {
- return n.isArray(b) ? a.checked = n.inArray(n(a).val(), b) >= 0 : void 0
- }
- }, l.checkOn || (n.valHooks[this].get = function (a) {
- return null === a.getAttribute("value") ? "on" : a.value
- })
- });
- var nc, oc, pc = n.expr.attrHandle, qc = /^(?:checked|selected)$/i, rc = l.getSetAttribute, sc = l.input;
- n.fn.extend({
- attr: function (a, b) {
- return W(this, n.attr, a, b, arguments.length > 1)
- }, removeAttr: function (a) {
- return this.each(function () {
- n.removeAttr(this, a)
- })
- }
- }), n.extend({
- attr: function (a, b, c) {
- var d, e, f = a.nodeType;
- if (a && 3 !== f && 8 !== f && 2 !== f)return typeof a.getAttribute === L ? n.prop(a, b, c) : (1 === f && n.isXMLDoc(a) || (b = b.toLowerCase(), d = n.attrHooks[b] || (n.expr.match.bool.test(b) ? oc : nc)), void 0 === c ? d && "get"in d && null !== (e = d.get(a, b)) ? e : (e = n.find.attr(a, b), null == e ? void 0 : e) : null !== c ? d && "set"in d && void 0 !== (e = d.set(a, c, b)) ? e : (a.setAttribute(b, c + ""), c) : void n.removeAttr(a, b))
- }, removeAttr: function (a, b) {
- var c, d, e = 0, f = b && b.match(F);
- if (f && 1 === a.nodeType)while (c = f[e++])d = n.propFix[c] || c, n.expr.match.bool.test(c) ? sc && rc || !qc.test(c) ? a[d] = !1 : a[n.camelCase("default-" + c)] = a[d] = !1 : n.attr(a, c, ""), a.removeAttribute(rc ? c : d)
- }, attrHooks: {
- type: {
- set: function (a, b) {
- if (!l.radioValue && "radio" === b && n.nodeName(a, "input")) {
- var c = a.value;
- return a.setAttribute("type", b), c && (a.value = c), b
- }
- }
- }
- }
- }), oc = {
- set: function (a, b, c) {
- return b === !1 ? n.removeAttr(a, c) : sc && rc || !qc.test(c) ? a.setAttribute(!rc && n.propFix[c] || c, c) : a[n.camelCase("default-" + c)] = a[c] = !0, c
- }
- }, n.each(n.expr.match.bool.source.match(/\w+/g), function (a, b) {
- var c = pc[b] || n.find.attr;
- pc[b] = sc && rc || !qc.test(b) ? function (a, b, d) {
- var e, f;
- return d || (f = pc[b], pc[b] = e, e = null != c(a, b, d) ? b.toLowerCase() : null, pc[b] = f), e
- } : function (a, b, c) {
- return c ? void 0 : a[n.camelCase("default-" + b)] ? b.toLowerCase() : null
- }
- }), sc && rc || (n.attrHooks.value = {
- set: function (a, b, c) {
- return n.nodeName(a, "input") ? void(a.defaultValue = b) : nc && nc.set(a, b, c)
- }
- }), rc || (nc = {
- set: function (a, b, c) {
- var d = a.getAttributeNode(c);
- return d || a.setAttributeNode(d = a.ownerDocument.createAttribute(c)), d.value = b += "", "value" === c || b === a.getAttribute(c) ? b : void 0
- }
- }, pc.id = pc.name = pc.coords = function (a, b, c) {
- var d;
- return c ? void 0 : (d = a.getAttributeNode(b)) && "" !== d.value ? d.value : null
- }, n.valHooks.button = {
- get: function (a, b) {
- var c = a.getAttributeNode(b);
- return c && c.specified ? c.value : void 0
- }, set: nc.set
- }, n.attrHooks.contenteditable = {
- set: function (a, b, c) {
- nc.set(a, "" === b ? !1 : b, c)
- }
- }, n.each(["width", "height"], function (a, b) {
- n.attrHooks[b] = {
- set: function (a, c) {
- return "" === c ? (a.setAttribute(b, "auto"), c) : void 0
- }
- }
- })), l.style || (n.attrHooks.style = {
- get: function (a) {
- return a.style.cssText || void 0
- }, set: function (a, b) {
- return a.style.cssText = b + ""
- }
- });
- var tc = /^(?:input|select|textarea|button|object)$/i, uc = /^(?:a|area)$/i;
- n.fn.extend({
- prop: function (a, b) {
- return W(this, n.prop, a, b, arguments.length > 1)
- }, removeProp: function (a) {
- return a = n.propFix[a] || a, this.each(function () {
- try {
- this[a] = void 0, delete this[a]
- } catch (b) {
- }
- })
- }
- }), n.extend({
- propFix: {"for": "htmlFor", "class": "className"}, prop: function (a, b, c) {
- var d, e, f, g = a.nodeType;
- if (a && 3 !== g && 8 !== g && 2 !== g)return f = 1 !== g || !n.isXMLDoc(a), f && (b = n.propFix[b] || b, e = n.propHooks[b]), void 0 !== c ? e && "set"in e && void 0 !== (d = e.set(a, c, b)) ? d : a[b] = c : e && "get"in e && null !== (d = e.get(a, b)) ? d : a[b]
- }, propHooks: {
- tabIndex: {
- get: function (a) {
- var b = n.find.attr(a, "tabindex");
- return b ? parseInt(b, 10) : tc.test(a.nodeName) || uc.test(a.nodeName) && a.href ? 0 : -1
- }
- }
- }
- }), l.hrefNormalized || n.each(["href", "src"], function (a, b) {
- n.propHooks[b] = {
- get: function (a) {
- return a.getAttribute(b, 4)
- }
- }
- }), l.optSelected || (n.propHooks.selected = {
- get: function (a) {
- var b = a.parentNode;
- return b && (b.selectedIndex, b.parentNode && b.parentNode.selectedIndex), null
- }
- }), n.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () {
- n.propFix[this.toLowerCase()] = this
- }), l.enctype || (n.propFix.enctype = "encoding");
- var vc = /[\t\r\n\f]/g;
- n.fn.extend({
- addClass: function (a) {
- var b, c, d, e, f, g, h = 0, i = this.length, j = "string" == typeof a && a;
- if (n.isFunction(a))return this.each(function (b) {
- n(this).addClass(a.call(this, b, this.className))
- });
- if (j)for (b = (a || "").match(F) || []; i > h; h++)if (c = this[h], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(vc, " ") : " ")) {
- f = 0;
- while (e = b[f++])d.indexOf(" " + e + " ") < 0 && (d += e + " ");
- g = n.trim(d), c.className !== g && (c.className = g)
- }
- return this
- }, removeClass: function (a) {
- var b, c, d, e, f, g, h = 0, i = this.length, j = 0 === arguments.length || "string" == typeof a && a;
- if (n.isFunction(a))return this.each(function (b) {
- n(this).removeClass(a.call(this, b, this.className))
- });
- if (j)for (b = (a || "").match(F) || []; i > h; h++)if (c = this[h], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(vc, " ") : "")) {
- f = 0;
- while (e = b[f++])while (d.indexOf(" " + e + " ") >= 0)d = d.replace(" " + e + " ", " ");
- g = a ? n.trim(d) : "", c.className !== g && (c.className = g)
- }
- return this
- }, toggleClass: function (a, b) {
- var c = typeof a;
- return "boolean" == typeof b && "string" === c ? b ? this.addClass(a) : this.removeClass(a) : this.each(n.isFunction(a) ? function (c) {
- n(this).toggleClass(a.call(this, c, this.className, b), b)
- } : function () {
- if ("string" === c) {
- var b, d = 0, e = n(this), f = a.match(F) || [];
- while (b = f[d++])e.hasClass(b) ? e.removeClass(b) : e.addClass(b)
- } else(c === L || "boolean" === c) && (this.className && n._data(this, "__className__", this.className), this.className = this.className || a === !1 ? "" : n._data(this, "__className__") || "")
- })
- }, hasClass: function (a) {
- for (var b = " " + a + " ", c = 0, d = this.length; d > c; c++)if (1 === this[c].nodeType && (" " + this[c].className + " ").replace(vc, " ").indexOf(b) >= 0)return !0;
- return !1
- }
- }), n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function (a, b) {
- n.fn[b] = function (a, c) {
- return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b)
- }
- }), n.fn.extend({
- hover: function (a, b) {
- return this.mouseenter(a).mouseleave(b || a)
- }, bind: function (a, b, c) {
- return this.on(a, null, b, c)
- }, unbind: function (a, b) {
- return this.off(a, null, b)
- }, delegate: function (a, b, c, d) {
- return this.on(b, a, c, d)
- }, undelegate: function (a, b, c) {
- return 1 === arguments.length ? this.off(a, "**") : this.off(b, a || "**", c)
- }
- });
- var wc = n.now(), xc = /\?/, yc = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
- n.parseJSON = function (b) {
- if (a.JSON && a.JSON.parse)return a.JSON.parse(b + "");
- var c, d = null, e = n.trim(b + "");
- return e && !n.trim(e.replace(yc, function (a, b, e, f) {
- return c && b && (d = 0), 0 === d ? a : (c = e || b, d += !f - !e, "")
- })) ? Function("return " + e)() : n.error("Invalid JSON: " + b)
- }, n.parseXML = function (b) {
- var c, d;
- if (!b || "string" != typeof b)return null;
- try {
- a.DOMParser ? (d = new DOMParser, c = d.parseFromString(b, "text/xml")) : (c = new ActiveXObject("Microsoft.XMLDOM"), c.async = "false", c.loadXML(b))
- } catch (e) {
- c = void 0
- }
- return c && c.documentElement && !c.getElementsByTagName("parsererror").length || n.error("Invalid XML: " + b), c
- };
- var zc, Ac, Bc = /#.*$/, Cc = /([?&])_=[^&]*/, Dc = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm, Ec = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, Fc = /^(?:GET|HEAD)$/, Gc = /^\/\//, Hc = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/, Ic = {}, Jc = {}, Kc = "*/".concat("*");
- try {
- Ac = location.href
- } catch (Lc) {
- Ac = z.createElement("a"), Ac.href = "", Ac = Ac.href
- }
- zc = Hc.exec(Ac.toLowerCase()) || [];
- function Mc(a) {
- return function (b, c) {
- "string" != typeof b && (c = b, b = "*");
- var d, e = 0, f = b.toLowerCase().match(F) || [];
- if (n.isFunction(c))while (d = f[e++])"+" === d.charAt(0) ? (d = d.slice(1) || "*", (a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c)
- }
- }
-
- function Nc(a, b, c, d) {
- var e = {}, f = a === Jc;
-
- function g(h) {
- var i;
- return e[h] = !0, n.each(a[h] || [], function (a, h) {
- var j = h(b, c, d);
- return "string" != typeof j || f || e[j] ? f ? !(i = j) : void 0 : (b.dataTypes.unshift(j), g(j), !1)
- }), i
- }
-
- return g(b.dataTypes[0]) || !e["*"] && g("*")
- }
-
- function Oc(a, b) {
- var c, d, e = n.ajaxSettings.flatOptions || {};
- for (d in b)void 0 !== b[d] && ((e[d] ? a : c || (c = {}))[d] = b[d]);
- return c && n.extend(!0, a, c), a
- }
-
- function Pc(a, b, c) {
- var d, e, f, g, h = a.contents, i = a.dataTypes;
- while ("*" === i[0])i.shift(), void 0 === e && (e = a.mimeType || b.getResponseHeader("Content-Type"));
- if (e)for (g in h)if (h[g] && h[g].test(e)) {
- i.unshift(g);
- break
- }
- if (i[0]in c)f = i[0]; else {
- for (g in c) {
- if (!i[0] || a.converters[g + " " + i[0]]) {
- f = g;
- break
- }
- d || (d = g)
- }
- f = f || d
- }
- return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0
- }
-
- function Qc(a, b, c, d) {
- var e, f, g, h, i, j = {}, k = a.dataTypes.slice();
- if (k[1])for (g in a.converters)j[g.toLowerCase()] = a.converters[g];
- f = k.shift();
- while (f)if (a.responseFields[f] && (c[a.responseFields[f]] = b), !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)), i = f, f = k.shift())if ("*" === f)f = i; else if ("*" !== i && i !== f) {
- if (g = j[i + " " + f] || j["* " + f], !g)for (e in j)if (h = e.split(" "), h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]])) {
- g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0], k.unshift(h[1]));
- break
- }
- if (g !== !0)if (g && a["throws"])b = g(b); else try {
- b = g(b)
- } catch (l) {
- return {state: "parsererror", error: g ? l : "No conversion from " + i + " to " + f}
- }
- }
- return {state: "success", data: b}
- }
-
- n.extend({
- active: 0,
- lastModified: {},
- etag: {},
- ajaxSettings: {
- url: Ac,
- type: "GET",
- isLocal: Ec.test(zc[1]),
- global: !0,
- processData: !0,
- async: !0,
- contentType: "application/x-www-form-urlencoded; charset=UTF-8",
- accepts: {
- "*": Kc,
- text: "text/plain",
- html: "text/html",
- xml: "application/xml, text/xml",
- json: "application/json, text/javascript"
- },
- contents: {xml: /xml/, html: /html/, json: /json/},
- responseFields: {xml: "responseXML", text: "responseText", json: "responseJSON"},
- converters: {"* text": String, "text html": !0, "text json": n.parseJSON, "text xml": n.parseXML},
- flatOptions: {url: !0, context: !0}
- },
- ajaxSetup: function (a, b) {
- return b ? Oc(Oc(a, n.ajaxSettings), b) : Oc(n.ajaxSettings, a)
- },
- ajaxPrefilter: Mc(Ic),
- ajaxTransport: Mc(Jc),
- ajax: function (a, b) {
- "object" == typeof a && (b = a, a = void 0), b = b || {};
- var c, d, e, f, g, h, i, j, k = n.ajaxSetup({}, b), l = k.context || k, m = k.context && (l.nodeType || l.jquery) ? n(l) : n.event, o = n.Deferred(), p = n.Callbacks("once memory"), q = k.statusCode || {}, r = {}, s = {}, t = 0, u = "canceled", v = {
- readyState: 0,
- getResponseHeader: function (a) {
- var b;
- if (2 === t) {
- if (!j) {
- j = {};
- while (b = Dc.exec(f))j[b[1].toLowerCase()] = b[2]
- }
- b = j[a.toLowerCase()]
- }
- return null == b ? null : b
- },
- getAllResponseHeaders: function () {
- return 2 === t ? f : null
- },
- setRequestHeader: function (a, b) {
- var c = a.toLowerCase();
- return t || (a = s[c] = s[c] || a, r[a] = b), this
- },
- overrideMimeType: function (a) {
- return t || (k.mimeType = a), this
- },
- statusCode: function (a) {
- var b;
- if (a)if (2 > t)for (b in a)q[b] = [q[b], a[b]]; else v.always(a[v.status]);
- return this
- },
- abort: function (a) {
- var b = a || u;
- return i && i.abort(b), x(0, b), this
- }
- };
- if (o.promise(v).complete = p.add, v.success = v.done, v.error = v.fail, k.url = ((a || k.url || Ac) + "").replace(Bc, "").replace(Gc, zc[1] + "//"), k.type = b.method || b.type || k.method || k.type, k.dataTypes = n.trim(k.dataType || "*").toLowerCase().match(F) || [""], null == k.crossDomain && (c = Hc.exec(k.url.toLowerCase()), k.crossDomain = !(!c || c[1] === zc[1] && c[2] === zc[2] && (c[3] || ("http:" === c[1] ? "80" : "443")) === (zc[3] || ("http:" === zc[1] ? "80" : "443")))), k.data && k.processData && "string" != typeof k.data && (k.data = n.param(k.data, k.traditional)), Nc(Ic, k, b, v), 2 === t)return v;
- h = k.global, h && 0 === n.active++ && n.event.trigger("ajaxStart"), k.type = k.type.toUpperCase(), k.hasContent = !Fc.test(k.type), e = k.url, k.hasContent || (k.data && (e = k.url += (xc.test(e) ? "&" : "?") + k.data, delete k.data), k.cache === !1 && (k.url = Cc.test(e) ? e.replace(Cc, "$1_=" + wc++) : e + (xc.test(e) ? "&" : "?") + "_=" + wc++)), k.ifModified && (n.lastModified[e] && v.setRequestHeader("If-Modified-Since", n.lastModified[e]), n.etag[e] && v.setRequestHeader("If-None-Match", n.etag[e])), (k.data && k.hasContent && k.contentType !== !1 || b.contentType) && v.setRequestHeader("Content-Type", k.contentType), v.setRequestHeader("Accept", k.dataTypes[0] && k.accepts[k.dataTypes[0]] ? k.accepts[k.dataTypes[0]] + ("*" !== k.dataTypes[0] ? ", " + Kc + "; q=0.01" : "") : k.accepts["*"]);
- for (d in k.headers)v.setRequestHeader(d, k.headers[d]);
- if (k.beforeSend && (k.beforeSend.call(l, v, k) === !1 || 2 === t))return v.abort();
- u = "abort";
- for (d in{success: 1, error: 1, complete: 1})v[d](k[d]);
- if (i = Nc(Jc, k, b, v)) {
- v.readyState = 1, h && m.trigger("ajaxSend", [v, k]), k.async && k.timeout > 0 && (g = setTimeout(function () {
- v.abort("timeout")
- }, k.timeout));
- try {
- t = 1, i.send(r, x)
- } catch (w) {
- if (!(2 > t))throw w;
- x(-1, w)
- }
- } else x(-1, "No Transport");
- function x(a, b, c, d) {
- var j, r, s, u, w, x = b;
- 2 !== t && (t = 2, g && clearTimeout(g), i = void 0, f = d || "", v.readyState = a > 0 ? 4 : 0, j = a >= 200 && 300 > a || 304 === a, c && (u = Pc(k, v, c)), u = Qc(k, u, v, j), j ? (k.ifModified && (w = v.getResponseHeader("Last-Modified"), w && (n.lastModified[e] = w), w = v.getResponseHeader("etag"), w && (n.etag[e] = w)), 204 === a || "HEAD" === k.type ? x = "nocontent" : 304 === a ? x = "notmodified" : (x = u.state, r = u.data, s = u.error, j = !s)) : (s = x, (a || !x) && (x = "error", 0 > a && (a = 0))), v.status = a, v.statusText = (b || x) + "", j ? o.resolveWith(l, [r, x, v]) : o.rejectWith(l, [v, x, s]), v.statusCode(q), q = void 0, h && m.trigger(j ? "ajaxSuccess" : "ajaxError", [v, k, j ? r : s]), p.fireWith(l, [v, x]), h && (m.trigger("ajaxComplete", [v, k]), --n.active || n.event.trigger("ajaxStop")))
- }
-
- return v
- },
- getJSON: function (a, b, c) {
- return n.get(a, b, c, "json")
- },
- getScript: function (a, b) {
- return n.get(a, void 0, b, "script")
- }
- }), n.each(["get", "post"], function (a, b) {
- n[b] = function (a, c, d, e) {
- return n.isFunction(c) && (e = e || d, d = c, c = void 0), n.ajax({
- url: a,
- type: b,
- dataType: e,
- data: c,
- success: d
- })
- }
- }), n.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (a, b) {
- n.fn[b] = function (a) {
- return this.on(b, a)
- }
- }), n._evalUrl = function (a) {
- return n.ajax({url: a, type: "GET", dataType: "script", async: !1, global: !1, "throws": !0})
- }, n.fn.extend({
- wrapAll: function (a) {
- if (n.isFunction(a))return this.each(function (b) {
- n(this).wrapAll(a.call(this, b))
- });
- if (this[0]) {
- var b = n(a, this[0].ownerDocument).eq(0).clone(!0);
- this[0].parentNode && b.insertBefore(this[0]), b.map(function () {
- var a = this;
- while (a.firstChild && 1 === a.firstChild.nodeType)a = a.firstChild;
- return a
- }).append(this)
- }
- return this
- }, wrapInner: function (a) {
- return this.each(n.isFunction(a) ? function (b) {
- n(this).wrapInner(a.call(this, b))
- } : function () {
- var b = n(this), c = b.contents();
- c.length ? c.wrapAll(a) : b.append(a)
- })
- }, wrap: function (a) {
- var b = n.isFunction(a);
- return this.each(function (c) {
- n(this).wrapAll(b ? a.call(this, c) : a)
- })
- }, unwrap: function () {
- return this.parent().each(function () {
- n.nodeName(this, "body") || n(this).replaceWith(this.childNodes)
- }).end()
- }
- }), n.expr.filters.hidden = function (a) {
- return a.offsetWidth <= 0 && a.offsetHeight <= 0 || !l.reliableHiddenOffsets() && "none" === (a.style && a.style.display || n.css(a, "display"))
- }, n.expr.filters.visible = function (a) {
- return !n.expr.filters.hidden(a)
- };
- var Rc = /%20/g, Sc = /\[\]$/, Tc = /\r?\n/g, Uc = /^(?:submit|button|image|reset|file)$/i, Vc = /^(?:input|select|textarea|keygen)/i;
-
- function Wc(a, b, c, d) {
- var e;
- if (n.isArray(b))n.each(b, function (b, e) {
- c || Sc.test(a) ? d(a, e) : Wc(a + "[" + ("object" == typeof e ? b : "") + "]", e, c, d)
- }); else if (c || "object" !== n.type(b))d(a, b); else for (e in b)Wc(a + "[" + e + "]", b[e], c, d)
- }
-
- n.param = function (a, b) {
- var c, d = [], e = function (a, b) {
- b = n.isFunction(b) ? b() : null == b ? "" : b, d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b)
- };
- if (void 0 === b && (b = n.ajaxSettings && n.ajaxSettings.traditional), n.isArray(a) || a.jquery && !n.isPlainObject(a))n.each(a, function () {
- e(this.name, this.value)
- }); else for (c in a)Wc(c, a[c], b, e);
- return d.join("&").replace(Rc, "+")
- }, n.fn.extend({
- serialize: function () {
- return n.param(this.serializeArray())
- }, serializeArray: function () {
- return this.map(function () {
- var a = n.prop(this, "elements");
- return a ? n.makeArray(a) : this
- }).filter(function () {
- var a = this.type;
- return this.name && !n(this).is(":disabled") && Vc.test(this.nodeName) && !Uc.test(a) && (this.checked || !X.test(a))
- }).map(function (a, b) {
- var c = n(this).val();
- return null == c ? null : n.isArray(c) ? n.map(c, function (a) {
- return {name: b.name, value: a.replace(Tc, "\r\n")}
- }) : {name: b.name, value: c.replace(Tc, "\r\n")}
- }).get()
- }
- }), n.ajaxSettings.xhr = void 0 !== a.ActiveXObject ? function () {
- return !this.isLocal && /^(get|post|head|put|delete|options)$/i.test(this.type) && $c() || _c()
- } : $c;
- var Xc = 0, Yc = {}, Zc = n.ajaxSettings.xhr();
- a.ActiveXObject && n(a).on("unload", function () {
- for (var a in Yc)Yc[a](void 0, !0)
- }), l.cors = !!Zc && "withCredentials"in Zc, Zc = l.ajax = !!Zc, Zc && n.ajaxTransport(function (a) {
- if (!a.crossDomain || l.cors) {
- var b;
- return {
- send: function (c, d) {
- var e, f = a.xhr(), g = ++Xc;
- if (f.open(a.type, a.url, a.async, a.username, a.password), a.xhrFields)for (e in a.xhrFields)f[e] = a.xhrFields[e];
- a.mimeType && f.overrideMimeType && f.overrideMimeType(a.mimeType), a.crossDomain || c["X-Requested-With"] || (c["X-Requested-With"] = "XMLHttpRequest");
- for (e in c)void 0 !== c[e] && f.setRequestHeader(e, c[e] + "");
- f.send(a.hasContent && a.data || null), b = function (c, e) {
- var h, i, j;
- if (b && (e || 4 === f.readyState))if (delete Yc[g], b = void 0, f.onreadystatechange = n.noop, e)4 !== f.readyState && f.abort(); else {
- j = {}, h = f.status, "string" == typeof f.responseText && (j.text = f.responseText);
- try {
- i = f.statusText
- } catch (k) {
- i = ""
- }
- h || !a.isLocal || a.crossDomain ? 1223 === h && (h = 204) : h = j.text ? 200 : 404
- }
- j && d(h, i, j, f.getAllResponseHeaders())
- }, a.async ? 4 === f.readyState ? setTimeout(b) : f.onreadystatechange = Yc[g] = b : b()
- }, abort: function () {
- b && b(void 0, !0)
- }
- }
- }
- });
- function $c() {
- try {
- return new a.XMLHttpRequest
- } catch (b) {
- }
- }
-
- function _c() {
- try {
- return new a.ActiveXObject("Microsoft.XMLHTTP")
- } catch (b) {
- }
- }
-
- n.ajaxSetup({
- accepts: {script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
- contents: {script: /(?:java|ecma)script/},
- converters: {
- "text script": function (a) {
- return n.globalEval(a), a
- }
- }
- }), n.ajaxPrefilter("script", function (a) {
- void 0 === a.cache && (a.cache = !1), a.crossDomain && (a.type = "GET", a.global = !1)
- }), n.ajaxTransport("script", function (a) {
- if (a.crossDomain) {
- var b, c = z.head || n("head")[0] || z.documentElement;
- return {
- send: function (d, e) {
- b = z.createElement("script"), b.async = !0, a.scriptCharset && (b.charset = a.scriptCharset), b.src = a.url, b.onload = b.onreadystatechange = function (a, c) {
- (c || !b.readyState || /loaded|complete/.test(b.readyState)) && (b.onload = b.onreadystatechange = null, b.parentNode && b.parentNode.removeChild(b), b = null, c || e(200, "success"))
- }, c.insertBefore(b, c.firstChild)
- }, abort: function () {
- b && b.onload(void 0, !0)
- }
- }
- }
- });
- var ad = [], bd = /(=)\?(?=&|$)|\?\?/;
- n.ajaxSetup({
- jsonp: "callback", jsonpCallback: function () {
- var a = ad.pop() || n.expando + "_" + wc++;
- return this[a] = !0, a
- }
- }), n.ajaxPrefilter("json jsonp", function (b, c, d) {
- var e, f, g, h = b.jsonp !== !1 && (bd.test(b.url) ? "url" : "string" == typeof b.data && !(b.contentType || "").indexOf("application/x-www-form-urlencoded") && bd.test(b.data) && "data");
- return h || "jsonp" === b.dataTypes[0] ? (e = b.jsonpCallback = n.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback, h ? b[h] = b[h].replace(bd, "$1" + e) : b.jsonp !== !1 && (b.url += (xc.test(b.url) ? "&" : "?") + b.jsonp + "=" + e), b.converters["script json"] = function () {
- return g || n.error(e + " was not called"), g[0]
- }, b.dataTypes[0] = "json", f = a[e], a[e] = function () {
- g = arguments
- }, d.always(function () {
- a[e] = f, b[e] && (b.jsonpCallback = c.jsonpCallback, ad.push(e)), g && n.isFunction(f) && f(g[0]), g = f = void 0
- }), "script") : void 0
- }), n.parseHTML = function (a, b, c) {
- if (!a || "string" != typeof a)return null;
- "boolean" == typeof b && (c = b, b = !1), b = b || z;
- var d = v.exec(a), e = !c && [];
- return d ? [b.createElement(d[1])] : (d = n.buildFragment([a], b, e), e && e.length && n(e).remove(), n.merge([], d.childNodes))
- };
- var cd = n.fn.load;
- n.fn.load = function (a, b, c) {
- if ("string" != typeof a && cd)return cd.apply(this, arguments);
- var d, e, f, g = this, h = a.indexOf(" ");
- return h >= 0 && (d = a.slice(h, a.length), a = a.slice(0, h)), n.isFunction(b) ? (c = b, b = void 0) : b && "object" == typeof b && (f = "POST"), g.length > 0 && n.ajax({
- url: a,
- type: f,
- dataType: "html",
- data: b
- }).done(function (a) {
- e = arguments, g.html(d ? n("<div>").append(n.parseHTML(a)).find(d) : a)
- }).complete(c && function (a, b) {
- g.each(c, e || [a.responseText, b, a])
- }), this
- }, n.expr.filters.animated = function (a) {
- return n.grep(n.timers, function (b) {
- return a === b.elem
- }).length
- };
- var dd = a.document.documentElement;
-
- function ed(a) {
- return n.isWindow(a) ? a : 9 === a.nodeType ? a.defaultView || a.parentWindow : !1
- }
-
- n.offset = {
- setOffset: function (a, b, c) {
- var d, e, f, g, h, i, j, k = n.css(a, "position"), l = n(a), m = {};
- "static" === k && (a.style.position = "relative"), h = l.offset(), f = n.css(a, "top"), i = n.css(a, "left"), j = ("absolute" === k || "fixed" === k) && n.inArray("auto", [f, i]) > -1, j ? (d = l.position(), g = d.top, e = d.left) : (g = parseFloat(f) || 0, e = parseFloat(i) || 0), n.isFunction(b) && (b = b.call(a, c, h)), null != b.top && (m.top = b.top - h.top + g), null != b.left && (m.left = b.left - h.left + e), "using"in b ? b.using.call(a, m) : l.css(m)
- }
- }, n.fn.extend({
- offset: function (a) {
- if (arguments.length)return void 0 === a ? this : this.each(function (b) {
- n.offset.setOffset(this, a, b)
- });
- var b, c, d = {top: 0, left: 0}, e = this[0], f = e && e.ownerDocument;
- if (f)return b = f.documentElement, n.contains(b, e) ? (typeof e.getBoundingClientRect !== L && (d = e.getBoundingClientRect()), c = ed(f), {
- top: d.top + (c.pageYOffset || b.scrollTop) - (b.clientTop || 0),
- left: d.left + (c.pageXOffset || b.scrollLeft) - (b.clientLeft || 0)
- }) : d
- }, position: function () {
- if (this[0]) {
- var a, b, c = {top: 0, left: 0}, d = this[0];
- return "fixed" === n.css(d, "position") ? b = d.getBoundingClientRect() : (a = this.offsetParent(), b = this.offset(), n.nodeName(a[0], "html") || (c = a.offset()), c.top += n.css(a[0], "borderTopWidth", !0), c.left += n.css(a[0], "borderLeftWidth", !0)), {
- top: b.top - c.top - n.css(d, "marginTop", !0),
- left: b.left - c.left - n.css(d, "marginLeft", !0)
- }
- }
- }, offsetParent: function () {
- return this.map(function () {
- var a = this.offsetParent || dd;
- while (a && !n.nodeName(a, "html") && "static" === n.css(a, "position"))a = a.offsetParent;
- return a || dd
- })
- }
- }), n.each({scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function (a, b) {
- var c = /Y/.test(b);
- n.fn[a] = function (d) {
- return W(this, function (a, d, e) {
- var f = ed(a);
- return void 0 === e ? f ? b in f ? f[b] : f.document.documentElement[d] : a[d] : void(f ? f.scrollTo(c ? n(f).scrollLeft() : e, c ? e : n(f).scrollTop()) : a[d] = e)
- }, a, d, arguments.length, null)
- }
- }), n.each(["top", "left"], function (a, b) {
- n.cssHooks[b] = Mb(l.pixelPosition, function (a, c) {
- return c ? (c = Kb(a, b), Ib.test(c) ? n(a).position()[b] + "px" : c) : void 0
- })
- }), n.each({Height: "height", Width: "width"}, function (a, b) {
- n.each({padding: "inner" + a, content: b, "": "outer" + a}, function (c, d) {
- n.fn[d] = function (d, e) {
- var f = arguments.length && (c || "boolean" != typeof d), g = c || (d === !0 || e === !0 ? "margin" : "border");
- return W(this, function (b, c, d) {
- var e;
- return n.isWindow(b) ? b.document.documentElement["client" + a] : 9 === b.nodeType ? (e = b.documentElement, Math.max(b.body["scroll" + a], e["scroll" + a], b.body["offset" + a], e["offset" + a], e["client" + a])) : void 0 === d ? n.css(b, c, g) : n.style(b, c, d, g)
- }, b, f ? d : void 0, f, null)
- }
- })
- }), n.fn.size = function () {
- return this.length
- }, n.fn.andSelf = n.fn.addBack, "function" == typeof define && define.amd && define("jquery", [], function () {
- return n
- });
- var fd = a.jQuery, gd = a.$;
- return n.noConflict = function (b) {
- return a.$ === n && (a.$ = gd), b && a.jQuery === n && (a.jQuery = fd), n
- }, typeof b === L && (a.jQuery = a.$ = n), n
-});
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/js/multi-handle-slider.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/js/multi-handle-slider.js
deleted file mode 100644
index 1b775ef0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-slider/js/multi-handle-slider.js
+++ /dev/null
@@ -1,64 +0,0 @@
-var vmMultiHandleSlider = function (controller) {
- return avalon.define({
- $id: controller,
- items: [],
- $setItems: function (items) {
- this.items = items;
- for (var i = 0; i < items.length; i++) {
- this.handleValues.push(items[i].value);
- this.handleTips.push(items[i].name);
- }
- },
- handleTips: [],
- $setHandleTips: function (tips) {
- this.handleTips = tips;
- },
- handleValues: [],
- $setHandleValues: function (values) {
- this.handleValues = values;
- },
- $initSlider: function (sliderDivId, wrapperId) {
- var that = this;
-
- if (this.handleValues.length != this.handleTips.length || this.handleValues.length != this.items.length) {
- alert("handle value and tips dis-match!");
- return;
- }
-
- var tooltip = '<div class="tooltip tooltip-style"><div class="tooltip-inner tooltip-text">$value</div></div>' +
- '<div class="tooltip tooltip-style-bottom"><div class="tooltip-inner tooltip-label">$type</div></div>';
-
- var showLabel = function (event, ui) {
- //防止滑块碰撞
- for (var i = 0; i < that.handleValues.length; i++) {
- if (ui.values[i] >= ui.values[i + 1]) {
- return false;
- }
- }
-
- var curValue = ui.value || $(this).slider("option", "value");
- var target = ui.handle || $('.ui-slider-handle');
- var handleId = $(target).attr("handleId");
- if ($(target).parents(".sliderWrapper").attr("classId") == "count")
- $(target).html(tooltip.replace("$value", curValue).replace("$type", that.handleTips[handleId]));
- else
- $(target).html(tooltip.replace("$value", curValue + "%").replace("$type", that.handleTips[handleId]));
-
- var handleInt = parseInt(handleId);
- that.items[handleInt].value = curValue;
- }
-
- var sliderAlarm = $("div#" + sliderDivId).slider({
- min: 0,
- max: 100,
- values: this.handleValues,
- slide: showLabel
- });
-
- for (var i = 0; i < this.handleTips.length; i++) {
- $($('#' + wrapperId + ' .ui-slider-handle')[i]).attr("handleId", i).html(tooltip.replace("$value", 20 * (i + 1) + "%").replace("$type", this.handleTips[i]));
- }
-
- }
- });
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/demo.html b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/demo.html
deleted file mode 100644
index 8e62fee3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/demo.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<head>
- <link rel="stylesheet" href="skill.css"/>
- <script src="../../thirdparty/jquery/jquery-1.10.2.min.js"></script>
- <script src="../../thirdparty/d3/d3.js"></script>
- <script src="skillsData.js"></script>
- <script src="sunburst.js"></script>
-</head>
-<body>
-<div id="demo_sunburst"></div>
-<script>
- var settings = {};
- settings.width = 500;
- settings.height = 500;
- sunburstGraph.refreshGraph(skillsdata, "demo_sunburst", settings);
-
-</script>
-</body> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/skill.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/skill.css
deleted file mode 100644
index 89444982..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/skill.css
+++ /dev/null
@@ -1,74 +0,0 @@
-div.skills-sunburst {
- font-size: 12px;
- font-weight: 400;
- text-align: center;
-/ / margin-top : - 40 px;
-}
-
-#skillmap .skills-wrapper {
- overflow: auto;
-}
-
-#skillmap .skills-sunburst {
- float: left;
- width: 500px;
- margin-left: -80px;
-}
-
-#skillmap .skills-sunburst svg {
- font: 11px 'Source Sans Pro', sans-serif;
- font-weight: 900;
-
- cursor: pointer;
-}
-
-#skillmap .skills-chart {
- float: right;
- font-family: 'Source Sans Pro', sans-serif;
- font-size: 15px;
- margin: 80px 20px 0 0;
-}
-
-#skillmap .skills-chart .breadcumb-text {
- font-size: 13px;
- font-weight: 700;
-}
-
-#skillmap .skills-chart #skills-chart-line {
- fill: none;
- stroke-width: 3.5px;
-}
-
-#skillmap .skills-chart .axis path,
-#skillmap .skills-chart .axis line {
- fill: none;
-}
-
-#skillmap .skills-chart .x-axis path,
-#skillmap .skills-chart .y-axis path {
- stroke: #444;
- stroke-width: 1px;
- shape-rendering: geometricPrecision;
-}
-
-#explanation {
- position: absolute;
- top: 165px;
- left: 170px;
- width: 140px;
- text-align: center;
- color: #666;
- margin-top: 30px;
-}
-
-#percentage {
- font-size: 2em;
-}
-
-#endlabel {
- font-sizte: 1.5em;
-}
-
-div.skills-sunburst text {
- text-anchor: middle;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/skillsData.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/skillsData.js
deleted file mode 100644
index 2eb94bc0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/skillsData.js
+++ /dev/null
@@ -1,38 +0,0 @@
-var skillsdata;
-
-
-var initSkillsdata = function () {
- skillsdata = {
- staData: {
- "{\"name\":\"6-普通信息\",\"id\":\"6\",\"parameter\":\"rank\"}": {
- "{\"name\":\"性能管理\",\"id\":\"性能管理\",\"parameter\":\"source\"}": {
- "{\"name\":\"性能门限任务管理\",\"id\":\"性能门限任务管理\",\"parameter\":\"taskname\"}": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 179],
- "{\"name\":\"性能测量任务管理\",\"id\":\"性能测量任务管理\",\"parameter\":\"taskname\"}": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 179]
- },
- "{\"name\":\"控制台\",\"id\":\"控制台\",\"parameter\":\"source\"}": {
- "{\"name\":\"启动 WEB应用进程1\",\"id\":\"启动 WEB应用进程1\",\"parameter\":\"taskname\"}": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
- "{\"name\":\"停止 Nginx服务器1\",\"id\":\"停止 Nginx服务器1\",\"parameter\":\"taskname\"}": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2],
- "{\"name\":\"启动 ngict1\",\"id\":\"启动 ngict1\",\"parameter\":\"taskname\"}": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
- "{\"name\":\"启动 Nginx服务器1\",\"id\":\"启动 Nginx服务器1\",\"parameter\":\"taskname\"}": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3],
- "{\"name\":\"启动 ITM进程1\",\"id\":\"启动 ITM进程1\",\"parameter\":\"taskname\"}": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
- },
- "{\"name\":\"告警管理\",\"id\":\"告警管理\",\"parameter\":\"source\"}": {
- "{\"name\":\"告警定时同步\",\"id\":\"告警定时同步\",\"parameter\":\"taskname\"}": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2]
- },
- "{\"name\":\"ITM进程1\",\"id\":\"ITM进程1\",\"parameter\":\"source\"}": {
- "{\"name\":\"启动 网管平台进程1\",\"id\":\"启动 网管平台进程1\",\"parameter\":\"taskname\"}": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
- "{\"name\":\"启动 ITM Proxy进程1\",\"id\":\"启动 ITM Proxy进程1\",\"parameter\":\"taskname\"}": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
- },
- "{\"name\":\"日志管理\",\"id\":\"日志管理\",\"parameter\":\"source\"}": {
- "{\"name\":\"日志临时记录入库\",\"id\":\"日志临时记录入库\",\"parameter\":\"taskname\"}": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
- }
- }
- }
- };
- var bb = {bb: 0};
- var a = {};
- a[bb] = 10213;
- //skillsdata = JSON.parse(stringData);
-};
-initSkillsdata();
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/sunburst.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/sunburst.js
deleted file mode 100644
index b8e7c4aa..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-sunburst/sunburst.js
+++ /dev/null
@@ -1,321 +0,0 @@
-var sunburstGraph = {};
-sunburstGraph.refreshGraph = function (skillsdata, divId, settings) {
- //先删除div下面的所有child
- $('#' + divId).children().remove();
- skillsdata.count = 0;
- var suburstContent = '<div class="skills-sunburst">'
- //+'<div id="explanation" style="visibility: hidden;">'
- //+'<span id="percentage"></span><br/>'
- //+'<span id="source"></span>'
- //+'</div>'
- + '</div>'
- + '<div id="skills-chart-breadcrumb"></div>';
- //$('#' + divId).append('<div id="skills-chart-breadcrumb"></div>');
- $('#' + divId).append(suburstContent);
- //$(suburstContent).appendTo($('#' + divId));
-
- //计算总的日志数量
- function count(sourceOjb) {
- for (var childname in sourceOjb) {
- var child = sourceOjb[childname];
- if (child && child[0] >= 0) { //判断是否内容为数字
- for (var num in child) {
- skillsdata.count = skillsdata.count + child[num];
- }
- } else {
- count(child);
- }
- }
- }
-
- var statisticCount = count(skillsdata);
-
- function getOneBurstName(burst) {
- var key = JSON.parse(burst.key);
- return key.name;
- }
-
- function getDataCount(data) {
- var dataCount = 0;
- for (var index in data._proficiency) {
- dataCount = dataCount + data._proficiency[index];
- }
- ;
- return dataCount;
- }
-
- function mouseover(data) {
-
- //这里修改vm中的数据对象--selectLogStaInfo ,刷新右边的barGraph.
- if (settings.mouseOverCallback) {
- settings.mouseOverCallback(data._proficiency);
- }
-
- var c = getcrumbpath(data);
- var dataCount = getDataCount(data);
- var percentage = (100 * dataCount / skillsdata.count).toPrecision(3);
- var percentageString = percentage + "%";
- if (percentage < 0.1) {
- percentageString = "< 0.1%";
- }
- refreshBreadCrum(c, percentageString);
- d3.select("#percentage")
- .text(percentageString);
- d3.select("#source")
- .text(getOneBurstName(data));
- d3.select("#explanation")
- .style("visibility", "");
- d3
- .selectAll(".skills-sunburst path")
- .style("opacity", .3), sunburst
- .selectAll("path")
- .filter(function (a) {
- return c.indexOf(a) >= 0
- })
- .style("opacity", 1)
- }
-
- function mouseleave() {
- d3
- .selectAll("path")
- .on("mouseover", null);
- d3
- .selectAll("path")
- .transition()
- .duration(1e3)
- .style("opacity", 1)
- .each("end", function () {
- d3.select(this).on("mouseover", mouseover)
- })
- }
-
- function getcrumbpath(a) {
- for (var temp = [], c = a; c.parent;) temp.unshift(c), c = c.parent;
- return temp
- }
-
- function initbreadcrumb() {
- d3
- .select("#skills-chart-breadcrumb")
- .append("svg:svg")
- .attr("width", 800)
- .attr("height", 30)
- .attr("class", "trail")
- .append("svg:text")
- .attr("id", "endlabel")
- .style("fill", "#000");
- }
-
- function h(a, d3) {
- var c = [];
- c.push("0,0");
- c.push(r.w + ",0");
- c.push(r.w + r.t + "," + r.h / 2);
- c.push(r.w + "," + r.h);
- c.push("0," + r.h);
- d3 > 0 && c.push(r.t + "," + r.h / 2);
- return c.join(" ");
- }
-
- function refreshBreadCrum(a, percentageString) {
- a[a.length - 1]._color, a.length;
- var c = d3
- .select("#skills-chart-breadcrumb .trail")
- .selectAll("g")
- .remove();
- c = d3
- .select("#skills-chart-breadcrumb .trail")
- .selectAll("g")
- .data(a, function (a) {
- return a.key + a.depth
- });
- var d = c.enter().append("svg:g");
- d
- .append("svg:polygon")
- .attr("points", h)
- .style("fill", function (a) {
- return a._color
- }),
- d
- .append("svg:text")
- .attr("x", r.w / 2 + 2)
- .attr("y", r.h / 2)
- .attr("dy", "0.50em")
- .attr("text-anchor", "middle")
- .attr("class", "breadcumb-text")
- .style("fill", function (a) {
- return getcolor(d3.rgb(a._color)) < 150 ? "#fff" : "#000"
- })
- .text(function (a) {
- return getOneBurstName(a);
- }),
- c
- .attr("transform", function (a, b) {
- return "translate(" + b * (r.w + r.s) + ", 0)"
- }),
- b = {
- w: 120, h: 30, s: 10, t: 10
- };
- //
- d3
- .select("#skills-chart-breadcrumb .trail")
- .select("#endlabel")
- .attr("x", (a.length + 0.5) * (b.w + b.s))
- .attr("y", b.h / 2)
- .attr("dy", "0.35em")
- .attr("text-anchor", "middle")
- .text(percentageString);
- c.exit().remove();
-
- // Now move and update the percentage at the end.
- d3.select(".trail").style("visibility", "");
- }
-
- function getcolor(color) {
- return .299 * color.r + .587 * color.g + .114 * color.b
- }
-
- function k(a) {
- var color = ["#3399CC", "#FFC65D", "#CDB99C", "#8B4789", "#FF7F50"],
- d = [-.1, -.05, 0];
- if (1 == a.depth) {
- var e = color[coloralternative % 5];
- return coloralternative++, e
- }
- if (a.depth > 1) {
- var f = d[a.value % 3];
- return d3.rgb(a.parent._color).brighter(.15 * a.depth + f * a.depth)
- }
- }
-
- var l;
-
-
- width = settings.width,
- height = settings.height,
- rad = Math.min(width, height) / Math.PI - 25,
- q = k,
- r = { //定义每一条面包屑的长、宽、高等
- w: 140, //宽度
- h: 30, //面包屑的尖角相关。
- s: 3,
- t: 7
- },
- sunburst = d3
- .select(".skills-sunburst")
- .append("svg:svg")
- .attr("width", width)
- .attr("height", height)
- .append("svg:g")
- .attr("transform", "translate(" + (width / 2) + "," + height / 2 + ")");
- sunburst.append("svg:circle").attr("r", rad).style("opacity", 0);
-
- var mergeAry = function (sourceAry1, sourceAry2) {
- var rtnAry = [],
- aryLength = sourceAry1.length;
- if (sourceAry1.length !== sourceAry2.length) {
- rtnAry = sourceAry1.length > sourceAry2.length ? sourceAry1 : sourceAry2;
- } else for (var e = 0; aryLength > e; e++) {
- //var f = Math.max(sourceAry1[e], sourceAry2[e]) - Math.abs(sourceAry1[e] - sourceAry2[e]) / 8;
- rtnAry.push(sourceAry1[e] + sourceAry2[e]);
- }
- return rtnAry;
- },
- recursionFindAry = function (a) {
- if (a instanceof Array) return a;
- var b = [];
- return $.each(a, function (a, c) {
- b = mergeAry(recursionFindAry(c), b)
- }), b
- },
- countAry = function (data) {
- var countAry = 0;
- for (var i = 0; i < data.length; i++) {
- countAry = countAry + data[i];
- }
- return countAry;
- },
- proficiencydata = d3
- .layout
- .partition()
- .sort(null)
- .size([2 * Math.PI, rad])
- .children(function (a) {
- return a.value instanceof Array
- ? (a._proficiency = a.value, d3.entries([countAry(a.value)]))
- : (a._proficiency = recursionFindAry(a.value), isNaN(a.value) ? d3.entries(a.value) : null)
- })
- .value(function (a) {
- return a.value
- }),
- arc = d3.svg
- .arc()
- .startAngle(function (a) {//startAngle和endAngle是计算的每个环的每个角的角度,跟大小没有关系。
- return a.x
- })
- .endAngle(function (a) {
- return a.x + a.dx - .01 / (a.depth + .4)
- })
- .innerRadius(function (a) { //里层环线的位置,原来是没有增加20的,这里减少了层次,svg画布和旭日图之间空得太多,因此增加环的大小
- return rad / Math.PI * a.depth + 20
- })
- .outerRadius(function (a) { //外层环线的位置
- return rad / Math.PI * (a.depth + 1) + 22
- });
-
- var coloralternative = 0
- initbreadcrumb();
- var path = sunburst
- .data(d3.entries(skillsdata))
- .selectAll("g")
- .data(proficiencydata)
- .enter()
- .append("svg:g")
- .attr("display", function (a) {
- return a.depth ? null : "none"
- });
- path
- .append("svg:path")
- .attr("d", arc)
- .attr("stroke", "#fff")
- .attr("fill", function (a) {
- return a._color = q(a), a._color
- })
- .attr("fill-rule", "evenodd").attr("display", function (a) {
- return a.children ? null : "none"
- })
- .on("mouseover", mouseover);
-
- d3
- .select(".skills-sunburst")
- .on("mouseleave", mouseleave);
- //l = path.node().__data__.value;
- sunburst
- .append("circle")
- .attr("r", rad / Math.PI)
- .attr("opacity", 0);
-
- sunburst.append("text").transition().duration(1000)
- .attr("dx", function (d) {
- return 0;
- })
- .attr("dy", function (d) {
- return -10;
- })
- .attr("id", "percentage")
- .text(function (d) {
- return '';
- });
- sunburst.append("text").transition().duration(1000)
- .attr("dx", function (d) {
- return 0;
- })
- .attr("dy", function (d) {
- return 20;
- })
- .attr("id", "source")
- .text(function (d) {
- return '';
- });
-
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap-wizard/jquery.bootstrap.wizard.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap-wizard/jquery.bootstrap.wizard.min.js
deleted file mode 100644
index baeb2540..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap-wizard/jquery.bootstrap.wizard.min.js
+++ /dev/null
@@ -1,152 +0,0 @@
-/*!
- * jQuery twitter bootstrap wizard plugin
- * Examples and documentation at: http://github.com/VinceG/twitter-bootstrap-wizard
- * version 1.0
- * Requires jQuery v1.3.2 or later
- * Supports Bootstrap 2.2.x, 2.3.x, 3.0
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
- * Authors: Vadim Vincent Gabriel (http://vadimg.com), Jason Gill (www.gilluminate.com)
- */
-(function (e) {
- var k = function (d, g) {
- d = e(d);
- var a = this, b = e.extend({}, e.fn.bootstrapWizard.defaults, g), f = null, c = null;
- this.rebindClick = function (b, a) {
- b.unbind("click", a).bind("click", a)
- };
- this.fixNavigationButtons = function () {
- f.length || (c.find("a:first").tab("show"), f = c.find('li:has([data-toggle="tab"]):first'));
- e(b.previousSelector, d).toggleClass("disabled", a.firstIndex() >= a.currentIndex());
- e(b.nextSelector, d).toggleClass("disabled", a.currentIndex() >= a.navigationLength());
- a.rebindClick(e(b.nextSelector, d),
- a.next);
- a.rebindClick(e(b.previousSelector, d), a.previous);
- a.rebindClick(e(b.lastSelector, d), a.last);
- a.rebindClick(e(b.firstSelector, d), a.first);
- if (b.onTabShow && "function" === typeof b.onTabShow && !1 === b.onTabShow(f, c, a.currentIndex()))return !1
- };
- this.next = function (h) {
- if (d.hasClass("last") || b.onNext && "function" === typeof b.onNext && !1 === b.onNext(f, c, a.nextIndex()))return !1;
- $index = a.nextIndex();
- $index > a.navigationLength() || c.find('li:has([data-toggle="tab"]):eq(' + $index + ") a").tab("show")
- };
- this.previous =
- function (h) {
- if (d.hasClass("first") || b.onPrevious && "function" === typeof b.onPrevious && !1 === b.onPrevious(f, c, a.previousIndex()))return !1;
- $index = a.previousIndex();
- 0 > $index || c.find('li:has([data-toggle="tab"]):eq(' + $index + ") a").tab("show")
- };
- this.first = function (h) {
- if (b.onFirst && "function" === typeof b.onFirst && !1 === b.onFirst(f, c, a.firstIndex()) || d.hasClass("disabled"))return !1;
- c.find('li:has([data-toggle="tab"]):eq(0) a').tab("show")
- };
- this.last = function (h) {
- if (b.onLast && "function" === typeof b.onLast && !1 ===
- b.onLast(f, c, a.lastIndex()) || d.hasClass("disabled"))return !1;
- c.find('li:has([data-toggle="tab"]):eq(' + a.navigationLength() + ") a").tab("show")
- };
- this.currentIndex = function () {
- return c.find('li:has([data-toggle="tab"])').index(f)
- };
- this.firstIndex = function () {
- return 0
- };
- this.lastIndex = function () {
- return a.navigationLength()
- };
- this.getIndex = function (a) {
- return c.find('li:has([data-toggle="tab"])').index(a)
- };
- this.nextIndex = function () {
- return c.find('li:has([data-toggle="tab"])').index(f) + 1
- };
- this.previousIndex =
- function () {
- return c.find('li:has([data-toggle="tab"])').index(f) - 1
- };
- this.navigationLength = function () {
- return c.find('li:has([data-toggle="tab"])').length - 1
- };
- this.activeTab = function () {
- return f
- };
- this.nextTab = function () {
- return c.find('li:has([data-toggle="tab"]):eq(' + (a.currentIndex() + 1) + ")").length ? c.find('li:has([data-toggle="tab"]):eq(' + (a.currentIndex() + 1) + ")") : null
- };
- this.previousTab = function () {
- return 0 >= a.currentIndex() ? null : c.find('li:has([data-toggle="tab"]):eq(' + parseInt(a.currentIndex() - 1) + ")")
- };
- this.show = function (a) {
- return d.find('li:has([data-toggle="tab"]):eq(' + a + ") a").tab("show")
- };
- this.disable = function (a) {
- c.find('li:has([data-toggle="tab"]):eq(' + a + ")").addClass("disabled")
- };
- this.enable = function (a) {
- c.find('li:has([data-toggle="tab"]):eq(' + a + ")").removeClass("disabled")
- };
- this.hide = function (a) {
- c.find('li:has([data-toggle="tab"]):eq(' + a + ")").hide()
- };
- this.display = function (a) {
- c.find('li:has([data-toggle="tab"]):eq(' + a + ")").show()
- };
- this.remove = function (a) {
- var b = "undefined" != typeof a[1] ? a[1] :
- !1;
- a = c.find('li:has([data-toggle="tab"]):eq(' + a[0] + ")");
- b && (b = a.find("a").attr("href"), e(b).remove());
- a.remove()
- };
- c = d.find("ul:first", d);
- f = c.find('li:has([data-toggle="tab"]).active', d);
- c.hasClass(b.tabClass) || c.addClass(b.tabClass);
- if (b.onInit && "function" === typeof b.onInit)b.onInit(f, c, 0);
- if (b.onShow && "function" === typeof b.onShow)b.onShow(f, c, a.nextIndex());
- a.fixNavigationButtons();
- e('a[data-toggle="tab"]', c).on("click", function (d) {
- d = c.find('li:has([data-toggle="tab"])').index(e(d.currentTarget).parent('li:has([data-toggle="tab"])'));
- if (b.onTabClick && "function" === typeof b.onTabClick && !1 === b.onTabClick(f, c, a.currentIndex(), d))return !1
- });
- e('a[data-toggle="tab"]', c).on("shown shown.bs.tab", function (d) {
- $element = e(d.target).parent();
- d = c.find('li:has([data-toggle="tab"])').index($element);
- if ($element.hasClass("disabled") || b.onTabChange && "function" === typeof b.onTabChange && !1 === b.onTabChange(f, c, a.currentIndex(), d))return !1;
- f = $element;
- a.fixNavigationButtons()
- })
- };
- e.fn.bootstrapWizard = function (d) {
- if ("string" == typeof d) {
- var g = Array.prototype.slice.call(arguments,
- 1);
- 1 === g.length && g.toString();
- return this.data("bootstrapWizard")[d](g)
- }
- return this.each(function (a) {
- a = e(this);
- if (!a.data("bootstrapWizard")) {
- var b = new k(a, d);
- a.data("bootstrapWizard", b)
- }
- })
- };
- e.fn.bootstrapWizard.defaults = {
- tabClass: "nav nav-pills",
- nextSelector: ".wizard li.next",
- previousSelector: ".wizard li.previous",
- firstSelector: ".wizard li.first",
- lastSelector: ".wizard li.last",
- onShow: null,
- onInit: null,
- onNext: null,
- onPrevious: null,
- onLast: null,
- onFirst: null,
- onTabChange: null,
- onTabClick: null,
- onTabShow: null
- }
-})(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/css/bootstrap-dt.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/css/bootstrap-dt.css
deleted file mode 100644
index 1be9eb88..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/css/bootstrap-dt.css
+++ /dev/null
@@ -1,7067 +0,0 @@
-/*!
- * Bootstrap v3.1.1 (http://getbootstrap.com)
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-
-/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
-html {
- font-family: sans-serif;
- -webkit-text-size-adjust: 100%;
- -ms-text-size-adjust: 100%;
-}
-
-body {
- margin: 0;
-}
-
-article,
-aside,
-details,
-figcaption,
-figure,
-footer,
-header,
-hgroup,
-main,
-nav,
-section,
-summary {
- display: block;
-}
-
-audio,
-canvas,
-progress,
-video {
- display: inline-block;
- vertical-align: baseline;
-}
-
-audio:not([controls]) {
- display: none;
- height: 0;
-}
-
-[hidden],
-template {
- display: none;
-}
-
-a {
- background: transparent;
-}
-
-a:active,
-a:hover {
- outline: 0;
-}
-
-abbr[title] {
- border-bottom: 1px dotted;
-}
-
-b,
-strong {
- font-weight: bold;
-}
-
-dfn {
- font-style: italic;
-}
-
-h1 {
- margin: .67em 0;
- font-size: 2em;
-}
-
-mark {
- color: #000;
- background: #ff0;
-}
-
-small {
- font-size: 80%;
-}
-
-sub,
-sup {
- position: relative;
- font-size: 75%;
- line-height: 0;
- vertical-align: baseline;
-}
-
-sup {
- top: -.5em;
-}
-
-sub {
- bottom: -.25em;
-}
-
-img {
- border: 0;
-}
-
-svg:not(:root) {
- overflow: hidden;
-}
-
-figure {
- margin: 1em 40px;
-}
-
-hr {
- height: 0;
- -moz-box-sizing: content-box;
- box-sizing: content-box;
-}
-
-pre {
- overflow: auto;
-}
-
-code,
-kbd,
-pre,
-samp {
- font-family: monospace, monospace;
- font-size: 1em;
-}
-
-button,
-input,
-optgroup,
-select,
-textarea {
- margin: 0;
- font: inherit;
- color: inherit;
-}
-
-button {
- overflow: visible;
-}
-
-button,
-select {
- text-transform: none;
-}
-
-button,
-html input[type="button"],
-input[type="reset"],
-input[type="submit"] {
- -webkit-appearance: button;
- cursor: pointer;
-}
-
-button[disabled],
-html input[disabled] {
- cursor: default;
-}
-
-button::-moz-focus-inner,
-input::-moz-focus-inner {
- padding: 0;
- border: 0;
-}
-
-input {
- line-height: normal;
-}
-
-input[type="checkbox"],
-input[type="radio"] {
- box-sizing: border-box;
- padding: 0;
-}
-
-input[type="number"]::-webkit-inner-spin-button,
-input[type="number"]::-webkit-outer-spin-button {
- height: auto;
-}
-
-input[type="search"] {
- -webkit-box-sizing: content-box;
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- -webkit-appearance: textfield;
-}
-
-input[type="search"]::-webkit-search-cancel-button,
-input[type="search"]::-webkit-search-decoration {
- -webkit-appearance: none;
-}
-
-fieldset {
- padding: .35em .625em .75em;
- margin: 0 2px;
- border: 1px solid #c0c0c0;
-}
-
-legend {
- padding: 0;
- border: 0;
-}
-
-textarea {
- overflow: auto;
-}
-
-optgroup {
- font-weight: bold;
-}
-
-table {
- border-spacing: 0;
- border-collapse: collapse;
-}
-
-td,
-th {
-}
-
-@media print {
- * {
- color: #000 !important;
- text-shadow: none !important;
- background: transparent !important;
- box-shadow: none !important;
- }
-
- a,
- a:visited {
- text-decoration: underline;
- }
-
- a[href]:after {
- content: " (" attr(href) ")";
- }
-
- abbr[title]:after {
- content: " (" attr(title) ")";
- }
-
- a[href^="javascript:"]:after,
- a[href^="#"]:after {
- content: "";
- }
-
- pre,
- blockquote {
- border: 1px solid #999;
-
- page-break-inside: avoid;
- }
-
- thead {
- display: table-header-group;
- }
-
- tr,
- img {
- page-break-inside: avoid;
- }
-
- img {
- max-width: 100% !important;
- }
-
- p,
- h2,
- h3 {
- orphans: 3;
- widows: 3;
- }
-
- h2,
- h3 {
- page-break-after: avoid;
- }
-
- select {
- background: #fff !important;
- }
-
- .navbar {
- display: none;
- }
-
- .table td,
- .table th {
- background-color: #fff !important;
- }
-
- .btn > .caret,
- .dropup > .btn > .caret {
- border-top-color: #000 !important;
- }
-
- .label {
- border: 1px solid #000;
- }
-
- .table {
- border-collapse: collapse !important;
- }
-
- .table-bordered th,
- .table-bordered td {
- border: 1px solid #ddd !important;
- }
-}
-
-.dataTableWrapperDiv div {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-*:before,
-*:after {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-html {
- font-size: 62.5%;
-
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-}
-
-body {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 14px;
- line-height: 1.42857143;
- color: #333;
- background-color: #fff;
-}
-
-input,
-button,
-select,
-textarea {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit;
-}
-
-a {
- color: #428bca;
- text-decoration: none;
-}
-
-a:hover,
-a:focus {
- color: #2a6496;
- text-decoration: underline;
-}
-
-a:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px;
-}
-
-figure {
- margin: 0;
-}
-
-img {
- vertical-align: middle;
-}
-
-.img-responsive,
-.thumbnail > img,
-.thumbnail a > img,
-.carousel-inner > .item > img,
-.carousel-inner > .item > a > img {
- display: block;
- max-width: 100%;
- height: auto;
-}
-
-.img-rounded {
- border-radius: 6px;
-}
-
-.img-thumbnail {
- display: inline-block;
- max-width: 100%;
- height: auto;
- padding: 4px;
- line-height: 1.42857143;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 4px;
- -webkit-transition: all .2s ease-in-out;
- transition: all .2s ease-in-out;
-}
-
-.img-circle {
- border-radius: 50%;
-}
-
-hr {
- margin-top: 20px;
- margin-bottom: 20px;
- border: 0;
- border-top: 1px solid #eee;
-}
-
-.sr-only {
- position: absolute;
- width: 1px;
- height: 1px;
- padding: 0;
- margin: -1px;
- overflow: hidden;
- clip: rect(0, 0, 0, 0);
- border: 0;
-}
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6,
-.h1,
-.h2,
-.h3,
-.h4,
-.h5,
-.h6 {
- font-family: inherit;
- font-weight: 500;
- line-height: 1.1;
- color: inherit;
-}
-
-h1 small,
-h2 small,
-h3 small,
-h4 small,
-h5 small,
-h6 small,
-.h1 small,
-.h2 small,
-.h3 small,
-.h4 small,
-.h5 small,
-.h6 small,
-h1 .small,
-h2 .small,
-h3 .small,
-h4 .small,
-h5 .small,
-h6 .small,
-.h1 .small,
-.h2 .small,
-.h3 .small,
-.h4 .small,
-.h5 .small,
-.h6 .small {
- font-weight: normal;
- line-height: 1;
- color: #999;
-}
-
-h1,
-.h1,
-h2,
-.h2,
-h3,
-.h3 {
- margin-top: 20px;
- margin-bottom: 10px;
-}
-
-h1 small,
-.h1 small,
-h2 small,
-.h2 small,
-h3 small,
-.h3 small,
-h1 .small,
-.h1 .small,
-h2 .small,
-.h2 .small,
-h3 .small,
-.h3 .small {
- font-size: 65%;
-}
-
-h4,
-.h4,
-h5,
-.h5,
-h6,
-.h6 {
- margin-top: 10px;
- margin-bottom: 10px;
-}
-
-h4 small,
-.h4 small,
-h5 small,
-.h5 small,
-h6 small,
-.h6 small,
-h4 .small,
-.h4 .small,
-h5 .small,
-.h5 .small,
-h6 .small,
-.h6 .small {
- font-size: 75%;
-}
-
-h1,
-.h1 {
- font-size: 36px;
-}
-
-h2,
-.h2 {
- font-size: 30px;
-}
-
-h3,
-.h3 {
- font-size: 24px;
-}
-
-h4,
-.h4 {
- font-size: 18px;
-}
-
-h5,
-.h5 {
- font-size: 14px;
-}
-
-h6,
-.h6 {
- font-size: 12px;
-}
-
-p {
- margin: 0 0 10px;
-}
-
-.lead {
- margin-bottom: 20px;
- font-size: 16px;
- font-weight: 200;
- line-height: 1.4;
-}
-
-@media (min-width: 768px) {
- .lead {
- font-size: 21px;
- }
-}
-
-small,
-.small {
- font-size: 85%;
-}
-
-cite {
- font-style: normal;
-}
-
-.text-left {
- text-align: left;
-}
-
-.text-right {
- text-align: right;
-}
-
-.text-center {
- text-align: center;
-}
-
-.text-justify {
- text-align: justify;
-}
-
-.text-muted {
- color: #999;
-}
-
-.text-primary {
- color: #428bca;
-}
-
-a.text-primary:hover {
- color: #3071a9;
-}
-
-.text-success {
- color: #3c763d;
-}
-
-a.text-success:hover {
- color: #2b542c;
-}
-
-.text-info {
- color: #31708f;
-}
-
-a.text-info:hover {
- color: #245269;
-}
-
-.text-warning {
- color: #8a6d3b;
-}
-
-a.text-warning:hover {
- color: #66512c;
-}
-
-.text-danger {
- color: #a94442;
-}
-
-a.text-danger:hover {
- color: #843534;
-}
-
-.bg-primary {
- color: #fff;
- background-color: #428bca;
-}
-
-a.bg-primary:hover {
- background-color: #3071a9;
-}
-
-.bg-success {
- background-color: #dff0d8;
-}
-
-a.bg-success:hover {
- background-color: #c1e2b3;
-}
-
-.bg-info {
- background-color: #d9edf7;
-}
-
-a.bg-info:hover {
- background-color: #afd9ee;
-}
-
-.bg-warning {
- background-color: #fcf8e3;
-}
-
-a.bg-warning:hover {
- background-color: #f7ecb5;
-}
-
-.bg-danger {
- background-color: #f2dede;
-}
-
-a.bg-danger:hover {
- background-color: #e4b9b9;
-}
-
-.page-header {
- padding-bottom: 9px;
- margin: 40px 0 20px;
- border-bottom: 1px solid #eee;
-}
-
-ul,
-ol {
- margin-top: 0;
- margin-bottom: 10px;
-}
-
-ul ul,
-ol ul,
-ul ol,
-ol ol {
- margin-bottom: 0;
-}
-
-.list-unstyled {
- padding-left: 0;
- list-style: none;
-}
-
-.list-inline {
- padding-left: 0;
- margin-left: -5px;
- list-style: none;
-}
-
-.list-inline > li {
- display: inline-block;
- padding-right: 5px;
- padding-left: 5px;
-}
-
-dl {
- margin-top: 0;
- margin-bottom: 20px;
-}
-
-dt,
-dd {
- line-height: 1.42857143;
-}
-
-dt {
- font-weight: bold;
-}
-
-dd {
- margin-left: 0;
-}
-
-@media (min-width: 768px) {
- .dl-horizontal dt {
- float: left;
- width: 160px;
- overflow: hidden;
- clear: left;
- text-align: right;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-
- .dl-horizontal dd {
- margin-left: 180px;
- }
-}
-
-abbr[title],
-abbr[data-original-title] {
- cursor: help;
- border-bottom: 1px dotted #999;
-}
-
-.initialism {
- font-size: 90%;
- text-transform: uppercase;
-}
-
-blockquote {
- padding: 10px 20px;
- margin: 0 0 20px;
- font-size: 17.5px;
- border-left: 5px solid #eee;
-}
-
-blockquote p:last-child,
-blockquote ul:last-child,
-blockquote ol:last-child {
- margin-bottom: 0;
-}
-
-blockquote footer,
-blockquote small,
-blockquote .small {
- display: block;
- font-size: 80%;
- line-height: 1.42857143;
- color: #999;
-}
-
-blockquote footer:before,
-blockquote small:before,
-blockquote .small:before {
- content: '\2014 \00A0';
-}
-
-.blockquote-reverse,
-blockquote.pull-right {
- padding-right: 15px;
- padding-left: 0;
- text-align: right;
- border-right: 5px solid #eee;
- border-left: 0;
-}
-
-.blockquote-reverse footer:before,
-blockquote.pull-right footer:before,
-.blockquote-reverse small:before,
-blockquote.pull-right small:before,
-.blockquote-reverse .small:before,
-blockquote.pull-right .small:before {
- content: '';
-}
-
-.blockquote-reverse footer:after,
-blockquote.pull-right footer:after,
-.blockquote-reverse small:after,
-blockquote.pull-right small:after,
-.blockquote-reverse .small:after,
-blockquote.pull-right .small:after {
- content: '\00A0 \2014';
-}
-
-blockquote:before,
-blockquote:after {
- content: "";
-}
-
-address {
- margin-bottom: 20px;
- font-style: normal;
- line-height: 1.42857143;
-}
-
-code,
-kbd,
-pre,
-samp {
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
-}
-
-code {
- padding: 2px 4px;
- font-size: 90%;
- color: #c7254e;
- white-space: nowrap;
- background-color: #f9f2f4;
- border-radius: 4px;
-}
-
-kbd {
- padding: 2px 4px;
- font-size: 90%;
- color: #fff;
- background-color: #333;
- border-radius: 3px;
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
-}
-
-pre {
- display: block;
- padding: 9.5px;
- margin: 0 0 10px;
- font-size: 13px;
- line-height: 1.42857143;
- color: #333;
- word-break: break-all;
- word-wrap: break-word;
- background-color: #f5f5f5;
- border: 1px solid #ccc;
- border-radius: 4px;
-}
-
-pre code {
- padding: 0;
- font-size: inherit;
- color: inherit;
- white-space: pre-wrap;
- background-color: transparent;
- border-radius: 0;
-}
-
-.pre-scrollable {
- max-height: 340px;
- overflow-y: scroll;
-}
-
-.container {
- padding-right: 15px;
- padding-left: 15px;
- margin-right: auto;
- margin-left: auto;
-}
-
-@media (min-width: 768px) {
- .container {
- width: 750px;
- }
-}
-
-@media (min-width: 992px) {
- .container {
- width: 970px;
- }
-}
-
-@media (min-width: 1200px) {
- .container {
- width: 1170px;
- }
-}
-
-.container-fluid {
- padding-right: 15px;
- padding-left: 15px;
- margin-right: auto;
- margin-left: auto;
-}
-
-.row {
- margin-right: -15px;
- margin-left: -15px;
-}
-
-.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
- position: relative;
- min-height: 1px;
- padding-right: 15px;
- padding-left: 15px;
-}
-
-.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
- float: left;
-}
-
-.col-xs-12 {
- width: 100%;
-}
-
-.col-xs-11 {
- width: 91.66666667%;
-}
-
-.col-xs-10 {
- width: 83.33333333%;
-}
-
-.col-xs-9 {
- width: 75%;
-}
-
-.col-xs-8 {
- width: 66.66666667%;
-}
-
-.col-xs-7 {
- width: 58.33333333%;
-}
-
-.col-xs-6 {
- width: 50%;
-}
-
-.col-xs-5 {
- width: 41.66666667%;
-}
-
-.col-xs-4 {
- width: 33.33333333%;
-}
-
-.col-xs-3 {
- width: 25%;
-}
-
-.col-xs-2 {
- width: 16.66666667%;
-}
-
-.col-xs-1 {
- width: 8.33333333%;
-}
-
-.col-xs-pull-12 {
- right: 100%;
-}
-
-.col-xs-pull-11 {
- right: 91.66666667%;
-}
-
-.col-xs-pull-10 {
- right: 83.33333333%;
-}
-
-.col-xs-pull-9 {
- right: 75%;
-}
-
-.col-xs-pull-8 {
- right: 66.66666667%;
-}
-
-.col-xs-pull-7 {
- right: 58.33333333%;
-}
-
-.col-xs-pull-6 {
- right: 50%;
-}
-
-.col-xs-pull-5 {
- right: 41.66666667%;
-}
-
-.col-xs-pull-4 {
- right: 33.33333333%;
-}
-
-.col-xs-pull-3 {
- right: 25%;
-}
-
-.col-xs-pull-2 {
- right: 16.66666667%;
-}
-
-.col-xs-pull-1 {
- right: 8.33333333%;
-}
-
-.col-xs-pull-0 {
- right: 0;
-}
-
-.col-xs-push-12 {
- left: 100%;
-}
-
-.col-xs-push-11 {
- left: 91.66666667%;
-}
-
-.col-xs-push-10 {
- left: 83.33333333%;
-}
-
-.col-xs-push-9 {
- left: 75%;
-}
-
-.col-xs-push-8 {
- left: 66.66666667%;
-}
-
-.col-xs-push-7 {
- left: 58.33333333%;
-}
-
-.col-xs-push-6 {
- left: 50%;
-}
-
-.col-xs-push-5 {
- left: 41.66666667%;
-}
-
-.col-xs-push-4 {
- left: 33.33333333%;
-}
-
-.col-xs-push-3 {
- left: 25%;
-}
-
-.col-xs-push-2 {
- left: 16.66666667%;
-}
-
-.col-xs-push-1 {
- left: 8.33333333%;
-}
-
-.col-xs-push-0 {
- left: 0;
-}
-
-.col-xs-offset-12 {
- margin-left: 100%;
-}
-
-.col-xs-offset-11 {
- margin-left: 91.66666667%;
-}
-
-.col-xs-offset-10 {
- margin-left: 83.33333333%;
-}
-
-.col-xs-offset-9 {
- margin-left: 75%;
-}
-
-.col-xs-offset-8 {
- margin-left: 66.66666667%;
-}
-
-.col-xs-offset-7 {
- margin-left: 58.33333333%;
-}
-
-.col-xs-offset-6 {
- margin-left: 50%;
-}
-
-.col-xs-offset-5 {
- margin-left: 41.66666667%;
-}
-
-.col-xs-offset-4 {
- margin-left: 33.33333333%;
-}
-
-.col-xs-offset-3 {
- margin-left: 25%;
-}
-
-.col-xs-offset-2 {
- margin-left: 16.66666667%;
-}
-
-.col-xs-offset-1 {
- margin-left: 8.33333333%;
-}
-
-.col-xs-offset-0 {
- margin-left: 0;
-}
-
-@media (min-width: 768px) {
- .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
- float: left;
- }
-
- .col-sm-12 {
- width: 100%;
- }
-
- .col-sm-11 {
- width: 91.66666667%;
- }
-
- .col-sm-10 {
- width: 83.33333333%;
- }
-
- .col-sm-9 {
- width: 75%;
- }
-
- .col-sm-8 {
- width: 66.66666667%;
- }
-
- .col-sm-7 {
- width: 58.33333333%;
- }
-
- .col-sm-6 {
- width: 50%;
- }
-
- .col-sm-5 {
- width: 41.66666667%;
- }
-
- .col-sm-4 {
- width: 33.33333333%;
- }
-
- .col-sm-3 {
- width: 25%;
- }
-
- .col-sm-2 {
- width: 16.66666667%;
- }
-
- .col-sm-1 {
- width: 8.33333333%;
- }
-
- .col-sm-pull-12 {
- right: 100%;
- }
-
- .col-sm-pull-11 {
- right: 91.66666667%;
- }
-
- .col-sm-pull-10 {
- right: 83.33333333%;
- }
-
- .col-sm-pull-9 {
- right: 75%;
- }
-
- .col-sm-pull-8 {
- right: 66.66666667%;
- }
-
- .col-sm-pull-7 {
- right: 58.33333333%;
- }
-
- .col-sm-pull-6 {
- right: 50%;
- }
-
- .col-sm-pull-5 {
- right: 41.66666667%;
- }
-
- .col-sm-pull-4 {
- right: 33.33333333%;
- }
-
- .col-sm-pull-3 {
- right: 25%;
- }
-
- .col-sm-pull-2 {
- right: 16.66666667%;
- }
-
- .col-sm-pull-1 {
- right: 8.33333333%;
- }
-
- .col-sm-pull-0 {
- right: 0;
- }
-
- .col-sm-push-12 {
- left: 100%;
- }
-
- .col-sm-push-11 {
- left: 91.66666667%;
- }
-
- .col-sm-push-10 {
- left: 83.33333333%;
- }
-
- .col-sm-push-9 {
- left: 75%;
- }
-
- .col-sm-push-8 {
- left: 66.66666667%;
- }
-
- .col-sm-push-7 {
- left: 58.33333333%;
- }
-
- .col-sm-push-6 {
- left: 50%;
- }
-
- .col-sm-push-5 {
- left: 41.66666667%;
- }
-
- .col-sm-push-4 {
- left: 33.33333333%;
- }
-
- .col-sm-push-3 {
- left: 25%;
- }
-
- .col-sm-push-2 {
- left: 16.66666667%;
- }
-
- .col-sm-push-1 {
- left: 8.33333333%;
- }
-
- .col-sm-push-0 {
- left: 0;
- }
-
- .col-sm-offset-12 {
- margin-left: 100%;
- }
-
- .col-sm-offset-11 {
- margin-left: 91.66666667%;
- }
-
- .col-sm-offset-10 {
- margin-left: 83.33333333%;
- }
-
- .col-sm-offset-9 {
- margin-left: 75%;
- }
-
- .col-sm-offset-8 {
- margin-left: 66.66666667%;
- }
-
- .col-sm-offset-7 {
- margin-left: 58.33333333%;
- }
-
- .col-sm-offset-6 {
- margin-left: 50%;
- }
-
- .col-sm-offset-5 {
- margin-left: 41.66666667%;
- }
-
- .col-sm-offset-4 {
- margin-left: 33.33333333%;
- }
-
- .col-sm-offset-3 {
- margin-left: 25%;
- }
-
- .col-sm-offset-2 {
- margin-left: 16.66666667%;
- }
-
- .col-sm-offset-1 {
- margin-left: 8.33333333%;
- }
-
- .col-sm-offset-0 {
- margin-left: 0;
- }
-}
-
-@media (min-width: 992px) {
- .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
- float: left;
- }
-
- .col-md-12 {
- width: 100%;
- }
-
- .col-md-11 {
- width: 91.66666667%;
- }
-
- .col-md-10 {
- width: 83.33333333%;
- }
-
- .col-md-9 {
- width: 75%;
- }
-
- .col-md-8 {
- width: 66.66666667%;
- }
-
- .col-md-7 {
- width: 58.33333333%;
- }
-
- .col-md-6 {
- width: 50%;
- }
-
- .col-md-5 {
- width: 41.66666667%;
- }
-
- .col-md-4 {
- width: 33.33333333%;
- }
-
- .col-md-3 {
- width: 25%;
- }
-
- .col-md-2 {
- width: 16.66666667%;
- }
-
- .col-md-1 {
- width: 8.33333333%;
- }
-
- .col-md-pull-12 {
- right: 100%;
- }
-
- .col-md-pull-11 {
- right: 91.66666667%;
- }
-
- .col-md-pull-10 {
- right: 83.33333333%;
- }
-
- .col-md-pull-9 {
- right: 75%;
- }
-
- .col-md-pull-8 {
- right: 66.66666667%;
- }
-
- .col-md-pull-7 {
- right: 58.33333333%;
- }
-
- .col-md-pull-6 {
- right: 50%;
- }
-
- .col-md-pull-5 {
- right: 41.66666667%;
- }
-
- .col-md-pull-4 {
- right: 33.33333333%;
- }
-
- .col-md-pull-3 {
- right: 25%;
- }
-
- .col-md-pull-2 {
- right: 16.66666667%;
- }
-
- .col-md-pull-1 {
- right: 8.33333333%;
- }
-
- .col-md-pull-0 {
- right: 0;
- }
-
- .col-md-push-12 {
- left: 100%;
- }
-
- .col-md-push-11 {
- left: 91.66666667%;
- }
-
- .col-md-push-10 {
- left: 83.33333333%;
- }
-
- .col-md-push-9 {
- left: 75%;
- }
-
- .col-md-push-8 {
- left: 66.66666667%;
- }
-
- .col-md-push-7 {
- left: 58.33333333%;
- }
-
- .col-md-push-6 {
- left: 50%;
- }
-
- .col-md-push-5 {
- left: 41.66666667%;
- }
-
- .col-md-push-4 {
- left: 33.33333333%;
- }
-
- .col-md-push-3 {
- left: 25%;
- }
-
- .col-md-push-2 {
- left: 16.66666667%;
- }
-
- .col-md-push-1 {
- left: 8.33333333%;
- }
-
- .col-md-push-0 {
- left: 0;
- }
-
- .col-md-offset-12 {
- margin-left: 100%;
- }
-
- .col-md-offset-11 {
- margin-left: 91.66666667%;
- }
-
- .col-md-offset-10 {
- margin-left: 83.33333333%;
- }
-
- .col-md-offset-9 {
- margin-left: 75%;
- }
-
- .col-md-offset-8 {
- margin-left: 66.66666667%;
- }
-
- .col-md-offset-7 {
- margin-left: 58.33333333%;
- }
-
- .col-md-offset-6 {
- margin-left: 50%;
- }
-
- .col-md-offset-5 {
- margin-left: 41.66666667%;
- }
-
- .col-md-offset-4 {
- margin-left: 33.33333333%;
- }
-
- .col-md-offset-3 {
- margin-left: 25%;
- }
-
- .col-md-offset-2 {
- margin-left: 16.66666667%;
- }
-
- .col-md-offset-1 {
- margin-left: 8.33333333%;
- }
-
- .col-md-offset-0 {
- margin-left: 0;
- }
-}
-
-@media (min-width: 1200px) {
- .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
- float: left;
- }
-
- .col-lg-12 {
- width: 100%;
- }
-
- .col-lg-11 {
- width: 91.66666667%;
- }
-
- .col-lg-10 {
- width: 83.33333333%;
- }
-
- .col-lg-9 {
- width: 75%;
- }
-
- .col-lg-8 {
- width: 66.66666667%;
- }
-
- .col-lg-7 {
- width: 58.33333333%;
- }
-
- .col-lg-6 {
- width: 50%;
- }
-
- .col-lg-5 {
- width: 41.66666667%;
- }
-
- .col-lg-4 {
- width: 33.33333333%;
- }
-
- .col-lg-3 {
- width: 25%;
- }
-
- .col-lg-2 {
- width: 16.66666667%;
- }
-
- .col-lg-1 {
- width: 8.33333333%;
- }
-
- .col-lg-pull-12 {
- right: 100%;
- }
-
- .col-lg-pull-11 {
- right: 91.66666667%;
- }
-
- .col-lg-pull-10 {
- right: 83.33333333%;
- }
-
- .col-lg-pull-9 {
- right: 75%;
- }
-
- .col-lg-pull-8 {
- right: 66.66666667%;
- }
-
- .col-lg-pull-7 {
- right: 58.33333333%;
- }
-
- .col-lg-pull-6 {
- right: 50%;
- }
-
- .col-lg-pull-5 {
- right: 41.66666667%;
- }
-
- .col-lg-pull-4 {
- right: 33.33333333%;
- }
-
- .col-lg-pull-3 {
- right: 25%;
- }
-
- .col-lg-pull-2 {
- right: 16.66666667%;
- }
-
- .col-lg-pull-1 {
- right: 8.33333333%;
- }
-
- .col-lg-pull-0 {
- right: 0;
- }
-
- .col-lg-push-12 {
- left: 100%;
- }
-
- .col-lg-push-11 {
- left: 91.66666667%;
- }
-
- .col-lg-push-10 {
- left: 83.33333333%;
- }
-
- .col-lg-push-9 {
- left: 75%;
- }
-
- .col-lg-push-8 {
- left: 66.66666667%;
- }
-
- .col-lg-push-7 {
- left: 58.33333333%;
- }
-
- .col-lg-push-6 {
- left: 50%;
- }
-
- .col-lg-push-5 {
- left: 41.66666667%;
- }
-
- .col-lg-push-4 {
- left: 33.33333333%;
- }
-
- .col-lg-push-3 {
- left: 25%;
- }
-
- .col-lg-push-2 {
- left: 16.66666667%;
- }
-
- .col-lg-push-1 {
- left: 8.33333333%;
- }
-
- .col-lg-push-0 {
- left: 0;
- }
-
- .col-lg-offset-12 {
- margin-left: 100%;
- }
-
- .col-lg-offset-11 {
- margin-left: 91.66666667%;
- }
-
- .col-lg-offset-10 {
- margin-left: 83.33333333%;
- }
-
- .col-lg-offset-9 {
- margin-left: 75%;
- }
-
- .col-lg-offset-8 {
- margin-left: 66.66666667%;
- }
-
- .col-lg-offset-7 {
- margin-left: 58.33333333%;
- }
-
- .col-lg-offset-6 {
- margin-left: 50%;
- }
-
- .col-lg-offset-5 {
- margin-left: 41.66666667%;
- }
-
- .col-lg-offset-4 {
- margin-left: 33.33333333%;
- }
-
- .col-lg-offset-3 {
- margin-left: 25%;
- }
-
- .col-lg-offset-2 {
- margin-left: 16.66666667%;
- }
-
- .col-lg-offset-1 {
- margin-left: 8.33333333%;
- }
-
- .col-lg-offset-0 {
- margin-left: 0;
- }
-}
-
-table {
- max-width: 100%;
- background-color: transparent;
-}
-
-th {
- text-align: left;
-}
-
-.table {
- width: 100%;
- margin-bottom: 20px;
-}
-
-.table > thead > tr > th,
-.table > tbody > tr > th,
-.table > tfoot > tr > th,
-.table > thead > tr > td,
-.table > tbody > tr > td,
-.table > tfoot > tr > td {
- padding: 8px;
- line-height: 1.42857143;
- vertical-align: top;
- border-top: 1px solid #ddd;
-}
-
-.table > thead > tr > th {
- vertical-align: bottom;
- border-bottom: 2px solid #ddd;
-}
-
-.table > caption + thead > tr:first-child > th,
-.table > colgroup + thead > tr:first-child > th,
-.table > thead:first-child > tr:first-child > th,
-.table > caption + thead > tr:first-child > td,
-.table > colgroup + thead > tr:first-child > td,
-.table > thead:first-child > tr:first-child > td {
- border-top: 0;
-}
-
-.table > tbody + tbody {
- border-top: 2px solid #ddd;
-}
-
-.table .table {
- background-color: #fff;
-}
-
-.table-condensed > thead > tr > th,
-.table-condensed > tbody > tr > th,
-.table-condensed > tfoot > tr > th,
-.table-condensed > thead > tr > td,
-.table-condensed > tbody > tr > td,
-.table-condensed > tfoot > tr > td {
- padding: 5px;
-}
-
-.table-bordered {
- border: 1px solid #ddd;
-}
-
-.table-bordered > thead > tr > th,
-.table-bordered > tbody > tr > th,
-.table-bordered > tfoot > tr > th,
-.table-bordered > thead > tr > td,
-.table-bordered > tbody > tr > td,
-.table-bordered > tfoot > tr > td {
- border: 1px solid #ddd;
-}
-
-.table-bordered > thead > tr > th,
-.table-bordered > thead > tr > td {
- border-bottom-width: 2px;
-}
-
-.table-striped > tbody > tr:nth-child(odd) > td,
-.table-striped > tbody > tr:nth-child(odd) > th {
- background-color: #f9f9f9;
-}
-
-.table-hover > tbody > tr:hover > td,
-.table-hover > tbody > tr:hover > th {
- /*background-color: #f5f5f5;*/
- background-color: #dbedff;
-}
-
-.dataTableTdSelected {
- background-color: #dbedff !important;
-}
-
-table col[class*="col-"] {
- position: static;
- display: table-column;
- float: none;
-}
-
-table td[class*="col-"],
-table th[class*="col-"] {
- position: static;
- display: table-cell;
- float: none;
-}
-
-.table > thead > tr > td.active,
-.table > tbody > tr > td.active,
-.table > tfoot > tr > td.active,
-.table > thead > tr > th.active,
-.table > tbody > tr > th.active,
-.table > tfoot > tr > th.active,
-.table > thead > tr.active > td,
-.table > tbody > tr.active > td,
-.table > tfoot > tr.active > td,
-.table > thead > tr.active > th,
-.table > tbody > tr.active > th,
-.table > tfoot > tr.active > th {
- background-color: #f5f5f5;
-}
-
-.table-hover > tbody > tr > td.active:hover,
-.table-hover > tbody > tr > th.active:hover,
-.table-hover > tbody > tr.active:hover > td,
-.table-hover > tbody > tr.active:hover > th {
- background-color: #e8e8e8;
-}
-
-.table > thead > tr > td.success,
-.table > tbody > tr > td.success,
-.table > tfoot > tr > td.success,
-.table > thead > tr > th.success,
-.table > tbody > tr > th.success,
-.table > tfoot > tr > th.success,
-.table > thead > tr.success > td,
-.table > tbody > tr.success > td,
-.table > tfoot > tr.success > td,
-.table > thead > tr.success > th,
-.table > tbody > tr.success > th,
-.table > tfoot > tr.success > th {
- background-color: #dff0d8;
-}
-
-.table-hover > tbody > tr > td.success:hover,
-.table-hover > tbody > tr > th.success:hover,
-.table-hover > tbody > tr.success:hover > td,
-.table-hover > tbody > tr.success:hover > th {
- background-color: #d0e9c6;
-}
-
-.table > thead > tr > td.info,
-.table > tbody > tr > td.info,
-.table > tfoot > tr > td.info,
-.table > thead > tr > th.info,
-.table > tbody > tr > th.info,
-.table > tfoot > tr > th.info,
-.table > thead > tr.info > td,
-.table > tbody > tr.info > td,
-.table > tfoot > tr.info > td,
-.table > thead > tr.info > th,
-.table > tbody > tr.info > th,
-.table > tfoot > tr.info > th {
- background-color: #d9edf7;
-}
-
-.table-hover > tbody > tr > td.info:hover,
-.table-hover > tbody > tr > th.info:hover,
-.table-hover > tbody > tr.info:hover > td,
-.table-hover > tbody > tr.info:hover > th {
- background-color: #c4e3f3;
-}
-
-.table > thead > tr > td.warning,
-.table > tbody > tr > td.warning,
-.table > tfoot > tr > td.warning,
-.table > thead > tr > th.warning,
-.table > tbody > tr > th.warning,
-.table > tfoot > tr > th.warning,
-.table > thead > tr.warning > td,
-.table > tbody > tr.warning > td,
-.table > tfoot > tr.warning > td,
-.table > thead > tr.warning > th,
-.table > tbody > tr.warning > th,
-.table > tfoot > tr.warning > th {
- background-color: #fcf8e3;
-}
-
-.table-hover > tbody > tr > td.warning:hover,
-.table-hover > tbody > tr > th.warning:hover,
-.table-hover > tbody > tr.warning:hover > td,
-.table-hover > tbody > tr.warning:hover > th {
- background-color: #faf2cc;
-}
-
-.table > thead > tr > td.danger,
-.table > tbody > tr > td.danger,
-.table > tfoot > tr > td.danger,
-.table > thead > tr > th.danger,
-.table > tbody > tr > th.danger,
-.table > tfoot > tr > th.danger,
-.table > thead > tr.danger > td,
-.table > tbody > tr.danger > td,
-.table > tfoot > tr.danger > td,
-.table > thead > tr.danger > th,
-.table > tbody > tr.danger > th,
-.table > tfoot > tr.danger > th {
- background-color: #f2dede;
-}
-
-.table-hover > tbody > tr > td.danger:hover,
-.table-hover > tbody > tr > th.danger:hover,
-.table-hover > tbody > tr.danger:hover > td,
-.table-hover > tbody > tr.danger:hover > th {
- background-color: #ebcccc;
-}
-
-@media (max-width: 767px) {
- .table-responsive {
- width: 100%;
- margin-bottom: 15px;
- overflow-x: scroll;
- overflow-y: hidden;
- -webkit-overflow-scrolling: touch;
- -ms-overflow-style: -ms-autohiding-scrollbar;
- border: 1px solid #ddd;
- }
-
- .table-responsive > .table {
- margin-bottom: 0;
- }
-
- .table-responsive > .table > thead > tr > th,
- .table-responsive > .table > tbody > tr > th,
- .table-responsive > .table > tfoot > tr > th,
- .table-responsive > .table > thead > tr > td,
- .table-responsive > .table > tbody > tr > td,
- .table-responsive > .table > tfoot > tr > td {
- white-space: nowrap;
- }
-
- .table-responsive > .table-bordered {
- border: 0;
- }
-
- .table-responsive > .table-bordered > thead > tr > th:first-child,
- .table-responsive > .table-bordered > tbody > tr > th:first-child,
- .table-responsive > .table-bordered > tfoot > tr > th:first-child,
- .table-responsive > .table-bordered > thead > tr > td:first-child,
- .table-responsive > .table-bordered > tbody > tr > td:first-child,
- .table-responsive > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0;
- }
-
- .table-responsive > .table-bordered > thead > tr > th:last-child,
- .table-responsive > .table-bordered > tbody > tr > th:last-child,
- .table-responsive > .table-bordered > tfoot > tr > th:last-child,
- .table-responsive > .table-bordered > thead > tr > td:last-child,
- .table-responsive > .table-bordered > tbody > tr > td:last-child,
- .table-responsive > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0;
- }
-
- .table-responsive > .table-bordered > tbody > tr:last-child > th,
- .table-responsive > .table-bordered > tfoot > tr:last-child > th,
- .table-responsive > .table-bordered > tbody > tr:last-child > td,
- .table-responsive > .table-bordered > tfoot > tr:last-child > td {
- border-bottom: 0;
- }
-}
-
-fieldset {
- min-width: 0;
- padding: 0;
- margin: 0;
- border: 0;
-}
-
-legend {
- display: block;
- width: 100%;
- padding: 0;
- margin-bottom: 20px;
- font-size: 21px;
- line-height: inherit;
- color: #333;
- border: 0;
- border-bottom: 1px solid #e5e5e5;
-}
-
-label {
- display: inline-block;
- margin-bottom: 5px;
- font-weight: bold;
-}
-
-input[type="search"] {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-input[type="radio"],
-input[type="checkbox"] {
- margin: 4px 0 0;
- margin-top: 1px \9;
- /* IE8-9 */
- line-height: normal;
-}
-
-input[type="file"] {
- display: block;
-}
-
-input[type="range"] {
- display: block;
- width: 100%;
-}
-
-select[multiple],
-select[size] {
- height: auto;
-}
-
-input[type="file"]:focus,
-input[type="radio"]:focus,
-input[type="checkbox"]:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px;
-}
-
-output {
- display: block;
- padding-top: 7px;
- font-size: 14px;
- line-height: 1.42857143;
- color: #555;
-}
-
-.form-control {
- display: block;
- width: 100%;
- height: 34px;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 1.42857143;
- color: #555;
- background-color: #fff;
- background-image: none;
- border: 1px solid #ccc;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-}
-
-.form-control:focus {
- border-color: #66afe9;
- outline: 0;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
-}
-
-.form-control::-moz-placeholder {
- color: #999;
- opacity: 1;
-}
-
-.form-control:-ms-input-placeholder {
- color: #999;
-}
-
-.form-control::-webkit-input-placeholder {
- color: #999;
-}
-
-.form-control[disabled],
-.form-control[readonly],
-fieldset[disabled] .form-control {
- cursor: not-allowed;
- background-color: #eee;
- opacity: 1;
-}
-
-textarea.form-control {
- height: auto;
-}
-
-input[type="search"] {
- -webkit-appearance: none;
-}
-
-input[type="date"] {
- line-height: 34px;
-}
-
-.form-group {
- margin-bottom: 15px;
-}
-
-.radio,
-.checkbox {
- display: block;
- min-height: 20px;
- padding-left: 20px;
- margin-top: 10px;
- margin-bottom: 10px;
-}
-
-.radio label,
-.checkbox label {
- display: inline;
- font-weight: normal;
- cursor: pointer;
-}
-
-.radio input[type="radio"],
-.radio-inline input[type="radio"],
-.checkbox input[type="checkbox"],
-.checkbox-inline input[type="checkbox"] {
- float: left;
- margin-left: -20px;
-}
-
-.radio + .radio,
-.checkbox + .checkbox {
- margin-top: -5px;
-}
-
-.radio-inline,
-.checkbox-inline {
- display: inline-block;
- padding-left: 20px;
- margin-bottom: 0;
- font-weight: normal;
- vertical-align: middle;
- cursor: pointer;
-}
-
-.radio-inline + .radio-inline,
-.checkbox-inline + .checkbox-inline {
- margin-top: 0;
- margin-left: 10px;
-}
-
-input[type="radio"][disabled],
-input[type="checkbox"][disabled],
-.radio[disabled],
-.radio-inline[disabled],
-.checkbox[disabled],
-.checkbox-inline[disabled],
-fieldset[disabled] input[type="radio"],
-fieldset[disabled] input[type="checkbox"],
-fieldset[disabled] .radio,
-fieldset[disabled] .radio-inline,
-fieldset[disabled] .checkbox,
-fieldset[disabled] .checkbox-inline {
- cursor: not-allowed;
-}
-
-.input-sm {
- height: 30px;
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px;
-}
-
-select.input-sm {
- height: 30px;
- line-height: 30px;
-}
-
-textarea.input-sm,
-select[multiple].input-sm {
- height: auto;
-}
-
-.input-lg {
- height: 46px;
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 6px;
-}
-
-select.input-lg {
- height: 46px;
- line-height: 46px;
-}
-
-textarea.input-lg,
-select[multiple].input-lg {
- height: auto;
-}
-
-.has-feedback {
- position: relative;
-}
-
-.has-feedback .form-control {
- padding-right: 42.5px;
-}
-
-.has-feedback .form-control-feedback {
- position: absolute;
- top: 25px;
- right: 0;
- display: block;
- width: 34px;
- height: 34px;
- line-height: 34px;
- text-align: center;
-}
-
-.has-success .help-block,
-.has-success .control-label,
-.has-success .radio,
-.has-success .checkbox,
-.has-success .radio-inline,
-.has-success .checkbox-inline {
- color: #3c763d;
-}
-
-.has-success .form-control {
- border-color: #3c763d;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
-}
-
-.has-success .form-control:focus {
- border-color: #2b542c;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
-}
-
-.has-success .input-group-addon {
- color: #3c763d;
- background-color: #dff0d8;
- border-color: #3c763d;
-}
-
-.has-success .form-control-feedback {
- color: #3c763d;
-}
-
-.has-warning .help-block,
-.has-warning .control-label,
-.has-warning .radio,
-.has-warning .checkbox,
-.has-warning .radio-inline,
-.has-warning .checkbox-inline {
- color: #8a6d3b;
-}
-
-.has-warning .form-control {
- border-color: #8a6d3b;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
-}
-
-.has-warning .form-control:focus {
- border-color: #66512c;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
-}
-
-.has-warning .input-group-addon {
- color: #8a6d3b;
- background-color: #fcf8e3;
- border-color: #8a6d3b;
-}
-
-.has-warning .form-control-feedback {
- color: #8a6d3b;
-}
-
-.has-error .help-block,
-.has-error .control-label,
-.has-error .radio,
-.has-error .checkbox,
-.has-error .radio-inline,
-.has-error .checkbox-inline {
- color: #a94442;
-}
-
-.has-error .form-control {
- border-color: #a94442;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
-}
-
-.has-error .form-control:focus {
- border-color: #843534;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
-}
-
-.has-error .input-group-addon {
- color: #a94442;
- background-color: #f2dede;
- border-color: #a94442;
-}
-
-.has-error .form-control-feedback {
- color: #a94442;
-}
-
-.form-control-static {
- margin-bottom: 0;
-}
-
-.help-block {
- display: block;
- margin-top: 5px;
- margin-bottom: 10px;
- color: #737373;
-}
-
-@media (min-width: 768px) {
- .form-inline .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle;
- }
-
- .form-inline .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle;
- }
-
- .form-inline .input-group > .form-control {
- width: 100%;
- }
-
- .form-inline .control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
-
- .form-inline .radio,
- .form-inline .checkbox {
- display: inline-block;
- padding-left: 0;
- margin-top: 0;
- margin-bottom: 0;
- vertical-align: middle;
- }
-
- .form-inline .radio input[type="radio"],
- .form-inline .checkbox input[type="checkbox"] {
- float: none;
- margin-left: 0;
- }
-
- .form-inline .has-feedback .form-control-feedback {
- top: 0;
- }
-}
-
-.form-horizontal .control-label,
-.form-horizontal .radio,
-.form-horizontal .checkbox,
-.form-horizontal .radio-inline,
-.form-horizontal .checkbox-inline {
- padding-top: 7px;
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.form-horizontal .radio,
-.form-horizontal .checkbox {
- min-height: 27px;
-}
-
-.form-horizontal .form-group {
- margin-right: -15px;
- margin-left: -15px;
-}
-
-.form-horizontal .form-control-static {
- padding-top: 7px;
-}
-
-@media (min-width: 768px) {
- .form-horizontal .control-label {
- text-align: right;
- }
-}
-
-.form-horizontal .has-feedback .form-control-feedback {
- top: 0;
- right: 15px;
-}
-
-.btn {
- display: inline-block;
- padding: 6px 12px;
- margin-bottom: 0;
- font-size: 14px;
- font-weight: normal;
- line-height: 1.42857143;
- text-align: center;
- white-space: nowrap;
- vertical-align: middle;
- cursor: pointer;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- background-image: none;
- border: 1px solid transparent;
- border-radius: 4px;
-}
-
-.btn:focus,
-.btn:active:focus,
-.btn.active:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px;
-}
-
-.btn:hover,
-.btn:focus {
- color: #333;
- text-decoration: none;
-}
-
-.btn:active,
-.btn.active {
- background-image: none;
- outline: 0;
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
-}
-
-.btn.disabled,
-.btn[disabled],
-fieldset[disabled] .btn {
- pointer-events: none;
- cursor: not-allowed;
- filter: alpha(opacity=65);
- -webkit-box-shadow: none;
- box-shadow: none;
- opacity: .65;
-}
-
-.btn.default {
- color: #333333;
- text-shadow: none;
- background-color: #e5e5e5;
- height: 12px;
-}
-
-.btn.default:hover,
-.btn.default:focus,
-.btn.default:active,
-.btn.default.active,
-.btn.default[disabled],
-.btn.default.disabled {
- color: #333333;
- background-color: #d8d8d8 !important;
- outline: none !important;
-}
-
-.btn-default:hover,
-.btn-default:focus,
-.btn-default:active,
-.btn-default.active,
-.open .dropdown-toggle.btn-default {
- color: #333;
- background-color: #ebebeb;
- border-color: #adadad;
-}
-
-.btn-default:active,
-.btn-default.active,
-.open .dropdown-toggle.btn-default {
- background-image: none;
-}
-
-.btn-default.disabled,
-.btn-default[disabled],
-fieldset[disabled] .btn-default,
-.btn-default.disabled:hover,
-.btn-default[disabled]:hover,
-fieldset[disabled] .btn-default:hover,
-.btn-default.disabled:focus,
-.btn-default[disabled]:focus,
-fieldset[disabled] .btn-default:focus,
-.btn-default.disabled:active,
-.btn-default[disabled]:active,
-fieldset[disabled] .btn-default:active,
-.btn-default.disabled.active,
-.btn-default[disabled].active,
-fieldset[disabled] .btn-default.active {
- background-color: #fff;
- border-color: #ccc;
-}
-
-.btn-default .badge {
- color: #fff;
- background-color: #333;
-}
-
-.btn-primary {
- color: #fff;
- background-color: #428bca;
- border-color: #357ebd;
-}
-
-.btn-primary:hover,
-.btn-primary:focus,
-.btn-primary:active,
-.btn-primary.active,
-.open .dropdown-toggle.btn-primary {
- color: #fff;
- background-color: #3276b1;
- border-color: #285e8e;
-}
-
-.btn-primary:active,
-.btn-primary.active,
-.open .dropdown-toggle.btn-primary {
- background-image: none;
-}
-
-.btn-primary.disabled,
-.btn-primary[disabled],
-fieldset[disabled] .btn-primary,
-.btn-primary.disabled:hover,
-.btn-primary[disabled]:hover,
-fieldset[disabled] .btn-primary:hover,
-.btn-primary.disabled:focus,
-.btn-primary[disabled]:focus,
-fieldset[disabled] .btn-primary:focus,
-.btn-primary.disabled:active,
-.btn-primary[disabled]:active,
-fieldset[disabled] .btn-primary:active,
-.btn-primary.disabled.active,
-.btn-primary[disabled].active,
-fieldset[disabled] .btn-primary.active {
- background-color: #428bca;
- border-color: #357ebd;
-}
-
-.btn-primary .badge {
- color: #428bca;
- background-color: #fff;
-}
-
-.btn-success {
- color: #fff;
- background-color: #5cb85c;
- border-color: #4cae4c;
-}
-
-.btn-success:hover,
-.btn-success:focus,
-.btn-success:active,
-.btn-success.active,
-.open .dropdown-toggle.btn-success {
- color: #fff;
- background-color: #47a447;
- border-color: #398439;
-}
-
-.btn-success:active,
-.btn-success.active,
-.open .dropdown-toggle.btn-success {
- background-image: none;
-}
-
-.btn-success.disabled,
-.btn-success[disabled],
-fieldset[disabled] .btn-success,
-.btn-success.disabled:hover,
-.btn-success[disabled]:hover,
-fieldset[disabled] .btn-success:hover,
-.btn-success.disabled:focus,
-.btn-success[disabled]:focus,
-fieldset[disabled] .btn-success:focus,
-.btn-success.disabled:active,
-.btn-success[disabled]:active,
-fieldset[disabled] .btn-success:active,
-.btn-success.disabled.active,
-.btn-success[disabled].active,
-fieldset[disabled] .btn-success.active {
- background-color: #5cb85c;
- border-color: #4cae4c;
-}
-
-.btn-success .badge {
- color: #5cb85c;
- background-color: #fff;
-}
-
-.btn-info {
- color: #fff;
- background-color: #5bc0de;
- border-color: #46b8da;
-}
-
-.btn-info:hover,
-.btn-info:focus,
-.btn-info:active,
-.btn-info.active,
-.open .dropdown-toggle.btn-info {
- color: #fff;
- background-color: #39b3d7;
- border-color: #269abc;
-}
-
-.btn-info:active,
-.btn-info.active,
-.open .dropdown-toggle.btn-info {
- background-image: none;
-}
-
-.btn-info.disabled,
-.btn-info[disabled],
-fieldset[disabled] .btn-info,
-.btn-info.disabled:hover,
-.btn-info[disabled]:hover,
-fieldset[disabled] .btn-info:hover,
-.btn-info.disabled:focus,
-.btn-info[disabled]:focus,
-fieldset[disabled] .btn-info:focus,
-.btn-info.disabled:active,
-.btn-info[disabled]:active,
-fieldset[disabled] .btn-info:active,
-.btn-info.disabled.active,
-.btn-info[disabled].active,
-fieldset[disabled] .btn-info.active {
- background-color: #5bc0de;
- border-color: #46b8da;
-}
-
-.btn-info .badge {
- color: #5bc0de;
- background-color: #fff;
-}
-
-.btn-warning {
- color: #fff;
- background-color: #f0ad4e;
- border-color: #eea236;
-}
-
-.btn-warning:hover,
-.btn-warning:focus,
-.btn-warning:active,
-.btn-warning.active,
-.open .dropdown-toggle.btn-warning {
- color: #fff;
- background-color: #ed9c28;
- border-color: #d58512;
-}
-
-.btn-warning:active,
-.btn-warning.active,
-.open .dropdown-toggle.btn-warning {
- background-image: none;
-}
-
-.btn-warning.disabled,
-.btn-warning[disabled],
-fieldset[disabled] .btn-warning,
-.btn-warning.disabled:hover,
-.btn-warning[disabled]:hover,
-fieldset[disabled] .btn-warning:hover,
-.btn-warning.disabled:focus,
-.btn-warning[disabled]:focus,
-fieldset[disabled] .btn-warning:focus,
-.btn-warning.disabled:active,
-.btn-warning[disabled]:active,
-fieldset[disabled] .btn-warning:active,
-.btn-warning.disabled.active,
-.btn-warning[disabled].active,
-fieldset[disabled] .btn-warning.active {
- background-color: #f0ad4e;
- border-color: #eea236;
-}
-
-.btn-warning .badge {
- color: #f0ad4e;
- background-color: #fff;
-}
-
-.btn-danger {
- color: #fff;
- background-color: #d9534f;
- border-color: #d43f3a;
-}
-
-.btn-danger:hover,
-.btn-danger:focus,
-.btn-danger:active,
-.btn-danger.active,
-.open .dropdown-toggle.btn-danger {
- color: #fff;
- background-color: #d2322d;
- border-color: #ac2925;
-}
-
-.btn-danger:active,
-.btn-danger.active,
-.open .dropdown-toggle.btn-danger {
- background-image: none;
-}
-
-.btn-danger.disabled,
-.btn-danger[disabled],
-fieldset[disabled] .btn-danger,
-.btn-danger.disabled:hover,
-.btn-danger[disabled]:hover,
-fieldset[disabled] .btn-danger:hover,
-.btn-danger.disabled:focus,
-.btn-danger[disabled]:focus,
-fieldset[disabled] .btn-danger:focus,
-.btn-danger.disabled:active,
-.btn-danger[disabled]:active,
-fieldset[disabled] .btn-danger:active,
-.btn-danger.disabled.active,
-.btn-danger[disabled].active,
-fieldset[disabled] .btn-danger.active {
- background-color: #d9534f;
- border-color: #d43f3a;
-}
-
-.btn-danger .badge {
- color: #d9534f;
- background-color: #fff;
-}
-
-.btn-link {
- font-weight: normal;
- color: #428bca;
- cursor: pointer;
- border-radius: 0;
-}
-
-.btn-link,
-.btn-link:active,
-.btn-link[disabled],
-fieldset[disabled] .btn-link {
- background-color: transparent;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.btn-link,
-.btn-link:hover,
-.btn-link:focus,
-.btn-link:active {
- border-color: transparent;
-}
-
-.btn-link:hover,
-.btn-link:focus {
- color: #2a6496;
- text-decoration: underline;
- background-color: transparent;
-}
-
-.btn-link[disabled]:hover,
-fieldset[disabled] .btn-link:hover,
-.btn-link[disabled]:focus,
-fieldset[disabled] .btn-link:focus {
- color: #999;
- text-decoration: none;
-}
-
-.btn-lg,
-.btn-group-lg > .btn {
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 6px;
-}
-
-.btn-sm,
-.btn-group-sm > .btn {
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px;
-}
-
-.btn-sm {
- padding: 2px 10px 8px 10px;
-}
-
-.btn-xs,
-.btn-group-xs > .btn {
- padding: 1px 5px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px;
-}
-
-.btn-block {
- display: block;
- width: 100%;
- padding-right: 0;
- padding-left: 0;
-}
-
-.btn-block + .btn-block {
- margin-top: 5px;
-}
-
-input[type="submit"].btn-block,
-input[type="reset"].btn-block,
-input[type="button"].btn-block {
- width: 100%;
-}
-
-.fade {
- opacity: 0;
- -webkit-transition: opacity .15s linear;
- transition: opacity .15s linear;
-}
-
-.fade.in {
- opacity: 1;
-}
-
-.collapse {
- display: none;
-}
-
-.collapse.in {
- display: block;
-}
-
-.collapsing {
- position: relative;
- height: 0;
- overflow: hidden;
- -webkit-transition: height .35s ease;
- transition: height .35s ease;
-}
-
-@font-face {
- font-family: 'Glyphicons Halflings';
-
- src: url('../fonts/glyphicons-halflings-regular.eot');
- src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
-}
-
-.glyphicon {
- position: relative;
- top: 1px;
- display: inline-block;
- font-family: 'Glyphicons Halflings';
- font-style: normal;
- font-weight: normal;
- line-height: 1;
-
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-.glyphicon-asterisk:before {
- content: "\2a";
-}
-
-.glyphicon-plus:before {
- content: "\2b";
-}
-
-.glyphicon-euro:before {
- content: "\20ac";
-}
-
-.glyphicon-minus:before {
- content: "\2212";
-}
-
-.glyphicon-cloud:before {
- content: "\2601";
-}
-
-.glyphicon-envelope:before {
- content: "\2709";
-}
-
-.glyphicon-pencil:before {
- content: "\270f";
-}
-
-.glyphicon-glass:before {
- content: "\e001";
-}
-
-.glyphicon-music:before {
- content: "\e002";
-}
-
-.glyphicon-search:before {
- content: "\e003";
-}
-
-.glyphicon-heart:before {
- content: "\e005";
-}
-
-.glyphicon-star:before {
- content: "\e006";
-}
-
-.glyphicon-star-empty:before {
- content: "\e007";
-}
-
-.glyphicon-user:before {
- content: "\e008";
-}
-
-.glyphicon-film:before {
- content: "\e009";
-}
-
-.glyphicon-th-large:before {
- content: "\e010";
-}
-
-.glyphicon-th:before {
- content: "\e011";
-}
-
-.glyphicon-th-list:before {
- content: "\e012";
-}
-
-.glyphicon-ok:before {
- content: "\e013";
-}
-
-.glyphicon-remove:before {
- content: "\e014";
-}
-
-.glyphicon-zoom-in:before {
- content: "\e015";
-}
-
-.glyphicon-zoom-out:before {
- content: "\e016";
-}
-
-.glyphicon-off:before {
- content: "\e017";
-}
-
-.glyphicon-signal:before {
- content: "\e018";
-}
-
-.glyphicon-cog:before {
- content: "\e019";
-}
-
-.glyphicon-trash:before {
- content: "\e020";
-}
-
-.glyphicon-home:before {
- content: "\e021";
-}
-
-.glyphicon-file:before {
- content: "\e022";
-}
-
-.glyphicon-time:before {
- content: "\e023";
-}
-
-.glyphicon-road:before {
- content: "\e024";
-}
-
-.glyphicon-download-alt:before {
- content: "\e025";
-}
-
-.glyphicon-download:before {
- content: "\e026";
-}
-
-.glyphicon-upload:before {
- content: "\e027";
-}
-
-.glyphicon-inbox:before {
- content: "\e028";
-}
-
-.glyphicon-play-circle:before {
- content: "\e029";
-}
-
-.glyphicon-repeat:before {
- content: "\e030";
-}
-
-.glyphicon-refresh:before {
- content: "\e031";
-}
-
-.glyphicon-list-alt:before {
- content: "\e032";
-}
-
-.glyphicon-lock:before {
- content: "\e033";
-}
-
-.glyphicon-flag:before {
- content: "\e034";
-}
-
-.glyphicon-headphones:before {
- content: "\e035";
-}
-
-.glyphicon-volume-off:before {
- content: "\e036";
-}
-
-.glyphicon-volume-down:before {
- content: "\e037";
-}
-
-.glyphicon-volume-up:before {
- content: "\e038";
-}
-
-.glyphicon-qrcode:before {
- content: "\e039";
-}
-
-.glyphicon-barcode:before {
- content: "\e040";
-}
-
-.glyphicon-tag:before {
- content: "\e041";
-}
-
-.glyphicon-tags:before {
- content: "\e042";
-}
-
-.glyphicon-book:before {
- content: "\e043";
-}
-
-.glyphicon-bookmark:before {
- content: "\e044";
-}
-
-.glyphicon-print:before {
- content: "\e045";
-}
-
-.glyphicon-camera:before {
- content: "\e046";
-}
-
-.glyphicon-font:before {
- content: "\e047";
-}
-
-.glyphicon-bold:before {
- content: "\e048";
-}
-
-.glyphicon-italic:before {
- content: "\e049";
-}
-
-.glyphicon-text-height:before {
- content: "\e050";
-}
-
-.glyphicon-text-width:before {
- content: "\e051";
-}
-
-.glyphicon-align-left:before {
- content: "\e052";
-}
-
-.glyphicon-align-center:before {
- content: "\e053";
-}
-
-.glyphicon-align-right:before {
- content: "\e054";
-}
-
-.glyphicon-align-justify:before {
- content: "\e055";
-}
-
-.glyphicon-list:before {
- content: "\e056";
-}
-
-.glyphicon-indent-left:before {
- content: "\e057";
-}
-
-.glyphicon-indent-right:before {
- content: "\e058";
-}
-
-.glyphicon-facetime-video:before {
- content: "\e059";
-}
-
-.glyphicon-picture:before {
- content: "\e060";
-}
-
-.glyphicon-map-marker:before {
- content: "\e062";
-}
-
-.glyphicon-adjust:before {
- content: "\e063";
-}
-
-.glyphicon-tint:before {
- content: "\e064";
-}
-
-.glyphicon-edit:before {
- content: "\e065";
-}
-
-.glyphicon-share:before {
- content: "\e066";
-}
-
-.glyphicon-check:before {
- content: "\e067";
-}
-
-.glyphicon-move:before {
- content: "\e068";
-}
-
-.glyphicon-step-backward:before {
- content: "\e069";
-}
-
-.glyphicon-fast-backward:before {
- content: "\e070";
-}
-
-.glyphicon-backward:before {
- content: "\e071";
-}
-
-.glyphicon-play:before {
- content: "\e072";
-}
-
-.glyphicon-pause:before {
- content: "\e073";
-}
-
-.glyphicon-stop:before {
- content: "\e074";
-}
-
-.glyphicon-forward:before {
- content: "\e075";
-}
-
-.glyphicon-fast-forward:before {
- content: "\e076";
-}
-
-.glyphicon-step-forward:before {
- content: "\e077";
-}
-
-.glyphicon-eject:before {
- content: "\e078";
-}
-
-.glyphicon-chevron-left:before {
- content: "\e079";
-}
-
-.glyphicon-chevron-right:before {
- content: "\e080";
-}
-
-.glyphicon-plus-sign:before {
- content: "\e081";
-}
-
-.glyphicon-minus-sign:before {
- content: "\e082";
-}
-
-.glyphicon-remove-sign:before {
- content: "\e083";
-}
-
-.glyphicon-ok-sign:before {
- content: "\e084";
-}
-
-.glyphicon-question-sign:before {
- content: "\e085";
-}
-
-.glyphicon-info-sign:before {
- content: "\e086";
-}
-
-.glyphicon-screenshot:before {
- content: "\e087";
-}
-
-.glyphicon-remove-circle:before {
- content: "\e088";
-}
-
-.glyphicon-ok-circle:before {
- content: "\e089";
-}
-
-.glyphicon-ban-circle:before {
- content: "\e090";
-}
-
-.glyphicon-arrow-left:before {
- content: "\e091";
-}
-
-.glyphicon-arrow-right:before {
- content: "\e092";
-}
-
-.glyphicon-arrow-up:before {
- content: "\e093";
-}
-
-.glyphicon-arrow-down:before {
- content: "\e094";
-}
-
-.glyphicon-share-alt:before {
- content: "\e095";
-}
-
-.glyphicon-resize-full:before {
- content: "\e096";
-}
-
-.glyphicon-resize-small:before {
- content: "\e097";
-}
-
-.glyphicon-exclamation-sign:before {
- content: "\e101";
-}
-
-.glyphicon-gift:before {
- content: "\e102";
-}
-
-.glyphicon-leaf:before {
- content: "\e103";
-}
-
-.glyphicon-fire:before {
- content: "\e104";
-}
-
-.glyphicon-eye-open:before {
- content: "\e105";
-}
-
-.glyphicon-eye-close:before {
- content: "\e106";
-}
-
-.glyphicon-warning-sign:before {
- content: "\e107";
-}
-
-.glyphicon-plane:before {
- content: "\e108";
-}
-
-.glyphicon-calendar:before {
- content: "\e109";
-}
-
-.glyphicon-random:before {
- content: "\e110";
-}
-
-.glyphicon-comment:before {
- content: "\e111";
-}
-
-.glyphicon-magnet:before {
- content: "\e112";
-}
-
-.glyphicon-chevron-up:before {
- content: "\e113";
-}
-
-.glyphicon-chevron-down:before {
- content: "\e114";
-}
-
-.glyphicon-retweet:before {
- content: "\e115";
-}
-
-.glyphicon-shopping-cart:before {
- content: "\e116";
-}
-
-.glyphicon-folder-close:before {
- content: "\e117";
-}
-
-.glyphicon-folder-open:before {
- content: "\e118";
-}
-
-.glyphicon-resize-vertical:before {
- content: "\e119";
-}
-
-.glyphicon-resize-horizontal:before {
- content: "\e120";
-}
-
-.glyphicon-hdd:before {
- content: "\e121";
-}
-
-.glyphicon-bullhorn:before {
- content: "\e122";
-}
-
-.glyphicon-bell:before {
- content: "\e123";
-}
-
-.glyphicon-certificate:before {
- content: "\e124";
-}
-
-.glyphicon-thumbs-up:before {
- content: "\e125";
-}
-
-.glyphicon-thumbs-down:before {
- content: "\e126";
-}
-
-.glyphicon-hand-right:before {
- content: "\e127";
-}
-
-.glyphicon-hand-left:before {
- content: "\e128";
-}
-
-.glyphicon-hand-up:before {
- content: "\e129";
-}
-
-.glyphicon-hand-down:before {
- content: "\e130";
-}
-
-.glyphicon-circle-arrow-right:before {
- content: "\e131";
-}
-
-.glyphicon-circle-arrow-left:before {
- content: "\e132";
-}
-
-.glyphicon-circle-arrow-up:before {
- content: "\e133";
-}
-
-.glyphicon-circle-arrow-down:before {
- content: "\e134";
-}
-
-.glyphicon-globe:before {
- content: "\e135";
-}
-
-.glyphicon-wrench:before {
- content: "\e136";
-}
-
-.glyphicon-tasks:before {
- content: "\e137";
-}
-
-.glyphicon-filter:before {
- content: "\e138";
-}
-
-.glyphicon-briefcase:before {
- content: "\e139";
-}
-
-.glyphicon-fullscreen:before {
- content: "\e140";
-}
-
-.glyphicon-dashboard:before {
- content: "\e141";
-}
-
-.glyphicon-paperclip:before {
- content: "\e142";
-}
-
-.glyphicon-heart-empty:before {
- content: "\e143";
-}
-
-.glyphicon-link:before {
- content: "\e144";
-}
-
-.glyphicon-phone:before {
- content: "\e145";
-}
-
-.glyphicon-pushpin:before {
- content: "\e146";
-}
-
-.glyphicon-usd:before {
- content: "\e148";
-}
-
-.glyphicon-gbp:before {
- content: "\e149";
-}
-
-.glyphicon-sort:before {
- content: "\e150";
-}
-
-.glyphicon-sort-by-alphabet:before {
- content: "\e151";
-}
-
-.glyphicon-sort-by-alphabet-alt:before {
- content: "\e152";
-}
-
-.glyphicon-sort-by-order:before {
- content: "\e153";
-}
-
-.glyphicon-sort-by-order-alt:before {
- content: "\e154";
-}
-
-.glyphicon-sort-by-attributes:before {
- content: "\e155";
-}
-
-.glyphicon-sort-by-attributes-alt:before {
- content: "\e156";
-}
-
-.glyphicon-unchecked:before {
- content: "\e157";
-}
-
-.glyphicon-expand:before {
- content: "\e158";
-}
-
-.glyphicon-collapse-down:before {
- content: "\e159";
-}
-
-.glyphicon-collapse-up:before {
- content: "\e160";
-}
-
-.glyphicon-log-in:before {
- content: "\e161";
-}
-
-.glyphicon-flash:before {
- content: "\e162";
-}
-
-.glyphicon-log-out:before {
- content: "\e163";
-}
-
-.glyphicon-new-window:before {
- content: "\e164";
-}
-
-.glyphicon-record:before {
- content: "\e165";
-}
-
-.glyphicon-save:before {
- content: "\e166";
-}
-
-.glyphicon-open:before {
- content: "\e167";
-}
-
-.glyphicon-saved:before {
- content: "\e168";
-}
-
-.glyphicon-import:before {
- content: "\e169";
-}
-
-.glyphicon-export:before {
- content: "\e170";
-}
-
-.glyphicon-send:before {
- content: "\e171";
-}
-
-.glyphicon-floppy-disk:before {
- content: "\e172";
-}
-
-.glyphicon-floppy-saved:before {
- content: "\e173";
-}
-
-.glyphicon-floppy-remove:before {
- content: "\e174";
-}
-
-.glyphicon-floppy-save:before {
- content: "\e175";
-}
-
-.glyphicon-floppy-open:before {
- content: "\e176";
-}
-
-.glyphicon-credit-card:before {
- content: "\e177";
-}
-
-.glyphicon-transfer:before {
- content: "\e178";
-}
-
-.glyphicon-cutlery:before {
- content: "\e179";
-}
-
-.glyphicon-header:before {
- content: "\e180";
-}
-
-.glyphicon-compressed:before {
- content: "\e181";
-}
-
-.glyphicon-earphone:before {
- content: "\e182";
-}
-
-.glyphicon-phone-alt:before {
- content: "\e183";
-}
-
-.glyphicon-tower:before {
- content: "\e184";
-}
-
-.glyphicon-stats:before {
- content: "\e185";
-}
-
-.glyphicon-sd-video:before {
- content: "\e186";
-}
-
-.glyphicon-hd-video:before {
- content: "\e187";
-}
-
-.glyphicon-subtitles:before {
- content: "\e188";
-}
-
-.glyphicon-sound-stereo:before {
- content: "\e189";
-}
-
-.glyphicon-sound-dolby:before {
- content: "\e190";
-}
-
-.glyphicon-sound-5-1:before {
- content: "\e191";
-}
-
-.glyphicon-sound-6-1:before {
- content: "\e192";
-}
-
-.glyphicon-sound-7-1:before {
- content: "\e193";
-}
-
-.glyphicon-copyright-mark:before {
- content: "\e194";
-}
-
-.glyphicon-registration-mark:before {
- content: "\e195";
-}
-
-.glyphicon-cloud-download:before {
- content: "\e197";
-}
-
-.glyphicon-cloud-upload:before {
- content: "\e198";
-}
-
-.glyphicon-tree-conifer:before {
- content: "\e199";
-}
-
-.glyphicon-tree-deciduous:before {
- content: "\e200";
-}
-
-.caret {
- display: inline-block;
- width: 0;
- height: 0;
- margin-left: 2px;
- vertical-align: middle;
- border-top: 4px solid;
- border-right: 4px solid transparent;
- border-left: 4px solid transparent;
-}
-
-.dropdown {
- position: relative;
-}
-
-.dropdown-toggle:focus {
- outline: 0;
-}
-
-.dropdown-menu {
- position: absolute;
- top: 100%;
- left: 0;
- z-index: 1000;
- display: none;
- float: left;
- min-width: 160px;
- padding: 5px 0;
- margin: 2px 0 0;
- font-size: 14px;
- list-style: none;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, .15);
- border-radius: 4px;
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
- box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
-}
-
-.dropdown-menu.pull-right {
- right: 0;
- left: auto;
-}
-
-.dropdown-menu .divider {
- height: 1px;
- margin: 9px 0;
- overflow: hidden;
- background-color: #e5e5e5;
-}
-
-.dropdown-menu > li > a {
- display: block;
- padding: 3px 20px;
- clear: both;
- font-weight: normal;
- line-height: 1.42857143;
- color: #333;
- white-space: nowrap;
-}
-
-.dropdown-menu > li > a:hover,
-.dropdown-menu > li > a:focus {
- color: #262626;
- text-decoration: none;
- background-color: #f5f5f5;
-}
-
-.dropdown-menu > .active > a,
-.dropdown-menu > .active > a:hover,
-.dropdown-menu > .active > a:focus {
- color: #fff;
- text-decoration: none;
- background-color: #428bca;
- outline: 0;
-}
-
-.dropdown-menu > .disabled > a,
-.dropdown-menu > .disabled > a:hover,
-.dropdown-menu > .disabled > a:focus {
- color: #999;
-}
-
-.dropdown-menu > .disabled > a:hover,
-.dropdown-menu > .disabled > a:focus {
- text-decoration: none;
- cursor: not-allowed;
- background-color: transparent;
- background-image: none;
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
-}
-
-.open > .dropdown-menu {
- display: block;
-}
-
-.open > a {
- outline: 0;
-}
-
-.dropdown-menu-right {
- right: 0;
- left: auto;
-}
-
-.dropdown-menu-left {
- right: auto;
- left: 0;
-}
-
-.dropdown-header {
- display: block;
- padding: 3px 20px;
- font-size: 12px;
- line-height: 1.42857143;
- color: #999;
-}
-
-.dropdown-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 990;
-}
-
-.pull-right > .dropdown-menu {
- right: 0;
- left: auto;
-}
-
-.dropup .caret,
-.navbar-fixed-bottom .dropdown .caret {
- content: "";
- border-top: 0;
- border-bottom: 4px solid;
-}
-
-.dropup .dropdown-menu,
-.navbar-fixed-bottom .dropdown .dropdown-menu {
- top: auto;
- bottom: 100%;
- margin-bottom: 1px;
-}
-
-@media (min-width: 768px) {
- .navbar-right .dropdown-menu {
- right: 0;
- left: auto;
- }
-
- .navbar-right .dropdown-menu-left {
- right: auto;
- left: 0;
- }
-}
-
-.btn-group,
-.btn-group-vertical {
- position: relative;
- display: inline-block;
- vertical-align: middle;
-}
-
-.btn-group > .btn,
-.btn-group-vertical > .btn {
- position: relative;
- float: left;
-}
-
-.btn-group > .btn:hover,
-.btn-group-vertical > .btn:hover,
-.btn-group > .btn:focus,
-.btn-group-vertical > .btn:focus,
-.btn-group > .btn:active,
-.btn-group-vertical > .btn:active,
-.btn-group > .btn.active,
-.btn-group-vertical > .btn.active {
- z-index: 2;
-}
-
-.btn-group > .btn:focus,
-.btn-group-vertical > .btn:focus {
- outline: none;
-}
-
-.btn-group .btn + .btn,
-.btn-group .btn + .btn-group,
-.btn-group .btn-group + .btn,
-.btn-group .btn-group + .btn-group {
- margin-left: -1px;
-}
-
-.btn-toolbar {
- margin-left: -5px;
-}
-
-.btn-toolbar .btn-group,
-.btn-toolbar .input-group {
- float: left;
-}
-
-.btn-toolbar > .btn,
-.btn-toolbar > .btn-group,
-.btn-toolbar > .input-group {
- margin-left: 5px;
-}
-
-.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
- border-radius: 0;
-}
-
-.btn-group > .btn:first-child {
- margin-left: 0;
-}
-
-.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-.btn-group > .btn:last-child:not(:first-child),
-.btn-group > .dropdown-toggle:not(:first-child) {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group > .btn-group {
- float: left;
-}
-
-.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
- border-radius: 0;
-}
-
-.btn-group > .btn-group:first-child > .btn:last-child,
-.btn-group > .btn-group:first-child > .dropdown-toggle {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-.btn-group > .btn-group:last-child > .btn:first-child {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group .dropdown-toggle:active,
-.btn-group.open .dropdown-toggle {
- outline: 0;
-}
-
-.btn-group > .btn + .dropdown-toggle {
- padding-right: 8px;
- padding-left: 8px;
-}
-
-.btn-group > .btn-lg + .dropdown-toggle {
- padding-right: 12px;
- padding-left: 12px;
-}
-
-.btn-group.open .dropdown-toggle {
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
-}
-
-.btn-group.open .dropdown-toggle.btn-link {
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.btn .caret {
- margin-left: 0;
-}
-
-.btn-lg .caret {
- border-width: 5px 5px 0;
- border-bottom-width: 0;
-}
-
-.dropup .btn-lg .caret {
- border-width: 0 5px 5px;
-}
-
-.btn-group-vertical > .btn,
-.btn-group-vertical > .btn-group,
-.btn-group-vertical > .btn-group > .btn {
- display: block;
- float: none;
- width: 100%;
- max-width: 100%;
-}
-
-.btn-group-vertical > .btn-group > .btn {
- float: none;
-}
-
-.btn-group-vertical > .btn + .btn,
-.btn-group-vertical > .btn + .btn-group,
-.btn-group-vertical > .btn-group + .btn,
-.btn-group-vertical > .btn-group + .btn-group {
- margin-top: -1px;
- margin-left: 0;
-}
-
-.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
- border-radius: 0;
-}
-
-.btn-group-vertical > .btn:first-child:not(:last-child) {
- border-top-right-radius: 4px;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group-vertical > .btn:last-child:not(:first-child) {
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- border-bottom-left-radius: 4px;
-}
-
-.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
- border-radius: 0;
-}
-
-.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
-.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
- border-top-left-radius: 0;
- border-top-right-radius: 0;
-}
-
-.btn-group-justified {
- display: table;
- width: 100%;
- table-layout: fixed;
- border-collapse: separate;
-}
-
-.btn-group-justified > .btn,
-.btn-group-justified > .btn-group {
- display: table-cell;
- float: none;
- width: 1%;
-}
-
-.btn-group-justified > .btn-group .btn {
- width: 100%;
-}
-
-[data-toggle="buttons"] > .btn > input[type="radio"],
-[data-toggle="buttons"] > .btn > input[type="checkbox"] {
- display: none;
-}
-
-.input-group {
- position: relative;
- display: table;
- border-collapse: separate;
-}
-
-.input-group[class*="col-"] {
- float: none;
- padding-right: 0;
- padding-left: 0;
-}
-
-.input-group .form-control {
- position: relative;
- z-index: 2;
- float: left;
- width: 100%;
- margin-bottom: 0;
-}
-
-.input-group-lg > .form-control,
-.input-group-lg > .input-group-addon,
-.input-group-lg > .input-group-btn > .btn {
- height: 46px;
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 6px;
-}
-
-select.input-group-lg > .form-control,
-select.input-group-lg > .input-group-addon,
-select.input-group-lg > .input-group-btn > .btn {
- height: 46px;
- line-height: 46px;
-}
-
-textarea.input-group-lg > .form-control,
-textarea.input-group-lg > .input-group-addon,
-textarea.input-group-lg > .input-group-btn > .btn,
-select[multiple].input-group-lg > .form-control,
-select[multiple].input-group-lg > .input-group-addon,
-select[multiple].input-group-lg > .input-group-btn > .btn {
- height: auto;
-}
-
-.input-group-sm > .form-control,
-.input-group-sm > .input-group-addon,
-.input-group-sm > .input-group-btn > .btn {
- height: 30px;
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px;
-}
-
-select.input-group-sm > .form-control,
-select.input-group-sm > .input-group-addon,
-select.input-group-sm > .input-group-btn > .btn {
- height: 30px;
- line-height: 30px;
-}
-
-textarea.input-group-sm > .form-control,
-textarea.input-group-sm > .input-group-addon,
-textarea.input-group-sm > .input-group-btn > .btn,
-select[multiple].input-group-sm > .form-control,
-select[multiple].input-group-sm > .input-group-addon,
-select[multiple].input-group-sm > .input-group-btn > .btn {
- height: auto;
-}
-
-.input-group-addon,
-.input-group-btn,
-.input-group .form-control {
- display: table-cell;
-}
-
-.input-group-addon:not(:first-child):not(:last-child),
-.input-group-btn:not(:first-child):not(:last-child),
-.input-group .form-control:not(:first-child):not(:last-child) {
- border-radius: 0;
-}
-
-.input-group-addon,
-.input-group-btn {
- width: 1%;
- white-space: nowrap;
- vertical-align: middle;
-}
-
-.input-group-addon {
- padding: 6px 12px;
- font-size: 14px;
- font-weight: normal;
- line-height: 1;
- color: #555;
- text-align: center;
- background-color: #eee;
- border: 1px solid #ccc;
- border-radius: 4px;
-}
-
-.input-group-addon.input-sm {
- padding: 5px 10px;
- font-size: 12px;
- border-radius: 3px;
-}
-
-.input-group-addon.input-lg {
- padding: 10px 16px;
- font-size: 18px;
- border-radius: 6px;
-}
-
-.input-group-addon input[type="radio"],
-.input-group-addon input[type="checkbox"] {
- margin-top: 0;
-}
-
-.input-group .form-control:first-child,
-.input-group-addon:first-child,
-.input-group-btn:first-child > .btn,
-.input-group-btn:first-child > .btn-group > .btn,
-.input-group-btn:first-child > .dropdown-toggle,
-.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
-.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-.input-group-addon:first-child {
- border-right: 0;
-}
-
-.input-group .form-control:last-child,
-.input-group-addon:last-child,
-.input-group-btn:last-child > .btn,
-.input-group-btn:last-child > .btn-group > .btn,
-.input-group-btn:last-child > .dropdown-toggle,
-.input-group-btn:first-child > .btn:not(:first-child),
-.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.input-group-addon:last-child {
- border-left: 0;
-}
-
-.input-group-btn {
- position: relative;
- font-size: 0;
- white-space: nowrap;
-}
-
-.input-group-btn > .btn {
- position: relative;
-}
-
-.input-group-btn > .btn + .btn {
- margin-left: -1px;
-}
-
-.input-group-btn > .btn:hover,
-.input-group-btn > .btn:focus,
-.input-group-btn > .btn:active {
- z-index: 2;
-}
-
-.input-group-btn:first-child > .btn,
-.input-group-btn:first-child > .btn-group {
- margin-right: -1px;
-}
-
-.input-group-btn:last-child > .btn,
-.input-group-btn:last-child > .btn-group {
- margin-left: -1px;
-}
-
-.nav {
- padding-left: 0;
- margin-bottom: 0;
- list-style: none;
-}
-
-.nav > li {
- position: relative;
- display: block;
-}
-
-.nav > li > a {
- position: relative;
- display: block;
- padding: 10px 15px;
-}
-
-.nav > li > a:hover,
-.nav > li > a:focus {
- text-decoration: none;
- background-color: #eee;
-}
-
-.nav > li.disabled > a {
- color: #999;
-}
-
-.nav > li.disabled > a:hover,
-.nav > li.disabled > a:focus {
- color: #999;
- text-decoration: none;
- cursor: not-allowed;
- background-color: transparent;
-}
-
-.nav .open > a,
-.nav .open > a:hover,
-.nav .open > a:focus {
- background-color: #eee;
- border-color: #428bca;
-}
-
-.nav .nav-divider {
- height: 1px;
- margin: 9px 0;
- overflow: hidden;
- background-color: #e5e5e5;
-}
-
-.nav > li > a > img {
- max-width: none;
-}
-
-.nav-tabs {
- border-bottom: 1px solid #ddd;
-}
-
-.nav-tabs > li {
- float: left;
- margin-bottom: -1px;
-}
-
-.nav-tabs > li > a {
- margin-right: 2px;
- line-height: 1.42857143;
- border: 1px solid transparent;
- border-radius: 4px 4px 0 0;
-}
-
-.nav-tabs > li > a:hover {
- border-color: #eee #eee #ddd;
-}
-
-.nav-tabs > li.active > a,
-.nav-tabs > li.active > a:hover,
-.nav-tabs > li.active > a:focus {
- color: #555;
- cursor: default;
- background-color: #fff;
- border: 1px solid #ddd;
- border-bottom-color: transparent;
-}
-
-.nav-tabs.nav-justified {
- width: 100%;
- border-bottom: 0;
-}
-
-.nav-tabs.nav-justified > li {
- float: none;
-}
-
-.nav-tabs.nav-justified > li > a {
- margin-bottom: 5px;
- text-align: center;
-}
-
-.nav-tabs.nav-justified > .dropdown .dropdown-menu {
- top: auto;
- left: auto;
-}
-
-@media (min-width: 768px) {
- .nav-tabs.nav-justified > li {
- display: table-cell;
- width: 1%;
- }
-
- .nav-tabs.nav-justified > li > a {
- margin-bottom: 0;
- }
-}
-
-.nav-tabs.nav-justified > li > a {
- margin-right: 0;
- border-radius: 4px;
-}
-
-.nav-tabs.nav-justified > .active > a,
-.nav-tabs.nav-justified > .active > a:hover,
-.nav-tabs.nav-justified > .active > a:focus {
- border: 1px solid #ddd;
-}
-
-@media (min-width: 768px) {
- .nav-tabs.nav-justified > li > a {
- border-bottom: 1px solid #ddd;
- border-radius: 4px 4px 0 0;
- }
-
- .nav-tabs.nav-justified > .active > a,
- .nav-tabs.nav-justified > .active > a:hover,
- .nav-tabs.nav-justified > .active > a:focus {
- border-bottom-color: #fff;
- }
-}
-
-.nav-pills > li {
- float: left;
-}
-
-.nav-pills > li > a {
- border-radius: 4px;
-}
-
-.nav-pills > li + li {
- margin-left: 2px;
-}
-
-.nav-pills > li.active > a,
-.nav-pills > li.active > a:hover,
-.nav-pills > li.active > a:focus {
- color: #fff;
- background-color: #428bca;
-}
-
-.nav-stacked > li {
- float: none;
-}
-
-.nav-stacked > li + li {
- margin-top: 2px;
- margin-left: 0;
-}
-
-.nav-justified {
- width: 100%;
-}
-
-.nav-justified > li {
- float: none;
-}
-
-.nav-justified > li > a {
- margin-bottom: 5px;
- text-align: center;
-}
-
-.nav-justified > .dropdown .dropdown-menu {
- top: auto;
- left: auto;
-}
-
-@media (min-width: 768px) {
- .nav-justified > li {
- display: table-cell;
- width: 1%;
- }
-
- .nav-justified > li > a {
- margin-bottom: 0;
- }
-}
-
-.nav-tabs-justified {
- border-bottom: 0;
-}
-
-.nav-tabs-justified > li > a {
- margin-right: 0;
- border-radius: 4px;
-}
-
-.nav-tabs-justified > .active > a,
-.nav-tabs-justified > .active > a:hover,
-.nav-tabs-justified > .active > a:focus {
- border: 1px solid #ddd;
-}
-
-@media (min-width: 768px) {
- .nav-tabs-justified > li > a {
- border-bottom: 1px solid #ddd;
- border-radius: 4px 4px 0 0;
- }
-
- .nav-tabs-justified > .active > a,
- .nav-tabs-justified > .active > a:hover,
- .nav-tabs-justified > .active > a:focus {
- border-bottom-color: #fff;
- }
-}
-
-.tab-content > .tab-pane {
- display: none;
-}
-
-.tab-content > .active {
- display: block;
-}
-
-.nav-tabs .dropdown-menu {
- margin-top: -1px;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
-}
-
-.navbar {
- position: relative;
- min-height: 50px;
- margin-bottom: 20px;
- border: 1px solid transparent;
-}
-
-@media (min-width: 768px) {
- .navbar {
- border-radius: 4px;
- }
-}
-
-@media (min-width: 768px) {
- .navbar-header {
- float: left;
- }
-}
-
-.navbar-collapse {
- max-height: 340px;
- padding-right: 15px;
- padding-left: 15px;
- overflow-x: visible;
- -webkit-overflow-scrolling: touch;
- border-top: 1px solid transparent;
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
-}
-
-.navbar-collapse.in {
- overflow-y: auto;
-}
-
-@media (min-width: 768px) {
- .navbar-collapse {
- width: auto;
- border-top: 0;
- box-shadow: none;
- }
-
- .navbar-collapse.collapse {
- display: block !important;
- height: auto !important;
- padding-bottom: 0;
- overflow: visible !important;
- }
-
- .navbar-collapse.in {
- overflow-y: visible;
- }
-
- .navbar-fixed-top .navbar-collapse,
- .navbar-static-top .navbar-collapse,
- .navbar-fixed-bottom .navbar-collapse {
- padding-right: 0;
- padding-left: 0;
- }
-}
-
-.container > .navbar-header,
-.container-fluid > .navbar-header,
-.container > .navbar-collapse,
-.container-fluid > .navbar-collapse {
- margin-right: -15px;
- margin-left: -15px;
-}
-
-@media (min-width: 768px) {
- .container > .navbar-header,
- .container-fluid > .navbar-header,
- .container > .navbar-collapse,
- .container-fluid > .navbar-collapse {
- margin-right: 0;
- margin-left: 0;
- }
-}
-
-.navbar-static-top {
- z-index: 1000;
- border-width: 0 0 1px;
-}
-
-@media (min-width: 768px) {
- .navbar-static-top {
- border-radius: 0;
- }
-}
-
-.navbar-fixed-top,
-.navbar-fixed-bottom {
- position: fixed;
- right: 0;
- left: 0;
- z-index: 1030;
-}
-
-@media (min-width: 768px) {
- .navbar-fixed-top,
- .navbar-fixed-bottom {
- border-radius: 0;
- }
-}
-
-.navbar-fixed-top {
- top: 0;
- border-width: 0 0 1px;
-}
-
-.navbar-fixed-bottom {
- bottom: 0;
- margin-bottom: 0;
- border-width: 1px 0 0;
-}
-
-.navbar-brand {
- float: left;
- height: 50px;
- padding: 15px 15px;
- font-size: 18px;
- line-height: 20px;
-}
-
-.navbar-brand:hover,
-.navbar-brand:focus {
- text-decoration: none;
-}
-
-@media (min-width: 768px) {
- .navbar > .container .navbar-brand,
- .navbar > .container-fluid .navbar-brand {
- margin-left: -15px;
- }
-}
-
-.navbar-toggle {
- position: relative;
- float: right;
- padding: 9px 10px;
- margin-top: 8px;
- margin-right: 15px;
- margin-bottom: 8px;
- background-color: transparent;
- background-image: none;
- border: 1px solid transparent;
- border-radius: 4px;
-}
-
-.navbar-toggle:focus {
- outline: none;
-}
-
-.navbar-toggle .icon-bar {
- display: block;
- width: 22px;
- height: 2px;
- border-radius: 1px;
-}
-
-.navbar-toggle .icon-bar + .icon-bar {
- margin-top: 4px;
-}
-
-@media (min-width: 768px) {
- .navbar-toggle {
- display: none;
- }
-}
-
-.navbar-nav {
- margin: 7.5px -15px;
-}
-
-.navbar-nav > li > a {
- padding-top: 10px;
- padding-bottom: 10px;
- line-height: 20px;
-}
-
-@media (max-width: 767px) {
- .navbar-nav .open .dropdown-menu {
- position: static;
- float: none;
- width: auto;
- margin-top: 0;
- background-color: transparent;
- border: 0;
- box-shadow: none;
- }
-
- .navbar-nav .open .dropdown-menu > li > a,
- .navbar-nav .open .dropdown-menu .dropdown-header {
- padding: 5px 15px 5px 25px;
- }
-
- .navbar-nav .open .dropdown-menu > li > a {
- line-height: 20px;
- }
-
- .navbar-nav .open .dropdown-menu > li > a:hover,
- .navbar-nav .open .dropdown-menu > li > a:focus {
- background-image: none;
- }
-}
-
-@media (min-width: 768px) {
- .navbar-nav {
- float: left;
- margin: 0;
- }
-
- .navbar-nav > li {
- float: left;
- }
-
- .navbar-nav > li > a {
- padding-top: 15px;
- padding-bottom: 15px;
- }
-
- .navbar-nav.navbar-right:last-child {
- margin-right: -15px;
- }
-}
-
-@media (min-width: 768px) {
- .navbar-left {
- float: left !important;
- }
-
- .navbar-right {
- float: right !important;
- }
-}
-
-.navbar-form {
- padding: 10px 15px;
- margin-top: 8px;
- margin-right: -15px;
- margin-bottom: 8px;
- margin-left: -15px;
- border-top: 1px solid transparent;
- border-bottom: 1px solid transparent;
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
-}
-
-@media (min-width: 768px) {
- .navbar-form .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle;
- }
-
- .navbar-form .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle;
- }
-
- .navbar-form .input-group > .form-control {
- width: 100%;
- }
-
- .navbar-form .control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
-
- .navbar-form .radio,
- .navbar-form .checkbox {
- display: inline-block;
- padding-left: 0;
- margin-top: 0;
- margin-bottom: 0;
- vertical-align: middle;
- }
-
- .navbar-form .radio input[type="radio"],
- .navbar-form .checkbox input[type="checkbox"] {
- float: none;
- margin-left: 0;
- }
-
- .navbar-form .has-feedback .form-control-feedback {
- top: 0;
- }
-}
-
-@media (max-width: 767px) {
- .navbar-form .form-group {
- margin-bottom: 5px;
- }
-}
-
-@media (min-width: 768px) {
- .navbar-form {
- width: auto;
- padding-top: 0;
- padding-bottom: 0;
- margin-right: 0;
- margin-left: 0;
- border: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
- }
-
- .navbar-form.navbar-right:last-child {
- margin-right: -15px;
- }
-}
-
-.navbar-nav > li > .dropdown-menu {
- margin-top: 0;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
-}
-
-.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.navbar-btn {
- margin-top: 8px;
- margin-bottom: 8px;
-}
-
-.navbar-btn.btn-sm {
- margin-top: 10px;
- margin-bottom: 10px;
-}
-
-.navbar-btn.btn-xs {
- margin-top: 14px;
- margin-bottom: 14px;
-}
-
-.navbar-text {
- margin-top: 15px;
- margin-bottom: 15px;
-}
-
-@media (min-width: 768px) {
- .navbar-text {
- float: left;
- margin-right: 15px;
- margin-left: 15px;
- }
-
- .navbar-text.navbar-right:last-child {
- margin-right: 0;
- }
-}
-
-.navbar-default {
- background-color: #f8f8f8;
- border-color: #e7e7e7;
-}
-
-.navbar-default .navbar-brand {
- color: #777;
-}
-
-.navbar-default .navbar-brand:hover,
-.navbar-default .navbar-brand:focus {
- color: #5e5e5e;
- background-color: transparent;
-}
-
-.navbar-default .navbar-text {
- color: #777;
-}
-
-.navbar-default .navbar-nav > li > a {
- color: #777;
-}
-
-.navbar-default .navbar-nav > li > a:hover,
-.navbar-default .navbar-nav > li > a:focus {
- color: #333;
- background-color: transparent;
-}
-
-.navbar-default .navbar-nav > .active > a,
-.navbar-default .navbar-nav > .active > a:hover,
-.navbar-default .navbar-nav > .active > a:focus {
- color: #555;
- background-color: #e7e7e7;
-}
-
-.navbar-default .navbar-nav > .disabled > a,
-.navbar-default .navbar-nav > .disabled > a:hover,
-.navbar-default .navbar-nav > .disabled > a:focus {
- color: #ccc;
- background-color: transparent;
-}
-
-.navbar-default .navbar-toggle {
- border-color: #ddd;
-}
-
-.navbar-default .navbar-toggle:hover,
-.navbar-default .navbar-toggle:focus {
- background-color: #ddd;
-}
-
-.navbar-default .navbar-toggle .icon-bar {
- background-color: #888;
-}
-
-.navbar-default .navbar-collapse,
-.navbar-default .navbar-form {
- border-color: #e7e7e7;
-}
-
-.navbar-default .navbar-nav > .open > a,
-.navbar-default .navbar-nav > .open > a:hover,
-.navbar-default .navbar-nav > .open > a:focus {
- color: #555;
- background-color: #e7e7e7;
-}
-
-@media (max-width: 767px) {
- .navbar-default .navbar-nav .open .dropdown-menu > li > a {
- color: #777;
- }
-
- .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
- .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #333;
- background-color: transparent;
- }
-
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
- color: #555;
- background-color: #e7e7e7;
- }
-
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
- color: #ccc;
- background-color: transparent;
- }
-}
-
-.navbar-default .navbar-link {
- color: #777;
-}
-
-.navbar-default .navbar-link:hover {
- color: #333;
-}
-
-.navbar-inverse {
- background-color: #222;
- border-color: #080808;
-}
-
-.navbar-inverse .navbar-brand {
- color: #999;
-}
-
-.navbar-inverse .navbar-brand:hover,
-.navbar-inverse .navbar-brand:focus {
- color: #fff;
- background-color: transparent;
-}
-
-.navbar-inverse .navbar-text {
- color: #999;
-}
-
-.navbar-inverse .navbar-nav > li > a {
- color: #999;
-}
-
-.navbar-inverse .navbar-nav > li > a:hover,
-.navbar-inverse .navbar-nav > li > a:focus {
- color: #fff;
- background-color: transparent;
-}
-
-.navbar-inverse .navbar-nav > .active > a,
-.navbar-inverse .navbar-nav > .active > a:hover,
-.navbar-inverse .navbar-nav > .active > a:focus {
- color: #fff;
- background-color: #080808;
-}
-
-.navbar-inverse .navbar-nav > .disabled > a,
-.navbar-inverse .navbar-nav > .disabled > a:hover,
-.navbar-inverse .navbar-nav > .disabled > a:focus {
- color: #444;
- background-color: transparent;
-}
-
-.navbar-inverse .navbar-toggle {
- border-color: #333;
-}
-
-.navbar-inverse .navbar-toggle:hover,
-.navbar-inverse .navbar-toggle:focus {
- background-color: #333;
-}
-
-.navbar-inverse .navbar-toggle .icon-bar {
- background-color: #fff;
-}
-
-.navbar-inverse .navbar-collapse,
-.navbar-inverse .navbar-form {
- border-color: #101010;
-}
-
-.navbar-inverse .navbar-nav > .open > a,
-.navbar-inverse .navbar-nav > .open > a:hover,
-.navbar-inverse .navbar-nav > .open > a:focus {
- color: #fff;
- background-color: #080808;
-}
-
-@media (max-width: 767px) {
- .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
- border-color: #080808;
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
- background-color: #080808;
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
- color: #999;
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #fff;
- background-color: transparent;
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
- color: #fff;
- background-color: #080808;
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
- color: #444;
- background-color: transparent;
- }
-}
-
-.navbar-inverse .navbar-link {
- color: #999;
-}
-
-.navbar-inverse .navbar-link:hover {
- color: #fff;
-}
-
-.breadcrumb {
- padding: 8px 15px;
- margin-bottom: 20px;
- list-style: none;
- background-color: #f5f5f5;
- border-radius: 4px;
-}
-
-.breadcrumb > li {
- display: inline-block;
-}
-
-.breadcrumb > li + li:before {
- padding: 0 5px;
- color: #ccc;
- content: "/\00a0";
-}
-
-.breadcrumb > .active {
- color: #999;
-}
-
-.pagination {
- display: inline-block;
- padding-left: 0;
- margin: 20px 0;
- border-radius: 4px;
-}
-
-.pagination > li {
- display: inline;
-}
-
-.pagination > li > a,
-.pagination > li > span {
- position: relative;
- float: left;
- padding: 6px 12px;
- margin-left: -1px;
- line-height: 1.42857143;
- color: #428bca;
- text-decoration: none;
- background-color: #fff;
- border: 1px solid #ddd;
-}
-
-.pagination > li:first-child > a,
-.pagination > li:first-child > span {
- margin-left: 0;
- border-top-left-radius: 4px;
- border-bottom-left-radius: 4px;
-}
-
-.pagination > li:last-child > a,
-.pagination > li:last-child > span {
- border-top-right-radius: 4px;
- border-bottom-right-radius: 4px;
-}
-
-.pagination > li > a:hover,
-.pagination > li > span:hover,
-.pagination > li > a:focus,
-.pagination > li > span:focus {
- color: #2a6496;
- background-color: #eee;
- border-color: #ddd;
-}
-
-.pagination > .active > a,
-.pagination > .active > span,
-.pagination > .active > a:hover,
-.pagination > .active > span:hover,
-.pagination > .active > a:focus,
-.pagination > .active > span:focus {
- z-index: 2;
- color: #fff;
- cursor: default;
- background-color: #428bca;
- border-color: #428bca;
-}
-
-.pagination > .disabled > span,
-.pagination > .disabled > span:hover,
-.pagination > .disabled > span:focus,
-.pagination > .disabled > a,
-.pagination > .disabled > a:hover,
-.pagination > .disabled > a:focus {
- color: #999;
- cursor: not-allowed;
- background-color: #fff;
- border-color: #ddd;
-}
-
-.pagination-lg > li > a,
-.pagination-lg > li > span {
- padding: 10px 16px;
- font-size: 18px;
-}
-
-.pagination-lg > li:first-child > a,
-.pagination-lg > li:first-child > span {
- border-top-left-radius: 6px;
- border-bottom-left-radius: 6px;
-}
-
-.pagination-lg > li:last-child > a,
-.pagination-lg > li:last-child > span {
- border-top-right-radius: 6px;
- border-bottom-right-radius: 6px;
-}
-
-.pagination-sm > li > a,
-.pagination-sm > li > span {
- padding: 5px 10px;
- font-size: 12px;
-}
-
-.pagination-sm > li:first-child > a,
-.pagination-sm > li:first-child > span {
- border-top-left-radius: 3px;
- border-bottom-left-radius: 3px;
-}
-
-.pagination-sm > li:last-child > a,
-.pagination-sm > li:last-child > span {
- border-top-right-radius: 3px;
- border-bottom-right-radius: 3px;
-}
-
-.pager {
- padding-left: 0;
- margin: 20px 0;
- text-align: center;
- list-style: none;
-}
-
-.pager li {
- display: inline;
-}
-
-.pager li > a,
-.pager li > span {
- display: inline-block;
- padding: 5px 14px;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 15px;
-}
-
-.pager li > a:hover,
-.pager li > a:focus {
- text-decoration: none;
- background-color: #eee;
-}
-
-.pager .next > a,
-.pager .next > span {
- float: right;
-}
-
-.pager .previous > a,
-.pager .previous > span {
- float: left;
-}
-
-.pager .disabled > a,
-.pager .disabled > a:hover,
-.pager .disabled > a:focus,
-.pager .disabled > span {
- color: #999;
- cursor: not-allowed;
- background-color: #fff;
-}
-
-.label {
- display: inline;
- padding: .2em .6em .3em;
- font-size: 75%;
- font-weight: bold;
- line-height: 1;
- color: #fff;
- text-align: center;
- white-space: nowrap;
- vertical-align: baseline;
- border-radius: .25em;
-}
-
-.label[href]:hover,
-.label[href]:focus {
- color: #fff;
- text-decoration: none;
- cursor: pointer;
-}
-
-.label:empty {
- display: none;
-}
-
-.btn .label {
- position: relative;
- top: -1px;
-}
-
-.label-default {
- background-color: #999;
-}
-
-.label-default[href]:hover,
-.label-default[href]:focus {
- background-color: #808080;
-}
-
-.label-primary {
- background-color: #428bca;
-}
-
-.label-primary[href]:hover,
-.label-primary[href]:focus {
- background-color: #3071a9;
-}
-
-.label-success {
- background-color: #5cb85c;
-}
-
-.label-success[href]:hover,
-.label-success[href]:focus {
- background-color: #449d44;
-}
-
-.label-info {
- background-color: #5bc0de;
-}
-
-.label-info[href]:hover,
-.label-info[href]:focus {
- background-color: #31b0d5;
-}
-
-.label-warning {
- background-color: #f0ad4e;
-}
-
-.label-warning[href]:hover,
-.label-warning[href]:focus {
- background-color: #ec971f;
-}
-
-.label-danger {
- background-color: #d9534f;
-}
-
-.label-danger[href]:hover,
-.label-danger[href]:focus {
- background-color: #c9302c;
-}
-
-.badge {
- display: inline-block;
- min-width: 10px;
- padding: 3px 7px;
- font-size: 12px;
- font-weight: bold;
- line-height: 1;
- color: #fff;
- text-align: center;
- white-space: nowrap;
- vertical-align: baseline;
- background-color: #999;
- border-radius: 10px;
-}
-
-.badge:empty {
- display: none;
-}
-
-.btn .badge {
- position: relative;
- top: -1px;
-}
-
-.btn-xs .badge {
- top: 0;
- padding: 1px 5px;
-}
-
-a.badge:hover,
-a.badge:focus {
- color: #fff;
- text-decoration: none;
- cursor: pointer;
-}
-
-a.list-group-item.active > .badge,
-.nav-pills > .active > a > .badge {
- color: #428bca;
- background-color: #fff;
-}
-
-.nav-pills > li > a > .badge {
- margin-left: 3px;
-}
-
-.jumbotron {
- padding: 30px;
- margin-bottom: 30px;
- color: inherit;
- background-color: #eee;
-}
-
-.jumbotron h1,
-.jumbotron .h1 {
- color: inherit;
-}
-
-.jumbotron p {
- margin-bottom: 15px;
- font-size: 21px;
- font-weight: 200;
-}
-
-.container .jumbotron {
- border-radius: 6px;
-}
-
-.jumbotron .container {
- max-width: 100%;
-}
-
-@media screen and (min-width: 768px) {
- .jumbotron {
- padding-top: 48px;
- padding-bottom: 48px;
- }
-
- .container .jumbotron {
- padding-right: 60px;
- padding-left: 60px;
- }
-
- .jumbotron h1,
- .jumbotron .h1 {
- font-size: 63px;
- }
-}
-
-.thumbnail {
- display: block;
- padding: 4px;
- margin-bottom: 20px;
- line-height: 1.42857143;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 4px;
- -webkit-transition: all .2s ease-in-out;
- transition: all .2s ease-in-out;
-}
-
-.thumbnail > img,
-.thumbnail a > img {
- margin-right: auto;
- margin-left: auto;
-}
-
-a.thumbnail:hover,
-a.thumbnail:focus,
-a.thumbnail.active {
- border-color: #428bca;
-}
-
-.thumbnail .caption {
- padding: 9px;
- color: #333;
-}
-
-.alert {
- padding: 15px;
- margin-bottom: 20px;
- border: 1px solid transparent;
- border-radius: 4px;
-}
-
-.alert h4 {
- margin-top: 0;
- color: inherit;
-}
-
-.alert .alert-link {
- font-weight: bold;
-}
-
-.alert > p,
-.alert > ul {
- margin-bottom: 0;
-}
-
-.alert > p + p {
- margin-top: 5px;
-}
-
-.alert-dismissable {
- padding-right: 35px;
-}
-
-.alert-dismissable .close {
- position: relative;
- top: -2px;
- right: -21px;
- color: inherit;
-}
-
-.alert-success {
- color: #3c763d;
- background-color: #dff0d8;
- border-color: #d6e9c6;
-}
-
-.alert-success hr {
- border-top-color: #c9e2b3;
-}
-
-.alert-success .alert-link {
- color: #2b542c;
-}
-
-.alert-info {
- color: #31708f;
- background-color: #d9edf7;
- border-color: #bce8f1;
-}
-
-.alert-info hr {
- border-top-color: #a6e1ec;
-}
-
-.alert-info .alert-link {
- color: #245269;
-}
-
-.alert-warning {
- color: #8a6d3b;
- background-color: #fcf8e3;
- border-color: #faebcc;
-}
-
-.alert-warning hr {
- border-top-color: #f7e1b5;
-}
-
-.alert-warning .alert-link {
- color: #66512c;
-}
-
-.alert-danger {
- color: #a94442;
- background-color: #f2dede;
- border-color: #ebccd1;
-}
-
-.alert-danger hr {
- border-top-color: #e4b9c0;
-}
-
-.alert-danger .alert-link {
- color: #843534;
-}
-
-@-webkit-keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
-}
-
-@keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
-}
-
-.progress {
- height: 20px;
- margin-bottom: 20px;
- overflow: hidden;
- background-color: #f5f5f5;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
-}
-
-.progress-bar {
- float: left;
- width: 0;
- height: 100%;
- font-size: 12px;
- line-height: 20px;
- color: #fff;
- text-align: center;
- background-color: #428bca;
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
- -webkit-transition: width .6s ease;
- transition: width .6s ease;
-}
-
-.progress-striped .progress-bar {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-size: 40px 40px;
-}
-
-.progress.active .progress-bar {
- -webkit-animation: progress-bar-stripes 2s linear infinite;
- animation: progress-bar-stripes 2s linear infinite;
-}
-
-.progress-bar-success {
- background-color: #5cb85c;
-}
-
-.progress-striped .progress-bar-success {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
-}
-
-.progress-bar-info {
- background-color: #5bc0de;
-}
-
-.progress-striped .progress-bar-info {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
-}
-
-.progress-bar-warning {
- background-color: #f0ad4e;
-}
-
-.progress-striped .progress-bar-warning {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
-}
-
-.progress-bar-danger {
- background-color: #d9534f;
-}
-
-.progress-striped .progress-bar-danger {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
-}
-
-.media,
-.media-body {
- overflow: hidden;
- zoom: 1;
-}
-
-.media,
-.media .media {
- margin-top: 15px;
-}
-
-.media:first-child {
- margin-top: 0;
-}
-
-.media-object {
- display: block;
-}
-
-.media-heading {
- margin: 0 0 5px;
-}
-
-.media > .pull-left {
- margin-right: 10px;
-}
-
-.media > .pull-right {
- margin-left: 10px;
-}
-
-.media-list {
- padding-left: 0;
- list-style: none;
-}
-
-.list-group {
- padding-left: 0;
- margin-bottom: 20px;
-}
-
-.list-group-item {
- position: relative;
- display: block;
- padding: 10px 15px;
- margin-bottom: -1px;
- background-color: #fff;
- border: 1px solid #ddd;
-}
-
-.list-group-item:first-child {
- border-top-left-radius: 4px;
- border-top-right-radius: 4px;
-}
-
-.list-group-item:last-child {
- margin-bottom: 0;
- border-bottom-right-radius: 4px;
- border-bottom-left-radius: 4px;
-}
-
-.list-group-item > .badge {
- float: right;
-}
-
-.list-group-item > .badge + .badge {
- margin-right: 5px;
-}
-
-a.list-group-item {
- color: #555;
-}
-
-a.list-group-item .list-group-item-heading {
- color: #333;
-}
-
-a.list-group-item:hover,
-a.list-group-item:focus {
- text-decoration: none;
- background-color: #f5f5f5;
-}
-
-a.list-group-item.active,
-a.list-group-item.active:hover,
-a.list-group-item.active:focus {
- z-index: 2;
- color: #fff;
- background-color: #428bca;
- border-color: #428bca;
-}
-
-a.list-group-item.active .list-group-item-heading,
-a.list-group-item.active:hover .list-group-item-heading,
-a.list-group-item.active:focus .list-group-item-heading {
- color: inherit;
-}
-
-a.list-group-item.active .list-group-item-text,
-a.list-group-item.active:hover .list-group-item-text,
-a.list-group-item.active:focus .list-group-item-text {
- color: #e1edf7;
-}
-
-.list-group-item-success {
- color: #3c763d;
- background-color: #dff0d8;
-}
-
-a.list-group-item-success {
- color: #3c763d;
-}
-
-a.list-group-item-success .list-group-item-heading {
- color: inherit;
-}
-
-a.list-group-item-success:hover,
-a.list-group-item-success:focus {
- color: #3c763d;
- background-color: #d0e9c6;
-}
-
-a.list-group-item-success.active,
-a.list-group-item-success.active:hover,
-a.list-group-item-success.active:focus {
- color: #fff;
- background-color: #3c763d;
- border-color: #3c763d;
-}
-
-.list-group-item-info {
- color: #31708f;
- background-color: #d9edf7;
-}
-
-a.list-group-item-info {
- color: #31708f;
-}
-
-a.list-group-item-info .list-group-item-heading {
- color: inherit;
-}
-
-a.list-group-item-info:hover,
-a.list-group-item-info:focus {
- color: #31708f;
- background-color: #c4e3f3;
-}
-
-a.list-group-item-info.active,
-a.list-group-item-info.active:hover,
-a.list-group-item-info.active:focus {
- color: #fff;
- background-color: #31708f;
- border-color: #31708f;
-}
-
-.list-group-item-warning {
- color: #8a6d3b;
- background-color: #fcf8e3;
-}
-
-a.list-group-item-warning {
- color: #8a6d3b;
-}
-
-a.list-group-item-warning .list-group-item-heading {
- color: inherit;
-}
-
-a.list-group-item-warning:hover,
-a.list-group-item-warning:focus {
- color: #8a6d3b;
- background-color: #faf2cc;
-}
-
-a.list-group-item-warning.active,
-a.list-group-item-warning.active:hover,
-a.list-group-item-warning.active:focus {
- color: #fff;
- background-color: #8a6d3b;
- border-color: #8a6d3b;
-}
-
-.list-group-item-danger {
- color: #a94442;
- background-color: #f2dede;
-}
-
-a.list-group-item-danger {
- color: #a94442;
-}
-
-a.list-group-item-danger .list-group-item-heading {
- color: inherit;
-}
-
-a.list-group-item-danger:hover,
-a.list-group-item-danger:focus {
- color: #a94442;
- background-color: #ebcccc;
-}
-
-a.list-group-item-danger.active,
-a.list-group-item-danger.active:hover,
-a.list-group-item-danger.active:focus {
- color: #fff;
- background-color: #a94442;
- border-color: #a94442;
-}
-
-.list-group-item-heading {
- margin-top: 0;
- margin-bottom: 5px;
-}
-
-.list-group-item-text {
- margin-bottom: 0;
- line-height: 1.3;
-}
-
-.panel {
- margin-bottom: 20px;
- background-color: #fff;
- border: 1px solid transparent;
- border-radius: 4px;
- -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
- box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
-}
-
-.panel-body {
- padding: 15px;
-}
-
-.panel-heading {
- padding: 10px 15px;
- border-bottom: 1px solid transparent;
- border-top-left-radius: 3px;
- border-top-right-radius: 3px;
-}
-
-.panel-heading > .dropdown .dropdown-toggle {
- color: inherit;
-}
-
-.panel-title {
- margin-top: 0;
- margin-bottom: 0;
- font-size: 16px;
- color: inherit;
-}
-
-.panel-title > a {
- color: inherit;
-}
-
-.panel-footer {
- padding: 10px 15px;
- background-color: #f5f5f5;
- border-top: 1px solid #ddd;
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px;
-}
-
-.panel > .list-group {
- margin-bottom: 0;
-}
-
-.panel > .list-group .list-group-item {
- border-width: 1px 0;
- border-radius: 0;
-}
-
-.panel > .list-group:first-child .list-group-item:first-child {
- border-top: 0;
- border-top-left-radius: 3px;
- border-top-right-radius: 3px;
-}
-
-.panel > .list-group:last-child .list-group-item:last-child {
- border-bottom: 0;
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px;
-}
-
-.panel-heading + .list-group .list-group-item:first-child {
- border-top-width: 0;
-}
-
-.panel > .table,
-.panel > .table-responsive > .table {
- margin-bottom: 0;
-}
-
-.panel > .table:first-child,
-.panel > .table-responsive:first-child > .table:first-child {
- border-top-left-radius: 3px;
- border-top-right-radius: 3px;
-}
-
-.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
-.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
-.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
-.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
- border-top-left-radius: 3px;
-}
-
-.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
-.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
-.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
-.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
-.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
-.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
- border-top-right-radius: 3px;
-}
-
-.panel > .table:last-child,
-.panel > .table-responsive:last-child > .table:last-child {
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px;
-}
-
-.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
-.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
-.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
-.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
- border-bottom-left-radius: 3px;
-}
-
-.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
-.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
-.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
-.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
-.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
-.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
- border-bottom-right-radius: 3px;
-}
-
-.panel > .panel-body + .table,
-.panel > .panel-body + .table-responsive {
- border-top: 1px solid #ddd;
-}
-
-.panel > .table > tbody:first-child > tr:first-child th,
-.panel > .table > tbody:first-child > tr:first-child td {
- border-top: 0;
-}
-
-.panel > .table-bordered,
-.panel > .table-responsive > .table-bordered {
- border: 0;
-}
-
-.panel > .table-bordered > thead > tr > th:first-child,
-.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
-.panel > .table-bordered > tbody > tr > th:first-child,
-.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
-.panel > .table-bordered > tfoot > tr > th:first-child,
-.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
-.panel > .table-bordered > thead > tr > td:first-child,
-.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
-.panel > .table-bordered > tbody > tr > td:first-child,
-.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
-.panel > .table-bordered > tfoot > tr > td:first-child,
-.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0;
-}
-
-.panel > .table-bordered > thead > tr > th:last-child,
-.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
-.panel > .table-bordered > tbody > tr > th:last-child,
-.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
-.panel > .table-bordered > tfoot > tr > th:last-child,
-.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
-.panel > .table-bordered > thead > tr > td:last-child,
-.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
-.panel > .table-bordered > tbody > tr > td:last-child,
-.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
-.panel > .table-bordered > tfoot > tr > td:last-child,
-.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0;
-}
-
-.panel > .table-bordered > thead > tr:first-child > td,
-.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
-.panel > .table-bordered > tbody > tr:first-child > td,
-.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
-.panel > .table-bordered > thead > tr:first-child > th,
-.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
-.panel > .table-bordered > tbody > tr:first-child > th,
-.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
- border-bottom: 0;
-}
-
-.panel > .table-bordered > tbody > tr:last-child > td,
-.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
-.panel > .table-bordered > tfoot > tr:last-child > td,
-.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
-.panel > .table-bordered > tbody > tr:last-child > th,
-.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
-.panel > .table-bordered > tfoot > tr:last-child > th,
-.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
- border-bottom: 0;
-}
-
-.panel > .table-responsive {
- margin-bottom: 0;
- border: 0;
-}
-
-.panel-group {
- margin-bottom: 20px;
-}
-
-.panel-group .panel {
- margin-bottom: 0;
- overflow: hidden;
- border-radius: 4px;
-}
-
-.panel-group .panel + .panel {
- margin-top: 5px;
-}
-
-.panel-group .panel-heading {
- border-bottom: 0;
-}
-
-.panel-group .panel-heading + .panel-collapse .panel-body {
- border-top: 1px solid #ddd;
-}
-
-.panel-group .panel-footer {
- border-top: 0;
-}
-
-.panel-group .panel-footer + .panel-collapse .panel-body {
- border-bottom: 1px solid #ddd;
-}
-
-.panel-default {
- border-color: #ddd;
-}
-
-.panel-default > .panel-heading {
- color: #333;
- background-color: #f5f5f5;
- border-color: #ddd;
-}
-
-.panel-default > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #ddd;
-}
-
-.panel-default > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #ddd;
-}
-
-.panel-primary {
- border-color: #428bca;
-}
-
-.panel-primary > .panel-heading {
- color: #fff;
- background-color: #428bca;
- border-color: #428bca;
-}
-
-.panel-primary > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #428bca;
-}
-
-.panel-primary > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #428bca;
-}
-
-.panel-success {
- border-color: #d6e9c6;
-}
-
-.panel-success > .panel-heading {
- color: #3c763d;
- background-color: #dff0d8;
- border-color: #d6e9c6;
-}
-
-.panel-success > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #d6e9c6;
-}
-
-.panel-success > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #d6e9c6;
-}
-
-.panel-info {
- border-color: #bce8f1;
-}
-
-.panel-info > .panel-heading {
- color: #31708f;
- background-color: #d9edf7;
- border-color: #bce8f1;
-}
-
-.panel-info > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #bce8f1;
-}
-
-.panel-info > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #bce8f1;
-}
-
-.panel-warning {
- border-color: #faebcc;
-}
-
-.panel-warning > .panel-heading {
- color: #8a6d3b;
- background-color: #fcf8e3;
- border-color: #faebcc;
-}
-
-.panel-warning > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #faebcc;
-}
-
-.panel-warning > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #faebcc;
-}
-
-.panel-danger {
- border-color: #ebccd1;
-}
-
-.panel-danger > .panel-heading {
- color: #a94442;
- background-color: #f2dede;
- border-color: #ebccd1;
-}
-
-.panel-danger > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #ebccd1;
-}
-
-.panel-danger > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #ebccd1;
-}
-
-.well {
- min-height: 20px;
- padding: 19px;
- margin-bottom: 20px;
- background-color: #f5f5f5;
- border: 1px solid #e3e3e3;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
-}
-
-.well blockquote {
- border-color: #ddd;
- border-color: rgba(0, 0, 0, .15);
-}
-
-.well-lg {
- padding: 24px;
- border-radius: 6px;
-}
-
-.well-sm {
- padding: 9px;
- border-radius: 3px;
-}
-
-.close {
- float: right;
- font-size: 21px;
- font-weight: bold;
- line-height: 1;
- color: #000;
- text-shadow: 0 1px 0 #fff;
- filter: alpha(opacity=20);
- opacity: .2;
-}
-
-.close:hover,
-.close:focus {
- color: #000;
- text-decoration: none;
- cursor: pointer;
- filter: alpha(opacity=50);
- opacity: .5;
-}
-
-button.close {
- -webkit-appearance: none;
- padding: 0;
- cursor: pointer;
- background: transparent;
- border: 0;
-}
-
-.modal-open {
- overflow: hidden;
-}
-
-.modal {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1050;
- display: none;
- overflow: auto;
- overflow-y: scroll;
- -webkit-overflow-scrolling: touch;
- outline: 0;
-}
-
-.modal.fade .modal-dialog {
- -webkit-transition: -webkit-transform .3s ease-out;
- -moz-transition: -moz-transform .3s ease-out;
- -o-transition: -o-transform .3s ease-out;
- transition: transform .3s ease-out;
- -webkit-transform: translate(0, -25%);
- -ms-transform: translate(0, -25%);
- transform: translate(0, -25%);
-}
-
-.modal.in .modal-dialog {
- -webkit-transform: translate(0, 0);
- -ms-transform: translate(0, 0);
- transform: translate(0, 0);
-}
-
-.modal-dialog {
- position: relative;
- width: auto;
- margin: 10px;
-}
-
-.modal-content {
- position: relative;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #999;
- border: 1px solid rgba(0, 0, 0, .2);
- border-radius: 6px;
- outline: none;
- -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
- box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
-}
-
-.modal-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1040;
- /*background-color: #000;*/
- background-color: #fff;
-}
-
-.modal-backdrop.fade {
- filter: alpha(opacity=0);
- opacity: 0;
-}
-
-.modal-backdrop.in {
- filter: alpha(opacity=50);
- opacity: .5;
-}
-
-.modal-header {
- min-height: 16.42857143px;
- padding: 15px;
- border-bottom: 1px solid #e5e5e5;
-}
-
-.modal-header .close {
- margin-top: -2px;
-}
-
-.modal-title {
- margin: 0;
- line-height: 1.42857143;
-}
-
-.modal-body {
- position: relative;
- padding: 20px;
-}
-
-.modal-footer {
- padding: 19px 20px 20px;
- margin-top: 15px;
- text-align: right;
- border-top: 1px solid #e5e5e5;
-}
-
-.modal-footer .btn + .btn {
- margin-bottom: 0;
- margin-left: 5px;
-}
-
-.modal-footer .btn-group .btn + .btn {
- margin-left: -1px;
-}
-
-.modal-footer .btn-block + .btn-block {
- margin-left: 0;
-}
-
-@media (min-width: 768px) {
- .modal-dialog {
- width: 600px;
- margin: 30px auto;
- }
-
- .modal-content {
- -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
- box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
- }
-
- .modal-sm {
- width: 300px;
- }
-}
-
-@media (min-width: 992px) {
- .modal-lg {
- width: 900px;
- }
-}
-
-.tooltip {
- position: absolute;
- z-index: 1030;
- display: block;
- font-size: 12px;
- line-height: 1.4;
- visibility: visible;
- filter: alpha(opacity=0);
- opacity: 0;
-}
-
-.tooltip.in {
- filter: alpha(opacity=90);
- opacity: .9;
-}
-
-.tooltip.top {
- padding: 5px 0;
- margin-top: -3px;
-}
-
-.tooltip.right {
- padding: 0 5px;
- margin-left: 3px;
-}
-
-.tooltip.bottom {
- padding: 5px 0;
- margin-top: 3px;
-}
-
-.tooltip.left {
- padding: 0 5px;
- margin-left: -3px;
-}
-
-.tooltip-inner {
- max-width: 200px;
- padding: 3px 8px;
- color: #fff;
- text-align: center;
- text-decoration: none;
- background-color: #000;
- border-radius: 4px;
-}
-
-.tooltip-arrow {
- position: absolute;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid;
-}
-
-.tooltip.top .tooltip-arrow {
- bottom: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-
-.tooltip.top-left .tooltip-arrow {
- bottom: 0;
- left: 5px;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-
-.tooltip.top-right .tooltip-arrow {
- right: 5px;
- bottom: 0;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-
-.tooltip.right .tooltip-arrow {
- top: 50%;
- left: 0;
- margin-top: -5px;
- border-width: 5px 5px 5px 0;
- border-right-color: #000;
-}
-
-.tooltip.left .tooltip-arrow {
- top: 50%;
- right: 0;
- margin-top: -5px;
- border-width: 5px 0 5px 5px;
- border-left-color: #000;
-}
-
-.tooltip.bottom .tooltip-arrow {
- top: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-
-.tooltip.bottom-left .tooltip-arrow {
- top: 0;
- left: 5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-
-.tooltip.bottom-right .tooltip-arrow {
- top: 0;
- right: 5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-
-.popover {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1010;
- display: none;
- max-width: 276px;
- padding: 1px;
- text-align: left;
- white-space: normal;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, .2);
- border-radius: 6px;
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
- box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
-}
-
-.popover.top {
- margin-top: -10px;
-}
-
-.popover.right {
- margin-left: 10px;
-}
-
-.popover.bottom {
- margin-top: 10px;
-}
-
-.popover.left {
- margin-left: -10px;
-}
-
-.popover-title {
- padding: 8px 14px;
- margin: 0;
- font-size: 14px;
- font-weight: normal;
- line-height: 18px;
- background-color: #f7f7f7;
- border-bottom: 1px solid #ebebeb;
- border-radius: 5px 5px 0 0;
-}
-
-.popover-content {
- padding: 9px 14px;
-}
-
-.popover > .arrow,
-.popover > .arrow:after {
- position: absolute;
- display: block;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid;
-}
-
-.popover > .arrow {
- border-width: 11px;
-}
-
-.popover > .arrow:after {
- content: "";
- border-width: 10px;
-}
-
-.popover.top > .arrow {
- bottom: -11px;
- left: 50%;
- margin-left: -11px;
- border-top-color: #999;
- border-top-color: rgba(0, 0, 0, .25);
- border-bottom-width: 0;
-}
-
-.popover.top > .arrow:after {
- bottom: 1px;
- margin-left: -10px;
- content: " ";
- border-top-color: #fff;
- border-bottom-width: 0;
-}
-
-.popover.right > .arrow {
- top: 50%;
- left: -11px;
- margin-top: -11px;
- border-right-color: #999;
- border-right-color: rgba(0, 0, 0, .25);
- border-left-width: 0;
-}
-
-.popover.right > .arrow:after {
- bottom: -10px;
- left: 1px;
- content: " ";
- border-right-color: #fff;
- border-left-width: 0;
-}
-
-.popover.bottom > .arrow {
- top: -11px;
- left: 50%;
- margin-left: -11px;
- border-top-width: 0;
- border-bottom-color: #999;
- border-bottom-color: rgba(0, 0, 0, .25);
-}
-
-.popover.bottom > .arrow:after {
- top: 1px;
- margin-left: -10px;
- content: " ";
- border-top-width: 0;
- border-bottom-color: #fff;
-}
-
-.popover.left > .arrow {
- top: 50%;
- right: -11px;
- margin-top: -11px;
- border-right-width: 0;
- border-left-color: #999;
- border-left-color: rgba(0, 0, 0, .25);
-}
-
-.popover.left > .arrow:after {
- right: 1px;
- bottom: -10px;
- content: " ";
- border-right-width: 0;
- border-left-color: #fff;
-}
-
-.carousel {
- position: relative;
-}
-
-.carousel-inner {
- position: relative;
- width: 100%;
- overflow: hidden;
-}
-
-.carousel-inner > .item {
- position: relative;
- display: none;
- -webkit-transition: .6s ease-in-out left;
- transition: .6s ease-in-out left;
-}
-
-.carousel-inner > .item > img,
-.carousel-inner > .item > a > img {
- line-height: 1;
-}
-
-.carousel-inner > .active,
-.carousel-inner > .next,
-.carousel-inner > .prev {
- display: block;
-}
-
-.carousel-inner > .active {
- left: 0;
-}
-
-.carousel-inner > .next,
-.carousel-inner > .prev {
- position: absolute;
- top: 0;
- width: 100%;
-}
-
-.carousel-inner > .next {
- left: 100%;
-}
-
-.carousel-inner > .prev {
- left: -100%;
-}
-
-.carousel-inner > .next.left,
-.carousel-inner > .prev.right {
- left: 0;
-}
-
-.carousel-inner > .active.left {
- left: -100%;
-}
-
-.carousel-inner > .active.right {
- left: 100%;
-}
-
-.carousel-control {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- width: 15%;
- font-size: 20px;
- color: #fff;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
- filter: alpha(opacity=50);
- opacity: .5;
-}
-
-.carousel-control.left {
- background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .5) 0%), color-stop(rgba(0, 0, 0, .0001) 100%));
- background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
- background-repeat: repeat-x;
-}
-
-.carousel-control.right {
- right: 0;
- left: auto;
- background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .0001) 0%), color-stop(rgba(0, 0, 0, .5) 100%));
- background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
- background-repeat: repeat-x;
-}
-
-.carousel-control:hover,
-.carousel-control:focus {
- color: #fff;
- text-decoration: none;
- filter: alpha(opacity=90);
- outline: none;
- opacity: .9;
-}
-
-.carousel-control .icon-prev,
-.carousel-control .icon-next,
-.carousel-control .glyphicon-chevron-left,
-.carousel-control .glyphicon-chevron-right {
- position: absolute;
- top: 50%;
- z-index: 5;
- display: inline-block;
-}
-
-.carousel-control .icon-prev,
-.carousel-control .glyphicon-chevron-left {
- left: 50%;
-}
-
-.carousel-control .icon-next,
-.carousel-control .glyphicon-chevron-right {
- right: 50%;
-}
-
-.carousel-control .icon-prev,
-.carousel-control .icon-next {
- width: 20px;
- height: 20px;
- margin-top: -10px;
- margin-left: -10px;
- font-family: serif;
-}
-
-.carousel-control .icon-prev:before {
- content: '\2039';
-}
-
-.carousel-control .icon-next:before {
- content: '\203a';
-}
-
-.carousel-indicators {
- position: absolute;
- bottom: 10px;
- left: 50%;
- z-index: 15;
- width: 60%;
- padding-left: 0;
- margin-left: -30%;
- text-align: center;
- list-style: none;
-}
-
-.carousel-indicators li {
- display: inline-block;
- width: 10px;
- height: 10px;
- margin: 1px;
- text-indent: -999px;
- cursor: pointer;
- background-color: #000 \9;
- background-color: rgba(0, 0, 0, 0);
- border: 1px solid #fff;
- border-radius: 10px;
-}
-
-.carousel-indicators .active {
- width: 12px;
- height: 12px;
- margin: 0;
- background-color: #fff;
-}
-
-.carousel-caption {
- position: absolute;
- right: 15%;
- bottom: 20px;
- left: 15%;
- z-index: 10;
- padding-top: 20px;
- padding-bottom: 20px;
- color: #fff;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
-}
-
-.carousel-caption .btn {
- text-shadow: none;
-}
-
-@media screen and (min-width: 768px) {
- .carousel-control .glyphicon-chevron-left,
- .carousel-control .glyphicon-chevron-right,
- .carousel-control .icon-prev,
- .carousel-control .icon-next {
- width: 30px;
- height: 30px;
- margin-top: -15px;
- margin-left: -15px;
- font-size: 30px;
- }
-
- .carousel-caption {
- right: 20%;
- left: 20%;
- padding-bottom: 30px;
- }
-
- .carousel-indicators {
- bottom: 20px;
- }
-}
-
-.clearfix:before,
-.clearfix:after,
-.container:before,
-.container:after,
-.container-fluid:before,
-.container-fluid:after,
-.row:before,
-.row:after,
-.form-horizontal .form-group:before,
-.form-horizontal .form-group:after,
-.btn-toolbar:before,
-.btn-toolbar:after,
-.btn-group-vertical > .btn-group:before,
-.btn-group-vertical > .btn-group:after,
-.nav:before,
-.nav:after,
-.navbar:before,
-.navbar:after,
-.navbar-header:before,
-.navbar-header:after,
-.navbar-collapse:before,
-.navbar-collapse:after,
-.pager:before,
-.pager:after,
-.panel-body:before,
-.panel-body:after,
-.modal-footer:before,
-.modal-footer:after {
- display: table;
- content: " ";
-}
-
-.clearfix:after,
-.container:after,
-.container-fluid:after,
-.row:after,
-.form-horizontal .form-group:after,
-.btn-toolbar:after,
-.btn-group-vertical > .btn-group:after,
-.nav:after,
-.navbar:after,
-.navbar-header:after,
-.navbar-collapse:after,
-.pager:after,
-.panel-body:after,
-.modal-footer:after {
- clear: both;
-}
-
-.center-block {
- display: block;
- margin-right: auto;
- margin-left: auto;
-}
-
-.pull-right {
- float: right !important;
-}
-
-.pull-left {
- float: left !important;
-}
-
-.hide {
- display: none !important;
-}
-
-.show {
- display: block !important;
-}
-
-.invisible {
- visibility: hidden;
-}
-
-.text-hide {
- font: 0/0 a;
- color: transparent;
- text-shadow: none;
- background-color: transparent;
- border: 0;
-}
-
-.hidden {
- display: none !important;
- visibility: hidden !important;
-}
-
-.affix {
- position: fixed;
-}
-
-@-ms-viewport {
- width: device-width;
-}
-
-.visible-xs,
-.visible-sm,
-.visible-md,
-.visible-lg {
- display: none !important;
-}
-
-@media (max-width: 767px) {
- .visible-xs {
- display: block !important;
- }
-
- table.visible-xs {
- display: table;
- }
-
- tr.visible-xs {
- display: table-row !important;
- }
-
- th.visible-xs,
- td.visible-xs {
- display: table-cell !important;
- }
-}
-
-@media (min-width: 768px) and (max-width: 991px) {
- .visible-sm {
- display: block !important;
- }
-
- table.visible-sm {
- display: table;
- }
-
- tr.visible-sm {
- display: table-row !important;
- }
-
- th.visible-sm,
- td.visible-sm {
- display: table-cell !important;
- }
-}
-
-@media (min-width: 992px) and (max-width: 1199px) {
- .visible-md {
- display: block !important;
- }
-
- table.visible-md {
- display: table;
- }
-
- tr.visible-md {
- display: table-row !important;
- }
-
- th.visible-md,
- td.visible-md {
- display: table-cell !important;
- }
-}
-
-@media (min-width: 1200px) {
- .visible-lg {
- display: block !important;
- }
-
- table.visible-lg {
- display: table;
- }
-
- tr.visible-lg {
- display: table-row !important;
- }
-
- th.visible-lg,
- td.visible-lg {
- display: table-cell !important;
- }
-}
-
-@media (max-width: 767px) {
- .hidden-xs {
- display: none !important;
- }
-}
-
-@media (min-width: 768px) and (max-width: 991px) {
- .hidden-sm {
- display: none !important;
- }
-}
-
-@media (min-width: 992px) and (max-width: 1199px) {
- .hidden-md {
- display: none !important;
- }
-}
-
-@media (min-width: 1200px) {
- .hidden-lg {
- display: none !important;
- }
-}
-
-.visible-print {
- display: none !important;
-}
-
-@media print {
- .visible-print {
- display: block !important;
- }
-
- table.visible-print {
- display: table;
- }
-
- tr.visible-print {
- display: table-row !important;
- }
-
- th.visible-print,
- td.visible-print {
- display: table-cell !important;
- }
-}
-
-@media print {
- .hidden-print {
- display: none !important;
- }
-}
-
-/*# sourceMappingURL=bootstrap.css.map */
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/css/bootstrap.min.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/css/bootstrap.min.css
deleted file mode 100644
index e2e003a0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/css/bootstrap.min.css
+++ /dev/null
@@ -1,6246 +0,0 @@
-/*!
- * Bootstrap v3.1.1 (http://getbootstrap.com)
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-
-/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
-html {
- font-family: sans-serif;
- -ms-text-size-adjust: 100%;
- -webkit-text-size-adjust: 100%
-}
-
-body {
- margin: 0
-}
-
-article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
- display: block
-}
-
-audio, canvas, progress, video {
- display: inline-block;
- vertical-align: baseline
-}
-
-audio:not([controls]) {
- display: none;
- height: 0
-}
-
-[hidden], template {
- display: none
-}
-
-a {
- background: 0 0
-}
-
-a:active, a:hover {
- outline: 0
-}
-
-abbr[title] {
- border-bottom: 1px dotted
-}
-
-b, strong {
- font-weight: 700
-}
-
-dfn {
- font-style: italic
-}
-
-h1 {
- font-size: 2em;
- margin: .67em 0
-}
-
-mark {
- background: #ff0;
- color: #000
-}
-
-small {
- font-size: 80%
-}
-
-sub, sup {
- font-size: 75%;
- line-height: 0;
- position: relative;
- vertical-align: baseline
-}
-
-sup {
- top: -.5em
-}
-
-sub {
- bottom: -.25em
-}
-
-img {
- border: 0
-}
-
-svg:not(:root) {
- overflow: hidden
-}
-
-figure {
- margin: 1em 40px
-}
-
-hr {
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- height: 0
-}
-
-pre {
- overflow: auto
-}
-
-code, kbd, pre, samp {
- font-family: monospace, monospace;
- font-size: 1em
-}
-
-button, input, optgroup, select, textarea {
- color: inherit;
- font: inherit;
- margin: 0
-}
-
-button {
- overflow: visible
-}
-
-button, select {
- text-transform: none
-}
-
-button, html input[type=button], input[type=reset], input[type=submit] {
- -webkit-appearance: button;
- cursor: pointer
-}
-
-button[disabled], html input[disabled] {
- cursor: default
-}
-
-button::-moz-focus-inner, input::-moz-focus-inner {
- border: 0;
- padding: 0
-}
-
-input {
- line-height: normal
-}
-
-input[type=checkbox], input[type=radio] {
- box-sizing: border-box;
- padding: 0
-}
-
-input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
- height: auto
-}
-
-input[type=search] {
- -webkit-appearance: textfield;
- -moz-box-sizing: content-box;
- -webkit-box-sizing: content-box;
- box-sizing: content-box
-}
-
-input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
- -webkit-appearance: none
-}
-
-fieldset {
- border: 1px solid silver;
- margin: 0 2px;
- padding: .35em .625em .75em
-}
-
-legend {
- border: 0;
- padding: 0
-}
-
-textarea {
- overflow: auto
-}
-
-optgroup {
- font-weight: 700
-}
-
-table {
- border-collapse: collapse;
- border-spacing: 0
-}
-
-td, th {
- padding: 0
-}
-
-@media print {
- * {
- text-shadow: none !important;
- color: #000 !important;
- background: transparent !important;
- box-shadow: none !important
- }
-
- a, a:visited {
- text-decoration: underline
- }
-
- a[href]:after {
- content: " (" attr(href) ")"
- }
-
- abbr[title]:after {
- content: " (" attr(title) ")"
- }
-
- a[href^="javascript:"]:after, a[href^="#"]:after {
- content: ""
- }
-
- pre, blockquote {
- border: 1px solid #999;
- page-break-inside: avoid
- }
-
- thead {
- display: table-header-group
- }
-
- tr, img {
- page-break-inside: avoid
- }
-
- img {
- max-width: 100% !important
- }
-
- p, h2, h3 {
- orphans: 3;
- widows: 3
- }
-
- h2, h3 {
- page-break-after: avoid
- }
-
- select {
- background: #fff !important
- }
-
- .navbar {
- display: none
- }
-
- .table td, .table th {
- background-color: #fff !important
- }
-
- .btn > .caret, .dropup > .btn > .caret {
- border-top-color: #000 !important
- }
-
- .label {
- border: 1px solid #000
- }
-
- .table {
- border-collapse: collapse !important
- }
-
- .table-bordered th, .table-bordered td {
- border: 1px solid #ddd !important
- }
-}
-
-* {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box
-}
-
-:before, :after {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box
-}
-
-html {
- font-size: 62.5%;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
-}
-
-body {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 14px;
- line-height: 1.42857143;
- color: #333;
- background-color: #fff
-}
-
-input, button, select, textarea {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit
-}
-
-a {
- color: #428bca;
- text-decoration: none
-}
-
-a:hover, a:focus {
- color: #2a6496;
- text-decoration: underline
-}
-
-a:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px
-}
-
-figure {
- margin: 0
-}
-
-img {
- vertical-align: middle
-}
-
-.img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img {
- display: block;
- max-width: 100%;
- height: auto
-}
-
-.img-rounded {
- border-radius: 6px
-}
-
-.img-thumbnail {
- padding: 4px;
- line-height: 1.42857143;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 4px;
- -webkit-transition: all .2s ease-in-out;
- transition: all .2s ease-in-out;
- display: inline-block;
- max-width: 100%;
- height: auto
-}
-
-.img-circle {
- border-radius: 50%
-}
-
-hr {
- margin-top: 20px;
- margin-bottom: 20px;
- border: 0;
- border-top: 1px solid #eee
-}
-
-.sr-only {
- position: absolute;
- width: 1px;
- height: 1px;
- margin: -1px;
- padding: 0;
- overflow: hidden;
- clip: rect(0, 0, 0, 0);
- border: 0
-}
-
-h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
- font-family: inherit;
- font-weight: 500;
- line-height: 1.1;
- color: inherit
-}
-
-h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small {
- font-weight: 400;
- line-height: 1;
- color: #999
-}
-
-h1, .h1, h2, .h2, h3, .h3 {
- margin-top: 20px;
- margin-bottom: 10px
-}
-
-h1 small, .h1 small, h2 small, .h2 small, h3 small, .h3 small, h1 .small, .h1 .small, h2 .small, .h2 .small, h3 .small, .h3 .small {
- font-size: 65%
-}
-
-h4, .h4, h5, .h5, h6, .h6 {
- margin-top: 10px;
- margin-bottom: 10px
-}
-
-h4 small, .h4 small, h5 small, .h5 small, h6 small, .h6 small, h4 .small, .h4 .small, h5 .small, .h5 .small, h6 .small, .h6 .small {
- font-size: 75%
-}
-
-h1, .h1 {
- font-size: 36px
-}
-
-h2, .h2 {
- font-size: 30px
-}
-
-h3, .h3 {
- font-size: 24px
-}
-
-h4, .h4 {
- font-size: 18px
-}
-
-h5, .h5 {
- font-size: 14px
-}
-
-h6, .h6 {
- font-size: 12px
-}
-
-p {
- margin: 0 0 10px
-}
-
-.lead {
- margin-bottom: 20px;
- font-size: 16px;
- font-weight: 200;
- line-height: 1.4
-}
-
-@media (min-width: 768px) {
- .lead {
- font-size: 21px
- }
-}
-
-small, .small {
- font-size: 85%
-}
-
-cite {
- font-style: normal
-}
-
-.text-left {
- text-align: left
-}
-
-.text-right {
- text-align: right
-}
-
-.text-center {
- text-align: center
-}
-
-.text-justify {
- text-align: justify
-}
-
-.text-muted {
- color: #999
-}
-
-.text-primary {
- color: #428bca
-}
-
-a.text-primary:hover {
- color: #3071a9
-}
-
-.text-success {
- color: #3c763d
-}
-
-a.text-success:hover {
- color: #2b542c
-}
-
-.text-info {
- color: #31708f
-}
-
-a.text-info:hover {
- color: #245269
-}
-
-.text-warning {
- color: #8a6d3b
-}
-
-a.text-warning:hover {
- color: #66512c
-}
-
-.text-danger {
- color: #a94442
-}
-
-a.text-danger:hover {
- color: #843534
-}
-
-.bg-primary {
- color: #fff;
- background-color: #428bca
-}
-
-a.bg-primary:hover {
- background-color: #3071a9
-}
-
-.bg-success {
- background-color: #dff0d8
-}
-
-a.bg-success:hover {
- background-color: #c1e2b3
-}
-
-.bg-info {
- background-color: #d9edf7
-}
-
-a.bg-info:hover {
- background-color: #afd9ee
-}
-
-.bg-warning {
- background-color: #fcf8e3
-}
-
-a.bg-warning:hover {
- background-color: #f7ecb5
-}
-
-.bg-danger {
- background-color: #f2dede
-}
-
-a.bg-danger:hover {
- background-color: #e4b9b9
-}
-
-.page-header {
- padding-bottom: 9px;
- margin: 40px 0 20px;
- border-bottom: 1px solid #eee
-}
-
-ul, ol {
- margin-top: 0;
- margin-bottom: 10px
-}
-
-ul ul, ol ul, ul ol, ol ol {
- margin-bottom: 0
-}
-
-.list-unstyled {
- padding-left: 0;
- list-style: none
-}
-
-.list-inline {
- padding-left: 0;
- list-style: none;
- margin-left: -5px
-}
-
-.list-inline > li {
- display: inline-block;
- padding-left: 5px;
- padding-right: 5px
-}
-
-dl {
- margin-top: 0;
- margin-bottom: 20px
-}
-
-dt, dd {
- line-height: 1.42857143
-}
-
-dt {
- font-weight: 700
-}
-
-dd {
- margin-left: 0
-}
-
-@media (min-width: 768px) {
- .dl-horizontal dt {
- float: left;
- width: 160px;
- clear: left;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap
- }
-
- .dl-horizontal dd {
- margin-left: 180px
- }
-}
-
-abbr[title], abbr[data-original-title] {
- cursor: help;
- border-bottom: 1px dotted #999
-}
-
-.initialism {
- font-size: 90%;
- text-transform: uppercase
-}
-
-blockquote {
- padding: 10px 20px;
- margin: 0 0 20px;
- font-size: 17.5px;
- border-left: 5px solid #eee
-}
-
-blockquote p:last-child, blockquote ul:last-child, blockquote ol:last-child {
- margin-bottom: 0
-}
-
-blockquote footer, blockquote small, blockquote .small {
- display: block;
- font-size: 80%;
- line-height: 1.42857143;
- color: #999
-}
-
-blockquote footer:before, blockquote small:before, blockquote .small:before {
- content: '\2014 \00A0'
-}
-
-.blockquote-reverse, blockquote.pull-right {
- padding-right: 15px;
- padding-left: 0;
- border-right: 5px solid #eee;
- border-left: 0;
- text-align: right
-}
-
-.blockquote-reverse footer:before, blockquote.pull-right footer:before, .blockquote-reverse small:before, blockquote.pull-right small:before, .blockquote-reverse .small:before, blockquote.pull-right .small:before {
- content: ''
-}
-
-.blockquote-reverse footer:after, blockquote.pull-right footer:after, .blockquote-reverse small:after, blockquote.pull-right small:after, .blockquote-reverse .small:after, blockquote.pull-right .small:after {
- content: '\00A0 \2014'
-}
-
-blockquote:before, blockquote:after {
- content: ""
-}
-
-address {
- margin-bottom: 20px;
- font-style: normal;
- line-height: 1.42857143
-}
-
-code, kbd, pre, samp {
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace
-}
-
-code {
- padding: 2px 4px;
- font-size: 90%;
- color: #c7254e;
- background-color: #f9f2f4;
- white-space: nowrap;
- border-radius: 4px
-}
-
-kbd {
- padding: 2px 4px;
- font-size: 90%;
- color: #fff;
- background-color: #333;
- border-radius: 3px;
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25)
-}
-
-pre {
- display: block;
- padding: 9.5px;
- margin: 0 0 10px;
- font-size: 13px;
- line-height: 1.42857143;
- word-break: break-all;
- word-wrap: break-word;
- color: #333;
- background-color: #f5f5f5;
- border: 1px solid #ccc;
- border-radius: 4px
-}
-
-pre code {
- padding: 0;
- font-size: inherit;
- color: inherit;
- white-space: pre-wrap;
- background-color: transparent;
- border-radius: 0
-}
-
-.pre-scrollable {
- max-height: 340px;
- overflow-y: scroll
-}
-
-.container {
- margin-right: auto;
- margin-left: auto;
- padding-left: 15px;
- padding-right: 15px
-}
-
-@media (min-width: 768px) {
- .container {
- width: 750px
- }
-}
-
-@media (min-width: 992px) {
- .container {
- width: 970px
- }
-}
-
-@media (min-width: 1200px) {
- .container {
- width: 1170px
- }
-}
-
-.container-fluid {
- margin-right: auto;
- margin-left: auto;
- padding-left: 15px;
- padding-right: 15px
-}
-
-.row {
- margin-left: -15px;
- margin-right: -15px
-}
-
-.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
- position: relative;
- min-height: 1px;
- padding-left: 15px;
- padding-right: 15px
-}
-
-.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
- float: left
-}
-
-.col-xs-12 {
- width: 100%
-}
-
-.col-xs-11 {
- width: 91.66666667%
-}
-
-.col-xs-10 {
- width: 83.33333333%
-}
-
-.col-xs-9 {
- width: 75%
-}
-
-.col-xs-8 {
- width: 66.66666667%
-}
-
-.col-xs-7 {
- width: 58.33333333%
-}
-
-.col-xs-6 {
- width: 50%
-}
-
-.col-xs-5 {
- width: 41.66666667%
-}
-
-.col-xs-4 {
- width: 33.33333333%
-}
-
-.col-xs-3 {
- width: 25%
-}
-
-.col-xs-2 {
- width: 16.66666667%
-}
-
-.col-xs-1 {
- width: 8.33333333%
-}
-
-.col-xs-pull-12 {
- right: 100%
-}
-
-.col-xs-pull-11 {
- right: 91.66666667%
-}
-
-.col-xs-pull-10 {
- right: 83.33333333%
-}
-
-.col-xs-pull-9 {
- right: 75%
-}
-
-.col-xs-pull-8 {
- right: 66.66666667%
-}
-
-.col-xs-pull-7 {
- right: 58.33333333%
-}
-
-.col-xs-pull-6 {
- right: 50%
-}
-
-.col-xs-pull-5 {
- right: 41.66666667%
-}
-
-.col-xs-pull-4 {
- right: 33.33333333%
-}
-
-.col-xs-pull-3 {
- right: 25%
-}
-
-.col-xs-pull-2 {
- right: 16.66666667%
-}
-
-.col-xs-pull-1 {
- right: 8.33333333%
-}
-
-.col-xs-pull-0 {
- right: 0
-}
-
-.col-xs-push-12 {
- left: 100%
-}
-
-.col-xs-push-11 {
- left: 91.66666667%
-}
-
-.col-xs-push-10 {
- left: 83.33333333%
-}
-
-.col-xs-push-9 {
- left: 75%
-}
-
-.col-xs-push-8 {
- left: 66.66666667%
-}
-
-.col-xs-push-7 {
- left: 58.33333333%
-}
-
-.col-xs-push-6 {
- left: 50%
-}
-
-.col-xs-push-5 {
- left: 41.66666667%
-}
-
-.col-xs-push-4 {
- left: 33.33333333%
-}
-
-.col-xs-push-3 {
- left: 25%
-}
-
-.col-xs-push-2 {
- left: 16.66666667%
-}
-
-.col-xs-push-1 {
- left: 8.33333333%
-}
-
-.col-xs-push-0 {
- left: 0
-}
-
-.col-xs-offset-12 {
- margin-left: 100%
-}
-
-.col-xs-offset-11 {
- margin-left: 91.66666667%
-}
-
-.col-xs-offset-10 {
- margin-left: 83.33333333%
-}
-
-.col-xs-offset-9 {
- margin-left: 75%
-}
-
-.col-xs-offset-8 {
- margin-left: 66.66666667%
-}
-
-.col-xs-offset-7 {
- margin-left: 58.33333333%
-}
-
-.col-xs-offset-6 {
- margin-left: 50%
-}
-
-.col-xs-offset-5 {
- margin-left: 41.66666667%
-}
-
-.col-xs-offset-4 {
- margin-left: 33.33333333%
-}
-
-.col-xs-offset-3 {
- margin-left: 25%
-}
-
-.col-xs-offset-2 {
- margin-left: 16.66666667%
-}
-
-.col-xs-offset-1 {
- margin-left: 8.33333333%
-}
-
-.col-xs-offset-0 {
- margin-left: 0
-}
-
-@media (min-width: 768px) {
- .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
- float: left
- }
-
- .col-sm-12 {
- width: 100%
- }
-
- .col-sm-11 {
- width: 91.66666667%
- }
-
- .col-sm-10 {
- width: 83.33333333%
- }
-
- .col-sm-9 {
- width: 75%
- }
-
- .col-sm-8 {
- width: 66.66666667%
- }
-
- .col-sm-7 {
- width: 58.33333333%
- }
-
- .col-sm-6 {
- width: 50%
- }
-
- .col-sm-5 {
- width: 41.66666667%
- }
-
- .col-sm-4 {
- width: 33.33333333%
- }
-
- .col-sm-3 {
- width: 25%
- }
-
- .col-sm-2 {
- width: 16.66666667%
- }
-
- .col-sm-1 {
- width: 8.33333333%
- }
-
- .col-sm-pull-12 {
- right: 100%
- }
-
- .col-sm-pull-11 {
- right: 91.66666667%
- }
-
- .col-sm-pull-10 {
- right: 83.33333333%
- }
-
- .col-sm-pull-9 {
- right: 75%
- }
-
- .col-sm-pull-8 {
- right: 66.66666667%
- }
-
- .col-sm-pull-7 {
- right: 58.33333333%
- }
-
- .col-sm-pull-6 {
- right: 50%
- }
-
- .col-sm-pull-5 {
- right: 41.66666667%
- }
-
- .col-sm-pull-4 {
- right: 33.33333333%
- }
-
- .col-sm-pull-3 {
- right: 25%
- }
-
- .col-sm-pull-2 {
- right: 16.66666667%
- }
-
- .col-sm-pull-1 {
- right: 8.33333333%
- }
-
- .col-sm-pull-0 {
- right: 0
- }
-
- .col-sm-push-12 {
- left: 100%
- }
-
- .col-sm-push-11 {
- left: 91.66666667%
- }
-
- .col-sm-push-10 {
- left: 83.33333333%
- }
-
- .col-sm-push-9 {
- left: 75%
- }
-
- .col-sm-push-8 {
- left: 66.66666667%
- }
-
- .col-sm-push-7 {
- left: 58.33333333%
- }
-
- .col-sm-push-6 {
- left: 50%
- }
-
- .col-sm-push-5 {
- left: 41.66666667%
- }
-
- .col-sm-push-4 {
- left: 33.33333333%
- }
-
- .col-sm-push-3 {
- left: 25%
- }
-
- .col-sm-push-2 {
- left: 16.66666667%
- }
-
- .col-sm-push-1 {
- left: 8.33333333%
- }
-
- .col-sm-push-0 {
- left: 0
- }
-
- .col-sm-offset-12 {
- margin-left: 100%
- }
-
- .col-sm-offset-11 {
- margin-left: 91.66666667%
- }
-
- .col-sm-offset-10 {
- margin-left: 83.33333333%
- }
-
- .col-sm-offset-9 {
- margin-left: 75%
- }
-
- .col-sm-offset-8 {
- margin-left: 66.66666667%
- }
-
- .col-sm-offset-7 {
- margin-left: 58.33333333%
- }
-
- .col-sm-offset-6 {
- margin-left: 50%
- }
-
- .col-sm-offset-5 {
- margin-left: 41.66666667%
- }
-
- .col-sm-offset-4 {
- margin-left: 33.33333333%
- }
-
- .col-sm-offset-3 {
- margin-left: 25%
- }
-
- .col-sm-offset-2 {
- margin-left: 16.66666667%
- }
-
- .col-sm-offset-1 {
- margin-left: 8.33333333%
- }
-
- .col-sm-offset-0 {
- margin-left: 0
- }
-}
-
-@media (min-width: 992px) {
- .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
- float: left
- }
-
- .col-md-12 {
- width: 100%
- }
-
- .col-md-11 {
- width: 91.66666667%
- }
-
- .col-md-10 {
- width: 83.33333333%
- }
-
- .col-md-9 {
- width: 75%
- }
-
- .col-md-8 {
- width: 66.66666667%
- }
-
- .col-md-7 {
- width: 58.33333333%
- }
-
- .col-md-6 {
- width: 50%
- }
-
- .col-md-5 {
- width: 41.66666667%
- }
-
- .col-md-4 {
- width: 33.33333333%
- }
-
- .col-md-3 {
- width: 25%
- }
-
- .col-md-2 {
- width: 16.66666667%
- }
-
- .col-md-1 {
- width: 8.33333333%
- }
-
- .col-md-pull-12 {
- right: 100%
- }
-
- .col-md-pull-11 {
- right: 91.66666667%
- }
-
- .col-md-pull-10 {
- right: 83.33333333%
- }
-
- .col-md-pull-9 {
- right: 75%
- }
-
- .col-md-pull-8 {
- right: 66.66666667%
- }
-
- .col-md-pull-7 {
- right: 58.33333333%
- }
-
- .col-md-pull-6 {
- right: 50%
- }
-
- .col-md-pull-5 {
- right: 41.66666667%
- }
-
- .col-md-pull-4 {
- right: 33.33333333%
- }
-
- .col-md-pull-3 {
- right: 25%
- }
-
- .col-md-pull-2 {
- right: 16.66666667%
- }
-
- .col-md-pull-1 {
- right: 8.33333333%
- }
-
- .col-md-pull-0 {
- right: 0
- }
-
- .col-md-push-12 {
- left: 100%
- }
-
- .col-md-push-11 {
- left: 91.66666667%
- }
-
- .col-md-push-10 {
- left: 83.33333333%
- }
-
- .col-md-push-9 {
- left: 75%
- }
-
- .col-md-push-8 {
- left: 66.66666667%
- }
-
- .col-md-push-7 {
- left: 58.33333333%
- }
-
- .col-md-push-6 {
- left: 50%
- }
-
- .col-md-push-5 {
- left: 41.66666667%
- }
-
- .col-md-push-4 {
- left: 33.33333333%
- }
-
- .col-md-push-3 {
- left: 25%
- }
-
- .col-md-push-2 {
- left: 16.66666667%
- }
-
- .col-md-push-1 {
- left: 8.33333333%
- }
-
- .col-md-push-0 {
- left: 0
- }
-
- .col-md-offset-12 {
- margin-left: 100%
- }
-
- .col-md-offset-11 {
- margin-left: 91.66666667%
- }
-
- .col-md-offset-10 {
- margin-left: 83.33333333%
- }
-
- .col-md-offset-9 {
- margin-left: 75%
- }
-
- .col-md-offset-8 {
- margin-left: 66.66666667%
- }
-
- .col-md-offset-7 {
- margin-left: 58.33333333%
- }
-
- .col-md-offset-6 {
- margin-left: 50%
- }
-
- .col-md-offset-5 {
- margin-left: 41.66666667%
- }
-
- .col-md-offset-4 {
- margin-left: 33.33333333%
- }
-
- .col-md-offset-3 {
- margin-left: 25%
- }
-
- .col-md-offset-2 {
- margin-left: 16.66666667%
- }
-
- .col-md-offset-1 {
- margin-left: 8.33333333%
- }
-
- .col-md-offset-0 {
- margin-left: 0
- }
-}
-
-@media (min-width: 1200px) {
- .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
- float: left
- }
-
- .col-lg-12 {
- width: 100%
- }
-
- .col-lg-11 {
- width: 91.66666667%
- }
-
- .col-lg-10 {
- width: 83.33333333%
- }
-
- .col-lg-9 {
- width: 75%
- }
-
- .col-lg-8 {
- width: 66.66666667%
- }
-
- .col-lg-7 {
- width: 58.33333333%
- }
-
- .col-lg-6 {
- width: 50%
- }
-
- .col-lg-5 {
- width: 41.66666667%
- }
-
- .col-lg-4 {
- width: 33.33333333%
- }
-
- .col-lg-3 {
- width: 25%
- }
-
- .col-lg-2 {
- width: 16.66666667%
- }
-
- .col-lg-1 {
- width: 8.33333333%
- }
-
- .col-lg-pull-12 {
- right: 100%
- }
-
- .col-lg-pull-11 {
- right: 91.66666667%
- }
-
- .col-lg-pull-10 {
- right: 83.33333333%
- }
-
- .col-lg-pull-9 {
- right: 75%
- }
-
- .col-lg-pull-8 {
- right: 66.66666667%
- }
-
- .col-lg-pull-7 {
- right: 58.33333333%
- }
-
- .col-lg-pull-6 {
- right: 50%
- }
-
- .col-lg-pull-5 {
- right: 41.66666667%
- }
-
- .col-lg-pull-4 {
- right: 33.33333333%
- }
-
- .col-lg-pull-3 {
- right: 25%
- }
-
- .col-lg-pull-2 {
- right: 16.66666667%
- }
-
- .col-lg-pull-1 {
- right: 8.33333333%
- }
-
- .col-lg-pull-0 {
- right: 0
- }
-
- .col-lg-push-12 {
- left: 100%
- }
-
- .col-lg-push-11 {
- left: 91.66666667%
- }
-
- .col-lg-push-10 {
- left: 83.33333333%
- }
-
- .col-lg-push-9 {
- left: 75%
- }
-
- .col-lg-push-8 {
- left: 66.66666667%
- }
-
- .col-lg-push-7 {
- left: 58.33333333%
- }
-
- .col-lg-push-6 {
- left: 50%
- }
-
- .col-lg-push-5 {
- left: 41.66666667%
- }
-
- .col-lg-push-4 {
- left: 33.33333333%
- }
-
- .col-lg-push-3 {
- left: 25%
- }
-
- .col-lg-push-2 {
- left: 16.66666667%
- }
-
- .col-lg-push-1 {
- left: 8.33333333%
- }
-
- .col-lg-push-0 {
- left: 0
- }
-
- .col-lg-offset-12 {
- margin-left: 100%
- }
-
- .col-lg-offset-11 {
- margin-left: 91.66666667%
- }
-
- .col-lg-offset-10 {
- margin-left: 83.33333333%
- }
-
- .col-lg-offset-9 {
- margin-left: 75%
- }
-
- .col-lg-offset-8 {
- margin-left: 66.66666667%
- }
-
- .col-lg-offset-7 {
- margin-left: 58.33333333%
- }
-
- .col-lg-offset-6 {
- margin-left: 50%
- }
-
- .col-lg-offset-5 {
- margin-left: 41.66666667%
- }
-
- .col-lg-offset-4 {
- margin-left: 33.33333333%
- }
-
- .col-lg-offset-3 {
- margin-left: 25%
- }
-
- .col-lg-offset-2 {
- margin-left: 16.66666667%
- }
-
- .col-lg-offset-1 {
- margin-left: 8.33333333%
- }
-
- .col-lg-offset-0 {
- margin-left: 0
- }
-}
-
-table {
- max-width: 100%;
- background-color: transparent
-}
-
-th {
- text-align: left
-}
-
-.table {
- width: 100%;
- margin-bottom: 20px
-}
-
-.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
- padding: 8px;
- line-height: 1.42857143;
- vertical-align: top;
- border-top: 1px solid #ddd
-}
-
-.table > thead > tr > th {
- vertical-align: bottom;
- border-bottom: 2px solid #ddd
-}
-
-.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
- border-top: 0
-}
-
-.table > tbody + tbody {
- border-top: 2px solid #ddd
-}
-
-.table .table {
- background-color: #fff
-}
-
-.table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td {
- padding: 5px
-}
-
-.table-bordered {
- border: 1px solid #ddd
-}
-
-.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
- border: 1px solid #ddd
-}
-
-.table-bordered > thead > tr > th, .table-bordered > thead > tr > td {
- border-bottom-width: 2px
-}
-
-.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
- background-color: #f9f9f9
-}
-
-.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
- background-color: #f5f5f5
-}
-
-table col[class*=col-] {
- position: static;
- float: none;
- display: table-column
-}
-
-table td[class*=col-], table th[class*=col-] {
- position: static;
- float: none;
- display: table-cell
-}
-
-.table > thead > tr > td.active, .table > tbody > tr > td.active, .table > tfoot > tr > td.active, .table > thead > tr > th.active, .table > tbody > tr > th.active, .table > tfoot > tr > th.active, .table > thead > tr.active > td, .table > tbody > tr.active > td, .table > tfoot > tr.active > td, .table > thead > tr.active > th, .table > tbody > tr.active > th, .table > tfoot > tr.active > th {
- background-color: #f5f5f5
-}
-
-.table-hover > tbody > tr > td.active:hover, .table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr.active:hover > th {
- background-color: #e8e8e8
-}
-
-.table > thead > tr > td.success, .table > tbody > tr > td.success, .table > tfoot > tr > td.success, .table > thead > tr > th.success, .table > tbody > tr > th.success, .table > tfoot > tr > th.success, .table > thead > tr.success > td, .table > tbody > tr.success > td, .table > tfoot > tr.success > td, .table > thead > tr.success > th, .table > tbody > tr.success > th, .table > tfoot > tr.success > th {
- background-color: #dff0d8
-}
-
-.table-hover > tbody > tr > td.success:hover, .table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr.success:hover > th {
- background-color: #d0e9c6
-}
-
-.table > thead > tr > td.info, .table > tbody > tr > td.info, .table > tfoot > tr > td.info, .table > thead > tr > th.info, .table > tbody > tr > th.info, .table > tfoot > tr > th.info, .table > thead > tr.info > td, .table > tbody > tr.info > td, .table > tfoot > tr.info > td, .table > thead > tr.info > th, .table > tbody > tr.info > th, .table > tfoot > tr.info > th {
- background-color: #d9edf7
-}
-
-.table-hover > tbody > tr > td.info:hover, .table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr.info:hover > th {
- background-color: #c4e3f3
-}
-
-.table > thead > tr > td.warning, .table > tbody > tr > td.warning, .table > tfoot > tr > td.warning, .table > thead > tr > th.warning, .table > tbody > tr > th.warning, .table > tfoot > tr > th.warning, .table > thead > tr.warning > td, .table > tbody > tr.warning > td, .table > tfoot > tr.warning > td, .table > thead > tr.warning > th, .table > tbody > tr.warning > th, .table > tfoot > tr.warning > th {
- background-color: #fcf8e3
-}
-
-.table-hover > tbody > tr > td.warning:hover, .table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr.warning:hover > th {
- background-color: #faf2cc
-}
-
-.table > thead > tr > td.danger, .table > tbody > tr > td.danger, .table > tfoot > tr > td.danger, .table > thead > tr > th.danger, .table > tbody > tr > th.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > tbody > tr.danger > td, .table > tfoot > tr.danger > td, .table > thead > tr.danger > th, .table > tbody > tr.danger > th, .table > tfoot > tr.danger > th {
- background-color: #f2dede
-}
-
-.table-hover > tbody > tr > td.danger:hover, .table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr.danger:hover > th {
- background-color: #ebcccc
-}
-
-@media (max-width: 767px) {
- .table-responsive {
- width: 100%;
- margin-bottom: 15px;
- overflow-y: hidden;
- overflow-x: scroll;
- -ms-overflow-style: -ms-autohiding-scrollbar;
- border: 1px solid #ddd;
- -webkit-overflow-scrolling: touch
- }
-
- .table-responsive > .table {
- margin-bottom: 0
- }
-
- .table-responsive > .table > thead > tr > th, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > tbody > tr > td, .table-responsive > .table > tfoot > tr > td {
- white-space: nowrap
- }
-
- .table-responsive > .table-bordered {
- border: 0
- }
-
- .table-responsive > .table-bordered > thead > tr > th:first-child, .table-responsive > .table-bordered > tbody > tr > th:first-child, .table-responsive > .table-bordered > tfoot > tr > th:first-child, .table-responsive > .table-bordered > thead > tr > td:first-child, .table-responsive > .table-bordered > tbody > tr > td:first-child, .table-responsive > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0
- }
-
- .table-responsive > .table-bordered > thead > tr > th:last-child, .table-responsive > .table-bordered > tbody > tr > th:last-child, .table-responsive > .table-bordered > tfoot > tr > th:last-child, .table-responsive > .table-bordered > thead > tr > td:last-child, .table-responsive > .table-bordered > tbody > tr > td:last-child, .table-responsive > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0
- }
-
- .table-responsive > .table-bordered > tbody > tr:last-child > th, .table-responsive > .table-bordered > tfoot > tr:last-child > th, .table-responsive > .table-bordered > tbody > tr:last-child > td, .table-responsive > .table-bordered > tfoot > tr:last-child > td {
- border-bottom: 0
- }
-}
-
-fieldset {
- padding: 0;
- margin: 0;
- border: 0;
- min-width: 0
-}
-
-legend {
- display: block;
- width: 100%;
- padding: 0;
- margin-bottom: 20px;
- font-size: 21px;
- line-height: inherit;
- color: #333;
- border: 0;
- border-bottom: 1px solid #e5e5e5
-}
-
-label {
- display: inline-block;
- margin-bottom: 5px;
- font-weight: 700
-}
-
-input[type=search] {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box
-}
-
-input[type=radio], input[type=checkbox] {
- margin: 4px 0 0;
- margin-top: 1px \9;
- line-height: normal
-}
-
-input[type=file] {
- display: block
-}
-
-input[type=range] {
- display: block;
- width: 100%
-}
-
-select[multiple], select[size] {
- height: auto
-}
-
-input[type=file]:focus, input[type=radio]:focus, input[type=checkbox]:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px
-}
-
-output {
- display: block;
- padding-top: 7px;
- font-size: 14px;
- line-height: 1.42857143;
- color: #555
-}
-
-.form-control {
- display: block;
- width: 100%;
- height: 34px;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 1.42857143;
- color: #555;
- background-color: #fff;
- background-image: none;
- border: 1px solid #ccc;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
-}
-
-.form-control:focus {
- border-color: #66afe9;
- outline: 0;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6)
-}
-
-.form-control::-moz-placeholder {
- color: #999;
- opacity: 1
-}
-
-.form-control:-ms-input-placeholder {
- color: #999
-}
-
-.form-control::-webkit-input-placeholder {
- color: #999
-}
-
-.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
- cursor: not-allowed;
- background-color: #eee;
- opacity: 1
-}
-
-textarea.form-control {
- height: auto
-}
-
-input[type=search] {
- -webkit-appearance: none
-}
-
-input[type=date] {
- line-height: 34px
-}
-
-.form-group {
- margin-bottom: 15px
-}
-
-.radio, .checkbox {
- display: block;
- min-height: 20px;
- margin-top: 10px;
- margin-bottom: 10px;
- padding-left: 20px
-}
-
-.radio label, .checkbox label {
- display: inline;
- font-weight: 400;
- cursor: pointer
-}
-
-.radio input[type=radio], .radio-inline input[type=radio], .checkbox input[type=checkbox], .checkbox-inline input[type=checkbox] {
- float: left;
- margin-left: -20px
-}
-
-.radio + .radio, .checkbox + .checkbox {
- margin-top: -5px
-}
-
-.radio-inline, .checkbox-inline {
- display: inline-block;
- padding-left: 20px;
- margin-bottom: 0;
- vertical-align: middle;
- font-weight: 400;
- cursor: pointer
-}
-
-.radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline {
- margin-top: 0;
- margin-left: 10px
-}
-
-input[type=radio][disabled], input[type=checkbox][disabled], .radio[disabled], .radio-inline[disabled], .checkbox[disabled], .checkbox-inline[disabled], fieldset[disabled] input[type=radio], fieldset[disabled] input[type=checkbox], fieldset[disabled] .radio, fieldset[disabled] .radio-inline, fieldset[disabled] .checkbox, fieldset[disabled] .checkbox-inline {
- cursor: not-allowed
-}
-
-.input-sm {
- height: 30px;
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px
-}
-
-select.input-sm {
- height: 30px;
- line-height: 30px
-}
-
-textarea.input-sm, select[multiple].input-sm {
- height: auto
-}
-
-.input-lg {
- height: 46px;
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 6px
-}
-
-select.input-lg {
- height: 46px;
- line-height: 46px
-}
-
-textarea.input-lg, select[multiple].input-lg {
- height: auto
-}
-
-.has-feedback {
- position: relative
-}
-
-.has-feedback .form-control {
- padding-right: 42.5px
-}
-
-.has-feedback .form-control-feedback {
- position: absolute;
- top: 25px;
- right: 0;
- display: block;
- width: 34px;
- height: 34px;
- line-height: 34px;
- text-align: center
-}
-
-.has-success .help-block, .has-success .control-label, .has-success .radio, .has-success .checkbox, .has-success .radio-inline, .has-success .checkbox-inline {
- color: #3c763d
-}
-
-.has-success .form-control {
- border-color: #3c763d;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075)
-}
-
-.has-success .form-control:focus {
- border-color: #2b542c;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168
-}
-
-.has-success .input-group-addon {
- color: #3c763d;
- border-color: #3c763d;
- background-color: #dff0d8
-}
-
-.has-success .form-control-feedback {
- color: #3c763d
-}
-
-.has-warning .help-block, .has-warning .control-label, .has-warning .radio, .has-warning .checkbox, .has-warning .radio-inline, .has-warning .checkbox-inline {
- color: #8a6d3b
-}
-
-.has-warning .form-control {
- border-color: #8a6d3b;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075)
-}
-
-.has-warning .form-control:focus {
- border-color: #66512c;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b
-}
-
-.has-warning .input-group-addon {
- color: #8a6d3b;
- border-color: #8a6d3b;
- background-color: #fcf8e3
-}
-
-.has-warning .form-control-feedback {
- color: #8a6d3b
-}
-
-.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline {
- color: #a94442
-}
-
-.has-error .form-control {
- border-color: #a94442;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075)
-}
-
-.has-error .form-control:focus {
- border-color: #843534;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483
-}
-
-.has-error .input-group-addon {
- color: #a94442;
- border-color: #a94442;
- background-color: #f2dede
-}
-
-.has-error .form-control-feedback {
- color: #a94442
-}
-
-.form-control-static {
- margin-bottom: 0
-}
-
-.help-block {
- display: block;
- margin-top: 5px;
- margin-bottom: 10px;
- color: #737373
-}
-
-@media (min-width: 768px) {
- .form-inline .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle
- }
-
- .form-inline .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle
- }
-
- .form-inline .input-group > .form-control {
- width: 100%
- }
-
- .form-inline .control-label {
- margin-bottom: 0;
- vertical-align: middle
- }
-
- .form-inline .radio, .form-inline .checkbox {
- display: inline-block;
- margin-top: 0;
- margin-bottom: 0;
- padding-left: 0;
- vertical-align: middle
- }
-
- .form-inline .radio input[type=radio], .form-inline .checkbox input[type=checkbox] {
- float: none;
- margin-left: 0
- }
-
- .form-inline .has-feedback .form-control-feedback {
- top: 0
- }
-}
-
-.form-horizontal .control-label, .form-horizontal .radio, .form-horizontal .checkbox, .form-horizontal .radio-inline, .form-horizontal .checkbox-inline {
- margin-top: 0;
- margin-bottom: 0;
- padding-top: 7px
-}
-
-.form-horizontal .radio, .form-horizontal .checkbox {
- min-height: 27px
-}
-
-.form-horizontal .form-group {
- margin-left: -15px;
- margin-right: -15px
-}
-
-.form-horizontal .form-control-static {
- padding-top: 7px
-}
-
-@media (min-width: 768px) {
- .form-horizontal .control-label {
- text-align: right
- }
-}
-
-.form-horizontal .has-feedback .form-control-feedback {
- top: 0;
- right: 15px
-}
-
-.btn {
- display: inline-block;
- margin-bottom: 0;
- font-weight: 400;
- text-align: center;
- vertical-align: middle;
- cursor: pointer;
- background-image: none;
- border: 1px solid transparent;
- white-space: nowrap;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 1.42857143;
- border-radius: 4px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none
-}
-
-.btn:focus, .btn:active:focus, .btn.active:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px
-}
-
-.btn:hover, .btn:focus {
- color: #333;
- text-decoration: none
-}
-
-.btn:active, .btn.active {
- outline: 0;
- background-image: none;
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)
-}
-
-.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
- cursor: not-allowed;
- pointer-events: none;
- opacity: .65;
- filter: alpha(opacity=65);
- -webkit-box-shadow: none;
- box-shadow: none
-}
-
-.btn-default {
- color: #333;
- background-color: #fff;
- border-color: #ccc
-}
-
-.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {
- color: #333;
- background-color: #ebebeb;
- border-color: #adadad
-}
-
-.btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {
- background-image: none
-}
-
-.btn-default.disabled, .btn-default[disabled], fieldset[disabled] .btn-default, .btn-default.disabled:hover, .btn-default[disabled]:hover, fieldset[disabled] .btn-default:hover, .btn-default.disabled:focus, .btn-default[disabled]:focus, fieldset[disabled] .btn-default:focus, .btn-default.disabled:active, .btn-default[disabled]:active, fieldset[disabled] .btn-default:active, .btn-default.disabled.active, .btn-default[disabled].active, fieldset[disabled] .btn-default.active {
- background-color: #fff;
- border-color: #ccc
-}
-
-.btn-default .badge {
- color: #fff;
- background-color: #333
-}
-
-.btn-primary {
- color: #fff;
- background-color: #428bca;
- border-color: #357ebd
-}
-
-.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
- color: #fff;
- background-color: #3276b1;
- border-color: #285e8e
-}
-
-.btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
- background-image: none
-}
-
-.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active {
- background-color: #428bca;
- border-color: #357ebd
-}
-
-.btn-primary .badge {
- color: #428bca;
- background-color: #fff
-}
-
-.btn-success {
- color: #fff;
- background-color: #5cb85c;
- border-color: #4cae4c
-}
-
-.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {
- color: #fff;
- background-color: #47a447;
- border-color: #398439
-}
-
-.btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {
- background-image: none
-}
-
-.btn-success.disabled, .btn-success[disabled], fieldset[disabled] .btn-success, .btn-success.disabled:hover, .btn-success[disabled]:hover, fieldset[disabled] .btn-success:hover, .btn-success.disabled:focus, .btn-success[disabled]:focus, fieldset[disabled] .btn-success:focus, .btn-success.disabled:active, .btn-success[disabled]:active, fieldset[disabled] .btn-success:active, .btn-success.disabled.active, .btn-success[disabled].active, fieldset[disabled] .btn-success.active {
- background-color: #5cb85c;
- border-color: #4cae4c
-}
-
-.btn-success .badge {
- color: #5cb85c;
- background-color: #fff
-}
-
-.btn-info {
- color: #fff;
- background-color: #5bc0de;
- border-color: #46b8da
-}
-
-.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info {
- color: #fff;
- background-color: #39b3d7;
- border-color: #269abc
-}
-
-.btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info {
- background-image: none
-}
-
-.btn-info.disabled, .btn-info[disabled], fieldset[disabled] .btn-info, .btn-info.disabled:hover, .btn-info[disabled]:hover, fieldset[disabled] .btn-info:hover, .btn-info.disabled:focus, .btn-info[disabled]:focus, fieldset[disabled] .btn-info:focus, .btn-info.disabled:active, .btn-info[disabled]:active, fieldset[disabled] .btn-info:active, .btn-info.disabled.active, .btn-info[disabled].active, fieldset[disabled] .btn-info.active {
- background-color: #5bc0de;
- border-color: #46b8da
-}
-
-.btn-info .badge {
- color: #5bc0de;
- background-color: #fff
-}
-
-.btn-warning {
- color: #fff;
- background-color: #f0ad4e;
- border-color: #eea236
-}
-
-.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning {
- color: #fff;
- background-color: #ed9c28;
- border-color: #d58512
-}
-
-.btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning {
- background-image: none
-}
-
-.btn-warning.disabled, .btn-warning[disabled], fieldset[disabled] .btn-warning, .btn-warning.disabled:hover, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning:hover, .btn-warning.disabled:focus, .btn-warning[disabled]:focus, fieldset[disabled] .btn-warning:focus, .btn-warning.disabled:active, .btn-warning[disabled]:active, fieldset[disabled] .btn-warning:active, .btn-warning.disabled.active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning.active {
- background-color: #f0ad4e;
- border-color: #eea236
-}
-
-.btn-warning .badge {
- color: #f0ad4e;
- background-color: #fff
-}
-
-.btn-danger {
- color: #fff;
- background-color: #d9534f;
- border-color: #d43f3a
-}
-
-.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger {
- color: #fff;
- background-color: #d2322d;
- border-color: #ac2925
-}
-
-.btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger {
- background-image: none
-}
-
-.btn-danger.disabled, .btn-danger[disabled], fieldset[disabled] .btn-danger, .btn-danger.disabled:hover, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger:hover, .btn-danger.disabled:focus, .btn-danger[disabled]:focus, fieldset[disabled] .btn-danger:focus, .btn-danger.disabled:active, .btn-danger[disabled]:active, fieldset[disabled] .btn-danger:active, .btn-danger.disabled.active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger.active {
- background-color: #d9534f;
- border-color: #d43f3a
-}
-
-.btn-danger .badge {
- color: #d9534f;
- background-color: #fff
-}
-
-.btn-link {
- color: #428bca;
- font-weight: 400;
- cursor: pointer;
- border-radius: 0
-}
-
-.btn-link, .btn-link:active, .btn-link[disabled], fieldset[disabled] .btn-link {
- background-color: transparent;
- -webkit-box-shadow: none;
- box-shadow: none
-}
-
-.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
- border-color: transparent
-}
-
-.btn-link:hover, .btn-link:focus {
- color: #2a6496;
- text-decoration: underline;
- background-color: transparent
-}
-
-.btn-link[disabled]:hover, fieldset[disabled] .btn-link:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:focus {
- color: #999;
- text-decoration: none
-}
-
-.btn-lg, .btn-group-lg > .btn {
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 6px
-}
-
-.btn-sm, .btn-group-sm > .btn {
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px
-}
-
-.btn-xs, .btn-group-xs > .btn {
- padding: 1px 5px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px
-}
-
-.btn-block {
- display: block;
- width: 100%;
- padding-left: 0;
- padding-right: 0
-}
-
-.btn-block + .btn-block {
- margin-top: 5px
-}
-
-input[type=submit].btn-block, input[type=reset].btn-block, input[type=button].btn-block {
- width: 100%
-}
-
-.fade {
- opacity: 0;
- -webkit-transition: opacity .15s linear;
- transition: opacity .15s linear
-}
-
-.fade.in {
- opacity: 1
-}
-
-.collapse {
- display: none
-}
-
-.collapse.in {
- display: block
-}
-
-.collapsing {
- position: relative;
- height: 0;
- overflow: hidden;
- -webkit-transition: height .35s ease;
- transition: height .35s ease
-}
-
-@font-face {
- font-family: 'Glyphicons Halflings';
- src: url(../fonts/glyphicons-halflings-regular.eot);
- src: url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'), url(../fonts/glyphicons-halflings-regular.woff) format('woff'), url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'), url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')
-}
-
-.glyphicon {
- position: relative;
- top: 1px;
- display: inline-block;
- font-family: 'Glyphicons Halflings';
- font-style: normal;
- font-weight: 400;
- line-height: 1;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale
-}
-
-.glyphicon-asterisk:before {
- content: "\2a"
-}
-
-.glyphicon-plus:before {
- content: "\2b"
-}
-
-.glyphicon-euro:before {
- content: "\20ac"
-}
-
-.glyphicon-minus:before {
- content: "\2212"
-}
-
-.glyphicon-cloud:before {
- content: "\2601"
-}
-
-.glyphicon-envelope:before {
- content: "\2709"
-}
-
-.glyphicon-pencil:before {
- content: "\270f"
-}
-
-.glyphicon-glass:before {
- content: "\e001"
-}
-
-.glyphicon-music:before {
- content: "\e002"
-}
-
-.glyphicon-search:before {
- content: "\e003"
-}
-
-.glyphicon-heart:before {
- content: "\e005"
-}
-
-.glyphicon-star:before {
- content: "\e006"
-}
-
-.glyphicon-star-empty:before {
- content: "\e007"
-}
-
-.glyphicon-user:before {
- content: "\e008"
-}
-
-.glyphicon-film:before {
- content: "\e009"
-}
-
-.glyphicon-th-large:before {
- content: "\e010"
-}
-
-.glyphicon-th:before {
- content: "\e011"
-}
-
-.glyphicon-th-list:before {
- content: "\e012"
-}
-
-.glyphicon-ok:before {
- content: "\e013"
-}
-
-.glyphicon-remove:before {
- content: "\e014"
-}
-
-.glyphicon-zoom-in:before {
- content: "\e015"
-}
-
-.glyphicon-zoom-out:before {
- content: "\e016"
-}
-
-.glyphicon-off:before {
- content: "\e017"
-}
-
-.glyphicon-signal:before {
- content: "\e018"
-}
-
-.glyphicon-cog:before {
- content: "\e019"
-}
-
-.glyphicon-trash:before {
- content: "\e020"
-}
-
-.glyphicon-home:before {
- content: "\e021"
-}
-
-.glyphicon-file:before {
- content: "\e022"
-}
-
-.glyphicon-time:before {
- content: "\e023"
-}
-
-.glyphicon-road:before {
- content: "\e024"
-}
-
-.glyphicon-download-alt:before {
- content: "\e025"
-}
-
-.glyphicon-download:before {
- content: "\e026"
-}
-
-.glyphicon-upload:before {
- content: "\e027"
-}
-
-.glyphicon-inbox:before {
- content: "\e028"
-}
-
-.glyphicon-play-circle:before {
- content: "\e029"
-}
-
-.glyphicon-repeat:before {
- content: "\e030"
-}
-
-.glyphicon-refresh:before {
- content: "\e031"
-}
-
-.glyphicon-list-alt:before {
- content: "\e032"
-}
-
-.glyphicon-lock:before {
- content: "\e033"
-}
-
-.glyphicon-flag:before {
- content: "\e034"
-}
-
-.glyphicon-headphones:before {
- content: "\e035"
-}
-
-.glyphicon-volume-off:before {
- content: "\e036"
-}
-
-.glyphicon-volume-down:before {
- content: "\e037"
-}
-
-.glyphicon-volume-up:before {
- content: "\e038"
-}
-
-.glyphicon-qrcode:before {
- content: "\e039"
-}
-
-.glyphicon-barcode:before {
- content: "\e040"
-}
-
-.glyphicon-tag:before {
- content: "\e041"
-}
-
-.glyphicon-tags:before {
- content: "\e042"
-}
-
-.glyphicon-book:before {
- content: "\e043"
-}
-
-.glyphicon-bookmark:before {
- content: "\e044"
-}
-
-.glyphicon-print:before {
- content: "\e045"
-}
-
-.glyphicon-camera:before {
- content: "\e046"
-}
-
-.glyphicon-font:before {
- content: "\e047"
-}
-
-.glyphicon-bold:before {
- content: "\e048"
-}
-
-.glyphicon-italic:before {
- content: "\e049"
-}
-
-.glyphicon-text-height:before {
- content: "\e050"
-}
-
-.glyphicon-text-width:before {
- content: "\e051"
-}
-
-.glyphicon-align-left:before {
- content: "\e052"
-}
-
-.glyphicon-align-center:before {
- content: "\e053"
-}
-
-.glyphicon-align-right:before {
- content: "\e054"
-}
-
-.glyphicon-align-justify:before {
- content: "\e055"
-}
-
-.glyphicon-list:before {
- content: "\e056"
-}
-
-.glyphicon-indent-left:before {
- content: "\e057"
-}
-
-.glyphicon-indent-right:before {
- content: "\e058"
-}
-
-.glyphicon-facetime-video:before {
- content: "\e059"
-}
-
-.glyphicon-picture:before {
- content: "\e060"
-}
-
-.glyphicon-map-marker:before {
- content: "\e062"
-}
-
-.glyphicon-adjust:before {
- content: "\e063"
-}
-
-.glyphicon-tint:before {
- content: "\e064"
-}
-
-.glyphicon-edit:before {
- content: "\e065"
-}
-
-.glyphicon-share:before {
- content: "\e066"
-}
-
-.glyphicon-check:before {
- content: "\e067"
-}
-
-.glyphicon-move:before {
- content: "\e068"
-}
-
-.glyphicon-step-backward:before {
- content: "\e069"
-}
-
-.glyphicon-fast-backward:before {
- content: "\e070"
-}
-
-.glyphicon-backward:before {
- content: "\e071"
-}
-
-.glyphicon-play:before {
- content: "\e072"
-}
-
-.glyphicon-pause:before {
- content: "\e073"
-}
-
-.glyphicon-stop:before {
- content: "\e074"
-}
-
-.glyphicon-forward:before {
- content: "\e075"
-}
-
-.glyphicon-fast-forward:before {
- content: "\e076"
-}
-
-.glyphicon-step-forward:before {
- content: "\e077"
-}
-
-.glyphicon-eject:before {
- content: "\e078"
-}
-
-.glyphicon-chevron-left:before {
- content: "\e079"
-}
-
-.glyphicon-chevron-right:before {
- content: "\e080"
-}
-
-.glyphicon-plus-sign:before {
- content: "\e081"
-}
-
-.glyphicon-minus-sign:before {
- content: "\e082"
-}
-
-.glyphicon-remove-sign:before {
- content: "\e083"
-}
-
-.glyphicon-ok-sign:before {
- content: "\e084"
-}
-
-.glyphicon-question-sign:before {
- content: "\e085"
-}
-
-.glyphicon-info-sign:before {
- content: "\e086"
-}
-
-.glyphicon-screenshot:before {
- content: "\e087"
-}
-
-.glyphicon-remove-circle:before {
- content: "\e088"
-}
-
-.glyphicon-ok-circle:before {
- content: "\e089"
-}
-
-.glyphicon-ban-circle:before {
- content: "\e090"
-}
-
-.glyphicon-arrow-left:before {
- content: "\e091"
-}
-
-.glyphicon-arrow-right:before {
- content: "\e092"
-}
-
-.glyphicon-arrow-up:before {
- content: "\e093"
-}
-
-.glyphicon-arrow-down:before {
- content: "\e094"
-}
-
-.glyphicon-share-alt:before {
- content: "\e095"
-}
-
-.glyphicon-resize-full:before {
- content: "\e096"
-}
-
-.glyphicon-resize-small:before {
- content: "\e097"
-}
-
-.glyphicon-exclamation-sign:before {
- content: "\e101"
-}
-
-.glyphicon-gift:before {
- content: "\e102"
-}
-
-.glyphicon-leaf:before {
- content: "\e103"
-}
-
-.glyphicon-fire:before {
- content: "\e104"
-}
-
-.glyphicon-eye-open:before {
- content: "\e105"
-}
-
-.glyphicon-eye-close:before {
- content: "\e106"
-}
-
-.glyphicon-warning-sign:before {
- content: "\e107"
-}
-
-.glyphicon-plane:before {
- content: "\e108"
-}
-
-.glyphicon-calendar:before {
- content: "\e109"
-}
-
-.glyphicon-random:before {
- content: "\e110"
-}
-
-.glyphicon-comment:before {
- content: "\e111"
-}
-
-.glyphicon-magnet:before {
- content: "\e112"
-}
-
-.glyphicon-chevron-up:before {
- content: "\e113"
-}
-
-.glyphicon-chevron-down:before {
- content: "\e114"
-}
-
-.glyphicon-retweet:before {
- content: "\e115"
-}
-
-.glyphicon-shopping-cart:before {
- content: "\e116"
-}
-
-.glyphicon-folder-close:before {
- content: "\e117"
-}
-
-.glyphicon-folder-open:before {
- content: "\e118"
-}
-
-.glyphicon-resize-vertical:before {
- content: "\e119"
-}
-
-.glyphicon-resize-horizontal:before {
- content: "\e120"
-}
-
-.glyphicon-hdd:before {
- content: "\e121"
-}
-
-.glyphicon-bullhorn:before {
- content: "\e122"
-}
-
-.glyphicon-bell:before {
- content: "\e123"
-}
-
-.glyphicon-certificate:before {
- content: "\e124"
-}
-
-.glyphicon-thumbs-up:before {
- content: "\e125"
-}
-
-.glyphicon-thumbs-down:before {
- content: "\e126"
-}
-
-.glyphicon-hand-right:before {
- content: "\e127"
-}
-
-.glyphicon-hand-left:before {
- content: "\e128"
-}
-
-.glyphicon-hand-up:before {
- content: "\e129"
-}
-
-.glyphicon-hand-down:before {
- content: "\e130"
-}
-
-.glyphicon-circle-arrow-right:before {
- content: "\e131"
-}
-
-.glyphicon-circle-arrow-left:before {
- content: "\e132"
-}
-
-.glyphicon-circle-arrow-up:before {
- content: "\e133"
-}
-
-.glyphicon-circle-arrow-down:before {
- content: "\e134"
-}
-
-.glyphicon-globe:before {
- content: "\e135"
-}
-
-.glyphicon-wrench:before {
- content: "\e136"
-}
-
-.glyphicon-tasks:before {
- content: "\e137"
-}
-
-.glyphicon-filter:before {
- content: "\e138"
-}
-
-.glyphicon-briefcase:before {
- content: "\e139"
-}
-
-.glyphicon-fullscreen:before {
- content: "\e140"
-}
-
-.glyphicon-dashboard:before {
- content: "\e141"
-}
-
-.glyphicon-paperclip:before {
- content: "\e142"
-}
-
-.glyphicon-heart-empty:before {
- content: "\e143"
-}
-
-.glyphicon-link:before {
- content: "\e144"
-}
-
-.glyphicon-phone:before {
- content: "\e145"
-}
-
-.glyphicon-pushpin:before {
- content: "\e146"
-}
-
-.glyphicon-usd:before {
- content: "\e148"
-}
-
-.glyphicon-gbp:before {
- content: "\e149"
-}
-
-.glyphicon-sort:before {
- content: "\e150"
-}
-
-.glyphicon-sort-by-alphabet:before {
- content: "\e151"
-}
-
-.glyphicon-sort-by-alphabet-alt:before {
- content: "\e152"
-}
-
-.glyphicon-sort-by-order:before {
- content: "\e153"
-}
-
-.glyphicon-sort-by-order-alt:before {
- content: "\e154"
-}
-
-.glyphicon-sort-by-attributes:before {
- content: "\e155"
-}
-
-.glyphicon-sort-by-attributes-alt:before {
- content: "\e156"
-}
-
-.glyphicon-unchecked:before {
- content: "\e157"
-}
-
-.glyphicon-expand:before {
- content: "\e158"
-}
-
-.glyphicon-collapse-down:before {
- content: "\e159"
-}
-
-.glyphicon-collapse-up:before {
- content: "\e160"
-}
-
-.glyphicon-log-in:before {
- content: "\e161"
-}
-
-.glyphicon-flash:before {
- content: "\e162"
-}
-
-.glyphicon-log-out:before {
- content: "\e163"
-}
-
-.glyphicon-new-window:before {
- content: "\e164"
-}
-
-.glyphicon-record:before {
- content: "\e165"
-}
-
-.glyphicon-save:before {
- content: "\e166"
-}
-
-.glyphicon-open:before {
- content: "\e167"
-}
-
-.glyphicon-saved:before {
- content: "\e168"
-}
-
-.glyphicon-import:before {
- content: "\e169"
-}
-
-.glyphicon-export:before {
- content: "\e170"
-}
-
-.glyphicon-send:before {
- content: "\e171"
-}
-
-.glyphicon-floppy-disk:before {
- content: "\e172"
-}
-
-.glyphicon-floppy-saved:before {
- content: "\e173"
-}
-
-.glyphicon-floppy-remove:before {
- content: "\e174"
-}
-
-.glyphicon-floppy-save:before {
- content: "\e175"
-}
-
-.glyphicon-floppy-open:before {
- content: "\e176"
-}
-
-.glyphicon-credit-card:before {
- content: "\e177"
-}
-
-.glyphicon-transfer:before {
- content: "\e178"
-}
-
-.glyphicon-cutlery:before {
- content: "\e179"
-}
-
-.glyphicon-header:before {
- content: "\e180"
-}
-
-.glyphicon-compressed:before {
- content: "\e181"
-}
-
-.glyphicon-earphone:before {
- content: "\e182"
-}
-
-.glyphicon-phone-alt:before {
- content: "\e183"
-}
-
-.glyphicon-tower:before {
- content: "\e184"
-}
-
-.glyphicon-stats:before {
- content: "\e185"
-}
-
-.glyphicon-sd-video:before {
- content: "\e186"
-}
-
-.glyphicon-hd-video:before {
- content: "\e187"
-}
-
-.glyphicon-subtitles:before {
- content: "\e188"
-}
-
-.glyphicon-sound-stereo:before {
- content: "\e189"
-}
-
-.glyphicon-sound-dolby:before {
- content: "\e190"
-}
-
-.glyphicon-sound-5-1:before {
- content: "\e191"
-}
-
-.glyphicon-sound-6-1:before {
- content: "\e192"
-}
-
-.glyphicon-sound-7-1:before {
- content: "\e193"
-}
-
-.glyphicon-copyright-mark:before {
- content: "\e194"
-}
-
-.glyphicon-registration-mark:before {
- content: "\e195"
-}
-
-.glyphicon-cloud-download:before {
- content: "\e197"
-}
-
-.glyphicon-cloud-upload:before {
- content: "\e198"
-}
-
-.glyphicon-tree-conifer:before {
- content: "\e199"
-}
-
-.glyphicon-tree-deciduous:before {
- content: "\e200"
-}
-
-.caret {
- display: inline-block;
- width: 0;
- height: 0;
- margin-left: 2px;
- vertical-align: middle;
- border-top: 4px solid;
- border-right: 4px solid transparent;
- border-left: 4px solid transparent
-}
-
-.dropdown {
- position: relative
-}
-
-.dropdown-toggle:focus {
- outline: 0
-}
-
-.dropdown-menu {
- position: absolute;
- top: 100%;
- left: 0;
- z-index: 1000;
- display: none;
- float: left;
- min-width: 160px;
- padding: 5px 0;
- margin: 2px 0 0;
- list-style: none;
- font-size: 14px;
- background-color: #fff;
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, .15);
- border-radius: 4px;
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
- box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
- background-clip: padding-box
-}
-
-.dropdown-menu.pull-right {
- right: 0;
- left: auto
-}
-
-.dropdown-menu .divider {
- height: 1px;
- margin: 9px 0;
- overflow: hidden;
- background-color: #e5e5e5
-}
-
-.dropdown-menu > li > a {
- display: block;
- padding: 3px 20px;
- clear: both;
- font-weight: 400;
- line-height: 1.42857143;
- color: #333;
- white-space: nowrap
-}
-
-.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
- text-decoration: none;
- color: #262626;
- background-color: #f5f5f5
-}
-
-.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
- color: #fff;
- text-decoration: none;
- outline: 0;
- background-color: #428bca
-}
-
-.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
- color: #999
-}
-
-.dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
- text-decoration: none;
- background-color: transparent;
- background-image: none;
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
- cursor: not-allowed
-}
-
-.open > .dropdown-menu {
- display: block
-}
-
-.open > a {
- outline: 0
-}
-
-.dropdown-menu-right {
- left: auto;
- right: 0
-}
-
-.dropdown-menu-left {
- left: 0;
- right: auto
-}
-
-.dropdown-header {
- display: block;
- padding: 3px 20px;
- font-size: 12px;
- line-height: 1.42857143;
- color: #999
-}
-
-.dropdown-backdrop {
- position: fixed;
- left: 0;
- right: 0;
- bottom: 0;
- top: 0;
- z-index: 990
-}
-
-.pull-right > .dropdown-menu {
- right: 0;
- left: auto
-}
-
-.dropup .caret, .navbar-fixed-bottom .dropdown .caret {
- border-top: 0;
- border-bottom: 4px solid;
- content: ""
-}
-
-.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu {
- top: auto;
- bottom: 100%;
- margin-bottom: 1px
-}
-
-@media (min-width: 768px) {
- .navbar-right .dropdown-menu {
- left: auto;
- right: 0
- }
-
- .navbar-right .dropdown-menu-left {
- left: 0;
- right: auto
- }
-}
-
-.btn-group, .btn-group-vertical {
- position: relative;
- display: inline-block;
- vertical-align: middle
-}
-
-.btn-group > .btn, .btn-group-vertical > .btn {
- position: relative;
- float: left
-}
-
-.btn-group > .btn:hover, .btn-group-vertical > .btn:hover, .btn-group > .btn:focus, .btn-group-vertical > .btn:focus, .btn-group > .btn:active, .btn-group-vertical > .btn:active, .btn-group > .btn.active, .btn-group-vertical > .btn.active {
- z-index: 2
-}
-
-.btn-group > .btn:focus, .btn-group-vertical > .btn:focus {
- outline: 0
-}
-
-.btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group {
- margin-left: -1px
-}
-
-.btn-toolbar {
- margin-left: -5px
-}
-
-.btn-toolbar .btn-group, .btn-toolbar .input-group {
- float: left
-}
-
-.btn-toolbar > .btn, .btn-toolbar > .btn-group, .btn-toolbar > .input-group {
- margin-left: 5px
-}
-
-.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
- border-radius: 0
-}
-
-.btn-group > .btn:first-child {
- margin-left: 0
-}
-
-.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
- border-bottom-right-radius: 0;
- border-top-right-radius: 0
-}
-
-.btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) {
- border-bottom-left-radius: 0;
- border-top-left-radius: 0
-}
-
-.btn-group > .btn-group {
- float: left
-}
-
-.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
- border-radius: 0
-}
-
-.btn-group > .btn-group:first-child > .btn:last-child, .btn-group > .btn-group:first-child > .dropdown-toggle {
- border-bottom-right-radius: 0;
- border-top-right-radius: 0
-}
-
-.btn-group > .btn-group:last-child > .btn:first-child {
- border-bottom-left-radius: 0;
- border-top-left-radius: 0
-}
-
-.btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle {
- outline: 0
-}
-
-.btn-group > .btn + .dropdown-toggle {
- padding-left: 8px;
- padding-right: 8px
-}
-
-.btn-group > .btn-lg + .dropdown-toggle {
- padding-left: 12px;
- padding-right: 12px
-}
-
-.btn-group.open .dropdown-toggle {
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)
-}
-
-.btn-group.open .dropdown-toggle.btn-link {
- -webkit-box-shadow: none;
- box-shadow: none
-}
-
-.btn .caret {
- margin-left: 0
-}
-
-.btn-lg .caret {
- border-width: 5px 5px 0;
- border-bottom-width: 0
-}
-
-.dropup .btn-lg .caret {
- border-width: 0 5px 5px
-}
-
-.btn-group-vertical > .btn, .btn-group-vertical > .btn-group, .btn-group-vertical > .btn-group > .btn {
- display: block;
- float: none;
- width: 100%;
- max-width: 100%
-}
-
-.btn-group-vertical > .btn-group > .btn {
- float: none
-}
-
-.btn-group-vertical > .btn + .btn, .btn-group-vertical > .btn + .btn-group, .btn-group-vertical > .btn-group + .btn, .btn-group-vertical > .btn-group + .btn-group {
- margin-top: -1px;
- margin-left: 0
-}
-
-.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
- border-radius: 0
-}
-
-.btn-group-vertical > .btn:first-child:not(:last-child) {
- border-top-right-radius: 4px;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0
-}
-
-.btn-group-vertical > .btn:last-child:not(:first-child) {
- border-bottom-left-radius: 4px;
- border-top-right-radius: 0;
- border-top-left-radius: 0
-}
-
-.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
- border-radius: 0
-}
-
-.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0
-}
-
-.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
- border-top-right-radius: 0;
- border-top-left-radius: 0
-}
-
-.btn-group-justified {
- display: table;
- width: 100%;
- table-layout: fixed;
- border-collapse: separate
-}
-
-.btn-group-justified > .btn, .btn-group-justified > .btn-group {
- float: none;
- display: table-cell;
- width: 1%
-}
-
-.btn-group-justified > .btn-group .btn {
- width: 100%
-}
-
-[data-toggle=buttons] > .btn > input[type=radio], [data-toggle=buttons] > .btn > input[type=checkbox] {
- display: none
-}
-
-.input-group {
- position: relative;
- display: table;
- border-collapse: separate
-}
-
-.input-group[class*=col-] {
- float: none;
- padding-left: 0;
- padding-right: 0
-}
-
-.input-group .form-control {
- position: relative;
- z-index: 2;
- float: left;
- width: 100%;
- margin-bottom: 0
-}
-
-.input-group-lg > .form-control, .input-group-lg > .input-group-addon, .input-group-lg > .input-group-btn > .btn {
- height: 46px;
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 6px
-}
-
-select.input-group-lg > .form-control, select.input-group-lg > .input-group-addon, select.input-group-lg > .input-group-btn > .btn {
- height: 46px;
- line-height: 46px
-}
-
-textarea.input-group-lg > .form-control, textarea.input-group-lg > .input-group-addon, textarea.input-group-lg > .input-group-btn > .btn, select[multiple].input-group-lg > .form-control, select[multiple].input-group-lg > .input-group-addon, select[multiple].input-group-lg > .input-group-btn > .btn {
- height: auto
-}
-
-.input-group-sm > .form-control, .input-group-sm > .input-group-addon, .input-group-sm > .input-group-btn > .btn {
- height: 30px;
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px
-}
-
-select.input-group-sm > .form-control, select.input-group-sm > .input-group-addon, select.input-group-sm > .input-group-btn > .btn {
- height: 30px;
- line-height: 30px
-}
-
-textarea.input-group-sm > .form-control, textarea.input-group-sm > .input-group-addon, textarea.input-group-sm > .input-group-btn > .btn, select[multiple].input-group-sm > .form-control, select[multiple].input-group-sm > .input-group-addon, select[multiple].input-group-sm > .input-group-btn > .btn {
- height: auto
-}
-
-.input-group-addon, .input-group-btn, .input-group .form-control {
- display: table-cell
-}
-
-.input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child), .input-group .form-control:not(:first-child):not(:last-child) {
- border-radius: 0
-}
-
-.input-group-addon, .input-group-btn {
- width: 1%;
- white-space: nowrap;
- vertical-align: middle
-}
-
-.input-group-addon {
- padding: 6px 12px;
- font-size: 14px;
- font-weight: 400;
- line-height: 1;
- color: #555;
- text-align: center;
- background-color: #eee;
- border: 1px solid #ccc;
- border-radius: 4px
-}
-
-.input-group-addon.input-sm {
- padding: 5px 10px;
- font-size: 12px;
- border-radius: 3px
-}
-
-.input-group-addon.input-lg {
- padding: 10px 16px;
- font-size: 18px;
- border-radius: 6px
-}
-
-.input-group-addon input[type=radio], .input-group-addon input[type=checkbox] {
- margin-top: 0
-}
-
-.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
- border-bottom-right-radius: 0;
- border-top-right-radius: 0
-}
-
-.input-group-addon:first-child {
- border-right: 0
-}
-
-.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
- border-bottom-left-radius: 0;
- border-top-left-radius: 0
-}
-
-.input-group-addon:last-child {
- border-left: 0
-}
-
-.input-group-btn {
- position: relative;
- font-size: 0;
- white-space: nowrap
-}
-
-.input-group-btn > .btn {
- position: relative
-}
-
-.input-group-btn > .btn + .btn {
- margin-left: -1px
-}
-
-.input-group-btn > .btn:hover, .input-group-btn > .btn:focus, .input-group-btn > .btn:active {
- z-index: 2
-}
-
-.input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group {
- margin-right: -1px
-}
-
-.input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group {
- margin-left: -1px
-}
-
-.nav {
- margin-bottom: 0;
- padding-left: 0;
- list-style: none
-}
-
-.nav > li {
- position: relative;
- display: block
-}
-
-.nav > li > a {
- position: relative;
- display: block;
- padding: 10px 15px
-}
-
-.nav > li > a:hover, .nav > li > a:focus {
- text-decoration: none;
- background-color: #eee
-}
-
-.nav > li.disabled > a {
- color: #999
-}
-
-.nav > li.disabled > a:hover, .nav > li.disabled > a:focus {
- color: #999;
- text-decoration: none;
- background-color: transparent;
- cursor: not-allowed
-}
-
-.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
- background-color: #eee;
- border-color: #428bca
-}
-
-.nav .nav-divider {
- height: 1px;
- margin: 9px 0;
- overflow: hidden;
- background-color: #e5e5e5
-}
-
-.nav > li > a > img {
- max-width: none
-}
-
-.nav-tabs {
- border-bottom: 1px solid #ddd
-}
-
-.nav-tabs > li {
- float: left;
- margin-bottom: -1px
-}
-
-.nav-tabs > li > a {
- margin-right: 2px;
- line-height: 1.42857143;
- border: 1px solid transparent;
- border-radius: 4px 4px 0 0
-}
-
-.nav-tabs > li > a:hover {
- border-color: #eee #eee #ddd
-}
-
-.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
- color: #555;
- background-color: #fff;
- border: 1px solid #ddd;
- border-bottom-color: transparent;
- cursor: default
-}
-
-.nav-tabs.nav-justified {
- width: 100%;
- border-bottom: 0
-}
-
-.nav-tabs.nav-justified > li {
- float: none
-}
-
-.nav-tabs.nav-justified > li > a {
- text-align: center;
- margin-bottom: 5px
-}
-
-.nav-tabs.nav-justified > .dropdown .dropdown-menu {
- top: auto;
- left: auto
-}
-
-@media (min-width: 768px) {
- .nav-tabs.nav-justified > li {
- display: table-cell;
- width: 1%
- }
-
- .nav-tabs.nav-justified > li > a {
- margin-bottom: 0
- }
-}
-
-.nav-tabs.nav-justified > li > a {
- margin-right: 0;
- border-radius: 4px
-}
-
-.nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus {
- border: 1px solid #ddd
-}
-
-@media (min-width: 768px) {
- .nav-tabs.nav-justified > li > a {
- border-bottom: 1px solid #ddd;
- border-radius: 4px 4px 0 0
- }
-
- .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus {
- border-bottom-color: #fff
- }
-}
-
-.nav-pills > li {
- float: left
-}
-
-.nav-pills > li > a {
- border-radius: 4px
-}
-
-.nav-pills > li + li {
- margin-left: 2px
-}
-
-.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
- color: #fff;
- background-color: #428bca
-}
-
-.nav-stacked > li {
- float: none
-}
-
-.nav-stacked > li + li {
- margin-top: 2px;
- margin-left: 0
-}
-
-.nav-justified {
- width: 100%
-}
-
-.nav-justified > li {
- float: none
-}
-
-.nav-justified > li > a {
- text-align: center;
- margin-bottom: 5px
-}
-
-.nav-justified > .dropdown .dropdown-menu {
- top: auto;
- left: auto
-}
-
-@media (min-width: 768px) {
- .nav-justified > li {
- display: table-cell;
- width: 1%
- }
-
- .nav-justified > li > a {
- margin-bottom: 0
- }
-}
-
-.nav-tabs-justified {
- border-bottom: 0
-}
-
-.nav-tabs-justified > li > a {
- margin-right: 0;
- border-radius: 4px
-}
-
-.nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus {
- border: 1px solid #ddd
-}
-
-@media (min-width: 768px) {
- .nav-tabs-justified > li > a {
- border-bottom: 1px solid #ddd;
- border-radius: 4px 4px 0 0
- }
-
- .nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus {
- border-bottom-color: #fff
- }
-}
-
-.tab-content > .tab-pane {
- display: none
-}
-
-.tab-content > .active {
- display: block
-}
-
-.nav-tabs .dropdown-menu {
- margin-top: -1px;
- border-top-right-radius: 0;
- border-top-left-radius: 0
-}
-
-.navbar {
- position: relative;
- min-height: 50px;
- margin-bottom: 20px;
- border: 1px solid transparent
-}
-
-@media (min-width: 768px) {
- .navbar {
- border-radius: 4px
- }
-}
-
-@media (min-width: 768px) {
- .navbar-header {
- float: left
- }
-}
-
-.navbar-collapse {
- max-height: 340px;
- overflow-x: visible;
- padding-right: 15px;
- padding-left: 15px;
- border-top: 1px solid transparent;
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
- -webkit-overflow-scrolling: touch
-}
-
-.navbar-collapse.in {
- overflow-y: auto
-}
-
-@media (min-width: 768px) {
- .navbar-collapse {
- width: auto;
- border-top: 0;
- box-shadow: none
- }
-
- .navbar-collapse.collapse {
- display: block !important;
- height: auto !important;
- padding-bottom: 0;
- overflow: visible !important
- }
-
- .navbar-collapse.in {
- overflow-y: visible
- }
-
- .navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
- padding-left: 0;
- padding-right: 0
- }
-}
-
-.container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
- margin-right: -15px;
- margin-left: -15px
-}
-
-@media (min-width: 768px) {
- .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
- margin-right: 0;
- margin-left: 0
- }
-}
-
-.navbar-static-top {
- z-index: 1000;
- border-width: 0 0 1px
-}
-
-@media (min-width: 768px) {
- .navbar-static-top {
- border-radius: 0
- }
-}
-
-.navbar-fixed-top, .navbar-fixed-bottom {
- position: fixed;
- right: 0;
- left: 0;
- z-index: 1030
-}
-
-@media (min-width: 768px) {
- .navbar-fixed-top, .navbar-fixed-bottom {
- border-radius: 0
- }
-}
-
-.navbar-fixed-top {
- top: 0;
- border-width: 0 0 1px
-}
-
-.navbar-fixed-bottom {
- bottom: 0;
- margin-bottom: 0;
- border-width: 1px 0 0
-}
-
-.navbar-brand {
- float: left;
- padding: 15px;
- font-size: 18px;
- line-height: 20px;
- height: 50px
-}
-
-.navbar-brand:hover, .navbar-brand:focus {
- text-decoration: none
-}
-
-@media (min-width: 768px) {
- .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
- margin-left: -15px
- }
-}
-
-.navbar-toggle {
- position: relative;
- float: right;
- margin-right: 15px;
- padding: 9px 10px;
- margin-top: 8px;
- margin-bottom: 8px;
- background-color: transparent;
- background-image: none;
- border: 1px solid transparent;
- border-radius: 4px
-}
-
-.navbar-toggle:focus {
- outline: 0
-}
-
-.navbar-toggle .icon-bar {
- display: block;
- width: 22px;
- height: 2px;
- border-radius: 1px
-}
-
-.navbar-toggle .icon-bar + .icon-bar {
- margin-top: 4px
-}
-
-@media (min-width: 768px) {
- .navbar-toggle {
- display: none
- }
-}
-
-.navbar-nav {
- margin: 7.5px -15px
-}
-
-.navbar-nav > li > a {
- padding-top: 10px;
- padding-bottom: 10px;
- line-height: 20px
-}
-
-@media (max-width: 767px) {
- .navbar-nav .open .dropdown-menu {
- position: static;
- float: none;
- width: auto;
- margin-top: 0;
- background-color: transparent;
- border: 0;
- box-shadow: none
- }
-
- .navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header {
- padding: 5px 15px 5px 25px
- }
-
- .navbar-nav .open .dropdown-menu > li > a {
- line-height: 20px
- }
-
- .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus {
- background-image: none
- }
-}
-
-@media (min-width: 768px) {
- .navbar-nav {
- float: left;
- margin: 0
- }
-
- .navbar-nav > li {
- float: left
- }
-
- .navbar-nav > li > a {
- padding-top: 15px;
- padding-bottom: 15px
- }
-
- .navbar-nav.navbar-right:last-child {
- margin-right: -15px
- }
-}
-
-@media (min-width: 768px) {
- .navbar-left {
- float: left !important
- }
-
- .navbar-right {
- float: right !important
- }
-}
-
-.navbar-form {
- margin-left: -15px;
- margin-right: -15px;
- padding: 10px 15px;
- border-top: 1px solid transparent;
- border-bottom: 1px solid transparent;
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
- margin-top: 8px;
- margin-bottom: 8px
-}
-
-@media (min-width: 768px) {
- .navbar-form .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle
- }
-
- .navbar-form .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle
- }
-
- .navbar-form .input-group > .form-control {
- width: 100%
- }
-
- .navbar-form .control-label {
- margin-bottom: 0;
- vertical-align: middle
- }
-
- .navbar-form .radio, .navbar-form .checkbox {
- display: inline-block;
- margin-top: 0;
- margin-bottom: 0;
- padding-left: 0;
- vertical-align: middle
- }
-
- .navbar-form .radio input[type=radio], .navbar-form .checkbox input[type=checkbox] {
- float: none;
- margin-left: 0
- }
-
- .navbar-form .has-feedback .form-control-feedback {
- top: 0
- }
-}
-
-@media (max-width: 767px) {
- .navbar-form .form-group {
- margin-bottom: 5px
- }
-}
-
-@media (min-width: 768px) {
- .navbar-form {
- width: auto;
- border: 0;
- margin-left: 0;
- margin-right: 0;
- padding-top: 0;
- padding-bottom: 0;
- -webkit-box-shadow: none;
- box-shadow: none
- }
-
- .navbar-form.navbar-right:last-child {
- margin-right: -15px
- }
-}
-
-.navbar-nav > li > .dropdown-menu {
- margin-top: 0;
- border-top-right-radius: 0;
- border-top-left-radius: 0
-}
-
-.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0
-}
-
-.navbar-btn {
- margin-top: 8px;
- margin-bottom: 8px
-}
-
-.navbar-btn.btn-sm {
- margin-top: 10px;
- margin-bottom: 10px
-}
-
-.navbar-btn.btn-xs {
- margin-top: 14px;
- margin-bottom: 14px
-}
-
-.navbar-text {
- margin-top: 15px;
- margin-bottom: 15px
-}
-
-@media (min-width: 768px) {
- .navbar-text {
- float: left;
- margin-left: 15px;
- margin-right: 15px
- }
-
- .navbar-text.navbar-right:last-child {
- margin-right: 0
- }
-}
-
-.navbar-default {
- background-color: #f8f8f8;
- border-color: #e7e7e7
-}
-
-.navbar-default .navbar-brand {
- color: #777
-}
-
-.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
- color: #5e5e5e;
- background-color: transparent
-}
-
-.navbar-default .navbar-text {
- color: #777
-}
-
-.navbar-default .navbar-nav > li > a {
- color: #777
-}
-
-.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
- color: #333;
- background-color: transparent
-}
-
-.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
- color: #555;
- background-color: #e7e7e7
-}
-
-.navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus {
- color: #ccc;
- background-color: transparent
-}
-
-.navbar-default .navbar-toggle {
- border-color: #ddd
-}
-
-.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
- background-color: #ddd
-}
-
-.navbar-default .navbar-toggle .icon-bar {
- background-color: #888
-}
-
-.navbar-default .navbar-collapse, .navbar-default .navbar-form {
- border-color: #e7e7e7
-}
-
-.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
- background-color: #e7e7e7;
- color: #555
-}
-
-@media (max-width: 767px) {
- .navbar-default .navbar-nav .open .dropdown-menu > li > a {
- color: #777
- }
-
- .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #333;
- background-color: transparent
- }
-
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
- color: #555;
- background-color: #e7e7e7
- }
-
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
- color: #ccc;
- background-color: transparent
- }
-}
-
-.navbar-default .navbar-link {
- color: #777
-}
-
-.navbar-default .navbar-link:hover {
- color: #333
-}
-
-.navbar-inverse {
- background-color: #222;
- border-color: #080808
-}
-
-.navbar-inverse .navbar-brand {
- color: #999
-}
-
-.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {
- color: #fff;
- background-color: transparent
-}
-
-.navbar-inverse .navbar-text {
- color: #999
-}
-
-.navbar-inverse .navbar-nav > li > a {
- color: #999
-}
-
-.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
- color: #fff;
- background-color: transparent
-}
-
-.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
- color: #fff;
- background-color: #080808
-}
-
-.navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus {
- color: #444;
- background-color: transparent
-}
-
-.navbar-inverse .navbar-toggle {
- border-color: #333
-}
-
-.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
- background-color: #333
-}
-
-.navbar-inverse .navbar-toggle .icon-bar {
- background-color: #fff
-}
-
-.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
- border-color: #101010
-}
-
-.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
- background-color: #080808;
- color: #fff
-}
-
-@media (max-width: 767px) {
- .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
- border-color: #080808
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
- background-color: #080808
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
- color: #999
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #fff;
- background-color: transparent
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
- color: #fff;
- background-color: #080808
- }
-
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
- color: #444;
- background-color: transparent
- }
-}
-
-.navbar-inverse .navbar-link {
- color: #999
-}
-
-.navbar-inverse .navbar-link:hover {
- color: #fff
-}
-
-.breadcrumb {
- padding: 8px 15px;
- margin-bottom: 20px;
- list-style: none;
- background-color: #f5f5f5;
- border-radius: 4px
-}
-
-.breadcrumb > li {
- display: inline-block
-}
-
-.breadcrumb > li + li:before {
- content: "/\00a0";
- padding: 0 5px;
- color: #ccc
-}
-
-.breadcrumb > .active {
- color: #999
-}
-
-.pagination {
- display: inline-block;
- padding-left: 0;
- margin: 20px 0;
- border-radius: 4px
-}
-
-.pagination > li {
- display: inline
-}
-
-.pagination > li > a, .pagination > li > span {
- position: relative;
- float: left;
- padding: 6px 12px;
- line-height: 1.42857143;
- text-decoration: none;
- color: #428bca;
- background-color: #fff;
- border: 1px solid #ddd;
- margin-left: -1px
-}
-
-.pagination > li:first-child > a, .pagination > li:first-child > span {
- margin-left: 0;
- border-bottom-left-radius: 4px;
- border-top-left-radius: 4px
-}
-
-.pagination > li:last-child > a, .pagination > li:last-child > span {
- border-bottom-right-radius: 4px;
- border-top-right-radius: 4px
-}
-
-.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
- color: #2a6496;
- background-color: #eee;
- border-color: #ddd
-}
-
-.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
- z-index: 2;
- color: #fff;
- background-color: #428bca;
- border-color: #428bca;
- cursor: default
-}
-
-.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
- color: #999;
- background-color: #fff;
- border-color: #ddd;
- cursor: not-allowed
-}
-
-.pagination-lg > li > a, .pagination-lg > li > span {
- padding: 10px 16px;
- font-size: 18px
-}
-
-.pagination-lg > li:first-child > a, .pagination-lg > li:first-child > span {
- border-bottom-left-radius: 6px;
- border-top-left-radius: 6px
-}
-
-.pagination-lg > li:last-child > a, .pagination-lg > li:last-child > span {
- border-bottom-right-radius: 6px;
- border-top-right-radius: 6px
-}
-
-.pagination-sm > li > a, .pagination-sm > li > span {
- padding: 5px 10px;
- font-size: 12px
-}
-
-.pagination-sm > li:first-child > a, .pagination-sm > li:first-child > span {
- border-bottom-left-radius: 3px;
- border-top-left-radius: 3px
-}
-
-.pagination-sm > li:last-child > a, .pagination-sm > li:last-child > span {
- border-bottom-right-radius: 3px;
- border-top-right-radius: 3px
-}
-
-.pager {
- padding-left: 0;
- margin: 20px 0;
- list-style: none;
- text-align: center
-}
-
-.pager li {
- display: inline
-}
-
-.pager li > a, .pager li > span {
- display: inline-block;
- padding: 5px 14px;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 15px
-}
-
-.pager li > a:hover, .pager li > a:focus {
- text-decoration: none;
- background-color: #eee
-}
-
-.pager .next > a, .pager .next > span {
- float: right
-}
-
-.pager .previous > a, .pager .previous > span {
- float: left
-}
-
-.pager .disabled > a, .pager .disabled > a:hover, .pager .disabled > a:focus, .pager .disabled > span {
- color: #999;
- background-color: #fff;
- cursor: not-allowed
-}
-
-.label {
- display: inline;
- padding: .2em .6em .3em;
- font-size: 75%;
- font-weight: 700;
- line-height: 1;
- color: #fff;
- text-align: center;
- white-space: nowrap;
- vertical-align: baseline;
- border-radius: .25em
-}
-
-.label[href]:hover, .label[href]:focus {
- color: #fff;
- text-decoration: none;
- cursor: pointer
-}
-
-.label:empty {
- display: none
-}
-
-.btn .label {
- position: relative;
- top: -1px
-}
-
-.label-default {
- background-color: #999
-}
-
-.label-default[href]:hover, .label-default[href]:focus {
- background-color: gray
-}
-
-.label-primary {
- background-color: #428bca
-}
-
-.label-primary[href]:hover, .label-primary[href]:focus {
- background-color: #3071a9
-}
-
-.label-success {
- background-color: #5cb85c
-}
-
-.label-success[href]:hover, .label-success[href]:focus {
- background-color: #449d44
-}
-
-.label-info {
- background-color: #5bc0de
-}
-
-.label-info[href]:hover, .label-info[href]:focus {
- background-color: #31b0d5
-}
-
-.label-warning {
- background-color: #f0ad4e
-}
-
-.label-warning[href]:hover, .label-warning[href]:focus {
- background-color: #ec971f
-}
-
-.label-danger {
- background-color: #d9534f
-}
-
-.label-danger[href]:hover, .label-danger[href]:focus {
- background-color: #c9302c
-}
-
-.badge {
- display: inline-block;
- min-width: 10px;
- padding: 3px 7px;
- font-size: 12px;
- font-weight: 700;
- color: #fff;
- line-height: 1;
- vertical-align: baseline;
- white-space: nowrap;
- text-align: center;
- background-color: #999;
- border-radius: 10px
-}
-
-.badge:empty {
- display: none
-}
-
-.btn .badge {
- position: relative;
- top: -1px
-}
-
-.btn-xs .badge {
- top: 0;
- padding: 1px 5px
-}
-
-a.badge:hover, a.badge:focus {
- color: #fff;
- text-decoration: none;
- cursor: pointer
-}
-
-a.list-group-item.active > .badge, .nav-pills > .active > a > .badge {
- color: #428bca;
- background-color: #fff
-}
-
-.nav-pills > li > a > .badge {
- margin-left: 3px
-}
-
-.jumbotron {
- padding: 30px;
- margin-bottom: 30px;
- color: inherit;
- background-color: #eee
-}
-
-.jumbotron h1, .jumbotron .h1 {
- color: inherit
-}
-
-.jumbotron p {
- margin-bottom: 15px;
- font-size: 21px;
- font-weight: 200
-}
-
-.container .jumbotron {
- border-radius: 6px
-}
-
-.jumbotron .container {
- max-width: 100%
-}
-
-@media screen and (min-width: 768px) {
- .jumbotron {
- padding-top: 48px;
- padding-bottom: 48px
- }
-
- .container .jumbotron {
- padding-left: 60px;
- padding-right: 60px
- }
-
- .jumbotron h1, .jumbotron .h1 {
- font-size: 63px
- }
-}
-
-.thumbnail {
- display: block;
- padding: 4px;
- margin-bottom: 20px;
- line-height: 1.42857143;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 4px;
- -webkit-transition: all .2s ease-in-out;
- transition: all .2s ease-in-out
-}
-
-.thumbnail > img, .thumbnail a > img {
- margin-left: auto;
- margin-right: auto
-}
-
-a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active {
- border-color: #428bca
-}
-
-.thumbnail .caption {
- padding: 9px;
- color: #333
-}
-
-.alert {
- padding: 15px;
- margin-bottom: 20px;
- border: 1px solid transparent;
- border-radius: 4px
-}
-
-.alert h4 {
- margin-top: 0;
- color: inherit
-}
-
-.alert .alert-link {
- font-weight: 700
-}
-
-.alert > p, .alert > ul {
- margin-bottom: 0
-}
-
-.alert > p + p {
- margin-top: 5px
-}
-
-.alert-dismissable {
- padding-right: 35px
-}
-
-.alert-dismissable .close {
- position: relative;
- top: -2px;
- right: -21px;
- color: inherit
-}
-
-.alert-success {
- background-color: #dff0d8;
- border-color: #d6e9c6;
- color: #3c763d
-}
-
-.alert-success hr {
- border-top-color: #c9e2b3
-}
-
-.alert-success .alert-link {
- color: #2b542c
-}
-
-.alert-info {
- background-color: #d9edf7;
- border-color: #bce8f1;
- color: #31708f
-}
-
-.alert-info hr {
- border-top-color: #a6e1ec
-}
-
-.alert-info .alert-link {
- color: #245269
-}
-
-.alert-warning {
- background-color: #fcf8e3;
- border-color: #faebcc;
- color: #8a6d3b
-}
-
-.alert-warning hr {
- border-top-color: #f7e1b5
-}
-
-.alert-warning .alert-link {
- color: #66512c
-}
-
-.alert-danger {
- background-color: #f2dede;
- border-color: #ebccd1;
- color: #a94442
-}
-
-.alert-danger hr {
- border-top-color: #e4b9c0
-}
-
-.alert-danger .alert-link {
- color: #843534
-}
-
-@-webkit-keyframes progress-bar-stripes {
- from {
- background-position: 40px 0
- }
- to {
- background-position: 0 0
- }
-}
-
-@keyframes progress-bar-stripes {
- from {
- background-position: 40px 0
- }
- to {
- background-position: 0 0
- }
-}
-
-.progress {
- overflow: hidden;
- height: 20px;
- margin-bottom: 20px;
- background-color: #f5f5f5;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1)
-}
-
-.progress-bar {
- float: left;
- width: 0;
- height: 100%;
- font-size: 12px;
- line-height: 20px;
- color: #fff;
- text-align: center;
- background-color: #428bca;
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
- -webkit-transition: width .6s ease;
- transition: width .6s ease
-}
-
-.progress-striped .progress-bar {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-size: 40px 40px
-}
-
-.progress.active .progress-bar {
- -webkit-animation: progress-bar-stripes 2s linear infinite;
- animation: progress-bar-stripes 2s linear infinite
-}
-
-.progress-bar-success {
- background-color: #5cb85c
-}
-
-.progress-striped .progress-bar-success {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent)
-}
-
-.progress-bar-info {
- background-color: #5bc0de
-}
-
-.progress-striped .progress-bar-info {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent)
-}
-
-.progress-bar-warning {
- background-color: #f0ad4e
-}
-
-.progress-striped .progress-bar-warning {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent)
-}
-
-.progress-bar-danger {
- background-color: #d9534f
-}
-
-.progress-striped .progress-bar-danger {
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent)
-}
-
-.media, .media-body {
- overflow: hidden;
- zoom: 1
-}
-
-.media, .media .media {
- margin-top: 15px
-}
-
-.media:first-child {
- margin-top: 0
-}
-
-.media-object {
- display: block
-}
-
-.media-heading {
- margin: 0 0 5px
-}
-
-.media > .pull-left {
- margin-right: 10px
-}
-
-.media > .pull-right {
- margin-left: 10px
-}
-
-.media-list {
- padding-left: 0;
- list-style: none
-}
-
-.list-group {
- margin-bottom: 20px;
- padding-left: 0
-}
-
-.list-group-item {
- position: relative;
- display: block;
- padding: 10px 15px;
- margin-bottom: -1px;
- background-color: #fff;
- border: 1px solid #ddd
-}
-
-.list-group-item:first-child {
- border-top-right-radius: 4px;
- border-top-left-radius: 4px
-}
-
-.list-group-item:last-child {
- margin-bottom: 0;
- border-bottom-right-radius: 4px;
- border-bottom-left-radius: 4px
-}
-
-.list-group-item > .badge {
- float: right
-}
-
-.list-group-item > .badge + .badge {
- margin-right: 5px
-}
-
-a.list-group-item {
- color: #555
-}
-
-a.list-group-item .list-group-item-heading {
- color: #333
-}
-
-a.list-group-item:hover, a.list-group-item:focus {
- text-decoration: none;
- background-color: #f5f5f5
-}
-
-a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus {
- z-index: 2;
- color: #fff;
- background-color: #428bca;
- border-color: #428bca
-}
-
-a.list-group-item.active .list-group-item-heading, a.list-group-item.active:hover .list-group-item-heading, a.list-group-item.active:focus .list-group-item-heading {
- color: inherit
-}
-
-a.list-group-item.active .list-group-item-text, a.list-group-item.active:hover .list-group-item-text, a.list-group-item.active:focus .list-group-item-text {
- color: #e1edf7
-}
-
-.list-group-item-success {
- color: #3c763d;
- background-color: #dff0d8
-}
-
-a.list-group-item-success {
- color: #3c763d
-}
-
-a.list-group-item-success .list-group-item-heading {
- color: inherit
-}
-
-a.list-group-item-success:hover, a.list-group-item-success:focus {
- color: #3c763d;
- background-color: #d0e9c6
-}
-
-a.list-group-item-success.active, a.list-group-item-success.active:hover, a.list-group-item-success.active:focus {
- color: #fff;
- background-color: #3c763d;
- border-color: #3c763d
-}
-
-.list-group-item-info {
- color: #31708f;
- background-color: #d9edf7
-}
-
-a.list-group-item-info {
- color: #31708f
-}
-
-a.list-group-item-info .list-group-item-heading {
- color: inherit
-}
-
-a.list-group-item-info:hover, a.list-group-item-info:focus {
- color: #31708f;
- background-color: #c4e3f3
-}
-
-a.list-group-item-info.active, a.list-group-item-info.active:hover, a.list-group-item-info.active:focus {
- color: #fff;
- background-color: #31708f;
- border-color: #31708f
-}
-
-.list-group-item-warning {
- color: #8a6d3b;
- background-color: #fcf8e3
-}
-
-a.list-group-item-warning {
- color: #8a6d3b
-}
-
-a.list-group-item-warning .list-group-item-heading {
- color: inherit
-}
-
-a.list-group-item-warning:hover, a.list-group-item-warning:focus {
- color: #8a6d3b;
- background-color: #faf2cc
-}
-
-a.list-group-item-warning.active, a.list-group-item-warning.active:hover, a.list-group-item-warning.active:focus {
- color: #fff;
- background-color: #8a6d3b;
- border-color: #8a6d3b
-}
-
-.list-group-item-danger {
- color: #a94442;
- background-color: #f2dede
-}
-
-a.list-group-item-danger {
- color: #a94442
-}
-
-a.list-group-item-danger .list-group-item-heading {
- color: inherit
-}
-
-a.list-group-item-danger:hover, a.list-group-item-danger:focus {
- color: #a94442;
- background-color: #ebcccc
-}
-
-a.list-group-item-danger.active, a.list-group-item-danger.active:hover, a.list-group-item-danger.active:focus {
- color: #fff;
- background-color: #a94442;
- border-color: #a94442
-}
-
-.list-group-item-heading {
- margin-top: 0;
- margin-bottom: 5px
-}
-
-.list-group-item-text {
- margin-bottom: 0;
- line-height: 1.3
-}
-
-.panel {
- margin-bottom: 20px;
- background-color: #fff;
- border: 1px solid transparent;
- border-radius: 4px;
- -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
- box-shadow: 0 1px 1px rgba(0, 0, 0, .05)
-}
-
-.panel-body {
- padding: 15px
-}
-
-.panel-heading {
- padding: 10px 15px;
- border-bottom: 1px solid transparent;
- border-top-right-radius: 3px;
- border-top-left-radius: 3px
-}
-
-.panel-heading > .dropdown .dropdown-toggle {
- color: inherit
-}
-
-.panel-title {
- margin-top: 0;
- margin-bottom: 0;
- font-size: 16px;
- color: inherit
-}
-
-.panel-title > a {
- color: inherit
-}
-
-.panel-footer {
- padding: 10px 15px;
- background-color: #f5f5f5;
- border-top: 1px solid #ddd;
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px
-}
-
-.panel > .list-group {
- margin-bottom: 0
-}
-
-.panel > .list-group .list-group-item {
- border-width: 1px 0;
- border-radius: 0
-}
-
-.panel > .list-group:first-child .list-group-item:first-child {
- border-top: 0;
- border-top-right-radius: 3px;
- border-top-left-radius: 3px
-}
-
-.panel > .list-group:last-child .list-group-item:last-child {
- border-bottom: 0;
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px
-}
-
-.panel-heading + .list-group .list-group-item:first-child {
- border-top-width: 0
-}
-
-.panel > .table, .panel > .table-responsive > .table {
- margin-bottom: 0
-}
-
-.panel > .table:first-child, .panel > .table-responsive:first-child > .table:first-child {
- border-top-right-radius: 3px;
- border-top-left-radius: 3px
-}
-
-.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
- border-top-left-radius: 3px
-}
-
-.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
- border-top-right-radius: 3px
-}
-
-.panel > .table:last-child, .panel > .table-responsive:last-child > .table:last-child {
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px
-}
-
-.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
- border-bottom-left-radius: 3px
-}
-
-.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
- border-bottom-right-radius: 3px
-}
-
-.panel > .panel-body + .table, .panel > .panel-body + .table-responsive {
- border-top: 1px solid #ddd
-}
-
-.panel > .table > tbody:first-child > tr:first-child th, .panel > .table > tbody:first-child > tr:first-child td {
- border-top: 0
-}
-
-.panel > .table-bordered, .panel > .table-responsive > .table-bordered {
- border: 0
-}
-
-.panel > .table-bordered > thead > tr > th:first-child, .panel > .table-responsive > .table-bordered > thead > tr > th:first-child, .panel > .table-bordered > tbody > tr > th:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, .panel > .table-bordered > tfoot > tr > th:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, .panel > .table-bordered > thead > tr > td:first-child, .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, .panel > .table-bordered > tbody > tr > td:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, .panel > .table-bordered > tfoot > tr > td:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0
-}
-
-.panel > .table-bordered > thead > tr > th:last-child, .panel > .table-responsive > .table-bordered > thead > tr > th:last-child, .panel > .table-bordered > tbody > tr > th:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, .panel > .table-bordered > tfoot > tr > th:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, .panel > .table-bordered > thead > tr > td:last-child, .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, .panel > .table-bordered > tbody > tr > td:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, .panel > .table-bordered > tfoot > tr > td:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0
-}
-
-.panel > .table-bordered > thead > tr:first-child > td, .panel > .table-responsive > .table-bordered > thead > tr:first-child > td, .panel > .table-bordered > tbody > tr:first-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, .panel > .table-bordered > thead > tr:first-child > th, .panel > .table-responsive > .table-bordered > thead > tr:first-child > th, .panel > .table-bordered > tbody > tr:first-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
- border-bottom: 0
-}
-
-.panel > .table-bordered > tbody > tr:last-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, .panel > .table-bordered > tfoot > tr:last-child > td, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, .panel > .table-bordered > tbody > tr:last-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, .panel > .table-bordered > tfoot > tr:last-child > th, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
- border-bottom: 0
-}
-
-.panel > .table-responsive {
- border: 0;
- margin-bottom: 0
-}
-
-.panel-group {
- margin-bottom: 20px
-}
-
-.panel-group .panel {
- margin-bottom: 0;
- border-radius: 4px;
- overflow: hidden
-}
-
-.panel-group .panel + .panel {
- margin-top: 5px
-}
-
-.panel-group .panel-heading {
- border-bottom: 0
-}
-
-.panel-group .panel-heading + .panel-collapse .panel-body {
- border-top: 1px solid #ddd
-}
-
-.panel-group .panel-footer {
- border-top: 0
-}
-
-.panel-group .panel-footer + .panel-collapse .panel-body {
- border-bottom: 1px solid #ddd
-}
-
-.panel-default {
- border-color: #ddd
-}
-
-.panel-default > .panel-heading {
- color: #333;
- background-color: #f5f5f5;
- border-color: #ddd
-}
-
-.panel-default > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #ddd
-}
-
-.panel-default > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #ddd
-}
-
-.panel-primary {
- border-color: #428bca
-}
-
-.panel-primary > .panel-heading {
- color: #fff;
- background-color: #428bca;
- border-color: #428bca
-}
-
-.panel-primary > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #428bca
-}
-
-.panel-primary > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #428bca
-}
-
-.panel-success {
- border-color: #d6e9c6
-}
-
-.panel-success > .panel-heading {
- color: #3c763d;
- background-color: #dff0d8;
- border-color: #d6e9c6
-}
-
-.panel-success > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #d6e9c6
-}
-
-.panel-success > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #d6e9c6
-}
-
-.panel-info {
- border-color: #bce8f1
-}
-
-.panel-info > .panel-heading {
- color: #31708f;
- background-color: #d9edf7;
- border-color: #bce8f1
-}
-
-.panel-info > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #bce8f1
-}
-
-.panel-info > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #bce8f1
-}
-
-.panel-warning {
- border-color: #faebcc
-}
-
-.panel-warning > .panel-heading {
- color: #8a6d3b;
- background-color: #fcf8e3;
- border-color: #faebcc
-}
-
-.panel-warning > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #faebcc
-}
-
-.panel-warning > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #faebcc
-}
-
-.panel-danger {
- border-color: #ebccd1
-}
-
-.panel-danger > .panel-heading {
- color: #a94442;
- background-color: #f2dede;
- border-color: #ebccd1
-}
-
-.panel-danger > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #ebccd1
-}
-
-.panel-danger > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #ebccd1
-}
-
-.well {
- min-height: 20px;
- padding: 19px;
- margin-bottom: 20px;
- background-color: #f5f5f5;
- border: 1px solid #e3e3e3;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05)
-}
-
-.well blockquote {
- border-color: #ddd;
- border-color: rgba(0, 0, 0, .15)
-}
-
-.well-lg {
- padding: 24px;
- border-radius: 6px
-}
-
-.well-sm {
- padding: 9px;
- border-radius: 3px
-}
-
-.close {
- float: right;
- font-size: 21px;
- font-weight: 700;
- line-height: 1;
- color: #000;
- text-shadow: 0 1px 0 #fff;
- opacity: .2;
- filter: alpha(opacity=20)
-}
-
-.close:hover, .close:focus {
- color: #000;
- text-decoration: none;
- cursor: pointer;
- opacity: .5;
- filter: alpha(opacity=50)
-}
-
-button.close {
- padding: 0;
- cursor: pointer;
- background: 0 0;
- border: 0;
- -webkit-appearance: none
-}
-
-.modal-open {
- overflow: hidden
-}
-
-.modal {
- display: none;
- overflow: auto;
- overflow-y: scroll;
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1050;
- -webkit-overflow-scrolling: touch;
- outline: 0
-}
-
-.modal.fade .modal-dialog {
- -webkit-transform: translate(0, -25%);
- -ms-transform: translate(0, -25%);
- transform: translate(0, -25%);
- -webkit-transition: -webkit-transform .3s ease-out;
- -moz-transition: -moz-transform .3s ease-out;
- -o-transition: -o-transform .3s ease-out;
- transition: transform .3s ease-out
-}
-
-.modal.in .modal-dialog {
- -webkit-transform: translate(0, 0);
- -ms-transform: translate(0, 0);
- transform: translate(0, 0)
-}
-
-.modal-dialog {
- position: relative;
- width: auto;
- margin: 10px
-}
-
-.modal-content {
- position: relative;
- background-color: #fff;
- border: 1px solid #999;
- border: 1px solid rgba(0, 0, 0, .2);
- border-radius: 6px;
- -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
- box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
- background-clip: padding-box;
- outline: 0
-}
-
-.modal-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1040;
- background-color: #000
-}
-
-.modal-backdrop.fade {
- opacity: 0;
- filter: alpha(opacity=0)
-}
-
-.modal-backdrop.in {
- opacity: .5;
- filter: alpha(opacity=50)
-}
-
-.modal-header {
- padding: 15px;
- border-bottom: 1px solid #e5e5e5;
- min-height: 16.42857143px
-}
-
-.modal-header .close {
- margin-top: -2px
-}
-
-.modal-title {
- margin: 0;
- line-height: 1.42857143
-}
-
-.modal-body {
- position: relative;
- padding: 20px
-}
-
-.modal-footer {
- margin-top: 15px;
- padding: 19px 20px 20px;
- text-align: right;
- border-top: 1px solid #e5e5e5
-}
-
-.modal-footer .btn + .btn {
- margin-left: 5px;
- margin-bottom: 0
-}
-
-.modal-footer .btn-group .btn + .btn {
- margin-left: -1px
-}
-
-.modal-footer .btn-block + .btn-block {
- margin-left: 0
-}
-
-@media (min-width: 768px) {
- .modal-dialog {
- width: 600px;
- margin: 30px auto
- }
-
- .modal-content {
- -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
- box-shadow: 0 5px 15px rgba(0, 0, 0, .5)
- }
-
- .modal-sm {
- width: 300px
- }
-}
-
-@media (min-width: 992px) {
- .modal-lg {
- width: 900px
- }
-}
-
-.tooltip {
- position: absolute;
- z-index: 1030;
- display: block;
- visibility: visible;
- font-size: 12px;
- line-height: 1.4;
- opacity: 0;
- filter: alpha(opacity=0)
-}
-
-.tooltip.in {
- opacity: .9;
- filter: alpha(opacity=90)
-}
-
-.tooltip.top {
- margin-top: -3px;
- padding: 5px 0
-}
-
-.tooltip.right {
- margin-left: 3px;
- padding: 0 5px
-}
-
-.tooltip.bottom {
- margin-top: 3px;
- padding: 5px 0
-}
-
-.tooltip.left {
- margin-left: -3px;
- padding: 0 5px
-}
-
-.tooltip-inner {
- max-width: 200px;
- padding: 3px 8px;
- color: #fff;
- text-align: center;
- text-decoration: none;
- background-color: #000;
- border-radius: 4px
-}
-
-.tooltip-arrow {
- position: absolute;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid
-}
-
-.tooltip.top .tooltip-arrow {
- bottom: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 5px 5px 0;
- border-top-color: #000
-}
-
-.tooltip.top-left .tooltip-arrow {
- bottom: 0;
- left: 5px;
- border-width: 5px 5px 0;
- border-top-color: #000
-}
-
-.tooltip.top-right .tooltip-arrow {
- bottom: 0;
- right: 5px;
- border-width: 5px 5px 0;
- border-top-color: #000
-}
-
-.tooltip.right .tooltip-arrow {
- top: 50%;
- left: 0;
- margin-top: -5px;
- border-width: 5px 5px 5px 0;
- border-right-color: #000
-}
-
-.tooltip.left .tooltip-arrow {
- top: 50%;
- right: 0;
- margin-top: -5px;
- border-width: 5px 0 5px 5px;
- border-left-color: #000
-}
-
-.tooltip.bottom .tooltip-arrow {
- top: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000
-}
-
-.tooltip.bottom-left .tooltip-arrow {
- top: 0;
- left: 5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000
-}
-
-.tooltip.bottom-right .tooltip-arrow {
- top: 0;
- right: 5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000
-}
-
-.popover {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1010;
- display: none;
- max-width: 276px;
- padding: 1px;
- text-align: left;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, .2);
- border-radius: 6px;
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
- box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
- white-space: normal
-}
-
-.popover.top {
- margin-top: -10px
-}
-
-.popover.right {
- margin-left: 10px
-}
-
-.popover.bottom {
- margin-top: 10px
-}
-
-.popover.left {
- margin-left: -10px
-}
-
-.popover-title {
- margin: 0;
- padding: 8px 14px;
- font-size: 14px;
- font-weight: 400;
- line-height: 18px;
- background-color: #f7f7f7;
- border-bottom: 1px solid #ebebeb;
- border-radius: 5px 5px 0 0
-}
-
-.popover-content {
- padding: 9px 14px
-}
-
-.popover > .arrow, .popover > .arrow:after {
- position: absolute;
- display: block;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid
-}
-
-.popover > .arrow {
- border-width: 11px
-}
-
-.popover > .arrow:after {
- border-width: 10px;
- content: ""
-}
-
-.popover.top > .arrow {
- left: 50%;
- margin-left: -11px;
- border-bottom-width: 0;
- border-top-color: #999;
- border-top-color: rgba(0, 0, 0, .25);
- bottom: -11px
-}
-
-.popover.top > .arrow:after {
- content: " ";
- bottom: 1px;
- margin-left: -10px;
- border-bottom-width: 0;
- border-top-color: #fff
-}
-
-.popover.right > .arrow {
- top: 50%;
- left: -11px;
- margin-top: -11px;
- border-left-width: 0;
- border-right-color: #999;
- border-right-color: rgba(0, 0, 0, .25)
-}
-
-.popover.right > .arrow:after {
- content: " ";
- left: 1px;
- bottom: -10px;
- border-left-width: 0;
- border-right-color: #fff
-}
-
-.popover.bottom > .arrow {
- left: 50%;
- margin-left: -11px;
- border-top-width: 0;
- border-bottom-color: #999;
- border-bottom-color: rgba(0, 0, 0, .25);
- top: -11px
-}
-
-.popover.bottom > .arrow:after {
- content: " ";
- top: 1px;
- margin-left: -10px;
- border-top-width: 0;
- border-bottom-color: #fff
-}
-
-.popover.left > .arrow {
- top: 50%;
- right: -11px;
- margin-top: -11px;
- border-right-width: 0;
- border-left-color: #999;
- border-left-color: rgba(0, 0, 0, .25)
-}
-
-.popover.left > .arrow:after {
- content: " ";
- right: 1px;
- border-right-width: 0;
- border-left-color: #fff;
- bottom: -10px
-}
-
-.carousel {
- position: relative
-}
-
-.carousel-inner {
- position: relative;
- overflow: hidden;
- width: 100%
-}
-
-.carousel-inner > .item {
- display: none;
- position: relative;
- -webkit-transition: .6s ease-in-out left;
- transition: .6s ease-in-out left
-}
-
-.carousel-inner > .item > img, .carousel-inner > .item > a > img {
- line-height: 1
-}
-
-.carousel-inner > .active, .carousel-inner > .next, .carousel-inner > .prev {
- display: block
-}
-
-.carousel-inner > .active {
- left: 0
-}
-
-.carousel-inner > .next, .carousel-inner > .prev {
- position: absolute;
- top: 0;
- width: 100%
-}
-
-.carousel-inner > .next {
- left: 100%
-}
-
-.carousel-inner > .prev {
- left: -100%
-}
-
-.carousel-inner > .next.left, .carousel-inner > .prev.right {
- left: 0
-}
-
-.carousel-inner > .active.left {
- left: -100%
-}
-
-.carousel-inner > .active.right {
- left: 100%
-}
-
-.carousel-control {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- width: 15%;
- opacity: .5;
- filter: alpha(opacity=50);
- font-size: 20px;
- color: #fff;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, .6)
-}
-
-.carousel-control.left {
- background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .5) 0), color-stop(rgba(0, 0, 0, .0001) 100%));
- background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)
-}
-
-.carousel-control.right {
- left: auto;
- right: 0;
- background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .0001) 0), color-stop(rgba(0, 0, 0, .5) 100%));
- background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)
-}
-
-.carousel-control:hover, .carousel-control:focus {
- outline: 0;
- color: #fff;
- text-decoration: none;
- opacity: .9;
- filter: alpha(opacity=90)
-}
-
-.carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
- position: absolute;
- top: 50%;
- z-index: 5;
- display: inline-block
-}
-
-.carousel-control .icon-prev, .carousel-control .glyphicon-chevron-left {
- left: 50%
-}
-
-.carousel-control .icon-next, .carousel-control .glyphicon-chevron-right {
- right: 50%
-}
-
-.carousel-control .icon-prev, .carousel-control .icon-next {
- width: 20px;
- height: 20px;
- margin-top: -10px;
- margin-left: -10px;
- font-family: serif
-}
-
-.carousel-control .icon-prev:before {
- content: '\2039'
-}
-
-.carousel-control .icon-next:before {
- content: '\203a'
-}
-
-.carousel-indicators {
- position: absolute;
- bottom: 10px;
- left: 50%;
- z-index: 15;
- width: 60%;
- margin-left: -30%;
- padding-left: 0;
- list-style: none;
- text-align: center
-}
-
-.carousel-indicators li {
- display: inline-block;
- width: 10px;
- height: 10px;
- margin: 1px;
- text-indent: -999px;
- border: 1px solid #fff;
- border-radius: 10px;
- cursor: pointer;
- background-color: #000 \9;
- background-color: rgba(0, 0, 0, 0)
-}
-
-.carousel-indicators .active {
- margin: 0;
- width: 12px;
- height: 12px;
- background-color: #fff
-}
-
-.carousel-caption {
- position: absolute;
- left: 15%;
- right: 15%;
- bottom: 20px;
- z-index: 10;
- padding-top: 20px;
- padding-bottom: 20px;
- color: #fff;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, .6)
-}
-
-.carousel-caption .btn {
- text-shadow: none
-}
-
-@media screen and (min-width: 768px) {
- .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next {
- width: 30px;
- height: 30px;
- margin-top: -15px;
- margin-left: -15px;
- font-size: 30px
- }
-
- .carousel-caption {
- left: 20%;
- right: 20%;
- padding-bottom: 30px
- }
-
- .carousel-indicators {
- bottom: 20px
- }
-}
-
-.clearfix:before, .clearfix:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after, .btn-toolbar:before, .btn-toolbar:after, .btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after, .nav:before, .nav:after, .navbar:before, .navbar:after, .navbar-header:before, .navbar-header:after, .navbar-collapse:before, .navbar-collapse:after, .pager:before, .pager:after, .panel-body:before, .panel-body:after, .modal-footer:before, .modal-footer:after {
- content: " ";
- display: table
-}
-
-.clearfix:after, .container:after, .container-fluid:after, .row:after, .form-horizontal .form-group:after, .btn-toolbar:after, .btn-group-vertical > .btn-group:after, .nav:after, .navbar:after, .navbar-header:after, .navbar-collapse:after, .pager:after, .panel-body:after, .modal-footer:after {
- clear: both
-}
-
-.center-block {
- display: block;
- margin-left: auto;
- margin-right: auto
-}
-
-.pull-right {
- float: right !important
-}
-
-.pull-left {
- float: left !important
-}
-
-.hide {
- display: none !important
-}
-
-.show {
- display: block !important
-}
-
-.invisible {
- visibility: hidden
-}
-
-.text-hide {
- font: 0/0 a;
- color: transparent;
- text-shadow: none;
- background-color: transparent;
- border: 0
-}
-
-.hidden {
- display: none !important;
- visibility: hidden !important
-}
-
-.affix {
- position: fixed
-}
-
-@-ms-viewport {
- width: device-width
-}
-
-.visible-xs, .visible-sm, .visible-md, .visible-lg {
- display: none !important
-}
-
-@media (max-width: 767px) {
- .visible-xs {
- display: block !important
- }
-
- table.visible-xs {
- display: table
- }
-
- tr.visible-xs {
- display: table-row !important
- }
-
- th.visible-xs, td.visible-xs {
- display: table-cell !important
- }
-}
-
-@media (min-width: 768px) and (max-width: 991px) {
- .visible-sm {
- display: block !important
- }
-
- table.visible-sm {
- display: table
- }
-
- tr.visible-sm {
- display: table-row !important
- }
-
- th.visible-sm, td.visible-sm {
- display: table-cell !important
- }
-}
-
-@media (min-width: 992px) and (max-width: 1199px) {
- .visible-md {
- display: block !important
- }
-
- table.visible-md {
- display: table
- }
-
- tr.visible-md {
- display: table-row !important
- }
-
- th.visible-md, td.visible-md {
- display: table-cell !important
- }
-}
-
-@media (min-width: 1200px) {
- .visible-lg {
- display: block !important
- }
-
- table.visible-lg {
- display: table
- }
-
- tr.visible-lg {
- display: table-row !important
- }
-
- th.visible-lg, td.visible-lg {
- display: table-cell !important
- }
-}
-
-@media (max-width: 767px) {
- .hidden-xs {
- display: none !important
- }
-}
-
-@media (min-width: 768px) and (max-width: 991px) {
- .hidden-sm {
- display: none !important
- }
-}
-
-@media (min-width: 992px) and (max-width: 1199px) {
- .hidden-md {
- display: none !important
- }
-}
-
-@media (min-width: 1200px) {
- .hidden-lg {
- display: none !important
- }
-}
-
-.visible-print {
- display: none !important
-}
-
-@media print {
- .visible-print {
- display: block !important
- }
-
- table.visible-print {
- display: table
- }
-
- tr.visible-print {
- display: table-row !important
- }
-
- th.visible-print, td.visible-print {
- display: table-cell !important
- }
-}
-
-@media print {
- .hidden-print {
- display: none !important
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.eot b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.eot
deleted file mode 100644
index b93a4953..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.eot
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.svg b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.svg
deleted file mode 100644
index 8376c0f4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.svg
+++ /dev/null
@@ -1,288 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
-<svg xmlns="http://www.w3.org/2000/svg">
-<metadata></metadata>
-<defs>
-<font id="glyphicons_halflingsregular" horiz-adv-x="1200" >
-<font-face units-per-em="1200" ascent="960" descent="-240" />
-<missing-glyph horiz-adv-x="500" />
-<glyph horiz-adv-x="0" />
-<glyph horiz-adv-x="400" />
-<glyph unicode=" " />
-<glyph unicode="*" d="M600 1100q15 0 34 -1.5t30 -3.5l11 -1q10 -2 17.5 -10.5t7.5 -18.5v-224l158 158q7 7 18 8t19 -6l106 -106q7 -8 6 -19t-8 -18l-158 -158h224q10 0 18.5 -7.5t10.5 -17.5q6 -41 6 -75q0 -15 -1.5 -34t-3.5 -30l-1 -11q-2 -10 -10.5 -17.5t-18.5 -7.5h-224l158 -158 q7 -7 8 -18t-6 -19l-106 -106q-8 -7 -19 -6t-18 8l-158 158v-224q0 -10 -7.5 -18.5t-17.5 -10.5q-41 -6 -75 -6q-15 0 -34 1.5t-30 3.5l-11 1q-10 2 -17.5 10.5t-7.5 18.5v224l-158 -158q-7 -7 -18 -8t-19 6l-106 106q-7 8 -6 19t8 18l158 158h-224q-10 0 -18.5 7.5 t-10.5 17.5q-6 41 -6 75q0 15 1.5 34t3.5 30l1 11q2 10 10.5 17.5t18.5 7.5h224l-158 158q-7 7 -8 18t6 19l106 106q8 7 19 6t18 -8l158 -158v224q0 10 7.5 18.5t17.5 10.5q41 6 75 6z" />
-<glyph unicode="+" d="M450 1100h200q21 0 35.5 -14.5t14.5 -35.5v-350h350q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-350v-350q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v350h-350q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5 h350v350q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xa0;" />
-<glyph unicode="&#xa5;" d="M825 1100h250q10 0 12.5 -5t-5.5 -13l-364 -364q-6 -6 -11 -18h268q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-125v-100h275q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-125v-174q0 -11 -7.5 -18.5t-18.5 -7.5h-148q-11 0 -18.5 7.5t-7.5 18.5v174 h-275q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h125v100h-275q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h118q-5 12 -11 18l-364 364q-8 8 -5.5 13t12.5 5h250q25 0 43 -18l164 -164q8 -8 18 -8t18 8l164 164q18 18 43 18z" />
-<glyph unicode="&#x2000;" horiz-adv-x="650" />
-<glyph unicode="&#x2001;" horiz-adv-x="1300" />
-<glyph unicode="&#x2002;" horiz-adv-x="650" />
-<glyph unicode="&#x2003;" horiz-adv-x="1300" />
-<glyph unicode="&#x2004;" horiz-adv-x="433" />
-<glyph unicode="&#x2005;" horiz-adv-x="325" />
-<glyph unicode="&#x2006;" horiz-adv-x="216" />
-<glyph unicode="&#x2007;" horiz-adv-x="216" />
-<glyph unicode="&#x2008;" horiz-adv-x="162" />
-<glyph unicode="&#x2009;" horiz-adv-x="260" />
-<glyph unicode="&#x200a;" horiz-adv-x="72" />
-<glyph unicode="&#x202f;" horiz-adv-x="260" />
-<glyph unicode="&#x205f;" horiz-adv-x="325" />
-<glyph unicode="&#x20ac;" d="M744 1198q242 0 354 -189q60 -104 66 -209h-181q0 45 -17.5 82.5t-43.5 61.5t-58 40.5t-60.5 24t-51.5 7.5q-19 0 -40.5 -5.5t-49.5 -20.5t-53 -38t-49 -62.5t-39 -89.5h379l-100 -100h-300q-6 -50 -6 -100h406l-100 -100h-300q9 -74 33 -132t52.5 -91t61.5 -54.5t59 -29 t47 -7.5q22 0 50.5 7.5t60.5 24.5t58 41t43.5 61t17.5 80h174q-30 -171 -128 -278q-107 -117 -274 -117q-206 0 -324 158q-36 48 -69 133t-45 204h-217l100 100h112q1 47 6 100h-218l100 100h134q20 87 51 153.5t62 103.5q117 141 297 141z" />
-<glyph unicode="&#x20bd;" d="M428 1200h350q67 0 120 -13t86 -31t57 -49.5t35 -56.5t17 -64.5t6.5 -60.5t0.5 -57v-16.5v-16.5q0 -36 -0.5 -57t-6.5 -61t-17 -65t-35 -57t-57 -50.5t-86 -31.5t-120 -13h-178l-2 -100h288q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-138v-175q0 -11 -5.5 -18 t-15.5 -7h-149q-10 0 -17.5 7.5t-7.5 17.5v175h-267q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h117v100h-267q-10 0 -13 6t3 14l120 160q6 8 18 14t22 6h117v475q0 10 7.5 17.5t17.5 7.5zM600 1000v-300h203q64 0 86.5 33t22.5 119q0 84 -22.5 116t-86.5 32h-203z" />
-<glyph unicode="&#x2212;" d="M250 700h800q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#x231b;" d="M1000 1200v-150q0 -21 -14.5 -35.5t-35.5 -14.5h-50v-100q0 -91 -49.5 -165.5t-130.5 -109.5q81 -35 130.5 -109.5t49.5 -165.5v-150h50q21 0 35.5 -14.5t14.5 -35.5v-150h-800v150q0 21 14.5 35.5t35.5 14.5h50v150q0 91 49.5 165.5t130.5 109.5q-81 35 -130.5 109.5 t-49.5 165.5v100h-50q-21 0 -35.5 14.5t-14.5 35.5v150h800zM400 1000v-100q0 -60 32.5 -109.5t87.5 -73.5q28 -12 44 -37t16 -55t-16 -55t-44 -37q-55 -24 -87.5 -73.5t-32.5 -109.5v-150h400v150q0 60 -32.5 109.5t-87.5 73.5q-28 12 -44 37t-16 55t16 55t44 37 q55 24 87.5 73.5t32.5 109.5v100h-400z" />
-<glyph unicode="&#x25fc;" horiz-adv-x="500" d="M0 0z" />
-<glyph unicode="&#x2601;" d="M503 1089q110 0 200.5 -59.5t134.5 -156.5q44 14 90 14q120 0 205 -86.5t85 -206.5q0 -121 -85 -207.5t-205 -86.5h-750q-79 0 -135.5 57t-56.5 137q0 69 42.5 122.5t108.5 67.5q-2 12 -2 37q0 153 108 260.5t260 107.5z" />
-<glyph unicode="&#x26fa;" d="M774 1193.5q16 -9.5 20.5 -27t-5.5 -33.5l-136 -187l467 -746h30q20 0 35 -18.5t15 -39.5v-42h-1200v42q0 21 15 39.5t35 18.5h30l468 746l-135 183q-10 16 -5.5 34t20.5 28t34 5.5t28 -20.5l111 -148l112 150q9 16 27 20.5t34 -5zM600 200h377l-182 112l-195 534v-646z " />
-<glyph unicode="&#x2709;" d="M25 1100h1150q10 0 12.5 -5t-5.5 -13l-564 -567q-8 -8 -18 -8t-18 8l-564 567q-8 8 -5.5 13t12.5 5zM18 882l264 -264q8 -8 8 -18t-8 -18l-264 -264q-8 -8 -13 -5.5t-5 12.5v550q0 10 5 12.5t13 -5.5zM918 618l264 264q8 8 13 5.5t5 -12.5v-550q0 -10 -5 -12.5t-13 5.5 l-264 264q-8 8 -8 18t8 18zM818 482l364 -364q8 -8 5.5 -13t-12.5 -5h-1150q-10 0 -12.5 5t5.5 13l364 364q8 8 18 8t18 -8l164 -164q8 -8 18 -8t18 8l164 164q8 8 18 8t18 -8z" />
-<glyph unicode="&#x270f;" d="M1011 1210q19 0 33 -13l153 -153q13 -14 13 -33t-13 -33l-99 -92l-214 214l95 96q13 14 32 14zM1013 800l-615 -614l-214 214l614 614zM317 96l-333 -112l110 335z" />
-<glyph unicode="&#xe001;" d="M700 650v-550h250q21 0 35.5 -14.5t14.5 -35.5v-50h-800v50q0 21 14.5 35.5t35.5 14.5h250v550l-500 550h1200z" />
-<glyph unicode="&#xe002;" d="M368 1017l645 163q39 15 63 0t24 -49v-831q0 -55 -41.5 -95.5t-111.5 -63.5q-79 -25 -147 -4.5t-86 75t25.5 111.5t122.5 82q72 24 138 8v521l-600 -155v-606q0 -42 -44 -90t-109 -69q-79 -26 -147 -5.5t-86 75.5t25.5 111.5t122.5 82.5q72 24 138 7v639q0 38 14.5 59 t53.5 34z" />
-<glyph unicode="&#xe003;" d="M500 1191q100 0 191 -39t156.5 -104.5t104.5 -156.5t39 -191l-1 -2l1 -5q0 -141 -78 -262l275 -274q23 -26 22.5 -44.5t-22.5 -42.5l-59 -58q-26 -20 -46.5 -20t-39.5 20l-275 274q-119 -77 -261 -77l-5 1l-2 -1q-100 0 -191 39t-156.5 104.5t-104.5 156.5t-39 191 t39 191t104.5 156.5t156.5 104.5t191 39zM500 1022q-88 0 -162 -43t-117 -117t-43 -162t43 -162t117 -117t162 -43t162 43t117 117t43 162t-43 162t-117 117t-162 43z" />
-<glyph unicode="&#xe005;" d="M649 949q48 68 109.5 104t121.5 38.5t118.5 -20t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-150 152.5t-126.5 127.5t-93.5 124.5t-33.5 117.5q0 64 28 123t73 100.5t104 64t119 20 t120.5 -38.5t104.5 -104z" />
-<glyph unicode="&#xe006;" d="M407 800l131 353q7 19 17.5 19t17.5 -19l129 -353h421q21 0 24 -8.5t-14 -20.5l-342 -249l130 -401q7 -20 -0.5 -25.5t-24.5 6.5l-343 246l-342 -247q-17 -12 -24.5 -6.5t-0.5 25.5l130 400l-347 251q-17 12 -14 20.5t23 8.5h429z" />
-<glyph unicode="&#xe007;" d="M407 800l131 353q7 19 17.5 19t17.5 -19l129 -353h421q21 0 24 -8.5t-14 -20.5l-342 -249l130 -401q7 -20 -0.5 -25.5t-24.5 6.5l-343 246l-342 -247q-17 -12 -24.5 -6.5t-0.5 25.5l130 400l-347 251q-17 12 -14 20.5t23 8.5h429zM477 700h-240l197 -142l-74 -226 l193 139l195 -140l-74 229l192 140h-234l-78 211z" />
-<glyph unicode="&#xe008;" d="M600 1200q124 0 212 -88t88 -212v-250q0 -46 -31 -98t-69 -52v-75q0 -10 6 -21.5t15 -17.5l358 -230q9 -5 15 -16.5t6 -21.5v-93q0 -10 -7.5 -17.5t-17.5 -7.5h-1150q-10 0 -17.5 7.5t-7.5 17.5v93q0 10 6 21.5t15 16.5l358 230q9 6 15 17.5t6 21.5v75q-38 0 -69 52 t-31 98v250q0 124 88 212t212 88z" />
-<glyph unicode="&#xe009;" d="M25 1100h1150q10 0 17.5 -7.5t7.5 -17.5v-1050q0 -10 -7.5 -17.5t-17.5 -7.5h-1150q-10 0 -17.5 7.5t-7.5 17.5v1050q0 10 7.5 17.5t17.5 7.5zM100 1000v-100h100v100h-100zM875 1000h-550q-10 0 -17.5 -7.5t-7.5 -17.5v-350q0 -10 7.5 -17.5t17.5 -7.5h550 q10 0 17.5 7.5t7.5 17.5v350q0 10 -7.5 17.5t-17.5 7.5zM1000 1000v-100h100v100h-100zM100 800v-100h100v100h-100zM1000 800v-100h100v100h-100zM100 600v-100h100v100h-100zM1000 600v-100h100v100h-100zM875 500h-550q-10 0 -17.5 -7.5t-7.5 -17.5v-350q0 -10 7.5 -17.5 t17.5 -7.5h550q10 0 17.5 7.5t7.5 17.5v350q0 10 -7.5 17.5t-17.5 7.5zM100 400v-100h100v100h-100zM1000 400v-100h100v100h-100zM100 200v-100h100v100h-100zM1000 200v-100h100v100h-100z" />
-<glyph unicode="&#xe010;" d="M50 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM650 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5zM50 500h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM650 500h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe011;" d="M50 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5zM850 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM850 700h200q21 0 35.5 -14.5t14.5 -35.5v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 300h200 q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM850 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5 t35.5 14.5z" />
-<glyph unicode="&#xe012;" d="M50 1100h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 1100h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5zM50 700h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 700h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM50 300h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5zM450 300h700q21 0 35.5 -14.5t14.5 -35.5v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe013;" d="M465 477l571 571q8 8 18 8t17 -8l177 -177q8 -7 8 -17t-8 -18l-783 -784q-7 -8 -17.5 -8t-17.5 8l-384 384q-8 8 -8 18t8 17l177 177q7 8 17 8t18 -8l171 -171q7 -7 18 -7t18 7z" />
-<glyph unicode="&#xe014;" d="M904 1083l178 -179q8 -8 8 -18.5t-8 -17.5l-267 -268l267 -268q8 -7 8 -17.5t-8 -18.5l-178 -178q-8 -8 -18.5 -8t-17.5 8l-268 267l-268 -267q-7 -8 -17.5 -8t-18.5 8l-178 178q-8 8 -8 18.5t8 17.5l267 268l-267 268q-8 7 -8 17.5t8 18.5l178 178q8 8 18.5 8t17.5 -8 l268 -267l268 268q7 7 17.5 7t18.5 -7z" />
-<glyph unicode="&#xe015;" d="M507 1177q98 0 187.5 -38.5t154.5 -103.5t103.5 -154.5t38.5 -187.5q0 -141 -78 -262l300 -299q8 -8 8 -18.5t-8 -18.5l-109 -108q-7 -8 -17.5 -8t-18.5 8l-300 299q-119 -77 -261 -77q-98 0 -188 38.5t-154.5 103t-103 154.5t-38.5 188t38.5 187.5t103 154.5 t154.5 103.5t188 38.5zM506.5 1023q-89.5 0 -165.5 -44t-120 -120.5t-44 -166t44 -165.5t120 -120t165.5 -44t166 44t120.5 120t44 165.5t-44 166t-120.5 120.5t-166 44zM425 900h150q10 0 17.5 -7.5t7.5 -17.5v-75h75q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5 t-17.5 -7.5h-75v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-75q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h75v75q0 10 7.5 17.5t17.5 7.5z" />
-<glyph unicode="&#xe016;" d="M507 1177q98 0 187.5 -38.5t154.5 -103.5t103.5 -154.5t38.5 -187.5q0 -141 -78 -262l300 -299q8 -8 8 -18.5t-8 -18.5l-109 -108q-7 -8 -17.5 -8t-18.5 8l-300 299q-119 -77 -261 -77q-98 0 -188 38.5t-154.5 103t-103 154.5t-38.5 188t38.5 187.5t103 154.5 t154.5 103.5t188 38.5zM506.5 1023q-89.5 0 -165.5 -44t-120 -120.5t-44 -166t44 -165.5t120 -120t165.5 -44t166 44t120.5 120t44 165.5t-44 166t-120.5 120.5t-166 44zM325 800h350q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-350q-10 0 -17.5 7.5 t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />
-<glyph unicode="&#xe017;" d="M550 1200h100q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM800 975v166q167 -62 272 -209.5t105 -331.5q0 -117 -45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5 t-184.5 123t-123 184.5t-45.5 224q0 184 105 331.5t272 209.5v-166q-103 -55 -165 -155t-62 -220q0 -116 57 -214.5t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5q0 120 -62 220t-165 155z" />
-<glyph unicode="&#xe018;" d="M1025 1200h150q10 0 17.5 -7.5t7.5 -17.5v-1150q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v1150q0 10 7.5 17.5t17.5 7.5zM725 800h150q10 0 17.5 -7.5t7.5 -17.5v-750q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v750 q0 10 7.5 17.5t17.5 7.5zM425 500h150q10 0 17.5 -7.5t7.5 -17.5v-450q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v450q0 10 7.5 17.5t17.5 7.5zM125 300h150q10 0 17.5 -7.5t7.5 -17.5v-250q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5 v250q0 10 7.5 17.5t17.5 7.5z" />
-<glyph unicode="&#xe019;" d="M600 1174q33 0 74 -5l38 -152l5 -1q49 -14 94 -39l5 -2l134 80q61 -48 104 -105l-80 -134l3 -5q25 -44 39 -93l1 -6l152 -38q5 -43 5 -73q0 -34 -5 -74l-152 -38l-1 -6q-15 -49 -39 -93l-3 -5l80 -134q-48 -61 -104 -105l-134 81l-5 -3q-44 -25 -94 -39l-5 -2l-38 -151 q-43 -5 -74 -5q-33 0 -74 5l-38 151l-5 2q-49 14 -94 39l-5 3l-134 -81q-60 48 -104 105l80 134l-3 5q-25 45 -38 93l-2 6l-151 38q-6 42 -6 74q0 33 6 73l151 38l2 6q13 48 38 93l3 5l-80 134q47 61 105 105l133 -80l5 2q45 25 94 39l5 1l38 152q43 5 74 5zM600 815 q-89 0 -152 -63t-63 -151.5t63 -151.5t152 -63t152 63t63 151.5t-63 151.5t-152 63z" />
-<glyph unicode="&#xe020;" d="M500 1300h300q41 0 70.5 -29.5t29.5 -70.5v-100h275q10 0 17.5 -7.5t7.5 -17.5v-75h-1100v75q0 10 7.5 17.5t17.5 7.5h275v100q0 41 29.5 70.5t70.5 29.5zM500 1200v-100h300v100h-300zM1100 900v-800q0 -41 -29.5 -70.5t-70.5 -29.5h-700q-41 0 -70.5 29.5t-29.5 70.5 v800h900zM300 800v-700h100v700h-100zM500 800v-700h100v700h-100zM700 800v-700h100v700h-100zM900 800v-700h100v700h-100z" />
-<glyph unicode="&#xe021;" d="M18 618l620 608q8 7 18.5 7t17.5 -7l608 -608q8 -8 5.5 -13t-12.5 -5h-175v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v375h-300v-375q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v575h-175q-10 0 -12.5 5t5.5 13z" />
-<glyph unicode="&#xe022;" d="M600 1200v-400q0 -41 29.5 -70.5t70.5 -29.5h300v-650q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v1100q0 21 14.5 35.5t35.5 14.5h450zM1000 800h-250q-21 0 -35.5 14.5t-14.5 35.5v250z" />
-<glyph unicode="&#xe023;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM525 900h50q10 0 17.5 -7.5t7.5 -17.5v-275h175q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5z" />
-<glyph unicode="&#xe024;" d="M1300 0h-538l-41 400h-242l-41 -400h-538l431 1200h209l-21 -300h162l-20 300h208zM515 800l-27 -300h224l-27 300h-170z" />
-<glyph unicode="&#xe025;" d="M550 1200h200q21 0 35.5 -14.5t14.5 -35.5v-450h191q20 0 25.5 -11.5t-7.5 -27.5l-327 -400q-13 -16 -32 -16t-32 16l-327 400q-13 16 -7.5 27.5t25.5 11.5h191v450q0 21 14.5 35.5t35.5 14.5zM1125 400h50q10 0 17.5 -7.5t7.5 -17.5v-350q0 -10 -7.5 -17.5t-17.5 -7.5 h-1050q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h50q10 0 17.5 -7.5t7.5 -17.5v-175h900v175q0 10 7.5 17.5t17.5 7.5z" />
-<glyph unicode="&#xe026;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM525 900h150q10 0 17.5 -7.5t7.5 -17.5v-275h137q21 0 26 -11.5t-8 -27.5l-223 -275q-13 -16 -32 -16t-32 16l-223 275q-13 16 -8 27.5t26 11.5h137v275q0 10 7.5 17.5t17.5 7.5z " />
-<glyph unicode="&#xe027;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM632 914l223 -275q13 -16 8 -27.5t-26 -11.5h-137v-275q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v275h-137q-21 0 -26 11.5t8 27.5l223 275q13 16 32 16 t32 -16z" />
-<glyph unicode="&#xe028;" d="M225 1200h750q10 0 19.5 -7t12.5 -17l186 -652q7 -24 7 -49v-425q0 -12 -4 -27t-9 -17q-12 -6 -37 -6h-1100q-12 0 -27 4t-17 8q-6 13 -6 38l1 425q0 25 7 49l185 652q3 10 12.5 17t19.5 7zM878 1000h-556q-10 0 -19 -7t-11 -18l-87 -450q-2 -11 4 -18t16 -7h150 q10 0 19.5 -7t11.5 -17l38 -152q2 -10 11.5 -17t19.5 -7h250q10 0 19.5 7t11.5 17l38 152q2 10 11.5 17t19.5 7h150q10 0 16 7t4 18l-87 450q-2 11 -11 18t-19 7z" />
-<glyph unicode="&#xe029;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM540 820l253 -190q17 -12 17 -30t-17 -30l-253 -190q-16 -12 -28 -6.5t-12 26.5v400q0 21 12 26.5t28 -6.5z" />
-<glyph unicode="&#xe030;" d="M947 1060l135 135q7 7 12.5 5t5.5 -13v-362q0 -10 -7.5 -17.5t-17.5 -7.5h-362q-11 0 -13 5.5t5 12.5l133 133q-109 76 -238 76q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5h150q0 -117 -45.5 -224 t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5q192 0 347 -117z" />
-<glyph unicode="&#xe031;" d="M947 1060l135 135q7 7 12.5 5t5.5 -13v-361q0 -11 -7.5 -18.5t-18.5 -7.5h-361q-11 0 -13 5.5t5 12.5l134 134q-110 75 -239 75q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5h-150q0 117 45.5 224t123 184.5t184.5 123t224 45.5q192 0 347 -117zM1027 600h150 q0 -117 -45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5q-192 0 -348 118l-134 -134q-7 -8 -12.5 -5.5t-5.5 12.5v360q0 11 7.5 18.5t18.5 7.5h360q10 0 12.5 -5.5t-5.5 -12.5l-133 -133q110 -76 240 -76q116 0 214.5 57t155.5 155.5t57 214.5z" />
-<glyph unicode="&#xe032;" d="M125 1200h1050q10 0 17.5 -7.5t7.5 -17.5v-1150q0 -10 -7.5 -17.5t-17.5 -7.5h-1050q-10 0 -17.5 7.5t-7.5 17.5v1150q0 10 7.5 17.5t17.5 7.5zM1075 1000h-850q-10 0 -17.5 -7.5t-7.5 -17.5v-850q0 -10 7.5 -17.5t17.5 -7.5h850q10 0 17.5 7.5t7.5 17.5v850 q0 10 -7.5 17.5t-17.5 7.5zM325 900h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 900h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 700h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 700h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 500h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 500h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5zM325 300h50q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM525 300h450q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-450q-10 0 -17.5 7.5t-7.5 17.5v50 q0 10 7.5 17.5t17.5 7.5z" />
-<glyph unicode="&#xe033;" d="M900 800v200q0 83 -58.5 141.5t-141.5 58.5h-300q-82 0 -141 -59t-59 -141v-200h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h900q41 0 70.5 29.5t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5h-100zM400 800v150q0 21 15 35.5t35 14.5h200 q20 0 35 -14.5t15 -35.5v-150h-300z" />
-<glyph unicode="&#xe034;" d="M125 1100h50q10 0 17.5 -7.5t7.5 -17.5v-1075h-100v1075q0 10 7.5 17.5t17.5 7.5zM1075 1052q4 0 9 -2q16 -6 16 -23v-421q0 -6 -3 -12q-33 -59 -66.5 -99t-65.5 -58t-56.5 -24.5t-52.5 -6.5q-26 0 -57.5 6.5t-52.5 13.5t-60 21q-41 15 -63 22.5t-57.5 15t-65.5 7.5 q-85 0 -160 -57q-7 -5 -15 -5q-6 0 -11 3q-14 7 -14 22v438q22 55 82 98.5t119 46.5q23 2 43 0.5t43 -7t32.5 -8.5t38 -13t32.5 -11q41 -14 63.5 -21t57 -14t63.5 -7q103 0 183 87q7 8 18 8z" />
-<glyph unicode="&#xe035;" d="M600 1175q116 0 227 -49.5t192.5 -131t131 -192.5t49.5 -227v-300q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v300q0 127 -70.5 231.5t-184.5 161.5t-245 57t-245 -57t-184.5 -161.5t-70.5 -231.5v-300q0 -10 -7.5 -17.5t-17.5 -7.5h-50 q-10 0 -17.5 7.5t-7.5 17.5v300q0 116 49.5 227t131 192.5t192.5 131t227 49.5zM220 500h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460q0 8 6 14t14 6zM820 500h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460 q0 8 6 14t14 6z" />
-<glyph unicode="&#xe036;" d="M321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM900 668l120 120q7 7 17 7t17 -7l34 -34q7 -7 7 -17t-7 -17l-120 -120l120 -120q7 -7 7 -17 t-7 -17l-34 -34q-7 -7 -17 -7t-17 7l-120 119l-120 -119q-7 -7 -17 -7t-17 7l-34 34q-7 7 -7 17t7 17l119 120l-119 120q-7 7 -7 17t7 17l34 34q7 8 17 8t17 -8z" />
-<glyph unicode="&#xe037;" d="M321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM766 900h4q10 -1 16 -10q96 -129 96 -290q0 -154 -90 -281q-6 -9 -17 -10l-3 -1q-9 0 -16 6 l-29 23q-7 7 -8.5 16.5t4.5 17.5q72 103 72 229q0 132 -78 238q-6 8 -4.5 18t9.5 17l29 22q7 5 15 5z" />
-<glyph unicode="&#xe038;" d="M967 1004h3q11 -1 17 -10q135 -179 135 -396q0 -105 -34 -206.5t-98 -185.5q-7 -9 -17 -10h-3q-9 0 -16 6l-42 34q-8 6 -9 16t5 18q111 150 111 328q0 90 -29.5 176t-84.5 157q-6 9 -5 19t10 16l42 33q7 5 15 5zM321 814l258 172q9 6 15 2.5t6 -13.5v-750q0 -10 -6 -13.5 t-15 2.5l-258 172q-21 14 -46 14h-250q-10 0 -17.5 7.5t-7.5 17.5v350q0 10 7.5 17.5t17.5 7.5h250q25 0 46 14zM766 900h4q10 -1 16 -10q96 -129 96 -290q0 -154 -90 -281q-6 -9 -17 -10l-3 -1q-9 0 -16 6l-29 23q-7 7 -8.5 16.5t4.5 17.5q72 103 72 229q0 132 -78 238 q-6 8 -4.5 18.5t9.5 16.5l29 22q7 5 15 5z" />
-<glyph unicode="&#xe039;" d="M500 900h100v-100h-100v-100h-400v-100h-100v600h500v-300zM1200 700h-200v-100h200v-200h-300v300h-200v300h-100v200h600v-500zM100 1100v-300h300v300h-300zM800 1100v-300h300v300h-300zM300 900h-100v100h100v-100zM1000 900h-100v100h100v-100zM300 500h200v-500 h-500v500h200v100h100v-100zM800 300h200v-100h-100v-100h-200v100h-100v100h100v200h-200v100h300v-300zM100 400v-300h300v300h-300zM300 200h-100v100h100v-100zM1200 200h-100v100h100v-100zM700 0h-100v100h100v-100zM1200 0h-300v100h300v-100z" />
-<glyph unicode="&#xe040;" d="M100 200h-100v1000h100v-1000zM300 200h-100v1000h100v-1000zM700 200h-200v1000h200v-1000zM900 200h-100v1000h100v-1000zM1200 200h-200v1000h200v-1000zM400 0h-300v100h300v-100zM600 0h-100v91h100v-91zM800 0h-100v91h100v-91zM1100 0h-200v91h200v-91z" />
-<glyph unicode="&#xe041;" d="M500 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-682 682l1 475q0 10 7.5 17.5t17.5 7.5h474zM319.5 1024.5q-29.5 29.5 -71 29.5t-71 -29.5t-29.5 -71.5t29.5 -71.5t71 -29.5t71 29.5t29.5 71.5t-29.5 71.5z" />
-<glyph unicode="&#xe042;" d="M500 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-682 682l1 475q0 10 7.5 17.5t17.5 7.5h474zM800 1200l682 -682q8 -8 8 -18t-8 -18l-464 -464q-8 -8 -18 -8t-18 8l-56 56l424 426l-700 700h150zM319.5 1024.5q-29.5 29.5 -71 29.5t-71 -29.5 t-29.5 -71.5t29.5 -71.5t71 -29.5t71 29.5t29.5 71.5t-29.5 71.5z" />
-<glyph unicode="&#xe043;" d="M300 1200h825q75 0 75 -75v-900q0 -25 -18 -43l-64 -64q-8 -8 -13 -5.5t-5 12.5v950q0 10 -7.5 17.5t-17.5 7.5h-700q-25 0 -43 -18l-64 -64q-8 -8 -5.5 -13t12.5 -5h700q10 0 17.5 -7.5t7.5 -17.5v-950q0 -10 -7.5 -17.5t-17.5 -7.5h-850q-10 0 -17.5 7.5t-7.5 17.5v975 q0 25 18 43l139 139q18 18 43 18z" />
-<glyph unicode="&#xe044;" d="M250 1200h800q21 0 35.5 -14.5t14.5 -35.5v-1150l-450 444l-450 -445v1151q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe045;" d="M822 1200h-444q-11 0 -19 -7.5t-9 -17.5l-78 -301q-7 -24 7 -45l57 -108q6 -9 17.5 -15t21.5 -6h450q10 0 21.5 6t17.5 15l62 108q14 21 7 45l-83 301q-1 10 -9 17.5t-19 7.5zM1175 800h-150q-10 0 -21 -6.5t-15 -15.5l-78 -156q-4 -9 -15 -15.5t-21 -6.5h-550 q-10 0 -21 6.5t-15 15.5l-78 156q-4 9 -15 15.5t-21 6.5h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-650q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h750q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5 t7.5 17.5v650q0 10 -7.5 17.5t-17.5 7.5zM850 200h-500q-10 0 -19.5 -7t-11.5 -17l-38 -152q-2 -10 3.5 -17t15.5 -7h600q10 0 15.5 7t3.5 17l-38 152q-2 10 -11.5 17t-19.5 7z" />
-<glyph unicode="&#xe046;" d="M500 1100h200q56 0 102.5 -20.5t72.5 -50t44 -59t25 -50.5l6 -20h150q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5h150q2 8 6.5 21.5t24 48t45 61t72 48t102.5 21.5zM900 800v-100 h100v100h-100zM600 730q-95 0 -162.5 -67.5t-67.5 -162.5t67.5 -162.5t162.5 -67.5t162.5 67.5t67.5 162.5t-67.5 162.5t-162.5 67.5zM600 603q43 0 73 -30t30 -73t-30 -73t-73 -30t-73 30t-30 73t30 73t73 30z" />
-<glyph unicode="&#xe047;" d="M681 1199l385 -998q20 -50 60 -92q18 -19 36.5 -29.5t27.5 -11.5l10 -2v-66h-417v66q53 0 75 43.5t5 88.5l-82 222h-391q-58 -145 -92 -234q-11 -34 -6.5 -57t25.5 -37t46 -20t55 -6v-66h-365v66q56 24 84 52q12 12 25 30.5t20 31.5l7 13l399 1006h93zM416 521h340 l-162 457z" />
-<glyph unicode="&#xe048;" d="M753 641q5 -1 14.5 -4.5t36 -15.5t50.5 -26.5t53.5 -40t50.5 -54.5t35.5 -70t14.5 -87q0 -67 -27.5 -125.5t-71.5 -97.5t-98.5 -66.5t-108.5 -40.5t-102 -13h-500v89q41 7 70.5 32.5t29.5 65.5v827q0 24 -0.5 34t-3.5 24t-8.5 19.5t-17 13.5t-28 12.5t-42.5 11.5v71 l471 -1q57 0 115.5 -20.5t108 -57t80.5 -94t31 -124.5q0 -51 -15.5 -96.5t-38 -74.5t-45 -50.5t-38.5 -30.5zM400 700h139q78 0 130.5 48.5t52.5 122.5q0 41 -8.5 70.5t-29.5 55.5t-62.5 39.5t-103.5 13.5h-118v-350zM400 200h216q80 0 121 50.5t41 130.5q0 90 -62.5 154.5 t-156.5 64.5h-159v-400z" />
-<glyph unicode="&#xe049;" d="M877 1200l2 -57q-83 -19 -116 -45.5t-40 -66.5l-132 -839q-9 -49 13 -69t96 -26v-97h-500v97q186 16 200 98l173 832q3 17 3 30t-1.5 22.5t-9 17.5t-13.5 12.5t-21.5 10t-26 8.5t-33.5 10q-13 3 -19 5v57h425z" />
-<glyph unicode="&#xe050;" d="M1300 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-850q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v850h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM175 1000h-75v-800h75l-125 -167l-125 167h75v800h-75l125 167z" />
-<glyph unicode="&#xe051;" d="M1100 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-650q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v650h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM1167 50l-167 -125v75h-800v-75l-167 125l167 125v-75h800v75z" />
-<glyph unicode="&#xe052;" d="M50 1100h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 500h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe053;" d="M250 1100h700q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM250 500h700q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe054;" d="M500 950v100q0 21 14.5 35.5t35.5 14.5h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5zM100 650v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000 q-21 0 -35.5 14.5t-14.5 35.5zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5zM0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100 q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5z" />
-<glyph unicode="&#xe055;" d="M50 1100h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 800h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 500h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe056;" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 1100h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 800h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 500h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 500h800q21 0 35.5 -14.5t14.5 -35.5v-100 q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM350 200h800 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe057;" d="M400 0h-100v1100h100v-1100zM550 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM550 800h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM267 550l-167 -125v75h-200v100h200v75zM550 500h300q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM550 200h600 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe058;" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM900 0h-100v1100h100v-1100zM50 800h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM1100 600h200v-100h-200v-75l-167 125l167 125v-75zM50 500h300q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5zM50 200h600 q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-600q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe059;" d="M75 1000h750q31 0 53 -22t22 -53v-650q0 -31 -22 -53t-53 -22h-750q-31 0 -53 22t-22 53v650q0 31 22 53t53 22zM1200 300l-300 300l300 300v-600z" />
-<glyph unicode="&#xe060;" d="M44 1100h1112q18 0 31 -13t13 -31v-1012q0 -18 -13 -31t-31 -13h-1112q-18 0 -31 13t-13 31v1012q0 18 13 31t31 13zM100 1000v-737l247 182l298 -131l-74 156l293 318l236 -288v500h-1000zM342 884q56 0 95 -39t39 -94.5t-39 -95t-95 -39.5t-95 39.5t-39 95t39 94.5 t95 39z" />
-<glyph unicode="&#xe062;" d="M648 1169q117 0 216 -60t156.5 -161t57.5 -218q0 -115 -70 -258q-69 -109 -158 -225.5t-143 -179.5l-54 -62q-9 8 -25.5 24.5t-63.5 67.5t-91 103t-98.5 128t-95.5 148q-60 132 -60 249q0 88 34 169.5t91.5 142t137 96.5t166.5 36zM652.5 974q-91.5 0 -156.5 -65 t-65 -157t65 -156.5t156.5 -64.5t156.5 64.5t65 156.5t-65 157t-156.5 65z" />
-<glyph unicode="&#xe063;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 173v854q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57z" />
-<glyph unicode="&#xe064;" d="M554 1295q21 -72 57.5 -143.5t76 -130t83 -118t82.5 -117t70 -116t49.5 -126t18.5 -136.5q0 -71 -25.5 -135t-68.5 -111t-99 -82t-118.5 -54t-125.5 -23q-84 5 -161.5 34t-139.5 78.5t-99 125t-37 164.5q0 69 18 136.5t49.5 126.5t69.5 116.5t81.5 117.5t83.5 119 t76.5 131t58.5 143zM344 710q-23 -33 -43.5 -70.5t-40.5 -102.5t-17 -123q1 -37 14.5 -69.5t30 -52t41 -37t38.5 -24.5t33 -15q21 -7 32 -1t13 22l6 34q2 10 -2.5 22t-13.5 19q-5 4 -14 12t-29.5 40.5t-32.5 73.5q-26 89 6 271q2 11 -6 11q-8 1 -15 -10z" />
-<glyph unicode="&#xe065;" d="M1000 1013l108 115q2 1 5 2t13 2t20.5 -1t25 -9.5t28.5 -21.5q22 -22 27 -43t0 -32l-6 -10l-108 -115zM350 1100h400q50 0 105 -13l-187 -187h-368q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v182l200 200v-332 q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5zM1009 803l-362 -362l-161 -50l55 170l355 355z" />
-<glyph unicode="&#xe066;" d="M350 1100h361q-164 -146 -216 -200h-195q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5l200 153v-103q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5z M824 1073l339 -301q8 -7 8 -17.5t-8 -17.5l-340 -306q-7 -6 -12.5 -4t-6.5 11v203q-26 1 -54.5 0t-78.5 -7.5t-92 -17.5t-86 -35t-70 -57q10 59 33 108t51.5 81.5t65 58.5t68.5 40.5t67 24.5t56 13.5t40 4.5v210q1 10 6.5 12.5t13.5 -4.5z" />
-<glyph unicode="&#xe067;" d="M350 1100h350q60 0 127 -23l-178 -177h-349q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v69l200 200v-219q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5z M643 639l395 395q7 7 17.5 7t17.5 -7l101 -101q7 -7 7 -17.5t-7 -17.5l-531 -532q-7 -7 -17.5 -7t-17.5 7l-248 248q-7 7 -7 17.5t7 17.5l101 101q7 7 17.5 7t17.5 -7l111 -111q8 -7 18 -7t18 7z" />
-<glyph unicode="&#xe068;" d="M318 918l264 264q8 8 18 8t18 -8l260 -264q7 -8 4.5 -13t-12.5 -5h-170v-200h200v173q0 10 5 12t13 -5l264 -260q8 -7 8 -17.5t-8 -17.5l-264 -265q-8 -7 -13 -5t-5 12v173h-200v-200h170q10 0 12.5 -5t-4.5 -13l-260 -264q-8 -8 -18 -8t-18 8l-264 264q-8 8 -5.5 13 t12.5 5h175v200h-200v-173q0 -10 -5 -12t-13 5l-264 265q-8 7 -8 17.5t8 17.5l264 260q8 7 13 5t5 -12v-173h200v200h-175q-10 0 -12.5 5t5.5 13z" />
-<glyph unicode="&#xe069;" d="M250 1100h100q21 0 35.5 -14.5t14.5 -35.5v-438l464 453q15 14 25.5 10t10.5 -25v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe070;" d="M50 1100h100q21 0 35.5 -14.5t14.5 -35.5v-438l464 453q15 14 25.5 10t10.5 -25v-438l464 453q15 14 25.5 10t10.5 -25v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5 t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe071;" d="M1200 1050v-1000q0 -21 -10.5 -25t-25.5 10l-464 453v-438q0 -21 -10.5 -25t-25.5 10l-492 480q-15 14 -15 35t15 35l492 480q15 14 25.5 10t10.5 -25v-438l464 453q15 14 25.5 10t10.5 -25z" />
-<glyph unicode="&#xe072;" d="M243 1074l814 -498q18 -11 18 -26t-18 -26l-814 -498q-18 -11 -30.5 -4t-12.5 28v1000q0 21 12.5 28t30.5 -4z" />
-<glyph unicode="&#xe073;" d="M250 1000h200q21 0 35.5 -14.5t14.5 -35.5v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5zM650 1000h200q21 0 35.5 -14.5t14.5 -35.5v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v800 q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe074;" d="M1100 950v-800q0 -21 -14.5 -35.5t-35.5 -14.5h-800q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5z" />
-<glyph unicode="&#xe075;" d="M500 612v438q0 21 10.5 25t25.5 -10l492 -480q15 -14 15 -35t-15 -35l-492 -480q-15 -14 -25.5 -10t-10.5 25v438l-464 -453q-15 -14 -25.5 -10t-10.5 25v1000q0 21 10.5 25t25.5 -10z" />
-<glyph unicode="&#xe076;" d="M1048 1102l100 1q20 0 35 -14.5t15 -35.5l5 -1000q0 -21 -14.5 -35.5t-35.5 -14.5l-100 -1q-21 0 -35.5 14.5t-14.5 35.5l-2 437l-463 -454q-14 -15 -24.5 -10.5t-10.5 25.5l-2 437l-462 -455q-15 -14 -25.5 -9.5t-10.5 24.5l-5 1000q0 21 10.5 25.5t25.5 -10.5l466 -450 l-2 438q0 20 10.5 24.5t25.5 -9.5l466 -451l-2 438q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe077;" d="M850 1100h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-464 -453q-15 -14 -25.5 -10t-10.5 25v1000q0 21 10.5 25t25.5 -10l464 -453v438q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe078;" d="M686 1081l501 -540q15 -15 10.5 -26t-26.5 -11h-1042q-22 0 -26.5 11t10.5 26l501 540q15 15 36 15t36 -15zM150 400h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe079;" d="M885 900l-352 -353l352 -353l-197 -198l-552 552l552 550z" />
-<glyph unicode="&#xe080;" d="M1064 547l-551 -551l-198 198l353 353l-353 353l198 198z" />
-<glyph unicode="&#xe081;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM650 900h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-150h-150 q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5t35.5 -14.5h150v-150q0 -21 14.5 -35.5t35.5 -14.5h100q21 0 35.5 14.5t14.5 35.5v150h150q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5h-150v150q0 21 -14.5 35.5t-35.5 14.5z" />
-<glyph unicode="&#xe082;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM850 700h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5 t35.5 -14.5h500q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5z" />
-<glyph unicode="&#xe083;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM741.5 913q-12.5 0 -21.5 -9l-120 -120l-120 120q-9 9 -21.5 9 t-21.5 -9l-141 -141q-9 -9 -9 -21.5t9 -21.5l120 -120l-120 -120q-9 -9 -9 -21.5t9 -21.5l141 -141q9 -9 21.5 -9t21.5 9l120 120l120 -120q9 -9 21.5 -9t21.5 9l141 141q9 9 9 21.5t-9 21.5l-120 120l120 120q9 9 9 21.5t-9 21.5l-141 141q-9 9 -21.5 9z" />
-<glyph unicode="&#xe084;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM546 623l-84 85q-7 7 -17.5 7t-18.5 -7l-139 -139q-7 -8 -7 -18t7 -18 l242 -241q7 -8 17.5 -8t17.5 8l375 375q7 7 7 17.5t-7 18.5l-139 139q-7 7 -17.5 7t-17.5 -7z" />
-<glyph unicode="&#xe085;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM588 941q-29 0 -59 -5.5t-63 -20.5t-58 -38.5t-41.5 -63t-16.5 -89.5 q0 -25 20 -25h131q30 -5 35 11q6 20 20.5 28t45.5 8q20 0 31.5 -10.5t11.5 -28.5q0 -23 -7 -34t-26 -18q-1 0 -13.5 -4t-19.5 -7.5t-20 -10.5t-22 -17t-18.5 -24t-15.5 -35t-8 -46q-1 -8 5.5 -16.5t20.5 -8.5h173q7 0 22 8t35 28t37.5 48t29.5 74t12 100q0 47 -17 83 t-42.5 57t-59.5 34.5t-64 18t-59 4.5zM675 400h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5z" />
-<glyph unicode="&#xe086;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM675 1000h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5 t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5zM675 700h-250q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h75v-200h-75q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h350q10 0 17.5 7.5t7.5 17.5v50q0 10 -7.5 17.5 t-17.5 7.5h-75v275q0 10 -7.5 17.5t-17.5 7.5z" />
-<glyph unicode="&#xe087;" d="M525 1200h150q10 0 17.5 -7.5t7.5 -17.5v-194q103 -27 178.5 -102.5t102.5 -178.5h194q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-194q-27 -103 -102.5 -178.5t-178.5 -102.5v-194q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v194 q-103 27 -178.5 102.5t-102.5 178.5h-194q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h194q27 103 102.5 178.5t178.5 102.5v194q0 10 7.5 17.5t17.5 7.5zM700 893v-168q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v168q-68 -23 -119 -74 t-74 -119h168q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-168q23 -68 74 -119t119 -74v168q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-168q68 23 119 74t74 119h-168q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h168 q-23 68 -74 119t-119 74z" />
-<glyph unicode="&#xe088;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM759 823l64 -64q7 -7 7 -17.5t-7 -17.5l-124 -124l124 -124q7 -7 7 -17.5t-7 -17.5l-64 -64q-7 -7 -17.5 -7t-17.5 7l-124 124l-124 -124q-7 -7 -17.5 -7t-17.5 7l-64 64 q-7 7 -7 17.5t7 17.5l124 124l-124 124q-7 7 -7 17.5t7 17.5l64 64q7 7 17.5 7t17.5 -7l124 -124l124 124q7 7 17.5 7t17.5 -7z" />
-<glyph unicode="&#xe089;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5t57 -214.5 t155.5 -155.5t214.5 -57t214.5 57t155.5 155.5t57 214.5t-57 214.5t-155.5 155.5t-214.5 57zM782 788l106 -106q7 -7 7 -17.5t-7 -17.5l-320 -321q-8 -7 -18 -7t-18 7l-202 203q-8 7 -8 17.5t8 17.5l106 106q7 8 17.5 8t17.5 -8l79 -79l197 197q7 7 17.5 7t17.5 -7z" />
-<glyph unicode="&#xe090;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM600 1027q-116 0 -214.5 -57t-155.5 -155.5t-57 -214.5q0 -120 65 -225 l587 587q-105 65 -225 65zM965 819l-584 -584q104 -62 219 -62q116 0 214.5 57t155.5 155.5t57 214.5q0 115 -62 219z" />
-<glyph unicode="&#xe091;" d="M39 582l522 427q16 13 27.5 8t11.5 -26v-291h550q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-550v-291q0 -21 -11.5 -26t-27.5 8l-522 427q-16 13 -16 32t16 32z" />
-<glyph unicode="&#xe092;" d="M639 1009l522 -427q16 -13 16 -32t-16 -32l-522 -427q-16 -13 -27.5 -8t-11.5 26v291h-550q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h550v291q0 21 11.5 26t27.5 -8z" />
-<glyph unicode="&#xe093;" d="M682 1161l427 -522q13 -16 8 -27.5t-26 -11.5h-291v-550q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v550h-291q-21 0 -26 11.5t8 27.5l427 522q13 16 32 16t32 -16z" />
-<glyph unicode="&#xe094;" d="M550 1200h200q21 0 35.5 -14.5t14.5 -35.5v-550h291q21 0 26 -11.5t-8 -27.5l-427 -522q-13 -16 -32 -16t-32 16l-427 522q-13 16 -8 27.5t26 11.5h291v550q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe095;" d="M639 1109l522 -427q16 -13 16 -32t-16 -32l-522 -427q-16 -13 -27.5 -8t-11.5 26v291q-94 -2 -182 -20t-170.5 -52t-147 -92.5t-100.5 -135.5q5 105 27 193.5t67.5 167t113 135t167 91.5t225.5 42v262q0 21 11.5 26t27.5 -8z" />
-<glyph unicode="&#xe096;" d="M850 1200h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94l-249 -249q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l249 249l-94 94q-14 14 -10 24.5t25 10.5zM350 0h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l249 249 q8 7 18 7t18 -7l106 -106q7 -8 7 -18t-7 -18l-249 -249l94 -94q14 -14 10 -24.5t-25 -10.5z" />
-<glyph unicode="&#xe097;" d="M1014 1120l106 -106q7 -8 7 -18t-7 -18l-249 -249l94 -94q14 -14 10 -24.5t-25 -10.5h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l249 249q8 7 18 7t18 -7zM250 600h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94 l-249 -249q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l249 249l-94 94q-14 14 -10 24.5t25 10.5z" />
-<glyph unicode="&#xe101;" d="M600 1177q117 0 224 -45.5t184.5 -123t123 -184.5t45.5 -224t-45.5 -224t-123 -184.5t-184.5 -123t-224 -45.5t-224 45.5t-184.5 123t-123 184.5t-45.5 224t45.5 224t123 184.5t184.5 123t224 45.5zM704 900h-208q-20 0 -32 -14.5t-8 -34.5l58 -302q4 -20 21.5 -34.5 t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5l58 302q4 20 -8 34.5t-32 14.5zM675 400h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5z" />
-<glyph unicode="&#xe102;" d="M260 1200q9 0 19 -2t15 -4l5 -2q22 -10 44 -23l196 -118q21 -13 36 -24q29 -21 37 -12q11 13 49 35l196 118q22 13 45 23q17 7 38 7q23 0 47 -16.5t37 -33.5l13 -16q14 -21 18 -45l25 -123l8 -44q1 -9 8.5 -14.5t17.5 -5.5h61q10 0 17.5 -7.5t7.5 -17.5v-50 q0 -10 -7.5 -17.5t-17.5 -7.5h-50q-10 0 -17.5 -7.5t-7.5 -17.5v-175h-400v300h-200v-300h-400v175q0 10 -7.5 17.5t-17.5 7.5h-50q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5h61q11 0 18 3t7 8q0 4 9 52l25 128q5 25 19 45q2 3 5 7t13.5 15t21.5 19.5t26.5 15.5 t29.5 7zM915 1079l-166 -162q-7 -7 -5 -12t12 -5h219q10 0 15 7t2 17l-51 149q-3 10 -11 12t-15 -6zM463 917l-177 157q-8 7 -16 5t-11 -12l-51 -143q-3 -10 2 -17t15 -7h231q11 0 12.5 5t-5.5 12zM500 0h-375q-10 0 -17.5 7.5t-7.5 17.5v375h400v-400zM1100 400v-375 q0 -10 -7.5 -17.5t-17.5 -7.5h-375v400h400z" />
-<glyph unicode="&#xe103;" d="M1165 1190q8 3 21 -6.5t13 -17.5q-2 -178 -24.5 -323.5t-55.5 -245.5t-87 -174.5t-102.5 -118.5t-118 -68.5t-118.5 -33t-120 -4.5t-105 9.5t-90 16.5q-61 12 -78 11q-4 1 -12.5 0t-34 -14.5t-52.5 -40.5l-153 -153q-26 -24 -37 -14.5t-11 43.5q0 64 42 102q8 8 50.5 45 t66.5 58q19 17 35 47t13 61q-9 55 -10 102.5t7 111t37 130t78 129.5q39 51 80 88t89.5 63.5t94.5 45t113.5 36t129 31t157.5 37t182 47.5zM1116 1098q-8 9 -22.5 -3t-45.5 -50q-38 -47 -119 -103.5t-142 -89.5l-62 -33q-56 -30 -102 -57t-104 -68t-102.5 -80.5t-85.5 -91 t-64 -104.5q-24 -56 -31 -86t2 -32t31.5 17.5t55.5 59.5q25 30 94 75.5t125.5 77.5t147.5 81q70 37 118.5 69t102 79.5t99 111t86.5 148.5q22 50 24 60t-6 19z" />
-<glyph unicode="&#xe104;" d="M653 1231q-39 -67 -54.5 -131t-10.5 -114.5t24.5 -96.5t47.5 -80t63.5 -62.5t68.5 -46.5t65 -30q-4 7 -17.5 35t-18.5 39.5t-17 39.5t-17 43t-13 42t-9.5 44.5t-2 42t4 43t13.5 39t23 38.5q96 -42 165 -107.5t105 -138t52 -156t13 -159t-19 -149.5q-13 -55 -44 -106.5 t-68 -87t-78.5 -64.5t-72.5 -45t-53 -22q-72 -22 -127 -11q-31 6 -13 19q6 3 17 7q13 5 32.5 21t41 44t38.5 63.5t21.5 81.5t-6.5 94.5t-50 107t-104 115.5q10 -104 -0.5 -189t-37 -140.5t-65 -93t-84 -52t-93.5 -11t-95 24.5q-80 36 -131.5 114t-53.5 171q-2 23 0 49.5 t4.5 52.5t13.5 56t27.5 60t46 64.5t69.5 68.5q-8 -53 -5 -102.5t17.5 -90t34 -68.5t44.5 -39t49 -2q31 13 38.5 36t-4.5 55t-29 64.5t-36 75t-26 75.5q-15 85 2 161.5t53.5 128.5t85.5 92.5t93.5 61t81.5 25.5z" />
-<glyph unicode="&#xe105;" d="M600 1094q82 0 160.5 -22.5t140 -59t116.5 -82.5t94.5 -95t68 -95t42.5 -82.5t14 -57.5t-14 -57.5t-43 -82.5t-68.5 -95t-94.5 -95t-116.5 -82.5t-140 -59t-159.5 -22.5t-159.5 22.5t-140 59t-116.5 82.5t-94.5 95t-68.5 95t-43 82.5t-14 57.5t14 57.5t42.5 82.5t68 95 t94.5 95t116.5 82.5t140 59t160.5 22.5zM888 829q-15 15 -18 12t5 -22q25 -57 25 -119q0 -124 -88 -212t-212 -88t-212 88t-88 212q0 59 23 114q8 19 4.5 22t-17.5 -12q-70 -69 -160 -184q-13 -16 -15 -40.5t9 -42.5q22 -36 47 -71t70 -82t92.5 -81t113 -58.5t133.5 -24.5 t133.5 24t113 58.5t92.5 81.5t70 81.5t47 70.5q11 18 9 42.5t-14 41.5q-90 117 -163 189zM448 727l-35 -36q-15 -15 -19.5 -38.5t4.5 -41.5q37 -68 93 -116q16 -13 38.5 -11t36.5 17l35 34q14 15 12.5 33.5t-16.5 33.5q-44 44 -89 117q-11 18 -28 20t-32 -12z" />
-<glyph unicode="&#xe106;" d="M592 0h-148l31 120q-91 20 -175.5 68.5t-143.5 106.5t-103.5 119t-66.5 110t-22 76q0 21 14 57.5t42.5 82.5t68 95t94.5 95t116.5 82.5t140 59t160.5 22.5q61 0 126 -15l32 121h148zM944 770l47 181q108 -85 176.5 -192t68.5 -159q0 -26 -19.5 -71t-59.5 -102t-93 -112 t-129 -104.5t-158 -75.5l46 173q77 49 136 117t97 131q11 18 9 42.5t-14 41.5q-54 70 -107 130zM310 824q-70 -69 -160 -184q-13 -16 -15 -40.5t9 -42.5q18 -30 39 -60t57 -70.5t74 -73t90 -61t105 -41.5l41 154q-107 18 -178.5 101.5t-71.5 193.5q0 59 23 114q8 19 4.5 22 t-17.5 -12zM448 727l-35 -36q-15 -15 -19.5 -38.5t4.5 -41.5q37 -68 93 -116q16 -13 38.5 -11t36.5 17l12 11l22 86l-3 4q-44 44 -89 117q-11 18 -28 20t-32 -12z" />
-<glyph unicode="&#xe107;" d="M-90 100l642 1066q20 31 48 28.5t48 -35.5l642 -1056q21 -32 7.5 -67.5t-50.5 -35.5h-1294q-37 0 -50.5 34t7.5 66zM155 200h345v75q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-75h345l-445 723zM496 700h208q20 0 32 -14.5t8 -34.5l-58 -252 q-4 -20 -21.5 -34.5t-37.5 -14.5h-54q-20 0 -37.5 14.5t-21.5 34.5l-58 252q-4 20 8 34.5t32 14.5z" />
-<glyph unicode="&#xe108;" d="M650 1200q62 0 106 -44t44 -106v-339l363 -325q15 -14 26 -38.5t11 -44.5v-41q0 -20 -12 -26.5t-29 5.5l-359 249v-263q100 -93 100 -113v-64q0 -21 -13 -29t-32 1l-205 128l-205 -128q-19 -9 -32 -1t-13 29v64q0 20 100 113v263l-359 -249q-17 -12 -29 -5.5t-12 26.5v41 q0 20 11 44.5t26 38.5l363 325v339q0 62 44 106t106 44z" />
-<glyph unicode="&#xe109;" d="M850 1200h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-150h-1100v150q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-50h500v50q0 21 14.5 35.5t35.5 14.5zM1100 800v-750q0 -21 -14.5 -35.5 t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v750h1100zM100 600v-100h100v100h-100zM300 600v-100h100v100h-100zM500 600v-100h100v100h-100zM700 600v-100h100v100h-100zM900 600v-100h100v100h-100zM100 400v-100h100v100h-100zM300 400v-100h100v100h-100zM500 400 v-100h100v100h-100zM700 400v-100h100v100h-100zM900 400v-100h100v100h-100zM100 200v-100h100v100h-100zM300 200v-100h100v100h-100zM500 200v-100h100v100h-100zM700 200v-100h100v100h-100zM900 200v-100h100v100h-100z" />
-<glyph unicode="&#xe110;" d="M1135 1165l249 -230q15 -14 15 -35t-15 -35l-249 -230q-14 -14 -24.5 -10t-10.5 25v150h-159l-600 -600h-291q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h209l600 600h241v150q0 21 10.5 25t24.5 -10zM522 819l-141 -141l-122 122h-209q-21 0 -35.5 14.5 t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h291zM1135 565l249 -230q15 -14 15 -35t-15 -35l-249 -230q-14 -14 -24.5 -10t-10.5 25v150h-241l-181 181l141 141l122 -122h159v150q0 21 10.5 25t24.5 -10z" />
-<glyph unicode="&#xe111;" d="M100 1100h1000q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-596l-304 -300v300h-100q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5z" />
-<glyph unicode="&#xe112;" d="M150 1200h200q21 0 35.5 -14.5t14.5 -35.5v-250h-300v250q0 21 14.5 35.5t35.5 14.5zM850 1200h200q21 0 35.5 -14.5t14.5 -35.5v-250h-300v250q0 21 14.5 35.5t35.5 14.5zM1100 800v-300q0 -41 -3 -77.5t-15 -89.5t-32 -96t-58 -89t-89 -77t-129 -51t-174 -20t-174 20 t-129 51t-89 77t-58 89t-32 96t-15 89.5t-3 77.5v300h300v-250v-27v-42.5t1.5 -41t5 -38t10 -35t16.5 -30t25.5 -24.5t35 -19t46.5 -12t60 -4t60 4.5t46.5 12.5t35 19.5t25 25.5t17 30.5t10 35t5 38t2 40.5t-0.5 42v25v250h300z" />
-<glyph unicode="&#xe113;" d="M1100 411l-198 -199l-353 353l-353 -353l-197 199l551 551z" />
-<glyph unicode="&#xe114;" d="M1101 789l-550 -551l-551 551l198 199l353 -353l353 353z" />
-<glyph unicode="&#xe115;" d="M404 1000h746q21 0 35.5 -14.5t14.5 -35.5v-551h150q21 0 25 -10.5t-10 -24.5l-230 -249q-14 -15 -35 -15t-35 15l-230 249q-14 14 -10 24.5t25 10.5h150v401h-381zM135 984l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-400h385l215 -200h-750q-21 0 -35.5 14.5 t-14.5 35.5v550h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />
-<glyph unicode="&#xe116;" d="M56 1200h94q17 0 31 -11t18 -27l38 -162h896q24 0 39 -18.5t10 -42.5l-100 -475q-5 -21 -27 -42.5t-55 -21.5h-633l48 -200h535q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-50q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v50h-300v-50 q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v50h-31q-18 0 -32.5 10t-20.5 19l-5 10l-201 961h-54q-20 0 -35 14.5t-15 35.5t15 35.5t35 14.5z" />
-<glyph unicode="&#xe117;" d="M1200 1000v-100h-1200v100h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500zM0 800h1200v-800h-1200v800z" />
-<glyph unicode="&#xe118;" d="M200 800l-200 -400v600h200q0 41 29.5 70.5t70.5 29.5h300q42 0 71 -29.5t29 -70.5h500v-200h-1000zM1500 700l-300 -700h-1200l300 700h1200z" />
-<glyph unicode="&#xe119;" d="M635 1184l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-601h150q21 0 25 -10.5t-10 -24.5l-230 -249q-14 -15 -35 -15t-35 15l-230 249q-14 14 -10 24.5t25 10.5h150v601h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />
-<glyph unicode="&#xe120;" d="M936 864l249 -229q14 -15 14 -35.5t-14 -35.5l-249 -229q-15 -15 -25.5 -10.5t-10.5 24.5v151h-600v-151q0 -20 -10.5 -24.5t-25.5 10.5l-249 229q-14 15 -14 35.5t14 35.5l249 229q15 15 25.5 10.5t10.5 -25.5v-149h600v149q0 21 10.5 25.5t25.5 -10.5z" />
-<glyph unicode="&#xe121;" d="M1169 400l-172 732q-5 23 -23 45.5t-38 22.5h-672q-20 0 -38 -20t-23 -41l-172 -739h1138zM1100 300h-1000q-41 0 -70.5 -29.5t-29.5 -70.5v-100q0 -41 29.5 -70.5t70.5 -29.5h1000q41 0 70.5 29.5t29.5 70.5v100q0 41 -29.5 70.5t-70.5 29.5zM800 100v100h100v-100h-100 zM1000 100v100h100v-100h-100z" />
-<glyph unicode="&#xe122;" d="M1150 1100q21 0 35.5 -14.5t14.5 -35.5v-850q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v850q0 21 14.5 35.5t35.5 14.5zM1000 200l-675 200h-38l47 -276q3 -16 -5.5 -20t-29.5 -4h-7h-84q-20 0 -34.5 14t-18.5 35q-55 337 -55 351v250v6q0 16 1 23.5t6.5 14 t17.5 6.5h200l675 250v-850zM0 750v-250q-4 0 -11 0.5t-24 6t-30 15t-24 30t-11 48.5v50q0 26 10.5 46t25 30t29 16t25.5 7z" />
-<glyph unicode="&#xe123;" d="M553 1200h94q20 0 29 -10.5t3 -29.5l-18 -37q83 -19 144 -82.5t76 -140.5l63 -327l118 -173h17q19 0 33 -14.5t14 -35t-13 -40.5t-31 -27q-8 -4 -23 -9.5t-65 -19.5t-103 -25t-132.5 -20t-158.5 -9q-57 0 -115 5t-104 12t-88.5 15.5t-73.5 17.5t-54.5 16t-35.5 12l-11 4 q-18 8 -31 28t-13 40.5t14 35t33 14.5h17l118 173l63 327q15 77 76 140t144 83l-18 32q-6 19 3.5 32t28.5 13zM498 110q50 -6 102 -6q53 0 102 6q-12 -49 -39.5 -79.5t-62.5 -30.5t-63 30.5t-39 79.5z" />
-<glyph unicode="&#xe124;" d="M800 946l224 78l-78 -224l234 -45l-180 -155l180 -155l-234 -45l78 -224l-224 78l-45 -234l-155 180l-155 -180l-45 234l-224 -78l78 224l-234 45l180 155l-180 155l234 45l-78 224l224 -78l45 234l155 -180l155 180z" />
-<glyph unicode="&#xe125;" d="M650 1200h50q40 0 70 -40.5t30 -84.5v-150l-28 -125h328q40 0 70 -40.5t30 -84.5v-100q0 -45 -29 -74l-238 -344q-16 -24 -38 -40.5t-45 -16.5h-250q-7 0 -42 25t-66 50l-31 25h-61q-45 0 -72.5 18t-27.5 57v400q0 36 20 63l145 196l96 198q13 28 37.5 48t51.5 20z M650 1100l-100 -212l-150 -213v-375h100l136 -100h214l250 375v125h-450l50 225v175h-50zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe126;" d="M600 1100h250q23 0 45 -16.5t38 -40.5l238 -344q29 -29 29 -74v-100q0 -44 -30 -84.5t-70 -40.5h-328q28 -118 28 -125v-150q0 -44 -30 -84.5t-70 -40.5h-50q-27 0 -51.5 20t-37.5 48l-96 198l-145 196q-20 27 -20 63v400q0 39 27.5 57t72.5 18h61q124 100 139 100z M50 1000h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5zM636 1000l-136 -100h-100v-375l150 -213l100 -212h50v175l-50 225h450v125l-250 375h-214z" />
-<glyph unicode="&#xe127;" d="M356 873l363 230q31 16 53 -6l110 -112q13 -13 13.5 -32t-11.5 -34l-84 -121h302q84 0 138 -38t54 -110t-55 -111t-139 -39h-106l-131 -339q-6 -21 -19.5 -41t-28.5 -20h-342q-7 0 -90 81t-83 94v525q0 17 14 35.5t28 28.5zM400 792v-503l100 -89h293l131 339 q6 21 19.5 41t28.5 20h203q21 0 30.5 25t0.5 50t-31 25h-456h-7h-6h-5.5t-6 0.5t-5 1.5t-5 2t-4 2.5t-4 4t-2.5 4.5q-12 25 5 47l146 183l-86 83zM50 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v500 q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe128;" d="M475 1103l366 -230q2 -1 6 -3.5t14 -10.5t18 -16.5t14.5 -20t6.5 -22.5v-525q0 -13 -86 -94t-93 -81h-342q-15 0 -28.5 20t-19.5 41l-131 339h-106q-85 0 -139.5 39t-54.5 111t54 110t138 38h302l-85 121q-11 15 -10.5 34t13.5 32l110 112q22 22 53 6zM370 945l146 -183 q17 -22 5 -47q-2 -2 -3.5 -4.5t-4 -4t-4 -2.5t-5 -2t-5 -1.5t-6 -0.5h-6h-6.5h-6h-475v-100h221q15 0 29 -20t20 -41l130 -339h294l106 89v503l-342 236zM1050 800h100q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5 v500q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe129;" d="M550 1294q72 0 111 -55t39 -139v-106l339 -131q21 -6 41 -19.5t20 -28.5v-342q0 -7 -81 -90t-94 -83h-525q-17 0 -35.5 14t-28.5 28l-9 14l-230 363q-16 31 6 53l112 110q13 13 32 13.5t34 -11.5l121 -84v302q0 84 38 138t110 54zM600 972v203q0 21 -25 30.5t-50 0.5 t-25 -31v-456v-7v-6v-5.5t-0.5 -6t-1.5 -5t-2 -5t-2.5 -4t-4 -4t-4.5 -2.5q-25 -12 -47 5l-183 146l-83 -86l236 -339h503l89 100v293l-339 131q-21 6 -41 19.5t-20 28.5zM450 200h500q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-500 q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe130;" d="M350 1100h500q21 0 35.5 14.5t14.5 35.5v100q0 21 -14.5 35.5t-35.5 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -21 14.5 -35.5t35.5 -14.5zM600 306v-106q0 -84 -39 -139t-111 -55t-110 54t-38 138v302l-121 -84q-15 -12 -34 -11.5t-32 13.5l-112 110 q-22 22 -6 53l230 363q1 2 3.5 6t10.5 13.5t16.5 17t20 13.5t22.5 6h525q13 0 94 -83t81 -90v-342q0 -15 -20 -28.5t-41 -19.5zM308 900l-236 -339l83 -86l183 146q22 17 47 5q2 -1 4.5 -2.5t4 -4t2.5 -4t2 -5t1.5 -5t0.5 -6v-5.5v-6v-7v-456q0 -22 25 -31t50 0.5t25 30.5 v203q0 15 20 28.5t41 19.5l339 131v293l-89 100h-503z" />
-<glyph unicode="&#xe131;" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM914 632l-275 223q-16 13 -27.5 8t-11.5 -26v-137h-275 q-10 0 -17.5 -7.5t-7.5 -17.5v-150q0 -10 7.5 -17.5t17.5 -7.5h275v-137q0 -21 11.5 -26t27.5 8l275 223q16 13 16 32t-16 32z" />
-<glyph unicode="&#xe132;" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM561 855l-275 -223q-16 -13 -16 -32t16 -32l275 -223q16 -13 27.5 -8 t11.5 26v137h275q10 0 17.5 7.5t7.5 17.5v150q0 10 -7.5 17.5t-17.5 7.5h-275v137q0 21 -11.5 26t-27.5 -8z" />
-<glyph unicode="&#xe133;" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM855 639l-223 275q-13 16 -32 16t-32 -16l-223 -275q-13 -16 -8 -27.5 t26 -11.5h137v-275q0 -10 7.5 -17.5t17.5 -7.5h150q10 0 17.5 7.5t7.5 17.5v275h137q21 0 26 11.5t-8 27.5z" />
-<glyph unicode="&#xe134;" d="M600 1178q118 0 225 -45.5t184.5 -123t123 -184.5t45.5 -225t-45.5 -225t-123 -184.5t-184.5 -123t-225 -45.5t-225 45.5t-184.5 123t-123 184.5t-45.5 225t45.5 225t123 184.5t184.5 123t225 45.5zM675 900h-150q-10 0 -17.5 -7.5t-7.5 -17.5v-275h-137q-21 0 -26 -11.5 t8 -27.5l223 -275q13 -16 32 -16t32 16l223 275q13 16 8 27.5t-26 11.5h-137v275q0 10 -7.5 17.5t-17.5 7.5z" />
-<glyph unicode="&#xe135;" d="M600 1176q116 0 222.5 -46t184 -123.5t123.5 -184t46 -222.5t-46 -222.5t-123.5 -184t-184 -123.5t-222.5 -46t-222.5 46t-184 123.5t-123.5 184t-46 222.5t46 222.5t123.5 184t184 123.5t222.5 46zM627 1101q-15 -12 -36.5 -20.5t-35.5 -12t-43 -8t-39 -6.5 q-15 -3 -45.5 0t-45.5 -2q-20 -7 -51.5 -26.5t-34.5 -34.5q-3 -11 6.5 -22.5t8.5 -18.5q-3 -34 -27.5 -91t-29.5 -79q-9 -34 5 -93t8 -87q0 -9 17 -44.5t16 -59.5q12 0 23 -5t23.5 -15t19.5 -14q16 -8 33 -15t40.5 -15t34.5 -12q21 -9 52.5 -32t60 -38t57.5 -11 q7 -15 -3 -34t-22.5 -40t-9.5 -38q13 -21 23 -34.5t27.5 -27.5t36.5 -18q0 -7 -3.5 -16t-3.5 -14t5 -17q104 -2 221 112q30 29 46.5 47t34.5 49t21 63q-13 8 -37 8.5t-36 7.5q-15 7 -49.5 15t-51.5 19q-18 0 -41 -0.5t-43 -1.5t-42 -6.5t-38 -16.5q-51 -35 -66 -12 q-4 1 -3.5 25.5t0.5 25.5q-6 13 -26.5 17.5t-24.5 6.5q1 15 -0.5 30.5t-7 28t-18.5 11.5t-31 -21q-23 -25 -42 4q-19 28 -8 58q6 16 22 22q6 -1 26 -1.5t33.5 -4t19.5 -13.5q7 -12 18 -24t21.5 -20.5t20 -15t15.5 -10.5l5 -3q2 12 7.5 30.5t8 34.5t-0.5 32q-3 18 3.5 29 t18 22.5t15.5 24.5q6 14 10.5 35t8 31t15.5 22.5t34 22.5q-6 18 10 36q8 0 24 -1.5t24.5 -1.5t20 4.5t20.5 15.5q-10 23 -31 42.5t-37.5 29.5t-49 27t-43.5 23q0 1 2 8t3 11.5t1.5 10.5t-1 9.5t-4.5 4.5q31 -13 58.5 -14.5t38.5 2.5l12 5q5 28 -9.5 46t-36.5 24t-50 15 t-41 20q-18 -4 -37 0zM613 994q0 -17 8 -42t17 -45t9 -23q-8 1 -39.5 5.5t-52.5 10t-37 16.5q3 11 16 29.5t16 25.5q10 -10 19 -10t14 6t13.5 14.5t16.5 12.5z" />
-<glyph unicode="&#xe136;" d="M756 1157q164 92 306 -9l-259 -138l145 -232l251 126q6 -89 -34 -156.5t-117 -110.5q-60 -34 -127 -39.5t-126 16.5l-596 -596q-15 -16 -36.5 -16t-36.5 16l-111 110q-15 15 -15 36.5t15 37.5l600 599q-34 101 5.5 201.5t135.5 154.5z" />
-<glyph unicode="&#xe137;" horiz-adv-x="1220" d="M100 1196h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 1096h-200v-100h200v100zM100 796h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 696h-500v-100h500v100zM100 396h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 296h-300v-100h300v100z " />
-<glyph unicode="&#xe138;" d="M150 1200h900q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM700 500v-300l-200 -200v500l-350 500h900z" />
-<glyph unicode="&#xe139;" d="M500 1200h200q41 0 70.5 -29.5t29.5 -70.5v-100h300q41 0 70.5 -29.5t29.5 -70.5v-400h-500v100h-200v-100h-500v400q0 41 29.5 70.5t70.5 29.5h300v100q0 41 29.5 70.5t70.5 29.5zM500 1100v-100h200v100h-200zM1200 400v-200q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v200h1200z" />
-<glyph unicode="&#xe140;" d="M50 1200h300q21 0 25 -10.5t-10 -24.5l-94 -94l199 -199q7 -8 7 -18t-7 -18l-106 -106q-8 -7 -18 -7t-18 7l-199 199l-94 -94q-14 -14 -24.5 -10t-10.5 25v300q0 21 14.5 35.5t35.5 14.5zM850 1200h300q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -10.5 -25t-24.5 10l-94 94 l-199 -199q-8 -7 -18 -7t-18 7l-106 106q-7 8 -7 18t7 18l199 199l-94 94q-14 14 -10 24.5t25 10.5zM364 470l106 -106q7 -8 7 -18t-7 -18l-199 -199l94 -94q14 -14 10 -24.5t-25 -10.5h-300q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 10.5 25t24.5 -10l94 -94l199 199 q8 7 18 7t18 -7zM1071 271l94 94q14 14 24.5 10t10.5 -25v-300q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -25 10.5t10 24.5l94 94l-199 199q-7 8 -7 18t7 18l106 106q8 7 18 7t18 -7z" />
-<glyph unicode="&#xe141;" d="M596 1192q121 0 231.5 -47.5t190 -127t127 -190t47.5 -231.5t-47.5 -231.5t-127 -190.5t-190 -127t-231.5 -47t-231.5 47t-190.5 127t-127 190.5t-47 231.5t47 231.5t127 190t190.5 127t231.5 47.5zM596 1010q-112 0 -207.5 -55.5t-151 -151t-55.5 -207.5t55.5 -207.5 t151 -151t207.5 -55.5t207.5 55.5t151 151t55.5 207.5t-55.5 207.5t-151 151t-207.5 55.5zM454.5 905q22.5 0 38.5 -16t16 -38.5t-16 -39t-38.5 -16.5t-38.5 16.5t-16 39t16 38.5t38.5 16zM754.5 905q22.5 0 38.5 -16t16 -38.5t-16 -39t-38 -16.5q-14 0 -29 10l-55 -145 q17 -23 17 -51q0 -36 -25.5 -61.5t-61.5 -25.5t-61.5 25.5t-25.5 61.5q0 32 20.5 56.5t51.5 29.5l122 126l1 1q-9 14 -9 28q0 23 16 39t38.5 16zM345.5 709q22.5 0 38.5 -16t16 -38.5t-16 -38.5t-38.5 -16t-38.5 16t-16 38.5t16 38.5t38.5 16zM854.5 709q22.5 0 38.5 -16 t16 -38.5t-16 -38.5t-38.5 -16t-38.5 16t-16 38.5t16 38.5t38.5 16z" />
-<glyph unicode="&#xe142;" d="M546 173l469 470q91 91 99 192q7 98 -52 175.5t-154 94.5q-22 4 -47 4q-34 0 -66.5 -10t-56.5 -23t-55.5 -38t-48 -41.5t-48.5 -47.5q-376 -375 -391 -390q-30 -27 -45 -41.5t-37.5 -41t-32 -46.5t-16 -47.5t-1.5 -56.5q9 -62 53.5 -95t99.5 -33q74 0 125 51l548 548 q36 36 20 75q-7 16 -21.5 26t-32.5 10q-26 0 -50 -23q-13 -12 -39 -38l-341 -338q-15 -15 -35.5 -15.5t-34.5 13.5t-14 34.5t14 34.5q327 333 361 367q35 35 67.5 51.5t78.5 16.5q14 0 29 -1q44 -8 74.5 -35.5t43.5 -68.5q14 -47 2 -96.5t-47 -84.5q-12 -11 -32 -32 t-79.5 -81t-114.5 -115t-124.5 -123.5t-123 -119.5t-96.5 -89t-57 -45q-56 -27 -120 -27q-70 0 -129 32t-93 89q-48 78 -35 173t81 163l511 511q71 72 111 96q91 55 198 55q80 0 152 -33q78 -36 129.5 -103t66.5 -154q17 -93 -11 -183.5t-94 -156.5l-482 -476 q-15 -15 -36 -16t-37 14t-17.5 34t14.5 35z" />
-<glyph unicode="&#xe143;" d="M649 949q48 68 109.5 104t121.5 38.5t118.5 -20t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-150 152.5t-126.5 127.5t-93.5 124.5t-33.5 117.5q0 64 28 123t73 100.5t104 64t119 20 t120.5 -38.5t104.5 -104zM896 972q-33 0 -64.5 -19t-56.5 -46t-47.5 -53.5t-43.5 -45.5t-37.5 -19t-36 19t-40 45.5t-43 53.5t-54 46t-65.5 19q-67 0 -122.5 -55.5t-55.5 -132.5q0 -23 13.5 -51t46 -65t57.5 -63t76 -75l22 -22q15 -14 44 -44t50.5 -51t46 -44t41 -35t23 -12 t23.5 12t42.5 36t46 44t52.5 52t44 43q4 4 12 13q43 41 63.5 62t52 55t46 55t26 46t11.5 44q0 79 -53 133.5t-120 54.5z" />
-<glyph unicode="&#xe144;" d="M776.5 1214q93.5 0 159.5 -66l141 -141q66 -66 66 -160q0 -42 -28 -95.5t-62 -87.5l-29 -29q-31 53 -77 99l-18 18l95 95l-247 248l-389 -389l212 -212l-105 -106l-19 18l-141 141q-66 66 -66 159t66 159l283 283q65 66 158.5 66zM600 706l105 105q10 -8 19 -17l141 -141 q66 -66 66 -159t-66 -159l-283 -283q-66 -66 -159 -66t-159 66l-141 141q-66 66 -66 159.5t66 159.5l55 55q29 -55 75 -102l18 -17l-95 -95l247 -248l389 389z" />
-<glyph unicode="&#xe145;" d="M603 1200q85 0 162 -15t127 -38t79 -48t29 -46v-953q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-41 0 -70.5 29.5t-29.5 70.5v953q0 21 30 46.5t81 48t129 37.5t163 15zM300 1000v-700h600v700h-600zM600 254q-43 0 -73.5 -30.5t-30.5 -73.5t30.5 -73.5t73.5 -30.5t73.5 30.5 t30.5 73.5t-30.5 73.5t-73.5 30.5z" />
-<glyph unicode="&#xe146;" d="M902 1185l283 -282q15 -15 15 -36t-14.5 -35.5t-35.5 -14.5t-35 15l-36 35l-279 -267v-300l-212 210l-308 -307l-280 -203l203 280l307 308l-210 212h300l267 279l-35 36q-15 14 -15 35t14.5 35.5t35.5 14.5t35 -15z" />
-<glyph unicode="&#xe148;" d="M700 1248v-78q38 -5 72.5 -14.5t75.5 -31.5t71 -53.5t52 -84t24 -118.5h-159q-4 36 -10.5 59t-21 45t-40 35.5t-64.5 20.5v-307l64 -13q34 -7 64 -16.5t70 -32t67.5 -52.5t47.5 -80t20 -112q0 -139 -89 -224t-244 -97v-77h-100v79q-150 16 -237 103q-40 40 -52.5 93.5 t-15.5 139.5h139q5 -77 48.5 -126t117.5 -65v335l-27 8q-46 14 -79 26.5t-72 36t-63 52t-40 72.5t-16 98q0 70 25 126t67.5 92t94.5 57t110 27v77h100zM600 754v274q-29 -4 -50 -11t-42 -21.5t-31.5 -41.5t-10.5 -65q0 -29 7 -50.5t16.5 -34t28.5 -22.5t31.5 -14t37.5 -10 q9 -3 13 -4zM700 547v-310q22 2 42.5 6.5t45 15.5t41.5 27t29 42t12 59.5t-12.5 59.5t-38 44.5t-53 31t-66.5 24.5z" />
-<glyph unicode="&#xe149;" d="M561 1197q84 0 160.5 -40t123.5 -109.5t47 -147.5h-153q0 40 -19.5 71.5t-49.5 48.5t-59.5 26t-55.5 9q-37 0 -79 -14.5t-62 -35.5q-41 -44 -41 -101q0 -26 13.5 -63t26.5 -61t37 -66q6 -9 9 -14h241v-100h-197q8 -50 -2.5 -115t-31.5 -95q-45 -62 -99 -112 q34 10 83 17.5t71 7.5q32 1 102 -16t104 -17q83 0 136 30l50 -147q-31 -19 -58 -30.5t-55 -15.5t-42 -4.5t-46 -0.5q-23 0 -76 17t-111 32.5t-96 11.5q-39 -3 -82 -16t-67 -25l-23 -11l-55 145q4 3 16 11t15.5 10.5t13 9t15.5 12t14.5 14t17.5 18.5q48 55 54 126.5 t-30 142.5h-221v100h166q-23 47 -44 104q-7 20 -12 41.5t-6 55.5t6 66.5t29.5 70.5t58.5 71q97 88 263 88z" />
-<glyph unicode="&#xe150;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM935 1184l230 -249q14 -14 10 -24.5t-25 -10.5h-150v-900h-200v900h-150q-21 0 -25 10.5t10 24.5l230 249q14 15 35 15t35 -15z" />
-<glyph unicode="&#xe151;" d="M1000 700h-100v100h-100v-100h-100v500h300v-500zM400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM801 1100v-200h100v200h-100zM1000 350l-200 -250h200v-100h-300v150l200 250h-200v100h300v-150z " />
-<glyph unicode="&#xe152;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1000 1050l-200 -250h200v-100h-300v150l200 250h-200v100h300v-150zM1000 0h-100v100h-100v-100h-100v500h300v-500zM801 400v-200h100v200h-100z " />
-<glyph unicode="&#xe153;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1000 700h-100v400h-100v100h200v-500zM1100 0h-100v100h-200v400h300v-500zM901 400v-200h100v200h-100z" />
-<glyph unicode="&#xe154;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1100 700h-100v100h-200v400h300v-500zM901 1100v-200h100v200h-100zM1000 0h-100v400h-100v100h200v-500z" />
-<glyph unicode="&#xe155;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM900 1000h-200v200h200v-200zM1000 700h-300v200h300v-200zM1100 400h-400v200h400v-200zM1200 100h-500v200h500v-200z" />
-<glyph unicode="&#xe156;" d="M400 300h150q21 0 25 -11t-10 -25l-230 -250q-14 -15 -35 -15t-35 15l-230 250q-14 14 -10 25t25 11h150v900h200v-900zM1200 1000h-500v200h500v-200zM1100 700h-400v200h400v-200zM1000 400h-300v200h300v-200zM900 100h-200v200h200v-200z" />
-<glyph unicode="&#xe157;" d="M350 1100h400q162 0 256 -93.5t94 -256.5v-400q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5z" />
-<glyph unicode="&#xe158;" d="M350 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-163 0 -256.5 92.5t-93.5 257.5v400q0 163 94 256.5t256 93.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM440 770l253 -190q17 -12 17 -30t-17 -30l-253 -190q-16 -12 -28 -6.5t-12 26.5v400q0 21 12 26.5t28 -6.5z" />
-<glyph unicode="&#xe159;" d="M350 1100h400q163 0 256.5 -94t93.5 -256v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 163 92.5 256.5t257.5 93.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM350 700h400q21 0 26.5 -12t-6.5 -28l-190 -253q-12 -17 -30 -17t-30 17l-190 253q-12 16 -6.5 28t26.5 12z" />
-<glyph unicode="&#xe160;" d="M350 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -163 -92.5 -256.5t-257.5 -93.5h-400q-163 0 -256.5 94t-93.5 256v400q0 165 92.5 257.5t257.5 92.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5 v500q0 41 -29.5 70.5t-70.5 29.5zM580 693l190 -253q12 -16 6.5 -28t-26.5 -12h-400q-21 0 -26.5 12t6.5 28l190 253q12 17 30 17t30 -17z" />
-<glyph unicode="&#xe161;" d="M550 1100h400q165 0 257.5 -92.5t92.5 -257.5v-400q0 -165 -92.5 -257.5t-257.5 -92.5h-400q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h450q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-450q-21 0 -35.5 14.5t-14.5 35.5v100 q0 21 14.5 35.5t35.5 14.5zM338 867l324 -284q16 -14 16 -33t-16 -33l-324 -284q-16 -14 -27 -9t-11 26v150h-250q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h250v150q0 21 11 26t27 -9z" />
-<glyph unicode="&#xe162;" d="M793 1182l9 -9q8 -10 5 -27q-3 -11 -79 -225.5t-78 -221.5l300 1q24 0 32.5 -17.5t-5.5 -35.5q-1 0 -133.5 -155t-267 -312.5t-138.5 -162.5q-12 -15 -26 -15h-9l-9 8q-9 11 -4 32q2 9 42 123.5t79 224.5l39 110h-302q-23 0 -31 19q-10 21 6 41q75 86 209.5 237.5 t228 257t98.5 111.5q9 16 25 16h9z" />
-<glyph unicode="&#xe163;" d="M350 1100h400q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-450q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h450q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400 q0 165 92.5 257.5t257.5 92.5zM938 867l324 -284q16 -14 16 -33t-16 -33l-324 -284q-16 -14 -27 -9t-11 26v150h-250q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h250v150q0 21 11 26t27 -9z" />
-<glyph unicode="&#xe164;" d="M750 1200h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -10.5 -25t-24.5 10l-109 109l-312 -312q-15 -15 -35.5 -15t-35.5 15l-141 141q-15 15 -15 35.5t15 35.5l312 312l-109 109q-14 14 -10 24.5t25 10.5zM456 900h-156q-41 0 -70.5 -29.5t-29.5 -70.5v-500 q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v148l200 200v-298q0 -165 -93.5 -257.5t-256.5 -92.5h-400q-165 0 -257.5 92.5t-92.5 257.5v400q0 165 92.5 257.5t257.5 92.5h300z" />
-<glyph unicode="&#xe165;" d="M600 1186q119 0 227.5 -46.5t187 -125t125 -187t46.5 -227.5t-46.5 -227.5t-125 -187t-187 -125t-227.5 -46.5t-227.5 46.5t-187 125t-125 187t-46.5 227.5t46.5 227.5t125 187t187 125t227.5 46.5zM600 1022q-115 0 -212 -56.5t-153.5 -153.5t-56.5 -212t56.5 -212 t153.5 -153.5t212 -56.5t212 56.5t153.5 153.5t56.5 212t-56.5 212t-153.5 153.5t-212 56.5zM600 794q80 0 137 -57t57 -137t-57 -137t-137 -57t-137 57t-57 137t57 137t137 57z" />
-<glyph unicode="&#xe166;" d="M450 1200h200q21 0 35.5 -14.5t14.5 -35.5v-350h245q20 0 25 -11t-9 -26l-383 -426q-14 -15 -33.5 -15t-32.5 15l-379 426q-13 15 -8.5 26t25.5 11h250v350q0 21 14.5 35.5t35.5 14.5zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5z M900 200v-50h100v50h-100z" />
-<glyph unicode="&#xe167;" d="M583 1182l378 -435q14 -15 9 -31t-26 -16h-244v-250q0 -20 -17 -35t-39 -15h-200q-20 0 -32 14.5t-12 35.5v250h-250q-20 0 -25.5 16.5t8.5 31.5l383 431q14 16 33.5 17t33.5 -14zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5z M900 200v-50h100v50h-100z" />
-<glyph unicode="&#xe168;" d="M396 723l369 369q7 7 17.5 7t17.5 -7l139 -139q7 -8 7 -18.5t-7 -17.5l-525 -525q-7 -8 -17.5 -8t-17.5 8l-292 291q-7 8 -7 18t7 18l139 139q8 7 18.5 7t17.5 -7zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50 h-100z" />
-<glyph unicode="&#xe169;" d="M135 1023l142 142q14 14 35 14t35 -14l77 -77l-212 -212l-77 76q-14 15 -14 36t14 35zM655 855l210 210q14 14 24.5 10t10.5 -25l-2 -599q-1 -20 -15.5 -35t-35.5 -15l-597 -1q-21 0 -25 10.5t10 24.5l208 208l-154 155l212 212zM50 300h1000q21 0 35.5 -14.5t14.5 -35.5 v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50h-100z" />
-<glyph unicode="&#xe170;" d="M350 1200l599 -2q20 -1 35 -15.5t15 -35.5l1 -597q0 -21 -10.5 -25t-24.5 10l-208 208l-155 -154l-212 212l155 154l-210 210q-14 14 -10 24.5t25 10.5zM524 512l-76 -77q-15 -14 -36 -14t-35 14l-142 142q-14 14 -14 35t14 35l77 77zM50 300h1000q21 0 35.5 -14.5 t14.5 -35.5v-250h-1100v250q0 21 14.5 35.5t35.5 14.5zM900 200v-50h100v50h-100z" />
-<glyph unicode="&#xe171;" d="M1200 103l-483 276l-314 -399v423h-399l1196 796v-1096zM483 424v-230l683 953z" />
-<glyph unicode="&#xe172;" d="M1100 1000v-850q0 -21 -14.5 -35.5t-35.5 -14.5h-150v400h-700v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200z" />
-<glyph unicode="&#xe173;" d="M1100 1000l-2 -149l-299 -299l-95 95q-9 9 -21.5 9t-21.5 -9l-149 -147h-312v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM1132 638l106 -106q7 -7 7 -17.5t-7 -17.5l-420 -421q-8 -7 -18 -7 t-18 7l-202 203q-8 7 -8 17.5t8 17.5l106 106q7 8 17.5 8t17.5 -8l79 -79l297 297q7 7 17.5 7t17.5 -7z" />
-<glyph unicode="&#xe174;" d="M1100 1000v-269l-103 -103l-134 134q-15 15 -33.5 16.5t-34.5 -12.5l-266 -266h-329v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM1202 572l70 -70q15 -15 15 -35.5t-15 -35.5l-131 -131 l131 -131q15 -15 15 -35.5t-15 -35.5l-70 -70q-15 -15 -35.5 -15t-35.5 15l-131 131l-131 -131q-15 -15 -35.5 -15t-35.5 15l-70 70q-15 15 -15 35.5t15 35.5l131 131l-131 131q-15 15 -15 35.5t15 35.5l70 70q15 15 35.5 15t35.5 -15l131 -131l131 131q15 15 35.5 15 t35.5 -15z" />
-<glyph unicode="&#xe175;" d="M1100 1000v-300h-350q-21 0 -35.5 -14.5t-14.5 -35.5v-150h-500v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM850 600h100q21 0 35.5 -14.5t14.5 -35.5v-250h150q21 0 25 -10.5t-10 -24.5 l-230 -230q-14 -14 -35 -14t-35 14l-230 230q-14 14 -10 24.5t25 10.5h150v250q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe176;" d="M1100 1000v-400l-165 165q-14 15 -35 15t-35 -15l-263 -265h-402v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1000h-100v200h100v-200zM935 565l230 -229q14 -15 10 -25.5t-25 -10.5h-150v-250q0 -20 -14.5 -35 t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35v250h-150q-21 0 -25 10.5t10 25.5l230 229q14 15 35 15t35 -15z" />
-<glyph unicode="&#xe177;" d="M50 1100h1100q21 0 35.5 -14.5t14.5 -35.5v-150h-1200v150q0 21 14.5 35.5t35.5 14.5zM1200 800v-550q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v550h1200zM100 500v-200h400v200h-400z" />
-<glyph unicode="&#xe178;" d="M935 1165l248 -230q14 -14 14 -35t-14 -35l-248 -230q-14 -14 -24.5 -10t-10.5 25v150h-400v200h400v150q0 21 10.5 25t24.5 -10zM200 800h-50q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v-200zM400 800h-100v200h100v-200zM18 435l247 230 q14 14 24.5 10t10.5 -25v-150h400v-200h-400v-150q0 -21 -10.5 -25t-24.5 10l-247 230q-15 14 -15 35t15 35zM900 300h-100v200h100v-200zM1000 500h51q20 0 34.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-34.5 -14.5h-51v200z" />
-<glyph unicode="&#xe179;" d="M862 1073l276 116q25 18 43.5 8t18.5 -41v-1106q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v397q-4 1 -11 5t-24 17.5t-30 29t-24 42t-11 56.5v359q0 31 18.5 65t43.5 52zM550 1200q22 0 34.5 -12.5t14.5 -24.5l1 -13v-450q0 -28 -10.5 -59.5 t-25 -56t-29 -45t-25.5 -31.5l-10 -11v-447q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v447q-4 4 -11 11.5t-24 30.5t-30 46t-24 55t-11 60v450q0 2 0.5 5.5t4 12t8.5 15t14.5 12t22.5 5.5q20 0 32.5 -12.5t14.5 -24.5l3 -13v-350h100v350v5.5t2.5 12 t7 15t15 12t25.5 5.5q23 0 35.5 -12.5t13.5 -24.5l1 -13v-350h100v350q0 2 0.5 5.5t3 12t7 15t15 12t24.5 5.5z" />
-<glyph unicode="&#xe180;" d="M1200 1100v-56q-4 0 -11 -0.5t-24 -3t-30 -7.5t-24 -15t-11 -24v-888q0 -22 25 -34.5t50 -13.5l25 -2v-56h-400v56q75 0 87.5 6.5t12.5 43.5v394h-500v-394q0 -37 12.5 -43.5t87.5 -6.5v-56h-400v56q4 0 11 0.5t24 3t30 7.5t24 15t11 24v888q0 22 -25 34.5t-50 13.5 l-25 2v56h400v-56q-75 0 -87.5 -6.5t-12.5 -43.5v-394h500v394q0 37 -12.5 43.5t-87.5 6.5v56h400z" />
-<glyph unicode="&#xe181;" d="M675 1000h375q21 0 35.5 -14.5t14.5 -35.5v-150h-105l-295 -98v98l-200 200h-400l100 100h375zM100 900h300q41 0 70.5 -29.5t29.5 -70.5v-500q0 -41 -29.5 -70.5t-70.5 -29.5h-300q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5zM100 800v-200h300v200 h-300zM1100 535l-400 -133v163l400 133v-163zM100 500v-200h300v200h-300zM1100 398v-248q0 -21 -14.5 -35.5t-35.5 -14.5h-375l-100 -100h-375l-100 100h400l200 200h105z" />
-<glyph unicode="&#xe182;" d="M17 1007l162 162q17 17 40 14t37 -22l139 -194q14 -20 11 -44.5t-20 -41.5l-119 -118q102 -142 228 -268t267 -227l119 118q17 17 42.5 19t44.5 -12l192 -136q19 -14 22.5 -37.5t-13.5 -40.5l-163 -162q-3 -1 -9.5 -1t-29.5 2t-47.5 6t-62.5 14.5t-77.5 26.5t-90 42.5 t-101.5 60t-111 83t-119 108.5q-74 74 -133.5 150.5t-94.5 138.5t-60 119.5t-34.5 100t-15 74.5t-4.5 48z" />
-<glyph unicode="&#xe183;" d="M600 1100q92 0 175 -10.5t141.5 -27t108.5 -36.5t81.5 -40t53.5 -37t31 -27l9 -10v-200q0 -21 -14.5 -33t-34.5 -9l-202 34q-20 3 -34.5 20t-14.5 38v146q-141 24 -300 24t-300 -24v-146q0 -21 -14.5 -38t-34.5 -20l-202 -34q-20 -3 -34.5 9t-14.5 33v200q3 4 9.5 10.5 t31 26t54 37.5t80.5 39.5t109 37.5t141 26.5t175 10.5zM600 795q56 0 97 -9.5t60 -23.5t30 -28t12 -24l1 -10v-50l365 -303q14 -15 24.5 -40t10.5 -45v-212q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v212q0 20 10.5 45t24.5 40l365 303v50 q0 4 1 10.5t12 23t30 29t60 22.5t97 10z" />
-<glyph unicode="&#xe184;" d="M1100 700l-200 -200h-600l-200 200v500h200v-200h200v200h200v-200h200v200h200v-500zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-12l137 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5 t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe185;" d="M700 1100h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-1000h300v1000q0 41 -29.5 70.5t-70.5 29.5zM1100 800h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-700h300v700q0 41 -29.5 70.5t-70.5 29.5zM400 0h-300v400q0 41 29.5 70.5t70.5 29.5h100q41 0 70.5 -29.5t29.5 -70.5v-400z " />
-<glyph unicode="&#xe186;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-100h200v-300h-300v100h200v100h-200v300h300v-100zM900 700v-300l-100 -100h-200v500h200z M700 700v-300h100v300h-100z" />
-<glyph unicode="&#xe187;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 300h-100v200h-100v-200h-100v500h100v-200h100v200h100v-500zM900 700v-300l-100 -100h-200v500h200z M700 700v-300h100v300h-100z" />
-<glyph unicode="&#xe188;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-300h200v-100h-300v500h300v-100zM900 700h-200v-300h200v-100h-300v500h300v-100z" />
-<glyph unicode="&#xe189;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 400l-300 150l300 150v-300zM900 550l-300 -150v300z" />
-<glyph unicode="&#xe190;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM900 300h-700v500h700v-500zM800 700h-130q-38 0 -66.5 -43t-28.5 -108t27 -107t68 -42h130v300zM300 700v-300 h130q41 0 68 42t27 107t-28.5 108t-66.5 43h-130z" />
-<glyph unicode="&#xe191;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 700h-200v-100h200v-300h-300v100h200v100h-200v300h300v-100zM900 300h-100v400h-100v100h200v-500z M700 300h-100v100h100v-100z" />
-<glyph unicode="&#xe192;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM300 700h200v-400h-300v500h100v-100zM900 300h-100v400h-100v100h200v-500zM300 600v-200h100v200h-100z M700 300h-100v100h100v-100z" />
-<glyph unicode="&#xe193;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM100 900v-700h900v700h-900zM500 500l-199 -200h-100v50l199 200v150h-200v100h300v-300zM900 300h-100v400h-100v100h200v-500zM701 300h-100 v100h100v-100z" />
-<glyph unicode="&#xe194;" d="M600 1191q120 0 229.5 -47t188.5 -126t126 -188.5t47 -229.5t-47 -229.5t-126 -188.5t-188.5 -126t-229.5 -47t-229.5 47t-188.5 126t-126 188.5t-47 229.5t47 229.5t126 188.5t188.5 126t229.5 47zM600 1021q-114 0 -211 -56.5t-153.5 -153.5t-56.5 -211t56.5 -211 t153.5 -153.5t211 -56.5t211 56.5t153.5 153.5t56.5 211t-56.5 211t-153.5 153.5t-211 56.5zM800 700h-300v-200h300v-100h-300l-100 100v200l100 100h300v-100z" />
-<glyph unicode="&#xe195;" d="M600 1191q120 0 229.5 -47t188.5 -126t126 -188.5t47 -229.5t-47 -229.5t-126 -188.5t-188.5 -126t-229.5 -47t-229.5 47t-188.5 126t-126 188.5t-47 229.5t47 229.5t126 188.5t188.5 126t229.5 47zM600 1021q-114 0 -211 -56.5t-153.5 -153.5t-56.5 -211t56.5 -211 t153.5 -153.5t211 -56.5t211 56.5t153.5 153.5t56.5 211t-56.5 211t-153.5 153.5t-211 56.5zM800 700v-100l-50 -50l100 -100v-50h-100l-100 100h-150v-100h-100v400h300zM500 700v-100h200v100h-200z" />
-<glyph unicode="&#xe197;" d="M503 1089q110 0 200.5 -59.5t134.5 -156.5q44 14 90 14q120 0 205 -86.5t85 -207t-85 -207t-205 -86.5h-128v250q0 21 -14.5 35.5t-35.5 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-250h-222q-80 0 -136 57.5t-56 136.5q0 69 43 122.5t108 67.5q-2 19 -2 37q0 100 49 185 t134 134t185 49zM525 500h150q10 0 17.5 -7.5t7.5 -17.5v-275h137q21 0 26 -11.5t-8 -27.5l-223 -244q-13 -16 -32 -16t-32 16l-223 244q-13 16 -8 27.5t26 11.5h137v275q0 10 7.5 17.5t17.5 7.5z" />
-<glyph unicode="&#xe198;" d="M502 1089q110 0 201 -59.5t135 -156.5q43 15 89 15q121 0 206 -86.5t86 -206.5q0 -99 -60 -181t-150 -110l-378 360q-13 16 -31.5 16t-31.5 -16l-381 -365h-9q-79 0 -135.5 57.5t-56.5 136.5q0 69 43 122.5t108 67.5q-2 19 -2 38q0 100 49 184.5t133.5 134t184.5 49.5z M632 467l223 -228q13 -16 8 -27.5t-26 -11.5h-137v-275q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v275h-137q-21 0 -26 11.5t8 27.5q199 204 223 228q19 19 31.5 19t32.5 -19z" />
-<glyph unicode="&#xe199;" d="M700 100v100h400l-270 300h170l-270 300h170l-300 333l-300 -333h170l-270 -300h170l-270 -300h400v-100h-50q-21 0 -35.5 -14.5t-14.5 -35.5v-50h400v50q0 21 -14.5 35.5t-35.5 14.5h-50z" />
-<glyph unicode="&#xe200;" d="M600 1179q94 0 167.5 -56.5t99.5 -145.5q89 -6 150.5 -71.5t61.5 -155.5q0 -61 -29.5 -112.5t-79.5 -82.5q9 -29 9 -55q0 -74 -52.5 -126.5t-126.5 -52.5q-55 0 -100 30v-251q21 0 35.5 -14.5t14.5 -35.5v-50h-300v50q0 21 14.5 35.5t35.5 14.5v251q-45 -30 -100 -30 q-74 0 -126.5 52.5t-52.5 126.5q0 18 4 38q-47 21 -75.5 65t-28.5 97q0 74 52.5 126.5t126.5 52.5q5 0 23 -2q0 2 -1 10t-1 13q0 116 81.5 197.5t197.5 81.5z" />
-<glyph unicode="&#xe201;" d="M1010 1010q111 -111 150.5 -260.5t0 -299t-150.5 -260.5q-83 -83 -191.5 -126.5t-218.5 -43.5t-218.5 43.5t-191.5 126.5q-111 111 -150.5 260.5t0 299t150.5 260.5q83 83 191.5 126.5t218.5 43.5t218.5 -43.5t191.5 -126.5zM476 1065q-4 0 -8 -1q-121 -34 -209.5 -122.5 t-122.5 -209.5q-4 -12 2.5 -23t18.5 -14l36 -9q3 -1 7 -1q23 0 29 22q27 96 98 166q70 71 166 98q11 3 17.5 13.5t3.5 22.5l-9 35q-3 13 -14 19q-7 4 -15 4zM512 920q-4 0 -9 -2q-80 -24 -138.5 -82.5t-82.5 -138.5q-4 -13 2 -24t19 -14l34 -9q4 -1 8 -1q22 0 28 21 q18 58 58.5 98.5t97.5 58.5q12 3 18 13.5t3 21.5l-9 35q-3 12 -14 19q-7 4 -15 4zM719.5 719.5q-49.5 49.5 -119.5 49.5t-119.5 -49.5t-49.5 -119.5t49.5 -119.5t119.5 -49.5t119.5 49.5t49.5 119.5t-49.5 119.5zM855 551q-22 0 -28 -21q-18 -58 -58.5 -98.5t-98.5 -57.5 q-11 -4 -17 -14.5t-3 -21.5l9 -35q3 -12 14 -19q7 -4 15 -4q4 0 9 2q80 24 138.5 82.5t82.5 138.5q4 13 -2.5 24t-18.5 14l-34 9q-4 1 -8 1zM1000 515q-23 0 -29 -22q-27 -96 -98 -166q-70 -71 -166 -98q-11 -3 -17.5 -13.5t-3.5 -22.5l9 -35q3 -13 14 -19q7 -4 15 -4 q4 0 8 1q121 34 209.5 122.5t122.5 209.5q4 12 -2.5 23t-18.5 14l-36 9q-3 1 -7 1z" />
-<glyph unicode="&#xe202;" d="M700 800h300v-380h-180v200h-340v-200h-380v755q0 10 7.5 17.5t17.5 7.5h575v-400zM1000 900h-200v200zM700 300h162l-212 -212l-212 212h162v200h100v-200zM520 0h-395q-10 0 -17.5 7.5t-7.5 17.5v395zM1000 220v-195q0 -10 -7.5 -17.5t-17.5 -7.5h-195z" />
-<glyph unicode="&#xe203;" d="M700 800h300v-520l-350 350l-550 -550v1095q0 10 7.5 17.5t17.5 7.5h575v-400zM1000 900h-200v200zM862 200h-162v-200h-100v200h-162l212 212zM480 0h-355q-10 0 -17.5 7.5t-7.5 17.5v55h380v-80zM1000 80v-55q0 -10 -7.5 -17.5t-17.5 -7.5h-155v80h180z" />
-<glyph unicode="&#xe204;" d="M1162 800h-162v-200h100l100 -100h-300v300h-162l212 212zM200 800h200q27 0 40 -2t29.5 -10.5t23.5 -30t7 -57.5h300v-100h-600l-200 -350v450h100q0 36 7 57.5t23.5 30t29.5 10.5t40 2zM800 400h240l-240 -400h-800l300 500h500v-100z" />
-<glyph unicode="&#xe205;" d="M650 1100h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5zM1000 850v150q41 0 70.5 -29.5t29.5 -70.5v-800 q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-1 0 -20 4l246 246l-326 326v324q0 41 29.5 70.5t70.5 29.5v-150q0 -62 44 -106t106 -44h300q62 0 106 44t44 106zM412 250l-212 -212v162h-200v100h200v162z" />
-<glyph unicode="&#xe206;" d="M450 1100h100q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-300q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h50v50q0 21 14.5 35.5t35.5 14.5zM800 850v150q41 0 70.5 -29.5t29.5 -70.5v-500 h-200v-300h200q0 -36 -7 -57.5t-23.5 -30t-29.5 -10.5t-40 -2h-600q-41 0 -70.5 29.5t-29.5 70.5v800q0 41 29.5 70.5t70.5 29.5v-150q0 -62 44 -106t106 -44h300q62 0 106 44t44 106zM1212 250l-212 -212v162h-200v100h200v162z" />
-<glyph unicode="&#xe209;" d="M658 1197l637 -1104q23 -38 7 -65.5t-60 -27.5h-1276q-44 0 -60 27.5t7 65.5l637 1104q22 39 54 39t54 -39zM704 800h-208q-20 0 -32 -14.5t-8 -34.5l58 -302q4 -20 21.5 -34.5t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5l58 302q4 20 -8 34.5t-32 14.5zM500 300v-100h200 v100h-200z" />
-<glyph unicode="&#xe210;" d="M425 1100h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM425 800h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5 t17.5 7.5zM825 800h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM25 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150 q0 10 7.5 17.5t17.5 7.5zM425 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM825 500h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5 v150q0 10 7.5 17.5t17.5 7.5zM25 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM425 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5 t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM825 200h250q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-250q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />
-<glyph unicode="&#xe211;" d="M700 1200h100v-200h-100v-100h350q62 0 86.5 -39.5t-3.5 -94.5l-66 -132q-41 -83 -81 -134h-772q-40 51 -81 134l-66 132q-28 55 -3.5 94.5t86.5 39.5h350v100h-100v200h100v100h200v-100zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-12l137 -100 h-950l138 100h-13q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe212;" d="M600 1300q40 0 68.5 -29.5t28.5 -70.5h-194q0 41 28.5 70.5t68.5 29.5zM443 1100h314q18 -37 18 -75q0 -8 -3 -25h328q41 0 44.5 -16.5t-30.5 -38.5l-175 -145h-678l-178 145q-34 22 -29 38.5t46 16.5h328q-3 17 -3 25q0 38 18 75zM250 700h700q21 0 35.5 -14.5 t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-150v-200l275 -200h-950l275 200v200h-150q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe213;" d="M600 1181q75 0 128 -53t53 -128t-53 -128t-128 -53t-128 53t-53 128t53 128t128 53zM602 798h46q34 0 55.5 -28.5t21.5 -86.5q0 -76 39 -183h-324q39 107 39 183q0 58 21.5 86.5t56.5 28.5h45zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13 l138 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe214;" d="M600 1300q47 0 92.5 -53.5t71 -123t25.5 -123.5q0 -78 -55.5 -133.5t-133.5 -55.5t-133.5 55.5t-55.5 133.5q0 62 34 143l144 -143l111 111l-163 163q34 26 63 26zM602 798h46q34 0 55.5 -28.5t21.5 -86.5q0 -76 39 -183h-324q39 107 39 183q0 58 21.5 86.5t56.5 28.5h45 zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13l138 -100h-950l137 100h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe215;" d="M600 1200l300 -161v-139h-300q0 -57 18.5 -108t50 -91.5t63 -72t70 -67.5t57.5 -61h-530q-60 83 -90.5 177.5t-30.5 178.5t33 164.5t87.5 139.5t126 96.5t145.5 41.5v-98zM250 400h700q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-13l138 -100h-950l137 100 h-12q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5zM50 100h1100q21 0 35.5 -14.5t14.5 -35.5v-50h-1200v50q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe216;" d="M600 1300q41 0 70.5 -29.5t29.5 -70.5v-78q46 -26 73 -72t27 -100v-50h-400v50q0 54 27 100t73 72v78q0 41 29.5 70.5t70.5 29.5zM400 800h400q54 0 100 -27t72 -73h-172v-100h200v-100h-200v-100h200v-100h-200v-100h200q0 -83 -58.5 -141.5t-141.5 -58.5h-400 q-83 0 -141.5 58.5t-58.5 141.5v400q0 83 58.5 141.5t141.5 58.5z" />
-<glyph unicode="&#xe218;" d="M150 1100h900q21 0 35.5 -14.5t14.5 -35.5v-500q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v500q0 21 14.5 35.5t35.5 14.5zM125 400h950q10 0 17.5 -7.5t7.5 -17.5v-50q0 -10 -7.5 -17.5t-17.5 -7.5h-283l224 -224q13 -13 13 -31.5t-13 -32 t-31.5 -13.5t-31.5 13l-88 88h-524l-87 -88q-13 -13 -32 -13t-32 13.5t-13 32t13 31.5l224 224h-289q-10 0 -17.5 7.5t-7.5 17.5v50q0 10 7.5 17.5t17.5 7.5zM541 300l-100 -100h324l-100 100h-124z" />
-<glyph unicode="&#xe219;" d="M200 1100h800q83 0 141.5 -58.5t58.5 -141.5v-200h-100q0 41 -29.5 70.5t-70.5 29.5h-250q-41 0 -70.5 -29.5t-29.5 -70.5h-100q0 41 -29.5 70.5t-70.5 29.5h-250q-41 0 -70.5 -29.5t-29.5 -70.5h-100v200q0 83 58.5 141.5t141.5 58.5zM100 600h1000q41 0 70.5 -29.5 t29.5 -70.5v-300h-1200v300q0 41 29.5 70.5t70.5 29.5zM300 100v-50q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v50h200zM1100 100v-50q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v50h200z" />
-<glyph unicode="&#xe221;" d="M480 1165l682 -683q31 -31 31 -75.5t-31 -75.5l-131 -131h-481l-517 518q-32 31 -32 75.5t32 75.5l295 296q31 31 75.5 31t76.5 -31zM108 794l342 -342l303 304l-341 341zM250 100h800q21 0 35.5 -14.5t14.5 -35.5v-50h-900v50q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe223;" d="M1057 647l-189 506q-8 19 -27.5 33t-40.5 14h-400q-21 0 -40.5 -14t-27.5 -33l-189 -506q-8 -19 1.5 -33t30.5 -14h625v-150q0 -21 14.5 -35.5t35.5 -14.5t35.5 14.5t14.5 35.5v150h125q21 0 30.5 14t1.5 33zM897 0h-595v50q0 21 14.5 35.5t35.5 14.5h50v50 q0 21 14.5 35.5t35.5 14.5h48v300h200v-300h47q21 0 35.5 -14.5t14.5 -35.5v-50h50q21 0 35.5 -14.5t14.5 -35.5v-50z" />
-<glyph unicode="&#xe224;" d="M900 800h300v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-375v591l-300 300v84q0 10 7.5 17.5t17.5 7.5h375v-400zM1200 900h-200v200zM400 600h300v-575q0 -10 -7.5 -17.5t-17.5 -7.5h-650q-10 0 -17.5 7.5t-7.5 17.5v950q0 10 7.5 17.5t17.5 7.5h375v-400zM700 700h-200v200z " />
-<glyph unicode="&#xe225;" d="M484 1095h195q75 0 146 -32.5t124 -86t89.5 -122.5t48.5 -142q18 -14 35 -20q31 -10 64.5 6.5t43.5 48.5q10 34 -15 71q-19 27 -9 43q5 8 12.5 11t19 -1t23.5 -16q41 -44 39 -105q-3 -63 -46 -106.5t-104 -43.5h-62q-7 -55 -35 -117t-56 -100l-39 -234q-3 -20 -20 -34.5 t-38 -14.5h-100q-21 0 -33 14.5t-9 34.5l12 70q-49 -14 -91 -14h-195q-24 0 -65 8l-11 -64q-3 -20 -20 -34.5t-38 -14.5h-100q-21 0 -33 14.5t-9 34.5l26 157q-84 74 -128 175l-159 53q-19 7 -33 26t-14 40v50q0 21 14.5 35.5t35.5 14.5h124q11 87 56 166l-111 95 q-16 14 -12.5 23.5t24.5 9.5h203q116 101 250 101zM675 1000h-250q-10 0 -17.5 -7.5t-7.5 -17.5v-50q0 -10 7.5 -17.5t17.5 -7.5h250q10 0 17.5 7.5t7.5 17.5v50q0 10 -7.5 17.5t-17.5 7.5z" />
-<glyph unicode="&#xe226;" d="M641 900l423 247q19 8 42 2.5t37 -21.5l32 -38q14 -15 12.5 -36t-17.5 -34l-139 -120h-390zM50 1100h106q67 0 103 -17t66 -71l102 -212h823q21 0 35.5 -14.5t14.5 -35.5v-50q0 -21 -14 -40t-33 -26l-737 -132q-23 -4 -40 6t-26 25q-42 67 -100 67h-300q-62 0 -106 44 t-44 106v200q0 62 44 106t106 44zM173 928h-80q-19 0 -28 -14t-9 -35v-56q0 -51 42 -51h134q16 0 21.5 8t5.5 24q0 11 -16 45t-27 51q-18 28 -43 28zM550 727q-32 0 -54.5 -22.5t-22.5 -54.5t22.5 -54.5t54.5 -22.5t54.5 22.5t22.5 54.5t-22.5 54.5t-54.5 22.5zM130 389 l152 130q18 19 34 24t31 -3.5t24.5 -17.5t25.5 -28q28 -35 50.5 -51t48.5 -13l63 5l48 -179q13 -61 -3.5 -97.5t-67.5 -79.5l-80 -69q-47 -40 -109 -35.5t-103 51.5l-130 151q-40 47 -35.5 109.5t51.5 102.5zM380 377l-102 -88q-31 -27 2 -65l37 -43q13 -15 27.5 -19.5 t31.5 6.5l61 53q19 16 14 49q-2 20 -12 56t-17 45q-11 12 -19 14t-23 -8z" />
-<glyph unicode="&#xe227;" d="M625 1200h150q10 0 17.5 -7.5t7.5 -17.5v-109q79 -33 131 -87.5t53 -128.5q1 -46 -15 -84.5t-39 -61t-46 -38t-39 -21.5l-17 -6q6 0 15 -1.5t35 -9t50 -17.5t53 -30t50 -45t35.5 -64t14.5 -84q0 -59 -11.5 -105.5t-28.5 -76.5t-44 -51t-49.5 -31.5t-54.5 -16t-49.5 -6.5 t-43.5 -1v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-100v-75q0 -10 -7.5 -17.5t-17.5 -7.5h-150q-10 0 -17.5 7.5t-7.5 17.5v75h-175q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5h75v600h-75q-10 0 -17.5 7.5t-7.5 17.5v150 q0 10 7.5 17.5t17.5 7.5h175v75q0 10 7.5 17.5t17.5 7.5h150q10 0 17.5 -7.5t7.5 -17.5v-75h100v75q0 10 7.5 17.5t17.5 7.5zM400 900v-200h263q28 0 48.5 10.5t30 25t15 29t5.5 25.5l1 10q0 4 -0.5 11t-6 24t-15 30t-30 24t-48.5 11h-263zM400 500v-200h363q28 0 48.5 10.5 t30 25t15 29t5.5 25.5l1 10q0 4 -0.5 11t-6 24t-15 30t-30 24t-48.5 11h-363z" />
-<glyph unicode="&#xe230;" d="M212 1198h780q86 0 147 -61t61 -147v-416q0 -51 -18 -142.5t-36 -157.5l-18 -66q-29 -87 -93.5 -146.5t-146.5 -59.5h-572q-82 0 -147 59t-93 147q-8 28 -20 73t-32 143.5t-20 149.5v416q0 86 61 147t147 61zM600 1045q-70 0 -132.5 -11.5t-105.5 -30.5t-78.5 -41.5 t-57 -45t-36 -41t-20.5 -30.5l-6 -12l156 -243h560l156 243q-2 5 -6 12.5t-20 29.5t-36.5 42t-57 44.5t-79 42t-105 29.5t-132.5 12zM762 703h-157l195 261z" />
-<glyph unicode="&#xe231;" d="M475 1300h150q103 0 189 -86t86 -189v-500q0 -41 -42 -83t-83 -42h-450q-41 0 -83 42t-42 83v500q0 103 86 189t189 86zM700 300v-225q0 -21 -27 -48t-48 -27h-150q-21 0 -48 27t-27 48v225h300z" />
-<glyph unicode="&#xe232;" d="M475 1300h96q0 -150 89.5 -239.5t239.5 -89.5v-446q0 -41 -42 -83t-83 -42h-450q-41 0 -83 42t-42 83v500q0 103 86 189t189 86zM700 300v-225q0 -21 -27 -48t-48 -27h-150q-21 0 -48 27t-27 48v225h300z" />
-<glyph unicode="&#xe233;" d="M1294 767l-638 -283l-378 170l-78 -60v-224l100 -150v-199l-150 148l-150 -149v200l100 150v250q0 4 -0.5 10.5t0 9.5t1 8t3 8t6.5 6l47 40l-147 65l642 283zM1000 380l-350 -166l-350 166v147l350 -165l350 165v-147z" />
-<glyph unicode="&#xe234;" d="M250 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM650 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM1050 800q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44z" />
-<glyph unicode="&#xe235;" d="M550 1100q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM550 700q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44zM550 300q62 0 106 -44t44 -106t-44 -106t-106 -44t-106 44t-44 106t44 106t106 44z" />
-<glyph unicode="&#xe236;" d="M125 1100h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5zM125 700h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5 t17.5 7.5zM125 300h950q10 0 17.5 -7.5t7.5 -17.5v-150q0 -10 -7.5 -17.5t-17.5 -7.5h-950q-10 0 -17.5 7.5t-7.5 17.5v150q0 10 7.5 17.5t17.5 7.5z" />
-<glyph unicode="&#xe237;" d="M350 1200h500q162 0 256 -93.5t94 -256.5v-500q0 -165 -93.5 -257.5t-256.5 -92.5h-500q-165 0 -257.5 92.5t-92.5 257.5v500q0 165 92.5 257.5t257.5 92.5zM900 1000h-600q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h600q41 0 70.5 29.5 t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5zM350 900h500q21 0 35.5 -14.5t14.5 -35.5v-300q0 -21 -14.5 -35.5t-35.5 -14.5h-500q-21 0 -35.5 14.5t-14.5 35.5v300q0 21 14.5 35.5t35.5 14.5zM400 800v-200h400v200h-400z" />
-<glyph unicode="&#xe238;" d="M150 1100h1000q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5t-35.5 -14.5h-50v-200h50q21 0 35.5 -14.5t14.5 -35.5t-14.5 -35.5 t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5h50v200h-50q-21 0 -35.5 14.5t-14.5 35.5t14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe239;" d="M650 1187q87 -67 118.5 -156t0 -178t-118.5 -155q-87 66 -118.5 155t0 178t118.5 156zM300 800q124 0 212 -88t88 -212q-124 0 -212 88t-88 212zM1000 800q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM300 500q124 0 212 -88t88 -212q-124 0 -212 88t-88 212z M1000 500q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM700 199v-144q0 -21 -14.5 -35.5t-35.5 -14.5t-35.5 14.5t-14.5 35.5v142q40 -4 43 -4q17 0 57 6z" />
-<glyph unicode="&#xe240;" d="M745 878l69 19q25 6 45 -12l298 -295q11 -11 15 -26.5t-2 -30.5q-5 -14 -18 -23.5t-28 -9.5h-8q1 0 1 -13q0 -29 -2 -56t-8.5 -62t-20 -63t-33 -53t-51 -39t-72.5 -14h-146q-184 0 -184 288q0 24 10 47q-20 4 -62 4t-63 -4q11 -24 11 -47q0 -288 -184 -288h-142 q-48 0 -84.5 21t-56 51t-32 71.5t-16 75t-3.5 68.5q0 13 2 13h-7q-15 0 -27.5 9.5t-18.5 23.5q-6 15 -2 30.5t15 25.5l298 296q20 18 46 11l76 -19q20 -5 30.5 -22.5t5.5 -37.5t-22.5 -31t-37.5 -5l-51 12l-182 -193h891l-182 193l-44 -12q-20 -5 -37.5 6t-22.5 31t6 37.5 t31 22.5z" />
-<glyph unicode="&#xe241;" d="M1200 900h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-200v-850q0 -22 25 -34.5t50 -13.5l25 -2v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v850h-200q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h1000v-300zM500 450h-25q0 15 -4 24.5t-9 14.5t-17 7.5t-20 3t-25 0.5h-100v-425q0 -11 12.5 -17.5t25.5 -7.5h12v-50h-200v50q50 0 50 25v425h-100q-17 0 -25 -0.5t-20 -3t-17 -7.5t-9 -14.5t-4 -24.5h-25v150h500v-150z" />
-<glyph unicode="&#xe242;" d="M1000 300v50q-25 0 -55 32q-14 14 -25 31t-16 27l-4 11l-289 747h-69l-300 -754q-18 -35 -39 -56q-9 -9 -24.5 -18.5t-26.5 -14.5l-11 -5v-50h273v50q-49 0 -78.5 21.5t-11.5 67.5l69 176h293l61 -166q13 -34 -3.5 -66.5t-55.5 -32.5v-50h312zM412 691l134 342l121 -342 h-255zM1100 150v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5z" />
-<glyph unicode="&#xe243;" d="M50 1200h1100q21 0 35.5 -14.5t14.5 -35.5v-1100q0 -21 -14.5 -35.5t-35.5 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v1100q0 21 14.5 35.5t35.5 14.5zM611 1118h-70q-13 0 -18 -12l-299 -753q-17 -32 -35 -51q-18 -18 -56 -34q-12 -5 -12 -18v-50q0 -8 5.5 -14t14.5 -6 h273q8 0 14 6t6 14v50q0 8 -6 14t-14 6q-55 0 -71 23q-10 14 0 39l63 163h266l57 -153q11 -31 -6 -55q-12 -17 -36 -17q-8 0 -14 -6t-6 -14v-50q0 -8 6 -14t14 -6h313q8 0 14 6t6 14v50q0 7 -5.5 13t-13.5 7q-17 0 -42 25q-25 27 -40 63h-1l-288 748q-5 12 -19 12zM639 611 h-197l103 264z" />
-<glyph unicode="&#xe244;" d="M1200 1100h-1200v100h1200v-100zM50 1000h400q21 0 35.5 -14.5t14.5 -35.5v-900q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v900q0 21 14.5 35.5t35.5 14.5zM650 1000h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM700 900v-300h300v300h-300z" />
-<glyph unicode="&#xe245;" d="M50 1200h400q21 0 35.5 -14.5t14.5 -35.5v-900q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v900q0 21 14.5 35.5t35.5 14.5zM650 700h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5zM700 600v-300h300v300h-300zM1200 0h-1200v100h1200v-100z" />
-<glyph unicode="&#xe246;" d="M50 1000h400q21 0 35.5 -14.5t14.5 -35.5v-350h100v150q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-150h100v-100h-100v-150q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v150h-100v-350q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5v800q0 21 14.5 35.5t35.5 14.5zM700 700v-300h300v300h-300z" />
-<glyph unicode="&#xe247;" d="M100 0h-100v1200h100v-1200zM250 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM300 1000v-300h300v300h-300zM250 500h900q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe248;" d="M600 1100h150q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-150v-100h450q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h350v100h-150q-21 0 -35.5 14.5 t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h150v100h100v-100zM400 1000v-300h300v300h-300z" />
-<glyph unicode="&#xe249;" d="M1200 0h-100v1200h100v-1200zM550 1100h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM600 1000v-300h300v300h-300zM50 500h900q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-900q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5z" />
-<glyph unicode="&#xe250;" d="M865 565l-494 -494q-23 -23 -41 -23q-14 0 -22 13.5t-8 38.5v1000q0 25 8 38.5t22 13.5q18 0 41 -23l494 -494q14 -14 14 -35t-14 -35z" />
-<glyph unicode="&#xe251;" d="M335 635l494 494q29 29 50 20.5t21 -49.5v-1000q0 -41 -21 -49.5t-50 20.5l-494 494q-14 14 -14 35t14 35z" />
-<glyph unicode="&#xe252;" d="M100 900h1000q41 0 49.5 -21t-20.5 -50l-494 -494q-14 -14 -35 -14t-35 14l-494 494q-29 29 -20.5 50t49.5 21z" />
-<glyph unicode="&#xe253;" d="M635 865l494 -494q29 -29 20.5 -50t-49.5 -21h-1000q-41 0 -49.5 21t20.5 50l494 494q14 14 35 14t35 -14z" />
-<glyph unicode="&#xe254;" d="M700 741v-182l-692 -323v221l413 193l-413 193v221zM1200 0h-800v200h800v-200z" />
-<glyph unicode="&#xe255;" d="M1200 900h-200v-100h200v-100h-300v300h200v100h-200v100h300v-300zM0 700h50q0 21 4 37t9.5 26.5t18 17.5t22 11t28.5 5.5t31 2t37 0.5h100v-550q0 -22 -25 -34.5t-50 -13.5l-25 -2v-100h400v100q-4 0 -11 0.5t-24 3t-30 7t-24 15t-11 24.5v550h100q25 0 37 -0.5t31 -2 t28.5 -5.5t22 -11t18 -17.5t9.5 -26.5t4 -37h50v300h-800v-300z" />
-<glyph unicode="&#xe256;" d="M800 700h-50q0 21 -4 37t-9.5 26.5t-18 17.5t-22 11t-28.5 5.5t-31 2t-37 0.5h-100v-550q0 -22 25 -34.5t50 -14.5l25 -1v-100h-400v100q4 0 11 0.5t24 3t30 7t24 15t11 24.5v550h-100q-25 0 -37 -0.5t-31 -2t-28.5 -5.5t-22 -11t-18 -17.5t-9.5 -26.5t-4 -37h-50v300 h800v-300zM1100 200h-200v-100h200v-100h-300v300h200v100h-200v100h300v-300z" />
-<glyph unicode="&#xe257;" d="M701 1098h160q16 0 21 -11t-7 -23l-464 -464l464 -464q12 -12 7 -23t-21 -11h-160q-13 0 -23 9l-471 471q-7 8 -7 18t7 18l471 471q10 9 23 9z" />
-<glyph unicode="&#xe258;" d="M339 1098h160q13 0 23 -9l471 -471q7 -8 7 -18t-7 -18l-471 -471q-10 -9 -23 -9h-160q-16 0 -21 11t7 23l464 464l-464 464q-12 12 -7 23t21 11z" />
-<glyph unicode="&#xe259;" d="M1087 882q11 -5 11 -21v-160q0 -13 -9 -23l-471 -471q-8 -7 -18 -7t-18 7l-471 471q-9 10 -9 23v160q0 16 11 21t23 -7l464 -464l464 464q12 12 23 7z" />
-<glyph unicode="&#xe260;" d="M618 993l471 -471q9 -10 9 -23v-160q0 -16 -11 -21t-23 7l-464 464l-464 -464q-12 -12 -23 -7t-11 21v160q0 13 9 23l471 471q8 7 18 7t18 -7z" />
-<glyph unicode="&#xf8ff;" d="M1000 1200q0 -124 -88 -212t-212 -88q0 124 88 212t212 88zM450 1000h100q21 0 40 -14t26 -33l79 -194q5 1 16 3q34 6 54 9.5t60 7t65.5 1t61 -10t56.5 -23t42.5 -42t29 -64t5 -92t-19.5 -121.5q-1 -7 -3 -19.5t-11 -50t-20.5 -73t-32.5 -81.5t-46.5 -83t-64 -70 t-82.5 -50q-13 -5 -42 -5t-65.5 2.5t-47.5 2.5q-14 0 -49.5 -3.5t-63 -3.5t-43.5 7q-57 25 -104.5 78.5t-75 111.5t-46.5 112t-26 90l-7 35q-15 63 -18 115t4.5 88.5t26 64t39.5 43.5t52 25.5t58.5 13t62.5 2t59.5 -4.5t55.5 -8l-147 192q-12 18 -5.5 30t27.5 12z" />
-<glyph unicode="&#x1f511;" d="M250 1200h600q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-150v-500l-255 -178q-19 -9 -32 -1t-13 29v650h-150q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5zM400 1100v-100h300v100h-300z" />
-<glyph unicode="&#x1f6aa;" d="M250 1200h750q39 0 69.5 -40.5t30.5 -84.5v-933l-700 -117v950l600 125h-700v-1000h-100v1025q0 23 15.5 49t34.5 26zM500 525v-100l100 20v100z" />
-</font>
-</defs></svg> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.ttf b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.ttf
deleted file mode 100644
index 1413fc60..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.ttf
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.woff b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.woff
deleted file mode 100644
index 9e612858..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.woff
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.woff2 b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.woff2
deleted file mode 100644
index 64539b54..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/fonts/glyphicons-halflings-regular.woff2
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/js/bootstrap.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/js/bootstrap.js
deleted file mode 100644
index 89c5c94f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/js/bootstrap.js
+++ /dev/null
@@ -1,1972 +0,0 @@
-/*!
- * Bootstrap v3.1.1 (http://getbootstrap.com)
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-
-if (typeof jQuery === 'undefined') {
- throw new Error('Bootstrap\'s JavaScript requires jQuery')
-}
-
-/* ========================================================================
- * Bootstrap: transition.js v3.1.1
- * http://getbootstrap.com/javascript/#transitions
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
- // ============================================================
-
- function transitionEnd() {
- var el = document.createElement('bootstrap')
-
- var transEndEventNames = {
- 'WebkitTransition': 'webkitTransitionEnd',
- 'MozTransition': 'transitionend',
- 'OTransition': 'oTransitionEnd otransitionend',
- 'transition': 'transitionend'
- }
-
- for (var name in transEndEventNames) {
- if (el.style[name] !== undefined) {
- return {end: transEndEventNames[name]}
- }
- }
-
- return false // explicit for ie8 ( ._.)
- }
-
- // http://blog.alexmaccaw.com/css-transitions
- $.fn.emulateTransitionEnd = function (duration) {
- var called = false, $el = this
- $(this).one($.support.transition.end, function () {
- called = true
- })
- var callback = function () {
- if (!called) $($el).trigger($.support.transition.end)
- }
- setTimeout(callback, duration)
- return this
- }
-
- $(function () {
- $.support.transition = transitionEnd()
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: alert.js v3.1.1
- * http://getbootstrap.com/javascript/#alerts
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // ALERT CLASS DEFINITION
- // ======================
-
- var dismiss = '[data-dismiss="alert"]'
- var Alert = function (el) {
- $(el).on('click', dismiss, this.close)
- }
-
- Alert.prototype.close = function (e) {
- var $this = $(this)
- var selector = $this.attr('data-target')
-
- if (!selector) {
- selector = $this.attr('href')
- selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
- }
-
- var $parent = $(selector)
-
- if (e) e.preventDefault()
-
- if (!$parent.length) {
- $parent = $this.hasClass('alert') ? $this : $this.parent()
- }
-
- $parent.trigger(e = $.Event('close.bs.alert'))
-
- if (e.isDefaultPrevented()) return
-
- $parent.removeClass('in')
-
- function removeElement() {
- $parent.trigger('closed.bs.alert').remove()
- }
-
- $.support.transition && $parent.hasClass('fade') ?
- $parent
- .one($.support.transition.end, removeElement)
- .emulateTransitionEnd(150) :
- removeElement()
- }
-
-
- // ALERT PLUGIN DEFINITION
- // =======================
-
- var old = $.fn.alert
-
- $.fn.alert = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.alert')
-
- if (!data) $this.data('bs.alert', (data = new Alert(this)))
- if (typeof option == 'string') data[option].call($this)
- })
- }
-
- $.fn.alert.Constructor = Alert
-
-
- // ALERT NO CONFLICT
- // =================
-
- $.fn.alert.noConflict = function () {
- $.fn.alert = old
- return this
- }
-
-
- // ALERT DATA-API
- // ==============
-
- $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: button.js v3.1.1
- * http://getbootstrap.com/javascript/#buttons
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // BUTTON PUBLIC CLASS DEFINITION
- // ==============================
-
- var Button = function (element, options) {
- this.$element = $(element)
- this.options = $.extend({}, Button.DEFAULTS, options)
- this.isLoading = false
- }
-
- Button.DEFAULTS = {
- loadingText: 'loading...'
- }
-
- Button.prototype.setState = function (state) {
- var d = 'disabled'
- var $el = this.$element
- var val = $el.is('input') ? 'val' : 'html'
- var data = $el.data()
-
- state = state + 'Text'
-
- if (!data.resetText) $el.data('resetText', $el[val]())
-
- $el[val](data[state] || this.options[state])
-
- // push to event loop to allow forms to submit
- setTimeout($.proxy(function () {
- if (state == 'loadingText') {
- this.isLoading = true
- $el.addClass(d).attr(d, d)
- } else if (this.isLoading) {
- this.isLoading = false
- $el.removeClass(d).removeAttr(d)
- }
- }, this), 0)
- }
-
- Button.prototype.toggle = function () {
- var changed = true
- var $parent = this.$element.closest('[data-toggle="buttons"]')
-
- if ($parent.length) {
- var $input = this.$element.find('input')
- if ($input.prop('type') == 'radio') {
- if ($input.prop('checked') && this.$element.hasClass('active')) changed = false
- else $parent.find('.active').removeClass('active')
- }
- if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
- }
-
- if (changed) this.$element.toggleClass('active')
- }
-
-
- // BUTTON PLUGIN DEFINITION
- // ========================
-
- var old = $.fn.button
-
- $.fn.button = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.button')
- var options = typeof option == 'object' && option
-
- if (!data) $this.data('bs.button', (data = new Button(this, options)))
-
- if (option == 'toggle') data.toggle()
- else if (option) data.setState(option)
- })
- }
-
- $.fn.button.Constructor = Button
-
-
- // BUTTON NO CONFLICT
- // ==================
-
- $.fn.button.noConflict = function () {
- $.fn.button = old
- return this
- }
-
-
- // BUTTON DATA-API
- // ===============
-
- $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) {
- var $btn = $(e.target)
- if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
- $btn.button('toggle')
- e.preventDefault()
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: carousel.js v3.1.1
- * http://getbootstrap.com/javascript/#carousel
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // CAROUSEL CLASS DEFINITION
- // =========================
-
- var Carousel = function (element, options) {
- this.$element = $(element)
- this.$indicators = this.$element.find('.carousel-indicators')
- this.options = options
- this.paused =
- this.sliding =
- this.interval =
- this.$active =
- this.$items = null
-
- this.options.pause == 'hover' && this.$element
- .on('mouseenter', $.proxy(this.pause, this))
- .on('mouseleave', $.proxy(this.cycle, this))
- }
-
- Carousel.DEFAULTS = {
- interval: 5000,
- pause: 'hover',
- wrap: true
- }
-
- Carousel.prototype.cycle = function (e) {
- e || (this.paused = false)
-
- this.interval && clearInterval(this.interval)
-
- this.options.interval
- && !this.paused
- && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
-
- return this
- }
-
- Carousel.prototype.getActiveIndex = function () {
- this.$active = this.$element.find('.item.active')
- this.$items = this.$active.parent().children()
-
- return this.$items.index(this.$active)
- }
-
- Carousel.prototype.to = function (pos) {
- var that = this
- var activeIndex = this.getActiveIndex()
-
- if (pos > (this.$items.length - 1) || pos < 0) return
-
- if (this.sliding) return this.$element.one('slid.bs.carousel', function () {
- that.to(pos)
- })
- if (activeIndex == pos) return this.pause().cycle()
-
- return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
- }
-
- Carousel.prototype.pause = function (e) {
- e || (this.paused = true)
-
- if (this.$element.find('.next, .prev').length && $.support.transition) {
- this.$element.trigger($.support.transition.end)
- this.cycle(true)
- }
-
- this.interval = clearInterval(this.interval)
-
- return this
- }
-
- Carousel.prototype.next = function () {
- if (this.sliding) return
- return this.slide('next')
- }
-
- Carousel.prototype.prev = function () {
- if (this.sliding) return
- return this.slide('prev')
- }
-
- Carousel.prototype.slide = function (type, next) {
- var $active = this.$element.find('.item.active')
- var $next = next || $active[type]()
- var isCycling = this.interval
- var direction = type == 'next' ? 'left' : 'right'
- var fallback = type == 'next' ? 'first' : 'last'
- var that = this
-
- if (!$next.length) {
- if (!this.options.wrap) return
- $next = this.$element.find('.item')[fallback]()
- }
-
- if ($next.hasClass('active')) return this.sliding = false
-
- var e = $.Event('slide.bs.carousel', {relatedTarget: $next[0], direction: direction})
- this.$element.trigger(e)
- if (e.isDefaultPrevented()) return
-
- this.sliding = true
-
- isCycling && this.pause()
-
- if (this.$indicators.length) {
- this.$indicators.find('.active').removeClass('active')
- this.$element.one('slid.bs.carousel', function () {
- var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
- $nextIndicator && $nextIndicator.addClass('active')
- })
- }
-
- if ($.support.transition && this.$element.hasClass('slide')) {
- $next.addClass(type)
- $next[0].offsetWidth // force reflow
- $active.addClass(direction)
- $next.addClass(direction)
- $active
- .one($.support.transition.end, function () {
- $next.removeClass([type, direction].join(' ')).addClass('active')
- $active.removeClass(['active', direction].join(' '))
- that.sliding = false
- setTimeout(function () {
- that.$element.trigger('slid.bs.carousel')
- }, 0)
- })
- .emulateTransitionEnd($active.css('transition-duration').slice(0, -1) * 1000)
- } else {
- $active.removeClass('active')
- $next.addClass('active')
- this.sliding = false
- this.$element.trigger('slid.bs.carousel')
- }
-
- isCycling && this.cycle()
-
- return this
- }
-
-
- // CAROUSEL PLUGIN DEFINITION
- // ==========================
-
- var old = $.fn.carousel
-
- $.fn.carousel = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.carousel')
- var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
- var action = typeof option == 'string' ? option : options.slide
-
- if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
- if (typeof option == 'number') data.to(option)
- else if (action) data[action]()
- else if (options.interval) data.pause().cycle()
- })
- }
-
- $.fn.carousel.Constructor = Carousel
-
-
- // CAROUSEL NO CONFLICT
- // ====================
-
- $.fn.carousel.noConflict = function () {
- $.fn.carousel = old
- return this
- }
-
-
- // CAROUSEL DATA-API
- // =================
-
- $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
- var $this = $(this), href
- var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
- var options = $.extend({}, $target.data(), $this.data())
- var slideIndex = $this.attr('data-slide-to')
- if (slideIndex) options.interval = false
-
- $target.carousel(options)
-
- if (slideIndex = $this.attr('data-slide-to')) {
- $target.data('bs.carousel').to(slideIndex)
- }
-
- e.preventDefault()
- })
-
- $(window).on('load', function () {
- $('[data-ride="carousel"]').each(function () {
- var $carousel = $(this)
- $carousel.carousel($carousel.data())
- })
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: collapse.js v3.1.1
- * http://getbootstrap.com/javascript/#collapse
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // COLLAPSE PUBLIC CLASS DEFINITION
- // ================================
-
- var Collapse = function (element, options) {
- this.$element = $(element)
- this.options = $.extend({}, Collapse.DEFAULTS, options)
- this.transitioning = null
-
- if (this.options.parent) this.$parent = $(this.options.parent)
- if (this.options.toggle) this.toggle()
- }
-
- Collapse.DEFAULTS = {
- toggle: true
- }
-
- Collapse.prototype.dimension = function () {
- var hasWidth = this.$element.hasClass('width')
- return hasWidth ? 'width' : 'height'
- }
-
- Collapse.prototype.show = function () {
- if (this.transitioning || this.$element.hasClass('in')) return
-
- var startEvent = $.Event('show.bs.collapse')
- this.$element.trigger(startEvent)
- if (startEvent.isDefaultPrevented()) return
-
- var actives = this.$parent && this.$parent.find('> .panel > .in')
-
- if (actives && actives.length) {
- var hasData = actives.data('bs.collapse')
- if (hasData && hasData.transitioning) return
- actives.collapse('hide')
- hasData || actives.data('bs.collapse', null)
- }
-
- var dimension = this.dimension()
-
- this.$element
- .removeClass('collapse')
- .addClass('collapsing')
- [dimension](0)
-
- this.transitioning = 1
-
- var complete = function () {
- this.$element
- .removeClass('collapsing')
- .addClass('collapse in')
- [dimension]('auto')
- this.transitioning = 0
- this.$element.trigger('shown.bs.collapse')
- }
-
- if (!$.support.transition) return complete.call(this)
-
- var scrollSize = $.camelCase(['scroll', dimension].join('-'))
-
- this.$element
- .one($.support.transition.end, $.proxy(complete, this))
- .emulateTransitionEnd(350)
- [dimension](this.$element[0][scrollSize])
- }
-
- Collapse.prototype.hide = function () {
- if (this.transitioning || !this.$element.hasClass('in')) return
-
- var startEvent = $.Event('hide.bs.collapse')
- this.$element.trigger(startEvent)
- if (startEvent.isDefaultPrevented()) return
-
- var dimension = this.dimension()
-
- this.$element
- [dimension](this.$element[dimension]())
- [0].offsetHeight
-
- this.$element
- .addClass('collapsing')
- .removeClass('collapse')
- .removeClass('in')
-
- this.transitioning = 1
-
- var complete = function () {
- this.transitioning = 0
- this.$element
- .trigger('hidden.bs.collapse')
- .removeClass('collapsing')
- .addClass('collapse')
- }
-
- if (!$.support.transition) return complete.call(this)
-
- this.$element
- [dimension](0)
- .one($.support.transition.end, $.proxy(complete, this))
- .emulateTransitionEnd(350)
- }
-
- Collapse.prototype.toggle = function () {
- this[this.$element.hasClass('in') ? 'hide' : 'show']()
- }
-
-
- // COLLAPSE PLUGIN DEFINITION
- // ==========================
-
- var old = $.fn.collapse
-
- $.fn.collapse = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.collapse')
- var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
-
- if (!data && options.toggle && option == 'show') option = !option
- if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.collapse.Constructor = Collapse
-
-
- // COLLAPSE NO CONFLICT
- // ====================
-
- $.fn.collapse.noConflict = function () {
- $.fn.collapse = old
- return this
- }
-
-
- // COLLAPSE DATA-API
- // =================
-
- $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {
- var $this = $(this), href
- var target = $this.attr('data-target')
- || e.preventDefault()
- || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
- var $target = $(target)
- var data = $target.data('bs.collapse')
- var option = data ? 'toggle' : $this.data()
- var parent = $this.attr('data-parent')
- var $parent = parent && $(parent)
-
- if (!data || !data.transitioning) {
- if ($parent) $parent.find('[data-toggle=collapse][data-parent="' + parent + '"]').not($this).addClass('collapsed')
- $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
- }
-
- $target.collapse(option)
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: dropdown.js v3.1.1
- * http://getbootstrap.com/javascript/#dropdowns
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // DROPDOWN CLASS DEFINITION
- // =========================
-
- var backdrop = '.dropdown-backdrop'
- var toggle = '[data-toggle=dropdown]'
- var Dropdown = function (element) {
- $(element).on('click.bs.dropdown', this.toggle)
- }
-
- Dropdown.prototype.toggle = function (e) {
- var $this = $(this)
-
- if ($this.is('.disabled, :disabled')) return
-
- var $parent = getParent($this)
- var isActive = $parent.hasClass('open')
-
- clearMenus()
-
- if (!isActive) {
- if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
- // if mobile we use a backdrop because click events don't delegate
- $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
- }
-
- var relatedTarget = {relatedTarget: this}
- $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
-
- if (e.isDefaultPrevented()) return
-
- $parent
- .toggleClass('open')
- .trigger('shown.bs.dropdown', relatedTarget)
-
- $this.focus()
- }
-
- return false
- }
-
- Dropdown.prototype.keydown = function (e) {
- if (!/(38|40|27)/.test(e.keyCode)) return
-
- var $this = $(this)
-
- e.preventDefault()
- e.stopPropagation()
-
- if ($this.is('.disabled, :disabled')) return
-
- var $parent = getParent($this)
- var isActive = $parent.hasClass('open')
-
- if (!isActive || (isActive && e.keyCode == 27)) {
- if (e.which == 27) $parent.find(toggle).focus()
- return $this.click()
- }
-
- var desc = ' li:not(.divider):visible a'
- var $items = $parent.find('[role=menu]' + desc + ', [role=listbox]' + desc)
-
- if (!$items.length) return
-
- var index = $items.index($items.filter(':focus'))
-
- if (e.keyCode == 38 && index > 0) index-- // up
- if (e.keyCode == 40 && index < $items.length - 1) index++ // down
- if (!~index) index = 0
-
- $items.eq(index).focus()
- }
-
- function clearMenus(e) {
- $(backdrop).remove()
- $(toggle).each(function () {
- var $parent = getParent($(this))
- var relatedTarget = {relatedTarget: this}
- if (!$parent.hasClass('open')) return
- $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
- if (e.isDefaultPrevented()) return
- $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
- })
- }
-
- function getParent($this) {
- var selector = $this.attr('data-target')
-
- if (!selector) {
- selector = $this.attr('href')
- selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
- }
-
- var $parent = selector && $(selector)
-
- return $parent && $parent.length ? $parent : $this.parent()
- }
-
-
- // DROPDOWN PLUGIN DEFINITION
- // ==========================
-
- var old = $.fn.dropdown
-
- $.fn.dropdown = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.dropdown')
-
- if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
- if (typeof option == 'string') data[option].call($this)
- })
- }
-
- $.fn.dropdown.Constructor = Dropdown
-
-
- // DROPDOWN NO CONFLICT
- // ====================
-
- $.fn.dropdown.noConflict = function () {
- $.fn.dropdown = old
- return this
- }
-
-
- // APPLY TO STANDARD DROPDOWN ELEMENTS
- // ===================================
-
- $(document)
- .on('click.bs.dropdown.data-api', clearMenus)
- .on('click.bs.dropdown.data-api', '.dropdown form', function (e) {
- e.stopPropagation()
- })
- .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
- .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu], [role=listbox]', Dropdown.prototype.keydown)
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: modal.js v3.1.1
- * http://getbootstrap.com/javascript/#modals
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // MODAL CLASS DEFINITION
- // ======================
-
- var Modal = function (element, options) {
- this.options = options
- this.$element = $(element)
- this.$backdrop =
- this.isShown = null
-
- if (this.options.remote) {
- this.$element
- .find('.modal-content')
- .load(this.options.remote, $.proxy(function () {
- this.$element.trigger('loaded.bs.modal')
- }, this))
- }
- }
-
- Modal.DEFAULTS = {
- backdrop: true,
- keyboard: true,
- show: true
- }
-
- Modal.prototype.toggle = function (_relatedTarget) {
- return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)
- }
-
- Modal.prototype.show = function (_relatedTarget) {
- var that = this
- var e = $.Event('show.bs.modal', {relatedTarget: _relatedTarget})
-
- this.$element.trigger(e)
-
- if (this.isShown || e.isDefaultPrevented()) return
-
- this.isShown = true
-
- this.escape()
-
- this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
-
- this.backdrop(function () {
- var transition = $.support.transition && that.$element.hasClass('fade')
-
- if (!that.$element.parent().length) {
- that.$element.appendTo(document.body) // don't move modals dom position
- }
-
- that.$element
- .show()
- .scrollTop(0)
-
- if (transition) {
- that.$element[0].offsetWidth // force reflow
- }
-
- that.$element
- .addClass('in')
- .attr('aria-hidden', false)
-
- that.enforceFocus()
-
- var e = $.Event('shown.bs.modal', {relatedTarget: _relatedTarget})
-
- transition ?
- that.$element.find('.modal-dialog') // wait for modal to slide in
- .one($.support.transition.end, function () {
- that.$element.focus().trigger(e)
- })
- .emulateTransitionEnd(300) :
- that.$element.focus().trigger(e)
- })
- }
-
- Modal.prototype.hide = function (e) {
- if (e) e.preventDefault()
-
- e = $.Event('hide.bs.modal')
-
- this.$element.trigger(e)
-
- if (!this.isShown || e.isDefaultPrevented()) return
-
- this.isShown = false
-
- this.escape()
-
- $(document).off('focusin.bs.modal')
-
- this.$element
- .removeClass('in')
- .attr('aria-hidden', true)
- .off('click.dismiss.bs.modal')
-
- $.support.transition && this.$element.hasClass('fade') ?
- this.$element
- .one($.support.transition.end, $.proxy(this.hideModal, this))
- .emulateTransitionEnd(300) :
- this.hideModal()
- }
-
- Modal.prototype.enforceFocus = function () {
- $(document)
- .off('focusin.bs.modal') // guard against infinite focus loop
- .on('focusin.bs.modal', $.proxy(function (e) {
- if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
- this.$element.focus()
- }
- }, this))
- }
-
- Modal.prototype.escape = function () {
- if (this.isShown && this.options.keyboard) {
- this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
- e.which == 27 && this.hide()
- }, this))
- } else if (!this.isShown) {
- this.$element.off('keyup.dismiss.bs.modal')
- }
- }
-
- Modal.prototype.hideModal = function () {
- var that = this
- this.$element.hide()
- this.backdrop(function () {
- that.removeBackdrop()
- that.$element.trigger('hidden.bs.modal')
- })
- }
-
- Modal.prototype.removeBackdrop = function () {
- this.$backdrop && this.$backdrop.remove()
- this.$backdrop = null
- }
-
- Modal.prototype.backdrop = function (callback) {
- var animate = this.$element.hasClass('fade') ? 'fade' : ''
-
- if (this.isShown && this.options.backdrop) {
- var doAnimate = $.support.transition && animate
-
- this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
- .appendTo(document.body)
-
- this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
- if (e.target !== e.currentTarget) return
- this.options.backdrop == 'static'
- ? this.$element[0].focus.call(this.$element[0])
- : this.hide.call(this)
- }, this))
-
- if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
-
- this.$backdrop.addClass('in')
-
- if (!callback) return
-
- doAnimate ?
- this.$backdrop
- .one($.support.transition.end, callback)
- .emulateTransitionEnd(150) :
- callback()
-
- } else if (!this.isShown && this.$backdrop) {
- this.$backdrop.removeClass('in')
-
- $.support.transition && this.$element.hasClass('fade') ?
- this.$backdrop
- .one($.support.transition.end, callback)
- .emulateTransitionEnd(150) :
- callback()
-
- } else if (callback) {
- callback()
- }
- }
-
-
- // MODAL PLUGIN DEFINITION
- // =======================
-
- var old = $.fn.modal
-
- $.fn.modal = function (option, _relatedTarget) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.modal')
- var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
-
- if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
- if (typeof option == 'string') data[option](_relatedTarget)
- else if (options.show) data.show(_relatedTarget)
- })
- }
-
- $.fn.modal.Constructor = Modal
-
-
- // MODAL NO CONFLICT
- // =================
-
- $.fn.modal.noConflict = function () {
- $.fn.modal = old
- return this
- }
-
-
- // MODAL DATA-API
- // ==============
-
- $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
- var $this = $(this)
- var href = $this.attr('href')
- var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
- var option = $target.data('bs.modal') ? 'toggle' : $.extend({remote: !/#/.test(href) && href}, $target.data(), $this.data())
-
- if ($this.is('a')) e.preventDefault()
-
- $target
- .modal(option, this)
- .one('hide', function () {
- $this.is(':visible') && $this.focus()
- })
- })
-
- $(document)
- .on('show.bs.modal', '.modal', function () {
- $(document.body).addClass('modal-open')
- })
- .on('hidden.bs.modal', '.modal', function () {
- $(document.body).removeClass('modal-open')
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: tooltip.js v3.1.1
- * http://getbootstrap.com/javascript/#tooltip
- * Inspired by the original jQuery.tipsy by Jason Frame
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // TOOLTIP PUBLIC CLASS DEFINITION
- // ===============================
-
- var Tooltip = function (element, options) {
- this.type =
- this.options =
- this.enabled =
- this.timeout =
- this.hoverState =
- this.$element = null
-
- this.init('tooltip', element, options)
- }
-
- Tooltip.DEFAULTS = {
- animation: true,
- placement: 'top',
- selector: false,
- template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
- trigger: 'hover focus',
- title: '',
- delay: 0,
- html: false,
- container: false
- }
-
- Tooltip.prototype.init = function (type, element, options) {
- this.enabled = true
- this.type = type
- this.$element = $(element)
- this.options = this.getOptions(options)
-
- var triggers = this.options.trigger.split(' ')
-
- for (var i = triggers.length; i--;) {
- var trigger = triggers[i]
-
- if (trigger == 'click') {
- this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
- } else if (trigger != 'manual') {
- var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
- var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
-
- this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
- this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
- }
- }
-
- this.options.selector ?
- (this._options = $.extend({}, this.options, {trigger: 'manual', selector: ''})) :
- this.fixTitle()
- }
-
- Tooltip.prototype.getDefaults = function () {
- return Tooltip.DEFAULTS
- }
-
- Tooltip.prototype.getOptions = function (options) {
- options = $.extend({}, this.getDefaults(), this.$element.data(), options)
-
- if (options.delay && typeof options.delay == 'number') {
- options.delay = {
- show: options.delay,
- hide: options.delay
- }
- }
-
- return options
- }
-
- Tooltip.prototype.getDelegateOptions = function () {
- var options = {}
- var defaults = this.getDefaults()
-
- this._options && $.each(this._options, function (key, value) {
- if (defaults[key] != value) options[key] = value
- })
-
- return options
- }
-
- Tooltip.prototype.enter = function (obj) {
- var self = obj instanceof this.constructor ?
- obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
-
- clearTimeout(self.timeout)
-
- self.hoverState = 'in'
-
- if (!self.options.delay || !self.options.delay.show) return self.show()
-
- self.timeout = setTimeout(function () {
- if (self.hoverState == 'in') self.show()
- }, self.options.delay.show)
- }
-
- Tooltip.prototype.leave = function (obj) {
- var self = obj instanceof this.constructor ?
- obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
-
- clearTimeout(self.timeout)
-
- self.hoverState = 'out'
-
- if (!self.options.delay || !self.options.delay.hide) return self.hide()
-
- self.timeout = setTimeout(function () {
- if (self.hoverState == 'out') self.hide()
- }, self.options.delay.hide)
- }
-
- Tooltip.prototype.show = function () {
- var e = $.Event('show.bs.' + this.type)
-
- if (this.hasContent() && this.enabled) {
- this.$element.trigger(e)
-
- if (e.isDefaultPrevented()) return
- var that = this;
-
- var $tip = this.tip()
-
- this.setContent()
-
- if (this.options.animation) $tip.addClass('fade')
-
- var placement = typeof this.options.placement == 'function' ?
- this.options.placement.call(this, $tip[0], this.$element[0]) :
- this.options.placement
-
- var autoToken = /\s?auto?\s?/i
- var autoPlace = autoToken.test(placement)
- if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
-
- $tip
- .detach()
- .css({top: 0, left: 0, display: 'block'})
- .addClass(placement)
-
- this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
-
- var pos = this.getPosition()
- var actualWidth = $tip[0].offsetWidth
- var actualHeight = $tip[0].offsetHeight
-
- if (autoPlace) {
- var $parent = this.$element.parent()
-
- var orgPlacement = placement
- var docScroll = document.documentElement.scrollTop || document.body.scrollTop
- var parentWidth = this.options.container == 'body' ? window.innerWidth : $parent.outerWidth()
- var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()
- var parentLeft = this.options.container == 'body' ? 0 : $parent.offset().left
-
- placement = placement == 'bottom' && pos.top + pos.height + actualHeight - docScroll > parentHeight ? 'top' :
- placement == 'top' && pos.top - docScroll - actualHeight < 0 ? 'bottom' :
- placement == 'right' && pos.right + actualWidth > parentWidth ? 'left' :
- placement == 'left' && pos.left - actualWidth < parentLeft ? 'right' :
- placement
-
- $tip
- .removeClass(orgPlacement)
- .addClass(placement)
- }
-
- var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
-
- this.applyPlacement(calculatedOffset, placement)
- this.hoverState = null
-
- var complete = function () {
- that.$element.trigger('shown.bs.' + that.type)
- }
-
- $.support.transition && this.$tip.hasClass('fade') ?
- $tip
- .one($.support.transition.end, complete)
- .emulateTransitionEnd(150) :
- complete()
- }
- }
-
- Tooltip.prototype.applyPlacement = function (offset, placement) {
- var replace
- var $tip = this.tip()
- var width = $tip[0].offsetWidth
- var height = $tip[0].offsetHeight
-
- // manually read margins because getBoundingClientRect includes difference
- var marginTop = parseInt($tip.css('margin-top'), 10)
- var marginLeft = parseInt($tip.css('margin-left'), 10)
-
- // we must check for NaN for ie 8/9
- if (isNaN(marginTop)) marginTop = 0
- if (isNaN(marginLeft)) marginLeft = 0
-
- offset.top = offset.top + marginTop
- offset.left = offset.left + marginLeft
-
- // $.fn.offset doesn't round pixel values
- // so we use setOffset directly with our own function B-0
- $.offset.setOffset($tip[0], $.extend({
- using: function (props) {
- $tip.css({
- top: Math.round(props.top),
- left: Math.round(props.left)
- })
- }
- }, offset), 0)
-
- $tip.addClass('in')
-
- // check to see if placing tip in new offset caused the tip to resize itself
- var actualWidth = $tip[0].offsetWidth
- var actualHeight = $tip[0].offsetHeight
-
- if (placement == 'top' && actualHeight != height) {
- replace = true
- offset.top = offset.top + height - actualHeight
- }
-
- if (/bottom|top/.test(placement)) {
- var delta = 0
-
- if (offset.left < 0) {
- delta = offset.left * -2
- offset.left = 0
-
- $tip.offset(offset)
-
- actualWidth = $tip[0].offsetWidth
- actualHeight = $tip[0].offsetHeight
- }
-
- this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')
- } else {
- this.replaceArrow(actualHeight - height, actualHeight, 'top')
- }
-
- if (replace) $tip.offset(offset)
- }
-
- Tooltip.prototype.replaceArrow = function (delta, dimension, position) {
- this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + '%') : '')
- }
-
- Tooltip.prototype.setContent = function () {
- var $tip = this.tip()
- var title = this.getTitle()
-
- $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
- $tip.removeClass('fade in top bottom left right')
- }
-
- Tooltip.prototype.hide = function () {
- var that = this
- var $tip = this.tip()
- var e = $.Event('hide.bs.' + this.type)
-
- function complete() {
- if (that.hoverState != 'in') $tip.detach()
- that.$element.trigger('hidden.bs.' + that.type)
- }
-
- this.$element.trigger(e)
-
- if (e.isDefaultPrevented()) return
-
- $tip.removeClass('in')
-
- $.support.transition && this.$tip.hasClass('fade') ?
- $tip
- .one($.support.transition.end, complete)
- .emulateTransitionEnd(150) :
- complete()
-
- this.hoverState = null
-
- return this
- }
-
- Tooltip.prototype.fixTitle = function () {
- var $e = this.$element
- if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
- $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
- }
- }
-
- Tooltip.prototype.hasContent = function () {
- return this.getTitle()
- }
-
- Tooltip.prototype.getPosition = function () {
- var el = this.$element[0]
- return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
- width: el.offsetWidth,
- height: el.offsetHeight
- }, this.$element.offset())
- }
-
- Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
- return placement == 'bottom' ? {top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2} :
- placement == 'top' ? {top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2} :
- placement == 'left' ? {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth} :
- /* placement == 'right' */ {
- top: pos.top + pos.height / 2 - actualHeight / 2,
- left: pos.left + pos.width
- }
- }
-
- Tooltip.prototype.getTitle = function () {
- var title
- var $e = this.$element
- var o = this.options
-
- title = $e.attr('data-original-title')
- || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
-
- return title
- }
-
- Tooltip.prototype.tip = function () {
- return this.$tip = this.$tip || $(this.options.template)
- }
-
- Tooltip.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')
- }
-
- Tooltip.prototype.validate = function () {
- if (!this.$element[0].parentNode) {
- this.hide()
- this.$element = null
- this.options = null
- }
- }
-
- Tooltip.prototype.enable = function () {
- this.enabled = true
- }
-
- Tooltip.prototype.disable = function () {
- this.enabled = false
- }
-
- Tooltip.prototype.toggleEnabled = function () {
- this.enabled = !this.enabled
- }
-
- Tooltip.prototype.toggle = function (e) {
- var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this
- self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
- }
-
- Tooltip.prototype.destroy = function () {
- clearTimeout(this.timeout)
- this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
- }
-
-
- // TOOLTIP PLUGIN DEFINITION
- // =========================
-
- var old = $.fn.tooltip
-
- $.fn.tooltip = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.tooltip')
- var options = typeof option == 'object' && option
-
- if (!data && option == 'destroy') return
- if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.tooltip.Constructor = Tooltip
-
-
- // TOOLTIP NO CONFLICT
- // ===================
-
- $.fn.tooltip.noConflict = function () {
- $.fn.tooltip = old
- return this
- }
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: popover.js v3.1.1
- * http://getbootstrap.com/javascript/#popovers
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // POPOVER PUBLIC CLASS DEFINITION
- // ===============================
-
- var Popover = function (element, options) {
- this.init('popover', element, options)
- }
-
- if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
-
- Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
- placement: 'right',
- trigger: 'click',
- content: '',
- template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
- })
-
-
- // NOTE: POPOVER EXTENDS tooltip.js
- // ================================
-
- Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
-
- Popover.prototype.constructor = Popover
-
- Popover.prototype.getDefaults = function () {
- return Popover.DEFAULTS
- }
-
- Popover.prototype.setContent = function () {
- var $tip = this.tip()
- var title = this.getTitle()
- var content = this.getContent()
-
- $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
- $tip.find('.popover-content')[ // we use append for html objects to maintain js events
- this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
- ](content)
-
- $tip.removeClass('fade top bottom left right in')
-
- // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
- // this manually by checking the contents.
- if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
- }
-
- Popover.prototype.hasContent = function () {
- return this.getTitle() || this.getContent()
- }
-
- Popover.prototype.getContent = function () {
- var $e = this.$element
- var o = this.options
-
- return $e.attr('data-content')
- || (typeof o.content == 'function' ?
- o.content.call($e[0]) :
- o.content)
- }
-
- Popover.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find('.arrow')
- }
-
- Popover.prototype.tip = function () {
- if (!this.$tip) this.$tip = $(this.options.template)
- return this.$tip
- }
-
-
- // POPOVER PLUGIN DEFINITION
- // =========================
-
- var old = $.fn.popover
-
- $.fn.popover = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.popover')
- var options = typeof option == 'object' && option
-
- if (!data && option == 'destroy') return
- if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.popover.Constructor = Popover
-
-
- // POPOVER NO CONFLICT
- // ===================
-
- $.fn.popover.noConflict = function () {
- $.fn.popover = old
- return this
- }
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: scrollspy.js v3.1.1
- * http://getbootstrap.com/javascript/#scrollspy
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // SCROLLSPY CLASS DEFINITION
- // ==========================
-
- function ScrollSpy(element, options) {
- var href
- var process = $.proxy(this.process, this)
-
- this.$element = $(element).is('body') ? $(window) : $(element)
- this.$body = $('body')
- this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process)
- this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
- this.selector = (this.options.target
- || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
- || '') + ' .nav li > a'
- this.offsets = $([])
- this.targets = $([])
- this.activeTarget = null
-
- this.refresh()
- this.process()
- }
-
- ScrollSpy.DEFAULTS = {
- offset: 10
- }
-
- ScrollSpy.prototype.refresh = function () {
- var offsetMethod = this.$element[0] == window ? 'offset' : 'position'
-
- this.offsets = $([])
- this.targets = $([])
-
- var self = this
- var $targets = this.$body
- .find(this.selector)
- .map(function () {
- var $el = $(this)
- var href = $el.data('target') || $el.attr('href')
- var $href = /^#./.test(href) && $(href)
-
- return ($href
- && $href.length
- && $href.is(':visible')
- && [[$href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href]]) || null
- })
- .sort(function (a, b) {
- return a[0] - b[0]
- })
- .each(function () {
- self.offsets.push(this[0])
- self.targets.push(this[1])
- })
- }
-
- ScrollSpy.prototype.process = function () {
- var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
- var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight
- var maxScroll = scrollHeight - this.$scrollElement.height()
- var offsets = this.offsets
- var targets = this.targets
- var activeTarget = this.activeTarget
- var i
-
- if (scrollTop >= maxScroll) {
- return activeTarget != (i = targets.last()[0]) && this.activate(i)
- }
-
- if (activeTarget && scrollTop <= offsets[0]) {
- return activeTarget != (i = targets[0]) && this.activate(i)
- }
-
- for (i = offsets.length; i--;) {
- activeTarget != targets[i]
- && scrollTop >= offsets[i]
- && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
- && this.activate(targets[i])
- }
- }
-
- ScrollSpy.prototype.activate = function (target) {
- this.activeTarget = target
-
- $(this.selector)
- .parentsUntil(this.options.target, '.active')
- .removeClass('active')
-
- var selector = this.selector +
- '[data-target="' + target + '"],' +
- this.selector + '[href="' + target + '"]'
-
- var active = $(selector)
- .parents('li')
- .addClass('active')
-
- if (active.parent('.dropdown-menu').length) {
- active = active
- .closest('li.dropdown')
- .addClass('active')
- }
-
- active.trigger('activate.bs.scrollspy')
- }
-
-
- // SCROLLSPY PLUGIN DEFINITION
- // ===========================
-
- var old = $.fn.scrollspy
-
- $.fn.scrollspy = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.scrollspy')
- var options = typeof option == 'object' && option
-
- if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.scrollspy.Constructor = ScrollSpy
-
-
- // SCROLLSPY NO CONFLICT
- // =====================
-
- $.fn.scrollspy.noConflict = function () {
- $.fn.scrollspy = old
- return this
- }
-
-
- // SCROLLSPY DATA-API
- // ==================
-
- $(window).on('load', function () {
- $('[data-spy="scroll"]').each(function () {
- var $spy = $(this)
- $spy.scrollspy($spy.data())
- })
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: tab.js v3.1.1
- * http://getbootstrap.com/javascript/#tabs
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // TAB CLASS DEFINITION
- // ====================
-
- var Tab = function (element) {
- this.element = $(element)
- }
-
- Tab.prototype.show = function () {
- var $this = this.element
- var $ul = $this.closest('ul:not(.dropdown-menu)')
- var selector = $this.data('target')
-
- if (!selector) {
- selector = $this.attr('href')
- selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
- }
-
- if ($this.parent('li').hasClass('active')) return
-
- var previous = $ul.find('.active:last a')[0]
- var e = $.Event('show.bs.tab', {
- relatedTarget: previous
- })
-
- $this.trigger(e)
-
- if (e.isDefaultPrevented()) return
-
- var $target = $(selector)
-
- this.activate($this.parent('li'), $ul)
- this.activate($target, $target.parent(), function () {
- $this.trigger({
- type: 'shown.bs.tab',
- relatedTarget: previous
- })
- })
- }
-
- Tab.prototype.activate = function (element, container, callback) {
- var $active = container.find('> .active')
- var transition = callback
- && $.support.transition
- && $active.hasClass('fade')
-
- function next() {
- $active
- .removeClass('active')
- .find('> .dropdown-menu > .active')
- .removeClass('active')
-
- element.addClass('active')
-
- if (transition) {
- element[0].offsetWidth // reflow for transition
- element.addClass('in')
- } else {
- element.removeClass('fade')
- }
-
- if (element.parent('.dropdown-menu')) {
- element.closest('li.dropdown').addClass('active')
- }
-
- callback && callback()
- }
-
- transition ?
- $active
- .one($.support.transition.end, next)
- .emulateTransitionEnd(150) :
- next()
-
- $active.removeClass('in')
- }
-
-
- // TAB PLUGIN DEFINITION
- // =====================
-
- var old = $.fn.tab
-
- $.fn.tab = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.tab')
-
- if (!data) $this.data('bs.tab', (data = new Tab(this)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.tab.Constructor = Tab
-
-
- // TAB NO CONFLICT
- // ===============
-
- $.fn.tab.noConflict = function () {
- $.fn.tab = old
- return this
- }
-
-
- // TAB DATA-API
- // ============
-
- $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
- e.preventDefault()
- $(this).tab('show')
- })
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: affix.js v3.1.1
- * http://getbootstrap.com/javascript/#affix
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
- 'use strict';
-
- // AFFIX CLASS DEFINITION
- // ======================
-
- var Affix = function (element, options) {
- this.options = $.extend({}, Affix.DEFAULTS, options)
- this.$window = $(window)
- .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
- .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
-
- this.$element = $(element)
- this.affixed =
- this.unpin =
- this.pinnedOffset = null
-
- this.checkPosition()
- }
-
- Affix.RESET = 'affix affix-top affix-bottom'
-
- Affix.DEFAULTS = {
- offset: 0
- }
-
- Affix.prototype.getPinnedOffset = function () {
- if (this.pinnedOffset) return this.pinnedOffset
- this.$element.removeClass(Affix.RESET).addClass('affix')
- var scrollTop = this.$window.scrollTop()
- var position = this.$element.offset()
- return (this.pinnedOffset = position.top - scrollTop)
- }
-
- Affix.prototype.checkPositionWithEventLoop = function () {
- setTimeout($.proxy(this.checkPosition, this), 1)
- }
-
- Affix.prototype.checkPosition = function () {
- if (!this.$element.is(':visible')) return
-
- var scrollHeight = $(document).height()
- var scrollTop = this.$window.scrollTop()
- var position = this.$element.offset()
- var offset = this.options.offset
- var offsetTop = offset.top
- var offsetBottom = offset.bottom
-
- if (this.affixed == 'top') position.top += scrollTop
-
- if (typeof offset != 'object') offsetBottom = offsetTop = offset
- if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
- if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
-
- var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
- offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
- offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
-
- if (this.affixed === affix) return
- if (this.unpin) this.$element.css('top', '')
-
- var affixType = 'affix' + (affix ? '-' + affix : '')
- var e = $.Event(affixType + '.bs.affix')
-
- this.$element.trigger(e)
-
- if (e.isDefaultPrevented()) return
-
- this.affixed = affix
- this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
-
- this.$element
- .removeClass(Affix.RESET)
- .addClass(affixType)
- .trigger($.Event(affixType.replace('affix', 'affixed')))
-
- if (affix == 'bottom') {
- this.$element.offset({top: scrollHeight - offsetBottom - this.$element.height()})
- }
- }
-
-
- // AFFIX PLUGIN DEFINITION
- // =======================
-
- var old = $.fn.affix
-
- $.fn.affix = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.affix')
- var options = typeof option == 'object' && option
-
- if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.affix.Constructor = Affix
-
-
- // AFFIX NO CONFLICT
- // =================
-
- $.fn.affix.noConflict = function () {
- $.fn.affix = old
- return this
- }
-
-
- // AFFIX DATA-API
- // ==============
-
- $(window).on('load', function () {
- $('[data-spy="affix"]').each(function () {
- var $spy = $(this)
- var data = $spy.data()
-
- data.offset = data.offset || {}
-
- if (data.offsetBottom) data.offset.bottom = data.offsetBottom
- if (data.offsetTop) data.offset.top = data.offsetTop
-
- $spy.affix(data)
- })
- })
-
-}(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/js/bootstrap.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/js/bootstrap.min.js
deleted file mode 100644
index 4d171b85..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/js/bootstrap.min.js
+++ /dev/null
@@ -1,619 +0,0 @@
-/*!
- * Bootstrap v3.1.1 (http://getbootstrap.com)
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-if ("undefined" == typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");
-+function (a) {
- "use strict";
- function b() {
- var a = document.createElement("bootstrap"), b = {
- WebkitTransition: "webkitTransitionEnd",
- MozTransition: "transitionend",
- OTransition: "oTransitionEnd otransitionend",
- transition: "transitionend"
- };
- for (var c in b)if (void 0 !== a.style[c])return {end: b[c]};
- return !1
- }
-
- a.fn.emulateTransitionEnd = function (b) {
- var c = !1, d = this;
- a(this).one(a.support.transition.end, function () {
- c = !0
- });
- var e = function () {
- c || a(d).trigger(a.support.transition.end)
- };
- return setTimeout(e, b), this
- }, a(function () {
- a.support.transition = b()
- })
-}(jQuery), +function (a) {
- "use strict";
- var b = '[data-dismiss="alert"]', c = function (c) {
- a(c).on("click", b, this.close)
- };
- c.prototype.close = function (b) {
- function c() {
- f.trigger("closed.bs.alert").remove()
- }
-
- var d = a(this), e = d.attr("data-target");
- e || (e = d.attr("href"), e = e && e.replace(/.*(?=#[^\s]*$)/, ""));
- var f = a(e);
- b && b.preventDefault(), f.length || (f = d.hasClass("alert") ? d : d.parent()), f.trigger(b = a.Event("close.bs.alert")), b.isDefaultPrevented() || (f.removeClass("in"), a.support.transition && f.hasClass("fade") ? f.one(a.support.transition.end, c).emulateTransitionEnd(150) : c())
- };
- var d = a.fn.alert;
- a.fn.alert = function (b) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.alert");
- e || d.data("bs.alert", e = new c(this)), "string" == typeof b && e[b].call(d)
- })
- }, a.fn.alert.Constructor = c, a.fn.alert.noConflict = function () {
- return a.fn.alert = d, this
- }, a(document).on("click.bs.alert.data-api", b, c.prototype.close)
-}(jQuery), +function (a) {
- "use strict";
- var b = function (c, d) {
- this.$element = a(c), this.options = a.extend({}, b.DEFAULTS, d), this.isLoading = !1
- };
- b.DEFAULTS = {loadingText: "loading..."}, b.prototype.setState = function (b) {
- var c = "disabled", d = this.$element, e = d.is("input") ? "val" : "html", f = d.data();
- b += "Text", f.resetText || d.data("resetText", d[e]()), d[e](f[b] || this.options[b]), setTimeout(a.proxy(function () {
- "loadingText" == b ? (this.isLoading = !0, d.addClass(c).attr(c, c)) : this.isLoading && (this.isLoading = !1, d.removeClass(c).removeAttr(c))
- }, this), 0)
- }, b.prototype.toggle = function () {
- var a = !0, b = this.$element.closest('[data-toggle="buttons"]');
- if (b.length) {
- var c = this.$element.find("input");
- "radio" == c.prop("type") && (c.prop("checked") && this.$element.hasClass("active") ? a = !1 : b.find(".active").removeClass("active")), a && c.prop("checked", !this.$element.hasClass("active")).trigger("change")
- }
- a && this.$element.toggleClass("active")
- };
- var c = a.fn.button;
- a.fn.button = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.button"), f = "object" == typeof c && c;
- e || d.data("bs.button", e = new b(this, f)), "toggle" == c ? e.toggle() : c && e.setState(c)
- })
- }, a.fn.button.Constructor = b, a.fn.button.noConflict = function () {
- return a.fn.button = c, this
- }, a(document).on("click.bs.button.data-api", "[data-toggle^=button]", function (b) {
- var c = a(b.target);
- c.hasClass("btn") || (c = c.closest(".btn")), c.button("toggle"), b.preventDefault()
- })
-}(jQuery), +function (a) {
- "use strict";
- var b = function (b, c) {
- this.$element = a(b), this.$indicators = this.$element.find(".carousel-indicators"), this.options = c, this.paused = this.sliding = this.interval = this.$active = this.$items = null, "hover" == this.options.pause && this.$element.on("mouseenter", a.proxy(this.pause, this)).on("mouseleave", a.proxy(this.cycle, this))
- };
- b.DEFAULTS = {interval: 5e3, pause: "hover", wrap: !0}, b.prototype.cycle = function (b) {
- return b || (this.paused = !1), this.interval && clearInterval(this.interval), this.options.interval && !this.paused && (this.interval = setInterval(a.proxy(this.next, this), this.options.interval)), this
- }, b.prototype.getActiveIndex = function () {
- return this.$active = this.$element.find(".item.active"), this.$items = this.$active.parent().children(), this.$items.index(this.$active)
- }, b.prototype.to = function (b) {
- var c = this, d = this.getActiveIndex();
- return b > this.$items.length - 1 || 0 > b ? void 0 : this.sliding ? this.$element.one("slid.bs.carousel", function () {
- c.to(b)
- }) : d == b ? this.pause().cycle() : this.slide(b > d ? "next" : "prev", a(this.$items[b]))
- }, b.prototype.pause = function (b) {
- return b || (this.paused = !0), this.$element.find(".next, .prev").length && a.support.transition && (this.$element.trigger(a.support.transition.end), this.cycle(!0)), this.interval = clearInterval(this.interval), this
- }, b.prototype.next = function () {
- return this.sliding ? void 0 : this.slide("next")
- }, b.prototype.prev = function () {
- return this.sliding ? void 0 : this.slide("prev")
- }, b.prototype.slide = function (b, c) {
- var d = this.$element.find(".item.active"), e = c || d[b](), f = this.interval, g = "next" == b ? "left" : "right", h = "next" == b ? "first" : "last", i = this;
- if (!e.length) {
- if (!this.options.wrap)return;
- e = this.$element.find(".item")[h]()
- }
- if (e.hasClass("active"))return this.sliding = !1;
- var j = a.Event("slide.bs.carousel", {relatedTarget: e[0], direction: g});
- return this.$element.trigger(j), j.isDefaultPrevented() ? void 0 : (this.sliding = !0, f && this.pause(), this.$indicators.length && (this.$indicators.find(".active").removeClass("active"), this.$element.one("slid.bs.carousel", function () {
- var b = a(i.$indicators.children()[i.getActiveIndex()]);
- b && b.addClass("active")
- })), a.support.transition && this.$element.hasClass("slide") ? (e.addClass(b), e[0].offsetWidth, d.addClass(g), e.addClass(g), d.one(a.support.transition.end, function () {
- e.removeClass([b, g].join(" ")).addClass("active"), d.removeClass(["active", g].join(" ")), i.sliding = !1, setTimeout(function () {
- i.$element.trigger("slid.bs.carousel")
- }, 0)
- }).emulateTransitionEnd(1e3 * d.css("transition-duration").slice(0, -1))) : (d.removeClass("active"), e.addClass("active"), this.sliding = !1, this.$element.trigger("slid.bs.carousel")), f && this.cycle(), this)
- };
- var c = a.fn.carousel;
- a.fn.carousel = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.carousel"), f = a.extend({}, b.DEFAULTS, d.data(), "object" == typeof c && c), g = "string" == typeof c ? c : f.slide;
- e || d.data("bs.carousel", e = new b(this, f)), "number" == typeof c ? e.to(c) : g ? e[g]() : f.interval && e.pause().cycle()
- })
- }, a.fn.carousel.Constructor = b, a.fn.carousel.noConflict = function () {
- return a.fn.carousel = c, this
- }, a(document).on("click.bs.carousel.data-api", "[data-slide], [data-slide-to]", function (b) {
- var c, d = a(this), e = a(d.attr("data-target") || (c = d.attr("href")) && c.replace(/.*(?=#[^\s]+$)/, "")), f = a.extend({}, e.data(), d.data()), g = d.attr("data-slide-to");
- g && (f.interval = !1), e.carousel(f), (g = d.attr("data-slide-to")) && e.data("bs.carousel").to(g), b.preventDefault()
- }), a(window).on("load", function () {
- a('[data-ride="carousel"]').each(function () {
- var b = a(this);
- b.carousel(b.data())
- })
- })
-}(jQuery), +function (a) {
- "use strict";
- var b = function (c, d) {
- this.$element = a(c), this.options = a.extend({}, b.DEFAULTS, d), this.transitioning = null, this.options.parent && (this.$parent = a(this.options.parent)), this.options.toggle && this.toggle()
- };
- b.DEFAULTS = {toggle: !0}, b.prototype.dimension = function () {
- var a = this.$element.hasClass("width");
- return a ? "width" : "height"
- }, b.prototype.show = function () {
- if (!this.transitioning && !this.$element.hasClass("in")) {
- var b = a.Event("show.bs.collapse");
- if (this.$element.trigger(b), !b.isDefaultPrevented()) {
- var c = this.$parent && this.$parent.find("> .panel > .in");
- if (c && c.length) {
- var d = c.data("bs.collapse");
- if (d && d.transitioning)return;
- c.collapse("hide"), d || c.data("bs.collapse", null)
- }
- var e = this.dimension();
- this.$element.removeClass("collapse").addClass("collapsing")[e](0), this.transitioning = 1;
- var f = function () {
- this.$element.removeClass("collapsing").addClass("collapse in")[e]("auto"), this.transitioning = 0, this.$element.trigger("shown.bs.collapse")
- };
- if (!a.support.transition)return f.call(this);
- var g = a.camelCase(["scroll", e].join("-"));
- this.$element.one(a.support.transition.end, a.proxy(f, this)).emulateTransitionEnd(350)[e](this.$element[0][g])
- }
- }
- }, b.prototype.hide = function () {
- if (!this.transitioning && this.$element.hasClass("in")) {
- var b = a.Event("hide.bs.collapse");
- if (this.$element.trigger(b), !b.isDefaultPrevented()) {
- var c = this.dimension();
- this.$element[c](this.$element[c]())[0].offsetHeight, this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"), this.transitioning = 1;
- var d = function () {
- this.transitioning = 0, this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")
- };
- return a.support.transition ? void this.$element[c](0).one(a.support.transition.end, a.proxy(d, this)).emulateTransitionEnd(350) : d.call(this)
- }
- }
- }, b.prototype.toggle = function () {
- this[this.$element.hasClass("in") ? "hide" : "show"]()
- };
- var c = a.fn.collapse;
- a.fn.collapse = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.collapse"), f = a.extend({}, b.DEFAULTS, d.data(), "object" == typeof c && c);
- !e && f.toggle && "show" == c && (c = !c), e || d.data("bs.collapse", e = new b(this, f)), "string" == typeof c && e[c]()
- })
- }, a.fn.collapse.Constructor = b, a.fn.collapse.noConflict = function () {
- return a.fn.collapse = c, this
- }, a(document).on("click.bs.collapse.data-api", "[data-toggle=collapse]", function (b) {
- var c, d = a(this), e = d.attr("data-target") || b.preventDefault() || (c = d.attr("href")) && c.replace(/.*(?=#[^\s]+$)/, ""), f = a(e), g = f.data("bs.collapse"), h = g ? "toggle" : d.data(), i = d.attr("data-parent"), j = i && a(i);
- g && g.transitioning || (j && j.find('[data-toggle=collapse][data-parent="' + i + '"]').not(d).addClass("collapsed"), d[f.hasClass("in") ? "addClass" : "removeClass"]("collapsed")), f.collapse(h)
- })
-}(jQuery), +function (a) {
- "use strict";
- function b(b) {
- a(d).remove(), a(e).each(function () {
- var d = c(a(this)), e = {relatedTarget: this};
- d.hasClass("open") && (d.trigger(b = a.Event("hide.bs.dropdown", e)), b.isDefaultPrevented() || d.removeClass("open").trigger("hidden.bs.dropdown", e))
- })
- }
-
- function c(b) {
- var c = b.attr("data-target");
- c || (c = b.attr("href"), c = c && /#[A-Za-z]/.test(c) && c.replace(/.*(?=#[^\s]*$)/, ""));
- var d = c && a(c);
- return d && d.length ? d : b.parent()
- }
-
- var d = ".dropdown-backdrop", e = "[data-toggle=dropdown]", f = function (b) {
- a(b).on("click.bs.dropdown", this.toggle)
- };
- f.prototype.toggle = function (d) {
- var e = a(this);
- if (!e.is(".disabled, :disabled")) {
- var f = c(e), g = f.hasClass("open");
- if (b(), !g) {
- "ontouchstart"in document.documentElement && !f.closest(".navbar-nav").length && a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click", b);
- var h = {relatedTarget: this};
- if (f.trigger(d = a.Event("show.bs.dropdown", h)), d.isDefaultPrevented())return;
- f.toggleClass("open").trigger("shown.bs.dropdown", h), e.focus()
- }
- return !1
- }
- }, f.prototype.keydown = function (b) {
- if (/(38|40|27)/.test(b.keyCode)) {
- var d = a(this);
- if (b.preventDefault(), b.stopPropagation(), !d.is(".disabled, :disabled")) {
- var f = c(d), g = f.hasClass("open");
- if (!g || g && 27 == b.keyCode)return 27 == b.which && f.find(e).focus(), d.click();
- var h = " li:not(.divider):visible a", i = f.find("[role=menu]" + h + ", [role=listbox]" + h);
- if (i.length) {
- var j = i.index(i.filter(":focus"));
- 38 == b.keyCode && j > 0 && j--, 40 == b.keyCode && j < i.length - 1 && j++, ~j || (j = 0), i.eq(j).focus()
- }
- }
- }
- };
- var g = a.fn.dropdown;
- a.fn.dropdown = function (b) {
- return this.each(function () {
- var c = a(this), d = c.data("bs.dropdown");
- d || c.data("bs.dropdown", d = new f(this)), "string" == typeof b && d[b].call(c)
- })
- }, a.fn.dropdown.Constructor = f, a.fn.dropdown.noConflict = function () {
- return a.fn.dropdown = g, this
- }, a(document).on("click.bs.dropdown.data-api", b).on("click.bs.dropdown.data-api", ".dropdown form", function (a) {
- a.stopPropagation()
- }).on("click.bs.dropdown.data-api", e, f.prototype.toggle).on("keydown.bs.dropdown.data-api", e + ", [role=menu], [role=listbox]", f.prototype.keydown)
-}(jQuery), +function (a) {
- "use strict";
- var b = function (b, c) {
- this.options = c, this.$element = a(b), this.$backdrop = this.isShown = null, this.options.remote && this.$element.find(".modal-content").load(this.options.remote, a.proxy(function () {
- this.$element.trigger("loaded.bs.modal")
- }, this))
- };
- b.DEFAULTS = {backdrop: !0, keyboard: !0, show: !0}, b.prototype.toggle = function (a) {
- return this[this.isShown ? "hide" : "show"](a)
- }, b.prototype.show = function (b) {
- var c = this, d = a.Event("show.bs.modal", {relatedTarget: b});
- this.$element.trigger(d), this.isShown || d.isDefaultPrevented() || (this.isShown = !0, this.escape(), this.$element.on("click.dismiss.bs.modal", '[data-dismiss="modal"]', a.proxy(this.hide, this)), this.backdrop(function () {
- var d = a.support.transition && c.$element.hasClass("fade");
- c.$element.parent().length || c.$element.appendTo(document.body), c.$element.show().scrollTop(0), d && c.$element[0].offsetWidth, c.$element.addClass("in").attr("aria-hidden", !1), c.enforceFocus();
- var e = a.Event("shown.bs.modal", {relatedTarget: b});
- d ? c.$element.find(".modal-dialog").one(a.support.transition.end, function () {
- c.$element.focus().trigger(e)
- }).emulateTransitionEnd(300) : c.$element.focus().trigger(e)
- }))
- }, b.prototype.hide = function (b) {
- b && b.preventDefault(), b = a.Event("hide.bs.modal"), this.$element.trigger(b), this.isShown && !b.isDefaultPrevented() && (this.isShown = !1, this.escape(), a(document).off("focusin.bs.modal"), this.$element.removeClass("in").attr("aria-hidden", !0).off("click.dismiss.bs.modal"), a.support.transition && this.$element.hasClass("fade") ? this.$element.one(a.support.transition.end, a.proxy(this.hideModal, this)).emulateTransitionEnd(300) : this.hideModal())
- }, b.prototype.enforceFocus = function () {
- a(document).off("focusin.bs.modal").on("focusin.bs.modal", a.proxy(function (a) {
- this.$element[0] === a.target || this.$element.has(a.target).length || this.$element.focus()
- }, this))
- }, b.prototype.escape = function () {
- this.isShown && this.options.keyboard ? this.$element.on("keyup.dismiss.bs.modal", a.proxy(function (a) {
- 27 == a.which && this.hide()
- }, this)) : this.isShown || this.$element.off("keyup.dismiss.bs.modal")
- }, b.prototype.hideModal = function () {
- var a = this;
- this.$element.hide(), this.backdrop(function () {
- a.removeBackdrop(), a.$element.trigger("hidden.bs.modal")
- })
- }, b.prototype.removeBackdrop = function () {
- this.$backdrop && this.$backdrop.remove(), this.$backdrop = null
- }, b.prototype.backdrop = function (b) {
- var c = this.$element.hasClass("fade") ? "fade" : "";
- if (this.isShown && this.options.backdrop) {
- var d = a.support.transition && c;
- if (this.$backdrop = a('<div class="modal-backdrop ' + c + '" />').appendTo(document.body), this.$element.on("click.dismiss.bs.modal", a.proxy(function (a) {
- a.target === a.currentTarget && ("static" == this.options.backdrop ? this.$element[0].focus.call(this.$element[0]) : this.hide.call(this))
- }, this)), d && this.$backdrop[0].offsetWidth, this.$backdrop.addClass("in"), !b)return;
- d ? this.$backdrop.one(a.support.transition.end, b).emulateTransitionEnd(150) : b()
- } else!this.isShown && this.$backdrop ? (this.$backdrop.removeClass("in"), a.support.transition && this.$element.hasClass("fade") ? this.$backdrop.one(a.support.transition.end, b).emulateTransitionEnd(150) : b()) : b && b()
- };
- var c = a.fn.modal;
- a.fn.modal = function (c, d) {
- return this.each(function () {
- var e = a(this), f = e.data("bs.modal"), g = a.extend({}, b.DEFAULTS, e.data(), "object" == typeof c && c);
- f || e.data("bs.modal", f = new b(this, g)), "string" == typeof c ? f[c](d) : g.show && f.show(d)
- })
- }, a.fn.modal.Constructor = b, a.fn.modal.noConflict = function () {
- return a.fn.modal = c, this
- }, a(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function (b) {
- var c = a(this), d = c.attr("href"), e = a(c.attr("data-target") || d && d.replace(/.*(?=#[^\s]+$)/, "")), f = e.data("bs.modal") ? "toggle" : a.extend({remote: !/#/.test(d) && d}, e.data(), c.data());
- c.is("a") && b.preventDefault(), e.modal(f, this).one("hide", function () {
- c.is(":visible") && c.focus()
- })
- }), a(document).on("show.bs.modal", ".modal", function () {
- a(document.body).addClass("modal-open")
- }).on("hidden.bs.modal", ".modal", function () {
- a(document.body).removeClass("modal-open")
- })
-}(jQuery), +function (a) {
- "use strict";
- var b = function (a, b) {
- this.type = this.options = this.enabled = this.timeout = this.hoverState = this.$element = null, this.init("tooltip", a, b)
- };
- b.DEFAULTS = {
- animation: !0,
- placement: "top",
- selector: !1,
- template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
- trigger: "hover focus",
- title: "",
- delay: 0,
- html: !1,
- container: !1
- }, b.prototype.init = function (b, c, d) {
- this.enabled = !0, this.type = b, this.$element = a(c), this.options = this.getOptions(d);
- for (var e = this.options.trigger.split(" "), f = e.length; f--;) {
- var g = e[f];
- if ("click" == g)this.$element.on("click." + this.type, this.options.selector, a.proxy(this.toggle, this)); else if ("manual" != g) {
- var h = "hover" == g ? "mouseenter" : "focusin", i = "hover" == g ? "mouseleave" : "focusout";
- this.$element.on(h + "." + this.type, this.options.selector, a.proxy(this.enter, this)), this.$element.on(i + "." + this.type, this.options.selector, a.proxy(this.leave, this))
- }
- }
- this.options.selector ? this._options = a.extend({}, this.options, {
- trigger: "manual",
- selector: ""
- }) : this.fixTitle()
- }, b.prototype.getDefaults = function () {
- return b.DEFAULTS
- }, b.prototype.getOptions = function (b) {
- return b = a.extend({}, this.getDefaults(), this.$element.data(), b), b.delay && "number" == typeof b.delay && (b.delay = {
- show: b.delay,
- hide: b.delay
- }), b
- }, b.prototype.getDelegateOptions = function () {
- var b = {}, c = this.getDefaults();
- return this._options && a.each(this._options, function (a, d) {
- c[a] != d && (b[a] = d)
- }), b
- }, b.prototype.enter = function (b) {
- var c = b instanceof this.constructor ? b : a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type);
- return clearTimeout(c.timeout), c.hoverState = "in", c.options.delay && c.options.delay.show ? void(c.timeout = setTimeout(function () {
- "in" == c.hoverState && c.show()
- }, c.options.delay.show)) : c.show()
- }, b.prototype.leave = function (b) {
- var c = b instanceof this.constructor ? b : a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type);
- return clearTimeout(c.timeout), c.hoverState = "out", c.options.delay && c.options.delay.hide ? void(c.timeout = setTimeout(function () {
- "out" == c.hoverState && c.hide()
- }, c.options.delay.hide)) : c.hide()
- }, b.prototype.show = function () {
- var b = a.Event("show.bs." + this.type);
- if (this.hasContent() && this.enabled) {
- if (this.$element.trigger(b), b.isDefaultPrevented())return;
- var c = this, d = this.tip();
- this.setContent(), this.options.animation && d.addClass("fade");
- var e = "function" == typeof this.options.placement ? this.options.placement.call(this, d[0], this.$element[0]) : this.options.placement, f = /\s?auto?\s?/i, g = f.test(e);
- g && (e = e.replace(f, "") || "top"), d.detach().css({
- top: 0,
- left: 0,
- display: "block"
- }).addClass(e), this.options.container ? d.appendTo(this.options.container) : d.insertAfter(this.$element);
- var h = this.getPosition(), i = d[0].offsetWidth, j = d[0].offsetHeight;
- if (g) {
- var k = this.$element.parent(), l = e, m = document.documentElement.scrollTop || document.body.scrollTop, n = "body" == this.options.container ? window.innerWidth : k.outerWidth(), o = "body" == this.options.container ? window.innerHeight : k.outerHeight(), p = "body" == this.options.container ? 0 : k.offset().left;
- e = "bottom" == e && h.top + h.height + j - m > o ? "top" : "top" == e && h.top - m - j < 0 ? "bottom" : "right" == e && h.right + i > n ? "left" : "left" == e && h.left - i < p ? "right" : e, d.removeClass(l).addClass(e)
- }
- var q = this.getCalculatedOffset(e, h, i, j);
- this.applyPlacement(q, e), this.hoverState = null;
- var r = function () {
- c.$element.trigger("shown.bs." + c.type)
- };
- a.support.transition && this.$tip.hasClass("fade") ? d.one(a.support.transition.end, r).emulateTransitionEnd(150) : r()
- }
- }, b.prototype.applyPlacement = function (b, c) {
- var d, e = this.tip(), f = e[0].offsetWidth, g = e[0].offsetHeight, h = parseInt(e.css("margin-top"), 10), i = parseInt(e.css("margin-left"), 10);
- isNaN(h) && (h = 0), isNaN(i) && (i = 0), b.top = b.top + h, b.left = b.left + i, a.offset.setOffset(e[0], a.extend({
- using: function (a) {
- e.css({top: Math.round(a.top), left: Math.round(a.left)})
- }
- }, b), 0), e.addClass("in");
- var j = e[0].offsetWidth, k = e[0].offsetHeight;
- if ("top" == c && k != g && (d = !0, b.top = b.top + g - k), /bottom|top/.test(c)) {
- var l = 0;
- b.left < 0 && (l = -2 * b.left, b.left = 0, e.offset(b), j = e[0].offsetWidth, k = e[0].offsetHeight), this.replaceArrow(l - f + j, j, "left")
- } else this.replaceArrow(k - g, k, "top");
- d && e.offset(b)
- }, b.prototype.replaceArrow = function (a, b, c) {
- this.arrow().css(c, a ? 50 * (1 - a / b) + "%" : "")
- }, b.prototype.setContent = function () {
- var a = this.tip(), b = this.getTitle();
- a.find(".tooltip-inner")[this.options.html ? "html" : "text"](b), a.removeClass("fade in top bottom left right")
- }, b.prototype.hide = function () {
- function b() {
- "in" != c.hoverState && d.detach(), c.$element.trigger("hidden.bs." + c.type)
- }
-
- var c = this, d = this.tip(), e = a.Event("hide.bs." + this.type);
- return this.$element.trigger(e), e.isDefaultPrevented() ? void 0 : (d.removeClass("in"), a.support.transition && this.$tip.hasClass("fade") ? d.one(a.support.transition.end, b).emulateTransitionEnd(150) : b(), this.hoverState = null, this)
- }, b.prototype.fixTitle = function () {
- var a = this.$element;
- (a.attr("title") || "string" != typeof a.attr("data-original-title")) && a.attr("data-original-title", a.attr("title") || "").attr("title", "")
- }, b.prototype.hasContent = function () {
- return this.getTitle()
- }, b.prototype.getPosition = function () {
- var b = this.$element[0];
- return a.extend({}, "function" == typeof b.getBoundingClientRect ? b.getBoundingClientRect() : {
- width: b.offsetWidth,
- height: b.offsetHeight
- }, this.$element.offset())
- }, b.prototype.getCalculatedOffset = function (a, b, c, d) {
- return "bottom" == a ? {
- top: b.top + b.height,
- left: b.left + b.width / 2 - c / 2
- } : "top" == a ? {
- top: b.top - d,
- left: b.left + b.width / 2 - c / 2
- } : "left" == a ? {top: b.top + b.height / 2 - d / 2, left: b.left - c} : {
- top: b.top + b.height / 2 - d / 2,
- left: b.left + b.width
- }
- }, b.prototype.getTitle = function () {
- var a, b = this.$element, c = this.options;
- return a = b.attr("data-original-title") || ("function" == typeof c.title ? c.title.call(b[0]) : c.title)
- }, b.prototype.tip = function () {
- return this.$tip = this.$tip || a(this.options.template)
- }, b.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find(".tooltip-arrow")
- }, b.prototype.validate = function () {
- this.$element[0].parentNode || (this.hide(), this.$element = null, this.options = null)
- }, b.prototype.enable = function () {
- this.enabled = !0
- }, b.prototype.disable = function () {
- this.enabled = !1
- }, b.prototype.toggleEnabled = function () {
- this.enabled = !this.enabled
- }, b.prototype.toggle = function (b) {
- var c = b ? a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type) : this;
- c.tip().hasClass("in") ? c.leave(c) : c.enter(c)
- }, b.prototype.destroy = function () {
- clearTimeout(this.timeout), this.hide().$element.off("." + this.type).removeData("bs." + this.type)
- };
- var c = a.fn.tooltip;
- a.fn.tooltip = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.tooltip"), f = "object" == typeof c && c;
- (e || "destroy" != c) && (e || d.data("bs.tooltip", e = new b(this, f)), "string" == typeof c && e[c]())
- })
- }, a.fn.tooltip.Constructor = b, a.fn.tooltip.noConflict = function () {
- return a.fn.tooltip = c, this
- }
-}(jQuery), +function (a) {
- "use strict";
- var b = function (a, b) {
- this.init("popover", a, b)
- };
- if (!a.fn.tooltip)throw new Error("Popover requires tooltip.js");
- b.DEFAULTS = a.extend({}, a.fn.tooltip.Constructor.DEFAULTS, {
- placement: "right",
- trigger: "click",
- content: "",
- template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
- }), b.prototype = a.extend({}, a.fn.tooltip.Constructor.prototype), b.prototype.constructor = b, b.prototype.getDefaults = function () {
- return b.DEFAULTS
- }, b.prototype.setContent = function () {
- var a = this.tip(), b = this.getTitle(), c = this.getContent();
- a.find(".popover-title")[this.options.html ? "html" : "text"](b), a.find(".popover-content")[this.options.html ? "string" == typeof c ? "html" : "append" : "text"](c), a.removeClass("fade top bottom left right in"), a.find(".popover-title").html() || a.find(".popover-title").hide()
- }, b.prototype.hasContent = function () {
- return this.getTitle() || this.getContent()
- }, b.prototype.getContent = function () {
- var a = this.$element, b = this.options;
- return a.attr("data-content") || ("function" == typeof b.content ? b.content.call(a[0]) : b.content)
- }, b.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find(".arrow")
- }, b.prototype.tip = function () {
- return this.$tip || (this.$tip = a(this.options.template)), this.$tip
- };
- var c = a.fn.popover;
- a.fn.popover = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.popover"), f = "object" == typeof c && c;
- (e || "destroy" != c) && (e || d.data("bs.popover", e = new b(this, f)), "string" == typeof c && e[c]())
- })
- }, a.fn.popover.Constructor = b, a.fn.popover.noConflict = function () {
- return a.fn.popover = c, this
- }
-}(jQuery), +function (a) {
- "use strict";
- function b(c, d) {
- var e, f = a.proxy(this.process, this);
- this.$element = a(a(c).is("body") ? window : c), this.$body = a("body"), this.$scrollElement = this.$element.on("scroll.bs.scroll-spy.data-api", f), this.options = a.extend({}, b.DEFAULTS, d), this.selector = (this.options.target || (e = a(c).attr("href")) && e.replace(/.*(?=#[^\s]+$)/, "") || "") + " .nav li > a", this.offsets = a([]), this.targets = a([]), this.activeTarget = null, this.refresh(), this.process()
- }
-
- b.DEFAULTS = {offset: 10}, b.prototype.refresh = function () {
- var b = this.$element[0] == window ? "offset" : "position";
- this.offsets = a([]), this.targets = a([]);
- {
- var c = this;
- this.$body.find(this.selector).map(function () {
- var d = a(this), e = d.data("target") || d.attr("href"), f = /^#./.test(e) && a(e);
- return f && f.length && f.is(":visible") && [[f[b]().top + (!a.isWindow(c.$scrollElement.get(0)) && c.$scrollElement.scrollTop()), e]] || null
- }).sort(function (a, b) {
- return a[0] - b[0]
- }).each(function () {
- c.offsets.push(this[0]), c.targets.push(this[1])
- })
- }
- }, b.prototype.process = function () {
- var a, b = this.$scrollElement.scrollTop() + this.options.offset, c = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight, d = c - this.$scrollElement.height(), e = this.offsets, f = this.targets, g = this.activeTarget;
- if (b >= d)return g != (a = f.last()[0]) && this.activate(a);
- if (g && b <= e[0])return g != (a = f[0]) && this.activate(a);
- for (a = e.length; a--;)g != f[a] && b >= e[a] && (!e[a + 1] || b <= e[a + 1]) && this.activate(f[a])
- }, b.prototype.activate = function (b) {
- this.activeTarget = b, a(this.selector).parentsUntil(this.options.target, ".active").removeClass("active");
- var c = this.selector + '[data-target="' + b + '"],' + this.selector + '[href="' + b + '"]', d = a(c).parents("li").addClass("active");
- d.parent(".dropdown-menu").length && (d = d.closest("li.dropdown").addClass("active")), d.trigger("activate.bs.scrollspy")
- };
- var c = a.fn.scrollspy;
- a.fn.scrollspy = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.scrollspy"), f = "object" == typeof c && c;
- e || d.data("bs.scrollspy", e = new b(this, f)), "string" == typeof c && e[c]()
- })
- }, a.fn.scrollspy.Constructor = b, a.fn.scrollspy.noConflict = function () {
- return a.fn.scrollspy = c, this
- }, a(window).on("load", function () {
- a('[data-spy="scroll"]').each(function () {
- var b = a(this);
- b.scrollspy(b.data())
- })
- })
-}(jQuery), +function (a) {
- "use strict";
- var b = function (b) {
- this.element = a(b)
- };
- b.prototype.show = function () {
- var b = this.element, c = b.closest("ul:not(.dropdown-menu)"), d = b.data("target");
- if (d || (d = b.attr("href"), d = d && d.replace(/.*(?=#[^\s]*$)/, "")), !b.parent("li").hasClass("active")) {
- var e = c.find(".active:last a")[0], f = a.Event("show.bs.tab", {relatedTarget: e});
- if (b.trigger(f), !f.isDefaultPrevented()) {
- var g = a(d);
- this.activate(b.parent("li"), c), this.activate(g, g.parent(), function () {
- b.trigger({type: "shown.bs.tab", relatedTarget: e})
- })
- }
- }
- }, b.prototype.activate = function (b, c, d) {
- function e() {
- f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"), b.addClass("active"), g ? (b[0].offsetWidth, b.addClass("in")) : b.removeClass("fade"), b.parent(".dropdown-menu") && b.closest("li.dropdown").addClass("active"), d && d()
- }
-
- var f = c.find("> .active"), g = d && a.support.transition && f.hasClass("fade");
- g ? f.one(a.support.transition.end, e).emulateTransitionEnd(150) : e(), f.removeClass("in")
- };
- var c = a.fn.tab;
- a.fn.tab = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.tab");
- e || d.data("bs.tab", e = new b(this)), "string" == typeof c && e[c]()
- })
- }, a.fn.tab.Constructor = b, a.fn.tab.noConflict = function () {
- return a.fn.tab = c, this
- }, a(document).on("click.bs.tab.data-api", '[data-toggle="tab"], [data-toggle="pill"]', function (b) {
- b.preventDefault(), a(this).tab("show")
- })
-}(jQuery), +function (a) {
- "use strict";
- var b = function (c, d) {
- this.options = a.extend({}, b.DEFAULTS, d), this.$window = a(window).on("scroll.bs.affix.data-api", a.proxy(this.checkPosition, this)).on("click.bs.affix.data-api", a.proxy(this.checkPositionWithEventLoop, this)), this.$element = a(c), this.affixed = this.unpin = this.pinnedOffset = null, this.checkPosition()
- };
- b.RESET = "affix affix-top affix-bottom", b.DEFAULTS = {offset: 0}, b.prototype.getPinnedOffset = function () {
- if (this.pinnedOffset)return this.pinnedOffset;
- this.$element.removeClass(b.RESET).addClass("affix");
- var a = this.$window.scrollTop(), c = this.$element.offset();
- return this.pinnedOffset = c.top - a
- }, b.prototype.checkPositionWithEventLoop = function () {
- setTimeout(a.proxy(this.checkPosition, this), 1)
- }, b.prototype.checkPosition = function () {
- if (this.$element.is(":visible")) {
- var c = a(document).height(), d = this.$window.scrollTop(), e = this.$element.offset(), f = this.options.offset, g = f.top, h = f.bottom;
- "top" == this.affixed && (e.top += d), "object" != typeof f && (h = g = f), "function" == typeof g && (g = f.top(this.$element)), "function" == typeof h && (h = f.bottom(this.$element));
- var i = null != this.unpin && d + this.unpin <= e.top ? !1 : null != h && e.top + this.$element.height() >= c - h ? "bottom" : null != g && g >= d ? "top" : !1;
- if (this.affixed !== i) {
- this.unpin && this.$element.css("top", "");
- var j = "affix" + (i ? "-" + i : ""), k = a.Event(j + ".bs.affix");
- this.$element.trigger(k), k.isDefaultPrevented() || (this.affixed = i, this.unpin = "bottom" == i ? this.getPinnedOffset() : null, this.$element.removeClass(b.RESET).addClass(j).trigger(a.Event(j.replace("affix", "affixed"))), "bottom" == i && this.$element.offset({top: c - h - this.$element.height()}))
- }
- }
- };
- var c = a.fn.affix;
- a.fn.affix = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.affix"), f = "object" == typeof c && c;
- e || d.data("bs.affix", e = new b(this, f)), "string" == typeof c && e[c]()
- })
- }, a.fn.affix.Constructor = b, a.fn.affix.noConflict = function () {
- return a.fn.affix = c, this
- }, a(window).on("load", function () {
- a('[data-spy="affix"]').each(function () {
- var b = a(this), c = b.data();
- c.offset = c.offset || {}, c.offsetBottom && (c.offset.bottom = c.offsetBottom), c.offsetTop && (c.offset.top = c.offsetTop), b.affix(c)
- })
- })
-}(jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/js/bootstrap2-typeahead.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/js/bootstrap2-typeahead.min.js
deleted file mode 100644
index a8447c20..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/bootstrap/js/bootstrap2-typeahead.min.js
+++ /dev/null
@@ -1,145 +0,0 @@
-/* =============================================================
- * bootstrap-typeahead.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#typeahead
- * =============================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============================================================ */
-
-
-!function (t) {
- "use strict";
- var e = function (e, s) {
- this.$element = t(e), this.options = t.extend({}, t.fn.typeahead.defaults, s), this.matcher = this.options.matcher || this.matcher, this.sorter = this.options.sorter || this.sorter, this.highlighter = this.options.highlighter || this.highlighter, this.updater = this.options.updater || this.updater, this.source = this.options.source, this.$menu = t(this.options.menu), this.shown = !1, this.listen()
- };
- e.prototype = {
- constructor: e, select: function () {
- var t = this.$menu.find(".active").attr("data-value");
- return this.$element.val(this.updater(t)).change(), this.hide()
- }, updater: function (t) {
- return t
- }, show: function () {
- var e = t.extend({}, this.$element.position(), {height: this.$element[0].offsetHeight});
- return this.$menu.insertAfter(this.$element).css({
- top: e.top + e.height,
- left: e.left
- }).show(), this.shown = !0, this
- }, hide: function () {
- return this.$menu.hide(), this.shown = !1, this
- }, lookup: function () {
- var e;
- return this.query = this.$element.val(), !this.query || this.query.length < this.options.minLength ? this.shown ? this.hide() : this : (e = t.isFunction(this.source) ? this.source(this.query, t.proxy(this.process, this)) : this.source, e ? this.process(e) : this)
- }, process: function (e) {
- var s = this;
- return e = t.grep(e, function (t) {
- return s.matcher(t)
- }), e = this.sorter(e), e.length ? this.render(e.slice(0, this.options.items)).show() : this.shown ? this.hide() : this
- }, matcher: function (t) {
- return ~t.toLowerCase().indexOf(this.query.toLowerCase())
- }, sorter: function (t) {
- for (var e, s = [], i = [], n = []; e = t.shift();)e.toLowerCase().indexOf(this.query.toLowerCase()) ? ~e.indexOf(this.query) ? i.push(e) : n.push(e) : s.push(e);
- return s.concat(i, n)
- }, highlighter: function (t) {
- var e = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
- return t.replace(new RegExp("(" + e + ")", "ig"), function (t, e) {
- return "<strong>" + e + "</strong>"
- })
- }, render: function (e) {
- var s = this;
- return e = t(e).map(function (e, i) {
- return e = t(s.options.item).attr("data-value", i), e.find("a").html(s.highlighter(i)), e[0]
- }), e.first().addClass("active"), this.$menu.html(e), this
- }, next: function () {
- var e = this.$menu.find(".active").removeClass("active"), s = e.next();
- s.length || (s = t(this.$menu.find("li")[0])), s.addClass("active")
- }, prev: function () {
- var t = this.$menu.find(".active").removeClass("active"), e = t.prev();
- e.length || (e = this.$menu.find("li").last()), e.addClass("active")
- }, listen: function () {
- this.$element.on("focus", t.proxy(this.focus, this)).on("blur", t.proxy(this.blur, this)).on("keypress", t.proxy(this.keypress, this)).on("keyup", t.proxy(this.keyup, this)), this.eventSupported("keydown") && this.$element.on("keydown", t.proxy(this.keydown, this)), this.$menu.on("click", t.proxy(this.click, this)).on("mouseenter", "li", t.proxy(this.mouseenter, this)).on("mouseleave", "li", t.proxy(this.mouseleave, this))
- }, eventSupported: function (t) {
- var e = t in this.$element;
- return e || (this.$element.setAttribute(t, "return;"), e = "function" == typeof this.$element[t]), e
- }, move: function (t) {
- if (this.shown) {
- switch (t.keyCode) {
- case 9:
- case 13:
- case 27:
- t.preventDefault();
- break;
- case 38:
- t.preventDefault(), this.prev();
- break;
- case 40:
- t.preventDefault(), this.next()
- }
- t.stopPropagation()
- }
- }, keydown: function (e) {
- this.suppressKeyPressRepeat = ~t.inArray(e.keyCode, [40, 38, 9, 13, 27]), this.move(e)
- }, keypress: function (t) {
- this.suppressKeyPressRepeat || this.move(t)
- }, keyup: function (t) {
- switch (t.keyCode) {
- case 40:
- case 38:
- case 16:
- case 17:
- case 18:
- break;
- case 9:
- case 13:
- if (!this.shown)return;
- this.select();
- break;
- case 27:
- if (!this.shown)return;
- this.hide();
- break;
- default:
- this.lookup()
- }
- t.stopPropagation(), t.preventDefault()
- }, focus: function () {
- this.focused = !0
- }, blur: function () {
- this.focused = !1, !this.mousedover && this.shown && this.hide()
- }, click: function (t) {
- t.stopPropagation(), t.preventDefault(), this.select(), this.$element.focus()
- }, mouseenter: function (e) {
- this.mousedover = !0, this.$menu.find(".active").removeClass("active"), t(e.currentTarget).addClass("active")
- }, mouseleave: function () {
- this.mousedover = !1, !this.focused && this.shown && this.hide()
- }
- };
- var s = t.fn.typeahead;
- t.fn.typeahead = function (s) {
- return this.each(function () {
- var i = t(this), n = i.data("typeahead"), h = "object" == typeof s && s;
- n || i.data("typeahead", n = new e(this, h)), "string" == typeof s && n[s]()
- })
- }, t.fn.typeahead.defaults = {
- source: [],
- items: 8,
- menu: '<ul class="typeahead dropdown-menu"></ul>',
- item: '<li><a href="#"></a></li>',
- minLength: 1
- }, t.fn.typeahead.Constructor = e, t.fn.typeahead.noConflict = function () {
- return t.fn.typeahead = s, this
- }, t(document).on("focus.typeahead.data-api", '[data-provide="typeahead"]', function () {
- var e = t(this);
- e.data("typeahead") || e.typeahead(e.data())
- })
-}(window.jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/ict-wizard.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/ict-wizard.js
deleted file mode 100644
index acdd63f2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/ict-wizard.js
+++ /dev/null
@@ -1,129 +0,0 @@
-var ictWizard = function () {
-
- var type = "normal";
-
- if (!jQuery().bootstrapWizard) {
- return;
- }
-
- var isShowTab2 = true;
- var wizardBody = $('#ict_wizard_body');
- var form = $('#submit_form');
-
- var initFormData = function () {
-
- /* $("#tab1 .form-group").each(function () {
- $(this).removeClass('has-success');
- $(this).removeClass('has-error');
- $(this).find(".help-block[for]").remove();
- }); */
- var liSelected = wizardBody.find("li.active");
- if ($("a", liSelected).attr("href") != "#tab1") {
- wizardBody.find("a[href*='tab1']").trigger('click');
- }
- wizardBody.find('.progress-bar').css({
- width: 1 / 3 * 100 + '%'
- });
- if (type) {
- wizardBody.find('.button-back').show();
- } else {
- wizardBody.find('.button-submit').show();
- }
- }
-
- wizardBody.find('.button-previous').hide();
-
- var handleTitle = function (tab, navigation, index) {
- var total = navigation.find('li').length;
- var current = index + 1;
-
- // set done steps
- jQuery('li', wizardBody).removeClass("done");
- var li_list = navigation.find('li');
- for (var i = 0; i < index; i++) {
- jQuery(li_list[i]).addClass("done");
- }
-
- if (current == 1) {
- wizardBody.find('.button-previous,.button-first').hide();
- } else {
- if (isShowTab2) {
- wizardBody.find('.button-previous').show();
- if (type) {
- wizardBody.find('.button-back').show();
- } else {
- wizardBody.find('.button-submit').show();
- }
- } else {
- wizardBody.find('.button-first').show();
- }
- }
-
- if (current >= total) {
- wizardBody.find('.button-next').hide();
- wizardBody.find('.button-last').hide();
- if (type) {
- wizardBody.find('.button-back').show();
- } else {
- wizardBody.find('.button-submit').show();
- }
-
- } else {
- if (isShowTab2) {
- wizardBody.find('.button-next').show();
- if (type) {
- wizardBody.find('.button-back').show();
- } else {
- wizardBody.find('.button-submit').show();
- }
- } else {
- wizardBody.find('.button-last').show();
- }
- }
-
- var $percent = (current / total) * 100;
- wizardBody.find('.progress-bar').css({
- width: $percent + '%'
- });
- }
-
- // default form wizard
- wizardBody.bootstrapWizard({
- 'nextSelector': '.button-next',
- 'previousSelector': '.button-previous',
- 'lastSelector': '.button-last',
- 'firstSelector': '.button-first',
- onTabClick: function (tab, navigation, index, clickedIndex) {
- if (!isShowTab2 && clickedIndex == 1) {
- return false;
- }
- /* if (form.valid() == false) {
- return false;
- } */
- handleTitle(tab, navigation, clickedIndex);
- },
- onNext: function (tab, navigation, index) {
- /* if (form.valid() == false) {
- return false;
- } */
-
- handleTitle(tab, navigation, index);
- },
- onPrevious: function (tab, navigation, index) {
- handleTitle(tab, navigation, index);
- },
- onFirst: function (tab, navigation, index) {
- handleTitle(tab, navigation, index);
- },
- onLast: function (tab, navigation, index) {
- /* if (form.valid() == false) {
- return false;
- } */
-
- handleTitle(tab, navigation, index);
- }
- });
-
- //初始化表单数据
- initFormData();
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/ict_wizard_view.html b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/ict_wizard_view.html
deleted file mode 100644
index bf7e2949..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/ict_wizard_view.html
+++ /dev/null
@@ -1,141 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title></title>
- <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
- <link href="plugins.css" rel="stylesheet" type="text/css">
- <link href="ngict-component.css" rel="stylesheet" type="text/css">
-</head>
-<body style="overflow: auto;overflow-y: hidden;">
-<div id="ict_wizard_body" style="height:100%;background-color:#FFF;overflow-x:hidden;overflow-y:auto;margin:1%">
- <form action="#" class="form-horizontal" id="submit_form">
- <div class="form-wizard">
- <div class="form-body">
- <ul class="nav nav-pills nav-justified steps">
- <li>
- <a id="test" href="#tab1" data-toggle="tab" class="step step-padding">
- <span class="number">
- 1
- </span>
- <span class="desc">
- <i class="fa fa-check"></i>
- <span id="com_zte_ums_ict_sm_new_user_basic_info" name_i18n="com_zte_ums_ict_sm_new_user">
- 第一步
- </span>
- </span>
- </a>
- </li>
- <li>
- <a href="#tab2" data-toggle="tab" class="step step-padding">
- <span class="number">
- 2
- </span>
- <span class="desc">
- <i class="fa fa-check"></i>
- <span id="com_zte_ums_ict_sm_new_user_password_account"
- name_i18n="com_zte_ums_ict_sm_new_user">
- 第二步
- </span>
- </span>
- </a>
- </li>
- <li>
- <a href="#tab3" data-toggle="tab" class="step step-padding">
- <span class="number">
- 3
- </span>
- <span class="desc">
- <i class="fa fa-check"></i>
- <span id="com_zte_ums_ict_sm_new_user_role_group" name_i18n="com_zte_ums_ict_sm_new_user">
- 第三步
- </span>
- </span>
- </a>
- </li>
- </ul>
- <div id="bar" class="progress progress-striped" role="progressbar">
- <div class="progress-bar progress-bar-success">
- </div>
- </div>
- <div class="tab-content">
- <div class="tab-pane active" id="tab1">
- <h5 class="form-section">
- <span id="com_zte_ums_ict_sm_new_user_basic_info_tip" name_i18n="com_zte_ums_ict_sm_new_user"> &nbsp; &nbsp;第一个标签页的内容
- </span>
- </h5>
- </div>
- <div class="tab-pane" id="tab2">
- <h5 class="form-section">
- <span id="com_zte_ums_ict_sm_new_user_password_account_tip"
- name_i18n="com_zte_ums_ict_sm_new_user"> &nbsp; &nbsp;第二个标签页的内容
- </span>
- </h5>
- </div>
- <div class="tab-pane" id="tab3">
- <h5 class="form-section">
- <span id="com_zte_ums_ict_sm_new_user_role_group_tip" name_i18n="com_zte_ums_ict_sm_new_user"> &nbsp; &nbsp;第三个标签页的内容
- </span>
- </h5>
- </div>
- </div>
- </div>
- <div style="padding-bottom: 10px;">
- <div class="row">
- <div class="col-xs-12">
- <div class="col-xs-offset-3 col-xs-9 btnGroup">
- <a href="javascript:;" class="btn grey radius_l previous button-previous">
- <!-- <i class="m-icon-swapleft"></i> -->
- <span id="com_zte_ums_ict_sm_new_user_back" name_i18n="com_zte_ums_ict_sm_new_user">
- 上一步
- </span>
- </a>
- <a href="javascript:;" class="btn default button-first" style="display:none">
- <i class="m-icon-swapleft"></i>
- <span id="com_zte_ums_ict_sm_new_user_back" name_i18n="com_zte_ums_ict_sm_new_user">
- </span>
- </a>
- <a href="javascript:;" class="btn grey radius_l button-next">
- <span id="com_zte_ums_ict_sm_new_user_continue" name_i18n="com_zte_ums_ict_sm_new_user">
- 继续
- </span>
- <!-- <i class="m-icon-swapright m-icon-white"></i> -->
- </a>
- <a href="javascript:;" class="btn blue button-last" style="display:none">
- <span id="com_zte_ums_ict_sm_new_user_continue" name_i18n="com_zte_ums_ict_sm_new_user">
- </span>
- <i class="m-icon-swapright m-icon-white"></i>
- </a>
- <!-- <a href="javascript:;" class="btn blue1 radius_l button-submit" aria-hidden="true">
- <span id="com_zte_ums_ict_sm_new_user_submit" name_i18n="com_zte_ums_ict_sm_new_user">
- 提交
- </span>
- </a> -->
- <a href="javascript:;" class="btn blue button-last" style="display:none">
- <span id="com_zte_ums_ict_sm_new_user_continue" name_i18n="com_zte_ums_ict_sm_new_user">
- </span>
- <i class="m-icon-swapright m-icon-white"></i>
- </a>
- <!-- <a href="javascript:;" class="btn blue1 radius_l button-back" aria-hidden="true">
- <span id="com_zte_ums_ict_sm_new_user_submit" name_i18n="com_zte_ums_ict_sm_new_user">
- 返回
- </span>
- </a> -->
- </div>
- </div>
- </div>
- </div>
- </div>
- </form>
-</div>
-<script src="jquery/jquery-1.10.2.min.js"></script>
-<script src="bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
-<script src="bootstrap-wizard/jquery.bootstrap.wizard.min.js"></script>
-<script src="ict-wizard.js"></script>
-<script>
- $(function () {
- ictWizard();
- });
-</script>
-</body>
-</html> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.10.2.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.10.2.min.js
deleted file mode 100644
index a78dbea9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.10.2.min.js
+++ /dev/null
@@ -1,2640 +0,0 @@
-/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
-!function (a, b) {
- "object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function (a) {
- if (!a.document)throw new Error("jQuery requires a window with a document");
- return b(a)
- } : b(a)
-}("undefined" != typeof window ? window : this, function (a, b) {
- var c = [], d = c.slice, e = c.concat, f = c.push, g = c.indexOf, h = {}, i = h.toString, j = h.hasOwnProperty, k = "".trim, l = {}, m = "1.11.0", n = function (a, b) {
- return new n.fn.init(a, b)
- }, o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, p = /^-ms-/, q = /-([\da-z])/gi, r = function (a, b) {
- return b.toUpperCase()
- };
- n.fn = n.prototype = {
- jquery: m, constructor: n, selector: "", length: 0, toArray: function () {
- return d.call(this)
- }, get: function (a) {
- return null != a ? 0 > a ? this[a + this.length] : this[a] : d.call(this)
- }, pushStack: function (a) {
- var b = n.merge(this.constructor(), a);
- return b.prevObject = this, b.context = this.context, b
- }, each: function (a, b) {
- return n.each(this, a, b)
- }, map: function (a) {
- return this.pushStack(n.map(this, function (b, c) {
- return a.call(b, c, b)
- }))
- }, slice: function () {
- return this.pushStack(d.apply(this, arguments))
- }, first: function () {
- return this.eq(0)
- }, last: function () {
- return this.eq(-1)
- }, eq: function (a) {
- var b = this.length, c = +a + (0 > a ? b : 0);
- return this.pushStack(c >= 0 && b > c ? [this[c]] : [])
- }, end: function () {
- return this.prevObject || this.constructor(null)
- }, push: f, sort: c.sort, splice: c.splice
- }, n.extend = n.fn.extend = function () {
- var a, b, c, d, e, f, g = arguments[0] || {}, h = 1, i = arguments.length, j = !1;
- for ("boolean" == typeof g && (j = g, g = arguments[h] || {}, h++), "object" == typeof g || n.isFunction(g) || (g = {}), h === i && (g = this, h--); i > h; h++)if (null != (e = arguments[h]))for (d in e)a = g[d], c = e[d], g !== c && (j && c && (n.isPlainObject(c) || (b = n.isArray(c))) ? (b ? (b = !1, f = a && n.isArray(a) ? a : []) : f = a && n.isPlainObject(a) ? a : {}, g[d] = n.extend(j, f, c)) : void 0 !== c && (g[d] = c));
- return g
- }, n.extend({
- expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""), isReady: !0, error: function (a) {
- throw new Error(a)
- }, noop: function () {
- }, isFunction: function (a) {
- return "function" === n.type(a)
- }, isArray: Array.isArray || function (a) {
- return "array" === n.type(a)
- }, isWindow: function (a) {
- return null != a && a == a.window
- }, isNumeric: function (a) {
- return a - parseFloat(a) >= 0
- }, isEmptyObject: function (a) {
- var b;
- for (b in a)return !1;
- return !0
- }, isPlainObject: function (a) {
- var b;
- if (!a || "object" !== n.type(a) || a.nodeType || n.isWindow(a))return !1;
- try {
- if (a.constructor && !j.call(a, "constructor") && !j.call(a.constructor.prototype, "isPrototypeOf"))return !1
- } catch (c) {
- return !1
- }
- if (l.ownLast)for (b in a)return j.call(a, b);
- for (b in a);
- return void 0 === b || j.call(a, b)
- }, type: function (a) {
- return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? h[i.call(a)] || "object" : typeof a
- }, globalEval: function (b) {
- b && n.trim(b) && (a.execScript || function (b) {
- a.eval.call(a, b)
- })(b)
- }, camelCase: function (a) {
- return a.replace(p, "ms-").replace(q, r)
- }, nodeName: function (a, b) {
- return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
- }, each: function (a, b, c) {
- var d, e = 0, f = a.length, g = s(a);
- if (c) {
- if (g) {
- for (; f > e; e++)if (d = b.apply(a[e], c), d === !1)break
- } else for (e in a)if (d = b.apply(a[e], c), d === !1)break
- } else if (g) {
- for (; f > e; e++)if (d = b.call(a[e], e, a[e]), d === !1)break
- } else for (e in a)if (d = b.call(a[e], e, a[e]), d === !1)break;
- return a
- }, trim: k && !k.call("\ufeff\xa0") ? function (a) {
- return null == a ? "" : k.call(a)
- } : function (a) {
- return null == a ? "" : (a + "").replace(o, "")
- }, makeArray: function (a, b) {
- var c = b || [];
- return null != a && (s(Object(a)) ? n.merge(c, "string" == typeof a ? [a] : a) : f.call(c, a)), c
- }, inArray: function (a, b, c) {
- var d;
- if (b) {
- if (g)return g.call(b, a, c);
- for (d = b.length, c = c ? 0 > c ? Math.max(0, d + c) : c : 0; d > c; c++)if (c in b && b[c] === a)return c
- }
- return -1
- }, merge: function (a, b) {
- var c = +b.length, d = 0, e = a.length;
- while (c > d)a[e++] = b[d++];
- if (c !== c)while (void 0 !== b[d])a[e++] = b[d++];
- return a.length = e, a
- }, grep: function (a, b, c) {
- for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++)d = !b(a[f], f), d !== h && e.push(a[f]);
- return e
- }, map: function (a, b, c) {
- var d, f = 0, g = a.length, h = s(a), i = [];
- if (h)for (; g > f; f++)d = b(a[f], f, c), null != d && i.push(d); else for (f in a)d = b(a[f], f, c), null != d && i.push(d);
- return e.apply([], i)
- }, guid: 1, proxy: function (a, b) {
- var c, e, f;
- return "string" == typeof b && (f = a[b], b = a, a = f), n.isFunction(a) ? (c = d.call(arguments, 2), e = function () {
- return a.apply(b || this, c.concat(d.call(arguments)))
- }, e.guid = a.guid = a.guid || n.guid++, e) : void 0
- }, now: function () {
- return +new Date
- }, support: l
- }), n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (a, b) {
- h["[object " + b + "]"] = b.toLowerCase()
- });
- function s(a) {
- var b = a.length, c = n.type(a);
- return "function" === c || n.isWindow(a) ? !1 : 1 === a.nodeType && b ? !0 : "array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a
- }
-
- var t = function (a) {
- var b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s = "sizzle" + -new Date, t = a.document, u = 0, v = 0, w = eb(), x = eb(), y = eb(), z = function (a, b) {
- return a === b && (j = !0), 0
- }, A = "undefined", B = 1 << 31, C = {}.hasOwnProperty, D = [], E = D.pop, F = D.push, G = D.push, H = D.slice, I = D.indexOf || function (a) {
- for (var b = 0, c = this.length; c > b; b++)if (this[b] === a)return b;
- return -1
- }, J = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", K = "[\\x20\\t\\r\\n\\f]", L = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", M = L.replace("w", "w#"), N = "\\[" + K + "*(" + L + ")" + K + "*(?:([*^$|!~]?=)" + K + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + M + ")|)|)" + K + "*\\]", O = ":(" + L + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + N.replace(3, 8) + ")*)|.*)\\)|)", P = new RegExp("^" + K + "+|((?:^|[^\\\\])(?:\\\\.)*)" + K + "+$", "g"), Q = new RegExp("^" + K + "*," + K + "*"), R = new RegExp("^" + K + "*([>+~]|" + K + ")" + K + "*"), S = new RegExp("=" + K + "*([^\\]'\"]*?)" + K + "*\\]", "g"), T = new RegExp(O), U = new RegExp("^" + M + "$"), V = {
- ID: new RegExp("^#(" + L + ")"),
- CLASS: new RegExp("^\\.(" + L + ")"),
- TAG: new RegExp("^(" + L.replace("w", "w*") + ")"),
- ATTR: new RegExp("^" + N),
- PSEUDO: new RegExp("^" + O),
- CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + K + "*(even|odd|(([+-]|)(\\d*)n|)" + K + "*(?:([+-]|)" + K + "*(\\d+)|))" + K + "*\\)|)", "i"),
- bool: new RegExp("^(?:" + J + ")$", "i"),
- needsContext: new RegExp("^" + K + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + K + "*((?:-\\d)?\\d*)" + K + "*\\)|)(?=[^-]|$)", "i")
- }, W = /^(?:input|select|textarea|button)$/i, X = /^h\d$/i, Y = /^[^{]+\{\s*\[native \w/, Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, $ = /[+~]/, _ = /'|\\/g, ab = new RegExp("\\\\([\\da-f]{1,6}" + K + "?|(" + K + ")|.)", "ig"), bb = function (a, b, c) {
- var d = "0x" + b - 65536;
- return d !== d || c ? b : 0 > d ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
- };
- try {
- G.apply(D = H.call(t.childNodes), t.childNodes), D[t.childNodes.length].nodeType
- } catch (cb) {
- G = {
- apply: D.length ? function (a, b) {
- F.apply(a, H.call(b))
- } : function (a, b) {
- var c = a.length, d = 0;
- while (a[c++] = b[d++]);
- a.length = c - 1
- }
- }
- }
- function db(a, b, d, e) {
- var f, g, h, i, j, m, p, q, u, v;
- if ((b ? b.ownerDocument || b : t) !== l && k(b), b = b || l, d = d || [], !a || "string" != typeof a)return d;
- if (1 !== (i = b.nodeType) && 9 !== i)return [];
- if (n && !e) {
- if (f = Z.exec(a))if (h = f[1]) {
- if (9 === i) {
- if (g = b.getElementById(h), !g || !g.parentNode)return d;
- if (g.id === h)return d.push(g), d
- } else if (b.ownerDocument && (g = b.ownerDocument.getElementById(h)) && r(b, g) && g.id === h)return d.push(g), d
- } else {
- if (f[2])return G.apply(d, b.getElementsByTagName(a)), d;
- if ((h = f[3]) && c.getElementsByClassName && b.getElementsByClassName)return G.apply(d, b.getElementsByClassName(h)), d
- }
- if (c.qsa && (!o || !o.test(a))) {
- if (q = p = s, u = b, v = 9 === i && a, 1 === i && "object" !== b.nodeName.toLowerCase()) {
- m = ob(a), (p = b.getAttribute("id")) ? q = p.replace(_, "\\$&") : b.setAttribute("id", q), q = "[id='" + q + "'] ", j = m.length;
- while (j--)m[j] = q + pb(m[j]);
- u = $.test(a) && mb(b.parentNode) || b, v = m.join(",")
- }
- if (v)try {
- return G.apply(d, u.querySelectorAll(v)), d
- } catch (w) {
- } finally {
- p || b.removeAttribute("id")
- }
- }
- }
- return xb(a.replace(P, "$1"), b, d, e)
- }
-
- function eb() {
- var a = [];
-
- function b(c, e) {
- return a.push(c + " ") > d.cacheLength && delete b[a.shift()], b[c + " "] = e
- }
-
- return b
- }
-
- function fb(a) {
- return a[s] = !0, a
- }
-
- function gb(a) {
- var b = l.createElement("div");
- try {
- return !!a(b)
- } catch (c) {
- return !1
- } finally {
- b.parentNode && b.parentNode.removeChild(b), b = null
- }
- }
-
- function hb(a, b) {
- var c = a.split("|"), e = a.length;
- while (e--)d.attrHandle[c[e]] = b
- }
-
- function ib(a, b) {
- var c = b && a, d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || B) - (~a.sourceIndex || B);
- if (d)return d;
- if (c)while (c = c.nextSibling)if (c === b)return -1;
- return a ? 1 : -1
- }
-
- function jb(a) {
- return function (b) {
- var c = b.nodeName.toLowerCase();
- return "input" === c && b.type === a
- }
- }
-
- function kb(a) {
- return function (b) {
- var c = b.nodeName.toLowerCase();
- return ("input" === c || "button" === c) && b.type === a
- }
- }
-
- function lb(a) {
- return fb(function (b) {
- return b = +b, fb(function (c, d) {
- var e, f = a([], c.length, b), g = f.length;
- while (g--)c[e = f[g]] && (c[e] = !(d[e] = c[e]))
- })
- })
- }
-
- function mb(a) {
- return a && typeof a.getElementsByTagName !== A && a
- }
-
- c = db.support = {}, f = db.isXML = function (a) {
- var b = a && (a.ownerDocument || a).documentElement;
- return b ? "HTML" !== b.nodeName : !1
- }, k = db.setDocument = function (a) {
- var b, e = a ? a.ownerDocument || a : t, g = e.defaultView;
- return e !== l && 9 === e.nodeType && e.documentElement ? (l = e, m = e.documentElement, n = !f(e), g && g !== g.top && (g.addEventListener ? g.addEventListener("unload", function () {
- k()
- }, !1) : g.attachEvent && g.attachEvent("onunload", function () {
- k()
- })), c.attributes = gb(function (a) {
- return a.className = "i", !a.getAttribute("className")
- }), c.getElementsByTagName = gb(function (a) {
- return a.appendChild(e.createComment("")), !a.getElementsByTagName("*").length
- }), c.getElementsByClassName = Y.test(e.getElementsByClassName) && gb(function (a) {
- return a.innerHTML = "<div class='a'></div><div class='a i'></div>", a.firstChild.className = "i", 2 === a.getElementsByClassName("i").length
- }), c.getById = gb(function (a) {
- return m.appendChild(a).id = s, !e.getElementsByName || !e.getElementsByName(s).length
- }), c.getById ? (d.find.ID = function (a, b) {
- if (typeof b.getElementById !== A && n) {
- var c = b.getElementById(a);
- return c && c.parentNode ? [c] : []
- }
- }, d.filter.ID = function (a) {
- var b = a.replace(ab, bb);
- return function (a) {
- return a.getAttribute("id") === b
- }
- }) : (delete d.find.ID, d.filter.ID = function (a) {
- var b = a.replace(ab, bb);
- return function (a) {
- var c = typeof a.getAttributeNode !== A && a.getAttributeNode("id");
- return c && c.value === b
- }
- }), d.find.TAG = c.getElementsByTagName ? function (a, b) {
- return typeof b.getElementsByTagName !== A ? b.getElementsByTagName(a) : void 0
- } : function (a, b) {
- var c, d = [], e = 0, f = b.getElementsByTagName(a);
- if ("*" === a) {
- while (c = f[e++])1 === c.nodeType && d.push(c);
- return d
- }
- return f
- }, d.find.CLASS = c.getElementsByClassName && function (a, b) {
- return typeof b.getElementsByClassName !== A && n ? b.getElementsByClassName(a) : void 0
- }, p = [], o = [], (c.qsa = Y.test(e.querySelectorAll)) && (gb(function (a) {
- a.innerHTML = "<select t=''><option selected=''></option></select>", a.querySelectorAll("[t^='']").length && o.push("[*^$]=" + K + "*(?:''|\"\")"), a.querySelectorAll("[selected]").length || o.push("\\[" + K + "*(?:value|" + J + ")"), a.querySelectorAll(":checked").length || o.push(":checked")
- }), gb(function (a) {
- var b = e.createElement("input");
- b.setAttribute("type", "hidden"), a.appendChild(b).setAttribute("name", "D"), a.querySelectorAll("[name=d]").length && o.push("name" + K + "*[*^$|!~]?="), a.querySelectorAll(":enabled").length || o.push(":enabled", ":disabled"), a.querySelectorAll("*,:x"), o.push(",.*:")
- })), (c.matchesSelector = Y.test(q = m.webkitMatchesSelector || m.mozMatchesSelector || m.oMatchesSelector || m.msMatchesSelector)) && gb(function (a) {
- c.disconnectedMatch = q.call(a, "div"), q.call(a, "[s!='']:x"), p.push("!=", O)
- }), o = o.length && new RegExp(o.join("|")), p = p.length && new RegExp(p.join("|")), b = Y.test(m.compareDocumentPosition), r = b || Y.test(m.contains) ? function (a, b) {
- var c = 9 === a.nodeType ? a.documentElement : a, d = b && b.parentNode;
- return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
- } : function (a, b) {
- if (b)while (b = b.parentNode)if (b === a)return !0;
- return !1
- }, z = b ? function (a, b) {
- if (a === b)return j = !0, 0;
- var d = !a.compareDocumentPosition - !b.compareDocumentPosition;
- return d ? d : (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === e || a.ownerDocument === t && r(t, a) ? -1 : b === e || b.ownerDocument === t && r(t, b) ? 1 : i ? I.call(i, a) - I.call(i, b) : 0 : 4 & d ? -1 : 1)
- } : function (a, b) {
- if (a === b)return j = !0, 0;
- var c, d = 0, f = a.parentNode, g = b.parentNode, h = [a], k = [b];
- if (!f || !g)return a === e ? -1 : b === e ? 1 : f ? -1 : g ? 1 : i ? I.call(i, a) - I.call(i, b) : 0;
- if (f === g)return ib(a, b);
- c = a;
- while (c = c.parentNode)h.unshift(c);
- c = b;
- while (c = c.parentNode)k.unshift(c);
- while (h[d] === k[d])d++;
- return d ? ib(h[d], k[d]) : h[d] === t ? -1 : k[d] === t ? 1 : 0
- }, e) : l
- }, db.matches = function (a, b) {
- return db(a, null, null, b)
- }, db.matchesSelector = function (a, b) {
- if ((a.ownerDocument || a) !== l && k(a), b = b.replace(S, "='$1']"), !(!c.matchesSelector || !n || p && p.test(b) || o && o.test(b)))try {
- var d = q.call(a, b);
- if (d || c.disconnectedMatch || a.document && 11 !== a.document.nodeType)return d
- } catch (e) {
- }
- return db(b, l, null, [a]).length > 0
- }, db.contains = function (a, b) {
- return (a.ownerDocument || a) !== l && k(a), r(a, b)
- }, db.attr = function (a, b) {
- (a.ownerDocument || a) !== l && k(a);
- var e = d.attrHandle[b.toLowerCase()], f = e && C.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !n) : void 0;
- return void 0 !== f ? f : c.attributes || !n ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null
- }, db.error = function (a) {
- throw new Error("Syntax error, unrecognized expression: " + a)
- }, db.uniqueSort = function (a) {
- var b, d = [], e = 0, f = 0;
- if (j = !c.detectDuplicates, i = !c.sortStable && a.slice(0), a.sort(z), j) {
- while (b = a[f++])b === a[f] && (e = d.push(f));
- while (e--)a.splice(d[e], 1)
- }
- return i = null, a
- }, e = db.getText = function (a) {
- var b, c = "", d = 0, f = a.nodeType;
- if (f) {
- if (1 === f || 9 === f || 11 === f) {
- if ("string" == typeof a.textContent)return a.textContent;
- for (a = a.firstChild; a; a = a.nextSibling)c += e(a)
- } else if (3 === f || 4 === f)return a.nodeValue
- } else while (b = a[d++])c += e(b);
- return c
- }, d = db.selectors = {
- cacheLength: 50,
- createPseudo: fb,
- match: V,
- attrHandle: {},
- find: {},
- relative: {
- ">": {dir: "parentNode", first: !0},
- " ": {dir: "parentNode"},
- "+": {dir: "previousSibling", first: !0},
- "~": {dir: "previousSibling"}
- },
- preFilter: {
- ATTR: function (a) {
- return a[1] = a[1].replace(ab, bb), a[3] = (a[4] || a[5] || "").replace(ab, bb), "~=" === a[2] && (a[3] = " " + a[3] + " "), a.slice(0, 4)
- }, CHILD: function (a) {
- return a[1] = a[1].toLowerCase(), "nth" === a[1].slice(0, 3) ? (a[3] || db.error(a[0]), a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * ("even" === a[3] || "odd" === a[3])), a[5] = +(a[7] + a[8] || "odd" === a[3])) : a[3] && db.error(a[0]), a
- }, PSEUDO: function (a) {
- var b, c = !a[5] && a[2];
- return V.CHILD.test(a[0]) ? null : (a[3] && void 0 !== a[4] ? a[2] = a[4] : c && T.test(c) && (b = ob(c, !0)) && (b = c.indexOf(")", c.length - b) - c.length) && (a[0] = a[0].slice(0, b), a[2] = c.slice(0, b)), a.slice(0, 3))
- }
- },
- filter: {
- TAG: function (a) {
- var b = a.replace(ab, bb).toLowerCase();
- return "*" === a ? function () {
- return !0
- } : function (a) {
- return a.nodeName && a.nodeName.toLowerCase() === b
- }
- }, CLASS: function (a) {
- var b = w[a + " "];
- return b || (b = new RegExp("(^|" + K + ")" + a + "(" + K + "|$)")) && w(a, function (a) {
- return b.test("string" == typeof a.className && a.className || typeof a.getAttribute !== A && a.getAttribute("class") || "")
- })
- }, ATTR: function (a, b, c) {
- return function (d) {
- var e = db.attr(d, a);
- return null == e ? "!=" === b : b ? (e += "", "=" === b ? e === c : "!=" === b ? e !== c : "^=" === b ? c && 0 === e.indexOf(c) : "*=" === b ? c && e.indexOf(c) > -1 : "$=" === b ? c && e.slice(-c.length) === c : "~=" === b ? (" " + e + " ").indexOf(c) > -1 : "|=" === b ? e === c || e.slice(0, c.length + 1) === c + "-" : !1) : !0
- }
- }, CHILD: function (a, b, c, d, e) {
- var f = "nth" !== a.slice(0, 3), g = "last" !== a.slice(-4), h = "of-type" === b;
- return 1 === d && 0 === e ? function (a) {
- return !!a.parentNode
- } : function (b, c, i) {
- var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling", q = b.parentNode, r = h && b.nodeName.toLowerCase(), t = !i && !h;
- if (q) {
- if (f) {
- while (p) {
- l = b;
- while (l = l[p])if (h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType)return !1;
- o = p = "only" === a && !o && "nextSibling"
- }
- return !0
- }
- if (o = [g ? q.firstChild : q.lastChild], g && t) {
- k = q[s] || (q[s] = {}), j = k[a] || [], n = j[0] === u && j[1], m = j[0] === u && j[2], l = n && q.childNodes[n];
- while (l = ++n && l && l[p] || (m = n = 0) || o.pop())if (1 === l.nodeType && ++m && l === b) {
- k[a] = [u, n, m];
- break
- }
- } else if (t && (j = (b[s] || (b[s] = {}))[a]) && j[0] === u)m = j[1]; else while (l = ++n && l && l[p] || (m = n = 0) || o.pop())if ((h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) && ++m && (t && ((l[s] || (l[s] = {}))[a] = [u, m]), l === b))break;
- return m -= e, m === d || m % d === 0 && m / d >= 0
- }
- }
- }, PSEUDO: function (a, b) {
- var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || db.error("unsupported pseudo: " + a);
- return e[s] ? e(b) : e.length > 1 ? (c = [a, a, "", b], d.setFilters.hasOwnProperty(a.toLowerCase()) ? fb(function (a, c) {
- var d, f = e(a, b), g = f.length;
- while (g--)d = I.call(a, f[g]), a[d] = !(c[d] = f[g])
- }) : function (a) {
- return e(a, 0, c)
- }) : e
- }
- },
- pseudos: {
- not: fb(function (a) {
- var b = [], c = [], d = g(a.replace(P, "$1"));
- return d[s] ? fb(function (a, b, c, e) {
- var f, g = d(a, null, e, []), h = a.length;
- while (h--)(f = g[h]) && (a[h] = !(b[h] = f))
- }) : function (a, e, f) {
- return b[0] = a, d(b, null, f, c), !c.pop()
- }
- }), has: fb(function (a) {
- return function (b) {
- return db(a, b).length > 0
- }
- }), contains: fb(function (a) {
- return function (b) {
- return (b.textContent || b.innerText || e(b)).indexOf(a) > -1
- }
- }), lang: fb(function (a) {
- return U.test(a || "") || db.error("unsupported lang: " + a), a = a.replace(ab, bb).toLowerCase(), function (b) {
- var c;
- do if (c = n ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang"))return c = c.toLowerCase(), c === a || 0 === c.indexOf(a + "-"); while ((b = b.parentNode) && 1 === b.nodeType);
- return !1
- }
- }), target: function (b) {
- var c = a.location && a.location.hash;
- return c && c.slice(1) === b.id
- }, root: function (a) {
- return a === m
- }, focus: function (a) {
- return a === l.activeElement && (!l.hasFocus || l.hasFocus()) && !!(a.type || a.href || ~a.tabIndex)
- }, enabled: function (a) {
- return a.disabled === !1
- }, disabled: function (a) {
- return a.disabled === !0
- }, checked: function (a) {
- var b = a.nodeName.toLowerCase();
- return "input" === b && !!a.checked || "option" === b && !!a.selected
- }, selected: function (a) {
- return a.parentNode && a.parentNode.selectedIndex, a.selected === !0
- }, empty: function (a) {
- for (a = a.firstChild; a; a = a.nextSibling)if (a.nodeType < 6)return !1;
- return !0
- }, parent: function (a) {
- return !d.pseudos.empty(a)
- }, header: function (a) {
- return X.test(a.nodeName)
- }, input: function (a) {
- return W.test(a.nodeName)
- }, button: function (a) {
- var b = a.nodeName.toLowerCase();
- return "input" === b && "button" === a.type || "button" === b
- }, text: function (a) {
- var b;
- return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
- }, first: lb(function () {
- return [0]
- }), last: lb(function (a, b) {
- return [b - 1]
- }), eq: lb(function (a, b, c) {
- return [0 > c ? c + b : c]
- }), even: lb(function (a, b) {
- for (var c = 0; b > c; c += 2)a.push(c);
- return a
- }), odd: lb(function (a, b) {
- for (var c = 1; b > c; c += 2)a.push(c);
- return a
- }), lt: lb(function (a, b, c) {
- for (var d = 0 > c ? c + b : c; --d >= 0;)a.push(d);
- return a
- }), gt: lb(function (a, b, c) {
- for (var d = 0 > c ? c + b : c; ++d < b;)a.push(d);
- return a
- })
- }
- }, d.pseudos.nth = d.pseudos.eq;
- for (b in{radio: !0, checkbox: !0, file: !0, password: !0, image: !0})d.pseudos[b] = jb(b);
- for (b in{submit: !0, reset: !0})d.pseudos[b] = kb(b);
- function nb() {
- }
-
- nb.prototype = d.filters = d.pseudos, d.setFilters = new nb;
- function ob(a, b) {
- var c, e, f, g, h, i, j, k = x[a + " "];
- if (k)return b ? 0 : k.slice(0);
- h = a, i = [], j = d.preFilter;
- while (h) {
- (!c || (e = Q.exec(h))) && (e && (h = h.slice(e[0].length) || h), i.push(f = [])), c = !1, (e = R.exec(h)) && (c = e.shift(), f.push({
- value: c,
- type: e[0].replace(P, " ")
- }), h = h.slice(c.length));
- for (g in d.filter)!(e = V[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(), f.push({
- value: c,
- type: g,
- matches: e
- }), h = h.slice(c.length));
- if (!c)break
- }
- return b ? h.length : h ? db.error(a) : x(a, i).slice(0)
- }
-
- function pb(a) {
- for (var b = 0, c = a.length, d = ""; c > b; b++)d += a[b].value;
- return d
- }
-
- function qb(a, b, c) {
- var d = b.dir, e = c && "parentNode" === d, f = v++;
- return b.first ? function (b, c, f) {
- while (b = b[d])if (1 === b.nodeType || e)return a(b, c, f)
- } : function (b, c, g) {
- var h, i, j = [u, f];
- if (g) {
- while (b = b[d])if ((1 === b.nodeType || e) && a(b, c, g))return !0
- } else while (b = b[d])if (1 === b.nodeType || e) {
- if (i = b[s] || (b[s] = {}), (h = i[d]) && h[0] === u && h[1] === f)return j[2] = h[2];
- if (i[d] = j, j[2] = a(b, c, g))return !0
- }
- }
- }
-
- function rb(a) {
- return a.length > 1 ? function (b, c, d) {
- var e = a.length;
- while (e--)if (!a[e](b, c, d))return !1;
- return !0
- } : a[0]
- }
-
- function sb(a, b, c, d, e) {
- for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++)(f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h));
- return g
- }
-
- function tb(a, b, c, d, e, f) {
- return d && !d[s] && (d = tb(d)), e && !e[s] && (e = tb(e, f)), fb(function (f, g, h, i) {
- var j, k, l, m = [], n = [], o = g.length, p = f || wb(b || "*", h.nodeType ? [h] : h, []), q = !a || !f && b ? p : sb(p, m, a, h, i), r = c ? e || (f ? a : o || d) ? [] : g : q;
- if (c && c(q, r, h, i), d) {
- j = sb(r, n), d(j, [], h, i), k = j.length;
- while (k--)(l = j[k]) && (r[n[k]] = !(q[n[k]] = l))
- }
- if (f) {
- if (e || a) {
- if (e) {
- j = [], k = r.length;
- while (k--)(l = r[k]) && j.push(q[k] = l);
- e(null, r = [], j, i)
- }
- k = r.length;
- while (k--)(l = r[k]) && (j = e ? I.call(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l))
- }
- } else r = sb(r === g ? r.splice(o, r.length) : r), e ? e(null, g, r, i) : G.apply(g, r)
- })
- }
-
- function ub(a) {
- for (var b, c, e, f = a.length, g = d.relative[a[0].type], i = g || d.relative[" "], j = g ? 1 : 0, k = qb(function (a) {
- return a === b
- }, i, !0), l = qb(function (a) {
- return I.call(b, a) > -1
- }, i, !0), m = [function (a, c, d) {
- return !g && (d || c !== h) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d))
- }]; f > j; j++)if (c = d.relative[a[j].type])m = [qb(rb(m), c)]; else {
- if (c = d.filter[a[j].type].apply(null, a[j].matches), c[s]) {
- for (e = ++j; f > e; e++)if (d.relative[a[e].type])break;
- return tb(j > 1 && rb(m), j > 1 && pb(a.slice(0, j - 1).concat({value: " " === a[j - 2].type ? "*" : ""})).replace(P, "$1"), c, e > j && ub(a.slice(j, e)), f > e && ub(a = a.slice(e)), f > e && pb(a))
- }
- m.push(c)
- }
- return rb(m)
- }
-
- function vb(a, b) {
- var c = b.length > 0, e = a.length > 0, f = function (f, g, i, j, k) {
- var m, n, o, p = 0, q = "0", r = f && [], s = [], t = h, v = f || e && d.find.TAG("*", k), w = u += null == t ? 1 : Math.random() || .1, x = v.length;
- for (k && (h = g !== l && g); q !== x && null != (m = v[q]); q++) {
- if (e && m) {
- n = 0;
- while (o = a[n++])if (o(m, g, i)) {
- j.push(m);
- break
- }
- k && (u = w)
- }
- c && ((m = !o && m) && p--, f && r.push(m))
- }
- if (p += q, c && q !== p) {
- n = 0;
- while (o = b[n++])o(r, s, g, i);
- if (f) {
- if (p > 0)while (q--)r[q] || s[q] || (s[q] = E.call(j));
- s = sb(s)
- }
- G.apply(j, s), k && !f && s.length > 0 && p + b.length > 1 && db.uniqueSort(j)
- }
- return k && (u = w, h = t), r
- };
- return c ? fb(f) : f
- }
-
- g = db.compile = function (a, b) {
- var c, d = [], e = [], f = y[a + " "];
- if (!f) {
- b || (b = ob(a)), c = b.length;
- while (c--)f = ub(b[c]), f[s] ? d.push(f) : e.push(f);
- f = y(a, vb(e, d))
- }
- return f
- };
- function wb(a, b, c) {
- for (var d = 0, e = b.length; e > d; d++)db(a, b[d], c);
- return c
- }
-
- function xb(a, b, e, f) {
- var h, i, j, k, l, m = ob(a);
- if (!f && 1 === m.length) {
- if (i = m[0] = m[0].slice(0), i.length > 2 && "ID" === (j = i[0]).type && c.getById && 9 === b.nodeType && n && d.relative[i[1].type]) {
- if (b = (d.find.ID(j.matches[0].replace(ab, bb), b) || [])[0], !b)return e;
- a = a.slice(i.shift().value.length)
- }
- h = V.needsContext.test(a) ? 0 : i.length;
- while (h--) {
- if (j = i[h], d.relative[k = j.type])break;
- if ((l = d.find[k]) && (f = l(j.matches[0].replace(ab, bb), $.test(i[0].type) && mb(b.parentNode) || b))) {
- if (i.splice(h, 1), a = f.length && pb(i), !a)return G.apply(e, f), e;
- break
- }
- }
- }
- return g(a, m)(f, b, !n, e, $.test(a) && mb(b.parentNode) || b), e
- }
-
- return c.sortStable = s.split("").sort(z).join("") === s, c.detectDuplicates = !!j, k(), c.sortDetached = gb(function (a) {
- return 1 & a.compareDocumentPosition(l.createElement("div"))
- }), gb(function (a) {
- return a.innerHTML = "<a href='#'></a>", "#" === a.firstChild.getAttribute("href")
- }) || hb("type|href|height|width", function (a, b, c) {
- return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2)
- }), c.attributes && gb(function (a) {
- return a.innerHTML = "<input/>", a.firstChild.setAttribute("value", ""), "" === a.firstChild.getAttribute("value")
- }) || hb("value", function (a, b, c) {
- return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue
- }), gb(function (a) {
- return null == a.getAttribute("disabled")
- }) || hb(J, function (a, b, c) {
- var d;
- return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
- }), db
- }(a);
- n.find = t, n.expr = t.selectors, n.expr[":"] = n.expr.pseudos, n.unique = t.uniqueSort, n.text = t.getText, n.isXMLDoc = t.isXML, n.contains = t.contains;
- var u = n.expr.match.needsContext, v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, w = /^.[^:#\[\.,]*$/;
-
- function x(a, b, c) {
- if (n.isFunction(b))return n.grep(a, function (a, d) {
- return !!b.call(a, d, a) !== c
- });
- if (b.nodeType)return n.grep(a, function (a) {
- return a === b !== c
- });
- if ("string" == typeof b) {
- if (w.test(b))return n.filter(b, a, c);
- b = n.filter(b, a)
- }
- return n.grep(a, function (a) {
- return n.inArray(a, b) >= 0 !== c
- })
- }
-
- n.filter = function (a, b, c) {
- var d = b[0];
- return c && (a = ":not(" + a + ")"), 1 === b.length && 1 === d.nodeType ? n.find.matchesSelector(d, a) ? [d] : [] : n.find.matches(a, n.grep(b, function (a) {
- return 1 === a.nodeType
- }))
- }, n.fn.extend({
- find: function (a) {
- var b, c = [], d = this, e = d.length;
- if ("string" != typeof a)return this.pushStack(n(a).filter(function () {
- for (b = 0; e > b; b++)if (n.contains(d[b], this))return !0
- }));
- for (b = 0; e > b; b++)n.find(a, d[b], c);
- return c = this.pushStack(e > 1 ? n.unique(c) : c), c.selector = this.selector ? this.selector + " " + a : a, c
- }, filter: function (a) {
- return this.pushStack(x(this, a || [], !1))
- }, not: function (a) {
- return this.pushStack(x(this, a || [], !0))
- }, is: function (a) {
- return !!x(this, "string" == typeof a && u.test(a) ? n(a) : a || [], !1).length
- }
- });
- var y, z = a.document, A = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, B = n.fn.init = function (a, b) {
- var c, d;
- if (!a)return this;
- if ("string" == typeof a) {
- if (c = "<" === a.charAt(0) && ">" === a.charAt(a.length - 1) && a.length >= 3 ? [null, a, null] : A.exec(a), !c || !c[1] && b)return !b || b.jquery ? (b || y).find(a) : this.constructor(b).find(a);
- if (c[1]) {
- if (b = b instanceof n ? b[0] : b, n.merge(this, n.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : z, !0)), v.test(c[1]) && n.isPlainObject(b))for (c in b)n.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c]);
- return this
- }
- if (d = z.getElementById(c[2]), d && d.parentNode) {
- if (d.id !== c[2])return y.find(a);
- this.length = 1, this[0] = d
- }
- return this.context = z, this.selector = a, this
- }
- return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : n.isFunction(a) ? "undefined" != typeof y.ready ? y.ready(a) : a(n) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), n.makeArray(a, this))
- };
- B.prototype = n.fn, y = n(z);
- var C = /^(?:parents|prev(?:Until|All))/, D = {children: !0, contents: !0, next: !0, prev: !0};
- n.extend({
- dir: function (a, b, c) {
- var d = [], e = a[b];
- while (e && 9 !== e.nodeType && (void 0 === c || 1 !== e.nodeType || !n(e).is(c)))1 === e.nodeType && d.push(e), e = e[b];
- return d
- }, sibling: function (a, b) {
- for (var c = []; a; a = a.nextSibling)1 === a.nodeType && a !== b && c.push(a);
- return c
- }
- }), n.fn.extend({
- has: function (a) {
- var b, c = n(a, this), d = c.length;
- return this.filter(function () {
- for (b = 0; d > b; b++)if (n.contains(this, c[b]))return !0
- })
- }, closest: function (a, b) {
- for (var c, d = 0, e = this.length, f = [], g = u.test(a) || "string" != typeof a ? n(a, b || this.context) : 0; e > d; d++)for (c = this[d]; c && c !== b; c = c.parentNode)if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && n.find.matchesSelector(c, a))) {
- f.push(c);
- break
- }
- return this.pushStack(f.length > 1 ? n.unique(f) : f)
- }, index: function (a) {
- return a ? "string" == typeof a ? n.inArray(this[0], n(a)) : n.inArray(a.jquery ? a[0] : a, this) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
- }, add: function (a, b) {
- return this.pushStack(n.unique(n.merge(this.get(), n(a, b))))
- }, addBack: function (a) {
- return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
- }
- });
- function E(a, b) {
- do a = a[b]; while (a && 1 !== a.nodeType);
- return a
- }
-
- n.each({
- parent: function (a) {
- var b = a.parentNode;
- return b && 11 !== b.nodeType ? b : null
- }, parents: function (a) {
- return n.dir(a, "parentNode")
- }, parentsUntil: function (a, b, c) {
- return n.dir(a, "parentNode", c)
- }, next: function (a) {
- return E(a, "nextSibling")
- }, prev: function (a) {
- return E(a, "previousSibling")
- }, nextAll: function (a) {
- return n.dir(a, "nextSibling")
- }, prevAll: function (a) {
- return n.dir(a, "previousSibling")
- }, nextUntil: function (a, b, c) {
- return n.dir(a, "nextSibling", c)
- }, prevUntil: function (a, b, c) {
- return n.dir(a, "previousSibling", c)
- }, siblings: function (a) {
- return n.sibling((a.parentNode || {}).firstChild, a)
- }, children: function (a) {
- return n.sibling(a.firstChild)
- }, contents: function (a) {
- return n.nodeName(a, "iframe") ? a.contentDocument || a.contentWindow.document : n.merge([], a.childNodes)
- }
- }, function (a, b) {
- n.fn[a] = function (c, d) {
- var e = n.map(this, b, c);
- return "Until" !== a.slice(-5) && (d = c), d && "string" == typeof d && (e = n.filter(d, e)), this.length > 1 && (D[a] || (e = n.unique(e)), C.test(a) && (e = e.reverse())), this.pushStack(e)
- }
- });
- var F = /\S+/g, G = {};
-
- function H(a) {
- var b = G[a] = {};
- return n.each(a.match(F) || [], function (a, c) {
- b[c] = !0
- }), b
- }
-
- n.Callbacks = function (a) {
- a = "string" == typeof a ? G[a] || H(a) : n.extend({}, a);
- var b, c, d, e, f, g, h = [], i = !a.once && [], j = function (l) {
- for (c = a.memory && l, d = !0, f = g || 0, g = 0, e = h.length, b = !0; h && e > f; f++)if (h[f].apply(l[0], l[1]) === !1 && a.stopOnFalse) {
- c = !1;
- break
- }
- b = !1, h && (i ? i.length && j(i.shift()) : c ? h = [] : k.disable())
- }, k = {
- add: function () {
- if (h) {
- var d = h.length;
- !function f(b) {
- n.each(b, function (b, c) {
- var d = n.type(c);
- "function" === d ? a.unique && k.has(c) || h.push(c) : c && c.length && "string" !== d && f(c)
- })
- }(arguments), b ? e = h.length : c && (g = d, j(c))
- }
- return this
- }, remove: function () {
- return h && n.each(arguments, function (a, c) {
- var d;
- while ((d = n.inArray(c, h, d)) > -1)h.splice(d, 1), b && (e >= d && e--, f >= d && f--)
- }), this
- }, has: function (a) {
- return a ? n.inArray(a, h) > -1 : !(!h || !h.length)
- }, empty: function () {
- return h = [], e = 0, this
- }, disable: function () {
- return h = i = c = void 0, this
- }, disabled: function () {
- return !h
- }, lock: function () {
- return i = void 0, c || k.disable(), this
- }, locked: function () {
- return !i
- }, fireWith: function (a, c) {
- return !h || d && !i || (c = c || [], c = [a, c.slice ? c.slice() : c], b ? i.push(c) : j(c)), this
- }, fire: function () {
- return k.fireWith(this, arguments), this
- }, fired: function () {
- return !!d
- }
- };
- return k
- }, n.extend({
- Deferred: function (a) {
- var b = [["resolve", "done", n.Callbacks("once memory"), "resolved"], ["reject", "fail", n.Callbacks("once memory"), "rejected"], ["notify", "progress", n.Callbacks("memory")]], c = "pending", d = {
- state: function () {
- return c
- }, always: function () {
- return e.done(arguments).fail(arguments), this
- }, then: function () {
- var a = arguments;
- return n.Deferred(function (c) {
- n.each(b, function (b, f) {
- var g = n.isFunction(a[b]) && a[b];
- e[f[1]](function () {
- var a = g && g.apply(this, arguments);
- a && n.isFunction(a.promise) ? a.promise().done(c.resolve).fail(c.reject).progress(c.notify) : c[f[0] + "With"](this === d ? c.promise() : this, g ? [a] : arguments)
- })
- }), a = null
- }).promise()
- }, promise: function (a) {
- return null != a ? n.extend(a, d) : d
- }
- }, e = {};
- return d.pipe = d.then, n.each(b, function (a, f) {
- var g = f[2], h = f[3];
- d[f[1]] = g.add, h && g.add(function () {
- c = h
- }, b[1 ^ a][2].disable, b[2][2].lock), e[f[0]] = function () {
- return e[f[0] + "With"](this === e ? d : this, arguments), this
- }, e[f[0] + "With"] = g.fireWith
- }), d.promise(e), a && a.call(e, e), e
- }, when: function (a) {
- var b = 0, c = d.call(arguments), e = c.length, f = 1 !== e || a && n.isFunction(a.promise) ? e : 0, g = 1 === f ? a : n.Deferred(), h = function (a, b, c) {
- return function (e) {
- b[a] = this, c[a] = arguments.length > 1 ? d.call(arguments) : e, c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c)
- }
- }, i, j, k;
- if (e > 1)for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++)c[b] && n.isFunction(c[b].promise) ? c[b].promise().done(h(b, k, c)).fail(g.reject).progress(h(b, j, i)) : --f;
- return f || g.resolveWith(k, c), g.promise()
- }
- });
- var I;
- n.fn.ready = function (a) {
- return n.ready.promise().done(a), this
- }, n.extend({
- isReady: !1, readyWait: 1, holdReady: function (a) {
- a ? n.readyWait++ : n.ready(!0)
- }, ready: function (a) {
- if (a === !0 ? !--n.readyWait : !n.isReady) {
- if (!z.body)return setTimeout(n.ready);
- n.isReady = !0, a !== !0 && --n.readyWait > 0 || (I.resolveWith(z, [n]), n.fn.trigger && n(z).trigger("ready").off("ready"))
- }
- }
- });
- function J() {
- z.addEventListener ? (z.removeEventListener("DOMContentLoaded", K, !1), a.removeEventListener("load", K, !1)) : (z.detachEvent("onreadystatechange", K), a.detachEvent("onload", K))
- }
-
- function K() {
- (z.addEventListener || "load" === event.type || "complete" === z.readyState) && (J(), n.ready())
- }
-
- n.ready.promise = function (b) {
- if (!I)if (I = n.Deferred(), "complete" === z.readyState)setTimeout(n.ready); else if (z.addEventListener)z.addEventListener("DOMContentLoaded", K, !1), a.addEventListener("load", K, !1); else {
- z.attachEvent("onreadystatechange", K), a.attachEvent("onload", K);
- var c = !1;
- try {
- c = null == a.frameElement && z.documentElement
- } catch (d) {
- }
- c && c.doScroll && !function e() {
- if (!n.isReady) {
- try {
- c.doScroll("left")
- } catch (a) {
- return setTimeout(e, 50)
- }
- J(), n.ready()
- }
- }()
- }
- return I.promise(b)
- };
- var L = "undefined", M;
- for (M in n(l))break;
- l.ownLast = "0" !== M, l.inlineBlockNeedsLayout = !1, n(function () {
- var a, b, c = z.getElementsByTagName("body")[0];
- c && (a = z.createElement("div"), a.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px", b = z.createElement("div"), c.appendChild(a).appendChild(b), typeof b.style.zoom !== L && (b.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1", (l.inlineBlockNeedsLayout = 3 === b.offsetWidth) && (c.style.zoom = 1)), c.removeChild(a), a = b = null)
- }), function () {
- var a = z.createElement("div");
- if (null == l.deleteExpando) {
- l.deleteExpando = !0;
- try {
- delete a.test
- } catch (b) {
- l.deleteExpando = !1
- }
- }
- a = null
- }(), n.acceptData = function (a) {
- var b = n.noData[(a.nodeName + " ").toLowerCase()], c = +a.nodeType || 1;
- return 1 !== c && 9 !== c ? !1 : !b || b !== !0 && a.getAttribute("classid") === b
- };
- var N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, O = /([A-Z])/g;
-
- function P(a, b, c) {
- if (void 0 === c && 1 === a.nodeType) {
- var d = "data-" + b.replace(O, "-$1").toLowerCase();
- if (c = a.getAttribute(d), "string" == typeof c) {
- try {
- c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : N.test(c) ? n.parseJSON(c) : c
- } catch (e) {
- }
- n.data(a, b, c)
- } else c = void 0
- }
- return c
- }
-
- function Q(a) {
- var b;
- for (b in a)if (("data" !== b || !n.isEmptyObject(a[b])) && "toJSON" !== b)return !1;
- return !0
- }
-
- function R(a, b, d, e) {
- if (n.acceptData(a)) {
- var f, g, h = n.expando, i = a.nodeType, j = i ? n.cache : a, k = i ? a[h] : a[h] && h;
- if (k && j[k] && (e || j[k].data) || void 0 !== d || "string" != typeof b)return k || (k = i ? a[h] = c.pop() || n.guid++ : h), j[k] || (j[k] = i ? {} : {toJSON: n.noop}), ("object" == typeof b || "function" == typeof b) && (e ? j[k] = n.extend(j[k], b) : j[k].data = n.extend(j[k].data, b)), g = j[k], e || (g.data || (g.data = {}), g = g.data), void 0 !== d && (g[n.camelCase(b)] = d), "string" == typeof b ? (f = g[b], null == f && (f = g[n.camelCase(b)])) : f = g, f
- }
- }
-
- function S(a, b, c) {
- if (n.acceptData(a)) {
- var d, e, f = a.nodeType, g = f ? n.cache : a, h = f ? a[n.expando] : n.expando;
- if (g[h]) {
- if (b && (d = c ? g[h] : g[h].data)) {
- n.isArray(b) ? b = b.concat(n.map(b, n.camelCase)) : b in d ? b = [b] : (b = n.camelCase(b), b = b in d ? [b] : b.split(" ")), e = b.length;
- while (e--)delete d[b[e]];
- if (c ? !Q(d) : !n.isEmptyObject(d))return
- }
- (c || (delete g[h].data, Q(g[h]))) && (f ? n.cleanData([a], !0) : l.deleteExpando || g != g.window ? delete g[h] : g[h] = null)
- }
- }
- }
-
- n.extend({
- cache: {},
- noData: {"applet ": !0, "embed ": !0, "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},
- hasData: function (a) {
- return a = a.nodeType ? n.cache[a[n.expando]] : a[n.expando], !!a && !Q(a)
- },
- data: function (a, b, c) {
- return R(a, b, c)
- },
- removeData: function (a, b) {
- return S(a, b)
- },
- _data: function (a, b, c) {
- return R(a, b, c, !0)
- },
- _removeData: function (a, b) {
- return S(a, b, !0)
- }
- }), n.fn.extend({
- data: function (a, b) {
- var c, d, e, f = this[0], g = f && f.attributes;
- if (void 0 === a) {
- if (this.length && (e = n.data(f), 1 === f.nodeType && !n._data(f, "parsedAttrs"))) {
- c = g.length;
- while (c--)d = g[c].name, 0 === d.indexOf("data-") && (d = n.camelCase(d.slice(5)), P(f, d, e[d]));
- n._data(f, "parsedAttrs", !0)
- }
- return e
- }
- return "object" == typeof a ? this.each(function () {
- n.data(this, a)
- }) : arguments.length > 1 ? this.each(function () {
- n.data(this, a, b)
- }) : f ? P(f, a, n.data(f, a)) : void 0
- }, removeData: function (a) {
- return this.each(function () {
- n.removeData(this, a)
- })
- }
- }), n.extend({
- queue: function (a, b, c) {
- var d;
- return a ? (b = (b || "fx") + "queue", d = n._data(a, b), c && (!d || n.isArray(c) ? d = n._data(a, b, n.makeArray(c)) : d.push(c)), d || []) : void 0
- }, dequeue: function (a, b) {
- b = b || "fx";
- var c = n.queue(a, b), d = c.length, e = c.shift(), f = n._queueHooks(a, b), g = function () {
- n.dequeue(a, b)
- };
- "inprogress" === e && (e = c.shift(), d--), e && ("fx" === b && c.unshift("inprogress"), delete f.stop, e.call(a, g, f)), !d && f && f.empty.fire()
- }, _queueHooks: function (a, b) {
- var c = b + "queueHooks";
- return n._data(a, c) || n._data(a, c, {
- empty: n.Callbacks("once memory").add(function () {
- n._removeData(a, b + "queue"), n._removeData(a, c)
- })
- })
- }
- }), n.fn.extend({
- queue: function (a, b) {
- var c = 2;
- return "string" != typeof a && (b = a, a = "fx", c--), arguments.length < c ? n.queue(this[0], a) : void 0 === b ? this : this.each(function () {
- var c = n.queue(this, a, b);
- n._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && n.dequeue(this, a)
- })
- }, dequeue: function (a) {
- return this.each(function () {
- n.dequeue(this, a)
- })
- }, clearQueue: function (a) {
- return this.queue(a || "fx", [])
- }, promise: function (a, b) {
- var c, d = 1, e = n.Deferred(), f = this, g = this.length, h = function () {
- --d || e.resolveWith(f, [f])
- };
- "string" != typeof a && (b = a, a = void 0), a = a || "fx";
- while (g--)c = n._data(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h));
- return h(), e.promise(b)
- }
- });
- var T = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, U = ["Top", "Right", "Bottom", "Left"], V = function (a, b) {
- return a = b || a, "none" === n.css(a, "display") || !n.contains(a.ownerDocument, a)
- }, W = n.access = function (a, b, c, d, e, f, g) {
- var h = 0, i = a.length, j = null == c;
- if ("object" === n.type(c)) {
- e = !0;
- for (h in c)n.access(a, b, h, c[h], !0, f, g)
- } else if (void 0 !== d && (e = !0, n.isFunction(d) || (g = !0), j && (g ? (b.call(a, d), b = null) : (j = b, b = function (a, b, c) {
- return j.call(n(a), c)
- })), b))for (; i > h; h++)b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)));
- return e ? a : j ? b.call(a) : i ? b(a[0], c) : f
- }, X = /^(?:checkbox|radio)$/i;
- !function () {
- var a = z.createDocumentFragment(), b = z.createElement("div"), c = z.createElement("input");
- if (b.setAttribute("className", "t"), b.innerHTML = " <link/><table></table><a href='/a'>a</a>", l.leadingWhitespace = 3 === b.firstChild.nodeType, l.tbody = !b.getElementsByTagName("tbody").length, l.htmlSerialize = !!b.getElementsByTagName("link").length, l.html5Clone = "<:nav></:nav>" !== z.createElement("nav").cloneNode(!0).outerHTML, c.type = "checkbox", c.checked = !0, a.appendChild(c), l.appendChecked = c.checked, b.innerHTML = "<textarea>x</textarea>", l.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue, a.appendChild(b), b.innerHTML = "<input type='radio' checked='checked' name='t'/>", l.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked, l.noCloneEvent = !0, b.attachEvent && (b.attachEvent("onclick", function () {
- l.noCloneEvent = !1
- }), b.cloneNode(!0).click()), null == l.deleteExpando) {
- l.deleteExpando = !0;
- try {
- delete b.test
- } catch (d) {
- l.deleteExpando = !1
- }
- }
- a = b = c = null
- }(), function () {
- var b, c, d = z.createElement("div");
- for (b in{
- submit: !0,
- change: !0,
- focusin: !0
- })c = "on" + b, (l[b + "Bubbles"] = c in a) || (d.setAttribute(c, "t"), l[b + "Bubbles"] = d.attributes[c].expando === !1);
- d = null
- }();
- var Y = /^(?:input|select|textarea)$/i, Z = /^key/, $ = /^(?:mouse|contextmenu)|click/, _ = /^(?:focusinfocus|focusoutblur)$/, ab = /^([^.]*)(?:\.(.+)|)$/;
-
- function bb() {
- return !0
- }
-
- function cb() {
- return !1
- }
-
- function db() {
- try {
- return z.activeElement
- } catch (a) {
- }
- }
-
- n.event = {
- global: {},
- add: function (a, b, c, d, e) {
- var f, g, h, i, j, k, l, m, o, p, q, r = n._data(a);
- if (r) {
- c.handler && (i = c, c = i.handler, e = i.selector), c.guid || (c.guid = n.guid++), (g = r.events) || (g = r.events = {}), (k = r.handle) || (k = r.handle = function (a) {
- return typeof n === L || a && n.event.triggered === a.type ? void 0 : n.event.dispatch.apply(k.elem, arguments)
- }, k.elem = a), b = (b || "").match(F) || [""], h = b.length;
- while (h--)f = ab.exec(b[h]) || [], o = q = f[1], p = (f[2] || "").split(".").sort(), o && (j = n.event.special[o] || {}, o = (e ? j.delegateType : j.bindType) || o, j = n.event.special[o] || {}, l = n.extend({
- type: o,
- origType: q,
- data: d,
- handler: c,
- guid: c.guid,
- selector: e,
- needsContext: e && n.expr.match.needsContext.test(e),
- namespace: p.join(".")
- }, i), (m = g[o]) || (m = g[o] = [], m.delegateCount = 0, j.setup && j.setup.call(a, d, p, k) !== !1 || (a.addEventListener ? a.addEventListener(o, k, !1) : a.attachEvent && a.attachEvent("on" + o, k))), j.add && (j.add.call(a, l), l.handler.guid || (l.handler.guid = c.guid)), e ? m.splice(m.delegateCount++, 0, l) : m.push(l), n.event.global[o] = !0);
- a = null
- }
- },
- remove: function (a, b, c, d, e) {
- var f, g, h, i, j, k, l, m, o, p, q, r = n.hasData(a) && n._data(a);
- if (r && (k = r.events)) {
- b = (b || "").match(F) || [""], j = b.length;
- while (j--)if (h = ab.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o) {
- l = n.event.special[o] || {}, o = (d ? l.delegateType : l.bindType) || o, m = k[o] || [], h = h[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), i = f = m.length;
- while (f--)g = m[f], !e && q !== g.origType || c && c.guid !== g.guid || h && !h.test(g.namespace) || d && d !== g.selector && ("**" !== d || !g.selector) || (m.splice(f, 1), g.selector && m.delegateCount--, l.remove && l.remove.call(a, g));
- i && !m.length && (l.teardown && l.teardown.call(a, p, r.handle) !== !1 || n.removeEvent(a, o, r.handle), delete k[o])
- } else for (o in k)n.event.remove(a, o + b[j], c, d, !0);
- n.isEmptyObject(k) && (delete r.handle, n._removeData(a, "events"))
- }
- },
- trigger: function (b, c, d, e) {
- var f, g, h, i, k, l, m, o = [d || z], p = j.call(b, "type") ? b.type : b, q = j.call(b, "namespace") ? b.namespace.split(".") : [];
- if (h = l = d = d || z, 3 !== d.nodeType && 8 !== d.nodeType && !_.test(p + n.event.triggered) && (p.indexOf(".") >= 0 && (q = p.split("."), p = q.shift(), q.sort()), g = p.indexOf(":") < 0 && "on" + p, b = b[n.expando] ? b : new n.Event(p, "object" == typeof b && b), b.isTrigger = e ? 2 : 3, b.namespace = q.join("."), b.namespace_re = b.namespace ? new RegExp("(^|\\.)" + q.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = d), c = null == c ? [b] : n.makeArray(c, [b]), k = n.event.special[p] || {}, e || !k.trigger || k.trigger.apply(d, c) !== !1)) {
- if (!e && !k.noBubble && !n.isWindow(d)) {
- for (i = k.delegateType || p, _.test(i + p) || (h = h.parentNode); h; h = h.parentNode)o.push(h), l = h;
- l === (d.ownerDocument || z) && o.push(l.defaultView || l.parentWindow || a)
- }
- m = 0;
- while ((h = o[m++]) && !b.isPropagationStopped())b.type = m > 1 ? i : k.bindType || p, f = (n._data(h, "events") || {})[b.type] && n._data(h, "handle"), f && f.apply(h, c), f = g && h[g], f && f.apply && n.acceptData(h) && (b.result = f.apply(h, c), b.result === !1 && b.preventDefault());
- if (b.type = p, !e && !b.isDefaultPrevented() && (!k._default || k._default.apply(o.pop(), c) === !1) && n.acceptData(d) && g && d[p] && !n.isWindow(d)) {
- l = d[g], l && (d[g] = null), n.event.triggered = p;
- try {
- d[p]()
- } catch (r) {
- }
- n.event.triggered = void 0, l && (d[g] = l)
- }
- return b.result
- }
- },
- dispatch: function (a) {
- a = n.event.fix(a);
- var b, c, e, f, g, h = [], i = d.call(arguments), j = (n._data(this, "events") || {})[a.type] || [], k = n.event.special[a.type] || {};
- if (i[0] = a, a.delegateTarget = this, !k.preDispatch || k.preDispatch.call(this, a) !== !1) {
- h = n.event.handlers.call(this, a, j), b = 0;
- while ((f = h[b++]) && !a.isPropagationStopped()) {
- a.currentTarget = f.elem, g = 0;
- while ((e = f.handlers[g++]) && !a.isImmediatePropagationStopped())(!a.namespace_re || a.namespace_re.test(e.namespace)) && (a.handleObj = e, a.data = e.data, c = ((n.event.special[e.origType] || {}).handle || e.handler).apply(f.elem, i), void 0 !== c && (a.result = c) === !1 && (a.preventDefault(), a.stopPropagation()))
- }
- return k.postDispatch && k.postDispatch.call(this, a), a.result
- }
- },
- handlers: function (a, b) {
- var c, d, e, f, g = [], h = b.delegateCount, i = a.target;
- if (h && i.nodeType && (!a.button || "click" !== a.type))for (; i != this; i = i.parentNode || this)if (1 === i.nodeType && (i.disabled !== !0 || "click" !== a.type)) {
- for (e = [], f = 0; h > f; f++)d = b[f], c = d.selector + " ", void 0 === e[c] && (e[c] = d.needsContext ? n(c, this).index(i) >= 0 : n.find(c, this, null, [i]).length), e[c] && e.push(d);
- e.length && g.push({elem: i, handlers: e})
- }
- return h < b.length && g.push({elem: this, handlers: b.slice(h)}), g
- },
- fix: function (a) {
- if (a[n.expando])return a;
- var b, c, d, e = a.type, f = a, g = this.fixHooks[e];
- g || (this.fixHooks[e] = g = $.test(e) ? this.mouseHooks : Z.test(e) ? this.keyHooks : {}), d = g.props ? this.props.concat(g.props) : this.props, a = new n.Event(f), b = d.length;
- while (b--)c = d[b], a[c] = f[c];
- return a.target || (a.target = f.srcElement || z), 3 === a.target.nodeType && (a.target = a.target.parentNode), a.metaKey = !!a.metaKey, g.filter ? g.filter(a, f) : a
- },
- props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
- fixHooks: {},
- keyHooks: {
- props: "char charCode key keyCode".split(" "), filter: function (a, b) {
- return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode), a
- }
- },
- mouseHooks: {
- props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
- filter: function (a, b) {
- var c, d, e, f = b.button, g = b.fromElement;
- return null == a.pageX && null != b.clientX && (d = a.target.ownerDocument || z, e = d.documentElement, c = d.body, a.pageX = b.clientX + (e && e.scrollLeft || c && c.scrollLeft || 0) - (e && e.clientLeft || c && c.clientLeft || 0), a.pageY = b.clientY + (e && e.scrollTop || c && c.scrollTop || 0) - (e && e.clientTop || c && c.clientTop || 0)), !a.relatedTarget && g && (a.relatedTarget = g === a.target ? b.toElement : g), a.which || void 0 === f || (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0), a
- }
- },
- special: {
- load: {noBubble: !0}, focus: {
- trigger: function () {
- if (this !== db() && this.focus)try {
- return this.focus(), !1
- } catch (a) {
- }
- }, delegateType: "focusin"
- }, blur: {
- trigger: function () {
- return this === db() && this.blur ? (this.blur(), !1) : void 0
- }, delegateType: "focusout"
- }, click: {
- trigger: function () {
- return n.nodeName(this, "input") && "checkbox" === this.type && this.click ? (this.click(), !1) : void 0
- }, _default: function (a) {
- return n.nodeName(a.target, "a")
- }
- }, beforeunload: {
- postDispatch: function (a) {
- void 0 !== a.result && (a.originalEvent.returnValue = a.result)
- }
- }
- },
- simulate: function (a, b, c, d) {
- var e = n.extend(new n.Event, c, {type: a, isSimulated: !0, originalEvent: {}});
- d ? n.event.trigger(e, null, b) : n.event.dispatch.call(b, e), e.isDefaultPrevented() && c.preventDefault()
- }
- }, n.removeEvent = z.removeEventListener ? function (a, b, c) {
- a.removeEventListener && a.removeEventListener(b, c, !1)
- } : function (a, b, c) {
- var d = "on" + b;
- a.detachEvent && (typeof a[d] === L && (a[d] = null), a.detachEvent(d, c))
- }, n.Event = function (a, b) {
- return this instanceof n.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && (a.returnValue === !1 || a.getPreventDefault && a.getPreventDefault()) ? bb : cb) : this.type = a, b && n.extend(this, b), this.timeStamp = a && a.timeStamp || n.now(), void(this[n.expando] = !0)) : new n.Event(a, b)
- }, n.Event.prototype = {
- isDefaultPrevented: cb,
- isPropagationStopped: cb,
- isImmediatePropagationStopped: cb,
- preventDefault: function () {
- var a = this.originalEvent;
- this.isDefaultPrevented = bb, a && (a.preventDefault ? a.preventDefault() : a.returnValue = !1)
- },
- stopPropagation: function () {
- var a = this.originalEvent;
- this.isPropagationStopped = bb, a && (a.stopPropagation && a.stopPropagation(), a.cancelBubble = !0)
- },
- stopImmediatePropagation: function () {
- this.isImmediatePropagationStopped = bb, this.stopPropagation()
- }
- }, n.each({mouseenter: "mouseover", mouseleave: "mouseout"}, function (a, b) {
- n.event.special[a] = {
- delegateType: b, bindType: b, handle: function (a) {
- var c, d = this, e = a.relatedTarget, f = a.handleObj;
- return (!e || e !== d && !n.contains(d, e)) && (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c
- }
- }
- }), l.submitBubbles || (n.event.special.submit = {
- setup: function () {
- return n.nodeName(this, "form") ? !1 : void n.event.add(this, "click._submit keypress._submit", function (a) {
- var b = a.target, c = n.nodeName(b, "input") || n.nodeName(b, "button") ? b.form : void 0;
- c && !n._data(c, "submitBubbles") && (n.event.add(c, "submit._submit", function (a) {
- a._submit_bubble = !0
- }), n._data(c, "submitBubbles", !0))
- })
- }, postDispatch: function (a) {
- a._submit_bubble && (delete a._submit_bubble, this.parentNode && !a.isTrigger && n.event.simulate("submit", this.parentNode, a, !0))
- }, teardown: function () {
- return n.nodeName(this, "form") ? !1 : void n.event.remove(this, "._submit")
- }
- }), l.changeBubbles || (n.event.special.change = {
- setup: function () {
- return Y.test(this.nodeName) ? (("checkbox" === this.type || "radio" === this.type) && (n.event.add(this, "propertychange._change", function (a) {
- "checked" === a.originalEvent.propertyName && (this._just_changed = !0)
- }), n.event.add(this, "click._change", function (a) {
- this._just_changed && !a.isTrigger && (this._just_changed = !1), n.event.simulate("change", this, a, !0)
- })), !1) : void n.event.add(this, "beforeactivate._change", function (a) {
- var b = a.target;
- Y.test(b.nodeName) && !n._data(b, "changeBubbles") && (n.event.add(b, "change._change", function (a) {
- !this.parentNode || a.isSimulated || a.isTrigger || n.event.simulate("change", this.parentNode, a, !0)
- }), n._data(b, "changeBubbles", !0))
- })
- }, handle: function (a) {
- var b = a.target;
- return this !== b || a.isSimulated || a.isTrigger || "radio" !== b.type && "checkbox" !== b.type ? a.handleObj.handler.apply(this, arguments) : void 0
- }, teardown: function () {
- return n.event.remove(this, "._change"), !Y.test(this.nodeName)
- }
- }), l.focusinBubbles || n.each({focus: "focusin", blur: "focusout"}, function (a, b) {
- var c = function (a) {
- n.event.simulate(b, a.target, n.event.fix(a), !0)
- };
- n.event.special[b] = {
- setup: function () {
- var d = this.ownerDocument || this, e = n._data(d, b);
- e || d.addEventListener(a, c, !0), n._data(d, b, (e || 0) + 1)
- }, teardown: function () {
- var d = this.ownerDocument || this, e = n._data(d, b) - 1;
- e ? n._data(d, b, e) : (d.removeEventListener(a, c, !0), n._removeData(d, b))
- }
- }
- }), n.fn.extend({
- on: function (a, b, c, d, e) {
- var f, g;
- if ("object" == typeof a) {
- "string" != typeof b && (c = c || b, b = void 0);
- for (f in a)this.on(f, b, c, a[f], e);
- return this
- }
- if (null == c && null == d ? (d = b, c = b = void 0) : null == d && ("string" == typeof b ? (d = c, c = void 0) : (d = c, c = b, b = void 0)), d === !1)d = cb; else if (!d)return this;
- return 1 === e && (g = d, d = function (a) {
- return n().off(a), g.apply(this, arguments)
- }, d.guid = g.guid || (g.guid = n.guid++)), this.each(function () {
- n.event.add(this, a, d, c, b)
- })
- }, one: function (a, b, c, d) {
- return this.on(a, b, c, d, 1)
- }, off: function (a, b, c) {
- var d, e;
- if (a && a.preventDefault && a.handleObj)return d = a.handleObj, n(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler), this;
- if ("object" == typeof a) {
- for (e in a)this.off(e, b, a[e]);
- return this
- }
- return (b === !1 || "function" == typeof b) && (c = b, b = void 0), c === !1 && (c = cb), this.each(function () {
- n.event.remove(this, a, c, b)
- })
- }, trigger: function (a, b) {
- return this.each(function () {
- n.event.trigger(a, b, this)
- })
- }, triggerHandler: function (a, b) {
- var c = this[0];
- return c ? n.event.trigger(a, b, c, !0) : void 0
- }
- });
- function eb(a) {
- var b = fb.split("|"), c = a.createDocumentFragment();
- if (c.createElement)while (b.length)c.createElement(b.pop());
- return c
- }
-
- var fb = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", gb = / jQuery\d+="(?:null|\d+)"/g, hb = new RegExp("<(?:" + fb + ")[\\s/>]", "i"), ib = /^\s+/, jb = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, kb = /<([\w:]+)/, lb = /<tbody/i, mb = /<|&#?\w+;/, nb = /<(?:script|style|link)/i, ob = /checked\s*(?:[^=]|=\s*.checked.)/i, pb = /^$|\/(?:java|ecma)script/i, qb = /^true\/(.*)/, rb = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, sb = {
- option: [1, "<select multiple='multiple'>", "</select>"],
- legend: [1, "<fieldset>", "</fieldset>"],
- area: [1, "<map>", "</map>"],
- param: [1, "<object>", "</object>"],
- thead: [1, "<table>", "</table>"],
- tr: [2, "<table><tbody>", "</tbody></table>"],
- col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
- td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
- _default: l.htmlSerialize ? [0, "", ""] : [1, "X<div>", "</div>"]
- }, tb = eb(z), ub = tb.appendChild(z.createElement("div"));
- sb.optgroup = sb.option, sb.tbody = sb.tfoot = sb.colgroup = sb.caption = sb.thead, sb.th = sb.td;
- function vb(a, b) {
- var c, d, e = 0, f = typeof a.getElementsByTagName !== L ? a.getElementsByTagName(b || "*") : typeof a.querySelectorAll !== L ? a.querySelectorAll(b || "*") : void 0;
- if (!f)for (f = [], c = a.childNodes || a; null != (d = c[e]); e++)!b || n.nodeName(d, b) ? f.push(d) : n.merge(f, vb(d, b));
- return void 0 === b || b && n.nodeName(a, b) ? n.merge([a], f) : f
- }
-
- function wb(a) {
- X.test(a.type) && (a.defaultChecked = a.checked)
- }
-
- function xb(a, b) {
- return n.nodeName(a, "table") && n.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a
- }
-
- function yb(a) {
- return a.type = (null !== n.find.attr(a, "type")) + "/" + a.type, a
- }
-
- function zb(a) {
- var b = qb.exec(a.type);
- return b ? a.type = b[1] : a.removeAttribute("type"), a
- }
-
- function Ab(a, b) {
- for (var c, d = 0; null != (c = a[d]); d++)n._data(c, "globalEval", !b || n._data(b[d], "globalEval"))
- }
-
- function Bb(a, b) {
- if (1 === b.nodeType && n.hasData(a)) {
- var c, d, e, f = n._data(a), g = n._data(b, f), h = f.events;
- if (h) {
- delete g.handle, g.events = {};
- for (c in h)for (d = 0, e = h[c].length; e > d; d++)n.event.add(b, c, h[c][d])
- }
- g.data && (g.data = n.extend({}, g.data))
- }
- }
-
- function Cb(a, b) {
- var c, d, e;
- if (1 === b.nodeType) {
- if (c = b.nodeName.toLowerCase(), !l.noCloneEvent && b[n.expando]) {
- e = n._data(b);
- for (d in e.events)n.removeEvent(b, d, e.handle);
- b.removeAttribute(n.expando)
- }
- "script" === c && b.text !== a.text ? (yb(b).text = a.text, zb(b)) : "object" === c ? (b.parentNode && (b.outerHTML = a.outerHTML), l.html5Clone && a.innerHTML && !n.trim(b.innerHTML) && (b.innerHTML = a.innerHTML)) : "input" === c && X.test(a.type) ? (b.defaultChecked = b.checked = a.checked, b.value !== a.value && (b.value = a.value)) : "option" === c ? b.defaultSelected = b.selected = a.defaultSelected : ("input" === c || "textarea" === c) && (b.defaultValue = a.defaultValue)
- }
- }
-
- n.extend({
- clone: function (a, b, c) {
- var d, e, f, g, h, i = n.contains(a.ownerDocument, a);
- if (l.html5Clone || n.isXMLDoc(a) || !hb.test("<" + a.nodeName + ">") ? f = a.cloneNode(!0) : (ub.innerHTML = a.outerHTML, ub.removeChild(f = ub.firstChild)), !(l.noCloneEvent && l.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || n.isXMLDoc(a)))for (d = vb(f), h = vb(a), g = 0; null != (e = h[g]); ++g)d[g] && Cb(e, d[g]);
- if (b)if (c)for (h = h || vb(a), d = d || vb(f), g = 0; null != (e = h[g]); g++)Bb(e, d[g]); else Bb(a, f);
- return d = vb(f, "script"), d.length > 0 && Ab(d, !i && vb(a, "script")), d = h = e = null, f
- }, buildFragment: function (a, b, c, d) {
- for (var e, f, g, h, i, j, k, m = a.length, o = eb(b), p = [], q = 0; m > q; q++)if (f = a[q], f || 0 === f)if ("object" === n.type(f))n.merge(p, f.nodeType ? [f] : f); else if (mb.test(f)) {
- h = h || o.appendChild(b.createElement("div")), i = (kb.exec(f) || ["", ""])[1].toLowerCase(), k = sb[i] || sb._default, h.innerHTML = k[1] + f.replace(jb, "<$1></$2>") + k[2], e = k[0];
- while (e--)h = h.lastChild;
- if (!l.leadingWhitespace && ib.test(f) && p.push(b.createTextNode(ib.exec(f)[0])), !l.tbody) {
- f = "table" !== i || lb.test(f) ? "<table>" !== k[1] || lb.test(f) ? 0 : h : h.firstChild, e = f && f.childNodes.length;
- while (e--)n.nodeName(j = f.childNodes[e], "tbody") && !j.childNodes.length && f.removeChild(j)
- }
- n.merge(p, h.childNodes), h.textContent = "";
- while (h.firstChild)h.removeChild(h.firstChild);
- h = o.lastChild
- } else p.push(b.createTextNode(f));
- h && o.removeChild(h), l.appendChecked || n.grep(vb(p, "input"), wb), q = 0;
- while (f = p[q++])if ((!d || -1 === n.inArray(f, d)) && (g = n.contains(f.ownerDocument, f), h = vb(o.appendChild(f), "script"), g && Ab(h), c)) {
- e = 0;
- while (f = h[e++])pb.test(f.type || "") && c.push(f)
- }
- return h = null, o
- }, cleanData: function (a, b) {
- for (var d, e, f, g, h = 0, i = n.expando, j = n.cache, k = l.deleteExpando, m = n.event.special; null != (d = a[h]); h++)if ((b || n.acceptData(d)) && (f = d[i], g = f && j[f])) {
- if (g.events)for (e in g.events)m[e] ? n.event.remove(d, e) : n.removeEvent(d, e, g.handle);
- j[f] && (delete j[f], k ? delete d[i] : typeof d.removeAttribute !== L ? d.removeAttribute(i) : d[i] = null, c.push(f))
- }
- }
- }), n.fn.extend({
- text: function (a) {
- return W(this, function (a) {
- return void 0 === a ? n.text(this) : this.empty().append((this[0] && this[0].ownerDocument || z).createTextNode(a))
- }, null, a, arguments.length)
- }, append: function () {
- return this.domManip(arguments, function (a) {
- if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
- var b = xb(this, a);
- b.appendChild(a)
- }
- })
- }, prepend: function () {
- return this.domManip(arguments, function (a) {
- if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
- var b = xb(this, a);
- b.insertBefore(a, b.firstChild)
- }
- })
- }, before: function () {
- return this.domManip(arguments, function (a) {
- this.parentNode && this.parentNode.insertBefore(a, this)
- })
- }, after: function () {
- return this.domManip(arguments, function (a) {
- this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)
- })
- }, remove: function (a, b) {
- for (var c, d = a ? n.filter(a, this) : this, e = 0; null != (c = d[e]); e++)b || 1 !== c.nodeType || n.cleanData(vb(c)), c.parentNode && (b && n.contains(c.ownerDocument, c) && Ab(vb(c, "script")), c.parentNode.removeChild(c));
- return this
- }, empty: function () {
- for (var a, b = 0; null != (a = this[b]); b++) {
- 1 === a.nodeType && n.cleanData(vb(a, !1));
- while (a.firstChild)a.removeChild(a.firstChild);
- a.options && n.nodeName(a, "select") && (a.options.length = 0)
- }
- return this
- }, clone: function (a, b) {
- return a = null == a ? !1 : a, b = null == b ? a : b, this.map(function () {
- return n.clone(this, a, b)
- })
- }, html: function (a) {
- return W(this, function (a) {
- var b = this[0] || {}, c = 0, d = this.length;
- if (void 0 === a)return 1 === b.nodeType ? b.innerHTML.replace(gb, "") : void 0;
- if (!("string" != typeof a || nb.test(a) || !l.htmlSerialize && hb.test(a) || !l.leadingWhitespace && ib.test(a) || sb[(kb.exec(a) || ["", ""])[1].toLowerCase()])) {
- a = a.replace(jb, "<$1></$2>");
- try {
- for (; d > c; c++)b = this[c] || {}, 1 === b.nodeType && (n.cleanData(vb(b, !1)), b.innerHTML = a);
- b = 0
- } catch (e) {
- }
- }
- b && this.empty().append(a)
- }, null, a, arguments.length)
- }, replaceWith: function () {
- var a = arguments[0];
- return this.domManip(arguments, function (b) {
- a = this.parentNode, n.cleanData(vb(this)), a && a.replaceChild(b, this)
- }), a && (a.length || a.nodeType) ? this : this.remove()
- }, detach: function (a) {
- return this.remove(a, !0)
- }, domManip: function (a, b) {
- a = e.apply([], a);
- var c, d, f, g, h, i, j = 0, k = this.length, m = this, o = k - 1, p = a[0], q = n.isFunction(p);
- if (q || k > 1 && "string" == typeof p && !l.checkClone && ob.test(p))return this.each(function (c) {
- var d = m.eq(c);
- q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b)
- });
- if (k && (i = n.buildFragment(a, this[0].ownerDocument, !1, this), c = i.firstChild, 1 === i.childNodes.length && (i = c), c)) {
- for (g = n.map(vb(i, "script"), yb), f = g.length; k > j; j++)d = i, j !== o && (d = n.clone(d, !0, !0), f && n.merge(g, vb(d, "script"))), b.call(this[j], d, j);
- if (f)for (h = g[g.length - 1].ownerDocument, n.map(g, zb), j = 0; f > j; j++)d = g[j], pb.test(d.type || "") && !n._data(d, "globalEval") && n.contains(h, d) && (d.src ? n._evalUrl && n._evalUrl(d.src) : n.globalEval((d.text || d.textContent || d.innerHTML || "").replace(rb, "")));
- i = c = null
- }
- return this
- }
- }), n.each({
- appendTo: "append",
- prependTo: "prepend",
- insertBefore: "before",
- insertAfter: "after",
- replaceAll: "replaceWith"
- }, function (a, b) {
- n.fn[a] = function (a) {
- for (var c, d = 0, e = [], g = n(a), h = g.length - 1; h >= d; d++)c = d === h ? this : this.clone(!0), n(g[d])[b](c), f.apply(e, c.get());
- return this.pushStack(e)
- }
- });
- var Db, Eb = {};
-
- function Fb(b, c) {
- var d = n(c.createElement(b)).appendTo(c.body), e = a.getDefaultComputedStyle ? a.getDefaultComputedStyle(d[0]).display : n.css(d[0], "display");
- return d.detach(), e
- }
-
- function Gb(a) {
- var b = z, c = Eb[a];
- return c || (c = Fb(a, b), "none" !== c && c || (Db = (Db || n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement), b = (Db[0].contentWindow || Db[0].contentDocument).document, b.write(), b.close(), c = Fb(a, b), Db.detach()), Eb[a] = c), c
- }
-
- !function () {
- var a, b, c = z.createElement("div"), d = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";
- c.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", a = c.getElementsByTagName("a")[0], a.style.cssText = "float:left;opacity:.5", l.opacity = /^0.5/.test(a.style.opacity), l.cssFloat = !!a.style.cssFloat, c.style.backgroundClip = "content-box", c.cloneNode(!0).style.backgroundClip = "", l.clearCloneStyle = "content-box" === c.style.backgroundClip, a = c = null, l.shrinkWrapBlocks = function () {
- var a, c, e, f;
- if (null == b) {
- if (a = z.getElementsByTagName("body")[0], !a)return;
- f = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px", c = z.createElement("div"), e = z.createElement("div"), a.appendChild(c).appendChild(e), b = !1, typeof e.style.zoom !== L && (e.style.cssText = d + ";width:1px;padding:1px;zoom:1", e.innerHTML = "<div></div>", e.firstChild.style.width = "5px", b = 3 !== e.offsetWidth), a.removeChild(c), a = c = e = null
- }
- return b
- }
- }();
- var Hb = /^margin/, Ib = new RegExp("^(" + T + ")(?!px)[a-z%]+$", "i"), Jb, Kb, Lb = /^(top|right|bottom|left)$/;
- a.getComputedStyle ? (Jb = function (a) {
- return a.ownerDocument.defaultView.getComputedStyle(a, null)
- }, Kb = function (a, b, c) {
- var d, e, f, g, h = a.style;
- return c = c || Jb(a), g = c ? c.getPropertyValue(b) || c[b] : void 0, c && ("" !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)), Ib.test(g) && Hb.test(b) && (d = h.width, e = h.minWidth, f = h.maxWidth, h.minWidth = h.maxWidth = h.width = g, g = c.width, h.width = d, h.minWidth = e, h.maxWidth = f)), void 0 === g ? g : g + ""
- }) : z.documentElement.currentStyle && (Jb = function (a) {
- return a.currentStyle
- }, Kb = function (a, b, c) {
- var d, e, f, g, h = a.style;
- return c = c || Jb(a), g = c ? c[b] : void 0, null == g && h && h[b] && (g = h[b]), Ib.test(g) && !Lb.test(b) && (d = h.left, e = a.runtimeStyle, f = e && e.left, f && (e.left = a.currentStyle.left), h.left = "fontSize" === b ? "1em" : g, g = h.pixelLeft + "px", h.left = d, f && (e.left = f)), void 0 === g ? g : g + "" || "auto"
- });
- function Mb(a, b) {
- return {
- get: function () {
- var c = a();
- if (null != c)return c ? void delete this.get : (this.get = b).apply(this, arguments)
- }
- }
- }
-
- !function () {
- var b, c, d, e, f, g, h = z.createElement("div"), i = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px", j = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";
- h.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", b = h.getElementsByTagName("a")[0], b.style.cssText = "float:left;opacity:.5", l.opacity = /^0.5/.test(b.style.opacity), l.cssFloat = !!b.style.cssFloat, h.style.backgroundClip = "content-box", h.cloneNode(!0).style.backgroundClip = "", l.clearCloneStyle = "content-box" === h.style.backgroundClip, b = h = null, n.extend(l, {
- reliableHiddenOffsets: function () {
- if (null != c)return c;
- var a, b, d, e = z.createElement("div"), f = z.getElementsByTagName("body")[0];
- if (f)return e.setAttribute("className", "t"), e.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", a = z.createElement("div"), a.style.cssText = i, f.appendChild(a).appendChild(e), e.innerHTML = "<table><tr><td></td><td>t</td></tr></table>", b = e.getElementsByTagName("td"), b[0].style.cssText = "padding:0;margin:0;border:0;display:none", d = 0 === b[0].offsetHeight, b[0].style.display = "", b[1].style.display = "none", c = d && 0 === b[0].offsetHeight, f.removeChild(a), e = f = null, c
- }, boxSizing: function () {
- return null == d && k(), d
- }, boxSizingReliable: function () {
- return null == e && k(), e
- }, pixelPosition: function () {
- return null == f && k(), f
- }, reliableMarginRight: function () {
- var b, c, d, e;
- if (null == g && a.getComputedStyle) {
- if (b = z.getElementsByTagName("body")[0], !b)return;
- c = z.createElement("div"), d = z.createElement("div"), c.style.cssText = i, b.appendChild(c).appendChild(d), e = d.appendChild(z.createElement("div")), e.style.cssText = d.style.cssText = j, e.style.marginRight = e.style.width = "0", d.style.width = "1px", g = !parseFloat((a.getComputedStyle(e, null) || {}).marginRight), b.removeChild(c)
- }
- return g
- }
- });
- function k() {
- var b, c, h = z.getElementsByTagName("body")[0];
- h && (b = z.createElement("div"), c = z.createElement("div"), b.style.cssText = i, h.appendChild(b).appendChild(c), c.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%", n.swap(h, null != h.style.zoom ? {zoom: 1} : {}, function () {
- d = 4 === c.offsetWidth
- }), e = !0, f = !1, g = !0, a.getComputedStyle && (f = "1%" !== (a.getComputedStyle(c, null) || {}).top, e = "4px" === (a.getComputedStyle(c, null) || {width: "4px"}).width), h.removeChild(b), c = h = null)
- }
- }(), n.swap = function (a, b, c, d) {
- var e, f, g = {};
- for (f in b)g[f] = a.style[f], a.style[f] = b[f];
- e = c.apply(a, d || []);
- for (f in b)a.style[f] = g[f];
- return e
- };
- var Nb = /alpha\([^)]*\)/i, Ob = /opacity\s*=\s*([^)]*)/, Pb = /^(none|table(?!-c[ea]).+)/, Qb = new RegExp("^(" + T + ")(.*)$", "i"), Rb = new RegExp("^([+-])=(" + T + ")", "i"), Sb = {
- position: "absolute",
- visibility: "hidden",
- display: "block"
- }, Tb = {letterSpacing: 0, fontWeight: 400}, Ub = ["Webkit", "O", "Moz", "ms"];
-
- function Vb(a, b) {
- if (b in a)return b;
- var c = b.charAt(0).toUpperCase() + b.slice(1), d = b, e = Ub.length;
- while (e--)if (b = Ub[e] + c, b in a)return b;
- return d
- }
-
- function Wb(a, b) {
- for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++)d = a[g], d.style && (f[g] = n._data(d, "olddisplay"), c = d.style.display, b ? (f[g] || "none" !== c || (d.style.display = ""), "" === d.style.display && V(d) && (f[g] = n._data(d, "olddisplay", Gb(d.nodeName)))) : f[g] || (e = V(d), (c && "none" !== c || !e) && n._data(d, "olddisplay", e ? c : n.css(d, "display"))));
- for (g = 0; h > g; g++)d = a[g], d.style && (b && "none" !== d.style.display && "" !== d.style.display || (d.style.display = b ? f[g] || "" : "none"));
- return a
- }
-
- function Xb(a, b, c) {
- var d = Qb.exec(b);
- return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b
- }
-
- function Yb(a, b, c, d, e) {
- for (var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0, g = 0; 4 > f; f += 2)"margin" === c && (g += n.css(a, c + U[f], !0, e)), d ? ("content" === c && (g -= n.css(a, "padding" + U[f], !0, e)), "margin" !== c && (g -= n.css(a, "border" + U[f] + "Width", !0, e))) : (g += n.css(a, "padding" + U[f], !0, e), "padding" !== c && (g += n.css(a, "border" + U[f] + "Width", !0, e)));
- return g
- }
-
- function Zb(a, b, c) {
- var d = !0, e = "width" === b ? a.offsetWidth : a.offsetHeight, f = Jb(a), g = l.boxSizing() && "border-box" === n.css(a, "boxSizing", !1, f);
- if (0 >= e || null == e) {
- if (e = Kb(a, b, f), (0 > e || null == e) && (e = a.style[b]), Ib.test(e))return e;
- d = g && (l.boxSizingReliable() || e === a.style[b]), e = parseFloat(e) || 0
- }
- return e + Yb(a, b, c || (g ? "border" : "content"), d, f) + "px"
- }
-
- n.extend({
- cssHooks: {
- opacity: {
- get: function (a, b) {
- if (b) {
- var c = Kb(a, "opacity");
- return "" === c ? "1" : c
- }
- }
- }
- },
- cssNumber: {
- columnCount: !0,
- fillOpacity: !0,
- fontWeight: !0,
- lineHeight: !0,
- opacity: !0,
- order: !0,
- orphans: !0,
- widows: !0,
- zIndex: !0,
- zoom: !0
- },
- cssProps: {"float": l.cssFloat ? "cssFloat" : "styleFloat"},
- style: function (a, b, c, d) {
- if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
- var e, f, g, h = n.camelCase(b), i = a.style;
- if (b = n.cssProps[h] || (n.cssProps[h] = Vb(i, h)), g = n.cssHooks[b] || n.cssHooks[h], void 0 === c)return g && "get"in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b];
- if (f = typeof c, "string" === f && (e = Rb.exec(c)) && (c = (e[1] + 1) * e[2] + parseFloat(n.css(a, b)), f = "number"), null != c && c === c && ("number" !== f || n.cssNumber[h] || (c += "px"), l.clearCloneStyle || "" !== c || 0 !== b.indexOf("background") || (i[b] = "inherit"), !(g && "set"in g && void 0 === (c = g.set(a, c, d)))))try {
- i[b] = "", i[b] = c
- } catch (j) {
- }
- }
- },
- css: function (a, b, c, d) {
- var e, f, g, h = n.camelCase(b);
- return b = n.cssProps[h] || (n.cssProps[h] = Vb(a.style, h)), g = n.cssHooks[b] || n.cssHooks[h], g && "get"in g && (f = g.get(a, !0, c)), void 0 === f && (f = Kb(a, b, d)), "normal" === f && b in Tb && (f = Tb[b]), "" === c || c ? (e = parseFloat(f), c === !0 || n.isNumeric(e) ? e || 0 : f) : f
- }
- }), n.each(["height", "width"], function (a, b) {
- n.cssHooks[b] = {
- get: function (a, c, d) {
- return c ? 0 === a.offsetWidth && Pb.test(n.css(a, "display")) ? n.swap(a, Sb, function () {
- return Zb(a, b, d)
- }) : Zb(a, b, d) : void 0
- }, set: function (a, c, d) {
- var e = d && Jb(a);
- return Xb(a, c, d ? Yb(a, b, d, l.boxSizing() && "border-box" === n.css(a, "boxSizing", !1, e), e) : 0)
- }
- }
- }), l.opacity || (n.cssHooks.opacity = {
- get: function (a, b) {
- return Ob.test((b && a.currentStyle ? a.currentStyle.filter : a.style.filter) || "") ? .01 * parseFloat(RegExp.$1) + "" : b ? "1" : ""
- }, set: function (a, b) {
- var c = a.style, d = a.currentStyle, e = n.isNumeric(b) ? "alpha(opacity=" + 100 * b + ")" : "", f = d && d.filter || c.filter || "";
- c.zoom = 1, (b >= 1 || "" === b) && "" === n.trim(f.replace(Nb, "")) && c.removeAttribute && (c.removeAttribute("filter"), "" === b || d && !d.filter) || (c.filter = Nb.test(f) ? f.replace(Nb, e) : f + " " + e)
- }
- }), n.cssHooks.marginRight = Mb(l.reliableMarginRight, function (a, b) {
- return b ? n.swap(a, {display: "inline-block"}, Kb, [a, "marginRight"]) : void 0
- }), n.each({margin: "", padding: "", border: "Width"}, function (a, b) {
- n.cssHooks[a + b] = {
- expand: function (c) {
- for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; 4 > d; d++)e[a + U[d] + b] = f[d] || f[d - 2] || f[0];
- return e
- }
- }, Hb.test(a) || (n.cssHooks[a + b].set = Xb)
- }), n.fn.extend({
- css: function (a, b) {
- return W(this, function (a, b, c) {
- var d, e, f = {}, g = 0;
- if (n.isArray(b)) {
- for (d = Jb(a), e = b.length; e > g; g++)f[b[g]] = n.css(a, b[g], !1, d);
- return f
- }
- return void 0 !== c ? n.style(a, b, c) : n.css(a, b)
- }, a, b, arguments.length > 1)
- }, show: function () {
- return Wb(this, !0)
- }, hide: function () {
- return Wb(this)
- }, toggle: function (a) {
- return "boolean" == typeof a ? a ? this.show() : this.hide() : this.each(function () {
- V(this) ? n(this).show() : n(this).hide()
- })
- }
- });
- function $b(a, b, c, d, e) {
- return new $b.prototype.init(a, b, c, d, e)
- }
-
- n.Tween = $b, $b.prototype = {
- constructor: $b, init: function (a, b, c, d, e, f) {
- this.elem = a, this.prop = c, this.easing = e || "swing", this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (n.cssNumber[c] ? "" : "px")
- }, cur: function () {
- var a = $b.propHooks[this.prop];
- return a && a.get ? a.get(this) : $b.propHooks._default.get(this)
- }, run: function (a) {
- var b, c = $b.propHooks[this.prop];
- return this.pos = b = this.options.duration ? n.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : a, this.now = (this.end - this.start) * b + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), c && c.set ? c.set(this) : $b.propHooks._default.set(this), this
- }
- }, $b.prototype.init.prototype = $b.prototype, $b.propHooks = {
- _default: {
- get: function (a) {
- var b;
- return null == a.elem[a.prop] || a.elem.style && null != a.elem.style[a.prop] ? (b = n.css(a.elem, a.prop, ""), b && "auto" !== b ? b : 0) : a.elem[a.prop]
- }, set: function (a) {
- n.fx.step[a.prop] ? n.fx.step[a.prop](a) : a.elem.style && (null != a.elem.style[n.cssProps[a.prop]] || n.cssHooks[a.prop]) ? n.style(a.elem, a.prop, a.now + a.unit) : a.elem[a.prop] = a.now
- }
- }
- }, $b.propHooks.scrollTop = $b.propHooks.scrollLeft = {
- set: function (a) {
- a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now)
- }
- }, n.easing = {
- linear: function (a) {
- return a
- }, swing: function (a) {
- return .5 - Math.cos(a * Math.PI) / 2
- }
- }, n.fx = $b.prototype.init, n.fx.step = {};
- var _b, ac, bc = /^(?:toggle|show|hide)$/, cc = new RegExp("^(?:([+-])=|)(" + T + ")([a-z%]*)$", "i"), dc = /queueHooks$/, ec = [jc], fc = {
- "*": [function (a, b) {
- var c = this.createTween(a, b), d = c.cur(), e = cc.exec(b), f = e && e[3] || (n.cssNumber[a] ? "" : "px"), g = (n.cssNumber[a] || "px" !== f && +d) && cc.exec(n.css(c.elem, a)), h = 1, i = 20;
- if (g && g[3] !== f) {
- f = f || g[3], e = e || [], g = +d || 1;
- do h = h || ".5", g /= h, n.style(c.elem, a, g + f); while (h !== (h = c.cur() / d) && 1 !== h && --i)
- }
- return e && (g = c.start = +g || +d || 0, c.unit = f, c.end = e[1] ? g + (e[1] + 1) * e[2] : +e[2]), c
- }]
- };
-
- function gc() {
- return setTimeout(function () {
- _b = void 0
- }), _b = n.now()
- }
-
- function hc(a, b) {
- var c, d = {height: a}, e = 0;
- for (b = b ? 1 : 0; 4 > e; e += 2 - b)c = U[e], d["margin" + c] = d["padding" + c] = a;
- return b && (d.opacity = d.width = a), d
- }
-
- function ic(a, b, c) {
- for (var d, e = (fc[b] || []).concat(fc["*"]), f = 0, g = e.length; g > f; f++)if (d = e[f].call(c, b, a))return d
- }
-
- function jc(a, b, c) {
- var d, e, f, g, h, i, j, k, m = this, o = {}, p = a.style, q = a.nodeType && V(a), r = n._data(a, "fxshow");
- c.queue || (h = n._queueHooks(a, "fx"), null == h.unqueued && (h.unqueued = 0, i = h.empty.fire, h.empty.fire = function () {
- h.unqueued || i()
- }), h.unqueued++, m.always(function () {
- m.always(function () {
- h.unqueued--, n.queue(a, "fx").length || h.empty.fire()
- })
- })), 1 === a.nodeType && ("height"in b || "width"in b) && (c.overflow = [p.overflow, p.overflowX, p.overflowY], j = n.css(a, "display"), k = Gb(a.nodeName), "none" === j && (j = k), "inline" === j && "none" === n.css(a, "float") && (l.inlineBlockNeedsLayout && "inline" !== k ? p.zoom = 1 : p.display = "inline-block")), c.overflow && (p.overflow = "hidden", l.shrinkWrapBlocks() || m.always(function () {
- p.overflow = c.overflow[0], p.overflowX = c.overflow[1], p.overflowY = c.overflow[2]
- }));
- for (d in b)if (e = b[d], bc.exec(e)) {
- if (delete b[d], f = f || "toggle" === e, e === (q ? "hide" : "show")) {
- if ("show" !== e || !r || void 0 === r[d])continue;
- q = !0
- }
- o[d] = r && r[d] || n.style(a, d)
- }
- if (!n.isEmptyObject(o)) {
- r ? "hidden"in r && (q = r.hidden) : r = n._data(a, "fxshow", {}), f && (r.hidden = !q), q ? n(a).show() : m.done(function () {
- n(a).hide()
- }), m.done(function () {
- var b;
- n._removeData(a, "fxshow");
- for (b in o)n.style(a, b, o[b])
- });
- for (d in o)g = ic(q ? r[d] : 0, d, m), d in r || (r[d] = g.start, q && (g.end = g.start, g.start = "width" === d || "height" === d ? 1 : 0))
- }
- }
-
- function kc(a, b) {
- var c, d, e, f, g;
- for (c in a)if (d = n.camelCase(c), e = b[d], f = a[c], n.isArray(f) && (e = f[1], f = a[c] = f[0]), c !== d && (a[d] = f, delete a[c]), g = n.cssHooks[d], g && "expand"in g) {
- f = g.expand(f), delete a[d];
- for (c in f)c in a || (a[c] = f[c], b[c] = e)
- } else b[d] = e
- }
-
- function lc(a, b, c) {
- var d, e, f = 0, g = ec.length, h = n.Deferred().always(function () {
- delete i.elem
- }), i = function () {
- if (e)return !1;
- for (var b = _b || gc(), c = Math.max(0, j.startTime + j.duration - b), d = c / j.duration || 0, f = 1 - d, g = 0, i = j.tweens.length; i > g; g++)j.tweens[g].run(f);
- return h.notifyWith(a, [j, f, c]), 1 > f && i ? c : (h.resolveWith(a, [j]), !1)
- }, j = h.promise({
- elem: a,
- props: n.extend({}, b),
- opts: n.extend(!0, {specialEasing: {}}, c),
- originalProperties: b,
- originalOptions: c,
- startTime: _b || gc(),
- duration: c.duration,
- tweens: [],
- createTween: function (b, c) {
- var d = n.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing);
- return j.tweens.push(d), d
- },
- stop: function (b) {
- var c = 0, d = b ? j.tweens.length : 0;
- if (e)return this;
- for (e = !0; d > c; c++)j.tweens[c].run(1);
- return b ? h.resolveWith(a, [j, b]) : h.rejectWith(a, [j, b]), this
- }
- }), k = j.props;
- for (kc(k, j.opts.specialEasing); g > f; f++)if (d = ec[f].call(j, a, k, j.opts))return d;
- return n.map(k, ic, j), n.isFunction(j.opts.start) && j.opts.start.call(a, j), n.fx.timer(n.extend(i, {
- elem: a,
- anim: j,
- queue: j.opts.queue
- })), j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
- }
-
- n.Animation = n.extend(lc, {
- tweener: function (a, b) {
- n.isFunction(a) ? (b = a, a = ["*"]) : a = a.split(" ");
- for (var c, d = 0, e = a.length; e > d; d++)c = a[d], fc[c] = fc[c] || [], fc[c].unshift(b)
- }, prefilter: function (a, b) {
- b ? ec.unshift(a) : ec.push(a)
- }
- }), n.speed = function (a, b, c) {
- var d = a && "object" == typeof a ? n.extend({}, a) : {
- complete: c || !c && b || n.isFunction(a) && a,
- duration: a,
- easing: c && b || b && !n.isFunction(b) && b
- };
- return d.duration = n.fx.off ? 0 : "number" == typeof d.duration ? d.duration : d.duration in n.fx.speeds ? n.fx.speeds[d.duration] : n.fx.speeds._default, (null == d.queue || d.queue === !0) && (d.queue = "fx"), d.old = d.complete, d.complete = function () {
- n.isFunction(d.old) && d.old.call(this), d.queue && n.dequeue(this, d.queue)
- }, d
- }, n.fn.extend({
- fadeTo: function (a, b, c, d) {
- return this.filter(V).css("opacity", 0).show().end().animate({opacity: b}, a, c, d)
- }, animate: function (a, b, c, d) {
- var e = n.isEmptyObject(a), f = n.speed(b, c, d), g = function () {
- var b = lc(this, n.extend({}, a), f);
- (e || n._data(this, "finish")) && b.stop(!0)
- };
- return g.finish = g, e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g)
- }, stop: function (a, b, c) {
- var d = function (a) {
- var b = a.stop;
- delete a.stop, b(c)
- };
- return "string" != typeof a && (c = b, b = a, a = void 0), b && a !== !1 && this.queue(a || "fx", []), this.each(function () {
- var b = !0, e = null != a && a + "queueHooks", f = n.timers, g = n._data(this);
- if (e)g[e] && g[e].stop && d(g[e]); else for (e in g)g[e] && g[e].stop && dc.test(e) && d(g[e]);
- for (e = f.length; e--;)f[e].elem !== this || null != a && f[e].queue !== a || (f[e].anim.stop(c), b = !1, f.splice(e, 1));
- (b || !c) && n.dequeue(this, a)
- })
- }, finish: function (a) {
- return a !== !1 && (a = a || "fx"), this.each(function () {
- var b, c = n._data(this), d = c[a + "queue"], e = c[a + "queueHooks"], f = n.timers, g = d ? d.length : 0;
- for (c.finish = !0, n.queue(this, a, []), e && e.stop && e.stop.call(this, !0), b = f.length; b--;)f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0), f.splice(b, 1));
- for (b = 0; g > b; b++)d[b] && d[b].finish && d[b].finish.call(this);
- delete c.finish
- })
- }
- }), n.each(["toggle", "show", "hide"], function (a, b) {
- var c = n.fn[b];
- n.fn[b] = function (a, d, e) {
- return null == a || "boolean" == typeof a ? c.apply(this, arguments) : this.animate(hc(b, !0), a, d, e)
- }
- }), n.each({
- slideDown: hc("show"),
- slideUp: hc("hide"),
- slideToggle: hc("toggle"),
- fadeIn: {opacity: "show"},
- fadeOut: {opacity: "hide"},
- fadeToggle: {opacity: "toggle"}
- }, function (a, b) {
- n.fn[a] = function (a, c, d) {
- return this.animate(b, a, c, d)
- }
- }), n.timers = [], n.fx.tick = function () {
- var a, b = n.timers, c = 0;
- for (_b = n.now(); c < b.length; c++)a = b[c], a() || b[c] !== a || b.splice(c--, 1);
- b.length || n.fx.stop(), _b = void 0
- }, n.fx.timer = function (a) {
- n.timers.push(a), a() ? n.fx.start() : n.timers.pop()
- }, n.fx.interval = 13, n.fx.start = function () {
- ac || (ac = setInterval(n.fx.tick, n.fx.interval))
- }, n.fx.stop = function () {
- clearInterval(ac), ac = null
- }, n.fx.speeds = {slow: 600, fast: 200, _default: 400}, n.fn.delay = function (a, b) {
- return a = n.fx ? n.fx.speeds[a] || a : a, b = b || "fx", this.queue(b, function (b, c) {
- var d = setTimeout(b, a);
- c.stop = function () {
- clearTimeout(d)
- }
- })
- }, function () {
- var a, b, c, d, e = z.createElement("div");
- e.setAttribute("className", "t"), e.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", a = e.getElementsByTagName("a")[0], c = z.createElement("select"), d = c.appendChild(z.createElement("option")), b = e.getElementsByTagName("input")[0], a.style.cssText = "top:1px", l.getSetAttribute = "t" !== e.className, l.style = /top/.test(a.getAttribute("style")), l.hrefNormalized = "/a" === a.getAttribute("href"), l.checkOn = !!b.value, l.optSelected = d.selected, l.enctype = !!z.createElement("form").enctype, c.disabled = !0, l.optDisabled = !d.disabled, b = z.createElement("input"), b.setAttribute("value", ""), l.input = "" === b.getAttribute("value"), b.value = "t", b.setAttribute("type", "radio"), l.radioValue = "t" === b.value, a = b = c = d = e = null
- }();
- var mc = /\r/g;
- n.fn.extend({
- val: function (a) {
- var b, c, d, e = this[0];
- {
- if (arguments.length)return d = n.isFunction(a), this.each(function (c) {
- var e;
- 1 === this.nodeType && (e = d ? a.call(this, c, n(this).val()) : a, null == e ? e = "" : "number" == typeof e ? e += "" : n.isArray(e) && (e = n.map(e, function (a) {
- return null == a ? "" : a + ""
- })), b = n.valHooks[this.type] || n.valHooks[this.nodeName.toLowerCase()], b && "set"in b && void 0 !== b.set(this, e, "value") || (this.value = e))
- });
- if (e)return b = n.valHooks[e.type] || n.valHooks[e.nodeName.toLowerCase()], b && "get"in b && void 0 !== (c = b.get(e, "value")) ? c : (c = e.value, "string" == typeof c ? c.replace(mc, "") : null == c ? "" : c)
- }
- }
- }), n.extend({
- valHooks: {
- option: {
- get: function (a) {
- var b = n.find.attr(a, "value");
- return null != b ? b : n.text(a)
- }
- }, select: {
- get: function (a) {
- for (var b, c, d = a.options, e = a.selectedIndex, f = "select-one" === a.type || 0 > e, g = f ? null : [], h = f ? e + 1 : d.length, i = 0 > e ? h : f ? e : 0; h > i; i++)if (c = d[i], !(!c.selected && i !== e || (l.optDisabled ? c.disabled : null !== c.getAttribute("disabled")) || c.parentNode.disabled && n.nodeName(c.parentNode, "optgroup"))) {
- if (b = n(c).val(), f)return b;
- g.push(b)
- }
- return g
- }, set: function (a, b) {
- var c, d, e = a.options, f = n.makeArray(b), g = e.length;
- while (g--)if (d = e[g], n.inArray(n.valHooks.option.get(d), f) >= 0)try {
- d.selected = c = !0
- } catch (h) {
- d.scrollHeight
- } else d.selected = !1;
- return c || (a.selectedIndex = -1), e
- }
- }
- }
- }), n.each(["radio", "checkbox"], function () {
- n.valHooks[this] = {
- set: function (a, b) {
- return n.isArray(b) ? a.checked = n.inArray(n(a).val(), b) >= 0 : void 0
- }
- }, l.checkOn || (n.valHooks[this].get = function (a) {
- return null === a.getAttribute("value") ? "on" : a.value
- })
- });
- var nc, oc, pc = n.expr.attrHandle, qc = /^(?:checked|selected)$/i, rc = l.getSetAttribute, sc = l.input;
- n.fn.extend({
- attr: function (a, b) {
- return W(this, n.attr, a, b, arguments.length > 1)
- }, removeAttr: function (a) {
- return this.each(function () {
- n.removeAttr(this, a)
- })
- }
- }), n.extend({
- attr: function (a, b, c) {
- var d, e, f = a.nodeType;
- if (a && 3 !== f && 8 !== f && 2 !== f)return typeof a.getAttribute === L ? n.prop(a, b, c) : (1 === f && n.isXMLDoc(a) || (b = b.toLowerCase(), d = n.attrHooks[b] || (n.expr.match.bool.test(b) ? oc : nc)), void 0 === c ? d && "get"in d && null !== (e = d.get(a, b)) ? e : (e = n.find.attr(a, b), null == e ? void 0 : e) : null !== c ? d && "set"in d && void 0 !== (e = d.set(a, c, b)) ? e : (a.setAttribute(b, c + ""), c) : void n.removeAttr(a, b))
- }, removeAttr: function (a, b) {
- var c, d, e = 0, f = b && b.match(F);
- if (f && 1 === a.nodeType)while (c = f[e++])d = n.propFix[c] || c, n.expr.match.bool.test(c) ? sc && rc || !qc.test(c) ? a[d] = !1 : a[n.camelCase("default-" + c)] = a[d] = !1 : n.attr(a, c, ""), a.removeAttribute(rc ? c : d)
- }, attrHooks: {
- type: {
- set: function (a, b) {
- if (!l.radioValue && "radio" === b && n.nodeName(a, "input")) {
- var c = a.value;
- return a.setAttribute("type", b), c && (a.value = c), b
- }
- }
- }
- }
- }), oc = {
- set: function (a, b, c) {
- return b === !1 ? n.removeAttr(a, c) : sc && rc || !qc.test(c) ? a.setAttribute(!rc && n.propFix[c] || c, c) : a[n.camelCase("default-" + c)] = a[c] = !0, c
- }
- }, n.each(n.expr.match.bool.source.match(/\w+/g), function (a, b) {
- var c = pc[b] || n.find.attr;
- pc[b] = sc && rc || !qc.test(b) ? function (a, b, d) {
- var e, f;
- return d || (f = pc[b], pc[b] = e, e = null != c(a, b, d) ? b.toLowerCase() : null, pc[b] = f), e
- } : function (a, b, c) {
- return c ? void 0 : a[n.camelCase("default-" + b)] ? b.toLowerCase() : null
- }
- }), sc && rc || (n.attrHooks.value = {
- set: function (a, b, c) {
- return n.nodeName(a, "input") ? void(a.defaultValue = b) : nc && nc.set(a, b, c)
- }
- }), rc || (nc = {
- set: function (a, b, c) {
- var d = a.getAttributeNode(c);
- return d || a.setAttributeNode(d = a.ownerDocument.createAttribute(c)), d.value = b += "", "value" === c || b === a.getAttribute(c) ? b : void 0
- }
- }, pc.id = pc.name = pc.coords = function (a, b, c) {
- var d;
- return c ? void 0 : (d = a.getAttributeNode(b)) && "" !== d.value ? d.value : null
- }, n.valHooks.button = {
- get: function (a, b) {
- var c = a.getAttributeNode(b);
- return c && c.specified ? c.value : void 0
- }, set: nc.set
- }, n.attrHooks.contenteditable = {
- set: function (a, b, c) {
- nc.set(a, "" === b ? !1 : b, c)
- }
- }, n.each(["width", "height"], function (a, b) {
- n.attrHooks[b] = {
- set: function (a, c) {
- return "" === c ? (a.setAttribute(b, "auto"), c) : void 0
- }
- }
- })), l.style || (n.attrHooks.style = {
- get: function (a) {
- return a.style.cssText || void 0
- }, set: function (a, b) {
- return a.style.cssText = b + ""
- }
- });
- var tc = /^(?:input|select|textarea|button|object)$/i, uc = /^(?:a|area)$/i;
- n.fn.extend({
- prop: function (a, b) {
- return W(this, n.prop, a, b, arguments.length > 1)
- }, removeProp: function (a) {
- return a = n.propFix[a] || a, this.each(function () {
- try {
- this[a] = void 0, delete this[a]
- } catch (b) {
- }
- })
- }
- }), n.extend({
- propFix: {"for": "htmlFor", "class": "className"}, prop: function (a, b, c) {
- var d, e, f, g = a.nodeType;
- if (a && 3 !== g && 8 !== g && 2 !== g)return f = 1 !== g || !n.isXMLDoc(a), f && (b = n.propFix[b] || b, e = n.propHooks[b]), void 0 !== c ? e && "set"in e && void 0 !== (d = e.set(a, c, b)) ? d : a[b] = c : e && "get"in e && null !== (d = e.get(a, b)) ? d : a[b]
- }, propHooks: {
- tabIndex: {
- get: function (a) {
- var b = n.find.attr(a, "tabindex");
- return b ? parseInt(b, 10) : tc.test(a.nodeName) || uc.test(a.nodeName) && a.href ? 0 : -1
- }
- }
- }
- }), l.hrefNormalized || n.each(["href", "src"], function (a, b) {
- n.propHooks[b] = {
- get: function (a) {
- return a.getAttribute(b, 4)
- }
- }
- }), l.optSelected || (n.propHooks.selected = {
- get: function (a) {
- var b = a.parentNode;
- return b && (b.selectedIndex, b.parentNode && b.parentNode.selectedIndex), null
- }
- }), n.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () {
- n.propFix[this.toLowerCase()] = this
- }), l.enctype || (n.propFix.enctype = "encoding");
- var vc = /[\t\r\n\f]/g;
- n.fn.extend({
- addClass: function (a) {
- var b, c, d, e, f, g, h = 0, i = this.length, j = "string" == typeof a && a;
- if (n.isFunction(a))return this.each(function (b) {
- n(this).addClass(a.call(this, b, this.className))
- });
- if (j)for (b = (a || "").match(F) || []; i > h; h++)if (c = this[h], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(vc, " ") : " ")) {
- f = 0;
- while (e = b[f++])d.indexOf(" " + e + " ") < 0 && (d += e + " ");
- g = n.trim(d), c.className !== g && (c.className = g)
- }
- return this
- }, removeClass: function (a) {
- var b, c, d, e, f, g, h = 0, i = this.length, j = 0 === arguments.length || "string" == typeof a && a;
- if (n.isFunction(a))return this.each(function (b) {
- n(this).removeClass(a.call(this, b, this.className))
- });
- if (j)for (b = (a || "").match(F) || []; i > h; h++)if (c = this[h], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(vc, " ") : "")) {
- f = 0;
- while (e = b[f++])while (d.indexOf(" " + e + " ") >= 0)d = d.replace(" " + e + " ", " ");
- g = a ? n.trim(d) : "", c.className !== g && (c.className = g)
- }
- return this
- }, toggleClass: function (a, b) {
- var c = typeof a;
- return "boolean" == typeof b && "string" === c ? b ? this.addClass(a) : this.removeClass(a) : this.each(n.isFunction(a) ? function (c) {
- n(this).toggleClass(a.call(this, c, this.className, b), b)
- } : function () {
- if ("string" === c) {
- var b, d = 0, e = n(this), f = a.match(F) || [];
- while (b = f[d++])e.hasClass(b) ? e.removeClass(b) : e.addClass(b)
- } else(c === L || "boolean" === c) && (this.className && n._data(this, "__className__", this.className), this.className = this.className || a === !1 ? "" : n._data(this, "__className__") || "")
- })
- }, hasClass: function (a) {
- for (var b = " " + a + " ", c = 0, d = this.length; d > c; c++)if (1 === this[c].nodeType && (" " + this[c].className + " ").replace(vc, " ").indexOf(b) >= 0)return !0;
- return !1
- }
- }), n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function (a, b) {
- n.fn[b] = function (a, c) {
- return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b)
- }
- }), n.fn.extend({
- hover: function (a, b) {
- return this.mouseenter(a).mouseleave(b || a)
- }, bind: function (a, b, c) {
- return this.on(a, null, b, c)
- }, unbind: function (a, b) {
- return this.off(a, null, b)
- }, delegate: function (a, b, c, d) {
- return this.on(b, a, c, d)
- }, undelegate: function (a, b, c) {
- return 1 === arguments.length ? this.off(a, "**") : this.off(b, a || "**", c)
- }
- });
- var wc = n.now(), xc = /\?/, yc = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
- n.parseJSON = function (b) {
- if (a.JSON && a.JSON.parse)return a.JSON.parse(b + "");
- var c, d = null, e = n.trim(b + "");
- return e && !n.trim(e.replace(yc, function (a, b, e, f) {
- return c && b && (d = 0), 0 === d ? a : (c = e || b, d += !f - !e, "")
- })) ? Function("return " + e)() : n.error("Invalid JSON: " + b)
- }, n.parseXML = function (b) {
- var c, d;
- if (!b || "string" != typeof b)return null;
- try {
- a.DOMParser ? (d = new DOMParser, c = d.parseFromString(b, "text/xml")) : (c = new ActiveXObject("Microsoft.XMLDOM"), c.async = "false", c.loadXML(b))
- } catch (e) {
- c = void 0
- }
- return c && c.documentElement && !c.getElementsByTagName("parsererror").length || n.error("Invalid XML: " + b), c
- };
- var zc, Ac, Bc = /#.*$/, Cc = /([?&])_=[^&]*/, Dc = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm, Ec = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, Fc = /^(?:GET|HEAD)$/, Gc = /^\/\//, Hc = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/, Ic = {}, Jc = {}, Kc = "*/".concat("*");
- try {
- Ac = location.href
- } catch (Lc) {
- Ac = z.createElement("a"), Ac.href = "", Ac = Ac.href
- }
- zc = Hc.exec(Ac.toLowerCase()) || [];
- function Mc(a) {
- return function (b, c) {
- "string" != typeof b && (c = b, b = "*");
- var d, e = 0, f = b.toLowerCase().match(F) || [];
- if (n.isFunction(c))while (d = f[e++])"+" === d.charAt(0) ? (d = d.slice(1) || "*", (a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c)
- }
- }
-
- function Nc(a, b, c, d) {
- var e = {}, f = a === Jc;
-
- function g(h) {
- var i;
- return e[h] = !0, n.each(a[h] || [], function (a, h) {
- var j = h(b, c, d);
- return "string" != typeof j || f || e[j] ? f ? !(i = j) : void 0 : (b.dataTypes.unshift(j), g(j), !1)
- }), i
- }
-
- return g(b.dataTypes[0]) || !e["*"] && g("*")
- }
-
- function Oc(a, b) {
- var c, d, e = n.ajaxSettings.flatOptions || {};
- for (d in b)void 0 !== b[d] && ((e[d] ? a : c || (c = {}))[d] = b[d]);
- return c && n.extend(!0, a, c), a
- }
-
- function Pc(a, b, c) {
- var d, e, f, g, h = a.contents, i = a.dataTypes;
- while ("*" === i[0])i.shift(), void 0 === e && (e = a.mimeType || b.getResponseHeader("Content-Type"));
- if (e)for (g in h)if (h[g] && h[g].test(e)) {
- i.unshift(g);
- break
- }
- if (i[0]in c)f = i[0]; else {
- for (g in c) {
- if (!i[0] || a.converters[g + " " + i[0]]) {
- f = g;
- break
- }
- d || (d = g)
- }
- f = f || d
- }
- return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0
- }
-
- function Qc(a, b, c, d) {
- var e, f, g, h, i, j = {}, k = a.dataTypes.slice();
- if (k[1])for (g in a.converters)j[g.toLowerCase()] = a.converters[g];
- f = k.shift();
- while (f)if (a.responseFields[f] && (c[a.responseFields[f]] = b), !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)), i = f, f = k.shift())if ("*" === f)f = i; else if ("*" !== i && i !== f) {
- if (g = j[i + " " + f] || j["* " + f], !g)for (e in j)if (h = e.split(" "), h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]])) {
- g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0], k.unshift(h[1]));
- break
- }
- if (g !== !0)if (g && a["throws"])b = g(b); else try {
- b = g(b)
- } catch (l) {
- return {state: "parsererror", error: g ? l : "No conversion from " + i + " to " + f}
- }
- }
- return {state: "success", data: b}
- }
-
- n.extend({
- active: 0,
- lastModified: {},
- etag: {},
- ajaxSettings: {
- url: Ac,
- type: "GET",
- isLocal: Ec.test(zc[1]),
- global: !0,
- processData: !0,
- async: !0,
- contentType: "application/x-www-form-urlencoded; charset=UTF-8",
- accepts: {
- "*": Kc,
- text: "text/plain",
- html: "text/html",
- xml: "application/xml, text/xml",
- json: "application/json, text/javascript"
- },
- contents: {xml: /xml/, html: /html/, json: /json/},
- responseFields: {xml: "responseXML", text: "responseText", json: "responseJSON"},
- converters: {"* text": String, "text html": !0, "text json": n.parseJSON, "text xml": n.parseXML},
- flatOptions: {url: !0, context: !0}
- },
- ajaxSetup: function (a, b) {
- return b ? Oc(Oc(a, n.ajaxSettings), b) : Oc(n.ajaxSettings, a)
- },
- ajaxPrefilter: Mc(Ic),
- ajaxTransport: Mc(Jc),
- ajax: function (a, b) {
- "object" == typeof a && (b = a, a = void 0), b = b || {};
- var c, d, e, f, g, h, i, j, k = n.ajaxSetup({}, b), l = k.context || k, m = k.context && (l.nodeType || l.jquery) ? n(l) : n.event, o = n.Deferred(), p = n.Callbacks("once memory"), q = k.statusCode || {}, r = {}, s = {}, t = 0, u = "canceled", v = {
- readyState: 0,
- getResponseHeader: function (a) {
- var b;
- if (2 === t) {
- if (!j) {
- j = {};
- while (b = Dc.exec(f))j[b[1].toLowerCase()] = b[2]
- }
- b = j[a.toLowerCase()]
- }
- return null == b ? null : b
- },
- getAllResponseHeaders: function () {
- return 2 === t ? f : null
- },
- setRequestHeader: function (a, b) {
- var c = a.toLowerCase();
- return t || (a = s[c] = s[c] || a, r[a] = b), this
- },
- overrideMimeType: function (a) {
- return t || (k.mimeType = a), this
- },
- statusCode: function (a) {
- var b;
- if (a)if (2 > t)for (b in a)q[b] = [q[b], a[b]]; else v.always(a[v.status]);
- return this
- },
- abort: function (a) {
- var b = a || u;
- return i && i.abort(b), x(0, b), this
- }
- };
- if (o.promise(v).complete = p.add, v.success = v.done, v.error = v.fail, k.url = ((a || k.url || Ac) + "").replace(Bc, "").replace(Gc, zc[1] + "//"), k.type = b.method || b.type || k.method || k.type, k.dataTypes = n.trim(k.dataType || "*").toLowerCase().match(F) || [""], null == k.crossDomain && (c = Hc.exec(k.url.toLowerCase()), k.crossDomain = !(!c || c[1] === zc[1] && c[2] === zc[2] && (c[3] || ("http:" === c[1] ? "80" : "443")) === (zc[3] || ("http:" === zc[1] ? "80" : "443")))), k.data && k.processData && "string" != typeof k.data && (k.data = n.param(k.data, k.traditional)), Nc(Ic, k, b, v), 2 === t)return v;
- h = k.global, h && 0 === n.active++ && n.event.trigger("ajaxStart"), k.type = k.type.toUpperCase(), k.hasContent = !Fc.test(k.type), e = k.url, k.hasContent || (k.data && (e = k.url += (xc.test(e) ? "&" : "?") + k.data, delete k.data), k.cache === !1 && (k.url = Cc.test(e) ? e.replace(Cc, "$1_=" + wc++) : e + (xc.test(e) ? "&" : "?") + "_=" + wc++)), k.ifModified && (n.lastModified[e] && v.setRequestHeader("If-Modified-Since", n.lastModified[e]), n.etag[e] && v.setRequestHeader("If-None-Match", n.etag[e])), (k.data && k.hasContent && k.contentType !== !1 || b.contentType) && v.setRequestHeader("Content-Type", k.contentType), v.setRequestHeader("Accept", k.dataTypes[0] && k.accepts[k.dataTypes[0]] ? k.accepts[k.dataTypes[0]] + ("*" !== k.dataTypes[0] ? ", " + Kc + "; q=0.01" : "") : k.accepts["*"]);
- for (d in k.headers)v.setRequestHeader(d, k.headers[d]);
- if (k.beforeSend && (k.beforeSend.call(l, v, k) === !1 || 2 === t))return v.abort();
- u = "abort";
- for (d in{success: 1, error: 1, complete: 1})v[d](k[d]);
- if (i = Nc(Jc, k, b, v)) {
- v.readyState = 1, h && m.trigger("ajaxSend", [v, k]), k.async && k.timeout > 0 && (g = setTimeout(function () {
- v.abort("timeout")
- }, k.timeout));
- try {
- t = 1, i.send(r, x)
- } catch (w) {
- if (!(2 > t))throw w;
- x(-1, w)
- }
- } else x(-1, "No Transport");
- function x(a, b, c, d) {
- var j, r, s, u, w, x = b;
- 2 !== t && (t = 2, g && clearTimeout(g), i = void 0, f = d || "", v.readyState = a > 0 ? 4 : 0, j = a >= 200 && 300 > a || 304 === a, c && (u = Pc(k, v, c)), u = Qc(k, u, v, j), j ? (k.ifModified && (w = v.getResponseHeader("Last-Modified"), w && (n.lastModified[e] = w), w = v.getResponseHeader("etag"), w && (n.etag[e] = w)), 204 === a || "HEAD" === k.type ? x = "nocontent" : 304 === a ? x = "notmodified" : (x = u.state, r = u.data, s = u.error, j = !s)) : (s = x, (a || !x) && (x = "error", 0 > a && (a = 0))), v.status = a, v.statusText = (b || x) + "", j ? o.resolveWith(l, [r, x, v]) : o.rejectWith(l, [v, x, s]), v.statusCode(q), q = void 0, h && m.trigger(j ? "ajaxSuccess" : "ajaxError", [v, k, j ? r : s]), p.fireWith(l, [v, x]), h && (m.trigger("ajaxComplete", [v, k]), --n.active || n.event.trigger("ajaxStop")))
- }
-
- return v
- },
- getJSON: function (a, b, c) {
- return n.get(a, b, c, "json")
- },
- getScript: function (a, b) {
- return n.get(a, void 0, b, "script")
- }
- }), n.each(["get", "post"], function (a, b) {
- n[b] = function (a, c, d, e) {
- return n.isFunction(c) && (e = e || d, d = c, c = void 0), n.ajax({
- url: a,
- type: b,
- dataType: e,
- data: c,
- success: d
- })
- }
- }), n.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (a, b) {
- n.fn[b] = function (a) {
- return this.on(b, a)
- }
- }), n._evalUrl = function (a) {
- return n.ajax({url: a, type: "GET", dataType: "script", async: !1, global: !1, "throws": !0})
- }, n.fn.extend({
- wrapAll: function (a) {
- if (n.isFunction(a))return this.each(function (b) {
- n(this).wrapAll(a.call(this, b))
- });
- if (this[0]) {
- var b = n(a, this[0].ownerDocument).eq(0).clone(!0);
- this[0].parentNode && b.insertBefore(this[0]), b.map(function () {
- var a = this;
- while (a.firstChild && 1 === a.firstChild.nodeType)a = a.firstChild;
- return a
- }).append(this)
- }
- return this
- }, wrapInner: function (a) {
- return this.each(n.isFunction(a) ? function (b) {
- n(this).wrapInner(a.call(this, b))
- } : function () {
- var b = n(this), c = b.contents();
- c.length ? c.wrapAll(a) : b.append(a)
- })
- }, wrap: function (a) {
- var b = n.isFunction(a);
- return this.each(function (c) {
- n(this).wrapAll(b ? a.call(this, c) : a)
- })
- }, unwrap: function () {
- return this.parent().each(function () {
- n.nodeName(this, "body") || n(this).replaceWith(this.childNodes)
- }).end()
- }
- }), n.expr.filters.hidden = function (a) {
- return a.offsetWidth <= 0 && a.offsetHeight <= 0 || !l.reliableHiddenOffsets() && "none" === (a.style && a.style.display || n.css(a, "display"))
- }, n.expr.filters.visible = function (a) {
- return !n.expr.filters.hidden(a)
- };
- var Rc = /%20/g, Sc = /\[\]$/, Tc = /\r?\n/g, Uc = /^(?:submit|button|image|reset|file)$/i, Vc = /^(?:input|select|textarea|keygen)/i;
-
- function Wc(a, b, c, d) {
- var e;
- if (n.isArray(b))n.each(b, function (b, e) {
- c || Sc.test(a) ? d(a, e) : Wc(a + "[" + ("object" == typeof e ? b : "") + "]", e, c, d)
- }); else if (c || "object" !== n.type(b))d(a, b); else for (e in b)Wc(a + "[" + e + "]", b[e], c, d)
- }
-
- n.param = function (a, b) {
- var c, d = [], e = function (a, b) {
- b = n.isFunction(b) ? b() : null == b ? "" : b, d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b)
- };
- if (void 0 === b && (b = n.ajaxSettings && n.ajaxSettings.traditional), n.isArray(a) || a.jquery && !n.isPlainObject(a))n.each(a, function () {
- e(this.name, this.value)
- }); else for (c in a)Wc(c, a[c], b, e);
- return d.join("&").replace(Rc, "+")
- }, n.fn.extend({
- serialize: function () {
- return n.param(this.serializeArray())
- }, serializeArray: function () {
- return this.map(function () {
- var a = n.prop(this, "elements");
- return a ? n.makeArray(a) : this
- }).filter(function () {
- var a = this.type;
- return this.name && !n(this).is(":disabled") && Vc.test(this.nodeName) && !Uc.test(a) && (this.checked || !X.test(a))
- }).map(function (a, b) {
- var c = n(this).val();
- return null == c ? null : n.isArray(c) ? n.map(c, function (a) {
- return {name: b.name, value: a.replace(Tc, "\r\n")}
- }) : {name: b.name, value: c.replace(Tc, "\r\n")}
- }).get()
- }
- }), n.ajaxSettings.xhr = void 0 !== a.ActiveXObject ? function () {
- return !this.isLocal && /^(get|post|head|put|delete|options)$/i.test(this.type) && $c() || _c()
- } : $c;
- var Xc = 0, Yc = {}, Zc = n.ajaxSettings.xhr();
- a.ActiveXObject && n(a).on("unload", function () {
- for (var a in Yc)Yc[a](void 0, !0)
- }), l.cors = !!Zc && "withCredentials"in Zc, Zc = l.ajax = !!Zc, Zc && n.ajaxTransport(function (a) {
- if (!a.crossDomain || l.cors) {
- var b;
- return {
- send: function (c, d) {
- var e, f = a.xhr(), g = ++Xc;
- if (f.open(a.type, a.url, a.async, a.username, a.password), a.xhrFields)for (e in a.xhrFields)f[e] = a.xhrFields[e];
- a.mimeType && f.overrideMimeType && f.overrideMimeType(a.mimeType), a.crossDomain || c["X-Requested-With"] || (c["X-Requested-With"] = "XMLHttpRequest");
- for (e in c)void 0 !== c[e] && f.setRequestHeader(e, c[e] + "");
- f.send(a.hasContent && a.data || null), b = function (c, e) {
- var h, i, j;
- if (b && (e || 4 === f.readyState))if (delete Yc[g], b = void 0, f.onreadystatechange = n.noop, e)4 !== f.readyState && f.abort(); else {
- j = {}, h = f.status, "string" == typeof f.responseText && (j.text = f.responseText);
- try {
- i = f.statusText
- } catch (k) {
- i = ""
- }
- h || !a.isLocal || a.crossDomain ? 1223 === h && (h = 204) : h = j.text ? 200 : 404
- }
- j && d(h, i, j, f.getAllResponseHeaders())
- }, a.async ? 4 === f.readyState ? setTimeout(b) : f.onreadystatechange = Yc[g] = b : b()
- }, abort: function () {
- b && b(void 0, !0)
- }
- }
- }
- });
- function $c() {
- try {
- return new a.XMLHttpRequest
- } catch (b) {
- }
- }
-
- function _c() {
- try {
- return new a.ActiveXObject("Microsoft.XMLHTTP")
- } catch (b) {
- }
- }
-
- n.ajaxSetup({
- accepts: {script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
- contents: {script: /(?:java|ecma)script/},
- converters: {
- "text script": function (a) {
- return n.globalEval(a), a
- }
- }
- }), n.ajaxPrefilter("script", function (a) {
- void 0 === a.cache && (a.cache = !1), a.crossDomain && (a.type = "GET", a.global = !1)
- }), n.ajaxTransport("script", function (a) {
- if (a.crossDomain) {
- var b, c = z.head || n("head")[0] || z.documentElement;
- return {
- send: function (d, e) {
- b = z.createElement("script"), b.async = !0, a.scriptCharset && (b.charset = a.scriptCharset), b.src = a.url, b.onload = b.onreadystatechange = function (a, c) {
- (c || !b.readyState || /loaded|complete/.test(b.readyState)) && (b.onload = b.onreadystatechange = null, b.parentNode && b.parentNode.removeChild(b), b = null, c || e(200, "success"))
- }, c.insertBefore(b, c.firstChild)
- }, abort: function () {
- b && b.onload(void 0, !0)
- }
- }
- }
- });
- var ad = [], bd = /(=)\?(?=&|$)|\?\?/;
- n.ajaxSetup({
- jsonp: "callback", jsonpCallback: function () {
- var a = ad.pop() || n.expando + "_" + wc++;
- return this[a] = !0, a
- }
- }), n.ajaxPrefilter("json jsonp", function (b, c, d) {
- var e, f, g, h = b.jsonp !== !1 && (bd.test(b.url) ? "url" : "string" == typeof b.data && !(b.contentType || "").indexOf("application/x-www-form-urlencoded") && bd.test(b.data) && "data");
- return h || "jsonp" === b.dataTypes[0] ? (e = b.jsonpCallback = n.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback, h ? b[h] = b[h].replace(bd, "$1" + e) : b.jsonp !== !1 && (b.url += (xc.test(b.url) ? "&" : "?") + b.jsonp + "=" + e), b.converters["script json"] = function () {
- return g || n.error(e + " was not called"), g[0]
- }, b.dataTypes[0] = "json", f = a[e], a[e] = function () {
- g = arguments
- }, d.always(function () {
- a[e] = f, b[e] && (b.jsonpCallback = c.jsonpCallback, ad.push(e)), g && n.isFunction(f) && f(g[0]), g = f = void 0
- }), "script") : void 0
- }), n.parseHTML = function (a, b, c) {
- if (!a || "string" != typeof a)return null;
- "boolean" == typeof b && (c = b, b = !1), b = b || z;
- var d = v.exec(a), e = !c && [];
- return d ? [b.createElement(d[1])] : (d = n.buildFragment([a], b, e), e && e.length && n(e).remove(), n.merge([], d.childNodes))
- };
- var cd = n.fn.load;
- n.fn.load = function (a, b, c) {
- if ("string" != typeof a && cd)return cd.apply(this, arguments);
- var d, e, f, g = this, h = a.indexOf(" ");
- return h >= 0 && (d = a.slice(h, a.length), a = a.slice(0, h)), n.isFunction(b) ? (c = b, b = void 0) : b && "object" == typeof b && (f = "POST"), g.length > 0 && n.ajax({
- url: a,
- type: f,
- dataType: "html",
- data: b
- }).done(function (a) {
- e = arguments, g.html(d ? n("<div>").append(n.parseHTML(a)).find(d) : a)
- }).complete(c && function (a, b) {
- g.each(c, e || [a.responseText, b, a])
- }), this
- }, n.expr.filters.animated = function (a) {
- return n.grep(n.timers, function (b) {
- return a === b.elem
- }).length
- };
- var dd = a.document.documentElement;
-
- function ed(a) {
- return n.isWindow(a) ? a : 9 === a.nodeType ? a.defaultView || a.parentWindow : !1
- }
-
- n.offset = {
- setOffset: function (a, b, c) {
- var d, e, f, g, h, i, j, k = n.css(a, "position"), l = n(a), m = {};
- "static" === k && (a.style.position = "relative"), h = l.offset(), f = n.css(a, "top"), i = n.css(a, "left"), j = ("absolute" === k || "fixed" === k) && n.inArray("auto", [f, i]) > -1, j ? (d = l.position(), g = d.top, e = d.left) : (g = parseFloat(f) || 0, e = parseFloat(i) || 0), n.isFunction(b) && (b = b.call(a, c, h)), null != b.top && (m.top = b.top - h.top + g), null != b.left && (m.left = b.left - h.left + e), "using"in b ? b.using.call(a, m) : l.css(m)
- }
- }, n.fn.extend({
- offset: function (a) {
- if (arguments.length)return void 0 === a ? this : this.each(function (b) {
- n.offset.setOffset(this, a, b)
- });
- var b, c, d = {top: 0, left: 0}, e = this[0], f = e && e.ownerDocument;
- if (f)return b = f.documentElement, n.contains(b, e) ? (typeof e.getBoundingClientRect !== L && (d = e.getBoundingClientRect()), c = ed(f), {
- top: d.top + (c.pageYOffset || b.scrollTop) - (b.clientTop || 0),
- left: d.left + (c.pageXOffset || b.scrollLeft) - (b.clientLeft || 0)
- }) : d
- }, position: function () {
- if (this[0]) {
- var a, b, c = {top: 0, left: 0}, d = this[0];
- return "fixed" === n.css(d, "position") ? b = d.getBoundingClientRect() : (a = this.offsetParent(), b = this.offset(), n.nodeName(a[0], "html") || (c = a.offset()), c.top += n.css(a[0], "borderTopWidth", !0), c.left += n.css(a[0], "borderLeftWidth", !0)), {
- top: b.top - c.top - n.css(d, "marginTop", !0),
- left: b.left - c.left - n.css(d, "marginLeft", !0)
- }
- }
- }, offsetParent: function () {
- return this.map(function () {
- var a = this.offsetParent || dd;
- while (a && !n.nodeName(a, "html") && "static" === n.css(a, "position"))a = a.offsetParent;
- return a || dd
- })
- }
- }), n.each({scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function (a, b) {
- var c = /Y/.test(b);
- n.fn[a] = function (d) {
- return W(this, function (a, d, e) {
- var f = ed(a);
- return void 0 === e ? f ? b in f ? f[b] : f.document.documentElement[d] : a[d] : void(f ? f.scrollTo(c ? n(f).scrollLeft() : e, c ? e : n(f).scrollTop()) : a[d] = e)
- }, a, d, arguments.length, null)
- }
- }), n.each(["top", "left"], function (a, b) {
- n.cssHooks[b] = Mb(l.pixelPosition, function (a, c) {
- return c ? (c = Kb(a, b), Ib.test(c) ? n(a).position()[b] + "px" : c) : void 0
- })
- }), n.each({Height: "height", Width: "width"}, function (a, b) {
- n.each({padding: "inner" + a, content: b, "": "outer" + a}, function (c, d) {
- n.fn[d] = function (d, e) {
- var f = arguments.length && (c || "boolean" != typeof d), g = c || (d === !0 || e === !0 ? "margin" : "border");
- return W(this, function (b, c, d) {
- var e;
- return n.isWindow(b) ? b.document.documentElement["client" + a] : 9 === b.nodeType ? (e = b.documentElement, Math.max(b.body["scroll" + a], e["scroll" + a], b.body["offset" + a], e["offset" + a], e["client" + a])) : void 0 === d ? n.css(b, c, g) : n.style(b, c, d, g)
- }, b, f ? d : void 0, f, null)
- }
- })
- }), n.fn.size = function () {
- return this.length
- }, n.fn.andSelf = n.fn.addBack, "function" == typeof define && define.amd && define("jquery", [], function () {
- return n
- });
- var fd = a.jQuery, gd = a.$;
- return n.noConflict = function (b) {
- return a.$ === n && (a.$ = gd), b && a.jQuery === n && (a.jQuery = fd), n
- }, typeof b === L && (a.jQuery = a.$ = n), n
-});
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.11.2.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.11.2.js
deleted file mode 100644
index 37d65e37..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.11.2.js
+++ /dev/null
@@ -1,10319 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.11.2
- * http://jquery.com/
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- *
- * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
- * Released under the MIT license
- * http://jquery.org/license
- *
- * Date: 2014-12-17T15:27Z
- */
-
-(function (global, factory) {
-
- if (typeof module === "object" && typeof module.exports === "object") {
- // For CommonJS and CommonJS-like environments where a proper window is present,
- // execute the factory and get jQuery
- // For environments that do not inherently posses a window with a document
- // (such as Node.js), expose a jQuery-making factory as module.exports
- // This accentuates the need for the creation of a real window
- // e.g. var jQuery = require("jquery")(window);
- // See ticket #14549 for more info
- module.exports = global.document ?
- factory(global, true) :
- function (w) {
- if (!w.document) {
- throw new Error("jQuery requires a window with a document");
- }
- return factory(w);
- };
- } else {
- factory(global);
- }
-
-// Pass this if window is not defined yet
-}(typeof window !== "undefined" ? window : this, function (window, noGlobal) {
-
-// Can't do this because several apps including ASP.NET trace
-// the stack via arguments.caller.callee and Firefox dies if
-// you try to trace through "use strict" call chains. (#13335)
-// Support: Firefox 18+
-//
-
- var deletedIds = [];
-
- var slice = deletedIds.slice;
-
- var concat = deletedIds.concat;
-
- var push = deletedIds.push;
-
- var indexOf = deletedIds.indexOf;
-
- var class2type = {};
-
- var toString = class2type.toString;
-
- var hasOwn = class2type.hasOwnProperty;
-
- var support = {};
-
-
- var
- version = "1.11.2",
-
- // Define a local copy of jQuery
- jQuery = function (selector, context) {
- // The jQuery object is actually just the init constructor 'enhanced'
- // Need init if jQuery is called (just allow error to be thrown if not included)
- return new jQuery.fn.init(selector, context);
- },
-
- // Support: Android<4.1, IE<9
- // Make sure we trim BOM and NBSP
- rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
-
- // Matches dashed string for camelizing
- rmsPrefix = /^-ms-/,
- rdashAlpha = /-([\da-z])/gi,
-
- // Used by jQuery.camelCase as callback to replace()
- fcamelCase = function (all, letter) {
- return letter.toUpperCase();
- };
-
- jQuery.fn = jQuery.prototype = {
- // The current version of jQuery being used
- jquery: version,
-
- constructor: jQuery,
-
- // Start with an empty selector
- selector: "",
-
- // The default length of a jQuery object is 0
- length: 0,
-
- toArray: function () {
- return slice.call(this);
- },
-
- // Get the Nth element in the matched element set OR
- // Get the whole matched element set as a clean array
- get: function (num) {
- return num != null ?
-
- // Return just the one element from the set
- ( num < 0 ? this[num + this.length] : this[num] ) :
-
- // Return all the elements in a clean array
- slice.call(this);
- },
-
- // Take an array of elements and push it onto the stack
- // (returning the new matched element set)
- pushStack: function (elems) {
-
- // Build a new jQuery matched element set
- var ret = jQuery.merge(this.constructor(), elems);
-
- // Add the old object onto the stack (as a reference)
- ret.prevObject = this;
- ret.context = this.context;
-
- // Return the newly-formed element set
- return ret;
- },
-
- // Execute a callback for every element in the matched set.
- // (You can seed the arguments with an array of args, but this is
- // only used internally.)
- each: function (callback, args) {
- return jQuery.each(this, callback, args);
- },
-
- map: function (callback) {
- return this.pushStack(jQuery.map(this, function (elem, i) {
- return callback.call(elem, i, elem);
- }));
- },
-
- slice: function () {
- return this.pushStack(slice.apply(this, arguments));
- },
-
- first: function () {
- return this.eq(0);
- },
-
- last: function () {
- return this.eq(-1);
- },
-
- eq: function (i) {
- var len = this.length,
- j = +i + ( i < 0 ? len : 0 );
- return this.pushStack(j >= 0 && j < len ? [this[j]] : []);
- },
-
- end: function () {
- return this.prevObject || this.constructor(null);
- },
-
- // For internal use only.
- // Behaves like an Array's method, not like a jQuery method.
- push: push,
- sort: deletedIds.sort,
- splice: deletedIds.splice
- };
-
- jQuery.extend = jQuery.fn.extend = function () {
- var src, copyIsArray, copy, name, options, clone,
- target = arguments[0] || {},
- i = 1,
- length = arguments.length,
- deep = false;
-
- // Handle a deep copy situation
- if (typeof target === "boolean") {
- deep = target;
-
- // skip the boolean and the target
- target = arguments[i] || {};
- i++;
- }
-
- // Handle case when target is a string or something (possible in deep copy)
- if (typeof target !== "object" && !jQuery.isFunction(target)) {
- target = {};
- }
-
- // extend jQuery itself if only one argument is passed
- if (i === length) {
- target = this;
- i--;
- }
-
- for (; i < length; i++) {
- // Only deal with non-null/undefined values
- if ((options = arguments[i]) != null) {
- // Extend the base object
- for (name in options) {
- src = target[name];
- copy = options[name];
-
- // Prevent never-ending loop
- if (target === copy) {
- continue;
- }
-
- // Recurse if we're merging plain objects or arrays
- if (deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) )) {
- if (copyIsArray) {
- copyIsArray = false;
- clone = src && jQuery.isArray(src) ? src : [];
-
- } else {
- clone = src && jQuery.isPlainObject(src) ? src : {};
- }
-
- // Never move original objects, clone them
- target[name] = jQuery.extend(deep, clone, copy);
-
- // Don't bring in undefined values
- } else if (copy !== undefined) {
- target[name] = copy;
- }
- }
- }
- }
-
- // Return the modified object
- return target;
- };
-
- jQuery.extend({
- // Unique for each copy of jQuery on the page
- expando: "jQuery" + ( version + Math.random() ).replace(/\D/g, ""),
-
- // Assume jQuery is ready without the ready module
- isReady: true,
-
- error: function (msg) {
- throw new Error(msg);
- },
-
- noop: function () {
- },
-
- // See test/unit/core.js for details concerning isFunction.
- // Since version 1.3, DOM methods and functions like alert
- // aren't supported. They return false on IE (#2968).
- isFunction: function (obj) {
- return jQuery.type(obj) === "function";
- },
-
- isArray: Array.isArray || function (obj) {
- return jQuery.type(obj) === "array";
- },
-
- isWindow: function (obj) {
- /* jshint eqeqeq: false */
- return obj != null && obj == obj.window;
- },
-
- isNumeric: function (obj) {
- // parseFloat NaNs numeric-cast false positives (null|true|false|"")
- // ...but misinterprets leading-number strings, particularly hex literals ("0x...")
- // subtraction forces infinities to NaN
- // adding 1 corrects loss of precision from parseFloat (#15100)
- return !jQuery.isArray(obj) && (obj - parseFloat(obj) + 1) >= 0;
- },
-
- isEmptyObject: function (obj) {
- var name;
- for (name in obj) {
- return false;
- }
- return true;
- },
-
- isPlainObject: function (obj) {
- var key;
-
- // Must be an Object.
- // Because of IE, we also have to check the presence of the constructor property.
- // Make sure that DOM nodes and window objects don't pass through, as well
- if (!obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow(obj)) {
- return false;
- }
-
- try {
- // Not own constructor property must be Object
- if (obj.constructor && !hasOwn.call(obj, "constructor") && !hasOwn.call(obj.constructor.prototype, "isPrototypeOf")) {
- return false;
- }
- } catch (e) {
- // IE8,9 Will throw exceptions on certain host objects #9897
- return false;
- }
-
- // Support: IE<9
- // Handle iteration over inherited properties before own properties.
- if (support.ownLast) {
- for (key in obj) {
- return hasOwn.call(obj, key);
- }
- }
-
- // Own properties are enumerated firstly, so to speed up,
- // if last one is own, then all properties are own.
- for (key in obj) {
- }
-
- return key === undefined || hasOwn.call(obj, key);
- },
-
- type: function (obj) {
- if (obj == null) {
- return obj + "";
- }
- return typeof obj === "object" || typeof obj === "function" ?
- class2type[toString.call(obj)] || "object" :
- typeof obj;
- },
-
- // Evaluates a script in a global context
- // Workarounds based on findings by Jim Driscoll
- // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
- globalEval: function (data) {
- if (data && jQuery.trim(data)) {
- // We use execScript on Internet Explorer
- // We use an anonymous function so that context is window
- // rather than jQuery in Firefox
- ( window.execScript || function (data) {
- window["eval"].call(window, data);
- } )(data);
- }
- },
-
- // Convert dashed to camelCase; used by the css and data modules
- // Microsoft forgot to hump their vendor prefix (#9572)
- camelCase: function (string) {
- return string.replace(rmsPrefix, "ms-").replace(rdashAlpha, fcamelCase);
- },
-
- nodeName: function (elem, name) {
- return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
- },
-
- // args is for internal usage only
- each: function (obj, callback, args) {
- var value,
- i = 0,
- length = obj.length,
- isArray = isArraylike(obj);
-
- if (args) {
- if (isArray) {
- for (; i < length; i++) {
- value = callback.apply(obj[i], args);
-
- if (value === false) {
- break;
- }
- }
- } else {
- for (i in obj) {
- value = callback.apply(obj[i], args);
-
- if (value === false) {
- break;
- }
- }
- }
-
- // A special, fast, case for the most common use of each
- } else {
- if (isArray) {
- for (; i < length; i++) {
- value = callback.call(obj[i], i, obj[i]);
-
- if (value === false) {
- break;
- }
- }
- } else {
- for (i in obj) {
- value = callback.call(obj[i], i, obj[i]);
-
- if (value === false) {
- break;
- }
- }
- }
- }
-
- return obj;
- },
-
- // Support: Android<4.1, IE<9
- trim: function (text) {
- return text == null ?
- "" :
- ( text + "" ).replace(rtrim, "");
- },
-
- // results is for internal usage only
- makeArray: function (arr, results) {
- var ret = results || [];
-
- if (arr != null) {
- if (isArraylike(Object(arr))) {
- jQuery.merge(ret,
- typeof arr === "string" ?
- [arr] : arr
- );
- } else {
- push.call(ret, arr);
- }
- }
-
- return ret;
- },
-
- inArray: function (elem, arr, i) {
- var len;
-
- if (arr) {
- if (indexOf) {
- return indexOf.call(arr, elem, i);
- }
-
- len = arr.length;
- i = i ? i < 0 ? Math.max(0, len + i) : i : 0;
-
- for (; i < len; i++) {
- // Skip accessing in sparse arrays
- if (i in arr && arr[i] === elem) {
- return i;
- }
- }
- }
-
- return -1;
- },
-
- merge: function (first, second) {
- var len = +second.length,
- j = 0,
- i = first.length;
-
- while (j < len) {
- first[i++] = second[j++];
- }
-
- // Support: IE<9
- // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists)
- if (len !== len) {
- while (second[j] !== undefined) {
- first[i++] = second[j++];
- }
- }
-
- first.length = i;
-
- return first;
- },
-
- grep: function (elems, callback, invert) {
- var callbackInverse,
- matches = [],
- i = 0,
- length = elems.length,
- callbackExpect = !invert;
-
- // Go through the array, only saving the items
- // that pass the validator function
- for (; i < length; i++) {
- callbackInverse = !callback(elems[i], i);
- if (callbackInverse !== callbackExpect) {
- matches.push(elems[i]);
- }
- }
-
- return matches;
- },
-
- // arg is for internal usage only
- map: function (elems, callback, arg) {
- var value,
- i = 0,
- length = elems.length,
- isArray = isArraylike(elems),
- ret = [];
-
- // Go through the array, translating each of the items to their new values
- if (isArray) {
- for (; i < length; i++) {
- value = callback(elems[i], i, arg);
-
- if (value != null) {
- ret.push(value);
- }
- }
-
- // Go through every key on the object,
- } else {
- for (i in elems) {
- value = callback(elems[i], i, arg);
-
- if (value != null) {
- ret.push(value);
- }
- }
- }
-
- // Flatten any nested arrays
- return concat.apply([], ret);
- },
-
- // A global GUID counter for objects
- guid: 1,
-
- // Bind a function to a context, optionally partially applying any
- // arguments.
- proxy: function (fn, context) {
- var args, proxy, tmp;
-
- if (typeof context === "string") {
- tmp = fn[context];
- context = fn;
- fn = tmp;
- }
-
- // Quick check to determine if target is callable, in the spec
- // this throws a TypeError, but we will just return undefined.
- if (!jQuery.isFunction(fn)) {
- return undefined;
- }
-
- // Simulated bind
- args = slice.call(arguments, 2);
- proxy = function () {
- return fn.apply(context || this, args.concat(slice.call(arguments)));
- };
-
- // Set the guid of unique handler to the same of original handler, so it can be removed
- proxy.guid = fn.guid = fn.guid || jQuery.guid++;
-
- return proxy;
- },
-
- now: function () {
- return +( new Date() );
- },
-
- // jQuery.support is not used in Core but other projects attach their
- // properties to it so it needs to exist.
- support: support
- });
-
-// Populate the class2type map
- jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (i, name) {
- class2type["[object " + name + "]"] = name.toLowerCase();
- });
-
- function isArraylike(obj) {
- var length = obj.length,
- type = jQuery.type(obj);
-
- if (type === "function" || jQuery.isWindow(obj)) {
- return false;
- }
-
- if (obj.nodeType === 1 && length) {
- return true;
- }
-
- return type === "array" || length === 0 ||
- typeof length === "number" && length > 0 && ( length - 1 ) in obj;
- }
-
- var Sizzle =
- /*!
- * Sizzle CSS Selector Engine v2.2.0-pre
- * http://sizzlejs.com/
- *
- * Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors
- * Released under the MIT license
- * http://jquery.org/license
- *
- * Date: 2014-12-16
- */
- (function (window) {
-
- var i,
- support,
- Expr,
- getText,
- isXML,
- tokenize,
- compile,
- select,
- outermostContext,
- sortInput,
- hasDuplicate,
-
- // Local document vars
- setDocument,
- document,
- docElem,
- documentIsHTML,
- rbuggyQSA,
- rbuggyMatches,
- matches,
- contains,
-
- // Instance-specific data
- expando = "sizzle" + 1 * new Date(),
- preferredDoc = window.document,
- dirruns = 0,
- done = 0,
- classCache = createCache(),
- tokenCache = createCache(),
- compilerCache = createCache(),
- sortOrder = function (a, b) {
- if (a === b) {
- hasDuplicate = true;
- }
- return 0;
- },
-
- // General-purpose constants
- MAX_NEGATIVE = 1 << 31,
-
- // Instance methods
- hasOwn = ({}).hasOwnProperty,
- arr = [],
- pop = arr.pop,
- push_native = arr.push,
- push = arr.push,
- slice = arr.slice,
- // Use a stripped-down indexOf as it's faster than native
- // http://jsperf.com/thor-indexof-vs-for/5
- indexOf = function (list, elem) {
- var i = 0,
- len = list.length;
- for (; i < len; i++) {
- if (list[i] === elem) {
- return i;
- }
- }
- return -1;
- },
-
- booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
-
- // Regular expressions
-
- // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace
- whitespace = "[\\x20\\t\\r\\n\\f]",
- // http://www.w3.org/TR/css3-syntax/#characters
- characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
-
- // Loosely modeled on CSS identifier characters
- // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors
- // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
- identifier = characterEncoding.replace("w", "w#"),
-
- // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
- attributes = "\\[" + whitespace + "*(" + characterEncoding + ")(?:" + whitespace +
- // Operator (capture 2)
- "*([*^$|!~]?=)" + whitespace +
- // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
- "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace +
- "*\\]",
-
- pseudos = ":(" + characterEncoding + ")(?:\\((" +
- // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:
- // 1. quoted (capture 3; capture 4 or capture 5)
- "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" +
- // 2. simple (capture 6)
- "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" +
- // 3. anything else (capture 2)
- ".*" +
- ")\\)|)",
-
- // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
- rwhitespace = new RegExp(whitespace + "+", "g"),
- rtrim = new RegExp("^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g"),
-
- rcomma = new RegExp("^" + whitespace + "*," + whitespace + "*"),
- rcombinators = new RegExp("^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*"),
-
- rattributeQuotes = new RegExp("=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g"),
-
- rpseudo = new RegExp(pseudos),
- ridentifier = new RegExp("^" + identifier + "$"),
-
- matchExpr = {
- "ID": new RegExp("^#(" + characterEncoding + ")"),
- "CLASS": new RegExp("^\\.(" + characterEncoding + ")"),
- "TAG": new RegExp("^(" + characterEncoding.replace("w", "w*") + ")"),
- "ATTR": new RegExp("^" + attributes),
- "PSEUDO": new RegExp("^" + pseudos),
- "CHILD": new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +
- "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace +
- "*(\\d+)|))" + whitespace + "*\\)|)", "i"),
- "bool": new RegExp("^(?:" + booleans + ")$", "i"),
- // For use in libraries implementing .is()
- // We use this for POS matching in `select`
- "needsContext": new RegExp("^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
- whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i")
- },
-
- rinputs = /^(?:input|select|textarea|button)$/i,
- rheader = /^h\d$/i,
-
- rnative = /^[^{]+\{\s*\[native \w/,
-
- // Easily-parseable/retrievable ID or TAG or CLASS selectors
- rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
-
- rsibling = /[+~]/,
- rescape = /'|\\/g,
-
- // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
- runescape = new RegExp("\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig"),
- funescape = function (_, escaped, escapedWhitespace) {
- var high = "0x" + escaped - 0x10000;
- // NaN means non-codepoint
- // Support: Firefox<24
- // Workaround erroneous numeric interpretation of +"0x"
- return high !== high || escapedWhitespace ?
- escaped :
- high < 0 ?
- // BMP codepoint
- String.fromCharCode(high + 0x10000) :
- // Supplemental Plane codepoint (surrogate pair)
- String.fromCharCode(high >> 10 | 0xD800, high & 0x3FF | 0xDC00);
- },
-
- // Used for iframes
- // See setDocument()
- // Removing the function wrapper causes a "Permission Denied"
- // error in IE
- unloadHandler = function () {
- setDocument();
- };
-
-// Optimize for push.apply( _, NodeList )
- try {
- push.apply(
- (arr = slice.call(preferredDoc.childNodes)),
- preferredDoc.childNodes
- );
- // Support: Android<4.0
- // Detect silently failing push.apply
- arr[preferredDoc.childNodes.length].nodeType;
- } catch (e) {
- push = {
- apply: arr.length ?
-
- // Leverage slice if possible
- function (target, els) {
- push_native.apply(target, slice.call(els));
- } :
-
- // Support: IE<9
- // Otherwise append directly
- function (target, els) {
- var j = target.length,
- i = 0;
- // Can't trust NodeList.length
- while ((target[j++] = els[i++])) {
- }
- target.length = j - 1;
- }
- };
- }
-
- function Sizzle(selector, context, results, seed) {
- var match, elem, m, nodeType,
- // QSA vars
- i, groups, old, nid, newContext, newSelector;
-
- if (( context ? context.ownerDocument || context : preferredDoc ) !== document) {
- setDocument(context);
- }
-
- context = context || document;
- results = results || [];
- nodeType = context.nodeType;
-
- if (typeof selector !== "string" || !selector ||
- nodeType !== 1 && nodeType !== 9 && nodeType !== 11) {
-
- return results;
- }
-
- if (!seed && documentIsHTML) {
-
- // Try to shortcut find operations when possible (e.g., not under DocumentFragment)
- if (nodeType !== 11 && (match = rquickExpr.exec(selector))) {
- // Speed-up: Sizzle("#ID")
- if ((m = match[1])) {
- if (nodeType === 9) {
- elem = context.getElementById(m);
- // Check parentNode to catch when Blackberry 4.6 returns
- // nodes that are no longer in the document (jQuery #6963)
- if (elem && elem.parentNode) {
- // Handle the case where IE, Opera, and Webkit return items
- // by name instead of ID
- if (elem.id === m) {
- results.push(elem);
- return results;
- }
- } else {
- return results;
- }
- } else {
- // Context is not a document
- if (context.ownerDocument && (elem = context.ownerDocument.getElementById(m)) &&
- contains(context, elem) && elem.id === m) {
- results.push(elem);
- return results;
- }
- }
-
- // Speed-up: Sizzle("TAG")
- } else if (match[2]) {
- push.apply(results, context.getElementsByTagName(selector));
- return results;
-
- // Speed-up: Sizzle(".CLASS")
- } else if ((m = match[3]) && support.getElementsByClassName) {
- push.apply(results, context.getElementsByClassName(m));
- return results;
- }
- }
-
- // QSA path
- if (support.qsa && (!rbuggyQSA || !rbuggyQSA.test(selector))) {
- nid = old = expando;
- newContext = context;
- newSelector = nodeType !== 1 && selector;
-
- // qSA works strangely on Element-rooted queries
- // We can work around this by specifying an extra ID on the root
- // and working up from there (Thanks to Andrew Dupont for the technique)
- // IE 8 doesn't work on object elements
- if (nodeType === 1 && context.nodeName.toLowerCase() !== "object") {
- groups = tokenize(selector);
-
- if ((old = context.getAttribute("id"))) {
- nid = old.replace(rescape, "\\$&");
- } else {
- context.setAttribute("id", nid);
- }
- nid = "[id='" + nid + "'] ";
-
- i = groups.length;
- while (i--) {
- groups[i] = nid + toSelector(groups[i]);
- }
- newContext = rsibling.test(selector) && testContext(context.parentNode) || context;
- newSelector = groups.join(",");
- }
-
- if (newSelector) {
- try {
- push.apply(results,
- newContext.querySelectorAll(newSelector)
- );
- return results;
- } catch (qsaError) {
- } finally {
- if (!old) {
- context.removeAttribute("id");
- }
- }
- }
- }
- }
-
- // All others
- return select(selector.replace(rtrim, "$1"), context, results, seed);
- }
-
- /**
- * Create key-value caches of limited size
- * @returns {Function(string, Object)} Returns the Object data after storing it on itself with
- * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
- * deleting the oldest entry
- */
- function createCache() {
- var keys = [];
-
- function cache(key, value) {
- // Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
- if (keys.push(key + " ") > Expr.cacheLength) {
- // Only keep the most recent entries
- delete cache[keys.shift()];
- }
- return (cache[key + " "] = value);
- }
-
- return cache;
- }
-
- /**
- * Mark a function for special use by Sizzle
- * @param {Function} fn The function to mark
- */
- function markFunction(fn) {
- fn[expando] = true;
- return fn;
- }
-
- /**
- * Support testing using an element
- * @param {Function} fn Passed the created div and expects a boolean result
- */
- function assert(fn) {
- var div = document.createElement("div");
-
- try {
- return !!fn(div);
- } catch (e) {
- return false;
- } finally {
- // Remove from its parent by default
- if (div.parentNode) {
- div.parentNode.removeChild(div);
- }
- // release memory in IE
- div = null;
- }
- }
-
- /**
- * Adds the same handler for all of the specified attrs
- * @param {String} attrs Pipe-separated list of attributes
- * @param {Function} handler The method that will be applied
- */
- function addHandle(attrs, handler) {
- var arr = attrs.split("|"),
- i = attrs.length;
-
- while (i--) {
- Expr.attrHandle[arr[i]] = handler;
- }
- }
-
- /**
- * Checks document order of two siblings
- * @param {Element} a
- * @param {Element} b
- * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
- */
- function siblingCheck(a, b) {
- var cur = b && a,
- diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
- ( ~b.sourceIndex || MAX_NEGATIVE ) -
- ( ~a.sourceIndex || MAX_NEGATIVE );
-
- // Use IE sourceIndex if available on both nodes
- if (diff) {
- return diff;
- }
-
- // Check if b follows a
- if (cur) {
- while ((cur = cur.nextSibling)) {
- if (cur === b) {
- return -1;
- }
- }
- }
-
- return a ? 1 : -1;
- }
-
- /**
- * Returns a function to use in pseudos for input types
- * @param {String} type
- */
- function createInputPseudo(type) {
- return function (elem) {
- var name = elem.nodeName.toLowerCase();
- return name === "input" && elem.type === type;
- };
- }
-
- /**
- * Returns a function to use in pseudos for buttons
- * @param {String} type
- */
- function createButtonPseudo(type) {
- return function (elem) {
- var name = elem.nodeName.toLowerCase();
- return (name === "input" || name === "button") && elem.type === type;
- };
- }
-
- /**
- * Returns a function to use in pseudos for positionals
- * @param {Function} fn
- */
- function createPositionalPseudo(fn) {
- return markFunction(function (argument) {
- argument = +argument;
- return markFunction(function (seed, matches) {
- var j,
- matchIndexes = fn([], seed.length, argument),
- i = matchIndexes.length;
-
- // Match elements found at the specified indexes
- while (i--) {
- if (seed[(j = matchIndexes[i])]) {
- seed[j] = !(matches[j] = seed[j]);
- }
- }
- });
- });
- }
-
- /**
- * Checks a node for validity as a Sizzle context
- * @param {Element|Object=} context
- * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
- */
- function testContext(context) {
- return context && typeof context.getElementsByTagName !== "undefined" && context;
- }
-
-// Expose support vars for convenience
- support = Sizzle.support = {};
-
- /**
- * Detects XML nodes
- * @param {Element|Object} elem An element or a document
- * @returns {Boolean} True iff elem is a non-HTML XML node
- */
- isXML = Sizzle.isXML = function (elem) {
- // documentElement is verified for cases where it doesn't yet exist
- // (such as loading iframes in IE - #4833)
- var documentElement = elem && (elem.ownerDocument || elem).documentElement;
- return documentElement ? documentElement.nodeName !== "HTML" : false;
- };
-
- /**
- * Sets document-related variables once based on the current document
- * @param {Element|Object} [doc] An element or document object to use to set the document
- * @returns {Object} Returns the current document
- */
- setDocument = Sizzle.setDocument = function (node) {
- var hasCompare, parent,
- doc = node ? node.ownerDocument || node : preferredDoc;
-
- // If no document and documentElement is available, return
- if (doc === document || doc.nodeType !== 9 || !doc.documentElement) {
- return document;
- }
-
- // Set our document
- document = doc;
- docElem = doc.documentElement;
- parent = doc.defaultView;
-
- // Support: IE>8
- // If iframe document is assigned to "document" variable and if iframe has been reloaded,
- // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936
- // IE6-8 do not support the defaultView property so parent will be undefined
- if (parent && parent !== parent.top) {
- // IE11 does not have attachEvent, so all must suffer
- if (parent.addEventListener) {
- parent.addEventListener("unload", unloadHandler, false);
- } else if (parent.attachEvent) {
- parent.attachEvent("onunload", unloadHandler);
- }
- }
-
- /* Support tests
- ---------------------------------------------------------------------- */
- documentIsHTML = !isXML(doc);
-
- /* Attributes
- ---------------------------------------------------------------------- */
-
- // Support: IE<8
- // Verify that getAttribute really returns attributes and not properties
- // (excepting IE8 booleans)
- support.attributes = assert(function (div) {
- div.className = "i";
- return !div.getAttribute("className");
- });
-
- /* getElement(s)By*
- ---------------------------------------------------------------------- */
-
- // Check if getElementsByTagName("*") returns only elements
- support.getElementsByTagName = assert(function (div) {
- div.appendChild(doc.createComment(""));
- return !div.getElementsByTagName("*").length;
- });
-
- // Support: IE<9
- support.getElementsByClassName = rnative.test(doc.getElementsByClassName);
-
- // Support: IE<10
- // Check if getElementById returns elements by name
- // The broken getElementById methods don't pick up programatically-set names,
- // so use a roundabout getElementsByName test
- support.getById = assert(function (div) {
- docElem.appendChild(div).id = expando;
- return !doc.getElementsByName || !doc.getElementsByName(expando).length;
- });
-
- // ID find and filter
- if (support.getById) {
- Expr.find["ID"] = function (id, context) {
- if (typeof context.getElementById !== "undefined" && documentIsHTML) {
- var m = context.getElementById(id);
- // Check parentNode to catch when Blackberry 4.6 returns
- // nodes that are no longer in the document #6963
- return m && m.parentNode ? [m] : [];
- }
- };
- Expr.filter["ID"] = function (id) {
- var attrId = id.replace(runescape, funescape);
- return function (elem) {
- return elem.getAttribute("id") === attrId;
- };
- };
- } else {
- // Support: IE6/7
- // getElementById is not reliable as a find shortcut
- delete Expr.find["ID"];
-
- Expr.filter["ID"] = function (id) {
- var attrId = id.replace(runescape, funescape);
- return function (elem) {
- var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
- return node && node.value === attrId;
- };
- };
- }
-
- // Tag
- Expr.find["TAG"] = support.getElementsByTagName ?
- function (tag, context) {
- if (typeof context.getElementsByTagName !== "undefined") {
- return context.getElementsByTagName(tag);
-
- // DocumentFragment nodes don't have gEBTN
- } else if (support.qsa) {
- return context.querySelectorAll(tag);
- }
- } :
-
- function (tag, context) {
- var elem,
- tmp = [],
- i = 0,
- // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too
- results = context.getElementsByTagName(tag);
-
- // Filter out possible comments
- if (tag === "*") {
- while ((elem = results[i++])) {
- if (elem.nodeType === 1) {
- tmp.push(elem);
- }
- }
-
- return tmp;
- }
- return results;
- };
-
- // Class
- Expr.find["CLASS"] = support.getElementsByClassName && function (className, context) {
- if (documentIsHTML) {
- return context.getElementsByClassName(className);
- }
- };
-
- /* QSA/matchesSelector
- ---------------------------------------------------------------------- */
-
- // QSA and matchesSelector support
-
- // matchesSelector(:active) reports false when true (IE9/Opera 11.5)
- rbuggyMatches = [];
-
- // qSa(:focus) reports false when true (Chrome 21)
- // We allow this because of a bug in IE8/9 that throws an error
- // whenever `document.activeElement` is accessed on an iframe
- // So, we allow :focus to pass through QSA all the time to avoid the IE error
- // See http://bugs.jquery.com/ticket/13378
- rbuggyQSA = [];
-
- if ((support.qsa = rnative.test(doc.querySelectorAll))) {
- // Build QSA regex
- // Regex strategy adopted from Diego Perini
- assert(function (div) {
- // Select is set to empty string on purpose
- // This is to test IE's treatment of not explicitly
- // setting a boolean content attribute,
- // since its presence should be enough
- // http://bugs.jquery.com/ticket/12359
- docElem.appendChild(div).innerHTML = "<a id='" + expando + "'></a>" +
- "<select id='" + expando + "-\f]' msallowcapture=''>" +
- "<option selected=''></option></select>";
-
- // Support: IE8, Opera 11-12.16
- // Nothing should be selected when empty strings follow ^= or $= or *=
- // The test attribute must be unknown in Opera but "safe" for WinRT
- // http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section
- if (div.querySelectorAll("[msallowcapture^='']").length) {
- rbuggyQSA.push("[*^$]=" + whitespace + "*(?:''|\"\")");
- }
-
- // Support: IE8
- // Boolean attributes and "value" are not treated correctly
- if (!div.querySelectorAll("[selected]").length) {
- rbuggyQSA.push("\\[" + whitespace + "*(?:value|" + booleans + ")");
- }
-
- // Support: Chrome<29, Android<4.2+, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.7+
- if (!div.querySelectorAll("[id~=" + expando + "-]").length) {
- rbuggyQSA.push("~=");
- }
-
- // Webkit/Opera - :checked should return selected option elements
- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
- // IE8 throws error here and will not see later tests
- if (!div.querySelectorAll(":checked").length) {
- rbuggyQSA.push(":checked");
- }
-
- // Support: Safari 8+, iOS 8+
- // https://bugs.webkit.org/show_bug.cgi?id=136851
- // In-page `selector#id sibing-combinator selector` fails
- if (!div.querySelectorAll("a#" + expando + "+*").length) {
- rbuggyQSA.push(".#.+[+~]");
- }
- });
-
- assert(function (div) {
- // Support: Windows 8 Native Apps
- // The type and name attributes are restricted during .innerHTML assignment
- var input = doc.createElement("input");
- input.setAttribute("type", "hidden");
- div.appendChild(input).setAttribute("name", "D");
-
- // Support: IE8
- // Enforce case-sensitivity of name attribute
- if (div.querySelectorAll("[name=d]").length) {
- rbuggyQSA.push("name" + whitespace + "*[*^$|!~]?=");
- }
-
- // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
- // IE8 throws error here and will not see later tests
- if (!div.querySelectorAll(":enabled").length) {
- rbuggyQSA.push(":enabled", ":disabled");
- }
-
- // Opera 10-11 does not throw on post-comma invalid pseudos
- div.querySelectorAll("*,:x");
- rbuggyQSA.push(",.*:");
- });
- }
-
- if ((support.matchesSelector = rnative.test((matches = docElem.matches ||
- docElem.webkitMatchesSelector ||
- docElem.mozMatchesSelector ||
- docElem.oMatchesSelector ||
- docElem.msMatchesSelector)))) {
-
- assert(function (div) {
- // Check to see if it's possible to do matchesSelector
- // on a disconnected node (IE 9)
- support.disconnectedMatch = matches.call(div, "div");
-
- // This should fail with an exception
- // Gecko does not error, returns false instead
- matches.call(div, "[s!='']:x");
- rbuggyMatches.push("!=", pseudos);
- });
- }
-
- rbuggyQSA = rbuggyQSA.length && new RegExp(rbuggyQSA.join("|"));
- rbuggyMatches = rbuggyMatches.length && new RegExp(rbuggyMatches.join("|"));
-
- /* Contains
- ---------------------------------------------------------------------- */
- hasCompare = rnative.test(docElem.compareDocumentPosition);
-
- // Element contains another
- // Purposefully does not implement inclusive descendent
- // As in, an element does not contain itself
- contains = hasCompare || rnative.test(docElem.contains) ?
- function (a, b) {
- var adown = a.nodeType === 9 ? a.documentElement : a,
- bup = b && b.parentNode;
- return a === bup || !!( bup && bup.nodeType === 1 && (
- adown.contains ?
- adown.contains(bup) :
- a.compareDocumentPosition && a.compareDocumentPosition(bup) & 16
- ));
- } :
- function (a, b) {
- if (b) {
- while ((b = b.parentNode)) {
- if (b === a) {
- return true;
- }
- }
- }
- return false;
- };
-
- /* Sorting
- ---------------------------------------------------------------------- */
-
- // Document order sorting
- sortOrder = hasCompare ?
- function (a, b) {
-
- // Flag for duplicate removal
- if (a === b) {
- hasDuplicate = true;
- return 0;
- }
-
- // Sort on method existence if only one input has compareDocumentPosition
- var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;
- if (compare) {
- return compare;
- }
-
- // Calculate position if both inputs belong to the same document
- compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?
- a.compareDocumentPosition(b) :
-
- // Otherwise we know they are disconnected
- 1;
-
- // Disconnected nodes
- if (compare & 1 ||
- (!support.sortDetached && b.compareDocumentPosition(a) === compare)) {
-
- // Choose the first element that is related to our preferred document
- if (a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a)) {
- return -1;
- }
- if (b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b)) {
- return 1;
- }
-
- // Maintain original order
- return sortInput ?
- ( indexOf(sortInput, a) - indexOf(sortInput, b) ) :
- 0;
- }
-
- return compare & 4 ? -1 : 1;
- } :
- function (a, b) {
- // Exit early if the nodes are identical
- if (a === b) {
- hasDuplicate = true;
- return 0;
- }
-
- var cur,
- i = 0,
- aup = a.parentNode,
- bup = b.parentNode,
- ap = [a],
- bp = [b];
-
- // Parentless nodes are either documents or disconnected
- if (!aup || !bup) {
- return a === doc ? -1 :
- b === doc ? 1 :
- aup ? -1 :
- bup ? 1 :
- sortInput ?
- ( indexOf(sortInput, a) - indexOf(sortInput, b) ) :
- 0;
-
- // If the nodes are siblings, we can do a quick check
- } else if (aup === bup) {
- return siblingCheck(a, b);
- }
-
- // Otherwise we need full lists of their ancestors for comparison
- cur = a;
- while ((cur = cur.parentNode)) {
- ap.unshift(cur);
- }
- cur = b;
- while ((cur = cur.parentNode)) {
- bp.unshift(cur);
- }
-
- // Walk down the tree looking for a discrepancy
- while (ap[i] === bp[i]) {
- i++;
- }
-
- return i ?
- // Do a sibling check if the nodes have a common ancestor
- siblingCheck(ap[i], bp[i]) :
-
- // Otherwise nodes in our document sort first
- ap[i] === preferredDoc ? -1 :
- bp[i] === preferredDoc ? 1 :
- 0;
- };
-
- return doc;
- };
-
- Sizzle.matches = function (expr, elements) {
- return Sizzle(expr, null, null, elements);
- };
-
- Sizzle.matchesSelector = function (elem, expr) {
- // Set document vars if needed
- if (( elem.ownerDocument || elem ) !== document) {
- setDocument(elem);
- }
-
- // Make sure that attribute selectors are quoted
- expr = expr.replace(rattributeQuotes, "='$1']");
-
- if (support.matchesSelector && documentIsHTML &&
- ( !rbuggyMatches || !rbuggyMatches.test(expr) ) &&
- ( !rbuggyQSA || !rbuggyQSA.test(expr) )) {
-
- try {
- var ret = matches.call(elem, expr);
-
- // IE 9's matchesSelector returns false on disconnected nodes
- if (ret || support.disconnectedMatch ||
- // As well, disconnected nodes are said to be in a document
- // fragment in IE 9
- elem.document && elem.document.nodeType !== 11) {
- return ret;
- }
- } catch (e) {
- }
- }
-
- return Sizzle(expr, document, null, [elem]).length > 0;
- };
-
- Sizzle.contains = function (context, elem) {
- // Set document vars if needed
- if (( context.ownerDocument || context ) !== document) {
- setDocument(context);
- }
- return contains(context, elem);
- };
-
- Sizzle.attr = function (elem, name) {
- // Set document vars if needed
- if (( elem.ownerDocument || elem ) !== document) {
- setDocument(elem);
- }
-
- var fn = Expr.attrHandle[name.toLowerCase()],
- // Don't get fooled by Object.prototype properties (jQuery #13807)
- val = fn && hasOwn.call(Expr.attrHandle, name.toLowerCase()) ?
- fn(elem, name, !documentIsHTML) :
- undefined;
-
- return val !== undefined ?
- val :
- support.attributes || !documentIsHTML ?
- elem.getAttribute(name) :
- (val = elem.getAttributeNode(name)) && val.specified ?
- val.value :
- null;
- };
-
- Sizzle.error = function (msg) {
- throw new Error("Syntax error, unrecognized expression: " + msg);
- };
-
- /**
- * Document sorting and removing duplicates
- * @param {ArrayLike} results
- */
- Sizzle.uniqueSort = function (results) {
- var elem,
- duplicates = [],
- j = 0,
- i = 0;
-
- // Unless we *know* we can detect duplicates, assume their presence
- hasDuplicate = !support.detectDuplicates;
- sortInput = !support.sortStable && results.slice(0);
- results.sort(sortOrder);
-
- if (hasDuplicate) {
- while ((elem = results[i++])) {
- if (elem === results[i]) {
- j = duplicates.push(i);
- }
- }
- while (j--) {
- results.splice(duplicates[j], 1);
- }
- }
-
- // Clear input after sorting to release objects
- // See https://github.com/jquery/sizzle/pull/225
- sortInput = null;
-
- return results;
- };
-
- /**
- * Utility function for retrieving the text value of an array of DOM nodes
- * @param {Array|Element} elem
- */
- getText = Sizzle.getText = function (elem) {
- var node,
- ret = "",
- i = 0,
- nodeType = elem.nodeType;
-
- if (!nodeType) {
- // If no nodeType, this is expected to be an array
- while ((node = elem[i++])) {
- // Do not traverse comment nodes
- ret += getText(node);
- }
- } else if (nodeType === 1 || nodeType === 9 || nodeType === 11) {
- // Use textContent for elements
- // innerText usage removed for consistency of new lines (jQuery #11153)
- if (typeof elem.textContent === "string") {
- return elem.textContent;
- } else {
- // Traverse its children
- for (elem = elem.firstChild; elem; elem = elem.nextSibling) {
- ret += getText(elem);
- }
- }
- } else if (nodeType === 3 || nodeType === 4) {
- return elem.nodeValue;
- }
- // Do not include comment or processing instruction nodes
-
- return ret;
- };
-
- Expr = Sizzle.selectors = {
-
- // Can be adjusted by the user
- cacheLength: 50,
-
- createPseudo: markFunction,
-
- match: matchExpr,
-
- attrHandle: {},
-
- find: {},
-
- relative: {
- ">": {dir: "parentNode", first: true},
- " ": {dir: "parentNode"},
- "+": {dir: "previousSibling", first: true},
- "~": {dir: "previousSibling"}
- },
-
- preFilter: {
- "ATTR": function (match) {
- match[1] = match[1].replace(runescape, funescape);
-
- // Move the given value to match[3] whether quoted or unquoted
- match[3] = ( match[3] || match[4] || match[5] || "" ).replace(runescape, funescape);
-
- if (match[2] === "~=") {
- match[3] = " " + match[3] + " ";
- }
-
- return match.slice(0, 4);
- },
-
- "CHILD": function (match) {
- /* matches from matchExpr["CHILD"]
- 1 type (only|nth|...)
- 2 what (child|of-type)
- 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
- 4 xn-component of xn+y argument ([+-]?\d*n|)
- 5 sign of xn-component
- 6 x of xn-component
- 7 sign of y-component
- 8 y of y-component
- */
- match[1] = match[1].toLowerCase();
-
- if (match[1].slice(0, 3) === "nth") {
- // nth-* requires argument
- if (!match[3]) {
- Sizzle.error(match[0]);
- }
-
- // numeric x and y parameters for Expr.filter.CHILD
- // remember that false/true cast respectively to 0/1
- match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) );
- match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" );
-
- // other types prohibit arguments
- } else if (match[3]) {
- Sizzle.error(match[0]);
- }
-
- return match;
- },
-
- "PSEUDO": function (match) {
- var excess,
- unquoted = !match[6] && match[2];
-
- if (matchExpr["CHILD"].test(match[0])) {
- return null;
- }
-
- // Accept quoted arguments as-is
- if (match[3]) {
- match[2] = match[4] || match[5] || "";
-
- // Strip excess characters from unquoted arguments
- } else if (unquoted && rpseudo.test(unquoted) &&
- // Get excess from tokenize (recursively)
- (excess = tokenize(unquoted, true)) &&
- // advance to the next closing parenthesis
- (excess = unquoted.indexOf(")", unquoted.length - excess) - unquoted.length)) {
-
- // excess is a negative index
- match[0] = match[0].slice(0, excess);
- match[2] = unquoted.slice(0, excess);
- }
-
- // Return only captures needed by the pseudo filter method (type and argument)
- return match.slice(0, 3);
- }
- },
-
- filter: {
-
- "TAG": function (nodeNameSelector) {
- var nodeName = nodeNameSelector.replace(runescape, funescape).toLowerCase();
- return nodeNameSelector === "*" ?
- function () {
- return true;
- } :
- function (elem) {
- return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
- };
- },
-
- "CLASS": function (className) {
- var pattern = classCache[className + " "];
-
- return pattern ||
- (pattern = new RegExp("(^|" + whitespace + ")" + className + "(" + whitespace + "|$)")) &&
- classCache(className, function (elem) {
- return pattern.test(typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "");
- });
- },
-
- "ATTR": function (name, operator, check) {
- return function (elem) {
- var result = Sizzle.attr(elem, name);
-
- if (result == null) {
- return operator === "!=";
- }
- if (!operator) {
- return true;
- }
-
- result += "";
-
- return operator === "=" ? result === check :
- operator === "!=" ? result !== check :
- operator === "^=" ? check && result.indexOf(check) === 0 :
- operator === "*=" ? check && result.indexOf(check) > -1 :
- operator === "$=" ? check && result.slice(-check.length) === check :
- operator === "~=" ? ( " " + result.replace(rwhitespace, " ") + " " ).indexOf(check) > -1 :
- operator === "|=" ? result === check || result.slice(0, check.length + 1) === check + "-" :
- false;
- };
- },
-
- "CHILD": function (type, what, argument, first, last) {
- var simple = type.slice(0, 3) !== "nth",
- forward = type.slice(-4) !== "last",
- ofType = what === "of-type";
-
- return first === 1 && last === 0 ?
-
- // Shortcut for :nth-*(n)
- function (elem) {
- return !!elem.parentNode;
- } :
-
- function (elem, context, xml) {
- var cache, outerCache, node, diff, nodeIndex, start,
- dir = simple !== forward ? "nextSibling" : "previousSibling",
- parent = elem.parentNode,
- name = ofType && elem.nodeName.toLowerCase(),
- useCache = !xml && !ofType;
-
- if (parent) {
-
- // :(first|last|only)-(child|of-type)
- if (simple) {
- while (dir) {
- node = elem;
- while ((node = node[dir])) {
- if (ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1) {
- return false;
- }
- }
- // Reverse direction for :only-* (if we haven't yet done so)
- start = dir = type === "only" && !start && "nextSibling";
- }
- return true;
- }
-
- start = [forward ? parent.firstChild : parent.lastChild];
-
- // non-xml :nth-child(...) stores cache data on `parent`
- if (forward && useCache) {
- // Seek `elem` from a previously-cached index
- outerCache = parent[expando] || (parent[expando] = {});
- cache = outerCache[type] || [];
- nodeIndex = cache[0] === dirruns && cache[1];
- diff = cache[0] === dirruns && cache[2];
- node = nodeIndex && parent.childNodes[nodeIndex];
-
- while ((node = ++nodeIndex && node && node[dir] ||
-
- // Fallback to seeking `elem` from the start
- (diff = nodeIndex = 0) || start.pop())) {
-
- // When found, cache indexes on `parent` and break
- if (node.nodeType === 1 && ++diff && node === elem) {
- outerCache[type] = [dirruns, nodeIndex, diff];
- break;
- }
- }
-
- // Use previously-cached element index if available
- } else if (useCache && (cache = (elem[expando] || (elem[expando] = {}))[type]) && cache[0] === dirruns) {
- diff = cache[1];
-
- // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)
- } else {
- // Use the same loop as above to seek `elem` from the start
- while ((node = ++nodeIndex && node && node[dir] ||
- (diff = nodeIndex = 0) || start.pop())) {
-
- if (( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff) {
- // Cache the index of each encountered element
- if (useCache) {
- (node[expando] || (node[expando] = {}))[type] = [dirruns, diff];
- }
-
- if (node === elem) {
- break;
- }
- }
- }
- }
-
- // Incorporate the offset, then check against cycle size
- diff -= last;
- return diff === first || ( diff % first === 0 && diff / first >= 0 );
- }
- };
- },
-
- "PSEUDO": function (pseudo, argument) {
- // pseudo-class names are case-insensitive
- // http://www.w3.org/TR/selectors/#pseudo-classes
- // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
- // Remember that setFilters inherits from pseudos
- var args,
- fn = Expr.pseudos[pseudo] || Expr.setFilters[pseudo.toLowerCase()] ||
- Sizzle.error("unsupported pseudo: " + pseudo);
-
- // The user may use createPseudo to indicate that
- // arguments are needed to create the filter function
- // just as Sizzle does
- if (fn[expando]) {
- return fn(argument);
- }
-
- // But maintain support for old signatures
- if (fn.length > 1) {
- args = [pseudo, pseudo, "", argument];
- return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ?
- markFunction(function (seed, matches) {
- var idx,
- matched = fn(seed, argument),
- i = matched.length;
- while (i--) {
- idx = indexOf(seed, matched[i]);
- seed[idx] = !( matches[idx] = matched[i] );
- }
- }) :
- function (elem) {
- return fn(elem, 0, args);
- };
- }
-
- return fn;
- }
- },
-
- pseudos: {
- // Potentially complex pseudos
- "not": markFunction(function (selector) {
- // Trim the selector passed to compile
- // to avoid treating leading and trailing
- // spaces as combinators
- var input = [],
- results = [],
- matcher = compile(selector.replace(rtrim, "$1"));
-
- return matcher[expando] ?
- markFunction(function (seed, matches, context, xml) {
- var elem,
- unmatched = matcher(seed, null, xml, []),
- i = seed.length;
-
- // Match elements unmatched by `matcher`
- while (i--) {
- if ((elem = unmatched[i])) {
- seed[i] = !(matches[i] = elem);
- }
- }
- }) :
- function (elem, context, xml) {
- input[0] = elem;
- matcher(input, null, xml, results);
- // Don't keep the element (issue #299)
- input[0] = null;
- return !results.pop();
- };
- }),
-
- "has": markFunction(function (selector) {
- return function (elem) {
- return Sizzle(selector, elem).length > 0;
- };
- }),
-
- "contains": markFunction(function (text) {
- text = text.replace(runescape, funescape);
- return function (elem) {
- return ( elem.textContent || elem.innerText || getText(elem) ).indexOf(text) > -1;
- };
- }),
-
- // "Whether an element is represented by a :lang() selector
- // is based solely on the element's language value
- // being equal to the identifier C,
- // or beginning with the identifier C immediately followed by "-".
- // The matching of C against the element's language value is performed case-insensitively.
- // The identifier C does not have to be a valid language name."
- // http://www.w3.org/TR/selectors/#lang-pseudo
- "lang": markFunction(function (lang) {
- // lang value must be a valid identifier
- if (!ridentifier.test(lang || "")) {
- Sizzle.error("unsupported lang: " + lang);
- }
- lang = lang.replace(runescape, funescape).toLowerCase();
- return function (elem) {
- var elemLang;
- do {
- if ((elemLang = documentIsHTML ?
- elem.lang :
- elem.getAttribute("xml:lang") || elem.getAttribute("lang"))) {
-
- elemLang = elemLang.toLowerCase();
- return elemLang === lang || elemLang.indexOf(lang + "-") === 0;
- }
- } while ((elem = elem.parentNode) && elem.nodeType === 1);
- return false;
- };
- }),
-
- // Miscellaneous
- "target": function (elem) {
- var hash = window.location && window.location.hash;
- return hash && hash.slice(1) === elem.id;
- },
-
- "root": function (elem) {
- return elem === docElem;
- },
-
- "focus": function (elem) {
- return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);
- },
-
- // Boolean properties
- "enabled": function (elem) {
- return elem.disabled === false;
- },
-
- "disabled": function (elem) {
- return elem.disabled === true;
- },
-
- "checked": function (elem) {
- // In CSS3, :checked should return both checked and selected elements
- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
- var nodeName = elem.nodeName.toLowerCase();
- return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);
- },
-
- "selected": function (elem) {
- // Accessing this property makes selected-by-default
- // options in Safari work properly
- if (elem.parentNode) {
- elem.parentNode.selectedIndex;
- }
-
- return elem.selected === true;
- },
-
- // Contents
- "empty": function (elem) {
- // http://www.w3.org/TR/selectors/#empty-pseudo
- // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
- // but not by others (comment: 8; processing instruction: 7; etc.)
- // nodeType < 6 works because attributes (2) do not appear as children
- for (elem = elem.firstChild; elem; elem = elem.nextSibling) {
- if (elem.nodeType < 6) {
- return false;
- }
- }
- return true;
- },
-
- "parent": function (elem) {
- return !Expr.pseudos["empty"](elem);
- },
-
- // Element/input types
- "header": function (elem) {
- return rheader.test(elem.nodeName);
- },
-
- "input": function (elem) {
- return rinputs.test(elem.nodeName);
- },
-
- "button": function (elem) {
- var name = elem.nodeName.toLowerCase();
- return name === "input" && elem.type === "button" || name === "button";
- },
-
- "text": function (elem) {
- var attr;
- return elem.nodeName.toLowerCase() === "input" &&
- elem.type === "text" &&
-
- // Support: IE<8
- // New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
- ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" );
- },
-
- // Position-in-collection
- "first": createPositionalPseudo(function () {
- return [0];
- }),
-
- "last": createPositionalPseudo(function (matchIndexes, length) {
- return [length - 1];
- }),
-
- "eq": createPositionalPseudo(function (matchIndexes, length, argument) {
- return [argument < 0 ? argument + length : argument];
- }),
-
- "even": createPositionalPseudo(function (matchIndexes, length) {
- var i = 0;
- for (; i < length; i += 2) {
- matchIndexes.push(i);
- }
- return matchIndexes;
- }),
-
- "odd": createPositionalPseudo(function (matchIndexes, length) {
- var i = 1;
- for (; i < length; i += 2) {
- matchIndexes.push(i);
- }
- return matchIndexes;
- }),
-
- "lt": createPositionalPseudo(function (matchIndexes, length, argument) {
- var i = argument < 0 ? argument + length : argument;
- for (; --i >= 0;) {
- matchIndexes.push(i);
- }
- return matchIndexes;
- }),
-
- "gt": createPositionalPseudo(function (matchIndexes, length, argument) {
- var i = argument < 0 ? argument + length : argument;
- for (; ++i < length;) {
- matchIndexes.push(i);
- }
- return matchIndexes;
- })
- }
- };
-
- Expr.pseudos["nth"] = Expr.pseudos["eq"];
-
-// Add button/input type pseudos
- for (i in {radio: true, checkbox: true, file: true, password: true, image: true}) {
- Expr.pseudos[i] = createInputPseudo(i);
- }
- for (i in {submit: true, reset: true}) {
- Expr.pseudos[i] = createButtonPseudo(i);
- }
-
-// Easy API for creating new setFilters
- function setFilters() {
- }
-
- setFilters.prototype = Expr.filters = Expr.pseudos;
- Expr.setFilters = new setFilters();
-
- tokenize = Sizzle.tokenize = function (selector, parseOnly) {
- var matched, match, tokens, type,
- soFar, groups, preFilters,
- cached = tokenCache[selector + " "];
-
- if (cached) {
- return parseOnly ? 0 : cached.slice(0);
- }
-
- soFar = selector;
- groups = [];
- preFilters = Expr.preFilter;
-
- while (soFar) {
-
- // Comma and first run
- if (!matched || (match = rcomma.exec(soFar))) {
- if (match) {
- // Don't consume trailing commas as valid
- soFar = soFar.slice(match[0].length) || soFar;
- }
- groups.push((tokens = []));
- }
-
- matched = false;
-
- // Combinators
- if ((match = rcombinators.exec(soFar))) {
- matched = match.shift();
- tokens.push({
- value: matched,
- // Cast descendant combinators to space
- type: match[0].replace(rtrim, " ")
- });
- soFar = soFar.slice(matched.length);
- }
-
- // Filters
- for (type in Expr.filter) {
- if ((match = matchExpr[type].exec(soFar)) && (!preFilters[type] ||
- (match = preFilters[type](match)))) {
- matched = match.shift();
- tokens.push({
- value: matched,
- type: type,
- matches: match
- });
- soFar = soFar.slice(matched.length);
- }
- }
-
- if (!matched) {
- break;
- }
- }
-
- // Return the length of the invalid excess
- // if we're just parsing
- // Otherwise, throw an error or return tokens
- return parseOnly ?
- soFar.length :
- soFar ?
- Sizzle.error(selector) :
- // Cache the tokens
- tokenCache(selector, groups).slice(0);
- };
-
- function toSelector(tokens) {
- var i = 0,
- len = tokens.length,
- selector = "";
- for (; i < len; i++) {
- selector += tokens[i].value;
- }
- return selector;
- }
-
- function addCombinator(matcher, combinator, base) {
- var dir = combinator.dir,
- checkNonElements = base && dir === "parentNode",
- doneName = done++;
-
- return combinator.first ?
- // Check against closest ancestor/preceding element
- function (elem, context, xml) {
- while ((elem = elem[dir])) {
- if (elem.nodeType === 1 || checkNonElements) {
- return matcher(elem, context, xml);
- }
- }
- } :
-
- // Check against all ancestor/preceding elements
- function (elem, context, xml) {
- var oldCache, outerCache,
- newCache = [dirruns, doneName];
-
- // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching
- if (xml) {
- while ((elem = elem[dir])) {
- if (elem.nodeType === 1 || checkNonElements) {
- if (matcher(elem, context, xml)) {
- return true;
- }
- }
- }
- } else {
- while ((elem = elem[dir])) {
- if (elem.nodeType === 1 || checkNonElements) {
- outerCache = elem[expando] || (elem[expando] = {});
- if ((oldCache = outerCache[dir]) &&
- oldCache[0] === dirruns && oldCache[1] === doneName) {
-
- // Assign to newCache so results back-propagate to previous elements
- return (newCache[2] = oldCache[2]);
- } else {
- // Reuse newcache so results back-propagate to previous elements
- outerCache[dir] = newCache;
-
- // A match means we're done; a fail means we have to keep checking
- if ((newCache[2] = matcher(elem, context, xml))) {
- return true;
- }
- }
- }
- }
- }
- };
- }
-
- function elementMatcher(matchers) {
- return matchers.length > 1 ?
- function (elem, context, xml) {
- var i = matchers.length;
- while (i--) {
- if (!matchers[i](elem, context, xml)) {
- return false;
- }
- }
- return true;
- } :
- matchers[0];
- }
-
- function multipleContexts(selector, contexts, results) {
- var i = 0,
- len = contexts.length;
- for (; i < len; i++) {
- Sizzle(selector, contexts[i], results);
- }
- return results;
- }
-
- function condense(unmatched, map, filter, context, xml) {
- var elem,
- newUnmatched = [],
- i = 0,
- len = unmatched.length,
- mapped = map != null;
-
- for (; i < len; i++) {
- if ((elem = unmatched[i])) {
- if (!filter || filter(elem, context, xml)) {
- newUnmatched.push(elem);
- if (mapped) {
- map.push(i);
- }
- }
- }
- }
-
- return newUnmatched;
- }
-
- function setMatcher(preFilter, selector, matcher, postFilter, postFinder, postSelector) {
- if (postFilter && !postFilter[expando]) {
- postFilter = setMatcher(postFilter);
- }
- if (postFinder && !postFinder[expando]) {
- postFinder = setMatcher(postFinder, postSelector);
- }
- return markFunction(function (seed, results, context, xml) {
- var temp, i, elem,
- preMap = [],
- postMap = [],
- preexisting = results.length,
-
- // Get initial elements from seed or context
- elems = seed || multipleContexts(selector || "*", context.nodeType ? [context] : context, []),
-
- // Prefilter to get matcher input, preserving a map for seed-results synchronization
- matcherIn = preFilter && ( seed || !selector ) ?
- condense(elems, preMap, preFilter, context, xml) :
- elems,
-
- matcherOut = matcher ?
- // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
- postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
-
- // ...intermediate processing is necessary
- [] :
-
- // ...otherwise use results directly
- results :
- matcherIn;
-
- // Find primary matches
- if (matcher) {
- matcher(matcherIn, matcherOut, context, xml);
- }
-
- // Apply postFilter
- if (postFilter) {
- temp = condense(matcherOut, postMap);
- postFilter(temp, [], context, xml);
-
- // Un-match failing elements by moving them back to matcherIn
- i = temp.length;
- while (i--) {
- if ((elem = temp[i])) {
- matcherOut[postMap[i]] = !(matcherIn[postMap[i]] = elem);
- }
- }
- }
-
- if (seed) {
- if (postFinder || preFilter) {
- if (postFinder) {
- // Get the final matcherOut by condensing this intermediate into postFinder contexts
- temp = [];
- i = matcherOut.length;
- while (i--) {
- if ((elem = matcherOut[i])) {
- // Restore matcherIn since elem is not yet a final match
- temp.push((matcherIn[i] = elem));
- }
- }
- postFinder(null, (matcherOut = []), temp, xml);
- }
-
- // Move matched elements from seed to results to keep them synchronized
- i = matcherOut.length;
- while (i--) {
- if ((elem = matcherOut[i]) &&
- (temp = postFinder ? indexOf(seed, elem) : preMap[i]) > -1) {
-
- seed[temp] = !(results[temp] = elem);
- }
- }
- }
-
- // Add elements to results, through postFinder if defined
- } else {
- matcherOut = condense(
- matcherOut === results ?
- matcherOut.splice(preexisting, matcherOut.length) :
- matcherOut
- );
- if (postFinder) {
- postFinder(null, results, matcherOut, xml);
- } else {
- push.apply(results, matcherOut);
- }
- }
- });
- }
-
- function matcherFromTokens(tokens) {
- var checkContext, matcher, j,
- len = tokens.length,
- leadingRelative = Expr.relative[tokens[0].type],
- implicitRelative = leadingRelative || Expr.relative[" "],
- i = leadingRelative ? 1 : 0,
-
- // The foundational matcher ensures that elements are reachable from top-level context(s)
- matchContext = addCombinator(function (elem) {
- return elem === checkContext;
- }, implicitRelative, true),
- matchAnyContext = addCombinator(function (elem) {
- return indexOf(checkContext, elem) > -1;
- }, implicitRelative, true),
- matchers = [function (elem, context, xml) {
- var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
- (checkContext = context).nodeType ?
- matchContext(elem, context, xml) :
- matchAnyContext(elem, context, xml) );
- // Avoid hanging onto element (issue #299)
- checkContext = null;
- return ret;
- }];
-
- for (; i < len; i++) {
- if ((matcher = Expr.relative[tokens[i].type])) {
- matchers = [addCombinator(elementMatcher(matchers), matcher)];
- } else {
- matcher = Expr.filter[tokens[i].type].apply(null, tokens[i].matches);
-
- // Return special upon seeing a positional matcher
- if (matcher[expando]) {
- // Find the next relative operator (if any) for proper handling
- j = ++i;
- for (; j < len; j++) {
- if (Expr.relative[tokens[j].type]) {
- break;
- }
- }
- return setMatcher(
- i > 1 && elementMatcher(matchers),
- i > 1 && toSelector(
- // If the preceding token was a descendant combinator, insert an implicit any-element `*`
- tokens.slice(0, i - 1).concat({value: tokens[i - 2].type === " " ? "*" : ""})
- ).replace(rtrim, "$1"),
- matcher,
- i < j && matcherFromTokens(tokens.slice(i, j)),
- j < len && matcherFromTokens((tokens = tokens.slice(j))),
- j < len && toSelector(tokens)
- );
- }
- matchers.push(matcher);
- }
- }
-
- return elementMatcher(matchers);
- }
-
- function matcherFromGroupMatchers(elementMatchers, setMatchers) {
- var bySet = setMatchers.length > 0,
- byElement = elementMatchers.length > 0,
- superMatcher = function (seed, context, xml, results, outermost) {
- var elem, j, matcher,
- matchedCount = 0,
- i = "0",
- unmatched = seed && [],
- setMatched = [],
- contextBackup = outermostContext,
- // We must always have either seed elements or outermost context
- elems = seed || byElement && Expr.find["TAG"]("*", outermost),
- // Use integer dirruns iff this is the outermost matcher
- dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),
- len = elems.length;
-
- if (outermost) {
- outermostContext = context !== document && context;
- }
-
- // Add elements passing elementMatchers directly to results
- // Keep `i` a string if there are no elements so `matchedCount` will be "00" below
- // Support: IE<9, Safari
- // Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id
- for (; i !== len && (elem = elems[i]) != null; i++) {
- if (byElement && elem) {
- j = 0;
- while ((matcher = elementMatchers[j++])) {
- if (matcher(elem, context, xml)) {
- results.push(elem);
- break;
- }
- }
- if (outermost) {
- dirruns = dirrunsUnique;
- }
- }
-
- // Track unmatched elements for set filters
- if (bySet) {
- // They will have gone through all possible matchers
- if ((elem = !matcher && elem)) {
- matchedCount--;
- }
-
- // Lengthen the array for every element, matched or not
- if (seed) {
- unmatched.push(elem);
- }
- }
- }
-
- // Apply set filters to unmatched elements
- matchedCount += i;
- if (bySet && i !== matchedCount) {
- j = 0;
- while ((matcher = setMatchers[j++])) {
- matcher(unmatched, setMatched, context, xml);
- }
-
- if (seed) {
- // Reintegrate element matches to eliminate the need for sorting
- if (matchedCount > 0) {
- while (i--) {
- if (!(unmatched[i] || setMatched[i])) {
- setMatched[i] = pop.call(results);
- }
- }
- }
-
- // Discard index placeholder values to get only actual matches
- setMatched = condense(setMatched);
- }
-
- // Add matches to results
- push.apply(results, setMatched);
-
- // Seedless set matches succeeding multiple successful matchers stipulate sorting
- if (outermost && !seed && setMatched.length > 0 &&
- ( matchedCount + setMatchers.length ) > 1) {
-
- Sizzle.uniqueSort(results);
- }
- }
-
- // Override manipulation of globals by nested matchers
- if (outermost) {
- dirruns = dirrunsUnique;
- outermostContext = contextBackup;
- }
-
- return unmatched;
- };
-
- return bySet ?
- markFunction(superMatcher) :
- superMatcher;
- }
-
- compile = Sizzle.compile = function (selector, match /* Internal Use Only */) {
- var i,
- setMatchers = [],
- elementMatchers = [],
- cached = compilerCache[selector + " "];
-
- if (!cached) {
- // Generate a function of recursive functions that can be used to check each element
- if (!match) {
- match = tokenize(selector);
- }
- i = match.length;
- while (i--) {
- cached = matcherFromTokens(match[i]);
- if (cached[expando]) {
- setMatchers.push(cached);
- } else {
- elementMatchers.push(cached);
- }
- }
-
- // Cache the compiled function
- cached = compilerCache(selector, matcherFromGroupMatchers(elementMatchers, setMatchers));
-
- // Save selector and tokenization
- cached.selector = selector;
- }
- return cached;
- };
-
- /**
- * A low-level selection function that works with Sizzle's compiled
- * selector functions
- * @param {String|Function} selector A selector or a pre-compiled
- * selector function built with Sizzle.compile
- * @param {Element} context
- * @param {Array} [results]
- * @param {Array} [seed] A set of elements to match against
- */
- select = Sizzle.select = function (selector, context, results, seed) {
- var i, tokens, token, type, find,
- compiled = typeof selector === "function" && selector,
- match = !seed && tokenize((selector = compiled.selector || selector));
-
- results = results || [];
-
- // Try to minimize operations if there is no seed and only one group
- if (match.length === 1) {
-
- // Take a shortcut and set the context if the root selector is an ID
- tokens = match[0] = match[0].slice(0);
- if (tokens.length > 2 && (token = tokens[0]).type === "ID" &&
- support.getById && context.nodeType === 9 && documentIsHTML &&
- Expr.relative[tokens[1].type]) {
-
- context = ( Expr.find["ID"](token.matches[0].replace(runescape, funescape), context) || [] )[0];
- if (!context) {
- return results;
-
- // Precompiled matchers will still verify ancestry, so step up a level
- } else if (compiled) {
- context = context.parentNode;
- }
-
- selector = selector.slice(tokens.shift().value.length);
- }
-
- // Fetch a seed set for right-to-left matching
- i = matchExpr["needsContext"].test(selector) ? 0 : tokens.length;
- while (i--) {
- token = tokens[i];
-
- // Abort if we hit a combinator
- if (Expr.relative[(type = token.type)]) {
- break;
- }
- if ((find = Expr.find[type])) {
- // Search, expanding context for leading sibling combinators
- if ((seed = find(
- token.matches[0].replace(runescape, funescape),
- rsibling.test(tokens[0].type) && testContext(context.parentNode) || context
- ))) {
-
- // If seed is empty or no tokens remain, we can return early
- tokens.splice(i, 1);
- selector = seed.length && toSelector(tokens);
- if (!selector) {
- push.apply(results, seed);
- return results;
- }
-
- break;
- }
- }
- }
- }
-
- // Compile and execute a filtering function if one is not provided
- // Provide `match` to avoid retokenization if we modified the selector above
- ( compiled || compile(selector, match) )(
- seed,
- context,
- !documentIsHTML,
- results,
- rsibling.test(selector) && testContext(context.parentNode) || context
- );
- return results;
- };
-
-// One-time assignments
-
-// Sort stability
- support.sortStable = expando.split("").sort(sortOrder).join("") === expando;
-
-// Support: Chrome 14-35+
-// Always assume duplicates if they aren't passed to the comparison function
- support.detectDuplicates = !!hasDuplicate;
-
-// Initialize against the default document
- setDocument();
-
-// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
-// Detached nodes confoundingly follow *each other*
- support.sortDetached = assert(function (div1) {
- // Should return 1, but returns 4 (following)
- return div1.compareDocumentPosition(document.createElement("div")) & 1;
- });
-
-// Support: IE<8
-// Prevent attribute/property "interpolation"
-// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
- if (!assert(function (div) {
- div.innerHTML = "<a href='#'></a>";
- return div.firstChild.getAttribute("href") === "#";
- })) {
- addHandle("type|href|height|width", function (elem, name, isXML) {
- if (!isXML) {
- return elem.getAttribute(name, name.toLowerCase() === "type" ? 1 : 2);
- }
- });
- }
-
-// Support: IE<9
-// Use defaultValue in place of getAttribute("value")
- if (!support.attributes || !assert(function (div) {
- div.innerHTML = "<input/>";
- div.firstChild.setAttribute("value", "");
- return div.firstChild.getAttribute("value") === "";
- })) {
- addHandle("value", function (elem, name, isXML) {
- if (!isXML && elem.nodeName.toLowerCase() === "input") {
- return elem.defaultValue;
- }
- });
- }
-
-// Support: IE<9
-// Use getAttributeNode to fetch booleans when getAttribute lies
- if (!assert(function (div) {
- return div.getAttribute("disabled") == null;
- })) {
- addHandle(booleans, function (elem, name, isXML) {
- var val;
- if (!isXML) {
- return elem[name] === true ? name.toLowerCase() :
- (val = elem.getAttributeNode(name)) && val.specified ?
- val.value :
- null;
- }
- });
- }
-
- return Sizzle;
-
- })(window);
-
-
- jQuery.find = Sizzle;
- jQuery.expr = Sizzle.selectors;
- jQuery.expr[":"] = jQuery.expr.pseudos;
- jQuery.unique = Sizzle.uniqueSort;
- jQuery.text = Sizzle.getText;
- jQuery.isXMLDoc = Sizzle.isXML;
- jQuery.contains = Sizzle.contains;
-
-
- var rneedsContext = jQuery.expr.match.needsContext;
-
- var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/);
-
-
- var risSimple = /^.[^:#\[\.,]*$/;
-
-// Implement the identical functionality for filter and not
- function winnow(elements, qualifier, not) {
- if (jQuery.isFunction(qualifier)) {
- return jQuery.grep(elements, function (elem, i) {
- /* jshint -W018 */
- return !!qualifier.call(elem, i, elem) !== not;
- });
-
- }
-
- if (qualifier.nodeType) {
- return jQuery.grep(elements, function (elem) {
- return ( elem === qualifier ) !== not;
- });
-
- }
-
- if (typeof qualifier === "string") {
- if (risSimple.test(qualifier)) {
- return jQuery.filter(qualifier, elements, not);
- }
-
- qualifier = jQuery.filter(qualifier, elements);
- }
-
- return jQuery.grep(elements, function (elem) {
- return ( jQuery.inArray(elem, qualifier) >= 0 ) !== not;
- });
- }
-
- jQuery.filter = function (expr, elems, not) {
- var elem = elems[0];
-
- if (not) {
- expr = ":not(" + expr + ")";
- }
-
- return elems.length === 1 && elem.nodeType === 1 ?
- jQuery.find.matchesSelector(elem, expr) ? [elem] : [] :
- jQuery.find.matches(expr, jQuery.grep(elems, function (elem) {
- return elem.nodeType === 1;
- }));
- };
-
- jQuery.fn.extend({
- find: function (selector) {
- var i,
- ret = [],
- self = this,
- len = self.length;
-
- if (typeof selector !== "string") {
- return this.pushStack(jQuery(selector).filter(function () {
- for (i = 0; i < len; i++) {
- if (jQuery.contains(self[i], this)) {
- return true;
- }
- }
- }));
- }
-
- for (i = 0; i < len; i++) {
- jQuery.find(selector, self[i], ret);
- }
-
- // Needed because $( selector, context ) becomes $( context ).find( selector )
- ret = this.pushStack(len > 1 ? jQuery.unique(ret) : ret);
- ret.selector = this.selector ? this.selector + " " + selector : selector;
- return ret;
- },
- filter: function (selector) {
- return this.pushStack(winnow(this, selector || [], false));
- },
- not: function (selector) {
- return this.pushStack(winnow(this, selector || [], true));
- },
- is: function (selector) {
- return !!winnow(
- this,
-
- // If this is a positional/relative selector, check membership in the returned set
- // so $("p:first").is("p:last") won't return true for a doc with two "p".
- typeof selector === "string" && rneedsContext.test(selector) ?
- jQuery(selector) :
- selector || [],
- false
- ).length;
- }
- });
-
-
-// Initialize a jQuery object
-
-
-// A central reference to the root jQuery(document)
- var rootjQuery,
-
- // Use the correct document accordingly with window argument (sandbox)
- document = window.document,
-
- // A simple way to check for HTML strings
- // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
- // Strict HTML recognition (#11290: must start with <)
- rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
-
- init = jQuery.fn.init = function (selector, context) {
- var match, elem;
-
- // HANDLE: $(""), $(null), $(undefined), $(false)
- if (!selector) {
- return this;
- }
-
- // Handle HTML strings
- if (typeof selector === "string") {
- if (selector.charAt(0) === "<" && selector.charAt(selector.length - 1) === ">" && selector.length >= 3) {
- // Assume that strings that start and end with <> are HTML and skip the regex check
- match = [null, selector, null];
-
- } else {
- match = rquickExpr.exec(selector);
- }
-
- // Match html or make sure no context is specified for #id
- if (match && (match[1] || !context)) {
-
- // HANDLE: $(html) -> $(array)
- if (match[1]) {
- context = context instanceof jQuery ? context[0] : context;
-
- // scripts is true for back-compat
- // Intentionally let the error be thrown if parseHTML is not present
- jQuery.merge(this, jQuery.parseHTML(
- match[1],
- context && context.nodeType ? context.ownerDocument || context : document,
- true
- ));
-
- // HANDLE: $(html, props)
- if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) {
- for (match in context) {
- // Properties of context are called as methods if possible
- if (jQuery.isFunction(this[match])) {
- this[match](context[match]);
-
- // ...and otherwise set as attributes
- } else {
- this.attr(match, context[match]);
- }
- }
- }
-
- return this;
-
- // HANDLE: $(#id)
- } else {
- elem = document.getElementById(match[2]);
-
- // Check parentNode to catch when Blackberry 4.6 returns
- // nodes that are no longer in the document #6963
- if (elem && elem.parentNode) {
- // Handle the case where IE and Opera return items
- // by name instead of ID
- if (elem.id !== match[2]) {
- return rootjQuery.find(selector);
- }
-
- // Otherwise, we inject the element directly into the jQuery object
- this.length = 1;
- this[0] = elem;
- }
-
- this.context = document;
- this.selector = selector;
- return this;
- }
-
- // HANDLE: $(expr, $(...))
- } else if (!context || context.jquery) {
- return ( context || rootjQuery ).find(selector);
-
- // HANDLE: $(expr, context)
- // (which is just equivalent to: $(context).find(expr)
- } else {
- return this.constructor(context).find(selector);
- }
-
- // HANDLE: $(DOMElement)
- } else if (selector.nodeType) {
- this.context = this[0] = selector;
- this.length = 1;
- return this;
-
- // HANDLE: $(function)
- // Shortcut for document ready
- } else if (jQuery.isFunction(selector)) {
- return typeof rootjQuery.ready !== "undefined" ?
- rootjQuery.ready(selector) :
- // Execute immediately if ready is not present
- selector(jQuery);
- }
-
- if (selector.selector !== undefined) {
- this.selector = selector.selector;
- this.context = selector.context;
- }
-
- return jQuery.makeArray(selector, this);
- };
-
-// Give the init function the jQuery prototype for later instantiation
- init.prototype = jQuery.fn;
-
-// Initialize central reference
- rootjQuery = jQuery(document);
-
-
- var rparentsprev = /^(?:parents|prev(?:Until|All))/,
- // methods guaranteed to produce a unique set when starting from a unique set
- guaranteedUnique = {
- children: true,
- contents: true,
- next: true,
- prev: true
- };
-
- jQuery.extend({
- dir: function (elem, dir, until) {
- var matched = [],
- cur = elem[dir];
-
- while (cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery(cur).is(until))) {
- if (cur.nodeType === 1) {
- matched.push(cur);
- }
- cur = cur[dir];
- }
- return matched;
- },
-
- sibling: function (n, elem) {
- var r = [];
-
- for (; n; n = n.nextSibling) {
- if (n.nodeType === 1 && n !== elem) {
- r.push(n);
- }
- }
-
- return r;
- }
- });
-
- jQuery.fn.extend({
- has: function (target) {
- var i,
- targets = jQuery(target, this),
- len = targets.length;
-
- return this.filter(function () {
- for (i = 0; i < len; i++) {
- if (jQuery.contains(this, targets[i])) {
- return true;
- }
- }
- });
- },
-
- closest: function (selectors, context) {
- var cur,
- i = 0,
- l = this.length,
- matched = [],
- pos = rneedsContext.test(selectors) || typeof selectors !== "string" ?
- jQuery(selectors, context || this.context) :
- 0;
-
- for (; i < l; i++) {
- for (cur = this[i]; cur && cur !== context; cur = cur.parentNode) {
- // Always skip document fragments
- if (cur.nodeType < 11 && (pos ?
- pos.index(cur) > -1 :
-
- // Don't pass non-elements to Sizzle
- cur.nodeType === 1 &&
- jQuery.find.matchesSelector(cur, selectors))) {
-
- matched.push(cur);
- break;
- }
- }
- }
-
- return this.pushStack(matched.length > 1 ? jQuery.unique(matched) : matched);
- },
-
- // Determine the position of an element within
- // the matched set of elements
- index: function (elem) {
-
- // No argument, return index in parent
- if (!elem) {
- return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1;
- }
-
- // index in selector
- if (typeof elem === "string") {
- return jQuery.inArray(this[0], jQuery(elem));
- }
-
- // Locate the position of the desired element
- return jQuery.inArray(
- // If it receives a jQuery object, the first element is used
- elem.jquery ? elem[0] : elem, this);
- },
-
- add: function (selector, context) {
- return this.pushStack(
- jQuery.unique(
- jQuery.merge(this.get(), jQuery(selector, context))
- )
- );
- },
-
- addBack: function (selector) {
- return this.add(selector == null ?
- this.prevObject : this.prevObject.filter(selector)
- );
- }
- });
-
- function sibling(cur, dir) {
- do {
- cur = cur[dir];
- } while (cur && cur.nodeType !== 1);
-
- return cur;
- }
-
- jQuery.each({
- parent: function (elem) {
- var parent = elem.parentNode;
- return parent && parent.nodeType !== 11 ? parent : null;
- },
- parents: function (elem) {
- return jQuery.dir(elem, "parentNode");
- },
- parentsUntil: function (elem, i, until) {
- return jQuery.dir(elem, "parentNode", until);
- },
- next: function (elem) {
- return sibling(elem, "nextSibling");
- },
- prev: function (elem) {
- return sibling(elem, "previousSibling");
- },
- nextAll: function (elem) {
- return jQuery.dir(elem, "nextSibling");
- },
- prevAll: function (elem) {
- return jQuery.dir(elem, "previousSibling");
- },
- nextUntil: function (elem, i, until) {
- return jQuery.dir(elem, "nextSibling", until);
- },
- prevUntil: function (elem, i, until) {
- return jQuery.dir(elem, "previousSibling", until);
- },
- siblings: function (elem) {
- return jQuery.sibling(( elem.parentNode || {} ).firstChild, elem);
- },
- children: function (elem) {
- return jQuery.sibling(elem.firstChild);
- },
- contents: function (elem) {
- return jQuery.nodeName(elem, "iframe") ?
- elem.contentDocument || elem.contentWindow.document :
- jQuery.merge([], elem.childNodes);
- }
- }, function (name, fn) {
- jQuery.fn[name] = function (until, selector) {
- var ret = jQuery.map(this, fn, until);
-
- if (name.slice(-5) !== "Until") {
- selector = until;
- }
-
- if (selector && typeof selector === "string") {
- ret = jQuery.filter(selector, ret);
- }
-
- if (this.length > 1) {
- // Remove duplicates
- if (!guaranteedUnique[name]) {
- ret = jQuery.unique(ret);
- }
-
- // Reverse order for parents* and prev-derivatives
- if (rparentsprev.test(name)) {
- ret = ret.reverse();
- }
- }
-
- return this.pushStack(ret);
- };
- });
- var rnotwhite = (/\S+/g);
-
-
-// String to Object options format cache
- var optionsCache = {};
-
-// Convert String-formatted options into Object-formatted ones and store in cache
- function createOptions(options) {
- var object = optionsCache[options] = {};
- jQuery.each(options.match(rnotwhite) || [], function (_, flag) {
- object[flag] = true;
- });
- return object;
- }
-
- /*
- * Create a callback list using the following parameters:
- *
- * options: an optional list of space-separated options that will change how
- * the callback list behaves or a more traditional option object
- *
- * By default a callback list will act like an event callback list and can be
- * "fired" multiple times.
- *
- * Possible options:
- *
- * once: will ensure the callback list can only be fired once (like a Deferred)
- *
- * memory: will keep track of previous values and will call any callback added
- * after the list has been fired right away with the latest "memorized"
- * values (like a Deferred)
- *
- * unique: will ensure a callback can only be added once (no duplicate in the list)
- *
- * stopOnFalse: interrupt callings when a callback returns false
- *
- */
- jQuery.Callbacks = function (options) {
-
- // Convert options from String-formatted to Object-formatted if needed
- // (we check in cache first)
- options = typeof options === "string" ?
- ( optionsCache[options] || createOptions(options) ) :
- jQuery.extend({}, options);
-
- var // Flag to know if list is currently firing
- firing,
- // Last fire value (for non-forgettable lists)
- memory,
- // Flag to know if list was already fired
- fired,
- // End of the loop when firing
- firingLength,
- // Index of currently firing callback (modified by remove if needed)
- firingIndex,
- // First callback to fire (used internally by add and fireWith)
- firingStart,
- // Actual callback list
- list = [],
- // Stack of fire calls for repeatable lists
- stack = !options.once && [],
- // Fire callbacks
- fire = function (data) {
- memory = options.memory && data;
- fired = true;
- firingIndex = firingStart || 0;
- firingStart = 0;
- firingLength = list.length;
- firing = true;
- for (; list && firingIndex < firingLength; firingIndex++) {
- if (list[firingIndex].apply(data[0], data[1]) === false && options.stopOnFalse) {
- memory = false; // To prevent further calls using add
- break;
- }
- }
- firing = false;
- if (list) {
- if (stack) {
- if (stack.length) {
- fire(stack.shift());
- }
- } else if (memory) {
- list = [];
- } else {
- self.disable();
- }
- }
- },
- // Actual Callbacks object
- self = {
- // Add a callback or a collection of callbacks to the list
- add: function () {
- if (list) {
- // First, we save the current length
- var start = list.length;
- (function add(args) {
- jQuery.each(args, function (_, arg) {
- var type = jQuery.type(arg);
- if (type === "function") {
- if (!options.unique || !self.has(arg)) {
- list.push(arg);
- }
- } else if (arg && arg.length && type !== "string") {
- // Inspect recursively
- add(arg);
- }
- });
- })(arguments);
- // Do we need to add the callbacks to the
- // current firing batch?
- if (firing) {
- firingLength = list.length;
- // With memory, if we're not firing then
- // we should call right away
- } else if (memory) {
- firingStart = start;
- fire(memory);
- }
- }
- return this;
- },
- // Remove a callback from the list
- remove: function () {
- if (list) {
- jQuery.each(arguments, function (_, arg) {
- var index;
- while (( index = jQuery.inArray(arg, list, index) ) > -1) {
- list.splice(index, 1);
- // Handle firing indexes
- if (firing) {
- if (index <= firingLength) {
- firingLength--;
- }
- if (index <= firingIndex) {
- firingIndex--;
- }
- }
- }
- });
- }
- return this;
- },
- // Check if a given callback is in the list.
- // If no argument is given, return whether or not list has callbacks attached.
- has: function (fn) {
- return fn ? jQuery.inArray(fn, list) > -1 : !!( list && list.length );
- },
- // Remove all callbacks from the list
- empty: function () {
- list = [];
- firingLength = 0;
- return this;
- },
- // Have the list do nothing anymore
- disable: function () {
- list = stack = memory = undefined;
- return this;
- },
- // Is it disabled?
- disabled: function () {
- return !list;
- },
- // Lock the list in its current state
- lock: function () {
- stack = undefined;
- if (!memory) {
- self.disable();
- }
- return this;
- },
- // Is it locked?
- locked: function () {
- return !stack;
- },
- // Call all callbacks with the given context and arguments
- fireWith: function (context, args) {
- if (list && ( !fired || stack )) {
- args = args || [];
- args = [context, args.slice ? args.slice() : args];
- if (firing) {
- stack.push(args);
- } else {
- fire(args);
- }
- }
- return this;
- },
- // Call all the callbacks with the given arguments
- fire: function () {
- self.fireWith(this, arguments);
- return this;
- },
- // To know if the callbacks have already been called at least once
- fired: function () {
- return !!fired;
- }
- };
-
- return self;
- };
-
-
- jQuery.extend({
-
- Deferred: function (func) {
- var tuples = [
- // action, add listener, listener list, final state
- ["resolve", "done", jQuery.Callbacks("once memory"), "resolved"],
- ["reject", "fail", jQuery.Callbacks("once memory"), "rejected"],
- ["notify", "progress", jQuery.Callbacks("memory")]
- ],
- state = "pending",
- promise = {
- state: function () {
- return state;
- },
- always: function () {
- deferred.done(arguments).fail(arguments);
- return this;
- },
- then: function (/* fnDone, fnFail, fnProgress */) {
- var fns = arguments;
- return jQuery.Deferred(function (newDefer) {
- jQuery.each(tuples, function (i, tuple) {
- var fn = jQuery.isFunction(fns[i]) && fns[i];
- // deferred[ done | fail | progress ] for forwarding actions to newDefer
- deferred[tuple[1]](function () {
- var returned = fn && fn.apply(this, arguments);
- if (returned && jQuery.isFunction(returned.promise)) {
- returned.promise()
- .done(newDefer.resolve)
- .fail(newDefer.reject)
- .progress(newDefer.notify);
- } else {
- newDefer[tuple[0] + "With"](this === promise ? newDefer.promise() : this, fn ? [returned] : arguments);
- }
- });
- });
- fns = null;
- }).promise();
- },
- // Get a promise for this deferred
- // If obj is provided, the promise aspect is added to the object
- promise: function (obj) {
- return obj != null ? jQuery.extend(obj, promise) : promise;
- }
- },
- deferred = {};
-
- // Keep pipe for back-compat
- promise.pipe = promise.then;
-
- // Add list-specific methods
- jQuery.each(tuples, function (i, tuple) {
- var list = tuple[2],
- stateString = tuple[3];
-
- // promise[ done | fail | progress ] = list.add
- promise[tuple[1]] = list.add;
-
- // Handle state
- if (stateString) {
- list.add(function () {
- // state = [ resolved | rejected ]
- state = stateString;
-
- // [ reject_list | resolve_list ].disable; progress_list.lock
- }, tuples[i ^ 1][2].disable, tuples[2][2].lock);
- }
-
- // deferred[ resolve | reject | notify ]
- deferred[tuple[0]] = function () {
- deferred[tuple[0] + "With"](this === deferred ? promise : this, arguments);
- return this;
- };
- deferred[tuple[0] + "With"] = list.fireWith;
- });
-
- // Make the deferred a promise
- promise.promise(deferred);
-
- // Call given func if any
- if (func) {
- func.call(deferred, deferred);
- }
-
- // All done!
- return deferred;
- },
-
- // Deferred helper
- when: function (subordinate /* , ..., subordinateN */) {
- var i = 0,
- resolveValues = slice.call(arguments),
- length = resolveValues.length,
-
- // the count of uncompleted subordinates
- remaining = length !== 1 || ( subordinate && jQuery.isFunction(subordinate.promise) ) ? length : 0,
-
- // the master Deferred. If resolveValues consist of only a single Deferred, just use that.
- deferred = remaining === 1 ? subordinate : jQuery.Deferred(),
-
- // Update function for both resolve and progress values
- updateFunc = function (i, contexts, values) {
- return function (value) {
- contexts[i] = this;
- values[i] = arguments.length > 1 ? slice.call(arguments) : value;
- if (values === progressValues) {
- deferred.notifyWith(contexts, values);
-
- } else if (!(--remaining)) {
- deferred.resolveWith(contexts, values);
- }
- };
- },
-
- progressValues, progressContexts, resolveContexts;
-
- // add listeners to Deferred subordinates; treat others as resolved
- if (length > 1) {
- progressValues = new Array(length);
- progressContexts = new Array(length);
- resolveContexts = new Array(length);
- for (; i < length; i++) {
- if (resolveValues[i] && jQuery.isFunction(resolveValues[i].promise)) {
- resolveValues[i].promise()
- .done(updateFunc(i, resolveContexts, resolveValues))
- .fail(deferred.reject)
- .progress(updateFunc(i, progressContexts, progressValues));
- } else {
- --remaining;
- }
- }
- }
-
- // if we're not waiting on anything, resolve the master
- if (!remaining) {
- deferred.resolveWith(resolveContexts, resolveValues);
- }
-
- return deferred.promise();
- }
- });
-
-
-// The deferred used on DOM ready
- var readyList;
-
- jQuery.fn.ready = function (fn) {
- // Add the callback
- jQuery.ready.promise().done(fn);
-
- return this;
- };
-
- jQuery.extend({
- // Is the DOM ready to be used? Set to true once it occurs.
- isReady: false,
-
- // A counter to track how many items to wait for before
- // the ready event fires. See #6781
- readyWait: 1,
-
- // Hold (or release) the ready event
- holdReady: function (hold) {
- if (hold) {
- jQuery.readyWait++;
- } else {
- jQuery.ready(true);
- }
- },
-
- // Handle when the DOM is ready
- ready: function (wait) {
-
- // Abort if there are pending holds or we're already ready
- if (wait === true ? --jQuery.readyWait : jQuery.isReady) {
- return;
- }
-
- // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
- if (!document.body) {
- return setTimeout(jQuery.ready);
- }
-
- // Remember that the DOM is ready
- jQuery.isReady = true;
-
- // If a normal DOM Ready event fired, decrement, and wait if need be
- if (wait !== true && --jQuery.readyWait > 0) {
- return;
- }
-
- // If there are functions bound, to execute
- readyList.resolveWith(document, [jQuery]);
-
- // Trigger any bound ready events
- if (jQuery.fn.triggerHandler) {
- jQuery(document).triggerHandler("ready");
- jQuery(document).off("ready");
- }
- }
- });
-
- /**
- * Clean-up method for dom ready events
- */
- function detach() {
- if (document.addEventListener) {
- document.removeEventListener("DOMContentLoaded", completed, false);
- window.removeEventListener("load", completed, false);
-
- } else {
- document.detachEvent("onreadystatechange", completed);
- window.detachEvent("onload", completed);
- }
- }
-
- /**
- * The ready event handler and self cleanup method
- */
- function completed() {
- // readyState === "complete" is good enough for us to call the dom ready in oldIE
- if (document.addEventListener || event.type === "load" || document.readyState === "complete") {
- detach();
- jQuery.ready();
- }
- }
-
- jQuery.ready.promise = function (obj) {
- if (!readyList) {
-
- readyList = jQuery.Deferred();
-
- // Catch cases where $(document).ready() is called after the browser event has already occurred.
- // we once tried to use readyState "interactive" here, but it caused issues like the one
- // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15
- if (document.readyState === "complete") {
- // Handle it asynchronously to allow scripts the opportunity to delay ready
- setTimeout(jQuery.ready);
-
- // Standards-based browsers support DOMContentLoaded
- } else if (document.addEventListener) {
- // Use the handy event callback
- document.addEventListener("DOMContentLoaded", completed, false);
-
- // A fallback to window.onload, that will always work
- window.addEventListener("load", completed, false);
-
- // If IE event model is used
- } else {
- // Ensure firing before onload, maybe late but safe also for iframes
- document.attachEvent("onreadystatechange", completed);
-
- // A fallback to window.onload, that will always work
- window.attachEvent("onload", completed);
-
- // If IE and not a frame
- // continually check to see if the document is ready
- var top = false;
-
- try {
- top = window.frameElement == null && document.documentElement;
- } catch (e) {
- }
-
- if (top && top.doScroll) {
- (function doScrollCheck() {
- if (!jQuery.isReady) {
-
- try {
- // Use the trick by Diego Perini
- // http://javascript.nwbox.com/IEContentLoaded/
- top.doScroll("left");
- } catch (e) {
- return setTimeout(doScrollCheck, 50);
- }
-
- // detach all dom ready events
- detach();
-
- // and execute any waiting functions
- jQuery.ready();
- }
- })();
- }
- }
- }
- return readyList.promise(obj);
- };
-
-
- var strundefined = typeof undefined;
-
-
-// Support: IE<9
-// Iteration over object's inherited properties before its own
- var i;
- for (i in jQuery(support)) {
- break;
- }
- support.ownLast = i !== "0";
-
-// Note: most support tests are defined in their respective modules.
-// false until the test is run
- support.inlineBlockNeedsLayout = false;
-
-// Execute ASAP in case we need to set body.style.zoom
- jQuery(function () {
- // Minified: var a,b,c,d
- var val, div, body, container;
-
- body = document.getElementsByTagName("body")[0];
- if (!body || !body.style) {
- // Return for frameset docs that don't have a body
- return;
- }
-
- // Setup
- div = document.createElement("div");
- container = document.createElement("div");
- container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px";
- body.appendChild(container).appendChild(div);
-
- if (typeof div.style.zoom !== strundefined) {
- // Support: IE<8
- // Check if natively block-level elements act like inline-block
- // elements when setting their display to 'inline' and giving
- // them layout
- div.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1";
-
- support.inlineBlockNeedsLayout = val = div.offsetWidth === 3;
- if (val) {
- // Prevent IE 6 from affecting layout for positioned elements #11048
- // Prevent IE from shrinking the body in IE 7 mode #12869
- // Support: IE<8
- body.style.zoom = 1;
- }
- }
-
- body.removeChild(container);
- });
-
-
- (function () {
- var div = document.createElement("div");
-
- // Execute the test only if not already executed in another module.
- if (support.deleteExpando == null) {
- // Support: IE<9
- support.deleteExpando = true;
- try {
- delete div.test;
- } catch (e) {
- support.deleteExpando = false;
- }
- }
-
- // Null elements to avoid leaks in IE.
- div = null;
- })();
-
-
- /**
- * Determines whether an object can have data
- */
- jQuery.acceptData = function (elem) {
- var noData = jQuery.noData[(elem.nodeName + " ").toLowerCase()],
- nodeType = +elem.nodeType || 1;
-
- // Do not set data on non-element DOM nodes because it will not be cleared (#8335).
- return nodeType !== 1 && nodeType !== 9 ?
- false :
-
- // Nodes accept data unless otherwise specified; rejection can be conditional
- !noData || noData !== true && elem.getAttribute("classid") === noData;
- };
-
-
- var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
- rmultiDash = /([A-Z])/g;
-
- function dataAttr(elem, key, data) {
- // If nothing was found internally, try to fetch any
- // data from the HTML5 data-* attribute
- if (data === undefined && elem.nodeType === 1) {
-
- var name = "data-" + key.replace(rmultiDash, "-$1").toLowerCase();
-
- data = elem.getAttribute(name);
-
- if (typeof data === "string") {
- try {
- data = data === "true" ? true :
- data === "false" ? false :
- data === "null" ? null :
- // Only convert to a number if it doesn't change the string
- +data + "" === data ? +data :
- rbrace.test(data) ? jQuery.parseJSON(data) :
- data;
- } catch (e) {
- }
-
- // Make sure we set the data so it isn't changed later
- jQuery.data(elem, key, data);
-
- } else {
- data = undefined;
- }
- }
-
- return data;
- }
-
-// checks a cache object for emptiness
- function isEmptyDataObject(obj) {
- var name;
- for (name in obj) {
-
- // if the public data object is empty, the private is still empty
- if (name === "data" && jQuery.isEmptyObject(obj[name])) {
- continue;
- }
- if (name !== "toJSON") {
- return false;
- }
- }
-
- return true;
- }
-
- function internalData(elem, name, data, pvt /* Internal Use Only */) {
- if (!jQuery.acceptData(elem)) {
- return;
- }
-
- var ret, thisCache,
- internalKey = jQuery.expando,
-
- // We have to handle DOM nodes and JS objects differently because IE6-7
- // can't GC object references properly across the DOM-JS boundary
- isNode = elem.nodeType,
-
- // Only DOM nodes need the global jQuery cache; JS object data is
- // attached directly to the object so GC can occur automatically
- cache = isNode ? jQuery.cache : elem,
-
- // Only defining an ID for JS objects if its cache already exists allows
- // the code to shortcut on the same path as a DOM node with no cache
- id = isNode ? elem[internalKey] : elem[internalKey] && internalKey;
-
- // Avoid doing any more work than we need to when trying to get data on an
- // object that has no data at all
- if ((!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string") {
- return;
- }
-
- if (!id) {
- // Only DOM nodes need a new unique ID for each element since their data
- // ends up in the global cache
- if (isNode) {
- id = elem[internalKey] = deletedIds.pop() || jQuery.guid++;
- } else {
- id = internalKey;
- }
- }
-
- if (!cache[id]) {
- // Avoid exposing jQuery metadata on plain JS objects when the object
- // is serialized using JSON.stringify
- cache[id] = isNode ? {} : {toJSON: jQuery.noop};
- }
-
- // An object can be passed to jQuery.data instead of a key/value pair; this gets
- // shallow copied over onto the existing cache
- if (typeof name === "object" || typeof name === "function") {
- if (pvt) {
- cache[id] = jQuery.extend(cache[id], name);
- } else {
- cache[id].data = jQuery.extend(cache[id].data, name);
- }
- }
-
- thisCache = cache[id];
-
- // jQuery data() is stored in a separate object inside the object's internal data
- // cache in order to avoid key collisions between internal data and user-defined
- // data.
- if (!pvt) {
- if (!thisCache.data) {
- thisCache.data = {};
- }
-
- thisCache = thisCache.data;
- }
-
- if (data !== undefined) {
- thisCache[jQuery.camelCase(name)] = data;
- }
-
- // Check for both converted-to-camel and non-converted data property names
- // If a data property was specified
- if (typeof name === "string") {
-
- // First Try to find as-is property data
- ret = thisCache[name];
-
- // Test for null|undefined property data
- if (ret == null) {
-
- // Try to find the camelCased property
- ret = thisCache[jQuery.camelCase(name)];
- }
- } else {
- ret = thisCache;
- }
-
- return ret;
- }
-
- function internalRemoveData(elem, name, pvt) {
- if (!jQuery.acceptData(elem)) {
- return;
- }
-
- var thisCache, i,
- isNode = elem.nodeType,
-
- // See jQuery.data for more information
- cache = isNode ? jQuery.cache : elem,
- id = isNode ? elem[jQuery.expando] : jQuery.expando;
-
- // If there is already no cache entry for this object, there is no
- // purpose in continuing
- if (!cache[id]) {
- return;
- }
-
- if (name) {
-
- thisCache = pvt ? cache[id] : cache[id].data;
-
- if (thisCache) {
-
- // Support array or space separated string names for data keys
- if (!jQuery.isArray(name)) {
-
- // try the string as a key before any manipulation
- if (name in thisCache) {
- name = [name];
- } else {
-
- // split the camel cased version by spaces unless a key with the spaces exists
- name = jQuery.camelCase(name);
- if (name in thisCache) {
- name = [name];
- } else {
- name = name.split(" ");
- }
- }
- } else {
- // If "name" is an array of keys...
- // When data is initially created, via ("key", "val") signature,
- // keys will be converted to camelCase.
- // Since there is no way to tell _how_ a key was added, remove
- // both plain key and camelCase key. #12786
- // This will only penalize the array argument path.
- name = name.concat(jQuery.map(name, jQuery.camelCase));
- }
-
- i = name.length;
- while (i--) {
- delete thisCache[name[i]];
- }
-
- // If there is no data left in the cache, we want to continue
- // and let the cache object itself get destroyed
- if (pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache)) {
- return;
- }
- }
- }
-
- // See jQuery.data for more information
- if (!pvt) {
- delete cache[id].data;
-
- // Don't destroy the parent cache unless the internal data object
- // had been the only thing left in it
- if (!isEmptyDataObject(cache[id])) {
- return;
- }
- }
-
- // Destroy the cache
- if (isNode) {
- jQuery.cleanData([elem], true);
-
- // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080)
- /* jshint eqeqeq: false */
- } else if (support.deleteExpando || cache != cache.window) {
- /* jshint eqeqeq: true */
- delete cache[id];
-
- // When all else fails, null
- } else {
- cache[id] = null;
- }
- }
-
- jQuery.extend({
- cache: {},
-
- // The following elements (space-suffixed to avoid Object.prototype collisions)
- // throw uncatchable exceptions if you attempt to set expando properties
- noData: {
- "applet ": true,
- "embed ": true,
- // ...but Flash objects (which have this classid) *can* handle expandos
- "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
- },
-
- hasData: function (elem) {
- elem = elem.nodeType ? jQuery.cache[elem[jQuery.expando]] : elem[jQuery.expando];
- return !!elem && !isEmptyDataObject(elem);
- },
-
- data: function (elem, name, data) {
- return internalData(elem, name, data);
- },
-
- removeData: function (elem, name) {
- return internalRemoveData(elem, name);
- },
-
- // For internal use only.
- _data: function (elem, name, data) {
- return internalData(elem, name, data, true);
- },
-
- _removeData: function (elem, name) {
- return internalRemoveData(elem, name, true);
- }
- });
-
- jQuery.fn.extend({
- data: function (key, value) {
- var i, name, data,
- elem = this[0],
- attrs = elem && elem.attributes;
-
- // Special expections of .data basically thwart jQuery.access,
- // so implement the relevant behavior ourselves
-
- // Gets all values
- if (key === undefined) {
- if (this.length) {
- data = jQuery.data(elem);
-
- if (elem.nodeType === 1 && !jQuery._data(elem, "parsedAttrs")) {
- i = attrs.length;
- while (i--) {
-
- // Support: IE11+
- // The attrs elements can be null (#14894)
- if (attrs[i]) {
- name = attrs[i].name;
- if (name.indexOf("data-") === 0) {
- name = jQuery.camelCase(name.slice(5));
- dataAttr(elem, name, data[name]);
- }
- }
- }
- jQuery._data(elem, "parsedAttrs", true);
- }
- }
-
- return data;
- }
-
- // Sets multiple values
- if (typeof key === "object") {
- return this.each(function () {
- jQuery.data(this, key);
- });
- }
-
- return arguments.length > 1 ?
-
- // Sets one value
- this.each(function () {
- jQuery.data(this, key, value);
- }) :
-
- // Gets one value
- // Try to fetch any internally stored data first
- elem ? dataAttr(elem, key, jQuery.data(elem, key)) : undefined;
- },
-
- removeData: function (key) {
- return this.each(function () {
- jQuery.removeData(this, key);
- });
- }
- });
-
-
- jQuery.extend({
- queue: function (elem, type, data) {
- var queue;
-
- if (elem) {
- type = ( type || "fx" ) + "queue";
- queue = jQuery._data(elem, type);
-
- // Speed up dequeue by getting out quickly if this is just a lookup
- if (data) {
- if (!queue || jQuery.isArray(data)) {
- queue = jQuery._data(elem, type, jQuery.makeArray(data));
- } else {
- queue.push(data);
- }
- }
- return queue || [];
- }
- },
-
- dequeue: function (elem, type) {
- type = type || "fx";
-
- var queue = jQuery.queue(elem, type),
- startLength = queue.length,
- fn = queue.shift(),
- hooks = jQuery._queueHooks(elem, type),
- next = function () {
- jQuery.dequeue(elem, type);
- };
-
- // If the fx queue is dequeued, always remove the progress sentinel
- if (fn === "inprogress") {
- fn = queue.shift();
- startLength--;
- }
-
- if (fn) {
-
- // Add a progress sentinel to prevent the fx queue from being
- // automatically dequeued
- if (type === "fx") {
- queue.unshift("inprogress");
- }
-
- // clear up the last queue stop function
- delete hooks.stop;
- fn.call(elem, next, hooks);
- }
-
- if (!startLength && hooks) {
- hooks.empty.fire();
- }
- },
-
- // not intended for public consumption - generates a queueHooks object, or returns the current one
- _queueHooks: function (elem, type) {
- var key = type + "queueHooks";
- return jQuery._data(elem, key) || jQuery._data(elem, key, {
- empty: jQuery.Callbacks("once memory").add(function () {
- jQuery._removeData(elem, type + "queue");
- jQuery._removeData(elem, key);
- })
- });
- }
- });
-
- jQuery.fn.extend({
- queue: function (type, data) {
- var setter = 2;
-
- if (typeof type !== "string") {
- data = type;
- type = "fx";
- setter--;
- }
-
- if (arguments.length < setter) {
- return jQuery.queue(this[0], type);
- }
-
- return data === undefined ?
- this :
- this.each(function () {
- var queue = jQuery.queue(this, type, data);
-
- // ensure a hooks for this queue
- jQuery._queueHooks(this, type);
-
- if (type === "fx" && queue[0] !== "inprogress") {
- jQuery.dequeue(this, type);
- }
- });
- },
- dequeue: function (type) {
- return this.each(function () {
- jQuery.dequeue(this, type);
- });
- },
- clearQueue: function (type) {
- return this.queue(type || "fx", []);
- },
- // Get a promise resolved when queues of a certain type
- // are emptied (fx is the type by default)
- promise: function (type, obj) {
- var tmp,
- count = 1,
- defer = jQuery.Deferred(),
- elements = this,
- i = this.length,
- resolve = function () {
- if (!( --count )) {
- defer.resolveWith(elements, [elements]);
- }
- };
-
- if (typeof type !== "string") {
- obj = type;
- type = undefined;
- }
- type = type || "fx";
-
- while (i--) {
- tmp = jQuery._data(elements[i], type + "queueHooks");
- if (tmp && tmp.empty) {
- count++;
- tmp.empty.add(resolve);
- }
- }
- resolve();
- return defer.promise(obj);
- }
- });
- var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source;
-
- var cssExpand = ["Top", "Right", "Bottom", "Left"];
-
- var isHidden = function (elem, el) {
- // isHidden might be called from jQuery#filter function;
- // in that case, element will be second argument
- elem = el || elem;
- return jQuery.css(elem, "display") === "none" || !jQuery.contains(elem.ownerDocument, elem);
- };
-
-
-// Multifunctional method to get and set values of a collection
-// The value/s can optionally be executed if it's a function
- var access = jQuery.access = function (elems, fn, key, value, chainable, emptyGet, raw) {
- var i = 0,
- length = elems.length,
- bulk = key == null;
-
- // Sets many values
- if (jQuery.type(key) === "object") {
- chainable = true;
- for (i in key) {
- jQuery.access(elems, fn, i, key[i], true, emptyGet, raw);
- }
-
- // Sets one value
- } else if (value !== undefined) {
- chainable = true;
-
- if (!jQuery.isFunction(value)) {
- raw = true;
- }
-
- if (bulk) {
- // Bulk operations run against the entire set
- if (raw) {
- fn.call(elems, value);
- fn = null;
-
- // ...except when executing function values
- } else {
- bulk = fn;
- fn = function (elem, key, value) {
- return bulk.call(jQuery(elem), value);
- };
- }
- }
-
- if (fn) {
- for (; i < length; i++) {
- fn(elems[i], key, raw ? value : value.call(elems[i], i, fn(elems[i], key)));
- }
- }
- }
-
- return chainable ?
- elems :
-
- // Gets
- bulk ?
- fn.call(elems) :
- length ? fn(elems[0], key) : emptyGet;
- };
- var rcheckableType = (/^(?:checkbox|radio)$/i);
-
-
- (function () {
- // Minified: var a,b,c
- var input = document.createElement("input"),
- div = document.createElement("div"),
- fragment = document.createDocumentFragment();
-
- // Setup
- div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
-
- // IE strips leading whitespace when .innerHTML is used
- support.leadingWhitespace = div.firstChild.nodeType === 3;
-
- // Make sure that tbody elements aren't automatically inserted
- // IE will insert them into empty tables
- support.tbody = !div.getElementsByTagName("tbody").length;
-
- // Make sure that link elements get serialized correctly by innerHTML
- // This requires a wrapper element in IE
- support.htmlSerialize = !!div.getElementsByTagName("link").length;
-
- // Makes sure cloning an html5 element does not cause problems
- // Where outerHTML is undefined, this still works
- support.html5Clone =
- document.createElement("nav").cloneNode(true).outerHTML !== "<:nav></:nav>";
-
- // Check if a disconnected checkbox will retain its checked
- // value of true after appended to the DOM (IE6/7)
- input.type = "checkbox";
- input.checked = true;
- fragment.appendChild(input);
- support.appendChecked = input.checked;
-
- // Make sure textarea (and checkbox) defaultValue is properly cloned
- // Support: IE6-IE11+
- div.innerHTML = "<textarea>x</textarea>";
- support.noCloneChecked = !!div.cloneNode(true).lastChild.defaultValue;
-
- // #11217 - WebKit loses check when the name is after the checked attribute
- fragment.appendChild(div);
- div.innerHTML = "<input type='radio' checked='checked' name='t'/>";
-
- // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3
- // old WebKit doesn't clone checked state correctly in fragments
- support.checkClone = div.cloneNode(true).cloneNode(true).lastChild.checked;
-
- // Support: IE<9
- // Opera does not clone events (and typeof div.attachEvent === undefined).
- // IE9-10 clones events bound via attachEvent, but they don't trigger with .click()
- support.noCloneEvent = true;
- if (div.attachEvent) {
- div.attachEvent("onclick", function () {
- support.noCloneEvent = false;
- });
-
- div.cloneNode(true).click();
- }
-
- // Execute the test only if not already executed in another module.
- if (support.deleteExpando == null) {
- // Support: IE<9
- support.deleteExpando = true;
- try {
- delete div.test;
- } catch (e) {
- support.deleteExpando = false;
- }
- }
- })();
-
-
- (function () {
- var i, eventName,
- div = document.createElement("div");
-
- // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event)
- for (i in {submit: true, change: true, focusin: true}) {
- eventName = "on" + i;
-
- if (!(support[i + "Bubbles"] = eventName in window)) {
- // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP)
- div.setAttribute(eventName, "t");
- support[i + "Bubbles"] = div.attributes[eventName].expando === false;
- }
- }
-
- // Null elements to avoid leaks in IE.
- div = null;
- })();
-
-
- var rformElems = /^(?:input|select|textarea)$/i,
- rkeyEvent = /^key/,
- rmouseEvent = /^(?:mouse|pointer|contextmenu)|click/,
- rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
- rtypenamespace = /^([^.]*)(?:\.(.+)|)$/;
-
- function returnTrue() {
- return true;
- }
-
- function returnFalse() {
- return false;
- }
-
- function safeActiveElement() {
- try {
- return document.activeElement;
- } catch (err) {
- }
- }
-
- /*
- * Helper functions for managing events -- not part of the public interface.
- * Props to Dean Edwards' addEvent library for many of the ideas.
- */
- jQuery.event = {
-
- global: {},
-
- add: function (elem, types, handler, data, selector) {
- var tmp, events, t, handleObjIn,
- special, eventHandle, handleObj,
- handlers, type, namespaces, origType,
- elemData = jQuery._data(elem);
-
- // Don't attach events to noData or text/comment nodes (but allow plain objects)
- if (!elemData) {
- return;
- }
-
- // Caller can pass in an object of custom data in lieu of the handler
- if (handler.handler) {
- handleObjIn = handler;
- handler = handleObjIn.handler;
- selector = handleObjIn.selector;
- }
-
- // Make sure that the handler has a unique ID, used to find/remove it later
- if (!handler.guid) {
- handler.guid = jQuery.guid++;
- }
-
- // Init the element's event structure and main handler, if this is the first
- if (!(events = elemData.events)) {
- events = elemData.events = {};
- }
- if (!(eventHandle = elemData.handle)) {
- eventHandle = elemData.handle = function (e) {
- // Discard the second event of a jQuery.event.trigger() and
- // when an event is called after a page has unloaded
- return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ?
- jQuery.event.dispatch.apply(eventHandle.elem, arguments) :
- undefined;
- };
- // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events
- eventHandle.elem = elem;
- }
-
- // Handle multiple events separated by a space
- types = ( types || "" ).match(rnotwhite) || [""];
- t = types.length;
- while (t--) {
- tmp = rtypenamespace.exec(types[t]) || [];
- type = origType = tmp[1];
- namespaces = ( tmp[2] || "" ).split(".").sort();
-
- // There *must* be a type, no attaching namespace-only handlers
- if (!type) {
- continue;
- }
-
- // If event changes its type, use the special event handlers for the changed type
- special = jQuery.event.special[type] || {};
-
- // If selector defined, determine special event api type, otherwise given type
- type = ( selector ? special.delegateType : special.bindType ) || type;
-
- // Update special based on newly reset type
- special = jQuery.event.special[type] || {};
-
- // handleObj is passed to all event handlers
- handleObj = jQuery.extend({
- type: type,
- origType: origType,
- data: data,
- handler: handler,
- guid: handler.guid,
- selector: selector,
- needsContext: selector && jQuery.expr.match.needsContext.test(selector),
- namespace: namespaces.join(".")
- }, handleObjIn);
-
- // Init the event handler queue if we're the first
- if (!(handlers = events[type])) {
- handlers = events[type] = [];
- handlers.delegateCount = 0;
-
- // Only use addEventListener/attachEvent if the special events handler returns false
- if (!special.setup || special.setup.call(elem, data, namespaces, eventHandle) === false) {
- // Bind the global event handler to the element
- if (elem.addEventListener) {
- elem.addEventListener(type, eventHandle, false);
-
- } else if (elem.attachEvent) {
- elem.attachEvent("on" + type, eventHandle);
- }
- }
- }
-
- if (special.add) {
- special.add.call(elem, handleObj);
-
- if (!handleObj.handler.guid) {
- handleObj.handler.guid = handler.guid;
- }
- }
-
- // Add to the element's handler list, delegates in front
- if (selector) {
- handlers.splice(handlers.delegateCount++, 0, handleObj);
- } else {
- handlers.push(handleObj);
- }
-
- // Keep track of which events have ever been used, for event optimization
- jQuery.event.global[type] = true;
- }
-
- // Nullify elem to prevent memory leaks in IE
- elem = null;
- },
-
- // Detach an event or set of events from an element
- remove: function (elem, types, handler, selector, mappedTypes) {
- var j, handleObj, tmp,
- origCount, t, events,
- special, handlers, type,
- namespaces, origType,
- elemData = jQuery.hasData(elem) && jQuery._data(elem);
-
- if (!elemData || !(events = elemData.events)) {
- return;
- }
-
- // Once for each type.namespace in types; type may be omitted
- types = ( types || "" ).match(rnotwhite) || [""];
- t = types.length;
- while (t--) {
- tmp = rtypenamespace.exec(types[t]) || [];
- type = origType = tmp[1];
- namespaces = ( tmp[2] || "" ).split(".").sort();
-
- // Unbind all events (on this namespace, if provided) for the element
- if (!type) {
- for (type in events) {
- jQuery.event.remove(elem, type + types[t], handler, selector, true);
- }
- continue;
- }
-
- special = jQuery.event.special[type] || {};
- type = ( selector ? special.delegateType : special.bindType ) || type;
- handlers = events[type] || [];
- tmp = tmp[2] && new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)");
-
- // Remove matching events
- origCount = j = handlers.length;
- while (j--) {
- handleObj = handlers[j];
-
- if (( mappedTypes || origType === handleObj.origType ) &&
- ( !handler || handler.guid === handleObj.guid ) &&
- ( !tmp || tmp.test(handleObj.namespace) ) &&
- ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector )) {
- handlers.splice(j, 1);
-
- if (handleObj.selector) {
- handlers.delegateCount--;
- }
- if (special.remove) {
- special.remove.call(elem, handleObj);
- }
- }
- }
-
- // Remove generic event handler if we removed something and no more handlers exist
- // (avoids potential for endless recursion during removal of special event handlers)
- if (origCount && !handlers.length) {
- if (!special.teardown || special.teardown.call(elem, namespaces, elemData.handle) === false) {
- jQuery.removeEvent(elem, type, elemData.handle);
- }
-
- delete events[type];
- }
- }
-
- // Remove the expando if it's no longer used
- if (jQuery.isEmptyObject(events)) {
- delete elemData.handle;
-
- // removeData also checks for emptiness and clears the expando if empty
- // so use it instead of delete
- jQuery._removeData(elem, "events");
- }
- },
-
- trigger: function (event, data, elem, onlyHandlers) {
- var handle, ontype, cur,
- bubbleType, special, tmp, i,
- eventPath = [elem || document],
- type = hasOwn.call(event, "type") ? event.type : event,
- namespaces = hasOwn.call(event, "namespace") ? event.namespace.split(".") : [];
-
- cur = tmp = elem = elem || document;
-
- // Don't do events on text and comment nodes
- if (elem.nodeType === 3 || elem.nodeType === 8) {
- return;
- }
-
- // focus/blur morphs to focusin/out; ensure we're not firing them right now
- if (rfocusMorph.test(type + jQuery.event.triggered)) {
- return;
- }
-
- if (type.indexOf(".") >= 0) {
- // Namespaced trigger; create a regexp to match event type in handle()
- namespaces = type.split(".");
- type = namespaces.shift();
- namespaces.sort();
- }
- ontype = type.indexOf(":") < 0 && "on" + type;
-
- // Caller can pass in a jQuery.Event object, Object, or just an event type string
- event = event[jQuery.expando] ?
- event :
- new jQuery.Event(type, typeof event === "object" && event);
-
- // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)
- event.isTrigger = onlyHandlers ? 2 : 3;
- event.namespace = namespaces.join(".");
- event.namespace_re = event.namespace ?
- new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)") :
- null;
-
- // Clean up the event in case it is being reused
- event.result = undefined;
- if (!event.target) {
- event.target = elem;
- }
-
- // Clone any incoming data and prepend the event, creating the handler arg list
- data = data == null ?
- [event] :
- jQuery.makeArray(data, [event]);
-
- // Allow special events to draw outside the lines
- special = jQuery.event.special[type] || {};
- if (!onlyHandlers && special.trigger && special.trigger.apply(elem, data) === false) {
- return;
- }
-
- // Determine event propagation path in advance, per W3C events spec (#9951)
- // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
- if (!onlyHandlers && !special.noBubble && !jQuery.isWindow(elem)) {
-
- bubbleType = special.delegateType || type;
- if (!rfocusMorph.test(bubbleType + type)) {
- cur = cur.parentNode;
- }
- for (; cur; cur = cur.parentNode) {
- eventPath.push(cur);
- tmp = cur;
- }
-
- // Only add window if we got to document (e.g., not plain obj or detached DOM)
- if (tmp === (elem.ownerDocument || document)) {
- eventPath.push(tmp.defaultView || tmp.parentWindow || window);
- }
- }
-
- // Fire handlers on the event path
- i = 0;
- while ((cur = eventPath[i++]) && !event.isPropagationStopped()) {
-
- event.type = i > 1 ?
- bubbleType :
- special.bindType || type;
-
- // jQuery handler
- handle = ( jQuery._data(cur, "events") || {} )[event.type] && jQuery._data(cur, "handle");
- if (handle) {
- handle.apply(cur, data);
- }
-
- // Native handler
- handle = ontype && cur[ontype];
- if (handle && handle.apply && jQuery.acceptData(cur)) {
- event.result = handle.apply(cur, data);
- if (event.result === false) {
- event.preventDefault();
- }
- }
- }
- event.type = type;
-
- // If nobody prevented the default action, do it now
- if (!onlyHandlers && !event.isDefaultPrevented()) {
-
- if ((!special._default || special._default.apply(eventPath.pop(), data) === false) &&
- jQuery.acceptData(elem)) {
-
- // Call a native DOM method on the target with the same name name as the event.
- // Can't use an .isFunction() check here because IE6/7 fails that test.
- // Don't do default actions on window, that's where global variables be (#6170)
- if (ontype && elem[type] && !jQuery.isWindow(elem)) {
-
- // Don't re-trigger an onFOO event when we call its FOO() method
- tmp = elem[ontype];
-
- if (tmp) {
- elem[ontype] = null;
- }
-
- // Prevent re-triggering of the same event, since we already bubbled it above
- jQuery.event.triggered = type;
- try {
- elem[type]();
- } catch (e) {
- // IE<9 dies on focus/blur to hidden element (#1486,#12518)
- // only reproducible on winXP IE8 native, not IE9 in IE8 mode
- }
- jQuery.event.triggered = undefined;
-
- if (tmp) {
- elem[ontype] = tmp;
- }
- }
- }
- }
-
- return event.result;
- },
-
- dispatch: function (event) {
-
- // Make a writable jQuery.Event from the native event object
- event = jQuery.event.fix(event);
-
- var i, ret, handleObj, matched, j,
- handlerQueue = [],
- args = slice.call(arguments),
- handlers = ( jQuery._data(this, "events") || {} )[event.type] || [],
- special = jQuery.event.special[event.type] || {};
-
- // Use the fix-ed jQuery.Event rather than the (read-only) native event
- args[0] = event;
- event.delegateTarget = this;
-
- // Call the preDispatch hook for the mapped type, and let it bail if desired
- if (special.preDispatch && special.preDispatch.call(this, event) === false) {
- return;
- }
-
- // Determine handlers
- handlerQueue = jQuery.event.handlers.call(this, event, handlers);
-
- // Run delegates first; they may want to stop propagation beneath us
- i = 0;
- while ((matched = handlerQueue[i++]) && !event.isPropagationStopped()) {
- event.currentTarget = matched.elem;
-
- j = 0;
- while ((handleObj = matched.handlers[j++]) && !event.isImmediatePropagationStopped()) {
-
- // Triggered event must either 1) have no namespace, or
- // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).
- if (!event.namespace_re || event.namespace_re.test(handleObj.namespace)) {
-
- event.handleObj = handleObj;
- event.data = handleObj.data;
-
- ret = ( (jQuery.event.special[handleObj.origType] || {}).handle || handleObj.handler )
- .apply(matched.elem, args);
-
- if (ret !== undefined) {
- if ((event.result = ret) === false) {
- event.preventDefault();
- event.stopPropagation();
- }
- }
- }
- }
- }
-
- // Call the postDispatch hook for the mapped type
- if (special.postDispatch) {
- special.postDispatch.call(this, event);
- }
-
- return event.result;
- },
-
- handlers: function (event, handlers) {
- var sel, handleObj, matches, i,
- handlerQueue = [],
- delegateCount = handlers.delegateCount,
- cur = event.target;
-
- // Find delegate handlers
- // Black-hole SVG <use> instance trees (#13180)
- // Avoid non-left-click bubbling in Firefox (#3861)
- if (delegateCount && cur.nodeType && (!event.button || event.type !== "click")) {
-
- /* jshint eqeqeq: false */
- for (; cur != this; cur = cur.parentNode || this) {
- /* jshint eqeqeq: true */
-
- // Don't check non-elements (#13208)
- // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
- if (cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click")) {
- matches = [];
- for (i = 0; i < delegateCount; i++) {
- handleObj = handlers[i];
-
- // Don't conflict with Object.prototype properties (#13203)
- sel = handleObj.selector + " ";
-
- if (matches[sel] === undefined) {
- matches[sel] = handleObj.needsContext ?
- jQuery(sel, this).index(cur) >= 0 :
- jQuery.find(sel, this, null, [cur]).length;
- }
- if (matches[sel]) {
- matches.push(handleObj);
- }
- }
- if (matches.length) {
- handlerQueue.push({elem: cur, handlers: matches});
- }
- }
- }
- }
-
- // Add the remaining (directly-bound) handlers
- if (delegateCount < handlers.length) {
- handlerQueue.push({elem: this, handlers: handlers.slice(delegateCount)});
- }
-
- return handlerQueue;
- },
-
- fix: function (event) {
- if (event[jQuery.expando]) {
- return event;
- }
-
- // Create a writable copy of the event object and normalize some properties
- var i, prop, copy,
- type = event.type,
- originalEvent = event,
- fixHook = this.fixHooks[type];
-
- if (!fixHook) {
- this.fixHooks[type] = fixHook =
- rmouseEvent.test(type) ? this.mouseHooks :
- rkeyEvent.test(type) ? this.keyHooks :
- {};
- }
- copy = fixHook.props ? this.props.concat(fixHook.props) : this.props;
-
- event = new jQuery.Event(originalEvent);
-
- i = copy.length;
- while (i--) {
- prop = copy[i];
- event[prop] = originalEvent[prop];
- }
-
- // Support: IE<9
- // Fix target property (#1925)
- if (!event.target) {
- event.target = originalEvent.srcElement || document;
- }
-
- // Support: Chrome 23+, Safari?
- // Target should not be a text node (#504, #13143)
- if (event.target.nodeType === 3) {
- event.target = event.target.parentNode;
- }
-
- // Support: IE<9
- // For mouse/key events, metaKey==false if it's undefined (#3368, #11328)
- event.metaKey = !!event.metaKey;
-
- return fixHook.filter ? fixHook.filter(event, originalEvent) : event;
- },
-
- // Includes some event props shared by KeyEvent and MouseEvent
- props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
-
- fixHooks: {},
-
- keyHooks: {
- props: "char charCode key keyCode".split(" "),
- filter: function (event, original) {
-
- // Add which for key events
- if (event.which == null) {
- event.which = original.charCode != null ? original.charCode : original.keyCode;
- }
-
- return event;
- }
- },
-
- mouseHooks: {
- props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
- filter: function (event, original) {
- var body, eventDoc, doc,
- button = original.button,
- fromElement = original.fromElement;
-
- // Calculate pageX/Y if missing and clientX/Y available
- if (event.pageX == null && original.clientX != null) {
- eventDoc = event.target.ownerDocument || document;
- doc = eventDoc.documentElement;
- body = eventDoc.body;
-
- event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );
- event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 );
- }
-
- // Add relatedTarget, if necessary
- if (!event.relatedTarget && fromElement) {
- event.relatedTarget = fromElement === event.target ? original.toElement : fromElement;
- }
-
- // Add which for click: 1 === left; 2 === middle; 3 === right
- // Note: button is not normalized, so don't use it
- if (!event.which && button !== undefined) {
- event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );
- }
-
- return event;
- }
- },
-
- special: {
- load: {
- // Prevent triggered image.load events from bubbling to window.load
- noBubble: true
- },
- focus: {
- // Fire native event if possible so blur/focus sequence is correct
- trigger: function () {
- if (this !== safeActiveElement() && this.focus) {
- try {
- this.focus();
- return false;
- } catch (e) {
- // Support: IE<9
- // If we error on focus to hidden element (#1486, #12518),
- // let .trigger() run the handlers
- }
- }
- },
- delegateType: "focusin"
- },
- blur: {
- trigger: function () {
- if (this === safeActiveElement() && this.blur) {
- this.blur();
- return false;
- }
- },
- delegateType: "focusout"
- },
- click: {
- // For checkbox, fire native event so checked state will be right
- trigger: function () {
- if (jQuery.nodeName(this, "input") && this.type === "checkbox" && this.click) {
- this.click();
- return false;
- }
- },
-
- // For cross-browser consistency, don't fire native .click() on links
- _default: function (event) {
- return jQuery.nodeName(event.target, "a");
- }
- },
-
- beforeunload: {
- postDispatch: function (event) {
-
- // Support: Firefox 20+
- // Firefox doesn't alert if the returnValue field is not set.
- if (event.result !== undefined && event.originalEvent) {
- event.originalEvent.returnValue = event.result;
- }
- }
- }
- },
-
- simulate: function (type, elem, event, bubble) {
- // Piggyback on a donor event to simulate a different one.
- // Fake originalEvent to avoid donor's stopPropagation, but if the
- // simulated event prevents default then we do the same on the donor.
- var e = jQuery.extend(
- new jQuery.Event(),
- event,
- {
- type: type,
- isSimulated: true,
- originalEvent: {}
- }
- );
- if (bubble) {
- jQuery.event.trigger(e, null, elem);
- } else {
- jQuery.event.dispatch.call(elem, e);
- }
- if (e.isDefaultPrevented()) {
- event.preventDefault();
- }
- }
- };
-
- jQuery.removeEvent = document.removeEventListener ?
- function (elem, type, handle) {
- if (elem.removeEventListener) {
- elem.removeEventListener(type, handle, false);
- }
- } :
- function (elem, type, handle) {
- var name = "on" + type;
-
- if (elem.detachEvent) {
-
- // #8545, #7054, preventing memory leaks for custom events in IE6-8
- // detachEvent needed property on element, by name of that event, to properly expose it to GC
- if (typeof elem[name] === strundefined) {
- elem[name] = null;
- }
-
- elem.detachEvent(name, handle);
- }
- };
-
- jQuery.Event = function (src, props) {
- // Allow instantiation without the 'new' keyword
- if (!(this instanceof jQuery.Event)) {
- return new jQuery.Event(src, props);
- }
-
- // Event object
- if (src && src.type) {
- this.originalEvent = src;
- this.type = src.type;
-
- // Events bubbling up the document may have been marked as prevented
- // by a handler lower down the tree; reflect the correct value.
- this.isDefaultPrevented = src.defaultPrevented ||
- src.defaultPrevented === undefined &&
- // Support: IE < 9, Android < 4.0
- src.returnValue === false ?
- returnTrue :
- returnFalse;
-
- // Event type
- } else {
- this.type = src;
- }
-
- // Put explicitly provided properties onto the event object
- if (props) {
- jQuery.extend(this, props);
- }
-
- // Create a timestamp if incoming event doesn't have one
- this.timeStamp = src && src.timeStamp || jQuery.now();
-
- // Mark it as fixed
- this[jQuery.expando] = true;
- };
-
-// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
-// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
- jQuery.Event.prototype = {
- isDefaultPrevented: returnFalse,
- isPropagationStopped: returnFalse,
- isImmediatePropagationStopped: returnFalse,
-
- preventDefault: function () {
- var e = this.originalEvent;
-
- this.isDefaultPrevented = returnTrue;
- if (!e) {
- return;
- }
-
- // If preventDefault exists, run it on the original event
- if (e.preventDefault) {
- e.preventDefault();
-
- // Support: IE
- // Otherwise set the returnValue property of the original event to false
- } else {
- e.returnValue = false;
- }
- },
- stopPropagation: function () {
- var e = this.originalEvent;
-
- this.isPropagationStopped = returnTrue;
- if (!e) {
- return;
- }
- // If stopPropagation exists, run it on the original event
- if (e.stopPropagation) {
- e.stopPropagation();
- }
-
- // Support: IE
- // Set the cancelBubble property of the original event to true
- e.cancelBubble = true;
- },
- stopImmediatePropagation: function () {
- var e = this.originalEvent;
-
- this.isImmediatePropagationStopped = returnTrue;
-
- if (e && e.stopImmediatePropagation) {
- e.stopImmediatePropagation();
- }
-
- this.stopPropagation();
- }
- };
-
-// Create mouseenter/leave events using mouseover/out and event-time checks
- jQuery.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout",
- pointerenter: "pointerover",
- pointerleave: "pointerout"
- }, function (orig, fix) {
- jQuery.event.special[orig] = {
- delegateType: fix,
- bindType: fix,
-
- handle: function (event) {
- var ret,
- target = this,
- related = event.relatedTarget,
- handleObj = event.handleObj;
-
- // For mousenter/leave call the handler if related is outside the target.
- // NB: No relatedTarget if the mouse left/entered the browser window
- if (!related || (related !== target && !jQuery.contains(target, related))) {
- event.type = handleObj.origType;
- ret = handleObj.handler.apply(this, arguments);
- event.type = fix;
- }
- return ret;
- }
- };
- });
-
-// IE submit delegation
- if (!support.submitBubbles) {
-
- jQuery.event.special.submit = {
- setup: function () {
- // Only need this for delegated form submit events
- if (jQuery.nodeName(this, "form")) {
- return false;
- }
-
- // Lazy-add a submit handler when a descendant form may potentially be submitted
- jQuery.event.add(this, "click._submit keypress._submit", function (e) {
- // Node name check avoids a VML-related crash in IE (#9807)
- var elem = e.target,
- form = jQuery.nodeName(elem, "input") || jQuery.nodeName(elem, "button") ? elem.form : undefined;
- if (form && !jQuery._data(form, "submitBubbles")) {
- jQuery.event.add(form, "submit._submit", function (event) {
- event._submit_bubble = true;
- });
- jQuery._data(form, "submitBubbles", true);
- }
- });
- // return undefined since we don't need an event listener
- },
-
- postDispatch: function (event) {
- // If form was submitted by the user, bubble the event up the tree
- if (event._submit_bubble) {
- delete event._submit_bubble;
- if (this.parentNode && !event.isTrigger) {
- jQuery.event.simulate("submit", this.parentNode, event, true);
- }
- }
- },
-
- teardown: function () {
- // Only need this for delegated form submit events
- if (jQuery.nodeName(this, "form")) {
- return false;
- }
-
- // Remove delegated handlers; cleanData eventually reaps submit handlers attached above
- jQuery.event.remove(this, "._submit");
- }
- };
- }
-
-// IE change delegation and checkbox/radio fix
- if (!support.changeBubbles) {
-
- jQuery.event.special.change = {
-
- setup: function () {
-
- if (rformElems.test(this.nodeName)) {
- // IE doesn't fire change on a check/radio until blur; trigger it on click
- // after a propertychange. Eat the blur-change in special.change.handle.
- // This still fires onchange a second time for check/radio after blur.
- if (this.type === "checkbox" || this.type === "radio") {
- jQuery.event.add(this, "propertychange._change", function (event) {
- if (event.originalEvent.propertyName === "checked") {
- this._just_changed = true;
- }
- });
- jQuery.event.add(this, "click._change", function (event) {
- if (this._just_changed && !event.isTrigger) {
- this._just_changed = false;
- }
- // Allow triggered, simulated change events (#11500)
- jQuery.event.simulate("change", this, event, true);
- });
- }
- return false;
- }
- // Delegated event; lazy-add a change handler on descendant inputs
- jQuery.event.add(this, "beforeactivate._change", function (e) {
- var elem = e.target;
-
- if (rformElems.test(elem.nodeName) && !jQuery._data(elem, "changeBubbles")) {
- jQuery.event.add(elem, "change._change", function (event) {
- if (this.parentNode && !event.isSimulated && !event.isTrigger) {
- jQuery.event.simulate("change", this.parentNode, event, true);
- }
- });
- jQuery._data(elem, "changeBubbles", true);
- }
- });
- },
-
- handle: function (event) {
- var elem = event.target;
-
- // Swallow native change events from checkbox/radio, we already triggered them above
- if (this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox")) {
- return event.handleObj.handler.apply(this, arguments);
- }
- },
-
- teardown: function () {
- jQuery.event.remove(this, "._change");
-
- return !rformElems.test(this.nodeName);
- }
- };
- }
-
-// Create "bubbling" focus and blur events
- if (!support.focusinBubbles) {
- jQuery.each({focus: "focusin", blur: "focusout"}, function (orig, fix) {
-
- // Attach a single capturing handler on the document while someone wants focusin/focusout
- var handler = function (event) {
- jQuery.event.simulate(fix, event.target, jQuery.event.fix(event), true);
- };
-
- jQuery.event.special[fix] = {
- setup: function () {
- var doc = this.ownerDocument || this,
- attaches = jQuery._data(doc, fix);
-
- if (!attaches) {
- doc.addEventListener(orig, handler, true);
- }
- jQuery._data(doc, fix, ( attaches || 0 ) + 1);
- },
- teardown: function () {
- var doc = this.ownerDocument || this,
- attaches = jQuery._data(doc, fix) - 1;
-
- if (!attaches) {
- doc.removeEventListener(orig, handler, true);
- jQuery._removeData(doc, fix);
- } else {
- jQuery._data(doc, fix, attaches);
- }
- }
- };
- });
- }
-
- jQuery.fn.extend({
-
- on: function (types, selector, data, fn, /*INTERNAL*/ one) {
- var type, origFn;
-
- // Types can be a map of types/handlers
- if (typeof types === "object") {
- // ( types-Object, selector, data )
- if (typeof selector !== "string") {
- // ( types-Object, data )
- data = data || selector;
- selector = undefined;
- }
- for (type in types) {
- this.on(type, selector, data, types[type], one);
- }
- return this;
- }
-
- if (data == null && fn == null) {
- // ( types, fn )
- fn = selector;
- data = selector = undefined;
- } else if (fn == null) {
- if (typeof selector === "string") {
- // ( types, selector, fn )
- fn = data;
- data = undefined;
- } else {
- // ( types, data, fn )
- fn = data;
- data = selector;
- selector = undefined;
- }
- }
- if (fn === false) {
- fn = returnFalse;
- } else if (!fn) {
- return this;
- }
-
- if (one === 1) {
- origFn = fn;
- fn = function (event) {
- // Can use an empty set, since event contains the info
- jQuery().off(event);
- return origFn.apply(this, arguments);
- };
- // Use same guid so caller can remove using origFn
- fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
- }
- return this.each(function () {
- jQuery.event.add(this, types, fn, data, selector);
- });
- },
- one: function (types, selector, data, fn) {
- return this.on(types, selector, data, fn, 1);
- },
- off: function (types, selector, fn) {
- var handleObj, type;
- if (types && types.preventDefault && types.handleObj) {
- // ( event ) dispatched jQuery.Event
- handleObj = types.handleObj;
- jQuery(types.delegateTarget).off(
- handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,
- handleObj.selector,
- handleObj.handler
- );
- return this;
- }
- if (typeof types === "object") {
- // ( types-object [, selector] )
- for (type in types) {
- this.off(type, selector, types[type]);
- }
- return this;
- }
- if (selector === false || typeof selector === "function") {
- // ( types [, fn] )
- fn = selector;
- selector = undefined;
- }
- if (fn === false) {
- fn = returnFalse;
- }
- return this.each(function () {
- jQuery.event.remove(this, types, fn, selector);
- });
- },
-
- trigger: function (type, data) {
- return this.each(function () {
- jQuery.event.trigger(type, data, this);
- });
- },
- triggerHandler: function (type, data) {
- var elem = this[0];
- if (elem) {
- return jQuery.event.trigger(type, data, elem, true);
- }
- }
- });
-
-
- function createSafeFragment(document) {
- var list = nodeNames.split("|"),
- safeFrag = document.createDocumentFragment();
-
- if (safeFrag.createElement) {
- while (list.length) {
- safeFrag.createElement(
- list.pop()
- );
- }
- }
- return safeFrag;
- }
-
- var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" +
- "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
- rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g,
- rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),
- rleadingWhitespace = /^\s+/,
- rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
- rtagName = /<([\w:]+)/,
- rtbody = /<tbody/i,
- rhtml = /<|&#?\w+;/,
- rnoInnerhtml = /<(?:script|style|link)/i,
- // checked="checked" or checked
- rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
- rscriptType = /^$|\/(?:java|ecma)script/i,
- rscriptTypeMasked = /^true\/(.*)/,
- rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
-
- // We have to close these tags to support XHTML (#13200)
- wrapMap = {
- option: [1, "<select multiple='multiple'>", "</select>"],
- legend: [1, "<fieldset>", "</fieldset>"],
- area: [1, "<map>", "</map>"],
- param: [1, "<object>", "</object>"],
- thead: [1, "<table>", "</table>"],
- tr: [2, "<table><tbody>", "</tbody></table>"],
- col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
- td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
-
- // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags,
- // unless wrapped in a div with non-breaking characters in front of it.
- _default: support.htmlSerialize ? [0, "", ""] : [1, "X<div>", "</div>"]
- },
- safeFragment = createSafeFragment(document),
- fragmentDiv = safeFragment.appendChild(document.createElement("div"));
-
- wrapMap.optgroup = wrapMap.option;
- wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
- wrapMap.th = wrapMap.td;
-
- function getAll(context, tag) {
- var elems, elem,
- i = 0,
- found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName(tag || "*") :
- typeof context.querySelectorAll !== strundefined ? context.querySelectorAll(tag || "*") :
- undefined;
-
- if (!found) {
- for (found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++) {
- if (!tag || jQuery.nodeName(elem, tag)) {
- found.push(elem);
- } else {
- jQuery.merge(found, getAll(elem, tag));
- }
- }
- }
-
- return tag === undefined || tag && jQuery.nodeName(context, tag) ?
- jQuery.merge([context], found) :
- found;
- }
-
-// Used in buildFragment, fixes the defaultChecked property
- function fixDefaultChecked(elem) {
- if (rcheckableType.test(elem.type)) {
- elem.defaultChecked = elem.checked;
- }
- }
-
-// Support: IE<8
-// Manipulating tables requires a tbody
- function manipulationTarget(elem, content) {
- return jQuery.nodeName(elem, "table") &&
- jQuery.nodeName(content.nodeType !== 11 ? content : content.firstChild, "tr") ?
-
- elem.getElementsByTagName("tbody")[0] ||
- elem.appendChild(elem.ownerDocument.createElement("tbody")) :
- elem;
- }
-
-// Replace/restore the type attribute of script elements for safe DOM manipulation
- function disableScript(elem) {
- elem.type = (jQuery.find.attr(elem, "type") !== null) + "/" + elem.type;
- return elem;
- }
-
- function restoreScript(elem) {
- var match = rscriptTypeMasked.exec(elem.type);
- if (match) {
- elem.type = match[1];
- } else {
- elem.removeAttribute("type");
- }
- return elem;
- }
-
-// Mark scripts as having already been evaluated
- function setGlobalEval(elems, refElements) {
- var elem,
- i = 0;
- for (; (elem = elems[i]) != null; i++) {
- jQuery._data(elem, "globalEval", !refElements || jQuery._data(refElements[i], "globalEval"));
- }
- }
-
- function cloneCopyEvent(src, dest) {
-
- if (dest.nodeType !== 1 || !jQuery.hasData(src)) {
- return;
- }
-
- var type, i, l,
- oldData = jQuery._data(src),
- curData = jQuery._data(dest, oldData),
- events = oldData.events;
-
- if (events) {
- delete curData.handle;
- curData.events = {};
-
- for (type in events) {
- for (i = 0, l = events[type].length; i < l; i++) {
- jQuery.event.add(dest, type, events[type][i]);
- }
- }
- }
-
- // make the cloned public data object a copy from the original
- if (curData.data) {
- curData.data = jQuery.extend({}, curData.data);
- }
- }
-
- function fixCloneNodeIssues(src, dest) {
- var nodeName, e, data;
-
- // We do not need to do anything for non-Elements
- if (dest.nodeType !== 1) {
- return;
- }
-
- nodeName = dest.nodeName.toLowerCase();
-
- // IE6-8 copies events bound via attachEvent when using cloneNode.
- if (!support.noCloneEvent && dest[jQuery.expando]) {
- data = jQuery._data(dest);
-
- for (e in data.events) {
- jQuery.removeEvent(dest, e, data.handle);
- }
-
- // Event data gets referenced instead of copied if the expando gets copied too
- dest.removeAttribute(jQuery.expando);
- }
-
- // IE blanks contents when cloning scripts, and tries to evaluate newly-set text
- if (nodeName === "script" && dest.text !== src.text) {
- disableScript(dest).text = src.text;
- restoreScript(dest);
-
- // IE6-10 improperly clones children of object elements using classid.
- // IE10 throws NoModificationAllowedError if parent is null, #12132.
- } else if (nodeName === "object") {
- if (dest.parentNode) {
- dest.outerHTML = src.outerHTML;
- }
-
- // This path appears unavoidable for IE9. When cloning an object
- // element in IE9, the outerHTML strategy above is not sufficient.
- // If the src has innerHTML and the destination does not,
- // copy the src.innerHTML into the dest.innerHTML. #10324
- if (support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) )) {
- dest.innerHTML = src.innerHTML;
- }
-
- } else if (nodeName === "input" && rcheckableType.test(src.type)) {
- // IE6-8 fails to persist the checked state of a cloned checkbox
- // or radio button. Worse, IE6-7 fail to give the cloned element
- // a checked appearance if the defaultChecked value isn't also set
-
- dest.defaultChecked = dest.checked = src.checked;
-
- // IE6-7 get confused and end up setting the value of a cloned
- // checkbox/radio button to an empty string instead of "on"
- if (dest.value !== src.value) {
- dest.value = src.value;
- }
-
- // IE6-8 fails to return the selected option to the default selected
- // state when cloning options
- } else if (nodeName === "option") {
- dest.defaultSelected = dest.selected = src.defaultSelected;
-
- // IE6-8 fails to set the defaultValue to the correct value when
- // cloning other types of input fields
- } else if (nodeName === "input" || nodeName === "textarea") {
- dest.defaultValue = src.defaultValue;
- }
- }
-
- jQuery.extend({
- clone: function (elem, dataAndEvents, deepDataAndEvents) {
- var destElements, node, clone, i, srcElements,
- inPage = jQuery.contains(elem.ownerDocument, elem);
-
- if (support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test("<" + elem.nodeName + ">")) {
- clone = elem.cloneNode(true);
-
- // IE<=8 does not properly clone detached, unknown element nodes
- } else {
- fragmentDiv.innerHTML = elem.outerHTML;
- fragmentDiv.removeChild(clone = fragmentDiv.firstChild);
- }
-
- if ((!support.noCloneEvent || !support.noCloneChecked) &&
- (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem)) {
-
- // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2
- destElements = getAll(clone);
- srcElements = getAll(elem);
-
- // Fix all IE cloning issues
- for (i = 0; (node = srcElements[i]) != null; ++i) {
- // Ensure that the destination node is not null; Fixes #9587
- if (destElements[i]) {
- fixCloneNodeIssues(node, destElements[i]);
- }
- }
- }
-
- // Copy the events from the original to the clone
- if (dataAndEvents) {
- if (deepDataAndEvents) {
- srcElements = srcElements || getAll(elem);
- destElements = destElements || getAll(clone);
-
- for (i = 0; (node = srcElements[i]) != null; i++) {
- cloneCopyEvent(node, destElements[i]);
- }
- } else {
- cloneCopyEvent(elem, clone);
- }
- }
-
- // Preserve script evaluation history
- destElements = getAll(clone, "script");
- if (destElements.length > 0) {
- setGlobalEval(destElements, !inPage && getAll(elem, "script"));
- }
-
- destElements = srcElements = node = null;
-
- // Return the cloned set
- return clone;
- },
-
- buildFragment: function (elems, context, scripts, selection) {
- var j, elem, contains,
- tmp, tag, tbody, wrap,
- l = elems.length,
-
- // Ensure a safe fragment
- safe = createSafeFragment(context),
-
- nodes = [],
- i = 0;
-
- for (; i < l; i++) {
- elem = elems[i];
-
- if (elem || elem === 0) {
-
- // Add nodes directly
- if (jQuery.type(elem) === "object") {
- jQuery.merge(nodes, elem.nodeType ? [elem] : elem);
-
- // Convert non-html into a text node
- } else if (!rhtml.test(elem)) {
- nodes.push(context.createTextNode(elem));
-
- // Convert html into DOM nodes
- } else {
- tmp = tmp || safe.appendChild(context.createElement("div"));
-
- // Deserialize a standard representation
- tag = (rtagName.exec(elem) || ["", ""])[1].toLowerCase();
- wrap = wrapMap[tag] || wrapMap._default;
-
- tmp.innerHTML = wrap[1] + elem.replace(rxhtmlTag, "<$1></$2>") + wrap[2];
-
- // Descend through wrappers to the right content
- j = wrap[0];
- while (j--) {
- tmp = tmp.lastChild;
- }
-
- // Manually add leading whitespace removed by IE
- if (!support.leadingWhitespace && rleadingWhitespace.test(elem)) {
- nodes.push(context.createTextNode(rleadingWhitespace.exec(elem)[0]));
- }
-
- // Remove IE's autoinserted <tbody> from table fragments
- if (!support.tbody) {
-
- // String was a <table>, *may* have spurious <tbody>
- elem = tag === "table" && !rtbody.test(elem) ?
- tmp.firstChild :
-
- // String was a bare <thead> or <tfoot>
- wrap[1] === "<table>" && !rtbody.test(elem) ?
- tmp :
- 0;
-
- j = elem && elem.childNodes.length;
- while (j--) {
- if (jQuery.nodeName((tbody = elem.childNodes[j]), "tbody") && !tbody.childNodes.length) {
- elem.removeChild(tbody);
- }
- }
- }
-
- jQuery.merge(nodes, tmp.childNodes);
-
- // Fix #12392 for WebKit and IE > 9
- tmp.textContent = "";
-
- // Fix #12392 for oldIE
- while (tmp.firstChild) {
- tmp.removeChild(tmp.firstChild);
- }
-
- // Remember the top-level container for proper cleanup
- tmp = safe.lastChild;
- }
- }
- }
-
- // Fix #11356: Clear elements from fragment
- if (tmp) {
- safe.removeChild(tmp);
- }
-
- // Reset defaultChecked for any radios and checkboxes
- // about to be appended to the DOM in IE 6/7 (#8060)
- if (!support.appendChecked) {
- jQuery.grep(getAll(nodes, "input"), fixDefaultChecked);
- }
-
- i = 0;
- while ((elem = nodes[i++])) {
-
- // #4087 - If origin and destination elements are the same, and this is
- // that element, do not do anything
- if (selection && jQuery.inArray(elem, selection) !== -1) {
- continue;
- }
-
- contains = jQuery.contains(elem.ownerDocument, elem);
-
- // Append to fragment
- tmp = getAll(safe.appendChild(elem), "script");
-
- // Preserve script evaluation history
- if (contains) {
- setGlobalEval(tmp);
- }
-
- // Capture executables
- if (scripts) {
- j = 0;
- while ((elem = tmp[j++])) {
- if (rscriptType.test(elem.type || "")) {
- scripts.push(elem);
- }
- }
- }
- }
-
- tmp = null;
-
- return safe;
- },
-
- cleanData: function (elems, /* internal */ acceptData) {
- var elem, type, id, data,
- i = 0,
- internalKey = jQuery.expando,
- cache = jQuery.cache,
- deleteExpando = support.deleteExpando,
- special = jQuery.event.special;
-
- for (; (elem = elems[i]) != null; i++) {
- if (acceptData || jQuery.acceptData(elem)) {
-
- id = elem[internalKey];
- data = id && cache[id];
-
- if (data) {
- if (data.events) {
- for (type in data.events) {
- if (special[type]) {
- jQuery.event.remove(elem, type);
-
- // This is a shortcut to avoid jQuery.event.remove's overhead
- } else {
- jQuery.removeEvent(elem, type, data.handle);
- }
- }
- }
-
- // Remove cache only if it was not already removed by jQuery.event.remove
- if (cache[id]) {
-
- delete cache[id];
-
- // IE does not allow us to delete expando properties from nodes,
- // nor does it have a removeAttribute function on Document nodes;
- // we must handle all of these cases
- if (deleteExpando) {
- delete elem[internalKey];
-
- } else if (typeof elem.removeAttribute !== strundefined) {
- elem.removeAttribute(internalKey);
-
- } else {
- elem[internalKey] = null;
- }
-
- deletedIds.push(id);
- }
- }
- }
- }
- }
- });
-
- jQuery.fn.extend({
- text: function (value) {
- return access(this, function (value) {
- return value === undefined ?
- jQuery.text(this) :
- this.empty().append(( this[0] && this[0].ownerDocument || document ).createTextNode(value));
- }, null, value, arguments.length);
- },
-
- append: function () {
- return this.domManip(arguments, function (elem) {
- if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
- var target = manipulationTarget(this, elem);
- target.appendChild(elem);
- }
- });
- },
-
- prepend: function () {
- return this.domManip(arguments, function (elem) {
- if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
- var target = manipulationTarget(this, elem);
- target.insertBefore(elem, target.firstChild);
- }
- });
- },
-
- before: function () {
- return this.domManip(arguments, function (elem) {
- if (this.parentNode) {
- this.parentNode.insertBefore(elem, this);
- }
- });
- },
-
- after: function () {
- return this.domManip(arguments, function (elem) {
- if (this.parentNode) {
- this.parentNode.insertBefore(elem, this.nextSibling);
- }
- });
- },
-
- remove: function (selector, keepData /* Internal Use Only */) {
- var elem,
- elems = selector ? jQuery.filter(selector, this) : this,
- i = 0;
-
- for (; (elem = elems[i]) != null; i++) {
-
- if (!keepData && elem.nodeType === 1) {
- jQuery.cleanData(getAll(elem));
- }
-
- if (elem.parentNode) {
- if (keepData && jQuery.contains(elem.ownerDocument, elem)) {
- setGlobalEval(getAll(elem, "script"));
- }
- elem.parentNode.removeChild(elem);
- }
- }
-
- return this;
- },
-
- empty: function () {
- var elem,
- i = 0;
-
- for (; (elem = this[i]) != null; i++) {
- // Remove element nodes and prevent memory leaks
- if (elem.nodeType === 1) {
- jQuery.cleanData(getAll(elem, false));
- }
-
- // Remove any remaining nodes
- while (elem.firstChild) {
- elem.removeChild(elem.firstChild);
- }
-
- // If this is a select, ensure that it displays empty (#12336)
- // Support: IE<9
- if (elem.options && jQuery.nodeName(elem, "select")) {
- elem.options.length = 0;
- }
- }
-
- return this;
- },
-
- clone: function (dataAndEvents, deepDataAndEvents) {
- dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
- deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
-
- return this.map(function () {
- return jQuery.clone(this, dataAndEvents, deepDataAndEvents);
- });
- },
-
- html: function (value) {
- return access(this, function (value) {
- var elem = this[0] || {},
- i = 0,
- l = this.length;
-
- if (value === undefined) {
- return elem.nodeType === 1 ?
- elem.innerHTML.replace(rinlinejQuery, "") :
- undefined;
- }
-
- // See if we can take a shortcut and just use innerHTML
- if (typeof value === "string" && !rnoInnerhtml.test(value) &&
- ( support.htmlSerialize || !rnoshimcache.test(value) ) &&
- ( support.leadingWhitespace || !rleadingWhitespace.test(value) ) && !wrapMap[(rtagName.exec(value) || ["", ""])[1].toLowerCase()]) {
-
- value = value.replace(rxhtmlTag, "<$1></$2>");
-
- try {
- for (; i < l; i++) {
- // Remove element nodes and prevent memory leaks
- elem = this[i] || {};
- if (elem.nodeType === 1) {
- jQuery.cleanData(getAll(elem, false));
- elem.innerHTML = value;
- }
- }
-
- elem = 0;
-
- // If using innerHTML throws an exception, use the fallback method
- } catch (e) {
- }
- }
-
- if (elem) {
- this.empty().append(value);
- }
- }, null, value, arguments.length);
- },
-
- replaceWith: function () {
- var arg = arguments[0];
-
- // Make the changes, replacing each context element with the new content
- this.domManip(arguments, function (elem) {
- arg = this.parentNode;
-
- jQuery.cleanData(getAll(this));
-
- if (arg) {
- arg.replaceChild(elem, this);
- }
- });
-
- // Force removal if there was no new content (e.g., from empty arguments)
- return arg && (arg.length || arg.nodeType) ? this : this.remove();
- },
-
- detach: function (selector) {
- return this.remove(selector, true);
- },
-
- domManip: function (args, callback) {
-
- // Flatten any nested arrays
- args = concat.apply([], args);
-
- var first, node, hasScripts,
- scripts, doc, fragment,
- i = 0,
- l = this.length,
- set = this,
- iNoClone = l - 1,
- value = args[0],
- isFunction = jQuery.isFunction(value);
-
- // We can't cloneNode fragments that contain checked, in WebKit
- if (isFunction ||
- ( l > 1 && typeof value === "string" && !support.checkClone && rchecked.test(value) )) {
- return this.each(function (index) {
- var self = set.eq(index);
- if (isFunction) {
- args[0] = value.call(this, index, self.html());
- }
- self.domManip(args, callback);
- });
- }
-
- if (l) {
- fragment = jQuery.buildFragment(args, this[0].ownerDocument, false, this);
- first = fragment.firstChild;
-
- if (fragment.childNodes.length === 1) {
- fragment = first;
- }
-
- if (first) {
- scripts = jQuery.map(getAll(fragment, "script"), disableScript);
- hasScripts = scripts.length;
-
- // Use the original fragment for the last item instead of the first because it can end up
- // being emptied incorrectly in certain situations (#8070).
- for (; i < l; i++) {
- node = fragment;
-
- if (i !== iNoClone) {
- node = jQuery.clone(node, true, true);
-
- // Keep references to cloned scripts for later restoration
- if (hasScripts) {
- jQuery.merge(scripts, getAll(node, "script"));
- }
- }
-
- callback.call(this[i], node, i);
- }
-
- if (hasScripts) {
- doc = scripts[scripts.length - 1].ownerDocument;
-
- // Reenable scripts
- jQuery.map(scripts, restoreScript);
-
- // Evaluate executable scripts on first document insertion
- for (i = 0; i < hasScripts; i++) {
- node = scripts[i];
- if (rscriptType.test(node.type || "") && !jQuery._data(node, "globalEval") && jQuery.contains(doc, node)) {
-
- if (node.src) {
- // Optional AJAX dependency, but won't run scripts if not present
- if (jQuery._evalUrl) {
- jQuery._evalUrl(node.src);
- }
- } else {
- jQuery.globalEval(( node.text || node.textContent || node.innerHTML || "" ).replace(rcleanScript, ""));
- }
- }
- }
- }
-
- // Fix #11809: Avoid leaking memory
- fragment = first = null;
- }
- }
-
- return this;
- }
- });
-
- jQuery.each({
- appendTo: "append",
- prependTo: "prepend",
- insertBefore: "before",
- insertAfter: "after",
- replaceAll: "replaceWith"
- }, function (name, original) {
- jQuery.fn[name] = function (selector) {
- var elems,
- i = 0,
- ret = [],
- insert = jQuery(selector),
- last = insert.length - 1;
-
- for (; i <= last; i++) {
- elems = i === last ? this : this.clone(true);
- jQuery(insert[i])[original](elems);
-
- // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get()
- push.apply(ret, elems.get());
- }
-
- return this.pushStack(ret);
- };
- });
-
-
- var iframe,
- elemdisplay = {};
-
- /**
- * Retrieve the actual display of a element
- * @param {String} name nodeName of the element
- * @param {Object} doc Document object
- */
-// Called only from within defaultDisplay
- function actualDisplay(name, doc) {
- var style,
- elem = jQuery(doc.createElement(name)).appendTo(doc.body),
-
- // getDefaultComputedStyle might be reliably used only on attached element
- display = window.getDefaultComputedStyle && ( style = window.getDefaultComputedStyle(elem[0]) ) ?
-
- // Use of this method is a temporary fix (more like optmization) until something better comes along,
- // since it was removed from specification and supported only in FF
- style.display : jQuery.css(elem[0], "display");
-
- // We don't have any data stored on the element,
- // so use "detach" method as fast way to get rid of the element
- elem.detach();
-
- return display;
- }
-
- /**
- * Try to determine the default display value of an element
- * @param {String} nodeName
- */
- function defaultDisplay(nodeName) {
- var doc = document,
- display = elemdisplay[nodeName];
-
- if (!display) {
- display = actualDisplay(nodeName, doc);
-
- // If the simple way fails, read from inside an iframe
- if (display === "none" || !display) {
-
- // Use the already-created iframe if possible
- iframe = (iframe || jQuery("<iframe frameborder='0' width='0' height='0'/>")).appendTo(doc.documentElement);
-
- // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse
- doc = ( iframe[0].contentWindow || iframe[0].contentDocument ).document;
-
- // Support: IE
- doc.write();
- doc.close();
-
- display = actualDisplay(nodeName, doc);
- iframe.detach();
- }
-
- // Store the correct default display
- elemdisplay[nodeName] = display;
- }
-
- return display;
- }
-
-
- (function () {
- var shrinkWrapBlocksVal;
-
- support.shrinkWrapBlocks = function () {
- if (shrinkWrapBlocksVal != null) {
- return shrinkWrapBlocksVal;
- }
-
- // Will be changed later if needed.
- shrinkWrapBlocksVal = false;
-
- // Minified: var b,c,d
- var div, body, container;
-
- body = document.getElementsByTagName("body")[0];
- if (!body || !body.style) {
- // Test fired too early or in an unsupported environment, exit.
- return;
- }
-
- // Setup
- div = document.createElement("div");
- container = document.createElement("div");
- container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px";
- body.appendChild(container).appendChild(div);
-
- // Support: IE6
- // Check if elements with layout shrink-wrap their children
- if (typeof div.style.zoom !== strundefined) {
- // Reset CSS: box-sizing; display; margin; border
- div.style.cssText =
- // Support: Firefox<29, Android 2.3
- // Vendor-prefix box-sizing
- "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;" +
- "box-sizing:content-box;display:block;margin:0;border:0;" +
- "padding:1px;width:1px;zoom:1";
- div.appendChild(document.createElement("div")).style.width = "5px";
- shrinkWrapBlocksVal = div.offsetWidth !== 3;
- }
-
- body.removeChild(container);
-
- return shrinkWrapBlocksVal;
- };
-
- })();
- var rmargin = (/^margin/);
-
- var rnumnonpx = new RegExp("^(" + pnum + ")(?!px)[a-z%]+$", "i");
-
-
- var getStyles, curCSS,
- rposition = /^(top|right|bottom|left)$/;
-
- if (window.getComputedStyle) {
- getStyles = function (elem) {
- // Support: IE<=11+, Firefox<=30+ (#15098, #14150)
- // IE throws on elements created in popups
- // FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
- if (elem.ownerDocument.defaultView.opener) {
- return elem.ownerDocument.defaultView.getComputedStyle(elem, null);
- }
-
- return window.getComputedStyle(elem, null);
- };
-
- curCSS = function (elem, name, computed) {
- var width, minWidth, maxWidth, ret,
- style = elem.style;
-
- computed = computed || getStyles(elem);
-
- // getPropertyValue is only needed for .css('filter') in IE9, see #12537
- ret = computed ? computed.getPropertyValue(name) || computed[name] : undefined;
-
- if (computed) {
-
- if (ret === "" && !jQuery.contains(elem.ownerDocument, elem)) {
- ret = jQuery.style(elem, name);
- }
-
- // A tribute to the "awesome hack by Dean Edwards"
- // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right
- // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
- // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
- if (rnumnonpx.test(ret) && rmargin.test(name)) {
-
- // Remember the original values
- width = style.width;
- minWidth = style.minWidth;
- maxWidth = style.maxWidth;
-
- // Put in the new values to get a computed value out
- style.minWidth = style.maxWidth = style.width = ret;
- ret = computed.width;
-
- // Revert the changed values
- style.width = width;
- style.minWidth = minWidth;
- style.maxWidth = maxWidth;
- }
- }
-
- // Support: IE
- // IE returns zIndex value as an integer.
- return ret === undefined ?
- ret :
- ret + "";
- };
- } else if (document.documentElement.currentStyle) {
- getStyles = function (elem) {
- return elem.currentStyle;
- };
-
- curCSS = function (elem, name, computed) {
- var left, rs, rsLeft, ret,
- style = elem.style;
-
- computed = computed || getStyles(elem);
- ret = computed ? computed[name] : undefined;
-
- // Avoid setting ret to empty string here
- // so we don't default to auto
- if (ret == null && style && style[name]) {
- ret = style[name];
- }
-
- // From the awesome hack by Dean Edwards
- // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
-
- // If we're not dealing with a regular pixel number
- // but a number that has a weird ending, we need to convert it to pixels
- // but not position css attributes, as those are proportional to the parent element instead
- // and we can't measure the parent instead because it might trigger a "stacking dolls" problem
- if (rnumnonpx.test(ret) && !rposition.test(name)) {
-
- // Remember the original values
- left = style.left;
- rs = elem.runtimeStyle;
- rsLeft = rs && rs.left;
-
- // Put in the new values to get a computed value out
- if (rsLeft) {
- rs.left = elem.currentStyle.left;
- }
- style.left = name === "fontSize" ? "1em" : ret;
- ret = style.pixelLeft + "px";
-
- // Revert the changed values
- style.left = left;
- if (rsLeft) {
- rs.left = rsLeft;
- }
- }
-
- // Support: IE
- // IE returns zIndex value as an integer.
- return ret === undefined ?
- ret :
- ret + "" || "auto";
- };
- }
-
-
- function addGetHookIf(conditionFn, hookFn) {
- // Define the hook, we'll check on the first run if it's really needed.
- return {
- get: function () {
- var condition = conditionFn();
-
- if (condition == null) {
- // The test was not ready at this point; screw the hook this time
- // but check again when needed next time.
- return;
- }
-
- if (condition) {
- // Hook not needed (or it's not possible to use it due to missing dependency),
- // remove it.
- // Since there are no other hooks for marginRight, remove the whole object.
- delete this.get;
- return;
- }
-
- // Hook needed; redefine it so that the support test is not executed again.
-
- return (this.get = hookFn).apply(this, arguments);
- }
- };
- }
-
-
- (function () {
- // Minified: var b,c,d,e,f,g, h,i
- var div, style, a, pixelPositionVal, boxSizingReliableVal,
- reliableHiddenOffsetsVal, reliableMarginRightVal;
-
- // Setup
- div = document.createElement("div");
- div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
- a = div.getElementsByTagName("a")[0];
- style = a && a.style;
-
- // Finish early in limited (non-browser) environments
- if (!style) {
- return;
- }
-
- style.cssText = "float:left;opacity:.5";
-
- // Support: IE<9
- // Make sure that element opacity exists (as opposed to filter)
- support.opacity = style.opacity === "0.5";
-
- // Verify style float existence
- // (IE uses styleFloat instead of cssFloat)
- support.cssFloat = !!style.cssFloat;
-
- div.style.backgroundClip = "content-box";
- div.cloneNode(true).style.backgroundClip = "";
- support.clearCloneStyle = div.style.backgroundClip === "content-box";
-
- // Support: Firefox<29, Android 2.3
- // Vendor-prefix box-sizing
- support.boxSizing = style.boxSizing === "" || style.MozBoxSizing === "" ||
- style.WebkitBoxSizing === "";
-
- jQuery.extend(support, {
- reliableHiddenOffsets: function () {
- if (reliableHiddenOffsetsVal == null) {
- computeStyleTests();
- }
- return reliableHiddenOffsetsVal;
- },
-
- boxSizingReliable: function () {
- if (boxSizingReliableVal == null) {
- computeStyleTests();
- }
- return boxSizingReliableVal;
- },
-
- pixelPosition: function () {
- if (pixelPositionVal == null) {
- computeStyleTests();
- }
- return pixelPositionVal;
- },
-
- // Support: Android 2.3
- reliableMarginRight: function () {
- if (reliableMarginRightVal == null) {
- computeStyleTests();
- }
- return reliableMarginRightVal;
- }
- });
-
- function computeStyleTests() {
- // Minified: var b,c,d,j
- var div, body, container, contents;
-
- body = document.getElementsByTagName("body")[0];
- if (!body || !body.style) {
- // Test fired too early or in an unsupported environment, exit.
- return;
- }
-
- // Setup
- div = document.createElement("div");
- container = document.createElement("div");
- container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px";
- body.appendChild(container).appendChild(div);
-
- div.style.cssText =
- // Support: Firefox<29, Android 2.3
- // Vendor-prefix box-sizing
- "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;" +
- "box-sizing:border-box;display:block;margin-top:1%;top:1%;" +
- "border:1px;padding:1px;width:4px;position:absolute";
-
- // Support: IE<9
- // Assume reasonable values in the absence of getComputedStyle
- pixelPositionVal = boxSizingReliableVal = false;
- reliableMarginRightVal = true;
-
- // Check for getComputedStyle so that this code is not run in IE<9.
- if (window.getComputedStyle) {
- pixelPositionVal = ( window.getComputedStyle(div, null) || {} ).top !== "1%";
- boxSizingReliableVal =
- ( window.getComputedStyle(div, null) || {width: "4px"} ).width === "4px";
-
- // Support: Android 2.3
- // Div with explicit width and no margin-right incorrectly
- // gets computed margin-right based on width of container (#3333)
- // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
- contents = div.appendChild(document.createElement("div"));
-
- // Reset CSS: box-sizing; display; margin; border; padding
- contents.style.cssText = div.style.cssText =
- // Support: Firefox<29, Android 2.3
- // Vendor-prefix box-sizing
- "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;" +
- "box-sizing:content-box;display:block;margin:0;border:0;padding:0";
- contents.style.marginRight = contents.style.width = "0";
- div.style.width = "1px";
-
- reliableMarginRightVal = !parseFloat(( window.getComputedStyle(contents, null) || {} ).marginRight);
-
- div.removeChild(contents);
- }
-
- // Support: IE8
- // Check if table cells still have offsetWidth/Height when they are set
- // to display:none and there are still other visible table cells in a
- // table row; if so, offsetWidth/Height are not reliable for use when
- // determining if an element has been hidden directly using
- // display:none (it is still safe to use offsets if a parent element is
- // hidden; don safety goggles and see bug #4512 for more information).
- div.innerHTML = "<table><tr><td></td><td>t</td></tr></table>";
- contents = div.getElementsByTagName("td");
- contents[0].style.cssText = "margin:0;border:0;padding:0;display:none";
- reliableHiddenOffsetsVal = contents[0].offsetHeight === 0;
- if (reliableHiddenOffsetsVal) {
- contents[0].style.display = "";
- contents[1].style.display = "none";
- reliableHiddenOffsetsVal = contents[0].offsetHeight === 0;
- }
-
- body.removeChild(container);
- }
-
- })();
-
-
-// A method for quickly swapping in/out CSS properties to get correct calculations.
- jQuery.swap = function (elem, options, callback, args) {
- var ret, name,
- old = {};
-
- // Remember the old values, and insert the new ones
- for (name in options) {
- old[name] = elem.style[name];
- elem.style[name] = options[name];
- }
-
- ret = callback.apply(elem, args || []);
-
- // Revert the old values
- for (name in options) {
- elem.style[name] = old[name];
- }
-
- return ret;
- };
-
-
- var
- ralpha = /alpha\([^)]*\)/i,
- ropacity = /opacity\s*=\s*([^)]*)/,
-
- // swappable if display is none or starts with table except "table", "table-cell", or "table-caption"
- // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
- rdisplayswap = /^(none|table(?!-c[ea]).+)/,
- rnumsplit = new RegExp("^(" + pnum + ")(.*)$", "i"),
- rrelNum = new RegExp("^([+-])=(" + pnum + ")", "i"),
-
- cssShow = {position: "absolute", visibility: "hidden", display: "block"},
- cssNormalTransform = {
- letterSpacing: "0",
- fontWeight: "400"
- },
-
- cssPrefixes = ["Webkit", "O", "Moz", "ms"];
-
-
-// return a css property mapped to a potentially vendor prefixed property
- function vendorPropName(style, name) {
-
- // shortcut for names that are not vendor prefixed
- if (name in style) {
- return name;
- }
-
- // check for vendor prefixed names
- var capName = name.charAt(0).toUpperCase() + name.slice(1),
- origName = name,
- i = cssPrefixes.length;
-
- while (i--) {
- name = cssPrefixes[i] + capName;
- if (name in style) {
- return name;
- }
- }
-
- return origName;
- }
-
- function showHide(elements, show) {
- var display, elem, hidden,
- values = [],
- index = 0,
- length = elements.length;
-
- for (; index < length; index++) {
- elem = elements[index];
- if (!elem.style) {
- continue;
- }
-
- values[index] = jQuery._data(elem, "olddisplay");
- display = elem.style.display;
- if (show) {
- // Reset the inline display of this element to learn if it is
- // being hidden by cascaded rules or not
- if (!values[index] && display === "none") {
- elem.style.display = "";
- }
-
- // Set elements which have been overridden with display: none
- // in a stylesheet to whatever the default browser style is
- // for such an element
- if (elem.style.display === "" && isHidden(elem)) {
- values[index] = jQuery._data(elem, "olddisplay", defaultDisplay(elem.nodeName));
- }
- } else {
- hidden = isHidden(elem);
-
- if (display && display !== "none" || !hidden) {
- jQuery._data(elem, "olddisplay", hidden ? display : jQuery.css(elem, "display"));
- }
- }
- }
-
- // Set the display of most of the elements in a second loop
- // to avoid the constant reflow
- for (index = 0; index < length; index++) {
- elem = elements[index];
- if (!elem.style) {
- continue;
- }
- if (!show || elem.style.display === "none" || elem.style.display === "") {
- elem.style.display = show ? values[index] || "" : "none";
- }
- }
-
- return elements;
- }
-
- function setPositiveNumber(elem, value, subtract) {
- var matches = rnumsplit.exec(value);
- return matches ?
- // Guard against undefined "subtract", e.g., when used as in cssHooks
- Math.max(0, matches[1] - ( subtract || 0 )) + ( matches[2] || "px" ) :
- value;
- }
-
- function augmentWidthOrHeight(elem, name, extra, isBorderBox, styles) {
- var i = extra === ( isBorderBox ? "border" : "content" ) ?
- // If we already have the right measurement, avoid augmentation
- 4 :
- // Otherwise initialize for horizontal or vertical properties
- name === "width" ? 1 : 0,
-
- val = 0;
-
- for (; i < 4; i += 2) {
- // both box models exclude margin, so add it if we want it
- if (extra === "margin") {
- val += jQuery.css(elem, extra + cssExpand[i], true, styles);
- }
-
- if (isBorderBox) {
- // border-box includes padding, so remove it if we want content
- if (extra === "content") {
- val -= jQuery.css(elem, "padding" + cssExpand[i], true, styles);
- }
-
- // at this point, extra isn't border nor margin, so remove border
- if (extra !== "margin") {
- val -= jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles);
- }
- } else {
- // at this point, extra isn't content, so add padding
- val += jQuery.css(elem, "padding" + cssExpand[i], true, styles);
-
- // at this point, extra isn't content nor padding, so add border
- if (extra !== "padding") {
- val += jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles);
- }
- }
- }
-
- return val;
- }
-
- function getWidthOrHeight(elem, name, extra) {
-
- // Start with offset property, which is equivalent to the border-box value
- var valueIsBorderBox = true,
- val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
- styles = getStyles(elem),
- isBorderBox = support.boxSizing && jQuery.css(elem, "boxSizing", false, styles) === "border-box";
-
- // some non-html elements return undefined for offsetWidth, so check for null/undefined
- // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
- // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668
- if (val <= 0 || val == null) {
- // Fall back to computed then uncomputed css if necessary
- val = curCSS(elem, name, styles);
- if (val < 0 || val == null) {
- val = elem.style[name];
- }
-
- // Computed unit is not pixels. Stop here and return.
- if (rnumnonpx.test(val)) {
- return val;
- }
-
- // we need the check for style in case a browser which returns unreliable values
- // for getComputedStyle silently falls back to the reliable elem.style
- valueIsBorderBox = isBorderBox && ( support.boxSizingReliable() || val === elem.style[name] );
-
- // Normalize "", auto, and prepare for extra
- val = parseFloat(val) || 0;
- }
-
- // use the active box-sizing model to add/subtract irrelevant styles
- return ( val +
- augmentWidthOrHeight(
- elem,
- name,
- extra || ( isBorderBox ? "border" : "content" ),
- valueIsBorderBox,
- styles
- )
- ) + "px";
- }
-
- jQuery.extend({
- // Add in style property hooks for overriding the default
- // behavior of getting and setting a style property
- cssHooks: {
- opacity: {
- get: function (elem, computed) {
- if (computed) {
- // We should always get a number back from opacity
- var ret = curCSS(elem, "opacity");
- return ret === "" ? "1" : ret;
- }
- }
- }
- },
-
- // Don't automatically add "px" to these possibly-unitless properties
- cssNumber: {
- "columnCount": true,
- "fillOpacity": true,
- "flexGrow": true,
- "flexShrink": true,
- "fontWeight": true,
- "lineHeight": true,
- "opacity": true,
- "order": true,
- "orphans": true,
- "widows": true,
- "zIndex": true,
- "zoom": true
- },
-
- // Add in properties whose names you wish to fix before
- // setting or getting the value
- cssProps: {
- // normalize float css property
- "float": support.cssFloat ? "cssFloat" : "styleFloat"
- },
-
- // Get and set the style property on a DOM Node
- style: function (elem, name, value, extra) {
- // Don't set styles on text and comment nodes
- if (!elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style) {
- return;
- }
-
- // Make sure that we're working with the right name
- var ret, type, hooks,
- origName = jQuery.camelCase(name),
- style = elem.style;
-
- name = jQuery.cssProps[origName] || ( jQuery.cssProps[origName] = vendorPropName(style, origName) );
-
- // gets hook for the prefixed version
- // followed by the unprefixed version
- hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];
-
- // Check if we're setting a value
- if (value !== undefined) {
- type = typeof value;
-
- // convert relative number strings (+= or -=) to relative numbers. #7345
- if (type === "string" && (ret = rrelNum.exec(value))) {
- value = ( ret[1] + 1 ) * ret[2] + parseFloat(jQuery.css(elem, name));
- // Fixes bug #9237
- type = "number";
- }
-
- // Make sure that null and NaN values aren't set. See: #7116
- if (value == null || value !== value) {
- return;
- }
-
- // If a number was passed in, add 'px' to the (except for certain CSS properties)
- if (type === "number" && !jQuery.cssNumber[origName]) {
- value += "px";
- }
-
- // Fixes #8908, it can be done more correctly by specifing setters in cssHooks,
- // but it would mean to define eight (for every problematic property) identical functions
- if (!support.clearCloneStyle && value === "" && name.indexOf("background") === 0) {
- style[name] = "inherit";
- }
-
- // If a hook was provided, use that value, otherwise just set the specified value
- if (!hooks || !("set" in hooks) || (value = hooks.set(elem, value, extra)) !== undefined) {
-
- // Support: IE
- // Swallow errors from 'invalid' CSS values (#5509)
- try {
- style[name] = value;
- } catch (e) {
- }
- }
-
- } else {
- // If a hook was provided get the non-computed value from there
- if (hooks && "get" in hooks && (ret = hooks.get(elem, false, extra)) !== undefined) {
- return ret;
- }
-
- // Otherwise just get the value from the style object
- return style[name];
- }
- },
-
- css: function (elem, name, extra, styles) {
- var num, val, hooks,
- origName = jQuery.camelCase(name);
-
- // Make sure that we're working with the right name
- name = jQuery.cssProps[origName] || ( jQuery.cssProps[origName] = vendorPropName(elem.style, origName) );
-
- // gets hook for the prefixed version
- // followed by the unprefixed version
- hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];
-
- // If a hook was provided get the computed value from there
- if (hooks && "get" in hooks) {
- val = hooks.get(elem, true, extra);
- }
-
- // Otherwise, if a way to get the computed value exists, use that
- if (val === undefined) {
- val = curCSS(elem, name, styles);
- }
-
- //convert "normal" to computed value
- if (val === "normal" && name in cssNormalTransform) {
- val = cssNormalTransform[name];
- }
-
- // Return, converting to number if forced or a qualifier was provided and val looks numeric
- if (extra === "" || extra) {
- num = parseFloat(val);
- return extra === true || jQuery.isNumeric(num) ? num || 0 : val;
- }
- return val;
- }
- });
-
- jQuery.each(["height", "width"], function (i, name) {
- jQuery.cssHooks[name] = {
- get: function (elem, computed, extra) {
- if (computed) {
- // certain elements can have dimension info if we invisibly show them
- // however, it must have a current display style that would benefit from this
- return rdisplayswap.test(jQuery.css(elem, "display")) && elem.offsetWidth === 0 ?
- jQuery.swap(elem, cssShow, function () {
- return getWidthOrHeight(elem, name, extra);
- }) :
- getWidthOrHeight(elem, name, extra);
- }
- },
-
- set: function (elem, value, extra) {
- var styles = extra && getStyles(elem);
- return setPositiveNumber(elem, value, extra ?
- augmentWidthOrHeight(
- elem,
- name,
- extra,
- support.boxSizing && jQuery.css(elem, "boxSizing", false, styles) === "border-box",
- styles
- ) : 0
- );
- }
- };
- });
-
- if (!support.opacity) {
- jQuery.cssHooks.opacity = {
- get: function (elem, computed) {
- // IE uses filters for opacity
- return ropacity.test((computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "") ?
- ( 0.01 * parseFloat(RegExp.$1) ) + "" :
- computed ? "1" : "";
- },
-
- set: function (elem, value) {
- var style = elem.style,
- currentStyle = elem.currentStyle,
- opacity = jQuery.isNumeric(value) ? "alpha(opacity=" + value * 100 + ")" : "",
- filter = currentStyle && currentStyle.filter || style.filter || "";
-
- // IE has trouble with opacity if it does not have layout
- // Force it by setting the zoom level
- style.zoom = 1;
-
- // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652
- // if value === "", then remove inline opacity #12685
- if (( value >= 1 || value === "" ) &&
- jQuery.trim(filter.replace(ralpha, "")) === "" &&
- style.removeAttribute) {
-
- // Setting style.filter to null, "" & " " still leave "filter:" in the cssText
- // if "filter:" is present at all, clearType is disabled, we want to avoid this
- // style.removeAttribute is IE Only, but so apparently is this code path...
- style.removeAttribute("filter");
-
- // if there is no filter style applied in a css rule or unset inline opacity, we are done
- if (value === "" || currentStyle && !currentStyle.filter) {
- return;
- }
- }
-
- // otherwise, set new filter values
- style.filter = ralpha.test(filter) ?
- filter.replace(ralpha, opacity) :
- filter + " " + opacity;
- }
- };
- }
-
- jQuery.cssHooks.marginRight = addGetHookIf(support.reliableMarginRight,
- function (elem, computed) {
- if (computed) {
- // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
- // Work around by temporarily setting element display to inline-block
- return jQuery.swap(elem, {"display": "inline-block"},
- curCSS, [elem, "marginRight"]);
- }
- }
- );
-
-// These hooks are used by animate to expand properties
- jQuery.each({
- margin: "",
- padding: "",
- border: "Width"
- }, function (prefix, suffix) {
- jQuery.cssHooks[prefix + suffix] = {
- expand: function (value) {
- var i = 0,
- expanded = {},
-
- // assumes a single number if not a string
- parts = typeof value === "string" ? value.split(" ") : [value];
-
- for (; i < 4; i++) {
- expanded[prefix + cssExpand[i] + suffix] =
- parts[i] || parts[i - 2] || parts[0];
- }
-
- return expanded;
- }
- };
-
- if (!rmargin.test(prefix)) {
- jQuery.cssHooks[prefix + suffix].set = setPositiveNumber;
- }
- });
-
- jQuery.fn.extend({
- css: function (name, value) {
- return access(this, function (elem, name, value) {
- var styles, len,
- map = {},
- i = 0;
-
- if (jQuery.isArray(name)) {
- styles = getStyles(elem);
- len = name.length;
-
- for (; i < len; i++) {
- map[name[i]] = jQuery.css(elem, name[i], false, styles);
- }
-
- return map;
- }
-
- return value !== undefined ?
- jQuery.style(elem, name, value) :
- jQuery.css(elem, name);
- }, name, value, arguments.length > 1);
- },
- show: function () {
- return showHide(this, true);
- },
- hide: function () {
- return showHide(this);
- },
- toggle: function (state) {
- if (typeof state === "boolean") {
- return state ? this.show() : this.hide();
- }
-
- return this.each(function () {
- if (isHidden(this)) {
- jQuery(this).show();
- } else {
- jQuery(this).hide();
- }
- });
- }
- });
-
-
- function Tween(elem, options, prop, end, easing) {
- return new Tween.prototype.init(elem, options, prop, end, easing);
- }
-
- jQuery.Tween = Tween;
-
- Tween.prototype = {
- constructor: Tween,
- init: function (elem, options, prop, end, easing, unit) {
- this.elem = elem;
- this.prop = prop;
- this.easing = easing || "swing";
- this.options = options;
- this.start = this.now = this.cur();
- this.end = end;
- this.unit = unit || ( jQuery.cssNumber[prop] ? "" : "px" );
- },
- cur: function () {
- var hooks = Tween.propHooks[this.prop];
-
- return hooks && hooks.get ?
- hooks.get(this) :
- Tween.propHooks._default.get(this);
- },
- run: function (percent) {
- var eased,
- hooks = Tween.propHooks[this.prop];
-
- if (this.options.duration) {
- this.pos = eased = jQuery.easing[this.easing](
- percent, this.options.duration * percent, 0, 1, this.options.duration
- );
- } else {
- this.pos = eased = percent;
- }
- this.now = ( this.end - this.start ) * eased + this.start;
-
- if (this.options.step) {
- this.options.step.call(this.elem, this.now, this);
- }
-
- if (hooks && hooks.set) {
- hooks.set(this);
- } else {
- Tween.propHooks._default.set(this);
- }
- return this;
- }
- };
-
- Tween.prototype.init.prototype = Tween.prototype;
-
- Tween.propHooks = {
- _default: {
- get: function (tween) {
- var result;
-
- if (tween.elem[tween.prop] != null &&
- (!tween.elem.style || tween.elem.style[tween.prop] == null)) {
- return tween.elem[tween.prop];
- }
-
- // passing an empty string as a 3rd parameter to .css will automatically
- // attempt a parseFloat and fallback to a string if the parse fails
- // so, simple values such as "10px" are parsed to Float.
- // complex values such as "rotate(1rad)" are returned as is.
- result = jQuery.css(tween.elem, tween.prop, "");
- // Empty strings, null, undefined and "auto" are converted to 0.
- return !result || result === "auto" ? 0 : result;
- },
- set: function (tween) {
- // use step hook for back compat - use cssHook if its there - use .style if its
- // available and use plain properties where available
- if (jQuery.fx.step[tween.prop]) {
- jQuery.fx.step[tween.prop](tween);
- } else if (tween.elem.style && ( tween.elem.style[jQuery.cssProps[tween.prop]] != null || jQuery.cssHooks[tween.prop] )) {
- jQuery.style(tween.elem, tween.prop, tween.now + tween.unit);
- } else {
- tween.elem[tween.prop] = tween.now;
- }
- }
- }
- };
-
-// Support: IE <=9
-// Panic based approach to setting things on disconnected nodes
-
- Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
- set: function (tween) {
- if (tween.elem.nodeType && tween.elem.parentNode) {
- tween.elem[tween.prop] = tween.now;
- }
- }
- };
-
- jQuery.easing = {
- linear: function (p) {
- return p;
- },
- swing: function (p) {
- return 0.5 - Math.cos(p * Math.PI) / 2;
- }
- };
-
- jQuery.fx = Tween.prototype.init;
-
-// Back Compat <1.8 extension point
- jQuery.fx.step = {};
-
-
- var
- fxNow, timerId,
- rfxtypes = /^(?:toggle|show|hide)$/,
- rfxnum = new RegExp("^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i"),
- rrun = /queueHooks$/,
- animationPrefilters = [defaultPrefilter],
- tweeners = {
- "*": [function (prop, value) {
- var tween = this.createTween(prop, value),
- target = tween.cur(),
- parts = rfxnum.exec(value),
- unit = parts && parts[3] || ( jQuery.cssNumber[prop] ? "" : "px" ),
-
- // Starting value computation is required for potential unit mismatches
- start = ( jQuery.cssNumber[prop] || unit !== "px" && +target ) &&
- rfxnum.exec(jQuery.css(tween.elem, prop)),
- scale = 1,
- maxIterations = 20;
-
- if (start && start[3] !== unit) {
- // Trust units reported by jQuery.css
- unit = unit || start[3];
-
- // Make sure we update the tween properties later on
- parts = parts || [];
-
- // Iteratively approximate from a nonzero starting point
- start = +target || 1;
-
- do {
- // If previous iteration zeroed out, double until we get *something*
- // Use a string for doubling factor so we don't accidentally see scale as unchanged below
- scale = scale || ".5";
-
- // Adjust and apply
- start = start / scale;
- jQuery.style(tween.elem, prop, start + unit);
-
- // Update scale, tolerating zero or NaN from tween.cur()
- // And breaking the loop if scale is unchanged or perfect, or if we've just had enough
- } while (scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations);
- }
-
- // Update tween properties
- if (parts) {
- start = tween.start = +start || +target || 0;
- tween.unit = unit;
- // If a +=/-= token was provided, we're doing a relative animation
- tween.end = parts[1] ?
- start + ( parts[1] + 1 ) * parts[2] :
- +parts[2];
- }
-
- return tween;
- }]
- };
-
-// Animations created synchronously will run synchronously
- function createFxNow() {
- setTimeout(function () {
- fxNow = undefined;
- });
- return ( fxNow = jQuery.now() );
- }
-
-// Generate parameters to create a standard animation
- function genFx(type, includeWidth) {
- var which,
- attrs = {height: type},
- i = 0;
-
- // if we include width, step value is 1 to do all cssExpand values,
- // if we don't include width, step value is 2 to skip over Left and Right
- includeWidth = includeWidth ? 1 : 0;
- for (; i < 4; i += 2 - includeWidth) {
- which = cssExpand[i];
- attrs["margin" + which] = attrs["padding" + which] = type;
- }
-
- if (includeWidth) {
- attrs.opacity = attrs.width = type;
- }
-
- return attrs;
- }
-
- function createTween(value, prop, animation) {
- var tween,
- collection = ( tweeners[prop] || [] ).concat(tweeners["*"]),
- index = 0,
- length = collection.length;
- for (; index < length; index++) {
- if ((tween = collection[index].call(animation, prop, value))) {
-
- // we're done with this property
- return tween;
- }
- }
- }
-
- function defaultPrefilter(elem, props, opts) {
- /* jshint validthis: true */
- var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
- anim = this,
- orig = {},
- style = elem.style,
- hidden = elem.nodeType && isHidden(elem),
- dataShow = jQuery._data(elem, "fxshow");
-
- // handle queue: false promises
- if (!opts.queue) {
- hooks = jQuery._queueHooks(elem, "fx");
- if (hooks.unqueued == null) {
- hooks.unqueued = 0;
- oldfire = hooks.empty.fire;
- hooks.empty.fire = function () {
- if (!hooks.unqueued) {
- oldfire();
- }
- };
- }
- hooks.unqueued++;
-
- anim.always(function () {
- // doing this makes sure that the complete handler will be called
- // before this completes
- anim.always(function () {
- hooks.unqueued--;
- if (!jQuery.queue(elem, "fx").length) {
- hooks.empty.fire();
- }
- });
- });
- }
-
- // height/width overflow pass
- if (elem.nodeType === 1 && ( "height" in props || "width" in props )) {
- // Make sure that nothing sneaks out
- // Record all 3 overflow attributes because IE does not
- // change the overflow attribute when overflowX and
- // overflowY are set to the same value
- opts.overflow = [style.overflow, style.overflowX, style.overflowY];
-
- // Set display property to inline-block for height/width
- // animations on inline elements that are having width/height animated
- display = jQuery.css(elem, "display");
-
- // Test default display if display is currently "none"
- checkDisplay = display === "none" ?
- jQuery._data(elem, "olddisplay") || defaultDisplay(elem.nodeName) : display;
-
- if (checkDisplay === "inline" && jQuery.css(elem, "float") === "none") {
-
- // inline-level elements accept inline-block;
- // block-level elements need to be inline with layout
- if (!support.inlineBlockNeedsLayout || defaultDisplay(elem.nodeName) === "inline") {
- style.display = "inline-block";
- } else {
- style.zoom = 1;
- }
- }
- }
-
- if (opts.overflow) {
- style.overflow = "hidden";
- if (!support.shrinkWrapBlocks()) {
- anim.always(function () {
- style.overflow = opts.overflow[0];
- style.overflowX = opts.overflow[1];
- style.overflowY = opts.overflow[2];
- });
- }
- }
-
- // show/hide pass
- for (prop in props) {
- value = props[prop];
- if (rfxtypes.exec(value)) {
- delete props[prop];
- toggle = toggle || value === "toggle";
- if (value === ( hidden ? "hide" : "show" )) {
-
- // If there is dataShow left over from a stopped hide or show and we are going to proceed with show, we should pretend to be hidden
- if (value === "show" && dataShow && dataShow[prop] !== undefined) {
- hidden = true;
- } else {
- continue;
- }
- }
- orig[prop] = dataShow && dataShow[prop] || jQuery.style(elem, prop);
-
- // Any non-fx value stops us from restoring the original display value
- } else {
- display = undefined;
- }
- }
-
- if (!jQuery.isEmptyObject(orig)) {
- if (dataShow) {
- if ("hidden" in dataShow) {
- hidden = dataShow.hidden;
- }
- } else {
- dataShow = jQuery._data(elem, "fxshow", {});
- }
-
- // store state if its toggle - enables .stop().toggle() to "reverse"
- if (toggle) {
- dataShow.hidden = !hidden;
- }
- if (hidden) {
- jQuery(elem).show();
- } else {
- anim.done(function () {
- jQuery(elem).hide();
- });
- }
- anim.done(function () {
- var prop;
- jQuery._removeData(elem, "fxshow");
- for (prop in orig) {
- jQuery.style(elem, prop, orig[prop]);
- }
- });
- for (prop in orig) {
- tween = createTween(hidden ? dataShow[prop] : 0, prop, anim);
-
- if (!( prop in dataShow )) {
- dataShow[prop] = tween.start;
- if (hidden) {
- tween.end = tween.start;
- tween.start = prop === "width" || prop === "height" ? 1 : 0;
- }
- }
- }
-
- // If this is a noop like .hide().hide(), restore an overwritten display value
- } else if ((display === "none" ? defaultDisplay(elem.nodeName) : display) === "inline") {
- style.display = display;
- }
- }
-
- function propFilter(props, specialEasing) {
- var index, name, easing, value, hooks;
-
- // camelCase, specialEasing and expand cssHook pass
- for (index in props) {
- name = jQuery.camelCase(index);
- easing = specialEasing[name];
- value = props[index];
- if (jQuery.isArray(value)) {
- easing = value[1];
- value = props[index] = value[0];
- }
-
- if (index !== name) {
- props[name] = value;
- delete props[index];
- }
-
- hooks = jQuery.cssHooks[name];
- if (hooks && "expand" in hooks) {
- value = hooks.expand(value);
- delete props[name];
-
- // not quite $.extend, this wont overwrite keys already present.
- // also - reusing 'index' from above because we have the correct "name"
- for (index in value) {
- if (!( index in props )) {
- props[index] = value[index];
- specialEasing[index] = easing;
- }
- }
- } else {
- specialEasing[name] = easing;
- }
- }
- }
-
- function Animation(elem, properties, options) {
- var result,
- stopped,
- index = 0,
- length = animationPrefilters.length,
- deferred = jQuery.Deferred().always(function () {
- // don't match elem in the :animated selector
- delete tick.elem;
- }),
- tick = function () {
- if (stopped) {
- return false;
- }
- var currentTime = fxNow || createFxNow(),
- remaining = Math.max(0, animation.startTime + animation.duration - currentTime),
- // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497)
- temp = remaining / animation.duration || 0,
- percent = 1 - temp,
- index = 0,
- length = animation.tweens.length;
-
- for (; index < length; index++) {
- animation.tweens[index].run(percent);
- }
-
- deferred.notifyWith(elem, [animation, percent, remaining]);
-
- if (percent < 1 && length) {
- return remaining;
- } else {
- deferred.resolveWith(elem, [animation]);
- return false;
- }
- },
- animation = deferred.promise({
- elem: elem,
- props: jQuery.extend({}, properties),
- opts: jQuery.extend(true, {specialEasing: {}}, options),
- originalProperties: properties,
- originalOptions: options,
- startTime: fxNow || createFxNow(),
- duration: options.duration,
- tweens: [],
- createTween: function (prop, end) {
- var tween = jQuery.Tween(elem, animation.opts, prop, end,
- animation.opts.specialEasing[prop] || animation.opts.easing);
- animation.tweens.push(tween);
- return tween;
- },
- stop: function (gotoEnd) {
- var index = 0,
- // if we are going to the end, we want to run all the tweens
- // otherwise we skip this part
- length = gotoEnd ? animation.tweens.length : 0;
- if (stopped) {
- return this;
- }
- stopped = true;
- for (; index < length; index++) {
- animation.tweens[index].run(1);
- }
-
- // resolve when we played the last frame
- // otherwise, reject
- if (gotoEnd) {
- deferred.resolveWith(elem, [animation, gotoEnd]);
- } else {
- deferred.rejectWith(elem, [animation, gotoEnd]);
- }
- return this;
- }
- }),
- props = animation.props;
-
- propFilter(props, animation.opts.specialEasing);
-
- for (; index < length; index++) {
- result = animationPrefilters[index].call(animation, elem, props, animation.opts);
- if (result) {
- return result;
- }
- }
-
- jQuery.map(props, createTween, animation);
-
- if (jQuery.isFunction(animation.opts.start)) {
- animation.opts.start.call(elem, animation);
- }
-
- jQuery.fx.timer(
- jQuery.extend(tick, {
- elem: elem,
- anim: animation,
- queue: animation.opts.queue
- })
- );
-
- // attach callbacks from options
- return animation.progress(animation.opts.progress)
- .done(animation.opts.done, animation.opts.complete)
- .fail(animation.opts.fail)
- .always(animation.opts.always);
- }
-
- jQuery.Animation = jQuery.extend(Animation, {
- tweener: function (props, callback) {
- if (jQuery.isFunction(props)) {
- callback = props;
- props = ["*"];
- } else {
- props = props.split(" ");
- }
-
- var prop,
- index = 0,
- length = props.length;
-
- for (; index < length; index++) {
- prop = props[index];
- tweeners[prop] = tweeners[prop] || [];
- tweeners[prop].unshift(callback);
- }
- },
-
- prefilter: function (callback, prepend) {
- if (prepend) {
- animationPrefilters.unshift(callback);
- } else {
- animationPrefilters.push(callback);
- }
- }
- });
-
- jQuery.speed = function (speed, easing, fn) {
- var opt = speed && typeof speed === "object" ? jQuery.extend({}, speed) : {
- complete: fn || !fn && easing ||
- jQuery.isFunction(speed) && speed,
- duration: speed,
- easing: fn && easing || easing && !jQuery.isFunction(easing) && easing
- };
-
- opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
- opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[opt.duration] : jQuery.fx.speeds._default;
-
- // normalize opt.queue - true/undefined/null -> "fx"
- if (opt.queue == null || opt.queue === true) {
- opt.queue = "fx";
- }
-
- // Queueing
- opt.old = opt.complete;
-
- opt.complete = function () {
- if (jQuery.isFunction(opt.old)) {
- opt.old.call(this);
- }
-
- if (opt.queue) {
- jQuery.dequeue(this, opt.queue);
- }
- };
-
- return opt;
- };
-
- jQuery.fn.extend({
- fadeTo: function (speed, to, easing, callback) {
-
- // show any hidden elements after setting opacity to 0
- return this.filter(isHidden).css("opacity", 0).show()
-
- // animate to the value specified
- .end().animate({opacity: to}, speed, easing, callback);
- },
- animate: function (prop, speed, easing, callback) {
- var empty = jQuery.isEmptyObject(prop),
- optall = jQuery.speed(speed, easing, callback),
- doAnimation = function () {
- // Operate on a copy of prop so per-property easing won't be lost
- var anim = Animation(this, jQuery.extend({}, prop), optall);
-
- // Empty animations, or finishing resolves immediately
- if (empty || jQuery._data(this, "finish")) {
- anim.stop(true);
- }
- };
- doAnimation.finish = doAnimation;
-
- return empty || optall.queue === false ?
- this.each(doAnimation) :
- this.queue(optall.queue, doAnimation);
- },
- stop: function (type, clearQueue, gotoEnd) {
- var stopQueue = function (hooks) {
- var stop = hooks.stop;
- delete hooks.stop;
- stop(gotoEnd);
- };
-
- if (typeof type !== "string") {
- gotoEnd = clearQueue;
- clearQueue = type;
- type = undefined;
- }
- if (clearQueue && type !== false) {
- this.queue(type || "fx", []);
- }
-
- return this.each(function () {
- var dequeue = true,
- index = type != null && type + "queueHooks",
- timers = jQuery.timers,
- data = jQuery._data(this);
-
- if (index) {
- if (data[index] && data[index].stop) {
- stopQueue(data[index]);
- }
- } else {
- for (index in data) {
- if (data[index] && data[index].stop && rrun.test(index)) {
- stopQueue(data[index]);
- }
- }
- }
-
- for (index = timers.length; index--;) {
- if (timers[index].elem === this && (type == null || timers[index].queue === type)) {
- timers[index].anim.stop(gotoEnd);
- dequeue = false;
- timers.splice(index, 1);
- }
- }
-
- // start the next in the queue if the last step wasn't forced
- // timers currently will call their complete callbacks, which will dequeue
- // but only if they were gotoEnd
- if (dequeue || !gotoEnd) {
- jQuery.dequeue(this, type);
- }
- });
- },
- finish: function (type) {
- if (type !== false) {
- type = type || "fx";
- }
- return this.each(function () {
- var index,
- data = jQuery._data(this),
- queue = data[type + "queue"],
- hooks = data[type + "queueHooks"],
- timers = jQuery.timers,
- length = queue ? queue.length : 0;
-
- // enable finishing flag on private data
- data.finish = true;
-
- // empty the queue first
- jQuery.queue(this, type, []);
-
- if (hooks && hooks.stop) {
- hooks.stop.call(this, true);
- }
-
- // look for any active animations, and finish them
- for (index = timers.length; index--;) {
- if (timers[index].elem === this && timers[index].queue === type) {
- timers[index].anim.stop(true);
- timers.splice(index, 1);
- }
- }
-
- // look for any animations in the old queue and finish them
- for (index = 0; index < length; index++) {
- if (queue[index] && queue[index].finish) {
- queue[index].finish.call(this);
- }
- }
-
- // turn off finishing flag
- delete data.finish;
- });
- }
- });
-
- jQuery.each(["toggle", "show", "hide"], function (i, name) {
- var cssFn = jQuery.fn[name];
- jQuery.fn[name] = function (speed, easing, callback) {
- return speed == null || typeof speed === "boolean" ?
- cssFn.apply(this, arguments) :
- this.animate(genFx(name, true), speed, easing, callback);
- };
- });
-
-// Generate shortcuts for custom animations
- jQuery.each({
- slideDown: genFx("show"),
- slideUp: genFx("hide"),
- slideToggle: genFx("toggle"),
- fadeIn: {opacity: "show"},
- fadeOut: {opacity: "hide"},
- fadeToggle: {opacity: "toggle"}
- }, function (name, props) {
- jQuery.fn[name] = function (speed, easing, callback) {
- return this.animate(props, speed, easing, callback);
- };
- });
-
- jQuery.timers = [];
- jQuery.fx.tick = function () {
- var timer,
- timers = jQuery.timers,
- i = 0;
-
- fxNow = jQuery.now();
-
- for (; i < timers.length; i++) {
- timer = timers[i];
- // Checks the timer has not already been removed
- if (!timer() && timers[i] === timer) {
- timers.splice(i--, 1);
- }
- }
-
- if (!timers.length) {
- jQuery.fx.stop();
- }
- fxNow = undefined;
- };
-
- jQuery.fx.timer = function (timer) {
- jQuery.timers.push(timer);
- if (timer()) {
- jQuery.fx.start();
- } else {
- jQuery.timers.pop();
- }
- };
-
- jQuery.fx.interval = 13;
-
- jQuery.fx.start = function () {
- if (!timerId) {
- timerId = setInterval(jQuery.fx.tick, jQuery.fx.interval);
- }
- };
-
- jQuery.fx.stop = function () {
- clearInterval(timerId);
- timerId = null;
- };
-
- jQuery.fx.speeds = {
- slow: 600,
- fast: 200,
- // Default speed
- _default: 400
- };
-
-
-// Based off of the plugin by Clint Helfers, with permission.
-// http://blindsignals.com/index.php/2009/07/jquery-delay/
- jQuery.fn.delay = function (time, type) {
- time = jQuery.fx ? jQuery.fx.speeds[time] || time : time;
- type = type || "fx";
-
- return this.queue(type, function (next, hooks) {
- var timeout = setTimeout(next, time);
- hooks.stop = function () {
- clearTimeout(timeout);
- };
- });
- };
-
-
- (function () {
- // Minified: var a,b,c,d,e
- var input, div, select, a, opt;
-
- // Setup
- div = document.createElement("div");
- div.setAttribute("className", "t");
- div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
- a = div.getElementsByTagName("a")[0];
-
- // First batch of tests.
- select = document.createElement("select");
- opt = select.appendChild(document.createElement("option"));
- input = div.getElementsByTagName("input")[0];
-
- a.style.cssText = "top:1px";
-
- // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)
- support.getSetAttribute = div.className !== "t";
-
- // Get the style information from getAttribute
- // (IE uses .cssText instead)
- support.style = /top/.test(a.getAttribute("style"));
-
- // Make sure that URLs aren't manipulated
- // (IE normalizes it by default)
- support.hrefNormalized = a.getAttribute("href") === "/a";
-
- // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere)
- support.checkOn = !!input.value;
-
- // Make sure that a selected-by-default option has a working selected property.
- // (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
- support.optSelected = opt.selected;
-
- // Tests for enctype support on a form (#6743)
- support.enctype = !!document.createElement("form").enctype;
-
- // Make sure that the options inside disabled selects aren't marked as disabled
- // (WebKit marks them as disabled)
- select.disabled = true;
- support.optDisabled = !opt.disabled;
-
- // Support: IE8 only
- // Check if we can trust getAttribute("value")
- input = document.createElement("input");
- input.setAttribute("value", "");
- support.input = input.getAttribute("value") === "";
-
- // Check if an input maintains its value after becoming a radio
- input.value = "t";
- input.setAttribute("type", "radio");
- support.radioValue = input.value === "t";
- })();
-
-
- var rreturn = /\r/g;
-
- jQuery.fn.extend({
- val: function (value) {
- var hooks, ret, isFunction,
- elem = this[0];
-
- if (!arguments.length) {
- if (elem) {
- hooks = jQuery.valHooks[elem.type] || jQuery.valHooks[elem.nodeName.toLowerCase()];
-
- if (hooks && "get" in hooks && (ret = hooks.get(elem, "value")) !== undefined) {
- return ret;
- }
-
- ret = elem.value;
-
- return typeof ret === "string" ?
- // handle most common string cases
- ret.replace(rreturn, "") :
- // handle cases where value is null/undef or number
- ret == null ? "" : ret;
- }
-
- return;
- }
-
- isFunction = jQuery.isFunction(value);
-
- return this.each(function (i) {
- var val;
-
- if (this.nodeType !== 1) {
- return;
- }
-
- if (isFunction) {
- val = value.call(this, i, jQuery(this).val());
- } else {
- val = value;
- }
-
- // Treat null/undefined as ""; convert numbers to string
- if (val == null) {
- val = "";
- } else if (typeof val === "number") {
- val += "";
- } else if (jQuery.isArray(val)) {
- val = jQuery.map(val, function (value) {
- return value == null ? "" : value + "";
- });
- }
-
- hooks = jQuery.valHooks[this.type] || jQuery.valHooks[this.nodeName.toLowerCase()];
-
- // If set returns undefined, fall back to normal setting
- if (!hooks || !("set" in hooks) || hooks.set(this, val, "value") === undefined) {
- this.value = val;
- }
- });
- }
- });
-
- jQuery.extend({
- valHooks: {
- option: {
- get: function (elem) {
- var val = jQuery.find.attr(elem, "value");
- return val != null ?
- val :
- // Support: IE10-11+
- // option.text throws exceptions (#14686, #14858)
- jQuery.trim(jQuery.text(elem));
- }
- },
- select: {
- get: function (elem) {
- var value, option,
- options = elem.options,
- index = elem.selectedIndex,
- one = elem.type === "select-one" || index < 0,
- values = one ? null : [],
- max = one ? index + 1 : options.length,
- i = index < 0 ?
- max :
- one ? index : 0;
-
- // Loop through all the selected options
- for (; i < max; i++) {
- option = options[i];
-
- // oldIE doesn't update selected after form reset (#2551)
- if (( option.selected || i === index ) &&
- // Don't return options that are disabled or in a disabled optgroup
- ( support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) &&
- ( !option.parentNode.disabled || !jQuery.nodeName(option.parentNode, "optgroup") )) {
-
- // Get the specific value for the option
- value = jQuery(option).val();
-
- // We don't need an array for one selects
- if (one) {
- return value;
- }
-
- // Multi-Selects return an array
- values.push(value);
- }
- }
-
- return values;
- },
-
- set: function (elem, value) {
- var optionSet, option,
- options = elem.options,
- values = jQuery.makeArray(value),
- i = options.length;
-
- while (i--) {
- option = options[i];
-
- if (jQuery.inArray(jQuery.valHooks.option.get(option), values) >= 0) {
-
- // Support: IE6
- // When new option element is added to select box we need to
- // force reflow of newly added node in order to workaround delay
- // of initialization properties
- try {
- option.selected = optionSet = true;
-
- } catch (_) {
-
- // Will be executed only in IE6
- option.scrollHeight;
- }
-
- } else {
- option.selected = false;
- }
- }
-
- // Force browsers to behave consistently when non-matching value is set
- if (!optionSet) {
- elem.selectedIndex = -1;
- }
-
- return options;
- }
- }
- }
- });
-
-// Radios and checkboxes getter/setter
- jQuery.each(["radio", "checkbox"], function () {
- jQuery.valHooks[this] = {
- set: function (elem, value) {
- if (jQuery.isArray(value)) {
- return ( elem.checked = jQuery.inArray(jQuery(elem).val(), value) >= 0 );
- }
- }
- };
- if (!support.checkOn) {
- jQuery.valHooks[this].get = function (elem) {
- // Support: Webkit
- // "" is returned instead of "on" if a value isn't specified
- return elem.getAttribute("value") === null ? "on" : elem.value;
- };
- }
- });
-
-
- var nodeHook, boolHook,
- attrHandle = jQuery.expr.attrHandle,
- ruseDefault = /^(?:checked|selected)$/i,
- getSetAttribute = support.getSetAttribute,
- getSetInput = support.input;
-
- jQuery.fn.extend({
- attr: function (name, value) {
- return access(this, jQuery.attr, name, value, arguments.length > 1);
- },
-
- removeAttr: function (name) {
- return this.each(function () {
- jQuery.removeAttr(this, name);
- });
- }
- });
-
- jQuery.extend({
- attr: function (elem, name, value) {
- var hooks, ret,
- nType = elem.nodeType;
-
- // don't get/set attributes on text, comment and attribute nodes
- if (!elem || nType === 3 || nType === 8 || nType === 2) {
- return;
- }
-
- // Fallback to prop when attributes are not supported
- if (typeof elem.getAttribute === strundefined) {
- return jQuery.prop(elem, name, value);
- }
-
- // All attributes are lowercase
- // Grab necessary hook if one is defined
- if (nType !== 1 || !jQuery.isXMLDoc(elem)) {
- name = name.toLowerCase();
- hooks = jQuery.attrHooks[name] ||
- ( jQuery.expr.match.bool.test(name) ? boolHook : nodeHook );
- }
-
- if (value !== undefined) {
-
- if (value === null) {
- jQuery.removeAttr(elem, name);
-
- } else if (hooks && "set" in hooks && (ret = hooks.set(elem, value, name)) !== undefined) {
- return ret;
-
- } else {
- elem.setAttribute(name, value + "");
- return value;
- }
-
- } else if (hooks && "get" in hooks && (ret = hooks.get(elem, name)) !== null) {
- return ret;
-
- } else {
- ret = jQuery.find.attr(elem, name);
-
- // Non-existent attributes return null, we normalize to undefined
- return ret == null ?
- undefined :
- ret;
- }
- },
-
- removeAttr: function (elem, value) {
- var name, propName,
- i = 0,
- attrNames = value && value.match(rnotwhite);
-
- if (attrNames && elem.nodeType === 1) {
- while ((name = attrNames[i++])) {
- propName = jQuery.propFix[name] || name;
-
- // Boolean attributes get special treatment (#10870)
- if (jQuery.expr.match.bool.test(name)) {
- // Set corresponding property to false
- if (getSetInput && getSetAttribute || !ruseDefault.test(name)) {
- elem[propName] = false;
- // Support: IE<9
- // Also clear defaultChecked/defaultSelected (if appropriate)
- } else {
- elem[jQuery.camelCase("default-" + name)] =
- elem[propName] = false;
- }
-
- // See #9699 for explanation of this approach (setting first, then removal)
- } else {
- jQuery.attr(elem, name, "");
- }
-
- elem.removeAttribute(getSetAttribute ? name : propName);
- }
- }
- },
-
- attrHooks: {
- type: {
- set: function (elem, value) {
- if (!support.radioValue && value === "radio" && jQuery.nodeName(elem, "input")) {
- // Setting the type on a radio button after the value resets the value in IE6-9
- // Reset value to default in case type is set after value during creation
- var val = elem.value;
- elem.setAttribute("type", value);
- if (val) {
- elem.value = val;
- }
- return value;
- }
- }
- }
- }
- });
-
-// Hook for boolean attributes
- boolHook = {
- set: function (elem, value, name) {
- if (value === false) {
- // Remove boolean attributes when set to false
- jQuery.removeAttr(elem, name);
- } else if (getSetInput && getSetAttribute || !ruseDefault.test(name)) {
- // IE<8 needs the *property* name
- elem.setAttribute(!getSetAttribute && jQuery.propFix[name] || name, name);
-
- // Use defaultChecked and defaultSelected for oldIE
- } else {
- elem[jQuery.camelCase("default-" + name)] = elem[name] = true;
- }
-
- return name;
- }
- };
-
-// Retrieve booleans specially
- jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g), function (i, name) {
-
- var getter = attrHandle[name] || jQuery.find.attr;
-
- attrHandle[name] = getSetInput && getSetAttribute || !ruseDefault.test(name) ?
- function (elem, name, isXML) {
- var ret, handle;
- if (!isXML) {
- // Avoid an infinite loop by temporarily removing this function from the getter
- handle = attrHandle[name];
- attrHandle[name] = ret;
- ret = getter(elem, name, isXML) != null ?
- name.toLowerCase() :
- null;
- attrHandle[name] = handle;
- }
- return ret;
- } :
- function (elem, name, isXML) {
- if (!isXML) {
- return elem[jQuery.camelCase("default-" + name)] ?
- name.toLowerCase() :
- null;
- }
- };
- });
-
-// fix oldIE attroperties
- if (!getSetInput || !getSetAttribute) {
- jQuery.attrHooks.value = {
- set: function (elem, value, name) {
- if (jQuery.nodeName(elem, "input")) {
- // Does not return so that setAttribute is also used
- elem.defaultValue = value;
- } else {
- // Use nodeHook if defined (#1954); otherwise setAttribute is fine
- return nodeHook && nodeHook.set(elem, value, name);
- }
- }
- };
- }
-
-// IE6/7 do not support getting/setting some attributes with get/setAttribute
- if (!getSetAttribute) {
-
- // Use this for any attribute in IE6/7
- // This fixes almost every IE6/7 issue
- nodeHook = {
- set: function (elem, value, name) {
- // Set the existing or create a new attribute node
- var ret = elem.getAttributeNode(name);
- if (!ret) {
- elem.setAttributeNode(
- (ret = elem.ownerDocument.createAttribute(name))
- );
- }
-
- ret.value = value += "";
-
- // Break association with cloned elements by also using setAttribute (#9646)
- if (name === "value" || value === elem.getAttribute(name)) {
- return value;
- }
- }
- };
-
- // Some attributes are constructed with empty-string values when not defined
- attrHandle.id = attrHandle.name = attrHandle.coords =
- function (elem, name, isXML) {
- var ret;
- if (!isXML) {
- return (ret = elem.getAttributeNode(name)) && ret.value !== "" ?
- ret.value :
- null;
- }
- };
-
- // Fixing value retrieval on a button requires this module
- jQuery.valHooks.button = {
- get: function (elem, name) {
- var ret = elem.getAttributeNode(name);
- if (ret && ret.specified) {
- return ret.value;
- }
- },
- set: nodeHook.set
- };
-
- // Set contenteditable to false on removals(#10429)
- // Setting to empty string throws an error as an invalid value
- jQuery.attrHooks.contenteditable = {
- set: function (elem, value, name) {
- nodeHook.set(elem, value === "" ? false : value, name);
- }
- };
-
- // Set width and height to auto instead of 0 on empty string( Bug #8150 )
- // This is for removals
- jQuery.each(["width", "height"], function (i, name) {
- jQuery.attrHooks[name] = {
- set: function (elem, value) {
- if (value === "") {
- elem.setAttribute(name, "auto");
- return value;
- }
- }
- };
- });
- }
-
- if (!support.style) {
- jQuery.attrHooks.style = {
- get: function (elem) {
- // Return undefined in the case of empty string
- // Note: IE uppercases css property names, but if we were to .toLowerCase()
- // .cssText, that would destroy case senstitivity in URL's, like in "background"
- return elem.style.cssText || undefined;
- },
- set: function (elem, value) {
- return ( elem.style.cssText = value + "" );
- }
- };
- }
-
-
- var rfocusable = /^(?:input|select|textarea|button|object)$/i,
- rclickable = /^(?:a|area)$/i;
-
- jQuery.fn.extend({
- prop: function (name, value) {
- return access(this, jQuery.prop, name, value, arguments.length > 1);
- },
-
- removeProp: function (name) {
- name = jQuery.propFix[name] || name;
- return this.each(function () {
- // try/catch handles cases where IE balks (such as removing a property on window)
- try {
- this[name] = undefined;
- delete this[name];
- } catch (e) {
- }
- });
- }
- });
-
- jQuery.extend({
- propFix: {
- "for": "htmlFor",
- "class": "className"
- },
-
- prop: function (elem, name, value) {
- var ret, hooks, notxml,
- nType = elem.nodeType;
-
- // don't get/set properties on text, comment and attribute nodes
- if (!elem || nType === 3 || nType === 8 || nType === 2) {
- return;
- }
-
- notxml = nType !== 1 || !jQuery.isXMLDoc(elem);
-
- if (notxml) {
- // Fix name and attach hooks
- name = jQuery.propFix[name] || name;
- hooks = jQuery.propHooks[name];
- }
-
- if (value !== undefined) {
- return hooks && "set" in hooks && (ret = hooks.set(elem, value, name)) !== undefined ?
- ret :
- ( elem[name] = value );
-
- } else {
- return hooks && "get" in hooks && (ret = hooks.get(elem, name)) !== null ?
- ret :
- elem[name];
- }
- },
-
- propHooks: {
- tabIndex: {
- get: function (elem) {
- // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
- // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
- // Use proper attribute retrieval(#12072)
- var tabindex = jQuery.find.attr(elem, "tabindex");
-
- return tabindex ?
- parseInt(tabindex, 10) :
- rfocusable.test(elem.nodeName) || rclickable.test(elem.nodeName) && elem.href ?
- 0 :
- -1;
- }
- }
- }
- });
-
-// Some attributes require a special call on IE
-// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
- if (!support.hrefNormalized) {
- // href/src property should get the full normalized URL (#10299/#12915)
- jQuery.each(["href", "src"], function (i, name) {
- jQuery.propHooks[name] = {
- get: function (elem) {
- return elem.getAttribute(name, 4);
- }
- };
- });
- }
-
-// Support: Safari, IE9+
-// mis-reports the default selected property of an option
-// Accessing the parent's selectedIndex property fixes it
- if (!support.optSelected) {
- jQuery.propHooks.selected = {
- get: function (elem) {
- var parent = elem.parentNode;
-
- if (parent) {
- parent.selectedIndex;
-
- // Make sure that it also works with optgroups, see #5701
- if (parent.parentNode) {
- parent.parentNode.selectedIndex;
- }
- }
- return null;
- }
- };
- }
-
- jQuery.each([
- "tabIndex",
- "readOnly",
- "maxLength",
- "cellSpacing",
- "cellPadding",
- "rowSpan",
- "colSpan",
- "useMap",
- "frameBorder",
- "contentEditable"
- ], function () {
- jQuery.propFix[this.toLowerCase()] = this;
- });
-
-// IE6/7 call enctype encoding
- if (!support.enctype) {
- jQuery.propFix.enctype = "encoding";
- }
-
-
- var rclass = /[\t\r\n\f]/g;
-
- jQuery.fn.extend({
- addClass: function (value) {
- var classes, elem, cur, clazz, j, finalValue,
- i = 0,
- len = this.length,
- proceed = typeof value === "string" && value;
-
- if (jQuery.isFunction(value)) {
- return this.each(function (j) {
- jQuery(this).addClass(value.call(this, j, this.className));
- });
- }
-
- if (proceed) {
- // The disjunction here is for better compressibility (see removeClass)
- classes = ( value || "" ).match(rnotwhite) || [];
-
- for (; i < len; i++) {
- elem = this[i];
- cur = elem.nodeType === 1 && ( elem.className ?
- ( " " + elem.className + " " ).replace(rclass, " ") :
- " "
- );
-
- if (cur) {
- j = 0;
- while ((clazz = classes[j++])) {
- if (cur.indexOf(" " + clazz + " ") < 0) {
- cur += clazz + " ";
- }
- }
-
- // only assign if different to avoid unneeded rendering.
- finalValue = jQuery.trim(cur);
- if (elem.className !== finalValue) {
- elem.className = finalValue;
- }
- }
- }
- }
-
- return this;
- },
-
- removeClass: function (value) {
- var classes, elem, cur, clazz, j, finalValue,
- i = 0,
- len = this.length,
- proceed = arguments.length === 0 || typeof value === "string" && value;
-
- if (jQuery.isFunction(value)) {
- return this.each(function (j) {
- jQuery(this).removeClass(value.call(this, j, this.className));
- });
- }
- if (proceed) {
- classes = ( value || "" ).match(rnotwhite) || [];
-
- for (; i < len; i++) {
- elem = this[i];
- // This expression is here for better compressibility (see addClass)
- cur = elem.nodeType === 1 && ( elem.className ?
- ( " " + elem.className + " " ).replace(rclass, " ") :
- ""
- );
-
- if (cur) {
- j = 0;
- while ((clazz = classes[j++])) {
- // Remove *all* instances
- while (cur.indexOf(" " + clazz + " ") >= 0) {
- cur = cur.replace(" " + clazz + " ", " ");
- }
- }
-
- // only assign if different to avoid unneeded rendering.
- finalValue = value ? jQuery.trim(cur) : "";
- if (elem.className !== finalValue) {
- elem.className = finalValue;
- }
- }
- }
- }
-
- return this;
- },
-
- toggleClass: function (value, stateVal) {
- var type = typeof value;
-
- if (typeof stateVal === "boolean" && type === "string") {
- return stateVal ? this.addClass(value) : this.removeClass(value);
- }
-
- if (jQuery.isFunction(value)) {
- return this.each(function (i) {
- jQuery(this).toggleClass(value.call(this, i, this.className, stateVal), stateVal);
- });
- }
-
- return this.each(function () {
- if (type === "string") {
- // toggle individual class names
- var className,
- i = 0,
- self = jQuery(this),
- classNames = value.match(rnotwhite) || [];
-
- while ((className = classNames[i++])) {
- // check each className given, space separated list
- if (self.hasClass(className)) {
- self.removeClass(className);
- } else {
- self.addClass(className);
- }
- }
-
- // Toggle whole class name
- } else if (type === strundefined || type === "boolean") {
- if (this.className) {
- // store className if set
- jQuery._data(this, "__className__", this.className);
- }
-
- // If the element has a class name or if we're passed "false",
- // then remove the whole classname (if there was one, the above saved it).
- // Otherwise bring back whatever was previously saved (if anything),
- // falling back to the empty string if nothing was stored.
- this.className = this.className || value === false ? "" : jQuery._data(this, "__className__") || "";
- }
- });
- },
-
- hasClass: function (selector) {
- var className = " " + selector + " ",
- i = 0,
- l = this.length;
- for (; i < l; i++) {
- if (this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf(className) >= 0) {
- return true;
- }
- }
-
- return false;
- }
- });
-
-
-// Return jQuery for attributes-only inclusion
-
-
- jQuery.each(("blur focus focusin focusout load resize scroll unload click dblclick " +
- "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
- "change select submit keydown keypress keyup error contextmenu").split(" "), function (i, name) {
-
- // Handle event binding
- jQuery.fn[name] = function (data, fn) {
- return arguments.length > 0 ?
- this.on(name, null, data, fn) :
- this.trigger(name);
- };
- });
-
- jQuery.fn.extend({
- hover: function (fnOver, fnOut) {
- return this.mouseenter(fnOver).mouseleave(fnOut || fnOver);
- },
-
- bind: function (types, data, fn) {
- return this.on(types, null, data, fn);
- },
- unbind: function (types, fn) {
- return this.off(types, null, fn);
- },
-
- delegate: function (selector, types, data, fn) {
- return this.on(types, selector, data, fn);
- },
- undelegate: function (selector, types, fn) {
- // ( namespace ) or ( selector, types [, fn] )
- return arguments.length === 1 ? this.off(selector, "**") : this.off(types, selector || "**", fn);
- }
- });
-
-
- var nonce = jQuery.now();
-
- var rquery = (/\?/);
-
-
- var rvalidtokens = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
-
- jQuery.parseJSON = function (data) {
- // Attempt to parse using the native JSON parser first
- if (window.JSON && window.JSON.parse) {
- // Support: Android 2.3
- // Workaround failure to string-cast null input
- return window.JSON.parse(data + "");
- }
-
- var requireNonComma,
- depth = null,
- str = jQuery.trim(data + "");
-
- // Guard against invalid (and possibly dangerous) input by ensuring that nothing remains
- // after removing valid tokens
- return str && !jQuery.trim(str.replace(rvalidtokens, function (token, comma, open, close) {
-
- // Force termination if we see a misplaced comma
- if (requireNonComma && comma) {
- depth = 0;
- }
-
- // Perform no more replacements after returning to outermost depth
- if (depth === 0) {
- return token;
- }
-
- // Commas must not follow "[", "{", or ","
- requireNonComma = open || comma;
-
- // Determine new depth
- // array/object open ("[" or "{"): depth += true - false (increment)
- // array/object close ("]" or "}"): depth += false - true (decrement)
- // other cases ("," or primitive): depth += true - true (numeric cast)
- depth += !close - !open;
-
- // Remove this token
- return "";
- })) ?
- ( Function("return " + str) )() :
- jQuery.error("Invalid JSON: " + data);
- };
-
-
-// Cross-browser xml parsing
- jQuery.parseXML = function (data) {
- var xml, tmp;
- if (!data || typeof data !== "string") {
- return null;
- }
- try {
- if (window.DOMParser) { // Standard
- tmp = new DOMParser();
- xml = tmp.parseFromString(data, "text/xml");
- } else { // IE
- xml = new ActiveXObject("Microsoft.XMLDOM");
- xml.async = "false";
- xml.loadXML(data);
- }
- } catch (e) {
- xml = undefined;
- }
- if (!xml || !xml.documentElement || xml.getElementsByTagName("parsererror").length) {
- jQuery.error("Invalid XML: " + data);
- }
- return xml;
- };
-
-
- var
- // Document location
- ajaxLocParts,
- ajaxLocation,
-
- rhash = /#.*$/,
- rts = /([?&])_=[^&]*/,
- rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL
- // #7653, #8125, #8152: local protocol detection
- rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
- rnoContent = /^(?:GET|HEAD)$/,
- rprotocol = /^\/\//,
- rurl = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
-
- /* Prefilters
- * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
- * 2) These are called:
- * - BEFORE asking for a transport
- * - AFTER param serialization (s.data is a string if s.processData is true)
- * 3) key is the dataType
- * 4) the catchall symbol "*" can be used
- * 5) execution will start with transport dataType and THEN continue down to "*" if needed
- */
- prefilters = {},
-
- /* Transports bindings
- * 1) key is the dataType
- * 2) the catchall symbol "*" can be used
- * 3) selection will start with transport dataType and THEN go to "*" if needed
- */
- transports = {},
-
- // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
- allTypes = "*/".concat("*");
-
-// #8138, IE may throw an exception when accessing
-// a field from window.location if document.domain has been set
- try {
- ajaxLocation = location.href;
- } catch (e) {
- // Use the href attribute of an A element
- // since IE will modify it given document.location
- ajaxLocation = document.createElement("a");
- ajaxLocation.href = "";
- ajaxLocation = ajaxLocation.href;
- }
-
-// Segment location into parts
- ajaxLocParts = rurl.exec(ajaxLocation.toLowerCase()) || [];
-
-// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
- function addToPrefiltersOrTransports(structure) {
-
- // dataTypeExpression is optional and defaults to "*"
- return function (dataTypeExpression, func) {
-
- if (typeof dataTypeExpression !== "string") {
- func = dataTypeExpression;
- dataTypeExpression = "*";
- }
-
- var dataType,
- i = 0,
- dataTypes = dataTypeExpression.toLowerCase().match(rnotwhite) || [];
-
- if (jQuery.isFunction(func)) {
- // For each dataType in the dataTypeExpression
- while ((dataType = dataTypes[i++])) {
- // Prepend if requested
- if (dataType.charAt(0) === "+") {
- dataType = dataType.slice(1) || "*";
- (structure[dataType] = structure[dataType] || []).unshift(func);
-
- // Otherwise append
- } else {
- (structure[dataType] = structure[dataType] || []).push(func);
- }
- }
- }
- };
- }
-
-// Base inspection function for prefilters and transports
- function inspectPrefiltersOrTransports(structure, options, originalOptions, jqXHR) {
-
- var inspected = {},
- seekingTransport = ( structure === transports );
-
- function inspect(dataType) {
- var selected;
- inspected[dataType] = true;
- jQuery.each(structure[dataType] || [], function (_, prefilterOrFactory) {
- var dataTypeOrTransport = prefilterOrFactory(options, originalOptions, jqXHR);
- if (typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[dataTypeOrTransport]) {
- options.dataTypes.unshift(dataTypeOrTransport);
- inspect(dataTypeOrTransport);
- return false;
- } else if (seekingTransport) {
- return !( selected = dataTypeOrTransport );
- }
- });
- return selected;
- }
-
- return inspect(options.dataTypes[0]) || !inspected["*"] && inspect("*");
- }
-
-// A special extend for ajax options
-// that takes "flat" options (not to be deep extended)
-// Fixes #9887
- function ajaxExtend(target, src) {
- var deep, key,
- flatOptions = jQuery.ajaxSettings.flatOptions || {};
-
- for (key in src) {
- if (src[key] !== undefined) {
- ( flatOptions[key] ? target : ( deep || (deep = {}) ) )[key] = src[key];
- }
- }
- if (deep) {
- jQuery.extend(true, target, deep);
- }
-
- return target;
- }
-
- /* Handles responses to an ajax request:
- * - finds the right dataType (mediates between content-type and expected dataType)
- * - returns the corresponding response
- */
- function ajaxHandleResponses(s, jqXHR, responses) {
- var firstDataType, ct, finalDataType, type,
- contents = s.contents,
- dataTypes = s.dataTypes;
-
- // Remove auto dataType and get content-type in the process
- while (dataTypes[0] === "*") {
- dataTypes.shift();
- if (ct === undefined) {
- ct = s.mimeType || jqXHR.getResponseHeader("Content-Type");
- }
- }
-
- // Check if we're dealing with a known content-type
- if (ct) {
- for (type in contents) {
- if (contents[type] && contents[type].test(ct)) {
- dataTypes.unshift(type);
- break;
- }
- }
- }
-
- // Check to see if we have a response for the expected dataType
- if (dataTypes[0] in responses) {
- finalDataType = dataTypes[0];
- } else {
- // Try convertible dataTypes
- for (type in responses) {
- if (!dataTypes[0] || s.converters[type + " " + dataTypes[0]]) {
- finalDataType = type;
- break;
- }
- if (!firstDataType) {
- firstDataType = type;
- }
- }
- // Or just use first one
- finalDataType = finalDataType || firstDataType;
- }
-
- // If we found a dataType
- // We add the dataType to the list if needed
- // and return the corresponding response
- if (finalDataType) {
- if (finalDataType !== dataTypes[0]) {
- dataTypes.unshift(finalDataType);
- }
- return responses[finalDataType];
- }
- }
-
- /* Chain conversions given the request and the original response
- * Also sets the responseXXX fields on the jqXHR instance
- */
- function ajaxConvert(s, response, jqXHR, isSuccess) {
- var conv2, current, conv, tmp, prev,
- converters = {},
- // Work with a copy of dataTypes in case we need to modify it for conversion
- dataTypes = s.dataTypes.slice();
-
- // Create converters map with lowercased keys
- if (dataTypes[1]) {
- for (conv in s.converters) {
- converters[conv.toLowerCase()] = s.converters[conv];
- }
- }
-
- current = dataTypes.shift();
-
- // Convert to each sequential dataType
- while (current) {
-
- if (s.responseFields[current]) {
- jqXHR[s.responseFields[current]] = response;
- }
-
- // Apply the dataFilter if provided
- if (!prev && isSuccess && s.dataFilter) {
- response = s.dataFilter(response, s.dataType);
- }
-
- prev = current;
- current = dataTypes.shift();
-
- if (current) {
-
- // There's only work to do if current dataType is non-auto
- if (current === "*") {
-
- current = prev;
-
- // Convert response if prev dataType is non-auto and differs from current
- } else if (prev !== "*" && prev !== current) {
-
- // Seek a direct converter
- conv = converters[prev + " " + current] || converters["* " + current];
-
- // If none found, seek a pair
- if (!conv) {
- for (conv2 in converters) {
-
- // If conv2 outputs current
- tmp = conv2.split(" ");
- if (tmp[1] === current) {
-
- // If prev can be converted to accepted input
- conv = converters[prev + " " + tmp[0]] ||
- converters["* " + tmp[0]];
- if (conv) {
- // Condense equivalence converters
- if (conv === true) {
- conv = converters[conv2];
-
- // Otherwise, insert the intermediate dataType
- } else if (converters[conv2] !== true) {
- current = tmp[0];
- dataTypes.unshift(tmp[1]);
- }
- break;
- }
- }
- }
- }
-
- // Apply converter (if not an equivalence)
- if (conv !== true) {
-
- // Unless errors are allowed to bubble, catch and return them
- if (conv && s["throws"]) {
- response = conv(response);
- } else {
- try {
- response = conv(response);
- } catch (e) {
- return {
- state: "parsererror",
- error: conv ? e : "No conversion from " + prev + " to " + current
- };
- }
- }
- }
- }
- }
- }
-
- return {state: "success", data: response};
- }
-
- jQuery.extend({
-
- // Counter for holding the number of active queries
- active: 0,
-
- // Last-Modified header cache for next request
- lastModified: {},
- etag: {},
-
- ajaxSettings: {
- url: ajaxLocation,
- type: "GET",
- isLocal: rlocalProtocol.test(ajaxLocParts[1]),
- global: true,
- processData: true,
- async: true,
- contentType: "application/x-www-form-urlencoded; charset=UTF-8",
- /*
- timeout: 0,
- data: null,
- dataType: null,
- username: null,
- password: null,
- cache: null,
- throws: false,
- traditional: false,
- headers: {},
- */
-
- accepts: {
- "*": allTypes,
- text: "text/plain",
- html: "text/html",
- xml: "application/xml, text/xml",
- json: "application/json, text/javascript"
- },
-
- contents: {
- xml: /xml/,
- html: /html/,
- json: /json/
- },
-
- responseFields: {
- xml: "responseXML",
- text: "responseText",
- json: "responseJSON"
- },
-
- // Data converters
- // Keys separate source (or catchall "*") and destination types with a single space
- converters: {
-
- // Convert anything to text
- "* text": String,
-
- // Text to html (true = no transformation)
- "text html": true,
-
- // Evaluate text as a json expression
- "text json": jQuery.parseJSON,
-
- // Parse text as xml
- "text xml": jQuery.parseXML
- },
-
- // For options that shouldn't be deep extended:
- // you can add your own custom options here if
- // and when you create one that shouldn't be
- // deep extended (see ajaxExtend)
- flatOptions: {
- url: true,
- context: true
- }
- },
-
- // Creates a full fledged settings object into target
- // with both ajaxSettings and settings fields.
- // If target is omitted, writes into ajaxSettings.
- ajaxSetup: function (target, settings) {
- return settings ?
-
- // Building a settings object
- ajaxExtend(ajaxExtend(target, jQuery.ajaxSettings), settings) :
-
- // Extending ajaxSettings
- ajaxExtend(jQuery.ajaxSettings, target);
- },
-
- ajaxPrefilter: addToPrefiltersOrTransports(prefilters),
- ajaxTransport: addToPrefiltersOrTransports(transports),
-
- // Main method
- ajax: function (url, options) {
-
- // If url is an object, simulate pre-1.5 signature
- if (typeof url === "object") {
- options = url;
- url = undefined;
- }
-
- // Force options to be an object
- options = options || {};
-
- var // Cross-domain detection vars
- parts,
- // Loop variable
- i,
- // URL without anti-cache param
- cacheURL,
- // Response headers as string
- responseHeadersString,
- // timeout handle
- timeoutTimer,
-
- // To know if global events are to be dispatched
- fireGlobals,
-
- transport,
- // Response headers
- responseHeaders,
- // Create the final options object
- s = jQuery.ajaxSetup({}, options),
- // Callbacks context
- callbackContext = s.context || s,
- // Context for global events is callbackContext if it is a DOM node or jQuery collection
- globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ?
- jQuery(callbackContext) :
- jQuery.event,
- // Deferreds
- deferred = jQuery.Deferred(),
- completeDeferred = jQuery.Callbacks("once memory"),
- // Status-dependent callbacks
- statusCode = s.statusCode || {},
- // Headers (they are sent all at once)
- requestHeaders = {},
- requestHeadersNames = {},
- // The jqXHR state
- state = 0,
- // Default abort message
- strAbort = "canceled",
- // Fake xhr
- jqXHR = {
- readyState: 0,
-
- // Builds headers hashtable if needed
- getResponseHeader: function (key) {
- var match;
- if (state === 2) {
- if (!responseHeaders) {
- responseHeaders = {};
- while ((match = rheaders.exec(responseHeadersString))) {
- responseHeaders[match[1].toLowerCase()] = match[2];
- }
- }
- match = responseHeaders[key.toLowerCase()];
- }
- return match == null ? null : match;
- },
-
- // Raw string
- getAllResponseHeaders: function () {
- return state === 2 ? responseHeadersString : null;
- },
-
- // Caches the header
- setRequestHeader: function (name, value) {
- var lname = name.toLowerCase();
- if (!state) {
- name = requestHeadersNames[lname] = requestHeadersNames[lname] || name;
- requestHeaders[name] = value;
- }
- return this;
- },
-
- // Overrides response content-type header
- overrideMimeType: function (type) {
- if (!state) {
- s.mimeType = type;
- }
- return this;
- },
-
- // Status-dependent callbacks
- statusCode: function (map) {
- var code;
- if (map) {
- if (state < 2) {
- for (code in map) {
- // Lazy-add the new callback in a way that preserves old ones
- statusCode[code] = [statusCode[code], map[code]];
- }
- } else {
- // Execute the appropriate callbacks
- jqXHR.always(map[jqXHR.status]);
- }
- }
- return this;
- },
-
- // Cancel the request
- abort: function (statusText) {
- var finalText = statusText || strAbort;
- if (transport) {
- transport.abort(finalText);
- }
- done(0, finalText);
- return this;
- }
- };
-
- // Attach deferreds
- deferred.promise(jqXHR).complete = completeDeferred.add;
- jqXHR.success = jqXHR.done;
- jqXHR.error = jqXHR.fail;
-
- // Remove hash character (#7531: and string promotion)
- // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
- // Handle falsy url in the settings object (#10093: consistency with old signature)
- // We also use the url parameter if available
- s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace(rhash, "").replace(rprotocol, ajaxLocParts[1] + "//");
-
- // Alias method option to type as per ticket #12004
- s.type = options.method || options.type || s.method || s.type;
-
- // Extract dataTypes list
- s.dataTypes = jQuery.trim(s.dataType || "*").toLowerCase().match(rnotwhite) || [""];
-
- // A cross-domain request is in order when we have a protocol:host:port mismatch
- if (s.crossDomain == null) {
- parts = rurl.exec(s.url.toLowerCase());
- s.crossDomain = !!( parts &&
- ( parts[1] !== ajaxLocParts[1] || parts[2] !== ajaxLocParts[2] ||
- ( parts[3] || ( parts[1] === "http:" ? "80" : "443" ) ) !==
- ( ajaxLocParts[3] || ( ajaxLocParts[1] === "http:" ? "80" : "443" ) ) )
- );
- }
-
- // Convert data if not already a string
- if (s.data && s.processData && typeof s.data !== "string") {
- s.data = jQuery.param(s.data, s.traditional);
- }
-
- // Apply prefilters
- inspectPrefiltersOrTransports(prefilters, s, options, jqXHR);
-
- // If request was aborted inside a prefilter, stop there
- if (state === 2) {
- return jqXHR;
- }
-
- // We can fire global events as of now if asked to
- // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)
- fireGlobals = jQuery.event && s.global;
-
- // Watch for a new set of requests
- if (fireGlobals && jQuery.active++ === 0) {
- jQuery.event.trigger("ajaxStart");
- }
-
- // Uppercase the type
- s.type = s.type.toUpperCase();
-
- // Determine if request has content
- s.hasContent = !rnoContent.test(s.type);
-
- // Save the URL in case we're toying with the If-Modified-Since
- // and/or If-None-Match header later on
- cacheURL = s.url;
-
- // More options handling for requests with no content
- if (!s.hasContent) {
-
- // If data is available, append data to url
- if (s.data) {
- cacheURL = ( s.url += ( rquery.test(cacheURL) ? "&" : "?" ) + s.data );
- // #9682: remove data so that it's not used in an eventual retry
- delete s.data;
- }
-
- // Add anti-cache in url if needed
- if (s.cache === false) {
- s.url = rts.test(cacheURL) ?
-
- // If there is already a '_' parameter, set its value
- cacheURL.replace(rts, "$1_=" + nonce++) :
-
- // Otherwise add one to the end
- cacheURL + ( rquery.test(cacheURL) ? "&" : "?" ) + "_=" + nonce++;
- }
- }
-
- // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
- if (s.ifModified) {
- if (jQuery.lastModified[cacheURL]) {
- jqXHR.setRequestHeader("If-Modified-Since", jQuery.lastModified[cacheURL]);
- }
- if (jQuery.etag[cacheURL]) {
- jqXHR.setRequestHeader("If-None-Match", jQuery.etag[cacheURL]);
- }
- }
-
- // Set the correct header, if data is being sent
- if (s.data && s.hasContent && s.contentType !== false || options.contentType) {
- jqXHR.setRequestHeader("Content-Type", s.contentType);
- }
-
- // Set the Accepts header for the server, depending on the dataType
- jqXHR.setRequestHeader(
- "Accept",
- s.dataTypes[0] && s.accepts[s.dataTypes[0]] ?
- s.accepts[s.dataTypes[0]] + ( s.dataTypes[0] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
- s.accepts["*"]
- );
-
- // Check for headers option
- for (i in s.headers) {
- jqXHR.setRequestHeader(i, s.headers[i]);
- }
-
- // Allow custom headers/mimetypes and early abort
- if (s.beforeSend && ( s.beforeSend.call(callbackContext, jqXHR, s) === false || state === 2 )) {
- // Abort if not done already and return
- return jqXHR.abort();
- }
-
- // aborting is no longer a cancellation
- strAbort = "abort";
-
- // Install callbacks on deferreds
- for (i in {success: 1, error: 1, complete: 1}) {
- jqXHR[i](s[i]);
- }
-
- // Get transport
- transport = inspectPrefiltersOrTransports(transports, s, options, jqXHR);
-
- // If no transport, we auto-abort
- if (!transport) {
- done(-1, "No Transport");
- } else {
- jqXHR.readyState = 1;
-
- // Send global event
- if (fireGlobals) {
- globalEventContext.trigger("ajaxSend", [jqXHR, s]);
- }
- // Timeout
- if (s.async && s.timeout > 0) {
- timeoutTimer = setTimeout(function () {
- jqXHR.abort("timeout");
- }, s.timeout);
- }
-
- try {
- state = 1;
- transport.send(requestHeaders, done);
- } catch (e) {
- // Propagate exception as error if not done
- if (state < 2) {
- done(-1, e);
- // Simply rethrow otherwise
- } else {
- throw e;
- }
- }
- }
-
- // Callback for when everything is done
- function done(status, nativeStatusText, responses, headers) {
- var isSuccess, success, error, response, modified,
- statusText = nativeStatusText;
-
- // Called once
- if (state === 2) {
- return;
- }
-
- // State is "done" now
- state = 2;
-
- // Clear timeout if it exists
- if (timeoutTimer) {
- clearTimeout(timeoutTimer);
- }
-
- // Dereference transport for early garbage collection
- // (no matter how long the jqXHR object will be used)
- transport = undefined;
-
- // Cache response headers
- responseHeadersString = headers || "";
-
- // Set readyState
- jqXHR.readyState = status > 0 ? 4 : 0;
-
- // Determine if successful
- isSuccess = status >= 200 && status < 300 || status === 304;
-
- // Get response data
- if (responses) {
- response = ajaxHandleResponses(s, jqXHR, responses);
- }
-
- // Convert no matter what (that way responseXXX fields are always set)
- response = ajaxConvert(s, response, jqXHR, isSuccess);
-
- // If successful, handle type chaining
- if (isSuccess) {
-
- // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
- if (s.ifModified) {
- modified = jqXHR.getResponseHeader("Last-Modified");
- if (modified) {
- jQuery.lastModified[cacheURL] = modified;
- }
- modified = jqXHR.getResponseHeader("etag");
- if (modified) {
- jQuery.etag[cacheURL] = modified;
- }
- }
-
- // if no content
- if (status === 204 || s.type === "HEAD") {
- statusText = "nocontent";
-
- // if not modified
- } else if (status === 304) {
- statusText = "notmodified";
-
- // If we have data, let's convert it
- } else {
- statusText = response.state;
- success = response.data;
- error = response.error;
- isSuccess = !error;
- }
- } else {
- // We extract error from statusText
- // then normalize statusText and status for non-aborts
- error = statusText;
- if (status || !statusText) {
- statusText = "error";
- if (status < 0) {
- status = 0;
- }
- }
- }
-
- // Set data for the fake xhr object
- jqXHR.status = status;
- jqXHR.statusText = ( nativeStatusText || statusText ) + "";
-
- // Success/Error
- if (isSuccess) {
- deferred.resolveWith(callbackContext, [success, statusText, jqXHR]);
- } else {
- deferred.rejectWith(callbackContext, [jqXHR, statusText, error]);
- }
-
- // Status-dependent callbacks
- jqXHR.statusCode(statusCode);
- statusCode = undefined;
-
- if (fireGlobals) {
- globalEventContext.trigger(isSuccess ? "ajaxSuccess" : "ajaxError",
- [jqXHR, s, isSuccess ? success : error]);
- }
-
- // Complete
- completeDeferred.fireWith(callbackContext, [jqXHR, statusText]);
-
- if (fireGlobals) {
- globalEventContext.trigger("ajaxComplete", [jqXHR, s]);
- // Handle the global AJAX counter
- if (!( --jQuery.active )) {
- jQuery.event.trigger("ajaxStop");
- }
- }
- }
-
- return jqXHR;
- },
-
- getJSON: function (url, data, callback) {
- return jQuery.get(url, data, callback, "json");
- },
-
- getScript: function (url, callback) {
- return jQuery.get(url, undefined, callback, "script");
- }
- });
-
- jQuery.each(["get", "post"], function (i, method) {
- jQuery[method] = function (url, data, callback, type) {
- // shift arguments if data argument was omitted
- if (jQuery.isFunction(data)) {
- type = type || callback;
- callback = data;
- data = undefined;
- }
-
- return jQuery.ajax({
- url: url,
- type: method,
- dataType: type,
- data: data,
- success: callback
- });
- };
- });
-
-
- jQuery._evalUrl = function (url) {
- return jQuery.ajax({
- url: url,
- type: "GET",
- dataType: "script",
- async: false,
- global: false,
- "throws": true
- });
- };
-
-
- jQuery.fn.extend({
- wrapAll: function (html) {
- if (jQuery.isFunction(html)) {
- return this.each(function (i) {
- jQuery(this).wrapAll(html.call(this, i));
- });
- }
-
- if (this[0]) {
- // The elements to wrap the target around
- var wrap = jQuery(html, this[0].ownerDocument).eq(0).clone(true);
-
- if (this[0].parentNode) {
- wrap.insertBefore(this[0]);
- }
-
- wrap.map(function () {
- var elem = this;
-
- while (elem.firstChild && elem.firstChild.nodeType === 1) {
- elem = elem.firstChild;
- }
-
- return elem;
- }).append(this);
- }
-
- return this;
- },
-
- wrapInner: function (html) {
- if (jQuery.isFunction(html)) {
- return this.each(function (i) {
- jQuery(this).wrapInner(html.call(this, i));
- });
- }
-
- return this.each(function () {
- var self = jQuery(this),
- contents = self.contents();
-
- if (contents.length) {
- contents.wrapAll(html);
-
- } else {
- self.append(html);
- }
- });
- },
-
- wrap: function (html) {
- var isFunction = jQuery.isFunction(html);
-
- return this.each(function (i) {
- jQuery(this).wrapAll(isFunction ? html.call(this, i) : html);
- });
- },
-
- unwrap: function () {
- return this.parent().each(function () {
- if (!jQuery.nodeName(this, "body")) {
- jQuery(this).replaceWith(this.childNodes);
- }
- }).end();
- }
- });
-
-
- jQuery.expr.filters.hidden = function (elem) {
- // Support: Opera <= 12.12
- // Opera reports offsetWidths and offsetHeights less than zero on some elements
- return elem.offsetWidth <= 0 && elem.offsetHeight <= 0 ||
- (!support.reliableHiddenOffsets() &&
- ((elem.style && elem.style.display) || jQuery.css(elem, "display")) === "none");
- };
-
- jQuery.expr.filters.visible = function (elem) {
- return !jQuery.expr.filters.hidden(elem);
- };
-
-
- var r20 = /%20/g,
- rbracket = /\[\]$/,
- rCRLF = /\r?\n/g,
- rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
- rsubmittable = /^(?:input|select|textarea|keygen)/i;
-
- function buildParams(prefix, obj, traditional, add) {
- var name;
-
- if (jQuery.isArray(obj)) {
- // Serialize array item.
- jQuery.each(obj, function (i, v) {
- if (traditional || rbracket.test(prefix)) {
- // Treat each array item as a scalar.
- add(prefix, v);
-
- } else {
- // Item is non-scalar (array or object), encode its numeric index.
- buildParams(prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add);
- }
- });
-
- } else if (!traditional && jQuery.type(obj) === "object") {
- // Serialize object item.
- for (name in obj) {
- buildParams(prefix + "[" + name + "]", obj[name], traditional, add);
- }
-
- } else {
- // Serialize scalar item.
- add(prefix, obj);
- }
- }
-
-// Serialize an array of form elements or a set of
-// key/values into a query string
- jQuery.param = function (a, traditional) {
- var prefix,
- s = [],
- add = function (key, value) {
- // If value is a function, invoke it and return its value
- value = jQuery.isFunction(value) ? value() : ( value == null ? "" : value );
- s[s.length] = encodeURIComponent(key) + "=" + encodeURIComponent(value);
- };
-
- // Set traditional to true for jQuery <= 1.3.2 behavior.
- if (traditional === undefined) {
- traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;
- }
-
- // If an array was passed in, assume that it is an array of form elements.
- if (jQuery.isArray(a) || ( a.jquery && !jQuery.isPlainObject(a) )) {
- // Serialize the form elements
- jQuery.each(a, function () {
- add(this.name, this.value);
- });
-
- } else {
- // If traditional, encode the "old" way (the way 1.3.2 or older
- // did it), otherwise encode params recursively.
- for (prefix in a) {
- buildParams(prefix, a[prefix], traditional, add);
- }
- }
-
- // Return the resulting serialization
- return s.join("&").replace(r20, "+");
- };
-
- jQuery.fn.extend({
- serialize: function () {
- return jQuery.param(this.serializeArray());
- },
- serializeArray: function () {
- return this.map(function () {
- // Can add propHook for "elements" to filter or add form elements
- var elements = jQuery.prop(this, "elements");
- return elements ? jQuery.makeArray(elements) : this;
- })
- .filter(function () {
- var type = this.type;
- // Use .is(":disabled") so that fieldset[disabled] works
- return this.name && !jQuery(this).is(":disabled") &&
- rsubmittable.test(this.nodeName) && !rsubmitterTypes.test(type) &&
- ( this.checked || !rcheckableType.test(type) );
- })
- .map(function (i, elem) {
- var val = jQuery(this).val();
-
- return val == null ?
- null :
- jQuery.isArray(val) ?
- jQuery.map(val, function (val) {
- return {name: elem.name, value: val.replace(rCRLF, "\r\n")};
- }) :
- {name: elem.name, value: val.replace(rCRLF, "\r\n")};
- }).get();
- }
- });
-
-
-// Create the request object
-// (This is still attached to ajaxSettings for backward compatibility)
- jQuery.ajaxSettings.xhr = window.ActiveXObject !== undefined ?
- // Support: IE6+
- function () {
-
- // XHR cannot access local files, always use ActiveX for that case
- return !this.isLocal &&
-
- // Support: IE7-8
- // oldIE XHR does not support non-RFC2616 methods (#13240)
- // See http://msdn.microsoft.com/en-us/library/ie/ms536648(v=vs.85).aspx
- // and http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9
- // Although this check for six methods instead of eight
- // since IE also does not support "trace" and "connect"
- /^(get|post|head|put|delete|options)$/i.test(this.type) &&
-
- createStandardXHR() || createActiveXHR();
- } :
- // For all other browsers, use the standard XMLHttpRequest object
- createStandardXHR;
-
- var xhrId = 0,
- xhrCallbacks = {},
- xhrSupported = jQuery.ajaxSettings.xhr();
-
-// Support: IE<10
-// Open requests must be manually aborted on unload (#5280)
-// See https://support.microsoft.com/kb/2856746 for more info
- if (window.attachEvent) {
- window.attachEvent("onunload", function () {
- for (var key in xhrCallbacks) {
- xhrCallbacks[key](undefined, true);
- }
- });
- }
-
-// Determine support properties
- support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );
- xhrSupported = support.ajax = !!xhrSupported;
-
-// Create transport if the browser can provide an xhr
- if (xhrSupported) {
-
- jQuery.ajaxTransport(function (options) {
- // Cross domain only allowed if supported through XMLHttpRequest
- if (!options.crossDomain || support.cors) {
-
- var callback;
-
- return {
- send: function (headers, complete) {
- var i,
- xhr = options.xhr(),
- id = ++xhrId;
-
- // Open the socket
- xhr.open(options.type, options.url, options.async, options.username, options.password);
-
- // Apply custom fields if provided
- if (options.xhrFields) {
- for (i in options.xhrFields) {
- xhr[i] = options.xhrFields[i];
- }
- }
-
- // Override mime type if needed
- if (options.mimeType && xhr.overrideMimeType) {
- xhr.overrideMimeType(options.mimeType);
- }
-
- // X-Requested-With header
- // For cross-domain requests, seeing as conditions for a preflight are
- // akin to a jigsaw puzzle, we simply never set it to be sure.
- // (it can always be set on a per-request basis or even using ajaxSetup)
- // For same-domain requests, won't change header if already provided.
- if (!options.crossDomain && !headers["X-Requested-With"]) {
- headers["X-Requested-With"] = "XMLHttpRequest";
- }
-
- // Set headers
- for (i in headers) {
- // Support: IE<9
- // IE's ActiveXObject throws a 'Type Mismatch' exception when setting
- // request header to a null-value.
- //
- // To keep consistent with other XHR implementations, cast the value
- // to string and ignore `undefined`.
- if (headers[i] !== undefined) {
- xhr.setRequestHeader(i, headers[i] + "");
- }
- }
-
- // Do send the request
- // This may raise an exception which is actually
- // handled in jQuery.ajax (so no try/catch here)
- xhr.send(( options.hasContent && options.data ) || null);
-
- // Listener
- callback = function (_, isAbort) {
- var status, statusText, responses;
-
- // Was never called and is aborted or complete
- if (callback && ( isAbort || xhr.readyState === 4 )) {
- // Clean up
- delete xhrCallbacks[id];
- callback = undefined;
- xhr.onreadystatechange = jQuery.noop;
-
- // Abort manually if needed
- if (isAbort) {
- if (xhr.readyState !== 4) {
- xhr.abort();
- }
- } else {
- responses = {};
- status = xhr.status;
-
- // Support: IE<10
- // Accessing binary-data responseText throws an exception
- // (#11426)
- if (typeof xhr.responseText === "string") {
- responses.text = xhr.responseText;
- }
-
- // Firefox throws an exception when accessing
- // statusText for faulty cross-domain requests
- try {
- statusText = xhr.statusText;
- } catch (e) {
- // We normalize with Webkit giving an empty statusText
- statusText = "";
- }
-
- // Filter status for non standard behaviors
-
- // If the request is local and we have data: assume a success
- // (success with no data won't get notified, that's the best we
- // can do given current implementations)
- if (!status && options.isLocal && !options.crossDomain) {
- status = responses.text ? 200 : 404;
- // IE - #1450: sometimes returns 1223 when it should be 204
- } else if (status === 1223) {
- status = 204;
- }
- }
- }
-
- // Call complete if needed
- if (responses) {
- complete(status, statusText, responses, xhr.getAllResponseHeaders());
- }
- };
-
- if (!options.async) {
- // if we're in sync mode we fire the callback
- callback();
- } else if (xhr.readyState === 4) {
- // (IE6 & IE7) if it's in cache and has been
- // retrieved directly we need to fire the callback
- setTimeout(callback);
- } else {
- // Add to the list of active xhr callbacks
- xhr.onreadystatechange = xhrCallbacks[id] = callback;
- }
- },
-
- abort: function () {
- if (callback) {
- callback(undefined, true);
- }
- }
- };
- }
- });
- }
-
-// Functions to create xhrs
- function createStandardXHR() {
- try {
- return new window.XMLHttpRequest();
- } catch (e) {
- }
- }
-
- function createActiveXHR() {
- try {
- return new window.ActiveXObject("Microsoft.XMLHTTP");
- } catch (e) {
- }
- }
-
-
-// Install script dataType
- jQuery.ajaxSetup({
- accepts: {
- script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
- },
- contents: {
- script: /(?:java|ecma)script/
- },
- converters: {
- "text script": function (text) {
- jQuery.globalEval(text);
- return text;
- }
- }
- });
-
-// Handle cache's special case and global
- jQuery.ajaxPrefilter("script", function (s) {
- if (s.cache === undefined) {
- s.cache = false;
- }
- if (s.crossDomain) {
- s.type = "GET";
- s.global = false;
- }
- });
-
-// Bind script tag hack transport
- jQuery.ajaxTransport("script", function (s) {
-
- // This transport only deals with cross domain requests
- if (s.crossDomain) {
-
- var script,
- head = document.head || jQuery("head")[0] || document.documentElement;
-
- return {
-
- send: function (_, callback) {
-
- script = document.createElement("script");
-
- script.async = true;
-
- if (s.scriptCharset) {
- script.charset = s.scriptCharset;
- }
-
- script.src = s.url;
-
- // Attach handlers for all browsers
- script.onload = script.onreadystatechange = function (_, isAbort) {
-
- if (isAbort || !script.readyState || /loaded|complete/.test(script.readyState)) {
-
- // Handle memory leak in IE
- script.onload = script.onreadystatechange = null;
-
- // Remove the script
- if (script.parentNode) {
- script.parentNode.removeChild(script);
- }
-
- // Dereference the script
- script = null;
-
- // Callback if not abort
- if (!isAbort) {
- callback(200, "success");
- }
- }
- };
-
- // Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending
- // Use native DOM manipulation to avoid our domManip AJAX trickery
- head.insertBefore(script, head.firstChild);
- },
-
- abort: function () {
- if (script) {
- script.onload(undefined, true);
- }
- }
- };
- }
- });
-
-
- var oldCallbacks = [],
- rjsonp = /(=)\?(?=&|$)|\?\?/;
-
-// Default jsonp settings
- jQuery.ajaxSetup({
- jsonp: "callback",
- jsonpCallback: function () {
- var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) );
- this[callback] = true;
- return callback;
- }
- });
-
-// Detect, normalize options and install callbacks for jsonp requests
- jQuery.ajaxPrefilter("json jsonp", function (s, originalSettings, jqXHR) {
-
- var callbackName, overwritten, responseContainer,
- jsonProp = s.jsonp !== false && ( rjsonp.test(s.url) ?
- "url" :
- typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test(s.data) && "data"
- );
-
- // Handle iff the expected data type is "jsonp" or we have a parameter to set
- if (jsonProp || s.dataTypes[0] === "jsonp") {
-
- // Get callback name, remembering preexisting value associated with it
- callbackName = s.jsonpCallback = jQuery.isFunction(s.jsonpCallback) ?
- s.jsonpCallback() :
- s.jsonpCallback;
-
- // Insert callback into url or form data
- if (jsonProp) {
- s[jsonProp] = s[jsonProp].replace(rjsonp, "$1" + callbackName);
- } else if (s.jsonp !== false) {
- s.url += ( rquery.test(s.url) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
- }
-
- // Use data converter to retrieve json after script execution
- s.converters["script json"] = function () {
- if (!responseContainer) {
- jQuery.error(callbackName + " was not called");
- }
- return responseContainer[0];
- };
-
- // force json dataType
- s.dataTypes[0] = "json";
-
- // Install callback
- overwritten = window[callbackName];
- window[callbackName] = function () {
- responseContainer = arguments;
- };
-
- // Clean-up function (fires after converters)
- jqXHR.always(function () {
- // Restore preexisting value
- window[callbackName] = overwritten;
-
- // Save back as free
- if (s[callbackName]) {
- // make sure that re-using the options doesn't screw things around
- s.jsonpCallback = originalSettings.jsonpCallback;
-
- // save the callback name for future use
- oldCallbacks.push(callbackName);
- }
-
- // Call if it was a function and we have a response
- if (responseContainer && jQuery.isFunction(overwritten)) {
- overwritten(responseContainer[0]);
- }
-
- responseContainer = overwritten = undefined;
- });
-
- // Delegate to script
- return "script";
- }
- });
-
-
-// data: string of html
-// context (optional): If specified, the fragment will be created in this context, defaults to document
-// keepScripts (optional): If true, will include scripts passed in the html string
- jQuery.parseHTML = function (data, context, keepScripts) {
- if (!data || typeof data !== "string") {
- return null;
- }
- if (typeof context === "boolean") {
- keepScripts = context;
- context = false;
- }
- context = context || document;
-
- var parsed = rsingleTag.exec(data),
- scripts = !keepScripts && [];
-
- // Single tag
- if (parsed) {
- return [context.createElement(parsed[1])];
- }
-
- parsed = jQuery.buildFragment([data], context, scripts);
-
- if (scripts && scripts.length) {
- jQuery(scripts).remove();
- }
-
- return jQuery.merge([], parsed.childNodes);
- };
-
-
-// Keep a copy of the old load method
- var _load = jQuery.fn.load;
-
- /**
- * Load a url into a page
- */
- jQuery.fn.load = function (url, params, callback) {
- if (typeof url !== "string" && _load) {
- return _load.apply(this, arguments);
- }
-
- var selector, response, type,
- self = this,
- off = url.indexOf(" ");
-
- if (off >= 0) {
- selector = jQuery.trim(url.slice(off, url.length));
- url = url.slice(0, off);
- }
-
- // If it's a function
- if (jQuery.isFunction(params)) {
-
- // We assume that it's the callback
- callback = params;
- params = undefined;
-
- // Otherwise, build a param string
- } else if (params && typeof params === "object") {
- type = "POST";
- }
-
- // If we have elements to modify, make the request
- if (self.length > 0) {
- jQuery.ajax({
- url: url,
-
- // if "type" variable is undefined, then "GET" method will be used
- type: type,
- dataType: "html",
- data: params
- }).done(function (responseText) {
-
- // Save response for use in complete callback
- response = arguments;
-
- self.html(selector ?
-
- // If a selector was specified, locate the right elements in a dummy div
- // Exclude scripts to avoid IE 'Permission Denied' errors
- jQuery("<div>").append(jQuery.parseHTML(responseText)).find(selector) :
-
- // Otherwise use the full result
- responseText);
-
- }).complete(callback && function (jqXHR, status) {
- self.each(callback, response || [jqXHR.responseText, status, jqXHR]);
- });
- }
-
- return this;
- };
-
-
-// Attach a bunch of functions for handling common AJAX events
- jQuery.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (i, type) {
- jQuery.fn[type] = function (fn) {
- return this.on(type, fn);
- };
- });
-
-
- jQuery.expr.filters.animated = function (elem) {
- return jQuery.grep(jQuery.timers, function (fn) {
- return elem === fn.elem;
- }).length;
- };
-
-
- var docElem = window.document.documentElement;
-
- /**
- * Gets a window from an element
- */
- function getWindow(elem) {
- return jQuery.isWindow(elem) ?
- elem :
- elem.nodeType === 9 ?
- elem.defaultView || elem.parentWindow :
- false;
- }
-
- jQuery.offset = {
- setOffset: function (elem, options, i) {
- var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
- position = jQuery.css(elem, "position"),
- curElem = jQuery(elem),
- props = {};
-
- // set position first, in-case top/left are set even on static elem
- if (position === "static") {
- elem.style.position = "relative";
- }
-
- curOffset = curElem.offset();
- curCSSTop = jQuery.css(elem, "top");
- curCSSLeft = jQuery.css(elem, "left");
- calculatePosition = ( position === "absolute" || position === "fixed" ) &&
- jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1;
-
- // need to be able to calculate position if either top or left is auto and position is either absolute or fixed
- if (calculatePosition) {
- curPosition = curElem.position();
- curTop = curPosition.top;
- curLeft = curPosition.left;
- } else {
- curTop = parseFloat(curCSSTop) || 0;
- curLeft = parseFloat(curCSSLeft) || 0;
- }
-
- if (jQuery.isFunction(options)) {
- options = options.call(elem, i, curOffset);
- }
-
- if (options.top != null) {
- props.top = ( options.top - curOffset.top ) + curTop;
- }
- if (options.left != null) {
- props.left = ( options.left - curOffset.left ) + curLeft;
- }
-
- if ("using" in options) {
- options.using.call(elem, props);
- } else {
- curElem.css(props);
- }
- }
- };
-
- jQuery.fn.extend({
- offset: function (options) {
- if (arguments.length) {
- return options === undefined ?
- this :
- this.each(function (i) {
- jQuery.offset.setOffset(this, options, i);
- });
- }
-
- var docElem, win,
- box = {top: 0, left: 0},
- elem = this[0],
- doc = elem && elem.ownerDocument;
-
- if (!doc) {
- return;
- }
-
- docElem = doc.documentElement;
-
- // Make sure it's not a disconnected DOM node
- if (!jQuery.contains(docElem, elem)) {
- return box;
- }
-
- // If we don't have gBCR, just use 0,0 rather than error
- // BlackBerry 5, iOS 3 (original iPhone)
- if (typeof elem.getBoundingClientRect !== strundefined) {
- box = elem.getBoundingClientRect();
- }
- win = getWindow(doc);
- return {
- top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ),
- left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )
- };
- },
-
- position: function () {
- if (!this[0]) {
- return;
- }
-
- var offsetParent, offset,
- parentOffset = {top: 0, left: 0},
- elem = this[0];
-
- // fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is its only offset parent
- if (jQuery.css(elem, "position") === "fixed") {
- // we assume that getBoundingClientRect is available when computed position is fixed
- offset = elem.getBoundingClientRect();
- } else {
- // Get *real* offsetParent
- offsetParent = this.offsetParent();
-
- // Get correct offsets
- offset = this.offset();
- if (!jQuery.nodeName(offsetParent[0], "html")) {
- parentOffset = offsetParent.offset();
- }
-
- // Add offsetParent borders
- parentOffset.top += jQuery.css(offsetParent[0], "borderTopWidth", true);
- parentOffset.left += jQuery.css(offsetParent[0], "borderLeftWidth", true);
- }
-
- // Subtract parent offsets and element margins
- // note: when an element has margin: auto the offsetLeft and marginLeft
- // are the same in Safari causing offset.left to incorrectly be 0
- return {
- top: offset.top - parentOffset.top - jQuery.css(elem, "marginTop", true),
- left: offset.left - parentOffset.left - jQuery.css(elem, "marginLeft", true)
- };
- },
-
- offsetParent: function () {
- return this.map(function () {
- var offsetParent = this.offsetParent || docElem;
-
- while (offsetParent && ( !jQuery.nodeName(offsetParent, "html") && jQuery.css(offsetParent, "position") === "static" )) {
- offsetParent = offsetParent.offsetParent;
- }
- return offsetParent || docElem;
- });
- }
- });
-
-// Create scrollLeft and scrollTop methods
- jQuery.each({scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function (method, prop) {
- var top = /Y/.test(prop);
-
- jQuery.fn[method] = function (val) {
- return access(this, function (elem, method, val) {
- var win = getWindow(elem);
-
- if (val === undefined) {
- return win ? (prop in win) ? win[prop] :
- win.document.documentElement[method] :
- elem[method];
- }
-
- if (win) {
- win.scrollTo(
- !top ? val : jQuery(win).scrollLeft(),
- top ? val : jQuery(win).scrollTop()
- );
-
- } else {
- elem[method] = val;
- }
- }, method, val, arguments.length, null);
- };
- });
-
-// Add the top/left cssHooks using jQuery.fn.position
-// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
-// getComputedStyle returns percent when specified for top/left/bottom/right
-// rather than make the css module depend on the offset module, we just check for it here
- jQuery.each(["top", "left"], function (i, prop) {
- jQuery.cssHooks[prop] = addGetHookIf(support.pixelPosition,
- function (elem, computed) {
- if (computed) {
- computed = curCSS(elem, prop);
- // if curCSS returns percentage, fallback to offset
- return rnumnonpx.test(computed) ?
- jQuery(elem).position()[prop] + "px" :
- computed;
- }
- }
- );
- });
-
-
-// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
- jQuery.each({Height: "height", Width: "width"}, function (name, type) {
- jQuery.each({padding: "inner" + name, content: type, "": "outer" + name}, function (defaultExtra, funcName) {
- // margin is only for outerHeight, outerWidth
- jQuery.fn[funcName] = function (margin, value) {
- var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ),
- extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" );
-
- return access(this, function (elem, type, value) {
- var doc;
-
- if (jQuery.isWindow(elem)) {
- // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there
- // isn't a whole lot we can do. See pull request at this URL for discussion:
- // https://github.com/jquery/jquery/pull/764
- return elem.document.documentElement["client" + name];
- }
-
- // Get document width or height
- if (elem.nodeType === 9) {
- doc = elem.documentElement;
-
- // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest
- // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it.
- return Math.max(
- elem.body["scroll" + name], doc["scroll" + name],
- elem.body["offset" + name], doc["offset" + name],
- doc["client" + name]
- );
- }
-
- return value === undefined ?
- // Get width or height on the element, requesting but not forcing parseFloat
- jQuery.css(elem, type, extra) :
-
- // Set width or height on the element
- jQuery.style(elem, type, value, extra);
- }, type, chainable ? margin : undefined, chainable, null);
- };
- });
- });
-
-
-// The number of elements contained in the matched element set
- jQuery.fn.size = function () {
- return this.length;
- };
-
- jQuery.fn.andSelf = jQuery.fn.addBack;
-
-
-// Register as a named AMD module, since jQuery can be concatenated with other
-// files that may use define, but not via a proper concatenation script that
-// understands anonymous AMD modules. A named AMD is safest and most robust
-// way to register. Lowercase jquery is used because AMD module names are
-// derived from file names, and jQuery is normally delivered in a lowercase
-// file name. Do this after creating the global so that if an AMD module wants
-// to call noConflict to hide this version of jQuery, it will work.
-
-// Note that for maximum portability, libraries that are not jQuery should
-// declare themselves as anonymous modules, and avoid setting a global if an
-// AMD loader is present. jQuery is a special case. For more information, see
-// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon
-
- if (typeof define === "function" && define.amd) {
- define("jquery", [], function () {
- return jQuery;
- });
- }
-
-
- var
- // Map over jQuery in case of overwrite
- _jQuery = window.jQuery,
-
- // Map over the $ in case of overwrite
- _$ = window.$;
-
- jQuery.noConflict = function (deep) {
- if (window.$ === jQuery) {
- window.$ = _$;
- }
-
- if (deep && window.jQuery === jQuery) {
- window.jQuery = _jQuery;
- }
-
- return jQuery;
- };
-
-// Expose jQuery and $ identifiers, even in
-// AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
-// and CommonJS for browser emulators (#13566)
- if (typeof noGlobal === strundefined) {
- window.jQuery = window.$ = jQuery;
- }
-
-
- return jQuery;
-
-}));
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.11.2.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.11.2.min.js
deleted file mode 100644
index 79e6ee1c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.11.2.min.js
+++ /dev/null
@@ -1,2625 +0,0 @@
-/*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
-!function (a, b) {
- "object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function (a) {
- if (!a.document)throw new Error("jQuery requires a window with a document");
- return b(a)
- } : b(a)
-}("undefined" != typeof window ? window : this, function (a, b) {
- var c = [], d = c.slice, e = c.concat, f = c.push, g = c.indexOf, h = {}, i = h.toString, j = h.hasOwnProperty, k = {}, l = "1.11.2", m = function (a, b) {
- return new m.fn.init(a, b)
- }, n = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, o = /^-ms-/, p = /-([\da-z])/gi, q = function (a, b) {
- return b.toUpperCase()
- };
- m.fn = m.prototype = {
- jquery: l, constructor: m, selector: "", length: 0, toArray: function () {
- return d.call(this)
- }, get: function (a) {
- return null != a ? 0 > a ? this[a + this.length] : this[a] : d.call(this)
- }, pushStack: function (a) {
- var b = m.merge(this.constructor(), a);
- return b.prevObject = this, b.context = this.context, b
- }, each: function (a, b) {
- return m.each(this, a, b)
- }, map: function (a) {
- return this.pushStack(m.map(this, function (b, c) {
- return a.call(b, c, b)
- }))
- }, slice: function () {
- return this.pushStack(d.apply(this, arguments))
- }, first: function () {
- return this.eq(0)
- }, last: function () {
- return this.eq(-1)
- }, eq: function (a) {
- var b = this.length, c = +a + (0 > a ? b : 0);
- return this.pushStack(c >= 0 && b > c ? [this[c]] : [])
- }, end: function () {
- return this.prevObject || this.constructor(null)
- }, push: f, sort: c.sort, splice: c.splice
- }, m.extend = m.fn.extend = function () {
- var a, b, c, d, e, f, g = arguments[0] || {}, h = 1, i = arguments.length, j = !1;
- for ("boolean" == typeof g && (j = g, g = arguments[h] || {}, h++), "object" == typeof g || m.isFunction(g) || (g = {}), h === i && (g = this, h--); i > h; h++)if (null != (e = arguments[h]))for (d in e)a = g[d], c = e[d], g !== c && (j && c && (m.isPlainObject(c) || (b = m.isArray(c))) ? (b ? (b = !1, f = a && m.isArray(a) ? a : []) : f = a && m.isPlainObject(a) ? a : {}, g[d] = m.extend(j, f, c)) : void 0 !== c && (g[d] = c));
- return g
- }, m.extend({
- expando: "jQuery" + (l + Math.random()).replace(/\D/g, ""), isReady: !0, error: function (a) {
- throw new Error(a)
- }, noop: function () {
- }, isFunction: function (a) {
- return "function" === m.type(a)
- }, isArray: Array.isArray || function (a) {
- return "array" === m.type(a)
- }, isWindow: function (a) {
- return null != a && a == a.window
- }, isNumeric: function (a) {
- return !m.isArray(a) && a - parseFloat(a) + 1 >= 0
- }, isEmptyObject: function (a) {
- var b;
- for (b in a)return !1;
- return !0
- }, isPlainObject: function (a) {
- var b;
- if (!a || "object" !== m.type(a) || a.nodeType || m.isWindow(a))return !1;
- try {
- if (a.constructor && !j.call(a, "constructor") && !j.call(a.constructor.prototype, "isPrototypeOf"))return !1
- } catch (c) {
- return !1
- }
- if (k.ownLast)for (b in a)return j.call(a, b);
- for (b in a);
- return void 0 === b || j.call(a, b)
- }, type: function (a) {
- return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? h[i.call(a)] || "object" : typeof a
- }, globalEval: function (b) {
- b && m.trim(b) && (a.execScript || function (b) {
- a.eval.call(a, b)
- })(b)
- }, camelCase: function (a) {
- return a.replace(o, "ms-").replace(p, q)
- }, nodeName: function (a, b) {
- return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
- }, each: function (a, b, c) {
- var d, e = 0, f = a.length, g = r(a);
- if (c) {
- if (g) {
- for (; f > e; e++)if (d = b.apply(a[e], c), d === !1)break
- } else for (e in a)if (d = b.apply(a[e], c), d === !1)break
- } else if (g) {
- for (; f > e; e++)if (d = b.call(a[e], e, a[e]), d === !1)break
- } else for (e in a)if (d = b.call(a[e], e, a[e]), d === !1)break;
- return a
- }, trim: function (a) {
- return null == a ? "" : (a + "").replace(n, "")
- }, makeArray: function (a, b) {
- var c = b || [];
- return null != a && (r(Object(a)) ? m.merge(c, "string" == typeof a ? [a] : a) : f.call(c, a)), c
- }, inArray: function (a, b, c) {
- var d;
- if (b) {
- if (g)return g.call(b, a, c);
- for (d = b.length, c = c ? 0 > c ? Math.max(0, d + c) : c : 0; d > c; c++)if (c in b && b[c] === a)return c
- }
- return -1
- }, merge: function (a, b) {
- var c = +b.length, d = 0, e = a.length;
- while (c > d)a[e++] = b[d++];
- if (c !== c)while (void 0 !== b[d])a[e++] = b[d++];
- return a.length = e, a
- }, grep: function (a, b, c) {
- for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++)d = !b(a[f], f), d !== h && e.push(a[f]);
- return e
- }, map: function (a, b, c) {
- var d, f = 0, g = a.length, h = r(a), i = [];
- if (h)for (; g > f; f++)d = b(a[f], f, c), null != d && i.push(d); else for (f in a)d = b(a[f], f, c), null != d && i.push(d);
- return e.apply([], i)
- }, guid: 1, proxy: function (a, b) {
- var c, e, f;
- return "string" == typeof b && (f = a[b], b = a, a = f), m.isFunction(a) ? (c = d.call(arguments, 2), e = function () {
- return a.apply(b || this, c.concat(d.call(arguments)))
- }, e.guid = a.guid = a.guid || m.guid++, e) : void 0
- }, now: function () {
- return +new Date
- }, support: k
- }), m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (a, b) {
- h["[object " + b + "]"] = b.toLowerCase()
- });
- function r(a) {
- var b = a.length, c = m.type(a);
- return "function" === c || m.isWindow(a) ? !1 : 1 === a.nodeType && b ? !0 : "array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a
- }
-
- var s = function (a) {
- var b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u = "sizzle" + 1 * new Date, v = a.document, w = 0, x = 0, y = hb(), z = hb(), A = hb(), B = function (a, b) {
- return a === b && (l = !0), 0
- }, C = 1 << 31, D = {}.hasOwnProperty, E = [], F = E.pop, G = E.push, H = E.push, I = E.slice, J = function (a, b) {
- for (var c = 0, d = a.length; d > c; c++)if (a[c] === b)return c;
- return -1
- }, K = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", L = "[\\x20\\t\\r\\n\\f]", M = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", N = M.replace("w", "w#"), O = "\\[" + L + "*(" + M + ")(?:" + L + "*([*^$|!~]?=)" + L + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + N + "))|)" + L + "*\\]", P = ":(" + M + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + O + ")*)|.*)\\)|)", Q = new RegExp(L + "+", "g"), R = new RegExp("^" + L + "+|((?:^|[^\\\\])(?:\\\\.)*)" + L + "+$", "g"), S = new RegExp("^" + L + "*," + L + "*"), T = new RegExp("^" + L + "*([>+~]|" + L + ")" + L + "*"), U = new RegExp("=" + L + "*([^\\]'\"]*?)" + L + "*\\]", "g"), V = new RegExp(P), W = new RegExp("^" + N + "$"), X = {
- ID: new RegExp("^#(" + M + ")"),
- CLASS: new RegExp("^\\.(" + M + ")"),
- TAG: new RegExp("^(" + M.replace("w", "w*") + ")"),
- ATTR: new RegExp("^" + O),
- PSEUDO: new RegExp("^" + P),
- CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + L + "*(even|odd|(([+-]|)(\\d*)n|)" + L + "*(?:([+-]|)" + L + "*(\\d+)|))" + L + "*\\)|)", "i"),
- bool: new RegExp("^(?:" + K + ")$", "i"),
- needsContext: new RegExp("^" + L + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + L + "*((?:-\\d)?\\d*)" + L + "*\\)|)(?=[^-]|$)", "i")
- }, Y = /^(?:input|select|textarea|button)$/i, Z = /^h\d$/i, $ = /^[^{]+\{\s*\[native \w/, _ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, ab = /[+~]/, bb = /'|\\/g, cb = new RegExp("\\\\([\\da-f]{1,6}" + L + "?|(" + L + ")|.)", "ig"), db = function (a, b, c) {
- var d = "0x" + b - 65536;
- return d !== d || c ? b : 0 > d ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
- }, eb = function () {
- m()
- };
- try {
- H.apply(E = I.call(v.childNodes), v.childNodes), E[v.childNodes.length].nodeType
- } catch (fb) {
- H = {
- apply: E.length ? function (a, b) {
- G.apply(a, I.call(b))
- } : function (a, b) {
- var c = a.length, d = 0;
- while (a[c++] = b[d++]);
- a.length = c - 1
- }
- }
- }
- function gb(a, b, d, e) {
- var f, h, j, k, l, o, r, s, w, x;
- if ((b ? b.ownerDocument || b : v) !== n && m(b), b = b || n, d = d || [], k = b.nodeType, "string" != typeof a || !a || 1 !== k && 9 !== k && 11 !== k)return d;
- if (!e && p) {
- if (11 !== k && (f = _.exec(a)))if (j = f[1]) {
- if (9 === k) {
- if (h = b.getElementById(j), !h || !h.parentNode)return d;
- if (h.id === j)return d.push(h), d
- } else if (b.ownerDocument && (h = b.ownerDocument.getElementById(j)) && t(b, h) && h.id === j)return d.push(h), d
- } else {
- if (f[2])return H.apply(d, b.getElementsByTagName(a)), d;
- if ((j = f[3]) && c.getElementsByClassName)return H.apply(d, b.getElementsByClassName(j)), d
- }
- if (c.qsa && (!q || !q.test(a))) {
- if (s = r = u, w = b, x = 1 !== k && a, 1 === k && "object" !== b.nodeName.toLowerCase()) {
- o = g(a), (r = b.getAttribute("id")) ? s = r.replace(bb, "\\$&") : b.setAttribute("id", s), s = "[id='" + s + "'] ", l = o.length;
- while (l--)o[l] = s + rb(o[l]);
- w = ab.test(a) && pb(b.parentNode) || b, x = o.join(",")
- }
- if (x)try {
- return H.apply(d, w.querySelectorAll(x)), d
- } catch (y) {
- } finally {
- r || b.removeAttribute("id")
- }
- }
- }
- return i(a.replace(R, "$1"), b, d, e)
- }
-
- function hb() {
- var a = [];
-
- function b(c, e) {
- return a.push(c + " ") > d.cacheLength && delete b[a.shift()], b[c + " "] = e
- }
-
- return b
- }
-
- function ib(a) {
- return a[u] = !0, a
- }
-
- function jb(a) {
- var b = n.createElement("div");
- try {
- return !!a(b)
- } catch (c) {
- return !1
- } finally {
- b.parentNode && b.parentNode.removeChild(b), b = null
- }
- }
-
- function kb(a, b) {
- var c = a.split("|"), e = a.length;
- while (e--)d.attrHandle[c[e]] = b
- }
-
- function lb(a, b) {
- var c = b && a, d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || C) - (~a.sourceIndex || C);
- if (d)return d;
- if (c)while (c = c.nextSibling)if (c === b)return -1;
- return a ? 1 : -1
- }
-
- function mb(a) {
- return function (b) {
- var c = b.nodeName.toLowerCase();
- return "input" === c && b.type === a
- }
- }
-
- function nb(a) {
- return function (b) {
- var c = b.nodeName.toLowerCase();
- return ("input" === c || "button" === c) && b.type === a
- }
- }
-
- function ob(a) {
- return ib(function (b) {
- return b = +b, ib(function (c, d) {
- var e, f = a([], c.length, b), g = f.length;
- while (g--)c[e = f[g]] && (c[e] = !(d[e] = c[e]))
- })
- })
- }
-
- function pb(a) {
- return a && "undefined" != typeof a.getElementsByTagName && a
- }
-
- c = gb.support = {}, f = gb.isXML = function (a) {
- var b = a && (a.ownerDocument || a).documentElement;
- return b ? "HTML" !== b.nodeName : !1
- }, m = gb.setDocument = function (a) {
- var b, e, g = a ? a.ownerDocument || a : v;
- return g !== n && 9 === g.nodeType && g.documentElement ? (n = g, o = g.documentElement, e = g.defaultView, e && e !== e.top && (e.addEventListener ? e.addEventListener("unload", eb, !1) : e.attachEvent && e.attachEvent("onunload", eb)), p = !f(g), c.attributes = jb(function (a) {
- return a.className = "i", !a.getAttribute("className")
- }), c.getElementsByTagName = jb(function (a) {
- return a.appendChild(g.createComment("")), !a.getElementsByTagName("*").length
- }), c.getElementsByClassName = $.test(g.getElementsByClassName), c.getById = jb(function (a) {
- return o.appendChild(a).id = u, !g.getElementsByName || !g.getElementsByName(u).length
- }), c.getById ? (d.find.ID = function (a, b) {
- if ("undefined" != typeof b.getElementById && p) {
- var c = b.getElementById(a);
- return c && c.parentNode ? [c] : []
- }
- }, d.filter.ID = function (a) {
- var b = a.replace(cb, db);
- return function (a) {
- return a.getAttribute("id") === b
- }
- }) : (delete d.find.ID, d.filter.ID = function (a) {
- var b = a.replace(cb, db);
- return function (a) {
- var c = "undefined" != typeof a.getAttributeNode && a.getAttributeNode("id");
- return c && c.value === b
- }
- }), d.find.TAG = c.getElementsByTagName ? function (a, b) {
- return "undefined" != typeof b.getElementsByTagName ? b.getElementsByTagName(a) : c.qsa ? b.querySelectorAll(a) : void 0
- } : function (a, b) {
- var c, d = [], e = 0, f = b.getElementsByTagName(a);
- if ("*" === a) {
- while (c = f[e++])1 === c.nodeType && d.push(c);
- return d
- }
- return f
- }, d.find.CLASS = c.getElementsByClassName && function (a, b) {
- return p ? b.getElementsByClassName(a) : void 0
- }, r = [], q = [], (c.qsa = $.test(g.querySelectorAll)) && (jb(function (a) {
- o.appendChild(a).innerHTML = "<a id='" + u + "'></a><select id='" + u + "-\f]' msallowcapture=''><option selected=''></option></select>", a.querySelectorAll("[msallowcapture^='']").length && q.push("[*^$]=" + L + "*(?:''|\"\")"), a.querySelectorAll("[selected]").length || q.push("\\[" + L + "*(?:value|" + K + ")"), a.querySelectorAll("[id~=" + u + "-]").length || q.push("~="), a.querySelectorAll(":checked").length || q.push(":checked"), a.querySelectorAll("a#" + u + "+*").length || q.push(".#.+[+~]")
- }), jb(function (a) {
- var b = g.createElement("input");
- b.setAttribute("type", "hidden"), a.appendChild(b).setAttribute("name", "D"), a.querySelectorAll("[name=d]").length && q.push("name" + L + "*[*^$|!~]?="), a.querySelectorAll(":enabled").length || q.push(":enabled", ":disabled"), a.querySelectorAll("*,:x"), q.push(",.*:")
- })), (c.matchesSelector = $.test(s = o.matches || o.webkitMatchesSelector || o.mozMatchesSelector || o.oMatchesSelector || o.msMatchesSelector)) && jb(function (a) {
- c.disconnectedMatch = s.call(a, "div"), s.call(a, "[s!='']:x"), r.push("!=", P)
- }), q = q.length && new RegExp(q.join("|")), r = r.length && new RegExp(r.join("|")), b = $.test(o.compareDocumentPosition), t = b || $.test(o.contains) ? function (a, b) {
- var c = 9 === a.nodeType ? a.documentElement : a, d = b && b.parentNode;
- return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
- } : function (a, b) {
- if (b)while (b = b.parentNode)if (b === a)return !0;
- return !1
- }, B = b ? function (a, b) {
- if (a === b)return l = !0, 0;
- var d = !a.compareDocumentPosition - !b.compareDocumentPosition;
- return d ? d : (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === g || a.ownerDocument === v && t(v, a) ? -1 : b === g || b.ownerDocument === v && t(v, b) ? 1 : k ? J(k, a) - J(k, b) : 0 : 4 & d ? -1 : 1)
- } : function (a, b) {
- if (a === b)return l = !0, 0;
- var c, d = 0, e = a.parentNode, f = b.parentNode, h = [a], i = [b];
- if (!e || !f)return a === g ? -1 : b === g ? 1 : e ? -1 : f ? 1 : k ? J(k, a) - J(k, b) : 0;
- if (e === f)return lb(a, b);
- c = a;
- while (c = c.parentNode)h.unshift(c);
- c = b;
- while (c = c.parentNode)i.unshift(c);
- while (h[d] === i[d])d++;
- return d ? lb(h[d], i[d]) : h[d] === v ? -1 : i[d] === v ? 1 : 0
- }, g) : n
- }, gb.matches = function (a, b) {
- return gb(a, null, null, b)
- }, gb.matchesSelector = function (a, b) {
- if ((a.ownerDocument || a) !== n && m(a), b = b.replace(U, "='$1']"), !(!c.matchesSelector || !p || r && r.test(b) || q && q.test(b)))try {
- var d = s.call(a, b);
- if (d || c.disconnectedMatch || a.document && 11 !== a.document.nodeType)return d
- } catch (e) {
- }
- return gb(b, n, null, [a]).length > 0
- }, gb.contains = function (a, b) {
- return (a.ownerDocument || a) !== n && m(a), t(a, b)
- }, gb.attr = function (a, b) {
- (a.ownerDocument || a) !== n && m(a);
- var e = d.attrHandle[b.toLowerCase()], f = e && D.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !p) : void 0;
- return void 0 !== f ? f : c.attributes || !p ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null
- }, gb.error = function (a) {
- throw new Error("Syntax error, unrecognized expression: " + a)
- }, gb.uniqueSort = function (a) {
- var b, d = [], e = 0, f = 0;
- if (l = !c.detectDuplicates, k = !c.sortStable && a.slice(0), a.sort(B), l) {
- while (b = a[f++])b === a[f] && (e = d.push(f));
- while (e--)a.splice(d[e], 1)
- }
- return k = null, a
- }, e = gb.getText = function (a) {
- var b, c = "", d = 0, f = a.nodeType;
- if (f) {
- if (1 === f || 9 === f || 11 === f) {
- if ("string" == typeof a.textContent)return a.textContent;
- for (a = a.firstChild; a; a = a.nextSibling)c += e(a)
- } else if (3 === f || 4 === f)return a.nodeValue
- } else while (b = a[d++])c += e(b);
- return c
- }, d = gb.selectors = {
- cacheLength: 50,
- createPseudo: ib,
- match: X,
- attrHandle: {},
- find: {},
- relative: {
- ">": {dir: "parentNode", first: !0},
- " ": {dir: "parentNode"},
- "+": {dir: "previousSibling", first: !0},
- "~": {dir: "previousSibling"}
- },
- preFilter: {
- ATTR: function (a) {
- return a[1] = a[1].replace(cb, db), a[3] = (a[3] || a[4] || a[5] || "").replace(cb, db), "~=" === a[2] && (a[3] = " " + a[3] + " "), a.slice(0, 4)
- }, CHILD: function (a) {
- return a[1] = a[1].toLowerCase(), "nth" === a[1].slice(0, 3) ? (a[3] || gb.error(a[0]), a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * ("even" === a[3] || "odd" === a[3])), a[5] = +(a[7] + a[8] || "odd" === a[3])) : a[3] && gb.error(a[0]), a
- }, PSEUDO: function (a) {
- var b, c = !a[6] && a[2];
- return X.CHILD.test(a[0]) ? null : (a[3] ? a[2] = a[4] || a[5] || "" : c && V.test(c) && (b = g(c, !0)) && (b = c.indexOf(")", c.length - b) - c.length) && (a[0] = a[0].slice(0, b), a[2] = c.slice(0, b)), a.slice(0, 3))
- }
- },
- filter: {
- TAG: function (a) {
- var b = a.replace(cb, db).toLowerCase();
- return "*" === a ? function () {
- return !0
- } : function (a) {
- return a.nodeName && a.nodeName.toLowerCase() === b
- }
- }, CLASS: function (a) {
- var b = y[a + " "];
- return b || (b = new RegExp("(^|" + L + ")" + a + "(" + L + "|$)")) && y(a, function (a) {
- return b.test("string" == typeof a.className && a.className || "undefined" != typeof a.getAttribute && a.getAttribute("class") || "")
- })
- }, ATTR: function (a, b, c) {
- return function (d) {
- var e = gb.attr(d, a);
- return null == e ? "!=" === b : b ? (e += "", "=" === b ? e === c : "!=" === b ? e !== c : "^=" === b ? c && 0 === e.indexOf(c) : "*=" === b ? c && e.indexOf(c) > -1 : "$=" === b ? c && e.slice(-c.length) === c : "~=" === b ? (" " + e.replace(Q, " ") + " ").indexOf(c) > -1 : "|=" === b ? e === c || e.slice(0, c.length + 1) === c + "-" : !1) : !0
- }
- }, CHILD: function (a, b, c, d, e) {
- var f = "nth" !== a.slice(0, 3), g = "last" !== a.slice(-4), h = "of-type" === b;
- return 1 === d && 0 === e ? function (a) {
- return !!a.parentNode
- } : function (b, c, i) {
- var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling", q = b.parentNode, r = h && b.nodeName.toLowerCase(), s = !i && !h;
- if (q) {
- if (f) {
- while (p) {
- l = b;
- while (l = l[p])if (h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType)return !1;
- o = p = "only" === a && !o && "nextSibling"
- }
- return !0
- }
- if (o = [g ? q.firstChild : q.lastChild], g && s) {
- k = q[u] || (q[u] = {}), j = k[a] || [], n = j[0] === w && j[1], m = j[0] === w && j[2], l = n && q.childNodes[n];
- while (l = ++n && l && l[p] || (m = n = 0) || o.pop())if (1 === l.nodeType && ++m && l === b) {
- k[a] = [w, n, m];
- break
- }
- } else if (s && (j = (b[u] || (b[u] = {}))[a]) && j[0] === w)m = j[1]; else while (l = ++n && l && l[p] || (m = n = 0) || o.pop())if ((h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) && ++m && (s && ((l[u] || (l[u] = {}))[a] = [w, m]), l === b))break;
- return m -= e, m === d || m % d === 0 && m / d >= 0
- }
- }
- }, PSEUDO: function (a, b) {
- var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || gb.error("unsupported pseudo: " + a);
- return e[u] ? e(b) : e.length > 1 ? (c = [a, a, "", b], d.setFilters.hasOwnProperty(a.toLowerCase()) ? ib(function (a, c) {
- var d, f = e(a, b), g = f.length;
- while (g--)d = J(a, f[g]), a[d] = !(c[d] = f[g])
- }) : function (a) {
- return e(a, 0, c)
- }) : e
- }
- },
- pseudos: {
- not: ib(function (a) {
- var b = [], c = [], d = h(a.replace(R, "$1"));
- return d[u] ? ib(function (a, b, c, e) {
- var f, g = d(a, null, e, []), h = a.length;
- while (h--)(f = g[h]) && (a[h] = !(b[h] = f))
- }) : function (a, e, f) {
- return b[0] = a, d(b, null, f, c), b[0] = null, !c.pop()
- }
- }), has: ib(function (a) {
- return function (b) {
- return gb(a, b).length > 0
- }
- }), contains: ib(function (a) {
- return a = a.replace(cb, db), function (b) {
- return (b.textContent || b.innerText || e(b)).indexOf(a) > -1
- }
- }), lang: ib(function (a) {
- return W.test(a || "") || gb.error("unsupported lang: " + a), a = a.replace(cb, db).toLowerCase(), function (b) {
- var c;
- do if (c = p ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang"))return c = c.toLowerCase(), c === a || 0 === c.indexOf(a + "-"); while ((b = b.parentNode) && 1 === b.nodeType);
- return !1
- }
- }), target: function (b) {
- var c = a.location && a.location.hash;
- return c && c.slice(1) === b.id
- }, root: function (a) {
- return a === o
- }, focus: function (a) {
- return a === n.activeElement && (!n.hasFocus || n.hasFocus()) && !!(a.type || a.href || ~a.tabIndex)
- }, enabled: function (a) {
- return a.disabled === !1
- }, disabled: function (a) {
- return a.disabled === !0
- }, checked: function (a) {
- var b = a.nodeName.toLowerCase();
- return "input" === b && !!a.checked || "option" === b && !!a.selected
- }, selected: function (a) {
- return a.parentNode && a.parentNode.selectedIndex, a.selected === !0
- }, empty: function (a) {
- for (a = a.firstChild; a; a = a.nextSibling)if (a.nodeType < 6)return !1;
- return !0
- }, parent: function (a) {
- return !d.pseudos.empty(a)
- }, header: function (a) {
- return Z.test(a.nodeName)
- }, input: function (a) {
- return Y.test(a.nodeName)
- }, button: function (a) {
- var b = a.nodeName.toLowerCase();
- return "input" === b && "button" === a.type || "button" === b
- }, text: function (a) {
- var b;
- return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
- }, first: ob(function () {
- return [0]
- }), last: ob(function (a, b) {
- return [b - 1]
- }), eq: ob(function (a, b, c) {
- return [0 > c ? c + b : c]
- }), even: ob(function (a, b) {
- for (var c = 0; b > c; c += 2)a.push(c);
- return a
- }), odd: ob(function (a, b) {
- for (var c = 1; b > c; c += 2)a.push(c);
- return a
- }), lt: ob(function (a, b, c) {
- for (var d = 0 > c ? c + b : c; --d >= 0;)a.push(d);
- return a
- }), gt: ob(function (a, b, c) {
- for (var d = 0 > c ? c + b : c; ++d < b;)a.push(d);
- return a
- })
- }
- }, d.pseudos.nth = d.pseudos.eq;
- for (b in{radio: !0, checkbox: !0, file: !0, password: !0, image: !0})d.pseudos[b] = mb(b);
- for (b in{submit: !0, reset: !0})d.pseudos[b] = nb(b);
- function qb() {
- }
-
- qb.prototype = d.filters = d.pseudos, d.setFilters = new qb, g = gb.tokenize = function (a, b) {
- var c, e, f, g, h, i, j, k = z[a + " "];
- if (k)return b ? 0 : k.slice(0);
- h = a, i = [], j = d.preFilter;
- while (h) {
- (!c || (e = S.exec(h))) && (e && (h = h.slice(e[0].length) || h), i.push(f = [])), c = !1, (e = T.exec(h)) && (c = e.shift(), f.push({
- value: c,
- type: e[0].replace(R, " ")
- }), h = h.slice(c.length));
- for (g in d.filter)!(e = X[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(), f.push({
- value: c,
- type: g,
- matches: e
- }), h = h.slice(c.length));
- if (!c)break
- }
- return b ? h.length : h ? gb.error(a) : z(a, i).slice(0)
- };
- function rb(a) {
- for (var b = 0, c = a.length, d = ""; c > b; b++)d += a[b].value;
- return d
- }
-
- function sb(a, b, c) {
- var d = b.dir, e = c && "parentNode" === d, f = x++;
- return b.first ? function (b, c, f) {
- while (b = b[d])if (1 === b.nodeType || e)return a(b, c, f)
- } : function (b, c, g) {
- var h, i, j = [w, f];
- if (g) {
- while (b = b[d])if ((1 === b.nodeType || e) && a(b, c, g))return !0
- } else while (b = b[d])if (1 === b.nodeType || e) {
- if (i = b[u] || (b[u] = {}), (h = i[d]) && h[0] === w && h[1] === f)return j[2] = h[2];
- if (i[d] = j, j[2] = a(b, c, g))return !0
- }
- }
- }
-
- function tb(a) {
- return a.length > 1 ? function (b, c, d) {
- var e = a.length;
- while (e--)if (!a[e](b, c, d))return !1;
- return !0
- } : a[0]
- }
-
- function ub(a, b, c) {
- for (var d = 0, e = b.length; e > d; d++)gb(a, b[d], c);
- return c
- }
-
- function vb(a, b, c, d, e) {
- for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++)(f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h));
- return g
- }
-
- function wb(a, b, c, d, e, f) {
- return d && !d[u] && (d = wb(d)), e && !e[u] && (e = wb(e, f)), ib(function (f, g, h, i) {
- var j, k, l, m = [], n = [], o = g.length, p = f || ub(b || "*", h.nodeType ? [h] : h, []), q = !a || !f && b ? p : vb(p, m, a, h, i), r = c ? e || (f ? a : o || d) ? [] : g : q;
- if (c && c(q, r, h, i), d) {
- j = vb(r, n), d(j, [], h, i), k = j.length;
- while (k--)(l = j[k]) && (r[n[k]] = !(q[n[k]] = l))
- }
- if (f) {
- if (e || a) {
- if (e) {
- j = [], k = r.length;
- while (k--)(l = r[k]) && j.push(q[k] = l);
- e(null, r = [], j, i)
- }
- k = r.length;
- while (k--)(l = r[k]) && (j = e ? J(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l))
- }
- } else r = vb(r === g ? r.splice(o, r.length) : r), e ? e(null, g, r, i) : H.apply(g, r)
- })
- }
-
- function xb(a) {
- for (var b, c, e, f = a.length, g = d.relative[a[0].type], h = g || d.relative[" "], i = g ? 1 : 0, k = sb(function (a) {
- return a === b
- }, h, !0), l = sb(function (a) {
- return J(b, a) > -1
- }, h, !0), m = [function (a, c, d) {
- var e = !g && (d || c !== j) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d));
- return b = null, e
- }]; f > i; i++)if (c = d.relative[a[i].type])m = [sb(tb(m), c)]; else {
- if (c = d.filter[a[i].type].apply(null, a[i].matches), c[u]) {
- for (e = ++i; f > e; e++)if (d.relative[a[e].type])break;
- return wb(i > 1 && tb(m), i > 1 && rb(a.slice(0, i - 1).concat({value: " " === a[i - 2].type ? "*" : ""})).replace(R, "$1"), c, e > i && xb(a.slice(i, e)), f > e && xb(a = a.slice(e)), f > e && rb(a))
- }
- m.push(c)
- }
- return tb(m)
- }
-
- function yb(a, b) {
- var c = b.length > 0, e = a.length > 0, f = function (f, g, h, i, k) {
- var l, m, o, p = 0, q = "0", r = f && [], s = [], t = j, u = f || e && d.find.TAG("*", k), v = w += null == t ? 1 : Math.random() || .1, x = u.length;
- for (k && (j = g !== n && g); q !== x && null != (l = u[q]); q++) {
- if (e && l) {
- m = 0;
- while (o = a[m++])if (o(l, g, h)) {
- i.push(l);
- break
- }
- k && (w = v)
- }
- c && ((l = !o && l) && p--, f && r.push(l))
- }
- if (p += q, c && q !== p) {
- m = 0;
- while (o = b[m++])o(r, s, g, h);
- if (f) {
- if (p > 0)while (q--)r[q] || s[q] || (s[q] = F.call(i));
- s = vb(s)
- }
- H.apply(i, s), k && !f && s.length > 0 && p + b.length > 1 && gb.uniqueSort(i)
- }
- return k && (w = v, j = t), r
- };
- return c ? ib(f) : f
- }
-
- return h = gb.compile = function (a, b) {
- var c, d = [], e = [], f = A[a + " "];
- if (!f) {
- b || (b = g(a)), c = b.length;
- while (c--)f = xb(b[c]), f[u] ? d.push(f) : e.push(f);
- f = A(a, yb(e, d)), f.selector = a
- }
- return f
- }, i = gb.select = function (a, b, e, f) {
- var i, j, k, l, m, n = "function" == typeof a && a, o = !f && g(a = n.selector || a);
- if (e = e || [], 1 === o.length) {
- if (j = o[0] = o[0].slice(0), j.length > 2 && "ID" === (k = j[0]).type && c.getById && 9 === b.nodeType && p && d.relative[j[1].type]) {
- if (b = (d.find.ID(k.matches[0].replace(cb, db), b) || [])[0], !b)return e;
- n && (b = b.parentNode), a = a.slice(j.shift().value.length)
- }
- i = X.needsContext.test(a) ? 0 : j.length;
- while (i--) {
- if (k = j[i], d.relative[l = k.type])break;
- if ((m = d.find[l]) && (f = m(k.matches[0].replace(cb, db), ab.test(j[0].type) && pb(b.parentNode) || b))) {
- if (j.splice(i, 1), a = f.length && rb(j), !a)return H.apply(e, f), e;
- break
- }
- }
- }
- return (n || h(a, o))(f, b, !p, e, ab.test(a) && pb(b.parentNode) || b), e
- }, c.sortStable = u.split("").sort(B).join("") === u, c.detectDuplicates = !!l, m(), c.sortDetached = jb(function (a) {
- return 1 & a.compareDocumentPosition(n.createElement("div"))
- }), jb(function (a) {
- return a.innerHTML = "<a href='#'></a>", "#" === a.firstChild.getAttribute("href")
- }) || kb("type|href|height|width", function (a, b, c) {
- return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2)
- }), c.attributes && jb(function (a) {
- return a.innerHTML = "<input/>", a.firstChild.setAttribute("value", ""), "" === a.firstChild.getAttribute("value")
- }) || kb("value", function (a, b, c) {
- return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue
- }), jb(function (a) {
- return null == a.getAttribute("disabled")
- }) || kb(K, function (a, b, c) {
- var d;
- return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
- }), gb
- }(a);
- m.find = s, m.expr = s.selectors, m.expr[":"] = m.expr.pseudos, m.unique = s.uniqueSort, m.text = s.getText, m.isXMLDoc = s.isXML, m.contains = s.contains;
- var t = m.expr.match.needsContext, u = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, v = /^.[^:#\[\.,]*$/;
-
- function w(a, b, c) {
- if (m.isFunction(b))return m.grep(a, function (a, d) {
- return !!b.call(a, d, a) !== c
- });
- if (b.nodeType)return m.grep(a, function (a) {
- return a === b !== c
- });
- if ("string" == typeof b) {
- if (v.test(b))return m.filter(b, a, c);
- b = m.filter(b, a)
- }
- return m.grep(a, function (a) {
- return m.inArray(a, b) >= 0 !== c
- })
- }
-
- m.filter = function (a, b, c) {
- var d = b[0];
- return c && (a = ":not(" + a + ")"), 1 === b.length && 1 === d.nodeType ? m.find.matchesSelector(d, a) ? [d] : [] : m.find.matches(a, m.grep(b, function (a) {
- return 1 === a.nodeType
- }))
- }, m.fn.extend({
- find: function (a) {
- var b, c = [], d = this, e = d.length;
- if ("string" != typeof a)return this.pushStack(m(a).filter(function () {
- for (b = 0; e > b; b++)if (m.contains(d[b], this))return !0
- }));
- for (b = 0; e > b; b++)m.find(a, d[b], c);
- return c = this.pushStack(e > 1 ? m.unique(c) : c), c.selector = this.selector ? this.selector + " " + a : a, c
- }, filter: function (a) {
- return this.pushStack(w(this, a || [], !1))
- }, not: function (a) {
- return this.pushStack(w(this, a || [], !0))
- }, is: function (a) {
- return !!w(this, "string" == typeof a && t.test(a) ? m(a) : a || [], !1).length
- }
- });
- var x, y = a.document, z = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, A = m.fn.init = function (a, b) {
- var c, d;
- if (!a)return this;
- if ("string" == typeof a) {
- if (c = "<" === a.charAt(0) && ">" === a.charAt(a.length - 1) && a.length >= 3 ? [null, a, null] : z.exec(a), !c || !c[1] && b)return !b || b.jquery ? (b || x).find(a) : this.constructor(b).find(a);
- if (c[1]) {
- if (b = b instanceof m ? b[0] : b, m.merge(this, m.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : y, !0)), u.test(c[1]) && m.isPlainObject(b))for (c in b)m.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c]);
- return this
- }
- if (d = y.getElementById(c[2]), d && d.parentNode) {
- if (d.id !== c[2])return x.find(a);
- this.length = 1, this[0] = d
- }
- return this.context = y, this.selector = a, this
- }
- return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : m.isFunction(a) ? "undefined" != typeof x.ready ? x.ready(a) : a(m) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), m.makeArray(a, this))
- };
- A.prototype = m.fn, x = m(y);
- var B = /^(?:parents|prev(?:Until|All))/, C = {children: !0, contents: !0, next: !0, prev: !0};
- m.extend({
- dir: function (a, b, c) {
- var d = [], e = a[b];
- while (e && 9 !== e.nodeType && (void 0 === c || 1 !== e.nodeType || !m(e).is(c)))1 === e.nodeType && d.push(e), e = e[b];
- return d
- }, sibling: function (a, b) {
- for (var c = []; a; a = a.nextSibling)1 === a.nodeType && a !== b && c.push(a);
- return c
- }
- }), m.fn.extend({
- has: function (a) {
- var b, c = m(a, this), d = c.length;
- return this.filter(function () {
- for (b = 0; d > b; b++)if (m.contains(this, c[b]))return !0
- })
- }, closest: function (a, b) {
- for (var c, d = 0, e = this.length, f = [], g = t.test(a) || "string" != typeof a ? m(a, b || this.context) : 0; e > d; d++)for (c = this[d]; c && c !== b; c = c.parentNode)if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && m.find.matchesSelector(c, a))) {
- f.push(c);
- break
- }
- return this.pushStack(f.length > 1 ? m.unique(f) : f)
- }, index: function (a) {
- return a ? "string" == typeof a ? m.inArray(this[0], m(a)) : m.inArray(a.jquery ? a[0] : a, this) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
- }, add: function (a, b) {
- return this.pushStack(m.unique(m.merge(this.get(), m(a, b))))
- }, addBack: function (a) {
- return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
- }
- });
- function D(a, b) {
- do a = a[b]; while (a && 1 !== a.nodeType);
- return a
- }
-
- m.each({
- parent: function (a) {
- var b = a.parentNode;
- return b && 11 !== b.nodeType ? b : null
- }, parents: function (a) {
- return m.dir(a, "parentNode")
- }, parentsUntil: function (a, b, c) {
- return m.dir(a, "parentNode", c)
- }, next: function (a) {
- return D(a, "nextSibling")
- }, prev: function (a) {
- return D(a, "previousSibling")
- }, nextAll: function (a) {
- return m.dir(a, "nextSibling")
- }, prevAll: function (a) {
- return m.dir(a, "previousSibling")
- }, nextUntil: function (a, b, c) {
- return m.dir(a, "nextSibling", c)
- }, prevUntil: function (a, b, c) {
- return m.dir(a, "previousSibling", c)
- }, siblings: function (a) {
- return m.sibling((a.parentNode || {}).firstChild, a)
- }, children: function (a) {
- return m.sibling(a.firstChild)
- }, contents: function (a) {
- return m.nodeName(a, "iframe") ? a.contentDocument || a.contentWindow.document : m.merge([], a.childNodes)
- }
- }, function (a, b) {
- m.fn[a] = function (c, d) {
- var e = m.map(this, b, c);
- return "Until" !== a.slice(-5) && (d = c), d && "string" == typeof d && (e = m.filter(d, e)), this.length > 1 && (C[a] || (e = m.unique(e)), B.test(a) && (e = e.reverse())), this.pushStack(e)
- }
- });
- var E = /\S+/g, F = {};
-
- function G(a) {
- var b = F[a] = {};
- return m.each(a.match(E) || [], function (a, c) {
- b[c] = !0
- }), b
- }
-
- m.Callbacks = function (a) {
- a = "string" == typeof a ? F[a] || G(a) : m.extend({}, a);
- var b, c, d, e, f, g, h = [], i = !a.once && [], j = function (l) {
- for (c = a.memory && l, d = !0, f = g || 0, g = 0, e = h.length, b = !0; h && e > f; f++)if (h[f].apply(l[0], l[1]) === !1 && a.stopOnFalse) {
- c = !1;
- break
- }
- b = !1, h && (i ? i.length && j(i.shift()) : c ? h = [] : k.disable())
- }, k = {
- add: function () {
- if (h) {
- var d = h.length;
- !function f(b) {
- m.each(b, function (b, c) {
- var d = m.type(c);
- "function" === d ? a.unique && k.has(c) || h.push(c) : c && c.length && "string" !== d && f(c)
- })
- }(arguments), b ? e = h.length : c && (g = d, j(c))
- }
- return this
- }, remove: function () {
- return h && m.each(arguments, function (a, c) {
- var d;
- while ((d = m.inArray(c, h, d)) > -1)h.splice(d, 1), b && (e >= d && e--, f >= d && f--)
- }), this
- }, has: function (a) {
- return a ? m.inArray(a, h) > -1 : !(!h || !h.length)
- }, empty: function () {
- return h = [], e = 0, this
- }, disable: function () {
- return h = i = c = void 0, this
- }, disabled: function () {
- return !h
- }, lock: function () {
- return i = void 0, c || k.disable(), this
- }, locked: function () {
- return !i
- }, fireWith: function (a, c) {
- return !h || d && !i || (c = c || [], c = [a, c.slice ? c.slice() : c], b ? i.push(c) : j(c)), this
- }, fire: function () {
- return k.fireWith(this, arguments), this
- }, fired: function () {
- return !!d
- }
- };
- return k
- }, m.extend({
- Deferred: function (a) {
- var b = [["resolve", "done", m.Callbacks("once memory"), "resolved"], ["reject", "fail", m.Callbacks("once memory"), "rejected"], ["notify", "progress", m.Callbacks("memory")]], c = "pending", d = {
- state: function () {
- return c
- }, always: function () {
- return e.done(arguments).fail(arguments), this
- }, then: function () {
- var a = arguments;
- return m.Deferred(function (c) {
- m.each(b, function (b, f) {
- var g = m.isFunction(a[b]) && a[b];
- e[f[1]](function () {
- var a = g && g.apply(this, arguments);
- a && m.isFunction(a.promise) ? a.promise().done(c.resolve).fail(c.reject).progress(c.notify) : c[f[0] + "With"](this === d ? c.promise() : this, g ? [a] : arguments)
- })
- }), a = null
- }).promise()
- }, promise: function (a) {
- return null != a ? m.extend(a, d) : d
- }
- }, e = {};
- return d.pipe = d.then, m.each(b, function (a, f) {
- var g = f[2], h = f[3];
- d[f[1]] = g.add, h && g.add(function () {
- c = h
- }, b[1 ^ a][2].disable, b[2][2].lock), e[f[0]] = function () {
- return e[f[0] + "With"](this === e ? d : this, arguments), this
- }, e[f[0] + "With"] = g.fireWith
- }), d.promise(e), a && a.call(e, e), e
- }, when: function (a) {
- var b = 0, c = d.call(arguments), e = c.length, f = 1 !== e || a && m.isFunction(a.promise) ? e : 0, g = 1 === f ? a : m.Deferred(), h = function (a, b, c) {
- return function (e) {
- b[a] = this, c[a] = arguments.length > 1 ? d.call(arguments) : e, c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c)
- }
- }, i, j, k;
- if (e > 1)for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++)c[b] && m.isFunction(c[b].promise) ? c[b].promise().done(h(b, k, c)).fail(g.reject).progress(h(b, j, i)) : --f;
- return f || g.resolveWith(k, c), g.promise()
- }
- });
- var H;
- m.fn.ready = function (a) {
- return m.ready.promise().done(a), this
- }, m.extend({
- isReady: !1, readyWait: 1, holdReady: function (a) {
- a ? m.readyWait++ : m.ready(!0)
- }, ready: function (a) {
- if (a === !0 ? !--m.readyWait : !m.isReady) {
- if (!y.body)return setTimeout(m.ready);
- m.isReady = !0, a !== !0 && --m.readyWait > 0 || (H.resolveWith(y, [m]), m.fn.triggerHandler && (m(y).triggerHandler("ready"), m(y).off("ready")))
- }
- }
- });
- function I() {
- y.addEventListener ? (y.removeEventListener("DOMContentLoaded", J, !1), a.removeEventListener("load", J, !1)) : (y.detachEvent("onreadystatechange", J), a.detachEvent("onload", J))
- }
-
- function J() {
- (y.addEventListener || "load" === event.type || "complete" === y.readyState) && (I(), m.ready())
- }
-
- m.ready.promise = function (b) {
- if (!H)if (H = m.Deferred(), "complete" === y.readyState)setTimeout(m.ready); else if (y.addEventListener)y.addEventListener("DOMContentLoaded", J, !1), a.addEventListener("load", J, !1); else {
- y.attachEvent("onreadystatechange", J), a.attachEvent("onload", J);
- var c = !1;
- try {
- c = null == a.frameElement && y.documentElement
- } catch (d) {
- }
- c && c.doScroll && !function e() {
- if (!m.isReady) {
- try {
- c.doScroll("left")
- } catch (a) {
- return setTimeout(e, 50)
- }
- I(), m.ready()
- }
- }()
- }
- return H.promise(b)
- };
- var K = "undefined", L;
- for (L in m(k))break;
- k.ownLast = "0" !== L, k.inlineBlockNeedsLayout = !1, m(function () {
- var a, b, c, d;
- c = y.getElementsByTagName("body")[0], c && c.style && (b = y.createElement("div"), d = y.createElement("div"), d.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", c.appendChild(d).appendChild(b), typeof b.style.zoom !== K && (b.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1", k.inlineBlockNeedsLayout = a = 3 === b.offsetWidth, a && (c.style.zoom = 1)), c.removeChild(d))
- }), function () {
- var a = y.createElement("div");
- if (null == k.deleteExpando) {
- k.deleteExpando = !0;
- try {
- delete a.test
- } catch (b) {
- k.deleteExpando = !1
- }
- }
- a = null
- }(), m.acceptData = function (a) {
- var b = m.noData[(a.nodeName + " ").toLowerCase()], c = +a.nodeType || 1;
- return 1 !== c && 9 !== c ? !1 : !b || b !== !0 && a.getAttribute("classid") === b
- };
- var M = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, N = /([A-Z])/g;
-
- function O(a, b, c) {
- if (void 0 === c && 1 === a.nodeType) {
- var d = "data-" + b.replace(N, "-$1").toLowerCase();
- if (c = a.getAttribute(d), "string" == typeof c) {
- try {
- c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : M.test(c) ? m.parseJSON(c) : c
- } catch (e) {
- }
- m.data(a, b, c)
- } else c = void 0
- }
- return c
- }
-
- function P(a) {
- var b;
- for (b in a)if (("data" !== b || !m.isEmptyObject(a[b])) && "toJSON" !== b)return !1;
- return !0
- }
-
- function Q(a, b, d, e) {
- if (m.acceptData(a)) {
- var f, g, h = m.expando, i = a.nodeType, j = i ? m.cache : a, k = i ? a[h] : a[h] && h;
- if (k && j[k] && (e || j[k].data) || void 0 !== d || "string" != typeof b)return k || (k = i ? a[h] = c.pop() || m.guid++ : h), j[k] || (j[k] = i ? {} : {toJSON: m.noop}), ("object" == typeof b || "function" == typeof b) && (e ? j[k] = m.extend(j[k], b) : j[k].data = m.extend(j[k].data, b)), g = j[k], e || (g.data || (g.data = {}), g = g.data), void 0 !== d && (g[m.camelCase(b)] = d), "string" == typeof b ? (f = g[b], null == f && (f = g[m.camelCase(b)])) : f = g, f
- }
- }
-
- function R(a, b, c) {
- if (m.acceptData(a)) {
- var d, e, f = a.nodeType, g = f ? m.cache : a, h = f ? a[m.expando] : m.expando;
- if (g[h]) {
- if (b && (d = c ? g[h] : g[h].data)) {
- m.isArray(b) ? b = b.concat(m.map(b, m.camelCase)) : b in d ? b = [b] : (b = m.camelCase(b), b = b in d ? [b] : b.split(" ")), e = b.length;
- while (e--)delete d[b[e]];
- if (c ? !P(d) : !m.isEmptyObject(d))return
- }
- (c || (delete g[h].data, P(g[h]))) && (f ? m.cleanData([a], !0) : k.deleteExpando || g != g.window ? delete g[h] : g[h] = null)
- }
- }
- }
-
- m.extend({
- cache: {},
- noData: {"applet ": !0, "embed ": !0, "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},
- hasData: function (a) {
- return a = a.nodeType ? m.cache[a[m.expando]] : a[m.expando], !!a && !P(a)
- },
- data: function (a, b, c) {
- return Q(a, b, c)
- },
- removeData: function (a, b) {
- return R(a, b)
- },
- _data: function (a, b, c) {
- return Q(a, b, c, !0)
- },
- _removeData: function (a, b) {
- return R(a, b, !0)
- }
- }), m.fn.extend({
- data: function (a, b) {
- var c, d, e, f = this[0], g = f && f.attributes;
- if (void 0 === a) {
- if (this.length && (e = m.data(f), 1 === f.nodeType && !m._data(f, "parsedAttrs"))) {
- c = g.length;
- while (c--)g[c] && (d = g[c].name, 0 === d.indexOf("data-") && (d = m.camelCase(d.slice(5)), O(f, d, e[d])));
- m._data(f, "parsedAttrs", !0)
- }
- return e
- }
- return "object" == typeof a ? this.each(function () {
- m.data(this, a)
- }) : arguments.length > 1 ? this.each(function () {
- m.data(this, a, b)
- }) : f ? O(f, a, m.data(f, a)) : void 0
- }, removeData: function (a) {
- return this.each(function () {
- m.removeData(this, a)
- })
- }
- }), m.extend({
- queue: function (a, b, c) {
- var d;
- return a ? (b = (b || "fx") + "queue", d = m._data(a, b), c && (!d || m.isArray(c) ? d = m._data(a, b, m.makeArray(c)) : d.push(c)), d || []) : void 0
- }, dequeue: function (a, b) {
- b = b || "fx";
- var c = m.queue(a, b), d = c.length, e = c.shift(), f = m._queueHooks(a, b), g = function () {
- m.dequeue(a, b)
- };
- "inprogress" === e && (e = c.shift(), d--), e && ("fx" === b && c.unshift("inprogress"), delete f.stop, e.call(a, g, f)), !d && f && f.empty.fire()
- }, _queueHooks: function (a, b) {
- var c = b + "queueHooks";
- return m._data(a, c) || m._data(a, c, {
- empty: m.Callbacks("once memory").add(function () {
- m._removeData(a, b + "queue"), m._removeData(a, c)
- })
- })
- }
- }), m.fn.extend({
- queue: function (a, b) {
- var c = 2;
- return "string" != typeof a && (b = a, a = "fx", c--), arguments.length < c ? m.queue(this[0], a) : void 0 === b ? this : this.each(function () {
- var c = m.queue(this, a, b);
- m._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && m.dequeue(this, a)
- })
- }, dequeue: function (a) {
- return this.each(function () {
- m.dequeue(this, a)
- })
- }, clearQueue: function (a) {
- return this.queue(a || "fx", [])
- }, promise: function (a, b) {
- var c, d = 1, e = m.Deferred(), f = this, g = this.length, h = function () {
- --d || e.resolveWith(f, [f])
- };
- "string" != typeof a && (b = a, a = void 0), a = a || "fx";
- while (g--)c = m._data(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h));
- return h(), e.promise(b)
- }
- });
- var S = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, T = ["Top", "Right", "Bottom", "Left"], U = function (a, b) {
- return a = b || a, "none" === m.css(a, "display") || !m.contains(a.ownerDocument, a)
- }, V = m.access = function (a, b, c, d, e, f, g) {
- var h = 0, i = a.length, j = null == c;
- if ("object" === m.type(c)) {
- e = !0;
- for (h in c)m.access(a, b, h, c[h], !0, f, g)
- } else if (void 0 !== d && (e = !0, m.isFunction(d) || (g = !0), j && (g ? (b.call(a, d), b = null) : (j = b, b = function (a, b, c) {
- return j.call(m(a), c)
- })), b))for (; i > h; h++)b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)));
- return e ? a : j ? b.call(a) : i ? b(a[0], c) : f
- }, W = /^(?:checkbox|radio)$/i;
- !function () {
- var a = y.createElement("input"), b = y.createElement("div"), c = y.createDocumentFragment();
- if (b.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", k.leadingWhitespace = 3 === b.firstChild.nodeType, k.tbody = !b.getElementsByTagName("tbody").length, k.htmlSerialize = !!b.getElementsByTagName("link").length, k.html5Clone = "<:nav></:nav>" !== y.createElement("nav").cloneNode(!0).outerHTML, a.type = "checkbox", a.checked = !0, c.appendChild(a), k.appendChecked = a.checked, b.innerHTML = "<textarea>x</textarea>", k.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue, c.appendChild(b), b.innerHTML = "<input type='radio' checked='checked' name='t'/>", k.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked, k.noCloneEvent = !0, b.attachEvent && (b.attachEvent("onclick", function () {
- k.noCloneEvent = !1
- }), b.cloneNode(!0).click()), null == k.deleteExpando) {
- k.deleteExpando = !0;
- try {
- delete b.test
- } catch (d) {
- k.deleteExpando = !1
- }
- }
- }(), function () {
- var b, c, d = y.createElement("div");
- for (b in{
- submit: !0,
- change: !0,
- focusin: !0
- })c = "on" + b, (k[b + "Bubbles"] = c in a) || (d.setAttribute(c, "t"), k[b + "Bubbles"] = d.attributes[c].expando === !1);
- d = null
- }();
- var X = /^(?:input|select|textarea)$/i, Y = /^key/, Z = /^(?:mouse|pointer|contextmenu)|click/, $ = /^(?:focusinfocus|focusoutblur)$/, _ = /^([^.]*)(?:\.(.+)|)$/;
-
- function ab() {
- return !0
- }
-
- function bb() {
- return !1
- }
-
- function cb() {
- try {
- return y.activeElement
- } catch (a) {
- }
- }
-
- m.event = {
- global: {},
- add: function (a, b, c, d, e) {
- var f, g, h, i, j, k, l, n, o, p, q, r = m._data(a);
- if (r) {
- c.handler && (i = c, c = i.handler, e = i.selector), c.guid || (c.guid = m.guid++), (g = r.events) || (g = r.events = {}), (k = r.handle) || (k = r.handle = function (a) {
- return typeof m === K || a && m.event.triggered === a.type ? void 0 : m.event.dispatch.apply(k.elem, arguments)
- }, k.elem = a), b = (b || "").match(E) || [""], h = b.length;
- while (h--)f = _.exec(b[h]) || [], o = q = f[1], p = (f[2] || "").split(".").sort(), o && (j = m.event.special[o] || {}, o = (e ? j.delegateType : j.bindType) || o, j = m.event.special[o] || {}, l = m.extend({
- type: o,
- origType: q,
- data: d,
- handler: c,
- guid: c.guid,
- selector: e,
- needsContext: e && m.expr.match.needsContext.test(e),
- namespace: p.join(".")
- }, i), (n = g[o]) || (n = g[o] = [], n.delegateCount = 0, j.setup && j.setup.call(a, d, p, k) !== !1 || (a.addEventListener ? a.addEventListener(o, k, !1) : a.attachEvent && a.attachEvent("on" + o, k))), j.add && (j.add.call(a, l), l.handler.guid || (l.handler.guid = c.guid)), e ? n.splice(n.delegateCount++, 0, l) : n.push(l), m.event.global[o] = !0);
- a = null
- }
- },
- remove: function (a, b, c, d, e) {
- var f, g, h, i, j, k, l, n, o, p, q, r = m.hasData(a) && m._data(a);
- if (r && (k = r.events)) {
- b = (b || "").match(E) || [""], j = b.length;
- while (j--)if (h = _.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o) {
- l = m.event.special[o] || {}, o = (d ? l.delegateType : l.bindType) || o, n = k[o] || [], h = h[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), i = f = n.length;
- while (f--)g = n[f], !e && q !== g.origType || c && c.guid !== g.guid || h && !h.test(g.namespace) || d && d !== g.selector && ("**" !== d || !g.selector) || (n.splice(f, 1), g.selector && n.delegateCount--, l.remove && l.remove.call(a, g));
- i && !n.length && (l.teardown && l.teardown.call(a, p, r.handle) !== !1 || m.removeEvent(a, o, r.handle), delete k[o])
- } else for (o in k)m.event.remove(a, o + b[j], c, d, !0);
- m.isEmptyObject(k) && (delete r.handle, m._removeData(a, "events"))
- }
- },
- trigger: function (b, c, d, e) {
- var f, g, h, i, k, l, n, o = [d || y], p = j.call(b, "type") ? b.type : b, q = j.call(b, "namespace") ? b.namespace.split(".") : [];
- if (h = l = d = d || y, 3 !== d.nodeType && 8 !== d.nodeType && !$.test(p + m.event.triggered) && (p.indexOf(".") >= 0 && (q = p.split("."), p = q.shift(), q.sort()), g = p.indexOf(":") < 0 && "on" + p, b = b[m.expando] ? b : new m.Event(p, "object" == typeof b && b), b.isTrigger = e ? 2 : 3, b.namespace = q.join("."), b.namespace_re = b.namespace ? new RegExp("(^|\\.)" + q.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = d), c = null == c ? [b] : m.makeArray(c, [b]), k = m.event.special[p] || {}, e || !k.trigger || k.trigger.apply(d, c) !== !1)) {
- if (!e && !k.noBubble && !m.isWindow(d)) {
- for (i = k.delegateType || p, $.test(i + p) || (h = h.parentNode); h; h = h.parentNode)o.push(h), l = h;
- l === (d.ownerDocument || y) && o.push(l.defaultView || l.parentWindow || a)
- }
- n = 0;
- while ((h = o[n++]) && !b.isPropagationStopped())b.type = n > 1 ? i : k.bindType || p, f = (m._data(h, "events") || {})[b.type] && m._data(h, "handle"), f && f.apply(h, c), f = g && h[g], f && f.apply && m.acceptData(h) && (b.result = f.apply(h, c), b.result === !1 && b.preventDefault());
- if (b.type = p, !e && !b.isDefaultPrevented() && (!k._default || k._default.apply(o.pop(), c) === !1) && m.acceptData(d) && g && d[p] && !m.isWindow(d)) {
- l = d[g], l && (d[g] = null), m.event.triggered = p;
- try {
- d[p]()
- } catch (r) {
- }
- m.event.triggered = void 0, l && (d[g] = l)
- }
- return b.result
- }
- },
- dispatch: function (a) {
- a = m.event.fix(a);
- var b, c, e, f, g, h = [], i = d.call(arguments), j = (m._data(this, "events") || {})[a.type] || [], k = m.event.special[a.type] || {};
- if (i[0] = a, a.delegateTarget = this, !k.preDispatch || k.preDispatch.call(this, a) !== !1) {
- h = m.event.handlers.call(this, a, j), b = 0;
- while ((f = h[b++]) && !a.isPropagationStopped()) {
- a.currentTarget = f.elem, g = 0;
- while ((e = f.handlers[g++]) && !a.isImmediatePropagationStopped())(!a.namespace_re || a.namespace_re.test(e.namespace)) && (a.handleObj = e, a.data = e.data, c = ((m.event.special[e.origType] || {}).handle || e.handler).apply(f.elem, i), void 0 !== c && (a.result = c) === !1 && (a.preventDefault(), a.stopPropagation()))
- }
- return k.postDispatch && k.postDispatch.call(this, a), a.result
- }
- },
- handlers: function (a, b) {
- var c, d, e, f, g = [], h = b.delegateCount, i = a.target;
- if (h && i.nodeType && (!a.button || "click" !== a.type))for (; i != this; i = i.parentNode || this)if (1 === i.nodeType && (i.disabled !== !0 || "click" !== a.type)) {
- for (e = [], f = 0; h > f; f++)d = b[f], c = d.selector + " ", void 0 === e[c] && (e[c] = d.needsContext ? m(c, this).index(i) >= 0 : m.find(c, this, null, [i]).length), e[c] && e.push(d);
- e.length && g.push({elem: i, handlers: e})
- }
- return h < b.length && g.push({elem: this, handlers: b.slice(h)}), g
- },
- fix: function (a) {
- if (a[m.expando])return a;
- var b, c, d, e = a.type, f = a, g = this.fixHooks[e];
- g || (this.fixHooks[e] = g = Z.test(e) ? this.mouseHooks : Y.test(e) ? this.keyHooks : {}), d = g.props ? this.props.concat(g.props) : this.props, a = new m.Event(f), b = d.length;
- while (b--)c = d[b], a[c] = f[c];
- return a.target || (a.target = f.srcElement || y), 3 === a.target.nodeType && (a.target = a.target.parentNode), a.metaKey = !!a.metaKey, g.filter ? g.filter(a, f) : a
- },
- props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
- fixHooks: {},
- keyHooks: {
- props: "char charCode key keyCode".split(" "), filter: function (a, b) {
- return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode), a
- }
- },
- mouseHooks: {
- props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
- filter: function (a, b) {
- var c, d, e, f = b.button, g = b.fromElement;
- return null == a.pageX && null != b.clientX && (d = a.target.ownerDocument || y, e = d.documentElement, c = d.body, a.pageX = b.clientX + (e && e.scrollLeft || c && c.scrollLeft || 0) - (e && e.clientLeft || c && c.clientLeft || 0), a.pageY = b.clientY + (e && e.scrollTop || c && c.scrollTop || 0) - (e && e.clientTop || c && c.clientTop || 0)), !a.relatedTarget && g && (a.relatedTarget = g === a.target ? b.toElement : g), a.which || void 0 === f || (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0), a
- }
- },
- special: {
- load: {noBubble: !0}, focus: {
- trigger: function () {
- if (this !== cb() && this.focus)try {
- return this.focus(), !1
- } catch (a) {
- }
- }, delegateType: "focusin"
- }, blur: {
- trigger: function () {
- return this === cb() && this.blur ? (this.blur(), !1) : void 0
- }, delegateType: "focusout"
- }, click: {
- trigger: function () {
- return m.nodeName(this, "input") && "checkbox" === this.type && this.click ? (this.click(), !1) : void 0
- }, _default: function (a) {
- return m.nodeName(a.target, "a")
- }
- }, beforeunload: {
- postDispatch: function (a) {
- void 0 !== a.result && a.originalEvent && (a.originalEvent.returnValue = a.result)
- }
- }
- },
- simulate: function (a, b, c, d) {
- var e = m.extend(new m.Event, c, {type: a, isSimulated: !0, originalEvent: {}});
- d ? m.event.trigger(e, null, b) : m.event.dispatch.call(b, e), e.isDefaultPrevented() && c.preventDefault()
- }
- }, m.removeEvent = y.removeEventListener ? function (a, b, c) {
- a.removeEventListener && a.removeEventListener(b, c, !1)
- } : function (a, b, c) {
- var d = "on" + b;
- a.detachEvent && (typeof a[d] === K && (a[d] = null), a.detachEvent(d, c))
- }, m.Event = function (a, b) {
- return this instanceof m.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.returnValue === !1 ? ab : bb) : this.type = a, b && m.extend(this, b), this.timeStamp = a && a.timeStamp || m.now(), void(this[m.expando] = !0)) : new m.Event(a, b)
- }, m.Event.prototype = {
- isDefaultPrevented: bb,
- isPropagationStopped: bb,
- isImmediatePropagationStopped: bb,
- preventDefault: function () {
- var a = this.originalEvent;
- this.isDefaultPrevented = ab, a && (a.preventDefault ? a.preventDefault() : a.returnValue = !1)
- },
- stopPropagation: function () {
- var a = this.originalEvent;
- this.isPropagationStopped = ab, a && (a.stopPropagation && a.stopPropagation(), a.cancelBubble = !0)
- },
- stopImmediatePropagation: function () {
- var a = this.originalEvent;
- this.isImmediatePropagationStopped = ab, a && a.stopImmediatePropagation && a.stopImmediatePropagation(), this.stopPropagation()
- }
- }, m.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout",
- pointerenter: "pointerover",
- pointerleave: "pointerout"
- }, function (a, b) {
- m.event.special[a] = {
- delegateType: b, bindType: b, handle: function (a) {
- var c, d = this, e = a.relatedTarget, f = a.handleObj;
- return (!e || e !== d && !m.contains(d, e)) && (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c
- }
- }
- }), k.submitBubbles || (m.event.special.submit = {
- setup: function () {
- return m.nodeName(this, "form") ? !1 : void m.event.add(this, "click._submit keypress._submit", function (a) {
- var b = a.target, c = m.nodeName(b, "input") || m.nodeName(b, "button") ? b.form : void 0;
- c && !m._data(c, "submitBubbles") && (m.event.add(c, "submit._submit", function (a) {
- a._submit_bubble = !0
- }), m._data(c, "submitBubbles", !0))
- })
- }, postDispatch: function (a) {
- a._submit_bubble && (delete a._submit_bubble, this.parentNode && !a.isTrigger && m.event.simulate("submit", this.parentNode, a, !0))
- }, teardown: function () {
- return m.nodeName(this, "form") ? !1 : void m.event.remove(this, "._submit")
- }
- }), k.changeBubbles || (m.event.special.change = {
- setup: function () {
- return X.test(this.nodeName) ? (("checkbox" === this.type || "radio" === this.type) && (m.event.add(this, "propertychange._change", function (a) {
- "checked" === a.originalEvent.propertyName && (this._just_changed = !0)
- }), m.event.add(this, "click._change", function (a) {
- this._just_changed && !a.isTrigger && (this._just_changed = !1), m.event.simulate("change", this, a, !0)
- })), !1) : void m.event.add(this, "beforeactivate._change", function (a) {
- var b = a.target;
- X.test(b.nodeName) && !m._data(b, "changeBubbles") && (m.event.add(b, "change._change", function (a) {
- !this.parentNode || a.isSimulated || a.isTrigger || m.event.simulate("change", this.parentNode, a, !0)
- }), m._data(b, "changeBubbles", !0))
- })
- }, handle: function (a) {
- var b = a.target;
- return this !== b || a.isSimulated || a.isTrigger || "radio" !== b.type && "checkbox" !== b.type ? a.handleObj.handler.apply(this, arguments) : void 0
- }, teardown: function () {
- return m.event.remove(this, "._change"), !X.test(this.nodeName)
- }
- }), k.focusinBubbles || m.each({focus: "focusin", blur: "focusout"}, function (a, b) {
- var c = function (a) {
- m.event.simulate(b, a.target, m.event.fix(a), !0)
- };
- m.event.special[b] = {
- setup: function () {
- var d = this.ownerDocument || this, e = m._data(d, b);
- e || d.addEventListener(a, c, !0), m._data(d, b, (e || 0) + 1)
- }, teardown: function () {
- var d = this.ownerDocument || this, e = m._data(d, b) - 1;
- e ? m._data(d, b, e) : (d.removeEventListener(a, c, !0), m._removeData(d, b))
- }
- }
- }), m.fn.extend({
- on: function (a, b, c, d, e) {
- var f, g;
- if ("object" == typeof a) {
- "string" != typeof b && (c = c || b, b = void 0);
- for (f in a)this.on(f, b, c, a[f], e);
- return this
- }
- if (null == c && null == d ? (d = b, c = b = void 0) : null == d && ("string" == typeof b ? (d = c, c = void 0) : (d = c, c = b, b = void 0)), d === !1)d = bb; else if (!d)return this;
- return 1 === e && (g = d, d = function (a) {
- return m().off(a), g.apply(this, arguments)
- }, d.guid = g.guid || (g.guid = m.guid++)), this.each(function () {
- m.event.add(this, a, d, c, b)
- })
- }, one: function (a, b, c, d) {
- return this.on(a, b, c, d, 1)
- }, off: function (a, b, c) {
- var d, e;
- if (a && a.preventDefault && a.handleObj)return d = a.handleObj, m(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler), this;
- if ("object" == typeof a) {
- for (e in a)this.off(e, b, a[e]);
- return this
- }
- return (b === !1 || "function" == typeof b) && (c = b, b = void 0), c === !1 && (c = bb), this.each(function () {
- m.event.remove(this, a, c, b)
- })
- }, trigger: function (a, b) {
- return this.each(function () {
- m.event.trigger(a, b, this)
- })
- }, triggerHandler: function (a, b) {
- var c = this[0];
- return c ? m.event.trigger(a, b, c, !0) : void 0
- }
- });
- function db(a) {
- var b = eb.split("|"), c = a.createDocumentFragment();
- if (c.createElement)while (b.length)c.createElement(b.pop());
- return c
- }
-
- var eb = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", fb = / jQuery\d+="(?:null|\d+)"/g, gb = new RegExp("<(?:" + eb + ")[\\s/>]", "i"), hb = /^\s+/, ib = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, jb = /<([\w:]+)/, kb = /<tbody/i, lb = /<|&#?\w+;/, mb = /<(?:script|style|link)/i, nb = /checked\s*(?:[^=]|=\s*.checked.)/i, ob = /^$|\/(?:java|ecma)script/i, pb = /^true\/(.*)/, qb = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, rb = {
- option: [1, "<select multiple='multiple'>", "</select>"],
- legend: [1, "<fieldset>", "</fieldset>"],
- area: [1, "<map>", "</map>"],
- param: [1, "<object>", "</object>"],
- thead: [1, "<table>", "</table>"],
- tr: [2, "<table><tbody>", "</tbody></table>"],
- col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
- td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
- _default: k.htmlSerialize ? [0, "", ""] : [1, "X<div>", "</div>"]
- }, sb = db(y), tb = sb.appendChild(y.createElement("div"));
- rb.optgroup = rb.option, rb.tbody = rb.tfoot = rb.colgroup = rb.caption = rb.thead, rb.th = rb.td;
- function ub(a, b) {
- var c, d, e = 0, f = typeof a.getElementsByTagName !== K ? a.getElementsByTagName(b || "*") : typeof a.querySelectorAll !== K ? a.querySelectorAll(b || "*") : void 0;
- if (!f)for (f = [], c = a.childNodes || a; null != (d = c[e]); e++)!b || m.nodeName(d, b) ? f.push(d) : m.merge(f, ub(d, b));
- return void 0 === b || b && m.nodeName(a, b) ? m.merge([a], f) : f
- }
-
- function vb(a) {
- W.test(a.type) && (a.defaultChecked = a.checked)
- }
-
- function wb(a, b) {
- return m.nodeName(a, "table") && m.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a
- }
-
- function xb(a) {
- return a.type = (null !== m.find.attr(a, "type")) + "/" + a.type, a
- }
-
- function yb(a) {
- var b = pb.exec(a.type);
- return b ? a.type = b[1] : a.removeAttribute("type"), a
- }
-
- function zb(a, b) {
- for (var c, d = 0; null != (c = a[d]); d++)m._data(c, "globalEval", !b || m._data(b[d], "globalEval"))
- }
-
- function Ab(a, b) {
- if (1 === b.nodeType && m.hasData(a)) {
- var c, d, e, f = m._data(a), g = m._data(b, f), h = f.events;
- if (h) {
- delete g.handle, g.events = {};
- for (c in h)for (d = 0, e = h[c].length; e > d; d++)m.event.add(b, c, h[c][d])
- }
- g.data && (g.data = m.extend({}, g.data))
- }
- }
-
- function Bb(a, b) {
- var c, d, e;
- if (1 === b.nodeType) {
- if (c = b.nodeName.toLowerCase(), !k.noCloneEvent && b[m.expando]) {
- e = m._data(b);
- for (d in e.events)m.removeEvent(b, d, e.handle);
- b.removeAttribute(m.expando)
- }
- "script" === c && b.text !== a.text ? (xb(b).text = a.text, yb(b)) : "object" === c ? (b.parentNode && (b.outerHTML = a.outerHTML), k.html5Clone && a.innerHTML && !m.trim(b.innerHTML) && (b.innerHTML = a.innerHTML)) : "input" === c && W.test(a.type) ? (b.defaultChecked = b.checked = a.checked, b.value !== a.value && (b.value = a.value)) : "option" === c ? b.defaultSelected = b.selected = a.defaultSelected : ("input" === c || "textarea" === c) && (b.defaultValue = a.defaultValue)
- }
- }
-
- m.extend({
- clone: function (a, b, c) {
- var d, e, f, g, h, i = m.contains(a.ownerDocument, a);
- if (k.html5Clone || m.isXMLDoc(a) || !gb.test("<" + a.nodeName + ">") ? f = a.cloneNode(!0) : (tb.innerHTML = a.outerHTML, tb.removeChild(f = tb.firstChild)), !(k.noCloneEvent && k.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || m.isXMLDoc(a)))for (d = ub(f), h = ub(a), g = 0; null != (e = h[g]); ++g)d[g] && Bb(e, d[g]);
- if (b)if (c)for (h = h || ub(a), d = d || ub(f), g = 0; null != (e = h[g]); g++)Ab(e, d[g]); else Ab(a, f);
- return d = ub(f, "script"), d.length > 0 && zb(d, !i && ub(a, "script")), d = h = e = null, f
- }, buildFragment: function (a, b, c, d) {
- for (var e, f, g, h, i, j, l, n = a.length, o = db(b), p = [], q = 0; n > q; q++)if (f = a[q], f || 0 === f)if ("object" === m.type(f))m.merge(p, f.nodeType ? [f] : f); else if (lb.test(f)) {
- h = h || o.appendChild(b.createElement("div")), i = (jb.exec(f) || ["", ""])[1].toLowerCase(), l = rb[i] || rb._default, h.innerHTML = l[1] + f.replace(ib, "<$1></$2>") + l[2], e = l[0];
- while (e--)h = h.lastChild;
- if (!k.leadingWhitespace && hb.test(f) && p.push(b.createTextNode(hb.exec(f)[0])), !k.tbody) {
- f = "table" !== i || kb.test(f) ? "<table>" !== l[1] || kb.test(f) ? 0 : h : h.firstChild, e = f && f.childNodes.length;
- while (e--)m.nodeName(j = f.childNodes[e], "tbody") && !j.childNodes.length && f.removeChild(j)
- }
- m.merge(p, h.childNodes), h.textContent = "";
- while (h.firstChild)h.removeChild(h.firstChild);
- h = o.lastChild
- } else p.push(b.createTextNode(f));
- h && o.removeChild(h), k.appendChecked || m.grep(ub(p, "input"), vb), q = 0;
- while (f = p[q++])if ((!d || -1 === m.inArray(f, d)) && (g = m.contains(f.ownerDocument, f), h = ub(o.appendChild(f), "script"), g && zb(h), c)) {
- e = 0;
- while (f = h[e++])ob.test(f.type || "") && c.push(f)
- }
- return h = null, o
- }, cleanData: function (a, b) {
- for (var d, e, f, g, h = 0, i = m.expando, j = m.cache, l = k.deleteExpando, n = m.event.special; null != (d = a[h]); h++)if ((b || m.acceptData(d)) && (f = d[i], g = f && j[f])) {
- if (g.events)for (e in g.events)n[e] ? m.event.remove(d, e) : m.removeEvent(d, e, g.handle);
- j[f] && (delete j[f], l ? delete d[i] : typeof d.removeAttribute !== K ? d.removeAttribute(i) : d[i] = null, c.push(f))
- }
- }
- }), m.fn.extend({
- text: function (a) {
- return V(this, function (a) {
- return void 0 === a ? m.text(this) : this.empty().append((this[0] && this[0].ownerDocument || y).createTextNode(a))
- }, null, a, arguments.length)
- }, append: function () {
- return this.domManip(arguments, function (a) {
- if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
- var b = wb(this, a);
- b.appendChild(a)
- }
- })
- }, prepend: function () {
- return this.domManip(arguments, function (a) {
- if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
- var b = wb(this, a);
- b.insertBefore(a, b.firstChild)
- }
- })
- }, before: function () {
- return this.domManip(arguments, function (a) {
- this.parentNode && this.parentNode.insertBefore(a, this)
- })
- }, after: function () {
- return this.domManip(arguments, function (a) {
- this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)
- })
- }, remove: function (a, b) {
- for (var c, d = a ? m.filter(a, this) : this, e = 0; null != (c = d[e]); e++)b || 1 !== c.nodeType || m.cleanData(ub(c)), c.parentNode && (b && m.contains(c.ownerDocument, c) && zb(ub(c, "script")), c.parentNode.removeChild(c));
- return this
- }, empty: function () {
- for (var a, b = 0; null != (a = this[b]); b++) {
- 1 === a.nodeType && m.cleanData(ub(a, !1));
- while (a.firstChild)a.removeChild(a.firstChild);
- a.options && m.nodeName(a, "select") && (a.options.length = 0)
- }
- return this
- }, clone: function (a, b) {
- return a = null == a ? !1 : a, b = null == b ? a : b, this.map(function () {
- return m.clone(this, a, b)
- })
- }, html: function (a) {
- return V(this, function (a) {
- var b = this[0] || {}, c = 0, d = this.length;
- if (void 0 === a)return 1 === b.nodeType ? b.innerHTML.replace(fb, "") : void 0;
- if (!("string" != typeof a || mb.test(a) || !k.htmlSerialize && gb.test(a) || !k.leadingWhitespace && hb.test(a) || rb[(jb.exec(a) || ["", ""])[1].toLowerCase()])) {
- a = a.replace(ib, "<$1></$2>");
- try {
- for (; d > c; c++)b = this[c] || {}, 1 === b.nodeType && (m.cleanData(ub(b, !1)), b.innerHTML = a);
- b = 0
- } catch (e) {
- }
- }
- b && this.empty().append(a)
- }, null, a, arguments.length)
- }, replaceWith: function () {
- var a = arguments[0];
- return this.domManip(arguments, function (b) {
- a = this.parentNode, m.cleanData(ub(this)), a && a.replaceChild(b, this)
- }), a && (a.length || a.nodeType) ? this : this.remove()
- }, detach: function (a) {
- return this.remove(a, !0)
- }, domManip: function (a, b) {
- a = e.apply([], a);
- var c, d, f, g, h, i, j = 0, l = this.length, n = this, o = l - 1, p = a[0], q = m.isFunction(p);
- if (q || l > 1 && "string" == typeof p && !k.checkClone && nb.test(p))return this.each(function (c) {
- var d = n.eq(c);
- q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b)
- });
- if (l && (i = m.buildFragment(a, this[0].ownerDocument, !1, this), c = i.firstChild, 1 === i.childNodes.length && (i = c), c)) {
- for (g = m.map(ub(i, "script"), xb), f = g.length; l > j; j++)d = i, j !== o && (d = m.clone(d, !0, !0), f && m.merge(g, ub(d, "script"))), b.call(this[j], d, j);
- if (f)for (h = g[g.length - 1].ownerDocument, m.map(g, yb), j = 0; f > j; j++)d = g[j], ob.test(d.type || "") && !m._data(d, "globalEval") && m.contains(h, d) && (d.src ? m._evalUrl && m._evalUrl(d.src) : m.globalEval((d.text || d.textContent || d.innerHTML || "").replace(qb, "")));
- i = c = null
- }
- return this
- }
- }), m.each({
- appendTo: "append",
- prependTo: "prepend",
- insertBefore: "before",
- insertAfter: "after",
- replaceAll: "replaceWith"
- }, function (a, b) {
- m.fn[a] = function (a) {
- for (var c, d = 0, e = [], g = m(a), h = g.length - 1; h >= d; d++)c = d === h ? this : this.clone(!0), m(g[d])[b](c), f.apply(e, c.get());
- return this.pushStack(e)
- }
- });
- var Cb, Db = {};
-
- function Eb(b, c) {
- var d, e = m(c.createElement(b)).appendTo(c.body), f = a.getDefaultComputedStyle && (d = a.getDefaultComputedStyle(e[0])) ? d.display : m.css(e[0], "display");
- return e.detach(), f
- }
-
- function Fb(a) {
- var b = y, c = Db[a];
- return c || (c = Eb(a, b), "none" !== c && c || (Cb = (Cb || m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement), b = (Cb[0].contentWindow || Cb[0].contentDocument).document, b.write(), b.close(), c = Eb(a, b), Cb.detach()), Db[a] = c), c
- }
-
- !function () {
- var a;
- k.shrinkWrapBlocks = function () {
- if (null != a)return a;
- a = !1;
- var b, c, d;
- return c = y.getElementsByTagName("body")[0], c && c.style ? (b = y.createElement("div"), d = y.createElement("div"), d.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", c.appendChild(d).appendChild(b), typeof b.style.zoom !== K && (b.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1", b.appendChild(y.createElement("div")).style.width = "5px", a = 3 !== b.offsetWidth), c.removeChild(d), a) : void 0
- }
- }();
- var Gb = /^margin/, Hb = new RegExp("^(" + S + ")(?!px)[a-z%]+$", "i"), Ib, Jb, Kb = /^(top|right|bottom|left)$/;
- a.getComputedStyle ? (Ib = function (b) {
- return b.ownerDocument.defaultView.opener ? b.ownerDocument.defaultView.getComputedStyle(b, null) : a.getComputedStyle(b, null)
- }, Jb = function (a, b, c) {
- var d, e, f, g, h = a.style;
- return c = c || Ib(a), g = c ? c.getPropertyValue(b) || c[b] : void 0, c && ("" !== g || m.contains(a.ownerDocument, a) || (g = m.style(a, b)), Hb.test(g) && Gb.test(b) && (d = h.width, e = h.minWidth, f = h.maxWidth, h.minWidth = h.maxWidth = h.width = g, g = c.width, h.width = d, h.minWidth = e, h.maxWidth = f)), void 0 === g ? g : g + ""
- }) : y.documentElement.currentStyle && (Ib = function (a) {
- return a.currentStyle
- }, Jb = function (a, b, c) {
- var d, e, f, g, h = a.style;
- return c = c || Ib(a), g = c ? c[b] : void 0, null == g && h && h[b] && (g = h[b]), Hb.test(g) && !Kb.test(b) && (d = h.left, e = a.runtimeStyle, f = e && e.left, f && (e.left = a.currentStyle.left), h.left = "fontSize" === b ? "1em" : g, g = h.pixelLeft + "px", h.left = d, f && (e.left = f)), void 0 === g ? g : g + "" || "auto"
- });
- function Lb(a, b) {
- return {
- get: function () {
- var c = a();
- if (null != c)return c ? void delete this.get : (this.get = b).apply(this, arguments)
- }
- }
- }
-
- !function () {
- var b, c, d, e, f, g, h;
- if (b = y.createElement("div"), b.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", d = b.getElementsByTagName("a")[0], c = d && d.style) {
- c.cssText = "float:left;opacity:.5", k.opacity = "0.5" === c.opacity, k.cssFloat = !!c.cssFloat, b.style.backgroundClip = "content-box", b.cloneNode(!0).style.backgroundClip = "", k.clearCloneStyle = "content-box" === b.style.backgroundClip, k.boxSizing = "" === c.boxSizing || "" === c.MozBoxSizing || "" === c.WebkitBoxSizing, m.extend(k, {
- reliableHiddenOffsets: function () {
- return null == g && i(), g
- }, boxSizingReliable: function () {
- return null == f && i(), f
- }, pixelPosition: function () {
- return null == e && i(), e
- }, reliableMarginRight: function () {
- return null == h && i(), h
- }
- });
- function i() {
- var b, c, d, i;
- c = y.getElementsByTagName("body")[0], c && c.style && (b = y.createElement("div"), d = y.createElement("div"), d.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", c.appendChild(d).appendChild(b), b.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute", e = f = !1, h = !0, a.getComputedStyle && (e = "1%" !== (a.getComputedStyle(b, null) || {}).top, f = "4px" === (a.getComputedStyle(b, null) || {width: "4px"}).width, i = b.appendChild(y.createElement("div")), i.style.cssText = b.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0", i.style.marginRight = i.style.width = "0", b.style.width = "1px", h = !parseFloat((a.getComputedStyle(i, null) || {}).marginRight), b.removeChild(i)), b.innerHTML = "<table><tr><td></td><td>t</td></tr></table>", i = b.getElementsByTagName("td"), i[0].style.cssText = "margin:0;border:0;padding:0;display:none", g = 0 === i[0].offsetHeight, g && (i[0].style.display = "", i[1].style.display = "none", g = 0 === i[0].offsetHeight), c.removeChild(d))
- }
- }
- }(), m.swap = function (a, b, c, d) {
- var e, f, g = {};
- for (f in b)g[f] = a.style[f], a.style[f] = b[f];
- e = c.apply(a, d || []);
- for (f in b)a.style[f] = g[f];
- return e
- };
- var Mb = /alpha\([^)]*\)/i, Nb = /opacity\s*=\s*([^)]*)/, Ob = /^(none|table(?!-c[ea]).+)/, Pb = new RegExp("^(" + S + ")(.*)$", "i"), Qb = new RegExp("^([+-])=(" + S + ")", "i"), Rb = {
- position: "absolute",
- visibility: "hidden",
- display: "block"
- }, Sb = {letterSpacing: "0", fontWeight: "400"}, Tb = ["Webkit", "O", "Moz", "ms"];
-
- function Ub(a, b) {
- if (b in a)return b;
- var c = b.charAt(0).toUpperCase() + b.slice(1), d = b, e = Tb.length;
- while (e--)if (b = Tb[e] + c, b in a)return b;
- return d
- }
-
- function Vb(a, b) {
- for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++)d = a[g], d.style && (f[g] = m._data(d, "olddisplay"), c = d.style.display, b ? (f[g] || "none" !== c || (d.style.display = ""), "" === d.style.display && U(d) && (f[g] = m._data(d, "olddisplay", Fb(d.nodeName)))) : (e = U(d), (c && "none" !== c || !e) && m._data(d, "olddisplay", e ? c : m.css(d, "display"))));
- for (g = 0; h > g; g++)d = a[g], d.style && (b && "none" !== d.style.display && "" !== d.style.display || (d.style.display = b ? f[g] || "" : "none"));
- return a
- }
-
- function Wb(a, b, c) {
- var d = Pb.exec(b);
- return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b
- }
-
- function Xb(a, b, c, d, e) {
- for (var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0, g = 0; 4 > f; f += 2)"margin" === c && (g += m.css(a, c + T[f], !0, e)), d ? ("content" === c && (g -= m.css(a, "padding" + T[f], !0, e)), "margin" !== c && (g -= m.css(a, "border" + T[f] + "Width", !0, e))) : (g += m.css(a, "padding" + T[f], !0, e), "padding" !== c && (g += m.css(a, "border" + T[f] + "Width", !0, e)));
- return g
- }
-
- function Yb(a, b, c) {
- var d = !0, e = "width" === b ? a.offsetWidth : a.offsetHeight, f = Ib(a), g = k.boxSizing && "border-box" === m.css(a, "boxSizing", !1, f);
- if (0 >= e || null == e) {
- if (e = Jb(a, b, f), (0 > e || null == e) && (e = a.style[b]), Hb.test(e))return e;
- d = g && (k.boxSizingReliable() || e === a.style[b]), e = parseFloat(e) || 0
- }
- return e + Xb(a, b, c || (g ? "border" : "content"), d, f) + "px"
- }
-
- m.extend({
- cssHooks: {
- opacity: {
- get: function (a, b) {
- if (b) {
- var c = Jb(a, "opacity");
- return "" === c ? "1" : c
- }
- }
- }
- },
- cssNumber: {
- columnCount: !0,
- fillOpacity: !0,
- flexGrow: !0,
- flexShrink: !0,
- fontWeight: !0,
- lineHeight: !0,
- opacity: !0,
- order: !0,
- orphans: !0,
- widows: !0,
- zIndex: !0,
- zoom: !0
- },
- cssProps: {"float": k.cssFloat ? "cssFloat" : "styleFloat"},
- style: function (a, b, c, d) {
- if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
- var e, f, g, h = m.camelCase(b), i = a.style;
- if (b = m.cssProps[h] || (m.cssProps[h] = Ub(i, h)), g = m.cssHooks[b] || m.cssHooks[h], void 0 === c)return g && "get"in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b];
- if (f = typeof c, "string" === f && (e = Qb.exec(c)) && (c = (e[1] + 1) * e[2] + parseFloat(m.css(a, b)), f = "number"), null != c && c === c && ("number" !== f || m.cssNumber[h] || (c += "px"), k.clearCloneStyle || "" !== c || 0 !== b.indexOf("background") || (i[b] = "inherit"), !(g && "set"in g && void 0 === (c = g.set(a, c, d)))))try {
- i[b] = c
- } catch (j) {
- }
- }
- },
- css: function (a, b, c, d) {
- var e, f, g, h = m.camelCase(b);
- return b = m.cssProps[h] || (m.cssProps[h] = Ub(a.style, h)), g = m.cssHooks[b] || m.cssHooks[h], g && "get"in g && (f = g.get(a, !0, c)), void 0 === f && (f = Jb(a, b, d)), "normal" === f && b in Sb && (f = Sb[b]), "" === c || c ? (e = parseFloat(f), c === !0 || m.isNumeric(e) ? e || 0 : f) : f
- }
- }), m.each(["height", "width"], function (a, b) {
- m.cssHooks[b] = {
- get: function (a, c, d) {
- return c ? Ob.test(m.css(a, "display")) && 0 === a.offsetWidth ? m.swap(a, Rb, function () {
- return Yb(a, b, d)
- }) : Yb(a, b, d) : void 0
- }, set: function (a, c, d) {
- var e = d && Ib(a);
- return Wb(a, c, d ? Xb(a, b, d, k.boxSizing && "border-box" === m.css(a, "boxSizing", !1, e), e) : 0)
- }
- }
- }), k.opacity || (m.cssHooks.opacity = {
- get: function (a, b) {
- return Nb.test((b && a.currentStyle ? a.currentStyle.filter : a.style.filter) || "") ? .01 * parseFloat(RegExp.$1) + "" : b ? "1" : ""
- }, set: function (a, b) {
- var c = a.style, d = a.currentStyle, e = m.isNumeric(b) ? "alpha(opacity=" + 100 * b + ")" : "", f = d && d.filter || c.filter || "";
- c.zoom = 1, (b >= 1 || "" === b) && "" === m.trim(f.replace(Mb, "")) && c.removeAttribute && (c.removeAttribute("filter"), "" === b || d && !d.filter) || (c.filter = Mb.test(f) ? f.replace(Mb, e) : f + " " + e)
- }
- }), m.cssHooks.marginRight = Lb(k.reliableMarginRight, function (a, b) {
- return b ? m.swap(a, {display: "inline-block"}, Jb, [a, "marginRight"]) : void 0
- }), m.each({margin: "", padding: "", border: "Width"}, function (a, b) {
- m.cssHooks[a + b] = {
- expand: function (c) {
- for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; 4 > d; d++)e[a + T[d] + b] = f[d] || f[d - 2] || f[0];
- return e
- }
- }, Gb.test(a) || (m.cssHooks[a + b].set = Wb)
- }), m.fn.extend({
- css: function (a, b) {
- return V(this, function (a, b, c) {
- var d, e, f = {}, g = 0;
- if (m.isArray(b)) {
- for (d = Ib(a), e = b.length; e > g; g++)f[b[g]] = m.css(a, b[g], !1, d);
- return f
- }
- return void 0 !== c ? m.style(a, b, c) : m.css(a, b)
- }, a, b, arguments.length > 1)
- }, show: function () {
- return Vb(this, !0)
- }, hide: function () {
- return Vb(this)
- }, toggle: function (a) {
- return "boolean" == typeof a ? a ? this.show() : this.hide() : this.each(function () {
- U(this) ? m(this).show() : m(this).hide()
- })
- }
- });
- function Zb(a, b, c, d, e) {
- return new Zb.prototype.init(a, b, c, d, e)
- }
-
- m.Tween = Zb, Zb.prototype = {
- constructor: Zb, init: function (a, b, c, d, e, f) {
- this.elem = a, this.prop = c, this.easing = e || "swing", this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (m.cssNumber[c] ? "" : "px")
- }, cur: function () {
- var a = Zb.propHooks[this.prop];
- return a && a.get ? a.get(this) : Zb.propHooks._default.get(this)
- }, run: function (a) {
- var b, c = Zb.propHooks[this.prop];
- return this.pos = b = this.options.duration ? m.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : a, this.now = (this.end - this.start) * b + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), c && c.set ? c.set(this) : Zb.propHooks._default.set(this), this
- }
- }, Zb.prototype.init.prototype = Zb.prototype, Zb.propHooks = {
- _default: {
- get: function (a) {
- var b;
- return null == a.elem[a.prop] || a.elem.style && null != a.elem.style[a.prop] ? (b = m.css(a.elem, a.prop, ""), b && "auto" !== b ? b : 0) : a.elem[a.prop]
- }, set: function (a) {
- m.fx.step[a.prop] ? m.fx.step[a.prop](a) : a.elem.style && (null != a.elem.style[m.cssProps[a.prop]] || m.cssHooks[a.prop]) ? m.style(a.elem, a.prop, a.now + a.unit) : a.elem[a.prop] = a.now
- }
- }
- }, Zb.propHooks.scrollTop = Zb.propHooks.scrollLeft = {
- set: function (a) {
- a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now)
- }
- }, m.easing = {
- linear: function (a) {
- return a
- }, swing: function (a) {
- return .5 - Math.cos(a * Math.PI) / 2
- }
- }, m.fx = Zb.prototype.init, m.fx.step = {};
- var $b, _b, ac = /^(?:toggle|show|hide)$/, bc = new RegExp("^(?:([+-])=|)(" + S + ")([a-z%]*)$", "i"), cc = /queueHooks$/, dc = [ic], ec = {
- "*": [function (a, b) {
- var c = this.createTween(a, b), d = c.cur(), e = bc.exec(b), f = e && e[3] || (m.cssNumber[a] ? "" : "px"), g = (m.cssNumber[a] || "px" !== f && +d) && bc.exec(m.css(c.elem, a)), h = 1, i = 20;
- if (g && g[3] !== f) {
- f = f || g[3], e = e || [], g = +d || 1;
- do h = h || ".5", g /= h, m.style(c.elem, a, g + f); while (h !== (h = c.cur() / d) && 1 !== h && --i)
- }
- return e && (g = c.start = +g || +d || 0, c.unit = f, c.end = e[1] ? g + (e[1] + 1) * e[2] : +e[2]), c
- }]
- };
-
- function fc() {
- return setTimeout(function () {
- $b = void 0
- }), $b = m.now()
- }
-
- function gc(a, b) {
- var c, d = {height: a}, e = 0;
- for (b = b ? 1 : 0; 4 > e; e += 2 - b)c = T[e], d["margin" + c] = d["padding" + c] = a;
- return b && (d.opacity = d.width = a), d
- }
-
- function hc(a, b, c) {
- for (var d, e = (ec[b] || []).concat(ec["*"]), f = 0, g = e.length; g > f; f++)if (d = e[f].call(c, b, a))return d
- }
-
- function ic(a, b, c) {
- var d, e, f, g, h, i, j, l, n = this, o = {}, p = a.style, q = a.nodeType && U(a), r = m._data(a, "fxshow");
- c.queue || (h = m._queueHooks(a, "fx"), null == h.unqueued && (h.unqueued = 0, i = h.empty.fire, h.empty.fire = function () {
- h.unqueued || i()
- }), h.unqueued++, n.always(function () {
- n.always(function () {
- h.unqueued--, m.queue(a, "fx").length || h.empty.fire()
- })
- })), 1 === a.nodeType && ("height"in b || "width"in b) && (c.overflow = [p.overflow, p.overflowX, p.overflowY], j = m.css(a, "display"), l = "none" === j ? m._data(a, "olddisplay") || Fb(a.nodeName) : j, "inline" === l && "none" === m.css(a, "float") && (k.inlineBlockNeedsLayout && "inline" !== Fb(a.nodeName) ? p.zoom = 1 : p.display = "inline-block")), c.overflow && (p.overflow = "hidden", k.shrinkWrapBlocks() || n.always(function () {
- p.overflow = c.overflow[0], p.overflowX = c.overflow[1], p.overflowY = c.overflow[2]
- }));
- for (d in b)if (e = b[d], ac.exec(e)) {
- if (delete b[d], f = f || "toggle" === e, e === (q ? "hide" : "show")) {
- if ("show" !== e || !r || void 0 === r[d])continue;
- q = !0
- }
- o[d] = r && r[d] || m.style(a, d)
- } else j = void 0;
- if (m.isEmptyObject(o))"inline" === ("none" === j ? Fb(a.nodeName) : j) && (p.display = j); else {
- r ? "hidden"in r && (q = r.hidden) : r = m._data(a, "fxshow", {}), f && (r.hidden = !q), q ? m(a).show() : n.done(function () {
- m(a).hide()
- }), n.done(function () {
- var b;
- m._removeData(a, "fxshow");
- for (b in o)m.style(a, b, o[b])
- });
- for (d in o)g = hc(q ? r[d] : 0, d, n), d in r || (r[d] = g.start, q && (g.end = g.start, g.start = "width" === d || "height" === d ? 1 : 0))
- }
- }
-
- function jc(a, b) {
- var c, d, e, f, g;
- for (c in a)if (d = m.camelCase(c), e = b[d], f = a[c], m.isArray(f) && (e = f[1], f = a[c] = f[0]), c !== d && (a[d] = f, delete a[c]), g = m.cssHooks[d], g && "expand"in g) {
- f = g.expand(f), delete a[d];
- for (c in f)c in a || (a[c] = f[c], b[c] = e)
- } else b[d] = e
- }
-
- function kc(a, b, c) {
- var d, e, f = 0, g = dc.length, h = m.Deferred().always(function () {
- delete i.elem
- }), i = function () {
- if (e)return !1;
- for (var b = $b || fc(), c = Math.max(0, j.startTime + j.duration - b), d = c / j.duration || 0, f = 1 - d, g = 0, i = j.tweens.length; i > g; g++)j.tweens[g].run(f);
- return h.notifyWith(a, [j, f, c]), 1 > f && i ? c : (h.resolveWith(a, [j]), !1)
- }, j = h.promise({
- elem: a,
- props: m.extend({}, b),
- opts: m.extend(!0, {specialEasing: {}}, c),
- originalProperties: b,
- originalOptions: c,
- startTime: $b || fc(),
- duration: c.duration,
- tweens: [],
- createTween: function (b, c) {
- var d = m.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing);
- return j.tweens.push(d), d
- },
- stop: function (b) {
- var c = 0, d = b ? j.tweens.length : 0;
- if (e)return this;
- for (e = !0; d > c; c++)j.tweens[c].run(1);
- return b ? h.resolveWith(a, [j, b]) : h.rejectWith(a, [j, b]), this
- }
- }), k = j.props;
- for (jc(k, j.opts.specialEasing); g > f; f++)if (d = dc[f].call(j, a, k, j.opts))return d;
- return m.map(k, hc, j), m.isFunction(j.opts.start) && j.opts.start.call(a, j), m.fx.timer(m.extend(i, {
- elem: a,
- anim: j,
- queue: j.opts.queue
- })), j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
- }
-
- m.Animation = m.extend(kc, {
- tweener: function (a, b) {
- m.isFunction(a) ? (b = a, a = ["*"]) : a = a.split(" ");
- for (var c, d = 0, e = a.length; e > d; d++)c = a[d], ec[c] = ec[c] || [], ec[c].unshift(b)
- }, prefilter: function (a, b) {
- b ? dc.unshift(a) : dc.push(a)
- }
- }), m.speed = function (a, b, c) {
- var d = a && "object" == typeof a ? m.extend({}, a) : {
- complete: c || !c && b || m.isFunction(a) && a,
- duration: a,
- easing: c && b || b && !m.isFunction(b) && b
- };
- return d.duration = m.fx.off ? 0 : "number" == typeof d.duration ? d.duration : d.duration in m.fx.speeds ? m.fx.speeds[d.duration] : m.fx.speeds._default, (null == d.queue || d.queue === !0) && (d.queue = "fx"), d.old = d.complete, d.complete = function () {
- m.isFunction(d.old) && d.old.call(this), d.queue && m.dequeue(this, d.queue)
- }, d
- }, m.fn.extend({
- fadeTo: function (a, b, c, d) {
- return this.filter(U).css("opacity", 0).show().end().animate({opacity: b}, a, c, d)
- }, animate: function (a, b, c, d) {
- var e = m.isEmptyObject(a), f = m.speed(b, c, d), g = function () {
- var b = kc(this, m.extend({}, a), f);
- (e || m._data(this, "finish")) && b.stop(!0)
- };
- return g.finish = g, e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g)
- }, stop: function (a, b, c) {
- var d = function (a) {
- var b = a.stop;
- delete a.stop, b(c)
- };
- return "string" != typeof a && (c = b, b = a, a = void 0), b && a !== !1 && this.queue(a || "fx", []), this.each(function () {
- var b = !0, e = null != a && a + "queueHooks", f = m.timers, g = m._data(this);
- if (e)g[e] && g[e].stop && d(g[e]); else for (e in g)g[e] && g[e].stop && cc.test(e) && d(g[e]);
- for (e = f.length; e--;)f[e].elem !== this || null != a && f[e].queue !== a || (f[e].anim.stop(c), b = !1, f.splice(e, 1));
- (b || !c) && m.dequeue(this, a)
- })
- }, finish: function (a) {
- return a !== !1 && (a = a || "fx"), this.each(function () {
- var b, c = m._data(this), d = c[a + "queue"], e = c[a + "queueHooks"], f = m.timers, g = d ? d.length : 0;
- for (c.finish = !0, m.queue(this, a, []), e && e.stop && e.stop.call(this, !0), b = f.length; b--;)f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0), f.splice(b, 1));
- for (b = 0; g > b; b++)d[b] && d[b].finish && d[b].finish.call(this);
- delete c.finish
- })
- }
- }), m.each(["toggle", "show", "hide"], function (a, b) {
- var c = m.fn[b];
- m.fn[b] = function (a, d, e) {
- return null == a || "boolean" == typeof a ? c.apply(this, arguments) : this.animate(gc(b, !0), a, d, e)
- }
- }), m.each({
- slideDown: gc("show"),
- slideUp: gc("hide"),
- slideToggle: gc("toggle"),
- fadeIn: {opacity: "show"},
- fadeOut: {opacity: "hide"},
- fadeToggle: {opacity: "toggle"}
- }, function (a, b) {
- m.fn[a] = function (a, c, d) {
- return this.animate(b, a, c, d)
- }
- }), m.timers = [], m.fx.tick = function () {
- var a, b = m.timers, c = 0;
- for ($b = m.now(); c < b.length; c++)a = b[c], a() || b[c] !== a || b.splice(c--, 1);
- b.length || m.fx.stop(), $b = void 0
- }, m.fx.timer = function (a) {
- m.timers.push(a), a() ? m.fx.start() : m.timers.pop()
- }, m.fx.interval = 13, m.fx.start = function () {
- _b || (_b = setInterval(m.fx.tick, m.fx.interval))
- }, m.fx.stop = function () {
- clearInterval(_b), _b = null
- }, m.fx.speeds = {slow: 600, fast: 200, _default: 400}, m.fn.delay = function (a, b) {
- return a = m.fx ? m.fx.speeds[a] || a : a, b = b || "fx", this.queue(b, function (b, c) {
- var d = setTimeout(b, a);
- c.stop = function () {
- clearTimeout(d)
- }
- })
- }, function () {
- var a, b, c, d, e;
- b = y.createElement("div"), b.setAttribute("className", "t"), b.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", d = b.getElementsByTagName("a")[0], c = y.createElement("select"), e = c.appendChild(y.createElement("option")), a = b.getElementsByTagName("input")[0], d.style.cssText = "top:1px", k.getSetAttribute = "t" !== b.className, k.style = /top/.test(d.getAttribute("style")), k.hrefNormalized = "/a" === d.getAttribute("href"), k.checkOn = !!a.value, k.optSelected = e.selected, k.enctype = !!y.createElement("form").enctype, c.disabled = !0, k.optDisabled = !e.disabled, a = y.createElement("input"), a.setAttribute("value", ""), k.input = "" === a.getAttribute("value"), a.value = "t", a.setAttribute("type", "radio"), k.radioValue = "t" === a.value
- }();
- var lc = /\r/g;
- m.fn.extend({
- val: function (a) {
- var b, c, d, e = this[0];
- {
- if (arguments.length)return d = m.isFunction(a), this.each(function (c) {
- var e;
- 1 === this.nodeType && (e = d ? a.call(this, c, m(this).val()) : a, null == e ? e = "" : "number" == typeof e ? e += "" : m.isArray(e) && (e = m.map(e, function (a) {
- return null == a ? "" : a + ""
- })), b = m.valHooks[this.type] || m.valHooks[this.nodeName.toLowerCase()], b && "set"in b && void 0 !== b.set(this, e, "value") || (this.value = e))
- });
- if (e)return b = m.valHooks[e.type] || m.valHooks[e.nodeName.toLowerCase()], b && "get"in b && void 0 !== (c = b.get(e, "value")) ? c : (c = e.value, "string" == typeof c ? c.replace(lc, "") : null == c ? "" : c)
- }
- }
- }), m.extend({
- valHooks: {
- option: {
- get: function (a) {
- var b = m.find.attr(a, "value");
- return null != b ? b : m.trim(m.text(a))
- }
- }, select: {
- get: function (a) {
- for (var b, c, d = a.options, e = a.selectedIndex, f = "select-one" === a.type || 0 > e, g = f ? null : [], h = f ? e + 1 : d.length, i = 0 > e ? h : f ? e : 0; h > i; i++)if (c = d[i], !(!c.selected && i !== e || (k.optDisabled ? c.disabled : null !== c.getAttribute("disabled")) || c.parentNode.disabled && m.nodeName(c.parentNode, "optgroup"))) {
- if (b = m(c).val(), f)return b;
- g.push(b)
- }
- return g
- }, set: function (a, b) {
- var c, d, e = a.options, f = m.makeArray(b), g = e.length;
- while (g--)if (d = e[g], m.inArray(m.valHooks.option.get(d), f) >= 0)try {
- d.selected = c = !0
- } catch (h) {
- d.scrollHeight
- } else d.selected = !1;
- return c || (a.selectedIndex = -1), e
- }
- }
- }
- }), m.each(["radio", "checkbox"], function () {
- m.valHooks[this] = {
- set: function (a, b) {
- return m.isArray(b) ? a.checked = m.inArray(m(a).val(), b) >= 0 : void 0
- }
- }, k.checkOn || (m.valHooks[this].get = function (a) {
- return null === a.getAttribute("value") ? "on" : a.value
- })
- });
- var mc, nc, oc = m.expr.attrHandle, pc = /^(?:checked|selected)$/i, qc = k.getSetAttribute, rc = k.input;
- m.fn.extend({
- attr: function (a, b) {
- return V(this, m.attr, a, b, arguments.length > 1)
- }, removeAttr: function (a) {
- return this.each(function () {
- m.removeAttr(this, a)
- })
- }
- }), m.extend({
- attr: function (a, b, c) {
- var d, e, f = a.nodeType;
- if (a && 3 !== f && 8 !== f && 2 !== f)return typeof a.getAttribute === K ? m.prop(a, b, c) : (1 === f && m.isXMLDoc(a) || (b = b.toLowerCase(), d = m.attrHooks[b] || (m.expr.match.bool.test(b) ? nc : mc)), void 0 === c ? d && "get"in d && null !== (e = d.get(a, b)) ? e : (e = m.find.attr(a, b), null == e ? void 0 : e) : null !== c ? d && "set"in d && void 0 !== (e = d.set(a, c, b)) ? e : (a.setAttribute(b, c + ""), c) : void m.removeAttr(a, b))
- }, removeAttr: function (a, b) {
- var c, d, e = 0, f = b && b.match(E);
- if (f && 1 === a.nodeType)while (c = f[e++])d = m.propFix[c] || c, m.expr.match.bool.test(c) ? rc && qc || !pc.test(c) ? a[d] = !1 : a[m.camelCase("default-" + c)] = a[d] = !1 : m.attr(a, c, ""), a.removeAttribute(qc ? c : d)
- }, attrHooks: {
- type: {
- set: function (a, b) {
- if (!k.radioValue && "radio" === b && m.nodeName(a, "input")) {
- var c = a.value;
- return a.setAttribute("type", b), c && (a.value = c), b
- }
- }
- }
- }
- }), nc = {
- set: function (a, b, c) {
- return b === !1 ? m.removeAttr(a, c) : rc && qc || !pc.test(c) ? a.setAttribute(!qc && m.propFix[c] || c, c) : a[m.camelCase("default-" + c)] = a[c] = !0, c
- }
- }, m.each(m.expr.match.bool.source.match(/\w+/g), function (a, b) {
- var c = oc[b] || m.find.attr;
- oc[b] = rc && qc || !pc.test(b) ? function (a, b, d) {
- var e, f;
- return d || (f = oc[b], oc[b] = e, e = null != c(a, b, d) ? b.toLowerCase() : null, oc[b] = f), e
- } : function (a, b, c) {
- return c ? void 0 : a[m.camelCase("default-" + b)] ? b.toLowerCase() : null
- }
- }), rc && qc || (m.attrHooks.value = {
- set: function (a, b, c) {
- return m.nodeName(a, "input") ? void(a.defaultValue = b) : mc && mc.set(a, b, c)
- }
- }), qc || (mc = {
- set: function (a, b, c) {
- var d = a.getAttributeNode(c);
- return d || a.setAttributeNode(d = a.ownerDocument.createAttribute(c)), d.value = b += "", "value" === c || b === a.getAttribute(c) ? b : void 0
- }
- }, oc.id = oc.name = oc.coords = function (a, b, c) {
- var d;
- return c ? void 0 : (d = a.getAttributeNode(b)) && "" !== d.value ? d.value : null
- }, m.valHooks.button = {
- get: function (a, b) {
- var c = a.getAttributeNode(b);
- return c && c.specified ? c.value : void 0
- }, set: mc.set
- }, m.attrHooks.contenteditable = {
- set: function (a, b, c) {
- mc.set(a, "" === b ? !1 : b, c)
- }
- }, m.each(["width", "height"], function (a, b) {
- m.attrHooks[b] = {
- set: function (a, c) {
- return "" === c ? (a.setAttribute(b, "auto"), c) : void 0
- }
- }
- })), k.style || (m.attrHooks.style = {
- get: function (a) {
- return a.style.cssText || void 0
- }, set: function (a, b) {
- return a.style.cssText = b + ""
- }
- });
- var sc = /^(?:input|select|textarea|button|object)$/i, tc = /^(?:a|area)$/i;
- m.fn.extend({
- prop: function (a, b) {
- return V(this, m.prop, a, b, arguments.length > 1)
- }, removeProp: function (a) {
- return a = m.propFix[a] || a, this.each(function () {
- try {
- this[a] = void 0, delete this[a]
- } catch (b) {
- }
- })
- }
- }), m.extend({
- propFix: {"for": "htmlFor", "class": "className"}, prop: function (a, b, c) {
- var d, e, f, g = a.nodeType;
- if (a && 3 !== g && 8 !== g && 2 !== g)return f = 1 !== g || !m.isXMLDoc(a), f && (b = m.propFix[b] || b, e = m.propHooks[b]), void 0 !== c ? e && "set"in e && void 0 !== (d = e.set(a, c, b)) ? d : a[b] = c : e && "get"in e && null !== (d = e.get(a, b)) ? d : a[b]
- }, propHooks: {
- tabIndex: {
- get: function (a) {
- var b = m.find.attr(a, "tabindex");
- return b ? parseInt(b, 10) : sc.test(a.nodeName) || tc.test(a.nodeName) && a.href ? 0 : -1
- }
- }
- }
- }), k.hrefNormalized || m.each(["href", "src"], function (a, b) {
- m.propHooks[b] = {
- get: function (a) {
- return a.getAttribute(b, 4)
- }
- }
- }), k.optSelected || (m.propHooks.selected = {
- get: function (a) {
- var b = a.parentNode;
- return b && (b.selectedIndex, b.parentNode && b.parentNode.selectedIndex), null
- }
- }), m.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () {
- m.propFix[this.toLowerCase()] = this
- }), k.enctype || (m.propFix.enctype = "encoding");
- var uc = /[\t\r\n\f]/g;
- m.fn.extend({
- addClass: function (a) {
- var b, c, d, e, f, g, h = 0, i = this.length, j = "string" == typeof a && a;
- if (m.isFunction(a))return this.each(function (b) {
- m(this).addClass(a.call(this, b, this.className))
- });
- if (j)for (b = (a || "").match(E) || []; i > h; h++)if (c = this[h], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(uc, " ") : " ")) {
- f = 0;
- while (e = b[f++])d.indexOf(" " + e + " ") < 0 && (d += e + " ");
- g = m.trim(d), c.className !== g && (c.className = g)
- }
- return this
- }, removeClass: function (a) {
- var b, c, d, e, f, g, h = 0, i = this.length, j = 0 === arguments.length || "string" == typeof a && a;
- if (m.isFunction(a))return this.each(function (b) {
- m(this).removeClass(a.call(this, b, this.className))
- });
- if (j)for (b = (a || "").match(E) || []; i > h; h++)if (c = this[h], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(uc, " ") : "")) {
- f = 0;
- while (e = b[f++])while (d.indexOf(" " + e + " ") >= 0)d = d.replace(" " + e + " ", " ");
- g = a ? m.trim(d) : "", c.className !== g && (c.className = g)
- }
- return this
- }, toggleClass: function (a, b) {
- var c = typeof a;
- return "boolean" == typeof b && "string" === c ? b ? this.addClass(a) : this.removeClass(a) : this.each(m.isFunction(a) ? function (c) {
- m(this).toggleClass(a.call(this, c, this.className, b), b)
- } : function () {
- if ("string" === c) {
- var b, d = 0, e = m(this), f = a.match(E) || [];
- while (b = f[d++])e.hasClass(b) ? e.removeClass(b) : e.addClass(b)
- } else(c === K || "boolean" === c) && (this.className && m._data(this, "__className__", this.className), this.className = this.className || a === !1 ? "" : m._data(this, "__className__") || "")
- })
- }, hasClass: function (a) {
- for (var b = " " + a + " ", c = 0, d = this.length; d > c; c++)if (1 === this[c].nodeType && (" " + this[c].className + " ").replace(uc, " ").indexOf(b) >= 0)return !0;
- return !1
- }
- }), m.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function (a, b) {
- m.fn[b] = function (a, c) {
- return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b)
- }
- }), m.fn.extend({
- hover: function (a, b) {
- return this.mouseenter(a).mouseleave(b || a)
- }, bind: function (a, b, c) {
- return this.on(a, null, b, c)
- }, unbind: function (a, b) {
- return this.off(a, null, b)
- }, delegate: function (a, b, c, d) {
- return this.on(b, a, c, d)
- }, undelegate: function (a, b, c) {
- return 1 === arguments.length ? this.off(a, "**") : this.off(b, a || "**", c)
- }
- });
- var vc = m.now(), wc = /\?/, xc = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
- m.parseJSON = function (b) {
- if (a.JSON && a.JSON.parse)return a.JSON.parse(b + "");
- var c, d = null, e = m.trim(b + "");
- return e && !m.trim(e.replace(xc, function (a, b, e, f) {
- return c && b && (d = 0), 0 === d ? a : (c = e || b, d += !f - !e, "")
- })) ? Function("return " + e)() : m.error("Invalid JSON: " + b)
- }, m.parseXML = function (b) {
- var c, d;
- if (!b || "string" != typeof b)return null;
- try {
- a.DOMParser ? (d = new DOMParser, c = d.parseFromString(b, "text/xml")) : (c = new ActiveXObject("Microsoft.XMLDOM"), c.async = "false", c.loadXML(b))
- } catch (e) {
- c = void 0
- }
- return c && c.documentElement && !c.getElementsByTagName("parsererror").length || m.error("Invalid XML: " + b), c
- };
- var yc, zc, Ac = /#.*$/, Bc = /([?&])_=[^&]*/, Cc = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm, Dc = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, Ec = /^(?:GET|HEAD)$/, Fc = /^\/\//, Gc = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/, Hc = {}, Ic = {}, Jc = "*/".concat("*");
- try {
- zc = location.href
- } catch (Kc) {
- zc = y.createElement("a"), zc.href = "", zc = zc.href
- }
- yc = Gc.exec(zc.toLowerCase()) || [];
- function Lc(a) {
- return function (b, c) {
- "string" != typeof b && (c = b, b = "*");
- var d, e = 0, f = b.toLowerCase().match(E) || [];
- if (m.isFunction(c))while (d = f[e++])"+" === d.charAt(0) ? (d = d.slice(1) || "*", (a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c)
- }
- }
-
- function Mc(a, b, c, d) {
- var e = {}, f = a === Ic;
-
- function g(h) {
- var i;
- return e[h] = !0, m.each(a[h] || [], function (a, h) {
- var j = h(b, c, d);
- return "string" != typeof j || f || e[j] ? f ? !(i = j) : void 0 : (b.dataTypes.unshift(j), g(j), !1)
- }), i
- }
-
- return g(b.dataTypes[0]) || !e["*"] && g("*")
- }
-
- function Nc(a, b) {
- var c, d, e = m.ajaxSettings.flatOptions || {};
- for (d in b)void 0 !== b[d] && ((e[d] ? a : c || (c = {}))[d] = b[d]);
- return c && m.extend(!0, a, c), a
- }
-
- function Oc(a, b, c) {
- var d, e, f, g, h = a.contents, i = a.dataTypes;
- while ("*" === i[0])i.shift(), void 0 === e && (e = a.mimeType || b.getResponseHeader("Content-Type"));
- if (e)for (g in h)if (h[g] && h[g].test(e)) {
- i.unshift(g);
- break
- }
- if (i[0]in c)f = i[0]; else {
- for (g in c) {
- if (!i[0] || a.converters[g + " " + i[0]]) {
- f = g;
- break
- }
- d || (d = g)
- }
- f = f || d
- }
- return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0
- }
-
- function Pc(a, b, c, d) {
- var e, f, g, h, i, j = {}, k = a.dataTypes.slice();
- if (k[1])for (g in a.converters)j[g.toLowerCase()] = a.converters[g];
- f = k.shift();
- while (f)if (a.responseFields[f] && (c[a.responseFields[f]] = b), !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)), i = f, f = k.shift())if ("*" === f)f = i; else if ("*" !== i && i !== f) {
- if (g = j[i + " " + f] || j["* " + f], !g)for (e in j)if (h = e.split(" "), h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]])) {
- g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0], k.unshift(h[1]));
- break
- }
- if (g !== !0)if (g && a["throws"])b = g(b); else try {
- b = g(b)
- } catch (l) {
- return {state: "parsererror", error: g ? l : "No conversion from " + i + " to " + f}
- }
- }
- return {state: "success", data: b}
- }
-
- m.extend({
- active: 0,
- lastModified: {},
- etag: {},
- ajaxSettings: {
- url: zc,
- type: "GET",
- isLocal: Dc.test(yc[1]),
- global: !0,
- processData: !0,
- async: !0,
- contentType: "application/x-www-form-urlencoded; charset=UTF-8",
- accepts: {
- "*": Jc,
- text: "text/plain",
- html: "text/html",
- xml: "application/xml, text/xml",
- json: "application/json, text/javascript"
- },
- contents: {xml: /xml/, html: /html/, json: /json/},
- responseFields: {xml: "responseXML", text: "responseText", json: "responseJSON"},
- converters: {"* text": String, "text html": !0, "text json": m.parseJSON, "text xml": m.parseXML},
- flatOptions: {url: !0, context: !0}
- },
- ajaxSetup: function (a, b) {
- return b ? Nc(Nc(a, m.ajaxSettings), b) : Nc(m.ajaxSettings, a)
- },
- ajaxPrefilter: Lc(Hc),
- ajaxTransport: Lc(Ic),
- ajax: function (a, b) {
- "object" == typeof a && (b = a, a = void 0), b = b || {};
- var c, d, e, f, g, h, i, j, k = m.ajaxSetup({}, b), l = k.context || k, n = k.context && (l.nodeType || l.jquery) ? m(l) : m.event, o = m.Deferred(), p = m.Callbacks("once memory"), q = k.statusCode || {}, r = {}, s = {}, t = 0, u = "canceled", v = {
- readyState: 0,
- getResponseHeader: function (a) {
- var b;
- if (2 === t) {
- if (!j) {
- j = {};
- while (b = Cc.exec(f))j[b[1].toLowerCase()] = b[2]
- }
- b = j[a.toLowerCase()]
- }
- return null == b ? null : b
- },
- getAllResponseHeaders: function () {
- return 2 === t ? f : null
- },
- setRequestHeader: function (a, b) {
- var c = a.toLowerCase();
- return t || (a = s[c] = s[c] || a, r[a] = b), this
- },
- overrideMimeType: function (a) {
- return t || (k.mimeType = a), this
- },
- statusCode: function (a) {
- var b;
- if (a)if (2 > t)for (b in a)q[b] = [q[b], a[b]]; else v.always(a[v.status]);
- return this
- },
- abort: function (a) {
- var b = a || u;
- return i && i.abort(b), x(0, b), this
- }
- };
- if (o.promise(v).complete = p.add, v.success = v.done, v.error = v.fail, k.url = ((a || k.url || zc) + "").replace(Ac, "").replace(Fc, yc[1] + "//"), k.type = b.method || b.type || k.method || k.type, k.dataTypes = m.trim(k.dataType || "*").toLowerCase().match(E) || [""], null == k.crossDomain && (c = Gc.exec(k.url.toLowerCase()), k.crossDomain = !(!c || c[1] === yc[1] && c[2] === yc[2] && (c[3] || ("http:" === c[1] ? "80" : "443")) === (yc[3] || ("http:" === yc[1] ? "80" : "443")))), k.data && k.processData && "string" != typeof k.data && (k.data = m.param(k.data, k.traditional)), Mc(Hc, k, b, v), 2 === t)return v;
- h = m.event && k.global, h && 0 === m.active++ && m.event.trigger("ajaxStart"), k.type = k.type.toUpperCase(), k.hasContent = !Ec.test(k.type), e = k.url, k.hasContent || (k.data && (e = k.url += (wc.test(e) ? "&" : "?") + k.data, delete k.data), k.cache === !1 && (k.url = Bc.test(e) ? e.replace(Bc, "$1_=" + vc++) : e + (wc.test(e) ? "&" : "?") + "_=" + vc++)), k.ifModified && (m.lastModified[e] && v.setRequestHeader("If-Modified-Since", m.lastModified[e]), m.etag[e] && v.setRequestHeader("If-None-Match", m.etag[e])), (k.data && k.hasContent && k.contentType !== !1 || b.contentType) && v.setRequestHeader("Content-Type", k.contentType), v.setRequestHeader("Accept", k.dataTypes[0] && k.accepts[k.dataTypes[0]] ? k.accepts[k.dataTypes[0]] + ("*" !== k.dataTypes[0] ? ", " + Jc + "; q=0.01" : "") : k.accepts["*"]);
- for (d in k.headers)v.setRequestHeader(d, k.headers[d]);
- if (k.beforeSend && (k.beforeSend.call(l, v, k) === !1 || 2 === t))return v.abort();
- u = "abort";
- for (d in{success: 1, error: 1, complete: 1})v[d](k[d]);
- if (i = Mc(Ic, k, b, v)) {
- v.readyState = 1, h && n.trigger("ajaxSend", [v, k]), k.async && k.timeout > 0 && (g = setTimeout(function () {
- v.abort("timeout")
- }, k.timeout));
- try {
- t = 1, i.send(r, x)
- } catch (w) {
- if (!(2 > t))throw w;
- x(-1, w)
- }
- } else x(-1, "No Transport");
- function x(a, b, c, d) {
- var j, r, s, u, w, x = b;
- 2 !== t && (t = 2, g && clearTimeout(g), i = void 0, f = d || "", v.readyState = a > 0 ? 4 : 0, j = a >= 200 && 300 > a || 304 === a, c && (u = Oc(k, v, c)), u = Pc(k, u, v, j), j ? (k.ifModified && (w = v.getResponseHeader("Last-Modified"), w && (m.lastModified[e] = w), w = v.getResponseHeader("etag"), w && (m.etag[e] = w)), 204 === a || "HEAD" === k.type ? x = "nocontent" : 304 === a ? x = "notmodified" : (x = u.state, r = u.data, s = u.error, j = !s)) : (s = x, (a || !x) && (x = "error", 0 > a && (a = 0))), v.status = a, v.statusText = (b || x) + "", j ? o.resolveWith(l, [r, x, v]) : o.rejectWith(l, [v, x, s]), v.statusCode(q), q = void 0, h && n.trigger(j ? "ajaxSuccess" : "ajaxError", [v, k, j ? r : s]), p.fireWith(l, [v, x]), h && (n.trigger("ajaxComplete", [v, k]), --m.active || m.event.trigger("ajaxStop")))
- }
-
- return v
- },
- getJSON: function (a, b, c) {
- return m.get(a, b, c, "json")
- },
- getScript: function (a, b) {
- return m.get(a, void 0, b, "script")
- }
- }), m.each(["get", "post"], function (a, b) {
- m[b] = function (a, c, d, e) {
- return m.isFunction(c) && (e = e || d, d = c, c = void 0), m.ajax({
- url: a,
- type: b,
- dataType: e,
- data: c,
- success: d
- })
- }
- }), m._evalUrl = function (a) {
- return m.ajax({url: a, type: "GET", dataType: "script", async: !1, global: !1, "throws": !0})
- }, m.fn.extend({
- wrapAll: function (a) {
- if (m.isFunction(a))return this.each(function (b) {
- m(this).wrapAll(a.call(this, b))
- });
- if (this[0]) {
- var b = m(a, this[0].ownerDocument).eq(0).clone(!0);
- this[0].parentNode && b.insertBefore(this[0]), b.map(function () {
- var a = this;
- while (a.firstChild && 1 === a.firstChild.nodeType)a = a.firstChild;
- return a
- }).append(this)
- }
- return this
- }, wrapInner: function (a) {
- return this.each(m.isFunction(a) ? function (b) {
- m(this).wrapInner(a.call(this, b))
- } : function () {
- var b = m(this), c = b.contents();
- c.length ? c.wrapAll(a) : b.append(a)
- })
- }, wrap: function (a) {
- var b = m.isFunction(a);
- return this.each(function (c) {
- m(this).wrapAll(b ? a.call(this, c) : a)
- })
- }, unwrap: function () {
- return this.parent().each(function () {
- m.nodeName(this, "body") || m(this).replaceWith(this.childNodes)
- }).end()
- }
- }), m.expr.filters.hidden = function (a) {
- return a.offsetWidth <= 0 && a.offsetHeight <= 0 || !k.reliableHiddenOffsets() && "none" === (a.style && a.style.display || m.css(a, "display"))
- }, m.expr.filters.visible = function (a) {
- return !m.expr.filters.hidden(a)
- };
- var Qc = /%20/g, Rc = /\[\]$/, Sc = /\r?\n/g, Tc = /^(?:submit|button|image|reset|file)$/i, Uc = /^(?:input|select|textarea|keygen)/i;
-
- function Vc(a, b, c, d) {
- var e;
- if (m.isArray(b))m.each(b, function (b, e) {
- c || Rc.test(a) ? d(a, e) : Vc(a + "[" + ("object" == typeof e ? b : "") + "]", e, c, d)
- }); else if (c || "object" !== m.type(b))d(a, b); else for (e in b)Vc(a + "[" + e + "]", b[e], c, d)
- }
-
- m.param = function (a, b) {
- var c, d = [], e = function (a, b) {
- b = m.isFunction(b) ? b() : null == b ? "" : b, d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b)
- };
- if (void 0 === b && (b = m.ajaxSettings && m.ajaxSettings.traditional), m.isArray(a) || a.jquery && !m.isPlainObject(a))m.each(a, function () {
- e(this.name, this.value)
- }); else for (c in a)Vc(c, a[c], b, e);
- return d.join("&").replace(Qc, "+")
- }, m.fn.extend({
- serialize: function () {
- return m.param(this.serializeArray())
- }, serializeArray: function () {
- return this.map(function () {
- var a = m.prop(this, "elements");
- return a ? m.makeArray(a) : this
- }).filter(function () {
- var a = this.type;
- return this.name && !m(this).is(":disabled") && Uc.test(this.nodeName) && !Tc.test(a) && (this.checked || !W.test(a))
- }).map(function (a, b) {
- var c = m(this).val();
- return null == c ? null : m.isArray(c) ? m.map(c, function (a) {
- return {name: b.name, value: a.replace(Sc, "\r\n")}
- }) : {name: b.name, value: c.replace(Sc, "\r\n")}
- }).get()
- }
- }), m.ajaxSettings.xhr = void 0 !== a.ActiveXObject ? function () {
- return !this.isLocal && /^(get|post|head|put|delete|options)$/i.test(this.type) && Zc() || $c()
- } : Zc;
- var Wc = 0, Xc = {}, Yc = m.ajaxSettings.xhr();
- a.attachEvent && a.attachEvent("onunload", function () {
- for (var a in Xc)Xc[a](void 0, !0)
- }), k.cors = !!Yc && "withCredentials"in Yc, Yc = k.ajax = !!Yc, Yc && m.ajaxTransport(function (a) {
- if (!a.crossDomain || k.cors) {
- var b;
- return {
- send: function (c, d) {
- var e, f = a.xhr(), g = ++Wc;
- if (f.open(a.type, a.url, a.async, a.username, a.password), a.xhrFields)for (e in a.xhrFields)f[e] = a.xhrFields[e];
- a.mimeType && f.overrideMimeType && f.overrideMimeType(a.mimeType), a.crossDomain || c["X-Requested-With"] || (c["X-Requested-With"] = "XMLHttpRequest");
- for (e in c)void 0 !== c[e] && f.setRequestHeader(e, c[e] + "");
- f.send(a.hasContent && a.data || null), b = function (c, e) {
- var h, i, j;
- if (b && (e || 4 === f.readyState))if (delete Xc[g], b = void 0, f.onreadystatechange = m.noop, e)4 !== f.readyState && f.abort(); else {
- j = {}, h = f.status, "string" == typeof f.responseText && (j.text = f.responseText);
- try {
- i = f.statusText
- } catch (k) {
- i = ""
- }
- h || !a.isLocal || a.crossDomain ? 1223 === h && (h = 204) : h = j.text ? 200 : 404
- }
- j && d(h, i, j, f.getAllResponseHeaders())
- }, a.async ? 4 === f.readyState ? setTimeout(b) : f.onreadystatechange = Xc[g] = b : b()
- }, abort: function () {
- b && b(void 0, !0)
- }
- }
- }
- });
- function Zc() {
- try {
- return new a.XMLHttpRequest
- } catch (b) {
- }
- }
-
- function $c() {
- try {
- return new a.ActiveXObject("Microsoft.XMLHTTP")
- } catch (b) {
- }
- }
-
- m.ajaxSetup({
- accepts: {script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
- contents: {script: /(?:java|ecma)script/},
- converters: {
- "text script": function (a) {
- return m.globalEval(a), a
- }
- }
- }), m.ajaxPrefilter("script", function (a) {
- void 0 === a.cache && (a.cache = !1), a.crossDomain && (a.type = "GET", a.global = !1)
- }), m.ajaxTransport("script", function (a) {
- if (a.crossDomain) {
- var b, c = y.head || m("head")[0] || y.documentElement;
- return {
- send: function (d, e) {
- b = y.createElement("script"), b.async = !0, a.scriptCharset && (b.charset = a.scriptCharset), b.src = a.url, b.onload = b.onreadystatechange = function (a, c) {
- (c || !b.readyState || /loaded|complete/.test(b.readyState)) && (b.onload = b.onreadystatechange = null, b.parentNode && b.parentNode.removeChild(b), b = null, c || e(200, "success"))
- }, c.insertBefore(b, c.firstChild)
- }, abort: function () {
- b && b.onload(void 0, !0)
- }
- }
- }
- });
- var _c = [], ad = /(=)\?(?=&|$)|\?\?/;
- m.ajaxSetup({
- jsonp: "callback", jsonpCallback: function () {
- var a = _c.pop() || m.expando + "_" + vc++;
- return this[a] = !0, a
- }
- }), m.ajaxPrefilter("json jsonp", function (b, c, d) {
- var e, f, g, h = b.jsonp !== !1 && (ad.test(b.url) ? "url" : "string" == typeof b.data && !(b.contentType || "").indexOf("application/x-www-form-urlencoded") && ad.test(b.data) && "data");
- return h || "jsonp" === b.dataTypes[0] ? (e = b.jsonpCallback = m.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback, h ? b[h] = b[h].replace(ad, "$1" + e) : b.jsonp !== !1 && (b.url += (wc.test(b.url) ? "&" : "?") + b.jsonp + "=" + e), b.converters["script json"] = function () {
- return g || m.error(e + " was not called"), g[0]
- }, b.dataTypes[0] = "json", f = a[e], a[e] = function () {
- g = arguments
- }, d.always(function () {
- a[e] = f, b[e] && (b.jsonpCallback = c.jsonpCallback, _c.push(e)), g && m.isFunction(f) && f(g[0]), g = f = void 0
- }), "script") : void 0
- }), m.parseHTML = function (a, b, c) {
- if (!a || "string" != typeof a)return null;
- "boolean" == typeof b && (c = b, b = !1), b = b || y;
- var d = u.exec(a), e = !c && [];
- return d ? [b.createElement(d[1])] : (d = m.buildFragment([a], b, e), e && e.length && m(e).remove(), m.merge([], d.childNodes))
- };
- var bd = m.fn.load;
- m.fn.load = function (a, b, c) {
- if ("string" != typeof a && bd)return bd.apply(this, arguments);
- var d, e, f, g = this, h = a.indexOf(" ");
- return h >= 0 && (d = m.trim(a.slice(h, a.length)), a = a.slice(0, h)), m.isFunction(b) ? (c = b, b = void 0) : b && "object" == typeof b && (f = "POST"), g.length > 0 && m.ajax({
- url: a,
- type: f,
- dataType: "html",
- data: b
- }).done(function (a) {
- e = arguments, g.html(d ? m("<div>").append(m.parseHTML(a)).find(d) : a)
- }).complete(c && function (a, b) {
- g.each(c, e || [a.responseText, b, a])
- }), this
- }, m.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (a, b) {
- m.fn[b] = function (a) {
- return this.on(b, a)
- }
- }), m.expr.filters.animated = function (a) {
- return m.grep(m.timers, function (b) {
- return a === b.elem
- }).length
- };
- var cd = a.document.documentElement;
-
- function dd(a) {
- return m.isWindow(a) ? a : 9 === a.nodeType ? a.defaultView || a.parentWindow : !1
- }
-
- m.offset = {
- setOffset: function (a, b, c) {
- var d, e, f, g, h, i, j, k = m.css(a, "position"), l = m(a), n = {};
- "static" === k && (a.style.position = "relative"), h = l.offset(), f = m.css(a, "top"), i = m.css(a, "left"), j = ("absolute" === k || "fixed" === k) && m.inArray("auto", [f, i]) > -1, j ? (d = l.position(), g = d.top, e = d.left) : (g = parseFloat(f) || 0, e = parseFloat(i) || 0), m.isFunction(b) && (b = b.call(a, c, h)), null != b.top && (n.top = b.top - h.top + g), null != b.left && (n.left = b.left - h.left + e), "using"in b ? b.using.call(a, n) : l.css(n)
- }
- }, m.fn.extend({
- offset: function (a) {
- if (arguments.length)return void 0 === a ? this : this.each(function (b) {
- m.offset.setOffset(this, a, b)
- });
- var b, c, d = {top: 0, left: 0}, e = this[0], f = e && e.ownerDocument;
- if (f)return b = f.documentElement, m.contains(b, e) ? (typeof e.getBoundingClientRect !== K && (d = e.getBoundingClientRect()), c = dd(f), {
- top: d.top + (c.pageYOffset || b.scrollTop) - (b.clientTop || 0),
- left: d.left + (c.pageXOffset || b.scrollLeft) - (b.clientLeft || 0)
- }) : d
- }, position: function () {
- if (this[0]) {
- var a, b, c = {top: 0, left: 0}, d = this[0];
- return "fixed" === m.css(d, "position") ? b = d.getBoundingClientRect() : (a = this.offsetParent(), b = this.offset(), m.nodeName(a[0], "html") || (c = a.offset()), c.top += m.css(a[0], "borderTopWidth", !0), c.left += m.css(a[0], "borderLeftWidth", !0)), {
- top: b.top - c.top - m.css(d, "marginTop", !0),
- left: b.left - c.left - m.css(d, "marginLeft", !0)
- }
- }
- }, offsetParent: function () {
- return this.map(function () {
- var a = this.offsetParent || cd;
- while (a && !m.nodeName(a, "html") && "static" === m.css(a, "position"))a = a.offsetParent;
- return a || cd
- })
- }
- }), m.each({scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function (a, b) {
- var c = /Y/.test(b);
- m.fn[a] = function (d) {
- return V(this, function (a, d, e) {
- var f = dd(a);
- return void 0 === e ? f ? b in f ? f[b] : f.document.documentElement[d] : a[d] : void(f ? f.scrollTo(c ? m(f).scrollLeft() : e, c ? e : m(f).scrollTop()) : a[d] = e)
- }, a, d, arguments.length, null)
- }
- }), m.each(["top", "left"], function (a, b) {
- m.cssHooks[b] = Lb(k.pixelPosition, function (a, c) {
- return c ? (c = Jb(a, b), Hb.test(c) ? m(a).position()[b] + "px" : c) : void 0
- })
- }), m.each({Height: "height", Width: "width"}, function (a, b) {
- m.each({padding: "inner" + a, content: b, "": "outer" + a}, function (c, d) {
- m.fn[d] = function (d, e) {
- var f = arguments.length && (c || "boolean" != typeof d), g = c || (d === !0 || e === !0 ? "margin" : "border");
- return V(this, function (b, c, d) {
- var e;
- return m.isWindow(b) ? b.document.documentElement["client" + a] : 9 === b.nodeType ? (e = b.documentElement, Math.max(b.body["scroll" + a], e["scroll" + a], b.body["offset" + a], e["offset" + a], e["client" + a])) : void 0 === d ? m.css(b, c, g) : m.style(b, c, d, g)
- }, b, f ? d : void 0, f, null)
- }
- })
- }), m.fn.size = function () {
- return this.length
- }, m.fn.andSelf = m.fn.addBack, "function" == typeof define && define.amd && define("jquery", [], function () {
- return m
- });
- var ed = a.jQuery, fd = a.$;
- return m.noConflict = function (b) {
- return a.$ === m && (a.$ = fd), b && a.jQuery === m && (a.jQuery = ed), m
- }, typeof b === K && (a.jQuery = a.$ = m), m
-});
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.11.2.min.map b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.11.2.min.map
deleted file mode 100644
index bd54a5e1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-1.11.2.min.map
+++ /dev/null
@@ -1,1209 +0,0 @@
-{
- "version": 3,
- "file": "jquery-1.11.2.min.js",
- "sources": ["jquery-1.11.2.js"],
- "names": [
- "global",
- "factory",
- "module",
- "exports",
- "document",
- "w",
- "Error",
- "window",
- "this",
- "noGlobal",
- "deletedIds",
- "slice",
- "concat",
- "push",
- "indexOf",
- "class2type",
- "toString",
- "hasOwn",
- "hasOwnProperty",
- "support",
- "version",
- "jQuery",
- "selector",
- "context",
- "fn",
- "init",
- "rtrim",
- "rmsPrefix",
- "rdashAlpha",
- "fcamelCase",
- "all",
- "letter",
- "toUpperCase",
- "prototype",
- "jquery",
- "constructor",
- "length",
- "toArray",
- "call",
- "get",
- "num",
- "pushStack",
- "elems",
- "ret",
- "merge",
- "prevObject",
- "each",
- "callback",
- "args",
- "map",
- "elem",
- "i",
- "apply",
- "arguments",
- "first",
- "eq",
- "last",
- "len",
- "j",
- "end",
- "sort",
- "splice",
- "extend",
- "src",
- "copyIsArray",
- "copy",
- "name",
- "options",
- "clone",
- "target",
- "deep",
- "isFunction",
- "isPlainObject",
- "isArray",
- "undefined",
- "expando",
- "Math",
- "random",
- "replace",
- "isReady",
- "error",
- "msg",
- "noop",
- "obj",
- "type",
- "Array",
- "isWindow",
- "isNumeric",
- "parseFloat",
- "isEmptyObject",
- "key",
- "nodeType",
- "e",
- "ownLast",
- "globalEval",
- "data",
- "trim",
- "execScript",
- "camelCase",
- "string",
- "nodeName",
- "toLowerCase",
- "value",
- "isArraylike",
- "text",
- "makeArray",
- "arr",
- "results",
- "Object",
- "inArray",
- "max",
- "second",
- "grep",
- "invert",
- "callbackInverse",
- "matches",
- "callbackExpect",
- "arg",
- "guid",
- "proxy",
- "tmp",
- "now",
- "Date",
- "split",
- "Sizzle",
- "Expr",
- "getText",
- "isXML",
- "tokenize",
- "compile",
- "select",
- "outermostContext",
- "sortInput",
- "hasDuplicate",
- "setDocument",
- "docElem",
- "documentIsHTML",
- "rbuggyQSA",
- "rbuggyMatches",
- "contains",
- "preferredDoc",
- "dirruns",
- "done",
- "classCache",
- "createCache",
- "tokenCache",
- "compilerCache",
- "sortOrder",
- "a",
- "b",
- "MAX_NEGATIVE",
- "pop",
- "push_native",
- "list",
- "booleans",
- "whitespace",
- "characterEncoding",
- "identifier",
- "attributes",
- "pseudos",
- "rwhitespace",
- "RegExp",
- "rcomma",
- "rcombinators",
- "rattributeQuotes",
- "rpseudo",
- "ridentifier",
- "matchExpr",
- "ID",
- "CLASS",
- "TAG",
- "ATTR",
- "PSEUDO",
- "CHILD",
- "bool",
- "needsContext",
- "rinputs",
- "rheader",
- "rnative",
- "rquickExpr",
- "rsibling",
- "rescape",
- "runescape",
- "funescape",
- "_",
- "escaped",
- "escapedWhitespace",
- "high",
- "String",
- "fromCharCode",
- "unloadHandler",
- "childNodes",
- "els",
- "seed",
- "match",
- "m",
- "groups",
- "old",
- "nid",
- "newContext",
- "newSelector",
- "ownerDocument",
- "exec",
- "getElementById",
- "parentNode",
- "id",
- "getElementsByTagName",
- "getElementsByClassName",
- "qsa",
- "test",
- "getAttribute",
- "setAttribute",
- "toSelector",
- "testContext",
- "join",
- "querySelectorAll",
- "qsaError",
- "removeAttribute",
- "keys",
- "cache",
- "cacheLength",
- "shift",
- "markFunction",
- "assert",
- "div",
- "createElement",
- "removeChild",
- "addHandle",
- "attrs",
- "handler",
- "attrHandle",
- "siblingCheck",
- "cur",
- "diff",
- "sourceIndex",
- "nextSibling",
- "createInputPseudo",
- "createButtonPseudo",
- "createPositionalPseudo",
- "argument",
- "matchIndexes",
- "documentElement",
- "node",
- "hasCompare",
- "parent",
- "doc",
- "defaultView",
- "top",
- "addEventListener",
- "attachEvent",
- "className",
- "appendChild",
- "createComment",
- "getById",
- "getElementsByName",
- "find",
- "filter",
- "attrId",
- "getAttributeNode",
- "tag",
- "innerHTML",
- "input",
- "matchesSelector",
- "webkitMatchesSelector",
- "mozMatchesSelector",
- "oMatchesSelector",
- "msMatchesSelector",
- "disconnectedMatch",
- "compareDocumentPosition",
- "adown",
- "bup",
- "compare",
- "sortDetached",
- "aup",
- "ap",
- "bp",
- "unshift",
- "expr",
- "elements",
- "attr",
- "val",
- "specified",
- "uniqueSort",
- "duplicates",
- "detectDuplicates",
- "sortStable",
- "textContent",
- "firstChild",
- "nodeValue",
- "selectors",
- "createPseudo",
- "relative",
- ">",
- "dir",
- " ",
- "+",
- "~",
- "preFilter",
- "excess",
- "unquoted",
- "nodeNameSelector",
- "pattern",
- "operator",
- "check",
- "result",
- "what",
- "simple",
- "forward",
- "ofType",
- "xml",
- "outerCache",
- "nodeIndex",
- "start",
- "useCache",
- "lastChild",
- "pseudo",
- "setFilters",
- "idx",
- "matched",
- "not",
- "matcher",
- "unmatched",
- "has",
- "innerText",
- "lang",
- "elemLang",
- "hash",
- "location",
- "root",
- "focus",
- "activeElement",
- "hasFocus",
- "href",
- "tabIndex",
- "enabled",
- "disabled",
- "checked",
- "selected",
- "selectedIndex",
- "empty",
- "header",
- "button",
- "even",
- "odd",
- "lt",
- "gt",
- "radio",
- "checkbox",
- "file",
- "password",
- "image",
- "submit",
- "reset",
- "filters",
- "parseOnly",
- "tokens",
- "soFar",
- "preFilters",
- "cached",
- "addCombinator",
- "combinator",
- "base",
- "checkNonElements",
- "doneName",
- "oldCache",
- "newCache",
- "elementMatcher",
- "matchers",
- "multipleContexts",
- "contexts",
- "condense",
- "newUnmatched",
- "mapped",
- "setMatcher",
- "postFilter",
- "postFinder",
- "postSelector",
- "temp",
- "preMap",
- "postMap",
- "preexisting",
- "matcherIn",
- "matcherOut",
- "matcherFromTokens",
- "checkContext",
- "leadingRelative",
- "implicitRelative",
- "matchContext",
- "matchAnyContext",
- "matcherFromGroupMatchers",
- "elementMatchers",
- "setMatchers",
- "bySet",
- "byElement",
- "superMatcher",
- "outermost",
- "matchedCount",
- "setMatched",
- "contextBackup",
- "dirrunsUnique",
- "token",
- "compiled",
- "div1",
- "defaultValue",
- "unique",
- "isXMLDoc",
- "rneedsContext",
- "rsingleTag",
- "risSimple",
- "winnow",
- "qualifier",
- "self",
- "is",
- "rootjQuery",
- "charAt",
- "parseHTML",
- "ready",
- "rparentsprev",
- "guaranteedUnique",
- "children",
- "contents",
- "next",
- "prev",
- "until",
- "sibling",
- "n",
- "r",
- "targets",
- "closest",
- "l",
- "pos",
- "index",
- "prevAll",
- "add",
- "addBack",
- "parents",
- "parentsUntil",
- "nextAll",
- "nextUntil",
- "prevUntil",
- "siblings",
- "contentDocument",
- "contentWindow",
- "reverse",
- "rnotwhite",
- "optionsCache",
- "createOptions",
- "object",
- "flag",
- "Callbacks",
- "firing",
- "memory",
- "fired",
- "firingLength",
- "firingIndex",
- "firingStart",
- "stack",
- "once",
- "fire",
- "stopOnFalse",
- "disable",
- "remove",
- "lock",
- "locked",
- "fireWith",
- "Deferred",
- "func",
- "tuples",
- "state",
- "promise",
- "always",
- "deferred",
- "fail",
- "then",
- "fns",
- "newDefer",
- "tuple",
- "returned",
- "resolve",
- "reject",
- "progress",
- "notify",
- "pipe",
- "stateString",
- "when",
- "subordinate",
- "resolveValues",
- "remaining",
- "updateFunc",
- "values",
- "progressValues",
- "notifyWith",
- "resolveWith",
- "progressContexts",
- "resolveContexts",
- "readyList",
- "readyWait",
- "holdReady",
- "hold",
- "wait",
- "body",
- "setTimeout",
- "triggerHandler",
- "off",
- "detach",
- "removeEventListener",
- "completed",
- "detachEvent",
- "event",
- "readyState",
- "frameElement",
- "doScroll",
- "doScrollCheck",
- "strundefined",
- "inlineBlockNeedsLayout",
- "container",
- "style",
- "cssText",
- "zoom",
- "offsetWidth",
- "deleteExpando",
- "acceptData",
- "noData",
- "rbrace",
- "rmultiDash",
- "dataAttr",
- "parseJSON",
- "isEmptyDataObject",
- "internalData",
- "pvt",
- "thisCache",
- "internalKey",
- "isNode",
- "toJSON",
- "internalRemoveData",
- "cleanData",
- "applet ",
- "embed ",
- "object ",
- "hasData",
- "removeData",
- "_data",
- "_removeData",
- "queue",
- "dequeue",
- "startLength",
- "hooks",
- "_queueHooks",
- "stop",
- "setter",
- "clearQueue",
- "count",
- "defer",
- "pnum",
- "source",
- "cssExpand",
- "isHidden",
- "el",
- "css",
- "access",
- "chainable",
- "emptyGet",
- "raw",
- "bulk",
- "rcheckableType",
- "fragment",
- "createDocumentFragment",
- "leadingWhitespace",
- "tbody",
- "htmlSerialize",
- "html5Clone",
- "cloneNode",
- "outerHTML",
- "appendChecked",
- "noCloneChecked",
- "checkClone",
- "noCloneEvent",
- "click",
- "eventName",
- "change",
- "focusin",
- "rformElems",
- "rkeyEvent",
- "rmouseEvent",
- "rfocusMorph",
- "rtypenamespace",
- "returnTrue",
- "returnFalse",
- "safeActiveElement",
- "err",
- "types",
- "events",
- "t",
- "handleObjIn",
- "special",
- "eventHandle",
- "handleObj",
- "handlers",
- "namespaces",
- "origType",
- "elemData",
- "handle",
- "triggered",
- "dispatch",
- "delegateType",
- "bindType",
- "namespace",
- "delegateCount",
- "setup",
- "mappedTypes",
- "origCount",
- "teardown",
- "removeEvent",
- "trigger",
- "onlyHandlers",
- "ontype",
- "bubbleType",
- "eventPath",
- "Event",
- "isTrigger",
- "namespace_re",
- "noBubble",
- "parentWindow",
- "isPropagationStopped",
- "preventDefault",
- "isDefaultPrevented",
- "_default",
- "fix",
- "handlerQueue",
- "delegateTarget",
- "preDispatch",
- "currentTarget",
- "isImmediatePropagationStopped",
- "stopPropagation",
- "postDispatch",
- "sel",
- "prop",
- "originalEvent",
- "fixHook",
- "fixHooks",
- "mouseHooks",
- "keyHooks",
- "props",
- "srcElement",
- "metaKey",
- "original",
- "which",
- "charCode",
- "keyCode",
- "eventDoc",
- "fromElement",
- "pageX",
- "clientX",
- "scrollLeft",
- "clientLeft",
- "pageY",
- "clientY",
- "scrollTop",
- "clientTop",
- "relatedTarget",
- "toElement",
- "load",
- "blur",
- "beforeunload",
- "returnValue",
- "simulate",
- "bubble",
- "isSimulated",
- "defaultPrevented",
- "timeStamp",
- "cancelBubble",
- "stopImmediatePropagation",
- "mouseenter",
- "mouseleave",
- "pointerenter",
- "pointerleave",
- "orig",
- "related",
- "submitBubbles",
- "form",
- "_submit_bubble",
- "changeBubbles",
- "propertyName",
- "_just_changed",
- "focusinBubbles",
- "attaches",
- "on",
- "one",
- "origFn",
- "createSafeFragment",
- "nodeNames",
- "safeFrag",
- "rinlinejQuery",
- "rnoshimcache",
- "rleadingWhitespace",
- "rxhtmlTag",
- "rtagName",
- "rtbody",
- "rhtml",
- "rnoInnerhtml",
- "rchecked",
- "rscriptType",
- "rscriptTypeMasked",
- "rcleanScript",
- "wrapMap",
- "option",
- "legend",
- "area",
- "param",
- "thead",
- "tr",
- "col",
- "td",
- "safeFragment",
- "fragmentDiv",
- "optgroup",
- "tfoot",
- "colgroup",
- "caption",
- "th",
- "getAll",
- "found",
- "fixDefaultChecked",
- "defaultChecked",
- "manipulationTarget",
- "content",
- "disableScript",
- "restoreScript",
- "setGlobalEval",
- "refElements",
- "cloneCopyEvent",
- "dest",
- "oldData",
- "curData",
- "fixCloneNodeIssues",
- "defaultSelected",
- "dataAndEvents",
- "deepDataAndEvents",
- "destElements",
- "srcElements",
- "inPage",
- "buildFragment",
- "scripts",
- "selection",
- "wrap",
- "safe",
- "nodes",
- "createTextNode",
- "append",
- "domManip",
- "prepend",
- "insertBefore",
- "before",
- "after",
- "keepData",
- "html",
- "replaceWith",
- "replaceChild",
- "hasScripts",
- "set",
- "iNoClone",
- "_evalUrl",
- "appendTo",
- "prependTo",
- "insertAfter",
- "replaceAll",
- "insert",
- "iframe",
- "elemdisplay",
- "actualDisplay",
- "display",
- "getDefaultComputedStyle",
- "defaultDisplay",
- "write",
- "close",
- "shrinkWrapBlocksVal",
- "shrinkWrapBlocks",
- "width",
- "rmargin",
- "rnumnonpx",
- "getStyles",
- "curCSS",
- "rposition",
- "getComputedStyle",
- "opener",
- "computed",
- "minWidth",
- "maxWidth",
- "getPropertyValue",
- "currentStyle",
- "left",
- "rs",
- "rsLeft",
- "runtimeStyle",
- "pixelLeft",
- "addGetHookIf",
- "conditionFn",
- "hookFn",
- "condition",
- "pixelPositionVal",
- "boxSizingReliableVal",
- "reliableHiddenOffsetsVal",
- "reliableMarginRightVal",
- "opacity",
- "cssFloat",
- "backgroundClip",
- "clearCloneStyle",
- "boxSizing",
- "MozBoxSizing",
- "WebkitBoxSizing",
- "reliableHiddenOffsets",
- "computeStyleTests",
- "boxSizingReliable",
- "pixelPosition",
- "reliableMarginRight",
- "marginRight",
- "offsetHeight",
- "swap",
- "ralpha",
- "ropacity",
- "rdisplayswap",
- "rnumsplit",
- "rrelNum",
- "cssShow",
- "position",
- "visibility",
- "cssNormalTransform",
- "letterSpacing",
- "fontWeight",
- "cssPrefixes",
- "vendorPropName",
- "capName",
- "origName",
- "showHide",
- "show",
- "hidden",
- "setPositiveNumber",
- "subtract",
- "augmentWidthOrHeight",
- "extra",
- "isBorderBox",
- "styles",
- "getWidthOrHeight",
- "valueIsBorderBox",
- "cssHooks",
- "cssNumber",
- "columnCount",
- "fillOpacity",
- "flexGrow",
- "flexShrink",
- "lineHeight",
- "order",
- "orphans",
- "widows",
- "zIndex",
- "cssProps",
- "float",
- "$1",
- "margin",
- "padding",
- "border",
- "prefix",
- "suffix",
- "expand",
- "expanded",
- "parts",
- "hide",
- "toggle",
- "Tween",
- "easing",
- "unit",
- "propHooks",
- "run",
- "percent",
- "eased",
- "duration",
- "step",
- "tween",
- "fx",
- "linear",
- "p",
- "swing",
- "cos",
- "PI",
- "fxNow",
- "timerId",
- "rfxtypes",
- "rfxnum",
- "rrun",
- "animationPrefilters",
- "defaultPrefilter",
- "tweeners",
- "*",
- "createTween",
- "scale",
- "maxIterations",
- "createFxNow",
- "genFx",
- "includeWidth",
- "height",
- "animation",
- "collection",
- "opts",
- "oldfire",
- "checkDisplay",
- "anim",
- "dataShow",
- "unqueued",
- "overflow",
- "overflowX",
- "overflowY",
- "propFilter",
- "specialEasing",
- "Animation",
- "properties",
- "stopped",
- "tick",
- "currentTime",
- "startTime",
- "tweens",
- "originalProperties",
- "originalOptions",
- "gotoEnd",
- "rejectWith",
- "timer",
- "complete",
- "tweener",
- "prefilter",
- "speed",
- "opt",
- "speeds",
- "fadeTo",
- "to",
- "animate",
- "optall",
- "doAnimation",
- "finish",
- "stopQueue",
- "timers",
- "cssFn",
- "slideDown",
- "slideUp",
- "slideToggle",
- "fadeIn",
- "fadeOut",
- "fadeToggle",
- "interval",
- "setInterval",
- "clearInterval",
- "slow",
- "fast",
- "delay",
- "time",
- "timeout",
- "clearTimeout",
- "getSetAttribute",
- "hrefNormalized",
- "checkOn",
- "optSelected",
- "enctype",
- "optDisabled",
- "radioValue",
- "rreturn",
- "valHooks",
- "optionSet",
- "scrollHeight",
- "nodeHook",
- "boolHook",
- "ruseDefault",
- "getSetInput",
- "removeAttr",
- "nType",
- "attrHooks",
- "propName",
- "attrNames",
- "propFix",
- "getter",
- "setAttributeNode",
- "createAttribute",
- "coords",
- "contenteditable",
- "rfocusable",
- "rclickable",
- "removeProp",
- "for",
- "class",
- "notxml",
- "tabindex",
- "parseInt",
- "rclass",
- "addClass",
- "classes",
- "clazz",
- "finalValue",
- "proceed",
- "removeClass",
- "toggleClass",
- "stateVal",
- "classNames",
- "hasClass",
- "hover",
- "fnOver",
- "fnOut",
- "bind",
- "unbind",
- "delegate",
- "undelegate",
- "nonce",
- "rquery",
- "rvalidtokens",
- "JSON",
- "parse",
- "requireNonComma",
- "depth",
- "str",
- "comma",
- "open",
- "Function",
- "parseXML",
- "DOMParser",
- "parseFromString",
- "ActiveXObject",
- "async",
- "loadXML",
- "ajaxLocParts",
- "ajaxLocation",
- "rhash",
- "rts",
- "rheaders",
- "rlocalProtocol",
- "rnoContent",
- "rprotocol",
- "rurl",
- "prefilters",
- "transports",
- "allTypes",
- "addToPrefiltersOrTransports",
- "structure",
- "dataTypeExpression",
- "dataType",
- "dataTypes",
- "inspectPrefiltersOrTransports",
- "jqXHR",
- "inspected",
- "seekingTransport",
- "inspect",
- "prefilterOrFactory",
- "dataTypeOrTransport",
- "ajaxExtend",
- "flatOptions",
- "ajaxSettings",
- "ajaxHandleResponses",
- "s",
- "responses",
- "firstDataType",
- "ct",
- "finalDataType",
- "mimeType",
- "getResponseHeader",
- "converters",
- "ajaxConvert",
- "response",
- "isSuccess",
- "conv2",
- "current",
- "conv",
- "responseFields",
- "dataFilter",
- "active",
- "lastModified",
- "etag",
- "url",
- "isLocal",
- "processData",
- "contentType",
- "accepts",
- "json",
- "* text",
- "text html",
- "text json",
- "text xml",
- "ajaxSetup",
- "settings",
- "ajaxPrefilter",
- "ajaxTransport",
- "ajax",
- "cacheURL",
- "responseHeadersString",
- "timeoutTimer",
- "fireGlobals",
- "transport",
- "responseHeaders",
- "callbackContext",
- "globalEventContext",
- "completeDeferred",
- "statusCode",
- "requestHeaders",
- "requestHeadersNames",
- "strAbort",
- "getAllResponseHeaders",
- "setRequestHeader",
- "lname",
- "overrideMimeType",
- "code",
- "status",
- "abort",
- "statusText",
- "finalText",
- "success",
- "method",
- "crossDomain",
- "traditional",
- "hasContent",
- "ifModified",
- "headers",
- "beforeSend",
- "send",
- "nativeStatusText",
- "modified",
- "getJSON",
- "getScript",
- "throws",
- "wrapAll",
- "wrapInner",
- "unwrap",
- "visible",
- "r20",
- "rbracket",
- "rCRLF",
- "rsubmitterTypes",
- "rsubmittable",
- "buildParams",
- "v",
- "encodeURIComponent",
- "serialize",
- "serializeArray",
- "xhr",
- "createStandardXHR",
- "createActiveXHR",
- "xhrId",
- "xhrCallbacks",
- "xhrSupported",
- "cors",
- "username",
- "xhrFields",
- "isAbort",
- "onreadystatechange",
- "responseText",
- "XMLHttpRequest",
- "script",
- "text script",
- "head",
- "scriptCharset",
- "charset",
- "onload",
- "oldCallbacks",
- "rjsonp",
- "jsonp",
- "jsonpCallback",
- "originalSettings",
- "callbackName",
- "overwritten",
- "responseContainer",
- "jsonProp",
- "keepScripts",
- "parsed",
- "_load",
- "params",
- "animated",
- "getWindow",
- "offset",
- "setOffset",
- "curPosition",
- "curLeft",
- "curCSSTop",
- "curTop",
- "curOffset",
- "curCSSLeft",
- "calculatePosition",
- "curElem",
- "using",
- "win",
- "box",
- "getBoundingClientRect",
- "pageYOffset",
- "pageXOffset",
- "offsetParent",
- "parentOffset",
- "scrollTo",
- "Height",
- "Width",
- "defaultExtra",
- "funcName",
- "size",
- "andSelf",
- "define",
- "amd",
- "_jQuery",
- "_$",
- "$",
- "noConflict"
- ],
- "mappings": "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"
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-2.1.3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-2.1.3.js
deleted file mode 100644
index f4c0ed72..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-2.1.3.js
+++ /dev/null
@@ -1,9179 +0,0 @@
-/*!
- * jQuery JavaScript Library v2.1.3
- * http://jquery.com/
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- *
- * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
- * Released under the MIT license
- * http://jquery.org/license
- *
- * Date: 2014-12-18T15:11Z
- */
-
-(function (global, factory) {
-
- if (typeof module === "object" && typeof module.exports === "object") {
- // For CommonJS and CommonJS-like environments where a proper `window`
- // is present, execute the factory and get jQuery.
- // For environments that do not have a `window` with a `document`
- // (such as Node.js), expose a factory as module.exports.
- // This accentuates the need for the creation of a real `window`.
- // e.g. var jQuery = require("jquery")(window);
- // See ticket #14549 for more info.
- module.exports = global.document ?
- factory(global, true) :
- function (w) {
- if (!w.document) {
- throw new Error("jQuery requires a window with a document");
- }
- return factory(w);
- };
- } else {
- factory(global);
- }
-
-// Pass this if window is not defined yet
-}(typeof window !== "undefined" ? window : this, function (window, noGlobal) {
-
-// Support: Firefox 18+
-// Can't be in strict mode, several libs including ASP.NET trace
-// the stack via arguments.caller.callee and Firefox dies if
-// you try to trace through "use strict" call chains. (#13335)
-//
-
- var arr = [];
-
- var slice = arr.slice;
-
- var concat = arr.concat;
-
- var push = arr.push;
-
- var indexOf = arr.indexOf;
-
- var class2type = {};
-
- var toString = class2type.toString;
-
- var hasOwn = class2type.hasOwnProperty;
-
- var support = {};
-
-
- var
- // Use the correct document accordingly with window argument (sandbox)
- document = window.document,
-
- version = "2.1.3",
-
- // Define a local copy of jQuery
- jQuery = function (selector, context) {
- // The jQuery object is actually just the init constructor 'enhanced'
- // Need init if jQuery is called (just allow error to be thrown if not included)
- return new jQuery.fn.init(selector, context);
- },
-
- // Support: Android<4.1
- // Make sure we trim BOM and NBSP
- rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
-
- // Matches dashed string for camelizing
- rmsPrefix = /^-ms-/,
- rdashAlpha = /-([\da-z])/gi,
-
- // Used by jQuery.camelCase as callback to replace()
- fcamelCase = function (all, letter) {
- return letter.toUpperCase();
- };
-
- jQuery.fn = jQuery.prototype = {
- // The current version of jQuery being used
- jquery: version,
-
- constructor: jQuery,
-
- // Start with an empty selector
- selector: "",
-
- // The default length of a jQuery object is 0
- length: 0,
-
- toArray: function () {
- return slice.call(this);
- },
-
- // Get the Nth element in the matched element set OR
- // Get the whole matched element set as a clean array
- get: function (num) {
- return num != null ?
-
- // Return just the one element from the set
- ( num < 0 ? this[num + this.length] : this[num] ) :
-
- // Return all the elements in a clean array
- slice.call(this);
- },
-
- // Take an array of elements and push it onto the stack
- // (returning the new matched element set)
- pushStack: function (elems) {
-
- // Build a new jQuery matched element set
- var ret = jQuery.merge(this.constructor(), elems);
-
- // Add the old object onto the stack (as a reference)
- ret.prevObject = this;
- ret.context = this.context;
-
- // Return the newly-formed element set
- return ret;
- },
-
- // Execute a callback for every element in the matched set.
- // (You can seed the arguments with an array of args, but this is
- // only used internally.)
- each: function (callback, args) {
- return jQuery.each(this, callback, args);
- },
-
- map: function (callback) {
- return this.pushStack(jQuery.map(this, function (elem, i) {
- return callback.call(elem, i, elem);
- }));
- },
-
- slice: function () {
- return this.pushStack(slice.apply(this, arguments));
- },
-
- first: function () {
- return this.eq(0);
- },
-
- last: function () {
- return this.eq(-1);
- },
-
- eq: function (i) {
- var len = this.length,
- j = +i + ( i < 0 ? len : 0 );
- return this.pushStack(j >= 0 && j < len ? [this[j]] : []);
- },
-
- end: function () {
- return this.prevObject || this.constructor(null);
- },
-
- // For internal use only.
- // Behaves like an Array's method, not like a jQuery method.
- push: push,
- sort: arr.sort,
- splice: arr.splice
- };
-
- jQuery.extend = jQuery.fn.extend = function () {
- var options, name, src, copy, copyIsArray, clone,
- target = arguments[0] || {},
- i = 1,
- length = arguments.length,
- deep = false;
-
- // Handle a deep copy situation
- if (typeof target === "boolean") {
- deep = target;
-
- // Skip the boolean and the target
- target = arguments[i] || {};
- i++;
- }
-
- // Handle case when target is a string or something (possible in deep copy)
- if (typeof target !== "object" && !jQuery.isFunction(target)) {
- target = {};
- }
-
- // Extend jQuery itself if only one argument is passed
- if (i === length) {
- target = this;
- i--;
- }
-
- for (; i < length; i++) {
- // Only deal with non-null/undefined values
- if ((options = arguments[i]) != null) {
- // Extend the base object
- for (name in options) {
- src = target[name];
- copy = options[name];
-
- // Prevent never-ending loop
- if (target === copy) {
- continue;
- }
-
- // Recurse if we're merging plain objects or arrays
- if (deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) )) {
- if (copyIsArray) {
- copyIsArray = false;
- clone = src && jQuery.isArray(src) ? src : [];
-
- } else {
- clone = src && jQuery.isPlainObject(src) ? src : {};
- }
-
- // Never move original objects, clone them
- target[name] = jQuery.extend(deep, clone, copy);
-
- // Don't bring in undefined values
- } else if (copy !== undefined) {
- target[name] = copy;
- }
- }
- }
- }
-
- // Return the modified object
- return target;
- };
-
- jQuery.extend({
- // Unique for each copy of jQuery on the page
- expando: "jQuery" + ( version + Math.random() ).replace(/\D/g, ""),
-
- // Assume jQuery is ready without the ready module
- isReady: true,
-
- error: function (msg) {
- throw new Error(msg);
- },
-
- noop: function () {
- },
-
- isFunction: function (obj) {
- return jQuery.type(obj) === "function";
- },
-
- isArray: Array.isArray,
-
- isWindow: function (obj) {
- return obj != null && obj === obj.window;
- },
-
- isNumeric: function (obj) {
- // parseFloat NaNs numeric-cast false positives (null|true|false|"")
- // ...but misinterprets leading-number strings, particularly hex literals ("0x...")
- // subtraction forces infinities to NaN
- // adding 1 corrects loss of precision from parseFloat (#15100)
- return !jQuery.isArray(obj) && (obj - parseFloat(obj) + 1) >= 0;
- },
-
- isPlainObject: function (obj) {
- // Not plain objects:
- // - Any object or value whose internal [[Class]] property is not "[object Object]"
- // - DOM nodes
- // - window
- if (jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow(obj)) {
- return false;
- }
-
- if (obj.constructor && !hasOwn.call(obj.constructor.prototype, "isPrototypeOf")) {
- return false;
- }
-
- // If the function hasn't returned already, we're confident that
- // |obj| is a plain object, created by {} or constructed with new Object
- return true;
- },
-
- isEmptyObject: function (obj) {
- var name;
- for (name in obj) {
- return false;
- }
- return true;
- },
-
- type: function (obj) {
- if (obj == null) {
- return obj + "";
- }
- // Support: Android<4.0, iOS<6 (functionish RegExp)
- return typeof obj === "object" || typeof obj === "function" ?
- class2type[toString.call(obj)] || "object" :
- typeof obj;
- },
-
- // Evaluates a script in a global context
- globalEval: function (code) {
- var script,
- indirect = eval;
-
- code = jQuery.trim(code);
-
- if (code) {
- // If the code includes a valid, prologue position
- // strict mode pragma, execute code by injecting a
- // script tag into the document.
- if (code.indexOf("use strict") === 1) {
- script = document.createElement("script");
- script.text = code;
- document.head.appendChild(script).parentNode.removeChild(script);
- } else {
- // Otherwise, avoid the DOM node creation, insertion
- // and removal by using an indirect global eval
- indirect(code);
- }
- }
- },
-
- // Convert dashed to camelCase; used by the css and data modules
- // Support: IE9-11+
- // Microsoft forgot to hump their vendor prefix (#9572)
- camelCase: function (string) {
- return string.replace(rmsPrefix, "ms-").replace(rdashAlpha, fcamelCase);
- },
-
- nodeName: function (elem, name) {
- return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
- },
-
- // args is for internal usage only
- each: function (obj, callback, args) {
- var value,
- i = 0,
- length = obj.length,
- isArray = isArraylike(obj);
-
- if (args) {
- if (isArray) {
- for (; i < length; i++) {
- value = callback.apply(obj[i], args);
-
- if (value === false) {
- break;
- }
- }
- } else {
- for (i in obj) {
- value = callback.apply(obj[i], args);
-
- if (value === false) {
- break;
- }
- }
- }
-
- // A special, fast, case for the most common use of each
- } else {
- if (isArray) {
- for (; i < length; i++) {
- value = callback.call(obj[i], i, obj[i]);
-
- if (value === false) {
- break;
- }
- }
- } else {
- for (i in obj) {
- value = callback.call(obj[i], i, obj[i]);
-
- if (value === false) {
- break;
- }
- }
- }
- }
-
- return obj;
- },
-
- // Support: Android<4.1
- trim: function (text) {
- return text == null ?
- "" :
- ( text + "" ).replace(rtrim, "");
- },
-
- // results is for internal usage only
- makeArray: function (arr, results) {
- var ret = results || [];
-
- if (arr != null) {
- if (isArraylike(Object(arr))) {
- jQuery.merge(ret,
- typeof arr === "string" ?
- [arr] : arr
- );
- } else {
- push.call(ret, arr);
- }
- }
-
- return ret;
- },
-
- inArray: function (elem, arr, i) {
- return arr == null ? -1 : indexOf.call(arr, elem, i);
- },
-
- merge: function (first, second) {
- var len = +second.length,
- j = 0,
- i = first.length;
-
- for (; j < len; j++) {
- first[i++] = second[j];
- }
-
- first.length = i;
-
- return first;
- },
-
- grep: function (elems, callback, invert) {
- var callbackInverse,
- matches = [],
- i = 0,
- length = elems.length,
- callbackExpect = !invert;
-
- // Go through the array, only saving the items
- // that pass the validator function
- for (; i < length; i++) {
- callbackInverse = !callback(elems[i], i);
- if (callbackInverse !== callbackExpect) {
- matches.push(elems[i]);
- }
- }
-
- return matches;
- },
-
- // arg is for internal usage only
- map: function (elems, callback, arg) {
- var value,
- i = 0,
- length = elems.length,
- isArray = isArraylike(elems),
- ret = [];
-
- // Go through the array, translating each of the items to their new values
- if (isArray) {
- for (; i < length; i++) {
- value = callback(elems[i], i, arg);
-
- if (value != null) {
- ret.push(value);
- }
- }
-
- // Go through every key on the object,
- } else {
- for (i in elems) {
- value = callback(elems[i], i, arg);
-
- if (value != null) {
- ret.push(value);
- }
- }
- }
-
- // Flatten any nested arrays
- return concat.apply([], ret);
- },
-
- // A global GUID counter for objects
- guid: 1,
-
- // Bind a function to a context, optionally partially applying any
- // arguments.
- proxy: function (fn, context) {
- var tmp, args, proxy;
-
- if (typeof context === "string") {
- tmp = fn[context];
- context = fn;
- fn = tmp;
- }
-
- // Quick check to determine if target is callable, in the spec
- // this throws a TypeError, but we will just return undefined.
- if (!jQuery.isFunction(fn)) {
- return undefined;
- }
-
- // Simulated bind
- args = slice.call(arguments, 2);
- proxy = function () {
- return fn.apply(context || this, args.concat(slice.call(arguments)));
- };
-
- // Set the guid of unique handler to the same of original handler, so it can be removed
- proxy.guid = fn.guid = fn.guid || jQuery.guid++;
-
- return proxy;
- },
-
- now: Date.now,
-
- // jQuery.support is not used in Core but other projects attach their
- // properties to it so it needs to exist.
- support: support
- });
-
-// Populate the class2type map
- jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (i, name) {
- class2type["[object " + name + "]"] = name.toLowerCase();
- });
-
- function isArraylike(obj) {
- var length = obj.length,
- type = jQuery.type(obj);
-
- if (type === "function" || jQuery.isWindow(obj)) {
- return false;
- }
-
- if (obj.nodeType === 1 && length) {
- return true;
- }
-
- return type === "array" || length === 0 ||
- typeof length === "number" && length > 0 && ( length - 1 ) in obj;
- }
-
- var Sizzle =
- /*!
- * Sizzle CSS Selector Engine v2.2.0-pre
- * http://sizzlejs.com/
- *
- * Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors
- * Released under the MIT license
- * http://jquery.org/license
- *
- * Date: 2014-12-16
- */
- (function (window) {
-
- var i,
- support,
- Expr,
- getText,
- isXML,
- tokenize,
- compile,
- select,
- outermostContext,
- sortInput,
- hasDuplicate,
-
- // Local document vars
- setDocument,
- document,
- docElem,
- documentIsHTML,
- rbuggyQSA,
- rbuggyMatches,
- matches,
- contains,
-
- // Instance-specific data
- expando = "sizzle" + 1 * new Date(),
- preferredDoc = window.document,
- dirruns = 0,
- done = 0,
- classCache = createCache(),
- tokenCache = createCache(),
- compilerCache = createCache(),
- sortOrder = function (a, b) {
- if (a === b) {
- hasDuplicate = true;
- }
- return 0;
- },
-
- // General-purpose constants
- MAX_NEGATIVE = 1 << 31,
-
- // Instance methods
- hasOwn = ({}).hasOwnProperty,
- arr = [],
- pop = arr.pop,
- push_native = arr.push,
- push = arr.push,
- slice = arr.slice,
- // Use a stripped-down indexOf as it's faster than native
- // http://jsperf.com/thor-indexof-vs-for/5
- indexOf = function (list, elem) {
- var i = 0,
- len = list.length;
- for (; i < len; i++) {
- if (list[i] === elem) {
- return i;
- }
- }
- return -1;
- },
-
- booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
-
- // Regular expressions
-
- // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace
- whitespace = "[\\x20\\t\\r\\n\\f]",
- // http://www.w3.org/TR/css3-syntax/#characters
- characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
-
- // Loosely modeled on CSS identifier characters
- // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors
- // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
- identifier = characterEncoding.replace("w", "w#"),
-
- // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
- attributes = "\\[" + whitespace + "*(" + characterEncoding + ")(?:" + whitespace +
- // Operator (capture 2)
- "*([*^$|!~]?=)" + whitespace +
- // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
- "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace +
- "*\\]",
-
- pseudos = ":(" + characterEncoding + ")(?:\\((" +
- // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:
- // 1. quoted (capture 3; capture 4 or capture 5)
- "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" +
- // 2. simple (capture 6)
- "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" +
- // 3. anything else (capture 2)
- ".*" +
- ")\\)|)",
-
- // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
- rwhitespace = new RegExp(whitespace + "+", "g"),
- rtrim = new RegExp("^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g"),
-
- rcomma = new RegExp("^" + whitespace + "*," + whitespace + "*"),
- rcombinators = new RegExp("^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*"),
-
- rattributeQuotes = new RegExp("=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g"),
-
- rpseudo = new RegExp(pseudos),
- ridentifier = new RegExp("^" + identifier + "$"),
-
- matchExpr = {
- "ID": new RegExp("^#(" + characterEncoding + ")"),
- "CLASS": new RegExp("^\\.(" + characterEncoding + ")"),
- "TAG": new RegExp("^(" + characterEncoding.replace("w", "w*") + ")"),
- "ATTR": new RegExp("^" + attributes),
- "PSEUDO": new RegExp("^" + pseudos),
- "CHILD": new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +
- "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace +
- "*(\\d+)|))" + whitespace + "*\\)|)", "i"),
- "bool": new RegExp("^(?:" + booleans + ")$", "i"),
- // For use in libraries implementing .is()
- // We use this for POS matching in `select`
- "needsContext": new RegExp("^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
- whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i")
- },
-
- rinputs = /^(?:input|select|textarea|button)$/i,
- rheader = /^h\d$/i,
-
- rnative = /^[^{]+\{\s*\[native \w/,
-
- // Easily-parseable/retrievable ID or TAG or CLASS selectors
- rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
-
- rsibling = /[+~]/,
- rescape = /'|\\/g,
-
- // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
- runescape = new RegExp("\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig"),
- funescape = function (_, escaped, escapedWhitespace) {
- var high = "0x" + escaped - 0x10000;
- // NaN means non-codepoint
- // Support: Firefox<24
- // Workaround erroneous numeric interpretation of +"0x"
- return high !== high || escapedWhitespace ?
- escaped :
- high < 0 ?
- // BMP codepoint
- String.fromCharCode(high + 0x10000) :
- // Supplemental Plane codepoint (surrogate pair)
- String.fromCharCode(high >> 10 | 0xD800, high & 0x3FF | 0xDC00);
- },
-
- // Used for iframes
- // See setDocument()
- // Removing the function wrapper causes a "Permission Denied"
- // error in IE
- unloadHandler = function () {
- setDocument();
- };
-
-// Optimize for push.apply( _, NodeList )
- try {
- push.apply(
- (arr = slice.call(preferredDoc.childNodes)),
- preferredDoc.childNodes
- );
- // Support: Android<4.0
- // Detect silently failing push.apply
- arr[preferredDoc.childNodes.length].nodeType;
- } catch (e) {
- push = {
- apply: arr.length ?
-
- // Leverage slice if possible
- function (target, els) {
- push_native.apply(target, slice.call(els));
- } :
-
- // Support: IE<9
- // Otherwise append directly
- function (target, els) {
- var j = target.length,
- i = 0;
- // Can't trust NodeList.length
- while ((target[j++] = els[i++])) {
- }
- target.length = j - 1;
- }
- };
- }
-
- function Sizzle(selector, context, results, seed) {
- var match, elem, m, nodeType,
- // QSA vars
- i, groups, old, nid, newContext, newSelector;
-
- if (( context ? context.ownerDocument || context : preferredDoc ) !== document) {
- setDocument(context);
- }
-
- context = context || document;
- results = results || [];
- nodeType = context.nodeType;
-
- if (typeof selector !== "string" || !selector ||
- nodeType !== 1 && nodeType !== 9 && nodeType !== 11) {
-
- return results;
- }
-
- if (!seed && documentIsHTML) {
-
- // Try to shortcut find operations when possible (e.g., not under DocumentFragment)
- if (nodeType !== 11 && (match = rquickExpr.exec(selector))) {
- // Speed-up: Sizzle("#ID")
- if ((m = match[1])) {
- if (nodeType === 9) {
- elem = context.getElementById(m);
- // Check parentNode to catch when Blackberry 4.6 returns
- // nodes that are no longer in the document (jQuery #6963)
- if (elem && elem.parentNode) {
- // Handle the case where IE, Opera, and Webkit return items
- // by name instead of ID
- if (elem.id === m) {
- results.push(elem);
- return results;
- }
- } else {
- return results;
- }
- } else {
- // Context is not a document
- if (context.ownerDocument && (elem = context.ownerDocument.getElementById(m)) &&
- contains(context, elem) && elem.id === m) {
- results.push(elem);
- return results;
- }
- }
-
- // Speed-up: Sizzle("TAG")
- } else if (match[2]) {
- push.apply(results, context.getElementsByTagName(selector));
- return results;
-
- // Speed-up: Sizzle(".CLASS")
- } else if ((m = match[3]) && support.getElementsByClassName) {
- push.apply(results, context.getElementsByClassName(m));
- return results;
- }
- }
-
- // QSA path
- if (support.qsa && (!rbuggyQSA || !rbuggyQSA.test(selector))) {
- nid = old = expando;
- newContext = context;
- newSelector = nodeType !== 1 && selector;
-
- // qSA works strangely on Element-rooted queries
- // We can work around this by specifying an extra ID on the root
- // and working up from there (Thanks to Andrew Dupont for the technique)
- // IE 8 doesn't work on object elements
- if (nodeType === 1 && context.nodeName.toLowerCase() !== "object") {
- groups = tokenize(selector);
-
- if ((old = context.getAttribute("id"))) {
- nid = old.replace(rescape, "\\$&");
- } else {
- context.setAttribute("id", nid);
- }
- nid = "[id='" + nid + "'] ";
-
- i = groups.length;
- while (i--) {
- groups[i] = nid + toSelector(groups[i]);
- }
- newContext = rsibling.test(selector) && testContext(context.parentNode) || context;
- newSelector = groups.join(",");
- }
-
- if (newSelector) {
- try {
- push.apply(results,
- newContext.querySelectorAll(newSelector)
- );
- return results;
- } catch (qsaError) {
- } finally {
- if (!old) {
- context.removeAttribute("id");
- }
- }
- }
- }
- }
-
- // All others
- return select(selector.replace(rtrim, "$1"), context, results, seed);
- }
-
- /**
- * Create key-value caches of limited size
- * @returns {Function(string, Object)} Returns the Object data after storing it on itself with
- * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
- * deleting the oldest entry
- */
- function createCache() {
- var keys = [];
-
- function cache(key, value) {
- // Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
- if (keys.push(key + " ") > Expr.cacheLength) {
- // Only keep the most recent entries
- delete cache[keys.shift()];
- }
- return (cache[key + " "] = value);
- }
-
- return cache;
- }
-
- /**
- * Mark a function for special use by Sizzle
- * @param {Function} fn The function to mark
- */
- function markFunction(fn) {
- fn[expando] = true;
- return fn;
- }
-
- /**
- * Support testing using an element
- * @param {Function} fn Passed the created div and expects a boolean result
- */
- function assert(fn) {
- var div = document.createElement("div");
-
- try {
- return !!fn(div);
- } catch (e) {
- return false;
- } finally {
- // Remove from its parent by default
- if (div.parentNode) {
- div.parentNode.removeChild(div);
- }
- // release memory in IE
- div = null;
- }
- }
-
- /**
- * Adds the same handler for all of the specified attrs
- * @param {String} attrs Pipe-separated list of attributes
- * @param {Function} handler The method that will be applied
- */
- function addHandle(attrs, handler) {
- var arr = attrs.split("|"),
- i = attrs.length;
-
- while (i--) {
- Expr.attrHandle[arr[i]] = handler;
- }
- }
-
- /**
- * Checks document order of two siblings
- * @param {Element} a
- * @param {Element} b
- * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
- */
- function siblingCheck(a, b) {
- var cur = b && a,
- diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
- ( ~b.sourceIndex || MAX_NEGATIVE ) -
- ( ~a.sourceIndex || MAX_NEGATIVE );
-
- // Use IE sourceIndex if available on both nodes
- if (diff) {
- return diff;
- }
-
- // Check if b follows a
- if (cur) {
- while ((cur = cur.nextSibling)) {
- if (cur === b) {
- return -1;
- }
- }
- }
-
- return a ? 1 : -1;
- }
-
- /**
- * Returns a function to use in pseudos for input types
- * @param {String} type
- */
- function createInputPseudo(type) {
- return function (elem) {
- var name = elem.nodeName.toLowerCase();
- return name === "input" && elem.type === type;
- };
- }
-
- /**
- * Returns a function to use in pseudos for buttons
- * @param {String} type
- */
- function createButtonPseudo(type) {
- return function (elem) {
- var name = elem.nodeName.toLowerCase();
- return (name === "input" || name === "button") && elem.type === type;
- };
- }
-
- /**
- * Returns a function to use in pseudos for positionals
- * @param {Function} fn
- */
- function createPositionalPseudo(fn) {
- return markFunction(function (argument) {
- argument = +argument;
- return markFunction(function (seed, matches) {
- var j,
- matchIndexes = fn([], seed.length, argument),
- i = matchIndexes.length;
-
- // Match elements found at the specified indexes
- while (i--) {
- if (seed[(j = matchIndexes[i])]) {
- seed[j] = !(matches[j] = seed[j]);
- }
- }
- });
- });
- }
-
- /**
- * Checks a node for validity as a Sizzle context
- * @param {Element|Object=} context
- * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
- */
- function testContext(context) {
- return context && typeof context.getElementsByTagName !== "undefined" && context;
- }
-
-// Expose support vars for convenience
- support = Sizzle.support = {};
-
- /**
- * Detects XML nodes
- * @param {Element|Object} elem An element or a document
- * @returns {Boolean} True iff elem is a non-HTML XML node
- */
- isXML = Sizzle.isXML = function (elem) {
- // documentElement is verified for cases where it doesn't yet exist
- // (such as loading iframes in IE - #4833)
- var documentElement = elem && (elem.ownerDocument || elem).documentElement;
- return documentElement ? documentElement.nodeName !== "HTML" : false;
- };
-
- /**
- * Sets document-related variables once based on the current document
- * @param {Element|Object} [doc] An element or document object to use to set the document
- * @returns {Object} Returns the current document
- */
- setDocument = Sizzle.setDocument = function (node) {
- var hasCompare, parent,
- doc = node ? node.ownerDocument || node : preferredDoc;
-
- // If no document and documentElement is available, return
- if (doc === document || doc.nodeType !== 9 || !doc.documentElement) {
- return document;
- }
-
- // Set our document
- document = doc;
- docElem = doc.documentElement;
- parent = doc.defaultView;
-
- // Support: IE>8
- // If iframe document is assigned to "document" variable and if iframe has been reloaded,
- // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936
- // IE6-8 do not support the defaultView property so parent will be undefined
- if (parent && parent !== parent.top) {
- // IE11 does not have attachEvent, so all must suffer
- if (parent.addEventListener) {
- parent.addEventListener("unload", unloadHandler, false);
- } else if (parent.attachEvent) {
- parent.attachEvent("onunload", unloadHandler);
- }
- }
-
- /* Support tests
- ---------------------------------------------------------------------- */
- documentIsHTML = !isXML(doc);
-
- /* Attributes
- ---------------------------------------------------------------------- */
-
- // Support: IE<8
- // Verify that getAttribute really returns attributes and not properties
- // (excepting IE8 booleans)
- support.attributes = assert(function (div) {
- div.className = "i";
- return !div.getAttribute("className");
- });
-
- /* getElement(s)By*
- ---------------------------------------------------------------------- */
-
- // Check if getElementsByTagName("*") returns only elements
- support.getElementsByTagName = assert(function (div) {
- div.appendChild(doc.createComment(""));
- return !div.getElementsByTagName("*").length;
- });
-
- // Support: IE<9
- support.getElementsByClassName = rnative.test(doc.getElementsByClassName);
-
- // Support: IE<10
- // Check if getElementById returns elements by name
- // The broken getElementById methods don't pick up programatically-set names,
- // so use a roundabout getElementsByName test
- support.getById = assert(function (div) {
- docElem.appendChild(div).id = expando;
- return !doc.getElementsByName || !doc.getElementsByName(expando).length;
- });
-
- // ID find and filter
- if (support.getById) {
- Expr.find["ID"] = function (id, context) {
- if (typeof context.getElementById !== "undefined" && documentIsHTML) {
- var m = context.getElementById(id);
- // Check parentNode to catch when Blackberry 4.6 returns
- // nodes that are no longer in the document #6963
- return m && m.parentNode ? [m] : [];
- }
- };
- Expr.filter["ID"] = function (id) {
- var attrId = id.replace(runescape, funescape);
- return function (elem) {
- return elem.getAttribute("id") === attrId;
- };
- };
- } else {
- // Support: IE6/7
- // getElementById is not reliable as a find shortcut
- delete Expr.find["ID"];
-
- Expr.filter["ID"] = function (id) {
- var attrId = id.replace(runescape, funescape);
- return function (elem) {
- var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
- return node && node.value === attrId;
- };
- };
- }
-
- // Tag
- Expr.find["TAG"] = support.getElementsByTagName ?
- function (tag, context) {
- if (typeof context.getElementsByTagName !== "undefined") {
- return context.getElementsByTagName(tag);
-
- // DocumentFragment nodes don't have gEBTN
- } else if (support.qsa) {
- return context.querySelectorAll(tag);
- }
- } :
-
- function (tag, context) {
- var elem,
- tmp = [],
- i = 0,
- // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too
- results = context.getElementsByTagName(tag);
-
- // Filter out possible comments
- if (tag === "*") {
- while ((elem = results[i++])) {
- if (elem.nodeType === 1) {
- tmp.push(elem);
- }
- }
-
- return tmp;
- }
- return results;
- };
-
- // Class
- Expr.find["CLASS"] = support.getElementsByClassName && function (className, context) {
- if (documentIsHTML) {
- return context.getElementsByClassName(className);
- }
- };
-
- /* QSA/matchesSelector
- ---------------------------------------------------------------------- */
-
- // QSA and matchesSelector support
-
- // matchesSelector(:active) reports false when true (IE9/Opera 11.5)
- rbuggyMatches = [];
-
- // qSa(:focus) reports false when true (Chrome 21)
- // We allow this because of a bug in IE8/9 that throws an error
- // whenever `document.activeElement` is accessed on an iframe
- // So, we allow :focus to pass through QSA all the time to avoid the IE error
- // See http://bugs.jquery.com/ticket/13378
- rbuggyQSA = [];
-
- if ((support.qsa = rnative.test(doc.querySelectorAll))) {
- // Build QSA regex
- // Regex strategy adopted from Diego Perini
- assert(function (div) {
- // Select is set to empty string on purpose
- // This is to test IE's treatment of not explicitly
- // setting a boolean content attribute,
- // since its presence should be enough
- // http://bugs.jquery.com/ticket/12359
- docElem.appendChild(div).innerHTML = "<a id='" + expando + "'></a>" +
- "<select id='" + expando + "-\f]' msallowcapture=''>" +
- "<option selected=''></option></select>";
-
- // Support: IE8, Opera 11-12.16
- // Nothing should be selected when empty strings follow ^= or $= or *=
- // The test attribute must be unknown in Opera but "safe" for WinRT
- // http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section
- if (div.querySelectorAll("[msallowcapture^='']").length) {
- rbuggyQSA.push("[*^$]=" + whitespace + "*(?:''|\"\")");
- }
-
- // Support: IE8
- // Boolean attributes and "value" are not treated correctly
- if (!div.querySelectorAll("[selected]").length) {
- rbuggyQSA.push("\\[" + whitespace + "*(?:value|" + booleans + ")");
- }
-
- // Support: Chrome<29, Android<4.2+, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.7+
- if (!div.querySelectorAll("[id~=" + expando + "-]").length) {
- rbuggyQSA.push("~=");
- }
-
- // Webkit/Opera - :checked should return selected option elements
- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
- // IE8 throws error here and will not see later tests
- if (!div.querySelectorAll(":checked").length) {
- rbuggyQSA.push(":checked");
- }
-
- // Support: Safari 8+, iOS 8+
- // https://bugs.webkit.org/show_bug.cgi?id=136851
- // In-page `selector#id sibing-combinator selector` fails
- if (!div.querySelectorAll("a#" + expando + "+*").length) {
- rbuggyQSA.push(".#.+[+~]");
- }
- });
-
- assert(function (div) {
- // Support: Windows 8 Native Apps
- // The type and name attributes are restricted during .innerHTML assignment
- var input = doc.createElement("input");
- input.setAttribute("type", "hidden");
- div.appendChild(input).setAttribute("name", "D");
-
- // Support: IE8
- // Enforce case-sensitivity of name attribute
- if (div.querySelectorAll("[name=d]").length) {
- rbuggyQSA.push("name" + whitespace + "*[*^$|!~]?=");
- }
-
- // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
- // IE8 throws error here and will not see later tests
- if (!div.querySelectorAll(":enabled").length) {
- rbuggyQSA.push(":enabled", ":disabled");
- }
-
- // Opera 10-11 does not throw on post-comma invalid pseudos
- div.querySelectorAll("*,:x");
- rbuggyQSA.push(",.*:");
- });
- }
-
- if ((support.matchesSelector = rnative.test((matches = docElem.matches ||
- docElem.webkitMatchesSelector ||
- docElem.mozMatchesSelector ||
- docElem.oMatchesSelector ||
- docElem.msMatchesSelector)))) {
-
- assert(function (div) {
- // Check to see if it's possible to do matchesSelector
- // on a disconnected node (IE 9)
- support.disconnectedMatch = matches.call(div, "div");
-
- // This should fail with an exception
- // Gecko does not error, returns false instead
- matches.call(div, "[s!='']:x");
- rbuggyMatches.push("!=", pseudos);
- });
- }
-
- rbuggyQSA = rbuggyQSA.length && new RegExp(rbuggyQSA.join("|"));
- rbuggyMatches = rbuggyMatches.length && new RegExp(rbuggyMatches.join("|"));
-
- /* Contains
- ---------------------------------------------------------------------- */
- hasCompare = rnative.test(docElem.compareDocumentPosition);
-
- // Element contains another
- // Purposefully does not implement inclusive descendent
- // As in, an element does not contain itself
- contains = hasCompare || rnative.test(docElem.contains) ?
- function (a, b) {
- var adown = a.nodeType === 9 ? a.documentElement : a,
- bup = b && b.parentNode;
- return a === bup || !!( bup && bup.nodeType === 1 && (
- adown.contains ?
- adown.contains(bup) :
- a.compareDocumentPosition && a.compareDocumentPosition(bup) & 16
- ));
- } :
- function (a, b) {
- if (b) {
- while ((b = b.parentNode)) {
- if (b === a) {
- return true;
- }
- }
- }
- return false;
- };
-
- /* Sorting
- ---------------------------------------------------------------------- */
-
- // Document order sorting
- sortOrder = hasCompare ?
- function (a, b) {
-
- // Flag for duplicate removal
- if (a === b) {
- hasDuplicate = true;
- return 0;
- }
-
- // Sort on method existence if only one input has compareDocumentPosition
- var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;
- if (compare) {
- return compare;
- }
-
- // Calculate position if both inputs belong to the same document
- compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?
- a.compareDocumentPosition(b) :
-
- // Otherwise we know they are disconnected
- 1;
-
- // Disconnected nodes
- if (compare & 1 ||
- (!support.sortDetached && b.compareDocumentPosition(a) === compare)) {
-
- // Choose the first element that is related to our preferred document
- if (a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a)) {
- return -1;
- }
- if (b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b)) {
- return 1;
- }
-
- // Maintain original order
- return sortInput ?
- ( indexOf(sortInput, a) - indexOf(sortInput, b) ) :
- 0;
- }
-
- return compare & 4 ? -1 : 1;
- } :
- function (a, b) {
- // Exit early if the nodes are identical
- if (a === b) {
- hasDuplicate = true;
- return 0;
- }
-
- var cur,
- i = 0,
- aup = a.parentNode,
- bup = b.parentNode,
- ap = [a],
- bp = [b];
-
- // Parentless nodes are either documents or disconnected
- if (!aup || !bup) {
- return a === doc ? -1 :
- b === doc ? 1 :
- aup ? -1 :
- bup ? 1 :
- sortInput ?
- ( indexOf(sortInput, a) - indexOf(sortInput, b) ) :
- 0;
-
- // If the nodes are siblings, we can do a quick check
- } else if (aup === bup) {
- return siblingCheck(a, b);
- }
-
- // Otherwise we need full lists of their ancestors for comparison
- cur = a;
- while ((cur = cur.parentNode)) {
- ap.unshift(cur);
- }
- cur = b;
- while ((cur = cur.parentNode)) {
- bp.unshift(cur);
- }
-
- // Walk down the tree looking for a discrepancy
- while (ap[i] === bp[i]) {
- i++;
- }
-
- return i ?
- // Do a sibling check if the nodes have a common ancestor
- siblingCheck(ap[i], bp[i]) :
-
- // Otherwise nodes in our document sort first
- ap[i] === preferredDoc ? -1 :
- bp[i] === preferredDoc ? 1 :
- 0;
- };
-
- return doc;
- };
-
- Sizzle.matches = function (expr, elements) {
- return Sizzle(expr, null, null, elements);
- };
-
- Sizzle.matchesSelector = function (elem, expr) {
- // Set document vars if needed
- if (( elem.ownerDocument || elem ) !== document) {
- setDocument(elem);
- }
-
- // Make sure that attribute selectors are quoted
- expr = expr.replace(rattributeQuotes, "='$1']");
-
- if (support.matchesSelector && documentIsHTML &&
- ( !rbuggyMatches || !rbuggyMatches.test(expr) ) &&
- ( !rbuggyQSA || !rbuggyQSA.test(expr) )) {
-
- try {
- var ret = matches.call(elem, expr);
-
- // IE 9's matchesSelector returns false on disconnected nodes
- if (ret || support.disconnectedMatch ||
- // As well, disconnected nodes are said to be in a document
- // fragment in IE 9
- elem.document && elem.document.nodeType !== 11) {
- return ret;
- }
- } catch (e) {
- }
- }
-
- return Sizzle(expr, document, null, [elem]).length > 0;
- };
-
- Sizzle.contains = function (context, elem) {
- // Set document vars if needed
- if (( context.ownerDocument || context ) !== document) {
- setDocument(context);
- }
- return contains(context, elem);
- };
-
- Sizzle.attr = function (elem, name) {
- // Set document vars if needed
- if (( elem.ownerDocument || elem ) !== document) {
- setDocument(elem);
- }
-
- var fn = Expr.attrHandle[name.toLowerCase()],
- // Don't get fooled by Object.prototype properties (jQuery #13807)
- val = fn && hasOwn.call(Expr.attrHandle, name.toLowerCase()) ?
- fn(elem, name, !documentIsHTML) :
- undefined;
-
- return val !== undefined ?
- val :
- support.attributes || !documentIsHTML ?
- elem.getAttribute(name) :
- (val = elem.getAttributeNode(name)) && val.specified ?
- val.value :
- null;
- };
-
- Sizzle.error = function (msg) {
- throw new Error("Syntax error, unrecognized expression: " + msg);
- };
-
- /**
- * Document sorting and removing duplicates
- * @param {ArrayLike} results
- */
- Sizzle.uniqueSort = function (results) {
- var elem,
- duplicates = [],
- j = 0,
- i = 0;
-
- // Unless we *know* we can detect duplicates, assume their presence
- hasDuplicate = !support.detectDuplicates;
- sortInput = !support.sortStable && results.slice(0);
- results.sort(sortOrder);
-
- if (hasDuplicate) {
- while ((elem = results[i++])) {
- if (elem === results[i]) {
- j = duplicates.push(i);
- }
- }
- while (j--) {
- results.splice(duplicates[j], 1);
- }
- }
-
- // Clear input after sorting to release objects
- // See https://github.com/jquery/sizzle/pull/225
- sortInput = null;
-
- return results;
- };
-
- /**
- * Utility function for retrieving the text value of an array of DOM nodes
- * @param {Array|Element} elem
- */
- getText = Sizzle.getText = function (elem) {
- var node,
- ret = "",
- i = 0,
- nodeType = elem.nodeType;
-
- if (!nodeType) {
- // If no nodeType, this is expected to be an array
- while ((node = elem[i++])) {
- // Do not traverse comment nodes
- ret += getText(node);
- }
- } else if (nodeType === 1 || nodeType === 9 || nodeType === 11) {
- // Use textContent for elements
- // innerText usage removed for consistency of new lines (jQuery #11153)
- if (typeof elem.textContent === "string") {
- return elem.textContent;
- } else {
- // Traverse its children
- for (elem = elem.firstChild; elem; elem = elem.nextSibling) {
- ret += getText(elem);
- }
- }
- } else if (nodeType === 3 || nodeType === 4) {
- return elem.nodeValue;
- }
- // Do not include comment or processing instruction nodes
-
- return ret;
- };
-
- Expr = Sizzle.selectors = {
-
- // Can be adjusted by the user
- cacheLength: 50,
-
- createPseudo: markFunction,
-
- match: matchExpr,
-
- attrHandle: {},
-
- find: {},
-
- relative: {
- ">": {dir: "parentNode", first: true},
- " ": {dir: "parentNode"},
- "+": {dir: "previousSibling", first: true},
- "~": {dir: "previousSibling"}
- },
-
- preFilter: {
- "ATTR": function (match) {
- match[1] = match[1].replace(runescape, funescape);
-
- // Move the given value to match[3] whether quoted or unquoted
- match[3] = ( match[3] || match[4] || match[5] || "" ).replace(runescape, funescape);
-
- if (match[2] === "~=") {
- match[3] = " " + match[3] + " ";
- }
-
- return match.slice(0, 4);
- },
-
- "CHILD": function (match) {
- /* matches from matchExpr["CHILD"]
- 1 type (only|nth|...)
- 2 what (child|of-type)
- 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
- 4 xn-component of xn+y argument ([+-]?\d*n|)
- 5 sign of xn-component
- 6 x of xn-component
- 7 sign of y-component
- 8 y of y-component
- */
- match[1] = match[1].toLowerCase();
-
- if (match[1].slice(0, 3) === "nth") {
- // nth-* requires argument
- if (!match[3]) {
- Sizzle.error(match[0]);
- }
-
- // numeric x and y parameters for Expr.filter.CHILD
- // remember that false/true cast respectively to 0/1
- match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) );
- match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" );
-
- // other types prohibit arguments
- } else if (match[3]) {
- Sizzle.error(match[0]);
- }
-
- return match;
- },
-
- "PSEUDO": function (match) {
- var excess,
- unquoted = !match[6] && match[2];
-
- if (matchExpr["CHILD"].test(match[0])) {
- return null;
- }
-
- // Accept quoted arguments as-is
- if (match[3]) {
- match[2] = match[4] || match[5] || "";
-
- // Strip excess characters from unquoted arguments
- } else if (unquoted && rpseudo.test(unquoted) &&
- // Get excess from tokenize (recursively)
- (excess = tokenize(unquoted, true)) &&
- // advance to the next closing parenthesis
- (excess = unquoted.indexOf(")", unquoted.length - excess) - unquoted.length)) {
-
- // excess is a negative index
- match[0] = match[0].slice(0, excess);
- match[2] = unquoted.slice(0, excess);
- }
-
- // Return only captures needed by the pseudo filter method (type and argument)
- return match.slice(0, 3);
- }
- },
-
- filter: {
-
- "TAG": function (nodeNameSelector) {
- var nodeName = nodeNameSelector.replace(runescape, funescape).toLowerCase();
- return nodeNameSelector === "*" ?
- function () {
- return true;
- } :
- function (elem) {
- return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
- };
- },
-
- "CLASS": function (className) {
- var pattern = classCache[className + " "];
-
- return pattern ||
- (pattern = new RegExp("(^|" + whitespace + ")" + className + "(" + whitespace + "|$)")) &&
- classCache(className, function (elem) {
- return pattern.test(typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "");
- });
- },
-
- "ATTR": function (name, operator, check) {
- return function (elem) {
- var result = Sizzle.attr(elem, name);
-
- if (result == null) {
- return operator === "!=";
- }
- if (!operator) {
- return true;
- }
-
- result += "";
-
- return operator === "=" ? result === check :
- operator === "!=" ? result !== check :
- operator === "^=" ? check && result.indexOf(check) === 0 :
- operator === "*=" ? check && result.indexOf(check) > -1 :
- operator === "$=" ? check && result.slice(-check.length) === check :
- operator === "~=" ? ( " " + result.replace(rwhitespace, " ") + " " ).indexOf(check) > -1 :
- operator === "|=" ? result === check || result.slice(0, check.length + 1) === check + "-" :
- false;
- };
- },
-
- "CHILD": function (type, what, argument, first, last) {
- var simple = type.slice(0, 3) !== "nth",
- forward = type.slice(-4) !== "last",
- ofType = what === "of-type";
-
- return first === 1 && last === 0 ?
-
- // Shortcut for :nth-*(n)
- function (elem) {
- return !!elem.parentNode;
- } :
-
- function (elem, context, xml) {
- var cache, outerCache, node, diff, nodeIndex, start,
- dir = simple !== forward ? "nextSibling" : "previousSibling",
- parent = elem.parentNode,
- name = ofType && elem.nodeName.toLowerCase(),
- useCache = !xml && !ofType;
-
- if (parent) {
-
- // :(first|last|only)-(child|of-type)
- if (simple) {
- while (dir) {
- node = elem;
- while ((node = node[dir])) {
- if (ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1) {
- return false;
- }
- }
- // Reverse direction for :only-* (if we haven't yet done so)
- start = dir = type === "only" && !start && "nextSibling";
- }
- return true;
- }
-
- start = [forward ? parent.firstChild : parent.lastChild];
-
- // non-xml :nth-child(...) stores cache data on `parent`
- if (forward && useCache) {
- // Seek `elem` from a previously-cached index
- outerCache = parent[expando] || (parent[expando] = {});
- cache = outerCache[type] || [];
- nodeIndex = cache[0] === dirruns && cache[1];
- diff = cache[0] === dirruns && cache[2];
- node = nodeIndex && parent.childNodes[nodeIndex];
-
- while ((node = ++nodeIndex && node && node[dir] ||
-
- // Fallback to seeking `elem` from the start
- (diff = nodeIndex = 0) || start.pop())) {
-
- // When found, cache indexes on `parent` and break
- if (node.nodeType === 1 && ++diff && node === elem) {
- outerCache[type] = [dirruns, nodeIndex, diff];
- break;
- }
- }
-
- // Use previously-cached element index if available
- } else if (useCache && (cache = (elem[expando] || (elem[expando] = {}))[type]) && cache[0] === dirruns) {
- diff = cache[1];
-
- // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)
- } else {
- // Use the same loop as above to seek `elem` from the start
- while ((node = ++nodeIndex && node && node[dir] ||
- (diff = nodeIndex = 0) || start.pop())) {
-
- if (( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff) {
- // Cache the index of each encountered element
- if (useCache) {
- (node[expando] || (node[expando] = {}))[type] = [dirruns, diff];
- }
-
- if (node === elem) {
- break;
- }
- }
- }
- }
-
- // Incorporate the offset, then check against cycle size
- diff -= last;
- return diff === first || ( diff % first === 0 && diff / first >= 0 );
- }
- };
- },
-
- "PSEUDO": function (pseudo, argument) {
- // pseudo-class names are case-insensitive
- // http://www.w3.org/TR/selectors/#pseudo-classes
- // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
- // Remember that setFilters inherits from pseudos
- var args,
- fn = Expr.pseudos[pseudo] || Expr.setFilters[pseudo.toLowerCase()] ||
- Sizzle.error("unsupported pseudo: " + pseudo);
-
- // The user may use createPseudo to indicate that
- // arguments are needed to create the filter function
- // just as Sizzle does
- if (fn[expando]) {
- return fn(argument);
- }
-
- // But maintain support for old signatures
- if (fn.length > 1) {
- args = [pseudo, pseudo, "", argument];
- return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ?
- markFunction(function (seed, matches) {
- var idx,
- matched = fn(seed, argument),
- i = matched.length;
- while (i--) {
- idx = indexOf(seed, matched[i]);
- seed[idx] = !( matches[idx] = matched[i] );
- }
- }) :
- function (elem) {
- return fn(elem, 0, args);
- };
- }
-
- return fn;
- }
- },
-
- pseudos: {
- // Potentially complex pseudos
- "not": markFunction(function (selector) {
- // Trim the selector passed to compile
- // to avoid treating leading and trailing
- // spaces as combinators
- var input = [],
- results = [],
- matcher = compile(selector.replace(rtrim, "$1"));
-
- return matcher[expando] ?
- markFunction(function (seed, matches, context, xml) {
- var elem,
- unmatched = matcher(seed, null, xml, []),
- i = seed.length;
-
- // Match elements unmatched by `matcher`
- while (i--) {
- if ((elem = unmatched[i])) {
- seed[i] = !(matches[i] = elem);
- }
- }
- }) :
- function (elem, context, xml) {
- input[0] = elem;
- matcher(input, null, xml, results);
- // Don't keep the element (issue #299)
- input[0] = null;
- return !results.pop();
- };
- }),
-
- "has": markFunction(function (selector) {
- return function (elem) {
- return Sizzle(selector, elem).length > 0;
- };
- }),
-
- "contains": markFunction(function (text) {
- text = text.replace(runescape, funescape);
- return function (elem) {
- return ( elem.textContent || elem.innerText || getText(elem) ).indexOf(text) > -1;
- };
- }),
-
- // "Whether an element is represented by a :lang() selector
- // is based solely on the element's language value
- // being equal to the identifier C,
- // or beginning with the identifier C immediately followed by "-".
- // The matching of C against the element's language value is performed case-insensitively.
- // The identifier C does not have to be a valid language name."
- // http://www.w3.org/TR/selectors/#lang-pseudo
- "lang": markFunction(function (lang) {
- // lang value must be a valid identifier
- if (!ridentifier.test(lang || "")) {
- Sizzle.error("unsupported lang: " + lang);
- }
- lang = lang.replace(runescape, funescape).toLowerCase();
- return function (elem) {
- var elemLang;
- do {
- if ((elemLang = documentIsHTML ?
- elem.lang :
- elem.getAttribute("xml:lang") || elem.getAttribute("lang"))) {
-
- elemLang = elemLang.toLowerCase();
- return elemLang === lang || elemLang.indexOf(lang + "-") === 0;
- }
- } while ((elem = elem.parentNode) && elem.nodeType === 1);
- return false;
- };
- }),
-
- // Miscellaneous
- "target": function (elem) {
- var hash = window.location && window.location.hash;
- return hash && hash.slice(1) === elem.id;
- },
-
- "root": function (elem) {
- return elem === docElem;
- },
-
- "focus": function (elem) {
- return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);
- },
-
- // Boolean properties
- "enabled": function (elem) {
- return elem.disabled === false;
- },
-
- "disabled": function (elem) {
- return elem.disabled === true;
- },
-
- "checked": function (elem) {
- // In CSS3, :checked should return both checked and selected elements
- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
- var nodeName = elem.nodeName.toLowerCase();
- return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);
- },
-
- "selected": function (elem) {
- // Accessing this property makes selected-by-default
- // options in Safari work properly
- if (elem.parentNode) {
- elem.parentNode.selectedIndex;
- }
-
- return elem.selected === true;
- },
-
- // Contents
- "empty": function (elem) {
- // http://www.w3.org/TR/selectors/#empty-pseudo
- // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
- // but not by others (comment: 8; processing instruction: 7; etc.)
- // nodeType < 6 works because attributes (2) do not appear as children
- for (elem = elem.firstChild; elem; elem = elem.nextSibling) {
- if (elem.nodeType < 6) {
- return false;
- }
- }
- return true;
- },
-
- "parent": function (elem) {
- return !Expr.pseudos["empty"](elem);
- },
-
- // Element/input types
- "header": function (elem) {
- return rheader.test(elem.nodeName);
- },
-
- "input": function (elem) {
- return rinputs.test(elem.nodeName);
- },
-
- "button": function (elem) {
- var name = elem.nodeName.toLowerCase();
- return name === "input" && elem.type === "button" || name === "button";
- },
-
- "text": function (elem) {
- var attr;
- return elem.nodeName.toLowerCase() === "input" &&
- elem.type === "text" &&
-
- // Support: IE<8
- // New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
- ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" );
- },
-
- // Position-in-collection
- "first": createPositionalPseudo(function () {
- return [0];
- }),
-
- "last": createPositionalPseudo(function (matchIndexes, length) {
- return [length - 1];
- }),
-
- "eq": createPositionalPseudo(function (matchIndexes, length, argument) {
- return [argument < 0 ? argument + length : argument];
- }),
-
- "even": createPositionalPseudo(function (matchIndexes, length) {
- var i = 0;
- for (; i < length; i += 2) {
- matchIndexes.push(i);
- }
- return matchIndexes;
- }),
-
- "odd": createPositionalPseudo(function (matchIndexes, length) {
- var i = 1;
- for (; i < length; i += 2) {
- matchIndexes.push(i);
- }
- return matchIndexes;
- }),
-
- "lt": createPositionalPseudo(function (matchIndexes, length, argument) {
- var i = argument < 0 ? argument + length : argument;
- for (; --i >= 0;) {
- matchIndexes.push(i);
- }
- return matchIndexes;
- }),
-
- "gt": createPositionalPseudo(function (matchIndexes, length, argument) {
- var i = argument < 0 ? argument + length : argument;
- for (; ++i < length;) {
- matchIndexes.push(i);
- }
- return matchIndexes;
- })
- }
- };
-
- Expr.pseudos["nth"] = Expr.pseudos["eq"];
-
-// Add button/input type pseudos
- for (i in {radio: true, checkbox: true, file: true, password: true, image: true}) {
- Expr.pseudos[i] = createInputPseudo(i);
- }
- for (i in {submit: true, reset: true}) {
- Expr.pseudos[i] = createButtonPseudo(i);
- }
-
-// Easy API for creating new setFilters
- function setFilters() {
- }
-
- setFilters.prototype = Expr.filters = Expr.pseudos;
- Expr.setFilters = new setFilters();
-
- tokenize = Sizzle.tokenize = function (selector, parseOnly) {
- var matched, match, tokens, type,
- soFar, groups, preFilters,
- cached = tokenCache[selector + " "];
-
- if (cached) {
- return parseOnly ? 0 : cached.slice(0);
- }
-
- soFar = selector;
- groups = [];
- preFilters = Expr.preFilter;
-
- while (soFar) {
-
- // Comma and first run
- if (!matched || (match = rcomma.exec(soFar))) {
- if (match) {
- // Don't consume trailing commas as valid
- soFar = soFar.slice(match[0].length) || soFar;
- }
- groups.push((tokens = []));
- }
-
- matched = false;
-
- // Combinators
- if ((match = rcombinators.exec(soFar))) {
- matched = match.shift();
- tokens.push({
- value: matched,
- // Cast descendant combinators to space
- type: match[0].replace(rtrim, " ")
- });
- soFar = soFar.slice(matched.length);
- }
-
- // Filters
- for (type in Expr.filter) {
- if ((match = matchExpr[type].exec(soFar)) && (!preFilters[type] ||
- (match = preFilters[type](match)))) {
- matched = match.shift();
- tokens.push({
- value: matched,
- type: type,
- matches: match
- });
- soFar = soFar.slice(matched.length);
- }
- }
-
- if (!matched) {
- break;
- }
- }
-
- // Return the length of the invalid excess
- // if we're just parsing
- // Otherwise, throw an error or return tokens
- return parseOnly ?
- soFar.length :
- soFar ?
- Sizzle.error(selector) :
- // Cache the tokens
- tokenCache(selector, groups).slice(0);
- };
-
- function toSelector(tokens) {
- var i = 0,
- len = tokens.length,
- selector = "";
- for (; i < len; i++) {
- selector += tokens[i].value;
- }
- return selector;
- }
-
- function addCombinator(matcher, combinator, base) {
- var dir = combinator.dir,
- checkNonElements = base && dir === "parentNode",
- doneName = done++;
-
- return combinator.first ?
- // Check against closest ancestor/preceding element
- function (elem, context, xml) {
- while ((elem = elem[dir])) {
- if (elem.nodeType === 1 || checkNonElements) {
- return matcher(elem, context, xml);
- }
- }
- } :
-
- // Check against all ancestor/preceding elements
- function (elem, context, xml) {
- var oldCache, outerCache,
- newCache = [dirruns, doneName];
-
- // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching
- if (xml) {
- while ((elem = elem[dir])) {
- if (elem.nodeType === 1 || checkNonElements) {
- if (matcher(elem, context, xml)) {
- return true;
- }
- }
- }
- } else {
- while ((elem = elem[dir])) {
- if (elem.nodeType === 1 || checkNonElements) {
- outerCache = elem[expando] || (elem[expando] = {});
- if ((oldCache = outerCache[dir]) &&
- oldCache[0] === dirruns && oldCache[1] === doneName) {
-
- // Assign to newCache so results back-propagate to previous elements
- return (newCache[2] = oldCache[2]);
- } else {
- // Reuse newcache so results back-propagate to previous elements
- outerCache[dir] = newCache;
-
- // A match means we're done; a fail means we have to keep checking
- if ((newCache[2] = matcher(elem, context, xml))) {
- return true;
- }
- }
- }
- }
- }
- };
- }
-
- function elementMatcher(matchers) {
- return matchers.length > 1 ?
- function (elem, context, xml) {
- var i = matchers.length;
- while (i--) {
- if (!matchers[i](elem, context, xml)) {
- return false;
- }
- }
- return true;
- } :
- matchers[0];
- }
-
- function multipleContexts(selector, contexts, results) {
- var i = 0,
- len = contexts.length;
- for (; i < len; i++) {
- Sizzle(selector, contexts[i], results);
- }
- return results;
- }
-
- function condense(unmatched, map, filter, context, xml) {
- var elem,
- newUnmatched = [],
- i = 0,
- len = unmatched.length,
- mapped = map != null;
-
- for (; i < len; i++) {
- if ((elem = unmatched[i])) {
- if (!filter || filter(elem, context, xml)) {
- newUnmatched.push(elem);
- if (mapped) {
- map.push(i);
- }
- }
- }
- }
-
- return newUnmatched;
- }
-
- function setMatcher(preFilter, selector, matcher, postFilter, postFinder, postSelector) {
- if (postFilter && !postFilter[expando]) {
- postFilter = setMatcher(postFilter);
- }
- if (postFinder && !postFinder[expando]) {
- postFinder = setMatcher(postFinder, postSelector);
- }
- return markFunction(function (seed, results, context, xml) {
- var temp, i, elem,
- preMap = [],
- postMap = [],
- preexisting = results.length,
-
- // Get initial elements from seed or context
- elems = seed || multipleContexts(selector || "*", context.nodeType ? [context] : context, []),
-
- // Prefilter to get matcher input, preserving a map for seed-results synchronization
- matcherIn = preFilter && ( seed || !selector ) ?
- condense(elems, preMap, preFilter, context, xml) :
- elems,
-
- matcherOut = matcher ?
- // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
- postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
-
- // ...intermediate processing is necessary
- [] :
-
- // ...otherwise use results directly
- results :
- matcherIn;
-
- // Find primary matches
- if (matcher) {
- matcher(matcherIn, matcherOut, context, xml);
- }
-
- // Apply postFilter
- if (postFilter) {
- temp = condense(matcherOut, postMap);
- postFilter(temp, [], context, xml);
-
- // Un-match failing elements by moving them back to matcherIn
- i = temp.length;
- while (i--) {
- if ((elem = temp[i])) {
- matcherOut[postMap[i]] = !(matcherIn[postMap[i]] = elem);
- }
- }
- }
-
- if (seed) {
- if (postFinder || preFilter) {
- if (postFinder) {
- // Get the final matcherOut by condensing this intermediate into postFinder contexts
- temp = [];
- i = matcherOut.length;
- while (i--) {
- if ((elem = matcherOut[i])) {
- // Restore matcherIn since elem is not yet a final match
- temp.push((matcherIn[i] = elem));
- }
- }
- postFinder(null, (matcherOut = []), temp, xml);
- }
-
- // Move matched elements from seed to results to keep them synchronized
- i = matcherOut.length;
- while (i--) {
- if ((elem = matcherOut[i]) &&
- (temp = postFinder ? indexOf(seed, elem) : preMap[i]) > -1) {
-
- seed[temp] = !(results[temp] = elem);
- }
- }
- }
-
- // Add elements to results, through postFinder if defined
- } else {
- matcherOut = condense(
- matcherOut === results ?
- matcherOut.splice(preexisting, matcherOut.length) :
- matcherOut
- );
- if (postFinder) {
- postFinder(null, results, matcherOut, xml);
- } else {
- push.apply(results, matcherOut);
- }
- }
- });
- }
-
- function matcherFromTokens(tokens) {
- var checkContext, matcher, j,
- len = tokens.length,
- leadingRelative = Expr.relative[tokens[0].type],
- implicitRelative = leadingRelative || Expr.relative[" "],
- i = leadingRelative ? 1 : 0,
-
- // The foundational matcher ensures that elements are reachable from top-level context(s)
- matchContext = addCombinator(function (elem) {
- return elem === checkContext;
- }, implicitRelative, true),
- matchAnyContext = addCombinator(function (elem) {
- return indexOf(checkContext, elem) > -1;
- }, implicitRelative, true),
- matchers = [function (elem, context, xml) {
- var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
- (checkContext = context).nodeType ?
- matchContext(elem, context, xml) :
- matchAnyContext(elem, context, xml) );
- // Avoid hanging onto element (issue #299)
- checkContext = null;
- return ret;
- }];
-
- for (; i < len; i++) {
- if ((matcher = Expr.relative[tokens[i].type])) {
- matchers = [addCombinator(elementMatcher(matchers), matcher)];
- } else {
- matcher = Expr.filter[tokens[i].type].apply(null, tokens[i].matches);
-
- // Return special upon seeing a positional matcher
- if (matcher[expando]) {
- // Find the next relative operator (if any) for proper handling
- j = ++i;
- for (; j < len; j++) {
- if (Expr.relative[tokens[j].type]) {
- break;
- }
- }
- return setMatcher(
- i > 1 && elementMatcher(matchers),
- i > 1 && toSelector(
- // If the preceding token was a descendant combinator, insert an implicit any-element `*`
- tokens.slice(0, i - 1).concat({value: tokens[i - 2].type === " " ? "*" : ""})
- ).replace(rtrim, "$1"),
- matcher,
- i < j && matcherFromTokens(tokens.slice(i, j)),
- j < len && matcherFromTokens((tokens = tokens.slice(j))),
- j < len && toSelector(tokens)
- );
- }
- matchers.push(matcher);
- }
- }
-
- return elementMatcher(matchers);
- }
-
- function matcherFromGroupMatchers(elementMatchers, setMatchers) {
- var bySet = setMatchers.length > 0,
- byElement = elementMatchers.length > 0,
- superMatcher = function (seed, context, xml, results, outermost) {
- var elem, j, matcher,
- matchedCount = 0,
- i = "0",
- unmatched = seed && [],
- setMatched = [],
- contextBackup = outermostContext,
- // We must always have either seed elements or outermost context
- elems = seed || byElement && Expr.find["TAG"]("*", outermost),
- // Use integer dirruns iff this is the outermost matcher
- dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),
- len = elems.length;
-
- if (outermost) {
- outermostContext = context !== document && context;
- }
-
- // Add elements passing elementMatchers directly to results
- // Keep `i` a string if there are no elements so `matchedCount` will be "00" below
- // Support: IE<9, Safari
- // Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id
- for (; i !== len && (elem = elems[i]) != null; i++) {
- if (byElement && elem) {
- j = 0;
- while ((matcher = elementMatchers[j++])) {
- if (matcher(elem, context, xml)) {
- results.push(elem);
- break;
- }
- }
- if (outermost) {
- dirruns = dirrunsUnique;
- }
- }
-
- // Track unmatched elements for set filters
- if (bySet) {
- // They will have gone through all possible matchers
- if ((elem = !matcher && elem)) {
- matchedCount--;
- }
-
- // Lengthen the array for every element, matched or not
- if (seed) {
- unmatched.push(elem);
- }
- }
- }
-
- // Apply set filters to unmatched elements
- matchedCount += i;
- if (bySet && i !== matchedCount) {
- j = 0;
- while ((matcher = setMatchers[j++])) {
- matcher(unmatched, setMatched, context, xml);
- }
-
- if (seed) {
- // Reintegrate element matches to eliminate the need for sorting
- if (matchedCount > 0) {
- while (i--) {
- if (!(unmatched[i] || setMatched[i])) {
- setMatched[i] = pop.call(results);
- }
- }
- }
-
- // Discard index placeholder values to get only actual matches
- setMatched = condense(setMatched);
- }
-
- // Add matches to results
- push.apply(results, setMatched);
-
- // Seedless set matches succeeding multiple successful matchers stipulate sorting
- if (outermost && !seed && setMatched.length > 0 &&
- ( matchedCount + setMatchers.length ) > 1) {
-
- Sizzle.uniqueSort(results);
- }
- }
-
- // Override manipulation of globals by nested matchers
- if (outermost) {
- dirruns = dirrunsUnique;
- outermostContext = contextBackup;
- }
-
- return unmatched;
- };
-
- return bySet ?
- markFunction(superMatcher) :
- superMatcher;
- }
-
- compile = Sizzle.compile = function (selector, match /* Internal Use Only */) {
- var i,
- setMatchers = [],
- elementMatchers = [],
- cached = compilerCache[selector + " "];
-
- if (!cached) {
- // Generate a function of recursive functions that can be used to check each element
- if (!match) {
- match = tokenize(selector);
- }
- i = match.length;
- while (i--) {
- cached = matcherFromTokens(match[i]);
- if (cached[expando]) {
- setMatchers.push(cached);
- } else {
- elementMatchers.push(cached);
- }
- }
-
- // Cache the compiled function
- cached = compilerCache(selector, matcherFromGroupMatchers(elementMatchers, setMatchers));
-
- // Save selector and tokenization
- cached.selector = selector;
- }
- return cached;
- };
-
- /**
- * A low-level selection function that works with Sizzle's compiled
- * selector functions
- * @param {String|Function} selector A selector or a pre-compiled
- * selector function built with Sizzle.compile
- * @param {Element} context
- * @param {Array} [results]
- * @param {Array} [seed] A set of elements to match against
- */
- select = Sizzle.select = function (selector, context, results, seed) {
- var i, tokens, token, type, find,
- compiled = typeof selector === "function" && selector,
- match = !seed && tokenize((selector = compiled.selector || selector));
-
- results = results || [];
-
- // Try to minimize operations if there is no seed and only one group
- if (match.length === 1) {
-
- // Take a shortcut and set the context if the root selector is an ID
- tokens = match[0] = match[0].slice(0);
- if (tokens.length > 2 && (token = tokens[0]).type === "ID" &&
- support.getById && context.nodeType === 9 && documentIsHTML &&
- Expr.relative[tokens[1].type]) {
-
- context = ( Expr.find["ID"](token.matches[0].replace(runescape, funescape), context) || [] )[0];
- if (!context) {
- return results;
-
- // Precompiled matchers will still verify ancestry, so step up a level
- } else if (compiled) {
- context = context.parentNode;
- }
-
- selector = selector.slice(tokens.shift().value.length);
- }
-
- // Fetch a seed set for right-to-left matching
- i = matchExpr["needsContext"].test(selector) ? 0 : tokens.length;
- while (i--) {
- token = tokens[i];
-
- // Abort if we hit a combinator
- if (Expr.relative[(type = token.type)]) {
- break;
- }
- if ((find = Expr.find[type])) {
- // Search, expanding context for leading sibling combinators
- if ((seed = find(
- token.matches[0].replace(runescape, funescape),
- rsibling.test(tokens[0].type) && testContext(context.parentNode) || context
- ))) {
-
- // If seed is empty or no tokens remain, we can return early
- tokens.splice(i, 1);
- selector = seed.length && toSelector(tokens);
- if (!selector) {
- push.apply(results, seed);
- return results;
- }
-
- break;
- }
- }
- }
- }
-
- // Compile and execute a filtering function if one is not provided
- // Provide `match` to avoid retokenization if we modified the selector above
- ( compiled || compile(selector, match) )(
- seed,
- context,
- !documentIsHTML,
- results,
- rsibling.test(selector) && testContext(context.parentNode) || context
- );
- return results;
- };
-
-// One-time assignments
-
-// Sort stability
- support.sortStable = expando.split("").sort(sortOrder).join("") === expando;
-
-// Support: Chrome 14-35+
-// Always assume duplicates if they aren't passed to the comparison function
- support.detectDuplicates = !!hasDuplicate;
-
-// Initialize against the default document
- setDocument();
-
-// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
-// Detached nodes confoundingly follow *each other*
- support.sortDetached = assert(function (div1) {
- // Should return 1, but returns 4 (following)
- return div1.compareDocumentPosition(document.createElement("div")) & 1;
- });
-
-// Support: IE<8
-// Prevent attribute/property "interpolation"
-// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
- if (!assert(function (div) {
- div.innerHTML = "<a href='#'></a>";
- return div.firstChild.getAttribute("href") === "#";
- })) {
- addHandle("type|href|height|width", function (elem, name, isXML) {
- if (!isXML) {
- return elem.getAttribute(name, name.toLowerCase() === "type" ? 1 : 2);
- }
- });
- }
-
-// Support: IE<9
-// Use defaultValue in place of getAttribute("value")
- if (!support.attributes || !assert(function (div) {
- div.innerHTML = "<input/>";
- div.firstChild.setAttribute("value", "");
- return div.firstChild.getAttribute("value") === "";
- })) {
- addHandle("value", function (elem, name, isXML) {
- if (!isXML && elem.nodeName.toLowerCase() === "input") {
- return elem.defaultValue;
- }
- });
- }
-
-// Support: IE<9
-// Use getAttributeNode to fetch booleans when getAttribute lies
- if (!assert(function (div) {
- return div.getAttribute("disabled") == null;
- })) {
- addHandle(booleans, function (elem, name, isXML) {
- var val;
- if (!isXML) {
- return elem[name] === true ? name.toLowerCase() :
- (val = elem.getAttributeNode(name)) && val.specified ?
- val.value :
- null;
- }
- });
- }
-
- return Sizzle;
-
- })(window);
-
-
- jQuery.find = Sizzle;
- jQuery.expr = Sizzle.selectors;
- jQuery.expr[":"] = jQuery.expr.pseudos;
- jQuery.unique = Sizzle.uniqueSort;
- jQuery.text = Sizzle.getText;
- jQuery.isXMLDoc = Sizzle.isXML;
- jQuery.contains = Sizzle.contains;
-
-
- var rneedsContext = jQuery.expr.match.needsContext;
-
- var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/);
-
-
- var risSimple = /^.[^:#\[\.,]*$/;
-
-// Implement the identical functionality for filter and not
- function winnow(elements, qualifier, not) {
- if (jQuery.isFunction(qualifier)) {
- return jQuery.grep(elements, function (elem, i) {
- /* jshint -W018 */
- return !!qualifier.call(elem, i, elem) !== not;
- });
-
- }
-
- if (qualifier.nodeType) {
- return jQuery.grep(elements, function (elem) {
- return ( elem === qualifier ) !== not;
- });
-
- }
-
- if (typeof qualifier === "string") {
- if (risSimple.test(qualifier)) {
- return jQuery.filter(qualifier, elements, not);
- }
-
- qualifier = jQuery.filter(qualifier, elements);
- }
-
- return jQuery.grep(elements, function (elem) {
- return ( indexOf.call(qualifier, elem) >= 0 ) !== not;
- });
- }
-
- jQuery.filter = function (expr, elems, not) {
- var elem = elems[0];
-
- if (not) {
- expr = ":not(" + expr + ")";
- }
-
- return elems.length === 1 && elem.nodeType === 1 ?
- jQuery.find.matchesSelector(elem, expr) ? [elem] : [] :
- jQuery.find.matches(expr, jQuery.grep(elems, function (elem) {
- return elem.nodeType === 1;
- }));
- };
-
- jQuery.fn.extend({
- find: function (selector) {
- var i,
- len = this.length,
- ret = [],
- self = this;
-
- if (typeof selector !== "string") {
- return this.pushStack(jQuery(selector).filter(function () {
- for (i = 0; i < len; i++) {
- if (jQuery.contains(self[i], this)) {
- return true;
- }
- }
- }));
- }
-
- for (i = 0; i < len; i++) {
- jQuery.find(selector, self[i], ret);
- }
-
- // Needed because $( selector, context ) becomes $( context ).find( selector )
- ret = this.pushStack(len > 1 ? jQuery.unique(ret) : ret);
- ret.selector = this.selector ? this.selector + " " + selector : selector;
- return ret;
- },
- filter: function (selector) {
- return this.pushStack(winnow(this, selector || [], false));
- },
- not: function (selector) {
- return this.pushStack(winnow(this, selector || [], true));
- },
- is: function (selector) {
- return !!winnow(
- this,
-
- // If this is a positional/relative selector, check membership in the returned set
- // so $("p:first").is("p:last") won't return true for a doc with two "p".
- typeof selector === "string" && rneedsContext.test(selector) ?
- jQuery(selector) :
- selector || [],
- false
- ).length;
- }
- });
-
-
-// Initialize a jQuery object
-
-
-// A central reference to the root jQuery(document)
- var rootjQuery,
-
- // A simple way to check for HTML strings
- // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
- // Strict HTML recognition (#11290: must start with <)
- rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
-
- init = jQuery.fn.init = function (selector, context) {
- var match, elem;
-
- // HANDLE: $(""), $(null), $(undefined), $(false)
- if (!selector) {
- return this;
- }
-
- // Handle HTML strings
- if (typeof selector === "string") {
- if (selector[0] === "<" && selector[selector.length - 1] === ">" && selector.length >= 3) {
- // Assume that strings that start and end with <> are HTML and skip the regex check
- match = [null, selector, null];
-
- } else {
- match = rquickExpr.exec(selector);
- }
-
- // Match html or make sure no context is specified for #id
- if (match && (match[1] || !context)) {
-
- // HANDLE: $(html) -> $(array)
- if (match[1]) {
- context = context instanceof jQuery ? context[0] : context;
-
- // Option to run scripts is true for back-compat
- // Intentionally let the error be thrown if parseHTML is not present
- jQuery.merge(this, jQuery.parseHTML(
- match[1],
- context && context.nodeType ? context.ownerDocument || context : document,
- true
- ));
-
- // HANDLE: $(html, props)
- if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) {
- for (match in context) {
- // Properties of context are called as methods if possible
- if (jQuery.isFunction(this[match])) {
- this[match](context[match]);
-
- // ...and otherwise set as attributes
- } else {
- this.attr(match, context[match]);
- }
- }
- }
-
- return this;
-
- // HANDLE: $(#id)
- } else {
- elem = document.getElementById(match[2]);
-
- // Support: Blackberry 4.6
- // gEBID returns nodes no longer in the document (#6963)
- if (elem && elem.parentNode) {
- // Inject the element directly into the jQuery object
- this.length = 1;
- this[0] = elem;
- }
-
- this.context = document;
- this.selector = selector;
- return this;
- }
-
- // HANDLE: $(expr, $(...))
- } else if (!context || context.jquery) {
- return ( context || rootjQuery ).find(selector);
-
- // HANDLE: $(expr, context)
- // (which is just equivalent to: $(context).find(expr)
- } else {
- return this.constructor(context).find(selector);
- }
-
- // HANDLE: $(DOMElement)
- } else if (selector.nodeType) {
- this.context = this[0] = selector;
- this.length = 1;
- return this;
-
- // HANDLE: $(function)
- // Shortcut for document ready
- } else if (jQuery.isFunction(selector)) {
- return typeof rootjQuery.ready !== "undefined" ?
- rootjQuery.ready(selector) :
- // Execute immediately if ready is not present
- selector(jQuery);
- }
-
- if (selector.selector !== undefined) {
- this.selector = selector.selector;
- this.context = selector.context;
- }
-
- return jQuery.makeArray(selector, this);
- };
-
-// Give the init function the jQuery prototype for later instantiation
- init.prototype = jQuery.fn;
-
-// Initialize central reference
- rootjQuery = jQuery(document);
-
-
- var rparentsprev = /^(?:parents|prev(?:Until|All))/,
- // Methods guaranteed to produce a unique set when starting from a unique set
- guaranteedUnique = {
- children: true,
- contents: true,
- next: true,
- prev: true
- };
-
- jQuery.extend({
- dir: function (elem, dir, until) {
- var matched = [],
- truncate = until !== undefined;
-
- while ((elem = elem[dir]) && elem.nodeType !== 9) {
- if (elem.nodeType === 1) {
- if (truncate && jQuery(elem).is(until)) {
- break;
- }
- matched.push(elem);
- }
- }
- return matched;
- },
-
- sibling: function (n, elem) {
- var matched = [];
-
- for (; n; n = n.nextSibling) {
- if (n.nodeType === 1 && n !== elem) {
- matched.push(n);
- }
- }
-
- return matched;
- }
- });
-
- jQuery.fn.extend({
- has: function (target) {
- var targets = jQuery(target, this),
- l = targets.length;
-
- return this.filter(function () {
- var i = 0;
- for (; i < l; i++) {
- if (jQuery.contains(this, targets[i])) {
- return true;
- }
- }
- });
- },
-
- closest: function (selectors, context) {
- var cur,
- i = 0,
- l = this.length,
- matched = [],
- pos = rneedsContext.test(selectors) || typeof selectors !== "string" ?
- jQuery(selectors, context || this.context) :
- 0;
-
- for (; i < l; i++) {
- for (cur = this[i]; cur && cur !== context; cur = cur.parentNode) {
- // Always skip document fragments
- if (cur.nodeType < 11 && (pos ?
- pos.index(cur) > -1 :
-
- // Don't pass non-elements to Sizzle
- cur.nodeType === 1 &&
- jQuery.find.matchesSelector(cur, selectors))) {
-
- matched.push(cur);
- break;
- }
- }
- }
-
- return this.pushStack(matched.length > 1 ? jQuery.unique(matched) : matched);
- },
-
- // Determine the position of an element within the set
- index: function (elem) {
-
- // No argument, return index in parent
- if (!elem) {
- return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1;
- }
-
- // Index in selector
- if (typeof elem === "string") {
- return indexOf.call(jQuery(elem), this[0]);
- }
-
- // Locate the position of the desired element
- return indexOf.call(this,
-
- // If it receives a jQuery object, the first element is used
- elem.jquery ? elem[0] : elem
- );
- },
-
- add: function (selector, context) {
- return this.pushStack(
- jQuery.unique(
- jQuery.merge(this.get(), jQuery(selector, context))
- )
- );
- },
-
- addBack: function (selector) {
- return this.add(selector == null ?
- this.prevObject : this.prevObject.filter(selector)
- );
- }
- });
-
- function sibling(cur, dir) {
- while ((cur = cur[dir]) && cur.nodeType !== 1) {
- }
- return cur;
- }
-
- jQuery.each({
- parent: function (elem) {
- var parent = elem.parentNode;
- return parent && parent.nodeType !== 11 ? parent : null;
- },
- parents: function (elem) {
- return jQuery.dir(elem, "parentNode");
- },
- parentsUntil: function (elem, i, until) {
- return jQuery.dir(elem, "parentNode", until);
- },
- next: function (elem) {
- return sibling(elem, "nextSibling");
- },
- prev: function (elem) {
- return sibling(elem, "previousSibling");
- },
- nextAll: function (elem) {
- return jQuery.dir(elem, "nextSibling");
- },
- prevAll: function (elem) {
- return jQuery.dir(elem, "previousSibling");
- },
- nextUntil: function (elem, i, until) {
- return jQuery.dir(elem, "nextSibling", until);
- },
- prevUntil: function (elem, i, until) {
- return jQuery.dir(elem, "previousSibling", until);
- },
- siblings: function (elem) {
- return jQuery.sibling(( elem.parentNode || {} ).firstChild, elem);
- },
- children: function (elem) {
- return jQuery.sibling(elem.firstChild);
- },
- contents: function (elem) {
- return elem.contentDocument || jQuery.merge([], elem.childNodes);
- }
- }, function (name, fn) {
- jQuery.fn[name] = function (until, selector) {
- var matched = jQuery.map(this, fn, until);
-
- if (name.slice(-5) !== "Until") {
- selector = until;
- }
-
- if (selector && typeof selector === "string") {
- matched = jQuery.filter(selector, matched);
- }
-
- if (this.length > 1) {
- // Remove duplicates
- if (!guaranteedUnique[name]) {
- jQuery.unique(matched);
- }
-
- // Reverse order for parents* and prev-derivatives
- if (rparentsprev.test(name)) {
- matched.reverse();
- }
- }
-
- return this.pushStack(matched);
- };
- });
- var rnotwhite = (/\S+/g);
-
-
-// String to Object options format cache
- var optionsCache = {};
-
-// Convert String-formatted options into Object-formatted ones and store in cache
- function createOptions(options) {
- var object = optionsCache[options] = {};
- jQuery.each(options.match(rnotwhite) || [], function (_, flag) {
- object[flag] = true;
- });
- return object;
- }
-
- /*
- * Create a callback list using the following parameters:
- *
- * options: an optional list of space-separated options that will change how
- * the callback list behaves or a more traditional option object
- *
- * By default a callback list will act like an event callback list and can be
- * "fired" multiple times.
- *
- * Possible options:
- *
- * once: will ensure the callback list can only be fired once (like a Deferred)
- *
- * memory: will keep track of previous values and will call any callback added
- * after the list has been fired right away with the latest "memorized"
- * values (like a Deferred)
- *
- * unique: will ensure a callback can only be added once (no duplicate in the list)
- *
- * stopOnFalse: interrupt callings when a callback returns false
- *
- */
- jQuery.Callbacks = function (options) {
-
- // Convert options from String-formatted to Object-formatted if needed
- // (we check in cache first)
- options = typeof options === "string" ?
- ( optionsCache[options] || createOptions(options) ) :
- jQuery.extend({}, options);
-
- var // Last fire value (for non-forgettable lists)
- memory,
- // Flag to know if list was already fired
- fired,
- // Flag to know if list is currently firing
- firing,
- // First callback to fire (used internally by add and fireWith)
- firingStart,
- // End of the loop when firing
- firingLength,
- // Index of currently firing callback (modified by remove if needed)
- firingIndex,
- // Actual callback list
- list = [],
- // Stack of fire calls for repeatable lists
- stack = !options.once && [],
- // Fire callbacks
- fire = function (data) {
- memory = options.memory && data;
- fired = true;
- firingIndex = firingStart || 0;
- firingStart = 0;
- firingLength = list.length;
- firing = true;
- for (; list && firingIndex < firingLength; firingIndex++) {
- if (list[firingIndex].apply(data[0], data[1]) === false && options.stopOnFalse) {
- memory = false; // To prevent further calls using add
- break;
- }
- }
- firing = false;
- if (list) {
- if (stack) {
- if (stack.length) {
- fire(stack.shift());
- }
- } else if (memory) {
- list = [];
- } else {
- self.disable();
- }
- }
- },
- // Actual Callbacks object
- self = {
- // Add a callback or a collection of callbacks to the list
- add: function () {
- if (list) {
- // First, we save the current length
- var start = list.length;
- (function add(args) {
- jQuery.each(args, function (_, arg) {
- var type = jQuery.type(arg);
- if (type === "function") {
- if (!options.unique || !self.has(arg)) {
- list.push(arg);
- }
- } else if (arg && arg.length && type !== "string") {
- // Inspect recursively
- add(arg);
- }
- });
- })(arguments);
- // Do we need to add the callbacks to the
- // current firing batch?
- if (firing) {
- firingLength = list.length;
- // With memory, if we're not firing then
- // we should call right away
- } else if (memory) {
- firingStart = start;
- fire(memory);
- }
- }
- return this;
- },
- // Remove a callback from the list
- remove: function () {
- if (list) {
- jQuery.each(arguments, function (_, arg) {
- var index;
- while (( index = jQuery.inArray(arg, list, index) ) > -1) {
- list.splice(index, 1);
- // Handle firing indexes
- if (firing) {
- if (index <= firingLength) {
- firingLength--;
- }
- if (index <= firingIndex) {
- firingIndex--;
- }
- }
- }
- });
- }
- return this;
- },
- // Check if a given callback is in the list.
- // If no argument is given, return whether or not list has callbacks attached.
- has: function (fn) {
- return fn ? jQuery.inArray(fn, list) > -1 : !!( list && list.length );
- },
- // Remove all callbacks from the list
- empty: function () {
- list = [];
- firingLength = 0;
- return this;
- },
- // Have the list do nothing anymore
- disable: function () {
- list = stack = memory = undefined;
- return this;
- },
- // Is it disabled?
- disabled: function () {
- return !list;
- },
- // Lock the list in its current state
- lock: function () {
- stack = undefined;
- if (!memory) {
- self.disable();
- }
- return this;
- },
- // Is it locked?
- locked: function () {
- return !stack;
- },
- // Call all callbacks with the given context and arguments
- fireWith: function (context, args) {
- if (list && ( !fired || stack )) {
- args = args || [];
- args = [context, args.slice ? args.slice() : args];
- if (firing) {
- stack.push(args);
- } else {
- fire(args);
- }
- }
- return this;
- },
- // Call all the callbacks with the given arguments
- fire: function () {
- self.fireWith(this, arguments);
- return this;
- },
- // To know if the callbacks have already been called at least once
- fired: function () {
- return !!fired;
- }
- };
-
- return self;
- };
-
-
- jQuery.extend({
-
- Deferred: function (func) {
- var tuples = [
- // action, add listener, listener list, final state
- ["resolve", "done", jQuery.Callbacks("once memory"), "resolved"],
- ["reject", "fail", jQuery.Callbacks("once memory"), "rejected"],
- ["notify", "progress", jQuery.Callbacks("memory")]
- ],
- state = "pending",
- promise = {
- state: function () {
- return state;
- },
- always: function () {
- deferred.done(arguments).fail(arguments);
- return this;
- },
- then: function (/* fnDone, fnFail, fnProgress */) {
- var fns = arguments;
- return jQuery.Deferred(function (newDefer) {
- jQuery.each(tuples, function (i, tuple) {
- var fn = jQuery.isFunction(fns[i]) && fns[i];
- // deferred[ done | fail | progress ] for forwarding actions to newDefer
- deferred[tuple[1]](function () {
- var returned = fn && fn.apply(this, arguments);
- if (returned && jQuery.isFunction(returned.promise)) {
- returned.promise()
- .done(newDefer.resolve)
- .fail(newDefer.reject)
- .progress(newDefer.notify);
- } else {
- newDefer[tuple[0] + "With"](this === promise ? newDefer.promise() : this, fn ? [returned] : arguments);
- }
- });
- });
- fns = null;
- }).promise();
- },
- // Get a promise for this deferred
- // If obj is provided, the promise aspect is added to the object
- promise: function (obj) {
- return obj != null ? jQuery.extend(obj, promise) : promise;
- }
- },
- deferred = {};
-
- // Keep pipe for back-compat
- promise.pipe = promise.then;
-
- // Add list-specific methods
- jQuery.each(tuples, function (i, tuple) {
- var list = tuple[2],
- stateString = tuple[3];
-
- // promise[ done | fail | progress ] = list.add
- promise[tuple[1]] = list.add;
-
- // Handle state
- if (stateString) {
- list.add(function () {
- // state = [ resolved | rejected ]
- state = stateString;
-
- // [ reject_list | resolve_list ].disable; progress_list.lock
- }, tuples[i ^ 1][2].disable, tuples[2][2].lock);
- }
-
- // deferred[ resolve | reject | notify ]
- deferred[tuple[0]] = function () {
- deferred[tuple[0] + "With"](this === deferred ? promise : this, arguments);
- return this;
- };
- deferred[tuple[0] + "With"] = list.fireWith;
- });
-
- // Make the deferred a promise
- promise.promise(deferred);
-
- // Call given func if any
- if (func) {
- func.call(deferred, deferred);
- }
-
- // All done!
- return deferred;
- },
-
- // Deferred helper
- when: function (subordinate /* , ..., subordinateN */) {
- var i = 0,
- resolveValues = slice.call(arguments),
- length = resolveValues.length,
-
- // the count of uncompleted subordinates
- remaining = length !== 1 || ( subordinate && jQuery.isFunction(subordinate.promise) ) ? length : 0,
-
- // the master Deferred. If resolveValues consist of only a single Deferred, just use that.
- deferred = remaining === 1 ? subordinate : jQuery.Deferred(),
-
- // Update function for both resolve and progress values
- updateFunc = function (i, contexts, values) {
- return function (value) {
- contexts[i] = this;
- values[i] = arguments.length > 1 ? slice.call(arguments) : value;
- if (values === progressValues) {
- deferred.notifyWith(contexts, values);
- } else if (!( --remaining )) {
- deferred.resolveWith(contexts, values);
- }
- };
- },
-
- progressValues, progressContexts, resolveContexts;
-
- // Add listeners to Deferred subordinates; treat others as resolved
- if (length > 1) {
- progressValues = new Array(length);
- progressContexts = new Array(length);
- resolveContexts = new Array(length);
- for (; i < length; i++) {
- if (resolveValues[i] && jQuery.isFunction(resolveValues[i].promise)) {
- resolveValues[i].promise()
- .done(updateFunc(i, resolveContexts, resolveValues))
- .fail(deferred.reject)
- .progress(updateFunc(i, progressContexts, progressValues));
- } else {
- --remaining;
- }
- }
- }
-
- // If we're not waiting on anything, resolve the master
- if (!remaining) {
- deferred.resolveWith(resolveContexts, resolveValues);
- }
-
- return deferred.promise();
- }
- });
-
-
-// The deferred used on DOM ready
- var readyList;
-
- jQuery.fn.ready = function (fn) {
- // Add the callback
- jQuery.ready.promise().done(fn);
-
- return this;
- };
-
- jQuery.extend({
- // Is the DOM ready to be used? Set to true once it occurs.
- isReady: false,
-
- // A counter to track how many items to wait for before
- // the ready event fires. See #6781
- readyWait: 1,
-
- // Hold (or release) the ready event
- holdReady: function (hold) {
- if (hold) {
- jQuery.readyWait++;
- } else {
- jQuery.ready(true);
- }
- },
-
- // Handle when the DOM is ready
- ready: function (wait) {
-
- // Abort if there are pending holds or we're already ready
- if (wait === true ? --jQuery.readyWait : jQuery.isReady) {
- return;
- }
-
- // Remember that the DOM is ready
- jQuery.isReady = true;
-
- // If a normal DOM Ready event fired, decrement, and wait if need be
- if (wait !== true && --jQuery.readyWait > 0) {
- return;
- }
-
- // If there are functions bound, to execute
- readyList.resolveWith(document, [jQuery]);
-
- // Trigger any bound ready events
- if (jQuery.fn.triggerHandler) {
- jQuery(document).triggerHandler("ready");
- jQuery(document).off("ready");
- }
- }
- });
-
- /**
- * The ready event handler and self cleanup method
- */
- function completed() {
- document.removeEventListener("DOMContentLoaded", completed, false);
- window.removeEventListener("load", completed, false);
- jQuery.ready();
- }
-
- jQuery.ready.promise = function (obj) {
- if (!readyList) {
-
- readyList = jQuery.Deferred();
-
- // Catch cases where $(document).ready() is called after the browser event has already occurred.
- // We once tried to use readyState "interactive" here, but it caused issues like the one
- // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15
- if (document.readyState === "complete") {
- // Handle it asynchronously to allow scripts the opportunity to delay ready
- setTimeout(jQuery.ready);
-
- } else {
-
- // Use the handy event callback
- document.addEventListener("DOMContentLoaded", completed, false);
-
- // A fallback to window.onload, that will always work
- window.addEventListener("load", completed, false);
- }
- }
- return readyList.promise(obj);
- };
-
-// Kick off the DOM ready check even if the user does not
- jQuery.ready.promise();
-
-
-// Multifunctional method to get and set values of a collection
-// The value/s can optionally be executed if it's a function
- var access = jQuery.access = function (elems, fn, key, value, chainable, emptyGet, raw) {
- var i = 0,
- len = elems.length,
- bulk = key == null;
-
- // Sets many values
- if (jQuery.type(key) === "object") {
- chainable = true;
- for (i in key) {
- jQuery.access(elems, fn, i, key[i], true, emptyGet, raw);
- }
-
- // Sets one value
- } else if (value !== undefined) {
- chainable = true;
-
- if (!jQuery.isFunction(value)) {
- raw = true;
- }
-
- if (bulk) {
- // Bulk operations run against the entire set
- if (raw) {
- fn.call(elems, value);
- fn = null;
-
- // ...except when executing function values
- } else {
- bulk = fn;
- fn = function (elem, key, value) {
- return bulk.call(jQuery(elem), value);
- };
- }
- }
-
- if (fn) {
- for (; i < len; i++) {
- fn(elems[i], key, raw ? value : value.call(elems[i], i, fn(elems[i], key)));
- }
- }
- }
-
- return chainable ?
- elems :
-
- // Gets
- bulk ?
- fn.call(elems) :
- len ? fn(elems[0], key) : emptyGet;
- };
-
-
- /**
- * Determines whether an object can have data
- */
- jQuery.acceptData = function (owner) {
- // Accepts only:
- // - Node
- // - Node.ELEMENT_NODE
- // - Node.DOCUMENT_NODE
- // - Object
- // - Any
- /* jshint -W018 */
- return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );
- };
-
-
- function Data() {
- // Support: Android<4,
- // Old WebKit does not have Object.preventExtensions/freeze method,
- // return new empty object instead with no [[set]] accessor
- Object.defineProperty(this.cache = {}, 0, {
- get: function () {
- return {};
- }
- });
-
- this.expando = jQuery.expando + Data.uid++;
- }
-
- Data.uid = 1;
- Data.accepts = jQuery.acceptData;
-
- Data.prototype = {
- key: function (owner) {
- // We can accept data for non-element nodes in modern browsers,
- // but we should not, see #8335.
- // Always return the key for a frozen object.
- if (!Data.accepts(owner)) {
- return 0;
- }
-
- var descriptor = {},
- // Check if the owner object already has a cache key
- unlock = owner[this.expando];
-
- // If not, create one
- if (!unlock) {
- unlock = Data.uid++;
-
- // Secure it in a non-enumerable, non-writable property
- try {
- descriptor[this.expando] = {value: unlock};
- Object.defineProperties(owner, descriptor);
-
- // Support: Android<4
- // Fallback to a less secure definition
- } catch (e) {
- descriptor[this.expando] = unlock;
- jQuery.extend(owner, descriptor);
- }
- }
-
- // Ensure the cache object
- if (!this.cache[unlock]) {
- this.cache[unlock] = {};
- }
-
- return unlock;
- },
- set: function (owner, data, value) {
- var prop,
- // There may be an unlock assigned to this node,
- // if there is no entry for this "owner", create one inline
- // and set the unlock as though an owner entry had always existed
- unlock = this.key(owner),
- cache = this.cache[unlock];
-
- // Handle: [ owner, key, value ] args
- if (typeof data === "string") {
- cache[data] = value;
-
- // Handle: [ owner, { properties } ] args
- } else {
- // Fresh assignments by object are shallow copied
- if (jQuery.isEmptyObject(cache)) {
- jQuery.extend(this.cache[unlock], data);
- // Otherwise, copy the properties one-by-one to the cache object
- } else {
- for (prop in data) {
- cache[prop] = data[prop];
- }
- }
- }
- return cache;
- },
- get: function (owner, key) {
- // Either a valid cache is found, or will be created.
- // New caches will be created and the unlock returned,
- // allowing direct access to the newly created
- // empty data object. A valid owner object must be provided.
- var cache = this.cache[this.key(owner)];
-
- return key === undefined ?
- cache : cache[key];
- },
- access: function (owner, key, value) {
- var stored;
- // In cases where either:
- //
- // 1. No key was specified
- // 2. A string key was specified, but no value provided
- //
- // Take the "read" path and allow the get method to determine
- // which value to return, respectively either:
- //
- // 1. The entire cache object
- // 2. The data stored at the key
- //
- if (key === undefined ||
- ((key && typeof key === "string") && value === undefined)) {
-
- stored = this.get(owner, key);
-
- return stored !== undefined ?
- stored : this.get(owner, jQuery.camelCase(key));
- }
-
- // [*]When the key is not a string, or both a key and value
- // are specified, set or extend (existing objects) with either:
- //
- // 1. An object of properties
- // 2. A key and value
- //
- this.set(owner, key, value);
-
- // Since the "set" path can have two possible entry points
- // return the expected data based on which path was taken[*]
- return value !== undefined ? value : key;
- },
- remove: function (owner, key) {
- var i, name, camel,
- unlock = this.key(owner),
- cache = this.cache[unlock];
-
- if (key === undefined) {
- this.cache[unlock] = {};
-
- } else {
- // Support array or space separated string of keys
- if (jQuery.isArray(key)) {
- // If "name" is an array of keys...
- // When data is initially created, via ("key", "val") signature,
- // keys will be converted to camelCase.
- // Since there is no way to tell _how_ a key was added, remove
- // both plain key and camelCase key. #12786
- // This will only penalize the array argument path.
- name = key.concat(key.map(jQuery.camelCase));
- } else {
- camel = jQuery.camelCase(key);
- // Try the string as a key before any manipulation
- if (key in cache) {
- name = [key, camel];
- } else {
- // If a key with the spaces exists, use it.
- // Otherwise, create an array by matching non-whitespace
- name = camel;
- name = name in cache ?
- [name] : ( name.match(rnotwhite) || [] );
- }
- }
-
- i = name.length;
- while (i--) {
- delete cache[name[i]];
- }
- }
- },
- hasData: function (owner) {
- return !jQuery.isEmptyObject(
- this.cache[owner[this.expando]] || {}
- );
- },
- discard: function (owner) {
- if (owner[this.expando]) {
- delete this.cache[owner[this.expando]];
- }
- }
- };
- var data_priv = new Data();
-
- var data_user = new Data();
-
-
-// Implementation Summary
-//
-// 1. Enforce API surface and semantic compatibility with 1.9.x branch
-// 2. Improve the module's maintainability by reducing the storage
-// paths to a single mechanism.
-// 3. Use the same single mechanism to support "private" and "user" data.
-// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData)
-// 5. Avoid exposing implementation details on user objects (eg. expando properties)
-// 6. Provide a clear path for implementation upgrade to WeakMap in 2014
-
- var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
- rmultiDash = /([A-Z])/g;
-
- function dataAttr(elem, key, data) {
- var name;
-
- // If nothing was found internally, try to fetch any
- // data from the HTML5 data-* attribute
- if (data === undefined && elem.nodeType === 1) {
- name = "data-" + key.replace(rmultiDash, "-$1").toLowerCase();
- data = elem.getAttribute(name);
-
- if (typeof data === "string") {
- try {
- data = data === "true" ? true :
- data === "false" ? false :
- data === "null" ? null :
- // Only convert to a number if it doesn't change the string
- +data + "" === data ? +data :
- rbrace.test(data) ? jQuery.parseJSON(data) :
- data;
- } catch (e) {
- }
-
- // Make sure we set the data so it isn't changed later
- data_user.set(elem, key, data);
- } else {
- data = undefined;
- }
- }
- return data;
- }
-
- jQuery.extend({
- hasData: function (elem) {
- return data_user.hasData(elem) || data_priv.hasData(elem);
- },
-
- data: function (elem, name, data) {
- return data_user.access(elem, name, data);
- },
-
- removeData: function (elem, name) {
- data_user.remove(elem, name);
- },
-
- // TODO: Now that all calls to _data and _removeData have been replaced
- // with direct calls to data_priv methods, these can be deprecated.
- _data: function (elem, name, data) {
- return data_priv.access(elem, name, data);
- },
-
- _removeData: function (elem, name) {
- data_priv.remove(elem, name);
- }
- });
-
- jQuery.fn.extend({
- data: function (key, value) {
- var i, name, data,
- elem = this[0],
- attrs = elem && elem.attributes;
-
- // Gets all values
- if (key === undefined) {
- if (this.length) {
- data = data_user.get(elem);
-
- if (elem.nodeType === 1 && !data_priv.get(elem, "hasDataAttrs")) {
- i = attrs.length;
- while (i--) {
-
- // Support: IE11+
- // The attrs elements can be null (#14894)
- if (attrs[i]) {
- name = attrs[i].name;
- if (name.indexOf("data-") === 0) {
- name = jQuery.camelCase(name.slice(5));
- dataAttr(elem, name, data[name]);
- }
- }
- }
- data_priv.set(elem, "hasDataAttrs", true);
- }
- }
-
- return data;
- }
-
- // Sets multiple values
- if (typeof key === "object") {
- return this.each(function () {
- data_user.set(this, key);
- });
- }
-
- return access(this, function (value) {
- var data,
- camelKey = jQuery.camelCase(key);
-
- // The calling jQuery object (element matches) is not empty
- // (and therefore has an element appears at this[ 0 ]) and the
- // `value` parameter was not undefined. An empty jQuery object
- // will result in `undefined` for elem = this[ 0 ] which will
- // throw an exception if an attempt to read a data cache is made.
- if (elem && value === undefined) {
- // Attempt to get data from the cache
- // with the key as-is
- data = data_user.get(elem, key);
- if (data !== undefined) {
- return data;
- }
-
- // Attempt to get data from the cache
- // with the key camelized
- data = data_user.get(elem, camelKey);
- if (data !== undefined) {
- return data;
- }
-
- // Attempt to "discover" the data in
- // HTML5 custom data-* attrs
- data = dataAttr(elem, camelKey, undefined);
- if (data !== undefined) {
- return data;
- }
-
- // We tried really hard, but the data doesn't exist.
- return;
- }
-
- // Set the data...
- this.each(function () {
- // First, attempt to store a copy or reference of any
- // data that might've been store with a camelCased key.
- var data = data_user.get(this, camelKey);
-
- // For HTML5 data-* attribute interop, we have to
- // store property names with dashes in a camelCase form.
- // This might not apply to all properties...*
- data_user.set(this, camelKey, value);
-
- // *... In the case of properties that might _actually_
- // have dashes, we need to also store a copy of that
- // unchanged property.
- if (key.indexOf("-") !== -1 && data !== undefined) {
- data_user.set(this, key, value);
- }
- });
- }, null, value, arguments.length > 1, null, true);
- },
-
- removeData: function (key) {
- return this.each(function () {
- data_user.remove(this, key);
- });
- }
- });
-
-
- jQuery.extend({
- queue: function (elem, type, data) {
- var queue;
-
- if (elem) {
- type = ( type || "fx" ) + "queue";
- queue = data_priv.get(elem, type);
-
- // Speed up dequeue by getting out quickly if this is just a lookup
- if (data) {
- if (!queue || jQuery.isArray(data)) {
- queue = data_priv.access(elem, type, jQuery.makeArray(data));
- } else {
- queue.push(data);
- }
- }
- return queue || [];
- }
- },
-
- dequeue: function (elem, type) {
- type = type || "fx";
-
- var queue = jQuery.queue(elem, type),
- startLength = queue.length,
- fn = queue.shift(),
- hooks = jQuery._queueHooks(elem, type),
- next = function () {
- jQuery.dequeue(elem, type);
- };
-
- // If the fx queue is dequeued, always remove the progress sentinel
- if (fn === "inprogress") {
- fn = queue.shift();
- startLength--;
- }
-
- if (fn) {
-
- // Add a progress sentinel to prevent the fx queue from being
- // automatically dequeued
- if (type === "fx") {
- queue.unshift("inprogress");
- }
-
- // Clear up the last queue stop function
- delete hooks.stop;
- fn.call(elem, next, hooks);
- }
-
- if (!startLength && hooks) {
- hooks.empty.fire();
- }
- },
-
- // Not public - generate a queueHooks object, or return the current one
- _queueHooks: function (elem, type) {
- var key = type + "queueHooks";
- return data_priv.get(elem, key) || data_priv.access(elem, key, {
- empty: jQuery.Callbacks("once memory").add(function () {
- data_priv.remove(elem, [type + "queue", key]);
- })
- });
- }
- });
-
- jQuery.fn.extend({
- queue: function (type, data) {
- var setter = 2;
-
- if (typeof type !== "string") {
- data = type;
- type = "fx";
- setter--;
- }
-
- if (arguments.length < setter) {
- return jQuery.queue(this[0], type);
- }
-
- return data === undefined ?
- this :
- this.each(function () {
- var queue = jQuery.queue(this, type, data);
-
- // Ensure a hooks for this queue
- jQuery._queueHooks(this, type);
-
- if (type === "fx" && queue[0] !== "inprogress") {
- jQuery.dequeue(this, type);
- }
- });
- },
- dequeue: function (type) {
- return this.each(function () {
- jQuery.dequeue(this, type);
- });
- },
- clearQueue: function (type) {
- return this.queue(type || "fx", []);
- },
- // Get a promise resolved when queues of a certain type
- // are emptied (fx is the type by default)
- promise: function (type, obj) {
- var tmp,
- count = 1,
- defer = jQuery.Deferred(),
- elements = this,
- i = this.length,
- resolve = function () {
- if (!( --count )) {
- defer.resolveWith(elements, [elements]);
- }
- };
-
- if (typeof type !== "string") {
- obj = type;
- type = undefined;
- }
- type = type || "fx";
-
- while (i--) {
- tmp = data_priv.get(elements[i], type + "queueHooks");
- if (tmp && tmp.empty) {
- count++;
- tmp.empty.add(resolve);
- }
- }
- resolve();
- return defer.promise(obj);
- }
- });
- var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source;
-
- var cssExpand = ["Top", "Right", "Bottom", "Left"];
-
- var isHidden = function (elem, el) {
- // isHidden might be called from jQuery#filter function;
- // in that case, element will be second argument
- elem = el || elem;
- return jQuery.css(elem, "display") === "none" || !jQuery.contains(elem.ownerDocument, elem);
- };
-
- var rcheckableType = (/^(?:checkbox|radio)$/i);
-
-
- (function () {
- var fragment = document.createDocumentFragment(),
- div = fragment.appendChild(document.createElement("div")),
- input = document.createElement("input");
-
- // Support: Safari<=5.1
- // Check state lost if the name is set (#11217)
- // Support: Windows Web Apps (WWA)
- // `name` and `type` must use .setAttribute for WWA (#14901)
- input.setAttribute("type", "radio");
- input.setAttribute("checked", "checked");
- input.setAttribute("name", "t");
-
- div.appendChild(input);
-
- // Support: Safari<=5.1, Android<4.2
- // Older WebKit doesn't clone checked state correctly in fragments
- support.checkClone = div.cloneNode(true).cloneNode(true).lastChild.checked;
-
- // Support: IE<=11+
- // Make sure textarea (and checkbox) defaultValue is properly cloned
- div.innerHTML = "<textarea>x</textarea>";
- support.noCloneChecked = !!div.cloneNode(true).lastChild.defaultValue;
- })();
- var strundefined = typeof undefined;
-
-
- support.focusinBubbles = "onfocusin" in window;
-
-
- var
- rkeyEvent = /^key/,
- rmouseEvent = /^(?:mouse|pointer|contextmenu)|click/,
- rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
- rtypenamespace = /^([^.]*)(?:\.(.+)|)$/;
-
- function returnTrue() {
- return true;
- }
-
- function returnFalse() {
- return false;
- }
-
- function safeActiveElement() {
- try {
- return document.activeElement;
- } catch (err) {
- }
- }
-
- /*
- * Helper functions for managing events -- not part of the public interface.
- * Props to Dean Edwards' addEvent library for many of the ideas.
- */
- jQuery.event = {
-
- global: {},
-
- add: function (elem, types, handler, data, selector) {
-
- var handleObjIn, eventHandle, tmp,
- events, t, handleObj,
- special, handlers, type, namespaces, origType,
- elemData = data_priv.get(elem);
-
- // Don't attach events to noData or text/comment nodes (but allow plain objects)
- if (!elemData) {
- return;
- }
-
- // Caller can pass in an object of custom data in lieu of the handler
- if (handler.handler) {
- handleObjIn = handler;
- handler = handleObjIn.handler;
- selector = handleObjIn.selector;
- }
-
- // Make sure that the handler has a unique ID, used to find/remove it later
- if (!handler.guid) {
- handler.guid = jQuery.guid++;
- }
-
- // Init the element's event structure and main handler, if this is the first
- if (!(events = elemData.events)) {
- events = elemData.events = {};
- }
- if (!(eventHandle = elemData.handle)) {
- eventHandle = elemData.handle = function (e) {
- // Discard the second event of a jQuery.event.trigger() and
- // when an event is called after a page has unloaded
- return typeof jQuery !== strundefined && jQuery.event.triggered !== e.type ?
- jQuery.event.dispatch.apply(elem, arguments) : undefined;
- };
- }
-
- // Handle multiple events separated by a space
- types = ( types || "" ).match(rnotwhite) || [""];
- t = types.length;
- while (t--) {
- tmp = rtypenamespace.exec(types[t]) || [];
- type = origType = tmp[1];
- namespaces = ( tmp[2] || "" ).split(".").sort();
-
- // There *must* be a type, no attaching namespace-only handlers
- if (!type) {
- continue;
- }
-
- // If event changes its type, use the special event handlers for the changed type
- special = jQuery.event.special[type] || {};
-
- // If selector defined, determine special event api type, otherwise given type
- type = ( selector ? special.delegateType : special.bindType ) || type;
-
- // Update special based on newly reset type
- special = jQuery.event.special[type] || {};
-
- // handleObj is passed to all event handlers
- handleObj = jQuery.extend({
- type: type,
- origType: origType,
- data: data,
- handler: handler,
- guid: handler.guid,
- selector: selector,
- needsContext: selector && jQuery.expr.match.needsContext.test(selector),
- namespace: namespaces.join(".")
- }, handleObjIn);
-
- // Init the event handler queue if we're the first
- if (!(handlers = events[type])) {
- handlers = events[type] = [];
- handlers.delegateCount = 0;
-
- // Only use addEventListener if the special events handler returns false
- if (!special.setup || special.setup.call(elem, data, namespaces, eventHandle) === false) {
- if (elem.addEventListener) {
- elem.addEventListener(type, eventHandle, false);
- }
- }
- }
-
- if (special.add) {
- special.add.call(elem, handleObj);
-
- if (!handleObj.handler.guid) {
- handleObj.handler.guid = handler.guid;
- }
- }
-
- // Add to the element's handler list, delegates in front
- if (selector) {
- handlers.splice(handlers.delegateCount++, 0, handleObj);
- } else {
- handlers.push(handleObj);
- }
-
- // Keep track of which events have ever been used, for event optimization
- jQuery.event.global[type] = true;
- }
-
- },
-
- // Detach an event or set of events from an element
- remove: function (elem, types, handler, selector, mappedTypes) {
-
- var j, origCount, tmp,
- events, t, handleObj,
- special, handlers, type, namespaces, origType,
- elemData = data_priv.hasData(elem) && data_priv.get(elem);
-
- if (!elemData || !(events = elemData.events)) {
- return;
- }
-
- // Once for each type.namespace in types; type may be omitted
- types = ( types || "" ).match(rnotwhite) || [""];
- t = types.length;
- while (t--) {
- tmp = rtypenamespace.exec(types[t]) || [];
- type = origType = tmp[1];
- namespaces = ( tmp[2] || "" ).split(".").sort();
-
- // Unbind all events (on this namespace, if provided) for the element
- if (!type) {
- for (type in events) {
- jQuery.event.remove(elem, type + types[t], handler, selector, true);
- }
- continue;
- }
-
- special = jQuery.event.special[type] || {};
- type = ( selector ? special.delegateType : special.bindType ) || type;
- handlers = events[type] || [];
- tmp = tmp[2] && new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)");
-
- // Remove matching events
- origCount = j = handlers.length;
- while (j--) {
- handleObj = handlers[j];
-
- if (( mappedTypes || origType === handleObj.origType ) &&
- ( !handler || handler.guid === handleObj.guid ) &&
- ( !tmp || tmp.test(handleObj.namespace) ) &&
- ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector )) {
- handlers.splice(j, 1);
-
- if (handleObj.selector) {
- handlers.delegateCount--;
- }
- if (special.remove) {
- special.remove.call(elem, handleObj);
- }
- }
- }
-
- // Remove generic event handler if we removed something and no more handlers exist
- // (avoids potential for endless recursion during removal of special event handlers)
- if (origCount && !handlers.length) {
- if (!special.teardown || special.teardown.call(elem, namespaces, elemData.handle) === false) {
- jQuery.removeEvent(elem, type, elemData.handle);
- }
-
- delete events[type];
- }
- }
-
- // Remove the expando if it's no longer used
- if (jQuery.isEmptyObject(events)) {
- delete elemData.handle;
- data_priv.remove(elem, "events");
- }
- },
-
- trigger: function (event, data, elem, onlyHandlers) {
-
- var i, cur, tmp, bubbleType, ontype, handle, special,
- eventPath = [elem || document],
- type = hasOwn.call(event, "type") ? event.type : event,
- namespaces = hasOwn.call(event, "namespace") ? event.namespace.split(".") : [];
-
- cur = tmp = elem = elem || document;
-
- // Don't do events on text and comment nodes
- if (elem.nodeType === 3 || elem.nodeType === 8) {
- return;
- }
-
- // focus/blur morphs to focusin/out; ensure we're not firing them right now
- if (rfocusMorph.test(type + jQuery.event.triggered)) {
- return;
- }
-
- if (type.indexOf(".") >= 0) {
- // Namespaced trigger; create a regexp to match event type in handle()
- namespaces = type.split(".");
- type = namespaces.shift();
- namespaces.sort();
- }
- ontype = type.indexOf(":") < 0 && "on" + type;
-
- // Caller can pass in a jQuery.Event object, Object, or just an event type string
- event = event[jQuery.expando] ?
- event :
- new jQuery.Event(type, typeof event === "object" && event);
-
- // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)
- event.isTrigger = onlyHandlers ? 2 : 3;
- event.namespace = namespaces.join(".");
- event.namespace_re = event.namespace ?
- new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)") :
- null;
-
- // Clean up the event in case it is being reused
- event.result = undefined;
- if (!event.target) {
- event.target = elem;
- }
-
- // Clone any incoming data and prepend the event, creating the handler arg list
- data = data == null ?
- [event] :
- jQuery.makeArray(data, [event]);
-
- // Allow special events to draw outside the lines
- special = jQuery.event.special[type] || {};
- if (!onlyHandlers && special.trigger && special.trigger.apply(elem, data) === false) {
- return;
- }
-
- // Determine event propagation path in advance, per W3C events spec (#9951)
- // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
- if (!onlyHandlers && !special.noBubble && !jQuery.isWindow(elem)) {
-
- bubbleType = special.delegateType || type;
- if (!rfocusMorph.test(bubbleType + type)) {
- cur = cur.parentNode;
- }
- for (; cur; cur = cur.parentNode) {
- eventPath.push(cur);
- tmp = cur;
- }
-
- // Only add window if we got to document (e.g., not plain obj or detached DOM)
- if (tmp === (elem.ownerDocument || document)) {
- eventPath.push(tmp.defaultView || tmp.parentWindow || window);
- }
- }
-
- // Fire handlers on the event path
- i = 0;
- while ((cur = eventPath[i++]) && !event.isPropagationStopped()) {
-
- event.type = i > 1 ?
- bubbleType :
- special.bindType || type;
-
- // jQuery handler
- handle = ( data_priv.get(cur, "events") || {} )[event.type] && data_priv.get(cur, "handle");
- if (handle) {
- handle.apply(cur, data);
- }
-
- // Native handler
- handle = ontype && cur[ontype];
- if (handle && handle.apply && jQuery.acceptData(cur)) {
- event.result = handle.apply(cur, data);
- if (event.result === false) {
- event.preventDefault();
- }
- }
- }
- event.type = type;
-
- // If nobody prevented the default action, do it now
- if (!onlyHandlers && !event.isDefaultPrevented()) {
-
- if ((!special._default || special._default.apply(eventPath.pop(), data) === false) &&
- jQuery.acceptData(elem)) {
-
- // Call a native DOM method on the target with the same name name as the event.
- // Don't do default actions on window, that's where global variables be (#6170)
- if (ontype && jQuery.isFunction(elem[type]) && !jQuery.isWindow(elem)) {
-
- // Don't re-trigger an onFOO event when we call its FOO() method
- tmp = elem[ontype];
-
- if (tmp) {
- elem[ontype] = null;
- }
-
- // Prevent re-triggering of the same event, since we already bubbled it above
- jQuery.event.triggered = type;
- elem[type]();
- jQuery.event.triggered = undefined;
-
- if (tmp) {
- elem[ontype] = tmp;
- }
- }
- }
- }
-
- return event.result;
- },
-
- dispatch: function (event) {
-
- // Make a writable jQuery.Event from the native event object
- event = jQuery.event.fix(event);
-
- var i, j, ret, matched, handleObj,
- handlerQueue = [],
- args = slice.call(arguments),
- handlers = ( data_priv.get(this, "events") || {} )[event.type] || [],
- special = jQuery.event.special[event.type] || {};
-
- // Use the fix-ed jQuery.Event rather than the (read-only) native event
- args[0] = event;
- event.delegateTarget = this;
-
- // Call the preDispatch hook for the mapped type, and let it bail if desired
- if (special.preDispatch && special.preDispatch.call(this, event) === false) {
- return;
- }
-
- // Determine handlers
- handlerQueue = jQuery.event.handlers.call(this, event, handlers);
-
- // Run delegates first; they may want to stop propagation beneath us
- i = 0;
- while ((matched = handlerQueue[i++]) && !event.isPropagationStopped()) {
- event.currentTarget = matched.elem;
-
- j = 0;
- while ((handleObj = matched.handlers[j++]) && !event.isImmediatePropagationStopped()) {
-
- // Triggered event must either 1) have no namespace, or 2) have namespace(s)
- // a subset or equal to those in the bound event (both can have no namespace).
- if (!event.namespace_re || event.namespace_re.test(handleObj.namespace)) {
-
- event.handleObj = handleObj;
- event.data = handleObj.data;
-
- ret = ( (jQuery.event.special[handleObj.origType] || {}).handle || handleObj.handler )
- .apply(matched.elem, args);
-
- if (ret !== undefined) {
- if ((event.result = ret) === false) {
- event.preventDefault();
- event.stopPropagation();
- }
- }
- }
- }
- }
-
- // Call the postDispatch hook for the mapped type
- if (special.postDispatch) {
- special.postDispatch.call(this, event);
- }
-
- return event.result;
- },
-
- handlers: function (event, handlers) {
- var i, matches, sel, handleObj,
- handlerQueue = [],
- delegateCount = handlers.delegateCount,
- cur = event.target;
-
- // Find delegate handlers
- // Black-hole SVG <use> instance trees (#13180)
- // Avoid non-left-click bubbling in Firefox (#3861)
- if (delegateCount && cur.nodeType && (!event.button || event.type !== "click")) {
-
- for (; cur !== this; cur = cur.parentNode || this) {
-
- // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
- if (cur.disabled !== true || event.type !== "click") {
- matches = [];
- for (i = 0; i < delegateCount; i++) {
- handleObj = handlers[i];
-
- // Don't conflict with Object.prototype properties (#13203)
- sel = handleObj.selector + " ";
-
- if (matches[sel] === undefined) {
- matches[sel] = handleObj.needsContext ?
- jQuery(sel, this).index(cur) >= 0 :
- jQuery.find(sel, this, null, [cur]).length;
- }
- if (matches[sel]) {
- matches.push(handleObj);
- }
- }
- if (matches.length) {
- handlerQueue.push({elem: cur, handlers: matches});
- }
- }
- }
- }
-
- // Add the remaining (directly-bound) handlers
- if (delegateCount < handlers.length) {
- handlerQueue.push({elem: this, handlers: handlers.slice(delegateCount)});
- }
-
- return handlerQueue;
- },
-
- // Includes some event props shared by KeyEvent and MouseEvent
- props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
-
- fixHooks: {},
-
- keyHooks: {
- props: "char charCode key keyCode".split(" "),
- filter: function (event, original) {
-
- // Add which for key events
- if (event.which == null) {
- event.which = original.charCode != null ? original.charCode : original.keyCode;
- }
-
- return event;
- }
- },
-
- mouseHooks: {
- props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
- filter: function (event, original) {
- var eventDoc, doc, body,
- button = original.button;
-
- // Calculate pageX/Y if missing and clientX/Y available
- if (event.pageX == null && original.clientX != null) {
- eventDoc = event.target.ownerDocument || document;
- doc = eventDoc.documentElement;
- body = eventDoc.body;
-
- event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );
- event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 );
- }
-
- // Add which for click: 1 === left; 2 === middle; 3 === right
- // Note: button is not normalized, so don't use it
- if (!event.which && button !== undefined) {
- event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );
- }
-
- return event;
- }
- },
-
- fix: function (event) {
- if (event[jQuery.expando]) {
- return event;
- }
-
- // Create a writable copy of the event object and normalize some properties
- var i, prop, copy,
- type = event.type,
- originalEvent = event,
- fixHook = this.fixHooks[type];
-
- if (!fixHook) {
- this.fixHooks[type] = fixHook =
- rmouseEvent.test(type) ? this.mouseHooks :
- rkeyEvent.test(type) ? this.keyHooks :
- {};
- }
- copy = fixHook.props ? this.props.concat(fixHook.props) : this.props;
-
- event = new jQuery.Event(originalEvent);
-
- i = copy.length;
- while (i--) {
- prop = copy[i];
- event[prop] = originalEvent[prop];
- }
-
- // Support: Cordova 2.5 (WebKit) (#13255)
- // All events should have a target; Cordova deviceready doesn't
- if (!event.target) {
- event.target = document;
- }
-
- // Support: Safari 6.0+, Chrome<28
- // Target should not be a text node (#504, #13143)
- if (event.target.nodeType === 3) {
- event.target = event.target.parentNode;
- }
-
- return fixHook.filter ? fixHook.filter(event, originalEvent) : event;
- },
-
- special: {
- load: {
- // Prevent triggered image.load events from bubbling to window.load
- noBubble: true
- },
- focus: {
- // Fire native event if possible so blur/focus sequence is correct
- trigger: function () {
- if (this !== safeActiveElement() && this.focus) {
- this.focus();
- return false;
- }
- },
- delegateType: "focusin"
- },
- blur: {
- trigger: function () {
- if (this === safeActiveElement() && this.blur) {
- this.blur();
- return false;
- }
- },
- delegateType: "focusout"
- },
- click: {
- // For checkbox, fire native event so checked state will be right
- trigger: function () {
- if (this.type === "checkbox" && this.click && jQuery.nodeName(this, "input")) {
- this.click();
- return false;
- }
- },
-
- // For cross-browser consistency, don't fire native .click() on links
- _default: function (event) {
- return jQuery.nodeName(event.target, "a");
- }
- },
-
- beforeunload: {
- postDispatch: function (event) {
-
- // Support: Firefox 20+
- // Firefox doesn't alert if the returnValue field is not set.
- if (event.result !== undefined && event.originalEvent) {
- event.originalEvent.returnValue = event.result;
- }
- }
- }
- },
-
- simulate: function (type, elem, event, bubble) {
- // Piggyback on a donor event to simulate a different one.
- // Fake originalEvent to avoid donor's stopPropagation, but if the
- // simulated event prevents default then we do the same on the donor.
- var e = jQuery.extend(
- new jQuery.Event(),
- event,
- {
- type: type,
- isSimulated: true,
- originalEvent: {}
- }
- );
- if (bubble) {
- jQuery.event.trigger(e, null, elem);
- } else {
- jQuery.event.dispatch.call(elem, e);
- }
- if (e.isDefaultPrevented()) {
- event.preventDefault();
- }
- }
- };
-
- jQuery.removeEvent = function (elem, type, handle) {
- if (elem.removeEventListener) {
- elem.removeEventListener(type, handle, false);
- }
- };
-
- jQuery.Event = function (src, props) {
- // Allow instantiation without the 'new' keyword
- if (!(this instanceof jQuery.Event)) {
- return new jQuery.Event(src, props);
- }
-
- // Event object
- if (src && src.type) {
- this.originalEvent = src;
- this.type = src.type;
-
- // Events bubbling up the document may have been marked as prevented
- // by a handler lower down the tree; reflect the correct value.
- this.isDefaultPrevented = src.defaultPrevented ||
- src.defaultPrevented === undefined &&
- // Support: Android<4.0
- src.returnValue === false ?
- returnTrue :
- returnFalse;
-
- // Event type
- } else {
- this.type = src;
- }
-
- // Put explicitly provided properties onto the event object
- if (props) {
- jQuery.extend(this, props);
- }
-
- // Create a timestamp if incoming event doesn't have one
- this.timeStamp = src && src.timeStamp || jQuery.now();
-
- // Mark it as fixed
- this[jQuery.expando] = true;
- };
-
-// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
-// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
- jQuery.Event.prototype = {
- isDefaultPrevented: returnFalse,
- isPropagationStopped: returnFalse,
- isImmediatePropagationStopped: returnFalse,
-
- preventDefault: function () {
- var e = this.originalEvent;
-
- this.isDefaultPrevented = returnTrue;
-
- if (e && e.preventDefault) {
- e.preventDefault();
- }
- },
- stopPropagation: function () {
- var e = this.originalEvent;
-
- this.isPropagationStopped = returnTrue;
-
- if (e && e.stopPropagation) {
- e.stopPropagation();
- }
- },
- stopImmediatePropagation: function () {
- var e = this.originalEvent;
-
- this.isImmediatePropagationStopped = returnTrue;
-
- if (e && e.stopImmediatePropagation) {
- e.stopImmediatePropagation();
- }
-
- this.stopPropagation();
- }
- };
-
-// Create mouseenter/leave events using mouseover/out and event-time checks
-// Support: Chrome 15+
- jQuery.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout",
- pointerenter: "pointerover",
- pointerleave: "pointerout"
- }, function (orig, fix) {
- jQuery.event.special[orig] = {
- delegateType: fix,
- bindType: fix,
-
- handle: function (event) {
- var ret,
- target = this,
- related = event.relatedTarget,
- handleObj = event.handleObj;
-
- // For mousenter/leave call the handler if related is outside the target.
- // NB: No relatedTarget if the mouse left/entered the browser window
- if (!related || (related !== target && !jQuery.contains(target, related))) {
- event.type = handleObj.origType;
- ret = handleObj.handler.apply(this, arguments);
- event.type = fix;
- }
- return ret;
- }
- };
- });
-
-// Support: Firefox, Chrome, Safari
-// Create "bubbling" focus and blur events
- if (!support.focusinBubbles) {
- jQuery.each({focus: "focusin", blur: "focusout"}, function (orig, fix) {
-
- // Attach a single capturing handler on the document while someone wants focusin/focusout
- var handler = function (event) {
- jQuery.event.simulate(fix, event.target, jQuery.event.fix(event), true);
- };
-
- jQuery.event.special[fix] = {
- setup: function () {
- var doc = this.ownerDocument || this,
- attaches = data_priv.access(doc, fix);
-
- if (!attaches) {
- doc.addEventListener(orig, handler, true);
- }
- data_priv.access(doc, fix, ( attaches || 0 ) + 1);
- },
- teardown: function () {
- var doc = this.ownerDocument || this,
- attaches = data_priv.access(doc, fix) - 1;
-
- if (!attaches) {
- doc.removeEventListener(orig, handler, true);
- data_priv.remove(doc, fix);
-
- } else {
- data_priv.access(doc, fix, attaches);
- }
- }
- };
- });
- }
-
- jQuery.fn.extend({
-
- on: function (types, selector, data, fn, /*INTERNAL*/ one) {
- var origFn, type;
-
- // Types can be a map of types/handlers
- if (typeof types === "object") {
- // ( types-Object, selector, data )
- if (typeof selector !== "string") {
- // ( types-Object, data )
- data = data || selector;
- selector = undefined;
- }
- for (type in types) {
- this.on(type, selector, data, types[type], one);
- }
- return this;
- }
-
- if (data == null && fn == null) {
- // ( types, fn )
- fn = selector;
- data = selector = undefined;
- } else if (fn == null) {
- if (typeof selector === "string") {
- // ( types, selector, fn )
- fn = data;
- data = undefined;
- } else {
- // ( types, data, fn )
- fn = data;
- data = selector;
- selector = undefined;
- }
- }
- if (fn === false) {
- fn = returnFalse;
- } else if (!fn) {
- return this;
- }
-
- if (one === 1) {
- origFn = fn;
- fn = function (event) {
- // Can use an empty set, since event contains the info
- jQuery().off(event);
- return origFn.apply(this, arguments);
- };
- // Use same guid so caller can remove using origFn
- fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
- }
- return this.each(function () {
- jQuery.event.add(this, types, fn, data, selector);
- });
- },
- one: function (types, selector, data, fn) {
- return this.on(types, selector, data, fn, 1);
- },
- off: function (types, selector, fn) {
- var handleObj, type;
- if (types && types.preventDefault && types.handleObj) {
- // ( event ) dispatched jQuery.Event
- handleObj = types.handleObj;
- jQuery(types.delegateTarget).off(
- handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,
- handleObj.selector,
- handleObj.handler
- );
- return this;
- }
- if (typeof types === "object") {
- // ( types-object [, selector] )
- for (type in types) {
- this.off(type, selector, types[type]);
- }
- return this;
- }
- if (selector === false || typeof selector === "function") {
- // ( types [, fn] )
- fn = selector;
- selector = undefined;
- }
- if (fn === false) {
- fn = returnFalse;
- }
- return this.each(function () {
- jQuery.event.remove(this, types, fn, selector);
- });
- },
-
- trigger: function (type, data) {
- return this.each(function () {
- jQuery.event.trigger(type, data, this);
- });
- },
- triggerHandler: function (type, data) {
- var elem = this[0];
- if (elem) {
- return jQuery.event.trigger(type, data, elem, true);
- }
- }
- });
-
-
- var
- rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
- rtagName = /<([\w:]+)/,
- rhtml = /<|&#?\w+;/,
- rnoInnerhtml = /<(?:script|style|link)/i,
- // checked="checked" or checked
- rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
- rscriptType = /^$|\/(?:java|ecma)script/i,
- rscriptTypeMasked = /^true\/(.*)/,
- rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
-
- // We have to close these tags to support XHTML (#13200)
- wrapMap = {
-
- // Support: IE9
- option: [1, "<select multiple='multiple'>", "</select>"],
-
- thead: [1, "<table>", "</table>"],
- col: [2, "<table><colgroup>", "</colgroup></table>"],
- tr: [2, "<table><tbody>", "</tbody></table>"],
- td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
-
- _default: [0, "", ""]
- };
-
-// Support: IE9
- wrapMap.optgroup = wrapMap.option;
-
- wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
- wrapMap.th = wrapMap.td;
-
-// Support: 1.x compatibility
-// Manipulating tables requires a tbody
- function manipulationTarget(elem, content) {
- return jQuery.nodeName(elem, "table") &&
- jQuery.nodeName(content.nodeType !== 11 ? content : content.firstChild, "tr") ?
-
- elem.getElementsByTagName("tbody")[0] ||
- elem.appendChild(elem.ownerDocument.createElement("tbody")) :
- elem;
- }
-
-// Replace/restore the type attribute of script elements for safe DOM manipulation
- function disableScript(elem) {
- elem.type = (elem.getAttribute("type") !== null) + "/" + elem.type;
- return elem;
- }
-
- function restoreScript(elem) {
- var match = rscriptTypeMasked.exec(elem.type);
-
- if (match) {
- elem.type = match[1];
- } else {
- elem.removeAttribute("type");
- }
-
- return elem;
- }
-
-// Mark scripts as having already been evaluated
- function setGlobalEval(elems, refElements) {
- var i = 0,
- l = elems.length;
-
- for (; i < l; i++) {
- data_priv.set(
- elems[i], "globalEval", !refElements || data_priv.get(refElements[i], "globalEval")
- );
- }
- }
-
- function cloneCopyEvent(src, dest) {
- var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events;
-
- if (dest.nodeType !== 1) {
- return;
- }
-
- // 1. Copy private data: events, handlers, etc.
- if (data_priv.hasData(src)) {
- pdataOld = data_priv.access(src);
- pdataCur = data_priv.set(dest, pdataOld);
- events = pdataOld.events;
-
- if (events) {
- delete pdataCur.handle;
- pdataCur.events = {};
-
- for (type in events) {
- for (i = 0, l = events[type].length; i < l; i++) {
- jQuery.event.add(dest, type, events[type][i]);
- }
- }
- }
- }
-
- // 2. Copy user data
- if (data_user.hasData(src)) {
- udataOld = data_user.access(src);
- udataCur = jQuery.extend({}, udataOld);
-
- data_user.set(dest, udataCur);
- }
- }
-
- function getAll(context, tag) {
- var ret = context.getElementsByTagName ? context.getElementsByTagName(tag || "*") :
- context.querySelectorAll ? context.querySelectorAll(tag || "*") :
- [];
-
- return tag === undefined || tag && jQuery.nodeName(context, tag) ?
- jQuery.merge([context], ret) :
- ret;
- }
-
-// Fix IE bugs, see support tests
- function fixInput(src, dest) {
- var nodeName = dest.nodeName.toLowerCase();
-
- // Fails to persist the checked state of a cloned checkbox or radio button.
- if (nodeName === "input" && rcheckableType.test(src.type)) {
- dest.checked = src.checked;
-
- // Fails to return the selected option to the default selected state when cloning options
- } else if (nodeName === "input" || nodeName === "textarea") {
- dest.defaultValue = src.defaultValue;
- }
- }
-
- jQuery.extend({
- clone: function (elem, dataAndEvents, deepDataAndEvents) {
- var i, l, srcElements, destElements,
- clone = elem.cloneNode(true),
- inPage = jQuery.contains(elem.ownerDocument, elem);
-
- // Fix IE cloning issues
- if (!support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && !jQuery.isXMLDoc(elem)) {
-
- // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2
- destElements = getAll(clone);
- srcElements = getAll(elem);
-
- for (i = 0, l = srcElements.length; i < l; i++) {
- fixInput(srcElements[i], destElements[i]);
- }
- }
-
- // Copy the events from the original to the clone
- if (dataAndEvents) {
- if (deepDataAndEvents) {
- srcElements = srcElements || getAll(elem);
- destElements = destElements || getAll(clone);
-
- for (i = 0, l = srcElements.length; i < l; i++) {
- cloneCopyEvent(srcElements[i], destElements[i]);
- }
- } else {
- cloneCopyEvent(elem, clone);
- }
- }
-
- // Preserve script evaluation history
- destElements = getAll(clone, "script");
- if (destElements.length > 0) {
- setGlobalEval(destElements, !inPage && getAll(elem, "script"));
- }
-
- // Return the cloned set
- return clone;
- },
-
- buildFragment: function (elems, context, scripts, selection) {
- var elem, tmp, tag, wrap, contains, j,
- fragment = context.createDocumentFragment(),
- nodes = [],
- i = 0,
- l = elems.length;
-
- for (; i < l; i++) {
- elem = elems[i];
-
- if (elem || elem === 0) {
-
- // Add nodes directly
- if (jQuery.type(elem) === "object") {
- // Support: QtWebKit, PhantomJS
- // push.apply(_, arraylike) throws on ancient WebKit
- jQuery.merge(nodes, elem.nodeType ? [elem] : elem);
-
- // Convert non-html into a text node
- } else if (!rhtml.test(elem)) {
- nodes.push(context.createTextNode(elem));
-
- // Convert html into DOM nodes
- } else {
- tmp = tmp || fragment.appendChild(context.createElement("div"));
-
- // Deserialize a standard representation
- tag = ( rtagName.exec(elem) || ["", ""] )[1].toLowerCase();
- wrap = wrapMap[tag] || wrapMap._default;
- tmp.innerHTML = wrap[1] + elem.replace(rxhtmlTag, "<$1></$2>") + wrap[2];
-
- // Descend through wrappers to the right content
- j = wrap[0];
- while (j--) {
- tmp = tmp.lastChild;
- }
-
- // Support: QtWebKit, PhantomJS
- // push.apply(_, arraylike) throws on ancient WebKit
- jQuery.merge(nodes, tmp.childNodes);
-
- // Remember the top-level container
- tmp = fragment.firstChild;
-
- // Ensure the created nodes are orphaned (#12392)
- tmp.textContent = "";
- }
- }
- }
-
- // Remove wrapper from fragment
- fragment.textContent = "";
-
- i = 0;
- while ((elem = nodes[i++])) {
-
- // #4087 - If origin and destination elements are the same, and this is
- // that element, do not do anything
- if (selection && jQuery.inArray(elem, selection) !== -1) {
- continue;
- }
-
- contains = jQuery.contains(elem.ownerDocument, elem);
-
- // Append to fragment
- tmp = getAll(fragment.appendChild(elem), "script");
-
- // Preserve script evaluation history
- if (contains) {
- setGlobalEval(tmp);
- }
-
- // Capture executables
- if (scripts) {
- j = 0;
- while ((elem = tmp[j++])) {
- if (rscriptType.test(elem.type || "")) {
- scripts.push(elem);
- }
- }
- }
- }
-
- return fragment;
- },
-
- cleanData: function (elems) {
- var data, elem, type, key,
- special = jQuery.event.special,
- i = 0;
-
- for (; (elem = elems[i]) !== undefined; i++) {
- if (jQuery.acceptData(elem)) {
- key = elem[data_priv.expando];
-
- if (key && (data = data_priv.cache[key])) {
- if (data.events) {
- for (type in data.events) {
- if (special[type]) {
- jQuery.event.remove(elem, type);
-
- // This is a shortcut to avoid jQuery.event.remove's overhead
- } else {
- jQuery.removeEvent(elem, type, data.handle);
- }
- }
- }
- if (data_priv.cache[key]) {
- // Discard any remaining `private` data
- delete data_priv.cache[key];
- }
- }
- }
- // Discard any remaining `user` data
- delete data_user.cache[elem[data_user.expando]];
- }
- }
- });
-
- jQuery.fn.extend({
- text: function (value) {
- return access(this, function (value) {
- return value === undefined ?
- jQuery.text(this) :
- this.empty().each(function () {
- if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
- this.textContent = value;
- }
- });
- }, null, value, arguments.length);
- },
-
- append: function () {
- return this.domManip(arguments, function (elem) {
- if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
- var target = manipulationTarget(this, elem);
- target.appendChild(elem);
- }
- });
- },
-
- prepend: function () {
- return this.domManip(arguments, function (elem) {
- if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
- var target = manipulationTarget(this, elem);
- target.insertBefore(elem, target.firstChild);
- }
- });
- },
-
- before: function () {
- return this.domManip(arguments, function (elem) {
- if (this.parentNode) {
- this.parentNode.insertBefore(elem, this);
- }
- });
- },
-
- after: function () {
- return this.domManip(arguments, function (elem) {
- if (this.parentNode) {
- this.parentNode.insertBefore(elem, this.nextSibling);
- }
- });
- },
-
- remove: function (selector, keepData /* Internal Use Only */) {
- var elem,
- elems = selector ? jQuery.filter(selector, this) : this,
- i = 0;
-
- for (; (elem = elems[i]) != null; i++) {
- if (!keepData && elem.nodeType === 1) {
- jQuery.cleanData(getAll(elem));
- }
-
- if (elem.parentNode) {
- if (keepData && jQuery.contains(elem.ownerDocument, elem)) {
- setGlobalEval(getAll(elem, "script"));
- }
- elem.parentNode.removeChild(elem);
- }
- }
-
- return this;
- },
-
- empty: function () {
- var elem,
- i = 0;
-
- for (; (elem = this[i]) != null; i++) {
- if (elem.nodeType === 1) {
-
- // Prevent memory leaks
- jQuery.cleanData(getAll(elem, false));
-
- // Remove any remaining nodes
- elem.textContent = "";
- }
- }
-
- return this;
- },
-
- clone: function (dataAndEvents, deepDataAndEvents) {
- dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
- deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
-
- return this.map(function () {
- return jQuery.clone(this, dataAndEvents, deepDataAndEvents);
- });
- },
-
- html: function (value) {
- return access(this, function (value) {
- var elem = this[0] || {},
- i = 0,
- l = this.length;
-
- if (value === undefined && elem.nodeType === 1) {
- return elem.innerHTML;
- }
-
- // See if we can take a shortcut and just use innerHTML
- if (typeof value === "string" && !rnoInnerhtml.test(value) && !wrapMap[( rtagName.exec(value) || ["", ""] )[1].toLowerCase()]) {
-
- value = value.replace(rxhtmlTag, "<$1></$2>");
-
- try {
- for (; i < l; i++) {
- elem = this[i] || {};
-
- // Remove element nodes and prevent memory leaks
- if (elem.nodeType === 1) {
- jQuery.cleanData(getAll(elem, false));
- elem.innerHTML = value;
- }
- }
-
- elem = 0;
-
- // If using innerHTML throws an exception, use the fallback method
- } catch (e) {
- }
- }
-
- if (elem) {
- this.empty().append(value);
- }
- }, null, value, arguments.length);
- },
-
- replaceWith: function () {
- var arg = arguments[0];
-
- // Make the changes, replacing each context element with the new content
- this.domManip(arguments, function (elem) {
- arg = this.parentNode;
-
- jQuery.cleanData(getAll(this));
-
- if (arg) {
- arg.replaceChild(elem, this);
- }
- });
-
- // Force removal if there was no new content (e.g., from empty arguments)
- return arg && (arg.length || arg.nodeType) ? this : this.remove();
- },
-
- detach: function (selector) {
- return this.remove(selector, true);
- },
-
- domManip: function (args, callback) {
-
- // Flatten any nested arrays
- args = concat.apply([], args);
-
- var fragment, first, scripts, hasScripts, node, doc,
- i = 0,
- l = this.length,
- set = this,
- iNoClone = l - 1,
- value = args[0],
- isFunction = jQuery.isFunction(value);
-
- // We can't cloneNode fragments that contain checked, in WebKit
- if (isFunction ||
- ( l > 1 && typeof value === "string" && !support.checkClone && rchecked.test(value) )) {
- return this.each(function (index) {
- var self = set.eq(index);
- if (isFunction) {
- args[0] = value.call(this, index, self.html());
- }
- self.domManip(args, callback);
- });
- }
-
- if (l) {
- fragment = jQuery.buildFragment(args, this[0].ownerDocument, false, this);
- first = fragment.firstChild;
-
- if (fragment.childNodes.length === 1) {
- fragment = first;
- }
-
- if (first) {
- scripts = jQuery.map(getAll(fragment, "script"), disableScript);
- hasScripts = scripts.length;
-
- // Use the original fragment for the last item instead of the first because it can end up
- // being emptied incorrectly in certain situations (#8070).
- for (; i < l; i++) {
- node = fragment;
-
- if (i !== iNoClone) {
- node = jQuery.clone(node, true, true);
-
- // Keep references to cloned scripts for later restoration
- if (hasScripts) {
- // Support: QtWebKit
- // jQuery.merge because push.apply(_, arraylike) throws
- jQuery.merge(scripts, getAll(node, "script"));
- }
- }
-
- callback.call(this[i], node, i);
- }
-
- if (hasScripts) {
- doc = scripts[scripts.length - 1].ownerDocument;
-
- // Reenable scripts
- jQuery.map(scripts, restoreScript);
-
- // Evaluate executable scripts on first document insertion
- for (i = 0; i < hasScripts; i++) {
- node = scripts[i];
- if (rscriptType.test(node.type || "") && !data_priv.access(node, "globalEval") && jQuery.contains(doc, node)) {
-
- if (node.src) {
- // Optional AJAX dependency, but won't run scripts if not present
- if (jQuery._evalUrl) {
- jQuery._evalUrl(node.src);
- }
- } else {
- jQuery.globalEval(node.textContent.replace(rcleanScript, ""));
- }
- }
- }
- }
- }
- }
-
- return this;
- }
- });
-
- jQuery.each({
- appendTo: "append",
- prependTo: "prepend",
- insertBefore: "before",
- insertAfter: "after",
- replaceAll: "replaceWith"
- }, function (name, original) {
- jQuery.fn[name] = function (selector) {
- var elems,
- ret = [],
- insert = jQuery(selector),
- last = insert.length - 1,
- i = 0;
-
- for (; i <= last; i++) {
- elems = i === last ? this : this.clone(true);
- jQuery(insert[i])[original](elems);
-
- // Support: QtWebKit
- // .get() because push.apply(_, arraylike) throws
- push.apply(ret, elems.get());
- }
-
- return this.pushStack(ret);
- };
- });
-
-
- var iframe,
- elemdisplay = {};
-
- /**
- * Retrieve the actual display of a element
- * @param {String} name nodeName of the element
- * @param {Object} doc Document object
- */
-// Called only from within defaultDisplay
- function actualDisplay(name, doc) {
- var style,
- elem = jQuery(doc.createElement(name)).appendTo(doc.body),
-
- // getDefaultComputedStyle might be reliably used only on attached element
- display = window.getDefaultComputedStyle && ( style = window.getDefaultComputedStyle(elem[0]) ) ?
-
- // Use of this method is a temporary fix (more like optimization) until something better comes along,
- // since it was removed from specification and supported only in FF
- style.display : jQuery.css(elem[0], "display");
-
- // We don't have any data stored on the element,
- // so use "detach" method as fast way to get rid of the element
- elem.detach();
-
- return display;
- }
-
- /**
- * Try to determine the default display value of an element
- * @param {String} nodeName
- */
- function defaultDisplay(nodeName) {
- var doc = document,
- display = elemdisplay[nodeName];
-
- if (!display) {
- display = actualDisplay(nodeName, doc);
-
- // If the simple way fails, read from inside an iframe
- if (display === "none" || !display) {
-
- // Use the already-created iframe if possible
- iframe = (iframe || jQuery("<iframe frameborder='0' width='0' height='0'/>")).appendTo(doc.documentElement);
-
- // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse
- doc = iframe[0].contentDocument;
-
- // Support: IE
- doc.write();
- doc.close();
-
- display = actualDisplay(nodeName, doc);
- iframe.detach();
- }
-
- // Store the correct default display
- elemdisplay[nodeName] = display;
- }
-
- return display;
- }
-
- var rmargin = (/^margin/);
-
- var rnumnonpx = new RegExp("^(" + pnum + ")(?!px)[a-z%]+$", "i");
-
- var getStyles = function (elem) {
- // Support: IE<=11+, Firefox<=30+ (#15098, #14150)
- // IE throws on elements created in popups
- // FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
- if (elem.ownerDocument.defaultView.opener) {
- return elem.ownerDocument.defaultView.getComputedStyle(elem, null);
- }
-
- return window.getComputedStyle(elem, null);
- };
-
-
- function curCSS(elem, name, computed) {
- var width, minWidth, maxWidth, ret,
- style = elem.style;
-
- computed = computed || getStyles(elem);
-
- // Support: IE9
- // getPropertyValue is only needed for .css('filter') (#12537)
- if (computed) {
- ret = computed.getPropertyValue(name) || computed[name];
- }
-
- if (computed) {
-
- if (ret === "" && !jQuery.contains(elem.ownerDocument, elem)) {
- ret = jQuery.style(elem, name);
- }
-
- // Support: iOS < 6
- // A tribute to the "awesome hack by Dean Edwards"
- // iOS < 6 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
- // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
- if (rnumnonpx.test(ret) && rmargin.test(name)) {
-
- // Remember the original values
- width = style.width;
- minWidth = style.minWidth;
- maxWidth = style.maxWidth;
-
- // Put in the new values to get a computed value out
- style.minWidth = style.maxWidth = style.width = ret;
- ret = computed.width;
-
- // Revert the changed values
- style.width = width;
- style.minWidth = minWidth;
- style.maxWidth = maxWidth;
- }
- }
-
- return ret !== undefined ?
- // Support: IE
- // IE returns zIndex value as an integer.
- ret + "" :
- ret;
- }
-
-
- function addGetHookIf(conditionFn, hookFn) {
- // Define the hook, we'll check on the first run if it's really needed.
- return {
- get: function () {
- if (conditionFn()) {
- // Hook not needed (or it's not possible to use it due
- // to missing dependency), remove it.
- delete this.get;
- return;
- }
-
- // Hook needed; redefine it so that the support test is not executed again.
- return (this.get = hookFn).apply(this, arguments);
- }
- };
- }
-
-
- (function () {
- var pixelPositionVal, boxSizingReliableVal,
- docElem = document.documentElement,
- container = document.createElement("div"),
- div = document.createElement("div");
-
- if (!div.style) {
- return;
- }
-
- // Support: IE9-11+
- // Style of cloned element affects source element cloned (#8908)
- div.style.backgroundClip = "content-box";
- div.cloneNode(true).style.backgroundClip = "";
- support.clearCloneStyle = div.style.backgroundClip === "content-box";
-
- container.style.cssText = "border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;" +
- "position:absolute";
- container.appendChild(div);
-
- // Executing both pixelPosition & boxSizingReliable tests require only one layout
- // so they're executed at the same time to save the second computation.
- function computePixelPositionAndBoxSizingReliable() {
- div.style.cssText =
- // Support: Firefox<29, Android 2.3
- // Vendor-prefix box-sizing
- "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;" +
- "box-sizing:border-box;display:block;margin-top:1%;top:1%;" +
- "border:1px;padding:1px;width:4px;position:absolute";
- div.innerHTML = "";
- docElem.appendChild(container);
-
- var divStyle = window.getComputedStyle(div, null);
- pixelPositionVal = divStyle.top !== "1%";
- boxSizingReliableVal = divStyle.width === "4px";
-
- docElem.removeChild(container);
- }
-
- // Support: node.js jsdom
- // Don't assume that getComputedStyle is a property of the global object
- if (window.getComputedStyle) {
- jQuery.extend(support, {
- pixelPosition: function () {
-
- // This test is executed only once but we still do memoizing
- // since we can use the boxSizingReliable pre-computing.
- // No need to check if the test was already performed, though.
- computePixelPositionAndBoxSizingReliable();
- return pixelPositionVal;
- },
- boxSizingReliable: function () {
- if (boxSizingReliableVal == null) {
- computePixelPositionAndBoxSizingReliable();
- }
- return boxSizingReliableVal;
- },
- reliableMarginRight: function () {
-
- // Support: Android 2.3
- // Check if div with explicit width and no margin-right incorrectly
- // gets computed margin-right based on width of container. (#3333)
- // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
- // This support function is only executed once so no memoizing is needed.
- var ret,
- marginDiv = div.appendChild(document.createElement("div"));
-
- // Reset CSS: box-sizing; display; margin; border; padding
- marginDiv.style.cssText = div.style.cssText =
- // Support: Firefox<29, Android 2.3
- // Vendor-prefix box-sizing
- "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;" +
- "box-sizing:content-box;display:block;margin:0;border:0;padding:0";
- marginDiv.style.marginRight = marginDiv.style.width = "0";
- div.style.width = "1px";
- docElem.appendChild(container);
-
- ret = !parseFloat(window.getComputedStyle(marginDiv, null).marginRight);
-
- docElem.removeChild(container);
- div.removeChild(marginDiv);
-
- return ret;
- }
- });
- }
- })();
-
-
-// A method for quickly swapping in/out CSS properties to get correct calculations.
- jQuery.swap = function (elem, options, callback, args) {
- var ret, name,
- old = {};
-
- // Remember the old values, and insert the new ones
- for (name in options) {
- old[name] = elem.style[name];
- elem.style[name] = options[name];
- }
-
- ret = callback.apply(elem, args || []);
-
- // Revert the old values
- for (name in options) {
- elem.style[name] = old[name];
- }
-
- return ret;
- };
-
-
- var
- // Swappable if display is none or starts with table except "table", "table-cell", or "table-caption"
- // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
- rdisplayswap = /^(none|table(?!-c[ea]).+)/,
- rnumsplit = new RegExp("^(" + pnum + ")(.*)$", "i"),
- rrelNum = new RegExp("^([+-])=(" + pnum + ")", "i"),
-
- cssShow = {position: "absolute", visibility: "hidden", display: "block"},
- cssNormalTransform = {
- letterSpacing: "0",
- fontWeight: "400"
- },
-
- cssPrefixes = ["Webkit", "O", "Moz", "ms"];
-
-// Return a css property mapped to a potentially vendor prefixed property
- function vendorPropName(style, name) {
-
- // Shortcut for names that are not vendor prefixed
- if (name in style) {
- return name;
- }
-
- // Check for vendor prefixed names
- var capName = name[0].toUpperCase() + name.slice(1),
- origName = name,
- i = cssPrefixes.length;
-
- while (i--) {
- name = cssPrefixes[i] + capName;
- if (name in style) {
- return name;
- }
- }
-
- return origName;
- }
-
- function setPositiveNumber(elem, value, subtract) {
- var matches = rnumsplit.exec(value);
- return matches ?
- // Guard against undefined "subtract", e.g., when used as in cssHooks
- Math.max(0, matches[1] - ( subtract || 0 )) + ( matches[2] || "px" ) :
- value;
- }
-
- function augmentWidthOrHeight(elem, name, extra, isBorderBox, styles) {
- var i = extra === ( isBorderBox ? "border" : "content" ) ?
- // If we already have the right measurement, avoid augmentation
- 4 :
- // Otherwise initialize for horizontal or vertical properties
- name === "width" ? 1 : 0,
-
- val = 0;
-
- for (; i < 4; i += 2) {
- // Both box models exclude margin, so add it if we want it
- if (extra === "margin") {
- val += jQuery.css(elem, extra + cssExpand[i], true, styles);
- }
-
- if (isBorderBox) {
- // border-box includes padding, so remove it if we want content
- if (extra === "content") {
- val -= jQuery.css(elem, "padding" + cssExpand[i], true, styles);
- }
-
- // At this point, extra isn't border nor margin, so remove border
- if (extra !== "margin") {
- val -= jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles);
- }
- } else {
- // At this point, extra isn't content, so add padding
- val += jQuery.css(elem, "padding" + cssExpand[i], true, styles);
-
- // At this point, extra isn't content nor padding, so add border
- if (extra !== "padding") {
- val += jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles);
- }
- }
- }
-
- return val;
- }
-
- function getWidthOrHeight(elem, name, extra) {
-
- // Start with offset property, which is equivalent to the border-box value
- var valueIsBorderBox = true,
- val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
- styles = getStyles(elem),
- isBorderBox = jQuery.css(elem, "boxSizing", false, styles) === "border-box";
-
- // Some non-html elements return undefined for offsetWidth, so check for null/undefined
- // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
- // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668
- if (val <= 0 || val == null) {
- // Fall back to computed then uncomputed css if necessary
- val = curCSS(elem, name, styles);
- if (val < 0 || val == null) {
- val = elem.style[name];
- }
-
- // Computed unit is not pixels. Stop here and return.
- if (rnumnonpx.test(val)) {
- return val;
- }
-
- // Check for style in case a browser which returns unreliable values
- // for getComputedStyle silently falls back to the reliable elem.style
- valueIsBorderBox = isBorderBox &&
- ( support.boxSizingReliable() || val === elem.style[name] );
-
- // Normalize "", auto, and prepare for extra
- val = parseFloat(val) || 0;
- }
-
- // Use the active box-sizing model to add/subtract irrelevant styles
- return ( val +
- augmentWidthOrHeight(
- elem,
- name,
- extra || ( isBorderBox ? "border" : "content" ),
- valueIsBorderBox,
- styles
- )
- ) + "px";
- }
-
- function showHide(elements, show) {
- var display, elem, hidden,
- values = [],
- index = 0,
- length = elements.length;
-
- for (; index < length; index++) {
- elem = elements[index];
- if (!elem.style) {
- continue;
- }
-
- values[index] = data_priv.get(elem, "olddisplay");
- display = elem.style.display;
- if (show) {
- // Reset the inline display of this element to learn if it is
- // being hidden by cascaded rules or not
- if (!values[index] && display === "none") {
- elem.style.display = "";
- }
-
- // Set elements which have been overridden with display: none
- // in a stylesheet to whatever the default browser style is
- // for such an element
- if (elem.style.display === "" && isHidden(elem)) {
- values[index] = data_priv.access(elem, "olddisplay", defaultDisplay(elem.nodeName));
- }
- } else {
- hidden = isHidden(elem);
-
- if (display !== "none" || !hidden) {
- data_priv.set(elem, "olddisplay", hidden ? display : jQuery.css(elem, "display"));
- }
- }
- }
-
- // Set the display of most of the elements in a second loop
- // to avoid the constant reflow
- for (index = 0; index < length; index++) {
- elem = elements[index];
- if (!elem.style) {
- continue;
- }
- if (!show || elem.style.display === "none" || elem.style.display === "") {
- elem.style.display = show ? values[index] || "" : "none";
- }
- }
-
- return elements;
- }
-
- jQuery.extend({
-
- // Add in style property hooks for overriding the default
- // behavior of getting and setting a style property
- cssHooks: {
- opacity: {
- get: function (elem, computed) {
- if (computed) {
-
- // We should always get a number back from opacity
- var ret = curCSS(elem, "opacity");
- return ret === "" ? "1" : ret;
- }
- }
- }
- },
-
- // Don't automatically add "px" to these possibly-unitless properties
- cssNumber: {
- "columnCount": true,
- "fillOpacity": true,
- "flexGrow": true,
- "flexShrink": true,
- "fontWeight": true,
- "lineHeight": true,
- "opacity": true,
- "order": true,
- "orphans": true,
- "widows": true,
- "zIndex": true,
- "zoom": true
- },
-
- // Add in properties whose names you wish to fix before
- // setting or getting the value
- cssProps: {
- "float": "cssFloat"
- },
-
- // Get and set the style property on a DOM Node
- style: function (elem, name, value, extra) {
-
- // Don't set styles on text and comment nodes
- if (!elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style) {
- return;
- }
-
- // Make sure that we're working with the right name
- var ret, type, hooks,
- origName = jQuery.camelCase(name),
- style = elem.style;
-
- name = jQuery.cssProps[origName] || ( jQuery.cssProps[origName] = vendorPropName(style, origName) );
-
- // Gets hook for the prefixed version, then unprefixed version
- hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];
-
- // Check if we're setting a value
- if (value !== undefined) {
- type = typeof value;
-
- // Convert "+=" or "-=" to relative numbers (#7345)
- if (type === "string" && (ret = rrelNum.exec(value))) {
- value = ( ret[1] + 1 ) * ret[2] + parseFloat(jQuery.css(elem, name));
- // Fixes bug #9237
- type = "number";
- }
-
- // Make sure that null and NaN values aren't set (#7116)
- if (value == null || value !== value) {
- return;
- }
-
- // If a number, add 'px' to the (except for certain CSS properties)
- if (type === "number" && !jQuery.cssNumber[origName]) {
- value += "px";
- }
-
- // Support: IE9-11+
- // background-* props affect original clone's values
- if (!support.clearCloneStyle && value === "" && name.indexOf("background") === 0) {
- style[name] = "inherit";
- }
-
- // If a hook was provided, use that value, otherwise just set the specified value
- if (!hooks || !("set" in hooks) || (value = hooks.set(elem, value, extra)) !== undefined) {
- style[name] = value;
- }
-
- } else {
- // If a hook was provided get the non-computed value from there
- if (hooks && "get" in hooks && (ret = hooks.get(elem, false, extra)) !== undefined) {
- return ret;
- }
-
- // Otherwise just get the value from the style object
- return style[name];
- }
- },
-
- css: function (elem, name, extra, styles) {
- var val, num, hooks,
- origName = jQuery.camelCase(name);
-
- // Make sure that we're working with the right name
- name = jQuery.cssProps[origName] || ( jQuery.cssProps[origName] = vendorPropName(elem.style, origName) );
-
- // Try prefixed name followed by the unprefixed name
- hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];
-
- // If a hook was provided get the computed value from there
- if (hooks && "get" in hooks) {
- val = hooks.get(elem, true, extra);
- }
-
- // Otherwise, if a way to get the computed value exists, use that
- if (val === undefined) {
- val = curCSS(elem, name, styles);
- }
-
- // Convert "normal" to computed value
- if (val === "normal" && name in cssNormalTransform) {
- val = cssNormalTransform[name];
- }
-
- // Make numeric if forced or a qualifier was provided and val looks numeric
- if (extra === "" || extra) {
- num = parseFloat(val);
- return extra === true || jQuery.isNumeric(num) ? num || 0 : val;
- }
- return val;
- }
- });
-
- jQuery.each(["height", "width"], function (i, name) {
- jQuery.cssHooks[name] = {
- get: function (elem, computed, extra) {
- if (computed) {
-
- // Certain elements can have dimension info if we invisibly show them
- // but it must have a current display style that would benefit
- return rdisplayswap.test(jQuery.css(elem, "display")) && elem.offsetWidth === 0 ?
- jQuery.swap(elem, cssShow, function () {
- return getWidthOrHeight(elem, name, extra);
- }) :
- getWidthOrHeight(elem, name, extra);
- }
- },
-
- set: function (elem, value, extra) {
- var styles = extra && getStyles(elem);
- return setPositiveNumber(elem, value, extra ?
- augmentWidthOrHeight(
- elem,
- name,
- extra,
- jQuery.css(elem, "boxSizing", false, styles) === "border-box",
- styles
- ) : 0
- );
- }
- };
- });
-
-// Support: Android 2.3
- jQuery.cssHooks.marginRight = addGetHookIf(support.reliableMarginRight,
- function (elem, computed) {
- if (computed) {
- return jQuery.swap(elem, {"display": "inline-block"},
- curCSS, [elem, "marginRight"]);
- }
- }
- );
-
-// These hooks are used by animate to expand properties
- jQuery.each({
- margin: "",
- padding: "",
- border: "Width"
- }, function (prefix, suffix) {
- jQuery.cssHooks[prefix + suffix] = {
- expand: function (value) {
- var i = 0,
- expanded = {},
-
- // Assumes a single number if not a string
- parts = typeof value === "string" ? value.split(" ") : [value];
-
- for (; i < 4; i++) {
- expanded[prefix + cssExpand[i] + suffix] =
- parts[i] || parts[i - 2] || parts[0];
- }
-
- return expanded;
- }
- };
-
- if (!rmargin.test(prefix)) {
- jQuery.cssHooks[prefix + suffix].set = setPositiveNumber;
- }
- });
-
- jQuery.fn.extend({
- css: function (name, value) {
- return access(this, function (elem, name, value) {
- var styles, len,
- map = {},
- i = 0;
-
- if (jQuery.isArray(name)) {
- styles = getStyles(elem);
- len = name.length;
-
- for (; i < len; i++) {
- map[name[i]] = jQuery.css(elem, name[i], false, styles);
- }
-
- return map;
- }
-
- return value !== undefined ?
- jQuery.style(elem, name, value) :
- jQuery.css(elem, name);
- }, name, value, arguments.length > 1);
- },
- show: function () {
- return showHide(this, true);
- },
- hide: function () {
- return showHide(this);
- },
- toggle: function (state) {
- if (typeof state === "boolean") {
- return state ? this.show() : this.hide();
- }
-
- return this.each(function () {
- if (isHidden(this)) {
- jQuery(this).show();
- } else {
- jQuery(this).hide();
- }
- });
- }
- });
-
-
- function Tween(elem, options, prop, end, easing) {
- return new Tween.prototype.init(elem, options, prop, end, easing);
- }
-
- jQuery.Tween = Tween;
-
- Tween.prototype = {
- constructor: Tween,
- init: function (elem, options, prop, end, easing, unit) {
- this.elem = elem;
- this.prop = prop;
- this.easing = easing || "swing";
- this.options = options;
- this.start = this.now = this.cur();
- this.end = end;
- this.unit = unit || ( jQuery.cssNumber[prop] ? "" : "px" );
- },
- cur: function () {
- var hooks = Tween.propHooks[this.prop];
-
- return hooks && hooks.get ?
- hooks.get(this) :
- Tween.propHooks._default.get(this);
- },
- run: function (percent) {
- var eased,
- hooks = Tween.propHooks[this.prop];
-
- if (this.options.duration) {
- this.pos = eased = jQuery.easing[this.easing](
- percent, this.options.duration * percent, 0, 1, this.options.duration
- );
- } else {
- this.pos = eased = percent;
- }
- this.now = ( this.end - this.start ) * eased + this.start;
-
- if (this.options.step) {
- this.options.step.call(this.elem, this.now, this);
- }
-
- if (hooks && hooks.set) {
- hooks.set(this);
- } else {
- Tween.propHooks._default.set(this);
- }
- return this;
- }
- };
-
- Tween.prototype.init.prototype = Tween.prototype;
-
- Tween.propHooks = {
- _default: {
- get: function (tween) {
- var result;
-
- if (tween.elem[tween.prop] != null &&
- (!tween.elem.style || tween.elem.style[tween.prop] == null)) {
- return tween.elem[tween.prop];
- }
-
- // Passing an empty string as a 3rd parameter to .css will automatically
- // attempt a parseFloat and fallback to a string if the parse fails.
- // Simple values such as "10px" are parsed to Float;
- // complex values such as "rotate(1rad)" are returned as-is.
- result = jQuery.css(tween.elem, tween.prop, "");
- // Empty strings, null, undefined and "auto" are converted to 0.
- return !result || result === "auto" ? 0 : result;
- },
- set: function (tween) {
- // Use step hook for back compat.
- // Use cssHook if its there.
- // Use .style if available and use plain properties where available.
- if (jQuery.fx.step[tween.prop]) {
- jQuery.fx.step[tween.prop](tween);
- } else if (tween.elem.style && ( tween.elem.style[jQuery.cssProps[tween.prop]] != null || jQuery.cssHooks[tween.prop] )) {
- jQuery.style(tween.elem, tween.prop, tween.now + tween.unit);
- } else {
- tween.elem[tween.prop] = tween.now;
- }
- }
- }
- };
-
-// Support: IE9
-// Panic based approach to setting things on disconnected nodes
- Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
- set: function (tween) {
- if (tween.elem.nodeType && tween.elem.parentNode) {
- tween.elem[tween.prop] = tween.now;
- }
- }
- };
-
- jQuery.easing = {
- linear: function (p) {
- return p;
- },
- swing: function (p) {
- return 0.5 - Math.cos(p * Math.PI) / 2;
- }
- };
-
- jQuery.fx = Tween.prototype.init;
-
-// Back Compat <1.8 extension point
- jQuery.fx.step = {};
-
-
- var
- fxNow, timerId,
- rfxtypes = /^(?:toggle|show|hide)$/,
- rfxnum = new RegExp("^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i"),
- rrun = /queueHooks$/,
- animationPrefilters = [defaultPrefilter],
- tweeners = {
- "*": [function (prop, value) {
- var tween = this.createTween(prop, value),
- target = tween.cur(),
- parts = rfxnum.exec(value),
- unit = parts && parts[3] || ( jQuery.cssNumber[prop] ? "" : "px" ),
-
- // Starting value computation is required for potential unit mismatches
- start = ( jQuery.cssNumber[prop] || unit !== "px" && +target ) &&
- rfxnum.exec(jQuery.css(tween.elem, prop)),
- scale = 1,
- maxIterations = 20;
-
- if (start && start[3] !== unit) {
- // Trust units reported by jQuery.css
- unit = unit || start[3];
-
- // Make sure we update the tween properties later on
- parts = parts || [];
-
- // Iteratively approximate from a nonzero starting point
- start = +target || 1;
-
- do {
- // If previous iteration zeroed out, double until we get *something*.
- // Use string for doubling so we don't accidentally see scale as unchanged below
- scale = scale || ".5";
-
- // Adjust and apply
- start = start / scale;
- jQuery.style(tween.elem, prop, start + unit);
-
- // Update scale, tolerating zero or NaN from tween.cur(),
- // break the loop if scale is unchanged or perfect, or if we've just had enough
- } while (scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations);
- }
-
- // Update tween properties
- if (parts) {
- start = tween.start = +start || +target || 0;
- tween.unit = unit;
- // If a +=/-= token was provided, we're doing a relative animation
- tween.end = parts[1] ?
- start + ( parts[1] + 1 ) * parts[2] :
- +parts[2];
- }
-
- return tween;
- }]
- };
-
-// Animations created synchronously will run synchronously
- function createFxNow() {
- setTimeout(function () {
- fxNow = undefined;
- });
- return ( fxNow = jQuery.now() );
- }
-
-// Generate parameters to create a standard animation
- function genFx(type, includeWidth) {
- var which,
- i = 0,
- attrs = {height: type};
-
- // If we include width, step value is 1 to do all cssExpand values,
- // otherwise step value is 2 to skip over Left and Right
- includeWidth = includeWidth ? 1 : 0;
- for (; i < 4; i += 2 - includeWidth) {
- which = cssExpand[i];
- attrs["margin" + which] = attrs["padding" + which] = type;
- }
-
- if (includeWidth) {
- attrs.opacity = attrs.width = type;
- }
-
- return attrs;
- }
-
- function createTween(value, prop, animation) {
- var tween,
- collection = ( tweeners[prop] || [] ).concat(tweeners["*"]),
- index = 0,
- length = collection.length;
- for (; index < length; index++) {
- if ((tween = collection[index].call(animation, prop, value))) {
-
- // We're done with this property
- return tween;
- }
- }
- }
-
- function defaultPrefilter(elem, props, opts) {
- /* jshint validthis: true */
- var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
- anim = this,
- orig = {},
- style = elem.style,
- hidden = elem.nodeType && isHidden(elem),
- dataShow = data_priv.get(elem, "fxshow");
-
- // Handle queue: false promises
- if (!opts.queue) {
- hooks = jQuery._queueHooks(elem, "fx");
- if (hooks.unqueued == null) {
- hooks.unqueued = 0;
- oldfire = hooks.empty.fire;
- hooks.empty.fire = function () {
- if (!hooks.unqueued) {
- oldfire();
- }
- };
- }
- hooks.unqueued++;
-
- anim.always(function () {
- // Ensure the complete handler is called before this completes
- anim.always(function () {
- hooks.unqueued--;
- if (!jQuery.queue(elem, "fx").length) {
- hooks.empty.fire();
- }
- });
- });
- }
-
- // Height/width overflow pass
- if (elem.nodeType === 1 && ( "height" in props || "width" in props )) {
- // Make sure that nothing sneaks out
- // Record all 3 overflow attributes because IE9-10 do not
- // change the overflow attribute when overflowX and
- // overflowY are set to the same value
- opts.overflow = [style.overflow, style.overflowX, style.overflowY];
-
- // Set display property to inline-block for height/width
- // animations on inline elements that are having width/height animated
- display = jQuery.css(elem, "display");
-
- // Test default display if display is currently "none"
- checkDisplay = display === "none" ?
- data_priv.get(elem, "olddisplay") || defaultDisplay(elem.nodeName) : display;
-
- if (checkDisplay === "inline" && jQuery.css(elem, "float") === "none") {
- style.display = "inline-block";
- }
- }
-
- if (opts.overflow) {
- style.overflow = "hidden";
- anim.always(function () {
- style.overflow = opts.overflow[0];
- style.overflowX = opts.overflow[1];
- style.overflowY = opts.overflow[2];
- });
- }
-
- // show/hide pass
- for (prop in props) {
- value = props[prop];
- if (rfxtypes.exec(value)) {
- delete props[prop];
- toggle = toggle || value === "toggle";
- if (value === ( hidden ? "hide" : "show" )) {
-
- // If there is dataShow left over from a stopped hide or show and we are going to proceed with show, we should pretend to be hidden
- if (value === "show" && dataShow && dataShow[prop] !== undefined) {
- hidden = true;
- } else {
- continue;
- }
- }
- orig[prop] = dataShow && dataShow[prop] || jQuery.style(elem, prop);
-
- // Any non-fx value stops us from restoring the original display value
- } else {
- display = undefined;
- }
- }
-
- if (!jQuery.isEmptyObject(orig)) {
- if (dataShow) {
- if ("hidden" in dataShow) {
- hidden = dataShow.hidden;
- }
- } else {
- dataShow = data_priv.access(elem, "fxshow", {});
- }
-
- // Store state if its toggle - enables .stop().toggle() to "reverse"
- if (toggle) {
- dataShow.hidden = !hidden;
- }
- if (hidden) {
- jQuery(elem).show();
- } else {
- anim.done(function () {
- jQuery(elem).hide();
- });
- }
- anim.done(function () {
- var prop;
-
- data_priv.remove(elem, "fxshow");
- for (prop in orig) {
- jQuery.style(elem, prop, orig[prop]);
- }
- });
- for (prop in orig) {
- tween = createTween(hidden ? dataShow[prop] : 0, prop, anim);
-
- if (!( prop in dataShow )) {
- dataShow[prop] = tween.start;
- if (hidden) {
- tween.end = tween.start;
- tween.start = prop === "width" || prop === "height" ? 1 : 0;
- }
- }
- }
-
- // If this is a noop like .hide().hide(), restore an overwritten display value
- } else if ((display === "none" ? defaultDisplay(elem.nodeName) : display) === "inline") {
- style.display = display;
- }
- }
-
- function propFilter(props, specialEasing) {
- var index, name, easing, value, hooks;
-
- // camelCase, specialEasing and expand cssHook pass
- for (index in props) {
- name = jQuery.camelCase(index);
- easing = specialEasing[name];
- value = props[index];
- if (jQuery.isArray(value)) {
- easing = value[1];
- value = props[index] = value[0];
- }
-
- if (index !== name) {
- props[name] = value;
- delete props[index];
- }
-
- hooks = jQuery.cssHooks[name];
- if (hooks && "expand" in hooks) {
- value = hooks.expand(value);
- delete props[name];
-
- // Not quite $.extend, this won't overwrite existing keys.
- // Reusing 'index' because we have the correct "name"
- for (index in value) {
- if (!( index in props )) {
- props[index] = value[index];
- specialEasing[index] = easing;
- }
- }
- } else {
- specialEasing[name] = easing;
- }
- }
- }
-
- function Animation(elem, properties, options) {
- var result,
- stopped,
- index = 0,
- length = animationPrefilters.length,
- deferred = jQuery.Deferred().always(function () {
- // Don't match elem in the :animated selector
- delete tick.elem;
- }),
- tick = function () {
- if (stopped) {
- return false;
- }
- var currentTime = fxNow || createFxNow(),
- remaining = Math.max(0, animation.startTime + animation.duration - currentTime),
- // Support: Android 2.3
- // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)
- temp = remaining / animation.duration || 0,
- percent = 1 - temp,
- index = 0,
- length = animation.tweens.length;
-
- for (; index < length; index++) {
- animation.tweens[index].run(percent);
- }
-
- deferred.notifyWith(elem, [animation, percent, remaining]);
-
- if (percent < 1 && length) {
- return remaining;
- } else {
- deferred.resolveWith(elem, [animation]);
- return false;
- }
- },
- animation = deferred.promise({
- elem: elem,
- props: jQuery.extend({}, properties),
- opts: jQuery.extend(true, {specialEasing: {}}, options),
- originalProperties: properties,
- originalOptions: options,
- startTime: fxNow || createFxNow(),
- duration: options.duration,
- tweens: [],
- createTween: function (prop, end) {
- var tween = jQuery.Tween(elem, animation.opts, prop, end,
- animation.opts.specialEasing[prop] || animation.opts.easing);
- animation.tweens.push(tween);
- return tween;
- },
- stop: function (gotoEnd) {
- var index = 0,
- // If we are going to the end, we want to run all the tweens
- // otherwise we skip this part
- length = gotoEnd ? animation.tweens.length : 0;
- if (stopped) {
- return this;
- }
- stopped = true;
- for (; index < length; index++) {
- animation.tweens[index].run(1);
- }
-
- // Resolve when we played the last frame; otherwise, reject
- if (gotoEnd) {
- deferred.resolveWith(elem, [animation, gotoEnd]);
- } else {
- deferred.rejectWith(elem, [animation, gotoEnd]);
- }
- return this;
- }
- }),
- props = animation.props;
-
- propFilter(props, animation.opts.specialEasing);
-
- for (; index < length; index++) {
- result = animationPrefilters[index].call(animation, elem, props, animation.opts);
- if (result) {
- return result;
- }
- }
-
- jQuery.map(props, createTween, animation);
-
- if (jQuery.isFunction(animation.opts.start)) {
- animation.opts.start.call(elem, animation);
- }
-
- jQuery.fx.timer(
- jQuery.extend(tick, {
- elem: elem,
- anim: animation,
- queue: animation.opts.queue
- })
- );
-
- // attach callbacks from options
- return animation.progress(animation.opts.progress)
- .done(animation.opts.done, animation.opts.complete)
- .fail(animation.opts.fail)
- .always(animation.opts.always);
- }
-
- jQuery.Animation = jQuery.extend(Animation, {
-
- tweener: function (props, callback) {
- if (jQuery.isFunction(props)) {
- callback = props;
- props = ["*"];
- } else {
- props = props.split(" ");
- }
-
- var prop,
- index = 0,
- length = props.length;
-
- for (; index < length; index++) {
- prop = props[index];
- tweeners[prop] = tweeners[prop] || [];
- tweeners[prop].unshift(callback);
- }
- },
-
- prefilter: function (callback, prepend) {
- if (prepend) {
- animationPrefilters.unshift(callback);
- } else {
- animationPrefilters.push(callback);
- }
- }
- });
-
- jQuery.speed = function (speed, easing, fn) {
- var opt = speed && typeof speed === "object" ? jQuery.extend({}, speed) : {
- complete: fn || !fn && easing ||
- jQuery.isFunction(speed) && speed,
- duration: speed,
- easing: fn && easing || easing && !jQuery.isFunction(easing) && easing
- };
-
- opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
- opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[opt.duration] : jQuery.fx.speeds._default;
-
- // Normalize opt.queue - true/undefined/null -> "fx"
- if (opt.queue == null || opt.queue === true) {
- opt.queue = "fx";
- }
-
- // Queueing
- opt.old = opt.complete;
-
- opt.complete = function () {
- if (jQuery.isFunction(opt.old)) {
- opt.old.call(this);
- }
-
- if (opt.queue) {
- jQuery.dequeue(this, opt.queue);
- }
- };
-
- return opt;
- };
-
- jQuery.fn.extend({
- fadeTo: function (speed, to, easing, callback) {
-
- // Show any hidden elements after setting opacity to 0
- return this.filter(isHidden).css("opacity", 0).show()
-
- // Animate to the value specified
- .end().animate({opacity: to}, speed, easing, callback);
- },
- animate: function (prop, speed, easing, callback) {
- var empty = jQuery.isEmptyObject(prop),
- optall = jQuery.speed(speed, easing, callback),
- doAnimation = function () {
- // Operate on a copy of prop so per-property easing won't be lost
- var anim = Animation(this, jQuery.extend({}, prop), optall);
-
- // Empty animations, or finishing resolves immediately
- if (empty || data_priv.get(this, "finish")) {
- anim.stop(true);
- }
- };
- doAnimation.finish = doAnimation;
-
- return empty || optall.queue === false ?
- this.each(doAnimation) :
- this.queue(optall.queue, doAnimation);
- },
- stop: function (type, clearQueue, gotoEnd) {
- var stopQueue = function (hooks) {
- var stop = hooks.stop;
- delete hooks.stop;
- stop(gotoEnd);
- };
-
- if (typeof type !== "string") {
- gotoEnd = clearQueue;
- clearQueue = type;
- type = undefined;
- }
- if (clearQueue && type !== false) {
- this.queue(type || "fx", []);
- }
-
- return this.each(function () {
- var dequeue = true,
- index = type != null && type + "queueHooks",
- timers = jQuery.timers,
- data = data_priv.get(this);
-
- if (index) {
- if (data[index] && data[index].stop) {
- stopQueue(data[index]);
- }
- } else {
- for (index in data) {
- if (data[index] && data[index].stop && rrun.test(index)) {
- stopQueue(data[index]);
- }
- }
- }
-
- for (index = timers.length; index--;) {
- if (timers[index].elem === this && (type == null || timers[index].queue === type)) {
- timers[index].anim.stop(gotoEnd);
- dequeue = false;
- timers.splice(index, 1);
- }
- }
-
- // Start the next in the queue if the last step wasn't forced.
- // Timers currently will call their complete callbacks, which
- // will dequeue but only if they were gotoEnd.
- if (dequeue || !gotoEnd) {
- jQuery.dequeue(this, type);
- }
- });
- },
- finish: function (type) {
- if (type !== false) {
- type = type || "fx";
- }
- return this.each(function () {
- var index,
- data = data_priv.get(this),
- queue = data[type + "queue"],
- hooks = data[type + "queueHooks"],
- timers = jQuery.timers,
- length = queue ? queue.length : 0;
-
- // Enable finishing flag on private data
- data.finish = true;
-
- // Empty the queue first
- jQuery.queue(this, type, []);
-
- if (hooks && hooks.stop) {
- hooks.stop.call(this, true);
- }
-
- // Look for any active animations, and finish them
- for (index = timers.length; index--;) {
- if (timers[index].elem === this && timers[index].queue === type) {
- timers[index].anim.stop(true);
- timers.splice(index, 1);
- }
- }
-
- // Look for any animations in the old queue and finish them
- for (index = 0; index < length; index++) {
- if (queue[index] && queue[index].finish) {
- queue[index].finish.call(this);
- }
- }
-
- // Turn off finishing flag
- delete data.finish;
- });
- }
- });
-
- jQuery.each(["toggle", "show", "hide"], function (i, name) {
- var cssFn = jQuery.fn[name];
- jQuery.fn[name] = function (speed, easing, callback) {
- return speed == null || typeof speed === "boolean" ?
- cssFn.apply(this, arguments) :
- this.animate(genFx(name, true), speed, easing, callback);
- };
- });
-
-// Generate shortcuts for custom animations
- jQuery.each({
- slideDown: genFx("show"),
- slideUp: genFx("hide"),
- slideToggle: genFx("toggle"),
- fadeIn: {opacity: "show"},
- fadeOut: {opacity: "hide"},
- fadeToggle: {opacity: "toggle"}
- }, function (name, props) {
- jQuery.fn[name] = function (speed, easing, callback) {
- return this.animate(props, speed, easing, callback);
- };
- });
-
- jQuery.timers = [];
- jQuery.fx.tick = function () {
- var timer,
- i = 0,
- timers = jQuery.timers;
-
- fxNow = jQuery.now();
-
- for (; i < timers.length; i++) {
- timer = timers[i];
- // Checks the timer has not already been removed
- if (!timer() && timers[i] === timer) {
- timers.splice(i--, 1);
- }
- }
-
- if (!timers.length) {
- jQuery.fx.stop();
- }
- fxNow = undefined;
- };
-
- jQuery.fx.timer = function (timer) {
- jQuery.timers.push(timer);
- if (timer()) {
- jQuery.fx.start();
- } else {
- jQuery.timers.pop();
- }
- };
-
- jQuery.fx.interval = 13;
-
- jQuery.fx.start = function () {
- if (!timerId) {
- timerId = setInterval(jQuery.fx.tick, jQuery.fx.interval);
- }
- };
-
- jQuery.fx.stop = function () {
- clearInterval(timerId);
- timerId = null;
- };
-
- jQuery.fx.speeds = {
- slow: 600,
- fast: 200,
- // Default speed
- _default: 400
- };
-
-
-// Based off of the plugin by Clint Helfers, with permission.
-// http://blindsignals.com/index.php/2009/07/jquery-delay/
- jQuery.fn.delay = function (time, type) {
- time = jQuery.fx ? jQuery.fx.speeds[time] || time : time;
- type = type || "fx";
-
- return this.queue(type, function (next, hooks) {
- var timeout = setTimeout(next, time);
- hooks.stop = function () {
- clearTimeout(timeout);
- };
- });
- };
-
-
- (function () {
- var input = document.createElement("input"),
- select = document.createElement("select"),
- opt = select.appendChild(document.createElement("option"));
-
- input.type = "checkbox";
-
- // Support: iOS<=5.1, Android<=4.2+
- // Default value for a checkbox should be "on"
- support.checkOn = input.value !== "";
-
- // Support: IE<=11+
- // Must access selectedIndex to make default options select
- support.optSelected = opt.selected;
-
- // Support: Android<=2.3
- // Options inside disabled selects are incorrectly marked as disabled
- select.disabled = true;
- support.optDisabled = !opt.disabled;
-
- // Support: IE<=11+
- // An input loses its value after becoming a radio
- input = document.createElement("input");
- input.value = "t";
- input.type = "radio";
- support.radioValue = input.value === "t";
- })();
-
-
- var nodeHook, boolHook,
- attrHandle = jQuery.expr.attrHandle;
-
- jQuery.fn.extend({
- attr: function (name, value) {
- return access(this, jQuery.attr, name, value, arguments.length > 1);
- },
-
- removeAttr: function (name) {
- return this.each(function () {
- jQuery.removeAttr(this, name);
- });
- }
- });
-
- jQuery.extend({
- attr: function (elem, name, value) {
- var hooks, ret,
- nType = elem.nodeType;
-
- // don't get/set attributes on text, comment and attribute nodes
- if (!elem || nType === 3 || nType === 8 || nType === 2) {
- return;
- }
-
- // Fallback to prop when attributes are not supported
- if (typeof elem.getAttribute === strundefined) {
- return jQuery.prop(elem, name, value);
- }
-
- // All attributes are lowercase
- // Grab necessary hook if one is defined
- if (nType !== 1 || !jQuery.isXMLDoc(elem)) {
- name = name.toLowerCase();
- hooks = jQuery.attrHooks[name] ||
- ( jQuery.expr.match.bool.test(name) ? boolHook : nodeHook );
- }
-
- if (value !== undefined) {
-
- if (value === null) {
- jQuery.removeAttr(elem, name);
-
- } else if (hooks && "set" in hooks && (ret = hooks.set(elem, value, name)) !== undefined) {
- return ret;
-
- } else {
- elem.setAttribute(name, value + "");
- return value;
- }
-
- } else if (hooks && "get" in hooks && (ret = hooks.get(elem, name)) !== null) {
- return ret;
-
- } else {
- ret = jQuery.find.attr(elem, name);
-
- // Non-existent attributes return null, we normalize to undefined
- return ret == null ?
- undefined :
- ret;
- }
- },
-
- removeAttr: function (elem, value) {
- var name, propName,
- i = 0,
- attrNames = value && value.match(rnotwhite);
-
- if (attrNames && elem.nodeType === 1) {
- while ((name = attrNames[i++])) {
- propName = jQuery.propFix[name] || name;
-
- // Boolean attributes get special treatment (#10870)
- if (jQuery.expr.match.bool.test(name)) {
- // Set corresponding property to false
- elem[propName] = false;
- }
-
- elem.removeAttribute(name);
- }
- }
- },
-
- attrHooks: {
- type: {
- set: function (elem, value) {
- if (!support.radioValue && value === "radio" &&
- jQuery.nodeName(elem, "input")) {
- var val = elem.value;
- elem.setAttribute("type", value);
- if (val) {
- elem.value = val;
- }
- return value;
- }
- }
- }
- }
- });
-
-// Hooks for boolean attributes
- boolHook = {
- set: function (elem, value, name) {
- if (value === false) {
- // Remove boolean attributes when set to false
- jQuery.removeAttr(elem, name);
- } else {
- elem.setAttribute(name, name);
- }
- return name;
- }
- };
- jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g), function (i, name) {
- var getter = attrHandle[name] || jQuery.find.attr;
-
- attrHandle[name] = function (elem, name, isXML) {
- var ret, handle;
- if (!isXML) {
- // Avoid an infinite loop by temporarily removing this function from the getter
- handle = attrHandle[name];
- attrHandle[name] = ret;
- ret = getter(elem, name, isXML) != null ?
- name.toLowerCase() :
- null;
- attrHandle[name] = handle;
- }
- return ret;
- };
- });
-
-
- var rfocusable = /^(?:input|select|textarea|button)$/i;
-
- jQuery.fn.extend({
- prop: function (name, value) {
- return access(this, jQuery.prop, name, value, arguments.length > 1);
- },
-
- removeProp: function (name) {
- return this.each(function () {
- delete this[jQuery.propFix[name] || name];
- });
- }
- });
-
- jQuery.extend({
- propFix: {
- "for": "htmlFor",
- "class": "className"
- },
-
- prop: function (elem, name, value) {
- var ret, hooks, notxml,
- nType = elem.nodeType;
-
- // Don't get/set properties on text, comment and attribute nodes
- if (!elem || nType === 3 || nType === 8 || nType === 2) {
- return;
- }
-
- notxml = nType !== 1 || !jQuery.isXMLDoc(elem);
-
- if (notxml) {
- // Fix name and attach hooks
- name = jQuery.propFix[name] || name;
- hooks = jQuery.propHooks[name];
- }
-
- if (value !== undefined) {
- return hooks && "set" in hooks && (ret = hooks.set(elem, value, name)) !== undefined ?
- ret :
- ( elem[name] = value );
-
- } else {
- return hooks && "get" in hooks && (ret = hooks.get(elem, name)) !== null ?
- ret :
- elem[name];
- }
- },
-
- propHooks: {
- tabIndex: {
- get: function (elem) {
- return elem.hasAttribute("tabindex") || rfocusable.test(elem.nodeName) || elem.href ?
- elem.tabIndex :
- -1;
- }
- }
- }
- });
-
- if (!support.optSelected) {
- jQuery.propHooks.selected = {
- get: function (elem) {
- var parent = elem.parentNode;
- if (parent && parent.parentNode) {
- parent.parentNode.selectedIndex;
- }
- return null;
- }
- };
- }
-
- jQuery.each([
- "tabIndex",
- "readOnly",
- "maxLength",
- "cellSpacing",
- "cellPadding",
- "rowSpan",
- "colSpan",
- "useMap",
- "frameBorder",
- "contentEditable"
- ], function () {
- jQuery.propFix[this.toLowerCase()] = this;
- });
-
-
- var rclass = /[\t\r\n\f]/g;
-
- jQuery.fn.extend({
- addClass: function (value) {
- var classes, elem, cur, clazz, j, finalValue,
- proceed = typeof value === "string" && value,
- i = 0,
- len = this.length;
-
- if (jQuery.isFunction(value)) {
- return this.each(function (j) {
- jQuery(this).addClass(value.call(this, j, this.className));
- });
- }
-
- if (proceed) {
- // The disjunction here is for better compressibility (see removeClass)
- classes = ( value || "" ).match(rnotwhite) || [];
-
- for (; i < len; i++) {
- elem = this[i];
- cur = elem.nodeType === 1 && ( elem.className ?
- ( " " + elem.className + " " ).replace(rclass, " ") :
- " "
- );
-
- if (cur) {
- j = 0;
- while ((clazz = classes[j++])) {
- if (cur.indexOf(" " + clazz + " ") < 0) {
- cur += clazz + " ";
- }
- }
-
- // only assign if different to avoid unneeded rendering.
- finalValue = jQuery.trim(cur);
- if (elem.className !== finalValue) {
- elem.className = finalValue;
- }
- }
- }
- }
-
- return this;
- },
-
- removeClass: function (value) {
- var classes, elem, cur, clazz, j, finalValue,
- proceed = arguments.length === 0 || typeof value === "string" && value,
- i = 0,
- len = this.length;
-
- if (jQuery.isFunction(value)) {
- return this.each(function (j) {
- jQuery(this).removeClass(value.call(this, j, this.className));
- });
- }
- if (proceed) {
- classes = ( value || "" ).match(rnotwhite) || [];
-
- for (; i < len; i++) {
- elem = this[i];
- // This expression is here for better compressibility (see addClass)
- cur = elem.nodeType === 1 && ( elem.className ?
- ( " " + elem.className + " " ).replace(rclass, " ") :
- ""
- );
-
- if (cur) {
- j = 0;
- while ((clazz = classes[j++])) {
- // Remove *all* instances
- while (cur.indexOf(" " + clazz + " ") >= 0) {
- cur = cur.replace(" " + clazz + " ", " ");
- }
- }
-
- // Only assign if different to avoid unneeded rendering.
- finalValue = value ? jQuery.trim(cur) : "";
- if (elem.className !== finalValue) {
- elem.className = finalValue;
- }
- }
- }
- }
-
- return this;
- },
-
- toggleClass: function (value, stateVal) {
- var type = typeof value;
-
- if (typeof stateVal === "boolean" && type === "string") {
- return stateVal ? this.addClass(value) : this.removeClass(value);
- }
-
- if (jQuery.isFunction(value)) {
- return this.each(function (i) {
- jQuery(this).toggleClass(value.call(this, i, this.className, stateVal), stateVal);
- });
- }
-
- return this.each(function () {
- if (type === "string") {
- // Toggle individual class names
- var className,
- i = 0,
- self = jQuery(this),
- classNames = value.match(rnotwhite) || [];
-
- while ((className = classNames[i++])) {
- // Check each className given, space separated list
- if (self.hasClass(className)) {
- self.removeClass(className);
- } else {
- self.addClass(className);
- }
- }
-
- // Toggle whole class name
- } else if (type === strundefined || type === "boolean") {
- if (this.className) {
- // store className if set
- data_priv.set(this, "__className__", this.className);
- }
-
- // If the element has a class name or if we're passed `false`,
- // then remove the whole classname (if there was one, the above saved it).
- // Otherwise bring back whatever was previously saved (if anything),
- // falling back to the empty string if nothing was stored.
- this.className = this.className || value === false ? "" : data_priv.get(this, "__className__") || "";
- }
- });
- },
-
- hasClass: function (selector) {
- var className = " " + selector + " ",
- i = 0,
- l = this.length;
- for (; i < l; i++) {
- if (this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf(className) >= 0) {
- return true;
- }
- }
-
- return false;
- }
- });
-
-
- var rreturn = /\r/g;
-
- jQuery.fn.extend({
- val: function (value) {
- var hooks, ret, isFunction,
- elem = this[0];
-
- if (!arguments.length) {
- if (elem) {
- hooks = jQuery.valHooks[elem.type] || jQuery.valHooks[elem.nodeName.toLowerCase()];
-
- if (hooks && "get" in hooks && (ret = hooks.get(elem, "value")) !== undefined) {
- return ret;
- }
-
- ret = elem.value;
-
- return typeof ret === "string" ?
- // Handle most common string cases
- ret.replace(rreturn, "") :
- // Handle cases where value is null/undef or number
- ret == null ? "" : ret;
- }
-
- return;
- }
-
- isFunction = jQuery.isFunction(value);
-
- return this.each(function (i) {
- var val;
-
- if (this.nodeType !== 1) {
- return;
- }
-
- if (isFunction) {
- val = value.call(this, i, jQuery(this).val());
- } else {
- val = value;
- }
-
- // Treat null/undefined as ""; convert numbers to string
- if (val == null) {
- val = "";
-
- } else if (typeof val === "number") {
- val += "";
-
- } else if (jQuery.isArray(val)) {
- val = jQuery.map(val, function (value) {
- return value == null ? "" : value + "";
- });
- }
-
- hooks = jQuery.valHooks[this.type] || jQuery.valHooks[this.nodeName.toLowerCase()];
-
- // If set returns undefined, fall back to normal setting
- if (!hooks || !("set" in hooks) || hooks.set(this, val, "value") === undefined) {
- this.value = val;
- }
- });
- }
- });
-
- jQuery.extend({
- valHooks: {
- option: {
- get: function (elem) {
- var val = jQuery.find.attr(elem, "value");
- return val != null ?
- val :
- // Support: IE10-11+
- // option.text throws exceptions (#14686, #14858)
- jQuery.trim(jQuery.text(elem));
- }
- },
- select: {
- get: function (elem) {
- var value, option,
- options = elem.options,
- index = elem.selectedIndex,
- one = elem.type === "select-one" || index < 0,
- values = one ? null : [],
- max = one ? index + 1 : options.length,
- i = index < 0 ?
- max :
- one ? index : 0;
-
- // Loop through all the selected options
- for (; i < max; i++) {
- option = options[i];
-
- // IE6-9 doesn't update selected after form reset (#2551)
- if (( option.selected || i === index ) &&
- // Don't return options that are disabled or in a disabled optgroup
- ( support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) &&
- ( !option.parentNode.disabled || !jQuery.nodeName(option.parentNode, "optgroup") )) {
-
- // Get the specific value for the option
- value = jQuery(option).val();
-
- // We don't need an array for one selects
- if (one) {
- return value;
- }
-
- // Multi-Selects return an array
- values.push(value);
- }
- }
-
- return values;
- },
-
- set: function (elem, value) {
- var optionSet, option,
- options = elem.options,
- values = jQuery.makeArray(value),
- i = options.length;
-
- while (i--) {
- option = options[i];
- if ((option.selected = jQuery.inArray(option.value, values) >= 0)) {
- optionSet = true;
- }
- }
-
- // Force browsers to behave consistently when non-matching value is set
- if (!optionSet) {
- elem.selectedIndex = -1;
- }
- return values;
- }
- }
- }
- });
-
-// Radios and checkboxes getter/setter
- jQuery.each(["radio", "checkbox"], function () {
- jQuery.valHooks[this] = {
- set: function (elem, value) {
- if (jQuery.isArray(value)) {
- return ( elem.checked = jQuery.inArray(jQuery(elem).val(), value) >= 0 );
- }
- }
- };
- if (!support.checkOn) {
- jQuery.valHooks[this].get = function (elem) {
- return elem.getAttribute("value") === null ? "on" : elem.value;
- };
- }
- });
-
-
-// Return jQuery for attributes-only inclusion
-
-
- jQuery.each(("blur focus focusin focusout load resize scroll unload click dblclick " +
- "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
- "change select submit keydown keypress keyup error contextmenu").split(" "), function (i, name) {
-
- // Handle event binding
- jQuery.fn[name] = function (data, fn) {
- return arguments.length > 0 ?
- this.on(name, null, data, fn) :
- this.trigger(name);
- };
- });
-
- jQuery.fn.extend({
- hover: function (fnOver, fnOut) {
- return this.mouseenter(fnOver).mouseleave(fnOut || fnOver);
- },
-
- bind: function (types, data, fn) {
- return this.on(types, null, data, fn);
- },
- unbind: function (types, fn) {
- return this.off(types, null, fn);
- },
-
- delegate: function (selector, types, data, fn) {
- return this.on(types, selector, data, fn);
- },
- undelegate: function (selector, types, fn) {
- // ( namespace ) or ( selector, types [, fn] )
- return arguments.length === 1 ? this.off(selector, "**") : this.off(types, selector || "**", fn);
- }
- });
-
-
- var nonce = jQuery.now();
-
- var rquery = (/\?/);
-
-
-// Support: Android 2.3
-// Workaround failure to string-cast null input
- jQuery.parseJSON = function (data) {
- return JSON.parse(data + "");
- };
-
-
-// Cross-browser xml parsing
- jQuery.parseXML = function (data) {
- var xml, tmp;
- if (!data || typeof data !== "string") {
- return null;
- }
-
- // Support: IE9
- try {
- tmp = new DOMParser();
- xml = tmp.parseFromString(data, "text/xml");
- } catch (e) {
- xml = undefined;
- }
-
- if (!xml || xml.getElementsByTagName("parsererror").length) {
- jQuery.error("Invalid XML: " + data);
- }
- return xml;
- };
-
-
- var
- rhash = /#.*$/,
- rts = /([?&])_=[^&]*/,
- rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg,
- // #7653, #8125, #8152: local protocol detection
- rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
- rnoContent = /^(?:GET|HEAD)$/,
- rprotocol = /^\/\//,
- rurl = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
-
- /* Prefilters
- * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
- * 2) These are called:
- * - BEFORE asking for a transport
- * - AFTER param serialization (s.data is a string if s.processData is true)
- * 3) key is the dataType
- * 4) the catchall symbol "*" can be used
- * 5) execution will start with transport dataType and THEN continue down to "*" if needed
- */
- prefilters = {},
-
- /* Transports bindings
- * 1) key is the dataType
- * 2) the catchall symbol "*" can be used
- * 3) selection will start with transport dataType and THEN go to "*" if needed
- */
- transports = {},
-
- // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
- allTypes = "*/".concat("*"),
-
- // Document location
- ajaxLocation = window.location.href,
-
- // Segment location into parts
- ajaxLocParts = rurl.exec(ajaxLocation.toLowerCase()) || [];
-
-// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
- function addToPrefiltersOrTransports(structure) {
-
- // dataTypeExpression is optional and defaults to "*"
- return function (dataTypeExpression, func) {
-
- if (typeof dataTypeExpression !== "string") {
- func = dataTypeExpression;
- dataTypeExpression = "*";
- }
-
- var dataType,
- i = 0,
- dataTypes = dataTypeExpression.toLowerCase().match(rnotwhite) || [];
-
- if (jQuery.isFunction(func)) {
- // For each dataType in the dataTypeExpression
- while ((dataType = dataTypes[i++])) {
- // Prepend if requested
- if (dataType[0] === "+") {
- dataType = dataType.slice(1) || "*";
- (structure[dataType] = structure[dataType] || []).unshift(func);
-
- // Otherwise append
- } else {
- (structure[dataType] = structure[dataType] || []).push(func);
- }
- }
- }
- };
- }
-
-// Base inspection function for prefilters and transports
- function inspectPrefiltersOrTransports(structure, options, originalOptions, jqXHR) {
-
- var inspected = {},
- seekingTransport = ( structure === transports );
-
- function inspect(dataType) {
- var selected;
- inspected[dataType] = true;
- jQuery.each(structure[dataType] || [], function (_, prefilterOrFactory) {
- var dataTypeOrTransport = prefilterOrFactory(options, originalOptions, jqXHR);
- if (typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[dataTypeOrTransport]) {
- options.dataTypes.unshift(dataTypeOrTransport);
- inspect(dataTypeOrTransport);
- return false;
- } else if (seekingTransport) {
- return !( selected = dataTypeOrTransport );
- }
- });
- return selected;
- }
-
- return inspect(options.dataTypes[0]) || !inspected["*"] && inspect("*");
- }
-
-// A special extend for ajax options
-// that takes "flat" options (not to be deep extended)
-// Fixes #9887
- function ajaxExtend(target, src) {
- var key, deep,
- flatOptions = jQuery.ajaxSettings.flatOptions || {};
-
- for (key in src) {
- if (src[key] !== undefined) {
- ( flatOptions[key] ? target : ( deep || (deep = {}) ) )[key] = src[key];
- }
- }
- if (deep) {
- jQuery.extend(true, target, deep);
- }
-
- return target;
- }
-
- /* Handles responses to an ajax request:
- * - finds the right dataType (mediates between content-type and expected dataType)
- * - returns the corresponding response
- */
- function ajaxHandleResponses(s, jqXHR, responses) {
-
- var ct, type, finalDataType, firstDataType,
- contents = s.contents,
- dataTypes = s.dataTypes;
-
- // Remove auto dataType and get content-type in the process
- while (dataTypes[0] === "*") {
- dataTypes.shift();
- if (ct === undefined) {
- ct = s.mimeType || jqXHR.getResponseHeader("Content-Type");
- }
- }
-
- // Check if we're dealing with a known content-type
- if (ct) {
- for (type in contents) {
- if (contents[type] && contents[type].test(ct)) {
- dataTypes.unshift(type);
- break;
- }
- }
- }
-
- // Check to see if we have a response for the expected dataType
- if (dataTypes[0] in responses) {
- finalDataType = dataTypes[0];
- } else {
- // Try convertible dataTypes
- for (type in responses) {
- if (!dataTypes[0] || s.converters[type + " " + dataTypes[0]]) {
- finalDataType = type;
- break;
- }
- if (!firstDataType) {
- firstDataType = type;
- }
- }
- // Or just use first one
- finalDataType = finalDataType || firstDataType;
- }
-
- // If we found a dataType
- // We add the dataType to the list if needed
- // and return the corresponding response
- if (finalDataType) {
- if (finalDataType !== dataTypes[0]) {
- dataTypes.unshift(finalDataType);
- }
- return responses[finalDataType];
- }
- }
-
- /* Chain conversions given the request and the original response
- * Also sets the responseXXX fields on the jqXHR instance
- */
- function ajaxConvert(s, response, jqXHR, isSuccess) {
- var conv2, current, conv, tmp, prev,
- converters = {},
- // Work with a copy of dataTypes in case we need to modify it for conversion
- dataTypes = s.dataTypes.slice();
-
- // Create converters map with lowercased keys
- if (dataTypes[1]) {
- for (conv in s.converters) {
- converters[conv.toLowerCase()] = s.converters[conv];
- }
- }
-
- current = dataTypes.shift();
-
- // Convert to each sequential dataType
- while (current) {
-
- if (s.responseFields[current]) {
- jqXHR[s.responseFields[current]] = response;
- }
-
- // Apply the dataFilter if provided
- if (!prev && isSuccess && s.dataFilter) {
- response = s.dataFilter(response, s.dataType);
- }
-
- prev = current;
- current = dataTypes.shift();
-
- if (current) {
-
- // There's only work to do if current dataType is non-auto
- if (current === "*") {
-
- current = prev;
-
- // Convert response if prev dataType is non-auto and differs from current
- } else if (prev !== "*" && prev !== current) {
-
- // Seek a direct converter
- conv = converters[prev + " " + current] || converters["* " + current];
-
- // If none found, seek a pair
- if (!conv) {
- for (conv2 in converters) {
-
- // If conv2 outputs current
- tmp = conv2.split(" ");
- if (tmp[1] === current) {
-
- // If prev can be converted to accepted input
- conv = converters[prev + " " + tmp[0]] ||
- converters["* " + tmp[0]];
- if (conv) {
- // Condense equivalence converters
- if (conv === true) {
- conv = converters[conv2];
-
- // Otherwise, insert the intermediate dataType
- } else if (converters[conv2] !== true) {
- current = tmp[0];
- dataTypes.unshift(tmp[1]);
- }
- break;
- }
- }
- }
- }
-
- // Apply converter (if not an equivalence)
- if (conv !== true) {
-
- // Unless errors are allowed to bubble, catch and return them
- if (conv && s["throws"]) {
- response = conv(response);
- } else {
- try {
- response = conv(response);
- } catch (e) {
- return {
- state: "parsererror",
- error: conv ? e : "No conversion from " + prev + " to " + current
- };
- }
- }
- }
- }
- }
- }
-
- return {state: "success", data: response};
- }
-
- jQuery.extend({
-
- // Counter for holding the number of active queries
- active: 0,
-
- // Last-Modified header cache for next request
- lastModified: {},
- etag: {},
-
- ajaxSettings: {
- url: ajaxLocation,
- type: "GET",
- isLocal: rlocalProtocol.test(ajaxLocParts[1]),
- global: true,
- processData: true,
- async: true,
- contentType: "application/x-www-form-urlencoded; charset=UTF-8",
- /*
- timeout: 0,
- data: null,
- dataType: null,
- username: null,
- password: null,
- cache: null,
- throws: false,
- traditional: false,
- headers: {},
- */
-
- accepts: {
- "*": allTypes,
- text: "text/plain",
- html: "text/html",
- xml: "application/xml, text/xml",
- json: "application/json, text/javascript"
- },
-
- contents: {
- xml: /xml/,
- html: /html/,
- json: /json/
- },
-
- responseFields: {
- xml: "responseXML",
- text: "responseText",
- json: "responseJSON"
- },
-
- // Data converters
- // Keys separate source (or catchall "*") and destination types with a single space
- converters: {
-
- // Convert anything to text
- "* text": String,
-
- // Text to html (true = no transformation)
- "text html": true,
-
- // Evaluate text as a json expression
- "text json": jQuery.parseJSON,
-
- // Parse text as xml
- "text xml": jQuery.parseXML
- },
-
- // For options that shouldn't be deep extended:
- // you can add your own custom options here if
- // and when you create one that shouldn't be
- // deep extended (see ajaxExtend)
- flatOptions: {
- url: true,
- context: true
- }
- },
-
- // Creates a full fledged settings object into target
- // with both ajaxSettings and settings fields.
- // If target is omitted, writes into ajaxSettings.
- ajaxSetup: function (target, settings) {
- return settings ?
-
- // Building a settings object
- ajaxExtend(ajaxExtend(target, jQuery.ajaxSettings), settings) :
-
- // Extending ajaxSettings
- ajaxExtend(jQuery.ajaxSettings, target);
- },
-
- ajaxPrefilter: addToPrefiltersOrTransports(prefilters),
- ajaxTransport: addToPrefiltersOrTransports(transports),
-
- // Main method
- ajax: function (url, options) {
-
- // If url is an object, simulate pre-1.5 signature
- if (typeof url === "object") {
- options = url;
- url = undefined;
- }
-
- // Force options to be an object
- options = options || {};
-
- var transport,
- // URL without anti-cache param
- cacheURL,
- // Response headers
- responseHeadersString,
- responseHeaders,
- // timeout handle
- timeoutTimer,
- // Cross-domain detection vars
- parts,
- // To know if global events are to be dispatched
- fireGlobals,
- // Loop variable
- i,
- // Create the final options object
- s = jQuery.ajaxSetup({}, options),
- // Callbacks context
- callbackContext = s.context || s,
- // Context for global events is callbackContext if it is a DOM node or jQuery collection
- globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ?
- jQuery(callbackContext) :
- jQuery.event,
- // Deferreds
- deferred = jQuery.Deferred(),
- completeDeferred = jQuery.Callbacks("once memory"),
- // Status-dependent callbacks
- statusCode = s.statusCode || {},
- // Headers (they are sent all at once)
- requestHeaders = {},
- requestHeadersNames = {},
- // The jqXHR state
- state = 0,
- // Default abort message
- strAbort = "canceled",
- // Fake xhr
- jqXHR = {
- readyState: 0,
-
- // Builds headers hashtable if needed
- getResponseHeader: function (key) {
- var match;
- if (state === 2) {
- if (!responseHeaders) {
- responseHeaders = {};
- while ((match = rheaders.exec(responseHeadersString))) {
- responseHeaders[match[1].toLowerCase()] = match[2];
- }
- }
- match = responseHeaders[key.toLowerCase()];
- }
- return match == null ? null : match;
- },
-
- // Raw string
- getAllResponseHeaders: function () {
- return state === 2 ? responseHeadersString : null;
- },
-
- // Caches the header
- setRequestHeader: function (name, value) {
- var lname = name.toLowerCase();
- if (!state) {
- name = requestHeadersNames[lname] = requestHeadersNames[lname] || name;
- requestHeaders[name] = value;
- }
- return this;
- },
-
- // Overrides response content-type header
- overrideMimeType: function (type) {
- if (!state) {
- s.mimeType = type;
- }
- return this;
- },
-
- // Status-dependent callbacks
- statusCode: function (map) {
- var code;
- if (map) {
- if (state < 2) {
- for (code in map) {
- // Lazy-add the new callback in a way that preserves old ones
- statusCode[code] = [statusCode[code], map[code]];
- }
- } else {
- // Execute the appropriate callbacks
- jqXHR.always(map[jqXHR.status]);
- }
- }
- return this;
- },
-
- // Cancel the request
- abort: function (statusText) {
- var finalText = statusText || strAbort;
- if (transport) {
- transport.abort(finalText);
- }
- done(0, finalText);
- return this;
- }
- };
-
- // Attach deferreds
- deferred.promise(jqXHR).complete = completeDeferred.add;
- jqXHR.success = jqXHR.done;
- jqXHR.error = jqXHR.fail;
-
- // Remove hash character (#7531: and string promotion)
- // Add protocol if not provided (prefilters might expect it)
- // Handle falsy url in the settings object (#10093: consistency with old signature)
- // We also use the url parameter if available
- s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace(rhash, "")
- .replace(rprotocol, ajaxLocParts[1] + "//");
-
- // Alias method option to type as per ticket #12004
- s.type = options.method || options.type || s.method || s.type;
-
- // Extract dataTypes list
- s.dataTypes = jQuery.trim(s.dataType || "*").toLowerCase().match(rnotwhite) || [""];
-
- // A cross-domain request is in order when we have a protocol:host:port mismatch
- if (s.crossDomain == null) {
- parts = rurl.exec(s.url.toLowerCase());
- s.crossDomain = !!( parts &&
- ( parts[1] !== ajaxLocParts[1] || parts[2] !== ajaxLocParts[2] ||
- ( parts[3] || ( parts[1] === "http:" ? "80" : "443" ) ) !==
- ( ajaxLocParts[3] || ( ajaxLocParts[1] === "http:" ? "80" : "443" ) ) )
- );
- }
-
- // Convert data if not already a string
- if (s.data && s.processData && typeof s.data !== "string") {
- s.data = jQuery.param(s.data, s.traditional);
- }
-
- // Apply prefilters
- inspectPrefiltersOrTransports(prefilters, s, options, jqXHR);
-
- // If request was aborted inside a prefilter, stop there
- if (state === 2) {
- return jqXHR;
- }
-
- // We can fire global events as of now if asked to
- // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)
- fireGlobals = jQuery.event && s.global;
-
- // Watch for a new set of requests
- if (fireGlobals && jQuery.active++ === 0) {
- jQuery.event.trigger("ajaxStart");
- }
-
- // Uppercase the type
- s.type = s.type.toUpperCase();
-
- // Determine if request has content
- s.hasContent = !rnoContent.test(s.type);
-
- // Save the URL in case we're toying with the If-Modified-Since
- // and/or If-None-Match header later on
- cacheURL = s.url;
-
- // More options handling for requests with no content
- if (!s.hasContent) {
-
- // If data is available, append data to url
- if (s.data) {
- cacheURL = ( s.url += ( rquery.test(cacheURL) ? "&" : "?" ) + s.data );
- // #9682: remove data so that it's not used in an eventual retry
- delete s.data;
- }
-
- // Add anti-cache in url if needed
- if (s.cache === false) {
- s.url = rts.test(cacheURL) ?
-
- // If there is already a '_' parameter, set its value
- cacheURL.replace(rts, "$1_=" + nonce++) :
-
- // Otherwise add one to the end
- cacheURL + ( rquery.test(cacheURL) ? "&" : "?" ) + "_=" + nonce++;
- }
- }
-
- // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
- if (s.ifModified) {
- if (jQuery.lastModified[cacheURL]) {
- jqXHR.setRequestHeader("If-Modified-Since", jQuery.lastModified[cacheURL]);
- }
- if (jQuery.etag[cacheURL]) {
- jqXHR.setRequestHeader("If-None-Match", jQuery.etag[cacheURL]);
- }
- }
-
- // Set the correct header, if data is being sent
- if (s.data && s.hasContent && s.contentType !== false || options.contentType) {
- jqXHR.setRequestHeader("Content-Type", s.contentType);
- }
-
- // Set the Accepts header for the server, depending on the dataType
- jqXHR.setRequestHeader(
- "Accept",
- s.dataTypes[0] && s.accepts[s.dataTypes[0]] ?
- s.accepts[s.dataTypes[0]] + ( s.dataTypes[0] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
- s.accepts["*"]
- );
-
- // Check for headers option
- for (i in s.headers) {
- jqXHR.setRequestHeader(i, s.headers[i]);
- }
-
- // Allow custom headers/mimetypes and early abort
- if (s.beforeSend && ( s.beforeSend.call(callbackContext, jqXHR, s) === false || state === 2 )) {
- // Abort if not done already and return
- return jqXHR.abort();
- }
-
- // Aborting is no longer a cancellation
- strAbort = "abort";
-
- // Install callbacks on deferreds
- for (i in {success: 1, error: 1, complete: 1}) {
- jqXHR[i](s[i]);
- }
-
- // Get transport
- transport = inspectPrefiltersOrTransports(transports, s, options, jqXHR);
-
- // If no transport, we auto-abort
- if (!transport) {
- done(-1, "No Transport");
- } else {
- jqXHR.readyState = 1;
-
- // Send global event
- if (fireGlobals) {
- globalEventContext.trigger("ajaxSend", [jqXHR, s]);
- }
- // Timeout
- if (s.async && s.timeout > 0) {
- timeoutTimer = setTimeout(function () {
- jqXHR.abort("timeout");
- }, s.timeout);
- }
-
- try {
- state = 1;
- transport.send(requestHeaders, done);
- } catch (e) {
- // Propagate exception as error if not done
- if (state < 2) {
- done(-1, e);
- // Simply rethrow otherwise
- } else {
- throw e;
- }
- }
- }
-
- // Callback for when everything is done
- function done(status, nativeStatusText, responses, headers) {
- var isSuccess, success, error, response, modified,
- statusText = nativeStatusText;
-
- // Called once
- if (state === 2) {
- return;
- }
-
- // State is "done" now
- state = 2;
-
- // Clear timeout if it exists
- if (timeoutTimer) {
- clearTimeout(timeoutTimer);
- }
-
- // Dereference transport for early garbage collection
- // (no matter how long the jqXHR object will be used)
- transport = undefined;
-
- // Cache response headers
- responseHeadersString = headers || "";
-
- // Set readyState
- jqXHR.readyState = status > 0 ? 4 : 0;
-
- // Determine if successful
- isSuccess = status >= 200 && status < 300 || status === 304;
-
- // Get response data
- if (responses) {
- response = ajaxHandleResponses(s, jqXHR, responses);
- }
-
- // Convert no matter what (that way responseXXX fields are always set)
- response = ajaxConvert(s, response, jqXHR, isSuccess);
-
- // If successful, handle type chaining
- if (isSuccess) {
-
- // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
- if (s.ifModified) {
- modified = jqXHR.getResponseHeader("Last-Modified");
- if (modified) {
- jQuery.lastModified[cacheURL] = modified;
- }
- modified = jqXHR.getResponseHeader("etag");
- if (modified) {
- jQuery.etag[cacheURL] = modified;
- }
- }
-
- // if no content
- if (status === 204 || s.type === "HEAD") {
- statusText = "nocontent";
-
- // if not modified
- } else if (status === 304) {
- statusText = "notmodified";
-
- // If we have data, let's convert it
- } else {
- statusText = response.state;
- success = response.data;
- error = response.error;
- isSuccess = !error;
- }
- } else {
- // Extract error from statusText and normalize for non-aborts
- error = statusText;
- if (status || !statusText) {
- statusText = "error";
- if (status < 0) {
- status = 0;
- }
- }
- }
-
- // Set data for the fake xhr object
- jqXHR.status = status;
- jqXHR.statusText = ( nativeStatusText || statusText ) + "";
-
- // Success/Error
- if (isSuccess) {
- deferred.resolveWith(callbackContext, [success, statusText, jqXHR]);
- } else {
- deferred.rejectWith(callbackContext, [jqXHR, statusText, error]);
- }
-
- // Status-dependent callbacks
- jqXHR.statusCode(statusCode);
- statusCode = undefined;
-
- if (fireGlobals) {
- globalEventContext.trigger(isSuccess ? "ajaxSuccess" : "ajaxError",
- [jqXHR, s, isSuccess ? success : error]);
- }
-
- // Complete
- completeDeferred.fireWith(callbackContext, [jqXHR, statusText]);
-
- if (fireGlobals) {
- globalEventContext.trigger("ajaxComplete", [jqXHR, s]);
- // Handle the global AJAX counter
- if (!( --jQuery.active )) {
- jQuery.event.trigger("ajaxStop");
- }
- }
- }
-
- return jqXHR;
- },
-
- getJSON: function (url, data, callback) {
- return jQuery.get(url, data, callback, "json");
- },
-
- getScript: function (url, callback) {
- return jQuery.get(url, undefined, callback, "script");
- }
- });
-
- jQuery.each(["get", "post"], function (i, method) {
- jQuery[method] = function (url, data, callback, type) {
- // Shift arguments if data argument was omitted
- if (jQuery.isFunction(data)) {
- type = type || callback;
- callback = data;
- data = undefined;
- }
-
- return jQuery.ajax({
- url: url,
- type: method,
- dataType: type,
- data: data,
- success: callback
- });
- };
- });
-
-
- jQuery._evalUrl = function (url) {
- return jQuery.ajax({
- url: url,
- type: "GET",
- dataType: "script",
- async: false,
- global: false,
- "throws": true
- });
- };
-
-
- jQuery.fn.extend({
- wrapAll: function (html) {
- var wrap;
-
- if (jQuery.isFunction(html)) {
- return this.each(function (i) {
- jQuery(this).wrapAll(html.call(this, i));
- });
- }
-
- if (this[0]) {
-
- // The elements to wrap the target around
- wrap = jQuery(html, this[0].ownerDocument).eq(0).clone(true);
-
- if (this[0].parentNode) {
- wrap.insertBefore(this[0]);
- }
-
- wrap.map(function () {
- var elem = this;
-
- while (elem.firstElementChild) {
- elem = elem.firstElementChild;
- }
-
- return elem;
- }).append(this);
- }
-
- return this;
- },
-
- wrapInner: function (html) {
- if (jQuery.isFunction(html)) {
- return this.each(function (i) {
- jQuery(this).wrapInner(html.call(this, i));
- });
- }
-
- return this.each(function () {
- var self = jQuery(this),
- contents = self.contents();
-
- if (contents.length) {
- contents.wrapAll(html);
-
- } else {
- self.append(html);
- }
- });
- },
-
- wrap: function (html) {
- var isFunction = jQuery.isFunction(html);
-
- return this.each(function (i) {
- jQuery(this).wrapAll(isFunction ? html.call(this, i) : html);
- });
- },
-
- unwrap: function () {
- return this.parent().each(function () {
- if (!jQuery.nodeName(this, "body")) {
- jQuery(this).replaceWith(this.childNodes);
- }
- }).end();
- }
- });
-
-
- jQuery.expr.filters.hidden = function (elem) {
- // Support: Opera <= 12.12
- // Opera reports offsetWidths and offsetHeights less than zero on some elements
- return elem.offsetWidth <= 0 && elem.offsetHeight <= 0;
- };
- jQuery.expr.filters.visible = function (elem) {
- return !jQuery.expr.filters.hidden(elem);
- };
-
-
- var r20 = /%20/g,
- rbracket = /\[\]$/,
- rCRLF = /\r?\n/g,
- rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
- rsubmittable = /^(?:input|select|textarea|keygen)/i;
-
- function buildParams(prefix, obj, traditional, add) {
- var name;
-
- if (jQuery.isArray(obj)) {
- // Serialize array item.
- jQuery.each(obj, function (i, v) {
- if (traditional || rbracket.test(prefix)) {
- // Treat each array item as a scalar.
- add(prefix, v);
-
- } else {
- // Item is non-scalar (array or object), encode its numeric index.
- buildParams(prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add);
- }
- });
-
- } else if (!traditional && jQuery.type(obj) === "object") {
- // Serialize object item.
- for (name in obj) {
- buildParams(prefix + "[" + name + "]", obj[name], traditional, add);
- }
-
- } else {
- // Serialize scalar item.
- add(prefix, obj);
- }
- }
-
-// Serialize an array of form elements or a set of
-// key/values into a query string
- jQuery.param = function (a, traditional) {
- var prefix,
- s = [],
- add = function (key, value) {
- // If value is a function, invoke it and return its value
- value = jQuery.isFunction(value) ? value() : ( value == null ? "" : value );
- s[s.length] = encodeURIComponent(key) + "=" + encodeURIComponent(value);
- };
-
- // Set traditional to true for jQuery <= 1.3.2 behavior.
- if (traditional === undefined) {
- traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;
- }
-
- // If an array was passed in, assume that it is an array of form elements.
- if (jQuery.isArray(a) || ( a.jquery && !jQuery.isPlainObject(a) )) {
- // Serialize the form elements
- jQuery.each(a, function () {
- add(this.name, this.value);
- });
-
- } else {
- // If traditional, encode the "old" way (the way 1.3.2 or older
- // did it), otherwise encode params recursively.
- for (prefix in a) {
- buildParams(prefix, a[prefix], traditional, add);
- }
- }
-
- // Return the resulting serialization
- return s.join("&").replace(r20, "+");
- };
-
- jQuery.fn.extend({
- serialize: function () {
- return jQuery.param(this.serializeArray());
- },
- serializeArray: function () {
- return this.map(function () {
- // Can add propHook for "elements" to filter or add form elements
- var elements = jQuery.prop(this, "elements");
- return elements ? jQuery.makeArray(elements) : this;
- })
- .filter(function () {
- var type = this.type;
-
- // Use .is( ":disabled" ) so that fieldset[disabled] works
- return this.name && !jQuery(this).is(":disabled") &&
- rsubmittable.test(this.nodeName) && !rsubmitterTypes.test(type) &&
- ( this.checked || !rcheckableType.test(type) );
- })
- .map(function (i, elem) {
- var val = jQuery(this).val();
-
- return val == null ?
- null :
- jQuery.isArray(val) ?
- jQuery.map(val, function (val) {
- return {name: elem.name, value: val.replace(rCRLF, "\r\n")};
- }) :
- {name: elem.name, value: val.replace(rCRLF, "\r\n")};
- }).get();
- }
- });
-
-
- jQuery.ajaxSettings.xhr = function () {
- try {
- return new XMLHttpRequest();
- } catch (e) {
- }
- };
-
- var xhrId = 0,
- xhrCallbacks = {},
- xhrSuccessStatus = {
- // file protocol always yields status code 0, assume 200
- 0: 200,
- // Support: IE9
- // #1450: sometimes IE returns 1223 when it should be 204
- 1223: 204
- },
- xhrSupported = jQuery.ajaxSettings.xhr();
-
-// Support: IE9
-// Open requests must be manually aborted on unload (#5280)
-// See https://support.microsoft.com/kb/2856746 for more info
- if (window.attachEvent) {
- window.attachEvent("onunload", function () {
- for (var key in xhrCallbacks) {
- xhrCallbacks[key]();
- }
- });
- }
-
- support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );
- support.ajax = xhrSupported = !!xhrSupported;
-
- jQuery.ajaxTransport(function (options) {
- var callback;
-
- // Cross domain only allowed if supported through XMLHttpRequest
- if (support.cors || xhrSupported && !options.crossDomain) {
- return {
- send: function (headers, complete) {
- var i,
- xhr = options.xhr(),
- id = ++xhrId;
-
- xhr.open(options.type, options.url, options.async, options.username, options.password);
-
- // Apply custom fields if provided
- if (options.xhrFields) {
- for (i in options.xhrFields) {
- xhr[i] = options.xhrFields[i];
- }
- }
-
- // Override mime type if needed
- if (options.mimeType && xhr.overrideMimeType) {
- xhr.overrideMimeType(options.mimeType);
- }
-
- // X-Requested-With header
- // For cross-domain requests, seeing as conditions for a preflight are
- // akin to a jigsaw puzzle, we simply never set it to be sure.
- // (it can always be set on a per-request basis or even using ajaxSetup)
- // For same-domain requests, won't change header if already provided.
- if (!options.crossDomain && !headers["X-Requested-With"]) {
- headers["X-Requested-With"] = "XMLHttpRequest";
- }
-
- // Set headers
- for (i in headers) {
- xhr.setRequestHeader(i, headers[i]);
- }
-
- // Callback
- callback = function (type) {
- return function () {
- if (callback) {
- delete xhrCallbacks[id];
- callback = xhr.onload = xhr.onerror = null;
-
- if (type === "abort") {
- xhr.abort();
- } else if (type === "error") {
- complete(
- // file: protocol always yields status 0; see #8605, #14207
- xhr.status,
- xhr.statusText
- );
- } else {
- complete(
- xhrSuccessStatus[xhr.status] || xhr.status,
- xhr.statusText,
- // Support: IE9
- // Accessing binary-data responseText throws an exception
- // (#11426)
- typeof xhr.responseText === "string" ? {
- text: xhr.responseText
- } : undefined,
- xhr.getAllResponseHeaders()
- );
- }
- }
- };
- };
-
- // Listen to events
- xhr.onload = callback();
- xhr.onerror = callback("error");
-
- // Create the abort callback
- callback = xhrCallbacks[id] = callback("abort");
-
- try {
- // Do send the request (this may raise an exception)
- xhr.send(options.hasContent && options.data || null);
- } catch (e) {
- // #14683: Only rethrow if this hasn't been notified as an error yet
- if (callback) {
- throw e;
- }
- }
- },
-
- abort: function () {
- if (callback) {
- callback();
- }
- }
- };
- }
- });
-
-
-// Install script dataType
- jQuery.ajaxSetup({
- accepts: {
- script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
- },
- contents: {
- script: /(?:java|ecma)script/
- },
- converters: {
- "text script": function (text) {
- jQuery.globalEval(text);
- return text;
- }
- }
- });
-
-// Handle cache's special case and crossDomain
- jQuery.ajaxPrefilter("script", function (s) {
- if (s.cache === undefined) {
- s.cache = false;
- }
- if (s.crossDomain) {
- s.type = "GET";
- }
- });
-
-// Bind script tag hack transport
- jQuery.ajaxTransport("script", function (s) {
- // This transport only deals with cross domain requests
- if (s.crossDomain) {
- var script, callback;
- return {
- send: function (_, complete) {
- script = jQuery("<script>").prop({
- async: true,
- charset: s.scriptCharset,
- src: s.url
- }).on(
- "load error",
- callback = function (evt) {
- script.remove();
- callback = null;
- if (evt) {
- complete(evt.type === "error" ? 404 : 200, evt.type);
- }
- }
- );
- document.head.appendChild(script[0]);
- },
- abort: function () {
- if (callback) {
- callback();
- }
- }
- };
- }
- });
-
-
- var oldCallbacks = [],
- rjsonp = /(=)\?(?=&|$)|\?\?/;
-
-// Default jsonp settings
- jQuery.ajaxSetup({
- jsonp: "callback",
- jsonpCallback: function () {
- var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) );
- this[callback] = true;
- return callback;
- }
- });
-
-// Detect, normalize options and install callbacks for jsonp requests
- jQuery.ajaxPrefilter("json jsonp", function (s, originalSettings, jqXHR) {
-
- var callbackName, overwritten, responseContainer,
- jsonProp = s.jsonp !== false && ( rjsonp.test(s.url) ?
- "url" :
- typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test(s.data) && "data"
- );
-
- // Handle iff the expected data type is "jsonp" or we have a parameter to set
- if (jsonProp || s.dataTypes[0] === "jsonp") {
-
- // Get callback name, remembering preexisting value associated with it
- callbackName = s.jsonpCallback = jQuery.isFunction(s.jsonpCallback) ?
- s.jsonpCallback() :
- s.jsonpCallback;
-
- // Insert callback into url or form data
- if (jsonProp) {
- s[jsonProp] = s[jsonProp].replace(rjsonp, "$1" + callbackName);
- } else if (s.jsonp !== false) {
- s.url += ( rquery.test(s.url) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
- }
-
- // Use data converter to retrieve json after script execution
- s.converters["script json"] = function () {
- if (!responseContainer) {
- jQuery.error(callbackName + " was not called");
- }
- return responseContainer[0];
- };
-
- // force json dataType
- s.dataTypes[0] = "json";
-
- // Install callback
- overwritten = window[callbackName];
- window[callbackName] = function () {
- responseContainer = arguments;
- };
-
- // Clean-up function (fires after converters)
- jqXHR.always(function () {
- // Restore preexisting value
- window[callbackName] = overwritten;
-
- // Save back as free
- if (s[callbackName]) {
- // make sure that re-using the options doesn't screw things around
- s.jsonpCallback = originalSettings.jsonpCallback;
-
- // save the callback name for future use
- oldCallbacks.push(callbackName);
- }
-
- // Call if it was a function and we have a response
- if (responseContainer && jQuery.isFunction(overwritten)) {
- overwritten(responseContainer[0]);
- }
-
- responseContainer = overwritten = undefined;
- });
-
- // Delegate to script
- return "script";
- }
- });
-
-
-// data: string of html
-// context (optional): If specified, the fragment will be created in this context, defaults to document
-// keepScripts (optional): If true, will include scripts passed in the html string
- jQuery.parseHTML = function (data, context, keepScripts) {
- if (!data || typeof data !== "string") {
- return null;
- }
- if (typeof context === "boolean") {
- keepScripts = context;
- context = false;
- }
- context = context || document;
-
- var parsed = rsingleTag.exec(data),
- scripts = !keepScripts && [];
-
- // Single tag
- if (parsed) {
- return [context.createElement(parsed[1])];
- }
-
- parsed = jQuery.buildFragment([data], context, scripts);
-
- if (scripts && scripts.length) {
- jQuery(scripts).remove();
- }
-
- return jQuery.merge([], parsed.childNodes);
- };
-
-
-// Keep a copy of the old load method
- var _load = jQuery.fn.load;
-
- /**
- * Load a url into a page
- */
- jQuery.fn.load = function (url, params, callback) {
- if (typeof url !== "string" && _load) {
- return _load.apply(this, arguments);
- }
-
- var selector, type, response,
- self = this,
- off = url.indexOf(" ");
-
- if (off >= 0) {
- selector = jQuery.trim(url.slice(off));
- url = url.slice(0, off);
- }
-
- // If it's a function
- if (jQuery.isFunction(params)) {
-
- // We assume that it's the callback
- callback = params;
- params = undefined;
-
- // Otherwise, build a param string
- } else if (params && typeof params === "object") {
- type = "POST";
- }
-
- // If we have elements to modify, make the request
- if (self.length > 0) {
- jQuery.ajax({
- url: url,
-
- // if "type" variable is undefined, then "GET" method will be used
- type: type,
- dataType: "html",
- data: params
- }).done(function (responseText) {
-
- // Save response for use in complete callback
- response = arguments;
-
- self.html(selector ?
-
- // If a selector was specified, locate the right elements in a dummy div
- // Exclude scripts to avoid IE 'Permission Denied' errors
- jQuery("<div>").append(jQuery.parseHTML(responseText)).find(selector) :
-
- // Otherwise use the full result
- responseText);
-
- }).complete(callback && function (jqXHR, status) {
- self.each(callback, response || [jqXHR.responseText, status, jqXHR]);
- });
- }
-
- return this;
- };
-
-
-// Attach a bunch of functions for handling common AJAX events
- jQuery.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (i, type) {
- jQuery.fn[type] = function (fn) {
- return this.on(type, fn);
- };
- });
-
-
- jQuery.expr.filters.animated = function (elem) {
- return jQuery.grep(jQuery.timers, function (fn) {
- return elem === fn.elem;
- }).length;
- };
-
-
- var docElem = window.document.documentElement;
-
- /**
- * Gets a window from an element
- */
- function getWindow(elem) {
- return jQuery.isWindow(elem) ? elem : elem.nodeType === 9 && elem.defaultView;
- }
-
- jQuery.offset = {
- setOffset: function (elem, options, i) {
- var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
- position = jQuery.css(elem, "position"),
- curElem = jQuery(elem),
- props = {};
-
- // Set position first, in-case top/left are set even on static elem
- if (position === "static") {
- elem.style.position = "relative";
- }
-
- curOffset = curElem.offset();
- curCSSTop = jQuery.css(elem, "top");
- curCSSLeft = jQuery.css(elem, "left");
- calculatePosition = ( position === "absolute" || position === "fixed" ) &&
- ( curCSSTop + curCSSLeft ).indexOf("auto") > -1;
-
- // Need to be able to calculate position if either
- // top or left is auto and position is either absolute or fixed
- if (calculatePosition) {
- curPosition = curElem.position();
- curTop = curPosition.top;
- curLeft = curPosition.left;
-
- } else {
- curTop = parseFloat(curCSSTop) || 0;
- curLeft = parseFloat(curCSSLeft) || 0;
- }
-
- if (jQuery.isFunction(options)) {
- options = options.call(elem, i, curOffset);
- }
-
- if (options.top != null) {
- props.top = ( options.top - curOffset.top ) + curTop;
- }
- if (options.left != null) {
- props.left = ( options.left - curOffset.left ) + curLeft;
- }
-
- if ("using" in options) {
- options.using.call(elem, props);
-
- } else {
- curElem.css(props);
- }
- }
- };
-
- jQuery.fn.extend({
- offset: function (options) {
- if (arguments.length) {
- return options === undefined ?
- this :
- this.each(function (i) {
- jQuery.offset.setOffset(this, options, i);
- });
- }
-
- var docElem, win,
- elem = this[0],
- box = {top: 0, left: 0},
- doc = elem && elem.ownerDocument;
-
- if (!doc) {
- return;
- }
-
- docElem = doc.documentElement;
-
- // Make sure it's not a disconnected DOM node
- if (!jQuery.contains(docElem, elem)) {
- return box;
- }
-
- // Support: BlackBerry 5, iOS 3 (original iPhone)
- // If we don't have gBCR, just use 0,0 rather than error
- if (typeof elem.getBoundingClientRect !== strundefined) {
- box = elem.getBoundingClientRect();
- }
- win = getWindow(doc);
- return {
- top: box.top + win.pageYOffset - docElem.clientTop,
- left: box.left + win.pageXOffset - docElem.clientLeft
- };
- },
-
- position: function () {
- if (!this[0]) {
- return;
- }
-
- var offsetParent, offset,
- elem = this[0],
- parentOffset = {top: 0, left: 0};
-
- // Fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is its only offset parent
- if (jQuery.css(elem, "position") === "fixed") {
- // Assume getBoundingClientRect is there when computed position is fixed
- offset = elem.getBoundingClientRect();
-
- } else {
- // Get *real* offsetParent
- offsetParent = this.offsetParent();
-
- // Get correct offsets
- offset = this.offset();
- if (!jQuery.nodeName(offsetParent[0], "html")) {
- parentOffset = offsetParent.offset();
- }
-
- // Add offsetParent borders
- parentOffset.top += jQuery.css(offsetParent[0], "borderTopWidth", true);
- parentOffset.left += jQuery.css(offsetParent[0], "borderLeftWidth", true);
- }
-
- // Subtract parent offsets and element margins
- return {
- top: offset.top - parentOffset.top - jQuery.css(elem, "marginTop", true),
- left: offset.left - parentOffset.left - jQuery.css(elem, "marginLeft", true)
- };
- },
-
- offsetParent: function () {
- return this.map(function () {
- var offsetParent = this.offsetParent || docElem;
-
- while (offsetParent && ( !jQuery.nodeName(offsetParent, "html") && jQuery.css(offsetParent, "position") === "static" )) {
- offsetParent = offsetParent.offsetParent;
- }
-
- return offsetParent || docElem;
- });
- }
- });
-
-// Create scrollLeft and scrollTop methods
- jQuery.each({scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function (method, prop) {
- var top = "pageYOffset" === prop;
-
- jQuery.fn[method] = function (val) {
- return access(this, function (elem, method, val) {
- var win = getWindow(elem);
-
- if (val === undefined) {
- return win ? win[prop] : elem[method];
- }
-
- if (win) {
- win.scrollTo(
- !top ? val : window.pageXOffset,
- top ? val : window.pageYOffset
- );
-
- } else {
- elem[method] = val;
- }
- }, method, val, arguments.length, null);
- };
- });
-
-// Support: Safari<7+, Chrome<37+
-// Add the top/left cssHooks using jQuery.fn.position
-// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
-// Blink bug: https://code.google.com/p/chromium/issues/detail?id=229280
-// getComputedStyle returns percent when specified for top/left/bottom/right;
-// rather than make the css module depend on the offset module, just check for it here
- jQuery.each(["top", "left"], function (i, prop) {
- jQuery.cssHooks[prop] = addGetHookIf(support.pixelPosition,
- function (elem, computed) {
- if (computed) {
- computed = curCSS(elem, prop);
- // If curCSS returns percentage, fallback to offset
- return rnumnonpx.test(computed) ?
- jQuery(elem).position()[prop] + "px" :
- computed;
- }
- }
- );
- });
-
-
-// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
- jQuery.each({Height: "height", Width: "width"}, function (name, type) {
- jQuery.each({padding: "inner" + name, content: type, "": "outer" + name}, function (defaultExtra, funcName) {
- // Margin is only for outerHeight, outerWidth
- jQuery.fn[funcName] = function (margin, value) {
- var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ),
- extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" );
-
- return access(this, function (elem, type, value) {
- var doc;
-
- if (jQuery.isWindow(elem)) {
- // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there
- // isn't a whole lot we can do. See pull request at this URL for discussion:
- // https://github.com/jquery/jquery/pull/764
- return elem.document.documentElement["client" + name];
- }
-
- // Get document width or height
- if (elem.nodeType === 9) {
- doc = elem.documentElement;
-
- // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],
- // whichever is greatest
- return Math.max(
- elem.body["scroll" + name], doc["scroll" + name],
- elem.body["offset" + name], doc["offset" + name],
- doc["client" + name]
- );
- }
-
- return value === undefined ?
- // Get width or height on the element, requesting but not forcing parseFloat
- jQuery.css(elem, type, extra) :
-
- // Set width or height on the element
- jQuery.style(elem, type, value, extra);
- }, type, chainable ? margin : undefined, chainable, null);
- };
- });
- });
-
-
-// The number of elements contained in the matched element set
- jQuery.fn.size = function () {
- return this.length;
- };
-
- jQuery.fn.andSelf = jQuery.fn.addBack;
-
-
-// Register as a named AMD module, since jQuery can be concatenated with other
-// files that may use define, but not via a proper concatenation script that
-// understands anonymous AMD modules. A named AMD is safest and most robust
-// way to register. Lowercase jquery is used because AMD module names are
-// derived from file names, and jQuery is normally delivered in a lowercase
-// file name. Do this after creating the global so that if an AMD module wants
-// to call noConflict to hide this version of jQuery, it will work.
-
-// Note that for maximum portability, libraries that are not jQuery should
-// declare themselves as anonymous modules, and avoid setting a global if an
-// AMD loader is present. jQuery is a special case. For more information, see
-// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon
-
- if (typeof define === "function" && define.amd) {
- define("jquery", [], function () {
- return jQuery;
- });
- }
-
-
- var
- // Map over jQuery in case of overwrite
- _jQuery = window.jQuery,
-
- // Map over the $ in case of overwrite
- _$ = window.$;
-
- jQuery.noConflict = function (deep) {
- if (window.$ === jQuery) {
- window.$ = _$;
- }
-
- if (deep && window.jQuery === jQuery) {
- window.jQuery = _jQuery;
- }
-
- return jQuery;
- };
-
-// Expose jQuery and $ identifiers, even in AMD
-// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
-// and CommonJS for browser emulators (#13566)
- if (typeof noGlobal === strundefined) {
- window.jQuery = window.$ = jQuery;
- }
-
-
- return jQuery;
-
-}));
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-2.1.3.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-2.1.3.min.js
deleted file mode 100644
index 7ceee0cd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-2.1.3.min.js
+++ /dev/null
@@ -1,2393 +0,0 @@
-/*! jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
-!function (a, b) {
- "object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function (a) {
- if (!a.document)throw new Error("jQuery requires a window with a document");
- return b(a)
- } : b(a)
-}("undefined" != typeof window ? window : this, function (a, b) {
- var c = [], d = c.slice, e = c.concat, f = c.push, g = c.indexOf, h = {}, i = h.toString, j = h.hasOwnProperty, k = {}, l = a.document, m = "2.1.3", n = function (a, b) {
- return new n.fn.init(a, b)
- }, o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, p = /^-ms-/, q = /-([\da-z])/gi, r = function (a, b) {
- return b.toUpperCase()
- };
- n.fn = n.prototype = {
- jquery: m, constructor: n, selector: "", length: 0, toArray: function () {
- return d.call(this)
- }, get: function (a) {
- return null != a ? 0 > a ? this[a + this.length] : this[a] : d.call(this)
- }, pushStack: function (a) {
- var b = n.merge(this.constructor(), a);
- return b.prevObject = this, b.context = this.context, b
- }, each: function (a, b) {
- return n.each(this, a, b)
- }, map: function (a) {
- return this.pushStack(n.map(this, function (b, c) {
- return a.call(b, c, b)
- }))
- }, slice: function () {
- return this.pushStack(d.apply(this, arguments))
- }, first: function () {
- return this.eq(0)
- }, last: function () {
- return this.eq(-1)
- }, eq: function (a) {
- var b = this.length, c = +a + (0 > a ? b : 0);
- return this.pushStack(c >= 0 && b > c ? [this[c]] : [])
- }, end: function () {
- return this.prevObject || this.constructor(null)
- }, push: f, sort: c.sort, splice: c.splice
- }, n.extend = n.fn.extend = function () {
- var a, b, c, d, e, f, g = arguments[0] || {}, h = 1, i = arguments.length, j = !1;
- for ("boolean" == typeof g && (j = g, g = arguments[h] || {}, h++), "object" == typeof g || n.isFunction(g) || (g = {}), h === i && (g = this, h--); i > h; h++)if (null != (a = arguments[h]))for (b in a)c = g[b], d = a[b], g !== d && (j && d && (n.isPlainObject(d) || (e = n.isArray(d))) ? (e ? (e = !1, f = c && n.isArray(c) ? c : []) : f = c && n.isPlainObject(c) ? c : {}, g[b] = n.extend(j, f, d)) : void 0 !== d && (g[b] = d));
- return g
- }, n.extend({
- expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""), isReady: !0, error: function (a) {
- throw new Error(a)
- }, noop: function () {
- }, isFunction: function (a) {
- return "function" === n.type(a)
- }, isArray: Array.isArray, isWindow: function (a) {
- return null != a && a === a.window
- }, isNumeric: function (a) {
- return !n.isArray(a) && a - parseFloat(a) + 1 >= 0
- }, isPlainObject: function (a) {
- return "object" !== n.type(a) || a.nodeType || n.isWindow(a) ? !1 : a.constructor && !j.call(a.constructor.prototype, "isPrototypeOf") ? !1 : !0
- }, isEmptyObject: function (a) {
- var b;
- for (b in a)return !1;
- return !0
- }, type: function (a) {
- return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? h[i.call(a)] || "object" : typeof a
- }, globalEval: function (a) {
- var b, c = eval;
- a = n.trim(a), a && (1 === a.indexOf("use strict") ? (b = l.createElement("script"), b.text = a, l.head.appendChild(b).parentNode.removeChild(b)) : c(a))
- }, camelCase: function (a) {
- return a.replace(p, "ms-").replace(q, r)
- }, nodeName: function (a, b) {
- return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
- }, each: function (a, b, c) {
- var d, e = 0, f = a.length, g = s(a);
- if (c) {
- if (g) {
- for (; f > e; e++)if (d = b.apply(a[e], c), d === !1)break
- } else for (e in a)if (d = b.apply(a[e], c), d === !1)break
- } else if (g) {
- for (; f > e; e++)if (d = b.call(a[e], e, a[e]), d === !1)break
- } else for (e in a)if (d = b.call(a[e], e, a[e]), d === !1)break;
- return a
- }, trim: function (a) {
- return null == a ? "" : (a + "").replace(o, "")
- }, makeArray: function (a, b) {
- var c = b || [];
- return null != a && (s(Object(a)) ? n.merge(c, "string" == typeof a ? [a] : a) : f.call(c, a)), c
- }, inArray: function (a, b, c) {
- return null == b ? -1 : g.call(b, a, c)
- }, merge: function (a, b) {
- for (var c = +b.length, d = 0, e = a.length; c > d; d++)a[e++] = b[d];
- return a.length = e, a
- }, grep: function (a, b, c) {
- for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++)d = !b(a[f], f), d !== h && e.push(a[f]);
- return e
- }, map: function (a, b, c) {
- var d, f = 0, g = a.length, h = s(a), i = [];
- if (h)for (; g > f; f++)d = b(a[f], f, c), null != d && i.push(d); else for (f in a)d = b(a[f], f, c), null != d && i.push(d);
- return e.apply([], i)
- }, guid: 1, proxy: function (a, b) {
- var c, e, f;
- return "string" == typeof b && (c = a[b], b = a, a = c), n.isFunction(a) ? (e = d.call(arguments, 2), f = function () {
- return a.apply(b || this, e.concat(d.call(arguments)))
- }, f.guid = a.guid = a.guid || n.guid++, f) : void 0
- }, now: Date.now, support: k
- }), n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (a, b) {
- h["[object " + b + "]"] = b.toLowerCase()
- });
- function s(a) {
- var b = a.length, c = n.type(a);
- return "function" === c || n.isWindow(a) ? !1 : 1 === a.nodeType && b ? !0 : "array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a
- }
-
- var t = function (a) {
- var b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u = "sizzle" + 1 * new Date, v = a.document, w = 0, x = 0, y = hb(), z = hb(), A = hb(), B = function (a, b) {
- return a === b && (l = !0), 0
- }, C = 1 << 31, D = {}.hasOwnProperty, E = [], F = E.pop, G = E.push, H = E.push, I = E.slice, J = function (a, b) {
- for (var c = 0, d = a.length; d > c; c++)if (a[c] === b)return c;
- return -1
- }, K = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", L = "[\\x20\\t\\r\\n\\f]", M = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", N = M.replace("w", "w#"), O = "\\[" + L + "*(" + M + ")(?:" + L + "*([*^$|!~]?=)" + L + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + N + "))|)" + L + "*\\]", P = ":(" + M + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + O + ")*)|.*)\\)|)", Q = new RegExp(L + "+", "g"), R = new RegExp("^" + L + "+|((?:^|[^\\\\])(?:\\\\.)*)" + L + "+$", "g"), S = new RegExp("^" + L + "*," + L + "*"), T = new RegExp("^" + L + "*([>+~]|" + L + ")" + L + "*"), U = new RegExp("=" + L + "*([^\\]'\"]*?)" + L + "*\\]", "g"), V = new RegExp(P), W = new RegExp("^" + N + "$"), X = {
- ID: new RegExp("^#(" + M + ")"),
- CLASS: new RegExp("^\\.(" + M + ")"),
- TAG: new RegExp("^(" + M.replace("w", "w*") + ")"),
- ATTR: new RegExp("^" + O),
- PSEUDO: new RegExp("^" + P),
- CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + L + "*(even|odd|(([+-]|)(\\d*)n|)" + L + "*(?:([+-]|)" + L + "*(\\d+)|))" + L + "*\\)|)", "i"),
- bool: new RegExp("^(?:" + K + ")$", "i"),
- needsContext: new RegExp("^" + L + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + L + "*((?:-\\d)?\\d*)" + L + "*\\)|)(?=[^-]|$)", "i")
- }, Y = /^(?:input|select|textarea|button)$/i, Z = /^h\d$/i, $ = /^[^{]+\{\s*\[native \w/, _ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, ab = /[+~]/, bb = /'|\\/g, cb = new RegExp("\\\\([\\da-f]{1,6}" + L + "?|(" + L + ")|.)", "ig"), db = function (a, b, c) {
- var d = "0x" + b - 65536;
- return d !== d || c ? b : 0 > d ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
- }, eb = function () {
- m()
- };
- try {
- H.apply(E = I.call(v.childNodes), v.childNodes), E[v.childNodes.length].nodeType
- } catch (fb) {
- H = {
- apply: E.length ? function (a, b) {
- G.apply(a, I.call(b))
- } : function (a, b) {
- var c = a.length, d = 0;
- while (a[c++] = b[d++]);
- a.length = c - 1
- }
- }
- }
- function gb(a, b, d, e) {
- var f, h, j, k, l, o, r, s, w, x;
- if ((b ? b.ownerDocument || b : v) !== n && m(b), b = b || n, d = d || [], k = b.nodeType, "string" != typeof a || !a || 1 !== k && 9 !== k && 11 !== k)return d;
- if (!e && p) {
- if (11 !== k && (f = _.exec(a)))if (j = f[1]) {
- if (9 === k) {
- if (h = b.getElementById(j), !h || !h.parentNode)return d;
- if (h.id === j)return d.push(h), d
- } else if (b.ownerDocument && (h = b.ownerDocument.getElementById(j)) && t(b, h) && h.id === j)return d.push(h), d
- } else {
- if (f[2])return H.apply(d, b.getElementsByTagName(a)), d;
- if ((j = f[3]) && c.getElementsByClassName)return H.apply(d, b.getElementsByClassName(j)), d
- }
- if (c.qsa && (!q || !q.test(a))) {
- if (s = r = u, w = b, x = 1 !== k && a, 1 === k && "object" !== b.nodeName.toLowerCase()) {
- o = g(a), (r = b.getAttribute("id")) ? s = r.replace(bb, "\\$&") : b.setAttribute("id", s), s = "[id='" + s + "'] ", l = o.length;
- while (l--)o[l] = s + rb(o[l]);
- w = ab.test(a) && pb(b.parentNode) || b, x = o.join(",")
- }
- if (x)try {
- return H.apply(d, w.querySelectorAll(x)), d
- } catch (y) {
- } finally {
- r || b.removeAttribute("id")
- }
- }
- }
- return i(a.replace(R, "$1"), b, d, e)
- }
-
- function hb() {
- var a = [];
-
- function b(c, e) {
- return a.push(c + " ") > d.cacheLength && delete b[a.shift()], b[c + " "] = e
- }
-
- return b
- }
-
- function ib(a) {
- return a[u] = !0, a
- }
-
- function jb(a) {
- var b = n.createElement("div");
- try {
- return !!a(b)
- } catch (c) {
- return !1
- } finally {
- b.parentNode && b.parentNode.removeChild(b), b = null
- }
- }
-
- function kb(a, b) {
- var c = a.split("|"), e = a.length;
- while (e--)d.attrHandle[c[e]] = b
- }
-
- function lb(a, b) {
- var c = b && a, d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || C) - (~a.sourceIndex || C);
- if (d)return d;
- if (c)while (c = c.nextSibling)if (c === b)return -1;
- return a ? 1 : -1
- }
-
- function mb(a) {
- return function (b) {
- var c = b.nodeName.toLowerCase();
- return "input" === c && b.type === a
- }
- }
-
- function nb(a) {
- return function (b) {
- var c = b.nodeName.toLowerCase();
- return ("input" === c || "button" === c) && b.type === a
- }
- }
-
- function ob(a) {
- return ib(function (b) {
- return b = +b, ib(function (c, d) {
- var e, f = a([], c.length, b), g = f.length;
- while (g--)c[e = f[g]] && (c[e] = !(d[e] = c[e]))
- })
- })
- }
-
- function pb(a) {
- return a && "undefined" != typeof a.getElementsByTagName && a
- }
-
- c = gb.support = {}, f = gb.isXML = function (a) {
- var b = a && (a.ownerDocument || a).documentElement;
- return b ? "HTML" !== b.nodeName : !1
- }, m = gb.setDocument = function (a) {
- var b, e, g = a ? a.ownerDocument || a : v;
- return g !== n && 9 === g.nodeType && g.documentElement ? (n = g, o = g.documentElement, e = g.defaultView, e && e !== e.top && (e.addEventListener ? e.addEventListener("unload", eb, !1) : e.attachEvent && e.attachEvent("onunload", eb)), p = !f(g), c.attributes = jb(function (a) {
- return a.className = "i", !a.getAttribute("className")
- }), c.getElementsByTagName = jb(function (a) {
- return a.appendChild(g.createComment("")), !a.getElementsByTagName("*").length
- }), c.getElementsByClassName = $.test(g.getElementsByClassName), c.getById = jb(function (a) {
- return o.appendChild(a).id = u, !g.getElementsByName || !g.getElementsByName(u).length
- }), c.getById ? (d.find.ID = function (a, b) {
- if ("undefined" != typeof b.getElementById && p) {
- var c = b.getElementById(a);
- return c && c.parentNode ? [c] : []
- }
- }, d.filter.ID = function (a) {
- var b = a.replace(cb, db);
- return function (a) {
- return a.getAttribute("id") === b
- }
- }) : (delete d.find.ID, d.filter.ID = function (a) {
- var b = a.replace(cb, db);
- return function (a) {
- var c = "undefined" != typeof a.getAttributeNode && a.getAttributeNode("id");
- return c && c.value === b
- }
- }), d.find.TAG = c.getElementsByTagName ? function (a, b) {
- return "undefined" != typeof b.getElementsByTagName ? b.getElementsByTagName(a) : c.qsa ? b.querySelectorAll(a) : void 0
- } : function (a, b) {
- var c, d = [], e = 0, f = b.getElementsByTagName(a);
- if ("*" === a) {
- while (c = f[e++])1 === c.nodeType && d.push(c);
- return d
- }
- return f
- }, d.find.CLASS = c.getElementsByClassName && function (a, b) {
- return p ? b.getElementsByClassName(a) : void 0
- }, r = [], q = [], (c.qsa = $.test(g.querySelectorAll)) && (jb(function (a) {
- o.appendChild(a).innerHTML = "<a id='" + u + "'></a><select id='" + u + "-\f]' msallowcapture=''><option selected=''></option></select>", a.querySelectorAll("[msallowcapture^='']").length && q.push("[*^$]=" + L + "*(?:''|\"\")"), a.querySelectorAll("[selected]").length || q.push("\\[" + L + "*(?:value|" + K + ")"), a.querySelectorAll("[id~=" + u + "-]").length || q.push("~="), a.querySelectorAll(":checked").length || q.push(":checked"), a.querySelectorAll("a#" + u + "+*").length || q.push(".#.+[+~]")
- }), jb(function (a) {
- var b = g.createElement("input");
- b.setAttribute("type", "hidden"), a.appendChild(b).setAttribute("name", "D"), a.querySelectorAll("[name=d]").length && q.push("name" + L + "*[*^$|!~]?="), a.querySelectorAll(":enabled").length || q.push(":enabled", ":disabled"), a.querySelectorAll("*,:x"), q.push(",.*:")
- })), (c.matchesSelector = $.test(s = o.matches || o.webkitMatchesSelector || o.mozMatchesSelector || o.oMatchesSelector || o.msMatchesSelector)) && jb(function (a) {
- c.disconnectedMatch = s.call(a, "div"), s.call(a, "[s!='']:x"), r.push("!=", P)
- }), q = q.length && new RegExp(q.join("|")), r = r.length && new RegExp(r.join("|")), b = $.test(o.compareDocumentPosition), t = b || $.test(o.contains) ? function (a, b) {
- var c = 9 === a.nodeType ? a.documentElement : a, d = b && b.parentNode;
- return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
- } : function (a, b) {
- if (b)while (b = b.parentNode)if (b === a)return !0;
- return !1
- }, B = b ? function (a, b) {
- if (a === b)return l = !0, 0;
- var d = !a.compareDocumentPosition - !b.compareDocumentPosition;
- return d ? d : (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === g || a.ownerDocument === v && t(v, a) ? -1 : b === g || b.ownerDocument === v && t(v, b) ? 1 : k ? J(k, a) - J(k, b) : 0 : 4 & d ? -1 : 1)
- } : function (a, b) {
- if (a === b)return l = !0, 0;
- var c, d = 0, e = a.parentNode, f = b.parentNode, h = [a], i = [b];
- if (!e || !f)return a === g ? -1 : b === g ? 1 : e ? -1 : f ? 1 : k ? J(k, a) - J(k, b) : 0;
- if (e === f)return lb(a, b);
- c = a;
- while (c = c.parentNode)h.unshift(c);
- c = b;
- while (c = c.parentNode)i.unshift(c);
- while (h[d] === i[d])d++;
- return d ? lb(h[d], i[d]) : h[d] === v ? -1 : i[d] === v ? 1 : 0
- }, g) : n
- }, gb.matches = function (a, b) {
- return gb(a, null, null, b)
- }, gb.matchesSelector = function (a, b) {
- if ((a.ownerDocument || a) !== n && m(a), b = b.replace(U, "='$1']"), !(!c.matchesSelector || !p || r && r.test(b) || q && q.test(b)))try {
- var d = s.call(a, b);
- if (d || c.disconnectedMatch || a.document && 11 !== a.document.nodeType)return d
- } catch (e) {
- }
- return gb(b, n, null, [a]).length > 0
- }, gb.contains = function (a, b) {
- return (a.ownerDocument || a) !== n && m(a), t(a, b)
- }, gb.attr = function (a, b) {
- (a.ownerDocument || a) !== n && m(a);
- var e = d.attrHandle[b.toLowerCase()], f = e && D.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !p) : void 0;
- return void 0 !== f ? f : c.attributes || !p ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null
- }, gb.error = function (a) {
- throw new Error("Syntax error, unrecognized expression: " + a)
- }, gb.uniqueSort = function (a) {
- var b, d = [], e = 0, f = 0;
- if (l = !c.detectDuplicates, k = !c.sortStable && a.slice(0), a.sort(B), l) {
- while (b = a[f++])b === a[f] && (e = d.push(f));
- while (e--)a.splice(d[e], 1)
- }
- return k = null, a
- }, e = gb.getText = function (a) {
- var b, c = "", d = 0, f = a.nodeType;
- if (f) {
- if (1 === f || 9 === f || 11 === f) {
- if ("string" == typeof a.textContent)return a.textContent;
- for (a = a.firstChild; a; a = a.nextSibling)c += e(a)
- } else if (3 === f || 4 === f)return a.nodeValue
- } else while (b = a[d++])c += e(b);
- return c
- }, d = gb.selectors = {
- cacheLength: 50,
- createPseudo: ib,
- match: X,
- attrHandle: {},
- find: {},
- relative: {
- ">": {dir: "parentNode", first: !0},
- " ": {dir: "parentNode"},
- "+": {dir: "previousSibling", first: !0},
- "~": {dir: "previousSibling"}
- },
- preFilter: {
- ATTR: function (a) {
- return a[1] = a[1].replace(cb, db), a[3] = (a[3] || a[4] || a[5] || "").replace(cb, db), "~=" === a[2] && (a[3] = " " + a[3] + " "), a.slice(0, 4)
- }, CHILD: function (a) {
- return a[1] = a[1].toLowerCase(), "nth" === a[1].slice(0, 3) ? (a[3] || gb.error(a[0]), a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * ("even" === a[3] || "odd" === a[3])), a[5] = +(a[7] + a[8] || "odd" === a[3])) : a[3] && gb.error(a[0]), a
- }, PSEUDO: function (a) {
- var b, c = !a[6] && a[2];
- return X.CHILD.test(a[0]) ? null : (a[3] ? a[2] = a[4] || a[5] || "" : c && V.test(c) && (b = g(c, !0)) && (b = c.indexOf(")", c.length - b) - c.length) && (a[0] = a[0].slice(0, b), a[2] = c.slice(0, b)), a.slice(0, 3))
- }
- },
- filter: {
- TAG: function (a) {
- var b = a.replace(cb, db).toLowerCase();
- return "*" === a ? function () {
- return !0
- } : function (a) {
- return a.nodeName && a.nodeName.toLowerCase() === b
- }
- }, CLASS: function (a) {
- var b = y[a + " "];
- return b || (b = new RegExp("(^|" + L + ")" + a + "(" + L + "|$)")) && y(a, function (a) {
- return b.test("string" == typeof a.className && a.className || "undefined" != typeof a.getAttribute && a.getAttribute("class") || "")
- })
- }, ATTR: function (a, b, c) {
- return function (d) {
- var e = gb.attr(d, a);
- return null == e ? "!=" === b : b ? (e += "", "=" === b ? e === c : "!=" === b ? e !== c : "^=" === b ? c && 0 === e.indexOf(c) : "*=" === b ? c && e.indexOf(c) > -1 : "$=" === b ? c && e.slice(-c.length) === c : "~=" === b ? (" " + e.replace(Q, " ") + " ").indexOf(c) > -1 : "|=" === b ? e === c || e.slice(0, c.length + 1) === c + "-" : !1) : !0
- }
- }, CHILD: function (a, b, c, d, e) {
- var f = "nth" !== a.slice(0, 3), g = "last" !== a.slice(-4), h = "of-type" === b;
- return 1 === d && 0 === e ? function (a) {
- return !!a.parentNode
- } : function (b, c, i) {
- var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling", q = b.parentNode, r = h && b.nodeName.toLowerCase(), s = !i && !h;
- if (q) {
- if (f) {
- while (p) {
- l = b;
- while (l = l[p])if (h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType)return !1;
- o = p = "only" === a && !o && "nextSibling"
- }
- return !0
- }
- if (o = [g ? q.firstChild : q.lastChild], g && s) {
- k = q[u] || (q[u] = {}), j = k[a] || [], n = j[0] === w && j[1], m = j[0] === w && j[2], l = n && q.childNodes[n];
- while (l = ++n && l && l[p] || (m = n = 0) || o.pop())if (1 === l.nodeType && ++m && l === b) {
- k[a] = [w, n, m];
- break
- }
- } else if (s && (j = (b[u] || (b[u] = {}))[a]) && j[0] === w)m = j[1]; else while (l = ++n && l && l[p] || (m = n = 0) || o.pop())if ((h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) && ++m && (s && ((l[u] || (l[u] = {}))[a] = [w, m]), l === b))break;
- return m -= e, m === d || m % d === 0 && m / d >= 0
- }
- }
- }, PSEUDO: function (a, b) {
- var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || gb.error("unsupported pseudo: " + a);
- return e[u] ? e(b) : e.length > 1 ? (c = [a, a, "", b], d.setFilters.hasOwnProperty(a.toLowerCase()) ? ib(function (a, c) {
- var d, f = e(a, b), g = f.length;
- while (g--)d = J(a, f[g]), a[d] = !(c[d] = f[g])
- }) : function (a) {
- return e(a, 0, c)
- }) : e
- }
- },
- pseudos: {
- not: ib(function (a) {
- var b = [], c = [], d = h(a.replace(R, "$1"));
- return d[u] ? ib(function (a, b, c, e) {
- var f, g = d(a, null, e, []), h = a.length;
- while (h--)(f = g[h]) && (a[h] = !(b[h] = f))
- }) : function (a, e, f) {
- return b[0] = a, d(b, null, f, c), b[0] = null, !c.pop()
- }
- }), has: ib(function (a) {
- return function (b) {
- return gb(a, b).length > 0
- }
- }), contains: ib(function (a) {
- return a = a.replace(cb, db), function (b) {
- return (b.textContent || b.innerText || e(b)).indexOf(a) > -1
- }
- }), lang: ib(function (a) {
- return W.test(a || "") || gb.error("unsupported lang: " + a), a = a.replace(cb, db).toLowerCase(), function (b) {
- var c;
- do if (c = p ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang"))return c = c.toLowerCase(), c === a || 0 === c.indexOf(a + "-"); while ((b = b.parentNode) && 1 === b.nodeType);
- return !1
- }
- }), target: function (b) {
- var c = a.location && a.location.hash;
- return c && c.slice(1) === b.id
- }, root: function (a) {
- return a === o
- }, focus: function (a) {
- return a === n.activeElement && (!n.hasFocus || n.hasFocus()) && !!(a.type || a.href || ~a.tabIndex)
- }, enabled: function (a) {
- return a.disabled === !1
- }, disabled: function (a) {
- return a.disabled === !0
- }, checked: function (a) {
- var b = a.nodeName.toLowerCase();
- return "input" === b && !!a.checked || "option" === b && !!a.selected
- }, selected: function (a) {
- return a.parentNode && a.parentNode.selectedIndex, a.selected === !0
- }, empty: function (a) {
- for (a = a.firstChild; a; a = a.nextSibling)if (a.nodeType < 6)return !1;
- return !0
- }, parent: function (a) {
- return !d.pseudos.empty(a)
- }, header: function (a) {
- return Z.test(a.nodeName)
- }, input: function (a) {
- return Y.test(a.nodeName)
- }, button: function (a) {
- var b = a.nodeName.toLowerCase();
- return "input" === b && "button" === a.type || "button" === b
- }, text: function (a) {
- var b;
- return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
- }, first: ob(function () {
- return [0]
- }), last: ob(function (a, b) {
- return [b - 1]
- }), eq: ob(function (a, b, c) {
- return [0 > c ? c + b : c]
- }), even: ob(function (a, b) {
- for (var c = 0; b > c; c += 2)a.push(c);
- return a
- }), odd: ob(function (a, b) {
- for (var c = 1; b > c; c += 2)a.push(c);
- return a
- }), lt: ob(function (a, b, c) {
- for (var d = 0 > c ? c + b : c; --d >= 0;)a.push(d);
- return a
- }), gt: ob(function (a, b, c) {
- for (var d = 0 > c ? c + b : c; ++d < b;)a.push(d);
- return a
- })
- }
- }, d.pseudos.nth = d.pseudos.eq;
- for (b in{radio: !0, checkbox: !0, file: !0, password: !0, image: !0})d.pseudos[b] = mb(b);
- for (b in{submit: !0, reset: !0})d.pseudos[b] = nb(b);
- function qb() {
- }
-
- qb.prototype = d.filters = d.pseudos, d.setFilters = new qb, g = gb.tokenize = function (a, b) {
- var c, e, f, g, h, i, j, k = z[a + " "];
- if (k)return b ? 0 : k.slice(0);
- h = a, i = [], j = d.preFilter;
- while (h) {
- (!c || (e = S.exec(h))) && (e && (h = h.slice(e[0].length) || h), i.push(f = [])), c = !1, (e = T.exec(h)) && (c = e.shift(), f.push({
- value: c,
- type: e[0].replace(R, " ")
- }), h = h.slice(c.length));
- for (g in d.filter)!(e = X[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(), f.push({
- value: c,
- type: g,
- matches: e
- }), h = h.slice(c.length));
- if (!c)break
- }
- return b ? h.length : h ? gb.error(a) : z(a, i).slice(0)
- };
- function rb(a) {
- for (var b = 0, c = a.length, d = ""; c > b; b++)d += a[b].value;
- return d
- }
-
- function sb(a, b, c) {
- var d = b.dir, e = c && "parentNode" === d, f = x++;
- return b.first ? function (b, c, f) {
- while (b = b[d])if (1 === b.nodeType || e)return a(b, c, f)
- } : function (b, c, g) {
- var h, i, j = [w, f];
- if (g) {
- while (b = b[d])if ((1 === b.nodeType || e) && a(b, c, g))return !0
- } else while (b = b[d])if (1 === b.nodeType || e) {
- if (i = b[u] || (b[u] = {}), (h = i[d]) && h[0] === w && h[1] === f)return j[2] = h[2];
- if (i[d] = j, j[2] = a(b, c, g))return !0
- }
- }
- }
-
- function tb(a) {
- return a.length > 1 ? function (b, c, d) {
- var e = a.length;
- while (e--)if (!a[e](b, c, d))return !1;
- return !0
- } : a[0]
- }
-
- function ub(a, b, c) {
- for (var d = 0, e = b.length; e > d; d++)gb(a, b[d], c);
- return c
- }
-
- function vb(a, b, c, d, e) {
- for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++)(f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h));
- return g
- }
-
- function wb(a, b, c, d, e, f) {
- return d && !d[u] && (d = wb(d)), e && !e[u] && (e = wb(e, f)), ib(function (f, g, h, i) {
- var j, k, l, m = [], n = [], o = g.length, p = f || ub(b || "*", h.nodeType ? [h] : h, []), q = !a || !f && b ? p : vb(p, m, a, h, i), r = c ? e || (f ? a : o || d) ? [] : g : q;
- if (c && c(q, r, h, i), d) {
- j = vb(r, n), d(j, [], h, i), k = j.length;
- while (k--)(l = j[k]) && (r[n[k]] = !(q[n[k]] = l))
- }
- if (f) {
- if (e || a) {
- if (e) {
- j = [], k = r.length;
- while (k--)(l = r[k]) && j.push(q[k] = l);
- e(null, r = [], j, i)
- }
- k = r.length;
- while (k--)(l = r[k]) && (j = e ? J(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l))
- }
- } else r = vb(r === g ? r.splice(o, r.length) : r), e ? e(null, g, r, i) : H.apply(g, r)
- })
- }
-
- function xb(a) {
- for (var b, c, e, f = a.length, g = d.relative[a[0].type], h = g || d.relative[" "], i = g ? 1 : 0, k = sb(function (a) {
- return a === b
- }, h, !0), l = sb(function (a) {
- return J(b, a) > -1
- }, h, !0), m = [function (a, c, d) {
- var e = !g && (d || c !== j) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d));
- return b = null, e
- }]; f > i; i++)if (c = d.relative[a[i].type])m = [sb(tb(m), c)]; else {
- if (c = d.filter[a[i].type].apply(null, a[i].matches), c[u]) {
- for (e = ++i; f > e; e++)if (d.relative[a[e].type])break;
- return wb(i > 1 && tb(m), i > 1 && rb(a.slice(0, i - 1).concat({value: " " === a[i - 2].type ? "*" : ""})).replace(R, "$1"), c, e > i && xb(a.slice(i, e)), f > e && xb(a = a.slice(e)), f > e && rb(a))
- }
- m.push(c)
- }
- return tb(m)
- }
-
- function yb(a, b) {
- var c = b.length > 0, e = a.length > 0, f = function (f, g, h, i, k) {
- var l, m, o, p = 0, q = "0", r = f && [], s = [], t = j, u = f || e && d.find.TAG("*", k), v = w += null == t ? 1 : Math.random() || .1, x = u.length;
- for (k && (j = g !== n && g); q !== x && null != (l = u[q]); q++) {
- if (e && l) {
- m = 0;
- while (o = a[m++])if (o(l, g, h)) {
- i.push(l);
- break
- }
- k && (w = v)
- }
- c && ((l = !o && l) && p--, f && r.push(l))
- }
- if (p += q, c && q !== p) {
- m = 0;
- while (o = b[m++])o(r, s, g, h);
- if (f) {
- if (p > 0)while (q--)r[q] || s[q] || (s[q] = F.call(i));
- s = vb(s)
- }
- H.apply(i, s), k && !f && s.length > 0 && p + b.length > 1 && gb.uniqueSort(i)
- }
- return k && (w = v, j = t), r
- };
- return c ? ib(f) : f
- }
-
- return h = gb.compile = function (a, b) {
- var c, d = [], e = [], f = A[a + " "];
- if (!f) {
- b || (b = g(a)), c = b.length;
- while (c--)f = xb(b[c]), f[u] ? d.push(f) : e.push(f);
- f = A(a, yb(e, d)), f.selector = a
- }
- return f
- }, i = gb.select = function (a, b, e, f) {
- var i, j, k, l, m, n = "function" == typeof a && a, o = !f && g(a = n.selector || a);
- if (e = e || [], 1 === o.length) {
- if (j = o[0] = o[0].slice(0), j.length > 2 && "ID" === (k = j[0]).type && c.getById && 9 === b.nodeType && p && d.relative[j[1].type]) {
- if (b = (d.find.ID(k.matches[0].replace(cb, db), b) || [])[0], !b)return e;
- n && (b = b.parentNode), a = a.slice(j.shift().value.length)
- }
- i = X.needsContext.test(a) ? 0 : j.length;
- while (i--) {
- if (k = j[i], d.relative[l = k.type])break;
- if ((m = d.find[l]) && (f = m(k.matches[0].replace(cb, db), ab.test(j[0].type) && pb(b.parentNode) || b))) {
- if (j.splice(i, 1), a = f.length && rb(j), !a)return H.apply(e, f), e;
- break
- }
- }
- }
- return (n || h(a, o))(f, b, !p, e, ab.test(a) && pb(b.parentNode) || b), e
- }, c.sortStable = u.split("").sort(B).join("") === u, c.detectDuplicates = !!l, m(), c.sortDetached = jb(function (a) {
- return 1 & a.compareDocumentPosition(n.createElement("div"))
- }), jb(function (a) {
- return a.innerHTML = "<a href='#'></a>", "#" === a.firstChild.getAttribute("href")
- }) || kb("type|href|height|width", function (a, b, c) {
- return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2)
- }), c.attributes && jb(function (a) {
- return a.innerHTML = "<input/>", a.firstChild.setAttribute("value", ""), "" === a.firstChild.getAttribute("value")
- }) || kb("value", function (a, b, c) {
- return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue
- }), jb(function (a) {
- return null == a.getAttribute("disabled")
- }) || kb(K, function (a, b, c) {
- var d;
- return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
- }), gb
- }(a);
- n.find = t, n.expr = t.selectors, n.expr[":"] = n.expr.pseudos, n.unique = t.uniqueSort, n.text = t.getText, n.isXMLDoc = t.isXML, n.contains = t.contains;
- var u = n.expr.match.needsContext, v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, w = /^.[^:#\[\.,]*$/;
-
- function x(a, b, c) {
- if (n.isFunction(b))return n.grep(a, function (a, d) {
- return !!b.call(a, d, a) !== c
- });
- if (b.nodeType)return n.grep(a, function (a) {
- return a === b !== c
- });
- if ("string" == typeof b) {
- if (w.test(b))return n.filter(b, a, c);
- b = n.filter(b, a)
- }
- return n.grep(a, function (a) {
- return g.call(b, a) >= 0 !== c
- })
- }
-
- n.filter = function (a, b, c) {
- var d = b[0];
- return c && (a = ":not(" + a + ")"), 1 === b.length && 1 === d.nodeType ? n.find.matchesSelector(d, a) ? [d] : [] : n.find.matches(a, n.grep(b, function (a) {
- return 1 === a.nodeType
- }))
- }, n.fn.extend({
- find: function (a) {
- var b, c = this.length, d = [], e = this;
- if ("string" != typeof a)return this.pushStack(n(a).filter(function () {
- for (b = 0; c > b; b++)if (n.contains(e[b], this))return !0
- }));
- for (b = 0; c > b; b++)n.find(a, e[b], d);
- return d = this.pushStack(c > 1 ? n.unique(d) : d), d.selector = this.selector ? this.selector + " " + a : a, d
- }, filter: function (a) {
- return this.pushStack(x(this, a || [], !1))
- }, not: function (a) {
- return this.pushStack(x(this, a || [], !0))
- }, is: function (a) {
- return !!x(this, "string" == typeof a && u.test(a) ? n(a) : a || [], !1).length
- }
- });
- var y, z = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, A = n.fn.init = function (a, b) {
- var c, d;
- if (!a)return this;
- if ("string" == typeof a) {
- if (c = "<" === a[0] && ">" === a[a.length - 1] && a.length >= 3 ? [null, a, null] : z.exec(a), !c || !c[1] && b)return !b || b.jquery ? (b || y).find(a) : this.constructor(b).find(a);
- if (c[1]) {
- if (b = b instanceof n ? b[0] : b, n.merge(this, n.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : l, !0)), v.test(c[1]) && n.isPlainObject(b))for (c in b)n.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c]);
- return this
- }
- return d = l.getElementById(c[2]), d && d.parentNode && (this.length = 1, this[0] = d), this.context = l, this.selector = a, this
- }
- return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : n.isFunction(a) ? "undefined" != typeof y.ready ? y.ready(a) : a(n) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), n.makeArray(a, this))
- };
- A.prototype = n.fn, y = n(l);
- var B = /^(?:parents|prev(?:Until|All))/, C = {children: !0, contents: !0, next: !0, prev: !0};
- n.extend({
- dir: function (a, b, c) {
- var d = [], e = void 0 !== c;
- while ((a = a[b]) && 9 !== a.nodeType)if (1 === a.nodeType) {
- if (e && n(a).is(c))break;
- d.push(a)
- }
- return d
- }, sibling: function (a, b) {
- for (var c = []; a; a = a.nextSibling)1 === a.nodeType && a !== b && c.push(a);
- return c
- }
- }), n.fn.extend({
- has: function (a) {
- var b = n(a, this), c = b.length;
- return this.filter(function () {
- for (var a = 0; c > a; a++)if (n.contains(this, b[a]))return !0
- })
- }, closest: function (a, b) {
- for (var c, d = 0, e = this.length, f = [], g = u.test(a) || "string" != typeof a ? n(a, b || this.context) : 0; e > d; d++)for (c = this[d]; c && c !== b; c = c.parentNode)if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && n.find.matchesSelector(c, a))) {
- f.push(c);
- break
- }
- return this.pushStack(f.length > 1 ? n.unique(f) : f)
- }, index: function (a) {
- return a ? "string" == typeof a ? g.call(n(a), this[0]) : g.call(this, a.jquery ? a[0] : a) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
- }, add: function (a, b) {
- return this.pushStack(n.unique(n.merge(this.get(), n(a, b))))
- }, addBack: function (a) {
- return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
- }
- });
- function D(a, b) {
- while ((a = a[b]) && 1 !== a.nodeType);
- return a
- }
-
- n.each({
- parent: function (a) {
- var b = a.parentNode;
- return b && 11 !== b.nodeType ? b : null
- }, parents: function (a) {
- return n.dir(a, "parentNode")
- }, parentsUntil: function (a, b, c) {
- return n.dir(a, "parentNode", c)
- }, next: function (a) {
- return D(a, "nextSibling")
- }, prev: function (a) {
- return D(a, "previousSibling")
- }, nextAll: function (a) {
- return n.dir(a, "nextSibling")
- }, prevAll: function (a) {
- return n.dir(a, "previousSibling")
- }, nextUntil: function (a, b, c) {
- return n.dir(a, "nextSibling", c)
- }, prevUntil: function (a, b, c) {
- return n.dir(a, "previousSibling", c)
- }, siblings: function (a) {
- return n.sibling((a.parentNode || {}).firstChild, a)
- }, children: function (a) {
- return n.sibling(a.firstChild)
- }, contents: function (a) {
- return a.contentDocument || n.merge([], a.childNodes)
- }
- }, function (a, b) {
- n.fn[a] = function (c, d) {
- var e = n.map(this, b, c);
- return "Until" !== a.slice(-5) && (d = c), d && "string" == typeof d && (e = n.filter(d, e)), this.length > 1 && (C[a] || n.unique(e), B.test(a) && e.reverse()), this.pushStack(e)
- }
- });
- var E = /\S+/g, F = {};
-
- function G(a) {
- var b = F[a] = {};
- return n.each(a.match(E) || [], function (a, c) {
- b[c] = !0
- }), b
- }
-
- n.Callbacks = function (a) {
- a = "string" == typeof a ? F[a] || G(a) : n.extend({}, a);
- var b, c, d, e, f, g, h = [], i = !a.once && [], j = function (l) {
- for (b = a.memory && l, c = !0, g = e || 0, e = 0, f = h.length, d = !0; h && f > g; g++)if (h[g].apply(l[0], l[1]) === !1 && a.stopOnFalse) {
- b = !1;
- break
- }
- d = !1, h && (i ? i.length && j(i.shift()) : b ? h = [] : k.disable())
- }, k = {
- add: function () {
- if (h) {
- var c = h.length;
- !function g(b) {
- n.each(b, function (b, c) {
- var d = n.type(c);
- "function" === d ? a.unique && k.has(c) || h.push(c) : c && c.length && "string" !== d && g(c)
- })
- }(arguments), d ? f = h.length : b && (e = c, j(b))
- }
- return this
- }, remove: function () {
- return h && n.each(arguments, function (a, b) {
- var c;
- while ((c = n.inArray(b, h, c)) > -1)h.splice(c, 1), d && (f >= c && f--, g >= c && g--)
- }), this
- }, has: function (a) {
- return a ? n.inArray(a, h) > -1 : !(!h || !h.length)
- }, empty: function () {
- return h = [], f = 0, this
- }, disable: function () {
- return h = i = b = void 0, this
- }, disabled: function () {
- return !h
- }, lock: function () {
- return i = void 0, b || k.disable(), this
- }, locked: function () {
- return !i
- }, fireWith: function (a, b) {
- return !h || c && !i || (b = b || [], b = [a, b.slice ? b.slice() : b], d ? i.push(b) : j(b)), this
- }, fire: function () {
- return k.fireWith(this, arguments), this
- }, fired: function () {
- return !!c
- }
- };
- return k
- }, n.extend({
- Deferred: function (a) {
- var b = [["resolve", "done", n.Callbacks("once memory"), "resolved"], ["reject", "fail", n.Callbacks("once memory"), "rejected"], ["notify", "progress", n.Callbacks("memory")]], c = "pending", d = {
- state: function () {
- return c
- }, always: function () {
- return e.done(arguments).fail(arguments), this
- }, then: function () {
- var a = arguments;
- return n.Deferred(function (c) {
- n.each(b, function (b, f) {
- var g = n.isFunction(a[b]) && a[b];
- e[f[1]](function () {
- var a = g && g.apply(this, arguments);
- a && n.isFunction(a.promise) ? a.promise().done(c.resolve).fail(c.reject).progress(c.notify) : c[f[0] + "With"](this === d ? c.promise() : this, g ? [a] : arguments)
- })
- }), a = null
- }).promise()
- }, promise: function (a) {
- return null != a ? n.extend(a, d) : d
- }
- }, e = {};
- return d.pipe = d.then, n.each(b, function (a, f) {
- var g = f[2], h = f[3];
- d[f[1]] = g.add, h && g.add(function () {
- c = h
- }, b[1 ^ a][2].disable, b[2][2].lock), e[f[0]] = function () {
- return e[f[0] + "With"](this === e ? d : this, arguments), this
- }, e[f[0] + "With"] = g.fireWith
- }), d.promise(e), a && a.call(e, e), e
- }, when: function (a) {
- var b = 0, c = d.call(arguments), e = c.length, f = 1 !== e || a && n.isFunction(a.promise) ? e : 0, g = 1 === f ? a : n.Deferred(), h = function (a, b, c) {
- return function (e) {
- b[a] = this, c[a] = arguments.length > 1 ? d.call(arguments) : e, c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c)
- }
- }, i, j, k;
- if (e > 1)for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++)c[b] && n.isFunction(c[b].promise) ? c[b].promise().done(h(b, k, c)).fail(g.reject).progress(h(b, j, i)) : --f;
- return f || g.resolveWith(k, c), g.promise()
- }
- });
- var H;
- n.fn.ready = function (a) {
- return n.ready.promise().done(a), this
- }, n.extend({
- isReady: !1, readyWait: 1, holdReady: function (a) {
- a ? n.readyWait++ : n.ready(!0)
- }, ready: function (a) {
- (a === !0 ? --n.readyWait : n.isReady) || (n.isReady = !0, a !== !0 && --n.readyWait > 0 || (H.resolveWith(l, [n]), n.fn.triggerHandler && (n(l).triggerHandler("ready"), n(l).off("ready"))))
- }
- });
- function I() {
- l.removeEventListener("DOMContentLoaded", I, !1), a.removeEventListener("load", I, !1), n.ready()
- }
-
- n.ready.promise = function (b) {
- return H || (H = n.Deferred(), "complete" === l.readyState ? setTimeout(n.ready) : (l.addEventListener("DOMContentLoaded", I, !1), a.addEventListener("load", I, !1))), H.promise(b)
- }, n.ready.promise();
- var J = n.access = function (a, b, c, d, e, f, g) {
- var h = 0, i = a.length, j = null == c;
- if ("object" === n.type(c)) {
- e = !0;
- for (h in c)n.access(a, b, h, c[h], !0, f, g)
- } else if (void 0 !== d && (e = !0, n.isFunction(d) || (g = !0), j && (g ? (b.call(a, d), b = null) : (j = b, b = function (a, b, c) {
- return j.call(n(a), c)
- })), b))for (; i > h; h++)b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)));
- return e ? a : j ? b.call(a) : i ? b(a[0], c) : f
- };
- n.acceptData = function (a) {
- return 1 === a.nodeType || 9 === a.nodeType || !+a.nodeType
- };
- function K() {
- Object.defineProperty(this.cache = {}, 0, {
- get: function () {
- return {}
- }
- }), this.expando = n.expando + K.uid++
- }
-
- K.uid = 1, K.accepts = n.acceptData, K.prototype = {
- key: function (a) {
- if (!K.accepts(a))return 0;
- var b = {}, c = a[this.expando];
- if (!c) {
- c = K.uid++;
- try {
- b[this.expando] = {value: c}, Object.defineProperties(a, b)
- } catch (d) {
- b[this.expando] = c, n.extend(a, b)
- }
- }
- return this.cache[c] || (this.cache[c] = {}), c
- }, set: function (a, b, c) {
- var d, e = this.key(a), f = this.cache[e];
- if ("string" == typeof b)f[b] = c; else if (n.isEmptyObject(f))n.extend(this.cache[e], b); else for (d in b)f[d] = b[d];
- return f
- }, get: function (a, b) {
- var c = this.cache[this.key(a)];
- return void 0 === b ? c : c[b]
- }, access: function (a, b, c) {
- var d;
- return void 0 === b || b && "string" == typeof b && void 0 === c ? (d = this.get(a, b), void 0 !== d ? d : this.get(a, n.camelCase(b))) : (this.set(a, b, c), void 0 !== c ? c : b)
- }, remove: function (a, b) {
- var c, d, e, f = this.key(a), g = this.cache[f];
- if (void 0 === b)this.cache[f] = {}; else {
- n.isArray(b) ? d = b.concat(b.map(n.camelCase)) : (e = n.camelCase(b), b in g ? d = [b, e] : (d = e, d = d in g ? [d] : d.match(E) || [])), c = d.length;
- while (c--)delete g[d[c]]
- }
- }, hasData: function (a) {
- return !n.isEmptyObject(this.cache[a[this.expando]] || {})
- }, discard: function (a) {
- a[this.expando] && delete this.cache[a[this.expando]]
- }
- };
- var L = new K, M = new K, N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, O = /([A-Z])/g;
-
- function P(a, b, c) {
- var d;
- if (void 0 === c && 1 === a.nodeType)if (d = "data-" + b.replace(O, "-$1").toLowerCase(), c = a.getAttribute(d), "string" == typeof c) {
- try {
- c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : N.test(c) ? n.parseJSON(c) : c
- } catch (e) {
- }
- M.set(a, b, c)
- } else c = void 0;
- return c
- }
-
- n.extend({
- hasData: function (a) {
- return M.hasData(a) || L.hasData(a)
- }, data: function (a, b, c) {
- return M.access(a, b, c)
- }, removeData: function (a, b) {
- M.remove(a, b)
- }, _data: function (a, b, c) {
- return L.access(a, b, c)
- }, _removeData: function (a, b) {
- L.remove(a, b)
- }
- }), n.fn.extend({
- data: function (a, b) {
- var c, d, e, f = this[0], g = f && f.attributes;
- if (void 0 === a) {
- if (this.length && (e = M.get(f), 1 === f.nodeType && !L.get(f, "hasDataAttrs"))) {
- c = g.length;
- while (c--)g[c] && (d = g[c].name, 0 === d.indexOf("data-") && (d = n.camelCase(d.slice(5)), P(f, d, e[d])));
- L.set(f, "hasDataAttrs", !0)
- }
- return e
- }
- return "object" == typeof a ? this.each(function () {
- M.set(this, a)
- }) : J(this, function (b) {
- var c, d = n.camelCase(a);
- if (f && void 0 === b) {
- if (c = M.get(f, a), void 0 !== c)return c;
- if (c = M.get(f, d), void 0 !== c)return c;
- if (c = P(f, d, void 0), void 0 !== c)return c
- } else this.each(function () {
- var c = M.get(this, d);
- M.set(this, d, b), -1 !== a.indexOf("-") && void 0 !== c && M.set(this, a, b)
- })
- }, null, b, arguments.length > 1, null, !0)
- }, removeData: function (a) {
- return this.each(function () {
- M.remove(this, a)
- })
- }
- }), n.extend({
- queue: function (a, b, c) {
- var d;
- return a ? (b = (b || "fx") + "queue", d = L.get(a, b), c && (!d || n.isArray(c) ? d = L.access(a, b, n.makeArray(c)) : d.push(c)), d || []) : void 0
- }, dequeue: function (a, b) {
- b = b || "fx";
- var c = n.queue(a, b), d = c.length, e = c.shift(), f = n._queueHooks(a, b), g = function () {
- n.dequeue(a, b)
- };
- "inprogress" === e && (e = c.shift(), d--), e && ("fx" === b && c.unshift("inprogress"), delete f.stop, e.call(a, g, f)), !d && f && f.empty.fire()
- }, _queueHooks: function (a, b) {
- var c = b + "queueHooks";
- return L.get(a, c) || L.access(a, c, {
- empty: n.Callbacks("once memory").add(function () {
- L.remove(a, [b + "queue", c])
- })
- })
- }
- }), n.fn.extend({
- queue: function (a, b) {
- var c = 2;
- return "string" != typeof a && (b = a, a = "fx", c--), arguments.length < c ? n.queue(this[0], a) : void 0 === b ? this : this.each(function () {
- var c = n.queue(this, a, b);
- n._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && n.dequeue(this, a)
- })
- }, dequeue: function (a) {
- return this.each(function () {
- n.dequeue(this, a)
- })
- }, clearQueue: function (a) {
- return this.queue(a || "fx", [])
- }, promise: function (a, b) {
- var c, d = 1, e = n.Deferred(), f = this, g = this.length, h = function () {
- --d || e.resolveWith(f, [f])
- };
- "string" != typeof a && (b = a, a = void 0), a = a || "fx";
- while (g--)c = L.get(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h));
- return h(), e.promise(b)
- }
- });
- var Q = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, R = ["Top", "Right", "Bottom", "Left"], S = function (a, b) {
- return a = b || a, "none" === n.css(a, "display") || !n.contains(a.ownerDocument, a)
- }, T = /^(?:checkbox|radio)$/i;
- !function () {
- var a = l.createDocumentFragment(), b = a.appendChild(l.createElement("div")), c = l.createElement("input");
- c.setAttribute("type", "radio"), c.setAttribute("checked", "checked"), c.setAttribute("name", "t"), b.appendChild(c), k.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked, b.innerHTML = "<textarea>x</textarea>", k.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue
- }();
- var U = "undefined";
- k.focusinBubbles = "onfocusin"in a;
- var V = /^key/, W = /^(?:mouse|pointer|contextmenu)|click/, X = /^(?:focusinfocus|focusoutblur)$/, Y = /^([^.]*)(?:\.(.+)|)$/;
-
- function Z() {
- return !0
- }
-
- function $() {
- return !1
- }
-
- function _() {
- try {
- return l.activeElement
- } catch (a) {
- }
- }
-
- n.event = {
- global: {},
- add: function (a, b, c, d, e) {
- var f, g, h, i, j, k, l, m, o, p, q, r = L.get(a);
- if (r) {
- c.handler && (f = c, c = f.handler, e = f.selector), c.guid || (c.guid = n.guid++), (i = r.events) || (i = r.events = {}), (g = r.handle) || (g = r.handle = function (b) {
- return typeof n !== U && n.event.triggered !== b.type ? n.event.dispatch.apply(a, arguments) : void 0
- }), b = (b || "").match(E) || [""], j = b.length;
- while (j--)h = Y.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o && (l = n.event.special[o] || {}, o = (e ? l.delegateType : l.bindType) || o, l = n.event.special[o] || {}, k = n.extend({
- type: o,
- origType: q,
- data: d,
- handler: c,
- guid: c.guid,
- selector: e,
- needsContext: e && n.expr.match.needsContext.test(e),
- namespace: p.join(".")
- }, f), (m = i[o]) || (m = i[o] = [], m.delegateCount = 0, l.setup && l.setup.call(a, d, p, g) !== !1 || a.addEventListener && a.addEventListener(o, g, !1)), l.add && (l.add.call(a, k), k.handler.guid || (k.handler.guid = c.guid)), e ? m.splice(m.delegateCount++, 0, k) : m.push(k), n.event.global[o] = !0)
- }
- },
- remove: function (a, b, c, d, e) {
- var f, g, h, i, j, k, l, m, o, p, q, r = L.hasData(a) && L.get(a);
- if (r && (i = r.events)) {
- b = (b || "").match(E) || [""], j = b.length;
- while (j--)if (h = Y.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o) {
- l = n.event.special[o] || {}, o = (d ? l.delegateType : l.bindType) || o, m = i[o] || [], h = h[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), g = f = m.length;
- while (f--)k = m[f], !e && q !== k.origType || c && c.guid !== k.guid || h && !h.test(k.namespace) || d && d !== k.selector && ("**" !== d || !k.selector) || (m.splice(f, 1), k.selector && m.delegateCount--, l.remove && l.remove.call(a, k));
- g && !m.length && (l.teardown && l.teardown.call(a, p, r.handle) !== !1 || n.removeEvent(a, o, r.handle), delete i[o])
- } else for (o in i)n.event.remove(a, o + b[j], c, d, !0);
- n.isEmptyObject(i) && (delete r.handle, L.remove(a, "events"))
- }
- },
- trigger: function (b, c, d, e) {
- var f, g, h, i, k, m, o, p = [d || l], q = j.call(b, "type") ? b.type : b, r = j.call(b, "namespace") ? b.namespace.split(".") : [];
- if (g = h = d = d || l, 3 !== d.nodeType && 8 !== d.nodeType && !X.test(q + n.event.triggered) && (q.indexOf(".") >= 0 && (r = q.split("."), q = r.shift(), r.sort()), k = q.indexOf(":") < 0 && "on" + q, b = b[n.expando] ? b : new n.Event(q, "object" == typeof b && b), b.isTrigger = e ? 2 : 3, b.namespace = r.join("."), b.namespace_re = b.namespace ? new RegExp("(^|\\.)" + r.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = d), c = null == c ? [b] : n.makeArray(c, [b]), o = n.event.special[q] || {}, e || !o.trigger || o.trigger.apply(d, c) !== !1)) {
- if (!e && !o.noBubble && !n.isWindow(d)) {
- for (i = o.delegateType || q, X.test(i + q) || (g = g.parentNode); g; g = g.parentNode)p.push(g), h = g;
- h === (d.ownerDocument || l) && p.push(h.defaultView || h.parentWindow || a)
- }
- f = 0;
- while ((g = p[f++]) && !b.isPropagationStopped())b.type = f > 1 ? i : o.bindType || q, m = (L.get(g, "events") || {})[b.type] && L.get(g, "handle"), m && m.apply(g, c), m = k && g[k], m && m.apply && n.acceptData(g) && (b.result = m.apply(g, c), b.result === !1 && b.preventDefault());
- return b.type = q, e || b.isDefaultPrevented() || o._default && o._default.apply(p.pop(), c) !== !1 || !n.acceptData(d) || k && n.isFunction(d[q]) && !n.isWindow(d) && (h = d[k], h && (d[k] = null), n.event.triggered = q, d[q](), n.event.triggered = void 0, h && (d[k] = h)), b.result
- }
- },
- dispatch: function (a) {
- a = n.event.fix(a);
- var b, c, e, f, g, h = [], i = d.call(arguments), j = (L.get(this, "events") || {})[a.type] || [], k = n.event.special[a.type] || {};
- if (i[0] = a, a.delegateTarget = this, !k.preDispatch || k.preDispatch.call(this, a) !== !1) {
- h = n.event.handlers.call(this, a, j), b = 0;
- while ((f = h[b++]) && !a.isPropagationStopped()) {
- a.currentTarget = f.elem, c = 0;
- while ((g = f.handlers[c++]) && !a.isImmediatePropagationStopped())(!a.namespace_re || a.namespace_re.test(g.namespace)) && (a.handleObj = g, a.data = g.data, e = ((n.event.special[g.origType] || {}).handle || g.handler).apply(f.elem, i), void 0 !== e && (a.result = e) === !1 && (a.preventDefault(), a.stopPropagation()))
- }
- return k.postDispatch && k.postDispatch.call(this, a), a.result
- }
- },
- handlers: function (a, b) {
- var c, d, e, f, g = [], h = b.delegateCount, i = a.target;
- if (h && i.nodeType && (!a.button || "click" !== a.type))for (; i !== this; i = i.parentNode || this)if (i.disabled !== !0 || "click" !== a.type) {
- for (d = [], c = 0; h > c; c++)f = b[c], e = f.selector + " ", void 0 === d[e] && (d[e] = f.needsContext ? n(e, this).index(i) >= 0 : n.find(e, this, null, [i]).length), d[e] && d.push(f);
- d.length && g.push({elem: i, handlers: d})
- }
- return h < b.length && g.push({elem: this, handlers: b.slice(h)}), g
- },
- props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
- fixHooks: {},
- keyHooks: {
- props: "char charCode key keyCode".split(" "), filter: function (a, b) {
- return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode), a
- }
- },
- mouseHooks: {
- props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
- filter: function (a, b) {
- var c, d, e, f = b.button;
- return null == a.pageX && null != b.clientX && (c = a.target.ownerDocument || l, d = c.documentElement, e = c.body, a.pageX = b.clientX + (d && d.scrollLeft || e && e.scrollLeft || 0) - (d && d.clientLeft || e && e.clientLeft || 0), a.pageY = b.clientY + (d && d.scrollTop || e && e.scrollTop || 0) - (d && d.clientTop || e && e.clientTop || 0)), a.which || void 0 === f || (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0), a
- }
- },
- fix: function (a) {
- if (a[n.expando])return a;
- var b, c, d, e = a.type, f = a, g = this.fixHooks[e];
- g || (this.fixHooks[e] = g = W.test(e) ? this.mouseHooks : V.test(e) ? this.keyHooks : {}), d = g.props ? this.props.concat(g.props) : this.props, a = new n.Event(f), b = d.length;
- while (b--)c = d[b], a[c] = f[c];
- return a.target || (a.target = l), 3 === a.target.nodeType && (a.target = a.target.parentNode), g.filter ? g.filter(a, f) : a
- },
- special: {
- load: {noBubble: !0}, focus: {
- trigger: function () {
- return this !== _() && this.focus ? (this.focus(), !1) : void 0
- }, delegateType: "focusin"
- }, blur: {
- trigger: function () {
- return this === _() && this.blur ? (this.blur(), !1) : void 0
- }, delegateType: "focusout"
- }, click: {
- trigger: function () {
- return "checkbox" === this.type && this.click && n.nodeName(this, "input") ? (this.click(), !1) : void 0
- }, _default: function (a) {
- return n.nodeName(a.target, "a")
- }
- }, beforeunload: {
- postDispatch: function (a) {
- void 0 !== a.result && a.originalEvent && (a.originalEvent.returnValue = a.result)
- }
- }
- },
- simulate: function (a, b, c, d) {
- var e = n.extend(new n.Event, c, {type: a, isSimulated: !0, originalEvent: {}});
- d ? n.event.trigger(e, null, b) : n.event.dispatch.call(b, e), e.isDefaultPrevented() && c.preventDefault()
- }
- }, n.removeEvent = function (a, b, c) {
- a.removeEventListener && a.removeEventListener(b, c, !1)
- }, n.Event = function (a, b) {
- return this instanceof n.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.returnValue === !1 ? Z : $) : this.type = a, b && n.extend(this, b), this.timeStamp = a && a.timeStamp || n.now(), void(this[n.expando] = !0)) : new n.Event(a, b)
- }, n.Event.prototype = {
- isDefaultPrevented: $,
- isPropagationStopped: $,
- isImmediatePropagationStopped: $,
- preventDefault: function () {
- var a = this.originalEvent;
- this.isDefaultPrevented = Z, a && a.preventDefault && a.preventDefault()
- },
- stopPropagation: function () {
- var a = this.originalEvent;
- this.isPropagationStopped = Z, a && a.stopPropagation && a.stopPropagation()
- },
- stopImmediatePropagation: function () {
- var a = this.originalEvent;
- this.isImmediatePropagationStopped = Z, a && a.stopImmediatePropagation && a.stopImmediatePropagation(), this.stopPropagation()
- }
- }, n.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout",
- pointerenter: "pointerover",
- pointerleave: "pointerout"
- }, function (a, b) {
- n.event.special[a] = {
- delegateType: b, bindType: b, handle: function (a) {
- var c, d = this, e = a.relatedTarget, f = a.handleObj;
- return (!e || e !== d && !n.contains(d, e)) && (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c
- }
- }
- }), k.focusinBubbles || n.each({focus: "focusin", blur: "focusout"}, function (a, b) {
- var c = function (a) {
- n.event.simulate(b, a.target, n.event.fix(a), !0)
- };
- n.event.special[b] = {
- setup: function () {
- var d = this.ownerDocument || this, e = L.access(d, b);
- e || d.addEventListener(a, c, !0), L.access(d, b, (e || 0) + 1)
- }, teardown: function () {
- var d = this.ownerDocument || this, e = L.access(d, b) - 1;
- e ? L.access(d, b, e) : (d.removeEventListener(a, c, !0), L.remove(d, b))
- }
- }
- }), n.fn.extend({
- on: function (a, b, c, d, e) {
- var f, g;
- if ("object" == typeof a) {
- "string" != typeof b && (c = c || b, b = void 0);
- for (g in a)this.on(g, b, c, a[g], e);
- return this
- }
- if (null == c && null == d ? (d = b, c = b = void 0) : null == d && ("string" == typeof b ? (d = c, c = void 0) : (d = c, c = b, b = void 0)), d === !1)d = $; else if (!d)return this;
- return 1 === e && (f = d, d = function (a) {
- return n().off(a), f.apply(this, arguments)
- }, d.guid = f.guid || (f.guid = n.guid++)), this.each(function () {
- n.event.add(this, a, d, c, b)
- })
- }, one: function (a, b, c, d) {
- return this.on(a, b, c, d, 1)
- }, off: function (a, b, c) {
- var d, e;
- if (a && a.preventDefault && a.handleObj)return d = a.handleObj, n(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler), this;
- if ("object" == typeof a) {
- for (e in a)this.off(e, b, a[e]);
- return this
- }
- return (b === !1 || "function" == typeof b) && (c = b, b = void 0), c === !1 && (c = $), this.each(function () {
- n.event.remove(this, a, c, b)
- })
- }, trigger: function (a, b) {
- return this.each(function () {
- n.event.trigger(a, b, this)
- })
- }, triggerHandler: function (a, b) {
- var c = this[0];
- return c ? n.event.trigger(a, b, c, !0) : void 0
- }
- });
- var ab = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, bb = /<([\w:]+)/, cb = /<|&#?\w+;/, db = /<(?:script|style|link)/i, eb = /checked\s*(?:[^=]|=\s*.checked.)/i, fb = /^$|\/(?:java|ecma)script/i, gb = /^true\/(.*)/, hb = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, ib = {
- option: [1, "<select multiple='multiple'>", "</select>"],
- thead: [1, "<table>", "</table>"],
- col: [2, "<table><colgroup>", "</colgroup></table>"],
- tr: [2, "<table><tbody>", "</tbody></table>"],
- td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
- _default: [0, "", ""]
- };
- ib.optgroup = ib.option, ib.tbody = ib.tfoot = ib.colgroup = ib.caption = ib.thead, ib.th = ib.td;
- function jb(a, b) {
- return n.nodeName(a, "table") && n.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a
- }
-
- function kb(a) {
- return a.type = (null !== a.getAttribute("type")) + "/" + a.type, a
- }
-
- function lb(a) {
- var b = gb.exec(a.type);
- return b ? a.type = b[1] : a.removeAttribute("type"), a
- }
-
- function mb(a, b) {
- for (var c = 0, d = a.length; d > c; c++)L.set(a[c], "globalEval", !b || L.get(b[c], "globalEval"))
- }
-
- function nb(a, b) {
- var c, d, e, f, g, h, i, j;
- if (1 === b.nodeType) {
- if (L.hasData(a) && (f = L.access(a), g = L.set(b, f), j = f.events)) {
- delete g.handle, g.events = {};
- for (e in j)for (c = 0, d = j[e].length; d > c; c++)n.event.add(b, e, j[e][c])
- }
- M.hasData(a) && (h = M.access(a), i = n.extend({}, h), M.set(b, i))
- }
- }
-
- function ob(a, b) {
- var c = a.getElementsByTagName ? a.getElementsByTagName(b || "*") : a.querySelectorAll ? a.querySelectorAll(b || "*") : [];
- return void 0 === b || b && n.nodeName(a, b) ? n.merge([a], c) : c
- }
-
- function pb(a, b) {
- var c = b.nodeName.toLowerCase();
- "input" === c && T.test(a.type) ? b.checked = a.checked : ("input" === c || "textarea" === c) && (b.defaultValue = a.defaultValue)
- }
-
- n.extend({
- clone: function (a, b, c) {
- var d, e, f, g, h = a.cloneNode(!0), i = n.contains(a.ownerDocument, a);
- if (!(k.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || n.isXMLDoc(a)))for (g = ob(h), f = ob(a), d = 0, e = f.length; e > d; d++)pb(f[d], g[d]);
- if (b)if (c)for (f = f || ob(a), g = g || ob(h), d = 0, e = f.length; e > d; d++)nb(f[d], g[d]); else nb(a, h);
- return g = ob(h, "script"), g.length > 0 && mb(g, !i && ob(a, "script")), h
- }, buildFragment: function (a, b, c, d) {
- for (var e, f, g, h, i, j, k = b.createDocumentFragment(), l = [], m = 0, o = a.length; o > m; m++)if (e = a[m], e || 0 === e)if ("object" === n.type(e))n.merge(l, e.nodeType ? [e] : e); else if (cb.test(e)) {
- f = f || k.appendChild(b.createElement("div")), g = (bb.exec(e) || ["", ""])[1].toLowerCase(), h = ib[g] || ib._default, f.innerHTML = h[1] + e.replace(ab, "<$1></$2>") + h[2], j = h[0];
- while (j--)f = f.lastChild;
- n.merge(l, f.childNodes), f = k.firstChild, f.textContent = ""
- } else l.push(b.createTextNode(e));
- k.textContent = "", m = 0;
- while (e = l[m++])if ((!d || -1 === n.inArray(e, d)) && (i = n.contains(e.ownerDocument, e), f = ob(k.appendChild(e), "script"), i && mb(f), c)) {
- j = 0;
- while (e = f[j++])fb.test(e.type || "") && c.push(e)
- }
- return k
- }, cleanData: function (a) {
- for (var b, c, d, e, f = n.event.special, g = 0; void 0 !== (c = a[g]); g++) {
- if (n.acceptData(c) && (e = c[L.expando], e && (b = L.cache[e]))) {
- if (b.events)for (d in b.events)f[d] ? n.event.remove(c, d) : n.removeEvent(c, d, b.handle);
- L.cache[e] && delete L.cache[e]
- }
- delete M.cache[c[M.expando]]
- }
- }
- }), n.fn.extend({
- text: function (a) {
- return J(this, function (a) {
- return void 0 === a ? n.text(this) : this.empty().each(function () {
- (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) && (this.textContent = a)
- })
- }, null, a, arguments.length)
- }, append: function () {
- return this.domManip(arguments, function (a) {
- if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
- var b = jb(this, a);
- b.appendChild(a)
- }
- })
- }, prepend: function () {
- return this.domManip(arguments, function (a) {
- if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
- var b = jb(this, a);
- b.insertBefore(a, b.firstChild)
- }
- })
- }, before: function () {
- return this.domManip(arguments, function (a) {
- this.parentNode && this.parentNode.insertBefore(a, this)
- })
- }, after: function () {
- return this.domManip(arguments, function (a) {
- this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)
- })
- }, remove: function (a, b) {
- for (var c, d = a ? n.filter(a, this) : this, e = 0; null != (c = d[e]); e++)b || 1 !== c.nodeType || n.cleanData(ob(c)), c.parentNode && (b && n.contains(c.ownerDocument, c) && mb(ob(c, "script")), c.parentNode.removeChild(c));
- return this
- }, empty: function () {
- for (var a, b = 0; null != (a = this[b]); b++)1 === a.nodeType && (n.cleanData(ob(a, !1)), a.textContent = "");
- return this
- }, clone: function (a, b) {
- return a = null == a ? !1 : a, b = null == b ? a : b, this.map(function () {
- return n.clone(this, a, b)
- })
- }, html: function (a) {
- return J(this, function (a) {
- var b = this[0] || {}, c = 0, d = this.length;
- if (void 0 === a && 1 === b.nodeType)return b.innerHTML;
- if ("string" == typeof a && !db.test(a) && !ib[(bb.exec(a) || ["", ""])[1].toLowerCase()]) {
- a = a.replace(ab, "<$1></$2>");
- try {
- for (; d > c; c++)b = this[c] || {}, 1 === b.nodeType && (n.cleanData(ob(b, !1)), b.innerHTML = a);
- b = 0
- } catch (e) {
- }
- }
- b && this.empty().append(a)
- }, null, a, arguments.length)
- }, replaceWith: function () {
- var a = arguments[0];
- return this.domManip(arguments, function (b) {
- a = this.parentNode, n.cleanData(ob(this)), a && a.replaceChild(b, this)
- }), a && (a.length || a.nodeType) ? this : this.remove()
- }, detach: function (a) {
- return this.remove(a, !0)
- }, domManip: function (a, b) {
- a = e.apply([], a);
- var c, d, f, g, h, i, j = 0, l = this.length, m = this, o = l - 1, p = a[0], q = n.isFunction(p);
- if (q || l > 1 && "string" == typeof p && !k.checkClone && eb.test(p))return this.each(function (c) {
- var d = m.eq(c);
- q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b)
- });
- if (l && (c = n.buildFragment(a, this[0].ownerDocument, !1, this), d = c.firstChild, 1 === c.childNodes.length && (c = d), d)) {
- for (f = n.map(ob(c, "script"), kb), g = f.length; l > j; j++)h = c, j !== o && (h = n.clone(h, !0, !0), g && n.merge(f, ob(h, "script"))), b.call(this[j], h, j);
- if (g)for (i = f[f.length - 1].ownerDocument, n.map(f, lb), j = 0; g > j; j++)h = f[j], fb.test(h.type || "") && !L.access(h, "globalEval") && n.contains(i, h) && (h.src ? n._evalUrl && n._evalUrl(h.src) : n.globalEval(h.textContent.replace(hb, "")))
- }
- return this
- }
- }), n.each({
- appendTo: "append",
- prependTo: "prepend",
- insertBefore: "before",
- insertAfter: "after",
- replaceAll: "replaceWith"
- }, function (a, b) {
- n.fn[a] = function (a) {
- for (var c, d = [], e = n(a), g = e.length - 1, h = 0; g >= h; h++)c = h === g ? this : this.clone(!0), n(e[h])[b](c), f.apply(d, c.get());
- return this.pushStack(d)
- }
- });
- var qb, rb = {};
-
- function sb(b, c) {
- var d, e = n(c.createElement(b)).appendTo(c.body), f = a.getDefaultComputedStyle && (d = a.getDefaultComputedStyle(e[0])) ? d.display : n.css(e[0], "display");
- return e.detach(), f
- }
-
- function tb(a) {
- var b = l, c = rb[a];
- return c || (c = sb(a, b), "none" !== c && c || (qb = (qb || n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement), b = qb[0].contentDocument, b.write(), b.close(), c = sb(a, b), qb.detach()), rb[a] = c), c
- }
-
- var ub = /^margin/, vb = new RegExp("^(" + Q + ")(?!px)[a-z%]+$", "i"), wb = function (b) {
- return b.ownerDocument.defaultView.opener ? b.ownerDocument.defaultView.getComputedStyle(b, null) : a.getComputedStyle(b, null)
- };
-
- function xb(a, b, c) {
- var d, e, f, g, h = a.style;
- return c = c || wb(a), c && (g = c.getPropertyValue(b) || c[b]), c && ("" !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)), vb.test(g) && ub.test(b) && (d = h.width, e = h.minWidth, f = h.maxWidth, h.minWidth = h.maxWidth = h.width = g, g = c.width, h.width = d, h.minWidth = e, h.maxWidth = f)), void 0 !== g ? g + "" : g
- }
-
- function yb(a, b) {
- return {
- get: function () {
- return a() ? void delete this.get : (this.get = b).apply(this, arguments)
- }
- }
- }
-
- !function () {
- var b, c, d = l.documentElement, e = l.createElement("div"), f = l.createElement("div");
- if (f.style) {
- f.style.backgroundClip = "content-box", f.cloneNode(!0).style.backgroundClip = "", k.clearCloneStyle = "content-box" === f.style.backgroundClip, e.style.cssText = "border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute", e.appendChild(f);
- function g() {
- f.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute", f.innerHTML = "", d.appendChild(e);
- var g = a.getComputedStyle(f, null);
- b = "1%" !== g.top, c = "4px" === g.width, d.removeChild(e)
- }
-
- a.getComputedStyle && n.extend(k, {
- pixelPosition: function () {
- return g(), b
- }, boxSizingReliable: function () {
- return null == c && g(), c
- }, reliableMarginRight: function () {
- var b, c = f.appendChild(l.createElement("div"));
- return c.style.cssText = f.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0", c.style.marginRight = c.style.width = "0", f.style.width = "1px", d.appendChild(e), b = !parseFloat(a.getComputedStyle(c, null).marginRight), d.removeChild(e), f.removeChild(c), b
- }
- })
- }
- }(), n.swap = function (a, b, c, d) {
- var e, f, g = {};
- for (f in b)g[f] = a.style[f], a.style[f] = b[f];
- e = c.apply(a, d || []);
- for (f in b)a.style[f] = g[f];
- return e
- };
- var zb = /^(none|table(?!-c[ea]).+)/, Ab = new RegExp("^(" + Q + ")(.*)$", "i"), Bb = new RegExp("^([+-])=(" + Q + ")", "i"), Cb = {
- position: "absolute",
- visibility: "hidden",
- display: "block"
- }, Db = {letterSpacing: "0", fontWeight: "400"}, Eb = ["Webkit", "O", "Moz", "ms"];
-
- function Fb(a, b) {
- if (b in a)return b;
- var c = b[0].toUpperCase() + b.slice(1), d = b, e = Eb.length;
- while (e--)if (b = Eb[e] + c, b in a)return b;
- return d
- }
-
- function Gb(a, b, c) {
- var d = Ab.exec(b);
- return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b
- }
-
- function Hb(a, b, c, d, e) {
- for (var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0, g = 0; 4 > f; f += 2)"margin" === c && (g += n.css(a, c + R[f], !0, e)), d ? ("content" === c && (g -= n.css(a, "padding" + R[f], !0, e)), "margin" !== c && (g -= n.css(a, "border" + R[f] + "Width", !0, e))) : (g += n.css(a, "padding" + R[f], !0, e), "padding" !== c && (g += n.css(a, "border" + R[f] + "Width", !0, e)));
- return g
- }
-
- function Ib(a, b, c) {
- var d = !0, e = "width" === b ? a.offsetWidth : a.offsetHeight, f = wb(a), g = "border-box" === n.css(a, "boxSizing", !1, f);
- if (0 >= e || null == e) {
- if (e = xb(a, b, f), (0 > e || null == e) && (e = a.style[b]), vb.test(e))return e;
- d = g && (k.boxSizingReliable() || e === a.style[b]), e = parseFloat(e) || 0
- }
- return e + Hb(a, b, c || (g ? "border" : "content"), d, f) + "px"
- }
-
- function Jb(a, b) {
- for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++)d = a[g], d.style && (f[g] = L.get(d, "olddisplay"), c = d.style.display, b ? (f[g] || "none" !== c || (d.style.display = ""), "" === d.style.display && S(d) && (f[g] = L.access(d, "olddisplay", tb(d.nodeName)))) : (e = S(d), "none" === c && e || L.set(d, "olddisplay", e ? c : n.css(d, "display"))));
- for (g = 0; h > g; g++)d = a[g], d.style && (b && "none" !== d.style.display && "" !== d.style.display || (d.style.display = b ? f[g] || "" : "none"));
- return a
- }
-
- n.extend({
- cssHooks: {
- opacity: {
- get: function (a, b) {
- if (b) {
- var c = xb(a, "opacity");
- return "" === c ? "1" : c
- }
- }
- }
- },
- cssNumber: {
- columnCount: !0,
- fillOpacity: !0,
- flexGrow: !0,
- flexShrink: !0,
- fontWeight: !0,
- lineHeight: !0,
- opacity: !0,
- order: !0,
- orphans: !0,
- widows: !0,
- zIndex: !0,
- zoom: !0
- },
- cssProps: {"float": "cssFloat"},
- style: function (a, b, c, d) {
- if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
- var e, f, g, h = n.camelCase(b), i = a.style;
- return b = n.cssProps[h] || (n.cssProps[h] = Fb(i, h)), g = n.cssHooks[b] || n.cssHooks[h], void 0 === c ? g && "get"in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b] : (f = typeof c, "string" === f && (e = Bb.exec(c)) && (c = (e[1] + 1) * e[2] + parseFloat(n.css(a, b)), f = "number"), null != c && c === c && ("number" !== f || n.cssNumber[h] || (c += "px"), k.clearCloneStyle || "" !== c || 0 !== b.indexOf("background") || (i[b] = "inherit"), g && "set"in g && void 0 === (c = g.set(a, c, d)) || (i[b] = c)), void 0)
- }
- },
- css: function (a, b, c, d) {
- var e, f, g, h = n.camelCase(b);
- return b = n.cssProps[h] || (n.cssProps[h] = Fb(a.style, h)), g = n.cssHooks[b] || n.cssHooks[h], g && "get"in g && (e = g.get(a, !0, c)), void 0 === e && (e = xb(a, b, d)), "normal" === e && b in Db && (e = Db[b]), "" === c || c ? (f = parseFloat(e), c === !0 || n.isNumeric(f) ? f || 0 : e) : e
- }
- }), n.each(["height", "width"], function (a, b) {
- n.cssHooks[b] = {
- get: function (a, c, d) {
- return c ? zb.test(n.css(a, "display")) && 0 === a.offsetWidth ? n.swap(a, Cb, function () {
- return Ib(a, b, d)
- }) : Ib(a, b, d) : void 0
- }, set: function (a, c, d) {
- var e = d && wb(a);
- return Gb(a, c, d ? Hb(a, b, d, "border-box" === n.css(a, "boxSizing", !1, e), e) : 0)
- }
- }
- }), n.cssHooks.marginRight = yb(k.reliableMarginRight, function (a, b) {
- return b ? n.swap(a, {display: "inline-block"}, xb, [a, "marginRight"]) : void 0
- }), n.each({margin: "", padding: "", border: "Width"}, function (a, b) {
- n.cssHooks[a + b] = {
- expand: function (c) {
- for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; 4 > d; d++)e[a + R[d] + b] = f[d] || f[d - 2] || f[0];
- return e
- }
- }, ub.test(a) || (n.cssHooks[a + b].set = Gb)
- }), n.fn.extend({
- css: function (a, b) {
- return J(this, function (a, b, c) {
- var d, e, f = {}, g = 0;
- if (n.isArray(b)) {
- for (d = wb(a), e = b.length; e > g; g++)f[b[g]] = n.css(a, b[g], !1, d);
- return f
- }
- return void 0 !== c ? n.style(a, b, c) : n.css(a, b)
- }, a, b, arguments.length > 1)
- }, show: function () {
- return Jb(this, !0)
- }, hide: function () {
- return Jb(this)
- }, toggle: function (a) {
- return "boolean" == typeof a ? a ? this.show() : this.hide() : this.each(function () {
- S(this) ? n(this).show() : n(this).hide()
- })
- }
- });
- function Kb(a, b, c, d, e) {
- return new Kb.prototype.init(a, b, c, d, e)
- }
-
- n.Tween = Kb, Kb.prototype = {
- constructor: Kb, init: function (a, b, c, d, e, f) {
- this.elem = a, this.prop = c, this.easing = e || "swing", this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (n.cssNumber[c] ? "" : "px")
- }, cur: function () {
- var a = Kb.propHooks[this.prop];
- return a && a.get ? a.get(this) : Kb.propHooks._default.get(this)
- }, run: function (a) {
- var b, c = Kb.propHooks[this.prop];
- return this.pos = b = this.options.duration ? n.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : a, this.now = (this.end - this.start) * b + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), c && c.set ? c.set(this) : Kb.propHooks._default.set(this), this
- }
- }, Kb.prototype.init.prototype = Kb.prototype, Kb.propHooks = {
- _default: {
- get: function (a) {
- var b;
- return null == a.elem[a.prop] || a.elem.style && null != a.elem.style[a.prop] ? (b = n.css(a.elem, a.prop, ""), b && "auto" !== b ? b : 0) : a.elem[a.prop]
- }, set: function (a) {
- n.fx.step[a.prop] ? n.fx.step[a.prop](a) : a.elem.style && (null != a.elem.style[n.cssProps[a.prop]] || n.cssHooks[a.prop]) ? n.style(a.elem, a.prop, a.now + a.unit) : a.elem[a.prop] = a.now
- }
- }
- }, Kb.propHooks.scrollTop = Kb.propHooks.scrollLeft = {
- set: function (a) {
- a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now)
- }
- }, n.easing = {
- linear: function (a) {
- return a
- }, swing: function (a) {
- return .5 - Math.cos(a * Math.PI) / 2
- }
- }, n.fx = Kb.prototype.init, n.fx.step = {};
- var Lb, Mb, Nb = /^(?:toggle|show|hide)$/, Ob = new RegExp("^(?:([+-])=|)(" + Q + ")([a-z%]*)$", "i"), Pb = /queueHooks$/, Qb = [Vb], Rb = {
- "*": [function (a, b) {
- var c = this.createTween(a, b), d = c.cur(), e = Ob.exec(b), f = e && e[3] || (n.cssNumber[a] ? "" : "px"), g = (n.cssNumber[a] || "px" !== f && +d) && Ob.exec(n.css(c.elem, a)), h = 1, i = 20;
- if (g && g[3] !== f) {
- f = f || g[3], e = e || [], g = +d || 1;
- do h = h || ".5", g /= h, n.style(c.elem, a, g + f); while (h !== (h = c.cur() / d) && 1 !== h && --i)
- }
- return e && (g = c.start = +g || +d || 0, c.unit = f, c.end = e[1] ? g + (e[1] + 1) * e[2] : +e[2]), c
- }]
- };
-
- function Sb() {
- return setTimeout(function () {
- Lb = void 0
- }), Lb = n.now()
- }
-
- function Tb(a, b) {
- var c, d = 0, e = {height: a};
- for (b = b ? 1 : 0; 4 > d; d += 2 - b)c = R[d], e["margin" + c] = e["padding" + c] = a;
- return b && (e.opacity = e.width = a), e
- }
-
- function Ub(a, b, c) {
- for (var d, e = (Rb[b] || []).concat(Rb["*"]), f = 0, g = e.length; g > f; f++)if (d = e[f].call(c, b, a))return d
- }
-
- function Vb(a, b, c) {
- var d, e, f, g, h, i, j, k, l = this, m = {}, o = a.style, p = a.nodeType && S(a), q = L.get(a, "fxshow");
- c.queue || (h = n._queueHooks(a, "fx"), null == h.unqueued && (h.unqueued = 0, i = h.empty.fire, h.empty.fire = function () {
- h.unqueued || i()
- }), h.unqueued++, l.always(function () {
- l.always(function () {
- h.unqueued--, n.queue(a, "fx").length || h.empty.fire()
- })
- })), 1 === a.nodeType && ("height"in b || "width"in b) && (c.overflow = [o.overflow, o.overflowX, o.overflowY], j = n.css(a, "display"), k = "none" === j ? L.get(a, "olddisplay") || tb(a.nodeName) : j, "inline" === k && "none" === n.css(a, "float") && (o.display = "inline-block")), c.overflow && (o.overflow = "hidden", l.always(function () {
- o.overflow = c.overflow[0], o.overflowX = c.overflow[1], o.overflowY = c.overflow[2]
- }));
- for (d in b)if (e = b[d], Nb.exec(e)) {
- if (delete b[d], f = f || "toggle" === e, e === (p ? "hide" : "show")) {
- if ("show" !== e || !q || void 0 === q[d])continue;
- p = !0
- }
- m[d] = q && q[d] || n.style(a, d)
- } else j = void 0;
- if (n.isEmptyObject(m))"inline" === ("none" === j ? tb(a.nodeName) : j) && (o.display = j); else {
- q ? "hidden"in q && (p = q.hidden) : q = L.access(a, "fxshow", {}), f && (q.hidden = !p), p ? n(a).show() : l.done(function () {
- n(a).hide()
- }), l.done(function () {
- var b;
- L.remove(a, "fxshow");
- for (b in m)n.style(a, b, m[b])
- });
- for (d in m)g = Ub(p ? q[d] : 0, d, l), d in q || (q[d] = g.start, p && (g.end = g.start, g.start = "width" === d || "height" === d ? 1 : 0))
- }
- }
-
- function Wb(a, b) {
- var c, d, e, f, g;
- for (c in a)if (d = n.camelCase(c), e = b[d], f = a[c], n.isArray(f) && (e = f[1], f = a[c] = f[0]), c !== d && (a[d] = f, delete a[c]), g = n.cssHooks[d], g && "expand"in g) {
- f = g.expand(f), delete a[d];
- for (c in f)c in a || (a[c] = f[c], b[c] = e)
- } else b[d] = e
- }
-
- function Xb(a, b, c) {
- var d, e, f = 0, g = Qb.length, h = n.Deferred().always(function () {
- delete i.elem
- }), i = function () {
- if (e)return !1;
- for (var b = Lb || Sb(), c = Math.max(0, j.startTime + j.duration - b), d = c / j.duration || 0, f = 1 - d, g = 0, i = j.tweens.length; i > g; g++)j.tweens[g].run(f);
- return h.notifyWith(a, [j, f, c]), 1 > f && i ? c : (h.resolveWith(a, [j]), !1)
- }, j = h.promise({
- elem: a,
- props: n.extend({}, b),
- opts: n.extend(!0, {specialEasing: {}}, c),
- originalProperties: b,
- originalOptions: c,
- startTime: Lb || Sb(),
- duration: c.duration,
- tweens: [],
- createTween: function (b, c) {
- var d = n.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing);
- return j.tweens.push(d), d
- },
- stop: function (b) {
- var c = 0, d = b ? j.tweens.length : 0;
- if (e)return this;
- for (e = !0; d > c; c++)j.tweens[c].run(1);
- return b ? h.resolveWith(a, [j, b]) : h.rejectWith(a, [j, b]), this
- }
- }), k = j.props;
- for (Wb(k, j.opts.specialEasing); g > f; f++)if (d = Qb[f].call(j, a, k, j.opts))return d;
- return n.map(k, Ub, j), n.isFunction(j.opts.start) && j.opts.start.call(a, j), n.fx.timer(n.extend(i, {
- elem: a,
- anim: j,
- queue: j.opts.queue
- })), j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
- }
-
- n.Animation = n.extend(Xb, {
- tweener: function (a, b) {
- n.isFunction(a) ? (b = a, a = ["*"]) : a = a.split(" ");
- for (var c, d = 0, e = a.length; e > d; d++)c = a[d], Rb[c] = Rb[c] || [], Rb[c].unshift(b)
- }, prefilter: function (a, b) {
- b ? Qb.unshift(a) : Qb.push(a)
- }
- }), n.speed = function (a, b, c) {
- var d = a && "object" == typeof a ? n.extend({}, a) : {
- complete: c || !c && b || n.isFunction(a) && a,
- duration: a,
- easing: c && b || b && !n.isFunction(b) && b
- };
- return d.duration = n.fx.off ? 0 : "number" == typeof d.duration ? d.duration : d.duration in n.fx.speeds ? n.fx.speeds[d.duration] : n.fx.speeds._default, (null == d.queue || d.queue === !0) && (d.queue = "fx"), d.old = d.complete, d.complete = function () {
- n.isFunction(d.old) && d.old.call(this), d.queue && n.dequeue(this, d.queue)
- }, d
- }, n.fn.extend({
- fadeTo: function (a, b, c, d) {
- return this.filter(S).css("opacity", 0).show().end().animate({opacity: b}, a, c, d)
- }, animate: function (a, b, c, d) {
- var e = n.isEmptyObject(a), f = n.speed(b, c, d), g = function () {
- var b = Xb(this, n.extend({}, a), f);
- (e || L.get(this, "finish")) && b.stop(!0)
- };
- return g.finish = g, e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g)
- }, stop: function (a, b, c) {
- var d = function (a) {
- var b = a.stop;
- delete a.stop, b(c)
- };
- return "string" != typeof a && (c = b, b = a, a = void 0), b && a !== !1 && this.queue(a || "fx", []), this.each(function () {
- var b = !0, e = null != a && a + "queueHooks", f = n.timers, g = L.get(this);
- if (e)g[e] && g[e].stop && d(g[e]); else for (e in g)g[e] && g[e].stop && Pb.test(e) && d(g[e]);
- for (e = f.length; e--;)f[e].elem !== this || null != a && f[e].queue !== a || (f[e].anim.stop(c), b = !1, f.splice(e, 1));
- (b || !c) && n.dequeue(this, a)
- })
- }, finish: function (a) {
- return a !== !1 && (a = a || "fx"), this.each(function () {
- var b, c = L.get(this), d = c[a + "queue"], e = c[a + "queueHooks"], f = n.timers, g = d ? d.length : 0;
- for (c.finish = !0, n.queue(this, a, []), e && e.stop && e.stop.call(this, !0), b = f.length; b--;)f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0), f.splice(b, 1));
- for (b = 0; g > b; b++)d[b] && d[b].finish && d[b].finish.call(this);
- delete c.finish
- })
- }
- }), n.each(["toggle", "show", "hide"], function (a, b) {
- var c = n.fn[b];
- n.fn[b] = function (a, d, e) {
- return null == a || "boolean" == typeof a ? c.apply(this, arguments) : this.animate(Tb(b, !0), a, d, e)
- }
- }), n.each({
- slideDown: Tb("show"),
- slideUp: Tb("hide"),
- slideToggle: Tb("toggle"),
- fadeIn: {opacity: "show"},
- fadeOut: {opacity: "hide"},
- fadeToggle: {opacity: "toggle"}
- }, function (a, b) {
- n.fn[a] = function (a, c, d) {
- return this.animate(b, a, c, d)
- }
- }), n.timers = [], n.fx.tick = function () {
- var a, b = 0, c = n.timers;
- for (Lb = n.now(); b < c.length; b++)a = c[b], a() || c[b] !== a || c.splice(b--, 1);
- c.length || n.fx.stop(), Lb = void 0
- }, n.fx.timer = function (a) {
- n.timers.push(a), a() ? n.fx.start() : n.timers.pop()
- }, n.fx.interval = 13, n.fx.start = function () {
- Mb || (Mb = setInterval(n.fx.tick, n.fx.interval))
- }, n.fx.stop = function () {
- clearInterval(Mb), Mb = null
- }, n.fx.speeds = {slow: 600, fast: 200, _default: 400}, n.fn.delay = function (a, b) {
- return a = n.fx ? n.fx.speeds[a] || a : a, b = b || "fx", this.queue(b, function (b, c) {
- var d = setTimeout(b, a);
- c.stop = function () {
- clearTimeout(d)
- }
- })
- }, function () {
- var a = l.createElement("input"), b = l.createElement("select"), c = b.appendChild(l.createElement("option"));
- a.type = "checkbox", k.checkOn = "" !== a.value, k.optSelected = c.selected, b.disabled = !0, k.optDisabled = !c.disabled, a = l.createElement("input"), a.value = "t", a.type = "radio", k.radioValue = "t" === a.value
- }();
- var Yb, Zb, $b = n.expr.attrHandle;
- n.fn.extend({
- attr: function (a, b) {
- return J(this, n.attr, a, b, arguments.length > 1)
- }, removeAttr: function (a) {
- return this.each(function () {
- n.removeAttr(this, a)
- })
- }
- }), n.extend({
- attr: function (a, b, c) {
- var d, e, f = a.nodeType;
- if (a && 3 !== f && 8 !== f && 2 !== f)return typeof a.getAttribute === U ? n.prop(a, b, c) : (1 === f && n.isXMLDoc(a) || (b = b.toLowerCase(), d = n.attrHooks[b] || (n.expr.match.bool.test(b) ? Zb : Yb)), void 0 === c ? d && "get"in d && null !== (e = d.get(a, b)) ? e : (e = n.find.attr(a, b), null == e ? void 0 : e) : null !== c ? d && "set"in d && void 0 !== (e = d.set(a, c, b)) ? e : (a.setAttribute(b, c + ""), c) : void n.removeAttr(a, b))
- }, removeAttr: function (a, b) {
- var c, d, e = 0, f = b && b.match(E);
- if (f && 1 === a.nodeType)while (c = f[e++])d = n.propFix[c] || c, n.expr.match.bool.test(c) && (a[d] = !1), a.removeAttribute(c)
- }, attrHooks: {
- type: {
- set: function (a, b) {
- if (!k.radioValue && "radio" === b && n.nodeName(a, "input")) {
- var c = a.value;
- return a.setAttribute("type", b), c && (a.value = c), b
- }
- }
- }
- }
- }), Zb = {
- set: function (a, b, c) {
- return b === !1 ? n.removeAttr(a, c) : a.setAttribute(c, c), c
- }
- }, n.each(n.expr.match.bool.source.match(/\w+/g), function (a, b) {
- var c = $b[b] || n.find.attr;
- $b[b] = function (a, b, d) {
- var e, f;
- return d || (f = $b[b], $b[b] = e, e = null != c(a, b, d) ? b.toLowerCase() : null, $b[b] = f), e
- }
- });
- var _b = /^(?:input|select|textarea|button)$/i;
- n.fn.extend({
- prop: function (a, b) {
- return J(this, n.prop, a, b, arguments.length > 1)
- }, removeProp: function (a) {
- return this.each(function () {
- delete this[n.propFix[a] || a]
- })
- }
- }), n.extend({
- propFix: {"for": "htmlFor", "class": "className"}, prop: function (a, b, c) {
- var d, e, f, g = a.nodeType;
- if (a && 3 !== g && 8 !== g && 2 !== g)return f = 1 !== g || !n.isXMLDoc(a), f && (b = n.propFix[b] || b, e = n.propHooks[b]), void 0 !== c ? e && "set"in e && void 0 !== (d = e.set(a, c, b)) ? d : a[b] = c : e && "get"in e && null !== (d = e.get(a, b)) ? d : a[b]
- }, propHooks: {
- tabIndex: {
- get: function (a) {
- return a.hasAttribute("tabindex") || _b.test(a.nodeName) || a.href ? a.tabIndex : -1
- }
- }
- }
- }), k.optSelected || (n.propHooks.selected = {
- get: function (a) {
- var b = a.parentNode;
- return b && b.parentNode && b.parentNode.selectedIndex, null
- }
- }), n.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () {
- n.propFix[this.toLowerCase()] = this
- });
- var ac = /[\t\r\n\f]/g;
- n.fn.extend({
- addClass: function (a) {
- var b, c, d, e, f, g, h = "string" == typeof a && a, i = 0, j = this.length;
- if (n.isFunction(a))return this.each(function (b) {
- n(this).addClass(a.call(this, b, this.className))
- });
- if (h)for (b = (a || "").match(E) || []; j > i; i++)if (c = this[i], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(ac, " ") : " ")) {
- f = 0;
- while (e = b[f++])d.indexOf(" " + e + " ") < 0 && (d += e + " ");
- g = n.trim(d), c.className !== g && (c.className = g)
- }
- return this
- }, removeClass: function (a) {
- var b, c, d, e, f, g, h = 0 === arguments.length || "string" == typeof a && a, i = 0, j = this.length;
- if (n.isFunction(a))return this.each(function (b) {
- n(this).removeClass(a.call(this, b, this.className))
- });
- if (h)for (b = (a || "").match(E) || []; j > i; i++)if (c = this[i], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(ac, " ") : "")) {
- f = 0;
- while (e = b[f++])while (d.indexOf(" " + e + " ") >= 0)d = d.replace(" " + e + " ", " ");
- g = a ? n.trim(d) : "", c.className !== g && (c.className = g)
- }
- return this
- }, toggleClass: function (a, b) {
- var c = typeof a;
- return "boolean" == typeof b && "string" === c ? b ? this.addClass(a) : this.removeClass(a) : this.each(n.isFunction(a) ? function (c) {
- n(this).toggleClass(a.call(this, c, this.className, b), b)
- } : function () {
- if ("string" === c) {
- var b, d = 0, e = n(this), f = a.match(E) || [];
- while (b = f[d++])e.hasClass(b) ? e.removeClass(b) : e.addClass(b)
- } else(c === U || "boolean" === c) && (this.className && L.set(this, "__className__", this.className), this.className = this.className || a === !1 ? "" : L.get(this, "__className__") || "")
- })
- }, hasClass: function (a) {
- for (var b = " " + a + " ", c = 0, d = this.length; d > c; c++)if (1 === this[c].nodeType && (" " + this[c].className + " ").replace(ac, " ").indexOf(b) >= 0)return !0;
- return !1
- }
- });
- var bc = /\r/g;
- n.fn.extend({
- val: function (a) {
- var b, c, d, e = this[0];
- {
- if (arguments.length)return d = n.isFunction(a), this.each(function (c) {
- var e;
- 1 === this.nodeType && (e = d ? a.call(this, c, n(this).val()) : a, null == e ? e = "" : "number" == typeof e ? e += "" : n.isArray(e) && (e = n.map(e, function (a) {
- return null == a ? "" : a + ""
- })), b = n.valHooks[this.type] || n.valHooks[this.nodeName.toLowerCase()], b && "set"in b && void 0 !== b.set(this, e, "value") || (this.value = e))
- });
- if (e)return b = n.valHooks[e.type] || n.valHooks[e.nodeName.toLowerCase()], b && "get"in b && void 0 !== (c = b.get(e, "value")) ? c : (c = e.value, "string" == typeof c ? c.replace(bc, "") : null == c ? "" : c)
- }
- }
- }), n.extend({
- valHooks: {
- option: {
- get: function (a) {
- var b = n.find.attr(a, "value");
- return null != b ? b : n.trim(n.text(a))
- }
- }, select: {
- get: function (a) {
- for (var b, c, d = a.options, e = a.selectedIndex, f = "select-one" === a.type || 0 > e, g = f ? null : [], h = f ? e + 1 : d.length, i = 0 > e ? h : f ? e : 0; h > i; i++)if (c = d[i], !(!c.selected && i !== e || (k.optDisabled ? c.disabled : null !== c.getAttribute("disabled")) || c.parentNode.disabled && n.nodeName(c.parentNode, "optgroup"))) {
- if (b = n(c).val(), f)return b;
- g.push(b)
- }
- return g
- }, set: function (a, b) {
- var c, d, e = a.options, f = n.makeArray(b), g = e.length;
- while (g--)d = e[g], (d.selected = n.inArray(d.value, f) >= 0) && (c = !0);
- return c || (a.selectedIndex = -1), f
- }
- }
- }
- }), n.each(["radio", "checkbox"], function () {
- n.valHooks[this] = {
- set: function (a, b) {
- return n.isArray(b) ? a.checked = n.inArray(n(a).val(), b) >= 0 : void 0
- }
- }, k.checkOn || (n.valHooks[this].get = function (a) {
- return null === a.getAttribute("value") ? "on" : a.value
- })
- }), n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function (a, b) {
- n.fn[b] = function (a, c) {
- return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b)
- }
- }), n.fn.extend({
- hover: function (a, b) {
- return this.mouseenter(a).mouseleave(b || a)
- }, bind: function (a, b, c) {
- return this.on(a, null, b, c)
- }, unbind: function (a, b) {
- return this.off(a, null, b)
- }, delegate: function (a, b, c, d) {
- return this.on(b, a, c, d)
- }, undelegate: function (a, b, c) {
- return 1 === arguments.length ? this.off(a, "**") : this.off(b, a || "**", c)
- }
- });
- var cc = n.now(), dc = /\?/;
- n.parseJSON = function (a) {
- return JSON.parse(a + "")
- }, n.parseXML = function (a) {
- var b, c;
- if (!a || "string" != typeof a)return null;
- try {
- c = new DOMParser, b = c.parseFromString(a, "text/xml")
- } catch (d) {
- b = void 0
- }
- return (!b || b.getElementsByTagName("parsererror").length) && n.error("Invalid XML: " + a), b
- };
- var ec = /#.*$/, fc = /([?&])_=[^&]*/, gc = /^(.*?):[ \t]*([^\r\n]*)$/gm, hc = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, ic = /^(?:GET|HEAD)$/, jc = /^\/\//, kc = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/, lc = {}, mc = {}, nc = "*/".concat("*"), oc = a.location.href, pc = kc.exec(oc.toLowerCase()) || [];
-
- function qc(a) {
- return function (b, c) {
- "string" != typeof b && (c = b, b = "*");
- var d, e = 0, f = b.toLowerCase().match(E) || [];
- if (n.isFunction(c))while (d = f[e++])"+" === d[0] ? (d = d.slice(1) || "*", (a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c)
- }
- }
-
- function rc(a, b, c, d) {
- var e = {}, f = a === mc;
-
- function g(h) {
- var i;
- return e[h] = !0, n.each(a[h] || [], function (a, h) {
- var j = h(b, c, d);
- return "string" != typeof j || f || e[j] ? f ? !(i = j) : void 0 : (b.dataTypes.unshift(j), g(j), !1)
- }), i
- }
-
- return g(b.dataTypes[0]) || !e["*"] && g("*")
- }
-
- function sc(a, b) {
- var c, d, e = n.ajaxSettings.flatOptions || {};
- for (c in b)void 0 !== b[c] && ((e[c] ? a : d || (d = {}))[c] = b[c]);
- return d && n.extend(!0, a, d), a
- }
-
- function tc(a, b, c) {
- var d, e, f, g, h = a.contents, i = a.dataTypes;
- while ("*" === i[0])i.shift(), void 0 === d && (d = a.mimeType || b.getResponseHeader("Content-Type"));
- if (d)for (e in h)if (h[e] && h[e].test(d)) {
- i.unshift(e);
- break
- }
- if (i[0]in c)f = i[0]; else {
- for (e in c) {
- if (!i[0] || a.converters[e + " " + i[0]]) {
- f = e;
- break
- }
- g || (g = e)
- }
- f = f || g
- }
- return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0
- }
-
- function uc(a, b, c, d) {
- var e, f, g, h, i, j = {}, k = a.dataTypes.slice();
- if (k[1])for (g in a.converters)j[g.toLowerCase()] = a.converters[g];
- f = k.shift();
- while (f)if (a.responseFields[f] && (c[a.responseFields[f]] = b), !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)), i = f, f = k.shift())if ("*" === f)f = i; else if ("*" !== i && i !== f) {
- if (g = j[i + " " + f] || j["* " + f], !g)for (e in j)if (h = e.split(" "), h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]])) {
- g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0], k.unshift(h[1]));
- break
- }
- if (g !== !0)if (g && a["throws"])b = g(b); else try {
- b = g(b)
- } catch (l) {
- return {state: "parsererror", error: g ? l : "No conversion from " + i + " to " + f}
- }
- }
- return {state: "success", data: b}
- }
-
- n.extend({
- active: 0,
- lastModified: {},
- etag: {},
- ajaxSettings: {
- url: oc,
- type: "GET",
- isLocal: hc.test(pc[1]),
- global: !0,
- processData: !0,
- async: !0,
- contentType: "application/x-www-form-urlencoded; charset=UTF-8",
- accepts: {
- "*": nc,
- text: "text/plain",
- html: "text/html",
- xml: "application/xml, text/xml",
- json: "application/json, text/javascript"
- },
- contents: {xml: /xml/, html: /html/, json: /json/},
- responseFields: {xml: "responseXML", text: "responseText", json: "responseJSON"},
- converters: {"* text": String, "text html": !0, "text json": n.parseJSON, "text xml": n.parseXML},
- flatOptions: {url: !0, context: !0}
- },
- ajaxSetup: function (a, b) {
- return b ? sc(sc(a, n.ajaxSettings), b) : sc(n.ajaxSettings, a)
- },
- ajaxPrefilter: qc(lc),
- ajaxTransport: qc(mc),
- ajax: function (a, b) {
- "object" == typeof a && (b = a, a = void 0), b = b || {};
- var c, d, e, f, g, h, i, j, k = n.ajaxSetup({}, b), l = k.context || k, m = k.context && (l.nodeType || l.jquery) ? n(l) : n.event, o = n.Deferred(), p = n.Callbacks("once memory"), q = k.statusCode || {}, r = {}, s = {}, t = 0, u = "canceled", v = {
- readyState: 0,
- getResponseHeader: function (a) {
- var b;
- if (2 === t) {
- if (!f) {
- f = {};
- while (b = gc.exec(e))f[b[1].toLowerCase()] = b[2]
- }
- b = f[a.toLowerCase()]
- }
- return null == b ? null : b
- },
- getAllResponseHeaders: function () {
- return 2 === t ? e : null
- },
- setRequestHeader: function (a, b) {
- var c = a.toLowerCase();
- return t || (a = s[c] = s[c] || a, r[a] = b), this
- },
- overrideMimeType: function (a) {
- return t || (k.mimeType = a), this
- },
- statusCode: function (a) {
- var b;
- if (a)if (2 > t)for (b in a)q[b] = [q[b], a[b]]; else v.always(a[v.status]);
- return this
- },
- abort: function (a) {
- var b = a || u;
- return c && c.abort(b), x(0, b), this
- }
- };
- if (o.promise(v).complete = p.add, v.success = v.done, v.error = v.fail, k.url = ((a || k.url || oc) + "").replace(ec, "").replace(jc, pc[1] + "//"), k.type = b.method || b.type || k.method || k.type, k.dataTypes = n.trim(k.dataType || "*").toLowerCase().match(E) || [""], null == k.crossDomain && (h = kc.exec(k.url.toLowerCase()), k.crossDomain = !(!h || h[1] === pc[1] && h[2] === pc[2] && (h[3] || ("http:" === h[1] ? "80" : "443")) === (pc[3] || ("http:" === pc[1] ? "80" : "443")))), k.data && k.processData && "string" != typeof k.data && (k.data = n.param(k.data, k.traditional)), rc(lc, k, b, v), 2 === t)return v;
- i = n.event && k.global, i && 0 === n.active++ && n.event.trigger("ajaxStart"), k.type = k.type.toUpperCase(), k.hasContent = !ic.test(k.type), d = k.url, k.hasContent || (k.data && (d = k.url += (dc.test(d) ? "&" : "?") + k.data, delete k.data), k.cache === !1 && (k.url = fc.test(d) ? d.replace(fc, "$1_=" + cc++) : d + (dc.test(d) ? "&" : "?") + "_=" + cc++)), k.ifModified && (n.lastModified[d] && v.setRequestHeader("If-Modified-Since", n.lastModified[d]), n.etag[d] && v.setRequestHeader("If-None-Match", n.etag[d])), (k.data && k.hasContent && k.contentType !== !1 || b.contentType) && v.setRequestHeader("Content-Type", k.contentType), v.setRequestHeader("Accept", k.dataTypes[0] && k.accepts[k.dataTypes[0]] ? k.accepts[k.dataTypes[0]] + ("*" !== k.dataTypes[0] ? ", " + nc + "; q=0.01" : "") : k.accepts["*"]);
- for (j in k.headers)v.setRequestHeader(j, k.headers[j]);
- if (k.beforeSend && (k.beforeSend.call(l, v, k) === !1 || 2 === t))return v.abort();
- u = "abort";
- for (j in{success: 1, error: 1, complete: 1})v[j](k[j]);
- if (c = rc(mc, k, b, v)) {
- v.readyState = 1, i && m.trigger("ajaxSend", [v, k]), k.async && k.timeout > 0 && (g = setTimeout(function () {
- v.abort("timeout")
- }, k.timeout));
- try {
- t = 1, c.send(r, x)
- } catch (w) {
- if (!(2 > t))throw w;
- x(-1, w)
- }
- } else x(-1, "No Transport");
- function x(a, b, f, h) {
- var j, r, s, u, w, x = b;
- 2 !== t && (t = 2, g && clearTimeout(g), c = void 0, e = h || "", v.readyState = a > 0 ? 4 : 0, j = a >= 200 && 300 > a || 304 === a, f && (u = tc(k, v, f)), u = uc(k, u, v, j), j ? (k.ifModified && (w = v.getResponseHeader("Last-Modified"), w && (n.lastModified[d] = w), w = v.getResponseHeader("etag"), w && (n.etag[d] = w)), 204 === a || "HEAD" === k.type ? x = "nocontent" : 304 === a ? x = "notmodified" : (x = u.state, r = u.data, s = u.error, j = !s)) : (s = x, (a || !x) && (x = "error", 0 > a && (a = 0))), v.status = a, v.statusText = (b || x) + "", j ? o.resolveWith(l, [r, x, v]) : o.rejectWith(l, [v, x, s]), v.statusCode(q), q = void 0, i && m.trigger(j ? "ajaxSuccess" : "ajaxError", [v, k, j ? r : s]), p.fireWith(l, [v, x]), i && (m.trigger("ajaxComplete", [v, k]), --n.active || n.event.trigger("ajaxStop")))
- }
-
- return v
- },
- getJSON: function (a, b, c) {
- return n.get(a, b, c, "json")
- },
- getScript: function (a, b) {
- return n.get(a, void 0, b, "script")
- }
- }), n.each(["get", "post"], function (a, b) {
- n[b] = function (a, c, d, e) {
- return n.isFunction(c) && (e = e || d, d = c, c = void 0), n.ajax({
- url: a,
- type: b,
- dataType: e,
- data: c,
- success: d
- })
- }
- }), n._evalUrl = function (a) {
- return n.ajax({url: a, type: "GET", dataType: "script", async: !1, global: !1, "throws": !0})
- }, n.fn.extend({
- wrapAll: function (a) {
- var b;
- return n.isFunction(a) ? this.each(function (b) {
- n(this).wrapAll(a.call(this, b))
- }) : (this[0] && (b = n(a, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && b.insertBefore(this[0]), b.map(function () {
- var a = this;
- while (a.firstElementChild)a = a.firstElementChild;
- return a
- }).append(this)), this)
- }, wrapInner: function (a) {
- return this.each(n.isFunction(a) ? function (b) {
- n(this).wrapInner(a.call(this, b))
- } : function () {
- var b = n(this), c = b.contents();
- c.length ? c.wrapAll(a) : b.append(a)
- })
- }, wrap: function (a) {
- var b = n.isFunction(a);
- return this.each(function (c) {
- n(this).wrapAll(b ? a.call(this, c) : a)
- })
- }, unwrap: function () {
- return this.parent().each(function () {
- n.nodeName(this, "body") || n(this).replaceWith(this.childNodes)
- }).end()
- }
- }), n.expr.filters.hidden = function (a) {
- return a.offsetWidth <= 0 && a.offsetHeight <= 0
- }, n.expr.filters.visible = function (a) {
- return !n.expr.filters.hidden(a)
- };
- var vc = /%20/g, wc = /\[\]$/, xc = /\r?\n/g, yc = /^(?:submit|button|image|reset|file)$/i, zc = /^(?:input|select|textarea|keygen)/i;
-
- function Ac(a, b, c, d) {
- var e;
- if (n.isArray(b))n.each(b, function (b, e) {
- c || wc.test(a) ? d(a, e) : Ac(a + "[" + ("object" == typeof e ? b : "") + "]", e, c, d)
- }); else if (c || "object" !== n.type(b))d(a, b); else for (e in b)Ac(a + "[" + e + "]", b[e], c, d)
- }
-
- n.param = function (a, b) {
- var c, d = [], e = function (a, b) {
- b = n.isFunction(b) ? b() : null == b ? "" : b, d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b)
- };
- if (void 0 === b && (b = n.ajaxSettings && n.ajaxSettings.traditional), n.isArray(a) || a.jquery && !n.isPlainObject(a))n.each(a, function () {
- e(this.name, this.value)
- }); else for (c in a)Ac(c, a[c], b, e);
- return d.join("&").replace(vc, "+")
- }, n.fn.extend({
- serialize: function () {
- return n.param(this.serializeArray())
- }, serializeArray: function () {
- return this.map(function () {
- var a = n.prop(this, "elements");
- return a ? n.makeArray(a) : this
- }).filter(function () {
- var a = this.type;
- return this.name && !n(this).is(":disabled") && zc.test(this.nodeName) && !yc.test(a) && (this.checked || !T.test(a))
- }).map(function (a, b) {
- var c = n(this).val();
- return null == c ? null : n.isArray(c) ? n.map(c, function (a) {
- return {name: b.name, value: a.replace(xc, "\r\n")}
- }) : {name: b.name, value: c.replace(xc, "\r\n")}
- }).get()
- }
- }), n.ajaxSettings.xhr = function () {
- try {
- return new XMLHttpRequest
- } catch (a) {
- }
- };
- var Bc = 0, Cc = {}, Dc = {0: 200, 1223: 204}, Ec = n.ajaxSettings.xhr();
- a.attachEvent && a.attachEvent("onunload", function () {
- for (var a in Cc)Cc[a]()
- }), k.cors = !!Ec && "withCredentials"in Ec, k.ajax = Ec = !!Ec, n.ajaxTransport(function (a) {
- var b;
- return k.cors || Ec && !a.crossDomain ? {
- send: function (c, d) {
- var e, f = a.xhr(), g = ++Bc;
- if (f.open(a.type, a.url, a.async, a.username, a.password), a.xhrFields)for (e in a.xhrFields)f[e] = a.xhrFields[e];
- a.mimeType && f.overrideMimeType && f.overrideMimeType(a.mimeType), a.crossDomain || c["X-Requested-With"] || (c["X-Requested-With"] = "XMLHttpRequest");
- for (e in c)f.setRequestHeader(e, c[e]);
- b = function (a) {
- return function () {
- b && (delete Cc[g], b = f.onload = f.onerror = null, "abort" === a ? f.abort() : "error" === a ? d(f.status, f.statusText) : d(Dc[f.status] || f.status, f.statusText, "string" == typeof f.responseText ? {text: f.responseText} : void 0, f.getAllResponseHeaders()))
- }
- }, f.onload = b(), f.onerror = b("error"), b = Cc[g] = b("abort");
- try {
- f.send(a.hasContent && a.data || null)
- } catch (h) {
- if (b)throw h
- }
- }, abort: function () {
- b && b()
- }
- } : void 0
- }), n.ajaxSetup({
- accepts: {script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
- contents: {script: /(?:java|ecma)script/},
- converters: {
- "text script": function (a) {
- return n.globalEval(a), a
- }
- }
- }), n.ajaxPrefilter("script", function (a) {
- void 0 === a.cache && (a.cache = !1), a.crossDomain && (a.type = "GET")
- }), n.ajaxTransport("script", function (a) {
- if (a.crossDomain) {
- var b, c;
- return {
- send: function (d, e) {
- b = n("<script>").prop({
- async: !0,
- charset: a.scriptCharset,
- src: a.url
- }).on("load error", c = function (a) {
- b.remove(), c = null, a && e("error" === a.type ? 404 : 200, a.type)
- }), l.head.appendChild(b[0])
- }, abort: function () {
- c && c()
- }
- }
- }
- });
- var Fc = [], Gc = /(=)\?(?=&|$)|\?\?/;
- n.ajaxSetup({
- jsonp: "callback", jsonpCallback: function () {
- var a = Fc.pop() || n.expando + "_" + cc++;
- return this[a] = !0, a
- }
- }), n.ajaxPrefilter("json jsonp", function (b, c, d) {
- var e, f, g, h = b.jsonp !== !1 && (Gc.test(b.url) ? "url" : "string" == typeof b.data && !(b.contentType || "").indexOf("application/x-www-form-urlencoded") && Gc.test(b.data) && "data");
- return h || "jsonp" === b.dataTypes[0] ? (e = b.jsonpCallback = n.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback, h ? b[h] = b[h].replace(Gc, "$1" + e) : b.jsonp !== !1 && (b.url += (dc.test(b.url) ? "&" : "?") + b.jsonp + "=" + e), b.converters["script json"] = function () {
- return g || n.error(e + " was not called"), g[0]
- }, b.dataTypes[0] = "json", f = a[e], a[e] = function () {
- g = arguments
- }, d.always(function () {
- a[e] = f, b[e] && (b.jsonpCallback = c.jsonpCallback, Fc.push(e)), g && n.isFunction(f) && f(g[0]), g = f = void 0
- }), "script") : void 0
- }), n.parseHTML = function (a, b, c) {
- if (!a || "string" != typeof a)return null;
- "boolean" == typeof b && (c = b, b = !1), b = b || l;
- var d = v.exec(a), e = !c && [];
- return d ? [b.createElement(d[1])] : (d = n.buildFragment([a], b, e), e && e.length && n(e).remove(), n.merge([], d.childNodes))
- };
- var Hc = n.fn.load;
- n.fn.load = function (a, b, c) {
- if ("string" != typeof a && Hc)return Hc.apply(this, arguments);
- var d, e, f, g = this, h = a.indexOf(" ");
- return h >= 0 && (d = n.trim(a.slice(h)), a = a.slice(0, h)), n.isFunction(b) ? (c = b, b = void 0) : b && "object" == typeof b && (e = "POST"), g.length > 0 && n.ajax({
- url: a,
- type: e,
- dataType: "html",
- data: b
- }).done(function (a) {
- f = arguments, g.html(d ? n("<div>").append(n.parseHTML(a)).find(d) : a)
- }).complete(c && function (a, b) {
- g.each(c, f || [a.responseText, b, a])
- }), this
- }, n.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (a, b) {
- n.fn[b] = function (a) {
- return this.on(b, a)
- }
- }), n.expr.filters.animated = function (a) {
- return n.grep(n.timers, function (b) {
- return a === b.elem
- }).length
- };
- var Ic = a.document.documentElement;
-
- function Jc(a) {
- return n.isWindow(a) ? a : 9 === a.nodeType && a.defaultView
- }
-
- n.offset = {
- setOffset: function (a, b, c) {
- var d, e, f, g, h, i, j, k = n.css(a, "position"), l = n(a), m = {};
- "static" === k && (a.style.position = "relative"), h = l.offset(), f = n.css(a, "top"), i = n.css(a, "left"), j = ("absolute" === k || "fixed" === k) && (f + i).indexOf("auto") > -1, j ? (d = l.position(), g = d.top, e = d.left) : (g = parseFloat(f) || 0, e = parseFloat(i) || 0), n.isFunction(b) && (b = b.call(a, c, h)), null != b.top && (m.top = b.top - h.top + g), null != b.left && (m.left = b.left - h.left + e), "using"in b ? b.using.call(a, m) : l.css(m)
- }
- }, n.fn.extend({
- offset: function (a) {
- if (arguments.length)return void 0 === a ? this : this.each(function (b) {
- n.offset.setOffset(this, a, b)
- });
- var b, c, d = this[0], e = {top: 0, left: 0}, f = d && d.ownerDocument;
- if (f)return b = f.documentElement, n.contains(b, d) ? (typeof d.getBoundingClientRect !== U && (e = d.getBoundingClientRect()), c = Jc(f), {
- top: e.top + c.pageYOffset - b.clientTop,
- left: e.left + c.pageXOffset - b.clientLeft
- }) : e
- }, position: function () {
- if (this[0]) {
- var a, b, c = this[0], d = {top: 0, left: 0};
- return "fixed" === n.css(c, "position") ? b = c.getBoundingClientRect() : (a = this.offsetParent(), b = this.offset(), n.nodeName(a[0], "html") || (d = a.offset()), d.top += n.css(a[0], "borderTopWidth", !0), d.left += n.css(a[0], "borderLeftWidth", !0)), {
- top: b.top - d.top - n.css(c, "marginTop", !0),
- left: b.left - d.left - n.css(c, "marginLeft", !0)
- }
- }
- }, offsetParent: function () {
- return this.map(function () {
- var a = this.offsetParent || Ic;
- while (a && !n.nodeName(a, "html") && "static" === n.css(a, "position"))a = a.offsetParent;
- return a || Ic
- })
- }
- }), n.each({scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function (b, c) {
- var d = "pageYOffset" === c;
- n.fn[b] = function (e) {
- return J(this, function (b, e, f) {
- var g = Jc(b);
- return void 0 === f ? g ? g[c] : b[e] : void(g ? g.scrollTo(d ? a.pageXOffset : f, d ? f : a.pageYOffset) : b[e] = f)
- }, b, e, arguments.length, null)
- }
- }), n.each(["top", "left"], function (a, b) {
- n.cssHooks[b] = yb(k.pixelPosition, function (a, c) {
- return c ? (c = xb(a, b), vb.test(c) ? n(a).position()[b] + "px" : c) : void 0
- })
- }), n.each({Height: "height", Width: "width"}, function (a, b) {
- n.each({padding: "inner" + a, content: b, "": "outer" + a}, function (c, d) {
- n.fn[d] = function (d, e) {
- var f = arguments.length && (c || "boolean" != typeof d), g = c || (d === !0 || e === !0 ? "margin" : "border");
- return J(this, function (b, c, d) {
- var e;
- return n.isWindow(b) ? b.document.documentElement["client" + a] : 9 === b.nodeType ? (e = b.documentElement, Math.max(b.body["scroll" + a], e["scroll" + a], b.body["offset" + a], e["offset" + a], e["client" + a])) : void 0 === d ? n.css(b, c, g) : n.style(b, c, d, g)
- }, b, f ? d : void 0, f, null)
- }
- })
- }), n.fn.size = function () {
- return this.length
- }, n.fn.andSelf = n.fn.addBack, "function" == typeof define && define.amd && define("jquery", [], function () {
- return n
- });
- var Kc = a.jQuery, Lc = a.$;
- return n.noConflict = function (b) {
- return a.$ === n && (a.$ = Lc), b && a.jQuery === n && (a.jQuery = Kc), n
- }, typeof b === U && (a.jQuery = a.$ = n), n
-});
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-2.1.3.min.map b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-2.1.3.min.map
deleted file mode 100644
index 0710e4b6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-2.1.3.min.map
+++ /dev/null
@@ -1,1130 +0,0 @@
-{
- "version": 3,
- "file": "jquery-2.1.3.min.js",
- "sources": ["jquery-2.1.3.js"],
- "names": [
- "global",
- "factory",
- "module",
- "exports",
- "document",
- "w",
- "Error",
- "window",
- "this",
- "noGlobal",
- "arr",
- "slice",
- "concat",
- "push",
- "indexOf",
- "class2type",
- "toString",
- "hasOwn",
- "hasOwnProperty",
- "support",
- "version",
- "jQuery",
- "selector",
- "context",
- "fn",
- "init",
- "rtrim",
- "rmsPrefix",
- "rdashAlpha",
- "fcamelCase",
- "all",
- "letter",
- "toUpperCase",
- "prototype",
- "jquery",
- "constructor",
- "length",
- "toArray",
- "call",
- "get",
- "num",
- "pushStack",
- "elems",
- "ret",
- "merge",
- "prevObject",
- "each",
- "callback",
- "args",
- "map",
- "elem",
- "i",
- "apply",
- "arguments",
- "first",
- "eq",
- "last",
- "len",
- "j",
- "end",
- "sort",
- "splice",
- "extend",
- "options",
- "name",
- "src",
- "copy",
- "copyIsArray",
- "clone",
- "target",
- "deep",
- "isFunction",
- "isPlainObject",
- "isArray",
- "undefined",
- "expando",
- "Math",
- "random",
- "replace",
- "isReady",
- "error",
- "msg",
- "noop",
- "obj",
- "type",
- "Array",
- "isWindow",
- "isNumeric",
- "parseFloat",
- "nodeType",
- "isEmptyObject",
- "globalEval",
- "code",
- "script",
- "indirect",
- "eval",
- "trim",
- "createElement",
- "text",
- "head",
- "appendChild",
- "parentNode",
- "removeChild",
- "camelCase",
- "string",
- "nodeName",
- "toLowerCase",
- "value",
- "isArraylike",
- "makeArray",
- "results",
- "Object",
- "inArray",
- "second",
- "grep",
- "invert",
- "callbackInverse",
- "matches",
- "callbackExpect",
- "arg",
- "guid",
- "proxy",
- "tmp",
- "now",
- "Date",
- "split",
- "Sizzle",
- "Expr",
- "getText",
- "isXML",
- "tokenize",
- "compile",
- "select",
- "outermostContext",
- "sortInput",
- "hasDuplicate",
- "setDocument",
- "docElem",
- "documentIsHTML",
- "rbuggyQSA",
- "rbuggyMatches",
- "contains",
- "preferredDoc",
- "dirruns",
- "done",
- "classCache",
- "createCache",
- "tokenCache",
- "compilerCache",
- "sortOrder",
- "a",
- "b",
- "MAX_NEGATIVE",
- "pop",
- "push_native",
- "list",
- "booleans",
- "whitespace",
- "characterEncoding",
- "identifier",
- "attributes",
- "pseudos",
- "rwhitespace",
- "RegExp",
- "rcomma",
- "rcombinators",
- "rattributeQuotes",
- "rpseudo",
- "ridentifier",
- "matchExpr",
- "ID",
- "CLASS",
- "TAG",
- "ATTR",
- "PSEUDO",
- "CHILD",
- "bool",
- "needsContext",
- "rinputs",
- "rheader",
- "rnative",
- "rquickExpr",
- "rsibling",
- "rescape",
- "runescape",
- "funescape",
- "_",
- "escaped",
- "escapedWhitespace",
- "high",
- "String",
- "fromCharCode",
- "unloadHandler",
- "childNodes",
- "e",
- "els",
- "seed",
- "match",
- "m",
- "groups",
- "old",
- "nid",
- "newContext",
- "newSelector",
- "ownerDocument",
- "exec",
- "getElementById",
- "id",
- "getElementsByTagName",
- "getElementsByClassName",
- "qsa",
- "test",
- "getAttribute",
- "setAttribute",
- "toSelector",
- "testContext",
- "join",
- "querySelectorAll",
- "qsaError",
- "removeAttribute",
- "keys",
- "cache",
- "key",
- "cacheLength",
- "shift",
- "markFunction",
- "assert",
- "div",
- "addHandle",
- "attrs",
- "handler",
- "attrHandle",
- "siblingCheck",
- "cur",
- "diff",
- "sourceIndex",
- "nextSibling",
- "createInputPseudo",
- "createButtonPseudo",
- "createPositionalPseudo",
- "argument",
- "matchIndexes",
- "documentElement",
- "node",
- "hasCompare",
- "parent",
- "doc",
- "defaultView",
- "top",
- "addEventListener",
- "attachEvent",
- "className",
- "createComment",
- "getById",
- "getElementsByName",
- "find",
- "filter",
- "attrId",
- "getAttributeNode",
- "tag",
- "innerHTML",
- "input",
- "matchesSelector",
- "webkitMatchesSelector",
- "mozMatchesSelector",
- "oMatchesSelector",
- "msMatchesSelector",
- "disconnectedMatch",
- "compareDocumentPosition",
- "adown",
- "bup",
- "compare",
- "sortDetached",
- "aup",
- "ap",
- "bp",
- "unshift",
- "expr",
- "elements",
- "attr",
- "val",
- "specified",
- "uniqueSort",
- "duplicates",
- "detectDuplicates",
- "sortStable",
- "textContent",
- "firstChild",
- "nodeValue",
- "selectors",
- "createPseudo",
- "relative",
- ">",
- "dir",
- " ",
- "+",
- "~",
- "preFilter",
- "excess",
- "unquoted",
- "nodeNameSelector",
- "pattern",
- "operator",
- "check",
- "result",
- "what",
- "simple",
- "forward",
- "ofType",
- "xml",
- "outerCache",
- "nodeIndex",
- "start",
- "useCache",
- "lastChild",
- "pseudo",
- "setFilters",
- "idx",
- "matched",
- "not",
- "matcher",
- "unmatched",
- "has",
- "innerText",
- "lang",
- "elemLang",
- "hash",
- "location",
- "root",
- "focus",
- "activeElement",
- "hasFocus",
- "href",
- "tabIndex",
- "enabled",
- "disabled",
- "checked",
- "selected",
- "selectedIndex",
- "empty",
- "header",
- "button",
- "even",
- "odd",
- "lt",
- "gt",
- "radio",
- "checkbox",
- "file",
- "password",
- "image",
- "submit",
- "reset",
- "filters",
- "parseOnly",
- "tokens",
- "soFar",
- "preFilters",
- "cached",
- "addCombinator",
- "combinator",
- "base",
- "checkNonElements",
- "doneName",
- "oldCache",
- "newCache",
- "elementMatcher",
- "matchers",
- "multipleContexts",
- "contexts",
- "condense",
- "newUnmatched",
- "mapped",
- "setMatcher",
- "postFilter",
- "postFinder",
- "postSelector",
- "temp",
- "preMap",
- "postMap",
- "preexisting",
- "matcherIn",
- "matcherOut",
- "matcherFromTokens",
- "checkContext",
- "leadingRelative",
- "implicitRelative",
- "matchContext",
- "matchAnyContext",
- "matcherFromGroupMatchers",
- "elementMatchers",
- "setMatchers",
- "bySet",
- "byElement",
- "superMatcher",
- "outermost",
- "matchedCount",
- "setMatched",
- "contextBackup",
- "dirrunsUnique",
- "token",
- "compiled",
- "div1",
- "defaultValue",
- "unique",
- "isXMLDoc",
- "rneedsContext",
- "rsingleTag",
- "risSimple",
- "winnow",
- "qualifier",
- "self",
- "is",
- "rootjQuery",
- "parseHTML",
- "ready",
- "rparentsprev",
- "guaranteedUnique",
- "children",
- "contents",
- "next",
- "prev",
- "until",
- "truncate",
- "sibling",
- "n",
- "targets",
- "l",
- "closest",
- "pos",
- "index",
- "prevAll",
- "add",
- "addBack",
- "parents",
- "parentsUntil",
- "nextAll",
- "nextUntil",
- "prevUntil",
- "siblings",
- "contentDocument",
- "reverse",
- "rnotwhite",
- "optionsCache",
- "createOptions",
- "object",
- "flag",
- "Callbacks",
- "memory",
- "fired",
- "firing",
- "firingStart",
- "firingLength",
- "firingIndex",
- "stack",
- "once",
- "fire",
- "data",
- "stopOnFalse",
- "disable",
- "remove",
- "lock",
- "locked",
- "fireWith",
- "Deferred",
- "func",
- "tuples",
- "state",
- "promise",
- "always",
- "deferred",
- "fail",
- "then",
- "fns",
- "newDefer",
- "tuple",
- "returned",
- "resolve",
- "reject",
- "progress",
- "notify",
- "pipe",
- "stateString",
- "when",
- "subordinate",
- "resolveValues",
- "remaining",
- "updateFunc",
- "values",
- "progressValues",
- "notifyWith",
- "resolveWith",
- "progressContexts",
- "resolveContexts",
- "readyList",
- "readyWait",
- "holdReady",
- "hold",
- "wait",
- "triggerHandler",
- "off",
- "completed",
- "removeEventListener",
- "readyState",
- "setTimeout",
- "access",
- "chainable",
- "emptyGet",
- "raw",
- "bulk",
- "acceptData",
- "owner",
- "Data",
- "defineProperty",
- "uid",
- "accepts",
- "descriptor",
- "unlock",
- "defineProperties",
- "set",
- "prop",
- "stored",
- "camel",
- "hasData",
- "discard",
- "data_priv",
- "data_user",
- "rbrace",
- "rmultiDash",
- "dataAttr",
- "parseJSON",
- "removeData",
- "_data",
- "_removeData",
- "camelKey",
- "queue",
- "dequeue",
- "startLength",
- "hooks",
- "_queueHooks",
- "stop",
- "setter",
- "clearQueue",
- "count",
- "defer",
- "pnum",
- "source",
- "cssExpand",
- "isHidden",
- "el",
- "css",
- "rcheckableType",
- "fragment",
- "createDocumentFragment",
- "checkClone",
- "cloneNode",
- "noCloneChecked",
- "strundefined",
- "focusinBubbles",
- "rkeyEvent",
- "rmouseEvent",
- "rfocusMorph",
- "rtypenamespace",
- "returnTrue",
- "returnFalse",
- "safeActiveElement",
- "err",
- "event",
- "types",
- "handleObjIn",
- "eventHandle",
- "events",
- "t",
- "handleObj",
- "special",
- "handlers",
- "namespaces",
- "origType",
- "elemData",
- "handle",
- "triggered",
- "dispatch",
- "delegateType",
- "bindType",
- "namespace",
- "delegateCount",
- "setup",
- "mappedTypes",
- "origCount",
- "teardown",
- "removeEvent",
- "trigger",
- "onlyHandlers",
- "bubbleType",
- "ontype",
- "eventPath",
- "Event",
- "isTrigger",
- "namespace_re",
- "noBubble",
- "parentWindow",
- "isPropagationStopped",
- "preventDefault",
- "isDefaultPrevented",
- "_default",
- "fix",
- "handlerQueue",
- "delegateTarget",
- "preDispatch",
- "currentTarget",
- "isImmediatePropagationStopped",
- "stopPropagation",
- "postDispatch",
- "sel",
- "props",
- "fixHooks",
- "keyHooks",
- "original",
- "which",
- "charCode",
- "keyCode",
- "mouseHooks",
- "eventDoc",
- "body",
- "pageX",
- "clientX",
- "scrollLeft",
- "clientLeft",
- "pageY",
- "clientY",
- "scrollTop",
- "clientTop",
- "originalEvent",
- "fixHook",
- "load",
- "blur",
- "click",
- "beforeunload",
- "returnValue",
- "simulate",
- "bubble",
- "isSimulated",
- "defaultPrevented",
- "timeStamp",
- "stopImmediatePropagation",
- "mouseenter",
- "mouseleave",
- "pointerenter",
- "pointerleave",
- "orig",
- "related",
- "relatedTarget",
- "attaches",
- "on",
- "one",
- "origFn",
- "rxhtmlTag",
- "rtagName",
- "rhtml",
- "rnoInnerhtml",
- "rchecked",
- "rscriptType",
- "rscriptTypeMasked",
- "rcleanScript",
- "wrapMap",
- "option",
- "thead",
- "col",
- "tr",
- "td",
- "optgroup",
- "tbody",
- "tfoot",
- "colgroup",
- "caption",
- "th",
- "manipulationTarget",
- "content",
- "disableScript",
- "restoreScript",
- "setGlobalEval",
- "refElements",
- "cloneCopyEvent",
- "dest",
- "pdataOld",
- "pdataCur",
- "udataOld",
- "udataCur",
- "getAll",
- "fixInput",
- "dataAndEvents",
- "deepDataAndEvents",
- "srcElements",
- "destElements",
- "inPage",
- "buildFragment",
- "scripts",
- "selection",
- "wrap",
- "nodes",
- "createTextNode",
- "cleanData",
- "append",
- "domManip",
- "prepend",
- "insertBefore",
- "before",
- "after",
- "keepData",
- "html",
- "replaceWith",
- "replaceChild",
- "detach",
- "hasScripts",
- "iNoClone",
- "_evalUrl",
- "appendTo",
- "prependTo",
- "insertAfter",
- "replaceAll",
- "insert",
- "iframe",
- "elemdisplay",
- "actualDisplay",
- "style",
- "display",
- "getDefaultComputedStyle",
- "defaultDisplay",
- "write",
- "close",
- "rmargin",
- "rnumnonpx",
- "getStyles",
- "opener",
- "getComputedStyle",
- "curCSS",
- "computed",
- "width",
- "minWidth",
- "maxWidth",
- "getPropertyValue",
- "addGetHookIf",
- "conditionFn",
- "hookFn",
- "pixelPositionVal",
- "boxSizingReliableVal",
- "container",
- "backgroundClip",
- "clearCloneStyle",
- "cssText",
- "computePixelPositionAndBoxSizingReliable",
- "divStyle",
- "pixelPosition",
- "boxSizingReliable",
- "reliableMarginRight",
- "marginDiv",
- "marginRight",
- "swap",
- "rdisplayswap",
- "rnumsplit",
- "rrelNum",
- "cssShow",
- "position",
- "visibility",
- "cssNormalTransform",
- "letterSpacing",
- "fontWeight",
- "cssPrefixes",
- "vendorPropName",
- "capName",
- "origName",
- "setPositiveNumber",
- "subtract",
- "max",
- "augmentWidthOrHeight",
- "extra",
- "isBorderBox",
- "styles",
- "getWidthOrHeight",
- "valueIsBorderBox",
- "offsetWidth",
- "offsetHeight",
- "showHide",
- "show",
- "hidden",
- "cssHooks",
- "opacity",
- "cssNumber",
- "columnCount",
- "fillOpacity",
- "flexGrow",
- "flexShrink",
- "lineHeight",
- "order",
- "orphans",
- "widows",
- "zIndex",
- "zoom",
- "cssProps",
- "float",
- "margin",
- "padding",
- "border",
- "prefix",
- "suffix",
- "expand",
- "expanded",
- "parts",
- "hide",
- "toggle",
- "Tween",
- "easing",
- "unit",
- "propHooks",
- "run",
- "percent",
- "eased",
- "duration",
- "step",
- "tween",
- "fx",
- "linear",
- "p",
- "swing",
- "cos",
- "PI",
- "fxNow",
- "timerId",
- "rfxtypes",
- "rfxnum",
- "rrun",
- "animationPrefilters",
- "defaultPrefilter",
- "tweeners",
- "*",
- "createTween",
- "scale",
- "maxIterations",
- "createFxNow",
- "genFx",
- "includeWidth",
- "height",
- "animation",
- "collection",
- "opts",
- "oldfire",
- "checkDisplay",
- "anim",
- "dataShow",
- "unqueued",
- "overflow",
- "overflowX",
- "overflowY",
- "propFilter",
- "specialEasing",
- "Animation",
- "properties",
- "stopped",
- "tick",
- "currentTime",
- "startTime",
- "tweens",
- "originalProperties",
- "originalOptions",
- "gotoEnd",
- "rejectWith",
- "timer",
- "complete",
- "tweener",
- "prefilter",
- "speed",
- "opt",
- "speeds",
- "fadeTo",
- "to",
- "animate",
- "optall",
- "doAnimation",
- "finish",
- "stopQueue",
- "timers",
- "cssFn",
- "slideDown",
- "slideUp",
- "slideToggle",
- "fadeIn",
- "fadeOut",
- "fadeToggle",
- "interval",
- "setInterval",
- "clearInterval",
- "slow",
- "fast",
- "delay",
- "time",
- "timeout",
- "clearTimeout",
- "checkOn",
- "optSelected",
- "optDisabled",
- "radioValue",
- "nodeHook",
- "boolHook",
- "removeAttr",
- "nType",
- "attrHooks",
- "propName",
- "attrNames",
- "propFix",
- "getter",
- "rfocusable",
- "removeProp",
- "for",
- "class",
- "notxml",
- "hasAttribute",
- "rclass",
- "addClass",
- "classes",
- "clazz",
- "finalValue",
- "proceed",
- "removeClass",
- "toggleClass",
- "stateVal",
- "classNames",
- "hasClass",
- "rreturn",
- "valHooks",
- "optionSet",
- "hover",
- "fnOver",
- "fnOut",
- "bind",
- "unbind",
- "delegate",
- "undelegate",
- "nonce",
- "rquery",
- "JSON",
- "parse",
- "parseXML",
- "DOMParser",
- "parseFromString",
- "rhash",
- "rts",
- "rheaders",
- "rlocalProtocol",
- "rnoContent",
- "rprotocol",
- "rurl",
- "prefilters",
- "transports",
- "allTypes",
- "ajaxLocation",
- "ajaxLocParts",
- "addToPrefiltersOrTransports",
- "structure",
- "dataTypeExpression",
- "dataType",
- "dataTypes",
- "inspectPrefiltersOrTransports",
- "jqXHR",
- "inspected",
- "seekingTransport",
- "inspect",
- "prefilterOrFactory",
- "dataTypeOrTransport",
- "ajaxExtend",
- "flatOptions",
- "ajaxSettings",
- "ajaxHandleResponses",
- "s",
- "responses",
- "ct",
- "finalDataType",
- "firstDataType",
- "mimeType",
- "getResponseHeader",
- "converters",
- "ajaxConvert",
- "response",
- "isSuccess",
- "conv2",
- "current",
- "conv",
- "responseFields",
- "dataFilter",
- "active",
- "lastModified",
- "etag",
- "url",
- "isLocal",
- "processData",
- "async",
- "contentType",
- "json",
- "* text",
- "text html",
- "text json",
- "text xml",
- "ajaxSetup",
- "settings",
- "ajaxPrefilter",
- "ajaxTransport",
- "ajax",
- "transport",
- "cacheURL",
- "responseHeadersString",
- "responseHeaders",
- "timeoutTimer",
- "fireGlobals",
- "callbackContext",
- "globalEventContext",
- "completeDeferred",
- "statusCode",
- "requestHeaders",
- "requestHeadersNames",
- "strAbort",
- "getAllResponseHeaders",
- "setRequestHeader",
- "lname",
- "overrideMimeType",
- "status",
- "abort",
- "statusText",
- "finalText",
- "success",
- "method",
- "crossDomain",
- "param",
- "traditional",
- "hasContent",
- "ifModified",
- "headers",
- "beforeSend",
- "send",
- "nativeStatusText",
- "modified",
- "getJSON",
- "getScript",
- "throws",
- "wrapAll",
- "firstElementChild",
- "wrapInner",
- "unwrap",
- "visible",
- "r20",
- "rbracket",
- "rCRLF",
- "rsubmitterTypes",
- "rsubmittable",
- "buildParams",
- "v",
- "encodeURIComponent",
- "serialize",
- "serializeArray",
- "xhr",
- "XMLHttpRequest",
- "xhrId",
- "xhrCallbacks",
- "xhrSuccessStatus",
- 1223,
- "xhrSupported",
- "cors",
- "open",
- "username",
- "xhrFields",
- "onload",
- "onerror",
- "responseText",
- "text script",
- "charset",
- "scriptCharset",
- "evt",
- "oldCallbacks",
- "rjsonp",
- "jsonp",
- "jsonpCallback",
- "originalSettings",
- "callbackName",
- "overwritten",
- "responseContainer",
- "jsonProp",
- "keepScripts",
- "parsed",
- "_load",
- "params",
- "animated",
- "getWindow",
- "offset",
- "setOffset",
- "curPosition",
- "curLeft",
- "curCSSTop",
- "curTop",
- "curOffset",
- "curCSSLeft",
- "calculatePosition",
- "curElem",
- "left",
- "using",
- "win",
- "box",
- "getBoundingClientRect",
- "pageYOffset",
- "pageXOffset",
- "offsetParent",
- "parentOffset",
- "scrollTo",
- "Height",
- "Width",
- "defaultExtra",
- "funcName",
- "size",
- "andSelf",
- "define",
- "amd",
- "_jQuery",
- "_$",
- "$",
- "noConflict"
- ],
- "mappings": "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"
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-migrate-1.2.1.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-migrate-1.2.1.js
deleted file mode 100644
index d1f3a3f3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-migrate-1.2.1.js
+++ /dev/null
@@ -1,526 +0,0 @@
-/*!
- * jQuery Migrate - v1.2.1 - 2013-05-08
- * https://github.com/jquery/jquery-migrate
- * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors; Licensed MIT
- */
-(function (jQuery, window, undefined) {
-// See http://bugs.jquery.com/ticket/13335
-// "use strict";
-
-
- var warnedAbout = {};
-
-// List of warnings already given; public read only
- jQuery.migrateWarnings = [];
-
-// Set to true to prevent console output; migrateWarnings still maintained
-// jQuery.migrateMute = false;
-
-// Show a message on the console so devs know we're active
- if (!jQuery.migrateMute && window.console && window.console.log) {
- window.console.log("JQMIGRATE: Logging is active");
- }
-
-// Set to false to disable traces that appear with warnings
- if (jQuery.migrateTrace === undefined) {
- jQuery.migrateTrace = true;
- }
-
-// Forget any warnings we've already given; public
- jQuery.migrateReset = function () {
- warnedAbout = {};
- jQuery.migrateWarnings.length = 0;
- };
-
- function migrateWarn(msg) {
- var console = window.console;
- if (!warnedAbout[msg]) {
- warnedAbout[msg] = true;
- jQuery.migrateWarnings.push(msg);
- if (console && console.warn && !jQuery.migrateMute) {
- console.warn("JQMIGRATE: " + msg);
- if (jQuery.migrateTrace && console.trace) {
- console.trace();
- }
- }
- }
- }
-
- function migrateWarnProp(obj, prop, value, msg) {
- if (Object.defineProperty) {
- // On ES5 browsers (non-oldIE), warn if the code tries to get prop;
- // allow property to be overwritten in case some other plugin wants it
- try {
- Object.defineProperty(obj, prop, {
- configurable: true,
- enumerable: true,
- get: function () {
- migrateWarn(msg);
- return value;
- },
- set: function (newValue) {
- migrateWarn(msg);
- value = newValue;
- }
- });
- return;
- } catch (err) {
- // IE8 is a dope about Object.defineProperty, can't warn there
- }
- }
-
- // Non-ES5 (or broken) browser; just set the property
- jQuery._definePropertyBroken = true;
- obj[prop] = value;
- }
-
- if (document.compatMode === "BackCompat") {
- // jQuery has never supported or tested Quirks Mode
- migrateWarn("jQuery is not compatible with Quirks Mode");
- }
-
-
- var attrFn = jQuery("<input/>", {size: 1}).attr("size") && jQuery.attrFn,
- oldAttr = jQuery.attr,
- valueAttrGet = jQuery.attrHooks.value && jQuery.attrHooks.value.get ||
- function () {
- return null;
- },
- valueAttrSet = jQuery.attrHooks.value && jQuery.attrHooks.value.set ||
- function () {
- return undefined;
- },
- rnoType = /^(?:input|button)$/i,
- rnoAttrNodeType = /^[238]$/,
- rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
- ruseDefault = /^(?:checked|selected)$/i;
-
-// jQuery.attrFn
- migrateWarnProp(jQuery, "attrFn", attrFn || {}, "jQuery.attrFn is deprecated");
-
- jQuery.attr = function (elem, name, value, pass) {
- var lowerName = name.toLowerCase(),
- nType = elem && elem.nodeType;
-
- if (pass) {
- // Since pass is used internally, we only warn for new jQuery
- // versions where there isn't a pass arg in the formal params
- if (oldAttr.length < 4) {
- migrateWarn("jQuery.fn.attr( props, pass ) is deprecated");
- }
- if (elem && !rnoAttrNodeType.test(nType) &&
- (attrFn ? name in attrFn : jQuery.isFunction(jQuery.fn[name]))) {
- return jQuery(elem)[name](value);
- }
- }
-
- // Warn if user tries to set `type`, since it breaks on IE 6/7/8; by checking
- // for disconnected elements we don't warn on $( "<button>", { type: "button" } ).
- if (name === "type" && value !== undefined && rnoType.test(elem.nodeName) && elem.parentNode) {
- migrateWarn("Can't change the 'type' of an input or button in IE 6/7/8");
- }
-
- // Restore boolHook for boolean property/attribute synchronization
- if (!jQuery.attrHooks[lowerName] && rboolean.test(lowerName)) {
- jQuery.attrHooks[lowerName] = {
- get: function (elem, name) {
- // Align boolean attributes with corresponding properties
- // Fall back to attribute presence where some booleans are not supported
- var attrNode,
- property = jQuery.prop(elem, name);
- return property === true || typeof property !== "boolean" &&
- ( attrNode = elem.getAttributeNode(name) ) && attrNode.nodeValue !== false ?
-
- name.toLowerCase() :
- undefined;
- },
- set: function (elem, value, name) {
- var propName;
- if (value === false) {
- // Remove boolean attributes when set to false
- jQuery.removeAttr(elem, name);
- } else {
- // value is true since we know at this point it's type boolean and not false
- // Set boolean attributes to the same name and set the DOM property
- propName = jQuery.propFix[name] || name;
- if (propName in elem) {
- // Only set the IDL specifically if it already exists on the element
- elem[propName] = true;
- }
-
- elem.setAttribute(name, name.toLowerCase());
- }
- return name;
- }
- };
-
- // Warn only for attributes that can remain distinct from their properties post-1.9
- if (ruseDefault.test(lowerName)) {
- migrateWarn("jQuery.fn.attr('" + lowerName + "') may use property instead of attribute");
- }
- }
-
- return oldAttr.call(jQuery, elem, name, value);
- };
-
-// attrHooks: value
- jQuery.attrHooks.value = {
- get: function (elem, name) {
- var nodeName = ( elem.nodeName || "" ).toLowerCase();
- if (nodeName === "button") {
- return valueAttrGet.apply(this, arguments);
- }
- if (nodeName !== "input" && nodeName !== "option") {
- migrateWarn("jQuery.fn.attr('value') no longer gets properties");
- }
- return name in elem ?
- elem.value :
- null;
- },
- set: function (elem, value) {
- var nodeName = ( elem.nodeName || "" ).toLowerCase();
- if (nodeName === "button") {
- return valueAttrSet.apply(this, arguments);
- }
- if (nodeName !== "input" && nodeName !== "option") {
- migrateWarn("jQuery.fn.attr('value', val) no longer sets properties");
- }
- // Does not return so that setAttribute is also used
- elem.value = value;
- }
- };
-
-
- var matched, browser,
- oldInit = jQuery.fn.init,
- oldParseJSON = jQuery.parseJSON,
- // Note: XSS check is done below after string is trimmed
- rquickExpr = /^([^<]*)(<[\w\W]+>)([^>]*)$/;
-
-// $(html) "looks like html" rule change
- jQuery.fn.init = function (selector, context, rootjQuery) {
- var match;
-
- if (selector && typeof selector === "string" && !jQuery.isPlainObject(context) &&
- (match = rquickExpr.exec(jQuery.trim(selector))) && match[0]) {
- // This is an HTML string according to the "old" rules; is it still?
- if (selector.charAt(0) !== "<") {
- migrateWarn("$(html) HTML strings must start with '<' character");
- }
- if (match[3]) {
- migrateWarn("$(html) HTML text after last tag is ignored");
- }
- // Consistently reject any HTML-like string starting with a hash (#9521)
- // Note that this may break jQuery 1.6.x code that otherwise would work.
- if (match[0].charAt(0) === "#") {
- migrateWarn("HTML string cannot start with a '#' character");
- jQuery.error("JQMIGRATE: Invalid selector string (XSS)");
- }
- // Now process using loose rules; let pre-1.8 play too
- if (context && context.context) {
- // jQuery object as context; parseHTML expects a DOM object
- context = context.context;
- }
- if (jQuery.parseHTML) {
- return oldInit.call(this, jQuery.parseHTML(match[2], context, true),
- context, rootjQuery);
- }
- }
- return oldInit.apply(this, arguments);
- };
- jQuery.fn.init.prototype = jQuery.fn;
-
-// Let $.parseJSON(falsy_value) return null
- jQuery.parseJSON = function (json) {
- if (!json && json !== null) {
- migrateWarn("jQuery.parseJSON requires a valid JSON string");
- return null;
- }
- return oldParseJSON.apply(this, arguments);
- };
-
- jQuery.uaMatch = function (ua) {
- ua = ua.toLowerCase();
-
- var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
- /(webkit)[ \/]([\w.]+)/.exec(ua) ||
- /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
- /(msie) ([\w.]+)/.exec(ua) ||
- ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
- [];
-
- return {
- browser: match[1] || "",
- version: match[2] || "0"
- };
- };
-
-// Don't clobber any existing jQuery.browser in case it's different
- if (!jQuery.browser) {
- matched = jQuery.uaMatch(navigator.userAgent);
- browser = {};
-
- if (matched.browser) {
- browser[matched.browser] = true;
- browser.version = matched.version;
- }
-
- // Chrome is Webkit, but Webkit is also Safari.
- if (browser.chrome) {
- browser.webkit = true;
- } else if (browser.webkit) {
- browser.safari = true;
- }
-
- jQuery.browser = browser;
- }
-
-// Warn if the code tries to get jQuery.browser
- migrateWarnProp(jQuery, "browser", jQuery.browser, "jQuery.browser is deprecated");
-
- jQuery.sub = function () {
- function jQuerySub(selector, context) {
- return new jQuerySub.fn.init(selector, context);
- }
-
- jQuery.extend(true, jQuerySub, this);
- jQuerySub.superclass = this;
- jQuerySub.fn = jQuerySub.prototype = this();
- jQuerySub.fn.constructor = jQuerySub;
- jQuerySub.sub = this.sub;
- jQuerySub.fn.init = function init(selector, context) {
- if (context && context instanceof jQuery && !(context instanceof jQuerySub)) {
- context = jQuerySub(context);
- }
-
- return jQuery.fn.init.call(this, selector, context, rootjQuerySub);
- };
- jQuerySub.fn.init.prototype = jQuerySub.fn;
- var rootjQuerySub = jQuerySub(document);
- migrateWarn("jQuery.sub() is deprecated");
- return jQuerySub;
- };
-
-
-// Ensure that $.ajax gets the new parseJSON defined in core.js
- jQuery.ajaxSetup({
- converters: {
- "text json": jQuery.parseJSON
- }
- });
-
-
- var oldFnData = jQuery.fn.data;
-
- jQuery.fn.data = function (name) {
- var ret, evt,
- elem = this[0];
-
- // Handles 1.7 which has this behavior and 1.8 which doesn't
- if (elem && name === "events" && arguments.length === 1) {
- ret = jQuery.data(elem, name);
- evt = jQuery._data(elem, name);
- if (( ret === undefined || ret === evt ) && evt !== undefined) {
- migrateWarn("Use of jQuery.fn.data('events') is deprecated");
- return evt;
- }
- }
- return oldFnData.apply(this, arguments);
- };
-
-
- var rscriptType = /\/(java|ecma)script/i,
- oldSelf = jQuery.fn.andSelf || jQuery.fn.addBack;
-
- jQuery.fn.andSelf = function () {
- migrateWarn("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()");
- return oldSelf.apply(this, arguments);
- };
-
-// Since jQuery.clean is used internally on older versions, we only shim if it's missing
- if (!jQuery.clean) {
- jQuery.clean = function (elems, context, fragment, scripts) {
- // Set context per 1.8 logic
- context = context || document;
- context = !context.nodeType && context[0] || context;
- context = context.ownerDocument || context;
-
- migrateWarn("jQuery.clean() is deprecated");
-
- var i, elem, handleScript, jsTags,
- ret = [];
-
- jQuery.merge(ret, jQuery.buildFragment(elems, context).childNodes);
-
- // Complex logic lifted directly from jQuery 1.8
- if (fragment) {
- // Special handling of each script element
- handleScript = function (elem) {
- // Check if we consider it executable
- if (!elem.type || rscriptType.test(elem.type)) {
- // Detach the script and store it in the scripts array (if provided) or the fragment
- // Return truthy to indicate that it has been handled
- return scripts ?
- scripts.push(elem.parentNode ? elem.parentNode.removeChild(elem) : elem) :
- fragment.appendChild(elem);
- }
- };
-
- for (i = 0; (elem = ret[i]) != null; i++) {
- // Check if we're done after handling an executable script
- if (!( jQuery.nodeName(elem, "script") && handleScript(elem) )) {
- // Append to fragment and handle embedded scripts
- fragment.appendChild(elem);
- if (typeof elem.getElementsByTagName !== "undefined") {
- // handleScript alters the DOM, so use jQuery.merge to ensure snapshot iteration
- jsTags = jQuery.grep(jQuery.merge([], elem.getElementsByTagName("script")), handleScript);
-
- // Splice the scripts into ret after their former ancestor and advance our index beyond them
- ret.splice.apply(ret, [i + 1, 0].concat(jsTags));
- i += jsTags.length;
- }
- }
- }
- }
-
- return ret;
- };
- }
-
- var eventAdd = jQuery.event.add,
- eventRemove = jQuery.event.remove,
- eventTrigger = jQuery.event.trigger,
- oldToggle = jQuery.fn.toggle,
- oldLive = jQuery.fn.live,
- oldDie = jQuery.fn.die,
- ajaxEvents = "ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",
- rajaxEvent = new RegExp("\\b(?:" + ajaxEvents + ")\\b"),
- rhoverHack = /(?:^|\s)hover(\.\S+|)\b/,
- hoverHack = function (events) {
- if (typeof( events ) !== "string" || jQuery.event.special.hover) {
- return events;
- }
- if (rhoverHack.test(events)) {
- migrateWarn("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'");
- }
- return events && events.replace(rhoverHack, "mouseenter$1 mouseleave$1");
- };
-
-// Event props removed in 1.9, put them back if needed; no practical way to warn them
- if (jQuery.event.props && jQuery.event.props[0] !== "attrChange") {
- jQuery.event.props.unshift("attrChange", "attrName", "relatedNode", "srcElement");
- }
-
-// Undocumented jQuery.event.handle was "deprecated" in jQuery 1.7
- if (jQuery.event.dispatch) {
- migrateWarnProp(jQuery.event, "handle", jQuery.event.dispatch, "jQuery.event.handle is undocumented and deprecated");
- }
-
-// Support for 'hover' pseudo-event and ajax event warnings
- jQuery.event.add = function (elem, types, handler, data, selector) {
- if (elem !== document && rajaxEvent.test(types)) {
- migrateWarn("AJAX events should be attached to document: " + types);
- }
- eventAdd.call(this, elem, hoverHack(types || ""), handler, data, selector);
- };
- jQuery.event.remove = function (elem, types, handler, selector, mappedTypes) {
- eventRemove.call(this, elem, hoverHack(types) || "", handler, selector, mappedTypes);
- };
-
- jQuery.fn.error = function () {
- var args = Array.prototype.slice.call(arguments, 0);
- migrateWarn("jQuery.fn.error() is deprecated");
- args.splice(0, 0, "error");
- if (arguments.length) {
- return this.bind.apply(this, args);
- }
- // error event should not bubble to window, although it does pre-1.7
- this.triggerHandler.apply(this, args);
- return this;
- };
-
- jQuery.fn.toggle = function (fn, fn2) {
-
- // Don't mess with animation or css toggles
- if (!jQuery.isFunction(fn) || !jQuery.isFunction(fn2)) {
- return oldToggle.apply(this, arguments);
- }
- migrateWarn("jQuery.fn.toggle(handler, handler...) is deprecated");
-
- // Save reference to arguments for access in closure
- var args = arguments,
- guid = fn.guid || jQuery.guid++,
- i = 0,
- toggler = function (event) {
- // Figure out which function to execute
- var lastToggle = ( jQuery._data(this, "lastToggle" + fn.guid) || 0 ) % i;
- jQuery._data(this, "lastToggle" + fn.guid, lastToggle + 1);
-
- // Make sure that clicks stop
- event.preventDefault();
-
- // and execute the function
- return args[lastToggle].apply(this, arguments) || false;
- };
-
- // link all the functions, so any of them can unbind this click handler
- toggler.guid = guid;
- while (i < args.length) {
- args[i++].guid = guid;
- }
-
- return this.click(toggler);
- };
-
- jQuery.fn.live = function (types, data, fn) {
- migrateWarn("jQuery.fn.live() is deprecated");
- if (oldLive) {
- return oldLive.apply(this, arguments);
- }
- jQuery(this.context).on(types, this.selector, data, fn);
- return this;
- };
-
- jQuery.fn.die = function (types, fn) {
- migrateWarn("jQuery.fn.die() is deprecated");
- if (oldDie) {
- return oldDie.apply(this, arguments);
- }
- jQuery(this.context).off(types, this.selector || "**", fn);
- return this;
- };
-
-// Turn global events into document-triggered events
- jQuery.event.trigger = function (event, data, elem, onlyHandlers) {
- if (!elem && !rajaxEvent.test(event)) {
- migrateWarn("Global events are undocumented and deprecated");
- }
- return eventTrigger.call(this, event, data, elem || document, onlyHandlers);
- };
- jQuery.each(ajaxEvents.split("|"),
- function (_, name) {
- jQuery.event.special[name] = {
- setup: function () {
- var elem = this;
-
- // The document needs no shimming; must be !== for oldIE
- if (elem !== document) {
- jQuery.event.add(document, name + "." + jQuery.guid, function () {
- jQuery.event.trigger(name, null, elem, true);
- });
- jQuery._data(this, name, jQuery.guid++);
- }
- return false;
- },
- teardown: function () {
- if (this !== document) {
- jQuery.event.remove(document, name + "." + jQuery._data(this, name));
- }
- return false;
- }
- };
- }
- );
-
-
-})(jQuery, window);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-migrate-1.2.1.min.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-migrate-1.2.1.min.js
deleted file mode 100644
index b51cf38b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/jquery/jquery-migrate-1.2.1.min.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
-jQuery.migrateMute === void 0 && (jQuery.migrateMute = !0), function (e, t, n) {
- function r(n) {
- var r = t.console;
- i[n] || (i[n] = !0, e.migrateWarnings.push(n), r && r.warn && !e.migrateMute && (r.warn("JQMIGRATE: " + n), e.migrateTrace && r.trace && r.trace()))
- }
-
- function a(t, a, i, o) {
- if (Object.defineProperty)try {
- return Object.defineProperty(t, a, {
- configurable: !0, enumerable: !0, get: function () {
- return r(o), i
- }, set: function (e) {
- r(o), i = e
- }
- }), n
- } catch (s) {
- }
- e._definePropertyBroken = !0, t[a] = i
- }
-
- var i = {};
- e.migrateWarnings = [], !e.migrateMute && t.console && t.console.log && t.console.log("JQMIGRATE: Logging is active"), e.migrateTrace === n && (e.migrateTrace = !0), e.migrateReset = function () {
- i = {}, e.migrateWarnings.length = 0
- }, "BackCompat" === document.compatMode && r("jQuery is not compatible with Quirks Mode");
- var o = e("<input/>", {size: 1}).attr("size") && e.attrFn, s = e.attr, u = e.attrHooks.value && e.attrHooks.value.get || function () {
- return null
- }, c = e.attrHooks.value && e.attrHooks.value.set || function () {
- return n
- }, l = /^(?:input|button)$/i, d = /^[238]$/, p = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, f = /^(?:checked|selected)$/i;
- a(e, "attrFn", o || {}, "jQuery.attrFn is deprecated"), e.attr = function (t, a, i, u) {
- var c = a.toLowerCase(), g = t && t.nodeType;
- return u && (4 > s.length && r("jQuery.fn.attr( props, pass ) is deprecated"), t && !d.test(g) && (o ? a in o : e.isFunction(e.fn[a]))) ? e(t)[a](i) : ("type" === a && i !== n && l.test(t.nodeName) && t.parentNode && r("Can't change the 'type' of an input or button in IE 6/7/8"), !e.attrHooks[c] && p.test(c) && (e.attrHooks[c] = {
- get: function (t, r) {
- var a, i = e.prop(t, r);
- return i === !0 || "boolean" != typeof i && (a = t.getAttributeNode(r)) && a.nodeValue !== !1 ? r.toLowerCase() : n
- }, set: function (t, n, r) {
- var a;
- return n === !1 ? e.removeAttr(t, r) : (a = e.propFix[r] || r, a in t && (t[a] = !0), t.setAttribute(r, r.toLowerCase())), r
- }
- }, f.test(c) && r("jQuery.fn.attr('" + c + "') may use property instead of attribute")), s.call(e, t, a, i))
- }, e.attrHooks.value = {
- get: function (e, t) {
- var n = (e.nodeName || "").toLowerCase();
- return "button" === n ? u.apply(this, arguments) : ("input" !== n && "option" !== n && r("jQuery.fn.attr('value') no longer gets properties"), t in e ? e.value : null)
- }, set: function (e, t) {
- var a = (e.nodeName || "").toLowerCase();
- return "button" === a ? c.apply(this, arguments) : ("input" !== a && "option" !== a && r("jQuery.fn.attr('value', val) no longer sets properties"), e.value = t, n)
- }
- };
- var g, h, v = e.fn.init, m = e.parseJSON, y = /^([^<]*)(<[\w\W]+>)([^>]*)$/;
- e.fn.init = function (t, n, a) {
- var i;
- return t && "string" == typeof t && !e.isPlainObject(n) && (i = y.exec(e.trim(t))) && i[0] && ("<" !== t.charAt(0) && r("$(html) HTML strings must start with '<' character"), i[3] && r("$(html) HTML text after last tag is ignored"), "#" === i[0].charAt(0) && (r("HTML string cannot start with a '#' character"), e.error("JQMIGRATE: Invalid selector string (XSS)")), n && n.context && (n = n.context), e.parseHTML) ? v.call(this, e.parseHTML(i[2], n, !0), n, a) : v.apply(this, arguments)
- }, e.fn.init.prototype = e.fn, e.parseJSON = function (e) {
- return e || null === e ? m.apply(this, arguments) : (r("jQuery.parseJSON requires a valid JSON string"), null)
- }, e.uaMatch = function (e) {
- e = e.toLowerCase();
- var t = /(chrome)[ \/]([\w.]+)/.exec(e) || /(webkit)[ \/]([\w.]+)/.exec(e) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e) || /(msie) ([\w.]+)/.exec(e) || 0 > e.indexOf("compatible") && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e) || [];
- return {browser: t[1] || "", version: t[2] || "0"}
- }, e.browser || (g = e.uaMatch(navigator.userAgent), h = {}, g.browser && (h[g.browser] = !0, h.version = g.version), h.chrome ? h.webkit = !0 : h.webkit && (h.safari = !0), e.browser = h), a(e, "browser", e.browser, "jQuery.browser is deprecated"), e.sub = function () {
- function t(e, n) {
- return new t.fn.init(e, n)
- }
-
- e.extend(!0, t, this), t.superclass = this, t.fn = t.prototype = this(), t.fn.constructor = t, t.sub = this.sub, t.fn.init = function (r, a) {
- return a && a instanceof e && !(a instanceof t) && (a = t(a)), e.fn.init.call(this, r, a, n)
- }, t.fn.init.prototype = t.fn;
- var n = t(document);
- return r("jQuery.sub() is deprecated"), t
- }, e.ajaxSetup({converters: {"text json": e.parseJSON}});
- var b = e.fn.data;
- e.fn.data = function (t) {
- var a, i, o = this[0];
- return !o || "events" !== t || 1 !== arguments.length || (a = e.data(o, t), i = e._data(o, t), a !== n && a !== i || i === n) ? b.apply(this, arguments) : (r("Use of jQuery.fn.data('events') is deprecated"), i)
- };
- var j = /\/(java|ecma)script/i, w = e.fn.andSelf || e.fn.addBack;
- e.fn.andSelf = function () {
- return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"), w.apply(this, arguments)
- }, e.clean || (e.clean = function (t, a, i, o) {
- a = a || document, a = !a.nodeType && a[0] || a, a = a.ownerDocument || a, r("jQuery.clean() is deprecated");
- var s, u, c, l, d = [];
- if (e.merge(d, e.buildFragment(t, a).childNodes), i)for (c = function (e) {
- return !e.type || j.test(e.type) ? o ? o.push(e.parentNode ? e.parentNode.removeChild(e) : e) : i.appendChild(e) : n
- }, s = 0; null != (u = d[s]); s++)e.nodeName(u, "script") && c(u) || (i.appendChild(u), u.getElementsByTagName !== n && (l = e.grep(e.merge([], u.getElementsByTagName("script")), c), d.splice.apply(d, [s + 1, 0].concat(l)), s += l.length));
- return d
- });
- var Q = e.event.add, x = e.event.remove, k = e.event.trigger, N = e.fn.toggle, T = e.fn.live, M = e.fn.die, S = "ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess", C = RegExp("\\b(?:" + S + ")\\b"), H = /(?:^|\s)hover(\.\S+|)\b/, A = function (t) {
- return "string" != typeof t || e.event.special.hover ? t : (H.test(t) && r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"), t && t.replace(H, "mouseenter$1 mouseleave$1"))
- };
- e.event.props && "attrChange" !== e.event.props[0] && e.event.props.unshift("attrChange", "attrName", "relatedNode", "srcElement"), e.event.dispatch && a(e.event, "handle", e.event.dispatch, "jQuery.event.handle is undocumented and deprecated"), e.event.add = function (e, t, n, a, i) {
- e !== document && C.test(t) && r("AJAX events should be attached to document: " + t), Q.call(this, e, A(t || ""), n, a, i)
- }, e.event.remove = function (e, t, n, r, a) {
- x.call(this, e, A(t) || "", n, r, a)
- }, e.fn.error = function () {
- var e = Array.prototype.slice.call(arguments, 0);
- return r("jQuery.fn.error() is deprecated"), e.splice(0, 0, "error"), arguments.length ? this.bind.apply(this, e) : (this.triggerHandler.apply(this, e), this)
- }, e.fn.toggle = function (t, n) {
- if (!e.isFunction(t) || !e.isFunction(n))return N.apply(this, arguments);
- r("jQuery.fn.toggle(handler, handler...) is deprecated");
- var a = arguments, i = t.guid || e.guid++, o = 0, s = function (n) {
- var r = (e._data(this, "lastToggle" + t.guid) || 0) % o;
- return e._data(this, "lastToggle" + t.guid, r + 1), n.preventDefault(), a[r].apply(this, arguments) || !1
- };
- for (s.guid = i; a.length > o;)a[o++].guid = i;
- return this.click(s)
- }, e.fn.live = function (t, n, a) {
- return r("jQuery.fn.live() is deprecated"), T ? T.apply(this, arguments) : (e(this.context).on(t, this.selector, n, a), this)
- }, e.fn.die = function (t, n) {
- return r("jQuery.fn.die() is deprecated"), M ? M.apply(this, arguments) : (e(this.context).off(t, this.selector || "**", n), this)
- }, e.event.trigger = function (e, t, n, a) {
- return n || C.test(e) || r("Global events are undocumented and deprecated"), k.call(this, e, t, n || document, a)
- }, e.each(S.split("|"), function (t, n) {
- e.event.special[n] = {
- setup: function () {
- var t = this;
- return t !== document && (e.event.add(document, n + "." + e.guid, function () {
- e.event.trigger(n, null, t, !0)
- }), e._data(this, n, e.guid++)), !1
- }, teardown: function () {
- return this !== document && e.event.remove(document, n + "." + e._data(this, n)), !1
- }
- }
- })
-}(jQuery, window); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/ngict-component.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/ngict-component.css
deleted file mode 100644
index c1142ae4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/ngict-component.css
+++ /dev/null
@@ -1,467 +0,0 @@
-body {
- color: #333;
- font-size: 14px;
- font-family: "Microsoft yahei", arial;
-!important;
-}
-
-/*fontIcon*/
-[class^="ict-"], [class*=" ict-"] {
- padding-right: 3px;
-}
-
-/*common color*/
-.blue1 {
- background-color: #5b9bd1;
- color: #fff;
-}
-
-.blue1:hover {
- background-color: #487ca9;
- color: #fff;
-}
-
-.blue2 {
- background-color: #57b5e3;
- color: #fff;
-}
-
-.blue2:hover {
- background-color: #43a1cf;
- color: #fff;
-}
-
-.red {
- background-color: #e35b5a;
- color: #fff;
-}
-
-.red:hover {
- background-color: #d45150;
- color: #fff;
-}
-
-.green {
- background-color: #44b6ae;
- color: #fff;
-}
-
-.green:hover {
- background-color: #329d96;
- color: #fff;
-}
-
-.gold {
- background-color: #c0af69;
- color: #fff;
-}
-
-.gold:hover {
- background-color: #ad9a4d;
- color: #fff;
-}
-
-.grey {
- background-color: #e5e5e5;
- color: #333;
-}
-
-.grey:hover {
- background-color: #d8d8d8;
- color: #333;
-}
-
-.dark_grey {
- background-color: #333;
- color: #fff;
-}
-
-.dark_grey:hover {
- background-color: # 101010;
- color: #fff;
-}
-
-.white {
- background-color: #fff;
- border: 1px solid #e4e4e4;
- color: #333;
-}
-
-.white:hover {
- background-color: #e5e5e5;
- color: #333;
-}
-
-/***
-Responsive & Scrollable Tables
-***/
-
-.table-scrollable {
- width: 100%;
- overflow-x: auto;
- overflow-y: hidden;
- border: 1px solid #dddddd;
-}
-
-.table-scrollable > .table {
- width: 100% !important;
- margin: 0 !important;
- margin-bottom: 0;
- background-color: #fff;
-}
-
-.table-scrollable > .table > thead > tr > th,
-.table-scrollable > .table > tbody > tr > th,
-.table-scrollable > .table > tfoot > tr > th,
-.table-scrollable > .table > thead > tr > td,
-.table-scrollable > .table > tbody > tr > td,
-.table-scrollable > .table > tfoot > tr > td {
- white-space: nowrap;
-}
-
-.table-scrollable > .table-bordered {
- border: 0;
-}
-
-.table-scrollable > .table-bordered > thead > tr > th:first-child,
-.table-scrollable > .table-bordered > tbody > tr > th:first-child,
-.table-scrollable > .table-bordered > tfoot > tr > th:first-child,
-.table-scrollable > .table-bordered > thead > tr > td:first-child,
-.table-scrollable > .table-bordered > tbody > tr > td:first-child,
-.table-scrollable > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0;
-}
-
-.table-scrollable > .table-bordered > thead > tr > th:last-child,
-.table-scrollable > .table-bordered > tbody > tr > th:last-child,
-.table-scrollable > .table-bordered > tfoot > tr > th:last-child,
-.table-scrollable > .table-bordered > thead > tr > td:last-child,
-.table-scrollable > .table-bordered > tbody > tr > td:last-child,
-.table-scrollable > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0;
-}
-
-.table-scrollable > .table-bordered > thead > tr:last-child > th,
-.table-scrollable > .table-bordered > tbody > tr:last-child > th,
-.table-scrollable > .table-bordered > tfoot > tr:last-child > th,
-.table-scrollable > .table-bordered > thead > tr:last-child > td,
-.table-scrollable > .table-bordered > tbody > tr:last-child > td,
-.table-scrollable > .table-bordered > tfoot > tr:last-child > td {
- border-bottom: 0;
-}
-
-/*form*/
-.form {
- padding: 0 !important;
-}
-
-.form-body {
- padding: 10px;
-}
-
-.form-actions {
- padding: 20px 10px;
- margin-top: 20px;
- *zoom: 1;
-}
-
-.form-actions.nobg {
- background-color: transparent;
-}
-
-.form-actions.top {
- margin-top: 0;
- margin-bottom: 20px;
- border-top: 0;
- border-bottom: 1px solid #e5e5e5;
-}
-
-.form-actions.fluid {
- padding: 20px 0;
-}
-
-.form-actions.fluid > [class^="col-"] {
- padding-left: 13px;
-}
-
-.form-actions:before,
-.form-actions:after {
- display: table;
- line-height: 0;
- content: "";
-}
-
-.form-actions:after {
- clear: both;
-}
-
-.form-section {
- margin: 30px 0px 25px 0px;
- padding-bottom: 5px;
- border-bottom: 1px solid #eee;
-}
-
-.form .form-section:first-child {
- margin-top: 5px;
-}
-
-.help-inline {
- font-size: 13px;
- color: #737373;
- display: inline-block;
- padding: 5px;
-}
-
-/* left, right aligned form actions */
-.form-actions.right {
- padding-left: 0;
- padding-right: 10px;
- text-align: right;
-}
-
-.form-actions.left {
- padding-left: 10px;
- padding-right: 0;
- text-align: left;
-}
-
-/* Checkbox */
-.form-group .checkbox {
- padding-left: 0;
-}
-
-.checkbox-list > label {
- display: block;
-}
-
-.checkbox-list > label.checkbox-inline {
- display: inline-block;
-}
-
-.checkbox-list > label.checkbox-inline:first-child {
- padding-left: 0;
-}
-
-/* Radios */
-
-.radio-list > label {
- display: block;
-}
-
-.radio-list > label.radio-inline {
- display: inline-block;
-}
-
-.radio-list > label.radio-inline:first-child {
- padding-left: 0;
-}
-
-.form-horizontal .radio-list .radio {
- padding-top: 1px;
-}
-
-.form-horizontal .radio-list > label {
- margin-bottom: 0;
-}
-
-.form-horizontal .radio > span {
- margin-top: 2px;
-}
-
-.help-block {
- margin-top: 5px;
- margin-bottom: 5px;
-}
-
-.form-inline input {
- margin-bottom: 0px !important;
-}
-
-.control-label {
- margin-top: 2px;
-}
-
-.form-control-static {
- font-size: 14px;
- padding-top: 7px;
-}
-
-.control-label .required {
- color: #e02222;
- font-size: 12px;
- padding-left: 2px;
-}
-
-/*TAB*/
-.nav-tabs {
- border: 0;
- font-weight: bold;
-}
-
-.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
- border: 0;
- border-top: 3px solid #F3565D;
-}
-
-.nav-tabs > li > a {
- border-radius: 0;
- font-weight: bold;
-}
-
-.nav-tabs > li > a:hover {
- background-color: #f1f3fa;
- border: 1Px solid #f1f3fa;
-}
-
-/*button*/
-.btn {
- min-width: 80px;
- letter-spacing: 1px;
-}
-
-.btnGroup .btn {
- margin-right: 15px;
-}
-
-.pagination-panel .btn {
- min-width: 4px;
-}
-
-/*radius*/
-.radius_l {
- border-radius: 20px;
-}
-
-.radius_m {
- border-radius: 8px;
-}
-
-.radius_s {
- border-radius: 3px;
-}
-
-/*Progress Bars*/
-.progress {
- border: 0;
- background-image: none !important;
- filter: none !important;
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- box-shadow: none !important;
-
-}
-
-.form-wizard .steps > li.active > a.step .number {
- background-color: #45B6AF
-}
-
-.progress > .progress-bar-success {
- background-color: #45B6AF
-}
-
-/*label*/
-label {
- font-weight: 400;
- margin-bottom: 15px;
-}
-
-/*表单中的组合*/
-.input-group-btn-vertical.fa {
- font-size: 12px;
-}
-
-.spinner {
- width: 60px;
- margin-left: 10px;
- margin-right: 30px;
-}
-
-.spinner input {
- text-align: right;
-}
-
-.input-group-btn-vertical {
- position: relative;
- white-space: nowrap;
- width: 1%;
- vertical-align: middle;
- display: table-cell;
-}
-
-.input-group-btn-vertical > .btn {
- display: block;
- float: none;
- width: 100%;
- max-width: 100%;
- padding: 6px;
- margin-left: -1px;
- position: relative;
- border-radius: 0;
-}
-
-.input-group-btn-vertical > .btn {
- min-width: 20px;
-}
-
-.input-group-btn-vertical > .btn:first-child {
- border-top-right-radius: 4px;
-}
-
-.input-group-btn-vertical > .btn:last-child {
- margin-top: -2px;
- border-bottom-right-radius: 4px;
-}
-
-.input-group-btn-vertical i {
- position: absolute;
- top: -2px;
- left: 5px;
-}
-
-.input-group .form-control {
- height: 26px !important;
-}
-
-/*separator-line*/
-.separator-line {
- height: 1px;
- width: 100%;
- background: #ddd;
- overflow: hidden;
- margin-bottom: 15px;
- margin-top: 6px;
-}
-
-/*link*/
-a {
- color: #428bca;
- text-decoration: none;
-}
-
-/*html滑块组件*/
-input[type="range"] {
- margin-top: 2px;
- background-color: #f0f3f9;
- border: 1px solid #ccd6e8;
- border-radius: 15px;
- width: 400px;
- -webkit-appearance: none;
- height: 15px;
-
-}
-
-input[type="range"]::-webkit-slider-thumb {
- -webkit-appearance: none;
- cursor: pointer;
- top: -5px;
- height: 28px;
- width: 15px;
- transform: translateY(-4px);
- background: none repeat scroll 0 0 #f0f3f9;
- background-color: #9cc2cb;
- border-radius: 20px;
-}
-
-input[type="range"]:focus {
- outline: none;
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/plugins.css b/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/plugins.css
deleted file mode 100644
index b2c98263..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ict/ict-wizard/plugins.css
+++ /dev/null
@@ -1,1532 +0,0 @@
-/**************************
- PLUGIN CSS CUSTOMIZATIONS
-**************************/
-
-/***
-Calendar with full calendar
-***/
-.external-event {
- display: inline-block;
- cursor: move;
- margin-bottom: 5px;
- margin-left: 5px;
-}
-
-.portlet .event-form-title {
- font-size: 14px;
- margin-top: 4px;
- font-weight: 400;
- margin-bottom: 10px;
-}
-
-.portlet.calendar .fc-button {
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
- text-shadow: none;
- border: 0;
- padding: 6px 8px 30px 8px;
- margin-left: 2px;
- border-top-style: none;
- border-bottom-style: none;
- border-right-style: solid;
- border-left-style: solid;
- border-color: #ddd;
- background: transparent;
- color: #fff;
- top: -46px;
-}
-
-.portlet.calendar .fc-header {
- margin-bottom: -21px;
-}
-
-.portlet.calendar .fc-button-prev {
- padding-right: 10px;
- padding-left: 8px;
-}
-
-.portlet.calendar .fc-button-next {
- padding-right: 8px;
- padding-left: 10px;
-}
-
-.portlet.calendar .fc-button.fc-state-active,
-.portlet.calendar .fc-button.fc-state-hover {
- color: #666;
- background-color: #F9F9F9;
-}
-
-.portlet.calendar .fc-button.fc-state-disabled {
- color: #ddd;
-}
-
-.portlet.calendar .fc-text-arrow {
- font-size: 22px;
- font-family: "Courier New", Courier, monospace;
- vertical-align: baseline;
-}
-
-/* begin: event element */
-.portlet.calendar .fc-event {
- border: 0px;
- background-color: #69a4e0;
- color: #fff;
-}
-
-.portlet.calendar .fc-event-inner {
- border: 0px;
-}
-
-.portlet.calendar .fc-event-time {
- float: left;
- text-align: left;
- color: #fff;
- font-size: 13px;
- font-weight: 300;
-}
-
-.portlet.calendar .fc-event-title {
- text-align: left;
- float: left;
- color: #fff;
- font-size: 13px;
- font-weight: 300;
-}
-
-/* end: event element */
-
-.portlet.calendar .fc-header-title h2 {
- font-size: 14px;
- line-height: 20px;
- font-weight: 400;
- color: #111;
-}
-
-.portlet.calendar .fc-widget-header {
- background-image: none;
- filter: none;
- background-color: #eee;
- text-transform: uppercase;
- font-weight: 300;
-}
-
-.portlet.calendar .mobile .fc-button {
- margin-left: 2px;
-}
-
-.portlet.calendar .mobile .fc-button {
- padding: 0px 6px 20px 6px;
- margin-left: 2px;
- border: 0;
- background-color: #ddd;
- background-image: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0;
- color: #000;
- text-shadow: none;
- text-align: center;
-}
-
-.portlet.calendar .mobile .fc-state-hover,
-.portlet.calendar .mobile .fc-state-active {
- background-color: #eee;
-}
-
-.portlet.calendar .mobile .fc-button-prev {
- margin-right: 5px;
- margin-top: -2px;
-}
-
-.portlet.calendar .mobile .fc-button-next {
- margin-right: -0px;
- margin-top: -2px;
-}
-
-.portlet.calendar .mobile .fc-header-space {
- margin: 0px;
- padding: 0px;
- width: 0px;
-}
-
-.portlet.calendar .mobile .fc-state-disabled {
- color: #bbb;
-}
-
-.portlet.calendar .mobile .fc-header-left {
- position: absolute;
- z-index: 10;
-}
-
-.portlet.calendar .mobile .fc-header-right {
- position: absolute;
- z-index: 9;
-}
-
-.portlet.calendar .mobile .fc-header-left .fc-button {
- top: -2px;
-}
-
-.portlet.calendar .mobile .fc-header-right {
- position: relative;
- right: 0;
-}
-
-.portlet.calendar .mobile .fc-header-right .fc-button {
- top: 35px;
-}
-
-.portlet.calendar .mobile .fc-content {
- margin-top: 53px;
-}
-
-/***
-Form wizard
-***/
-
-.form-wizard .progress {
- margin-bottom: 30px;
-}
-
-.form-wizard .steps {
-/ / padding : 10 px 0;
-/ / margin-bottom : 15 px;
-}
-
-.form-wizard .steps {
- background-color: #fff;
- background-image: none;
- filter: none;
- border: 0px;
- box-shadow: none;
-}
-
-.form-wizard .steps li a {
- background-color: #fff;
- background-image: none;
- filter: none;
- border: 0px;
- box-shadow: none;
-}
-
-.form-wizard .steps li a:hover {
- background: none;
-}
-
-.form-wizard .step:hover {
- text-decoration: none;
-}
-
-.form-wizard .step .number {
- background-color: #eee;
- display: inline-block;
- text-align: center !important;
- font-size: 16px;
- font-weight: 300;
- padding: 11px 15px 13px 15px;
- margin-right: 10px;
- height: 45px;
- width: 45px;
- -webkit-border-radius: 50% !important;
- -moz-border-radius: 50% !important;
- border-radius: 50% !important;
-}
-
-.form-wizard .step .desc {
- display: inline-block;
- font-size: 16px;
- font-weight: 300;
-}
-
-.form-wizard .active .step .number {
- background-color: #35aa47;
- color: #fff;
-}
-
-.form-wizard .active .step .desc {
- color: #333;
- font-weight: 400;
-}
-
-.form-wizard .step i {
- display: none;
-}
-
-.form-wizard .done .step .number {
- background-color: #f2ae43;
- color: #fff;
-}
-
-.form-wizard .done .step .desc {
- font-weight: 400;
-}
-
-.form-wizard .done .step i {
- font-size: 12px;
- font-weight: normal;
- color: #999;
- display: inline-block;
-}
-
-@media (min-width: 768px) and (max-width: 1280px) {
- .form-wizard .step .desc {
- margin-top: 10px;
- display: block;
- }
-}
-
-@media (max-width: 768px) {
- .form-wizard .steps > li > a {
- text-align: left;
- }
-}
-
-/***
-Google Maps
-***/
-.gmaps {
- height: 300px;
- width: 100%;
-}
-
-/* important! bootstrap sets max-width on img to 100% which conflicts with google map canvas*/
-.gmaps img {
- max-width: none;
-}
-
-#gmap_static div {
- background-repeat: no-repeat;
- background-position: 50% 50%;
- height: 100%;
- display: block;
- height: 300px;
-}
-
-#gmap_routes_instructions {
- margin-top: 10px;
- margin-bottom: 0px;
-}
-
-/***
-SlimScrollBar plugins css changes
-***/
-.scroller {
- padding: 0px;
- margin: 0px;
- padding-right: 12px;
- overflow: hidden;
-}
-
-.scroller-footer {
- margin-top: 10px;
-}
-
-.scroller-footer:after,
-.scroller-footer:before {
- content: "";
- display: table;
- line-height: 0;
-}
-
-.scroller-footer:after {
- clear: both;
-}
-
-.portlet-body .slimScrollBar {
- margin-right: 0px;
-}
-
-/***
-jqvmap changes
-***/
-.jqvmap-zoomin {
- height: 16px;
- width: 16px;
- background-color: #666;
-}
-
-.jqvmap-zoomout {
- height: 16px;
- width: 16px;
- background-color: #666;
-}
-
-.vmaps {
- position: relative;
- overflow: hidden;
- height: 300px;
-}
-
-/***
-Error state for WYSIWYG Editors
-***/
-.has-error .md-editor,
-.has-error .wysihtml5-sandbox,
-.has-error .cke {
- border: 1px solid #B94A48 !important;
-}
-
-.has-success .md-editor,
-.has-success .wysihtml5-sandbox,
-.has-success .cke {
- border: 1px solid #468847 !important;
-}
-
-/***
-Select2 plugin css changes
-***/
-
-/* enable form validation classes for select2 dropdowns */
-.has-error .select2-container .select2-choice {
- border-color: #B94A48;
-}
-
-.has-error .select2-container.select2-dropdown-open .select2-choice {
- border-color: #e5e5e5;
-}
-
-.has-error .select2-container.select2-dropdown-open .select2-choice > span {
- color: #999999;
-}
-
-.has-success .select2-container .select2-choice {
- border-color: #468847;
-}
-
-.has-success .select2-container.select2-dropdown-open .select2-choice {
- border-color: #e5e5e5;
-}
-
-.has-success .select2-container.select2-dropdown-open .select2-choice > span {
- color: #999999;
-}
-
-/***
-Jansy File Input plugin css changes
-***/
-.fileinput {
- margin-bottom: 0;
-}
-
-/***
-WYSIWYG
-***/
-.wysihtml5-toolbar li {
- margin: 0px;
- height: 29px;
-}
-
-.wysihtml5-toolbar li .dropdown-menu {
- margin-top: 5px;
-}
-
-/***
-CKEditor css changes
-***/
-.cke_bottom,
-.cke_inner,
-.cke_top,
-.cke_reset,
-.cke_dialog_title,
-.cke_dialog_footer,
-.cke_dialog {
- background-image: none !important;
- filter: none;
- border-top: 0;
- border-bottom: 0;
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- box-shadow: none !important;
- text-shadow: none;
-}
-
-.cke_dialog_ui_button,
-.cke_dialog_tab {
- background-image: none !important;
- filter: none;
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- box-shadow: none !important;
- text-shadow: none !important;
-}
-
-.cke_dialog_ui_button:hover,
-.cke_dialog_tab:hover {
- text-decoration: none;
- text-shadow: none;
-}
-
-.cke_dialog_ui_input_text {
- background-image: none !important;
- filter: none;
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- box-shadow: none !important;
-}
-
-.cke_combo_button,
-.cke_button,
-.cke_toolbar,
-.cke_toolgroup {
- background-image: none !important;
- filter: none !important;
- border: 0;
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- box-shadow: none !important;
-}
-
-.cke_button,
-.cke_combo_button,
-.cke_panel_grouptitle,
-.cke_hc.cke_panel_listItem a {
- background-image: none !important;
- filter: none;
- text-shadow: none;
- -webkit-border-radius: 0px !important;
- -moz-border-radius: 0px !important;
- -ms-border-radius: 0px !important;
- -o-border-radius: 0px !important;
-}
-
-.cke_button:hover,
-.cke_combo_button:hover {
- background-color: #ddd;
-}
-
-.cke_toolbar_break {
- background-image: none !important;
- filter: none !important;
- border: 0;
- box-shadow: none !important;
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- -ms-box-shadow: none !important;
- -o-box-shadow: none !important;
-}
-
-/***
-Modify tags input plugin css
-***/
-div.tagsinput {
- min-height: 35px;
- height: auto !important;
- margin: 0;
- padding: 5px 5px 0px 5px;
- overflow: auto;
-}
-
-div.tagsinput span.tag {
- background: #aaa;
- color: #fff;
- border: 0;
- padding: 3px 6px;
- margin-top: 0;
- margin-bottom: 5px;
-}
-
-div.tagsinput input {
- padding: 3px 6px;
- width: 75px !important;
-}
-
-div.tagsinput span.tag a {
- color: #fff;
-}
-
-div.tagsinput .not_valid {
- color: #fff;
- padding: 3px 6px;
- background-color: #e02222;
-}
-
-/***
-Gritter notification modify
-***/
-
-#gritter-notice-wrapper {
- right: 1px !important;
-}
-
-.gritter-close {
- left: auto !important;
- right: 3px !important;
-}
-
-.gritter-title {
- font-family: 'Open Sans';
- font-size: 18px;
- font-weight: 300;
-}
-
-/***
-jQuery UI Sliders(new in v1.1.1)
-***/
-.slider {
- border: 0;
- padding: 0;
- display: block;
- margin: 12px 5px;
- min-height: 11px;
-}
-
-.ui-slider-vertical {
- width: 11px;
-}
-
-.ui-slider-horizontal .ui-slider-handle {
- top: -3px;
-}
-
-.ui-slider-vertical .ui-slider-handle {
- left: -3px;
-}
-
-.ui-slider-vertical,
-.ui-slider-handle {
- filter: none !important;
- background-image: none !important;
-}
-
-/***
-Dropzone css changes(new in v1.1.1)
-***/
-.dropzone {
- -webkit-border-radius: 0px;
- -moz-border-radius: 0px;
- border-radius: 0px;
-}
-
-/***
-Dashboard Charts(new in v1.2.1)
-***/
-.easy-pie-chart,
-.sparkline-chart {
- text-align: center;
-}
-
-.sparkline-chart {
- margin-top: 15px;
- position: relative;
-}
-
-.easy-pie-chart .number {
- font-size: 16px;
- font-weight: 300;
- width: 85px;
- margin: 0 auto;
-}
-
-.sparkline-chart .number {
- width: 100px;
- margin: 0 auto;
- margin-bottom: 10px;
-}
-
-.sparkline-chart .title,
-.easy-pie-chart .title {
- display: block;
- text-align: center;
- color: #333;
- font-weight: 300;
- font-size: 16px;
- margin-top: 5px;
- margin-bottom: 10px;
-}
-
-.sparkline-chart .title:hover,
-.easy-pie-chart .title:hover {
- color: #666;
- text-decoration: none;
-}
-
-.sparkline-chart .title > i,
-.easy-pie-chart .title > i {
- margin-top: 5px;
-}
-
-/***
-Fancy box fix overlay fix(in v1.2.4)
-***/
-.fancybox-overlay {
- z-index: 10000;
-}
-
-/***
-Datatables Plugin(in v1.3)
-***/
-.dataTable {
- width: 100% !important;
- clear: both;
- /*margin-top: 5px;*/
-}
-
-.dataTables_filter label {
- line-height: 32px;
-}
-
-.dataTable .row-details {
- margin-top: 3px;
- display: inline-block;
- cursor: pointer;
- width: 14px;
- height: 14px;
-}
-
-.dataTable .row-details.row-details-close {
- background: url("../img/datatable-row-openclose.png") no-repeat 0 0;
-}
-
-.dataTable .row-details.row-details-open {
- background: url("../img/datatable-row-openclose.png") no-repeat 0 -23px;
-}
-
-.dataTable .details {
- background-color: #eee;
-}
-
-.dataTable .details td,
-.dataTable .details th {
- padding: 4px;
- background: none;
- border: 0;
-}
-
-.dataTable .details tr:hover td,
-.dataTable .details tr:hover th {
- background: none;
-}
-
-.dataTable .details tr:nth-child(odd) td,
-.dataTable .details tr:nth-child(odd) th {
- background-color: #fff;
-}
-
-.dataTable .details tr:nth-child(even) td,
-.dataTable .details tr:nth-child(even) th {
- background-color: #eee;
-}
-
-.dataTable > thead > tr > th.sorting,
-.dataTable > thead > tr > th.sorting_asc,
-.dataTable > thead > tr > th.sorting_desc {
- padding-right: 18px;
-}
-
-.dataTable .table-checkbox {
- width: 8px !important;
-}
-
-@media (max-width: 768px) {
- .dataTables_wrapper .dataTables_length .form-control,
- .dataTables_wrapper .dataTables_filter .form-control {
- display: inline-block;
- }
-
- /* .dataTables_wrapper .dataTables_info {
- top: 17px;
- }*/
- /* .dataTables_wrapper .dataTables_paginate {
- margin-top: -15px;
- }*/
-}
-
-@media (max-width: 480px) {
- .dataTables_wrapper .dataTables_filter .form-control {
- width: 175px !important;
- }
-
- .dataTables_wrapper .dataTables_paginate {
- float: left;
- margin-top: 20px;
- }
-}
-
-.dataTables_processing {
- position: fixed;
- top: 50%;
- left: 50%;
- min-width: 125px;
- margin-left: 0;
- padding: 7px;
- text-align: center;
- color: #333;
- font-size: 13px;
- border: 1px solid #ddd;
- background-color: #eee;
- vertical-align: middle;
- -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
-}
-
-.dataTables_processing span {
- line-height: 15px;
- vertical-align: middle;
-}
-
-.dataTables_empty {
- text-align: center;
-}
-
-/***
-Extended Datatable
-***/
-.dataTables_extended_wrapper {
- position: relative !important;
- clear: both !important;
-}
-
-.dataTables_extended_wrapper .seperator {
- padding: 0 2px;
-}
-
-.dataTables_extended_wrapper .dataTables_paginate,
-.dataTables_extended_wrapper .dataTables_length,
-.dataTables_extended_wrapper .dataTables_info {
- display: inline-block;
- float: none !important;
- padding: 0 !important;
- margin: 0 !important;
- position: static !important;
- font-size: 13px;
-}
-
-@media (max-width: 480px) {
-
- .dataTables_extended_wrapper .dataTables_paginate,
- .dataTables_extended_wrapper .dataTables_length,
- .dataTables_extended_wrapper .dataTables_info {
- display: block;
- margin-bottom: 10px !important;
- }
-
- .dataTables_extended_wrapper .seperator {
- display: none;
- }
-}
-
-.dataTables_extended_wrapper .dataTables_length label {
- margin: 0 !important;
- padding: 0 !important;
- font-size: 13px;
- float: none !important;
- display: inline-block !important;
-}
-
-.table-container .table-actions-wrapper {
- display: none;
-}
-
-/***
-Password Strength(in v1.4)
-***/
-.password-strength .password-verdict {
- display: inline-block;
- margin-top: 6px;
- margin-left: 5px;
-}
-
-.password-strength .progress {
- margin-top: 5px;
- margin-bottom: 0;
-}
-
-.password-strength .progress-bar {
- padding: 2px;
-}
-
-/***
-Uniform disabled checkbox, radio button fix(in v1.4)
-***/
-
-.table .uniform-inline {
- padding: 0;
- margin: 0;
-}
-
-.checker {
- margin-top: -2px !important;
- margin-right: 2px !important;
- display: inline;
-}
-
-.checker input,
-.radio input {
- outline: none !important;
-}
-
-div.checker.disabled span,
-div.checker.disabled.active span {
- background-position: -152px -260px;
-}
-
-div.checker.disabled:hover,
-div.radio.disabled:hover {
- cursor: not-allowed;
-}
-
-div.radio,
-div.checker {
- margin-right: 0;
- margin-left: 3px;
-}
-
-/***
-jQuery Sparkline
-***/
-.jqstooltip {
- width: auto !important;
- height: auto !important;
-}
-
-/***
-jQuery Multi Select
-***/
-
-.ms-container .ms-list {
- border: 1px solid #e5e5e5;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-
-}
-
-.ms-container .ms-optgroup-label {
- font-size: 14px;
-}
-
-.ms-container .ms-selectable li.ms-elem-selectable,
-.ms-container .ms-selection li.ms-elem-selection {
- font-size: 13px;
-}
-
-.ms-container .ms-list.ms-focus {
- border-color: #999999;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-}
-
-.ms-container .ms-selectable li.ms-hover,
-.ms-container .ms-selection li.ms-hover {
- color: #333;
- background-color: #eee;
-}
-
-.ms-container .form-control {
- margin-bottom: 5px;
-}
-
-/***
-Bootstrap Colorpicker
-***/
-.input-group.color .input-group-btn i {
- position: absolute;
- display: block;
- cursor: pointer;
- width: 20px;
- height: 20px;
- right: 6px;
-}
-
-.colorpicker.dropdown-menu {
- padding: 5px;
-}
-
-/* change z-index when opened in modal */
-.modal-open .colorpicker {
- z-index: 10055 !important;
-}
-
-/***
-Bootstrap Datetimepicker
-***/
-
-.datetimepicker table td {
- font-weight: 300 !important;
- font-family: 'Open Sans' !important;
-}
-
-.datetimepicker table th {
- font-family: 'Open Sans' !important;
- font-weight: 400 !important;
-}
-
-.datetimepicker.dropdown-menu {
- padding: 5px;
-}
-
-.datetimepicker .active {
- background-color: #4b8df8 !important;
- background-image: none !important;
- filter: none !important;
-}
-
-.datetimepicker .active:hover {
- background-color: #2678FC !important;
- background-image: none !important;
- filter: none !important;
-
-}
-
-/* change z-index when opened in modal */
-.modal-open .datetimepicker {
- z-index: 10055 !important;
-}
-
-/***
-Bootstrap Time Picker
-***/
-.bootstrap-timepicker-widget table td a {
- padding: 4px 0;
-}
-
-.bootstrap-timepicker-widget input,
-.bootstrap-timepicker-widget input:focus {
- outline: none !important;
- border: 0;
-}
-
-.modal-open .bootstrap-timepicker-widget {
- z-index: 10055 !important;
-}
-
-.bootstrap-timepicker-widget.timepicker-orient-bottom:before,
-.bootstrap-timepicker-widget.timepicker-orient-bottom:after {
- top: auto;
-}
-
-/***
-Bootstrap Datepicker
-***/
-
-.datepicker.dropdown-menu {
- padding: 5px;
-}
-
-.datepicker .selected {
- background-color: #909090 !important;
- background-image: none !important;
- filter: none !important;
-}
-
-.datepicker .active {
- background-color: #4b8df8 !important;
- background-image: none !important;
- filter: none !important;
-}
-
-.datepicker .active:hover {
- background-color: #2678FC !important;
- background-image: none !important;
- filter: none !important;
-}
-
-.datepicker .input-daterange input {
- text-align: left;
-}
-
-/* change z-index when opened in modal */
-.modal-open .datepicker {
- z-index: 10055 !important;
-}
-
-.datepicker table td {
- font-weight: 300 !important;
- font-family: 'Open Sans' !important;
-}
-
-.datepicker table th {
- font-family: 'Open Sans' !important;
- font-weight: 400 !important;
-}
-
-/***
-Clockface
-***/
-
-.modal-open .clockface {
- z-index: 10055 !important;
-}
-
-.clockface .cell .inner.active,
-.clockface .cell .outer.active {
- background-color: #4b8df8 !important;
- background-image: none;
- filter: none;
-}
-
-/***
-Bootstrap Daterangepicker
-***/
-
-.modal-open .daterangepicker {
- z-index: 10055 !important;
-}
-
-.daterangepicker td {
- text-shadow: none;
-}
-
-.daterangepicker td.active {
- background-color: #4b8df8;
- background-image: none;
- filter: none;
-}
-
-.daterangepicker th {
- font-weight: 400;
- font-size: 14px;
-}
-
-.daterangepicker .ranges input[type="text"] {
- width: 70px !important;
- font-size: 11px;
- vertical-align: middle;
-}
-
-.daterangepicker .ranges label {
- font-weight: 300;
- display: block;
-}
-
-.daterangepicker .ranges .btn {
- margin-top: 10px;
-}
-
-.daterangepicker.dropdown-menu {
- padding: 5px;
-}
-
-.daterangepicker .ranges li {
- color: #333;
-}
-
-.daterangepicker .ranges li.active,
-.daterangepicker .ranges li:hover {
- background: #4b8df8 !important;
- border: 1px solid #4b8df8 !important;
- color: #fff;
-}
-
-.daterangepicker .range_inputs input {
- margin-bottom: 0 !important;
-}
-
-/***
-Bootstrap Editable
-***/
-
-.editable-input table,
-.editable-input table th,
-.editable-input table td,
-.editable-input table tr {
- border: 0 !important;
-}
-
-.editable-input .combodate select {
- margin-bottom: 5px;
-}
-
-/***
-FuelUX Spinners
-***/
-
-.spinner-buttons.btn-group-vertical .btn {
- text-align: center;
- margin: 0;
- height: 17px;
- width: 22px;
- padding-left: 6px;
- padding-right: 6px;
- padding-top: 0px;
-}
-
-/***
-NoUI Range Sliders
-***/
-.noUi-handle {
- height: 20px;
- width: 20px;
- margin: -3px 0 0 -20px;
-}
-
-.noUi-base {
- height: 16px;
-}
-
-.noUi-connect {
- background: #ffb848;
-}
-
-/***
-Toastr Notifications
-***/
-.toast {
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- box-shadow: none !important;
-}
-
-.toast {
- background-color: #030303;
-}
-
-.toast-success {
- background-color: #51a351;
-}
-
-.toast-error {
- background-color: #bd362f;
-}
-
-.toast-info {
- background-color: #2f96b4;
-}
-
-.toast-warning {
- background-color: #f89406;
-}
-
-.toast .toast-close-button {
- display: inline-block;
- margin-top: 0px;
- margin-right: 0px;
- text-indent: -100000px;
- width: 11px;
- height: 16px;
- background-repeat: no-repeat !important;
- background-image: url("../img/portlet-remove-icon-white.png") !important;
-}
-
-.toast-top-center {
- top: 12px;
- margin: 0 auto;
- left: 50%;
- margin-left: -150px;
-}
-
-.toast-bottom-center {
- bottom: 12px;
- margin: 0 auto;
- left: 50%;
- margin-left: -150px;
-}
-
-/***
-Google reCaptcha
-***/
-.form-recaptcha-img {
- margin-bottom: 10px;
- clear: both;
- border: 1px solid #e5e5e5;
- padding: 5px;
-}
-
-iframe[src="about:blank"] {
- display: none;
-}
-
-/***
-Bootstrap Markdown
-***/
-.md-input {
- padding: 5px !important;
- border-bottom: 0 !important;
-}
-
-.md-editor .btn-toolbar {
- margin-left: 0px;
-}
-
-.md-editor.active {
- border: 1px solid #999999;
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- box-shadow: none !important;
-}
-
-/***
-Bootstrap Datepaginator
-***/
-.datepaginator a {
- font-family: 'Open Sans';
- font-size: 13px;
- font-weight: 300;
-}
-
-.datepicker .today {
- background-image: none !important;
- filter: none !important;
-}
-
-#dp-calendar {
- right: 4px !important;
-}
-
-/***
-Font Awesome 4.0 Demo
-***/
-.fa-item {
- font-size: 14px;
- padding: 10px 10px 10px 20px;
-}
-
-.fa-item i {
- font-size: 16px;
- display: inline-block;
- width: 20px;
-}
-
-.fa-item:hover {
- cursor: pointer;
- background: #eee;
-}
-
-/***
-Bootstrap Modal
-***/
-/* fix: content shifting to the right on modal open */
-.modal-open.page-overflow .page-container,
-.modal-open.page-overflow .page-container .navbar-fixed-top,
-.modal-open.page-overflow .page-container .navbar-fixed-bottom,
-.modal-open.page-overflow .modal-scrollable {
- overflow-y: auto !important;
-}
-
-.modal-scrollable {
- overflow: hidden !important;
-}
-
-/***
-jQuery Notific8 Plugin
-***/
-
-.jquery-notific8-message {
- font-size: 13px;
-}
-
-[class*="jquery-notific8"],
-[class*="jquery-notific8"]:after,
-[class*="jquery-notific8"]:before {
- -webkit-box-sizing: content-box;
- -moz-box-sizing: content-box;
- box-sizing: content-box;
-}
-
-.right .jquery-notific8-close-sticky span,
-.left .jquery-notific8-close-sticky span {
- font-size: 10px;
-}
-
-.jquery-notific8-heading {
- font-weight: 300;
- font-size: 16px;
-}
-
-/***
-jQuery File Upload
-***/
-
-.blueimp-gallery .close {
- background-image: url("../img/portlet-remove-icon-white.png") !important;
- margin-top: -2px;
-}
-
-.blueimp-gallery .prev,
-.blueimp-gallery .next {
- border-radius: 23px !important;
-}
-
-/***
-Bootstrap Switch
-***/
-
-.has-switch {
- border-color: #e5e5e5;
-}
-
-.has-switch:focus {
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-/***
-Jstree
-***/
-
-.jstree-default .jstree-clicked {
- border: 0;
- background-color: #e1e1e1;
- box-shadow: none;
-}
-
-.jstree-default .jstree-hovered {
- border: 0;
- background-color: #eee;
- box-shadow: none;
-}
-
-.jstree-default .jstree-wholerow-clicked,
-.jstree-wholerow .jstree-wholerow-clicked {
- background: none;
- border: 0;
- background-color: #e1e1e1;
- box-shadow: none;
-}
-
-.jstree-default .jstree-wholerow-hovered,
-.jstree-wholerow .jstree-wholerow-hovered {
- border: 0;
- background-color: #eee;
- box-shadow: none;
-}
-
-.jstree-icon.icon-lg {
- margin-top: 1px;
-}
-
-.jstree-open > .jstree-anchor > .fa-folder:before {
- margin-left: 2px;
- content: "\f07c";
-}
-
-.jstree-default.jstree-rtl .jstree-last {
- background: transparent;
- background-repeat: no-repeat;
-}
-
-.vakata-context,
-.vakata-context ul {
- padding: 0;
- min-width: 125px;
- background-color: #ffffff;
- -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
- font-size: 14px;
- font-family: "Segoe UI", Helvetica, Arial, sans-serif;
- border: 1px solid #ddd;
-}
-
-.vakata-context li a {
- padding: 0 10px;
-}
-
-.vakata-context .vakata-context-hover > a,
-.vakata-context li a:hover {
- background-color: #eee;
- color: #333;
- box-shadow: none;
-}
-
-.vakata-context li a span,
-.vakata-context li a ins {
- display: none;
-}
-
-.vakata-context .vakata-context-separator a,
-.vakata-context-rtl .vakata-context-separator a {
- margin: 0;
-}
-
-.jstree-rename-input {
- background-color: #ffffff !important;
- border: 1px solid #e5e5e5 !important;
- outline: none !important;
- padding: 2px 6px !important;
- margin-right: -4px !important;
-}
-
-/***
-Bootstrap Select
-***/
-
-.bootstrap-select .btn {
- border-color: #e5e5e5;
-}
-
-.bootstrap-select.open .btn1 {
- border-color: #999999;
-}
-
-.bootstrap-select.open.dropup .btn1 {
- border-color: #999999;
-}
-
-.bootstrap-select .btn:focus {
- outline: none !important;
- outline-offset: 0;
-}
-
-.bootstrap-select.btn-group .dropdown-menu {
- margin-top: 1px;
-}
-
-.bootstrap-select.btn-group .dropdown-menu > li > dt > .text {
- font-weight: 600;
- font-family: 'Open Sans';
- font-size: 14px;
-}
-
-.bootstrap-select.btn-group .dropdown-menu .text-muted {
- color: #999 !important;
-}
-
-.bootstrap-select .caret {
- border: 0;
- width: auto;
- height: auto;
- margin-top: -10px !important;
-}
-
-.bootstrap-select .caret:before {
- content: "\f107";
- display: inline-block;
- border: 0;
- font-family: FontAwesome;
- font-style: normal;
- font-weight: normal;
-}
-
-.bootstrap-select .selected i {
- color: #aaa;
-}
-
-/***
-Pace - Page Progress
-***/
-
-.pace .pace-progress {
- z-index: 10000;
- top: 40px;
- height: 2px;
-}
-
-.pace .pace-progress-inner {
- box-shadow: none;
-}
-
-.pace .pace-activity {
- top: 44px;
- right: 22px;
- border-radius: 10px !important;
-}
-
-@media (max-width: 480px) {
-
- .page-header-fixed .pace .pace-progress {
- top: 82px;
- }
-
- .page-header-fixed .pace .pace-activity {
- top: 88px;
- right: 15px;
- }
-
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/css/jquery.fileupload.css b/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/css/jquery.fileupload.css
deleted file mode 100644
index 7508566a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/css/jquery.fileupload.css
+++ /dev/null
@@ -1,37 +0,0 @@
-@charset "UTF-8";
-/*
- * jQuery File Upload Plugin CSS
- * https://github.com/blueimp/jQuery-File-Upload
- *
- * Copyright 2013, Sebastian Tschan
- * https://blueimp.net
- *
- * Licensed under the MIT license:
- * http://www.opensource.org/licenses/MIT
- */
-
-.fileinput-button {
- position: relative;
- overflow: hidden;
- display: inline-block;
-}
-.fileinput-button input {
- position: absolute;
- top: 0;
- right: 0;
- margin: 0;
- opacity: 0;
- -ms-filter: 'alpha(opacity=0)';
- font-size: 200px;
- direction: ltr;
- cursor: pointer;
-}
-
-/* Fixes for IE < 8 */
-@media screen\9 {
- .fileinput-button input {
- filter: alpha(opacity=0);
- font-size: 100%;
- height: 100%;
- }
-}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/img/loading.gif b/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/img/loading.gif
deleted file mode 100644
index 90f28cbd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/img/loading.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/img/progressbar.gif b/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/img/progressbar.gif
deleted file mode 100644
index fbcce6bc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/img/progressbar.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/js/jquery.fileupload.js b/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/js/jquery.fileupload.js
deleted file mode 100644
index 68d1c4a8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/js/jquery.fileupload.js
+++ /dev/null
@@ -1,1477 +0,0 @@
-/*
- * jQuery File Upload Plugin
- * https://github.com/blueimp/jQuery-File-Upload
- *
- * Copyright 2010, Sebastian Tschan
- * https://blueimp.net
- *
- * Licensed under the MIT license:
- * http://www.opensource.org/licenses/MIT
- */
-
-/* jshint nomen:false */
-/* global define, require, window, document, location, Blob, FormData */
-
-(function (factory) {
- 'use strict';
- if (typeof define === 'function' && define.amd) {
- // Register as an anonymous AMD module:
- define([
- 'jquery',
- 'jquery.ui.widget'
- ], factory);
- } else if (typeof exports === 'object') {
- // Node/CommonJS:
- factory(
- require('jquery'),
- require('./vendor/jquery.ui.widget')
- );
- } else {
- // Browser globals:
- factory(window.jQuery);
- }
-}(function ($) {
- 'use strict';
-
- // Detect file input support, based on
- // http://viljamis.com/blog/2012/file-upload-support-on-mobile/
- $.support.fileInput = !(new RegExp(
- // Handle devices which give false positives for the feature detection:
- '(Android (1\\.[0156]|2\\.[01]))' +
- '|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)' +
- '|(w(eb)?OSBrowser)|(webOS)' +
- '|(Kindle/(1\\.0|2\\.[05]|3\\.0))'
- ).test(window.navigator.userAgent) ||
- // Feature detection for all other devices:
- $('<input type="file">').prop('disabled'));
-
- // The FileReader API is not actually used, but works as feature detection,
- // as some Safari versions (5?) support XHR file uploads via the FormData API,
- // but not non-multipart XHR file uploads.
- // window.XMLHttpRequestUpload is not available on IE10, so we check for
- // window.ProgressEvent instead to detect XHR2 file upload capability:
- $.support.xhrFileUpload = !!(window.ProgressEvent && window.FileReader);
- $.support.xhrFormDataFileUpload = !!window.FormData;
-
- // Detect support for Blob slicing (required for chunked uploads):
- $.support.blobSlice = window.Blob && (Blob.prototype.slice ||
- Blob.prototype.webkitSlice || Blob.prototype.mozSlice);
-
- // Helper function to create drag handlers for dragover/dragenter/dragleave:
- function getDragHandler(type) {
- var isDragOver = type === 'dragover';
- return function (e) {
- e.dataTransfer = e.originalEvent && e.originalEvent.dataTransfer;
- var dataTransfer = e.dataTransfer;
- if (dataTransfer && $.inArray('Files', dataTransfer.types) !== -1 &&
- this._trigger(
- type,
- $.Event(type, {delegatedEvent: e})
- ) !== false) {
- e.preventDefault();
- if (isDragOver) {
- dataTransfer.dropEffect = 'copy';
- }
- }
- };
- }
-
- // The fileupload widget listens for change events on file input fields defined
- // via fileInput setting and paste or drop events of the given dropZone.
- // In addition to the default jQuery Widget methods, the fileupload widget
- // exposes the "add" and "send" methods, to add or directly send files using
- // the fileupload API.
- // By default, files added via file input selection, paste, drag & drop or
- // "add" method are uploaded immediately, but it is possible to override
- // the "add" callback option to queue file uploads.
- $.widget('blueimp.fileupload', {
-
- options: {
- // The drop target element(s), by the default the complete document.
- // Set to null to disable drag & drop support:
- dropZone: $(document),
- // The paste target element(s), by the default undefined.
- // Set to a DOM node or jQuery object to enable file pasting:
- pasteZone: undefined,
- // The file input field(s), that are listened to for change events.
- // If undefined, it is set to the file input fields inside
- // of the widget element on plugin initialization.
- // Set to null to disable the change listener.
- fileInput: undefined,
- // By default, the file input field is replaced with a clone after
- // each input field change event. This is required for iframe transport
- // queues and allows change events to be fired for the same file
- // selection, but can be disabled by setting the following option to false:
- replaceFileInput: true,
- // The parameter name for the file form data (the request argument name).
- // If undefined or empty, the name property of the file input field is
- // used, or "files[]" if the file input name property is also empty,
- // can be a string or an array of strings:
- paramName: undefined,
- // By default, each file of a selection is uploaded using an individual
- // request for XHR type uploads. Set to false to upload file
- // selections in one request each:
- singleFileUploads: true,
- // To limit the number of files uploaded with one XHR request,
- // set the following option to an integer greater than 0:
- limitMultiFileUploads: undefined,
- // The following option limits the number of files uploaded with one
- // XHR request to keep the request size under or equal to the defined
- // limit in bytes:
- limitMultiFileUploadSize: undefined,
- // Multipart file uploads add a number of bytes to each uploaded file,
- // therefore the following option adds an overhead for each file used
- // in the limitMultiFileUploadSize configuration:
- limitMultiFileUploadSizeOverhead: 512,
- // Set the following option to true to issue all file upload requests
- // in a sequential order:
- sequentialUploads: false,
- // To limit the number of concurrent uploads,
- // set the following option to an integer greater than 0:
- limitConcurrentUploads: undefined,
- // Set the following option to true to force iframe transport uploads:
- forceIframeTransport: false,
- // Set the following option to the location of a redirect url on the
- // origin server, for cross-domain iframe transport uploads:
- redirect: undefined,
- // The parameter name for the redirect url, sent as part of the form
- // data and set to 'redirect' if this option is empty:
- redirectParamName: undefined,
- // Set the following option to the location of a postMessage window,
- // to enable postMessage transport uploads:
- postMessage: undefined,
- // By default, XHR file uploads are sent as multipart/form-data.
- // The iframe transport is always using multipart/form-data.
- // Set to false to enable non-multipart XHR uploads:
- multipart: true,
- // To upload large files in smaller chunks, set the following option
- // to a preferred maximum chunk size. If set to 0, null or undefined,
- // or the browser does not support the required Blob API, files will
- // be uploaded as a whole.
- maxChunkSize: undefined,
- // When a non-multipart upload or a chunked multipart upload has been
- // aborted, this option can be used to resume the upload by setting
- // it to the size of the already uploaded bytes. This option is most
- // useful when modifying the options object inside of the "add" or
- // "send" callbacks, as the options are cloned for each file upload.
- uploadedBytes: undefined,
- // By default, failed (abort or error) file uploads are removed from the
- // global progress calculation. Set the following option to false to
- // prevent recalculating the global progress data:
- recalculateProgress: true,
- // Interval in milliseconds to calculate and trigger progress events:
- progressInterval: 100,
- // Interval in milliseconds to calculate progress bitrate:
- bitrateInterval: 500,
- // By default, uploads are started automatically when adding files:
- autoUpload: true,
-
- // Error and info messages:
- messages: {
- uploadedBytes: 'Uploaded bytes exceed file size'
- },
-
- // Translation function, gets the message key to be translated
- // and an object with context specific data as arguments:
- i18n: function (message, context) {
- message = this.messages[message] || message.toString();
- if (context) {
- $.each(context, function (key, value) {
- message = message.replace('{' + key + '}', value);
- });
- }
- return message;
- },
-
- // Additional form data to be sent along with the file uploads can be set
- // using this option, which accepts an array of objects with name and
- // value properties, a function returning such an array, a FormData
- // object (for XHR file uploads), or a simple object.
- // The form of the first fileInput is given as parameter to the function:
- formData: function (form) {
- return form.serializeArray();
- },
-
- // The add callback is invoked as soon as files are added to the fileupload
- // widget (via file input selection, drag & drop, paste or add API call).
- // If the singleFileUploads option is enabled, this callback will be
- // called once for each file in the selection for XHR file uploads, else
- // once for each file selection.
- //
- // The upload starts when the submit method is invoked on the data parameter.
- // The data object contains a files property holding the added files
- // and allows you to override plugin options as well as define ajax settings.
- //
- // Listeners for this callback can also be bound the following way:
- // .bind('fileuploadadd', func);
- //
- // data.submit() returns a Promise object and allows to attach additional
- // handlers using jQuery's Deferred callbacks:
- // data.submit().done(func).fail(func).always(func);
- add: function (e, data) {
- if (e.isDefaultPrevented()) {
- return false;
- }
- if (data.autoUpload || (data.autoUpload !== false &&
- $(this).fileupload('option', 'autoUpload'))) {
- data.process().done(function () {
- data.submit();
- });
- }
- },
-
- // Other callbacks:
-
- // Callback for the submit event of each file upload:
- // submit: function (e, data) {}, // .bind('fileuploadsubmit', func);
-
- // Callback for the start of each file upload request:
- // send: function (e, data) {}, // .bind('fileuploadsend', func);
-
- // Callback for successful uploads:
- // done: function (e, data) {}, // .bind('fileuploaddone', func);
-
- // Callback for failed (abort or error) uploads:
- // fail: function (e, data) {}, // .bind('fileuploadfail', func);
-
- // Callback for completed (success, abort or error) requests:
- // always: function (e, data) {}, // .bind('fileuploadalways', func);
-
- // Callback for upload progress events:
- // progress: function (e, data) {}, // .bind('fileuploadprogress', func);
-
- // Callback for global upload progress events:
- // progressall: function (e, data) {}, // .bind('fileuploadprogressall', func);
-
- // Callback for uploads start, equivalent to the global ajaxStart event:
- // start: function (e) {}, // .bind('fileuploadstart', func);
-
- // Callback for uploads stop, equivalent to the global ajaxStop event:
- // stop: function (e) {}, // .bind('fileuploadstop', func);
-
- // Callback for change events of the fileInput(s):
- // change: function (e, data) {}, // .bind('fileuploadchange', func);
-
- // Callback for paste events to the pasteZone(s):
- // paste: function (e, data) {}, // .bind('fileuploadpaste', func);
-
- // Callback for drop events of the dropZone(s):
- // drop: function (e, data) {}, // .bind('fileuploaddrop', func);
-
- // Callback for dragover events of the dropZone(s):
- // dragover: function (e) {}, // .bind('fileuploaddragover', func);
-
- // Callback for the start of each chunk upload request:
- // chunksend: function (e, data) {}, // .bind('fileuploadchunksend', func);
-
- // Callback for successful chunk uploads:
- // chunkdone: function (e, data) {}, // .bind('fileuploadchunkdone', func);
-
- // Callback for failed (abort or error) chunk uploads:
- // chunkfail: function (e, data) {}, // .bind('fileuploadchunkfail', func);
-
- // Callback for completed (success, abort or error) chunk upload requests:
- // chunkalways: function (e, data) {}, // .bind('fileuploadchunkalways', func);
-
- // The plugin options are used as settings object for the ajax calls.
- // The following are jQuery ajax settings required for the file uploads:
- processData: false,
- contentType: false,
- cache: false,
- timeout: 0
- },
-
- // A list of options that require reinitializing event listeners and/or
- // special initialization code:
- _specialOptions: [
- 'fileInput',
- 'dropZone',
- 'pasteZone',
- 'multipart',
- 'forceIframeTransport'
- ],
-
- _blobSlice: $.support.blobSlice && function () {
- var slice = this.slice || this.webkitSlice || this.mozSlice;
- return slice.apply(this, arguments);
- },
-
- _BitrateTimer: function () {
- this.timestamp = ((Date.now) ? Date.now() : (new Date()).getTime());
- this.loaded = 0;
- this.bitrate = 0;
- this.getBitrate = function (now, loaded, interval) {
- var timeDiff = now - this.timestamp;
- if (!this.bitrate || !interval || timeDiff > interval) {
- this.bitrate = (loaded - this.loaded) * (1000 / timeDiff) * 8;
- this.loaded = loaded;
- this.timestamp = now;
- }
- return this.bitrate;
- };
- },
-
- _isXHRUpload: function (options) {
- return !options.forceIframeTransport &&
- ((!options.multipart && $.support.xhrFileUpload) ||
- $.support.xhrFormDataFileUpload);
- },
-
- _getFormData: function (options) {
- var formData;
- if ($.type(options.formData) === 'function') {
- return options.formData(options.form);
- }
- if ($.isArray(options.formData)) {
- return options.formData;
- }
- if ($.type(options.formData) === 'object') {
- formData = [];
- $.each(options.formData, function (name, value) {
- formData.push({name: name, value: value});
- });
- return formData;
- }
- return [];
- },
-
- _getTotal: function (files) {
- var total = 0;
- $.each(files, function (index, file) {
- total += file.size || 1;
- });
- return total;
- },
-
- _initProgressObject: function (obj) {
- var progress = {
- loaded: 0,
- total: 0,
- bitrate: 0
- };
- if (obj._progress) {
- $.extend(obj._progress, progress);
- } else {
- obj._progress = progress;
- }
- },
-
- _initResponseObject: function (obj) {
- var prop;
- if (obj._response) {
- for (prop in obj._response) {
- if (obj._response.hasOwnProperty(prop)) {
- delete obj._response[prop];
- }
- }
- } else {
- obj._response = {};
- }
- },
-
- _onProgress: function (e, data) {
- if (e.lengthComputable) {
- var now = ((Date.now) ? Date.now() : (new Date()).getTime()),
- loaded;
- if (data._time && data.progressInterval &&
- (now - data._time < data.progressInterval) &&
- e.loaded !== e.total) {
- return;
- }
- data._time = now;
- loaded = Math.floor(
- e.loaded / e.total * (data.chunkSize || data._progress.total)
- ) + (data.uploadedBytes || 0);
- // Add the difference from the previously loaded state
- // to the global loaded counter:
- this._progress.loaded += (loaded - data._progress.loaded);
- this._progress.bitrate = this._bitrateTimer.getBitrate(
- now,
- this._progress.loaded,
- data.bitrateInterval
- );
- data._progress.loaded = data.loaded = loaded;
- data._progress.bitrate = data.bitrate = data._bitrateTimer.getBitrate(
- now,
- loaded,
- data.bitrateInterval
- );
- // Trigger a custom progress event with a total data property set
- // to the file size(s) of the current upload and a loaded data
- // property calculated accordingly:
- this._trigger(
- 'progress',
- $.Event('progress', {delegatedEvent: e}),
- data
- );
- // Trigger a global progress event for all current file uploads,
- // including ajax calls queued for sequential file uploads:
- this._trigger(
- 'progressall',
- $.Event('progressall', {delegatedEvent: e}),
- this._progress
- );
- }
- },
-
- _initProgressListener: function (options) {
- var that = this,
- xhr = options.xhr ? options.xhr() : $.ajaxSettings.xhr();
- // Accesss to the native XHR object is required to add event listeners
- // for the upload progress event:
- if (xhr.upload) {
- $(xhr.upload).bind('progress', function (e) {
- var oe = e.originalEvent;
- // Make sure the progress event properties get copied over:
- e.lengthComputable = oe.lengthComputable;
- e.loaded = oe.loaded;
- e.total = oe.total;
- that._onProgress(e, options);
- });
- options.xhr = function () {
- return xhr;
- };
- }
- },
-
- _isInstanceOf: function (type, obj) {
- // Cross-frame instanceof check
- return Object.prototype.toString.call(obj) === '[object ' + type + ']';
- },
-
- _initXHRData: function (options) {
- var that = this,
- formData,
- file = options.files[0],
- // Ignore non-multipart setting if not supported:
- multipart = options.multipart || !$.support.xhrFileUpload,
- paramName = $.type(options.paramName) === 'array' ?
- options.paramName[0] : options.paramName;
- options.headers = $.extend({}, options.headers);
- if (options.contentRange) {
- options.headers['Content-Range'] = options.contentRange;
- }
- if (!multipart || options.blob || !this._isInstanceOf('File', file)) {
- options.headers['Content-Disposition'] = 'attachment; filename="' +
- encodeURI(file.name) + '"';
- }
- if (!multipart) {
- options.contentType = file.type || 'application/octet-stream';
- options.data = options.blob || file;
- } else if ($.support.xhrFormDataFileUpload) {
- if (options.postMessage) {
- // window.postMessage does not allow sending FormData
- // objects, so we just add the File/Blob objects to
- // the formData array and let the postMessage window
- // create the FormData object out of this array:
- formData = this._getFormData(options);
- if (options.blob) {
- formData.push({
- name: paramName,
- value: options.blob
- });
- } else {
- $.each(options.files, function (index, file) {
- formData.push({
- name: ($.type(options.paramName) === 'array' &&
- options.paramName[index]) || paramName,
- value: file
- });
- });
- }
- } else {
- if (that._isInstanceOf('FormData', options.formData)) {
- formData = options.formData;
- } else {
- formData = new FormData();
- $.each(this._getFormData(options), function (index, field) {
- formData.append(field.name, field.value);
- });
- }
- if (options.blob) {
- formData.append(paramName, options.blob, file.name);
- } else {
- $.each(options.files, function (index, file) {
- // This check allows the tests to run with
- // dummy objects:
- if (that._isInstanceOf('File', file) ||
- that._isInstanceOf('Blob', file)) {
- formData.append(
- ($.type(options.paramName) === 'array' &&
- options.paramName[index]) || paramName,
- file,
- file.uploadName || file.name
- );
- }
- });
- }
- }
- options.data = formData;
- }
- // Blob reference is not needed anymore, free memory:
- options.blob = null;
- },
-
- _initIframeSettings: function (options) {
- var targetHost = $('<a></a>').prop('href', options.url).prop('host');
- // Setting the dataType to iframe enables the iframe transport:
- options.dataType = 'iframe ' + (options.dataType || '');
- // The iframe transport accepts a serialized array as form data:
- options.formData = this._getFormData(options);
- // Add redirect url to form data on cross-domain uploads:
- if (options.redirect && targetHost && targetHost !== location.host) {
- options.formData.push({
- name: options.redirectParamName || 'redirect',
- value: options.redirect
- });
- }
- },
-
- _initDataSettings: function (options) {
- if (this._isXHRUpload(options)) {
- if (!this._chunkedUpload(options, true)) {
- if (!options.data) {
- this._initXHRData(options);
- }
- this._initProgressListener(options);
- }
- if (options.postMessage) {
- // Setting the dataType to postmessage enables the
- // postMessage transport:
- options.dataType = 'postmessage ' + (options.dataType || '');
- }
- } else {
- this._initIframeSettings(options);
- }
- },
-
- _getParamName: function (options) {
- var fileInput = $(options.fileInput),
- paramName = options.paramName;
- if (!paramName) {
- paramName = [];
- fileInput.each(function () {
- var input = $(this),
- name = input.prop('name') || 'files[]',
- i = (input.prop('files') || [1]).length;
- while (i) {
- paramName.push(name);
- i -= 1;
- }
- });
- if (!paramName.length) {
- paramName = [fileInput.prop('name') || 'files[]'];
- }
- } else if (!$.isArray(paramName)) {
- paramName = [paramName];
- }
- return paramName;
- },
-
- _initFormSettings: function (options) {
- // Retrieve missing options from the input field and the
- // associated form, if available:
- if (!options.form || !options.form.length) {
- options.form = $(options.fileInput.prop('form'));
- // If the given file input doesn't have an associated form,
- // use the default widget file input's form:
- if (!options.form.length) {
- options.form = $(this.options.fileInput.prop('form'));
- }
- }
- options.paramName = this._getParamName(options);
- if (!options.url) {
- options.url = options.form.prop('action') || location.href;
- }
- // The HTTP request method must be "POST" or "PUT":
- options.type = (options.type ||
- ($.type(options.form.prop('method')) === 'string' &&
- options.form.prop('method')) || ''
- ).toUpperCase();
- if (options.type !== 'POST' && options.type !== 'PUT' &&
- options.type !== 'PATCH') {
- options.type = 'POST';
- }
- if (!options.formAcceptCharset) {
- options.formAcceptCharset = options.form.attr('accept-charset');
- }
- },
-
- _getAJAXSettings: function (data) {
- var options = $.extend({}, this.options, data);
- this._initFormSettings(options);
- this._initDataSettings(options);
- return options;
- },
-
- // jQuery 1.6 doesn't provide .state(),
- // while jQuery 1.8+ removed .isRejected() and .isResolved():
- _getDeferredState: function (deferred) {
- if (deferred.state) {
- return deferred.state();
- }
- if (deferred.isResolved()) {
- return 'resolved';
- }
- if (deferred.isRejected()) {
- return 'rejected';
- }
- return 'pending';
- },
-
- // Maps jqXHR callbacks to the equivalent
- // methods of the given Promise object:
- _enhancePromise: function (promise) {
- promise.success = promise.done;
- promise.error = promise.fail;
- promise.complete = promise.always;
- return promise;
- },
-
- // Creates and returns a Promise object enhanced with
- // the jqXHR methods abort, success, error and complete:
- _getXHRPromise: function (resolveOrReject, context, args) {
- var dfd = $.Deferred(),
- promise = dfd.promise();
- context = context || this.options.context || promise;
- if (resolveOrReject === true) {
- dfd.resolveWith(context, args);
- } else if (resolveOrReject === false) {
- dfd.rejectWith(context, args);
- }
- promise.abort = dfd.promise;
- return this._enhancePromise(promise);
- },
-
- // Adds convenience methods to the data callback argument:
- _addConvenienceMethods: function (e, data) {
- var that = this,
- getPromise = function (args) {
- return $.Deferred().resolveWith(that, args).promise();
- };
- data.process = function (resolveFunc, rejectFunc) {
- if (resolveFunc || rejectFunc) {
- data._processQueue = this._processQueue =
- (this._processQueue || getPromise([this])).pipe(
- function () {
- if (data.errorThrown) {
- return $.Deferred()
- .rejectWith(that, [data]).promise();
- }
- return getPromise(arguments);
- }
- ).pipe(resolveFunc, rejectFunc);
- }
- return this._processQueue || getPromise([this]);
- };
- data.submit = function () {
- if (this.state() !== 'pending') {
- data.jqXHR = this.jqXHR =
- (that._trigger(
- 'submit',
- $.Event('submit', {delegatedEvent: e}),
- this
- ) !== false) && that._onSend(e, this);
- }
- return this.jqXHR || that._getXHRPromise();
- };
- data.abort = function () {
- if (this.jqXHR) {
- return this.jqXHR.abort();
- }
- this.errorThrown = 'abort';
- that._trigger('fail', null, this);
- return that._getXHRPromise(false);
- };
- data.state = function () {
- if (this.jqXHR) {
- return that._getDeferredState(this.jqXHR);
- }
- if (this._processQueue) {
- return that._getDeferredState(this._processQueue);
- }
- };
- data.processing = function () {
- return !this.jqXHR && this._processQueue && that
- ._getDeferredState(this._processQueue) === 'pending';
- };
- data.progress = function () {
- return this._progress;
- };
- data.response = function () {
- return this._response;
- };
- },
-
- // Parses the Range header from the server response
- // and returns the uploaded bytes:
- _getUploadedBytes: function (jqXHR) {
- var range = jqXHR.getResponseHeader('Range'),
- parts = range && range.split('-'),
- upperBytesPos = parts && parts.length > 1 &&
- parseInt(parts[1], 10);
- return upperBytesPos && upperBytesPos + 1;
- },
-
- // Uploads a file in multiple, sequential requests
- // by splitting the file up in multiple blob chunks.
- // If the second parameter is true, only tests if the file
- // should be uploaded in chunks, but does not invoke any
- // upload requests:
- _chunkedUpload: function (options, testOnly) {
- options.uploadedBytes = options.uploadedBytes || 0;
- var that = this,
- file = options.files[0],
- fs = file.size,
- ub = options.uploadedBytes,
- mcs = options.maxChunkSize || fs,
- slice = this._blobSlice,
- dfd = $.Deferred(),
- promise = dfd.promise(),
- jqXHR,
- upload;
- if (!(this._isXHRUpload(options) && slice && (ub || mcs < fs)) ||
- options.data) {
- return false;
- }
- if (testOnly) {
- return true;
- }
- if (ub >= fs) {
- file.error = options.i18n('uploadedBytes');
- return this._getXHRPromise(
- false,
- options.context,
- [null, 'error', file.error]
- );
- }
- // The chunk upload method:
- upload = function () {
- // Clone the options object for each chunk upload:
- var o = $.extend({}, options),
- currentLoaded = o._progress.loaded;
- o.blob = slice.call(
- file,
- ub,
- ub + mcs,
- file.type
- );
- // Store the current chunk size, as the blob itself
- // will be dereferenced after data processing:
- o.chunkSize = o.blob.size;
- // Expose the chunk bytes position range:
- o.contentRange = 'bytes ' + ub + '-' +
- (ub + o.chunkSize - 1) + '/' + fs;
- // Process the upload data (the blob and potential form data):
- that._initXHRData(o);
- // Add progress listeners for this chunk upload:
- that._initProgressListener(o);
- jqXHR = ((that._trigger('chunksend', null, o) !== false && $.ajax(o)) ||
- that._getXHRPromise(false, o.context))
- .done(function (result, textStatus, jqXHR) {
- ub = that._getUploadedBytes(jqXHR) ||
- (ub + o.chunkSize);
- // Create a progress event if no final progress event
- // with loaded equaling total has been triggered
- // for this chunk:
- if (currentLoaded + o.chunkSize - o._progress.loaded) {
- that._onProgress($.Event('progress', {
- lengthComputable: true,
- loaded: ub - o.uploadedBytes,
- total: ub - o.uploadedBytes
- }), o);
- }
- options.uploadedBytes = o.uploadedBytes = ub;
- o.result = result;
- o.textStatus = textStatus;
- o.jqXHR = jqXHR;
- that._trigger('chunkdone', null, o);
- that._trigger('chunkalways', null, o);
- if (ub < fs) {
- // File upload not yet complete,
- // continue with the next chunk:
- upload();
- } else {
- dfd.resolveWith(
- o.context,
- [result, textStatus, jqXHR]
- );
- }
- })
- .fail(function (jqXHR, textStatus, errorThrown) {
- o.jqXHR = jqXHR;
- o.textStatus = textStatus;
- o.errorThrown = errorThrown;
- that._trigger('chunkfail', null, o);
- that._trigger('chunkalways', null, o);
- dfd.rejectWith(
- o.context,
- [jqXHR, textStatus, errorThrown]
- );
- });
- };
- this._enhancePromise(promise);
- promise.abort = function () {
- return jqXHR.abort();
- };
- upload();
- return promise;
- },
-
- _beforeSend: function (e, data) {
- if (this._active === 0) {
- // the start callback is triggered when an upload starts
- // and no other uploads are currently running,
- // equivalent to the global ajaxStart event:
- this._trigger('start');
- // Set timer for global bitrate progress calculation:
- this._bitrateTimer = new this._BitrateTimer();
- // Reset the global progress values:
- this._progress.loaded = this._progress.total = 0;
- this._progress.bitrate = 0;
- }
- // Make sure the container objects for the .response() and
- // .progress() methods on the data object are available
- // and reset to their initial state:
- this._initResponseObject(data);
- this._initProgressObject(data);
- data._progress.loaded = data.loaded = data.uploadedBytes || 0;
- data._progress.total = data.total = this._getTotal(data.files) || 1;
- data._progress.bitrate = data.bitrate = 0;
- this._active += 1;
- // Initialize the global progress values:
- this._progress.loaded += data.loaded;
- this._progress.total += data.total;
- },
-
- _onDone: function (result, textStatus, jqXHR, options) {
- var total = options._progress.total,
- response = options._response;
- if (options._progress.loaded < total) {
- // Create a progress event if no final progress event
- // with loaded equaling total has been triggered:
- this._onProgress($.Event('progress', {
- lengthComputable: true,
- loaded: total,
- total: total
- }), options);
- }
- response.result = options.result = result;
- response.textStatus = options.textStatus = textStatus;
- response.jqXHR = options.jqXHR = jqXHR;
- this._trigger('done', null, options);
- },
-
- _onFail: function (jqXHR, textStatus, errorThrown, options) {
- var response = options._response;
- if (options.recalculateProgress) {
- // Remove the failed (error or abort) file upload from
- // the global progress calculation:
- this._progress.loaded -= options._progress.loaded;
- this._progress.total -= options._progress.total;
- }
- response.jqXHR = options.jqXHR = jqXHR;
- response.textStatus = options.textStatus = textStatus;
- response.errorThrown = options.errorThrown = errorThrown;
- this._trigger('fail', null, options);
- },
-
- _onAlways: function (jqXHRorResult, textStatus, jqXHRorError, options) {
- // jqXHRorResult, textStatus and jqXHRorError are added to the
- // options object via done and fail callbacks
- this._trigger('always', null, options);
- },
-
- _onSend: function (e, data) {
- if (!data.submit) {
- this._addConvenienceMethods(e, data);
- }
- var that = this,
- jqXHR,
- aborted,
- slot,
- pipe,
- options = that._getAJAXSettings(data),
- send = function () {
- that._sending += 1;
- // Set timer for bitrate progress calculation:
- options._bitrateTimer = new that._BitrateTimer();
- jqXHR = jqXHR || (
- ((aborted || that._trigger(
- 'send',
- $.Event('send', {delegatedEvent: e}),
- options
- ) === false) &&
- that._getXHRPromise(false, options.context, aborted)) ||
- that._chunkedUpload(options) || $.ajax(options)
- ).done(function (result, textStatus, jqXHR) {
- that._onDone(result, textStatus, jqXHR, options);
- }).fail(function (jqXHR, textStatus, errorThrown) {
- that._onFail(jqXHR, textStatus, errorThrown, options);
- }).always(function (jqXHRorResult, textStatus, jqXHRorError) {
- that._onAlways(
- jqXHRorResult,
- textStatus,
- jqXHRorError,
- options
- );
- that._sending -= 1;
- that._active -= 1;
- if (options.limitConcurrentUploads &&
- options.limitConcurrentUploads > that._sending) {
- // Start the next queued upload,
- // that has not been aborted:
- var nextSlot = that._slots.shift();
- while (nextSlot) {
- if (that._getDeferredState(nextSlot) === 'pending') {
- nextSlot.resolve();
- break;
- }
- nextSlot = that._slots.shift();
- }
- }
- if (that._active === 0) {
- // The stop callback is triggered when all uploads have
- // been completed, equivalent to the global ajaxStop event:
- that._trigger('stop');
- }
- });
- return jqXHR;
- };
- this._beforeSend(e, options);
- if (this.options.sequentialUploads ||
- (this.options.limitConcurrentUploads &&
- this.options.limitConcurrentUploads <= this._sending)) {
- if (this.options.limitConcurrentUploads > 1) {
- slot = $.Deferred();
- this._slots.push(slot);
- pipe = slot.pipe(send);
- } else {
- this._sequence = this._sequence.pipe(send, send);
- pipe = this._sequence;
- }
- // Return the piped Promise object, enhanced with an abort method,
- // which is delegated to the jqXHR object of the current upload,
- // and jqXHR callbacks mapped to the equivalent Promise methods:
- pipe.abort = function () {
- aborted = [undefined, 'abort', 'abort'];
- if (!jqXHR) {
- if (slot) {
- slot.rejectWith(options.context, aborted);
- }
- return send();
- }
- return jqXHR.abort();
- };
- return this._enhancePromise(pipe);
- }
- return send();
- },
-
- _onAdd: function (e, data) {
- var that = this,
- result = true,
- options = $.extend({}, this.options, data),
- files = data.files,
- filesLength = files.length,
- limit = options.limitMultiFileUploads,
- limitSize = options.limitMultiFileUploadSize,
- overhead = options.limitMultiFileUploadSizeOverhead,
- batchSize = 0,
- paramName = this._getParamName(options),
- paramNameSet,
- paramNameSlice,
- fileSet,
- i,
- j = 0;
- if (!filesLength) {
- return false;
- }
- if (limitSize && files[0].size === undefined) {
- limitSize = undefined;
- }
- if (!(options.singleFileUploads || limit || limitSize) ||
- !this._isXHRUpload(options)) {
- fileSet = [files];
- paramNameSet = [paramName];
- } else if (!(options.singleFileUploads || limitSize) && limit) {
- fileSet = [];
- paramNameSet = [];
- for (i = 0; i < filesLength; i += limit) {
- fileSet.push(files.slice(i, i + limit));
- paramNameSlice = paramName.slice(i, i + limit);
- if (!paramNameSlice.length) {
- paramNameSlice = paramName;
- }
- paramNameSet.push(paramNameSlice);
- }
- } else if (!options.singleFileUploads && limitSize) {
- fileSet = [];
- paramNameSet = [];
- for (i = 0; i < filesLength; i = i + 1) {
- batchSize += files[i].size + overhead;
- if (i + 1 === filesLength ||
- ((batchSize + files[i + 1].size + overhead) > limitSize) ||
- (limit && i + 1 - j >= limit)) {
- fileSet.push(files.slice(j, i + 1));
- paramNameSlice = paramName.slice(j, i + 1);
- if (!paramNameSlice.length) {
- paramNameSlice = paramName;
- }
- paramNameSet.push(paramNameSlice);
- j = i + 1;
- batchSize = 0;
- }
- }
- } else {
- paramNameSet = paramName;
- }
- data.originalFiles = files;
- $.each(fileSet || files, function (index, element) {
- var newData = $.extend({}, data);
- newData.files = fileSet ? element : [element];
- newData.paramName = paramNameSet[index];
- that._initResponseObject(newData);
- that._initProgressObject(newData);
- that._addConvenienceMethods(e, newData);
- result = that._trigger(
- 'add',
- $.Event('add', {delegatedEvent: e}),
- newData
- );
- return result;
- });
- return result;
- },
-
- _replaceFileInput: function (data) {
- var input = data.fileInput,
- inputClone = input.clone(true),
- restoreFocus = input.is(document.activeElement);
- // Add a reference for the new cloned file input to the data argument:
- data.fileInputClone = inputClone;
- $('<form></form>').append(inputClone)[0].reset();
- // Detaching allows to insert the fileInput on another form
- // without loosing the file input value:
- input.after(inputClone).detach();
- // If the fileInput had focus before it was detached,
- // restore focus to the inputClone.
- if (restoreFocus) {
- inputClone.focus();
- }
- // Avoid memory leaks with the detached file input:
- $.cleanData(input.unbind('remove'));
- // Replace the original file input element in the fileInput
- // elements set with the clone, which has been copied including
- // event handlers:
- this.options.fileInput = this.options.fileInput.map(function (i, el) {
- if (el === input[0]) {
- return inputClone[0];
- }
- return el;
- });
- // If the widget has been initialized on the file input itself,
- // override this.element with the file input clone:
- if (input[0] === this.element[0]) {
- this.element = inputClone;
- }
- },
-
- _handleFileTreeEntry: function (entry, path) {
- var that = this,
- dfd = $.Deferred(),
- errorHandler = function (e) {
- if (e && !e.entry) {
- e.entry = entry;
- }
- // Since $.when returns immediately if one
- // Deferred is rejected, we use resolve instead.
- // This allows valid files and invalid items
- // to be returned together in one set:
- dfd.resolve([e]);
- },
- successHandler = function (entries) {
- that._handleFileTreeEntries(
- entries,
- path + entry.name + '/'
- ).done(function (files) {
- dfd.resolve(files);
- }).fail(errorHandler);
- },
- readEntries = function () {
- dirReader.readEntries(function (results) {
- if (!results.length) {
- successHandler(entries);
- } else {
- entries = entries.concat(results);
- readEntries();
- }
- }, errorHandler);
- },
- dirReader, entries = [];
- path = path || '';
- if (entry.isFile) {
- if (entry._file) {
- // Workaround for Chrome bug #149735
- entry._file.relativePath = path;
- dfd.resolve(entry._file);
- } else {
- entry.file(function (file) {
- file.relativePath = path;
- dfd.resolve(file);
- }, errorHandler);
- }
- } else if (entry.isDirectory) {
- dirReader = entry.createReader();
- readEntries();
- } else {
- // Return an empy list for file system items
- // other than files or directories:
- dfd.resolve([]);
- }
- return dfd.promise();
- },
-
- _handleFileTreeEntries: function (entries, path) {
- var that = this;
- return $.when.apply(
- $,
- $.map(entries, function (entry) {
- return that._handleFileTreeEntry(entry, path);
- })
- ).pipe(function () {
- return Array.prototype.concat.apply(
- [],
- arguments
- );
- });
- },
-
- _getDroppedFiles: function (dataTransfer) {
- dataTransfer = dataTransfer || {};
- var items = dataTransfer.items;
- if (items && items.length && (items[0].webkitGetAsEntry ||
- items[0].getAsEntry)) {
- return this._handleFileTreeEntries(
- $.map(items, function (item) {
- var entry;
- if (item.webkitGetAsEntry) {
- entry = item.webkitGetAsEntry();
- if (entry) {
- // Workaround for Chrome bug #149735:
- entry._file = item.getAsFile();
- }
- return entry;
- }
- return item.getAsEntry();
- })
- );
- }
- return $.Deferred().resolve(
- $.makeArray(dataTransfer.files)
- ).promise();
- },
-
- _getSingleFileInputFiles: function (fileInput) {
- fileInput = $(fileInput);
- var entries = fileInput.prop('webkitEntries') ||
- fileInput.prop('entries'),
- files,
- value;
- if (entries && entries.length) {
- return this._handleFileTreeEntries(entries);
- }
- files = $.makeArray(fileInput.prop('files'));
- if (!files.length) {
- value = fileInput.prop('value');
- if (!value) {
- return $.Deferred().resolve([]).promise();
- }
- // If the files property is not available, the browser does not
- // support the File API and we add a pseudo File object with
- // the input value as name with path information removed:
- files = [{name: value.replace(/^.*\\/, '')}];
- } else if (files[0].name === undefined && files[0].fileName) {
- // File normalization for Safari 4 and Firefox 3:
- $.each(files, function (index, file) {
- file.name = file.fileName;
- file.size = file.fileSize;
- });
- }
- return $.Deferred().resolve(files).promise();
- },
-
- _getFileInputFiles: function (fileInput) {
- if (!(fileInput instanceof $) || fileInput.length === 1) {
- return this._getSingleFileInputFiles(fileInput);
- }
- return $.when.apply(
- $,
- $.map(fileInput, this._getSingleFileInputFiles)
- ).pipe(function () {
- return Array.prototype.concat.apply(
- [],
- arguments
- );
- });
- },
-
- _onChange: function (e) {
- var that = this,
- data = {
- fileInput: $(e.target),
- form: $(e.target.form)
- };
- this._getFileInputFiles(data.fileInput).always(function (files) {
- data.files = files;
- if (that.options.replaceFileInput) {
- that._replaceFileInput(data);
- }
- if (that._trigger(
- 'change',
- $.Event('change', {delegatedEvent: e}),
- data
- ) !== false) {
- that._onAdd(e, data);
- }
- });
- },
-
- _onPaste: function (e) {
- var items = e.originalEvent && e.originalEvent.clipboardData &&
- e.originalEvent.clipboardData.items,
- data = {files: []};
- if (items && items.length) {
- $.each(items, function (index, item) {
- var file = item.getAsFile && item.getAsFile();
- if (file) {
- data.files.push(file);
- }
- });
- if (this._trigger(
- 'paste',
- $.Event('paste', {delegatedEvent: e}),
- data
- ) !== false) {
- this._onAdd(e, data);
- }
- }
- },
-
- _onDrop: function (e) {
- e.dataTransfer = e.originalEvent && e.originalEvent.dataTransfer;
- var that = this,
- dataTransfer = e.dataTransfer,
- data = {};
- if (dataTransfer && dataTransfer.files && dataTransfer.files.length) {
- e.preventDefault();
- this._getDroppedFiles(dataTransfer).always(function (files) {
- data.files = files;
- if (that._trigger(
- 'drop',
- $.Event('drop', {delegatedEvent: e}),
- data
- ) !== false) {
- that._onAdd(e, data);
- }
- });
- }
- },
-
- _onDragOver: getDragHandler('dragover'),
-
- _onDragEnter: getDragHandler('dragenter'),
-
- _onDragLeave: getDragHandler('dragleave'),
-
- _initEventHandlers: function () {
- if (this._isXHRUpload(this.options)) {
- this._on(this.options.dropZone, {
- dragover: this._onDragOver,
- drop: this._onDrop,
- // event.preventDefault() on dragenter is required for IE10+:
- dragenter: this._onDragEnter,
- // dragleave is not required, but added for completeness:
- dragleave: this._onDragLeave
- });
- this._on(this.options.pasteZone, {
- paste: this._onPaste
- });
- }
- if ($.support.fileInput) {
- this._on(this.options.fileInput, {
- change: this._onChange
- });
- }
- },
-
- _destroyEventHandlers: function () {
- this._off(this.options.dropZone, 'dragenter dragleave dragover drop');
- this._off(this.options.pasteZone, 'paste');
- this._off(this.options.fileInput, 'change');
- },
-
- _setOption: function (key, value) {
- var reinit = $.inArray(key, this._specialOptions) !== -1;
- if (reinit) {
- this._destroyEventHandlers();
- }
- this._super(key, value);
- if (reinit) {
- this._initSpecialOptions();
- this._initEventHandlers();
- }
- },
-
- _initSpecialOptions: function () {
- var options = this.options;
- if (options.fileInput === undefined) {
- options.fileInput = this.element.is('input[type="file"]') ?
- this.element : this.element.find('input[type="file"]');
- } else if (!(options.fileInput instanceof $)) {
- options.fileInput = $(options.fileInput);
- }
- if (!(options.dropZone instanceof $)) {
- options.dropZone = $(options.dropZone);
- }
- if (!(options.pasteZone instanceof $)) {
- options.pasteZone = $(options.pasteZone);
- }
- },
-
- _getRegExp: function (str) {
- var parts = str.split('/'),
- modifiers = parts.pop();
- parts.shift();
- return new RegExp(parts.join('/'), modifiers);
- },
-
- _isRegExpOption: function (key, value) {
- return key !== 'url' && $.type(value) === 'string' &&
- /^\/.*\/[igm]{0,3}$/.test(value);
- },
-
- _initDataAttributes: function () {
- var that = this,
- options = this.options,
- data = this.element.data();
- // Initialize options set via HTML5 data-attributes:
- $.each(
- this.element[0].attributes,
- function (index, attr) {
- var key = attr.name.toLowerCase(),
- value;
- if (/^data-/.test(key)) {
- // Convert hyphen-ated key to camelCase:
- key = key.slice(5).replace(/-[a-z]/g, function (str) {
- return str.charAt(1).toUpperCase();
- });
- value = data[key];
- if (that._isRegExpOption(key, value)) {
- value = that._getRegExp(value);
- }
- options[key] = value;
- }
- }
- );
- },
-
- _create: function () {
- this._initDataAttributes();
- this._initSpecialOptions();
- this._slots = [];
- this._sequence = this._getXHRPromise(true);
- this._sending = this._active = 0;
- this._initProgressObject(this);
- this._initEventHandlers();
- },
-
- // This method is exposed to the widget API and allows to query
- // the number of active uploads:
- active: function () {
- return this._active;
- },
-
- // This method is exposed to the widget API and allows to query
- // the widget upload progress.
- // It returns an object with loaded, total and bitrate properties
- // for the running uploads:
- progress: function () {
- return this._progress;
- },
-
- // This method is exposed to the widget API and allows adding files
- // using the fileupload API. The data parameter accepts an object which
- // must have a files property and can contain additional options:
- // .fileupload('add', {files: filesList});
- add: function (data) {
- var that = this;
- if (!data || this.options.disabled) {
- return;
- }
- if (data.fileInput && !data.files) {
- this._getFileInputFiles(data.fileInput).always(function (files) {
- data.files = files;
- that._onAdd(null, data);
- });
- } else {
- data.files = $.makeArray(data.files);
- this._onAdd(null, data);
- }
- },
-
- // This method is exposed to the widget API and allows sending files
- // using the fileupload API. The data parameter accepts an object which
- // must have a files or fileInput property and can contain additional options:
- // .fileupload('send', {files: filesList});
- // The method returns a Promise object for the file upload call.
- send: function (data) {
- if (data && !this.options.disabled) {
- if (data.fileInput && !data.files) {
- var that = this,
- dfd = $.Deferred(),
- promise = dfd.promise(),
- jqXHR,
- aborted;
- promise.abort = function () {
- aborted = true;
- if (jqXHR) {
- return jqXHR.abort();
- }
- dfd.reject(null, 'abort', 'abort');
- return promise;
- };
- this._getFileInputFiles(data.fileInput).always(
- function (files) {
- if (aborted) {
- return;
- }
- if (!files.length) {
- dfd.reject();
- return;
- }
- data.files = files;
- jqXHR = that._onSend(null, data);
- jqXHR.then(
- function (result, textStatus, jqXHR) {
- dfd.resolve(result, textStatus, jqXHR);
- },
- function (jqXHR, textStatus, errorThrown) {
- dfd.reject(jqXHR, textStatus, errorThrown);
- }
- );
- }
- );
- return this._enhancePromise(promise);
- }
- data.files = $.makeArray(data.files);
- if (data.files.length) {
- return this._onSend(null, data);
- }
- }
- return this._getXHRPromise(false, data && data.context);
- }
-
- });
-
-}));
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/js/jquery.iframe-transport.js b/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/js/jquery.iframe-transport.js
deleted file mode 100644
index b63a16fe..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/js/jquery.iframe-transport.js
+++ /dev/null
@@ -1,217 +0,0 @@
-/*
- * jQuery Iframe Transport Plugin
- * https://github.com/blueimp/jQuery-File-Upload
- *
- * Copyright 2011, Sebastian Tschan
- * https://blueimp.net
- *
- * Licensed under the MIT license:
- * http://www.opensource.org/licenses/MIT
- */
-
-/* global define, require, window, document */
-
-(function (factory) {
- 'use strict';
- if (typeof define === 'function' && define.amd) {
- // Register as an anonymous AMD module:
- define(['jquery'], factory);
- } else if (typeof exports === 'object') {
- // Node/CommonJS:
- factory(require('jquery'));
- } else {
- // Browser globals:
- factory(window.jQuery);
- }
-}(function ($) {
- 'use strict';
-
- // Helper variable to create unique names for the transport iframes:
- var counter = 0;
-
- // The iframe transport accepts four additional options:
- // options.fileInput: a jQuery collection of file input fields
- // options.paramName: the parameter name for the file form data,
- // overrides the name property of the file input field(s),
- // can be a string or an array of strings.
- // options.formData: an array of objects with name and value properties,
- // equivalent to the return data of .serializeArray(), e.g.:
- // [{name: 'a', value: 1}, {name: 'b', value: 2}]
- // options.initialIframeSrc: the URL of the initial iframe src,
- // by default set to "javascript:false;"
- $.ajaxTransport('iframe', function (options) {
- if (options.async) {
- // javascript:false as initial iframe src
- // prevents warning popups on HTTPS in IE6:
- /*jshint scripturl: true */
- var initialIframeSrc = options.initialIframeSrc || 'javascript:false;',
- /*jshint scripturl: false */
- form,
- iframe,
- addParamChar;
- return {
- send: function (_, completeCallback) {
- form = $('<form style="display:none;"></form>');
- form.attr('accept-charset', options.formAcceptCharset);
- addParamChar = /\?/.test(options.url) ? '&' : '?';
- // XDomainRequest only supports GET and POST:
- if (options.type === 'DELETE') {
- options.url = options.url + addParamChar + '_method=DELETE';
- options.type = 'POST';
- } else if (options.type === 'PUT') {
- options.url = options.url + addParamChar + '_method=PUT';
- options.type = 'POST';
- } else if (options.type === 'PATCH') {
- options.url = options.url + addParamChar + '_method=PATCH';
- options.type = 'POST';
- }
- // IE versions below IE8 cannot set the name property of
- // elements that have already been added to the DOM,
- // so we set the name along with the iframe HTML markup:
- counter += 1;
- iframe = $(
- '<iframe src="' + initialIframeSrc +
- '" name="iframe-transport-' + counter + '"></iframe>'
- ).bind('load', function () {
- var fileInputClones,
- paramNames = $.isArray(options.paramName) ?
- options.paramName : [options.paramName];
- iframe
- .unbind('load')
- .bind('load', function () {
- var response;
- // Wrap in a try/catch block to catch exceptions thrown
- // when trying to access cross-domain iframe contents:
- try {
- response = iframe.contents();
- // Google Chrome and Firefox do not throw an
- // exception when calling iframe.contents() on
- // cross-domain requests, so we unify the response:
- if (!response.length || !response[0].firstChild) {
- throw new Error();
- }
- } catch (e) {
- response = undefined;
- }
- // The complete callback returns the
- // iframe content document as response object:
- completeCallback(
- 200,
- 'success',
- {'iframe': response}
- );
- // Fix for IE endless progress bar activity bug
- // (happens on form submits to iframe targets):
- $('<iframe src="' + initialIframeSrc + '"></iframe>')
- .appendTo(form);
- window.setTimeout(function () {
- // Removing the form in a setTimeout call
- // allows Chrome's developer tools to display
- // the response result
- form.remove();
- }, 0);
- });
- form
- .prop('target', iframe.prop('name'))
- .prop('action', options.url)
- .prop('method', options.type);
- if (options.formData) {
- $.each(options.formData, function (index, field) {
- $('<input type="hidden"/>')
- .prop('name', field.name)
- .val(field.value)
- .appendTo(form);
- });
- }
- if (options.fileInput && options.fileInput.length &&
- options.type === 'POST') {
- fileInputClones = options.fileInput.clone();
- // Insert a clone for each file input field:
- options.fileInput.after(function (index) {
- return fileInputClones[index];
- });
- if (options.paramName) {
- options.fileInput.each(function (index) {
- $(this).prop(
- 'name',
- paramNames[index] || options.paramName
- );
- });
- }
- // Appending the file input fields to the hidden form
- // removes them from their original location:
- form
- .append(options.fileInput)
- .prop('enctype', 'multipart/form-data')
- // enctype must be set as encoding for IE:
- .prop('encoding', 'multipart/form-data');
- // Remove the HTML5 form attribute from the input(s):
- options.fileInput.removeAttr('form');
- }
- form.submit();
- // Insert the file input fields at their original location
- // by replacing the clones with the originals:
- if (fileInputClones && fileInputClones.length) {
- options.fileInput.each(function (index, input) {
- var clone = $(fileInputClones[index]);
- // Restore the original name and form properties:
- $(input)
- .prop('name', clone.prop('name'))
- .attr('form', clone.attr('form'));
- clone.replaceWith(input);
- });
- }
- });
- form.append(iframe).appendTo(document.body);
- },
- abort: function () {
- if (iframe) {
- // javascript:false as iframe src aborts the request
- // and prevents warning popups on HTTPS in IE6.
- // concat is used to avoid the "Script URL" JSLint error:
- iframe
- .unbind('load')
- .prop('src', initialIframeSrc);
- }
- if (form) {
- form.remove();
- }
- }
- };
- }
- });
-
- // The iframe transport returns the iframe content document as response.
- // The following adds converters from iframe to text, json, html, xml
- // and script.
- // Please note that the Content-Type for JSON responses has to be text/plain
- // or text/html, if the browser doesn't include application/json in the
- // Accept header, else IE will show a download dialog.
- // The Content-Type for XML responses on the other hand has to be always
- // application/xml or text/xml, so IE properly parses the XML response.
- // See also
- // https://github.com/blueimp/jQuery-File-Upload/wiki/Setup#content-type-negotiation
- $.ajaxSetup({
- converters: {
- 'iframe text': function (iframe) {
- return iframe && $(iframe[0].body).text();
- },
- 'iframe json': function (iframe) {
- return iframe && $.parseJSON($(iframe[0].body).text());
- },
- 'iframe html': function (iframe) {
- return iframe && $(iframe[0].body).html();
- },
- 'iframe xml': function (iframe) {
- var xmlDoc = iframe && iframe[0];
- return xmlDoc && $.isXMLDoc(xmlDoc) ? xmlDoc :
- $.parseXML((xmlDoc.XMLDocument && xmlDoc.XMLDocument.xml) ||
- $(xmlDoc.body).html());
- },
- 'iframe script': function (iframe) {
- return iframe && $.globalEval($(iframe[0].body).text());
- }
- }
- });
-
-}));
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/js/vendor/jquery.ui.widget.js b/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/js/vendor/jquery.ui.widget.js
deleted file mode 100644
index 113c1f04..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/jQuery-File-Upload/js/vendor/jquery.ui.widget.js
+++ /dev/null
@@ -1,572 +0,0 @@
-/*! jQuery UI - v1.11.4+CommonJS - 2015-08-28
-* http://jqueryui.com
-* Includes: widget.js
-* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
-
-(function( factory ) {
- if ( typeof define === "function" && define.amd ) {
-
- // AMD. Register as an anonymous module.
- define([ "jquery" ], factory );
-
- } else if ( typeof exports === "object" ) {
-
- // Node/CommonJS
- factory( require( "jquery" ) );
-
- } else {
-
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-/*!
- * jQuery UI Widget 1.11.4
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/jQuery.widget/
- */
-
-
-var widget_uuid = 0,
- widget_slice = Array.prototype.slice;
-
-$.cleanData = (function( orig ) {
- return function( elems ) {
- var events, elem, i;
- for ( i = 0; (elem = elems[i]) != null; i++ ) {
- try {
-
- // Only trigger remove when necessary to save time
- events = $._data( elem, "events" );
- if ( events && events.remove ) {
- $( elem ).triggerHandler( "remove" );
- }
-
- // http://bugs.jquery.com/ticket/8235
- } catch ( e ) {}
- }
- orig( elems );
- };
-})( $.cleanData );
-
-$.widget = function( name, base, prototype ) {
- var fullName, existingConstructor, constructor, basePrototype,
- // proxiedPrototype allows the provided prototype to remain unmodified
- // so that it can be used as a mixin for multiple widgets (#8876)
- proxiedPrototype = {},
- namespace = name.split( "." )[ 0 ];
-
- name = name.split( "." )[ 1 ];
- fullName = namespace + "-" + name;
-
- if ( !prototype ) {
- prototype = base;
- base = $.Widget;
- }
-
- // create selector for plugin
- $.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) {
- return !!$.data( elem, fullName );
- };
-
- $[ namespace ] = $[ namespace ] || {};
- existingConstructor = $[ namespace ][ name ];
- constructor = $[ namespace ][ name ] = function( options, element ) {
- // allow instantiation without "new" keyword
- if ( !this._createWidget ) {
- return new constructor( options, element );
- }
-
- // allow instantiation without initializing for simple inheritance
- // must use "new" keyword (the code above always passes args)
- if ( arguments.length ) {
- this._createWidget( options, element );
- }
- };
- // extend with the existing constructor to carry over any static properties
- $.extend( constructor, existingConstructor, {
- version: prototype.version,
- // copy the object used to create the prototype in case we need to
- // redefine the widget later
- _proto: $.extend( {}, prototype ),
- // track widgets that inherit from this widget in case this widget is
- // redefined after a widget inherits from it
- _childConstructors: []
- });
-
- basePrototype = new base();
- // we need to make the options hash a property directly on the new instance
- // otherwise we'll modify the options hash on the prototype that we're
- // inheriting from
- basePrototype.options = $.widget.extend( {}, basePrototype.options );
- $.each( prototype, function( prop, value ) {
- if ( !$.isFunction( value ) ) {
- proxiedPrototype[ prop ] = value;
- return;
- }
- proxiedPrototype[ prop ] = (function() {
- var _super = function() {
- return base.prototype[ prop ].apply( this, arguments );
- },
- _superApply = function( args ) {
- return base.prototype[ prop ].apply( this, args );
- };
- return function() {
- var __super = this._super,
- __superApply = this._superApply,
- returnValue;
-
- this._super = _super;
- this._superApply = _superApply;
-
- returnValue = value.apply( this, arguments );
-
- this._super = __super;
- this._superApply = __superApply;
-
- return returnValue;
- };
- })();
- });
- constructor.prototype = $.widget.extend( basePrototype, {
- // TODO: remove support for widgetEventPrefix
- // always use the name + a colon as the prefix, e.g., draggable:start
- // don't prefix for widgets that aren't DOM-based
- widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name
- }, proxiedPrototype, {
- constructor: constructor,
- namespace: namespace,
- widgetName: name,
- widgetFullName: fullName
- });
-
- // If this widget is being redefined then we need to find all widgets that
- // are inheriting from it and redefine all of them so that they inherit from
- // the new version of this widget. We're essentially trying to replace one
- // level in the prototype chain.
- if ( existingConstructor ) {
- $.each( existingConstructor._childConstructors, function( i, child ) {
- var childPrototype = child.prototype;
-
- // redefine the child widget using the same prototype that was
- // originally used, but inherit from the new version of the base
- $.widget( childPrototype.namespace + "." + childPrototype.widgetName, constructor, child._proto );
- });
- // remove the list of existing child constructors from the old constructor
- // so the old child constructors can be garbage collected
- delete existingConstructor._childConstructors;
- } else {
- base._childConstructors.push( constructor );
- }
-
- $.widget.bridge( name, constructor );
-
- return constructor;
-};
-
-$.widget.extend = function( target ) {
- var input = widget_slice.call( arguments, 1 ),
- inputIndex = 0,
- inputLength = input.length,
- key,
- value;
- for ( ; inputIndex < inputLength; inputIndex++ ) {
- for ( key in input[ inputIndex ] ) {
- value = input[ inputIndex ][ key ];
- if ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) {
- // Clone objects
- if ( $.isPlainObject( value ) ) {
- target[ key ] = $.isPlainObject( target[ key ] ) ?
- $.widget.extend( {}, target[ key ], value ) :
- // Don't extend strings, arrays, etc. with objects
- $.widget.extend( {}, value );
- // Copy everything else by reference
- } else {
- target[ key ] = value;
- }
- }
- }
- }
- return target;
-};
-
-$.widget.bridge = function( name, object ) {
- var fullName = object.prototype.widgetFullName || name;
- $.fn[ name ] = function( options ) {
- var isMethodCall = typeof options === "string",
- args = widget_slice.call( arguments, 1 ),
- returnValue = this;
-
- if ( isMethodCall ) {
- this.each(function() {
- var methodValue,
- instance = $.data( this, fullName );
- if ( options === "instance" ) {
- returnValue = instance;
- return false;
- }
- if ( !instance ) {
- return $.error( "cannot call methods on " + name + " prior to initialization; " +
- "attempted to call method '" + options + "'" );
- }
- if ( !$.isFunction( instance[options] ) || options.charAt( 0 ) === "_" ) {
- return $.error( "no such method '" + options + "' for " + name + " widget instance" );
- }
- methodValue = instance[ options ].apply( instance, args );
- if ( methodValue !== instance && methodValue !== undefined ) {
- returnValue = methodValue && methodValue.jquery ?
- returnValue.pushStack( methodValue.get() ) :
- methodValue;
- return false;
- }
- });
- } else {
-
- // Allow multiple hashes to be passed on init
- if ( args.length ) {
- options = $.widget.extend.apply( null, [ options ].concat(args) );
- }
-
- this.each(function() {
- var instance = $.data( this, fullName );
- if ( instance ) {
- instance.option( options || {} );
- if ( instance._init ) {
- instance._init();
- }
- } else {
- $.data( this, fullName, new object( options, this ) );
- }
- });
- }
-
- return returnValue;
- };
-};
-
-$.Widget = function( /* options, element */ ) {};
-$.Widget._childConstructors = [];
-
-$.Widget.prototype = {
- widgetName: "widget",
- widgetEventPrefix: "",
- defaultElement: "<div>",
- options: {
- disabled: false,
-
- // callbacks
- create: null
- },
- _createWidget: function( options, element ) {
- element = $( element || this.defaultElement || this )[ 0 ];
- this.element = $( element );
- this.uuid = widget_uuid++;
- this.eventNamespace = "." + this.widgetName + this.uuid;
-
- this.bindings = $();
- this.hoverable = $();
- this.focusable = $();
-
- if ( element !== this ) {
- $.data( element, this.widgetFullName, this );
- this._on( true, this.element, {
- remove: function( event ) {
- if ( event.target === element ) {
- this.destroy();
- }
- }
- });
- this.document = $( element.style ?
- // element within the document
- element.ownerDocument :
- // element is window or document
- element.document || element );
- this.window = $( this.document[0].defaultView || this.document[0].parentWindow );
- }
-
- this.options = $.widget.extend( {},
- this.options,
- this._getCreateOptions(),
- options );
-
- this._create();
- this._trigger( "create", null, this._getCreateEventData() );
- this._init();
- },
- _getCreateOptions: $.noop,
- _getCreateEventData: $.noop,
- _create: $.noop,
- _init: $.noop,
-
- destroy: function() {
- this._destroy();
- // we can probably remove the unbind calls in 2.0
- // all event bindings should go through this._on()
- this.element
- .unbind( this.eventNamespace )
- .removeData( this.widgetFullName )
- // support: jquery <1.6.3
- // http://bugs.jquery.com/ticket/9413
- .removeData( $.camelCase( this.widgetFullName ) );
- this.widget()
- .unbind( this.eventNamespace )
- .removeAttr( "aria-disabled" )
- .removeClass(
- this.widgetFullName + "-disabled " +
- "ui-state-disabled" );
-
- // clean up events and states
- this.bindings.unbind( this.eventNamespace );
- this.hoverable.removeClass( "ui-state-hover" );
- this.focusable.removeClass( "ui-state-focus" );
- },
- _destroy: $.noop,
-
- widget: function() {
- return this.element;
- },
-
- option: function( key, value ) {
- var options = key,
- parts,
- curOption,
- i;
-
- if ( arguments.length === 0 ) {
- // don't return a reference to the internal hash
- return $.widget.extend( {}, this.options );
- }
-
- if ( typeof key === "string" ) {
- // handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } }
- options = {};
- parts = key.split( "." );
- key = parts.shift();
- if ( parts.length ) {
- curOption = options[ key ] = $.widget.extend( {}, this.options[ key ] );
- for ( i = 0; i < parts.length - 1; i++ ) {
- curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {};
- curOption = curOption[ parts[ i ] ];
- }
- key = parts.pop();
- if ( arguments.length === 1 ) {
- return curOption[ key ] === undefined ? null : curOption[ key ];
- }
- curOption[ key ] = value;
- } else {
- if ( arguments.length === 1 ) {
- return this.options[ key ] === undefined ? null : this.options[ key ];
- }
- options[ key ] = value;
- }
- }
-
- this._setOptions( options );
-
- return this;
- },
- _setOptions: function( options ) {
- var key;
-
- for ( key in options ) {
- this._setOption( key, options[ key ] );
- }
-
- return this;
- },
- _setOption: function( key, value ) {
- this.options[ key ] = value;
-
- if ( key === "disabled" ) {
- this.widget()
- .toggleClass( this.widgetFullName + "-disabled", !!value );
-
- // If the widget is becoming disabled, then nothing is interactive
- if ( value ) {
- this.hoverable.removeClass( "ui-state-hover" );
- this.focusable.removeClass( "ui-state-focus" );
- }
- }
-
- return this;
- },
-
- enable: function() {
- return this._setOptions({ disabled: false });
- },
- disable: function() {
- return this._setOptions({ disabled: true });
- },
-
- _on: function( suppressDisabledCheck, element, handlers ) {
- var delegateElement,
- instance = this;
-
- // no suppressDisabledCheck flag, shuffle arguments
- if ( typeof suppressDisabledCheck !== "boolean" ) {
- handlers = element;
- element = suppressDisabledCheck;
- suppressDisabledCheck = false;
- }
-
- // no element argument, shuffle and use this.element
- if ( !handlers ) {
- handlers = element;
- element = this.element;
- delegateElement = this.widget();
- } else {
- element = delegateElement = $( element );
- this.bindings = this.bindings.add( element );
- }
-
- $.each( handlers, function( event, handler ) {
- function handlerProxy() {
- // allow widgets to customize the disabled handling
- // - disabled as an array instead of boolean
- // - disabled class as method for disabling individual parts
- if ( !suppressDisabledCheck &&
- ( instance.options.disabled === true ||
- $( this ).hasClass( "ui-state-disabled" ) ) ) {
- return;
- }
- return ( typeof handler === "string" ? instance[ handler ] : handler )
- .apply( instance, arguments );
- }
-
- // copy the guid so direct unbinding works
- if ( typeof handler !== "string" ) {
- handlerProxy.guid = handler.guid =
- handler.guid || handlerProxy.guid || $.guid++;
- }
-
- var match = event.match( /^([\w:-]*)\s*(.*)$/ ),
- eventName = match[1] + instance.eventNamespace,
- selector = match[2];
- if ( selector ) {
- delegateElement.delegate( selector, eventName, handlerProxy );
- } else {
- element.bind( eventName, handlerProxy );
- }
- });
- },
-
- _off: function( element, eventName ) {
- eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) +
- this.eventNamespace;
- element.unbind( eventName ).undelegate( eventName );
-
- // Clear the stack to avoid memory leaks (#10056)
- this.bindings = $( this.bindings.not( element ).get() );
- this.focusable = $( this.focusable.not( element ).get() );
- this.hoverable = $( this.hoverable.not( element ).get() );
- },
-
- _delay: function( handler, delay ) {
- function handlerProxy() {
- return ( typeof handler === "string" ? instance[ handler ] : handler )
- .apply( instance, arguments );
- }
- var instance = this;
- return setTimeout( handlerProxy, delay || 0 );
- },
-
- _hoverable: function( element ) {
- this.hoverable = this.hoverable.add( element );
- this._on( element, {
- mouseenter: function( event ) {
- $( event.currentTarget ).addClass( "ui-state-hover" );
- },
- mouseleave: function( event ) {
- $( event.currentTarget ).removeClass( "ui-state-hover" );
- }
- });
- },
-
- _focusable: function( element ) {
- this.focusable = this.focusable.add( element );
- this._on( element, {
- focusin: function( event ) {
- $( event.currentTarget ).addClass( "ui-state-focus" );
- },
- focusout: function( event ) {
- $( event.currentTarget ).removeClass( "ui-state-focus" );
- }
- });
- },
-
- _trigger: function( type, event, data ) {
- var prop, orig,
- callback = this.options[ type ];
-
- data = data || {};
- event = $.Event( event );
- event.type = ( type === this.widgetEventPrefix ?
- type :
- this.widgetEventPrefix + type ).toLowerCase();
- // the original event may come from any element
- // so we need to reset the target on the new event
- event.target = this.element[ 0 ];
-
- // copy original event properties over to the new event
- orig = event.originalEvent;
- if ( orig ) {
- for ( prop in orig ) {
- if ( !( prop in event ) ) {
- event[ prop ] = orig[ prop ];
- }
- }
- }
-
- this.element.trigger( event, data );
- return !( $.isFunction( callback ) &&
- callback.apply( this.element[0], [ event ].concat( data ) ) === false ||
- event.isDefaultPrevented() );
- }
-};
-
-$.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {
- $.Widget.prototype[ "_" + method ] = function( element, options, callback ) {
- if ( typeof options === "string" ) {
- options = { effect: options };
- }
- var hasOptions,
- effectName = !options ?
- method :
- options === true || typeof options === "number" ?
- defaultEffect :
- options.effect || defaultEffect;
- options = options || {};
- if ( typeof options === "number" ) {
- options = { duration: options };
- }
- hasOptions = !$.isEmptyObject( options );
- options.complete = callback;
- if ( options.delay ) {
- element.delay( options.delay );
- }
- if ( hasOptions && $.effects && $.effects.effect[ effectName ] ) {
- element[ method ]( options );
- } else if ( effectName !== method && element[ effectName ] ) {
- element[ effectName ]( options.duration, options.easing, callback );
- } else {
- element.queue(function( next ) {
- $( this )[ method ]();
- if ( callback ) {
- callback.call( element[ 0 ] );
- }
- next();
- });
- }
- };
-});
-
-var widget = $.widget;
-
-
-
-}));
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ystep/css/ystep.css b/uiframe-iui/src/main/resources/webroot/vendor/ystep/css/ystep.css
deleted file mode 100644
index 294c1fd5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ystep/css/ystep.css
+++ /dev/null
@@ -1,293 +0,0 @@
-/*common css*/
-.ystep-container {
- font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","Wenquanyi Micro Hei","Microsoft Yahei",Arial,sans-serif;
- display: inline-block;
- position: relative;
- color: #000;
-}
-.ystep-container ul {
- list-style: none;
-}
-.ystep-container ul,.ystep-container li,.ystep-container p {
- margin: 0;
- padding: 0;
-}
-
-/*size css*/
-.ystep-sm {
- width: 360px;
- height: 30px;
- font-size: 12px;
- line-height: 1;
-}
-.ystep-lg {
- width: 700px;
- height: 60px;
- font-size: 18px;
- /*line-height: .3;*/
-}
-
-/*small size css*/
-.ystep-sm .ystep-container-steps {
- position: absolute;
- top: 2px;
- cursor: pointer;
- z-index: 10;
-}
-.ystep-sm li {
- float: left;
- width: 65px;
- height: 50px;
-}
-.ystep-sm .ystep-step-done {
- background-position: -119px -76px;
-}
-.ystep-sm .ystep-step-undone {
- background-position: -60px -76px;
-}
-.ystep-sm .ystep-step-active {
- background-position: -182px -76px;
-}
-.ystep-sm .ystep-progress {
- width: 260px;
- height: 3px;
- position: absolute;
- top: 30px;
- left: 8px;
- float: left;
- margin-right: 10px;
- overflow: hidden;
-}
-.ystep-sm .ystep-progress-bar {
- width: 260px;
- height: 6px;
- background: #e4e4e4;
- display: inline-block;
- float: left;
-}
-.ystep-sm .ystep-progress-highlight {
- height: 6px;
- display: block;
-}
-
-/*large size css*/
-.ystep-lg .ystep-container-steps {
- position: absolute;
- top: 2px;
- cursor: pointer;
- z-index: 10;
-}
-.ystep-lg li {
- float: left;
- width: 100px;
- height: 85px;
-}
-.ystep-lg .ystep-step-done {
- background-position: -278px -132px;
-}
-.ystep-lg .ystep-step-undone {
- background-position: -137px -131px;
-}
-.ystep-lg .ystep-step-active {
- background-position: -414px -131px;
-}
-.ystep-lg .ystep-progress {
- width: 400px;
- height: 10px;
- position: absolute;
- top: 30px;
- left: 15px;
- float: left;
- margin-right: 10px;
- overflow: hidden;
-}
-.ystep-lg .ystep-progress-bar {
- width: 400px;
- height: 20px;
- background: #e4e4e4;
- display: inline-block;
- float: left;
-}
-.ystep-lg .ystep-progress-highlight {
- height: 20px;
- display: block;
-}
-
-/*green css*/
-.ystep-green .ystep-step-done {
- background-image: url("../images/pointes_green.png");
- background-repeat: no-repeat;
-}
-.ystep-green .ystep-step-undone {
- background-image: url("../images/pointes_green.png");
- background-repeat: no-repeat;
- color: #9c9a9b;
-}
-.ystep-green .ystep-step-active {
- background-image: url("../images/pointes_green.png");
- background-repeat: no-repeat;
- color: #3d8e15;
-}
-.ystep-green .ystep-progress-highlight {
- background: #89bc65;
-}
-
-/*blue css*/
-.ystep-blue .ystep-step-done {
- background-image: url("../images/pointes_blue.png");
- background-repeat: no-repeat;
-}
-.ystep-blue .ystep-step-undone {
- background-image: url("../images/pointes_blue.png");
- background-repeat: no-repeat;
- color: #9c9a9b;
-}
-.ystep-blue .ystep-step-active {
- background-image: url("../images/pointes_blue.png");
- background-repeat: no-repeat;
- color: #3276b1;
-}
-.ystep-blue .ystep-progress-highlight {
- background: #60baff;
-}
-
-/*popover css*/
-.popover {
- font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","Wenquanyi Micro Hei","Microsoft Yahei",Arial,sans-serif;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1010;
- display: none;
- max-width: 276px;
- padding: 1px;
- text-align: left;
- white-space: normal;
- background-color: #ffffff;
- border: 1px solid #cccccc;
- border: 1px solid rgba(0, 0, 0, 0.2);
- border-radius: 6px;
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
- background-clip: padding-box;
-}
-
-.popover.top {
- margin-top: -10px;
-}
-
-.popover.right {
- margin-left: 10px;
-}
-
-.popover.bottom {
- margin-top: 10px;
-}
-
-.popover.left {
- margin-left: -10px;
-}
-
-.popover-title {
- padding: 2px 10px;
- margin: 0;
- font-size: 12px;
- font-weight: bold;
- line-height: 18px;
- background-color: #f7f7f7;
- border-bottom: 1px solid #ebebeb;
- border-radius: 5px 5px 0 0;
-}
-
-.popover-content {
- padding: 4px 10px;
- font-size: 12px;
-}
-
-.popover .arrow,
-.popover .arrow:after {
- position: absolute;
- display: block;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid;
-}
-
-.popover .arrow {
- border-width: 11px;
-}
-
-.popover .arrow:after {
- border-width: 10px;
- content: "";
-}
-
-.popover.top .arrow {
- bottom: -11px;
- left: 50%;
- margin-left: -11px;
- border-top-color: #999999;
- border-top-color: rgba(0, 0, 0, 0.25);
- border-bottom-width: 0;
-}
-
-.popover.top .arrow:after {
- bottom: 1px;
- margin-left: -10px;
- border-top-color: #ffffff;
- border-bottom-width: 0;
- content: " ";
-}
-
-.popover.right .arrow {
- top: 50%;
- left: -11px;
- margin-top: -11px;
- border-right-color: #999999;
- border-right-color: rgba(0, 0, 0, 0.25);
- border-left-width: 0;
-}
-
-.popover.right .arrow:after {
- bottom: -10px;
- left: 1px;
- border-right-color: #ffffff;
- border-left-width: 0;
- content: " ";
-}
-
-.popover.bottom .arrow {
- top: -11px;
- left: 50%;
- margin-left: -11px;
- border-bottom-color: #999999;
- border-bottom-color: rgba(0, 0, 0, 0.25);
- border-top-width: 0;
-}
-
-.popover.bottom .arrow:after {
- top: 1px;
- margin-left: -10px;
- border-bottom-color: #ffffff;
- border-top-width: 0;
- content: " ";
-}
-
-.popover.left .arrow {
- top: 50%;
- right: -11px;
- margin-top: -11px;
- border-left-color: #999999;
- border-left-color: rgba(0, 0, 0, 0.25);
- border-right-width: 0;
-}
-
-.popover.left .arrow:after {
- right: 1px;
- bottom: -10px;
- border-left-color: #ffffff;
- border-right-width: 0;
- content: " ";
-}
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ystep/ystep.js b/uiframe-iui/src/main/resources/webroot/vendor/ystep/ystep.js
deleted file mode 100644
index 6caff335..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/ystep/ystep.js
+++ /dev/null
@@ -1,682 +0,0 @@
-/* ========================================================================
- * Bootstrap: tooltip.js v3.0.3
- * http://getbootstrap.com/javascript/#tooltip
- * Inspired by the original jQuery.tipsy by Jason Frame
- * ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ======================================================================== */
-
-
-+function ($) { "use strict";
-
- // TOOLTIP PUBLIC CLASS DEFINITION
- // ===============================
-
- var Tooltip = function (element, options) {
- this.type =
- this.options =
- this.enabled =
- this.timeout =
- this.hoverState =
- this.$element = null
-
- this.init('tooltip', element, options)
- }
-
- Tooltip.DEFAULTS = {
- animation: true
- , placement: 'top'
- , selector: false
- , template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
- , trigger: 'hover focus'
- , title: ''
- , delay: 0
- , html: false
- , container: false
- }
-
- Tooltip.prototype.init = function (type, element, options) {
- this.enabled = true
- this.type = type
- this.$element = $(element)
- this.options = this.getOptions(options)
-
- var triggers = this.options.trigger.split(' ')
-
- for (var i = triggers.length; i--;) {
- var trigger = triggers[i]
-
- if (trigger == 'click') {
- this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
- } else if (trigger != 'manual') {
- var eventIn = trigger == 'hover' ? 'mouseenter' : 'focus'
- var eventOut = trigger == 'hover' ? 'mouseleave' : 'blur'
-
- this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
- this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
- }
- }
-
- this.options.selector ?
- (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
- this.fixTitle()
- }
-
- Tooltip.prototype.getDefaults = function () {
- return Tooltip.DEFAULTS
- }
-
- Tooltip.prototype.getOptions = function (options) {
- options = $.extend({}, this.getDefaults(), this.$element.data(), options)
-
- if (options.delay && typeof options.delay == 'number') {
- options.delay = {
- show: options.delay
- , hide: options.delay
- }
- }
-
- return options
- }
-
- Tooltip.prototype.getDelegateOptions = function () {
- var options = {}
- var defaults = this.getDefaults()
-
- this._options && $.each(this._options, function (key, value) {
- if (defaults[key] != value) options[key] = value
- })
-
- return options
- }
-
- Tooltip.prototype.enter = function (obj) {
- var self = obj instanceof this.constructor ?
- obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
-
- clearTimeout(self.timeout)
-
- self.hoverState = 'in'
-
- if (!self.options.delay || !self.options.delay.show) return self.show()
-
- self.timeout = setTimeout(function () {
- if (self.hoverState == 'in') self.show()
- }, self.options.delay.show)
- }
-
- Tooltip.prototype.leave = function (obj) {
- var self = obj instanceof this.constructor ?
- obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
-
- clearTimeout(self.timeout)
-
- self.hoverState = 'out'
-
- if (!self.options.delay || !self.options.delay.hide) return self.hide()
-
- self.timeout = setTimeout(function () {
- if (self.hoverState == 'out') self.hide()
- }, self.options.delay.hide)
- }
-
- Tooltip.prototype.show = function () {
- var e = $.Event('show.bs.'+ this.type)
-
- if (this.hasContent() && this.enabled) {
- this.$element.trigger(e)
-
- if (e.isDefaultPrevented()) return
-
- var $tip = this.tip()
-
- this.setContent()
-
- if (this.options.animation) $tip.addClass('fade')
-
- var placement = typeof this.options.placement == 'function' ?
- this.options.placement.call(this, $tip[0], this.$element[0]) :
- this.options.placement
-
- var autoToken = /\s?auto?\s?/i
- var autoPlace = autoToken.test(placement)
- if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
-
- $tip
- .detach()
- .css({ top: 0, left: 0, display: 'block' })
- .addClass(placement)
-
- this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
-
- var pos = this.getPosition()
- var actualWidth = $tip[0].offsetWidth
- var actualHeight = $tip[0].offsetHeight
-
- if (autoPlace) {
- var $parent = this.$element.parent()
-
- var orgPlacement = placement
- var docScroll = document.documentElement.scrollTop || document.body.scrollTop
- var parentWidth = this.options.container == 'body' ? window.innerWidth : $parent.outerWidth()
- var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()
- var parentLeft = this.options.container == 'body' ? 0 : $parent.offset().left
-
- placement = placement == 'bottom' && pos.top + pos.height + actualHeight - docScroll > parentHeight ? 'top' :
- placement == 'top' && pos.top - docScroll - actualHeight < 0 ? 'bottom' :
- placement == 'right' && pos.right + actualWidth > parentWidth ? 'left' :
- placement == 'left' && pos.left - actualWidth < parentLeft ? 'right' :
- placement
-
- $tip
- .removeClass(orgPlacement)
- .addClass(placement)
- }
-
- var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
-
- this.applyPlacement(calculatedOffset, placement)
- this.$element.trigger('shown.bs.' + this.type)
- }
- }
-
- Tooltip.prototype.applyPlacement = function(offset, placement) {
- var replace
- var $tip = this.tip()
- var width = $tip[0].offsetWidth
- var height = $tip[0].offsetHeight
-
- // manually read margins because getBoundingClientRect includes difference
- var marginTop = parseInt($tip.css('margin-top'), 10)
- var marginLeft = parseInt($tip.css('margin-left'), 10)
-
- // we must check for NaN for ie 8/9
- if (isNaN(marginTop)) marginTop = 0
- if (isNaN(marginLeft)) marginLeft = 0
-
- offset.top = offset.top + marginTop
- offset.left = offset.left + marginLeft
-
- $tip
- .offset(offset)
- .addClass('in')
-
- // check to see if placing tip in new offset caused the tip to resize itself
- var actualWidth = $tip[0].offsetWidth
- var actualHeight = $tip[0].offsetHeight
-
- if (placement == 'top' && actualHeight != height) {
- replace = true
- offset.top = offset.top + height - actualHeight
- }
-
- if (/bottom|top/.test(placement)) {
- var delta = 0
-
- if (offset.left < 0) {
- delta = offset.left * -2
- offset.left = 0
-
- $tip.offset(offset)
-
- actualWidth = $tip[0].offsetWidth
- actualHeight = $tip[0].offsetHeight
- }
-
- this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')
- } else {
- this.replaceArrow(actualHeight - height, actualHeight, 'top')
- }
-
- if (replace) $tip.offset(offset)
- }
-
- Tooltip.prototype.replaceArrow = function(delta, dimension, position) {
- this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + "%") : '')
- }
-
- Tooltip.prototype.setContent = function () {
- var $tip = this.tip()
- var title = this.getTitle()
-
- $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
- $tip.removeClass('fade in top bottom left right')
- }
-
- Tooltip.prototype.hide = function () {
- var that = this
- var $tip = this.tip()
- var e = $.Event('hide.bs.' + this.type)
-
- function complete() {
- if (that.hoverState != 'in') $tip.detach()
- }
-
- this.$element.trigger(e)
-
- if (e.isDefaultPrevented()) return
-
- $tip.removeClass('in')
-
- $.support.transition && this.$tip.hasClass('fade') ?
- $tip
- .one($.support.transition.end, complete)
- .emulateTransitionEnd(150) :
- complete()
-
- this.$element.trigger('hidden.bs.' + this.type)
-
- return this
- }
-
- Tooltip.prototype.fixTitle = function () {
- var $e = this.$element
- if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
- $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
- }
- }
-
- Tooltip.prototype.hasContent = function () {
- return this.getTitle()
- }
-
- Tooltip.prototype.getPosition = function () {
- var el = this.$element[0]
- return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
- width: el.offsetWidth
- , height: el.offsetHeight
- }, this.$element.offset())
- }
-
- Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
- return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
- placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 - 20 } :
- placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
- /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
- }
-
- Tooltip.prototype.getTitle = function () {
- var title
- var $e = this.$element
- var o = this.options
-
- title = $e.attr('data-original-title')
- || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
-
- return title
- }
-
- Tooltip.prototype.tip = function () {
- return this.$tip = this.$tip || $(this.options.template)
- }
-
- Tooltip.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')
- }
-
- Tooltip.prototype.validate = function () {
- if (!this.$element[0].parentNode) {
- this.hide()
- this.$element = null
- this.options = null
- }
- }
-
- Tooltip.prototype.enable = function () {
- this.enabled = true
- }
-
- Tooltip.prototype.disable = function () {
- this.enabled = false
- }
-
- Tooltip.prototype.toggleEnabled = function () {
- this.enabled = !this.enabled
- }
-
- Tooltip.prototype.toggle = function (e) {
- var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this
- self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
- }
-
- Tooltip.prototype.destroy = function () {
- this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
- }
-
-
- // TOOLTIP PLUGIN DEFINITION
- // =========================
-
- var old = $.fn.tooltip
-
- $.fn.tooltip = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.tooltip')
- var options = typeof option == 'object' && option
-
- if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.tooltip.Constructor = Tooltip
-
-
- // TOOLTIP NO CONFLICT
- // ===================
-
- $.fn.tooltip.noConflict = function () {
- $.fn.tooltip = old
- return this
- }
-
-}(jQuery);
-
-/* ========================================================================
- * Bootstrap: popover.js v3.0.3
- * http://getbootstrap.com/javascript/#popovers
- * ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ======================================================================== */
-
-
-+function ($) { "use strict";
-
- // POPOVER PUBLIC CLASS DEFINITION
- // ===============================
-
- var Popover = function (element, options) {
- this.init('popover', element, options)
- }
-
- if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
-
- Popover.DEFAULTS = $.extend({} , $.fn.tooltip.Constructor.DEFAULTS, {
- placement: 'right'
- , trigger: 'click'
- , content: ''
- , template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
- })
-
-
- // NOTE: POPOVER EXTENDS tooltip.js
- // ================================
-
- Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
-
- Popover.prototype.constructor = Popover
-
- Popover.prototype.getDefaults = function () {
- return Popover.DEFAULTS
- }
-
- Popover.prototype.setContent = function () {
- var $tip = this.tip()
- var title = this.getTitle()
- var content = this.getContent()
-
- $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
- $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)
-
- $tip.removeClass('fade top bottom left right in')
-
- // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
- // this manually by checking the contents.
- if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
- }
-
- Popover.prototype.hasContent = function () {
- return this.getTitle() || this.getContent()
- }
-
- Popover.prototype.getContent = function () {
- var $e = this.$element
- var o = this.options
-
- return $e.attr('data-content')
- || (typeof o.content == 'function' ?
- o.content.call($e[0]) :
- o.content)
- }
-
- Popover.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find('.arrow')
- }
-
- Popover.prototype.tip = function () {
- if (!this.$tip) this.$tip = $(this.options.template)
- return this.$tip
- }
-
-
- // POPOVER PLUGIN DEFINITION
- // =========================
-
- var old = $.fn.popover
-
- $.fn.popover = function (option) {
- return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.popover')
- var options = typeof option == 'object' && option
-
- if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
- if (typeof option == 'string') data[option]()
- })
- }
-
- $.fn.popover.Constructor = Popover
-
-
- // POPOVER NO CONFLICT
- // ===================
-
- $.fn.popover.noConflict = function () {
- $.fn.popover = old
- return this
- }
-
-}(jQuery);
-
-(function($){
- $.fn.extend({
- //初始化
- loadStep: function(params){
-
- //基础框架
- var baseHtml = "<div class='ystep-container'>"+
- "<ul class='ystep-container-steps'>"+
- "</ul>"+
- "<div class='ystep-progress'>"+
- "<p class='ystep-progress-bar'>"+
- "<span class='ystep-progress-highlight' style='width:0%'>"+
- "</span>"+
- "</p>"+
- "</div>"+
- "</div>";
- //步骤框架
- var stepHtml = "<li class='ystep-step ystep-step-undone' data-container='body' data-toggle='popover' data-placement='top' data-title='' data-content='' data-trigger='hover'>"+
- "</li>";
- //决策器
- var logic = {
- size: {
- small: function($html){
- var stepCount = $html.find("li").length-1,
- containerWidth = (stepCount*65+100)+"px",
- progressWidth = (stepCount*65)+"px";
- $html.css({
- width: containerWidth
- });
- $html.find(".ystep-progress").css({
- width: progressWidth
- });
- $html.find(".ystep-progress-bar").css({
- width: progressWidth
- });
- $html.addClass("ystep-sm");
- },
- large: function($html){
- var stepCount = $html.find("li").length-1,
- containerWidth = (stepCount*100+100)+"px",
- progressWidth = (stepCount*100)+"px";
- $html.css({
- width: containerWidth
- });
- $html.find(".ystep-progress").css({
- width: progressWidth
- });
- $html.find(".ystep-progress-bar").css({
- width: progressWidth
- });
- $html.addClass("ystep-lg");
- }
- },
- color: {
- green: function($html){
- $html.addClass("ystep-green");
- },
- blue: function($html){
- $html.addClass("ystep-blue");
- }
- }
- };
-
- //支持填充多个步骤容器
- $(this).each(function(i,n){
- var $baseHtml = $(baseHtml),
- $stepHtml = $(stepHtml),
- $ystepContainerSteps = $baseHtml.find(".ystep-container-steps"),
- arrayLength = 0,
- $n = $(n),
- i=0;
-
- //步骤
- arrayLength = params.steps.length;
- for(i=0;i<arrayLength;i++){
- var _s = params.steps[i];
- //构造步骤html
- $stepHtml.attr("data-title",_s.title);
- $stepHtml.attr("data-content",_s.content);
- $stepHtml.text(_s.title);
- //将步骤插入到步骤列表中
- $ystepContainerSteps.append($stepHtml);
- //重置步骤
- $stepHtml = $(stepHtml);
- }
-
- //尺寸
- logic.size[params.size||"small"]($baseHtml);
- //配色
- logic.color[params.color||"green"]($baseHtml);
-
- //插入到容器中
- $n.append($baseHtml);
- //渲染提示气泡
- $n.find(".ystep-step").popover({});
- //默认执行第一个步骤
- $n.setStep(1);
- });
- },
- //跳转到指定步骤
- setStep: function(step) {
- $(this).each(function(i,n){
- //获取当前容器下所有的步骤
- var $steps = $(n).find(".ystep-container").find("li");
- var $progress =$(n).find(".ystep-container").find(".ystep-progress-highlight");
- //判断当前步骤是否在范围内
- if(1<=step && step<=$steps.length){
- //更新进度
- var scale = "%";
- scale = Math.round((step-1)*100/($steps.length-1))+scale;
- $progress.animate({
- width: scale
- },{
- speed: 1000,
- done: function() {
- //移动节点
- $steps.each(function(j,m){
- var _$m = $(m);
- var _j = j+1;
- if(_j < step){
- _$m.attr("class","ystep-step-done");
- }else if(_j === step){
- _$m.attr("class","ystep-step-active");
- }else if(_j > step){
- _$m.attr("class","ystep-step-undone");
- }
- });
- }
- });
- }else{
- return false;
- }
- });
- },
- //获取当前步骤
- getStep: function() {
- var result = [];
-
- $(this)._searchStep(function(i,j,n,m){
- result.push(j+1);
- });
-
- if(result.length == 1) {
- return result[0];
- }else{
- return result;
- }
- },
- //下一个步骤
- nextStep: function() {
- $(this)._searchStep(function(i,j,n,m){
- $(n).setStep(j+2);
- });
- },
- //上一个步骤
- prevStep: function() {
- $(this)._searchStep(function(i,j,n,m){
- $(n).setStep(j);
- });
- },
- //通用节点查找
- _searchStep: function (callback) {
- $(this).each(function(i,n){
- var $steps = $(n).find(".ystep-container").find("li");
- $steps.each(function(j,m){
- //判断是否为活动步骤
- if($(m).attr("class") === "ystep-step-active"){
- if(callback){
- callback(i,j,n,m);
- }
- return false;
- }
- });
- });
- }
- });
-})(jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/QUI 框架介绍.txt b/uiframe-iui/src/main/resources/webroot/vendor/zTree/QUI 框架介绍.txt
deleted file mode 100644
index 3b52aeb9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/QUI 框架介绍.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-
-ϲ zTree־ȱϵͳԣԿһ QUI ܣ QUIʵһҵͬʱ zTree չʹӼ㡣
-
-QUIַhttp://www.quickui.net
-
-Ҫ QUI ûڹǰ֪ zTree ûԻøŻݵļ۸ \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/README.md b/uiframe-iui/src/main/resources/webroot/vendor/zTree/README.md
deleted file mode 100644
index 21ed4672..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/README.md
+++ /dev/null
@@ -1,48 +0,0 @@
-jQuery Tree Plugin ---- zTree
-============
-last verson : 3.5.16
-
-
-**Donate to zTree** : http://www.ztree.me/v3/donate.php
-
-
-zTree API : http://www.ztree.me/v3/api.php
-
-
-zTree Demo : http://www.ztree.me/v3/demo.php
-
-
-Introduction of zTree (简介)
-============
-* zTree is a multi-functional "tree plug-ins." based on jQuery. The main advantages of zTree includes excellent performance, flexible configuration, and the combination of multiple functions.
-(zTree 是一个依靠 jQuery 实现的多功能 “树插件”。优异的性能、灵活的配置、多种功能的组合是 zTree 最大优点。)
-
-* zTree is a free tree plug-in and uses the MIT license.
-(zTree 是开源免费的软件, 使用 MIT 许可证)
-
-* The code of zTree v3.x has been seperated according to the various functions. You can only load the code you need.
-(zTree v3.x 将核心代码按照功能进行了分割,不需要的代码可以不用加载)
-* zTree v3.x uses delay loading technique, which can easily load tens of thousands of nodes in seconds even in IE6 browser.
-(采用了 延迟加载 技术,上万节点轻松加载,即使在 IE6 下也能基本做到秒杀)
-* Compatible with IE, FireFox?, Chrome, Opera, Safari and other browsers.
-(兼容 IE、FireFox?、Chrome、Opera、Safari 等浏览器)
-* Support for JSON data.
-(支持 JSON 数据)
-* Support for static and asynchronous data loading node.
-(支持静态 和 Ajax 异步加载节点数据)
-* Replace the skin / custom icon flexibllly.
-(支持任意更换皮肤 / 自定义图标)
-* Support extremely flexible checkbox or radio selection function.
-(支持极其灵活的 checkbox 或 radio 选择功能)
-* Provide enough incident response callback.
-(提供多种事件响应回调)
-* Flexible editing (add / delete / change / search) functions, such as drag and drop nodes,you can even drag and drop multiple nodes.
-(灵活的编辑(增/删/改/查)功能,可随意拖拽节点,还可以多节点拖拽哟)
-* Enable to generate multiple instances of zTree in one page.
-(在一个页面内可同时生成多个 Tree 实例)
-* Simple parameters to achieve flexible configuration capabilities.
-(简单的参数配置实现 灵活多变的功能)
-* To enhance performance, zTree transforms the js & css structure to provide excellent browser compatibility and make the development more easily
-(zTree v3.x(JQuery Tree 插件),性能全面提升,js & css 架构全面调整,提供更好的兼容性和易开发性)
-
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/API_cn.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/API_cn.html
deleted file mode 100644
index bcd660e4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/API_cn.html
+++ /dev/null
@@ -1,103 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>API 文档 [zTree -- jQuery 树插件]</title>
- <link rel="stylesheet" href="apiCss/common.css" type="text/css">
- <link rel='stylesheet' href='apiCss/zTreeStyleForApi.css' type='text/css'>
- <script type="text/javascript">
- var ie = (function(){
- var undef,
- v = 3,
- div = document.createElement('div'),
- all = div.getElementsByTagName('i');
- while (
- div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->',
- all[0]
- );
- return v > 4 ? v : undef;
- }()), ie6 = (ie === 6),
- path = window.location.pathname.replace(/.*\/([^\/\.]*)\..*/g,"$1"),
- langLib = [];
- ie = ie<9;
- if(ie) {
- document.write('<link rel="stylesheet" href="apiCss/common_ie6.css" type="text/css">');
- }
- var lang = "cn",
- ajaxMsg = "如果你使用的是 Chrome 浏览器,那么请把 API 文档发布到 web 服务目录下访问。\n\n(Chrome 浏览器不支持本地 ajax 访问, 即:file://)";
-
- </script>
- </head>
- <body>
- <div id="header_wrap" class="header_wrap" style="padding-top: 30px;">
- <div id="header" class="header round">
- <div class="light-bulb" alt=""></div>
- <div class="ieSuggest">浏览本网站建议您使用 Chrome、FireFox、Opera、IE9 等浏览器(只要不是 IE6 7 8 就行), 速度会更快,画面会更炫!</div>
- <div class="google_plus"><g:plusone></g:plusone></div>
- <div class="header-text">
- <h1><em>zTree v3.5.16 API 文档</em></h1><p></p>
- <p>all.js = core + excheck + exedit ( 不包括 exhide ); 发现错误请及时通知,谢谢。</p>
- </div>
- <ul class="shortcuts language" style="top:0;">
- <li><a href="API_en.html" onclick="window.location.href='API_en.html'"><button class="ico en" title="英文版" type="button"></button><span class=""></span></a></li>
- </ul>
- </div>
- </div>
- <div id="content_wrap" class="content_wrap">
- <div id="content" class="content">
- <div class="nav_section">
- <ul>
- <li class="first">注释:</li>
- <li><button class="ico16 z_core" onfocus="this.blur();"></button><span>core 核心包</span></li>
- <li><button class="ico16 z_check" onfocus="this.blur();"></button><span>excheck 扩展</span></li>
- <li><button class="ico16 z_edit" onfocus="this.blur();"></button><span>exedit 扩展</span></li>
- <li><button class="ico16 z_hide" onfocus="this.blur();"></button><span>exhide 扩展</span></li>
- <li class="noline">
- <button class="ico16 z_search" onfocus="this.blur();" title="Enter 以及 左、右键可以快速定位查找结果"></button>
- <input type="text" class="searchKey search empty" value=""><input type="text" class="searchResult search" value="">
- <button class="ico16 searchPrev disabled" onfocus="this.blur();" title="Enter 以及 左、右键可以快速定位查找结果"></button><button class="ico16 searchNext disabled" onfocus="this.blur();" title="Enter 以及 左、右键可以快速定位查找结果"></button>
- </li>
- </ul>
- </div>
-
- <div id="contentBox" class="contentBox round clearfix">
- <div id="apiContent" class="apiContent">
- <div id="api_setting" class="api_setting left">
- <ul class="api_content_title"><li>setting 配置详解</li></ul>
- <ul id="settingTree" class="ztree"></ul>
- </div>
- <div id="api_function" class="api_function right">
- <ul class="api_content_title"><li>zTree 方法详解</li></ul>
- <ul id="functionTree" class="ztree"></ul>
- <ul class="api_content_title"><li>treeNode 节点数据详解</li></ul>
- <ul id="treenodeTree" class="ztree"></ul>
- </div>
- </div>
- </div>
- <div class="clear"></div>
- </div>
- </div>
-
- <!-- overlayed -->
- <div id="overlayDiv" class="baby_overlay">
- <div id="overlayContent" class="content round clearfix">
- <div class="overlaySearch">
- <button class="ico16 z_search" onfocus="this.blur();" title="Enter 以及 左、右键可以快速定位查找结果"></button>
- <input type="text" class="searchKey search empty" value=""><input type="text" class="searchResult search" value="">
- <button class="ico16 searchPrev disabled" onfocus="this.blur();" title="Enter 以及 左、右键可以快速定位查找结果"></button><button class="ico16 searchNext disabled" onfocus="this.blur();" title="Enter 以及 左、右键可以快速定位查找结果"></button>
- </div>
- <a id="overlayDivCloseBtn" class="close"></a>
- <div id="overlayDetailDiv" class="details"></div>
- </div>
- <div id="overlayDivArrow" class="baby_overlay_arrow"></div>
- </div>
- <script type="text/javascript" src="apiCss/jquery-1.6.2.min.js"></script>
- <script type='text/javascript' src='apiCss/jquery.ztree.core-3.5.js'></script>
- <script type='text/javascript' src='apiCss/api.js'></script>
- <script type="text/javascript">
- $(document).ready(function(){
- apiContent._init();
- });
- </script>
- </body>
-</html> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/API_en.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/API_en.html
deleted file mode 100644
index 42a82949..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/API_en.html
+++ /dev/null
@@ -1,102 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>API Document [zTree -- jQuery tree plug-ins.]</title>
- <link rel="stylesheet" href="apiCss/common.css" type="text/css">
- <link rel='stylesheet' href='apiCss/zTreeStyleForApi.css' type='text/css'>
- <script type="text/javascript">
- var ie = (function(){
- var undef,
- v = 3,
- div = document.createElement('div'),
- all = div.getElementsByTagName('i');
- while (
- div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->',
- all[0]
- );
- return v > 4 ? v : undef;
- }()), ie6 = (ie === 6),
- path = window.location.pathname.replace(/.*\/([^\/\.]*)\..*/g,"$1"),
- langLib = [];
- ie = ie<9;
- if(ie) {
- document.write('<link rel="stylesheet" href="apiCss/common_ie6.css" type="text/css">');
- }
- var lang = "en",
- ajaxMsg = "If you use chrome browser, please copy the API files to local webserver. \n\n( because chrome browser can't allow AJAX access to 'file://' )";
- </script>
- </head>
- <body>
- <div id="header_wrap" class="header_wrap" style="padding-top: 30px;">
- <div id="header" class="header round">
- <div class="light-bulb" alt=""></div>
- <div class="ieSuggest">If you use the Chrome / FireFox / Opera / IE9 browser will be even more dazzling effect!</div>
- <div class="google_plus"><g:plusone></g:plusone></div>
- <div class="header-text">
- <h1><em>zTree v3.5.16 API Document</em></h1><p></p>
- <p>all.js = core + excheck + exedit ( without exhide ); if you found some mistakes please contact me.</p>
- </div>
- <ul class="shortcuts language" style="top:0;">
- <li><a href="API_cn.html" onclick="window.location.href='API_cn.html'"><button class="ico cn" title="Chinese" type="button"></button><span class=""></span></a></li>
- </ul>
- </div>
- </div>
- <div id="content_wrap" class="content_wrap">
- <div id="content" class="content">
- <div class="nav_section">
- <ul>
- <li class="first">Notes: </li>
- <li><button class="ico16 z_core" onfocus="this.blur();"></button><span>core package</span></li>
- <li><button class="ico16 z_check" onfocus="this.blur();"></button><span>excheck pack</span></li>
- <li><button class="ico16 z_edit" onfocus="this.blur();"></button><span>exedit pack</span></li>
- <li><button class="ico16 z_hide" onfocus="this.blur();"></button><span>exhide pack</span></li>
- <li class="noline">
- <button class="ico16 z_search" onfocus="this.blur();" title="'Enter', 'left' and 'right' key can locate the search results quickly."></button>
- <input type="text" class="searchKey search empty" value=""><input type="text" class="searchResult search" value="">
- <button class="ico16 searchPrev disabled" onfocus="this.blur();" title="'Enter', 'left' and 'right' key can locate the search results quickly."></button><button class="ico16 searchNext disabled" onfocus="this.blur();" title="'Enter', 'left' and 'right' key can locate the search results quickly."></button>
- </li>
- </ul>
- </div>
-
- <div id="contentBox" class="contentBox round clearfix">
- <div id="apiContent" class="apiContent">
- <div id="api_setting" class="api_setting left">
- <ul class="api_content_title"><li>setting details</li></ul>
- <ul id="settingTree" class="ztree"></ul>
- </div>
- <div id="api_function" class="api_function right">
- <ul class="api_content_title"><li>zTree method details</li></ul>
- <ul id="functionTree" class="ztree"></ul>
- <ul class="api_content_title"><li>treeNode data details</li></ul>
- <ul id="treenodeTree" class="ztree"></ul>
- </div>
- </div>
- </div>
- <div class="clear"></div>
- </div>
- </div>
-
- <!-- overlayed -->
- <div id="overlayDiv" class="baby_overlay">
- <div id="overlayContent" class="content round clearfix">
- <div class="overlaySearch">
- <button class="ico16 z_search" onfocus="this.blur();" title="'Enter', 'left' and 'right' key can locate the search results quickly."></button>
- <input type="text" class="searchKey search empty" value=""><input type="text" class="searchResult search" value="">
- <button class="ico16 searchPrev disabled" onfocus="this.blur();" title="'Enter', 'left' and 'right' key can locate the search results quickly."></button><button class="ico16 searchNext disabled" onfocus="this.blur();" title="'Enter', 'left' and 'right' key can locate the search results quickly."></button>
- </div>
- <a id="overlayDivCloseBtn" class="close"></a>
- <div id="overlayDetailDiv" class="details"></div>
- </div>
- <div id="overlayDivArrow" class="baby_overlay_arrow"></div>
- </div>
- <script type="text/javascript" src="apiCss/jquery-1.6.2.min.js"></script>
- <script type='text/javascript' src='apiCss/jquery.ztree.core-3.5.js'></script>
- <script type='text/javascript' src='apiCss/api.js'></script>
- <script type="text/javascript">
- $(document).ready(function(){
- apiContent._init();
- });
- </script>
- </body>
-</html> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/api.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/api.js
deleted file mode 100644
index e1c4a739..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/api.js
+++ /dev/null
@@ -1,592 +0,0 @@
-var apiContent = {
- zTree_Setting: null,
- zTree_Node: null,
- zTree_Function: null,
- overlayDiv : null,
- overlayContent : null,
- overlayDetailDiv : null,
- overlayCloseBtn: null,
- overlayArrow: null,
- contentBoxDiv : null,
- settingDiv : null,
- functionDiv : null,
- overlaySearch: null,
- searchKey: null,
- searchResultInput: null,
- searchPrevBtn: null,
- searchNextBtn: null,
- apiCache: {},
- lastValue: "",
- searchNodes: [],
- searchNodesCur: 0,
-
- _init: function() {
- this.overlayDiv = $("#overlayDiv");
- this.overlayContent = $("#overlayContent");
- this.overlayDetailDiv = $("#overlayDetailDiv");
- this.overlayCloseBtn = $("#overlayDivCloseBtn");
- this.overlayArrow = $("#overlayDivArrow");
- this.contentBoxDiv = $("#contentBox");
- this.settingDiv = $("#api_setting");
- this.functionDiv = $("#api_function");
- this.searchKey = $(".searchKey");
- this.overlaySearch = $(".overlaySearch");
- this.searchResultInput = $(".searchResult");
- this.searchPrevBtn = $(".searchPrev");
- this.searchNextBtn = $(".searchNext");
- var setting = {
- view: {
- fontCss: this.getFontCss,
- showLine: false,
- showIcon: this.showIcon,
- showTitle: this.getTitle,
- selectedMulti: false,
- dblClickExpand: false
- },
- data: {
- key: {
- title: "tt"
- },
- simpleData: {
- enable:true,
- idKey: "id",
- pIdKey: "pId",
- rootPId: ""
- }
- },
- callback: {
- onNodeCreated: this.onNodeCreated,
- beforeClick: this.beforeClick
- }
- };
- var setting_nodes =[
- {id:1, pId:0, t:"setting", name:"var setting = {", open:true},
- {id:11, pId:1, t:"treeId", name:"treeId : \"\",", iconSkin:"core", showAPI:true},
- {id:12, pId:1, t:"treeObj", name:"treeObj : null,", iconSkin:"core", showAPI:true},
- {id:121, pId:1, name:""},
-
- {id:20, pId:1, t:"async", name:"async : {", open:true},
- {id:201, pId:20, t:"autoParam", name:"autoParam : [],", iconSkin:"core", showAPI:true},
- {id:208, pId:20, t:"contentType", name:"contentType : \"application...\",", iconSkin:"core", showAPI:true},
- {id:202, pId:20, t:"dataFilter", name:"dataFilter : null,", iconSkin:"core", showAPI:true},
- {id:203, pId:20, t:"dataType", name:"dataType : \"text\",", iconSkin:"core", showAPI:true},
- {id:204, pId:20, t:"enable", name:"enable : false,", iconSkin:"core", showAPI:true},
- {id:205, pId:20, t:"otherParam", name:"otherParam : [],", iconSkin:"core", showAPI:true},
- {id:206, pId:20, t:"type", name:"type : \"post\",", iconSkin:"core", showAPI:true},
- {id:207, pId:20, t:"url", name:"url : \"\"", iconSkin:"core", showAPI:true},
- {id:21, pId:1, name:"},"},
- {id:22, pId:1, name:""},
-
- {id:30, pId:1, t:"callback", name:"callback : {", open:true},
- {id:3001, pId:30, t:"beforeAsync", name:"beforeAsync : null,", iconSkin:"core", showAPI:true},
- {id:3002, pId:30, t:"beforeCheck", name:"beforeCheck : null,", iconSkin:"check", showAPI:true},
- {id:3003, pId:30, t:"beforeClick", name:"beforeClick : null,", iconSkin:"core", showAPI:true},
- {id:3004, pId:30, t:"beforeCollapse", name:"beforeCollapse : null,", iconSkin:"core", showAPI:true},
- {id:3004, pId:30, t:"beforeDblClick", name:"beforeDblClick : null,", iconSkin:"core", showAPI:true},
- {id:3005, pId:30, t:"beforeDrag", name:"beforeDrag : null,", iconSkin:"edit", showAPI:true},
- {id:3006, pId:30, t:"beforeDragOpen", name:"beforeDragOpen : null,", iconSkin:"edit", showAPI:true},
- {id:3007, pId:30, t:"beforeDrop", name:"beforeDrop : null,", iconSkin:"edit", showAPI:true},
- {id:3029, pId:30, t:"beforeEditName", name:"beforeEditName : null,", iconSkin:"edit", showAPI:true},
- {id:3008, pId:30, t:"beforeExpand", name:"beforeExpand : null,", iconSkin:"core", showAPI:true},
- {id:3009, pId:30, t:"beforeMouseDown", name:"beforeMouseDown : null,", iconSkin:"core", showAPI:true},
- {id:3010, pId:30, t:"beforeMouseUp", name:"beforeMouseUp : null,", iconSkin:"core", showAPI:true},
- {id:3011, pId:30, t:"beforeRemove", name:"beforeRemove : null,", iconSkin:"edit", showAPI:true},
- {id:3012, pId:30, t:"beforeRename", name:"beforeRename : null,", iconSkin:"edit", showAPI:true},
- {id:3013, pId:30, t:"beforeRightClick", name:"beforeRightClick : null,", iconSkin:"core", showAPI:true},
- {id:3014, pId:30, name:""},
- {id:3015, pId:30, t:"onAsyncError", name:"onAsyncError : null,", iconSkin:"core", showAPI:true},
- {id:3016, pId:30, t:"onAsyncSuccess", name:"onAsyncSuccess : null,", iconSkin:"core", showAPI:true},
- {id:3017, pId:30, t:"onCheck", name:"onCheck : null,", iconSkin:"check", showAPI:true},
- {id:3018, pId:30, t:"onClick", name:"onClick : null,", iconSkin:"core", showAPI:true},
- {id:3019, pId:30, t:"onCollapse", name:"onCollapse : null,", iconSkin:"core", showAPI:true},
- {id:3029, pId:30, t:"onDblClick", name:"onDblClick : null,", iconSkin:"core", showAPI:true},
- {id:3020, pId:30, t:"onDrag", name:"onDrag : null,", iconSkin:"edit", showAPI:true},
- {id:3030, pId:30, t:"onDragMove", name:"onDragMove : null,", iconSkin:"edit", showAPI:true},
- {id:3021, pId:30, t:"onDrop", name:"onDrop : null,", iconSkin:"edit", showAPI:true},
- {id:3022, pId:30, t:"onExpand", name:"onExpand : null,", iconSkin:"core", showAPI:true},
- {id:3023, pId:30, t:"onMouseDown", name:"onMouseDown : null,", iconSkin:"core", showAPI:true},
- {id:3024, pId:30, t:"onMouseUp", name:"onMouseUp : null,", iconSkin:"core", showAPI:true},
- {id:3025, pId:30, t:"onNodeCreated", name:"onNodeCreated : null,", iconSkin:"core", showAPI:true},
- {id:3026, pId:30, t:"onRemove", name:"onRemove : null,", iconSkin:"edit", showAPI:true},
- {id:3027, pId:30, t:"onRename", name:"onRename : null,", iconSkin:"edit", showAPI:true},
- {id:3028, pId:30, t:"onRightClick", name:"onRightClick : null", iconSkin:"core", showAPI:true},
- {id:31, pId:1, name:"},"},
- {id:32, pId:1, name:""},
-
- {id:40, pId:1, t:"check", name:"check : {", open:true},
- {id:405, pId:40, t:"autoCheckTrigger", name:"autoCheckTrigger : false,", iconSkin:"check", showAPI:true},
- {id:401, pId:40, t:"chkboxType", name:"chkboxType : {\"Y\": \"ps\", \"N\": \"ps\"},", iconSkin:"check", showAPI:true},
- {id:402, pId:40, t:"chkStyle", name:"chkStyle : \"checkbox\",", iconSkin:"check", showAPI:true},
- {id:403, pId:40, t:"enable", name:"enable : false,", iconSkin:"check", showAPI:true},
- {id:406, pId:40, t:"nocheckInherit", name:"nocheckInherit : false", iconSkin:"check", showAPI:true},
- {id:407, pId:40, t:"chkDisabledInherit", name:"chkDisabledInherit : false", iconSkin:"check", showAPI:true},
- {id:404, pId:40, t:"radioType", name:"radioType : \"level\"", iconSkin:"check", showAPI:true},
- {id:41, pId:1, name:"},"},
- {id:42, pId:1, name:""},
-
- {id:50, pId:1, t:"data", name:"data : {", open:true},
- {id:500, pId:50, t:"keep", name:"keep : {", open:true},
- {id:5001, pId:500, t:"leaf", name:"leaf : false,", iconSkin:"core", showAPI:true},
- {id:5002, pId:500, t:"parent", name:"parent : false", iconSkin:"core", showAPI:true},
- {id:501, pId:50, name:"},"},
-
- {id:510, pId:50, t:"key", name:"key : {", open:true},
- {id:5101, pId:510, t:"checked", name:"checked : \"checked\",", iconSkin:"check", showAPI:true},
- {id:5102, pId:510, t:"children", name:"children : \"children\",", iconSkin:"core", showAPI:true},
- {id:5103, pId:510, t:"name", name:"name : \"name\",", iconSkin:"core", showAPI:true},
- {id:5104, pId:510, t:"title", name:"title : \"\"", iconSkin:"core", showAPI:true},
- {id:5105, pId:510, t:"url", name:"url : \"url\"", iconSkin:"core", showAPI:true},
- {id:511, pId:50, name:"},"},
-
- {id:520, pId:50, t:"simpleData", name:"simpleData : {", open:true},
- {id:5201, pId:520, t:"enable", name:"enable : false,", iconSkin:"core", showAPI:true},
- {id:5202, pId:520, t:"idKey", name:"idKey : \"id\",", iconSkin:"core", showAPI:true},
- {id:5203, pId:520, t:"pIdKey", name:"pIdKey : \"pId\",", iconSkin:"core", showAPI:true},
- {id:5204, pId:520, t:"rootPId", name:"rootPId : null", iconSkin:"core", showAPI:true},
- {id:521, pId:50, name:"}"},
- {id:51, pId:1, name:"},"},
- {id:52, pId:1, name:""},
-
- {id:60, pId:1, t:"edit", name:"edit : {", open:true},
- {id:601, pId:60, t:"drag", name:"drag : {", open:true},
- {id:60111, pId:601, t:"autoExpandTrigger", name:"autoExpandTrigger : true,", iconSkin:"edit", showAPI:true},
- {id:60101, pId:601, t:"isCopy", name:"isCopy : true,", iconSkin:"edit", showAPI:true},
- {id:60102, pId:601, t:"isMove", name:"isMove : true,", iconSkin:"edit", showAPI:true},
- {id:60103, pId:601, t:"prev", name:"prev : true,", iconSkin:"edit", showAPI:true},
- {id:60104, pId:601, t:"next", name:"next : true,", iconSkin:"edit", showAPI:true},
- {id:60105, pId:601, t:"inner", name:"inner : true,", iconSkin:"edit", showAPI:true},
- {id:60107, pId:601, t:"borderMax", name:"borderMax : 10,", iconSkin:"edit", showAPI:true},
- {id:60108, pId:601, t:"borderMin", name:"borderMin : -5,", iconSkin:"edit", showAPI:true},
- {id:60106, pId:601, t:"minMoveSize", name:"minMoveSize : 5,", iconSkin:"edit", showAPI:true},
- {id:60109, pId:601, t:"maxShowNodeNum", name:"maxShowNodeNum : 5,", iconSkin:"edit", showAPI:true},
- {id:60110, pId:601, t:"autoOpenTime", name:"autoOpenTime : 500", iconSkin:"edit", showAPI:true},
- {id:602, pId:60, name:"},"},
- {id:608, pId:60, t:"editNameSelectAll", name:"editNameSelectAll : false,", iconSkin:"edit", showAPI:true},
- {id:603, pId:60, t:"enable", name:"enable : false,", iconSkin:"edit", showAPI:true},
- {id:604, pId:60, t:"removeTitle", name:"removeTitle : \"remove\",", iconSkin:"edit", showAPI:true},
- {id:605, pId:60, t:"renameTitle", name:"renameTitle : \"rename\",", iconSkin:"edit", showAPI:true},
- {id:606, pId:60, t:"showRemoveBtn", name:"showRemoveBtn : true,", iconSkin:"edit", showAPI:true},
- {id:607, pId:60, t:"showRenameBtn", name:"showRenameBtn : true", iconSkin:"edit", showAPI:true},
- {id:61, pId:1, name:"},"},
- {id:62, pId:1, name:""},
-
- {id:70, pId:1, t:"view", name:"view : {", open:true},
- {id:7001, pId:70, t:"addDiyDom", name:"addDiyDom : null,", iconSkin:"core", showAPI:true},
- {id:7002, pId:70, t:"addHoverDom", name:"addHoverDom : null,", iconSkin:"edit", showAPI:true},
- {id:7003, pId:70, t:"autoCancelSelected", name:"autoCancelSelected : true,", iconSkin:"core", showAPI:true},
- {id:7004, pId:70, t:"dblClickExpand", name:"dblClickExpand : true,", iconSkin:"core", showAPI:true},
- {id:7005, pId:70, t:"expandSpeed", name:"expandSpeed : \"fast\",", iconSkin:"core", showAPI:true},
- {id:7006, pId:70, t:"fontCss", name:"fontCss : {},", iconSkin:"core", showAPI:true},
- {id:7012, pId:70, t:"nameIsHTML", name:"nameIsHTML : false,", iconSkin:"core", showAPI:true},
- {id:7007, pId:70, t:"removeHoverDom", name:"removeHoverDom : null,", iconSkin:"edit", showAPI:true},
- {id:7008, pId:70, t:"selectedMulti", name:"selectedMulti : true,", iconSkin:"core", showAPI:true},
- {id:7009, pId:70, t:"showIcon", name:"showIcon : true,", iconSkin:"core", showAPI:true},
- {id:7010, pId:70, t:"showLine", name:"showLine : true,", iconSkin:"core", showAPI:true},
- {id:7011, pId:70, t:"showTitle", name:"showTitle : true,", iconSkin:"core", showAPI:true},
- {id:7012, pId:70, t:"txtSelectedEnable", name:"txtSelectedEnable : false", iconSkin:"core", showAPI:true},
- {id:71, pId:1, name:"}"},
-
- {id:2, pId:0, name:"}"}
- ];
-
- var treenode_nodes =[
- {id:1, pId:0, t:"treeNode", name:"treeNode : {", open:true},
- {id:101, pId:1, t:"checked", name:"checked", iconSkin:"check", showAPI:true},
- {id:102, pId:1, t:"children", name:"children", iconSkin:"core", showAPI:true},
- {id:128, pId:1, t:"chkDisabled", name:"chkDisabled", iconSkin:"check", showAPI:true},
- {id:127, pId:1, t:"click", name:"click", iconSkin:"core", showAPI:true},
- {id:103, pId:1, t:"getCheckStatus", name:"getCheckStatus ()", iconSkin:"check", showAPI:true},
- {id:104, pId:1, t:"getNextNode", name:"getNextNode ()", iconSkin:"core", showAPI:true},
- {id:105, pId:1, t:"getParentNode", name:"getParentNode ()", iconSkin:"core", showAPI:true},
- {id:106, pId:1, t:"getPreNode", name:"getPreNode ()", iconSkin:"core", showAPI:true},
- {id:129, pId:1, t:"halfCheck", name:"halfCheck", iconSkin:"check", showAPI:true},
- {id:107, pId:1, t:"icon", name:"icon", iconSkin:"core", showAPI:true},
- {id:108, pId:1, t:"iconClose", name:"iconClose", iconSkin:"core", showAPI:true},
- {id:109, pId:1, t:"iconOpen", name:"iconOpen", iconSkin:"core", showAPI:true},
- {id:110, pId:1, t:"iconSkin", name:"iconSkin", iconSkin:"core", showAPI:true},
- {id:131, pId:1, t:"isHidden", name:"isHidden", iconSkin:"hide", showAPI:true},
- {id:111, pId:1, t:"isParent", name:"isParent", iconSkin:"core", showAPI:true},
- {id:132, pId:1, t:"name", name:"name", iconSkin:"core", showAPI:true},
- {id:112, pId:1, t:"nocheck", name:"nocheck", iconSkin:"check", showAPI:true},
- {id:113, pId:1, t:"open", name:"open", iconSkin:"core", showAPI:true},
- {id:133, pId:1, t:"target", name:"target", iconSkin:"core", showAPI:true},
- {id:134, pId:1, t:"url", name:"url", iconSkin:"core", showAPI:true},
- {id:114, pId:1, t:"diy", name:"*DIY*", iconSkin:"core", showAPI:true},
- {id:115, pId:1, name:""},
- {id:116, pId:1, t:"check_Child_State", name:"[check_Child_State]", iconSkin:"check", showAPI:true},
- {id:117, pId:1, t:"check_Focus", name:"[check_Focus]", iconSkin:"check", showAPI:true},
- {id:118, pId:1, t:"checkedOld", name:"[checkedOld]", iconSkin:"check", showAPI:true},
- {id:119, pId:1, t:"editNameFlag", name:"[editNameFlag]", iconSkin:"edit", showAPI:true},
- {id:120, pId:1, t:"isAjaxing", name:"[isAjaxing]", iconSkin:"core", showAPI:true},
- {id:121, pId:1, t:"isFirstNode", name:"[isFirstNode]", iconSkin:"core", showAPI:true},
- {id:122, pId:1, t:"isHover", name:"[isHover]", iconSkin:"edit", showAPI:true},
- {id:123, pId:1, t:"isLastNode", name:"[isLastNode]", iconSkin:"core", showAPI:true},
- {id:124, pId:1, t:"level", name:"[level]", iconSkin:"core", showAPI:true},
- {id:125, pId:1, t:"parentTId", name:"[parentTId]", iconSkin:"core", showAPI:true},
- {id:126, pId:1, t:"tId", name:"[tId]", iconSkin:"core", showAPI:true},
- {id:130, pId:1, t:"zAsync", name:"[zAsync]", iconSkin:"core", showAPI:true},
- {id:2, pId:0, name:"}"}
- ];
-
- var function_nodes =[
- {id:1, pId:0, t:"$.fn.zTree", name:"$.fn.zTree : {", open:true},
- {id:11, pId:1, t:"init", name:"init (obj, zSetting, zNodes)", iconSkin:"core", showAPI:true},
- {id:12, pId:1, t:"getZTreeObj", name:"getZTreeObj (treeId)", iconSkin:"core", showAPI:true},
- {id:14, pId:1, t:"destroy", name:"destroy (treeId)", iconSkin:"core", showAPI:true},
- {id:13, pId:1, t:"_z", name:"_z : {tools, view, event, data}", iconSkin:"core", showAPI:true},
- {id:2, pId:0, name:"}"},
- {id:3, pId:0, name:""},
- {id:4, pId:0, t:"zTreeObj", name:"zTreeObj : {", open:true},
- {id:401, pId:4, t:"setting", name:"setting", iconSkin:"core", showAPI:true},
- {id:402, pId:4, t:"addNodes", name:"addNodes (parentNode, newNodes, isSilent)", iconSkin:"core", showAPI:true},
- {id:403, pId:4, t:"cancelEditName", name:"cancelEditName (newName)", iconSkin:"edit", showAPI:true},
- {id:404, pId:4, t:"cancelSelectedNode", name:"cancelSelectedNode (node)", iconSkin:"core", showAPI:true},
- {id:405, pId:4, t:"checkAllNodes", name:"checkAllNodes (checked)", iconSkin:"check", showAPI:true},
- {id:406, pId:4, t:"checkNode", name:"checkNode (node, checked, checkTypeFlag, callbackFlag)", iconSkin:"check", showAPI:true},
- {id:407, pId:4, t:"copyNode", name:"copyNode (targetNode, node, moveType, isSilent)", iconSkin:"edit", showAPI:true},
- {id:436, pId:4, t:"destroy", name:"destroy ()", iconSkin:"core", showAPI:true},
- {id:408, pId:4, t:"editName", name:"editName (node)", iconSkin:"edit", showAPI:true},
- {id:409, pId:4, t:"expandAll", name:"expandAll (expandFlag)", iconSkin:"core", showAPI:true},
- {id:410, pId:4, t:"expandNode", name:"expandNode (node, expandFlag, sonSign, focus, callbackFlag)", iconSkin:"core", showAPI:true},
- {id:411, pId:4, t:"getChangeCheckedNodes", name:"getChangeCheckedNodes ()", iconSkin:"check", showAPI:true},
- {id:412, pId:4, t:"getCheckedNodes", name:"getCheckedNodes (checked)", iconSkin:"check", showAPI:true},
- {id:413, pId:4, t:"getNodeByParam", name:"getNodeByParam (key, value, parentNode)", iconSkin:"core", showAPI:true},
- {id:414, pId:4, t:"getNodeByTId", name:"getNodeByTId (tId)", iconSkin:"core", showAPI:true},
- {id:415, pId:4, t:"getNodeIndex", name:"getNodeIndex (node)", iconSkin:"core", showAPI:true},
- {id:416, pId:4, t:"getNodes", name:"getNodes ()", iconSkin:"core", showAPI:true},
- {id:431, pId:4, t:"getNodesByFilter", name:"getNodesByFilter (filter, isSingle, parentNode, invokeParam)", iconSkin:"core", showAPI:true},
- {id:417, pId:4, t:"getNodesByParam", name:"getNodesByParam (key, value, parentNode)", iconSkin:"core", showAPI:true},
- {id:418, pId:4, t:"getNodesByParamFuzzy", name:"getNodesByParamFuzzy (key, value, parentNode)", iconSkin:"core", showAPI:true},
- {id:419, pId:4, t:"getSelectedNodes", name:"getSelectedNodes ()", iconSkin:"core", showAPI:true},
- {id:432, pId:4, t:"hideNode", name:"hideNode (node)", iconSkin:"hide", showAPI:true},
- {id:433, pId:4, t:"hideNodes", name:"hideNodes (nodes)", iconSkin:"hide", showAPI:true},
- {id:420, pId:4, t:"moveNode", name:"moveNode (targetNode, node, moveType, isSilent)", iconSkin:"edit", showAPI:true},
- {id:421, pId:4, t:"reAsyncChildNodes", name:"reAsyncChildNodes (parentNode, reloadType, isSilent)", iconSkin:"core", showAPI:true},
- {id:422, pId:4, t:"refresh", name:"refresh ()", iconSkin:"core", showAPI:true},
- {id:423, pId:4, t:"removeChildNodes", name:"removeChildNodes (parentNode)", iconSkin:"core", showAPI:true},
- {id:424, pId:4, t:"removeNode", name:"removeNode (node, callbackFlag)", iconSkin:"core", showAPI:true},
- {id:425, pId:4, t:"selectNode", name:"selectNode (node, addFlag)", iconSkin:"core", showAPI:true},
- {id:430, pId:4, t:"setChkDisabled", name:"setChkDisabled (node, disabled, inheritParent, inheritChildren)", iconSkin:"check", showAPI:true},
- {id:426, pId:4, t:"setEditable", name:"setEditable (editable)", iconSkin:"edit", showAPI:true},
- {id:434, pId:4, t:"showNode", name:"showNode (node)", iconSkin:"hide", showAPI:true},
- {id:435, pId:4, t:"showNodes", name:"showNodes (nodes)", iconSkin:"hide", showAPI:true},
- {id:427, pId:4, t:"transformToArray", name:"transformToArray (nodes)", iconSkin:"core", showAPI:true},
- {id:428, pId:4, t:"transformTozTreeNodes", name:"transformTozTreeNodes (simpleNodes)", iconSkin:"core", showAPI:true},
- {id:429, pId:4, t:"updateNode", name:"updateNode (node, checkTypeFlag)", iconSkin:"core", showAPI:true},
- {id:5, pId:0, name:"}"}
- ];
-
- apiContent.zTree_Setting = $.fn.zTree.init($("#settingTree"), $.fn.zTree._z.tools.clone(setting), setting_nodes);
- apiContent.zTree_Node = $.fn.zTree.init($("#treenodeTree"), $.fn.zTree._z.tools.clone(setting), treenode_nodes);
- apiContent.zTree_Function = $.fn.zTree.init($("#functionTree"), $.fn.zTree._z.tools.clone(setting), function_nodes);
- this.bindEvent();
-
- },
- bindEvent: function() {
- $(document).bind("keydown", this.listenKeyDown)
- this.overlayCloseBtn.bind("click", apiContent.overlayClose);
- this.searchResultInput.bind("click", function(e) {
- $(this).prev().get(0).focus();
- this.blur();
- }).bind("focus", function(e) {
- this.blur();
- });
- this.searchKey.bind("focus", this.focusKey)
- .bind("blur", this.blurKey)
- .bind("propertychange", this.searchNode)
- .bind("input", this.searchNode);
- this.searchPrevBtn.bind("click", this.searchPrev);
- this.searchNextBtn.bind("click", this.searchNext);
- },
- setSameKey: function(value) {
- apiContent.searchKey.attr("value", value);
- },
- focusKey: function(e) {
- if (apiContent.searchKey.hasClass("empty")) {
- apiContent.searchKey.removeClass("empty");
- }
- },
- blurKey: function(e) {
- apiContent.setSameKey(e.target.value);
- if (e.target.value === "") {
- apiContent.searchKey.addClass("empty");
- }
- },
- listenKeyDown: function(e) {
- if (e.keyCode=="13" && apiContent.overlayDiv.is(":hidden")) {
- apiContent.openAPI();
- } else if (e.keyCode=="37") {
- apiContent.searchPrev();
- } else if (e.keyCode=="13" || e.keyCode=="39") {
- apiContent.searchNext();
- }
- },
- openAPI: function() {
- if (apiContent.searchNodes.length > 0) {
- var setting_zTree = $.fn.zTree.getZTreeObj("settingTree"),
- treenode_zTree = $.fn.zTree.getZTreeObj("treenodeTree"),
- function_zTree = $.fn.zTree.getZTreeObj("functionTree");
- if (apiContent.searchNodesCur < 0 || apiContent.searchNodesCur > apiContent.searchNodes.length -1) {
- apiContent.searchNodesCur = 0;
- }
- var node = apiContent.searchNodes[apiContent.searchNodesCur];
-
- if (node.tId.indexOf("setting") > -1) {
- setting_zTree.selectNode(node);
- } else if (node.tId.indexOf("treenode") > -1) {
- treenode_zTree.selectNode(node);
- } else {
- function_zTree.selectNode(node);
- }
- apiContent.beforeClick(node.tId.substring(0, node.tId.indexOf("_")), node, true);
- apiContent.searchCur();
- }
- },
- searchNode: function(e) {
- var setting_zTree = $.fn.zTree.getZTreeObj("settingTree"),
- treenode_zTree = $.fn.zTree.getZTreeObj("treenodeTree"),
- function_zTree = $.fn.zTree.getZTreeObj("functionTree");
- if (apiContent.curKey == e.target.value) return;
- apiContent.curKey = e.target.value;
- var value = $.trim(apiContent.curKey);
- apiContent.setSameKey(apiContent.curKey);
- if (apiContent.searchKey.hasClass("empty")) {
- value = "";
- apiContent.searchResultInput.removeClass("noResult").attr("value","");
- }
- if (apiContent.lastValue === value) return;
-
- apiContent.updateNodes(false);
- apiContent.lastValue = value;
- if (value === "" || value.length < 2) {
- apiContent.searchNodes = [];
- apiContent.searchNodesCur = -1;
- apiContent.searchCur(true);
- return;
- }
-
- var settingNodeList = setting_zTree.getNodesByFilter(apiContent.searchFilter);
- var functionNodeList = function_zTree.getNodesByFilter(apiContent.searchFilter);
- var treenodeNodeList = treenode_zTree.getNodesByFilter(apiContent.searchFilter);
- apiContent.searchNodes = settingNodeList.concat(functionNodeList).concat(treenodeNodeList);
- apiContent.searchNodesCur = -1;
- apiContent.searchCur();
- apiContent.updateNodes(true);
- },
- searchFilter: function(node) {
- var value = $.trim(apiContent.searchKey.get(0).value).toLowerCase();
- return (node.showAPI && node.name.toLowerCase().indexOf(value) > -1);
- },
- searchPrev: function(e) {
- if (apiContent.searchPrevBtn.hasClass("disabled")) return;
- apiContent.searchNodesCur--;
- if (apiContent.searchNodesCur < 0 || apiContent.searchNodesCur > apiContent.searchNodes.length -1) {
- apiContent.searchNodesCur = apiContent.searchNodes.length -1;
- }
- apiContent.openAPI();
- },
- searchNext: function(e) {
- if (apiContent.searchNextBtn.hasClass("disabled")) return;
- apiContent.searchNodesCur++;
- apiContent.openAPI();
- },
- searchCur: function(init) {
- var result = apiContent.searchNodes;
- if (init) {
- apiContent.searchResultInput.removeClass("noResult").attr("value","");
- } else if (result.length == 0) {
- apiContent.searchResultInput.addClass("noResult").attr("value"," [ 0 / 0 ] ");
- } else {
- apiContent.searchResultInput.removeClass("noResult").attr("value"," [ " + (apiContent.searchNodesCur > -1 ? apiContent.searchNodesCur+1 : "?")+ " / " + result.length + " ] ");
- }
- if (result.length > 0) {
- apiContent.searchPrevBtn.removeClass("disabled");
- apiContent.searchNextBtn.removeClass("disabled");
- } else {
- apiContent.searchPrevBtn.addClass("disabled");
- apiContent.searchNextBtn.addClass("disabled");
- }
- },
- updateNodes: function(highlight) {
- var setting_zTree = $.fn.zTree.getZTreeObj("settingTree"),
- treenode_zTree = $.fn.zTree.getZTreeObj("treenodeTree"),
- function_zTree = $.fn.zTree.getZTreeObj("functionTree"),
- node = null;
- for( var i=0, l=apiContent.searchNodes.length; i<l; i++) {
- node = apiContent.searchNodes[i];
- if (node.level > 0) {
- node.highlight = highlight;
- if (node.tId.indexOf("setting") > -1) {
- setting_zTree.updateNode(node);
- } else if (node.tId.indexOf("treenode") > -1) {
- treenode_zTree.updateNode(node);
- } else {
- function_zTree.updateNode(node);
- }
- }
- }
- },
- getFontCss: function(treeId, treeNode) {
- return (!!treeNode.highlight) ? {color:"#A60000", "font-weight":"bold"} : {color:"#333", "font-weight":"normal"};
- },
- getTitle: function(treeId, node) {
- var t = [], n = node;
- while (n && !!n.t) {
- t.push(n.t);
- n = n.getParentNode();
- }
- t = t.reverse();
- node.tt = t.join('.');
- return true;
- },
- showIcon: function(treeId, node) {
- return (!!node.iconSkin);
- },
- onNodeCreated: function (e, treeId, node) {
- var a = $("#" + node.tId + "_a");
- if (node.showAPI) {
- a.attr("rel", "#overlayDiv");
- } else {
- a.css({cursor: "default"});
- }
- },
- beforeClick: function (treeId, node, noClear) {
- if (!node.showAPI) return false;
- var o = $("#" + node.tId + "_a");
- if (!!apiContent.apiCache[node.tId]) {
- apiContent.tmpDiv.html(apiContent.apiCache[node.tId]);
- apiContent.overlayShow(o, (apiContent.lastNode === node));
- } else {
- apiContent.overlayAjax(treeId, node);
- }
- apiContent.lastNode = node;
- if (node.tId.indexOf("settingTree")>-1) {
- apiContent.settingDiv.removeClass("right").addClass("left");
- apiContent.functionDiv.removeClass("left").addClass("right");
- } else {
- apiContent.settingDiv.removeClass("left").addClass("right");
- apiContent.functionDiv.removeClass("right").addClass("left");
- }
-
- if (!noClear) {
- apiContent.clearSelectedNode();
- }
- return true;
- },
- clearSelectedNode: function() {
- apiContent.zTree_Setting.cancelSelectedNode();
- apiContent.zTree_Node.cancelSelectedNode();
- apiContent.zTree_Function.cancelSelectedNode();
- },
- overlayAutoClose: function(e) {
- var eId = e.target.id, eRel = e.target.getAttribute("rel"), eClass = e.target.className;
- if (eId === "overlayDiv" || eId === "overlayDivArrow" || eClass.indexOf("searchPrev") > -1 || eClass.indexOf("searchNext") > -1 || !!eRel) return;
- if (!$(e.target).parents("[rel]").length && !$(e.target).parents("#overlayDiv").length) {
- apiContent.overlayClose();
- }
- },
- overlayClose: function() {
- var o = apiContent.overlayDiv;
- o.stop();
- apiContent.clearSelectedNode();
- if (ie) {
- o.hide();
- } else {
- setTimeout(function() {o.fadeTo("fast", 0, function(){o.hide();})}, 200);
- }
- $(document).unbind("click", apiContent.overlayAutoClose);
- },
- overlayShow: function(target, isSameNode) {
- var w = $(window), o = apiContent.overlayDiv, a = apiContent.overlayArrow,
- oc = apiContent.overlayContent, c = apiContent.contentBoxDiv,
- t = target.offset().top - 30,
- cMaxLeft = c.offset().left + c.outerWidth({margin:true}) - o.outerWidth({margin:true}) - 10,
- l = Math.min(cMaxLeft, target.offset().left + target.width() + 40),
- arrowT = target.offset().top + 16,
- wMinTop = 100, footerHeight = 50, onlyFade = false,
- wHeight = w.height(), wScrollTop=w.scrollTop(), wMaxTop = wHeight + wScrollTop - footerHeight;
- if (!apiContent.overlayMaxTop) {
- apiContent.overlayMaxTop = apiContent.contentBoxDiv.offset().top + apiContent.contentBoxDiv.height();
- }
- o.stop();
- if (o.css("display") !== "block") {
- o.css({top: t, left: l});
- a.css({top:arrowT - t});
- $(document).bind("click", apiContent.overlayAutoClose);
- }
- if (ie) {
- onlyFade = true;
- o.show();
- } else {
- o.fadeTo("fast", 1);
- }
-
- var h = apiContent.tmpDiv.outerHeight({margin:true}) + apiContent.overlaySearch.outerHeight();
- if ((t + h) > wMaxTop) {
- t = wMaxTop - h;
- }
- if ((t + h) > apiContent.overlayMaxTop) {
- t = apiContent.overlayMaxTop - h;
- }
- t = Math.max(t, wScrollTop, wMinTop);
- if ((t + h) > ($("body").height()-footerHeight-20)) {
- o.css("padding-bottom", footerHeight + "px");
- } else {
- o.css("padding-bottom", "0");
- }
- apiContent.overlayDetailDiv.empty();
- apiContent.overlayDetailDiv.append(apiContent.tmpDiv.children());
- if (!onlyFade) {
- onlyFade = (isSameNode && t === parseInt(o.css("top").replace("px", "")));
- }
-
- a.removeClass("reverse");
- if ( (arrowT - t) > (h-55) ) {
- a.addClass("reverse");
- arrowT -= 55;
- }
-
- if (onlyFade) {
- o.css({top: t, left: l});
- oc.css({height: h});
- a.css({top:arrowT - t});
- } else {
- o.animate({top: t, left: l}, {duration: "normal",easing: "swing", complete:null});
- oc.animate({height: h}, {duration: "fast",easing: "swing", complete:null});
- a.animate({top:arrowT - t}, {duration: "normal",easing: "linear", complete:null});
- }
- },
- overlayAjax: function(treeId, node) {
- var o = $("#" + node.tId + "_a");
- if (node.isAjax) return;
- node.isAjax = true;
- $.ajax({
- type: "get",
- url: "" + lang + "/" + node.tt.replace("$.", "") + ".html",
- data: null,
- dataType: "text",
- success: function(msg) {
- if (!apiContent.tmpDiv) {
- var tmpDiv = $(document.createElement("div"));
- tmpDiv.addClass("baby_overlay_tmp");
- $("body").append(tmpDiv)
- apiContent.tmpDiv = $(document.createElement("div"));
- apiContent.tmpDiv.addClass("details");
- tmpDiv.append(apiContent.tmpDiv);
-
- } else {
- apiContent.tmpDiv.empty();
- }
- apiContent.tmpDiv.html(msg);
- apiContent.overlayShow(o, false);
- apiContent.apiCache[node.tId] = msg;
- node.isAjax = false;
- },
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- alert(ajaxMsg)
- if (apiContent.tmpDiv) apiContent.tmpDiv.empty();
- node.isAjax = false;
- }
- });
- }
-} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/common.css b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/common.css
deleted file mode 100644
index a2f3b008..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/common.css
+++ /dev/null
@@ -1,219 +0,0 @@
-/* Resets */
-html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
- margin: 0;padding: 0;border: 0;outline: 0;font-weight: inherit;font-style: inherit;font-size: 100%;font-family: inherit;vertical-align: baseline;}
-:focus {outline: 0;}
-body {color: #2f332a;font: 15px/21px Arial, Helvetica, simsun, sans-serif;background: #528036 url(img/background.jpg) no-repeat fixed 0 0;}
-p {padding-bottom: 20px;}
-ol, ul {list-style: none;}
-table {border-collapse: separate;border-spacing: 0;}
-caption, th, td {text-align: left;font-weight: normal;}
-strong {font-weight: bold;}
-em {font-style: italic;}
-hr {display: none;}
-.font1 {color: white;background-color: #528036;}
-.right {float: right;}
-.left {float: left;}
-.hide {display: none;}
-.round {-moz-border-radius: 15px;-webkit-border-radius: 15px;-khtml-border-radius: 15px;border-radius: 15px;}
-.clear {clear: both;}
-.clearfix {display: block;}
-.clearfix:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
-html[xmlns] .clearfix {display: block;}
-* html .clearfix {height: 1%;}
-
-/* Link Styles */
-a {color: #528036;}
-a:link, a:visited {text-decoration: none;}
-a:hover {color: #000;text-decoration: none;}
-a:active {text-decoration: none;}
-
-/* Headings */
-h1, h2, h3, h4, h5, h6 {color: #2f332a;font-weight: bold;font-family: Helvetica, Arial, simsun, sans-serif;padding-bottom: 5px;}
-h1 {font-size: 36px;line-height: 44px;}
-h2 {font-size: 20px;line-height: 20px;}
-h3 {font-size: 14px;line-height: 14px;}
-h4 {font-size: 14px;font-weight: normal;line-height: 25px;}
-
-/* Wraps */
-.header_wrap {position: relative;min-width: 940px;padding: 100px 30px 0 30px;}
-.content_wrap {position: relative;min-width: 940px;padding: 0 30px 50px 30px;}
-.footer_wrap {bottom: 0;height: 47px;width: 100%;background-color: #1b1b1b;border-top: 1px solid #749e58;}
-
-/* Header */
-.header {position: relative;width: 940px;margin: 0 auto;height: 160px;border: 1px solid white;background: transparent url(img/header-bg.png) repeat-x 0 -50px;}
-.header-text {padding: 40px 25px 15px 120px;font-size: 18px;line-height: 24px;color: #747d67;font-family: Helvetica, sans-serif;}
-.header-text img {padding-bottom: 5px;}
-.shortcuts {white-space: nowrap;text-align: right;position: absolute;top: -45px;right: 5px;}
-.shortcuts.language {top: -85px;right:0px;}
-.shortcuts li {display: inline;font-size: 18px;line-height: 28px;font-family: Helvetica, Arial, simsun, sans-serif;padding-bottom: 5px;margin-left: 30px;cursor: pointer;}
-.shortcuts li button {cursor: pointer;}
-.shortcuts li span {border-bottom: 1px dotted white;}
-.shortcuts li span.selected {padding: 2px;background-color: #528036;}
-.shortcuts li a {color: #fff;}
-.ieSuggest {display:none;font-size: 12px;color: silver;position: absolute;left: 10px;top: 2px;}
-.google_plus {position: absolute;right: 10px; top:10px;}
-.light-bulb {position: absolute;left: -20px;bottom: -35px;width:116px;height:180px;background-image:url(img/lightbulb.png);background-repeat: no-repeat;}
-
-/* Content */
-.content {position: relative;width: 940px;margin: 0 auto;}
-.nav_section {position: relative;height: 20px;font-family: "Myriad Pro", "Trebuchet MS", sans-serif;font-size: 15px;color: #253;padding: 20px 0;}
-.nav_section ul {position: absolute;right: 10px;}
-.nav_section ul li {display: inline;line-height: 20px;margin: 0 5px 0 20px;border-bottom: 1px dotted white;}
-.nav_section ul li.noline {border-bottom: 0;}
-.nav_section ul li a {color: #fff;}
-.nav_section ul li a.selected {padding: 2px;background-color: #528036;}
-.nav_section ul li.first {border: none;}
-.content .title {margin: 50px 30px 20px 70px;}
-.content li {margin-bottom: 5px;}
-.contentBox {position: relative;overflow: hidden;border: 1px solid white;min-height: 200px;line-height: 25px;background: transparent url(img/contact-bg.png) repeat-x 0 0;}
-
-.zTreeInfo {display:none;width: 940px;position: absolute;}
-.zTreeInfo p {padding-bottom: 50px;}
-.zTreeInfo-left {float: left;width: 280px;height:300px;padding: 0 50px 60px 75px;background:url(img/zTreeIntroduction.jpg) no-repeat 30px 30px;}
-.zTreeInfo-right {position: relative;float: right;width: 475px;padding: 0 50px 60px 0;}
-.zTreeInfo-right li {font-size: 12px;list-style-type: disc;}
-
-.license {display:none;width: 940px;position: absolute;}
-
-.donateInfo {display:block;width: 940px;position: absolute;}
-
-.links {display:none;width: 940px;position: absolute;}
-.links .content {float: left;width: 160px;height:200px;padding: 0 10px 10px 2px;text-align: center;}
-.links .content.first {margin-left: 30px;}
-
-.contact {display:none;width: 940px;position: absolute;}
-.contact .myhome { position: absolute; top:10px; left:620px; width:300px; height:266px; background: transparent url(img/myhome.gif) scroll no-repeat 0 0;}
-
-.siteTag {position: absolute;left: -16px;top: 109px;z-index: 10;width: 65px;height: 46px;padding:0;margin:0 10px 0 0;
- vertical-align:middle;border:0 none;background: transparent url(img/siteTag.png) scroll no-repeat 0 0;}
-.siteTag.tag_zTreeInfo {background-position: 0 0}
-.siteTag.tag_license {background-position: 0 -46px}
-.siteTag.tag_donate {background-position: 0 -92px}
-.siteTag.tag_contact {background-position: 0 -138px}
-
-.apiContent {width: 940px;}
-.apiContent .right {float: right;padding-right: 100px;}
-.apiContent .left {float: left;padding-right: 20px;border-right: 1px dotted silver;}
-.api_setting {position: relative;margin:20px 0 20px 20px;}
-.api_function {position: relative;margin:20px 0 20px 30px;padding-right: 10px;}
-.api_content_title {text-align: center;font-weight: bold;}
-
-.demoContent {width: 940px;}
-.demoContent .right {float: right;padding: 20px;width: 600px;}
-.demoContent .left {float: left;padding: 20px;}
-.demoContent iframe {width:600px;min-height: 530px;}
-
-.faqContent {width: 940px;}
-.faqContent .right {float: right;padding: 20px;width: 600px;}
-.faqContent .left {float: left;padding: 20px;}
-.faqContent iframe {width:600px;min-height: 300px;}
-
-.baby_overlay_tmp {position: absolute;top:0; left:-5000px;display:block;visibility: hidden;width:640px;font-size:11px;}
-.baby_overlay_tmp .details {padding: 20px;}
-.baby_overlay {display:none;position:absolute;z-index:99;left:0; top:0;width:640px;color:#fff;font-size:11px;}
-.baby_overlay .content {width:100%; height:100px;overflow: hidden;background: transparent url(img/overlay_bg.png) scroll repeat 0 0;}
-.baby_overlay .details {padding:0 20px 20px 20px;}
-.baby_overlay .close {background-image:url(img/close.png);position:absolute; right:5px; top:5px;cursor:pointer;height:36px;width:36px;}
-.baby_overlay_arrow {background-image:url(img/overlay_arrow.png);background-position:0 0;position:absolute;height:40px;width:40px;left: -40px;}
-.baby_overlay_arrow.reverse {background-position:0 -40px;}
-
-/* Footer */
-.footer {position: relative;min-width: 1000px;font: 14px/24px arial, helvetica, sans-serif;}
-.footer ul {position:absolute;left: 0px;border:1px solid #393939;background:#262626;padding:12px 0px;line-height: 18px;display: none;list-style: none;}
-.footer ul li a {display:block;padding: 2px 15px;color: #9c9c9c;text-indent: 0;}
-.footer ul li a:hover {text-decoration:none;color: #fff;}
-.footer-logo {position:absolute;margin: 10px 0 0 30px;width:122px; height:24px;top:0; left:0;background: transparent url(img/footer-logo.png) no-repeat 0 0;}
-.footer_mii {position: absolute;right: 558px;top: 8px;z-index: 10;padding: 4px 0;}
-.footer_mii a {font-size:10px;color:#649140}
-.footer_mii a:hover {color:#B6D76F}
-.footer_siteMap {position: absolute;right: 358px;top: 8px;width: 155px;z-index: 10;padding: 4px 0;}
-.footer_siteMap .footer_siteMap_header {width:155px;text-indent: -9999px;background: transparent url(img/footer_siteMap.gif) no-repeat 0 0;}
-.footer_siteMap ul {top:-202px;width:180px;}
-.footer_siteMap:hover ul {left: 0}
-.footer_contact {position: absolute;right: 193px;top: 8px;width: 155px;z-index: 10;padding: 4px 0;}
-.footer_contact .footer_contact_header {width:155px;text-indent: -9999px;background: transparent url(img/footer_contact.gif) no-repeat 0px 0px;}
-.footer_contact ul {top:-113px;width:153px;}
-.footer_contact:hover ul {left: 0}
-.footer_download {position: absolute;right: 60px;top: 8px;width: 123px;z-index: 10;padding: 4px 0;}
-.footer_download .footer_download_header {width:123px;text-indent: -9999px;background: transparent url(img/footer_download.png) no-repeat 0px 0px;}
-.footer_download ul {top:-113px;width:140px;}
-.footer_download:hover ul {left: 0}
-
-/* button icon */
-button {vertical-align:middle;border:0 none;background: transparent no-repeat 0 0 scroll;}
-
-.shortcuts button.ico {width:24px; height:24px;padding:0; margin:0 10px 0 0;background-image:url(img/menuIcon.png)}
-.shortcuts button.home {background-position: 0 0}
-.shortcuts button.demo {background-position: 0 -24px}
-.shortcuts button.api {background-position: 0 -48px}
-.shortcuts button.faq {background-position: 0 -72px}
-.shortcuts button.donate {background-position: 0 -144px}
-.shortcuts button.download {background-position: 0 -96px}
-.shortcuts button.face {background-position: 0 -120px}
-.shortcuts button.cn {width:48px; height:24px;padding:0; margin:0 10px 0 0;background-image:url(img/chinese.png)}
-.shortcuts button.en {width:48px; height:24px;padding:0; margin:0 10px 0 0;background-image:url(img/english.png)}
-
-.content button.ico {width:24px; height:24px;padding:0; margin:0 10px 0 0;}
-
-.content button.ico16 {width:16px; height:16px;padding:0; margin:0 5px 0 0;background-image:url("img/apiMenu.png");}
-button.z_core {margin-top: -4px;background-position:0 0;}
-button.z_check {margin-top: -4px;background-position:0 -16px;}
-button.z_edit {margin-top: -4px;background-position:0 -32px;}
-button.z_hide {margin-top: -4px;background-position:0 -64px;}
-button.z_search {margin-top: -4px;background-position:0 -48px;}
-button.searchPrev {margin-top: -4px;background-position:-16px 0;cursor:pointer}
-button.searchNext {margin-top: -4px;background-position:-16px -16px;cursor:pointer}
-button.searchPrev.disabled {margin-top: -4px;background-position:-16px -32px;cursor:auto}
-button.searchNext.disabled {margin-top: -4px;background-position:-16px -48px;cursor:auto}
-input.search {margin:0;padding:2px 0; border:0;}
-input.searchKey {width:150px;}
-input.searchResult {margin-left:-3px;width:65px;text-align:right;background-color:white;color:#707070}
-input.searchResult.noResult {background-color:#ff6666;color:black}
-.baby_overlay div.overlaySearch {text-align:right;padding-right:50px;padding-top:12px;}
-
-/* api overlay*/
-.apiDetail .topLine {border-top: 1px dashed #376B29;margin-top: 5px;padding-top: 5px;}
-.apiDetail .highlight_red {color:#A60000;}
-.apiDetail .highlight_green {color:#A7F43D;}
-.apiDetail h1, .apiDetail h2, .apiDetail h3, .apiDetail h4, .apiDetail h5, .apiDetail h6 {color: white;padding: 0;}
-.apiDetail h2 {color: #A7F43D;margin: 5px auto;padding: 5px;font-size: 20px;}
-.apiDetail h2 span {font-size: 14px;float: right;font-weight: normal;margin: 2px 20px 0 0;vertical-align: bottom;}
-.apiDetail h2 span.path {float: left;margin: 2px 0 0 0;vertical-align: bottom;}
-.apiDetail h3 {margin: 5px auto;padding: 5px;font-size: 14px;font-weight: normal;}
-.apiDetail h3 span.h3_info {margin-left: 20px;font-size: 12px;}
-.apiDetail h4 {margin: 0 auto;padding: 0 5px;font-size: 12px;font-weight: normal;line-height: 16px;}
-.apiDetail .desc h4 {color: black;}
-.apiDetail h4 b{width: 150px;display:inline-block;}
-.apiDetail h4 span{width: 230px;display:inline-block;}
-
-.apiDetail pre, .apiDetail .desc {background: #E8FCD6;color: black;margin: 10px;padding: 10px;display: block;}
-.apiDetail pre {word-wrap: break-word;}
-.apiDetail p{margin-left: 5px;padding: 0;}
-.apiDetail .longdesc {margin-top: 5px;}
-.apiDetail .longdesc p{font-size: 12px;line-height:1.5;margin:3px 0;}
-.apiDetail .longdesc b{font-size: 14px;}
-.apiDetail table {border-collapse:collapse;}
-.apiDetail table td {border:1px solid silver;text-align: center;vertical-align: middle;}
-.apiDetail table thead td {font-weight: bold}
-
-.apiDetail button {width:16px; height:16px; vertical-align:middle; border:0 none; cursor: pointer;
- background-color:transparent; background-repeat:no-repeat; background-attachment: scroll;
- background-image:url("zTreeStyle/img/zTreeStandard.png");}
-
-.apiDetail button.chk {width:13px; height:13px; margin:0 3px 2px 0; cursor: auto}
-.apiDetail button.chk.checkbox_false_full {background-position:0 0}
-.apiDetail button.chk.checkbox_false_full_focus {background-position:0 -14px}
-.apiDetail button.chk.checkbox_false_part {background-position:0 -28px}
-.apiDetail button.chk.checkbox_false_part_focus {background-position:0 -42px}
-.apiDetail button.chk.checkbox_true_full {background-position:-14px 0}
-.apiDetail button.chk.checkbox_true_full_focus {background-position:-14px -14px}
-.apiDetail button.chk.checkbox_true_part {background-position:-14px -28px}
-.apiDetail button.chk.checkbox_true_part_focus {background-position:-14px -42px}
-.apiDetail button.chk.radio_false_full {background-position:-28px 0}
-.apiDetail button.chk.radio_false_full_focus {background-position:-28px -14px}
-.apiDetail button.chk.radio_false_part {background-position:-28px -28px}
-.apiDetail button.chk.radio_false_part_focus {background-position:-28px -42px}
-.apiDetail button.chk.radio_true_full {background-position:-42px 0}
-.apiDetail button.chk.radio_true_full_focus {background-position:-42px -14px}
-.apiDetail button.chk.radio_true_part {background-position:-42px -28px}
-.apiDetail button.chk.radio_true_part_focus {background-position:-42px -42px} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/common_ie6.css b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/common_ie6.css
deleted file mode 100644
index 4fa6d450..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/common_ie6.css
+++ /dev/null
@@ -1,23 +0,0 @@
-* html{
-/* background-image:url(about:blank);*/
- background-attachment:fixed;
-}
-html pre {word-wrap: break-word}
-.header {background-image: none;background-color: #F0F6E4;}
-
-.ieSuggest {display:block;}
-.shortcuts button.cn {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='apiCss/img/chinese.png');background-image: none;}
-.shortcuts button.en {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='apiCss/img/english.png');background-image: none;}
-
-.light-bulb {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='apiCss/img/lightbulb.png');background-image: none;}
-.contentBox {background-image: none;background-color: #F0F6E4;}
-.zTreeInfo {background-image: none;background-color: #F0F6E4;}
-
-.content button.ico16 {*background-image:url("img/apiMenu.gif")}
-.siteTag {background-image: none;}
-.apiContent .right {float: right;padding-right: 50px;}
-
-div.baby_overlay {background-color: #3C6E31;background-image:none;color:#fff;}
-div.baby_overlay .close {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='apiCss/img/overlay_close_IE6.gif');background-image: none;}
-.baby_overlay_arrow {background-image:url(img/overlay_arrow.gif);}
-.apiDetail button {background-image:url("img/zTreeStandard.gif")} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/apiMenu.gif b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/apiMenu.gif
deleted file mode 100644
index 066fc8e4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/apiMenu.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/apiMenu.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/apiMenu.png
deleted file mode 100644
index 9acec505..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/apiMenu.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/background.jpg b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/background.jpg
deleted file mode 100644
index 003375ff..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/background.jpg
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/chinese.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/chinese.png
deleted file mode 100644
index d3b57fc1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/chinese.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/close.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/close.png
deleted file mode 100644
index 69e41e38..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/close.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/contact-bg.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/contact-bg.png
deleted file mode 100644
index a3d7a5f1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/contact-bg.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/english.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/english.png
deleted file mode 100644
index 2ad2d7d5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/english.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/header-bg.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/header-bg.png
deleted file mode 100644
index a2baacf2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/header-bg.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/lightbulb.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/lightbulb.png
deleted file mode 100644
index c99357a3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/lightbulb.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_arrow.gif b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_arrow.gif
deleted file mode 100644
index e7c3e6d4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_arrow.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_arrow.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_arrow.png
deleted file mode 100644
index d790a115..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_arrow.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_bg.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_bg.png
deleted file mode 100644
index 5f81ee69..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_bg.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_close_IE6.gif b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_close_IE6.gif
deleted file mode 100644
index 42cb8d83..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/overlay_close_IE6.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/zTreeStandard.gif b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/zTreeStandard.gif
deleted file mode 100644
index 3f69a5b1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/zTreeStandard.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/zTreeStandard.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/zTreeStandard.png
deleted file mode 100644
index 33c9e844..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/img/zTreeStandard.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/jquery-1.6.2.min.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/jquery-1.6.2.min.js
deleted file mode 100644
index f74dab88..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/jquery-1.6.2.min.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.6.2
- * http://jquery.com/
- *
- * Copyright 2011, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2011, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: Thu Jun 30 14:16:56 2011 -0400
- */
-(function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bZ(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bY(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bC.test(a)?d(a,e):bY(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)bY(a+"["+e+"]",b[e],c,d);else d(a,b)}function bX(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bR,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bX(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bX(a,c,d,e,"*",g));return l}function bW(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bN),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bA(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bv:bw;if(d>0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bj(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bi(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)f.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function bg(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function W(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(R.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(a,b){return(a&&a!=="*"?a+".":"")+b.replace(z,"`").replace(A,"&")}function M(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;i<s.length;i++)g=s[i],g.origType.replace(x,"")===a.type?q.push(g.selector):s.splice(i--,1);e=f(a.target).closest(q,a.currentTarget);for(j=0,k=e.length;j<k;j++){m=e[j];for(i=0;i<s.length;i++){g=s[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,d=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,d=f(a.relatedTarget).closest(g.selector)[0],d&&f.contains(h,d)&&(d=h);(!d||d!==h)&&p.push({elem:h,handleObj:g,level:m.level})}}}for(j=0,k=p.length;j<k;j++){e=p[j];if(c&&e.level>c)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function K(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function E(){return!0}function D(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z])/ig,x=function(a,b){return b.toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!A){A=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a);return c===b||D.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b){if(H)return H.call(b,a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=s.exec(a)||t.exec(a)||u.exec(a)||a.indexOf("compatible")<0&&v.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g="done fail isResolved isRejected promise then always pipe".split(" "),h=[].slice;f.extend({_Deferred:function(){var a=[],b,c,d,e={done:function(){if(!d){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=f.type(i),j==="array"?e.done.apply(e,i):j==="function"&&a.push(i);k&&e.resolveWith(k[0],k[1])}return this},resolveWith:function(e,f){if(!d&&!b&&!c){f=f||[],c=1;try{while(a[0])a.shift().apply(e,f)}finally{b=[e,f],c=0}}return this},resolve:function(){e.resolveWith(this,arguments);return this},isResolved:function(){return!!c||!!b},cancel:function(){d=1,a=[];return this}};return e},Deferred:function(a){var b=f._Deferred(),c=f._Deferred(),d;f.extend(b,{then:function(a,c){b.done(a).fail(c);return this},always:function(){return b.done.apply(b,arguments).fail.apply(this,arguments)},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,pipe:function(a,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[c,"reject"]},function(a,c){var e=c[0],g=c[1],h;f.isFunction(e)?b[a](function(){h=e.apply(this,arguments),h&&f.isFunction(h.promise)?h.promise().then(d.resolve,d.reject):d[g](h)}):b[a](d[g])})}).promise()},promise:function(a){if(a==null){if(d)return d;d=a={}}var c=g.length;while(c--)a[g[c]]=b[g[c]];return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){function i(a){return function(c){b[a]=arguments.length>1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c<d;c++)b[c]&&f.isFunction(b[c].promise)?b[c].promise().then(i(c),g.reject):--e;e||g.resolveWith(g,b)}else g!==a&&g.resolveWith(g,d?[a]:[]);return g.promise()}}),f.support=function(){var a=c.createElement("div"),b=c.documentElement,d,e,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;a.setAttribute("className","t"),a.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0},m&&f.extend(p,{position:"absolute",left:-1e3,top:-1e3});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0),o.innerHTML="",n.removeChild(o);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[f.camelCase(c)]||i[c]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){var e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])return;if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var k=h[i][e];f.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.deleteExpando?delete b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h<i;h++)g=e[h].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),k(this[0],g,d[g]))}}return d}if(typeof a=="object")return this.each(function(){f.data(this,a)});var j=a.split(".");j[1]=j[1]?"."+j[1]:"";if(c===b){d=this.triggerHandler("getData"+j[1]+"!",[j[0]]),d===b&&this.length&&(d=f.data(this[0],a),d=k(this[0],a,d));return d===b&&j[1]?this.data(j[0]):d}return this.each(function(){var b=f(this),d=[j[0],c];b.triggerHandler("setData"+j[1]+"!",d),f.data(this,a,c),b.triggerHandler("changeData"+j[1]+"!",d)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,c){a&&(c=(c||"fx")+"mark",f.data(a,c,(f.data(a,c,b,!0)||0)+1,!0))},_unmark:function(a,c,d){a!==!0&&(d=c,c=a,a=!1);if(c){d=d||"fx";var e=d+"mark",g=a?0:(f.data(c,e,b,!0)||1)-1;g?f.data(c,e,g,!0):(f.removeData(c,e,!0),m(c,d,"mark"))}},queue:function(a,c,d){if(a){c=(c||"fx")+"queue";var e=f.data(a,c,b,!0);d&&(!e||f.isArray(d)?e=f.data(a,c,f.makeArray(d),!0):e.push(d));return e||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e;d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),d.call(a,function(){f.dequeue(a,b)})),c.length||(f.removeData(a,b+"queue",!0),m(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){f.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f._Deferred(),!0))h++,l.done(m);m();return d.promise()}});var n=/[\n\t\r]/g,o=/\s+/,p=/\r/g,q=/^(?:button|input)$/i,r=/^(?:button|input|object|select|textarea)$/i,s=/^a(?:rea)?$/i,t=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,u=/\:|^on/,v,w;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(o);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(o);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(n," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(o);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(n," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]||f.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;d=e.value;return typeof d=="string"?d.replace(p,""):d==null?"":d}return b}var g=f.isFunction(a);return this.each(function(d){var e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return null;for(var h=g?c:0,i=g?c+1:e.length;h<i;h++){var j=e[h];if(j.selected&&(f.support.optDisabled?!j.disabled:j.getAttribute("disabled")===null)&&(!j.parentNode.disabled||!f.nodeName(j.parentNode,"optgroup"))){b=f(j).val();if(g)return b;d.push(b)}}if(g&&!d.length&&e.length)return f(e[c]).val();return d},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var g=a.nodeType;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);var h,i,j=g!==1||!f.isXMLDoc(a);j&&(c=f.attrFix[c]||c,i=f.attrHooks[c],i||(t.test(c)?i=w:v&&c!=="className"&&(f.nodeName(a,"form")||u.test(c))&&(i=v)));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(i&&"set"in i&&j&&(h=i.set(a,d,c))!==b)return h;a.setAttribute(c,""+d);return d}if(i&&"get"in i&&j&&(h=i.get(a,c))!==null)return h;h=a.getAttribute(c);return h===null?b:h},removeAttr:function(a,b){var c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute(b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=f.propFix[b]||b)in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.href?0:b}},value:{get:function(a,b){if(v&&f.nodeName(a,"button"))return v.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(v&&f.nodeName(a,"button"))return v.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e=a.nodeType;if(!a||e===3||e===8||e===2)return b;var g,h,i=e!==1||!f.isXMLDoc(a);i&&(c=f.propFix[c]||c,h=f.propHooks[c]);return d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return f.prop(a,c)?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.attrHooks.title=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var d=a.getAttributeNode(c);if(d){d.nodeValue=b;return b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}})),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var x=/\.(.*)$/,y=/^(?:textarea|input|select)$/i,z=/\./g,A=/ /g,B=/[^\w\s.|`]/g,C=function(a){return a.replace(B,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===!1)d=D;else if(!d)return;var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i)return;var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1)a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.attachEvent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=D);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(h in t)f.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+f.map(m.slice(0).sort(),C).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!d){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))f.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=f.event.special[h]||{};for(j=e||0;j<p.length;j++){q=p[j];if(d.guid===q.guid){if(l||n.test(q.namespace))e==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(e!=null)break}}if(p.length===0||e!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&f.removeEvent(a,h,s.handle),g=null,delete t[h]}if(f.isEmptyObject(t)){var u=s.handle;u&&(u.elem=null),delete s.events,delete s.handle,f.isEmptyObject(s)&&f.removeData(a,b,!0)}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){var h=c.type||c,i=[],j;h.indexOf("!")>=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.
-shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d!=null?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;for(var h=0,i=d.length;h<i;h++){var j=d[h];if(e||c.namespace_re.test(j.namespace)){c.handler=j.handler,c.data=j.data,c.handleObj=j;var k=j.handler.apply(this,g);k!==b&&(c.result=k,k===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[f.expando])return a;var d=a;a=f.Event(d);for(var e=this.props.length,g;e;)g=this.props[--e],a[g]=d[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=a.target.ownerDocument||c,i=h.documentElement,j=h.body;a.pageX=a.clientX+(i&&i.scrollLeft||j&&j.scrollLeft||0)-(i&&i.clientLeft||j&&j.clientLeft||0),a.pageY=a.clientY+(i&&i.scrollTop||j&&j.scrollTop||0)-(i&&i.clientTop||j&&j.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:f.proxy,special:{ready:{setup:f.bindReady,teardown:f.noop},live:{add:function(a){f.event.add(this,N(a.origType,a.selector),f.extend({},a,{handler:M,guid:a.handler.guid}))},remove:function(a){f.event.remove(this,N(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!this.preventDefault)return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?E:D):this.type=a,b&&f.extend(this,b),this.timeStamp=f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=E;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=E;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=E,this.stopPropagation()},isDefaultPrevented:D,isPropagationStopped:D,isImmediatePropagationStopped:D};var F=function(a){var b=a.relatedTarget,c=!1,d=a.type;a.type=a.data,b!==this&&(b&&(c=f.contains(this,b)),c||(f.event.handle.apply(this,arguments),a.type=d))},G=function(a){a.type=a.data,f.event.handle.apply(this,arguments)};f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={setup:function(c){f.event.add(this,b,c&&c.selector?G:F,a)},teardown:function(a){f.event.remove(this,b,a&&a.selector?G:F)}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(a,b){if(!f.nodeName(this,"form"))f.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&f(b).closest("form").length&&K("submit",this,arguments)}),f.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&f(b).closest("form").length&&a.keyCode===13&&K("submit",this,arguments)});else return!1},teardown:function(a){f.event.remove(this,".specialSubmit")}});if(!f.support.changeBubbles){var H,I=function(a){var b=a.type,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return c},J=function(c){var d=c.target,e,g;if(!!y.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data"),g=I(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e)return;if(e!=null||g)c.type="change",c.liveFired=b,f.event.trigger(c,arguments[1],d)}};f.event.special.change={filters:{focusout:J,beforedeactivate:J,click:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodeName(b,"select"))&&J.call(this,a)},keydown:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&J.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",I(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in H)f.event.add(this,c+".specialChange",H[c]);return y.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange");return y.test(this.nodeName)}},H=f.event.special.change.filters,H.focus=H.beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a)this[c](h,d,a[h],e);return this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one")this.one(a,d,e);else for(var i=0,j=this.length;i<j;i++)f.event.add(this[i],a,g,d);return this}}),f.fn.extend({unbind:function(a,b){if(typeof a=="object"&&!a.preventDefault)for(var c in a)this.unbind(c,a[c]);else for(var d=0,e=this.length;d<e;d++)f.event.remove(this[d],a,b);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f.data(this,"lastToggle"+a.guid)||0)%d;f.data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var L={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};f.each(["live","die"],function(a,c){f.fn[c]=function(a,d,e,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:f(this.context);if(typeof a=="object"&&!a.preventDefault){for(var o in a)n[c](o,d,a[o],m);return this}if(c==="die"&&!a&&g&&g.charAt(0)==="."){n.unbind(g);return this}if(d===!1||f.isFunction(d))e=d||D,d=b;a=(a||"").split(" ");while((h=a[i++])!=null){j=x.exec(h),k="",j&&(k=j[0],h=h.replace(x,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,L[h]?(a.push(L[h]+k),h=h+k):h=(L[h]||h)+k;if(c==="live")for(var p=0,q=n.length;p<q;p++)f.event.add(n[p],"live."+N(h,m),{data:d,selector:m,handler:e,origType:h,origHandler:e,preType:l});else n.unbind("live."+N(h,m),e)}return this}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!="string"){if(i===b){j=!0;break}}else if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return f;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object Array]")if(!u)f.push.apply(f,n);else if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&f.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&f.push(j[t]);else p(n,f);o&&(k(o,h,f,g),k.uniqueSort(f));return f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},k.matches=function(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(!f)g=o=!0;else if(f===!0)continue}if(f)for(var s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.replace(l.match[n],"");if(!g)return[];break}}if(a===h)if(g==null)k.error(a);else break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!j.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b,c){var e,f=d++,g=u;typeof b=="string"&&!j.test(b)&&(b=b.toLowerCase(),e=b,g=t),g("parentNode",b,f,a,e,c)},"~":function(a,b,c){var e,f=d++,g=u;typeof b=="string"&&!j.test(b)&&(b=b.toLowerCase(),e=b,g=t),g("previousSibling",b,f,a,e,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType===1)return!1;return!0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var f=a.length;c<f;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){if(a===b){g=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(h===i)return s(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return s(e[k],f[k]);return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)k(a,f[g],d);return k.filter(e,d)};f.find=k,f.expr=k.selectors,f.expr[":"]=f.expr.filters,f.unique=k.uniqueSort,f.text=k.getText,f.isXMLDoc=k.isXML,f.contains=k.contains}();var O=/Until$/,P=/^(?:parents|prevUntil|prevAll)/,Q=/,/,R=/^.[^:#\[\.,]*$/,S=Array.prototype.slice,T=f.expr.match.POS,U={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(W(this,a,!1),"not",a)},filter:function(a){return this.pushStack(W(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d<e;d++)i=a[d],j[i]||(j[i]=T.test(i)?f(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.index(g)>-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=T.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(l?l.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a=="string")return f.inArray(this[0],a?f(a):this.parent().children());return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var X=/ jQuery\d+="(?:\d+|null)"/g,Y=/^\s+/,Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,$=/<([\w:]+)/,_=/<tbody/i,ba=/<|&#?\w+;/,bb=/<(?:script|object|embed|option|style)/i,bc=/checked\s*(?:[^=]|=\s*.checked.)/i,bd=/\/(java|ecma)script/i,be=/^\s*<!(?:\[CDATA\[|\-\-)/,bf={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};bf.optgroup=bf.option,bf.tbody=bf.tfoot=bf.colgroup=bf.caption=bf.thead,bf.th=bf.td,f.support.htmlSerialize||(bf._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(X,""):null;if(typeof a=="string"&&!bb.test(a)&&(f.support.leadingWhitespace||!Y.test(a))&&!bf[($.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Z,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bc.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bg(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bm)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i;b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof a[0]=="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!bb.test(a[0])&&(f.support.checkClone||!bc.test(a[0]))&&(g=!0,h=f.fragments[a[0]],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[a[0]]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j
-)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bi(a,d),e=bj(a),g=bj(d);for(h=0;e[h];++h)bi(e[h],g[h])}if(b){bh(a,d);if(c){e=bj(a),g=bj(d);for(h=0;e[h];++h)bh(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!ba.test(k))k=b.createTextNode(k);else{k=k.replace(Z,"<$1></$2>");var l=($.exec(k)||["",""])[1].toLowerCase(),m=bf[l]||bf._default,n=m[0],o=b.createElement("div");o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=_.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&Y.test(k)&&o.insertBefore(b.createTextNode(Y.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bl(k[i]);else bl(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||bd.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.expando,g=f.event.special,h=f.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&f.noData[j.nodeName.toLowerCase()])continue;c=j[f.expando];if(c){b=d[c]&&d[c][e];if(b&&b.events){for(var k in b.events)g[k]?f.event.remove(j,k):f.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[f.expando]:j.removeAttribute&&j.removeAttribute(f.expando),delete d[c]}}}});var bn=/alpha\([^)]*\)/i,bo=/opacity=([^)]*)/,bp=/([A-Z]|^ms)/g,bq=/^-?\d+(?:px)?$/i,br=/^-?\d/,bs=/^[+\-]=/,bt=/[^+\-\.\de]+/g,bu={position:"absolute",visibility:"hidden",display:"block"},bv=["Left","Right"],bw=["Top","Bottom"],bx,by,bz;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bx(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d;if(h==="number"&&isNaN(d)||d==null)return;h==="string"&&bs.test(d)&&(d=+d.replace(bt,"")+parseFloat(f.css(a,c)),h="number"),h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bx)return bx(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bA(a,b,d);f.swap(a,bu,function(){e=bA(a,b,d)});return e}},set:function(a,b){if(!bq.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bo.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle;c.zoom=1;var e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bn.test(g)?g.replace(bn,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bx(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(by=function(a,c){var d,e,g;c=c.replace(bp,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bz=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bq.test(d)&&br.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bx=by||bz,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bB=/%20/g,bC=/\[\]$/,bD=/\r?\n/g,bE=/#.*$/,bF=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bG=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bH=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bI=/^(?:GET|HEAD)$/,bJ=/^\/\//,bK=/\?/,bL=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bM=/^(?:select|textarea)/i,bN=/\s+/,bO=/([?&])_=[^&]*/,bP=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bQ=f.fn.load,bR={},bS={},bT,bU;try{bT=e.href}catch(bV){bT=c.createElement("a"),bT.href="",bT=bT.href}bU=bP.exec(bT.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bQ)return bQ.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bL,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bM.test(this.nodeName)||bG.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bD,"\r\n")}}):{name:b.name,value:c.replace(bD,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in{context:1,url:1})c in b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c]);return a},ajaxSettings:{url:bT,isLocal:bH.test(bU[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}},ajaxPrefilter:bW(bR),ajaxTransport:bW(bS),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var o,r,u,w=l?bZ(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.getResponseHeader("Last-Modified"))f.lastModified[k]=x;if(y=v.getResponseHeader("Etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else try{r=b$(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c="error",a<0&&(a=0)}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bF.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bE,"").replace(bJ,bU[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bN),d.crossDomain==null&&(r=bP.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bU[1]&&r[2]==bU[2]&&(r[3]||(r[1]==="http:"?80:443))==(bU[3]||(bU[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bX(bR,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bI.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bK.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bO,"$1_="+x);d.url=y+(y===d.url?(bK.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bX(bS,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)bY(g,a[g],c,e);return d.join("&").replace(bB,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var b_=f.now(),ca=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+b_++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ca.test(b.url)||e&&ca.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cb=a.ActiveXObject?function(){for(var a in cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ce()||cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cb&&delete cd[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cc,cb&&(cd||(cd={},f(a).unload(cb)),cd[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cg={},ch,ci,cj=/^(?:toggle|show|hide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl,cm=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cn,co=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cr("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cs(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cr("hide",3),a,b,c);for(var d=0,e=this.length;d<e;d++)if(this[d].style){var g=f.css(this[d],"display");g!=="none"&&!f._data(this[d],"olddisplay")&&f._data(this[d],"olddisplay",g)}for(d=0;d<e;d++)this[d].style&&(this[d].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cr("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return this[e.queue===!1?"each":"queue"](function(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(f.support.inlineBlockNeedsLayout?(j=cs(this.nodeName),j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)k=new f.fx(this,b,i),h=a[i],cj.test(h)?k[h==="toggle"?d?"show":"hide":h]():(l=ck.exec(h),m=k.cur(),l?(n=parseFloat(l[2]),o=l[3]||(f.cssNumber[i]?"":"px"),o!=="px"&&(f.style(this,i,(n||1)+o),m=(n||1)/k.cur()*m,f.style(this,i,m+o)),l[1]&&(n=(l[1]==="-="?-1:1)*n+m),k.custom(m,n,o)):k.custom(m,h,""));return!0})},stop:function(a,b){a&&this.queue([]),this.each(function(){var a=f.timers,c=a.length;b||f._unmark(!0,this);while(c--)a[c].elem===this&&(b&&a[c](!0),a.splice(c,1))}),b||this.dequeue();return this}}),f.each({slideDown:cr("show",1),slideUp:cr("hide",1),slideToggle:cr("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default,d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue!==!1?f.dequeue(this):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function h(a){return d.step(a)}var d=this,e=f.fx,g;this.startTime=cn||cp(),this.start=a,this.end=b,this.unit=c||this.unit||(f.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,h.elem=this.elem,h()&&f.timers.push(h)&&!cl&&(co?(cl=!0,g=function(){cl&&(co(g),e.tick())},co(g)):cl=setInterval(e.tick,e.interval))},show:function(){this.options.orig[this.prop]=f.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=cn||cp(),c=!0,d=this.elem,e=this.options,g,h;if(a||b>=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedProperties[this.prop]=!0;for(g in e.animatedProperties)e.animatedProperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in e.animatedProperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b<a.length;++b)a[b]()||a.splice(b--,1);a.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cl),cl=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var ct=/^t(?:able|d|h)$/i,cu=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cv(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);f.offset.initialize();var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.offset.doesNotAddBorder&&(!f.offset.doesAddBorderForTableAndCells||!ct.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={initialize:function(){var a=c.body,b=c.createElement("div"),d,e,g,h,i=parseFloat(f.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.offset.initialize=f.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cu.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cu.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cv(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cv(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parseFloat(f.css(a,d,"padding")):null},f.fn["outer"+c]=function(a){var b=this[0];return b&&b.style?parseFloat(f.css(b,d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/jquery.ztree.core-3.5.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/jquery.ztree.core-3.5.js
deleted file mode 100644
index 061499c7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/jquery.ztree.core-3.5.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * JQuery zTree core v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function(p){var G,H,I,J,K,L,r={},u={},v={},M={treeId:"",treeObj:null,view:{addDiyDom:null,autoCancelSelected:!0,dblClickExpand:!0,expandSpeed:"fast",fontCss:{},nameIsHTML:!1,selectedMulti:!0,showIcon:!0,showLine:!0,showTitle:!0,txtSelectedEnable:!1},data:{key:{children:"children",name:"name",title:"",url:"url"},simpleData:{enable:!1,idKey:"id",pIdKey:"pId",rootPId:null},keep:{parent:!1,leaf:!1}},async:{enable:!1,contentType:"application/x-www-form-urlencoded",type:"post",dataType:"text",url:"",autoParam:[],
-otherParam:[],dataFilter:null},callback:{beforeAsync:null,beforeClick:null,beforeDblClick:null,beforeRightClick:null,beforeMouseDown:null,beforeMouseUp:null,beforeExpand:null,beforeCollapse:null,beforeRemove:null,onAsyncError:null,onAsyncSuccess:null,onNodeCreated:null,onClick:null,onDblClick:null,onRightClick:null,onMouseDown:null,onMouseUp:null,onExpand:null,onCollapse:null,onRemove:null}},w=[function(b){var a=b.treeObj,c=e.event;a.bind(c.NODECREATED,function(a,c,g){j.apply(b.callback.onNodeCreated,
-[a,c,g])});a.bind(c.CLICK,function(a,c,g,l,h){j.apply(b.callback.onClick,[c,g,l,h])});a.bind(c.EXPAND,function(a,c,g){j.apply(b.callback.onExpand,[a,c,g])});a.bind(c.COLLAPSE,function(a,c,g){j.apply(b.callback.onCollapse,[a,c,g])});a.bind(c.ASYNC_SUCCESS,function(a,c,g,l){j.apply(b.callback.onAsyncSuccess,[a,c,g,l])});a.bind(c.ASYNC_ERROR,function(a,c,g,l,h,e){j.apply(b.callback.onAsyncError,[a,c,g,l,h,e])});a.bind(c.REMOVE,function(a,c,g){j.apply(b.callback.onRemove,[a,c,g])})}],x=[function(b){var a=
-e.event;b.treeObj.unbind(a.NODECREATED).unbind(a.CLICK).unbind(a.EXPAND).unbind(a.COLLAPSE).unbind(a.ASYNC_SUCCESS).unbind(a.ASYNC_ERROR).unbind(a.REMOVE)}],y=[function(b){var a=h.getCache(b);a||(a={},h.setCache(b,a));a.nodes=[];a.doms=[]}],z=[function(b,a,c,d,f,g){if(c){var l=h.getRoot(b),e=b.data.key.children;c.level=a;c.tId=b.treeId+"_"+ ++l.zId;c.parentTId=d?d.tId:null;c.open=typeof c.open=="string"?j.eqs(c.open,"true"):!!c.open;c[e]&&c[e].length>0?(c.isParent=!0,c.zAsync=!0):(c.isParent=typeof c.isParent==
-"string"?j.eqs(c.isParent,"true"):!!c.isParent,c.open=c.isParent&&!b.async.enable?c.open:!1,c.zAsync=!c.isParent);c.isFirstNode=f;c.isLastNode=g;c.getParentNode=function(){return h.getNodeCache(b,c.parentTId)};c.getPreNode=function(){return h.getPreNode(b,c)};c.getNextNode=function(){return h.getNextNode(b,c)};c.isAjaxing=!1;h.fixPIdKeyValue(b,c)}}],s=[function(b){var a=b.target,c=h.getSetting(b.data.treeId),d="",f=null,g="",l="",i=null,n=null,k=null;if(j.eqs(b.type,"mousedown"))l="mousedown";else if(j.eqs(b.type,
-"mouseup"))l="mouseup";else if(j.eqs(b.type,"contextmenu"))l="contextmenu";else if(j.eqs(b.type,"click"))if(j.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+e.id.SWITCH)!==null)d=j.getNodeMainDom(a).id,g="switchNode";else{if(k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}]))d=j.getNodeMainDom(k).id,g="clickNode"}else if(j.eqs(b.type,"dblclick")&&(l="dblclick",k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}])))d=j.getNodeMainDom(k).id,g="switchNode";if(l.length>0&&d.length==0&&
-(k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}])))d=j.getNodeMainDom(k).id;if(d.length>0)switch(f=h.getNodeCache(c,d),g){case "switchNode":f.isParent?j.eqs(b.type,"click")||j.eqs(b.type,"dblclick")&&j.apply(c.view.dblClickExpand,[c.treeId,f],c.view.dblClickExpand)?i=G:g="":g="";break;case "clickNode":i=H}switch(l){case "mousedown":n=I;break;case "mouseup":n=J;break;case "dblclick":n=K;break;case "contextmenu":n=L}return{stop:!1,node:f,nodeEventType:g,nodeEventCallback:i,treeEventType:l,
-treeEventCallback:n}}],A=[function(b){var a=h.getRoot(b);a||(a={},h.setRoot(b,a));a[b.data.key.children]=[];a.expandTriggerFlag=!1;a.curSelectedList=[];a.noSelection=!0;a.createdNodes=[];a.zId=0;a._ver=(new Date).getTime()}],B=[],C=[],D=[],E=[],F=[],h={addNodeCache:function(b,a){h.getCache(b).nodes[h.getNodeCacheId(a.tId)]=a},getNodeCacheId:function(b){return b.substring(b.lastIndexOf("_")+1)},addAfterA:function(b){C.push(b)},addBeforeA:function(b){B.push(b)},addInnerAfterA:function(b){E.push(b)},
-addInnerBeforeA:function(b){D.push(b)},addInitBind:function(b){w.push(b)},addInitUnBind:function(b){x.push(b)},addInitCache:function(b){y.push(b)},addInitNode:function(b){z.push(b)},addInitProxy:function(b,a){a?s.splice(0,0,b):s.push(b)},addInitRoot:function(b){A.push(b)},addNodesData:function(b,a,c){var d=b.data.key.children;a[d]||(a[d]=[]);if(a[d].length>0)a[d][a[d].length-1].isLastNode=!1,i.setNodeLineIcos(b,a[d][a[d].length-1]);a.isParent=!0;a[d]=a[d].concat(c)},addSelectedNode:function(b,a){var c=
-h.getRoot(b);h.isSelectedNode(b,a)||c.curSelectedList.push(a)},addCreatedNode:function(b,a){(b.callback.onNodeCreated||b.view.addDiyDom)&&h.getRoot(b).createdNodes.push(a)},addZTreeTools:function(b){F.push(b)},exSetting:function(b){p.extend(!0,M,b)},fixPIdKeyValue:function(b,a){b.data.simpleData.enable&&(a[b.data.simpleData.pIdKey]=a.parentTId?a.getParentNode()[b.data.simpleData.idKey]:b.data.simpleData.rootPId)},getAfterA:function(b,a,c){for(var d=0,f=C.length;d<f;d++)C[d].apply(this,arguments)},
-getBeforeA:function(b,a,c){for(var d=0,f=B.length;d<f;d++)B[d].apply(this,arguments)},getInnerAfterA:function(b,a,c){for(var d=0,f=E.length;d<f;d++)E[d].apply(this,arguments)},getInnerBeforeA:function(b,a,c){for(var d=0,f=D.length;d<f;d++)D[d].apply(this,arguments)},getCache:function(b){return v[b.treeId]},getNextNode:function(b,a){if(!a)return null;for(var c=b.data.key.children,d=a.parentTId?a.getParentNode():h.getRoot(b),f=0,g=d[c].length-1;f<=g;f++)if(d[c][f]===a)return f==g?null:d[c][f+1];return null},
-getNodeByParam:function(b,a,c,d){if(!a||!c)return null;for(var f=b.data.key.children,g=0,l=a.length;g<l;g++){if(a[g][c]==d)return a[g];var e=h.getNodeByParam(b,a[g][f],c,d);if(e)return e}return null},getNodeCache:function(b,a){if(!a)return null;var c=v[b.treeId].nodes[h.getNodeCacheId(a)];return c?c:null},getNodeName:function(b,a){return""+a[b.data.key.name]},getNodeTitle:function(b,a){return""+a[b.data.key.title===""?b.data.key.name:b.data.key.title]},getNodes:function(b){return h.getRoot(b)[b.data.key.children]},
-getNodesByParam:function(b,a,c,d){if(!a||!c)return[];for(var f=b.data.key.children,g=[],l=0,e=a.length;l<e;l++)a[l][c]==d&&g.push(a[l]),g=g.concat(h.getNodesByParam(b,a[l][f],c,d));return g},getNodesByParamFuzzy:function(b,a,c,d){if(!a||!c)return[];for(var f=b.data.key.children,g=[],d=d.toLowerCase(),l=0,e=a.length;l<e;l++)typeof a[l][c]=="string"&&a[l][c].toLowerCase().indexOf(d)>-1&&g.push(a[l]),g=g.concat(h.getNodesByParamFuzzy(b,a[l][f],c,d));return g},getNodesByFilter:function(b,a,c,d,f){if(!a)return d?
-null:[];for(var g=b.data.key.children,e=d?null:[],i=0,n=a.length;i<n;i++){if(j.apply(c,[a[i],f],!1)){if(d)return a[i];e.push(a[i])}var k=h.getNodesByFilter(b,a[i][g],c,d,f);if(d&&k)return k;e=d?k:e.concat(k)}return e},getPreNode:function(b,a){if(!a)return null;for(var c=b.data.key.children,d=a.parentTId?a.getParentNode():h.getRoot(b),f=0,g=d[c].length;f<g;f++)if(d[c][f]===a)return f==0?null:d[c][f-1];return null},getRoot:function(b){return b?u[b.treeId]:null},getRoots:function(){return u},getSetting:function(b){return r[b]},
-getSettings:function(){return r},getZTreeTools:function(b){return(b=this.getRoot(this.getSetting(b)))?b.treeTools:null},initCache:function(b){for(var a=0,c=y.length;a<c;a++)y[a].apply(this,arguments)},initNode:function(b,a,c,d,f,g){for(var e=0,h=z.length;e<h;e++)z[e].apply(this,arguments)},initRoot:function(b){for(var a=0,c=A.length;a<c;a++)A[a].apply(this,arguments)},isSelectedNode:function(b,a){for(var c=h.getRoot(b),d=0,f=c.curSelectedList.length;d<f;d++)if(a===c.curSelectedList[d])return!0;return!1},
-removeNodeCache:function(b,a){var c=b.data.key.children;if(a[c])for(var d=0,f=a[c].length;d<f;d++)arguments.callee(b,a[c][d]);h.getCache(b).nodes[h.getNodeCacheId(a.tId)]=null},removeSelectedNode:function(b,a){for(var c=h.getRoot(b),d=0,f=c.curSelectedList.length;d<f;d++)if(a===c.curSelectedList[d]||!h.getNodeCache(b,c.curSelectedList[d].tId))c.curSelectedList.splice(d,1),d--,f--},setCache:function(b,a){v[b.treeId]=a},setRoot:function(b,a){u[b.treeId]=a},setZTreeTools:function(b,a){for(var c=0,d=
-F.length;c<d;c++)F[c].apply(this,arguments)},transformToArrayFormat:function(b,a){if(!a)return[];var c=b.data.key.children,d=[];if(j.isArray(a))for(var f=0,g=a.length;f<g;f++)d.push(a[f]),a[f][c]&&(d=d.concat(h.transformToArrayFormat(b,a[f][c])));else d.push(a),a[c]&&(d=d.concat(h.transformToArrayFormat(b,a[c])));return d},transformTozTreeFormat:function(b,a){var c,d,f=b.data.simpleData.idKey,g=b.data.simpleData.pIdKey,e=b.data.key.children;if(!f||f==""||!a)return[];if(j.isArray(a)){var h=[],i=[];
-for(c=0,d=a.length;c<d;c++)i[a[c][f]]=a[c];for(c=0,d=a.length;c<d;c++)i[a[c][g]]&&a[c][f]!=a[c][g]?(i[a[c][g]][e]||(i[a[c][g]][e]=[]),i[a[c][g]][e].push(a[c])):h.push(a[c]);return h}else return[a]}},m={bindEvent:function(b){for(var a=0,c=w.length;a<c;a++)w[a].apply(this,arguments)},unbindEvent:function(b){for(var a=0,c=x.length;a<c;a++)x[a].apply(this,arguments)},bindTree:function(b){var a={treeId:b.treeId},c=b.treeObj;b.view.txtSelectedEnable||c.bind("selectstart",function(a){a=a.originalEvent.srcElement.nodeName.toLowerCase();
-return a==="input"||a==="textarea"}).css({"-moz-user-select":"-moz-none"});c.bind("click",a,m.proxy);c.bind("dblclick",a,m.proxy);c.bind("mouseover",a,m.proxy);c.bind("mouseout",a,m.proxy);c.bind("mousedown",a,m.proxy);c.bind("mouseup",a,m.proxy);c.bind("contextmenu",a,m.proxy)},unbindTree:function(b){b.treeObj.unbind("click",m.proxy).unbind("dblclick",m.proxy).unbind("mouseover",m.proxy).unbind("mouseout",m.proxy).unbind("mousedown",m.proxy).unbind("mouseup",m.proxy).unbind("contextmenu",m.proxy)},
-doProxy:function(b){for(var a=[],c=0,d=s.length;c<d;c++){var f=s[c].apply(this,arguments);a.push(f);if(f.stop)break}return a},proxy:function(b){var a=h.getSetting(b.data.treeId);if(!j.uCanDo(a,b))return!0;for(var a=m.doProxy(b),c=!0,d=0,f=a.length;d<f;d++){var g=a[d];g.nodeEventCallback&&(c=g.nodeEventCallback.apply(g,[b,g.node])&&c);g.treeEventCallback&&(c=g.treeEventCallback.apply(g,[b,g.node])&&c)}return c}};G=function(b,a){var c=h.getSetting(b.data.treeId);if(a.open){if(j.apply(c.callback.beforeCollapse,
-[c.treeId,a],!0)==!1)return!0}else if(j.apply(c.callback.beforeExpand,[c.treeId,a],!0)==!1)return!0;h.getRoot(c).expandTriggerFlag=!0;i.switchNode(c,a);return!0};H=function(b,a){var c=h.getSetting(b.data.treeId),d=c.view.autoCancelSelected&&(b.ctrlKey||b.metaKey)&&h.isSelectedNode(c,a)?0:c.view.autoCancelSelected&&(b.ctrlKey||b.metaKey)&&c.view.selectedMulti?2:1;if(j.apply(c.callback.beforeClick,[c.treeId,a,d],!0)==!1)return!0;d===0?i.cancelPreSelectedNode(c,a):i.selectNode(c,a,d===2);c.treeObj.trigger(e.event.CLICK,
-[b,c.treeId,a,d]);return!0};I=function(b,a){var c=h.getSetting(b.data.treeId);j.apply(c.callback.beforeMouseDown,[c.treeId,a],!0)&&j.apply(c.callback.onMouseDown,[b,c.treeId,a]);return!0};J=function(b,a){var c=h.getSetting(b.data.treeId);j.apply(c.callback.beforeMouseUp,[c.treeId,a],!0)&&j.apply(c.callback.onMouseUp,[b,c.treeId,a]);return!0};K=function(b,a){var c=h.getSetting(b.data.treeId);j.apply(c.callback.beforeDblClick,[c.treeId,a],!0)&&j.apply(c.callback.onDblClick,[b,c.treeId,a]);return!0};
-L=function(b,a){var c=h.getSetting(b.data.treeId);j.apply(c.callback.beforeRightClick,[c.treeId,a],!0)&&j.apply(c.callback.onRightClick,[b,c.treeId,a]);return typeof c.callback.onRightClick!="function"};var j={apply:function(b,a,c){return typeof b=="function"?b.apply(N,a?a:[]):c},canAsync:function(b,a){var c=b.data.key.children;return b.async.enable&&a&&a.isParent&&!(a.zAsync||a[c]&&a[c].length>0)},clone:function(b){if(b===null)return null;var a=j.isArray(b)?[]:{},c;for(c in b)a[c]=b[c]instanceof
-Date?new Date(b[c].getTime()):typeof b[c]==="object"?arguments.callee(b[c]):b[c];return a},eqs:function(b,a){return b.toLowerCase()===a.toLowerCase()},isArray:function(b){return Object.prototype.toString.apply(b)==="[object Array]"},$:function(b,a,c){a&&typeof a!="string"&&(c=a,a="");return typeof b=="string"?p(b,c?c.treeObj.get(0).ownerDocument:null):p("#"+b.tId+a,c?c.treeObj:null)},getMDom:function(b,a,c){if(!a)return null;for(;a&&a.id!==b.treeId;){for(var d=0,f=c.length;a.tagName&&d<f;d++)if(j.eqs(a.tagName,
-c[d].tagName)&&a.getAttribute(c[d].attrName)!==null)return a;a=a.parentNode}return null},getNodeMainDom:function(b){return p(b).parent("li").get(0)||p(b).parentsUntil("li").parent().get(0)},isChildOrSelf:function(b,a){return p(b).closest("#"+a).length>0},uCanDo:function(){return!0}},i={addNodes:function(b,a,c,d){if(!b.data.keep.leaf||!a||a.isParent)if(j.isArray(c)||(c=[c]),b.data.simpleData.enable&&(c=h.transformTozTreeFormat(b,c)),a){var f=k(a,e.id.SWITCH,b),g=k(a,e.id.ICON,b),l=k(a,e.id.UL,b);if(!a.open)i.replaceSwitchClass(a,
-f,e.folder.CLOSE),i.replaceIcoClass(a,g,e.folder.CLOSE),a.open=!1,l.css({display:"none"});h.addNodesData(b,a,c);i.createNodes(b,a.level+1,c,a);d||i.expandCollapseParentNode(b,a,!0)}else h.addNodesData(b,h.getRoot(b),c),i.createNodes(b,0,c,null)},appendNodes:function(b,a,c,d,f,g){if(!c)return[];for(var e=[],j=b.data.key.children,k=0,m=c.length;k<m;k++){var o=c[k];if(f){var t=(d?d:h.getRoot(b))[j].length==c.length&&k==0;h.initNode(b,a,o,d,t,k==c.length-1,g);h.addNodeCache(b,o)}t=[];o[j]&&o[j].length>
-0&&(t=i.appendNodes(b,a+1,o[j],o,f,g&&o.open));g&&(i.makeDOMNodeMainBefore(e,b,o),i.makeDOMNodeLine(e,b,o),h.getBeforeA(b,o,e),i.makeDOMNodeNameBefore(e,b,o),h.getInnerBeforeA(b,o,e),i.makeDOMNodeIcon(e,b,o),h.getInnerAfterA(b,o,e),i.makeDOMNodeNameAfter(e,b,o),h.getAfterA(b,o,e),o.isParent&&o.open&&i.makeUlHtml(b,o,e,t.join("")),i.makeDOMNodeMainAfter(e,b,o),h.addCreatedNode(b,o))}return e},appendParentULDom:function(b,a){var c=[],d=k(a,b);!d.get(0)&&a.parentTId&&(i.appendParentULDom(b,a.getParentNode()),
-d=k(a,b));var f=k(a,e.id.UL,b);f.get(0)&&f.remove();f=i.appendNodes(b,a.level+1,a[b.data.key.children],a,!1,!0);i.makeUlHtml(b,a,c,f.join(""));d.append(c.join(""))},asyncNode:function(b,a,c,d){var f,g;if(a&&!a.isParent)return j.apply(d),!1;else if(a&&a.isAjaxing)return!1;else if(j.apply(b.callback.beforeAsync,[b.treeId,a],!0)==!1)return j.apply(d),!1;if(a)a.isAjaxing=!0,k(a,e.id.ICON,b).attr({style:"","class":e.className.BUTTON+" "+e.className.ICO_LOADING});var l={};for(f=0,g=b.async.autoParam.length;a&&
-f<g;f++){var q=b.async.autoParam[f].split("="),n=q;q.length>1&&(n=q[1],q=q[0]);l[n]=a[q]}if(j.isArray(b.async.otherParam))for(f=0,g=b.async.otherParam.length;f<g;f+=2)l[b.async.otherParam[f]]=b.async.otherParam[f+1];else for(var m in b.async.otherParam)l[m]=b.async.otherParam[m];var o=h.getRoot(b)._ver;p.ajax({contentType:b.async.contentType,type:b.async.type,url:j.apply(b.async.url,[b.treeId,a],b.async.url),data:l,dataType:b.async.dataType,success:function(f){if(o==h.getRoot(b)._ver){var g=[];try{g=
-!f||f.length==0?[]:typeof f=="string"?eval("("+f+")"):f}catch(l){g=f}if(a)a.isAjaxing=null,a.zAsync=!0;i.setNodeLineIcos(b,a);g&&g!==""?(g=j.apply(b.async.dataFilter,[b.treeId,a,g],g),i.addNodes(b,a,g?j.clone(g):[],!!c)):i.addNodes(b,a,[],!!c);b.treeObj.trigger(e.event.ASYNC_SUCCESS,[b.treeId,a,f]);j.apply(d)}},error:function(c,d,f){if(o==h.getRoot(b)._ver){if(a)a.isAjaxing=null;i.setNodeLineIcos(b,a);b.treeObj.trigger(e.event.ASYNC_ERROR,[b.treeId,a,c,d,f])}}});return!0},cancelPreSelectedNode:function(b,
-a){for(var c=h.getRoot(b).curSelectedList,d=c.length-1;d>=0;d--)if(!a||a===c[d])if(k(c[d],e.id.A,b).removeClass(e.node.CURSELECTED),a){h.removeSelectedNode(b,a);break}if(!a)h.getRoot(b).curSelectedList=[]},createNodeCallback:function(b){if(b.callback.onNodeCreated||b.view.addDiyDom)for(var a=h.getRoot(b);a.createdNodes.length>0;){var c=a.createdNodes.shift();j.apply(b.view.addDiyDom,[b.treeId,c]);b.callback.onNodeCreated&&b.treeObj.trigger(e.event.NODECREATED,[b.treeId,c])}},createNodes:function(b,
-a,c,d){if(c&&c.length!=0){var f=h.getRoot(b),g=b.data.key.children,g=!d||d.open||!!k(d[g][0],b).get(0);f.createdNodes=[];a=i.appendNodes(b,a,c,d,!0,g);d?(d=k(d,e.id.UL,b),d.get(0)&&d.append(a.join(""))):b.treeObj.append(a.join(""));i.createNodeCallback(b)}},destroy:function(b){b&&(h.initCache(b),h.initRoot(b),m.unbindTree(b),m.unbindEvent(b),b.treeObj.empty(),delete r[b.treeId])},expandCollapseNode:function(b,a,c,d,f){var g=h.getRoot(b),l=b.data.key.children;if(a){if(g.expandTriggerFlag){var q=f,
-f=function(){q&&q();a.open?b.treeObj.trigger(e.event.EXPAND,[b.treeId,a]):b.treeObj.trigger(e.event.COLLAPSE,[b.treeId,a])};g.expandTriggerFlag=!1}if(!a.open&&a.isParent&&(!k(a,e.id.UL,b).get(0)||a[l]&&a[l].length>0&&!k(a[l][0],b).get(0)))i.appendParentULDom(b,a),i.createNodeCallback(b);if(a.open==c)j.apply(f,[]);else{var c=k(a,e.id.UL,b),g=k(a,e.id.SWITCH,b),n=k(a,e.id.ICON,b);a.isParent?(a.open=!a.open,a.iconOpen&&a.iconClose&&n.attr("style",i.makeNodeIcoStyle(b,a)),a.open?(i.replaceSwitchClass(a,
-g,e.folder.OPEN),i.replaceIcoClass(a,n,e.folder.OPEN),d==!1||b.view.expandSpeed==""?(c.show(),j.apply(f,[])):a[l]&&a[l].length>0?c.slideDown(b.view.expandSpeed,f):(c.show(),j.apply(f,[]))):(i.replaceSwitchClass(a,g,e.folder.CLOSE),i.replaceIcoClass(a,n,e.folder.CLOSE),d==!1||b.view.expandSpeed==""||!(a[l]&&a[l].length>0)?(c.hide(),j.apply(f,[])):c.slideUp(b.view.expandSpeed,f))):j.apply(f,[])}}else j.apply(f,[])},expandCollapseParentNode:function(b,a,c,d,f){a&&(a.parentTId?(i.expandCollapseNode(b,
-a,c,d),a.parentTId&&i.expandCollapseParentNode(b,a.getParentNode(),c,d,f)):i.expandCollapseNode(b,a,c,d,f))},expandCollapseSonNode:function(b,a,c,d,f){var g=h.getRoot(b),e=b.data.key.children,g=a?a[e]:g[e],e=a?!1:d,j=h.getRoot(b).expandTriggerFlag;h.getRoot(b).expandTriggerFlag=!1;if(g)for(var k=0,m=g.length;k<m;k++)g[k]&&i.expandCollapseSonNode(b,g[k],c,e);h.getRoot(b).expandTriggerFlag=j;i.expandCollapseNode(b,a,c,d,f)},makeDOMNodeIcon:function(b,a,c){var d=h.getNodeName(a,c),d=a.view.nameIsHTML?
-d:d.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");b.push("<span id='",c.tId,e.id.ICON,"' title='' treeNode",e.id.ICON," class='",i.makeNodeIcoClass(a,c),"' style='",i.makeNodeIcoStyle(a,c),"'></span><span id='",c.tId,e.id.SPAN,"'>",d,"</span>")},makeDOMNodeLine:function(b,a,c){b.push("<span id='",c.tId,e.id.SWITCH,"' title='' class='",i.makeNodeLineClass(a,c),"' treeNode",e.id.SWITCH,"></span>")},makeDOMNodeMainAfter:function(b){b.push("</li>")},makeDOMNodeMainBefore:function(b,
-a,c){b.push("<li id='",c.tId,"' class='",e.className.LEVEL,c.level,"' tabindex='0' hidefocus='true' treenode>")},makeDOMNodeNameAfter:function(b){b.push("</a>")},makeDOMNodeNameBefore:function(b,a,c){var d=h.getNodeTitle(a,c),f=i.makeNodeUrl(a,c),g=i.makeNodeFontCss(a,c),l=[],k;for(k in g)l.push(k,":",g[k],";");b.push("<a id='",c.tId,e.id.A,"' class='",e.className.LEVEL,c.level,"' treeNode",e.id.A,' onclick="',c.click||"",'" ',f!=null&&f.length>0?"href='"+f+"'":""," target='",i.makeNodeTarget(c),
-"' style='",l.join(""),"'");j.apply(a.view.showTitle,[a.treeId,c],a.view.showTitle)&&d&&b.push("title='",d.replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"'");b.push(">")},makeNodeFontCss:function(b,a){var c=j.apply(b.view.fontCss,[b.treeId,a],b.view.fontCss);return c&&typeof c!="function"?c:{}},makeNodeIcoClass:function(b,a){var c=["ico"];a.isAjaxing||(c[0]=(a.iconSkin?a.iconSkin+"_":"")+c[0],a.isParent?c.push(a.open?e.folder.OPEN:e.folder.CLOSE):c.push(e.folder.DOCU));return e.className.BUTTON+
-" "+c.join("_")},makeNodeIcoStyle:function(b,a){var c=[];if(!a.isAjaxing){var d=a.isParent&&a.iconOpen&&a.iconClose?a.open?a.iconOpen:a.iconClose:a.icon;d&&c.push("background:url(",d,") 0 0 no-repeat;");(b.view.showIcon==!1||!j.apply(b.view.showIcon,[b.treeId,a],!0))&&c.push("width:0px;height:0px;")}return c.join("")},makeNodeLineClass:function(b,a){var c=[];b.view.showLine?a.level==0&&a.isFirstNode&&a.isLastNode?c.push(e.line.ROOT):a.level==0&&a.isFirstNode?c.push(e.line.ROOTS):a.isLastNode?c.push(e.line.BOTTOM):
-c.push(e.line.CENTER):c.push(e.line.NOLINE);a.isParent?c.push(a.open?e.folder.OPEN:e.folder.CLOSE):c.push(e.folder.DOCU);return i.makeNodeLineClassEx(a)+c.join("_")},makeNodeLineClassEx:function(b){return e.className.BUTTON+" "+e.className.LEVEL+b.level+" "+e.className.SWITCH+" "},makeNodeTarget:function(b){return b.target||"_blank"},makeNodeUrl:function(b,a){var c=b.data.key.url;return a[c]?a[c]:null},makeUlHtml:function(b,a,c,d){c.push("<ul id='",a.tId,e.id.UL,"' class='",e.className.LEVEL,a.level,
-" ",i.makeUlLineClass(b,a),"' style='display:",a.open?"block":"none","'>");c.push(d);c.push("</ul>")},makeUlLineClass:function(b,a){return b.view.showLine&&!a.isLastNode?e.line.LINE:""},removeChildNodes:function(b,a){if(a){var c=b.data.key.children,d=a[c];if(d){for(var f=0,g=d.length;f<g;f++)h.removeNodeCache(b,d[f]);h.removeSelectedNode(b);delete a[c];b.data.keep.parent?k(a,e.id.UL,b).empty():(a.isParent=!1,a.open=!1,c=k(a,e.id.SWITCH,b),d=k(a,e.id.ICON,b),i.replaceSwitchClass(a,c,e.folder.DOCU),
-i.replaceIcoClass(a,d,e.folder.DOCU),k(a,e.id.UL,b).remove())}}},setFirstNode:function(b,a){var c=b.data.key.children;if(a[c].length>0)a[c][0].isFirstNode=!0},setLastNode:function(b,a){var c=b.data.key.children,d=a[c].length;if(d>0)a[c][d-1].isLastNode=!0},removeNode:function(b,a){var c=h.getRoot(b),d=b.data.key.children,f=a.parentTId?a.getParentNode():c;a.isFirstNode=!1;a.isLastNode=!1;a.getPreNode=function(){return null};a.getNextNode=function(){return null};if(h.getNodeCache(b,a.tId)){k(a,b).remove();
-h.removeNodeCache(b,a);h.removeSelectedNode(b,a);for(var g=0,l=f[d].length;g<l;g++)if(f[d][g].tId==a.tId){f[d].splice(g,1);break}i.setFirstNode(b,f);i.setLastNode(b,f);var j,g=f[d].length;if(!b.data.keep.parent&&g==0)f.isParent=!1,f.open=!1,g=k(f,e.id.UL,b),l=k(f,e.id.SWITCH,b),j=k(f,e.id.ICON,b),i.replaceSwitchClass(f,l,e.folder.DOCU),i.replaceIcoClass(f,j,e.folder.DOCU),g.css("display","none");else if(b.view.showLine&&g>0){var n=f[d][g-1],g=k(n,e.id.UL,b),l=k(n,e.id.SWITCH,b);j=k(n,e.id.ICON,b);
-f==c?f[d].length==1?i.replaceSwitchClass(n,l,e.line.ROOT):(c=k(f[d][0],e.id.SWITCH,b),i.replaceSwitchClass(f[d][0],c,e.line.ROOTS),i.replaceSwitchClass(n,l,e.line.BOTTOM)):i.replaceSwitchClass(n,l,e.line.BOTTOM);g.removeClass(e.line.LINE)}}},replaceIcoClass:function(b,a,c){if(a&&!b.isAjaxing&&(b=a.attr("class"),b!=void 0)){b=b.split("_");switch(c){case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:b[b.length-1]=c}a.attr("class",b.join("_"))}},replaceSwitchClass:function(b,a,c){if(a){var d=
-a.attr("class");if(d!=void 0){d=d.split("_");switch(c){case e.line.ROOT:case e.line.ROOTS:case e.line.CENTER:case e.line.BOTTOM:case e.line.NOLINE:d[0]=i.makeNodeLineClassEx(b)+c;break;case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:d[1]=c}a.attr("class",d.join("_"));c!==e.folder.DOCU?a.removeAttr("disabled"):a.attr("disabled","disabled")}}},selectNode:function(b,a,c){c||i.cancelPreSelectedNode(b);k(a,e.id.A,b).addClass(e.node.CURSELECTED);h.addSelectedNode(b,a)},setNodeFontCss:function(b,
-a){var c=k(a,e.id.A,b),d=i.makeNodeFontCss(b,a);d&&c.css(d)},setNodeLineIcos:function(b,a){if(a){var c=k(a,e.id.SWITCH,b),d=k(a,e.id.UL,b),f=k(a,e.id.ICON,b),g=i.makeUlLineClass(b,a);g.length==0?d.removeClass(e.line.LINE):d.addClass(g);c.attr("class",i.makeNodeLineClass(b,a));a.isParent?c.removeAttr("disabled"):c.attr("disabled","disabled");f.removeAttr("style");f.attr("style",i.makeNodeIcoStyle(b,a));f.attr("class",i.makeNodeIcoClass(b,a))}},setNodeName:function(b,a){var c=h.getNodeTitle(b,a),d=
-k(a,e.id.SPAN,b);d.empty();b.view.nameIsHTML?d.html(h.getNodeName(b,a)):d.text(h.getNodeName(b,a));j.apply(b.view.showTitle,[b.treeId,a],b.view.showTitle)&&k(a,e.id.A,b).attr("title",!c?"":c)},setNodeTarget:function(b,a){k(a,e.id.A,b).attr("target",i.makeNodeTarget(a))},setNodeUrl:function(b,a){var c=k(a,e.id.A,b),d=i.makeNodeUrl(b,a);d==null||d.length==0?c.removeAttr("href"):c.attr("href",d)},switchNode:function(b,a){a.open||!j.canAsync(b,a)?i.expandCollapseNode(b,a,!a.open):b.async.enable?i.asyncNode(b,
-a)||i.expandCollapseNode(b,a,!a.open):a&&i.expandCollapseNode(b,a,!a.open)}};p.fn.zTree={consts:{className:{BUTTON:"button",LEVEL:"level",ICO_LOADING:"ico_loading",SWITCH:"switch"},event:{NODECREATED:"ztree_nodeCreated",CLICK:"ztree_click",EXPAND:"ztree_expand",COLLAPSE:"ztree_collapse",ASYNC_SUCCESS:"ztree_async_success",ASYNC_ERROR:"ztree_async_error",REMOVE:"ztree_remove"},id:{A:"_a",ICON:"_ico",SPAN:"_span",SWITCH:"_switch",UL:"_ul"},line:{ROOT:"root",ROOTS:"roots",CENTER:"center",BOTTOM:"bottom",
-NOLINE:"noline",LINE:"line"},folder:{OPEN:"open",CLOSE:"close",DOCU:"docu"},node:{CURSELECTED:"curSelectedNode"}},_z:{tools:j,view:i,event:m,data:h},getZTreeObj:function(b){return(b=h.getZTreeTools(b))?b:null},destroy:function(b){if(b&&b.length>0)i.destroy(h.getSetting(b));else for(var a in r)i.destroy(r[a])},init:function(b,a,c){var d=j.clone(M);p.extend(!0,d,a);d.treeId=b.attr("id");d.treeObj=b;d.treeObj.empty();r[d.treeId]=d;if(typeof document.body.style.maxHeight==="undefined")d.view.expandSpeed=
-"";h.initRoot(d);b=h.getRoot(d);a=d.data.key.children;c=c?j.clone(j.isArray(c)?c:[c]):[];b[a]=d.data.simpleData.enable?h.transformTozTreeFormat(d,c):c;h.initCache(d);m.unbindTree(d);m.bindTree(d);m.unbindEvent(d);m.bindEvent(d);c={setting:d,addNodes:function(a,b,c){function e(){i.addNodes(d,a,h,c==!0)}if(!b)return null;a||(a=null);if(a&&!a.isParent&&d.data.keep.leaf)return null;var h=j.clone(j.isArray(b)?b:[b]);j.canAsync(d,a)?i.asyncNode(d,a,c,e):e();return h},cancelSelectedNode:function(a){i.cancelPreSelectedNode(d,
-a)},destroy:function(){i.destroy(d)},expandAll:function(a){a=!!a;i.expandCollapseSonNode(d,null,a,!0);return a},expandNode:function(a,b,c,e,n){if(!a||!a.isParent)return null;b!==!0&&b!==!1&&(b=!a.open);if((n=!!n)&&b&&j.apply(d.callback.beforeExpand,[d.treeId,a],!0)==!1)return null;else if(n&&!b&&j.apply(d.callback.beforeCollapse,[d.treeId,a],!0)==!1)return null;b&&a.parentTId&&i.expandCollapseParentNode(d,a.getParentNode(),b,!1);if(b===a.open&&!c)return null;h.getRoot(d).expandTriggerFlag=n;if(!j.canAsync(d,
-a)&&c)i.expandCollapseSonNode(d,a,b,!0,function(){if(e!==!1)try{k(a,d).focus().blur()}catch(b){}});else if(a.open=!b,i.switchNode(this.setting,a),e!==!1)try{k(a,d).focus().blur()}catch(m){}return b},getNodes:function(){return h.getNodes(d)},getNodeByParam:function(a,b,c){return!a?null:h.getNodeByParam(d,c?c[d.data.key.children]:h.getNodes(d),a,b)},getNodeByTId:function(a){return h.getNodeCache(d,a)},getNodesByParam:function(a,b,c){return!a?null:h.getNodesByParam(d,c?c[d.data.key.children]:h.getNodes(d),
-a,b)},getNodesByParamFuzzy:function(a,b,c){return!a?null:h.getNodesByParamFuzzy(d,c?c[d.data.key.children]:h.getNodes(d),a,b)},getNodesByFilter:function(a,b,c,e){b=!!b;return!a||typeof a!="function"?b?null:[]:h.getNodesByFilter(d,c?c[d.data.key.children]:h.getNodes(d),a,b,e)},getNodeIndex:function(a){if(!a)return null;for(var b=d.data.key.children,c=a.parentTId?a.getParentNode():h.getRoot(d),e=0,i=c[b].length;e<i;e++)if(c[b][e]==a)return e;return-1},getSelectedNodes:function(){for(var a=[],b=h.getRoot(d).curSelectedList,
-c=0,e=b.length;c<e;c++)a.push(b[c]);return a},isSelectedNode:function(a){return h.isSelectedNode(d,a)},reAsyncChildNodes:function(a,b,c){if(this.setting.async.enable){var j=!a;j&&(a=h.getRoot(d));if(b=="refresh"){for(var b=this.setting.data.key.children,m=0,p=a[b]?a[b].length:0;m<p;m++)h.removeNodeCache(d,a[b][m]);h.removeSelectedNode(d);a[b]=[];j?this.setting.treeObj.empty():k(a,e.id.UL,d).empty()}i.asyncNode(this.setting,j?null:a,!!c)}},refresh:function(){this.setting.treeObj.empty();var a=h.getRoot(d),
-b=a[d.data.key.children];h.initRoot(d);a[d.data.key.children]=b;h.initCache(d);i.createNodes(d,0,a[d.data.key.children])},removeChildNodes:function(a){if(!a)return null;var b=a[d.data.key.children];i.removeChildNodes(d,a);return b?b:null},removeNode:function(a,b){a&&(b=!!b,b&&j.apply(d.callback.beforeRemove,[d.treeId,a],!0)==!1||(i.removeNode(d,a),b&&this.setting.treeObj.trigger(e.event.REMOVE,[d.treeId,a])))},selectNode:function(a,b){if(a&&j.uCanDo(d)){b=d.view.selectedMulti&&b;if(a.parentTId)i.expandCollapseParentNode(d,
-a.getParentNode(),!0,!1,function(){try{k(a,d).focus().blur()}catch(b){}});else try{k(a,d).focus().blur()}catch(c){}i.selectNode(d,a,b)}},transformTozTreeNodes:function(a){return h.transformTozTreeFormat(d,a)},transformToArray:function(a){return h.transformToArrayFormat(d,a)},updateNode:function(a){a&&k(a,d).get(0)&&j.uCanDo(d)&&(i.setNodeName(d,a),i.setNodeTarget(d,a),i.setNodeUrl(d,a),i.setNodeLineIcos(d,a),i.setNodeFontCss(d,a))}};b.treeTools=c;h.setZTreeTools(d,c);b[a]&&b[a].length>0?i.createNodes(d,
-0,b[a]):d.async.enable&&d.async.url&&d.async.url!==""&&i.asyncNode(d);return c}};var N=p.fn.zTree,k=j.$,e=N.consts})(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/zTreeStyleForApi.css b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/zTreeStyleForApi.css
deleted file mode 100644
index f57f4adf..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/apiCss/zTreeStyleForApi.css
+++ /dev/null
@@ -1,49 +0,0 @@
-/*-------------------------------------
-zTree Style
-
-version: 3.0
-author: Hunter.z
-email: hunter.z@263.net
-website: http://code.google.com/p/jquerytree/
-
--------------------------------------*/
-
-.ztree * {padding:0; margin:0; font-size:12px; font-family: Verdana, Arial, Helvetica, AppleGothic, sans-serif}
-.ztree {margin:0; padding:5px; color:#333}
-.ztree li{padding:0; margin:0; list-style:none; line-height:14px; text-align:left; white-space:nowrap}
-.ztree li ul{ margin:0; padding:0 0 0 18px}
-.ztree li ul.line{ background:url(./img/line_conn.gif) 0 0 repeat-y;}
-
-.ztree li a {padding:1px 3px 0 0; margin:0; cursor:pointer; color:#333; height:17px; text-decoration:none; vertical-align:top; display: inline-block}
-.ztree li a:hover {text-decoration:none}
-.ztree li a.curSelectedNode {padding-top:0px; background-color:#FFE6B0; color:black; height:16px; border:1px #FFB951 solid;}
-.ztree li a.curSelectedNode_Edit {padding-top:0px; background-color:#FFE6B0; color:black; height:16px; border:1px #FFB951 solid; opacity:0.8; filter:alpha(opacity=80)}
-.ztree li a.tmpTargetNode_inner {padding-top:0px; background-color:#316AC5; color:white; height:16px; border:1px #316AC5 solid; opacity:0.8; filter:alpha(opacity=80)}
-.ztree li a.tmpTargetNode_prev {}
-.ztree li a.tmpTargetNode_next {}
-.ztree li a input.rename {height:14px; width:80px; padding:0; margin:0;
- font-size:12px; border:1px #7EC4CC solid; *border:0px}
-.ztree li span {line-height:16px; margin-right: 2px}
-.ztree li span.button {line-height:0; margin:0;width:16px; height:16px; display: inline-block; vertical-align:middle;
- border:0 none; cursor: pointer;
- background-color:transparent; background-repeat:no-repeat; background-attachment: scroll;
- background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")}
-
-.ztree li span.button.switch {width:1px; height:18px; visibility: hidden}
-
-.zTreeDragUL {margin:0; padding:0; position:absolute; background-color:#cfcfcf; border:1px #00B83F dotted; opacity:0.8; filter:alpha(opacity=80)}
-.zTreeMask {z-index:10000; background-color:#cfcfcf; opacity:0.0; filter:alpha(opacity=0); position:absolute}
-
-/* level 等级样式*/
-/*.ztree li button.level0 {
- display:none;
-}
-.ztree li ul.level0 {
- padding:0;
- background:none;
-}*/
-
-.ztree li span.button.core_ico_docu{margin-right:2px; background-position:-126px 0; vertical-align:top; *vertical-align:middle}
-.ztree li span.button.check_ico_docu{margin-right:2px; background-position:-126px -16px; vertical-align:top; *vertical-align:middle}
-.ztree li span.button.edit_ico_docu{margin-right:2px; background-position:-126px -32px; vertical-align:top; *vertical-align:middle}
-.ztree li span.button.hide_ico_docu{margin-right:2px; background-position:-160px 0; vertical-align:top; *vertical-align:middle}
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree._z.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree._z.html
deleted file mode 100644
index beb424aa..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree._z.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>JSON</span><span class="path">$.fn.zTree.</span>_z</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree v3.x 内部的全部方法都可以通过 $.fn.zTree._z 进行调用,开放出来是为了更便于大家开发制作自己的 zTree 插件。 </p>
- <p class="highlight_red">如无特殊需求请勿使用此对象,以及修改此对象内部的各个函数。</p>
- </div>
- </div>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree.destroy.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree.destroy.html
deleted file mode 100644
index d9f7397a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree.destroy.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId)</span><span class="path">$.fn.zTree.</span>destroy</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>从 zTree v3.4 开始提供销毁 zTree 的方法。 </p>
- <p>1、用此方法可以销毁指定 treeId 的 zTree,也可以销毁当前页面全部的 zTree。</p>
- <p class="highlight_red">2、销毁指定 treeId 的 zTree 也可以使用 zTreeObj.destroy() 方法。</p>
- <p class="highlight_red">3、重新使用已经被销毁的树,必须要使用 init 方法进行初始化。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree 的 DOM 容器的 id</p>
- <p class="highlight_red">省略 treeId,表示销毁当前页面全部的 zTree</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 销毁 id 为 "treeDemo" 的 zTree</h4>
- <pre xmlns=""><code>$.fn.zTree.destroy("treeDemo");</code></pre>
- <h4>2. 销毁全部 的 zTree</h4>
- <pre xmlns=""><code>$.fn.zTree.destroy();</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree.getZTreeObj.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree.getZTreeObj.html
deleted file mode 100644
index 6858264f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree.getZTreeObj.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId)</span><span class="path">$.fn.zTree.</span>getZTreeObj</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree v3.x 专门提供的根据 treeId 获取 zTree 对象的方法。 </p>
- <p class="highlight_red">必须在初始化 zTree 以后才可以使用此方法。</p>
- <p>有了这个方法,用户不再需要自己设定全局变量来保存 zTree 初始化后得到的对象了,而且在所有回调函数中全都会返回 treeId 属性,用户可以随时使用此方法获取需要进行操作的 zTree 对象</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree 的 DOM 容器的 id</p>
- <h4 class="topLine"><b>返回值</b><span>JSON</span></h4>
- <p>zTree 对象,提供操作 zTree 的各种方法,对于通过 js 操作 zTree 来说必须通过此对象</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 获取 id 为 tree 的 zTree 对象</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree.init.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree.init.html
deleted file mode 100644
index effeb4fe..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/fn.zTree.init.html
+++ /dev/null
@@ -1,74 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(obj, zSetting, zNodes)</span><span class="path">$.fn.zTree.</span>init</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree 初始化方法,创建 zTree 必须使用此方法</p>
- <p>1、页面需要进行 W3C 申明,例如:&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"&nbsp;&nbsp; &nbsp;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;。</p>
- <p>2、需要首先加载 jquery-1.4.2.js 或其他更高版本的 jQuery 。</p>
- <p>3、需要加载 jquery-ztree.core-3.0.js,如果需要用到 编辑功能 或 checkbox / radio 还需要分别加载 jquery-ztree.exedit-3.0.js 和 jquery-ztree.excheck-3.0.js 。</p>
- <p>4、需要加载 zTreeStyle.css 以及 zTreeStyle 目录下的 img 文件。</p>
- <p>5、如果需要使用自定义图标请参考相应的Demo。</p>
- <p>6、请注意设置 zTree 的容器样式 class="ztree",其中 "ztree" 这个 className,可以根据需要随意修改,别忘了修改 css 中对应名字就是了,对于容器如果需要增加其他特殊样式,可根据自己的需要进行修改。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>obj</b><span>jQuery Object</span></h4>
- <p>用于展现 zTree 的 DOM 容器</p>
- <h4 class="topLine"><b>zSetting</b><span>JSON</span></h4>
- <p>zTree 的配置数据,具体请参考 “setting 配置详解”中的各个属性详细说明</p>
- <h4 class="topLine"><b>zNodes</b><span>Array(JSON) / JSON</span></h4>
- <p>zTree 的节点数据,具体请参考 “treeNode 节点数据详解”中的各个属性详细说明</p>
- <p class="highlight_red">1、v3.x 支持单独添加一个节点,即如果只新增一个节点,不用必须包在数组中</p>
- <p class="highlight_red">2、如果需要异步加载根节点,可以设置为 null 或 [ ]</p>
- <p class="highlight_red">3、使用简单数据模式,请参考 setting.data.simpleData 内的属性说明</p>
- <h4 class="topLine"><b>返回值</b><span>JSON</span></h4>
- <p>zTree 对象,提供操作 zTree 的各种方法,对于通过 js 操作 zTree 来说必须通过此对象</p>
- <p class="highlight_red">如果不需要自行设定全局变量保存,可以利用 $.fn.zTree.getZTreeObj 方法随时获取</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 简单创建 zTree 演示</h4>
- <pre xmlns=""><code>&lt;!DOCTYPE html&gt;
-&lt;HTML&gt;
- &lt;HEAD&gt;
- &lt;TITLE&gt; ZTREE DEMO &lt;/TITLE&gt;
- &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"&gt;
- &lt;link rel="stylesheet" href="zTreeStyle/zTreeStyle.css" type="text/css"&gt;
- &lt;script type="text/javascript" src="jquery-1.4.2.js"&gt;&lt;/script&gt;
- &lt;script type="text/javascript" src="jquery.ztree.core-3.5.js"&gt;&lt;/script&gt;
-&lt;!--
- &lt;script type="text/javascript" src="jquery.ztree.excheck-3.5.js"&gt;&lt;/script&gt;
- &lt;script type="text/javascript" src="jquery.ztree.exedit-3.5.js"&gt;&lt;/script&gt;
---&gt;
- &lt;SCRIPT type="text/javascript" &gt;
- var zTreeObj,
- setting = {
- view: {
- selectedMulti: false
- }
- },
- zTreeNodes = [
- {"name":"网站导航", open:true, children: [
- { "name":"google", "url":"http://g.cn", "target":"_blank"},
- { "name":"baidu", "url":"http://baidu.com", "target":"_blank"},
- { "name":"sina", "url":"http://www.sina.com.cn", "target":"_blank"}
- ]
- }
- ];
-
- $(document).ready(function(){
- zTreeObj = $.fn.zTree.init($("#tree"), setting, zTreeNodes);
-
- });
- &lt;/SCRIPT&gt;
- &lt;/HEAD&gt;
-
-&lt;BODY&gt;
-&lt;ul id="tree" class="ztree" style="width:230px; overflow:auto;"&gt;&lt;/ul&gt;
- &lt;/BODY&gt;
-&lt;/HTML&gt;</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.autoParam.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.autoParam.html
deleted file mode 100644
index 09c92e91..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.autoParam.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Array(String)</span><span class="path">setting.async.</span>autoParam</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>异步加载时需要自动提交父节点属性的参数。<span class="highlight_red">[setting.async.enable = true 时生效]</span></p>
- <p>默认值:[ ]</p>
- </div>
- </div>
- <h3>Array(String) 格式说明</h3>
- <div class="desc">
- <p>1、将需要作为参数提交的属性名称,制作成 Array 即可,例如:["id", "name"]</p>
- <p>2、可以设置提交时的参数名称,例如 server 只接受 zId : ["id=zId"]</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 id 属性为自动提交的参数</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- url: "http://host/getNode.php",
- autoParam: ["id"]
- }
-};
-假设 异步加载 父节点(node = {id:1, name:"test"}) 的子节点时,将提交参数 id=1
-......</code></pre>
- <h4>2. 设置 id 属性作为 zId 成为自动提交的参数</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- url: "http://host/getNode.php",
- autoParam: ["id=zId"]
- }
-};
-假设 对父节点 node = {id:1, name:"test"},进行异步加载时,将提交参数 zId=1
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.contentType.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.contentType.html
deleted file mode 100644
index 4547e328..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.contentType.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.async.</span>contentType</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Ajax 提交参数的数据类型。<span class="highlight_red">[setting.async.enable = true 时生效]</span></p>
- <p>默认值:"application/x-www-form-urlencoded"</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p> contentType = "application/x-www-form-urlencoded" 可以满足绝大部分请求,按照标准的 Form 格式提交参数</p>
- <p> contentType = "application/json" 可以满足 .Net 的编程需要,按照 JSON 格式提交参数</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 Ajax 提交参数的数据类型为 JSON 格式</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- contentType: "application/json",
- url: "http://host/getNode.php",
- autoParam: ["id", "name"]
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.dataFilter.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.dataFilter.html
deleted file mode 100644
index b5201638..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.dataFilter.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, parentNode, responseData)</span><span class="path">setting.async.</span>dataFilter</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于对 Ajax 返回数据进行预处理的函数。<span class="highlight_red">[setting.async.enable = true 时生效]</span></p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>parentNode</b><span>JSON</span></h4>
- <p>进行异步加载的父节点 JSON 数据对象</p>
- <p class="highlight_red">对根进行异步加载时,parentNode = null</p>
- <h4 class="topLine"><b>responseData</b><span>Array(JSON) / JSON / String</span></h4>
- <p>异步加载获取到的数据转换后的 Array(JSON) / JSON / String 数据对象</p>
- <p class="highlight_red">v3.4开始 支持 XML 数据格式的 String</p>
- <h4 class="topLine"><b>返回值</b><span>Array(JSON) / JSON</span></h4>
- <p>返回值是 zTree 支持的JSON 数据结构即可。</p>
- <p class="highlight_red">v3.x 支持单个 JSON 节点数据进行加载</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 修改异步获取到的节点name属性</h4>
- <pre xmlns=""><code>function ajaxDataFilter(treeId, parentNode, responseData) {
- if (responseData) {
- for(var i =0; i < responseData.length; i++) {
- responseData[i].name += "_filter";
- }
- }
- return responseData;
-};
-var setting = {
- async: {
- enable: true,
- url: "http://host/getNode.php",
- dataFilter: ajaxDataFilter
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.dataType.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.dataType.html
deleted file mode 100644
index 697071ba..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.dataType.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.async.</span>dataType</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Ajax 获取的数据类型。<span class="highlight_red">[setting.async.enable = true 时生效]</span></p>
- <p>默认值:"text"</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p> dataType = "text" 可以满足绝大部分请求</p>
- <p class="highlight_red">其余 dataType 类型请参考 jQuery ajax 中的 dataType 参数</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 Ajax 获取的数据类型为 纯文本</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- dataType: "text",
- url: "http://host/getNode.php",
- autoParam: ["id", "name"]
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.enable.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.enable.html
deleted file mode 100644
index 98560c41..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.enable.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.async.</span>enable</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置 zTree 是否开启异步加载模式</p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true 表示 开启 异步加载模式</p>
- <p> false 表示 关闭 异步加载模式</p>
- <p class="highlight_red">如果设置为 true,请务必设置 setting.async 内的其它参数。</p>
- <p class="highlight_red">如果需要根节点也异步加载,初始化时 treeNodes 参数设置为 null 即可。</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 需要开启异步加载模式</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- url: "http://host/getNode.php",
- autoParam: ["id", "name"]
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.otherParam.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.otherParam.html
deleted file mode 100644
index 0443e153..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.otherParam.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Array(String) / JSON</span><span class="path">setting.async.</span>otherParam</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Ajax 请求提交的静态参数键值对。<span class="highlight_red">[setting.async.enable = true 时生效]</span></p>
- <p>默认值:[ ]</p>
- </div>
- </div>
- <h3>Array(String) 格式说明</h3>
- <div class="desc">
- <p>可以为空[ ],如果有 key,则必须存在 value。 例如:[key, value]</p>
- </div>
- <h3>JSON 格式说明</h3>
- <div class="desc">
- <p>直接用 JSON 格式制作键值对,例如:{ key1:value1, key2:value2 }</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 Array(String) 格式的参数</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- url: "http://host/getNode.php",
- otherParam: ["id", "1", "name", "test"]
- }
-};
-进行异步加载时,将提交参数 id=1&name=test</code></pre>
- <h4>2. 设置 JSON 格式的参数</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- url: "http://host/getNode.php",
- otherParam: { "id":"1", "name":"test"}
- }
-};
-进行异步加载时,将提交参数 id=1&name=test</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.type.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.type.html
deleted file mode 100644
index 92a46f07..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.type.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.async.</span>type</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Ajax 的 http 请求模式。<span class="highlight_red">[setting.async.enable = true 时生效]</span></p>
- <p>默认值:"post"</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p> type = "post" 表示异步加载采用 post 方法请求</p>
- <p> type = "get" 表示异步加载采用 get 方法请求</p>
- <p class="highlight_red">对应于 jQuery ajax 中的 type 参数</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置使用 get 方式请求数据</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- type: "get",
- url: "http://host/getNode.php",
- autoParam: ["id", "name"]
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.url.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.url.html
deleted file mode 100644
index 6ed65512..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.async.url.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String / Function(treeId, treeNode)</span><span class="path">setting.async.</span>url</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Ajax 获取数据的 URL 地址。<span class="highlight_red">[setting.async.enable = true 时生效]</span></p>
- <p>默认值:""</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>设置固定的异步加载 url 字符串,请注意地址的路径,确保页面能正常加载</p>
- <p class="highlight_red">url 内也可以带参数,这些参数就只能是通过 get 方式提交了,并且请注意进行转码</p>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要异步加载子节点的的父节点 JSON 数据对象</p>
- <p class="highlight_red">针对根进行异步加载时,treeNode = null</p>
- <h4 class="topLine"><b>返回值</b><span>String</span></h4>
- <p>返回值同 String 格式的数据</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 设置异步获取节点的 URL 为 nodes.php</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- url: "nodes.php",
- autoParam: ["id", "name"]
- }
-};
-......</code></pre>
- <h4>2. 设置异步获取节点的 URL 为 function 动态获取</h4>
- <pre xmlns=""><code>function getAsyncUrl(treeId, treeNode) {
- return treeNode.isParent ? "nodes1.php" : "nodes2.php";
-};
-var setting = {
- async: {
- enable: true,
- url: getAsyncUrl,
- autoParam: ["id", "name"]
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeAsync.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeAsync.html
deleted file mode 100644
index ea298dba..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeAsync.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeAsync</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获异步加载之前的事件回调函数,zTree 根据返回值确定是否允许进行异步加载</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>进行异步加载的父节点 JSON 数据对象</p>
- <p class="highlight_red">针对根进行异步加载时,treeNode = null</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,zTree 将不进行异步加载,也无法触发 onAsyncSuccess / onAsyncError 事件回调函数</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止 id 为 1 的父节点进行异步加载操作</h4>
- <pre xmlns=""><code>function zTreeBeforeAsync(treeId, treeNode) {
- return (treeNode.id !== 1);
-};
-var setting = {
- callback: {
- beforeAsync: zTreeBeforeAsync
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeCheck.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeCheck.html
deleted file mode 100644
index 18d105dc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeCheck.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeCheck</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获 勾选 或 取消勾选 之前的事件回调函数,并且根据返回值确定是否允许 勾选 或 取消勾选 </p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>进行 勾选 或 取消勾选 的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,将不会改变勾选状态,并且无法触发 onCheck 事件回调函数</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止所有勾选操作,保持初始化的勾选状态</h4>
- <pre xmlns=""><code>function zTreeBeforeCheck(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeCheck: zTreeBeforeCheck
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeClick.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeClick.html
deleted file mode 100644
index 936812b3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeClick.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode, clickFlag)</span><span class="path">setting.callback.</span>beforeClick</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获单击节点之前的事件回调函数,并且根据返回值确定是否允许单击操作</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>被单击的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>clickFlag</b><span>Number</span></h4>
- <p>节点被点击后的选中操作类型,详细看下表</p>
- <table width="100%" border="0" cellspacing="1" cellpadding="0">
- <thead><tr><td>clickFlag</td><td title="是否允许多点选中">selectedMulti</td><td title="是否按下 Ctrl 或 Cmd 键">autoCancelSelected<br/>&&<br/>event.ctrlKey / metaKey</td><td title="节点当前选择状态">isSelected</td><td>选中操作</td></tr></thead>
- <tbody>
- <tr><td>1</td><td>true</td><td>false</td><td>false</td><td>普通选中</td></tr>
- <tr><td>1</td><td>true</td><td>false</td><td>true</td><td>普通选中</td></tr>
- <tr><td>2</td><td>true</td><td>true</td><td>false</td><td>追加选中</td></tr>
- <tr><td>0</td><td>true</td><td>true</td><td>true</td><td>取消选中</td></tr>
- <tr><td>1</td><td>false</td><td>false</td><td>false</td><td>普通选中</td></tr>
- <tr><td>1</td><td>false</td><td>false</td><td>true</td><td>普通选中</td></tr>
- <tr><td>1</td><td>false</td><td>true</td><td>false</td><td>普通选中</td></tr>
- <tr><td>0</td><td>false</td><td>true</td><td>true</td><td>取消选中</td></tr>
- </tbody>
- </table>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,zTree 将不会选中节点,也无法触发 onClick 事件回调函数</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止节点被选中</h4>
- <pre xmlns=""><code>function zTreeBeforeClick(treeId, treeNode, clickFlag) {
- return (treeNode.id !== 1);
-};
-var setting = {
- callback: {
- beforeClick: zTreeBeforeClick
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeCollapse.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeCollapse.html
deleted file mode 100644
index dd660df6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeCollapse.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeCollapse</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获父节点折叠之前的事件回调函数,并且根据返回值确定是否允许折叠操作</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>要折叠的父节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,zTree 将不会折叠节点,也无法触发 onCollapse 事件回调函数</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止所有已展开的父节点折叠</h4>
- <pre xmlns=""><code>function zTreeBeforeCollapse(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeCollapse: zTreeBeforeCollapse
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDblClick.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDblClick.html
deleted file mode 100644
index 47cce1d4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDblClick.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeDblClick</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获 zTree 上鼠标双击之前的事件回调函数,并且根据返回值确定触发 onDblClick 事件回调函数</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>鼠标双击时所在节点的 JSON 数据对象</p>
- <p class="highlight_red">如果不在节点上,则返回 null</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,将仅仅无法触发 onDblClick 事件回调函数,对其他操作无任何影响</p>
- <p class="highlight_red">此事件回调函数对双击节点展开功能无任何影响,如果需要设置请参考 setting.view.dblClickExpand 属性</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止 onDblClick 事件</h4>
- <pre xmlns=""><code>function zTreeBeforeDblClick(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeDblClick: zTreeBeforeDblClick
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDrag.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDrag.html
deleted file mode 100644
index 2de48033..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDrag.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNodes)</span><span class="path">setting.callback.</span>beforeDrag</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点被拖拽之前的事件回调函数,并且根据返回值确定是否允许开启拖拽操作</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>被拖拽的节点 treeNodes 所在 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>要被拖拽的节点 JSON 数据集合</p>
- <p class="highlight_red">v3.x 允许多个同级节点同时被拖拽,因此将此参数修改为 Array(JSON)</p>
- <p class="highlight_red">如果拖拽时多个被选择的节点不是同级关系,则只能拖拽鼠标当前所在位置的节点</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,zTree 将终止拖拽,也无法触发 onDrag / beforeDrop / onDrop 事件回调函数</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止全部拖拽操作</h4>
- <pre xmlns=""><code>function zTreeBeforeDrag(treeId, treeNodes) {
- return false;
-};
-var setting = {
- edit: {
- enable: true
- },
- callback: {
- beforeDrag: zTreeBeforeDrag
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDragOpen.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDragOpen.html
deleted file mode 100644
index b1699267..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDragOpen.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeDragOpen</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获拖拽节点移动到折叠状态的父节点后,即将自动展开该父节点之前的事件回调函数,并且根据返回值确定是否允许自动展开操作</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>需要被展开的父节点 treeNode 所在 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>要被自动展开的父节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,zTree 将无法进行自动展开操作</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止全部拖拽时的自动展开操作</h4>
- <pre xmlns=""><code>function zTreeBeforeDragOpen(treeId, treeNode) {
- return false;
-};
-var setting = {
- edit: {
- enable: true
- },
- callback: {
- beforeDragOpen: zTreeBeforeDragOpen
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDrop.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDrop.html
deleted file mode 100644
index 67794ff7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeDrop.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNodes, targetNode, moveType, isCopy)</span><span class="path">setting.callback.</span>beforeDrop</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点拖拽操作结束之前的事件回调函数,并且根据返回值确定是否允许此拖拽操作</p>
- <p>默认值:null</p>
- <p class="highlight_red">如未拖拽到有效位置,则不触发此回调函数,直接将节点恢复原位置</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>目标节点 targetNode 所在 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>被拖拽的节点 JSON 数据集合</p>
- <p class="highlight_red">无论拖拽操作为 复制 还是 移动,treeNodes 都是当前被拖拽节点的数据集合。</p>
- <h4 class="topLine"><b>targetNode</b><span>JSON</span></h4>
- <p>treeNodes 被拖拽放开的目标节点 JSON 数据对象。</p>
- <p class="highlight_red">如果拖拽成为根节点,则 targetNode = null</p>
- <h4 class="topLine"><b>moveType</b><span>String</span></h4>
- <p>指定移动到目标节点的相对位置</p>
- <p class="highlight_red">"inner":成为子节点,"prev":成为同级前一个节点,"next":成为同级后一个节点</p>
- <h4 class="topLine"><b>isCopy</b><span>Boolean</span></h4>
- <p>拖拽节点操作是 复制 或 移动</p>
- <p class="highlight_red">true:复制;false:移动</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,zTree 将恢复被拖拽的节点,也无法触发 onDrop 事件回调函数</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止将节点拖拽成为根节点</h4>
- <pre xmlns=""><code>function zTreeBeforeDrop(treeId, treeNodes, targetNode, moveType) {
- return !(targetNode == null || (moveType != "inner" && !targetNode.parentTId));
-};
-var setting = {
- edit: {
- enable: true
- },
- callback: {
- beforeDrop: zTreeBeforeDrop
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeEditName.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeEditName.html
deleted file mode 100644
index 8944cf0f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeEditName.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeEditName</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点编辑按钮的 click 事件,并且根据返回值确定是否允许进入名称编辑状态</p>
- <p class="highlight_red">此事件回调函数最主要是用于捕获编辑按钮的点击事件,然后触发自定义的编辑界面操作。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>将要进入编辑名称状态的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,节点将无法进入 zTree 默认的编辑名称状态</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止修改父节点的名称</h4>
- <pre xmlns=""><code>function zTreeBeforeEditName(treeId, treeNode) {
- return !treeNode.isParent;
-}
-var setting = {
- edit: {
- enable: true
- },
- callback: {
- beforeEditName: zTreeBeforeEditName
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeExpand.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeExpand.html
deleted file mode 100644
index e5a0238a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeExpand.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeExpand</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获父节点展开之前的事件回调函数,并且根据返回值确定是否允许展开操作</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>要展开的父节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,zTree 将不会展开节点,也无法触发 onExpand 事件回调函数</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止所有已折叠的父节点展开</h4>
- <pre xmlns=""><code>function zTreeBeforeExpand(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeExpand: zTreeBeforeExpand
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeMouseDown.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeMouseDown.html
deleted file mode 100644
index c42712ab..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeMouseDown.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeMouseDown</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获 zTree 上鼠标按键按下之前的事件回调函数,并且根据返回值确定触发 onMouseDown 事件回调函数</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>鼠标按键按下时所在节点的 JSON 数据对象</p>
- <p class="highlight_red">如果不在节点上,则返回 null</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,将仅仅无法触发 onMouseDown 事件回调函数,对其他操作无任何影响</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止 onMouseDown 事件</h4>
- <pre xmlns=""><code>function zTreeBeforeMouseDown(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeMouseDown: zTreeBeforeMouseDown
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeMouseUp.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeMouseUp.html
deleted file mode 100644
index 3ef60d77..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeMouseUp.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeMouseUp</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获 zTree 上鼠标按键松开之前的事件回调函数,并且根据返回值确定触发 onMouseUp 事件回调函数</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>鼠标按键松开时所在节点的 JSON 数据对象</p>
- <p class="highlight_red">如果不在节点上,则返回 null</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,将仅仅无法触发 onMouseUp 事件回调函数,对其他操作无任何影响</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止 onMouseUp 事件</h4>
- <pre xmlns=""><code>function zTreeBeforeMouseUp(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeMouseUp: zTreeBeforeMouseUp
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeRemove.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeRemove.html
deleted file mode 100644
index 18f38bd5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeRemove.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeRemove</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点被删除之前的事件回调函数,并且根据返回值确定是否允许删除操作</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>将要删除的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,zTree 将不删除节点,也无法触发 onRemove 事件回调函数</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止全部删除操作</h4>
- <pre xmlns=""><code>function zTreeBeforeRemove(treeId, treeNode) {
- return false;
-}
-var setting = {
- edit: {
- enable: true
- },
- callback: {
- beforeRemove: zTreeBeforeRemove
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeRename.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeRename.html
deleted file mode 100644
index f476c0a3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeRename.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode, newName, isCancel)</span><span class="path">setting.callback.</span>beforeRename</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点编辑名称结束(Input 失去焦点 或 按下 Enter 键)之后,更新节点名称数据之前的事件回调函数,并且根据返回值确定是否允许更改名称的操作</p>
- <p class="highlight_red">节点进入编辑名称状态后,按 ESC 键可以放弃当前修改,恢复原名称,取消编辑名称状态</p>
- <p class="highlight_red">从 v3.5.13 开始,取消编辑状态也会触发此回调,根据 isCancel 参数判断</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>将要更改名称的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>newName</b><span>String</span></h4>
- <p>修改后的新名称</p>
- <h4 class="topLine"><b>isCancel</b><span>Boolean</span></h4>
- <p>是否取消操作 (v3.5.13+)</p>
- <p class="highlight_red">isCancel = true 表示取消编辑操作(按下 ESC 或 使用 cancelEditName 方法)</p>
- <p class="highlight_red">isCancel = false 表示确认修改操作</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,zTree 将保持名称编辑状态,无法触发 onRename 事件回调函数,并且会导致屏蔽其它事件,直到修改名称使得 beforeRename 返回 true</p>
- <p class="highlight_red">如果返回 false,不会让 input 输入框获取焦点,避免由于警告信息而导致反复触发 beforeRename。 请在关闭提示警告信息后,利用 editName 方法让 input 重新获取焦点。</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止修改的名称的长度小于 5</h4>
- <pre xmlns=""><code>function zTreeBeforeRename(treeId, treeNode, newName, isCancel) {
- return newName.length > 5;
-}
-var setting = {
- edit: {
- enable: true
- },
- callback: {
- beforeRename: zTreeBeforeRename
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeRightClick.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeRightClick.html
deleted file mode 100644
index 998c4016..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.beforeRightClick.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeRightClick</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获 zTree 上鼠标右键点击之前的事件回调函数,并且根据返回值确定触发 onRightClick 事件回调函数</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>鼠标右键点击时所在节点的 JSON 数据对象</p>
- <p class="highlight_red">如果不在节点上,则返回 null</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值是 true / false</p>
- <p class="highlight_red">如果返回 false,将仅仅无法触发 onRightClick 事件回调函数,对其他操作无任何影响</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止 onRightClick 事件</h4>
- <pre xmlns=""><code>function zTreeBeforeRightClick(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeRightClick: zTreeBeforeRightClick
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onAsyncError.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onAsyncError.html
deleted file mode 100644
index c5268c49..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onAsyncError.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span class="path">setting.callback.</span>onAsyncError</h2>
- <h2><span>Function(event, treeId, treeNode, XMLHttpRequest, textStatus, errorThrown)</span>&nbsp;</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获异步加载出现异常错误的事件回调函数</p>
- <p class="highlight_red">如果设置了 setting.callback.beforeAsync 方法,且返回 false,将无法触发 onAsyncSuccess / onAsyncError 事件回调函数。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>进行异步加载的父节点 JSON 数据对象</p>
- <p class="highlight_red">针对根进行异步加载时,treeNode = null</p>
- <h4 class="topLine"><b>XMLHttpRequest</b><span>String</span></h4>
- <p>标准 XMLHttpRequest 对象,请参考 JQuery API 文档。</p>
- <h4 class="topLine"><b>textStatus</b><span>String</span></h4>
- <p>请求状态:success,error,请参考 JQuery API 文档。</p>
- <h4 class="topLine"><b>errorThrown</b><span>String</span></h4>
- <p>errorThrown 只有当异常发生时才会被传递,请参考 JQuery API 文档。</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 异步加载出现异常后,弹出错误信息</h4>
- <pre xmlns=""><code>function zTreeOnAsyncError(event, treeId, treeNode, XMLHttpRequest, textStatus, errorThrown) {
- alert(XMLHttpRequest);
-};
-var setting = {
- callback: {
- onAsyncError: zTreeOnAsyncError
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onAsyncSuccess.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onAsyncSuccess.html
deleted file mode 100644
index aa3fb928..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onAsyncSuccess.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode, msg)</span><span class="path">setting.callback.</span>onAsyncSuccess</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获异步加载正常结束的事件回调函数</p>
- <p class="highlight_red">如果设置了 setting.callback.beforeAsync 方法,且返回 false,将无法触发 onAsyncSuccess / onAsyncError 事件回调函数。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>进行异步加载的父节点 JSON 数据对象</p>
- <p class="highlight_red">针对根进行异步加载时,treeNode = null</p>
- <h4 class="topLine"><b>msg</b><span>String / Object</span></h4>
- <p>异步获取的节点数据字符串,主要便于用户调试使用。</p>
- <p class="highlight_red">实际数据类型会受 setting.async.dataType 的设置影响,请参考 JQuery API 文档。</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 异步加载成功后,弹出提示信息</h4>
- <pre xmlns=""><code>function zTreeOnAsyncSuccess(event, treeId, treeNode, msg) {
- alert(msg);
-};
-var setting = {
- callback: {
- onAsyncSuccess: zTreeOnAsyncSuccess
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onCheck.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onCheck.html
deleted file mode 100644
index 2024ff26..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onCheck.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onCheck</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获 checkbox / radio 被勾选 或 取消勾选的事件回调函数</p>
- <p class="highlight_red">如果设置了 setting.callback.beforeCheck 方法,且返回 false,将无法触发 onCheck 事件回调函数。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>被勾选 或 取消勾选的节点 JSON 数据对象</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 每次点击 checkbox 或 radio 后, 弹出该节点的 tId、name 以及当前勾选状态的信息</h4>
- <pre xmlns=""><code>function zTreeOnCheck(event, treeId, treeNode) {
- alert(treeNode.tId + ", " + treeNode.name + "," + treeNode.checked);
-};
-var setting = {
- callback: {
- onCheck: zTreeOnCheck
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onClick.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onClick.html
deleted file mode 100644
index 540665d6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onClick.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode, clickFlag)</span><span class="path">setting.callback.</span>onClick</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点被点击的事件回调函数</p>
- <p class="highlight_red">如果设置了 setting.callback.beforeClick 方法,且返回 false,将无法触发 onClick 事件回调函数。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>被点击的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>clickFlag</b><span>Number</span></h4>
- <p>节点被点击后的选中操作类型,详细看下表</p>
- <table width="100%" border="0" cellspacing="1" cellpadding="0">
- <thead><tr><td>clickFlag</td><td title="是否允许多点选中">selectedMulti</td><td title="是否按下 Ctrl 或 Cmd 键">autoCancelSelected<br/>&&<br/>event.ctrlKey / metaKey</td><td title="节点当前选择状态">isSelected</td><td>选中操作</td></tr></thead>
- <tbody>
- <tr><td>1</td><td>true</td><td>false</td><td>false</td><td>普通选中</td></tr>
- <tr><td>1</td><td>true</td><td>false</td><td>true</td><td>普通选中</td></tr>
- <tr><td>2</td><td>true</td><td>true</td><td>false</td><td>追加选中</td></tr>
- <tr><td>0</td><td>true</td><td>true</td><td>true</td><td>取消选中</td></tr>
- <tr><td>1</td><td>false</td><td>false</td><td>false</td><td>普通选中</td></tr>
- <tr><td>1</td><td>false</td><td>false</td><td>true</td><td>普通选中</td></tr>
- <tr><td>1</td><td>false</td><td>true</td><td>false</td><td>普通选中</td></tr>
- <tr><td>0</td><td>false</td><td>true</td><td>true</td><td>取消选中</td></tr>
- </tbody>
- </table>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 每次点击节点后, 弹出该节点的 tId、name 的信息</h4>
- <pre xmlns=""><code>function zTreeOnClick(event, treeId, treeNode) {
- alert(treeNode.tId + ", " + treeNode.name);
-};
-var setting = {
- callback: {
- onClick: zTreeOnClick
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onCollapse.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onCollapse.html
deleted file mode 100644
index 6331c1d4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onCollapse.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onCollapse</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点被折叠的事件回调函数</p>
- <p class="highlight_red">如果设置了 setting.callback.beforeCollapse 方法,且返回 false,将无法触发 onCollapse 事件回调函数。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>被折叠的节点 JSON 数据对象</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 每次折叠节点后, 弹出该节点的 tId、name 的信息</h4>
- <pre xmlns=""><code>function zTreeOnCollapse(event, treeId, treeNode) {
- alert(treeNode.tId + ", " + treeNode.name);
-};
-var setting = {
- callback: {
- onCollapse: zTreeOnCollapse
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDblClick.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDblClick.html
deleted file mode 100644
index 6a63fe69..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDblClick.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onDblClick</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获 zTree 上鼠标双击之后的事件回调函数</p>
- <p class="highlight_red">如果设置了 setting.callback.beforeDblClick 方法,且返回 false,将无法触发 onDblClick 事件回调函数。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>鼠标双击时所在节点的 JSON 数据对象</p>
- <p class="highlight_red">如果不在节点上,则返回 null</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 每次鼠标双击后, 弹出鼠标所在节点的 tId、name 的信息</h4>
- <pre xmlns=""><code>function zTreeOnDblClick(event, treeId, treeNode) {
- alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
-};
-var setting = {
- callback: {
- onDblClick: zTreeOnDblClick
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDrag.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDrag.html
deleted file mode 100644
index 2cdfeff9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDrag.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNodes)</span><span class="path">setting.callback.</span>onDrag</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点被拖拽的事件回调函数</p>
- <p class="highlight_red">如果设置了 setting.callback.beforeDrag 方法,且返回 false,将无法触发 onDragMove 和 onDrag 事件回调函数。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>被拖拽的节点 treeNodes 所在 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>要被拖拽的节点 JSON 数据集合</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 每次开始进行拖拽节点后, 弹出被拖拽节点的个数信息</h4>
- <pre xmlns=""><code>function zTreeOnDrag(event, treeId, treeNodes) {
- alert(treeNodes.length);
-};
-var setting = {
- callback: {
- onDrag: zTreeOnDrag
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDragMove.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDragMove.html
deleted file mode 100644
index 1844043c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDragMove.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNodes)</span><span class="path">setting.callback.</span>onDragMove</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点被拖拽过程中移动的事件回调函数</p>
- <p class="highlight_red">主要用于捕获 zTree 节点拖拽到的 DOM,从而操作对应的 DOM。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>被拖拽的节点 treeNodes 所在 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>要被拖拽的节点 JSON 数据集合</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 拖拽节点时,随时输出 当前拖拽到的目标 DOM</h4>
- <pre xmlns=""><code>function zTreeOnDragMove(event, treeId, treeNodes) {
- console.log(event.target);
-};
-var setting = {
- callback: {
- onDragMove: zTreeOnDragMove
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDrop.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDrop.html
deleted file mode 100644
index 1dfd6bd8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onDrop.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNodes, targetNode, moveType, isCopy)</span><span class="path">setting.callback.</span>onDrop</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点拖拽操作结束的事件回调函数</p>
- <p class="highlight_red">如果设置了 setting.callback.beforeDrop 方法,且返回 false,将无法触发 onDrop 事件回调函数。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>目标节点 targetNode 所在 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>被拖拽的节点 JSON 数据集合</p>
- <p class="highlight_red">如果拖拽操作为 移动,treeNodes 是当前被拖拽节点的数据集合。</p>
- <p class="highlight_red">如果拖拽操作为 复制,treeNodes 是复制后 clone 得到的新节点数据。</p>
- <h4 class="topLine"><b>targetNode</b><span>JSON</span></h4>
- <p>成为 treeNodes 拖拽结束的目标节点 JSON 数据对象。</p>
- <p class="highlight_red">如果拖拽成为根节点,则 targetNode = null</p>
- <h4 class="topLine"><b>moveType</b><span>String</span></h4>
- <p>指定移动到目标节点的相对位置</p>
- <p class="highlight_red">"inner":成为子节点,"prev":成为同级前一个节点,"next":成为同级后一个节点</p>
- <p class="highlight_red">如果 moveType = null,表明拖拽无效</p>
- <h4 class="topLine"><b>isCopy</b><span>Boolean</span></h4>
- <p>拖拽节点操作是 复制 或 移动</p>
- <p class="highlight_red">true:复制;false:移动</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 每次拖拽操作结束后, 弹出该被拖拽节点的个数以及目标节点的 tId、name 的信息</h4>
- <pre xmlns=""><code>function zTreeOnDrop(event, treeId, treeNodes, targetNode, moveType) {
- alert(treeNodes.length + "," + (targetNode ? (targetNode.tId + ", " + targetNode.name) : "isRoot" ));
-};
-var setting = {
- callback: {
- onDrop: zTreeOnDrop
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onExpand.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onExpand.html
deleted file mode 100644
index ea2daeed..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onExpand.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onExpand</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点被展开的事件回调函数</p>
- <p class="highlight_red">如果设置了 setting.callback.beforeExpand 方法,且返回 false,将无法触发 onExpand 事件回调函数。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>被展开的节点 JSON 数据对象</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 每次展开节点后, 弹出该节点的 tId、name 的信息</h4>
- <pre xmlns=""><code>function zTreeOnExpand(event, treeId, treeNode) {
- alert(treeNode.tId + ", " + treeNode.name);
-};
-var setting = {
- callback: {
- onExpand: zTreeOnExpand
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onMouseDown.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onMouseDown.html
deleted file mode 100644
index 5ae98d83..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onMouseDown.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onMouseDown</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获 zTree 上鼠标按键按下后的事件回调函数</p>
- <p class="highlight_red">如果设置了 setting.callback.beforeMouseDown 方法,且返回 false,将无法触发 onMouseDown 事件回调函数。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>鼠标按键按下时所在节点的 JSON 数据对象</p>
- <p class="highlight_red">如果不在节点上,则返回 null</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 每次鼠标按键按下后, 弹出鼠标所在节点的 tId、name 的信息</h4>
- <pre xmlns=""><code>function zTreeOnMouseDown(event, treeId, treeNode) {
- alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
-};
-var setting = {
- callback: {
- onMouseDown: zTreeOnMouseDown
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onMouseUp.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onMouseUp.html
deleted file mode 100644
index df58468c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onMouseUp.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onMouseUp</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获 zTree 上鼠标按键松开后的事件回调函数</p>
- <p class="highlight_red">如果设置了 setting.callback.beforeMouseUp 方法,且返回 false,将无法触发 onMouseUp 事件回调函数。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>鼠标按键松开时所在节点的 JSON 数据对象</p>
- <p class="highlight_red">如果不在节点上,则返回 null</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 每次鼠标按键松开后, 弹出鼠标所在节点的 tId、name 的信息</h4>
- <pre xmlns=""><code>function zTreeOnMouseUp(event, treeId, treeNode) {
- alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
-};
-var setting = {
- callback: {
- onMouseUp: zTreeOnMouseUp
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onNodeCreated.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onNodeCreated.html
deleted file mode 100644
index 003d0594..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onNodeCreated.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onNodeCreated</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点生成 DOM 后的事件回调函数</p>
- <p class="highlight_red">v3.x 采用了延迟加载技术,因此对于父节点未展开的子节点来说,初始化后是不会触发此回调函数,直到其父节点被展开</p>
- <p class="highlight_red">大数据量的节点加载请注意:不设置 onNodeCreated,可以提升一部分初始化性能</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>生成 DOM 完毕的节点的 JSON 数据对象</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 创建节点 DOM 后, 弹出该节点的 tId、name 的信息</h4>
- <pre xmlns=""><code>function zTreeOnNodeCreated(event, treeId, treeNode) {
- alert(treeNode.tId + ", " + treeNode.name);
-};
-var setting = {
- callback: {
- onNodeCreated: zTreeOnNodeCreated
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onRemove.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onRemove.html
deleted file mode 100644
index b3d8b9d8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onRemove.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onRemove</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获删除节点之后的事件回调函数。</p>
- <p class="highlight_red">如果用户设置了 beforeRemove 回调函数,并返回 false,将无法触发 onRemove 事件回调函数。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>将要删除的节点 JSON 数据对象</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 删除节点时,弹出被删除的节点的 tId 以及 name 信息</h4>
- <pre xmlns=""><code>function zTreeOnRemove(event, treeId, treeNode) {
- alert(treeNode.tId + ", " + treeNode.name);
-}
-var setting = {
- callback: {
- onRemove: zTreeOnRemove
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onRename.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onRename.html
deleted file mode 100644
index b08a24e6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onRename.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode, isCancel)</span><span class="path">setting.callback.</span>onRename</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获节点编辑名称结束之后的事件回调函数。</p>
- <p>1、节点进入编辑名称状态,并且修改节点名称后触发此回调函数。<span class="highlight_red">如果用户设置了 beforeRename 回调函数,并返回 false,将无法触发 onRename 事件回调函数。</span></p>
- <p>2、<span class="highlight_red">如果通过直接修改 treeNode 的数据,并且利用 updateNode 方法更新,是不会触发此回调函数的。</span></p>
- <p class="highlight_red">3、从 v3.5.13 开始,取消编辑状态也会触发此回调,根据 isCancel 参数判断</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>被修改名称的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>isCancel</b><span>Boolean</span></h4>
- <p>是否取消操作 (v3.5.13+)</p>
- <p class="highlight_red">isCancel = true 表示取消编辑操作(按下 ESC 或 使用 cancelEditName 方法)</p>
- <p class="highlight_red">isCancel = false 表示确认修改操作</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 修改名称后,弹出被修改名称的节点的 tId 以及 name 信息</h4>
- <pre xmlns=""><code>function zTreeOnRename(event, treeId, treeNode, isCancel) {
- alert(treeNode.tId + ", " + treeNode.name);
-}
-var setting = {
- callback: {
- onRename: zTreeOnRename
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onRightClick.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onRightClick.html
deleted file mode 100644
index c66d2dec..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.callback.onRightClick.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onRightClick</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于捕获 zTree 上鼠标右键点击之后的事件回调函数</p>
- <p class="highlight_red">1、如果设置了 setting.callback.beforeRightClick 方法,且返回 false,将无法触发 onRightClick 事件回调函数。</p>
- <p class="highlight_red">2、只要将 function 的引用赋给 onRightClick 属性,则右键点击 zTree 时,将屏蔽浏览器的右键菜单。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>event</b><span>js event 对象</span></h4>
- <p>标准的 js event 对象</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>鼠标右键点击时所在节点的 JSON 数据对象</p>
- <p class="highlight_red">如果不在节点上,则返回 null</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 每次鼠标右键点击后, 弹出鼠标所在节点的 tId、name 的信息</h4>
- <pre xmlns=""><code>function zTreeOnRightClick(event, treeId, treeNode) {
- alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
-};
-var setting = {
- callback: {
- onRightClick: zTreeOnRightClick
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.autoCheckTrigger.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.autoCheckTrigger.html
deleted file mode 100644
index 39914789..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.autoCheckTrigger.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.check.</span>autoCheckTrigger</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置自动关联勾选时是否触发 beforeCheck / onCheck 事件回调函数。<span class="highlight_red">[setting.check.enable = true 且 setting.check.chkStyle = "checkbox" 时生效]</span></p>
- <p class="highlight_red">1、如果设置 setting.check.chkboxType = { "Y": "", "N": "" },将不会有任何自动关联勾选的操作。</p>
- <p class="highlight_red">2、如果开启触发,对于节点较多的树将会影响性能,因为所有被联动勾选的操作都会触发事件回调函数,请根据需要决定是否使用此功能。</p>
- <p>默认值: false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 触发 / 不触发 事件回调函数</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 需要触发自动关联勾选操作</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true,
- autoCheckTrigger: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.chkDisabledInherit.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.chkDisabledInherit.html
deleted file mode 100644
index f0b405da..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.chkDisabledInherit.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.check.</span>chkDisabledInherit</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>当父节点设置 chkDisabled = true 时,设置子节点是否自动继承 chkDisabled = true 。<span class="highlight_red">[setting.check.enable = true 时生效]</span></p>
- <p class="highlight_red">1、只使用于初始化节点时,便于批量操作。 对于已存在的节点请利用 setChkDisabled 方法单个节点设置。</p>
- <p>默认值: false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true 表示 新加入子节点时,自动继承父节点 chkDisabled = true 的属性。</p>
- <p> false 表示 新加入子节点时,不继承父节点 chkDisabled 的属性。</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 需要子节点自动继承 chkDisabled = true</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true,
- chkDisabledInherit: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.chkStyle.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.chkStyle.html
deleted file mode 100644
index a3129c85..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.chkStyle.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.check.</span>chkStyle</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>勾选框类型(checkbox 或 radio)<span class="highlight_red">[setting.check.enable = true 时生效]</span></p>
- <p>默认值:"checkbox"</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>chkStyle = "checkbox" 时,显示 checkbox 选择框,<span class="highlight_red">setting.check.chkboxType</span> 属性有效。
-<br/>chkStyle = "radio" 时,显示 radio 选择框, <span class="highlight_red">setting.check.radioType</span> 属性有效。</p>
- <p class="highlight_red">请注意大小写,不要改变</p>
- </div>
- <h3>checkbox 状态说明</h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p><button type="button" class="chk checkbox_false_full"></button>未勾选;<span class="highlight_red">如果是父节点,则无子节点被勾选</span>。鼠标移到该节点上显示为:<button type="button" class="chk checkbox_false_full_focus"></button></p>
- <p><button type="button" class="chk checkbox_false_part"></button>未勾选;(只有父节点存在此状态)<span class="highlight_red">存在被勾选的子节点</span>。鼠标移到该节点上显示为:<button type="button" class="chk checkbox_false_part_focus"></button></p>
- <p><button type="button" class="chk checkbox_true_full"></button>被勾选;<span class="highlight_red">如果是父节点,则全部子节点都被勾选</span>。鼠标移到该节点上显示为:<button type="button" class="chk checkbox_true_full_focus"></button></p>
- <p><button type="button" class="chk checkbox_true_part"></button>被勾选;(只有父节点存在此状态)<span class="highlight_red">且部分或无子节点被勾选</span>。鼠标移到该节点上显示为:<button type="button" class="chk checkbox_true_part_focus"></button></p>
- </div>
- </div>
- <h3>radio 状态说明</h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p><button type="button" class="chk radio_false_full"></button>未勾选;<span class="highlight_red">如果是父节点,则没有子节点被勾选</span>。鼠标移到该节点上显示为:<button type="button" class="chk radio_false_full_focus"></button></p>
- <p><button type="button" class="chk radio_false_part"></button>未勾选;(只有父节点存在此状态)<span class="highlight_red">且存在被勾选的子节点</span>。鼠标移到该节点上显示为:<button type="button" class="chk radio_false_part_focus"></button></p>
- <p><button type="button" class="chk radio_true_full"></button>被勾选;<span class="highlight_red">如果是父节点,则没有子节点被勾选</span>。鼠标移到该节点上显示为:<button type="button" class="chk radio_true_full_focus"></button></p>
- <p><button type="button" class="chk radio_true_part"></button>被勾选;(只有父节点存在此状态)<span class="highlight_red">且存在被勾选的子节点</span>。鼠标移到该节点上显示为:<button type="button" class="chk radio_true_part_focus"></button></p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置选择框为 radio</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true,
- chkStyle: "radio"
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.chkboxType.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.chkboxType.html
deleted file mode 100644
index b2e21489..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.chkboxType.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>JSON</span><span class="path">setting.check.</span>chkboxType</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>勾选 checkbox 对于父子节点的关联关系。<span class="highlight_red">[setting.check.enable = true 且 setting.check.chkStyle = "checkbox" 时生效]</span></p>
- <p>默认值:{ "Y": "ps", "N": "ps" }</p>
- </div>
- </div>
- <h3>JSON 格式说明</h3>
- <div class="desc">
- <p>Y 属性定义 checkbox 被勾选后的情况;
-<br/>N 属性定义 checkbox 取消勾选后的情况;
-<br/>"p" 表示操作会影响父级节点;
-<br/>"s" 表示操作会影响子级节点。</p>
- <p class="highlight_red">请注意大小写,不要改变</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. checkbox 勾选操作,只影响父级节点;取消勾选操作,只影响子级节点</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true,
- chkStyle: "checkbox",
- chkboxType: { "Y": "p", "N": "s" }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.enable.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.enable.html
deleted file mode 100644
index 0ebf308a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.enable.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.check.</span>enable</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置 zTree 的节点上是否显示 checkbox / radio</p>
- <p>默认值: false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 显示 / 不显示 复选框或单选框</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 需要显示 checkbox</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.nocheckInherit.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.nocheckInherit.html
deleted file mode 100644
index 47fd3358..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.nocheckInherit.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.check.</span>nocheckInherit</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>当父节点设置 nocheck = true 时,设置子节点是否自动继承 nocheck = true 。<span class="highlight_red">[setting.check.enable = true 时生效]</span></p>
- <p class="highlight_red">1、只使用于初始化节点时,便于批量操作。 对于已存在的节点请利用 updateNode 方法单个节点设置。</p>
- <p>默认值: false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true 表示 新加入子节点时,自动继承父节点 nocheck = true 的属性。</p>
- <p> false 表示 新加入子节点时,不继承父节点 nocheck 的属性。</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 需要子节点自动继承 nocheck = true</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true,
- nocheckInherit: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.radioType.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.radioType.html
deleted file mode 100644
index b1fe7eec..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.check.radioType.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.check.</span>radioType</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>radio 的分组范围。<span class="highlight_red">[setting.check.enable = true 且 setting.check.chkStyle = "radio" 时生效]</span></p>
- <p>默认值:"level"</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>radioType = "level" 时,在每一级节点范围内当做一个分组。
-<br/>radioType = "all" 时,在整棵树范围内当做一个分组。</p>
- <p class="highlight_red">请注意大小写,不要改变</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 radio 的判别规则为整棵树内</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true,
- chkStyle: "radio",
- radioType: "all"
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.keep.leaf.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.keep.leaf.html
deleted file mode 100644
index 255025a3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.keep.leaf.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.data.keep.</span>leaf</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree 的节点叶子节点属性锁,是否始终保持 isParent = false</p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 锁定 / 不锁定 叶子节点属性</p>
- <p class="highlight_red">如果设置为 true,则所有 isParent = false 的节点,都无法添加子节点。</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 需要锁定叶子节点状态</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- keep: {
- leaf: true
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.keep.parent.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.keep.parent.html
deleted file mode 100644
index 05bb31d6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.keep.parent.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.data.keep.</span>parent</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree 的节点父节点属性锁,是否始终保持 isParent = true</p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 锁定 / 不锁定 父节点属性</p>
- <p class="highlight_red">如果设置为 true,则所有 isParent = true 的节点,即使该节点的子节点被全部删除或移走,依旧保持父节点状态。</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 需要锁定父节点状态</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- keep: {
- parent: true
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.checked.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.checked.html
deleted file mode 100644
index fdafa304..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.checked.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.key.</span>checked</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree 节点数据中保存 check 状态的属性名称。</p>
- <p>默认值:"checked"</p>
- <p class="highlight_red">请勿与 zTree 节点数据的其他参数冲突,例如:checkedOld</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 zTree 显示节点时,将 treeNode 的 isChecked 属性当做节点名称</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- key: {
- checked: "isChecked"
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.children.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.children.html
deleted file mode 100644
index 692c83e6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.children.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.key.</span>children</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree 节点数据中保存子节点数据的属性名称。</p>
- <p>默认值:"children"</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 zTree 显示节点时,将 treeNode 的 nodes 属性当做节点名称</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- key: {
- children: "nodes"
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.name.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.name.html
deleted file mode 100644
index 392da9e1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.name.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.key.</span>name</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree 节点数据保存节点名称的属性名称。</p>
- <p>默认值:"name"</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 zTree 显示节点时,将 treeNode 的 ename 属性当做节点名称</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- key: {
- name: "ename"
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.title.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.title.html
deleted file mode 100644
index 5b66971d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.title.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.key.</span>title</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree 节点数据保存节点提示信息的属性名称。<span class="highlight_red">[setting.view.showTitle = true 时生效]</span></p>
- <p class="highlight_red">如果设置为 "" ,则自动与 setting.data.key.name 保持一致,避免用户反复设置</p>
- <p>默认值:""</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 zTree 显示节点时,将 treeNode 的 fullName 属性当做节点名称</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- key: {
- title: "fullName"
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.url.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.url.html
deleted file mode 100644
index 9a5fd26d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.key.url.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.key.</span>url</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree 节点数据保存节点链接的目标 URL 的属性名称。</p>
- <p class="highlight_red">特殊用途:当后台数据只能生成 url 属性,又不想实现点击节点跳转的功能时,可以直接修改此属性为其他不存在的属性名称</p>
- <p>默认值:"url"</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 zTree 显示节点时,将 treeNode 的 xUrl 属性当做节点链接的目标 URL</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- key: {
- url: "xUrl"
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.enable.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.enable.html
deleted file mode 100644
index 86b7cdc6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.enable.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.data.simpleData.</span>enable</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>确定 zTree 初始化时的节点数据、异步加载时的节点数据、或 <span class="highlight_red">addNodes</span> 方法中输入的 newNodes 数据是否采用简单数据模式 (Array)</p>
- <p>不需要用户再把数据库中取出的 List 强行转换为复杂的 JSON 嵌套格式</p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 使用 / 不使用 简单数据模式</p>
- <p class="highlight_red">如果设置为 true,请务必设置 setting.data.simpleData 内的其他参数: idKey / pIdKey / rootPId,并且让数据满足父子关系。</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 使用简单 Array 格式的数据</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- simpleData: {
- enable: true,
- idKey: "id",
- pIdKey: "pId",
- rootPId: 0,
- }
- }
-};
-var treeNodes = [
- {"id":1, "pId":0, "name":"test1"},
- {"id":11, "pId":1, "name":"test11"},
- {"id":12, "pId":1, "name":"test12"},
- {"id":111, "pId":11, "name":"test111"}
-];
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.idKey.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.idKey.html
deleted file mode 100644
index 967fa179..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.idKey.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.simpleData.</span>idKey</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>节点数据中保存唯一标识的属性名称。<span class="highlight_red">[setting.data.simpleData.enable = true 时生效]</span></p>
- <p>默认值:"id"</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 使用简单 Array 格式的数据</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- simpleData: {
- enable: true,
- idKey: "id",
- pIdKey: "pId",
- rootPId: 0,
- }
- }
-};
-var treeNodes = [
- {"id":1, "pId":0, "name":"test1"},
- {"id":11, "pId":1, "name":"test11"},
- {"id":12, "pId":1, "name":"test12"},
- {"id":111, "pId":11, "name":"test111"}
-];
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.pIdKey.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.pIdKey.html
deleted file mode 100644
index 4aa6c05f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.pIdKey.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.simpleData.</span>pIdKey</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>节点数据中保存其父节点唯一标识的属性名称。<span class="highlight_red">[setting.data.simpleData.enable = true 时生效]</span></p>
- <p>默认值:"pId"</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 使用简单 Array 格式的数据</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- simpleData: {
- enable: true,
- idKey: "id",
- pIdKey: "pId",
- rootPId: 0
- }
- }
-};
-var treeNodes = [
- {"id":1, "pId":0, "name":"test1"},
- {"id":11, "pId":1, "name":"test11"},
- {"id":12, "pId":1, "name":"test12"},
- {"id":111, "pId":11, "name":"test111"}
-];
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.rootPId.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.rootPId.html
deleted file mode 100644
index 6cc496d8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.data.simpleData.rootPId.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String / Number</span><span class="path">setting.data.simpleData.</span>rootPId</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于修正根节点父节点数据,即 pIdKey 指定的属性值。<span class="highlight_red">[setting.data.simpleData.enable = true 时生效]</span></p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 使用简单 Array 格式的数据</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- simpleData: {
- enable: true,
- idKey: "id",
- pIdKey: "pId",
- rootPId: 0
- }
- }
-};
-var treeNodes = [
- {"id":1, "pId":0, "name":"test1"},
- {"id":11, "pId":1, "name":"test11"},
- {"id":12, "pId":1, "name":"test12"},
- {"id":111, "pId":11, "name":"test111"}
-];
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.autoExpandTrigger.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.autoExpandTrigger.html
deleted file mode 100644
index 9fbe3add..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.autoExpandTrigger.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.edit.drag.</span>autoExpandTrigger</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>拖拽时父节点自动展开是否触发 onExpand 事件回调函数。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 触发 / 不触发 onExpand 事件回调函数。</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置拖拽时父节点自动展开触发 onExpand 事件回调函数</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- autoExpandTrigger: true
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.autoOpenTime.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.autoOpenTime.html
deleted file mode 100644
index 2bc29e9c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.autoOpenTime.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">setting.edit.drag.</span>autoOpenTime</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>拖拽时父节点自动展开的延时间隔。 (单位:ms)<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p>默认值:500</p>
- <p class="highlight_red">请根据自己的需求适当调整此值</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置拖拽到父节点上立刻自动展开</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- autoOpenTime: 0
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.borderMax.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.borderMax.html
deleted file mode 100644
index 942706cf..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.borderMax.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">setting.edit.drag.</span>borderMax</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>拖拽节点成为根节点时的 Tree 内边界范围 (单位:px)。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p>默认值:10</p>
- <p class="highlight_red">请根据自己的需求适当调整此值</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 更改拖拽操作节点成为根节点时的 Tree 内边界范围为20px</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- borderMax: 20
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.borderMin.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.borderMin.html
deleted file mode 100644
index 6ed5e3e5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.borderMin.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">setting.edit.drag.</span>borderMin</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>拖拽节点成为根节点时的 Tree 外边界范围 (单位:px)。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p>默认值:-5</p>
- <p class="highlight_red">请根据自己的需求适当调整此值</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 更改拖拽操作节点成为根节点时的 Tree 外边界范围为10px</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- borderMin: -10
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.inner.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.inner.html
deleted file mode 100644
index a82e8dd0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.inner.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNodes, targetNode)</span><span class="path">setting.edit.drag.</span>inner</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>拖拽到目标节点时,设置是否允许成为目标节点的子节点。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p class="highlight_red">拖拽目标是 根 的时候,不触发 prev 和 next,只会触发 inner</p>
- <p class="highlight_red">此功能主要作用是对拖拽进行适当限制(辅助箭头),需要结合 prev、next 一起使用,才能实现完整功能。</p>
- <p>默认值:true</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 允许 / 不允许 成为目标节点的子节点</p>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控(多棵树拖拽时,是目标节点所在树的 treeId)</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>被拖拽的节点 JSON 数据集合</p>
- <h4 class="topLine"><b>targetNode</b><span>JSON</span></h4>
- <p>拖拽时的目标节点 JSON 数据对象</p>
- <p class="highlight_red">如果拖拽的节点要成为根节点,则 targetNode = null</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值同 Boolean 格式的数据</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止拖拽成为目标节点的子节点</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- prev: true,
- next: true,
- inner: false
- }
- }
-};
-......</code></pre>
- <h4>2. 禁止拖拽成为根节点的子节点</h4>
- <pre xmlns=""><code>function canInner(treeId, nodes, targetNode) {
- return !(targetNode && targetNode.level === 0);
-}
-var setting = {
- edit: {
- enable: true,
- drag: {
- prev: true,
- next: true,
- inner: canInner
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.isCopy.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.isCopy.html
deleted file mode 100644
index 93cb3e4a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.isCopy.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.edit.drag.</span>isCopy</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>拖拽时, 设置是否允许复制节点。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p>默认值:true</p>
- </div>
- </div>
- <h3>规则说明</h3>
- <div class="desc">
- <p>1、isCopy = true; isMove = true 时,拖拽节点按下 Ctrl 或 Cmd 键表示 copy; 否则为 move</p>
- <p>2、isCopy = true; isMove = false 时,所有拖拽操作都是 copy</p>
- <p>3、isCopy = false; isMove = true 时,所有拖拽操作都是 move</p>
- <p>4、isCopy = false; isMove = false 时,禁止拖拽操作</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置所有拖拽操作都是 copy</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- isCopy: true,
- isMove: false
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.isMove.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.isMove.html
deleted file mode 100644
index 5a66da07..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.isMove.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.edit.drag.</span>isMove</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>拖拽时, 设置是否允许移动节点。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p>默认值:true</p>
- </div>
- </div>
- <h3>规则说明</h3>
- <div class="desc">
- <p>1、isCopy = true; isMove = true 时,拖拽节点按下 Ctrl 或 Cmd 键表示 copy; 否则为 move</p>
- <p>2、isCopy = true; isMove = false 时,所有拖拽操作都是 copy</p>
- <p>3、isCopy = false; isMove = true 时,所有拖拽操作都是 move</p>
- <p>4、isCopy = false; isMove = false 时,禁止拖拽操作</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置所有拖拽操作都是 move</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- isCopy: false,
- isMove: true
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.maxShowNodeNum.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.maxShowNodeNum.html
deleted file mode 100644
index 41e197fe..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.maxShowNodeNum.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">setting.edit.drag.</span>maxShowNodeNum</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>拖拽多个兄弟节点时,浮动图层中显示的最大节点数。 多余的节点用...代替。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p>默认值:5</p>
- <p class="highlight_red">请根据自己的需求适当调整此值</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置拖拽时最多可显示10个节点</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- maxShowNodeNum: 10
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.minMoveSize.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.minMoveSize.html
deleted file mode 100644
index f05aa2e7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.minMoveSize.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">setting.edit.drag.</span>minMoveSize</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>判定是否拖拽操作的最小位移值 (单位:px)。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p class="highlight_red">根据自己的需求可适当调整此值,如果太小容易导致点击鼠标时误操作进行拖拽</p>
- <p>默认值:5</p>
- </div>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 更改拖拽操作启动位移值为10px</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- minMoveSize: 10
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.next.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.next.html
deleted file mode 100644
index b20fec74..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.next.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNodes, targetNode)</span><span class="path">setting.edit.drag.</span>next</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>拖拽到目标节点时,设置是否允许移动到目标节点后面的操作。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p class="highlight_red">拖拽目标是 根 的时候,不触发 prev 和 next,只会触发 inner</p>
- <p class="highlight_red">此功能主要作用是对拖拽进行适当限制(辅助箭头),需要结合 prev、inner 一起使用,才能实现完整功能。</p>
- <p>默认值:true</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 允许 / 不允许 移动到目标节点后面</p>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控(多棵树拖拽时,是目标节点所在树的 treeId)</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>被拖拽的节点 JSON 数据集合</p>
- <h4 class="topLine"><b>targetNode</b><span>JSON</span></h4>
- <p>拖拽时的目标节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值同 Boolean 格式的数据</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止拖拽到节点后面的操作</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- prev: true,
- next: false,
- inner: true
- }
- }
-};
-......</code></pre>
- <h4>2. 禁止拖拽到父节点后面的操作</h4>
- <pre xmlns=""><code>function canNext(treeId, nodes, targetNode) {
- return !targetNode.isParent;
-}
-var setting = {
- edit: {
- enable: true,
- drag: {
- prev: true,
- next: canNext,
- inner: true
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.prev.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.prev.html
deleted file mode 100644
index d296f96b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.drag.prev.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNodes, targetNode)</span><span class="path">setting.edit.drag.</span>prev</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>拖拽到目标节点时,设置是否允许移动到目标节点前面的操作。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p class="highlight_red">拖拽目标是 根 的时候,不触发 prev 和 next,只会触发 inner</p>
- <p class="highlight_red">此功能主要作用是对拖拽进行适当限制(辅助箭头),需要结合 next、inner 一起使用,才能实现完整功能。</p>
- <p>默认值:true</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 允许 / 不允许 移动到目标节点前面</p>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控(多棵树拖拽时,是目标节点所在树的 treeId)</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>被拖拽的节点 JSON 数据集合</p>
- <h4 class="topLine"><b>targetNode</b><span>JSON</span></h4>
- <p>拖拽时的目标节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值同 Boolean 格式的数据</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 禁止拖拽到节点前面的操作</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- prev: false,
- next: true,
- inner: true
- }
- }
-};
-......</code></pre>
- <h4>2. 禁止拖拽到父节点前面的操作</h4>
- <pre xmlns=""><code>function canPrev(treeId, nodes, targetNode) {
- return !targetNode.isParent;
-}
-var setting = {
- edit: {
- enable: true,
- drag: {
- prev: canPrev,
- next: true,
- inner: true
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.editNameSelectAll.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.editNameSelectAll.html
deleted file mode 100644
index c578b652..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.editNameSelectAll.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.edit.</span>editNameSelectAll</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>节点编辑名称 input 初次显示时,设置 txt 内容是否为全选状态。 <span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p>默认值: false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true 表示 全选状态</p>
- <p> false 表示 不是全选状态,光标默认在最后</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置节点编辑名称 input 初次显示时,txt内容为全选状态</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- editNameSelectAll: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.enable.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.enable.html
deleted file mode 100644
index 666c5037..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.enable.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.edit.</span>enable</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置 zTree 是否处于编辑状态</p>
- <p class="highlight_red">请在初始化之前设置,初始化后需要改变编辑状态请使用 zTreeObj.setEditable() 方法</p>
- <p>默认值: false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 可以 / 不可以 编辑</p>
- </div>
- <h3>编辑状态规则说明</h3>
- <div class="desc">
- <p>1、点击节点时,不会打开 <span class="highlight_red">node.url</span> 指定的 URL。
-<br/>2、全面支持 编辑 与 异步加载 状态共存。
-<br/>3、可以对节点进行拖拽,且支持多棵树之间进行拖拽。
-<br/>4、支持拖拽时 复制/移动 节点。(参考: <span class="highlight_red">setting.edit.drag.isCopy / setting.edit.drag.isMove</span>)
-<br/>5、可以通过编辑按钮修改 name 属性。
-<br/>6、可以通过删除按钮删除节点。
-<br/>
-</p>
- <p class="highlight_red">请注意大小写,不要改变</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 zTree 进入编辑状态</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.removeTitle.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.removeTitle.html
deleted file mode 100644
index 438a3471..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.removeTitle.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String / Function(treeId, treeNode)</span><span class="path">setting.edit.</span>removeTitle</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>删除按钮的 Title 辅助信息。<span class="highlight_red">[setting.edit.enable = true & setting.edit.showRemoveBtn = true 时生效]</span></p>
- <p>默认值:"remove"</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>鼠标移动到 删除按钮 上时,浏览器自动弹出的辅助信息内容,可根据用户需要自行修改</p>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要设置删除按钮 Title 信息的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>String</span></h4>
- <p>返回值同 String 格式的数据</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 设置删除按钮的 Title 辅助信息为: "删除节点"</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- showRemoveBtn: true,
- removeTitle: "删除节点"
- }
-};
-......</code></pre>
- <h4>2. 设置父节点删除按钮的 Title 辅助信息为: "删除父节点"</h4>
- <pre xmlns=""><code>function setRemoveTitle(treeId, treeNode) {
- return treeNode.isParent ? "删除父节点":"删除叶子节点";
-}
-var setting = {
- edit: {
- enable: true,
- showRemoveBtn: true,
- removeTitle: setRemoveTitle
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.renameTitle.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.renameTitle.html
deleted file mode 100644
index 4ca58594..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.renameTitle.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String / Function(treeId, treeNode)</span><span class="path">setting.edit.</span>renameTitle</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>编辑名称按钮的 Title 辅助信息。<span class="highlight_red">[setting.edit.enable = true & setting.edit.showRenameBtn = true 时生效]</span></p>
- <p>默认值:"rename"</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>设置鼠标移动到 编辑名称按钮 上时,浏览器自动弹出的辅助信息内容,可根据用户需要自行修改</p>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要设置编辑名称按钮 Title 信息的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>String</span></h4>
- <p>返回值同 String 格式的数据</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 设置编辑名称按钮的 Title 辅助信息为: "编辑节点名称"</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- showRenameBtn: true,
- renameTitle: "编辑节点名称"
- }
-};
-......</code></pre>
- <h4>2. 设置父节点编辑名称按钮的 Title 辅助信息为: "编辑父节点名称"</h4>
- <pre xmlns=""><code>function setRenameTitle(treeId, treeNode) {
- return treeNode.isParent ? "编辑父节点名称":"编辑叶子节点名称";
-}
-var setting = {
- edit: {
- enable: true,
- showRenameBtn: true,
- renameTitle: setRenameTitle
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.showRemoveBtn.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.showRemoveBtn.html
deleted file mode 100644
index c14fcdf9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.showRemoveBtn.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNode)</span><span class="path">setting.edit.</span>showRemoveBtn</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置是否显示删除按钮。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p>当点击某节点的删除按钮时:</p>
- <p>1、首先触发 <span class="highlight_red">setting.callback.beforeRemove</span> 回调函数,用户可判定是否进行删除操作。</p>
- <p>2、如果未设置 beforeRemove 或 beforeRemove 返回 true,则删除节点并触发 <span class="highlight_red">setting.callback.onRemove</span> 回调函数。</p>
- <p>默认值:true</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 显示 / 隐藏 删除按钮</p>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要设置是否显示删除按钮的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值同 Boolean 格式的数据</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 不显示删除按钮</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- showRemoveBtn: false
- }
-};
-......</code></pre>
- <h4>2. 设置所有的父节点不显示删除按钮</h4>
- <pre xmlns=""><code>function setRemoveBtn(treeId, treeNode) {
- return !treeNode.isParent;
-}
-var setting = {
- edit: {
- enable: true,
- showRemoveBtn: setRemoveBtn
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.showRenameBtn.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.showRenameBtn.html
deleted file mode 100644
index f6f29d09..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.edit.showRenameBtn.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNode)</span><span class="path">setting.edit.</span>showRenameBtn</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置是否显示编辑名称按钮。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
- <p>当点击某节点的编辑名称按钮时:</p>
- <p>1、进入节点编辑名称状态。</p>
- <p>2、编辑名称完毕(Input 失去焦点 或 按下 Enter 键),会触发 <span class="highlight_red">setting.callback.beforeRename</span> 回调函数,用户可根据自己的规则判定是否允许修改名称。</p>
- <p>3、如果 beforeRename 返回 false,则继续保持编辑名称状态,直到名称符合规则位置 (按下 ESC 键可取消编辑名称状态,恢复原名称)。</p>
- <p>4、如果未设置 beforeRename 或 beforeRename 返回 true,则结束节点编辑名称状态,更新节点名称,并触发 <span class="highlight_red">setting.callback.onRename</span> 回调函数。</p>
- <p>默认值:true</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 显示 / 隐藏 编辑名称按钮</p>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要设置是否显示编辑名称按钮的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值同 Boolean 格式的数据</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 不显示编辑名称按钮</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- showRenameBtn: false
- }
-};
-......</code></pre>
- <h4>2. 设置所有的父节点不显示编辑名称按钮</h4>
- <pre xmlns=""><code>function setRenameBtn(treeId, treeNode) {
- return !treeNode.isParent;
-}
-var setting = {
- edit: {
- enable: true,
- showRenameBtn: setRenameBtn
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.treeId.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.treeId.html
deleted file mode 100644
index 4eefddec..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.treeId.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.</span>treeId</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree 的唯一标识,初始化后,等于 用户定义的 zTree 容器的 id 属性值。</p>
- <p class="highlight_red">请勿进行初始化 或 修改,属于内部参数。</p>
- </div>
- </div>
-
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.treeObj.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.treeObj.html
deleted file mode 100644
index d445935f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.treeObj.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Object</span><span class="path">setting.</span>treeObj</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree 容器的 jQuery 对象,主要功能:便于操作。</p>
- <p class="highlight_red">请勿进行初始化 或 修改,属于内部参数。</p>
- </div>
- </div>
-
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.addDiyDom.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.addDiyDom.html
deleted file mode 100644
index efa3c4fb..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.addDiyDom.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.view.</span>addDiyDom</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于在节点上固定显示用户自定义控件</p>
- <p class="highlight_red">1. 大数据量的节点加载请注意:在 addDiyDom 中针对每个节点 查找 DOM 对象并且添加新 DOM 控件,肯定会影响初始化性能;如果不是必须使用,建议不使用此功能</p>
- <p class="highlight_red">2. 属于高级应用,使用时请确保对 zTree 比较了解。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要显示自定义控件的节点 JSON 数据对象</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 设置节点后面显示一个按钮</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- addDiyDom: addDiyDom
- }
-};
-function addDiyDom(treeId, treeNode) {
- var aObj = $("#" + treeNode.tId + "_a");
- if ($("#diyBtn_"+treeNode.id).length>0) return;
- var editStr = "&lt;span id='diyBtn_space_" +treeNode.id+ "' &gt; &lt;/span&gt;"
- + "&lt;button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
- + "' title='"+treeNode.name+"' onfocus='this.blur();'&gt;&lt;/button&gt;";
- aObj.append(editStr);
- var btn = $("#diyBtn_"+treeNode.id);
- if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.addHoverDom.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.addHoverDom.html
deleted file mode 100644
index e24b8287..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.addHoverDom.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.view.</span>addHoverDom</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于当鼠标移动到节点上时,显示用户自定义控件,显示隐藏状态同 zTree 内部的编辑、删除按钮</p>
- <p class="highlight_red">请务必与 <span class="highlight_red">setting.view.removeHoverDom</span> 同时使用;属于高级应用,使用时请确保对 zTree 比较了解。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要显示自定义控件的节点 JSON 数据对象</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 设置鼠标移到节点上,在后面显示一个按钮</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- addHoverDom: addHoverDom,
- removeHoverDom: removeHoverDom,
- ......
- }
-};
-function addHoverDom(treeId, treeNode) {
- var aObj = $("#" + treeNode.tId + "_a");
- if ($("#diyBtn_"+treeNode.id).length>0) return;
- var editStr = "&lt;span id='diyBtn_space_" +treeNode.id+ "' &gt;&nbsp;&lt;/span&gt;"
- + "&lt;button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
- + "' title='"+treeNode.name+"' onfocus='this.blur();'&gt;&lt;/button&gt;";
- aObj.append(editStr);
- var btn = $("#diyBtn_"+treeNode.id);
- if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
-};
-function removeHoverDom(treeId, treeNode) {
- $("#diyBtn_"+treeNode.id).unbind().remove();
- $("#diyBtn_space_" +treeNode.id).unbind().remove();
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.autoCancelSelected.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.autoCancelSelected.html
deleted file mode 100644
index 7f00c55c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.autoCancelSelected.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.view.</span>autoCancelSelected</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>点击节点时,按下 Ctrl 或 Cmd 键是否允许取消选择操作。</p>
- <p class="highlight_red">如果不需要此功能,请设置为 false。</p>
- <p>默认值: true</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 支持 / 不支持 配合 Ctrl 或 Cmd 键进行取消节点选择的操作</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 禁止配合 Ctrl 或 Cmd 键进行取消节点选择的操作</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- autoCancelSelected: false
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.dblClickExpand.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.dblClickExpand.html
deleted file mode 100644
index 5125e6a7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.dblClickExpand.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNode)</span><span class="path">setting.view.</span>dblClickExpand</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>双击节点时,是否自动展开父节点的标识</p>
- <p>默认值: true</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示双击节点 切换 / 不切换 展开状态</p>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要设置是否双击切换展开状态的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值同 Boolean 格式的数据</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 取消默认双击展开父节点的功能</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- dblClickExpand: false
- }
-};
-......</code></pre>
- <h4>2. 设置 zTree 仅仅 level=0 的父节点取消双击展开的功能</h4>
- <pre xmlns=""><code>function dblClickExpand(treeId, treeNode) {
- return treeNode.level > 0;
-};
-var setting = {
- view: {
- dblClickExpand: dblClickExpand
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.expandSpeed.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.expandSpeed.html
deleted file mode 100644
index 4ffb9545..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.expandSpeed.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String / Number</span><span class="path">setting.view.</span>expandSpeed</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree 节点展开、折叠时的动画速度,设置方法同 JQuery 动画效果中 speed 参数。</p>
- <p class="highlight_red">IE6 下会自动关闭动画效果,以保证 zTree 的操作速度</p>
- <p>默认值:"fast"</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>三种预定速度之一的字符串("slow", "normal", or "fast")</p>
- <p class="highlight_red">设置为 "" 时,不显示动画效果</p>
- </div>
- <h3>Number 格式说明</h3>
- <div class="desc">
- <p>表示动画时长的毫秒数值 (如:1000)</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置为慢速显示动画效果</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- expandSpeed: "slow"
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.fontCss.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.fontCss.html
deleted file mode 100644
index 0d05152f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.fontCss.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>JSON / Function(treeId, treeNode)</span><span class="path">setting.view.</span>fontCss</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>个性化文字样式,只针对 zTree 在节点上显示的&lt;A&gt;对象。</p>
- <p>默认值:{}</p>
- </div>
- </div>
- <h3>JSON 格式说明</h3>
- <div class="desc">
- <p>JSON 格式为 JQuery css方法中的 JSON 对象格式,例如:<span class="highlight_red">{color:"#ff0011", background:"blue"}</span></p>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要设置自定义样式的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>JSON</span></h4>
- <p>返回值同 JSON 格式的数据,例如:<span class="highlight_red">{color:"#ff0011", background:"blue"}</span></p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 不修改CSS,设置全部节点 name 显示为红色</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- fontCss : {color:"red"}
- }
-};</code></pre>
- <h4>2. 设置 level=0 的节点 name 显示为红色</h4>
- <pre xmlns=""><code>function setFontCss(treeId, treeNode) {
- return treeNode.level == 0 ? {color:"red"} : {};
-};
-var setting = {
- view: {
- fontCss: setFontCss
- }
-};</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.nameIsHTML.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.nameIsHTML.html
deleted file mode 100644
index 48478029..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.nameIsHTML.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.view.</span>nameIsHTML</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置 name 属性是否支持 HTML 脚本</p>
- <p class="highlight_red">如果允许 HTML 脚本,请根据自己的需求做校验,避免出现 js 注入等安全问题。</p>
- <p>默认值: false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 支持 / 不支持 HTML 脚本</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 name 属性支持 HTML 脚本</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- nameIsHTML: true
- }
-};
-var node = {"name":"&lt;font color='red'&gt;test&lt;/font&gt;"};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.removeHoverDom.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.removeHoverDom.html
deleted file mode 100644
index 467ccb24..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.removeHoverDom.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.view.</span>removeHoverDom</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于当鼠标移出节点时,隐藏用户自定义控件,显示隐藏状态同 zTree 内部的编辑、删除按钮</p>
- <p class="highlight_red">请务必与 <span class="highlight_red">addHoverDom</span> 同时使用;属于高级应用,使用时请确保对 zTree 比较了解。</p>
- <p>默认值:null</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>需要隐藏自定义控件的节点 JSON 数据对象</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 设置鼠标移到节点上,在后面显示一个按钮</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- addHoverDom: addHoverDom,
- removeHoverDom: removeHoverDom,
- ......
- }
-};
-function addHoverDom(treeId, treeNode) {
- var aObj = $("#" + treeNode.tId + "_a");
- if ($("#diyBtn_"+treeNode.id).length>0) return;
- var editStr = "&lt;span id='diyBtn_space_" +treeNode.id+ "' &gt;&nbsp;&lt;/span&gt;"
- + "&lt;button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
- + "' title='"+treeNode.name+"' onfocus='this.blur();'&gt;&lt;/button&gt;";
- aObj.append(editStr);
- var btn = $("#diyBtn_"+treeNode.id);
- if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
-};
-function removeHoverDom(treeId, treeNode) {
- $("#diyBtn_"+treeNode.id).unbind().remove();
- $("#diyBtn_space_" +treeNode.id).unbind().remove();
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.selectedMulti.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.selectedMulti.html
deleted file mode 100644
index 5a437718..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.selectedMulti.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.view.</span>selectedMulti</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置是否允许同时选中多个节点。</p>
- <p>默认值: true</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 支持 / 不支持 同时选中多个节点</p>
- <p class="highlight_red">1、设置为 true时,按下 Ctrl 或 Cmd 键可以选中多个节点</p>
- <p class="highlight_red">2、设置为 true / false 都不影响按下 Ctrl 或 Cmd 键可以让已选中的节点取消选中状态( 取消选中状态可以参考 setting.view.autoCancelSelected )</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 禁止多点同时选中的功能</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- selectedMulti: false
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.showIcon.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.showIcon.html
deleted file mode 100644
index 822afaca..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.showIcon.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNode)</span><span class="path">setting.view.</span>showIcon</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置 zTree 是否显示节点的图标。</p>
- <p>默认值:true</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 显示 / 隐藏 图标</p>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要设置是否显示图标的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值同 Boolean 格式的数据</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 设置 zTree 不显示图标</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- showIcon: false
- }
-};
-......</code></pre>
- <h4>2. 设置 zTree 仅仅 level=2 的节点不显示图标</h4>
- <pre xmlns=""><code>function showIconForTree(treeId, treeNode) {
- return treeNode.level != 2;
-};
-var setting = {
- view: {
- showIcon: showIconForTree
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.showLine.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.showLine.html
deleted file mode 100644
index ecd20a00..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.showLine.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.view.</span>showLine</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置 zTree 是否显示节点之间的连线。</p>
- <p>默认值:true</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 显示 / 不显示 连线</p>
- </div>
- <h3>setting 举例</h3>
- <h4>1. 设置 zTree 不显示节点之间的连线</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- showLine: false
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.showTitle.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.showTitle.html
deleted file mode 100644
index b7aab8d2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.showTitle.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNode)</span><span class="path">setting.view.</span>showTitle</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置 zTree 是否显示节点的 title 提示信息(即节点 DOM 的 title 属性)。</p>
- <p class="highlight_red">请务必与 <span class="highlight_red">setting.data.key.title</span> 同时使用。</p>
- <p>默认值:true</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 显示 / 隐藏 提示信息</p>
- <p class="highlight_red">如果 setting.view.showTitle = true & setting.data.key.title = '',zTree 会自动使用 setting.data.key.name 指定的节点名称当做 title</p>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>对应 zTree 的 <b class="highlight_red">treeId</b>,便于用户操控</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要设置是否显示提示信息的节点 JSON 数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值同 Boolean 格式的数据</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 设置 zTree 不显示提示信息</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- showTitle: false
- }
-};
-......</code></pre>
- <h4>2. 设置 zTree 仅仅 level=2 的节点不显示提示信息</h4>
- <pre xmlns=""><code>function showTitleForTree(treeId, treeNode) {
- return treeNode.level != 2;
-};
-var setting = {
- view: {
- showTitle: showTitleForTree
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.txtSelectedEnable.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.txtSelectedEnable.html
deleted file mode 100644
index 4053430d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/setting.view.txtSelectedEnable.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.view.</span>txtSelectedEnable</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置 zTree 是否允许可以选择 zTree DOM 内的文本。</p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true / false 分别表示 允许 / 不允许 选择 zTree Dom 内的文本</p>
- </div>
- <h3>setting & function 举例</h3>
- <h4>1. 设置 zTree 允许选择文本</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- txtSelectedEnable: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.check_Child_State.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.check_Child_State.html
deleted file mode 100644
index 2ce51e0f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.check_Child_State.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">treeNode.</span>check_Child_State</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于设置节点的子节点的 checkBox / radio 的半选状态。<span class="highlight_red">[setting.check.enable = true 时有效]</span></p>
- <p class="highlight_red">v3.x 针对节点数据对象提供 treeNode.getCheckStatus() 方法获取标准的半选状态</p>
- <p class="highlight_red">zTree 内部使用,请勿进行初始化 或 随意修改</p>
- <p>默认值:true</p>
- </div>
- </div>
- <h3>Number 格式说明</h3>
- <div class="desc">
- <p>规则如下:</p>
- <table width="100%" border="0" cellspacing="1" cellpadding="0">
- <thead>
- <tr><td colspan="4">setting.check.checkType = "checkbox"</td></tr>
- <tr><td>treeNode.check_Child_State</td><td>勾选状态说明</td></tr>
- </thead>
- <tbody>
- <tr><td>-1</td><td>不存在子节点 或 子节点全部设置为 nocheck = true</td></tr>
- <tr><td>0</td><td>无 子节点被勾选</td></tr>
- <tr><td>1</td><td>部分 子节点被勾选</td></tr>
- <tr><td>2</td><td>全部 子节点被勾选</td></tr>
- </tbody>
- </table>
- <br/>
- <table width="100%" border="0" cellspacing="1" cellpadding="0">
- <thead>
- <tr><td colspan="4">setting.check.checkType = "radio"</td></tr>
- <tr><td>treeNode.check_Child_State</td><td>勾选状态说明</td></tr>
- </thead>
- <tbody>
- <tr><td>-1</td><td>不存在子节点 或 子节点全部设置为 nocheck = true</td></tr>
- <tr><td>0</td><td>无 子节点被勾选</td></tr>
- <tr><td>2</td><td>有 子节点被勾选</td></tr>
- </tbody>
- </table>
- </div>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.check_Focus.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.check_Focus.html
deleted file mode 100644
index 0272d324..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.check_Focus.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>check_Focus</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于设置节点的 checkBox / radio 的 focus 状态。<span class="highlight_red">[setting.check.enable = true 时有效]</span></p>
- <p class="highlight_red">zTree 内部使用,请勿进行初始化 或 随意修改</p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p>true 表示当前鼠标移动到输入框内</p>
- <p>false 表示当前鼠标移动到输入框外</p>
- </div>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.checked.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.checked.html
deleted file mode 100644
index c796c197..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.checked.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>checked</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>节点的 checkBox / radio 的 勾选状态。<span class="highlight_red">[setting.check.enable = true & treeNode.nocheck = false 时有效]</span></p>
- <p class="highlight_red">1、如果不使用 checked 属性设置勾选状态,请修改 setting.data.key.checked </p>
- <p class="highlight_red">2、建立 treeNode 数据时设置 treeNode.checked = true 可以让节点的输入框默认为勾选状态</p>
- <p class="highlight_red">3、修改节点勾选状态,可以使用 treeObj.checkNode / checkAllNodes / updateNode 方法,具体使用哪种请根据自己的需求而定</p>
- <p class="highlight_red">4、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据</p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p>true 表示节点的输入框被勾选</p>
- <p>false 表示节点的输入框未勾选</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 初始化的数据设置 默认为勾选状态</h4>
- <pre xmlns=""><code>var nodes = [
-{ "id":1, "name":"test1", checked:true },
-{ "id":2, "name":"test2", checked:true }
-]</code></pre>
- <h4>2. 获取第一个根节点的勾选状态</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var checked = treeObj.getNodes()[0].checked;
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.checkedOld.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.checkedOld.html
deleted file mode 100644
index ad79d5c0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.checkedOld.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>checkedOld</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>节点的 checkBox / radio 在初始化时的 勾选状态。<span class="highlight_red">[setting.check.enable = true & treeNode.nocheck = false 时有效]</span></p>
- <p class="highlight_red">1、zTree 初始化节点数据时会对此属性进行赋值,因此请勿对此属性初始化</p>
- <p class="highlight_red">2、如需配合 zTreeObj.getChangeCheckedNodes 方法实现特殊功能,可以根据需求在使用中自行修改 checkedOld 数据</p>
- <p>默认值:checked的初始化值</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p>true 表示节点初始化时 输入框被勾选</p>
- <p>false 表示节点初始化时 输入框未勾选</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 获取第一个根节点的初始勾选状态</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var checkedOld = treeObj.getNodes()[0].checkedOld;
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.children.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.children.html
deleted file mode 100644
index 3ba94416..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.children.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Array(JSON)</span><span class="path">treeNode.</span>children</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>节点的子节点数据集合。</p>
- <p class="highlight_red">1、如果不使用 children 属性保存子节点数据,请修改 setting.data.key.children </p>
- <p class="highlight_red">2、异步加载时,对于设置了 isParent = true 的节点,在展开时将进行异步加载</p>
- <p>默认值:无</p>
- </div>
- </div>
- <h3>Array(JSON) 格式说明</h3>
- <div class="desc">
- <p>标准的 JSON 数据对象</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 初始化的标准嵌套格式的 JSON 数据对象</h4>
- <pre xmlns=""><code>var nodes = [
-{ "id":1, "name":"test1",
- children: [
- { "id":3, "name":"test3"},
- { "id":4, "name":"test4"},
- { "id":5, "name":"test5"}
- ]
-},
-{ "id":2, "name":"test2" }
-]</code></pre>
- <h4>2. 获取第一个根节点的子节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes()[0].children;
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.chkDisabled.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.chkDisabled.html
deleted file mode 100644
index 255e8cea..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.chkDisabled.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>chkDisabled</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>1、设置节点的 checkbox / radio 是否禁用 <span class="highlight_red">[setting.check.enable = true 时有效]</span></p>
- <p class="highlight_red">2、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据</p>
- <p class="highlight_red">3、请勿对已加载的节点修改此属性,禁止 或 取消禁止 请使用 setChkDisabled() 方法</p>
- <p class="highlight_red">4、初始化时,如果需要子孙节点继承父节点的 chkDisabled 属性,请设置 setting.check.chkDisabledInherit 属性</p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p class="highlight_red">true 表示此节点的 checkbox / radio 被禁用。</p>
- <p class="highlight_red">false 表示此节点的 checkbox / radio 可以使用。</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 禁用节点 checkbox / radio </h4>
- <pre xmlns=""><code>var nodes = [
- { "id":1, "name":"test1", "checked":true, "chkDisabled":true},
- { "id":2, "name":"test2", "chkDisabled":true},
- { "id":3, "name":"test3"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.click.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.click.html
deleted file mode 100644
index 78ae8170..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.click.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>click</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>最简单的 click 事件操作。相当于 onclick="..." 的内容。 如果操作较复杂,请使用 onClick 事件回调函数。</p>
- <p class="highlight_red">由于 IE 对于 onclick 和 click事件共存时的处理与其他浏览器不同,所以请不要利用此参数控制是否允许跳转的操作(例如:treeNode.click = "return false;")。如有类似需求,请不要使用 url 属性设置网址,同时利用 onClick 回调函数控制跳转。</p>
- <p>默认值:无</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>标准 javascript 语法, 例如:alert("test"); 等</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 设置某节点点击时,弹出信息框</h4>
- <pre xmlns=""><code>var nodes = [
- { "id":1, "name":"Google CN", "url":"http://g.cn", "click":"alert('test');"},
- ......
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.diy.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.diy.html
deleted file mode 100644
index c3036f14..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.diy.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>?</span><span class="path">treeNode.</span>* DIY *</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于保存节点的其他自定义数据信息,不要与 zTree 使用的属性相同即可,用户可随意设定。</p>
- </div>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 设置节点的备用英文名称</h4>
- <pre xmlns=""><code>var node = { "id":1, "name":"test1", "ename":"test eName"};</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.editNameFlag.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.editNameFlag.html
deleted file mode 100644
index 75521dda..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.editNameFlag.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>editNameFlag</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>用于记录节点是否处于编辑名称状态。<span class="highlight_red">[setting.edit.enable = true 时有效]</span></p>
- <p class="highlight_red">zTree 内部使用,请勿进行初始化 或 随意修改</p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p>true 表示节点处于编辑名称状态</p>
- <p>false 表示节点未处于编辑名称状态</p>
- </div>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getCheckStatus.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getCheckStatus.html
deleted file mode 100644
index 7e0aba14..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getCheckStatus.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">treeNode.</span>getCheckStatus</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>获取节点 checkbox / radio 半勾选状态。<span class="highlight_red">[setting.check.enable = true 时有效]</span></p>
- <p class="highlight_red">初始化节点数据时,由 zTree 增加此属性,请勿提前赋值</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>返回值</b><span>JSON</span></h4>
- <pre xmlns=""><code>{
- checked: true, //等同于 treeNode.checked
- half: true //规则见下表
-}</code></pre>
- <table width="100%" border="0" cellspacing="1" cellpadding="0">
- <thead>
- <tr><td colspan="4">setting.check.checkType = "checkbox"</td></tr>
- <tr><td>treeNode.checked</td><td>treeNode.check_Child_State</td><td>treeNode.halfCheck</td><td> half </td></tr>
- </thead>
- <tbody>
- <tr><td>-</td><td>-</td><td>true</td><td>true</td></tr>
- <tr><td colspan="4">&nbsp;</td></tr>
- <tr><td>true</td><td>-1</td><td>false</td><td>false</td></tr>
- <tr><td>true</td><td>0</td><td>false</td><td>true</td></tr>
- <tr><td>true</td><td>1</td><td>false</td><td>true</td></tr>
- <tr><td>true</td><td>2</td><td>false</td><td>false</td></tr>
- <tr><td colspan="4">&nbsp;</td></tr>
- <tr><td>false</td><td>-1</td><td>false</td><td>false</td></tr>
- <tr><td>false</td><td>0</td><td>false</td><td>false</td></tr>
- <tr><td>false</td><td>1</td><td>false</td><td>true</td></tr>
- <tr><td>false</td><td>2</td><td>false</td><td>true</td></tr>
- </tbody>
- </table>
- <br/>
- <table width="100%" border="0" cellspacing="1" cellpadding="0">
- <thead>
- <tr><td colspan="4">setting.check.checkType = "radio"</td></tr>
- <tr><td>treeNode.checked</td><td>treeNode.check_Child_State</td><td>treeNode.halfCheck</td><td> half </td></tr>
- </thead>
- <tbody>
- <tr><td>-</td><td>-</td><td>true</td><td>true</td></tr>
- <tr><td colspan="4">&nbsp;</td></tr>
- <tr><td>true</td><td>-1</td><td>false</td><td>false</td></tr>
- <tr><td>true</td><td>0</td><td>false</td><td>false</td></tr>
- <tr><td>true</td><td>2</td><td>false</td><td>true</td></tr>
- <tr><td colspan="4">&nbsp;</td></tr>
- <tr><td>false</td><td>-1</td><td>false</td><td>false</td></tr>
- <tr><td>false</td><td>0</td><td>false</td><td>false</td></tr>
- <tr><td>false</td><td>2</td><td>false</td><td>true</td></tr>
- </tbody>
- </table>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 获取第一个根节点的半选状态</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var halfCheck = treeObj.getNodes()[0].getCheckStatus();
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getNextNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getNextNode.html
deleted file mode 100644
index bb5691e5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getNextNode.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">treeNode.</span>getNextNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>获取与 treeNode 节点相邻的后一个节点。</p>
- <p class="highlight_red">初始化节点数据时,由 zTree 增加此属性,请勿提前赋值</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>返回值</b><span>JSON</span></h4>
- <p>与 treeNode 节点相邻的后一个节点。</p>
- <p class="highlight_red">如果 treeNode 是最后一个节点,返回 null 。</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 获取当前被选中的节点的下一个节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var node = sNodes[0].getNextNode();
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getParentNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getParentNode.html
deleted file mode 100644
index d420e2b7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getParentNode.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">treeNode.</span>getParentNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>获取 treeNode 节点的父节点。</p>
- <p class="highlight_red">初始化节点数据时,由 zTree 增加此属性,请勿提前赋值</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>返回值</b><span>JSON</span></h4>
- <p> treeNode 节点的父节点 JSON 数据对象。</p>
- <p class="highlight_red">如果 treeNode 是根节点,返回 null 。</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 获取当前被选中的节点的父节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var node = sNodes[0].getParentNode();
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getPreNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getPreNode.html
deleted file mode 100644
index 2be53c9d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.getPreNode.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">treeNode.</span>getPreNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>获取与 treeNode 节点相邻的前一个节点。</p>
- <p class="highlight_red">初始化节点数据时,由 zTree 增加此属性,请勿提前赋值</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>返回值</b><span>JSON</span></h4>
- <p>与 treeNode 节点相邻的前一个节点。</p>
- <p class="highlight_red">如果 treeNode 是第一个节点,返回 null 。</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 获取当前被选中的节点的前一个节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var node = sNodes[0].getPreNode();
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.halfCheck.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.halfCheck.html
deleted file mode 100644
index b208a33c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.halfCheck.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>halfCheck</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>强制节点的 checkBox / radio 的 半勾选状态。<span class="highlight_red">[setting.check.enable = true & treeNode.nocheck = false 时有效]</span></p>
- <p class="highlight_red">1、强制为半勾选状态后,不再进行自动计算半勾选状态</p>
- <p class="highlight_red">2、设置 treeNode.halfCheck = false 或 null 才能恢复自动计算半勾选状态</p>
- <p class="highlight_red">3、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据</p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p>true 表示节点的输入框 强行设置为半勾选</p>
- <p>false 表示节点的输入框 根据 zTree 的规则自动计算半勾选状态</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 初始化的数据设置 默认为半勾选状态</h4>
- <pre xmlns=""><code>var nodes = [
-{ "id":1, "name":"test1", isParent:true, checked:true, halfCheck:true },
-{ "id":2, "name":"test2", isParent:true, checked:false, halfCheck:true },
-{ "id":3, "name":"test3", isParent:true, checked:true },
-{ "id":4, "name":"test4", isParent:true, checked:false }
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.icon.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.icon.html
deleted file mode 100644
index b08a30b5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.icon.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>icon</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>节点自定义图标的 URL 路径。</p>
- <p class="highlight_red">1、父节点如果只设置 icon ,会导致展开、折叠时都使用同一个图标</p>
- <p class="highlight_red">2、父节点展开、折叠使用不同的个性化图标需要同时设置 treeNode.iconOpen / treeNode.iconClose 两个属性</p>
- <p class="highlight_red">3、如果想利用 className 设置个性化图标,需要设置 treeNode.iconSkin 属性</p>
- <p>默认值:无</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>图标图片的 url 可以是相对路径也可以是绝对路径</p>
- <p class="highlight_red">设置相对路径请注意页面与图片之间的关系,确保图片能够正常加载</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 设置节点的个性化图标</h4>
- <pre xmlns=""><code>var nodes = [
- //父节点展开 折叠时使用相同的图标
- { name:"父节点1", icon:"/img/parent.gif"},
-
- //父节点展开 折叠时分别使用不同的图标
- { name:"父节点2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"},
-
- //叶子节点个性化图标
- { name:"叶子节点", icon:"/img/leaf.gif"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.iconClose.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.iconClose.html
deleted file mode 100644
index 951e81c4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.iconClose.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>iconClose</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>父节点自定义折叠时图标的 URL 路径。</p>
- <p class="highlight_red">1、此属性只针对父节点有效</p>
- <p class="highlight_red">2、此属性必须与 iconOpen 同时使用</p>
- <p class="highlight_red">3、如果想利用 className 设置个性化图标,需要设置 treeNode.iconSkin 属性</p>
- <p>默认值:无</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>图标图片的 url 可以是相对路径也可以是绝对路径</p>
- <p class="highlight_red">设置相对路径请注意页面与图片之间的关系,确保图片能够正常加载</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 设置节点的个性化图标</h4>
- <pre xmlns=""><code>var nodes = [
- //父节点展开 折叠时使用相同的图标
- { name:"父节点1", icon:"/img/parent.gif"},
-
- //父节点展开 折叠时分别使用不同的图标
- { name:"父节点2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"},
-
- //叶子节点个性化图标
- { name:"叶子节点", icon:"/img/leaf.gif"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.iconOpen.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.iconOpen.html
deleted file mode 100644
index f067cc26..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.iconOpen.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>iconOpen</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>父节点自定义展开时图标的 URL 路径。</p>
- <p class="highlight_red">1、此属性只针对父节点有效</p>
- <p class="highlight_red">2、此属性必须与 iconClose 同时使用</p>
- <p class="highlight_red">3、如果想利用 className 设置个性化图标,需要设置 treeNode.iconSkin 属性</p>
- <p>默认值:无</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>图标图片的 url 可以是相对路径也可以是绝对路径</p>
- <p class="highlight_red">设置相对路径请注意页面与图片之间的关系,确保图片能够正常加载</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 设置节点的个性化图标</h4>
- <pre xmlns=""><code>var nodes = [
- //父节点展开 折叠时使用相同的图标
- { name:"父节点1", icon:"/img/parent.gif"},
-
- //父节点展开 折叠时分别使用不同的图标
- { name:"父节点2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"},
-
- //叶子节点个性化图标
- { name:"叶子节点", icon:"/img/leaf.gif"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.iconSkin.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.iconSkin.html
deleted file mode 100644
index 9af8cb42..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.iconSkin.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>iconSkin</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>节点自定义图标的 className</p>
- <p class="highlight_red">1、需要修改 css,增加相应 className 的设置</p>
- <p class="highlight_red">2、css 方式简单、方便,并且同时支持父节点展开、折叠状态切换图片</p>
- <p class="highlight_red">3、css 建议采用图片分割渲染的方式以减少反复加载图片,并且避免图片闪动</p>
- <p class="highlight_red">4、zTree v3.x 的 iconSkin 同样支持 IE6</p>
- <p class="highlight_red">5、如果想直接使用 图片的Url路径 设置节点的个性化图标,需要设置 treeNode.icon / treeNode.iconOpen / treeNode.iconClose 属性</p>
- <p>默认值:无</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>设置个性图标的 className</p>
- </div>
- <h3>css & treeNode 举例</h3>
- <h4>1. 设置节点的个性化图标</h4>
- <pre xmlns=""><code>css 内容:
-.ztree li span.button.diy01_ico_open, .ztree li span.button.diy01_ico_close{...}
-
-.ztree li span.button.diy02_ico_open{...}
-.ztree li span.button.diy02_ico_close{...}
-
-.ztree li span.button.diy03_ico_docu{...}
-
-js中节点数据:
-var nodes = [
- //父节点展开 折叠时使用相同的图标
- { name:"父节点1", iconSkin:"diy01"},
-
- //父节点展开 折叠时分别使用不同的图标
- { name:"父节点2", iconSkin:"diy02"},
-
- //叶子节点个性化图标
- { name:"叶子节点", iconSkin:"diy03"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isAjaxing.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isAjaxing.html
deleted file mode 100644
index f4fe2830..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isAjaxing.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>isAjaxing</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>记录 treeNode 节点是否正在进行异步加载。</p>
- <p class="highlight_red">初始化节点数据时,由 zTree 增加此属性,请勿提前赋值</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true 表示节点正在进行异步加载</p>
- <p> false 表示节点没有进行异步加载</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 查看当前被选中的节点是否节点正在进行异步加载</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var isAjaxing = sNodes[0].isAjaxing;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isFirstNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isFirstNode.html
deleted file mode 100644
index 76dfcf10..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isFirstNode.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>isFirstNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>记录 treeNode 节点是否为同级节点中的第一个节点。</p>
- <p class="highlight_red">使用 exhide 扩展后,只针对显示的节点设置此属性</p>
- <p class="highlight_red">初始化节点数据时,由 zTree 增加此属性,请勿提前赋值</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true 表示是同级节点中的第一个节点</p>
- <p> false 表示不是同级节点中的第一个节点</p>
- <p class="highlight_red">节点被隐藏后,isFirstNode = false</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 查看当前被选中的节点是否是同级节点中的第一个节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var isFirstNode = sNodes[0].isFirstNode;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isHidden.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isHidden.html
deleted file mode 100644
index 92136cc4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isHidden.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>isHidden</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exhide</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>判断 treeNode 节点是否被隐藏。</p>
- <p class="highlight_red">1、初始化 zTree 时,如果节点设置 isHidden = true,会被自动隐藏</p>
- <p class="highlight_red">2、请勿对已加载的节点修改此属性,隐藏 / 显示 请使用 hideNode() / hideNodes() / showNode() / showNodes() 方法</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true 表示被隐藏</p>
- <p> false 表示被显示</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 查看第一个根节点是否被隐藏</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getNodes();
-if (sNodes.length > 0) {
- var isHidden = sNodes[0].isHidden;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isHover.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isHover.html
deleted file mode 100644
index 4b1e0bee..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isHover.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>isHover</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>记录节点 的 hover 状态,主要用于 setting.view.addHoverDom / removeHoverDom 。</p>
- <p class="highlight_red">zTree 内部使用,请勿进行初始化 或 随意修改</p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p>true 表示节点处于 hover 状态</p>
- <p>false 表示节点未处于 hover 状态</p>
- </div>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isLastNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isLastNode.html
deleted file mode 100644
index e4ce6afd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isLastNode.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>isLastNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>记录 treeNode 节点是否为同级节点中的最后一个节点。</p>
- <p class="highlight_red">使用 exhide 扩展后,只针对显示的节点设置此属性</p>
- <p class="highlight_red">初始化节点数据时,由 zTree 增加此属性,请勿提前赋值</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true 表示是同级节点中的最后一个节点</p>
- <p> false 表示不是同级节点中的最后一个节点</p>
- <p class="highlight_red">节点被隐藏后,isLastNode = false</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 查看当前被选中的节点是否是同级节点中的最后一个节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var isLastNode = sNodes[0].isLastNode;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isParent.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isParent.html
deleted file mode 100644
index 9305652f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.isParent.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>isParent</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>记录 treeNode 节点是否为父节点。</p>
- <p class="highlight_red">1、初始化节点数据时,根据 treeNode.children 属性判断,有子节点则设置为 true,否则为 false</p>
- <p class="highlight_red">2、初始化节点数据时,如果设定 treeNode.isParent = true,即使无子节点数据,也会设置为父节点</p>
- <p class="highlight_red">3、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true 表示是父节点</p>
- <p> false 表示不是父节点</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 查看当前被选中的节点是否是父节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var isParent = sNodes[0].isParent;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.level.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.level.html
deleted file mode 100644
index af5b1872..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.level.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">treeNode.</span>level</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>记录节点的层级</p>
- <p class="highlight_red">初始化节点数据时,由 zTree 增加此属性,请勿提前赋值</p>
- </div>
- </div>
- <h3>Number 格式说明</h3>
- <div class="desc">
- <p class="highlight_red">根节点 level = 0,依次递增</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 查看当前被选中的节点的级数</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var level = sNodes[0].level;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.name.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.name.html
deleted file mode 100644
index 890127e0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.name.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>name</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>节点名称。</p>
- <p class="highlight_red">1、如果不使用 name 属性保存节点名称,请修改 setting.data.key.name </p>
- <p>默认值:无</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>节点显示的名称字符串,标准 String 即可,所有特殊字符都会被自动转义</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 设置节点的名称为 test1、test2、test3</h4>
- <pre xmlns=""><code>var nodes = [
- { "id":1, "name":"test1"},
- { "id":2, "name":"test2"},
- { "id":3, "name":"test3"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.nocheck.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.nocheck.html
deleted file mode 100644
index 0e30477f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.nocheck.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>nocheck</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>1、设置节点是否隐藏 checkbox / radio <span class="highlight_red">[setting.check.enable = true 时有效]</span></p>
- <p class="highlight_red">2、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据</p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p class="highlight_red">true 表示此节点不显示 checkbox / radio,不影响勾选的关联关系,不影响父节点的半选状态。</p>
- <p class="highlight_red">false 表示节点具有正常的勾选功能</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 不显示某个节点的 checkbox / radio </h4>
- <pre xmlns=""><code>var nodes = [
- { "id":1, "name":"test1", "nocheck":true},
- { "id":2, "name":"test2"},
- { "id":3, "name":"test3"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.open.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.open.html
deleted file mode 100644
index 0eddf27e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.open.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>open</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>记录 treeNode 节点的 展开 / 折叠 状态。</p>
- <p class="highlight_red">1、初始化节点数据时,如果设定 treeNode.open = true,则会直接展开此节点</p>
- <p class="highlight_red">2、叶子节点 treeNode.open = false</p>
- <p class="highlight_red">3、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据</p>
- <p class="highlight_red">4、非异步加载模式下,无子节点的父节点设置 open=true 后,可显示为展开状态,但异步加载模式下不会生效。(v3.5.15+) </p>
- <p>默认值:false</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true 表示节点为 展开 状态</p>
- <p> false 表示节点为 折叠 状态</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 查看当前被选中的节点的 展开 / 折叠 状态</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var isOpen = sNodes[0].open;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.parentTId.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.parentTId.html
deleted file mode 100644
index 5983457a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.parentTId.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>parentTId</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>treeNode 节点的父节点唯一标识 tId。</p>
- <p class="highlight_red">1、v3.x 用 parentTId 替换了原先的 parentNode 属性,同时增加了 getParentNode 方法,以避免原先 parentNode 造成的 clone 死循环</p>
- <p class="highlight_red">2、初始化节点数据时,由 zTree 增加此属性,请勿提前赋值</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>zTree 内部生成的节点唯一标识,请参考 treeNode.tId 的说明</p>
- <p class="highlight_red">如果 treeNode 是根节点,则 parentTId = null</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 查看当前被选中的节点的父节点 tId</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var parentTId = sNodes[0].parentTId;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.tId.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.tId.html
deleted file mode 100644
index 3ee1ea13..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.tId.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>tId</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>treeNode 节点的唯一标识 tId。</p>
- <p class="highlight_red">初始化节点数据时,由 zTree 增加此属性,请勿提前赋值</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>生成规则:setting.treeId + "_" + 内部计数</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 查看当前被选中的节点的 tId</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var tId = sNodes[0].tId;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.target.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.target.html
deleted file mode 100644
index 32ea106d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.target.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>target</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置点击节点后在何处打开 url。<span class="highlight_red">[treeNode.url 存在时有效]</span></p>
- <p>默认值:无</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>同超链接 target 属性: "_blank", "_self" 或 其他指定窗口名称 </p>
- <p>省略此属性,则默认为 "_blank"</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 设置点击某节点时,弹出新页面</h4>
- <pre xmlns=""><code>var nodes = [
- { "id":1, "name":"test1", "url":"http://myTest.com", "target":"_blank"},
- ......
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.url.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.url.html
deleted file mode 100644
index af1e0144..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.url.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>url</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>节点链接的目标 URL</p>
- <p class="highlight_red">1、编辑模式 (setting.edit.enable = true) 下此属性功能失效,如果必须使用类似功能,请利用 onClick 事件回调函数自行控制。</p>
- <p class="highlight_red">2、如果需要在 onClick 事件回调函数中进行跳转控制,那么请将 URL 地址保存在其他自定义的属性内,请勿使用 url</p>
- <p>默认值:无</p>
- </div>
- </div>
- <h3>String 格式说明</h3>
- <div class="desc">
- <p>同超链接 href 属性</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 设置某节点点击时,跳转到 g.cn</h4>
- <pre xmlns=""><code>var nodes = [
- { "id":1, "name":"Google CN", "url":"http://g.cn"},
- ......
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.zAsync.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.zAsync.html
deleted file mode 100644
index 0792485d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/treeNode.zAsync.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>zAsync</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>记录 treeNode 节点是否已经进行过异步加载,避免父节点反复异步加载数据。</p>
- <p class="highlight_red">初始化节点数据时,由 zTree 增加此属性,请勿提前赋值</p>
- <p class="highlight_red">默认值:false (无子节点的父节点); true (有子节点的父节点 & 叶子节点)</p>
- </div>
- </div>
- <h3>Boolean 格式说明</h3>
- <div class="desc">
- <p> true 表示父节点展开时不需要自动异步加载</p>
- <p> false 表示父节点展开时需要自动异步加载</p>
- <p class="highlight_red"> 此参数不会对 reAsyncChildNodes 方法造成任何影响</p>
- </div>
- <h3>treeNode 举例</h3>
- <h4>1. 查看当前被选中的节点是否节点是否需要自动异步加载</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var zAsync = sNodes[0].zAsync;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.addNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.addNodes.html
deleted file mode 100644
index 65899f41..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.addNodes.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(parentNode, newNodes, isSilent)</span><span class="path">zTreeObj.</span>addNodes</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>添加节点。</p>
- <p class="highlight_red">v3.x 为了避免原先反复初始化造成的数据重复问题,在 初始化 和 添加节点 时内部进行 clone 操作。如果需要获取数据在 zTree 内的对象,请获取此方法的返回值。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>parentNode</b><span>JSON</span></h4>
- <p>指定的父节点,如果增加根节点,请设置 parentNode 为 null 即可。</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>newNodes</b><span>JSON / Array(JSON)</span></h4>
- <p>需要增加的节点数据 JSON 对象集合,数据只需要满足 zTree 的节点数据必需的属性即可,详细请参考“treeNode 节点数据详解”</p>
- <p class="highlight_red">1、v3.x 支持单独添加一个节点,即如果只新增一个节点,不用必须包在数组中</p>
- <p class="highlight_red">2、使用简单数据模式,请参考 setting.data.simpleData 内的属性说明</p>
- <h4 class="topLine"><b>isSilent</b><span>Boolean</span></h4>
- <p>设定增加节点后是否自动展开父节点。</p>
- <p>isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。</p>
- <h4 class="topLine"><b>返回值</b><span>Array(JSON)</span></h4>
- <p>返回值是 zTree 最终添加的节点数据集合</p>
- <p class="highlight_red">如果 newNodes 是单个节点数据 JSON,返回值也是将其包在 Array 内</p>
- <p class="highlight_red">请务必记住:返回值中的数据对象 是 newNodes 被 clone 后的,所以绝对不相等!</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 对于 id = "tree" 的 zTree 增加 1 个根节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var newNode = {name:"newNode1"};
-newNode = treeObj.addNodes(null, newNode);
-</code></pre>
- <h4>2. 对于 id = "tree" 的 zTree 增加 3 个根节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var newNodes = [{name:"newNode1"}, {name:"newNode2"}, {name:"newNode3"}];
-newNodes = treeObj.addNodes(null, newNodes);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.cancelEditName.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.cancelEditName.html
deleted file mode 100644
index ea69cd10..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.cancelEditName.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(newName)</span><span class="path">zTreeObj.</span>cancelEditName</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>取消节点的编辑名称状态,可以恢复原名称,也可以强行赋给新的名称。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>newName</b><span>String</span></h4>
- <p>重新给定的新名称。</p>
- <p class="highlight_red">如果省略此参数,则恢复原名称。</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 取消 zTree 的编辑名称状态,恢复该节点原有名称</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.cancelEditName();
-</code></pre>
- <h4>2. 取消 zTree 的编辑名称状态,并且重新设定该节点名称</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.cancelEditName("test_new_name");
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.cancelSelectedNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.cancelSelectedNode.html
deleted file mode 100644
index b0d2e56b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.cancelSelectedNode.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode)</span><span class="path">zTreeObj.</span>cancelSelectedNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>取消节点的选中状态。</p>
- <p class="highlight_red">v3.x 支持多点同时选中,因此取消选中状态可以全部取消,也可以单独取消某个节点的选中状态。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>需要取消选中状态的节点。</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <p class="highlight_red">如果省略此参数,则将取消全部被选中节点的选中状态。</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 取消当前所有被选中节点的选中状态</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.cancelSelectedNode();
-</code></pre>
- <h4>2. 取消当前第一个被选中节点的选中状态</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNode();
-if (nodes.length>0) {
- treeObj.cancelSelectedNode(nodes[0]);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.checkAllNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.checkAllNodes.html
deleted file mode 100644
index de47eb94..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.checkAllNodes.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(checked)</span><span class="path">zTreeObj.</span>checkAllNodes</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>勾选 或 取消勾选 全部节点。<span class="highlight_red">[setting.check.enable = true 且 setting.check.chkStyle = "checkbox" 时有效]</span></p>
- <p class="highlight_red">此方法不会触发 beforeCheck / onCheck 事件回调函数。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>checked</b><span>Boolean</span></h4>
- <p>checked = true 表示勾选全部节点</p>
- <p>checked = false 表示全部节点取消勾选</p>
- <p class="highlight_red">不会影响 treeNode.nochecked = true 的节点。</p>
- <p class="highlight_red">不会影响未加载的节点。</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 勾选全部节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.checkAllNodes(true);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.checkNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.checkNode.html
deleted file mode 100644
index 4e2f7ee8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.checkNode.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode, checked, checkTypeFlag, callbackFlag)</span><span class="path">zTreeObj.</span>checkNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>勾选 或 取消勾选 单个节点。<span class="highlight_red">[setting.check.enable = true 时有效]</span></p>
- <p class="highlight_red">v3.x 中 checkNode() 方法可以触发 beforeCheck / onCheck 事件回调函数。便于减少冗余代码</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>需要勾选 或 取消勾选 的节点数据</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>checked</b><span>Boolean</span></h4>
- <p>checked = true 表示勾选节点</p>
- <p>checked = false 表示节点取消勾选</p>
- <p class="highlight_red">省略此参数,则根据对此节点的勾选状态进行 toggle 切换</p>
- <p class="highlight_red">不影响 treeNode.nochecked = true 的节点。</p>
- <h4 class="topLine"><b>checkTypeFlag</b><span>Boolean</span></h4>
- <p>checkTypeFlag = true 表示按照 setting.check.chkboxType 属性进行父子节点的勾选联动操作</p>
- <p>checkTypeFlag = false 表示只修改此节点勾选状态,无任何勾选联动操作</p>
- <p class="highlight_red">checkTypeFlag = false 且 treeNode.checked = checked 时,不会触发回调函数,直接返回</p>
- <p class="highlight_red">不影响父子节点中 treeNode.nochecked = true 的节点。</p>
- <h4 class="topLine"><b>callbackFlag</b><span>Boolean</span></h4>
- <p>callbackFlag = true 表示执行此方法时触发 beforeCheck & onCheck 事件回调函数</p>
- <p>callbackFlag = false 表示执行此方法时不触发事件回调函数</p>
- <p class="highlight_red">省略此参数,等同于 false</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 勾选当前选中的节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-for (var i=0, l=nodes.length; i < l; i++) {
- treeObj.checkNode(nodes[i], true, true);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.copyNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.copyNode.html
deleted file mode 100644
index 3cf50679..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.copyNode.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(targetNode, treeNode, moveType, isSilent)</span><span class="path">zTreeObj.</span>copyNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>复制节点。</p>
- <p class="highlight_red">v3.x 复制节点时进行 clone 操作。如果需要获取数据在 zTree 内的对象,请获取此方法的返回值。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>targetNode</b><span>JSON</span></h4>
- <p>要复制到的目标节点 JSON 数据</p>
- <p class="highlight_red">如果复制成为根节点,请设置 targetNode 为 null 即可</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要被复制的节点数据</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>moveType</b><span>String</span></h4>
- <p>复制到目标节点的相对位置</p>
- <p class="highlight_red">"inner":成为子节点,"prev":成为同级前一个节点,"next":成为同级后一个节点</p>
- <h4 class="topLine"><b>isSilent</b><span>Boolean</span></h4>
- <p>设定复制节点后是否自动展开父节点。</p>
- <p>isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。</p>
- <h4 class="topLine"><b>返回值</b><span>JSON</span></h4>
- <p>返回值是最终加入到 zTree 内的节点数据</p>
- <p class="highlight_red">请务必记住:返回值中的数据对象 是 treeNode 被 clone 后的,所以绝对不相等!</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 将根节点中第二个节点 复制成为 第一个节点的子节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.copyNode(nodes[0], nodes[1], "inner");
-</code></pre>
- <h4>2. 将根节点中第二个节点 复制成为 第一个节点的前一个节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.copyNode(nodes[0], nodes[1], "before");
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.destroy.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.destroy.html
deleted file mode 100644
index ff8df9a2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.destroy.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId)</span><span class="path">zTreeObj.</span>destroy</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>从 zTree v3.4 开始提供销毁 zTree 的方法。</p>
- <p>1、用此方法可以销毁 zTreeObj 代表的 zTree。</p>
- <p class="highlight_red">2、销毁当前页面全部的 zTree,也可以使用 $.fn.zTree.destroy() 方法。</p>
- <p class="highlight_red">3、重新使用已经被销毁的树,必须要使用 init 方法进行初始化。</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 销毁 id 为 "treeDemo" 的 zTree</h4>
- <pre xmlns=""><code>var zTreeObj = $.fn.zTree.getZTreeObj("treeDemo");
-zTreeObj.destroy();
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.editName.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.editName.html
deleted file mode 100644
index c560ac12..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.editName.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode)</span><span class="path">zTreeObj.</span>editName</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置某节点进入编辑名称状态。</p>
- <p class="highlight_red">1、如果需要用 js 取消编辑名称状态,请使用 cancelEditName(newName) 方法。</p>
- <p class="highlight_red">2、可利用此方法让当前正编辑的节点 input 输入框获取焦点。</p>
- <p class="highlight_red">3、请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>指定进入编辑名称状态的节点 JSON 数据</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 设置根节点第一个节点进入编辑名称状态</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.editName(nodes[0]);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.expandAll.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.expandAll.html
deleted file mode 100644
index f0ae8c71..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.expandAll.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(expandFlag)</span><span class="path">zTreeObj.</span>expandAll</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>展开 / 折叠 全部节点</p>
- <p class="highlight_red">此方法不会触发 beforeExpand / onExpand 和 beforeCollapse / onCollapse 事件回调函数。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>expandFlag</b><span>Boolean</span></h4>
- <p>expandFlag = true 表示 展开 全部节点</p>
- <p>expandFlag = false 表示 折叠 全部节点</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值表示最终实际操作情况</p>
- <p>true 表示 展开 全部节点</p>
- <p>false 表示 折叠 全部节点</p>
- <p>null 表示 不存在任何父节点</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 展开全部节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.expandAll(true);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.expandNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.expandNode.html
deleted file mode 100644
index e9312343..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.expandNode.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode, expandFlag, sonSign, focus, callbackFlag)</span><span class="path">zTreeObj.</span>expandNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>展开 / 折叠 指定的节点</p>
- <p class="highlight_red">v3.x 中执行此方法可以触发 beforeExpand / onExpand 或 beforeCollapse / onCollapse 事件回调函数。便于减少冗余代码</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>需要 展开 / 折叠 的节点数据</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>expandFlag</b><span>Boolean</span></h4>
- <p>expandFlag = true 表示 展开 节点</p>
- <p>expandFlag = false 表示 折叠 节点</p>
- <p class="highlight_red">省略此参数,则根据对此节点的展开状态进行 toggle 切换</p>
- <h4 class="topLine"><b>sonSign</b><span>Boolean</span></h4>
- <p>sonSign = true 表示 全部子孙节点 进行与 expandFlag 相同的操作</p>
- <p>sonSign = false 表示 只影响此节点,对于其 子孙节点无任何影响</p>
- <p class="highlight_red">sonSign = false 且 treeNode.open = expandFlag 时,不会触发回调函数,直接返回</p>
- <p class="highlight_red">省略此参数,等同于 false</p>
- <h4 class="topLine"><b>focus</b><span>Boolean</span></h4>
- <p>focus = true 表示 展开 / 折叠 操作后,通过设置焦点保证此焦点进入可视区域内</p>
- <p>focus = false 表示 展开 / 折叠 操作后,不设置任何焦点</p>
- <p class="highlight_red">省略此参数,等同于 true</p>
- <h4 class="topLine"><b>callbackFlag</b><span>Boolean</span></h4>
- <p>callbackFlag = true 表示执行此方法时触发 beforeExpand / onExpand 或 beforeCollapse / onCollapse 事件回调函数</p>
- <p>callbackFlag = false 表示执行此方法时不触发事件回调函数</p>
- <p class="highlight_red">省略此参数,等同于 false</p>
- <h4 class="topLine"><b>返回值</b><span>Boolean</span></h4>
- <p>返回值表示最终实际操作情况</p>
- <p>true 表示 展开 节点</p>
- <p>false 表示 折叠 节点</p>
- <p>null 表示 不是父节点</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 展开当前选择的第一个节点(包括其全部子节点)</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-if (nodes.length>0) {
- treeObj.expandNode(nodes[0], true, true, true);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getChangeCheckedNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getChangeCheckedNodes.html
deleted file mode 100644
index 51b5b1e3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getChangeCheckedNodes.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">zTreeObj.</span>getChangeCheckedNodes</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>获取输入框勾选状态被改变的节点集合(与原始数据 checkedOld 对比)。<span class="highlight_red">[setting.check.enable = true 时有效]</span></p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>返回值</b><span>Array(JSON)</span></h4>
- <p>返回全部勾选状态被改变的节点集合 Array</p>
- <p class="highlight_red">如果需要获取每次操作后全部被改变勾选状态的节点数据,请在每次勾选操作后,遍历所有被改变勾选状态的节点数据,让其 checkedOld = checked 就可以了。</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 获取当前勾选状态被改变的节点集合</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getChangeCheckedNodes();
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getCheckedNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getCheckedNodes.html
deleted file mode 100644
index a0fd92a8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getCheckedNodes.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(checked)</span><span class="path">zTreeObj.</span>getCheckedNodes</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>获取输入框被勾选 或 未勾选的节点集合。<span class="highlight_red">[setting.check.enable = true 时有效]</span></p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>checked</b><span>Boolean</span></h4>
- <p>checked = true 表示获取 被勾选 的节点集合</p>
- <p>checked = false 表示获取 未勾选 的节点集合</p>
- <p class="highlight_red">省略此参数,等同于 true。</p>
- <p class="highlight_red">对于 treeNode.nochecked = true 的节点不进行获取。</p>
- <h4 class="topLine"><b>返回值</b><span>Array(JSON)</span></h4>
- <p>返回全部符合要求的节点集合 Array</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 获取当前被勾选的节点集合</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getCheckedNodes(true);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodeByParam.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodeByParam.html
deleted file mode 100644
index 6ec7e517..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodeByParam.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(key, value, parentNode)</span><span class="path">zTreeObj.</span>getNodeByParam</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>根据节点数据的属性搜索,获取条件完全匹配的节点数据 JSON 对象</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>key</b><span>String</span></h4>
- <p>需要精确匹配的属性名称</p>
- <h4 class="topLine"><b>value</b><span>?</span></h4>
- <p>需要精确匹配的属性值,可以是任何类型,只要保证与 key 指定的属性值保持一致即可</p>
- <h4 class="topLine"><b>parentNode</b><span>JSON</span></h4>
- <p>搜索范围,指定在某个父节点下的子节点中进行搜索</p>
- <p class="highlight_red">忽略此参数,表示在全部节点中搜索</p>
- <h4 class="topLine"><b>返回值</b><span>JSON</span></h4>
- <p>匹配精确搜索的节点数据</p>
- <p class="highlight_red">1、如无结果,返回 null</p>
- <p class="highlight_red">2、如有多个节点满足查询条件,只返回第一个匹配到的节点</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 查找 id = 1 的节点数据</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var node = treeObj.getNodeByParam("id", 1, null);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodeByTId.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodeByTId.html
deleted file mode 100644
index 5b631f2a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodeByTId.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(tId)</span><span class="path">zTreeObj.</span>getNodeByTId</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>根据 zTree 的唯一标识 tId 快速获取节点 JSON 数据对象</p>
- <p class="highlight_red">通过内部的 cache 获取,不需要遍历节点。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>tId</b><span>String</span></h4>
- <p>节点在 zTree 内的唯一标识 tId</p>
- <h4 class="topLine"><b>返回值</b><span>JSON</span></h4>
- <p>tId 对应的节点 JSON 数据对象</p>
- <p class="highlight_red">如无结果,返回 null</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 获取 tId = "tree_10" 的节点数据</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var node = treeObj.getNodeByTId("tree_10");
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodeIndex.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodeIndex.html
deleted file mode 100644
index 177dc0f1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodeIndex.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode)</span><span class="path">zTreeObj.</span>getNodeIndex</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>获取某节点在同级节点中的序号(从0开始)</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>需要查询顺序的节点 JSON 数据对象</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Number</span></h4>
- <p class="highlight_red">返回值从 0 开始计数</p>
- <p class="highlight_red">如果不存在该节点数据,返回 -1</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 获取当前选中的第一个节点在同级节点中的序号</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-if (nodes.length>0) {
- var index = treeObj.getNodeIndex(nodes[0]);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodes.html
deleted file mode 100644
index af1571a6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodes.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">zTreeObj.</span>getNodes</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>获取 zTree 的全部节点数据</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>返回值</b><span>Array(JSON)</span></h4>
- <p>全部节点数据</p>
- <p class="highlight_red">1、Array 仅仅是根节点的集合(默认情况子节点都处于 children 属性下); </p>
- <p class="highlight_red">2、如需遍历全部节点需要利用递归,或利用 transformToArray 方法 将数据变成简单的 Array 集合</p>
- <p class="highlight_red">3、对于异步加载模式下,尚未加载的子节点是无法通过此方法获取的。</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 获取全部节点数据</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodesByFilter.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodesByFilter.html
deleted file mode 100644
index e8b6f1b9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodesByFilter.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(filter, isSingle, parentNode, invokeParam)</span><span class="path">zTreeObj.</span>getNodesByFilter</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>根据自定义规则搜索节点数据 JSON 对象集合 或 单个节点数据</p>
- <p class="highlight_red">可自定义复杂的搜索规则</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>filter</b><span>Function</span></h4>
- <p>自定义过滤器函数 function filter(node) {...}</p>
- <p>filter 参数:node (节点数据 JSON)</p>
- <p>filter 返回值:boolean (true 表示符合搜索条件;false 表示不符合搜索条件)</p>
- <h4 class="topLine"><b>isSingle</b><span>Boolean</span></h4>
- <p>isSingle = true 表示只查找单个节点</p>
- <p>isSingle = false 表示查找节点集合</p>
- <p class="highlight_red">忽略此参数,表示查找节点集合</p>
- <h4 class="topLine"><b>parentNode</b><span>JSON</span></h4>
- <p>可以指定在某个父节点下的子节点中搜索</p>
- <p class="highlight_red">忽略此参数,表示在全部节点中搜索</p>
- <h4 class="topLine"><b>invokeParam</b><span>任意类型</span></h4>
- <p>用户自定义的数据对象,用于 filter 中进行计算</p>
- <h4 class="topLine"><b>返回值</b><span>Array(JSON) / JSON</span></h4>
- <p>isSingle = true 返回 第一个找到的节点数据 JSON,无结果时返回 null</p>
- <p>isSingle = false 返回 节点数据集合 Array(JSON),无结果时返回 [ ]</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 查找 level = 2 & name 中包含 "test" 的节点数据</h4>
- <pre xmlns=""><code>function filter(node) {
- return (node.level == 2 && node.name.indexOf("test")>-1);
-}
-......
-var treeObj = $.fn.zTree.getZTreeObj("tree");
-var node = treeObj.getNodesByFilter(filter, true); // 仅查找一个节点
-var nodes = treeObj.getNodesByFilter(filter); // 查找节点集合
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodesByParam.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodesByParam.html
deleted file mode 100644
index 1cdfe158..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodesByParam.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(key, value, parentNode)</span><span class="path">zTreeObj.</span>getNodesByParam</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>根据节点数据的属性搜索,获取条件完全匹配的节点数据 JSON 对象集合</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>key</b><span>String</span></h4>
- <p>需要精确匹配的属性名称</p>
- <h4 class="topLine"><b>value</b><span>?</span></h4>
- <p>需要精确匹配的属性值,可以是任何类型,只要保证与 key 指定的属性值保持一致即可</p>
- <h4 class="topLine"><b>parentNode</b><span>JSON</span></h4>
- <p>可以指定在某个父节点下的子节点中搜索</p>
- <p class="highlight_red">忽略此参数,表示在全部节点中搜索</p>
- <h4 class="topLine"><b>返回值</b><span>Array(JSON)</span></h4>
- <p>匹配精确搜索的节点数据集合</p>
- <p class="highlight_red">如无结果,返回 [ ]</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 查找 name = "test" 的节点数据</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodesByParam("name", "test", null);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodesByParamFuzzy.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodesByParamFuzzy.html
deleted file mode 100644
index a3d2b837..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getNodesByParamFuzzy.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(key, value, parentNode)</span><span class="path">zTreeObj.</span>getNodesByParamFuzzy</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>根据节点数据的属性搜索,获取条件模糊匹配的节点数据 JSON 对象集合</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>key</b><span>String</span></h4>
- <p>需要模糊匹配的属性名称</p>
- <h4 class="topLine"><b>value</b><span>String</span></h4>
- <p>需要模糊匹配的属性值</p>
- <p class="highlight_red">模糊匹配只能针对 String 类型的数据</p>
- <h4 class="topLine"><b>parentNode</b><span>JSON</span></h4>
- <p>可以指定在某个父节点下的子节点中搜索</p>
- <p class="highlight_red">忽略此参数,表示在全部节点中搜索</p>
- <h4 class="topLine"><b>返回值</b><span>Array(JSON)</span></h4>
- <p>匹配模糊搜索的节点数据集合</p>
- <p class="highlight_red">如无结果,返回 [ ]</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 查找 name 包含 "test" 的节点数据</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodesByParamFuzzy("name", "test", null);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getSelectedNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getSelectedNodes.html
deleted file mode 100644
index 00f9c434..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.getSelectedNodes.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">zTreeObj.</span>getSelectedNodes</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>获取 zTree 当前被选中的节点数据集合</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>返回值</b><span>Array(JSON)</span></h4>
- <p>当前被选中的节点数据集合</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 获取当前被选中的节点数据集合</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.hideNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.hideNode.html
deleted file mode 100644
index 906be996..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.hideNode.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode)</span><span class="path">zTreeObj.</span>hideNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exhide</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>隐藏某个节点。</p>
- <p class="highlight_red">1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。</p>
- <p class="highlight_red">2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。</p>
- <p class="highlight_red">3、请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>指定被隐藏的节点 JSON 数据</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 隐藏根节点第一个节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.hideNode(nodes[0]);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.hideNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.hideNodes.html
deleted file mode 100644
index ead34488..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.hideNodes.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNodes)</span><span class="path">zTreeObj.</span>hideNodes</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exhide</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>隐藏一批节点。</p>
- <p class="highlight_red">1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。</p>
- <p class="highlight_red">2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。</p>
- <p class="highlight_red">3、请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>指定被隐藏的节点 JSON 数据集合</p>
- <p class="highlight_red">请务必保证这些节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 隐藏根节点第一个节点的子节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.hideNodes(nodes[0].children);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.moveNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.moveNode.html
deleted file mode 100644
index 5418792c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.moveNode.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(targetNode, treeNode, moveType, isSilent)</span><span class="path">zTreeObj.</span>moveNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>移动节点。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>targetNode</b><span>JSON</span></h4>
- <p>要移动到的目标节点 JSON 数据</p>
- <p class="highlight_red">如果移动成为根节点,请设置 targetNode 为 null 即可</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>需要被移动的节点数据</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>moveType</b><span>String</span></h4>
- <p>指定移动到目标节点的相对位置</p>
- <p class="highlight_red">"inner":成为子节点,"prev":成为同级前一个节点,"next":成为同级后一个节点</p>
- <h4 class="topLine"><b>isSilent</b><span>Boolean</span></h4>
- <p>设定移动节点后是否自动展开父节点。</p>
- <p>isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。</p>
- <h4 class="topLine"><b>返回值</b><span>JSON</span></h4>
- <p>返回值是最终被移动的节点数据,正常情况下与 treeNode 参数完全相同</p>
- <p class="highlight_red">如果 返回值 为 null,说明 移动失败,主要原因有:<br/>
- &nbsp;1、targetNode 是 treeNode 父节点,且 moveType = "inner"<br/>
- &nbsp;2、targetNode 是 treeNode 子孙节点
- </p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 将根节点中第二个节点 移动成为 第一个节点的子节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.moveNode(nodes[0], nodes[1], "inner");
-</code></pre>
- <h4>2. 将根节点中第二个节点 移动成为 第一个节点的前一个节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.moveNode(nodes[0], nodes[1], "prev");
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.reAsyncChildNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.reAsyncChildNodes.html
deleted file mode 100644
index 2c38b7b9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.reAsyncChildNodes.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(parentNode, reloadType, isSilent)</span><span class="path">zTreeObj.</span>reAsyncChildNodes</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>强行异步加载父节点的子节点。<span class="highlight_red">[setting.async.enable = true 时有效]</span></p>
- <p class="highlight_red">已经加载过的父节点可反复使用此方法重新加载。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>parentNode</b><span>JSON</span></h4>
- <p>指定需要异步加载的父节点 JSON 数据</p>
- <p class="highlight_red">1、parentNode = null 时,相当于从根节点 Root 进行异步加载</p>
- <p class="highlight_red">2、parentNode.isParent = false 时,不进行异步加载</p>
- <p class="highlight_red">3、请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>reloadType</b><span>String</span></h4>
- <p>reloadType = "refresh" 表示清空后重新加载。</p>
- <p>reloadType != "refresh" 时,表示追加子节点处理。</p>
- <h4 class="topLine"><b>isSilent</b><span>Boolean</span></h4>
- <p>设定异步加载后是否自动展开父节点。</p>
- <p>isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 重新异步加载 zTree </h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.reAsyncChildNodes(null, "refresh");
-</code></pre>
- <h4>2. 重新异步加载当前选中的第一个节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-if (nodes.length>0) {
- treeObj.reAsyncChildNodes(nodes[0], "refresh");
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.refresh.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.refresh.html
deleted file mode 100644
index d072782b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.refresh.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">zTreeObj.</span>refresh</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>刷新 zTree 。</p>
- <p class="highlight_red">没有特殊必要,尽量不要使用此方法。单个节点更新请使用 updateNode 方法,异步加载模式下请使用 reAsyncChildNodes 方法。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 刷新 zTree </h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.refresh();
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.removeChildNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.removeChildNodes.html
deleted file mode 100644
index 0a40775c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.removeChildNodes.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(parentNode)</span><span class="path">zTreeObj.</span>removeChildNodes</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>清空某父节点的子节点。</p>
- <p class="highlight_red">1、清空子节点后,父节点会自动变为叶子节点,如需要父节点保持父节点状态,请设置 setting.data.keep.parent 属性。</p>
- <p class="highlight_red">2、请勿用此方法清空根节点,如果需要清空根节点,直接初始化 zTree,并且设置初始节点为 null 即可。</p>
- <p class="highlight_red">3、此方法不会触发任何事件回调函数。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>parentNode</b><span>JSON</span></h4>
- <p>需要清空子节点的父节点数据</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Array(JSON)</span></h4>
- <p>将该父节点的子节点数据返回,如果不存在则返回 null</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 清空选中的第一个节点的子节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-if (nodes && nodes.length>0) {
- treeObj.removeChildNodes(nodes[0]);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.removeNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.removeNode.html
deleted file mode 100644
index 62e216ce..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.removeNode.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode, callbackFlag)</span><span class="path">zTreeObj.</span>removeNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>删除节点。</p>
- <p class="highlight_red">v3.x 中删除节点可以触发 beforeRemove / onRemove 事件回调函数。便于减少冗余代码</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>需要被删除的节点数据</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>callbackFlag</b><span>Boolean</span></h4>
- <p>callbackFlag = true 表示执行此方法时触发 beforeRemove & onRemove 事件回调函数</p>
- <p>callbackFlag = false 表示执行此方法时不触发事件回调函数</p>
- <p class="highlight_red">省略此参数,等同于 false</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 删除所有选中的节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-for (var i=0, l=nodes.length; i < l; i++) {
- treeObj.removeNode(nodes[i]);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.selectNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.selectNode.html
deleted file mode 100644
index 948fe3ae..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.selectNode.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode, addFlag)</span><span class="path">zTreeObj.</span>selectNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>选中指定节点</p>
- <p class="highlight_red">v3.x 支持同时选中多个节点。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>需要被选中的节点数据</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>addFlag</b><span>Boolean</span></h4>
- <p>addFlag = true 表示追加选中,会出现多点同时被选中的情况</p>
- <p>addFlag = false 表示单独选中,原先被选中的节点会被取消选中状态</p>
- <p class="highlight_red">setting.view.selectedMulti = false 时,此参数无效,始终进行单独选中</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 单独选中根节点中第一个节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-if (nodes.length>0) {
- treeObj.selectNode(nodes[0]);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.setChkDisabled.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.setChkDisabled.html
deleted file mode 100644
index cd4399aa..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.setChkDisabled.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(node, disabled, inheritParent, inheritChildren)</span><span class="path">zTreeObj.</span>setChkDisabled</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>禁用 或 解禁 某个节点的 checkbox / radio <span class="highlight_red">[setting.check.enable = true 时有效]</span></p>
- <p class="highlight_red">1、节点的 checkbox / radio 被禁用后,无法勾选或取消勾选,但能够影响父节点的半选状态</p>
- <p class="highlight_red">2、请不要直接修改已加载节点的 treeNode.chkDisabled 属性。</p>
- <p class="highlight_red">3、请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>需要禁用 或 解禁 checkbox / radio 的节点数据</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>disabled</b><span>Boolean</span></h4>
- <p>disabled = true 表示禁用 checkbox / radio</p>
- <p>disabled = false 表示解禁 checkbox / radio</p>
- <p class="highlight_red">省略此参数,等同于 disabled = false </p>
- <p class="highlight_red">不影响 treeNode.nochecked = true 的节点。</p>
- <h4 class="topLine"><b>inheritParent</b><span>Boolean</span></h4>
- <p>inheritParent = true 表示全部父节点进行同样的操作</p>
- <p>inheritParent = false 表示不影响父节点</p>
- <p class="highlight_red">省略此参数,等同于 inheritParent = false </p>
- <h4 class="topLine"><b>inheritChildren</b><span>Boolean</span></h4>
- <p>inheritChildren = true 表示全部子节点进行同样的操作</p>
- <p>inheritChildren = false 表示不影响子节点</p>
- <p class="highlight_red">省略此参数,等同于 inheritChildren = false </p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 禁用当前选中的节点的 checkbox / radio</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-for (var i=0, l=nodes.length; i < l; i++) {
- treeObj.setChkDisabled(nodes[i], true);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.setEditable.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.setEditable.html
deleted file mode 100644
index 7fc73dca..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.setEditable.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(editable)</span><span class="path">zTreeObj.</span>setEditable</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>设置 zTree 进入 / 取消 编辑状态。</p>
- <p class="highlight_red">对于编辑状态的各种功能需要提前设置对应 setting 中的不同属性</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>editable</b><span>Boolean</span></h4>
- <p>true 表示进入 编辑状态</p>
- <p>false 表示取消 编辑状态</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 设置 zTree 进入编辑状态</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.setEditable(true);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.setting.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.setting.html
deleted file mode 100644
index 670f52f7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.setting.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>JSON</span><span class="path">zTreeObj.</span>setting</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree 对象使用的 setting 配置数据,详细请参考 “setting 配置详解”中的各个属性详细说明</p>
- <p class="highlight_red">v3.x 取消了原先操作 setting 的方法,让用户可以较自由的修改参数,但请注意,对于 zTree 初始化有影响的参数后期修改是不会起作用的,请对各个属性有较深入的了解以后再考虑进行修改。</p>
- </div>
- </div>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.showNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.showNode.html
deleted file mode 100644
index d7aca0a4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.showNode.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode)</span><span class="path">zTreeObj.</span>showNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exhide</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>显示某个被隐藏的节点。</p>
- <p class="highlight_red">1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。</p>
- <p class="highlight_red">2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。</p>
- <p class="highlight_red">3、请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>指定被显示的节点 JSON 数据</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 显示某个隐藏的节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var node = treeObj.getNodeByParam("isHidden", true);
-if (node) {
- treeObj.showNode(node);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.showNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.showNodes.html
deleted file mode 100644
index 0eb55fff..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.showNodes.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNodes)</span><span class="path">zTreeObj.</span>showNodes</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exhide</span> 扩展 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>显示一批已经被隐藏的节点。</p>
- <p class="highlight_red">1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。</p>
- <p class="highlight_red">2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。</p>
- <p class="highlight_red">3、请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>指定被显示的节点 JSON 数据集合</p>
- <p class="highlight_red">请务必保证这些节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 显示全部隐藏的节点</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodesByParam("isHidden", true);
-treeObj.showNodes(nodes);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.transformToArray.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.transformToArray.html
deleted file mode 100644
index 9f4bb0ca..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.transformToArray.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNodes)</span><span class="path">zTreeObj.</span>transformToArray</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>将 zTree 使用的标准 JSON 嵌套格式的数据转换为简单 Array 格式。(免去用户自行编写递归遍历全部节点的麻烦)</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNodes</b><span>Array(JSON) / JSON</span></h4>
- <p>需要被转换的 zTree 节点数据对象集合 或 某个单独节点的数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Array(JSON)</span></h4>
- <p>转换后的简单 Array 数据格式</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 将 zTree 节点数据转换为简单 Array 格式</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.transformToArray(treeObj.getNodes());
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.transformTozTreeNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.transformTozTreeNodes.html
deleted file mode 100644
index c33bdf27..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.transformTozTreeNodes.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(simpleNodes)</span><span class="path">zTreeObj.</span>transformTozTreeNodes</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>将简单 Array 格式数据转换为 zTree 使用的标准 JSON 嵌套数据格式。</p>
- <p class="highlight_red">使用此方法,请务必设置节点唯一标识属性名称 setting.data.simpleData.idKey 和 父节点唯一标识属性名称 setting.data.simpleData.pIdKey,并且让数据满足父子关系。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>simpleNodes</b><span>Array(JSON) / JSON</span></h4>
- <p>需要被转换的简单 Array 格式数据 或 某个单独的数据对象</p>
- <h4 class="topLine"><b>返回值</b><span>Array(JSON)</span></h4>
- <p>zTree 使用的标准数据,子节点都存在于父节点数据的 children 属性中</p>
- <p class="highlight_red">如果 simpleNodes 是一个 JSON 对象,则被简单封装成长度为 1 的数组。</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 将简单 Array 格式转换为zTree使用的标准格式</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- simpleData: {
- enable: true,
- idKey: "id",
- pIdKey: "pId",
- rootPId: 0,
- }
- }
-};
-var simpleNodes = [
- {"id":1, "pId":0, "name":"test1"},
- {"id":11, "pId":1, "name":"test11"},
- {"id":12, "pId":1, "name":"test12"},
- {"id":111, "pId":11, "name":"test111"}
-];
-var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.transformTozTreeNodes(simpleNodes);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.updateNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.updateNode.html
deleted file mode 100644
index 2b4041d8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/cn/zTreeObj.updateNode.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode, checkTypeFlag)</span><span class="path">zTreeObj.</span>updateNode</h2>
- <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>更新某节点数据,主要用于该节点显示属性的更新。</p>
- <p class="highlight_red">1、可针对 name、target、 url、icon、 iconSkin、checked、nocheck 等这几个用于显示效果的参数进行更新,其他用于 zTreeNodes 的参数请不要随意更新,对于展开节点,还请调用 expandNode方法,因此请勿随意修改 open 属性。</p>
- <p class="highlight_red">2、用此方法修改 checked 勾选状态不会触发 beforeCheck / onCheck 事件回调函数。</p>
- <p class="highlight_red">请通过 zTree 对象执行此方法。</p>
- </div>
- </div>
- <h3>Function 参数说明</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>指定需要更新的节点 JSON 数据</p>
- <p class="highlight_red">请务必保证此节点数据对象 是 zTree 内部的数据对象</p>
- <h4 class="topLine"><b>checkTypeFlag</b><span>Boolean</span></h4>
- <p>checkTypeFlag = true 表示按照 setting.check.chkboxType 属性进行父子节点的勾选联动操作</p>
- <p>checkTypeFlag = false 表示只修改此节点勾选状态,无任何勾选联动操作</p>
- <p class="highlight_red">当 setting.check.enable = true 且 setting.check.chkStyle = "checkbox" 时才有效</p>
- <p class="highlight_red">不影响父子节点中 treeNode.nochecked = true 的节点。</p>
- <h4 class="topLine"><b>返回值</b><span>无</span></h4>
- <p>目前无任何返回值</p>
- </div>
- <h3>function 举例</h3>
- <h4>1. 更新根节点中第一个节点的名称</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-if (nodes.length>0) {
- nodes[0].name = "test";
- treeObj.updateNode(nodes[0]);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree._z.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree._z.html
deleted file mode 100644
index e57cc6a3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree._z.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>JSON</span><span class="path">$.fn.zTree.</span>_z</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>All of the methods in zTree v3.x are available through the '$. fn.zTree._z' calls, open it for you to develop your own zTree plug-ins.</p>
- <p class="highlight_red">If you have no special requirements, please don't use this object, and don't modify the methods in this object.</p>
- </div>
- </div>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree.destroy.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree.destroy.html
deleted file mode 100644
index ba59ee96..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree.destroy.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId)</span><span class="path">$.fn.zTree.</span>destroy</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>From zTree v3.4, zTree support the method for destruction.</p>
- <p>1. This method can destroy the zTree with specify treeId, and can destroy all of the zTrees.</p>
- <p class="highlight_red">2. If you want to destory some one zTree, you can use the 'zTreeObj.destroy()' method.</p>
- <p class="highlight_red">3. If you want to use the tree which has been destroyed, you must use the 'init()' method at first.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier</p>
- <p class="highlight_red">If this parameter is omitted, then will destroy all of the zTrees.</p>
- <h4 class="topLine"><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. destroy the zTree which its id is 'treeDemo'</h4>
- <pre xmlns=""><code>$.fn.zTree.destroy("treeDemo");</code></pre>
- <h4>2. destroy all of the zTrees</h4>
- <pre xmlns=""><code>$.fn.zTree.destroy();</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree.getZTreeObj.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree.getZTreeObj.html
deleted file mode 100644
index 8137a272..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree.getZTreeObj.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId)</span><span class="path">$.fn.zTree.</span>getZTreeObj</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree v3.x specifically provide the method which can use the tree's Id to get zTree object.</p>
- <p class="highlight_red">Please initialize zTree first, then you can use this method.</p>
- <p>Users don't need to set the global variable to hold the zTree object, and all of the callback will return 'treeId' parameters, the user can always use this method to get the zTree object.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier</p>
- <h4 class="topLine"><b>Return </b><span>JSON</span></h4>
- <p>zTree object</p>
- <p>This object can provide the methods of operate the zTree</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Get the zTree object which id is 'tree'</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree.init.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree.init.html
deleted file mode 100644
index 9a7e949f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/fn.zTree.init.html
+++ /dev/null
@@ -1,75 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(obj, zSetting, zNodes)</span><span class="path">$.fn.zTree.</span>init</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The method which used to create zTree.</p>
- <p>1. The web page need to use W3C markup. For example: &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"&nbsp;&nbsp; &nbsp;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</p>
- <p>2. Need to load jquery-1.4.2.js or other higher versions.</p>
- <p>3. Need to load jquery-ztree.core-3.0.js. If you need to use the edit mode or checkbox / radio mode, you need to load jquery-ztree.exedit-3.0.js and jquery-ztree.excheck-3.0.js.</p>
- <p>4. Need to load zTreeStyle.css and image files</p>
- <p>5. If you need to use custom icons, please refer to the appropriate Demo.</p>
- <p>6. Note: You need to set zTree container's class name to "ztree". If you need to change, don't forget to modify the css file. If you need other special styles, can modify the css file to their own needs.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>object</b><span>jQuery Object</span></h4>
- <p>DOM Container for zTree</p>
- <h4 class="topLine"><b>zSetting</b><span>JSON</span></h4>
- <p>zTree's configuration data, please refer to "setting details" in the API Document.</p>
- <h4 class="topLine"><b>zNodes</b><span>Array(JSON) / JSON</span></h4>
- <p>zTree's node data, please refer to "treeNode data details" in the API Document.</p>
- <p class="highlight_red">1. zTree v3.x support to add single node, that is, if only to add one node, you can use JSON without using Array.</p>
- <p class="highlight_red">2. If you need asynchronous load root nodes, can be set to null or [ ]</p>
- <p class="highlight_red">3. If you use simple data mode, please refer to "setting.data.simpleData" in the API Document.</p>
- <h4 class="topLine"><b>Return </b><span>JSON</span></h4>
- <p>zTree object</p>
- <p>This object can provide the methods of operate the zTree</p>
- <p class="highlight_red">You can use $.fn.zTree.getZTreeObj method at any time to obtain.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. create a simple tree</h4>
- <pre xmlns=""><code>&lt;!DOCTYPE html&gt;
-&lt;HTML&gt;
- &lt;HEAD&gt;
- &lt;TITLE&gt; ZTREE DEMO &lt;/TITLE&gt;
- &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"&gt;
- &lt;link rel="stylesheet" href="zTreeStyle/zTreeStyle.css" type="text/css"&gt;
- &lt;script type="text/javascript" src="jquery-1.4.2.js"&gt;&lt;/script&gt;
- &lt;script type="text/javascript" src="jquery.ztree.core-3.5.js"&gt;&lt;/script&gt;
-&lt;!--
- &lt;script type="text/javascript" src="jquery.ztree.excheck-3.5.js"&gt;&lt;/script&gt;
- &lt;script type="text/javascript" src="jquery.ztree.exedit-3.5.js"&gt;&lt;/script&gt;
---&gt;
- &lt;SCRIPT type="text/javascript" &gt;
- var zTreeObj,
- setting = {
- view: {
- selectedMulti: false
- }
- },
- zTreeNodes = [
- {"name":"Site Map", open:true, children: [
- { "name":"google", "url":"http://www.google.com", "target":"_blank"},
- { "name":"baidu", "url":"http://baidu.com", "target":"_blank"},
- { "name":"sina", "url":"http://www.sina.com.cn", "target":"_blank"}
- ]
- }
- ];
-
- $(document).ready(function(){
- zTreeObj = $.fn.zTree.init($("#tree"), setting, zTreeNodes);
-
- });
- &lt;/SCRIPT&gt;
- &lt;/HEAD&gt;
-
-&lt;BODY&gt;
-&lt;ul id="tree" class="ztree" style="width:230px; overflow:auto;"&gt;&lt;/ul&gt;
- &lt;/BODY&gt;
-&lt;/HTML&gt;</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.autoParam.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.autoParam.html
deleted file mode 100644
index 83132893..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.autoParam.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Array(String)</span><span class="path">setting.async.</span>autoParam</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Required automatically submit the parameters about the properties of the parent node, when the asynchronous load. It is valid when <span class="highlight_red">[setting.async.enable = true]</span></p>
- <p>Default:[ ]</p>
- </div>
- </div>
- <h3>Array(String) Format</h3>
- <div class="desc">
- <p>1. Just save the attribute name of node to the array. For example: ["id", "name"]</p>
- <p>2. You can change the parameter name. For example: server only accepts "zId" -- ["id=zId"]</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. set auto commit 'id' attribute</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- url: "http://host/getNode.php",
- autoParam: ["id"]
- }
-};
-If have the parent node: {id:1, name:"test"}, When asynchronously load this parent node's child nodes, will be submitted parameters: id=1
-......</code></pre>
- <h4>2. set auto commit 'id' attribute, but parameter name is 'zId'</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- url: "http://host/getNode.php",
- autoParam: ["id=zId"]
- }
-};
-If have the parent node: {id:1, name:"test"}, When asynchronously load this parent node's child nodes, will be submitted parameters: zId=1
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.contentType.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.contentType.html
deleted file mode 100644
index c29942f0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.contentType.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.async.</span>contentType</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When Ajax sending data to the server, use this content-type. It is valid when <span class="highlight_red">[setting.async.enable = true]</span></p>
- <p>Default:"application/x-www-form-urlencoded"</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p> contentType = "application/x-www-form-urlencoded", means: the sending data format is "form" format.</p>
- <p> contentType = "application/json", means: the sending data format is "json" format. (for .Net)</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. set the sending data format to "json" format.</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- contentType: "application/json",
- url: "http://host/getNode.php",
- autoParam: ["id", "name"]
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.dataFilter.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.dataFilter.html
deleted file mode 100644
index fc59a6b6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.dataFilter.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, parentNode, responseData)</span><span class="path">setting.async.</span>dataFilter</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Function used to pre-process for the return data of Ajax. It is valid when <span class="highlight_red">[setting.async.enable = true]</span></p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>parentNode</b><span>JSON</span></h4>
- <p>Parent node's JSON data object</p>
- <p class="highlight_red">When asynchronously loading the root, the parentNode = null</p>
- <h4 class="topLine"><b>responseData</b><span>Array(JSON) / JSON / String</span></h4>
- <p>Ajax got Array (JSON) / JSON / String data objects</p>
- <p class="highlight_red">From v3.4, support the string with XML format.</p>
- <h4 class="topLine"><b>Return </b><span>Array(JSON) / JSON</span></h4>
- <p>The return value should be the JSON data structure which is supported by the zTree.</p>
- <p class="highlight_red">v3.x supports to load single node JSON data object.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. Modify the node name attribute which is ajax got.</h4>
- <pre xmlns=""><code>function ajaxDataFilter(treeId, parentNode, responseData) {
- if (responseData) {
- for(var i =0; i < responseData.length; i++) {
- responseData[i].name += "_filter";
- }
- }
- return responseData;
-};
-var setting = {
- async: {
- enable: true,
- url: "http://host/getNode.php",
- dataFilter: ajaxDataFilter
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.dataType.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.dataType.html
deleted file mode 100644
index 0a07cb83..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.dataType.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.async.</span>dataType</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The data type of Ajax. It is valid when <span class="highlight_red">[setting.async.enable = true]</span></p>
- <p>Default:"text"</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p> dataType = "text", It can meet most of the needs.</p>
- <p class="highlight_red">The 'dataType' in zTree and jQuery's ajax is same.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Set the dataType which ajax got is text.</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- dataType: "text",
- url: "http://host/getNode.php",
- autoParam: ["id", "name"]
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.enable.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.enable.html
deleted file mode 100644
index f834ba47..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.enable.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.async.</span>enable</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set zTree asynchronous loading mode is turned on or off.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true - turn on asynchronous loading mode</p>
- <p> false - turn off asynchronous loading mode</p>
- <p class="highlight_red">If set it is true, you must set attributes in setting.async</p>
- <p class="highlight_red">If you don't pass 'treeNodes' parameter when initialize zTree, the root nodes will get by ajax.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Turn on asynchronous loading mode</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- url: "http://host/getNode.php",
- autoParam: ["id", "name"]
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.otherParam.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.otherParam.html
deleted file mode 100644
index 4664e605..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.otherParam.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Array(String) / JSON</span><span class="path">setting.async.</span>otherParam</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The static parameters of the Ajax request. (key - value) It is valid when <span class="highlight_red">[setting.async.enable = true]</span></p>
- <p>Default: [ ]</p>
- </div>
- </div>
- <h3>Array(String) Format</h3>
- <div class="desc">
- <p>Can be empty array. e.g. [ ]. If set key, you must set value, e.g. [key, value]. ([key] or [key, value, key] is wrong!!)</p>
- </div>
- <h3>JSON Format</h3>
- <div class="desc">
- <p>Use JSON data format set the key-value. e.g. { key1:value1, key2:value2 }</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Use Array(String) Format</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- url: "http://host/getNode.php",
- otherParam: ["id", "1", "name", "test"]
- }
-};
-when zTree send ajax, the parameters will has: id=1&name=test</code></pre>
- <h4>2. Use JSON data Format</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- url: "http://host/getNode.php",
- otherParam: { "id":"1", "name":"test"}
- }
-};
-when zTree send ajax, the parameters will has: id=1&name=test</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.type.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.type.html
deleted file mode 100644
index 1d3064df..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.type.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.async.</span>type</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Http request mode in ajax. It is valid when <span class="highlight_red">[setting.async.enable = true]</span></p>
- <p>Defalut: "post"</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p> "post" - http request mode</p>
- <p> "get" - http request mode</p>
- <p class="highlight_red">The 'type' in zTree and jQuery's ajax is same.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Set http request mode is 'get'</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- type: "get",
- url: "http://host/getNode.php",
- autoParam: ["id", "name"]
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.url.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.url.html
deleted file mode 100644
index a194e5b7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.async.url.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String / Function(treeId, treeNode)</span><span class="path">setting.async.</span>url</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The URL to which the ajax request is sent. It is valid when <span class="highlight_red">[setting.async.enable = true]</span></p>
- <p>Default: ""</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>A url string(e.g. "http://www.domain.com"). Note: please ensure that the url can be loaded</p>
- <p class="highlight_red">Url can also take parameters, please note that transcode.</p>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>Parent node's JSON data object</p>
- <p class="highlight_red">When asynchronously loading the root, the treeNode = null</p>
- <h4 class="topLine"><b>Return </b><span>String</span></h4>
- <p>Return value is same as 'String Format'</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. set ajax url is "nodes.php"</h4>
- <pre xmlns=""><code>var setting = {
- async: {
- enable: true,
- url: "nodes.php",
- autoParam: ["id", "name"]
- }
-};
-......</code></pre>
- <h4>2. set ajax url is "function"</h4>
- <pre xmlns=""><code>function getAsyncUrl(treeId, treeNode) {
- return treeNode.isParent ? "nodes1.php" : "nodes2.php";
-};
-var setting = {
- async: {
- enable: true,
- url: getAsyncUrl,
- autoParam: ["id", "name"]
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeAsync.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeAsync.html
deleted file mode 100644
index 79557036..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeAsync.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeAsync</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event before zTree execute ajax, zTree based on return value to determine whether to execute ajax.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the parent node</p>
- <p class="highlight_red">When asynchronously loading the root, the treeNode = null</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, zTree will not execute ajax, and will not trigger the 'onAsyncSuccess / onAsyncError' callback.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. If the parent node's attribute 'id' is 1, zTree will not execute ajax.</h4>
- <pre xmlns=""><code>function zTreeBeforeAsync(treeId, treeNode) {
- return (treeNode.id !== 1);
-};
-var setting = {
- callback: {
- beforeAsync: zTreeBeforeAsync
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeCheck.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeCheck.html
deleted file mode 100644
index f5b2763b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeCheck.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeCheck</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event before check or uncheck node, zTree based on return value to determine whether to change check state.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which is checked or unchecked</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, zTree will not change check state, and will not trigger the 'onCheck' callback.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to change check state of all nodes, and keep the check state initialization</h4>
- <pre xmlns=""><code>function zTreeBeforeCheck(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeCheck: zTreeBeforeCheck
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeClick.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeClick.html
deleted file mode 100644
index 8a347e87..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeClick.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode, clickFlag)</span><span class="path">setting.callback.</span>beforeClick</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event before click node, zTree based on return value to determine whether to trigger the 'onClick' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which is clicked</p>
- <h4 class="topLine"><b>clickFlag</b><span>Number</span></h4>
- <p>Node is selected or deselected state, please see table below for details</p>
- <table width="100%" border="0" cellspacing="1" cellpadding="0">
- <thead><tr><td>clickFlag</td><td title="Whether to allow multi-select">selectedMulti</td><td title="Whether to press Ctrl-key or Cmd-key">autoCancelSelected<br/>&&<br/>event.ctrlKey / metaKey</td><td title="Node's selection state">isSelected</td><td>operate for selected</td></tr></thead>
- <tbody>
- <tr><td>1</td><td>true</td><td>false</td><td>false</td><td>node is selected (single)</td></tr>
- <tr><td>1</td><td>true</td><td>false</td><td>true</td><td>node is selected (single)</td></tr>
- <tr><td>2</td><td>true</td><td>true</td><td>false</td><td>node is selected (multi)</td></tr>
- <tr><td>0</td><td>true</td><td>true</td><td>true</td><td>node is deselected</td></tr>
- <tr><td>1</td><td>false</td><td>false</td><td>false</td><td>node is selected (single)</td></tr>
- <tr><td>1</td><td>false</td><td>false</td><td>true</td><td>node is selected (single)</td></tr>
- <tr><td>1</td><td>false</td><td>true</td><td>false</td><td>node is selected (single)</td></tr>
- <tr><td>0</td><td>false</td><td>true</td><td>true</td><td>node is deselected</td></tr>
- </tbody>
- </table>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, zTree will not change selected state, and will not trigger the 'onClick' callback.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disabled to click the node</h4>
- <pre xmlns=""><code>function zTreeBeforeClick(treeId, treeNode, clickFlag) {
- return (treeNode.id !== 1);
-};
-var setting = {
- callback: {
- beforeClick: zTreeBeforeClick
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeCollapse.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeCollapse.html
deleted file mode 100644
index 59fa4b3a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeCollapse.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeCollapse</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event before collapse node, zTree based on return value to determine whether to collapse node.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be collapsed</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, zTree will not collapse node, and will not trigger the 'onCollapse' callback.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disabled to collapse node which is expanded</h4>
- <pre xmlns=""><code>function zTreeBeforeCollapse(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeCollapse: zTreeBeforeCollapse
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDblClick.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDblClick.html
deleted file mode 100644
index 8dc258df..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDblClick.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeDblClick</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the dblclick event before the 'onDblClick' callback, zTree based on return value to determine whether to trigger the 'onDblClick' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which is double clicked</p>
- <p class="highlight_red">If the DOM which dblclicked isn't a node, it will return null.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, ztree will not trigger the 'onDblClick' callback, no effect on other operations.</p>
- <p class="highlight_red">This callback function does not affect the dblclick the parent node to auto expand, please refer to setting.view.dblClickExpand properties.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to trigger the 'onDblClick' callback</h4>
- <pre xmlns=""><code>function zTreeBeforeDblClick(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeDblClick: zTreeBeforeDblClick
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDrag.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDrag.html
deleted file mode 100644
index 887114bc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDrag.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNodes)</span><span class="path">setting.callback.</span>beforeDrag</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event before drag node, zTree based on return value to determine whether to start to drag node.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, the tree is what the treeNodes are belong to, easy for users to control.</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>A collection of the nodes which will be dragged</p>
- <p class="highlight_red">v3.x allows drag and drop multiple sibling nodes, so this parameter is modified to Array(JSON).</p>
- <p class="highlight_red">If the selected nodes aren't the sibling nodes, you can only drag one node which mouse over.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, zTree will stop drag, and will not trigger the 'onDrag / beforeDrop / onDrop' callback.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to drag all node</h4>
- <pre xmlns=""><code>function zTreeBeforeDrag(treeId, treeNodes) {
- return false;
-};
-var setting = {
- edit: {
- enable: true
- },
- callback: {
- beforeDrag: zTreeBeforeDrag
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDragOpen.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDragOpen.html
deleted file mode 100644
index b6476cfc..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDragOpen.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeDragOpen</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event when drag node to collapsed parent node, zTree based on return value to determine whether to auto expand parent node.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, the tree is what the treeNode(parent node) is belong to, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the parent node which will be auto expanded</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, zTree will not auto expand parent node.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to auto expand parent node.</h4>
- <pre xmlns=""><code>function zTreeBeforeDragOpen(treeId, treeNode) {
- return false;
-};
-var setting = {
- edit: {
- enable: true
- },
- callback: {
- beforeDragOpen: zTreeBeforeDragOpen
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDrop.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDrop.html
deleted file mode 100644
index 79a602c2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeDrop.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNodes, targetNode, moveType, isCopy)</span><span class="path">setting.callback.</span>beforeDrop</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event before drag-drop node, zTree based on return value to determine whether to allow drag-drop node.</p>
- <p>Default: null</p>
- <p class="highlight_red">When drop the nodes, if the dragged nodes is not in a valid location, this callback will not triggered, and will restore the original position.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, the tree is what the targetNode is belong to, easy for users to control.</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>A collection of the nodes which has been dragged</p>
- <p class="highlight_red">The treeNodes are the data of the nodes which has been dragged, when copy nodes or move nodes.</p>
- <h4 class="topLine"><b>targetNode</b><span>JSON</span></h4>
- <p>JSON data object of the target node which treeNodes are drag-dropped.</p>
- <p class="highlight_red">If the treeNodes will be root node, the targetNode = null</p>
- <h4 class="topLine"><b>moveType</b><span>String</span></h4>
- <p>the relative position of move to the target node</p>
- <p class="highlight_red">"inner": will be child of targetNode</p>
- <p class="highlight_red">"prev": will be sibling node, and be in front of targetNode</p>
- <p class="highlight_red">"next": will be sibling node, and be behind targetNode</p>
- <h4 class="topLine"><b>isCopy</b><span>Boolean</span></h4>
- <p>the flag used to judge copy node or move node</p>
- <p class="highlight_red">true: copy node; false: move node</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, zTree will restore the dragged nodes, and will not trigger the 'onDrop' callback.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to drag nodes to root</h4>
- <pre xmlns=""><code>function zTreeBeforeDrop(treeId, treeNodes, targetNode, moveType) {
- return !(targetNode == null || (moveType != "inner" && !targetNode.parentTId));
-};
-var setting = {
- edit: {
- enable: true
- },
- callback: {
- beforeDrop: zTreeBeforeDrop
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeEditName.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeEditName.html
deleted file mode 100644
index d1d2b063..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeEditName.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeEditName</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event before click edit button, zTree based on return value to determine whether to allow to edit the name.</p>
- <p class="highlight_red">This callback is used to capture the event which edit button is clicked, then trigger the custom editing operation.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be edited name.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, the node will not be able to edit the name.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to edit the parent node's name</h4>
- <pre xmlns=""><code>function zTreeBeforeEditName(treeId, treeNode) {
- return !treeNode.isParent;
-}
-var setting = {
- edit: {
- enable: true
- },
- callback: {
- beforeEditName: zTreeBeforeEditName
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeExpand.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeExpand.html
deleted file mode 100644
index 2bd43595..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeExpand.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeExpand</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event before expand node, zTree based on return value to determine whether to expand node.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be expanded</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, zTree will not expand node, and will not trigger the 'onExpand' callback.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disabled to expand node which is collapsed</h4>
- <pre xmlns=""><code>function zTreeBeforeExpand(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeExpand: zTreeBeforeExpand
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeMouseDown.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeMouseDown.html
deleted file mode 100644
index 60365d4a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeMouseDown.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeMouseDown</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the mousedown event before the 'onMouseDown' callback, zTree based on return value to determine whether to trigger the 'onMouseDown' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which mouse over</p>
- <p class="highlight_red">If the DOM which mouse over isn't a node, it will return null.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, zTree will not trigger the 'onMouseDown' callback, no effect on other operations.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to trigger the 'onMouseDown' callback</h4>
- <pre xmlns=""><code>function zTreeBeforeMouseDown(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeMouseDown: zTreeBeforeMouseDown
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeMouseUp.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeMouseUp.html
deleted file mode 100644
index 4a4f4cd7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeMouseUp.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeMouseUp</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the mouseup event before the 'onMouseUp' callback, zTree based on return value to determine whether to trigger the 'onMouseUp' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which mouse over</p>
- <p class="highlight_red">If the DOM which mouse over isn't a node, it will return null.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, zTree will not trigger the 'onMouseUp' callback, no effect on other operations.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to trigger the 'onMouseUp' callback</h4>
- <pre xmlns=""><code>function zTreeBeforeMouseUp(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeMouseUp: zTreeBeforeMouseUp
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeRemove.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeRemove.html
deleted file mode 100644
index 4ca015d5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeRemove.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeRemove</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event before remove node, zTree based on return value to determine whether to allow to remove node.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be removed.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, zTree will not remove node, and will not trigger the 'onRemove' callback.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to remove node</h4>
- <pre xmlns=""><code>function zTreeBeforeRemove(treeId, treeNode) {
- return false;
-}
-var setting = {
- edit: {
- enable: true
- },
- callback: {
- beforeRemove: zTreeBeforeRemove
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeRename.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeRename.html
deleted file mode 100644
index 88e44f34..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeRename.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode, newName, isCancel)</span><span class="path">setting.callback.</span>beforeRename</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event before rename(when input DOM blur or press Enter Key), zTree based on return value to determine whether to allow to rename node.</p>
- <p class="highlight_red">When node is editing name, press the ESC key to restore the original name and stop edit name.</p>
- <p class="highlight_red">From v3.5.13, zTree will trigger this callback when user cancel edit name. please see 'isCancel' parameter.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be rename.</p>
- <h4 class="topLine"><b>newName</b><span>String</span></h4>
- <p>the new name</p>
- <h4 class="topLine"><b>isCancel</b><span>Boolean</span></h4>
- <p>the status about cancel edit name (v3.5.13+)</p>
- <p class="highlight_red">isCancel = true means: user cancel edit name. (press ESC or use cancelEditName() function)</p>
- <p class="highlight_red">isCancel = false means: user submit edit name.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, the treeNode will keep the editing name, don't trigger the 'onRename' callback, and will ignore other enents, until the callback return true.</p>
- <p class="highlight_red">If returns false, zTree will not set the input box to get focus to avoid the warning message which led to repeated triggering ‘beforeRename’ callback. Please use editName() method to set the input box to get focus when user close the warning message.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. the length of the new name can't less than 5</h4>
- <pre xmlns=""><code>function zTreeBeforeRename(treeId, treeNode, newName, isCancel) {
- return newName.length > 5;
-}
-var setting = {
- edit: {
- enable: true
- },
- callback: {
- beforeRename: zTreeBeforeRename
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeRightClick.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeRightClick.html
deleted file mode 100644
index 9ee73876..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.beforeRightClick.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.callback.</span>beforeRightClick</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the right click event before the 'onRightClick' callback, zTree based on return value to determine whether to trigger the 'onRightClick' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which is mouse right clicked</p>
- <p class="highlight_red">If the DOM which mouse right clicked isn't a node, it will return null.</p>
- <h4 class="topLine"><b>Return</b><span>Boolean</span></h4>
- <p>return true or false</p>
- <p class="highlight_red">If return false, ztree will not trigger the 'onRightClick' callback, no effect on other operations.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to trigger the 'onRightClick' callback</h4>
- <pre xmlns=""><code>function zTreeBeforeRightClick(treeId, treeNode) {
- return false;
-};
-var setting = {
- callback: {
- beforeRightClick: zTreeBeforeRightClick
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onAsyncError.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onAsyncError.html
deleted file mode 100644
index b2aaad0b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onAsyncError.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span class="path">setting.callback.</span>onAsyncError</h2>
- <h2><span>Function(event, treeId, treeNode, XMLHttpRequest, textStatus, errorThrown)</span>&nbsp;</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the error event when execute ajax.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeAsync',and return false, zTree will not execute ajax, and will not trigger the 'onAsyncSuccess / onAsyncError' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the parent node</p>
- <p class="highlight_red">When load root nodes, treeNode = null</p>
- <h4 class="topLine"><b>XMLHttpRequest</b><span>String</span></h4>
- <p>XMLHttpRequest Object, please refer to JQuery API documentation.</p>
- <h4 class="topLine"><b>textStatus</b><span>String</span></h4>
- <p>a string categorizing the status of the request("success", "error"...), please refer to JQuery API documentation.</p>
- <h4 class="topLine"><b>errorThrown</b><span>String</span></h4>
- <p>eWhen an HTTP error occurs, errorThrown receives the textual portion of the HTTP status, please refer to JQuery API documentation.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When execute ajax make error, alert message.</h4>
- <pre xmlns=""><code>function zTreeOnAsyncError(event, treeId, treeNode, XMLHttpRequest, textStatus, errorThrown) {
- alert(XMLHttpRequest);
-};
-var setting = {
- callback: {
- onAsyncError: zTreeOnAsyncError
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onAsyncSuccess.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onAsyncSuccess.html
deleted file mode 100644
index 0f281dd4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onAsyncSuccess.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode, msg)</span><span class="path">setting.callback.</span>onAsyncSuccess</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the complete success event when execute ajax.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeAsync',and return false, zTree will not execute ajax, and will not trigger the 'onAsyncSuccess / onAsyncError' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the parent node</p>
- <p class="highlight_red">When load root nodes, treeNode = null</p>
- <h4 class="topLine"><b>msg</b><span>String / Object</span></h4>
- <p>The actualnode data which got by ajax. User-friendly debugging.</p>
- <p class="highlight_red">The actual data's type of msg is affected by 'setting.async.dataType', please refer to JQuery API documentation.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When execute ajax complete success, alert message.</h4>
- <pre xmlns=""><code>function zTreeOnAsyncSuccess(event, treeId, treeNode, msg) {
- alert(msg);
-};
-var setting = {
- callback: {
- onAsyncSuccess: zTreeOnAsyncSuccess
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onCheck.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onCheck.html
deleted file mode 100644
index c6ce620a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onCheck.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onCheck</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the check or uncheck event when check or uncheck the checkbox and radio.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeCheck',and return false, zTree will not change check state, and will not trigger the 'onCheck' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which is checked or unchecked</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When check or uncheck the checkbox and radio, alert info about 'tId' and 'name' and 'checked'.</h4>
- <pre xmlns=""><code>function zTreeOnCheck(event, treeId, treeNode) {
- alert(treeNode.tId + ", " + treeNode.name + "," + treeNode.checked);
-};
-var setting = {
- callback: {
- onCheck: zTreeOnCheck
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onClick.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onClick.html
deleted file mode 100644
index 28649ad1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onClick.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode, clickFlag)</span><span class="path">setting.callback.</span>onClick</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the click event when click node.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeClick',and return false, zTree will not change selected state, and will not trigger the 'onClick' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which is clicked</p>
- <h4 class="topLine"><b>clickFlag</b><span>Number</span></h4>
- <p>Node is selected or deselected state, please see table below for details</p>
- <table width="100%" border="0" cellspacing="1" cellpadding="0">
- <thead><tr><td>clickFlag</td><td title="Whether to allow multi-select">selectedMulti</td><td title="Whether to press Ctrl-key or Cmd-key">autoCancelSelected<br/>&&<br/>event.ctrlKey / metaKey</td><td title="Node's selection state">isSelected</td><td>operate for selected</td></tr></thead>
- <tbody>
- <tr><td>1</td><td>true</td><td>false</td><td>false</td><td>node is selected (single)</td></tr>
- <tr><td>1</td><td>true</td><td>false</td><td>true</td><td>node is selected (single)</td></tr>
- <tr><td>2</td><td>true</td><td>true</td><td>false</td><td>node is selected (multi)</td></tr>
- <tr><td>0</td><td>true</td><td>true</td><td>true</td><td>node is deselected</td></tr>
- <tr><td>1</td><td>false</td><td>false</td><td>false</td><td>node is selected (single)</td></tr>
- <tr><td>1</td><td>false</td><td>false</td><td>true</td><td>node is selected (single)</td></tr>
- <tr><td>1</td><td>false</td><td>true</td><td>false</td><td>node is selected (single)</td></tr>
- <tr><td>0</td><td>false</td><td>true</td><td>true</td><td>node is deselected</td></tr>
- </tbody>
- </table>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When click node, alert info about 'tId' and 'name'.</h4>
- <pre xmlns=""><code>function zTreeOnClick(event, treeId, treeNode) {
- alert(treeNode.tId + ", " + treeNode.name);
-};
-var setting = {
- callback: {
- onClick: zTreeOnClick
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onCollapse.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onCollapse.html
deleted file mode 100644
index 2ae093a9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onCollapse.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onCollapse</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event when collapse node.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeCollapse',and return false, zTree will not collapse node, and will not trigger the 'onCollapse' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be collapsed</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When collapse node, alert info about 'tId' and 'name'.</h4>
- <pre xmlns=""><code>function zTreeOnCollapse(event, treeId, treeNode) {
- alert(treeNode.tId + ", " + treeNode.name);
-};
-var setting = {
- callback: {
- onCollapse: zTreeOnCollapse
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDblClick.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDblClick.html
deleted file mode 100644
index ceeaa1bb..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDblClick.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onDblClick</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the dblclick event when double click node.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeDblClick',and return false, zTree will not trigger the 'onDblClick' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which is double clicked</p>
- <p class="highlight_red">If the DOM which dblclicked isn't a node, it will return null.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When double click node, alert info about 'tId' and 'name'.</h4>
- <pre xmlns=""><code>function zTreeOnDblClick(event, treeId, treeNode) {
- alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
-};
-var setting = {
- callback: {
- onDblClick: zTreeOnDblClick
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDrag.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDrag.html
deleted file mode 100644
index 76ee2e2f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDrag.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNodes)</span><span class="path">setting.callback.</span>onDrag</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the drag event when drag node.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeDrag',and return false, zTree will stop drag, and will not trigger the 'onDragMove' & 'onDrag' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, the tree is what the treeNodes are belong to, easy for users to control.</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>A collection of the nodes which will be dragged</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When drag nodes, alert the number of dragged nodes.</h4>
- <pre xmlns=""><code>function zTreeOnDrag(event, treeId, treeNodes) {
- alert(treeNodes.length);
-};
-var setting = {
- callback: {
- onDrag: zTreeOnDrag
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDragMove.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDragMove.html
deleted file mode 100644
index dcc5031f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDragMove.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNodes)</span><span class="path">setting.callback.</span>onDragMove</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the drag-move event when drag & drop node.</p>
- <p class="highlight_red">Mainly used to capture the DOM which the nodes was drag in. </p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, the tree is what the treeNodes are belong to, easy for users to control.</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>A collection of the nodes which will be dragged</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When drag nodes, output the target dom.</h4>
- <pre xmlns=""><code>function zTreeOnDragMove(event, treeId, treeNodes) {
- console.log(event.target);
-};
-var setting = {
- callback: {
- onDragMove: zTreeOnDragMove
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDrop.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDrop.html
deleted file mode 100644
index 229b6ab2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onDrop.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNodes, targetNode, moveType, isCopy)</span><span class="path">setting.callback.</span>onDrop</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the drop event when drag-drop node.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeDrop',and return false, zTree will restore the dragged nodes, and will not trigger the 'onDrop' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, the tree is what the targetNode is belong to, easy for users to control.</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>A collection of the nodes which has been dragged</p>
- <p class="highlight_red">The treeNodes are the data of the nodes which be dragged, when move nodes.</p>
- <p class="highlight_red">The treeNodes are the clone data of the nodes which be dragged, when copy nodes.</p>
- <h4 class="topLine"><b>targetNode</b><span>JSON</span></h4>
- <p>JSON data object of the target node which treeNodes are drag-dropped.</p>
- <p class="highlight_red">If the treeNodes will be root node, the targetNode = null</p>
- <h4 class="topLine"><b>moveType</b><span>String</span></h4>
- <p>the relative position of move to the target node</p>
- <p class="highlight_red">"inner": will be child of targetNode</p>
- <p class="highlight_red">"prev": will be sibling node, and be in front of targetNode</p>
- <p class="highlight_red">"next": will be sibling node, and be behind targetNode</p>
- <p class="highlight_red">If moveType is null, means drag & drop is cancel.</p>
- <h4 class="topLine"><b>isCopy</b><span>Boolean</span></h4>
- <p>the flag used to judge copy node or move node</p>
- <p class="highlight_red">true: copy node; false: move node</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When drag-drop nodes complete, alert the number of dragged nodes and info about targetNode.</h4>
- <pre xmlns=""><code>function zTreeOnDrop(event, treeId, treeNodes, targetNode, moveType) {
- alert(treeNodes.length + "," + (targetNode ? (targetNode.tId + ", " + targetNode.name) : "isRoot" ));
-};
-var setting = {
- callback: {
- onDrop: zTreeOnDrop
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onExpand.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onExpand.html
deleted file mode 100644
index d375f6f4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onExpand.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onExpand</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event when expand node.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeExpand',and return false, zTree will not expand node, and will not trigger the 'onExpand' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be expanded</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When expand node, alert info about 'tId' and 'name'.</h4>
- <pre xmlns=""><code>function zTreeOnExpand(event, treeId, treeNode) {
- alert(treeNode.tId + ", " + treeNode.name);
-};
-var setting = {
- callback: {
- onExpand: zTreeOnExpand
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onMouseDown.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onMouseDown.html
deleted file mode 100644
index cf94216a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onMouseDown.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onMouseDown</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event when mouse down.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeMouseDown',and return false, zTree will not trigger the 'onMouseDown' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which mouse over</p>
- <p class="highlight_red">If the DOM which mouse over isn't a node, it will return null.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When mouse down, alert info about 'tId' and 'name'.</h4>
- <pre xmlns=""><code>function zTreeOnMouseDown(event, treeId, treeNode) {
- alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
-};
-var setting = {
- callback: {
- onMouseDown: zTreeOnMouseDown
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onMouseUp.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onMouseUp.html
deleted file mode 100644
index 2c0348a9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onMouseUp.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onMouseUp</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event when mouse up.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeMouseUp',and return false, zTree will not trigger the 'onMouseUp' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which mouse over</p>
- <p class="highlight_red">If the DOM which mouse over isn't a node, it will return null.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When mouse up, alert info about 'tId' and 'name'.</h4>
- <pre xmlns=""><code>function zTreeOnMouseUp(event, treeId, treeNode) {
- alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
-};
-var setting = {
- callback: {
- onMouseUp: zTreeOnMouseUp
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onNodeCreated.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onNodeCreated.html
deleted file mode 100644
index a60768d6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onNodeCreated.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onNodeCreated</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event when node's DOM is created.</p>
- <p class="highlight_red">Because v3.x uses lazy loading technology, so the nodes which doesn't create DOM when initialized will not trigger this callback, until its parent node is expanded.</p>
- <p class="highlight_red">Large amount of data to load, please note: do not set onNodeCreated, can improve performance as when initialized.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which DOM is created</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When node's DOM is created, alert info about 'tId' and 'name'.</h4>
- <pre xmlns=""><code>function zTreeOnNodeCreated(event, treeId, treeNode) {
- alert(treeNode.tId + ", " + treeNode.name);
-};
-var setting = {
- callback: {
- onNodeCreated: zTreeOnNodeCreated
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onRemove.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onRemove.html
deleted file mode 100644
index 5a520493..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onRemove.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onRemove</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event when remove node.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeRemove',and return false, zTree will not remove node, and will not trigger the 'onRemove' callback.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which was removed.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When remove node, alert info about 'tId' and 'name'.</h4>
- <pre xmlns=""><code>function zTreeOnRemove(event, treeId, treeNode) {
- alert(treeNode.tId + ", " + treeNode.name);
-}
-var setting = {
- callback: {
- onRemove: zTreeOnRemove
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onRename.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onRename.html
deleted file mode 100644
index 5a7cdd86..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onRename.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode, isCancel)</span><span class="path">setting.callback.</span>onRename</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event when remove node.</p>
- <p class="highlight_red">1. If you set 'setting.callback.beforeRename',and return false, zTree will keep the editing name, and will not trigger the 'onRename' callback.</p>
- <p class="highlight_red">2. If you modity treeNode data, and use 'updateNode' function, zTree will not trigger the 'onRename' callback.</p>
- <p class="highlight_red">3. From v3.5.13, zTree will trigger this callback when user cancel edit name. please see 'isCancel' parameter.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which was rename.</p>
- <h4 class="topLine"><b>isCancel</b><span>Boolean</span></h4>
- <p>the status about cancel edit name (v3.5.13+)</p>
- <p class="highlight_red">isCancel = true means: user cancel edit name. (press ESC or use cancelEditName() function)</p>
- <p class="highlight_red">isCancel = false means: user submit edit name.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When rename node, alert info about 'tId' and 'name'.</h4>
- <pre xmlns=""><code>function zTreeOnRename(event, treeId, treeNode, isCancel) {
- alert(treeNode.tId + ", " + treeNode.name);
-}
-var setting = {
- callback: {
- onRename: zTreeOnRename
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onRightClick.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onRightClick.html
deleted file mode 100644
index 95756518..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.callback.onRightClick.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onRightClick</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to capture the event when mouse right click node.</p>
- <p class="highlight_red">If you set 'setting.callback.beforeRightClick',and return false, zTree will not trigger the 'onRightClick' callback.</p>
- <p class="highlight_red">If you set 'setting.callback.onRightClick', zTree will shield the browser context menu when mouse right click on zTree.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>event</b><span>js event Object</span></h4>
- <p>event Object</p>
- <h4 class="topLine"><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which is mouse right clicked</p>
- <p class="highlight_red">If the DOM which mouse right clicked isn't a node, it will return null.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. When mouse right click node, alert info about 'tId' and 'name'.</h4>
- <pre xmlns=""><code>function zTreeOnRightClick(event, treeId, treeNode) {
- alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
-};
-var setting = {
- callback: {
- onRightClick: zTreeOnRightClick
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.autoCheckTrigger.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.autoCheckTrigger.html
deleted file mode 100644
index baa08693..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.autoCheckTrigger.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.check.</span>autoCheckTrigger</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When node is automatically checked or unchecked, this parameter used to set to trigger 'beforeCheck / onCheck' callback. It is valid when <span class="highlight_red">[setting.check.enable = true & setting.check.chkStyle = "checkbox"]</span></p>
- <p class="highlight_red">1. If you set 'setting.check.chkboxType' to { "Y": "", "N": "" }, will not automatically checked or unchecked.</p>
- <p class="highlight_red">2. If you turn on the trigger and there are many more nodes, will affect the performance, because the check or uncheck node can cause many nodes to be automatically checked or unchecked, it will trigger a lot of callbacks, according to the need to decide whether to use this feature.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: trigger callback</p>
- <p> false means: don't trigger callback</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. When node is automatically checked or unchecked, zTree trigger 'beforeCheck / onCheck' callback.</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true,
- autoCheckTrigger: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.chkDisabledInherit.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.chkDisabledInherit.html
deleted file mode 100644
index 5c55cec7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.chkDisabledInherit.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.check.</span>chkDisabledInherit</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When the parent node's 'chkDisabled' attribute is true, set the child nodes automatically inherit the 'chkDisabled' attribute. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
- <p class="highlight_red">1. Only be used to initialize the nodes, easy batch operations. Please use the 'updateNode' method modify existing node.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: When add new child nodes, if parent node's 'chkDisabled' attribute is true, the child nodes automatically inherit the 'chkDisabled' attribute.</p>
- <p> false means: When add new child nodes, the child nodes don't inherit the 'chkDisabled' attribute from parent node.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. When add new child nodes, the child nodes automatically inherit the 'chkDisabled' attribute from parent node.</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true,
- chkDisabledInherit: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.chkStyle.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.chkStyle.html
deleted file mode 100644
index af694801..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.chkStyle.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.check.</span>chkStyle</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Use the checkbox or radio. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
- <p>Default: "checkbox"</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>When chkStyle = "checkbox", zTree show checkbox, and '<span class="highlight_red">setting.check.chkboxType</span>' attribute is valid.
-<br/>When chkStyle = "radio", zTree show radio, and '<span class="highlight_red">setting.check.radioType</span>' attribute is valid.</p>
- <p class="highlight_red">Please note that letter case, do not change.</p>
- </div>
- <h3>checkbox States Descriptions</h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p><button type="button" class="chk checkbox_false_full"></button>not checked; <span class="highlight_red">If node is parent, so its child nodes have been not checked.</span> when mouse over: <button type="button" class="chk checkbox_false_full_focus"></button></p>
- <p><button type="button" class="chk checkbox_false_part"></button>not checked; (only parent node) <span class="highlight_red">some of its child nodes have been checked.</span> when mouse over: <button type="button" class="chk checkbox_false_part_focus"></button></p>
- <p><button type="button" class="chk checkbox_true_full"></button>be checked; <span class="highlight_red">If node is parent, so its all child nodes have been checked.</span> when mouse over: <button type="button" class="chk checkbox_true_full_focus"></button></p>
- <p><button type="button" class="chk checkbox_true_part"></button>be checked; (only parent node) <span class="highlight_red">some of its child nodes or all have been not checked.</span> when mouse over: <button type="button" class="chk checkbox_true_part_focus"></button></p>
- </div>
- </div>
- <h3>radio States Descriptions</h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p><button type="button" class="chk radio_false_full"></button>not checked; <span class="highlight_red">If node is parent, so its child have been not checked.</span> when mouse over: <button type="button" class="chk radio_false_full_focus"></button></p>
- <p><button type="button" class="chk radio_false_part"></button>not checked; (only parent node) <span class="highlight_red">some of its child have been checked.</span> when mouse over: <button type="button" class="chk radio_false_part_focus"></button></p>
- <p><button type="button" class="chk radio_true_full"></button>be checked; <span class="highlight_red">If node is parent, so its child have been not checked.</span> when mouse over: <button type="button" class="chk radio_true_full_focus"></button></p>
- <p><button type="button" class="chk radio_true_part"></button>be checked; (only parent node) <span class="highlight_red">some of its child have been checked.</span> when mouse over: <button type="button" class="chk radio_true_part_focus"></button></p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. use radio</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true,
- chkStyle: "radio"
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.chkboxType.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.chkboxType.html
deleted file mode 100644
index 92da8f1f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.chkboxType.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>JSON</span><span class="path">setting.check.</span>chkboxType</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When one node is checked or unchecked, control its parent node and its child node auto checked or unchecked. It is valid when <span class="highlight_red">[setting.check.enable = true &amp; setting.check.chkStyle = "checkbox"]</span></p>
- <p>Default: { "Y": "ps", "N": "ps" }</p>
- </div>
- </div>
- <h3>JSON Format</h3>
- <div class="desc">
- <p>"Y" attribute use to set auto check after checkbox was checked.
-<br/>"N" attribute use to set auto uncheck after checkbox was unchecked.
-<br/>If value has "p", so parent nodes will be checked or unchecked.
-<br/>If value has "s", so child nodes will be checked or unchecked.</p>
- <p class="highlight_red">Please note that letter case, do not change.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. If check the node, so only auto check parent nodes; If uncheck the node, so only auto uncheck child nodes;</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true,
- chkStyle: "checkbox",
- chkboxType: { "Y": "p", "N": "s" }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.enable.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.enable.html
deleted file mode 100644
index b1cfa6d3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.enable.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.check.</span>enable</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set to use checkbox or radio in zTree</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: use the checkbox or radio</p>
- <p> false means: don't use the checkbox or radio</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. use the checkbox</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.nocheckInherit.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.nocheckInherit.html
deleted file mode 100644
index 45f8ca84..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.nocheckInherit.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.check.</span>nocheckInherit</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When the parent node's 'nocheck' attribute is true, set the child nodes automatically inherit the 'nocheck' attribute. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
- <p class="highlight_red">1. Only be used to initialize the nodes, easy batch operations. Please use the 'updateNode' method modify existing node.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: When add new child nodes, if parent node's 'nocheck' attribute is true, the child nodes automatically inherit the 'nocheck' attribute.</p>
- <p> false means: When add new child nodes, the child nodes don't inherit the 'nocheck' attribute from parent node.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. When add new child nodes, the child nodes automatically inherit the 'nocheck' attribute from parent node.</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true,
- nocheckInherit: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.radioType.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.radioType.html
deleted file mode 100644
index bf4135b2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.check.radioType.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.check.</span>radioType</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The group about radio. It is valid when <span class="highlight_red">[setting.check.enable = true &amp; setting.check.chkStyle = "radio"]</span></p>
- <p>Default: "level"</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>When radioType = "level", will be grouped with same level nodes which have the same parent node.
-<br/>When radioType = "all", will be grouped with all nodes.</p>
- <p class="highlight_red">Please note that letter case, do not change.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Set the group about radio is all nodes.</h4>
- <pre xmlns=""><code>var setting = {
- check: {
- enable: true,
- chkStyle: "radio",
- radioType: "all"
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.keep.leaf.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.keep.leaf.html
deleted file mode 100644
index ad69a88d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.keep.leaf.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.data.keep.</span>leaf</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The leaf node's lock, the leaf node will lock the 'isParent' attribute to false.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: lock the leaf node, and <span class="highlight_red">the node which 'isParent' attribute is false can't add child nodes</span>.</p>
- <p> false means: don't lock the leaf node, and <span class="highlight_red">the node which 'isParent' attribute is false can add child nodes</span>.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. lock the leaf node</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- keep: {
- leaf: true
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.keep.parent.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.keep.parent.html
deleted file mode 100644
index e5372cc1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.keep.parent.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.data.keep.</span>parent</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The parent node's lock, the parent node will lock 'isParent' attribute to true.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: lock the parent node, and <span class="highlight_red">if remove all of the parent node's child nodes, its 'isParent' attribute still keep to be true.</span>.</p>
- <p> false means: don't lock the parent node, and <span class="highlight_red">if remove all of the parent node's child nodes, its 'isParent' attribute will change to be false.</span>.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. lock the parent node</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- keep: {
- parent: true
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.checked.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.checked.html
deleted file mode 100644
index 0e5cfa80..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.checked.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.key.</span>checked</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The node data's attribute to save the checked state.</p>
- <p>Default: "checked"</p>
- <p class="highlight_red">Please don't set the other node attribute which zTree used. (e.g., checkedOld)</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. set the 'isChecked' attribute to save the checked state.</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- key: {
- checked: "isChecked"
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.children.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.children.html
deleted file mode 100644
index bc640e3f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.children.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.key.</span>children</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The node data's attribute to save the child nodes.</p>
- <p>Default: "children"</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Set the 'nodes' attribute to save the child nodes.</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- key: {
- children: "nodes"
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.name.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.name.html
deleted file mode 100644
index 8d7406ba..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.name.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.key.</span>name</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The node data's attribute to save the node name.</p>
- <p>Default: "name"</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Set the 'ename' attribute to save the node name.</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- key: {
- name: "ename"
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.title.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.title.html
deleted file mode 100644
index 153aca05..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.title.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.key.</span>title</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The node data's attribute to save the 'title' attribute of node DOM. It is valid when <span class="highlight_red">[setting.view.showTitle = true]</span></p>
- <p class="highlight_red">If set it to "", the title of node DOM will be same as 'setting.data.key.name' attribute.</p>
- <p>Default: ""</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Set the 'fullName' attribute to save the title of node DOM.</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- key: {
- title: "fullName"
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.url.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.url.html
deleted file mode 100644
index 9b98701c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.key.url.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.key.</span>url</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The node data's attribute to save the node link's url.</p>
- <p class="highlight_red">Special: If the nodes's data can only use the 'url' attribute, and don't use the link to jump feature, you can modify this attribute to any nonexistent attribute.</p>
- <p>Default: "url"</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Set the 'xUrl' attribute to save the node link's url.</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- key: {
- url: "xUrl"
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.enable.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.enable.html
deleted file mode 100644
index d8b9ba6c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.enable.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.data.simpleData.</span>enable</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set zTree's node to accept the simple data format, when zTree is initialized or when ajax get / or when use <span class="highlight_red">addNodes</span> method.</p>
- <p>Don't have to generate the complex nested data.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: zTree's node accept the simple data format.</p>
- <p> false means: zTree's node only accept the nested data format.</p>
- <p class="highlight_red">If set it is true, you must set the other attributes in 'setting.data.simpleData'. (e.g., idKey, pIdKey, rootPId) And let the data satisfy the parent-child relationship.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. use the simple data format</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- simpleData: {
- enable: true,
- idKey: "id",
- pIdKey: "pId",
- rootPId: 0,
- }
- }
-};
-var treeNodes = [
- {"id":1, "pId":0, "name":"test1"},
- {"id":11, "pId":1, "name":"test11"},
- {"id":12, "pId":1, "name":"test12"},
- {"id":111, "pId":11, "name":"test111"}
-];
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.idKey.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.idKey.html
deleted file mode 100644
index 2732866f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.idKey.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.simpleData.</span>idKey</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The node data's attribute to save node data's unique identifier. It is valid when <span class="highlight_red">[setting.data.simpleData.enable = true]</span></p>
- <p>Default: "id"</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. use the simple data format</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- simpleData: {
- enable: true,
- idKey: "id",
- pIdKey: "pId",
- rootPId: 0,
- }
- }
-};
-var treeNodes = [
- {"id":1, "pId":0, "name":"test1"},
- {"id":11, "pId":1, "name":"test11"},
- {"id":12, "pId":1, "name":"test12"},
- {"id":111, "pId":11, "name":"test111"}
-];
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.pIdKey.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.pIdKey.html
deleted file mode 100644
index 48e5d164..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.pIdKey.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.data.simpleData.</span>pIdKey</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The node data's attribute to save its parent node data's unique identifier. It is valid when <span class="highlight_red">[setting.data.simpleData.enable = true]</span></p>
- <p>Default: "pId"</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. use the simple data format</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- simpleData: {
- enable: true,
- idKey: "id",
- pIdKey: "pId",
- rootPId: 0
- }
- }
-};
-var treeNodes = [
- {"id":1, "pId":0, "name":"test1"},
- {"id":11, "pId":1, "name":"test11"},
- {"id":12, "pId":1, "name":"test12"},
- {"id":111, "pId":11, "name":"test111"}
-];
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.rootPId.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.rootPId.html
deleted file mode 100644
index b0b1e9a9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.data.simpleData.rootPId.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String / Number</span><span class="path">setting.data.simpleData.</span>rootPId</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set the default value of root's 'pIdKey' specified attribute values​​. It is valid when <span class="highlight_red">[setting.data.simpleData.enable = true]</span></p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. use the simple data format</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- simpleData: {
- enable: true,
- idKey: "id",
- pIdKey: "pId",
- rootPId: 0
- }
- }
-};
-var treeNodes = [
- {"id":1, "pId":0, "name":"test1"},
- {"id":11, "pId":1, "name":"test11"},
- {"id":12, "pId":1, "name":"test12"},
- {"id":111, "pId":11, "name":"test111"}
-];
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.autoExpandTrigger.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.autoExpandTrigger.html
deleted file mode 100644
index d9ed4a2e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.autoExpandTrigger.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.edit.drag.</span>autoExpandTrigger</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When drag node cause the parent node is automatically expanded, set whether to allow to trigger the 'onExpand' callback. It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: trigger the 'onExpand' callback.</p>
- <p> false means: don't trigger the 'onExpand' callback.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Set to allow to trigger the 'onExpand' callback</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- autoExpandTrigger: true
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.autoOpenTime.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.autoOpenTime.html
deleted file mode 100644
index 761cbb2a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.autoOpenTime.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">setting.edit.drag.</span>autoOpenTime</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Drag to the parent node, the parent node auto expand time interval. (Unit: ms) It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p>Default: 500</p>
- <p class="highlight_red">Please adjust the value according to needs.</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. When drag node to other parent node, expand it at once.</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- autoOpenTime: 0
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.borderMax.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.borderMax.html
deleted file mode 100644
index 64b44c0d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.borderMax.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">setting.edit.drag.</span>borderMax</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When drag a node to root, the zTree's inner border width. (Unit: px) It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p>Default: 10</p>
- <p class="highlight_red">Please adjust the value according to needs.</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. adjust the inner border width is 20px</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- borderMax: 20
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.borderMin.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.borderMin.html
deleted file mode 100644
index fe17ed75..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.borderMin.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">setting.edit.drag.</span>borderMin</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When drag a node to root, the zTree's outer border width. (Unit: px) It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p>Default: -5</p>
- <p class="highlight_red">Please adjust the value according to needs.</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. adjust the outer border width is 10px</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- borderMin: -10
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.inner.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.inner.html
deleted file mode 100644
index e3b84d5d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.inner.html
+++ /dev/null
@@ -1,60 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNodes, targetNode)</span><span class="path">setting.edit.drag.</span>inner</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When drag one node to the target node, set whether to allow the node to be the target node's child. It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p class="highlight_red">If the target node is root, so zTree will only trigger 'inner' and not trigger 'prev / next'.</p>
- <p class="highlight_red">This function mainly for the appropriate limit drag and drop (auxiliary arrow), it requires a combination of 'prev, next' together, to achieve full functionality.</p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: allow the node to be the target node's child.</p>
- <p> false means: don't allow the node to be the target node's child.</p>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>A collection of the nodes which has been dragged</p>
- <h4 class="topLine"><b>targetNode</b><span>JSON</span></h4>
- <p>JSON data object of the target node which treeNodes are draged over.</p>
- <p class="highlight_red">If the treeNodes will be root node, the targetNode = null</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to drag the node to the target node's inner.</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- prev: true,
- next: true,
- inner: false
- }
- }
-};
-......</code></pre>
- <h4>2. disable to drag the node to be root node's child.</h4>
- <pre xmlns=""><code>function canInner(treeId, nodes, targetNode) {
- return !(targetNode && targetNode.level === 0);
-}
-var setting = {
- edit: {
- enable: true,
- drag: {
- prev: true,
- next: true,
- inner: canInner
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.isCopy.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.isCopy.html
deleted file mode 100644
index f44d10fb..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.isCopy.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.edit.drag.</span>isCopy</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When drag-drop node, set whether to allow to copy node. It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Rules Description</h3>
- <div class="desc">
- <p>1. If isCopy = true and isMove = true, when drag-drop node, press Ctrl-Key or Cmd-key can copy node, don't press Ctrl-Key or Cmd-key can move node.</p>
- <p>2. If isCopy = true and isMove = false, when drag-drop node, will copy node.</p>
- <p>3. If isCopy = false and isMove = true, when drag-drop node, will move node.</p>
- <p>4. If isCopy = false and isMove = false, so disable to drag-drop node.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. all of the drag-drop operation will copy node.</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- isCopy: true,
- isMove: false
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.isMove.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.isMove.html
deleted file mode 100644
index 0b094262..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.isMove.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.edit.drag.</span>isMove</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When drag-drop node, set whether to allow to move node. It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Rules Description</h3>
- <div class="desc">
- <p>1. If isCopy = true and isMove = true, when drag-drop node, press Ctrl-Key or Cmd-key can copy node, don't press Ctrl-Key or Cmd-key can move node.</p>
- <p>2. If isCopy = true and isMove = false, when drag-drop node, will copy node.</p>
- <p>3. If isCopy = false and isMove = true, when drag-drop node, will move node.</p>
- <p>4. If isCopy = false and isMove = false, so disable to drag-drop node.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. all of the drag-drop operation will move node.</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- isCopy: false,
- isMove: true
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.maxShowNodeNum.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.maxShowNodeNum.html
deleted file mode 100644
index 7ae49091..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.maxShowNodeNum.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">setting.edit.drag.</span>maxShowNodeNum</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When dragging more than one sibling node, the floating layer shows the maximum number of nodes. zTree using '...' instead of redundant nodes. It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p>Default: 5</p>
- <p class="highlight_red">Please adjust the value according to needs.</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Set the maximum number is 10</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- maxShowNodeNum: 10
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.minMoveSize.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.minMoveSize.html
deleted file mode 100644
index 4f0cdedb..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.minMoveSize.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">setting.edit.drag.</span>minMoveSize</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The minimum offset which used to determine the drag operator start. (Unit: px) It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p class="highlight_red">Please adjust the value according to needs. Note: If it is too small, will easily lead to misoperation when you click mouse.</p>
- <p>Default: 5</p>
- </div>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Set the minimum offset is 10px.</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- minMoveSize: 10
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.next.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.next.html
deleted file mode 100644
index 41cf6f01..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.next.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNodes, targetNode)</span><span class="path">setting.edit.drag.</span>next</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When drag one node to the target node, set whether to allow the node to be the target node's next sibling. It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p class="highlight_red">If the target node is root, so zTree will only trigger 'inner' and not trigger 'prev / next'.</p>
- <p class="highlight_red">This function mainly for the appropriate limit drag and drop (auxiliary arrow), it requires a combination of 'prev, inner' together, to achieve full functionality.</p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: allow the node to be the target node's next sibling.</p>
- <p> false means: don't allow the node to be the target node's next sibling.</p>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>A collection of the nodes which has been dragged</p>
- <h4 class="topLine"><b>targetNode</b><span>JSON</span></h4>
- <p>JSON data object of the target node which treeNodes are draged over.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to drag the node to the target node's next sibling.</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- prev: true,
- next: false,
- inner: true
- }
- }
-};
-......</code></pre>
- <h4>2. disable to drag the node to be all of the parent nodes's next sibling.</h4>
- <pre xmlns=""><code>function canNext(treeId, nodes, targetNode) {
- return !targetNode.isParent;
-}
-var setting = {
- edit: {
- enable: true,
- drag: {
- prev: true,
- next: canNext,
- inner: true
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.prev.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.prev.html
deleted file mode 100644
index cbc89022..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.drag.prev.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNodes, targetNode)</span><span class="path">setting.edit.drag.</span>prev</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When drag one node to the target node, set whether to allow the node to be the target node's previous sibling. It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p class="highlight_red">If the target node is root, so zTree will only trigger 'inner' and not trigger 'prev / next'.</p>
- <p class="highlight_red">This function mainly for the appropriate limit drag and drop (auxiliary arrow), it requires a combination of 'next, inner' together, to achieve full functionality.</p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: allow the node to be the target node's previous sibling.</p>
- <p> false means: don't allow the node to be the target node's previous sibling.</p>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>A collection of the nodes which has been dragged</p>
- <h4 class="topLine"><b>targetNode</b><span>JSON</span></h4>
- <p>JSON data object of the target node which treeNodes are draged over.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return true or false</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. disable to drag the node to the target node's previous sibling.</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- drag: {
- prev: false,
- next: true,
- inner: true
- }
- }
-};
-......</code></pre>
- <h4>2. disable to drag the node to be all of the parent nodes's previous sibling.</h4>
- <pre xmlns=""><code>function canPrev(treeId, nodes, targetNode) {
- return !targetNode.isParent;
-}
-var setting = {
- edit: {
- enable: true,
- drag: {
- prev: canPrev,
- next: true,
- inner: true
- }
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.editNameSelectAll.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.editNameSelectAll.html
deleted file mode 100644
index e667beae..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.editNameSelectAll.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.edit.</span>editNameSelectAll</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When edit node's name, the text in input is selected or unselected. It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: when show the input, the text in input is selected</p>
- <p> false means: when show the input, the text in input is not selected</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. When edit node's name, the text in input is selected.</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- editNameSelectAll: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.enable.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.enable.html
deleted file mode 100644
index 2717045b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.enable.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.edit.</span>enable</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set zTree is in edit mode</p>
- <p class="highlight_red">Please set this attribute before zTree initialization. If you need to change the edit mode after the initialization, please use zTreeObj.setEditable() method.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: zTree is in edit mode.</p>
- <p> false means: zTree is not in edit mode.</p>
- </div>
- <h3>Editing Rules Description</h3>
- <div class="desc">
- <p>1. When click the node, it will not open '<span class="highlight_red">node.url</span>' specified URL.
-<br/>2. Support for dynamic tree editing.
-<br/>3. You can drag-drop nodes, and support drag-drop nodes between multiple trees.
-<br/>4. Support use drag-drop to copy or move the node. (Reference: <span class="highlight_red">setting.edit.drag.isCopy / setting.edit.drag.isMove</span>)
-<br/>5. You can use the Edit button to modify the name attribute.
-<br/>6. You can use the Remove button to remove the node.
-<br/>
- </p>
- <p class="highlight_red">Please note that letter case, do not change.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. edit the tree</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.removeTitle.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.removeTitle.html
deleted file mode 100644
index 0cbc49a7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.removeTitle.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String / Function(treeId, treeNode)</span><span class="path">setting.edit.</span>removeTitle</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>the title of the remove button DOM. It is valid when <span class="highlight_red">[setting.edit.enable = true & setting.edit.showRemoveBtn = true]</span></p>
- <p>Default: "remove"</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>When the mouse over the remove button, the browser auto pop-up message content.</p>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which show the remove button</p>
- <h4 class="topLine"><b>Return </b><span>String</span></h4>
- <p>Return value is same as 'String Format'</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. Set title is 'remove the node' about all the remove button</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- showRemoveBtn: true,
- removeTitle: "remove the node"
- }
-};
-......</code></pre>
- <h4>2. Set title is 'remove the parent node' about the parent node, and is 'remove the leaf node' about the leaf node</h4>
- <pre xmlns=""><code>function setRemoveTitle(treeId, treeNode) {
- return treeNode.isParent ? "remove the parent node":"remove the leaf node";
-}
-var setting = {
- edit: {
- enable: true,
- showRemoveBtn: true,
- removeTitle: setRemoveTitle
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.renameTitle.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.renameTitle.html
deleted file mode 100644
index f9aecb98..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.renameTitle.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String / Function(treeId, treeNode)</span><span class="path">setting.edit.</span>renameTitle</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>the title of the rename button DOM. It is valid when <span class="highlight_red">[setting.edit.enable = true & setting.edit.showRenameBtn = true]</span></p>
- <p>Default: "rename"</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>When the mouse over the rename button, the browser auto pop-up message content.</p>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which show the rename button</p>
- <h4 class="topLine"><b>Return </b><span>String</span></h4>
- <p>return value is same as 'String Format'</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. Set title is 'rename the node' about all the rename button</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- showRenameBtn: true,
- renameTitle: "rename the node"
- }
-};
-......</code></pre>
- <h4>2. Set title is 'rename the parent node' about the parent node, and is 'rename the leaf node' about the leaf node</h4>
- <pre xmlns=""><code>function setRenameTitle(treeId, treeNode) {
- return treeNode.isParent ? "rename the parent node":"rename the leaf node";
-}
-var setting = {
- edit: {
- enable: true,
- showRenameBtn: true,
- renameTitle: setRenameTitle
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.showRemoveBtn.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.showRemoveBtn.html
deleted file mode 100644
index d0afcec2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.showRemoveBtn.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNode)</span><span class="path">setting.edit.</span>showRemoveBtn</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set to show or hide the remove button. It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p>When you click the remove button:</p>
- <p>1. zTree will trigger the <span class="highlight_red">setting.callback.beforeRemove</span> callback, and you can decide whether to allow delete.</p>
- <p>2. If you don't set the 'beforeRemove' or the 'beforeRemove' callback return true, so zTree will trigger the <span class="highlight_red">setting.callback.onRemove</span> callback after remove the node.</p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: show the remove button</p>
- <p> false means: hide the remove button</p>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which show the remove button</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>Return value is same as 'Boolean Format'</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. Hide the remove button</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- showRemoveBtn: false
- }
-};
-......</code></pre>
- <h4>2. Hide the remove button of parent node</h4>
- <pre xmlns=""><code>function setRemoveBtn(treeId, treeNode) {
- return !treeNode.isParent;
-}
-var setting = {
- edit: {
- enable: true,
- showRemoveBtn: setRemoveBtn
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.showRenameBtn.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.showRenameBtn.html
deleted file mode 100644
index 5f7c87d9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.edit.showRenameBtn.html
+++ /dev/null
@@ -1,52 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNode)</span><span class="path">setting.edit.</span>showRenameBtn</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set to show or hide the rename button. It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p>When you click the rename button:</p>
- <p>1. Click the rename button, you can rename the node.</p>
- <p>2. After rename operation (the input DOM blur or press the Enter Key), zTree will trigger the <span class="highlight_red">setting.callback.beforeRename</span> callback, and you can decide whether to allow rename.</p>
- <p>3. If the 'beforeRename' callback return false, so zTree will keep the edit status. (Press the ESC key, can be restored to the original state.</p>
- <p>4. If you don't set the 'beforeRename' or the 'beforeRename' callback return true, so zTree will trigger the <span class="highlight_red">setting.callback.onRename</span> callback after rename the node.</p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: show the rename button</p>
- <p> false means: hide the rename button</p>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which show the rename button</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>Return value is same as 'Boolean Format'</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. Hide the rename button</h4>
- <pre xmlns=""><code>var setting = {
- edit: {
- enable: true,
- showRenameBtn: false
- }
-};
-......</code></pre>
- <h4>2. Hide the rename button of parent node</h4>
- <pre xmlns=""><code>function setRenameBtn(treeId, treeNode) {
- return !treeNode.isParent;
-}
-var setting = {
- edit: {
- enable: true,
- showRenameBtn: setRenameBtn
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.treeId.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.treeId.html
deleted file mode 100644
index a54febfd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.treeId.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">setting.</span>treeId</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree unique identifier. After the initialization, it equals to the id attribute value of the user-defined zTree container.</p>
- <p class="highlight_red">Do not initialize or modify it, it is an internal argument.</p>
- </div>
- </div>
-
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.treeObj.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.treeObj.html
deleted file mode 100644
index faca1564..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.treeObj.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Object</span><span class="path">setting.</span>treeObj</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>zTree DOM's jQuery object, the main function: easy to internal operations.</p>
- <p class="highlight_red">Do not initialize or modify it, it is an internal argument.</p>
- </div>
- </div>
-
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.addDiyDom.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.addDiyDom.html
deleted file mode 100644
index 3967f4a2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.addDiyDom.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.view.</span>addDiyDom</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>This function used to display the custom control on the node.</p>
- <p class="highlight_red">1. If you have huge node data, please note: this function will affect the initialization performance. If not required, it is recommended not to use this function.</p>
- <p class="highlight_red">2. This function is an advanced application, please make sure that a better understanding of zTree before you use it.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which display the custom control.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. Display button in all nodes.</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- addDiyDom: addDiyDom
- }
-};
-function addDiyDom(treeId, treeNode) {
- var aObj = $("#" + treeNode.tId + "_a");
- if ($("#diyBtn_"+treeNode.id).length>0) return;
- var editStr = "&lt;span id='diyBtn_space_" +treeNode.id+ "' &gt; &lt;/span&gt;"
- + "&lt;button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
- + "' title='"+treeNode.name+"' onfocus='this.blur();'&gt;&lt;/button&gt;";
- aObj.append(editStr);
- var btn = $("#diyBtn_"+treeNode.id);
- if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.addHoverDom.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.addHoverDom.html
deleted file mode 100644
index f490a209..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.addHoverDom.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.view.</span>addHoverDom</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to display custom control when mouse move over the node. (e.g. the rename and remove button)</p>
- <p class="highlight_red">If you use this function, so must set <span class="highlight_red">setting.view.removeHoverDom</span>, please make sure that a better understanding of zTree before you use it.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which need to display the custom control.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. Display a button when mouse move over the node, and hide the button when mouse move out.</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- addHoverDom: addHoverDom,
- removeHoverDom: removeHoverDom,
- ......
- }
-};
-function addHoverDom(treeId, treeNode) {
- var aObj = $("#" + treeNode.tId + "_a");
- if ($("#diyBtn_"+treeNode.id).length>0) return;
- var editStr = "&lt;span id='diyBtn_space_" +treeNode.id+ "' &gt;&nbsp;&lt;/span&gt;"
- + "&lt;button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
- + "' title='"+treeNode.name+"' onfocus='this.blur();'&gt;&lt;/button&gt;";
- aObj.append(editStr);
- var btn = $("#diyBtn_"+treeNode.id);
- if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
-};
-function removeHoverDom(treeId, treeNode) {
- $("#diyBtn_"+treeNode.id).unbind().remove();
- $("#diyBtn_space_" +treeNode.id).unbind().remove();
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.autoCancelSelected.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.autoCancelSelected.html
deleted file mode 100644
index 8d529ca2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.autoCancelSelected.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.view.</span>autoCancelSelected</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When click the selected node while pressing the Ctrl-key or Cmd-key, allow to cancel selected the node.</p>
- <p class="highlight_red">If you don't need this function, please set to false.</p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: press the Ctrl-key or Cmd-key, can cancel selected node.</p>
- <p> false means: press the Ctrl-key or Cmd-key, can't cancel selected node.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Press the Ctrl-key or Cmd-key, can't cancel selected node.</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- autoCancelSelected: false
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.dblClickExpand.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.dblClickExpand.html
deleted file mode 100644
index 6b6fd550..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.dblClickExpand.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNode)</span><span class="path">setting.view.</span>dblClickExpand</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>When double-click the parent node, 'dblClickExpand' is used to decide whether to expand the parent node.</p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: When double-click the parent node, zTree will expand the parent node.</p>
- <p> false means: When double-click the parent node, zTree will not expand the parent node.</p>
- </div>
- <h3>Function Pamameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which be double-clicked.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>Return value is same as 'Boolean Format'</p>
- </div>
- <h3>Example of setting</h3>
- <h4>1. When double-click the parent node, zTree will not expand the parent node.</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- dblClickExpand: false
- }
-};
-......</code></pre>
- <h4>2. When double-click the parent node, zTree will expand the parent node which level>0.</h4>
- <pre xmlns=""><code>function dblClickExpand(treeId, treeNode) {
- return treeNode.level > 0;
-};
-var setting = {
- view: {
- dblClickExpand: dblClickExpand
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.expandSpeed.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.expandSpeed.html
deleted file mode 100644
index 54a57d87..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.expandSpeed.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String / Number</span><span class="path">setting.view.</span>expandSpeed</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The animation speed of expand or collapse node. As same as 'speed' parameter in jQuery</p>
- <p class="highlight_red">In order to ensure zTree operating speed, if use the IE6, zTree will not use animation.</p>
- <p>Default: "fast"</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>e.g. "slow", "normal", or "fast"</p>
- <p class="highlight_red">If set to "", zTree will not use animation.</p>
- </div>
- <h3>Number Format</h3>
- <div class="desc">
- <p>How long the animation will run. [Unit: ms] (e.g. 1000)</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Set the animation speed to slow</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- expandSpeed: "slow"
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.fontCss.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.fontCss.html
deleted file mode 100644
index 1183bed8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.fontCss.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>JSON / Function(treeId, treeNode)</span><span class="path">setting.view.</span>fontCss</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Personalized text style, only applies to &lt;A&gt; object in the node DOM</p>
- <p>Default: {}</p>
- </div>
- </div>
- <h3>JSON Format</h3>
- <div class="desc">
- <p>As same as .css() method in jQuery. e.g. <span class="highlight_red">{color:"#ff0011", background:"blue"}</span></p>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which use the personalized text style</p>
- <h4 class="topLine"><b>Return </b><span>JSON</span></h4>
- <p>Return value is same as 'JSON Format'. e.g. <span class="highlight_red">{color:"#ff0011", background:"blue"}</span></p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. Don't modify css file, and set the node name's color to red</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- fontCss : {color:"red"}
- }
-};</code></pre>
- <h4>2. Don't modify css file, and set the root node name's color to red</h4>
- <pre xmlns=""><code>function setFontCss(treeId, treeNode) {
- return treeNode.level == 0 ? {color:"red"} : {};
-};
-var setting = {
- view: {
- fontCss: setFontCss
- }
-};</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.nameIsHTML.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.nameIsHTML.html
deleted file mode 100644
index fce48358..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.nameIsHTML.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.view.</span>nameIsHTML</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set to use HTML in 'name' attribute.</p>
- <p class="highlight_red">If allow HTML, please do check to avoid security issues, e.g. JavaScript Injection...</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: 'name' attribute can be HTML.</p>
- <p> false means: 'name' attribute is only TEXT.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Set to allow HTML</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- nameIsHTML: true
- }
-};
-var node = {"name":"&lt;font color='red'&gt;test&lt;/font&gt;"};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.removeHoverDom.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.removeHoverDom.html
deleted file mode 100644
index 2faa58e3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.removeHoverDom.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId, treeNode)</span><span class="path">setting.view.</span>removeHoverDom</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to hide custom control when mouse move out the node. (e.g. the rename and remove button)</p>
- <p class="highlight_red">If you use this function, so must set <span class="highlight_red">setting.view.addHoverDom</span>, please make sure that a better understanding of zTree before you use it.</p>
- <p>Default: null</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which need to hide the custom control.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. Display a button when mouse move over the node, and hide the button when mouse move out.</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- addHoverDom: addHoverDom,
- removeHoverDom: removeHoverDom,
- ......
- }
-};
-function addHoverDom(treeId, treeNode) {
- var aObj = $("#" + treeNode.tId + "_a");
- if ($("#diyBtn_"+treeNode.id).length>0) return;
- var editStr = "&lt;span id='diyBtn_space_" +treeNode.id+ "' &gt;&nbsp;&lt;/span&gt;"
- + "&lt;button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
- + "' title='"+treeNode.name+"' onfocus='this.blur();'&gt;&lt;/button&gt;";
- aObj.append(editStr);
- var btn = $("#diyBtn_"+treeNode.id);
- if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
-};
-function removeHoverDom(treeId, treeNode) {
- $("#diyBtn_"+treeNode.id).unbind().remove();
- $("#diyBtn_space_" +treeNode.id).unbind().remove();
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.selectedMulti.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.selectedMulti.html
deleted file mode 100644
index 1b7f4e38..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.selectedMulti.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.view.</span>selectedMulti</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set whether to allow select multiple nodes.</p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true mean: you can select multiple nodes.</p>
- <p> false mean: you can only select one node.</p>
- <p class="highlight_red">1. Press Ctrl-key or Cmd-key, you can select multiple nodes.</p>
- <p class="highlight_red">2、This attribute don't affect the feature of cancel select node. ( please see setting.view.autoCancelSelected )</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Only select one node.</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- selectedMulti: false
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.showIcon.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.showIcon.html
deleted file mode 100644
index fb8415f3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.showIcon.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNode)</span><span class="path">setting.view.</span>showIcon</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set to show or hide node icon.</p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: show node icon.</p>
- <p> false means: hide node icon.</p>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which need to show icon.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>Return value is same as 'Boolean Format'</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. Hide node icon</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- showIcon: false
- }
-};
-......</code></pre>
- <h4>2. Hide node icon which level=2</h4>
- <pre xmlns=""><code>function showIconForTree(treeId, treeNode) {
- return treeNode.level != 2;
-};
-var setting = {
- view: {
- showIcon: showIconForTree
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.showLine.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.showLine.html
deleted file mode 100644
index b8011cdf..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.showLine.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.view.</span>showLine</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set to show or hide line.</p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: show line.</p>
- <p> false means: hide line.</p>
- </div>
- <h3>Examples of setting</h3>
- <h4>1. Hide line</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- showLine: false
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.showTitle.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.showTitle.html
deleted file mode 100644
index 961da66e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.showTitle.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean / Function(treeId, treeNode)</span><span class="path">setting.view.</span>showTitle</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set to show or hide the 'title' attribute of node DOM.</p>
- <p class="highlight_red">Please see the <span class="highlight_red">setting.data.key.title</span> attribute</p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: show the 'title' attribute of node DOM.</p>
- <p> false means: hide the 'title' attribute of node DOM.</p>
- <p class="highlight_red">When setting.view.showTitle = true & setting.data.key.title = '', zTree will set the 'setting.data.key.name' attribute to the 'setting.data.key.title'.</p>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeId</b><span>String</span></h4>
- <p>zTree unique identifier: <b class="highlight_red">treeId</b>, easy for users to control.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which need to show title.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>Return value is same as 'Boolean Format'</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. Hide the 'title' attribute of node DOM.</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- showTitle: false
- }
-};
-......</code></pre>
- <h4>2. Hide the 'title' attribute of node DOM which level=2.</h4>
- <pre xmlns=""><code>function showTitleForTree(treeId, treeNode) {
- return treeNode.level != 2;
-};
-var setting = {
- view: {
- showTitle: showTitleForTree
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.txtSelectedEnable.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.txtSelectedEnable.html
deleted file mode 100644
index c7f706c1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/setting.view.txtSelectedEnable.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">setting.view.</span>txtSelectedEnable</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set to allow or don't allow to select the text which in zTree's DOM.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: Allow to select the txt which in zTree's DOM.</p>
- <p> false means: Don't allow to select the txt which in zTree's DOM.</p>
- </div>
- <h3>Examples of setting & function</h3>
- <h4>1. Allow to select the txt which in zTree's DOM.</h4>
- <pre xmlns=""><code>var setting = {
- view: {
- txtSelectedEnable: true
- }
-};
-......</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.check_Child_State.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.check_Child_State.html
deleted file mode 100644
index 587ef1fe..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.check_Child_State.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">treeNode.</span>check_Child_State</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to record the node's half-checked state about its all child nodes's checkbox or radio. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
- <p class="highlight_red">zTree v3.x provides treeNode.getCheckStatus () method to get an accurate the half-checked status.</p>
- <p class="highlight_red">Do not initialize or modify it, it is an internal argument.</p>
- <p>Default: true</p>
- </div>
- </div>
- <h3>Number Format</h3>
- <div class="desc">
- <p>Rules:</p>
- <table width="100%" border="0" cellspacing="1" cellpadding="0">
- <thead>
- <tr><td colspan="4">setting.check.checkType = "checkbox"</td></tr>
- <tr><td>treeNode.check_Child_State</td><td>Checked Status Description</td></tr>
- </thead>
- <tbody>
- <tr><td>-1</td><td>Has no child nodes or all child nodes's 'nocheck' attribute is true.</td></tr>
- <tr><td>0</td><td>All of the child nodes has not been checked.</td></tr>
- <tr><td>1</td><td>Some of the child nodes has been checked.</td></tr>
- <tr><td>2</td><td>All of the child nodes has been checked.</td></tr>
- </tbody>
- </table>
- <br/>
- <table width="100%" border="0" cellspacing="1" cellpadding="0">
- <thead>
- <tr><td colspan="4">setting.check.checkType = "radio"</td></tr>
- <tr><td>treeNode.check_Child_State</td><td>Checked Status Description</td></tr>
- </thead>
- <tbody>
- <tr><td>-1</td><td>Has no child nodes or all child nodes's 'nocheck' attribute is true.</td></tr>
- <tr><td>0</td><td>All of the child nodes has not been checked.</td></tr>
- <tr><td>2</td><td>Some of the child nodes has been checked.</td></tr>
- </tbody>
- </table>
- </div>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.check_Focus.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.check_Focus.html
deleted file mode 100644
index 7cb2462c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.check_Focus.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>check_Focus</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to record the status which the checkbox or radio get focus. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
- <p class="highlight_red">Do not initialize or modify it, it is an internal argument.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p>true means: mouse move over the checkbox</p>
- <p>false means: mouse move out the checkbox</p>
- </div>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.checked.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.checked.html
deleted file mode 100644
index 252e2907..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.checked.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>checked</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The checked status about node's checkbox or radio. It is valid when <span class="highlight_red">[setting.check.enable = true & treeNode.nocheck = false]</span></p>
- <p class="highlight_red">1. If change the 'checked' to other attribute, please set the 'setting.data.key.checked' attribute.</p>
- <p class="highlight_red">2. If you create node data, and set 'checked' attribute to true, zTree will check this node's checkbox or radio when zTree is initialized.</p>
- <p class="highlight_red">3. Use the treeObj.checkNode or checkAllNodes or updateNode method, you can check or uncheck the node. Please see the API about these methods.</p>
- <p class="highlight_red">4. zTree support identification string 'true' & 'false'.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p>true means: check the checkbox or radio when zTree is initialized.</p>
- <p>false means: uncheck the checkbox or radio when zTree is initialized.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. check the checkbox when zTree is initialized</h4>
- <pre xmlns=""><code>var nodes = [
-{ "id":1, "name":"test1", checked:true },
-{ "id":2, "name":"test2", checked:true }
-]</code></pre>
- <h4>2. Get the checked status of the first root node</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var checked = treeObj.getNodes()[0].checked;
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.checkedOld.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.checkedOld.html
deleted file mode 100644
index c3670432..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.checkedOld.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>checkedOld</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The checked status about node's checkbox or radio when zTree was initialized. It is valid when <span class="highlight_red">[setting.check.enable = true & treeNode.nocheck = false]</span></p>
- <p class="highlight_red">1. Do not initialize it, it will be initialized when the node is initialized.</p>
- <p class="highlight_red">2. If you need to achieve special features, you can use the zTreeObj.getChangeCheckedNodes method and modify the value of 'checkedOld' attribute.</p>
- <p>Default: the value of 'checked' attribute when zTree is initialized</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p>true means: the checkbox or radio is checked when zTree is initialized.</p>
- <p>false means: the checkbox or radio is not checked when zTree is initialized.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Get the original checked status of the first root node</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var checkedOld = treeObj.getNodes()[0].checkedOld;
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.children.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.children.html
deleted file mode 100644
index 5d287724..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.children.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Array(JSON)</span><span class="path">treeNode.</span>children</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The data collections of node's child nodes.</p>
- <p class="highlight_red">1. If change the 'children' to other attribute, please set the 'setting.data.key.children' attribute.</p>
- <p class="highlight_red">2. If you set to use dynamic tree, when a node is expanded which 'isParent' attribute is true and which has no child nodes, zTree will use ajax to get its child nodes.</p>
- <p>Default: undefined</p>
- </div>
- </div>
- <h3>Array(JSON) Format</h3>
- <div class="desc">
- <p>Standard JSON Data object</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Use the standard JSON data object.</h4>
- <pre xmlns=""><code>var nodes = [
-{ "id":1, "name":"test1",
- children: [
- { "id":3, "name":"test3"},
- { "id":4, "name":"test4"},
- { "id":5, "name":"test5"}
- ]
-},
-{ "id":2, "name":"test2" }
-]</code></pre>
- <h4>2. Get the first root node's child nodes</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes()[0].children;
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.chkDisabled.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.chkDisabled.html
deleted file mode 100644
index 0e454e48..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.chkDisabled.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>chkDisabled</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>1. Set node's checkbox / radio to disabled. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
- <p class="highlight_red">2. zTree support identification string 'true' & 'false'.</p>
- <p class="highlight_red">3. Please don't change this attribute of the nodes which have been created. If you want to disable or undisable the nodes, please use 'setChkDisabled()' methods.</p>
- <p class="highlight_red">4. When zTree initialize the nodes, if you need to the child nodes automatically inherit the 'chkDisabled' attribute, please see 'setting.check.chkDisabledInherit'.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p class="highlight_red">true means: this node's checkbox / radio is disabled.</p>
- <p class="highlight_red">false means: this node's checkbox / radio is able.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. disable some node's checkbox / radio </h4>
- <pre xmlns=""><code>var nodes = [
- { "id":1, "name":"test1", "checked":true, "chkDisabled":true},
- { "id":2, "name":"test2", "chkDisabled":true},
- { "id":3, "name":"test3"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.click.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.click.html
deleted file mode 100644
index 7e8aa1e2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.click.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>click</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Simple click event operations. As same as : (onclick ="...") the code. If the operation is more complex, please use the onClick callback.</p>
- <p class="highlight_red">Because IE is different to other browsers in operating the event of ‘onclick’ and ‘click’ coexistence, please do not use this parameter to control whether to allow the redirection operation (for example: treeNode.click = "return false;"). If there is similar requirements, please do not use the 'url' attribute to save the website address, but use the 'onClick' callback to control jumps.</p>
- <p>Default: undefined</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>Standard javascript syntax, for example: alert ("test"); etc.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. When click this node, will alert msg.</h4>
- <pre xmlns=""><code>var nodes = [
- { "id":1, "name":"Google CN", "url":"http://g.cn", "click":"alert('test');"},
- ......
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.diy.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.diy.html
deleted file mode 100644
index 31d20805..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.diy.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>?</span><span class="path">treeNode.</span>* DIY *</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to save other custom data of node, do not use the same attribute name with ztree used, the user can freely set.</p>
- </div>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Use 'ename' attribute to save more info</h4>
- <pre xmlns=""><code>var node = { "id":1, "name":"test1", "ename":"test eName"};</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.editNameFlag.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.editNameFlag.html
deleted file mode 100644
index 4135fbdd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.editNameFlag.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>editNameFlag</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to save the node editing name status. It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
- <p class="highlight_red">Do not initialize or modify it, it is an internal argument.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p>true means: node is being edited.</p>
- <p>false means: node is not being edited.</p>
- </div>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getCheckStatus.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getCheckStatus.html
deleted file mode 100644
index ed18859c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getCheckStatus.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">treeNode.</span>getCheckStatus</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Get the node's half-checked status of checkbox or radio. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
- <p class="highlight_red">Do not initialize or modify it, it is created by the zTree.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>Return</b><span>JSON</span></h4>
- <pre xmlns=""><code>{
- checked: true, //As same as 'treeNode.checked'
- half: true //Rule the table below
-}</code></pre>
- <table width="100%" border="0" cellspacing="1" cellpadding="0">
- <thead>
- <tr><td colspan="4">setting.check.checkType = "checkbox"</td></tr>
- <tr><td>treeNode.checked</td><td>treeNode.check_Child_State</td><td>treeNode.halfCheck</td><td> half </td></tr>
- </thead>
- <tbody>
- <tr><td>-</td><td>-</td><td>true</td><td>true</td></tr>
- <tr><td colspan="4">&nbsp;</td></tr>
- <tr><td>true</td><td>-1</td><td>false</td><td>false</td></tr>
- <tr><td>true</td><td>0</td><td>false</td><td>true</td></tr>
- <tr><td>true</td><td>1</td><td>false</td><td>true</td></tr>
- <tr><td>true</td><td>2</td><td>false</td><td>false</td></tr>
- <tr><td colspan="4">&nbsp;</td></tr>
- <tr><td>false</td><td>-1</td><td>false</td><td>false</td></tr>
- <tr><td>false</td><td>0</td><td>false</td><td>false</td></tr>
- <tr><td>false</td><td>1</td><td>false</td><td>true</td></tr>
- <tr><td>false</td><td>2</td><td>false</td><td>true</td></tr>
- </tbody>
- </table>
- <br/>
- <table width="100%" border="0" cellspacing="1" cellpadding="0">
- <thead>
- <tr><td colspan="4">setting.check.checkType = "radio"</td></tr>
- <tr><td>treeNode.checked</td><td>treeNode.check_Child_State</td><td>treeNode.halfCheck</td><td> half </td></tr>
- </thead>
- <tbody>
- <tr><td>-</td><td>-</td><td>true</td><td>true</td></tr>
- <tr><td colspan="4">&nbsp;</td></tr>
- <tr><td>true</td><td>-1</td><td>false</td><td>false</td></tr>
- <tr><td>true</td><td>0</td><td>false</td><td>false</td></tr>
- <tr><td>true</td><td>2</td><td>false</td><td>true</td></tr>
- <tr><td colspan="4">&nbsp;</td></tr>
- <tr><td>false</td><td>-1</td><td>false</td><td>false</td></tr>
- <tr><td>false</td><td>0</td><td>false</td><td>false</td></tr>
- <tr><td>false</td><td>2</td><td>false</td><td>true</td></tr>
- </tbody>
- </table>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Get the first root node's half-checked status</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var halfCheck = treeObj.getNodes()[0].getCheckStatus();
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getNextNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getNextNode.html
deleted file mode 100644
index 9206fb94..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getNextNode.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">treeNode.</span>getNextNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Get the treeNode's next sibling node.</p>
- <p class="highlight_red">Do not initialize or modify it, it is created by the zTree.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>Return</b><span>JSON</span></h4>
- <p>JSON data object of the treeNode's next sibling node</p>
- <p class="highlight_red">If have not the next node, return null.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Get the first selected node's next sibling node.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var node = sNodes[0].getNextNode();
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getParentNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getParentNode.html
deleted file mode 100644
index 18543da5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getParentNode.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">treeNode.</span>getParentNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Get the treeNode's parent node.</p>
- <p class="highlight_red">Do not initialize or modify it, it is created by the zTree.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>Return</b><span>JSON</span></h4>
- <p>JSON data object of treeNode's parent node.</p>
- <p class="highlight_red">If treeNode is root, return null.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Get the first selected node's parent node.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var node = sNodes[0].getParentNode();
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getPreNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getPreNode.html
deleted file mode 100644
index 9c3e85db..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.getPreNode.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">treeNode.</span>getPreNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Get the treeNode's previous sibling node.</p>
- <p class="highlight_red">Do not initialize or modify it, it is created by the zTree.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>Return</b><span>JSON</span></h4>
- <p>JSON data object of the treeNode's previous sibling node</p>
- <p class="highlight_red">If have not the previous node, return null.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Get the first selected node's previous sibling node.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var node = sNodes[0].getPreNode();
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.halfCheck.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.halfCheck.html
deleted file mode 100644
index 05919a85..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.halfCheck.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>halfCheck</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Force node checkBox / radio to the half-checked status. It is valid when <span class="highlight_red">[setting.check.enable = true & treeNode.nocheck = false]</span></p>
- <p class="highlight_red">1. If you force to the half-checked status, zTree will not automatically calculated the half-checked status about this node.</p>
- <p class="highlight_red">2. Until you set treeNode.halfCheck to false or null, zTree will automatically calculated the half-checked status about this node.</p>
- <p class="highlight_red">3. zTree support identification string 'true' & 'false'.</p>
- <p>Defaul: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p>true means: the checkbox or radio is half-checked when zTree is initialized.</p>
- <p>false means: the half-checked status will be automatically calculated</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. set the half-checked status when zTree is initialized</h4>
- <pre xmlns=""><code>var nodes = [
-{ "id":1, "name":"test1", isParent:true, checked:true, halfCheck:true },
-{ "id":2, "name":"test2", isParent:true, checked:false, halfCheck:true },
-{ "id":3, "name":"test3", isParent:true, checked:true },
-{ "id":4, "name":"test4", isParent:true, checked:false }
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.icon.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.icon.html
deleted file mode 100644
index 67b6d993..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.icon.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>icon</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>URL path of node's custom icon.</p>
- <p class="highlight_red">1. If you only set the 'icon' attribute to parent node, the parent node will only show one icon when it is expanded or collapsed.</p>
- <p class="highlight_red">2. If you need to show two icons when it is expanded or collapsed, please set the 'treeNode.iconOpen' and 'treeNode.iconClose' attribute.</p>
- <p class="highlight_red">3. If you need to use css to set the custom icon, please set the 'treeNode.iconSkin' attribute.</p>
- <p>Default: undefined</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>Icon image url can be a relative path or absolute path.</p>
- <p class="highlight_red">If use a relative path, please note the relationship between icon image and the page, ensure the correct image path.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Set the custom icon</h4>
- <pre xmlns=""><code>var nodes = [
- //Only show one icon when it is expanded or collapsed.
- { name:"Parent Node 1", icon:"/img/parent.gif"},
-
- //Show two icons when it is expanded or collapsed.
- { name:"Parent Node 2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"},
-
- //the custom icon for leaf node
- { name:"Leaf Node", icon:"/img/leaf.gif"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.iconClose.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.iconClose.html
deleted file mode 100644
index c7194a14..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.iconClose.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>iconClose</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>URL path of parent node's custom icon when it is collapsed.</p>
- <p class="highlight_red">1. Only parent node support this attribute.</p>
- <p class="highlight_red">2. This attribute must be used simultaneously with 'iconOpen' attribute.</p>
- <p class="highlight_red">3. If you need to use css to set the custom icon, please set the 'treeNode.iconSkin' attribute.</p>
- <p>Default: undefined</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>Icon image url can be a relative path or absolute path.</p>
- <p class="highlight_red">If use a relative path, please note the relationship between icon image and the page, ensure the correct image path.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Set the custom icon</h4>
- <pre xmlns=""><code>var nodes = [
- //Only show one icon when it is expanded or collapsed.
- { name:"Parent Node 1", icon:"/img/parent.gif"},
-
- //Show two icons when it is expanded or collapsed.
- { name:"Parent Node 2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"},
-
- //the custom icon for leaf node
- { name:"Leaf Node", icon:"/img/leaf.gif"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.iconOpen.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.iconOpen.html
deleted file mode 100644
index dd8d14c9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.iconOpen.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>iconOpen</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>URL path of parent node's custom icon when it is expanded.</p>
- <p class="highlight_red">1. Only parent node support this attribute.</p>
- <p class="highlight_red">2. This attribute must be used simultaneously with 'iconClose' attribute.</p>
- <p class="highlight_red">3. If you need to use css to set the custom icon, please set the 'treeNode.iconSkin' attribute.</p>
- <p>Default: undefined</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>Icon image url can be a relative path or absolute path.</p>
- <p class="highlight_red">If use a relative path, please note the relationship between icon image and the page, ensure the correct image path.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Set the custom icon</h4>
- <pre xmlns=""><code>var nodes = [
- //Only show one icon when it is expanded or collapsed.
- { name:"Parent Node 1", icon:"/img/parent.gif"},
-
- //Show two icons when it is expanded or collapsed.
- { name:"Parent Node 2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"},
-
- //the custom icon for leaf node
- { name:"Leaf Node", icon:"/img/leaf.gif"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.iconSkin.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.iconSkin.html
deleted file mode 100644
index 7d7d4522..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.iconSkin.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>iconSkin</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The className of node's custom icon.</p>
- <p class="highlight_red">1. You need to modify the css, add the definition of className.</p>
- <p class="highlight_red">2. The css is simple, convenient, and support the parent node to switch icons when it is expanded or collapsed.</p>
- <p class="highlight_red">3. Recommend the use of CSS Sprites, can reduce repeating load the image, to avoid image flicker.</p>
- <p class="highlight_red">4. The 'iconSkin' support IE6 in zTree v3.x.</p>
- <p class="highlight_red">5. If you need to use image's URL to set the custom icon, please set the 'treeNode.icon' or 'treeNode.iconOpen' or 'treeNode.iconClose' attribute.</p>
- <p>Default: undefined</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>The string about custom icon's className.</p>
- </div>
- <h3>Examples of css & treeNode</h3>
- <h4>1. Set the custom icon</h4>
- <pre xmlns=""><code>css example:
-.ztree li span.button.diy01_ico_open, .ztree li span.button.diy01_ico_close{...}
-
-.ztree li span.button.diy02_ico_open{...}
-.ztree li span.button.diy02_ico_close{...}
-
-.ztree li span.button.diy03_ico_docu{...}
-
-node's data example:
-var nodes = [
- //Only show one icon when it is expanded or collapsed.
- { name:"Parent Node 1", iconSkin:"diy01"},
-
- //Show two icons when it is expanded or collapsed.
- { name:"Parent Node 2", iconSkin:"diy02"},
-
- //the custom icon for leaf node
- { name:"Leaf Node", iconSkin:"diy03"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isAjaxing.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isAjaxing.html
deleted file mode 100644
index 1aff4609..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isAjaxing.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>isAjaxing</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Judge whether the node's child nodes being loaded asynchronously.</p>
- <p class="highlight_red">Do not initialize or modify it, it is created by the zTree.</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: the node's child nodes is being loaded asynchronously</p>
- <p> false means: the node's child nodes is not being loaded asynchronously</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Judge whether the first selected node's child nodes being loaded asynchronously</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var isAjaxing = sNodes[0].isAjaxing;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isFirstNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isFirstNode.html
deleted file mode 100644
index 4de0df8d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isFirstNode.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>isFirstNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Judge whether the node is the sibling nodes's first node.</p>
- <p class="highlight_red">If you use the 'exhide' pack, so this attribute will only support the node which be shown. </p>
- <p class="highlight_red">Do not initialize or modify it, it is created by the zTree.</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: the node is first node.</p>
- <p> false means: the node is not first node.</p>
- <p class="highlight_red">If the node has been hidden, isFirstNode = false</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Judge whether the first selected node is the sibling nodes's first node.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var isFirstNode = sNodes[0].isFirstNode;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isHidden.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isHidden.html
deleted file mode 100644
index f12e919e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isHidden.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>isHidden</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exhide</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Judge whether the node has been hidden.</p>
- <p class="highlight_red">1. When initialize zTree, the nodes which be set 'isHidden = true' will be hidden.</p>
- <p class="highlight_red"></p>
- <p class="highlight_red">2. Please don't change this attribute of the nodes which have been created. If you want to hide or show nodes, please use 'hideNode() / hideNodes() / showNode() / showNodes()' methods.</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: this node is hidden.</p>
- <p> false means: this node is shown.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Judge whether the first root node has been hidden.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getNodes();
-if (sNodes.length > 0) {
- var isHidden = sNodes[0].isHidden;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isHover.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isHover.html
deleted file mode 100644
index 13617cd8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isHover.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>isHover</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to record the hover status of node's DOM. For 'setting.view.addHoverDom / removeHoverDom'.</p>
- <p class="highlight_red">Do not initialize or modify it, it is an internal argument.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p>true means: the node's DOM is in hover.</p>
- <p>false means: the node's DOM is not in hover.</p>
- </div>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isLastNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isLastNode.html
deleted file mode 100644
index b3f5c51a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isLastNode.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>isLastNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Judge whether the node is the sibling nodes's last node.</p>
- <p class="highlight_red">If you use the 'exhide' pack, so this attribute will only support the node which be shown. </p>
- <p class="highlight_red">Do not initialize or modify it, it is created by the zTree.</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: the node is last node.</p>
- <p> false means: the node is not last node.</p>
- <p class="highlight_red">If the node has been hidden, isLastNode = false</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Judge whether the first selected node is the sibling nodes's last node.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var isLastNode = sNodes[0].isLastNode;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isParent.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isParent.html
deleted file mode 100644
index 4b35e9d7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.isParent.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>isParent</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Judge whether the node is the parent node.</p>
- <p class="highlight_red">1. When zTree initialize the node data, the node which has children is set to true, otherwise false.</p>
- <p class="highlight_red">2. When zTree initialize the node data, if set treeNode.isParent to true, the node will be set to be parent node.</p>
- <p class="highlight_red">3. In order to solve the problem of someone make json data, supporting "false", "true" format of the data string.</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: the node is parent node.</p>
- <p> false means: the node is not parent node.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Judge whether the first selected node is the parent node.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var isParent = sNodes[0].isParent;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.level.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.level.html
deleted file mode 100644
index 94fe3d7d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.level.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Number</span><span class="path">treeNode.</span>level</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The level of node</p>
- <p class="highlight_red">Do not initialize or modify it, it is created by the zTree.</p>
- </div>
- </div>
- <h3>Number Format</h3>
- <div class="desc">
- <p class="highlight_red">The root node's level = 0, and next level = 1, ...</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Get the first selected node's level</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var level = sNodes[0].level;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.name.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.name.html
deleted file mode 100644
index 84769362..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.name.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>name</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The node's name</p>
- <p class="highlight_red">1. If you want to change 'name' attribute, please modify the 'setting.data.key.name' attribute.</p>
- <p>Default: undenfined</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>String object. The HTML special characters are escaped</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Set node's name to 'test1', 'test2', 'test3'</h4>
- <pre xmlns=""><code>var nodes = [
- { "id":1, "name":"test1"},
- { "id":2, "name":"test2"},
- { "id":3, "name":"test3"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.nocheck.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.nocheck.html
deleted file mode 100644
index a05d0bd2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.nocheck.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>nocheck</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>1. Set node to hide the checkbox or radio. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
- <p class="highlight_red">2. zTree support identification string 'true' & 'false'.</p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p class="highlight_red">true means: the node hide the checkbox or radio, and don't affect the checked association, and don't affect its parent node's half-checked status.</p>
- <p class="highlight_red">false means: the node show the checkbox or radio.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Hide some node's checkbox / radio </h4>
- <pre xmlns=""><code>var nodes = [
- { "id":1, "name":"test1", "nocheck":true},
- { "id":2, "name":"test2"},
- { "id":3, "name":"test3"}
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.open.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.open.html
deleted file mode 100644
index 030a14f6..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.open.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>open</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to record the parent node's expand status.</p>
- <p class="highlight_red">1. When zTree initialize the node data, if you set treeNode.open = true, zTree will default expand this parent node.</p>
- <p class="highlight_red">2. Leaf node's 'open' attribute is false.</p>
- <p class="highlight_red">3. In order to solve the problem of someone make json data, supporting "false", "true" format of the data string.</p>
- <p class="highlight_red">4. When setting.async.enable = false, the parent node will be expanded which have no child nodes and its attribute 'open' is true. (v3.5.15+) </p>
- <p>Default: false</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: the parent node is expanded.</p>
- <p> false means: the parent node is collapsed.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Get the first selected node's expand status.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var isOpen = sNodes[0].open;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.parentTId.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.parentTId.html
deleted file mode 100644
index 0f0bcfe0..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.parentTId.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>parentTId</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The unique identifier of node's parent node.</p>
- <p class="highlight_red">1. zTree v3.x using 'parentTId' replaced the original 'parentNode' attribute, and increased getParentNode () method, in order to avoid the original 'parentNode' cause the clone () method infinite loop.</p>
- <p class="highlight_red">2. Do not initialize or modify it, it is created by the zTree.</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>String object of node's parent node's tId. please see API about 'treeNode.tId'</p>
- <p class="highlight_red">If treeNode is root node, parentTId is null.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Get the first selected node's parent node's tId</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var parentTId = sNodes[0].parentTId;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.tId.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.tId.html
deleted file mode 100644
index 1b4fd771..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.tId.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>tId</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The unique identifier of node.</p>
- <p class="highlight_red">Do not initialize or modify it, it is created by the zTree.</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>tId rules: setting.treeId + "_" + zTree counter</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Get the first selected node's tId</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var tId = sNodes[0].tId;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.target.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.target.html
deleted file mode 100644
index 2f12e1c2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.target.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>target</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Used to set the target where the node is clicked to open url. It is valid when <span class="highlight_red">[treeNode.url exists]</span></p>
- <p>Default: undefined</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>As same as &lt;a&gt; tag's 'target' attribute. e.g. '_blank', '_self' or other window name.</p>
- <p>if this attribute is omitted, zTree default set it to '_blank'</p>
- </div>
- <h3>Exmaples of treeNode</h3>
- <h4>1. Set target is '_blank'</h4>
- <pre xmlns=""><code>var nodes = [
- { "id":1, "name":"test1", "url":"http://myTest.com", "target":"_blank"},
- ......
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.url.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.url.html
deleted file mode 100644
index 77e10e81..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.url.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>String</span><span class="path">treeNode.</span>url</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The URL of node link</p>
- <p class="highlight_red">1. In edit mode (setting.edit.enable = true) , this feature fails. If you must use a similar feature, please use the 'onClick' callback for their own control.</p>
- <p class="highlight_red">2. If you use the 'onClick' callback function to control opening URL , then set the URL in the other custom attribute, do not use the 'url' attribute.</p>
- <p>Default: undefined</p>
- </div>
- </div>
- <h3>String Format</h3>
- <div class="desc">
- <p>As same as &lt;a&gt; tag's 'href' attribute.</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Set the URL is 'g.cn'</h4>
- <pre xmlns=""><code>var nodes = [
- { "id":1, "name":"Google CN", "url":"http://g.cn"},
- ......
-]</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.zAsync.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.zAsync.html
deleted file mode 100644
index 3847c043..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/treeNode.zAsync.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Boolean</span><span class="path">treeNode.</span>zAsync</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Judge whether the parent node's child nodes will be loaded asynchronously when the parent node is expanded.</p>
- <p class="highlight_red">Do not initialize or modify it, it is created by the zTree.</p>
- <p class="highlight_red">Default:false (the parent node which have no child nodes); true (the parent node which have child nodes or the leaf node)</p>
- </div>
- </div>
- <h3>Boolean Format</h3>
- <div class="desc">
- <p> true means: the node's child nodes will not be loaded asynchronously when the parent node is expanded.</p>
- <p> false means: the node's child nodes will be loaded asynchronously when the parent node is expanded.</p>
- <p class="highlight_red"> This attribute will not effect to 'reAsyncChildNodes()' method</p>
- </div>
- <h3>Examples of treeNode</h3>
- <h4>1. Judge whether the first selected node's child nodes has been loaded asynchronously</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var sNodes = treeObj.getSelectedNodes();
-if (sNodes.length > 0) {
- var zAsync = sNodes[0].zAsync;
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.addNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.addNodes.html
deleted file mode 100644
index 7f6e2492..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.addNodes.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(parentNode, newNodes, isSilent)</span><span class="path">zTreeObj.</span>addNodes</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Add nodes</p>
- <p class="highlight_red">In order to avoid duplication data resulting from repeated initialization, zTree v3.x will automatically clone node data when zTree initialized or add nodes. If you need to get the data objects within the zTree, please get the return value of this method.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>parentNode</b><span>JSON</span></h4>
- <p>The additional node's parent node. If additional node is root node, please the parentNode is null.</p>
- <p class="highlight_red">Please ensure this node data object is a data object within zTree.</p>
- <h4 class="topLine"><b>newNodes</b><span>JSON / Array(JSON)</span></h4>
- <p>The node data's JSON object collection which need to increase, refer to 'treeNode treeNode data details'</p>
- <p class="highlight_red">1. zTree v3.x support to add single node, that is, if you only add a node, you can don't use the array.</p>
- <p class="highlight_red">2. If you use simple data model, please refer to the attributes within the 'setting.data.simpleData'.</p>
- <h4 class="topLine"><b>isSilent</b><span>Boolean</span></h4>
- <p>Set whether to automatically expand the parent node, after add nodes.</p>
- <p>isSilent = true means: don't auto expand the parent node. Otherwise auto expand.</p>
- <h4 class="topLine"><b>Return </b><span>Array(JSON)</span></h4>
- <p>return the new nodes in zTree</p>
- <p class="highlight_red">If the newNodes is single data object, the return value is a array with length is 1.</p>
- <p class="highlight_red">Note: the node data JSON object in the return value is not equal to the JSON object in the 'newNodes'.</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Add one root node to zTree which id is 'tree'</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var newNode = {name:"newNode1"};
-newNode = treeObj.addNodes(null, newNode);
-</code></pre>
- <h4>2. Add three root nodes to zTree which id is 'tree'</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var newNodes = [{name:"newNode1"}, {name:"newNode2"}, {name:"newNode3"}];
-newNodes = treeObj.addNodes(null, newNodes);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.cancelEditName.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.cancelEditName.html
deleted file mode 100644
index a2ae133e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.cancelEditName.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(newName)</span><span class="path">zTreeObj.</span>cancelEditName</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Cancel the edit name status. Can restore the original name, and can also force assigned to a new name.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>newName</b><span>String</span></h4>
- <p>Re given a new name</p>
- <p class="highlight_red">If this parameter is omitted, then restore the original name.</p>
- <h4 class="topLine"><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Cancel edit name, and restore the original name.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.cancelEditName();
-</code></pre>
- <h4>2. Cancel edit name , and set the new name.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.cancelEditName("test_new_name");
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.cancelSelectedNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.cancelSelectedNode.html
deleted file mode 100644
index b5ecef6b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.cancelSelectedNode.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode)</span><span class="path">zTreeObj.</span>cancelSelectedNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>To cancel the selected node.</p>
- <p class="highlight_red">zTree v3.x support to select multiple nodes, so you can cancel a single selected node, and you can cancel all of the selected nodes too.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which need to cancel selected.</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <p class="highlight_red">If you omit this parameter, zTree will cancel all of the selected nodes.</p>
- <h4 class="topLine"><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Cancel all of the selected nodes</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.cancelSelectedNode();
-</code></pre>
- <h4>2. Cancel the first node of the selected nodes</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNode();
-if (nodes.length>0) {
- treeObj.cancelSelectedNode(nodes[0]);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.checkAllNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.checkAllNodes.html
deleted file mode 100644
index 5213e18a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.checkAllNodes.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(checked)</span><span class="path">zTreeObj.</span>checkAllNodes</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Check or unCheck all nodes which have been initialized. It is valid when <span class="highlight_red">[setting.check.enable = true & setting.check.chkStyle = "checkbox"]</span></p>
- <p class="highlight_red">This method does not trigger 'beforeCheck' or 'onCheck' callback function.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>checked</b><span>Boolean</span></h4>
- <p>checked = true means: check all nodes.</p>
- <p>checked = false means: uncheck all nodes.</p>
- <p class="highlight_red">Don't affect the node which 'nochecked' attribute is true.</p>
- <p class="highlight_red">Don't affect the node is not loaded.</p>
- <h4 class="topLine"><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. check all nodes</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.checkAllNodes(true);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.checkNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.checkNode.html
deleted file mode 100644
index 948982c7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.checkNode.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode, checked, checkTypeFlag, callbackFlag)</span><span class="path">zTreeObj.</span>checkNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Check or unCheck a single node. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
- <p class="highlight_red">Use checkNode() method of zTree v3.x can trigger 'beforeCheck' or 'onCheck' callback function. for reduce redundant code.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which need to be checked or unchecked.</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>checked</b><span>Boolean</span></h4>
- <p>checked = true means: check node.</p>
- <p>checked = false means: uncheck node.</p>
- <p class="highlight_red">If this parameter is omitted, then toggle check or uncheck depend this node's expanded state.</p>
- <p class="highlight_red">Don't affect the node which 'nochecked' attribute is true.</p>
- <h4 class="topLine"><b>checkTypeFlag</b><span>Boolean</span></h4>
- <p>checkTypeFlag = true means: According to 'setting.check.chkboxType' attribute automatically check or uncheck the parent and child nodes.</p>
- <p>checkTypeFlag = false means: only check or uncheck this node, don't affect its parent and child nodes.</p>
- <p class="highlight_red">When checkTypeFlag = false and treeNode.checked = checked, will not trigger callback function.</p>
- <p class="highlight_red">Don't affect the parent and child nodes which 'nochecked' attribute is true.</p>
- <h4 class="topLine"><b>callbackFlag</b><span>Boolean</span></h4>
- <p>callbackFlag = true means: call this method, will trigger 'beforeCheck' & 'onCheck' callback.</p>
- <p>callbackFlag = false means: call this method, will not trigger callback.</p>
- <p class="highlight_red">If this parameter is omitted, it is same as 'callbackFlag = false'</p>
- <h4 class="topLine"><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. check the selected nodes</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-for (var i=0, l=nodes.length; i < l; i++) {
- treeObj.checkNode(nodes[i], true, true);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.copyNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.copyNode.html
deleted file mode 100644
index 1f157f89..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.copyNode.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(targetNode, treeNode, moveType, isSilent)</span><span class="path">zTreeObj.</span>copyNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Copy the node</p>
- <p class="highlight_red">When copy nodes, zTree v3.x will clone nodes. If you need to get the data object in zTree, please get the return value of this method.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>targetNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be target.</p>
- <p class="highlight_red">If copy the node to root node, please set the 'targetNode' to null.</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be copied.</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>moveType</b><span>String</span></h4>
- <p>Copied to the target node's relative position.</p>
- <p class="highlight_red">"inner" means: to be taregetNode's child node.</p>
- <p class="highlight_red">"prev" means: to be taregetNode's previous sibling node.</p>
- <p class="highlight_red">"next" means: to be taregetNode's next sibling node.</p>
- <h4 class="topLine"><b>isSilent</b><span>Boolean</span></h4>
- <p>After copy the node, whether to automatically expand its parent node.</p>
- <p>isSilent = true means: don't expand its parent node.</p>
- <p>isSilent = false or omit this parameter means: expand its parent node.</p>
- <h4 class="topLine"><b>Return </b><span>JSON</span></h4>
- <p>return the new node in zTree</p>
- <p class="highlight_red">Note: the node data JSON object in the return value is not equal to the treeNode.</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Copy the second root node to the first root node's child node.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.copyNode(nodes[0], nodes[1], "inner");
-</code></pre>
- <h4>2. Copy the second root node to the first root node's previous sibling node.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.copyNode(nodes[0], nodes[1], "before");
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.destroy.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.destroy.html
deleted file mode 100644
index c4dc8cae..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.destroy.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeId)</span><span class="path">zTreeObj.</span>destroy</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>From zTree v3.4, zTree support the method for destruction.</p>
- <p>1. This method can destroy the zTreeObj's zTree.</p>
- <p class="highlight_red">2. If you want to destory all of the zTrees, you can use the '$.fn.zTree.destroy()' method.</p>
- <p class="highlight_red">3. If you want to use the tree which has been destroyed, you must use the 'init()' method at first.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. destroy the zTree which its id is 'treeDemo'</h4>
- <pre xmlns=""><code>var zTreeObj = $.fn.zTree.getZTreeObj("treeDemo");
-zTreeObj.destroy();
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.editName.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.editName.html
deleted file mode 100644
index 003af49e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.editName.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode)</span><span class="path">zTreeObj.</span>editName</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Start editing the node's name.</p>
- <p class="highlight_red">1. If need to cancel editing the node's name, please use cancelEditName(newName) method.</p>
- <p class="highlight_red">2. This method can be used to set the editing node‘s input box to get focus.</p>
- <p class="highlight_red">3. Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be editing name</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>Retrun </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Start editing the first selected node's name.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.editName(nodes[0]);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.expandAll.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.expandAll.html
deleted file mode 100644
index d5be0fa8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.expandAll.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(expandFlag)</span><span class="path">zTreeObj.</span>expandAll</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Expand or collapse all nodes.</p>
- <p class="highlight_red">This method does not trigger 'beforeExpand / onExpand' or 'beforeCollapse / onCollapse' callback function.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>expandFlag</b><span>Boolean</span></h4>
- <p>expandFlag = true means: expand all nodes.</p>
- <p>expandFlag = false means: collapse all nodes.</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return the result of expand or collapse.</p>
- <p>true means: expand all nodes</p>
- <p>false means: collapse all nodes</p>
- <p>null means: have no parent node to expand or collapse.</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Expand all nodes</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.expandAll(true);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.expandNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.expandNode.html
deleted file mode 100644
index 6e103a1c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.expandNode.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode, expandFlag, sonSign, focus, callbackFlag)</span><span class="path">zTreeObj.</span>expandNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Expand or collapse single node.</p>
- <p class="highlight_red">Use expandNode() method of zTree v3.x can trigger 'beforeExpand / onExpand' or 'beforeCollapse / onCollapse' callback function. for reduce redundant code.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be expanded or collapsed</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>expandFlag</b><span>Boolean</span></h4>
- <p>expandFlag = true means: expand the node.</p>
- <p>expandFlag = false means: collapse the node.</p>
- <p class="highlight_red">If this parameter is omitted, then toggle expand or collapse depend this node's expanded state.</p>
- <h4 class="topLine"><b>sonSign</b><span>Boolean</span></h4>
- <p>sonSign = true means: expand or collapse all of the child nodes depend the 'expandFlag' parameter.</p>
- <p>sonSign = false means: only expand or collapse this node.</p>
- <p class="highlight_red">When sonSign = false and treeNode.open = expandFlag, will not trigger the callback.</p>
- <p class="highlight_red">If this parameter is omitted, it is same as 'sonSign = false'.</p>
- <h4 class="topLine"><b>focus</b><span>Boolean</span></h4>
- <p>focus = true means: after expand or collapse, set the focus of this node for view.</p>
- <p>focus = false means: after expand or coolapse, don't set the focus of this node.</p>
- <p class="highlight_red">If this parameter is omitted, it is same as 'focus = true'.</p>
- <h4 class="topLine"><b>callbackFlag</b><span>Boolean</span></h4>
- <p>callbackFlag = true means: call this method, will trigger 'beforeExpand / onExpand' or 'beforeCollapse / onCollapse' callback.</p>
- <p>callbackFlag = false means: call this method, will not trigger callback.</p>
- <p class="highlight_red">If this parameter is omitted, it is same as 'callbackFlag = false'</p>
- <h4 class="topLine"><b>Return </b><span>Boolean</span></h4>
- <p>return the result of expand or collapse.</p>
- <p>true means: expand node</p>
- <p>false means: collapse node</p>
- <p>null means: the node is not parent node.</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Expand the first selected node. (and expand this node's child nodes)</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-if (nodes.length>0) {
- treeObj.expandNode(nodes[0], true, true, true);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getChangeCheckedNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getChangeCheckedNodes.html
deleted file mode 100644
index 1193a9ac..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getChangeCheckedNodes.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">zTreeObj.</span>getChangeCheckedNodes</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Get the collection of nodes which be changed checked status. (Compared with the original data checkedOld) It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>Return </b><span>Array(JSON)</span></h4>
- <p>return the collection of nodes which be changed checked status (Array)</p>
- <p class="highlight_red">If you need to get the collection of nodes which changed the checked status, when nodes be checked or unchecked, so please set treeNode.checkedOld = treeNode.checked ( for all of the be changed checked status nodes ).</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Get the collection of nodes which be changed checked status</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getChangeCheckedNodes();
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getCheckedNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getCheckedNodes.html
deleted file mode 100644
index 8fa348f2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getCheckedNodes.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(checked)</span><span class="path">zTreeObj.</span>getCheckedNodes</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Get the collection of nodes which be checked or unchecked. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>checked</b><span>Boolean</span></h4>
- <p>checked = true means: get the collection of nodes which be checked</p>
- <p>checked = false means: get the collection of nodes which be unchecked</p>
- <p class="highlight_red">If this parameter is omitted, it is same as 'checked = true'</p>
- <p class="highlight_red">Don't get the nodes which 'nochecked' attribute is true.</p>
- <h4 class="topLine"><b>Return </b><span>Array(JSON)</span></h4>
- <p>return the collection of nodes which be checked or unchecked. (Array)</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Get the collection of nodes which be checked.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getCheckedNodes(true);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodeByParam.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodeByParam.html
deleted file mode 100644
index 58f86a6d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodeByParam.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(key, value, parentNode)</span><span class="path">zTreeObj.</span>getNodeByParam</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>According to the node data attribute, search the node which exactly matches, and get the JSON object of node.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>key</b><span>String</span></h4>
- <p>The name of attribute which need to exactly match</p>
- <h4 class="topLine"><b>value</b><span>?</span></h4>
- <p>The value which need to exactly match, can be any type, please ensure its type consistent with the attribute values.</p>
- <h4 class="topLine"><b>parentNode</b><span>JSON</span></h4>
- <p>The search range, you can search node from a parent node's child nodes.</p>
- <p class="highlight_red">If this parameter is omitted, zTree will search node from all nodes.</p>
- <h4 class="topLine"><b>Return </b><span>JSON</span></h4>
- <p>JSON data object of the node which be searched.</p>
- <p class="highlight_red">1. If search none node, return null.</p>
- <p class="highlight_red">2. If there are many nodes can be searched, return the first node.</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Search the node which its 'id' attribute is 1.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var node = treeObj.getNodeByParam("id", 1, null);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodeByTId.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodeByTId.html
deleted file mode 100644
index 6635df80..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodeByTId.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(tId)</span><span class="path">zTreeObj.</span>getNodeByTId</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>According the unique identifier tId of zTree, quick get the node's JSON data object.</p>
- <p class="highlight_red">Get the node from the cache, don't need to search from all nodes.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>tId</b><span>String</span></h4>
- <p>The unique identifier of node.</p>
- <h4 class="topLine"><b>Return </b><span>JSON</span></h4>
- <p>JSON data object of the node which be searched.</p>
- <p class="highlight_red">If no result, return null.</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. 1. Search the node which its 'tId' attribute is 'tree_10'</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var node = treeObj.getNodeByTId("tree_10");
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodeIndex.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodeIndex.html
deleted file mode 100644
index 95ae1f39..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodeIndex.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode)</span><span class="path">zTreeObj.</span>getNodeIndex</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Get the node's index in the same level nodes. (start from 0)</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which need to get index.</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>Return </b><span>Number</span></h4>
- <p class="highlight_red">return the index. (start from 0)</p>
- <p class="highlight_red">If there is no this node, return -1.</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Get the first selected node's index in the same level nodes.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-if (nodes.length>0) {
- var index = treeObj.getNodeIndex(nodes[0]);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodes.html
deleted file mode 100644
index e0e4ddb5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodes.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">zTreeObj.</span>getNodes</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Get all of the nodes in zTree</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>Return </b><span>Array(JSON)</span></h4>
- <p>return all of the nodes</p>
- <p class="highlight_red">1. This array is a collection of the root nodes (the default child nodes are in the 'children' attributes);</p>
- <p class="highlight_red">2. Traverse all the nodes need to use recursion, or the use of transformToArray() method make the nodes to be a simple array.</p>
- <p class="highlight_red">3. For the asynchronous loading mode, can't get the nodes which are yet loaded.</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Get all of the nodes</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodesByFilter.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodesByFilter.html
deleted file mode 100644
index 1705440a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodesByFilter.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(filter, isSingle, parentNode, invokeParam)</span><span class="path">zTreeObj.</span>getNodesByFilter</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Search the single node's data or collection of nodes's data by custom rules.</p>
- <p class="highlight_red">Can be customized complex search rules.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>filter</b><span>Function</span></h4>
- <p>Custom search function. e.g. function filter(node) {...}</p>
- <p>filter's parameter: node (node's data -- JSON)</p>
- <p>filter's return: boolean (true means: match the rules; false means: don't match the rules)</p>
- <h4 class="topLine"><b>isSingle</b><span>Boolean</span></h4>
- <p>isSingle = true means: search only one node</p>
- <p>isSingle = false means: search the array of the nodes</p>
- <p class="highlight_red">If this parameter is omitted, as same as false</p>
- <h4 class="topLine"><b>parentNode</b><span>JSON</span></h4>
- <p>The search range, you can search node from a parent node's child nodes.</p>
- <p class="highlight_red">If this parameter is omitted, zTree will search node from all nodes.</p>
- <h4 class="topLine"><b>invokeParam</b><span>anything</span></h4>
- <p>Custom data object by user, used to calculate in the filter function.</p>
- <h4 class="topLine"><b>Return </b><span>Array(JSON) / JSON</span></h4>
- <p>If isSingle = true, will return the first node's data (JSON) what be matched. If no match, return null.</p>
- <p>If isSingle = false, will return the array of all nodes's data what be matched. if no match, return [ ].</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Search the nodes which their 'name' contains 'test' and 'level' is 2.</h4>
- <pre xmlns=""><code>function filter(node) {
- return (node.level == 2 && node.name.indexOf("test")>-1);
-}
-......
-var treeObj = $.fn.zTree.getZTreeObj("tree");
-var node = treeObj.getNodesByFilter(filter, true); // search only one node
-var nodes = treeObj.getNodesByFilter(filter); // search the array of the nodes
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodesByParam.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodesByParam.html
deleted file mode 100644
index cb9335ae..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodesByParam.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(key, value, parentNode)</span><span class="path">zTreeObj.</span>getNodesByParam</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>According to the node data attribute, search the nodes which exactly matches, and get the JSON objects collection of nodes.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>key</b><span>String</span></h4>
- <p>The name of attribute which need to exactly match</p>
- <h4 class="topLine"><b>value</b><span>?</span></h4>
- <p>The value which need to exactly match, can be any type, please ensure its type consistent with the attribute values.</p>
- <h4 class="topLine"><b>parentNode</b><span>JSON</span></h4>
- <p>The search range, you can search node from a parent node's child nodes.</p>
- <p class="highlight_red">If this parameter is omitted, zTree will search node from all nodes.</p>
- <h4 class="topLine"><b>Return </b><span>Array(JSON)</span></h4>
- <p>The JSON data objects collection of the nodes which be searched.</p>
- <p class="highlight_red">If search none node, return [ ].</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Search the nodes which their 'name' attribute is 'test'.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodesByParam("name", "test", null);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodesByParamFuzzy.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodesByParamFuzzy.html
deleted file mode 100644
index 9bce4707..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getNodesByParamFuzzy.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(key, value, parentNode)</span><span class="path">zTreeObj.</span>getNodesByParamFuzzy</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>According to the node data attribute, search the nodes which fuzzy matches, and get the JSON objects collection of nodes.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>key</b><span>String</span></h4>
- <p>The name of attribute which need to fuzzy match</p>
- <h4 class="topLine"><b>value</b><span>String</span></h4>
- <p>The value which need to fuzzy match.</p>
- <p class="highlight_red">The type of value can only be String</p>
- <h4 class="topLine"><b>parentNode</b><span>JSON</span></h4>
- <p>The search range, you can search node from a parent node's child nodes.</p>
- <p class="highlight_red">If this parameter is omitted, zTree will search node from all nodes.</p>
- <h4 class="topLine"><b>Return </b><span>Array(JSON)</span></h4>
- <p>The JSON data objects collection of the nodes which be searched.</p>
- <p class="highlight_red">If search none node, return [ ].</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Search the nodes which their 'name' attribute contains the string 'test'.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodesByParamFuzzy("name", "test", null);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getSelectedNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getSelectedNodes.html
deleted file mode 100644
index 48ffad93..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.getSelectedNodes.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">zTreeObj.</span>getSelectedNodes</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Get the JSON data objects collection of the selected nodes in zTree.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>Return </b><span>Array(JSON)</span></h4>
- <p>The JSON data objects collection of the selected nodes.</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. get the selected nodes</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.hideNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.hideNode.html
deleted file mode 100644
index 7276309f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.hideNode.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode)</span><span class="path">zTreeObj.</span>hideNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exhide</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>To hide any node.</p>
- <p class="highlight_red">1. This feature can't support the 'exedit' feature, so please don't use this feature in edit mode.</p>
- <p class="highlight_red">2. If you hide or show the nodes, it will effect the 'isFirstNode' and 'isLastNode' attribute.</p>
- <p class="highlight_red">3. Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be hidden</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>Retrun </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. hide the first root node.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.hideNode(nodes[0]);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.hideNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.hideNodes.html
deleted file mode 100644
index 9836bec5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.hideNodes.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNodes)</span><span class="path">zTreeObj.</span>hideNodes</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exhide</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>To hide a group of nodes.</p>
- <p class="highlight_red">1. This feature can't support the 'exedit' feature, so please don't use this feature in edit mode.</p>
- <p class="highlight_red">2. If you hide or show the nodes, it will effect the 'isFirstNode' and 'isLastNode' attribute.</p>
- <p class="highlight_red">3. Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>the array of the nodes which will be hidden</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>Retrun </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. hide the first root node's children.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.hideNodes(nodes[0].children);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.moveNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.moveNode.html
deleted file mode 100644
index a44a1562..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.moveNode.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(targetNode, treeNode, moveType, isSilent)</span><span class="path">zTreeObj.</span>moveNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Move the node</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>targetNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be target.</p>
- <p class="highlight_red">If move the node to root node, please set the 'targetNode' to null.</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be moved.</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>moveType</b><span>String</span></h4>
- <p>Moved to the target node's relative position.</p>
- <p class="highlight_red">"inner" means: to be taregetNode's child node.</p>
- <p class="highlight_red">"prev" means: to be taregetNode's previous sibling node.</p>
- <p class="highlight_red">"next" means: to be taregetNode's next sibling node.</p>
- <h4 class="topLine"><b>isSilent</b><span>Boolean</span></h4>
- <p>After move the node, whether to automatically expand its parent node.</p>
- <p>isSilent = true means: don't expand its parent node.</p>
- <p>isSilent = false or omit this parameter means: expand its parent node.</p>
- <h4 class="topLine"><b>Return </b><span>JSON</span></h4>
- <p>return the node which be moved, it is same as the 'treeNode' parameter.</p>
- <p class="highlight_red">Return null means: move node has failed. The cause:<br/>
- &nbsp;1. the targetNode is the treeNode's parent node, and moveType = "inner"<br/>
- &nbsp;2. the targetNode is the treeNode's child node.
- </p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Move the second root node to the first root node's child node.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.moveNode(nodes[0], nodes[1], "inner");
-</code></pre>
- <h4>2. Move the second root node to the first root node's previous sibling node.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-treeObj.moveNode(nodes[0], nodes[1], "prev");
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.reAsyncChildNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.reAsyncChildNodes.html
deleted file mode 100644
index c6c44782..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.reAsyncChildNodes.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(parentNode, reloadType, isSilent)</span><span class="path">zTreeObj.</span>reAsyncChildNodes</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Forced asynchronous loading child nodes of parent node. It is valid when <span class="highlight_red">[setting.async.enable = true]</span></p>
- <p class="highlight_red">You can use this method to reload child nodes.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>parentNode</b><span>JSON</span></h4>
- <p>The parent node which will asynchronous loading child nodes.</p>
- <p class="highlight_red">1. If parentNode = null, it is same as reload root nodes.</p>
- <p class="highlight_red">2. If parentNode.isParent = false, don't load nodes.</p>
- <p class="highlight_red">3. Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>reloadType</b><span>String</span></h4>
- <p>reloadType = "refresh" means: reload child nodes.</p>
- <p>reloadType != "refresh" means: append to load child nodes.</p>
- <h4 class="topLine"><b>isSilent</b><span>Boolean</span></h4>
- <p>Set whether to automatically expand the parent node, after load nodes.</p>
- <p>isSilent = true means: don't auto expand the parent node. Otherwise auto expand.</p>
- <h4 class="topLine"><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. reload root nodes</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.reAsyncChildNodes(null, "refresh");
-</code></pre>
- <h4>2. reload the first selected node's child nodes.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-if (nodes.length>0) {
- treeObj.reAsyncChildNodes(nodes[0], "refresh");
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.refresh.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.refresh.html
deleted file mode 100644
index 22b7bfe1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.refresh.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function()</span><span class="path">zTreeObj.</span>refresh</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Refresh zTree</p>
- <p class="highlight_red">If you have no special need, try not to use this method. If you refresh single node, please use updateNode() method. If you refresh child nodes in dynamic mode, please use the reAsyncChildNodes() method.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. refresh zTree </h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.refresh();
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.removeChildNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.removeChildNodes.html
deleted file mode 100644
index fbcb4a11..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.removeChildNodes.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(parentNode)</span><span class="path">zTreeObj.</span>removeChildNodes</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Remove a parent node's child nodes</p>
- <p class="highlight_red">1. After remove child nodes, the parent node will become a leaf node. Such as the need to maintain the parent node is still a parent node, set 'setting.data.keep.parent' attribute.</p>
- <p class="highlight_red">2. Do not use this method to empty the root. If you need to empty the root, you can initialization zTree, and set the initial nodes is null.</p>
- <p class="highlight_red">3. This method does not trigger any callback function.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>parentNode</b><span>JSON</span></h4>
- <p>The parent node which need to clear its child nodes.</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>Return </b><span>Array(JSON)</span></h4>
- <p>Return the parent node's child nodes which have been removed. If has no child nodes, return null.</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Remove the first selected node's child nodes</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-if (nodes && nodes.length>0) {
- treeObj.removeChildNodes(nodes[0]);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.removeNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.removeNode.html
deleted file mode 100644
index ace7d1a9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.removeNode.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode, callbackFlag)</span><span class="path">zTreeObj.</span>removeNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Remove a node</p>
- <p class="highlight_red">Use removeNode() method of zTree v3.x can trigger 'beforeRemove / onRemove' callback function. for reduce redundant code.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be removed.</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>callbackFlag</b><span>Boolean</span></h4>
- <p>callbackFlag = true means: call this method, will trigger 'beforeRemove' & 'onRemove' callback.</p>
- <p>callbackFlag = false means: call this method, will not trigger callback.</p>
- <p class="highlight_red">If this parameter is omitted, it is same as 'callbackFlag = false'</p>
- <h4 class="topLine"><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Remove all of the selected nodes.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-for (var i=0, l=nodes.length; i < l; i++) {
- treeObj.removeNode(nodes[i]);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.selectNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.selectNode.html
deleted file mode 100644
index 3b22e7f9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.selectNode.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode, addFlag)</span><span class="path">zTreeObj.</span>selectNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Select a node</p>
- <p class="highlight_red">zTree v3.x supports select multiple nodes.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which will be selected.</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>addFlag</b><span>Boolean</span></h4>
- <p>addFlag = true means: append to select node, don't affect the previously selected node, can select multiple nodes.</p>
- <p>addFlag = false means: select single node, prior the selected node is deselected.</p>
- <p class="highlight_red">If setting.view.selectedMulti = false, this para, this parameter is not valid, always select single node</p>
- <h4 class="topLine"><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Exampleso of function</h3>
- <h4>1. Select single node which be first selected.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-if (nodes.length>0) {
- treeObj.selectNode(nodes[0]);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.setChkDisabled.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.setChkDisabled.html
deleted file mode 100644
index 9602c790..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.setChkDisabled.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(node, disabled, inheritParent, inheritChildren)</span><span class="path">zTreeObj.</span>setChkDisabled</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Set the node's checkbox or radio is disabled or remove disabled. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
- <p class="highlight_red">1. After the node's checkbox / radio is disabled, it can not be checked or unchecked, but it can affect the half-checked status of the parent node.</p>
- <p class="highlight_red">2. Please do not directly modify the 'chkDisabled' attribute of the loaded node.</p>
- <p class="highlight_red">3. Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which need to be checked or unchecked.</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>disabled</b><span>Boolean</span></h4>
- <p>disabled = true means: the node's checkbox / radio is disabled.</p>
- <p>disabled = false means: the node's checkbox / radio is removed disabled.</p>
- <p class="highlight_red">If this parameter is omitted, it is same as disabled = false </p>
- <p class="highlight_red">Don't affect the node which 'nochecked' attribute is true.</p>
- <h4 class="topLine"><b>inheritParent</b><span>Boolean</span></h4>
- <p>inheritParent = true means: all parent nodes's disabled status will be same as this node.</p>
- <p>inheritParent = false means: all parent nodes's disabled status will be not affected.</p>
- <p class="highlight_red">If this parameter is omitted, it is same as 'inheritParent = false'</p>
- <h4 class="topLine"><b>inheritChildren</b><span>Boolean</span></h4>
- <p>inheritChildren = true means: all child nodes's disabled status will be same as this node.</p>
- <p>inheritChildren = false means: all child nodes's disabled status will be not affected.</p>
- <p class="highlight_red">If this parameter is omitted, it is same as 'inheritChildren = false'</p>
- <h4 class="topLine"><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Set the selected nodes's checkbox / radio to be disabled.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-for (var i=0, l=nodes.length; i < l; i++) {
- treeObj.setChkDisabled(nodes[i], true);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.setEditable.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.setEditable.html
deleted file mode 100644
index 85f7bc0e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.setEditable.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(editable)</span><span class="path">zTreeObj.</span>setEditable</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Edit mode and normal mode switch.</p>
- <p class="highlight_red">To use edit mode, please set the attributes in 'setting.edit'</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>editable</b><span>Boolean</span></h4>
- <p>true means: set zTree to edit mode.</p>
- <p>false means: set zTree to normal mode.</p>
- <h4><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. set zTree to edit mode</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.setEditable(true);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.setting.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.setting.html
deleted file mode 100644
index 270d7af8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.setting.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>JSON</span><span class="path">zTreeObj.</span>setting</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>The configuration data of zTree, refer to "<span class="highlight_red">setting details</span>" </p>
- <p class="highlight_red">zTree v3.x to cancel the original operation setting method, so users can modify.</p>
- <p class="highlight_red">Note: Modify the parameters which affect zTree initialization will not work, please first understand the different attributes.</p>
- </div>
- </div>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.showNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.showNode.html
deleted file mode 100644
index 8dd98916..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.showNode.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode)</span><span class="path">zTreeObj.</span>showNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exhide</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>To hide any node which be hidden.</p>
- <p class="highlight_red">1. This feature can't support the 'exedit' feature, so please don't use this feature in edit mode.</p>
- <p class="highlight_red">2. If you hide or show the nodes, it will effect the 'isFirstNode' and 'isLastNode' attribute.</p>
- <p class="highlight_red">3. Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>JSON data object of the node which will be shown</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>Retrun </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. show someone node which be hidden.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var node = treeObj.getNodeByParam("isHidden", true);
-if (node) {
- treeObj.showNode(node);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.showNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.showNodes.html
deleted file mode 100644
index 95c6dafe..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.showNodes.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNodes)</span><span class="path">zTreeObj.</span>showNodes</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exhide</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>To show a group of nodes which be hidden.</p>
- <p class="highlight_red">1. This feature can't support the 'exedit' feature, so please don't use this feature in edit mode.</p>
- <p class="highlight_red">2. If you hide or show the nodes, it will effect the 'isFirstNode' and 'isLastNode' attribute.</p>
- <p class="highlight_red">3. Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNodes</b><span>Array(JSON)</span></h4>
- <p>the array of the nodes which will be shown</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>Retrun </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. show all of the nodes which be hidden.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodesByParam("isHidden", true);
-treeObj.showNodes(nodes);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.transformToArray.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.transformToArray.html
deleted file mode 100644
index 31dd2f95..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.transformToArray.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNodes)</span><span class="path">zTreeObj.</span>transformToArray</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p></p>
- <p>Transform the zTree nodes data into simple array. (To avoid the user to write code to traverse all nodes)</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNodes</b><span>Array(JSON) / JSON</span></h4>
- <p>JSON data object of the node which need to be transformed.</p>
- <p>or JSON data objects collection of the nodes which need to be transformed.</p>
- <h4 class="topLine"><b>Return </b><span>Array(JSON)</span></h4>
- <p>The JSON data objects array of the nodes which be transformed.</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Transform the zTree nodes data into simple array.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.transformToArray(treeObj.getNodes());
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.transformTozTreeNodes.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.transformTozTreeNodes.html
deleted file mode 100644
index 91794ab1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.transformTozTreeNodes.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(simpleNodes)</span><span class="path">zTreeObj.</span>transformTozTreeNodes</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Transform the simple array into zTree nodes data.</p>
- <p class="highlight_red">If you use this method, you must set 'setting.data.simpleData.idKey' and 'setting.data.simpleData.pIdKey' attribute, and let the data are consistent with parent-child relationship.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>simpleNodes</b><span>Array(JSON) / JSON</span></h4>
- <p>JSON data object of the node which need to be transformed.</p>
- <p>or JSON data objects array of the nodes which need to be transformed.</p>
- <h4 class="topLine"><b>Return </b><span>Array(JSON)</span></h4>
- <p>Standard data which zTree use. The child nodes are stored in the parent node's 'children' attribute.</p>
- <p class="highlight_red">If simpleNodes is a single JSON, so the return array's length is 1.</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Transform the simple array data into zTree nodes format.</h4>
- <pre xmlns=""><code>var setting = {
- data: {
- simpleData: {
- enable: true,
- idKey: "id",
- pIdKey: "pId",
- rootPId: 0,
- }
- }
-};
-var simpleNodes = [
- {"id":1, "pId":0, "name":"test1"},
- {"id":11, "pId":1, "name":"test11"},
- {"id":12, "pId":1, "name":"test12"},
- {"id":111, "pId":11, "name":"test111"}
-];
-var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.transformTozTreeNodes(simpleNodes);
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.updateNode.html b/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.updateNode.html
deleted file mode 100644
index e19d6007..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/api/en/zTreeObj.updateNode.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<div class="apiDetail">
-<div>
- <h2><span>Function(treeNode, checkTypeFlag)</span><span class="path">zTreeObj.</span>updateNode</h2>
- <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
- <div class="desc">
- <p></p>
- <div class="longdesc">
- <p>Update node data. Primarily used to update the node's DOM.</p>
- <p class="highlight_red">1. Can update the attributes for display (e.g. 'name', 'target', 'url', 'icon', 'iconSkin', 'checked', 'nocheck'), do not update the other attributes. For example: If you need to expand the node, please use expandNode() method, do not modify the 'open' attribute.</p>
- <p class="highlight_red">2. Use updateNode() method of zTree can't trigger 'beforeCheck' or 'onCheck' callback function.</p>
- <p class="highlight_red">Please use zTree object to executing the method.</p>
- </div>
- </div>
- <h3>Function Parameter Descriptions</h3>
- <div class="desc">
- <h4><b>treeNode</b><span>JSON</span></h4>
- <p>JSON data object of the node which need to update.</p>
- <p class="highlight_red">Please ensure that this data object is an internal node data object in zTree.</p>
- <h4 class="topLine"><b>checkTypeFlag</b><span>Boolean</span></h4>
- <p>checkTypeFlag = true means: According to 'setting.check.chkboxType' attribute automatically check or uncheck the parent and child nodes.</p>
- <p>checkTypeFlag = false means: only check or uncheck this node, don't affect its parent and child nodes.</p>
- <p class="highlight_red">This parameter is valid when 'setting.check.enable = true' and 'setting.check.chkStyle = "checkbox"'</p>
- <p class="highlight_red">Don't affect the parent and child nodes which 'nochecked' attribute is true.</p>
- <h4 class="topLine"><b>Return </b><span>none</span></h4>
- <p>no return value</p>
- </div>
- <h3>Examples of function</h3>
- <h4>1. Modify the first selected node's name, and update it.</h4>
- <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-if (nodes.length>0) {
- nodes[0].name = "test";
- treeObj.updateNode(nodes[0]);
-}
-</code></pre>
-</div>
-</div> \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/demo.css b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/demo.css
deleted file mode 100644
index e820dd9a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/demo.css
+++ /dev/null
@@ -1,33 +0,0 @@
-/* html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
- margin: 0;padding: 0;border: 0;outline: 0;font-weight: inherit;font-style: inherit;font-size: 100%;font-family: inherit;vertical-align: baseline;}
-body {color: #2f332a;font: 15px/21px Arial, Helvetica, simsun, sans-serif;background: #f0f6e4 \9;}
-h1, h2, h3, h4, h5, h6 {color: #2f332a;font-weight: bold;font-family: Helvetica, Arial, sans-serif;padding-bottom: 5px;}
-h1 {font-size: 24px;line-height: 34px;text-align: center;}
-h2 {font-size: 14px;line-height: 24px;padding-top: 5px;}
-h6 {font-weight: normal;font-size: 12px;letter-spacing: 1px;line-height: 24px;text-align: center;} */
-/* a {color:#3C6E31;text-decoration: underline;}
-a:hover {background-color:#3C6E31;color:white;} */
-input.radio {margin: 0 2px 0 8px;}
-input.radio.first {margin-left:0;}
-input.empty {color: lightgray;}
-code {color: #2f332a;}
-.highlight_red {color:#A60000;}
-.highlight_green {color:#A7F43D;}
-li {list-style: circle;font-size: 12px;}
-li.title {list-style: none;}
-ul.list {margin-left: 17px;}
-
-div.content_wrap {width: 600px;height:380px;}
-div.content_wrap div.left{float: left;width: 250px;}
-div.content_wrap div.right{float: right;width: 340px;}
-div.zTreeDemoBackground {width:250px;height:362px;text-align:left;}
-
-ul.ztree {margin-top: 10px;border: 1px solid #eee;/*background: #f0f6e4;width:220px;height:360px;*/overflow-y:auto;overflow-x:auto;/*ict*/padding: 25px;padding-right: 50px;}
-ul.log {border: 1px solid #617775;background: #f0f6e4;width:300px;height:170px;overflow: hidden;}
-ul.log.small {height:45px;}
-ul.log li {color: #666666;list-style: none;padding-left: 10px;}
-ul.log li.dark {background-color: #E3E3E3;}
-
-/* ruler */
-div.ruler {height:20px; width:220px; background-color:#f0f6e4;border: 1px solid #333; margin-bottom: 5px; cursor: pointer}
-div.ruler div.cursor {height:20px; width:30px; background-color:#3C6E31; color:white; text-align: right; padding-right: 5px; cursor: pointer} \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/ReadMe.txt b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/ReadMe.txt
deleted file mode 100644
index c4ae4434..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/ReadMe.txt
+++ /dev/null
@@ -1 +0,0 @@
-½ڵ㣬ɾקڵ㣬zTreeStyle_select.cssļ \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/Thumbs.db b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/Thumbs.db
deleted file mode 100644
index 4fe7e7e2..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/Thumbs.db
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/1_close.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/1_close.png
deleted file mode 100644
index 68ccb3c3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/1_close.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/1_open.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/1_open.png
deleted file mode 100644
index d6ff36d3..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/1_open.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/2.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/2.png
deleted file mode 100644
index 9eff506b..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/2.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/3.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/3.png
deleted file mode 100644
index d7ba6d0c..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/3.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/4.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/4.png
deleted file mode 100644
index 753e2bfd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/4.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/5.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/5.png
deleted file mode 100644
index 0c5eccd5..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/5.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/6.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/6.png
deleted file mode 100644
index 070b8352..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/6.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/7.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/7.png
deleted file mode 100644
index 532b037f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/7.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/8.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/8.png
deleted file mode 100644
index a8f3a86e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/8.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/9.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/9.png
deleted file mode 100644
index 4db73cd4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/9.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/Thumbs.db b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/Thumbs.db
deleted file mode 100644
index f4a46171..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/diy/Thumbs.db
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/line_conn.gif b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/line_conn.gif
deleted file mode 100644
index d561d36a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/line_conn.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/loading.gif b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/loading.gif
deleted file mode 100644
index e8c28929..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/loading.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.gif b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.gif
deleted file mode 100644
index 50c94fd4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.gif
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.gifbak b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.gifbak
deleted file mode 100644
index 50c94fd4..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.gifbak
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.png b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.png
deleted file mode 100644
index e831f6d1..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.png
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.pngbak b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.pngbak
deleted file mode 100644
index ffda01ef..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.pngbak
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.psd b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.psd
deleted file mode 100644
index e3630f4e..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/img/zTreeStandard.psd
+++ /dev/null
Binary files differ
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/zTreeStyle.css b/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/zTreeStyle.css
deleted file mode 100644
index 572842ec..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/css/zTreeStyle/zTreeStyle.css
+++ /dev/null
@@ -1,107 +0,0 @@
-/*-------------------------------------
-zTree Style
-
-version: 3.4
-author: Hunter.z
-email: hunter.z@263.net
-website: http://code.google.com/p/jquerytree/
-
--------------------------------------*/
-
-.ztree * {padding:0; margin:0; font-size:14px; font-family: Verdana, Arial, Helvetica, AppleGothic, sans-serif}
-.ztree {margin:0; padding:5px; color:#333; /*overflow-x: auto;*/ overflow-x: visible;}
-.ztree li{padding:0; margin:0; list-style:none; line-height:14px; text-align:left; white-space:nowrap; outline:0}
-.ztree li ul{ margin:0; padding:0 0 0 18px}
-.ztree li ul.line{ background:url(./img/line_conn.gif) 0 0 repeat-y;}
-
-.ztree li a {padding:1px 3px 0 0; margin:0; cursor:pointer; height:30px; color:#333; background-color: transparent;
- text-decoration:none; vertical-align:top; display: inline-block;
- /*ict*/width:100%;
- background: #fff;
- border: 1px solid #eeeeee;
- color: #606060;
- padding: 10px ;
- padding-top: 5px;
- padding-right:10%;
-}
-.ztree li a:hover {text-decoration:underline}
-.ztree li a.curSelectedNode {padding-top:5px; background-color:#e7f2f9; color:#2a2a2a; height:28px; border:1px #accbdd solid; opacity:0.8;}
-.ztree li a.curSelectedNode_Edit {padding-top:0px; background-color:#e7f2f9; color:#2a2a2a; height:16px; border:1px #accbdd solid; opacity:0.8;}
-.ztree li a.tmpTargetNode_inner {padding-top:5px; background-color:#316AC5; color:white; height:26px; border:1px #316AC5 solid;
- opacity:0.8; filter:alpha(opacity=80)}
-.ztree li a.tmpTargetNode_prev {}
-.ztree li a.tmpTargetNode_next {}
-.ztree li a input.rename {height:14px; width:80px; padding:0; margin:0;
- font-size:12px; border:1px #7EC4CC solid; *border:0px}
-.ztree li span {line-height:16px; margin-right:2px}
-.ztree li span.button {line-height:0; margin:0; width:16px; height:16px; display: inline-block; vertical-align:middle;
- border:0 none; cursor: pointer;outline:none;
- background-color:transparent; background-repeat:no-repeat; background-attachment: scroll;
- background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")}
-
-.ztree li span.button.chk {width:13px; height:13px; margin:0 3px 0 0; cursor: auto}
-.ztree li span.button.chk.checkbox_false_full {background-position:0 0}
-.ztree li span.button.chk.checkbox_false_full_focus {background-position:0 -14px}
-.ztree li span.button.chk.checkbox_false_part {background-position:0 -28px}
-.ztree li span.button.chk.checkbox_false_part_focus {background-position:0 -42px}
-.ztree li span.button.chk.checkbox_false_disable {background-position:0 -56px}
-.ztree li span.button.chk.checkbox_true_full {background-position:-14px 0}
-.ztree li span.button.chk.checkbox_true_full_focus {background-position:-14px -14px}
-.ztree li span.button.chk.checkbox_true_part {background-position:-14px -28px}
-.ztree li span.button.chk.checkbox_true_part_focus {background-position:-14px -42px}
-.ztree li span.button.chk.checkbox_true_disable {background-position:-14px -56px}
-.ztree li span.button.chk.radio_false_full {background-position:-28px 0}
-.ztree li span.button.chk.radio_false_full_focus {background-position:-28px -14px}
-.ztree li span.button.chk.radio_false_part {background-position:-28px -28px}
-.ztree li span.button.chk.radio_false_part_focus {background-position:-28px -42px}
-.ztree li span.button.chk.radio_false_disable {background-position:-28px -56px}
-.ztree li span.button.chk.radio_true_full {background-position:-42px 0}
-.ztree li span.button.chk.radio_true_full_focus {background-position:-42px -14px}
-.ztree li span.button.chk.radio_true_part {background-position:-42px -28px}
-.ztree li span.button.chk.radio_true_part_focus {background-position:-42px -42px}
-.ztree li span.button.chk.radio_true_disable {background-position:-42px -56px}
-
-.ztree li span.button.switch {width:18px; height:18px}
-.ztree li span.button.root_open{background-position:-92px -54px}
-.ztree li span.button.root_close{background-position:-74px -54px}
-.ztree li span.button.roots_open{background-position:-92px 0}
-.ztree li span.button.roots_close{background-position:-74px 0}
-.ztree li span.button.center_open{background-position:-92px -18px}
-.ztree li span.button.center_close{background-position:-74px -18px}
-.ztree li span.button.bottom_open{background-position:-92px -36px}
-.ztree li span.button.bottom_close{background-position:-74px -36px}
-.ztree li span.button.noline_open{background-position:-92px -72px}
-.ztree li span.button.noline_close{background-position:-74px -72px}
-.ztree li span.button.root_docu{ background:none;}
-.ztree li span.button.roots_docu{background-position:-56px 0}
-.ztree li span.button.center_docu{background-position:-56px -18px}
-.ztree li span.button.bottom_docu{background-position:-56px -36px}
-.ztree li span.button.noline_docu{ background:none;}
-
-.ztree li span.button.ico_open{margin-right:2px; background-position:-110px -16px; vertical-align:top; *vertical-align:middle}
-.ztree li span.button.ico_close{margin-right:2px; background-position:-110px 0; vertical-align:top; *vertical-align:middle}
-.ztree li span.button.ico_docu{margin-right:2px; background-position:-110px -32px; vertical-align:top; *vertical-align:middle}
-/*ict*/
-.ztree li span.button.add {margin-left:2px; /* margin-right: -1px; */ margin-right: 2px; background-position:-144px 0; vertical-align:top; *vertical-align:middle;float: right;}
-.ztree li span.button.edit {margin-right:2px; background-position:-110px -48px; vertical-align:top; *vertical-align:middle;float: right;}
-.ztree li span.button.remove {margin-right:2px; background-position:-110px -64px; vertical-align:top; *vertical-align:middle;float: right;}
-
-.ztree li span.button.ico_loading{margin-right:2px; background:url(./img/loading.gif) no-repeat scroll 0 0 transparent; vertical-align:top; *vertical-align:middle}
-
-ul.tmpTargetzTree {background-color:#FFE6B0; opacity:0.8; filter:alpha(opacity=80)}
-
-span.tmpzTreeMove_arrow {width:16px; height:16px; display: inline-block; padding:0; margin:2px 0 0 1px; border:0 none; position:absolute;
- background-color:transparent; background-repeat:no-repeat; background-attachment: scroll;
- background-position:-110px -80px; background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")}
-
-ul.ztree.zTreeDragUL {margin:0; padding:0; position:absolute; width:auto; height:auto;overflow:hidden; background-color:#cfcfcf; border:1px #00B83F dotted; opacity:0.8; filter:alpha(opacity=80)}
-.zTreeMask {z-index:10000; background-color:#cfcfcf; opacity:0.0; filter:alpha(opacity=0); position:absolute}
-
-/* level style*/
-/*.ztree li span.button.level0 {
- display:none;
-}
-.ztree li ul.level0 {
- padding:0;
- background:none;
-}*/ \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.all.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.all.js
deleted file mode 100644
index 02bb6d22..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.all.js
+++ /dev/null
@@ -1,3506 +0,0 @@
-
-/*
- * JQuery zTree core v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function($){
- var settings = {}, roots = {}, caches = {},
- //default consts of core
- _consts = {
- className: {
- BUTTON: "button",
- LEVEL: "level",
- ICO_LOADING: "ico_loading",
- SWITCH: "switch"
- },
- event: {
- NODECREATED: "ztree_nodeCreated",
- CLICK: "ztree_click",
- EXPAND: "ztree_expand",
- COLLAPSE: "ztree_collapse",
- ASYNC_SUCCESS: "ztree_async_success",
- ASYNC_ERROR: "ztree_async_error",
- REMOVE: "ztree_remove"
- },
- id: {
- A: "_a",
- ICON: "_ico",
- SPAN: "_span",
- SWITCH: "_switch",
- UL: "_ul"
- },
- line: {
- ROOT: "root",
- ROOTS: "roots",
- CENTER: "center",
- BOTTOM: "bottom",
- NOLINE: "noline",
- LINE: "line"
- },
- folder: {
- OPEN: "open",
- CLOSE: "close",
- DOCU: "docu"
- },
- node: {
- CURSELECTED: "curSelectedNode"
- }
- },
- //default setting of core
- _setting = {
- treeId: "",
- treeObj: null,
- view: {
- addDiyDom: null,
- autoCancelSelected: true,
- dblClickExpand: true,
- expandSpeed: "fast",
- fontCss: {},
- nameIsHTML: false,
- selectedMulti: true,
- showIcon: true,
- showLine: true,
- showTitle: true,
- txtSelectedEnable: false
- },
- data: {
- key: {
- children: "children",
- name: "name",
- title: "",
- url: "url"
- },
- simpleData: {
- enable: false,
- idKey: "id",
- pIdKey: "pId",
- rootPId: null
- },
- keep: {
- parent: false,
- leaf: false
- }
- },
- async: {
- enable: false,
- contentType: "application/x-www-form-urlencoded",
- type: "post",
- dataType: "text",
- url: "",
- autoParam: [],
- otherParam: [],
- dataFilter: null
- },
- callback: {
- beforeAsync:null,
- beforeClick:null,
- beforeDblClick:null,
- beforeRightClick:null,
- beforeMouseDown:null,
- beforeMouseUp:null,
- beforeExpand:null,
- beforeCollapse:null,
- beforeRemove:null,
-
- onAsyncError:null,
- onAsyncSuccess:null,
- onNodeCreated:null,
- onClick:null,
- onDblClick:null,
- onRightClick:null,
- onMouseDown:null,
- onMouseUp:null,
- onExpand:null,
- onCollapse:null,
- onRemove:null
- }
- },
- //default root of core
- //zTree use root to save full data
- _initRoot = function (setting) {
- var r = data.getRoot(setting);
- if (!r) {
- r = {};
- data.setRoot(setting, r);
- }
- r[setting.data.key.children] = [];
- r.expandTriggerFlag = false;
- r.curSelectedList = [];
- r.noSelection = true;
- r.createdNodes = [];
- r.zId = 0;
- r._ver = (new Date()).getTime();
- },
- //default cache of core
- _initCache = function(setting) {
- var c = data.getCache(setting);
- if (!c) {
- c = {};
- data.setCache(setting, c);
- }
- c.nodes = [];
- c.doms = [];
- },
- //default bindEvent of core
- _bindEvent = function(setting) {
- var o = setting.treeObj,
- c = consts.event;
- o.bind(c.NODECREATED, function (event, treeId, node) {
- tools.apply(setting.callback.onNodeCreated, [event, treeId, node]);
- });
-
- o.bind(c.CLICK, function (event, srcEvent, treeId, node, clickFlag) {
- tools.apply(setting.callback.onClick, [srcEvent, treeId, node, clickFlag]);
- });
-
- o.bind(c.EXPAND, function (event, treeId, node) {
- tools.apply(setting.callback.onExpand, [event, treeId, node]);
- });
-
- o.bind(c.COLLAPSE, function (event, treeId, node) {
- tools.apply(setting.callback.onCollapse, [event, treeId, node]);
- });
-
- o.bind(c.ASYNC_SUCCESS, function (event, treeId, node, msg) {
- tools.apply(setting.callback.onAsyncSuccess, [event, treeId, node, msg]);
- });
-
- o.bind(c.ASYNC_ERROR, function (event, treeId, node, XMLHttpRequest, textStatus, errorThrown) {
- tools.apply(setting.callback.onAsyncError, [event, treeId, node, XMLHttpRequest, textStatus, errorThrown]);
- });
-
- o.bind(c.REMOVE, function (event, treeId, treeNode) {
- tools.apply(setting.callback.onRemove, [event, treeId, treeNode]);
- });
- },
- _unbindEvent = function(setting) {
- var o = setting.treeObj,
- c = consts.event;
- o.unbind(c.NODECREATED)
- .unbind(c.CLICK)
- .unbind(c.EXPAND)
- .unbind(c.COLLAPSE)
- .unbind(c.ASYNC_SUCCESS)
- .unbind(c.ASYNC_ERROR)
- .unbind(c.REMOVE);
- },
- //default event proxy of core
- _eventProxy = function(event) {
- var target = event.target,
- setting = data.getSetting(event.data.treeId),
- tId = "", node = null,
- nodeEventType = "", treeEventType = "",
- nodeEventCallback = null, treeEventCallback = null,
- tmp = null;
-
- if (tools.eqs(event.type, "mousedown")) {
- treeEventType = "mousedown";
- } else if (tools.eqs(event.type, "mouseup")) {
- treeEventType = "mouseup";
- } else if (tools.eqs(event.type, "contextmenu")) {
- treeEventType = "contextmenu";
- } else if (tools.eqs(event.type, "click")) {
- if (tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.SWITCH) !== null) {
- tId = tools.getNodeMainDom(target).id;
- nodeEventType = "switchNode";
- } else {
- tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]);
- if (tmp) {
- tId = tools.getNodeMainDom(tmp).id;
- nodeEventType = "clickNode";
- }
- }
- } else if (tools.eqs(event.type, "dblclick")) {
- treeEventType = "dblclick";
- tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]);
- if (tmp) {
- tId = tools.getNodeMainDom(tmp).id;
- nodeEventType = "switchNode";
- }
- }
- if (treeEventType.length > 0 && tId.length == 0) {
- tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]);
- if (tmp) {tId = tools.getNodeMainDom(tmp).id;}
- }
- // event to node
- if (tId.length>0) {
- node = data.getNodeCache(setting, tId);
- switch (nodeEventType) {
- case "switchNode" :
- if (!node.isParent) {
- nodeEventType = "";
- } else if (tools.eqs(event.type, "click")
- || (tools.eqs(event.type, "dblclick") && tools.apply(setting.view.dblClickExpand, [setting.treeId, node], setting.view.dblClickExpand))) {
- nodeEventCallback = handler.onSwitchNode;
- } else {
- nodeEventType = "";
- }
- break;
- case "clickNode" :
- nodeEventCallback = handler.onClickNode;
- break;
- }
- }
- // event to zTree
- switch (treeEventType) {
- case "mousedown" :
- treeEventCallback = handler.onZTreeMousedown;
- break;
- case "mouseup" :
- treeEventCallback = handler.onZTreeMouseup;
- break;
- case "dblclick" :
- treeEventCallback = handler.onZTreeDblclick;
- break;
- case "contextmenu" :
- treeEventCallback = handler.onZTreeContextmenu;
- break;
- }
- var proxyResult = {
- stop: false,
- node: node,
- nodeEventType: nodeEventType,
- nodeEventCallback: nodeEventCallback,
- treeEventType: treeEventType,
- treeEventCallback: treeEventCallback
- };
- return proxyResult
- },
- //default init node of core
- _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) {
- if (!n) return;
- var r = data.getRoot(setting),
- childKey = setting.data.key.children;
- n.level = level;
- n.tId = setting.treeId + "_" + (++r.zId);
- n.parentTId = parentNode ? parentNode.tId : null;
- n.open = (typeof n.open == "string") ? tools.eqs(n.open, "true") : !!n.open;
- if (n[childKey] && n[childKey].length > 0) {
- n.isParent = true;
- n.zAsync = true;
- } else {
- n.isParent = (typeof n.isParent == "string") ? tools.eqs(n.isParent, "true") : !!n.isParent;
- n.open = (n.isParent && !setting.async.enable) ? n.open : false;
- n.zAsync = !n.isParent;
- }
- n.isFirstNode = isFirstNode;
- n.isLastNode = isLastNode;
- n.getParentNode = function() {return data.getNodeCache(setting, n.parentTId);};
- n.getPreNode = function() {return data.getPreNode(setting, n);};
- n.getNextNode = function() {return data.getNextNode(setting, n);};
- n.isAjaxing = false;
- data.fixPIdKeyValue(setting, n);
- },
- _init = {
- bind: [_bindEvent],
- unbind: [_unbindEvent],
- caches: [_initCache],
- nodes: [_initNode],
- proxys: [_eventProxy],
- roots: [_initRoot],
- beforeA: [],
- afterA: [],
- innerBeforeA: [],
- innerAfterA: [],
- zTreeTools: []
- },
- //method of operate data
- data = {
- addNodeCache: function(setting, node) {
- data.getCache(setting).nodes[data.getNodeCacheId(node.tId)] = node;
- },
- getNodeCacheId: function(tId) {
- return tId.substring(tId.lastIndexOf("_")+1);
- },
- addAfterA: function(afterA) {
- _init.afterA.push(afterA);
- },
- addBeforeA: function(beforeA) {
- _init.beforeA.push(beforeA);
- },
- addInnerAfterA: function(innerAfterA) {
- _init.innerAfterA.push(innerAfterA);
- },
- addInnerBeforeA: function(innerBeforeA) {
- _init.innerBeforeA.push(innerBeforeA);
- },
- addInitBind: function(bindEvent) {
- _init.bind.push(bindEvent);
- },
- addInitUnBind: function(unbindEvent) {
- _init.unbind.push(unbindEvent);
- },
- addInitCache: function(initCache) {
- _init.caches.push(initCache);
- },
- addInitNode: function(initNode) {
- _init.nodes.push(initNode);
- },
- addInitProxy: function(initProxy, isFirst) {
- if (!!isFirst) {
- _init.proxys.splice(0,0,initProxy);
- } else {
- _init.proxys.push(initProxy);
- }
- },
- addInitRoot: function(initRoot) {
- _init.roots.push(initRoot);
- },
- addNodesData: function(setting, parentNode, nodes) {
- var childKey = setting.data.key.children;
- if (!parentNode[childKey]) parentNode[childKey] = [];
- if (parentNode[childKey].length > 0) {
- parentNode[childKey][parentNode[childKey].length - 1].isLastNode = false;
- view.setNodeLineIcos(setting, parentNode[childKey][parentNode[childKey].length - 1]);
- }
- parentNode.isParent = true;
- parentNode[childKey] = parentNode[childKey].concat(nodes);
- },
- addSelectedNode: function(setting, node) {
- var root = data.getRoot(setting);
- if (!data.isSelectedNode(setting, node)) {
- root.curSelectedList.push(node);
- }
- },
- addCreatedNode: function(setting, node) {
- if (!!setting.callback.onNodeCreated || !!setting.view.addDiyDom) {
- var root = data.getRoot(setting);
- root.createdNodes.push(node);
- }
- },
- addZTreeTools: function(zTreeTools) {
- _init.zTreeTools.push(zTreeTools);
- },
- exSetting: function(s) {
- $.extend(true, _setting, s);
- },
- fixPIdKeyValue: function(setting, node) {
- if (setting.data.simpleData.enable) {
- node[setting.data.simpleData.pIdKey] = node.parentTId ? node.getParentNode()[setting.data.simpleData.idKey] : setting.data.simpleData.rootPId;
- }
- },
- getAfterA: function(setting, node, array) {
- for (var i=0, j=_init.afterA.length; i<j; i++) {
- _init.afterA[i].apply(this, arguments);
- }
- },
- getBeforeA: function(setting, node, array) {
- for (var i=0, j=_init.beforeA.length; i<j; i++) {
- _init.beforeA[i].apply(this, arguments);
- }
- },
- getInnerAfterA: function(setting, node, array) {
- for (var i=0, j=_init.innerAfterA.length; i<j; i++) {
- _init.innerAfterA[i].apply(this, arguments);
- }
- },
- getInnerBeforeA: function(setting, node, array) {
- for (var i=0, j=_init.innerBeforeA.length; i<j; i++) {
- _init.innerBeforeA[i].apply(this, arguments);
- }
- },
- getCache: function(setting) {
- return caches[setting.treeId];
- },
- getNextNode: function(setting, node) {
- if (!node) return null;
- var childKey = setting.data.key.children,
- p = node.parentTId ? node.getParentNode() : data.getRoot(setting);
- for (var i=0, l=p[childKey].length-1; i<=l; i++) {
- if (p[childKey][i] === node) {
- return (i==l ? null : p[childKey][i+1]);
- }
- }
- return null;
- },
- getNodeByParam: function(setting, nodes, key, value) {
- if (!nodes || !key) return null;
- var childKey = setting.data.key.children;
- for (var i = 0, l = nodes.length; i < l; i++) {
- if (nodes[i][key] == value) {
- return nodes[i];
- }
- var tmp = data.getNodeByParam(setting, nodes[i][childKey], key, value);
- if (tmp) return tmp;
- }
- return null;
- },
- getNodeCache: function(setting, tId) {
- if (!tId) return null;
- var n = caches[setting.treeId].nodes[data.getNodeCacheId(tId)];
- return n ? n : null;
- },
- getNodeName: function(setting, node) {
- var nameKey = setting.data.key.name;
- return "" + node[nameKey];
- },
- getNodeTitle: function(setting, node) {
- var t = setting.data.key.title === "" ? setting.data.key.name : setting.data.key.title;
- return "" + node[t];
- },
- getNodes: function(setting) {
- return data.getRoot(setting)[setting.data.key.children];
- },
- getNodesByParam: function(setting, nodes, key, value) {
- if (!nodes || !key) return [];
- var childKey = setting.data.key.children,
- result = [];
- for (var i = 0, l = nodes.length; i < l; i++) {
- if (nodes[i][key] == value) {
- result.push(nodes[i]);
- }
- result = result.concat(data.getNodesByParam(setting, nodes[i][childKey], key, value));
- }
- return result;
- },
- getNodesByParamFuzzy: function(setting, nodes, key, value) {
- if (!nodes || !key) return [];
- var childKey = setting.data.key.children,
- result = [];
- value = value.toLowerCase();
- for (var i = 0, l = nodes.length; i < l; i++) {
- if (typeof nodes[i][key] == "string" && nodes[i][key].toLowerCase().indexOf(value)>-1) {
- result.push(nodes[i]);
- }
- result = result.concat(data.getNodesByParamFuzzy(setting, nodes[i][childKey], key, value));
- }
- return result;
- },
- getNodesByFilter: function(setting, nodes, filter, isSingle, invokeParam) {
- if (!nodes) return (isSingle ? null : []);
- var childKey = setting.data.key.children,
- result = isSingle ? null : [];
- for (var i = 0, l = nodes.length; i < l; i++) {
- if (tools.apply(filter, [nodes[i], invokeParam], false)) {
- if (isSingle) {return nodes[i];}
- result.push(nodes[i]);
- }
- var tmpResult = data.getNodesByFilter(setting, nodes[i][childKey], filter, isSingle, invokeParam);
- if (isSingle && !!tmpResult) {return tmpResult;}
- result = isSingle ? tmpResult : result.concat(tmpResult);
- }
- return result;
- },
- getPreNode: function(setting, node) {
- if (!node) return null;
- var childKey = setting.data.key.children,
- p = node.parentTId ? node.getParentNode() : data.getRoot(setting);
- for (var i=0, l=p[childKey].length; i<l; i++) {
- if (p[childKey][i] === node) {
- return (i==0 ? null : p[childKey][i-1]);
- }
- }
- return null;
- },
- getRoot: function(setting) {
- return setting ? roots[setting.treeId] : null;
- },
- getRoots: function() {
- return roots;
- },
- getSetting: function(treeId) {
- return settings[treeId];
- },
- getSettings: function() {
- return settings;
- },
- getZTreeTools: function(treeId) {
- var r = this.getRoot(this.getSetting(treeId));
- return r ? r.treeTools : null;
- },
- initCache: function(setting) {
- for (var i=0, j=_init.caches.length; i<j; i++) {
- _init.caches[i].apply(this, arguments);
- }
- },
- initNode: function(setting, level, node, parentNode, preNode, nextNode) {
- for (var i=0, j=_init.nodes.length; i<j; i++) {
- _init.nodes[i].apply(this, arguments);
- }
- },
- initRoot: function(setting) {
- for (var i=0, j=_init.roots.length; i<j; i++) {
- _init.roots[i].apply(this, arguments);
- }
- },
- isSelectedNode: function(setting, node) {
- var root = data.getRoot(setting);
- for (var i=0, j=root.curSelectedList.length; i<j; i++) {
- if(node === root.curSelectedList[i]) return true;
- }
- return false;
- },
- removeNodeCache: function(setting, node) {
- var childKey = setting.data.key.children;
- if (node[childKey]) {
- for (var i=0, l=node[childKey].length; i<l; i++) {
- arguments.callee(setting, node[childKey][i]);
- }
- }
- data.getCache(setting).nodes[data.getNodeCacheId(node.tId)] = null;
- },
- removeSelectedNode: function(setting, node) {
- var root = data.getRoot(setting);
- for (var i=0, j=root.curSelectedList.length; i<j; i++) {
- if(node === root.curSelectedList[i] || !data.getNodeCache(setting, root.curSelectedList[i].tId)) {
- root.curSelectedList.splice(i, 1);
- i--;j--;
- }
- }
- },
- setCache: function(setting, cache) {
- caches[setting.treeId] = cache;
- },
- setRoot: function(setting, root) {
- roots[setting.treeId] = root;
- },
- setZTreeTools: function(setting, zTreeTools) {
- for (var i=0, j=_init.zTreeTools.length; i<j; i++) {
- _init.zTreeTools[i].apply(this, arguments);
- }
- },
- transformToArrayFormat: function (setting, nodes) {
- if (!nodes) return [];
- var childKey = setting.data.key.children,
- r = [];
- if (tools.isArray(nodes)) {
- for (var i=0, l=nodes.length; i<l; i++) {
- r.push(nodes[i]);
- if (nodes[i][childKey])
- r = r.concat(data.transformToArrayFormat(setting, nodes[i][childKey]));
- }
- } else {
- r.push(nodes);
- if (nodes[childKey])
- r = r.concat(data.transformToArrayFormat(setting, nodes[childKey]));
- }
- return r;
- },
- transformTozTreeFormat: function(setting, sNodes) {
- var i,l,
- key = setting.data.simpleData.idKey,
- parentKey = setting.data.simpleData.pIdKey,
- childKey = setting.data.key.children;
- if (!key || key=="" || !sNodes) return [];
-
- if (tools.isArray(sNodes)) {
- var r = [];
- var tmpMap = [];
- for (i=0, l=sNodes.length; i<l; i++) {
- tmpMap[sNodes[i][key]] = sNodes[i];
- }
- for (i=0, l=sNodes.length; i<l; i++) {
- if (tmpMap[sNodes[i][parentKey]] && sNodes[i][key] != sNodes[i][parentKey]) {
- if (!tmpMap[sNodes[i][parentKey]][childKey])
- tmpMap[sNodes[i][parentKey]][childKey] = [];
- tmpMap[sNodes[i][parentKey]][childKey].push(sNodes[i]);
- } else {
- r.push(sNodes[i]);
- }
- }
- return r;
- }else {
- return [sNodes];
- }
- }
- },
- //method of event proxy
- event = {
- bindEvent: function(setting) {
- for (var i=0, j=_init.bind.length; i<j; i++) {
- _init.bind[i].apply(this, arguments);
- }
- },
- unbindEvent: function(setting) {
- for (var i=0, j=_init.unbind.length; i<j; i++) {
- _init.unbind[i].apply(this, arguments);
- }
- },
- bindTree: function(setting) {
- var eventParam = {
- treeId: setting.treeId
- },
- o = setting.treeObj;
- if (!setting.view.txtSelectedEnable) {
- // for can't select text
- o.bind('selectstart', function(e){
- var node
- var n = e.originalEvent.srcElement.nodeName.toLowerCase();
- return (n === "input" || n === "textarea" );
- }).css({
- "-moz-user-select":"-moz-none"
- });
- }
- o.bind('click', eventParam, event.proxy);
- o.bind('dblclick', eventParam, event.proxy);
- o.bind('mouseover', eventParam, event.proxy);
- o.bind('mouseout', eventParam, event.proxy);
- o.bind('mousedown', eventParam, event.proxy);
- o.bind('mouseup', eventParam, event.proxy);
- o.bind('contextmenu', eventParam, event.proxy);
- },
- unbindTree: function(setting) {
- var o = setting.treeObj;
- o.unbind('click', event.proxy)
- .unbind('dblclick', event.proxy)
- .unbind('mouseover', event.proxy)
- .unbind('mouseout', event.proxy)
- .unbind('mousedown', event.proxy)
- .unbind('mouseup', event.proxy)
- .unbind('contextmenu', event.proxy);
- },
- doProxy: function(e) {
- var results = [];
- for (var i=0, j=_init.proxys.length; i<j; i++) {
- var proxyResult = _init.proxys[i].apply(this, arguments);
- results.push(proxyResult);
- if (proxyResult.stop) {
- break;
- }
- }
- return results;
- },
- proxy: function(e) {
- var setting = data.getSetting(e.data.treeId);
- if (!tools.uCanDo(setting, e)) return true;
- var results = event.doProxy(e),
- r = true, x = false;
- for (var i=0, l=results.length; i<l; i++) {
- var proxyResult = results[i];
- if (proxyResult.nodeEventCallback) {
- x = true;
- r = proxyResult.nodeEventCallback.apply(proxyResult, [e, proxyResult.node]) && r;
- }
- if (proxyResult.treeEventCallback) {
- x = true;
- r = proxyResult.treeEventCallback.apply(proxyResult, [e, proxyResult.node]) && r;
- }
- }
- return r;
- }
- },
- //method of event handler
- handler = {
- onSwitchNode: function (event, node) {
- var setting = data.getSetting(event.data.treeId);
- if (node.open) {
- if (tools.apply(setting.callback.beforeCollapse, [setting.treeId, node], true) == false) return true;
- data.getRoot(setting).expandTriggerFlag = true;
- view.switchNode(setting, node);
- } else {
- if (tools.apply(setting.callback.beforeExpand, [setting.treeId, node], true) == false) return true;
- data.getRoot(setting).expandTriggerFlag = true;
- view.switchNode(setting, node);
- }
- return true;
- },
- onClickNode: function (event, node) {
- var setting = data.getSetting(event.data.treeId),
- clickFlag = ( (setting.view.autoCancelSelected && (event.ctrlKey || event.metaKey)) && data.isSelectedNode(setting, node)) ? 0 : (setting.view.autoCancelSelected && (event.ctrlKey || event.metaKey) && setting.view.selectedMulti) ? 2 : 1;
- if (tools.apply(setting.callback.beforeClick, [setting.treeId, node, clickFlag], true) == false) return true;
- if (clickFlag === 0) {
- view.cancelPreSelectedNode(setting, node);
- } else {
- view.selectNode(setting, node, clickFlag === 2);
- }
- setting.treeObj.trigger(consts.event.CLICK, [event, setting.treeId, node, clickFlag]);
- return true;
- },
- onZTreeMousedown: function(event, node) {
- var setting = data.getSetting(event.data.treeId);
- if (tools.apply(setting.callback.beforeMouseDown, [setting.treeId, node], true)) {
- tools.apply(setting.callback.onMouseDown, [event, setting.treeId, node]);
- }
- return true;
- },
- onZTreeMouseup: function(event, node) {
- var setting = data.getSetting(event.data.treeId);
- if (tools.apply(setting.callback.beforeMouseUp, [setting.treeId, node], true)) {
- tools.apply(setting.callback.onMouseUp, [event, setting.treeId, node]);
- }
- return true;
- },
- onZTreeDblclick: function(event, node) {
- var setting = data.getSetting(event.data.treeId);
- if (tools.apply(setting.callback.beforeDblClick, [setting.treeId, node], true)) {
- tools.apply(setting.callback.onDblClick, [event, setting.treeId, node]);
- }
- return true;
- },
- onZTreeContextmenu: function(event, node) {
- var setting = data.getSetting(event.data.treeId);
- if (tools.apply(setting.callback.beforeRightClick, [setting.treeId, node], true)) {
- tools.apply(setting.callback.onRightClick, [event, setting.treeId, node]);
- }
- return (typeof setting.callback.onRightClick) != "function";
- }
- },
- //method of tools for zTree
- tools = {
- apply: function(fun, param, defaultValue) {
- if ((typeof fun) == "function") {
- return fun.apply(zt, param?param:[]);
- }
- return defaultValue;
- },
- canAsync: function(setting, node) {
- var childKey = setting.data.key.children;
- return (setting.async.enable && node && node.isParent && !(node.zAsync || (node[childKey] && node[childKey].length > 0)));
- },
- clone: function (obj){
- if (obj === null) return null;
- var o = tools.isArray(obj) ? [] : {};
- for(var i in obj){
- o[i] = (obj[i] instanceof Date) ? new Date(obj[i].getTime()) : (typeof obj[i] === "object" ? arguments.callee(obj[i]) : obj[i]);
- }
- return o;
- },
- eqs: function(str1, str2) {
- return str1.toLowerCase() === str2.toLowerCase();
- },
- isArray: function(arr) {
- return Object.prototype.toString.apply(arr) === "[object Array]";
- },
- $: function(node, exp, setting) {
- if (!!exp && typeof exp != "string") {
- setting = exp;
- exp = "";
- }
- if (typeof node == "string") {
- return $(node, setting ? setting.treeObj.get(0).ownerDocument : null);
- } else {
- return $("#" + node.tId + exp, setting ? setting.treeObj : null);
- }
- },
- getMDom: function (setting, curDom, targetExpr) {
- if (!curDom) return null;
- while (curDom && curDom.id !== setting.treeId) {
- for (var i=0, l=targetExpr.length; curDom.tagName && i<l; i++) {
- if (tools.eqs(curDom.tagName, targetExpr[i].tagName) && curDom.getAttribute(targetExpr[i].attrName) !== null) {
- return curDom;
- }
- }
- curDom = curDom.parentNode;
- }
- return null;
- },
- getNodeMainDom:function(target) {
- return ($(target).parent("li").get(0) || $(target).parentsUntil("li").parent().get(0));
- },
- isChildOrSelf: function(dom, parentId) {
- return ( $(dom).closest("#" + parentId).length> 0 );
- },
- uCanDo: function(setting, e) {
- return true;
- }
- },
- //method of operate ztree dom
- view = {
- addNodes: function(setting, parentNode, newNodes, isSilent) {
- if (setting.data.keep.leaf && parentNode && !parentNode.isParent) {
- return;
- }
- if (!tools.isArray(newNodes)) {
- newNodes = [newNodes];
- }
- if (setting.data.simpleData.enable) {
- newNodes = data.transformTozTreeFormat(setting, newNodes);
- }
- if (parentNode) {
- var target_switchObj = $$(parentNode, consts.id.SWITCH, setting),
- target_icoObj = $$(parentNode, consts.id.ICON, setting),
- target_ulObj = $$(parentNode, consts.id.UL, setting);
-
- if (!parentNode.open) {
- view.replaceSwitchClass(parentNode, target_switchObj, consts.folder.CLOSE);
- view.replaceIcoClass(parentNode, target_icoObj, consts.folder.CLOSE);
- parentNode.open = false;
- target_ulObj.css({
- "display": "none"
- });
- }
-
- data.addNodesData(setting, parentNode, newNodes);
- view.createNodes(setting, parentNode.level + 1, newNodes, parentNode);
- if (!isSilent) {
- view.expandCollapseParentNode(setting, parentNode, true);
- }
- } else {
- data.addNodesData(setting, data.getRoot(setting), newNodes);
- view.createNodes(setting, 0, newNodes, null);
- }
- },
- appendNodes: function(setting, level, nodes, parentNode, initFlag, openFlag) {
- if (!nodes) return [];
- var html = [],
- childKey = setting.data.key.children;
- for (var i = 0, l = nodes.length; i < l; i++) {
- var node = nodes[i];
- if (initFlag) {
- var tmpPNode = (parentNode) ? parentNode: data.getRoot(setting),
- tmpPChild = tmpPNode[childKey],
- isFirstNode = ((tmpPChild.length == nodes.length) && (i == 0)),
- isLastNode = (i == (nodes.length - 1));
- data.initNode(setting, level, node, parentNode, isFirstNode, isLastNode, openFlag);
- data.addNodeCache(setting, node);
- }
-
- var childHtml = [];
- if (node[childKey] && node[childKey].length > 0) {
- //make child html first, because checkType
- childHtml = view.appendNodes(setting, level + 1, node[childKey], node, initFlag, openFlag && node.open);
- }
- if (openFlag) {
-
- view.makeDOMNodeMainBefore(html, setting, node);
- view.makeDOMNodeLine(html, setting, node);
- data.getBeforeA(setting, node, html);
- view.makeDOMNodeNameBefore(html, setting, node);
- data.getInnerBeforeA(setting, node, html);
- view.makeDOMNodeIcon(html, setting, node);
- data.getInnerAfterA(setting, node, html);
- view.makeDOMNodeNameAfter(html, setting, node);
- data.getAfterA(setting, node, html);
- if (node.isParent && node.open) {
- view.makeUlHtml(setting, node, html, childHtml.join(''));
- }
- view.makeDOMNodeMainAfter(html, setting, node);
- data.addCreatedNode(setting, node);
- }
- }
- return html;
- },
- appendParentULDom: function(setting, node) {
- var html = [],
- nObj = $$(node, setting);
- if (!nObj.get(0) && !!node.parentTId) {
- view.appendParentULDom(setting, node.getParentNode());
- nObj = $$(node, setting);
- }
- var ulObj = $$(node, consts.id.UL, setting);
- if (ulObj.get(0)) {
- ulObj.remove();
- }
- var childKey = setting.data.key.children,
- childHtml = view.appendNodes(setting, node.level+1, node[childKey], node, false, true);
- view.makeUlHtml(setting, node, html, childHtml.join(''));
- nObj.append(html.join(''));
- },
- asyncNode: function(setting, node, isSilent, callback) {
- var i, l;
- if (node && !node.isParent) {
- tools.apply(callback);
- return false;
- } else if (node && node.isAjaxing) {
- return false;
- } else if (tools.apply(setting.callback.beforeAsync, [setting.treeId, node], true) == false) {
- tools.apply(callback);
- return false;
- }
- if (node) {
- node.isAjaxing = true;
- var icoObj = $$(node, consts.id.ICON, setting);
- icoObj.attr({"style":"", "class":consts.className.BUTTON + " " + consts.className.ICO_LOADING});
- }
-
- var tmpParam = {};
- for (i = 0, l = setting.async.autoParam.length; node && i < l; i++) {
- var pKey = setting.async.autoParam[i].split("="), spKey = pKey;
- if (pKey.length>1) {
- spKey = pKey[1];
- pKey = pKey[0];
- }
- tmpParam[spKey] = node[pKey];
- }
- if (tools.isArray(setting.async.otherParam)) {
- for (i = 0, l = setting.async.otherParam.length; i < l; i += 2) {
- tmpParam[setting.async.otherParam[i]] = setting.async.otherParam[i + 1];
- }
- } else {
- for (var p in setting.async.otherParam) {
- tmpParam[p] = setting.async.otherParam[p];
- }
- }
-
- var _tmpV = data.getRoot(setting)._ver;
- $.ajax({
- contentType: setting.async.contentType,
- type: setting.async.type,
- url: tools.apply(setting.async.url, [setting.treeId, node], setting.async.url),
- data: tmpParam,
- dataType: setting.async.dataType,
- success: function(msg) {
- if (_tmpV != data.getRoot(setting)._ver) {
- return;
- }
- var newNodes = [];
- try {
- if (!msg || msg.length == 0) {
- newNodes = [];
- } else if (typeof msg == "string") {
- newNodes = eval("(" + msg + ")");
- } else {
- newNodes = msg;
- }
- } catch(err) {
- newNodes = msg;
- }
-
- if (node) {
- node.isAjaxing = null;
- node.zAsync = true;
- }
- view.setNodeLineIcos(setting, node);
- if (newNodes && newNodes !== "") {
- newNodes = tools.apply(setting.async.dataFilter, [setting.treeId, node, newNodes], newNodes);
- view.addNodes(setting, node, !!newNodes ? tools.clone(newNodes) : [], !!isSilent);
- } else {
- view.addNodes(setting, node, [], !!isSilent);
- }
- setting.treeObj.trigger(consts.event.ASYNC_SUCCESS, [setting.treeId, node, msg]);
- tools.apply(callback);
- },
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- if (_tmpV != data.getRoot(setting)._ver) {
- return;
- }
- if (node) node.isAjaxing = null;
- view.setNodeLineIcos(setting, node);
- setting.treeObj.trigger(consts.event.ASYNC_ERROR, [setting.treeId, node, XMLHttpRequest, textStatus, errorThrown]);
- }
- });
- return true;
- },
- cancelPreSelectedNode: function (setting, node) {
- var list = data.getRoot(setting).curSelectedList;
- for (var i=0, j=list.length-1; j>=i; j--) {
- if (!node || node === list[j]) {
- $$(list[j], consts.id.A, setting).removeClass(consts.node.CURSELECTED);
- if (node) {
- data.removeSelectedNode(setting, node);
- break;
- }
- }
- }
- if (!node) data.getRoot(setting).curSelectedList = [];
- },
- createNodeCallback: function(setting) {
- if (!!setting.callback.onNodeCreated || !!setting.view.addDiyDom) {
- var root = data.getRoot(setting);
- while (root.createdNodes.length>0) {
- var node = root.createdNodes.shift();
- tools.apply(setting.view.addDiyDom, [setting.treeId, node]);
- if (!!setting.callback.onNodeCreated) {
- setting.treeObj.trigger(consts.event.NODECREATED, [setting.treeId, node]);
- }
- }
- }
- },
- createNodes: function(setting, level, nodes, parentNode) {
- if (!nodes || nodes.length == 0) return;
- var root = data.getRoot(setting),
- childKey = setting.data.key.children,
- openFlag = !parentNode || parentNode.open || !!$$(parentNode[childKey][0], setting).get(0);
- root.createdNodes = [];
- var zTreeHtml = view.appendNodes(setting, level, nodes, parentNode, true, openFlag);
- if (!parentNode) {
- setting.treeObj.append(zTreeHtml.join(''));
- } else {
- var ulObj = $$(parentNode, consts.id.UL, setting);
- if (ulObj.get(0)) {
- ulObj.append(zTreeHtml.join(''));
- }
- }
- view.createNodeCallback(setting);
- },
- destroy: function(setting) {
- if (!setting) return;
- data.initCache(setting);
- data.initRoot(setting);
- event.unbindTree(setting);
- event.unbindEvent(setting);
- setting.treeObj.empty();
- delete settings[setting.treeId];
- },
- expandCollapseNode: function(setting, node, expandFlag, animateFlag, callback) {
- var root = data.getRoot(setting),
- childKey = setting.data.key.children;
- if (!node) {
- tools.apply(callback, []);
- return;
- }
- if (root.expandTriggerFlag) {
- var _callback = callback;
- callback = function(){
- if (_callback) _callback();
- if (node.open) {
- setting.treeObj.trigger(consts.event.EXPAND, [setting.treeId, node]);
- } else {
- setting.treeObj.trigger(consts.event.COLLAPSE, [setting.treeId, node]);
- }
- };
- root.expandTriggerFlag = false;
- }
- if (!node.open && node.isParent && ((!$$(node, consts.id.UL, setting).get(0)) || (node[childKey] && node[childKey].length>0 && !$$(node[childKey][0], setting).get(0)))) {
- view.appendParentULDom(setting, node);
- view.createNodeCallback(setting);
- }
- if (node.open == expandFlag) {
- tools.apply(callback, []);
- return;
- }
- var ulObj = $$(node, consts.id.UL, setting),
- switchObj = $$(node, consts.id.SWITCH, setting),
- icoObj = $$(node, consts.id.ICON, setting);
-
- if (node.isParent) {
- node.open = !node.open;
- if (node.iconOpen && node.iconClose) {
- icoObj.attr("style", view.makeNodeIcoStyle(setting, node));
- }
-
- if (node.open) {
- view.replaceSwitchClass(node, switchObj, consts.folder.OPEN);
- view.replaceIcoClass(node, icoObj, consts.folder.OPEN);
- if (animateFlag == false || setting.view.expandSpeed == "") {
- ulObj.show();
- tools.apply(callback, []);
- } else {
- if (node[childKey] && node[childKey].length > 0) {
- ulObj.slideDown(setting.view.expandSpeed, callback);
- } else {
- ulObj.show();
- tools.apply(callback, []);
- }
- }
- } else {
- view.replaceSwitchClass(node, switchObj, consts.folder.CLOSE);
- view.replaceIcoClass(node, icoObj, consts.folder.CLOSE);
- if (animateFlag == false || setting.view.expandSpeed == "" || !(node[childKey] && node[childKey].length > 0)) {
- ulObj.hide();
- tools.apply(callback, []);
- } else {
- ulObj.slideUp(setting.view.expandSpeed, callback);
- }
- }
- } else {
- tools.apply(callback, []);
- }
- },
- expandCollapseParentNode: function(setting, node, expandFlag, animateFlag, callback) {
- if (!node) return;
- if (!node.parentTId) {
- view.expandCollapseNode(setting, node, expandFlag, animateFlag, callback);
- return;
- } else {
- view.expandCollapseNode(setting, node, expandFlag, animateFlag);
- }
- if (node.parentTId) {
- view.expandCollapseParentNode(setting, node.getParentNode(), expandFlag, animateFlag, callback);
- }
- },
- expandCollapseSonNode: function(setting, node, expandFlag, animateFlag, callback) {
- var root = data.getRoot(setting),
- childKey = setting.data.key.children,
- treeNodes = (node) ? node[childKey]: root[childKey],
- selfAnimateSign = (node) ? false : animateFlag,
- expandTriggerFlag = data.getRoot(setting).expandTriggerFlag;
- data.getRoot(setting).expandTriggerFlag = false;
- if (treeNodes) {
- for (var i = 0, l = treeNodes.length; i < l; i++) {
- if (treeNodes[i]) view.expandCollapseSonNode(setting, treeNodes[i], expandFlag, selfAnimateSign);
- }
- }
- data.getRoot(setting).expandTriggerFlag = expandTriggerFlag;
- view.expandCollapseNode(setting, node, expandFlag, animateFlag, callback );
- },
- makeDOMNodeIcon: function(html, setting, node) {
- var nameStr = data.getNodeName(setting, node),
- name = setting.view.nameIsHTML ? nameStr : nameStr.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');
- html.push("<span id='", node.tId, consts.id.ICON,
- "' title='' treeNode", consts.id.ICON," class='", view.makeNodeIcoClass(setting, node),
- "' style='", view.makeNodeIcoStyle(setting, node), "'></span><span id='", node.tId, consts.id.SPAN,
- "'>",name,"</span>");
- },
- makeDOMNodeLine: function(html, setting, node) {
- html.push("<span id='", node.tId, consts.id.SWITCH, "' title='' class='", view.makeNodeLineClass(setting, node), "' treeNode", consts.id.SWITCH,"></span>");
- },
- makeDOMNodeMainAfter: function(html, setting, node) {
- html.push("</li>");
- },
- makeDOMNodeMainBefore: function(html, setting, node) {
- html.push("<li id='", node.tId, "' class='", consts.className.LEVEL, node.level,"' tabindex='0' hidefocus='true' treenode>");
- },
- makeDOMNodeNameAfter: function(html, setting, node) {
- html.push("</a>");
- },
- makeDOMNodeNameBefore: function(html, setting, node) {
- var title = data.getNodeTitle(setting, node),
- url = view.makeNodeUrl(setting, node),
- fontcss = view.makeNodeFontCss(setting, node),
- fontStyle = [];
- for (var f in fontcss) {
- fontStyle.push(f, ":", fontcss[f], ";");
- }
- html.push("<a id='", node.tId, consts.id.A, "' class='", consts.className.LEVEL, node.level,"' treeNode", consts.id.A," onclick=\"", (node.click || ''),
- "\" ", ((url != null && url.length > 0) ? "href='" + url + "'" : ""), " target='",view.makeNodeTarget(node),"' style='", fontStyle.join(''),
- "'");
- if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle) && title) {html.push("title='", title.replace(/'/g,"&#39;").replace(/</g,'&lt;').replace(/>/g,'&gt;'),"'");}
- html.push(">");
- },
- makeNodeFontCss: function(setting, node) {
- var fontCss = tools.apply(setting.view.fontCss, [setting.treeId, node], setting.view.fontCss);
- return (fontCss && ((typeof fontCss) != "function")) ? fontCss : {};
- },
- makeNodeIcoClass: function(setting, node) {
- var icoCss = ["ico"];
- if (!node.isAjaxing) {
- icoCss[0] = (node.iconSkin ? node.iconSkin + "_" : "") + icoCss[0];
- if (node.isParent) {
- icoCss.push(node.open ? consts.folder.OPEN : consts.folder.CLOSE);
- } else {
- icoCss.push(consts.folder.DOCU);
- }
- }
- return consts.className.BUTTON + " " + icoCss.join('_');
- },
- makeNodeIcoStyle: function(setting, node) {
- var icoStyle = [];
- if (!node.isAjaxing) {
- var icon = (node.isParent && node.iconOpen && node.iconClose) ? (node.open ? node.iconOpen : node.iconClose) : node.icon;
- if (icon) icoStyle.push("background:url(", icon, ") 0 0 no-repeat;");
- if (setting.view.showIcon == false || !tools.apply(setting.view.showIcon, [setting.treeId, node], true)) {
- icoStyle.push("width:0px;height:0px;");
- }
- }
- return icoStyle.join('');
- },
- makeNodeLineClass: function(setting, node) {
- var lineClass = [];
- if (setting.view.showLine) {
- if (node.level == 0 && node.isFirstNode && node.isLastNode) {
- lineClass.push(consts.line.ROOT);
- } else if (node.level == 0 && node.isFirstNode) {
- lineClass.push(consts.line.ROOTS);
- } else if (node.isLastNode) {
- lineClass.push(consts.line.BOTTOM);
- } else {
- lineClass.push(consts.line.CENTER);
- }
- } else {
- lineClass.push(consts.line.NOLINE);
- }
- if (node.isParent) {
- lineClass.push(node.open ? consts.folder.OPEN : consts.folder.CLOSE);
- } else {
- lineClass.push(consts.folder.DOCU);
- }
- return view.makeNodeLineClassEx(node) + lineClass.join('_');
- },
- makeNodeLineClassEx: function(node) {
- return consts.className.BUTTON + " " + consts.className.LEVEL + node.level + " " + consts.className.SWITCH + " ";
- },
- makeNodeTarget: function(node) {
- return (node.target || "_blank");
- },
- makeNodeUrl: function(setting, node) {
- var urlKey = setting.data.key.url;
- return node[urlKey] ? node[urlKey] : null;
- },
- makeUlHtml: function(setting, node, html, content) {
- html.push("<ul id='", node.tId, consts.id.UL, "' class='", consts.className.LEVEL, node.level, " ", view.makeUlLineClass(setting, node), "' style='display:", (node.open ? "block": "none"),"'>");
- html.push(content);
- html.push("</ul>");
- },
- makeUlLineClass: function(setting, node) {
- return ((setting.view.showLine && !node.isLastNode) ? consts.line.LINE : "");
- },
- removeChildNodes: function(setting, node) {
- if (!node) return;
- var childKey = setting.data.key.children,
- nodes = node[childKey];
- if (!nodes) return;
-
- for (var i = 0, l = nodes.length; i < l; i++) {
- data.removeNodeCache(setting, nodes[i]);
- }
- data.removeSelectedNode(setting);
- delete node[childKey];
-
- if (!setting.data.keep.parent) {
- node.isParent = false;
- node.open = false;
- var tmp_switchObj = $$(node, consts.id.SWITCH, setting),
- tmp_icoObj = $$(node, consts.id.ICON, setting);
- view.replaceSwitchClass(node, tmp_switchObj, consts.folder.DOCU);
- view.replaceIcoClass(node, tmp_icoObj, consts.folder.DOCU);
- $$(node, consts.id.UL, setting).remove();
- } else {
- $$(node, consts.id.UL, setting).empty();
- }
- },
- setFirstNode: function(setting, parentNode) {
- var childKey = setting.data.key.children, childLength = parentNode[childKey].length;
- if ( childLength > 0) {
- parentNode[childKey][0].isFirstNode = true;
- }
- },
- setLastNode: function(setting, parentNode) {
- var childKey = setting.data.key.children, childLength = parentNode[childKey].length;
- if ( childLength > 0) {
- parentNode[childKey][childLength - 1].isLastNode = true;
- }
- },
- removeNode: function(setting, node) {
- var root = data.getRoot(setting),
- childKey = setting.data.key.children,
- parentNode = (node.parentTId) ? node.getParentNode() : root;
-
- node.isFirstNode = false;
- node.isLastNode = false;
- node.getPreNode = function() {return null;};
- node.getNextNode = function() {return null;};
-
- if (!data.getNodeCache(setting, node.tId)) {
- return;
- }
-
- $$(node, setting).remove();
- data.removeNodeCache(setting, node);
- data.removeSelectedNode(setting, node);
-
- for (var i = 0, l = parentNode[childKey].length; i < l; i++) {
- if (parentNode[childKey][i].tId == node.tId) {
- parentNode[childKey].splice(i, 1);
- break;
- }
- }
- view.setFirstNode(setting, parentNode);
- view.setLastNode(setting, parentNode);
-
- var tmp_ulObj,tmp_switchObj,tmp_icoObj,
- childLength = parentNode[childKey].length;
-
- //repair nodes old parent
- if (!setting.data.keep.parent && childLength == 0) {
- //old parentNode has no child nodes
- parentNode.isParent = false;
- parentNode.open = false;
- tmp_ulObj = $$(parentNode, consts.id.UL, setting);
- tmp_switchObj = $$(parentNode, consts.id.SWITCH, setting);
- tmp_icoObj = $$(parentNode, consts.id.ICON, setting);
- view.replaceSwitchClass(parentNode, tmp_switchObj, consts.folder.DOCU);
- view.replaceIcoClass(parentNode, tmp_icoObj, consts.folder.DOCU);
- tmp_ulObj.css("display", "none");
-
- } else if (setting.view.showLine && childLength > 0) {
- //old parentNode has child nodes
- var newLast = parentNode[childKey][childLength - 1];
- tmp_ulObj = $$(newLast, consts.id.UL, setting);
- tmp_switchObj = $$(newLast, consts.id.SWITCH, setting);
- tmp_icoObj = $$(newLast, consts.id.ICON, setting);
- if (parentNode == root) {
- if (parentNode[childKey].length == 1) {
- //node was root, and ztree has only one root after move node
- view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.ROOT);
- } else {
- var tmp_first_switchObj = $$(parentNode[childKey][0], consts.id.SWITCH, setting);
- view.replaceSwitchClass(parentNode[childKey][0], tmp_first_switchObj, consts.line.ROOTS);
- view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.BOTTOM);
- }
- } else {
- view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.BOTTOM);
- }
- tmp_ulObj.removeClass(consts.line.LINE);
- }
- },
- replaceIcoClass: function(node, obj, newName) {
- if (!obj || node.isAjaxing) return;
- var tmpName = obj.attr("class");
- if (tmpName == undefined) return;
- var tmpList = tmpName.split("_");
- switch (newName) {
- case consts.folder.OPEN:
- case consts.folder.CLOSE:
- case consts.folder.DOCU:
- tmpList[tmpList.length-1] = newName;
- break;
- }
- obj.attr("class", tmpList.join("_"));
- },
- replaceSwitchClass: function(node, obj, newName) {
- if (!obj) return;
- var tmpName = obj.attr("class");
- if (tmpName == undefined) return;
- var tmpList = tmpName.split("_");
- switch (newName) {
- case consts.line.ROOT:
- case consts.line.ROOTS:
- case consts.line.CENTER:
- case consts.line.BOTTOM:
- case consts.line.NOLINE:
- tmpList[0] = view.makeNodeLineClassEx(node) + newName;
- break;
- case consts.folder.OPEN:
- case consts.folder.CLOSE:
- case consts.folder.DOCU:
- tmpList[1] = newName;
- break;
- }
- obj.attr("class", tmpList.join("_"));
- if (newName !== consts.folder.DOCU) {
- obj.removeAttr("disabled");
- } else {
- obj.attr("disabled", "disabled");
- }
- },
- selectNode: function(setting, node, addFlag) {
- if (!addFlag) {
- view.cancelPreSelectedNode(setting);
- }
- $$(node, consts.id.A, setting).addClass(consts.node.CURSELECTED);
- data.addSelectedNode(setting, node);
- },
- setNodeFontCss: function(setting, treeNode) {
- var aObj = $$(treeNode, consts.id.A, setting),
- fontCss = view.makeNodeFontCss(setting, treeNode);
- if (fontCss) {
- aObj.css(fontCss);
- }
- },
- setNodeLineIcos: function(setting, node) {
- if (!node) return;
- var switchObj = $$(node, consts.id.SWITCH, setting),
- ulObj = $$(node, consts.id.UL, setting),
- icoObj = $$(node, consts.id.ICON, setting),
- ulLine = view.makeUlLineClass(setting, node);
- if (ulLine.length==0) {
- ulObj.removeClass(consts.line.LINE);
- } else {
- ulObj.addClass(ulLine);
- }
- switchObj.attr("class", view.makeNodeLineClass(setting, node));
- if (node.isParent) {
- switchObj.removeAttr("disabled");
- } else {
- switchObj.attr("disabled", "disabled");
- }
- icoObj.removeAttr("style");
- icoObj.attr("style", view.makeNodeIcoStyle(setting, node));
- icoObj.attr("class", view.makeNodeIcoClass(setting, node));
- },
- setNodeName: function(setting, node) {
- var title = data.getNodeTitle(setting, node),
- nObj = $$(node, consts.id.SPAN, setting);
- nObj.empty();
- if (setting.view.nameIsHTML) {
- nObj.html(data.getNodeName(setting, node));
- } else {
- nObj.text(data.getNodeName(setting, node));
- }
- if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle)) {
- var aObj = $$(node, consts.id.A, setting);
- aObj.attr("title", !title ? "" : title);
- }
- },
- setNodeTarget: function(setting, node) {
- var aObj = $$(node, consts.id.A, setting);
- aObj.attr("target", view.makeNodeTarget(node));
- },
- setNodeUrl: function(setting, node) {
- var aObj = $$(node, consts.id.A, setting),
- url = view.makeNodeUrl(setting, node);
- if (url == null || url.length == 0) {
- aObj.removeAttr("href");
- } else {
- aObj.attr("href", url);
- }
- },
- switchNode: function(setting, node) {
- if (node.open || !tools.canAsync(setting, node)) {
- view.expandCollapseNode(setting, node, !node.open);
- } else if (setting.async.enable) {
- if (!view.asyncNode(setting, node)) {
- view.expandCollapseNode(setting, node, !node.open);
- return;
- }
- } else if (node) {
- view.expandCollapseNode(setting, node, !node.open);
- }
- }
- };
- // zTree defind
- $.fn.zTree = {
- consts : _consts,
- _z : {
- tools: tools,
- view: view,
- event: event,
- data: data
- },
- getZTreeObj: function(treeId) {
- var o = data.getZTreeTools(treeId);
- return o ? o : null;
- },
- destroy: function(treeId) {
- if (!!treeId && treeId.length > 0) {
- view.destroy(data.getSetting(treeId));
- } else {
- for(var s in settings) {
- view.destroy(settings[s]);
- }
- }
- },
- init: function(obj, zSetting, zNodes) {
- var setting = tools.clone(_setting);
- $.extend(true, setting, zSetting);
- setting.treeId = obj.attr("id");
- setting.treeObj = obj;
- setting.treeObj.empty();
- settings[setting.treeId] = setting;
- //For some older browser,(e.g., ie6)
- if(typeof document.body.style.maxHeight === "undefined") {
- setting.view.expandSpeed = "";
- }
- data.initRoot(setting);
- var root = data.getRoot(setting),
- childKey = setting.data.key.children;
- zNodes = zNodes ? tools.clone(tools.isArray(zNodes)? zNodes : [zNodes]) : [];
- if (setting.data.simpleData.enable) {
- root[childKey] = data.transformTozTreeFormat(setting, zNodes);
- } else {
- root[childKey] = zNodes;
- }
-
- data.initCache(setting);
- event.unbindTree(setting);
- event.bindTree(setting);
- event.unbindEvent(setting);
- event.bindEvent(setting);
-
- var zTreeTools = {
- setting : setting,
- addNodes : function(parentNode, newNodes, isSilent) {
- if (!newNodes) return null;
- if (!parentNode) parentNode = null;
- if (parentNode && !parentNode.isParent && setting.data.keep.leaf) return null;
- var xNewNodes = tools.clone(tools.isArray(newNodes)? newNodes: [newNodes]);
- function addCallback() {
- view.addNodes(setting, parentNode, xNewNodes, (isSilent==true));
- }
-
- if (tools.canAsync(setting, parentNode)) {
- view.asyncNode(setting, parentNode, isSilent, addCallback);
- } else {
- addCallback();
- }
- return xNewNodes;
- },
- cancelSelectedNode : function(node) {
- view.cancelPreSelectedNode(setting, node);
- },
- destroy : function() {
- view.destroy(setting);
- },
- expandAll : function(expandFlag) {
- expandFlag = !!expandFlag;
- view.expandCollapseSonNode(setting, null, expandFlag, true);
- return expandFlag;
- },
- expandNode : function(node, expandFlag, sonSign, focus, callbackFlag) {
- if (!node || !node.isParent) return null;
- if (expandFlag !== true && expandFlag !== false) {
- expandFlag = !node.open;
- }
- callbackFlag = !!callbackFlag;
-
- if (callbackFlag && expandFlag && (tools.apply(setting.callback.beforeExpand, [setting.treeId, node], true) == false)) {
- return null;
- } else if (callbackFlag && !expandFlag && (tools.apply(setting.callback.beforeCollapse, [setting.treeId, node], true) == false)) {
- return null;
- }
- if (expandFlag && node.parentTId) {
- view.expandCollapseParentNode(setting, node.getParentNode(), expandFlag, false);
- }
- if (expandFlag === node.open && !sonSign) {
- return null;
- }
-
- data.getRoot(setting).expandTriggerFlag = callbackFlag;
- if (!tools.canAsync(setting, node) && sonSign) {
- view.expandCollapseSonNode(setting, node, expandFlag, true, function() {
- if (focus !== false) {try{$$(node, setting).focus().blur();}catch(e){}}
- });
- } else {
- node.open = !expandFlag;
- view.switchNode(this.setting, node);
- if (focus !== false) {try{$$(node, setting).focus().blur();}catch(e){}}
- }
- return expandFlag;
- },
- getNodes : function() {
- return data.getNodes(setting);
- },
- getNodeByParam : function(key, value, parentNode) {
- if (!key) return null;
- return data.getNodeByParam(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), key, value);
- },
- getNodeByTId : function(tId) {
- return data.getNodeCache(setting, tId);
- },
- getNodesByParam : function(key, value, parentNode) {
- if (!key) return null;
- return data.getNodesByParam(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), key, value);
- },
- getNodesByParamFuzzy : function(key, value, parentNode) {
- if (!key) return null;
- return data.getNodesByParamFuzzy(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), key, value);
- },
- getNodesByFilter: function(filter, isSingle, parentNode, invokeParam) {
- isSingle = !!isSingle;
- if (!filter || (typeof filter != "function")) return (isSingle ? null : []);
- return data.getNodesByFilter(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), filter, isSingle, invokeParam);
- },
- getNodeIndex : function(node) {
- if (!node) return null;
- var childKey = setting.data.key.children,
- parentNode = (node.parentTId) ? node.getParentNode() : data.getRoot(setting);
- for (var i=0, l = parentNode[childKey].length; i < l; i++) {
- if (parentNode[childKey][i] == node) return i;
- }
- return -1;
- },
- getSelectedNodes : function() {
- var r = [], list = data.getRoot(setting).curSelectedList;
- for (var i=0, l=list.length; i<l; i++) {
- r.push(list[i]);
- }
- return r;
- },
- isSelectedNode : function(node) {
- return data.isSelectedNode(setting, node);
- },
- reAsyncChildNodes : function(parentNode, reloadType, isSilent) {
- if (!this.setting.async.enable) return;
- var isRoot = !parentNode;
- if (isRoot) {
- parentNode = data.getRoot(setting);
- }
- if (reloadType=="refresh") {
- var childKey = this.setting.data.key.children;
- for (var i = 0, l = parentNode[childKey] ? parentNode[childKey].length : 0; i < l; i++) {
- data.removeNodeCache(setting, parentNode[childKey][i]);
- }
- data.removeSelectedNode(setting);
- parentNode[childKey] = [];
- if (isRoot) {
- this.setting.treeObj.empty();
- } else {
- var ulObj = $$(parentNode, consts.id.UL, setting);
- ulObj.empty();
- }
- }
- view.asyncNode(this.setting, isRoot? null:parentNode, !!isSilent);
- },
- refresh : function() {
- this.setting.treeObj.empty();
- var root = data.getRoot(setting),
- nodes = root[setting.data.key.children]
- data.initRoot(setting);
- root[setting.data.key.children] = nodes
- data.initCache(setting);
- view.createNodes(setting, 0, root[setting.data.key.children]);
- },
- removeChildNodes : function(node) {
- if (!node) return null;
- var childKey = setting.data.key.children,
- nodes = node[childKey];
- view.removeChildNodes(setting, node);
- return nodes ? nodes : null;
- },
- removeNode : function(node, callbackFlag) {
- if (!node) return;
- callbackFlag = !!callbackFlag;
- if (callbackFlag && tools.apply(setting.callback.beforeRemove, [setting.treeId, node], true) == false) return;
- view.removeNode(setting, node);
- if (callbackFlag) {
- this.setting.treeObj.trigger(consts.event.REMOVE, [setting.treeId, node]);
- }
- },
- selectNode : function(node, addFlag) {
- if (!node) return;
- if (tools.uCanDo(setting)) {
- addFlag = setting.view.selectedMulti && addFlag;
- if (node.parentTId) {
- view.expandCollapseParentNode(setting, node.getParentNode(), true, false, function() {
- try{$$(node, setting).focus().blur();}catch(e){}
- });
- } else {
- try{$$(node, setting).focus().blur();}catch(e){}
- }
- view.selectNode(setting, node, addFlag);
- }
- },
- transformTozTreeNodes : function(simpleNodes) {
- return data.transformTozTreeFormat(setting, simpleNodes);
- },
- transformToArray : function(nodes) {
- return data.transformToArrayFormat(setting, nodes);
- },
- updateNode : function(node, checkTypeFlag) {
- if (!node) return;
- var nObj = $$(node, setting);
- if (nObj.get(0) && tools.uCanDo(setting)) {
- view.setNodeName(setting, node);
- view.setNodeTarget(setting, node);
- view.setNodeUrl(setting, node);
- view.setNodeLineIcos(setting, node);
- view.setNodeFontCss(setting, node);
- }
- }
- }
- root.treeTools = zTreeTools;
- data.setZTreeTools(setting, zTreeTools);
-
- if (root[childKey] && root[childKey].length > 0) {
- view.createNodes(setting, 0, root[childKey]);
- } else if (setting.async.enable && setting.async.url && setting.async.url !== '') {
- view.asyncNode(setting);
- }
- return zTreeTools;
- }
- };
-
- var zt = $.fn.zTree,
- $$ = tools.$,
- consts = zt.consts;
-})(jQuery);
-/*
- * JQuery zTree excheck v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function($){
- //default consts of excheck
- var _consts = {
- event: {
- CHECK: "ztree_check"
- },
- id: {
- CHECK: "_check"
- },
- checkbox: {
- STYLE: "checkbox",
- DEFAULT: "chk",
- DISABLED: "disable",
- FALSE: "false",
- TRUE: "true",
- FULL: "full",
- PART: "part",
- FOCUS: "focus"
- },
- radio: {
- STYLE: "radio",
- TYPE_ALL: "all",
- TYPE_LEVEL: "level"
- }
- },
- //default setting of excheck
- _setting = {
- check: {
- enable: false,
- autoCheckTrigger: false,
- chkStyle: _consts.checkbox.STYLE,
- nocheckInherit: false,
- chkDisabledInherit: false,
- radioType: _consts.radio.TYPE_LEVEL,
- chkboxType: {
- "Y": "ps",
- "N": "ps"
- }
- },
- data: {
- key: {
- checked: "checked"
- }
- },
- callback: {
- beforeCheck:null,
- onCheck:null
- }
- },
- //default root of excheck
- _initRoot = function (setting) {
- var r = data.getRoot(setting);
- r.radioCheckedList = [];
- },
- //default cache of excheck
- _initCache = function(treeId) {},
- //default bind event of excheck
- _bindEvent = function(setting) {
- var o = setting.treeObj,
- c = consts.event;
- o.bind(c.CHECK, function (event, srcEvent, treeId, node) {
- event.srcEvent = srcEvent;
- tools.apply(setting.callback.onCheck, [event, treeId, node]);
- });
- },
- _unbindEvent = function(setting) {
- var o = setting.treeObj,
- c = consts.event;
- o.unbind(c.CHECK);
- },
- //default event proxy of excheck
- _eventProxy = function(e) {
- var target = e.target,
- setting = data.getSetting(e.data.treeId),
- tId = "", node = null,
- nodeEventType = "", treeEventType = "",
- nodeEventCallback = null, treeEventCallback = null;
-
- if (tools.eqs(e.type, "mouseover")) {
- if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.CHECK) !== null) {
- tId = tools.getNodeMainDom(target).id;
- nodeEventType = "mouseoverCheck";
- }
- } else if (tools.eqs(e.type, "mouseout")) {
- if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.CHECK) !== null) {
- tId = tools.getNodeMainDom(target).id;
- nodeEventType = "mouseoutCheck";
- }
- } else if (tools.eqs(e.type, "click")) {
- if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.CHECK) !== null) {
- tId = tools.getNodeMainDom(target).id;
- nodeEventType = "checkNode";
- }
- }
- if (tId.length>0) {
- node = data.getNodeCache(setting, tId);
- switch (nodeEventType) {
- case "checkNode" :
- nodeEventCallback = _handler.onCheckNode;
- break;
- case "mouseoverCheck" :
- nodeEventCallback = _handler.onMouseoverCheck;
- break;
- case "mouseoutCheck" :
- nodeEventCallback = _handler.onMouseoutCheck;
- break;
- }
- }
- var proxyResult = {
- stop: nodeEventType === "checkNode",
- node: node,
- nodeEventType: nodeEventType,
- nodeEventCallback: nodeEventCallback,
- treeEventType: treeEventType,
- treeEventCallback: treeEventCallback
- };
- return proxyResult
- },
- //default init node of excheck
- _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) {
- if (!n) return;
- var checkedKey = setting.data.key.checked;
- if (typeof n[checkedKey] == "string") n[checkedKey] = tools.eqs(n[checkedKey], "true");
- n[checkedKey] = !!n[checkedKey];
- n.checkedOld = n[checkedKey];
- if (typeof n.nocheck == "string") n.nocheck = tools.eqs(n.nocheck, "true");
- n.nocheck = !!n.nocheck || (setting.check.nocheckInherit && parentNode && !!parentNode.nocheck);
- if (typeof n.chkDisabled == "string") n.chkDisabled = tools.eqs(n.chkDisabled, "true");
- n.chkDisabled = !!n.chkDisabled || (setting.check.chkDisabledInherit && parentNode && !!parentNode.chkDisabled);
- if (typeof n.halfCheck == "string") n.halfCheck = tools.eqs(n.halfCheck, "true");
- n.halfCheck = !!n.halfCheck;
- n.check_Child_State = -1;
- n.check_Focus = false;
- n.getCheckStatus = function() {return data.getCheckStatus(setting, n);};
-
- if (setting.check.chkStyle == consts.radio.STYLE && setting.check.radioType == consts.radio.TYPE_ALL && n[checkedKey] ) {
- var r = data.getRoot(setting);
- r.radioCheckedList.push(n);
- }
- },
- //add dom for check
- _beforeA = function(setting, node, html) {
- var checkedKey = setting.data.key.checked;
- if (setting.check.enable) {
- data.makeChkFlag(setting, node);
- html.push("<span ID='", node.tId, consts.id.CHECK, "' class='", view.makeChkClass(setting, node), "' treeNode", consts.id.CHECK, (node.nocheck === true?" style='display:none;'":""),"></span>");
- }
- },
- //update zTreeObj, add method of check
- _zTreeTools = function(setting, zTreeTools) {
- zTreeTools.checkNode = function(node, checked, checkTypeFlag, callbackFlag) {
- var checkedKey = this.setting.data.key.checked;
- if (node.chkDisabled === true) return;
- if (checked !== true && checked !== false) {
- checked = !node[checkedKey];
- }
- callbackFlag = !!callbackFlag;
-
- if (node[checkedKey] === checked && !checkTypeFlag) {
- return;
- } else if (callbackFlag && tools.apply(this.setting.callback.beforeCheck, [this.setting.treeId, node], true) == false) {
- return;
- }
- if (tools.uCanDo(this.setting) && this.setting.check.enable && node.nocheck !== true) {
- node[checkedKey] = checked;
- var checkObj = $$(node, consts.id.CHECK, this.setting);
- if (checkTypeFlag || this.setting.check.chkStyle === consts.radio.STYLE) view.checkNodeRelation(this.setting, node);
- view.setChkClass(this.setting, checkObj, node);
- view.repairParentChkClassWithSelf(this.setting, node);
- if (callbackFlag) {
- this.setting.treeObj.trigger(consts.event.CHECK, [null, this.setting.treeId, node]);
- }
- }
- }
-
- zTreeTools.checkAllNodes = function(checked) {
- view.repairAllChk(this.setting, !!checked);
- }
-
- zTreeTools.getCheckedNodes = function(checked) {
- var childKey = this.setting.data.key.children;
- checked = (checked !== false);
- return data.getTreeCheckedNodes(this.setting, data.getRoot(this.setting)[childKey], checked);
- }
-
- zTreeTools.getChangeCheckedNodes = function() {
- var childKey = this.setting.data.key.children;
- return data.getTreeChangeCheckedNodes(this.setting, data.getRoot(this.setting)[childKey]);
- }
-
- zTreeTools.setChkDisabled = function(node, disabled, inheritParent, inheritChildren) {
- disabled = !!disabled;
- inheritParent = !!inheritParent;
- inheritChildren = !!inheritChildren;
- view.repairSonChkDisabled(this.setting, node, disabled, inheritChildren);
- view.repairParentChkDisabled(this.setting, node.getParentNode(), disabled, inheritParent);
- }
-
- var _updateNode = zTreeTools.updateNode;
- zTreeTools.updateNode = function(node, checkTypeFlag) {
- if (_updateNode) _updateNode.apply(zTreeTools, arguments);
- if (!node || !this.setting.check.enable) return;
- var nObj = $$(node, this.setting);
- if (nObj.get(0) && tools.uCanDo(this.setting)) {
- var checkObj = $$(node, consts.id.CHECK, this.setting);
- if (checkTypeFlag == true || this.setting.check.chkStyle === consts.radio.STYLE) view.checkNodeRelation(this.setting, node);
- view.setChkClass(this.setting, checkObj, node);
- view.repairParentChkClassWithSelf(this.setting, node);
- }
- }
- },
- //method of operate data
- _data = {
- getRadioCheckedList: function(setting) {
- var checkedList = data.getRoot(setting).radioCheckedList;
- for (var i=0, j=checkedList.length; i<j; i++) {
- if(!data.getNodeCache(setting, checkedList[i].tId)) {
- checkedList.splice(i, 1);
- i--; j--;
- }
- }
- return checkedList;
- },
- getCheckStatus: function(setting, node) {
- if (!setting.check.enable || node.nocheck || node.chkDisabled) return null;
- var checkedKey = setting.data.key.checked,
- r = {
- checked: node[checkedKey],
- half: node.halfCheck ? node.halfCheck : (setting.check.chkStyle == consts.radio.STYLE ? (node.check_Child_State === 2) : (node[checkedKey] ? (node.check_Child_State > -1 && node.check_Child_State < 2) : (node.check_Child_State > 0)))
- };
- return r;
- },
- getTreeCheckedNodes: function(setting, nodes, checked, results) {
- if (!nodes) return [];
- var childKey = setting.data.key.children,
- checkedKey = setting.data.key.checked,
- onlyOne = (checked && setting.check.chkStyle == consts.radio.STYLE && setting.check.radioType == consts.radio.TYPE_ALL);
- results = !results ? [] : results;
- for (var i = 0, l = nodes.length; i < l; i++) {
- if (nodes[i].nocheck !== true && nodes[i].chkDisabled !== true && nodes[i][checkedKey] == checked) {
- results.push(nodes[i]);
- if(onlyOne) {
- break;
- }
- }
- data.getTreeCheckedNodes(setting, nodes[i][childKey], checked, results);
- if(onlyOne && results.length > 0) {
- break;
- }
- }
- return results;
- },
- getTreeChangeCheckedNodes: function(setting, nodes, results) {
- if (!nodes) return [];
- var childKey = setting.data.key.children,
- checkedKey = setting.data.key.checked;
- results = !results ? [] : results;
- for (var i = 0, l = nodes.length; i < l; i++) {
- if (nodes[i].nocheck !== true && nodes[i].chkDisabled !== true && nodes[i][checkedKey] != nodes[i].checkedOld) {
- results.push(nodes[i]);
- }
- data.getTreeChangeCheckedNodes(setting, nodes[i][childKey], results);
- }
- return results;
- },
- makeChkFlag: function(setting, node) {
- if (!node) return;
- var childKey = setting.data.key.children,
- checkedKey = setting.data.key.checked,
- chkFlag = -1;
- if (node[childKey]) {
- for (var i = 0, l = node[childKey].length; i < l; i++) {
- var cNode = node[childKey][i];
- var tmp = -1;
- if (setting.check.chkStyle == consts.radio.STYLE) {
- if (cNode.nocheck === true || cNode.chkDisabled === true) {
- tmp = cNode.check_Child_State;
- } else if (cNode.halfCheck === true) {
- tmp = 2;
- } else if (cNode[checkedKey]) {
- tmp = 2;
- } else {
- tmp = cNode.check_Child_State > 0 ? 2:0;
- }
- if (tmp == 2) {
- chkFlag = 2; break;
- } else if (tmp == 0){
- chkFlag = 0;
- }
- } else if (setting.check.chkStyle == consts.checkbox.STYLE) {
- if (cNode.nocheck === true || cNode.chkDisabled === true) {
- tmp = cNode.check_Child_State;
- } else if (cNode.halfCheck === true) {
- tmp = 1;
- } else if (cNode[checkedKey] ) {
- tmp = (cNode.check_Child_State === -1 || cNode.check_Child_State === 2) ? 2 : 1;
- } else {
- tmp = (cNode.check_Child_State > 0) ? 1 : 0;
- }
- if (tmp === 1) {
- chkFlag = 1; break;
- } else if (tmp === 2 && chkFlag > -1 && i > 0 && tmp !== chkFlag) {
- chkFlag = 1; break;
- } else if (chkFlag === 2 && tmp > -1 && tmp < 2) {
- chkFlag = 1; break;
- } else if (tmp > -1) {
- chkFlag = tmp;
- }
- }
- }
- }
- node.check_Child_State = chkFlag;
- }
- },
- //method of event proxy
- _event = {
-
- },
- //method of event handler
- _handler = {
- onCheckNode: function (event, node) {
- if (node.chkDisabled === true) return false;
- var setting = data.getSetting(event.data.treeId),
- checkedKey = setting.data.key.checked;
- if (tools.apply(setting.callback.beforeCheck, [setting.treeId, node], true) == false) return true;
- node[checkedKey] = !node[checkedKey];
- view.checkNodeRelation(setting, node);
- var checkObj = $$(node, consts.id.CHECK, setting);
- view.setChkClass(setting, checkObj, node);
- view.repairParentChkClassWithSelf(setting, node);
- setting.treeObj.trigger(consts.event.CHECK, [event, setting.treeId, node]);
- return true;
- },
- onMouseoverCheck: function(event, node) {
- if (node.chkDisabled === true) return false;
- var setting = data.getSetting(event.data.treeId),
- checkObj = $$(node, consts.id.CHECK, setting);
- node.check_Focus = true;
- view.setChkClass(setting, checkObj, node);
- return true;
- },
- onMouseoutCheck: function(event, node) {
- if (node.chkDisabled === true) return false;
- var setting = data.getSetting(event.data.treeId),
- checkObj = $$(node, consts.id.CHECK, setting);
- node.check_Focus = false;
- view.setChkClass(setting, checkObj, node);
- return true;
- }
- },
- //method of tools for zTree
- _tools = {
-
- },
- //method of operate ztree dom
- _view = {
- checkNodeRelation: function(setting, node) {
- var pNode, i, l,
- childKey = setting.data.key.children,
- checkedKey = setting.data.key.checked,
- r = consts.radio;
- if (setting.check.chkStyle == r.STYLE) {
- var checkedList = data.getRadioCheckedList(setting);
- if (node[checkedKey]) {
- if (setting.check.radioType == r.TYPE_ALL) {
- for (i = checkedList.length-1; i >= 0; i--) {
- pNode = checkedList[i];
- if (pNode[checkedKey] && pNode != node) {
- pNode[checkedKey] = false;
- checkedList.splice(i, 1);
-
- view.setChkClass(setting, $$(pNode, consts.id.CHECK, setting), pNode);
- if (pNode.parentTId != node.parentTId) {
- view.repairParentChkClassWithSelf(setting, pNode);
- }
- }
- }
- checkedList.push(node);
- } else {
- var parentNode = (node.parentTId) ? node.getParentNode() : data.getRoot(setting);
- for (i = 0, l = parentNode[childKey].length; i < l; i++) {
- pNode = parentNode[childKey][i];
- if (pNode[checkedKey] && pNode != node) {
- pNode[checkedKey] = false;
- view.setChkClass(setting, $$(pNode, consts.id.CHECK, setting), pNode);
- }
- }
- }
- } else if (setting.check.radioType == r.TYPE_ALL) {
- for (i = 0, l = checkedList.length; i < l; i++) {
- if (node == checkedList[i]) {
- checkedList.splice(i, 1);
- break;
- }
- }
- }
-
- } else {
- if (node[checkedKey] && (!node[childKey] || node[childKey].length==0 || setting.check.chkboxType.Y.indexOf("s") > -1)) {
- view.setSonNodeCheckBox(setting, node, true);
- }
- if (!node[checkedKey] && (!node[childKey] || node[childKey].length==0 || setting.check.chkboxType.N.indexOf("s") > -1)) {
- view.setSonNodeCheckBox(setting, node, false);
- }
- if (node[checkedKey] && setting.check.chkboxType.Y.indexOf("p") > -1) {
- view.setParentNodeCheckBox(setting, node, true);
- }
- if (!node[checkedKey] && setting.check.chkboxType.N.indexOf("p") > -1) {
- view.setParentNodeCheckBox(setting, node, false);
- }
- }
- },
- makeChkClass: function(setting, node) {
- var checkedKey = setting.data.key.checked,
- c = consts.checkbox, r = consts.radio,
- fullStyle = "";
- if (node.chkDisabled === true) {
- fullStyle = c.DISABLED;
- } else if (node.halfCheck) {
- fullStyle = c.PART;
- } else if (setting.check.chkStyle == r.STYLE) {
- fullStyle = (node.check_Child_State < 1)? c.FULL:c.PART;
- } else {
- fullStyle = node[checkedKey] ? ((node.check_Child_State === 2 || node.check_Child_State === -1) ? c.FULL:c.PART) : ((node.check_Child_State < 1)? c.FULL:c.PART);
- }
- var chkName = setting.check.chkStyle + "_" + (node[checkedKey] ? c.TRUE : c.FALSE) + "_" + fullStyle;
- chkName = (node.check_Focus && node.chkDisabled !== true) ? chkName + "_" + c.FOCUS : chkName;
- return consts.className.BUTTON + " " + c.DEFAULT + " " + chkName;
- },
- repairAllChk: function(setting, checked) {
- if (setting.check.enable && setting.check.chkStyle === consts.checkbox.STYLE) {
- var checkedKey = setting.data.key.checked,
- childKey = setting.data.key.children,
- root = data.getRoot(setting);
- for (var i = 0, l = root[childKey].length; i<l ; i++) {
- var node = root[childKey][i];
- if (node.nocheck !== true && node.chkDisabled !== true) {
- node[checkedKey] = checked;
- }
- view.setSonNodeCheckBox(setting, node, checked);
- }
- }
- },
- repairChkClass: function(setting, node) {
- if (!node) return;
- data.makeChkFlag(setting, node);
- if (node.nocheck !== true) {
- var checkObj = $$(node, consts.id.CHECK, setting);
- view.setChkClass(setting, checkObj, node);
- }
- },
- repairParentChkClass: function(setting, node) {
- if (!node || !node.parentTId) return;
- var pNode = node.getParentNode();
- view.repairChkClass(setting, pNode);
- view.repairParentChkClass(setting, pNode);
- },
- repairParentChkClassWithSelf: function(setting, node) {
- if (!node) return;
- var childKey = setting.data.key.children;
- if (node[childKey] && node[childKey].length > 0) {
- view.repairParentChkClass(setting, node[childKey][0]);
- } else {
- view.repairParentChkClass(setting, node);
- }
- },
- repairSonChkDisabled: function(setting, node, chkDisabled, inherit) {
- if (!node) return;
- var childKey = setting.data.key.children;
- if (node.chkDisabled != chkDisabled) {
- node.chkDisabled = chkDisabled;
- }
- view.repairChkClass(setting, node);
- if (node[childKey] && inherit) {
- for (var i = 0, l = node[childKey].length; i < l; i++) {
- var sNode = node[childKey][i];
- view.repairSonChkDisabled(setting, sNode, chkDisabled, inherit);
- }
- }
- },
- repairParentChkDisabled: function(setting, node, chkDisabled, inherit) {
- if (!node) return;
- if (node.chkDisabled != chkDisabled && inherit) {
- node.chkDisabled = chkDisabled;
- }
- view.repairChkClass(setting, node);
- view.repairParentChkDisabled(setting, node.getParentNode(), chkDisabled, inherit);
- },
- setChkClass: function(setting, obj, node) {
- if (!obj) return;
- if (node.nocheck === true) {
- obj.hide();
- } else {
- obj.show();
- }
- obj.removeClass();
- obj.addClass(view.makeChkClass(setting, node));
- },
- setParentNodeCheckBox: function(setting, node, value, srcNode) {
- var childKey = setting.data.key.children,
- checkedKey = setting.data.key.checked,
- checkObj = $$(node, consts.id.CHECK, setting);
- if (!srcNode) srcNode = node;
- data.makeChkFlag(setting, node);
- if (node.nocheck !== true && node.chkDisabled !== true) {
- node[checkedKey] = value;
- view.setChkClass(setting, checkObj, node);
- if (setting.check.autoCheckTrigger && node != srcNode) {
- setting.treeObj.trigger(consts.event.CHECK, [null, setting.treeId, node]);
- }
- }
- if (node.parentTId) {
- var pSign = true;
- if (!value) {
- var pNodes = node.getParentNode()[childKey];
- for (var i = 0, l = pNodes.length; i < l; i++) {
- if ((pNodes[i].nocheck !== true && pNodes[i].chkDisabled !== true && pNodes[i][checkedKey])
- || ((pNodes[i].nocheck === true || pNodes[i].chkDisabled === true) && pNodes[i].check_Child_State > 0)) {
- pSign = false;
- break;
- }
- }
- }
- if (pSign) {
- view.setParentNodeCheckBox(setting, node.getParentNode(), value, srcNode);
- }
- }
- },
- setSonNodeCheckBox: function(setting, node, value, srcNode) {
- if (!node) return;
- var childKey = setting.data.key.children,
- checkedKey = setting.data.key.checked,
- checkObj = $$(node, consts.id.CHECK, setting);
- if (!srcNode) srcNode = node;
-
- var hasDisable = false;
- if (node[childKey]) {
- for (var i = 0, l = node[childKey].length; i < l && node.chkDisabled !== true; i++) {
- var sNode = node[childKey][i];
- view.setSonNodeCheckBox(setting, sNode, value, srcNode);
- if (sNode.chkDisabled === true) hasDisable = true;
- }
- }
-
- if (node != data.getRoot(setting) && node.chkDisabled !== true) {
- if (hasDisable && node.nocheck !== true) {
- data.makeChkFlag(setting, node);
- }
- if (node.nocheck !== true && node.chkDisabled !== true) {
- node[checkedKey] = value;
- if (!hasDisable) node.check_Child_State = (node[childKey] && node[childKey].length > 0) ? (value ? 2 : 0) : -1;
- } else {
- node.check_Child_State = -1;
- }
- view.setChkClass(setting, checkObj, node);
- if (setting.check.autoCheckTrigger && node != srcNode && node.nocheck !== true && node.chkDisabled !== true) {
- setting.treeObj.trigger(consts.event.CHECK, [null, setting.treeId, node]);
- }
- }
-
- }
- },
-
- _z = {
- tools: _tools,
- view: _view,
- event: _event,
- data: _data
- };
- $.extend(true, $.fn.zTree.consts, _consts);
- $.extend(true, $.fn.zTree._z, _z);
-
- var zt = $.fn.zTree,
- tools = zt._z.tools,
- consts = zt.consts,
- view = zt._z.view,
- data = zt._z.data,
- event = zt._z.event,
- $$ = tools.$;
-
- data.exSetting(_setting);
- data.addInitBind(_bindEvent);
- data.addInitUnBind(_unbindEvent);
- data.addInitCache(_initCache);
- data.addInitNode(_initNode);
- data.addInitProxy(_eventProxy, true);
- data.addInitRoot(_initRoot);
- data.addBeforeA(_beforeA);
- data.addZTreeTools(_zTreeTools);
-
- var _createNodes = view.createNodes;
- view.createNodes = function(setting, level, nodes, parentNode) {
- if (_createNodes) _createNodes.apply(view, arguments);
- if (!nodes) return;
- view.repairParentChkClassWithSelf(setting, parentNode);
- }
- var _removeNode = view.removeNode;
- view.removeNode = function(setting, node) {
- var parentNode = node.getParentNode();
- if (_removeNode) _removeNode.apply(view, arguments);
- if (!node || !parentNode) return;
- view.repairChkClass(setting, parentNode);
- view.repairParentChkClass(setting, parentNode);
- }
-
- var _appendNodes = view.appendNodes;
- view.appendNodes = function(setting, level, nodes, parentNode, initFlag, openFlag) {
- var html = "";
- if (_appendNodes) {
- html = _appendNodes.apply(view, arguments);
- }
- if (parentNode) {
- data.makeChkFlag(setting, parentNode);
- }
- return html;
- }
-})(jQuery);
-/*
- * JQuery zTree exedit v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function($){
- //default consts of exedit
- var _consts = {
- event: {
- DRAG: "ztree_drag",
- DROP: "ztree_drop",
- RENAME: "ztree_rename",
- DRAGMOVE:"ztree_dragmove"
- },
- id: {
- EDIT: "_edit",
- INPUT: "_input",
- REMOVE: "_remove"
- },
- move: {
- TYPE_INNER: "inner",
- TYPE_PREV: "prev",
- TYPE_NEXT: "next"
- },
- node: {
- CURSELECTED_EDIT: "curSelectedNode_Edit",
- TMPTARGET_TREE: "tmpTargetzTree",
- TMPTARGET_NODE: "tmpTargetNode"
- }
- },
- //default setting of exedit
- _setting = {
- edit: {
- enable: false,
- editNameSelectAll: false,
- showRemoveBtn: true,
- showRenameBtn: true,
- removeTitle: "remove",
- renameTitle: "rename",
- drag: {
- autoExpandTrigger: false,
- isCopy: true,
- isMove: true,
- prev: true,
- next: true,
- inner: true,
- minMoveSize: 5,
- borderMax: 10,
- borderMin: -5,
- maxShowNodeNum: 5,
- autoOpenTime: 500
- }
- },
- view: {
- addHoverDom: null,
- removeHoverDom: null
- },
- callback: {
- beforeDrag:null,
- beforeDragOpen:null,
- beforeDrop:null,
- beforeEditName:null,
- beforeRename:null,
- onDrag:null,
- onDragMove:null,
- onDrop:null,
- onRename:null
- }
- },
- //default root of exedit
- _initRoot = function (setting) {
- var r = data.getRoot(setting), rs = data.getRoots();
- r.curEditNode = null;
- r.curEditInput = null;
- r.curHoverNode = null;
- r.dragFlag = 0;
- r.dragNodeShowBefore = [];
- r.dragMaskList = new Array();
- rs.showHoverDom = true;
- },
- //default cache of exedit
- _initCache = function(treeId) {},
- //default bind event of exedit
- _bindEvent = function(setting) {
- var o = setting.treeObj;
- var c = consts.event;
- o.bind(c.RENAME, function (event, treeId, treeNode, isCancel) {
- tools.apply(setting.callback.onRename, [event, treeId, treeNode, isCancel]);
- });
-
- o.bind(c.DRAG, function (event, srcEvent, treeId, treeNodes) {
- tools.apply(setting.callback.onDrag, [srcEvent, treeId, treeNodes]);
- });
-
- o.bind(c.DRAGMOVE,function(event, srcEvent, treeId, treeNodes){
- tools.apply(setting.callback.onDragMove,[srcEvent, treeId, treeNodes]);
- });
-
- o.bind(c.DROP, function (event, srcEvent, treeId, treeNodes, targetNode, moveType, isCopy) {
- tools.apply(setting.callback.onDrop, [srcEvent, treeId, treeNodes, targetNode, moveType, isCopy]);
- });
- },
- _unbindEvent = function(setting) {
- var o = setting.treeObj;
- var c = consts.event;
- o.unbind(c.RENAME);
- o.unbind(c.DRAG);
- o.unbind(c.DRAGMOVE);
- o.unbind(c.DROP);
- },
- //default event proxy of exedit
- _eventProxy = function(e) {
- var target = e.target,
- setting = data.getSetting(e.data.treeId),
- relatedTarget = e.relatedTarget,
- tId = "", node = null,
- nodeEventType = "", treeEventType = "",
- nodeEventCallback = null, treeEventCallback = null,
- tmp = null;
-
- if (tools.eqs(e.type, "mouseover")) {
- tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]);
- if (tmp) {
- tId = tools.getNodeMainDom(tmp).id;
- nodeEventType = "hoverOverNode";
- }
- } else if (tools.eqs(e.type, "mouseout")) {
- tmp = tools.getMDom(setting, relatedTarget, [{tagName:"a", attrName:"treeNode"+consts.id.A}]);
- if (!tmp) {
- tId = "remove";
- nodeEventType = "hoverOutNode";
- }
- } else if (tools.eqs(e.type, "mousedown")) {
- tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]);
- if (tmp) {
- tId = tools.getNodeMainDom(tmp).id;
- nodeEventType = "mousedownNode";
- }
- }
- if (tId.length>0) {
- node = data.getNodeCache(setting, tId);
- switch (nodeEventType) {
- case "mousedownNode" :
- nodeEventCallback = _handler.onMousedownNode;
- break;
- case "hoverOverNode" :
- nodeEventCallback = _handler.onHoverOverNode;
- break;
- case "hoverOutNode" :
- nodeEventCallback = _handler.onHoverOutNode;
- break;
- }
- }
- var proxyResult = {
- stop: false,
- node: node,
- nodeEventType: nodeEventType,
- nodeEventCallback: nodeEventCallback,
- treeEventType: treeEventType,
- treeEventCallback: treeEventCallback
- };
- return proxyResult
- },
- //default init node of exedit
- _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) {
- if (!n) return;
- n.isHover = false;
- n.editNameFlag = false;
- },
- //update zTreeObj, add method of edit
- _zTreeTools = function(setting, zTreeTools) {
- zTreeTools.cancelEditName = function(newName) {
- var root = data.getRoot(this.setting);
- if (!root.curEditNode) return;
- view.cancelCurEditNode(this.setting, newName?newName:null, true);
- }
- zTreeTools.copyNode = function(targetNode, node, moveType, isSilent) {
- if (!node) return null;
- if (targetNode && !targetNode.isParent && this.setting.data.keep.leaf && moveType === consts.move.TYPE_INNER) return null;
- var _this = this,
- newNode = tools.clone(node);
- if (!targetNode) {
- targetNode = null;
- moveType = consts.move.TYPE_INNER;
- }
- if (moveType == consts.move.TYPE_INNER) {
- function copyCallback() {
- view.addNodes(_this.setting, targetNode, [newNode], isSilent);
- }
-
- if (tools.canAsync(this.setting, targetNode)) {
- view.asyncNode(this.setting, targetNode, isSilent, copyCallback);
- } else {
- copyCallback();
- }
- } else {
- view.addNodes(this.setting, targetNode.parentNode, [newNode], isSilent);
- view.moveNode(this.setting, targetNode, newNode, moveType, false, isSilent);
- }
- return newNode;
- }
- zTreeTools.editName = function(node) {
- if (!node || !node.tId || node !== data.getNodeCache(this.setting, node.tId)) return;
- if (node.parentTId) view.expandCollapseParentNode(this.setting, node.getParentNode(), true);
- view.editNode(this.setting, node)
- }
- zTreeTools.moveNode = function(targetNode, node, moveType, isSilent) {
- if (!node) return node;
- if (targetNode && !targetNode.isParent && this.setting.data.keep.leaf && moveType === consts.move.TYPE_INNER) {
- return null;
- } else if (targetNode && ((node.parentTId == targetNode.tId && moveType == consts.move.TYPE_INNER) || $$(node, this.setting).find("#" + targetNode.tId).length > 0)) {
- return null;
- } else if (!targetNode) {
- targetNode = null;
- }
- var _this = this;
- function moveCallback() {
- view.moveNode(_this.setting, targetNode, node, moveType, false, isSilent);
- }
- if (tools.canAsync(this.setting, targetNode) && moveType === consts.move.TYPE_INNER) {
- view.asyncNode(this.setting, targetNode, isSilent, moveCallback);
- } else {
- moveCallback();
- }
- return node;
- }
- zTreeTools.setEditable = function(editable) {
- this.setting.edit.enable = editable;
- return this.refresh();
- }
- },
- //method of operate data
- _data = {
- setSonNodeLevel: function(setting, parentNode, node) {
- if (!node) return;
- var childKey = setting.data.key.children;
- node.level = (parentNode)? parentNode.level + 1 : 0;
- if (!node[childKey]) return;
- for (var i = 0, l = node[childKey].length; i < l; i++) {
- if (node[childKey][i]) data.setSonNodeLevel(setting, node, node[childKey][i]);
- }
- }
- },
- //method of event proxy
- _event = {
-
- },
- //method of event handler
- _handler = {
- onHoverOverNode: function(event, node) {
- var setting = data.getSetting(event.data.treeId),
- root = data.getRoot(setting);
- if (root.curHoverNode != node) {
- _handler.onHoverOutNode(event);
- }
- root.curHoverNode = node;
- view.addHoverDom(setting, node);
- },
- onHoverOutNode: function(event, node) {
- var setting = data.getSetting(event.data.treeId),
- root = data.getRoot(setting);
- if (root.curHoverNode && !data.isSelectedNode(setting, root.curHoverNode)) {
- view.removeTreeDom(setting, root.curHoverNode);
- root.curHoverNode = null;
- }
- },
- onMousedownNode: function(eventMouseDown, _node) {
- var i,l,
- setting = data.getSetting(eventMouseDown.data.treeId),
- root = data.getRoot(setting), roots = data.getRoots();
- //right click can't drag & drop
- if (eventMouseDown.button == 2 || !setting.edit.enable || (!setting.edit.drag.isCopy && !setting.edit.drag.isMove)) return true;
-
- //input of edit node name can't drag & drop
- var target = eventMouseDown.target,
- _nodes = data.getRoot(setting).curSelectedList,
- nodes = [];
- if (!data.isSelectedNode(setting, _node)) {
- nodes = [_node];
- } else {
- for (i=0, l=_nodes.length; i<l; i++) {
- if (_nodes[i].editNameFlag && tools.eqs(target.tagName, "input") && target.getAttribute("treeNode"+consts.id.INPUT) !== null) {
- return true;
- }
- nodes.push(_nodes[i]);
- if (nodes[0].parentTId !== _nodes[i].parentTId) {
- nodes = [_node];
- break;
- }
- }
- }
-
- view.editNodeBlur = true;
- view.cancelCurEditNode(setting);
-
- var doc = $(setting.treeObj.get(0).ownerDocument),
- body = $(setting.treeObj.get(0).ownerDocument.body), curNode, tmpArrow, tmpTarget,
- isOtherTree = false,
- targetSetting = setting,
- sourceSetting = setting,
- preNode, nextNode,
- preTmpTargetNodeId = null,
- preTmpMoveType = null,
- tmpTargetNodeId = null,
- moveType = consts.move.TYPE_INNER,
- mouseDownX = eventMouseDown.clientX,
- mouseDownY = eventMouseDown.clientY,
- startTime = (new Date()).getTime();
-
- if (tools.uCanDo(setting)) {
- doc.bind("mousemove", _docMouseMove);
- }
- function _docMouseMove(event) {
- //avoid start drag after click node
- if (root.dragFlag == 0 && Math.abs(mouseDownX - event.clientX) < setting.edit.drag.minMoveSize
- && Math.abs(mouseDownY - event.clientY) < setting.edit.drag.minMoveSize) {
- return true;
- }
- var i, l, tmpNode, tmpDom, tmpNodes,
- childKey = setting.data.key.children;
- body.css("cursor", "pointer");
-
- if (root.dragFlag == 0) {
- if (tools.apply(setting.callback.beforeDrag, [setting.treeId, nodes], true) == false) {
- _docMouseUp(event);
- return true;
- }
-
- for (i=0, l=nodes.length; i<l; i++) {
- if (i==0) {
- root.dragNodeShowBefore = [];
- }
- tmpNode = nodes[i];
- if (tmpNode.isParent && tmpNode.open) {
- view.expandCollapseNode(setting, tmpNode, !tmpNode.open);
- root.dragNodeShowBefore[tmpNode.tId] = true;
- } else {
- root.dragNodeShowBefore[tmpNode.tId] = false;
- }
- }
-
- root.dragFlag = 1;
- roots.showHoverDom = false;
- tools.showIfameMask(setting, true);
-
- //sort
- var isOrder = true, lastIndex = -1;
- if (nodes.length>1) {
- var pNodes = nodes[0].parentTId ? nodes[0].getParentNode()[childKey] : data.getNodes(setting);
- tmpNodes = [];
- for (i=0, l=pNodes.length; i<l; i++) {
- if (root.dragNodeShowBefore[pNodes[i].tId] !== undefined) {
- if (isOrder && lastIndex > -1 && (lastIndex+1) !== i) {
- isOrder = false;
- }
- tmpNodes.push(pNodes[i]);
- lastIndex = i;
- }
- if (nodes.length === tmpNodes.length) {
- nodes = tmpNodes;
- break;
- }
- }
- }
- if (isOrder) {
- preNode = nodes[0].getPreNode();
- nextNode = nodes[nodes.length-1].getNextNode();
- }
-
- //set node in selected
- curNode = $$("<ul class='zTreeDragUL'></ul>", setting);
- for (i=0, l=nodes.length; i<l; i++) {
- tmpNode = nodes[i];
- tmpNode.editNameFlag = false;
- view.selectNode(setting, tmpNode, i>0);
- view.removeTreeDom(setting, tmpNode);
-
- if (i > setting.edit.drag.maxShowNodeNum-1) {
- continue;
- }
-
- tmpDom = $$("<li id='"+ tmpNode.tId +"_tmp'></li>", setting);
- tmpDom.append($$(tmpNode, consts.id.A, setting).clone());
- tmpDom.css("padding", "0");
- tmpDom.children("#" + tmpNode.tId + consts.id.A).removeClass(consts.node.CURSELECTED);
- curNode.append(tmpDom);
- if (i == setting.edit.drag.maxShowNodeNum-1) {
- tmpDom = $$("<li id='"+ tmpNode.tId +"_moretmp'><a> ... </a></li>", setting);
- curNode.append(tmpDom);
- }
- }
- curNode.attr("id", nodes[0].tId + consts.id.UL + "_tmp");
- curNode.addClass(setting.treeObj.attr("class"));
- curNode.appendTo(body);
-
- tmpArrow = $$("<span class='tmpzTreeMove_arrow'></span>", setting);
- tmpArrow.attr("id", "zTreeMove_arrow_tmp");
- tmpArrow.appendTo(body);
-
- setting.treeObj.trigger(consts.event.DRAG, [event, setting.treeId, nodes]);
- }
-
- if (root.dragFlag == 1) {
- if (tmpTarget && tmpArrow.attr("id") == event.target.id && tmpTargetNodeId && (event.clientX + doc.scrollLeft()+2) > ($("#" + tmpTargetNodeId + consts.id.A, tmpTarget).offset().left)) {
- var xT = $("#" + tmpTargetNodeId + consts.id.A, tmpTarget);
- event.target = (xT.length > 0) ? xT.get(0) : event.target;
- } else if (tmpTarget) {
- tmpTarget.removeClass(consts.node.TMPTARGET_TREE);
- if (tmpTargetNodeId) $("#" + tmpTargetNodeId + consts.id.A, tmpTarget).removeClass(consts.node.TMPTARGET_NODE + "_" + consts.move.TYPE_PREV)
- .removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_NEXT).removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_INNER);
- }
- tmpTarget = null;
- tmpTargetNodeId = null;
-
- //judge drag & drop in multi ztree
- isOtherTree = false;
- targetSetting = setting;
- var settings = data.getSettings();
- for (var s in settings) {
- if (settings[s].treeId && settings[s].edit.enable && settings[s].treeId != setting.treeId
- && (event.target.id == settings[s].treeId || $(event.target).parents("#" + settings[s].treeId).length>0)) {
- isOtherTree = true;
- targetSetting = settings[s];
- }
- }
-
- var docScrollTop = doc.scrollTop(),
- docScrollLeft = doc.scrollLeft(),
- treeOffset = targetSetting.treeObj.offset(),
- scrollHeight = targetSetting.treeObj.get(0).scrollHeight,
- scrollWidth = targetSetting.treeObj.get(0).scrollWidth,
- dTop = (event.clientY + docScrollTop - treeOffset.top),
- dBottom = (targetSetting.treeObj.height() + treeOffset.top - event.clientY - docScrollTop),
- dLeft = (event.clientX + docScrollLeft - treeOffset.left),
- dRight = (targetSetting.treeObj.width() + treeOffset.left - event.clientX - docScrollLeft),
- isTop = (dTop < setting.edit.drag.borderMax && dTop > setting.edit.drag.borderMin),
- isBottom = (dBottom < setting.edit.drag.borderMax && dBottom > setting.edit.drag.borderMin),
- isLeft = (dLeft < setting.edit.drag.borderMax && dLeft > setting.edit.drag.borderMin),
- isRight = (dRight < setting.edit.drag.borderMax && dRight > setting.edit.drag.borderMin),
- isTreeInner = dTop > setting.edit.drag.borderMin && dBottom > setting.edit.drag.borderMin && dLeft > setting.edit.drag.borderMin && dRight > setting.edit.drag.borderMin,
- isTreeTop = (isTop && targetSetting.treeObj.scrollTop() <= 0),
- isTreeBottom = (isBottom && (targetSetting.treeObj.scrollTop() + targetSetting.treeObj.height()+10) >= scrollHeight),
- isTreeLeft = (isLeft && targetSetting.treeObj.scrollLeft() <= 0),
- isTreeRight = (isRight && (targetSetting.treeObj.scrollLeft() + targetSetting.treeObj.width()+10) >= scrollWidth);
-
- if (event.target && tools.isChildOrSelf(event.target, targetSetting.treeId)) {
- //get node <li> dom
- var targetObj = event.target;
- while (targetObj && targetObj.tagName && !tools.eqs(targetObj.tagName, "li") && targetObj.id != targetSetting.treeId) {
- targetObj = targetObj.parentNode;
- }
-
- var canMove = true;
- //don't move to self or children of self
- for (i=0, l=nodes.length; i<l; i++) {
- tmpNode = nodes[i];
- if (targetObj.id === tmpNode.tId) {
- canMove = false;
- break;
- } else if ($$(tmpNode, setting).find("#" + targetObj.id).length > 0) {
- canMove = false;
- break;
- }
- }
- if (canMove && event.target && tools.isChildOrSelf(event.target, targetObj.id + consts.id.A)) {
- tmpTarget = $(targetObj);
- tmpTargetNodeId = targetObj.id;
- }
- }
-
- //the mouse must be in zTree
- tmpNode = nodes[0];
- if (isTreeInner && tools.isChildOrSelf(event.target, targetSetting.treeId)) {
- //judge mouse move in root of ztree
- if (!tmpTarget && (event.target.id == targetSetting.treeId || isTreeTop || isTreeBottom || isTreeLeft || isTreeRight) && (isOtherTree || (!isOtherTree && tmpNode.parentTId))) {
- tmpTarget = targetSetting.treeObj;
- }
- //auto scroll top
- if (isTop) {
- targetSetting.treeObj.scrollTop(targetSetting.treeObj.scrollTop()-10);
- } else if (isBottom) {
- targetSetting.treeObj.scrollTop(targetSetting.treeObj.scrollTop()+10);
- }
- if (isLeft) {
- targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft()-10);
- } else if (isRight) {
- targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft()+10);
- }
- //auto scroll left
- if (tmpTarget && tmpTarget != targetSetting.treeObj && tmpTarget.offset().left < targetSetting.treeObj.offset().left) {
- targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft()+ tmpTarget.offset().left - targetSetting.treeObj.offset().left);
- }
- }
-
- curNode.css({
- "top": (event.clientY + docScrollTop + 3) + "px",
- "left": (event.clientX + docScrollLeft + 3) + "px"
- });
-
- var dX = 0;
- var dY = 0;
- if (tmpTarget && tmpTarget.attr("id")!=targetSetting.treeId) {
- var tmpTargetNode = tmpTargetNodeId == null ? null: data.getNodeCache(targetSetting, tmpTargetNodeId),
- isCopy = ((event.ctrlKey || event.metaKey) && setting.edit.drag.isMove && setting.edit.drag.isCopy) || (!setting.edit.drag.isMove && setting.edit.drag.isCopy),
- isPrev = !!(preNode && tmpTargetNodeId === preNode.tId),
- isNext = !!(nextNode && tmpTargetNodeId === nextNode.tId),
- isInner = (tmpNode.parentTId && tmpNode.parentTId == tmpTargetNodeId),
- canPrev = (isCopy || !isNext) && tools.apply(targetSetting.edit.drag.prev, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.prev),
- canNext = (isCopy || !isPrev) && tools.apply(targetSetting.edit.drag.next, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.next),
- canInner = (isCopy || !isInner) && !(targetSetting.data.keep.leaf && !tmpTargetNode.isParent) && tools.apply(targetSetting.edit.drag.inner, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.inner);
- if (!canPrev && !canNext && !canInner) {
- tmpTarget = null;
- tmpTargetNodeId = "";
- moveType = consts.move.TYPE_INNER;
- tmpArrow.css({
- "display":"none"
- });
- if (window.zTreeMoveTimer) {
- clearTimeout(window.zTreeMoveTimer);
- window.zTreeMoveTargetNodeTId = null
- }
- } else {
- var tmpTargetA = $("#" + tmpTargetNodeId + consts.id.A, tmpTarget),
- tmpNextA = tmpTargetNode.isLastNode ? null : $("#" + tmpTargetNode.getNextNode().tId + consts.id.A, tmpTarget.next()),
- tmpTop = tmpTargetA.offset().top,
- tmpLeft = tmpTargetA.offset().left,
- prevPercent = canPrev ? (canInner ? 0.25 : (canNext ? 0.5 : 1) ) : -1,
- nextPercent = canNext ? (canInner ? 0.75 : (canPrev ? 0.5 : 0) ) : -1,
- dY_percent = (event.clientY + docScrollTop - tmpTop)/tmpTargetA.height();
- if ((prevPercent==1 ||dY_percent<=prevPercent && dY_percent>=-.2) && canPrev) {
- dX = 1 - tmpArrow.width();
- dY = tmpTop - tmpArrow.height()/2;
- moveType = consts.move.TYPE_PREV;
- } else if ((nextPercent==0 || dY_percent>=nextPercent && dY_percent<=1.2) && canNext) {
- dX = 1 - tmpArrow.width();
- dY = (tmpNextA == null || (tmpTargetNode.isParent && tmpTargetNode.open)) ? (tmpTop + tmpTargetA.height() - tmpArrow.height()/2) : (tmpNextA.offset().top - tmpArrow.height()/2);
- moveType = consts.move.TYPE_NEXT;
- }else {
- dX = 5 - tmpArrow.width();
- dY = tmpTop;
- moveType = consts.move.TYPE_INNER;
- }
- tmpArrow.css({
- "display":"block",
- "top": dY + "px",
- "left": (tmpLeft + dX) + "px"
- });
- tmpTargetA.addClass(consts.node.TMPTARGET_NODE + "_" + moveType);
-
- if (preTmpTargetNodeId != tmpTargetNodeId || preTmpMoveType != moveType) {
- startTime = (new Date()).getTime();
- }
- if (tmpTargetNode && tmpTargetNode.isParent && moveType == consts.move.TYPE_INNER) {
- var startTimer = true;
- if (window.zTreeMoveTimer && window.zTreeMoveTargetNodeTId !== tmpTargetNode.tId) {
- clearTimeout(window.zTreeMoveTimer);
- window.zTreeMoveTargetNodeTId = null;
- }else if (window.zTreeMoveTimer && window.zTreeMoveTargetNodeTId === tmpTargetNode.tId) {
- startTimer = false;
- }
- if (startTimer) {
- window.zTreeMoveTimer = setTimeout(function() {
- if (moveType != consts.move.TYPE_INNER) return;
- if (tmpTargetNode && tmpTargetNode.isParent && !tmpTargetNode.open && (new Date()).getTime() - startTime > targetSetting.edit.drag.autoOpenTime
- && tools.apply(targetSetting.callback.beforeDragOpen, [targetSetting.treeId, tmpTargetNode], true)) {
- view.switchNode(targetSetting, tmpTargetNode);
- if (targetSetting.edit.drag.autoExpandTrigger) {
- targetSetting.treeObj.trigger(consts.event.EXPAND, [targetSetting.treeId, tmpTargetNode]);
- }
- }
- }, targetSetting.edit.drag.autoOpenTime+50);
- window.zTreeMoveTargetNodeTId = tmpTargetNode.tId;
- }
- }
- }
- } else {
- moveType = consts.move.TYPE_INNER;
- if (tmpTarget && tools.apply(targetSetting.edit.drag.inner, [targetSetting.treeId, nodes, null], !!targetSetting.edit.drag.inner)) {
- tmpTarget.addClass(consts.node.TMPTARGET_TREE);
- } else {
- tmpTarget = null;
- }
- tmpArrow.css({
- "display":"none"
- });
- if (window.zTreeMoveTimer) {
- clearTimeout(window.zTreeMoveTimer);
- window.zTreeMoveTargetNodeTId = null;
- }
- }
- preTmpTargetNodeId = tmpTargetNodeId;
- preTmpMoveType = moveType;
-
- setting.treeObj.trigger(consts.event.DRAGMOVE, [event, setting.treeId, nodes]);
- }
- return false;
- }
-
- doc.bind("mouseup", _docMouseUp);
- function _docMouseUp(event) {
- if (window.zTreeMoveTimer) {
- clearTimeout(window.zTreeMoveTimer);
- window.zTreeMoveTargetNodeTId = null;
- }
- preTmpTargetNodeId = null;
- preTmpMoveType = null;
- doc.unbind("mousemove", _docMouseMove);
- doc.unbind("mouseup", _docMouseUp);
- doc.unbind("selectstart", _docSelect);
- body.css("cursor", "auto");
- if (tmpTarget) {
- tmpTarget.removeClass(consts.node.TMPTARGET_TREE);
- if (tmpTargetNodeId) $("#" + tmpTargetNodeId + consts.id.A, tmpTarget).removeClass(consts.node.TMPTARGET_NODE + "_" + consts.move.TYPE_PREV)
- .removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_NEXT).removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_INNER);
- }
- tools.showIfameMask(setting, false);
-
- roots.showHoverDom = true;
- if (root.dragFlag == 0) return;
- root.dragFlag = 0;
-
- var i, l, tmpNode;
- for (i=0, l=nodes.length; i<l; i++) {
- tmpNode = nodes[i];
- if (tmpNode.isParent && root.dragNodeShowBefore[tmpNode.tId] && !tmpNode.open) {
- view.expandCollapseNode(setting, tmpNode, !tmpNode.open);
- delete root.dragNodeShowBefore[tmpNode.tId];
- }
- }
-
- if (curNode) curNode.remove();
- if (tmpArrow) tmpArrow.remove();
-
- var isCopy = ((event.ctrlKey || event.metaKey) && setting.edit.drag.isMove && setting.edit.drag.isCopy) || (!setting.edit.drag.isMove && setting.edit.drag.isCopy);
- if (!isCopy && tmpTarget && tmpTargetNodeId && nodes[0].parentTId && tmpTargetNodeId==nodes[0].parentTId && moveType == consts.move.TYPE_INNER) {
- tmpTarget = null;
- }
- if (tmpTarget) {
- var dragTargetNode = tmpTargetNodeId == null ? null: data.getNodeCache(targetSetting, tmpTargetNodeId);
- if (tools.apply(setting.callback.beforeDrop, [targetSetting.treeId, nodes, dragTargetNode, moveType, isCopy], true) == false) {
- view.selectNodes(sourceSetting, nodes);
- return;
- }
- var newNodes = isCopy ? tools.clone(nodes) : nodes;
-
- function dropCallback() {
- if (isOtherTree) {
- if (!isCopy) {
- for(var i=0, l=nodes.length; i<l; i++) {
- view.removeNode(setting, nodes[i]);
- }
- }
- if (moveType == consts.move.TYPE_INNER) {
- view.addNodes(targetSetting, dragTargetNode, newNodes);
- } else {
- view.addNodes(targetSetting, dragTargetNode.getParentNode(), newNodes);
- if (moveType == consts.move.TYPE_PREV) {
- for (i=0, l=newNodes.length; i<l; i++) {
- view.moveNode(targetSetting, dragTargetNode, newNodes[i], moveType, false);
- }
- } else {
- for (i=-1, l=newNodes.length-1; i<l; l--) {
- view.moveNode(targetSetting, dragTargetNode, newNodes[l], moveType, false);
- }
- }
- }
- } else {
- if (isCopy && moveType == consts.move.TYPE_INNER) {
- view.addNodes(targetSetting, dragTargetNode, newNodes);
- } else {
- if (isCopy) {
- view.addNodes(targetSetting, dragTargetNode.getParentNode(), newNodes);
- }
- if (moveType != consts.move.TYPE_NEXT) {
- for (i=0, l=newNodes.length; i<l; i++) {
- view.moveNode(targetSetting, dragTargetNode, newNodes[i], moveType, false);
- }
- } else {
- for (i=-1, l=newNodes.length-1; i<l; l--) {
- view.moveNode(targetSetting, dragTargetNode, newNodes[l], moveType, false);
- }
- }
- }
- }
- view.selectNodes(targetSetting, newNodes);
- $$(newNodes[0], setting).focus().blur();
-
- setting.treeObj.trigger(consts.event.DROP, [event, targetSetting.treeId, newNodes, dragTargetNode, moveType, isCopy]);
- }
-
- if (moveType == consts.move.TYPE_INNER && tools.canAsync(targetSetting, dragTargetNode)) {
- view.asyncNode(targetSetting, dragTargetNode, false, dropCallback);
- } else {
- dropCallback();
- }
-
- } else {
- view.selectNodes(sourceSetting, nodes);
- setting.treeObj.trigger(consts.event.DROP, [event, setting.treeId, nodes, null, null, null]);
- }
- }
-
- doc.bind("selectstart", _docSelect);
- function _docSelect() {
- return false;
- }
-
- //Avoid FireFox's Bug
- //If zTree Div CSS set 'overflow', so drag node outside of zTree, and event.target is error.
- if(eventMouseDown.preventDefault) {
- eventMouseDown.preventDefault();
- }
- return true;
- }
- },
- //method of tools for zTree
- _tools = {
- getAbs: function (obj) {
- var oRect = obj.getBoundingClientRect(),
- scrollTop = document.body.scrollTop+document.documentElement.scrollTop,
- scrollLeft = document.body.scrollLeft+document.documentElement.scrollLeft;
- return [oRect.left+scrollLeft,oRect.top+scrollTop];
- },
- inputFocus: function(inputObj) {
- if (inputObj.get(0)) {
- inputObj.focus();
- tools.setCursorPosition(inputObj.get(0), inputObj.val().length);
- }
- },
- inputSelect: function(inputObj) {
- if (inputObj.get(0)) {
- inputObj.focus();
- inputObj.select();
- }
- },
- setCursorPosition: function(obj, pos){
- if(obj.setSelectionRange) {
- obj.focus();
- obj.setSelectionRange(pos,pos);
- } else if (obj.createTextRange) {
- var range = obj.createTextRange();
- range.collapse(true);
- range.moveEnd('character', pos);
- range.moveStart('character', pos);
- range.select();
- }
- },
- showIfameMask: function(setting, showSign) {
- var root = data.getRoot(setting);
- //clear full mask
- while (root.dragMaskList.length > 0) {
- root.dragMaskList[0].remove();
- root.dragMaskList.shift();
- }
- if (showSign) {
- //show mask
- var iframeList = $$("iframe", setting);
- for (var i = 0, l = iframeList.length; i < l; i++) {
- var obj = iframeList.get(i),
- r = tools.getAbs(obj),
- dragMask = $$("<div id='zTreeMask_" + i + "' class='zTreeMask' style='top:" + r[1] + "px; left:" + r[0] + "px; width:" + obj.offsetWidth + "px; height:" + obj.offsetHeight + "px;'></div>", setting);
- dragMask.appendTo($$("body", setting));
- root.dragMaskList.push(dragMask);
- }
- }
- }
- },
- //method of operate ztree dom
- _view = {
- addEditBtn: function(setting, node) {
- if (node.editNameFlag || $$(node, consts.id.EDIT, setting).length > 0) {
- return;
- }
- if (!tools.apply(setting.edit.showRenameBtn, [setting.treeId, node], setting.edit.showRenameBtn)) {
- return;
- }
- var aObj = $$(node, consts.id.A, setting),
- editStr = "<span class='" + consts.className.BUTTON + " edit' id='" + node.tId + consts.id.EDIT + "' title='"+tools.apply(setting.edit.renameTitle, [setting.treeId, node], setting.edit.renameTitle)+"' treeNode"+consts.id.EDIT+" style='display:none;'></span>";
- aObj.append(editStr);
-
- $$(node, consts.id.EDIT, setting).bind('click',
- function() {
- if (!tools.uCanDo(setting) || tools.apply(setting.callback.beforeEditName, [setting.treeId, node], true) == false) return false;
- view.editNode(setting, node);
- return false;
- }
- ).show();
- },
- addRemoveBtn: function(setting, node) {
- if (node.editNameFlag || $$(node, consts.id.REMOVE, setting).length > 0) {
- return;
- }
- if (!tools.apply(setting.edit.showRemoveBtn, [setting.treeId, node], setting.edit.showRemoveBtn)) {
- return;
- }
- var aObj = $$(node, consts.id.A, setting),
- removeStr = "<span class='" + consts.className.BUTTON + " remove' id='" + node.tId + consts.id.REMOVE + "' title='"+tools.apply(setting.edit.removeTitle, [setting.treeId, node], setting.edit.removeTitle)+"' treeNode"+consts.id.REMOVE+" style='display:none;'></span>";
- aObj.append(removeStr);
-
- $$(node, consts.id.REMOVE, setting).bind('click',
- function() {
- if (!tools.uCanDo(setting) || tools.apply(setting.callback.beforeRemove, [setting.treeId, node], true) == false) return false;
- view.removeNode(setting, node);
- setting.treeObj.trigger(consts.event.REMOVE, [setting.treeId, node]);
- return false;
- }
- ).bind('mousedown',
- function(eventMouseDown) {
- return true;
- }
- ).show();
- },
- addHoverDom: function(setting, node) {
- if (data.getRoots().showHoverDom) {
- node.isHover = true;
- if (setting.edit.enable) {
- //view.addEditBtn(setting, node);
- view.addRemoveBtn(setting, node);
- view.addEditBtn(setting, node);
- }
- tools.apply(setting.view.addHoverDom, [setting.treeId, node]);
- }
- },
- cancelCurEditNode: function (setting, forceName, isCancel) {
- var root = data.getRoot(setting),
- nameKey = setting.data.key.name,
- node = root.curEditNode;
-
- if (node) {
- var inputObj = root.curEditInput,
- newName = forceName ? forceName:(isCancel ? node[nameKey]: inputObj.val());
- if (tools.apply(setting.callback.beforeRename, [setting.treeId, node, newName, isCancel], true) === false) {
- return false;
- } else {
- node[nameKey] = newName;
- setting.treeObj.trigger(consts.event.RENAME, [setting.treeId, node, isCancel]);
- }
- var aObj = $$(node, consts.id.A, setting);
- aObj.removeClass(consts.node.CURSELECTED_EDIT);
- inputObj.unbind();
- view.setNodeName(setting, node);
- node.editNameFlag = false;
- root.curEditNode = null;
- root.curEditInput = null;
- view.selectNode(setting, node, false);
- }
- root.noSelection = true;
- return true;
- },
- editNode: function(setting, node) {
- var root = data.getRoot(setting);
- view.editNodeBlur = false;
- if (data.isSelectedNode(setting, node) && root.curEditNode == node && node.editNameFlag) {
- setTimeout(function() {tools.inputFocus(root.curEditInput);}, 0);
- return;
- }
- var nameKey = setting.data.key.name;
- node.editNameFlag = true;
- view.removeTreeDom(setting, node);
- view.cancelCurEditNode(setting);
- view.selectNode(setting, node, false);
- $$(node, consts.id.SPAN, setting).html("<input type=text class='rename' id='" + node.tId + consts.id.INPUT + "' treeNode" + consts.id.INPUT + " >");
- var inputObj = $$(node, consts.id.INPUT, setting);
- inputObj.attr("value", node[nameKey]);
- if (setting.edit.editNameSelectAll) {
- tools.inputSelect(inputObj);
- } else {
- tools.inputFocus(inputObj);
- }
-
- inputObj.bind('blur', function(event) {
- if (!view.editNodeBlur) {
- view.cancelCurEditNode(setting);
- }
- }).bind('keydown', function(event) {
- if (event.keyCode=="13") {
- view.editNodeBlur = true;
- view.cancelCurEditNode(setting);
- } else if (event.keyCode=="27") {
- view.cancelCurEditNode(setting, null, true);
- }
- }).bind('click', function(event) {
- return false;
- }).bind('dblclick', function(event) {
- return false;
- });
-
- $$(node, consts.id.A, setting).addClass(consts.node.CURSELECTED_EDIT);
- root.curEditInput = inputObj;
- root.noSelection = false;
- root.curEditNode = node;
- },
- moveNode: function(setting, targetNode, node, moveType, animateFlag, isSilent) {
- var root = data.getRoot(setting),
- childKey = setting.data.key.children;
- if (targetNode == node) return;
- if (setting.data.keep.leaf && targetNode && !targetNode.isParent && moveType == consts.move.TYPE_INNER) return;
- var oldParentNode = (node.parentTId ? node.getParentNode(): root),
- targetNodeIsRoot = (targetNode === null || targetNode == root);
- if (targetNodeIsRoot && targetNode === null) targetNode = root;
- if (targetNodeIsRoot) moveType = consts.move.TYPE_INNER;
- var targetParentNode = (targetNode.parentTId ? targetNode.getParentNode() : root);
-
- if (moveType != consts.move.TYPE_PREV && moveType != consts.move.TYPE_NEXT) {
- moveType = consts.move.TYPE_INNER;
- }
-
- if (moveType == consts.move.TYPE_INNER) {
- if (targetNodeIsRoot) {
- //parentTId of root node is null
- node.parentTId = null;
- } else {
- if (!targetNode.isParent) {
- targetNode.isParent = true;
- targetNode.open = !!targetNode.open;
- view.setNodeLineIcos(setting, targetNode);
- }
- node.parentTId = targetNode.tId;
- }
- }
-
- //move node Dom
- var targetObj, target_ulObj;
- if (targetNodeIsRoot) {
- targetObj = setting.treeObj;
- target_ulObj = targetObj;
- } else {
- if (!isSilent && moveType == consts.move.TYPE_INNER) {
- view.expandCollapseNode(setting, targetNode, true, false);
- } else if (!isSilent) {
- view.expandCollapseNode(setting, targetNode.getParentNode(), true, false);
- }
- targetObj = $$(targetNode, setting);
- target_ulObj = $$(targetNode, consts.id.UL, setting);
- if (!!targetObj.get(0) && !target_ulObj.get(0)) {
- var ulstr = [];
- view.makeUlHtml(setting, targetNode, ulstr, '');
- targetObj.append(ulstr.join(''));
- }
- target_ulObj = $$(targetNode, consts.id.UL, setting);
- }
- var nodeDom = $$(node, setting);
- if (!nodeDom.get(0)) {
- nodeDom = view.appendNodes(setting, node.level, [node], null, false, true).join('');
- } else if (!targetObj.get(0)) {
- nodeDom.remove();
- }
- if (target_ulObj.get(0) && moveType == consts.move.TYPE_INNER) {
- target_ulObj.append(nodeDom);
- } else if (targetObj.get(0) && moveType == consts.move.TYPE_PREV) {
- targetObj.before(nodeDom);
- } else if (targetObj.get(0) && moveType == consts.move.TYPE_NEXT) {
- targetObj.after(nodeDom);
- }
-
- //repair the data after move
- var i,l,
- tmpSrcIndex = -1,
- tmpTargetIndex = 0,
- oldNeighbor = null,
- newNeighbor = null,
- oldLevel = node.level;
- if (node.isFirstNode) {
- tmpSrcIndex = 0;
- if (oldParentNode[childKey].length > 1 ) {
- oldNeighbor = oldParentNode[childKey][1];
- oldNeighbor.isFirstNode = true;
- }
- } else if (node.isLastNode) {
- tmpSrcIndex = oldParentNode[childKey].length -1;
- oldNeighbor = oldParentNode[childKey][tmpSrcIndex - 1];
- oldNeighbor.isLastNode = true;
- } else {
- for (i = 0, l = oldParentNode[childKey].length; i < l; i++) {
- if (oldParentNode[childKey][i].tId == node.tId) {
- tmpSrcIndex = i;
- break;
- }
- }
- }
- if (tmpSrcIndex >= 0) {
- oldParentNode[childKey].splice(tmpSrcIndex, 1);
- }
- if (moveType != consts.move.TYPE_INNER) {
- for (i = 0, l = targetParentNode[childKey].length; i < l; i++) {
- if (targetParentNode[childKey][i].tId == targetNode.tId) tmpTargetIndex = i;
- }
- }
- if (moveType == consts.move.TYPE_INNER) {
- if (!targetNode[childKey]) targetNode[childKey] = new Array();
- if (targetNode[childKey].length > 0) {
- newNeighbor = targetNode[childKey][targetNode[childKey].length - 1];
- newNeighbor.isLastNode = false;
- }
- targetNode[childKey].splice(targetNode[childKey].length, 0, node);
- node.isLastNode = true;
- node.isFirstNode = (targetNode[childKey].length == 1);
- } else if (targetNode.isFirstNode && moveType == consts.move.TYPE_PREV) {
- targetParentNode[childKey].splice(tmpTargetIndex, 0, node);
- newNeighbor = targetNode;
- newNeighbor.isFirstNode = false;
- node.parentTId = targetNode.parentTId;
- node.isFirstNode = true;
- node.isLastNode = false;
-
- } else if (targetNode.isLastNode && moveType == consts.move.TYPE_NEXT) {
- targetParentNode[childKey].splice(tmpTargetIndex + 1, 0, node);
- newNeighbor = targetNode;
- newNeighbor.isLastNode = false;
- node.parentTId = targetNode.parentTId;
- node.isFirstNode = false;
- node.isLastNode = true;
-
- } else {
- if (moveType == consts.move.TYPE_PREV) {
- targetParentNode[childKey].splice(tmpTargetIndex, 0, node);
- } else {
- targetParentNode[childKey].splice(tmpTargetIndex + 1, 0, node);
- }
- node.parentTId = targetNode.parentTId;
- node.isFirstNode = false;
- node.isLastNode = false;
- }
- data.fixPIdKeyValue(setting, node);
- data.setSonNodeLevel(setting, node.getParentNode(), node);
-
- //repair node what been moved
- view.setNodeLineIcos(setting, node);
- view.repairNodeLevelClass(setting, node, oldLevel)
-
- //repair node's old parentNode dom
- if (!setting.data.keep.parent && oldParentNode[childKey].length < 1) {
- //old parentNode has no child nodes
- oldParentNode.isParent = false;
- oldParentNode.open = false;
- var tmp_ulObj = $$(oldParentNode, consts.id.UL, setting),
- tmp_switchObj = $$(oldParentNode, consts.id.SWITCH, setting),
- tmp_icoObj = $$(oldParentNode, consts.id.ICON, setting);
- view.replaceSwitchClass(oldParentNode, tmp_switchObj, consts.folder.DOCU);
- view.replaceIcoClass(oldParentNode, tmp_icoObj, consts.folder.DOCU);
- tmp_ulObj.css("display", "none");
-
- } else if (oldNeighbor) {
- //old neigbor node
- view.setNodeLineIcos(setting, oldNeighbor);
- }
-
- //new neigbor node
- if (newNeighbor) {
- view.setNodeLineIcos(setting, newNeighbor);
- }
-
- //repair checkbox / radio
- if (!!setting.check && setting.check.enable && view.repairChkClass) {
- view.repairChkClass(setting, oldParentNode);
- view.repairParentChkClassWithSelf(setting, oldParentNode);
- if (oldParentNode != node.parent)
- view.repairParentChkClassWithSelf(setting, node);
- }
-
- //expand parents after move
- if (!isSilent) {
- view.expandCollapseParentNode(setting, node.getParentNode(), true, animateFlag);
- }
- },
- removeEditBtn: function(setting, node) {
- $$(node, consts.id.EDIT, setting).unbind().remove();
- },
- removeRemoveBtn: function(setting, node) {
- $$(node, consts.id.REMOVE, setting).unbind().remove();
- },
- removeTreeDom: function(setting, node) {
- node.isHover = false;
- view.removeEditBtn(setting, node);
- view.removeRemoveBtn(setting, node);
- tools.apply(setting.view.removeHoverDom, [setting.treeId, node]);
- },
- repairNodeLevelClass: function(setting, node, oldLevel) {
- if (oldLevel === node.level) return;
- var liObj = $$(node, setting),
- aObj = $$(node, consts.id.A, setting),
- ulObj = $$(node, consts.id.UL, setting),
- oldClass = consts.className.LEVEL + oldLevel,
- newClass = consts.className.LEVEL + node.level;
- liObj.removeClass(oldClass);
- liObj.addClass(newClass);
- aObj.removeClass(oldClass);
- aObj.addClass(newClass);
- ulObj.removeClass(oldClass);
- ulObj.addClass(newClass);
- },
- selectNodes : function(setting, nodes) {
- for (var i=0, l=nodes.length; i<l; i++) {
- view.selectNode(setting, nodes[i], i>0);
- }
- }
- },
-
- _z = {
- tools: _tools,
- view: _view,
- event: _event,
- data: _data
- };
- $.extend(true, $.fn.zTree.consts, _consts);
- $.extend(true, $.fn.zTree._z, _z);
-
- var zt = $.fn.zTree,
- tools = zt._z.tools,
- consts = zt.consts,
- view = zt._z.view,
- data = zt._z.data,
- event = zt._z.event,
- $$ = tools.$;
-
- data.exSetting(_setting);
- data.addInitBind(_bindEvent);
- data.addInitUnBind(_unbindEvent);
- data.addInitCache(_initCache);
- data.addInitNode(_initNode);
- data.addInitProxy(_eventProxy);
- data.addInitRoot(_initRoot);
- data.addZTreeTools(_zTreeTools);
-
- var _cancelPreSelectedNode = view.cancelPreSelectedNode;
- view.cancelPreSelectedNode = function (setting, node) {
- var list = data.getRoot(setting).curSelectedList;
- for (var i=0, j=list.length; i<j; i++) {
- if (!node || node === list[i]) {
- view.removeTreeDom(setting, list[i]);
- if (node) break;
- }
- }
- if (_cancelPreSelectedNode) _cancelPreSelectedNode.apply(view, arguments);
- }
-
- var _createNodes = view.createNodes;
- view.createNodes = function(setting, level, nodes, parentNode) {
- if (_createNodes) {
- _createNodes.apply(view, arguments);
- }
- if (!nodes) return;
- if (view.repairParentChkClassWithSelf) {
- view.repairParentChkClassWithSelf(setting, parentNode);
- }
- }
-
- var _makeNodeUrl = view.makeNodeUrl;
- view.makeNodeUrl = function(setting, node) {
- return setting.edit.enable ? null : (_makeNodeUrl.apply(view, arguments));
- }
-
- var _removeNode = view.removeNode;
- view.removeNode = function(setting, node) {
- var root = data.getRoot(setting);
- if (root.curEditNode === node) root.curEditNode = null;
- if (_removeNode) {
- _removeNode.apply(view, arguments);
- }
- }
-
- var _selectNode = view.selectNode;
- view.selectNode = function(setting, node, addFlag) {
- var root = data.getRoot(setting);
- if (data.isSelectedNode(setting, node) && root.curEditNode == node && node.editNameFlag) {
- return false;
- }
- if (_selectNode) _selectNode.apply(view, arguments);
- view.addHoverDom(setting, node);
- return true;
- }
-
- var _uCanDo = tools.uCanDo;
- tools.uCanDo = function(setting, e) {
- var root = data.getRoot(setting);
- if (e && (tools.eqs(e.type, "mouseover") || tools.eqs(e.type, "mouseout") || tools.eqs(e.type, "mousedown") || tools.eqs(e.type, "mouseup"))) {
- return true;
- }
- if (root.curEditNode) {
- view.editNodeBlur = false;
- root.curEditInput.focus();
- }
- return (!root.curEditNode) && (_uCanDo ? _uCanDo.apply(view, arguments) : true);
- }
-})(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.all.min.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.all.min.js
deleted file mode 100644
index 5bc89871..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.all.min.js
+++ /dev/null
@@ -1,160 +0,0 @@
-
-/*
- * JQuery zTree core v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function(p){var G,H,I,J,K,L,r={},u={},v={},M={treeId:"",treeObj:null,view:{addDiyDom:null,autoCancelSelected:!0,dblClickExpand:!0,expandSpeed:"fast",fontCss:{},nameIsHTML:!1,selectedMulti:!0,showIcon:!0,showLine:!0,showTitle:!0,txtSelectedEnable:!1},data:{key:{children:"children",name:"name",title:"",url:"url"},simpleData:{enable:!1,idKey:"id",pIdKey:"pId",rootPId:null},keep:{parent:!1,leaf:!1}},async:{enable:!1,contentType:"application/x-www-form-urlencoded",type:"post",dataType:"text",url:"",autoParam:[],
-otherParam:[],dataFilter:null},callback:{beforeAsync:null,beforeClick:null,beforeDblClick:null,beforeRightClick:null,beforeMouseDown:null,beforeMouseUp:null,beforeExpand:null,beforeCollapse:null,beforeRemove:null,onAsyncError:null,onAsyncSuccess:null,onNodeCreated:null,onClick:null,onDblClick:null,onRightClick:null,onMouseDown:null,onMouseUp:null,onExpand:null,onCollapse:null,onRemove:null}},w=[function(b){var a=b.treeObj,c=e.event;a.bind(c.NODECREATED,function(a,c,g){j.apply(b.callback.onNodeCreated,
-[a,c,g])});a.bind(c.CLICK,function(a,c,g,l,h){j.apply(b.callback.onClick,[c,g,l,h])});a.bind(c.EXPAND,function(a,c,g){j.apply(b.callback.onExpand,[a,c,g])});a.bind(c.COLLAPSE,function(a,c,g){j.apply(b.callback.onCollapse,[a,c,g])});a.bind(c.ASYNC_SUCCESS,function(a,c,g,l){j.apply(b.callback.onAsyncSuccess,[a,c,g,l])});a.bind(c.ASYNC_ERROR,function(a,c,g,l,h,e){j.apply(b.callback.onAsyncError,[a,c,g,l,h,e])});a.bind(c.REMOVE,function(a,c,g){j.apply(b.callback.onRemove,[a,c,g])})}],x=[function(b){var a=
-e.event;b.treeObj.unbind(a.NODECREATED).unbind(a.CLICK).unbind(a.EXPAND).unbind(a.COLLAPSE).unbind(a.ASYNC_SUCCESS).unbind(a.ASYNC_ERROR).unbind(a.REMOVE)}],y=[function(b){var a=h.getCache(b);a||(a={},h.setCache(b,a));a.nodes=[];a.doms=[]}],z=[function(b,a,c,d,f,g){if(c){var l=h.getRoot(b),e=b.data.key.children;c.level=a;c.tId=b.treeId+"_"+ ++l.zId;c.parentTId=d?d.tId:null;c.open=typeof c.open=="string"?j.eqs(c.open,"true"):!!c.open;c[e]&&c[e].length>0?(c.isParent=!0,c.zAsync=!0):(c.isParent=typeof c.isParent==
-"string"?j.eqs(c.isParent,"true"):!!c.isParent,c.open=c.isParent&&!b.async.enable?c.open:!1,c.zAsync=!c.isParent);c.isFirstNode=f;c.isLastNode=g;c.getParentNode=function(){return h.getNodeCache(b,c.parentTId)};c.getPreNode=function(){return h.getPreNode(b,c)};c.getNextNode=function(){return h.getNextNode(b,c)};c.isAjaxing=!1;h.fixPIdKeyValue(b,c)}}],s=[function(b){var a=b.target,c=h.getSetting(b.data.treeId),d="",f=null,g="",l="",i=null,n=null,k=null;if(j.eqs(b.type,"mousedown"))l="mousedown";else if(j.eqs(b.type,
-"mouseup"))l="mouseup";else if(j.eqs(b.type,"contextmenu"))l="contextmenu";else if(j.eqs(b.type,"click"))if(j.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+e.id.SWITCH)!==null)d=j.getNodeMainDom(a).id,g="switchNode";else{if(k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}]))d=j.getNodeMainDom(k).id,g="clickNode"}else if(j.eqs(b.type,"dblclick")&&(l="dblclick",k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}])))d=j.getNodeMainDom(k).id,g="switchNode";if(l.length>0&&d.length==0&&
-(k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}])))d=j.getNodeMainDom(k).id;if(d.length>0)switch(f=h.getNodeCache(c,d),g){case "switchNode":f.isParent?j.eqs(b.type,"click")||j.eqs(b.type,"dblclick")&&j.apply(c.view.dblClickExpand,[c.treeId,f],c.view.dblClickExpand)?i=G:g="":g="";break;case "clickNode":i=H}switch(l){case "mousedown":n=I;break;case "mouseup":n=J;break;case "dblclick":n=K;break;case "contextmenu":n=L}return{stop:!1,node:f,nodeEventType:g,nodeEventCallback:i,treeEventType:l,
-treeEventCallback:n}}],A=[function(b){var a=h.getRoot(b);a||(a={},h.setRoot(b,a));a[b.data.key.children]=[];a.expandTriggerFlag=!1;a.curSelectedList=[];a.noSelection=!0;a.createdNodes=[];a.zId=0;a._ver=(new Date).getTime()}],B=[],C=[],D=[],E=[],F=[],h={addNodeCache:function(b,a){h.getCache(b).nodes[h.getNodeCacheId(a.tId)]=a},getNodeCacheId:function(b){return b.substring(b.lastIndexOf("_")+1)},addAfterA:function(b){C.push(b)},addBeforeA:function(b){B.push(b)},addInnerAfterA:function(b){E.push(b)},
-addInnerBeforeA:function(b){D.push(b)},addInitBind:function(b){w.push(b)},addInitUnBind:function(b){x.push(b)},addInitCache:function(b){y.push(b)},addInitNode:function(b){z.push(b)},addInitProxy:function(b,a){a?s.splice(0,0,b):s.push(b)},addInitRoot:function(b){A.push(b)},addNodesData:function(b,a,c){var d=b.data.key.children;a[d]||(a[d]=[]);if(a[d].length>0)a[d][a[d].length-1].isLastNode=!1,i.setNodeLineIcos(b,a[d][a[d].length-1]);a.isParent=!0;a[d]=a[d].concat(c)},addSelectedNode:function(b,a){var c=
-h.getRoot(b);h.isSelectedNode(b,a)||c.curSelectedList.push(a)},addCreatedNode:function(b,a){(b.callback.onNodeCreated||b.view.addDiyDom)&&h.getRoot(b).createdNodes.push(a)},addZTreeTools:function(b){F.push(b)},exSetting:function(b){p.extend(!0,M,b)},fixPIdKeyValue:function(b,a){b.data.simpleData.enable&&(a[b.data.simpleData.pIdKey]=a.parentTId?a.getParentNode()[b.data.simpleData.idKey]:b.data.simpleData.rootPId)},getAfterA:function(b,a,c){for(var d=0,f=C.length;d<f;d++)C[d].apply(this,arguments)},
-getBeforeA:function(b,a,c){for(var d=0,f=B.length;d<f;d++)B[d].apply(this,arguments)},getInnerAfterA:function(b,a,c){for(var d=0,f=E.length;d<f;d++)E[d].apply(this,arguments)},getInnerBeforeA:function(b,a,c){for(var d=0,f=D.length;d<f;d++)D[d].apply(this,arguments)},getCache:function(b){return v[b.treeId]},getNextNode:function(b,a){if(!a)return null;for(var c=b.data.key.children,d=a.parentTId?a.getParentNode():h.getRoot(b),f=0,g=d[c].length-1;f<=g;f++)if(d[c][f]===a)return f==g?null:d[c][f+1];return null},
-getNodeByParam:function(b,a,c,d){if(!a||!c)return null;for(var f=b.data.key.children,g=0,l=a.length;g<l;g++){if(a[g][c]==d)return a[g];var e=h.getNodeByParam(b,a[g][f],c,d);if(e)return e}return null},getNodeCache:function(b,a){if(!a)return null;var c=v[b.treeId].nodes[h.getNodeCacheId(a)];return c?c:null},getNodeName:function(b,a){return""+a[b.data.key.name]},getNodeTitle:function(b,a){return""+a[b.data.key.title===""?b.data.key.name:b.data.key.title]},getNodes:function(b){return h.getRoot(b)[b.data.key.children]},
-getNodesByParam:function(b,a,c,d){if(!a||!c)return[];for(var f=b.data.key.children,g=[],l=0,e=a.length;l<e;l++)a[l][c]==d&&g.push(a[l]),g=g.concat(h.getNodesByParam(b,a[l][f],c,d));return g},getNodesByParamFuzzy:function(b,a,c,d){if(!a||!c)return[];for(var f=b.data.key.children,g=[],d=d.toLowerCase(),l=0,e=a.length;l<e;l++)typeof a[l][c]=="string"&&a[l][c].toLowerCase().indexOf(d)>-1&&g.push(a[l]),g=g.concat(h.getNodesByParamFuzzy(b,a[l][f],c,d));return g},getNodesByFilter:function(b,a,c,d,f){if(!a)return d?
-null:[];for(var g=b.data.key.children,e=d?null:[],i=0,n=a.length;i<n;i++){if(j.apply(c,[a[i],f],!1)){if(d)return a[i];e.push(a[i])}var k=h.getNodesByFilter(b,a[i][g],c,d,f);if(d&&k)return k;e=d?k:e.concat(k)}return e},getPreNode:function(b,a){if(!a)return null;for(var c=b.data.key.children,d=a.parentTId?a.getParentNode():h.getRoot(b),f=0,g=d[c].length;f<g;f++)if(d[c][f]===a)return f==0?null:d[c][f-1];return null},getRoot:function(b){return b?u[b.treeId]:null},getRoots:function(){return u},getSetting:function(b){return r[b]},
-getSettings:function(){return r},getZTreeTools:function(b){return(b=this.getRoot(this.getSetting(b)))?b.treeTools:null},initCache:function(b){for(var a=0,c=y.length;a<c;a++)y[a].apply(this,arguments)},initNode:function(b,a,c,d,f,g){for(var e=0,h=z.length;e<h;e++)z[e].apply(this,arguments)},initRoot:function(b){for(var a=0,c=A.length;a<c;a++)A[a].apply(this,arguments)},isSelectedNode:function(b,a){for(var c=h.getRoot(b),d=0,f=c.curSelectedList.length;d<f;d++)if(a===c.curSelectedList[d])return!0;return!1},
-removeNodeCache:function(b,a){var c=b.data.key.children;if(a[c])for(var d=0,f=a[c].length;d<f;d++)arguments.callee(b,a[c][d]);h.getCache(b).nodes[h.getNodeCacheId(a.tId)]=null},removeSelectedNode:function(b,a){for(var c=h.getRoot(b),d=0,f=c.curSelectedList.length;d<f;d++)if(a===c.curSelectedList[d]||!h.getNodeCache(b,c.curSelectedList[d].tId))c.curSelectedList.splice(d,1),d--,f--},setCache:function(b,a){v[b.treeId]=a},setRoot:function(b,a){u[b.treeId]=a},setZTreeTools:function(b,a){for(var c=0,d=
-F.length;c<d;c++)F[c].apply(this,arguments)},transformToArrayFormat:function(b,a){if(!a)return[];var c=b.data.key.children,d=[];if(j.isArray(a))for(var f=0,g=a.length;f<g;f++)d.push(a[f]),a[f][c]&&(d=d.concat(h.transformToArrayFormat(b,a[f][c])));else d.push(a),a[c]&&(d=d.concat(h.transformToArrayFormat(b,a[c])));return d},transformTozTreeFormat:function(b,a){var c,d,f=b.data.simpleData.idKey,g=b.data.simpleData.pIdKey,e=b.data.key.children;if(!f||f==""||!a)return[];if(j.isArray(a)){var h=[],i=[];
-for(c=0,d=a.length;c<d;c++)i[a[c][f]]=a[c];for(c=0,d=a.length;c<d;c++)i[a[c][g]]&&a[c][f]!=a[c][g]?(i[a[c][g]][e]||(i[a[c][g]][e]=[]),i[a[c][g]][e].push(a[c])):h.push(a[c]);return h}else return[a]}},m={bindEvent:function(b){for(var a=0,c=w.length;a<c;a++)w[a].apply(this,arguments)},unbindEvent:function(b){for(var a=0,c=x.length;a<c;a++)x[a].apply(this,arguments)},bindTree:function(b){var a={treeId:b.treeId},c=b.treeObj;b.view.txtSelectedEnable||c.bind("selectstart",function(a){a=a.originalEvent.srcElement.nodeName.toLowerCase();
-return a==="input"||a==="textarea"}).css({"-moz-user-select":"-moz-none"});c.bind("click",a,m.proxy);c.bind("dblclick",a,m.proxy);c.bind("mouseover",a,m.proxy);c.bind("mouseout",a,m.proxy);c.bind("mousedown",a,m.proxy);c.bind("mouseup",a,m.proxy);c.bind("contextmenu",a,m.proxy)},unbindTree:function(b){b.treeObj.unbind("click",m.proxy).unbind("dblclick",m.proxy).unbind("mouseover",m.proxy).unbind("mouseout",m.proxy).unbind("mousedown",m.proxy).unbind("mouseup",m.proxy).unbind("contextmenu",m.proxy)},
-doProxy:function(b){for(var a=[],c=0,d=s.length;c<d;c++){var f=s[c].apply(this,arguments);a.push(f);if(f.stop)break}return a},proxy:function(b){var a=h.getSetting(b.data.treeId);if(!j.uCanDo(a,b))return!0;for(var a=m.doProxy(b),c=!0,d=0,f=a.length;d<f;d++){var g=a[d];g.nodeEventCallback&&(c=g.nodeEventCallback.apply(g,[b,g.node])&&c);g.treeEventCallback&&(c=g.treeEventCallback.apply(g,[b,g.node])&&c)}return c}};G=function(b,a){var c=h.getSetting(b.data.treeId);if(a.open){if(j.apply(c.callback.beforeCollapse,
-[c.treeId,a],!0)==!1)return!0}else if(j.apply(c.callback.beforeExpand,[c.treeId,a],!0)==!1)return!0;h.getRoot(c).expandTriggerFlag=!0;i.switchNode(c,a);return!0};H=function(b,a){var c=h.getSetting(b.data.treeId),d=c.view.autoCancelSelected&&(b.ctrlKey||b.metaKey)&&h.isSelectedNode(c,a)?0:c.view.autoCancelSelected&&(b.ctrlKey||b.metaKey)&&c.view.selectedMulti?2:1;if(j.apply(c.callback.beforeClick,[c.treeId,a,d],!0)==!1)return!0;d===0?i.cancelPreSelectedNode(c,a):i.selectNode(c,a,d===2);c.treeObj.trigger(e.event.CLICK,
-[b,c.treeId,a,d]);return!0};I=function(b,a){var c=h.getSetting(b.data.treeId);j.apply(c.callback.beforeMouseDown,[c.treeId,a],!0)&&j.apply(c.callback.onMouseDown,[b,c.treeId,a]);return!0};J=function(b,a){var c=h.getSetting(b.data.treeId);j.apply(c.callback.beforeMouseUp,[c.treeId,a],!0)&&j.apply(c.callback.onMouseUp,[b,c.treeId,a]);return!0};K=function(b,a){var c=h.getSetting(b.data.treeId);j.apply(c.callback.beforeDblClick,[c.treeId,a],!0)&&j.apply(c.callback.onDblClick,[b,c.treeId,a]);return!0};
-L=function(b,a){var c=h.getSetting(b.data.treeId);j.apply(c.callback.beforeRightClick,[c.treeId,a],!0)&&j.apply(c.callback.onRightClick,[b,c.treeId,a]);return typeof c.callback.onRightClick!="function"};var j={apply:function(b,a,c){return typeof b=="function"?b.apply(N,a?a:[]):c},canAsync:function(b,a){var c=b.data.key.children;return b.async.enable&&a&&a.isParent&&!(a.zAsync||a[c]&&a[c].length>0)},clone:function(b){if(b===null)return null;var a=j.isArray(b)?[]:{},c;for(c in b)a[c]=b[c]instanceof
-Date?new Date(b[c].getTime()):typeof b[c]==="object"?arguments.callee(b[c]):b[c];return a},eqs:function(b,a){return b.toLowerCase()===a.toLowerCase()},isArray:function(b){return Object.prototype.toString.apply(b)==="[object Array]"},$:function(b,a,c){a&&typeof a!="string"&&(c=a,a="");return typeof b=="string"?p(b,c?c.treeObj.get(0).ownerDocument:null):p("#"+b.tId+a,c?c.treeObj:null)},getMDom:function(b,a,c){if(!a)return null;for(;a&&a.id!==b.treeId;){for(var d=0,f=c.length;a.tagName&&d<f;d++)if(j.eqs(a.tagName,
-c[d].tagName)&&a.getAttribute(c[d].attrName)!==null)return a;a=a.parentNode}return null},getNodeMainDom:function(b){return p(b).parent("li").get(0)||p(b).parentsUntil("li").parent().get(0)},isChildOrSelf:function(b,a){return p(b).closest("#"+a).length>0},uCanDo:function(){return!0}},i={addNodes:function(b,a,c,d){if(!b.data.keep.leaf||!a||a.isParent)if(j.isArray(c)||(c=[c]),b.data.simpleData.enable&&(c=h.transformTozTreeFormat(b,c)),a){var f=k(a,e.id.SWITCH,b),g=k(a,e.id.ICON,b),l=k(a,e.id.UL,b);if(!a.open)i.replaceSwitchClass(a,
-f,e.folder.CLOSE),i.replaceIcoClass(a,g,e.folder.CLOSE),a.open=!1,l.css({display:"none"});h.addNodesData(b,a,c);i.createNodes(b,a.level+1,c,a);d||i.expandCollapseParentNode(b,a,!0)}else h.addNodesData(b,h.getRoot(b),c),i.createNodes(b,0,c,null)},appendNodes:function(b,a,c,d,f,g){if(!c)return[];for(var e=[],j=b.data.key.children,k=0,m=c.length;k<m;k++){var o=c[k];if(f){var t=(d?d:h.getRoot(b))[j].length==c.length&&k==0;h.initNode(b,a,o,d,t,k==c.length-1,g);h.addNodeCache(b,o)}t=[];o[j]&&o[j].length>
-0&&(t=i.appendNodes(b,a+1,o[j],o,f,g&&o.open));g&&(i.makeDOMNodeMainBefore(e,b,o),i.makeDOMNodeLine(e,b,o),h.getBeforeA(b,o,e),i.makeDOMNodeNameBefore(e,b,o),h.getInnerBeforeA(b,o,e),i.makeDOMNodeIcon(e,b,o),h.getInnerAfterA(b,o,e),i.makeDOMNodeNameAfter(e,b,o),h.getAfterA(b,o,e),o.isParent&&o.open&&i.makeUlHtml(b,o,e,t.join("")),i.makeDOMNodeMainAfter(e,b,o),h.addCreatedNode(b,o))}return e},appendParentULDom:function(b,a){var c=[],d=k(a,b);!d.get(0)&&a.parentTId&&(i.appendParentULDom(b,a.getParentNode()),
-d=k(a,b));var f=k(a,e.id.UL,b);f.get(0)&&f.remove();f=i.appendNodes(b,a.level+1,a[b.data.key.children],a,!1,!0);i.makeUlHtml(b,a,c,f.join(""));d.append(c.join(""))},asyncNode:function(b,a,c,d){var f,g;if(a&&!a.isParent)return j.apply(d),!1;else if(a&&a.isAjaxing)return!1;else if(j.apply(b.callback.beforeAsync,[b.treeId,a],!0)==!1)return j.apply(d),!1;if(a)a.isAjaxing=!0,k(a,e.id.ICON,b).attr({style:"","class":e.className.BUTTON+" "+e.className.ICO_LOADING});var l={};for(f=0,g=b.async.autoParam.length;a&&
-f<g;f++){var q=b.async.autoParam[f].split("="),n=q;q.length>1&&(n=q[1],q=q[0]);l[n]=a[q]}if(j.isArray(b.async.otherParam))for(f=0,g=b.async.otherParam.length;f<g;f+=2)l[b.async.otherParam[f]]=b.async.otherParam[f+1];else for(var m in b.async.otherParam)l[m]=b.async.otherParam[m];var o=h.getRoot(b)._ver;p.ajax({contentType:b.async.contentType,type:b.async.type,url:j.apply(b.async.url,[b.treeId,a],b.async.url),data:l,dataType:b.async.dataType,success:function(f){if(o==h.getRoot(b)._ver){var g=[];try{g=
-!f||f.length==0?[]:typeof f=="string"?eval("("+f+")"):f}catch(l){g=f}if(a)a.isAjaxing=null,a.zAsync=!0;i.setNodeLineIcos(b,a);g&&g!==""?(g=j.apply(b.async.dataFilter,[b.treeId,a,g],g),i.addNodes(b,a,g?j.clone(g):[],!!c)):i.addNodes(b,a,[],!!c);b.treeObj.trigger(e.event.ASYNC_SUCCESS,[b.treeId,a,f]);j.apply(d)}},error:function(c,d,f){if(o==h.getRoot(b)._ver){if(a)a.isAjaxing=null;i.setNodeLineIcos(b,a);b.treeObj.trigger(e.event.ASYNC_ERROR,[b.treeId,a,c,d,f])}}});return!0},cancelPreSelectedNode:function(b,
-a){for(var c=h.getRoot(b).curSelectedList,d=c.length-1;d>=0;d--)if(!a||a===c[d])if(k(c[d],e.id.A,b).removeClass(e.node.CURSELECTED),a){h.removeSelectedNode(b,a);break}if(!a)h.getRoot(b).curSelectedList=[]},createNodeCallback:function(b){if(b.callback.onNodeCreated||b.view.addDiyDom)for(var a=h.getRoot(b);a.createdNodes.length>0;){var c=a.createdNodes.shift();j.apply(b.view.addDiyDom,[b.treeId,c]);b.callback.onNodeCreated&&b.treeObj.trigger(e.event.NODECREATED,[b.treeId,c])}},createNodes:function(b,
-a,c,d){if(c&&c.length!=0){var f=h.getRoot(b),g=b.data.key.children,g=!d||d.open||!!k(d[g][0],b).get(0);f.createdNodes=[];a=i.appendNodes(b,a,c,d,!0,g);d?(d=k(d,e.id.UL,b),d.get(0)&&d.append(a.join(""))):b.treeObj.append(a.join(""));i.createNodeCallback(b)}},destroy:function(b){b&&(h.initCache(b),h.initRoot(b),m.unbindTree(b),m.unbindEvent(b),b.treeObj.empty(),delete r[b.treeId])},expandCollapseNode:function(b,a,c,d,f){var g=h.getRoot(b),l=b.data.key.children;if(a){if(g.expandTriggerFlag){var q=f,
-f=function(){q&&q();a.open?b.treeObj.trigger(e.event.EXPAND,[b.treeId,a]):b.treeObj.trigger(e.event.COLLAPSE,[b.treeId,a])};g.expandTriggerFlag=!1}if(!a.open&&a.isParent&&(!k(a,e.id.UL,b).get(0)||a[l]&&a[l].length>0&&!k(a[l][0],b).get(0)))i.appendParentULDom(b,a),i.createNodeCallback(b);if(a.open==c)j.apply(f,[]);else{var c=k(a,e.id.UL,b),g=k(a,e.id.SWITCH,b),n=k(a,e.id.ICON,b);a.isParent?(a.open=!a.open,a.iconOpen&&a.iconClose&&n.attr("style",i.makeNodeIcoStyle(b,a)),a.open?(i.replaceSwitchClass(a,
-g,e.folder.OPEN),i.replaceIcoClass(a,n,e.folder.OPEN),d==!1||b.view.expandSpeed==""?(c.show(),j.apply(f,[])):a[l]&&a[l].length>0?c.slideDown(b.view.expandSpeed,f):(c.show(),j.apply(f,[]))):(i.replaceSwitchClass(a,g,e.folder.CLOSE),i.replaceIcoClass(a,n,e.folder.CLOSE),d==!1||b.view.expandSpeed==""||!(a[l]&&a[l].length>0)?(c.hide(),j.apply(f,[])):c.slideUp(b.view.expandSpeed,f))):j.apply(f,[])}}else j.apply(f,[])},expandCollapseParentNode:function(b,a,c,d,f){a&&(a.parentTId?(i.expandCollapseNode(b,
-a,c,d),a.parentTId&&i.expandCollapseParentNode(b,a.getParentNode(),c,d,f)):i.expandCollapseNode(b,a,c,d,f))},expandCollapseSonNode:function(b,a,c,d,f){var g=h.getRoot(b),e=b.data.key.children,g=a?a[e]:g[e],e=a?!1:d,j=h.getRoot(b).expandTriggerFlag;h.getRoot(b).expandTriggerFlag=!1;if(g)for(var k=0,m=g.length;k<m;k++)g[k]&&i.expandCollapseSonNode(b,g[k],c,e);h.getRoot(b).expandTriggerFlag=j;i.expandCollapseNode(b,a,c,d,f)},makeDOMNodeIcon:function(b,a,c){var d=h.getNodeName(a,c),d=a.view.nameIsHTML?
-d:d.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");b.push("<span id='",c.tId,e.id.ICON,"' title='' treeNode",e.id.ICON," class='",i.makeNodeIcoClass(a,c),"' style='",i.makeNodeIcoStyle(a,c),"'></span><span id='",c.tId,e.id.SPAN,"'>",d,"</span>")},makeDOMNodeLine:function(b,a,c){b.push("<span id='",c.tId,e.id.SWITCH,"' title='' class='",i.makeNodeLineClass(a,c),"' treeNode",e.id.SWITCH,"></span>")},makeDOMNodeMainAfter:function(b){b.push("</li>")},makeDOMNodeMainBefore:function(b,
-a,c){b.push("<li id='",c.tId,"' class='",e.className.LEVEL,c.level,"' tabindex='0' hidefocus='true' treenode>")},makeDOMNodeNameAfter:function(b){b.push("</a>")},makeDOMNodeNameBefore:function(b,a,c){var d=h.getNodeTitle(a,c),f=i.makeNodeUrl(a,c),g=i.makeNodeFontCss(a,c),l=[],k;for(k in g)l.push(k,":",g[k],";");b.push("<a id='",c.tId,e.id.A,"' class='",e.className.LEVEL,c.level,"' treeNode",e.id.A,' onclick="',c.click||"",'" ',f!=null&&f.length>0?"href='"+f+"'":""," target='",i.makeNodeTarget(c),
-"' style='",l.join(""),"'");j.apply(a.view.showTitle,[a.treeId,c],a.view.showTitle)&&d&&b.push("title='",d.replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"'");b.push(">")},makeNodeFontCss:function(b,a){var c=j.apply(b.view.fontCss,[b.treeId,a],b.view.fontCss);return c&&typeof c!="function"?c:{}},makeNodeIcoClass:function(b,a){var c=["ico"];a.isAjaxing||(c[0]=(a.iconSkin?a.iconSkin+"_":"")+c[0],a.isParent?c.push(a.open?e.folder.OPEN:e.folder.CLOSE):c.push(e.folder.DOCU));return e.className.BUTTON+
-" "+c.join("_")},makeNodeIcoStyle:function(b,a){var c=[];if(!a.isAjaxing){var d=a.isParent&&a.iconOpen&&a.iconClose?a.open?a.iconOpen:a.iconClose:a.icon;d&&c.push("background:url(",d,") 0 0 no-repeat;");(b.view.showIcon==!1||!j.apply(b.view.showIcon,[b.treeId,a],!0))&&c.push("width:0px;height:0px;")}return c.join("")},makeNodeLineClass:function(b,a){var c=[];b.view.showLine?a.level==0&&a.isFirstNode&&a.isLastNode?c.push(e.line.ROOT):a.level==0&&a.isFirstNode?c.push(e.line.ROOTS):a.isLastNode?c.push(e.line.BOTTOM):
-c.push(e.line.CENTER):c.push(e.line.NOLINE);a.isParent?c.push(a.open?e.folder.OPEN:e.folder.CLOSE):c.push(e.folder.DOCU);return i.makeNodeLineClassEx(a)+c.join("_")},makeNodeLineClassEx:function(b){return e.className.BUTTON+" "+e.className.LEVEL+b.level+" "+e.className.SWITCH+" "},makeNodeTarget:function(b){return b.target||"_blank"},makeNodeUrl:function(b,a){var c=b.data.key.url;return a[c]?a[c]:null},makeUlHtml:function(b,a,c,d){c.push("<ul id='",a.tId,e.id.UL,"' class='",e.className.LEVEL,a.level,
-" ",i.makeUlLineClass(b,a),"' style='display:",a.open?"block":"none","'>");c.push(d);c.push("</ul>")},makeUlLineClass:function(b,a){return b.view.showLine&&!a.isLastNode?e.line.LINE:""},removeChildNodes:function(b,a){if(a){var c=b.data.key.children,d=a[c];if(d){for(var f=0,g=d.length;f<g;f++)h.removeNodeCache(b,d[f]);h.removeSelectedNode(b);delete a[c];b.data.keep.parent?k(a,e.id.UL,b).empty():(a.isParent=!1,a.open=!1,c=k(a,e.id.SWITCH,b),d=k(a,e.id.ICON,b),i.replaceSwitchClass(a,c,e.folder.DOCU),
-i.replaceIcoClass(a,d,e.folder.DOCU),k(a,e.id.UL,b).remove())}}},setFirstNode:function(b,a){var c=b.data.key.children;if(a[c].length>0)a[c][0].isFirstNode=!0},setLastNode:function(b,a){var c=b.data.key.children,d=a[c].length;if(d>0)a[c][d-1].isLastNode=!0},removeNode:function(b,a){var c=h.getRoot(b),d=b.data.key.children,f=a.parentTId?a.getParentNode():c;a.isFirstNode=!1;a.isLastNode=!1;a.getPreNode=function(){return null};a.getNextNode=function(){return null};if(h.getNodeCache(b,a.tId)){k(a,b).remove();
-h.removeNodeCache(b,a);h.removeSelectedNode(b,a);for(var g=0,l=f[d].length;g<l;g++)if(f[d][g].tId==a.tId){f[d].splice(g,1);break}i.setFirstNode(b,f);i.setLastNode(b,f);var j,g=f[d].length;if(!b.data.keep.parent&&g==0)f.isParent=!1,f.open=!1,g=k(f,e.id.UL,b),l=k(f,e.id.SWITCH,b),j=k(f,e.id.ICON,b),i.replaceSwitchClass(f,l,e.folder.DOCU),i.replaceIcoClass(f,j,e.folder.DOCU),g.css("display","none");else if(b.view.showLine&&g>0){var n=f[d][g-1],g=k(n,e.id.UL,b),l=k(n,e.id.SWITCH,b);j=k(n,e.id.ICON,b);
-f==c?f[d].length==1?i.replaceSwitchClass(n,l,e.line.ROOT):(c=k(f[d][0],e.id.SWITCH,b),i.replaceSwitchClass(f[d][0],c,e.line.ROOTS),i.replaceSwitchClass(n,l,e.line.BOTTOM)):i.replaceSwitchClass(n,l,e.line.BOTTOM);g.removeClass(e.line.LINE)}}},replaceIcoClass:function(b,a,c){if(a&&!b.isAjaxing&&(b=a.attr("class"),b!=void 0)){b=b.split("_");switch(c){case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:b[b.length-1]=c}a.attr("class",b.join("_"))}},replaceSwitchClass:function(b,a,c){if(a){var d=
-a.attr("class");if(d!=void 0){d=d.split("_");switch(c){case e.line.ROOT:case e.line.ROOTS:case e.line.CENTER:case e.line.BOTTOM:case e.line.NOLINE:d[0]=i.makeNodeLineClassEx(b)+c;break;case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:d[1]=c}a.attr("class",d.join("_"));c!==e.folder.DOCU?a.removeAttr("disabled"):a.attr("disabled","disabled")}}},selectNode:function(b,a,c){c||i.cancelPreSelectedNode(b);k(a,e.id.A,b).addClass(e.node.CURSELECTED);h.addSelectedNode(b,a)},setNodeFontCss:function(b,
-a){var c=k(a,e.id.A,b),d=i.makeNodeFontCss(b,a);d&&c.css(d)},setNodeLineIcos:function(b,a){if(a){var c=k(a,e.id.SWITCH,b),d=k(a,e.id.UL,b),f=k(a,e.id.ICON,b),g=i.makeUlLineClass(b,a);g.length==0?d.removeClass(e.line.LINE):d.addClass(g);c.attr("class",i.makeNodeLineClass(b,a));a.isParent?c.removeAttr("disabled"):c.attr("disabled","disabled");f.removeAttr("style");f.attr("style",i.makeNodeIcoStyle(b,a));f.attr("class",i.makeNodeIcoClass(b,a))}},setNodeName:function(b,a){var c=h.getNodeTitle(b,a),d=
-k(a,e.id.SPAN,b);d.empty();b.view.nameIsHTML?d.html(h.getNodeName(b,a)):d.text(h.getNodeName(b,a));j.apply(b.view.showTitle,[b.treeId,a],b.view.showTitle)&&k(a,e.id.A,b).attr("title",!c?"":c)},setNodeTarget:function(b,a){k(a,e.id.A,b).attr("target",i.makeNodeTarget(a))},setNodeUrl:function(b,a){var c=k(a,e.id.A,b),d=i.makeNodeUrl(b,a);d==null||d.length==0?c.removeAttr("href"):c.attr("href",d)},switchNode:function(b,a){a.open||!j.canAsync(b,a)?i.expandCollapseNode(b,a,!a.open):b.async.enable?i.asyncNode(b,
-a)||i.expandCollapseNode(b,a,!a.open):a&&i.expandCollapseNode(b,a,!a.open)}};p.fn.zTree={consts:{className:{BUTTON:"button",LEVEL:"level",ICO_LOADING:"ico_loading",SWITCH:"switch"},event:{NODECREATED:"ztree_nodeCreated",CLICK:"ztree_click",EXPAND:"ztree_expand",COLLAPSE:"ztree_collapse",ASYNC_SUCCESS:"ztree_async_success",ASYNC_ERROR:"ztree_async_error",REMOVE:"ztree_remove"},id:{A:"_a",ICON:"_ico",SPAN:"_span",SWITCH:"_switch",UL:"_ul"},line:{ROOT:"root",ROOTS:"roots",CENTER:"center",BOTTOM:"bottom",
-NOLINE:"noline",LINE:"line"},folder:{OPEN:"open",CLOSE:"close",DOCU:"docu"},node:{CURSELECTED:"curSelectedNode"}},_z:{tools:j,view:i,event:m,data:h},getZTreeObj:function(b){return(b=h.getZTreeTools(b))?b:null},destroy:function(b){if(b&&b.length>0)i.destroy(h.getSetting(b));else for(var a in r)i.destroy(r[a])},init:function(b,a,c){var d=j.clone(M);p.extend(!0,d,a);d.treeId=b.attr("id");d.treeObj=b;d.treeObj.empty();r[d.treeId]=d;if(typeof document.body.style.maxHeight==="undefined")d.view.expandSpeed=
-"";h.initRoot(d);b=h.getRoot(d);a=d.data.key.children;c=c?j.clone(j.isArray(c)?c:[c]):[];b[a]=d.data.simpleData.enable?h.transformTozTreeFormat(d,c):c;h.initCache(d);m.unbindTree(d);m.bindTree(d);m.unbindEvent(d);m.bindEvent(d);c={setting:d,addNodes:function(a,b,c){function e(){i.addNodes(d,a,h,c==!0)}if(!b)return null;a||(a=null);if(a&&!a.isParent&&d.data.keep.leaf)return null;var h=j.clone(j.isArray(b)?b:[b]);j.canAsync(d,a)?i.asyncNode(d,a,c,e):e();return h},cancelSelectedNode:function(a){i.cancelPreSelectedNode(d,
-a)},destroy:function(){i.destroy(d)},expandAll:function(a){a=!!a;i.expandCollapseSonNode(d,null,a,!0);return a},expandNode:function(a,b,c,e,n){if(!a||!a.isParent)return null;b!==!0&&b!==!1&&(b=!a.open);if((n=!!n)&&b&&j.apply(d.callback.beforeExpand,[d.treeId,a],!0)==!1)return null;else if(n&&!b&&j.apply(d.callback.beforeCollapse,[d.treeId,a],!0)==!1)return null;b&&a.parentTId&&i.expandCollapseParentNode(d,a.getParentNode(),b,!1);if(b===a.open&&!c)return null;h.getRoot(d).expandTriggerFlag=n;if(!j.canAsync(d,
-a)&&c)i.expandCollapseSonNode(d,a,b,!0,function(){if(e!==!1)try{k(a,d).focus().blur()}catch(b){}});else if(a.open=!b,i.switchNode(this.setting,a),e!==!1)try{k(a,d).focus().blur()}catch(m){}return b},getNodes:function(){return h.getNodes(d)},getNodeByParam:function(a,b,c){return!a?null:h.getNodeByParam(d,c?c[d.data.key.children]:h.getNodes(d),a,b)},getNodeByTId:function(a){return h.getNodeCache(d,a)},getNodesByParam:function(a,b,c){return!a?null:h.getNodesByParam(d,c?c[d.data.key.children]:h.getNodes(d),
-a,b)},getNodesByParamFuzzy:function(a,b,c){return!a?null:h.getNodesByParamFuzzy(d,c?c[d.data.key.children]:h.getNodes(d),a,b)},getNodesByFilter:function(a,b,c,e){b=!!b;return!a||typeof a!="function"?b?null:[]:h.getNodesByFilter(d,c?c[d.data.key.children]:h.getNodes(d),a,b,e)},getNodeIndex:function(a){if(!a)return null;for(var b=d.data.key.children,c=a.parentTId?a.getParentNode():h.getRoot(d),e=0,i=c[b].length;e<i;e++)if(c[b][e]==a)return e;return-1},getSelectedNodes:function(){for(var a=[],b=h.getRoot(d).curSelectedList,
-c=0,e=b.length;c<e;c++)a.push(b[c]);return a},isSelectedNode:function(a){return h.isSelectedNode(d,a)},reAsyncChildNodes:function(a,b,c){if(this.setting.async.enable){var j=!a;j&&(a=h.getRoot(d));if(b=="refresh"){for(var b=this.setting.data.key.children,m=0,p=a[b]?a[b].length:0;m<p;m++)h.removeNodeCache(d,a[b][m]);h.removeSelectedNode(d);a[b]=[];j?this.setting.treeObj.empty():k(a,e.id.UL,d).empty()}i.asyncNode(this.setting,j?null:a,!!c)}},refresh:function(){this.setting.treeObj.empty();var a=h.getRoot(d),
-b=a[d.data.key.children];h.initRoot(d);a[d.data.key.children]=b;h.initCache(d);i.createNodes(d,0,a[d.data.key.children])},removeChildNodes:function(a){if(!a)return null;var b=a[d.data.key.children];i.removeChildNodes(d,a);return b?b:null},removeNode:function(a,b){a&&(b=!!b,b&&j.apply(d.callback.beforeRemove,[d.treeId,a],!0)==!1||(i.removeNode(d,a),b&&this.setting.treeObj.trigger(e.event.REMOVE,[d.treeId,a])))},selectNode:function(a,b){if(a&&j.uCanDo(d)){b=d.view.selectedMulti&&b;if(a.parentTId)i.expandCollapseParentNode(d,
-a.getParentNode(),!0,!1,function(){try{k(a,d).focus().blur()}catch(b){}});else try{k(a,d).focus().blur()}catch(c){}i.selectNode(d,a,b)}},transformTozTreeNodes:function(a){return h.transformTozTreeFormat(d,a)},transformToArray:function(a){return h.transformToArrayFormat(d,a)},updateNode:function(a){a&&k(a,d).get(0)&&j.uCanDo(d)&&(i.setNodeName(d,a),i.setNodeTarget(d,a),i.setNodeUrl(d,a),i.setNodeLineIcos(d,a),i.setNodeFontCss(d,a))}};b.treeTools=c;h.setZTreeTools(d,c);b[a]&&b[a].length>0?i.createNodes(d,
-0,b[a]):d.async.enable&&d.async.url&&d.async.url!==""&&i.asyncNode(d);return c}};var N=p.fn.zTree,k=j.$,e=N.consts})(jQuery);
-
-/*
- * JQuery zTree excheck v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function(m){var p,q,r,o={event:{CHECK:"ztree_check"},id:{CHECK:"_check"},checkbox:{STYLE:"checkbox",DEFAULT:"chk",DISABLED:"disable",FALSE:"false",TRUE:"true",FULL:"full",PART:"part",FOCUS:"focus"},radio:{STYLE:"radio",TYPE_ALL:"all",TYPE_LEVEL:"level"}},v={check:{enable:!1,autoCheckTrigger:!1,chkStyle:o.checkbox.STYLE,nocheckInherit:!1,chkDisabledInherit:!1,radioType:o.radio.TYPE_LEVEL,chkboxType:{Y:"ps",N:"ps"}},data:{key:{checked:"checked"}},callback:{beforeCheck:null,onCheck:null}};p=function(c,
-a){if(a.chkDisabled===!0)return!1;var b=f.getSetting(c.data.treeId),d=b.data.key.checked;if(k.apply(b.callback.beforeCheck,[b.treeId,a],!0)==!1)return!0;a[d]=!a[d];e.checkNodeRelation(b,a);d=n(a,j.id.CHECK,b);e.setChkClass(b,d,a);e.repairParentChkClassWithSelf(b,a);b.treeObj.trigger(j.event.CHECK,[c,b.treeId,a]);return!0};q=function(c,a){if(a.chkDisabled===!0)return!1;var b=f.getSetting(c.data.treeId),d=n(a,j.id.CHECK,b);a.check_Focus=!0;e.setChkClass(b,d,a);return!0};r=function(c,a){if(a.chkDisabled===
-!0)return!1;var b=f.getSetting(c.data.treeId),d=n(a,j.id.CHECK,b);a.check_Focus=!1;e.setChkClass(b,d,a);return!0};m.extend(!0,m.fn.zTree.consts,o);m.extend(!0,m.fn.zTree._z,{tools:{},view:{checkNodeRelation:function(c,a){var b,d,h,i=c.data.key.children,l=c.data.key.checked;b=j.radio;if(c.check.chkStyle==b.STYLE){var g=f.getRadioCheckedList(c);if(a[l])if(c.check.radioType==b.TYPE_ALL){for(d=g.length-1;d>=0;d--)b=g[d],b[l]&&b!=a&&(b[l]=!1,g.splice(d,1),e.setChkClass(c,n(b,j.id.CHECK,c),b),b.parentTId!=
-a.parentTId&&e.repairParentChkClassWithSelf(c,b));g.push(a)}else{g=a.parentTId?a.getParentNode():f.getRoot(c);for(d=0,h=g[i].length;d<h;d++)b=g[i][d],b[l]&&b!=a&&(b[l]=!1,e.setChkClass(c,n(b,j.id.CHECK,c),b))}else if(c.check.radioType==b.TYPE_ALL)for(d=0,h=g.length;d<h;d++)if(a==g[d]){g.splice(d,1);break}}else a[l]&&(!a[i]||a[i].length==0||c.check.chkboxType.Y.indexOf("s")>-1)&&e.setSonNodeCheckBox(c,a,!0),!a[l]&&(!a[i]||a[i].length==0||c.check.chkboxType.N.indexOf("s")>-1)&&e.setSonNodeCheckBox(c,
-a,!1),a[l]&&c.check.chkboxType.Y.indexOf("p")>-1&&e.setParentNodeCheckBox(c,a,!0),!a[l]&&c.check.chkboxType.N.indexOf("p")>-1&&e.setParentNodeCheckBox(c,a,!1)},makeChkClass:function(c,a){var b=c.data.key.checked,d=j.checkbox,h=j.radio,i="",i=a.chkDisabled===!0?d.DISABLED:a.halfCheck?d.PART:c.check.chkStyle==h.STYLE?a.check_Child_State<1?d.FULL:d.PART:a[b]?a.check_Child_State===2||a.check_Child_State===-1?d.FULL:d.PART:a.check_Child_State<1?d.FULL:d.PART,b=c.check.chkStyle+"_"+(a[b]?d.TRUE:d.FALSE)+
-"_"+i,b=a.check_Focus&&a.chkDisabled!==!0?b+"_"+d.FOCUS:b;return j.className.BUTTON+" "+d.DEFAULT+" "+b},repairAllChk:function(c,a){if(c.check.enable&&c.check.chkStyle===j.checkbox.STYLE)for(var b=c.data.key.checked,d=c.data.key.children,h=f.getRoot(c),i=0,l=h[d].length;i<l;i++){var g=h[d][i];g.nocheck!==!0&&g.chkDisabled!==!0&&(g[b]=a);e.setSonNodeCheckBox(c,g,a)}},repairChkClass:function(c,a){if(a&&(f.makeChkFlag(c,a),a.nocheck!==!0)){var b=n(a,j.id.CHECK,c);e.setChkClass(c,b,a)}},repairParentChkClass:function(c,
-a){if(a&&a.parentTId){var b=a.getParentNode();e.repairChkClass(c,b);e.repairParentChkClass(c,b)}},repairParentChkClassWithSelf:function(c,a){if(a){var b=c.data.key.children;a[b]&&a[b].length>0?e.repairParentChkClass(c,a[b][0]):e.repairParentChkClass(c,a)}},repairSonChkDisabled:function(c,a,b,d){if(a){var h=c.data.key.children;if(a.chkDisabled!=b)a.chkDisabled=b;e.repairChkClass(c,a);if(a[h]&&d)for(var i=0,l=a[h].length;i<l;i++)e.repairSonChkDisabled(c,a[h][i],b,d)}},repairParentChkDisabled:function(c,
-a,b,d){if(a){if(a.chkDisabled!=b&&d)a.chkDisabled=b;e.repairChkClass(c,a);e.repairParentChkDisabled(c,a.getParentNode(),b,d)}},setChkClass:function(c,a,b){a&&(b.nocheck===!0?a.hide():a.show(),a.removeClass(),a.addClass(e.makeChkClass(c,b)))},setParentNodeCheckBox:function(c,a,b,d){var h=c.data.key.children,i=c.data.key.checked,l=n(a,j.id.CHECK,c);d||(d=a);f.makeChkFlag(c,a);a.nocheck!==!0&&a.chkDisabled!==!0&&(a[i]=b,e.setChkClass(c,l,a),c.check.autoCheckTrigger&&a!=d&&c.treeObj.trigger(j.event.CHECK,
-[null,c.treeId,a]));if(a.parentTId){l=!0;if(!b)for(var h=a.getParentNode()[h],g=0,k=h.length;g<k;g++)if(h[g].nocheck!==!0&&h[g].chkDisabled!==!0&&h[g][i]||(h[g].nocheck===!0||h[g].chkDisabled===!0)&&h[g].check_Child_State>0){l=!1;break}l&&e.setParentNodeCheckBox(c,a.getParentNode(),b,d)}},setSonNodeCheckBox:function(c,a,b,d){if(a){var h=c.data.key.children,i=c.data.key.checked,l=n(a,j.id.CHECK,c);d||(d=a);var g=!1;if(a[h])for(var k=0,m=a[h].length;k<m&&a.chkDisabled!==!0;k++){var o=a[h][k];e.setSonNodeCheckBox(c,
-o,b,d);o.chkDisabled===!0&&(g=!0)}if(a!=f.getRoot(c)&&a.chkDisabled!==!0){g&&a.nocheck!==!0&&f.makeChkFlag(c,a);if(a.nocheck!==!0&&a.chkDisabled!==!0){if(a[i]=b,!g)a.check_Child_State=a[h]&&a[h].length>0?b?2:0:-1}else a.check_Child_State=-1;e.setChkClass(c,l,a);c.check.autoCheckTrigger&&a!=d&&a.nocheck!==!0&&a.chkDisabled!==!0&&c.treeObj.trigger(j.event.CHECK,[null,c.treeId,a])}}}},event:{},data:{getRadioCheckedList:function(c){for(var a=f.getRoot(c).radioCheckedList,b=0,d=a.length;b<d;b++)f.getNodeCache(c,
-a[b].tId)||(a.splice(b,1),b--,d--);return a},getCheckStatus:function(c,a){if(!c.check.enable||a.nocheck||a.chkDisabled)return null;var b=c.data.key.checked;return{checked:a[b],half:a.halfCheck?a.halfCheck:c.check.chkStyle==j.radio.STYLE?a.check_Child_State===2:a[b]?a.check_Child_State>-1&&a.check_Child_State<2:a.check_Child_State>0}},getTreeCheckedNodes:function(c,a,b,d){if(!a)return[];for(var h=c.data.key.children,i=c.data.key.checked,e=b&&c.check.chkStyle==j.radio.STYLE&&c.check.radioType==j.radio.TYPE_ALL,
-d=!d?[]:d,g=0,k=a.length;g<k;g++){if(a[g].nocheck!==!0&&a[g].chkDisabled!==!0&&a[g][i]==b&&(d.push(a[g]),e))break;f.getTreeCheckedNodes(c,a[g][h],b,d);if(e&&d.length>0)break}return d},getTreeChangeCheckedNodes:function(c,a,b){if(!a)return[];for(var d=c.data.key.children,h=c.data.key.checked,b=!b?[]:b,i=0,e=a.length;i<e;i++)a[i].nocheck!==!0&&a[i].chkDisabled!==!0&&a[i][h]!=a[i].checkedOld&&b.push(a[i]),f.getTreeChangeCheckedNodes(c,a[i][d],b);return b},makeChkFlag:function(c,a){if(a){var b=c.data.key.children,
-d=c.data.key.checked,h=-1;if(a[b])for(var i=0,e=a[b].length;i<e;i++){var g=a[b][i],f=-1;if(c.check.chkStyle==j.radio.STYLE)if(f=g.nocheck===!0||g.chkDisabled===!0?g.check_Child_State:g.halfCheck===!0?2:g[d]?2:g.check_Child_State>0?2:0,f==2){h=2;break}else f==0&&(h=0);else if(c.check.chkStyle==j.checkbox.STYLE)if(f=g.nocheck===!0||g.chkDisabled===!0?g.check_Child_State:g.halfCheck===!0?1:g[d]?g.check_Child_State===-1||g.check_Child_State===2?2:1:g.check_Child_State>0?1:0,f===1){h=1;break}else if(f===
-2&&h>-1&&i>0&&f!==h){h=1;break}else if(h===2&&f>-1&&f<2){h=1;break}else f>-1&&(h=f)}a.check_Child_State=h}}}});var m=m.fn.zTree,k=m._z.tools,j=m.consts,e=m._z.view,f=m._z.data,n=k.$;f.exSetting(v);f.addInitBind(function(c){c.treeObj.bind(j.event.CHECK,function(a,b,d,h){a.srcEvent=b;k.apply(c.callback.onCheck,[a,d,h])})});f.addInitUnBind(function(c){c.treeObj.unbind(j.event.CHECK)});f.addInitCache(function(){});f.addInitNode(function(c,a,b,d){if(b){a=c.data.key.checked;typeof b[a]=="string"&&(b[a]=
-k.eqs(b[a],"true"));b[a]=!!b[a];b.checkedOld=b[a];if(typeof b.nocheck=="string")b.nocheck=k.eqs(b.nocheck,"true");b.nocheck=!!b.nocheck||c.check.nocheckInherit&&d&&!!d.nocheck;if(typeof b.chkDisabled=="string")b.chkDisabled=k.eqs(b.chkDisabled,"true");b.chkDisabled=!!b.chkDisabled||c.check.chkDisabledInherit&&d&&!!d.chkDisabled;if(typeof b.halfCheck=="string")b.halfCheck=k.eqs(b.halfCheck,"true");b.halfCheck=!!b.halfCheck;b.check_Child_State=-1;b.check_Focus=!1;b.getCheckStatus=function(){return f.getCheckStatus(c,
-b)};c.check.chkStyle==j.radio.STYLE&&c.check.radioType==j.radio.TYPE_ALL&&b[a]&&f.getRoot(c).radioCheckedList.push(b)}});f.addInitProxy(function(c){var a=c.target,b=f.getSetting(c.data.treeId),d="",h=null,e="",l=null;if(k.eqs(c.type,"mouseover")){if(b.check.enable&&k.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+j.id.CHECK)!==null)d=k.getNodeMainDom(a).id,e="mouseoverCheck"}else if(k.eqs(c.type,"mouseout")){if(b.check.enable&&k.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+j.id.CHECK)!==null)d=
-k.getNodeMainDom(a).id,e="mouseoutCheck"}else if(k.eqs(c.type,"click")&&b.check.enable&&k.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+j.id.CHECK)!==null)d=k.getNodeMainDom(a).id,e="checkNode";if(d.length>0)switch(h=f.getNodeCache(b,d),e){case "checkNode":l=p;break;case "mouseoverCheck":l=q;break;case "mouseoutCheck":l=r}return{stop:e==="checkNode",node:h,nodeEventType:e,nodeEventCallback:l,treeEventType:"",treeEventCallback:null}},!0);f.addInitRoot(function(c){f.getRoot(c).radioCheckedList=[]});
-f.addBeforeA(function(c,a,b){c.check.enable&&(f.makeChkFlag(c,a),b.push("<span ID='",a.tId,j.id.CHECK,"' class='",e.makeChkClass(c,a),"' treeNode",j.id.CHECK,a.nocheck===!0?" style='display:none;'":"","></span>"))});f.addZTreeTools(function(c,a){a.checkNode=function(a,b,c,f){var g=this.setting.data.key.checked;if(a.chkDisabled!==!0&&(b!==!0&&b!==!1&&(b=!a[g]),f=!!f,(a[g]!==b||c)&&!(f&&k.apply(this.setting.callback.beforeCheck,[this.setting.treeId,a],!0)==!1)&&k.uCanDo(this.setting)&&this.setting.check.enable&&
-a.nocheck!==!0))a[g]=b,b=n(a,j.id.CHECK,this.setting),(c||this.setting.check.chkStyle===j.radio.STYLE)&&e.checkNodeRelation(this.setting,a),e.setChkClass(this.setting,b,a),e.repairParentChkClassWithSelf(this.setting,a),f&&this.setting.treeObj.trigger(j.event.CHECK,[null,this.setting.treeId,a])};a.checkAllNodes=function(a){e.repairAllChk(this.setting,!!a)};a.getCheckedNodes=function(a){var b=this.setting.data.key.children;return f.getTreeCheckedNodes(this.setting,f.getRoot(this.setting)[b],a!==!1)};
-a.getChangeCheckedNodes=function(){var a=this.setting.data.key.children;return f.getTreeChangeCheckedNodes(this.setting,f.getRoot(this.setting)[a])};a.setChkDisabled=function(a,b,c,f){b=!!b;c=!!c;e.repairSonChkDisabled(this.setting,a,b,!!f);e.repairParentChkDisabled(this.setting,a.getParentNode(),b,c)};var b=a.updateNode;a.updateNode=function(c,f){b&&b.apply(a,arguments);if(c&&this.setting.check.enable&&n(c,this.setting).get(0)&&k.uCanDo(this.setting)){var i=n(c,j.id.CHECK,this.setting);(f==!0||this.setting.check.chkStyle===
-j.radio.STYLE)&&e.checkNodeRelation(this.setting,c);e.setChkClass(this.setting,i,c);e.repairParentChkClassWithSelf(this.setting,c)}}});var s=e.createNodes;e.createNodes=function(c,a,b,d){s&&s.apply(e,arguments);b&&e.repairParentChkClassWithSelf(c,d)};var t=e.removeNode;e.removeNode=function(c,a){var b=a.getParentNode();t&&t.apply(e,arguments);a&&b&&(e.repairChkClass(c,b),e.repairParentChkClass(c,b))};var u=e.appendNodes;e.appendNodes=function(c,a,b,d,h,i){var j="";u&&(j=u.apply(e,arguments));d&&f.makeChkFlag(c,
-d);return j}})(jQuery);
-
-/*
- * JQuery zTree exedit v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function(w){var I={event:{DRAG:"ztree_drag",DROP:"ztree_drop",RENAME:"ztree_rename",DRAGMOVE:"ztree_dragmove"},id:{EDIT:"_edit",INPUT:"_input",REMOVE:"_remove"},move:{TYPE_INNER:"inner",TYPE_PREV:"prev",TYPE_NEXT:"next"},node:{CURSELECTED_EDIT:"curSelectedNode_Edit",TMPTARGET_TREE:"tmpTargetzTree",TMPTARGET_NODE:"tmpTargetNode"}},x={onHoverOverNode:function(b,a){var c=m.getSetting(b.data.treeId),d=m.getRoot(c);if(d.curHoverNode!=a)x.onHoverOutNode(b);d.curHoverNode=a;f.addHoverDom(c,a)},onHoverOutNode:function(b){var b=
-m.getSetting(b.data.treeId),a=m.getRoot(b);if(a.curHoverNode&&!m.isSelectedNode(b,a.curHoverNode))f.removeTreeDom(b,a.curHoverNode),a.curHoverNode=null},onMousedownNode:function(b,a){function c(b){if(C.dragFlag==0&&Math.abs(N-b.clientX)<e.edit.drag.minMoveSize&&Math.abs(O-b.clientY)<e.edit.drag.minMoveSize)return!0;var a,c,n,k,i;i=e.data.key.children;M.css("cursor","pointer");if(C.dragFlag==0){if(g.apply(e.callback.beforeDrag,[e.treeId,l],!0)==!1)return r(b),!0;for(a=0,c=l.length;a<c;a++){if(a==0)C.dragNodeShowBefore=
-[];n=l[a];n.isParent&&n.open?(f.expandCollapseNode(e,n,!n.open),C.dragNodeShowBefore[n.tId]=!0):C.dragNodeShowBefore[n.tId]=!1}C.dragFlag=1;t.showHoverDom=!1;g.showIfameMask(e,!0);n=!0;k=-1;if(l.length>1){var j=l[0].parentTId?l[0].getParentNode()[i]:m.getNodes(e);i=[];for(a=0,c=j.length;a<c;a++)if(C.dragNodeShowBefore[j[a].tId]!==void 0&&(n&&k>-1&&k+1!==a&&(n=!1),i.push(j[a]),k=a),l.length===i.length){l=i;break}}n&&(H=l[0].getPreNode(),R=l[l.length-1].getNextNode());D=o("<ul class='zTreeDragUL'></ul>",
-e);for(a=0,c=l.length;a<c;a++)n=l[a],n.editNameFlag=!1,f.selectNode(e,n,a>0),f.removeTreeDom(e,n),a>e.edit.drag.maxShowNodeNum-1||(k=o("<li id='"+n.tId+"_tmp'></li>",e),k.append(o(n,d.id.A,e).clone()),k.css("padding","0"),k.children("#"+n.tId+d.id.A).removeClass(d.node.CURSELECTED),D.append(k),a==e.edit.drag.maxShowNodeNum-1&&(k=o("<li id='"+n.tId+"_moretmp'><a> ... </a></li>",e),D.append(k)));D.attr("id",l[0].tId+d.id.UL+"_tmp");D.addClass(e.treeObj.attr("class"));D.appendTo(M);B=o("<span class='tmpzTreeMove_arrow'></span>",
-e);B.attr("id","zTreeMove_arrow_tmp");B.appendTo(M);e.treeObj.trigger(d.event.DRAG,[b,e.treeId,l])}if(C.dragFlag==1){s&&B.attr("id")==b.target.id&&u&&b.clientX+F.scrollLeft()+2>w("#"+u+d.id.A,s).offset().left?(n=w("#"+u+d.id.A,s),b.target=n.length>0?n.get(0):b.target):s&&(s.removeClass(d.node.TMPTARGET_TREE),u&&w("#"+u+d.id.A,s).removeClass(d.node.TMPTARGET_NODE+"_"+d.move.TYPE_PREV).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_NEXT).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_INNER));
-u=s=null;J=!1;h=e;n=m.getSettings();for(var y in n)if(n[y].treeId&&n[y].edit.enable&&n[y].treeId!=e.treeId&&(b.target.id==n[y].treeId||w(b.target).parents("#"+n[y].treeId).length>0))J=!0,h=n[y];y=F.scrollTop();k=F.scrollLeft();i=h.treeObj.offset();a=h.treeObj.get(0).scrollHeight;n=h.treeObj.get(0).scrollWidth;c=b.clientY+y-i.top;var p=h.treeObj.height()+i.top-b.clientY-y,q=b.clientX+k-i.left,x=h.treeObj.width()+i.left-b.clientX-k;i=c<e.edit.drag.borderMax&&c>e.edit.drag.borderMin;var j=p<e.edit.drag.borderMax&&
-p>e.edit.drag.borderMin,K=q<e.edit.drag.borderMax&&q>e.edit.drag.borderMin,G=x<e.edit.drag.borderMax&&x>e.edit.drag.borderMin,p=c>e.edit.drag.borderMin&&p>e.edit.drag.borderMin&&q>e.edit.drag.borderMin&&x>e.edit.drag.borderMin,q=i&&h.treeObj.scrollTop()<=0,x=j&&h.treeObj.scrollTop()+h.treeObj.height()+10>=a,P=K&&h.treeObj.scrollLeft()<=0,Q=G&&h.treeObj.scrollLeft()+h.treeObj.width()+10>=n;if(b.target&&g.isChildOrSelf(b.target,h.treeId)){for(var E=b.target;E&&E.tagName&&!g.eqs(E.tagName,"li")&&E.id!=
-h.treeId;)E=E.parentNode;var S=!0;for(a=0,c=l.length;a<c;a++)if(n=l[a],E.id===n.tId){S=!1;break}else if(o(n,e).find("#"+E.id).length>0){S=!1;break}if(S&&b.target&&g.isChildOrSelf(b.target,E.id+d.id.A))s=w(E),u=E.id}n=l[0];if(p&&g.isChildOrSelf(b.target,h.treeId)){if(!s&&(b.target.id==h.treeId||q||x||P||Q)&&(J||!J&&n.parentTId))s=h.treeObj;i?h.treeObj.scrollTop(h.treeObj.scrollTop()-10):j&&h.treeObj.scrollTop(h.treeObj.scrollTop()+10);K?h.treeObj.scrollLeft(h.treeObj.scrollLeft()-10):G&&h.treeObj.scrollLeft(h.treeObj.scrollLeft()+
-10);s&&s!=h.treeObj&&s.offset().left<h.treeObj.offset().left&&h.treeObj.scrollLeft(h.treeObj.scrollLeft()+s.offset().left-h.treeObj.offset().left)}D.css({top:b.clientY+y+3+"px",left:b.clientX+k+3+"px"});i=a=0;if(s&&s.attr("id")!=h.treeId){var z=u==null?null:m.getNodeCache(h,u);c=(b.ctrlKey||b.metaKey)&&e.edit.drag.isMove&&e.edit.drag.isCopy||!e.edit.drag.isMove&&e.edit.drag.isCopy;a=!!(H&&u===H.tId);i=!!(R&&u===R.tId);k=n.parentTId&&n.parentTId==u;n=(c||!i)&&g.apply(h.edit.drag.prev,[h.treeId,l,z],
-!!h.edit.drag.prev);a=(c||!a)&&g.apply(h.edit.drag.next,[h.treeId,l,z],!!h.edit.drag.next);G=(c||!k)&&!(h.data.keep.leaf&&!z.isParent)&&g.apply(h.edit.drag.inner,[h.treeId,l,z],!!h.edit.drag.inner);if(!n&&!a&&!G){if(s=null,u="",v=d.move.TYPE_INNER,B.css({display:"none"}),window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null}else{c=w("#"+u+d.id.A,s);i=z.isLastNode?null:w("#"+z.getNextNode().tId+d.id.A,s.next());j=c.offset().top;k=c.offset().left;K=n?G?0.25:a?
-0.5:1:-1;G=a?G?0.75:n?0.5:0:-1;y=(b.clientY+y-j)/c.height();(K==1||y<=K&&y>=-0.2)&&n?(a=1-B.width(),i=j-B.height()/2,v=d.move.TYPE_PREV):(G==0||y>=G&&y<=1.2)&&a?(a=1-B.width(),i=i==null||z.isParent&&z.open?j+c.height()-B.height()/2:i.offset().top-B.height()/2,v=d.move.TYPE_NEXT):(a=5-B.width(),i=j,v=d.move.TYPE_INNER);B.css({display:"block",top:i+"px",left:k+a+"px"});c.addClass(d.node.TMPTARGET_NODE+"_"+v);if(T!=u||U!=v)L=(new Date).getTime();if(z&&z.isParent&&v==d.move.TYPE_INNER&&(y=!0,window.zTreeMoveTimer&&
-window.zTreeMoveTargetNodeTId!==z.tId?(clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null):window.zTreeMoveTimer&&window.zTreeMoveTargetNodeTId===z.tId&&(y=!1),y))window.zTreeMoveTimer=setTimeout(function(){v==d.move.TYPE_INNER&&z&&z.isParent&&!z.open&&(new Date).getTime()-L>h.edit.drag.autoOpenTime&&g.apply(h.callback.beforeDragOpen,[h.treeId,z],!0)&&(f.switchNode(h,z),h.edit.drag.autoExpandTrigger&&h.treeObj.trigger(d.event.EXPAND,[h.treeId,z]))},h.edit.drag.autoOpenTime+50),
-window.zTreeMoveTargetNodeTId=z.tId}}else if(v=d.move.TYPE_INNER,s&&g.apply(h.edit.drag.inner,[h.treeId,l,null],!!h.edit.drag.inner)?s.addClass(d.node.TMPTARGET_TREE):s=null,B.css({display:"none"}),window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null;T=u;U=v;e.treeObj.trigger(d.event.DRAGMOVE,[b,e.treeId,l])}return!1}function r(b){if(window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null;U=T=null;F.unbind("mousemove",c);
-F.unbind("mouseup",r);F.unbind("selectstart",k);M.css("cursor","auto");s&&(s.removeClass(d.node.TMPTARGET_TREE),u&&w("#"+u+d.id.A,s).removeClass(d.node.TMPTARGET_NODE+"_"+d.move.TYPE_PREV).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_NEXT).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_INNER));g.showIfameMask(e,!1);t.showHoverDom=!0;if(C.dragFlag!=0){C.dragFlag=0;var a,i,j;for(a=0,i=l.length;a<i;a++)j=l[a],j.isParent&&C.dragNodeShowBefore[j.tId]&&!j.open&&(f.expandCollapseNode(e,j,!j.open),
-delete C.dragNodeShowBefore[j.tId]);D&&D.remove();B&&B.remove();var p=(b.ctrlKey||b.metaKey)&&e.edit.drag.isMove&&e.edit.drag.isCopy||!e.edit.drag.isMove&&e.edit.drag.isCopy;!p&&s&&u&&l[0].parentTId&&u==l[0].parentTId&&v==d.move.TYPE_INNER&&(s=null);if(s){var q=u==null?null:m.getNodeCache(h,u);if(g.apply(e.callback.beforeDrop,[h.treeId,l,q,v,p],!0)==!1)f.selectNodes(x,l);else{var A=p?g.clone(l):l;a=function(){if(J){if(!p)for(var a=0,c=l.length;a<c;a++)f.removeNode(e,l[a]);if(v==d.move.TYPE_INNER)f.addNodes(h,
-q,A);else if(f.addNodes(h,q.getParentNode(),A),v==d.move.TYPE_PREV)for(a=0,c=A.length;a<c;a++)f.moveNode(h,q,A[a],v,!1);else for(a=-1,c=A.length-1;a<c;c--)f.moveNode(h,q,A[c],v,!1)}else if(p&&v==d.move.TYPE_INNER)f.addNodes(h,q,A);else if(p&&f.addNodes(h,q.getParentNode(),A),v!=d.move.TYPE_NEXT)for(a=0,c=A.length;a<c;a++)f.moveNode(h,q,A[a],v,!1);else for(a=-1,c=A.length-1;a<c;c--)f.moveNode(h,q,A[c],v,!1);f.selectNodes(h,A);o(A[0],e).focus().blur();e.treeObj.trigger(d.event.DROP,[b,h.treeId,A,q,
-v,p])};v==d.move.TYPE_INNER&&g.canAsync(h,q)?f.asyncNode(h,q,!1,a):a()}}else f.selectNodes(x,l),e.treeObj.trigger(d.event.DROP,[b,e.treeId,l,null,null,null])}}function k(){return!1}var i,j,e=m.getSetting(b.data.treeId),C=m.getRoot(e),t=m.getRoots();if(b.button==2||!e.edit.enable||!e.edit.drag.isCopy&&!e.edit.drag.isMove)return!0;var p=b.target,q=m.getRoot(e).curSelectedList,l=[];if(m.isSelectedNode(e,a))for(i=0,j=q.length;i<j;i++){if(q[i].editNameFlag&&g.eqs(p.tagName,"input")&&p.getAttribute("treeNode"+
-d.id.INPUT)!==null)return!0;l.push(q[i]);if(l[0].parentTId!==q[i].parentTId){l=[a];break}}else l=[a];f.editNodeBlur=!0;f.cancelCurEditNode(e);var F=w(e.treeObj.get(0).ownerDocument),M=w(e.treeObj.get(0).ownerDocument.body),D,B,s,J=!1,h=e,x=e,H,R,T=null,U=null,u=null,v=d.move.TYPE_INNER,N=b.clientX,O=b.clientY,L=(new Date).getTime();g.uCanDo(e)&&F.bind("mousemove",c);F.bind("mouseup",r);F.bind("selectstart",k);b.preventDefault&&b.preventDefault();return!0}};w.extend(!0,w.fn.zTree.consts,I);w.extend(!0,
-w.fn.zTree._z,{tools:{getAbs:function(b){b=b.getBoundingClientRect();return[b.left+(document.body.scrollLeft+document.documentElement.scrollLeft),b.top+(document.body.scrollTop+document.documentElement.scrollTop)]},inputFocus:function(b){b.get(0)&&(b.focus(),g.setCursorPosition(b.get(0),b.val().length))},inputSelect:function(b){b.get(0)&&(b.focus(),b.select())},setCursorPosition:function(b,a){if(b.setSelectionRange)b.focus(),b.setSelectionRange(a,a);else if(b.createTextRange){var c=b.createTextRange();
-c.collapse(!0);c.moveEnd("character",a);c.moveStart("character",a);c.select()}},showIfameMask:function(b,a){for(var c=m.getRoot(b);c.dragMaskList.length>0;)c.dragMaskList[0].remove(),c.dragMaskList.shift();if(a)for(var d=o("iframe",b),f=0,i=d.length;f<i;f++){var j=d.get(f),e=g.getAbs(j),j=o("<div id='zTreeMask_"+f+"' class='zTreeMask' style='top:"+e[1]+"px; left:"+e[0]+"px; width:"+j.offsetWidth+"px; height:"+j.offsetHeight+"px;'></div>",b);j.appendTo(o("body",b));c.dragMaskList.push(j)}}},view:{addEditBtn:function(b,
-a){if(!(a.editNameFlag||o(a,d.id.EDIT,b).length>0)&&g.apply(b.edit.showRenameBtn,[b.treeId,a],b.edit.showRenameBtn)){var c=o(a,d.id.A,b),r="<span class='"+d.className.BUTTON+" edit' id='"+a.tId+d.id.EDIT+"' title='"+g.apply(b.edit.renameTitle,[b.treeId,a],b.edit.renameTitle)+"' treeNode"+d.id.EDIT+" style='display:none;'></span>";c.append(r);o(a,d.id.EDIT,b).bind("click",function(){if(!g.uCanDo(b)||g.apply(b.callback.beforeEditName,[b.treeId,a],!0)==!1)return!1;f.editNode(b,a);return!1}).show()}},
-addRemoveBtn:function(b,a){if(!(a.editNameFlag||o(a,d.id.REMOVE,b).length>0)&&g.apply(b.edit.showRemoveBtn,[b.treeId,a],b.edit.showRemoveBtn)){var c=o(a,d.id.A,b),r="<span class='"+d.className.BUTTON+" remove' id='"+a.tId+d.id.REMOVE+"' title='"+g.apply(b.edit.removeTitle,[b.treeId,a],b.edit.removeTitle)+"' treeNode"+d.id.REMOVE+" style='display:none;'></span>";c.append(r);o(a,d.id.REMOVE,b).bind("click",function(){if(!g.uCanDo(b)||g.apply(b.callback.beforeRemove,[b.treeId,a],!0)==!1)return!1;f.removeNode(b,
-a);b.treeObj.trigger(d.event.REMOVE,[b.treeId,a]);return!1}).bind("mousedown",function(){return!0}).show()}},addHoverDom:function(b,a){if(m.getRoots().showHoverDom)a.isHover=!0,b.edit.enable&&(f.addEditBtn(b,a),f.addRemoveBtn(b,a)),g.apply(b.view.addHoverDom,[b.treeId,a])},cancelCurEditNode:function(b,a,c){var r=m.getRoot(b),k=b.data.key.name,i=r.curEditNode;if(i){var j=r.curEditInput,a=a?a:c?i[k]:j.val();if(g.apply(b.callback.beforeRename,[b.treeId,i,a,c],!0)===!1)return!1;else i[k]=a,b.treeObj.trigger(d.event.RENAME,
-[b.treeId,i,c]);o(i,d.id.A,b).removeClass(d.node.CURSELECTED_EDIT);j.unbind();f.setNodeName(b,i);i.editNameFlag=!1;r.curEditNode=null;r.curEditInput=null;f.selectNode(b,i,!1)}return r.noSelection=!0},editNode:function(b,a){var c=m.getRoot(b);f.editNodeBlur=!1;if(m.isSelectedNode(b,a)&&c.curEditNode==a&&a.editNameFlag)setTimeout(function(){g.inputFocus(c.curEditInput)},0);else{var r=b.data.key.name;a.editNameFlag=!0;f.removeTreeDom(b,a);f.cancelCurEditNode(b);f.selectNode(b,a,!1);o(a,d.id.SPAN,b).html("<input type=text class='rename' id='"+
-a.tId+d.id.INPUT+"' treeNode"+d.id.INPUT+" >");var k=o(a,d.id.INPUT,b);k.attr("value",a[r]);b.edit.editNameSelectAll?g.inputSelect(k):g.inputFocus(k);k.bind("blur",function(){f.editNodeBlur||f.cancelCurEditNode(b)}).bind("keydown",function(a){a.keyCode=="13"?(f.editNodeBlur=!0,f.cancelCurEditNode(b)):a.keyCode=="27"&&f.cancelCurEditNode(b,null,!0)}).bind("click",function(){return!1}).bind("dblclick",function(){return!1});o(a,d.id.A,b).addClass(d.node.CURSELECTED_EDIT);c.curEditInput=k;c.noSelection=
-!1;c.curEditNode=a}},moveNode:function(b,a,c,r,k,i){var j=m.getRoot(b),e=b.data.key.children;if(a!=c&&(!b.data.keep.leaf||!a||a.isParent||r!=d.move.TYPE_INNER)){var g=c.parentTId?c.getParentNode():j,t=a===null||a==j;t&&a===null&&(a=j);if(t)r=d.move.TYPE_INNER;j=a.parentTId?a.getParentNode():j;if(r!=d.move.TYPE_PREV&&r!=d.move.TYPE_NEXT)r=d.move.TYPE_INNER;if(r==d.move.TYPE_INNER)if(t)c.parentTId=null;else{if(!a.isParent)a.isParent=!0,a.open=!!a.open,f.setNodeLineIcos(b,a);c.parentTId=a.tId}var p;
-t?p=t=b.treeObj:(!i&&r==d.move.TYPE_INNER?f.expandCollapseNode(b,a,!0,!1):i||f.expandCollapseNode(b,a.getParentNode(),!0,!1),t=o(a,b),p=o(a,d.id.UL,b),t.get(0)&&!p.get(0)&&(p=[],f.makeUlHtml(b,a,p,""),t.append(p.join(""))),p=o(a,d.id.UL,b));var q=o(c,b);q.get(0)?t.get(0)||q.remove():q=f.appendNodes(b,c.level,[c],null,!1,!0).join("");p.get(0)&&r==d.move.TYPE_INNER?p.append(q):t.get(0)&&r==d.move.TYPE_PREV?t.before(q):t.get(0)&&r==d.move.TYPE_NEXT&&t.after(q);var l=-1,w=0,x=null,t=null,D=c.level;if(c.isFirstNode){if(l=
-0,g[e].length>1)x=g[e][1],x.isFirstNode=!0}else if(c.isLastNode)l=g[e].length-1,x=g[e][l-1],x.isLastNode=!0;else for(p=0,q=g[e].length;p<q;p++)if(g[e][p].tId==c.tId){l=p;break}l>=0&&g[e].splice(l,1);if(r!=d.move.TYPE_INNER)for(p=0,q=j[e].length;p<q;p++)j[e][p].tId==a.tId&&(w=p);if(r==d.move.TYPE_INNER){a[e]||(a[e]=[]);if(a[e].length>0)t=a[e][a[e].length-1],t.isLastNode=!1;a[e].splice(a[e].length,0,c);c.isLastNode=!0;c.isFirstNode=a[e].length==1}else a.isFirstNode&&r==d.move.TYPE_PREV?(j[e].splice(w,
-0,c),t=a,t.isFirstNode=!1,c.parentTId=a.parentTId,c.isFirstNode=!0,c.isLastNode=!1):a.isLastNode&&r==d.move.TYPE_NEXT?(j[e].splice(w+1,0,c),t=a,t.isLastNode=!1,c.parentTId=a.parentTId,c.isFirstNode=!1,c.isLastNode=!0):(r==d.move.TYPE_PREV?j[e].splice(w,0,c):j[e].splice(w+1,0,c),c.parentTId=a.parentTId,c.isFirstNode=!1,c.isLastNode=!1);m.fixPIdKeyValue(b,c);m.setSonNodeLevel(b,c.getParentNode(),c);f.setNodeLineIcos(b,c);f.repairNodeLevelClass(b,c,D);!b.data.keep.parent&&g[e].length<1?(g.isParent=!1,
-g.open=!1,a=o(g,d.id.UL,b),r=o(g,d.id.SWITCH,b),e=o(g,d.id.ICON,b),f.replaceSwitchClass(g,r,d.folder.DOCU),f.replaceIcoClass(g,e,d.folder.DOCU),a.css("display","none")):x&&f.setNodeLineIcos(b,x);t&&f.setNodeLineIcos(b,t);b.check&&b.check.enable&&f.repairChkClass&&(f.repairChkClass(b,g),f.repairParentChkClassWithSelf(b,g),g!=c.parent&&f.repairParentChkClassWithSelf(b,c));i||f.expandCollapseParentNode(b,c.getParentNode(),!0,k)}},removeEditBtn:function(b,a){o(a,d.id.EDIT,b).unbind().remove()},removeRemoveBtn:function(b,
-a){o(a,d.id.REMOVE,b).unbind().remove()},removeTreeDom:function(b,a){a.isHover=!1;f.removeEditBtn(b,a);f.removeRemoveBtn(b,a);g.apply(b.view.removeHoverDom,[b.treeId,a])},repairNodeLevelClass:function(b,a,c){if(c!==a.level){var f=o(a,b),g=o(a,d.id.A,b),b=o(a,d.id.UL,b),c=d.className.LEVEL+c,a=d.className.LEVEL+a.level;f.removeClass(c);f.addClass(a);g.removeClass(c);g.addClass(a);b.removeClass(c);b.addClass(a)}},selectNodes:function(b,a){for(var c=0,d=a.length;c<d;c++)f.selectNode(b,a[c],c>0)}},event:{},
-data:{setSonNodeLevel:function(b,a,c){if(c){var d=b.data.key.children;c.level=a?a.level+1:0;if(c[d])for(var a=0,f=c[d].length;a<f;a++)c[d][a]&&m.setSonNodeLevel(b,c,c[d][a])}}}});var H=w.fn.zTree,g=H._z.tools,d=H.consts,f=H._z.view,m=H._z.data,o=g.$;m.exSetting({edit:{enable:!1,editNameSelectAll:!1,showRemoveBtn:!0,showRenameBtn:!0,removeTitle:"remove",renameTitle:"rename",drag:{autoExpandTrigger:!1,isCopy:!0,isMove:!0,prev:!0,next:!0,inner:!0,minMoveSize:5,borderMax:10,borderMin:-5,maxShowNodeNum:5,
-autoOpenTime:500}},view:{addHoverDom:null,removeHoverDom:null},callback:{beforeDrag:null,beforeDragOpen:null,beforeDrop:null,beforeEditName:null,beforeRename:null,onDrag:null,onDragMove:null,onDrop:null,onRename:null}});m.addInitBind(function(b){var a=b.treeObj,c=d.event;a.bind(c.RENAME,function(a,c,d,f){g.apply(b.callback.onRename,[a,c,d,f])});a.bind(c.DRAG,function(a,c,d,f){g.apply(b.callback.onDrag,[c,d,f])});a.bind(c.DRAGMOVE,function(a,c,d,f){g.apply(b.callback.onDragMove,[c,d,f])});a.bind(c.DROP,
-function(a,c,d,f,e,m,o){g.apply(b.callback.onDrop,[c,d,f,e,m,o])})});m.addInitUnBind(function(b){var b=b.treeObj,a=d.event;b.unbind(a.RENAME);b.unbind(a.DRAG);b.unbind(a.DRAGMOVE);b.unbind(a.DROP)});m.addInitCache(function(){});m.addInitNode(function(b,a,c){if(c)c.isHover=!1,c.editNameFlag=!1});m.addInitProxy(function(b){var a=b.target,c=m.getSetting(b.data.treeId),f=b.relatedTarget,k="",i=null,j="",e=null,o=null;if(g.eqs(b.type,"mouseover")){if(o=g.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+d.id.A}]))k=
-g.getNodeMainDom(o).id,j="hoverOverNode"}else if(g.eqs(b.type,"mouseout"))o=g.getMDom(c,f,[{tagName:"a",attrName:"treeNode"+d.id.A}]),o||(k="remove",j="hoverOutNode");else if(g.eqs(b.type,"mousedown")&&(o=g.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+d.id.A}])))k=g.getNodeMainDom(o).id,j="mousedownNode";if(k.length>0)switch(i=m.getNodeCache(c,k),j){case "mousedownNode":e=x.onMousedownNode;break;case "hoverOverNode":e=x.onHoverOverNode;break;case "hoverOutNode":e=x.onHoverOutNode}return{stop:!1,
-node:i,nodeEventType:j,nodeEventCallback:e,treeEventType:"",treeEventCallback:null}});m.addInitRoot(function(b){var b=m.getRoot(b),a=m.getRoots();b.curEditNode=null;b.curEditInput=null;b.curHoverNode=null;b.dragFlag=0;b.dragNodeShowBefore=[];b.dragMaskList=[];a.showHoverDom=!0});m.addZTreeTools(function(b,a){a.cancelEditName=function(a){m.getRoot(this.setting).curEditNode&&f.cancelCurEditNode(this.setting,a?a:null,!0)};a.copyNode=function(a,b,k,i){if(!b)return null;if(a&&!a.isParent&&this.setting.data.keep.leaf&&
-k===d.move.TYPE_INNER)return null;var j=this,e=g.clone(b);if(!a)a=null,k=d.move.TYPE_INNER;k==d.move.TYPE_INNER?(b=function(){f.addNodes(j.setting,a,[e],i)},g.canAsync(this.setting,a)?f.asyncNode(this.setting,a,i,b):b()):(f.addNodes(this.setting,a.parentNode,[e],i),f.moveNode(this.setting,a,e,k,!1,i));return e};a.editName=function(a){a&&a.tId&&a===m.getNodeCache(this.setting,a.tId)&&(a.parentTId&&f.expandCollapseParentNode(this.setting,a.getParentNode(),!0),f.editNode(this.setting,a))};a.moveNode=
-function(a,b,k,i){function j(){f.moveNode(e.setting,a,b,k,!1,i)}if(!b)return b;if(a&&!a.isParent&&this.setting.data.keep.leaf&&k===d.move.TYPE_INNER)return null;else if(a&&(b.parentTId==a.tId&&k==d.move.TYPE_INNER||o(b,this.setting).find("#"+a.tId).length>0))return null;else a||(a=null);var e=this;g.canAsync(this.setting,a)&&k===d.move.TYPE_INNER?f.asyncNode(this.setting,a,i,j):j();return b};a.setEditable=function(a){this.setting.edit.enable=a;return this.refresh()}});var N=f.cancelPreSelectedNode;
-f.cancelPreSelectedNode=function(b,a){for(var c=m.getRoot(b).curSelectedList,d=0,g=c.length;d<g;d++)if(!a||a===c[d])if(f.removeTreeDom(b,c[d]),a)break;N&&N.apply(f,arguments)};var O=f.createNodes;f.createNodes=function(b,a,c,d){O&&O.apply(f,arguments);c&&f.repairParentChkClassWithSelf&&f.repairParentChkClassWithSelf(b,d)};var V=f.makeNodeUrl;f.makeNodeUrl=function(b,a){return b.edit.enable?null:V.apply(f,arguments)};var L=f.removeNode;f.removeNode=function(b,a){var c=m.getRoot(b);if(c.curEditNode===
-a)c.curEditNode=null;L&&L.apply(f,arguments)};var P=f.selectNode;f.selectNode=function(b,a,c){var d=m.getRoot(b);if(m.isSelectedNode(b,a)&&d.curEditNode==a&&a.editNameFlag)return!1;P&&P.apply(f,arguments);f.addHoverDom(b,a);return!0};var Q=g.uCanDo;g.uCanDo=function(b,a){var c=m.getRoot(b);if(a&&(g.eqs(a.type,"mouseover")||g.eqs(a.type,"mouseout")||g.eqs(a.type,"mousedown")||g.eqs(a.type,"mouseup")))return!0;if(c.curEditNode)f.editNodeBlur=!1,c.curEditInput.focus();return!c.curEditNode&&(Q?Q.apply(f,
-arguments):!0)}})(jQuery);
-
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.core.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.core.js
deleted file mode 100644
index 95e7b23d..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.core.js
+++ /dev/null
@@ -1,1684 +0,0 @@
-/*
- * JQuery zTree core v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function($){
- var settings = {}, roots = {}, caches = {},
- //default consts of core
- _consts = {
- className: {
- BUTTON: "button",
- LEVEL: "level",
- ICO_LOADING: "ico_loading",
- SWITCH: "switch"
- },
- event: {
- NODECREATED: "ztree_nodeCreated",
- CLICK: "ztree_click",
- EXPAND: "ztree_expand",
- COLLAPSE: "ztree_collapse",
- ASYNC_SUCCESS: "ztree_async_success",
- ASYNC_ERROR: "ztree_async_error",
- REMOVE: "ztree_remove"
- },
- id: {
- A: "_a",
- ICON: "_ico",
- SPAN: "_span",
- SWITCH: "_switch",
- UL: "_ul"
- },
- line: {
- ROOT: "root",
- ROOTS: "roots",
- CENTER: "center",
- BOTTOM: "bottom",
- NOLINE: "noline",
- LINE: "line"
- },
- folder: {
- OPEN: "open",
- CLOSE: "close",
- DOCU: "docu"
- },
- node: {
- CURSELECTED: "curSelectedNode"
- }
- },
- //default setting of core
- _setting = {
- treeId: "",
- treeObj: null,
- view: {
- addDiyDom: null,
- autoCancelSelected: true,
- dblClickExpand: true,
- expandSpeed: "fast",
- fontCss: {},
- nameIsHTML: false,
- selectedMulti: true,
- showIcon: true,
- showLine: true,
- showTitle: true,
- txtSelectedEnable: false
- },
- data: {
- key: {
- children: "children",
- name: "name",
- title: "",
- url: "url"
- },
- simpleData: {
- enable: false,
- idKey: "id",
- pIdKey: "pId",
- rootPId: null
- },
- keep: {
- parent: false,
- leaf: false
- }
- },
- async: {
- enable: false,
- contentType: "application/x-www-form-urlencoded",
- type: "post",
- dataType: "text",
- url: "",
- autoParam: [],
- otherParam: [],
- dataFilter: null
- },
- callback: {
- beforeAsync:null,
- beforeClick:null,
- beforeDblClick:null,
- beforeRightClick:null,
- beforeMouseDown:null,
- beforeMouseUp:null,
- beforeExpand:null,
- beforeCollapse:null,
- beforeRemove:null,
-
- onAsyncError:null,
- onAsyncSuccess:null,
- onNodeCreated:null,
- onClick:null,
- onDblClick:null,
- onRightClick:null,
- onMouseDown:null,
- onMouseUp:null,
- onExpand:null,
- onCollapse:null,
- onRemove:null
- }
- },
- //default root of core
- //zTree use root to save full data
- _initRoot = function (setting) {
- var r = data.getRoot(setting);
- if (!r) {
- r = {};
- data.setRoot(setting, r);
- }
- r[setting.data.key.children] = [];
- r.expandTriggerFlag = false;
- r.curSelectedList = [];
- r.noSelection = true;
- r.createdNodes = [];
- r.zId = 0;
- r._ver = (new Date()).getTime();
- },
- //default cache of core
- _initCache = function(setting) {
- var c = data.getCache(setting);
- if (!c) {
- c = {};
- data.setCache(setting, c);
- }
- c.nodes = [];
- c.doms = [];
- },
- //default bindEvent of core
- _bindEvent = function(setting) {
- var o = setting.treeObj,
- c = consts.event;
- o.bind(c.NODECREATED, function (event, treeId, node) {
- tools.apply(setting.callback.onNodeCreated, [event, treeId, node]);
- });
-
- o.bind(c.CLICK, function (event, srcEvent, treeId, node, clickFlag) {
- tools.apply(setting.callback.onClick, [srcEvent, treeId, node, clickFlag]);
- });
-
- o.bind(c.EXPAND, function (event, treeId, node) {
- tools.apply(setting.callback.onExpand, [event, treeId, node]);
- });
-
- o.bind(c.COLLAPSE, function (event, treeId, node) {
- tools.apply(setting.callback.onCollapse, [event, treeId, node]);
- });
-
- o.bind(c.ASYNC_SUCCESS, function (event, treeId, node, msg) {
- tools.apply(setting.callback.onAsyncSuccess, [event, treeId, node, msg]);
- });
-
- o.bind(c.ASYNC_ERROR, function (event, treeId, node, XMLHttpRequest, textStatus, errorThrown) {
- tools.apply(setting.callback.onAsyncError, [event, treeId, node, XMLHttpRequest, textStatus, errorThrown]);
- });
-
- o.bind(c.REMOVE, function (event, treeId, treeNode) {
- tools.apply(setting.callback.onRemove, [event, treeId, treeNode]);
- });
- },
- _unbindEvent = function(setting) {
- var o = setting.treeObj,
- c = consts.event;
- o.unbind(c.NODECREATED)
- .unbind(c.CLICK)
- .unbind(c.EXPAND)
- .unbind(c.COLLAPSE)
- .unbind(c.ASYNC_SUCCESS)
- .unbind(c.ASYNC_ERROR)
- .unbind(c.REMOVE);
- },
- //default event proxy of core
- _eventProxy = function(event) {
- var target = event.target,
- setting = data.getSetting(event.data.treeId),
- tId = "", node = null,
- nodeEventType = "", treeEventType = "",
- nodeEventCallback = null, treeEventCallback = null,
- tmp = null;
-
- if (tools.eqs(event.type, "mousedown")) {
- treeEventType = "mousedown";
- } else if (tools.eqs(event.type, "mouseup")) {
- treeEventType = "mouseup";
- } else if (tools.eqs(event.type, "contextmenu")) {
- treeEventType = "contextmenu";
- } else if (tools.eqs(event.type, "click")) {
- if (tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.SWITCH) !== null) {
- tId = tools.getNodeMainDom(target).id;
- nodeEventType = "switchNode";
- } else {
- tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]);
- if (tmp) {
- tId = tools.getNodeMainDom(tmp).id;
- nodeEventType = "clickNode";
- }
- }
- } else if (tools.eqs(event.type, "dblclick")) {
- treeEventType = "dblclick";
- tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]);
- if (tmp) {
- tId = tools.getNodeMainDom(tmp).id;
- nodeEventType = "switchNode";
- }
- }
- if (treeEventType.length > 0 && tId.length == 0) {
- tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]);
- if (tmp) {tId = tools.getNodeMainDom(tmp).id;}
- }
- // event to node
- if (tId.length>0) {
- node = data.getNodeCache(setting, tId);
- switch (nodeEventType) {
- case "switchNode" :
- if (!node.isParent) {
- nodeEventType = "";
- } else if (tools.eqs(event.type, "click")
- || (tools.eqs(event.type, "dblclick") && tools.apply(setting.view.dblClickExpand, [setting.treeId, node], setting.view.dblClickExpand))) {
- nodeEventCallback = handler.onSwitchNode;
- } else {
- nodeEventType = "";
- }
- break;
- case "clickNode" :
- nodeEventCallback = handler.onClickNode;
- break;
- }
- }
- // event to zTree
- switch (treeEventType) {
- case "mousedown" :
- treeEventCallback = handler.onZTreeMousedown;
- break;
- case "mouseup" :
- treeEventCallback = handler.onZTreeMouseup;
- break;
- case "dblclick" :
- treeEventCallback = handler.onZTreeDblclick;
- break;
- case "contextmenu" :
- treeEventCallback = handler.onZTreeContextmenu;
- break;
- }
- var proxyResult = {
- stop: false,
- node: node,
- nodeEventType: nodeEventType,
- nodeEventCallback: nodeEventCallback,
- treeEventType: treeEventType,
- treeEventCallback: treeEventCallback
- };
- return proxyResult
- },
- //default init node of core
- _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) {
- if (!n) return;
- var r = data.getRoot(setting),
- childKey = setting.data.key.children;
- n.level = level;
- n.tId = setting.treeId + "_" + (++r.zId);
- n.parentTId = parentNode ? parentNode.tId : null;
- n.open = (typeof n.open == "string") ? tools.eqs(n.open, "true") : !!n.open;
- if (n[childKey] && n[childKey].length > 0) {
- n.isParent = true;
- n.zAsync = true;
- } else {
- n.isParent = (typeof n.isParent == "string") ? tools.eqs(n.isParent, "true") : !!n.isParent;
- n.open = (n.isParent && !setting.async.enable) ? n.open : false;
- n.zAsync = !n.isParent;
- }
- n.isFirstNode = isFirstNode;
- n.isLastNode = isLastNode;
- n.getParentNode = function() {return data.getNodeCache(setting, n.parentTId);};
- n.getPreNode = function() {return data.getPreNode(setting, n);};
- n.getNextNode = function() {return data.getNextNode(setting, n);};
- n.isAjaxing = false;
- data.fixPIdKeyValue(setting, n);
- },
- _init = {
- bind: [_bindEvent],
- unbind: [_unbindEvent],
- caches: [_initCache],
- nodes: [_initNode],
- proxys: [_eventProxy],
- roots: [_initRoot],
- beforeA: [],
- afterA: [],
- innerBeforeA: [],
- innerAfterA: [],
- zTreeTools: []
- },
- //method of operate data
- data = {
- addNodeCache: function(setting, node) {
- data.getCache(setting).nodes[data.getNodeCacheId(node.tId)] = node;
- },
- getNodeCacheId: function(tId) {
- return tId.substring(tId.lastIndexOf("_")+1);
- },
- addAfterA: function(afterA) {
- _init.afterA.push(afterA);
- },
- addBeforeA: function(beforeA) {
- _init.beforeA.push(beforeA);
- },
- addInnerAfterA: function(innerAfterA) {
- _init.innerAfterA.push(innerAfterA);
- },
- addInnerBeforeA: function(innerBeforeA) {
- _init.innerBeforeA.push(innerBeforeA);
- },
- addInitBind: function(bindEvent) {
- _init.bind.push(bindEvent);
- },
- addInitUnBind: function(unbindEvent) {
- _init.unbind.push(unbindEvent);
- },
- addInitCache: function(initCache) {
- _init.caches.push(initCache);
- },
- addInitNode: function(initNode) {
- _init.nodes.push(initNode);
- },
- addInitProxy: function(initProxy, isFirst) {
- if (!!isFirst) {
- _init.proxys.splice(0,0,initProxy);
- } else {
- _init.proxys.push(initProxy);
- }
- },
- addInitRoot: function(initRoot) {
- _init.roots.push(initRoot);
- },
- addNodesData: function(setting, parentNode, nodes) {
- var childKey = setting.data.key.children;
- if (!parentNode[childKey]) parentNode[childKey] = [];
- if (parentNode[childKey].length > 0) {
- parentNode[childKey][parentNode[childKey].length - 1].isLastNode = false;
- view.setNodeLineIcos(setting, parentNode[childKey][parentNode[childKey].length - 1]);
- }
- parentNode.isParent = true;
- parentNode[childKey] = parentNode[childKey].concat(nodes);
- },
- addSelectedNode: function(setting, node) {
- var root = data.getRoot(setting);
- if (!data.isSelectedNode(setting, node)) {
- root.curSelectedList.push(node);
- }
- },
- addCreatedNode: function(setting, node) {
- if (!!setting.callback.onNodeCreated || !!setting.view.addDiyDom) {
- var root = data.getRoot(setting);
- root.createdNodes.push(node);
- }
- },
- addZTreeTools: function(zTreeTools) {
- _init.zTreeTools.push(zTreeTools);
- },
- exSetting: function(s) {
- $.extend(true, _setting, s);
- },
- fixPIdKeyValue: function(setting, node) {
- if (setting.data.simpleData.enable) {
- node[setting.data.simpleData.pIdKey] = node.parentTId ? node.getParentNode()[setting.data.simpleData.idKey] : setting.data.simpleData.rootPId;
- }
- },
- getAfterA: function(setting, node, array) {
- for (var i=0, j=_init.afterA.length; i<j; i++) {
- _init.afterA[i].apply(this, arguments);
- }
- },
- getBeforeA: function(setting, node, array) {
- for (var i=0, j=_init.beforeA.length; i<j; i++) {
- _init.beforeA[i].apply(this, arguments);
- }
- },
- getInnerAfterA: function(setting, node, array) {
- for (var i=0, j=_init.innerAfterA.length; i<j; i++) {
- _init.innerAfterA[i].apply(this, arguments);
- }
- },
- getInnerBeforeA: function(setting, node, array) {
- for (var i=0, j=_init.innerBeforeA.length; i<j; i++) {
- _init.innerBeforeA[i].apply(this, arguments);
- }
- },
- getCache: function(setting) {
- return caches[setting.treeId];
- },
- getNextNode: function(setting, node) {
- if (!node) return null;
- var childKey = setting.data.key.children,
- p = node.parentTId ? node.getParentNode() : data.getRoot(setting);
- for (var i=0, l=p[childKey].length-1; i<=l; i++) {
- if (p[childKey][i] === node) {
- return (i==l ? null : p[childKey][i+1]);
- }
- }
- return null;
- },
- getNodeByParam: function(setting, nodes, key, value) {
- if (!nodes || !key) return null;
- var childKey = setting.data.key.children;
- for (var i = 0, l = nodes.length; i < l; i++) {
- if (nodes[i][key] == value) {
- return nodes[i];
- }
- var tmp = data.getNodeByParam(setting, nodes[i][childKey], key, value);
- if (tmp) return tmp;
- }
- return null;
- },
- getNodeCache: function(setting, tId) {
- if (!tId) return null;
- var n = caches[setting.treeId].nodes[data.getNodeCacheId(tId)];
- return n ? n : null;
- },
- getNodeName: function(setting, node) {
- var nameKey = setting.data.key.name;
- return "" + node[nameKey];
- },
- getNodeTitle: function(setting, node) {
- var t = setting.data.key.title === "" ? setting.data.key.name : setting.data.key.title;
- return "" + node[t];
- },
- getNodes: function(setting) {
- return data.getRoot(setting)[setting.data.key.children];
- },
- getNodesByParam: function(setting, nodes, key, value) {
- if (!nodes || !key) return [];
- var childKey = setting.data.key.children,
- result = [];
- for (var i = 0, l = nodes.length; i < l; i++) {
- if (nodes[i][key] == value) {
- result.push(nodes[i]);
- }
- result = result.concat(data.getNodesByParam(setting, nodes[i][childKey], key, value));
- }
- return result;
- },
- getNodesByParamFuzzy: function(setting, nodes, key, value) {
- if (!nodes || !key) return [];
- var childKey = setting.data.key.children,
- result = [];
- value = value.toLowerCase();
- for (var i = 0, l = nodes.length; i < l; i++) {
- if (typeof nodes[i][key] == "string" && nodes[i][key].toLowerCase().indexOf(value)>-1) {
- result.push(nodes[i]);
- }
- result = result.concat(data.getNodesByParamFuzzy(setting, nodes[i][childKey], key, value));
- }
- return result;
- },
- getNodesByFilter: function(setting, nodes, filter, isSingle, invokeParam) {
- if (!nodes) return (isSingle ? null : []);
- var childKey = setting.data.key.children,
- result = isSingle ? null : [];
- for (var i = 0, l = nodes.length; i < l; i++) {
- if (tools.apply(filter, [nodes[i], invokeParam], false)) {
- if (isSingle) {return nodes[i];}
- result.push(nodes[i]);
- }
- var tmpResult = data.getNodesByFilter(setting, nodes[i][childKey], filter, isSingle, invokeParam);
- if (isSingle && !!tmpResult) {return tmpResult;}
- result = isSingle ? tmpResult : result.concat(tmpResult);
- }
- return result;
- },
- getPreNode: function(setting, node) {
- if (!node) return null;
- var childKey = setting.data.key.children,
- p = node.parentTId ? node.getParentNode() : data.getRoot(setting);
- for (var i=0, l=p[childKey].length; i<l; i++) {
- if (p[childKey][i] === node) {
- return (i==0 ? null : p[childKey][i-1]);
- }
- }
- return null;
- },
- getRoot: function(setting) {
- return setting ? roots[setting.treeId] : null;
- },
- getRoots: function() {
- return roots;
- },
- getSetting: function(treeId) {
- return settings[treeId];
- },
- getSettings: function() {
- return settings;
- },
- getZTreeTools: function(treeId) {
- var r = this.getRoot(this.getSetting(treeId));
- return r ? r.treeTools : null;
- },
- initCache: function(setting) {
- for (var i=0, j=_init.caches.length; i<j; i++) {
- _init.caches[i].apply(this, arguments);
- }
- },
- initNode: function(setting, level, node, parentNode, preNode, nextNode) {
- for (var i=0, j=_init.nodes.length; i<j; i++) {
- _init.nodes[i].apply(this, arguments);
- }
- },
- initRoot: function(setting) {
- for (var i=0, j=_init.roots.length; i<j; i++) {
- _init.roots[i].apply(this, arguments);
- }
- },
- isSelectedNode: function(setting, node) {
- var root = data.getRoot(setting);
- for (var i=0, j=root.curSelectedList.length; i<j; i++) {
- if(node === root.curSelectedList[i]) return true;
- }
- return false;
- },
- removeNodeCache: function(setting, node) {
- var childKey = setting.data.key.children;
- if (node[childKey]) {
- for (var i=0, l=node[childKey].length; i<l; i++) {
- arguments.callee(setting, node[childKey][i]);
- }
- }
- data.getCache(setting).nodes[data.getNodeCacheId(node.tId)] = null;
- },
- removeSelectedNode: function(setting, node) {
- var root = data.getRoot(setting);
- for (var i=0, j=root.curSelectedList.length; i<j; i++) {
- if(node === root.curSelectedList[i] || !data.getNodeCache(setting, root.curSelectedList[i].tId)) {
- root.curSelectedList.splice(i, 1);
- i--;j--;
- }
- }
- },
- setCache: function(setting, cache) {
- caches[setting.treeId] = cache;
- },
- setRoot: function(setting, root) {
- roots[setting.treeId] = root;
- },
- setZTreeTools: function(setting, zTreeTools) {
- for (var i=0, j=_init.zTreeTools.length; i<j; i++) {
- _init.zTreeTools[i].apply(this, arguments);
- }
- },
- transformToArrayFormat: function (setting, nodes) {
- if (!nodes) return [];
- var childKey = setting.data.key.children,
- r = [];
- if (tools.isArray(nodes)) {
- for (var i=0, l=nodes.length; i<l; i++) {
- r.push(nodes[i]);
- if (nodes[i][childKey])
- r = r.concat(data.transformToArrayFormat(setting, nodes[i][childKey]));
- }
- } else {
- r.push(nodes);
- if (nodes[childKey])
- r = r.concat(data.transformToArrayFormat(setting, nodes[childKey]));
- }
- return r;
- },
- transformTozTreeFormat: function(setting, sNodes) {
- var i,l,
- key = setting.data.simpleData.idKey,
- parentKey = setting.data.simpleData.pIdKey,
- childKey = setting.data.key.children;
- if (!key || key=="" || !sNodes) return [];
-
- if (tools.isArray(sNodes)) {
- var r = [];
- var tmpMap = [];
- for (i=0, l=sNodes.length; i<l; i++) {
- tmpMap[sNodes[i][key]] = sNodes[i];
- }
- for (i=0, l=sNodes.length; i<l; i++) {
- if (tmpMap[sNodes[i][parentKey]] && sNodes[i][key] != sNodes[i][parentKey]) {
- if (!tmpMap[sNodes[i][parentKey]][childKey])
- tmpMap[sNodes[i][parentKey]][childKey] = [];
- tmpMap[sNodes[i][parentKey]][childKey].push(sNodes[i]);
- } else {
- r.push(sNodes[i]);
- }
- }
- return r;
- }else {
- return [sNodes];
- }
- }
- },
- //method of event proxy
- event = {
- bindEvent: function(setting) {
- for (var i=0, j=_init.bind.length; i<j; i++) {
- _init.bind[i].apply(this, arguments);
- }
- },
- unbindEvent: function(setting) {
- for (var i=0, j=_init.unbind.length; i<j; i++) {
- _init.unbind[i].apply(this, arguments);
- }
- },
- bindTree: function(setting) {
- var eventParam = {
- treeId: setting.treeId
- },
- o = setting.treeObj;
- if (!setting.view.txtSelectedEnable) {
- // for can't select text
- o.bind('selectstart', function(e){
- var node
- var n = e.originalEvent.srcElement.nodeName.toLowerCase();
- return (n === "input" || n === "textarea" );
- }).css({
- "-moz-user-select":"-moz-none"
- });
- }
- o.bind('click', eventParam, event.proxy);
- o.bind('dblclick', eventParam, event.proxy);
- o.bind('mouseover', eventParam, event.proxy);
- o.bind('mouseout', eventParam, event.proxy);
- o.bind('mousedown', eventParam, event.proxy);
- o.bind('mouseup', eventParam, event.proxy);
- o.bind('contextmenu', eventParam, event.proxy);
- },
- unbindTree: function(setting) {
- var o = setting.treeObj;
- o.unbind('click', event.proxy)
- .unbind('dblclick', event.proxy)
- .unbind('mouseover', event.proxy)
- .unbind('mouseout', event.proxy)
- .unbind('mousedown', event.proxy)
- .unbind('mouseup', event.proxy)
- .unbind('contextmenu', event.proxy);
- },
- doProxy: function(e) {
- var results = [];
- for (var i=0, j=_init.proxys.length; i<j; i++) {
- var proxyResult = _init.proxys[i].apply(this, arguments);
- results.push(proxyResult);
- if (proxyResult.stop) {
- break;
- }
- }
- return results;
- },
- proxy: function(e) {
- var setting = data.getSetting(e.data.treeId);
- if (!tools.uCanDo(setting, e)) return true;
- var results = event.doProxy(e),
- r = true, x = false;
- for (var i=0, l=results.length; i<l; i++) {
- var proxyResult = results[i];
- if (proxyResult.nodeEventCallback) {
- x = true;
- r = proxyResult.nodeEventCallback.apply(proxyResult, [e, proxyResult.node]) && r;
- }
- if (proxyResult.treeEventCallback) {
- x = true;
- r = proxyResult.treeEventCallback.apply(proxyResult, [e, proxyResult.node]) && r;
- }
- }
- return r;
- }
- },
- //method of event handler
- handler = {
- onSwitchNode: function (event, node) {
- var setting = data.getSetting(event.data.treeId);
- if (node.open) {
- if (tools.apply(setting.callback.beforeCollapse, [setting.treeId, node], true) == false) return true;
- data.getRoot(setting).expandTriggerFlag = true;
- view.switchNode(setting, node);
- } else {
- if (tools.apply(setting.callback.beforeExpand, [setting.treeId, node], true) == false) return true;
- data.getRoot(setting).expandTriggerFlag = true;
- view.switchNode(setting, node);
- }
- return true;
- },
- onClickNode: function (event, node) {
- var setting = data.getSetting(event.data.treeId),
- clickFlag = ( (setting.view.autoCancelSelected && (event.ctrlKey || event.metaKey)) && data.isSelectedNode(setting, node)) ? 0 : (setting.view.autoCancelSelected && (event.ctrlKey || event.metaKey) && setting.view.selectedMulti) ? 2 : 1;
- if (tools.apply(setting.callback.beforeClick, [setting.treeId, node, clickFlag], true) == false) return true;
- if (clickFlag === 0) {
- view.cancelPreSelectedNode(setting, node);
- } else {
- view.selectNode(setting, node, clickFlag === 2);
- }
- setting.treeObj.trigger(consts.event.CLICK, [event, setting.treeId, node, clickFlag]);
- return true;
- },
- onZTreeMousedown: function(event, node) {
- var setting = data.getSetting(event.data.treeId);
- if (tools.apply(setting.callback.beforeMouseDown, [setting.treeId, node], true)) {
- tools.apply(setting.callback.onMouseDown, [event, setting.treeId, node]);
- }
- return true;
- },
- onZTreeMouseup: function(event, node) {
- var setting = data.getSetting(event.data.treeId);
- if (tools.apply(setting.callback.beforeMouseUp, [setting.treeId, node], true)) {
- tools.apply(setting.callback.onMouseUp, [event, setting.treeId, node]);
- }
- return true;
- },
- onZTreeDblclick: function(event, node) {
- var setting = data.getSetting(event.data.treeId);
- if (tools.apply(setting.callback.beforeDblClick, [setting.treeId, node], true)) {
- tools.apply(setting.callback.onDblClick, [event, setting.treeId, node]);
- }
- return true;
- },
- onZTreeContextmenu: function(event, node) {
- var setting = data.getSetting(event.data.treeId);
- if (tools.apply(setting.callback.beforeRightClick, [setting.treeId, node], true)) {
- tools.apply(setting.callback.onRightClick, [event, setting.treeId, node]);
- }
- return (typeof setting.callback.onRightClick) != "function";
- }
- },
- //method of tools for zTree
- tools = {
- apply: function(fun, param, defaultValue) {
- if ((typeof fun) == "function") {
- return fun.apply(zt, param?param:[]);
- }
- return defaultValue;
- },
- canAsync: function(setting, node) {
- var childKey = setting.data.key.children;
- return (setting.async.enable && node && node.isParent && !(node.zAsync || (node[childKey] && node[childKey].length > 0)));
- },
- clone: function (obj){
- if (obj === null) return null;
- var o = tools.isArray(obj) ? [] : {};
- for(var i in obj){
- o[i] = (obj[i] instanceof Date) ? new Date(obj[i].getTime()) : (typeof obj[i] === "object" ? arguments.callee(obj[i]) : obj[i]);
- }
- return o;
- },
- eqs: function(str1, str2) {
- return str1.toLowerCase() === str2.toLowerCase();
- },
- isArray: function(arr) {
- return Object.prototype.toString.apply(arr) === "[object Array]";
- },
- $: function(node, exp, setting) {
- if (!!exp && typeof exp != "string") {
- setting = exp;
- exp = "";
- }
- if (typeof node == "string") {
- return $(node, setting ? setting.treeObj.get(0).ownerDocument : null);
- } else {
- return $("#" + node.tId + exp, setting ? setting.treeObj : null);
- }
- },
- getMDom: function (setting, curDom, targetExpr) {
- if (!curDom) return null;
- while (curDom && curDom.id !== setting.treeId) {
- for (var i=0, l=targetExpr.length; curDom.tagName && i<l; i++) {
- if (tools.eqs(curDom.tagName, targetExpr[i].tagName) && curDom.getAttribute(targetExpr[i].attrName) !== null) {
- return curDom;
- }
- }
- curDom = curDom.parentNode;
- }
- return null;
- },
- getNodeMainDom:function(target) {
- return ($(target).parent("li").get(0) || $(target).parentsUntil("li").parent().get(0));
- },
- isChildOrSelf: function(dom, parentId) {
- return ( $(dom).closest("#" + parentId).length> 0 );
- },
- uCanDo: function(setting, e) {
- return true;
- }
- },
- //method of operate ztree dom
- view = {
- addNodes: function(setting, parentNode, newNodes, isSilent) {
- if (setting.data.keep.leaf && parentNode && !parentNode.isParent) {
- return;
- }
- if (!tools.isArray(newNodes)) {
- newNodes = [newNodes];
- }
- if (setting.data.simpleData.enable) {
- newNodes = data.transformTozTreeFormat(setting, newNodes);
- }
- if (parentNode) {
- var target_switchObj = $$(parentNode, consts.id.SWITCH, setting),
- target_icoObj = $$(parentNode, consts.id.ICON, setting),
- target_ulObj = $$(parentNode, consts.id.UL, setting);
-
- if (!parentNode.open) {
- view.replaceSwitchClass(parentNode, target_switchObj, consts.folder.CLOSE);
- view.replaceIcoClass(parentNode, target_icoObj, consts.folder.CLOSE);
- parentNode.open = false;
- target_ulObj.css({
- "display": "none"
- });
- }
-
- data.addNodesData(setting, parentNode, newNodes);
- view.createNodes(setting, parentNode.level + 1, newNodes, parentNode);
- if (!isSilent) {
- view.expandCollapseParentNode(setting, parentNode, true);
- }
- } else {
- data.addNodesData(setting, data.getRoot(setting), newNodes);
- view.createNodes(setting, 0, newNodes, null);
- }
- },
- appendNodes: function(setting, level, nodes, parentNode, initFlag, openFlag) {
- if (!nodes) return [];
- var html = [],
- childKey = setting.data.key.children;
- for (var i = 0, l = nodes.length; i < l; i++) {
- var node = nodes[i];
- if (initFlag) {
- var tmpPNode = (parentNode) ? parentNode: data.getRoot(setting),
- tmpPChild = tmpPNode[childKey],
- isFirstNode = ((tmpPChild.length == nodes.length) && (i == 0)),
- isLastNode = (i == (nodes.length - 1));
- data.initNode(setting, level, node, parentNode, isFirstNode, isLastNode, openFlag);
- data.addNodeCache(setting, node);
- }
-
- var childHtml = [];
- if (node[childKey] && node[childKey].length > 0) {
- //make child html first, because checkType
- childHtml = view.appendNodes(setting, level + 1, node[childKey], node, initFlag, openFlag && node.open);
- }
- if (openFlag) {
-
- view.makeDOMNodeMainBefore(html, setting, node);
- view.makeDOMNodeLine(html, setting, node);
- data.getBeforeA(setting, node, html);
- view.makeDOMNodeNameBefore(html, setting, node);
- data.getInnerBeforeA(setting, node, html);
- view.makeDOMNodeIcon(html, setting, node);
- data.getInnerAfterA(setting, node, html);
- view.makeDOMNodeNameAfter(html, setting, node);
- data.getAfterA(setting, node, html);
- if (node.isParent && node.open) {
- view.makeUlHtml(setting, node, html, childHtml.join(''));
- }
- view.makeDOMNodeMainAfter(html, setting, node);
- data.addCreatedNode(setting, node);
- }
- }
- return html;
- },
- appendParentULDom: function(setting, node) {
- var html = [],
- nObj = $$(node, setting);
- if (!nObj.get(0) && !!node.parentTId) {
- view.appendParentULDom(setting, node.getParentNode());
- nObj = $$(node, setting);
- }
- var ulObj = $$(node, consts.id.UL, setting);
- if (ulObj.get(0)) {
- ulObj.remove();
- }
- var childKey = setting.data.key.children,
- childHtml = view.appendNodes(setting, node.level+1, node[childKey], node, false, true);
- view.makeUlHtml(setting, node, html, childHtml.join(''));
- nObj.append(html.join(''));
- },
- asyncNode: function(setting, node, isSilent, callback) {
- var i, l;
- if (node && !node.isParent) {
- tools.apply(callback);
- return false;
- } else if (node && node.isAjaxing) {
- return false;
- } else if (tools.apply(setting.callback.beforeAsync, [setting.treeId, node], true) == false) {
- tools.apply(callback);
- return false;
- }
- if (node) {
- node.isAjaxing = true;
- var icoObj = $$(node, consts.id.ICON, setting);
- icoObj.attr({"style":"", "class":consts.className.BUTTON + " " + consts.className.ICO_LOADING});
- }
-
- var tmpParam = {};
- for (i = 0, l = setting.async.autoParam.length; node && i < l; i++) {
- var pKey = setting.async.autoParam[i].split("="), spKey = pKey;
- if (pKey.length>1) {
- spKey = pKey[1];
- pKey = pKey[0];
- }
- tmpParam[spKey] = node[pKey];
- }
- if (tools.isArray(setting.async.otherParam)) {
- for (i = 0, l = setting.async.otherParam.length; i < l; i += 2) {
- tmpParam[setting.async.otherParam[i]] = setting.async.otherParam[i + 1];
- }
- } else {
- for (var p in setting.async.otherParam) {
- tmpParam[p] = setting.async.otherParam[p];
- }
- }
-
- var _tmpV = data.getRoot(setting)._ver;
- $.ajax({
- contentType: setting.async.contentType,
- type: setting.async.type,
- url: tools.apply(setting.async.url, [setting.treeId, node], setting.async.url),
- data: tmpParam,
- dataType: setting.async.dataType,
- success: function(msg) {
- if (_tmpV != data.getRoot(setting)._ver) {
- return;
- }
- var newNodes = [];
- try {
- if (!msg || msg.length == 0) {
- newNodes = [];
- } else if (typeof msg == "string") {
- newNodes = eval("(" + msg + ")");
- } else {
- newNodes = msg;
- }
- } catch(err) {
- newNodes = msg;
- }
-
- if (node) {
- node.isAjaxing = null;
- node.zAsync = true;
- }
- view.setNodeLineIcos(setting, node);
- if (newNodes && newNodes !== "") {
- newNodes = tools.apply(setting.async.dataFilter, [setting.treeId, node, newNodes], newNodes);
- view.addNodes(setting, node, !!newNodes ? tools.clone(newNodes) : [], !!isSilent);
- } else {
- view.addNodes(setting, node, [], !!isSilent);
- }
- setting.treeObj.trigger(consts.event.ASYNC_SUCCESS, [setting.treeId, node, msg]);
- tools.apply(callback);
- },
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- if (_tmpV != data.getRoot(setting)._ver) {
- return;
- }
- if (node) node.isAjaxing = null;
- view.setNodeLineIcos(setting, node);
- setting.treeObj.trigger(consts.event.ASYNC_ERROR, [setting.treeId, node, XMLHttpRequest, textStatus, errorThrown]);
- }
- });
- return true;
- },
- cancelPreSelectedNode: function (setting, node) {
- var list = data.getRoot(setting).curSelectedList;
- for (var i=0, j=list.length-1; j>=i; j--) {
- if (!node || node === list[j]) {
- $$(list[j], consts.id.A, setting).removeClass(consts.node.CURSELECTED);
- if (node) {
- data.removeSelectedNode(setting, node);
- break;
- }
- }
- }
- if (!node) data.getRoot(setting).curSelectedList = [];
- },
- createNodeCallback: function(setting) {
- if (!!setting.callback.onNodeCreated || !!setting.view.addDiyDom) {
- var root = data.getRoot(setting);
- while (root.createdNodes.length>0) {
- var node = root.createdNodes.shift();
- tools.apply(setting.view.addDiyDom, [setting.treeId, node]);
- if (!!setting.callback.onNodeCreated) {
- setting.treeObj.trigger(consts.event.NODECREATED, [setting.treeId, node]);
- }
- }
- }
- },
- createNodes: function(setting, level, nodes, parentNode) {
- if (!nodes || nodes.length == 0) return;
- var root = data.getRoot(setting),
- childKey = setting.data.key.children,
- openFlag = !parentNode || parentNode.open || !!$$(parentNode[childKey][0], setting).get(0);
- root.createdNodes = [];
- var zTreeHtml = view.appendNodes(setting, level, nodes, parentNode, true, openFlag);
- if (!parentNode) {
- setting.treeObj.append(zTreeHtml.join(''));
- } else {
- var ulObj = $$(parentNode, consts.id.UL, setting);
- if (ulObj.get(0)) {
- ulObj.append(zTreeHtml.join(''));
- }
- }
- view.createNodeCallback(setting);
- },
- destroy: function(setting) {
- if (!setting) return;
- data.initCache(setting);
- data.initRoot(setting);
- event.unbindTree(setting);
- event.unbindEvent(setting);
- setting.treeObj.empty();
- delete settings[setting.treeId];
- },
- expandCollapseNode: function(setting, node, expandFlag, animateFlag, callback) {
- var root = data.getRoot(setting),
- childKey = setting.data.key.children;
- if (!node) {
- tools.apply(callback, []);
- return;
- }
- if (root.expandTriggerFlag) {
- var _callback = callback;
- callback = function(){
- if (_callback) _callback();
- if (node.open) {
- setting.treeObj.trigger(consts.event.EXPAND, [setting.treeId, node]);
- } else {
- setting.treeObj.trigger(consts.event.COLLAPSE, [setting.treeId, node]);
- }
- };
- root.expandTriggerFlag = false;
- }
- if (!node.open && node.isParent && ((!$$(node, consts.id.UL, setting).get(0)) || (node[childKey] && node[childKey].length>0 && !$$(node[childKey][0], setting).get(0)))) {
- view.appendParentULDom(setting, node);
- view.createNodeCallback(setting);
- }
- if (node.open == expandFlag) {
- tools.apply(callback, []);
- return;
- }
- var ulObj = $$(node, consts.id.UL, setting),
- switchObj = $$(node, consts.id.SWITCH, setting),
- icoObj = $$(node, consts.id.ICON, setting);
-
- if (node.isParent) {
- node.open = !node.open;
- if (node.iconOpen && node.iconClose) {
- icoObj.attr("style", view.makeNodeIcoStyle(setting, node));
- }
-
- if (node.open) {
- view.replaceSwitchClass(node, switchObj, consts.folder.OPEN);
- view.replaceIcoClass(node, icoObj, consts.folder.OPEN);
- if (animateFlag == false || setting.view.expandSpeed == "") {
- ulObj.show();
- tools.apply(callback, []);
- } else {
- if (node[childKey] && node[childKey].length > 0) {
- ulObj.slideDown(setting.view.expandSpeed, callback);
- } else {
- ulObj.show();
- tools.apply(callback, []);
- }
- }
- } else {
- view.replaceSwitchClass(node, switchObj, consts.folder.CLOSE);
- view.replaceIcoClass(node, icoObj, consts.folder.CLOSE);
- if (animateFlag == false || setting.view.expandSpeed == "" || !(node[childKey] && node[childKey].length > 0)) {
- ulObj.hide();
- tools.apply(callback, []);
- } else {
- ulObj.slideUp(setting.view.expandSpeed, callback);
- }
- }
- } else {
- tools.apply(callback, []);
- }
- },
- expandCollapseParentNode: function(setting, node, expandFlag, animateFlag, callback) {
- if (!node) return;
- if (!node.parentTId) {
- view.expandCollapseNode(setting, node, expandFlag, animateFlag, callback);
- return;
- } else {
- view.expandCollapseNode(setting, node, expandFlag, animateFlag);
- }
- if (node.parentTId) {
- view.expandCollapseParentNode(setting, node.getParentNode(), expandFlag, animateFlag, callback);
- }
- },
- expandCollapseSonNode: function(setting, node, expandFlag, animateFlag, callback) {
- var root = data.getRoot(setting),
- childKey = setting.data.key.children,
- treeNodes = (node) ? node[childKey]: root[childKey],
- selfAnimateSign = (node) ? false : animateFlag,
- expandTriggerFlag = data.getRoot(setting).expandTriggerFlag;
- data.getRoot(setting).expandTriggerFlag = false;
- if (treeNodes) {
- for (var i = 0, l = treeNodes.length; i < l; i++) {
- if (treeNodes[i]) view.expandCollapseSonNode(setting, treeNodes[i], expandFlag, selfAnimateSign);
- }
- }
- data.getRoot(setting).expandTriggerFlag = expandTriggerFlag;
- view.expandCollapseNode(setting, node, expandFlag, animateFlag, callback );
- },
- makeDOMNodeIcon: function(html, setting, node) {
- var nameStr = data.getNodeName(setting, node),
- name = setting.view.nameIsHTML ? nameStr : nameStr.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');
- html.push("<span id='", node.tId, consts.id.ICON,
- "' title='' treeNode", consts.id.ICON," class='", view.makeNodeIcoClass(setting, node),
- "' style='", view.makeNodeIcoStyle(setting, node), "'></span><span id='", node.tId, consts.id.SPAN,
- "'>",name,"</span>");
- },
- makeDOMNodeLine: function(html, setting, node) {
- html.push("<span id='", node.tId, consts.id.SWITCH, "' title='' class='", view.makeNodeLineClass(setting, node), "' treeNode", consts.id.SWITCH,"></span>");
- },
- makeDOMNodeMainAfter: function(html, setting, node) {
- html.push("</li>");
- },
- makeDOMNodeMainBefore: function(html, setting, node) {
- html.push("<li id='", node.tId, "' class='", consts.className.LEVEL, node.level,"' tabindex='0' hidefocus='true' treenode>");
- },
- makeDOMNodeNameAfter: function(html, setting, node) {
- html.push("</a>");
- },
- makeDOMNodeNameBefore: function(html, setting, node) {
- var title = data.getNodeTitle(setting, node),
- url = view.makeNodeUrl(setting, node),
- fontcss = view.makeNodeFontCss(setting, node),
- fontStyle = [];
- for (var f in fontcss) {
- fontStyle.push(f, ":", fontcss[f], ";");
- }
- html.push("<a id='", node.tId, consts.id.A, "' class='", consts.className.LEVEL, node.level,"' treeNode", consts.id.A," onclick=\"", (node.click || ''),
- "\" ", ((url != null && url.length > 0) ? "href='" + url + "'" : ""), " target='",view.makeNodeTarget(node),"' style='", fontStyle.join(''),
- "'");
- if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle) && title) {html.push("title='", title.replace(/'/g,"&#39;").replace(/</g,'&lt;').replace(/>/g,'&gt;'),"'");}
- html.push(">");
- },
- makeNodeFontCss: function(setting, node) {
- var fontCss = tools.apply(setting.view.fontCss, [setting.treeId, node], setting.view.fontCss);
- return (fontCss && ((typeof fontCss) != "function")) ? fontCss : {};
- },
- makeNodeIcoClass: function(setting, node) {
- var icoCss = ["ico"];
- if (!node.isAjaxing) {
- icoCss[0] = (node.iconSkin ? node.iconSkin + "_" : "") + icoCss[0];
- if (node.isParent) {
- icoCss.push(node.open ? consts.folder.OPEN : consts.folder.CLOSE);
- } else {
- icoCss.push(consts.folder.DOCU);
- }
- }
- return consts.className.BUTTON + " " + icoCss.join('_');
- },
- makeNodeIcoStyle: function(setting, node) {
- var icoStyle = [];
- if (!node.isAjaxing) {
- var icon = (node.isParent && node.iconOpen && node.iconClose) ? (node.open ? node.iconOpen : node.iconClose) : node.icon;
- if (icon) icoStyle.push("background:url(", icon, ") 0 0 no-repeat;");
- if (setting.view.showIcon == false || !tools.apply(setting.view.showIcon, [setting.treeId, node], true)) {
- icoStyle.push("width:0px;height:0px;");
- }
- }
- return icoStyle.join('');
- },
- makeNodeLineClass: function(setting, node) {
- var lineClass = [];
- if (setting.view.showLine) {
- if (node.level == 0 && node.isFirstNode && node.isLastNode) {
- lineClass.push(consts.line.ROOT);
- } else if (node.level == 0 && node.isFirstNode) {
- lineClass.push(consts.line.ROOTS);
- } else if (node.isLastNode) {
- lineClass.push(consts.line.BOTTOM);
- } else {
- lineClass.push(consts.line.CENTER);
- }
- } else {
- lineClass.push(consts.line.NOLINE);
- }
- if (node.isParent) {
- lineClass.push(node.open ? consts.folder.OPEN : consts.folder.CLOSE);
- } else {
- lineClass.push(consts.folder.DOCU);
- }
- return view.makeNodeLineClassEx(node) + lineClass.join('_');
- },
- makeNodeLineClassEx: function(node) {
- return consts.className.BUTTON + " " + consts.className.LEVEL + node.level + " " + consts.className.SWITCH + " ";
- },
- makeNodeTarget: function(node) {
- return (node.target || "_blank");
- },
- makeNodeUrl: function(setting, node) {
- var urlKey = setting.data.key.url;
- return node[urlKey] ? node[urlKey] : null;
- },
- makeUlHtml: function(setting, node, html, content) {
- html.push("<ul id='", node.tId, consts.id.UL, "' class='", consts.className.LEVEL, node.level, " ", view.makeUlLineClass(setting, node), "' style='display:", (node.open ? "block": "none"),"'>");
- html.push(content);
- html.push("</ul>");
- },
- makeUlLineClass: function(setting, node) {
- return ((setting.view.showLine && !node.isLastNode) ? consts.line.LINE : "");
- },
- removeChildNodes: function(setting, node) {
- if (!node) return;
- var childKey = setting.data.key.children,
- nodes = node[childKey];
- if (!nodes) return;
-
- for (var i = 0, l = nodes.length; i < l; i++) {
- data.removeNodeCache(setting, nodes[i]);
- }
- data.removeSelectedNode(setting);
- delete node[childKey];
-
- if (!setting.data.keep.parent) {
- node.isParent = false;
- node.open = false;
- var tmp_switchObj = $$(node, consts.id.SWITCH, setting),
- tmp_icoObj = $$(node, consts.id.ICON, setting);
- view.replaceSwitchClass(node, tmp_switchObj, consts.folder.DOCU);
- view.replaceIcoClass(node, tmp_icoObj, consts.folder.DOCU);
- $$(node, consts.id.UL, setting).remove();
- } else {
- $$(node, consts.id.UL, setting).empty();
- }
- },
- setFirstNode: function(setting, parentNode) {
- var childKey = setting.data.key.children, childLength = parentNode[childKey].length;
- if ( childLength > 0) {
- parentNode[childKey][0].isFirstNode = true;
- }
- },
- setLastNode: function(setting, parentNode) {
- var childKey = setting.data.key.children, childLength = parentNode[childKey].length;
- if ( childLength > 0) {
- parentNode[childKey][childLength - 1].isLastNode = true;
- }
- },
- removeNode: function(setting, node) {
- var root = data.getRoot(setting),
- childKey = setting.data.key.children,
- parentNode = (node.parentTId) ? node.getParentNode() : root;
-
- node.isFirstNode = false;
- node.isLastNode = false;
- node.getPreNode = function() {return null;};
- node.getNextNode = function() {return null;};
-
- if (!data.getNodeCache(setting, node.tId)) {
- return;
- }
-
- $$(node, setting).remove();
- data.removeNodeCache(setting, node);
- data.removeSelectedNode(setting, node);
-
- for (var i = 0, l = parentNode[childKey].length; i < l; i++) {
- if (parentNode[childKey][i].tId == node.tId) {
- parentNode[childKey].splice(i, 1);
- break;
- }
- }
- view.setFirstNode(setting, parentNode);
- view.setLastNode(setting, parentNode);
-
- var tmp_ulObj,tmp_switchObj,tmp_icoObj,
- childLength = parentNode[childKey].length;
-
- //repair nodes old parent
- if (!setting.data.keep.parent && childLength == 0) {
- //old parentNode has no child nodes
- parentNode.isParent = false;
- parentNode.open = false;
- tmp_ulObj = $$(parentNode, consts.id.UL, setting);
- tmp_switchObj = $$(parentNode, consts.id.SWITCH, setting);
- tmp_icoObj = $$(parentNode, consts.id.ICON, setting);
- view.replaceSwitchClass(parentNode, tmp_switchObj, consts.folder.DOCU);
- view.replaceIcoClass(parentNode, tmp_icoObj, consts.folder.DOCU);
- tmp_ulObj.css("display", "none");
-
- } else if (setting.view.showLine && childLength > 0) {
- //old parentNode has child nodes
- var newLast = parentNode[childKey][childLength - 1];
- tmp_ulObj = $$(newLast, consts.id.UL, setting);
- tmp_switchObj = $$(newLast, consts.id.SWITCH, setting);
- tmp_icoObj = $$(newLast, consts.id.ICON, setting);
- if (parentNode == root) {
- if (parentNode[childKey].length == 1) {
- //node was root, and ztree has only one root after move node
- view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.ROOT);
- } else {
- var tmp_first_switchObj = $$(parentNode[childKey][0], consts.id.SWITCH, setting);
- view.replaceSwitchClass(parentNode[childKey][0], tmp_first_switchObj, consts.line.ROOTS);
- view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.BOTTOM);
- }
- } else {
- view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.BOTTOM);
- }
- tmp_ulObj.removeClass(consts.line.LINE);
- }
- },
- replaceIcoClass: function(node, obj, newName) {
- if (!obj || node.isAjaxing) return;
- var tmpName = obj.attr("class");
- if (tmpName == undefined) return;
- var tmpList = tmpName.split("_");
- switch (newName) {
- case consts.folder.OPEN:
- case consts.folder.CLOSE:
- case consts.folder.DOCU:
- tmpList[tmpList.length-1] = newName;
- break;
- }
- obj.attr("class", tmpList.join("_"));
- },
- replaceSwitchClass: function(node, obj, newName) {
- if (!obj) return;
- var tmpName = obj.attr("class");
- if (tmpName == undefined) return;
- var tmpList = tmpName.split("_");
- switch (newName) {
- case consts.line.ROOT:
- case consts.line.ROOTS:
- case consts.line.CENTER:
- case consts.line.BOTTOM:
- case consts.line.NOLINE:
- tmpList[0] = view.makeNodeLineClassEx(node) + newName;
- break;
- case consts.folder.OPEN:
- case consts.folder.CLOSE:
- case consts.folder.DOCU:
- tmpList[1] = newName;
- break;
- }
- obj.attr("class", tmpList.join("_"));
- if (newName !== consts.folder.DOCU) {
- obj.removeAttr("disabled");
- } else {
- obj.attr("disabled", "disabled");
- }
- },
- selectNode: function(setting, node, addFlag) {
- if (!addFlag) {
- view.cancelPreSelectedNode(setting);
- }
- $$(node, consts.id.A, setting).addClass(consts.node.CURSELECTED);
- data.addSelectedNode(setting, node);
- },
- setNodeFontCss: function(setting, treeNode) {
- var aObj = $$(treeNode, consts.id.A, setting),
- fontCss = view.makeNodeFontCss(setting, treeNode);
- if (fontCss) {
- aObj.css(fontCss);
- }
- },
- setNodeLineIcos: function(setting, node) {
- if (!node) return;
- var switchObj = $$(node, consts.id.SWITCH, setting),
- ulObj = $$(node, consts.id.UL, setting),
- icoObj = $$(node, consts.id.ICON, setting),
- ulLine = view.makeUlLineClass(setting, node);
- if (ulLine.length==0) {
- ulObj.removeClass(consts.line.LINE);
- } else {
- ulObj.addClass(ulLine);
- }
- switchObj.attr("class", view.makeNodeLineClass(setting, node));
- if (node.isParent) {
- switchObj.removeAttr("disabled");
- } else {
- switchObj.attr("disabled", "disabled");
- }
- icoObj.removeAttr("style");
- icoObj.attr("style", view.makeNodeIcoStyle(setting, node));
- icoObj.attr("class", view.makeNodeIcoClass(setting, node));
- },
- setNodeName: function(setting, node) {
- var title = data.getNodeTitle(setting, node),
- nObj = $$(node, consts.id.SPAN, setting);
- nObj.empty();
- if (setting.view.nameIsHTML) {
- nObj.html(data.getNodeName(setting, node));
- } else {
- nObj.text(data.getNodeName(setting, node));
- }
- if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle)) {
- var aObj = $$(node, consts.id.A, setting);
- aObj.attr("title", !title ? "" : title);
- }
- },
- setNodeTarget: function(setting, node) {
- var aObj = $$(node, consts.id.A, setting);
- aObj.attr("target", view.makeNodeTarget(node));
- },
- setNodeUrl: function(setting, node) {
- var aObj = $$(node, consts.id.A, setting),
- url = view.makeNodeUrl(setting, node);
- if (url == null || url.length == 0) {
- aObj.removeAttr("href");
- } else {
- aObj.attr("href", url);
- }
- },
- switchNode: function(setting, node) {
- if (node.open || !tools.canAsync(setting, node)) {
- view.expandCollapseNode(setting, node, !node.open);
- } else if (setting.async.enable) {
- if (!view.asyncNode(setting, node)) {
- view.expandCollapseNode(setting, node, !node.open);
- return;
- }
- } else if (node) {
- view.expandCollapseNode(setting, node, !node.open);
- }
- }
- };
- // zTree defind
- $.fn.zTree = {
- consts : _consts,
- _z : {
- tools: tools,
- view: view,
- event: event,
- data: data
- },
- getZTreeObj: function(treeId) {
- var o = data.getZTreeTools(treeId);
- return o ? o : null;
- },
- destroy: function(treeId) {
- if (!!treeId && treeId.length > 0) {
- view.destroy(data.getSetting(treeId));
- } else {
- for(var s in settings) {
- view.destroy(settings[s]);
- }
- }
- },
- init: function(obj, zSetting, zNodes) {
- var setting = tools.clone(_setting);
- $.extend(true, setting, zSetting);
- setting.treeId = obj.attr("id");
- setting.treeObj = obj;
- setting.treeObj.empty();
- settings[setting.treeId] = setting;
- //For some older browser,(e.g., ie6)
- if(typeof document.body.style.maxHeight === "undefined") {
- setting.view.expandSpeed = "";
- }
- data.initRoot(setting);
- var root = data.getRoot(setting),
- childKey = setting.data.key.children;
- zNodes = zNodes ? tools.clone(tools.isArray(zNodes)? zNodes : [zNodes]) : [];
- if (setting.data.simpleData.enable) {
- root[childKey] = data.transformTozTreeFormat(setting, zNodes);
- } else {
- root[childKey] = zNodes;
- }
-
- data.initCache(setting);
- event.unbindTree(setting);
- event.bindTree(setting);
- event.unbindEvent(setting);
- event.bindEvent(setting);
-
- var zTreeTools = {
- setting : setting,
- addNodes : function(parentNode, newNodes, isSilent) {
- if (!newNodes) return null;
- if (!parentNode) parentNode = null;
- if (parentNode && !parentNode.isParent && setting.data.keep.leaf) return null;
- var xNewNodes = tools.clone(tools.isArray(newNodes)? newNodes: [newNodes]);
- function addCallback() {
- view.addNodes(setting, parentNode, xNewNodes, (isSilent==true));
- }
-
- if (tools.canAsync(setting, parentNode)) {
- view.asyncNode(setting, parentNode, isSilent, addCallback);
- } else {
- addCallback();
- }
- return xNewNodes;
- },
- cancelSelectedNode : function(node) {
- view.cancelPreSelectedNode(setting, node);
- },
- destroy : function() {
- view.destroy(setting);
- },
- expandAll : function(expandFlag) {
- expandFlag = !!expandFlag;
- view.expandCollapseSonNode(setting, null, expandFlag, true);
- return expandFlag;
- },
- expandNode : function(node, expandFlag, sonSign, focus, callbackFlag) {
- if (!node || !node.isParent) return null;
- if (expandFlag !== true && expandFlag !== false) {
- expandFlag = !node.open;
- }
- callbackFlag = !!callbackFlag;
-
- if (callbackFlag && expandFlag && (tools.apply(setting.callback.beforeExpand, [setting.treeId, node], true) == false)) {
- return null;
- } else if (callbackFlag && !expandFlag && (tools.apply(setting.callback.beforeCollapse, [setting.treeId, node], true) == false)) {
- return null;
- }
- if (expandFlag && node.parentTId) {
- view.expandCollapseParentNode(setting, node.getParentNode(), expandFlag, false);
- }
- if (expandFlag === node.open && !sonSign) {
- return null;
- }
-
- data.getRoot(setting).expandTriggerFlag = callbackFlag;
- if (!tools.canAsync(setting, node) && sonSign) {
- view.expandCollapseSonNode(setting, node, expandFlag, true, function() {
- if (focus !== false) {try{$$(node, setting).focus().blur();}catch(e){}}
- });
- } else {
- node.open = !expandFlag;
- view.switchNode(this.setting, node);
- if (focus !== false) {try{$$(node, setting).focus().blur();}catch(e){}}
- }
- return expandFlag;
- },
- getNodes : function() {
- return data.getNodes(setting);
- },
- getNodeByParam : function(key, value, parentNode) {
- if (!key) return null;
- return data.getNodeByParam(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), key, value);
- },
- getNodeByTId : function(tId) {
- return data.getNodeCache(setting, tId);
- },
- getNodesByParam : function(key, value, parentNode) {
- if (!key) return null;
- return data.getNodesByParam(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), key, value);
- },
- getNodesByParamFuzzy : function(key, value, parentNode) {
- if (!key) return null;
- return data.getNodesByParamFuzzy(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), key, value);
- },
- getNodesByFilter: function(filter, isSingle, parentNode, invokeParam) {
- isSingle = !!isSingle;
- if (!filter || (typeof filter != "function")) return (isSingle ? null : []);
- return data.getNodesByFilter(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), filter, isSingle, invokeParam);
- },
- getNodeIndex : function(node) {
- if (!node) return null;
- var childKey = setting.data.key.children,
- parentNode = (node.parentTId) ? node.getParentNode() : data.getRoot(setting);
- for (var i=0, l = parentNode[childKey].length; i < l; i++) {
- if (parentNode[childKey][i] == node) return i;
- }
- return -1;
- },
- getSelectedNodes : function() {
- var r = [], list = data.getRoot(setting).curSelectedList;
- for (var i=0, l=list.length; i<l; i++) {
- r.push(list[i]);
- }
- return r;
- },
- isSelectedNode : function(node) {
- return data.isSelectedNode(setting, node);
- },
- reAsyncChildNodes : function(parentNode, reloadType, isSilent) {
- if (!this.setting.async.enable) return;
- var isRoot = !parentNode;
- if (isRoot) {
- parentNode = data.getRoot(setting);
- }
- if (reloadType=="refresh") {
- var childKey = this.setting.data.key.children;
- for (var i = 0, l = parentNode[childKey] ? parentNode[childKey].length : 0; i < l; i++) {
- data.removeNodeCache(setting, parentNode[childKey][i]);
- }
- data.removeSelectedNode(setting);
- parentNode[childKey] = [];
- if (isRoot) {
- this.setting.treeObj.empty();
- } else {
- var ulObj = $$(parentNode, consts.id.UL, setting);
- ulObj.empty();
- }
- }
- view.asyncNode(this.setting, isRoot? null:parentNode, !!isSilent);
- },
- refresh : function() {
- this.setting.treeObj.empty();
- var root = data.getRoot(setting),
- nodes = root[setting.data.key.children]
- data.initRoot(setting);
- root[setting.data.key.children] = nodes
- data.initCache(setting);
- view.createNodes(setting, 0, root[setting.data.key.children]);
- },
- removeChildNodes : function(node) {
- if (!node) return null;
- var childKey = setting.data.key.children,
- nodes = node[childKey];
- view.removeChildNodes(setting, node);
- return nodes ? nodes : null;
- },
- removeNode : function(node, callbackFlag) {
- if (!node) return;
- callbackFlag = !!callbackFlag;
- if (callbackFlag && tools.apply(setting.callback.beforeRemove, [setting.treeId, node], true) == false) return;
- view.removeNode(setting, node);
- if (callbackFlag) {
- this.setting.treeObj.trigger(consts.event.REMOVE, [setting.treeId, node]);
- }
- },
- selectNode : function(node, addFlag) {
- if (!node) return;
- if (tools.uCanDo(setting)) {
- addFlag = setting.view.selectedMulti && addFlag;
- if (node.parentTId) {
- view.expandCollapseParentNode(setting, node.getParentNode(), true, false, function() {
- try{$$(node, setting).focus().blur();}catch(e){}
- });
- } else {
- try{$$(node, setting).focus().blur();}catch(e){}
- }
- view.selectNode(setting, node, addFlag);
- }
- },
- transformTozTreeNodes : function(simpleNodes) {
- return data.transformTozTreeFormat(setting, simpleNodes);
- },
- transformToArray : function(nodes) {
- return data.transformToArrayFormat(setting, nodes);
- },
- updateNode : function(node, checkTypeFlag) {
- if (!node) return;
- var nObj = $$(node, setting);
- if (nObj.get(0) && tools.uCanDo(setting)) {
- view.setNodeName(setting, node);
- view.setNodeTarget(setting, node);
- view.setNodeUrl(setting, node);
- view.setNodeLineIcos(setting, node);
- view.setNodeFontCss(setting, node);
- }
- }
- }
- root.treeTools = zTreeTools;
- data.setZTreeTools(setting, zTreeTools);
-
- if (root[childKey] && root[childKey].length > 0) {
- view.createNodes(setting, 0, root[childKey]);
- } else if (setting.async.enable && setting.async.url && setting.async.url !== '') {
- view.asyncNode(setting);
- }
- return zTreeTools;
- }
- };
-
- var zt = $.fn.zTree,
- $$ = tools.$,
- consts = zt.consts;
-})(jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.core.min.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.core.min.js
deleted file mode 100644
index 061499c7..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.core.min.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * JQuery zTree core v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function(p){var G,H,I,J,K,L,r={},u={},v={},M={treeId:"",treeObj:null,view:{addDiyDom:null,autoCancelSelected:!0,dblClickExpand:!0,expandSpeed:"fast",fontCss:{},nameIsHTML:!1,selectedMulti:!0,showIcon:!0,showLine:!0,showTitle:!0,txtSelectedEnable:!1},data:{key:{children:"children",name:"name",title:"",url:"url"},simpleData:{enable:!1,idKey:"id",pIdKey:"pId",rootPId:null},keep:{parent:!1,leaf:!1}},async:{enable:!1,contentType:"application/x-www-form-urlencoded",type:"post",dataType:"text",url:"",autoParam:[],
-otherParam:[],dataFilter:null},callback:{beforeAsync:null,beforeClick:null,beforeDblClick:null,beforeRightClick:null,beforeMouseDown:null,beforeMouseUp:null,beforeExpand:null,beforeCollapse:null,beforeRemove:null,onAsyncError:null,onAsyncSuccess:null,onNodeCreated:null,onClick:null,onDblClick:null,onRightClick:null,onMouseDown:null,onMouseUp:null,onExpand:null,onCollapse:null,onRemove:null}},w=[function(b){var a=b.treeObj,c=e.event;a.bind(c.NODECREATED,function(a,c,g){j.apply(b.callback.onNodeCreated,
-[a,c,g])});a.bind(c.CLICK,function(a,c,g,l,h){j.apply(b.callback.onClick,[c,g,l,h])});a.bind(c.EXPAND,function(a,c,g){j.apply(b.callback.onExpand,[a,c,g])});a.bind(c.COLLAPSE,function(a,c,g){j.apply(b.callback.onCollapse,[a,c,g])});a.bind(c.ASYNC_SUCCESS,function(a,c,g,l){j.apply(b.callback.onAsyncSuccess,[a,c,g,l])});a.bind(c.ASYNC_ERROR,function(a,c,g,l,h,e){j.apply(b.callback.onAsyncError,[a,c,g,l,h,e])});a.bind(c.REMOVE,function(a,c,g){j.apply(b.callback.onRemove,[a,c,g])})}],x=[function(b){var a=
-e.event;b.treeObj.unbind(a.NODECREATED).unbind(a.CLICK).unbind(a.EXPAND).unbind(a.COLLAPSE).unbind(a.ASYNC_SUCCESS).unbind(a.ASYNC_ERROR).unbind(a.REMOVE)}],y=[function(b){var a=h.getCache(b);a||(a={},h.setCache(b,a));a.nodes=[];a.doms=[]}],z=[function(b,a,c,d,f,g){if(c){var l=h.getRoot(b),e=b.data.key.children;c.level=a;c.tId=b.treeId+"_"+ ++l.zId;c.parentTId=d?d.tId:null;c.open=typeof c.open=="string"?j.eqs(c.open,"true"):!!c.open;c[e]&&c[e].length>0?(c.isParent=!0,c.zAsync=!0):(c.isParent=typeof c.isParent==
-"string"?j.eqs(c.isParent,"true"):!!c.isParent,c.open=c.isParent&&!b.async.enable?c.open:!1,c.zAsync=!c.isParent);c.isFirstNode=f;c.isLastNode=g;c.getParentNode=function(){return h.getNodeCache(b,c.parentTId)};c.getPreNode=function(){return h.getPreNode(b,c)};c.getNextNode=function(){return h.getNextNode(b,c)};c.isAjaxing=!1;h.fixPIdKeyValue(b,c)}}],s=[function(b){var a=b.target,c=h.getSetting(b.data.treeId),d="",f=null,g="",l="",i=null,n=null,k=null;if(j.eqs(b.type,"mousedown"))l="mousedown";else if(j.eqs(b.type,
-"mouseup"))l="mouseup";else if(j.eqs(b.type,"contextmenu"))l="contextmenu";else if(j.eqs(b.type,"click"))if(j.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+e.id.SWITCH)!==null)d=j.getNodeMainDom(a).id,g="switchNode";else{if(k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}]))d=j.getNodeMainDom(k).id,g="clickNode"}else if(j.eqs(b.type,"dblclick")&&(l="dblclick",k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}])))d=j.getNodeMainDom(k).id,g="switchNode";if(l.length>0&&d.length==0&&
-(k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}])))d=j.getNodeMainDom(k).id;if(d.length>0)switch(f=h.getNodeCache(c,d),g){case "switchNode":f.isParent?j.eqs(b.type,"click")||j.eqs(b.type,"dblclick")&&j.apply(c.view.dblClickExpand,[c.treeId,f],c.view.dblClickExpand)?i=G:g="":g="";break;case "clickNode":i=H}switch(l){case "mousedown":n=I;break;case "mouseup":n=J;break;case "dblclick":n=K;break;case "contextmenu":n=L}return{stop:!1,node:f,nodeEventType:g,nodeEventCallback:i,treeEventType:l,
-treeEventCallback:n}}],A=[function(b){var a=h.getRoot(b);a||(a={},h.setRoot(b,a));a[b.data.key.children]=[];a.expandTriggerFlag=!1;a.curSelectedList=[];a.noSelection=!0;a.createdNodes=[];a.zId=0;a._ver=(new Date).getTime()}],B=[],C=[],D=[],E=[],F=[],h={addNodeCache:function(b,a){h.getCache(b).nodes[h.getNodeCacheId(a.tId)]=a},getNodeCacheId:function(b){return b.substring(b.lastIndexOf("_")+1)},addAfterA:function(b){C.push(b)},addBeforeA:function(b){B.push(b)},addInnerAfterA:function(b){E.push(b)},
-addInnerBeforeA:function(b){D.push(b)},addInitBind:function(b){w.push(b)},addInitUnBind:function(b){x.push(b)},addInitCache:function(b){y.push(b)},addInitNode:function(b){z.push(b)},addInitProxy:function(b,a){a?s.splice(0,0,b):s.push(b)},addInitRoot:function(b){A.push(b)},addNodesData:function(b,a,c){var d=b.data.key.children;a[d]||(a[d]=[]);if(a[d].length>0)a[d][a[d].length-1].isLastNode=!1,i.setNodeLineIcos(b,a[d][a[d].length-1]);a.isParent=!0;a[d]=a[d].concat(c)},addSelectedNode:function(b,a){var c=
-h.getRoot(b);h.isSelectedNode(b,a)||c.curSelectedList.push(a)},addCreatedNode:function(b,a){(b.callback.onNodeCreated||b.view.addDiyDom)&&h.getRoot(b).createdNodes.push(a)},addZTreeTools:function(b){F.push(b)},exSetting:function(b){p.extend(!0,M,b)},fixPIdKeyValue:function(b,a){b.data.simpleData.enable&&(a[b.data.simpleData.pIdKey]=a.parentTId?a.getParentNode()[b.data.simpleData.idKey]:b.data.simpleData.rootPId)},getAfterA:function(b,a,c){for(var d=0,f=C.length;d<f;d++)C[d].apply(this,arguments)},
-getBeforeA:function(b,a,c){for(var d=0,f=B.length;d<f;d++)B[d].apply(this,arguments)},getInnerAfterA:function(b,a,c){for(var d=0,f=E.length;d<f;d++)E[d].apply(this,arguments)},getInnerBeforeA:function(b,a,c){for(var d=0,f=D.length;d<f;d++)D[d].apply(this,arguments)},getCache:function(b){return v[b.treeId]},getNextNode:function(b,a){if(!a)return null;for(var c=b.data.key.children,d=a.parentTId?a.getParentNode():h.getRoot(b),f=0,g=d[c].length-1;f<=g;f++)if(d[c][f]===a)return f==g?null:d[c][f+1];return null},
-getNodeByParam:function(b,a,c,d){if(!a||!c)return null;for(var f=b.data.key.children,g=0,l=a.length;g<l;g++){if(a[g][c]==d)return a[g];var e=h.getNodeByParam(b,a[g][f],c,d);if(e)return e}return null},getNodeCache:function(b,a){if(!a)return null;var c=v[b.treeId].nodes[h.getNodeCacheId(a)];return c?c:null},getNodeName:function(b,a){return""+a[b.data.key.name]},getNodeTitle:function(b,a){return""+a[b.data.key.title===""?b.data.key.name:b.data.key.title]},getNodes:function(b){return h.getRoot(b)[b.data.key.children]},
-getNodesByParam:function(b,a,c,d){if(!a||!c)return[];for(var f=b.data.key.children,g=[],l=0,e=a.length;l<e;l++)a[l][c]==d&&g.push(a[l]),g=g.concat(h.getNodesByParam(b,a[l][f],c,d));return g},getNodesByParamFuzzy:function(b,a,c,d){if(!a||!c)return[];for(var f=b.data.key.children,g=[],d=d.toLowerCase(),l=0,e=a.length;l<e;l++)typeof a[l][c]=="string"&&a[l][c].toLowerCase().indexOf(d)>-1&&g.push(a[l]),g=g.concat(h.getNodesByParamFuzzy(b,a[l][f],c,d));return g},getNodesByFilter:function(b,a,c,d,f){if(!a)return d?
-null:[];for(var g=b.data.key.children,e=d?null:[],i=0,n=a.length;i<n;i++){if(j.apply(c,[a[i],f],!1)){if(d)return a[i];e.push(a[i])}var k=h.getNodesByFilter(b,a[i][g],c,d,f);if(d&&k)return k;e=d?k:e.concat(k)}return e},getPreNode:function(b,a){if(!a)return null;for(var c=b.data.key.children,d=a.parentTId?a.getParentNode():h.getRoot(b),f=0,g=d[c].length;f<g;f++)if(d[c][f]===a)return f==0?null:d[c][f-1];return null},getRoot:function(b){return b?u[b.treeId]:null},getRoots:function(){return u},getSetting:function(b){return r[b]},
-getSettings:function(){return r},getZTreeTools:function(b){return(b=this.getRoot(this.getSetting(b)))?b.treeTools:null},initCache:function(b){for(var a=0,c=y.length;a<c;a++)y[a].apply(this,arguments)},initNode:function(b,a,c,d,f,g){for(var e=0,h=z.length;e<h;e++)z[e].apply(this,arguments)},initRoot:function(b){for(var a=0,c=A.length;a<c;a++)A[a].apply(this,arguments)},isSelectedNode:function(b,a){for(var c=h.getRoot(b),d=0,f=c.curSelectedList.length;d<f;d++)if(a===c.curSelectedList[d])return!0;return!1},
-removeNodeCache:function(b,a){var c=b.data.key.children;if(a[c])for(var d=0,f=a[c].length;d<f;d++)arguments.callee(b,a[c][d]);h.getCache(b).nodes[h.getNodeCacheId(a.tId)]=null},removeSelectedNode:function(b,a){for(var c=h.getRoot(b),d=0,f=c.curSelectedList.length;d<f;d++)if(a===c.curSelectedList[d]||!h.getNodeCache(b,c.curSelectedList[d].tId))c.curSelectedList.splice(d,1),d--,f--},setCache:function(b,a){v[b.treeId]=a},setRoot:function(b,a){u[b.treeId]=a},setZTreeTools:function(b,a){for(var c=0,d=
-F.length;c<d;c++)F[c].apply(this,arguments)},transformToArrayFormat:function(b,a){if(!a)return[];var c=b.data.key.children,d=[];if(j.isArray(a))for(var f=0,g=a.length;f<g;f++)d.push(a[f]),a[f][c]&&(d=d.concat(h.transformToArrayFormat(b,a[f][c])));else d.push(a),a[c]&&(d=d.concat(h.transformToArrayFormat(b,a[c])));return d},transformTozTreeFormat:function(b,a){var c,d,f=b.data.simpleData.idKey,g=b.data.simpleData.pIdKey,e=b.data.key.children;if(!f||f==""||!a)return[];if(j.isArray(a)){var h=[],i=[];
-for(c=0,d=a.length;c<d;c++)i[a[c][f]]=a[c];for(c=0,d=a.length;c<d;c++)i[a[c][g]]&&a[c][f]!=a[c][g]?(i[a[c][g]][e]||(i[a[c][g]][e]=[]),i[a[c][g]][e].push(a[c])):h.push(a[c]);return h}else return[a]}},m={bindEvent:function(b){for(var a=0,c=w.length;a<c;a++)w[a].apply(this,arguments)},unbindEvent:function(b){for(var a=0,c=x.length;a<c;a++)x[a].apply(this,arguments)},bindTree:function(b){var a={treeId:b.treeId},c=b.treeObj;b.view.txtSelectedEnable||c.bind("selectstart",function(a){a=a.originalEvent.srcElement.nodeName.toLowerCase();
-return a==="input"||a==="textarea"}).css({"-moz-user-select":"-moz-none"});c.bind("click",a,m.proxy);c.bind("dblclick",a,m.proxy);c.bind("mouseover",a,m.proxy);c.bind("mouseout",a,m.proxy);c.bind("mousedown",a,m.proxy);c.bind("mouseup",a,m.proxy);c.bind("contextmenu",a,m.proxy)},unbindTree:function(b){b.treeObj.unbind("click",m.proxy).unbind("dblclick",m.proxy).unbind("mouseover",m.proxy).unbind("mouseout",m.proxy).unbind("mousedown",m.proxy).unbind("mouseup",m.proxy).unbind("contextmenu",m.proxy)},
-doProxy:function(b){for(var a=[],c=0,d=s.length;c<d;c++){var f=s[c].apply(this,arguments);a.push(f);if(f.stop)break}return a},proxy:function(b){var a=h.getSetting(b.data.treeId);if(!j.uCanDo(a,b))return!0;for(var a=m.doProxy(b),c=!0,d=0,f=a.length;d<f;d++){var g=a[d];g.nodeEventCallback&&(c=g.nodeEventCallback.apply(g,[b,g.node])&&c);g.treeEventCallback&&(c=g.treeEventCallback.apply(g,[b,g.node])&&c)}return c}};G=function(b,a){var c=h.getSetting(b.data.treeId);if(a.open){if(j.apply(c.callback.beforeCollapse,
-[c.treeId,a],!0)==!1)return!0}else if(j.apply(c.callback.beforeExpand,[c.treeId,a],!0)==!1)return!0;h.getRoot(c).expandTriggerFlag=!0;i.switchNode(c,a);return!0};H=function(b,a){var c=h.getSetting(b.data.treeId),d=c.view.autoCancelSelected&&(b.ctrlKey||b.metaKey)&&h.isSelectedNode(c,a)?0:c.view.autoCancelSelected&&(b.ctrlKey||b.metaKey)&&c.view.selectedMulti?2:1;if(j.apply(c.callback.beforeClick,[c.treeId,a,d],!0)==!1)return!0;d===0?i.cancelPreSelectedNode(c,a):i.selectNode(c,a,d===2);c.treeObj.trigger(e.event.CLICK,
-[b,c.treeId,a,d]);return!0};I=function(b,a){var c=h.getSetting(b.data.treeId);j.apply(c.callback.beforeMouseDown,[c.treeId,a],!0)&&j.apply(c.callback.onMouseDown,[b,c.treeId,a]);return!0};J=function(b,a){var c=h.getSetting(b.data.treeId);j.apply(c.callback.beforeMouseUp,[c.treeId,a],!0)&&j.apply(c.callback.onMouseUp,[b,c.treeId,a]);return!0};K=function(b,a){var c=h.getSetting(b.data.treeId);j.apply(c.callback.beforeDblClick,[c.treeId,a],!0)&&j.apply(c.callback.onDblClick,[b,c.treeId,a]);return!0};
-L=function(b,a){var c=h.getSetting(b.data.treeId);j.apply(c.callback.beforeRightClick,[c.treeId,a],!0)&&j.apply(c.callback.onRightClick,[b,c.treeId,a]);return typeof c.callback.onRightClick!="function"};var j={apply:function(b,a,c){return typeof b=="function"?b.apply(N,a?a:[]):c},canAsync:function(b,a){var c=b.data.key.children;return b.async.enable&&a&&a.isParent&&!(a.zAsync||a[c]&&a[c].length>0)},clone:function(b){if(b===null)return null;var a=j.isArray(b)?[]:{},c;for(c in b)a[c]=b[c]instanceof
-Date?new Date(b[c].getTime()):typeof b[c]==="object"?arguments.callee(b[c]):b[c];return a},eqs:function(b,a){return b.toLowerCase()===a.toLowerCase()},isArray:function(b){return Object.prototype.toString.apply(b)==="[object Array]"},$:function(b,a,c){a&&typeof a!="string"&&(c=a,a="");return typeof b=="string"?p(b,c?c.treeObj.get(0).ownerDocument:null):p("#"+b.tId+a,c?c.treeObj:null)},getMDom:function(b,a,c){if(!a)return null;for(;a&&a.id!==b.treeId;){for(var d=0,f=c.length;a.tagName&&d<f;d++)if(j.eqs(a.tagName,
-c[d].tagName)&&a.getAttribute(c[d].attrName)!==null)return a;a=a.parentNode}return null},getNodeMainDom:function(b){return p(b).parent("li").get(0)||p(b).parentsUntil("li").parent().get(0)},isChildOrSelf:function(b,a){return p(b).closest("#"+a).length>0},uCanDo:function(){return!0}},i={addNodes:function(b,a,c,d){if(!b.data.keep.leaf||!a||a.isParent)if(j.isArray(c)||(c=[c]),b.data.simpleData.enable&&(c=h.transformTozTreeFormat(b,c)),a){var f=k(a,e.id.SWITCH,b),g=k(a,e.id.ICON,b),l=k(a,e.id.UL,b);if(!a.open)i.replaceSwitchClass(a,
-f,e.folder.CLOSE),i.replaceIcoClass(a,g,e.folder.CLOSE),a.open=!1,l.css({display:"none"});h.addNodesData(b,a,c);i.createNodes(b,a.level+1,c,a);d||i.expandCollapseParentNode(b,a,!0)}else h.addNodesData(b,h.getRoot(b),c),i.createNodes(b,0,c,null)},appendNodes:function(b,a,c,d,f,g){if(!c)return[];for(var e=[],j=b.data.key.children,k=0,m=c.length;k<m;k++){var o=c[k];if(f){var t=(d?d:h.getRoot(b))[j].length==c.length&&k==0;h.initNode(b,a,o,d,t,k==c.length-1,g);h.addNodeCache(b,o)}t=[];o[j]&&o[j].length>
-0&&(t=i.appendNodes(b,a+1,o[j],o,f,g&&o.open));g&&(i.makeDOMNodeMainBefore(e,b,o),i.makeDOMNodeLine(e,b,o),h.getBeforeA(b,o,e),i.makeDOMNodeNameBefore(e,b,o),h.getInnerBeforeA(b,o,e),i.makeDOMNodeIcon(e,b,o),h.getInnerAfterA(b,o,e),i.makeDOMNodeNameAfter(e,b,o),h.getAfterA(b,o,e),o.isParent&&o.open&&i.makeUlHtml(b,o,e,t.join("")),i.makeDOMNodeMainAfter(e,b,o),h.addCreatedNode(b,o))}return e},appendParentULDom:function(b,a){var c=[],d=k(a,b);!d.get(0)&&a.parentTId&&(i.appendParentULDom(b,a.getParentNode()),
-d=k(a,b));var f=k(a,e.id.UL,b);f.get(0)&&f.remove();f=i.appendNodes(b,a.level+1,a[b.data.key.children],a,!1,!0);i.makeUlHtml(b,a,c,f.join(""));d.append(c.join(""))},asyncNode:function(b,a,c,d){var f,g;if(a&&!a.isParent)return j.apply(d),!1;else if(a&&a.isAjaxing)return!1;else if(j.apply(b.callback.beforeAsync,[b.treeId,a],!0)==!1)return j.apply(d),!1;if(a)a.isAjaxing=!0,k(a,e.id.ICON,b).attr({style:"","class":e.className.BUTTON+" "+e.className.ICO_LOADING});var l={};for(f=0,g=b.async.autoParam.length;a&&
-f<g;f++){var q=b.async.autoParam[f].split("="),n=q;q.length>1&&(n=q[1],q=q[0]);l[n]=a[q]}if(j.isArray(b.async.otherParam))for(f=0,g=b.async.otherParam.length;f<g;f+=2)l[b.async.otherParam[f]]=b.async.otherParam[f+1];else for(var m in b.async.otherParam)l[m]=b.async.otherParam[m];var o=h.getRoot(b)._ver;p.ajax({contentType:b.async.contentType,type:b.async.type,url:j.apply(b.async.url,[b.treeId,a],b.async.url),data:l,dataType:b.async.dataType,success:function(f){if(o==h.getRoot(b)._ver){var g=[];try{g=
-!f||f.length==0?[]:typeof f=="string"?eval("("+f+")"):f}catch(l){g=f}if(a)a.isAjaxing=null,a.zAsync=!0;i.setNodeLineIcos(b,a);g&&g!==""?(g=j.apply(b.async.dataFilter,[b.treeId,a,g],g),i.addNodes(b,a,g?j.clone(g):[],!!c)):i.addNodes(b,a,[],!!c);b.treeObj.trigger(e.event.ASYNC_SUCCESS,[b.treeId,a,f]);j.apply(d)}},error:function(c,d,f){if(o==h.getRoot(b)._ver){if(a)a.isAjaxing=null;i.setNodeLineIcos(b,a);b.treeObj.trigger(e.event.ASYNC_ERROR,[b.treeId,a,c,d,f])}}});return!0},cancelPreSelectedNode:function(b,
-a){for(var c=h.getRoot(b).curSelectedList,d=c.length-1;d>=0;d--)if(!a||a===c[d])if(k(c[d],e.id.A,b).removeClass(e.node.CURSELECTED),a){h.removeSelectedNode(b,a);break}if(!a)h.getRoot(b).curSelectedList=[]},createNodeCallback:function(b){if(b.callback.onNodeCreated||b.view.addDiyDom)for(var a=h.getRoot(b);a.createdNodes.length>0;){var c=a.createdNodes.shift();j.apply(b.view.addDiyDom,[b.treeId,c]);b.callback.onNodeCreated&&b.treeObj.trigger(e.event.NODECREATED,[b.treeId,c])}},createNodes:function(b,
-a,c,d){if(c&&c.length!=0){var f=h.getRoot(b),g=b.data.key.children,g=!d||d.open||!!k(d[g][0],b).get(0);f.createdNodes=[];a=i.appendNodes(b,a,c,d,!0,g);d?(d=k(d,e.id.UL,b),d.get(0)&&d.append(a.join(""))):b.treeObj.append(a.join(""));i.createNodeCallback(b)}},destroy:function(b){b&&(h.initCache(b),h.initRoot(b),m.unbindTree(b),m.unbindEvent(b),b.treeObj.empty(),delete r[b.treeId])},expandCollapseNode:function(b,a,c,d,f){var g=h.getRoot(b),l=b.data.key.children;if(a){if(g.expandTriggerFlag){var q=f,
-f=function(){q&&q();a.open?b.treeObj.trigger(e.event.EXPAND,[b.treeId,a]):b.treeObj.trigger(e.event.COLLAPSE,[b.treeId,a])};g.expandTriggerFlag=!1}if(!a.open&&a.isParent&&(!k(a,e.id.UL,b).get(0)||a[l]&&a[l].length>0&&!k(a[l][0],b).get(0)))i.appendParentULDom(b,a),i.createNodeCallback(b);if(a.open==c)j.apply(f,[]);else{var c=k(a,e.id.UL,b),g=k(a,e.id.SWITCH,b),n=k(a,e.id.ICON,b);a.isParent?(a.open=!a.open,a.iconOpen&&a.iconClose&&n.attr("style",i.makeNodeIcoStyle(b,a)),a.open?(i.replaceSwitchClass(a,
-g,e.folder.OPEN),i.replaceIcoClass(a,n,e.folder.OPEN),d==!1||b.view.expandSpeed==""?(c.show(),j.apply(f,[])):a[l]&&a[l].length>0?c.slideDown(b.view.expandSpeed,f):(c.show(),j.apply(f,[]))):(i.replaceSwitchClass(a,g,e.folder.CLOSE),i.replaceIcoClass(a,n,e.folder.CLOSE),d==!1||b.view.expandSpeed==""||!(a[l]&&a[l].length>0)?(c.hide(),j.apply(f,[])):c.slideUp(b.view.expandSpeed,f))):j.apply(f,[])}}else j.apply(f,[])},expandCollapseParentNode:function(b,a,c,d,f){a&&(a.parentTId?(i.expandCollapseNode(b,
-a,c,d),a.parentTId&&i.expandCollapseParentNode(b,a.getParentNode(),c,d,f)):i.expandCollapseNode(b,a,c,d,f))},expandCollapseSonNode:function(b,a,c,d,f){var g=h.getRoot(b),e=b.data.key.children,g=a?a[e]:g[e],e=a?!1:d,j=h.getRoot(b).expandTriggerFlag;h.getRoot(b).expandTriggerFlag=!1;if(g)for(var k=0,m=g.length;k<m;k++)g[k]&&i.expandCollapseSonNode(b,g[k],c,e);h.getRoot(b).expandTriggerFlag=j;i.expandCollapseNode(b,a,c,d,f)},makeDOMNodeIcon:function(b,a,c){var d=h.getNodeName(a,c),d=a.view.nameIsHTML?
-d:d.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");b.push("<span id='",c.tId,e.id.ICON,"' title='' treeNode",e.id.ICON," class='",i.makeNodeIcoClass(a,c),"' style='",i.makeNodeIcoStyle(a,c),"'></span><span id='",c.tId,e.id.SPAN,"'>",d,"</span>")},makeDOMNodeLine:function(b,a,c){b.push("<span id='",c.tId,e.id.SWITCH,"' title='' class='",i.makeNodeLineClass(a,c),"' treeNode",e.id.SWITCH,"></span>")},makeDOMNodeMainAfter:function(b){b.push("</li>")},makeDOMNodeMainBefore:function(b,
-a,c){b.push("<li id='",c.tId,"' class='",e.className.LEVEL,c.level,"' tabindex='0' hidefocus='true' treenode>")},makeDOMNodeNameAfter:function(b){b.push("</a>")},makeDOMNodeNameBefore:function(b,a,c){var d=h.getNodeTitle(a,c),f=i.makeNodeUrl(a,c),g=i.makeNodeFontCss(a,c),l=[],k;for(k in g)l.push(k,":",g[k],";");b.push("<a id='",c.tId,e.id.A,"' class='",e.className.LEVEL,c.level,"' treeNode",e.id.A,' onclick="',c.click||"",'" ',f!=null&&f.length>0?"href='"+f+"'":""," target='",i.makeNodeTarget(c),
-"' style='",l.join(""),"'");j.apply(a.view.showTitle,[a.treeId,c],a.view.showTitle)&&d&&b.push("title='",d.replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"'");b.push(">")},makeNodeFontCss:function(b,a){var c=j.apply(b.view.fontCss,[b.treeId,a],b.view.fontCss);return c&&typeof c!="function"?c:{}},makeNodeIcoClass:function(b,a){var c=["ico"];a.isAjaxing||(c[0]=(a.iconSkin?a.iconSkin+"_":"")+c[0],a.isParent?c.push(a.open?e.folder.OPEN:e.folder.CLOSE):c.push(e.folder.DOCU));return e.className.BUTTON+
-" "+c.join("_")},makeNodeIcoStyle:function(b,a){var c=[];if(!a.isAjaxing){var d=a.isParent&&a.iconOpen&&a.iconClose?a.open?a.iconOpen:a.iconClose:a.icon;d&&c.push("background:url(",d,") 0 0 no-repeat;");(b.view.showIcon==!1||!j.apply(b.view.showIcon,[b.treeId,a],!0))&&c.push("width:0px;height:0px;")}return c.join("")},makeNodeLineClass:function(b,a){var c=[];b.view.showLine?a.level==0&&a.isFirstNode&&a.isLastNode?c.push(e.line.ROOT):a.level==0&&a.isFirstNode?c.push(e.line.ROOTS):a.isLastNode?c.push(e.line.BOTTOM):
-c.push(e.line.CENTER):c.push(e.line.NOLINE);a.isParent?c.push(a.open?e.folder.OPEN:e.folder.CLOSE):c.push(e.folder.DOCU);return i.makeNodeLineClassEx(a)+c.join("_")},makeNodeLineClassEx:function(b){return e.className.BUTTON+" "+e.className.LEVEL+b.level+" "+e.className.SWITCH+" "},makeNodeTarget:function(b){return b.target||"_blank"},makeNodeUrl:function(b,a){var c=b.data.key.url;return a[c]?a[c]:null},makeUlHtml:function(b,a,c,d){c.push("<ul id='",a.tId,e.id.UL,"' class='",e.className.LEVEL,a.level,
-" ",i.makeUlLineClass(b,a),"' style='display:",a.open?"block":"none","'>");c.push(d);c.push("</ul>")},makeUlLineClass:function(b,a){return b.view.showLine&&!a.isLastNode?e.line.LINE:""},removeChildNodes:function(b,a){if(a){var c=b.data.key.children,d=a[c];if(d){for(var f=0,g=d.length;f<g;f++)h.removeNodeCache(b,d[f]);h.removeSelectedNode(b);delete a[c];b.data.keep.parent?k(a,e.id.UL,b).empty():(a.isParent=!1,a.open=!1,c=k(a,e.id.SWITCH,b),d=k(a,e.id.ICON,b),i.replaceSwitchClass(a,c,e.folder.DOCU),
-i.replaceIcoClass(a,d,e.folder.DOCU),k(a,e.id.UL,b).remove())}}},setFirstNode:function(b,a){var c=b.data.key.children;if(a[c].length>0)a[c][0].isFirstNode=!0},setLastNode:function(b,a){var c=b.data.key.children,d=a[c].length;if(d>0)a[c][d-1].isLastNode=!0},removeNode:function(b,a){var c=h.getRoot(b),d=b.data.key.children,f=a.parentTId?a.getParentNode():c;a.isFirstNode=!1;a.isLastNode=!1;a.getPreNode=function(){return null};a.getNextNode=function(){return null};if(h.getNodeCache(b,a.tId)){k(a,b).remove();
-h.removeNodeCache(b,a);h.removeSelectedNode(b,a);for(var g=0,l=f[d].length;g<l;g++)if(f[d][g].tId==a.tId){f[d].splice(g,1);break}i.setFirstNode(b,f);i.setLastNode(b,f);var j,g=f[d].length;if(!b.data.keep.parent&&g==0)f.isParent=!1,f.open=!1,g=k(f,e.id.UL,b),l=k(f,e.id.SWITCH,b),j=k(f,e.id.ICON,b),i.replaceSwitchClass(f,l,e.folder.DOCU),i.replaceIcoClass(f,j,e.folder.DOCU),g.css("display","none");else if(b.view.showLine&&g>0){var n=f[d][g-1],g=k(n,e.id.UL,b),l=k(n,e.id.SWITCH,b);j=k(n,e.id.ICON,b);
-f==c?f[d].length==1?i.replaceSwitchClass(n,l,e.line.ROOT):(c=k(f[d][0],e.id.SWITCH,b),i.replaceSwitchClass(f[d][0],c,e.line.ROOTS),i.replaceSwitchClass(n,l,e.line.BOTTOM)):i.replaceSwitchClass(n,l,e.line.BOTTOM);g.removeClass(e.line.LINE)}}},replaceIcoClass:function(b,a,c){if(a&&!b.isAjaxing&&(b=a.attr("class"),b!=void 0)){b=b.split("_");switch(c){case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:b[b.length-1]=c}a.attr("class",b.join("_"))}},replaceSwitchClass:function(b,a,c){if(a){var d=
-a.attr("class");if(d!=void 0){d=d.split("_");switch(c){case e.line.ROOT:case e.line.ROOTS:case e.line.CENTER:case e.line.BOTTOM:case e.line.NOLINE:d[0]=i.makeNodeLineClassEx(b)+c;break;case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:d[1]=c}a.attr("class",d.join("_"));c!==e.folder.DOCU?a.removeAttr("disabled"):a.attr("disabled","disabled")}}},selectNode:function(b,a,c){c||i.cancelPreSelectedNode(b);k(a,e.id.A,b).addClass(e.node.CURSELECTED);h.addSelectedNode(b,a)},setNodeFontCss:function(b,
-a){var c=k(a,e.id.A,b),d=i.makeNodeFontCss(b,a);d&&c.css(d)},setNodeLineIcos:function(b,a){if(a){var c=k(a,e.id.SWITCH,b),d=k(a,e.id.UL,b),f=k(a,e.id.ICON,b),g=i.makeUlLineClass(b,a);g.length==0?d.removeClass(e.line.LINE):d.addClass(g);c.attr("class",i.makeNodeLineClass(b,a));a.isParent?c.removeAttr("disabled"):c.attr("disabled","disabled");f.removeAttr("style");f.attr("style",i.makeNodeIcoStyle(b,a));f.attr("class",i.makeNodeIcoClass(b,a))}},setNodeName:function(b,a){var c=h.getNodeTitle(b,a),d=
-k(a,e.id.SPAN,b);d.empty();b.view.nameIsHTML?d.html(h.getNodeName(b,a)):d.text(h.getNodeName(b,a));j.apply(b.view.showTitle,[b.treeId,a],b.view.showTitle)&&k(a,e.id.A,b).attr("title",!c?"":c)},setNodeTarget:function(b,a){k(a,e.id.A,b).attr("target",i.makeNodeTarget(a))},setNodeUrl:function(b,a){var c=k(a,e.id.A,b),d=i.makeNodeUrl(b,a);d==null||d.length==0?c.removeAttr("href"):c.attr("href",d)},switchNode:function(b,a){a.open||!j.canAsync(b,a)?i.expandCollapseNode(b,a,!a.open):b.async.enable?i.asyncNode(b,
-a)||i.expandCollapseNode(b,a,!a.open):a&&i.expandCollapseNode(b,a,!a.open)}};p.fn.zTree={consts:{className:{BUTTON:"button",LEVEL:"level",ICO_LOADING:"ico_loading",SWITCH:"switch"},event:{NODECREATED:"ztree_nodeCreated",CLICK:"ztree_click",EXPAND:"ztree_expand",COLLAPSE:"ztree_collapse",ASYNC_SUCCESS:"ztree_async_success",ASYNC_ERROR:"ztree_async_error",REMOVE:"ztree_remove"},id:{A:"_a",ICON:"_ico",SPAN:"_span",SWITCH:"_switch",UL:"_ul"},line:{ROOT:"root",ROOTS:"roots",CENTER:"center",BOTTOM:"bottom",
-NOLINE:"noline",LINE:"line"},folder:{OPEN:"open",CLOSE:"close",DOCU:"docu"},node:{CURSELECTED:"curSelectedNode"}},_z:{tools:j,view:i,event:m,data:h},getZTreeObj:function(b){return(b=h.getZTreeTools(b))?b:null},destroy:function(b){if(b&&b.length>0)i.destroy(h.getSetting(b));else for(var a in r)i.destroy(r[a])},init:function(b,a,c){var d=j.clone(M);p.extend(!0,d,a);d.treeId=b.attr("id");d.treeObj=b;d.treeObj.empty();r[d.treeId]=d;if(typeof document.body.style.maxHeight==="undefined")d.view.expandSpeed=
-"";h.initRoot(d);b=h.getRoot(d);a=d.data.key.children;c=c?j.clone(j.isArray(c)?c:[c]):[];b[a]=d.data.simpleData.enable?h.transformTozTreeFormat(d,c):c;h.initCache(d);m.unbindTree(d);m.bindTree(d);m.unbindEvent(d);m.bindEvent(d);c={setting:d,addNodes:function(a,b,c){function e(){i.addNodes(d,a,h,c==!0)}if(!b)return null;a||(a=null);if(a&&!a.isParent&&d.data.keep.leaf)return null;var h=j.clone(j.isArray(b)?b:[b]);j.canAsync(d,a)?i.asyncNode(d,a,c,e):e();return h},cancelSelectedNode:function(a){i.cancelPreSelectedNode(d,
-a)},destroy:function(){i.destroy(d)},expandAll:function(a){a=!!a;i.expandCollapseSonNode(d,null,a,!0);return a},expandNode:function(a,b,c,e,n){if(!a||!a.isParent)return null;b!==!0&&b!==!1&&(b=!a.open);if((n=!!n)&&b&&j.apply(d.callback.beforeExpand,[d.treeId,a],!0)==!1)return null;else if(n&&!b&&j.apply(d.callback.beforeCollapse,[d.treeId,a],!0)==!1)return null;b&&a.parentTId&&i.expandCollapseParentNode(d,a.getParentNode(),b,!1);if(b===a.open&&!c)return null;h.getRoot(d).expandTriggerFlag=n;if(!j.canAsync(d,
-a)&&c)i.expandCollapseSonNode(d,a,b,!0,function(){if(e!==!1)try{k(a,d).focus().blur()}catch(b){}});else if(a.open=!b,i.switchNode(this.setting,a),e!==!1)try{k(a,d).focus().blur()}catch(m){}return b},getNodes:function(){return h.getNodes(d)},getNodeByParam:function(a,b,c){return!a?null:h.getNodeByParam(d,c?c[d.data.key.children]:h.getNodes(d),a,b)},getNodeByTId:function(a){return h.getNodeCache(d,a)},getNodesByParam:function(a,b,c){return!a?null:h.getNodesByParam(d,c?c[d.data.key.children]:h.getNodes(d),
-a,b)},getNodesByParamFuzzy:function(a,b,c){return!a?null:h.getNodesByParamFuzzy(d,c?c[d.data.key.children]:h.getNodes(d),a,b)},getNodesByFilter:function(a,b,c,e){b=!!b;return!a||typeof a!="function"?b?null:[]:h.getNodesByFilter(d,c?c[d.data.key.children]:h.getNodes(d),a,b,e)},getNodeIndex:function(a){if(!a)return null;for(var b=d.data.key.children,c=a.parentTId?a.getParentNode():h.getRoot(d),e=0,i=c[b].length;e<i;e++)if(c[b][e]==a)return e;return-1},getSelectedNodes:function(){for(var a=[],b=h.getRoot(d).curSelectedList,
-c=0,e=b.length;c<e;c++)a.push(b[c]);return a},isSelectedNode:function(a){return h.isSelectedNode(d,a)},reAsyncChildNodes:function(a,b,c){if(this.setting.async.enable){var j=!a;j&&(a=h.getRoot(d));if(b=="refresh"){for(var b=this.setting.data.key.children,m=0,p=a[b]?a[b].length:0;m<p;m++)h.removeNodeCache(d,a[b][m]);h.removeSelectedNode(d);a[b]=[];j?this.setting.treeObj.empty():k(a,e.id.UL,d).empty()}i.asyncNode(this.setting,j?null:a,!!c)}},refresh:function(){this.setting.treeObj.empty();var a=h.getRoot(d),
-b=a[d.data.key.children];h.initRoot(d);a[d.data.key.children]=b;h.initCache(d);i.createNodes(d,0,a[d.data.key.children])},removeChildNodes:function(a){if(!a)return null;var b=a[d.data.key.children];i.removeChildNodes(d,a);return b?b:null},removeNode:function(a,b){a&&(b=!!b,b&&j.apply(d.callback.beforeRemove,[d.treeId,a],!0)==!1||(i.removeNode(d,a),b&&this.setting.treeObj.trigger(e.event.REMOVE,[d.treeId,a])))},selectNode:function(a,b){if(a&&j.uCanDo(d)){b=d.view.selectedMulti&&b;if(a.parentTId)i.expandCollapseParentNode(d,
-a.getParentNode(),!0,!1,function(){try{k(a,d).focus().blur()}catch(b){}});else try{k(a,d).focus().blur()}catch(c){}i.selectNode(d,a,b)}},transformTozTreeNodes:function(a){return h.transformTozTreeFormat(d,a)},transformToArray:function(a){return h.transformToArrayFormat(d,a)},updateNode:function(a){a&&k(a,d).get(0)&&j.uCanDo(d)&&(i.setNodeName(d,a),i.setNodeTarget(d,a),i.setNodeUrl(d,a),i.setNodeLineIcos(d,a),i.setNodeFontCss(d,a))}};b.treeTools=c;h.setZTreeTools(d,c);b[a]&&b[a].length>0?i.createNodes(d,
-0,b[a]):d.async.enable&&d.async.url&&d.async.url!==""&&i.asyncNode(d);return c}};var N=p.fn.zTree,k=j.$,e=N.consts})(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.excheck.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.excheck.js
deleted file mode 100644
index 6887c664..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.excheck.js
+++ /dev/null
@@ -1,629 +0,0 @@
-/*
- * JQuery zTree excheck v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function($){
- //default consts of excheck
- var _consts = {
- event: {
- CHECK: "ztree_check"
- },
- id: {
- CHECK: "_check"
- },
- checkbox: {
- STYLE: "checkbox",
- DEFAULT: "chk",
- DISABLED: "disable",
- FALSE: "false",
- TRUE: "true",
- FULL: "full",
- PART: "part",
- FOCUS: "focus"
- },
- radio: {
- STYLE: "radio",
- TYPE_ALL: "all",
- TYPE_LEVEL: "level"
- }
- },
- //default setting of excheck
- _setting = {
- check: {
- enable: false,
- autoCheckTrigger: false,
- chkStyle: _consts.checkbox.STYLE,
- nocheckInherit: false,
- chkDisabledInherit: false,
- radioType: _consts.radio.TYPE_LEVEL,
- chkboxType: {
- "Y": "ps",
- "N": "ps"
- }
- },
- data: {
- key: {
- checked: "checked"
- }
- },
- callback: {
- beforeCheck:null,
- onCheck:null
- }
- },
- //default root of excheck
- _initRoot = function (setting) {
- var r = data.getRoot(setting);
- r.radioCheckedList = [];
- },
- //default cache of excheck
- _initCache = function(treeId) {},
- //default bind event of excheck
- _bindEvent = function(setting) {
- var o = setting.treeObj,
- c = consts.event;
- o.bind(c.CHECK, function (event, srcEvent, treeId, node) {
- event.srcEvent = srcEvent;
- tools.apply(setting.callback.onCheck, [event, treeId, node]);
- });
- },
- _unbindEvent = function(setting) {
- var o = setting.treeObj,
- c = consts.event;
- o.unbind(c.CHECK);
- },
- //default event proxy of excheck
- _eventProxy = function(e) {
- var target = e.target,
- setting = data.getSetting(e.data.treeId),
- tId = "", node = null,
- nodeEventType = "", treeEventType = "",
- nodeEventCallback = null, treeEventCallback = null;
-
- if (tools.eqs(e.type, "mouseover")) {
- if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.CHECK) !== null) {
- tId = tools.getNodeMainDom(target).id;
- nodeEventType = "mouseoverCheck";
- }
- } else if (tools.eqs(e.type, "mouseout")) {
- if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.CHECK) !== null) {
- tId = tools.getNodeMainDom(target).id;
- nodeEventType = "mouseoutCheck";
- }
- } else if (tools.eqs(e.type, "click")) {
- if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.CHECK) !== null) {
- tId = tools.getNodeMainDom(target).id;
- nodeEventType = "checkNode";
- }
- }
- if (tId.length>0) {
- node = data.getNodeCache(setting, tId);
- switch (nodeEventType) {
- case "checkNode" :
- nodeEventCallback = _handler.onCheckNode;
- break;
- case "mouseoverCheck" :
- nodeEventCallback = _handler.onMouseoverCheck;
- break;
- case "mouseoutCheck" :
- nodeEventCallback = _handler.onMouseoutCheck;
- break;
- }
- }
- var proxyResult = {
- stop: nodeEventType === "checkNode",
- node: node,
- nodeEventType: nodeEventType,
- nodeEventCallback: nodeEventCallback,
- treeEventType: treeEventType,
- treeEventCallback: treeEventCallback
- };
- return proxyResult
- },
- //default init node of excheck
- _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) {
- if (!n) return;
- var checkedKey = setting.data.key.checked;
- if (typeof n[checkedKey] == "string") n[checkedKey] = tools.eqs(n[checkedKey], "true");
- n[checkedKey] = !!n[checkedKey];
- n.checkedOld = n[checkedKey];
- if (typeof n.nocheck == "string") n.nocheck = tools.eqs(n.nocheck, "true");
- n.nocheck = !!n.nocheck || (setting.check.nocheckInherit && parentNode && !!parentNode.nocheck);
- if (typeof n.chkDisabled == "string") n.chkDisabled = tools.eqs(n.chkDisabled, "true");
- n.chkDisabled = !!n.chkDisabled || (setting.check.chkDisabledInherit && parentNode && !!parentNode.chkDisabled);
- if (typeof n.halfCheck == "string") n.halfCheck = tools.eqs(n.halfCheck, "true");
- n.halfCheck = !!n.halfCheck;
- n.check_Child_State = -1;
- n.check_Focus = false;
- n.getCheckStatus = function() {return data.getCheckStatus(setting, n);};
-
- if (setting.check.chkStyle == consts.radio.STYLE && setting.check.radioType == consts.radio.TYPE_ALL && n[checkedKey] ) {
- var r = data.getRoot(setting);
- r.radioCheckedList.push(n);
- }
- },
- //add dom for check
- _beforeA = function(setting, node, html) {
- var checkedKey = setting.data.key.checked;
- if (setting.check.enable) {
- data.makeChkFlag(setting, node);
- html.push("<span ID='", node.tId, consts.id.CHECK, "' class='", view.makeChkClass(setting, node), "' treeNode", consts.id.CHECK, (node.nocheck === true?" style='display:none;'":""),"></span>");
- }
- },
- //update zTreeObj, add method of check
- _zTreeTools = function(setting, zTreeTools) {
- zTreeTools.checkNode = function(node, checked, checkTypeFlag, callbackFlag) {
- var checkedKey = this.setting.data.key.checked;
- if (node.chkDisabled === true) return;
- if (checked !== true && checked !== false) {
- checked = !node[checkedKey];
- }
- callbackFlag = !!callbackFlag;
-
- if (node[checkedKey] === checked && !checkTypeFlag) {
- return;
- } else if (callbackFlag && tools.apply(this.setting.callback.beforeCheck, [this.setting.treeId, node], true) == false) {
- return;
- }
- if (tools.uCanDo(this.setting) && this.setting.check.enable && node.nocheck !== true) {
- node[checkedKey] = checked;
- var checkObj = $$(node, consts.id.CHECK, this.setting);
- if (checkTypeFlag || this.setting.check.chkStyle === consts.radio.STYLE) view.checkNodeRelation(this.setting, node);
- view.setChkClass(this.setting, checkObj, node);
- view.repairParentChkClassWithSelf(this.setting, node);
- if (callbackFlag) {
- this.setting.treeObj.trigger(consts.event.CHECK, [null, this.setting.treeId, node]);
- }
- }
- }
-
- zTreeTools.checkAllNodes = function(checked) {
- view.repairAllChk(this.setting, !!checked);
- }
-
- zTreeTools.getCheckedNodes = function(checked) {
- var childKey = this.setting.data.key.children;
- checked = (checked !== false);
- return data.getTreeCheckedNodes(this.setting, data.getRoot(this.setting)[childKey], checked);
- }
-
- zTreeTools.getChangeCheckedNodes = function() {
- var childKey = this.setting.data.key.children;
- return data.getTreeChangeCheckedNodes(this.setting, data.getRoot(this.setting)[childKey]);
- }
-
- zTreeTools.setChkDisabled = function(node, disabled, inheritParent, inheritChildren) {
- disabled = !!disabled;
- inheritParent = !!inheritParent;
- inheritChildren = !!inheritChildren;
- view.repairSonChkDisabled(this.setting, node, disabled, inheritChildren);
- view.repairParentChkDisabled(this.setting, node.getParentNode(), disabled, inheritParent);
- }
-
- var _updateNode = zTreeTools.updateNode;
- zTreeTools.updateNode = function(node, checkTypeFlag) {
- if (_updateNode) _updateNode.apply(zTreeTools, arguments);
- if (!node || !this.setting.check.enable) return;
- var nObj = $$(node, this.setting);
- if (nObj.get(0) && tools.uCanDo(this.setting)) {
- var checkObj = $$(node, consts.id.CHECK, this.setting);
- if (checkTypeFlag == true || this.setting.check.chkStyle === consts.radio.STYLE) view.checkNodeRelation(this.setting, node);
- view.setChkClass(this.setting, checkObj, node);
- view.repairParentChkClassWithSelf(this.setting, node);
- }
- }
- },
- //method of operate data
- _data = {
- getRadioCheckedList: function(setting) {
- var checkedList = data.getRoot(setting).radioCheckedList;
- for (var i=0, j=checkedList.length; i<j; i++) {
- if(!data.getNodeCache(setting, checkedList[i].tId)) {
- checkedList.splice(i, 1);
- i--; j--;
- }
- }
- return checkedList;
- },
- getCheckStatus: function(setting, node) {
- if (!setting.check.enable || node.nocheck || node.chkDisabled) return null;
- var checkedKey = setting.data.key.checked,
- r = {
- checked: node[checkedKey],
- half: node.halfCheck ? node.halfCheck : (setting.check.chkStyle == consts.radio.STYLE ? (node.check_Child_State === 2) : (node[checkedKey] ? (node.check_Child_State > -1 && node.check_Child_State < 2) : (node.check_Child_State > 0)))
- };
- return r;
- },
- getTreeCheckedNodes: function(setting, nodes, checked, results) {
- if (!nodes) return [];
- var childKey = setting.data.key.children,
- checkedKey = setting.data.key.checked,
- onlyOne = (checked && setting.check.chkStyle == consts.radio.STYLE && setting.check.radioType == consts.radio.TYPE_ALL);
- results = !results ? [] : results;
- for (var i = 0, l = nodes.length; i < l; i++) {
- if (nodes[i].nocheck !== true && nodes[i].chkDisabled !== true && nodes[i][checkedKey] == checked) {
- results.push(nodes[i]);
- if(onlyOne) {
- break;
- }
- }
- data.getTreeCheckedNodes(setting, nodes[i][childKey], checked, results);
- if(onlyOne && results.length > 0) {
- break;
- }
- }
- return results;
- },
- getTreeChangeCheckedNodes: function(setting, nodes, results) {
- if (!nodes) return [];
- var childKey = setting.data.key.children,
- checkedKey = setting.data.key.checked;
- results = !results ? [] : results;
- for (var i = 0, l = nodes.length; i < l; i++) {
- if (nodes[i].nocheck !== true && nodes[i].chkDisabled !== true && nodes[i][checkedKey] != nodes[i].checkedOld) {
- results.push(nodes[i]);
- }
- data.getTreeChangeCheckedNodes(setting, nodes[i][childKey], results);
- }
- return results;
- },
- makeChkFlag: function(setting, node) {
- if (!node) return;
- var childKey = setting.data.key.children,
- checkedKey = setting.data.key.checked,
- chkFlag = -1;
- if (node[childKey]) {
- for (var i = 0, l = node[childKey].length; i < l; i++) {
- var cNode = node[childKey][i];
- var tmp = -1;
- if (setting.check.chkStyle == consts.radio.STYLE) {
- if (cNode.nocheck === true || cNode.chkDisabled === true) {
- tmp = cNode.check_Child_State;
- } else if (cNode.halfCheck === true) {
- tmp = 2;
- } else if (cNode[checkedKey]) {
- tmp = 2;
- } else {
- tmp = cNode.check_Child_State > 0 ? 2:0;
- }
- if (tmp == 2) {
- chkFlag = 2; break;
- } else if (tmp == 0){
- chkFlag = 0;
- }
- } else if (setting.check.chkStyle == consts.checkbox.STYLE) {
- if (cNode.nocheck === true || cNode.chkDisabled === true) {
- tmp = cNode.check_Child_State;
- } else if (cNode.halfCheck === true) {
- tmp = 1;
- } else if (cNode[checkedKey] ) {
- tmp = (cNode.check_Child_State === -1 || cNode.check_Child_State === 2) ? 2 : 1;
- } else {
- tmp = (cNode.check_Child_State > 0) ? 1 : 0;
- }
- if (tmp === 1) {
- chkFlag = 1; break;
- } else if (tmp === 2 && chkFlag > -1 && i > 0 && tmp !== chkFlag) {
- chkFlag = 1; break;
- } else if (chkFlag === 2 && tmp > -1 && tmp < 2) {
- chkFlag = 1; break;
- } else if (tmp > -1) {
- chkFlag = tmp;
- }
- }
- }
- }
- node.check_Child_State = chkFlag;
- }
- },
- //method of event proxy
- _event = {
-
- },
- //method of event handler
- _handler = {
- onCheckNode: function (event, node) {
- if (node.chkDisabled === true) return false;
- var setting = data.getSetting(event.data.treeId),
- checkedKey = setting.data.key.checked;
- if (tools.apply(setting.callback.beforeCheck, [setting.treeId, node], true) == false) return true;
- node[checkedKey] = !node[checkedKey];
- view.checkNodeRelation(setting, node);
- var checkObj = $$(node, consts.id.CHECK, setting);
- view.setChkClass(setting, checkObj, node);
- view.repairParentChkClassWithSelf(setting, node);
- setting.treeObj.trigger(consts.event.CHECK, [event, setting.treeId, node]);
- return true;
- },
- onMouseoverCheck: function(event, node) {
- if (node.chkDisabled === true) return false;
- var setting = data.getSetting(event.data.treeId),
- checkObj = $$(node, consts.id.CHECK, setting);
- node.check_Focus = true;
- view.setChkClass(setting, checkObj, node);
- return true;
- },
- onMouseoutCheck: function(event, node) {
- if (node.chkDisabled === true) return false;
- var setting = data.getSetting(event.data.treeId),
- checkObj = $$(node, consts.id.CHECK, setting);
- node.check_Focus = false;
- view.setChkClass(setting, checkObj, node);
- return true;
- }
- },
- //method of tools for zTree
- _tools = {
-
- },
- //method of operate ztree dom
- _view = {
- checkNodeRelation: function(setting, node) {
- var pNode, i, l,
- childKey = setting.data.key.children,
- checkedKey = setting.data.key.checked,
- r = consts.radio;
- if (setting.check.chkStyle == r.STYLE) {
- var checkedList = data.getRadioCheckedList(setting);
- if (node[checkedKey]) {
- if (setting.check.radioType == r.TYPE_ALL) {
- for (i = checkedList.length-1; i >= 0; i--) {
- pNode = checkedList[i];
- if (pNode[checkedKey] && pNode != node) {
- pNode[checkedKey] = false;
- checkedList.splice(i, 1);
-
- view.setChkClass(setting, $$(pNode, consts.id.CHECK, setting), pNode);
- if (pNode.parentTId != node.parentTId) {
- view.repairParentChkClassWithSelf(setting, pNode);
- }
- }
- }
- checkedList.push(node);
- } else {
- var parentNode = (node.parentTId) ? node.getParentNode() : data.getRoot(setting);
- for (i = 0, l = parentNode[childKey].length; i < l; i++) {
- pNode = parentNode[childKey][i];
- if (pNode[checkedKey] && pNode != node) {
- pNode[checkedKey] = false;
- view.setChkClass(setting, $$(pNode, consts.id.CHECK, setting), pNode);
- }
- }
- }
- } else if (setting.check.radioType == r.TYPE_ALL) {
- for (i = 0, l = checkedList.length; i < l; i++) {
- if (node == checkedList[i]) {
- checkedList.splice(i, 1);
- break;
- }
- }
- }
-
- } else {
- if (node[checkedKey] && (!node[childKey] || node[childKey].length==0 || setting.check.chkboxType.Y.indexOf("s") > -1)) {
- view.setSonNodeCheckBox(setting, node, true);
- }
- if (!node[checkedKey] && (!node[childKey] || node[childKey].length==0 || setting.check.chkboxType.N.indexOf("s") > -1)) {
- view.setSonNodeCheckBox(setting, node, false);
- }
- if (node[checkedKey] && setting.check.chkboxType.Y.indexOf("p") > -1) {
- view.setParentNodeCheckBox(setting, node, true);
- }
- if (!node[checkedKey] && setting.check.chkboxType.N.indexOf("p") > -1) {
- view.setParentNodeCheckBox(setting, node, false);
- }
- }
- },
- makeChkClass: function(setting, node) {
- var checkedKey = setting.data.key.checked,
- c = consts.checkbox, r = consts.radio,
- fullStyle = "";
- if (node.chkDisabled === true) {
- fullStyle = c.DISABLED;
- } else if (node.halfCheck) {
- fullStyle = c.PART;
- } else if (setting.check.chkStyle == r.STYLE) {
- fullStyle = (node.check_Child_State < 1)? c.FULL:c.PART;
- } else {
- fullStyle = node[checkedKey] ? ((node.check_Child_State === 2 || node.check_Child_State === -1) ? c.FULL:c.PART) : ((node.check_Child_State < 1)? c.FULL:c.PART);
- }
- var chkName = setting.check.chkStyle + "_" + (node[checkedKey] ? c.TRUE : c.FALSE) + "_" + fullStyle;
- chkName = (node.check_Focus && node.chkDisabled !== true) ? chkName + "_" + c.FOCUS : chkName;
- return consts.className.BUTTON + " " + c.DEFAULT + " " + chkName;
- },
- repairAllChk: function(setting, checked) {
- if (setting.check.enable && setting.check.chkStyle === consts.checkbox.STYLE) {
- var checkedKey = setting.data.key.checked,
- childKey = setting.data.key.children,
- root = data.getRoot(setting);
- for (var i = 0, l = root[childKey].length; i<l ; i++) {
- var node = root[childKey][i];
- if (node.nocheck !== true && node.chkDisabled !== true) {
- node[checkedKey] = checked;
- }
- view.setSonNodeCheckBox(setting, node, checked);
- }
- }
- },
- repairChkClass: function(setting, node) {
- if (!node) return;
- data.makeChkFlag(setting, node);
- if (node.nocheck !== true) {
- var checkObj = $$(node, consts.id.CHECK, setting);
- view.setChkClass(setting, checkObj, node);
- }
- },
- repairParentChkClass: function(setting, node) {
- if (!node || !node.parentTId) return;
- var pNode = node.getParentNode();
- view.repairChkClass(setting, pNode);
- view.repairParentChkClass(setting, pNode);
- },
- repairParentChkClassWithSelf: function(setting, node) {
- if (!node) return;
- var childKey = setting.data.key.children;
- if (node[childKey] && node[childKey].length > 0) {
- view.repairParentChkClass(setting, node[childKey][0]);
- } else {
- view.repairParentChkClass(setting, node);
- }
- },
- repairSonChkDisabled: function(setting, node, chkDisabled, inherit) {
- if (!node) return;
- var childKey = setting.data.key.children;
- if (node.chkDisabled != chkDisabled) {
- node.chkDisabled = chkDisabled;
- }
- view.repairChkClass(setting, node);
- if (node[childKey] && inherit) {
- for (var i = 0, l = node[childKey].length; i < l; i++) {
- var sNode = node[childKey][i];
- view.repairSonChkDisabled(setting, sNode, chkDisabled, inherit);
- }
- }
- },
- repairParentChkDisabled: function(setting, node, chkDisabled, inherit) {
- if (!node) return;
- if (node.chkDisabled != chkDisabled && inherit) {
- node.chkDisabled = chkDisabled;
- }
- view.repairChkClass(setting, node);
- view.repairParentChkDisabled(setting, node.getParentNode(), chkDisabled, inherit);
- },
- setChkClass: function(setting, obj, node) {
- if (!obj) return;
- if (node.nocheck === true) {
- obj.hide();
- } else {
- obj.show();
- }
- obj.removeClass();
- obj.addClass(view.makeChkClass(setting, node));
- },
- setParentNodeCheckBox: function(setting, node, value, srcNode) {
- var childKey = setting.data.key.children,
- checkedKey = setting.data.key.checked,
- checkObj = $$(node, consts.id.CHECK, setting);
- if (!srcNode) srcNode = node;
- data.makeChkFlag(setting, node);
- if (node.nocheck !== true && node.chkDisabled !== true) {
- node[checkedKey] = value;
- view.setChkClass(setting, checkObj, node);
- if (setting.check.autoCheckTrigger && node != srcNode) {
- setting.treeObj.trigger(consts.event.CHECK, [null, setting.treeId, node]);
- }
- }
- if (node.parentTId) {
- var pSign = true;
- if (!value) {
- var pNodes = node.getParentNode()[childKey];
- for (var i = 0, l = pNodes.length; i < l; i++) {
- if ((pNodes[i].nocheck !== true && pNodes[i].chkDisabled !== true && pNodes[i][checkedKey])
- || ((pNodes[i].nocheck === true || pNodes[i].chkDisabled === true) && pNodes[i].check_Child_State > 0)) {
- pSign = false;
- break;
- }
- }
- }
- if (pSign) {
- view.setParentNodeCheckBox(setting, node.getParentNode(), value, srcNode);
- }
- }
- },
- setSonNodeCheckBox: function(setting, node, value, srcNode) {
- if (!node) return;
- var childKey = setting.data.key.children,
- checkedKey = setting.data.key.checked,
- checkObj = $$(node, consts.id.CHECK, setting);
- if (!srcNode) srcNode = node;
-
- var hasDisable = false;
- if (node[childKey]) {
- for (var i = 0, l = node[childKey].length; i < l && node.chkDisabled !== true; i++) {
- var sNode = node[childKey][i];
- view.setSonNodeCheckBox(setting, sNode, value, srcNode);
- if (sNode.chkDisabled === true) hasDisable = true;
- }
- }
-
- if (node != data.getRoot(setting) && node.chkDisabled !== true) {
- if (hasDisable && node.nocheck !== true) {
- data.makeChkFlag(setting, node);
- }
- if (node.nocheck !== true && node.chkDisabled !== true) {
- node[checkedKey] = value;
- if (!hasDisable) node.check_Child_State = (node[childKey] && node[childKey].length > 0) ? (value ? 2 : 0) : -1;
- } else {
- node.check_Child_State = -1;
- }
- view.setChkClass(setting, checkObj, node);
- if (setting.check.autoCheckTrigger && node != srcNode && node.nocheck !== true && node.chkDisabled !== true) {
- setting.treeObj.trigger(consts.event.CHECK, [null, setting.treeId, node]);
- }
- }
-
- }
- },
-
- _z = {
- tools: _tools,
- view: _view,
- event: _event,
- data: _data
- };
- $.extend(true, $.fn.zTree.consts, _consts);
- $.extend(true, $.fn.zTree._z, _z);
-
- var zt = $.fn.zTree,
- tools = zt._z.tools,
- consts = zt.consts,
- view = zt._z.view,
- data = zt._z.data,
- event = zt._z.event,
- $$ = tools.$;
-
- data.exSetting(_setting);
- data.addInitBind(_bindEvent);
- data.addInitUnBind(_unbindEvent);
- data.addInitCache(_initCache);
- data.addInitNode(_initNode);
- data.addInitProxy(_eventProxy, true);
- data.addInitRoot(_initRoot);
- data.addBeforeA(_beforeA);
- data.addZTreeTools(_zTreeTools);
-
- var _createNodes = view.createNodes;
- view.createNodes = function(setting, level, nodes, parentNode) {
- if (_createNodes) _createNodes.apply(view, arguments);
- if (!nodes) return;
- view.repairParentChkClassWithSelf(setting, parentNode);
- }
- var _removeNode = view.removeNode;
- view.removeNode = function(setting, node) {
- var parentNode = node.getParentNode();
- if (_removeNode) _removeNode.apply(view, arguments);
- if (!node || !parentNode) return;
- view.repairChkClass(setting, parentNode);
- view.repairParentChkClass(setting, parentNode);
- }
-
- var _appendNodes = view.appendNodes;
- view.appendNodes = function(setting, level, nodes, parentNode, initFlag, openFlag) {
- var html = "";
- if (_appendNodes) {
- html = _appendNodes.apply(view, arguments);
- }
- if (parentNode) {
- data.makeChkFlag(setting, parentNode);
- }
- return html;
- }
-})(jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.excheck.min.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.excheck.min.js
deleted file mode 100644
index a1d1a07f..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.excheck.min.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * JQuery zTree excheck v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function(m){var p,q,r,o={event:{CHECK:"ztree_check"},id:{CHECK:"_check"},checkbox:{STYLE:"checkbox",DEFAULT:"chk",DISABLED:"disable",FALSE:"false",TRUE:"true",FULL:"full",PART:"part",FOCUS:"focus"},radio:{STYLE:"radio",TYPE_ALL:"all",TYPE_LEVEL:"level"}},v={check:{enable:!1,autoCheckTrigger:!1,chkStyle:o.checkbox.STYLE,nocheckInherit:!1,chkDisabledInherit:!1,radioType:o.radio.TYPE_LEVEL,chkboxType:{Y:"ps",N:"ps"}},data:{key:{checked:"checked"}},callback:{beforeCheck:null,onCheck:null}};p=function(c,
-a){if(a.chkDisabled===!0)return!1;var b=f.getSetting(c.data.treeId),d=b.data.key.checked;if(k.apply(b.callback.beforeCheck,[b.treeId,a],!0)==!1)return!0;a[d]=!a[d];e.checkNodeRelation(b,a);d=n(a,j.id.CHECK,b);e.setChkClass(b,d,a);e.repairParentChkClassWithSelf(b,a);b.treeObj.trigger(j.event.CHECK,[c,b.treeId,a]);return!0};q=function(c,a){if(a.chkDisabled===!0)return!1;var b=f.getSetting(c.data.treeId),d=n(a,j.id.CHECK,b);a.check_Focus=!0;e.setChkClass(b,d,a);return!0};r=function(c,a){if(a.chkDisabled===
-!0)return!1;var b=f.getSetting(c.data.treeId),d=n(a,j.id.CHECK,b);a.check_Focus=!1;e.setChkClass(b,d,a);return!0};m.extend(!0,m.fn.zTree.consts,o);m.extend(!0,m.fn.zTree._z,{tools:{},view:{checkNodeRelation:function(c,a){var b,d,h,i=c.data.key.children,l=c.data.key.checked;b=j.radio;if(c.check.chkStyle==b.STYLE){var g=f.getRadioCheckedList(c);if(a[l])if(c.check.radioType==b.TYPE_ALL){for(d=g.length-1;d>=0;d--)b=g[d],b[l]&&b!=a&&(b[l]=!1,g.splice(d,1),e.setChkClass(c,n(b,j.id.CHECK,c),b),b.parentTId!=
-a.parentTId&&e.repairParentChkClassWithSelf(c,b));g.push(a)}else{g=a.parentTId?a.getParentNode():f.getRoot(c);for(d=0,h=g[i].length;d<h;d++)b=g[i][d],b[l]&&b!=a&&(b[l]=!1,e.setChkClass(c,n(b,j.id.CHECK,c),b))}else if(c.check.radioType==b.TYPE_ALL)for(d=0,h=g.length;d<h;d++)if(a==g[d]){g.splice(d,1);break}}else a[l]&&(!a[i]||a[i].length==0||c.check.chkboxType.Y.indexOf("s")>-1)&&e.setSonNodeCheckBox(c,a,!0),!a[l]&&(!a[i]||a[i].length==0||c.check.chkboxType.N.indexOf("s")>-1)&&e.setSonNodeCheckBox(c,
-a,!1),a[l]&&c.check.chkboxType.Y.indexOf("p")>-1&&e.setParentNodeCheckBox(c,a,!0),!a[l]&&c.check.chkboxType.N.indexOf("p")>-1&&e.setParentNodeCheckBox(c,a,!1)},makeChkClass:function(c,a){var b=c.data.key.checked,d=j.checkbox,h=j.radio,i="",i=a.chkDisabled===!0?d.DISABLED:a.halfCheck?d.PART:c.check.chkStyle==h.STYLE?a.check_Child_State<1?d.FULL:d.PART:a[b]?a.check_Child_State===2||a.check_Child_State===-1?d.FULL:d.PART:a.check_Child_State<1?d.FULL:d.PART,b=c.check.chkStyle+"_"+(a[b]?d.TRUE:d.FALSE)+
-"_"+i,b=a.check_Focus&&a.chkDisabled!==!0?b+"_"+d.FOCUS:b;return j.className.BUTTON+" "+d.DEFAULT+" "+b},repairAllChk:function(c,a){if(c.check.enable&&c.check.chkStyle===j.checkbox.STYLE)for(var b=c.data.key.checked,d=c.data.key.children,h=f.getRoot(c),i=0,l=h[d].length;i<l;i++){var g=h[d][i];g.nocheck!==!0&&g.chkDisabled!==!0&&(g[b]=a);e.setSonNodeCheckBox(c,g,a)}},repairChkClass:function(c,a){if(a&&(f.makeChkFlag(c,a),a.nocheck!==!0)){var b=n(a,j.id.CHECK,c);e.setChkClass(c,b,a)}},repairParentChkClass:function(c,
-a){if(a&&a.parentTId){var b=a.getParentNode();e.repairChkClass(c,b);e.repairParentChkClass(c,b)}},repairParentChkClassWithSelf:function(c,a){if(a){var b=c.data.key.children;a[b]&&a[b].length>0?e.repairParentChkClass(c,a[b][0]):e.repairParentChkClass(c,a)}},repairSonChkDisabled:function(c,a,b,d){if(a){var h=c.data.key.children;if(a.chkDisabled!=b)a.chkDisabled=b;e.repairChkClass(c,a);if(a[h]&&d)for(var i=0,l=a[h].length;i<l;i++)e.repairSonChkDisabled(c,a[h][i],b,d)}},repairParentChkDisabled:function(c,
-a,b,d){if(a){if(a.chkDisabled!=b&&d)a.chkDisabled=b;e.repairChkClass(c,a);e.repairParentChkDisabled(c,a.getParentNode(),b,d)}},setChkClass:function(c,a,b){a&&(b.nocheck===!0?a.hide():a.show(),a.removeClass(),a.addClass(e.makeChkClass(c,b)))},setParentNodeCheckBox:function(c,a,b,d){var h=c.data.key.children,i=c.data.key.checked,l=n(a,j.id.CHECK,c);d||(d=a);f.makeChkFlag(c,a);a.nocheck!==!0&&a.chkDisabled!==!0&&(a[i]=b,e.setChkClass(c,l,a),c.check.autoCheckTrigger&&a!=d&&c.treeObj.trigger(j.event.CHECK,
-[null,c.treeId,a]));if(a.parentTId){l=!0;if(!b)for(var h=a.getParentNode()[h],g=0,k=h.length;g<k;g++)if(h[g].nocheck!==!0&&h[g].chkDisabled!==!0&&h[g][i]||(h[g].nocheck===!0||h[g].chkDisabled===!0)&&h[g].check_Child_State>0){l=!1;break}l&&e.setParentNodeCheckBox(c,a.getParentNode(),b,d)}},setSonNodeCheckBox:function(c,a,b,d){if(a){var h=c.data.key.children,i=c.data.key.checked,l=n(a,j.id.CHECK,c);d||(d=a);var g=!1;if(a[h])for(var k=0,m=a[h].length;k<m&&a.chkDisabled!==!0;k++){var o=a[h][k];e.setSonNodeCheckBox(c,
-o,b,d);o.chkDisabled===!0&&(g=!0)}if(a!=f.getRoot(c)&&a.chkDisabled!==!0){g&&a.nocheck!==!0&&f.makeChkFlag(c,a);if(a.nocheck!==!0&&a.chkDisabled!==!0){if(a[i]=b,!g)a.check_Child_State=a[h]&&a[h].length>0?b?2:0:-1}else a.check_Child_State=-1;e.setChkClass(c,l,a);c.check.autoCheckTrigger&&a!=d&&a.nocheck!==!0&&a.chkDisabled!==!0&&c.treeObj.trigger(j.event.CHECK,[null,c.treeId,a])}}}},event:{},data:{getRadioCheckedList:function(c){for(var a=f.getRoot(c).radioCheckedList,b=0,d=a.length;b<d;b++)f.getNodeCache(c,
-a[b].tId)||(a.splice(b,1),b--,d--);return a},getCheckStatus:function(c,a){if(!c.check.enable||a.nocheck||a.chkDisabled)return null;var b=c.data.key.checked;return{checked:a[b],half:a.halfCheck?a.halfCheck:c.check.chkStyle==j.radio.STYLE?a.check_Child_State===2:a[b]?a.check_Child_State>-1&&a.check_Child_State<2:a.check_Child_State>0}},getTreeCheckedNodes:function(c,a,b,d){if(!a)return[];for(var h=c.data.key.children,i=c.data.key.checked,e=b&&c.check.chkStyle==j.radio.STYLE&&c.check.radioType==j.radio.TYPE_ALL,
-d=!d?[]:d,g=0,k=a.length;g<k;g++){if(a[g].nocheck!==!0&&a[g].chkDisabled!==!0&&a[g][i]==b&&(d.push(a[g]),e))break;f.getTreeCheckedNodes(c,a[g][h],b,d);if(e&&d.length>0)break}return d},getTreeChangeCheckedNodes:function(c,a,b){if(!a)return[];for(var d=c.data.key.children,h=c.data.key.checked,b=!b?[]:b,i=0,e=a.length;i<e;i++)a[i].nocheck!==!0&&a[i].chkDisabled!==!0&&a[i][h]!=a[i].checkedOld&&b.push(a[i]),f.getTreeChangeCheckedNodes(c,a[i][d],b);return b},makeChkFlag:function(c,a){if(a){var b=c.data.key.children,
-d=c.data.key.checked,h=-1;if(a[b])for(var i=0,e=a[b].length;i<e;i++){var g=a[b][i],f=-1;if(c.check.chkStyle==j.radio.STYLE)if(f=g.nocheck===!0||g.chkDisabled===!0?g.check_Child_State:g.halfCheck===!0?2:g[d]?2:g.check_Child_State>0?2:0,f==2){h=2;break}else f==0&&(h=0);else if(c.check.chkStyle==j.checkbox.STYLE)if(f=g.nocheck===!0||g.chkDisabled===!0?g.check_Child_State:g.halfCheck===!0?1:g[d]?g.check_Child_State===-1||g.check_Child_State===2?2:1:g.check_Child_State>0?1:0,f===1){h=1;break}else if(f===
-2&&h>-1&&i>0&&f!==h){h=1;break}else if(h===2&&f>-1&&f<2){h=1;break}else f>-1&&(h=f)}a.check_Child_State=h}}}});var m=m.fn.zTree,k=m._z.tools,j=m.consts,e=m._z.view,f=m._z.data,n=k.$;f.exSetting(v);f.addInitBind(function(c){c.treeObj.bind(j.event.CHECK,function(a,b,d,h){a.srcEvent=b;k.apply(c.callback.onCheck,[a,d,h])})});f.addInitUnBind(function(c){c.treeObj.unbind(j.event.CHECK)});f.addInitCache(function(){});f.addInitNode(function(c,a,b,d){if(b){a=c.data.key.checked;typeof b[a]=="string"&&(b[a]=
-k.eqs(b[a],"true"));b[a]=!!b[a];b.checkedOld=b[a];if(typeof b.nocheck=="string")b.nocheck=k.eqs(b.nocheck,"true");b.nocheck=!!b.nocheck||c.check.nocheckInherit&&d&&!!d.nocheck;if(typeof b.chkDisabled=="string")b.chkDisabled=k.eqs(b.chkDisabled,"true");b.chkDisabled=!!b.chkDisabled||c.check.chkDisabledInherit&&d&&!!d.chkDisabled;if(typeof b.halfCheck=="string")b.halfCheck=k.eqs(b.halfCheck,"true");b.halfCheck=!!b.halfCheck;b.check_Child_State=-1;b.check_Focus=!1;b.getCheckStatus=function(){return f.getCheckStatus(c,
-b)};c.check.chkStyle==j.radio.STYLE&&c.check.radioType==j.radio.TYPE_ALL&&b[a]&&f.getRoot(c).radioCheckedList.push(b)}});f.addInitProxy(function(c){var a=c.target,b=f.getSetting(c.data.treeId),d="",h=null,e="",l=null;if(k.eqs(c.type,"mouseover")){if(b.check.enable&&k.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+j.id.CHECK)!==null)d=k.getNodeMainDom(a).id,e="mouseoverCheck"}else if(k.eqs(c.type,"mouseout")){if(b.check.enable&&k.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+j.id.CHECK)!==null)d=
-k.getNodeMainDom(a).id,e="mouseoutCheck"}else if(k.eqs(c.type,"click")&&b.check.enable&&k.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+j.id.CHECK)!==null)d=k.getNodeMainDom(a).id,e="checkNode";if(d.length>0)switch(h=f.getNodeCache(b,d),e){case "checkNode":l=p;break;case "mouseoverCheck":l=q;break;case "mouseoutCheck":l=r}return{stop:e==="checkNode",node:h,nodeEventType:e,nodeEventCallback:l,treeEventType:"",treeEventCallback:null}},!0);f.addInitRoot(function(c){f.getRoot(c).radioCheckedList=[]});
-f.addBeforeA(function(c,a,b){c.check.enable&&(f.makeChkFlag(c,a),b.push("<span ID='",a.tId,j.id.CHECK,"' class='",e.makeChkClass(c,a),"' treeNode",j.id.CHECK,a.nocheck===!0?" style='display:none;'":"","></span>"))});f.addZTreeTools(function(c,a){a.checkNode=function(a,b,c,f){var g=this.setting.data.key.checked;if(a.chkDisabled!==!0&&(b!==!0&&b!==!1&&(b=!a[g]),f=!!f,(a[g]!==b||c)&&!(f&&k.apply(this.setting.callback.beforeCheck,[this.setting.treeId,a],!0)==!1)&&k.uCanDo(this.setting)&&this.setting.check.enable&&
-a.nocheck!==!0))a[g]=b,b=n(a,j.id.CHECK,this.setting),(c||this.setting.check.chkStyle===j.radio.STYLE)&&e.checkNodeRelation(this.setting,a),e.setChkClass(this.setting,b,a),e.repairParentChkClassWithSelf(this.setting,a),f&&this.setting.treeObj.trigger(j.event.CHECK,[null,this.setting.treeId,a])};a.checkAllNodes=function(a){e.repairAllChk(this.setting,!!a)};a.getCheckedNodes=function(a){var b=this.setting.data.key.children;return f.getTreeCheckedNodes(this.setting,f.getRoot(this.setting)[b],a!==!1)};
-a.getChangeCheckedNodes=function(){var a=this.setting.data.key.children;return f.getTreeChangeCheckedNodes(this.setting,f.getRoot(this.setting)[a])};a.setChkDisabled=function(a,b,c,f){b=!!b;c=!!c;e.repairSonChkDisabled(this.setting,a,b,!!f);e.repairParentChkDisabled(this.setting,a.getParentNode(),b,c)};var b=a.updateNode;a.updateNode=function(c,f){b&&b.apply(a,arguments);if(c&&this.setting.check.enable&&n(c,this.setting).get(0)&&k.uCanDo(this.setting)){var i=n(c,j.id.CHECK,this.setting);(f==!0||this.setting.check.chkStyle===
-j.radio.STYLE)&&e.checkNodeRelation(this.setting,c);e.setChkClass(this.setting,i,c);e.repairParentChkClassWithSelf(this.setting,c)}}});var s=e.createNodes;e.createNodes=function(c,a,b,d){s&&s.apply(e,arguments);b&&e.repairParentChkClassWithSelf(c,d)};var t=e.removeNode;e.removeNode=function(c,a){var b=a.getParentNode();t&&t.apply(e,arguments);a&&b&&(e.repairChkClass(c,b),e.repairParentChkClass(c,b))};var u=e.appendNodes;e.appendNodes=function(c,a,b,d,h,i){var j="";u&&(j=u.apply(e,arguments));d&&f.makeChkFlag(c,
-d);return j}})(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exedit.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exedit.js
deleted file mode 100644
index f958fdf9..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exedit.js
+++ /dev/null
@@ -1,1191 +0,0 @@
-/*
- * JQuery zTree exedit v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function($){
- //default consts of exedit
- var _consts = {
- event: {
- DRAG: "ztree_drag",
- DROP: "ztree_drop",
- RENAME: "ztree_rename",
- DRAGMOVE:"ztree_dragmove"
- },
- id: {
- EDIT: "_edit",
- INPUT: "_input",
- REMOVE: "_remove"
- },
- move: {
- TYPE_INNER: "inner",
- TYPE_PREV: "prev",
- TYPE_NEXT: "next"
- },
- node: {
- CURSELECTED_EDIT: "curSelectedNode_Edit",
- TMPTARGET_TREE: "tmpTargetzTree",
- TMPTARGET_NODE: "tmpTargetNode"
- }
- },
- //default setting of exedit
- _setting = {
- edit: {
- enable: false,
- editNameSelectAll: false,
- showRemoveBtn: true,
- showRenameBtn: true,
- removeTitle: "remove",
- renameTitle: "rename",
- drag: {
- autoExpandTrigger: false,
- isCopy: true,
- isMove: true,
- prev: true,
- next: true,
- inner: true,
- minMoveSize: 5,
- borderMax: 10,
- borderMin: -5,
- maxShowNodeNum: 5,
- autoOpenTime: 500
- }
- },
- view: {
- addHoverDom: null,
- removeHoverDom: null
- },
- callback: {
- beforeDrag:null,
- beforeDragOpen:null,
- beforeDrop:null,
- beforeEditName:null,
- beforeRename:null,
- onDrag:null,
- onDragMove:null,
- onDrop:null,
- onRename:null
- }
- },
- //default root of exedit
- _initRoot = function (setting) {
- var r = data.getRoot(setting), rs = data.getRoots();
- r.curEditNode = null;
- r.curEditInput = null;
- r.curHoverNode = null;
- r.dragFlag = 0;
- r.dragNodeShowBefore = [];
- r.dragMaskList = new Array();
- rs.showHoverDom = true;
- },
- //default cache of exedit
- _initCache = function(treeId) {},
- //default bind event of exedit
- _bindEvent = function(setting) {
- var o = setting.treeObj;
- var c = consts.event;
- o.bind(c.RENAME, function (event, treeId, treeNode, isCancel) {
- tools.apply(setting.callback.onRename, [event, treeId, treeNode, isCancel]);
- });
-
- o.bind(c.DRAG, function (event, srcEvent, treeId, treeNodes) {
- tools.apply(setting.callback.onDrag, [srcEvent, treeId, treeNodes]);
- });
-
- o.bind(c.DRAGMOVE,function(event, srcEvent, treeId, treeNodes){
- tools.apply(setting.callback.onDragMove,[srcEvent, treeId, treeNodes]);
- });
-
- o.bind(c.DROP, function (event, srcEvent, treeId, treeNodes, targetNode, moveType, isCopy) {
- tools.apply(setting.callback.onDrop, [srcEvent, treeId, treeNodes, targetNode, moveType, isCopy]);
- });
- },
- _unbindEvent = function(setting) {
- var o = setting.treeObj;
- var c = consts.event;
- o.unbind(c.RENAME);
- o.unbind(c.DRAG);
- o.unbind(c.DRAGMOVE);
- o.unbind(c.DROP);
- },
- //default event proxy of exedit
- _eventProxy = function(e) {
- var target = e.target,
- setting = data.getSetting(e.data.treeId),
- relatedTarget = e.relatedTarget,
- tId = "", node = null,
- nodeEventType = "", treeEventType = "",
- nodeEventCallback = null, treeEventCallback = null,
- tmp = null;
-
- if (tools.eqs(e.type, "mouseover")) {
- tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]);
- if (tmp) {
- tId = tools.getNodeMainDom(tmp).id;
- nodeEventType = "hoverOverNode";
- }
- } else if (tools.eqs(e.type, "mouseout")) {
- tmp = tools.getMDom(setting, relatedTarget, [{tagName:"a", attrName:"treeNode"+consts.id.A}]);
- if (!tmp) {
- tId = "remove";
- nodeEventType = "hoverOutNode";
- }
- } else if (tools.eqs(e.type, "mousedown")) {
- tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]);
- if (tmp) {
- tId = tools.getNodeMainDom(tmp).id;
- nodeEventType = "mousedownNode";
- }
- }
- if (tId.length>0) {
- node = data.getNodeCache(setting, tId);
- switch (nodeEventType) {
- case "mousedownNode" :
- nodeEventCallback = _handler.onMousedownNode;
- break;
- case "hoverOverNode" :
- nodeEventCallback = _handler.onHoverOverNode;
- break;
- case "hoverOutNode" :
- nodeEventCallback = _handler.onHoverOutNode;
- break;
- }
- }
- var proxyResult = {
- stop: false,
- node: node,
- nodeEventType: nodeEventType,
- nodeEventCallback: nodeEventCallback,
- treeEventType: treeEventType,
- treeEventCallback: treeEventCallback
- };
- return proxyResult
- },
- //default init node of exedit
- _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) {
- if (!n) return;
- n.isHover = false;
- n.editNameFlag = false;
- },
- //update zTreeObj, add method of edit
- _zTreeTools = function(setting, zTreeTools) {
- zTreeTools.cancelEditName = function(newName) {
- var root = data.getRoot(this.setting);
- if (!root.curEditNode) return;
- view.cancelCurEditNode(this.setting, newName?newName:null, true);
- }
- zTreeTools.copyNode = function(targetNode, node, moveType, isSilent) {
- if (!node) return null;
- if (targetNode && !targetNode.isParent && this.setting.data.keep.leaf && moveType === consts.move.TYPE_INNER) return null;
- var _this = this,
- newNode = tools.clone(node);
- if (!targetNode) {
- targetNode = null;
- moveType = consts.move.TYPE_INNER;
- }
- if (moveType == consts.move.TYPE_INNER) {
- function copyCallback() {
- view.addNodes(_this.setting, targetNode, [newNode], isSilent);
- }
-
- if (tools.canAsync(this.setting, targetNode)) {
- view.asyncNode(this.setting, targetNode, isSilent, copyCallback);
- } else {
- copyCallback();
- }
- } else {
- view.addNodes(this.setting, targetNode.parentNode, [newNode], isSilent);
- view.moveNode(this.setting, targetNode, newNode, moveType, false, isSilent);
- }
- return newNode;
- }
- zTreeTools.editName = function(node) {
- if (!node || !node.tId || node !== data.getNodeCache(this.setting, node.tId)) return;
- if (node.parentTId) view.expandCollapseParentNode(this.setting, node.getParentNode(), true);
- view.editNode(this.setting, node)
- }
- zTreeTools.moveNode = function(targetNode, node, moveType, isSilent) {
- if (!node) return node;
- if (targetNode && !targetNode.isParent && this.setting.data.keep.leaf && moveType === consts.move.TYPE_INNER) {
- return null;
- } else if (targetNode && ((node.parentTId == targetNode.tId && moveType == consts.move.TYPE_INNER) || $$(node, this.setting).find("#" + targetNode.tId).length > 0)) {
- return null;
- } else if (!targetNode) {
- targetNode = null;
- }
- var _this = this;
- function moveCallback() {
- view.moveNode(_this.setting, targetNode, node, moveType, false, isSilent);
- }
- if (tools.canAsync(this.setting, targetNode) && moveType === consts.move.TYPE_INNER) {
- view.asyncNode(this.setting, targetNode, isSilent, moveCallback);
- } else {
- moveCallback();
- }
- return node;
- }
- zTreeTools.setEditable = function(editable) {
- this.setting.edit.enable = editable;
- return this.refresh();
- }
- },
- //method of operate data
- _data = {
- setSonNodeLevel: function(setting, parentNode, node) {
- if (!node) return;
- var childKey = setting.data.key.children;
- node.level = (parentNode)? parentNode.level + 1 : 0;
- if (!node[childKey]) return;
- for (var i = 0, l = node[childKey].length; i < l; i++) {
- if (node[childKey][i]) data.setSonNodeLevel(setting, node, node[childKey][i]);
- }
- }
- },
- //method of event proxy
- _event = {
-
- },
- //method of event handler
- _handler = {
- onHoverOverNode: function(event, node) {
- var setting = data.getSetting(event.data.treeId),
- root = data.getRoot(setting);
- if (root.curHoverNode != node) {
- _handler.onHoverOutNode(event);
- }
- root.curHoverNode = node;
- view.addHoverDom(setting, node);
- },
- onHoverOutNode: function(event, node) {
- var setting = data.getSetting(event.data.treeId),
- root = data.getRoot(setting);
- if (root.curHoverNode && !data.isSelectedNode(setting, root.curHoverNode)) {
- view.removeTreeDom(setting, root.curHoverNode);
- root.curHoverNode = null;
- }
- },
- onMousedownNode: function(eventMouseDown, _node) {
- var i,l,
- setting = data.getSetting(eventMouseDown.data.treeId),
- root = data.getRoot(setting), roots = data.getRoots();
- //right click can't drag & drop
- if (eventMouseDown.button == 2 || !setting.edit.enable || (!setting.edit.drag.isCopy && !setting.edit.drag.isMove)) return true;
-
- //input of edit node name can't drag & drop
- var target = eventMouseDown.target,
- _nodes = data.getRoot(setting).curSelectedList,
- nodes = [];
- if (!data.isSelectedNode(setting, _node)) {
- nodes = [_node];
- } else {
- for (i=0, l=_nodes.length; i<l; i++) {
- if (_nodes[i].editNameFlag && tools.eqs(target.tagName, "input") && target.getAttribute("treeNode"+consts.id.INPUT) !== null) {
- return true;
- }
- nodes.push(_nodes[i]);
- if (nodes[0].parentTId !== _nodes[i].parentTId) {
- nodes = [_node];
- break;
- }
- }
- }
-
- view.editNodeBlur = true;
- view.cancelCurEditNode(setting);
-
- var doc = $(setting.treeObj.get(0).ownerDocument),
- body = $(setting.treeObj.get(0).ownerDocument.body), curNode, tmpArrow, tmpTarget,
- isOtherTree = false,
- targetSetting = setting,
- sourceSetting = setting,
- preNode, nextNode,
- preTmpTargetNodeId = null,
- preTmpMoveType = null,
- tmpTargetNodeId = null,
- moveType = consts.move.TYPE_INNER,
- mouseDownX = eventMouseDown.clientX,
- mouseDownY = eventMouseDown.clientY,
- startTime = (new Date()).getTime();
-
- if (tools.uCanDo(setting)) {
- doc.bind("mousemove", _docMouseMove);
- }
- function _docMouseMove(event) {
- //avoid start drag after click node
- if (root.dragFlag == 0 && Math.abs(mouseDownX - event.clientX) < setting.edit.drag.minMoveSize
- && Math.abs(mouseDownY - event.clientY) < setting.edit.drag.minMoveSize) {
- return true;
- }
- var i, l, tmpNode, tmpDom, tmpNodes,
- childKey = setting.data.key.children;
- body.css("cursor", "pointer");
-
- if (root.dragFlag == 0) {
- if (tools.apply(setting.callback.beforeDrag, [setting.treeId, nodes], true) == false) {
- _docMouseUp(event);
- return true;
- }
-
- for (i=0, l=nodes.length; i<l; i++) {
- if (i==0) {
- root.dragNodeShowBefore = [];
- }
- tmpNode = nodes[i];
- if (tmpNode.isParent && tmpNode.open) {
- view.expandCollapseNode(setting, tmpNode, !tmpNode.open);
- root.dragNodeShowBefore[tmpNode.tId] = true;
- } else {
- root.dragNodeShowBefore[tmpNode.tId] = false;
- }
- }
-
- root.dragFlag = 1;
- roots.showHoverDom = false;
- tools.showIfameMask(setting, true);
-
- //sort
- var isOrder = true, lastIndex = -1;
- if (nodes.length>1) {
- var pNodes = nodes[0].parentTId ? nodes[0].getParentNode()[childKey] : data.getNodes(setting);
- tmpNodes = [];
- for (i=0, l=pNodes.length; i<l; i++) {
- if (root.dragNodeShowBefore[pNodes[i].tId] !== undefined) {
- if (isOrder && lastIndex > -1 && (lastIndex+1) !== i) {
- isOrder = false;
- }
- tmpNodes.push(pNodes[i]);
- lastIndex = i;
- }
- if (nodes.length === tmpNodes.length) {
- nodes = tmpNodes;
- break;
- }
- }
- }
- if (isOrder) {
- preNode = nodes[0].getPreNode();
- nextNode = nodes[nodes.length-1].getNextNode();
- }
-
- //set node in selected
- curNode = $$("<ul class='zTreeDragUL'></ul>", setting);
- for (i=0, l=nodes.length; i<l; i++) {
- tmpNode = nodes[i];
- tmpNode.editNameFlag = false;
- view.selectNode(setting, tmpNode, i>0);
- view.removeTreeDom(setting, tmpNode);
-
- if (i > setting.edit.drag.maxShowNodeNum-1) {
- continue;
- }
-
- tmpDom = $$("<li id='"+ tmpNode.tId +"_tmp'></li>", setting);
- tmpDom.append($$(tmpNode, consts.id.A, setting).clone());
- tmpDom.css("padding", "0");
- tmpDom.children("#" + tmpNode.tId + consts.id.A).removeClass(consts.node.CURSELECTED);
- curNode.append(tmpDom);
- if (i == setting.edit.drag.maxShowNodeNum-1) {
- tmpDom = $$("<li id='"+ tmpNode.tId +"_moretmp'><a> ... </a></li>", setting);
- curNode.append(tmpDom);
- }
- }
- curNode.attr("id", nodes[0].tId + consts.id.UL + "_tmp");
- curNode.addClass(setting.treeObj.attr("class"));
- curNode.appendTo(body);
-
- tmpArrow = $$("<span class='tmpzTreeMove_arrow'></span>", setting);
- tmpArrow.attr("id", "zTreeMove_arrow_tmp");
- tmpArrow.appendTo(body);
-
- setting.treeObj.trigger(consts.event.DRAG, [event, setting.treeId, nodes]);
- }
-
- if (root.dragFlag == 1) {
- if (tmpTarget && tmpArrow.attr("id") == event.target.id && tmpTargetNodeId && (event.clientX + doc.scrollLeft()+2) > ($("#" + tmpTargetNodeId + consts.id.A, tmpTarget).offset().left)) {
- var xT = $("#" + tmpTargetNodeId + consts.id.A, tmpTarget);
- event.target = (xT.length > 0) ? xT.get(0) : event.target;
- } else if (tmpTarget) {
- tmpTarget.removeClass(consts.node.TMPTARGET_TREE);
- if (tmpTargetNodeId) $("#" + tmpTargetNodeId + consts.id.A, tmpTarget).removeClass(consts.node.TMPTARGET_NODE + "_" + consts.move.TYPE_PREV)
- .removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_NEXT).removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_INNER);
- }
- tmpTarget = null;
- tmpTargetNodeId = null;
-
- //judge drag & drop in multi ztree
- isOtherTree = false;
- targetSetting = setting;
- var settings = data.getSettings();
- for (var s in settings) {
- if (settings[s].treeId && settings[s].edit.enable && settings[s].treeId != setting.treeId
- && (event.target.id == settings[s].treeId || $(event.target).parents("#" + settings[s].treeId).length>0)) {
- isOtherTree = true;
- targetSetting = settings[s];
- }
- }
-
- var docScrollTop = doc.scrollTop(),
- docScrollLeft = doc.scrollLeft(),
- treeOffset = targetSetting.treeObj.offset(),
- scrollHeight = targetSetting.treeObj.get(0).scrollHeight,
- scrollWidth = targetSetting.treeObj.get(0).scrollWidth,
- dTop = (event.clientY + docScrollTop - treeOffset.top),
- dBottom = (targetSetting.treeObj.height() + treeOffset.top - event.clientY - docScrollTop),
- dLeft = (event.clientX + docScrollLeft - treeOffset.left),
- dRight = (targetSetting.treeObj.width() + treeOffset.left - event.clientX - docScrollLeft),
- isTop = (dTop < setting.edit.drag.borderMax && dTop > setting.edit.drag.borderMin),
- isBottom = (dBottom < setting.edit.drag.borderMax && dBottom > setting.edit.drag.borderMin),
- isLeft = (dLeft < setting.edit.drag.borderMax && dLeft > setting.edit.drag.borderMin),
- isRight = (dRight < setting.edit.drag.borderMax && dRight > setting.edit.drag.borderMin),
- isTreeInner = dTop > setting.edit.drag.borderMin && dBottom > setting.edit.drag.borderMin && dLeft > setting.edit.drag.borderMin && dRight > setting.edit.drag.borderMin,
- isTreeTop = (isTop && targetSetting.treeObj.scrollTop() <= 0),
- isTreeBottom = (isBottom && (targetSetting.treeObj.scrollTop() + targetSetting.treeObj.height()+10) >= scrollHeight),
- isTreeLeft = (isLeft && targetSetting.treeObj.scrollLeft() <= 0),
- isTreeRight = (isRight && (targetSetting.treeObj.scrollLeft() + targetSetting.treeObj.width()+10) >= scrollWidth);
-
- if (event.target && tools.isChildOrSelf(event.target, targetSetting.treeId)) {
- //get node <li> dom
- var targetObj = event.target;
- while (targetObj && targetObj.tagName && !tools.eqs(targetObj.tagName, "li") && targetObj.id != targetSetting.treeId) {
- targetObj = targetObj.parentNode;
- }
-
- var canMove = true;
- //don't move to self or children of self
- for (i=0, l=nodes.length; i<l; i++) {
- tmpNode = nodes[i];
- if (targetObj.id === tmpNode.tId) {
- canMove = false;
- break;
- } else if ($$(tmpNode, setting).find("#" + targetObj.id).length > 0) {
- canMove = false;
- break;
- }
- }
- if (canMove && event.target && tools.isChildOrSelf(event.target, targetObj.id + consts.id.A)) {
- tmpTarget = $(targetObj);
- tmpTargetNodeId = targetObj.id;
- }
- }
-
- //the mouse must be in zTree
- tmpNode = nodes[0];
- if (isTreeInner && tools.isChildOrSelf(event.target, targetSetting.treeId)) {
- //judge mouse move in root of ztree
- if (!tmpTarget && (event.target.id == targetSetting.treeId || isTreeTop || isTreeBottom || isTreeLeft || isTreeRight) && (isOtherTree || (!isOtherTree && tmpNode.parentTId))) {
- tmpTarget = targetSetting.treeObj;
- }
- //auto scroll top
- if (isTop) {
- targetSetting.treeObj.scrollTop(targetSetting.treeObj.scrollTop()-10);
- } else if (isBottom) {
- targetSetting.treeObj.scrollTop(targetSetting.treeObj.scrollTop()+10);
- }
- if (isLeft) {
- targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft()-10);
- } else if (isRight) {
- targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft()+10);
- }
- //auto scroll left
- if (tmpTarget && tmpTarget != targetSetting.treeObj && tmpTarget.offset().left < targetSetting.treeObj.offset().left) {
- targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft()+ tmpTarget.offset().left - targetSetting.treeObj.offset().left);
- }
- }
-
- curNode.css({
- "top": (event.clientY + docScrollTop + 3) + "px",
- "left": (event.clientX + docScrollLeft + 3) + "px"
- });
-
- var dX = 0;
- var dY = 0;
- if (tmpTarget && tmpTarget.attr("id")!=targetSetting.treeId) {
- var tmpTargetNode = tmpTargetNodeId == null ? null: data.getNodeCache(targetSetting, tmpTargetNodeId),
- isCopy = ((event.ctrlKey || event.metaKey) && setting.edit.drag.isMove && setting.edit.drag.isCopy) || (!setting.edit.drag.isMove && setting.edit.drag.isCopy),
- isPrev = !!(preNode && tmpTargetNodeId === preNode.tId),
- isNext = !!(nextNode && tmpTargetNodeId === nextNode.tId),
- isInner = (tmpNode.parentTId && tmpNode.parentTId == tmpTargetNodeId),
- canPrev = (isCopy || !isNext) && tools.apply(targetSetting.edit.drag.prev, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.prev),
- canNext = (isCopy || !isPrev) && tools.apply(targetSetting.edit.drag.next, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.next),
- canInner = (isCopy || !isInner) && !(targetSetting.data.keep.leaf && !tmpTargetNode.isParent) && tools.apply(targetSetting.edit.drag.inner, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.inner);
- if (!canPrev && !canNext && !canInner) {
- tmpTarget = null;
- tmpTargetNodeId = "";
- moveType = consts.move.TYPE_INNER;
- tmpArrow.css({
- "display":"none"
- });
- if (window.zTreeMoveTimer) {
- clearTimeout(window.zTreeMoveTimer);
- window.zTreeMoveTargetNodeTId = null
- }
- } else {
- var tmpTargetA = $("#" + tmpTargetNodeId + consts.id.A, tmpTarget),
- tmpNextA = tmpTargetNode.isLastNode ? null : $("#" + tmpTargetNode.getNextNode().tId + consts.id.A, tmpTarget.next()),
- tmpTop = tmpTargetA.offset().top,
- tmpLeft = tmpTargetA.offset().left,
- prevPercent = canPrev ? (canInner ? 0.25 : (canNext ? 0.5 : 1) ) : -1,
- nextPercent = canNext ? (canInner ? 0.75 : (canPrev ? 0.5 : 0) ) : -1,
- dY_percent = (event.clientY + docScrollTop - tmpTop)/tmpTargetA.height();
- if ((prevPercent==1 ||dY_percent<=prevPercent && dY_percent>=-.2) && canPrev) {
- dX = 1 - tmpArrow.width();
- dY = tmpTop - tmpArrow.height()/2;
- moveType = consts.move.TYPE_PREV;
- } else if ((nextPercent==0 || dY_percent>=nextPercent && dY_percent<=1.2) && canNext) {
- dX = 1 - tmpArrow.width();
- dY = (tmpNextA == null || (tmpTargetNode.isParent && tmpTargetNode.open)) ? (tmpTop + tmpTargetA.height() - tmpArrow.height()/2) : (tmpNextA.offset().top - tmpArrow.height()/2);
- moveType = consts.move.TYPE_NEXT;
- }else {
- dX = 5 - tmpArrow.width();
- dY = tmpTop;
- moveType = consts.move.TYPE_INNER;
- }
- tmpArrow.css({
- "display":"block",
- "top": dY + "px",
- "left": (tmpLeft + dX) + "px"
- });
- tmpTargetA.addClass(consts.node.TMPTARGET_NODE + "_" + moveType);
-
- if (preTmpTargetNodeId != tmpTargetNodeId || preTmpMoveType != moveType) {
- startTime = (new Date()).getTime();
- }
- if (tmpTargetNode && tmpTargetNode.isParent && moveType == consts.move.TYPE_INNER) {
- var startTimer = true;
- if (window.zTreeMoveTimer && window.zTreeMoveTargetNodeTId !== tmpTargetNode.tId) {
- clearTimeout(window.zTreeMoveTimer);
- window.zTreeMoveTargetNodeTId = null;
- }else if (window.zTreeMoveTimer && window.zTreeMoveTargetNodeTId === tmpTargetNode.tId) {
- startTimer = false;
- }
- if (startTimer) {
- window.zTreeMoveTimer = setTimeout(function() {
- if (moveType != consts.move.TYPE_INNER) return;
- if (tmpTargetNode && tmpTargetNode.isParent && !tmpTargetNode.open && (new Date()).getTime() - startTime > targetSetting.edit.drag.autoOpenTime
- && tools.apply(targetSetting.callback.beforeDragOpen, [targetSetting.treeId, tmpTargetNode], true)) {
- view.switchNode(targetSetting, tmpTargetNode);
- if (targetSetting.edit.drag.autoExpandTrigger) {
- targetSetting.treeObj.trigger(consts.event.EXPAND, [targetSetting.treeId, tmpTargetNode]);
- }
- }
- }, targetSetting.edit.drag.autoOpenTime+50);
- window.zTreeMoveTargetNodeTId = tmpTargetNode.tId;
- }
- }
- }
- } else {
- moveType = consts.move.TYPE_INNER;
- if (tmpTarget && tools.apply(targetSetting.edit.drag.inner, [targetSetting.treeId, nodes, null], !!targetSetting.edit.drag.inner)) {
- tmpTarget.addClass(consts.node.TMPTARGET_TREE);
- } else {
- tmpTarget = null;
- }
- tmpArrow.css({
- "display":"none"
- });
- if (window.zTreeMoveTimer) {
- clearTimeout(window.zTreeMoveTimer);
- window.zTreeMoveTargetNodeTId = null;
- }
- }
- preTmpTargetNodeId = tmpTargetNodeId;
- preTmpMoveType = moveType;
-
- setting.treeObj.trigger(consts.event.DRAGMOVE, [event, setting.treeId, nodes]);
- }
- return false;
- }
-
- doc.bind("mouseup", _docMouseUp);
- function _docMouseUp(event) {
- if (window.zTreeMoveTimer) {
- clearTimeout(window.zTreeMoveTimer);
- window.zTreeMoveTargetNodeTId = null;
- }
- preTmpTargetNodeId = null;
- preTmpMoveType = null;
- doc.unbind("mousemove", _docMouseMove);
- doc.unbind("mouseup", _docMouseUp);
- doc.unbind("selectstart", _docSelect);
- body.css("cursor", "auto");
- if (tmpTarget) {
- tmpTarget.removeClass(consts.node.TMPTARGET_TREE);
- if (tmpTargetNodeId) $("#" + tmpTargetNodeId + consts.id.A, tmpTarget).removeClass(consts.node.TMPTARGET_NODE + "_" + consts.move.TYPE_PREV)
- .removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_NEXT).removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_INNER);
- }
- tools.showIfameMask(setting, false);
-
- roots.showHoverDom = true;
- if (root.dragFlag == 0) return;
- root.dragFlag = 0;
-
- var i, l, tmpNode;
- for (i=0, l=nodes.length; i<l; i++) {
- tmpNode = nodes[i];
- if (tmpNode.isParent && root.dragNodeShowBefore[tmpNode.tId] && !tmpNode.open) {
- view.expandCollapseNode(setting, tmpNode, !tmpNode.open);
- delete root.dragNodeShowBefore[tmpNode.tId];
- }
- }
-
- if (curNode) curNode.remove();
- if (tmpArrow) tmpArrow.remove();
-
- var isCopy = ((event.ctrlKey || event.metaKey) && setting.edit.drag.isMove && setting.edit.drag.isCopy) || (!setting.edit.drag.isMove && setting.edit.drag.isCopy);
- if (!isCopy && tmpTarget && tmpTargetNodeId && nodes[0].parentTId && tmpTargetNodeId==nodes[0].parentTId && moveType == consts.move.TYPE_INNER) {
- tmpTarget = null;
- }
- if (tmpTarget) {
- var dragTargetNode = tmpTargetNodeId == null ? null: data.getNodeCache(targetSetting, tmpTargetNodeId);
- if (tools.apply(setting.callback.beforeDrop, [targetSetting.treeId, nodes, dragTargetNode, moveType, isCopy], true) == false) {
- view.selectNodes(sourceSetting, nodes);
- return;
- }
- var newNodes = isCopy ? tools.clone(nodes) : nodes;
-
- function dropCallback() {
- if (isOtherTree) {
- if (!isCopy) {
- for(var i=0, l=nodes.length; i<l; i++) {
- view.removeNode(setting, nodes[i]);
- }
- }
- if (moveType == consts.move.TYPE_INNER) {
- view.addNodes(targetSetting, dragTargetNode, newNodes);
- } else {
- view.addNodes(targetSetting, dragTargetNode.getParentNode(), newNodes);
- if (moveType == consts.move.TYPE_PREV) {
- for (i=0, l=newNodes.length; i<l; i++) {
- view.moveNode(targetSetting, dragTargetNode, newNodes[i], moveType, false);
- }
- } else {
- for (i=-1, l=newNodes.length-1; i<l; l--) {
- view.moveNode(targetSetting, dragTargetNode, newNodes[l], moveType, false);
- }
- }
- }
- } else {
- if (isCopy && moveType == consts.move.TYPE_INNER) {
- view.addNodes(targetSetting, dragTargetNode, newNodes);
- } else {
- if (isCopy) {
- view.addNodes(targetSetting, dragTargetNode.getParentNode(), newNodes);
- }
- if (moveType != consts.move.TYPE_NEXT) {
- for (i=0, l=newNodes.length; i<l; i++) {
- view.moveNode(targetSetting, dragTargetNode, newNodes[i], moveType, false);
- }
- } else {
- for (i=-1, l=newNodes.length-1; i<l; l--) {
- view.moveNode(targetSetting, dragTargetNode, newNodes[l], moveType, false);
- }
- }
- }
- }
- view.selectNodes(targetSetting, newNodes);
- $$(newNodes[0], setting).focus().blur();
-
- setting.treeObj.trigger(consts.event.DROP, [event, targetSetting.treeId, newNodes, dragTargetNode, moveType, isCopy]);
- }
-
- if (moveType == consts.move.TYPE_INNER && tools.canAsync(targetSetting, dragTargetNode)) {
- view.asyncNode(targetSetting, dragTargetNode, false, dropCallback);
- } else {
- dropCallback();
- }
-
- } else {
- view.selectNodes(sourceSetting, nodes);
- setting.treeObj.trigger(consts.event.DROP, [event, setting.treeId, nodes, null, null, null]);
- }
- }
-
- doc.bind("selectstart", _docSelect);
- function _docSelect() {
- return false;
- }
-
- //Avoid FireFox's Bug
- //If zTree Div CSS set 'overflow', so drag node outside of zTree, and event.target is error.
- if(eventMouseDown.preventDefault) {
- eventMouseDown.preventDefault();
- }
- return true;
- }
- },
- //method of tools for zTree
- _tools = {
- getAbs: function (obj) {
- var oRect = obj.getBoundingClientRect(),
- scrollTop = document.body.scrollTop+document.documentElement.scrollTop,
- scrollLeft = document.body.scrollLeft+document.documentElement.scrollLeft;
- return [oRect.left+scrollLeft,oRect.top+scrollTop];
- },
- inputFocus: function(inputObj) {
- if (inputObj.get(0)) {
- inputObj.focus();
- tools.setCursorPosition(inputObj.get(0), inputObj.val().length);
- }
- },
- inputSelect: function(inputObj) {
- if (inputObj.get(0)) {
- inputObj.focus();
- inputObj.select();
- }
- },
- setCursorPosition: function(obj, pos){
- if(obj.setSelectionRange) {
- obj.focus();
- obj.setSelectionRange(pos,pos);
- } else if (obj.createTextRange) {
- var range = obj.createTextRange();
- range.collapse(true);
- range.moveEnd('character', pos);
- range.moveStart('character', pos);
- range.select();
- }
- },
- showIfameMask: function(setting, showSign) {
- var root = data.getRoot(setting);
- //clear full mask
- while (root.dragMaskList.length > 0) {
- root.dragMaskList[0].remove();
- root.dragMaskList.shift();
- }
- if (showSign) {
- //show mask
- var iframeList = $$("iframe", setting);
- for (var i = 0, l = iframeList.length; i < l; i++) {
- var obj = iframeList.get(i),
- r = tools.getAbs(obj),
- dragMask = $$("<div id='zTreeMask_" + i + "' class='zTreeMask' style='top:" + r[1] + "px; left:" + r[0] + "px; width:" + obj.offsetWidth + "px; height:" + obj.offsetHeight + "px;'></div>", setting);
- dragMask.appendTo($$("body", setting));
- root.dragMaskList.push(dragMask);
- }
- }
- }
- },
- //method of operate ztree dom
- _view = {
- addEditBtn: function(setting, node) {
- if (node.editNameFlag || $$(node, consts.id.EDIT, setting).length > 0) {
- return;
- }
- if (!tools.apply(setting.edit.showRenameBtn, [setting.treeId, node], setting.edit.showRenameBtn)) {
- return;
- }
- var aObj = $$(node, consts.id.A, setting),
- editStr = "<span class='" + consts.className.BUTTON + " edit' id='" + node.tId + consts.id.EDIT + "' title='"+tools.apply(setting.edit.renameTitle, [setting.treeId, node], setting.edit.renameTitle)+"' treeNode"+consts.id.EDIT+" style='display:none;'></span>";
- aObj.append(editStr);
-
- $$(node, consts.id.EDIT, setting).bind('click',
- function() {
- if (!tools.uCanDo(setting) || tools.apply(setting.callback.beforeEditName, [setting.treeId, node], true) == false) return false;
- view.editNode(setting, node);
- return false;
- }
- ).show();
- },
- addRemoveBtn: function(setting, node) {
- if (node.editNameFlag || $$(node, consts.id.REMOVE, setting).length > 0) {
- return;
- }
- if (!tools.apply(setting.edit.showRemoveBtn, [setting.treeId, node], setting.edit.showRemoveBtn)) {
- return;
- }
- var aObj = $$(node, consts.id.A, setting),
- removeStr = "<span class='" + consts.className.BUTTON + " remove' id='" + node.tId + consts.id.REMOVE + "' title='"+tools.apply(setting.edit.removeTitle, [setting.treeId, node], setting.edit.removeTitle)+"' treeNode"+consts.id.REMOVE+" style='display:none;'></span>";
- aObj.append(removeStr);
-
- $$(node, consts.id.REMOVE, setting).bind('click',
- function() {
- if (!tools.uCanDo(setting) || tools.apply(setting.callback.beforeRemove, [setting.treeId, node], true) == false) return false;
- view.removeNode(setting, node);
- setting.treeObj.trigger(consts.event.REMOVE, [setting.treeId, node]);
- return false;
- }
- ).bind('mousedown',
- function(eventMouseDown) {
- return true;
- }
- ).show();
- },
- addHoverDom: function(setting, node) {
- if (data.getRoots().showHoverDom) {
- node.isHover = true;
- if (setting.edit.enable) {
- view.addEditBtn(setting, node);
- view.addRemoveBtn(setting, node);
- }
- tools.apply(setting.view.addHoverDom, [setting.treeId, node]);
- }
- },
- cancelCurEditNode: function (setting, forceName, isCancel) {
- var root = data.getRoot(setting),
- nameKey = setting.data.key.name,
- node = root.curEditNode;
-
- if (node) {
- var inputObj = root.curEditInput,
- newName = forceName ? forceName:(isCancel ? node[nameKey]: inputObj.val());
- if (tools.apply(setting.callback.beforeRename, [setting.treeId, node, newName, isCancel], true) === false) {
- return false;
- } else {
- node[nameKey] = newName;
- setting.treeObj.trigger(consts.event.RENAME, [setting.treeId, node, isCancel]);
- }
- var aObj = $$(node, consts.id.A, setting);
- aObj.removeClass(consts.node.CURSELECTED_EDIT);
- inputObj.unbind();
- view.setNodeName(setting, node);
- node.editNameFlag = false;
- root.curEditNode = null;
- root.curEditInput = null;
- view.selectNode(setting, node, false);
- }
- root.noSelection = true;
- return true;
- },
- editNode: function(setting, node) {
- var root = data.getRoot(setting);
- view.editNodeBlur = false;
- if (data.isSelectedNode(setting, node) && root.curEditNode == node && node.editNameFlag) {
- setTimeout(function() {tools.inputFocus(root.curEditInput);}, 0);
- return;
- }
- var nameKey = setting.data.key.name;
- node.editNameFlag = true;
- view.removeTreeDom(setting, node);
- view.cancelCurEditNode(setting);
- view.selectNode(setting, node, false);
- $$(node, consts.id.SPAN, setting).html("<input type=text class='rename' id='" + node.tId + consts.id.INPUT + "' treeNode" + consts.id.INPUT + " >");
- var inputObj = $$(node, consts.id.INPUT, setting);
- inputObj.attr("value", node[nameKey]);
- if (setting.edit.editNameSelectAll) {
- tools.inputSelect(inputObj);
- } else {
- tools.inputFocus(inputObj);
- }
-
- inputObj.bind('blur', function(event) {
- if (!view.editNodeBlur) {
- view.cancelCurEditNode(setting);
- }
- }).bind('keydown', function(event) {
- if (event.keyCode=="13") {
- view.editNodeBlur = true;
- view.cancelCurEditNode(setting);
- } else if (event.keyCode=="27") {
- view.cancelCurEditNode(setting, null, true);
- }
- }).bind('click', function(event) {
- return false;
- }).bind('dblclick', function(event) {
- return false;
- });
-
- $$(node, consts.id.A, setting).addClass(consts.node.CURSELECTED_EDIT);
- root.curEditInput = inputObj;
- root.noSelection = false;
- root.curEditNode = node;
- },
- moveNode: function(setting, targetNode, node, moveType, animateFlag, isSilent) {
- var root = data.getRoot(setting),
- childKey = setting.data.key.children;
- if (targetNode == node) return;
- if (setting.data.keep.leaf && targetNode && !targetNode.isParent && moveType == consts.move.TYPE_INNER) return;
- var oldParentNode = (node.parentTId ? node.getParentNode(): root),
- targetNodeIsRoot = (targetNode === null || targetNode == root);
- if (targetNodeIsRoot && targetNode === null) targetNode = root;
- if (targetNodeIsRoot) moveType = consts.move.TYPE_INNER;
- var targetParentNode = (targetNode.parentTId ? targetNode.getParentNode() : root);
-
- if (moveType != consts.move.TYPE_PREV && moveType != consts.move.TYPE_NEXT) {
- moveType = consts.move.TYPE_INNER;
- }
-
- if (moveType == consts.move.TYPE_INNER) {
- if (targetNodeIsRoot) {
- //parentTId of root node is null
- node.parentTId = null;
- } else {
- if (!targetNode.isParent) {
- targetNode.isParent = true;
- targetNode.open = !!targetNode.open;
- view.setNodeLineIcos(setting, targetNode);
- }
- node.parentTId = targetNode.tId;
- }
- }
-
- //move node Dom
- var targetObj, target_ulObj;
- if (targetNodeIsRoot) {
- targetObj = setting.treeObj;
- target_ulObj = targetObj;
- } else {
- if (!isSilent && moveType == consts.move.TYPE_INNER) {
- view.expandCollapseNode(setting, targetNode, true, false);
- } else if (!isSilent) {
- view.expandCollapseNode(setting, targetNode.getParentNode(), true, false);
- }
- targetObj = $$(targetNode, setting);
- target_ulObj = $$(targetNode, consts.id.UL, setting);
- if (!!targetObj.get(0) && !target_ulObj.get(0)) {
- var ulstr = [];
- view.makeUlHtml(setting, targetNode, ulstr, '');
- targetObj.append(ulstr.join(''));
- }
- target_ulObj = $$(targetNode, consts.id.UL, setting);
- }
- var nodeDom = $$(node, setting);
- if (!nodeDom.get(0)) {
- nodeDom = view.appendNodes(setting, node.level, [node], null, false, true).join('');
- } else if (!targetObj.get(0)) {
- nodeDom.remove();
- }
- if (target_ulObj.get(0) && moveType == consts.move.TYPE_INNER) {
- target_ulObj.append(nodeDom);
- } else if (targetObj.get(0) && moveType == consts.move.TYPE_PREV) {
- targetObj.before(nodeDom);
- } else if (targetObj.get(0) && moveType == consts.move.TYPE_NEXT) {
- targetObj.after(nodeDom);
- }
-
- //repair the data after move
- var i,l,
- tmpSrcIndex = -1,
- tmpTargetIndex = 0,
- oldNeighbor = null,
- newNeighbor = null,
- oldLevel = node.level;
- if (node.isFirstNode) {
- tmpSrcIndex = 0;
- if (oldParentNode[childKey].length > 1 ) {
- oldNeighbor = oldParentNode[childKey][1];
- oldNeighbor.isFirstNode = true;
- }
- } else if (node.isLastNode) {
- tmpSrcIndex = oldParentNode[childKey].length -1;
- oldNeighbor = oldParentNode[childKey][tmpSrcIndex - 1];
- oldNeighbor.isLastNode = true;
- } else {
- for (i = 0, l = oldParentNode[childKey].length; i < l; i++) {
- if (oldParentNode[childKey][i].tId == node.tId) {
- tmpSrcIndex = i;
- break;
- }
- }
- }
- if (tmpSrcIndex >= 0) {
- oldParentNode[childKey].splice(tmpSrcIndex, 1);
- }
- if (moveType != consts.move.TYPE_INNER) {
- for (i = 0, l = targetParentNode[childKey].length; i < l; i++) {
- if (targetParentNode[childKey][i].tId == targetNode.tId) tmpTargetIndex = i;
- }
- }
- if (moveType == consts.move.TYPE_INNER) {
- if (!targetNode[childKey]) targetNode[childKey] = new Array();
- if (targetNode[childKey].length > 0) {
- newNeighbor = targetNode[childKey][targetNode[childKey].length - 1];
- newNeighbor.isLastNode = false;
- }
- targetNode[childKey].splice(targetNode[childKey].length, 0, node);
- node.isLastNode = true;
- node.isFirstNode = (targetNode[childKey].length == 1);
- } else if (targetNode.isFirstNode && moveType == consts.move.TYPE_PREV) {
- targetParentNode[childKey].splice(tmpTargetIndex, 0, node);
- newNeighbor = targetNode;
- newNeighbor.isFirstNode = false;
- node.parentTId = targetNode.parentTId;
- node.isFirstNode = true;
- node.isLastNode = false;
-
- } else if (targetNode.isLastNode && moveType == consts.move.TYPE_NEXT) {
- targetParentNode[childKey].splice(tmpTargetIndex + 1, 0, node);
- newNeighbor = targetNode;
- newNeighbor.isLastNode = false;
- node.parentTId = targetNode.parentTId;
- node.isFirstNode = false;
- node.isLastNode = true;
-
- } else {
- if (moveType == consts.move.TYPE_PREV) {
- targetParentNode[childKey].splice(tmpTargetIndex, 0, node);
- } else {
- targetParentNode[childKey].splice(tmpTargetIndex + 1, 0, node);
- }
- node.parentTId = targetNode.parentTId;
- node.isFirstNode = false;
- node.isLastNode = false;
- }
- data.fixPIdKeyValue(setting, node);
- data.setSonNodeLevel(setting, node.getParentNode(), node);
-
- //repair node what been moved
- view.setNodeLineIcos(setting, node);
- view.repairNodeLevelClass(setting, node, oldLevel)
-
- //repair node's old parentNode dom
- if (!setting.data.keep.parent && oldParentNode[childKey].length < 1) {
- //old parentNode has no child nodes
- oldParentNode.isParent = false;
- oldParentNode.open = false;
- var tmp_ulObj = $$(oldParentNode, consts.id.UL, setting),
- tmp_switchObj = $$(oldParentNode, consts.id.SWITCH, setting),
- tmp_icoObj = $$(oldParentNode, consts.id.ICON, setting);
- view.replaceSwitchClass(oldParentNode, tmp_switchObj, consts.folder.DOCU);
- view.replaceIcoClass(oldParentNode, tmp_icoObj, consts.folder.DOCU);
- tmp_ulObj.css("display", "none");
-
- } else if (oldNeighbor) {
- //old neigbor node
- view.setNodeLineIcos(setting, oldNeighbor);
- }
-
- //new neigbor node
- if (newNeighbor) {
- view.setNodeLineIcos(setting, newNeighbor);
- }
-
- //repair checkbox / radio
- if (!!setting.check && setting.check.enable && view.repairChkClass) {
- view.repairChkClass(setting, oldParentNode);
- view.repairParentChkClassWithSelf(setting, oldParentNode);
- if (oldParentNode != node.parent)
- view.repairParentChkClassWithSelf(setting, node);
- }
-
- //expand parents after move
- if (!isSilent) {
- view.expandCollapseParentNode(setting, node.getParentNode(), true, animateFlag);
- }
- },
- removeEditBtn: function(setting, node) {
- $$(node, consts.id.EDIT, setting).unbind().remove();
- },
- removeRemoveBtn: function(setting, node) {
- $$(node, consts.id.REMOVE, setting).unbind().remove();
- },
- removeTreeDom: function(setting, node) {
- node.isHover = false;
- view.removeEditBtn(setting, node);
- view.removeRemoveBtn(setting, node);
- tools.apply(setting.view.removeHoverDom, [setting.treeId, node]);
- },
- repairNodeLevelClass: function(setting, node, oldLevel) {
- if (oldLevel === node.level) return;
- var liObj = $$(node, setting),
- aObj = $$(node, consts.id.A, setting),
- ulObj = $$(node, consts.id.UL, setting),
- oldClass = consts.className.LEVEL + oldLevel,
- newClass = consts.className.LEVEL + node.level;
- liObj.removeClass(oldClass);
- liObj.addClass(newClass);
- aObj.removeClass(oldClass);
- aObj.addClass(newClass);
- ulObj.removeClass(oldClass);
- ulObj.addClass(newClass);
- },
- selectNodes : function(setting, nodes) {
- for (var i=0, l=nodes.length; i<l; i++) {
- view.selectNode(setting, nodes[i], i>0);
- }
- }
- },
-
- _z = {
- tools: _tools,
- view: _view,
- event: _event,
- data: _data
- };
- $.extend(true, $.fn.zTree.consts, _consts);
- $.extend(true, $.fn.zTree._z, _z);
-
- var zt = $.fn.zTree,
- tools = zt._z.tools,
- consts = zt.consts,
- view = zt._z.view,
- data = zt._z.data,
- event = zt._z.event,
- $$ = tools.$;
-
- data.exSetting(_setting);
- data.addInitBind(_bindEvent);
- data.addInitUnBind(_unbindEvent);
- data.addInitCache(_initCache);
- data.addInitNode(_initNode);
- data.addInitProxy(_eventProxy);
- data.addInitRoot(_initRoot);
- data.addZTreeTools(_zTreeTools);
-
- var _cancelPreSelectedNode = view.cancelPreSelectedNode;
- view.cancelPreSelectedNode = function (setting, node) {
- var list = data.getRoot(setting).curSelectedList;
- for (var i=0, j=list.length; i<j; i++) {
- if (!node || node === list[i]) {
- view.removeTreeDom(setting, list[i]);
- if (node) break;
- }
- }
- if (_cancelPreSelectedNode) _cancelPreSelectedNode.apply(view, arguments);
- }
-
- var _createNodes = view.createNodes;
- view.createNodes = function(setting, level, nodes, parentNode) {
- if (_createNodes) {
- _createNodes.apply(view, arguments);
- }
- if (!nodes) return;
- if (view.repairParentChkClassWithSelf) {
- view.repairParentChkClassWithSelf(setting, parentNode);
- }
- }
-
- var _makeNodeUrl = view.makeNodeUrl;
- view.makeNodeUrl = function(setting, node) {
- return setting.edit.enable ? null : (_makeNodeUrl.apply(view, arguments));
- }
-
- var _removeNode = view.removeNode;
- view.removeNode = function(setting, node) {
- var root = data.getRoot(setting);
- if (root.curEditNode === node) root.curEditNode = null;
- if (_removeNode) {
- _removeNode.apply(view, arguments);
- }
- }
-
- var _selectNode = view.selectNode;
- view.selectNode = function(setting, node, addFlag) {
- var root = data.getRoot(setting);
- if (data.isSelectedNode(setting, node) && root.curEditNode == node && node.editNameFlag) {
- return false;
- }
- if (_selectNode) _selectNode.apply(view, arguments);
- view.addHoverDom(setting, node);
- return true;
- }
-
- var _uCanDo = tools.uCanDo;
- tools.uCanDo = function(setting, e) {
- var root = data.getRoot(setting);
- if (e && (tools.eqs(e.type, "mouseover") || tools.eqs(e.type, "mouseout") || tools.eqs(e.type, "mousedown") || tools.eqs(e.type, "mouseup"))) {
- return true;
- }
- if (root.curEditNode) {
- view.editNodeBlur = false;
- root.curEditInput.focus();
- }
- return (!root.curEditNode) && (_uCanDo ? _uCanDo.apply(view, arguments) : true);
- }
-})(jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exedit.min.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exedit.min.js
deleted file mode 100644
index f49fc501..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exedit.min.js
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * JQuery zTree exedit v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function(w){var I={event:{DRAG:"ztree_drag",DROP:"ztree_drop",RENAME:"ztree_rename",DRAGMOVE:"ztree_dragmove"},id:{EDIT:"_edit",INPUT:"_input",REMOVE:"_remove"},move:{TYPE_INNER:"inner",TYPE_PREV:"prev",TYPE_NEXT:"next"},node:{CURSELECTED_EDIT:"curSelectedNode_Edit",TMPTARGET_TREE:"tmpTargetzTree",TMPTARGET_NODE:"tmpTargetNode"}},x={onHoverOverNode:function(b,a){var c=m.getSetting(b.data.treeId),d=m.getRoot(c);if(d.curHoverNode!=a)x.onHoverOutNode(b);d.curHoverNode=a;f.addHoverDom(c,a)},onHoverOutNode:function(b){var b=
-m.getSetting(b.data.treeId),a=m.getRoot(b);if(a.curHoverNode&&!m.isSelectedNode(b,a.curHoverNode))f.removeTreeDom(b,a.curHoverNode),a.curHoverNode=null},onMousedownNode:function(b,a){function c(b){if(C.dragFlag==0&&Math.abs(N-b.clientX)<e.edit.drag.minMoveSize&&Math.abs(O-b.clientY)<e.edit.drag.minMoveSize)return!0;var a,c,n,k,i;i=e.data.key.children;M.css("cursor","pointer");if(C.dragFlag==0){if(g.apply(e.callback.beforeDrag,[e.treeId,l],!0)==!1)return r(b),!0;for(a=0,c=l.length;a<c;a++){if(a==0)C.dragNodeShowBefore=
-[];n=l[a];n.isParent&&n.open?(f.expandCollapseNode(e,n,!n.open),C.dragNodeShowBefore[n.tId]=!0):C.dragNodeShowBefore[n.tId]=!1}C.dragFlag=1;t.showHoverDom=!1;g.showIfameMask(e,!0);n=!0;k=-1;if(l.length>1){var j=l[0].parentTId?l[0].getParentNode()[i]:m.getNodes(e);i=[];for(a=0,c=j.length;a<c;a++)if(C.dragNodeShowBefore[j[a].tId]!==void 0&&(n&&k>-1&&k+1!==a&&(n=!1),i.push(j[a]),k=a),l.length===i.length){l=i;break}}n&&(H=l[0].getPreNode(),R=l[l.length-1].getNextNode());D=o("<ul class='zTreeDragUL'></ul>",
-e);for(a=0,c=l.length;a<c;a++)n=l[a],n.editNameFlag=!1,f.selectNode(e,n,a>0),f.removeTreeDom(e,n),a>e.edit.drag.maxShowNodeNum-1||(k=o("<li id='"+n.tId+"_tmp'></li>",e),k.append(o(n,d.id.A,e).clone()),k.css("padding","0"),k.children("#"+n.tId+d.id.A).removeClass(d.node.CURSELECTED),D.append(k),a==e.edit.drag.maxShowNodeNum-1&&(k=o("<li id='"+n.tId+"_moretmp'><a> ... </a></li>",e),D.append(k)));D.attr("id",l[0].tId+d.id.UL+"_tmp");D.addClass(e.treeObj.attr("class"));D.appendTo(M);B=o("<span class='tmpzTreeMove_arrow'></span>",
-e);B.attr("id","zTreeMove_arrow_tmp");B.appendTo(M);e.treeObj.trigger(d.event.DRAG,[b,e.treeId,l])}if(C.dragFlag==1){s&&B.attr("id")==b.target.id&&u&&b.clientX+F.scrollLeft()+2>w("#"+u+d.id.A,s).offset().left?(n=w("#"+u+d.id.A,s),b.target=n.length>0?n.get(0):b.target):s&&(s.removeClass(d.node.TMPTARGET_TREE),u&&w("#"+u+d.id.A,s).removeClass(d.node.TMPTARGET_NODE+"_"+d.move.TYPE_PREV).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_NEXT).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_INNER));
-u=s=null;J=!1;h=e;n=m.getSettings();for(var y in n)if(n[y].treeId&&n[y].edit.enable&&n[y].treeId!=e.treeId&&(b.target.id==n[y].treeId||w(b.target).parents("#"+n[y].treeId).length>0))J=!0,h=n[y];y=F.scrollTop();k=F.scrollLeft();i=h.treeObj.offset();a=h.treeObj.get(0).scrollHeight;n=h.treeObj.get(0).scrollWidth;c=b.clientY+y-i.top;var p=h.treeObj.height()+i.top-b.clientY-y,q=b.clientX+k-i.left,x=h.treeObj.width()+i.left-b.clientX-k;i=c<e.edit.drag.borderMax&&c>e.edit.drag.borderMin;var j=p<e.edit.drag.borderMax&&
-p>e.edit.drag.borderMin,K=q<e.edit.drag.borderMax&&q>e.edit.drag.borderMin,G=x<e.edit.drag.borderMax&&x>e.edit.drag.borderMin,p=c>e.edit.drag.borderMin&&p>e.edit.drag.borderMin&&q>e.edit.drag.borderMin&&x>e.edit.drag.borderMin,q=i&&h.treeObj.scrollTop()<=0,x=j&&h.treeObj.scrollTop()+h.treeObj.height()+10>=a,P=K&&h.treeObj.scrollLeft()<=0,Q=G&&h.treeObj.scrollLeft()+h.treeObj.width()+10>=n;if(b.target&&g.isChildOrSelf(b.target,h.treeId)){for(var E=b.target;E&&E.tagName&&!g.eqs(E.tagName,"li")&&E.id!=
-h.treeId;)E=E.parentNode;var S=!0;for(a=0,c=l.length;a<c;a++)if(n=l[a],E.id===n.tId){S=!1;break}else if(o(n,e).find("#"+E.id).length>0){S=!1;break}if(S&&b.target&&g.isChildOrSelf(b.target,E.id+d.id.A))s=w(E),u=E.id}n=l[0];if(p&&g.isChildOrSelf(b.target,h.treeId)){if(!s&&(b.target.id==h.treeId||q||x||P||Q)&&(J||!J&&n.parentTId))s=h.treeObj;i?h.treeObj.scrollTop(h.treeObj.scrollTop()-10):j&&h.treeObj.scrollTop(h.treeObj.scrollTop()+10);K?h.treeObj.scrollLeft(h.treeObj.scrollLeft()-10):G&&h.treeObj.scrollLeft(h.treeObj.scrollLeft()+
-10);s&&s!=h.treeObj&&s.offset().left<h.treeObj.offset().left&&h.treeObj.scrollLeft(h.treeObj.scrollLeft()+s.offset().left-h.treeObj.offset().left)}D.css({top:b.clientY+y+3+"px",left:b.clientX+k+3+"px"});i=a=0;if(s&&s.attr("id")!=h.treeId){var z=u==null?null:m.getNodeCache(h,u);c=(b.ctrlKey||b.metaKey)&&e.edit.drag.isMove&&e.edit.drag.isCopy||!e.edit.drag.isMove&&e.edit.drag.isCopy;a=!!(H&&u===H.tId);i=!!(R&&u===R.tId);k=n.parentTId&&n.parentTId==u;n=(c||!i)&&g.apply(h.edit.drag.prev,[h.treeId,l,z],
-!!h.edit.drag.prev);a=(c||!a)&&g.apply(h.edit.drag.next,[h.treeId,l,z],!!h.edit.drag.next);G=(c||!k)&&!(h.data.keep.leaf&&!z.isParent)&&g.apply(h.edit.drag.inner,[h.treeId,l,z],!!h.edit.drag.inner);if(!n&&!a&&!G){if(s=null,u="",v=d.move.TYPE_INNER,B.css({display:"none"}),window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null}else{c=w("#"+u+d.id.A,s);i=z.isLastNode?null:w("#"+z.getNextNode().tId+d.id.A,s.next());j=c.offset().top;k=c.offset().left;K=n?G?0.25:a?
-0.5:1:-1;G=a?G?0.75:n?0.5:0:-1;y=(b.clientY+y-j)/c.height();(K==1||y<=K&&y>=-0.2)&&n?(a=1-B.width(),i=j-B.height()/2,v=d.move.TYPE_PREV):(G==0||y>=G&&y<=1.2)&&a?(a=1-B.width(),i=i==null||z.isParent&&z.open?j+c.height()-B.height()/2:i.offset().top-B.height()/2,v=d.move.TYPE_NEXT):(a=5-B.width(),i=j,v=d.move.TYPE_INNER);B.css({display:"block",top:i+"px",left:k+a+"px"});c.addClass(d.node.TMPTARGET_NODE+"_"+v);if(T!=u||U!=v)L=(new Date).getTime();if(z&&z.isParent&&v==d.move.TYPE_INNER&&(y=!0,window.zTreeMoveTimer&&
-window.zTreeMoveTargetNodeTId!==z.tId?(clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null):window.zTreeMoveTimer&&window.zTreeMoveTargetNodeTId===z.tId&&(y=!1),y))window.zTreeMoveTimer=setTimeout(function(){v==d.move.TYPE_INNER&&z&&z.isParent&&!z.open&&(new Date).getTime()-L>h.edit.drag.autoOpenTime&&g.apply(h.callback.beforeDragOpen,[h.treeId,z],!0)&&(f.switchNode(h,z),h.edit.drag.autoExpandTrigger&&h.treeObj.trigger(d.event.EXPAND,[h.treeId,z]))},h.edit.drag.autoOpenTime+50),
-window.zTreeMoveTargetNodeTId=z.tId}}else if(v=d.move.TYPE_INNER,s&&g.apply(h.edit.drag.inner,[h.treeId,l,null],!!h.edit.drag.inner)?s.addClass(d.node.TMPTARGET_TREE):s=null,B.css({display:"none"}),window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null;T=u;U=v;e.treeObj.trigger(d.event.DRAGMOVE,[b,e.treeId,l])}return!1}function r(b){if(window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null;U=T=null;F.unbind("mousemove",c);
-F.unbind("mouseup",r);F.unbind("selectstart",k);M.css("cursor","auto");s&&(s.removeClass(d.node.TMPTARGET_TREE),u&&w("#"+u+d.id.A,s).removeClass(d.node.TMPTARGET_NODE+"_"+d.move.TYPE_PREV).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_NEXT).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_INNER));g.showIfameMask(e,!1);t.showHoverDom=!0;if(C.dragFlag!=0){C.dragFlag=0;var a,i,j;for(a=0,i=l.length;a<i;a++)j=l[a],j.isParent&&C.dragNodeShowBefore[j.tId]&&!j.open&&(f.expandCollapseNode(e,j,!j.open),
-delete C.dragNodeShowBefore[j.tId]);D&&D.remove();B&&B.remove();var p=(b.ctrlKey||b.metaKey)&&e.edit.drag.isMove&&e.edit.drag.isCopy||!e.edit.drag.isMove&&e.edit.drag.isCopy;!p&&s&&u&&l[0].parentTId&&u==l[0].parentTId&&v==d.move.TYPE_INNER&&(s=null);if(s){var q=u==null?null:m.getNodeCache(h,u);if(g.apply(e.callback.beforeDrop,[h.treeId,l,q,v,p],!0)==!1)f.selectNodes(x,l);else{var A=p?g.clone(l):l;a=function(){if(J){if(!p)for(var a=0,c=l.length;a<c;a++)f.removeNode(e,l[a]);if(v==d.move.TYPE_INNER)f.addNodes(h,
-q,A);else if(f.addNodes(h,q.getParentNode(),A),v==d.move.TYPE_PREV)for(a=0,c=A.length;a<c;a++)f.moveNode(h,q,A[a],v,!1);else for(a=-1,c=A.length-1;a<c;c--)f.moveNode(h,q,A[c],v,!1)}else if(p&&v==d.move.TYPE_INNER)f.addNodes(h,q,A);else if(p&&f.addNodes(h,q.getParentNode(),A),v!=d.move.TYPE_NEXT)for(a=0,c=A.length;a<c;a++)f.moveNode(h,q,A[a],v,!1);else for(a=-1,c=A.length-1;a<c;c--)f.moveNode(h,q,A[c],v,!1);f.selectNodes(h,A);o(A[0],e).focus().blur();e.treeObj.trigger(d.event.DROP,[b,h.treeId,A,q,
-v,p])};v==d.move.TYPE_INNER&&g.canAsync(h,q)?f.asyncNode(h,q,!1,a):a()}}else f.selectNodes(x,l),e.treeObj.trigger(d.event.DROP,[b,e.treeId,l,null,null,null])}}function k(){return!1}var i,j,e=m.getSetting(b.data.treeId),C=m.getRoot(e),t=m.getRoots();if(b.button==2||!e.edit.enable||!e.edit.drag.isCopy&&!e.edit.drag.isMove)return!0;var p=b.target,q=m.getRoot(e).curSelectedList,l=[];if(m.isSelectedNode(e,a))for(i=0,j=q.length;i<j;i++){if(q[i].editNameFlag&&g.eqs(p.tagName,"input")&&p.getAttribute("treeNode"+
-d.id.INPUT)!==null)return!0;l.push(q[i]);if(l[0].parentTId!==q[i].parentTId){l=[a];break}}else l=[a];f.editNodeBlur=!0;f.cancelCurEditNode(e);var F=w(e.treeObj.get(0).ownerDocument),M=w(e.treeObj.get(0).ownerDocument.body),D,B,s,J=!1,h=e,x=e,H,R,T=null,U=null,u=null,v=d.move.TYPE_INNER,N=b.clientX,O=b.clientY,L=(new Date).getTime();g.uCanDo(e)&&F.bind("mousemove",c);F.bind("mouseup",r);F.bind("selectstart",k);b.preventDefault&&b.preventDefault();return!0}};w.extend(!0,w.fn.zTree.consts,I);w.extend(!0,
-w.fn.zTree._z,{tools:{getAbs:function(b){b=b.getBoundingClientRect();return[b.left+(document.body.scrollLeft+document.documentElement.scrollLeft),b.top+(document.body.scrollTop+document.documentElement.scrollTop)]},inputFocus:function(b){b.get(0)&&(b.focus(),g.setCursorPosition(b.get(0),b.val().length))},inputSelect:function(b){b.get(0)&&(b.focus(),b.select())},setCursorPosition:function(b,a){if(b.setSelectionRange)b.focus(),b.setSelectionRange(a,a);else if(b.createTextRange){var c=b.createTextRange();
-c.collapse(!0);c.moveEnd("character",a);c.moveStart("character",a);c.select()}},showIfameMask:function(b,a){for(var c=m.getRoot(b);c.dragMaskList.length>0;)c.dragMaskList[0].remove(),c.dragMaskList.shift();if(a)for(var d=o("iframe",b),f=0,i=d.length;f<i;f++){var j=d.get(f),e=g.getAbs(j),j=o("<div id='zTreeMask_"+f+"' class='zTreeMask' style='top:"+e[1]+"px; left:"+e[0]+"px; width:"+j.offsetWidth+"px; height:"+j.offsetHeight+"px;'></div>",b);j.appendTo(o("body",b));c.dragMaskList.push(j)}}},view:{addEditBtn:function(b,
-a){if(!(a.editNameFlag||o(a,d.id.EDIT,b).length>0)&&g.apply(b.edit.showRenameBtn,[b.treeId,a],b.edit.showRenameBtn)){var c=o(a,d.id.A,b),r="<span class='"+d.className.BUTTON+" edit' id='"+a.tId+d.id.EDIT+"' title='"+g.apply(b.edit.renameTitle,[b.treeId,a],b.edit.renameTitle)+"' treeNode"+d.id.EDIT+" style='display:none;'></span>";c.append(r);o(a,d.id.EDIT,b).bind("click",function(){if(!g.uCanDo(b)||g.apply(b.callback.beforeEditName,[b.treeId,a],!0)==!1)return!1;f.editNode(b,a);return!1}).show()}},
-addRemoveBtn:function(b,a){if(!(a.editNameFlag||o(a,d.id.REMOVE,b).length>0)&&g.apply(b.edit.showRemoveBtn,[b.treeId,a],b.edit.showRemoveBtn)){var c=o(a,d.id.A,b),r="<span class='"+d.className.BUTTON+" remove' id='"+a.tId+d.id.REMOVE+"' title='"+g.apply(b.edit.removeTitle,[b.treeId,a],b.edit.removeTitle)+"' treeNode"+d.id.REMOVE+" style='display:none;'></span>";c.append(r);o(a,d.id.REMOVE,b).bind("click",function(){if(!g.uCanDo(b)||g.apply(b.callback.beforeRemove,[b.treeId,a],!0)==!1)return!1;f.removeNode(b,
-a);b.treeObj.trigger(d.event.REMOVE,[b.treeId,a]);return!1}).bind("mousedown",function(){return!0}).show()}},addHoverDom:function(b,a){if(m.getRoots().showHoverDom)a.isHover=!0,b.edit.enable&&(f.addEditBtn(b,a),f.addRemoveBtn(b,a)),g.apply(b.view.addHoverDom,[b.treeId,a])},cancelCurEditNode:function(b,a,c){var r=m.getRoot(b),k=b.data.key.name,i=r.curEditNode;if(i){var j=r.curEditInput,a=a?a:c?i[k]:j.val();if(g.apply(b.callback.beforeRename,[b.treeId,i,a,c],!0)===!1)return!1;else i[k]=a,b.treeObj.trigger(d.event.RENAME,
-[b.treeId,i,c]);o(i,d.id.A,b).removeClass(d.node.CURSELECTED_EDIT);j.unbind();f.setNodeName(b,i);i.editNameFlag=!1;r.curEditNode=null;r.curEditInput=null;f.selectNode(b,i,!1)}return r.noSelection=!0},editNode:function(b,a){var c=m.getRoot(b);f.editNodeBlur=!1;if(m.isSelectedNode(b,a)&&c.curEditNode==a&&a.editNameFlag)setTimeout(function(){g.inputFocus(c.curEditInput)},0);else{var r=b.data.key.name;a.editNameFlag=!0;f.removeTreeDom(b,a);f.cancelCurEditNode(b);f.selectNode(b,a,!1);o(a,d.id.SPAN,b).html("<input type=text class='rename' id='"+
-a.tId+d.id.INPUT+"' treeNode"+d.id.INPUT+" >");var k=o(a,d.id.INPUT,b);k.attr("value",a[r]);b.edit.editNameSelectAll?g.inputSelect(k):g.inputFocus(k);k.bind("blur",function(){f.editNodeBlur||f.cancelCurEditNode(b)}).bind("keydown",function(a){a.keyCode=="13"?(f.editNodeBlur=!0,f.cancelCurEditNode(b)):a.keyCode=="27"&&f.cancelCurEditNode(b,null,!0)}).bind("click",function(){return!1}).bind("dblclick",function(){return!1});o(a,d.id.A,b).addClass(d.node.CURSELECTED_EDIT);c.curEditInput=k;c.noSelection=
-!1;c.curEditNode=a}},moveNode:function(b,a,c,r,k,i){var j=m.getRoot(b),e=b.data.key.children;if(a!=c&&(!b.data.keep.leaf||!a||a.isParent||r!=d.move.TYPE_INNER)){var g=c.parentTId?c.getParentNode():j,t=a===null||a==j;t&&a===null&&(a=j);if(t)r=d.move.TYPE_INNER;j=a.parentTId?a.getParentNode():j;if(r!=d.move.TYPE_PREV&&r!=d.move.TYPE_NEXT)r=d.move.TYPE_INNER;if(r==d.move.TYPE_INNER)if(t)c.parentTId=null;else{if(!a.isParent)a.isParent=!0,a.open=!!a.open,f.setNodeLineIcos(b,a);c.parentTId=a.tId}var p;
-t?p=t=b.treeObj:(!i&&r==d.move.TYPE_INNER?f.expandCollapseNode(b,a,!0,!1):i||f.expandCollapseNode(b,a.getParentNode(),!0,!1),t=o(a,b),p=o(a,d.id.UL,b),t.get(0)&&!p.get(0)&&(p=[],f.makeUlHtml(b,a,p,""),t.append(p.join(""))),p=o(a,d.id.UL,b));var q=o(c,b);q.get(0)?t.get(0)||q.remove():q=f.appendNodes(b,c.level,[c],null,!1,!0).join("");p.get(0)&&r==d.move.TYPE_INNER?p.append(q):t.get(0)&&r==d.move.TYPE_PREV?t.before(q):t.get(0)&&r==d.move.TYPE_NEXT&&t.after(q);var l=-1,w=0,x=null,t=null,D=c.level;if(c.isFirstNode){if(l=
-0,g[e].length>1)x=g[e][1],x.isFirstNode=!0}else if(c.isLastNode)l=g[e].length-1,x=g[e][l-1],x.isLastNode=!0;else for(p=0,q=g[e].length;p<q;p++)if(g[e][p].tId==c.tId){l=p;break}l>=0&&g[e].splice(l,1);if(r!=d.move.TYPE_INNER)for(p=0,q=j[e].length;p<q;p++)j[e][p].tId==a.tId&&(w=p);if(r==d.move.TYPE_INNER){a[e]||(a[e]=[]);if(a[e].length>0)t=a[e][a[e].length-1],t.isLastNode=!1;a[e].splice(a[e].length,0,c);c.isLastNode=!0;c.isFirstNode=a[e].length==1}else a.isFirstNode&&r==d.move.TYPE_PREV?(j[e].splice(w,
-0,c),t=a,t.isFirstNode=!1,c.parentTId=a.parentTId,c.isFirstNode=!0,c.isLastNode=!1):a.isLastNode&&r==d.move.TYPE_NEXT?(j[e].splice(w+1,0,c),t=a,t.isLastNode=!1,c.parentTId=a.parentTId,c.isFirstNode=!1,c.isLastNode=!0):(r==d.move.TYPE_PREV?j[e].splice(w,0,c):j[e].splice(w+1,0,c),c.parentTId=a.parentTId,c.isFirstNode=!1,c.isLastNode=!1);m.fixPIdKeyValue(b,c);m.setSonNodeLevel(b,c.getParentNode(),c);f.setNodeLineIcos(b,c);f.repairNodeLevelClass(b,c,D);!b.data.keep.parent&&g[e].length<1?(g.isParent=!1,
-g.open=!1,a=o(g,d.id.UL,b),r=o(g,d.id.SWITCH,b),e=o(g,d.id.ICON,b),f.replaceSwitchClass(g,r,d.folder.DOCU),f.replaceIcoClass(g,e,d.folder.DOCU),a.css("display","none")):x&&f.setNodeLineIcos(b,x);t&&f.setNodeLineIcos(b,t);b.check&&b.check.enable&&f.repairChkClass&&(f.repairChkClass(b,g),f.repairParentChkClassWithSelf(b,g),g!=c.parent&&f.repairParentChkClassWithSelf(b,c));i||f.expandCollapseParentNode(b,c.getParentNode(),!0,k)}},removeEditBtn:function(b,a){o(a,d.id.EDIT,b).unbind().remove()},removeRemoveBtn:function(b,
-a){o(a,d.id.REMOVE,b).unbind().remove()},removeTreeDom:function(b,a){a.isHover=!1;f.removeEditBtn(b,a);f.removeRemoveBtn(b,a);g.apply(b.view.removeHoverDom,[b.treeId,a])},repairNodeLevelClass:function(b,a,c){if(c!==a.level){var f=o(a,b),g=o(a,d.id.A,b),b=o(a,d.id.UL,b),c=d.className.LEVEL+c,a=d.className.LEVEL+a.level;f.removeClass(c);f.addClass(a);g.removeClass(c);g.addClass(a);b.removeClass(c);b.addClass(a)}},selectNodes:function(b,a){for(var c=0,d=a.length;c<d;c++)f.selectNode(b,a[c],c>0)}},event:{},
-data:{setSonNodeLevel:function(b,a,c){if(c){var d=b.data.key.children;c.level=a?a.level+1:0;if(c[d])for(var a=0,f=c[d].length;a<f;a++)c[d][a]&&m.setSonNodeLevel(b,c,c[d][a])}}}});var H=w.fn.zTree,g=H._z.tools,d=H.consts,f=H._z.view,m=H._z.data,o=g.$;m.exSetting({edit:{enable:!1,editNameSelectAll:!1,showRemoveBtn:!0,showRenameBtn:!0,removeTitle:"remove",renameTitle:"rename",drag:{autoExpandTrigger:!1,isCopy:!0,isMove:!0,prev:!0,next:!0,inner:!0,minMoveSize:5,borderMax:10,borderMin:-5,maxShowNodeNum:5,
-autoOpenTime:500}},view:{addHoverDom:null,removeHoverDom:null},callback:{beforeDrag:null,beforeDragOpen:null,beforeDrop:null,beforeEditName:null,beforeRename:null,onDrag:null,onDragMove:null,onDrop:null,onRename:null}});m.addInitBind(function(b){var a=b.treeObj,c=d.event;a.bind(c.RENAME,function(a,c,d,f){g.apply(b.callback.onRename,[a,c,d,f])});a.bind(c.DRAG,function(a,c,d,f){g.apply(b.callback.onDrag,[c,d,f])});a.bind(c.DRAGMOVE,function(a,c,d,f){g.apply(b.callback.onDragMove,[c,d,f])});a.bind(c.DROP,
-function(a,c,d,f,e,m,o){g.apply(b.callback.onDrop,[c,d,f,e,m,o])})});m.addInitUnBind(function(b){var b=b.treeObj,a=d.event;b.unbind(a.RENAME);b.unbind(a.DRAG);b.unbind(a.DRAGMOVE);b.unbind(a.DROP)});m.addInitCache(function(){});m.addInitNode(function(b,a,c){if(c)c.isHover=!1,c.editNameFlag=!1});m.addInitProxy(function(b){var a=b.target,c=m.getSetting(b.data.treeId),f=b.relatedTarget,k="",i=null,j="",e=null,o=null;if(g.eqs(b.type,"mouseover")){if(o=g.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+d.id.A}]))k=
-g.getNodeMainDom(o).id,j="hoverOverNode"}else if(g.eqs(b.type,"mouseout"))o=g.getMDom(c,f,[{tagName:"a",attrName:"treeNode"+d.id.A}]),o||(k="remove",j="hoverOutNode");else if(g.eqs(b.type,"mousedown")&&(o=g.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+d.id.A}])))k=g.getNodeMainDom(o).id,j="mousedownNode";if(k.length>0)switch(i=m.getNodeCache(c,k),j){case "mousedownNode":e=x.onMousedownNode;break;case "hoverOverNode":e=x.onHoverOverNode;break;case "hoverOutNode":e=x.onHoverOutNode}return{stop:!1,
-node:i,nodeEventType:j,nodeEventCallback:e,treeEventType:"",treeEventCallback:null}});m.addInitRoot(function(b){var b=m.getRoot(b),a=m.getRoots();b.curEditNode=null;b.curEditInput=null;b.curHoverNode=null;b.dragFlag=0;b.dragNodeShowBefore=[];b.dragMaskList=[];a.showHoverDom=!0});m.addZTreeTools(function(b,a){a.cancelEditName=function(a){m.getRoot(this.setting).curEditNode&&f.cancelCurEditNode(this.setting,a?a:null,!0)};a.copyNode=function(a,b,k,i){if(!b)return null;if(a&&!a.isParent&&this.setting.data.keep.leaf&&
-k===d.move.TYPE_INNER)return null;var j=this,e=g.clone(b);if(!a)a=null,k=d.move.TYPE_INNER;k==d.move.TYPE_INNER?(b=function(){f.addNodes(j.setting,a,[e],i)},g.canAsync(this.setting,a)?f.asyncNode(this.setting,a,i,b):b()):(f.addNodes(this.setting,a.parentNode,[e],i),f.moveNode(this.setting,a,e,k,!1,i));return e};a.editName=function(a){a&&a.tId&&a===m.getNodeCache(this.setting,a.tId)&&(a.parentTId&&f.expandCollapseParentNode(this.setting,a.getParentNode(),!0),f.editNode(this.setting,a))};a.moveNode=
-function(a,b,k,i){function j(){f.moveNode(e.setting,a,b,k,!1,i)}if(!b)return b;if(a&&!a.isParent&&this.setting.data.keep.leaf&&k===d.move.TYPE_INNER)return null;else if(a&&(b.parentTId==a.tId&&k==d.move.TYPE_INNER||o(b,this.setting).find("#"+a.tId).length>0))return null;else a||(a=null);var e=this;g.canAsync(this.setting,a)&&k===d.move.TYPE_INNER?f.asyncNode(this.setting,a,i,j):j();return b};a.setEditable=function(a){this.setting.edit.enable=a;return this.refresh()}});var N=f.cancelPreSelectedNode;
-f.cancelPreSelectedNode=function(b,a){for(var c=m.getRoot(b).curSelectedList,d=0,g=c.length;d<g;d++)if(!a||a===c[d])if(f.removeTreeDom(b,c[d]),a)break;N&&N.apply(f,arguments)};var O=f.createNodes;f.createNodes=function(b,a,c,d){O&&O.apply(f,arguments);c&&f.repairParentChkClassWithSelf&&f.repairParentChkClassWithSelf(b,d)};var V=f.makeNodeUrl;f.makeNodeUrl=function(b,a){return b.edit.enable?null:V.apply(f,arguments)};var L=f.removeNode;f.removeNode=function(b,a){var c=m.getRoot(b);if(c.curEditNode===
-a)c.curEditNode=null;L&&L.apply(f,arguments)};var P=f.selectNode;f.selectNode=function(b,a,c){var d=m.getRoot(b);if(m.isSelectedNode(b,a)&&d.curEditNode==a&&a.editNameFlag)return!1;P&&P.apply(f,arguments);f.addHoverDom(b,a);return!0};var Q=g.uCanDo;g.uCanDo=function(b,a){var c=m.getRoot(b);if(a&&(g.eqs(a.type,"mouseover")||g.eqs(a.type,"mouseout")||g.eqs(a.type,"mousedown")||g.eqs(a.type,"mouseup")))return!0;if(c.curEditNode)f.editNodeBlur=!1,c.curEditInput.focus();return!c.curEditNode&&(Q?Q.apply(f,
-arguments):!0)}})(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exhide.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exhide.js
deleted file mode 100644
index 723e9c39..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exhide.js
+++ /dev/null
@@ -1,363 +0,0 @@
-/*
- * JQuery zTree exHideNodes v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function($){
- //default init node of exLib
- var _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) {
- if (typeof n.isHidden == "string") n.isHidden = tools.eqs(n.isHidden, "true");
- n.isHidden = !!n.isHidden;
- data.initHideForExCheck(setting, n);
- },
- //add dom for check
- _beforeA = function(setting, node, html) {},
- //update zTreeObj, add method of exLib
- _zTreeTools = function(setting, zTreeTools) {
- zTreeTools.showNodes = function(nodes, options) {
- view.showNodes(setting, nodes, options);
- }
- zTreeTools.showNode = function(node, options) {
- if (!node) {
- return;
- }
- view.showNodes(setting, [node], options);
- }
- zTreeTools.hideNodes = function(nodes, options) {
- view.hideNodes(setting, nodes, options);
- }
- zTreeTools.hideNode = function(node, options) {
- if (!node) {
- return;
- }
- view.hideNodes(setting, [node], options);
- }
-
- var _checkNode = zTreeTools.checkNode;
- if (_checkNode) {
- zTreeTools.checkNode = function(node, checked, checkTypeFlag, callbackFlag) {
- if (!!node && !!node.isHidden) {
- return;
- }
- _checkNode.apply(zTreeTools, arguments);
- }
- }
- },
- //method of operate data
- _data = {
- initHideForExCheck: function(setting, n) {
- if (n.isHidden && setting.check && setting.check.enable) {
- if(typeof n._nocheck == "undefined") {
- n._nocheck = !!n.nocheck
- n.nocheck = true;
- }
- n.check_Child_State = -1;
- if (view.repairParentChkClassWithSelf) {
- view.repairParentChkClassWithSelf(setting, n);
- }
- }
- },
- initShowForExCheck: function(setting, n) {
- if (!n.isHidden && setting.check && setting.check.enable) {
- if(typeof n._nocheck != "undefined") {
- n.nocheck = n._nocheck;
- delete n._nocheck;
- }
- if (view.setChkClass) {
- var checkObj = $$(n, consts.id.CHECK, setting);
- view.setChkClass(setting, checkObj, n);
- }
- if (view.repairParentChkClassWithSelf) {
- view.repairParentChkClassWithSelf(setting, n);
- }
- }
- }
- },
- //method of operate ztree dom
- _view = {
- clearOldFirstNode: function(setting, node) {
- var n = node.getNextNode();
- while(!!n){
- if (n.isFirstNode) {
- n.isFirstNode = false;
- view.setNodeLineIcos(setting, n);
- break;
- }
- if (n.isLastNode) {
- break;
- }
- n = n.getNextNode();
- }
- },
- clearOldLastNode: function(setting, node) {
- var n = node.getPreNode();
- while(!!n){
- if (n.isLastNode) {
- n.isLastNode = false;
- view.setNodeLineIcos(setting, n);
- break;
- }
- if (n.isFirstNode) {
- break;
- }
- n = n.getPreNode();
- }
- },
- makeDOMNodeMainBefore: function(html, setting, node) {
- html.push("<li ", (node.isHidden ? "style='display:none;' " : ""), "id='", node.tId, "' class='", consts.className.LEVEL, node.level,"' tabindex='0' hidefocus='true' treenode>");
- },
- showNode: function(setting, node, options) {
- node.isHidden = false;
- data.initShowForExCheck(setting, node);
- $$(node, setting).show();
- },
- showNodes: function(setting, nodes, options) {
- if (!nodes || nodes.length == 0) {
- return;
- }
- var pList = {}, i, j;
- for (i=0, j=nodes.length; i<j; i++) {
- var n = nodes[i];
- if (!pList[n.parentTId]) {
- var pn = n.getParentNode();
- pList[n.parentTId] = (pn === null) ? data.getRoot(setting) : n.getParentNode();
- }
- view.showNode(setting, n, options);
- }
- for (var tId in pList) {
- var children = pList[tId][setting.data.key.children];
- view.setFirstNodeForShow(setting, children);
- view.setLastNodeForShow(setting, children);
- }
- },
- hideNode: function(setting, node, options) {
- node.isHidden = true;
- node.isFirstNode = false;
- node.isLastNode = false;
- data.initHideForExCheck(setting, node);
- view.cancelPreSelectedNode(setting, node);
- $$(node, setting).hide();
- },
- hideNodes: function(setting, nodes, options) {
- if (!nodes || nodes.length == 0) {
- return;
- }
- var pList = {}, i, j;
- for (i=0, j=nodes.length; i<j; i++) {
- var n = nodes[i];
- if ((n.isFirstNode || n.isLastNode) && !pList[n.parentTId]) {
- var pn = n.getParentNode();
- pList[n.parentTId] = (pn === null) ? data.getRoot(setting) : n.getParentNode();
- }
- view.hideNode(setting, n, options);
- }
- for (var tId in pList) {
- var children = pList[tId][setting.data.key.children];
- view.setFirstNodeForHide(setting, children);
- view.setLastNodeForHide(setting, children);
- }
- },
- setFirstNode: function(setting, parentNode) {
- var childKey = setting.data.key.children, childLength = parentNode[childKey].length;
- if (childLength > 0 && !parentNode[childKey][0].isHidden) {
- parentNode[childKey][0].isFirstNode = true;
- } else if (childLength > 0) {
- view.setFirstNodeForHide(setting, parentNode[childKey]);
- }
- },
- setLastNode: function(setting, parentNode) {
- var childKey = setting.data.key.children, childLength = parentNode[childKey].length;
- if (childLength > 0 && !parentNode[childKey][0].isHidden) {
- parentNode[childKey][childLength - 1].isLastNode = true;
- } else if (childLength > 0) {
- view.setLastNodeForHide(setting, parentNode[childKey]);
- }
- },
- setFirstNodeForHide: function(setting, nodes) {
- var n,i,j;
- for (i=0, j=nodes.length; i<j; i++) {
- n = nodes[i];
- if (n.isFirstNode) {
- break;
- }
- if (!n.isHidden && !n.isFirstNode) {
- n.isFirstNode = true;
- view.setNodeLineIcos(setting, n);
- break;
- } else {
- n = null;
- }
- }
- return n;
- },
- setFirstNodeForShow: function(setting, nodes) {
- var n,i,j, first, old;
- for(i=0, j=nodes.length; i<j; i++) {
- n = nodes[i];
- if (!first && !n.isHidden && n.isFirstNode) {
- first = n;
- break;
- } else if (!first && !n.isHidden && !n.isFirstNode) {
- n.isFirstNode = true;
- first = n;
- view.setNodeLineIcos(setting, n);
- } else if (first && n.isFirstNode) {
- n.isFirstNode = false;
- old = n;
- view.setNodeLineIcos(setting, n);
- break;
- } else {
- n = null;
- }
- }
- return {"new":first, "old":old};
- },
- setLastNodeForHide: function(setting, nodes) {
- var n,i;
- for (i=nodes.length-1; i>=0; i--) {
- n = nodes[i];
- if (n.isLastNode) {
- break;
- }
- if (!n.isHidden && !n.isLastNode) {
- n.isLastNode = true;
- view.setNodeLineIcos(setting, n);
- break;
- } else {
- n = null;
- }
- }
- return n;
- },
- setLastNodeForShow: function(setting, nodes) {
- var n,i,j, last, old;
- for (i=nodes.length-1; i>=0; i--) {
- n = nodes[i];
- if (!last && !n.isHidden && n.isLastNode) {
- last = n;
- break;
- } else if (!last && !n.isHidden && !n.isLastNode) {
- n.isLastNode = true;
- last = n;
- view.setNodeLineIcos(setting, n);
- } else if (last && n.isLastNode) {
- n.isLastNode = false;
- old = n;
- view.setNodeLineIcos(setting, n);
- break;
- } else {
- n = null;
- }
- }
- return {"new":last, "old":old};
- }
- },
-
- _z = {
- view: _view,
- data: _data
- };
- $.extend(true, $.fn.zTree._z, _z);
-
- var zt = $.fn.zTree,
- tools = zt._z.tools,
- consts = zt.consts,
- view = zt._z.view,
- data = zt._z.data,
- event = zt._z.event,
- $$ = tools.$;
-
- data.addInitNode(_initNode);
- data.addBeforeA(_beforeA);
- data.addZTreeTools(_zTreeTools);
-
-// Override method in core
- var _dInitNode = data.initNode;
- data.initNode = function(setting, level, node, parentNode, isFirstNode, isLastNode, openFlag) {
- var tmpPNode = (parentNode) ? parentNode: data.getRoot(setting),
- children = tmpPNode[setting.data.key.children];
- data.tmpHideFirstNode = view.setFirstNodeForHide(setting, children);
- data.tmpHideLastNode = view.setLastNodeForHide(setting, children);
- view.setNodeLineIcos(setting, data.tmpHideFirstNode);
- view.setNodeLineIcos(setting, data.tmpHideLastNode);
- isFirstNode = (data.tmpHideFirstNode === node);
- isLastNode = (data.tmpHideLastNode === node);
- if (_dInitNode) _dInitNode.apply(data, arguments);
- if (isLastNode) {
- view.clearOldLastNode(setting, node);
- }
- };
-
- var _makeChkFlag = data.makeChkFlag;
- if (!!_makeChkFlag) {
- data.makeChkFlag = function(setting, node) {
- if (!!node && !!node.isHidden) {
- return;
- }
- _makeChkFlag.apply(data, arguments);
- }
- }
-
- var _getTreeCheckedNodes = data.getTreeCheckedNodes;
- if (!!_getTreeCheckedNodes) {
- data.getTreeCheckedNodes = function(setting, nodes, checked, results) {
- if (!!nodes && nodes.length > 0) {
- var p = nodes[0].getParentNode();
- if (!!p && !!p.isHidden) {
- return [];
- }
- }
- return _getTreeCheckedNodes.apply(data, arguments);
- }
- }
-
- var _getTreeChangeCheckedNodes = data.getTreeChangeCheckedNodes;
- if (!!_getTreeChangeCheckedNodes) {
- data.getTreeChangeCheckedNodes = function(setting, nodes, results) {
- if (!!nodes && nodes.length > 0) {
- var p = nodes[0].getParentNode();
- if (!!p && !!p.isHidden) {
- return [];
- }
- }
- return _getTreeChangeCheckedNodes.apply(data, arguments);
- }
- }
-
- var _expandCollapseSonNode = view.expandCollapseSonNode;
- if (!!_expandCollapseSonNode) {
- view.expandCollapseSonNode = function(setting, node, expandFlag, animateFlag, callback) {
- if (!!node && !!node.isHidden) {
- return;
- }
- _expandCollapseSonNode.apply(view, arguments);
- }
- }
-
- var _setSonNodeCheckBox = view.setSonNodeCheckBox;
- if (!!_setSonNodeCheckBox) {
- view.setSonNodeCheckBox = function(setting, node, value, srcNode) {
- if (!!node && !!node.isHidden) {
- return;
- }
- _setSonNodeCheckBox.apply(view, arguments);
- }
- }
-
- var _repairParentChkClassWithSelf = view.repairParentChkClassWithSelf;
- if (!!_repairParentChkClassWithSelf) {
- view.repairParentChkClassWithSelf = function(setting, node) {
- if (!!node && !!node.isHidden) {
- return;
- }
- _repairParentChkClassWithSelf.apply(view, arguments);
- }
- }
-})(jQuery); \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exhide.min.js b/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exhide.min.js
deleted file mode 100644
index 10cedebd..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/js/jquery.ztree.exhide.min.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * JQuery zTree exHideNodes v3.5.16
- * http://zTree.me/
- *
- * Copyright (c) 2010 Hunter.z
- *
- * Licensed same as jquery - MIT License
- * http://www.opensource.org/licenses/mit-license.php
- *
- * email: hunter.z@263.net
- * Date: 2014-03-09
- */
-(function(i){i.extend(!0,i.fn.zTree._z,{view:{clearOldFirstNode:function(c,a){for(var b=a.getNextNode();b;){if(b.isFirstNode){b.isFirstNode=!1;d.setNodeLineIcos(c,b);break}if(b.isLastNode)break;b=b.getNextNode()}},clearOldLastNode:function(c,a){for(var b=a.getPreNode();b;){if(b.isLastNode){b.isLastNode=!1;d.setNodeLineIcos(c,b);break}if(b.isFirstNode)break;b=b.getPreNode()}},makeDOMNodeMainBefore:function(c,a,b){c.push("<li ",b.isHidden?"style='display:none;' ":"","id='",b.tId,"' class='",l.className.LEVEL,
-b.level,"' tabindex='0' hidefocus='true' treenode>")},showNode:function(c,a){a.isHidden=!1;f.initShowForExCheck(c,a);j(a,c).show()},showNodes:function(c,a,b){if(a&&a.length!=0){var e={},g,k;for(g=0,k=a.length;g<k;g++){var h=a[g];if(!e[h.parentTId]){var i=h.getParentNode();e[h.parentTId]=i===null?f.getRoot(c):h.getParentNode()}d.showNode(c,h,b)}for(var j in e)a=e[j][c.data.key.children],d.setFirstNodeForShow(c,a),d.setLastNodeForShow(c,a)}},hideNode:function(c,a){a.isHidden=!0;a.isFirstNode=!1;a.isLastNode=
-!1;f.initHideForExCheck(c,a);d.cancelPreSelectedNode(c,a);j(a,c).hide()},hideNodes:function(c,a,b){if(a&&a.length!=0){var e={},g,k;for(g=0,k=a.length;g<k;g++){var h=a[g];if((h.isFirstNode||h.isLastNode)&&!e[h.parentTId]){var i=h.getParentNode();e[h.parentTId]=i===null?f.getRoot(c):h.getParentNode()}d.hideNode(c,h,b)}for(var j in e)a=e[j][c.data.key.children],d.setFirstNodeForHide(c,a),d.setLastNodeForHide(c,a)}},setFirstNode:function(c,a){var b=c.data.key.children,e=a[b].length;e>0&&!a[b][0].isHidden?
-a[b][0].isFirstNode=!0:e>0&&d.setFirstNodeForHide(c,a[b])},setLastNode:function(c,a){var b=c.data.key.children,e=a[b].length;e>0&&!a[b][0].isHidden?a[b][e-1].isLastNode=!0:e>0&&d.setLastNodeForHide(c,a[b])},setFirstNodeForHide:function(c,a){var b,e,g;for(e=0,g=a.length;e<g;e++){b=a[e];if(b.isFirstNode)break;if(!b.isHidden&&!b.isFirstNode){b.isFirstNode=!0;d.setNodeLineIcos(c,b);break}else b=null}return b},setFirstNodeForShow:function(c,a){var b,e,g,f,h;for(e=0,g=a.length;e<g;e++)if(b=a[e],!f&&!b.isHidden&&
-b.isFirstNode){f=b;break}else if(!f&&!b.isHidden&&!b.isFirstNode)b.isFirstNode=!0,f=b,d.setNodeLineIcos(c,b);else if(f&&b.isFirstNode){b.isFirstNode=!1;h=b;d.setNodeLineIcos(c,b);break}return{"new":f,old:h}},setLastNodeForHide:function(c,a){var b,e;for(e=a.length-1;e>=0;e--){b=a[e];if(b.isLastNode)break;if(!b.isHidden&&!b.isLastNode){b.isLastNode=!0;d.setNodeLineIcos(c,b);break}else b=null}return b},setLastNodeForShow:function(c,a){var b,e,g,f;for(e=a.length-1;e>=0;e--)if(b=a[e],!g&&!b.isHidden&&
-b.isLastNode){g=b;break}else if(!g&&!b.isHidden&&!b.isLastNode)b.isLastNode=!0,g=b,d.setNodeLineIcos(c,b);else if(g&&b.isLastNode){b.isLastNode=!1;f=b;d.setNodeLineIcos(c,b);break}return{"new":g,old:f}}},data:{initHideForExCheck:function(c,a){if(a.isHidden&&c.check&&c.check.enable){if(typeof a._nocheck=="undefined")a._nocheck=!!a.nocheck,a.nocheck=!0;a.check_Child_State=-1;d.repairParentChkClassWithSelf&&d.repairParentChkClassWithSelf(c,a)}},initShowForExCheck:function(c,a){if(!a.isHidden&&c.check&&
-c.check.enable){if(typeof a._nocheck!="undefined")a.nocheck=a._nocheck,delete a._nocheck;if(d.setChkClass){var b=j(a,l.id.CHECK,c);d.setChkClass(c,b,a)}d.repairParentChkClassWithSelf&&d.repairParentChkClassWithSelf(c,a)}}}});var i=i.fn.zTree,m=i._z.tools,l=i.consts,d=i._z.view,f=i._z.data,j=m.$;f.addInitNode(function(c,a,b){if(typeof b.isHidden=="string")b.isHidden=m.eqs(b.isHidden,"true");b.isHidden=!!b.isHidden;f.initHideForExCheck(c,b)});f.addBeforeA(function(){});f.addZTreeTools(function(c,a){a.showNodes=
-function(a,b){d.showNodes(c,a,b)};a.showNode=function(a,b){a&&d.showNodes(c,[a],b)};a.hideNodes=function(a,b){d.hideNodes(c,a,b)};a.hideNode=function(a,b){a&&d.hideNodes(c,[a],b)};var b=a.checkNode;if(b)a.checkNode=function(c,d,f,h){(!c||!c.isHidden)&&b.apply(a,arguments)}});var n=f.initNode;f.initNode=function(c,a,b,e,g,i,h){var j=(e?e:f.getRoot(c))[c.data.key.children];f.tmpHideFirstNode=d.setFirstNodeForHide(c,j);f.tmpHideLastNode=d.setLastNodeForHide(c,j);d.setNodeLineIcos(c,f.tmpHideFirstNode);
-d.setNodeLineIcos(c,f.tmpHideLastNode);g=f.tmpHideFirstNode===b;i=f.tmpHideLastNode===b;n&&n.apply(f,arguments);i&&d.clearOldLastNode(c,b)};var o=f.makeChkFlag;if(o)f.makeChkFlag=function(c,a){(!a||!a.isHidden)&&o.apply(f,arguments)};var p=f.getTreeCheckedNodes;if(p)f.getTreeCheckedNodes=function(c,a,b,e){if(a&&a.length>0){var d=a[0].getParentNode();if(d&&d.isHidden)return[]}return p.apply(f,arguments)};var q=f.getTreeChangeCheckedNodes;if(q)f.getTreeChangeCheckedNodes=function(c,a,b){if(a&&a.length>
-0){var d=a[0].getParentNode();if(d&&d.isHidden)return[]}return q.apply(f,arguments)};var r=d.expandCollapseSonNode;if(r)d.expandCollapseSonNode=function(c,a,b,e,f){(!a||!a.isHidden)&&r.apply(d,arguments)};var s=d.setSonNodeCheckBox;if(s)d.setSonNodeCheckBox=function(c,a,b,e){(!a||!a.isHidden)&&s.apply(d,arguments)};var t=d.repairParentChkClassWithSelf;if(t)d.repairParentChkClassWithSelf=function(c,a){(!a||!a.isHidden)&&t.apply(d,arguments)}})(jQuery);
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/log v3.x.txt b/uiframe-iui/src/main/resources/webroot/vendor/zTree/log v3.x.txt
deleted file mode 100644
index 3436adb8..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/log v3.x.txt
+++ /dev/null
@@ -1,207 +0,0 @@
-=ZTree v3.x (JQuery Tree插件) 更新日志=
-
-<font color="red">为了更好的优化及扩展zTree, 因此决定升级为v3.x,并且对之前的v2.x不兼容,会有很多结构上的修改,对此深感无奈与抱歉,请大家谅解。</font>
-<font color="red">
-
-具体修改内容可参考:
-
- * [http://www.ztree.me/v3/api.php zTree v3.x API 文档]
-
- * [http://www.ztree.me/v3/demo.php#_101 zTree v3.x Demo 演示]
-
- * [http://www.ztree.me/v3/faq.php#_101 zTree v3.x 常见问题]
-
-</font>
-
-*2014.03.09* v3.5.16
- * 【增加】onDragMove 回调,便于控制 zTree 节点与其他 DOM 的拖拽操作。(感谢 yumi301)
- * 【增加】针对 Mac 系统 Cmd 键的支持, Cmd 键 + 左键 也可以多选节点
-
- * 【修改】使用 destory 方法销毁树以后,依然可以从 getZTreeObj 方法中获取到 zTree 对象的 bug。
- * 【修改】onCheck 回调的 event,恢复为 zTree 自身的 event 事件,同时利用 srcEvent 传递原始 event 对象。(感谢 yumi301)
- * 【修改】拖拽多个节点时,超出 maxShowNodeNum 设置个数的节点会失去 被选择状态的 bug
- * 【修改】excheck & exedit 扩展包的 zTree 方法中 setting 数据错误导致 checkNode、updateNode 等方法操作 radio 失效的 bug
- * 【修改】不加载 exedit 扩展包时,使用 removeNode 方法无法触发 beforeRemove 和 onRemove 回调的 bug
-
-*2013.10.19* v3.5.15
- * 【增加】setting.view.txtSelectedEnable 属性,满足部分项目中客户对于可以选择节点文本信息的强烈欲望。
-
- * 【修改】 exhide 扩展包导致操作子节点后 isLastNode 属性异常 的bug
- * 【修改】 使用 cancelEditName 方法时,beforeRename & onRename 的 isCancel 始终为 false 的bug
- * 【修改】 编辑状态, beforeRename 回调 return false 时,提示信息导致 input 失去焦点后, 当树再次得到焦点时,让 input 自动获取焦点
- * 【修改】 判断拖拽到节点的 <a> 标签中自定义的无 id 组件判断错误的bug
- * 【修改】 async_edit.html demo 中 添加按钮 显示的 bug
- * 【修改】 当没有开启异步加载模式下,对于没有子节点的父节点,即使设置 open=true 在初始化时也不会设置为展开状态的bug (对于异步加载模式下依然会强行设置为折叠状态)
-
-*2013.06.28* v3.5.14
- * 【修改】 拖拽节点时 iframe 遮罩异常的bug
- * 【修改】 清空子节点后重新添加子节点无法显示的bug
-
-*2013.06.02* v3.5.13
-
- * 【增加】beforeRename & onRename 增加 isCancel 参数,可以监控用户 ESC 取消编辑的事件
-
- * 【修改】初始化时 radioType="all", 父节点未展开 且 子节点有被勾选,点击其他 radio 时,不会取消勾选该子节点的bug
- * 【修改】多棵树拖拽时,拖拽无效后会导致目标书已选择的节点清空的 bug。
- * 【修改】多棵树拖拽时,会触发 addHoverDom 的bug。
- * 【修改】多棵树拖拽时,由于 beforeDrog 或 prev / inner / next 返回 false 后未触发原始节点的 addHoverDom 的bug
- * 【修改】异步加载时,对于未加载子节点的父节点使用 expandNode 方法时, sonSign 设置为 true后,导致异步加载的节点无法正常显示的bug
- * 【修改】一次性加载全部数据,如果父节点 A 未展开,但下一级的父节点 A1 设置了 open=true 的时候,使用 expandAll 方法导致 A1 的下一级父节点出现重复的 bug
- * 【修改】增加对 iframe 的支持,可以只在主页面加载 zTree 的 js,在 iframe 内创建树 [https://github.com/zTree/zTree_v3/issues/7 Issue Info]
- * 【修改】引入 exhide 扩展包 导致页面上同时加载多棵树时,根节点 的 连接线图标出现异常 的 bug [http://tieba.baidu.com/p/2277416574]
- * 【修改】excheck & exedit 扩展包中事件代理获取节点 tId 的方法,保证适当修改 DOM 结构也能得到 tId
-
-*2013.03.11* v3.5.12
- * 【修改】由于 jquery 1.9 中移除 event.srcElement 导致的 js 报错的bug。
- * 【修改】在异步加载模式下,使用 moveNode 方法,且 moveType != "inner" 时,也会导致 targetNode 自动加载子节点的 bug
- * 【修改】对已经显示的节点(nochecked=true)使用 showNodes 或 showNode 方法后,导致勾选框出现的bug。
- * 【修改】对已经隐藏的节点(nochecked=false)使用 hideNodes 或 hideNode 方法后,导致勾选框消失的bug。
- * 【修改】getNodesByParamFuzzy 支持 大小写模糊。
- * 【修改】className 结构,提取 _consts.className.BUTTON / LEVEL / ICO_LOADING / SWITCH,便于快速修改 css 冲突。
- 例如:与 WordPress 产生冲突后,直接修改 core 中的 "button" 和 "level" 即可。 Issue: https://github.com/zTree/zTree_v3/issues/2
-
-*2013.01.28* v3.5.02
- * 【增加】setting.check.chkDisabledInherit 属性,用于设置 chkDisabled 在初始化时子节点是否可以继承父节点的 chkDisabled 属性
- * 【删除】内部 noSel 方法,使用 selectstart事件 和 "-moz-user-select"样式 处理禁止 节点文字被选择的功能
- * 【修改】不兼容 jQuery 1.9 的bug
- * 【修改】onDrop 的触发规则,保证异步加载模式下,可以在延迟加载结束后触发,避免 onDrop 中被拖拽的节点是已经更新后的数据。
- * 【修改】setChkDisabled 方法,增加 inheritParent, inheritChildren 参数设置是否让父子节点继承 disabled
- * 【修改】异步加载时 拼接参数的方法,由 string 修改为 json 对象
- * 【修正】1-2-3 3级节点时,如果 2级节点 全部设置为 nocheck 或 chkDisabled后,勾选3级节点时,1级节点的半勾选状态错误的 bug
- * 【修改】Demo: checkbox_nocheck.html & checkbox_chkDisabled.html;
- * 【修改】Demo: edit_super.html,增加 showRenameBtn & showRemoveBtn 的演示
- * 【修改】Demo: asyncForAll, 将 post 修改为 get;为了避免由于 IE10 的 bug 造成的客户端 以及 服务端崩溃
- IE10 ajax Post 无法提交参数的bug (http://bugs.jquery.com/ticket/12790)
-
-*2012.12.21* v3.5.01
- * 【优化】clone 方法
- * 【修正】对于初始化无 children 属性的父节点进行 reAsyncChildNodes 操作时出错的 bug
- * 【修正】beforeRename 回调中使用 cancelEditName 方法后,再 return false 导致无法重新进行编辑的 bug
- * 【修正】exedit 扩展包让 setting.data.key.url 失效的 bug
- * 【修正】setting.check.autoCheckTrigger 设置为 true 时,onCheck 回调缺少 event 参数的 bug
- * 【修正】singlepath.html Demo 中的 bug
-
-*2012.11.20* v3.5
- * 【优化】原先的 clone 方法 (特别感谢:愚人码头)
- * 【修改】隐藏父节点后,使用 expandAll 方法导致 父节点展开的 bug
- * 【修改】使用 jQuery v1.7 以上时,设置 zTree 容器 ul 隐藏(visibility: hidden;)后, 调用 selectNode 导致 IE 浏览器报错 Can't move focus 的 bug
- * 【修改】正在异步加载时,执行 destory 或 init 方法后,异步加载的节点影响新树的 bug
- * 【修改】方法 reAsyncChildNodes 在 refresh 的时候未清空内部 cache 导致内存泄露 的 bug
- * 【修改】批量节点拖拽到其他父节点内(inner)时,导致顺序反转 的 bug
- * 【修改】对于 使用 html格式的 节点无法触发 双击事件 的 bug
- * 【修改】onCheck 回调中的 event ,保证与触发事件中的 event 一致
- * 【修改】异步加载时,在 onNodeCreated 中执行 selectNode 后,导致节点折叠的 bug
- * 【修改】API 中 dataFilter 的参数名称 childNodes -> responseData
- * 【修改】API 中 iconSkin 的 举例内容
- * 【修改】API 中 chkDisabled 的说明
- * 【修改】Demo 中 index.html 内的 loadReady 重复绑定问题
-
-*2012.09.03* v3.4
- * 【增加】 Demo —— OutLook 样式的左侧菜单
- * 【增加】清空 zTree 的方法 $.fn.zTree.destory(treeId) & zTree.destory()
-
- * 【修改】core核心文件内 _eventProxy 方法中获取 tId 的方法,提高 DOM 的灵活性
- * 【修改】初始化时 多层父节点的 checkbox 半选状态计算错误的 bug
- * 【修改】同时选中父、子节点后,利用 getSelectedNodes 获取选中节点并利用 removeNode 删除时报错的 bug
- * 【修改】treeNode.chkDisabled / nocheck 属性,支持字符串格式的 "false"/"true"
- * 【修改】异步加载模式下无法利用 server 返回 xml 并且 在 dataFilter 中继续处理的 bug
- * 【修改】title 只允许设置为 string 类型值的问题。 修正后允许设置为 number 类型的值
- * 【修改】zId 计数规则 & Cache 保存,减少 IE9 的 bug 造成的内存泄漏
- * 【修改】API 页面搜索功能导致 IE 崩溃的 bug
-
-*2012.07.16* v3.3
- * 【增加】扩展库 exhide -- 节点隐藏功能
-
- * 【修改】getNodesByFilter 方法,添加 invokeParam 自定义参数
- * 【修改】拖拽中测试代码未删除,导致出现黄颜色的 iframe 遮罩层的 bug
- * 【修改】延迟加载方法 对于使用 expandAll 进行全部展开时,导致 onNodeCreated 回调 和 addDiyDom 方法触发过早的 bug
- * 【修改】使用 moveNode 移动尚未生成 DOM 的节点时,视图会出现异常的 bug
- * 【修改】删除节点后,相关节点的 isFirstNode 属性未重置的 bug
- * 【修改】getPreNode(),getNextNode() 方法在对于特殊情况时计算错误的 bug
- * 【修改】设置 title 之后,如果重新将 title 内容设置为空后,会导致无法更新 title 的 bug
- * 【修改】针对 setting.check.chkStyle=="radio" && setting.check.radioType=="all" 的情况时,getTreeCheckedNodes方法优化,找到一个结果就 break
- * 【修改】zTreeObj.getCheckedNodes(false) 在 radioType = "all" 时计算错误的 bug
- * 【修改】完善 API 中 beforeDrop / onDrop 的关于 treeId 的说明
-
-*2012.05.13* v3.2
- * 【增加】setting.data.key.url 允许修改 treeNode.url 属性
- * 【增加】getNodesByFilter(filter, isSingle) 方法
- * 【增加】"与其他 DOM 拖拽互动" 的 Demo (http://www.ztree.me/v3/demo.php#_511)
- * 【增加】"异步加载模式下全部展开" 的 Demo (http://www.ztree.me/v3/demo.php#_512)
-
- * 【修改】代码结构,将 addNodes、removeNode、removeChildNodes 方法 和 beforeRemove、onRemove 回调 转移到 core 内
- * 【修改】IE7的环境下无子节点的父节点反复展开出现多余空行的 bug
- * 【修改】异步加载时,如果出现网络异常等,会导致 图标显示错误的 bug
- * 【修改】dataFilter中 return null 导致异常 的 bug
- * 【修改】removeChildNodes 方法清空子节点后,无法正常添加节点的 bug
- * 【修改】moveNode 后节点中的自定义元素的事件丢失的 bug
- * 【修改】moveNode 方法中设置 isSilent = true 时,如果移动到已展开的 父节点后,出现异常的 bug
- * 【修改】onClick/onDrag/onDrop 回调中 event 不是原始 event 的 bug
- * 【修改】onDrop 回调中 当拖拽无效时,无法获得 treeNodes 的 bug
- * 【修改】onDrop 无法判断拖拽是 移动还是复制的问题
- * 【修改】未开启异步加载模式时,拖拽节点到子节点为空的父节点内时 出现异常 的 bug
- * 【修改】拖拽过程中,反复在 父节点图标上划动时,会出现停顿的 bug
- (需要css 结构—— button -> span.button)
-
- * 【修改】拖拽操作时箭头 与 targetNode 背景之间的细节现实问题,便于用户拖拽时更容易区分 prev、next 和 inner 操作
- * 【修改】拖拽操作时IE6/7 下 在 节点<a> 右侧 10px 内会导致 targetNode = root 的 bug
- * 【修改】编辑模式下 默认的编辑按钮、删除按钮点击后,如果相应的 before 回调 return false 时会触发 onClick 回调的 bug
-
-*2012.02.14* v3.1
- * 【增加】ajax 的参数 setting.async.contentType ,让提交参数适用于 json 数据提交 (主要适用于 .Net 的开发)。
- * 【增加】setting.edit.editNameSelectAll, 用于设定编辑节点名称时初次显示 input 后 text 内容为全选
- * 【修改】异步加载 规则,不再仅仅依靠父节点的子节点数来判定,增加内部属性 zAsync,保证默认状态下父节点及时无子节点也只能异步加载一次,除非使用 reAsyncChildNodes 方法强行控制异步加载。
- * 【修改】放大浏览器后导致 界面出现多余连接线的bug (需要更新:icon 图标和 css )
- * 【修改】在编辑状态,如果节点名超过编辑框宽度,左右键在框内不起作用的bug(IE 6 7 8 出现)
- CSS 中 filter:alpha(opacity=80) 造成的,应该是 ie 的 bug,需要更新 css 文件
- * 【修改】title 设置后,如果属性不存在,则默认为 title 为空,便于数据容错和用户灵活使用
- * 【修改】editName 方法如果针对尚未展开的 父节点,会导致该父节点自动展开的 bug
- * 【修改】title 中存在标签时导致 title 显示异常的bug(例如:蓝色字22%"'`<input/>`)
-
-*2012.01.10* v3.0
- * 【增加】setting.check.autoCheckTrigger 默认值 false,可以设置联动选中时是否触发事件回调函数
- * 【增加】setting.callback.beforeEditName 回调函数,以保证用户可以捕获点击编辑按钮的事件
- * 【增加】treeNode.chkDisabled 属性,显示 checkbox 但是用户无法修改 checkbox 状态,并且该 checkbox 会影响父节点的 checkbox 的半选状态
- * 【增加】setting.check.nocheckInherit 属性,用户设置子节点继承 nocheck 属性,用于批量初始化节点,不适用于已经显示的节点
- * 【增加】setting.edit.drag.autoExpandTrigger 默认值 false,可以设置自动展开、折叠操作时是否触发事件回调函数
- * 【增加】setting.view.nameIsHTML 默认值 false,允许用户对 name 设置 DOM 对象
- * 【增加】treeNode.click 属性的说明文档
- * 【增加】treeObj.setChkDisabled 方法用于设置 checkbox / radio disabled 状态
- * 【增加】treeNode.halfCheck 属性,用于强制设定节点的半选状态
-
- * 【修改】异步加载 & 编辑功能 共存时,拖拽节点 或 增加节点 导致 ie 上报错的 bug (apply 方法引起)
- * 【修改】zTreeStyle 样式冲突
- * 【修改】setting.data.key.title 默认值设置为 "",初始化时自动赋值为 setting.data.key.name 这样可避免希望 title 与 name 一致的用户反复设置参数
- * 【修改】点击叶子节点的连接线会触发 expand 事件的 bug
- * 【修改】IE 下 点击叶子节点连线会出现虚线框的 bug
- * 【修改】updateNode 导致 checkbox 半选状态错误的 bug
- * 【修改】checkNode 方法实现 toggle 操作, 取消 expandAll 方法的 toggle 操作
- * 【修改】zTree 内鼠标移动会抢页面上 input 内的焦点的 bug
- * 【修改】beforeRename / onRename 的触发方式——即使名称内容未改变也会触发,便于用户配合 beforeEditName 捕获编辑状态的结束,赋予用户更多调整规则的权利
- * 【修改】与 easyUI 共存时无法拖拽的bug
- * 【修改】beforeRename 在 Firefox 下如果利用 alert,会触发两次的 bug
- * 【修改】checkNode/expandNode/removeNode 方法,默认不触发回调函数,恢复 v2.6 的默认状态,同时增加 callbackFlag 参数,设置为 true 时,可以触发回调函数
- * 【修改】IE9下“根据参数查找节点”的Demo 报错:行14 重新声明常量属性(Demo 自身的问题,定义了history变量)
- * 【修改】初始化 zTree 时 onNodeCreated 事件回调函数中无法 用 getZTreeObj 获取 zTree 对象的 bug
- * 【修改】setting.edit.drag.prev / next / inner 参数,增加被拖拽的节点集合
- * 【修改】异步加载模式下,otherParam 使用Array数组会出错的 bug。例如: ["id", "1", "name", "test"]
- * 【修改】FireFox 下多棵树拖拽异常的 bug
- * 【修改】exedit 中调用 excheck库的方法时没有进行容错处理,导致如果只加入 exedit 而没有 excheck的时候,会出现 js 错误
- * 【修改】显示 checkbox 的 zTree 在编辑模式下,移动节点不会更新父节点半选状态的 bug
- * 【修改】treeNode.childs --> children; treeObject.removeChilds --> removeChildNodes; setting.data.key.childs --> children(英文不好惹的祸!抱歉了!)
- * 【修改】onRemove 回调中得到的 treeNode 还可以查找 preNode、nextNode 的bug。 修正后,getPreNode 和 getNextNode 都返回 null; 为了便于查找父节点,getParentNode 仍保留
- * 【修改】简单数据模式下,如果 id 与 pId 的值相同会导致该节点无法正常加载的 bug
- * 【修改】移动或删除中间节点会导致最后一个节点连接线图标变小的 bug
-
-*2011.09.05* v3.0 beta
- * 【修改】zTree 的 js 代码架构全面修改,并且拆分
- * 【修改】zTree 的 css 样式全面修改,对浏览器可以更好地兼容,同时解决了以前1个像素差的问题
- * 【优化】采用延迟加载技术,一次性加载大数据量的节点性能飞速提升
- * 【增加】支持多节点同时选中、拖拽
- * 【增加】checkNode、checkAllNodes 等多种方法
- * 【增加】IE6 自动取消动画展开、折叠的功能
- * 【修正】异步加载 & 编辑模式 能够更完美的共存
- * 【修正】setting 配置更加合理,并且增加了若干项配置参数
- * 【修正】treeNode 节点数据的属性更加合理,并且增加了一些方法
- * 【修正】拖拽操作更加灵活方便,更容易制定自己的规则
- * 【修正】其他若干修改,详细对比请参考 url:[http://www.ztree.me/v3/faq.php#_101 zTree v3.0 常见问题]
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/readme.txt b/uiframe-iui/src/main/resources/webroot/vendor/zTree/readme.txt
deleted file mode 100644
index 87a7a41a..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/readme.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-޸ļ¼
-1. jquery.ztree.all.js addHoverDom ޸Ľڵı༭ɾťʾ˳ \ No newline at end of file
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/zTree/zTree.v3.jquery.json b/uiframe-iui/src/main/resources/webroot/vendor/zTree/zTree.v3.jquery.json
deleted file mode 100644
index 86988722..00000000
--- a/uiframe-iui/src/main/resources/webroot/vendor/zTree/zTree.v3.jquery.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "name": "zTree.v3",
- "title": "zTree.v3",
- "description": "jquery tree plugin",
- "keywords": [
- "tree",
- "ui"
- ],
- "version": "3.5.16",
- "author": {
- "name": "Zhang QiGang",
- "email":"hunter.z@263.net",
- "url": "https://github.com/zTree/zTree_v3"
- },
- "maintainers": [
- {
- "name": "Zhang QiGang",
- "email":"hunter.z@263.net",
- "url": "http://www.ztree.me/"
- }
- ],
- "licenses": [
- {
- "type": "MIT",
- "url": "http://www.ztree.me/v3/main.php#_license"
- }
- ],
- "bugs": "https://github.com/zTree/zTree_v3/issues",
- "homepage": "http://www.ztree.me/",
- "demo": "http://www.ztree.me/v3/demo.php",
- "docs": "http://www.ztree.me/v3/api.php",
- "dependencies": {
- "jquery": ">=1.4.4"
- }
-}